X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/6de97a3b945c99fb942209df48be26f43c1b436d..be6bf94bf0500c4d83a0180125a8376cbba676b3:/include/wx/gtk1/combobox.h?ds=sidebyside diff --git a/include/wx/gtk1/combobox.h b/include/wx/gtk1/combobox.h index d2ea1822c9..c7d7b7064b 100644 --- a/include/wx/gtk1/combobox.h +++ b/include/wx/gtk1/combobox.h @@ -48,7 +48,7 @@ class wxComboBox: public wxControl const wxString& value = wxEmptyString, 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 = wxComboBoxNameStr) @@ -59,12 +59,11 @@ class wxComboBox: public wxControl const wxString& value = wxEmptyString, 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 = wxComboBoxNameStr); - // List functions void Clear(void); void Append( const wxString &item ); void Append( const wxString &item, char* clientData ); @@ -79,11 +78,9 @@ class wxComboBox: public wxControl void SetSelection( int n ); void SetStringSelection( const wxString &string ); - // Text field functions wxString GetValue(void) const ; void SetValue(const wxString& value); - // Clipboard operations void Copy(void); void Cut(void); void Paste(void); @@ -95,14 +92,22 @@ class wxComboBox: public wxControl void Remove(long from, long to); void SetSelection(long from, long to); void SetEditable(bool editable); + + void SetFont( const wxFont &font ); + void OnSize( wxSizeEvent &event ); + + // implementation + bool m_alreadySent; + private: wxList m_clientData; + + GtkWidget* GetConnectWidget(void); + bool IsOwnGtkWindow( GdkWindow *window ); - public: - - bool m_alreadySent; + DECLARE_EVENT_TABLE() }; #endif // __GTKCOMBOBOXH__