X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/6de97a3b945c99fb942209df48be26f43c1b436d..e1dc4cc6872ce44134a881feeb0ede2b8b91af55:/include/wx/gtk/choice.h diff --git a/include/wx/gtk/choice.h b/include/wx/gtk/choice.h index 31265e1161..92fb5f40a7 100644 --- a/include/wx/gtk/choice.h +++ b/include/wx/gtk/choice.h @@ -2,9 +2,8 @@ // Name: choice.h // Purpose: // Author: Robert Roebling -// Created: 01/02/97 -// Id: -// Copyright: (c) 1998 Robert Roebling, Julian Smart and Markus Holzem +// Id: $Id$ +// Copyright: (c) 1998 Robert Roebling // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// @@ -47,7 +46,7 @@ class wxChoice: public wxControl inline wxChoice( wxWindow *parent, wxWindowID id, const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxDefaultSize, - int n = 0, const wxString choices[] = NULL, + int n = 0, const wxString choices[] = (const wxString *) NULL, long style = 0, const wxValidator& validator = wxDefaultValidator, const wxString& name = wxChoiceNameStr ) @@ -57,12 +56,13 @@ class wxChoice: public wxControl bool Create( wxWindow *parent, wxWindowID id, const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxDefaultSize, - int n = 0, const wxString choices[] = NULL, + int n = 0, const wxString choices[] = (wxString *) NULL, long style = 0, const wxValidator& validator = wxDefaultValidator, const wxString& name = wxChoiceNameStr ); void Append( const wxString &item ); void Clear(void); + void Delete(int n); int FindString( const wxString &string ) const; int GetColumns(void) const; int GetSelection(void); @@ -72,6 +72,10 @@ class wxChoice: public wxControl void SetColumns( int n = 1 ); void SetSelection( int n ); void SetStringSelection( const wxString &string ); + + // implementation + + void ApplyWidgetStyle(); }; #endif // __GTKCHOICEH__