diff --git a/src/msw/window.cpp b/src/msw/window.cpp index b296e289c1..fb93646628 100644 --- a/src/msw/window.cpp +++ b/src/msw/window.cpp @@ -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