]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/zstream.cpp
* Fixed two memory leaks.
[wxWidgets.git] / src / common / zstream.cpp
index dc4596f837ff2b925d1780edb4e2e1ae1f0cf9b1..569401fdce270be46585d399fa83e7ee8916ee41 100644 (file)
@@ -17,6 +17,7 @@
 #include <wx/stream.h>
 #include <wx/zstream.h>
 #include <wx/utils.h>
+#include <wx/intl.h>
 #include "../zlib/zlib.h"   // don't change this, Robert
 
 #ifdef __BORLANDC__
@@ -130,8 +131,8 @@ wxZlibOutputStream::~wxZlibOutputStream()
 
   err = deflate(&m_deflate, Z_FINISH);
   if (err != Z_STREAM_END) {
-    wxDebugMsg("wxZlibOutputStream: an error occured while we was closing "
-               "the stream.\n");
+    wxDebugMsg(_("wxZlibOutputStream: an error occured while we was closing "
+               "the stream.\n"));
     return;
   }