X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/f5abe9111b4f425bc2430111b2b77844e87b2f29..d3dcceb4363163ea8eeba75234ac938e690230c8:/include/wx/log.h diff --git a/include/wx/log.h b/include/wx/log.h index 074adb078f..db595e7664 100644 --- a/include/wx/log.h +++ b/include/wx/log.h @@ -57,13 +57,13 @@ class WXDLLEXPORT wxLogFrame; class WXDLLEXPORT wxFrame; #if wxUSE_IOSTREAMH -// N.B. BC++ doesn't have istream.h, ostream.h -# include + // N.B. BC++ doesn't have istream.h, ostream.h +# include #else -# include -# ifdef _MSC_VER - using namespace std; -# endif +# include +# 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 {