]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/textfile.h
BC++ 5.5 and later supports wxUSE_ON_FATAL_EXCEPTION
[wxWidgets.git] / include / wx / textfile.h
index cace95502dc1327b3f473600ad427fd0e7dfd6fa..a898f11543839fc25ffa961411f831c10cc15952 100644 (file)
@@ -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
 
@@ -47,7 +47,10 @@ protected:
     virtual bool OnWrite(wxTextFileType typeNew, wxMBConv& conv);
 
 private:
+
     wxFile m_file;
+
+    DECLARE_NO_COPY_CLASS(wxTextFile)
 };
 
 #else // !wxUSE_TEXTFILE