Ticket #15731 (closed defect: fixed)
wxDataViewCtrl hit test is still beroken when toggle column is left aligned
|Reported by:||koichi||Owned by:||vadz|
I think that r73854 caused this regression.
Maybe with r73835 and r73838, the column was forced center aligned, and r73854 reverted some of these changes to correctly handle the alignment.
However, now the hit test is broken again when column is left aligned.
I also noticed some inconsistency in the DataViewCtrl API.
When alignment is not passed to AppendToggleColumn() function, the default value of the base wxDataViewCtrl class is wxALIGN_CENTER, where as that of wxDataViewListCtrl is wxALIGN_LEFT. It is nice to make them consistent.