X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/dd107c50be43e8d4dbdba20df162faf119a3781c..aba4387c4c71fb812c6a07a7abb495606c5ef4af:/include/wx/memory.h diff --git a/include/wx/memory.h b/include/wx/memory.h index 26c46b35e9..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,14 +230,17 @@ 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; - static int m_balign; // byte alignment - static int m_balignmask; // mask for performing byte alignment + static int m_balign; // byte alignment + static int m_balignmask; // mask for performing byte alignment public: // Set a checkpoint to dump only the memory from // a given point @@ -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, streambuf *buf = NULL); + 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; }