X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/2028c33ab5a39a12bd410ac953731a56ad6377ba..db890987c6b04da48b0f4b2523c74aa4227bc04a:/include/wx/graphics.h diff --git a/include/wx/graphics.h b/include/wx/graphics.h index 87669dfc7a..915cbfd4e1 100644 --- a/include/wx/graphics.h +++ b/include/wx/graphics.h @@ -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