]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/dcgraph.cpp
Implement undo and redo for the ie and gtk webkit backends. Extend the sample to...
[wxWidgets.git] / src / common / dcgraph.cpp
index 32fc65a8dbc4b67a37d18e386fc9e8b42ea454ac..42f58a3721df4f1ad179ed2cec6dbbadc4450779 100644 (file)
@@ -59,7 +59,7 @@ static bool TranslateRasterOp(wxRasterOperationMode function, wxCompositionMode
     {
         case wxCOPY: // src
             // since we are supporting alpha, _OVER is closer to the intention than _SOURCE
-            // since the latter would overwrite even when alpha is is not set to opaque
+            // since the latter would overwrite even when alpha is not set to opaque
             *op = wxCOMPOSITION_OVER; 
             break;
         case wxOR:         // src OR dst
@@ -696,13 +696,13 @@ void wxGCDCImpl::DoDrawSpline(const wxPointList *points)
 
     path.MoveToPoint( x1 , y1 );
     path.AddLineToPoint( cx1 , cy1 );
-#if !wxUSE_STL
+#if !wxUSE_STD_CONTAINERS
 
     while ((node = node->GetNext()) != NULL)
 #else
 
     while ((node = node->GetNext()))
-#endif // !wxUSE_STL
+#endif // !wxUSE_STD_CONTAINERS
 
     {
         p = node->GetData();