]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/wxexpr.cpp
Added new wxFontDialog,
[wxWidgets.git] / src / common / wxexpr.cpp
index 08f4affcd73779f3dc011214bbfc4e1974ee2d65..951445a5955cf01ee8cc94c42c111b5ca9a0508c 100644 (file)
@@ -1031,7 +1031,9 @@ bool wxExprDatabase::Write(const wxString& fileName)
   if (!stream)
     return FALSE;
     
-  return Write(stream);
+  bool success = Write(stream);
+  fclose(stream);
+  return success;
 }
 
 bool wxExprDatabase::Write(FILE *stream)