]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/convauto.h
use (new) wxAcceleratorEntry::Create() instead of recently deprecated wxGetAccelFromS...
[wxWidgets.git] / include / wx / convauto.h
index 1e32c72c070a0d7d0317757cd2370172ebe91c67..fcd26532e9d79b43edc466389bfe39bc491c21e7 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; }
 
@@ -92,7 +92,7 @@ private:
     bool m_consumedBOM;
 
 
-    DECLARE_NO_ASSIGN_CLASS(wxConvAuto);
+    DECLARE_NO_ASSIGN_CLASS(wxConvAuto)
 };
 
 #endif // wxUSE_WCHAR_T