mirror of
https://github.com/cookiengineer/audacity
synced 2025-12-15 09:01:12 +01: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:
@@ -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
|
// Otherwise, the plugin has resized the widget and we need to let WX know
|
||||||
// about it.
|
// about it.
|
||||||
else
|
else if (mNativeWin)
|
||||||
{
|
{
|
||||||
mResized = true;
|
mResized = true;
|
||||||
wxSizeEvent se(wxSize(requisition->width, requisition->height));
|
wxSizeEvent se(wxSize(requisition->width, requisition->height));
|
||||||
|
|||||||
Reference in New Issue
Block a user