]> git.saurik.com Git - wxWidgets.git/commitdiff
Remove always moving window to the top of the Z-order on on Show
authorKevin Hock <hockkn@yahoo.com>
Tue, 8 Nov 2005 14:38:20 +0000 (14:38 +0000)
committerKevin Hock <hockkn@yahoo.com>
Tue, 8 Nov 2005 14:38:20 +0000 (14:38 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36125 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/msw/window.cpp

index e3c1d632150cefccf11f45f1f3f5bd2562a3239d..5785d69d6eef68d2ff1ab8a5a6902ba095fe955c 100644 (file)
@@ -716,11 +716,6 @@ bool wxWindowMSW::Show(bool show)
     if ( hWnd )
     {
         ::ShowWindow(hWnd, show ? SW_SHOW : SW_HIDE);
-
-        if ( show && IsTopLevel() )
-        {
-            wxBringWindowToTop(hWnd);
-        }
     }
 
     return true;