X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/6de97a3b945c99fb942209df48be26f43c1b436d..b926666447f1ceef18873cdd80966402a3ece222:/include/wx/gtk1/listbox.h diff --git a/include/wx/gtk1/listbox.h b/include/wx/gtk1/listbox.h index eb757db9b4..028422912d 100644 --- a/include/wx/gtk1/listbox.h +++ b/include/wx/gtk1/listbox.h @@ -48,7 +48,7 @@ class wxListBox: public wxControl inline wxListBox( 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 = wxListBoxNameStr ) @@ -58,7 +58,7 @@ class wxListBox: 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[] = (const wxString *) NULL, long style = 0, const wxValidator& validator = wxDefaultValidator, const wxString& name = wxListBoxNameStr ); @@ -82,17 +82,22 @@ class wxListBox: public wxControl void SetSelection( int n, bool select = TRUE ); void SetString( int n, const wxString &string ); void SetStringSelection( const wxString &string, bool select = TRUE ); + + void SetFont( const wxFont &font ); + void SetDropTarget( wxDropTarget *dropTarget ); + virtual void SetBackgroundColour(const wxColour &colour); - virtual GtkWidget *GetConnectWidget(void); - + // implementation + + int GetIndex( GtkWidget *item ) const; + GtkWidget *GetConnectWidget(void); + bool IsOwnGtkWindow( GdkWindow *window ); + private: GtkList *m_list; wxList m_clientData; - public: - - int GetIndex( GtkWidget *item ) const; }; #endif // __GTKLISTBOXH__