SetParam should be explicit
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27649 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
6bba4b8a13
commit
1f919f38c8
@ -629,7 +629,7 @@ static pascal OSStatus wxMacTopLevelWindowEventHandler( EventHandlerCallRef hand
|
||||
adjustR.SetHeight( toplevelWindow->GetMinHeight() ) ;
|
||||
const Rect adjustedRect = { adjustR.y + top , adjustR.x + left , adjustR.y + adjustR.height - bottom , adjustR.x + adjustR.width - right } ;
|
||||
if ( !EqualRect( &newRect , &adjustedRect ) )
|
||||
cEvent.SetParameter( kEventParamCurrentBounds , adjustedRect ) ;
|
||||
cEvent.SetParameter<Rect>( kEventParamCurrentBounds , &adjustedRect ) ;
|
||||
}
|
||||
|
||||
result = noErr ;
|
||||
|
Loading…
Reference in New Issue
Block a user