]> git.saurik.com Git - wxWidgets.git/commitdiff
Added WS_POPUP for MicroWindows dialogs
authorJulian Smart <julian@anthemion.co.uk>
Fri, 6 Jul 2001 11:18:23 +0000 (11:18 +0000)
committerJulian Smart <julian@anthemion.co.uk>
Fri, 6 Jul 2001 11:18:23 +0000 (11:18 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10858 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/msw/dialog.cpp

index 001b48549094bcdc7cf658fe9d21c17964a4efd8..bc0378340476df7dc3d0b5f83ab740b1216fa389 100644 (file)
@@ -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)