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)
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 );
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);
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__