otherwise we always just fix rect at index 0 ...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33906 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -428,7 +428,7 @@ OSStatus wxMacRegionToRectsSetterCallback (
|
||||
if (message == kQDRegionToRectsMsgParse)
|
||||
{
|
||||
RegionToRectsCallbackData *cb = (RegionToRectsCallbackData*) data ;
|
||||
cb->m_rects[cb->m_current] = wxRect( rect->left , rect->top , rect->right - rect->left , rect->bottom - rect->top ) ;
|
||||
cb->m_rects[cb->m_current++] = wxRect( rect->left , rect->top , rect->right - rect->left , rect->bottom - rect->top ) ;
|
||||
}
|
||||
return noErr;
|
||||
}
|
||||
|
Reference in New Issue
Block a user