X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/df04f800b84a71e6f1f5020fa03c2831fa87e6f2..7a7fa93b0dd56b06325740cebc91f1156c18e30c:/include/wx/valnum.h diff --git a/include/wx/valnum.h b/include/wx/valnum.h index 0385c9f9ad..2fbfe607b8 100644 --- a/include/wx/valnum.h +++ b/include/wx/valnum.h @@ -49,7 +49,7 @@ protected: m_style = style; } - wxNumValidatorBase(const wxNumValidatorBase& other) + wxNumValidatorBase(const wxNumValidatorBase& other) : wxValidator() { m_style = other.m_style; } @@ -409,7 +409,7 @@ public: { DoSetMinMax(); - SetPrecision(std::numeric_limits::digits10); + this->SetPrecision(std::numeric_limits::digits10); } // Ctor specifying an explicit precision.