if ( want3D || wxStyleHasBorder(m_windowStyle) )
wstyle |= WS_BORDER;
- wstyle |= LVS_SHAREIMAGELISTS;
+ wstyle |= LVS_SHAREIMAGELISTS | LVS_SHOWSELALWAYS ;
m_baseStyle = wstyle;
long oldStyle = 0; // Dummy
lvItem.pszText = NULL;
}
+ if (info.m_mask & wxLIST_MASK_DATA)
+ lvItem.mask |= LVIF_PARAM ;
+
if ( info.m_mask & wxLIST_MASK_STATE )
{
lvItem.mask |= LVIF_STATE;
}
// List event
-IMPLEMENT_DYNAMIC_CLASS(wxListEvent, wxCommandEvent)
+IMPLEMENT_DYNAMIC_CLASS(wxListEvent, wxNotifyEvent)
wxListEvent::wxListEvent(wxEventType commandType, int id)
: wxNotifyEvent(commandType, id)