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:
parent
838dd956a4
commit
d7b3a73d07
@ -73,6 +73,8 @@ public:
|
||||
void SetDocumentName(const wxString& name) { m_documentTypeName = name; }
|
||||
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; }
|
||||
void SetDocumentSaved(bool saved = true) { m_savedYet = saved; }
|
||||
|
||||
|
@ -1043,6 +1043,13 @@ public:
|
||||
*/
|
||||
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.
|
||||
*/
|
||||
|
Loading…
Reference in New Issue
Block a user