]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/window.cpp
1. improved wxKill() implementation for Win32
[wxWidgets.git] / src / msw / window.cpp
index b296e289c192b67909e86d5138925d85d6e5ee42..fb93646628c802b691625b186f58fbf2f217bb73 100644 (file)
@@ -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