fixing focus, fixes #11911
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@63902 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -323,11 +323,10 @@ wxNSTextViewControl::~wxNSTextViewControl()
|
|||||||
|
|
||||||
bool wxNSTextViewControl::CanFocus() const
|
bool wxNSTextViewControl::CanFocus() const
|
||||||
{
|
{
|
||||||
// we need to override so that we don't return the CanFocus value of
|
// since this doesn't work (return false), we hardcode
|
||||||
// the text view's overriding scroll view.
|
// if (m_textView)
|
||||||
if (m_textView)
|
// return [m_textView canBecomeKeyView];
|
||||||
return [m_textView canBecomeKeyView];
|
return true;
|
||||||
return false;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
wxString wxNSTextViewControl::GetStringValue() const
|
wxString wxNSTextViewControl::GetStringValue() const
|
||||||
|
Reference in New Issue
Block a user