X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/9467bdb7f5bfde9f99331097daacb93564ca122e..ca77701441e39245dcbfce903049e76f166979e5:/include/wx/univ/checklst.h?ds=sidebyside diff --git a/include/wx/univ/checklst.h b/include/wx/univ/checklst.h index e6afd10a16..fc0bb91ca1 100644 --- a/include/wx/univ/checklst.h +++ b/include/wx/univ/checklst.h @@ -16,13 +16,13 @@ // actions // ---------------------------------------------------------------------------- -#define wxACTION_CHECKLISTBOX_TOGGLE _T("toggle") +#define wxACTION_CHECKLISTBOX_TOGGLE wxT("toggle") // ---------------------------------------------------------------------------- // wxCheckListBox // ---------------------------------------------------------------------------- -class WXDLLEXPORT wxCheckListBox : public wxCheckListBoxBase +class WXDLLIMPEXP_CORE wxCheckListBox : public wxCheckListBoxBase { public: // ctors @@ -84,14 +84,11 @@ public: return GetStdInputHandler(handlerDef); } +protected: // override all methods which add/delete items to update m_checks array as // well - virtual void Delete(unsigned int n); - -protected: - virtual int DoAppend(const wxString& item); - virtual void DoInsertItems(const wxArrayString& items, unsigned int pos); - virtual void DoSetItems(const wxArrayString& items, void **clientData); + virtual void OnItemInserted(unsigned int pos); + virtual void DoDeleteOneItem(unsigned int n); virtual void DoClear(); // draw the check items instead of the usual ones