Ticket #14618 (closed enhancement: fixed)
Add wxListCtrl::SetAlternateRowColour()
| Reported by: | troelsk | Owned by: | |
|---|---|---|---|
| Priority: | low | Milestone: | |
| Component: | GUI-all | Version: | 2.9-svn |
| Keywords: | wxListCtrl | Cc: | |
| Blocked By: | Patch: | yes | |
| Blocking: |
Description
This patch
- removes the need to override OnGetItemAttr() to achieve this
- brings the wxListCtrl and wxDataViewListCtrl interfaces a little closer *)
- moves OnGetItemAttr() to the base class
- includes documentation
- updates the sample
- tested on MSW only
*)
Or, maybe add a style like wxDV_ROW_LINES to make the interface yet closer to that of wxDataViewListCtrl,
#define wxLC_SORT_DESCENDING 0x8000 + #define wxLC_ROW_LINES 0x10000 // going beyond 16 bits should be okay?
Attachments
Change History
Note: See
TracTickets for help on using
tickets.

