]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/frame.cpp
fixed return value of HandleEndSession to return true only if the message was really...
[wxWidgets.git] / src / msw / frame.cpp
index b1b4e12a8f33eed69283fb9621ac9176613a08c1..7013f9d85df6a6fee359381494e6fad7ac832cf2 100644 (file)
@@ -347,6 +347,16 @@ bool wxFrameMSW::Show(bool show)
     return TRUE;
 }
 
+void wxFrameMSW::Raise()
+{
+#ifdef __WIN16__
+    // no SetForegroundWindow() in Win16
+    wxFrameBase::Raise();
+#else // Win32
+    ::SetForegroundWindow(GetHwnd());
+#endif // Win16/32
+}
+
 void wxFrameMSW::Iconize(bool iconize)
 {
     DoShowWindow(iconize ? SW_MINIMIZE : SW_RESTORE);