+// Polygon filling mode
+enum
+{
+ wxODDEVEN_RULE = 1,
+ wxWINDING_RULE
+};
+
+// ToolPanel in wxFrame (VZ: unused?)
+enum
+{
+ wxTOOL_TOP = 1,
+ wxTOOL_BOTTOM,
+ wxTOOL_LEFT,
+ wxTOOL_RIGHT
+};
+
+// the values of the format constants should be the same as correspondign
+// CF_XXX constants in Windows API
+enum wxDataFormatId
+{
+ wxDF_INVALID = 0,
+ wxDF_TEXT = 1, /* CF_TEXT */
+ wxDF_BITMAP = 2, /* CF_BITMAP */
+ wxDF_METAFILE = 3, /* CF_METAFILEPICT */
+ wxDF_SYLK = 4,
+ wxDF_DIF = 5,
+ wxDF_TIFF = 6,
+ wxDF_OEMTEXT = 7, /* CF_OEMTEXT */
+ wxDF_DIB = 8, /* CF_DIB */
+ wxDF_PALETTE = 9,
+ wxDF_PENDATA = 10,
+ wxDF_RIFF = 11,
+ wxDF_WAVE = 12,
+ wxDF_UNICODETEXT = 13,
+ wxDF_ENHMETAFILE = 14,
+ wxDF_FILENAME = 15, /* CF_HDROP */
+ wxDF_LOCALE = 16,
+ wxDF_PRIVATE = 20,
+ wxDF_HTML = 30, /* Note: does not correspond to CF_ constant */
+ wxDF_MAX
+};
+
+// Virtual keycodes
+enum wxKeyCode
+{
+ WXK_BACK = 8,
+ WXK_TAB = 9,
+ WXK_RETURN = 13,
+ WXK_ESCAPE = 27,
+ WXK_SPACE = 32,
+ WXK_DELETE = 127,
+
+ WXK_START = 300,
+ WXK_LBUTTON,
+ WXK_RBUTTON,
+ WXK_CANCEL,
+ WXK_MBUTTON,
+ WXK_CLEAR,
+ WXK_SHIFT,
+ WXK_ALT,
+ WXK_CONTROL,
+ WXK_MENU,
+ WXK_PAUSE,
+ WXK_CAPITAL,
+ WXK_PRIOR, // Page up
+ WXK_NEXT, // Page down
+ WXK_END,
+ WXK_HOME,
+ WXK_LEFT,
+ WXK_UP,
+ WXK_RIGHT,
+ WXK_DOWN,
+ WXK_SELECT,
+ WXK_PRINT,
+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K_NUMPAD_SEPARATOR,
+ WXK_NUMPAD_SUBTRACT,
+ WXK_NUMPAD_DECIMAL,
+ WXK_NUMPAD_DIVIDE
+};
+
+// Mapping modes (same values as used by Windows, don't change)
+enum
+{
+ wxMM_TEXT = 1,
+ wxMM_LOMETRIC,
+ wxMM_HIMETRIC,
+ wxMM_LOENGLISH,
+ wxMM_HIENGLISH,
+ wxMM_TWIPS,
+ wxMM_ISOTROPIC,
+ wxMM_ANISOTROPIC,
+ wxMM_POINTS,
+ wxMM_METRIC
+};
+
+/* Shortcut for easier dialog-unit-to-pixel conversion */
+#define wxDLG_UNIT(parent, pt) parent->ConvertDialogToPixels(pt)
+
+/* Paper types */
+typedef enum
+{
+ wxPAPER_NONE, // Use specific dimensions
+ wxPAPER_LETTER, // Letter, 8 1/2 by 11 inches
+ wxPAPER_LEGAL, // Legal, 8 1/2 by 14 inches
+ wxPAPER_A4, // A4 Sheet, 210 by 297 millimeters
+ wxPAPER_CSHEET, // C Sheet, 17 by 22 inches
+ wxPAPER_DSHEET, // D Sheet, 22 by 34 inches
+ wxPAPER_ESHEET, // E Sheet, 34 by 44 inches
+ wxPAPER_LETTERSMALL, // Letter Small, 8 1/2 by 11 inches
+ wxPAPER_TABLOID, // Tabloid, 11 by 17 inches
+ wxPAPER_LEDGER, // Ledger, 17 by 11 inches
+ wxPAPER_STATEMENT, // Statement, 5 1/2 by 8 1/2 inches
+ wxPAPER_EXECUTIVE, // Executive, 7 1/4 by 10 1/2 inches
+ wxPAPER_A3, // A3 sheet, 297 by 420 millimeters
+ wxPAPER_A4SMALL, // A4 small sheet, 210 by 297 millimeters
+ wxPAPER_A5, // A5 sheet, 148 by 210 millimeters
+ wxPAPER_B4, // B4 sheet, 250 by 354 millimeters
+ wxPAPER_B5, // B5 sheet, 182-by-257-millimeter paper
+ wxPAPER_FOLIO, // Folio, 8-1/2-by-13-inch paper
+ wxPAPER_QUARTO, // Quarto, 215-by-275-millimeter paper
+ wxPAPER_10X14, // 10-by-14-inch sheet
+ wxPAPER_11X17, // 11-by-17-inch sheet
+ wxPAPER_NOTE, // Note, 8 1/2 by 11 inches
+ wxPAPER_ENV_9, // #9 Envelope, 3 7/8 by 8 7/8 inches
+ wxPAPER_ENV_10, // #10 Envelope, 4 1/8 by 9 1/2 inches
+ wxPAPER_ENV_11, // #11 Envelope, 4 1/2 by 10 3/8 inches
+ wxPAPER_ENV_12, // #12 Envelope, 4 3/4 by 11 inches
+ wxPAPER_ENV_14, // #14 Envelope, 5 by 11 1/2 inches
+ wxPAPER_ENV_DL, // DL Envelope, 110 by 220 millimeters
+ wxPAPER_ENV_C5, // C5 Envelope, 162 by 229 millimeters
+ wxPAPER_ENV_C3, // C3 Envelope, 324 by 458 millimeters
+ wxPAPER_ENV_C4, // C4 Envelope, 229 by 324 millimeters
+ wxPAPER_ENV_C6, // C6 Envelope, 114 by 162 millimeters
+ wxPAPER_ENV_C65, // C65 Envelope, 114 by 229 millimeters
+ wxPAPER_ENV_B4, // B4 Envelope, 250 by 353 millimeters
+ wxPAPER_ENV_B5, // B5 Envelope, 176 by 250 millimeters
+ wxPAPER_ENV_B6, // B6 Envelope, 176 by 125 millimeters
+ wxPAPER_ENV_ITALY, // Italy Envelope, 110 by 230 millimeters
+ wxPAPER_ENV_MONARCH, // Monarch Envelope, 3 7/8 by 7 1/2 inches
+ wxPAPER_ENV_PERSONAL, // 6 3/4 Envelope, 3 5/8 by 6 1/2 inches
+ wxPAPER_FANFOLD_US, // US Std Fanfold, 14 7/8 by 11 inches
+ wxPAPER_FANFOLD_STD_GERMAN, // German Std Fanfold, 8 1/2 by 12 inches
+ wxPAPER_FANFOLD_LGL_GERMAN, // German Legal Fanfold, 8 1/2 by 13 inches
+
+ wxPAPER_ISO_B4, // B4 (ISO) 250 x 353 mm
+ wxPAPER_JAPANESE_POSTCARD, // Japanese Postcard 100 x 148 mm
+ wxPAPER_9X11, // 9 x 11 in
+ wxPAPER_10X11, // 10 x 11 in
+ wxPAPER_15X11, // 15 x 11 in
+ wxPAPER_ENV_INVITE, // Envelope Invite 220 x 220 mm
+ wxPAPER_LETTER_EXTRA, // Letter Extra 9 \275 x 12 in
+ wxPAPER_LEGAL_EXTRA, // Legal Extra 9 \275 x 15 in
+ wxPAPER_TABLOID_EXTRA, // Tabloid Extra 11.69 x 18 in
+ wxPAPER_A4_EXTRA, // A4 Extra 9.27 x 12.69 in
+ wxPAPER_LETTER_TRANSVERSE, // Letter Transverse 8 \275 x 11 in
+ wxPAPER_A4_TRANSVERSE, // A4 Transverse 210 x 297 mm
+ wxPAPER_LETTER_EXTRA_TRANSVERSE, // Letter Extra Transverse 9\275 x 12 in
+ wxPAPER_A_PLUS, // SuperA/SuperA/A4 227 x 356 mm
+ wxPAPER_B_PLUS, // SuperB/SuperB/A3 305 x 487 mm
+ wxPAPER_LETTER_PLUS, // Letter Plus 8.5 x 12.69 in
+ wxPAPER_A4_PLUS, // A4 Plus 210 x 330 mm
+ wxPAPER_A5_TRANSVERSE, // A5 Transverse 148 x 210 mm
+ wxPAPER_B5_TRANSVERSE, // B5 (JIS) Transverse 182 x 257 mm
+ wxPAPER_A3_EXTRA, // A3 Extra 322 x 445 mm
+ wxPAPER_A5_EXTRA, // A5 Extra 174 x 235 mm
+ wxPAPER_B5_EXTRA, // B5 (ISO) Extra 201 x 276 mm
+ wxPAPER_A2, // A2 420 x 594 mm
+ wxPAPER_A3_TRANSVERSE, // A3 Transverse 297 x 420 mm
+ wxPAPER_A3_EXTRA_TRANSVERSE // A3 Extra Transverse 322 x 445 mm
+
+} wxPaperSize;
+
+/* Printing orientation */