]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/memtext.h
fixed memory leak in wxXmlResource introduced when fixing wxVector<> usage (patch...
[wxWidgets.git] / include / wx / memtext.h
index a093f40b040c5e305248e62e57d11b0344dfbba0..23b7de18d316574a307a49e6d26b15d10edce2c0 100644 (file)
@@ -41,7 +41,7 @@ protected:
         { return true; }
 
     virtual bool OnWrite(wxTextFileType WXUNUSED(typeNew),
-                         const wxMBConv& WXUNUSED(conv) = wxConvUTF8)
+                         const wxMBConv& WXUNUSED(conv) = wxMBConvUTF8())
         { return true; }
 
 private: