X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/fe1efe6ab784b0f364e7e949ac0afb4bbc3215d2..7bf2b0881a6bf28138f258504e88b2643daa854e:/src/common/effects.cpp diff --git a/src/common/effects.cpp b/src/common/effects.cpp index 8f34220fd6..e1d93d144d 100644 --- a/src/common/effects.cpp +++ b/src/common/effects.cpp @@ -55,11 +55,11 @@ wxEffectsImpl::wxEffectsImpl(const wxColour& highlightColour, const wxColour& li // Draw a sunken edge void wxEffectsImpl::DrawSunkenEdge(wxDC& dc, const wxRect& rect, int WXUNUSED(borderSize)) { - wxPen highlightPen(m_highlightColour, 1, wxSOLID); - wxPen lightShadowPen(m_lightShadow, 1, wxSOLID); - wxPen facePen(m_faceColour, 1, wxSOLID); - wxPen mediumShadowPen(m_mediumShadow, 1, wxSOLID); - wxPen darkShadowPen(m_darkShadow, 1, wxSOLID); + wxPen highlightPen(m_highlightColour, 1, wxPENSTYLE_SOLID); + wxPen lightShadowPen(m_lightShadow, 1, wxPENSTYLE_SOLID); + wxPen facePen(m_faceColour, 1, wxPENSTYLE_SOLID); + wxPen mediumShadowPen(m_mediumShadow, 1, wxPENSTYLE_SOLID); + wxPen darkShadowPen(m_darkShadow, 1, wxPENSTYLE_SOLID); //// LEFT AND TOP // Draw a medium shadow pen on left and top, followed by dark shadow line to