/////////////////////////////////////////////////////////////////////////////
-// Name: combobox.h
+// Name: wx/os2/combobox.h
// Purpose: wxComboBox class
// Author: David Webster
// Modified by:
// Created: 10/13/99
-// RCS-ID: $Id$
// Copyright: (c) David Webster
// Licence: wxWindows licence
/////////////////////////////////////////////////////////////////////////////
,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)