summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
6eaa9a7)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60282
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
if (info.m_itemId >= 0 && info.m_itemId < GetItemCount())
{
m_dbImpl->MacGetColumnInfo(info.m_itemId, info.m_col, info);
if (info.m_itemId >= 0 && info.m_itemId < GetItemCount())
{
m_dbImpl->MacGetColumnInfo(info.m_itemId, info.m_col, info);
+ // MacGetColumnInfo returns erroneous information in the state field, so zero it.
+ info.SetState(0);
if (info.GetMask() & wxLIST_MASK_STATE)
{
DataBrowserItemID id = (DataBrowserItemID)m_dbImpl->GetItemFromLine(info.m_itemId);
if (info.GetMask() & wxLIST_MASK_STATE)
{
DataBrowserItemID id = (DataBrowserItemID)m_dbImpl->GetItemFromLine(info.m_itemId);