]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/dialog.cpp
always pass WM_DESTROY to DefWindowProc() - this fixes memory/resource leak for wxListBox
[wxWidgets.git] / 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)