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)
{
- Create(parent, id, value, pos, size, n, choices, style, name);
+ Create(parent, id, value, pos, size, n, choices, style, validator, name);
}
-
bool Create(wxWindow *parent, wxWindowID id,
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 );
wxString GetStringSelection(void) const;
int Number(void) const;
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;
-
+ wxList m_clientData;
+
+ GtkWidget* GetConnectWidget(void);
+ bool IsOwnGtkWindow( GdkWindow *window );
+
+ DECLARE_EVENT_TABLE()
};
#endif // __GTKCOMBOBOXH__