/////////////////////////////////////////////////////////////////////////////
-// Name: combobox.h
+// Name: wx/mac/carbon/combobox.h
// Purpose: wxComboBox class
// Author: Stefan Csomor
// Modified by:
#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
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) ;