]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/dcgraph.cpp
wxMSW compilation fix for wxCompositeWindow.
[wxWidgets.git] / src / common / dcgraph.cpp
index 9206732e715a1a4312ba7dbf29fea1580d073ed7..9a48f94a7583d368459178da312c3475fb82a63a 100644 (file)
@@ -677,7 +677,7 @@ void wxGCDCImpl::DoDrawSpline(const wxPointList *points)
     wxGraphicsPath path = m_graphicContext->CreatePath();
 
     wxPointList::compatibility_iterator node = points->GetFirst();
-    if (node == wxPointList::compatibility_iterator())
+    if ( !node )
         // empty list
         return;