fixing iterator comparison
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@66513 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -677,7 +677,7 @@ void wxGCDCImpl::DoDrawSpline(const wxPointList *points)
|
|||||||
wxGraphicsPath path = m_graphicContext->CreatePath();
|
wxGraphicsPath path = m_graphicContext->CreatePath();
|
||||||
|
|
||||||
wxPointList::compatibility_iterator node = points->GetFirst();
|
wxPointList::compatibility_iterator node = points->GetFirst();
|
||||||
if (node == wxPointList::compatibility_iterator())
|
if ( !node )
|
||||||
// empty list
|
// empty list
|
||||||
return;
|
return;
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user