removed Win16 code (patch 905241), last version with remains of Win16 support tagged with BEFORE_WIN16_REMOVAL
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26423 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -581,13 +581,7 @@ void wxComboBox::SetSelection(long from, long to)
|
||||
toChar = -1;
|
||||
}
|
||||
|
||||
if (
|
||||
#ifdef __WIN32__
|
||||
SendMessage(hWnd, CB_SETEDITSEL, (WPARAM)0, (LPARAM)MAKELONG(fromChar, toChar))
|
||||
#else // Win16
|
||||
SendMessage(hWnd, CB_SETEDITSEL, (WPARAM)fromChar, (LPARAM)toChar)
|
||||
#endif
|
||||
== CB_ERR )
|
||||
if ( SendMessage(hWnd, CB_SETEDITSEL, (WPARAM)0, (LPARAM)MAKELONG(fromChar, toChar)) == CB_ERR )
|
||||
{
|
||||
wxLogDebug(_T("CB_SETEDITSEL failed"));
|
||||
}
|
||||
|
Reference in New Issue
Block a user