X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/53a2db124c633f80bdb16336084262037d879a2c..11e3c6ef36393fb5863ea2f9601d8facd73acb12:/include/wx/cmdproc.h?ds=sidebyside diff --git a/include/wx/cmdproc.h b/include/wx/cmdproc.h index cba83770dd..4fa3e34c19 100644 --- a/include/wx/cmdproc.h +++ b/include/wx/cmdproc.h @@ -97,10 +97,7 @@ public: virtual void ClearCommands(); // Has the current project been changed? - virtual bool IsDirty() const - { - return m_currentCommand && (m_lastSavedCommand != m_currentCommand); - } + virtual bool IsDirty() const; // Mark the current command as the one where the last save took place void MarkAsSaved() @@ -137,7 +134,7 @@ protected: private: DECLARE_DYNAMIC_CLASS(wxCommandProcessor) - DECLARE_NO_COPY_CLASS(wxCommandProcessor) + wxDECLARE_NO_COPY_CLASS(wxCommandProcessor); }; #endif // _WX_CMDPROC_H_