fixed wxComboBox::Clear to clear stored value

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36325 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Václav Slavík
2005-12-01 12:55:34 +00:00
parent 8ecd5de227
commit 5996fb421d
2 changed files with 8 additions and 1 deletions

View File

@@ -748,6 +748,13 @@ int wxComboBox::GetSelection() const
return wxChoice::GetSelection();
}
void wxComboBox::Clear()
{
wxChoice::Clear();
m_selectionOld = -1;
m_value.clear();
}
// ----------------------------------------------------------------------------
// standard event handling
// ----------------------------------------------------------------------------