// Author: Julian Smart
// Modified by:
// Created: 25/4/2000
-// RCS-ID: $Id$
// Copyright: (c) Julian Smart
// Licence: wxWindows licence
/////////////////////////////////////////////////////////////////////////////
#include "wx/gdicmn.h"
#endif //WX_PRECOMP
+#if WXWIN_COMPATIBILITY_2_8
+
/*
* wxEffectsImpl: various 3D effects
*/
// 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
return true;
}
+
+#endif // WXWIN_COMPATIBILITY_2_8
+