]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/defs.h
Allow using wxGraphicsContext with MinGW if gdiplus.h is available.
[wxWidgets.git] / include / wx / defs.h
index 0769ee204fdee3f14eabaa77d149fa4c2a0e3038..7f43f5391adc3417e3b6f154782dc23edf0bae24 100644 (file)
@@ -2543,10 +2543,11 @@ typedef enum
 } wxPaperSize;
 
 /* Printing orientation */
-#ifndef wxPORTRAIT
-#define wxPORTRAIT      1
-#define wxLANDSCAPE     2
-#endif
+enum wxPrintOrientation
+{
+   wxPORTRAIT = 1,
+   wxLANDSCAPE
+};
 
 /* Duplex printing modes
  */