]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/graphics.h
Add documentation for several grid cell renderer/editor classes.
[wxWidgets.git] / include / wx / graphics.h
index 87669dfc7a4036f0aa8beeb79064d508208bc2ff..915cbfd4e197e07ebc6ae6a412e64216070333e8 100644 (file)
@@ -349,8 +349,8 @@ public:
     {
         // we can't use Add() here as it relies on having start/end stops as
         // first/last array elements so do it manually
-        m_stops.push_back(wxGraphicsGradientStop(startCol, 0.));
-        m_stops.push_back(wxGraphicsGradientStop(endCol, 1.));
+        m_stops.push_back(wxGraphicsGradientStop(startCol, 0.f));
+        m_stops.push_back(wxGraphicsGradientStop(endCol, 1.f));
     }
 
     // default copy ctor, assignment operator and dtor are ok for this class