projects
/
wxWidgets.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Added DECLARE/IMLEMENT_CLASS for wxToolBarBase
[wxWidgets.git]
/
include
/
wx
/
textfile.h
diff --git
a/include/wx/textfile.h
b/include/wx/textfile.h
index 84042ca0196f6f3591b36d626355044830513f9a..0f9ec816a3ef187cb79354c901a6fae221d792fc 100644
(file)
--- a/
include/wx/textfile.h
+++ b/
include/wx/textfile.h
@@
-45,7
+45,7
@@
enum wxTextFileType
wxTextFileType_Os2 // 'CR' 'LF'
};
wxTextFileType_Os2 // 'CR' 'LF'
};
-WX_DEFINE_ARRAY(wxTextFileType, ArrayFileType);
+WX_DEFINE_
EXPORTED_
ARRAY(wxTextFileType, ArrayFileType);
class WXDLLEXPORT wxTextFile
{
class WXDLLEXPORT wxTextFile
{
@@
-73,6
+73,10
@@
public:
// file operations
// file exists?
bool Exists() const;
// 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
// Open() also loads file in memory on success
bool Open();
// same as Open() but with (another) file name