No changes, just replace #defines with enums in printing sample.
This makes it more convenient to define menu ids with consecutive values as will be done in the next commit. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@67618 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -104,16 +104,18 @@ private:
|
|||||||
|
|
||||||
|
|
||||||
// constants:
|
// constants:
|
||||||
|
enum
|
||||||
|
{
|
||||||
|
WXPRINT_PAGE_SETUP = 103,
|
||||||
|
|
||||||
#define WXPRINT_PAGE_SETUP 103
|
WXPRINT_PRINT_PS,
|
||||||
|
WXPRINT_PAGE_SETUP_PS,
|
||||||
|
WXPRINT_PREVIEW_PS,
|
||||||
|
|
||||||
#define WXPRINT_PRINT_PS 105
|
WXPRINT_ANGLEUP,
|
||||||
#define WXPRINT_PAGE_SETUP_PS 107
|
WXPRINT_ANGLEDOWN
|
||||||
#define WXPRINT_PREVIEW_PS 108
|
|
||||||
|
|
||||||
#define WXPRINT_ANGLEUP 110
|
|
||||||
#define WXPRINT_ANGLEDOWN 111
|
|
||||||
|
|
||||||
#ifdef __WXMAC__
|
#ifdef __WXMAC__
|
||||||
#define WXPRINT_PAGE_MARGINS 112
|
, WXPRINT_PAGE_MARGINS
|
||||||
#endif
|
#endif
|
||||||
|
};
|
||||||
|
Reference in New Issue
Block a user