X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/a497618a568bfdd1059e3f51b560a98fd25b1003..480b3580638bdc574a8f98605557c6d552fa7689:/include/wx/textfile.h diff --git a/include/wx/textfile.h b/include/wx/textfile.h index 6c617bb624..0f9ec816a3 100644 --- a/include/wx/textfile.h +++ b/include/wx/textfile.h @@ -73,6 +73,10 @@ public: // file operations // file exists? bool Exists() const; + // create the file if it doesn't already exist + bool Create(); + // same as Create() but with (another) file name + bool Create(const wxString& strFile); // Open() also loads file in memory on success bool Open(); // same as Open() but with (another) file name