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:
@@ -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();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user