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