X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/371a5b4e62eb415107e045588f614fa49e866e78..4dddb8a2dde675b85bbe28399b921648a22e6be1:/include/wx/textfile.h diff --git a/include/wx/textfile.h b/include/wx/textfile.h index 693bd37d96..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 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