]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/os2/checkbox.h
added missing methods/removed duplicated base methods
[wxWidgets.git] / include / wx / os2 / checkbox.h
index 4b0bff34191e10068aa95a1eb1edd701a4a2186e..6079d5f80a403e2c6e16dcd6c8be48a78e0e8602 100644 (file)
@@ -18,10 +18,8 @@ WXDLLEXPORT_DATA(extern const char*) wxCheckBoxNameStr;
 
 // Checkbox item (single checkbox)
 class WXDLLEXPORT wxBitmap;
-class WXDLLEXPORT wxCheckBox: public wxControl
+class WXDLLEXPORT wxCheckBox : public wxCheckBoxBase
 {
-  DECLARE_DYNAMIC_CLASS(wxCheckBox)
-
  public:
   inline wxCheckBox() { }
   inline wxCheckBox(wxWindow *parent, wxWindowID id, const wxString& label,
@@ -54,6 +52,8 @@ class WXDLLEXPORT wxCheckBox: public wxControl
 
 protected:
   virtual wxSize DoGetBestSize() const;
+private:
+  DECLARE_DYNAMIC_CLASS(wxCheckBox)
 };
 
 class WXDLLEXPORT wxBitmapCheckBox: public wxCheckBox