]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/intl.cpp
add wxGenericStaticText (#9656)
[wxWidgets.git] / src / common / intl.cpp
index 250ee8443c9a478e51c3f7157b8203f32cabbca9..1fd767a47ffdd7101a7602d391ad0ec346d45460 100644 (file)
@@ -1263,6 +1263,8 @@ bool wxMsgCatalogFile::Load(const wxString& szDirPrefix, const wxString& szName,
   // read the whole file in memory
   if ( fileMsg.Read(m_data.GetWriteBuf(nSize), nSize) != lenFile )
     return false;
+
+  m_data.UngetWriteBuf(nSize);
 #endif // wxUSE_FILESYSTEM/!wxUSE_FILESYSTEM