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

@@ -239,7 +239,7 @@ wxCursorRefData::wxCursorRefData()
#endif #endif
} }
wxCursorRefData::wxCursorRefData(const wxCursorRefData& cursor) wxCursorRefData::wxCursorRefData(const wxCursorRefData& cursor) : wxGDIRefData()
{ {
m_hCursor = NULL; m_hCursor = NULL;

View File

@@ -175,7 +175,7 @@ public:
#define M_FONTDATA ((wxFontRefData*)m_refData) #define M_FONTDATA ((wxFontRefData*)m_refData)
wxFontRefData::wxFontRefData(const wxFontRefData& data) wxFontRefData::wxFontRefData(const wxFontRefData& data) : wxGDIRefData()
{ {
Init(); Init();
m_info = data.m_info; m_info = data.m_info;

View File

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

View File

@@ -46,7 +46,7 @@ wxPaletteRefData::wxPaletteRefData()
m_count = 0; m_count = 0;
} }
wxPaletteRefData::wxPaletteRefData(const wxPaletteRefData& data) wxPaletteRefData::wxPaletteRefData(const wxPaletteRefData& data) : wxGDIRefData()
{ {
m_count = data.m_count; m_count = data.m_count;
m_palette = new wxColour[m_count]; m_palette = new wxColour[m_count];