X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/e78c1d7855d1fefcdbff0e093e21e5cf101ca604..2d14a14c573db4b8f8959b1460a269cf23defbcf:/include/wx/gtk/choice.h diff --git a/include/wx/gtk/choice.h b/include/wx/gtk/choice.h index a9d9cc8e95..31704b746c 100644 --- a/include/wx/gtk/choice.h +++ b/include/wx/gtk/choice.h @@ -50,7 +50,7 @@ public: bool Create( wxWindow *parent, wxWindowID id, const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxDefaultSize, - int n = 0, const wxString choices[] = (wxString *) NULL, + int n = 0, const wxString choices[] = NULL, long style = 0, const wxValidator& validator = wxDefaultValidator, const wxString& name = wxChoiceNameStr ); @@ -72,6 +72,9 @@ public: virtual wxString GetString(unsigned int n) const; virtual void SetString(unsigned int n, const wxString& string); + virtual void SetColumns(int n=1); + virtual int GetColumns() const; + virtual void DisableEvents(); virtual void EnableEvents(); @@ -99,6 +102,7 @@ protected: virtual void DoDeleteOneItem(unsigned int n); virtual GdkWindow *GTKGetWindow(wxArrayGdkWindows& windows) const; + virtual void DoApplyWidgetStyle(GtkRcStyle *style); // in derived classes, implement this to insert list store entry // with all items default except text