/////////////////////////////////////////////////////////////////////////////
-// Name: combobox.h
+// Name: wx/os2/combobox.h
// Purpose: wxComboBox class
// Author: David Webster
// Modified by:
#if wxUSE_COMBOBOX
// Combobox item
-class WXDLLEXPORT wxComboBox : public wxChoice,
+class WXDLLIMPEXP_CORE wxComboBox : public wxChoice,
public wxTextEntry
{
,const wxString& rsName = wxComboBoxNameStr
);
+ // See wxComboBoxBase discussion of IsEmpty().
+ bool IsListEmpty() const { return wxItemContainer::IsEmpty(); }
+ bool IsTextEmpty() const { return wxTextEntry::IsEmpty(); }
+
// resolve ambiguities among virtual functions inherited from both base
// classes
virtual void Clear();
);
private:
- // implement wxTextEntry pure virtual: it implements all the operations for
- // the simple EDIT controls
+ // implement wxTextEntry pure virtual methods
+ virtual wxWindow *GetEditableWindow() { return this; }
virtual WXHWND GetEditHWND() const { return m_hWnd; }
DECLARE_DYNAMIC_CLASS(wxComboBox)