X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/387ebd3eb755ea6ca076708cfb25fe56249bf787..36b79d445d08e08776e721d71a832f38daa7fa8c:/include/wx/mgl/dc.h?ds=sidebyside diff --git a/include/wx/mgl/dc.h b/include/wx/mgl/dc.h index 9e0cccd454..db07868a65 100644 --- a/include/wx/mgl/dc.h +++ b/include/wx/mgl/dc.h @@ -11,12 +11,11 @@ #ifndef _WX_DC_H_ #define _WX_DC_H_ -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "dc.h" #endif #include "wx/defs.h" -#include "wx/dc.h" #include "wx/region.h" //----------------------------------------------------------------------------- @@ -29,6 +28,7 @@ class WXDLLEXPORT wxDC; // constants //----------------------------------------------------------------------------- +#ifndef MM_TEXT #define MM_TEXT 0 #define MM_ISOTROPIC 1 #define MM_ANISOTROPIC 2 @@ -37,6 +37,7 @@ class WXDLLEXPORT wxDC; #define MM_TWIPS 5 #define MM_POINTS 6 #define MM_METRIC 7 +#endif //----------------------------------------------------------------------------- // wxDC