X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/9467bdb7f5bfde9f99331097daacb93564ca122e..472eec8a0391538e4dcf7f7c6c4f4d44c8383616:/include/wx/univ/checklst.h diff --git a/include/wx/univ/checklst.h b/include/wx/univ/checklst.h index e6afd10a16..3df4668770 100644 --- a/include/wx/univ/checklst.h +++ b/include/wx/univ/checklst.h @@ -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