X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/7e02769822961714d055f388063564c47d8eef7c..d3e0ffbcd01cd6172234f9dc14f870ed6e1125cd:/src/gtk1/popupwin.cpp?ds=inline diff --git a/src/gtk1/popupwin.cpp b/src/gtk1/popupwin.cpp index f2d3a67520..2ccbf66336 100644 --- a/src/gtk1/popupwin.cpp +++ b/src/gtk1/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;