]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/object.cpp
don't try to remove -g flag from CFLAGS, it is not necessary and doesn't work correct...
[wxWidgets.git] / src / common / object.cpp
index ab3ef77b87633d04a4ed8840a4c71be2500d0172..776878d214a7f1440480b3c8596fdd29996d5333 100644 (file)
@@ -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;
 }