Fix wxMSW build with wxUSE_UXTHEME=0

Include wx/msw/uxtheme.h even when wxUSE_UXTHEME == 0 because
wxUxThemeEngine::GetIfActive() and MARGINS struct are still used even then in
anybutton.cpp and menuitem.cpp respectively.
This commit is contained in:
Vadim Zeitlin
2016-02-18 22:52:53 +01:00
parent 3351404c2c
commit 5fdddc0b16
2 changed files with 2 additions and 6 deletions

View File

@@ -47,10 +47,7 @@
#include "wx/msw/private.h"
#include "wx/msw/dc.h"
#if wxUSE_UXTHEME
#include "wx/msw/uxtheme.h"
#endif
#include "wx/msw/uxtheme.h"
// ---------------------------------------------------------------------------
// macro