X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/ba0185b55709e92abe507a0d51afce518767a51f..cde23b64b5194f0d71cf16c85ea33d28419c815f:/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 */