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:
@@ -347,6 +347,7 @@ bool wxComboBox::MSWCommand(WXUINT param, WXWORD WXUNUSED(id))
|
|||||||
if ( sel == -1 )
|
if ( sel == -1 )
|
||||||
{
|
{
|
||||||
m_value = wxGetWindowText(GetHwnd());
|
m_value = wxGetWindowText(GetHwnd());
|
||||||
|
m_selectionOld = -1;
|
||||||
}
|
}
|
||||||
else // we're synthesizing text updated event from sel change
|
else // we're synthesizing text updated event from sel change
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user