X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/ab7ce33c563651f790f99d64ee56727706047ae3..ef094fa075bc56bcbc33b12159c395ea28afda3b:/include/wx/gtk1/choice.h diff --git a/include/wx/gtk1/choice.h b/include/wx/gtk1/choice.h index 6acce9a5de..5f550d732a 100644 --- a/include/wx/gtk1/choice.h +++ b/include/wx/gtk1/choice.h @@ -60,6 +60,7 @@ protected: void ApplyWidgetStyle(); virtual int DoAppend(const wxString& item); + virtual int DoInsert(const wxString& item, int pos); virtual void DoSetItemClientData( int n, void* clientData ); virtual void* DoGetItemClientData( int n ) const; @@ -70,7 +71,7 @@ protected: private: // common part of Create() and DoAppend() - size_t GtkAppendHelper(GtkWidget *menu, const wxString& item); + int GtkAddHelper(GtkWidget *menu, int pos, const wxString& item); // this array is only used for controls with wxCB_SORT style, so only // allocate it if it's needed (hence using pointer)