X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/886dd7d28e50c003cc88b81b968d487a3c17b0d7..960b193e59a7700570cfcae914ef2f698e6ba3b8:/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