From 703f59d709761240eacd3477dc5488357bd201a8 Mon Sep 17 00:00:00 2001 From: Leland Lucius Date: Wed, 5 Feb 2020 15:26:08 -0600 Subject: [PATCH] Ensure a native window exists Don't send a size event to a native window unless the native window actually exists. --- src/effects/lv2/LV2Effect.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/effects/lv2/LV2Effect.cpp b/src/effects/lv2/LV2Effect.cpp index 737452791..91a62d7f2 100755 --- a/src/effects/lv2/LV2Effect.cpp +++ b/src/effects/lv2/LV2Effect.cpp @@ -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));