X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/0c5d3e1ccd1d27ab0cf913ddbffb1b54b5802f3a..695237bccd652c60deba347117ba5ab32067880c:/include/wx/docview.h diff --git a/include/wx/docview.h b/include/wx/docview.h index 3a11b7b5c5..39854b9847 100644 --- a/include/wx/docview.h +++ b/include/wx/docview.h @@ -375,6 +375,9 @@ public: virtual void FileHistoryAddFilesToMenu(); virtual void FileHistoryAddFilesToMenu(wxMenu* menu); + inline wxString GetLastDirectory() const { return m_lastDirectory; } + inline void SetLastDirectory(const wxString& dir) { m_lastDirectory = dir; } + protected: long m_flags; int m_defaultDocumentNameCounter; @@ -383,6 +386,7 @@ protected: wxList m_templates; wxView* m_currentView; wxFileHistory* m_fileHistory; + wxString m_lastDirectory; DECLARE_EVENT_TABLE() };