#include "wx/gdicmn.h"
#include "wx/pen.h"
#include "wx/dcmemory.h"
-
+#include "wx/settings.h"
#include "wx/effects.h"
/*
}
// Draw a sunken edge
-void wxEffects::DrawSunkenEdge(wxDC& dc, const wxRect& rect, int borderSize)
+void wxEffects::DrawSunkenEdge(wxDC& dc, const wxRect& rect, int WXUNUSED(borderSize))
{
wxPen highlightPen(m_highlightColour, 1, wxSOLID);
wxPen lightShadowPen(m_lightShadow, 1, wxSOLID);
int w = bitmap.GetWidth();
int h = bitmap.GetHeight();
-
+
wxMemoryDC dcMem;
-
+
if (bitmap.GetPalette() && !hiColour)
{
dc.SetPalette(* bitmap.GetPalette());