X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/9d2f3c71d83c52fc4db6c8041de533562816b1d6..6c00e46fa83e3a9c0e76a76f15522a10b3a5c67f:/include/wx/textfile.h diff --git a/include/wx/textfile.h b/include/wx/textfile.h index b6132bd178..fafaae9ab1 100644 --- a/include/wx/textfile.h +++ b/include/wx/textfile.h @@ -11,14 +11,17 @@ // 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 +