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:
@@ -239,7 +239,7 @@ wxCursorRefData::wxCursorRefData()
|
||||
#endif
|
||||
}
|
||||
|
||||
wxCursorRefData::wxCursorRefData(const wxCursorRefData& cursor)
|
||||
wxCursorRefData::wxCursorRefData(const wxCursorRefData& cursor) : wxGDIRefData()
|
||||
{
|
||||
m_hCursor = NULL;
|
||||
|
||||
|
@@ -175,7 +175,7 @@ public:
|
||||
|
||||
#define M_FONTDATA ((wxFontRefData*)m_refData)
|
||||
|
||||
wxFontRefData::wxFontRefData(const wxFontRefData& data)
|
||||
wxFontRefData::wxFontRefData(const wxFontRefData& data) : wxGDIRefData()
|
||||
{
|
||||
Init();
|
||||
m_info = data.m_info;
|
||||
|
@@ -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();
|
||||
|
||||
|
@@ -46,7 +46,7 @@ wxPaletteRefData::wxPaletteRefData()
|
||||
m_count = 0;
|
||||
}
|
||||
|
||||
wxPaletteRefData::wxPaletteRefData(const wxPaletteRefData& data)
|
||||
wxPaletteRefData::wxPaletteRefData(const wxPaletteRefData& data) : wxGDIRefData()
|
||||
{
|
||||
m_count = data.m_count;
|
||||
m_palette = new wxColour[m_count];
|
||||
|
Reference in New Issue
Block a user