mirror of
https://github.com/cookiengineer/audacity
synced 2025-07-04 14:39:08 +02:00
Ensure a native window exists
Don't send a size event to a native window unless the native window actually exists.
This commit is contained in:
parent
108fe3777a
commit
703f59d709
@ -3246,7 +3246,7 @@ void LV2Effect::SizeRequest(GtkWidget *widget, GtkRequisition *requisition)
|
||||
}
|
||||
// Otherwise, the plugin has resized the widget and we need to let WX know
|
||||
// about it.
|
||||
else
|
||||
else if (mNativeWin)
|
||||
{
|
||||
mResized = true;
|
||||
wxSizeEvent se(wxSize(requisition->width, requisition->height));
|
||||
|
Loading…
x
Reference in New Issue
Block a user