X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/243dbf1a5088be31980df51b97831b52cb6986cd..af99040c70b975e24ac0acee50f1fa13746d1239:/include/wx/listbox.h diff --git a/include/wx/listbox.h b/include/wx/listbox.h index 1c8c397b24..ef66d8ea3c 100644 --- a/include/wx/listbox.h +++ b/include/wx/listbox.h @@ -43,10 +43,11 @@ WXDLLEXPORT_DATA(extern const wxChar*) wxListBoxNameStr; class WXDLLEXPORT wxListBoxBase : public wxControlWithItems { public: - // all generic methods are in wxControlWithItems, except for the following - // ones which are not yet implemented by wxChoice/wxCombobox + wxListBoxBase() { } virtual ~wxListBoxBase(); + // all generic methods are in wxControlWithItems, except for the following + // ones which are not yet implemented by wxChoice/wxCombobox void Insert(const wxString& item, int pos) { DoInsert(item, pos); } void Insert(const wxString& item, int pos, void *clientData) @@ -117,6 +118,8 @@ protected: virtual void DoSetItems(const wxArrayString& items, void **clientData) = 0; virtual void DoSetFirstItem(int n) = 0; + + DECLARE_NO_COPY_CLASS(wxListBoxBase) }; // ----------------------------------------------------------------------------