X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/75a2c6a1ee034a5d866b4a121a97351603bce98b..4b77e661be4fb3ee713344522355b3d82dc6acc1:/src/osx/cocoa/textctrl.mm diff --git a/src/osx/cocoa/textctrl.mm b/src/osx/cocoa/textctrl.mm index 1f10089116..accef767a8 100644 --- a/src/osx/cocoa/textctrl.mm +++ b/src/osx/cocoa/textctrl.mm @@ -229,7 +229,6 @@ protected : return fieldEditor; } - - (void) setEnabled:(BOOL) flag { [super setEnabled: flag]; @@ -322,6 +321,14 @@ wxNSTextViewControl::~wxNSTextViewControl() [m_textView setDelegate: nil]; } +bool wxNSTextViewControl::CanFocus() const +{ + // since this doesn't work (return false), we hardcode + // if (m_textView) + // return [m_textView canBecomeKeyView]; + return true; +} + wxString wxNSTextViewControl::GetStringValue() const { if (m_textView)