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:
@@ -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
|
||||
// ----------------------------------------------------------------------------
|
||||
|
Reference in New Issue
Block a user