- return (IsOfClass(node, wxT("wxCheckList")) ||
- (m_insideBox && node->GetName() == wxT("item"))
- );
+ return (IsOfClass(node, wxT("wxCheckListBox")) ||
+#if WXWIN_COMPATIBILITY_2_4
+ IsOfClass(node, wxT("wxCheckList")) ||
+#endif
+ (m_insideBox && node->GetName() == wxT("item")));