From d4aaa5f40a372ca9651b07f4a68f66703e94caf5 Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Wed, 19 Nov 2014 13:29:13 +0000 Subject: [PATCH] Don't defer wxTLW initialization in wxGTK when not using X11. See #16688. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@78158 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/gtk/toplevel.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/gtk/toplevel.cpp b/src/gtk/toplevel.cpp index 71ee5e8558..386b7391ad 100644 --- a/src/gtk/toplevel.cpp +++ b/src/gtk/toplevel.cpp @@ -954,6 +954,7 @@ bool wxTopLevelWindowGTK::Show( bool show ) deferShow = m_deferShowAllowed && gs_requestFrameExtentsStatus != RFE_STATUS_BROKEN && !gtk_widget_get_realized(m_widget) && + GDK_IS_X11_DISPLAY(gtk_widget_get_display(m_widget)) && g_signal_handler_find(m_widget, GSignalMatchType(G_SIGNAL_MATCH_ID | G_SIGNAL_MATCH_DATA), g_signal_lookup("property_notify_event", GTK_TYPE_WIDGET),