X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/37d729ed98c7026793e1ba749b3dee107c077284..36ba5f7cb0d831c61048e5ee5bb6a71e691cc3f3:/src/msw/popupwin.cpp diff --git a/src/msw/popupwin.cpp b/src/msw/popupwin.cpp index fbe5ad21fb..aa340cdc9f 100644 --- a/src/msw/popupwin.cpp +++ b/src/msw/popupwin.cpp @@ -46,6 +46,9 @@ IMPLEMENT_DYNAMIC_CLASS(wxPopupWindow, wxWindow) bool wxPopupWindow::Create(wxWindow *parent, int flags) { + // popup windows are created hidden by default + Hide(); + return wxPopupWindowBase::Create(parent) && wxWindow::Create(parent, -1, wxDefaultPosition, wxDefaultSize,