X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/53a2db124c633f80bdb16336084262037d879a2c..8e77fd8bca165aab9709649d79a7cbc6a172d4e1:/include/wx/os2/combobox.h?ds=inline diff --git a/include/wx/os2/combobox.h b/include/wx/os2/combobox.h index f95d442a2f..233d0f0d02 100644 --- a/include/wx/os2/combobox.h +++ b/include/wx/os2/combobox.h @@ -1,5 +1,5 @@ ///////////////////////////////////////////////////////////////////////////// -// Name: combobox.h +// Name: wx/os2/combobox.h // Purpose: wxComboBox class // Author: David Webster // Modified by: @@ -96,6 +96,10 @@ class WXDLLIMPEXP_CORE wxComboBox : public wxChoice, ,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(); @@ -122,8 +126,8 @@ class WXDLLIMPEXP_CORE wxComboBox : public wxChoice, ); 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)