use SetForegroundWindow instead of BringWindowToTop
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10488 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
aec73dbba4
commit
447002a131
@ -446,7 +446,11 @@ bool wxWindow::Show(bool show)
|
||||
// Raise the window to the top of the Z order
|
||||
void wxWindow::Raise()
|
||||
{
|
||||
#ifdef __WIN16__
|
||||
::BringWindowToTop(GetHwnd());
|
||||
#else // Win32
|
||||
::SetForegroundWindow(GetHwnd());
|
||||
#endif
|
||||
}
|
||||
|
||||
// Lower the window to the bottom of the Z order
|
||||
|
Loading…
Reference in New Issue
Block a user