]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/control.cpp
check that the version of __sync_sub_and_fetch that returns a value is supported...
[wxWidgets.git] / src / msw / control.cpp
index 857cc3325be5a15c89d68dc1081766b5a4db71b0..fa9989fb1cf011fe81d970f09248f66576c35098 100644 (file)
@@ -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)