From 0a704d3973860dac9e70460929d956e06703ac20 Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Sat, 4 Nov 2006 11:16:03 +0000 Subject: [PATCH] call base class ctor in copy ctors explicitly (fixes gcc warnings with -Wextra) git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43020 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/common/tarstrm.cpp | 3 ++- src/msw/bitmap.cpp | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/src/common/tarstrm.cpp b/src/common/tarstrm.cpp index f26ab00422..398d7fffeb 100644 --- a/src/common/tarstrm.cpp +++ b/src/common/tarstrm.cpp @@ -414,7 +414,8 @@ wxTarEntry::~wxTarEntry() } wxTarEntry::wxTarEntry(const wxTarEntry& e) - : m_Name(e.m_Name), + : wxArchiveEntry(), + m_Name(e.m_Name), m_Mode(e.m_Mode), m_IsModeSet(e.m_IsModeSet), m_UserId(e.m_UserId), diff --git a/src/msw/bitmap.cpp b/src/msw/bitmap.cpp index 20a2aa22b9..e2a27b4aca 100644 --- a/src/msw/bitmap.cpp +++ b/src/msw/bitmap.cpp @@ -1347,6 +1347,7 @@ wxMask::wxMask() // Copy constructor wxMask::wxMask(const wxMask &mask) + : wxObject() { BITMAP bmp;