X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/df04f800b84a71e6f1f5020fa03c2831fa87e6f2..51623cc53f350935337e57930eaaf1afe9a48c3b:/include/wx/valnum.h?ds=sidebyside 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.