From: Stefan Csomor Date: Wed, 16 Mar 2011 10:55:30 +0000 (+0000) Subject: calling explicit base class constructor from copy constructor X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/e71baaa811cc631619cb9adc12ab517f644aef72?ds=sidebyside;hp=6485c8d7fbede5752cd3f763d0d5ccf9b0b51f2e calling explicit base class constructor from copy constructor git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@67215 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/include/wx/osx/core/private/strconv_cf.h b/include/wx/osx/core/private/strconv_cf.h index 1c49cc3919..a295528576 100644 --- a/include/wx/osx/core/private/strconv_cf.h +++ b/include/wx/osx/core/private/strconv_cf.h @@ -295,7 +295,7 @@ public: Init(CFStringGetSystemEncoding()) ; } - wxMBConv_cf(const wxMBConv_cf& conv) + wxMBConv_cf(const wxMBConv_cf& conv) : wxMBConv() { m_encoding = conv.m_encoding; } diff --git a/include/wx/valnum.h b/include/wx/valnum.h index 19320248e4..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; }