Cannot set wxDataViewListCtrlColumn flags

Post here wxCrafter related issues / features / bugs
mbudde
CodeLite Curious
Posts: 1
Joined: Tue Dec 05, 2017 8:26 pm
Genuine User: Yes
IDE Question: C++
Contact:

Cannot set wxDataViewListCtrlColumn flags

Post by mbudde »

Hey all,

I've added a few columns of different types to a wxDataViewListControl and I'm now looking to sort them. From my understanding, I need to set the flags to either wxDATAVIEW_COL_SORTABLE or wxDATAVIEW_COL_REORDERABLE. However, I am unable to set these flags in wxCrafter. I can see where they go in the generated wxcrafter.cpp file, but that file does say to not modify it.

I've attached the sidebar for editing the wxDataViewListCtrl column. Both the "Styles" tab and the "Sizer Flags" tab are blank.
wxDataViewColumn.PNG
Does anyone have any insight on how to set these flags?

Thanks for any help!

wxCrafter 2.7
Codelite 11.0.1
You do not have the required permissions to view the files attached to this post.
User avatar
eranif
CodeLite Plugin
Posts: 6375
Joined: Wed Feb 06, 2008 9:29 pm
Genuine User: Yes
IDE Question: C++
Contact:

Re: Cannot set wxDataViewListCtrlColumn flags

Post by eranif »

This looks like a bug to me.
Can you please post it on GitHub as new issue?
Make sure you have read the HOW TO POST thread
User avatar
eranif
CodeLite Plugin
Posts: 6375
Joined: Wed Feb 06, 2008 9:29 pm
Genuine User: Yes
IDE Question: C++
Contact:

Re: Cannot set wxDataViewListCtrlColumn flags

Post by eranif »

Nvm, I added support in wxCrafter for these flags
Make sure you have read the HOW TO POST thread
Post Reply