Open v-rob opened 6 years ago
The wxWidgets Toolbar sample behaves the same, so this isn't wxPython specific. It may be that wxWidgets is using a different native toolbar widget than the one in the other screenshot, or perhaps using non-default options, in order to be able provide all the features of the wxToolbar.
Creating a ticket about this (if there isn't already one there) at https://trac.wxwidgets.org/ might shed some more light on this. Please reply here with the link to the ticket for tracking purposes.
Operating system: Windows 7 Ultimate 64-bit wxPython version: 4.0.3, stock, installed with pip Python version: 3.7.0, stock
Description of the problem: Under Windows 7, the native toolbar background should be a silver gradient similar to the menu bar, but when I make a toolbar, it appears flat.
This is an image of the result:
Instead, it should appear like this (not my own picture):
The code I used is as follows (the menubar exists for comparison):
If I use wx.ToolBar(window) instead of window.CreateToolBar(), it still appears flat. Styles do not affect the flat look in either of the methods.