git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@50280 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Stefan Csomor
2007-11-27 16:38:44 +00:00
parent d2d8b4db08
commit a452d0827a

View 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 ;