git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46537
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
\membersection{wxFFileInputStream::wxFFileInputStream}\label{wxffileinputstreamctor}
\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.
Opens the specified file using its {\it filename} name using the specified mode.
\membersection{wxFFileOutputStream::wxFFileOutputStream}\label{wxffileoutputstreamctor}
\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.
Opens the file with the given {\it filename} name in the specified mode.
class WXDLLIMPEXP_BASE wxFFileInputStream : public wxInputStream
{
public:
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();
wxFFileInputStream(wxFFile& file);
wxFFileInputStream(FILE *file);
virtual ~wxFFileInputStream();
class WXDLLIMPEXP_BASE wxFFileOutputStream : public wxOutputStream
{
public:
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();
wxFFileOutputStream(wxFFile& file);
wxFFileOutputStream(FILE *file);
virtual ~wxFFileOutputStream();
// ----------------------------------------------------------------------------
wxFFileInputStream::wxFFileInputStream(const wxString& fileName,
// ----------------------------------------------------------------------------
wxFFileInputStream::wxFFileInputStream(const wxString& fileName,
: wxInputStream()
{
m_file = new wxFFile(fileName, mode);
: wxInputStream()
{
m_file = new wxFFile(fileName, mode);
// ----------------------------------------------------------------------------
wxFFileOutputStream::wxFFileOutputStream(const wxString& fileName,
// ----------------------------------------------------------------------------
wxFFileOutputStream::wxFFileOutputStream(const wxString& fileName,
{
m_file = new wxFFile(fileName, mode);
m_file_destroy = true;
{
m_file = new wxFFile(fileName, mode);
m_file_destroy = true;