X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/b526f9d64d63028d749998fea1ce407439c779f8..5bdcb1f3248ebcac6c73e314e752c13dee8776c7:/include/wx/gtk/combobox.h diff --git a/include/wx/gtk/combobox.h b/include/wx/gtk/combobox.h index df97c6bfcc..e31a347c8e 100644 --- a/include/wx/gtk/combobox.h +++ b/include/wx/gtk/combobox.h @@ -88,6 +88,9 @@ public: { return wxItemContainer::GetStringSelection(); } + + virtual void SetString(unsigned int n, const wxString& string); + virtual void Popup(); virtual void Dismiss(); @@ -97,10 +100,14 @@ public: wxItemContainer::Clear(); } - bool IsEmpty() const { return wxItemContainer::IsEmpty(); } + // See wxComboBoxBase discussion of IsEmpty(). + bool IsListEmpty() const { return wxItemContainer::IsEmpty(); } + bool IsTextEmpty() const { return wxTextEntry::IsEmpty(); } void OnChar( wxKeyEvent &event ); + virtual void SetValue(const wxString& value); + // Standard event handling void OnCut(wxCommandEvent& event); void OnCopy(wxCommandEvent& event);