removed unused wxObject::Dump
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22954 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
		@@ -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
 | 
			
		||||
 
 | 
			
		||||
@@ -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
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user