corrections for theme brush alignments under X (no more SetOrigin calls)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13223 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -497,7 +497,6 @@ OSErr UMASetKeyboardFocus (WindowPtr inWindow,
|
||||
|
||||
SetPortWindowPort( inWindow ) ;
|
||||
|
||||
SetOrigin( 0 , 0 ) ;
|
||||
err = SetKeyboardFocus( inWindow , inControl , inPart ) ;
|
||||
SetPort( port ) ;
|
||||
return err ;
|
||||
@@ -549,7 +548,6 @@ void UMAHighlightAndActivateWindow( WindowRef inWindowRef , bool inActivate )
|
||||
GrafPtr port ;
|
||||
GetPort( &port ) ;
|
||||
SetPortWindowPort( inWindowRef ) ;
|
||||
SetOrigin( 0 , 0 ) ;
|
||||
HiliteWindow( inWindowRef , inActivate ) ;
|
||||
ControlHandle control = NULL ;
|
||||
::GetRootControl( inWindowRef , & control ) ;
|
||||
|
Reference in New Issue
Block a user