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:
Vadim Zeitlin 2011-04-26 22:57:23 +00:00
parent ab797d5d34
commit c25f8d007d

View File

@ -104,16 +104,18 @@ private:
// 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
#define WXPRINT_PAGE_SETUP_PS 107
#define WXPRINT_PREVIEW_PS 108
#define WXPRINT_ANGLEUP 110
#define WXPRINT_ANGLEDOWN 111
WXPRINT_ANGLEUP,
WXPRINT_ANGLEDOWN
#ifdef __WXMAC__
#define WXPRINT_PAGE_MARGINS 112
, WXPRINT_PAGE_MARGINS
#endif
};