1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-07-04 22:49:07 +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:
Leland Lucius 2020-02-05 15:26:08 -06:00
parent 108fe3777a
commit 703f59d709

View File

@ -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));