fixed gcc warnings about not initializing the base class in copy ctor

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38605 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2006-04-06 17:11:25 +00:00
parent 402dfce7b3
commit 2e2cf78dc1
2 changed files with 3 additions and 2 deletions

View File

@@ -27,7 +27,7 @@ public:
// copy ctor doesn't initialize anything neither as conversion can only be
// deduced on first use
wxConvAuto(const wxConvAuto& WXUNUSED(other)) { m_conv = NULL; }
wxConvAuto(const wxConvAuto& WXUNUSED(other)) : wxMBConv() { m_conv = NULL; }
virtual ~wxConvAuto() { if ( m_conv && m_ownsConv ) delete m_conv; }