]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/dialog.cpp
make --static flag act on --cppflags too.
[wxWidgets.git] / src / msw / dialog.cpp
index 3fbad08474679d2979b7d8b31c477daffa3d5ab2..620a3de16ae80ebb2f6768b5f7f6784e6604b211 100644 (file)
@@ -322,18 +322,6 @@ bool wxDialog::Show(bool show)
                 {
                     // use it
                     m_parent = parent;
-
-                    // VZ: to make dialog behave properly we should reparent
-                    //     the dialog for Windows as well - unfortunately,
-                    //     following the docs for SetParent() results in this
-                    //     code which plainly doesn't work
-#if 0
-                    long dwStyle = ::GetWindowLong(GetHwnd(), GWL_STYLE);
-                    dwStyle &= ~WS_POPUP;
-                    dwStyle |= WS_CHILD;
-                    ::SetWindowLong(GetHwnd(), GWL_STYLE, dwStyle);
-                    ::SetParent(GetHwnd(), GetHwndOf(parent));
-#endif // 0
                 }
             }