use correct colour for the toolbar initially (patch 1150657)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32349 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -240,7 +240,7 @@ bool wxToolBar::Create(wxWindow *parent,
|
|||||||
wxSetCCUnicodeFormat(GetHwnd());
|
wxSetCCUnicodeFormat(GetHwnd());
|
||||||
|
|
||||||
// set up the colors and fonts
|
// set up the colors and fonts
|
||||||
SetBackgroundColour(wxSystemSettings::GetColour(wxSYS_COLOUR_MENUBAR));
|
SetBackgroundColour(wxSystemSettings::GetColour(wxSYS_COLOUR_BTNFACE));
|
||||||
SetFont(wxSystemSettings::GetFont(wxSYS_DEFAULT_GUI_FONT));
|
SetFont(wxSystemSettings::GetFont(wxSYS_DEFAULT_GUI_FONT));
|
||||||
|
|
||||||
// workaround for flat toolbar on Windows XP classic style
|
// workaround for flat toolbar on Windows XP classic style
|
||||||
|
Reference in New Issue
Block a user