git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@68753
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
// live with it.
lRc = lDlgCode;
}
+ if (IsMultiLine())
+ // Clear the DLGC_HASSETSEL bit from the return value
+ lRc &= ~DLGC_HASSETSEL;
}
break;
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;