don't call neither OnSaveModified() nor Modify(false) from On{New,Open}Document(...
authorVadim Zeitlin <vadim@wxwidgets.org>
Mon, 9 Mar 2009 18:13:04 +0000 (18:13 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Mon, 9 Mar 2009 18:13:04 +0000 (18:13 +0000)
commit0b108d1006326e32f6734ef5c179b7ee7fa453e2
treeb084142b5161440ab030a2d2dd875cafb9db12c1
parentde8fe8ca3db62aa69a00f9547367c223ba59a23e
don't call neither OnSaveModified() nor Modify(false) from On{New,Open}Document(): these methods are only ever called for the new wxDocument object which should never be saved, even if they're marked as modified by the user-defined document creation code

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