]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/textfile.h
Doc fixes A-M edition. Thanks to Arnout for pointing these out. Also I fixed some...
[wxWidgets.git] / include / wx / textfile.h
index cace95502dc1327b3f473600ad427fd0e7dfd6fa..a898f11543839fc25ffa961411f831c10cc15952 100644 (file)
@@ -14,7 +14,7 @@
 #ifndef _WX_TEXTFILE_H
 #define _WX_TEXTFILE_H
 
 #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
 
     #pragma interface "textfile.h"
 #endif
 
@@ -47,7 +47,10 @@ protected:
     virtual bool OnWrite(wxTextFileType typeNew, wxMBConv& conv);
 
 private:
     virtual bool OnWrite(wxTextFileType typeNew, wxMBConv& conv);
 
 private:
+
     wxFile m_file;
     wxFile m_file;
+
+    DECLARE_NO_COPY_CLASS(wxTextFile)
 };
 
 #else // !wxUSE_TEXTFILE
 };
 
 #else // !wxUSE_TEXTFILE