X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/1f428942866d08a8b0c8460d8ff41cb461aa8ab2..dfe8399aa013a1fa6487d008bf1176078f218c6d:/src/common/object.cpp diff --git a/src/common/object.cpp b/src/common/object.cpp index ab3ef77b87..776878d214 100644 --- a/src/common/object.cpp +++ b/src/common/object.cpp @@ -161,7 +161,12 @@ inline wxClassInfo *wxClassInfo::GetBaseByName(const wxChar *name) wxClassInfo *classInfo = (wxClassInfo *)sm_classTable->Get(name); // this must be fixed, other things risk work wrongly later if you get this - wxASSERT_MSG( classInfo, _T("base class unknown to wxWindows RTTI") ); + wxASSERT_MSG( classInfo, + wxString::Format + ( + _T("base class '%s' is unknown to wxWindows RTTI"), + name + ) ); return classInfo; }