X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/54800df8d8f5e425c4f11538cd05341c51243543..b6e5eaa59701315ca06996ff845872ca4122695f:/src/msw/dialog.cpp

diff --git a/src/msw/dialog.cpp b/src/msw/dialog.cpp
index 001b485490..bc03783404 100644
--- a/src/msw/dialog.cpp
+++ b/src/msw/dialog.cpp
@@ -174,7 +174,7 @@ bool wxDialog::Create(wxWindow *parent,
 #ifdef __WXMICROWIN__
     extern const wxChar *wxFrameClassName;
     
-    int msflags = WS_OVERLAPPED;
+    int msflags = WS_OVERLAPPED|WS_POPUP;
     if (style & wxCAPTION)
         msflags |= WS_CAPTION;
     if (style & wxCLIP_CHILDREN)