Compilation fix for wxMSW build with most features disabled.

Include wx/msw/ownerdrawnbutton.h outside of WX_PRECOMP check to ensure it's
always included.

Closes #16380.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@76929 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin 2014-07-15 13:26:55 +00:00
parent 789f1a7975
commit a325ade884

View File

@ -35,7 +35,6 @@
#include "wx/log.h"
#include "wx/settings.h"
#include "wx/ctrlsub.h"
#include "wx/msw/ownerdrawnbutton.h"
#endif
#if wxUSE_LISTCTRL
@ -50,6 +49,7 @@
#include "wx/msw/private.h"
#include "wx/msw/uxtheme.h"
#include "wx/msw/dc.h" // for wxDCTemp
#include "wx/msw/ownerdrawnbutton.h"
// Missing from MinGW 4.8 SDK headers.
#ifndef BS_TYPEMASK