Move DSS_HIDEPREFIX fallback definition to the central header.

Do it only once now that it's used in 3 different places (it recently started
to be used in src/msw/anybutton.cpp as well) instead of defining it thrice.

This also fixes MinGW build.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@75930 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin 2014-02-18 23:36:34 +00:00
parent 8587e491f9
commit b6be374d72
4 changed files with 4 additions and 12 deletions

View File

@ -48,6 +48,10 @@
#define DT_HIDEPREFIX 0x00100000
#endif
#ifndef DSS_HIDEPREFIX
#define DSS_HIDEPREFIX 0x0200
#endif
// Needed by toplevel.cpp
#ifndef UIS_SET
#define UIS_SET 1

View File

@ -103,10 +103,6 @@ using namespace wxMSWImpl;
#define ODS_NOFOCUSRECT 0x0200
#endif
#ifndef DT_HIDEPREFIX
#define DT_HIDEPREFIX 0x00100000
#endif
#if wxUSE_UXTHEME
extern wxWindowMSW *wxWindowBeingErased; // From src/msw/window.cpp
#endif // wxUSE_UXTHEME

View File

@ -149,10 +149,6 @@ private:
#define SPI_GETKEYBOARDCUES 0x100A
#endif
#ifndef DSS_HIDEPREFIX
#define DSS_HIDEPREFIX 0x0200
#endif
#if wxUSE_UXTHEME
enum MENUPARTS

View File

@ -23,10 +23,6 @@
#include "wx/msw/private/dc.h"
#include "wx/msw/wrapcctl.h" // for HIMAGELIST
#ifndef DSS_HIDEPREFIX
#define DSS_HIDEPREFIX 0x0200
#endif
// ----------------------------------------------------------------------------
// constants for base class
// ----------------------------------------------------------------------------