X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/886dd7d28e50c003cc88b81b968d487a3c17b0d7..174b10af3488cc926c5f0336db457f125a506f51:/include/wx/textfile.h diff --git a/include/wx/textfile.h b/include/wx/textfile.h index 8da6e31ffa..a898f11543 100644 --- a/include/wx/textfile.h +++ b/include/wx/textfile.h @@ -14,7 +14,7 @@ #ifndef _WX_TEXTFILE_H #define _WX_TEXTFILE_H -#if defined(__GNUG__) && !defined(__APPLE__) +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "textfile.h" #endif @@ -30,7 +30,7 @@ // wxTextFile // ---------------------------------------------------------------------------- -class WXDLLEXPORT_BASE wxTextFile : public wxTextBuffer +class WXDLLIMPEXP_BASE wxTextFile : public wxTextBuffer { public: // constructors @@ -47,7 +47,10 @@ protected: virtual bool OnWrite(wxTextFileType typeNew, wxMBConv& conv); private: + wxFile m_file; + + DECLARE_NO_COPY_CLASS(wxTextFile) }; #else // !wxUSE_TEXTFILE