]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/combobox.h
added AddText() function (trivial wrapper around AddFile()), use it in debug rpt...
[wxWidgets.git] / include / wx / combobox.h
index 2f2050d573ab96cd37ac69ef8c1d55061a1ab64a..051737b64677c4a63b7e33df13cd4c9943bd3aee 100644 (file)
@@ -16,7 +16,7 @@
 
 #if wxUSE_COMBOBOX
 
-WXDLLEXPORT_DATA(extern const wxChar*) wxComboBoxNameStr;
+extern WXDLLEXPORT_DATA(const wxChar*) wxComboBoxNameStr;
 
 // ----------------------------------------------------------------------------
 // wxComboBoxBase: this interface defines the methods wxComboBox must implement
@@ -59,6 +59,10 @@ public:
     virtual bool CanUndo() const = 0;
     virtual bool CanRedo() const = 0;
 
+
+    // redeclare inherited SetSelection() overload here as well to avoid
+    // virtual function hiding
+    virtual void SetSelection(int n) = 0;
 };
 
 // ----------------------------------------------------------------------------