wxAuiManager pane customization

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
User avatar
papillon68
Earned some good credits
Earned some good credits
Posts: 114
Joined: Tue Nov 06, 2007 11:19 pm

wxAuiManager pane customization

Post by papillon68 » Tue Sep 14, 2021 10:52 pm

Hi folks, I finally found a way to customize any aspect of my application building custom widgets, but I'm still struggling about how to customize the white lines on panes that I add (I use the wxAuiManager).
If you please take a look at the attached screenshot: any idea of how to achieve that? Hopefully without having to subclass the entire wxWindow because that would be quite a task.
Thanks
Image

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

Re: wxAuiManager pane customization

Post by doublemax » Wed Sep 15, 2021 5:06 am

I've never done that, but based on the API, i'd try a custom wxAuiDockArt and implementing wxAuiDockArt::DrawSash().
https://docs.wxwidgets.org/trunk/classw ... 083cd7d238
Use the source, Luke!

User avatar
papillon68
Earned some good credits
Earned some good credits
Posts: 114
Joined: Tue Nov 06, 2007 11:19 pm

Re: wxAuiManager pane customization

Post by papillon68 » Wed Sep 15, 2021 2:28 pm

doublemax wrote:
Wed Sep 15, 2021 5:06 am
I've never done that, but based on the API, i'd try a custom wxAuiDockArt and implementing wxAuiDockArt::DrawSash().
https://docs.wxwidgets.org/trunk/classw ... 083cd7d238
Thanks a lot, it worked!
Windows 10, MS VC++ 2019 (vc142), WxWidgets 3.14
Designed with WxWidgets: https://www.facebook.com/clorofillaApp

Post Reply