I have several wxToolbar for which I would like to force the background color. It works under Windows using SetBackgroundColour(), but this way seems to have no effect under OS X (tested under OS X 10.8 and wxWidgets 3.0.0).
Also, knowing my toolbars are with a 16x16 px buttons (and not positionned at standard locations), I indicated to not use the native control (using call below during app-init). However, with or without this, SetBackgroundColour is ignored (see EDIT1) :
Code: Select all
What's the right way to follow for Mac, please ?
EDIT1 : Well, certainly that without "mac.toolbar.no-native" I'm with non-native toolbar too (implicitely), because the toolbar is not directly a frame's child. So, the question remains : how to force background color of a non-native wxToolbar under OSX.