wxAuiSimpleTabArt Topic is solved

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
bitplane
In need of some credit
In need of some credit
Posts: 7
Joined: Sun Feb 03, 2008 9:02 pm

wxAuiSimpleTabArt

Post by bitplane » Sat Apr 19, 2008 6:17 am

Two problems I'm currently having with wxAuiNotebook...

1. When the notebook is created with wxBORDER_NONE or wxNO_BORDER, there is still a small border around the notebook window

2. when I derive a class from wxAuiSimpleTabArt, and override the DrawTab function, it doesn't draw anything. It just uses the wxAuiSimpleTabArt DrawTab function


I've provided an attached cropped screenshot of the aforementioned.
Attachments
upload.PNG
upload.PNG (1.67 KiB) Viewed 905 times

lester
Filthy Rich wx Solver
Filthy Rich wx Solver
Posts: 211
Joined: Sat Sep 02, 2006 7:24 pm
Location: Ukraine

Post by lester » Sat Apr 19, 2008 9:03 am

wxColour cl = wxSystemSettings::GetColour( wxSYS_COLOUR_3DFACE );

mpNotebook->GetAuiManager().GetArtProvider()->SetColour( wxAUI_DOCKART_BORDER_COLOUR, cl );
mpNotebook->GetAuiManager().GetArtProvider()->SetColour( wxAUI_DOCKART_SASH_COLOUR, cl );

lester
Filthy Rich wx Solver
Filthy Rich wx Solver
Posts: 211
Joined: Sat Sep 02, 2006 7:24 pm
Location: Ukraine

Post by lester » Sat Apr 19, 2008 9:09 am

I have copy class wxAuiSimpleTabArt to new two files, rename it, change and include in my project

Post Reply