CppDemangle, improved diag Ctrl::Name

git-svn-id: svn://ultimatepp.org/upp/trunk@6747 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
cxl 2014-01-10 19:57:24 +00:00
parent cb7e0171fa
commit 45393edc06
11 changed files with 73 additions and 37 deletions

View file

@ -75,21 +75,9 @@ void GuiPlatformAfterMenuPopUp()
{
}
String Ctrl::Name() const {
GuiLock __;
#ifdef CPU_64
String s = String(typeid(*this).name()) + " : 0x" + FormatIntHex(this);
#else
String s = String(typeid(*this).name()) + " : " + Format("0x%x", (int) this);
#endif
if(IsChild())
s << "(parent " << String(typeid(*parent).name()) << ")";
return s;
}
String Ctrl::Name(Ctrl *ctrl)
String Ctrl::Name() const
{
return Upp::Name(ctrl);
return Name0();
}
void Ctrl::InstallPanicBox()