final pre-release OS/2 updates.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@18267 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -1175,9 +1175,11 @@ void wxTextCtrl::AdjustSpaceLimit()
|
||||
bool wxTextCtrl::AcceptsFocus() const
|
||||
{
|
||||
//
|
||||
// We don't want focus if we can't be edited
|
||||
// We don't want focus if we can't be edited unless we're a multiline
|
||||
// control because then it might be still nice to get focus from keyboard
|
||||
// to be able to scroll it without mouse
|
||||
//
|
||||
return IsEditable() && wxControl::AcceptsFocus();
|
||||
return (IsEditable() || IsMultiLine()) && wxControl::AcceptsFocus();
|
||||
} // end of wxTextCtrl::Command
|
||||
|
||||
wxSize wxTextCtrl::DoGetBestSize() const
|
||||
|
Reference in New Issue
Block a user