Better text control non-selection solution

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@68753 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Julian Smart
2011-08-17 08:38:00 +00:00
parent 63509fb3c4
commit 827fb0e455
2 changed files with 3 additions and 7 deletions

View File

@@ -3100,13 +3100,6 @@ wxWindowMSW::MSWHandleMessage(WXLRESULT *result,
processed = true;
}
else if (IsOfStandardClass() && IsKindOf(CLASSINFO(wxTextCtrl)) && ((wxTextCtrl*)this)->IsMultiLine())
{
rc.result = MSWDefWindowProc(message, wParam, lParam);
// Clear the DLGC_HASSETSEL bit from the return value
rc.result &= ~DLGC_HASSETSEL;
processed = true;
}
//else: get the dlg code from the DefWindowProc()
break;