]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/convauto.h
added wxMenu::AppendSubMenu() to avoid having to specify a dummy id when adding a...
[wxWidgets.git] / include / wx / convauto.h
index 1e32c72c070a0d7d0317757cd2370172ebe91c67..89682525ef4bb61dac3207cde4fa72537f5896a5 100644 (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; }