]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/textfile.h
Because someone was inconsistent about using LPSTR and char*, I missed
[wxWidgets.git] / include / wx / textfile.h
index b6132bd178a2f5f04bf020cf5b521c8b8d792a34..fafaae9ab1525d8d9a5944071de72cdc122f102f 100644 (file)
 // Licence:     wxWindows license
 ///////////////////////////////////////////////////////////////////////////////
 
-#ifndef   _TEXTFILE_H
-#define   _TEXTFILE_H
+#ifndef _TEXTFILE_H
+#define _TEXTFILE_H
 
 #ifdef __GNUG__
 #pragma interface "textfile.h"
 #endif
 
 #include "wx/defs.h"
+
+#if wxUSE_TEXTFILE && wxUSE_FILE
+
 #include "wx/string.h"
 #include "wx/file.h"
 #include "wx/dynarray.h"
@@ -137,4 +140,9 @@ private:
   wxString      m_strFile;  // name of the file
 };
 
-#endif  //_TEXTFILE_H
+#endif
+  // wxUSE_TEXTFILE && wxUSE_FILE
+
+#endif  
+  // _TEXTFILE_H
+