]> git.saurik.com Git - wxWidgets.git/blobdiff - src/gtk1/toplevel.cpp
removing dependancy on mac headers from public wx headers (eventually adding wx/mac...
[wxWidgets.git] / src / gtk1 / toplevel.cpp
index 515d60b61e25ea3886112b3f6ce52141f65227f5..499a36e6899c14cc2bfb52212e85fb1264abbf17 100644 (file)
@@ -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;