X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/c6179a847d8899cceb8880abc2ab2fe9d0244c90..67036b249790e159028f7e8e42e874a41a548c0a:/include/wx/gtk/combobox.h?ds=sidebyside diff --git a/include/wx/gtk/combobox.h b/include/wx/gtk/combobox.h index 061d74289d..be213a3a23 100644 --- a/include/wx/gtk/combobox.h +++ b/include/wx/gtk/combobox.h @@ -8,14 +8,9 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// - #ifndef __GTKCOMBOBOXH__ #define __GTKCOMBOBOXH__ -#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) -#pragma interface "combobox.h" -#endif - #include "wx/defs.h" #if wxUSE_COMBOBOX @@ -26,20 +21,20 @@ // classes //----------------------------------------------------------------------------- -class wxComboBox; +class WXDLLIMPEXP_CORE wxComboBox; //----------------------------------------------------------------------------- // global data //----------------------------------------------------------------------------- -extern const wxChar* wxComboBoxNameStr; -extern const wxChar* wxEmptyString; +extern WXDLLIMPEXP_CORE const wxChar* wxComboBoxNameStr; +extern WXDLLIMPEXP_BASE const wxChar* wxEmptyString; //----------------------------------------------------------------------------- // wxComboBox //----------------------------------------------------------------------------- -class wxComboBox : public wxControl, public wxComboBoxBase +class WXDLLIMPEXP_CORE wxComboBox : public wxControl, public wxComboBoxBase { public: inline wxComboBox() {} @@ -90,6 +85,7 @@ public: virtual int FindString( const wxString &item ) const; int GetSelection() const; + int GetCurrentSelection() const; wxString GetString( int n ) const; wxString GetStringSelection() const; int GetCount() const;