]> git.saurik.com Git - wxWidgets.git/commit - src/common/cmdproc.cpp
Fix wxCommandProcessor::IsDirty() result after undoing everything after save.
authorVadim Zeitlin <vadim@wxwidgets.org>
Wed, 25 Jan 2012 00:05:12 +0000 (00:05 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Wed, 25 Jan 2012 00:05:12 +0000 (00:05 +0000)
commit812a21486dea91fc81edce69655d28fc1fdff2c3
treeacf72521916ce5cf6a4553211e2b4e1a00e60d75
parentef20428e992975d27f38c8eeefa0f4c5006e7589
Fix wxCommandProcessor::IsDirty() result after undoing everything after save.

IsDirty() returned false when all commands were undone after saving even
though it clearly should have returned true in this case.

Fix this and add comments explaining what happens in this method.

Closes #2862.

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