]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/popupwin.cpp
removed gtk.h include
[wxWidgets.git] / src / msw / popupwin.cpp
index fbe5ad21fbcc156a45dda4da88186c7227dc0bc6..aa340cdc9f8ec9a81db917d6f08737fb6c02d94b 100644 (file)
@@ -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,