editable toggle in wxDataViewListCtrl

If you are using the main C++ distribution of wxWidgets, Feel free to ask any question related to wxWidgets development here. This means questions regarding to C++ and wxWidgets, not compile problems.
Post Reply
greekfellows
Earned a small fee
Earned a small fee
Posts: 20
Joined: Fri May 23, 2014 5:01 pm

editable toggle in wxDataViewListCtrl

Post by greekfellows » Tue Sep 30, 2014 2:23 pm

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?

User avatar
doublemax
Moderator
Moderator
Posts: 15263
Joined: Fri Apr 21, 2006 8:03 pm
Location: $FCE2

Re: editable toggle in wxDataViewListCtrl

Post by doublemax » Tue Sep 30, 2014 3:17 pm

Platform, wxWidgets version? Does it work in the "dataview" sample?
Use the source, Luke!

greekfellows
Earned a small fee
Earned a small fee
Posts: 20
Joined: Fri May 23, 2014 5:01 pm

Re: editable toggle in wxDataViewListCtrl

Post by greekfellows » Tue Sep 30, 2014 3:27 pm

@doublemax Windows, x64, wxWidgets 3.0.0.

No, it didn't work in the dataview sample either.
Is this a platform-specific problem?

User avatar
doublemax
Moderator
Moderator
Posts: 15263
Joined: Fri Apr 21, 2006 8:03 pm
Location: $FCE2

Re: editable toggle in wxDataViewListCtrl

Post by doublemax » Tue Sep 30, 2014 3:35 pm

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?
Use the source, Luke!

greekfellows
Earned a small fee
Earned a small fee
Posts: 20
Joined: Fri May 23, 2014 5:01 pm

Re: editable toggle in wxDataViewListCtrl

Post by greekfellows » Wed Oct 01, 2014 7:47 am

@doublemax thanks, it works perfectly in 3.1.0!

Post Reply