diff --git a/include/wx/valnum.h b/include/wx/valnum.h index 540f9d6b82..f4436cb027 100644 --- a/include/wx/valnum.h +++ b/include/wx/valnum.h @@ -56,7 +56,7 @@ protected: m_style = style; } - wxNumValidatorBase(const wxNumValidatorBase& other) : wxValidator() + wxNumValidatorBase(const wxNumValidatorBase& other) : wxValidator(other) { m_style = other.m_style; }