Avoid -Wdouble-promotion warnings in headers

This commit is contained in:
Paul Cornett
2020-07-20 08:12:02 -07:00
parent 516aed372b
commit de7ab5527b
5 changed files with 13 additions and 11 deletions

View File

@@ -279,7 +279,7 @@ class wxGraphicsGradientStop
{
public:
wxGraphicsGradientStop(wxColour col = wxTransparentColour,
float pos = 0.)
float pos = 0.0f)
: m_col(col),
m_pos(pos)
{