I made a wxDataViewListCtrl and used appendToggleColumn, but none of the toggles in that column are editable.
That is, the user can't check or uncheck the toggles.
How do I implement an editable toggle?
editable toggle in wxDataViewListCtrl
-
- Earned a small fee
- Posts: 20
- Joined: Fri May 23, 2014 5:01 pm
Re: editable toggle in wxDataViewListCtrl
Platform, wxWidgets version? Does it work in the "dataview" sample?
Use the source, Luke!
-
- Earned a small fee
- Posts: 20
- Joined: Fri May 23, 2014 5:01 pm
Re: editable toggle in wxDataViewListCtrl
@doublemax Windows, x64, wxWidgets 3.0.0.
No, it didn't work in the dataview sample either.
Is this a platform-specific problem?
No, it didn't work in the dataview sample either.
Is this a platform-specific problem?
Re: editable toggle in wxDataViewListCtrl
I think this was this bug: http://trac.wxwidgets.org/ticket/16132
Can you try with wx 3.0.1 or the latest version from trunk?
Can you try with wx 3.0.1 or the latest version from trunk?
Use the source, Luke!
-
- Earned a small fee
- Posts: 20
- Joined: Fri May 23, 2014 5:01 pm
Re: editable toggle in wxDataViewListCtrl
@doublemax thanks, it works perfectly in 3.1.0!