#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"
#include "wx/univ/inpcons.h"
#include "wx/univ/inphand.h"
#include "wx/univ/colschem.h"
-#include "wx/univ/theme.h"
class WXDLLEXPORT wxGTKMenuGeometryInfo;
#endif // wxUSE_TEXTCTRL
-#endif // wxUSE_ALL_THEMES || wxUSE_THEME_GTK
+#endif // wxUSE_THEME_GTK
#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"
#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
// ----------------------------------------------------------------------------
}
}
-#endif // wxUSE_ALL_THEMES || wxUSE_THEME_METAL
+#endif // wxUSE_THEME_METAL
#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"
#include "wx/univ/stdrend.h"
#include "wx/univ/inphand.h"
#include "wx/univ/colschem.h"
-#include "wx/univ/theme.h"
class wxMonoColourScheme;
return wxNullBitmap;
}
-#endif // wxUSE_ALL_THEMES || wxUSE_THEME_MONO
+#endif // wxUSE_THEME_MONO
#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"
#include "wx/univ/inpcons.h"
#include "wx/univ/inphand.h"
#include "wx/univ/colschem.h"
-#include "wx/univ/theme.h"
// ----------------------------------------------------------------------------
// constants
return wxStdInputHandler::HandleActivation(consumer, activated);
}
-#endif // wxUSE_ALL_THEMES || wxUSE_THEME_WIN32
+#endif // wxUSE_THEME_WIN32