diff --git a/include/wx/listctrl.h b/include/wx/listctrl.h index 6aa8a333d5..f8f79a1e4c 100644 --- a/include/wx/listctrl.h +++ b/include/wx/listctrl.h @@ -304,7 +304,7 @@ public: } // [de]select an item - void Select(long n, bool on = true) + void Select(long n, bool on = TRUE) { SetItemState(n, on ? wxLIST_STATE_SELECTED : 0, wxLIST_STATE_SELECTED); }