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
This commit is contained in:
Stefan Csomor 2011-03-16 10:55:30 +00:00
parent 6485c8d7fb
commit e71baaa811
2 changed files with 2 additions and 2 deletions

View File

@ -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;
}

View File

@ -49,7 +49,7 @@ protected:
m_style = style;
}
wxNumValidatorBase(const wxNumValidatorBase& other)
wxNumValidatorBase(const wxNumValidatorBase& other) : wxValidator()
{
m_style = other.m_style;
}