]> git.saurik.com Git - wxWidgets.git/blobdiff - src/ribbon/art_internal.cpp
remove run-time check for now-required GTK 2.4
[wxWidgets.git] / src / ribbon / art_internal.cpp
index 7f90889eb6847720aea37e628ba1ccdb1d630a1d..b74d33e3a52d561d569793e443a7a8360824c49b 100644 (file)
     #pragma hdrstop
 #endif
 
-#include "wx/dc.h"
-#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__
@@ -154,7 +153,7 @@ wxRibbonHSLColour::wxRibbonHSLColour(const wxColour& col)
             hue += 120.0;
         }
         else // Max == blue
-        { 
+        {
             hue = 60.0 * (red - green) / (Max - Min);
             hue += 240.0;
         }