-#if WXWIN_COMPATIBILITY_2_4
-void MyListCtrl::OnGetInfo(wxListEvent& event)
-{
- wxString msg;
-
- msg << _T("OnGetInfo (") << event.m_item.m_itemId << _T(", ") << event.m_item.m_col << _T(")");
- if ( event.m_item.m_mask & wxLIST_MASK_STATE )
- msg << _T(" wxLIST_MASK_STATE");
- if ( event.m_item.m_mask & wxLIST_MASK_TEXT )
- msg << _T(" wxLIST_MASK_TEXT");
- if ( event.m_item.m_mask & wxLIST_MASK_IMAGE )
- msg << _T(" wxLIST_MASK_IMAGE");
- if ( event.m_item.m_mask & wxLIST_MASK_DATA )
- msg << _T(" wxLIST_MASK_DATA");
- if ( event.m_item.m_mask & wxLIST_SET_ITEM )
- msg << _T(" wxLIST_SET_ITEM");
- if ( event.m_item.m_mask & wxLIST_MASK_WIDTH )
- msg << _T(" wxLIST_MASK_WIDTH");
- if ( event.m_item.m_mask & wxLIST_MASK_FORMAT )
- msg << _T(" wxLIST_MASK_WIDTH");
-
- if ( event.m_item.m_mask & wxLIST_MASK_TEXT )
- {
- event.m_item.m_text = _T("My callback text");
- }
-
- wxLogMessage(msg);
-}
-
-void MyListCtrl::OnSetInfo(wxListEvent& event)
-{
- LogEvent(event, _T("OnSetInfo"));
-}
-#endif
-