]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/dc.cpp
Implement wxChoice::Insert.
[wxWidgets.git] / src / msw / dc.cpp
index f126f133d243f27421a5f20f66d82dadc16678c3..74960b6ef4904852a8e6da2709c8c7d524adcea0 100644 (file)
 // headers
 // ---------------------------------------------------------------------------
 
-#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
-    #pragma implementation "dc.h"
-#endif
-
 // For compilers that support precompilation, includes "wx.h".
 #include "wx/wxprec.h"
 
@@ -1003,7 +999,7 @@ void wxDC::DoDrawSpline(wxList *points)
     wxASSERT_MSG( points, wxT("NULL pointer to spline points?") );
 
     const size_t n_points = points->GetCount();
-    wxASSERT_MSG( n > 2 , wxT("incomplete list of spline points?") );
+    wxASSERT_MSG( n_points > 2 , wxT("incomplete list of spline points?") );
 
     const size_t n_bezier_points = n_points * 3 + 1;
     POINT *lppt = (POINT *)malloc(n_bezier_points*sizeof(POINT));