🧹Fix some compile warnings (#10158)

Fix  some compile warnings
<img width="1489" height="1161" alt="image" src="https://github.com/user-attachments/assets/da2d592f-b6d5-4706-9c97-ec6a0da4292f" />
This commit is contained in:
Rodrigo Faselli
2026-01-04 03:16:30 -03:00
committed by GitHub
parent 03c8541b09
commit 0c5f6c9865
3 changed files with 9 additions and 3 deletions

View File

@@ -160,7 +160,7 @@ void LabeledStaticBox::DrawBorderAndLabel(wxDC& dc)
wxSize wSz = GetSize();
dc.SetBrush(*wxTRANSPARENT_BRUSH);
dc.SetPen(wxPen(border_color.colorForStates(state_handler.states()), m_border_width, wxSOLID));
dc.SetPen(wxPen(border_color.colorForStates(state_handler.states()), m_border_width, wxPENSTYLE_SOLID));
dc.DrawRoundedRectangle( // Border
std::max(0, m_pos.x),
std::max(0, m_pos.y) + m_label_height * .5,