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:
@@ -48,6 +48,10 @@
|
|||||||
#define DT_HIDEPREFIX 0x00100000
|
#define DT_HIDEPREFIX 0x00100000
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#ifndef DSS_HIDEPREFIX
|
||||||
|
#define DSS_HIDEPREFIX 0x0200
|
||||||
|
#endif
|
||||||
|
|
||||||
// Needed by toplevel.cpp
|
// Needed by toplevel.cpp
|
||||||
#ifndef UIS_SET
|
#ifndef UIS_SET
|
||||||
#define UIS_SET 1
|
#define UIS_SET 1
|
||||||
|
@@ -103,10 +103,6 @@ using namespace wxMSWImpl;
|
|||||||
#define ODS_NOFOCUSRECT 0x0200
|
#define ODS_NOFOCUSRECT 0x0200
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifndef DT_HIDEPREFIX
|
|
||||||
#define DT_HIDEPREFIX 0x00100000
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#if wxUSE_UXTHEME
|
#if wxUSE_UXTHEME
|
||||||
extern wxWindowMSW *wxWindowBeingErased; // From src/msw/window.cpp
|
extern wxWindowMSW *wxWindowBeingErased; // From src/msw/window.cpp
|
||||||
#endif // wxUSE_UXTHEME
|
#endif // wxUSE_UXTHEME
|
||||||
|
@@ -149,10 +149,6 @@ private:
|
|||||||
#define SPI_GETKEYBOARDCUES 0x100A
|
#define SPI_GETKEYBOARDCUES 0x100A
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifndef DSS_HIDEPREFIX
|
|
||||||
#define DSS_HIDEPREFIX 0x0200
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#if wxUSE_UXTHEME
|
#if wxUSE_UXTHEME
|
||||||
|
|
||||||
enum MENUPARTS
|
enum MENUPARTS
|
||||||
|
@@ -23,10 +23,6 @@
|
|||||||
#include "wx/msw/private/dc.h"
|
#include "wx/msw/private/dc.h"
|
||||||
#include "wx/msw/wrapcctl.h" // for HIMAGELIST
|
#include "wx/msw/wrapcctl.h" // for HIMAGELIST
|
||||||
|
|
||||||
#ifndef DSS_HIDEPREFIX
|
|
||||||
#define DSS_HIDEPREFIX 0x0200
|
|
||||||
#endif
|
|
||||||
|
|
||||||
// ----------------------------------------------------------------------------
|
// ----------------------------------------------------------------------------
|
||||||
// constants for base class
|
// constants for base class
|
||||||
// ----------------------------------------------------------------------------
|
// ----------------------------------------------------------------------------
|
||||||
|
Reference in New Issue
Block a user