]> git.saurik.com Git - wxWidgets.git/blobdiff - src/motif/checkbox.cpp
Add some version checks to help compiling on OSX.
[wxWidgets.git] / src / motif / checkbox.cpp
index 1a79bf75ec76879fe5d44f4dfa1a62156d119059..6a68b1009b59f297fde032b9078e97e7f936a2e9 100644 (file)
@@ -45,8 +45,6 @@
 void wxCheckBoxCallback (Widget w, XtPointer clientData,
                          XtPointer ptr);
 
-IMPLEMENT_DYNAMIC_CLASS(wxCheckBox, wxControl)
-
 // Single check box item
 bool wxCheckBox::Create(wxWindow *parent, wxWindowID id, const wxString& label,
                         const wxPoint& pos,
@@ -140,7 +138,7 @@ void wxCheckBoxCallback (Widget WXUNUSED(w), XtPointer clientData,
 
 void wxCheckBox::ChangeBackgroundColour()
 {
-    if (!m_backgroundColour.Ok())
+    if (!m_backgroundColour.IsOk())
         return;
 
     wxComputeColours (XtDisplay((Widget) m_mainWidget), & m_backgroundColour,