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:
@@ -24,7 +24,9 @@
|
||||
#pragma hdrstop
|
||||
#endif
|
||||
|
||||
#if wxUSE_ALL_THEMES || wxUSE_THEME_GTK
|
||||
#include "wx/univ/theme.h"
|
||||
|
||||
#if wxUSE_THEME_GTK
|
||||
|
||||
#ifndef WX_PRECOMP
|
||||
#include "wx/intl.h"
|
||||
@@ -62,7 +64,6 @@
|
||||
#include "wx/univ/inpcons.h"
|
||||
#include "wx/univ/inphand.h"
|
||||
#include "wx/univ/colschem.h"
|
||||
#include "wx/univ/theme.h"
|
||||
|
||||
class WXDLLEXPORT wxGTKMenuGeometryInfo;
|
||||
|
||||
@@ -2774,4 +2775,4 @@ bool wxGTKTextCtrlInputHandler::HandleKey(wxInputConsumer *control,
|
||||
|
||||
#endif // wxUSE_TEXTCTRL
|
||||
|
||||
#endif // wxUSE_ALL_THEMES || wxUSE_THEME_GTK
|
||||
#endif // wxUSE_THEME_GTK
|
||||
|
@@ -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
|
||||
|
@@ -24,7 +24,9 @@
|
||||
#pragma hdrstop
|
||||
#endif
|
||||
|
||||
#if wxUSE_ALL_THEMES || wxUSE_THEME_MONO
|
||||
#include "wx/univ/theme.h"
|
||||
|
||||
#if wxUSE_THEME_MONO
|
||||
|
||||
#ifndef WX_PRECOMP
|
||||
#include "wx/dc.h"
|
||||
@@ -34,7 +36,6 @@
|
||||
#include "wx/univ/stdrend.h"
|
||||
#include "wx/univ/inphand.h"
|
||||
#include "wx/univ/colschem.h"
|
||||
#include "wx/univ/theme.h"
|
||||
|
||||
class wxMonoColourScheme;
|
||||
|
||||
@@ -1074,4 +1075,4 @@ wxBitmap wxMonoArtProvider::CreateBitmap(const wxArtID& WXUNUSED(id),
|
||||
return wxNullBitmap;
|
||||
}
|
||||
|
||||
#endif // wxUSE_ALL_THEMES || wxUSE_THEME_MONO
|
||||
#endif // wxUSE_THEME_MONO
|
||||
|
@@ -24,7 +24,9 @@
|
||||
#pragma hdrstop
|
||||
#endif
|
||||
|
||||
#if wxUSE_ALL_THEMES || wxUSE_THEME_WIN32
|
||||
#include "wx/univ/theme.h"
|
||||
|
||||
#if wxUSE_THEME_WIN32
|
||||
|
||||
#ifndef WX_PRECOMP
|
||||
#include "wx/timer.h"
|
||||
@@ -67,7 +69,6 @@
|
||||
#include "wx/univ/inpcons.h"
|
||||
#include "wx/univ/inphand.h"
|
||||
#include "wx/univ/colschem.h"
|
||||
#include "wx/univ/theme.h"
|
||||
|
||||
// ----------------------------------------------------------------------------
|
||||
// constants
|
||||
@@ -3775,4 +3776,4 @@ bool wxWin32FrameInputHandler::HandleActivation(wxInputConsumer *consumer,
|
||||
return wxStdInputHandler::HandleActivation(consumer, activated);
|
||||
}
|
||||
|
||||
#endif // wxUSE_ALL_THEMES || wxUSE_THEME_WIN32
|
||||
#endif // wxUSE_THEME_WIN32
|
||||
|
Reference in New Issue
Block a user