]> git.saurik.com Git - wxWidgets.git/commitdiff
fix gcc warnings about not calling the base class ctors (replaces patch 1962992)
authorVadim Zeitlin <vadim@wxwidgets.org>
Sat, 17 May 2008 23:14:25 +0000 (23:14 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Sat, 17 May 2008 23:14:25 +0000 (23:14 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53631 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

include/wx/dataview.h
src/msw/palette.cpp

index f185c94c931874c331a2b3e2ed623529ad47bf1d..7928171e71c3643d11dbc18493608b0f92818a1d 100644 (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; }
index 570f4d96c80a117a27f5f24ea9d3cd06580385a4..800db50b2c802991908ddaf6cddb7b127ffb0ecb 100644 (file)
@@ -55,6 +55,7 @@ public:
     }
 
     wxPaletteRefData(const wxPaletteRefData& data)
+        : wxGDIRefData()
     {
         Init();