fix gcc warnings about not calling the base class ctors (replaces patch 1962992)

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53631 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin 2008-05-17 23:14:25 +00:00
parent 13e245c82a
commit 4f2718147f
2 changed files with 2 additions and 0 deletions

View File

@ -478,6 +478,7 @@ public:
: m_text(text), m_icon(icon)
{ }
wxDataViewIconText( const wxDataViewIconText &other )
: wxObject()
{ m_icon = other.m_icon; m_text = other.m_text; }
void SetText( const wxString &text ) { m_text = text; }

View File

@ -55,6 +55,7 @@ public:
}
wxPaletteRefData(const wxPaletteRefData& data)
: wxGDIRefData()
{
Init();