mirror of
https://github.com/cjcliffe/CubicSDR.git
synced 2024-11-26 21:58:37 -05:00
Fixes #635 round 5, Bookmarkview : let the buttons be of default color
This commit is contained in:
parent
c9d38ab363
commit
1cc60bfc8d
@ -693,14 +693,6 @@ wxButton *BookmarkView::makeButton(wxWindow *parent, std::string labelVal, wxObj
|
||||
wxButton *nButton = new wxButton( m_buttonPanel, wxID_ANY, labelVal);
|
||||
nButton->Connect( wxEVT_COMMAND_BUTTON_CLICKED, handler, nullptr, this);
|
||||
|
||||
wxColour bgColor(ThemeMgr::mgr.currentTheme->generalBackground);
|
||||
// wxColour fgColor(ThemeMgr::mgr.currentTheme->button);
|
||||
//Force white color:
|
||||
wxColour textColorWhite(RGBA4f(255,255,255));
|
||||
|
||||
nButton->SetBackgroundColour(bgColor);
|
||||
nButton->SetForegroundColour(textColorWhite);
|
||||
|
||||
return nButton;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user