git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59762
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
const wxClassInfo *ci = wxClassInfo::GetFirst();
for (; ci; ci = ci->GetNext())
{
const wxClassInfo *ci = wxClassInfo::GetFirst();
for (; ci; ci = ci->GetNext())
{
+ wxString cn = wxString(ci->GetClassName());
+
// is this class derived from wxEvent?
if ( !ci->IsKindOf(CLASSINFO(wxEvent)) ||
// is this class derived from wxEvent?
if ( !ci->IsKindOf(CLASSINFO(wxEvent)) ||
- wxString(ci->GetClassName()) == "wxEvent" )
continue;
const std::string
msg = std::string("Event class \"") +
continue;
const std::string
msg = std::string("Event class \"") +
- std::string(ci->GetClassName()) + "\"";
+ std::string(cn.c_str()) + "\"";
CPPUNIT_ASSERT_MESSAGE( msg, ci->IsDynamic() );
CPPUNIT_ASSERT_MESSAGE( msg, ci->IsDynamic() );