From: Robin Dunn Date: Thu, 16 Dec 2004 21:26:55 +0000 (+0000) Subject: reset m_selectionOld when the selection is programatically changed X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/884a37aed25b5cdabcc6f9f7604878aa97ecb031 reset m_selectionOld when the selection is programatically changed git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31035 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/src/msw/combobox.cpp b/src/msw/combobox.cpp index aad9581f87..a9bb62cb5e 100644 --- a/src/msw/combobox.cpp +++ b/src/msw/combobox.cpp @@ -251,6 +251,7 @@ WXLRESULT wxComboBox::MSWWindowProc(WXUINT nMsg, WXWPARAM wParam, WXLPARAM lPara m_value = wxEmptyString; else m_value = GetString(wParam); + m_selectionOld = -1; break; }