added wxDocument::AlreadySaved() and use it in OnUpdateFileSave() to ensure that...
authorVadim Zeitlin <vadim@wxwidgets.org>
Wed, 29 Oct 2008 16:23:25 +0000 (16:23 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Wed, 29 Oct 2008 16:23:25 +0000 (16:23 +0000)
commitde56f24082e4b66dada7bfe4033e1ef7328052ca
tree1730c30bc6a9acc3e608cea27de7b9f699c9203b
parentd7b3a73d0717f12c9045916f903bc13833a6183e
added wxDocument::AlreadySaved() and use it in OnUpdateFileSave() to ensure that the "Save" menu item is enabled for new documents, even although they're not modified yet (otherwise the standard Ctrl-S key doesn't work in this case which is pretty annoying)

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