X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/57c208c5759da71a637f0f0f5b7d3dc3eda09c02..1baa5e4ab5761a92cf62bb3fc8829e613eb97edc:/src/msw/control.cpp diff --git a/src/msw/control.cpp b/src/msw/control.cpp index a0bcf8dff2..bcbd6f38ff 100644 --- a/src/msw/control.cpp +++ b/src/msw/control.cpp @@ -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);