Changes related to stream includes

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@818 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Julian Smart
1998-10-12 07:46:15 +00:00
parent 66de8e7a1b
commit fbc535ff08
29 changed files with 165 additions and 46 deletions

View File

@@ -52,10 +52,18 @@ typedef unsigned long wxLogLevel;
// ----------------------------------------------------------------------------
// forward declarations
// ----------------------------------------------------------------------------
class wxTextCtrl;
class wxLogFrame;
class wxFrame;
class ostream;
class WXDLLEXPORT wxTextCtrl;
class WXDLLEXPORT wxLogFrame;
class WXDLLEXPORT wxFrame;
#if wxUSE_IOSTREAMH
# include <ostream.h>
#else
# include <ostream>
# ifdef _MSC_VER
using namespace std;
# endif
#endif
// ----------------------------------------------------------------------------
// derive from this class to redirect (or suppress, or ...) log messages
@@ -166,7 +174,6 @@ private:
};
// log everything to an "ostream", cerr by default
class ostream;
class WXDLLEXPORT wxLogStream : public wxLog
{
public:
@@ -357,9 +364,6 @@ DECLARE_LOG_FUNCTION2(SysError, long lErrCode);
// parts of the program only)
WXDLLEXPORT_DATA(extern bool) g_bVerbose;
// fwd decl to avoid including iostream.h here
class ostream;
// ----------------------------------------------------------------------------
// get error code/error message from system in a portable way
// ----------------------------------------------------------------------------