]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/gtk/combobox.h
Implement some base class virtuals to avoid errors related to this not
[wxWidgets.git] / include / wx / gtk / combobox.h
index 54f5d30cf7acd16cd3fed3343978e9fd3e6c450b..b3756066cc289528c49df240c94c9b8870088650 100644 (file)
@@ -54,6 +54,17 @@ public:
     {
         Create(parent, id, value, pos, size, n, choices, style, validator, name);
     }
+    inline wxComboBox(wxWindow *parent, wxWindowID id,
+           const wxString& value,
+           const wxPoint& pos,
+           const wxSize& size,
+           const wxArrayString& choices,
+           long style = 0,
+           const wxValidator& validator = wxDefaultValidator,
+           const wxString& name = wxComboBoxNameStr)
+    {
+        Create(parent, id, value, pos, size, choices, style, validator, name);
+    }
 
     ~wxComboBox();
 
@@ -65,6 +76,14 @@ public:
            long style = 0,
            const wxValidator& validator = wxDefaultValidator,
            const wxString& name = wxComboBoxNameStr);
+    bool Create(wxWindow *parent, wxWindowID id,
+           const wxString& value,
+           const wxPoint& pos,
+           const wxSize& size,
+           const wxArrayString& choices,
+           long style = 0,
+           const wxValidator& validator = wxDefaultValidator,
+           const wxString& name = wxComboBoxNameStr);
 
     void Clear();
     void Delete( int n );
@@ -77,7 +96,7 @@ public:
     int Number() const { return GetCount(); }
     void SetSelection( int n );
     void Select( int n ) { return SetSelection( n ); }
-    void SetStringSelection( const wxString &string );
+    bool SetStringSelection( const wxString &string );
     void SetString(int n, const wxString &text);
 
     wxString GetValue() const;