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