From: Robin Dunn Date: Fri, 7 Jan 2005 18:29:55 +0000 (+0000) Subject: Fix for Bug 1097510, reset m_selectionOld when the value changes X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/4df123bce5ee66ac3aa2985a752b1ddd26725e84 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 --- diff --git a/src/msw/combobox.cpp b/src/msw/combobox.cpp index a9bb62cb5e..94ded90fd1 100644 --- a/src/msw/combobox.cpp +++ b/src/msw/combobox.cpp @@ -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 {