FIX:changed top menu bar color on macos

Change-Id: I276aab27c2c089ad322dc5cb2f6206dccb3e494d
This commit is contained in:
tao wang authored and Lane.Wei committed 2022-12-15 04:38:15 -05:00
1 parent 9ab6e86b47
commit 5c3c2fcb1c
3 files changed
+16 -5

No files matched your search

+9 -1
View File
@@ -20,7 +20,15 @@ ButtonsListCtrl::ButtonsListCtrl(wxWindow *parent, wxBoxSizer* side_tools) :
#ifdef __WINDOWS__
SetDoubleBuffered(true);
#endif //__WINDOWS__
wxColour default_btn_bg = wxColour("#3B4446"); // Gradient #414B4E
wxColour default_btn_bg;
#ifdef __APPLE__
default_btn_bg = wxColour("#3B4446"); // Gradient #414B4E
#else
default_btn_bg = wxColour("#2D2D30"); // Gradient #414B4E
#endif
SetBackgroundColour(default_btn_bg);
int em = em_unit(this);// Slic3r::GUI::wxGetApp().em_unit();