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
This commit is contained in:
Vadim Zeitlin 2006-11-04 11:16:03 +00:00
parent 6e35d7ca0e
commit 0a704d3973
2 changed files with 3 additions and 1 deletions

View File

@ -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),

View File

@ -1347,6 +1347,7 @@ wxMask::wxMask()
// Copy constructor
wxMask::wxMask(const wxMask &mask)
: wxObject()
{
BITMAP bmp;