From: Stefan Csomor Date: Tue, 27 Nov 2007 16:38:44 +0000 (+0000) Subject: cleanup X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/a452d0827abfc42adde0c3502d5dc495ef6a3f16 cleanup git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@50280 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/src/mac/carbon/uma.cpp b/src/mac/carbon/uma.cpp index 44c4420293..b973506464 100644 --- a/src/mac/carbon/uma.cpp +++ b/src/mac/carbon/uma.cpp @@ -429,27 +429,6 @@ void UMAHideControl( ControlRef inControl ) HIViewSetNeedsDisplay( inControl, true ); } -// keyboard focus -OSErr UMASetKeyboardFocus( WindowPtr inWindow, - ControlRef inControl, - ControlFocusPart inPart ) -{ - OSErr err = noErr; -#ifndef __LP64__ - GrafPtr port ; - - GetPort( &port ) ; - SetPortWindowPort( inWindow ) ; -#endif - - err = SetKeyboardFocus( inWindow , inControl , inPart ) ; -#ifndef __LP64__ - SetPort( port ) ; -#endif - - return err ; -} - bool UMAIsWindowFloating( WindowRef inWindow ) { WindowClass cl ;