Remove commented out line in wxOSX SetFocus()

No real changes, just remove a "TODO" comment as it seems it's safe to
do it after 5+ years (see f897d9ed1a which
added it).
This commit is contained in:
Vadim Zeitlin
2018-02-16 15:57:05 +01:00
parent 8577d9ddca
commit b552efedfc

View File

@@ -3045,8 +3045,6 @@ bool wxWidgetCocoaImpl::SetFocus()
if ( [m_osxView isKindOfClass:[NSScrollView class] ] )
targetView = [(NSScrollView*) m_osxView documentView];
// TODO remove if no issues arise: should not raise the window, only assign focus
//[[m_osxView window] makeKeyAndOrderFront:nil] ;
[[m_osxView window] makeFirstResponder: targetView] ;
return true;
}