// Author: Peter Cawley
// Modified by:
// Created: 2009-08-04
-// RCS-ID: $Id$
// Copyright: (C) Peter Cawley
// Licence: wxWindows licence
///////////////////////////////////////////////////////////////////////////////
#pragma hdrstop
#endif
-#include "wx/ribbon/art.h"
-
#if wxUSE_RIBBON
+#include "wx/ribbon/art.h"
#include "wx/ribbon/art_internal.h"
#include "wx/ribbon/bar.h"
#include "wx/ribbon/buttonbar.h"
#include "wx/ribbon/gallery.h"
#ifndef WX_PRECOMP
+#include "wx/dc.h"
#endif
#ifdef __WXMSW__
hue += 120.0;
}
else // Max == blue
- {
+ {
hue = 60.0 * (red - green) / (Max - Min);
hue += 240.0;
}