no real changes, just remove unnecessary semicolons (part of #10687)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60053 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -893,7 +893,7 @@ bool wxListCtrl::SetItem(wxListItem& info)
|
|||||||
data = new wxListItemInternalData();
|
data = new wxListItemInternalData();
|
||||||
item.lParam = (LPARAM) data;
|
item.lParam = (LPARAM) data;
|
||||||
item.mask |= LVIF_PARAM;
|
item.mask |= LVIF_PARAM;
|
||||||
};
|
}
|
||||||
|
|
||||||
|
|
||||||
// user data
|
// user data
|
||||||
@@ -910,8 +910,8 @@ bool wxListCtrl::SetItem(wxListItem& info)
|
|||||||
data->attr->AssignFrom(attrNew);
|
data->attr->AssignFrom(attrNew);
|
||||||
else
|
else
|
||||||
data->attr = new wxListItemAttr(attrNew);
|
data->attr = new wxListItemAttr(attrNew);
|
||||||
};
|
}
|
||||||
};
|
}
|
||||||
|
|
||||||
|
|
||||||
// we could be changing only the attribute in which case we don't need to
|
// we could be changing only the attribute in which case we don't need to
|
||||||
@@ -1626,7 +1626,7 @@ long wxListCtrl::FindItem(long start, wxUIntPtr data)
|
|||||||
if (GetItemData(idx) == data)
|
if (GetItemData(idx) == data)
|
||||||
return idx;
|
return idx;
|
||||||
idx++;
|
idx++;
|
||||||
};
|
}
|
||||||
|
|
||||||
return -1;
|
return -1;
|
||||||
}
|
}
|
||||||
@@ -1746,7 +1746,7 @@ long wxListCtrl::InsertItem(const wxListItem& info)
|
|||||||
// and remember that we have some now...
|
// and remember that we have some now...
|
||||||
m_hasAnyAttr = true;
|
m_hasAnyAttr = true;
|
||||||
}
|
}
|
||||||
};
|
}
|
||||||
|
|
||||||
long rv = ListView_InsertItem(GetHwnd(), & item);
|
long rv = ListView_InsertItem(GetHwnd(), & item);
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user