for backtrace mode for X, also insert missing return for Mac OS X

svn: r3399
This commit is contained in:
Matthew Flatt 2006-06-18 12:41:12 +00:00
parent 35540541ac
commit 7f9bae5fd8
2 changed files with 9 additions and 1 deletions

View File

@ -49,6 +49,6 @@ wxObject::~wxObject(void)
# ifdef COMPACT_BACKTRACE_GC
char *wxObject::gcGetName()
{
wxGetTypeName(__type);
return wxGetTypeName(__type);
}
# endif

View File

@ -30,6 +30,7 @@
#define Uses_wxDebugStreamBuf
#define Uses_wxObject
#define Uses_wxHashTable
#define Uses_wxTypeTree
#include "wx.h"
#include <stdarg.h>
@ -72,3 +73,10 @@ long wxObject::MemoryUse(void)
return 0;
}
#endif
#ifdef COMPACT_BACKTRACE_GC
char *wxObject::gcGetName()
{
return wxGetTypeName(__type);
}
#endif