X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/ba0185b55709e92abe507a0d51afce518767a51f..da8b1d4b3b535aba94d04494f5b6e2b3e47901ee:/include/wx/defs.h diff --git a/include/wx/defs.h b/include/wx/defs.h index 0769ee204f..7f43f5391a 100644 --- a/include/wx/defs.h +++ b/include/wx/defs.h @@ -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 */