From b552efedfc6830859053361bb867ba0ae464814b Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Fri, 16 Feb 2018 15:57:05 +0100 Subject: [PATCH] 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 f897d9ed1a1d1c4cdce789ef0cd2963e199b4595 which added it). --- src/osx/cocoa/window.mm | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/osx/cocoa/window.mm b/src/osx/cocoa/window.mm index 2c2c3e48a6..3f261bbee4 100644 --- a/src/osx/cocoa/window.mm +++ b/src/osx/cocoa/window.mm @@ -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; }