cleanup
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@50280 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -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 ;
|
||||
|
Reference in New Issue
Block a user