tons of fixes for wxGTK/Univ - seems to work, more or less, now
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10805 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -766,10 +766,8 @@ wxCoord wxRegionIterator::GetH() const
|
||||
wxRect wxRegionIterator::GetRect() const
|
||||
{
|
||||
wxRect r;
|
||||
wxNode *node = m_region.GetRectList()->Nth( m_current );
|
||||
|
||||
if (node)
|
||||
r = *((wxRect*)node->Data());
|
||||
if( HaveRects() )
|
||||
r = ((wxRIRefData*)m_refData)->m_rects[m_current];
|
||||
|
||||
return r;
|
||||
}
|
||||
|
Reference in New Issue
Block a user