X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/15b250467930b17afba9e9a3c3aef4f8258e9dfb..7b907278efbf53a35ab9eb0645f4ceb553aa02de:/src/univ/themes/metal.cpp diff --git a/src/univ/themes/metal.cpp b/src/univ/themes/metal.cpp index e18104660c..af2b79fd60 100644 --- a/src/univ/themes/metal.cpp +++ b/src/univ/themes/metal.cpp @@ -24,6 +24,10 @@ #pragma hdrstop #endif +#include "wx/univ/theme.h" + +#if wxUSE_THEME_METAL + #ifndef WX_PRECOMP #include "wx/timer.h" #include "wx/intl.h" @@ -55,7 +59,6 @@ #include "wx/univ/inpcons.h" #include "wx/univ/inphand.h" #include "wx/univ/colschem.h" -#include "wx/univ/theme.h" // wxMetalRenderer: draw the GUI elements in Metal style // ---------------------------------------------------------------------------- @@ -591,3 +594,5 @@ void wxMetalRenderer::DrawMetal(wxDC &dc, const wxRect &rect ) dc.DrawRectangle( rect.x, y, rect.width, 1 ); } } + +#endif // wxUSE_THEME_METAL