Move wxComboBox::Clear() out of line in wxQt
No real changes.
This commit is contained in:
committed by
Vadim Zeitlin
parent
4c0b919851
commit
019cf6e6f0
@@ -63,11 +63,7 @@ public:
|
||||
return wxItemContainer::GetStringSelection();
|
||||
}
|
||||
|
||||
virtual void Clear() wxOVERRIDE
|
||||
{
|
||||
wxTextEntry::Clear();
|
||||
wxItemContainer::Clear();
|
||||
}
|
||||
virtual void Clear() wxOVERRIDE;
|
||||
|
||||
// See wxComboBoxBase discussion of IsEmpty().
|
||||
bool IsListEmpty() const { return wxItemContainer::IsEmpty(); }
|
||||
|
@@ -133,6 +133,12 @@ void wxComboBox::Dismiss()
|
||||
static_cast<QComboBox *>(GetHandle())->hidePopup();
|
||||
}
|
||||
|
||||
void wxComboBox::Clear()
|
||||
{
|
||||
wxTextEntry::Clear();
|
||||
wxItemContainer::Clear();
|
||||
}
|
||||
|
||||
void wxComboBox::SetSelection( long from, long to )
|
||||
{
|
||||
// SelectAll uses -1 to -1, adjust for qt:
|
||||
|
Reference in New Issue
Block a user