added disambiguation for Clear() too
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48965 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -510,6 +510,13 @@ void wxComboBox::SetValue(const wxString& value)
|
||||
wxTextEntry::SetValue(value);
|
||||
}
|
||||
|
||||
void wxComboBox::Clear()
|
||||
{
|
||||
wxChoice::Clear();
|
||||
if ( !HasFlag(wxCB_READONLY) )
|
||||
wxTextEntry::Clear();
|
||||
}
|
||||
|
||||
bool wxComboBox::IsEditable() const
|
||||
{
|
||||
return !HasFlag(wxCB_READONLY) && wxTextEntry::IsEditable();
|
||||
|
Reference in New Issue
Block a user