1. wxFFile::Close() buglet fixed

2. wxLogTextCtrl doesn't use streams any more


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3008 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
1999-07-15 15:45:50 +00:00
parent 6a008b33c4
commit d2e1ef1928
3 changed files with 65 additions and 20 deletions

View File

@@ -74,7 +74,7 @@ bool wxFFile::Close()
{
if ( IsOpened() )
{
if ( !fclose(m_fp) )
if ( fclose(m_fp) != 0 )
{
wxLogSysError(_("can't close file '%s'"), m_name.c_str());