]> git.saurik.com Git - wxWidgets.git/commit
Don't reset m_fp if wxFFile::Open() fails.
authorVadim Zeitlin <vadim@wxwidgets.org>
Thu, 12 Sep 2013 20:49:18 +0000 (20:49 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Thu, 12 Sep 2013 20:49:18 +0000 (20:49 +0000)
commit6ad62591bed5ad97dfcd2e222a540219db9b7542
treef8a8af740eef61619c179c6e8d42822ab4fc1f60
parent37961915e744635f655f8fb6d5f3fe1d851ebb2a
Don't reset m_fp if wxFFile::Open() fails.

This makes it behaviour consistent with wxFile::Open().

Also don't use Detach() in Close(), again for consistency with wxFile, even if
this has no user-visible effects at all.

See #15494.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@74799 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
src/common/ffile.cpp