Silenced unused value warning in 64bit builds with GCC.
This commit is contained in:
@@ -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)
|
||||||
|
Reference in New Issue
Block a user