mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-07-11 22:03:01 -06:00
CppDemangle, improved diag Ctrl::Name
git-svn-id: svn://ultimatepp.org/upp/trunk@6747 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
parent
cb7e0171fa
commit
45393edc06
11 changed files with 73 additions and 37 deletions
|
|
@ -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()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue