added wxMBConv parameter for wxFFile::ReadAll() and documented it (improved patch 1041642)

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32187 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2005-02-19 15:53:04 +00:00
parent b2f3b00bd2
commit 3e15dde396
4 changed files with 29 additions and 18 deletions

View File

@@ -60,7 +60,7 @@ public:
// read/write (unbuffered)
// read all data from the file into a string (useful for text files)
bool ReadAll(wxString *str);
bool ReadAll(wxString *str, wxMBConv& conv = wxConvUTF8);
// returns number of bytes read - use Eof() and Error() to see if an error
// occured or not
size_t Read(void *pBuf, size_t nCount);