Warnings: replace wxSOLID with wxPENSTYLE_SOLID (#6579)

* Replace wxSOLID with wxPENSTYLE_SOLID
This commit is contained in:
Vovodroid
2024-09-07 13:17:35 +03:00
committed by GitHub
parent 044a1c4fc5
commit 82c90666da
2 changed files with 40 additions and 40 deletions

View File

@@ -357,7 +357,7 @@ void AMSMaterialsSetting::paintEvent(wxPaintEvent &evt)
{
auto size = GetSize();
wxPaintDC dc(this);
dc.SetPen(wxPen(StateColor::darkModeColorFor(wxColour("#000000")), 1, wxSOLID));
dc.SetPen(wxPen(StateColor::darkModeColorFor(wxColour("#000000")), 1, wxPENSTYLE_SOLID));
dc.SetBrush(wxBrush(*wxTRANSPARENT_BRUSH));
dc.DrawRectangle(0, 0, size.x, size.y);
}