From 884a37aed25b5cdabcc6f9f7604878aa97ecb031 Mon Sep 17 00:00:00 2001 From: Robin Dunn Date: Thu, 16 Dec 2004 21:26:55 +0000 Subject: [PATCH] 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 --- src/msw/combobox.cpp | 1 + 1 file changed, 1 insertion(+) 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; } -- 2.45.2