Initialize m_lNumRects to avoid core dumps if GpiQueryRegionRects fails.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24324 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
921176c5e4
commit
0b483d6eef
@ -629,6 +629,7 @@ void wxRegionIterator::Reset(
|
||||
)
|
||||
{
|
||||
m_lCurrent = 0;
|
||||
m_lNumRects = 0;
|
||||
m_vRegion = rRegion;
|
||||
|
||||
if (m_pRects)
|
||||
|
Loading…
Reference in New Issue
Block a user