]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/mac/carbon/combobox.h
added wx_truncate_cast and use it (sometimes instead of wx_static_cast) to explicitel...
[wxWidgets.git] / include / wx / mac / carbon / combobox.h
index 82b4956c15d5065560b0286adef56546d89426bd..594a37bf64c41c677993e8f990494db33179144c 100644 (file)
@@ -91,6 +91,7 @@ class WXDLLEXPORT wxComboBox : public wxControl, public wxComboBoxBase
     virtual void Clear();
 
     virtual int GetSelection() const ;
+    int GetCurrentSelection() const { return GetSelection(); }
     virtual void SetSelection(int n);
     virtual int FindString(const wxString& s) const;
     virtual wxString GetString(int n) const ;