]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/log.h
wxListCtrl will receive EVT_CHAR() events now
[wxWidgets.git] / include / wx / log.h
index 074adb078f6f0e405f6ecf5a86881553482d7a80..db595e7664c1c59cf1c46ca4ffebfc4f15277209 100644 (file)
@@ -57,13 +57,13 @@ class WXDLLEXPORT wxLogFrame;
 class WXDLLEXPORT wxFrame;
 
 #if wxUSE_IOSTREAMH
-// N.B. BC++ doesn't have istream.h, ostream.h
-#  include <iostream.h>
+    // N.B. BC++ doesn't have istream.h, ostream.h
+#   include <iostream.h>
 #else
-#  include <ostream>
-#  ifdef _MSC_VER
-      using namespace std;
-#  endif
+#   include <ostream>
+#   if defined(__VISUALC__) || defined(__MWERKS__)
+        using namespace std;
+#   endif
 #endif
 
 // ----------------------------------------------------------------------------
@@ -180,7 +180,7 @@ private:
   FILE *m_fp;
 };
 
-#ifdef wxUSE_STD_IOSTREAM
+#if wxUSE_STD_IOSTREAM
 // log everything to an "ostream", cerr by default
 class WXDLLEXPORT wxLogStream : public wxLog
 {
@@ -199,7 +199,7 @@ protected:
 
 #ifndef wxUSE_NOGUI
 
-#ifdef wxUSE_STD_IOSTREAM
+#if wxUSE_STD_IOSTREAM
 // log everything to a text window (GUI only of course)
 class WXDLLEXPORT wxLogTextCtrl : public wxLogStream
 {