#include "wx/ioswrap.h"
+// Obsolete
+#if 0
#if wxUSE_IOSTREAMH
#include <fstream.h>
#else
#include <fstream>
#endif
+#endif
#if !defined(__WATCOMC__) && !(defined(__VMS__) && ( __VMS_VER < 70000000 ) )\
&& !defined( __MWERKS__ ) && !defined(__SALFORDC__)
// wxSTD streambuf *wxDebugContext::m_streamBuf = NULL;
// Must initialise these in wxEntry, and then delete them just before wxEntry exits
+// Obsolete
+#if 0
wxSTD streambuf *wxDebugContext::m_streamBuf = NULL;
wxSTD ostream *wxDebugContext::m_debugStream = NULL;
+#endif
bool wxDebugContext::m_checkPrevious = FALSE;
int wxDebugContext::debugLevel = 1;
wxDebugContext::~wxDebugContext(void)
{
- SetStream(NULL, NULL);
+// SetStream(NULL, NULL);
}
/*
* between SetFile and SetStream.
*/
+// Obsolete
+#if 0
void wxDebugContext::SetStream(wxSTD ostream *str, wxSTD streambuf *buf)
{
if (m_debugStream)
#endif
return FALSE;
}
-
+#endif
+ // 0
/*
Work out the positions of the markers by creating an array of 2 markers
// if (TRUE)
{
- wxChar* appName = wxT("application");
+ wxChar* appName = (wxChar*) wxT("application");
wxString appNameStr("");
if (wxTheApp)
{
// if (TRUE)
{
- wxChar* appName = wxT("application");
+ wxChar* appName = (wxChar*) wxT("application");
wxString appNameStr(wxT(""));
if (wxTheApp)
{
// if (detailed && (data != (void*)m_debugStream) && (data != (void*) m_streamBuf))
if (detailed && (data != (void*) wxLog::GetActiveTarget()))
{
- wxChar *className = wxT("nonobject");
+ wxChar *className = (wxChar*) wxT("nonobject");
if (st->m_isObject && st->GetActualData())
{
wxObject *obj = (wxObject *)st->GetActualData();
// if (TRUE)
{
- wxChar* appName = wxT("application");
+ wxChar* appName = (wxChar*) wxT("application");
wxString appNameStr(wxT(""));
if (wxTheApp)
{