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:
Stefan Neis 2003-10-27 08:04:25 +00:00
parent 921176c5e4
commit 0b483d6eef

View File

@ -629,6 +629,7 @@ void wxRegionIterator::Reset(
)
{
m_lCurrent = 0;
m_lNumRects = 0;
m_vRegion = rRegion;
if (m_pRects)