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
This commit is contained in:
@@ -640,8 +640,6 @@ void wxComboBox::SetInsertionPoint(long pos)
|
|||||||
{
|
{
|
||||||
// Scroll insertion point into view
|
// Scroll insertion point into view
|
||||||
SendMessage(hEditWnd, EM_SCROLLCARET, (WPARAM)0, (LPARAM)0);
|
SendMessage(hEditWnd, EM_SCROLLCARET, (WPARAM)0, (LPARAM)0);
|
||||||
// Why is this necessary? (Copied from wxTextCtrl::SetInsertionPoint)
|
|
||||||
SendMessage(hEditWnd, EM_REPLACESEL, 0, (LPARAM) wxEmptyString);
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user