clientgui: fix deprecation warning by replacing outdated wxBOLD with wxFONTWEIGHT_BOLD macro

Signed-off-by: Vitalii Koshura <lestat.de.lionkur@gmail.com>
This commit is contained in:
Vitalii Koshura 2024-09-10 01:16:56 +02:00
parent 69c0d57c69
commit f0b6468925
No known key found for this signature in database
GPG Key ID: CE0DB1726070A5A3
1 changed files with 1 additions and 1 deletions

View File

@ -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;