]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/gtk/combobox.h
use "..." for wx includes instead of <...>
[wxWidgets.git] / include / wx / gtk / combobox.h
index f48a786405c4e3b4c3c28507386270c04f05ae47..b0e0bea5e4b258b132d1a18151a833d51590e419 100644 (file)
@@ -33,7 +33,7 @@ class wxComboBox;
 // global data
 //-----------------------------------------------------------------------------
 
-extern const char* wxComboBoxNameStr;
+extern const wxChar* wxComboBoxNameStr;
 extern const wxChar* wxEmptyString;
 
 //-----------------------------------------------------------------------------
@@ -86,6 +86,7 @@ public:
     int GetSelection() const;
     wxString GetString( int n ) const;
     wxString GetStringSelection() const;
+    int GetCount() const { return Number(); }
     int Number() const;
     void SetSelection( int n );
     void SetStringSelection( const wxString &string );
@@ -113,6 +114,7 @@ public:
     bool     m_alreadySent;
     wxList   m_clientDataList;
     wxList   m_clientObjectList;
+    int      m_prevSelection;
 
     void DisableEvents();
     void EnableEvents();