]> git.saurik.com Git - wxWidgets.git/commitdiff
cleanup
authorStefan Csomor <csomor@advancedconcepts.ch>
Tue, 27 Nov 2007 16:38:44 +0000 (16:38 +0000)
committerStefan Csomor <csomor@advancedconcepts.ch>
Tue, 27 Nov 2007 16:38:44 +0000 (16:38 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@50280 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/mac/carbon/uma.cpp

index 44c44202937357e87d5813e7d8847dee33be35da..b9735064647566c111898f5fd484edb5d17d099c 100644 (file)
@@ -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 ;