From f0b6468925ab1ffee46d4a9434522dacd93320dd Mon Sep 17 00:00:00 2001 From: Vitalii Koshura Date: Tue, 10 Sep 2024 01:16:56 +0200 Subject: [PATCH] clientgui: fix deprecation warning by replacing outdated wxBOLD with wxFONTWEIGHT_BOLD macro Signed-off-by: Vitalii Koshura --- clientgui/common/wxPieCtrl.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clientgui/common/wxPieCtrl.cpp b/clientgui/common/wxPieCtrl.cpp index 12d9e6deaa..271e25b9ad 100644 --- a/clientgui/common/wxPieCtrl.cpp +++ b/clientgui/common/wxPieCtrl.cpp @@ -63,7 +63,7 @@ wxPieCtrl::wxPieCtrl(wxWindow * parent, wxWindowID id, wxPoint pos, m_LabelColour = isDarkMode ? *wxWHITE : *wxBLACK; m_LegendBackColour = isDarkMode ? wxColour(0, 0, 255) : wxColour(255,255,0); m_TitleFont = *wxSWISS_FONT; - m_TitleFont.SetWeight(wxBOLD); + m_TitleFont.SetWeight(wxFONTWEIGHT_BOLD); m_LabelFont = *wxSWISS_FONT; m_legendHorBorder = 10; m_LegendVerBorder = 10;