X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/7e02769822961714d055f388063564c47d8eef7c..97c153e44634a9b2b17614f85035205a0d9eaa46:/src/gtk/popupwin.cpp diff --git a/src/gtk/popupwin.cpp b/src/gtk/popupwin.cpp index f2d3a67520..2ccbf66336 100644 --- a/src/gtk/popupwin.cpp +++ b/src/gtk/popupwin.cpp @@ -181,6 +181,9 @@ bool wxPopupWindow::Create( wxWindow *parent, int style ) return FALSE; } + // Unlike windows, top level windows are created hidden by default. + m_isShown = false; + // All dialogs should really have this style m_windowStyle |= wxTAB_TRAVERSAL;