From 1f919f38c80cd29a1852afaa5f9e1a135f6c5d96 Mon Sep 17 00:00:00 2001 From: Stefan Csomor Date: Sat, 5 Jun 2004 16:16:23 +0000 Subject: [PATCH] SetParam should be explicit git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27649 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/mac/carbon/toplevel.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mac/carbon/toplevel.cpp b/src/mac/carbon/toplevel.cpp index 3d08481561..1770e2a08c 100644 --- a/src/mac/carbon/toplevel.cpp +++ b/src/mac/carbon/toplevel.cpp @@ -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( kEventParamCurrentBounds , &adjustedRect ) ; } result = noErr ;