added wxTempFile::Flush() (dedicated to Theodore Ts'o and Ext4)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60830 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -197,6 +197,10 @@ public:
|
||||
bool Write(const wxString& str, const wxMBConv& conv = wxMBConvUTF8())
|
||||
{ return m_file.Write(str, conv); }
|
||||
|
||||
// flush data: can be called before closing file to ensure that data was
|
||||
// correctly written out
|
||||
bool Flush() { return m_file.Flush(); }
|
||||
|
||||
// different ways to close the file
|
||||
// validate changes and delete the old file of name m_strName
|
||||
bool Commit();
|
||||
|
Reference in New Issue
Block a user