simplified #ifs around the code

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41509 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Václav Slavík
2006-09-29 12:51:10 +00:00
parent 4f2097b6ef
commit e76372220e
4 changed files with 16 additions and 12 deletions

View File

@@ -24,7 +24,9 @@
#pragma hdrstop
#endif
#if wxUSE_ALL_THEMES || wxUSE_THEME_METAL
#include "wx/univ/theme.h"
#if wxUSE_THEME_METAL
#ifndef WX_PRECOMP
#include "wx/timer.h"
@@ -57,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
// ----------------------------------------------------------------------------
@@ -594,4 +595,4 @@ void wxMetalRenderer::DrawMetal(wxDC &dc, const wxRect &rect )
}
}
#endif // wxUSE_ALL_THEMES || wxUSE_THEME_METAL
#endif // wxUSE_THEME_METAL