]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/control.cpp
Dialog Editor corrections for latest wxWin changes; removed wxProp files
[wxWidgets.git] / src / msw / control.cpp
index 8d4f4b718d58e65abc8b24abc3d9b64fbac295b6..297d81e8fbf7cd02f57744fa5e39688186cd8147 100644 (file)
@@ -185,7 +185,8 @@ long wxControl::MSWWindowProc(WXUINT nMsg, WXWPARAM wParam, WXLPARAM lParam)
   return wxWindow::MSWWindowProc(nMsg, wParam, lParam);
 }
 
-bool wxControl::MSWNotify(WXWPARAM wParam, WXLPARAM lParam)
+bool wxControl::MSWNotify(WXWPARAM wParam, WXLPARAM lParam,
+                          WXLPARAM* WXUNUSED(result))
 {
 #if defined(__WIN95__)
        wxCommandEvent event(wxEVT_NULL, m_windowId);
@@ -235,18 +236,18 @@ bool wxControl::MSWNotify(WXWPARAM wParam, WXLPARAM lParam)
                        break;
                }
 */
-               default :
+               default:
                        return FALSE;
-                       break;
        }
+
     event.SetEventType(eventType);
        event.SetEventObject(this);
 
        if ( !GetEventHandler()->ProcessEvent(event) )
                return FALSE;
        return TRUE;
-#else
-  return FALSE;
+#else   // !Win95
+    return FALSE;
 #endif
 }