X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/dbc7ceb9250bcc2f856f87555f8f4273da31c148..d7d943a71cff6dda4888e7c5aa6a084d787ac843:/include/wx/toplevel.h diff --git a/include/wx/toplevel.h b/include/wx/toplevel.h index 93490abc3c..53213dd885 100644 --- a/include/wx/toplevel.h +++ b/include/wx/toplevel.h @@ -256,6 +256,9 @@ public: // a different API for SetSizeHints virtual void SetMinSize(const wxSize& minSize); virtual void SetMaxSize(const wxSize& maxSize); + + virtual void SetModified(bool modified) { m_modified = modified; } + virtual bool GetModified() const { return m_modified; } protected: // the frame client to screen translation should take account of the @@ -304,6 +307,8 @@ protected: // a temporary override of m_winDefault, use the latter if NULL wxWindowRef m_winTmpDefault; + + bool m_modified; wxDECLARE_NO_COPY_CLASS(wxTopLevelWindowBase); DECLARE_EVENT_TABLE()