From 4f2718147f883ce400014bcfe62e89c3aaeacef1 Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Sat, 17 May 2008 23:14:25 +0000 Subject: [PATCH] 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 --- include/wx/dataview.h | 1 + src/msw/palette.cpp | 1 + 2 files changed, 2 insertions(+) diff --git a/include/wx/dataview.h b/include/wx/dataview.h index f185c94c93..7928171e71 100644 --- a/include/wx/dataview.h +++ b/include/wx/dataview.h @@ -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; } diff --git a/src/msw/palette.cpp b/src/msw/palette.cpp index 570f4d96c8..800db50b2c 100644 --- a/src/msw/palette.cpp +++ b/src/msw/palette.cpp @@ -55,6 +55,7 @@ public: } wxPaletteRefData(const wxPaletteRefData& data) + : wxGDIRefData() { Init(); -- 2.45.2