wxCommandProcessor::IsDirty() issue when not saved and undone all commands
|Reported by:||neilc||Owned by:|
Having not saved (!m_lastSavedCommand) and undone all commands (!m_currentCommand) wxCommandProcessor::IsDirty() still returns true - I'd expect this to return false since the wxCommandProcessor should be have undone back to a non-dirty state.
I've attached a patch. Note though that the initial m_commands.empty() test is now redundant - shall I create a new patch with that deleted too?