this one should really work
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59762 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
36f062d3da
commit
2026b433b9
@ -55,14 +55,16 @@ void EventCloneTestCase::CheckAll()
|
||||
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)) ||
|
||||
wxString(ci->GetClassName()) == "wxEvent" )
|
||||
cn == "wxEvent" )
|
||||
continue;
|
||||
|
||||
const std::string
|
||||
msg = std::string("Event class \"") +
|
||||
std::string(ci->GetClassName()) + "\"";
|
||||
std::string(cn.c_str()) + "\"";
|
||||
|
||||
CPPUNIT_ASSERT_MESSAGE( msg, ci->IsDynamic() );
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user