From 7d53220e14254fa813a65ca10c05d3ef71888764 Mon Sep 17 00:00:00 2001 From: Stefan Csomor Date: Wed, 14 Apr 2010 12:16:42 +0000 Subject: [PATCH] fixing constants to be of the expected parameter type (float instead of double) git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@63976 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- include/wx/graphics.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 -- 2.50.0