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:
parent
402dfce7b3
commit
2e2cf78dc1
@ -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; }
|
||||
|
||||
|
@ -191,7 +191,8 @@ class WXDLLIMPEXP_BASE wxConvBrokenFileNames : public wxMBConv
|
||||
public:
|
||||
wxConvBrokenFileNames(const wxChar *charset);
|
||||
wxConvBrokenFileNames(const wxConvBrokenFileNames& conv)
|
||||
: m_conv(conv.m_conv ? conv.m_conv->Clone() : NULL)
|
||||
: wxMBConv(),
|
||||
m_conv(conv.m_conv ? conv.m_conv->Clone() : NULL)
|
||||
{
|
||||
}
|
||||
virtual ~wxConvBrokenFileNames() { delete m_conv; }
|
||||
|
Loading…
Reference in New Issue
Block a user