]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/mac/carbon/tglbtn.h
unset the window as invoking window of wxCurrentPopupMenu (which now exists in all...
[wxWidgets.git] / include / wx / mac / carbon / tglbtn.h
index 43db82863bd047fa96c6e49b88cc3a4e7e0f9ed5..37ff8bbe16f8271a292c6f898f0df423611a8764 100644 (file)
 WXDLLEXPORT_DATA(extern const char) wxCheckBoxNameStr[];
 
 
-class WXDLLEXPORT wxToggleBitmapButton : public wxControl
+class WXDLLEXPORT wxBitmapToggleButton : public wxToggleButtonBase
 {
 public:
-    wxToggleBitmapButton() {}
-    wxToggleBitmapButton(wxWindow *parent,
+    wxBitmapToggleButton() {}
+    wxBitmapToggleButton(wxWindow *parent,
                    wxWindowID id,
                    const wxBitmap& label,
                    const wxPoint& pos = wxDefaultPosition,
@@ -56,11 +56,11 @@ protected:
     virtual wxSize DoGetBestSize() const;
 
 private:
-    DECLARE_DYNAMIC_CLASS_NO_COPY(wxToggleBitmapButton)
+    DECLARE_DYNAMIC_CLASS_NO_COPY(wxBitmapToggleButton)
 };
 
 
-class WXDLLEXPORT wxToggleButton : public wxControl
+class WXDLLEXPORT wxToggleButton : public wxToggleButtonBase
 {
 public:
     wxToggleButton() {}