X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/4c0d2cd3d0c59bf0114e0e10355bff86ddb116a0..9d5507f7a2701395e1d5c121bd877bb9066ee6ea:/src/msw/control.cpp diff --git a/src/msw/control.cpp b/src/msw/control.cpp index 857cc3325b..fa9989fb1c 100644 --- a/src/msw/control.cpp +++ b/src/msw/control.cpp @@ -245,7 +245,7 @@ wxSize wxControl::DoGetBestSize() const wxBorder wxControl::GetDefaultBorder() const { - return GetDefaultBorderForControl(); + return wxControlBase::GetDefaultBorder(); } // This is a helper for all wxControls made with UPDOWN native control. @@ -315,7 +315,7 @@ wxControl::GetCompositeControlsDefaultAttributes(wxWindowVariant WXUNUSED(varian bool wxControl::ProcessCommand(wxCommandEvent& event) { - return GetEventHandler()->ProcessEvent(event); + return HandleWindowEvent(event); } bool wxControl::MSWOnNotify(int idCtrl, @@ -363,7 +363,7 @@ bool wxControl::MSWOnNotify(int idCtrl, event.SetEventType(eventType); event.SetEventObject(this); - return GetEventHandler()->ProcessEvent(event); + return HandleWindowEvent(event); } WXHBRUSH wxControl::DoMSWControlColor(WXHDC pDC, wxColour colBg, WXHWND hWnd)