No changes, just move wxComboBox::Clear() out of line in wxGTK.
Make this function non-inline to facilitate further modifications. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@78084 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -94,11 +94,7 @@ public:
|
|||||||
virtual void Popup();
|
virtual void Popup();
|
||||||
virtual void Dismiss();
|
virtual void Dismiss();
|
||||||
|
|
||||||
virtual void Clear() wxOVERRIDE
|
virtual void Clear() wxOVERRIDE;
|
||||||
{
|
|
||||||
wxTextEntry::Clear();
|
|
||||||
wxItemContainer::Clear();
|
|
||||||
}
|
|
||||||
|
|
||||||
// See wxComboBoxBase discussion of IsEmpty().
|
// See wxComboBoxBase discussion of IsEmpty().
|
||||||
bool IsListEmpty() const { return wxItemContainer::IsEmpty(); }
|
bool IsListEmpty() const { return wxItemContainer::IsEmpty(); }
|
||||||
|
@@ -295,6 +295,12 @@ wxComboBox::GetClassDefaultAttributes(wxWindowVariant WXUNUSED(variant))
|
|||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
|
void wxComboBox::Clear()
|
||||||
|
{
|
||||||
|
wxTextEntry::Clear();
|
||||||
|
wxItemContainer::Clear();
|
||||||
|
}
|
||||||
|
|
||||||
void wxComboBox::SetValue(const wxString& value)
|
void wxComboBox::SetValue(const wxString& value)
|
||||||
{
|
{
|
||||||
if ( HasFlag(wxCB_READONLY) )
|
if ( HasFlag(wxCB_READONLY) )
|
||||||
|
Reference in New Issue
Block a user