git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@50280
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
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 ;