Use wxTextEntry::Clear() in wxOwnerDrawnComboBox::Clear()
This seems more natural than calling SetValue(wxEmptyString). No real changes.
This commit is contained in:
@@ -991,9 +991,7 @@ void wxOwnerDrawnComboBox::DoClear()
|
|||||||
|
|
||||||
GetVListBoxComboPopup()->Clear();
|
GetVListBoxComboPopup()->Clear();
|
||||||
|
|
||||||
// NB: This really needs to be SetValue() instead of ChangeValue(),
|
wxTextEntry::Clear();
|
||||||
// as wxTextEntry API expects an event to be sent.
|
|
||||||
SetValue(wxEmptyString);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void wxOwnerDrawnComboBox::Clear()
|
void wxOwnerDrawnComboBox::Clear()
|
||||||
|
Reference in New Issue
Block a user