]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/textctrl.cpp
More small fixes
[wxWidgets.git] / src / msw / textctrl.cpp
index 0676f10f0d94a397c299c27738ff7c8575774839..13d6e784d3f9dba2dd0e3de3b57afff64d7d9c16 100644 (file)
@@ -28,6 +28,8 @@
     #pragma hdrstop
 #endif
 
+#if wxUSE_TEXTCTRL
+
 #ifndef WX_PRECOMP
     #include "wx/textctrl.h"
     #include "wx/settings.h"
 #include <stdlib.h>
 #include <sys/types.h>
 
-#if wxUSE_IOSTREAMH
-#   include <fstream.h>
-#else
-#   include <fstream>
-#endif
-
 #if wxUSE_RICHEDIT && (!defined(__GNUWIN32_OLD__) || defined(__CYGWIN10__))
     #include <richedit.h>
 #endif
@@ -1403,3 +1399,4 @@ bool wxRichEditModule::Load(int version)
 
 #endif // wxUSE_RICHEDIT
 
+#endif // wxUSE_TEXTCTRL