From 7d75181ca144b8f5c7b10824dc026b3c0520633d Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Wed, 31 Oct 2007 18:55:58 +0000 Subject: [PATCH] don't clear the selection in the edit control in SetInsertionPoint() git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@49562 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/msw/combobox.cpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/msw/combobox.cpp b/src/msw/combobox.cpp index 1b264805c7..3157593b2f 100644 --- a/src/msw/combobox.cpp +++ b/src/msw/combobox.cpp @@ -640,8 +640,6 @@ void wxComboBox::SetInsertionPoint(long pos) { // Scroll insertion point into view SendMessage(hEditWnd, EM_SCROLLCARET, (WPARAM)0, (LPARAM)0); - // Why is this necessary? (Copied from wxTextCtrl::SetInsertionPoint) - SendMessage(hEditWnd, EM_REPLACESEL, 0, (LPARAM) wxEmptyString); } }