wxToolBar: can't change text color

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
papillon68
Experienced Solver
Experienced Solver
Posts: 73
Joined: Tue Nov 06, 2007 11:19 pm

wxToolBar: can't change text color

Post by papillon68 » Tue Oct 01, 2019 5:07 pm

Hello, it looks like you can change the background color of a wxToolBar but not the buttons text color (I'm using the SetForegroundColour function).
Is subclassing and customizing the widget the only way?
Windows 10, MS VC++ 2015 (vc140), WxWidgets 3.11

Post Reply