X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/c6ac78a61edd08ccfd0f1e5b37ee48ceb7bfa474..b34039cf55bc7cb87cedf396f60396e2f8fc0d62:/src/gtk1/toplevel.cpp diff --git a/src/gtk1/toplevel.cpp b/src/gtk1/toplevel.cpp index 515d60b61e..499a36e689 100644 --- a/src/gtk1/toplevel.cpp +++ b/src/gtk1/toplevel.cpp @@ -146,7 +146,7 @@ gtk_frame_configure_callback( GtkWidget *WXUNUSED(widget), GdkEventConfigure *WX if (g_isIdle) wxapp_install_idle_handler(); - if (!win->m_hasVMT) + if (!win->m_hasVMT || !win->IsShown()) return FALSE; int x = 0;