No-OP: prefer constants from API header
This commit is contained in:
parent
2b139ead8d
commit
2288279e57
@ -62,7 +62,7 @@ VST3HWNDPluginUI::view_realized ()
|
||||
IPlugView* view = _vst3->view ();
|
||||
HWND hwnd = (HWND) gdk_win32_drawable_get_handle (GTK_WIDGET(_gui_widget.gobj())->window);
|
||||
// SetWindowLongPtr (hwnd, GWLP_USERDATA, (__int3264) (LONG_PTR)this);
|
||||
if (kResultOk != view->attached (reinterpret_cast<void*> (hwnd), "HWND")) {
|
||||
if (kResultOk != view->attached (reinterpret_cast<void*> (hwnd), Steinberg::kPlatformTypeHWND)) {
|
||||
assert (0);
|
||||
}
|
||||
|
||||
|
@ -76,7 +76,7 @@ VST3NSViewPluginUI::VST3NSViewPluginUI (boost::shared_ptr<PluginInsert> pi, boos
|
||||
return;
|
||||
}
|
||||
|
||||
if (kResultOk != view->attached (reinterpret_cast<void*> (_ns_view), "NSView")) {
|
||||
if (kResultOk != view->attached (reinterpret_cast<void*> (_ns_view), Steinberg::kPlatformTypeNSView)) {
|
||||
printf ("FAILED TO ATTACH..\n");
|
||||
}
|
||||
|
||||
|
@ -200,7 +200,7 @@ VST3X11PluginUI::view_realized ()
|
||||
return;
|
||||
}
|
||||
Window window = _gui_widget.get_id ();
|
||||
if (kResultOk != view->attached (reinterpret_cast<void*> (window), "X11EmbedWindowID")) {
|
||||
if (kResultOk != view->attached (reinterpret_cast<void*> (window), Steinberg::kPlatformTypeX11EmbedWindowID)) {
|
||||
assert (0);
|
||||
}
|
||||
#if 0
|
||||
|
Loading…
Reference in New Issue
Block a user