X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/ca923098742df3e5c74aa4bbd7fb44d8feaf572d..916989dfb95b7e4a72234d946b8e078235046e05:/include/wx/mac/carbon/checklst.h diff --git a/include/wx/mac/carbon/checklst.h b/include/wx/mac/carbon/checklst.h index 1f63f02d4b..8be9e99c08 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 +class WXDLLIMPEXP_CORE 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_