X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/478e6b717c8cdbb35d993d5224895a0663c36bd1..e944f70a6d8f0a56d00d575940f4fe94f49ef727:/include/wx/memory.h?ds=sidebyside diff --git a/include/wx/memory.h b/include/wx/memory.h index dab00aecca..e676282b7a 100644 --- a/include/wx/memory.h +++ b/include/wx/memory.h @@ -28,6 +28,8 @@ #include +// Obsolete +#if 0 #if wxUSE_IOSTREAMH // N.B. BC++ doesn't have istream.h, ostream.h # include @@ -37,6 +39,7 @@ // using namespace std; # endif #endif +#endif #ifdef __WXDEBUG__ @@ -227,8 +230,11 @@ protected: // Traverse the list. static void TraverseList (PmSFV, wxMemStruct *from = NULL); + // Obsolete +#if 0 static wxSTD streambuf *m_streamBuf; static wxSTD ostream *m_debugStream; +#endif static int debugLevel; static bool debugOn; @@ -243,12 +249,15 @@ public: wxDebugContext(void); ~wxDebugContext(void); + // Obsolete +#if 0 static bool HasStream(void) { return (m_debugStream != NULL); }; static wxSTD ostream& GetStream(void) { return *m_debugStream; } static wxSTD streambuf *GetStreamBuf(void) { return m_streamBuf; } static void SetStream(wxSTD ostream *stream, wxSTD streambuf *buf = NULL); static bool SetFile(const wxString& file); static bool SetStandardError(void); +#endif static int GetLevel(void) { return debugLevel; } static void SetLevel(int level) { debugLevel = level; }