How to change wxPropertyGridManager's wxPGCellRenderer?

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.
User avatar
IronFace
In need of some credit
In need of some credit
Posts: 5
Joined: Mon Dec 25, 2017 5:10 am

How to change wxPropertyGridManager's wxPGCellRenderer?

Postby IronFace » Tue Feb 27, 2018 2:04 am

Hi, guys.

I work at win7 pro with wxWidegets3.03.
I‘m using wxPropertyGridManager to display and control.

0629AEBD-6F5E-423d-AB66-385B071E6C9B.png
0629AEBD-6F5E-423d-AB66-385B071E6C9B.png (5.51 KiB) Viewed 142 times


I' want to changed the wxPropertyCategory's appearance, use other image to replace the plus and minus image.
And draw it at the right side of the wxPropertyCategory.

I want to change it's render, but i can just find a get method. Is any way to set a custom render to wxPropertyCategory or other way to change it's appearance.

Can I add a wxPGEditor to wxPropertyCategory?

Thanks.

Return to “C++ Development”

Who is online

Users browsing this forum: No registered users and 9 guests