Added LoadFile and SaveFile methods

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20762 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robin Dunn
2003-05-29 23:50:21 +00:00
parent feddd867de
commit 51566b0bc9
8 changed files with 188 additions and 4 deletions

View File

@@ -2161,6 +2161,12 @@ public:
bool GetLastKeydownProcessed() { return m_lastKeyDownConsumed; }
void SetLastKeydownProcessed(bool val) { m_lastKeyDownConsumed = val; }
// Write the contents of the editor to filename
bool SaveFile(const wxString& filename);
// Load the contents of filename into the editor
bool LoadFile(const wxString& filename);
//----------------------------------------------------------------------