calling explicit base class constructor from copy constructor

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@67216 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Stefan Csomor
2011-03-16 10:56:41 +00:00
parent e71baaa811
commit ea2807a4c4
4 changed files with 5 additions and 5 deletions

View File

@@ -255,7 +255,7 @@ void wxBitmapRefData::Init()
m_hasAlpha = false;
}
wxBitmapRefData::wxBitmapRefData(const wxBitmapRefData &tocopy)
wxBitmapRefData::wxBitmapRefData(const wxBitmapRefData &tocopy) : wxGDIRefData()
{
Init();
Create(tocopy.m_width, tocopy.m_height, tocopy.m_depth);
@@ -1531,7 +1531,7 @@ wxMask::wxMask()
Init() ;
}
wxMask::wxMask(const wxMask &tocopy)
wxMask::wxMask(const wxMask &tocopy) : wxObject()
{
Init();