Applied patch [ 1039940 ] Prevent redefinition of MM_xxx mapping mode constants
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29701 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
fd76d9633a
commit
d2b1753d16
3 changed files with 6 additions and 0 deletions
|
|
@ -25,6 +25,7 @@ class wxDC;
|
|||
// constants
|
||||
//-----------------------------------------------------------------------------
|
||||
|
||||
#ifndef MM_TEXT
|
||||
#define MM_TEXT 0
|
||||
#define MM_ISOTROPIC 1
|
||||
#define MM_ANISOTROPIC 2
|
||||
|
|
@ -33,6 +34,7 @@ class wxDC;
|
|||
#define MM_TWIPS 5
|
||||
#define MM_POINTS 6
|
||||
#define MM_METRIC 7
|
||||
#endif
|
||||
|
||||
//-----------------------------------------------------------------------------
|
||||
// wxDC
|
||||
|
|
|
|||
|
|
@ -25,6 +25,7 @@ class wxDC;
|
|||
// constants
|
||||
//-----------------------------------------------------------------------------
|
||||
|
||||
#ifndef MM_TEXT
|
||||
#define MM_TEXT 0
|
||||
#define MM_ISOTROPIC 1
|
||||
#define MM_ANISOTROPIC 2
|
||||
|
|
@ -33,6 +34,7 @@ class wxDC;
|
|||
#define MM_TWIPS 5
|
||||
#define MM_POINTS 6
|
||||
#define MM_METRIC 7
|
||||
#endif
|
||||
|
||||
//-----------------------------------------------------------------------------
|
||||
// wxDC
|
||||
|
|
|
|||
|
|
@ -28,6 +28,7 @@ class WXDLLEXPORT wxDC;
|
|||
// constants
|
||||
//-----------------------------------------------------------------------------
|
||||
|
||||
#ifndef MM_TEXT
|
||||
#define MM_TEXT 0
|
||||
#define MM_ISOTROPIC 1
|
||||
#define MM_ANISOTROPIC 2
|
||||
|
|
@ -36,6 +37,7 @@ class WXDLLEXPORT wxDC;
|
|||
#define MM_TWIPS 5
|
||||
#define MM_POINTS 6
|
||||
#define MM_METRIC 7
|
||||
#endif
|
||||
|
||||
//-----------------------------------------------------------------------------
|
||||
// wxDC
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue