]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/control.cpp
wxCriticalSection changes undone - should work now
[wxWidgets.git] / src / msw / control.cpp
index a0bcf8dff2b28242b67a551bf7041c3ef3b67679..bcbd6f38ff73f5a7c6bb85292e62a746d437cd49 100644 (file)
@@ -53,6 +53,7 @@ wxControl::wxControl(void)
   m_backgroundColour = *wxWHITE;
   m_foregroundColour = *wxBLACK;
   m_callback = 0;
+//  m_windowCursor = wxNullCursor; // To avoid the standard cursor being used
 }
 
 wxControl::~wxControl(void)
@@ -183,13 +184,8 @@ void wxControl::MSWOnMouseMove(int x, int y, WXUINT flags)
     Default();
 }
 
-long wxControl::MSWWindowProc(WXUINT nMsg, WXWPARAM wParam, WXLPARAM lParam)
-{
-  return wxWindow::MSWWindowProc(nMsg, wParam, lParam);
-}
-
 bool wxControl::MSWNotify(WXWPARAM wParam, WXLPARAM lParam,
-                          WXLPARAM* WXUNUSED(result))
+                          WXLPARAM* result)
 {
 #if defined(__WIN95__)
        wxCommandEvent event(wxEVT_NULL, m_windowId);
@@ -240,7 +236,7 @@ bool wxControl::MSWNotify(WXWPARAM wParam, WXLPARAM lParam,
                }
 */
                default:
-                       return FALSE;
+            return wxWindow::MSWNotify(wParam, lParam, result);
        }
 
     event.SetEventType(eventType);