]> git.saurik.com Git - wxWidgets.git/commitdiff
removed unused wxObject::Dump
authorVáclav Slavík <vslavik@fastmail.fm>
Sun, 17 Aug 2003 10:34:45 +0000 (10:34 +0000)
committerVáclav Slavík <vslavik@fastmail.fm>
Sun, 17 Aug 2003 10:34:45 +0000 (10:34 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22954 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

include/wx/object.h
src/common/object.cpp

index 6882c25f4a8b1d73a446b409b23dd0171b80fe84..2f5ffd3b5e97e50b1bff8731673c072d5778374b 100644 (file)
@@ -415,11 +415,6 @@ inline void wxCheckCast(void *ptr)
 
 #endif // WXDEBUG && wxUSE_MEMORY_TRACING
 
-#if wxUSE_STD_IOSTREAM && (defined(__WXDEBUG__) || wxUSE_DEBUG_CONTEXT)
-// needed by wxObject::Dump
-#include "wx/iosfwrap.h"
-#endif
-
 // ----------------------------------------------------------------------------
 // wxObject: the root class of wxWindows object hierarchy
 // ----------------------------------------------------------------------------
@@ -483,11 +478,6 @@ public:
     void operator delete[] (void* buf, const wxChar*, int );
 #endif
 
-
-#if wxUSE_STD_IOSTREAM && (defined(__WXDEBUG__) || wxUSE_DEBUG_CONTEXT)
-    virtual void Dump(wxSTD ostream& str);
-#endif
-
     // ref counted data handling methods
 
     // get/set
index e29f32860c0da2173a3877729590c5f7adbbc856..4ebc1cc9c629a42d53aa8b7c0618e5a4d9df0d68 100644 (file)
@@ -33,9 +33,6 @@
 #endif
 
 #if defined(__WXDEBUG__) || wxUSE_DEBUG_CONTEXT
-    // for wxObject::Dump
-    #include "wx/ioswrap.h"
-
     #if defined(__VISAGECPP__)
         #define DEBUG_PRINTF(NAME) { static int raz=0; \
             printf( #NAME " %i\n",raz); fflush(stdout); raz++; }
@@ -101,17 +98,6 @@ bool wxObject::IsKindOf(wxClassInfo *info) const
     return (thisInfo) ? thisInfo->IsKindOf(info) : FALSE ;
 }
 
-#if wxUSE_STD_IOSTREAM && (defined(__WXDEBUG__) || wxUSE_DEBUG_CONTEXT)
-void wxObject::Dump(wxSTD ostream& str)
-{
-    if (GetClassInfo() && GetClassInfo()->GetClassName())
-        str << GetClassInfo()->GetClassName();
-    else
-        str << _T("unknown object class");
-}
-#endif
-
-
 #if defined(__WXDEBUG__) && wxUSE_MEMORY_TRACING && defined( new )
        #undef new
 #endif