Fix for Bug 1097510, reset m_selectionOld when the value changes

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31278 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robin Dunn
2005-01-07 18:29:55 +00:00
parent 8175d02570
commit 4df123bce5

View File

@@ -347,6 +347,7 @@ bool wxComboBox::MSWCommand(WXUINT param, WXWORD WXUNUSED(id))
if ( sel == -1 )
{
m_value = wxGetWindowText(GetHwnd());
m_selectionOld = -1;
}
else // we're synthesizing text updated event from sel change
{