Silenced unused value warning in 64bit builds with GCC.
This commit is contained in:
parent
5326132c21
commit
c57c281c44
@ -1219,8 +1219,9 @@ bool wxListCtrl::HasCheckboxes() const
|
|||||||
|
|
||||||
void wxListCtrl::EnableCheckboxes(bool enable)
|
void wxListCtrl::EnableCheckboxes(bool enable)
|
||||||
{
|
{
|
||||||
DWORD cbStyle = enable ? LVS_EX_CHECKBOXES : 0;
|
LPARAM newStyle = enable ? LVS_EX_CHECKBOXES : 0;
|
||||||
ListView_SetExtendedListViewStyleEx(GetHwnd(), LVS_EX_CHECKBOXES, cbStyle);
|
DWORD oldStyle = ListView_SetExtendedListViewStyleEx(GetHwnd(), LVS_EX_CHECKBOXES, newStyle);
|
||||||
|
wxUnusedVar(oldStyle);
|
||||||
}
|
}
|
||||||
|
|
||||||
void wxListCtrl::CheckItem(long item, bool state)
|
void wxListCtrl::CheckItem(long item, bool state)
|
||||||
|
Loading…
Reference in New Issue
Block a user