\membersection{wxFFileInputStream::wxFFileInputStream}\label{wxffileinputstreamctor}
-\func{}{wxFFileInputStream}{\param{const wxString\&}{ filename}, \param{const wxChar *}{ mode = "rb"}}
+\func{}{wxFFileInputStream}{\param{const wxString\&}{ filename}, \param{const wxString\&}{ mode = "rb"}}
Opens the specified file using its {\it filename} name using the specified mode.
\membersection{wxFFileOutputStream::wxFFileOutputStream}\label{wxffileoutputstreamctor}
-\func{}{wxFFileOutputStream}{\param{const wxString\&}{ filename}, \param{const wxChar *}{ mode="w+b"}}
+\func{}{wxFFileOutputStream}{\param{const wxString\&}{ filename}, \param{const wxString\&}{ mode="w+b"}}
Opens the file with the given {\it filename} name in the specified mode.
class WXDLLIMPEXP_BASE wxFFileInputStream : public wxInputStream
{
public:
- wxFFileInputStream(const wxString& fileName, const wxChar *mode = _T("rb"));
+ wxFFileInputStream(const wxString& fileName, const wxString& mode = "rb");
wxFFileInputStream(wxFFile& file);
wxFFileInputStream(FILE *file);
virtual ~wxFFileInputStream();
class WXDLLIMPEXP_BASE wxFFileOutputStream : public wxOutputStream
{
public:
- wxFFileOutputStream(const wxString& fileName, const wxChar *mode = _T("w+b"));
+ wxFFileOutputStream(const wxString& fileName, const wxString& mode = "w+b");
wxFFileOutputStream(wxFFile& file);
wxFFileOutputStream(FILE *file);
virtual ~wxFFileOutputStream();
// ----------------------------------------------------------------------------
wxFFileInputStream::wxFFileInputStream(const wxString& fileName,
- const wxChar *mode)
+ const wxString& mode)
: wxInputStream()
{
m_file = new wxFFile(fileName, mode);
// ----------------------------------------------------------------------------
wxFFileOutputStream::wxFFileOutputStream(const wxString& fileName,
- const wxChar *mode)
+ const wxString& mode)
{
m_file = new wxFFile(fileName, mode);
m_file_destroy = true;