X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/c6179a847d8899cceb8880abc2ab2fe9d0244c90..bdbd4e96121a470b518420cff4c2dfea20f2b7a6:/include/wx/mac/carbon/combobox.h diff --git a/include/wx/mac/carbon/combobox.h b/include/wx/mac/carbon/combobox.h index 82b4956c15..0b05bb9697 100644 --- a/include/wx/mac/carbon/combobox.h +++ b/include/wx/mac/carbon/combobox.h @@ -1,5 +1,5 @@ ///////////////////////////////////////////////////////////////////////////// -// Name: combobox.h +// Name: wx/mac/carbon/combobox.h // Purpose: wxComboBox class // Author: Stefan Csomor // Modified by: @@ -12,13 +12,9 @@ #ifndef _WX_COMBOBOX_H_ #define _WX_COMBOBOX_H_ -#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) -#pragma interface "combobox.h" -#endif - #include "wx/choice.h" -WXDLLEXPORT_DATA(extern const wxChar*) wxComboBoxNameStr; +WXDLLEXPORT_DATA(extern const wxChar) wxComboBoxNameStr[]; // forward declaration of private implementation classes @@ -91,8 +87,9 @@ 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 int FindString(const wxString& s, bool bCase = false) const; virtual wxString GetString(int n) const ; virtual wxString GetStringSelection() const ; virtual void SetString(int n, const wxString& s) ;