]> git.saurik.com Git - wxWidgets.git/blobdiff - src/mac/carbon/window.cpp
porting forward scrolling fix
[wxWidgets.git] / src / mac / carbon / window.cpp
index 766257f0a18cdd99e93fd3b0f54332e3b7f44331..ad5767ee5d8e83231df90bce8a8ad1addf71c9e3 100644 (file)
@@ -190,7 +190,7 @@ static pascal OSStatus wxMacWindowControlEventHandler( EventHandlerCallRef handl
 
                 if ( cEvent.GetParameter<RgnHandle>(kEventParamRgnHandle, &updateRgn) != noErr )
                 {
-                    updateRgn = (RgnHandle) visRegion.GetWXHRGN() ;
+                    HIShapeGetAsQDRgn( visRegion.GetWXHRGN(), updateRgn );
                 }
                 else
                 {