]> git.saurik.com Git - wxWidgets.git/commitdiff
reset m_selectionOld when the selection is programatically changed
authorRobin Dunn <robin@alldunn.com>
Thu, 16 Dec 2004 21:26:55 +0000 (21:26 +0000)
committerRobin Dunn <robin@alldunn.com>
Thu, 16 Dec 2004 21:26:55 +0000 (21:26 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31035 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/msw/combobox.cpp

index aad9581f874eaca2b8ea8a785e407938ab244d78..a9bb62cb5eb9ecbf4b996e7e51e7b902e79d4c80 100644 (file)
@@ -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;
     }