Opened 17 years ago

Last modified 17 years ago

#3202 closed Bug report

Toolbar does not take Windows default color

Reported by: danez Owned by:
Priority: normal Component: FileZilla Client
Keywords: Cc: danez, Tim Kosse
Component version: Operating system type:
Operating system version:


I use the Zune-Desktop Theme from Microsoft on Windows XP, but the Toolbar of FZ3 stays on a different color (see Attachment).
Maybe the color of the Toolbar is not linked to the correct windows-elment-color.

Windows XP SP2 (Zune Theme :

Attachments (1)

colortoolbar.PNG (59.1 KB ) - added by danez 17 years ago.

Download all attachments as: .zip

Change History (4)

by danez, 17 years ago

Attachment: colortoolbar.PNG added


comment:1 by Tim Kosse, 17 years ago

This appears to be a bug in wxWidgets, I'll forward it to the upstream developers.

comment:2 by danez, 17 years ago

I do not know how the whole interface(*.xrc) <-> engine (*.cpp) works, but when integrating a Toolbar the default way without Recources, i would do this:

m_toolBar1 = this->CreateToolBar( wxTB_HORIZONTAL, wxID_ANY );
m_toolBar1->SetBackgroundColour( wxSystemSettings::GetColour( wxSYS_COLOUR_BTNFACE ) );

comment:3 by Tim Kosse, 17 years ago

Yes, SetBackgroundColour is a workaround. It shouldn't be needed though. The toolbar sample of wxWidgets doesn't use SetBackgroundColour either.

I've committed this workaround to SVN, will be available in next version.

Note: See TracTickets for help on using tickets.