Move fallback BS_TYPEMASK definition to wx/msw/missing.h

It can be useful in source files other than src/msw/control.cpp too.
This commit is contained in:
Vadim Zeitlin
2017-12-10 02:24:13 +01:00
parent badf6bc300
commit 588ae3744c
2 changed files with 7 additions and 6 deletions

View File

@@ -141,6 +141,11 @@
#define QS_ALLPOSTMESSAGE 0
#endif
// Missing from MinGW 4.8 SDK headers.
#ifndef BS_TYPEMASK
#define BS_TYPEMASK 0xf
#endif
// ----------------------------------------------------------------------------
// menu stuff
// ----------------------------------------------------------------------------

View File

@@ -35,6 +35,8 @@
#include "wx/log.h"
#include "wx/settings.h"
#include "wx/ctrlsub.h"
#include "wx/msw/private.h"
#include "wx/msw/missing.h"
#endif
#if wxUSE_LISTCTRL
@@ -46,16 +48,10 @@
#endif // wxUSE_TREECTRL
#include "wx/renderer.h"
#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
#define BS_TYPEMASK 0xf
#endif
// ----------------------------------------------------------------------------
// wxWin macros
// ----------------------------------------------------------------------------