X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/ca923098742df3e5c74aa4bbd7fb44d8feaf572d..fba05595e6cca40763f8ead119c7ad61cb01e0e4:/include/wx/mac/carbon/checklst.h?ds=sidebyside diff --git a/include/wx/mac/carbon/checklst.h b/include/wx/mac/carbon/checklst.h index 1f63f02d4b..3cc70996b4 100644 --- a/include/wx/mac/carbon/checklst.h +++ b/include/wx/mac/carbon/checklst.h @@ -10,21 +10,22 @@ // Licence: wxWindows licence /////////////////////////////////////////////////////////////////////////////// -#ifndef _WX_CHECKLST_H_ -#define _WX_CHECKLST_H_ +#ifndef _WX_MAC_CHECKLST_H_ +#define _WX_MAC_CHECKLST_H_ -class wxMacCheckListControl +class wxMacCheckListControl { public : virtual bool MacIsChecked(unsigned int n) const = 0; virtual void MacCheck(unsigned int n, bool bCheck = true) = 0; + + virtual ~wxMacCheckListControl() { } }; class WXDLLEXPORT wxCheckListBox : public wxCheckListBoxBase { - DECLARE_DYNAMIC_CLASS(wxCheckListBox) public: - // ctors + // ctors wxCheckListBox() { Init(); } wxCheckListBox(wxWindow *parent, wxWindowID id, @@ -80,10 +81,10 @@ public: protected: void Init(); -private: +private: DECLARE_EVENT_TABLE() + DECLARE_DYNAMIC_CLASS(wxCheckListBox) }; -#endif - // _WX_CHECKLST_H_ +#endif // _WX_MAC_CHECKLST_H_