Remove always moving window to the top of the Z-order on on Show
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36125 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -716,11 +716,6 @@ bool wxWindowMSW::Show(bool show)
|
|||||||
if ( hWnd )
|
if ( hWnd )
|
||||||
{
|
{
|
||||||
::ShowWindow(hWnd, show ? SW_SHOW : SW_HIDE);
|
::ShowWindow(hWnd, show ? SW_SHOW : SW_HIDE);
|
||||||
|
|
||||||
if ( show && IsTopLevel() )
|
|
||||||
{
|
|
||||||
wxBringWindowToTop(hWnd);
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
return true;
|
return true;
|
||||||
|
Reference in New Issue
Block a user