1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-10-19 09:01:15 +02:00

Workaround for SUIL Windows Release build Failure.

HWND not defined, so comment out the code to get it to compile.
This commit is contained in:
James Crook
2015-04-23 23:11:22 +01:00
parent b7d6af1d87
commit 999a5834e6

View File

@@ -1507,10 +1507,12 @@ bool LV2Effect::BuildFancy()
gtk_widget_show_all(GTK_WIDGET(pizza));
si->SetMinSize(wxSize(sz.width, sz.height));
#elif defined(__WXMSW__)
#ifdef EXPERIMENTAL_WINDOWS_SUIL
HWND widget = (HWND) suil_instance_get_widget(mSuilInstance);
RECT rect;
GetWindowRect(widget, &rect);
si->SetMinSize(wxSize(rect.right - rect.left, rect.bottom - rect.top));
#endif
#elif defined(__WXMAC__)
// si->SetMinSize(wxSize(sz.width, sz.height));
#endif