fix for the X fatal error when closing frames
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13080 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
b59da6c285
commit
48f72114ba
@ -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;
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user