document wxDocument::GetDocumentSaved()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56580 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -73,6 +73,8 @@ public:
|
|||||||
void SetDocumentName(const wxString& name) { m_documentTypeName = name; }
|
void SetDocumentName(const wxString& name) { m_documentTypeName = name; }
|
||||||
wxString GetDocumentName() const { return m_documentTypeName; }
|
wxString GetDocumentName() const { return m_documentTypeName; }
|
||||||
|
|
||||||
|
// access the flag indicating whether this document had been already saved,
|
||||||
|
// SetDocumentSaved() is only used internally, don't call it
|
||||||
bool GetDocumentSaved() const { return m_savedYet; }
|
bool GetDocumentSaved() const { return m_savedYet; }
|
||||||
void SetDocumentSaved(bool saved = true) { m_savedYet = saved; }
|
void SetDocumentSaved(bool saved = true) { m_savedYet = saved; }
|
||||||
|
|
||||||
|
@@ -1043,6 +1043,13 @@ public:
|
|||||||
*/
|
*/
|
||||||
wxString GetDocumentName() const;
|
wxString GetDocumentName() const;
|
||||||
|
|
||||||
|
/**
|
||||||
|
Return true if this document had been already saved.
|
||||||
|
|
||||||
|
@see IsModified()
|
||||||
|
*/
|
||||||
|
bool GetDocumentSaved() const;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
Gets a pointer to the template that created the document.
|
Gets a pointer to the template that created the document.
|
||||||
*/
|
*/
|
||||||
|
Reference in New Issue
Block a user