]> git.saurik.com Git - wxWidgets.git/commitdiff
Added checks for wxUSE_IOSTREAMH to determine which iostream(.h) to use
authorGeorge Tasker <gtasker@allenbrook.com>
Wed, 16 Jan 2002 13:39:50 +0000 (13:39 +0000)
committerGeorge Tasker <gtasker@allenbrook.com>
Wed, 16 Jan 2002 13:39:50 +0000 (13:39 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13601 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

samples/richedit/kbList.cpp
samples/richedit/wxLayout.cpp
samples/richedit/wxllist.cpp

index a5798fc6cca0d9549bcddfea8474deaf5509517f..37af1ce9dafea5321cc2057b5e785d3e31304027 100644 (file)
@@ -6,6 +6,9 @@
  * $Id$          *
  *                                                                  *
  * $Log$
+ * Revision 1.2  2002/01/16 13:39:50  GT
+ * Added checks for wxUSE_IOSTREAMH to determine which iostream(.h) to use
+ *
  * Revision 1.1  1999/06/07 09:57:12  KB
  * Formerly known as wxLayout.
  *
@@ -291,7 +294,11 @@ kbList::size(void) const // inefficient
 
 #ifdef   KBLIST_TEST
 
-#include   <iostream.h>
+#if wxUSE_IOSTREAMH
+    #include <iostream.h>
+#else
+    #include <iostream>
+#endif
 
 KBLIST_DEFINE(kbListInt,int);
    
index a37c580265d3a2a9ebedde921bc83d455dc9ff03..89fe57e094628b82dc029ea6bda16997a25d86c5 100644 (file)
 #include <wx/textfile.h>
 #include <wx/image.h>
 
-#include <iostream.h>
+#if wxUSE_IOSTREAMH
+    #include <iostream.h>
+#else
+    #include <iostream>
+#endif
 
 #include   "Micon.xpm"
 
index 316ee181298ff49632284b5b4e63a02ae995ccfe..3e696cde7ec8f3e41a68c1ee15709223c60ac56e 100644 (file)
 #endif
 
 #ifndef USE_PCH
-#   include <iostream.h>
+#if wxUSE_IOSTREAMH
+    #include <iostream.h>
+#else
+    #include <iostream>
+#endif
 
 #   include <wx/dc.h>
 #   include <wx/dcps.h>