diff --git a/sip/cpp/_core.sbf b/sip/cpp/_core.sbf new file mode 100644 index 00000000..538cd8ad --- /dev/null +++ b/sip/cpp/_core.sbf @@ -0,0 +1,3 @@ +target = _core +sources = sip_corecmodule.cpp sip_corewxRect2DDouble.cpp sip_corewxPoint2DDouble.cpp sip_corewxRealPoint.cpp sip_corewxRect.cpp sip_corewxSize.cpp sip_corewxPoint.cpp sip_corewxClassInfo.cpp sip_corewxObject.cpp sip_corewxRefCounter.cpp sip_corewxString.cpp +headers = sipAPI_core.h diff --git a/sip/cpp/sipAPI_core.h b/sip/cpp/sipAPI_core.h new file mode 100644 index 00000000..f7c6d780 --- /dev/null +++ b/sip/cpp/sipAPI_core.h @@ -0,0 +1,1805 @@ +/* + * Internal module API header file. + * + * Generated by SIP 4.12-snapshot-eac351f5cca7 on Wed Nov 10 15:32:07 2010 + * + * Copyright: (c) 2010 by Total Control Software + * Licence: wxWindows license + */ + +#ifndef __coreAPI_H +#define __coreAPI_H + + +#include +#line 13 "sip/gen/gdicmn.sip" +#include +#line 13 "sip/gen/geometry.sip" +#include +#line 20 "sipAPI_core.h" + +/* + * Convenient names to refer to various strings defined in this module. + * Only the class names are part of the public API. + */ +#define sipNameNr_PAPER_DBL_JAPANESE_POSTCARD_ROTATED 0 +#define sipName_PAPER_DBL_JAPANESE_POSTCARD_ROTATED &sipStrings__core[0] +#define sipNameNr_PAPER_JAPANESE_POSTCARD_ROTATED 36 +#define sipName_PAPER_JAPANESE_POSTCARD_ROTATED &sipStrings__core[36] +#define sipNameNr_PAPER_LETTER_EXTRA_TRANSVERSE 68 +#define sipName_PAPER_LETTER_EXTRA_TRANSVERSE &sipStrings__core[68] +#define sipNameNr_RESERVE_SPACE_EVEN_IF_HIDDEN 98 +#define sipName_RESERVE_SPACE_EVEN_IF_HIDDEN &sipStrings__core[98] +#define sipNameNr_PAPER_DBL_JAPANESE_POSTCARD 127 +#define sipName_PAPER_DBL_JAPANESE_POSTCARD &sipStrings__core[127] +#define sipNameNr_ID_MDI_WINDOW_ARRANGE_ICONS 155 +#define sipName_ID_MDI_WINDOW_ARRANGE_ICONS &sipStrings__core[155] +#define sipNameNr_PAPER_A3_EXTRA_TRANSVERSE 183 +#define sipName_PAPER_A3_EXTRA_TRANSVERSE &sipStrings__core[183] +#define sipNameNr_HT_SCROLLBAR_ARROW_PAGE_2 209 +#define sipName_HT_SCROLLBAR_ARROW_PAGE_2 &sipStrings__core[209] +#define sipNameNr_HT_SCROLLBAR_ARROW_PAGE_1 235 +#define sipName_HT_SCROLLBAR_ARROW_PAGE_1 &sipStrings__core[235] +#define sipNameNr_HT_SCROLLBAR_ARROW_LINE_2 261 +#define sipName_HT_SCROLLBAR_ARROW_LINE_2 &sipStrings__core[261] +#define sipNameNr_HT_SCROLLBAR_ARROW_LINE_1 287 +#define sipName_HT_SCROLLBAR_ARROW_LINE_1 &sipStrings__core[287] +#define sipNameNr_PAPER_JENV_CHOU4_ROTATED 313 +#define sipName_PAPER_JENV_CHOU4_ROTATED &sipStrings__core[313] +#define sipNameNr_PAPER_JENV_CHOU3_ROTATED 338 +#define sipName_PAPER_JENV_CHOU3_ROTATED &sipStrings__core[338] +#define sipNameNr_PAPER_JENV_KAKU3_ROTATED 363 +#define sipName_PAPER_JENV_KAKU3_ROTATED &sipStrings__core[363] +#define sipNameNr_PAPER_JENV_KAKU2_ROTATED 388 +#define sipName_PAPER_JENV_KAKU2_ROTATED &sipStrings__core[388] +#define sipNameNr_PAPER_FANFOLD_LGL_GERMAN 413 +#define sipName_PAPER_FANFOLD_LGL_GERMAN &sipStrings__core[413] +#define sipNameNr_PAPER_FANFOLD_STD_GERMAN 438 +#define sipName_PAPER_FANFOLD_STD_GERMAN &sipStrings__core[438] +#define sipNameNr_HT_WINDOW_HORZ_SCROLLBAR 463 +#define sipName_HT_WINDOW_HORZ_SCROLLBAR &sipStrings__core[463] +#define sipNameNr_HT_WINDOW_VERT_SCROLLBAR 488 +#define sipName_HT_WINDOW_VERT_SCROLLBAR &sipStrings__core[488] +#define sipNameNr_PAPER_JENV_YOU4_ROTATED 513 +#define sipName_PAPER_JENV_YOU4_ROTATED &sipStrings__core[513] +#define sipNameNr_PAPER_LETTER_TRANSVERSE 537 +#define sipName_PAPER_LETTER_TRANSVERSE &sipStrings__core[537] +#define sipNameNr_PAPER_JAPANESE_POSTCARD 561 +#define sipName_PAPER_JAPANESE_POSTCARD &sipStrings__core[561] +#define sipNameNr_ID_MDI_WINDOW_TILE_VERT 585 +#define sipName_ID_MDI_WINDOW_TILE_VERT &sipStrings__core[585] +#define sipNameNr_ID_MDI_WINDOW_TILE_HORZ 609 +#define sipName_ID_MDI_WINDOW_TILE_HORZ &sipStrings__core[609] +#define sipNameNr_ALIGN_CENTRE_HORIZONTAL 633 +#define sipName_ALIGN_CENTRE_HORIZONTAL &sipStrings__core[633] +#define sipNameNr_ALIGN_CENTER_HORIZONTAL 657 +#define sipName_ALIGN_CENTER_HORIZONTAL &sipStrings__core[657] +#define sipNameNr_PAPER_PENV_10_ROTATED 681 +#define sipName_PAPER_PENV_10_ROTATED &sipStrings__core[681] +#define sipNameNr_PAPER_P32KBIG_ROTATED 703 +#define sipName_PAPER_P32KBIG_ROTATED &sipStrings__core[703] +#define sipNameNr_ID_MDI_WINDOW_CASCADE 725 +#define sipName_ID_MDI_WINDOW_CASCADE &sipStrings__core[725] +#define sipNameNr_ALIGN_CENTRE_VERTICAL 747 +#define sipName_ALIGN_CENTRE_VERTICAL &sipStrings__core[747] +#define sipNameNr_ALIGN_CENTER_VERTICAL 769 +#define sipName_ALIGN_CENTER_VERTICAL &sipStrings__core[769] +#define sipNameNr_CURSOR_QUESTION_ARROW 791 +#define sipName_CURSOR_QUESTION_ARROW &sipStrings__core[791] +#define sipNameNr_BITMAP_TYPE_MACCURSOR 813 +#define sipName_BITMAP_TYPE_MACCURSOR &sipStrings__core[813] +#define sipNameNr_PAPER_PENV_9_ROTATED 835 +#define sipName_PAPER_PENV_9_ROTATED &sipStrings__core[835] +#define sipNameNr_PAPER_PENV_8_ROTATED 856 +#define sipName_PAPER_PENV_8_ROTATED &sipStrings__core[856] +#define sipNameNr_PAPER_PENV_7_ROTATED 877 +#define sipName_PAPER_PENV_7_ROTATED &sipStrings__core[877] +#define sipNameNr_PAPER_PENV_6_ROTATED 898 +#define sipName_PAPER_PENV_6_ROTATED &sipStrings__core[898] +#define sipNameNr_PAPER_PENV_5_ROTATED 919 +#define sipName_PAPER_PENV_5_ROTATED &sipStrings__core[919] +#define sipNameNr_PAPER_PENV_4_ROTATED 940 +#define sipName_PAPER_PENV_4_ROTATED &sipStrings__core[940] +#define sipNameNr_PAPER_PENV_3_ROTATED 961 +#define sipName_PAPER_PENV_3_ROTATED &sipStrings__core[961] +#define sipNameNr_PAPER_PENV_2_ROTATED 982 +#define sipName_PAPER_PENV_2_ROTATED &sipStrings__core[982] +#define sipNameNr_PAPER_PENV_1_ROTATED 1003 +#define sipName_PAPER_PENV_1_ROTATED &sipStrings__core[1003] +#define sipNameNr_PAPER_B6_JIS_ROTATED 1024 +#define sipName_PAPER_B6_JIS_ROTATED &sipStrings__core[1024] +#define sipNameNr_PAPER_B5_JIS_ROTATED 1045 +#define sipName_PAPER_B5_JIS_ROTATED &sipStrings__core[1045] +#define sipNameNr_PAPER_B4_JIS_ROTATED 1066 +#define sipName_PAPER_B4_JIS_ROTATED &sipStrings__core[1066] +#define sipNameNr_PAPER_LETTER_ROTATED 1087 +#define sipName_PAPER_LETTER_ROTATED &sipStrings__core[1087] +#define sipNameNr_WXK_NUMPAD_SEPARATOR 1108 +#define sipName_WXK_NUMPAD_SEPARATOR &sipStrings__core[1108] +#define sipNameNr_SIZER_FLAG_BITS_MASK 1129 +#define sipName_SIZER_FLAG_BITS_MASK &sipStrings__core[1129] +#define sipNameNr_GetClientDisplayRect 1150 +#define sipName_GetClientDisplayRect &sipStrings__core[1150] +#define sipNameNr_CURSOR_MIDDLE_BUTTON 1171 +#define sipName_CURSOR_MIDDLE_BUTTON &sipStrings__core[1171] +#define sipNameNr_BITMAP_TYPE_XPM_DATA 1192 +#define sipName_BITMAP_TYPE_XPM_DATA &sipStrings__core[1192] +#define sipNameNr_BITMAP_TYPE_XBM_DATA 1213 +#define sipName_BITMAP_TYPE_XBM_DATA &sipStrings__core[1213] +#define sipNameNr_PAPER_A3_TRANSVERSE 1234 +#define sipName_PAPER_A3_TRANSVERSE &sipStrings__core[1234] +#define sipNameNr_PAPER_B5_TRANSVERSE 1254 +#define sipName_PAPER_B5_TRANSVERSE &sipStrings__core[1254] +#define sipNameNr_PAPER_A5_TRANSVERSE 1274 +#define sipName_PAPER_A5_TRANSVERSE &sipStrings__core[1274] +#define sipNameNr_PAPER_A4_TRANSVERSE 1294 +#define sipName_PAPER_A4_TRANSVERSE &sipStrings__core[1294] +#define sipNameNr_PAPER_TABLOID_EXTRA 1314 +#define sipName_PAPER_TABLOID_EXTRA &sipStrings__core[1314] +#define sipNameNr_WXK_NUMPAD_SUBTRACT 1334 +#define sipName_WXK_NUMPAD_SUBTRACT &sipStrings__core[1334] +#define sipNameNr_WXK_NUMPAD_MULTIPLY 1354 +#define sipName_WXK_NUMPAD_MULTIPLY &sipStrings__core[1354] +#define sipNameNr_WXK_NUMPAD_PAGEDOWN 1374 +#define sipName_WXK_NUMPAD_PAGEDOWN &sipStrings__core[1374] +#define sipNameNr_ID_MDI_WINDOW_FIRST 1394 +#define sipName_ID_MDI_WINDOW_FIRST &sipStrings__core[1394] +#define sipNameNr_CURSOR_RIGHT_BUTTON 1414 +#define sipName_CURSOR_RIGHT_BUTTON &sipStrings__core[1414] +#define sipNameNr_BITMAP_TYPE_INVALID 1434 +#define sipName_BITMAP_TYPE_INVALID &sipStrings__core[1434] +#define sipNameNr_UPDATE_UI_FROMIDLE 1454 +#define sipName_UPDATE_UI_FROMIDLE &sipStrings__core[1454] +#define sipNameNr_PRINT_MODE_PRINTER 1473 +#define sipName_PRINT_MODE_PRINTER &sipStrings__core[1473] +#define sipNameNr_PRINT_MODE_PREVIEW 1492 +#define sipName_PRINT_MODE_PREVIEW &sipStrings__core[1492] +#define sipNameNr_wxPrintOrientation 1511 +#define sipName_wxPrintOrientation &sipStrings__core[1511] +#define sipNameNr_PAPER_P32K_ROTATED 1530 +#define sipName_PAPER_P32K_ROTATED &sipStrings__core[1530] +#define sipNameNr_PAPER_P16K_ROTATED 1549 +#define sipName_PAPER_P16K_ROTATED &sipStrings__core[1549] +#define sipNameNr_PAPER_LETTER_EXTRA 1568 +#define sipName_PAPER_LETTER_EXTRA &sipStrings__core[1568] +#define sipNameNr_PAPER_ENV_PERSONAL 1587 +#define sipName_PAPER_ENV_PERSONAL &sipStrings__core[1587] +#define sipNameNr_WXK_NUMPAD_DECIMAL 1606 +#define sipName_WXK_NUMPAD_DECIMAL &sipStrings__core[1606] +#define sipNameNr_HT_SCROLLBAR_BAR_2 1625 +#define sipName_HT_SCROLLBAR_BAR_2 &sipStrings__core[1625] +#define sipNameNr_HT_SCROLLBAR_BAR_1 1644 +#define sipName_HT_SCROLLBAR_BAR_1 &sipStrings__core[1644] +#define sipNameNr_HT_SCROLLBAR_THUMB 1663 +#define sipName_HT_SCROLLBAR_THUMB &sipStrings__core[1663] +#define sipNameNr_HT_SCROLLBAR_FIRST 1682 +#define sipName_HT_SCROLLBAR_FIRST &sipStrings__core[1682] +#define sipNameNr_ID_MDI_WINDOW_LAST 1701 +#define sipName_ID_MDI_WINDOW_LAST &sipStrings__core[1701] +#define sipNameNr_ID_MDI_WINDOW_NEXT 1720 +#define sipName_ID_MDI_WINDOW_NEXT &sipStrings__core[1720] +#define sipNameNr_ID_MDI_WINDOW_PREV 1739 +#define sipName_ID_MDI_WINDOW_PREV &sipStrings__core[1739] +#define sipNameNr_ID_SORT_DESCENDING 1758 +#define sipName_ID_SORT_DESCENDING &sipStrings__core[1758] +#define sipNameNr_ID_REVERT_TO_SAVED 1777 +#define sipName_ID_REVERT_TO_SAVED &sipStrings__core[1777] +#define sipNameNr_ID_VIEW_SMALLICONS 1796 +#define sipName_ID_VIEW_SMALLICONS &sipStrings__core[1796] +#define sipNameNr_ID_VIEW_LARGEICONS 1815 +#define sipName_ID_VIEW_LARGEICONS &sipStrings__core[1815] +#define sipNameNr_ID_HELP_PROCEDURES 1834 +#define sipName_ID_HELP_PROCEDURES &sipStrings__core[1834] +#define sipNameNr_CreateIntersection 1853 +#define sipName_CreateIntersection &sipStrings__core[1853] +#define sipNameNr_CURSOR_POINT_RIGHT 1872 +#define sipName_CURSOR_POINT_RIGHT &sipStrings__core[1872] +#define sipNameNr_CURSOR_PAINT_BRUSH 1891 +#define sipName_CURSOR_PAINT_BRUSH &sipStrings__core[1891] +#define sipNameNr_CURSOR_LEFT_BUTTON 1910 +#define sipName_CURSOR_LEFT_BUTTON &sipStrings__core[1910] +#define sipNameNr_CURSOR_RIGHT_ARROW 1929 +#define sipName_CURSOR_RIGHT_ARROW &sipStrings__core[1929] +#define sipNameNr_UPDATE_UI_RECURSE 1948 +#define sipName_UPDATE_UI_RECURSE &sipStrings__core[1948] +#define sipNameNr_PRINT_MODE_STREAM 1966 +#define sipName_PRINT_MODE_STREAM &sipStrings__core[1966] +#define sipNameNr_DUPLEX_HORIZONTAL 1984 +#define sipName_DUPLEX_HORIZONTAL &sipStrings__core[1984] +#define sipNameNr_PAPER_LETTER_PLUS 2002 +#define sipName_PAPER_LETTER_PLUS &sipStrings__core[2002] +#define sipNameNr_PAPER_LEGAL_EXTRA 2020 +#define sipName_PAPER_LEGAL_EXTRA &sipStrings__core[2020] +#define sipNameNr_PAPER_ENV_MONARCH 2038 +#define sipName_PAPER_ENV_MONARCH &sipStrings__core[2038] +#define sipNameNr_PAPER_LETTERSMALL 2056 +#define sipName_PAPER_LETTERSMALL &sipStrings__core[2056] +#define sipNameNr_WXK_WINDOWS_RIGHT 2074 +#define sipName_WXK_WINDOWS_RIGHT &sipStrings__core[2074] +#define sipNameNr_WXK_NUMPAD_DIVIDE 2092 +#define sipName_WXK_NUMPAD_DIVIDE &sipStrings__core[2092] +#define sipNameNr_WXK_NUMPAD_DELETE 2110 +#define sipName_WXK_NUMPAD_DELETE &sipStrings__core[2110] +#define sipNameNr_WXK_NUMPAD_INSERT 2128 +#define sipName_WXK_NUMPAD_INSERT &sipStrings__core[2128] +#define sipNameNr_WXK_NUMPAD_PAGEUP 2146 +#define sipName_WXK_NUMPAD_PAGEUP &sipStrings__core[2146] +#define sipNameNr_HT_WINDOW_OUTSIDE 2164 +#define sipName_HT_WINDOW_OUTSIDE &sipStrings__core[2164] +#define sipNameNr_HT_SCROLLBAR_LAST 2182 +#define sipName_HT_SCROLLBAR_LAST &sipStrings__core[2182] +#define sipNameNr_ID_MAXIMIZE_FRAME 2200 +#define sipName_ID_MAXIMIZE_FRAME &sipStrings__core[2200] +#define sipNameNr_ID_SORT_ASCENDING 2218 +#define sipName_ID_SORT_ASCENDING &sipStrings__core[2218] +#define sipNameNr_ID_JUSTIFY_CENTER 2236 +#define sipName_ID_JUSTIFY_CENTER &sipStrings__core[2236] +#define sipNameNr_wxBackgroundStyle 2254 +#define sipName_wxBackgroundStyle &sipStrings__core[2254] +#define sipNameNr_MoveRightBottomTo 2272 +#define sipName_MoveRightBottomTo &sipStrings__core[2272] +#define sipNameNr_GetDistanceSquare 2290 +#define sipName_GetDistanceSquare &sipStrings__core[2290] +#define sipNameNr_ClientDisplayRect 1153 +#define sipName_ClientDisplayRect &sipStrings__core[1153] +#define sipNameNr_CURSOR_COPY_ARROW 2308 +#define sipName_CURSOR_COPY_ARROW &sipStrings__core[2308] +#define sipNameNr_CURSOR_POINT_LEFT 2326 +#define sipName_CURSOR_POINT_LEFT &sipStrings__core[2326] +#define sipNameNr_wxPolygonFillMode 2344 +#define sipName_wxPolygonFillMode &sipStrings__core[2344] +#define sipNameNr_GetBaseClassName2 2362 +#define sipName_GetBaseClassName2 &sipStrings__core[2362] +#define sipNameNr_GetBaseClassName1 2380 +#define sipName_GetBaseClassName1 &sipStrings__core[2380] +#define sipNameNr_PrintOrientation 1513 +#define sipName_PrintOrientation &sipStrings__core[1513] +#define sipNameNr_PAPER_A6_ROTATED 2398 +#define sipName_PAPER_A6_ROTATED &sipStrings__core[2398] +#define sipNameNr_PAPER_A5_ROTATED 2415 +#define sipName_PAPER_A5_ROTATED &sipStrings__core[2415] +#define sipNameNr_PAPER_A4_ROTATED 2432 +#define sipName_PAPER_A4_ROTATED &sipStrings__core[2432] +#define sipNameNr_PAPER_A3_ROTATED 2449 +#define sipName_PAPER_A3_ROTATED &sipStrings__core[2449] +#define sipNameNr_PAPER_JENV_CHOU4 2466 +#define sipName_PAPER_JENV_CHOU4 &sipStrings__core[2466] +#define sipNameNr_PAPER_JENV_CHOU3 2483 +#define sipName_PAPER_JENV_CHOU3 &sipStrings__core[2483] +#define sipNameNr_PAPER_JENV_KAKU3 2500 +#define sipName_PAPER_JENV_KAKU3 &sipStrings__core[2500] +#define sipNameNr_PAPER_JENV_KAKU2 2517 +#define sipName_PAPER_JENV_KAKU2 &sipStrings__core[2517] +#define sipNameNr_PAPER_ENV_INVITE 2534 +#define sipName_PAPER_ENV_INVITE &sipStrings__core[2534] +#define sipNameNr_PAPER_FANFOLD_US 2551 +#define sipName_PAPER_FANFOLD_US &sipStrings__core[2551] +#define sipNameNr_WXK_WINDOWS_MENU 2568 +#define sipName_WXK_WINDOWS_MENU &sipStrings__core[2568] +#define sipNameNr_WXK_WINDOWS_LEFT 2585 +#define sipName_WXK_WINDOWS_LEFT &sipStrings__core[2585] +#define sipNameNr_WXK_NUMPAD_EQUAL 2602 +#define sipName_WXK_NUMPAD_EQUAL &sipStrings__core[2602] +#define sipNameNr_WXK_NUMPAD_BEGIN 2619 +#define sipName_WXK_NUMPAD_BEGIN &sipStrings__core[2619] +#define sipNameNr_WXK_NUMPAD_RIGHT 2636 +#define sipName_WXK_NUMPAD_RIGHT &sipStrings__core[2636] +#define sipNameNr_WXK_NUMPAD_ENTER 2653 +#define sipName_WXK_NUMPAD_ENTER &sipStrings__core[2653] +#define sipNameNr_WXK_NUMPAD_SPACE 2670 +#define sipName_WXK_NUMPAD_SPACE &sipStrings__core[2670] +#define sipNameNr_HT_WINDOW_CORNER 2687 +#define sipName_HT_WINDOW_CORNER &sipStrings__core[2687] +#define sipNameNr_HT_WINDOW_INSIDE 2704 +#define sipName_HT_WINDOW_INSIDE &sipStrings__core[2704] +#define sipNameNr_ID_RESTORE_FRAME 2721 +#define sipName_ID_RESTORE_FRAME &sipStrings__core[2721] +#define sipNameNr_ID_ICONIZE_FRAME 2738 +#define sipName_ID_ICONIZE_FRAME &sipStrings__core[2738] +#define sipNameNr_ID_STRIKETHROUGH 2755 +#define sipName_ID_STRIKETHROUGH &sipStrings__core[2755] +#define sipNameNr_ID_JUSTIFY_RIGHT 2772 +#define sipName_ID_JUSTIFY_RIGHT &sipStrings__core[2772] +#define sipNameNr_ID_VIEW_SORTTYPE 2789 +#define sipName_ID_VIEW_SORTTYPE &sipStrings__core[2789] +#define sipNameNr_ID_VIEW_SORTSIZE 2806 +#define sipName_ID_VIEW_SORTSIZE &sipStrings__core[2806] +#define sipNameNr_ID_VIEW_SORTNAME 2823 +#define sipName_ID_VIEW_SORTNAME &sipStrings__core[2823] +#define sipNameNr_ID_VIEW_SORTDATE 2840 +#define sipName_ID_VIEW_SORTDATE &sipStrings__core[2840] +#define sipNameNr_ID_HELP_COMMANDS 2857 +#define sipName_ID_HELP_COMMANDS &sipStrings__core[2857] +#define sipNameNr_ID_HELP_CONTENTS 2874 +#define sipName_ID_HELP_CONTENTS &sipStrings__core[2874] +#define sipNameNr_ORIENTATION_MASK 2891 +#define sipName_ORIENTATION_MASK &sipStrings__core[2891] +#define sipNameNr_wxGeometryCentre 2908 +#define sipName_wxGeometryCentre &sipStrings__core[2908] +#define sipNameNr_MoveLeftBottomTo 2925 +#define sipName_MoveLeftBottomTo &sipStrings__core[2925] +#define sipNameNr_GetDisplaySizeMM 2942 +#define sipName_GetDisplaySizeMM &sipStrings__core[2942] +#define sipNameNr_CURSOR_ARROWWAIT 2959 +#define sipName_CURSOR_ARROWWAIT &sipStrings__core[2959] +#define sipNameNr_CURSOR_MAGNIFIER 2976 +#define sipName_CURSOR_MAGNIFIER &sipStrings__core[2976] +#define sipNameNr_BITMAP_TYPE_ICON 2993 +#define sipName_BITMAP_TYPE_ICON &sipStrings__core[2993] +#define sipNameNr_BITMAP_TYPE_PICT 3010 +#define sipName_BITMAP_TYPE_PICT &sipStrings__core[3010] +#define sipNameNr_BITMAP_TYPE_JPEG 3027 +#define sipName_BITMAP_TYPE_JPEG &sipStrings__core[3027] +#define sipNameNr_IsFullySpecified 3044 +#define sipName_IsFullySpecified &sipStrings__core[3044] +#define sipNameNr_PRINT_MODE_FILE 3061 +#define sipName_PRINT_MODE_FILE &sipStrings__core[3061] +#define sipNameNr_PRINT_MODE_NONE 3077 +#define sipName_PRINT_MODE_NONE &sipStrings__core[3077] +#define sipNameNr_DUPLEX_VERTICAL 3093 +#define sipName_DUPLEX_VERTICAL &sipStrings__core[3093] +#define sipNameNr_PAPER_JENV_YOU4 3109 +#define sipName_PAPER_JENV_YOU4 &sipStrings__core[3109] +#define sipNameNr_PAPER_ENV_ITALY 3125 +#define sipName_PAPER_ENV_ITALY &sipStrings__core[3125] +#define sipNameNr_PAPER_EXECUTIVE 3141 +#define sipName_PAPER_EXECUTIVE &sipStrings__core[3141] +#define sipNameNr_PAPER_STATEMENT 3157 +#define sipName_PAPER_STATEMENT &sipStrings__core[3157] +#define sipNameNr_WXK_NUMPAD_DOWN 3173 +#define sipName_WXK_NUMPAD_DOWN &sipStrings__core[3173] +#define sipNameNr_WXK_NUMPAD_LEFT 3189 +#define sipName_WXK_NUMPAD_LEFT &sipStrings__core[3189] +#define sipNameNr_WXK_NUMPAD_HOME 3205 +#define sipName_WXK_NUMPAD_HOME &sipStrings__core[3205] +#define sipNameNr_ID_RESIZE_FRAME 3221 +#define sipName_ID_RESIZE_FRAME &sipStrings__core[3221] +#define sipNameNr_ID_SELECT_COLOR 3237 +#define sipName_ID_SELECT_COLOR &sipStrings__core[3237] +#define sipNameNr_ID_JUSTIFY_LEFT 3253 +#define sipName_ID_JUSTIFY_LEFT &sipStrings__core[3253] +#define sipNameNr_ID_JUSTIFY_FILL 3269 +#define sipName_ID_JUSTIFY_FILL &sipStrings__core[3269] +#define sipNameNr_ID_CONTEXT_HELP 3285 +#define sipName_ID_CONTEXT_HELP &sipStrings__core[3285] +#define sipNameNr_ID_VIEW_DETAILS 3301 +#define sipName_ID_VIEW_DETAILS &sipStrings__core[3301] +#define sipNameNr_ID_HELP_CONTEXT 3317 +#define sipName_ID_HELP_CONTEXT &sipStrings__core[3317] +#define sipNameNr_ID_AUTO_HIGHEST 3333 +#define sipName_ID_AUTO_HIGHEST &sipStrings__core[3333] +#define sipNameNr_BG_STYLE_SYSTEM 3349 +#define sipName_BG_STYLE_SYSTEM &sipStrings__core[3349] +#define sipNameNr_BackgroundStyle 2256 +#define sipName_BackgroundStyle &sipStrings__core[2256] +#define sipNameNr_wxSizerFlagBits 3365 +#define sipName_wxSizerFlagBits &sipStrings__core[3365] +#define sipNameNr_GetCrossProduct 3381 +#define sipName_GetCrossProduct &sipStrings__core[3381] +#define sipNameNr_SetVectorLength 3397 +#define sipName_SetVectorLength &sipStrings__core[3397] +#define sipNameNr_GetVectorLength 3413 +#define sipName_GetVectorLength &sipStrings__core[3413] +#define sipNameNr_wxPoint2DDouble 3429 +#define sipName_wxPoint2DDouble &sipStrings__core[3429] +#define sipNameNr_DefaultPosition 3445 +#define sipName_DefaultPosition &sipStrings__core[3445] +#define sipNameNr_CURSOR_SPRAYCAN 3461 +#define sipName_CURSOR_SPRAYCAN &sipStrings__core[3461] +#define sipNameNr_CURSOR_SIZENWSE 3477 +#define sipName_CURSOR_SIZENWSE &sipStrings__core[3477] +#define sipNameNr_CURSOR_SIZENESW 3493 +#define sipName_CURSOR_SIZENESW &sipStrings__core[3493] +#define sipNameNr_CURSOR_NO_ENTRY 3509 +#define sipName_CURSOR_NO_ENTRY &sipStrings__core[3509] +#define sipNameNr_CURSOR_BULLSEYE 3525 +#define sipName_CURSOR_BULLSEYE &sipStrings__core[3525] +#define sipNameNr_PolygonFillMode 2346 +#define sipName_PolygonFillMode &sipStrings__core[2346] +#define sipNameNr_BITMAP_TYPE_ANY 3541 +#define sipName_BITMAP_TYPE_ANY &sipStrings__core[3541] +#define sipNameNr_BITMAP_TYPE_TGA 3557 +#define sipName_BITMAP_TYPE_TGA &sipStrings__core[3557] +#define sipNameNr_BITMAP_TYPE_IFF 3573 +#define sipName_BITMAP_TYPE_IFF &sipStrings__core[3573] +#define sipNameNr_BITMAP_TYPE_ANI 3589 +#define sipName_BITMAP_TYPE_ANI &sipStrings__core[3589] +#define sipNameNr_BITMAP_TYPE_PCX 3605 +#define sipName_BITMAP_TYPE_PCX &sipStrings__core[3605] +#define sipNameNr_BITMAP_TYPE_PNM 3621 +#define sipName_BITMAP_TYPE_PNM &sipStrings__core[3621] +#define sipNameNr_BITMAP_TYPE_PNG 3637 +#define sipName_BITMAP_TYPE_PNG &sipStrings__core[3637] +#define sipNameNr_BITMAP_TYPE_GIF 3653 +#define sipName_BITMAP_TYPE_GIF &sipStrings__core[3653] +#define sipNameNr_BITMAP_TYPE_TIF 3669 +#define sipName_BITMAP_TYPE_TIF &sipStrings__core[3669] +#define sipNameNr_BITMAP_TYPE_XPM 3685 +#define sipName_BITMAP_TYPE_XPM &sipStrings__core[3685] +#define sipNameNr_BITMAP_TYPE_XBM 3701 +#define sipName_BITMAP_TYPE_XBM &sipStrings__core[3701] +#define sipNameNr_BITMAP_TYPE_CUR 3717 +#define sipName_BITMAP_TYPE_CUR &sipStrings__core[3717] +#define sipNameNr_BITMAP_TYPE_ICO 3733 +#define sipName_BITMAP_TYPE_ICO &sipStrings__core[3733] +#define sipNameNr_BITMAP_TYPE_BMP 3749 +#define sipName_BITMAP_TYPE_BMP &sipStrings__core[3749] +#define sipNameNr_UPDATE_UI_NONE 3765 +#define sipName_UPDATE_UI_NONE &sipStrings__core[3765] +#define sipNameNr_DUPLEX_SIMPLEX 3780 +#define sipName_DUPLEX_SIMPLEX &sipStrings__core[3780] +#define sipNameNr_PAPER_B5_EXTRA 3795 +#define sipName_PAPER_B5_EXTRA &sipStrings__core[3795] +#define sipNameNr_PAPER_A5_EXTRA 3810 +#define sipName_PAPER_A5_EXTRA &sipStrings__core[3810] +#define sipNameNr_PAPER_A3_EXTRA 3825 +#define sipName_PAPER_A3_EXTRA &sipStrings__core[3825] +#define sipNameNr_PAPER_A4_EXTRA 3840 +#define sipName_PAPER_A4_EXTRA &sipStrings__core[3840] +#define sipNameNr_WXK_NUMPAD_ADD 3855 +#define sipName_WXK_NUMPAD_ADD &sipStrings__core[3855] +#define sipNameNr_WXK_NUMPAD_END 3870 +#define sipName_WXK_NUMPAD_END &sipStrings__core[3870] +#define sipNameNr_WXK_NUMPAD_TAB 3885 +#define sipName_WXK_NUMPAD_TAB &sipStrings__core[3885] +#define sipNameNr_DF_ENHMETAFILE 3900 +#define sipName_DF_ENHMETAFILE &sipStrings__core[3900] +#define sipNameNr_DF_UNICODETEXT 3915 +#define sipName_DF_UNICODETEXT &sipStrings__core[3915] +#define sipNameNr_wxDataFormatId 3930 +#define sipName_wxDataFormatId &sipStrings__core[3930] +#define sipNameNr_ITEM_SEPARATOR 3945 +#define sipName_ITEM_SEPARATOR &sipStrings__core[3945] +#define sipNameNr_ID_CLOSE_FRAME 3960 +#define sipName_ID_CLOSE_FRAME &sipStrings__core[3960] +#define sipNameNr_ID_SYSTEM_MENU 3975 +#define sipName_ID_SYSTEM_MENU &sipStrings__core[3975] +#define sipNameNr_ID_SPELL_CHECK 3990 +#define sipName_ID_SPELL_CHECK &sipStrings__core[3990] +#define sipNameNr_ID_SELECT_FONT 4005 +#define sipName_ID_SELECT_FONT &sipStrings__core[4005] +#define sipNameNr_ID_REPLACE_ALL 4020 +#define sipName_ID_REPLACE_ALL &sipStrings__core[4020] +#define sipNameNr_ID_PREFERENCES 4035 +#define sipName_ID_PREFERENCES &sipStrings__core[4035] +#define sipNameNr_ID_HELP_SEARCH 4050 +#define sipName_ID_HELP_SEARCH &sipStrings__core[4050] +#define sipNameNr_ID_PRINT_SETUP 4065 +#define sipName_ID_PRINT_SETUP &sipStrings__core[4065] +#define sipNameNr_ID_AUTO_LOWEST 4080 +#define sipName_ID_AUTO_LOWEST &sipStrings__core[4080] +#define sipNameNr_BG_STYLE_PAINT 4095 +#define sipName_BG_STYLE_PAINT &sipStrings__core[4095] +#define sipNameNr_BG_STYLE_ERASE 4110 +#define sipName_BG_STYLE_ERASE &sipStrings__core[4110] +#define sipNameNr_BORDER_DEFAULT 4125 +#define sipName_BORDER_DEFAULT &sipStrings__core[4125] +#define sipNameNr_DIRECTION_MASK 4140 +#define sipName_DIRECTION_MASK &sipStrings__core[4140] +#define sipNameNr_GeometryCentre 2910 +#define sipName_GeometryCentre &sipStrings__core[2910] +#define sipNameNr_SetRightBottom 4155 +#define sipName_SetRightBottom &sipStrings__core[4155] +#define sipNameNr_GetRightBottom 4170 +#define sipName_GetRightBottom &sipStrings__core[4170] +#define sipNameNr_MoveRightTopTo 4185 +#define sipName_MoveRightTopTo &sipStrings__core[4185] +#define sipNameNr_wxRect2DDouble 4200 +#define sipName_wxRect2DDouble &sipStrings__core[4200] +#define sipNameNr_SetVectorAngle 4215 +#define sipName_SetVectorAngle &sipStrings__core[4215] +#define sipNameNr_GetVectorAngle 4230 +#define sipName_GetVectorAngle &sipStrings__core[4230] +#define sipNameNr_GetDisplaySize 4245 +#define sipName_GetDisplaySize &sipStrings__core[4245] +#define sipNameNr_CURSOR_DEFAULT 4260 +#define sipName_CURSOR_DEFAULT &sipStrings__core[4260] +#define sipNameNr_GetBottomRight 4275 +#define sipName_GetBottomRight &sipStrings__core[4275] +#define sipNameNr_PAPER_PENV_10 4290 +#define sipName_PAPER_PENV_10 &sipStrings__core[4290] +#define sipNameNr_PAPER_P32KBIG 4304 +#define sipName_PAPER_P32KBIG &sipStrings__core[4304] +#define sipNameNr_PAPER_A4_PLUS 4318 +#define sipName_PAPER_A4_PLUS &sipStrings__core[4318] +#define sipNameNr_PAPER_ENV_C65 4332 +#define sipName_PAPER_ENV_C65 &sipStrings__core[4332] +#define sipNameNr_PAPER_A4SMALL 4346 +#define sipName_PAPER_A4SMALL &sipStrings__core[4346] +#define sipNameNr_PAPER_TABLOID 4360 +#define sipName_PAPER_TABLOID &sipStrings__core[4360] +#define sipNameNr_wxKeyModifier 4374 +#define sipName_wxKeyModifier &sipStrings__core[4374] +#define sipNameNr_WXK_SPECIAL20 4388 +#define sipName_WXK_SPECIAL20 &sipStrings__core[4388] +#define sipNameNr_WXK_SPECIAL19 4402 +#define sipName_WXK_SPECIAL19 &sipStrings__core[4402] +#define sipNameNr_WXK_SPECIAL18 4416 +#define sipName_WXK_SPECIAL18 &sipStrings__core[4416] +#define sipNameNr_WXK_SPECIAL17 4430 +#define sipName_WXK_SPECIAL17 &sipStrings__core[4430] +#define sipNameNr_WXK_SPECIAL16 4444 +#define sipName_WXK_SPECIAL16 &sipStrings__core[4444] +#define sipNameNr_WXK_SPECIAL15 4458 +#define sipName_WXK_SPECIAL15 &sipStrings__core[4458] +#define sipNameNr_WXK_SPECIAL14 4472 +#define sipName_WXK_SPECIAL14 &sipStrings__core[4472] +#define sipNameNr_WXK_SPECIAL13 4486 +#define sipName_WXK_SPECIAL13 &sipStrings__core[4486] +#define sipNameNr_WXK_SPECIAL12 4500 +#define sipName_WXK_SPECIAL12 &sipStrings__core[4500] +#define sipNameNr_WXK_SPECIAL11 4514 +#define sipName_WXK_SPECIAL11 &sipStrings__core[4514] +#define sipNameNr_WXK_SPECIAL10 4528 +#define sipName_WXK_SPECIAL10 &sipStrings__core[4528] +#define sipNameNr_WXK_NUMPAD_UP 4542 +#define sipName_WXK_NUMPAD_UP &sipStrings__core[4542] +#define sipNameNr_WXK_NUMPAD_F4 4556 +#define sipName_WXK_NUMPAD_F4 &sipStrings__core[4556] +#define sipNameNr_WXK_NUMPAD_F3 4570 +#define sipName_WXK_NUMPAD_F3 &sipStrings__core[4570] +#define sipNameNr_WXK_NUMPAD_F2 4584 +#define sipName_WXK_NUMPAD_F2 &sipStrings__core[4584] +#define sipNameNr_WXK_NUMPAD_F1 4598 +#define sipName_WXK_NUMPAD_F1 &sipStrings__core[4598] +#define sipNameNr_WXK_SEPARATOR 4612 +#define sipName_WXK_SEPARATOR &sipStrings__core[4612] +#define sipNameNr_ITEM_DROPDOWN 4626 +#define sipName_ITEM_DROPDOWN &sipStrings__core[4626] +#define sipNameNr_ID_MOVE_FRAME 4640 +#define sipName_ID_MOVE_FRAME &sipStrings__core[4640] +#define sipNameNr_ID_PROPERTIES 4654 +#define sipName_ID_PROPERTIES &sipStrings__core[4654] +#define sipNameNr_ID_HELP_INDEX 4668 +#define sipName_ID_HELP_INDEX &sipStrings__core[4668] +#define sipNameNr_ID_PAGE_SETUP 4682 +#define sipName_ID_PAGE_SETUP &sipStrings__core[4682] +#define sipNameNr_BORDER_DOUBLE 4696 +#define sipName_BORDER_DOUBLE &sipStrings__core[4696] +#define sipNameNr_BORDER_SUNKEN 4710 +#define sipName_BORDER_SUNKEN &sipStrings__core[4710] +#define sipNameNr_BORDER_RAISED 4724 +#define sipName_BORDER_RAISED &sipStrings__core[4724] +#define sipNameNr_BORDER_SIMPLE 4738 +#define sipName_BORDER_SIMPLE &sipStrings__core[4738] +#define sipNameNr_BORDER_STATIC 4752 +#define sipName_BORDER_STATIC &sipStrings__core[4752] +#define sipNameNr_FIXED_MINSIZE 4766 +#define sipName_FIXED_MINSIZE &sipStrings__core[4766] +#define sipNameNr_SizerFlagBits 3367 +#define sipName_SizerFlagBits &sipStrings__core[3367] +#define sipNameNr_ALIGN_INVALID 4780 +#define sipName_ALIGN_INVALID &sipStrings__core[4780] +#define sipNameNr_wxOrientation 4794 +#define sipName_wxOrientation &sipStrings__core[4794] +#define sipNameNr_HaveEqualSize 4808 +#define sipName_HaveEqualSize &sipStrings__core[4808] +#define sipNameNr_SetLeftBottom 4822 +#define sipName_SetLeftBottom &sipStrings__core[4822] +#define sipNameNr_GetLeftBottom 4836 +#define sipName_GetLeftBottom &sipStrings__core[4836] +#define sipNameNr_MoveLeftTopTo 4850 +#define sipName_MoveLeftTopTo &sipStrings__core[4850] +#define sipNameNr_GetDotProduct 4864 +#define sipName_GetDotProduct &sipStrings__core[4864] +#define sipNameNr_DisplaySizeMM 2945 +#define sipName_DisplaySizeMM &sipStrings__core[2945] +#define sipNameNr_GetDisplayPPI 4878 +#define sipName_GetDisplayPPI &sipStrings__core[4878] +#define sipNameNr_ColourDisplay 4892 +#define sipName_ColourDisplay &sipStrings__core[4892] +#define sipNameNr_CURSOR_SIZING 4906 +#define sipName_CURSOR_SIZING &sipStrings__core[4906] +#define sipNameNr_CURSOR_SIZEWE 4920 +#define sipName_CURSOR_SIZEWE &sipStrings__core[4920] +#define sipNameNr_CURSOR_SIZENS 4934 +#define sipName_CURSOR_SIZENS &sipStrings__core[4934] +#define sipNameNr_CURSOR_PENCIL 4948 +#define sipName_CURSOR_PENCIL &sipStrings__core[4948] +#define sipNameNr_wxStockCursor 4962 +#define sipName_wxStockCursor &sipStrings__core[4962] +#define sipNameNr_GetBottomLeft 4976 +#define sipName_GetBottomLeft &sipStrings__core[4976] +#define sipNameNr_DefaultCoord 4990 +#define sipName_DefaultCoord &sipStrings__core[4990] +#define sipNameNr_wxDuplexMode 5003 +#define sipName_wxDuplexMode &sipStrings__core[5003] +#define sipNameNr_PAPER_PENV_9 5016 +#define sipName_PAPER_PENV_9 &sipStrings__core[5016] +#define sipNameNr_PAPER_PENV_8 5029 +#define sipName_PAPER_PENV_8 &sipStrings__core[5029] +#define sipNameNr_PAPER_PENV_7 5042 +#define sipName_PAPER_PENV_7 &sipStrings__core[5042] +#define sipNameNr_PAPER_PENV_6 5055 +#define sipName_PAPER_PENV_6 &sipStrings__core[5055] +#define sipNameNr_PAPER_PENV_5 5068 +#define sipName_PAPER_PENV_5 &sipStrings__core[5068] +#define sipNameNr_PAPER_PENV_4 5081 +#define sipName_PAPER_PENV_4 &sipStrings__core[5081] +#define sipNameNr_PAPER_PENV_3 5094 +#define sipName_PAPER_PENV_3 &sipStrings__core[5094] +#define sipNameNr_PAPER_PENV_2 5107 +#define sipName_PAPER_PENV_2 &sipStrings__core[5107] +#define sipNameNr_PAPER_PENV_1 5120 +#define sipName_PAPER_PENV_1 &sipStrings__core[5120] +#define sipNameNr_PAPER_B6_JIS 5133 +#define sipName_PAPER_B6_JIS &sipStrings__core[5133] +#define sipNameNr_PAPER_B_PLUS 5146 +#define sipName_PAPER_B_PLUS &sipStrings__core[5146] +#define sipNameNr_PAPER_A_PLUS 5159 +#define sipName_PAPER_A_PLUS &sipStrings__core[5159] +#define sipNameNr_PAPER_ISO_B4 5172 +#define sipName_PAPER_ISO_B4 &sipStrings__core[5172] +#define sipNameNr_PAPER_ENV_B6 5185 +#define sipName_PAPER_ENV_B6 &sipStrings__core[5185] +#define sipNameNr_PAPER_ENV_B5 5198 +#define sipName_PAPER_ENV_B5 &sipStrings__core[5198] +#define sipNameNr_PAPER_ENV_B4 5211 +#define sipName_PAPER_ENV_B4 &sipStrings__core[5211] +#define sipNameNr_PAPER_ENV_C6 5224 +#define sipName_PAPER_ENV_C6 &sipStrings__core[5224] +#define sipNameNr_PAPER_ENV_C4 5237 +#define sipName_PAPER_ENV_C4 &sipStrings__core[5237] +#define sipNameNr_PAPER_ENV_C3 5250 +#define sipName_PAPER_ENV_C3 &sipStrings__core[5250] +#define sipNameNr_PAPER_ENV_C5 5263 +#define sipName_PAPER_ENV_C5 &sipStrings__core[5263] +#define sipNameNr_PAPER_ENV_DL 5276 +#define sipName_PAPER_ENV_DL &sipStrings__core[5276] +#define sipNameNr_PAPER_ENV_14 5289 +#define sipName_PAPER_ENV_14 &sipStrings__core[5289] +#define sipNameNr_PAPER_ENV_12 5302 +#define sipName_PAPER_ENV_12 &sipStrings__core[5302] +#define sipNameNr_PAPER_ENV_11 5315 +#define sipName_PAPER_ENV_11 &sipStrings__core[5315] +#define sipNameNr_PAPER_ENV_10 5328 +#define sipName_PAPER_ENV_10 &sipStrings__core[5328] +#define sipNameNr_PAPER_QUARTO 5341 +#define sipName_PAPER_QUARTO &sipStrings__core[5341] +#define sipNameNr_PAPER_LEDGER 5354 +#define sipName_PAPER_LEDGER &sipStrings__core[5354] +#define sipNameNr_PAPER_ESHEET 5367 +#define sipName_PAPER_ESHEET &sipStrings__core[5367] +#define sipNameNr_PAPER_DSHEET 5380 +#define sipName_PAPER_DSHEET &sipStrings__core[5380] +#define sipNameNr_PAPER_CSHEET 5393 +#define sipName_PAPER_CSHEET &sipStrings__core[5393] +#define sipNameNr_PAPER_LETTER 5406 +#define sipName_PAPER_LETTER &sipStrings__core[5406] +#define sipNameNr_WXK_SPECIAL9 5419 +#define sipName_WXK_SPECIAL9 &sipStrings__core[5419] +#define sipNameNr_WXK_SPECIAL8 5432 +#define sipName_WXK_SPECIAL8 &sipStrings__core[5432] +#define sipNameNr_WXK_SPECIAL7 5445 +#define sipName_WXK_SPECIAL7 &sipStrings__core[5445] +#define sipNameNr_WXK_SPECIAL6 5458 +#define sipName_WXK_SPECIAL6 &sipStrings__core[5458] +#define sipNameNr_WXK_SPECIAL5 5471 +#define sipName_WXK_SPECIAL5 &sipStrings__core[5471] +#define sipNameNr_WXK_SPECIAL4 5484 +#define sipName_WXK_SPECIAL4 &sipStrings__core[5484] +#define sipNameNr_WXK_SPECIAL3 5497 +#define sipName_WXK_SPECIAL3 &sipStrings__core[5497] +#define sipNameNr_WXK_SPECIAL2 5510 +#define sipName_WXK_SPECIAL2 &sipStrings__core[5510] +#define sipNameNr_WXK_SPECIAL1 5523 +#define sipName_WXK_SPECIAL1 &sipStrings__core[5523] +#define sipNameNr_WXK_PAGEDOWN 5536 +#define sipName_WXK_PAGEDOWN &sipStrings__core[5536] +#define sipNameNr_WXK_SUBTRACT 5549 +#define sipName_WXK_SUBTRACT &sipStrings__core[5549] +#define sipNameNr_WXK_MULTIPLY 5562 +#define sipName_WXK_MULTIPLY &sipStrings__core[5562] +#define sipNameNr_WXK_SNAPSHOT 5575 +#define sipName_WXK_SNAPSHOT &sipStrings__core[5575] +#define sipNameNr_DataFormatId 3932 +#define sipName_DataFormatId &sipStrings__core[3932] +#define sipNameNr_ID_UNDERLINE 5588 +#define sipName_ID_UNDERLINE &sipStrings__core[5588] +#define sipNameNr_ID_VIEW_LIST 5601 +#define sipName_ID_VIEW_LIST &sipStrings__core[5601] +#define sipNameNr_ID_SELECTALL 5614 +#define sipName_ID_SELECTALL &sipStrings__core[5614] +#define sipNameNr_ID_DUPLICATE 5627 +#define sipName_ID_DUPLICATE &sipStrings__core[5627] +#define sipNameNr_ID_CLOSE_ALL 5640 +#define sipName_ID_CLOSE_ALL &sipStrings__core[5640] +#define sipNameNr_ID_SEPARATOR 5653 +#define sipName_ID_SEPARATOR &sipStrings__core[5653] +#define sipNameNr_wxStandardID 5666 +#define sipName_wxStandardID &sipStrings__core[5666] +#define sipNameNr_BORDER_THEME 5679 +#define sipName_BORDER_THEME &sipStrings__core[5679] +#define sipNameNr_STRETCH_MASK 5692 +#define sipName_STRETCH_MASK &sipStrings__core[5692] +#define sipNameNr_ALIGN_CENTRE 5705 +#define sipName_ALIGN_CENTRE &sipStrings__core[5705] +#define sipNameNr_ALIGN_CENTER 5718 +#define sipName_ALIGN_CENTER &sipStrings__core[5718] +#define sipNameNr_ALIGN_BOTTOM 5731 +#define sipName_ALIGN_BOTTOM &sipStrings__core[5731] +#define sipNameNr_heightfactor 5744 +#define sipName_heightfactor &sipStrings__core[5744] +#define sipNameNr_MoveCentreTo 5757 +#define sipName_MoveCentreTo &sipStrings__core[5757] +#define sipNameNr_MoveBottomTo 5770 +#define sipName_MoveBottomTo &sipStrings__core[5770] +#define sipNameNr_DisplayDepth 5783 +#define sipName_DisplayDepth &sipStrings__core[5783] +#define sipNameNr_CURSOR_BLANK 5796 +#define sipName_CURSOR_BLANK &sipStrings__core[5796] +#define sipNameNr_CURSOR_WATCH 5809 +#define sipName_CURSOR_WATCH &sipStrings__core[5809] +#define sipNameNr_CURSOR_IBEAM 5822 +#define sipName_CURSOR_IBEAM &sipStrings__core[5822] +#define sipNameNr_CURSOR_CROSS 5835 +#define sipName_CURSOR_CROSS &sipStrings__core[5835] +#define sipNameNr_CURSOR_ARROW 5848 +#define sipName_CURSOR_ARROW &sipStrings__core[5848] +#define sipNameNr_WINDING_RULE 5861 +#define sipName_WINDING_RULE &sipStrings__core[5861] +#define sipNameNr_ODDEVEN_RULE 5874 +#define sipName_ODDEVEN_RULE &sipStrings__core[5874] +#define sipNameNr_wxBitmapType 5887 +#define sipName_wxBitmapType &sipStrings__core[5887] +#define sipNameNr_GetClassName 5900 +#define sipName_GetClassName &sipStrings__core[5900] +#define sipNameNr_CreateObject 5913 +#define sipName_CreateObject &sipStrings__core[5913] +#define sipNameNr_GetClassInfo 5926 +#define sipName_GetClassInfo &sipStrings__core[5926] +#define sipNameNr_wxRefCounter 5939 +#define sipName_wxRefCounter &sipStrings__core[5939] +#define sipNameNr_wxPrintMode 5952 +#define sipName_wxPrintMode &sipStrings__core[5952] +#define sipNameNr_PAPER_12X11 5964 +#define sipName_PAPER_12X11 &sipStrings__core[5964] +#define sipNameNr_PAPER_15X11 5976 +#define sipName_PAPER_15X11 &sipStrings__core[5976] +#define sipNameNr_PAPER_10X11 5988 +#define sipName_PAPER_10X11 &sipStrings__core[5988] +#define sipNameNr_PAPER_ENV_9 6000 +#define sipName_PAPER_ENV_9 &sipStrings__core[6000] +#define sipNameNr_PAPER_11X17 6012 +#define sipName_PAPER_11X17 &sipStrings__core[6012] +#define sipNameNr_PAPER_10X14 6024 +#define sipName_PAPER_10X14 &sipStrings__core[6024] +#define sipNameNr_PAPER_FOLIO 6036 +#define sipName_PAPER_FOLIO &sipStrings__core[6036] +#define sipNameNr_PAPER_LEGAL 6048 +#define sipName_PAPER_LEGAL &sipStrings__core[6048] +#define sipNameNr_wxPaperSize 6060 +#define sipName_wxPaperSize &sipStrings__core[6060] +#define sipNameNr_MOD_CONTROL 6072 +#define sipName_MOD_CONTROL &sipStrings__core[6072] +#define sipNameNr_KeyModifier 4376 +#define sipName_KeyModifier &sipStrings__core[4376] +#define sipNameNr_WXK_COMMAND 6084 +#define sipName_WXK_COMMAND &sipStrings__core[6084] +#define sipNameNr_WXK_NUMLOCK 6096 +#define sipName_WXK_NUMLOCK &sipStrings__core[6096] +#define sipNameNr_WXK_DECIMAL 6108 +#define sipName_WXK_DECIMAL &sipStrings__core[6108] +#define sipNameNr_WXK_NUMPAD9 6120 +#define sipName_WXK_NUMPAD9 &sipStrings__core[6120] +#define sipNameNr_WXK_NUMPAD8 6132 +#define sipName_WXK_NUMPAD8 &sipStrings__core[6132] +#define sipNameNr_WXK_NUMPAD7 6144 +#define sipName_WXK_NUMPAD7 &sipStrings__core[6144] +#define sipNameNr_WXK_NUMPAD6 6156 +#define sipName_WXK_NUMPAD6 &sipStrings__core[6156] +#define sipNameNr_WXK_NUMPAD5 6168 +#define sipName_WXK_NUMPAD5 &sipStrings__core[6168] +#define sipNameNr_WXK_NUMPAD4 6180 +#define sipName_WXK_NUMPAD4 &sipStrings__core[6180] +#define sipNameNr_WXK_NUMPAD3 6192 +#define sipName_WXK_NUMPAD3 &sipStrings__core[6192] +#define sipNameNr_WXK_NUMPAD2 6204 +#define sipName_WXK_NUMPAD2 &sipStrings__core[6204] +#define sipNameNr_WXK_NUMPAD1 6216 +#define sipName_WXK_NUMPAD1 &sipStrings__core[6216] +#define sipNameNr_WXK_NUMPAD0 6228 +#define sipName_WXK_NUMPAD0 &sipStrings__core[6228] +#define sipNameNr_WXK_EXECUTE 6240 +#define sipName_WXK_EXECUTE &sipStrings__core[6240] +#define sipNameNr_WXK_CAPITAL 6252 +#define sipName_WXK_CAPITAL &sipStrings__core[6252] +#define sipNameNr_WXK_CONTROL 6264 +#define sipName_WXK_CONTROL &sipStrings__core[6264] +#define sipNameNr_WXK_MBUTTON 6276 +#define sipName_WXK_MBUTTON &sipStrings__core[6276] +#define sipNameNr_WXK_RBUTTON 6288 +#define sipName_WXK_RBUTTON &sipStrings__core[6288] +#define sipNameNr_WXK_LBUTTON 6300 +#define sipName_WXK_LBUTTON &sipStrings__core[6300] +#define sipNameNr_DF_FILENAME 6312 +#define sipName_DF_FILENAME &sipStrings__core[6312] +#define sipNameNr_DF_METAFILE 6324 +#define sipName_DF_METAFILE &sipStrings__core[6324] +#define sipNameNr_ITEM_NORMAL 6336 +#define sipName_ITEM_NORMAL &sipStrings__core[6336] +#define sipNameNr_ID_FILECTRL 6348 +#define sipName_ID_FILECTRL &sipStrings__core[6348] +#define sipNameNr_ID_FILEDLGG 6360 +#define sipName_ID_FILEDLGG &sipStrings__core[6360] +#define sipNameNr_ID_HARDDISK 6372 +#define sipName_ID_HARDDISK &sipStrings__core[6372] +#define sipNameNr_ID_UNDELETE 6384 +#define sipName_ID_UNDELETE &sipStrings__core[6384] +#define sipNameNr_ID_ZOOM_OUT 6396 +#define sipName_ID_ZOOM_OUT &sipStrings__core[6396] +#define sipNameNr_ID_ZOOM_FIT 6408 +#define sipName_ID_ZOOM_FIT &sipStrings__core[6408] +#define sipNameNr_ID_ZOOM_100 6420 +#define sipName_ID_ZOOM_100 &sipStrings__core[6420] +#define sipNameNr_ID_UNINDENT 6432 +#define sipName_ID_UNINDENT &sipStrings__core[6432] +#define sipNameNr_ID_YESTOALL 6444 +#define sipName_ID_YESTOALL &sipStrings__core[6444] +#define sipNameNr_ID_BACKWARD 6456 +#define sipName_ID_BACKWARD &sipStrings__core[6456] +#define sipNameNr_BORDER_MASK 6468 +#define sipName_BORDER_MASK &sipStrings__core[6468] +#define sipNameNr_BORDER_NONE 6480 +#define sipName_BORDER_NONE &sipStrings__core[6480] +#define sipNameNr_STRETCH_NOT 6492 +#define sipName_STRETCH_NOT &sipStrings__core[6492] +#define sipNameNr_ALIGN_RIGHT 6504 +#define sipName_ALIGN_RIGHT &sipStrings__core[6504] +#define sipNameNr_wxAlignment 6516 +#define sipName_wxAlignment &sipStrings__core[6516] +#define sipNameNr_wxDirection 6528 +#define sipName_wxDirection &sipStrings__core[6528] +#define sipNameNr_Orientation 1518 +#define sipName_Orientation &sipStrings__core[1518] +#define sipNameNr_CreateUnion 6540 +#define sipName_CreateUnion &sipStrings__core[6540] +#define sipNameNr_Interpolate 6552 +#define sipName_Interpolate &sipStrings__core[6552] +#define sipNameNr_widthfactor 6564 +#define sipName_widthfactor &sipStrings__core[6564] +#define sipNameNr_ConstrainTo 6576 +#define sipName_ConstrainTo &sipStrings__core[6576] +#define sipNameNr_SetRightTop 6588 +#define sipName_SetRightTop &sipStrings__core[6588] +#define sipNameNr_GetRightTop 6600 +#define sipName_GetRightTop &sipStrings__core[6600] +#define sipNameNr_MoveRightTo 6612 +#define sipName_MoveRightTo &sipStrings__core[6612] +#define sipNameNr_GetDistance 6624 +#define sipName_GetDistance &sipStrings__core[6624] +#define sipNameNr_DisplaySize 4248 +#define sipName_DisplaySize &sipStrings__core[4248] +#define sipNameNr_DefaultSize 6636 +#define sipName_DefaultSize &sipStrings__core[6636] +#define sipNameNr_CURSOR_WAIT 6648 +#define sipName_CURSOR_WAIT &sipStrings__core[6648] +#define sipNameNr_CURSOR_HAND 6660 +#define sipName_CURSOR_HAND &sipStrings__core[6660] +#define sipNameNr_CURSOR_CHAR 6672 +#define sipName_CURSOR_CHAR &sipStrings__core[6672] +#define sipNameNr_CURSOR_NONE 6684 +#define sipName_CURSOR_NONE &sipStrings__core[6684] +#define sipNameNr_StockCursor 4964 +#define sipName_StockCursor &sipStrings__core[4964] +#define sipNameNr_wxRealPoint 6696 +#define sipName_wxRealPoint &sipStrings__core[6696] +#define sipNameNr_GetTopRight 6708 +#define sipName_GetTopRight &sipStrings__core[6708] +#define sipNameNr_GetPosition 6720 +#define sipName_GetPosition &sipStrings__core[6720] +#define sipNameNr_bottomRight 6732 +#define sipName_bottomRight &sipStrings__core[6732] +#define sipNameNr_sizeDefault 6744 +#define sipName_sizeDefault &sipStrings__core[6744] +#define sipNameNr_SetDefaults 6756 +#define sipName_SetDefaults &sipStrings__core[6756] +#define sipNameNr_wxClassInfo 6768 +#define sipName_wxClassInfo &sipStrings__core[6768] +#define sipNameNr_GetRefCount 6780 +#define sipName_GetRefCount &sipStrings__core[6780] +#define sipNameNr_wxUpdateUI 6792 +#define sipName_wxUpdateUI &sipStrings__core[6792] +#define sipNameNr_DuplexMode 5005 +#define sipName_DuplexMode &sipStrings__core[5005] +#define sipNameNr_PAPER_P32K 6803 +#define sipName_PAPER_P32K &sipStrings__core[6803] +#define sipNameNr_PAPER_P16K 6814 +#define sipName_PAPER_P16K &sipStrings__core[6814] +#define sipNameNr_PAPER_9X11 6825 +#define sipName_PAPER_9X11 &sipStrings__core[6825] +#define sipNameNr_PAPER_NOTE 6836 +#define sipName_PAPER_NOTE &sipStrings__core[6836] +#define sipNameNr_PAPER_NONE 6847 +#define sipName_PAPER_NONE &sipStrings__core[6847] +#define sipNameNr_WXK_PAGEUP 6858 +#define sipName_WXK_PAGEUP &sipStrings__core[6858] +#define sipNameNr_WXK_SCROLL 6869 +#define sipName_WXK_SCROLL &sipStrings__core[6869] +#define sipNameNr_WXK_DIVIDE 6880 +#define sipName_WXK_DIVIDE &sipStrings__core[6880] +#define sipNameNr_WXK_INSERT 6891 +#define sipName_WXK_INSERT &sipStrings__core[6891] +#define sipNameNr_WXK_SELECT 6902 +#define sipName_WXK_SELECT &sipStrings__core[6902] +#define sipNameNr_WXK_CANCEL 6913 +#define sipName_WXK_CANCEL &sipStrings__core[6913] +#define sipNameNr_WXK_DELETE 6924 +#define sipName_WXK_DELETE &sipStrings__core[6924] +#define sipNameNr_WXK_ESCAPE 6935 +#define sipName_WXK_ESCAPE &sipStrings__core[6935] +#define sipNameNr_WXK_RETURN 6946 +#define sipName_WXK_RETURN &sipStrings__core[6946] +#define sipNameNr_DF_PRIVATE 6957 +#define sipName_DF_PRIVATE &sipStrings__core[6957] +#define sipNameNr_DF_PENDATA 6968 +#define sipName_DF_PENDATA &sipStrings__core[6968] +#define sipNameNr_DF_PALETTE 6979 +#define sipName_DF_PALETTE &sipStrings__core[6979] +#define sipNameNr_DF_OEMTEXT 6990 +#define sipName_DF_OEMTEXT &sipStrings__core[6990] +#define sipNameNr_DF_INVALID 7001 +#define sipName_DF_INVALID &sipStrings__core[7001] +#define sipNameNr_HT_NOWHERE 7012 +#define sipName_HT_NOWHERE &sipStrings__core[7012] +#define sipNameNr_ITEM_RADIO 7023 +#define sipName_ITEM_RADIO &sipStrings__core[7023] +#define sipNameNr_ITEM_CHECK 7034 +#define sipName_ITEM_CHECK &sipStrings__core[7034] +#define sipNameNr_wxItemKind 7045 +#define sipName_wxItemKind &sipStrings__core[7045] +#define sipNameNr_ID_HIGHEST 7056 +#define sipName_ID_HIGHEST &sipStrings__core[7056] +#define sipNameNr_ID_NETWORK 7067 +#define sipName_ID_NETWORK &sipStrings__core[7067] +#define sipNameNr_ID_JUMP_TO 7078 +#define sipName_ID_JUMP_TO &sipStrings__core[7078] +#define sipNameNr_ID_EXECUTE 7089 +#define sipName_ID_EXECUTE &sipStrings__core[7089] +#define sipNameNr_ID_CONVERT 7100 +#define sipName_ID_CONVERT &sipStrings__core[7100] +#define sipNameNr_ID_ZOOM_IN 7111 +#define sipName_ID_ZOOM_IN &sipStrings__core[7111] +#define sipNameNr_ID_REFRESH 7122 +#define sipName_ID_REFRESH &sipStrings__core[7122] +#define sipNameNr_ID_NOTOALL 7133 +#define sipName_ID_NOTOALL &sipStrings__core[7133] +#define sipNameNr_ID_DEFAULT 7144 +#define sipName_ID_DEFAULT &sipStrings__core[7144] +#define sipNameNr_ID_FORWARD 7155 +#define sipName_ID_FORWARD &sipStrings__core[7155] +#define sipNameNr_ID_REPLACE 7166 +#define sipName_ID_REPLACE &sipStrings__core[7166] +#define sipNameNr_ID_PREVIEW 7177 +#define sipName_ID_PREVIEW &sipStrings__core[7177] +#define sipNameNr_StandardID 5668 +#define sipName_StandardID &sipStrings__core[5668] +#define sipNameNr_ALIGN_MASK 7188 +#define sipName_ALIGN_MASK &sipStrings__core[7188] +#define sipNameNr_ALIGN_LEFT 7199 +#define sipName_ALIGN_LEFT &sipStrings__core[7199] +#define sipNameNr_HORIZONTAL 646 +#define sipName_HORIZONTAL &sipStrings__core[646] +#define sipNameNr_GetOutcode 7210 +#define sipName_GetOutcode &sipStrings__core[7210] +#define sipNameNr_GetOutCode 7221 +#define sipName_GetOutCode &sipStrings__core[7221] +#define sipNameNr_SetLeftTop 7232 +#define sipName_SetLeftTop &sipStrings__core[7232] +#define sipNameNr_GetLeftTop 7243 +#define sipName_GetLeftTop &sipStrings__core[7243] +#define sipNameNr_MoveLeftTo 7254 +#define sipName_MoveLeftTo &sipStrings__core[7254] +#define sipNameNr_GetRounded 7265 +#define sipName_GetRounded &sipStrings__core[7265] +#define sipNameNr_CURSOR_MAX 7276 +#define sipName_CURSOR_MAX &sipStrings__core[7276] +#define sipNameNr_BitmapType 5889 +#define sipName_BitmapType &sipStrings__core[5889] +#define sipNameNr_Intersects 7287 +#define sipName_Intersects &sipStrings__core[7287] +#define sipNameNr_GetTopLeft 7298 +#define sipName_GetTopLeft &sipStrings__core[7298] +#define sipNameNr_SetRefData 7309 +#define sipName_SetRefData &sipStrings__core[7309] +#define sipNameNr_GetRefData 7320 +#define sipName_GetRefData &sipStrings__core[7320] +#define sipNameNr_RefCounter 5941 +#define sipName_RefCounter &sipStrings__core[5941] +#define sipNameNr_PrintMode 5954 +#define sipName_PrintMode &sipStrings__core[5954] +#define sipNameNr_LANDSCAPE 7331 +#define sipName_LANDSCAPE &sipStrings__core[7331] +#define sipNameNr_PaperSize 6062 +#define sipName_PaperSize &sipStrings__core[6062] +#define sipNameNr_MOD_SHIFT 7341 +#define sipName_MOD_SHIFT &sipStrings__core[7341] +#define sipNameNr_MOD_ALTGR 7351 +#define sipName_MOD_ALTGR &sipStrings__core[7351] +#define sipNameNr_WXK_PRINT 7361 +#define sipName_WXK_PRINT &sipStrings__core[7361] +#define sipNameNr_WXK_RIGHT 7371 +#define sipName_WXK_RIGHT &sipStrings__core[7371] +#define sipNameNr_WXK_PAUSE 7381 +#define sipName_WXK_PAUSE &sipStrings__core[7381] +#define sipNameNr_WXK_SHIFT 7391 +#define sipName_WXK_SHIFT &sipStrings__core[7391] +#define sipNameNr_WXK_CLEAR 7401 +#define sipName_WXK_CLEAR &sipStrings__core[7401] +#define sipNameNr_WXK_START 7411 +#define sipName_WXK_START &sipStrings__core[7411] +#define sipNameNr_WXK_SPACE 7421 +#define sipName_WXK_SPACE &sipStrings__core[7421] +#define sipNameNr_wxKeyCode 7431 +#define sipName_wxKeyCode &sipStrings__core[7431] +#define sipNameNr_DF_LOCALE 7441 +#define sipName_DF_LOCALE &sipStrings__core[7441] +#define sipNameNr_DF_BITMAP 7451 +#define sipName_DF_BITMAP &sipStrings__core[7451] +#define sipNameNr_wxHitTest 7461 +#define sipName_wxHitTest &sipStrings__core[7461] +#define sipNameNr_ID_BOTTOM 7471 +#define sipName_ID_BOTTOM &sipStrings__core[7471] +#define sipNameNr_ID_FLOPPY 7481 +#define sipName_ID_FLOPPY &sipStrings__core[7481] +#define sipNameNr_ID_INDENT 7491 +#define sipName_ID_INDENT &sipStrings__core[7491] +#define sipNameNr_ID_ITALIC 7501 +#define sipName_ID_ITALIC &sipStrings__core[7501] +#define sipNameNr_ID_REMOVE 7511 +#define sipName_ID_REMOVE &sipStrings__core[7511] +#define sipNameNr_ID_IGNORE 7521 +#define sipName_ID_IGNORE &sipStrings__core[7521] +#define sipNameNr_ID_STATIC 7531 +#define sipName_ID_STATIC &sipStrings__core[7531] +#define sipNameNr_ID_CANCEL 7541 +#define sipName_ID_CANCEL &sipStrings__core[7541] +#define sipNameNr_ID_DELETE 7551 +#define sipName_ID_DELETE &sipStrings__core[7551] +#define sipNameNr_ID_REVERT 7561 +#define sipName_ID_REVERT &sipStrings__core[7561] +#define sipNameNr_ID_SAVEAS 7571 +#define sipName_ID_SAVEAS &sipStrings__core[7571] +#define sipNameNr_ID_LOWEST 7581 +#define sipName_ID_LOWEST &sipStrings__core[7581] +#define sipNameNr_wxStretch 7591 +#define sipName_wxStretch &sipStrings__core[7591] +#define sipNameNr_ALIGN_TOP 7601 +#define sipName_ALIGN_TOP &sipStrings__core[7601] +#define sipNameNr_ALIGN_NOT 7611 +#define sipName_ALIGN_NOT &sipStrings__core[7611] +#define sipNameNr_Alignment 6518 +#define sipName_Alignment &sipStrings__core[6518] +#define sipNameNr_Direction 6530 +#define sipName_Direction &sipStrings__core[6530] +#define sipNameNr_OutBottom 7621 +#define sipName_OutBottom &sipStrings__core[7621] +#define sipNameNr_wxOutCode 7631 +#define sipName_wxOutCode &sipStrings__core[7631] +#define sipNameNr_otherRect 7641 +#define sipName_otherRect &sipStrings__core[7641] +#define sipNameNr_SetCentre 7651 +#define sipName_SetCentre &sipStrings__core[7651] +#define sipNameNr_GetCentre 7661 +#define sipName_GetCentre &sipStrings__core[7661] +#define sipNameNr_SetBottom 7671 +#define sipName_SetBottom &sipStrings__core[7671] +#define sipNameNr_MoveTopTo 7681 +#define sipName_MoveTopTo &sipStrings__core[7681] +#define sipNameNr_Normalize 7691 +#define sipName_Normalize &sipStrings__core[7691] +#define sipNameNr_RealPoint 6698 +#define sipName_RealPoint &sipStrings__core[6698] +#define sipNameNr_Intersect 7701 +#define sipName_Intersect &sipStrings__core[7701] +#define sipNameNr_GetBottom 7711 +#define sipName_GetBottom &sipStrings__core[7711] +#define sipNameNr_SetHeight 7721 +#define sipName_SetHeight &sipStrings__core[7721] +#define sipNameNr_GetHeight 7731 +#define sipName_GetHeight &sipStrings__core[7731] +#define sipNameNr_ClassInfo 5929 +#define sipName_ClassInfo &sipStrings__core[5929] +#define sipNameNr_FindClass 7741 +#define sipName_FindClass &sipStrings__core[7741] +#define sipNameNr_className 7751 +#define sipName_className &sipStrings__core[7751] +#define sipNameNr_IsDynamic 7761 +#define sipName_IsDynamic &sipStrings__core[7761] +#define sipNameNr_UpdateUI 6794 +#define sipName_UpdateUI &sipStrings__core[6794] +#define sipNameNr_PORTRAIT 7771 +#define sipName_PORTRAIT &sipStrings__core[7771] +#define sipNameNr_PAPER_A6 7780 +#define sipName_PAPER_A6 &sipStrings__core[7780] +#define sipNameNr_PAPER_A2 7789 +#define sipName_PAPER_A2 &sipStrings__core[7789] +#define sipNameNr_PAPER_B5 7798 +#define sipName_PAPER_B5 &sipStrings__core[7798] +#define sipNameNr_PAPER_B4 7807 +#define sipName_PAPER_B4 &sipStrings__core[7807] +#define sipNameNr_PAPER_A5 7816 +#define sipName_PAPER_A5 &sipStrings__core[7816] +#define sipNameNr_PAPER_A3 7825 +#define sipName_PAPER_A3 &sipStrings__core[7825] +#define sipNameNr_PAPER_A4 7834 +#define sipName_PAPER_A4 &sipStrings__core[7834] +#define sipNameNr_MOD_META 7843 +#define sipName_MOD_META &sipStrings__core[7843] +#define sipNameNr_MOD_NONE 7852 +#define sipName_MOD_NONE &sipStrings__core[7852] +#define sipNameNr_WXK_HELP 7861 +#define sipName_WXK_HELP &sipStrings__core[7861] +#define sipNameNr_WXK_DOWN 7870 +#define sipName_WXK_DOWN &sipStrings__core[7870] +#define sipNameNr_WXK_LEFT 7879 +#define sipName_WXK_LEFT &sipStrings__core[7879] +#define sipNameNr_WXK_HOME 7888 +#define sipName_WXK_HOME &sipStrings__core[7888] +#define sipNameNr_WXK_MENU 7897 +#define sipName_WXK_MENU &sipStrings__core[7897] +#define sipNameNr_WXK_BACK 7906 +#define sipName_WXK_BACK &sipStrings__core[7906] +#define sipNameNr_WXK_NONE 7915 +#define sipName_WXK_NONE &sipStrings__core[7915] +#define sipNameNr_ITEM_MAX 7924 +#define sipName_ITEM_MAX &sipStrings__core[7924] +#define sipNameNr_ItemKind 7047 +#define sipName_ItemKind &sipStrings__core[7047] +#define sipNameNr_ID_FIRST 7933 +#define sipName_ID_FIRST &sipStrings__core[7933] +#define sipNameNr_ID_CDROM 7942 +#define sipName_ID_CDROM &sipStrings__core[7942] +#define sipNameNr_ID_INDEX 7951 +#define sipName_ID_INDEX &sipStrings__core[7951] +#define sipNameNr_ID_RETRY 7960 +#define sipName_ID_RETRY &sipStrings__core[7960] +#define sipNameNr_ID_ABORT 7969 +#define sipName_ID_ABORT &sipStrings__core[7969] +#define sipNameNr_ID_RESET 7978 +#define sipName_ID_RESET &sipStrings__core[7978] +#define sipNameNr_ID_SETUP 7987 +#define sipName_ID_SETUP &sipStrings__core[7987] +#define sipNameNr_ID_APPLY 7996 +#define sipName_ID_APPLY &sipStrings__core[7996] +#define sipNameNr_ID_FILE9 8005 +#define sipName_ID_FILE9 &sipStrings__core[8005] +#define sipNameNr_ID_FILE8 8014 +#define sipName_ID_FILE8 &sipStrings__core[8014] +#define sipNameNr_ID_FILE7 8023 +#define sipName_ID_FILE7 &sipStrings__core[8023] +#define sipNameNr_ID_FILE6 8032 +#define sipName_ID_FILE6 &sipStrings__core[8032] +#define sipNameNr_ID_FILE5 8041 +#define sipName_ID_FILE5 &sipStrings__core[8041] +#define sipNameNr_ID_FILE4 8050 +#define sipName_ID_FILE4 &sipStrings__core[8050] +#define sipNameNr_ID_FILE3 8059 +#define sipName_ID_FILE3 &sipStrings__core[8059] +#define sipNameNr_ID_FILE2 8068 +#define sipName_ID_FILE2 &sipStrings__core[8068] +#define sipNameNr_ID_FILE1 8077 +#define sipName_ID_FILE1 &sipStrings__core[8077] +#define sipNameNr_ID_CLEAR 8086 +#define sipName_ID_CLEAR &sipStrings__core[8086] +#define sipNameNr_ID_PASTE 8095 +#define sipName_ID_PASTE &sipStrings__core[8095] +#define sipNameNr_ID_ABOUT 8104 +#define sipName_ID_ABOUT &sipStrings__core[8104] +#define sipNameNr_ID_PRINT 8113 +#define sipName_ID_PRINT &sipStrings__core[8113] +#define sipNameNr_ID_CLOSE 8122 +#define sipName_ID_CLOSE &sipStrings__core[8122] +#define sipNameNr_wxBorder 8131 +#define sipName_wxBorder &sipStrings__core[8131] +#define sipNameNr_VERTICAL 760 +#define sipName_VERTICAL &sipStrings__core[760] +#define sipNameNr_OutRight 8140 +#define sipName_OutRight &sipStrings__core[8140] +#define sipNameNr_SetRight 8149 +#define sipName_SetRight &sipStrings__core[8149] +#define sipNameNr_GetFloor 8158 +#define sipName_GetFloor &sipStrings__core[8158] +#define sipNameNr_GetRight 8167 +#define sipName_GetRight &sipStrings__core[8167] +#define sipNameNr_Contains 8176 +#define sipName_Contains &sipStrings__core[8176] +#define sipNameNr_CenterIn 8185 +#define sipName_CenterIn &sipStrings__core[8185] +#define sipNameNr_CentreIn 8194 +#define sipName_CentreIn &sipStrings__core[8194] +#define sipNameNr_SetWidth 8203 +#define sipName_SetWidth &sipStrings__core[8203] +#define sipNameNr_GetWidth 8212 +#define sipName_GetWidth &sipStrings__core[8212] +#define sipNameNr___imul__ 8221 +#define sipName___imul__ &sipStrings__core[8221] +#define sipNameNr___idiv__ 8230 +#define sipName___idiv__ &sipStrings__core[8230] +#define sipNameNr___isub__ 8239 +#define sipName___isub__ &sipStrings__core[8239] +#define sipNameNr___iadd__ 8248 +#define sipName___iadd__ &sipStrings__core[8248] +#define sipNameNr_IsSameAs 8257 +#define sipName_IsSameAs &sipStrings__core[8257] +#define sipNameNr_IsKindOf 8266 +#define sipName_IsKindOf &sipStrings__core[8266] +#define sipNameNr_wxObject 8275 +#define sipName_wxObject &sipStrings__core[8275] +#define sipNameNr_wxString 8284 +#define sipName_wxString &sipStrings__core[8284] +#define sipNameNr_wx__core 8293 +#define sipName_wx__core &sipStrings__core[8293] +#define sipNameNr_MOD_ALL 8302 +#define sipName_MOD_ALL &sipStrings__core[8302] +#define sipNameNr_MOD_CMD 8310 +#define sipName_MOD_CMD &sipStrings__core[8310] +#define sipNameNr_MOD_WIN 8318 +#define sipName_MOD_WIN &sipStrings__core[8318] +#define sipNameNr_MOD_ALT 8326 +#define sipName_MOD_ALT &sipStrings__core[8326] +#define sipNameNr_WXK_F24 8334 +#define sipName_WXK_F24 &sipStrings__core[8334] +#define sipNameNr_WXK_F23 8342 +#define sipName_WXK_F23 &sipStrings__core[8342] +#define sipNameNr_WXK_F22 8350 +#define sipName_WXK_F22 &sipStrings__core[8350] +#define sipNameNr_WXK_F21 8358 +#define sipName_WXK_F21 &sipStrings__core[8358] +#define sipNameNr_WXK_F20 8366 +#define sipName_WXK_F20 &sipStrings__core[8366] +#define sipNameNr_WXK_F19 8374 +#define sipName_WXK_F19 &sipStrings__core[8374] +#define sipNameNr_WXK_F18 8382 +#define sipName_WXK_F18 &sipStrings__core[8382] +#define sipNameNr_WXK_F17 8390 +#define sipName_WXK_F17 &sipStrings__core[8390] +#define sipNameNr_WXK_F16 8398 +#define sipName_WXK_F16 &sipStrings__core[8398] +#define sipNameNr_WXK_F15 8406 +#define sipName_WXK_F15 &sipStrings__core[8406] +#define sipNameNr_WXK_F14 8414 +#define sipName_WXK_F14 &sipStrings__core[8414] +#define sipNameNr_WXK_F13 8422 +#define sipName_WXK_F13 &sipStrings__core[8422] +#define sipNameNr_WXK_F12 8430 +#define sipName_WXK_F12 &sipStrings__core[8430] +#define sipNameNr_WXK_F11 8438 +#define sipName_WXK_F11 &sipStrings__core[8438] +#define sipNameNr_WXK_F10 8446 +#define sipName_WXK_F10 &sipStrings__core[8446] +#define sipNameNr_WXK_ADD 8454 +#define sipName_WXK_ADD &sipStrings__core[8454] +#define sipNameNr_WXK_END 8462 +#define sipName_WXK_END &sipStrings__core[8462] +#define sipNameNr_WXK_ALT 8470 +#define sipName_WXK_ALT &sipStrings__core[8470] +#define sipNameNr_WXK_TAB 8478 +#define sipName_WXK_TAB &sipStrings__core[8478] +#define sipNameNr_KeyCode 7433 +#define sipName_KeyCode &sipStrings__core[7433] +#define sipNameNr_DF_HTML 8486 +#define sipName_DF_HTML &sipStrings__core[8486] +#define sipNameNr_DF_WAVE 8494 +#define sipName_DF_WAVE &sipStrings__core[8494] +#define sipNameNr_DF_RIFF 8502 +#define sipName_DF_RIFF &sipStrings__core[8502] +#define sipNameNr_DF_TIFF 8510 +#define sipName_DF_TIFF &sipStrings__core[8510] +#define sipNameNr_DF_SYLK 8518 +#define sipName_DF_SYLK &sipStrings__core[8518] +#define sipNameNr_DF_TEXT 8526 +#define sipName_DF_TEXT &sipStrings__core[8526] +#define sipNameNr_HitTest 7463 +#define sipName_HitTest &sipStrings__core[7463] +#define sipNameNr_ID_INFO 8534 +#define sipName_ID_INFO &sipStrings__core[8534] +#define sipNameNr_ID_LAST 8542 +#define sipName_ID_LAST &sipStrings__core[8542] +#define sipNameNr_ID_BOLD 8550 +#define sipName_ID_BOLD &sipStrings__core[8550] +#define sipNameNr_ID_STOP 8558 +#define sipName_ID_STOP &sipStrings__core[8558] +#define sipNameNr_ID_HOME 8566 +#define sipName_ID_HOME &sipStrings__core[8566] +#define sipNameNr_ID_DOWN 8574 +#define sipName_ID_DOWN &sipStrings__core[8574] +#define sipNameNr_ID_MORE 8582 +#define sipName_ID_MORE &sipStrings__core[8582] +#define sipNameNr_ID_FILE 8590 +#define sipName_ID_FILE &sipStrings__core[8590] +#define sipNameNr_ID_FIND 8598 +#define sipName_ID_FIND &sipStrings__core[8598] +#define sipNameNr_ID_COPY 8606 +#define sipName_ID_COPY &sipStrings__core[8606] +#define sipNameNr_ID_EDIT 8614 +#define sipName_ID_EDIT &sipStrings__core[8614] +#define sipNameNr_ID_HELP 8622 +#define sipName_ID_HELP &sipStrings__core[8622] +#define sipNameNr_ID_REDO 8630 +#define sipName_ID_REDO &sipStrings__core[8630] +#define sipNameNr_ID_UNDO 8638 +#define sipName_ID_UNDO &sipStrings__core[8638] +#define sipNameNr_ID_EXIT 8646 +#define sipName_ID_EXIT &sipStrings__core[8646] +#define sipNameNr_ID_SAVE 8654 +#define sipName_ID_SAVE &sipStrings__core[8654] +#define sipNameNr_ID_OPEN 8662 +#define sipName_ID_OPEN &sipStrings__core[8662] +#define sipNameNr_ID_NONE 8670 +#define sipName_ID_NONE &sipStrings__core[8670] +#define sipNameNr_Stretch 7593 +#define sipName_Stretch &sipStrings__core[7593] +#define sipNameNr_OutLeft 8678 +#define sipName_OutLeft &sipStrings__core[8678] +#define sipNameNr_OutCode 7224 +#define sipName_OutCode &sipStrings__core[7224] +#define sipNameNr_SetLeft 8686 +#define sipName_SetLeft &sipStrings__core[8686] +#define sipNameNr_Point2D 8694 +#define sipName_Point2D &sipStrings__core[8694] +#define sipNameNr_degrees 8702 +#define sipName_degrees &sipStrings__core[8702] +#define sipNameNr_SetSize 8710 +#define sipName_SetSize &sipStrings__core[8710] +#define sipNameNr_IsEmpty 8718 +#define sipName_IsEmpty &sipStrings__core[8718] +#define sipNameNr_GetLeft 8726 +#define sipName_GetLeft &sipStrings__core[8726] +#define sipNameNr_Inflate 8734 +#define sipName_Inflate &sipStrings__core[8734] +#define sipNameNr_Deflate 8742 +#define sipName_Deflate &sipStrings__core[8742] +#define sipNameNr_topLeft 8750 +#define sipName_topLeft &sipStrings__core[8750] +#define sipNameNr___div__ 8758 +#define sipName___div__ &sipStrings__core[8758] +#define sipNameNr___mul__ 8766 +#define sipName___mul__ &sipStrings__core[8766] +#define sipNameNr___sub__ 8774 +#define sipName___sub__ &sipStrings__core[8774] +#define sipNameNr___neg__ 8782 +#define sipName___neg__ &sipStrings__core[8782] +#define sipNameNr___add__ 8790 +#define sipName___add__ &sipStrings__core[8790] +#define sipNameNr_wxPoint 8798 +#define sipName_wxPoint &sipStrings__core[8798] +#define sipNameNr_GetSize 8806 +#define sipName_GetSize &sipStrings__core[8806] +#define sipNameNr_UnShare 8814 +#define sipName_UnShare &sipStrings__core[8814] +#define sipNameNr_WXK_F9 8822 +#define sipName_WXK_F9 &sipStrings__core[8822] +#define sipNameNr_WXK_F8 8829 +#define sipName_WXK_F8 &sipStrings__core[8829] +#define sipNameNr_WXK_F7 8836 +#define sipName_WXK_F7 &sipStrings__core[8836] +#define sipNameNr_WXK_F6 8843 +#define sipName_WXK_F6 &sipStrings__core[8843] +#define sipNameNr_WXK_F5 8850 +#define sipName_WXK_F5 &sipStrings__core[8850] +#define sipNameNr_WXK_F4 8857 +#define sipName_WXK_F4 &sipStrings__core[8857] +#define sipNameNr_WXK_F3 8864 +#define sipName_WXK_F3 &sipStrings__core[8864] +#define sipNameNr_WXK_F2 8871 +#define sipName_WXK_F2 &sipStrings__core[8871] +#define sipNameNr_WXK_F1 8878 +#define sipName_WXK_F1 &sipStrings__core[8878] +#define sipNameNr_WXK_UP 8885 +#define sipName_WXK_UP &sipStrings__core[8885] +#define sipNameNr_DF_MAX 8892 +#define sipName_DF_MAX &sipStrings__core[8892] +#define sipNameNr_DF_DIB 8899 +#define sipName_DF_DIB &sipStrings__core[8899] +#define sipNameNr_DF_DIF 8906 +#define sipName_DF_DIF &sipStrings__core[8906] +#define sipNameNr_HT_MAX 8913 +#define sipName_HT_MAX &sipStrings__core[8913] +#define sipNameNr_ID_TOP 8920 +#define sipName_ID_TOP &sipStrings__core[8920] +#define sipNameNr_ID_ADD 8927 +#define sipName_ID_ADD &sipStrings__core[8927] +#define sipNameNr_ID_YES 8934 +#define sipName_ID_YES &sipStrings__core[8934] +#define sipNameNr_ID_CUT 8941 +#define sipName_ID_CUT &sipStrings__core[8941] +#define sipNameNr_ID_NEW 8948 +#define sipName_ID_NEW &sipStrings__core[8948] +#define sipNameNr_ID_ANY 8955 +#define sipName_ID_ANY &sipStrings__core[8955] +#define sipNameNr_Border 8133 +#define sipName_Border &sipStrings__core[8133] +#define sipNameNr_SHAPED 8962 +#define sipName_SHAPED &sipStrings__core[8962] +#define sipNameNr_EXPAND 8969 +#define sipName_EXPAND &sipStrings__core[8969] +#define sipNameNr_SHRINK 8976 +#define sipName_SHRINK &sipStrings__core[8976] +#define sipNameNr_BOTTOM 5737 +#define sipName_BOTTOM &sipStrings__core[5737] +#define sipNameNr_CENTER 2247 +#define sipName_CENTER &sipStrings__core[2247] +#define sipNameNr_CENTRE 5711 +#define sipName_CENTRE &sipStrings__core[5711] +#define sipNameNr_OutTop 8983 +#define sipName_OutTop &sipStrings__core[8983] +#define sipNameNr_Inside 8990 +#define sipName_Inside &sipStrings__core[8990] +#define sipNameNr_Rect2D 8997 +#define sipName_Rect2D &sipStrings__core[8997] +#define sipNameNr_bottom 9004 +#define sipName_bottom &sipStrings__core[9004] +#define sipNameNr_SetTop 9011 +#define sipName_SetTop &sipStrings__core[9011] +#define sipNameNr_length 9018 +#define sipName_length &sipStrings__core[9018] +#define sipNameNr_GetTop 9025 +#define sipName_GetTop &sipStrings__core[9025] +#define sipNameNr_Offset 9032 +#define sipName_Offset &sipStrings__core[9032] +#define sipNameNr_wxRect 9039 +#define sipName_wxRect &sipStrings__core[9039] +#define sipNameNr_yscale 9046 +#define sipName_yscale &sipStrings__core[9046] +#define sipNameNr_xscale 9053 +#define sipName_xscale &sipStrings__core[9053] +#define sipNameNr_height 9060 +#define sipName_height &sipStrings__core[9060] +#define sipNameNr_wxSize 9067 +#define sipName_wxSize &sipStrings__core[9067] +#define sipNameNr___ne__ 9074 +#define sipName___ne__ &sipStrings__core[9074] +#define sipNameNr___eq__ 9081 +#define sipName___eq__ &sipStrings__core[9081] +#define sipNameNr_Object 5919 +#define sipName_Object &sipStrings__core[5919] +#define sipNameNr_IncRef 9088 +#define sipName_IncRef &sipStrings__core[9088] +#define sipNameNr_DecRef 9095 +#define sipName_DecRef &sipStrings__core[9095] +#define sipNameNr_ID_UP 9102 +#define sipName_ID_UP &sipStrings__core[9102] +#define sipNameNr_ID_NO 9108 +#define sipName_ID_NO &sipStrings__core[9108] +#define sipNameNr_ID_OK 9114 +#define sipName_ID_OK &sipStrings__core[9114] +#define sipNameNr_SOUTH 9120 +#define sipName_SOUTH &sipStrings__core[9120] +#define sipNameNr_NORTH 9126 +#define sipName_NORTH &sipStrings__core[9126] +#define sipNameNr_RIGHT 1885 +#define sipName_RIGHT &sipStrings__core[1885] +#define sipNameNr_denum 9132 +#define sipName_denum &sipStrings__core[9132] +#define sipNameNr_right 9138 +#define sipName_right &sipStrings__core[9138] +#define sipNameNr_Inset 9144 +#define sipName_Inset &sipStrings__core[9144] +#define sipNameNr_Union 6546 +#define sipName_Union &sipStrings__core[6546] +#define sipNameNr_Scale 9150 +#define sipName_Scale &sipStrings__core[9150] +#define sipNameNr_IncTo 9156 +#define sipName_IncTo &sipStrings__core[9156] +#define sipNameNr_DecTo 9162 +#define sipName_DecTo &sipStrings__core[9162] +#define sipNameNr_IncBy 9168 +#define sipName_IncBy &sipStrings__core[9168] +#define sipNameNr_DecBy 9174 +#define sipName_DecBy &sipStrings__core[9174] +#define sipNameNr_width 9180 +#define sipName_width &sipStrings__core[9180] +#define sipNameNr_Point 6702 +#define sipName_Point &sipStrings__core[6702] +#define sipNameNr_UnRef 9186 +#define sipName_UnRef &sipStrings__core[9186] +#define sipNameNr_clone 9192 +#define sipName_clone &sipStrings__core[9192] +#define sipNameNr_other 9198 +#define sipName_other &sipStrings__core[9198] +#define sipNameNr_TILE 9204 +#define sipName_TILE &sipStrings__core[9204] +#define sipNameNr_GROW 9209 +#define sipName_GROW &sipStrings__core[9209] +#define sipNameNr_EAST 9214 +#define sipName_EAST &sipStrings__core[9214] +#define sipNameNr_WEST 4090 +#define sipName_WEST &sipStrings__core[4090] +#define sipNameNr_DOWN 1389 +#define sipName_DOWN &sipStrings__core[1389] +#define sipNameNr_LEFT 2339 +#define sipName_LEFT &sipStrings__core[2339] +#define sipNameNr_BOTH 9219 +#define sipName_BOTH &sipStrings__core[9219] +#define sipNameNr_dest 9224 +#define sipName_dest &sipStrings__core[9224] +#define sipNameNr_src2 9229 +#define sipName_src2 &sipStrings__core[9229] +#define sipNameNr_src1 9234 +#define sipName_src1 &sipStrings__core[9234] +#define sipNameNr_left 9239 +#define sipName_left &sipStrings__core[9239] +#define sipNameNr_Rect 1166 +#define sipName_Rect &sipStrings__core[1166] +#define sipNameNr_SetY 9244 +#define sipName_SetY &sipStrings__core[9244] +#define sipNameNr_SetX 9249 +#define sipName_SetX &sipStrings__core[9249] +#define sipNameNr_GetY 9254 +#define sipName_GetY &sipStrings__core[9254] +#define sipNameNr_GetX 9259 +#define sipName_GetX &sipStrings__core[9259] +#define sipNameNr_rect 9264 +#define sipName_rect &sipStrings__core[9264] +#define sipNameNr_diff 9269 +#define sipName_diff &sipStrings__core[9269] +#define sipNameNr_Size 4255 +#define sipName_Size &sipStrings__core[4255] +#define sipNameNr_size 9274 +#define sipName_size &sipStrings__core[9274] +#define sipNameNr_data 9279 +#define sipName_data &sipStrings__core[9279] +#define sipNameNr_info 9284 +#define sipName_info &sipStrings__core[9284] +#define sipNameNr_ALL 2070 +#define sipName_ALL &sipStrings__core[2070] +#define sipNameNr_TOP 7607 +#define sipName_TOP &sipStrings__core[7607] +#define sipNameNr_num 9134 +#define sipName_num &sipStrings__core[9134] +#define sipNameNr_top 9289 +#define sipName_top &sipStrings__core[9289] +#define sipNameNr_vec 9293 +#define sipName_vec &sipStrings__core[9293] +#define sipNameNr_dir 9297 +#define sipName_dir &sipStrings__core[9297] +#define sipNameNr_pos 9301 +#define sipName_pos &sipStrings__core[9301] +#define sipNameNr_Set 9305 +#define sipName_Set &sipStrings__core[9305] +#define sipNameNr_Ref 9091 +#define sipName_Ref &sipStrings__core[9091] +#define sipNameNr_obj 9309 +#define sipName_obj &sipStrings__core[9309] +#define sipNameNr_UP 2161 +#define sipName_UP &sipStrings__core[2161] +#define sipNameNr_dy 9313 +#define sipName_dy &sipStrings__core[9313] +#define sipNameNr_dx 9316 +#define sipName_dx &sipStrings__core[9316] +#define sipNameNr_pt 9319 +#define sipName_pt &sipStrings__core[9319] +#define sipNameNr_f 8273 +#define sipName_f &sipStrings__core[8273] +#define sipNameNr_n 1528 +#define sipName_n &sipStrings__core[1528] +#define sipNameNr_h 3411 +#define sipName_h &sipStrings__core[3411] +#define sipNameNr_w 9322 +#define sipName_w &sipStrings__core[9322] +#define sipNameNr_r 4386 +#define sipName_r &sipStrings__core[4386] +#define sipNameNr_d 3059 +#define sipName_d &sipStrings__core[3059] +#define sipNameNr_s 3379 +#define sipName_s &sipStrings__core[3379] +#define sipNameNr_y 4904 +#define sipName_y &sipStrings__core[4904] +#define sipNameNr_x 9317 +#define sipName_x &sipStrings__core[9317] + +#define sipMalloc sipAPI__core->api_malloc +#define sipFree sipAPI__core->api_free +#define sipBuildResult sipAPI__core->api_build_result +#define sipCallMethod sipAPI__core->api_call_method +#define sipParseResult sipAPI__core->api_parse_result +#define sipParseArgs sipAPI__core->api_parse_args +#define sipParseKwdArgs sipAPI__core->api_parse_kwd_args +#define sipParsePair sipAPI__core->api_parse_pair +#define sipCommonDtor sipAPI__core->api_common_dtor +#define sipConvertFromSequenceIndex sipAPI__core->api_convert_from_sequence_index +#define sipConvertFromVoidPtr sipAPI__core->api_convert_from_void_ptr +#define sipConvertToVoidPtr sipAPI__core->api_convert_to_void_ptr +#define sipAddException sipAPI__core->api_add_exception +#define sipNoFunction sipAPI__core->api_no_function +#define sipNoMethod sipAPI__core->api_no_method +#define sipAbstractMethod sipAPI__core->api_abstract_method +#define sipBadClass sipAPI__core->api_bad_class +#define sipBadCatcherResult sipAPI__core->api_bad_catcher_result +#define sipBadCallableArg sipAPI__core->api_bad_callable_arg +#define sipBadOperatorArg sipAPI__core->api_bad_operator_arg +#define sipTrace sipAPI__core->api_trace +#define sipTransferBack sipAPI__core->api_transfer_back +#define sipTransferTo sipAPI__core->api_transfer_to +#define sipTransferBreak sipAPI__core->api_transfer_break +#define sipSimpleWrapper_Type sipAPI__core->api_simplewrapper_type +#define sipWrapper_Type sipAPI__core->api_wrapper_type +#define sipWrapperType_Type sipAPI__core->api_wrappertype_type +#define sipVoidPtr_Type sipAPI__core->api_voidptr_type +#define sipGetPyObject sipAPI__core->api_get_pyobject +#define sipGetAddress sipAPI__core->api_get_address +#define sipGetCppPtr sipAPI__core->api_get_cpp_ptr +#define sipGetComplexCppPtr sipAPI__core->api_get_complex_cpp_ptr +#define sipIsPyMethod sipAPI__core->api_is_py_method +#define sipCallHook sipAPI__core->api_call_hook +#define sipStartThread sipAPI__core->api_start_thread +#define sipEndThread sipAPI__core->api_end_thread +#define sipConnectRx sipAPI__core->api_connect_rx +#define sipDisconnectRx sipAPI__core->api_disconnect_rx +#define sipRaiseUnknownException sipAPI__core->api_raise_unknown_exception +#define sipRaiseTypeException sipAPI__core->api_raise_type_exception +#define sipBadLengthForSlice sipAPI__core->api_bad_length_for_slice +#define sipAddTypeInstance sipAPI__core->api_add_type_instance +#define sipFreeSipslot sipAPI__core->api_free_sipslot +#define sipSameSlot sipAPI__core->api_same_slot +#define sipPySlotExtend sipAPI__core->api_pyslot_extend +#define sipConvertRx sipAPI__core->api_convert_rx +#define sipAddDelayedDtor sipAPI__core->api_add_delayed_dtor +#define sipCanConvertToType sipAPI__core->api_can_convert_to_type +#define sipConvertToType sipAPI__core->api_convert_to_type +#define sipForceConvertToType sipAPI__core->api_force_convert_to_type +#define sipCanConvertToEnum sipAPI__core->api_can_convert_to_enum +#define sipReleaseType sipAPI__core->api_release_type +#define sipConvertFromType sipAPI__core->api_convert_from_type +#define sipConvertFromNewType sipAPI__core->api_convert_from_new_type +#define sipConvertFromEnum sipAPI__core->api_convert_from_enum +#define sipGetState sipAPI__core->api_get_state +#define sipLong_AsUnsignedLong sipAPI__core->api_long_as_unsigned_long +#define sipExportSymbol sipAPI__core->api_export_symbol +#define sipImportSymbol sipAPI__core->api_import_symbol +#define sipFindType sipAPI__core->api_find_type +#define sipFindNamedEnum sipAPI__core->api_find_named_enum +#define sipBytes_AsChar sipAPI__core->api_bytes_as_char +#define sipBytes_AsString sipAPI__core->api_bytes_as_string +#define sipString_AsASCIIChar sipAPI__core->api_string_as_ascii_char +#define sipString_AsASCIIString sipAPI__core->api_string_as_ascii_string +#define sipString_AsLatin1Char sipAPI__core->api_string_as_latin1_char +#define sipString_AsLatin1String sipAPI__core->api_string_as_latin1_string +#define sipString_AsUTF8Char sipAPI__core->api_string_as_utf8_char +#define sipString_AsUTF8String sipAPI__core->api_string_as_utf8_string +#define sipUnicode_AsWChar sipAPI__core->api_unicode_as_wchar +#define sipUnicode_AsWString sipAPI__core->api_unicode_as_wstring +#define sipConvertFromConstVoidPtr sipAPI__core->api_convert_from_const_void_ptr +#define sipConvertFromVoidPtrAndSize sipAPI__core->api_convert_from_void_ptr_and_size +#define sipConvertFromConstVoidPtrAndSize sipAPI__core->api_convert_from_const_void_ptr_and_size +#define sipInvokeSlot sipAPI__core->api_invoke_slot +#define sipSaveSlot sipAPI__core->api_save_slot +#define sipClearAnySlotReference sipAPI__core->api_clear_any_slot_reference +#define sipVisitSlot sipAPI__core->api_visit_slot +#define sipWrappedTypeName(wt) ((wt)->type->td_cname) +#define sipDeprecated sipAPI__core->api_deprecated +#define sipKeepReference sipAPI__core->api_keep_reference +#define sipRegisterPyType sipAPI__core->api_register_py_type +#define sipTypeFromPyTypeObject sipAPI__core->api_type_from_py_type_object +#define sipTypeScope sipAPI__core->api_type_scope +#define sipResolveTypedef sipAPI__core->api_resolve_typedef +#define sipRegisterAttributeGetter sipAPI__core->api_register_attribute_getter +#define sipIsAPIEnabled sipAPI__core->api_is_api_enabled +#define sipExportModule sipAPI__core->api_export_module +#define sipInitModule sipAPI__core->api_init_module + +/* These are deprecated. */ +#define sipMapStringToClass sipAPI__core->api_map_string_to_class +#define sipMapIntToClass sipAPI__core->api_map_int_to_class +#define sipFindClass sipAPI__core->api_find_class +#define sipFindMappedType sipAPI__core->api_find_mapped_type +#define sipWrapper_Check(w) PyObject_TypeCheck((w), sipAPI__core->api_wrapper_type) +#define sipGetWrapper(p, wt) sipGetPyObject((p), (wt)->type) +#define sipReleaseInstance(p, wt, s) sipReleaseType((p), (wt)->type, (s)) +#define sipReleaseMappedType sipReleaseType +#define sipCanConvertToInstance(o, wt, f) sipCanConvertToType((o), (wt)->type, (f)) +#define sipCanConvertToMappedType sipCanConvertToType +#define sipConvertToInstance(o, wt, t, f, s, e) sipConvertToType((o), (wt)->type, (t), (f), (s), (e)) +#define sipConvertToMappedType sipConvertToType +#define sipForceConvertToInstance(o, wt, t, f, s, e) sipForceConvertToType((o), (wt)->type, (t), (f), (s), (e)) +#define sipForceConvertToMappedType sipForceConvertToType +#define sipConvertFromInstance(p, wt, t) sipConvertFromType((p), (wt)->type, (t)) +#define sipConvertFromMappedType sipConvertFromType +#define sipConvertFromNamedEnum(v, pt) sipConvertFromEnum((v), ((sipEnumTypeObject *)(pt))->type) +#define sipConvertFromNewInstance(p, wt, t) sipConvertFromNewType((p), (wt)->type, (t)) + +/* The strings used by this module. */ +extern const char sipStrings__core[]; + +#define sipType_wxUpdateUI sipModuleAPI__core.em_types[32] +#define sipEnum_wxUpdateUI sipModuleAPI__core.em_types[32]->u.td_py_type +#define sipType_wxPrintMode sipModuleAPI__core.em_types[20] +#define sipEnum_wxPrintMode sipModuleAPI__core.em_types[20]->u.td_py_type +#define sipType_wxDuplexMode sipModuleAPI__core.em_types[7] +#define sipEnum_wxDuplexMode sipModuleAPI__core.em_types[7]->u.td_py_type +#define sipType_wxPrintOrientation sipModuleAPI__core.em_types[21] +#define sipEnum_wxPrintOrientation sipModuleAPI__core.em_types[21]->u.td_py_type +#define sipType_wxPaperSize sipModuleAPI__core.em_types[16] +#define sipEnum_wxPaperSize sipModuleAPI__core.em_types[16]->u.td_py_type +#define sipType_wxKeyModifier sipModuleAPI__core.em_types[12] +#define sipEnum_wxKeyModifier sipModuleAPI__core.em_types[12]->u.td_py_type +#define sipType_wxKeyCode sipModuleAPI__core.em_types[11] +#define sipEnum_wxKeyCode sipModuleAPI__core.em_types[11]->u.td_py_type +#define sipType_wxDataFormatId sipModuleAPI__core.em_types[5] +#define sipEnum_wxDataFormatId sipModuleAPI__core.em_types[5]->u.td_py_type +#define sipType_wxHitTest sipModuleAPI__core.em_types[9] +#define sipEnum_wxHitTest sipModuleAPI__core.em_types[9]->u.td_py_type +#define sipType_wxItemKind sipModuleAPI__core.em_types[10] +#define sipEnum_wxItemKind sipModuleAPI__core.em_types[10]->u.td_py_type +#define sipType_wxStandardID sipModuleAPI__core.em_types[28] +#define sipEnum_wxStandardID sipModuleAPI__core.em_types[28]->u.td_py_type +#define sipType_wxBackgroundStyle sipModuleAPI__core.em_types[1] +#define sipEnum_wxBackgroundStyle sipModuleAPI__core.em_types[1]->u.td_py_type +#define sipType_wxBorder sipModuleAPI__core.em_types[3] +#define sipEnum_wxBorder sipModuleAPI__core.em_types[3]->u.td_py_type +#define sipType_wxStretch sipModuleAPI__core.em_types[30] +#define sipEnum_wxStretch sipModuleAPI__core.em_types[30]->u.td_py_type +#define sipType_wxSizerFlagBits sipModuleAPI__core.em_types[27] +#define sipEnum_wxSizerFlagBits sipModuleAPI__core.em_types[27]->u.td_py_type +#define sipType_wxAlignment sipModuleAPI__core.em_types[0] +#define sipEnum_wxAlignment sipModuleAPI__core.em_types[0]->u.td_py_type +#define sipType_wxDirection sipModuleAPI__core.em_types[6] +#define sipEnum_wxDirection sipModuleAPI__core.em_types[6]->u.td_py_type +#define sipType_wxOrientation sipModuleAPI__core.em_types[14] +#define sipEnum_wxOrientation sipModuleAPI__core.em_types[14]->u.td_py_type +#define sipType_wxGeometryCentre sipModuleAPI__core.em_types[8] +#define sipEnum_wxGeometryCentre sipModuleAPI__core.em_types[8]->u.td_py_type +#define sipType_wxOutCode sipModuleAPI__core.em_types[15] +#define sipEnum_wxOutCode sipModuleAPI__core.em_types[15]->u.td_py_type +#define sipType_wxStockCursor sipModuleAPI__core.em_types[29] +#define sipEnum_wxStockCursor sipModuleAPI__core.em_types[29]->u.td_py_type +#define sipType_wxPolygonFillMode sipModuleAPI__core.em_types[19] +#define sipEnum_wxPolygonFillMode sipModuleAPI__core.em_types[19]->u.td_py_type +#define sipType_wxBitmapType sipModuleAPI__core.em_types[2] +#define sipEnum_wxBitmapType sipModuleAPI__core.em_types[2]->u.td_py_type + +#define sipType_wxRefCounter sipModuleAPI__core.em_types[25] +#define sipClass_wxRefCounter sipModuleAPI__core.em_types[25]->u.td_wrapper_type + +extern sipClassTypeDef sipTypeDef__core_wxRefCounter; + +#define sipType_wxObject sipModuleAPI__core.em_types[13] +#define sipClass_wxObject sipModuleAPI__core.em_types[13]->u.td_wrapper_type + +extern sipClassTypeDef sipTypeDef__core_wxObject; + +#define sipType_wxClassInfo sipModuleAPI__core.em_types[4] +#define sipClass_wxClassInfo sipModuleAPI__core.em_types[4]->u.td_wrapper_type + +extern sipClassTypeDef sipTypeDef__core_wxClassInfo; + +#define sipType_wxPoint sipModuleAPI__core.em_types[17] +#define sipClass_wxPoint sipModuleAPI__core.em_types[17]->u.td_wrapper_type + +extern sipClassTypeDef sipTypeDef__core_wxPoint; + +#define sipType_wxSize sipModuleAPI__core.em_types[26] +#define sipClass_wxSize sipModuleAPI__core.em_types[26]->u.td_wrapper_type + +extern sipClassTypeDef sipTypeDef__core_wxSize; + +#define sipType_wxRect sipModuleAPI__core.em_types[23] +#define sipClass_wxRect sipModuleAPI__core.em_types[23]->u.td_wrapper_type + +extern sipClassTypeDef sipTypeDef__core_wxRect; + +#define sipType_wxRealPoint sipModuleAPI__core.em_types[22] +#define sipClass_wxRealPoint sipModuleAPI__core.em_types[22]->u.td_wrapper_type + +extern sipClassTypeDef sipTypeDef__core_wxRealPoint; + +#define sipType_wxPoint2DDouble sipModuleAPI__core.em_types[18] +#define sipClass_wxPoint2DDouble sipModuleAPI__core.em_types[18]->u.td_wrapper_type + +extern sipClassTypeDef sipTypeDef__core_wxPoint2DDouble; + +#define sipType_wxRect2DDouble sipModuleAPI__core.em_types[24] +#define sipClass_wxRect2DDouble sipModuleAPI__core.em_types[24]->u.td_wrapper_type + +extern sipClassTypeDef sipTypeDef__core_wxRect2DDouble; + +#define sipType_wxString sipModuleAPI__core.em_types[31] + +extern sipMappedTypeDef sipTypeDef__core_wxString; + +/* The SIP API, this module's API and the APIs of any imported modules. */ +extern const sipAPIDef *sipAPI__core; +extern sipExportedModuleDef sipModuleAPI__core; + +#endif diff --git a/sip/cpp/sip_corecmodule.cpp b/sip/cpp/sip_corecmodule.cpp new file mode 100644 index 00000000..7b039d13 --- /dev/null +++ b/sip/cpp/sip_corecmodule.cpp @@ -0,0 +1,1930 @@ +/* + * Module code. + * + * Generated by SIP 4.12-snapshot-eac351f5cca7 on Wed Nov 10 15:32:07 2010 + * + * Copyright: (c) 2010 by Total Control Software + * Licence: wxWindows license + */ + +#include "sipAPI_core.h" + +#line 22 "sip/gen/gdicmn.sip" + #include +#line 15 "sip_corecmodule.cpp" +#line 119 "sip/gen/gdicmn.sip" + #include +#line 18 "sip_corecmodule.cpp" +#line 84 "sip/gen/object.sip" + #include +#line 21 "sip_corecmodule.cpp" +#line 233 "sip/gen/gdicmn.sip" + #include +#line 24 "sip_corecmodule.cpp" +#line 40 "sip/gen/object.sip" + #include +#line 27 "sip_corecmodule.cpp" +#line 404 "sip/gen/gdicmn.sip" + #include +#line 30 "sip_corecmodule.cpp" +#line 22 "sip/gen/geometry.sip" + #include +#line 33 "sip_corecmodule.cpp" +#line 115 "sip/gen/geometry.sip" + #include +#line 36 "sip_corecmodule.cpp" + +/* Define the strings used by this module. */ +const char sipStrings__core[] = { + 'P', 'A', 'P', 'E', 'R', '_', 'D', 'B', 'L', '_', 'J', 'A', 'P', 'A', 'N', 'E', 'S', 'E', '_', 'P', 'O', 'S', 'T', 'C', 'A', 'R', 'D', '_', 'R', 'O', 'T', 'A', 'T', 'E', 'D', 0, + 'P', 'A', 'P', 'E', 'R', '_', 'J', 'A', 'P', 'A', 'N', 'E', 'S', 'E', '_', 'P', 'O', 'S', 'T', 'C', 'A', 'R', 'D', '_', 'R', 'O', 'T', 'A', 'T', 'E', 'D', 0, + 'P', 'A', 'P', 'E', 'R', '_', 'L', 'E', 'T', 'T', 'E', 'R', '_', 'E', 'X', 'T', 'R', 'A', '_', 'T', 'R', 'A', 'N', 'S', 'V', 'E', 'R', 'S', 'E', 0, + 'R', 'E', 'S', 'E', 'R', 'V', 'E', '_', 'S', 'P', 'A', 'C', 'E', '_', 'E', 'V', 'E', 'N', '_', 'I', 'F', '_', 'H', 'I', 'D', 'D', 'E', 'N', 0, + 'P', 'A', 'P', 'E', 'R', '_', 'D', 'B', 'L', '_', 'J', 'A', 'P', 'A', 'N', 'E', 'S', 'E', '_', 'P', 'O', 'S', 'T', 'C', 'A', 'R', 'D', 0, + 'I', 'D', '_', 'M', 'D', 'I', '_', 'W', 'I', 'N', 'D', 'O', 'W', '_', 'A', 'R', 'R', 'A', 'N', 'G', 'E', '_', 'I', 'C', 'O', 'N', 'S', 0, + 'P', 'A', 'P', 'E', 'R', '_', 'A', '3', '_', 'E', 'X', 'T', 'R', 'A', '_', 'T', 'R', 'A', 'N', 'S', 'V', 'E', 'R', 'S', 'E', 0, + 'H', 'T', '_', 'S', 'C', 'R', 'O', 'L', 'L', 'B', 'A', 'R', '_', 'A', 'R', 'R', 'O', 'W', '_', 'P', 'A', 'G', 'E', '_', '2', 0, + 'H', 'T', '_', 'S', 'C', 'R', 'O', 'L', 'L', 'B', 'A', 'R', '_', 'A', 'R', 'R', 'O', 'W', '_', 'P', 'A', 'G', 'E', '_', '1', 0, + 'H', 'T', '_', 'S', 'C', 'R', 'O', 'L', 'L', 'B', 'A', 'R', '_', 'A', 'R', 'R', 'O', 'W', '_', 'L', 'I', 'N', 'E', '_', '2', 0, + 'H', 'T', '_', 'S', 'C', 'R', 'O', 'L', 'L', 'B', 'A', 'R', '_', 'A', 'R', 'R', 'O', 'W', '_', 'L', 'I', 'N', 'E', '_', '1', 0, + 'P', 'A', 'P', 'E', 'R', '_', 'J', 'E', 'N', 'V', '_', 'C', 'H', 'O', 'U', '4', '_', 'R', 'O', 'T', 'A', 'T', 'E', 'D', 0, + 'P', 'A', 'P', 'E', 'R', '_', 'J', 'E', 'N', 'V', '_', 'C', 'H', 'O', 'U', '3', '_', 'R', 'O', 'T', 'A', 'T', 'E', 'D', 0, + 'P', 'A', 'P', 'E', 'R', '_', 'J', 'E', 'N', 'V', '_', 'K', 'A', 'K', 'U', '3', '_', 'R', 'O', 'T', 'A', 'T', 'E', 'D', 0, + 'P', 'A', 'P', 'E', 'R', '_', 'J', 'E', 'N', 'V', '_', 'K', 'A', 'K', 'U', '2', '_', 'R', 'O', 'T', 'A', 'T', 'E', 'D', 0, + 'P', 'A', 'P', 'E', 'R', '_', 'F', 'A', 'N', 'F', 'O', 'L', 'D', '_', 'L', 'G', 'L', '_', 'G', 'E', 'R', 'M', 'A', 'N', 0, + 'P', 'A', 'P', 'E', 'R', '_', 'F', 'A', 'N', 'F', 'O', 'L', 'D', '_', 'S', 'T', 'D', '_', 'G', 'E', 'R', 'M', 'A', 'N', 0, + 'H', 'T', '_', 'W', 'I', 'N', 'D', 'O', 'W', '_', 'H', 'O', 'R', 'Z', '_', 'S', 'C', 'R', 'O', 'L', 'L', 'B', 'A', 'R', 0, + 'H', 'T', '_', 'W', 'I', 'N', 'D', 'O', 'W', '_', 'V', 'E', 'R', 'T', '_', 'S', 'C', 'R', 'O', 'L', 'L', 'B', 'A', 'R', 0, + 'P', 'A', 'P', 'E', 'R', '_', 'J', 'E', 'N', 'V', '_', 'Y', 'O', 'U', '4', '_', 'R', 'O', 'T', 'A', 'T', 'E', 'D', 0, + 'P', 'A', 'P', 'E', 'R', '_', 'L', 'E', 'T', 'T', 'E', 'R', '_', 'T', 'R', 'A', 'N', 'S', 'V', 'E', 'R', 'S', 'E', 0, + 'P', 'A', 'P', 'E', 'R', '_', 'J', 'A', 'P', 'A', 'N', 'E', 'S', 'E', '_', 'P', 'O', 'S', 'T', 'C', 'A', 'R', 'D', 0, + 'I', 'D', '_', 'M', 'D', 'I', '_', 'W', 'I', 'N', 'D', 'O', 'W', '_', 'T', 'I', 'L', 'E', '_', 'V', 'E', 'R', 'T', 0, + 'I', 'D', '_', 'M', 'D', 'I', '_', 'W', 'I', 'N', 'D', 'O', 'W', '_', 'T', 'I', 'L', 'E', '_', 'H', 'O', 'R', 'Z', 0, + 'A', 'L', 'I', 'G', 'N', '_', 'C', 'E', 'N', 'T', 'R', 'E', '_', 'H', 'O', 'R', 'I', 'Z', 'O', 'N', 'T', 'A', 'L', 0, + 'A', 'L', 'I', 'G', 'N', '_', 'C', 'E', 'N', 'T', 'E', 'R', '_', 'H', 'O', 'R', 'I', 'Z', 'O', 'N', 'T', 'A', 'L', 0, + 'P', 'A', 'P', 'E', 'R', '_', 'P', 'E', 'N', 'V', '_', '1', '0', '_', 'R', 'O', 'T', 'A', 'T', 'E', 'D', 0, + 'P', 'A', 'P', 'E', 'R', '_', 'P', '3', '2', 'K', 'B', 'I', 'G', '_', 'R', 'O', 'T', 'A', 'T', 'E', 'D', 0, + 'I', 'D', '_', 'M', 'D', 'I', '_', 'W', 'I', 'N', 'D', 'O', 'W', '_', 'C', 'A', 'S', 'C', 'A', 'D', 'E', 0, + 'A', 'L', 'I', 'G', 'N', '_', 'C', 'E', 'N', 'T', 'R', 'E', '_', 'V', 'E', 'R', 'T', 'I', 'C', 'A', 'L', 0, + 'A', 'L', 'I', 'G', 'N', '_', 'C', 'E', 'N', 'T', 'E', 'R', '_', 'V', 'E', 'R', 'T', 'I', 'C', 'A', 'L', 0, + 'C', 'U', 'R', 'S', 'O', 'R', '_', 'Q', 'U', 'E', 'S', 'T', 'I', 'O', 'N', '_', 'A', 'R', 'R', 'O', 'W', 0, + 'B', 'I', 'T', 'M', 'A', 'P', '_', 'T', 'Y', 'P', 'E', '_', 'M', 'A', 'C', 'C', 'U', 'R', 'S', 'O', 'R', 0, + 'P', 'A', 'P', 'E', 'R', '_', 'P', 'E', 'N', 'V', '_', '9', '_', 'R', 'O', 'T', 'A', 'T', 'E', 'D', 0, + 'P', 'A', 'P', 'E', 'R', '_', 'P', 'E', 'N', 'V', '_', '8', '_', 'R', 'O', 'T', 'A', 'T', 'E', 'D', 0, + 'P', 'A', 'P', 'E', 'R', '_', 'P', 'E', 'N', 'V', '_', '7', '_', 'R', 'O', 'T', 'A', 'T', 'E', 'D', 0, + 'P', 'A', 'P', 'E', 'R', '_', 'P', 'E', 'N', 'V', '_', '6', '_', 'R', 'O', 'T', 'A', 'T', 'E', 'D', 0, + 'P', 'A', 'P', 'E', 'R', '_', 'P', 'E', 'N', 'V', '_', '5', '_', 'R', 'O', 'T', 'A', 'T', 'E', 'D', 0, + 'P', 'A', 'P', 'E', 'R', '_', 'P', 'E', 'N', 'V', '_', '4', '_', 'R', 'O', 'T', 'A', 'T', 'E', 'D', 0, + 'P', 'A', 'P', 'E', 'R', '_', 'P', 'E', 'N', 'V', '_', '3', '_', 'R', 'O', 'T', 'A', 'T', 'E', 'D', 0, + 'P', 'A', 'P', 'E', 'R', '_', 'P', 'E', 'N', 'V', '_', '2', '_', 'R', 'O', 'T', 'A', 'T', 'E', 'D', 0, + 'P', 'A', 'P', 'E', 'R', '_', 'P', 'E', 'N', 'V', '_', '1', '_', 'R', 'O', 'T', 'A', 'T', 'E', 'D', 0, + 'P', 'A', 'P', 'E', 'R', '_', 'B', '6', '_', 'J', 'I', 'S', '_', 'R', 'O', 'T', 'A', 'T', 'E', 'D', 0, + 'P', 'A', 'P', 'E', 'R', '_', 'B', '5', '_', 'J', 'I', 'S', '_', 'R', 'O', 'T', 'A', 'T', 'E', 'D', 0, + 'P', 'A', 'P', 'E', 'R', '_', 'B', '4', '_', 'J', 'I', 'S', '_', 'R', 'O', 'T', 'A', 'T', 'E', 'D', 0, + 'P', 'A', 'P', 'E', 'R', '_', 'L', 'E', 'T', 'T', 'E', 'R', '_', 'R', 'O', 'T', 'A', 'T', 'E', 'D', 0, + 'W', 'X', 'K', '_', 'N', 'U', 'M', 'P', 'A', 'D', '_', 'S', 'E', 'P', 'A', 'R', 'A', 'T', 'O', 'R', 0, + 'S', 'I', 'Z', 'E', 'R', '_', 'F', 'L', 'A', 'G', '_', 'B', 'I', 'T', 'S', '_', 'M', 'A', 'S', 'K', 0, + 'G', 'e', 't', 'C', 'l', 'i', 'e', 'n', 't', 'D', 'i', 's', 'p', 'l', 'a', 'y', 'R', 'e', 'c', 't', 0, + 'C', 'U', 'R', 'S', 'O', 'R', '_', 'M', 'I', 'D', 'D', 'L', 'E', '_', 'B', 'U', 'T', 'T', 'O', 'N', 0, + 'B', 'I', 'T', 'M', 'A', 'P', '_', 'T', 'Y', 'P', 'E', '_', 'X', 'P', 'M', '_', 'D', 'A', 'T', 'A', 0, + 'B', 'I', 'T', 'M', 'A', 'P', '_', 'T', 'Y', 'P', 'E', '_', 'X', 'B', 'M', '_', 'D', 'A', 'T', 'A', 0, + 'P', 'A', 'P', 'E', 'R', '_', 'A', '3', '_', 'T', 'R', 'A', 'N', 'S', 'V', 'E', 'R', 'S', 'E', 0, + 'P', 'A', 'P', 'E', 'R', '_', 'B', '5', '_', 'T', 'R', 'A', 'N', 'S', 'V', 'E', 'R', 'S', 'E', 0, + 'P', 'A', 'P', 'E', 'R', '_', 'A', '5', '_', 'T', 'R', 'A', 'N', 'S', 'V', 'E', 'R', 'S', 'E', 0, + 'P', 'A', 'P', 'E', 'R', '_', 'A', '4', '_', 'T', 'R', 'A', 'N', 'S', 'V', 'E', 'R', 'S', 'E', 0, + 'P', 'A', 'P', 'E', 'R', '_', 'T', 'A', 'B', 'L', 'O', 'I', 'D', '_', 'E', 'X', 'T', 'R', 'A', 0, + 'W', 'X', 'K', '_', 'N', 'U', 'M', 'P', 'A', 'D', '_', 'S', 'U', 'B', 'T', 'R', 'A', 'C', 'T', 0, + 'W', 'X', 'K', '_', 'N', 'U', 'M', 'P', 'A', 'D', '_', 'M', 'U', 'L', 'T', 'I', 'P', 'L', 'Y', 0, + 'W', 'X', 'K', '_', 'N', 'U', 'M', 'P', 'A', 'D', '_', 'P', 'A', 'G', 'E', 'D', 'O', 'W', 'N', 0, + 'I', 'D', '_', 'M', 'D', 'I', '_', 'W', 'I', 'N', 'D', 'O', 'W', '_', 'F', 'I', 'R', 'S', 'T', 0, + 'C', 'U', 'R', 'S', 'O', 'R', '_', 'R', 'I', 'G', 'H', 'T', '_', 'B', 'U', 'T', 'T', 'O', 'N', 0, + 'B', 'I', 'T', 'M', 'A', 'P', '_', 'T', 'Y', 'P', 'E', '_', 'I', 'N', 'V', 'A', 'L', 'I', 'D', 0, + 'U', 'P', 'D', 'A', 'T', 'E', '_', 'U', 'I', '_', 'F', 'R', 'O', 'M', 'I', 'D', 'L', 'E', 0, + 'P', 'R', 'I', 'N', 'T', '_', 'M', 'O', 'D', 'E', '_', 'P', 'R', 'I', 'N', 'T', 'E', 'R', 0, + 'P', 'R', 'I', 'N', 'T', '_', 'M', 'O', 'D', 'E', '_', 'P', 'R', 'E', 'V', 'I', 'E', 'W', 0, + 'w', 'x', 'P', 'r', 'i', 'n', 't', 'O', 'r', 'i', 'e', 'n', 't', 'a', 't', 'i', 'o', 'n', 0, + 'P', 'A', 'P', 'E', 'R', '_', 'P', '3', '2', 'K', '_', 'R', 'O', 'T', 'A', 'T', 'E', 'D', 0, + 'P', 'A', 'P', 'E', 'R', '_', 'P', '1', '6', 'K', '_', 'R', 'O', 'T', 'A', 'T', 'E', 'D', 0, + 'P', 'A', 'P', 'E', 'R', '_', 'L', 'E', 'T', 'T', 'E', 'R', '_', 'E', 'X', 'T', 'R', 'A', 0, + 'P', 'A', 'P', 'E', 'R', '_', 'E', 'N', 'V', '_', 'P', 'E', 'R', 'S', 'O', 'N', 'A', 'L', 0, + 'W', 'X', 'K', '_', 'N', 'U', 'M', 'P', 'A', 'D', '_', 'D', 'E', 'C', 'I', 'M', 'A', 'L', 0, + 'H', 'T', '_', 'S', 'C', 'R', 'O', 'L', 'L', 'B', 'A', 'R', '_', 'B', 'A', 'R', '_', '2', 0, + 'H', 'T', '_', 'S', 'C', 'R', 'O', 'L', 'L', 'B', 'A', 'R', '_', 'B', 'A', 'R', '_', '1', 0, + 'H', 'T', '_', 'S', 'C', 'R', 'O', 'L', 'L', 'B', 'A', 'R', '_', 'T', 'H', 'U', 'M', 'B', 0, + 'H', 'T', '_', 'S', 'C', 'R', 'O', 'L', 'L', 'B', 'A', 'R', '_', 'F', 'I', 'R', 'S', 'T', 0, + 'I', 'D', '_', 'M', 'D', 'I', '_', 'W', 'I', 'N', 'D', 'O', 'W', '_', 'L', 'A', 'S', 'T', 0, + 'I', 'D', '_', 'M', 'D', 'I', '_', 'W', 'I', 'N', 'D', 'O', 'W', '_', 'N', 'E', 'X', 'T', 0, + 'I', 'D', '_', 'M', 'D', 'I', '_', 'W', 'I', 'N', 'D', 'O', 'W', '_', 'P', 'R', 'E', 'V', 0, + 'I', 'D', '_', 'S', 'O', 'R', 'T', '_', 'D', 'E', 'S', 'C', 'E', 'N', 'D', 'I', 'N', 'G', 0, + 'I', 'D', '_', 'R', 'E', 'V', 'E', 'R', 'T', '_', 'T', 'O', '_', 'S', 'A', 'V', 'E', 'D', 0, + 'I', 'D', '_', 'V', 'I', 'E', 'W', '_', 'S', 'M', 'A', 'L', 'L', 'I', 'C', 'O', 'N', 'S', 0, + 'I', 'D', '_', 'V', 'I', 'E', 'W', '_', 'L', 'A', 'R', 'G', 'E', 'I', 'C', 'O', 'N', 'S', 0, + 'I', 'D', '_', 'H', 'E', 'L', 'P', '_', 'P', 'R', 'O', 'C', 'E', 'D', 'U', 'R', 'E', 'S', 0, + 'C', 'r', 'e', 'a', 't', 'e', 'I', 'n', 't', 'e', 'r', 's', 'e', 'c', 't', 'i', 'o', 'n', 0, + 'C', 'U', 'R', 'S', 'O', 'R', '_', 'P', 'O', 'I', 'N', 'T', '_', 'R', 'I', 'G', 'H', 'T', 0, + 'C', 'U', 'R', 'S', 'O', 'R', '_', 'P', 'A', 'I', 'N', 'T', '_', 'B', 'R', 'U', 'S', 'H', 0, + 'C', 'U', 'R', 'S', 'O', 'R', '_', 'L', 'E', 'F', 'T', '_', 'B', 'U', 'T', 'T', 'O', 'N', 0, + 'C', 'U', 'R', 'S', 'O', 'R', '_', 'R', 'I', 'G', 'H', 'T', '_', 'A', 'R', 'R', 'O', 'W', 0, + 'U', 'P', 'D', 'A', 'T', 'E', '_', 'U', 'I', '_', 'R', 'E', 'C', 'U', 'R', 'S', 'E', 0, + 'P', 'R', 'I', 'N', 'T', '_', 'M', 'O', 'D', 'E', '_', 'S', 'T', 'R', 'E', 'A', 'M', 0, + 'D', 'U', 'P', 'L', 'E', 'X', '_', 'H', 'O', 'R', 'I', 'Z', 'O', 'N', 'T', 'A', 'L', 0, + 'P', 'A', 'P', 'E', 'R', '_', 'L', 'E', 'T', 'T', 'E', 'R', '_', 'P', 'L', 'U', 'S', 0, + 'P', 'A', 'P', 'E', 'R', '_', 'L', 'E', 'G', 'A', 'L', '_', 'E', 'X', 'T', 'R', 'A', 0, + 'P', 'A', 'P', 'E', 'R', '_', 'E', 'N', 'V', '_', 'M', 'O', 'N', 'A', 'R', 'C', 'H', 0, + 'P', 'A', 'P', 'E', 'R', '_', 'L', 'E', 'T', 'T', 'E', 'R', 'S', 'M', 'A', 'L', 'L', 0, + 'W', 'X', 'K', '_', 'W', 'I', 'N', 'D', 'O', 'W', 'S', '_', 'R', 'I', 'G', 'H', 'T', 0, + 'W', 'X', 'K', '_', 'N', 'U', 'M', 'P', 'A', 'D', '_', 'D', 'I', 'V', 'I', 'D', 'E', 0, + 'W', 'X', 'K', '_', 'N', 'U', 'M', 'P', 'A', 'D', '_', 'D', 'E', 'L', 'E', 'T', 'E', 0, + 'W', 'X', 'K', '_', 'N', 'U', 'M', 'P', 'A', 'D', '_', 'I', 'N', 'S', 'E', 'R', 'T', 0, + 'W', 'X', 'K', '_', 'N', 'U', 'M', 'P', 'A', 'D', '_', 'P', 'A', 'G', 'E', 'U', 'P', 0, + 'H', 'T', '_', 'W', 'I', 'N', 'D', 'O', 'W', '_', 'O', 'U', 'T', 'S', 'I', 'D', 'E', 0, + 'H', 'T', '_', 'S', 'C', 'R', 'O', 'L', 'L', 'B', 'A', 'R', '_', 'L', 'A', 'S', 'T', 0, + 'I', 'D', '_', 'M', 'A', 'X', 'I', 'M', 'I', 'Z', 'E', '_', 'F', 'R', 'A', 'M', 'E', 0, + 'I', 'D', '_', 'S', 'O', 'R', 'T', '_', 'A', 'S', 'C', 'E', 'N', 'D', 'I', 'N', 'G', 0, + 'I', 'D', '_', 'J', 'U', 'S', 'T', 'I', 'F', 'Y', '_', 'C', 'E', 'N', 'T', 'E', 'R', 0, + 'w', 'x', 'B', 'a', 'c', 'k', 'g', 'r', 'o', 'u', 'n', 'd', 'S', 't', 'y', 'l', 'e', 0, + 'M', 'o', 'v', 'e', 'R', 'i', 'g', 'h', 't', 'B', 'o', 't', 't', 'o', 'm', 'T', 'o', 0, + 'G', 'e', 't', 'D', 'i', 's', 't', 'a', 'n', 'c', 'e', 'S', 'q', 'u', 'a', 'r', 'e', 0, + 'C', 'U', 'R', 'S', 'O', 'R', '_', 'C', 'O', 'P', 'Y', '_', 'A', 'R', 'R', 'O', 'W', 0, + 'C', 'U', 'R', 'S', 'O', 'R', '_', 'P', 'O', 'I', 'N', 'T', '_', 'L', 'E', 'F', 'T', 0, + 'w', 'x', 'P', 'o', 'l', 'y', 'g', 'o', 'n', 'F', 'i', 'l', 'l', 'M', 'o', 'd', 'e', 0, + 'G', 'e', 't', 'B', 'a', 's', 'e', 'C', 'l', 'a', 's', 's', 'N', 'a', 'm', 'e', '2', 0, + 'G', 'e', 't', 'B', 'a', 's', 'e', 'C', 'l', 'a', 's', 's', 'N', 'a', 'm', 'e', '1', 0, + 'P', 'A', 'P', 'E', 'R', '_', 'A', '6', '_', 'R', 'O', 'T', 'A', 'T', 'E', 'D', 0, + 'P', 'A', 'P', 'E', 'R', '_', 'A', '5', '_', 'R', 'O', 'T', 'A', 'T', 'E', 'D', 0, + 'P', 'A', 'P', 'E', 'R', '_', 'A', '4', '_', 'R', 'O', 'T', 'A', 'T', 'E', 'D', 0, + 'P', 'A', 'P', 'E', 'R', '_', 'A', '3', '_', 'R', 'O', 'T', 'A', 'T', 'E', 'D', 0, + 'P', 'A', 'P', 'E', 'R', '_', 'J', 'E', 'N', 'V', '_', 'C', 'H', 'O', 'U', '4', 0, + 'P', 'A', 'P', 'E', 'R', '_', 'J', 'E', 'N', 'V', '_', 'C', 'H', 'O', 'U', '3', 0, + 'P', 'A', 'P', 'E', 'R', '_', 'J', 'E', 'N', 'V', '_', 'K', 'A', 'K', 'U', '3', 0, + 'P', 'A', 'P', 'E', 'R', '_', 'J', 'E', 'N', 'V', '_', 'K', 'A', 'K', 'U', '2', 0, + 'P', 'A', 'P', 'E', 'R', '_', 'E', 'N', 'V', '_', 'I', 'N', 'V', 'I', 'T', 'E', 0, + 'P', 'A', 'P', 'E', 'R', '_', 'F', 'A', 'N', 'F', 'O', 'L', 'D', '_', 'U', 'S', 0, + 'W', 'X', 'K', '_', 'W', 'I', 'N', 'D', 'O', 'W', 'S', '_', 'M', 'E', 'N', 'U', 0, + 'W', 'X', 'K', '_', 'W', 'I', 'N', 'D', 'O', 'W', 'S', '_', 'L', 'E', 'F', 'T', 0, + 'W', 'X', 'K', '_', 'N', 'U', 'M', 'P', 'A', 'D', '_', 'E', 'Q', 'U', 'A', 'L', 0, + 'W', 'X', 'K', '_', 'N', 'U', 'M', 'P', 'A', 'D', '_', 'B', 'E', 'G', 'I', 'N', 0, + 'W', 'X', 'K', '_', 'N', 'U', 'M', 'P', 'A', 'D', '_', 'R', 'I', 'G', 'H', 'T', 0, + 'W', 'X', 'K', '_', 'N', 'U', 'M', 'P', 'A', 'D', '_', 'E', 'N', 'T', 'E', 'R', 0, + 'W', 'X', 'K', '_', 'N', 'U', 'M', 'P', 'A', 'D', '_', 'S', 'P', 'A', 'C', 'E', 0, + 'H', 'T', '_', 'W', 'I', 'N', 'D', 'O', 'W', '_', 'C', 'O', 'R', 'N', 'E', 'R', 0, + 'H', 'T', '_', 'W', 'I', 'N', 'D', 'O', 'W', '_', 'I', 'N', 'S', 'I', 'D', 'E', 0, + 'I', 'D', '_', 'R', 'E', 'S', 'T', 'O', 'R', 'E', '_', 'F', 'R', 'A', 'M', 'E', 0, + 'I', 'D', '_', 'I', 'C', 'O', 'N', 'I', 'Z', 'E', '_', 'F', 'R', 'A', 'M', 'E', 0, + 'I', 'D', '_', 'S', 'T', 'R', 'I', 'K', 'E', 'T', 'H', 'R', 'O', 'U', 'G', 'H', 0, + 'I', 'D', '_', 'J', 'U', 'S', 'T', 'I', 'F', 'Y', '_', 'R', 'I', 'G', 'H', 'T', 0, + 'I', 'D', '_', 'V', 'I', 'E', 'W', '_', 'S', 'O', 'R', 'T', 'T', 'Y', 'P', 'E', 0, + 'I', 'D', '_', 'V', 'I', 'E', 'W', '_', 'S', 'O', 'R', 'T', 'S', 'I', 'Z', 'E', 0, + 'I', 'D', '_', 'V', 'I', 'E', 'W', '_', 'S', 'O', 'R', 'T', 'N', 'A', 'M', 'E', 0, + 'I', 'D', '_', 'V', 'I', 'E', 'W', '_', 'S', 'O', 'R', 'T', 'D', 'A', 'T', 'E', 0, + 'I', 'D', '_', 'H', 'E', 'L', 'P', '_', 'C', 'O', 'M', 'M', 'A', 'N', 'D', 'S', 0, + 'I', 'D', '_', 'H', 'E', 'L', 'P', '_', 'C', 'O', 'N', 'T', 'E', 'N', 'T', 'S', 0, + 'O', 'R', 'I', 'E', 'N', 'T', 'A', 'T', 'I', 'O', 'N', '_', 'M', 'A', 'S', 'K', 0, + 'w', 'x', 'G', 'e', 'o', 'm', 'e', 't', 'r', 'y', 'C', 'e', 'n', 't', 'r', 'e', 0, + 'M', 'o', 'v', 'e', 'L', 'e', 'f', 't', 'B', 'o', 't', 't', 'o', 'm', 'T', 'o', 0, + 'G', 'e', 't', 'D', 'i', 's', 'p', 'l', 'a', 'y', 'S', 'i', 'z', 'e', 'M', 'M', 0, + 'C', 'U', 'R', 'S', 'O', 'R', '_', 'A', 'R', 'R', 'O', 'W', 'W', 'A', 'I', 'T', 0, + 'C', 'U', 'R', 'S', 'O', 'R', '_', 'M', 'A', 'G', 'N', 'I', 'F', 'I', 'E', 'R', 0, + 'B', 'I', 'T', 'M', 'A', 'P', '_', 'T', 'Y', 'P', 'E', '_', 'I', 'C', 'O', 'N', 0, + 'B', 'I', 'T', 'M', 'A', 'P', '_', 'T', 'Y', 'P', 'E', '_', 'P', 'I', 'C', 'T', 0, + 'B', 'I', 'T', 'M', 'A', 'P', '_', 'T', 'Y', 'P', 'E', '_', 'J', 'P', 'E', 'G', 0, + 'I', 's', 'F', 'u', 'l', 'l', 'y', 'S', 'p', 'e', 'c', 'i', 'f', 'i', 'e', 'd', 0, + 'P', 'R', 'I', 'N', 'T', '_', 'M', 'O', 'D', 'E', '_', 'F', 'I', 'L', 'E', 0, + 'P', 'R', 'I', 'N', 'T', '_', 'M', 'O', 'D', 'E', '_', 'N', 'O', 'N', 'E', 0, + 'D', 'U', 'P', 'L', 'E', 'X', '_', 'V', 'E', 'R', 'T', 'I', 'C', 'A', 'L', 0, + 'P', 'A', 'P', 'E', 'R', '_', 'J', 'E', 'N', 'V', '_', 'Y', 'O', 'U', '4', 0, + 'P', 'A', 'P', 'E', 'R', '_', 'E', 'N', 'V', '_', 'I', 'T', 'A', 'L', 'Y', 0, + 'P', 'A', 'P', 'E', 'R', '_', 'E', 'X', 'E', 'C', 'U', 'T', 'I', 'V', 'E', 0, + 'P', 'A', 'P', 'E', 'R', '_', 'S', 'T', 'A', 'T', 'E', 'M', 'E', 'N', 'T', 0, + 'W', 'X', 'K', '_', 'N', 'U', 'M', 'P', 'A', 'D', '_', 'D', 'O', 'W', 'N', 0, + 'W', 'X', 'K', '_', 'N', 'U', 'M', 'P', 'A', 'D', '_', 'L', 'E', 'F', 'T', 0, + 'W', 'X', 'K', '_', 'N', 'U', 'M', 'P', 'A', 'D', '_', 'H', 'O', 'M', 'E', 0, + 'I', 'D', '_', 'R', 'E', 'S', 'I', 'Z', 'E', '_', 'F', 'R', 'A', 'M', 'E', 0, + 'I', 'D', '_', 'S', 'E', 'L', 'E', 'C', 'T', '_', 'C', 'O', 'L', 'O', 'R', 0, + 'I', 'D', '_', 'J', 'U', 'S', 'T', 'I', 'F', 'Y', '_', 'L', 'E', 'F', 'T', 0, + 'I', 'D', '_', 'J', 'U', 'S', 'T', 'I', 'F', 'Y', '_', 'F', 'I', 'L', 'L', 0, + 'I', 'D', '_', 'C', 'O', 'N', 'T', 'E', 'X', 'T', '_', 'H', 'E', 'L', 'P', 0, + 'I', 'D', '_', 'V', 'I', 'E', 'W', '_', 'D', 'E', 'T', 'A', 'I', 'L', 'S', 0, + 'I', 'D', '_', 'H', 'E', 'L', 'P', '_', 'C', 'O', 'N', 'T', 'E', 'X', 'T', 0, + 'I', 'D', '_', 'A', 'U', 'T', 'O', '_', 'H', 'I', 'G', 'H', 'E', 'S', 'T', 0, + 'B', 'G', '_', 'S', 'T', 'Y', 'L', 'E', '_', 'S', 'Y', 'S', 'T', 'E', 'M', 0, + 'w', 'x', 'S', 'i', 'z', 'e', 'r', 'F', 'l', 'a', 'g', 'B', 'i', 't', 's', 0, + 'G', 'e', 't', 'C', 'r', 'o', 's', 's', 'P', 'r', 'o', 'd', 'u', 'c', 't', 0, + 'S', 'e', 't', 'V', 'e', 'c', 't', 'o', 'r', 'L', 'e', 'n', 'g', 't', 'h', 0, + 'G', 'e', 't', 'V', 'e', 'c', 't', 'o', 'r', 'L', 'e', 'n', 'g', 't', 'h', 0, + 'w', 'x', 'P', 'o', 'i', 'n', 't', '2', 'D', 'D', 'o', 'u', 'b', 'l', 'e', 0, + 'D', 'e', 'f', 'a', 'u', 'l', 't', 'P', 'o', 's', 'i', 't', 'i', 'o', 'n', 0, + 'C', 'U', 'R', 'S', 'O', 'R', '_', 'S', 'P', 'R', 'A', 'Y', 'C', 'A', 'N', 0, + 'C', 'U', 'R', 'S', 'O', 'R', '_', 'S', 'I', 'Z', 'E', 'N', 'W', 'S', 'E', 0, + 'C', 'U', 'R', 'S', 'O', 'R', '_', 'S', 'I', 'Z', 'E', 'N', 'E', 'S', 'W', 0, + 'C', 'U', 'R', 'S', 'O', 'R', '_', 'N', 'O', '_', 'E', 'N', 'T', 'R', 'Y', 0, + 'C', 'U', 'R', 'S', 'O', 'R', '_', 'B', 'U', 'L', 'L', 'S', 'E', 'Y', 'E', 0, + 'B', 'I', 'T', 'M', 'A', 'P', '_', 'T', 'Y', 'P', 'E', '_', 'A', 'N', 'Y', 0, + 'B', 'I', 'T', 'M', 'A', 'P', '_', 'T', 'Y', 'P', 'E', '_', 'T', 'G', 'A', 0, + 'B', 'I', 'T', 'M', 'A', 'P', '_', 'T', 'Y', 'P', 'E', '_', 'I', 'F', 'F', 0, + 'B', 'I', 'T', 'M', 'A', 'P', '_', 'T', 'Y', 'P', 'E', '_', 'A', 'N', 'I', 0, + 'B', 'I', 'T', 'M', 'A', 'P', '_', 'T', 'Y', 'P', 'E', '_', 'P', 'C', 'X', 0, + 'B', 'I', 'T', 'M', 'A', 'P', '_', 'T', 'Y', 'P', 'E', '_', 'P', 'N', 'M', 0, + 'B', 'I', 'T', 'M', 'A', 'P', '_', 'T', 'Y', 'P', 'E', '_', 'P', 'N', 'G', 0, + 'B', 'I', 'T', 'M', 'A', 'P', '_', 'T', 'Y', 'P', 'E', '_', 'G', 'I', 'F', 0, + 'B', 'I', 'T', 'M', 'A', 'P', '_', 'T', 'Y', 'P', 'E', '_', 'T', 'I', 'F', 0, + 'B', 'I', 'T', 'M', 'A', 'P', '_', 'T', 'Y', 'P', 'E', '_', 'X', 'P', 'M', 0, + 'B', 'I', 'T', 'M', 'A', 'P', '_', 'T', 'Y', 'P', 'E', '_', 'X', 'B', 'M', 0, + 'B', 'I', 'T', 'M', 'A', 'P', '_', 'T', 'Y', 'P', 'E', '_', 'C', 'U', 'R', 0, + 'B', 'I', 'T', 'M', 'A', 'P', '_', 'T', 'Y', 'P', 'E', '_', 'I', 'C', 'O', 0, + 'B', 'I', 'T', 'M', 'A', 'P', '_', 'T', 'Y', 'P', 'E', '_', 'B', 'M', 'P', 0, + 'U', 'P', 'D', 'A', 'T', 'E', '_', 'U', 'I', '_', 'N', 'O', 'N', 'E', 0, + 'D', 'U', 'P', 'L', 'E', 'X', '_', 'S', 'I', 'M', 'P', 'L', 'E', 'X', 0, + 'P', 'A', 'P', 'E', 'R', '_', 'B', '5', '_', 'E', 'X', 'T', 'R', 'A', 0, + 'P', 'A', 'P', 'E', 'R', '_', 'A', '5', '_', 'E', 'X', 'T', 'R', 'A', 0, + 'P', 'A', 'P', 'E', 'R', '_', 'A', '3', '_', 'E', 'X', 'T', 'R', 'A', 0, + 'P', 'A', 'P', 'E', 'R', '_', 'A', '4', '_', 'E', 'X', 'T', 'R', 'A', 0, + 'W', 'X', 'K', '_', 'N', 'U', 'M', 'P', 'A', 'D', '_', 'A', 'D', 'D', 0, + 'W', 'X', 'K', '_', 'N', 'U', 'M', 'P', 'A', 'D', '_', 'E', 'N', 'D', 0, + 'W', 'X', 'K', '_', 'N', 'U', 'M', 'P', 'A', 'D', '_', 'T', 'A', 'B', 0, + 'D', 'F', '_', 'E', 'N', 'H', 'M', 'E', 'T', 'A', 'F', 'I', 'L', 'E', 0, + 'D', 'F', '_', 'U', 'N', 'I', 'C', 'O', 'D', 'E', 'T', 'E', 'X', 'T', 0, + 'w', 'x', 'D', 'a', 't', 'a', 'F', 'o', 'r', 'm', 'a', 't', 'I', 'd', 0, + 'I', 'T', 'E', 'M', '_', 'S', 'E', 'P', 'A', 'R', 'A', 'T', 'O', 'R', 0, + 'I', 'D', '_', 'C', 'L', 'O', 'S', 'E', '_', 'F', 'R', 'A', 'M', 'E', 0, + 'I', 'D', '_', 'S', 'Y', 'S', 'T', 'E', 'M', '_', 'M', 'E', 'N', 'U', 0, + 'I', 'D', '_', 'S', 'P', 'E', 'L', 'L', '_', 'C', 'H', 'E', 'C', 'K', 0, + 'I', 'D', '_', 'S', 'E', 'L', 'E', 'C', 'T', '_', 'F', 'O', 'N', 'T', 0, + 'I', 'D', '_', 'R', 'E', 'P', 'L', 'A', 'C', 'E', '_', 'A', 'L', 'L', 0, + 'I', 'D', '_', 'P', 'R', 'E', 'F', 'E', 'R', 'E', 'N', 'C', 'E', 'S', 0, + 'I', 'D', '_', 'H', 'E', 'L', 'P', '_', 'S', 'E', 'A', 'R', 'C', 'H', 0, + 'I', 'D', '_', 'P', 'R', 'I', 'N', 'T', '_', 'S', 'E', 'T', 'U', 'P', 0, + 'I', 'D', '_', 'A', 'U', 'T', 'O', '_', 'L', 'O', 'W', 'E', 'S', 'T', 0, + 'B', 'G', '_', 'S', 'T', 'Y', 'L', 'E', '_', 'P', 'A', 'I', 'N', 'T', 0, + 'B', 'G', '_', 'S', 'T', 'Y', 'L', 'E', '_', 'E', 'R', 'A', 'S', 'E', 0, + 'B', 'O', 'R', 'D', 'E', 'R', '_', 'D', 'E', 'F', 'A', 'U', 'L', 'T', 0, + 'D', 'I', 'R', 'E', 'C', 'T', 'I', 'O', 'N', '_', 'M', 'A', 'S', 'K', 0, + 'S', 'e', 't', 'R', 'i', 'g', 'h', 't', 'B', 'o', 't', 't', 'o', 'm', 0, + 'G', 'e', 't', 'R', 'i', 'g', 'h', 't', 'B', 'o', 't', 't', 'o', 'm', 0, + 'M', 'o', 'v', 'e', 'R', 'i', 'g', 'h', 't', 'T', 'o', 'p', 'T', 'o', 0, + 'w', 'x', 'R', 'e', 'c', 't', '2', 'D', 'D', 'o', 'u', 'b', 'l', 'e', 0, + 'S', 'e', 't', 'V', 'e', 'c', 't', 'o', 'r', 'A', 'n', 'g', 'l', 'e', 0, + 'G', 'e', 't', 'V', 'e', 'c', 't', 'o', 'r', 'A', 'n', 'g', 'l', 'e', 0, + 'G', 'e', 't', 'D', 'i', 's', 'p', 'l', 'a', 'y', 'S', 'i', 'z', 'e', 0, + 'C', 'U', 'R', 'S', 'O', 'R', '_', 'D', 'E', 'F', 'A', 'U', 'L', 'T', 0, + 'G', 'e', 't', 'B', 'o', 't', 't', 'o', 'm', 'R', 'i', 'g', 'h', 't', 0, + 'P', 'A', 'P', 'E', 'R', '_', 'P', 'E', 'N', 'V', '_', '1', '0', 0, + 'P', 'A', 'P', 'E', 'R', '_', 'P', '3', '2', 'K', 'B', 'I', 'G', 0, + 'P', 'A', 'P', 'E', 'R', '_', 'A', '4', '_', 'P', 'L', 'U', 'S', 0, + 'P', 'A', 'P', 'E', 'R', '_', 'E', 'N', 'V', '_', 'C', '6', '5', 0, + 'P', 'A', 'P', 'E', 'R', '_', 'A', '4', 'S', 'M', 'A', 'L', 'L', 0, + 'P', 'A', 'P', 'E', 'R', '_', 'T', 'A', 'B', 'L', 'O', 'I', 'D', 0, + 'w', 'x', 'K', 'e', 'y', 'M', 'o', 'd', 'i', 'f', 'i', 'e', 'r', 0, + 'W', 'X', 'K', '_', 'S', 'P', 'E', 'C', 'I', 'A', 'L', '2', '0', 0, + 'W', 'X', 'K', '_', 'S', 'P', 'E', 'C', 'I', 'A', 'L', '1', '9', 0, + 'W', 'X', 'K', '_', 'S', 'P', 'E', 'C', 'I', 'A', 'L', '1', '8', 0, + 'W', 'X', 'K', '_', 'S', 'P', 'E', 'C', 'I', 'A', 'L', '1', '7', 0, + 'W', 'X', 'K', '_', 'S', 'P', 'E', 'C', 'I', 'A', 'L', '1', '6', 0, + 'W', 'X', 'K', '_', 'S', 'P', 'E', 'C', 'I', 'A', 'L', '1', '5', 0, + 'W', 'X', 'K', '_', 'S', 'P', 'E', 'C', 'I', 'A', 'L', '1', '4', 0, + 'W', 'X', 'K', '_', 'S', 'P', 'E', 'C', 'I', 'A', 'L', '1', '3', 0, + 'W', 'X', 'K', '_', 'S', 'P', 'E', 'C', 'I', 'A', 'L', '1', '2', 0, + 'W', 'X', 'K', '_', 'S', 'P', 'E', 'C', 'I', 'A', 'L', '1', '1', 0, + 'W', 'X', 'K', '_', 'S', 'P', 'E', 'C', 'I', 'A', 'L', '1', '0', 0, + 'W', 'X', 'K', '_', 'N', 'U', 'M', 'P', 'A', 'D', '_', 'U', 'P', 0, + 'W', 'X', 'K', '_', 'N', 'U', 'M', 'P', 'A', 'D', '_', 'F', '4', 0, + 'W', 'X', 'K', '_', 'N', 'U', 'M', 'P', 'A', 'D', '_', 'F', '3', 0, + 'W', 'X', 'K', '_', 'N', 'U', 'M', 'P', 'A', 'D', '_', 'F', '2', 0, + 'W', 'X', 'K', '_', 'N', 'U', 'M', 'P', 'A', 'D', '_', 'F', '1', 0, + 'W', 'X', 'K', '_', 'S', 'E', 'P', 'A', 'R', 'A', 'T', 'O', 'R', 0, + 'I', 'T', 'E', 'M', '_', 'D', 'R', 'O', 'P', 'D', 'O', 'W', 'N', 0, + 'I', 'D', '_', 'M', 'O', 'V', 'E', '_', 'F', 'R', 'A', 'M', 'E', 0, + 'I', 'D', '_', 'P', 'R', 'O', 'P', 'E', 'R', 'T', 'I', 'E', 'S', 0, + 'I', 'D', '_', 'H', 'E', 'L', 'P', '_', 'I', 'N', 'D', 'E', 'X', 0, + 'I', 'D', '_', 'P', 'A', 'G', 'E', '_', 'S', 'E', 'T', 'U', 'P', 0, + 'B', 'O', 'R', 'D', 'E', 'R', '_', 'D', 'O', 'U', 'B', 'L', 'E', 0, + 'B', 'O', 'R', 'D', 'E', 'R', '_', 'S', 'U', 'N', 'K', 'E', 'N', 0, + 'B', 'O', 'R', 'D', 'E', 'R', '_', 'R', 'A', 'I', 'S', 'E', 'D', 0, + 'B', 'O', 'R', 'D', 'E', 'R', '_', 'S', 'I', 'M', 'P', 'L', 'E', 0, + 'B', 'O', 'R', 'D', 'E', 'R', '_', 'S', 'T', 'A', 'T', 'I', 'C', 0, + 'F', 'I', 'X', 'E', 'D', '_', 'M', 'I', 'N', 'S', 'I', 'Z', 'E', 0, + 'A', 'L', 'I', 'G', 'N', '_', 'I', 'N', 'V', 'A', 'L', 'I', 'D', 0, + 'w', 'x', 'O', 'r', 'i', 'e', 'n', 't', 'a', 't', 'i', 'o', 'n', 0, + 'H', 'a', 'v', 'e', 'E', 'q', 'u', 'a', 'l', 'S', 'i', 'z', 'e', 0, + 'S', 'e', 't', 'L', 'e', 'f', 't', 'B', 'o', 't', 't', 'o', 'm', 0, + 'G', 'e', 't', 'L', 'e', 'f', 't', 'B', 'o', 't', 't', 'o', 'm', 0, + 'M', 'o', 'v', 'e', 'L', 'e', 'f', 't', 'T', 'o', 'p', 'T', 'o', 0, + 'G', 'e', 't', 'D', 'o', 't', 'P', 'r', 'o', 'd', 'u', 'c', 't', 0, + 'G', 'e', 't', 'D', 'i', 's', 'p', 'l', 'a', 'y', 'P', 'P', 'I', 0, + 'C', 'o', 'l', 'o', 'u', 'r', 'D', 'i', 's', 'p', 'l', 'a', 'y', 0, + 'C', 'U', 'R', 'S', 'O', 'R', '_', 'S', 'I', 'Z', 'I', 'N', 'G', 0, + 'C', 'U', 'R', 'S', 'O', 'R', '_', 'S', 'I', 'Z', 'E', 'W', 'E', 0, + 'C', 'U', 'R', 'S', 'O', 'R', '_', 'S', 'I', 'Z', 'E', 'N', 'S', 0, + 'C', 'U', 'R', 'S', 'O', 'R', '_', 'P', 'E', 'N', 'C', 'I', 'L', 0, + 'w', 'x', 'S', 't', 'o', 'c', 'k', 'C', 'u', 'r', 's', 'o', 'r', 0, + 'G', 'e', 't', 'B', 'o', 't', 't', 'o', 'm', 'L', 'e', 'f', 't', 0, + 'D', 'e', 'f', 'a', 'u', 'l', 't', 'C', 'o', 'o', 'r', 'd', 0, + 'w', 'x', 'D', 'u', 'p', 'l', 'e', 'x', 'M', 'o', 'd', 'e', 0, + 'P', 'A', 'P', 'E', 'R', '_', 'P', 'E', 'N', 'V', '_', '9', 0, + 'P', 'A', 'P', 'E', 'R', '_', 'P', 'E', 'N', 'V', '_', '8', 0, + 'P', 'A', 'P', 'E', 'R', '_', 'P', 'E', 'N', 'V', '_', '7', 0, + 'P', 'A', 'P', 'E', 'R', '_', 'P', 'E', 'N', 'V', '_', '6', 0, + 'P', 'A', 'P', 'E', 'R', '_', 'P', 'E', 'N', 'V', '_', '5', 0, + 'P', 'A', 'P', 'E', 'R', '_', 'P', 'E', 'N', 'V', '_', '4', 0, + 'P', 'A', 'P', 'E', 'R', '_', 'P', 'E', 'N', 'V', '_', '3', 0, + 'P', 'A', 'P', 'E', 'R', '_', 'P', 'E', 'N', 'V', '_', '2', 0, + 'P', 'A', 'P', 'E', 'R', '_', 'P', 'E', 'N', 'V', '_', '1', 0, + 'P', 'A', 'P', 'E', 'R', '_', 'B', '6', '_', 'J', 'I', 'S', 0, + 'P', 'A', 'P', 'E', 'R', '_', 'B', '_', 'P', 'L', 'U', 'S', 0, + 'P', 'A', 'P', 'E', 'R', '_', 'A', '_', 'P', 'L', 'U', 'S', 0, + 'P', 'A', 'P', 'E', 'R', '_', 'I', 'S', 'O', '_', 'B', '4', 0, + 'P', 'A', 'P', 'E', 'R', '_', 'E', 'N', 'V', '_', 'B', '6', 0, + 'P', 'A', 'P', 'E', 'R', '_', 'E', 'N', 'V', '_', 'B', '5', 0, + 'P', 'A', 'P', 'E', 'R', '_', 'E', 'N', 'V', '_', 'B', '4', 0, + 'P', 'A', 'P', 'E', 'R', '_', 'E', 'N', 'V', '_', 'C', '6', 0, + 'P', 'A', 'P', 'E', 'R', '_', 'E', 'N', 'V', '_', 'C', '4', 0, + 'P', 'A', 'P', 'E', 'R', '_', 'E', 'N', 'V', '_', 'C', '3', 0, + 'P', 'A', 'P', 'E', 'R', '_', 'E', 'N', 'V', '_', 'C', '5', 0, + 'P', 'A', 'P', 'E', 'R', '_', 'E', 'N', 'V', '_', 'D', 'L', 0, + 'P', 'A', 'P', 'E', 'R', '_', 'E', 'N', 'V', '_', '1', '4', 0, + 'P', 'A', 'P', 'E', 'R', '_', 'E', 'N', 'V', '_', '1', '2', 0, + 'P', 'A', 'P', 'E', 'R', '_', 'E', 'N', 'V', '_', '1', '1', 0, + 'P', 'A', 'P', 'E', 'R', '_', 'E', 'N', 'V', '_', '1', '0', 0, + 'P', 'A', 'P', 'E', 'R', '_', 'Q', 'U', 'A', 'R', 'T', 'O', 0, + 'P', 'A', 'P', 'E', 'R', '_', 'L', 'E', 'D', 'G', 'E', 'R', 0, + 'P', 'A', 'P', 'E', 'R', '_', 'E', 'S', 'H', 'E', 'E', 'T', 0, + 'P', 'A', 'P', 'E', 'R', '_', 'D', 'S', 'H', 'E', 'E', 'T', 0, + 'P', 'A', 'P', 'E', 'R', '_', 'C', 'S', 'H', 'E', 'E', 'T', 0, + 'P', 'A', 'P', 'E', 'R', '_', 'L', 'E', 'T', 'T', 'E', 'R', 0, + 'W', 'X', 'K', '_', 'S', 'P', 'E', 'C', 'I', 'A', 'L', '9', 0, + 'W', 'X', 'K', '_', 'S', 'P', 'E', 'C', 'I', 'A', 'L', '8', 0, + 'W', 'X', 'K', '_', 'S', 'P', 'E', 'C', 'I', 'A', 'L', '7', 0, + 'W', 'X', 'K', '_', 'S', 'P', 'E', 'C', 'I', 'A', 'L', '6', 0, + 'W', 'X', 'K', '_', 'S', 'P', 'E', 'C', 'I', 'A', 'L', '5', 0, + 'W', 'X', 'K', '_', 'S', 'P', 'E', 'C', 'I', 'A', 'L', '4', 0, + 'W', 'X', 'K', '_', 'S', 'P', 'E', 'C', 'I', 'A', 'L', '3', 0, + 'W', 'X', 'K', '_', 'S', 'P', 'E', 'C', 'I', 'A', 'L', '2', 0, + 'W', 'X', 'K', '_', 'S', 'P', 'E', 'C', 'I', 'A', 'L', '1', 0, + 'W', 'X', 'K', '_', 'P', 'A', 'G', 'E', 'D', 'O', 'W', 'N', 0, + 'W', 'X', 'K', '_', 'S', 'U', 'B', 'T', 'R', 'A', 'C', 'T', 0, + 'W', 'X', 'K', '_', 'M', 'U', 'L', 'T', 'I', 'P', 'L', 'Y', 0, + 'W', 'X', 'K', '_', 'S', 'N', 'A', 'P', 'S', 'H', 'O', 'T', 0, + 'I', 'D', '_', 'U', 'N', 'D', 'E', 'R', 'L', 'I', 'N', 'E', 0, + 'I', 'D', '_', 'V', 'I', 'E', 'W', '_', 'L', 'I', 'S', 'T', 0, + 'I', 'D', '_', 'S', 'E', 'L', 'E', 'C', 'T', 'A', 'L', 'L', 0, + 'I', 'D', '_', 'D', 'U', 'P', 'L', 'I', 'C', 'A', 'T', 'E', 0, + 'I', 'D', '_', 'C', 'L', 'O', 'S', 'E', '_', 'A', 'L', 'L', 0, + 'I', 'D', '_', 'S', 'E', 'P', 'A', 'R', 'A', 'T', 'O', 'R', 0, + 'w', 'x', 'S', 't', 'a', 'n', 'd', 'a', 'r', 'd', 'I', 'D', 0, + 'B', 'O', 'R', 'D', 'E', 'R', '_', 'T', 'H', 'E', 'M', 'E', 0, + 'S', 'T', 'R', 'E', 'T', 'C', 'H', '_', 'M', 'A', 'S', 'K', 0, + 'A', 'L', 'I', 'G', 'N', '_', 'C', 'E', 'N', 'T', 'R', 'E', 0, + 'A', 'L', 'I', 'G', 'N', '_', 'C', 'E', 'N', 'T', 'E', 'R', 0, + 'A', 'L', 'I', 'G', 'N', '_', 'B', 'O', 'T', 'T', 'O', 'M', 0, + 'h', 'e', 'i', 'g', 'h', 't', 'f', 'a', 'c', 't', 'o', 'r', 0, + 'M', 'o', 'v', 'e', 'C', 'e', 'n', 't', 'r', 'e', 'T', 'o', 0, + 'M', 'o', 'v', 'e', 'B', 'o', 't', 't', 'o', 'm', 'T', 'o', 0, + 'D', 'i', 's', 'p', 'l', 'a', 'y', 'D', 'e', 'p', 't', 'h', 0, + 'C', 'U', 'R', 'S', 'O', 'R', '_', 'B', 'L', 'A', 'N', 'K', 0, + 'C', 'U', 'R', 'S', 'O', 'R', '_', 'W', 'A', 'T', 'C', 'H', 0, + 'C', 'U', 'R', 'S', 'O', 'R', '_', 'I', 'B', 'E', 'A', 'M', 0, + 'C', 'U', 'R', 'S', 'O', 'R', '_', 'C', 'R', 'O', 'S', 'S', 0, + 'C', 'U', 'R', 'S', 'O', 'R', '_', 'A', 'R', 'R', 'O', 'W', 0, + 'W', 'I', 'N', 'D', 'I', 'N', 'G', '_', 'R', 'U', 'L', 'E', 0, + 'O', 'D', 'D', 'E', 'V', 'E', 'N', '_', 'R', 'U', 'L', 'E', 0, + 'w', 'x', 'B', 'i', 't', 'm', 'a', 'p', 'T', 'y', 'p', 'e', 0, + 'G', 'e', 't', 'C', 'l', 'a', 's', 's', 'N', 'a', 'm', 'e', 0, + 'C', 'r', 'e', 'a', 't', 'e', 'O', 'b', 'j', 'e', 'c', 't', 0, + 'G', 'e', 't', 'C', 'l', 'a', 's', 's', 'I', 'n', 'f', 'o', 0, + 'w', 'x', 'R', 'e', 'f', 'C', 'o', 'u', 'n', 't', 'e', 'r', 0, + 'w', 'x', 'P', 'r', 'i', 'n', 't', 'M', 'o', 'd', 'e', 0, + 'P', 'A', 'P', 'E', 'R', '_', '1', '2', 'X', '1', '1', 0, + 'P', 'A', 'P', 'E', 'R', '_', '1', '5', 'X', '1', '1', 0, + 'P', 'A', 'P', 'E', 'R', '_', '1', '0', 'X', '1', '1', 0, + 'P', 'A', 'P', 'E', 'R', '_', 'E', 'N', 'V', '_', '9', 0, + 'P', 'A', 'P', 'E', 'R', '_', '1', '1', 'X', '1', '7', 0, + 'P', 'A', 'P', 'E', 'R', '_', '1', '0', 'X', '1', '4', 0, + 'P', 'A', 'P', 'E', 'R', '_', 'F', 'O', 'L', 'I', 'O', 0, + 'P', 'A', 'P', 'E', 'R', '_', 'L', 'E', 'G', 'A', 'L', 0, + 'w', 'x', 'P', 'a', 'p', 'e', 'r', 'S', 'i', 'z', 'e', 0, + 'M', 'O', 'D', '_', 'C', 'O', 'N', 'T', 'R', 'O', 'L', 0, + 'W', 'X', 'K', '_', 'C', 'O', 'M', 'M', 'A', 'N', 'D', 0, + 'W', 'X', 'K', '_', 'N', 'U', 'M', 'L', 'O', 'C', 'K', 0, + 'W', 'X', 'K', '_', 'D', 'E', 'C', 'I', 'M', 'A', 'L', 0, + 'W', 'X', 'K', '_', 'N', 'U', 'M', 'P', 'A', 'D', '9', 0, + 'W', 'X', 'K', '_', 'N', 'U', 'M', 'P', 'A', 'D', '8', 0, + 'W', 'X', 'K', '_', 'N', 'U', 'M', 'P', 'A', 'D', '7', 0, + 'W', 'X', 'K', '_', 'N', 'U', 'M', 'P', 'A', 'D', '6', 0, + 'W', 'X', 'K', '_', 'N', 'U', 'M', 'P', 'A', 'D', '5', 0, + 'W', 'X', 'K', '_', 'N', 'U', 'M', 'P', 'A', 'D', '4', 0, + 'W', 'X', 'K', '_', 'N', 'U', 'M', 'P', 'A', 'D', '3', 0, + 'W', 'X', 'K', '_', 'N', 'U', 'M', 'P', 'A', 'D', '2', 0, + 'W', 'X', 'K', '_', 'N', 'U', 'M', 'P', 'A', 'D', '1', 0, + 'W', 'X', 'K', '_', 'N', 'U', 'M', 'P', 'A', 'D', '0', 0, + 'W', 'X', 'K', '_', 'E', 'X', 'E', 'C', 'U', 'T', 'E', 0, + 'W', 'X', 'K', '_', 'C', 'A', 'P', 'I', 'T', 'A', 'L', 0, + 'W', 'X', 'K', '_', 'C', 'O', 'N', 'T', 'R', 'O', 'L', 0, + 'W', 'X', 'K', '_', 'M', 'B', 'U', 'T', 'T', 'O', 'N', 0, + 'W', 'X', 'K', '_', 'R', 'B', 'U', 'T', 'T', 'O', 'N', 0, + 'W', 'X', 'K', '_', 'L', 'B', 'U', 'T', 'T', 'O', 'N', 0, + 'D', 'F', '_', 'F', 'I', 'L', 'E', 'N', 'A', 'M', 'E', 0, + 'D', 'F', '_', 'M', 'E', 'T', 'A', 'F', 'I', 'L', 'E', 0, + 'I', 'T', 'E', 'M', '_', 'N', 'O', 'R', 'M', 'A', 'L', 0, + 'I', 'D', '_', 'F', 'I', 'L', 'E', 'C', 'T', 'R', 'L', 0, + 'I', 'D', '_', 'F', 'I', 'L', 'E', 'D', 'L', 'G', 'G', 0, + 'I', 'D', '_', 'H', 'A', 'R', 'D', 'D', 'I', 'S', 'K', 0, + 'I', 'D', '_', 'U', 'N', 'D', 'E', 'L', 'E', 'T', 'E', 0, + 'I', 'D', '_', 'Z', 'O', 'O', 'M', '_', 'O', 'U', 'T', 0, + 'I', 'D', '_', 'Z', 'O', 'O', 'M', '_', 'F', 'I', 'T', 0, + 'I', 'D', '_', 'Z', 'O', 'O', 'M', '_', '1', '0', '0', 0, + 'I', 'D', '_', 'U', 'N', 'I', 'N', 'D', 'E', 'N', 'T', 0, + 'I', 'D', '_', 'Y', 'E', 'S', 'T', 'O', 'A', 'L', 'L', 0, + 'I', 'D', '_', 'B', 'A', 'C', 'K', 'W', 'A', 'R', 'D', 0, + 'B', 'O', 'R', 'D', 'E', 'R', '_', 'M', 'A', 'S', 'K', 0, + 'B', 'O', 'R', 'D', 'E', 'R', '_', 'N', 'O', 'N', 'E', 0, + 'S', 'T', 'R', 'E', 'T', 'C', 'H', '_', 'N', 'O', 'T', 0, + 'A', 'L', 'I', 'G', 'N', '_', 'R', 'I', 'G', 'H', 'T', 0, + 'w', 'x', 'A', 'l', 'i', 'g', 'n', 'm', 'e', 'n', 't', 0, + 'w', 'x', 'D', 'i', 'r', 'e', 'c', 't', 'i', 'o', 'n', 0, + 'C', 'r', 'e', 'a', 't', 'e', 'U', 'n', 'i', 'o', 'n', 0, + 'I', 'n', 't', 'e', 'r', 'p', 'o', 'l', 'a', 't', 'e', 0, + 'w', 'i', 'd', 't', 'h', 'f', 'a', 'c', 't', 'o', 'r', 0, + 'C', 'o', 'n', 's', 't', 'r', 'a', 'i', 'n', 'T', 'o', 0, + 'S', 'e', 't', 'R', 'i', 'g', 'h', 't', 'T', 'o', 'p', 0, + 'G', 'e', 't', 'R', 'i', 'g', 'h', 't', 'T', 'o', 'p', 0, + 'M', 'o', 'v', 'e', 'R', 'i', 'g', 'h', 't', 'T', 'o', 0, + 'G', 'e', 't', 'D', 'i', 's', 't', 'a', 'n', 'c', 'e', 0, + 'D', 'e', 'f', 'a', 'u', 'l', 't', 'S', 'i', 'z', 'e', 0, + 'C', 'U', 'R', 'S', 'O', 'R', '_', 'W', 'A', 'I', 'T', 0, + 'C', 'U', 'R', 'S', 'O', 'R', '_', 'H', 'A', 'N', 'D', 0, + 'C', 'U', 'R', 'S', 'O', 'R', '_', 'C', 'H', 'A', 'R', 0, + 'C', 'U', 'R', 'S', 'O', 'R', '_', 'N', 'O', 'N', 'E', 0, + 'w', 'x', 'R', 'e', 'a', 'l', 'P', 'o', 'i', 'n', 't', 0, + 'G', 'e', 't', 'T', 'o', 'p', 'R', 'i', 'g', 'h', 't', 0, + 'G', 'e', 't', 'P', 'o', 's', 'i', 't', 'i', 'o', 'n', 0, + 'b', 'o', 't', 't', 'o', 'm', 'R', 'i', 'g', 'h', 't', 0, + 's', 'i', 'z', 'e', 'D', 'e', 'f', 'a', 'u', 'l', 't', 0, + 'S', 'e', 't', 'D', 'e', 'f', 'a', 'u', 'l', 't', 's', 0, + 'w', 'x', 'C', 'l', 'a', 's', 's', 'I', 'n', 'f', 'o', 0, + 'G', 'e', 't', 'R', 'e', 'f', 'C', 'o', 'u', 'n', 't', 0, + 'w', 'x', 'U', 'p', 'd', 'a', 't', 'e', 'U', 'I', 0, + 'P', 'A', 'P', 'E', 'R', '_', 'P', '3', '2', 'K', 0, + 'P', 'A', 'P', 'E', 'R', '_', 'P', '1', '6', 'K', 0, + 'P', 'A', 'P', 'E', 'R', '_', '9', 'X', '1', '1', 0, + 'P', 'A', 'P', 'E', 'R', '_', 'N', 'O', 'T', 'E', 0, + 'P', 'A', 'P', 'E', 'R', '_', 'N', 'O', 'N', 'E', 0, + 'W', 'X', 'K', '_', 'P', 'A', 'G', 'E', 'U', 'P', 0, + 'W', 'X', 'K', '_', 'S', 'C', 'R', 'O', 'L', 'L', 0, + 'W', 'X', 'K', '_', 'D', 'I', 'V', 'I', 'D', 'E', 0, + 'W', 'X', 'K', '_', 'I', 'N', 'S', 'E', 'R', 'T', 0, + 'W', 'X', 'K', '_', 'S', 'E', 'L', 'E', 'C', 'T', 0, + 'W', 'X', 'K', '_', 'C', 'A', 'N', 'C', 'E', 'L', 0, + 'W', 'X', 'K', '_', 'D', 'E', 'L', 'E', 'T', 'E', 0, + 'W', 'X', 'K', '_', 'E', 'S', 'C', 'A', 'P', 'E', 0, + 'W', 'X', 'K', '_', 'R', 'E', 'T', 'U', 'R', 'N', 0, + 'D', 'F', '_', 'P', 'R', 'I', 'V', 'A', 'T', 'E', 0, + 'D', 'F', '_', 'P', 'E', 'N', 'D', 'A', 'T', 'A', 0, + 'D', 'F', '_', 'P', 'A', 'L', 'E', 'T', 'T', 'E', 0, + 'D', 'F', '_', 'O', 'E', 'M', 'T', 'E', 'X', 'T', 0, + 'D', 'F', '_', 'I', 'N', 'V', 'A', 'L', 'I', 'D', 0, + 'H', 'T', '_', 'N', 'O', 'W', 'H', 'E', 'R', 'E', 0, + 'I', 'T', 'E', 'M', '_', 'R', 'A', 'D', 'I', 'O', 0, + 'I', 'T', 'E', 'M', '_', 'C', 'H', 'E', 'C', 'K', 0, + 'w', 'x', 'I', 't', 'e', 'm', 'K', 'i', 'n', 'd', 0, + 'I', 'D', '_', 'H', 'I', 'G', 'H', 'E', 'S', 'T', 0, + 'I', 'D', '_', 'N', 'E', 'T', 'W', 'O', 'R', 'K', 0, + 'I', 'D', '_', 'J', 'U', 'M', 'P', '_', 'T', 'O', 0, + 'I', 'D', '_', 'E', 'X', 'E', 'C', 'U', 'T', 'E', 0, + 'I', 'D', '_', 'C', 'O', 'N', 'V', 'E', 'R', 'T', 0, + 'I', 'D', '_', 'Z', 'O', 'O', 'M', '_', 'I', 'N', 0, + 'I', 'D', '_', 'R', 'E', 'F', 'R', 'E', 'S', 'H', 0, + 'I', 'D', '_', 'N', 'O', 'T', 'O', 'A', 'L', 'L', 0, + 'I', 'D', '_', 'D', 'E', 'F', 'A', 'U', 'L', 'T', 0, + 'I', 'D', '_', 'F', 'O', 'R', 'W', 'A', 'R', 'D', 0, + 'I', 'D', '_', 'R', 'E', 'P', 'L', 'A', 'C', 'E', 0, + 'I', 'D', '_', 'P', 'R', 'E', 'V', 'I', 'E', 'W', 0, + 'A', 'L', 'I', 'G', 'N', '_', 'M', 'A', 'S', 'K', 0, + 'A', 'L', 'I', 'G', 'N', '_', 'L', 'E', 'F', 'T', 0, + 'G', 'e', 't', 'O', 'u', 't', 'c', 'o', 'd', 'e', 0, + 'G', 'e', 't', 'O', 'u', 't', 'C', 'o', 'd', 'e', 0, + 'S', 'e', 't', 'L', 'e', 'f', 't', 'T', 'o', 'p', 0, + 'G', 'e', 't', 'L', 'e', 'f', 't', 'T', 'o', 'p', 0, + 'M', 'o', 'v', 'e', 'L', 'e', 'f', 't', 'T', 'o', 0, + 'G', 'e', 't', 'R', 'o', 'u', 'n', 'd', 'e', 'd', 0, + 'C', 'U', 'R', 'S', 'O', 'R', '_', 'M', 'A', 'X', 0, + 'I', 'n', 't', 'e', 'r', 's', 'e', 'c', 't', 's', 0, + 'G', 'e', 't', 'T', 'o', 'p', 'L', 'e', 'f', 't', 0, + 'S', 'e', 't', 'R', 'e', 'f', 'D', 'a', 't', 'a', 0, + 'G', 'e', 't', 'R', 'e', 'f', 'D', 'a', 't', 'a', 0, + 'L', 'A', 'N', 'D', 'S', 'C', 'A', 'P', 'E', 0, + 'M', 'O', 'D', '_', 'S', 'H', 'I', 'F', 'T', 0, + 'M', 'O', 'D', '_', 'A', 'L', 'T', 'G', 'R', 0, + 'W', 'X', 'K', '_', 'P', 'R', 'I', 'N', 'T', 0, + 'W', 'X', 'K', '_', 'R', 'I', 'G', 'H', 'T', 0, + 'W', 'X', 'K', '_', 'P', 'A', 'U', 'S', 'E', 0, + 'W', 'X', 'K', '_', 'S', 'H', 'I', 'F', 'T', 0, + 'W', 'X', 'K', '_', 'C', 'L', 'E', 'A', 'R', 0, + 'W', 'X', 'K', '_', 'S', 'T', 'A', 'R', 'T', 0, + 'W', 'X', 'K', '_', 'S', 'P', 'A', 'C', 'E', 0, + 'w', 'x', 'K', 'e', 'y', 'C', 'o', 'd', 'e', 0, + 'D', 'F', '_', 'L', 'O', 'C', 'A', 'L', 'E', 0, + 'D', 'F', '_', 'B', 'I', 'T', 'M', 'A', 'P', 0, + 'w', 'x', 'H', 'i', 't', 'T', 'e', 's', 't', 0, + 'I', 'D', '_', 'B', 'O', 'T', 'T', 'O', 'M', 0, + 'I', 'D', '_', 'F', 'L', 'O', 'P', 'P', 'Y', 0, + 'I', 'D', '_', 'I', 'N', 'D', 'E', 'N', 'T', 0, + 'I', 'D', '_', 'I', 'T', 'A', 'L', 'I', 'C', 0, + 'I', 'D', '_', 'R', 'E', 'M', 'O', 'V', 'E', 0, + 'I', 'D', '_', 'I', 'G', 'N', 'O', 'R', 'E', 0, + 'I', 'D', '_', 'S', 'T', 'A', 'T', 'I', 'C', 0, + 'I', 'D', '_', 'C', 'A', 'N', 'C', 'E', 'L', 0, + 'I', 'D', '_', 'D', 'E', 'L', 'E', 'T', 'E', 0, + 'I', 'D', '_', 'R', 'E', 'V', 'E', 'R', 'T', 0, + 'I', 'D', '_', 'S', 'A', 'V', 'E', 'A', 'S', 0, + 'I', 'D', '_', 'L', 'O', 'W', 'E', 'S', 'T', 0, + 'w', 'x', 'S', 't', 'r', 'e', 't', 'c', 'h', 0, + 'A', 'L', 'I', 'G', 'N', '_', 'T', 'O', 'P', 0, + 'A', 'L', 'I', 'G', 'N', '_', 'N', 'O', 'T', 0, + 'O', 'u', 't', 'B', 'o', 't', 't', 'o', 'm', 0, + 'w', 'x', 'O', 'u', 't', 'C', 'o', 'd', 'e', 0, + 'o', 't', 'h', 'e', 'r', 'R', 'e', 'c', 't', 0, + 'S', 'e', 't', 'C', 'e', 'n', 't', 'r', 'e', 0, + 'G', 'e', 't', 'C', 'e', 'n', 't', 'r', 'e', 0, + 'S', 'e', 't', 'B', 'o', 't', 't', 'o', 'm', 0, + 'M', 'o', 'v', 'e', 'T', 'o', 'p', 'T', 'o', 0, + 'N', 'o', 'r', 'm', 'a', 'l', 'i', 'z', 'e', 0, + 'I', 'n', 't', 'e', 'r', 's', 'e', 'c', 't', 0, + 'G', 'e', 't', 'B', 'o', 't', 't', 'o', 'm', 0, + 'S', 'e', 't', 'H', 'e', 'i', 'g', 'h', 't', 0, + 'G', 'e', 't', 'H', 'e', 'i', 'g', 'h', 't', 0, + 'F', 'i', 'n', 'd', 'C', 'l', 'a', 's', 's', 0, + 'c', 'l', 'a', 's', 's', 'N', 'a', 'm', 'e', 0, + 'I', 's', 'D', 'y', 'n', 'a', 'm', 'i', 'c', 0, + 'P', 'O', 'R', 'T', 'R', 'A', 'I', 'T', 0, + 'P', 'A', 'P', 'E', 'R', '_', 'A', '6', 0, + 'P', 'A', 'P', 'E', 'R', '_', 'A', '2', 0, + 'P', 'A', 'P', 'E', 'R', '_', 'B', '5', 0, + 'P', 'A', 'P', 'E', 'R', '_', 'B', '4', 0, + 'P', 'A', 'P', 'E', 'R', '_', 'A', '5', 0, + 'P', 'A', 'P', 'E', 'R', '_', 'A', '3', 0, + 'P', 'A', 'P', 'E', 'R', '_', 'A', '4', 0, + 'M', 'O', 'D', '_', 'M', 'E', 'T', 'A', 0, + 'M', 'O', 'D', '_', 'N', 'O', 'N', 'E', 0, + 'W', 'X', 'K', '_', 'H', 'E', 'L', 'P', 0, + 'W', 'X', 'K', '_', 'D', 'O', 'W', 'N', 0, + 'W', 'X', 'K', '_', 'L', 'E', 'F', 'T', 0, + 'W', 'X', 'K', '_', 'H', 'O', 'M', 'E', 0, + 'W', 'X', 'K', '_', 'M', 'E', 'N', 'U', 0, + 'W', 'X', 'K', '_', 'B', 'A', 'C', 'K', 0, + 'W', 'X', 'K', '_', 'N', 'O', 'N', 'E', 0, + 'I', 'T', 'E', 'M', '_', 'M', 'A', 'X', 0, + 'I', 'D', '_', 'F', 'I', 'R', 'S', 'T', 0, + 'I', 'D', '_', 'C', 'D', 'R', 'O', 'M', 0, + 'I', 'D', '_', 'I', 'N', 'D', 'E', 'X', 0, + 'I', 'D', '_', 'R', 'E', 'T', 'R', 'Y', 0, + 'I', 'D', '_', 'A', 'B', 'O', 'R', 'T', 0, + 'I', 'D', '_', 'R', 'E', 'S', 'E', 'T', 0, + 'I', 'D', '_', 'S', 'E', 'T', 'U', 'P', 0, + 'I', 'D', '_', 'A', 'P', 'P', 'L', 'Y', 0, + 'I', 'D', '_', 'F', 'I', 'L', 'E', '9', 0, + 'I', 'D', '_', 'F', 'I', 'L', 'E', '8', 0, + 'I', 'D', '_', 'F', 'I', 'L', 'E', '7', 0, + 'I', 'D', '_', 'F', 'I', 'L', 'E', '6', 0, + 'I', 'D', '_', 'F', 'I', 'L', 'E', '5', 0, + 'I', 'D', '_', 'F', 'I', 'L', 'E', '4', 0, + 'I', 'D', '_', 'F', 'I', 'L', 'E', '3', 0, + 'I', 'D', '_', 'F', 'I', 'L', 'E', '2', 0, + 'I', 'D', '_', 'F', 'I', 'L', 'E', '1', 0, + 'I', 'D', '_', 'C', 'L', 'E', 'A', 'R', 0, + 'I', 'D', '_', 'P', 'A', 'S', 'T', 'E', 0, + 'I', 'D', '_', 'A', 'B', 'O', 'U', 'T', 0, + 'I', 'D', '_', 'P', 'R', 'I', 'N', 'T', 0, + 'I', 'D', '_', 'C', 'L', 'O', 'S', 'E', 0, + 'w', 'x', 'B', 'o', 'r', 'd', 'e', 'r', 0, + 'O', 'u', 't', 'R', 'i', 'g', 'h', 't', 0, + 'S', 'e', 't', 'R', 'i', 'g', 'h', 't', 0, + 'G', 'e', 't', 'F', 'l', 'o', 'o', 'r', 0, + 'G', 'e', 't', 'R', 'i', 'g', 'h', 't', 0, + 'C', 'o', 'n', 't', 'a', 'i', 'n', 's', 0, + 'C', 'e', 'n', 't', 'e', 'r', 'I', 'n', 0, + 'C', 'e', 'n', 't', 'r', 'e', 'I', 'n', 0, + 'S', 'e', 't', 'W', 'i', 'd', 't', 'h', 0, + 'G', 'e', 't', 'W', 'i', 'd', 't', 'h', 0, + '_', '_', 'i', 'm', 'u', 'l', '_', '_', 0, + '_', '_', 'i', 'd', 'i', 'v', '_', '_', 0, + '_', '_', 'i', 's', 'u', 'b', '_', '_', 0, + '_', '_', 'i', 'a', 'd', 'd', '_', '_', 0, + 'I', 's', 'S', 'a', 'm', 'e', 'A', 's', 0, + 'I', 's', 'K', 'i', 'n', 'd', 'O', 'f', 0, + 'w', 'x', 'O', 'b', 'j', 'e', 'c', 't', 0, + 'w', 'x', 'S', 't', 'r', 'i', 'n', 'g', 0, + 'w', 'x', '.', '_', 'c', 'o', 'r', 'e', 0, + 'M', 'O', 'D', '_', 'A', 'L', 'L', 0, + 'M', 'O', 'D', '_', 'C', 'M', 'D', 0, + 'M', 'O', 'D', '_', 'W', 'I', 'N', 0, + 'M', 'O', 'D', '_', 'A', 'L', 'T', 0, + 'W', 'X', 'K', '_', 'F', '2', '4', 0, + 'W', 'X', 'K', '_', 'F', '2', '3', 0, + 'W', 'X', 'K', '_', 'F', '2', '2', 0, + 'W', 'X', 'K', '_', 'F', '2', '1', 0, + 'W', 'X', 'K', '_', 'F', '2', '0', 0, + 'W', 'X', 'K', '_', 'F', '1', '9', 0, + 'W', 'X', 'K', '_', 'F', '1', '8', 0, + 'W', 'X', 'K', '_', 'F', '1', '7', 0, + 'W', 'X', 'K', '_', 'F', '1', '6', 0, + 'W', 'X', 'K', '_', 'F', '1', '5', 0, + 'W', 'X', 'K', '_', 'F', '1', '4', 0, + 'W', 'X', 'K', '_', 'F', '1', '3', 0, + 'W', 'X', 'K', '_', 'F', '1', '2', 0, + 'W', 'X', 'K', '_', 'F', '1', '1', 0, + 'W', 'X', 'K', '_', 'F', '1', '0', 0, + 'W', 'X', 'K', '_', 'A', 'D', 'D', 0, + 'W', 'X', 'K', '_', 'E', 'N', 'D', 0, + 'W', 'X', 'K', '_', 'A', 'L', 'T', 0, + 'W', 'X', 'K', '_', 'T', 'A', 'B', 0, + 'D', 'F', '_', 'H', 'T', 'M', 'L', 0, + 'D', 'F', '_', 'W', 'A', 'V', 'E', 0, + 'D', 'F', '_', 'R', 'I', 'F', 'F', 0, + 'D', 'F', '_', 'T', 'I', 'F', 'F', 0, + 'D', 'F', '_', 'S', 'Y', 'L', 'K', 0, + 'D', 'F', '_', 'T', 'E', 'X', 'T', 0, + 'I', 'D', '_', 'I', 'N', 'F', 'O', 0, + 'I', 'D', '_', 'L', 'A', 'S', 'T', 0, + 'I', 'D', '_', 'B', 'O', 'L', 'D', 0, + 'I', 'D', '_', 'S', 'T', 'O', 'P', 0, + 'I', 'D', '_', 'H', 'O', 'M', 'E', 0, + 'I', 'D', '_', 'D', 'O', 'W', 'N', 0, + 'I', 'D', '_', 'M', 'O', 'R', 'E', 0, + 'I', 'D', '_', 'F', 'I', 'L', 'E', 0, + 'I', 'D', '_', 'F', 'I', 'N', 'D', 0, + 'I', 'D', '_', 'C', 'O', 'P', 'Y', 0, + 'I', 'D', '_', 'E', 'D', 'I', 'T', 0, + 'I', 'D', '_', 'H', 'E', 'L', 'P', 0, + 'I', 'D', '_', 'R', 'E', 'D', 'O', 0, + 'I', 'D', '_', 'U', 'N', 'D', 'O', 0, + 'I', 'D', '_', 'E', 'X', 'I', 'T', 0, + 'I', 'D', '_', 'S', 'A', 'V', 'E', 0, + 'I', 'D', '_', 'O', 'P', 'E', 'N', 0, + 'I', 'D', '_', 'N', 'O', 'N', 'E', 0, + 'O', 'u', 't', 'L', 'e', 'f', 't', 0, + 'S', 'e', 't', 'L', 'e', 'f', 't', 0, + 'P', 'o', 'i', 'n', 't', '2', 'D', 0, + 'd', 'e', 'g', 'r', 'e', 'e', 's', 0, + 'S', 'e', 't', 'S', 'i', 'z', 'e', 0, + 'I', 's', 'E', 'm', 'p', 't', 'y', 0, + 'G', 'e', 't', 'L', 'e', 'f', 't', 0, + 'I', 'n', 'f', 'l', 'a', 't', 'e', 0, + 'D', 'e', 'f', 'l', 'a', 't', 'e', 0, + 't', 'o', 'p', 'L', 'e', 'f', 't', 0, + '_', '_', 'd', 'i', 'v', '_', '_', 0, + '_', '_', 'm', 'u', 'l', '_', '_', 0, + '_', '_', 's', 'u', 'b', '_', '_', 0, + '_', '_', 'n', 'e', 'g', '_', '_', 0, + '_', '_', 'a', 'd', 'd', '_', '_', 0, + 'w', 'x', 'P', 'o', 'i', 'n', 't', 0, + 'G', 'e', 't', 'S', 'i', 'z', 'e', 0, + 'U', 'n', 'S', 'h', 'a', 'r', 'e', 0, + 'W', 'X', 'K', '_', 'F', '9', 0, + 'W', 'X', 'K', '_', 'F', '8', 0, + 'W', 'X', 'K', '_', 'F', '7', 0, + 'W', 'X', 'K', '_', 'F', '6', 0, + 'W', 'X', 'K', '_', 'F', '5', 0, + 'W', 'X', 'K', '_', 'F', '4', 0, + 'W', 'X', 'K', '_', 'F', '3', 0, + 'W', 'X', 'K', '_', 'F', '2', 0, + 'W', 'X', 'K', '_', 'F', '1', 0, + 'W', 'X', 'K', '_', 'U', 'P', 0, + 'D', 'F', '_', 'M', 'A', 'X', 0, + 'D', 'F', '_', 'D', 'I', 'B', 0, + 'D', 'F', '_', 'D', 'I', 'F', 0, + 'H', 'T', '_', 'M', 'A', 'X', 0, + 'I', 'D', '_', 'T', 'O', 'P', 0, + 'I', 'D', '_', 'A', 'D', 'D', 0, + 'I', 'D', '_', 'Y', 'E', 'S', 0, + 'I', 'D', '_', 'C', 'U', 'T', 0, + 'I', 'D', '_', 'N', 'E', 'W', 0, + 'I', 'D', '_', 'A', 'N', 'Y', 0, + 'S', 'H', 'A', 'P', 'E', 'D', 0, + 'E', 'X', 'P', 'A', 'N', 'D', 0, + 'S', 'H', 'R', 'I', 'N', 'K', 0, + 'O', 'u', 't', 'T', 'o', 'p', 0, + 'I', 'n', 's', 'i', 'd', 'e', 0, + 'R', 'e', 'c', 't', '2', 'D', 0, + 'b', 'o', 't', 't', 'o', 'm', 0, + 'S', 'e', 't', 'T', 'o', 'p', 0, + 'l', 'e', 'n', 'g', 't', 'h', 0, + 'G', 'e', 't', 'T', 'o', 'p', 0, + 'O', 'f', 'f', 's', 'e', 't', 0, + 'w', 'x', 'R', 'e', 'c', 't', 0, + 'y', 's', 'c', 'a', 'l', 'e', 0, + 'x', 's', 'c', 'a', 'l', 'e', 0, + 'h', 'e', 'i', 'g', 'h', 't', 0, + 'w', 'x', 'S', 'i', 'z', 'e', 0, + '_', '_', 'n', 'e', '_', '_', 0, + '_', '_', 'e', 'q', '_', '_', 0, + 'I', 'n', 'c', 'R', 'e', 'f', 0, + 'D', 'e', 'c', 'R', 'e', 'f', 0, + 'I', 'D', '_', 'U', 'P', 0, + 'I', 'D', '_', 'N', 'O', 0, + 'I', 'D', '_', 'O', 'K', 0, + 'S', 'O', 'U', 'T', 'H', 0, + 'N', 'O', 'R', 'T', 'H', 0, + 'd', 'e', 'n', 'u', 'm', 0, + 'r', 'i', 'g', 'h', 't', 0, + 'I', 'n', 's', 'e', 't', 0, + 'S', 'c', 'a', 'l', 'e', 0, + 'I', 'n', 'c', 'T', 'o', 0, + 'D', 'e', 'c', 'T', 'o', 0, + 'I', 'n', 'c', 'B', 'y', 0, + 'D', 'e', 'c', 'B', 'y', 0, + 'w', 'i', 'd', 't', 'h', 0, + 'U', 'n', 'R', 'e', 'f', 0, + 'c', 'l', 'o', 'n', 'e', 0, + 'o', 't', 'h', 'e', 'r', 0, + 'T', 'I', 'L', 'E', 0, + 'G', 'R', 'O', 'W', 0, + 'E', 'A', 'S', 'T', 0, + 'B', 'O', 'T', 'H', 0, + 'd', 'e', 's', 't', 0, + 's', 'r', 'c', '2', 0, + 's', 'r', 'c', '1', 0, + 'l', 'e', 'f', 't', 0, + 'S', 'e', 't', 'Y', 0, + 'S', 'e', 't', 'X', 0, + 'G', 'e', 't', 'Y', 0, + 'G', 'e', 't', 'X', 0, + 'r', 'e', 'c', 't', 0, + 'd', 'i', 'f', 'f', 0, + 's', 'i', 'z', 'e', 0, + 'd', 'a', 't', 'a', 0, + 'i', 'n', 'f', 'o', 0, + 't', 'o', 'p', 0, + 'v', 'e', 'c', 0, + 'd', 'i', 'r', 0, + 'p', 'o', 's', 0, + 'S', 'e', 't', 0, + 'o', 'b', 'j', 0, + 'd', 'y', 0, + 'd', 'x', 0, + 'p', 't', 0, + 'w', 0, +}; + +wxClassInfo * sipVH__core_0(sip_gilstate_t sipGILState,PyObject *sipMethod) +{ + wxClassInfo * sipRes = 0; + PyObject *resObj = sipCallMethod(0,sipMethod,""); + + if (!resObj || sipParseResult(0,sipMethod,resObj,"H0",sipType_wxClassInfo,&sipRes) < 0) + PyErr_Print(); + + Py_XDECREF(resObj); + Py_DECREF(sipMethod); + + SIP_RELEASE_GIL(sipGILState) + + return sipRes; +} + + +PyDoc_STRVAR(doc_GetDisplaySizeMM, "GetDisplaySizeMM() -> Size"); + +extern "C" {static PyObject *func_GetDisplaySizeMM(PyObject *,PyObject *);} +static PyObject *func_GetDisplaySizeMM(PyObject *,PyObject *sipArgs) +{ + PyObject *sipParseErr = NULL; + + { + if (sipParseArgs(&sipParseErr, sipArgs, "")) + { + wxSize *sipRes; + + try + { + sipRes = new wxSize(wxGetDisplaySizeMM()); + } + catch (...) + { + sipRaiseUnknownException(); + return NULL; + } + + return sipConvertFromNewType(sipRes,sipType_wxSize,NULL); + } + } + + /* Raise an exception if the arguments couldn't be parsed. */ + sipNoFunction(sipParseErr, sipName_GetDisplaySizeMM, doc_GetDisplaySizeMM); + + return NULL; +} + + +PyDoc_STRVAR(doc_DisplaySizeMM, "DisplaySizeMM() -> (int, int)"); + +extern "C" {static PyObject *func_DisplaySizeMM(PyObject *,PyObject *, PyObject *);} +static PyObject *func_DisplaySizeMM(PyObject *,PyObject *sipArgs, PyObject *sipKwds) +{ + PyObject *sipParseErr = NULL; + + { + int width; + int height; + + static const char *sipKwdList[] = { + sipName_width, + sipName_height, + }; + + if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "")) + { + try + { + wxDisplaySizeMM(&width,&height); + } + catch (...) + { + sipRaiseUnknownException(); + return NULL; + } + + return sipBuildResult(0,"(ii)",width,height); + } + } + + /* Raise an exception if the arguments couldn't be parsed. */ + sipNoFunction(sipParseErr, sipName_DisplaySizeMM, doc_DisplaySizeMM); + + return NULL; +} + + +PyDoc_STRVAR(doc_GetDisplaySize, "GetDisplaySize() -> Size"); + +extern "C" {static PyObject *func_GetDisplaySize(PyObject *,PyObject *);} +static PyObject *func_GetDisplaySize(PyObject *,PyObject *sipArgs) +{ + PyObject *sipParseErr = NULL; + + { + if (sipParseArgs(&sipParseErr, sipArgs, "")) + { + wxSize *sipRes; + + try + { + sipRes = new wxSize(wxGetDisplaySize()); + } + catch (...) + { + sipRaiseUnknownException(); + return NULL; + } + + return sipConvertFromNewType(sipRes,sipType_wxSize,NULL); + } + } + + /* Raise an exception if the arguments couldn't be parsed. */ + sipNoFunction(sipParseErr, sipName_GetDisplaySize, doc_GetDisplaySize); + + return NULL; +} + + +PyDoc_STRVAR(doc_DisplaySize, "DisplaySize() -> (int, int)"); + +extern "C" {static PyObject *func_DisplaySize(PyObject *,PyObject *, PyObject *);} +static PyObject *func_DisplaySize(PyObject *,PyObject *sipArgs, PyObject *sipKwds) +{ + PyObject *sipParseErr = NULL; + + { + int width; + int height; + + static const char *sipKwdList[] = { + sipName_width, + sipName_height, + }; + + if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "")) + { + try + { + wxDisplaySize(&width,&height); + } + catch (...) + { + sipRaiseUnknownException(); + return NULL; + } + + return sipBuildResult(0,"(ii)",width,height); + } + } + + /* Raise an exception if the arguments couldn't be parsed. */ + sipNoFunction(sipParseErr, sipName_DisplaySize, doc_DisplaySize); + + return NULL; +} + + +PyDoc_STRVAR(doc_GetDisplayPPI, "GetDisplayPPI() -> Size"); + +extern "C" {static PyObject *func_GetDisplayPPI(PyObject *,PyObject *);} +static PyObject *func_GetDisplayPPI(PyObject *,PyObject *sipArgs) +{ + PyObject *sipParseErr = NULL; + + { + if (sipParseArgs(&sipParseErr, sipArgs, "")) + { + wxSize *sipRes; + + try + { + sipRes = new wxSize(wxGetDisplayPPI()); + } + catch (...) + { + sipRaiseUnknownException(); + return NULL; + } + + return sipConvertFromNewType(sipRes,sipType_wxSize,NULL); + } + } + + /* Raise an exception if the arguments couldn't be parsed. */ + sipNoFunction(sipParseErr, sipName_GetDisplayPPI, doc_GetDisplayPPI); + + return NULL; +} + + +PyDoc_STRVAR(doc_GetClientDisplayRect, "GetClientDisplayRect() -> Rect"); + +extern "C" {static PyObject *func_GetClientDisplayRect(PyObject *,PyObject *);} +static PyObject *func_GetClientDisplayRect(PyObject *,PyObject *sipArgs) +{ + PyObject *sipParseErr = NULL; + + { + if (sipParseArgs(&sipParseErr, sipArgs, "")) + { + wxRect *sipRes; + + try + { + sipRes = new wxRect(wxGetClientDisplayRect()); + } + catch (...) + { + sipRaiseUnknownException(); + return NULL; + } + + return sipConvertFromNewType(sipRes,sipType_wxRect,NULL); + } + } + + /* Raise an exception if the arguments couldn't be parsed. */ + sipNoFunction(sipParseErr, sipName_GetClientDisplayRect, doc_GetClientDisplayRect); + + return NULL; +} + + +PyDoc_STRVAR(doc_ClientDisplayRect, "ClientDisplayRect() -> (int, int, int, int)"); + +extern "C" {static PyObject *func_ClientDisplayRect(PyObject *,PyObject *, PyObject *);} +static PyObject *func_ClientDisplayRect(PyObject *,PyObject *sipArgs, PyObject *sipKwds) +{ + PyObject *sipParseErr = NULL; + + { + int x; + int y; + int width; + int height; + + static const char *sipKwdList[] = { + sipName_x, + sipName_y, + sipName_width, + sipName_height, + }; + + if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "")) + { + try + { + wxClientDisplayRect(&x,&y,&width,&height); + } + catch (...) + { + sipRaiseUnknownException(); + return NULL; + } + + return sipBuildResult(0,"(iiii)",x,y,width,height); + } + } + + /* Raise an exception if the arguments couldn't be parsed. */ + sipNoFunction(sipParseErr, sipName_ClientDisplayRect, doc_ClientDisplayRect); + + return NULL; +} + + +PyDoc_STRVAR(doc_DisplayDepth, "DisplayDepth() -> int"); + +extern "C" {static PyObject *func_DisplayDepth(PyObject *,PyObject *);} +static PyObject *func_DisplayDepth(PyObject *,PyObject *sipArgs) +{ + PyObject *sipParseErr = NULL; + + { + if (sipParseArgs(&sipParseErr, sipArgs, "")) + { + int sipRes; + + try + { + sipRes = wxDisplayDepth(); + } + catch (...) + { + sipRaiseUnknownException(); + return NULL; + } + + return SIPLong_FromLong(sipRes); + } + } + + /* Raise an exception if the arguments couldn't be parsed. */ + sipNoFunction(sipParseErr, sipName_DisplayDepth, doc_DisplayDepth); + + return NULL; +} + + +PyDoc_STRVAR(doc_ColourDisplay, "ColourDisplay() -> bool"); + +extern "C" {static PyObject *func_ColourDisplay(PyObject *,PyObject *);} +static PyObject *func_ColourDisplay(PyObject *,PyObject *sipArgs) +{ + PyObject *sipParseErr = NULL; + + { + if (sipParseArgs(&sipParseErr, sipArgs, "")) + { + bool sipRes; + + try + { + sipRes = wxColourDisplay(); + } + catch (...) + { + sipRaiseUnknownException(); + return NULL; + } + + return PyBool_FromLong(sipRes); + } + } + + /* Raise an exception if the arguments couldn't be parsed. */ + sipNoFunction(sipParseErr, sipName_ColourDisplay, doc_ColourDisplay); + + return NULL; +} +static sipEnumTypeDef enumTypes[] = { + {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_wxUpdateUI, {0}}, sipNameNr_UpdateUI, -1, NULL}, + {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_wxPrintMode, {0}}, sipNameNr_PrintMode, -1, NULL}, + {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_wxDuplexMode, {0}}, sipNameNr_DuplexMode, -1, NULL}, + {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_wxPrintOrientation, {0}}, sipNameNr_PrintOrientation, -1, NULL}, + {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_wxPaperSize, {0}}, sipNameNr_PaperSize, -1, NULL}, + {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_wxKeyModifier, {0}}, sipNameNr_KeyModifier, -1, NULL}, + {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_wxKeyCode, {0}}, sipNameNr_KeyCode, -1, NULL}, + {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_wxDataFormatId, {0}}, sipNameNr_DataFormatId, -1, NULL}, + {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_wxHitTest, {0}}, sipNameNr_HitTest, -1, NULL}, + {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_wxItemKind, {0}}, sipNameNr_ItemKind, -1, NULL}, + {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_wxStandardID, {0}}, sipNameNr_StandardID, -1, NULL}, + {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_wxBackgroundStyle, {0}}, sipNameNr_BackgroundStyle, -1, NULL}, + {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_wxBorder, {0}}, sipNameNr_Border, -1, NULL}, + {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_wxStretch, {0}}, sipNameNr_Stretch, -1, NULL}, + {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_wxSizerFlagBits, {0}}, sipNameNr_SizerFlagBits, -1, NULL}, + {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_wxAlignment, {0}}, sipNameNr_Alignment, -1, NULL}, + {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_wxDirection, {0}}, sipNameNr_Direction, -1, NULL}, + {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_wxOrientation, {0}}, sipNameNr_Orientation, -1, NULL}, + {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_wxGeometryCentre, {0}}, sipNameNr_GeometryCentre, -1, NULL}, + {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_wxOutCode, {0}}, sipNameNr_OutCode, -1, NULL}, + {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_wxStockCursor, {0}}, sipNameNr_StockCursor, -1, NULL}, + {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_wxPolygonFillMode, {0}}, sipNameNr_PolygonFillMode, -1, NULL}, + {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_wxBitmapType, {0}}, sipNameNr_BitmapType, -1, NULL}, +}; + +/* These are the enum members of all global enums. */ +static sipEnumMemberDef enummembers[] = { + {sipName_ALIGN_BOTTOM, wxALIGN_BOTTOM, 0}, + {sipName_ALIGN_CENTER, wxALIGN_CENTER, 0}, + {sipName_ALIGN_CENTER_HORIZONTAL, wxALIGN_CENTER_HORIZONTAL, 0}, + {sipName_ALIGN_CENTER_VERTICAL, wxALIGN_CENTER_VERTICAL, 0}, + {sipName_ALIGN_CENTRE, wxALIGN_CENTRE, 0}, + {sipName_ALIGN_CENTRE_HORIZONTAL, wxALIGN_CENTRE_HORIZONTAL, 0}, + {sipName_ALIGN_CENTRE_VERTICAL, wxALIGN_CENTRE_VERTICAL, 0}, + {sipName_ALIGN_INVALID, wxALIGN_INVALID, 0}, + {sipName_ALIGN_LEFT, wxALIGN_LEFT, 0}, + {sipName_ALIGN_MASK, wxALIGN_MASK, 0}, + {sipName_ALIGN_NOT, wxALIGN_NOT, 0}, + {sipName_ALIGN_RIGHT, wxALIGN_RIGHT, 0}, + {sipName_ALIGN_TOP, wxALIGN_TOP, 0}, + {sipName_ALL, wxALL, 6}, + {sipName_BG_STYLE_ERASE, wxBG_STYLE_ERASE, 1}, + {sipName_BG_STYLE_PAINT, wxBG_STYLE_PAINT, 1}, + {sipName_BG_STYLE_SYSTEM, wxBG_STYLE_SYSTEM, 1}, + {sipName_BITMAP_TYPE_ANI, wxBITMAP_TYPE_ANI, 2}, + {sipName_BITMAP_TYPE_ANY, wxBITMAP_TYPE_ANY, 2}, + {sipName_BITMAP_TYPE_BMP, wxBITMAP_TYPE_BMP, 2}, + {sipName_BITMAP_TYPE_CUR, wxBITMAP_TYPE_CUR, 2}, + {sipName_BITMAP_TYPE_GIF, wxBITMAP_TYPE_GIF, 2}, + {sipName_BITMAP_TYPE_ICO, wxBITMAP_TYPE_ICO, 2}, + {sipName_BITMAP_TYPE_ICON, wxBITMAP_TYPE_ICON, 2}, + {sipName_BITMAP_TYPE_IFF, wxBITMAP_TYPE_IFF, 2}, + {sipName_BITMAP_TYPE_INVALID, wxBITMAP_TYPE_INVALID, 2}, + {sipName_BITMAP_TYPE_JPEG, wxBITMAP_TYPE_JPEG, 2}, + {sipName_BITMAP_TYPE_MACCURSOR, wxBITMAP_TYPE_MACCURSOR, 2}, + {sipName_BITMAP_TYPE_PCX, wxBITMAP_TYPE_PCX, 2}, + {sipName_BITMAP_TYPE_PICT, wxBITMAP_TYPE_PICT, 2}, + {sipName_BITMAP_TYPE_PNG, wxBITMAP_TYPE_PNG, 2}, + {sipName_BITMAP_TYPE_PNM, wxBITMAP_TYPE_PNM, 2}, + {sipName_BITMAP_TYPE_TGA, wxBITMAP_TYPE_TGA, 2}, + {sipName_BITMAP_TYPE_TIF, wxBITMAP_TYPE_TIF, 2}, + {sipName_BITMAP_TYPE_XBM, wxBITMAP_TYPE_XBM, 2}, + {sipName_BITMAP_TYPE_XBM_DATA, wxBITMAP_TYPE_XBM_DATA, 2}, + {sipName_BITMAP_TYPE_XPM, wxBITMAP_TYPE_XPM, 2}, + {sipName_BITMAP_TYPE_XPM_DATA, wxBITMAP_TYPE_XPM_DATA, 2}, + {sipName_BORDER_DEFAULT, wxBORDER_DEFAULT, 3}, + {sipName_BORDER_DOUBLE, wxBORDER_DOUBLE, 3}, + {sipName_BORDER_MASK, wxBORDER_MASK, 3}, + {sipName_BORDER_NONE, wxBORDER_NONE, 3}, + {sipName_BORDER_RAISED, wxBORDER_RAISED, 3}, + {sipName_BORDER_SIMPLE, wxBORDER_SIMPLE, 3}, + {sipName_BORDER_STATIC, wxBORDER_STATIC, 3}, + {sipName_BORDER_SUNKEN, wxBORDER_SUNKEN, 3}, + {sipName_BORDER_THEME, wxBORDER_THEME, 3}, + {sipName_BOTH, wxBOTH, 14}, + {sipName_BOTTOM, wxBOTTOM, 6}, + {sipName_CENTER, wxCENTER, 8}, + {sipName_CENTRE, wxCENTRE, 8}, + {sipName_CURSOR_ARROW, wxCURSOR_ARROW, 29}, + {sipName_CURSOR_ARROWWAIT, wxCURSOR_ARROWWAIT, 29}, + {sipName_CURSOR_BLANK, wxCURSOR_BLANK, 29}, + {sipName_CURSOR_BULLSEYE, wxCURSOR_BULLSEYE, 29}, + {sipName_CURSOR_CHAR, wxCURSOR_CHAR, 29}, + {sipName_CURSOR_COPY_ARROW, wxCURSOR_COPY_ARROW, 29}, + {sipName_CURSOR_CROSS, wxCURSOR_CROSS, 29}, + {sipName_CURSOR_DEFAULT, wxCURSOR_DEFAULT, 29}, + {sipName_CURSOR_HAND, wxCURSOR_HAND, 29}, + {sipName_CURSOR_IBEAM, wxCURSOR_IBEAM, 29}, + {sipName_CURSOR_LEFT_BUTTON, wxCURSOR_LEFT_BUTTON, 29}, + {sipName_CURSOR_MAGNIFIER, wxCURSOR_MAGNIFIER, 29}, + {sipName_CURSOR_MAX, wxCURSOR_MAX, 29}, + {sipName_CURSOR_MIDDLE_BUTTON, wxCURSOR_MIDDLE_BUTTON, 29}, + {sipName_CURSOR_NONE, wxCURSOR_NONE, 29}, + {sipName_CURSOR_NO_ENTRY, wxCURSOR_NO_ENTRY, 29}, + {sipName_CURSOR_PAINT_BRUSH, wxCURSOR_PAINT_BRUSH, 29}, + {sipName_CURSOR_PENCIL, wxCURSOR_PENCIL, 29}, + {sipName_CURSOR_POINT_LEFT, wxCURSOR_POINT_LEFT, 29}, + {sipName_CURSOR_POINT_RIGHT, wxCURSOR_POINT_RIGHT, 29}, + {sipName_CURSOR_QUESTION_ARROW, wxCURSOR_QUESTION_ARROW, 29}, + {sipName_CURSOR_RIGHT_ARROW, wxCURSOR_RIGHT_ARROW, 29}, + {sipName_CURSOR_RIGHT_BUTTON, wxCURSOR_RIGHT_BUTTON, 29}, + {sipName_CURSOR_SIZENESW, wxCURSOR_SIZENESW, 29}, + {sipName_CURSOR_SIZENS, wxCURSOR_SIZENS, 29}, + {sipName_CURSOR_SIZENWSE, wxCURSOR_SIZENWSE, 29}, + {sipName_CURSOR_SIZEWE, wxCURSOR_SIZEWE, 29}, + {sipName_CURSOR_SIZING, wxCURSOR_SIZING, 29}, + {sipName_CURSOR_SPRAYCAN, wxCURSOR_SPRAYCAN, 29}, + {sipName_CURSOR_WAIT, wxCURSOR_WAIT, 29}, + {sipName_CURSOR_WATCH, wxCURSOR_WATCH, 29}, + {sipName_DF_BITMAP, wxDF_BITMAP, 5}, + {sipName_DF_DIB, wxDF_DIB, 5}, + {sipName_DF_DIF, wxDF_DIF, 5}, + {sipName_DF_ENHMETAFILE, wxDF_ENHMETAFILE, 5}, + {sipName_DF_FILENAME, wxDF_FILENAME, 5}, + {sipName_DF_HTML, wxDF_HTML, 5}, + {sipName_DF_INVALID, wxDF_INVALID, 5}, + {sipName_DF_LOCALE, wxDF_LOCALE, 5}, + {sipName_DF_MAX, wxDF_MAX, 5}, + {sipName_DF_METAFILE, wxDF_METAFILE, 5}, + {sipName_DF_OEMTEXT, wxDF_OEMTEXT, 5}, + {sipName_DF_PALETTE, wxDF_PALETTE, 5}, + {sipName_DF_PENDATA, wxDF_PENDATA, 5}, + {sipName_DF_PRIVATE, wxDF_PRIVATE, 5}, + {sipName_DF_RIFF, wxDF_RIFF, 5}, + {sipName_DF_SYLK, wxDF_SYLK, 5}, + {sipName_DF_TEXT, wxDF_TEXT, 5}, + {sipName_DF_TIFF, wxDF_TIFF, 5}, + {sipName_DF_UNICODETEXT, wxDF_UNICODETEXT, 5}, + {sipName_DF_WAVE, wxDF_WAVE, 5}, + {sipName_DIRECTION_MASK, wxDIRECTION_MASK, 6}, + {sipName_DOWN, wxDOWN, 6}, + {sipName_DUPLEX_HORIZONTAL, wxDUPLEX_HORIZONTAL, 7}, + {sipName_DUPLEX_SIMPLEX, wxDUPLEX_SIMPLEX, 7}, + {sipName_DUPLEX_VERTICAL, wxDUPLEX_VERTICAL, 7}, + {sipName_EAST, wxEAST, 6}, + {sipName_EXPAND, wxEXPAND, 30}, + {sipName_FIXED_MINSIZE, wxFIXED_MINSIZE, 27}, + {sipName_GROW, wxGROW, 30}, + {sipName_HORIZONTAL, wxHORIZONTAL, 14}, + {sipName_HT_MAX, wxHT_MAX, 9}, + {sipName_HT_NOWHERE, wxHT_NOWHERE, 9}, + {sipName_HT_SCROLLBAR_ARROW_LINE_1, wxHT_SCROLLBAR_ARROW_LINE_1, 9}, + {sipName_HT_SCROLLBAR_ARROW_LINE_2, wxHT_SCROLLBAR_ARROW_LINE_2, 9}, + {sipName_HT_SCROLLBAR_ARROW_PAGE_1, wxHT_SCROLLBAR_ARROW_PAGE_1, 9}, + {sipName_HT_SCROLLBAR_ARROW_PAGE_2, wxHT_SCROLLBAR_ARROW_PAGE_2, 9}, + {sipName_HT_SCROLLBAR_BAR_1, wxHT_SCROLLBAR_BAR_1, 9}, + {sipName_HT_SCROLLBAR_BAR_2, wxHT_SCROLLBAR_BAR_2, 9}, + {sipName_HT_SCROLLBAR_FIRST, wxHT_SCROLLBAR_FIRST, 9}, + {sipName_HT_SCROLLBAR_LAST, wxHT_SCROLLBAR_LAST, 9}, + {sipName_HT_SCROLLBAR_THUMB, wxHT_SCROLLBAR_THUMB, 9}, + {sipName_HT_WINDOW_CORNER, wxHT_WINDOW_CORNER, 9}, + {sipName_HT_WINDOW_HORZ_SCROLLBAR, wxHT_WINDOW_HORZ_SCROLLBAR, 9}, + {sipName_HT_WINDOW_INSIDE, wxHT_WINDOW_INSIDE, 9}, + {sipName_HT_WINDOW_OUTSIDE, wxHT_WINDOW_OUTSIDE, 9}, + {sipName_HT_WINDOW_VERT_SCROLLBAR, wxHT_WINDOW_VERT_SCROLLBAR, 9}, + {sipName_ID_ABORT, wxID_ABORT, 28}, + {sipName_ID_ABOUT, wxID_ABOUT, 28}, + {sipName_ID_ADD, wxID_ADD, 28}, + {sipName_ID_ANY, wxID_ANY, 28}, + {sipName_ID_APPLY, wxID_APPLY, 28}, + {sipName_ID_AUTO_HIGHEST, wxID_AUTO_HIGHEST, 28}, + {sipName_ID_AUTO_LOWEST, wxID_AUTO_LOWEST, 28}, + {sipName_ID_BACKWARD, wxID_BACKWARD, 28}, + {sipName_ID_BOLD, wxID_BOLD, 28}, + {sipName_ID_BOTTOM, wxID_BOTTOM, 28}, + {sipName_ID_CANCEL, wxID_CANCEL, 28}, + {sipName_ID_CDROM, wxID_CDROM, 28}, + {sipName_ID_CLEAR, wxID_CLEAR, 28}, + {sipName_ID_CLOSE, wxID_CLOSE, 28}, + {sipName_ID_CLOSE_ALL, wxID_CLOSE_ALL, 28}, + {sipName_ID_CLOSE_FRAME, wxID_CLOSE_FRAME, 28}, + {sipName_ID_CONTEXT_HELP, wxID_CONTEXT_HELP, 28}, + {sipName_ID_CONVERT, wxID_CONVERT, 28}, + {sipName_ID_COPY, wxID_COPY, 28}, + {sipName_ID_CUT, wxID_CUT, 28}, + {sipName_ID_DEFAULT, wxID_DEFAULT, 28}, + {sipName_ID_DELETE, wxID_DELETE, 28}, + {sipName_ID_DOWN, wxID_DOWN, 28}, + {sipName_ID_DUPLICATE, wxID_DUPLICATE, 28}, + {sipName_ID_EDIT, wxID_EDIT, 28}, + {sipName_ID_EXECUTE, wxID_EXECUTE, 28}, + {sipName_ID_EXIT, wxID_EXIT, 28}, + {sipName_ID_FILE, wxID_FILE, 28}, + {sipName_ID_FILE1, wxID_FILE1, 28}, + {sipName_ID_FILE2, wxID_FILE2, 28}, + {sipName_ID_FILE3, wxID_FILE3, 28}, + {sipName_ID_FILE4, wxID_FILE4, 28}, + {sipName_ID_FILE5, wxID_FILE5, 28}, + {sipName_ID_FILE6, wxID_FILE6, 28}, + {sipName_ID_FILE7, wxID_FILE7, 28}, + {sipName_ID_FILE8, wxID_FILE8, 28}, + {sipName_ID_FILE9, wxID_FILE9, 28}, + {sipName_ID_FILECTRL, wxID_FILECTRL, 28}, + {sipName_ID_FILEDLGG, wxID_FILEDLGG, 28}, + {sipName_ID_FIND, wxID_FIND, 28}, + {sipName_ID_FIRST, wxID_FIRST, 28}, + {sipName_ID_FLOPPY, wxID_FLOPPY, 28}, + {sipName_ID_FORWARD, wxID_FORWARD, 28}, + {sipName_ID_HARDDISK, wxID_HARDDISK, 28}, + {sipName_ID_HELP, wxID_HELP, 28}, + {sipName_ID_HELP_COMMANDS, wxID_HELP_COMMANDS, 28}, + {sipName_ID_HELP_CONTENTS, wxID_HELP_CONTENTS, 28}, + {sipName_ID_HELP_CONTEXT, wxID_HELP_CONTEXT, 28}, + {sipName_ID_HELP_INDEX, wxID_HELP_INDEX, 28}, + {sipName_ID_HELP_PROCEDURES, wxID_HELP_PROCEDURES, 28}, + {sipName_ID_HELP_SEARCH, wxID_HELP_SEARCH, 28}, + {sipName_ID_HIGHEST, wxID_HIGHEST, 28}, + {sipName_ID_HOME, wxID_HOME, 28}, + {sipName_ID_ICONIZE_FRAME, wxID_ICONIZE_FRAME, 28}, + {sipName_ID_IGNORE, wxID_IGNORE, 28}, + {sipName_ID_INDENT, wxID_INDENT, 28}, + {sipName_ID_INDEX, wxID_INDEX, 28}, + {sipName_ID_INFO, wxID_INFO, 28}, + {sipName_ID_ITALIC, wxID_ITALIC, 28}, + {sipName_ID_JUMP_TO, wxID_JUMP_TO, 28}, + {sipName_ID_JUSTIFY_CENTER, wxID_JUSTIFY_CENTER, 28}, + {sipName_ID_JUSTIFY_FILL, wxID_JUSTIFY_FILL, 28}, + {sipName_ID_JUSTIFY_LEFT, wxID_JUSTIFY_LEFT, 28}, + {sipName_ID_JUSTIFY_RIGHT, wxID_JUSTIFY_RIGHT, 28}, + {sipName_ID_LAST, wxID_LAST, 28}, + {sipName_ID_LOWEST, wxID_LOWEST, 28}, + {sipName_ID_MAXIMIZE_FRAME, wxID_MAXIMIZE_FRAME, 28}, + {sipName_ID_MDI_WINDOW_ARRANGE_ICONS, wxID_MDI_WINDOW_ARRANGE_ICONS, 28}, + {sipName_ID_MDI_WINDOW_CASCADE, wxID_MDI_WINDOW_CASCADE, 28}, + {sipName_ID_MDI_WINDOW_FIRST, wxID_MDI_WINDOW_FIRST, 28}, + {sipName_ID_MDI_WINDOW_LAST, wxID_MDI_WINDOW_LAST, 28}, + {sipName_ID_MDI_WINDOW_NEXT, wxID_MDI_WINDOW_NEXT, 28}, + {sipName_ID_MDI_WINDOW_PREV, wxID_MDI_WINDOW_PREV, 28}, + {sipName_ID_MDI_WINDOW_TILE_HORZ, wxID_MDI_WINDOW_TILE_HORZ, 28}, + {sipName_ID_MDI_WINDOW_TILE_VERT, wxID_MDI_WINDOW_TILE_VERT, 28}, + {sipName_ID_MORE, wxID_MORE, 28}, + {sipName_ID_MOVE_FRAME, wxID_MOVE_FRAME, 28}, + {sipName_ID_NETWORK, wxID_NETWORK, 28}, + {sipName_ID_NEW, wxID_NEW, 28}, + {sipName_ID_NO, wxID_NO, 28}, + {sipName_ID_NONE, wxID_NONE, 28}, + {sipName_ID_NOTOALL, wxID_NOTOALL, 28}, + {sipName_ID_OK, wxID_OK, 28}, + {sipName_ID_OPEN, wxID_OPEN, 28}, + {sipName_ID_PAGE_SETUP, wxID_PAGE_SETUP, 28}, + {sipName_ID_PASTE, wxID_PASTE, 28}, + {sipName_ID_PREFERENCES, wxID_PREFERENCES, 28}, + {sipName_ID_PREVIEW, wxID_PREVIEW, 28}, + {sipName_ID_PRINT, wxID_PRINT, 28}, + {sipName_ID_PRINT_SETUP, wxID_PRINT_SETUP, 28}, + {sipName_ID_PROPERTIES, wxID_PROPERTIES, 28}, + {sipName_ID_REDO, wxID_REDO, 28}, + {sipName_ID_REFRESH, wxID_REFRESH, 28}, + {sipName_ID_REMOVE, wxID_REMOVE, 28}, + {sipName_ID_REPLACE, wxID_REPLACE, 28}, + {sipName_ID_REPLACE_ALL, wxID_REPLACE_ALL, 28}, + {sipName_ID_RESET, wxID_RESET, 28}, + {sipName_ID_RESIZE_FRAME, wxID_RESIZE_FRAME, 28}, + {sipName_ID_RESTORE_FRAME, wxID_RESTORE_FRAME, 28}, + {sipName_ID_RETRY, wxID_RETRY, 28}, + {sipName_ID_REVERT, wxID_REVERT, 28}, + {sipName_ID_REVERT_TO_SAVED, wxID_REVERT_TO_SAVED, 28}, + {sipName_ID_SAVE, wxID_SAVE, 28}, + {sipName_ID_SAVEAS, wxID_SAVEAS, 28}, + {sipName_ID_SELECTALL, wxID_SELECTALL, 28}, + {sipName_ID_SELECT_COLOR, wxID_SELECT_COLOR, 28}, + {sipName_ID_SELECT_FONT, wxID_SELECT_FONT, 28}, + {sipName_ID_SEPARATOR, wxID_SEPARATOR, 28}, + {sipName_ID_SETUP, wxID_SETUP, 28}, + {sipName_ID_SORT_ASCENDING, wxID_SORT_ASCENDING, 28}, + {sipName_ID_SORT_DESCENDING, wxID_SORT_DESCENDING, 28}, + {sipName_ID_SPELL_CHECK, wxID_SPELL_CHECK, 28}, + {sipName_ID_STATIC, wxID_STATIC, 28}, + {sipName_ID_STOP, wxID_STOP, 28}, + {sipName_ID_STRIKETHROUGH, wxID_STRIKETHROUGH, 28}, + {sipName_ID_SYSTEM_MENU, wxID_SYSTEM_MENU, 28}, + {sipName_ID_TOP, wxID_TOP, 28}, + {sipName_ID_UNDELETE, wxID_UNDELETE, 28}, + {sipName_ID_UNDERLINE, wxID_UNDERLINE, 28}, + {sipName_ID_UNDO, wxID_UNDO, 28}, + {sipName_ID_UNINDENT, wxID_UNINDENT, 28}, + {sipName_ID_UP, wxID_UP, 28}, + {sipName_ID_VIEW_DETAILS, wxID_VIEW_DETAILS, 28}, + {sipName_ID_VIEW_LARGEICONS, wxID_VIEW_LARGEICONS, 28}, + {sipName_ID_VIEW_LIST, wxID_VIEW_LIST, 28}, + {sipName_ID_VIEW_SMALLICONS, wxID_VIEW_SMALLICONS, 28}, + {sipName_ID_VIEW_SORTDATE, wxID_VIEW_SORTDATE, 28}, + {sipName_ID_VIEW_SORTNAME, wxID_VIEW_SORTNAME, 28}, + {sipName_ID_VIEW_SORTSIZE, wxID_VIEW_SORTSIZE, 28}, + {sipName_ID_VIEW_SORTTYPE, wxID_VIEW_SORTTYPE, 28}, + {sipName_ID_YES, wxID_YES, 28}, + {sipName_ID_YESTOALL, wxID_YESTOALL, 28}, + {sipName_ID_ZOOM_100, wxID_ZOOM_100, 28}, + {sipName_ID_ZOOM_FIT, wxID_ZOOM_FIT, 28}, + {sipName_ID_ZOOM_IN, wxID_ZOOM_IN, 28}, + {sipName_ID_ZOOM_OUT, wxID_ZOOM_OUT, 28}, + {sipName_ITEM_CHECK, wxITEM_CHECK, 10}, + {sipName_ITEM_DROPDOWN, wxITEM_DROPDOWN, 10}, + {sipName_ITEM_MAX, wxITEM_MAX, 10}, + {sipName_ITEM_NORMAL, wxITEM_NORMAL, 10}, + {sipName_ITEM_RADIO, wxITEM_RADIO, 10}, + {sipName_ITEM_SEPARATOR, wxITEM_SEPARATOR, 10}, + {sipName_Inside, wxInside, 15}, + {sipName_LANDSCAPE, wxLANDSCAPE, 21}, + {sipName_LEFT, wxLEFT, 6}, + {sipName_MOD_ALL, wxMOD_ALL, 12}, + {sipName_MOD_ALT, wxMOD_ALT, 12}, + {sipName_MOD_ALTGR, wxMOD_ALTGR, 12}, + {sipName_MOD_CMD, wxMOD_CMD, 12}, + {sipName_MOD_CONTROL, wxMOD_CONTROL, 12}, + {sipName_MOD_META, wxMOD_META, 12}, + {sipName_MOD_NONE, wxMOD_NONE, 12}, + {sipName_MOD_SHIFT, wxMOD_SHIFT, 12}, + {sipName_MOD_WIN, wxMOD_WIN, 12}, + {sipName_NORTH, wxNORTH, 6}, + {sipName_ODDEVEN_RULE, wxODDEVEN_RULE, 19}, + {sipName_ORIENTATION_MASK, wxORIENTATION_MASK, 14}, + {sipName_OutBottom, wxOutBottom, 15}, + {sipName_OutLeft, wxOutLeft, 15}, + {sipName_OutRight, wxOutRight, 15}, + {sipName_OutTop, wxOutTop, 15}, + {sipName_PAPER_10X11, wxPAPER_10X11, 16}, + {sipName_PAPER_10X14, wxPAPER_10X14, 16}, + {sipName_PAPER_11X17, wxPAPER_11X17, 16}, + {sipName_PAPER_12X11, wxPAPER_12X11, 16}, + {sipName_PAPER_15X11, wxPAPER_15X11, 16}, + {sipName_PAPER_9X11, wxPAPER_9X11, 16}, + {sipName_PAPER_A2, wxPAPER_A2, 16}, + {sipName_PAPER_A3, wxPAPER_A3, 16}, + {sipName_PAPER_A3_EXTRA, wxPAPER_A3_EXTRA, 16}, + {sipName_PAPER_A3_EXTRA_TRANSVERSE, wxPAPER_A3_EXTRA_TRANSVERSE, 16}, + {sipName_PAPER_A3_ROTATED, wxPAPER_A3_ROTATED, 16}, + {sipName_PAPER_A3_TRANSVERSE, wxPAPER_A3_TRANSVERSE, 16}, + {sipName_PAPER_A4, wxPAPER_A4, 16}, + {sipName_PAPER_A4SMALL, wxPAPER_A4SMALL, 16}, + {sipName_PAPER_A4_EXTRA, wxPAPER_A4_EXTRA, 16}, + {sipName_PAPER_A4_PLUS, wxPAPER_A4_PLUS, 16}, + {sipName_PAPER_A4_ROTATED, wxPAPER_A4_ROTATED, 16}, + {sipName_PAPER_A4_TRANSVERSE, wxPAPER_A4_TRANSVERSE, 16}, + {sipName_PAPER_A5, wxPAPER_A5, 16}, + {sipName_PAPER_A5_EXTRA, wxPAPER_A5_EXTRA, 16}, + {sipName_PAPER_A5_ROTATED, wxPAPER_A5_ROTATED, 16}, + {sipName_PAPER_A5_TRANSVERSE, wxPAPER_A5_TRANSVERSE, 16}, + {sipName_PAPER_A6, wxPAPER_A6, 16}, + {sipName_PAPER_A6_ROTATED, wxPAPER_A6_ROTATED, 16}, + {sipName_PAPER_A_PLUS, wxPAPER_A_PLUS, 16}, + {sipName_PAPER_B4, wxPAPER_B4, 16}, + {sipName_PAPER_B4_JIS_ROTATED, wxPAPER_B4_JIS_ROTATED, 16}, + {sipName_PAPER_B5, wxPAPER_B5, 16}, + {sipName_PAPER_B5_EXTRA, wxPAPER_B5_EXTRA, 16}, + {sipName_PAPER_B5_JIS_ROTATED, wxPAPER_B5_JIS_ROTATED, 16}, + {sipName_PAPER_B5_TRANSVERSE, wxPAPER_B5_TRANSVERSE, 16}, + {sipName_PAPER_B6_JIS, wxPAPER_B6_JIS, 16}, + {sipName_PAPER_B6_JIS_ROTATED, wxPAPER_B6_JIS_ROTATED, 16}, + {sipName_PAPER_B_PLUS, wxPAPER_B_PLUS, 16}, + {sipName_PAPER_CSHEET, wxPAPER_CSHEET, 16}, + {sipName_PAPER_DBL_JAPANESE_POSTCARD, wxPAPER_DBL_JAPANESE_POSTCARD, 16}, + {sipName_PAPER_DBL_JAPANESE_POSTCARD_ROTATED, wxPAPER_DBL_JAPANESE_POSTCARD_ROTATED, 16}, + {sipName_PAPER_DSHEET, wxPAPER_DSHEET, 16}, + {sipName_PAPER_ENV_10, wxPAPER_ENV_10, 16}, + {sipName_PAPER_ENV_11, wxPAPER_ENV_11, 16}, + {sipName_PAPER_ENV_12, wxPAPER_ENV_12, 16}, + {sipName_PAPER_ENV_14, wxPAPER_ENV_14, 16}, + {sipName_PAPER_ENV_9, wxPAPER_ENV_9, 16}, + {sipName_PAPER_ENV_B4, wxPAPER_ENV_B4, 16}, + {sipName_PAPER_ENV_B5, wxPAPER_ENV_B5, 16}, + {sipName_PAPER_ENV_B6, wxPAPER_ENV_B6, 16}, + {sipName_PAPER_ENV_C3, wxPAPER_ENV_C3, 16}, + {sipName_PAPER_ENV_C4, wxPAPER_ENV_C4, 16}, + {sipName_PAPER_ENV_C5, wxPAPER_ENV_C5, 16}, + {sipName_PAPER_ENV_C6, wxPAPER_ENV_C6, 16}, + {sipName_PAPER_ENV_C65, wxPAPER_ENV_C65, 16}, + {sipName_PAPER_ENV_DL, wxPAPER_ENV_DL, 16}, + {sipName_PAPER_ENV_INVITE, wxPAPER_ENV_INVITE, 16}, + {sipName_PAPER_ENV_ITALY, wxPAPER_ENV_ITALY, 16}, + {sipName_PAPER_ENV_MONARCH, wxPAPER_ENV_MONARCH, 16}, + {sipName_PAPER_ENV_PERSONAL, wxPAPER_ENV_PERSONAL, 16}, + {sipName_PAPER_ESHEET, wxPAPER_ESHEET, 16}, + {sipName_PAPER_EXECUTIVE, wxPAPER_EXECUTIVE, 16}, + {sipName_PAPER_FANFOLD_LGL_GERMAN, wxPAPER_FANFOLD_LGL_GERMAN, 16}, + {sipName_PAPER_FANFOLD_STD_GERMAN, wxPAPER_FANFOLD_STD_GERMAN, 16}, + {sipName_PAPER_FANFOLD_US, wxPAPER_FANFOLD_US, 16}, + {sipName_PAPER_FOLIO, wxPAPER_FOLIO, 16}, + {sipName_PAPER_ISO_B4, wxPAPER_ISO_B4, 16}, + {sipName_PAPER_JAPANESE_POSTCARD, wxPAPER_JAPANESE_POSTCARD, 16}, + {sipName_PAPER_JAPANESE_POSTCARD_ROTATED, wxPAPER_JAPANESE_POSTCARD_ROTATED, 16}, + {sipName_PAPER_JENV_CHOU3, wxPAPER_JENV_CHOU3, 16}, + {sipName_PAPER_JENV_CHOU3_ROTATED, wxPAPER_JENV_CHOU3_ROTATED, 16}, + {sipName_PAPER_JENV_CHOU4, wxPAPER_JENV_CHOU4, 16}, + {sipName_PAPER_JENV_CHOU4_ROTATED, wxPAPER_JENV_CHOU4_ROTATED, 16}, + {sipName_PAPER_JENV_KAKU2, wxPAPER_JENV_KAKU2, 16}, + {sipName_PAPER_JENV_KAKU2_ROTATED, wxPAPER_JENV_KAKU2_ROTATED, 16}, + {sipName_PAPER_JENV_KAKU3, wxPAPER_JENV_KAKU3, 16}, + {sipName_PAPER_JENV_KAKU3_ROTATED, wxPAPER_JENV_KAKU3_ROTATED, 16}, + {sipName_PAPER_JENV_YOU4, wxPAPER_JENV_YOU4, 16}, + {sipName_PAPER_JENV_YOU4_ROTATED, wxPAPER_JENV_YOU4_ROTATED, 16}, + {sipName_PAPER_LEDGER, wxPAPER_LEDGER, 16}, + {sipName_PAPER_LEGAL, wxPAPER_LEGAL, 16}, + {sipName_PAPER_LEGAL_EXTRA, wxPAPER_LEGAL_EXTRA, 16}, + {sipName_PAPER_LETTER, wxPAPER_LETTER, 16}, + {sipName_PAPER_LETTERSMALL, wxPAPER_LETTERSMALL, 16}, + {sipName_PAPER_LETTER_EXTRA, wxPAPER_LETTER_EXTRA, 16}, + {sipName_PAPER_LETTER_EXTRA_TRANSVERSE, wxPAPER_LETTER_EXTRA_TRANSVERSE, 16}, + {sipName_PAPER_LETTER_PLUS, wxPAPER_LETTER_PLUS, 16}, + {sipName_PAPER_LETTER_ROTATED, wxPAPER_LETTER_ROTATED, 16}, + {sipName_PAPER_LETTER_TRANSVERSE, wxPAPER_LETTER_TRANSVERSE, 16}, + {sipName_PAPER_NONE, wxPAPER_NONE, 16}, + {sipName_PAPER_NOTE, wxPAPER_NOTE, 16}, + {sipName_PAPER_P16K, wxPAPER_P16K, 16}, + {sipName_PAPER_P16K_ROTATED, wxPAPER_P16K_ROTATED, 16}, + {sipName_PAPER_P32K, wxPAPER_P32K, 16}, + {sipName_PAPER_P32KBIG, wxPAPER_P32KBIG, 16}, + {sipName_PAPER_P32KBIG_ROTATED, wxPAPER_P32KBIG_ROTATED, 16}, + {sipName_PAPER_P32K_ROTATED, wxPAPER_P32K_ROTATED, 16}, + {sipName_PAPER_PENV_1, wxPAPER_PENV_1, 16}, + {sipName_PAPER_PENV_10, wxPAPER_PENV_10, 16}, + {sipName_PAPER_PENV_10_ROTATED, wxPAPER_PENV_10_ROTATED, 16}, + {sipName_PAPER_PENV_1_ROTATED, wxPAPER_PENV_1_ROTATED, 16}, + {sipName_PAPER_PENV_2, wxPAPER_PENV_2, 16}, + {sipName_PAPER_PENV_2_ROTATED, wxPAPER_PENV_2_ROTATED, 16}, + {sipName_PAPER_PENV_3, wxPAPER_PENV_3, 16}, + {sipName_PAPER_PENV_3_ROTATED, wxPAPER_PENV_3_ROTATED, 16}, + {sipName_PAPER_PENV_4, wxPAPER_PENV_4, 16}, + {sipName_PAPER_PENV_4_ROTATED, wxPAPER_PENV_4_ROTATED, 16}, + {sipName_PAPER_PENV_5, wxPAPER_PENV_5, 16}, + {sipName_PAPER_PENV_5_ROTATED, wxPAPER_PENV_5_ROTATED, 16}, + {sipName_PAPER_PENV_6, wxPAPER_PENV_6, 16}, + {sipName_PAPER_PENV_6_ROTATED, wxPAPER_PENV_6_ROTATED, 16}, + {sipName_PAPER_PENV_7, wxPAPER_PENV_7, 16}, + {sipName_PAPER_PENV_7_ROTATED, wxPAPER_PENV_7_ROTATED, 16}, + {sipName_PAPER_PENV_8, wxPAPER_PENV_8, 16}, + {sipName_PAPER_PENV_8_ROTATED, wxPAPER_PENV_8_ROTATED, 16}, + {sipName_PAPER_PENV_9, wxPAPER_PENV_9, 16}, + {sipName_PAPER_PENV_9_ROTATED, wxPAPER_PENV_9_ROTATED, 16}, + {sipName_PAPER_QUARTO, wxPAPER_QUARTO, 16}, + {sipName_PAPER_STATEMENT, wxPAPER_STATEMENT, 16}, + {sipName_PAPER_TABLOID, wxPAPER_TABLOID, 16}, + {sipName_PAPER_TABLOID_EXTRA, wxPAPER_TABLOID_EXTRA, 16}, + {sipName_PORTRAIT, wxPORTRAIT, 21}, + {sipName_PRINT_MODE_FILE, wxPRINT_MODE_FILE, 20}, + {sipName_PRINT_MODE_NONE, wxPRINT_MODE_NONE, 20}, + {sipName_PRINT_MODE_PREVIEW, wxPRINT_MODE_PREVIEW, 20}, + {sipName_PRINT_MODE_PRINTER, wxPRINT_MODE_PRINTER, 20}, + {sipName_PRINT_MODE_STREAM, wxPRINT_MODE_STREAM, 20}, + {sipName_RESERVE_SPACE_EVEN_IF_HIDDEN, wxRESERVE_SPACE_EVEN_IF_HIDDEN, 27}, + {sipName_RIGHT, wxRIGHT, 6}, + {sipName_SHAPED, wxSHAPED, 30}, + {sipName_SHRINK, wxSHRINK, 30}, + {sipName_SIZER_FLAG_BITS_MASK, wxSIZER_FLAG_BITS_MASK, 27}, + {sipName_SOUTH, wxSOUTH, 6}, + {sipName_STRETCH_MASK, wxSTRETCH_MASK, 30}, + {sipName_STRETCH_NOT, wxSTRETCH_NOT, 30}, + {sipName_TILE, wxTILE, 30}, + {sipName_TOP, wxTOP, 6}, + {sipName_UP, wxUP, 6}, + {sipName_UPDATE_UI_FROMIDLE, wxUPDATE_UI_FROMIDLE, 32}, + {sipName_UPDATE_UI_NONE, wxUPDATE_UI_NONE, 32}, + {sipName_UPDATE_UI_RECURSE, wxUPDATE_UI_RECURSE, 32}, + {sipName_VERTICAL, wxVERTICAL, 14}, + {sipName_WEST, wxWEST, 6}, + {sipName_WINDING_RULE, wxWINDING_RULE, 19}, + {sipName_WXK_ADD, WXK_ADD, 11}, + {sipName_WXK_ALT, WXK_ALT, 11}, + {sipName_WXK_BACK, WXK_BACK, 11}, + {sipName_WXK_CANCEL, WXK_CANCEL, 11}, + {sipName_WXK_CAPITAL, WXK_CAPITAL, 11}, + {sipName_WXK_CLEAR, WXK_CLEAR, 11}, + {sipName_WXK_COMMAND, WXK_COMMAND, 11}, + {sipName_WXK_CONTROL, WXK_CONTROL, 11}, + {sipName_WXK_DECIMAL, WXK_DECIMAL, 11}, + {sipName_WXK_DELETE, WXK_DELETE, 11}, + {sipName_WXK_DIVIDE, WXK_DIVIDE, 11}, + {sipName_WXK_DOWN, WXK_DOWN, 11}, + {sipName_WXK_END, WXK_END, 11}, + {sipName_WXK_ESCAPE, WXK_ESCAPE, 11}, + {sipName_WXK_EXECUTE, WXK_EXECUTE, 11}, + {sipName_WXK_F1, WXK_F1, 11}, + {sipName_WXK_F10, WXK_F10, 11}, + {sipName_WXK_F11, WXK_F11, 11}, + {sipName_WXK_F12, WXK_F12, 11}, + {sipName_WXK_F13, WXK_F13, 11}, + {sipName_WXK_F14, WXK_F14, 11}, + {sipName_WXK_F15, WXK_F15, 11}, + {sipName_WXK_F16, WXK_F16, 11}, + {sipName_WXK_F17, WXK_F17, 11}, + {sipName_WXK_F18, WXK_F18, 11}, + {sipName_WXK_F19, WXK_F19, 11}, + {sipName_WXK_F2, WXK_F2, 11}, + {sipName_WXK_F20, WXK_F20, 11}, + {sipName_WXK_F21, WXK_F21, 11}, + {sipName_WXK_F22, WXK_F22, 11}, + {sipName_WXK_F23, WXK_F23, 11}, + {sipName_WXK_F24, WXK_F24, 11}, + {sipName_WXK_F3, WXK_F3, 11}, + {sipName_WXK_F4, WXK_F4, 11}, + {sipName_WXK_F5, WXK_F5, 11}, + {sipName_WXK_F6, WXK_F6, 11}, + {sipName_WXK_F7, WXK_F7, 11}, + {sipName_WXK_F8, WXK_F8, 11}, + {sipName_WXK_F9, WXK_F9, 11}, + {sipName_WXK_HELP, WXK_HELP, 11}, + {sipName_WXK_HOME, WXK_HOME, 11}, + {sipName_WXK_INSERT, WXK_INSERT, 11}, + {sipName_WXK_LBUTTON, WXK_LBUTTON, 11}, + {sipName_WXK_LEFT, WXK_LEFT, 11}, + {sipName_WXK_MBUTTON, WXK_MBUTTON, 11}, + {sipName_WXK_MENU, WXK_MENU, 11}, + {sipName_WXK_MULTIPLY, WXK_MULTIPLY, 11}, + {sipName_WXK_NONE, WXK_NONE, 11}, + {sipName_WXK_NUMLOCK, WXK_NUMLOCK, 11}, + {sipName_WXK_NUMPAD0, WXK_NUMPAD0, 11}, + {sipName_WXK_NUMPAD1, WXK_NUMPAD1, 11}, + {sipName_WXK_NUMPAD2, WXK_NUMPAD2, 11}, + {sipName_WXK_NUMPAD3, WXK_NUMPAD3, 11}, + {sipName_WXK_NUMPAD4, WXK_NUMPAD4, 11}, + {sipName_WXK_NUMPAD5, WXK_NUMPAD5, 11}, + {sipName_WXK_NUMPAD6, WXK_NUMPAD6, 11}, + {sipName_WXK_NUMPAD7, WXK_NUMPAD7, 11}, + {sipName_WXK_NUMPAD8, WXK_NUMPAD8, 11}, + {sipName_WXK_NUMPAD9, WXK_NUMPAD9, 11}, + {sipName_WXK_NUMPAD_ADD, WXK_NUMPAD_ADD, 11}, + {sipName_WXK_NUMPAD_BEGIN, WXK_NUMPAD_BEGIN, 11}, + {sipName_WXK_NUMPAD_DECIMAL, WXK_NUMPAD_DECIMAL, 11}, + {sipName_WXK_NUMPAD_DELETE, WXK_NUMPAD_DELETE, 11}, + {sipName_WXK_NUMPAD_DIVIDE, WXK_NUMPAD_DIVIDE, 11}, + {sipName_WXK_NUMPAD_DOWN, WXK_NUMPAD_DOWN, 11}, + {sipName_WXK_NUMPAD_END, WXK_NUMPAD_END, 11}, + {sipName_WXK_NUMPAD_ENTER, WXK_NUMPAD_ENTER, 11}, + {sipName_WXK_NUMPAD_EQUAL, WXK_NUMPAD_EQUAL, 11}, + {sipName_WXK_NUMPAD_F1, WXK_NUMPAD_F1, 11}, + {sipName_WXK_NUMPAD_F2, WXK_NUMPAD_F2, 11}, + {sipName_WXK_NUMPAD_F3, WXK_NUMPAD_F3, 11}, + {sipName_WXK_NUMPAD_F4, WXK_NUMPAD_F4, 11}, + {sipName_WXK_NUMPAD_HOME, WXK_NUMPAD_HOME, 11}, + {sipName_WXK_NUMPAD_INSERT, WXK_NUMPAD_INSERT, 11}, + {sipName_WXK_NUMPAD_LEFT, WXK_NUMPAD_LEFT, 11}, + {sipName_WXK_NUMPAD_MULTIPLY, WXK_NUMPAD_MULTIPLY, 11}, + {sipName_WXK_NUMPAD_PAGEDOWN, WXK_NUMPAD_PAGEDOWN, 11}, + {sipName_WXK_NUMPAD_PAGEUP, WXK_NUMPAD_PAGEUP, 11}, + {sipName_WXK_NUMPAD_RIGHT, WXK_NUMPAD_RIGHT, 11}, + {sipName_WXK_NUMPAD_SEPARATOR, WXK_NUMPAD_SEPARATOR, 11}, + {sipName_WXK_NUMPAD_SPACE, WXK_NUMPAD_SPACE, 11}, + {sipName_WXK_NUMPAD_SUBTRACT, WXK_NUMPAD_SUBTRACT, 11}, + {sipName_WXK_NUMPAD_TAB, WXK_NUMPAD_TAB, 11}, + {sipName_WXK_NUMPAD_UP, WXK_NUMPAD_UP, 11}, + {sipName_WXK_PAGEDOWN, WXK_PAGEDOWN, 11}, + {sipName_WXK_PAGEUP, WXK_PAGEUP, 11}, + {sipName_WXK_PAUSE, WXK_PAUSE, 11}, + {sipName_WXK_PRINT, WXK_PRINT, 11}, + {sipName_WXK_RBUTTON, WXK_RBUTTON, 11}, + {sipName_WXK_RETURN, WXK_RETURN, 11}, + {sipName_WXK_RIGHT, WXK_RIGHT, 11}, + {sipName_WXK_SCROLL, WXK_SCROLL, 11}, + {sipName_WXK_SELECT, WXK_SELECT, 11}, + {sipName_WXK_SEPARATOR, WXK_SEPARATOR, 11}, + {sipName_WXK_SHIFT, WXK_SHIFT, 11}, + {sipName_WXK_SNAPSHOT, WXK_SNAPSHOT, 11}, + {sipName_WXK_SPACE, WXK_SPACE, 11}, + {sipName_WXK_SPECIAL1, WXK_SPECIAL1, 11}, + {sipName_WXK_SPECIAL10, WXK_SPECIAL10, 11}, + {sipName_WXK_SPECIAL11, WXK_SPECIAL11, 11}, + {sipName_WXK_SPECIAL12, WXK_SPECIAL12, 11}, + {sipName_WXK_SPECIAL13, WXK_SPECIAL13, 11}, + {sipName_WXK_SPECIAL14, WXK_SPECIAL14, 11}, + {sipName_WXK_SPECIAL15, WXK_SPECIAL15, 11}, + {sipName_WXK_SPECIAL16, WXK_SPECIAL16, 11}, + {sipName_WXK_SPECIAL17, WXK_SPECIAL17, 11}, + {sipName_WXK_SPECIAL18, WXK_SPECIAL18, 11}, + {sipName_WXK_SPECIAL19, WXK_SPECIAL19, 11}, + {sipName_WXK_SPECIAL2, WXK_SPECIAL2, 11}, + {sipName_WXK_SPECIAL20, WXK_SPECIAL20, 11}, + {sipName_WXK_SPECIAL3, WXK_SPECIAL3, 11}, + {sipName_WXK_SPECIAL4, WXK_SPECIAL4, 11}, + {sipName_WXK_SPECIAL5, WXK_SPECIAL5, 11}, + {sipName_WXK_SPECIAL6, WXK_SPECIAL6, 11}, + {sipName_WXK_SPECIAL7, WXK_SPECIAL7, 11}, + {sipName_WXK_SPECIAL8, WXK_SPECIAL8, 11}, + {sipName_WXK_SPECIAL9, WXK_SPECIAL9, 11}, + {sipName_WXK_START, WXK_START, 11}, + {sipName_WXK_SUBTRACT, WXK_SUBTRACT, 11}, + {sipName_WXK_TAB, WXK_TAB, 11}, + {sipName_WXK_UP, WXK_UP, 11}, + {sipName_WXK_WINDOWS_LEFT, WXK_WINDOWS_LEFT, 11}, + {sipName_WXK_WINDOWS_MENU, WXK_WINDOWS_MENU, 11}, + {sipName_WXK_WINDOWS_RIGHT, WXK_WINDOWS_RIGHT, 11}, +}; + + +/* + * This defines each type in this module. + */ +static sipTypeDef *typesTable[] = { + &enumTypes[15].etd_base, + &enumTypes[11].etd_base, + &enumTypes[22].etd_base, + &enumTypes[12].etd_base, + &sipTypeDef__core_wxClassInfo.ctd_base, + &enumTypes[7].etd_base, + &enumTypes[16].etd_base, + &enumTypes[2].etd_base, + &enumTypes[18].etd_base, + &enumTypes[8].etd_base, + &enumTypes[9].etd_base, + &enumTypes[6].etd_base, + &enumTypes[5].etd_base, + &sipTypeDef__core_wxObject.ctd_base, + &enumTypes[17].etd_base, + &enumTypes[19].etd_base, + &enumTypes[4].etd_base, + &sipTypeDef__core_wxPoint.ctd_base, + &sipTypeDef__core_wxPoint2DDouble.ctd_base, + &enumTypes[21].etd_base, + &enumTypes[1].etd_base, + &enumTypes[3].etd_base, + &sipTypeDef__core_wxRealPoint.ctd_base, + &sipTypeDef__core_wxRect.ctd_base, + &sipTypeDef__core_wxRect2DDouble.ctd_base, + &sipTypeDef__core_wxRefCounter.ctd_base, + &sipTypeDef__core_wxSize.ctd_base, + &enumTypes[14].etd_base, + &enumTypes[10].etd_base, + &enumTypes[20].etd_base, + &enumTypes[13].etd_base, + &sipTypeDef__core_wxString.mtd_base, + &enumTypes[0].etd_base, +}; + + +/* + * These define each typedef in this module. + */ +static sipTypedefDef typedefsTable[] = { + {"wxByte", "unsigned char"}, + {"wxChar", "wchar_t"}, + {"wxChar16", "unsigned short"}, + {"wxChar32", "uint"}, + {"wxCoord", "int"}, + {"wxDouble", "double"}, + {"wxDword", "uint"}, + {"wxFloat32", "float"}, + {"wxFloat64", "double"}, + {"wxInt16", "short"}, + {"wxInt32", "int"}, + {"wxInt64", "long long"}, + {"wxInt8", "signed char"}, + {"wxIntPtr", "long"}, + {"wxObjectRefData", "wxRefCounter"}, + {"wxUChar", "wchar_t"}, + {"wxUIntPtr", "unsigned long"}, + {"wxUint16", "unsigned short"}, + {"wxUint32", "uint"}, + {"wxUint64", "unsigned long long"}, + {"wxUint8", "unsigned char"}, + {"wxWord", "unsigned short"}, +}; + + +/* + * This defines the virtual handlers that this module implements and can be + * used by other modules. + */ +static sipVirtHandlerFunc virtHandlersTable[] = { + (sipVirtHandlerFunc)sipVH__core_0, +}; + + +/* Define the ints to be added to this module dictionary. */ +static sipIntInstanceDef intInstances[] = { + {sipName_DefaultCoord, wxDefaultCoord}, + {0, 0} +}; + + +/* This defines this module. */ +sipExportedModuleDef sipModuleAPI__core = { + 0, + SIP_API_MINOR_NR, + sipNameNr_wx__core, + 0, + -1, + sipStrings__core, + NULL, + NULL, + 33, + typesTable, + NULL, + 553, + enummembers, + 22, + typedefsTable, + virtHandlersTable, + NULL, + {NULL, NULL, NULL, NULL, intInstances, NULL, NULL, NULL, NULL, NULL}, + NULL, + NULL, + NULL, + NULL, + NULL, + NULL, + NULL, + NULL +}; + + +/* The SIP API and the APIs of any imported modules. */ +const sipAPIDef *sipAPI__core; + + +/* The Python module initialisation function. */ +#if PY_MAJOR_VERSION >= 3 +#define SIP_MODULE_ENTRY PyInit__core +#define SIP_MODULE_TYPE PyObject * +#define SIP_MODULE_DISCARD(r) Py_DECREF(r) +#define SIP_MODULE_RETURN(r) return (r) +#else +#define SIP_MODULE_ENTRY init_core +#define SIP_MODULE_TYPE void +#define SIP_MODULE_DISCARD(r) +#define SIP_MODULE_RETURN(r) return +#endif + +#if defined(SIP_STATIC_MODULE) +extern "C" SIP_MODULE_TYPE SIP_MODULE_ENTRY() +#else +PyMODINIT_FUNC SIP_MODULE_ENTRY() +#endif +{ + static PyMethodDef sip_methods[] = { + {SIP_MLNAME_CAST(sipName_GetDisplaySizeMM), func_GetDisplaySizeMM, METH_VARARGS, SIP_MLDOC_CAST(doc_GetDisplaySizeMM)}, + {SIP_MLNAME_CAST(sipName_DisplaySizeMM), (PyCFunction)func_DisplaySizeMM, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_DisplaySizeMM)}, + {SIP_MLNAME_CAST(sipName_GetDisplaySize), func_GetDisplaySize, METH_VARARGS, SIP_MLDOC_CAST(doc_GetDisplaySize)}, + {SIP_MLNAME_CAST(sipName_DisplaySize), (PyCFunction)func_DisplaySize, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_DisplaySize)}, + {SIP_MLNAME_CAST(sipName_GetDisplayPPI), func_GetDisplayPPI, METH_VARARGS, SIP_MLDOC_CAST(doc_GetDisplayPPI)}, + {SIP_MLNAME_CAST(sipName_GetClientDisplayRect), func_GetClientDisplayRect, METH_VARARGS, SIP_MLDOC_CAST(doc_GetClientDisplayRect)}, + {SIP_MLNAME_CAST(sipName_ClientDisplayRect), (PyCFunction)func_ClientDisplayRect, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_ClientDisplayRect)}, + {SIP_MLNAME_CAST(sipName_DisplayDepth), func_DisplayDepth, METH_VARARGS, SIP_MLDOC_CAST(doc_DisplayDepth)}, + {SIP_MLNAME_CAST(sipName_ColourDisplay), func_ColourDisplay, METH_VARARGS, SIP_MLDOC_CAST(doc_ColourDisplay)}, + {0, 0, 0, 0} + }; + +#if PY_MAJOR_VERSION >= 3 + static PyModuleDef sip_module_def = { + PyModuleDef_HEAD_INIT, + "wx._core", + NULL, + -1, + sip_methods, + NULL, + NULL, + NULL, + NULL + }; +#endif + + PyObject *sipModule, *sipModuleDict; + PyObject *sip_sipmod, *sip_capiobj; + + /* Initialise the module and get it's dictionary. */ +#if PY_MAJOR_VERSION >= 3 + sipModule = PyModule_Create(&sip_module_def); +#elif PY_VERSION_HEX >= 0x02050000 + sipModule = Py_InitModule(sipName_wx__core, sip_methods); +#else + sipModule = Py_InitModule(const_cast(sipName_wx__core), sip_methods); +#endif + + if (sipModule == NULL) + SIP_MODULE_RETURN(NULL); + + sipModuleDict = PyModule_GetDict(sipModule); + + /* Get the SIP module's API. */ +#if PY_VERSION_HEX >= 0x02050000 + sip_sipmod = PyImport_ImportModule(SIP_MODULE_NAME); +#else + sip_sipmod = PyImport_ImportModule(const_cast(SIP_MODULE_NAME)); +#endif + + if (sip_sipmod == NULL) + { + SIP_MODULE_DISCARD(sipModule); + SIP_MODULE_RETURN(NULL); + } + + sip_capiobj = PyDict_GetItemString(PyModule_GetDict(sip_sipmod), "_C_API"); + Py_DECREF(sip_sipmod); + +#if defined(SIP_USE_PYCAPSULE) + if (sip_capiobj == NULL || !PyCapsule_CheckExact(sip_capiobj)) +#else + if (sip_capiobj == NULL || !PyCObject_Check(sip_capiobj)) +#endif + { + SIP_MODULE_DISCARD(sipModule); + SIP_MODULE_RETURN(NULL); + } + +#if defined(SIP_USE_PYCAPSULE) + sipAPI__core = reinterpret_cast(PyCapsule_GetPointer(sip_capiobj, SIP_MODULE_NAME "._C_API")); +#else + sipAPI__core = reinterpret_cast(PyCObject_AsVoidPtr(sip_capiobj)); +#endif + +#if defined(SIP_USE_PYCAPSULE) + if (sipAPI__core == NULL) + { + SIP_MODULE_DISCARD(sipModule); + SIP_MODULE_RETURN(NULL); + } +#endif + + /* Export the module and publish it's API. */ + if (sipExportModule(&sipModuleAPI__core,SIP_API_MAJOR_NR,SIP_API_MINOR_NR,0) < 0) + { + SIP_MODULE_DISCARD(sipModule); + SIP_MODULE_RETURN(0); + } + /* Initialise the module now all its dependencies have been set up. */ + if (sipInitModule(&sipModuleAPI__core,sipModuleDict) < 0) + { + SIP_MODULE_DISCARD(sipModule); + SIP_MODULE_RETURN(0); + } + + /* + * Define the class, mapped type and enum instances that have to be + * added inline. + */ + sipAddTypeInstance(sipModuleDict,sipName_DefaultPosition,const_cast(&wxDefaultPosition),sipType_wxPoint); + sipAddTypeInstance(sipModuleDict,sipName_DefaultSize,const_cast(&wxDefaultSize),sipType_wxSize); + + SIP_MODULE_RETURN(sipModule); +} diff --git a/sip/cpp/sip_corewxClassInfo.cpp b/sip/cpp/sip_corewxClassInfo.cpp new file mode 100644 index 00000000..0983d7d7 --- /dev/null +++ b/sip/cpp/sip_corewxClassInfo.cpp @@ -0,0 +1,415 @@ +/* + * Interface wrapper code. + * + * Generated by SIP 4.12-snapshot-eac351f5cca7 on Wed Nov 10 15:32:07 2010 + * + * Copyright: (c) 2010 by Total Control Software + * Licence: wxWindows license + */ + +#include "sipAPI_core.h" + +#line 84 "sip/gen/object.sip" + #include +#line 15 "sip_corewxClassInfo.cpp" + +#line 40 "sip/gen/object.sip" + #include +#line 19 "sip_corewxClassInfo.cpp" + + +PyDoc_STRVAR(doc_wxClassInfo_CreateObject, "ClassInfo.CreateObject() -> Object"); + +extern "C" {static PyObject *meth_wxClassInfo_CreateObject(PyObject *, PyObject *);} +static PyObject *meth_wxClassInfo_CreateObject(PyObject *sipSelf, PyObject *sipArgs) +{ + PyObject *sipParseErr = NULL; + + { + wxClassInfo *sipCpp; + + if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_wxClassInfo, &sipCpp)) + { + wxObject *sipRes; + + try + { + sipRes = sipCpp->CreateObject(); + } + catch (...) + { + sipRaiseUnknownException(); + return NULL; + } + + return sipConvertFromType(sipRes,sipType_wxObject,NULL); + } + } + + /* Raise an exception if the arguments couldn't be parsed. */ + sipNoMethod(sipParseErr, sipName_ClassInfo, sipName_CreateObject, doc_wxClassInfo_CreateObject); + + return NULL; +} + + +PyDoc_STRVAR(doc_wxClassInfo_GetBaseClassName1, "ClassInfo.GetBaseClassName1() -> str"); + +extern "C" {static PyObject *meth_wxClassInfo_GetBaseClassName1(PyObject *, PyObject *);} +static PyObject *meth_wxClassInfo_GetBaseClassName1(PyObject *sipSelf, PyObject *sipArgs) +{ + PyObject *sipParseErr = NULL; + + { + wxClassInfo *sipCpp; + + if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_wxClassInfo, &sipCpp)) + { + const wxChar *sipRes; + + try + { + sipRes = sipCpp->GetBaseClassName1(); + } + catch (...) + { + sipRaiseUnknownException(); + return NULL; + } + + if (sipRes == NULL) + { + Py_INCREF(Py_None); + return Py_None; + } + + return PyUnicode_FromWideChar(sipRes,(SIP_SSIZE_T)wcslen(sipRes)); + } + } + + /* Raise an exception if the arguments couldn't be parsed. */ + sipNoMethod(sipParseErr, sipName_ClassInfo, sipName_GetBaseClassName1, doc_wxClassInfo_GetBaseClassName1); + + return NULL; +} + + +PyDoc_STRVAR(doc_wxClassInfo_GetBaseClassName2, "ClassInfo.GetBaseClassName2() -> str"); + +extern "C" {static PyObject *meth_wxClassInfo_GetBaseClassName2(PyObject *, PyObject *);} +static PyObject *meth_wxClassInfo_GetBaseClassName2(PyObject *sipSelf, PyObject *sipArgs) +{ + PyObject *sipParseErr = NULL; + + { + wxClassInfo *sipCpp; + + if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_wxClassInfo, &sipCpp)) + { + const wxChar *sipRes; + + try + { + sipRes = sipCpp->GetBaseClassName2(); + } + catch (...) + { + sipRaiseUnknownException(); + return NULL; + } + + if (sipRes == NULL) + { + Py_INCREF(Py_None); + return Py_None; + } + + return PyUnicode_FromWideChar(sipRes,(SIP_SSIZE_T)wcslen(sipRes)); + } + } + + /* Raise an exception if the arguments couldn't be parsed. */ + sipNoMethod(sipParseErr, sipName_ClassInfo, sipName_GetBaseClassName2, doc_wxClassInfo_GetBaseClassName2); + + return NULL; +} + + +PyDoc_STRVAR(doc_wxClassInfo_GetClassName, "ClassInfo.GetClassName() -> str"); + +extern "C" {static PyObject *meth_wxClassInfo_GetClassName(PyObject *, PyObject *);} +static PyObject *meth_wxClassInfo_GetClassName(PyObject *sipSelf, PyObject *sipArgs) +{ + PyObject *sipParseErr = NULL; + + { + wxClassInfo *sipCpp; + + if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_wxClassInfo, &sipCpp)) + { + const wxChar *sipRes; + + try + { + sipRes = sipCpp->GetClassName(); + } + catch (...) + { + sipRaiseUnknownException(); + return NULL; + } + + if (sipRes == NULL) + { + Py_INCREF(Py_None); + return Py_None; + } + + return PyUnicode_FromWideChar(sipRes,(SIP_SSIZE_T)wcslen(sipRes)); + } + } + + /* Raise an exception if the arguments couldn't be parsed. */ + sipNoMethod(sipParseErr, sipName_ClassInfo, sipName_GetClassName, doc_wxClassInfo_GetClassName); + + return NULL; +} + + +PyDoc_STRVAR(doc_wxClassInfo_GetSize, "ClassInfo.GetSize() -> int"); + +extern "C" {static PyObject *meth_wxClassInfo_GetSize(PyObject *, PyObject *);} +static PyObject *meth_wxClassInfo_GetSize(PyObject *sipSelf, PyObject *sipArgs) +{ + PyObject *sipParseErr = NULL; + + { + wxClassInfo *sipCpp; + + if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_wxClassInfo, &sipCpp)) + { + int sipRes; + + try + { + sipRes = sipCpp->GetSize(); + } + catch (...) + { + sipRaiseUnknownException(); + return NULL; + } + + return SIPLong_FromLong(sipRes); + } + } + + /* Raise an exception if the arguments couldn't be parsed. */ + sipNoMethod(sipParseErr, sipName_ClassInfo, sipName_GetSize, doc_wxClassInfo_GetSize); + + return NULL; +} + + +PyDoc_STRVAR(doc_wxClassInfo_IsDynamic, "ClassInfo.IsDynamic() -> bool"); + +extern "C" {static PyObject *meth_wxClassInfo_IsDynamic(PyObject *, PyObject *);} +static PyObject *meth_wxClassInfo_IsDynamic(PyObject *sipSelf, PyObject *sipArgs) +{ + PyObject *sipParseErr = NULL; + + { + wxClassInfo *sipCpp; + + if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_wxClassInfo, &sipCpp)) + { + bool sipRes; + + try + { + sipRes = sipCpp->IsDynamic(); + } + catch (...) + { + sipRaiseUnknownException(); + return NULL; + } + + return PyBool_FromLong(sipRes); + } + } + + /* Raise an exception if the arguments couldn't be parsed. */ + sipNoMethod(sipParseErr, sipName_ClassInfo, sipName_IsDynamic, doc_wxClassInfo_IsDynamic); + + return NULL; +} + + +PyDoc_STRVAR(doc_wxClassInfo_IsKindOf, "ClassInfo.IsKindOf(ClassInfo) -> bool"); + +extern "C" {static PyObject *meth_wxClassInfo_IsKindOf(PyObject *, PyObject *, PyObject *);} +static PyObject *meth_wxClassInfo_IsKindOf(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds) +{ + PyObject *sipParseErr = NULL; + + { + const wxClassInfo * info; + wxClassInfo *sipCpp; + + static const char *sipKwdList[] = { + sipName_info, + }; + + if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "BJ8", &sipSelf, sipType_wxClassInfo, &sipCpp, sipType_wxClassInfo, &info)) + { + bool sipRes; + + try + { + sipRes = sipCpp->IsKindOf(info); + } + catch (...) + { + sipRaiseUnknownException(); + return NULL; + } + + return PyBool_FromLong(sipRes); + } + } + + /* Raise an exception if the arguments couldn't be parsed. */ + sipNoMethod(sipParseErr, sipName_ClassInfo, sipName_IsKindOf, doc_wxClassInfo_IsKindOf); + + return NULL; +} + + +PyDoc_STRVAR(doc_wxClassInfo_FindClass, "ClassInfo.FindClass(wxString) -> ClassInfo"); + +extern "C" {static PyObject *meth_wxClassInfo_FindClass(PyObject *, PyObject *, PyObject *);} +static PyObject *meth_wxClassInfo_FindClass(PyObject *, PyObject *sipArgs, PyObject *sipKwds) +{ + PyObject *sipParseErr = NULL; + + { + const wxString * className; + int classNameState = 0; + + static const char *sipKwdList[] = { + sipName_className, + }; + + if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "J1", sipType_wxString,&className, &classNameState)) + { + wxClassInfo *sipRes; + + try + { + sipRes = wxClassInfo::FindClass(*className); + } + catch (...) + { + sipReleaseType(const_cast(className),sipType_wxString,classNameState); + sipRaiseUnknownException(); + return NULL; + } + sipReleaseType(const_cast(className),sipType_wxString,classNameState); + + return sipConvertFromType(sipRes,sipType_wxClassInfo,NULL); + } + } + + /* Raise an exception if the arguments couldn't be parsed. */ + sipNoMethod(sipParseErr, sipName_ClassInfo, sipName_FindClass, doc_wxClassInfo_FindClass); + + return NULL; +} + + +/* Cast a pointer to a type somewhere in its superclass hierarchy. */ +extern "C" {static void *cast_wxClassInfo(void *, const sipTypeDef *);} +static void *cast_wxClassInfo(void *ptr, const sipTypeDef *targetType) +{ + if (targetType == sipType_wxClassInfo) + return ptr; + + return NULL; +} + + +/* Call the instance's destructor. */ +extern "C" {static void release_wxClassInfo(void *, int);} +static void release_wxClassInfo(void *sipCppV,int) +{ + delete reinterpret_cast(sipCppV); +} + + +extern "C" {static void dealloc_wxClassInfo(sipSimpleWrapper *);} +static void dealloc_wxClassInfo(sipSimpleWrapper *sipSelf) +{ + if (sipIsPyOwned(sipSelf)) + { + release_wxClassInfo(sipGetAddress(sipSelf),0); + } +} + + +static PyMethodDef methods_wxClassInfo[] = { + {SIP_MLNAME_CAST(sipName_CreateObject), meth_wxClassInfo_CreateObject, METH_VARARGS, SIP_MLDOC_CAST(doc_wxClassInfo_CreateObject)}, + {SIP_MLNAME_CAST(sipName_FindClass), (PyCFunction)meth_wxClassInfo_FindClass, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_wxClassInfo_FindClass)}, + {SIP_MLNAME_CAST(sipName_GetBaseClassName1), meth_wxClassInfo_GetBaseClassName1, METH_VARARGS, SIP_MLDOC_CAST(doc_wxClassInfo_GetBaseClassName1)}, + {SIP_MLNAME_CAST(sipName_GetBaseClassName2), meth_wxClassInfo_GetBaseClassName2, METH_VARARGS, SIP_MLDOC_CAST(doc_wxClassInfo_GetBaseClassName2)}, + {SIP_MLNAME_CAST(sipName_GetClassName), meth_wxClassInfo_GetClassName, METH_VARARGS, SIP_MLDOC_CAST(doc_wxClassInfo_GetClassName)}, + {SIP_MLNAME_CAST(sipName_GetSize), meth_wxClassInfo_GetSize, METH_VARARGS, SIP_MLDOC_CAST(doc_wxClassInfo_GetSize)}, + {SIP_MLNAME_CAST(sipName_IsDynamic), meth_wxClassInfo_IsDynamic, METH_VARARGS, SIP_MLDOC_CAST(doc_wxClassInfo_IsDynamic)}, + {SIP_MLNAME_CAST(sipName_IsKindOf), (PyCFunction)meth_wxClassInfo_IsKindOf, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_wxClassInfo_IsKindOf)} +}; + + +sipClassTypeDef sipTypeDef__core_wxClassInfo = { + { + -1, + 0, + 0, + SIP_TYPE_ABSTRACT|SIP_TYPE_CLASS, + sipNameNr_wxClassInfo, + {0} + }, + { + sipNameNr_ClassInfo, + {0, 0, 1}, + 8, methods_wxClassInfo, + 0, 0, + 0, 0, + {0, 0, 0, 0, 0, 0, 0, 0, 0, 0}, + }, + 0, + -1, + -1, + 0, + 0, + 0, + 0, + 0, +#if PY_MAJOR_VERSION >= 3 + 0, + 0, +#else + 0, + 0, + 0, + 0, +#endif + dealloc_wxClassInfo, + 0, + 0, + 0, + release_wxClassInfo, + cast_wxClassInfo, + 0, + 0, + 0 +}; diff --git a/sip/cpp/sip_corewxObject.cpp b/sip/cpp/sip_corewxObject.cpp new file mode 100644 index 00000000..3ac7b0fe --- /dev/null +++ b/sip/cpp/sip_corewxObject.cpp @@ -0,0 +1,543 @@ +/* + * Interface wrapper code. + * + * Generated by SIP 4.12-snapshot-eac351f5cca7 on Wed Nov 10 15:32:07 2010 + * + * Copyright: (c) 2010 by Total Control Software + * Licence: wxWindows license + */ + +#include "sipAPI_core.h" + +#line 40 "sip/gen/object.sip" + #include +#line 15 "sip_corewxObject.cpp" + +#line 17 "sip/gen/object.sip" + #include +#line 19 "sip_corewxObject.cpp" +#line 84 "sip/gen/object.sip" + #include +#line 22 "sip_corewxObject.cpp" + + +class sipwxObject : public wxObject +{ +public: + sipwxObject(); + sipwxObject(const wxObject&); + virtual ~sipwxObject(); + + /* + * There is a protected method for every virtual method visible from + * this class. + */ +protected: + wxClassInfo * GetClassInfo(); + +public: + sipSimpleWrapper *sipPySelf; + +private: + sipwxObject(const sipwxObject &); + sipwxObject &operator = (const sipwxObject &); + + char sipPyMethods[1]; +}; + +sipwxObject::sipwxObject(): wxObject(), sipPySelf(0) +{ + memset(sipPyMethods, 0, sizeof (sipPyMethods)); +} + +sipwxObject::sipwxObject(const wxObject& other): wxObject(other), sipPySelf(0) +{ + memset(sipPyMethods, 0, sizeof (sipPyMethods)); +} + +sipwxObject::~sipwxObject() +{ + sipCommonDtor(sipPySelf); +} + +wxClassInfo * sipwxObject::GetClassInfo() +{ + sip_gilstate_t sipGILState; + PyObject *sipMeth; + + sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[0],sipPySelf,NULL,sipName_GetClassInfo); + + if (!sipMeth) + return wxObject::GetClassInfo(); + + extern wxClassInfo * sipVH__core_0(sip_gilstate_t,PyObject *); + + return sipVH__core_0(sipGILState,sipMeth); +} + + +PyDoc_STRVAR(doc_wxObject_GetClassInfo, "Object.GetClassInfo() -> ClassInfo"); + +extern "C" {static PyObject *meth_wxObject_GetClassInfo(PyObject *, PyObject *);} +static PyObject *meth_wxObject_GetClassInfo(PyObject *sipSelf, PyObject *sipArgs) +{ + PyObject *sipParseErr = NULL; + bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf)); + + { + wxObject *sipCpp; + + if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_wxObject, &sipCpp)) + { + wxClassInfo *sipRes; + + try + { + sipRes = (sipSelfWasArg ? sipCpp->wxObject::GetClassInfo() : sipCpp->GetClassInfo()); + } + catch (...) + { + sipRaiseUnknownException(); + return NULL; + } + + return sipConvertFromType(sipRes,sipType_wxClassInfo,NULL); + } + } + + /* Raise an exception if the arguments couldn't be parsed. */ + sipNoMethod(sipParseErr, sipName_Object, sipName_GetClassInfo, doc_wxObject_GetClassInfo); + + return NULL; +} + + +PyDoc_STRVAR(doc_wxObject_GetRefData, "Object.GetRefData() -> RefCounter"); + +extern "C" {static PyObject *meth_wxObject_GetRefData(PyObject *, PyObject *);} +static PyObject *meth_wxObject_GetRefData(PyObject *sipSelf, PyObject *sipArgs) +{ + PyObject *sipParseErr = NULL; + + { + wxObject *sipCpp; + + if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_wxObject, &sipCpp)) + { + wxObjectRefData *sipRes; + + try + { + sipRes = sipCpp->GetRefData(); + } + catch (...) + { + sipRaiseUnknownException(); + return NULL; + } + + return sipConvertFromType(sipRes,sipType_wxRefCounter,NULL); + } + } + + /* Raise an exception if the arguments couldn't be parsed. */ + sipNoMethod(sipParseErr, sipName_Object, sipName_GetRefData, doc_wxObject_GetRefData); + + return NULL; +} + + +PyDoc_STRVAR(doc_wxObject_IsKindOf, "Object.IsKindOf(ClassInfo) -> bool"); + +extern "C" {static PyObject *meth_wxObject_IsKindOf(PyObject *, PyObject *, PyObject *);} +static PyObject *meth_wxObject_IsKindOf(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds) +{ + PyObject *sipParseErr = NULL; + + { + const wxClassInfo * info; + wxObject *sipCpp; + + static const char *sipKwdList[] = { + sipName_info, + }; + + if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "BJ8", &sipSelf, sipType_wxObject, &sipCpp, sipType_wxClassInfo, &info)) + { + bool sipRes; + + try + { + sipRes = sipCpp->IsKindOf(info); + } + catch (...) + { + sipRaiseUnknownException(); + return NULL; + } + + return PyBool_FromLong(sipRes); + } + } + + /* Raise an exception if the arguments couldn't be parsed. */ + sipNoMethod(sipParseErr, sipName_Object, sipName_IsKindOf, doc_wxObject_IsKindOf); + + return NULL; +} + + +PyDoc_STRVAR(doc_wxObject_IsSameAs, "Object.IsSameAs(Object) -> bool"); + +extern "C" {static PyObject *meth_wxObject_IsSameAs(PyObject *, PyObject *, PyObject *);} +static PyObject *meth_wxObject_IsSameAs(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds) +{ + PyObject *sipParseErr = NULL; + + { + const wxObject * obj; + wxObject *sipCpp; + + static const char *sipKwdList[] = { + sipName_obj, + }; + + if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "BJ9", &sipSelf, sipType_wxObject, &sipCpp, sipType_wxObject, &obj)) + { + bool sipRes; + + try + { + sipRes = sipCpp->IsSameAs(*obj); + } + catch (...) + { + sipRaiseUnknownException(); + return NULL; + } + + return PyBool_FromLong(sipRes); + } + } + + /* Raise an exception if the arguments couldn't be parsed. */ + sipNoMethod(sipParseErr, sipName_Object, sipName_IsSameAs, doc_wxObject_IsSameAs); + + return NULL; +} + + +PyDoc_STRVAR(doc_wxObject_Ref, "Object.Ref(Object)"); + +extern "C" {static PyObject *meth_wxObject_Ref(PyObject *, PyObject *, PyObject *);} +static PyObject *meth_wxObject_Ref(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds) +{ + PyObject *sipParseErr = NULL; + + { + const wxObject * clone; + wxObject *sipCpp; + + static const char *sipKwdList[] = { + sipName_clone, + }; + + if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "BJ9", &sipSelf, sipType_wxObject, &sipCpp, sipType_wxObject, &clone)) + { + try + { + sipCpp->Ref(*clone); + } + catch (...) + { + sipRaiseUnknownException(); + return NULL; + } + + Py_INCREF(Py_None); + return Py_None; + } + } + + /* Raise an exception if the arguments couldn't be parsed. */ + sipNoMethod(sipParseErr, sipName_Object, sipName_Ref, doc_wxObject_Ref); + + return NULL; +} + + +PyDoc_STRVAR(doc_wxObject_SetRefData, "Object.SetRefData(RefCounter)"); + +extern "C" {static PyObject *meth_wxObject_SetRefData(PyObject *, PyObject *, PyObject *);} +static PyObject *meth_wxObject_SetRefData(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds) +{ + PyObject *sipParseErr = NULL; + + { + wxObjectRefData * data; + wxObject *sipCpp; + + static const char *sipKwdList[] = { + sipName_data, + }; + + if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "BJ8", &sipSelf, sipType_wxObject, &sipCpp, sipType_wxRefCounter, &data)) + { + try + { + sipCpp->SetRefData(data); + } + catch (...) + { + sipRaiseUnknownException(); + return NULL; + } + + Py_INCREF(Py_None); + return Py_None; + } + } + + /* Raise an exception if the arguments couldn't be parsed. */ + sipNoMethod(sipParseErr, sipName_Object, sipName_SetRefData, doc_wxObject_SetRefData); + + return NULL; +} + + +PyDoc_STRVAR(doc_wxObject_UnRef, "Object.UnRef()"); + +extern "C" {static PyObject *meth_wxObject_UnRef(PyObject *, PyObject *);} +static PyObject *meth_wxObject_UnRef(PyObject *sipSelf, PyObject *sipArgs) +{ + PyObject *sipParseErr = NULL; + + { + wxObject *sipCpp; + + if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_wxObject, &sipCpp)) + { + try + { + sipCpp->UnRef(); + } + catch (...) + { + sipRaiseUnknownException(); + return NULL; + } + + Py_INCREF(Py_None); + return Py_None; + } + } + + /* Raise an exception if the arguments couldn't be parsed. */ + sipNoMethod(sipParseErr, sipName_Object, sipName_UnRef, doc_wxObject_UnRef); + + return NULL; +} + + +PyDoc_STRVAR(doc_wxObject_UnShare, "Object.UnShare()"); + +extern "C" {static PyObject *meth_wxObject_UnShare(PyObject *, PyObject *);} +static PyObject *meth_wxObject_UnShare(PyObject *sipSelf, PyObject *sipArgs) +{ + PyObject *sipParseErr = NULL; + + { + wxObject *sipCpp; + + if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_wxObject, &sipCpp)) + { + try + { + sipCpp->UnShare(); + } + catch (...) + { + sipRaiseUnknownException(); + return NULL; + } + + Py_INCREF(Py_None); + return Py_None; + } + } + + /* Raise an exception if the arguments couldn't be parsed. */ + sipNoMethod(sipParseErr, sipName_Object, sipName_UnShare, doc_wxObject_UnShare); + + return NULL; +} + + +/* Cast a pointer to a type somewhere in its superclass hierarchy. */ +extern "C" {static void *cast_wxObject(void *, const sipTypeDef *);} +static void *cast_wxObject(void *ptr, const sipTypeDef *targetType) +{ + if (targetType == sipType_wxObject) + return ptr; + + return NULL; +} + + +/* Call the instance's destructor. */ +extern "C" {static void release_wxObject(void *, int);} +static void release_wxObject(void *sipCppV,int sipState) +{ + if (sipState & SIP_DERIVED_CLASS) + delete reinterpret_cast(sipCppV); + else + delete reinterpret_cast(sipCppV); +} + + +extern "C" {static void assign_wxObject(void *, SIP_SSIZE_T, const void *);} +static void assign_wxObject(void *sipDst, SIP_SSIZE_T sipDstIdx, const void *sipSrc) +{ + reinterpret_cast(sipDst)[sipDstIdx] = *reinterpret_cast(sipSrc); +} + + +extern "C" {static void *array_wxObject(SIP_SSIZE_T);} +static void *array_wxObject(SIP_SSIZE_T sipNrElem) +{ + return new wxObject[sipNrElem]; +} + + +extern "C" {static void *copy_wxObject(const void *, SIP_SSIZE_T);} +static void *copy_wxObject(const void *sipSrc, SIP_SSIZE_T sipSrcIdx) +{ + return new wxObject(reinterpret_cast(sipSrc)[sipSrcIdx]); +} + + +extern "C" {static void dealloc_wxObject(sipSimpleWrapper *);} +static void dealloc_wxObject(sipSimpleWrapper *sipSelf) +{ + if (sipIsDerived(sipSelf)) + reinterpret_cast(sipGetAddress(sipSelf))->sipPySelf = NULL; + + if (sipIsPyOwned(sipSelf)) + { + release_wxObject(sipGetAddress(sipSelf),sipSelf->flags); + } +} + + +extern "C" {static void *init_wxObject(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);} +static void *init_wxObject(sipSimpleWrapper *sipSelf, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **, PyObject **sipParseErr) +{ + sipwxObject *sipCpp = 0; + + { + if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "")) + { + try + { + sipCpp = new sipwxObject(); + } + catch (...) + { + sipRaiseUnknownException(); + return NULL; + } + + sipCpp->sipPySelf = sipSelf; + + return sipCpp; + } + } + + { + const wxObject * other; + + static const char *sipKwdList[] = { + sipName_other, + }; + + if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, sipKwdList, sipUnused, "J9", sipType_wxObject, &other)) + { + try + { + sipCpp = new sipwxObject(*other); + } + catch (...) + { + sipRaiseUnknownException(); + return NULL; + } + + sipCpp->sipPySelf = sipSelf; + + return sipCpp; + } + } + + return NULL; +} + + +static PyMethodDef methods_wxObject[] = { + {SIP_MLNAME_CAST(sipName_GetClassInfo), meth_wxObject_GetClassInfo, METH_VARARGS, SIP_MLDOC_CAST(doc_wxObject_GetClassInfo)}, + {SIP_MLNAME_CAST(sipName_GetRefData), meth_wxObject_GetRefData, METH_VARARGS, SIP_MLDOC_CAST(doc_wxObject_GetRefData)}, + {SIP_MLNAME_CAST(sipName_IsKindOf), (PyCFunction)meth_wxObject_IsKindOf, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_wxObject_IsKindOf)}, + {SIP_MLNAME_CAST(sipName_IsSameAs), (PyCFunction)meth_wxObject_IsSameAs, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_wxObject_IsSameAs)}, + {SIP_MLNAME_CAST(sipName_Ref), (PyCFunction)meth_wxObject_Ref, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_wxObject_Ref)}, + {SIP_MLNAME_CAST(sipName_SetRefData), (PyCFunction)meth_wxObject_SetRefData, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_wxObject_SetRefData)}, + {SIP_MLNAME_CAST(sipName_UnRef), meth_wxObject_UnRef, METH_VARARGS, SIP_MLDOC_CAST(doc_wxObject_UnRef)}, + {SIP_MLNAME_CAST(sipName_UnShare), meth_wxObject_UnShare, METH_VARARGS, SIP_MLDOC_CAST(doc_wxObject_UnShare)} +}; + +PyDoc_STRVAR(doc_wxObject, "\1Object()\n" + "Object(Object)"); + + +sipClassTypeDef sipTypeDef__core_wxObject = { + { + -1, + 0, + 0, + SIP_TYPE_CLASS, + sipNameNr_wxObject, + {0} + }, + { + sipNameNr_Object, + {0, 0, 1}, + 8, methods_wxObject, + 0, 0, + 0, 0, + {0, 0, 0, 0, 0, 0, 0, 0, 0, 0}, + }, + doc_wxObject, + -1, + -1, + 0, + 0, + init_wxObject, + 0, + 0, +#if PY_MAJOR_VERSION >= 3 + 0, + 0, +#else + 0, + 0, + 0, + 0, +#endif + dealloc_wxObject, + assign_wxObject, + array_wxObject, + copy_wxObject, + release_wxObject, + cast_wxObject, + 0, + 0, + 0 +}; diff --git a/sip/cpp/sip_corewxPoint.cpp b/sip/cpp/sip_corewxPoint.cpp new file mode 100644 index 00000000..4c3f7f3e --- /dev/null +++ b/sip/cpp/sip_corewxPoint.cpp @@ -0,0 +1,919 @@ +/* + * Interface wrapper code. + * + * Generated by SIP 4.12-snapshot-eac351f5cca7 on Wed Nov 10 15:32:07 2010 + * + * Copyright: (c) 2010 by Total Control Software + * Licence: wxWindows license + */ + +#include "sipAPI_core.h" + +#line 22 "sip/gen/gdicmn.sip" + #include +#line 15 "sip_corewxPoint.cpp" + +#line 404 "sip/gen/gdicmn.sip" + #include +#line 19 "sip_corewxPoint.cpp" +#line 119 "sip/gen/gdicmn.sip" + #include +#line 22 "sip_corewxPoint.cpp" + + +PyDoc_STRVAR(doc_wxPoint_IsFullySpecified, "Point.IsFullySpecified() -> bool"); + +extern "C" {static PyObject *meth_wxPoint_IsFullySpecified(PyObject *, PyObject *);} +static PyObject *meth_wxPoint_IsFullySpecified(PyObject *sipSelf, PyObject *sipArgs) +{ + PyObject *sipParseErr = NULL; + + { + wxPoint *sipCpp; + + if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_wxPoint, &sipCpp)) + { + bool sipRes; + + try + { + sipRes = sipCpp->IsFullySpecified(); + } + catch (...) + { + sipRaiseUnknownException(); + return NULL; + } + + return PyBool_FromLong(sipRes); + } + } + + /* Raise an exception if the arguments couldn't be parsed. */ + sipNoMethod(sipParseErr, sipName_Point, sipName_IsFullySpecified, doc_wxPoint_IsFullySpecified); + + return NULL; +} + + +PyDoc_STRVAR(doc_wxPoint_SetDefaults, "Point.SetDefaults(Point)"); + +extern "C" {static PyObject *meth_wxPoint_SetDefaults(PyObject *, PyObject *, PyObject *);} +static PyObject *meth_wxPoint_SetDefaults(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds) +{ + PyObject *sipParseErr = NULL; + + { + const wxPoint * pt; + int ptState = 0; + wxPoint *sipCpp; + + static const char *sipKwdList[] = { + sipName_pt, + }; + + if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "BJ1", &sipSelf, sipType_wxPoint, &sipCpp, sipType_wxPoint, &pt, &ptState)) + { + try + { + sipCpp->SetDefaults(*pt); + } + catch (...) + { + sipReleaseType(const_cast(pt),sipType_wxPoint,ptState); + sipRaiseUnknownException(); + return NULL; + } + sipReleaseType(const_cast(pt),sipType_wxPoint,ptState); + + Py_INCREF(Py_None); + return Py_None; + } + } + + /* Raise an exception if the arguments couldn't be parsed. */ + sipNoMethod(sipParseErr, sipName_Point, sipName_SetDefaults, doc_wxPoint_SetDefaults); + + return NULL; +} + + +extern "C" {static PyObject *slot_wxPoint___eq__(PyObject *,PyObject *);} +static PyObject *slot_wxPoint___eq__(PyObject *sipSelf,PyObject *sipArg) +{ + wxPoint *sipCpp = reinterpret_cast(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_wxPoint)); + + if (!sipCpp) + return 0; + + PyObject *sipParseErr = NULL; + + { + const wxPoint * p2; + int p2State = 0; + + if (sipParseArgs(&sipParseErr, sipArg, "1J1", sipType_wxPoint, &p2, &p2State)) + { + bool sipRes; + + try + { + sipRes = operator==((*sipCpp), *p2); + } + catch (...) + { + sipReleaseType(const_cast(p2),sipType_wxPoint,p2State); + sipRaiseUnknownException(); + return NULL; + } + sipReleaseType(const_cast(p2),sipType_wxPoint,p2State); + + return PyBool_FromLong(sipRes); + } + } + + Py_XDECREF(sipParseErr); + + if (sipParseErr == Py_None) + return NULL; + + return sipPySlotExtend(&sipModuleAPI__core,eq_slot,sipType_wxPoint,sipSelf,sipArg); +} + + +extern "C" {static PyObject *slot_wxPoint___ne__(PyObject *,PyObject *);} +static PyObject *slot_wxPoint___ne__(PyObject *sipSelf,PyObject *sipArg) +{ + wxPoint *sipCpp = reinterpret_cast(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_wxPoint)); + + if (!sipCpp) + return 0; + + PyObject *sipParseErr = NULL; + + { + const wxPoint * p2; + int p2State = 0; + + if (sipParseArgs(&sipParseErr, sipArg, "1J1", sipType_wxPoint, &p2, &p2State)) + { + bool sipRes; + + try + { + sipRes = operator!=((*sipCpp), *p2); + } + catch (...) + { + sipReleaseType(const_cast(p2),sipType_wxPoint,p2State); + sipRaiseUnknownException(); + return NULL; + } + sipReleaseType(const_cast(p2),sipType_wxPoint,p2State); + + return PyBool_FromLong(sipRes); + } + } + + Py_XDECREF(sipParseErr); + + if (sipParseErr == Py_None) + return NULL; + + return sipPySlotExtend(&sipModuleAPI__core,ne_slot,sipType_wxPoint,sipSelf,sipArg); +} + + +extern "C" {static PyObject *slot_wxPoint___add__(PyObject *,PyObject *);} +static PyObject *slot_wxPoint___add__(PyObject *sipArg0,PyObject *sipArg1) +{ + PyObject *sipParseErr = NULL; + + { + const wxPoint * p; + int pState = 0; + const wxSize * s; + + if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1J9", sipType_wxPoint, &p, &pState, sipType_wxSize, &s)) + { + wxPoint *sipRes; + + try + { + sipRes = new wxPoint((*p + *s)); + } + catch (...) + { + sipReleaseType(const_cast(p),sipType_wxPoint,pState); + sipRaiseUnknownException(); + return NULL; + } + sipReleaseType(const_cast(p),sipType_wxPoint,pState); + + return sipConvertFromNewType(sipRes,sipType_wxPoint,NULL); + } + } + + { + const wxPoint * p1; + int p1State = 0; + const wxPoint * p2; + int p2State = 0; + + if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1J1", sipType_wxPoint, &p1, &p1State, sipType_wxPoint, &p2, &p2State)) + { + wxPoint *sipRes; + + try + { + sipRes = new wxPoint((*p1 + *p2)); + } + catch (...) + { + sipReleaseType(const_cast(p1),sipType_wxPoint,p1State); + sipReleaseType(const_cast(p2),sipType_wxPoint,p2State); + sipRaiseUnknownException(); + return NULL; + } + sipReleaseType(const_cast(p1),sipType_wxPoint,p1State); + sipReleaseType(const_cast(p2),sipType_wxPoint,p2State); + + return sipConvertFromNewType(sipRes,sipType_wxPoint,NULL); + } + } + + Py_XDECREF(sipParseErr); + + if (sipParseErr == Py_None) + return NULL; + + return sipPySlotExtend(&sipModuleAPI__core,add_slot,NULL,sipArg0,sipArg1); +} + + +extern "C" {static PyObject *slot_wxPoint___neg__(PyObject *);} +static PyObject *slot_wxPoint___neg__(PyObject *sipSelf) +{ + wxPoint *sipCpp = reinterpret_cast(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_wxPoint)); + + if (!sipCpp) + return 0; + + + { + { + wxPoint *sipRes; + + try + { + sipRes = new wxPoint(-(*sipCpp)); + } + catch (...) + { + sipRaiseUnknownException(); + return NULL; + } + + return sipConvertFromNewType(sipRes,sipType_wxPoint,NULL); + } + } +} + + +extern "C" {static PyObject *slot_wxPoint___sub__(PyObject *,PyObject *);} +static PyObject *slot_wxPoint___sub__(PyObject *sipArg0,PyObject *sipArg1) +{ + PyObject *sipParseErr = NULL; + + { + const wxPoint * p; + int pState = 0; + const wxSize * s; + + if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1J9", sipType_wxPoint, &p, &pState, sipType_wxSize, &s)) + { + wxPoint *sipRes; + + try + { + sipRes = new wxPoint((*p - *s)); + } + catch (...) + { + sipReleaseType(const_cast(p),sipType_wxPoint,pState); + sipRaiseUnknownException(); + return NULL; + } + sipReleaseType(const_cast(p),sipType_wxPoint,pState); + + return sipConvertFromNewType(sipRes,sipType_wxPoint,NULL); + } + } + + { + const wxPoint * p1; + int p1State = 0; + const wxPoint * p2; + int p2State = 0; + + if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1J1", sipType_wxPoint, &p1, &p1State, sipType_wxPoint, &p2, &p2State)) + { + wxPoint *sipRes; + + try + { + sipRes = new wxPoint((*p1 - *p2)); + } + catch (...) + { + sipReleaseType(const_cast(p1),sipType_wxPoint,p1State); + sipReleaseType(const_cast(p2),sipType_wxPoint,p2State); + sipRaiseUnknownException(); + return NULL; + } + sipReleaseType(const_cast(p1),sipType_wxPoint,p1State); + sipReleaseType(const_cast(p2),sipType_wxPoint,p2State); + + return sipConvertFromNewType(sipRes,sipType_wxPoint,NULL); + } + } + + Py_XDECREF(sipParseErr); + + if (sipParseErr == Py_None) + return NULL; + + return sipPySlotExtend(&sipModuleAPI__core,sub_slot,NULL,sipArg0,sipArg1); +} + + +extern "C" {static PyObject *slot_wxPoint___mul__(PyObject *,PyObject *);} +static PyObject *slot_wxPoint___mul__(PyObject *sipArg0,PyObject *sipArg1) +{ + PyObject *sipParseErr = NULL; + + { + const wxPoint * s; + int sState = 0; + int i; + + if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1i", sipType_wxPoint, &s, &sState, &i)) + { + wxPoint *sipRes; + + try + { + sipRes = new wxPoint((*s * i)); + } + catch (...) + { + sipReleaseType(const_cast(s),sipType_wxPoint,sState); + sipRaiseUnknownException(); + return NULL; + } + sipReleaseType(const_cast(s),sipType_wxPoint,sState); + + return sipConvertFromNewType(sipRes,sipType_wxPoint,NULL); + } + } + + { + int i; + const wxPoint * s; + int sState = 0; + + if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "iJ1", &i, sipType_wxPoint, &s, &sState)) + { + wxPoint *sipRes; + + try + { + sipRes = new wxPoint((i * *s)); + } + catch (...) + { + sipReleaseType(const_cast(s),sipType_wxPoint,sState); + sipRaiseUnknownException(); + return NULL; + } + sipReleaseType(const_cast(s),sipType_wxPoint,sState); + + return sipConvertFromNewType(sipRes,sipType_wxPoint,NULL); + } + } + + Py_XDECREF(sipParseErr); + + if (sipParseErr == Py_None) + return NULL; + + return sipPySlotExtend(&sipModuleAPI__core,mul_slot,NULL,sipArg0,sipArg1); +} + + +extern "C" {static PyObject *slot_wxPoint___div__(PyObject *,PyObject *);} +static PyObject *slot_wxPoint___div__(PyObject *sipArg0,PyObject *sipArg1) +{ + PyObject *sipParseErr = NULL; + + { + const wxPoint * s; + int sState = 0; + int i; + + if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J1i", sipType_wxPoint, &s, &sState, &i)) + { + wxPoint *sipRes; + + try + { + sipRes = new wxPoint((*s / i)); + } + catch (...) + { + sipReleaseType(const_cast(s),sipType_wxPoint,sState); + sipRaiseUnknownException(); + return NULL; + } + sipReleaseType(const_cast(s),sipType_wxPoint,sState); + + return sipConvertFromNewType(sipRes,sipType_wxPoint,NULL); + } + } + + Py_XDECREF(sipParseErr); + + if (sipParseErr == Py_None) + return NULL; + + return sipPySlotExtend(&sipModuleAPI__core,div_slot,NULL,sipArg0,sipArg1); +} + + +extern "C" {static PyObject *slot_wxPoint___isub__(PyObject *,PyObject *);} +static PyObject *slot_wxPoint___isub__(PyObject *sipSelf,PyObject *sipArg) +{ + if (!PyObject_TypeCheck(sipSelf, sipTypeAsPyTypeObject(sipType_wxPoint))) + { + Py_INCREF(Py_NotImplemented); + return Py_NotImplemented; + } + + wxPoint *sipCpp = reinterpret_cast(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_wxPoint)); + + if (!sipCpp) + return 0; + + PyObject *sipParseErr = NULL; + + { + const wxPoint * pt; + int ptState = 0; + + if (sipParseArgs(&sipParseErr, sipArg, "1J1", sipType_wxPoint, &pt, &ptState)) + { + try + { + sipCpp->wxPoint::operator-=(*pt); + } + catch (...) + { + sipReleaseType(const_cast(pt),sipType_wxPoint,ptState); + sipRaiseUnknownException(); + return NULL; + } + sipReleaseType(const_cast(pt),sipType_wxPoint,ptState); + + Py_INCREF(sipSelf); + return sipSelf; + } + } + + { + const wxSize * sz; + + if (sipParseArgs(&sipParseErr, sipArg, "1J9", sipType_wxSize, &sz)) + { + try + { + sipCpp->wxPoint::operator-=(*sz); + } + catch (...) + { + sipRaiseUnknownException(); + return NULL; + } + + Py_INCREF(sipSelf); + return sipSelf; + } + } + + Py_XDECREF(sipParseErr); + + if (sipParseErr == Py_None) + return NULL; + + PyErr_Clear(); + + Py_INCREF(Py_NotImplemented); + return Py_NotImplemented; +} + + +extern "C" {static PyObject *slot_wxPoint___iadd__(PyObject *,PyObject *);} +static PyObject *slot_wxPoint___iadd__(PyObject *sipSelf,PyObject *sipArg) +{ + if (!PyObject_TypeCheck(sipSelf, sipTypeAsPyTypeObject(sipType_wxPoint))) + { + Py_INCREF(Py_NotImplemented); + return Py_NotImplemented; + } + + wxPoint *sipCpp = reinterpret_cast(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_wxPoint)); + + if (!sipCpp) + return 0; + + PyObject *sipParseErr = NULL; + + { + const wxPoint * pt; + int ptState = 0; + + if (sipParseArgs(&sipParseErr, sipArg, "1J1", sipType_wxPoint, &pt, &ptState)) + { + try + { + sipCpp->wxPoint::operator+=(*pt); + } + catch (...) + { + sipReleaseType(const_cast(pt),sipType_wxPoint,ptState); + sipRaiseUnknownException(); + return NULL; + } + sipReleaseType(const_cast(pt),sipType_wxPoint,ptState); + + Py_INCREF(sipSelf); + return sipSelf; + } + } + + { + const wxSize * sz; + + if (sipParseArgs(&sipParseErr, sipArg, "1J9", sipType_wxSize, &sz)) + { + try + { + sipCpp->wxPoint::operator+=(*sz); + } + catch (...) + { + sipRaiseUnknownException(); + return NULL; + } + + Py_INCREF(sipSelf); + return sipSelf; + } + } + + Py_XDECREF(sipParseErr); + + if (sipParseErr == Py_None) + return NULL; + + PyErr_Clear(); + + Py_INCREF(Py_NotImplemented); + return Py_NotImplemented; +} + + +/* Cast a pointer to a type somewhere in its superclass hierarchy. */ +extern "C" {static void *cast_wxPoint(void *, const sipTypeDef *);} +static void *cast_wxPoint(void *ptr, const sipTypeDef *targetType) +{ + if (targetType == sipType_wxPoint) + return ptr; + + return NULL; +} + + +/* Call the instance's destructor. */ +extern "C" {static void release_wxPoint(void *, int);} +static void release_wxPoint(void *sipCppV,int) +{ + delete reinterpret_cast(sipCppV); +} + + +extern "C" {static void assign_wxPoint(void *, SIP_SSIZE_T, const void *);} +static void assign_wxPoint(void *sipDst, SIP_SSIZE_T sipDstIdx, const void *sipSrc) +{ + reinterpret_cast(sipDst)[sipDstIdx] = *reinterpret_cast(sipSrc); +} + + +extern "C" {static void *array_wxPoint(SIP_SSIZE_T);} +static void *array_wxPoint(SIP_SSIZE_T sipNrElem) +{ + return new wxPoint[sipNrElem]; +} + + +extern "C" {static void *copy_wxPoint(const void *, SIP_SSIZE_T);} +static void *copy_wxPoint(const void *sipSrc, SIP_SSIZE_T sipSrcIdx) +{ + return new wxPoint(reinterpret_cast(sipSrc)[sipSrcIdx]); +} + + +extern "C" {static void dealloc_wxPoint(sipSimpleWrapper *);} +static void dealloc_wxPoint(sipSimpleWrapper *sipSelf) +{ + if (sipIsPyOwned(sipSelf)) + { + release_wxPoint(sipGetAddress(sipSelf),0); + } +} + + +extern "C" {static void *init_wxPoint(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);} +static void *init_wxPoint(sipSimpleWrapper *, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **, PyObject **sipParseErr) +{ + wxPoint *sipCpp = 0; + + { + if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "")) + { + try + { + sipCpp = new wxPoint(); + } + catch (...) + { + sipRaiseUnknownException(); + return NULL; + } + + return sipCpp; + } + } + + { + int x; + int y; + + static const char *sipKwdList[] = { + sipName_x, + sipName_y, + }; + + if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, sipKwdList, sipUnused, "ii", &x, &y)) + { + try + { + sipCpp = new wxPoint(x,y); + } + catch (...) + { + sipRaiseUnknownException(); + return NULL; + } + + return sipCpp; + } + } + + { + const wxRealPoint * pt; + + static const char *sipKwdList[] = { + sipName_pt, + }; + + if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, sipKwdList, sipUnused, "J9", sipType_wxRealPoint, &pt)) + { + try + { + sipCpp = new wxPoint(*pt); + } + catch (...) + { + sipRaiseUnknownException(); + return NULL; + } + + return sipCpp; + } + } + + { + const wxPoint * a0; + int a0State = 0; + + if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J1", sipType_wxPoint, &a0, &a0State)) + { + try + { + sipCpp = new wxPoint(*a0); + } + catch (...) + { + sipReleaseType(const_cast(a0),sipType_wxPoint,a0State); + sipRaiseUnknownException(); + return NULL; + } + sipReleaseType(const_cast(a0),sipType_wxPoint,a0State); + + return sipCpp; + } + } + + return NULL; +} + + +extern "C" {static int convertTo_wxPoint(PyObject *, void **, int *, PyObject *);} +static int convertTo_wxPoint(PyObject *sipPy,void **sipCppPtrV,int *sipIsErr,PyObject *sipTransferObj) +{ + wxPoint **sipCppPtr = reinterpret_cast(sipCppPtrV); + +#line 62 "sip/gen/gdicmn.sip" + // is it just a typecheck? + if (!sipIsErr) { + if (sipCanConvertToType(sipPy, sipType_wxPoint, SIP_NO_CONVERTORS)) + return 1; + + if (PySequence_Check(sipPy) and PySequence_Size(sipPy) == 2) { + int rval = 1; + PyObject* o1 = PySequence_ITEM(sipPy, 0); + PyObject* o2 = PySequence_ITEM(sipPy, 1); + if (!PyNumber_Check(o1) || !PyNumber_Check(o2)) + rval = 0; + Py_DECREF(o1); + Py_DECREF(o2); + return rval; + } + return 0; + } + + // otherwise do the conversion + if (sipPy == Py_None) { + *sipCppPtr = new wxPoint(-1, -1); + return sipGetState(sipTransferObj); + } + + if (PySequence_Check(sipPy)) { + PyObject* o1 = PySequence_ITEM(sipPy, 0); + PyObject* o2 = PySequence_ITEM(sipPy, 1); + *sipCppPtr = new wxPoint(PyInt_AsLong(o1), PyInt_AsLong(o2)); + Py_DECREF(o1); + Py_DECREF(o2); + return sipGetState(sipTransferObj); + } + + *sipCppPtr = reinterpret_cast(sipConvertToType( + sipPy, sipType_wxPoint, sipTransferObj, SIP_NO_CONVERTORS, 0, sipIsErr)); + return 0; +#line 786 "sip_corewxPoint.cpp" +} + + +/* Define this type's Python slots. */ +static sipPySlotDef slots_wxPoint[] = { + {(void *)slot_wxPoint___eq__, eq_slot}, + {(void *)slot_wxPoint___ne__, ne_slot}, + {(void *)slot_wxPoint___add__, add_slot}, + {(void *)slot_wxPoint___neg__, neg_slot}, + {(void *)slot_wxPoint___sub__, sub_slot}, + {(void *)slot_wxPoint___mul__, mul_slot}, + {(void *)slot_wxPoint___div__, div_slot}, + {(void *)slot_wxPoint___isub__, isub_slot}, + {(void *)slot_wxPoint___iadd__, iadd_slot}, + {0, (sipPySlotType)0} +}; + + +static PyMethodDef methods_wxPoint[] = { + {SIP_MLNAME_CAST(sipName_IsFullySpecified), meth_wxPoint_IsFullySpecified, METH_VARARGS, SIP_MLDOC_CAST(doc_wxPoint_IsFullySpecified)}, + {SIP_MLNAME_CAST(sipName_SetDefaults), (PyCFunction)meth_wxPoint_SetDefaults, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_wxPoint_SetDefaults)} +}; + + +extern "C" {static PyObject *varget_wxPoint_x(void *, PyObject *);} +static PyObject *varget_wxPoint_x(void *sipSelf, PyObject *) +{ + int sipVal; + wxPoint *sipCpp = reinterpret_cast(sipSelf); + + sipVal = sipCpp->x; + + return SIPLong_FromLong(sipVal); +} + + +extern "C" {static int varset_wxPoint_x(void *, PyObject *, PyObject *);} +static int varset_wxPoint_x(void *sipSelf, PyObject *sipPy, PyObject *) +{ + int sipVal; + wxPoint *sipCpp = reinterpret_cast(sipSelf); + + sipVal = (int)SIPLong_AsLong(sipPy); + + if (PyErr_Occurred() != NULL) + return -1; + + sipCpp->x = sipVal; + + return 0; +} + + +extern "C" {static PyObject *varget_wxPoint_y(void *, PyObject *);} +static PyObject *varget_wxPoint_y(void *sipSelf, PyObject *) +{ + int sipVal; + wxPoint *sipCpp = reinterpret_cast(sipSelf); + + sipVal = sipCpp->y; + + return SIPLong_FromLong(sipVal); +} + + +extern "C" {static int varset_wxPoint_y(void *, PyObject *, PyObject *);} +static int varset_wxPoint_y(void *sipSelf, PyObject *sipPy, PyObject *) +{ + int sipVal; + wxPoint *sipCpp = reinterpret_cast(sipSelf); + + sipVal = (int)SIPLong_AsLong(sipPy); + + if (PyErr_Occurred() != NULL) + return -1; + + sipCpp->y = sipVal; + + return 0; +} + +sipVariableDef variables_wxPoint[] = { + {InstanceVariable, sipName_x, (PyMethodDef *)varget_wxPoint_x, (PyMethodDef *)varset_wxPoint_x, NULL, NULL}, + {InstanceVariable, sipName_y, (PyMethodDef *)varget_wxPoint_y, (PyMethodDef *)varset_wxPoint_y, NULL, NULL}, +}; + +PyDoc_STRVAR(doc_wxPoint, "\1Point()\n" + "Point(int, int)\n" + "Point(RealPoint)\n" + "Point(Point)"); + + +sipClassTypeDef sipTypeDef__core_wxPoint = { + { + -1, + 0, + 0, + SIP_TYPE_CLASS, + sipNameNr_wxPoint, + {0} + }, + { + sipNameNr_Point, + {0, 0, 1}, + 2, methods_wxPoint, + 0, 0, + 2, variables_wxPoint, + {0, 0, 0, 0, 0, 0, 0, 0, 0, 0}, + }, + doc_wxPoint, + -1, + -1, + 0, + slots_wxPoint, + init_wxPoint, + 0, + 0, +#if PY_MAJOR_VERSION >= 3 + 0, + 0, +#else + 0, + 0, + 0, + 0, +#endif + dealloc_wxPoint, + assign_wxPoint, + array_wxPoint, + copy_wxPoint, + release_wxPoint, + cast_wxPoint, + convertTo_wxPoint, + 0, + 0 +}; diff --git a/sip/cpp/sip_corewxPoint2DDouble.cpp b/sip/cpp/sip_corewxPoint2DDouble.cpp new file mode 100644 index 00000000..ad2c3971 --- /dev/null +++ b/sip/cpp/sip_corewxPoint2DDouble.cpp @@ -0,0 +1,1247 @@ +/* + * Interface wrapper code. + * + * Generated by SIP 4.12-snapshot-eac351f5cca7 on Wed Nov 10 15:32:07 2010 + * + * Copyright: (c) 2010 by Total Control Software + * Licence: wxWindows license + */ + +#include "sipAPI_core.h" + +#line 22 "sip/gen/geometry.sip" + #include +#line 15 "sip_corewxPoint2DDouble.cpp" + +#line 22 "sip/gen/gdicmn.sip" + #include +#line 19 "sip_corewxPoint2DDouble.cpp" + + +PyDoc_STRVAR(doc_wxPoint2DDouble_GetFloor, "Point2D.GetFloor() -> (int, int)"); + +extern "C" {static PyObject *meth_wxPoint2DDouble_GetFloor(PyObject *, PyObject *, PyObject *);} +static PyObject *meth_wxPoint2DDouble_GetFloor(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds) +{ + PyObject *sipParseErr = NULL; + + { + wxInt32 x; + wxInt32 y; + wxPoint2DDouble *sipCpp; + + static const char *sipKwdList[] = { + sipName_x, + sipName_y, + }; + + if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "B", &sipSelf, sipType_wxPoint2DDouble, &sipCpp)) + { + try + { + sipCpp->GetFloor(&x,&y); + } + catch (...) + { + sipRaiseUnknownException(); + return NULL; + } + + return sipBuildResult(0,"(ii)",x,y); + } + } + + /* Raise an exception if the arguments couldn't be parsed. */ + sipNoMethod(sipParseErr, sipName_Point2D, sipName_GetFloor, doc_wxPoint2DDouble_GetFloor); + + return NULL; +} + + +PyDoc_STRVAR(doc_wxPoint2DDouble_GetRounded, "Point2D.GetRounded() -> (int, int)"); + +extern "C" {static PyObject *meth_wxPoint2DDouble_GetRounded(PyObject *, PyObject *, PyObject *);} +static PyObject *meth_wxPoint2DDouble_GetRounded(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds) +{ + PyObject *sipParseErr = NULL; + + { + wxInt32 x; + wxInt32 y; + wxPoint2DDouble *sipCpp; + + static const char *sipKwdList[] = { + sipName_x, + sipName_y, + }; + + if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "B", &sipSelf, sipType_wxPoint2DDouble, &sipCpp)) + { + try + { + sipCpp->GetRounded(&x,&y); + } + catch (...) + { + sipRaiseUnknownException(); + return NULL; + } + + return sipBuildResult(0,"(ii)",x,y); + } + } + + /* Raise an exception if the arguments couldn't be parsed. */ + sipNoMethod(sipParseErr, sipName_Point2D, sipName_GetRounded, doc_wxPoint2DDouble_GetRounded); + + return NULL; +} + + +PyDoc_STRVAR(doc_wxPoint2DDouble_GetVectorLength, "Point2D.GetVectorLength() -> float"); + +extern "C" {static PyObject *meth_wxPoint2DDouble_GetVectorLength(PyObject *, PyObject *);} +static PyObject *meth_wxPoint2DDouble_GetVectorLength(PyObject *sipSelf, PyObject *sipArgs) +{ + PyObject *sipParseErr = NULL; + + { + wxPoint2DDouble *sipCpp; + + if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_wxPoint2DDouble, &sipCpp)) + { + wxDouble sipRes; + + try + { + sipRes = sipCpp->GetVectorLength(); + } + catch (...) + { + sipRaiseUnknownException(); + return NULL; + } + + return PyFloat_FromDouble(sipRes); + } + } + + /* Raise an exception if the arguments couldn't be parsed. */ + sipNoMethod(sipParseErr, sipName_Point2D, sipName_GetVectorLength, doc_wxPoint2DDouble_GetVectorLength); + + return NULL; +} + + +PyDoc_STRVAR(doc_wxPoint2DDouble_GetVectorAngle, "Point2D.GetVectorAngle() -> float"); + +extern "C" {static PyObject *meth_wxPoint2DDouble_GetVectorAngle(PyObject *, PyObject *);} +static PyObject *meth_wxPoint2DDouble_GetVectorAngle(PyObject *sipSelf, PyObject *sipArgs) +{ + PyObject *sipParseErr = NULL; + + { + wxPoint2DDouble *sipCpp; + + if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_wxPoint2DDouble, &sipCpp)) + { + wxDouble sipRes; + + try + { + sipRes = sipCpp->GetVectorAngle(); + } + catch (...) + { + sipRaiseUnknownException(); + return NULL; + } + + return PyFloat_FromDouble(sipRes); + } + } + + /* Raise an exception if the arguments couldn't be parsed. */ + sipNoMethod(sipParseErr, sipName_Point2D, sipName_GetVectorAngle, doc_wxPoint2DDouble_GetVectorAngle); + + return NULL; +} + + +PyDoc_STRVAR(doc_wxPoint2DDouble_SetVectorLength, "Point2D.SetVectorLength(float)"); + +extern "C" {static PyObject *meth_wxPoint2DDouble_SetVectorLength(PyObject *, PyObject *, PyObject *);} +static PyObject *meth_wxPoint2DDouble_SetVectorLength(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds) +{ + PyObject *sipParseErr = NULL; + + { + wxDouble length; + wxPoint2DDouble *sipCpp; + + static const char *sipKwdList[] = { + sipName_length, + }; + + if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "Bd", &sipSelf, sipType_wxPoint2DDouble, &sipCpp, &length)) + { + try + { + sipCpp->SetVectorLength(length); + } + catch (...) + { + sipRaiseUnknownException(); + return NULL; + } + + Py_INCREF(Py_None); + return Py_None; + } + } + + /* Raise an exception if the arguments couldn't be parsed. */ + sipNoMethod(sipParseErr, sipName_Point2D, sipName_SetVectorLength, doc_wxPoint2DDouble_SetVectorLength); + + return NULL; +} + + +PyDoc_STRVAR(doc_wxPoint2DDouble_SetVectorAngle, "Point2D.SetVectorAngle(float)"); + +extern "C" {static PyObject *meth_wxPoint2DDouble_SetVectorAngle(PyObject *, PyObject *, PyObject *);} +static PyObject *meth_wxPoint2DDouble_SetVectorAngle(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds) +{ + PyObject *sipParseErr = NULL; + + { + wxDouble degrees; + wxPoint2DDouble *sipCpp; + + static const char *sipKwdList[] = { + sipName_degrees, + }; + + if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "Bd", &sipSelf, sipType_wxPoint2DDouble, &sipCpp, °rees)) + { + try + { + sipCpp->SetVectorAngle(degrees); + } + catch (...) + { + sipRaiseUnknownException(); + return NULL; + } + + Py_INCREF(Py_None); + return Py_None; + } + } + + /* Raise an exception if the arguments couldn't be parsed. */ + sipNoMethod(sipParseErr, sipName_Point2D, sipName_SetVectorAngle, doc_wxPoint2DDouble_SetVectorAngle); + + return NULL; +} + + +PyDoc_STRVAR(doc_wxPoint2DDouble_Normalize, "Point2D.Normalize()"); + +extern "C" {static PyObject *meth_wxPoint2DDouble_Normalize(PyObject *, PyObject *);} +static PyObject *meth_wxPoint2DDouble_Normalize(PyObject *sipSelf, PyObject *sipArgs) +{ + PyObject *sipParseErr = NULL; + + { + wxPoint2DDouble *sipCpp; + + if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_wxPoint2DDouble, &sipCpp)) + { + try + { + sipCpp->Normalize(); + } + catch (...) + { + sipRaiseUnknownException(); + return NULL; + } + + Py_INCREF(Py_None); + return Py_None; + } + } + + /* Raise an exception if the arguments couldn't be parsed. */ + sipNoMethod(sipParseErr, sipName_Point2D, sipName_Normalize, doc_wxPoint2DDouble_Normalize); + + return NULL; +} + + +PyDoc_STRVAR(doc_wxPoint2DDouble_GetDistance, "Point2D.GetDistance(Point2D) -> float"); + +extern "C" {static PyObject *meth_wxPoint2DDouble_GetDistance(PyObject *, PyObject *, PyObject *);} +static PyObject *meth_wxPoint2DDouble_GetDistance(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds) +{ + PyObject *sipParseErr = NULL; + + { + const wxPoint2DDouble * pt; + wxPoint2DDouble *sipCpp; + + static const char *sipKwdList[] = { + sipName_pt, + }; + + if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "BJ9", &sipSelf, sipType_wxPoint2DDouble, &sipCpp, sipType_wxPoint2DDouble, &pt)) + { + wxDouble sipRes; + + try + { + sipRes = sipCpp->GetDistance(*pt); + } + catch (...) + { + sipRaiseUnknownException(); + return NULL; + } + + return PyFloat_FromDouble(sipRes); + } + } + + /* Raise an exception if the arguments couldn't be parsed. */ + sipNoMethod(sipParseErr, sipName_Point2D, sipName_GetDistance, doc_wxPoint2DDouble_GetDistance); + + return NULL; +} + + +PyDoc_STRVAR(doc_wxPoint2DDouble_GetDistanceSquare, "Point2D.GetDistanceSquare(Point2D) -> float"); + +extern "C" {static PyObject *meth_wxPoint2DDouble_GetDistanceSquare(PyObject *, PyObject *, PyObject *);} +static PyObject *meth_wxPoint2DDouble_GetDistanceSquare(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds) +{ + PyObject *sipParseErr = NULL; + + { + const wxPoint2DDouble * pt; + wxPoint2DDouble *sipCpp; + + static const char *sipKwdList[] = { + sipName_pt, + }; + + if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "BJ9", &sipSelf, sipType_wxPoint2DDouble, &sipCpp, sipType_wxPoint2DDouble, &pt)) + { + wxDouble sipRes; + + try + { + sipRes = sipCpp->GetDistanceSquare(*pt); + } + catch (...) + { + sipRaiseUnknownException(); + return NULL; + } + + return PyFloat_FromDouble(sipRes); + } + } + + /* Raise an exception if the arguments couldn't be parsed. */ + sipNoMethod(sipParseErr, sipName_Point2D, sipName_GetDistanceSquare, doc_wxPoint2DDouble_GetDistanceSquare); + + return NULL; +} + + +PyDoc_STRVAR(doc_wxPoint2DDouble_GetDotProduct, "Point2D.GetDotProduct(Point2D) -> float"); + +extern "C" {static PyObject *meth_wxPoint2DDouble_GetDotProduct(PyObject *, PyObject *, PyObject *);} +static PyObject *meth_wxPoint2DDouble_GetDotProduct(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds) +{ + PyObject *sipParseErr = NULL; + + { + const wxPoint2DDouble * vec; + wxPoint2DDouble *sipCpp; + + static const char *sipKwdList[] = { + sipName_vec, + }; + + if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "BJ9", &sipSelf, sipType_wxPoint2DDouble, &sipCpp, sipType_wxPoint2DDouble, &vec)) + { + wxDouble sipRes; + + try + { + sipRes = sipCpp->GetDotProduct(*vec); + } + catch (...) + { + sipRaiseUnknownException(); + return NULL; + } + + return PyFloat_FromDouble(sipRes); + } + } + + /* Raise an exception if the arguments couldn't be parsed. */ + sipNoMethod(sipParseErr, sipName_Point2D, sipName_GetDotProduct, doc_wxPoint2DDouble_GetDotProduct); + + return NULL; +} + + +PyDoc_STRVAR(doc_wxPoint2DDouble_GetCrossProduct, "Point2D.GetCrossProduct(Point2D) -> float"); + +extern "C" {static PyObject *meth_wxPoint2DDouble_GetCrossProduct(PyObject *, PyObject *, PyObject *);} +static PyObject *meth_wxPoint2DDouble_GetCrossProduct(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds) +{ + PyObject *sipParseErr = NULL; + + { + const wxPoint2DDouble * vec; + wxPoint2DDouble *sipCpp; + + static const char *sipKwdList[] = { + sipName_vec, + }; + + if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "BJ9", &sipSelf, sipType_wxPoint2DDouble, &sipCpp, sipType_wxPoint2DDouble, &vec)) + { + wxDouble sipRes; + + try + { + sipRes = sipCpp->GetCrossProduct(*vec); + } + catch (...) + { + sipRaiseUnknownException(); + return NULL; + } + + return PyFloat_FromDouble(sipRes); + } + } + + /* Raise an exception if the arguments couldn't be parsed. */ + sipNoMethod(sipParseErr, sipName_Point2D, sipName_GetCrossProduct, doc_wxPoint2DDouble_GetCrossProduct); + + return NULL; +} + + +extern "C" {static PyObject *slot_wxPoint2DDouble___add__(PyObject *,PyObject *);} +static PyObject *slot_wxPoint2DDouble___add__(PyObject *sipArg0,PyObject *sipArg1) +{ + PyObject *sipParseErr = NULL; + + { + const wxPoint2DDouble * pt1; + const wxPoint2DDouble * pt2; + + if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J9J9", sipType_wxPoint2DDouble, &pt1, sipType_wxPoint2DDouble, &pt2)) + { + wxPoint2DDouble *sipRes; + + try + { + sipRes = new wxPoint2DDouble((*pt1 + *pt2)); + } + catch (...) + { + sipRaiseUnknownException(); + return NULL; + } + + return sipConvertFromNewType(sipRes,sipType_wxPoint2DDouble,NULL); + } + } + + Py_XDECREF(sipParseErr); + + if (sipParseErr == Py_None) + return NULL; + + return sipPySlotExtend(&sipModuleAPI__core,add_slot,NULL,sipArg0,sipArg1); +} + + +extern "C" {static PyObject *slot_wxPoint2DDouble___sub__(PyObject *,PyObject *);} +static PyObject *slot_wxPoint2DDouble___sub__(PyObject *sipArg0,PyObject *sipArg1) +{ + PyObject *sipParseErr = NULL; + + { + const wxPoint2DDouble * pt1; + const wxPoint2DDouble * pt2; + + if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J9J9", sipType_wxPoint2DDouble, &pt1, sipType_wxPoint2DDouble, &pt2)) + { + wxPoint2DDouble *sipRes; + + try + { + sipRes = new wxPoint2DDouble((*pt1 - *pt2)); + } + catch (...) + { + sipRaiseUnknownException(); + return NULL; + } + + return sipConvertFromNewType(sipRes,sipType_wxPoint2DDouble,NULL); + } + } + + Py_XDECREF(sipParseErr); + + if (sipParseErr == Py_None) + return NULL; + + return sipPySlotExtend(&sipModuleAPI__core,sub_slot,NULL,sipArg0,sipArg1); +} + + +extern "C" {static PyObject *slot_wxPoint2DDouble___mul__(PyObject *,PyObject *);} +static PyObject *slot_wxPoint2DDouble___mul__(PyObject *sipArg0,PyObject *sipArg1) +{ + PyObject *sipParseErr = NULL; + + { + const wxPoint2DDouble * pt1; + const wxPoint2DDouble * pt2; + + if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J9J9", sipType_wxPoint2DDouble, &pt1, sipType_wxPoint2DDouble, &pt2)) + { + wxPoint2DDouble *sipRes; + + try + { + sipRes = new wxPoint2DDouble((*pt1 * *pt2)); + } + catch (...) + { + sipRaiseUnknownException(); + return NULL; + } + + return sipConvertFromNewType(sipRes,sipType_wxPoint2DDouble,NULL); + } + } + + { + wxDouble n; + const wxPoint2DDouble * pt; + + if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "dJ9", &n, sipType_wxPoint2DDouble, &pt)) + { + wxPoint2DDouble *sipRes; + + try + { + sipRes = new wxPoint2DDouble((n * *pt)); + } + catch (...) + { + sipRaiseUnknownException(); + return NULL; + } + + return sipConvertFromNewType(sipRes,sipType_wxPoint2DDouble,NULL); + } + } + + { + const wxPoint2DDouble * pt; + wxDouble n; + + if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J9d", sipType_wxPoint2DDouble, &pt, &n)) + { + wxPoint2DDouble *sipRes; + + try + { + sipRes = new wxPoint2DDouble((*pt * n)); + } + catch (...) + { + sipRaiseUnknownException(); + return NULL; + } + + return sipConvertFromNewType(sipRes,sipType_wxPoint2DDouble,NULL); + } + } + + Py_XDECREF(sipParseErr); + + if (sipParseErr == Py_None) + return NULL; + + return sipPySlotExtend(&sipModuleAPI__core,mul_slot,NULL,sipArg0,sipArg1); +} + + +extern "C" {static PyObject *slot_wxPoint2DDouble___div__(PyObject *,PyObject *);} +static PyObject *slot_wxPoint2DDouble___div__(PyObject *sipArg0,PyObject *sipArg1) +{ + PyObject *sipParseErr = NULL; + + { + const wxPoint2DDouble * pt1; + const wxPoint2DDouble * pt2; + + if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J9J9", sipType_wxPoint2DDouble, &pt1, sipType_wxPoint2DDouble, &pt2)) + { + wxPoint2DDouble *sipRes; + + try + { + sipRes = new wxPoint2DDouble((*pt1 / *pt2)); + } + catch (...) + { + sipRaiseUnknownException(); + return NULL; + } + + return sipConvertFromNewType(sipRes,sipType_wxPoint2DDouble,NULL); + } + } + + { + const wxPoint2DDouble * pt; + wxDouble n; + + if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J9d", sipType_wxPoint2DDouble, &pt, &n)) + { + wxPoint2DDouble *sipRes; + + try + { + sipRes = new wxPoint2DDouble((*pt / n)); + } + catch (...) + { + sipRaiseUnknownException(); + return NULL; + } + + return sipConvertFromNewType(sipRes,sipType_wxPoint2DDouble,NULL); + } + } + + Py_XDECREF(sipParseErr); + + if (sipParseErr == Py_None) + return NULL; + + return sipPySlotExtend(&sipModuleAPI__core,div_slot,NULL,sipArg0,sipArg1); +} + + +extern "C" {static PyObject *slot_wxPoint2DDouble___ne__(PyObject *,PyObject *);} +static PyObject *slot_wxPoint2DDouble___ne__(PyObject *sipSelf,PyObject *sipArg) +{ + wxPoint2DDouble *sipCpp = reinterpret_cast(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_wxPoint2DDouble)); + + if (!sipCpp) + return 0; + + PyObject *sipParseErr = NULL; + + { + const wxPoint2DDouble * pt; + + if (sipParseArgs(&sipParseErr, sipArg, "1J9", sipType_wxPoint2DDouble, &pt)) + { + bool sipRes; + + try + { + sipRes = sipCpp->wxPoint2DDouble::operator!=(*pt); + } + catch (...) + { + sipRaiseUnknownException(); + return NULL; + } + + return PyBool_FromLong(sipRes); + } + } + + Py_XDECREF(sipParseErr); + + if (sipParseErr == Py_None) + return NULL; + + return sipPySlotExtend(&sipModuleAPI__core,ne_slot,sipType_wxPoint2DDouble,sipSelf,sipArg); +} + + +extern "C" {static PyObject *slot_wxPoint2DDouble___eq__(PyObject *,PyObject *);} +static PyObject *slot_wxPoint2DDouble___eq__(PyObject *sipSelf,PyObject *sipArg) +{ + wxPoint2DDouble *sipCpp = reinterpret_cast(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_wxPoint2DDouble)); + + if (!sipCpp) + return 0; + + PyObject *sipParseErr = NULL; + + { + const wxPoint2DDouble * pt; + + if (sipParseArgs(&sipParseErr, sipArg, "1J9", sipType_wxPoint2DDouble, &pt)) + { + bool sipRes; + + try + { + sipRes = sipCpp->wxPoint2DDouble::operator==(*pt); + } + catch (...) + { + sipRaiseUnknownException(); + return NULL; + } + + return PyBool_FromLong(sipRes); + } + } + + Py_XDECREF(sipParseErr); + + if (sipParseErr == Py_None) + return NULL; + + return sipPySlotExtend(&sipModuleAPI__core,eq_slot,sipType_wxPoint2DDouble,sipSelf,sipArg); +} + + +extern "C" {static PyObject *slot_wxPoint2DDouble___idiv__(PyObject *,PyObject *);} +static PyObject *slot_wxPoint2DDouble___idiv__(PyObject *sipSelf,PyObject *sipArg) +{ + if (!PyObject_TypeCheck(sipSelf, sipTypeAsPyTypeObject(sipType_wxPoint2DDouble))) + { + Py_INCREF(Py_NotImplemented); + return Py_NotImplemented; + } + + wxPoint2DDouble *sipCpp = reinterpret_cast(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_wxPoint2DDouble)); + + if (!sipCpp) + return 0; + + PyObject *sipParseErr = NULL; + + { + const wxPoint2DDouble * pt; + + if (sipParseArgs(&sipParseErr, sipArg, "1J9", sipType_wxPoint2DDouble, &pt)) + { + try + { + sipCpp->wxPoint2DDouble::operator/=(*pt); + } + catch (...) + { + sipRaiseUnknownException(); + return NULL; + } + + Py_INCREF(sipSelf); + return sipSelf; + } + } + + Py_XDECREF(sipParseErr); + + if (sipParseErr == Py_None) + return NULL; + + PyErr_Clear(); + + Py_INCREF(Py_NotImplemented); + return Py_NotImplemented; +} + + +extern "C" {static PyObject *slot_wxPoint2DDouble___imul__(PyObject *,PyObject *);} +static PyObject *slot_wxPoint2DDouble___imul__(PyObject *sipSelf,PyObject *sipArg) +{ + if (!PyObject_TypeCheck(sipSelf, sipTypeAsPyTypeObject(sipType_wxPoint2DDouble))) + { + Py_INCREF(Py_NotImplemented); + return Py_NotImplemented; + } + + wxPoint2DDouble *sipCpp = reinterpret_cast(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_wxPoint2DDouble)); + + if (!sipCpp) + return 0; + + PyObject *sipParseErr = NULL; + + { + const wxPoint2DDouble * pt; + + if (sipParseArgs(&sipParseErr, sipArg, "1J9", sipType_wxPoint2DDouble, &pt)) + { + try + { + sipCpp->wxPoint2DDouble::operator*=(*pt); + } + catch (...) + { + sipRaiseUnknownException(); + return NULL; + } + + Py_INCREF(sipSelf); + return sipSelf; + } + } + + Py_XDECREF(sipParseErr); + + if (sipParseErr == Py_None) + return NULL; + + PyErr_Clear(); + + Py_INCREF(Py_NotImplemented); + return Py_NotImplemented; +} + + +extern "C" {static PyObject *slot_wxPoint2DDouble___isub__(PyObject *,PyObject *);} +static PyObject *slot_wxPoint2DDouble___isub__(PyObject *sipSelf,PyObject *sipArg) +{ + if (!PyObject_TypeCheck(sipSelf, sipTypeAsPyTypeObject(sipType_wxPoint2DDouble))) + { + Py_INCREF(Py_NotImplemented); + return Py_NotImplemented; + } + + wxPoint2DDouble *sipCpp = reinterpret_cast(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_wxPoint2DDouble)); + + if (!sipCpp) + return 0; + + PyObject *sipParseErr = NULL; + + { + const wxPoint2DDouble * pt; + + if (sipParseArgs(&sipParseErr, sipArg, "1J9", sipType_wxPoint2DDouble, &pt)) + { + try + { + sipCpp->wxPoint2DDouble::operator-=(*pt); + } + catch (...) + { + sipRaiseUnknownException(); + return NULL; + } + + Py_INCREF(sipSelf); + return sipSelf; + } + } + + Py_XDECREF(sipParseErr); + + if (sipParseErr == Py_None) + return NULL; + + PyErr_Clear(); + + Py_INCREF(Py_NotImplemented); + return Py_NotImplemented; +} + + +extern "C" {static PyObject *slot_wxPoint2DDouble___iadd__(PyObject *,PyObject *);} +static PyObject *slot_wxPoint2DDouble___iadd__(PyObject *sipSelf,PyObject *sipArg) +{ + if (!PyObject_TypeCheck(sipSelf, sipTypeAsPyTypeObject(sipType_wxPoint2DDouble))) + { + Py_INCREF(Py_NotImplemented); + return Py_NotImplemented; + } + + wxPoint2DDouble *sipCpp = reinterpret_cast(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_wxPoint2DDouble)); + + if (!sipCpp) + return 0; + + PyObject *sipParseErr = NULL; + + { + const wxPoint2DDouble * pt; + + if (sipParseArgs(&sipParseErr, sipArg, "1J9", sipType_wxPoint2DDouble, &pt)) + { + try + { + sipCpp->wxPoint2DDouble::operator+=(*pt); + } + catch (...) + { + sipRaiseUnknownException(); + return NULL; + } + + Py_INCREF(sipSelf); + return sipSelf; + } + } + + Py_XDECREF(sipParseErr); + + if (sipParseErr == Py_None) + return NULL; + + PyErr_Clear(); + + Py_INCREF(Py_NotImplemented); + return Py_NotImplemented; +} + + +extern "C" {static PyObject *slot_wxPoint2DDouble___neg__(PyObject *);} +static PyObject *slot_wxPoint2DDouble___neg__(PyObject *sipSelf) +{ + wxPoint2DDouble *sipCpp = reinterpret_cast(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_wxPoint2DDouble)); + + if (!sipCpp) + return 0; + + + { + { + wxPoint2DDouble *sipRes; + + try + { + sipRes = new wxPoint2DDouble(-(*sipCpp)); + } + catch (...) + { + sipRaiseUnknownException(); + return NULL; + } + + return sipConvertFromNewType(sipRes,sipType_wxPoint2DDouble,NULL); + } + } +} + + +/* Cast a pointer to a type somewhere in its superclass hierarchy. */ +extern "C" {static void *cast_wxPoint2DDouble(void *, const sipTypeDef *);} +static void *cast_wxPoint2DDouble(void *ptr, const sipTypeDef *targetType) +{ + if (targetType == sipType_wxPoint2DDouble) + return ptr; + + return NULL; +} + + +/* Call the instance's destructor. */ +extern "C" {static void release_wxPoint2DDouble(void *, int);} +static void release_wxPoint2DDouble(void *sipCppV,int) +{ + delete reinterpret_cast(sipCppV); +} + + +extern "C" {static void assign_wxPoint2DDouble(void *, SIP_SSIZE_T, const void *);} +static void assign_wxPoint2DDouble(void *sipDst, SIP_SSIZE_T sipDstIdx, const void *sipSrc) +{ + reinterpret_cast(sipDst)[sipDstIdx] = *reinterpret_cast(sipSrc); +} + + +extern "C" {static void *array_wxPoint2DDouble(SIP_SSIZE_T);} +static void *array_wxPoint2DDouble(SIP_SSIZE_T sipNrElem) +{ + return new wxPoint2DDouble[sipNrElem]; +} + + +extern "C" {static void *copy_wxPoint2DDouble(const void *, SIP_SSIZE_T);} +static void *copy_wxPoint2DDouble(const void *sipSrc, SIP_SSIZE_T sipSrcIdx) +{ + return new wxPoint2DDouble(reinterpret_cast(sipSrc)[sipSrcIdx]); +} + + +extern "C" {static void dealloc_wxPoint2DDouble(sipSimpleWrapper *);} +static void dealloc_wxPoint2DDouble(sipSimpleWrapper *sipSelf) +{ + if (sipIsPyOwned(sipSelf)) + { + release_wxPoint2DDouble(sipGetAddress(sipSelf),0); + } +} + + +extern "C" {static void *init_wxPoint2DDouble(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);} +static void *init_wxPoint2DDouble(sipSimpleWrapper *, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **, PyObject **sipParseErr) +{ + wxPoint2DDouble *sipCpp = 0; + + { + if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "")) + { + try + { + sipCpp = new wxPoint2DDouble(); + } + catch (...) + { + sipRaiseUnknownException(); + return NULL; + } + + return sipCpp; + } + } + + { + wxDouble x; + wxDouble y; + + static const char *sipKwdList[] = { + sipName_x, + sipName_y, + }; + + if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, sipKwdList, sipUnused, "dd", &x, &y)) + { + try + { + sipCpp = new wxPoint2DDouble(x,y); + } + catch (...) + { + sipRaiseUnknownException(); + return NULL; + } + + return sipCpp; + } + } + + { + const wxPoint2DDouble * pt; + + static const char *sipKwdList[] = { + sipName_pt, + }; + + if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, sipKwdList, sipUnused, "J9", sipType_wxPoint2DDouble, &pt)) + { + try + { + sipCpp = new wxPoint2DDouble(*pt); + } + catch (...) + { + sipRaiseUnknownException(); + return NULL; + } + + return sipCpp; + } + } + + { + const wxPoint * pt; + int ptState = 0; + + static const char *sipKwdList[] = { + sipName_pt, + }; + + if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, sipKwdList, sipUnused, "J1", sipType_wxPoint, &pt, &ptState)) + { + try + { + sipCpp = new wxPoint2DDouble(*pt); + } + catch (...) + { + sipReleaseType(const_cast(pt),sipType_wxPoint,ptState); + sipRaiseUnknownException(); + return NULL; + } + sipReleaseType(const_cast(pt),sipType_wxPoint,ptState); + + return sipCpp; + } + } + + return NULL; +} + + +/* Define this type's Python slots. */ +static sipPySlotDef slots_wxPoint2DDouble[] = { + {(void *)slot_wxPoint2DDouble___add__, add_slot}, + {(void *)slot_wxPoint2DDouble___sub__, sub_slot}, + {(void *)slot_wxPoint2DDouble___mul__, mul_slot}, + {(void *)slot_wxPoint2DDouble___div__, div_slot}, + {(void *)slot_wxPoint2DDouble___ne__, ne_slot}, + {(void *)slot_wxPoint2DDouble___eq__, eq_slot}, + {(void *)slot_wxPoint2DDouble___idiv__, idiv_slot}, + {(void *)slot_wxPoint2DDouble___imul__, imul_slot}, + {(void *)slot_wxPoint2DDouble___isub__, isub_slot}, + {(void *)slot_wxPoint2DDouble___iadd__, iadd_slot}, + {(void *)slot_wxPoint2DDouble___neg__, neg_slot}, + {0, (sipPySlotType)0} +}; + + +static PyMethodDef methods_wxPoint2DDouble[] = { + {SIP_MLNAME_CAST(sipName_GetCrossProduct), (PyCFunction)meth_wxPoint2DDouble_GetCrossProduct, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_wxPoint2DDouble_GetCrossProduct)}, + {SIP_MLNAME_CAST(sipName_GetDistance), (PyCFunction)meth_wxPoint2DDouble_GetDistance, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_wxPoint2DDouble_GetDistance)}, + {SIP_MLNAME_CAST(sipName_GetDistanceSquare), (PyCFunction)meth_wxPoint2DDouble_GetDistanceSquare, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_wxPoint2DDouble_GetDistanceSquare)}, + {SIP_MLNAME_CAST(sipName_GetDotProduct), (PyCFunction)meth_wxPoint2DDouble_GetDotProduct, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_wxPoint2DDouble_GetDotProduct)}, + {SIP_MLNAME_CAST(sipName_GetFloor), (PyCFunction)meth_wxPoint2DDouble_GetFloor, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_wxPoint2DDouble_GetFloor)}, + {SIP_MLNAME_CAST(sipName_GetRounded), (PyCFunction)meth_wxPoint2DDouble_GetRounded, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_wxPoint2DDouble_GetRounded)}, + {SIP_MLNAME_CAST(sipName_GetVectorAngle), meth_wxPoint2DDouble_GetVectorAngle, METH_VARARGS, SIP_MLDOC_CAST(doc_wxPoint2DDouble_GetVectorAngle)}, + {SIP_MLNAME_CAST(sipName_GetVectorLength), meth_wxPoint2DDouble_GetVectorLength, METH_VARARGS, SIP_MLDOC_CAST(doc_wxPoint2DDouble_GetVectorLength)}, + {SIP_MLNAME_CAST(sipName_Normalize), meth_wxPoint2DDouble_Normalize, METH_VARARGS, SIP_MLDOC_CAST(doc_wxPoint2DDouble_Normalize)}, + {SIP_MLNAME_CAST(sipName_SetVectorAngle), (PyCFunction)meth_wxPoint2DDouble_SetVectorAngle, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_wxPoint2DDouble_SetVectorAngle)}, + {SIP_MLNAME_CAST(sipName_SetVectorLength), (PyCFunction)meth_wxPoint2DDouble_SetVectorLength, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_wxPoint2DDouble_SetVectorLength)} +}; + + +extern "C" {static PyObject *varget_wxPoint2DDouble_m_x(void *, PyObject *);} +static PyObject *varget_wxPoint2DDouble_m_x(void *sipSelf, PyObject *) +{ + wxDouble sipVal; + wxPoint2DDouble *sipCpp = reinterpret_cast(sipSelf); + + sipVal = sipCpp->m_x; + + return PyFloat_FromDouble(sipVal); +} + + +extern "C" {static int varset_wxPoint2DDouble_m_x(void *, PyObject *, PyObject *);} +static int varset_wxPoint2DDouble_m_x(void *sipSelf, PyObject *sipPy, PyObject *) +{ + wxDouble sipVal; + wxPoint2DDouble *sipCpp = reinterpret_cast(sipSelf); + + sipVal = PyFloat_AsDouble(sipPy); + + if (PyErr_Occurred() != NULL) + return -1; + + sipCpp->m_x = sipVal; + + return 0; +} + + +extern "C" {static PyObject *varget_wxPoint2DDouble_m_y(void *, PyObject *);} +static PyObject *varget_wxPoint2DDouble_m_y(void *sipSelf, PyObject *) +{ + wxDouble sipVal; + wxPoint2DDouble *sipCpp = reinterpret_cast(sipSelf); + + sipVal = sipCpp->m_y; + + return PyFloat_FromDouble(sipVal); +} + + +extern "C" {static int varset_wxPoint2DDouble_m_y(void *, PyObject *, PyObject *);} +static int varset_wxPoint2DDouble_m_y(void *sipSelf, PyObject *sipPy, PyObject *) +{ + wxDouble sipVal; + wxPoint2DDouble *sipCpp = reinterpret_cast(sipSelf); + + sipVal = PyFloat_AsDouble(sipPy); + + if (PyErr_Occurred() != NULL) + return -1; + + sipCpp->m_y = sipVal; + + return 0; +} + +sipVariableDef variables_wxPoint2DDouble[] = { + {InstanceVariable, sipName_x, (PyMethodDef *)varget_wxPoint2DDouble_m_x, (PyMethodDef *)varset_wxPoint2DDouble_m_x, NULL, NULL}, + {InstanceVariable, sipName_y, (PyMethodDef *)varget_wxPoint2DDouble_m_y, (PyMethodDef *)varset_wxPoint2DDouble_m_y, NULL, NULL}, +}; + +PyDoc_STRVAR(doc_wxPoint2DDouble, "\1Point2D()\n" + "Point2D(float, float)\n" + "Point2D(Point2D)\n" + "Point2D(Point)"); + + +sipClassTypeDef sipTypeDef__core_wxPoint2DDouble = { + { + -1, + 0, + 0, + SIP_TYPE_CLASS, + sipNameNr_wxPoint2DDouble, + {0} + }, + { + sipNameNr_Point2D, + {0, 0, 1}, + 11, methods_wxPoint2DDouble, + 0, 0, + 2, variables_wxPoint2DDouble, + {0, 0, 0, 0, 0, 0, 0, 0, 0, 0}, + }, + doc_wxPoint2DDouble, + -1, + -1, + 0, + slots_wxPoint2DDouble, + init_wxPoint2DDouble, + 0, + 0, +#if PY_MAJOR_VERSION >= 3 + 0, + 0, +#else + 0, + 0, + 0, + 0, +#endif + dealloc_wxPoint2DDouble, + assign_wxPoint2DDouble, + array_wxPoint2DDouble, + copy_wxPoint2DDouble, + release_wxPoint2DDouble, + cast_wxPoint2DDouble, + 0, + 0, + 0 +}; diff --git a/sip/cpp/sip_corewxRealPoint.cpp b/sip/cpp/sip_corewxRealPoint.cpp new file mode 100644 index 00000000..b25c09cc --- /dev/null +++ b/sip/cpp/sip_corewxRealPoint.cpp @@ -0,0 +1,677 @@ +/* + * Interface wrapper code. + * + * Generated by SIP 4.12-snapshot-eac351f5cca7 on Wed Nov 10 15:32:07 2010 + * + * Copyright: (c) 2010 by Total Control Software + * Licence: wxWindows license + */ + +#include "sipAPI_core.h" + +#line 404 "sip/gen/gdicmn.sip" + #include +#line 15 "sip_corewxRealPoint.cpp" + +#line 22 "sip/gen/gdicmn.sip" + #include +#line 19 "sip_corewxRealPoint.cpp" +#line 119 "sip/gen/gdicmn.sip" + #include +#line 22 "sip_corewxRealPoint.cpp" + + +extern "C" {static PyObject *slot_wxRealPoint___eq__(PyObject *,PyObject *);} +static PyObject *slot_wxRealPoint___eq__(PyObject *sipSelf,PyObject *sipArg) +{ + wxRealPoint *sipCpp = reinterpret_cast(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_wxRealPoint)); + + if (!sipCpp) + return 0; + + PyObject *sipParseErr = NULL; + + { + const wxRealPoint * p2; + + if (sipParseArgs(&sipParseErr, sipArg, "1J9", sipType_wxRealPoint, &p2)) + { + bool sipRes; + + try + { + sipRes = operator==((*sipCpp), *p2); + } + catch (...) + { + sipRaiseUnknownException(); + return NULL; + } + + return PyBool_FromLong(sipRes); + } + } + + Py_XDECREF(sipParseErr); + + if (sipParseErr == Py_None) + return NULL; + + return sipPySlotExtend(&sipModuleAPI__core,eq_slot,sipType_wxRealPoint,sipSelf,sipArg); +} + + +extern "C" {static PyObject *slot_wxRealPoint___ne__(PyObject *,PyObject *);} +static PyObject *slot_wxRealPoint___ne__(PyObject *sipSelf,PyObject *sipArg) +{ + wxRealPoint *sipCpp = reinterpret_cast(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_wxRealPoint)); + + if (!sipCpp) + return 0; + + PyObject *sipParseErr = NULL; + + { + const wxRealPoint * p2; + + if (sipParseArgs(&sipParseErr, sipArg, "1J9", sipType_wxRealPoint, &p2)) + { + bool sipRes; + + try + { + sipRes = operator!=((*sipCpp), *p2); + } + catch (...) + { + sipRaiseUnknownException(); + return NULL; + } + + return PyBool_FromLong(sipRes); + } + } + + Py_XDECREF(sipParseErr); + + if (sipParseErr == Py_None) + return NULL; + + return sipPySlotExtend(&sipModuleAPI__core,ne_slot,sipType_wxRealPoint,sipSelf,sipArg); +} + + +extern "C" {static PyObject *slot_wxRealPoint___add__(PyObject *,PyObject *);} +static PyObject *slot_wxRealPoint___add__(PyObject *sipArg0,PyObject *sipArg1) +{ + PyObject *sipParseErr = NULL; + + { + const wxRealPoint * p1; + const wxRealPoint * p2; + + if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J9J9", sipType_wxRealPoint, &p1, sipType_wxRealPoint, &p2)) + { + wxRealPoint *sipRes; + + try + { + sipRes = new wxRealPoint((*p1 + *p2)); + } + catch (...) + { + sipRaiseUnknownException(); + return NULL; + } + + return sipConvertFromNewType(sipRes,sipType_wxRealPoint,NULL); + } + } + + Py_XDECREF(sipParseErr); + + if (sipParseErr == Py_None) + return NULL; + + return sipPySlotExtend(&sipModuleAPI__core,add_slot,NULL,sipArg0,sipArg1); +} + + +extern "C" {static PyObject *slot_wxRealPoint___sub__(PyObject *,PyObject *);} +static PyObject *slot_wxRealPoint___sub__(PyObject *sipArg0,PyObject *sipArg1) +{ + PyObject *sipParseErr = NULL; + + { + const wxRealPoint * p1; + const wxRealPoint * p2; + + if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J9J9", sipType_wxRealPoint, &p1, sipType_wxRealPoint, &p2)) + { + wxRealPoint *sipRes; + + try + { + sipRes = new wxRealPoint((*p1 - *p2)); + } + catch (...) + { + sipRaiseUnknownException(); + return NULL; + } + + return sipConvertFromNewType(sipRes,sipType_wxRealPoint,NULL); + } + } + + Py_XDECREF(sipParseErr); + + if (sipParseErr == Py_None) + return NULL; + + return sipPySlotExtend(&sipModuleAPI__core,sub_slot,NULL,sipArg0,sipArg1); +} + + +extern "C" {static PyObject *slot_wxRealPoint___mul__(PyObject *,PyObject *);} +static PyObject *slot_wxRealPoint___mul__(PyObject *sipArg0,PyObject *sipArg1) +{ + PyObject *sipParseErr = NULL; + + { + const wxRealPoint * s; + double i; + + if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J9d", sipType_wxRealPoint, &s, &i)) + { + wxRealPoint *sipRes; + + try + { + sipRes = new wxRealPoint((*s * i)); + } + catch (...) + { + sipRaiseUnknownException(); + return NULL; + } + + return sipConvertFromNewType(sipRes,sipType_wxRealPoint,NULL); + } + } + + { + double i; + const wxRealPoint * s; + + if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "dJ9", &i, sipType_wxRealPoint, &s)) + { + wxRealPoint *sipRes; + + try + { + sipRes = new wxRealPoint((i * *s)); + } + catch (...) + { + sipRaiseUnknownException(); + return NULL; + } + + return sipConvertFromNewType(sipRes,sipType_wxRealPoint,NULL); + } + } + + Py_XDECREF(sipParseErr); + + if (sipParseErr == Py_None) + return NULL; + + return sipPySlotExtend(&sipModuleAPI__core,mul_slot,NULL,sipArg0,sipArg1); +} + + +extern "C" {static PyObject *slot_wxRealPoint___div__(PyObject *,PyObject *);} +static PyObject *slot_wxRealPoint___div__(PyObject *sipArg0,PyObject *sipArg1) +{ + PyObject *sipParseErr = NULL; + + { + const wxRealPoint * s; + int i; + + if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J9i", sipType_wxRealPoint, &s, &i)) + { + wxRealPoint *sipRes; + + try + { + sipRes = new wxRealPoint((*s / i)); + } + catch (...) + { + sipRaiseUnknownException(); + return NULL; + } + + return sipConvertFromNewType(sipRes,sipType_wxRealPoint,NULL); + } + } + + Py_XDECREF(sipParseErr); + + if (sipParseErr == Py_None) + return NULL; + + return sipPySlotExtend(&sipModuleAPI__core,div_slot,NULL,sipArg0,sipArg1); +} + + +extern "C" {static PyObject *slot_wxRealPoint___isub__(PyObject *,PyObject *);} +static PyObject *slot_wxRealPoint___isub__(PyObject *sipSelf,PyObject *sipArg) +{ + if (!PyObject_TypeCheck(sipSelf, sipTypeAsPyTypeObject(sipType_wxRealPoint))) + { + Py_INCREF(Py_NotImplemented); + return Py_NotImplemented; + } + + wxRealPoint *sipCpp = reinterpret_cast(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_wxRealPoint)); + + if (!sipCpp) + return 0; + + PyObject *sipParseErr = NULL; + + { + const wxRealPoint * pt; + + if (sipParseArgs(&sipParseErr, sipArg, "1J9", sipType_wxRealPoint, &pt)) + { + try + { + sipCpp->wxRealPoint::operator-=(*pt); + } + catch (...) + { + sipRaiseUnknownException(); + return NULL; + } + + Py_INCREF(sipSelf); + return sipSelf; + } + } + + { + const wxSize * sz; + + if (sipParseArgs(&sipParseErr, sipArg, "1J9", sipType_wxSize, &sz)) + { + try + { + sipCpp->wxRealPoint::operator-=(*sz); + } + catch (...) + { + sipRaiseUnknownException(); + return NULL; + } + + Py_INCREF(sipSelf); + return sipSelf; + } + } + + Py_XDECREF(sipParseErr); + + if (sipParseErr == Py_None) + return NULL; + + PyErr_Clear(); + + Py_INCREF(Py_NotImplemented); + return Py_NotImplemented; +} + + +extern "C" {static PyObject *slot_wxRealPoint___iadd__(PyObject *,PyObject *);} +static PyObject *slot_wxRealPoint___iadd__(PyObject *sipSelf,PyObject *sipArg) +{ + if (!PyObject_TypeCheck(sipSelf, sipTypeAsPyTypeObject(sipType_wxRealPoint))) + { + Py_INCREF(Py_NotImplemented); + return Py_NotImplemented; + } + + wxRealPoint *sipCpp = reinterpret_cast(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_wxRealPoint)); + + if (!sipCpp) + return 0; + + PyObject *sipParseErr = NULL; + + { + const wxRealPoint * pt; + + if (sipParseArgs(&sipParseErr, sipArg, "1J9", sipType_wxRealPoint, &pt)) + { + try + { + sipCpp->wxRealPoint::operator+=(*pt); + } + catch (...) + { + sipRaiseUnknownException(); + return NULL; + } + + Py_INCREF(sipSelf); + return sipSelf; + } + } + + { + const wxSize * sz; + + if (sipParseArgs(&sipParseErr, sipArg, "1J9", sipType_wxSize, &sz)) + { + try + { + sipCpp->wxRealPoint::operator+=(*sz); + } + catch (...) + { + sipRaiseUnknownException(); + return NULL; + } + + Py_INCREF(sipSelf); + return sipSelf; + } + } + + Py_XDECREF(sipParseErr); + + if (sipParseErr == Py_None) + return NULL; + + PyErr_Clear(); + + Py_INCREF(Py_NotImplemented); + return Py_NotImplemented; +} + + +/* Cast a pointer to a type somewhere in its superclass hierarchy. */ +extern "C" {static void *cast_wxRealPoint(void *, const sipTypeDef *);} +static void *cast_wxRealPoint(void *ptr, const sipTypeDef *targetType) +{ + if (targetType == sipType_wxRealPoint) + return ptr; + + return NULL; +} + + +/* Call the instance's destructor. */ +extern "C" {static void release_wxRealPoint(void *, int);} +static void release_wxRealPoint(void *sipCppV,int) +{ + delete reinterpret_cast(sipCppV); +} + + +extern "C" {static void assign_wxRealPoint(void *, SIP_SSIZE_T, const void *);} +static void assign_wxRealPoint(void *sipDst, SIP_SSIZE_T sipDstIdx, const void *sipSrc) +{ + reinterpret_cast(sipDst)[sipDstIdx] = *reinterpret_cast(sipSrc); +} + + +extern "C" {static void *array_wxRealPoint(SIP_SSIZE_T);} +static void *array_wxRealPoint(SIP_SSIZE_T sipNrElem) +{ + return new wxRealPoint[sipNrElem]; +} + + +extern "C" {static void *copy_wxRealPoint(const void *, SIP_SSIZE_T);} +static void *copy_wxRealPoint(const void *sipSrc, SIP_SSIZE_T sipSrcIdx) +{ + return new wxRealPoint(reinterpret_cast(sipSrc)[sipSrcIdx]); +} + + +extern "C" {static void dealloc_wxRealPoint(sipSimpleWrapper *);} +static void dealloc_wxRealPoint(sipSimpleWrapper *sipSelf) +{ + if (sipIsPyOwned(sipSelf)) + { + release_wxRealPoint(sipGetAddress(sipSelf),0); + } +} + + +extern "C" {static void *init_wxRealPoint(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);} +static void *init_wxRealPoint(sipSimpleWrapper *, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **, PyObject **sipParseErr) +{ + wxRealPoint *sipCpp = 0; + + { + if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "")) + { + try + { + sipCpp = new wxRealPoint(); + } + catch (...) + { + sipRaiseUnknownException(); + return NULL; + } + + return sipCpp; + } + } + + { + double x; + double y; + + static const char *sipKwdList[] = { + sipName_x, + sipName_y, + }; + + if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, sipKwdList, sipUnused, "dd", &x, &y)) + { + try + { + sipCpp = new wxRealPoint(x,y); + } + catch (...) + { + sipRaiseUnknownException(); + return NULL; + } + + return sipCpp; + } + } + + { + const wxPoint * pt; + int ptState = 0; + + static const char *sipKwdList[] = { + sipName_pt, + }; + + if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, sipKwdList, sipUnused, "J1", sipType_wxPoint, &pt, &ptState)) + { + try + { + sipCpp = new wxRealPoint(*pt); + } + catch (...) + { + sipReleaseType(const_cast(pt),sipType_wxPoint,ptState); + sipRaiseUnknownException(); + return NULL; + } + sipReleaseType(const_cast(pt),sipType_wxPoint,ptState); + + return sipCpp; + } + } + + { + const wxRealPoint * a0; + + if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J9", sipType_wxRealPoint, &a0)) + { + try + { + sipCpp = new wxRealPoint(*a0); + } + catch (...) + { + sipRaiseUnknownException(); + return NULL; + } + + return sipCpp; + } + } + + return NULL; +} + + +/* Define this type's Python slots. */ +static sipPySlotDef slots_wxRealPoint[] = { + {(void *)slot_wxRealPoint___eq__, eq_slot}, + {(void *)slot_wxRealPoint___ne__, ne_slot}, + {(void *)slot_wxRealPoint___add__, add_slot}, + {(void *)slot_wxRealPoint___sub__, sub_slot}, + {(void *)slot_wxRealPoint___mul__, mul_slot}, + {(void *)slot_wxRealPoint___div__, div_slot}, + {(void *)slot_wxRealPoint___isub__, isub_slot}, + {(void *)slot_wxRealPoint___iadd__, iadd_slot}, + {0, (sipPySlotType)0} +}; + + +extern "C" {static PyObject *varget_wxRealPoint_x(void *, PyObject *);} +static PyObject *varget_wxRealPoint_x(void *sipSelf, PyObject *) +{ + double sipVal; + wxRealPoint *sipCpp = reinterpret_cast(sipSelf); + + sipVal = sipCpp->x; + + return PyFloat_FromDouble(sipVal); +} + + +extern "C" {static int varset_wxRealPoint_x(void *, PyObject *, PyObject *);} +static int varset_wxRealPoint_x(void *sipSelf, PyObject *sipPy, PyObject *) +{ + double sipVal; + wxRealPoint *sipCpp = reinterpret_cast(sipSelf); + + sipVal = PyFloat_AsDouble(sipPy); + + if (PyErr_Occurred() != NULL) + return -1; + + sipCpp->x = sipVal; + + return 0; +} + + +extern "C" {static PyObject *varget_wxRealPoint_y(void *, PyObject *);} +static PyObject *varget_wxRealPoint_y(void *sipSelf, PyObject *) +{ + double sipVal; + wxRealPoint *sipCpp = reinterpret_cast(sipSelf); + + sipVal = sipCpp->y; + + return PyFloat_FromDouble(sipVal); +} + + +extern "C" {static int varset_wxRealPoint_y(void *, PyObject *, PyObject *);} +static int varset_wxRealPoint_y(void *sipSelf, PyObject *sipPy, PyObject *) +{ + double sipVal; + wxRealPoint *sipCpp = reinterpret_cast(sipSelf); + + sipVal = PyFloat_AsDouble(sipPy); + + if (PyErr_Occurred() != NULL) + return -1; + + sipCpp->y = sipVal; + + return 0; +} + +sipVariableDef variables_wxRealPoint[] = { + {InstanceVariable, sipName_x, (PyMethodDef *)varget_wxRealPoint_x, (PyMethodDef *)varset_wxRealPoint_x, NULL, NULL}, + {InstanceVariable, sipName_y, (PyMethodDef *)varget_wxRealPoint_y, (PyMethodDef *)varset_wxRealPoint_y, NULL, NULL}, +}; + +PyDoc_STRVAR(doc_wxRealPoint, "\1RealPoint()\n" + "RealPoint(float, float)\n" + "RealPoint(Point)\n" + "RealPoint(RealPoint)"); + + +sipClassTypeDef sipTypeDef__core_wxRealPoint = { + { + -1, + 0, + 0, + SIP_TYPE_CLASS, + sipNameNr_wxRealPoint, + {0} + }, + { + sipNameNr_RealPoint, + {0, 0, 1}, + 0, 0, + 0, 0, + 2, variables_wxRealPoint, + {0, 0, 0, 0, 0, 0, 0, 0, 0, 0}, + }, + doc_wxRealPoint, + -1, + -1, + 0, + slots_wxRealPoint, + init_wxRealPoint, + 0, + 0, +#if PY_MAJOR_VERSION >= 3 + 0, + 0, +#else + 0, + 0, + 0, + 0, +#endif + dealloc_wxRealPoint, + assign_wxRealPoint, + array_wxRealPoint, + copy_wxRealPoint, + release_wxRealPoint, + cast_wxRealPoint, + 0, + 0, + 0 +}; diff --git a/sip/cpp/sip_corewxRect.cpp b/sip/cpp/sip_corewxRect.cpp new file mode 100644 index 00000000..1e6c392c --- /dev/null +++ b/sip/cpp/sip_corewxRect.cpp @@ -0,0 +1,1981 @@ +/* + * Interface wrapper code. + * + * Generated by SIP 4.12-snapshot-eac351f5cca7 on Wed Nov 10 15:32:07 2010 + * + * Copyright: (c) 2010 by Total Control Software + * Licence: wxWindows license + */ + +#include "sipAPI_core.h" + +#line 233 "sip/gen/gdicmn.sip" + #include +#line 15 "sip_corewxRect.cpp" + +#line 22 "sip/gen/gdicmn.sip" + #include +#line 19 "sip_corewxRect.cpp" +#line 119 "sip/gen/gdicmn.sip" + #include +#line 22 "sip_corewxRect.cpp" + + +PyDoc_STRVAR(doc_wxRect_CentreIn, "Rect.CentreIn(Rect, int dir=wxBOTH) -> Rect"); + +extern "C" {static PyObject *meth_wxRect_CentreIn(PyObject *, PyObject *, PyObject *);} +static PyObject *meth_wxRect_CentreIn(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds) +{ + PyObject *sipParseErr = NULL; + + { + const wxRect * r; + int dir = wxBOTH; + wxRect *sipCpp; + + static const char *sipKwdList[] = { + sipName_r, + sipName_dir, + }; + + if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "BJ9|i", &sipSelf, sipType_wxRect, &sipCpp, sipType_wxRect, &r, &dir)) + { + wxRect *sipRes; + + try + { + sipRes = new wxRect(sipCpp->CentreIn(*r,dir)); + } + catch (...) + { + sipRaiseUnknownException(); + return NULL; + } + + return sipConvertFromNewType(sipRes,sipType_wxRect,NULL); + } + } + + /* Raise an exception if the arguments couldn't be parsed. */ + sipNoMethod(sipParseErr, sipName_Rect, sipName_CentreIn, doc_wxRect_CentreIn); + + return NULL; +} + + +PyDoc_STRVAR(doc_wxRect_CenterIn, "Rect.CenterIn(Rect, int dir=wxBOTH) -> Rect"); + +extern "C" {static PyObject *meth_wxRect_CenterIn(PyObject *, PyObject *, PyObject *);} +static PyObject *meth_wxRect_CenterIn(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds) +{ + PyObject *sipParseErr = NULL; + + { + const wxRect * r; + int dir = wxBOTH; + wxRect *sipCpp; + + static const char *sipKwdList[] = { + sipName_r, + sipName_dir, + }; + + if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "BJ9|i", &sipSelf, sipType_wxRect, &sipCpp, sipType_wxRect, &r, &dir)) + { + wxRect *sipRes; + + try + { + sipRes = new wxRect(sipCpp->CenterIn(*r,dir)); + } + catch (...) + { + sipRaiseUnknownException(); + return NULL; + } + + return sipConvertFromNewType(sipRes,sipType_wxRect,NULL); + } + } + + /* Raise an exception if the arguments couldn't be parsed. */ + sipNoMethod(sipParseErr, sipName_Rect, sipName_CenterIn, doc_wxRect_CenterIn); + + return NULL; +} + + +PyDoc_STRVAR(doc_wxRect_Deflate, "Rect.Deflate(int, int) -> Rect\n" + "Rect.Deflate(Size) -> Rect\n" + "Rect.Deflate(int) -> Rect"); + +extern "C" {static PyObject *meth_wxRect_Deflate(PyObject *, PyObject *, PyObject *);} +static PyObject *meth_wxRect_Deflate(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds) +{ + PyObject *sipParseErr = NULL; + + { + wxCoord dx; + wxCoord dy; + wxRect *sipCpp; + + static const char *sipKwdList[] = { + sipName_dx, + sipName_dy, + }; + + if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "Bii", &sipSelf, sipType_wxRect, &sipCpp, &dx, &dy)) + { + wxRect *sipRes; + + try + { + sipRes = &sipCpp->Deflate(dx,dy); + } + catch (...) + { + sipRaiseUnknownException(); + return NULL; + } + + return sipConvertFromType(sipRes,sipType_wxRect,NULL); + } + } + + { + const wxSize * diff; + wxRect *sipCpp; + + static const char *sipKwdList[] = { + sipName_diff, + }; + + if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "BJ9", &sipSelf, sipType_wxRect, &sipCpp, sipType_wxSize, &diff)) + { + wxRect *sipRes; + + try + { + sipRes = &sipCpp->Deflate(*diff); + } + catch (...) + { + sipRaiseUnknownException(); + return NULL; + } + + return sipConvertFromType(sipRes,sipType_wxRect,NULL); + } + } + + { + wxCoord diff; + wxRect *sipCpp; + + static const char *sipKwdList[] = { + sipName_diff, + }; + + if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "Bi", &sipSelf, sipType_wxRect, &sipCpp, &diff)) + { + wxRect *sipRes; + + try + { + sipRes = &sipCpp->Deflate(diff); + } + catch (...) + { + sipRaiseUnknownException(); + return NULL; + } + + return sipConvertFromType(sipRes,sipType_wxRect,NULL); + } + } + + /* Raise an exception if the arguments couldn't be parsed. */ + sipNoMethod(sipParseErr, sipName_Rect, sipName_Deflate, doc_wxRect_Deflate); + + return NULL; +} + + +PyDoc_STRVAR(doc_wxRect_Inflate, "Rect.Inflate(int, int) -> Rect\n" + "Rect.Inflate(Size) -> Rect\n" + "Rect.Inflate(int) -> Rect"); + +extern "C" {static PyObject *meth_wxRect_Inflate(PyObject *, PyObject *, PyObject *);} +static PyObject *meth_wxRect_Inflate(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds) +{ + PyObject *sipParseErr = NULL; + + { + wxCoord dx; + wxCoord dy; + wxRect *sipCpp; + + static const char *sipKwdList[] = { + sipName_dx, + sipName_dy, + }; + + if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "Bii", &sipSelf, sipType_wxRect, &sipCpp, &dx, &dy)) + { + wxRect *sipRes; + + try + { + sipRes = &sipCpp->Inflate(dx,dy); + } + catch (...) + { + sipRaiseUnknownException(); + return NULL; + } + + return sipConvertFromType(sipRes,sipType_wxRect,NULL); + } + } + + { + const wxSize * diff; + wxRect *sipCpp; + + static const char *sipKwdList[] = { + sipName_diff, + }; + + if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "BJ9", &sipSelf, sipType_wxRect, &sipCpp, sipType_wxSize, &diff)) + { + wxRect *sipRes; + + try + { + sipRes = &sipCpp->Inflate(*diff); + } + catch (...) + { + sipRaiseUnknownException(); + return NULL; + } + + return sipConvertFromType(sipRes,sipType_wxRect,NULL); + } + } + + { + wxCoord diff; + wxRect *sipCpp; + + static const char *sipKwdList[] = { + sipName_diff, + }; + + if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "Bi", &sipSelf, sipType_wxRect, &sipCpp, &diff)) + { + wxRect *sipRes; + + try + { + sipRes = &sipCpp->Inflate(diff); + } + catch (...) + { + sipRaiseUnknownException(); + return NULL; + } + + return sipConvertFromType(sipRes,sipType_wxRect,NULL); + } + } + + /* Raise an exception if the arguments couldn't be parsed. */ + sipNoMethod(sipParseErr, sipName_Rect, sipName_Inflate, doc_wxRect_Inflate); + + return NULL; +} + + +PyDoc_STRVAR(doc_wxRect_Offset, "Rect.Offset(int, int)\n" + "Rect.Offset(Point)"); + +extern "C" {static PyObject *meth_wxRect_Offset(PyObject *, PyObject *, PyObject *);} +static PyObject *meth_wxRect_Offset(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds) +{ + PyObject *sipParseErr = NULL; + + { + wxCoord dx; + wxCoord dy; + wxRect *sipCpp; + + static const char *sipKwdList[] = { + sipName_dx, + sipName_dy, + }; + + if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "Bii", &sipSelf, sipType_wxRect, &sipCpp, &dx, &dy)) + { + try + { + sipCpp->Offset(dx,dy); + } + catch (...) + { + sipRaiseUnknownException(); + return NULL; + } + + Py_INCREF(Py_None); + return Py_None; + } + } + + { + const wxPoint * pt; + int ptState = 0; + wxRect *sipCpp; + + static const char *sipKwdList[] = { + sipName_pt, + }; + + if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "BJ1", &sipSelf, sipType_wxRect, &sipCpp, sipType_wxPoint, &pt, &ptState)) + { + try + { + sipCpp->Offset(*pt); + } + catch (...) + { + sipReleaseType(const_cast(pt),sipType_wxPoint,ptState); + sipRaiseUnknownException(); + return NULL; + } + sipReleaseType(const_cast(pt),sipType_wxPoint,ptState); + + Py_INCREF(Py_None); + return Py_None; + } + } + + /* Raise an exception if the arguments couldn't be parsed. */ + sipNoMethod(sipParseErr, sipName_Rect, sipName_Offset, doc_wxRect_Offset); + + return NULL; +} + + +PyDoc_STRVAR(doc_wxRect_Union, "Rect.Union(Rect) -> Rect"); + +extern "C" {static PyObject *meth_wxRect_Union(PyObject *, PyObject *, PyObject *);} +static PyObject *meth_wxRect_Union(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds) +{ + PyObject *sipParseErr = NULL; + + { + const wxRect * rect; + wxRect *sipCpp; + + static const char *sipKwdList[] = { + sipName_rect, + }; + + if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "BJ9", &sipSelf, sipType_wxRect, &sipCpp, sipType_wxRect, &rect)) + { + wxRect *sipRes; + + try + { + sipRes = &sipCpp->Union(*rect); + } + catch (...) + { + sipRaiseUnknownException(); + return NULL; + } + + return sipConvertFromType(sipRes,sipType_wxRect,NULL); + } + } + + /* Raise an exception if the arguments couldn't be parsed. */ + sipNoMethod(sipParseErr, sipName_Rect, sipName_Union, doc_wxRect_Union); + + return NULL; +} + + +PyDoc_STRVAR(doc_wxRect_Contains, "Rect.Contains(int, int) -> bool\n" + "Rect.Contains(Point) -> bool\n" + "Rect.Contains(Rect) -> bool"); + +extern "C" {static PyObject *meth_wxRect_Contains(PyObject *, PyObject *, PyObject *);} +static PyObject *meth_wxRect_Contains(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds) +{ + PyObject *sipParseErr = NULL; + + { + int x; + int y; + wxRect *sipCpp; + + static const char *sipKwdList[] = { + sipName_x, + sipName_y, + }; + + if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "Bii", &sipSelf, sipType_wxRect, &sipCpp, &x, &y)) + { + bool sipRes; + + try + { + sipRes = sipCpp->Contains(x,y); + } + catch (...) + { + sipRaiseUnknownException(); + return NULL; + } + + return PyBool_FromLong(sipRes); + } + } + + { + const wxPoint * pt; + int ptState = 0; + wxRect *sipCpp; + + static const char *sipKwdList[] = { + sipName_pt, + }; + + if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "BJ1", &sipSelf, sipType_wxRect, &sipCpp, sipType_wxPoint, &pt, &ptState)) + { + bool sipRes; + + try + { + sipRes = sipCpp->Contains(*pt); + } + catch (...) + { + sipReleaseType(const_cast(pt),sipType_wxPoint,ptState); + sipRaiseUnknownException(); + return NULL; + } + sipReleaseType(const_cast(pt),sipType_wxPoint,ptState); + + return PyBool_FromLong(sipRes); + } + } + + { + const wxRect * rect; + wxRect *sipCpp; + + static const char *sipKwdList[] = { + sipName_rect, + }; + + if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "BJ9", &sipSelf, sipType_wxRect, &sipCpp, sipType_wxRect, &rect)) + { + bool sipRes; + + try + { + sipRes = sipCpp->Contains(*rect); + } + catch (...) + { + sipRaiseUnknownException(); + return NULL; + } + + return PyBool_FromLong(sipRes); + } + } + + /* Raise an exception if the arguments couldn't be parsed. */ + sipNoMethod(sipParseErr, sipName_Rect, sipName_Contains, doc_wxRect_Contains); + + return NULL; +} + + +PyDoc_STRVAR(doc_wxRect_GetBottom, "Rect.GetBottom() -> int"); + +extern "C" {static PyObject *meth_wxRect_GetBottom(PyObject *, PyObject *);} +static PyObject *meth_wxRect_GetBottom(PyObject *sipSelf, PyObject *sipArgs) +{ + PyObject *sipParseErr = NULL; + + { + wxRect *sipCpp; + + if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_wxRect, &sipCpp)) + { + int sipRes; + + try + { + sipRes = sipCpp->GetBottom(); + } + catch (...) + { + sipRaiseUnknownException(); + return NULL; + } + + return SIPLong_FromLong(sipRes); + } + } + + /* Raise an exception if the arguments couldn't be parsed. */ + sipNoMethod(sipParseErr, sipName_Rect, sipName_GetBottom, doc_wxRect_GetBottom); + + return NULL; +} + + +PyDoc_STRVAR(doc_wxRect_GetBottomLeft, "Rect.GetBottomLeft() -> Point"); + +extern "C" {static PyObject *meth_wxRect_GetBottomLeft(PyObject *, PyObject *);} +static PyObject *meth_wxRect_GetBottomLeft(PyObject *sipSelf, PyObject *sipArgs) +{ + PyObject *sipParseErr = NULL; + + { + wxRect *sipCpp; + + if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_wxRect, &sipCpp)) + { + wxPoint *sipRes; + + try + { + sipRes = new wxPoint(sipCpp->GetBottomLeft()); + } + catch (...) + { + sipRaiseUnknownException(); + return NULL; + } + + return sipConvertFromNewType(sipRes,sipType_wxPoint,NULL); + } + } + + /* Raise an exception if the arguments couldn't be parsed. */ + sipNoMethod(sipParseErr, sipName_Rect, sipName_GetBottomLeft, doc_wxRect_GetBottomLeft); + + return NULL; +} + + +PyDoc_STRVAR(doc_wxRect_GetBottomRight, "Rect.GetBottomRight() -> Point"); + +extern "C" {static PyObject *meth_wxRect_GetBottomRight(PyObject *, PyObject *);} +static PyObject *meth_wxRect_GetBottomRight(PyObject *sipSelf, PyObject *sipArgs) +{ + PyObject *sipParseErr = NULL; + + { + wxRect *sipCpp; + + if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_wxRect, &sipCpp)) + { + wxPoint *sipRes; + + try + { + sipRes = new wxPoint(sipCpp->GetBottomRight()); + } + catch (...) + { + sipRaiseUnknownException(); + return NULL; + } + + return sipConvertFromNewType(sipRes,sipType_wxPoint,NULL); + } + } + + /* Raise an exception if the arguments couldn't be parsed. */ + sipNoMethod(sipParseErr, sipName_Rect, sipName_GetBottomRight, doc_wxRect_GetBottomRight); + + return NULL; +} + + +PyDoc_STRVAR(doc_wxRect_GetHeight, "Rect.GetHeight() -> int"); + +extern "C" {static PyObject *meth_wxRect_GetHeight(PyObject *, PyObject *);} +static PyObject *meth_wxRect_GetHeight(PyObject *sipSelf, PyObject *sipArgs) +{ + PyObject *sipParseErr = NULL; + + { + wxRect *sipCpp; + + if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_wxRect, &sipCpp)) + { + int sipRes; + + try + { + sipRes = sipCpp->GetHeight(); + } + catch (...) + { + sipRaiseUnknownException(); + return NULL; + } + + return SIPLong_FromLong(sipRes); + } + } + + /* Raise an exception if the arguments couldn't be parsed. */ + sipNoMethod(sipParseErr, sipName_Rect, sipName_GetHeight, doc_wxRect_GetHeight); + + return NULL; +} + + +PyDoc_STRVAR(doc_wxRect_GetLeft, "Rect.GetLeft() -> int"); + +extern "C" {static PyObject *meth_wxRect_GetLeft(PyObject *, PyObject *);} +static PyObject *meth_wxRect_GetLeft(PyObject *sipSelf, PyObject *sipArgs) +{ + PyObject *sipParseErr = NULL; + + { + wxRect *sipCpp; + + if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_wxRect, &sipCpp)) + { + int sipRes; + + try + { + sipRes = sipCpp->GetLeft(); + } + catch (...) + { + sipRaiseUnknownException(); + return NULL; + } + + return SIPLong_FromLong(sipRes); + } + } + + /* Raise an exception if the arguments couldn't be parsed. */ + sipNoMethod(sipParseErr, sipName_Rect, sipName_GetLeft, doc_wxRect_GetLeft); + + return NULL; +} + + +PyDoc_STRVAR(doc_wxRect_GetPosition, "Rect.GetPosition() -> Point"); + +extern "C" {static PyObject *meth_wxRect_GetPosition(PyObject *, PyObject *);} +static PyObject *meth_wxRect_GetPosition(PyObject *sipSelf, PyObject *sipArgs) +{ + PyObject *sipParseErr = NULL; + + { + wxRect *sipCpp; + + if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_wxRect, &sipCpp)) + { + wxPoint *sipRes; + + try + { + sipRes = new wxPoint(sipCpp->GetPosition()); + } + catch (...) + { + sipRaiseUnknownException(); + return NULL; + } + + return sipConvertFromNewType(sipRes,sipType_wxPoint,NULL); + } + } + + /* Raise an exception if the arguments couldn't be parsed. */ + sipNoMethod(sipParseErr, sipName_Rect, sipName_GetPosition, doc_wxRect_GetPosition); + + return NULL; +} + + +PyDoc_STRVAR(doc_wxRect_GetRight, "Rect.GetRight() -> int"); + +extern "C" {static PyObject *meth_wxRect_GetRight(PyObject *, PyObject *);} +static PyObject *meth_wxRect_GetRight(PyObject *sipSelf, PyObject *sipArgs) +{ + PyObject *sipParseErr = NULL; + + { + wxRect *sipCpp; + + if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_wxRect, &sipCpp)) + { + int sipRes; + + try + { + sipRes = sipCpp->GetRight(); + } + catch (...) + { + sipRaiseUnknownException(); + return NULL; + } + + return SIPLong_FromLong(sipRes); + } + } + + /* Raise an exception if the arguments couldn't be parsed. */ + sipNoMethod(sipParseErr, sipName_Rect, sipName_GetRight, doc_wxRect_GetRight); + + return NULL; +} + + +PyDoc_STRVAR(doc_wxRect_GetSize, "Rect.GetSize() -> Size"); + +extern "C" {static PyObject *meth_wxRect_GetSize(PyObject *, PyObject *);} +static PyObject *meth_wxRect_GetSize(PyObject *sipSelf, PyObject *sipArgs) +{ + PyObject *sipParseErr = NULL; + + { + wxRect *sipCpp; + + if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_wxRect, &sipCpp)) + { + wxSize *sipRes; + + try + { + sipRes = new wxSize(sipCpp->GetSize()); + } + catch (...) + { + sipRaiseUnknownException(); + return NULL; + } + + return sipConvertFromNewType(sipRes,sipType_wxSize,NULL); + } + } + + /* Raise an exception if the arguments couldn't be parsed. */ + sipNoMethod(sipParseErr, sipName_Rect, sipName_GetSize, doc_wxRect_GetSize); + + return NULL; +} + + +PyDoc_STRVAR(doc_wxRect_GetTop, "Rect.GetTop() -> int"); + +extern "C" {static PyObject *meth_wxRect_GetTop(PyObject *, PyObject *);} +static PyObject *meth_wxRect_GetTop(PyObject *sipSelf, PyObject *sipArgs) +{ + PyObject *sipParseErr = NULL; + + { + wxRect *sipCpp; + + if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_wxRect, &sipCpp)) + { + int sipRes; + + try + { + sipRes = sipCpp->GetTop(); + } + catch (...) + { + sipRaiseUnknownException(); + return NULL; + } + + return SIPLong_FromLong(sipRes); + } + } + + /* Raise an exception if the arguments couldn't be parsed. */ + sipNoMethod(sipParseErr, sipName_Rect, sipName_GetTop, doc_wxRect_GetTop); + + return NULL; +} + + +PyDoc_STRVAR(doc_wxRect_GetTopLeft, "Rect.GetTopLeft() -> Point"); + +extern "C" {static PyObject *meth_wxRect_GetTopLeft(PyObject *, PyObject *);} +static PyObject *meth_wxRect_GetTopLeft(PyObject *sipSelf, PyObject *sipArgs) +{ + PyObject *sipParseErr = NULL; + + { + wxRect *sipCpp; + + if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_wxRect, &sipCpp)) + { + wxPoint *sipRes; + + try + { + sipRes = new wxPoint(sipCpp->GetTopLeft()); + } + catch (...) + { + sipRaiseUnknownException(); + return NULL; + } + + return sipConvertFromNewType(sipRes,sipType_wxPoint,NULL); + } + } + + /* Raise an exception if the arguments couldn't be parsed. */ + sipNoMethod(sipParseErr, sipName_Rect, sipName_GetTopLeft, doc_wxRect_GetTopLeft); + + return NULL; +} + + +PyDoc_STRVAR(doc_wxRect_GetTopRight, "Rect.GetTopRight() -> Point"); + +extern "C" {static PyObject *meth_wxRect_GetTopRight(PyObject *, PyObject *);} +static PyObject *meth_wxRect_GetTopRight(PyObject *sipSelf, PyObject *sipArgs) +{ + PyObject *sipParseErr = NULL; + + { + wxRect *sipCpp; + + if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_wxRect, &sipCpp)) + { + wxPoint *sipRes; + + try + { + sipRes = new wxPoint(sipCpp->GetTopRight()); + } + catch (...) + { + sipRaiseUnknownException(); + return NULL; + } + + return sipConvertFromNewType(sipRes,sipType_wxPoint,NULL); + } + } + + /* Raise an exception if the arguments couldn't be parsed. */ + sipNoMethod(sipParseErr, sipName_Rect, sipName_GetTopRight, doc_wxRect_GetTopRight); + + return NULL; +} + + +PyDoc_STRVAR(doc_wxRect_GetWidth, "Rect.GetWidth() -> int"); + +extern "C" {static PyObject *meth_wxRect_GetWidth(PyObject *, PyObject *);} +static PyObject *meth_wxRect_GetWidth(PyObject *sipSelf, PyObject *sipArgs) +{ + PyObject *sipParseErr = NULL; + + { + wxRect *sipCpp; + + if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_wxRect, &sipCpp)) + { + int sipRes; + + try + { + sipRes = sipCpp->GetWidth(); + } + catch (...) + { + sipRaiseUnknownException(); + return NULL; + } + + return SIPLong_FromLong(sipRes); + } + } + + /* Raise an exception if the arguments couldn't be parsed. */ + sipNoMethod(sipParseErr, sipName_Rect, sipName_GetWidth, doc_wxRect_GetWidth); + + return NULL; +} + + +PyDoc_STRVAR(doc_wxRect_GetX, "Rect.GetX() -> int"); + +extern "C" {static PyObject *meth_wxRect_GetX(PyObject *, PyObject *);} +static PyObject *meth_wxRect_GetX(PyObject *sipSelf, PyObject *sipArgs) +{ + PyObject *sipParseErr = NULL; + + { + wxRect *sipCpp; + + if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_wxRect, &sipCpp)) + { + int sipRes; + + try + { + sipRes = sipCpp->GetX(); + } + catch (...) + { + sipRaiseUnknownException(); + return NULL; + } + + return SIPLong_FromLong(sipRes); + } + } + + /* Raise an exception if the arguments couldn't be parsed. */ + sipNoMethod(sipParseErr, sipName_Rect, sipName_GetX, doc_wxRect_GetX); + + return NULL; +} + + +PyDoc_STRVAR(doc_wxRect_GetY, "Rect.GetY() -> int"); + +extern "C" {static PyObject *meth_wxRect_GetY(PyObject *, PyObject *);} +static PyObject *meth_wxRect_GetY(PyObject *sipSelf, PyObject *sipArgs) +{ + PyObject *sipParseErr = NULL; + + { + wxRect *sipCpp; + + if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_wxRect, &sipCpp)) + { + int sipRes; + + try + { + sipRes = sipCpp->GetY(); + } + catch (...) + { + sipRaiseUnknownException(); + return NULL; + } + + return SIPLong_FromLong(sipRes); + } + } + + /* Raise an exception if the arguments couldn't be parsed. */ + sipNoMethod(sipParseErr, sipName_Rect, sipName_GetY, doc_wxRect_GetY); + + return NULL; +} + + +PyDoc_STRVAR(doc_wxRect_Intersect, "Rect.Intersect(Rect) -> Rect"); + +extern "C" {static PyObject *meth_wxRect_Intersect(PyObject *, PyObject *, PyObject *);} +static PyObject *meth_wxRect_Intersect(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds) +{ + PyObject *sipParseErr = NULL; + + { + const wxRect * rect; + wxRect *sipCpp; + + static const char *sipKwdList[] = { + sipName_rect, + }; + + if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "BJ9", &sipSelf, sipType_wxRect, &sipCpp, sipType_wxRect, &rect)) + { + wxRect *sipRes; + + try + { + sipRes = &sipCpp->Intersect(*rect); + } + catch (...) + { + sipRaiseUnknownException(); + return NULL; + } + + return sipConvertFromType(sipRes,sipType_wxRect,NULL); + } + } + + /* Raise an exception if the arguments couldn't be parsed. */ + sipNoMethod(sipParseErr, sipName_Rect, sipName_Intersect, doc_wxRect_Intersect); + + return NULL; +} + + +PyDoc_STRVAR(doc_wxRect_Intersects, "Rect.Intersects(Rect) -> bool"); + +extern "C" {static PyObject *meth_wxRect_Intersects(PyObject *, PyObject *, PyObject *);} +static PyObject *meth_wxRect_Intersects(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds) +{ + PyObject *sipParseErr = NULL; + + { + const wxRect * rect; + wxRect *sipCpp; + + static const char *sipKwdList[] = { + sipName_rect, + }; + + if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "BJ9", &sipSelf, sipType_wxRect, &sipCpp, sipType_wxRect, &rect)) + { + bool sipRes; + + try + { + sipRes = sipCpp->Intersects(*rect); + } + catch (...) + { + sipRaiseUnknownException(); + return NULL; + } + + return PyBool_FromLong(sipRes); + } + } + + /* Raise an exception if the arguments couldn't be parsed. */ + sipNoMethod(sipParseErr, sipName_Rect, sipName_Intersects, doc_wxRect_Intersects); + + return NULL; +} + + +PyDoc_STRVAR(doc_wxRect_IsEmpty, "Rect.IsEmpty() -> bool"); + +extern "C" {static PyObject *meth_wxRect_IsEmpty(PyObject *, PyObject *);} +static PyObject *meth_wxRect_IsEmpty(PyObject *sipSelf, PyObject *sipArgs) +{ + PyObject *sipParseErr = NULL; + + { + wxRect *sipCpp; + + if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_wxRect, &sipCpp)) + { + bool sipRes; + + try + { + sipRes = sipCpp->IsEmpty(); + } + catch (...) + { + sipRaiseUnknownException(); + return NULL; + } + + return PyBool_FromLong(sipRes); + } + } + + /* Raise an exception if the arguments couldn't be parsed. */ + sipNoMethod(sipParseErr, sipName_Rect, sipName_IsEmpty, doc_wxRect_IsEmpty); + + return NULL; +} + + +PyDoc_STRVAR(doc_wxRect_SetHeight, "Rect.SetHeight(int)"); + +extern "C" {static PyObject *meth_wxRect_SetHeight(PyObject *, PyObject *, PyObject *);} +static PyObject *meth_wxRect_SetHeight(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds) +{ + PyObject *sipParseErr = NULL; + + { + int height; + wxRect *sipCpp; + + static const char *sipKwdList[] = { + sipName_height, + }; + + if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "Bi", &sipSelf, sipType_wxRect, &sipCpp, &height)) + { + try + { + sipCpp->SetHeight(height); + } + catch (...) + { + sipRaiseUnknownException(); + return NULL; + } + + Py_INCREF(Py_None); + return Py_None; + } + } + + /* Raise an exception if the arguments couldn't be parsed. */ + sipNoMethod(sipParseErr, sipName_Rect, sipName_SetHeight, doc_wxRect_SetHeight); + + return NULL; +} + + +PyDoc_STRVAR(doc_wxRect_SetSize, "Rect.SetSize(Size)"); + +extern "C" {static PyObject *meth_wxRect_SetSize(PyObject *, PyObject *, PyObject *);} +static PyObject *meth_wxRect_SetSize(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds) +{ + PyObject *sipParseErr = NULL; + + { + const wxSize * s; + wxRect *sipCpp; + + static const char *sipKwdList[] = { + sipName_s, + }; + + if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "BJ9", &sipSelf, sipType_wxRect, &sipCpp, sipType_wxSize, &s)) + { + try + { + sipCpp->SetSize(*s); + } + catch (...) + { + sipRaiseUnknownException(); + return NULL; + } + + Py_INCREF(Py_None); + return Py_None; + } + } + + /* Raise an exception if the arguments couldn't be parsed. */ + sipNoMethod(sipParseErr, sipName_Rect, sipName_SetSize, doc_wxRect_SetSize); + + return NULL; +} + + +PyDoc_STRVAR(doc_wxRect_SetWidth, "Rect.SetWidth(int)"); + +extern "C" {static PyObject *meth_wxRect_SetWidth(PyObject *, PyObject *, PyObject *);} +static PyObject *meth_wxRect_SetWidth(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds) +{ + PyObject *sipParseErr = NULL; + + { + int width; + wxRect *sipCpp; + + static const char *sipKwdList[] = { + sipName_width, + }; + + if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "Bi", &sipSelf, sipType_wxRect, &sipCpp, &width)) + { + try + { + sipCpp->SetWidth(width); + } + catch (...) + { + sipRaiseUnknownException(); + return NULL; + } + + Py_INCREF(Py_None); + return Py_None; + } + } + + /* Raise an exception if the arguments couldn't be parsed. */ + sipNoMethod(sipParseErr, sipName_Rect, sipName_SetWidth, doc_wxRect_SetWidth); + + return NULL; +} + + +PyDoc_STRVAR(doc_wxRect_SetX, "Rect.SetX(int)"); + +extern "C" {static PyObject *meth_wxRect_SetX(PyObject *, PyObject *, PyObject *);} +static PyObject *meth_wxRect_SetX(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds) +{ + PyObject *sipParseErr = NULL; + + { + int x; + wxRect *sipCpp; + + static const char *sipKwdList[] = { + sipName_x, + }; + + if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "Bi", &sipSelf, sipType_wxRect, &sipCpp, &x)) + { + try + { + sipCpp->SetX(x); + } + catch (...) + { + sipRaiseUnknownException(); + return NULL; + } + + Py_INCREF(Py_None); + return Py_None; + } + } + + /* Raise an exception if the arguments couldn't be parsed. */ + sipNoMethod(sipParseErr, sipName_Rect, sipName_SetX, doc_wxRect_SetX); + + return NULL; +} + + +PyDoc_STRVAR(doc_wxRect_SetY, "Rect.SetY(int)"); + +extern "C" {static PyObject *meth_wxRect_SetY(PyObject *, PyObject *, PyObject *);} +static PyObject *meth_wxRect_SetY(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds) +{ + PyObject *sipParseErr = NULL; + + { + int y; + wxRect *sipCpp; + + static const char *sipKwdList[] = { + sipName_y, + }; + + if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "Bi", &sipSelf, sipType_wxRect, &sipCpp, &y)) + { + try + { + sipCpp->SetY(y); + } + catch (...) + { + sipRaiseUnknownException(); + return NULL; + } + + Py_INCREF(Py_None); + return Py_None; + } + } + + /* Raise an exception if the arguments couldn't be parsed. */ + sipNoMethod(sipParseErr, sipName_Rect, sipName_SetY, doc_wxRect_SetY); + + return NULL; +} + + +extern "C" {static PyObject *slot_wxRect___eq__(PyObject *,PyObject *);} +static PyObject *slot_wxRect___eq__(PyObject *sipSelf,PyObject *sipArg) +{ + wxRect *sipCpp = reinterpret_cast(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_wxRect)); + + if (!sipCpp) + return 0; + + PyObject *sipParseErr = NULL; + + { + const wxRect * r2; + + if (sipParseArgs(&sipParseErr, sipArg, "1J9", sipType_wxRect, &r2)) + { + bool sipRes; + + try + { + sipRes = operator==((*sipCpp), *r2); + } + catch (...) + { + sipRaiseUnknownException(); + return NULL; + } + + return PyBool_FromLong(sipRes); + } + } + + Py_XDECREF(sipParseErr); + + if (sipParseErr == Py_None) + return NULL; + + return sipPySlotExtend(&sipModuleAPI__core,eq_slot,sipType_wxRect,sipSelf,sipArg); +} + + +extern "C" {static PyObject *slot_wxRect___ne__(PyObject *,PyObject *);} +static PyObject *slot_wxRect___ne__(PyObject *sipSelf,PyObject *sipArg) +{ + wxRect *sipCpp = reinterpret_cast(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_wxRect)); + + if (!sipCpp) + return 0; + + PyObject *sipParseErr = NULL; + + { + const wxRect * r2; + + if (sipParseArgs(&sipParseErr, sipArg, "1J9", sipType_wxRect, &r2)) + { + bool sipRes; + + try + { + sipRes = operator!=((*sipCpp), *r2); + } + catch (...) + { + sipRaiseUnknownException(); + return NULL; + } + + return PyBool_FromLong(sipRes); + } + } + + Py_XDECREF(sipParseErr); + + if (sipParseErr == Py_None) + return NULL; + + return sipPySlotExtend(&sipModuleAPI__core,ne_slot,sipType_wxRect,sipSelf,sipArg); +} + + +extern "C" {static PyObject *slot_wxRect___add__(PyObject *,PyObject *);} +static PyObject *slot_wxRect___add__(PyObject *sipArg0,PyObject *sipArg1) +{ + PyObject *sipParseErr = NULL; + + { + const wxRect * r1; + const wxRect * r2; + + if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J9J9", sipType_wxRect, &r1, sipType_wxRect, &r2)) + { + wxRect *sipRes; + + try + { + sipRes = new wxRect((*r1 + *r2)); + } + catch (...) + { + sipRaiseUnknownException(); + return NULL; + } + + return sipConvertFromNewType(sipRes,sipType_wxRect,NULL); + } + } + + Py_XDECREF(sipParseErr); + + if (sipParseErr == Py_None) + return NULL; + + return sipPySlotExtend(&sipModuleAPI__core,add_slot,NULL,sipArg0,sipArg1); +} + + +extern "C" {static PyObject *slot_wxRect___mul__(PyObject *,PyObject *);} +static PyObject *slot_wxRect___mul__(PyObject *sipArg0,PyObject *sipArg1) +{ + PyObject *sipParseErr = NULL; + + { + const wxRect * r1; + const wxRect * r2; + + if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J9J9", sipType_wxRect, &r1, sipType_wxRect, &r2)) + { + wxRect *sipRes; + + try + { + sipRes = new wxRect((*r1 * *r2)); + } + catch (...) + { + sipRaiseUnknownException(); + return NULL; + } + + return sipConvertFromNewType(sipRes,sipType_wxRect,NULL); + } + } + + Py_XDECREF(sipParseErr); + + if (sipParseErr == Py_None) + return NULL; + + return sipPySlotExtend(&sipModuleAPI__core,mul_slot,NULL,sipArg0,sipArg1); +} + + +extern "C" {static PyObject *slot_wxRect___imul__(PyObject *,PyObject *);} +static PyObject *slot_wxRect___imul__(PyObject *sipSelf,PyObject *sipArg) +{ + if (!PyObject_TypeCheck(sipSelf, sipTypeAsPyTypeObject(sipType_wxRect))) + { + Py_INCREF(Py_NotImplemented); + return Py_NotImplemented; + } + + wxRect *sipCpp = reinterpret_cast(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_wxRect)); + + if (!sipCpp) + return 0; + + PyObject *sipParseErr = NULL; + + { + const wxRect * r; + + if (sipParseArgs(&sipParseErr, sipArg, "1J9", sipType_wxRect, &r)) + { + try + { + sipCpp->wxRect::operator*=(*r); + } + catch (...) + { + sipRaiseUnknownException(); + return NULL; + } + + Py_INCREF(sipSelf); + return sipSelf; + } + } + + Py_XDECREF(sipParseErr); + + if (sipParseErr == Py_None) + return NULL; + + PyErr_Clear(); + + Py_INCREF(Py_NotImplemented); + return Py_NotImplemented; +} + + +extern "C" {static PyObject *slot_wxRect___iadd__(PyObject *,PyObject *);} +static PyObject *slot_wxRect___iadd__(PyObject *sipSelf,PyObject *sipArg) +{ + if (!PyObject_TypeCheck(sipSelf, sipTypeAsPyTypeObject(sipType_wxRect))) + { + Py_INCREF(Py_NotImplemented); + return Py_NotImplemented; + } + + wxRect *sipCpp = reinterpret_cast(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_wxRect)); + + if (!sipCpp) + return 0; + + PyObject *sipParseErr = NULL; + + { + const wxRect * r; + + if (sipParseArgs(&sipParseErr, sipArg, "1J9", sipType_wxRect, &r)) + { + try + { + sipCpp->wxRect::operator+=(*r); + } + catch (...) + { + sipRaiseUnknownException(); + return NULL; + } + + Py_INCREF(sipSelf); + return sipSelf; + } + } + + Py_XDECREF(sipParseErr); + + if (sipParseErr == Py_None) + return NULL; + + PyErr_Clear(); + + Py_INCREF(Py_NotImplemented); + return Py_NotImplemented; +} + + +/* Cast a pointer to a type somewhere in its superclass hierarchy. */ +extern "C" {static void *cast_wxRect(void *, const sipTypeDef *);} +static void *cast_wxRect(void *ptr, const sipTypeDef *targetType) +{ + if (targetType == sipType_wxRect) + return ptr; + + return NULL; +} + + +/* Call the instance's destructor. */ +extern "C" {static void release_wxRect(void *, int);} +static void release_wxRect(void *sipCppV,int) +{ + delete reinterpret_cast(sipCppV); +} + + +extern "C" {static void assign_wxRect(void *, SIP_SSIZE_T, const void *);} +static void assign_wxRect(void *sipDst, SIP_SSIZE_T sipDstIdx, const void *sipSrc) +{ + reinterpret_cast(sipDst)[sipDstIdx] = *reinterpret_cast(sipSrc); +} + + +extern "C" {static void *array_wxRect(SIP_SSIZE_T);} +static void *array_wxRect(SIP_SSIZE_T sipNrElem) +{ + return new wxRect[sipNrElem]; +} + + +extern "C" {static void *copy_wxRect(const void *, SIP_SSIZE_T);} +static void *copy_wxRect(const void *sipSrc, SIP_SSIZE_T sipSrcIdx) +{ + return new wxRect(reinterpret_cast(sipSrc)[sipSrcIdx]); +} + + +extern "C" {static void dealloc_wxRect(sipSimpleWrapper *);} +static void dealloc_wxRect(sipSimpleWrapper *sipSelf) +{ + if (sipIsPyOwned(sipSelf)) + { + release_wxRect(sipGetAddress(sipSelf),0); + } +} + + +extern "C" {static void *init_wxRect(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);} +static void *init_wxRect(sipSimpleWrapper *, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **, PyObject **sipParseErr) +{ + wxRect *sipCpp = 0; + + { + if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "")) + { + try + { + sipCpp = new wxRect(); + } + catch (...) + { + sipRaiseUnknownException(); + return NULL; + } + + return sipCpp; + } + } + + { + int x; + int y; + int width; + int height; + + static const char *sipKwdList[] = { + sipName_x, + sipName_y, + sipName_width, + sipName_height, + }; + + if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, sipKwdList, sipUnused, "iiii", &x, &y, &width, &height)) + { + try + { + sipCpp = new wxRect(x,y,width,height); + } + catch (...) + { + sipRaiseUnknownException(); + return NULL; + } + + return sipCpp; + } + } + + { + const wxPoint * topLeft; + int topLeftState = 0; + const wxPoint * bottomRight; + int bottomRightState = 0; + + static const char *sipKwdList[] = { + sipName_topLeft, + sipName_bottomRight, + }; + + if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, sipKwdList, sipUnused, "J1J1", sipType_wxPoint, &topLeft, &topLeftState, sipType_wxPoint, &bottomRight, &bottomRightState)) + { + try + { + sipCpp = new wxRect(*topLeft,*bottomRight); + } + catch (...) + { + sipReleaseType(const_cast(topLeft),sipType_wxPoint,topLeftState); + sipReleaseType(const_cast(bottomRight),sipType_wxPoint,bottomRightState); + sipRaiseUnknownException(); + return NULL; + } + sipReleaseType(const_cast(topLeft),sipType_wxPoint,topLeftState); + sipReleaseType(const_cast(bottomRight),sipType_wxPoint,bottomRightState); + + return sipCpp; + } + } + + { + const wxPoint * pos; + int posState = 0; + const wxSize * size; + + static const char *sipKwdList[] = { + sipName_pos, + sipName_size, + }; + + if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, sipKwdList, sipUnused, "J1J9", sipType_wxPoint, &pos, &posState, sipType_wxSize, &size)) + { + try + { + sipCpp = new wxRect(*pos,*size); + } + catch (...) + { + sipReleaseType(const_cast(pos),sipType_wxPoint,posState); + sipRaiseUnknownException(); + return NULL; + } + sipReleaseType(const_cast(pos),sipType_wxPoint,posState); + + return sipCpp; + } + } + + { + const wxSize * size; + + static const char *sipKwdList[] = { + sipName_size, + }; + + if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, sipKwdList, sipUnused, "J9", sipType_wxSize, &size)) + { + try + { + sipCpp = new wxRect(*size); + } + catch (...) + { + sipRaiseUnknownException(); + return NULL; + } + + return sipCpp; + } + } + + { + const wxRect * a0; + + if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J9", sipType_wxRect, &a0)) + { + try + { + sipCpp = new wxRect(*a0); + } + catch (...) + { + sipRaiseUnknownException(); + return NULL; + } + + return sipCpp; + } + } + + return NULL; +} + + +/* Define this type's Python slots. */ +static sipPySlotDef slots_wxRect[] = { + {(void *)slot_wxRect___eq__, eq_slot}, + {(void *)slot_wxRect___ne__, ne_slot}, + {(void *)slot_wxRect___add__, add_slot}, + {(void *)slot_wxRect___mul__, mul_slot}, + {(void *)slot_wxRect___imul__, imul_slot}, + {(void *)slot_wxRect___iadd__, iadd_slot}, + {0, (sipPySlotType)0} +}; + + +static PyMethodDef methods_wxRect[] = { + {SIP_MLNAME_CAST(sipName_CenterIn), (PyCFunction)meth_wxRect_CenterIn, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_wxRect_CenterIn)}, + {SIP_MLNAME_CAST(sipName_CentreIn), (PyCFunction)meth_wxRect_CentreIn, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_wxRect_CentreIn)}, + {SIP_MLNAME_CAST(sipName_Contains), (PyCFunction)meth_wxRect_Contains, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_wxRect_Contains)}, + {SIP_MLNAME_CAST(sipName_Deflate), (PyCFunction)meth_wxRect_Deflate, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_wxRect_Deflate)}, + {SIP_MLNAME_CAST(sipName_GetBottom), meth_wxRect_GetBottom, METH_VARARGS, SIP_MLDOC_CAST(doc_wxRect_GetBottom)}, + {SIP_MLNAME_CAST(sipName_GetBottomLeft), meth_wxRect_GetBottomLeft, METH_VARARGS, SIP_MLDOC_CAST(doc_wxRect_GetBottomLeft)}, + {SIP_MLNAME_CAST(sipName_GetBottomRight), meth_wxRect_GetBottomRight, METH_VARARGS, SIP_MLDOC_CAST(doc_wxRect_GetBottomRight)}, + {SIP_MLNAME_CAST(sipName_GetHeight), meth_wxRect_GetHeight, METH_VARARGS, SIP_MLDOC_CAST(doc_wxRect_GetHeight)}, + {SIP_MLNAME_CAST(sipName_GetLeft), meth_wxRect_GetLeft, METH_VARARGS, SIP_MLDOC_CAST(doc_wxRect_GetLeft)}, + {SIP_MLNAME_CAST(sipName_GetPosition), meth_wxRect_GetPosition, METH_VARARGS, SIP_MLDOC_CAST(doc_wxRect_GetPosition)}, + {SIP_MLNAME_CAST(sipName_GetRight), meth_wxRect_GetRight, METH_VARARGS, SIP_MLDOC_CAST(doc_wxRect_GetRight)}, + {SIP_MLNAME_CAST(sipName_GetSize), meth_wxRect_GetSize, METH_VARARGS, SIP_MLDOC_CAST(doc_wxRect_GetSize)}, + {SIP_MLNAME_CAST(sipName_GetTop), meth_wxRect_GetTop, METH_VARARGS, SIP_MLDOC_CAST(doc_wxRect_GetTop)}, + {SIP_MLNAME_CAST(sipName_GetTopLeft), meth_wxRect_GetTopLeft, METH_VARARGS, SIP_MLDOC_CAST(doc_wxRect_GetTopLeft)}, + {SIP_MLNAME_CAST(sipName_GetTopRight), meth_wxRect_GetTopRight, METH_VARARGS, SIP_MLDOC_CAST(doc_wxRect_GetTopRight)}, + {SIP_MLNAME_CAST(sipName_GetWidth), meth_wxRect_GetWidth, METH_VARARGS, SIP_MLDOC_CAST(doc_wxRect_GetWidth)}, + {SIP_MLNAME_CAST(sipName_GetX), meth_wxRect_GetX, METH_VARARGS, SIP_MLDOC_CAST(doc_wxRect_GetX)}, + {SIP_MLNAME_CAST(sipName_GetY), meth_wxRect_GetY, METH_VARARGS, SIP_MLDOC_CAST(doc_wxRect_GetY)}, + {SIP_MLNAME_CAST(sipName_Inflate), (PyCFunction)meth_wxRect_Inflate, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_wxRect_Inflate)}, + {SIP_MLNAME_CAST(sipName_Intersect), (PyCFunction)meth_wxRect_Intersect, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_wxRect_Intersect)}, + {SIP_MLNAME_CAST(sipName_Intersects), (PyCFunction)meth_wxRect_Intersects, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_wxRect_Intersects)}, + {SIP_MLNAME_CAST(sipName_IsEmpty), meth_wxRect_IsEmpty, METH_VARARGS, SIP_MLDOC_CAST(doc_wxRect_IsEmpty)}, + {SIP_MLNAME_CAST(sipName_Offset), (PyCFunction)meth_wxRect_Offset, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_wxRect_Offset)}, + {SIP_MLNAME_CAST(sipName_SetHeight), (PyCFunction)meth_wxRect_SetHeight, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_wxRect_SetHeight)}, + {SIP_MLNAME_CAST(sipName_SetSize), (PyCFunction)meth_wxRect_SetSize, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_wxRect_SetSize)}, + {SIP_MLNAME_CAST(sipName_SetWidth), (PyCFunction)meth_wxRect_SetWidth, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_wxRect_SetWidth)}, + {SIP_MLNAME_CAST(sipName_SetX), (PyCFunction)meth_wxRect_SetX, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_wxRect_SetX)}, + {SIP_MLNAME_CAST(sipName_SetY), (PyCFunction)meth_wxRect_SetY, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_wxRect_SetY)}, + {SIP_MLNAME_CAST(sipName_Union), (PyCFunction)meth_wxRect_Union, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_wxRect_Union)} +}; + + +extern "C" {static PyObject *varget_wxRect_height(void *, PyObject *);} +static PyObject *varget_wxRect_height(void *sipSelf, PyObject *) +{ + int sipVal; + wxRect *sipCpp = reinterpret_cast(sipSelf); + + sipVal = sipCpp->height; + + return SIPLong_FromLong(sipVal); +} + + +extern "C" {static int varset_wxRect_height(void *, PyObject *, PyObject *);} +static int varset_wxRect_height(void *sipSelf, PyObject *sipPy, PyObject *) +{ + int sipVal; + wxRect *sipCpp = reinterpret_cast(sipSelf); + + sipVal = (int)SIPLong_AsLong(sipPy); + + if (PyErr_Occurred() != NULL) + return -1; + + sipCpp->height = sipVal; + + return 0; +} + + +extern "C" {static PyObject *varget_wxRect_width(void *, PyObject *);} +static PyObject *varget_wxRect_width(void *sipSelf, PyObject *) +{ + int sipVal; + wxRect *sipCpp = reinterpret_cast(sipSelf); + + sipVal = sipCpp->width; + + return SIPLong_FromLong(sipVal); +} + + +extern "C" {static int varset_wxRect_width(void *, PyObject *, PyObject *);} +static int varset_wxRect_width(void *sipSelf, PyObject *sipPy, PyObject *) +{ + int sipVal; + wxRect *sipCpp = reinterpret_cast(sipSelf); + + sipVal = (int)SIPLong_AsLong(sipPy); + + if (PyErr_Occurred() != NULL) + return -1; + + sipCpp->width = sipVal; + + return 0; +} + + +extern "C" {static PyObject *varget_wxRect_x(void *, PyObject *);} +static PyObject *varget_wxRect_x(void *sipSelf, PyObject *) +{ + int sipVal; + wxRect *sipCpp = reinterpret_cast(sipSelf); + + sipVal = sipCpp->x; + + return SIPLong_FromLong(sipVal); +} + + +extern "C" {static int varset_wxRect_x(void *, PyObject *, PyObject *);} +static int varset_wxRect_x(void *sipSelf, PyObject *sipPy, PyObject *) +{ + int sipVal; + wxRect *sipCpp = reinterpret_cast(sipSelf); + + sipVal = (int)SIPLong_AsLong(sipPy); + + if (PyErr_Occurred() != NULL) + return -1; + + sipCpp->x = sipVal; + + return 0; +} + + +extern "C" {static PyObject *varget_wxRect_y(void *, PyObject *);} +static PyObject *varget_wxRect_y(void *sipSelf, PyObject *) +{ + int sipVal; + wxRect *sipCpp = reinterpret_cast(sipSelf); + + sipVal = sipCpp->y; + + return SIPLong_FromLong(sipVal); +} + + +extern "C" {static int varset_wxRect_y(void *, PyObject *, PyObject *);} +static int varset_wxRect_y(void *sipSelf, PyObject *sipPy, PyObject *) +{ + int sipVal; + wxRect *sipCpp = reinterpret_cast(sipSelf); + + sipVal = (int)SIPLong_AsLong(sipPy); + + if (PyErr_Occurred() != NULL) + return -1; + + sipCpp->y = sipVal; + + return 0; +} + +sipVariableDef variables_wxRect[] = { + {InstanceVariable, sipName_height, (PyMethodDef *)varget_wxRect_height, (PyMethodDef *)varset_wxRect_height, NULL, NULL}, + {InstanceVariable, sipName_width, (PyMethodDef *)varget_wxRect_width, (PyMethodDef *)varset_wxRect_width, NULL, NULL}, + {InstanceVariable, sipName_x, (PyMethodDef *)varget_wxRect_x, (PyMethodDef *)varset_wxRect_x, NULL, NULL}, + {InstanceVariable, sipName_y, (PyMethodDef *)varget_wxRect_y, (PyMethodDef *)varset_wxRect_y, NULL, NULL}, +}; + +PyDoc_STRVAR(doc_wxRect, "\1Rect()\n" + "Rect(int, int, int, int)\n" + "Rect(Point, Point)\n" + "Rect(Point, Size)\n" + "Rect(Size)\n" + "Rect(Rect)"); + + +sipClassTypeDef sipTypeDef__core_wxRect = { + { + -1, + 0, + 0, + SIP_TYPE_CLASS, + sipNameNr_wxRect, + {0} + }, + { + sipNameNr_Rect, + {0, 0, 1}, + 29, methods_wxRect, + 0, 0, + 4, variables_wxRect, + {0, 0, 0, 0, 0, 0, 0, 0, 0, 0}, + }, + doc_wxRect, + -1, + -1, + 0, + slots_wxRect, + init_wxRect, + 0, + 0, +#if PY_MAJOR_VERSION >= 3 + 0, + 0, +#else + 0, + 0, + 0, + 0, +#endif + dealloc_wxRect, + assign_wxRect, + array_wxRect, + copy_wxRect, + release_wxRect, + cast_wxRect, + 0, + 0, + 0 +}; diff --git a/sip/cpp/sip_corewxRect2DDouble.cpp b/sip/cpp/sip_corewxRect2DDouble.cpp new file mode 100644 index 00000000..4ffbec22 --- /dev/null +++ b/sip/cpp/sip_corewxRect2DDouble.cpp @@ -0,0 +1,2305 @@ +/* + * Interface wrapper code. + * + * Generated by SIP 4.12-snapshot-eac351f5cca7 on Wed Nov 10 15:32:07 2010 + * + * Copyright: (c) 2010 by Total Control Software + * Licence: wxWindows license + */ + +#include "sipAPI_core.h" + +#line 115 "sip/gen/geometry.sip" + #include +#line 15 "sip_corewxRect2DDouble.cpp" + +#line 22 "sip/gen/geometry.sip" + #include +#line 19 "sip_corewxRect2DDouble.cpp" +#line 119 "sip/gen/gdicmn.sip" + #include +#line 22 "sip_corewxRect2DDouble.cpp" + + +PyDoc_STRVAR(doc_wxRect2DDouble_GetPosition, "Rect2D.GetPosition() -> Point2D"); + +extern "C" {static PyObject *meth_wxRect2DDouble_GetPosition(PyObject *, PyObject *);} +static PyObject *meth_wxRect2DDouble_GetPosition(PyObject *sipSelf, PyObject *sipArgs) +{ + PyObject *sipParseErr = NULL; + + { + wxRect2DDouble *sipCpp; + + if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_wxRect2DDouble, &sipCpp)) + { + wxPoint2DDouble *sipRes; + + try + { + sipRes = new wxPoint2DDouble(sipCpp->GetPosition()); + } + catch (...) + { + sipRaiseUnknownException(); + return NULL; + } + + return sipConvertFromNewType(sipRes,sipType_wxPoint2DDouble,NULL); + } + } + + /* Raise an exception if the arguments couldn't be parsed. */ + sipNoMethod(sipParseErr, sipName_Rect2D, sipName_GetPosition, doc_wxRect2DDouble_GetPosition); + + return NULL; +} + + +PyDoc_STRVAR(doc_wxRect2DDouble_GetSize, "Rect2D.GetSize() -> Size"); + +extern "C" {static PyObject *meth_wxRect2DDouble_GetSize(PyObject *, PyObject *);} +static PyObject *meth_wxRect2DDouble_GetSize(PyObject *sipSelf, PyObject *sipArgs) +{ + PyObject *sipParseErr = NULL; + + { + wxRect2DDouble *sipCpp; + + if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_wxRect2DDouble, &sipCpp)) + { + wxSize *sipRes; + + try + { + sipRes = new wxSize(sipCpp->GetSize()); + } + catch (...) + { + sipRaiseUnknownException(); + return NULL; + } + + return sipConvertFromNewType(sipRes,sipType_wxSize,NULL); + } + } + + /* Raise an exception if the arguments couldn't be parsed. */ + sipNoMethod(sipParseErr, sipName_Rect2D, sipName_GetSize, doc_wxRect2DDouble_GetSize); + + return NULL; +} + + +PyDoc_STRVAR(doc_wxRect2DDouble_GetLeft, "Rect2D.GetLeft() -> float"); + +extern "C" {static PyObject *meth_wxRect2DDouble_GetLeft(PyObject *, PyObject *);} +static PyObject *meth_wxRect2DDouble_GetLeft(PyObject *sipSelf, PyObject *sipArgs) +{ + PyObject *sipParseErr = NULL; + + { + wxRect2DDouble *sipCpp; + + if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_wxRect2DDouble, &sipCpp)) + { + wxDouble sipRes; + + try + { + sipRes = sipCpp->GetLeft(); + } + catch (...) + { + sipRaiseUnknownException(); + return NULL; + } + + return PyFloat_FromDouble(sipRes); + } + } + + /* Raise an exception if the arguments couldn't be parsed. */ + sipNoMethod(sipParseErr, sipName_Rect2D, sipName_GetLeft, doc_wxRect2DDouble_GetLeft); + + return NULL; +} + + +PyDoc_STRVAR(doc_wxRect2DDouble_SetLeft, "Rect2D.SetLeft(float)"); + +extern "C" {static PyObject *meth_wxRect2DDouble_SetLeft(PyObject *, PyObject *, PyObject *);} +static PyObject *meth_wxRect2DDouble_SetLeft(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds) +{ + PyObject *sipParseErr = NULL; + + { + wxDouble n; + wxRect2DDouble *sipCpp; + + static const char *sipKwdList[] = { + sipName_n, + }; + + if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "Bd", &sipSelf, sipType_wxRect2DDouble, &sipCpp, &n)) + { + try + { + sipCpp->SetLeft(n); + } + catch (...) + { + sipRaiseUnknownException(); + return NULL; + } + + Py_INCREF(Py_None); + return Py_None; + } + } + + /* Raise an exception if the arguments couldn't be parsed. */ + sipNoMethod(sipParseErr, sipName_Rect2D, sipName_SetLeft, doc_wxRect2DDouble_SetLeft); + + return NULL; +} + + +PyDoc_STRVAR(doc_wxRect2DDouble_MoveLeftTo, "Rect2D.MoveLeftTo(float)"); + +extern "C" {static PyObject *meth_wxRect2DDouble_MoveLeftTo(PyObject *, PyObject *, PyObject *);} +static PyObject *meth_wxRect2DDouble_MoveLeftTo(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds) +{ + PyObject *sipParseErr = NULL; + + { + wxDouble n; + wxRect2DDouble *sipCpp; + + static const char *sipKwdList[] = { + sipName_n, + }; + + if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "Bd", &sipSelf, sipType_wxRect2DDouble, &sipCpp, &n)) + { + try + { + sipCpp->MoveLeftTo(n); + } + catch (...) + { + sipRaiseUnknownException(); + return NULL; + } + + Py_INCREF(Py_None); + return Py_None; + } + } + + /* Raise an exception if the arguments couldn't be parsed. */ + sipNoMethod(sipParseErr, sipName_Rect2D, sipName_MoveLeftTo, doc_wxRect2DDouble_MoveLeftTo); + + return NULL; +} + + +PyDoc_STRVAR(doc_wxRect2DDouble_GetTop, "Rect2D.GetTop() -> float"); + +extern "C" {static PyObject *meth_wxRect2DDouble_GetTop(PyObject *, PyObject *);} +static PyObject *meth_wxRect2DDouble_GetTop(PyObject *sipSelf, PyObject *sipArgs) +{ + PyObject *sipParseErr = NULL; + + { + wxRect2DDouble *sipCpp; + + if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_wxRect2DDouble, &sipCpp)) + { + wxDouble sipRes; + + try + { + sipRes = sipCpp->GetTop(); + } + catch (...) + { + sipRaiseUnknownException(); + return NULL; + } + + return PyFloat_FromDouble(sipRes); + } + } + + /* Raise an exception if the arguments couldn't be parsed. */ + sipNoMethod(sipParseErr, sipName_Rect2D, sipName_GetTop, doc_wxRect2DDouble_GetTop); + + return NULL; +} + + +PyDoc_STRVAR(doc_wxRect2DDouble_SetTop, "Rect2D.SetTop(float)"); + +extern "C" {static PyObject *meth_wxRect2DDouble_SetTop(PyObject *, PyObject *, PyObject *);} +static PyObject *meth_wxRect2DDouble_SetTop(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds) +{ + PyObject *sipParseErr = NULL; + + { + wxDouble n; + wxRect2DDouble *sipCpp; + + static const char *sipKwdList[] = { + sipName_n, + }; + + if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "Bd", &sipSelf, sipType_wxRect2DDouble, &sipCpp, &n)) + { + try + { + sipCpp->SetTop(n); + } + catch (...) + { + sipRaiseUnknownException(); + return NULL; + } + + Py_INCREF(Py_None); + return Py_None; + } + } + + /* Raise an exception if the arguments couldn't be parsed. */ + sipNoMethod(sipParseErr, sipName_Rect2D, sipName_SetTop, doc_wxRect2DDouble_SetTop); + + return NULL; +} + + +PyDoc_STRVAR(doc_wxRect2DDouble_MoveTopTo, "Rect2D.MoveTopTo(float)"); + +extern "C" {static PyObject *meth_wxRect2DDouble_MoveTopTo(PyObject *, PyObject *, PyObject *);} +static PyObject *meth_wxRect2DDouble_MoveTopTo(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds) +{ + PyObject *sipParseErr = NULL; + + { + wxDouble n; + wxRect2DDouble *sipCpp; + + static const char *sipKwdList[] = { + sipName_n, + }; + + if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "Bd", &sipSelf, sipType_wxRect2DDouble, &sipCpp, &n)) + { + try + { + sipCpp->MoveTopTo(n); + } + catch (...) + { + sipRaiseUnknownException(); + return NULL; + } + + Py_INCREF(Py_None); + return Py_None; + } + } + + /* Raise an exception if the arguments couldn't be parsed. */ + sipNoMethod(sipParseErr, sipName_Rect2D, sipName_MoveTopTo, doc_wxRect2DDouble_MoveTopTo); + + return NULL; +} + + +PyDoc_STRVAR(doc_wxRect2DDouble_GetBottom, "Rect2D.GetBottom() -> float"); + +extern "C" {static PyObject *meth_wxRect2DDouble_GetBottom(PyObject *, PyObject *);} +static PyObject *meth_wxRect2DDouble_GetBottom(PyObject *sipSelf, PyObject *sipArgs) +{ + PyObject *sipParseErr = NULL; + + { + wxRect2DDouble *sipCpp; + + if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_wxRect2DDouble, &sipCpp)) + { + wxDouble sipRes; + + try + { + sipRes = sipCpp->GetBottom(); + } + catch (...) + { + sipRaiseUnknownException(); + return NULL; + } + + return PyFloat_FromDouble(sipRes); + } + } + + /* Raise an exception if the arguments couldn't be parsed. */ + sipNoMethod(sipParseErr, sipName_Rect2D, sipName_GetBottom, doc_wxRect2DDouble_GetBottom); + + return NULL; +} + + +PyDoc_STRVAR(doc_wxRect2DDouble_SetBottom, "Rect2D.SetBottom(float)"); + +extern "C" {static PyObject *meth_wxRect2DDouble_SetBottom(PyObject *, PyObject *, PyObject *);} +static PyObject *meth_wxRect2DDouble_SetBottom(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds) +{ + PyObject *sipParseErr = NULL; + + { + wxDouble n; + wxRect2DDouble *sipCpp; + + static const char *sipKwdList[] = { + sipName_n, + }; + + if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "Bd", &sipSelf, sipType_wxRect2DDouble, &sipCpp, &n)) + { + try + { + sipCpp->SetBottom(n); + } + catch (...) + { + sipRaiseUnknownException(); + return NULL; + } + + Py_INCREF(Py_None); + return Py_None; + } + } + + /* Raise an exception if the arguments couldn't be parsed. */ + sipNoMethod(sipParseErr, sipName_Rect2D, sipName_SetBottom, doc_wxRect2DDouble_SetBottom); + + return NULL; +} + + +PyDoc_STRVAR(doc_wxRect2DDouble_MoveBottomTo, "Rect2D.MoveBottomTo(float)"); + +extern "C" {static PyObject *meth_wxRect2DDouble_MoveBottomTo(PyObject *, PyObject *, PyObject *);} +static PyObject *meth_wxRect2DDouble_MoveBottomTo(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds) +{ + PyObject *sipParseErr = NULL; + + { + wxDouble n; + wxRect2DDouble *sipCpp; + + static const char *sipKwdList[] = { + sipName_n, + }; + + if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "Bd", &sipSelf, sipType_wxRect2DDouble, &sipCpp, &n)) + { + try + { + sipCpp->MoveBottomTo(n); + } + catch (...) + { + sipRaiseUnknownException(); + return NULL; + } + + Py_INCREF(Py_None); + return Py_None; + } + } + + /* Raise an exception if the arguments couldn't be parsed. */ + sipNoMethod(sipParseErr, sipName_Rect2D, sipName_MoveBottomTo, doc_wxRect2DDouble_MoveBottomTo); + + return NULL; +} + + +PyDoc_STRVAR(doc_wxRect2DDouble_GetRight, "Rect2D.GetRight() -> float"); + +extern "C" {static PyObject *meth_wxRect2DDouble_GetRight(PyObject *, PyObject *);} +static PyObject *meth_wxRect2DDouble_GetRight(PyObject *sipSelf, PyObject *sipArgs) +{ + PyObject *sipParseErr = NULL; + + { + wxRect2DDouble *sipCpp; + + if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_wxRect2DDouble, &sipCpp)) + { + wxDouble sipRes; + + try + { + sipRes = sipCpp->GetRight(); + } + catch (...) + { + sipRaiseUnknownException(); + return NULL; + } + + return PyFloat_FromDouble(sipRes); + } + } + + /* Raise an exception if the arguments couldn't be parsed. */ + sipNoMethod(sipParseErr, sipName_Rect2D, sipName_GetRight, doc_wxRect2DDouble_GetRight); + + return NULL; +} + + +PyDoc_STRVAR(doc_wxRect2DDouble_SetRight, "Rect2D.SetRight(float)"); + +extern "C" {static PyObject *meth_wxRect2DDouble_SetRight(PyObject *, PyObject *, PyObject *);} +static PyObject *meth_wxRect2DDouble_SetRight(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds) +{ + PyObject *sipParseErr = NULL; + + { + wxDouble n; + wxRect2DDouble *sipCpp; + + static const char *sipKwdList[] = { + sipName_n, + }; + + if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "Bd", &sipSelf, sipType_wxRect2DDouble, &sipCpp, &n)) + { + try + { + sipCpp->SetRight(n); + } + catch (...) + { + sipRaiseUnknownException(); + return NULL; + } + + Py_INCREF(Py_None); + return Py_None; + } + } + + /* Raise an exception if the arguments couldn't be parsed. */ + sipNoMethod(sipParseErr, sipName_Rect2D, sipName_SetRight, doc_wxRect2DDouble_SetRight); + + return NULL; +} + + +PyDoc_STRVAR(doc_wxRect2DDouble_MoveRightTo, "Rect2D.MoveRightTo(float)"); + +extern "C" {static PyObject *meth_wxRect2DDouble_MoveRightTo(PyObject *, PyObject *, PyObject *);} +static PyObject *meth_wxRect2DDouble_MoveRightTo(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds) +{ + PyObject *sipParseErr = NULL; + + { + wxDouble n; + wxRect2DDouble *sipCpp; + + static const char *sipKwdList[] = { + sipName_n, + }; + + if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "Bd", &sipSelf, sipType_wxRect2DDouble, &sipCpp, &n)) + { + try + { + sipCpp->MoveRightTo(n); + } + catch (...) + { + sipRaiseUnknownException(); + return NULL; + } + + Py_INCREF(Py_None); + return Py_None; + } + } + + /* Raise an exception if the arguments couldn't be parsed. */ + sipNoMethod(sipParseErr, sipName_Rect2D, sipName_MoveRightTo, doc_wxRect2DDouble_MoveRightTo); + + return NULL; +} + + +PyDoc_STRVAR(doc_wxRect2DDouble_GetLeftTop, "Rect2D.GetLeftTop() -> Point2D"); + +extern "C" {static PyObject *meth_wxRect2DDouble_GetLeftTop(PyObject *, PyObject *);} +static PyObject *meth_wxRect2DDouble_GetLeftTop(PyObject *sipSelf, PyObject *sipArgs) +{ + PyObject *sipParseErr = NULL; + + { + wxRect2DDouble *sipCpp; + + if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_wxRect2DDouble, &sipCpp)) + { + wxPoint2DDouble *sipRes; + + try + { + sipRes = new wxPoint2DDouble(sipCpp->GetLeftTop()); + } + catch (...) + { + sipRaiseUnknownException(); + return NULL; + } + + return sipConvertFromNewType(sipRes,sipType_wxPoint2DDouble,NULL); + } + } + + /* Raise an exception if the arguments couldn't be parsed. */ + sipNoMethod(sipParseErr, sipName_Rect2D, sipName_GetLeftTop, doc_wxRect2DDouble_GetLeftTop); + + return NULL; +} + + +PyDoc_STRVAR(doc_wxRect2DDouble_SetLeftTop, "Rect2D.SetLeftTop(Point2D)"); + +extern "C" {static PyObject *meth_wxRect2DDouble_SetLeftTop(PyObject *, PyObject *, PyObject *);} +static PyObject *meth_wxRect2DDouble_SetLeftTop(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds) +{ + PyObject *sipParseErr = NULL; + + { + const wxPoint2DDouble * pt; + wxRect2DDouble *sipCpp; + + static const char *sipKwdList[] = { + sipName_pt, + }; + + if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "BJ9", &sipSelf, sipType_wxRect2DDouble, &sipCpp, sipType_wxPoint2DDouble, &pt)) + { + try + { + sipCpp->SetLeftTop(*pt); + } + catch (...) + { + sipRaiseUnknownException(); + return NULL; + } + + Py_INCREF(Py_None); + return Py_None; + } + } + + /* Raise an exception if the arguments couldn't be parsed. */ + sipNoMethod(sipParseErr, sipName_Rect2D, sipName_SetLeftTop, doc_wxRect2DDouble_SetLeftTop); + + return NULL; +} + + +PyDoc_STRVAR(doc_wxRect2DDouble_MoveLeftTopTo, "Rect2D.MoveLeftTopTo(Point2D)"); + +extern "C" {static PyObject *meth_wxRect2DDouble_MoveLeftTopTo(PyObject *, PyObject *, PyObject *);} +static PyObject *meth_wxRect2DDouble_MoveLeftTopTo(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds) +{ + PyObject *sipParseErr = NULL; + + { + const wxPoint2DDouble * pt; + wxRect2DDouble *sipCpp; + + static const char *sipKwdList[] = { + sipName_pt, + }; + + if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "BJ9", &sipSelf, sipType_wxRect2DDouble, &sipCpp, sipType_wxPoint2DDouble, &pt)) + { + try + { + sipCpp->MoveLeftTopTo(*pt); + } + catch (...) + { + sipRaiseUnknownException(); + return NULL; + } + + Py_INCREF(Py_None); + return Py_None; + } + } + + /* Raise an exception if the arguments couldn't be parsed. */ + sipNoMethod(sipParseErr, sipName_Rect2D, sipName_MoveLeftTopTo, doc_wxRect2DDouble_MoveLeftTopTo); + + return NULL; +} + + +PyDoc_STRVAR(doc_wxRect2DDouble_GetLeftBottom, "Rect2D.GetLeftBottom() -> Point2D"); + +extern "C" {static PyObject *meth_wxRect2DDouble_GetLeftBottom(PyObject *, PyObject *);} +static PyObject *meth_wxRect2DDouble_GetLeftBottom(PyObject *sipSelf, PyObject *sipArgs) +{ + PyObject *sipParseErr = NULL; + + { + wxRect2DDouble *sipCpp; + + if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_wxRect2DDouble, &sipCpp)) + { + wxPoint2DDouble *sipRes; + + try + { + sipRes = new wxPoint2DDouble(sipCpp->GetLeftBottom()); + } + catch (...) + { + sipRaiseUnknownException(); + return NULL; + } + + return sipConvertFromNewType(sipRes,sipType_wxPoint2DDouble,NULL); + } + } + + /* Raise an exception if the arguments couldn't be parsed. */ + sipNoMethod(sipParseErr, sipName_Rect2D, sipName_GetLeftBottom, doc_wxRect2DDouble_GetLeftBottom); + + return NULL; +} + + +PyDoc_STRVAR(doc_wxRect2DDouble_SetLeftBottom, "Rect2D.SetLeftBottom(Point2D)"); + +extern "C" {static PyObject *meth_wxRect2DDouble_SetLeftBottom(PyObject *, PyObject *, PyObject *);} +static PyObject *meth_wxRect2DDouble_SetLeftBottom(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds) +{ + PyObject *sipParseErr = NULL; + + { + const wxPoint2DDouble * pt; + wxRect2DDouble *sipCpp; + + static const char *sipKwdList[] = { + sipName_pt, + }; + + if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "BJ9", &sipSelf, sipType_wxRect2DDouble, &sipCpp, sipType_wxPoint2DDouble, &pt)) + { + try + { + sipCpp->SetLeftBottom(*pt); + } + catch (...) + { + sipRaiseUnknownException(); + return NULL; + } + + Py_INCREF(Py_None); + return Py_None; + } + } + + /* Raise an exception if the arguments couldn't be parsed. */ + sipNoMethod(sipParseErr, sipName_Rect2D, sipName_SetLeftBottom, doc_wxRect2DDouble_SetLeftBottom); + + return NULL; +} + + +PyDoc_STRVAR(doc_wxRect2DDouble_MoveLeftBottomTo, "Rect2D.MoveLeftBottomTo(Point2D)"); + +extern "C" {static PyObject *meth_wxRect2DDouble_MoveLeftBottomTo(PyObject *, PyObject *, PyObject *);} +static PyObject *meth_wxRect2DDouble_MoveLeftBottomTo(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds) +{ + PyObject *sipParseErr = NULL; + + { + const wxPoint2DDouble * pt; + wxRect2DDouble *sipCpp; + + static const char *sipKwdList[] = { + sipName_pt, + }; + + if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "BJ9", &sipSelf, sipType_wxRect2DDouble, &sipCpp, sipType_wxPoint2DDouble, &pt)) + { + try + { + sipCpp->MoveLeftBottomTo(*pt); + } + catch (...) + { + sipRaiseUnknownException(); + return NULL; + } + + Py_INCREF(Py_None); + return Py_None; + } + } + + /* Raise an exception if the arguments couldn't be parsed. */ + sipNoMethod(sipParseErr, sipName_Rect2D, sipName_MoveLeftBottomTo, doc_wxRect2DDouble_MoveLeftBottomTo); + + return NULL; +} + + +PyDoc_STRVAR(doc_wxRect2DDouble_GetRightTop, "Rect2D.GetRightTop() -> Point2D"); + +extern "C" {static PyObject *meth_wxRect2DDouble_GetRightTop(PyObject *, PyObject *);} +static PyObject *meth_wxRect2DDouble_GetRightTop(PyObject *sipSelf, PyObject *sipArgs) +{ + PyObject *sipParseErr = NULL; + + { + wxRect2DDouble *sipCpp; + + if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_wxRect2DDouble, &sipCpp)) + { + wxPoint2DDouble *sipRes; + + try + { + sipRes = new wxPoint2DDouble(sipCpp->GetRightTop()); + } + catch (...) + { + sipRaiseUnknownException(); + return NULL; + } + + return sipConvertFromNewType(sipRes,sipType_wxPoint2DDouble,NULL); + } + } + + /* Raise an exception if the arguments couldn't be parsed. */ + sipNoMethod(sipParseErr, sipName_Rect2D, sipName_GetRightTop, doc_wxRect2DDouble_GetRightTop); + + return NULL; +} + + +PyDoc_STRVAR(doc_wxRect2DDouble_SetRightTop, "Rect2D.SetRightTop(Point2D)"); + +extern "C" {static PyObject *meth_wxRect2DDouble_SetRightTop(PyObject *, PyObject *, PyObject *);} +static PyObject *meth_wxRect2DDouble_SetRightTop(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds) +{ + PyObject *sipParseErr = NULL; + + { + const wxPoint2DDouble * pt; + wxRect2DDouble *sipCpp; + + static const char *sipKwdList[] = { + sipName_pt, + }; + + if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "BJ9", &sipSelf, sipType_wxRect2DDouble, &sipCpp, sipType_wxPoint2DDouble, &pt)) + { + try + { + sipCpp->SetRightTop(*pt); + } + catch (...) + { + sipRaiseUnknownException(); + return NULL; + } + + Py_INCREF(Py_None); + return Py_None; + } + } + + /* Raise an exception if the arguments couldn't be parsed. */ + sipNoMethod(sipParseErr, sipName_Rect2D, sipName_SetRightTop, doc_wxRect2DDouble_SetRightTop); + + return NULL; +} + + +PyDoc_STRVAR(doc_wxRect2DDouble_MoveRightTopTo, "Rect2D.MoveRightTopTo(Point2D)"); + +extern "C" {static PyObject *meth_wxRect2DDouble_MoveRightTopTo(PyObject *, PyObject *, PyObject *);} +static PyObject *meth_wxRect2DDouble_MoveRightTopTo(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds) +{ + PyObject *sipParseErr = NULL; + + { + const wxPoint2DDouble * pt; + wxRect2DDouble *sipCpp; + + static const char *sipKwdList[] = { + sipName_pt, + }; + + if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "BJ9", &sipSelf, sipType_wxRect2DDouble, &sipCpp, sipType_wxPoint2DDouble, &pt)) + { + try + { + sipCpp->MoveRightTopTo(*pt); + } + catch (...) + { + sipRaiseUnknownException(); + return NULL; + } + + Py_INCREF(Py_None); + return Py_None; + } + } + + /* Raise an exception if the arguments couldn't be parsed. */ + sipNoMethod(sipParseErr, sipName_Rect2D, sipName_MoveRightTopTo, doc_wxRect2DDouble_MoveRightTopTo); + + return NULL; +} + + +PyDoc_STRVAR(doc_wxRect2DDouble_GetRightBottom, "Rect2D.GetRightBottom() -> Point2D"); + +extern "C" {static PyObject *meth_wxRect2DDouble_GetRightBottom(PyObject *, PyObject *);} +static PyObject *meth_wxRect2DDouble_GetRightBottom(PyObject *sipSelf, PyObject *sipArgs) +{ + PyObject *sipParseErr = NULL; + + { + wxRect2DDouble *sipCpp; + + if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_wxRect2DDouble, &sipCpp)) + { + wxPoint2DDouble *sipRes; + + try + { + sipRes = new wxPoint2DDouble(sipCpp->GetRightBottom()); + } + catch (...) + { + sipRaiseUnknownException(); + return NULL; + } + + return sipConvertFromNewType(sipRes,sipType_wxPoint2DDouble,NULL); + } + } + + /* Raise an exception if the arguments couldn't be parsed. */ + sipNoMethod(sipParseErr, sipName_Rect2D, sipName_GetRightBottom, doc_wxRect2DDouble_GetRightBottom); + + return NULL; +} + + +PyDoc_STRVAR(doc_wxRect2DDouble_SetRightBottom, "Rect2D.SetRightBottom(Point2D)"); + +extern "C" {static PyObject *meth_wxRect2DDouble_SetRightBottom(PyObject *, PyObject *, PyObject *);} +static PyObject *meth_wxRect2DDouble_SetRightBottom(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds) +{ + PyObject *sipParseErr = NULL; + + { + const wxPoint2DDouble * pt; + wxRect2DDouble *sipCpp; + + static const char *sipKwdList[] = { + sipName_pt, + }; + + if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "BJ9", &sipSelf, sipType_wxRect2DDouble, &sipCpp, sipType_wxPoint2DDouble, &pt)) + { + try + { + sipCpp->SetRightBottom(*pt); + } + catch (...) + { + sipRaiseUnknownException(); + return NULL; + } + + Py_INCREF(Py_None); + return Py_None; + } + } + + /* Raise an exception if the arguments couldn't be parsed. */ + sipNoMethod(sipParseErr, sipName_Rect2D, sipName_SetRightBottom, doc_wxRect2DDouble_SetRightBottom); + + return NULL; +} + + +PyDoc_STRVAR(doc_wxRect2DDouble_MoveRightBottomTo, "Rect2D.MoveRightBottomTo(Point2D)"); + +extern "C" {static PyObject *meth_wxRect2DDouble_MoveRightBottomTo(PyObject *, PyObject *, PyObject *);} +static PyObject *meth_wxRect2DDouble_MoveRightBottomTo(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds) +{ + PyObject *sipParseErr = NULL; + + { + const wxPoint2DDouble * pt; + wxRect2DDouble *sipCpp; + + static const char *sipKwdList[] = { + sipName_pt, + }; + + if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "BJ9", &sipSelf, sipType_wxRect2DDouble, &sipCpp, sipType_wxPoint2DDouble, &pt)) + { + try + { + sipCpp->MoveRightBottomTo(*pt); + } + catch (...) + { + sipRaiseUnknownException(); + return NULL; + } + + Py_INCREF(Py_None); + return Py_None; + } + } + + /* Raise an exception if the arguments couldn't be parsed. */ + sipNoMethod(sipParseErr, sipName_Rect2D, sipName_MoveRightBottomTo, doc_wxRect2DDouble_MoveRightBottomTo); + + return NULL; +} + + +PyDoc_STRVAR(doc_wxRect2DDouble_GetCentre, "Rect2D.GetCentre() -> Point2D"); + +extern "C" {static PyObject *meth_wxRect2DDouble_GetCentre(PyObject *, PyObject *);} +static PyObject *meth_wxRect2DDouble_GetCentre(PyObject *sipSelf, PyObject *sipArgs) +{ + PyObject *sipParseErr = NULL; + + { + wxRect2DDouble *sipCpp; + + if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_wxRect2DDouble, &sipCpp)) + { + wxPoint2DDouble *sipRes; + + try + { + sipRes = new wxPoint2DDouble(sipCpp->GetCentre()); + } + catch (...) + { + sipRaiseUnknownException(); + return NULL; + } + + return sipConvertFromNewType(sipRes,sipType_wxPoint2DDouble,NULL); + } + } + + /* Raise an exception if the arguments couldn't be parsed. */ + sipNoMethod(sipParseErr, sipName_Rect2D, sipName_GetCentre, doc_wxRect2DDouble_GetCentre); + + return NULL; +} + + +PyDoc_STRVAR(doc_wxRect2DDouble_SetCentre, "Rect2D.SetCentre(Point2D)"); + +extern "C" {static PyObject *meth_wxRect2DDouble_SetCentre(PyObject *, PyObject *, PyObject *);} +static PyObject *meth_wxRect2DDouble_SetCentre(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds) +{ + PyObject *sipParseErr = NULL; + + { + const wxPoint2DDouble * pt; + wxRect2DDouble *sipCpp; + + static const char *sipKwdList[] = { + sipName_pt, + }; + + if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "BJ9", &sipSelf, sipType_wxRect2DDouble, &sipCpp, sipType_wxPoint2DDouble, &pt)) + { + try + { + sipCpp->SetCentre(*pt); + } + catch (...) + { + sipRaiseUnknownException(); + return NULL; + } + + Py_INCREF(Py_None); + return Py_None; + } + } + + /* Raise an exception if the arguments couldn't be parsed. */ + sipNoMethod(sipParseErr, sipName_Rect2D, sipName_SetCentre, doc_wxRect2DDouble_SetCentre); + + return NULL; +} + + +PyDoc_STRVAR(doc_wxRect2DDouble_MoveCentreTo, "Rect2D.MoveCentreTo(Point2D)"); + +extern "C" {static PyObject *meth_wxRect2DDouble_MoveCentreTo(PyObject *, PyObject *, PyObject *);} +static PyObject *meth_wxRect2DDouble_MoveCentreTo(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds) +{ + PyObject *sipParseErr = NULL; + + { + const wxPoint2DDouble * pt; + wxRect2DDouble *sipCpp; + + static const char *sipKwdList[] = { + sipName_pt, + }; + + if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "BJ9", &sipSelf, sipType_wxRect2DDouble, &sipCpp, sipType_wxPoint2DDouble, &pt)) + { + try + { + sipCpp->MoveCentreTo(*pt); + } + catch (...) + { + sipRaiseUnknownException(); + return NULL; + } + + Py_INCREF(Py_None); + return Py_None; + } + } + + /* Raise an exception if the arguments couldn't be parsed. */ + sipNoMethod(sipParseErr, sipName_Rect2D, sipName_MoveCentreTo, doc_wxRect2DDouble_MoveCentreTo); + + return NULL; +} + + +PyDoc_STRVAR(doc_wxRect2DDouble_GetOutCode, "Rect2D.GetOutCode(Point2D) -> OutCode"); + +extern "C" {static PyObject *meth_wxRect2DDouble_GetOutCode(PyObject *, PyObject *, PyObject *);} +static PyObject *meth_wxRect2DDouble_GetOutCode(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds) +{ + PyObject *sipParseErr = NULL; + + { + const wxPoint2DDouble * pt; + wxRect2DDouble *sipCpp; + + static const char *sipKwdList[] = { + sipName_pt, + }; + + if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "BJ9", &sipSelf, sipType_wxRect2DDouble, &sipCpp, sipType_wxPoint2DDouble, &pt)) + { + wxOutCode sipRes; + + try + { + sipRes = sipCpp->GetOutCode(*pt); + } + catch (...) + { + sipRaiseUnknownException(); + return NULL; + } + + return sipConvertFromEnum(sipRes,sipType_wxOutCode); + } + } + + /* Raise an exception if the arguments couldn't be parsed. */ + sipNoMethod(sipParseErr, sipName_Rect2D, sipName_GetOutCode, doc_wxRect2DDouble_GetOutCode); + + return NULL; +} + + +PyDoc_STRVAR(doc_wxRect2DDouble_GetOutcode, "Rect2D.GetOutcode(Point2D) -> OutCode"); + +extern "C" {static PyObject *meth_wxRect2DDouble_GetOutcode(PyObject *, PyObject *, PyObject *);} +static PyObject *meth_wxRect2DDouble_GetOutcode(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds) +{ + PyObject *sipParseErr = NULL; + + { + const wxPoint2DDouble * pt; + wxRect2DDouble *sipCpp; + + static const char *sipKwdList[] = { + sipName_pt, + }; + + if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "BJ9", &sipSelf, sipType_wxRect2DDouble, &sipCpp, sipType_wxPoint2DDouble, &pt)) + { + wxOutCode sipRes; + + try + { + sipRes = sipCpp->GetOutcode(*pt); + } + catch (...) + { + sipRaiseUnknownException(); + return NULL; + } + + return sipConvertFromEnum(sipRes,sipType_wxOutCode); + } + } + + /* Raise an exception if the arguments couldn't be parsed. */ + sipNoMethod(sipParseErr, sipName_Rect2D, sipName_GetOutcode, doc_wxRect2DDouble_GetOutcode); + + return NULL; +} + + +PyDoc_STRVAR(doc_wxRect2DDouble_Contains, "Rect2D.Contains(Point2D) -> bool\n" + "Rect2D.Contains(Rect2D) -> bool"); + +extern "C" {static PyObject *meth_wxRect2DDouble_Contains(PyObject *, PyObject *, PyObject *);} +static PyObject *meth_wxRect2DDouble_Contains(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds) +{ + PyObject *sipParseErr = NULL; + + { + const wxPoint2DDouble * pt; + wxRect2DDouble *sipCpp; + + static const char *sipKwdList[] = { + sipName_pt, + }; + + if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "BJ9", &sipSelf, sipType_wxRect2DDouble, &sipCpp, sipType_wxPoint2DDouble, &pt)) + { + bool sipRes; + + try + { + sipRes = sipCpp->Contains(*pt); + } + catch (...) + { + sipRaiseUnknownException(); + return NULL; + } + + return PyBool_FromLong(sipRes); + } + } + + { + const wxRect2DDouble * rect; + wxRect2DDouble *sipCpp; + + static const char *sipKwdList[] = { + sipName_rect, + }; + + if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "BJ9", &sipSelf, sipType_wxRect2DDouble, &sipCpp, sipType_wxRect2DDouble, &rect)) + { + bool sipRes; + + try + { + sipRes = sipCpp->Contains(*rect); + } + catch (...) + { + sipRaiseUnknownException(); + return NULL; + } + + return PyBool_FromLong(sipRes); + } + } + + /* Raise an exception if the arguments couldn't be parsed. */ + sipNoMethod(sipParseErr, sipName_Rect2D, sipName_Contains, doc_wxRect2DDouble_Contains); + + return NULL; +} + + +PyDoc_STRVAR(doc_wxRect2DDouble_IsEmpty, "Rect2D.IsEmpty() -> bool"); + +extern "C" {static PyObject *meth_wxRect2DDouble_IsEmpty(PyObject *, PyObject *);} +static PyObject *meth_wxRect2DDouble_IsEmpty(PyObject *sipSelf, PyObject *sipArgs) +{ + PyObject *sipParseErr = NULL; + + { + wxRect2DDouble *sipCpp; + + if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_wxRect2DDouble, &sipCpp)) + { + bool sipRes; + + try + { + sipRes = sipCpp->IsEmpty(); + } + catch (...) + { + sipRaiseUnknownException(); + return NULL; + } + + return PyBool_FromLong(sipRes); + } + } + + /* Raise an exception if the arguments couldn't be parsed. */ + sipNoMethod(sipParseErr, sipName_Rect2D, sipName_IsEmpty, doc_wxRect2DDouble_IsEmpty); + + return NULL; +} + + +PyDoc_STRVAR(doc_wxRect2DDouble_HaveEqualSize, "Rect2D.HaveEqualSize(Rect2D) -> bool"); + +extern "C" {static PyObject *meth_wxRect2DDouble_HaveEqualSize(PyObject *, PyObject *, PyObject *);} +static PyObject *meth_wxRect2DDouble_HaveEqualSize(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds) +{ + PyObject *sipParseErr = NULL; + + { + const wxRect2DDouble * rect; + wxRect2DDouble *sipCpp; + + static const char *sipKwdList[] = { + sipName_rect, + }; + + if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "BJ9", &sipSelf, sipType_wxRect2DDouble, &sipCpp, sipType_wxRect2DDouble, &rect)) + { + bool sipRes; + + try + { + sipRes = sipCpp->HaveEqualSize(*rect); + } + catch (...) + { + sipRaiseUnknownException(); + return NULL; + } + + return PyBool_FromLong(sipRes); + } + } + + /* Raise an exception if the arguments couldn't be parsed. */ + sipNoMethod(sipParseErr, sipName_Rect2D, sipName_HaveEqualSize, doc_wxRect2DDouble_HaveEqualSize); + + return NULL; +} + + +PyDoc_STRVAR(doc_wxRect2DDouble_Inset, "Rect2D.Inset(float, float)\n" + "Rect2D.Inset(float, float, float, float)"); + +extern "C" {static PyObject *meth_wxRect2DDouble_Inset(PyObject *, PyObject *, PyObject *);} +static PyObject *meth_wxRect2DDouble_Inset(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds) +{ + PyObject *sipParseErr = NULL; + + { + wxDouble x; + wxDouble y; + wxRect2DDouble *sipCpp; + + static const char *sipKwdList[] = { + sipName_x, + sipName_y, + }; + + if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "Bdd", &sipSelf, sipType_wxRect2DDouble, &sipCpp, &x, &y)) + { + try + { + sipCpp->Inset(x,y); + } + catch (...) + { + sipRaiseUnknownException(); + return NULL; + } + + Py_INCREF(Py_None); + return Py_None; + } + } + + { + wxDouble left; + wxDouble top; + wxDouble right; + wxDouble bottom; + wxRect2DDouble *sipCpp; + + static const char *sipKwdList[] = { + sipName_left, + sipName_top, + sipName_right, + sipName_bottom, + }; + + if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "Bdddd", &sipSelf, sipType_wxRect2DDouble, &sipCpp, &left, &top, &right, &bottom)) + { + try + { + sipCpp->Inset(left,top,right,bottom); + } + catch (...) + { + sipRaiseUnknownException(); + return NULL; + } + + Py_INCREF(Py_None); + return Py_None; + } + } + + /* Raise an exception if the arguments couldn't be parsed. */ + sipNoMethod(sipParseErr, sipName_Rect2D, sipName_Inset, doc_wxRect2DDouble_Inset); + + return NULL; +} + + +PyDoc_STRVAR(doc_wxRect2DDouble_Offset, "Rect2D.Offset(Point2D)"); + +extern "C" {static PyObject *meth_wxRect2DDouble_Offset(PyObject *, PyObject *, PyObject *);} +static PyObject *meth_wxRect2DDouble_Offset(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds) +{ + PyObject *sipParseErr = NULL; + + { + const wxPoint2DDouble * pt; + wxRect2DDouble *sipCpp; + + static const char *sipKwdList[] = { + sipName_pt, + }; + + if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "BJ9", &sipSelf, sipType_wxRect2DDouble, &sipCpp, sipType_wxPoint2DDouble, &pt)) + { + try + { + sipCpp->Offset(*pt); + } + catch (...) + { + sipRaiseUnknownException(); + return NULL; + } + + Py_INCREF(Py_None); + return Py_None; + } + } + + /* Raise an exception if the arguments couldn't be parsed. */ + sipNoMethod(sipParseErr, sipName_Rect2D, sipName_Offset, doc_wxRect2DDouble_Offset); + + return NULL; +} + + +PyDoc_STRVAR(doc_wxRect2DDouble_ConstrainTo, "Rect2D.ConstrainTo(Rect2D)"); + +extern "C" {static PyObject *meth_wxRect2DDouble_ConstrainTo(PyObject *, PyObject *, PyObject *);} +static PyObject *meth_wxRect2DDouble_ConstrainTo(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds) +{ + PyObject *sipParseErr = NULL; + + { + const wxRect2DDouble * rect; + wxRect2DDouble *sipCpp; + + static const char *sipKwdList[] = { + sipName_rect, + }; + + if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "BJ9", &sipSelf, sipType_wxRect2DDouble, &sipCpp, sipType_wxRect2DDouble, &rect)) + { + try + { + sipCpp->ConstrainTo(*rect); + } + catch (...) + { + sipRaiseUnknownException(); + return NULL; + } + + Py_INCREF(Py_None); + return Py_None; + } + } + + /* Raise an exception if the arguments couldn't be parsed. */ + sipNoMethod(sipParseErr, sipName_Rect2D, sipName_ConstrainTo, doc_wxRect2DDouble_ConstrainTo); + + return NULL; +} + + +PyDoc_STRVAR(doc_wxRect2DDouble_Interpolate, "Rect2D.Interpolate(int, int) -> Point2D"); + +extern "C" {static PyObject *meth_wxRect2DDouble_Interpolate(PyObject *, PyObject *, PyObject *);} +static PyObject *meth_wxRect2DDouble_Interpolate(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds) +{ + PyObject *sipParseErr = NULL; + + { + wxInt32 widthfactor; + wxInt32 heightfactor; + wxRect2DDouble *sipCpp; + + static const char *sipKwdList[] = { + sipName_widthfactor, + sipName_heightfactor, + }; + + if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "Bii", &sipSelf, sipType_wxRect2DDouble, &sipCpp, &widthfactor, &heightfactor)) + { + wxPoint2DDouble *sipRes; + + try + { + sipRes = new wxPoint2DDouble(sipCpp->Interpolate(widthfactor,heightfactor)); + } + catch (...) + { + sipRaiseUnknownException(); + return NULL; + } + + return sipConvertFromNewType(sipRes,sipType_wxPoint2DDouble,NULL); + } + } + + /* Raise an exception if the arguments couldn't be parsed. */ + sipNoMethod(sipParseErr, sipName_Rect2D, sipName_Interpolate, doc_wxRect2DDouble_Interpolate); + + return NULL; +} + + +PyDoc_STRVAR(doc_wxRect2DDouble_Intersect, "Rect2D.Intersect(Rect2D)\n" + "Rect2D.Intersect(Rect2D, Rect2D, Rect2D)"); + +extern "C" {static PyObject *meth_wxRect2DDouble_Intersect(PyObject *, PyObject *, PyObject *);} +static PyObject *meth_wxRect2DDouble_Intersect(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds) +{ + PyObject *sipParseErr = NULL; + + { + const wxRect2DDouble * otherRect; + wxRect2DDouble *sipCpp; + + static const char *sipKwdList[] = { + sipName_otherRect, + }; + + if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "BJ9", &sipSelf, sipType_wxRect2DDouble, &sipCpp, sipType_wxRect2DDouble, &otherRect)) + { + try + { + sipCpp->Intersect(*otherRect); + } + catch (...) + { + sipRaiseUnknownException(); + return NULL; + } + + Py_INCREF(Py_None); + return Py_None; + } + } + + { + const wxRect2DDouble * src1; + const wxRect2DDouble * src2; + wxRect2DDouble * dest; + + static const char *sipKwdList[] = { + sipName_src1, + sipName_src2, + sipName_dest, + }; + + if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "J9J9J8", sipType_wxRect2DDouble, &src1, sipType_wxRect2DDouble, &src2, sipType_wxRect2DDouble, &dest)) + { + try + { + wxRect2DDouble::Intersect(*src1,*src2,dest); + } + catch (...) + { + sipRaiseUnknownException(); + return NULL; + } + + Py_INCREF(Py_None); + return Py_None; + } + } + + /* Raise an exception if the arguments couldn't be parsed. */ + sipNoMethod(sipParseErr, sipName_Rect2D, sipName_Intersect, doc_wxRect2DDouble_Intersect); + + return NULL; +} + + +PyDoc_STRVAR(doc_wxRect2DDouble_CreateIntersection, "Rect2D.CreateIntersection(Rect2D) -> Rect2D"); + +extern "C" {static PyObject *meth_wxRect2DDouble_CreateIntersection(PyObject *, PyObject *, PyObject *);} +static PyObject *meth_wxRect2DDouble_CreateIntersection(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds) +{ + PyObject *sipParseErr = NULL; + + { + const wxRect2DDouble * otherRect; + wxRect2DDouble *sipCpp; + + static const char *sipKwdList[] = { + sipName_otherRect, + }; + + if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "BJ9", &sipSelf, sipType_wxRect2DDouble, &sipCpp, sipType_wxRect2DDouble, &otherRect)) + { + wxRect2DDouble *sipRes; + + try + { + sipRes = new wxRect2DDouble(sipCpp->CreateIntersection(*otherRect)); + } + catch (...) + { + sipRaiseUnknownException(); + return NULL; + } + + return sipConvertFromNewType(sipRes,sipType_wxRect2DDouble,NULL); + } + } + + /* Raise an exception if the arguments couldn't be parsed. */ + sipNoMethod(sipParseErr, sipName_Rect2D, sipName_CreateIntersection, doc_wxRect2DDouble_CreateIntersection); + + return NULL; +} + + +PyDoc_STRVAR(doc_wxRect2DDouble_Intersects, "Rect2D.Intersects(Rect2D) -> bool"); + +extern "C" {static PyObject *meth_wxRect2DDouble_Intersects(PyObject *, PyObject *, PyObject *);} +static PyObject *meth_wxRect2DDouble_Intersects(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds) +{ + PyObject *sipParseErr = NULL; + + { + const wxRect2DDouble * rect; + wxRect2DDouble *sipCpp; + + static const char *sipKwdList[] = { + sipName_rect, + }; + + if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "BJ9", &sipSelf, sipType_wxRect2DDouble, &sipCpp, sipType_wxRect2DDouble, &rect)) + { + bool sipRes; + + try + { + sipRes = sipCpp->Intersects(*rect); + } + catch (...) + { + sipRaiseUnknownException(); + return NULL; + } + + return PyBool_FromLong(sipRes); + } + } + + /* Raise an exception if the arguments couldn't be parsed. */ + sipNoMethod(sipParseErr, sipName_Rect2D, sipName_Intersects, doc_wxRect2DDouble_Intersects); + + return NULL; +} + + +PyDoc_STRVAR(doc_wxRect2DDouble_Union, "Rect2D.Union(Rect2D)\n" + "Rect2D.Union(Point2D)\n" + "Rect2D.Union(Rect2D, Rect2D, Rect2D)"); + +extern "C" {static PyObject *meth_wxRect2DDouble_Union(PyObject *, PyObject *, PyObject *);} +static PyObject *meth_wxRect2DDouble_Union(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds) +{ + PyObject *sipParseErr = NULL; + + { + const wxRect2DDouble * otherRect; + wxRect2DDouble *sipCpp; + + static const char *sipKwdList[] = { + sipName_otherRect, + }; + + if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "BJ9", &sipSelf, sipType_wxRect2DDouble, &sipCpp, sipType_wxRect2DDouble, &otherRect)) + { + try + { + sipCpp->Union(*otherRect); + } + catch (...) + { + sipRaiseUnknownException(); + return NULL; + } + + Py_INCREF(Py_None); + return Py_None; + } + } + + { + const wxPoint2DDouble * pt; + wxRect2DDouble *sipCpp; + + static const char *sipKwdList[] = { + sipName_pt, + }; + + if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "BJ9", &sipSelf, sipType_wxRect2DDouble, &sipCpp, sipType_wxPoint2DDouble, &pt)) + { + try + { + sipCpp->Union(*pt); + } + catch (...) + { + sipRaiseUnknownException(); + return NULL; + } + + Py_INCREF(Py_None); + return Py_None; + } + } + + { + const wxRect2DDouble * src1; + const wxRect2DDouble * src2; + wxRect2DDouble * dest; + + static const char *sipKwdList[] = { + sipName_src1, + sipName_src2, + sipName_dest, + }; + + if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "J9J9J8", sipType_wxRect2DDouble, &src1, sipType_wxRect2DDouble, &src2, sipType_wxRect2DDouble, &dest)) + { + try + { + wxRect2DDouble::Union(*src1,*src2,dest); + } + catch (...) + { + sipRaiseUnknownException(); + return NULL; + } + + Py_INCREF(Py_None); + return Py_None; + } + } + + /* Raise an exception if the arguments couldn't be parsed. */ + sipNoMethod(sipParseErr, sipName_Rect2D, sipName_Union, doc_wxRect2DDouble_Union); + + return NULL; +} + + +PyDoc_STRVAR(doc_wxRect2DDouble_CreateUnion, "Rect2D.CreateUnion(Rect2D) -> Rect2D"); + +extern "C" {static PyObject *meth_wxRect2DDouble_CreateUnion(PyObject *, PyObject *, PyObject *);} +static PyObject *meth_wxRect2DDouble_CreateUnion(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds) +{ + PyObject *sipParseErr = NULL; + + { + const wxRect2DDouble * otherRect; + wxRect2DDouble *sipCpp; + + static const char *sipKwdList[] = { + sipName_otherRect, + }; + + if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "BJ9", &sipSelf, sipType_wxRect2DDouble, &sipCpp, sipType_wxRect2DDouble, &otherRect)) + { + wxRect2DDouble *sipRes; + + try + { + sipRes = new wxRect2DDouble(sipCpp->CreateUnion(*otherRect)); + } + catch (...) + { + sipRaiseUnknownException(); + return NULL; + } + + return sipConvertFromNewType(sipRes,sipType_wxRect2DDouble,NULL); + } + } + + /* Raise an exception if the arguments couldn't be parsed. */ + sipNoMethod(sipParseErr, sipName_Rect2D, sipName_CreateUnion, doc_wxRect2DDouble_CreateUnion); + + return NULL; +} + + +PyDoc_STRVAR(doc_wxRect2DDouble_Scale, "Rect2D.Scale(float)\n" + "Rect2D.Scale(int, int)"); + +extern "C" {static PyObject *meth_wxRect2DDouble_Scale(PyObject *, PyObject *, PyObject *);} +static PyObject *meth_wxRect2DDouble_Scale(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds) +{ + PyObject *sipParseErr = NULL; + + { + wxDouble f; + wxRect2DDouble *sipCpp; + + static const char *sipKwdList[] = { + sipName_f, + }; + + if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "Bd", &sipSelf, sipType_wxRect2DDouble, &sipCpp, &f)) + { + try + { + sipCpp->Scale(f); + } + catch (...) + { + sipRaiseUnknownException(); + return NULL; + } + + Py_INCREF(Py_None); + return Py_None; + } + } + + { + wxInt32 num; + wxInt32 denum; + wxRect2DDouble *sipCpp; + + static const char *sipKwdList[] = { + sipName_num, + sipName_denum, + }; + + if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "Bii", &sipSelf, sipType_wxRect2DDouble, &sipCpp, &num, &denum)) + { + try + { + sipCpp->Scale(num,denum); + } + catch (...) + { + sipRaiseUnknownException(); + return NULL; + } + + Py_INCREF(Py_None); + return Py_None; + } + } + + /* Raise an exception if the arguments couldn't be parsed. */ + sipNoMethod(sipParseErr, sipName_Rect2D, sipName_Scale, doc_wxRect2DDouble_Scale); + + return NULL; +} + + +extern "C" {static PyObject *slot_wxRect2DDouble___ne__(PyObject *,PyObject *);} +static PyObject *slot_wxRect2DDouble___ne__(PyObject *sipSelf,PyObject *sipArg) +{ + wxRect2DDouble *sipCpp = reinterpret_cast(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_wxRect2DDouble)); + + if (!sipCpp) + return 0; + + PyObject *sipParseErr = NULL; + + { + const wxRect2DDouble * rect; + + if (sipParseArgs(&sipParseErr, sipArg, "1J9", sipType_wxRect2DDouble, &rect)) + { + bool sipRes; + + try + { + sipRes = sipCpp->wxRect2DDouble::operator!=(*rect); + } + catch (...) + { + sipRaiseUnknownException(); + return NULL; + } + + return PyBool_FromLong(sipRes); + } + } + + Py_XDECREF(sipParseErr); + + if (sipParseErr == Py_None) + return NULL; + + return sipPySlotExtend(&sipModuleAPI__core,ne_slot,sipType_wxRect2DDouble,sipSelf,sipArg); +} + + +extern "C" {static PyObject *slot_wxRect2DDouble___eq__(PyObject *,PyObject *);} +static PyObject *slot_wxRect2DDouble___eq__(PyObject *sipSelf,PyObject *sipArg) +{ + wxRect2DDouble *sipCpp = reinterpret_cast(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_wxRect2DDouble)); + + if (!sipCpp) + return 0; + + PyObject *sipParseErr = NULL; + + { + const wxRect2DDouble * rect; + + if (sipParseArgs(&sipParseErr, sipArg, "1J9", sipType_wxRect2DDouble, &rect)) + { + bool sipRes; + + try + { + sipRes = sipCpp->wxRect2DDouble::operator==(*rect); + } + catch (...) + { + sipRaiseUnknownException(); + return NULL; + } + + return PyBool_FromLong(sipRes); + } + } + + Py_XDECREF(sipParseErr); + + if (sipParseErr == Py_None) + return NULL; + + return sipPySlotExtend(&sipModuleAPI__core,eq_slot,sipType_wxRect2DDouble,sipSelf,sipArg); +} + + +/* Cast a pointer to a type somewhere in its superclass hierarchy. */ +extern "C" {static void *cast_wxRect2DDouble(void *, const sipTypeDef *);} +static void *cast_wxRect2DDouble(void *ptr, const sipTypeDef *targetType) +{ + if (targetType == sipType_wxRect2DDouble) + return ptr; + + return NULL; +} + + +/* Call the instance's destructor. */ +extern "C" {static void release_wxRect2DDouble(void *, int);} +static void release_wxRect2DDouble(void *sipCppV,int) +{ + delete reinterpret_cast(sipCppV); +} + + +extern "C" {static void assign_wxRect2DDouble(void *, SIP_SSIZE_T, const void *);} +static void assign_wxRect2DDouble(void *sipDst, SIP_SSIZE_T sipDstIdx, const void *sipSrc) +{ + reinterpret_cast(sipDst)[sipDstIdx] = *reinterpret_cast(sipSrc); +} + + +extern "C" {static void *array_wxRect2DDouble(SIP_SSIZE_T);} +static void *array_wxRect2DDouble(SIP_SSIZE_T sipNrElem) +{ + return new wxRect2DDouble[sipNrElem]; +} + + +extern "C" {static void *copy_wxRect2DDouble(const void *, SIP_SSIZE_T);} +static void *copy_wxRect2DDouble(const void *sipSrc, SIP_SSIZE_T sipSrcIdx) +{ + return new wxRect2DDouble(reinterpret_cast(sipSrc)[sipSrcIdx]); +} + + +extern "C" {static void dealloc_wxRect2DDouble(sipSimpleWrapper *);} +static void dealloc_wxRect2DDouble(sipSimpleWrapper *sipSelf) +{ + if (sipIsPyOwned(sipSelf)) + { + release_wxRect2DDouble(sipGetAddress(sipSelf),0); + } +} + + +extern "C" {static void *init_wxRect2DDouble(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);} +static void *init_wxRect2DDouble(sipSimpleWrapper *, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **, PyObject **sipParseErr) +{ + wxRect2DDouble *sipCpp = 0; + + { + if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "")) + { + try + { + sipCpp = new wxRect2DDouble(); + } + catch (...) + { + sipRaiseUnknownException(); + return NULL; + } + + return sipCpp; + } + } + + { + wxDouble x; + wxDouble y; + wxDouble w; + wxDouble h; + + static const char *sipKwdList[] = { + sipName_x, + sipName_y, + sipName_w, + sipName_h, + }; + + if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, sipKwdList, sipUnused, "dddd", &x, &y, &w, &h)) + { + try + { + sipCpp = new wxRect2DDouble(x,y,w,h); + } + catch (...) + { + sipRaiseUnknownException(); + return NULL; + } + + return sipCpp; + } + } + + { + const wxRect2DDouble * a0; + + if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J9", sipType_wxRect2DDouble, &a0)) + { + try + { + sipCpp = new wxRect2DDouble(*a0); + } + catch (...) + { + sipRaiseUnknownException(); + return NULL; + } + + return sipCpp; + } + } + + return NULL; +} + + +/* Define this type's Python slots. */ +static sipPySlotDef slots_wxRect2DDouble[] = { + {(void *)slot_wxRect2DDouble___ne__, ne_slot}, + {(void *)slot_wxRect2DDouble___eq__, eq_slot}, + {0, (sipPySlotType)0} +}; + + +static PyMethodDef methods_wxRect2DDouble[] = { + {SIP_MLNAME_CAST(sipName_ConstrainTo), (PyCFunction)meth_wxRect2DDouble_ConstrainTo, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_wxRect2DDouble_ConstrainTo)}, + {SIP_MLNAME_CAST(sipName_Contains), (PyCFunction)meth_wxRect2DDouble_Contains, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_wxRect2DDouble_Contains)}, + {SIP_MLNAME_CAST(sipName_CreateIntersection), (PyCFunction)meth_wxRect2DDouble_CreateIntersection, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_wxRect2DDouble_CreateIntersection)}, + {SIP_MLNAME_CAST(sipName_CreateUnion), (PyCFunction)meth_wxRect2DDouble_CreateUnion, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_wxRect2DDouble_CreateUnion)}, + {SIP_MLNAME_CAST(sipName_GetBottom), meth_wxRect2DDouble_GetBottom, METH_VARARGS, SIP_MLDOC_CAST(doc_wxRect2DDouble_GetBottom)}, + {SIP_MLNAME_CAST(sipName_GetCentre), meth_wxRect2DDouble_GetCentre, METH_VARARGS, SIP_MLDOC_CAST(doc_wxRect2DDouble_GetCentre)}, + {SIP_MLNAME_CAST(sipName_GetLeft), meth_wxRect2DDouble_GetLeft, METH_VARARGS, SIP_MLDOC_CAST(doc_wxRect2DDouble_GetLeft)}, + {SIP_MLNAME_CAST(sipName_GetLeftBottom), meth_wxRect2DDouble_GetLeftBottom, METH_VARARGS, SIP_MLDOC_CAST(doc_wxRect2DDouble_GetLeftBottom)}, + {SIP_MLNAME_CAST(sipName_GetLeftTop), meth_wxRect2DDouble_GetLeftTop, METH_VARARGS, SIP_MLDOC_CAST(doc_wxRect2DDouble_GetLeftTop)}, + {SIP_MLNAME_CAST(sipName_GetOutCode), (PyCFunction)meth_wxRect2DDouble_GetOutCode, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_wxRect2DDouble_GetOutCode)}, + {SIP_MLNAME_CAST(sipName_GetOutcode), (PyCFunction)meth_wxRect2DDouble_GetOutcode, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_wxRect2DDouble_GetOutcode)}, + {SIP_MLNAME_CAST(sipName_GetPosition), meth_wxRect2DDouble_GetPosition, METH_VARARGS, SIP_MLDOC_CAST(doc_wxRect2DDouble_GetPosition)}, + {SIP_MLNAME_CAST(sipName_GetRight), meth_wxRect2DDouble_GetRight, METH_VARARGS, SIP_MLDOC_CAST(doc_wxRect2DDouble_GetRight)}, + {SIP_MLNAME_CAST(sipName_GetRightBottom), meth_wxRect2DDouble_GetRightBottom, METH_VARARGS, SIP_MLDOC_CAST(doc_wxRect2DDouble_GetRightBottom)}, + {SIP_MLNAME_CAST(sipName_GetRightTop), meth_wxRect2DDouble_GetRightTop, METH_VARARGS, SIP_MLDOC_CAST(doc_wxRect2DDouble_GetRightTop)}, + {SIP_MLNAME_CAST(sipName_GetSize), meth_wxRect2DDouble_GetSize, METH_VARARGS, SIP_MLDOC_CAST(doc_wxRect2DDouble_GetSize)}, + {SIP_MLNAME_CAST(sipName_GetTop), meth_wxRect2DDouble_GetTop, METH_VARARGS, SIP_MLDOC_CAST(doc_wxRect2DDouble_GetTop)}, + {SIP_MLNAME_CAST(sipName_HaveEqualSize), (PyCFunction)meth_wxRect2DDouble_HaveEqualSize, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_wxRect2DDouble_HaveEqualSize)}, + {SIP_MLNAME_CAST(sipName_Inset), (PyCFunction)meth_wxRect2DDouble_Inset, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_wxRect2DDouble_Inset)}, + {SIP_MLNAME_CAST(sipName_Interpolate), (PyCFunction)meth_wxRect2DDouble_Interpolate, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_wxRect2DDouble_Interpolate)}, + {SIP_MLNAME_CAST(sipName_Intersect), (PyCFunction)meth_wxRect2DDouble_Intersect, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_wxRect2DDouble_Intersect)}, + {SIP_MLNAME_CAST(sipName_Intersects), (PyCFunction)meth_wxRect2DDouble_Intersects, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_wxRect2DDouble_Intersects)}, + {SIP_MLNAME_CAST(sipName_IsEmpty), meth_wxRect2DDouble_IsEmpty, METH_VARARGS, SIP_MLDOC_CAST(doc_wxRect2DDouble_IsEmpty)}, + {SIP_MLNAME_CAST(sipName_MoveBottomTo), (PyCFunction)meth_wxRect2DDouble_MoveBottomTo, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_wxRect2DDouble_MoveBottomTo)}, + {SIP_MLNAME_CAST(sipName_MoveCentreTo), (PyCFunction)meth_wxRect2DDouble_MoveCentreTo, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_wxRect2DDouble_MoveCentreTo)}, + {SIP_MLNAME_CAST(sipName_MoveLeftBottomTo), (PyCFunction)meth_wxRect2DDouble_MoveLeftBottomTo, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_wxRect2DDouble_MoveLeftBottomTo)}, + {SIP_MLNAME_CAST(sipName_MoveLeftTo), (PyCFunction)meth_wxRect2DDouble_MoveLeftTo, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_wxRect2DDouble_MoveLeftTo)}, + {SIP_MLNAME_CAST(sipName_MoveLeftTopTo), (PyCFunction)meth_wxRect2DDouble_MoveLeftTopTo, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_wxRect2DDouble_MoveLeftTopTo)}, + {SIP_MLNAME_CAST(sipName_MoveRightBottomTo), (PyCFunction)meth_wxRect2DDouble_MoveRightBottomTo, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_wxRect2DDouble_MoveRightBottomTo)}, + {SIP_MLNAME_CAST(sipName_MoveRightTo), (PyCFunction)meth_wxRect2DDouble_MoveRightTo, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_wxRect2DDouble_MoveRightTo)}, + {SIP_MLNAME_CAST(sipName_MoveRightTopTo), (PyCFunction)meth_wxRect2DDouble_MoveRightTopTo, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_wxRect2DDouble_MoveRightTopTo)}, + {SIP_MLNAME_CAST(sipName_MoveTopTo), (PyCFunction)meth_wxRect2DDouble_MoveTopTo, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_wxRect2DDouble_MoveTopTo)}, + {SIP_MLNAME_CAST(sipName_Offset), (PyCFunction)meth_wxRect2DDouble_Offset, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_wxRect2DDouble_Offset)}, + {SIP_MLNAME_CAST(sipName_Scale), (PyCFunction)meth_wxRect2DDouble_Scale, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_wxRect2DDouble_Scale)}, + {SIP_MLNAME_CAST(sipName_SetBottom), (PyCFunction)meth_wxRect2DDouble_SetBottom, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_wxRect2DDouble_SetBottom)}, + {SIP_MLNAME_CAST(sipName_SetCentre), (PyCFunction)meth_wxRect2DDouble_SetCentre, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_wxRect2DDouble_SetCentre)}, + {SIP_MLNAME_CAST(sipName_SetLeft), (PyCFunction)meth_wxRect2DDouble_SetLeft, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_wxRect2DDouble_SetLeft)}, + {SIP_MLNAME_CAST(sipName_SetLeftBottom), (PyCFunction)meth_wxRect2DDouble_SetLeftBottom, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_wxRect2DDouble_SetLeftBottom)}, + {SIP_MLNAME_CAST(sipName_SetLeftTop), (PyCFunction)meth_wxRect2DDouble_SetLeftTop, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_wxRect2DDouble_SetLeftTop)}, + {SIP_MLNAME_CAST(sipName_SetRight), (PyCFunction)meth_wxRect2DDouble_SetRight, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_wxRect2DDouble_SetRight)}, + {SIP_MLNAME_CAST(sipName_SetRightBottom), (PyCFunction)meth_wxRect2DDouble_SetRightBottom, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_wxRect2DDouble_SetRightBottom)}, + {SIP_MLNAME_CAST(sipName_SetRightTop), (PyCFunction)meth_wxRect2DDouble_SetRightTop, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_wxRect2DDouble_SetRightTop)}, + {SIP_MLNAME_CAST(sipName_SetTop), (PyCFunction)meth_wxRect2DDouble_SetTop, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_wxRect2DDouble_SetTop)}, + {SIP_MLNAME_CAST(sipName_Union), (PyCFunction)meth_wxRect2DDouble_Union, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_wxRect2DDouble_Union)} +}; + + +extern "C" {static PyObject *varget_wxRect2DDouble_m_height(void *, PyObject *);} +static PyObject *varget_wxRect2DDouble_m_height(void *sipSelf, PyObject *) +{ + wxDouble sipVal; + wxRect2DDouble *sipCpp = reinterpret_cast(sipSelf); + + sipVal = sipCpp->m_height; + + return PyFloat_FromDouble(sipVal); +} + + +extern "C" {static int varset_wxRect2DDouble_m_height(void *, PyObject *, PyObject *);} +static int varset_wxRect2DDouble_m_height(void *sipSelf, PyObject *sipPy, PyObject *) +{ + wxDouble sipVal; + wxRect2DDouble *sipCpp = reinterpret_cast(sipSelf); + + sipVal = PyFloat_AsDouble(sipPy); + + if (PyErr_Occurred() != NULL) + return -1; + + sipCpp->m_height = sipVal; + + return 0; +} + + +extern "C" {static PyObject *varget_wxRect2DDouble_m_width(void *, PyObject *);} +static PyObject *varget_wxRect2DDouble_m_width(void *sipSelf, PyObject *) +{ + wxDouble sipVal; + wxRect2DDouble *sipCpp = reinterpret_cast(sipSelf); + + sipVal = sipCpp->m_width; + + return PyFloat_FromDouble(sipVal); +} + + +extern "C" {static int varset_wxRect2DDouble_m_width(void *, PyObject *, PyObject *);} +static int varset_wxRect2DDouble_m_width(void *sipSelf, PyObject *sipPy, PyObject *) +{ + wxDouble sipVal; + wxRect2DDouble *sipCpp = reinterpret_cast(sipSelf); + + sipVal = PyFloat_AsDouble(sipPy); + + if (PyErr_Occurred() != NULL) + return -1; + + sipCpp->m_width = sipVal; + + return 0; +} + + +extern "C" {static PyObject *varget_wxRect2DDouble_m_x(void *, PyObject *);} +static PyObject *varget_wxRect2DDouble_m_x(void *sipSelf, PyObject *) +{ + wxDouble sipVal; + wxRect2DDouble *sipCpp = reinterpret_cast(sipSelf); + + sipVal = sipCpp->m_x; + + return PyFloat_FromDouble(sipVal); +} + + +extern "C" {static int varset_wxRect2DDouble_m_x(void *, PyObject *, PyObject *);} +static int varset_wxRect2DDouble_m_x(void *sipSelf, PyObject *sipPy, PyObject *) +{ + wxDouble sipVal; + wxRect2DDouble *sipCpp = reinterpret_cast(sipSelf); + + sipVal = PyFloat_AsDouble(sipPy); + + if (PyErr_Occurred() != NULL) + return -1; + + sipCpp->m_x = sipVal; + + return 0; +} + + +extern "C" {static PyObject *varget_wxRect2DDouble_m_y(void *, PyObject *);} +static PyObject *varget_wxRect2DDouble_m_y(void *sipSelf, PyObject *) +{ + wxDouble sipVal; + wxRect2DDouble *sipCpp = reinterpret_cast(sipSelf); + + sipVal = sipCpp->m_y; + + return PyFloat_FromDouble(sipVal); +} + + +extern "C" {static int varset_wxRect2DDouble_m_y(void *, PyObject *, PyObject *);} +static int varset_wxRect2DDouble_m_y(void *sipSelf, PyObject *sipPy, PyObject *) +{ + wxDouble sipVal; + wxRect2DDouble *sipCpp = reinterpret_cast(sipSelf); + + sipVal = PyFloat_AsDouble(sipPy); + + if (PyErr_Occurred() != NULL) + return -1; + + sipCpp->m_y = sipVal; + + return 0; +} + +sipVariableDef variables_wxRect2DDouble[] = { + {InstanceVariable, sipName_height, (PyMethodDef *)varget_wxRect2DDouble_m_height, (PyMethodDef *)varset_wxRect2DDouble_m_height, NULL, NULL}, + {InstanceVariable, sipName_width, (PyMethodDef *)varget_wxRect2DDouble_m_width, (PyMethodDef *)varset_wxRect2DDouble_m_width, NULL, NULL}, + {InstanceVariable, sipName_x, (PyMethodDef *)varget_wxRect2DDouble_m_x, (PyMethodDef *)varset_wxRect2DDouble_m_x, NULL, NULL}, + {InstanceVariable, sipName_y, (PyMethodDef *)varget_wxRect2DDouble_m_y, (PyMethodDef *)varset_wxRect2DDouble_m_y, NULL, NULL}, +}; + +PyDoc_STRVAR(doc_wxRect2DDouble, "\1Rect2D()\n" + "Rect2D(float, float, float, float)\n" + "Rect2D(Rect2D)"); + + +sipClassTypeDef sipTypeDef__core_wxRect2DDouble = { + { + -1, + 0, + 0, + SIP_TYPE_CLASS, + sipNameNr_wxRect2DDouble, + {0} + }, + { + sipNameNr_Rect2D, + {0, 0, 1}, + 44, methods_wxRect2DDouble, + 0, 0, + 4, variables_wxRect2DDouble, + {0, 0, 0, 0, 0, 0, 0, 0, 0, 0}, + }, + doc_wxRect2DDouble, + -1, + -1, + 0, + slots_wxRect2DDouble, + init_wxRect2DDouble, + 0, + 0, +#if PY_MAJOR_VERSION >= 3 + 0, + 0, +#else + 0, + 0, + 0, + 0, +#endif + dealloc_wxRect2DDouble, + assign_wxRect2DDouble, + array_wxRect2DDouble, + copy_wxRect2DDouble, + release_wxRect2DDouble, + cast_wxRect2DDouble, + 0, + 0, + 0 +}; diff --git a/sip/cpp/sip_corewxRefCounter.cpp b/sip/cpp/sip_corewxRefCounter.cpp new file mode 100644 index 00000000..0eb65d55 --- /dev/null +++ b/sip/cpp/sip_corewxRefCounter.cpp @@ -0,0 +1,285 @@ +/* + * Interface wrapper code. + * + * Generated by SIP 4.12-snapshot-eac351f5cca7 on Wed Nov 10 15:32:07 2010 + * + * Copyright: (c) 2010 by Total Control Software + * Licence: wxWindows license + */ + +#include "sipAPI_core.h" + +#line 17 "sip/gen/object.sip" + #include +#line 15 "sip_corewxRefCounter.cpp" + + + +class sipwxRefCounter : public wxRefCounter +{ +public: + sipwxRefCounter(); + sipwxRefCounter(const wxRefCounter&); + ~sipwxRefCounter(); + +public: + sipSimpleWrapper *sipPySelf; + +private: + sipwxRefCounter(const sipwxRefCounter &); + sipwxRefCounter &operator = (const sipwxRefCounter &); +}; + +sipwxRefCounter::sipwxRefCounter(): wxRefCounter(), sipPySelf(0) +{ +} + +sipwxRefCounter::sipwxRefCounter(const wxRefCounter& a0): wxRefCounter(a0), sipPySelf(0) +{ +} + +sipwxRefCounter::~sipwxRefCounter() +{ + sipCommonDtor(sipPySelf); +} + + +PyDoc_STRVAR(doc_wxRefCounter_DecRef, "RefCounter.DecRef()"); + +extern "C" {static PyObject *meth_wxRefCounter_DecRef(PyObject *, PyObject *);} +static PyObject *meth_wxRefCounter_DecRef(PyObject *sipSelf, PyObject *sipArgs) +{ + PyObject *sipParseErr = NULL; + + { + wxRefCounter *sipCpp; + + if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_wxRefCounter, &sipCpp)) + { + try + { + sipCpp->DecRef(); + } + catch (...) + { + sipRaiseUnknownException(); + return NULL; + } + + Py_INCREF(Py_None); + return Py_None; + } + } + + /* Raise an exception if the arguments couldn't be parsed. */ + sipNoMethod(sipParseErr, sipName_RefCounter, sipName_DecRef, doc_wxRefCounter_DecRef); + + return NULL; +} + + +PyDoc_STRVAR(doc_wxRefCounter_GetRefCount, "RefCounter.GetRefCount() -> int"); + +extern "C" {static PyObject *meth_wxRefCounter_GetRefCount(PyObject *, PyObject *);} +static PyObject *meth_wxRefCounter_GetRefCount(PyObject *sipSelf, PyObject *sipArgs) +{ + PyObject *sipParseErr = NULL; + + { + wxRefCounter *sipCpp; + + if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_wxRefCounter, &sipCpp)) + { + int sipRes; + + try + { + sipRes = sipCpp->GetRefCount(); + } + catch (...) + { + sipRaiseUnknownException(); + return NULL; + } + + return SIPLong_FromLong(sipRes); + } + } + + /* Raise an exception if the arguments couldn't be parsed. */ + sipNoMethod(sipParseErr, sipName_RefCounter, sipName_GetRefCount, doc_wxRefCounter_GetRefCount); + + return NULL; +} + + +PyDoc_STRVAR(doc_wxRefCounter_IncRef, "RefCounter.IncRef()"); + +extern "C" {static PyObject *meth_wxRefCounter_IncRef(PyObject *, PyObject *);} +static PyObject *meth_wxRefCounter_IncRef(PyObject *sipSelf, PyObject *sipArgs) +{ + PyObject *sipParseErr = NULL; + + { + wxRefCounter *sipCpp; + + if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_wxRefCounter, &sipCpp)) + { + try + { + sipCpp->IncRef(); + } + catch (...) + { + sipRaiseUnknownException(); + return NULL; + } + + Py_INCREF(Py_None); + return Py_None; + } + } + + /* Raise an exception if the arguments couldn't be parsed. */ + sipNoMethod(sipParseErr, sipName_RefCounter, sipName_IncRef, doc_wxRefCounter_IncRef); + + return NULL; +} + + +/* Cast a pointer to a type somewhere in its superclass hierarchy. */ +extern "C" {static void *cast_wxRefCounter(void *, const sipTypeDef *);} +static void *cast_wxRefCounter(void *ptr, const sipTypeDef *targetType) +{ + if (targetType == sipType_wxRefCounter) + return ptr; + + return NULL; +} + + +/* Call the instance's destructor. */ +extern "C" {static void release_wxRefCounter(void *, int);} +static void release_wxRefCounter(void *sipCppV,int sipState) +{ + if (sipState & SIP_DERIVED_CLASS) + delete reinterpret_cast(sipCppV); +} + + +extern "C" {static void dealloc_wxRefCounter(sipSimpleWrapper *);} +static void dealloc_wxRefCounter(sipSimpleWrapper *sipSelf) +{ + if (sipIsDerived(sipSelf)) + reinterpret_cast(sipGetAddress(sipSelf))->sipPySelf = NULL; + + if (sipIsPyOwned(sipSelf)) + { + release_wxRefCounter(sipGetAddress(sipSelf),sipSelf->flags); + } +} + + +extern "C" {static void *init_wxRefCounter(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);} +static void *init_wxRefCounter(sipSimpleWrapper *sipSelf, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **, PyObject **sipParseErr) +{ + sipwxRefCounter *sipCpp = 0; + + { + if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "")) + { + try + { + sipCpp = new sipwxRefCounter(); + } + catch (...) + { + sipRaiseUnknownException(); + return NULL; + } + + sipCpp->sipPySelf = sipSelf; + + return sipCpp; + } + } + + { + const wxRefCounter * a0; + + if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J9", sipType_wxRefCounter, &a0)) + { + try + { + sipCpp = new sipwxRefCounter(*a0); + } + catch (...) + { + sipRaiseUnknownException(); + return NULL; + } + + sipCpp->sipPySelf = sipSelf; + + return sipCpp; + } + } + + return NULL; +} + + +static PyMethodDef methods_wxRefCounter[] = { + {SIP_MLNAME_CAST(sipName_DecRef), meth_wxRefCounter_DecRef, METH_VARARGS, SIP_MLDOC_CAST(doc_wxRefCounter_DecRef)}, + {SIP_MLNAME_CAST(sipName_GetRefCount), meth_wxRefCounter_GetRefCount, METH_VARARGS, SIP_MLDOC_CAST(doc_wxRefCounter_GetRefCount)}, + {SIP_MLNAME_CAST(sipName_IncRef), meth_wxRefCounter_IncRef, METH_VARARGS, SIP_MLDOC_CAST(doc_wxRefCounter_IncRef)} +}; + +PyDoc_STRVAR(doc_wxRefCounter, "\1RefCounter()\n" + "RefCounter(RefCounter)"); + + +sipClassTypeDef sipTypeDef__core_wxRefCounter = { + { + -1, + 0, + 0, + SIP_TYPE_CLASS, + sipNameNr_wxRefCounter, + {0} + }, + { + sipNameNr_RefCounter, + {0, 0, 1}, + 3, methods_wxRefCounter, + 0, 0, + 0, 0, + {0, 0, 0, 0, 0, 0, 0, 0, 0, 0}, + }, + doc_wxRefCounter, + -1, + -1, + 0, + 0, + init_wxRefCounter, + 0, + 0, +#if PY_MAJOR_VERSION >= 3 + 0, + 0, +#else + 0, + 0, + 0, + 0, +#endif + dealloc_wxRefCounter, + 0, + 0, + 0, + release_wxRefCounter, + cast_wxRefCounter, + 0, + 0, + 0 +}; diff --git a/sip/cpp/sip_corewxSize.cpp b/sip/cpp/sip_corewxSize.cpp new file mode 100644 index 00000000..c4069360 --- /dev/null +++ b/sip/cpp/sip_corewxSize.cpp @@ -0,0 +1,1340 @@ +/* + * Interface wrapper code. + * + * Generated by SIP 4.12-snapshot-eac351f5cca7 on Wed Nov 10 15:32:07 2010 + * + * Copyright: (c) 2010 by Total Control Software + * Licence: wxWindows license + */ + +#include "sipAPI_core.h" + +#line 119 "sip/gen/gdicmn.sip" + #include +#line 15 "sip_corewxSize.cpp" + +#line 22 "sip/gen/gdicmn.sip" + #include +#line 19 "sip_corewxSize.cpp" + + +PyDoc_STRVAR(doc_wxSize_DecBy, "Size.DecBy(Point)\n" + "Size.DecBy(Size)\n" + "Size.DecBy(int, int)\n" + "Size.DecBy(int)"); + +extern "C" {static PyObject *meth_wxSize_DecBy(PyObject *, PyObject *, PyObject *);} +static PyObject *meth_wxSize_DecBy(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds) +{ + PyObject *sipParseErr = NULL; + + { + const wxPoint * pt; + int ptState = 0; + wxSize *sipCpp; + + static const char *sipKwdList[] = { + sipName_pt, + }; + + if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "BJ1", &sipSelf, sipType_wxSize, &sipCpp, sipType_wxPoint, &pt, &ptState)) + { + try + { + sipCpp->DecBy(*pt); + } + catch (...) + { + sipReleaseType(const_cast(pt),sipType_wxPoint,ptState); + sipRaiseUnknownException(); + return NULL; + } + sipReleaseType(const_cast(pt),sipType_wxPoint,ptState); + + Py_INCREF(Py_None); + return Py_None; + } + } + + { + const wxSize * size; + wxSize *sipCpp; + + static const char *sipKwdList[] = { + sipName_size, + }; + + if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "BJ9", &sipSelf, sipType_wxSize, &sipCpp, sipType_wxSize, &size)) + { + try + { + sipCpp->DecBy(*size); + } + catch (...) + { + sipRaiseUnknownException(); + return NULL; + } + + Py_INCREF(Py_None); + return Py_None; + } + } + + { + int dx; + int dy; + wxSize *sipCpp; + + static const char *sipKwdList[] = { + sipName_dx, + sipName_dy, + }; + + if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "Bii", &sipSelf, sipType_wxSize, &sipCpp, &dx, &dy)) + { + try + { + sipCpp->DecBy(dx,dy); + } + catch (...) + { + sipRaiseUnknownException(); + return NULL; + } + + Py_INCREF(Py_None); + return Py_None; + } + } + + { + int d; + wxSize *sipCpp; + + static const char *sipKwdList[] = { + sipName_d, + }; + + if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "Bi", &sipSelf, sipType_wxSize, &sipCpp, &d)) + { + try + { + sipCpp->DecBy(d); + } + catch (...) + { + sipRaiseUnknownException(); + return NULL; + } + + Py_INCREF(Py_None); + return Py_None; + } + } + + /* Raise an exception if the arguments couldn't be parsed. */ + sipNoMethod(sipParseErr, sipName_Size, sipName_DecBy, doc_wxSize_DecBy); + + return NULL; +} + + +PyDoc_STRVAR(doc_wxSize_IncBy, "Size.IncBy(Point)\n" + "Size.IncBy(Size)\n" + "Size.IncBy(int, int)\n" + "Size.IncBy(int)"); + +extern "C" {static PyObject *meth_wxSize_IncBy(PyObject *, PyObject *, PyObject *);} +static PyObject *meth_wxSize_IncBy(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds) +{ + PyObject *sipParseErr = NULL; + + { + const wxPoint * pt; + int ptState = 0; + wxSize *sipCpp; + + static const char *sipKwdList[] = { + sipName_pt, + }; + + if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "BJ1", &sipSelf, sipType_wxSize, &sipCpp, sipType_wxPoint, &pt, &ptState)) + { + try + { + sipCpp->IncBy(*pt); + } + catch (...) + { + sipReleaseType(const_cast(pt),sipType_wxPoint,ptState); + sipRaiseUnknownException(); + return NULL; + } + sipReleaseType(const_cast(pt),sipType_wxPoint,ptState); + + Py_INCREF(Py_None); + return Py_None; + } + } + + { + const wxSize * size; + wxSize *sipCpp; + + static const char *sipKwdList[] = { + sipName_size, + }; + + if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "BJ9", &sipSelf, sipType_wxSize, &sipCpp, sipType_wxSize, &size)) + { + try + { + sipCpp->IncBy(*size); + } + catch (...) + { + sipRaiseUnknownException(); + return NULL; + } + + Py_INCREF(Py_None); + return Py_None; + } + } + + { + int dx; + int dy; + wxSize *sipCpp; + + static const char *sipKwdList[] = { + sipName_dx, + sipName_dy, + }; + + if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "Bii", &sipSelf, sipType_wxSize, &sipCpp, &dx, &dy)) + { + try + { + sipCpp->IncBy(dx,dy); + } + catch (...) + { + sipRaiseUnknownException(); + return NULL; + } + + Py_INCREF(Py_None); + return Py_None; + } + } + + { + int d; + wxSize *sipCpp; + + static const char *sipKwdList[] = { + sipName_d, + }; + + if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "Bi", &sipSelf, sipType_wxSize, &sipCpp, &d)) + { + try + { + sipCpp->IncBy(d); + } + catch (...) + { + sipRaiseUnknownException(); + return NULL; + } + + Py_INCREF(Py_None); + return Py_None; + } + } + + /* Raise an exception if the arguments couldn't be parsed. */ + sipNoMethod(sipParseErr, sipName_Size, sipName_IncBy, doc_wxSize_IncBy); + + return NULL; +} + + +PyDoc_STRVAR(doc_wxSize_DecTo, "Size.DecTo(Size)"); + +extern "C" {static PyObject *meth_wxSize_DecTo(PyObject *, PyObject *, PyObject *);} +static PyObject *meth_wxSize_DecTo(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds) +{ + PyObject *sipParseErr = NULL; + + { + const wxSize * size; + wxSize *sipCpp; + + static const char *sipKwdList[] = { + sipName_size, + }; + + if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "BJ9", &sipSelf, sipType_wxSize, &sipCpp, sipType_wxSize, &size)) + { + try + { + sipCpp->DecTo(*size); + } + catch (...) + { + sipRaiseUnknownException(); + return NULL; + } + + Py_INCREF(Py_None); + return Py_None; + } + } + + /* Raise an exception if the arguments couldn't be parsed. */ + sipNoMethod(sipParseErr, sipName_Size, sipName_DecTo, doc_wxSize_DecTo); + + return NULL; +} + + +PyDoc_STRVAR(doc_wxSize_GetHeight, "Size.GetHeight() -> int"); + +extern "C" {static PyObject *meth_wxSize_GetHeight(PyObject *, PyObject *);} +static PyObject *meth_wxSize_GetHeight(PyObject *sipSelf, PyObject *sipArgs) +{ + PyObject *sipParseErr = NULL; + + { + wxSize *sipCpp; + + if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_wxSize, &sipCpp)) + { + int sipRes; + + try + { + sipRes = sipCpp->GetHeight(); + } + catch (...) + { + sipRaiseUnknownException(); + return NULL; + } + + return SIPLong_FromLong(sipRes); + } + } + + /* Raise an exception if the arguments couldn't be parsed. */ + sipNoMethod(sipParseErr, sipName_Size, sipName_GetHeight, doc_wxSize_GetHeight); + + return NULL; +} + + +PyDoc_STRVAR(doc_wxSize_GetWidth, "Size.GetWidth() -> int"); + +extern "C" {static PyObject *meth_wxSize_GetWidth(PyObject *, PyObject *);} +static PyObject *meth_wxSize_GetWidth(PyObject *sipSelf, PyObject *sipArgs) +{ + PyObject *sipParseErr = NULL; + + { + wxSize *sipCpp; + + if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_wxSize, &sipCpp)) + { + int sipRes; + + try + { + sipRes = sipCpp->GetWidth(); + } + catch (...) + { + sipRaiseUnknownException(); + return NULL; + } + + return SIPLong_FromLong(sipRes); + } + } + + /* Raise an exception if the arguments couldn't be parsed. */ + sipNoMethod(sipParseErr, sipName_Size, sipName_GetWidth, doc_wxSize_GetWidth); + + return NULL; +} + + +PyDoc_STRVAR(doc_wxSize_IncTo, "Size.IncTo(Size)"); + +extern "C" {static PyObject *meth_wxSize_IncTo(PyObject *, PyObject *, PyObject *);} +static PyObject *meth_wxSize_IncTo(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds) +{ + PyObject *sipParseErr = NULL; + + { + const wxSize * size; + wxSize *sipCpp; + + static const char *sipKwdList[] = { + sipName_size, + }; + + if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "BJ9", &sipSelf, sipType_wxSize, &sipCpp, sipType_wxSize, &size)) + { + try + { + sipCpp->IncTo(*size); + } + catch (...) + { + sipRaiseUnknownException(); + return NULL; + } + + Py_INCREF(Py_None); + return Py_None; + } + } + + /* Raise an exception if the arguments couldn't be parsed. */ + sipNoMethod(sipParseErr, sipName_Size, sipName_IncTo, doc_wxSize_IncTo); + + return NULL; +} + + +PyDoc_STRVAR(doc_wxSize_IsFullySpecified, "Size.IsFullySpecified() -> bool"); + +extern "C" {static PyObject *meth_wxSize_IsFullySpecified(PyObject *, PyObject *);} +static PyObject *meth_wxSize_IsFullySpecified(PyObject *sipSelf, PyObject *sipArgs) +{ + PyObject *sipParseErr = NULL; + + { + wxSize *sipCpp; + + if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_wxSize, &sipCpp)) + { + bool sipRes; + + try + { + sipRes = sipCpp->IsFullySpecified(); + } + catch (...) + { + sipRaiseUnknownException(); + return NULL; + } + + return PyBool_FromLong(sipRes); + } + } + + /* Raise an exception if the arguments couldn't be parsed. */ + sipNoMethod(sipParseErr, sipName_Size, sipName_IsFullySpecified, doc_wxSize_IsFullySpecified); + + return NULL; +} + + +PyDoc_STRVAR(doc_wxSize_Scale, "Size.Scale(float, float) -> Size"); + +extern "C" {static PyObject *meth_wxSize_Scale(PyObject *, PyObject *, PyObject *);} +static PyObject *meth_wxSize_Scale(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds) +{ + PyObject *sipParseErr = NULL; + + { + float xscale; + float yscale; + wxSize *sipCpp; + + static const char *sipKwdList[] = { + sipName_xscale, + sipName_yscale, + }; + + if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "Bff", &sipSelf, sipType_wxSize, &sipCpp, &xscale, &yscale)) + { + wxSize *sipRes; + + try + { + sipRes = &sipCpp->Scale(xscale,yscale); + } + catch (...) + { + sipRaiseUnknownException(); + return NULL; + } + + return sipConvertFromType(sipRes,sipType_wxSize,NULL); + } + } + + /* Raise an exception if the arguments couldn't be parsed. */ + sipNoMethod(sipParseErr, sipName_Size, sipName_Scale, doc_wxSize_Scale); + + return NULL; +} + + +PyDoc_STRVAR(doc_wxSize_Set, "Size.Set(int, int)"); + +extern "C" {static PyObject *meth_wxSize_Set(PyObject *, PyObject *, PyObject *);} +static PyObject *meth_wxSize_Set(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds) +{ + PyObject *sipParseErr = NULL; + + { + int width; + int height; + wxSize *sipCpp; + + static const char *sipKwdList[] = { + sipName_width, + sipName_height, + }; + + if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "Bii", &sipSelf, sipType_wxSize, &sipCpp, &width, &height)) + { + try + { + sipCpp->Set(width,height); + } + catch (...) + { + sipRaiseUnknownException(); + return NULL; + } + + Py_INCREF(Py_None); + return Py_None; + } + } + + /* Raise an exception if the arguments couldn't be parsed. */ + sipNoMethod(sipParseErr, sipName_Size, sipName_Set, doc_wxSize_Set); + + return NULL; +} + + +PyDoc_STRVAR(doc_wxSize_SetDefaults, "Size.SetDefaults(Size)"); + +extern "C" {static PyObject *meth_wxSize_SetDefaults(PyObject *, PyObject *, PyObject *);} +static PyObject *meth_wxSize_SetDefaults(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds) +{ + PyObject *sipParseErr = NULL; + + { + const wxSize * sizeDefault; + wxSize *sipCpp; + + static const char *sipKwdList[] = { + sipName_sizeDefault, + }; + + if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "BJ9", &sipSelf, sipType_wxSize, &sipCpp, sipType_wxSize, &sizeDefault)) + { + try + { + sipCpp->SetDefaults(*sizeDefault); + } + catch (...) + { + sipRaiseUnknownException(); + return NULL; + } + + Py_INCREF(Py_None); + return Py_None; + } + } + + /* Raise an exception if the arguments couldn't be parsed. */ + sipNoMethod(sipParseErr, sipName_Size, sipName_SetDefaults, doc_wxSize_SetDefaults); + + return NULL; +} + + +PyDoc_STRVAR(doc_wxSize_SetHeight, "Size.SetHeight(int)"); + +extern "C" {static PyObject *meth_wxSize_SetHeight(PyObject *, PyObject *, PyObject *);} +static PyObject *meth_wxSize_SetHeight(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds) +{ + PyObject *sipParseErr = NULL; + + { + int height; + wxSize *sipCpp; + + static const char *sipKwdList[] = { + sipName_height, + }; + + if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "Bi", &sipSelf, sipType_wxSize, &sipCpp, &height)) + { + try + { + sipCpp->SetHeight(height); + } + catch (...) + { + sipRaiseUnknownException(); + return NULL; + } + + Py_INCREF(Py_None); + return Py_None; + } + } + + /* Raise an exception if the arguments couldn't be parsed. */ + sipNoMethod(sipParseErr, sipName_Size, sipName_SetHeight, doc_wxSize_SetHeight); + + return NULL; +} + + +PyDoc_STRVAR(doc_wxSize_SetWidth, "Size.SetWidth(int)"); + +extern "C" {static PyObject *meth_wxSize_SetWidth(PyObject *, PyObject *, PyObject *);} +static PyObject *meth_wxSize_SetWidth(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds) +{ + PyObject *sipParseErr = NULL; + + { + int width; + wxSize *sipCpp; + + static const char *sipKwdList[] = { + sipName_width, + }; + + if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "Bi", &sipSelf, sipType_wxSize, &sipCpp, &width)) + { + try + { + sipCpp->SetWidth(width); + } + catch (...) + { + sipRaiseUnknownException(); + return NULL; + } + + Py_INCREF(Py_None); + return Py_None; + } + } + + /* Raise an exception if the arguments couldn't be parsed. */ + sipNoMethod(sipParseErr, sipName_Size, sipName_SetWidth, doc_wxSize_SetWidth); + + return NULL; +} + + +extern "C" {static PyObject *slot_wxSize___eq__(PyObject *,PyObject *);} +static PyObject *slot_wxSize___eq__(PyObject *sipSelf,PyObject *sipArg) +{ + wxSize *sipCpp = reinterpret_cast(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_wxSize)); + + if (!sipCpp) + return 0; + + PyObject *sipParseErr = NULL; + + { + const wxSize * s2; + + if (sipParseArgs(&sipParseErr, sipArg, "1J9", sipType_wxSize, &s2)) + { + bool sipRes; + + try + { + sipRes = operator==((*sipCpp), *s2); + } + catch (...) + { + sipRaiseUnknownException(); + return NULL; + } + + return PyBool_FromLong(sipRes); + } + } + + Py_XDECREF(sipParseErr); + + if (sipParseErr == Py_None) + return NULL; + + return sipPySlotExtend(&sipModuleAPI__core,eq_slot,sipType_wxSize,sipSelf,sipArg); +} + + +extern "C" {static PyObject *slot_wxSize___ne__(PyObject *,PyObject *);} +static PyObject *slot_wxSize___ne__(PyObject *sipSelf,PyObject *sipArg) +{ + wxSize *sipCpp = reinterpret_cast(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_wxSize)); + + if (!sipCpp) + return 0; + + PyObject *sipParseErr = NULL; + + { + const wxSize * s2; + + if (sipParseArgs(&sipParseErr, sipArg, "1J9", sipType_wxSize, &s2)) + { + bool sipRes; + + try + { + sipRes = operator!=((*sipCpp), *s2); + } + catch (...) + { + sipRaiseUnknownException(); + return NULL; + } + + return PyBool_FromLong(sipRes); + } + } + + Py_XDECREF(sipParseErr); + + if (sipParseErr == Py_None) + return NULL; + + return sipPySlotExtend(&sipModuleAPI__core,ne_slot,sipType_wxSize,sipSelf,sipArg); +} + + +extern "C" {static PyObject *slot_wxSize___add__(PyObject *,PyObject *);} +static PyObject *slot_wxSize___add__(PyObject *sipArg0,PyObject *sipArg1) +{ + PyObject *sipParseErr = NULL; + + { + const wxSize * s; + const wxPoint * p; + int pState = 0; + + if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J9J1", sipType_wxSize, &s, sipType_wxPoint, &p, &pState)) + { + wxPoint *sipRes; + + try + { + sipRes = new wxPoint((*s + *p)); + } + catch (...) + { + sipReleaseType(const_cast(p),sipType_wxPoint,pState); + sipRaiseUnknownException(); + return NULL; + } + sipReleaseType(const_cast(p),sipType_wxPoint,pState); + + return sipConvertFromNewType(sipRes,sipType_wxPoint,NULL); + } + } + + { + const wxSize * s1; + const wxSize * s2; + + if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J9J9", sipType_wxSize, &s1, sipType_wxSize, &s2)) + { + wxSize *sipRes; + + try + { + sipRes = new wxSize((*s1 + *s2)); + } + catch (...) + { + sipRaiseUnknownException(); + return NULL; + } + + return sipConvertFromNewType(sipRes,sipType_wxSize,NULL); + } + } + + Py_XDECREF(sipParseErr); + + if (sipParseErr == Py_None) + return NULL; + + return sipPySlotExtend(&sipModuleAPI__core,add_slot,NULL,sipArg0,sipArg1); +} + + +extern "C" {static PyObject *slot_wxSize___sub__(PyObject *,PyObject *);} +static PyObject *slot_wxSize___sub__(PyObject *sipArg0,PyObject *sipArg1) +{ + PyObject *sipParseErr = NULL; + + { + const wxSize * s; + const wxPoint * p; + int pState = 0; + + if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J9J1", sipType_wxSize, &s, sipType_wxPoint, &p, &pState)) + { + wxPoint *sipRes; + + try + { + sipRes = new wxPoint((*s - *p)); + } + catch (...) + { + sipReleaseType(const_cast(p),sipType_wxPoint,pState); + sipRaiseUnknownException(); + return NULL; + } + sipReleaseType(const_cast(p),sipType_wxPoint,pState); + + return sipConvertFromNewType(sipRes,sipType_wxPoint,NULL); + } + } + + { + const wxSize * s1; + const wxSize * s2; + + if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J9J9", sipType_wxSize, &s1, sipType_wxSize, &s2)) + { + wxSize *sipRes; + + try + { + sipRes = new wxSize((*s1 - *s2)); + } + catch (...) + { + sipRaiseUnknownException(); + return NULL; + } + + return sipConvertFromNewType(sipRes,sipType_wxSize,NULL); + } + } + + Py_XDECREF(sipParseErr); + + if (sipParseErr == Py_None) + return NULL; + + return sipPySlotExtend(&sipModuleAPI__core,sub_slot,NULL,sipArg0,sipArg1); +} + + +extern "C" {static PyObject *slot_wxSize___mul__(PyObject *,PyObject *);} +static PyObject *slot_wxSize___mul__(PyObject *sipArg0,PyObject *sipArg1) +{ + PyObject *sipParseErr = NULL; + + { + const wxSize * s; + int i; + + if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J9i", sipType_wxSize, &s, &i)) + { + wxSize *sipRes; + + try + { + sipRes = new wxSize((*s * i)); + } + catch (...) + { + sipRaiseUnknownException(); + return NULL; + } + + return sipConvertFromNewType(sipRes,sipType_wxSize,NULL); + } + } + + { + int i; + const wxSize * s; + + if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "iJ9", &i, sipType_wxSize, &s)) + { + wxSize *sipRes; + + try + { + sipRes = new wxSize((i * *s)); + } + catch (...) + { + sipRaiseUnknownException(); + return NULL; + } + + return sipConvertFromNewType(sipRes,sipType_wxSize,NULL); + } + } + + Py_XDECREF(sipParseErr); + + if (sipParseErr == Py_None) + return NULL; + + return sipPySlotExtend(&sipModuleAPI__core,mul_slot,NULL,sipArg0,sipArg1); +} + + +extern "C" {static PyObject *slot_wxSize___div__(PyObject *,PyObject *);} +static PyObject *slot_wxSize___div__(PyObject *sipArg0,PyObject *sipArg1) +{ + PyObject *sipParseErr = NULL; + + { + const wxSize * s; + int i; + + if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J9i", sipType_wxSize, &s, &i)) + { + wxSize *sipRes; + + try + { + sipRes = new wxSize((*s / i)); + } + catch (...) + { + sipRaiseUnknownException(); + return NULL; + } + + return sipConvertFromNewType(sipRes,sipType_wxSize,NULL); + } + } + + Py_XDECREF(sipParseErr); + + if (sipParseErr == Py_None) + return NULL; + + return sipPySlotExtend(&sipModuleAPI__core,div_slot,NULL,sipArg0,sipArg1); +} + + +extern "C" {static PyObject *slot_wxSize___imul__(PyObject *,PyObject *);} +static PyObject *slot_wxSize___imul__(PyObject *sipSelf,PyObject *sipArg) +{ + if (!PyObject_TypeCheck(sipSelf, sipTypeAsPyTypeObject(sipType_wxSize))) + { + Py_INCREF(Py_NotImplemented); + return Py_NotImplemented; + } + + wxSize *sipCpp = reinterpret_cast(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_wxSize)); + + if (!sipCpp) + return 0; + + PyObject *sipParseErr = NULL; + + { + int factor; + + if (sipParseArgs(&sipParseErr, sipArg, "1i", &factor)) + { + try + { + sipCpp->wxSize::operator*=(factor); + } + catch (...) + { + sipRaiseUnknownException(); + return NULL; + } + + Py_INCREF(sipSelf); + return sipSelf; + } + } + + Py_XDECREF(sipParseErr); + + if (sipParseErr == Py_None) + return NULL; + + PyErr_Clear(); + + Py_INCREF(Py_NotImplemented); + return Py_NotImplemented; +} + + +extern "C" {static PyObject *slot_wxSize___idiv__(PyObject *,PyObject *);} +static PyObject *slot_wxSize___idiv__(PyObject *sipSelf,PyObject *sipArg) +{ + if (!PyObject_TypeCheck(sipSelf, sipTypeAsPyTypeObject(sipType_wxSize))) + { + Py_INCREF(Py_NotImplemented); + return Py_NotImplemented; + } + + wxSize *sipCpp = reinterpret_cast(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_wxSize)); + + if (!sipCpp) + return 0; + + PyObject *sipParseErr = NULL; + + { + int factor; + + if (sipParseArgs(&sipParseErr, sipArg, "1i", &factor)) + { + try + { + sipCpp->wxSize::operator/=(factor); + } + catch (...) + { + sipRaiseUnknownException(); + return NULL; + } + + Py_INCREF(sipSelf); + return sipSelf; + } + } + + Py_XDECREF(sipParseErr); + + if (sipParseErr == Py_None) + return NULL; + + PyErr_Clear(); + + Py_INCREF(Py_NotImplemented); + return Py_NotImplemented; +} + + +extern "C" {static PyObject *slot_wxSize___isub__(PyObject *,PyObject *);} +static PyObject *slot_wxSize___isub__(PyObject *sipSelf,PyObject *sipArg) +{ + if (!PyObject_TypeCheck(sipSelf, sipTypeAsPyTypeObject(sipType_wxSize))) + { + Py_INCREF(Py_NotImplemented); + return Py_NotImplemented; + } + + wxSize *sipCpp = reinterpret_cast(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_wxSize)); + + if (!sipCpp) + return 0; + + PyObject *sipParseErr = NULL; + + { + const wxSize * sz; + + if (sipParseArgs(&sipParseErr, sipArg, "1J9", sipType_wxSize, &sz)) + { + try + { + sipCpp->wxSize::operator-=(*sz); + } + catch (...) + { + sipRaiseUnknownException(); + return NULL; + } + + Py_INCREF(sipSelf); + return sipSelf; + } + } + + Py_XDECREF(sipParseErr); + + if (sipParseErr == Py_None) + return NULL; + + PyErr_Clear(); + + Py_INCREF(Py_NotImplemented); + return Py_NotImplemented; +} + + +extern "C" {static PyObject *slot_wxSize___iadd__(PyObject *,PyObject *);} +static PyObject *slot_wxSize___iadd__(PyObject *sipSelf,PyObject *sipArg) +{ + if (!PyObject_TypeCheck(sipSelf, sipTypeAsPyTypeObject(sipType_wxSize))) + { + Py_INCREF(Py_NotImplemented); + return Py_NotImplemented; + } + + wxSize *sipCpp = reinterpret_cast(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_wxSize)); + + if (!sipCpp) + return 0; + + PyObject *sipParseErr = NULL; + + { + const wxSize * sz; + + if (sipParseArgs(&sipParseErr, sipArg, "1J9", sipType_wxSize, &sz)) + { + try + { + sipCpp->wxSize::operator+=(*sz); + } + catch (...) + { + sipRaiseUnknownException(); + return NULL; + } + + Py_INCREF(sipSelf); + return sipSelf; + } + } + + Py_XDECREF(sipParseErr); + + if (sipParseErr == Py_None) + return NULL; + + PyErr_Clear(); + + Py_INCREF(Py_NotImplemented); + return Py_NotImplemented; +} + + +/* Cast a pointer to a type somewhere in its superclass hierarchy. */ +extern "C" {static void *cast_wxSize(void *, const sipTypeDef *);} +static void *cast_wxSize(void *ptr, const sipTypeDef *targetType) +{ + if (targetType == sipType_wxSize) + return ptr; + + return NULL; +} + + +/* Call the instance's destructor. */ +extern "C" {static void release_wxSize(void *, int);} +static void release_wxSize(void *sipCppV,int) +{ + delete reinterpret_cast(sipCppV); +} + + +extern "C" {static void assign_wxSize(void *, SIP_SSIZE_T, const void *);} +static void assign_wxSize(void *sipDst, SIP_SSIZE_T sipDstIdx, const void *sipSrc) +{ + reinterpret_cast(sipDst)[sipDstIdx] = *reinterpret_cast(sipSrc); +} + + +extern "C" {static void *array_wxSize(SIP_SSIZE_T);} +static void *array_wxSize(SIP_SSIZE_T sipNrElem) +{ + return new wxSize[sipNrElem]; +} + + +extern "C" {static void *copy_wxSize(const void *, SIP_SSIZE_T);} +static void *copy_wxSize(const void *sipSrc, SIP_SSIZE_T sipSrcIdx) +{ + return new wxSize(reinterpret_cast(sipSrc)[sipSrcIdx]); +} + + +extern "C" {static void dealloc_wxSize(sipSimpleWrapper *);} +static void dealloc_wxSize(sipSimpleWrapper *sipSelf) +{ + if (sipIsPyOwned(sipSelf)) + { + release_wxSize(sipGetAddress(sipSelf),0); + } +} + + +extern "C" {static void *init_wxSize(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);} +static void *init_wxSize(sipSimpleWrapper *, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **, PyObject **sipParseErr) +{ + wxSize *sipCpp = 0; + + { + if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "")) + { + try + { + sipCpp = new wxSize(); + } + catch (...) + { + sipRaiseUnknownException(); + return NULL; + } + + return sipCpp; + } + } + + { + int width; + int height; + + static const char *sipKwdList[] = { + sipName_width, + sipName_height, + }; + + if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, sipKwdList, sipUnused, "ii", &width, &height)) + { + try + { + sipCpp = new wxSize(width,height); + } + catch (...) + { + sipRaiseUnknownException(); + return NULL; + } + + return sipCpp; + } + } + + { + const wxSize * a0; + + if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J9", sipType_wxSize, &a0)) + { + try + { + sipCpp = new wxSize(*a0); + } + catch (...) + { + sipRaiseUnknownException(); + return NULL; + } + + return sipCpp; + } + } + + return NULL; +} + + +/* Define this type's Python slots. */ +static sipPySlotDef slots_wxSize[] = { + {(void *)slot_wxSize___eq__, eq_slot}, + {(void *)slot_wxSize___ne__, ne_slot}, + {(void *)slot_wxSize___add__, add_slot}, + {(void *)slot_wxSize___sub__, sub_slot}, + {(void *)slot_wxSize___mul__, mul_slot}, + {(void *)slot_wxSize___div__, div_slot}, + {(void *)slot_wxSize___imul__, imul_slot}, + {(void *)slot_wxSize___idiv__, idiv_slot}, + {(void *)slot_wxSize___isub__, isub_slot}, + {(void *)slot_wxSize___iadd__, iadd_slot}, + {0, (sipPySlotType)0} +}; + + +static PyMethodDef methods_wxSize[] = { + {SIP_MLNAME_CAST(sipName_DecBy), (PyCFunction)meth_wxSize_DecBy, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_wxSize_DecBy)}, + {SIP_MLNAME_CAST(sipName_DecTo), (PyCFunction)meth_wxSize_DecTo, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_wxSize_DecTo)}, + {SIP_MLNAME_CAST(sipName_GetHeight), meth_wxSize_GetHeight, METH_VARARGS, SIP_MLDOC_CAST(doc_wxSize_GetHeight)}, + {SIP_MLNAME_CAST(sipName_GetWidth), meth_wxSize_GetWidth, METH_VARARGS, SIP_MLDOC_CAST(doc_wxSize_GetWidth)}, + {SIP_MLNAME_CAST(sipName_IncBy), (PyCFunction)meth_wxSize_IncBy, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_wxSize_IncBy)}, + {SIP_MLNAME_CAST(sipName_IncTo), (PyCFunction)meth_wxSize_IncTo, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_wxSize_IncTo)}, + {SIP_MLNAME_CAST(sipName_IsFullySpecified), meth_wxSize_IsFullySpecified, METH_VARARGS, SIP_MLDOC_CAST(doc_wxSize_IsFullySpecified)}, + {SIP_MLNAME_CAST(sipName_Scale), (PyCFunction)meth_wxSize_Scale, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_wxSize_Scale)}, + {SIP_MLNAME_CAST(sipName_Set), (PyCFunction)meth_wxSize_Set, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_wxSize_Set)}, + {SIP_MLNAME_CAST(sipName_SetDefaults), (PyCFunction)meth_wxSize_SetDefaults, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_wxSize_SetDefaults)}, + {SIP_MLNAME_CAST(sipName_SetHeight), (PyCFunction)meth_wxSize_SetHeight, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_wxSize_SetHeight)}, + {SIP_MLNAME_CAST(sipName_SetWidth), (PyCFunction)meth_wxSize_SetWidth, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_wxSize_SetWidth)} +}; + +sipVariableDef variables_wxSize[] = { + {PropertyVariable, sipName_height, &methods_wxSize[2], &methods_wxSize[10], NULL, NULL}, + {PropertyVariable, sipName_width, &methods_wxSize[3], &methods_wxSize[11], NULL, NULL}, +}; + +PyDoc_STRVAR(doc_wxSize, "\1Size()\n" + "Size(int, int)\n" + "Size(Size)"); + + +sipClassTypeDef sipTypeDef__core_wxSize = { + { + -1, + 0, + 0, + SIP_TYPE_CLASS, + sipNameNr_wxSize, + {0} + }, + { + sipNameNr_Size, + {0, 0, 1}, + 12, methods_wxSize, + 0, 0, + 2, variables_wxSize, + {0, 0, 0, 0, 0, 0, 0, 0, 0, 0}, + }, + doc_wxSize, + -1, + -1, + 0, + slots_wxSize, + init_wxSize, + 0, + 0, +#if PY_MAJOR_VERSION >= 3 + 0, + 0, +#else + 0, + 0, + 0, + 0, +#endif + dealloc_wxSize, + assign_wxSize, + array_wxSize, + copy_wxSize, + release_wxSize, + cast_wxSize, + 0, + 0, + 0 +}; diff --git a/sip/cpp/sip_corewxString.cpp b/sip/cpp/sip_corewxString.cpp new file mode 100644 index 00000000..52ade003 --- /dev/null +++ b/sip/cpp/sip_corewxString.cpp @@ -0,0 +1,88 @@ +/* + * Interface wrapper code. + * + * Generated by SIP 4.12-snapshot-eac351f5cca7 on Wed Nov 10 15:32:07 2010 + * + * Copyright: (c) 2010 by Total Control Software + * Licence: wxWindows license + */ + +#include "sipAPI_core.h" + + + + +extern "C" {static void assign_wxString(void *, SIP_SSIZE_T, const void *);} +static void assign_wxString(void *sipDst, SIP_SSIZE_T sipDstIdx, const void *sipSrc) +{ + reinterpret_cast(sipDst)[sipDstIdx] = *reinterpret_cast(sipSrc); +} + + +extern "C" {static void *array_wxString(SIP_SSIZE_T);} +static void *array_wxString(SIP_SSIZE_T sipNrElem) +{ + return new wxString[sipNrElem]; +} + + +extern "C" {static void *copy_wxString(const void *, SIP_SSIZE_T);} +static void *copy_wxString(const void *sipSrc, SIP_SSIZE_T sipSrcIdx) +{ + return new wxString(reinterpret_cast(sipSrc)[sipSrcIdx]); +} + + +/* Call the mapped type's destructor. */ +extern "C" {static void release_wxString(void *, int);} +static void release_wxString(void *ptr, int) +{ + delete reinterpret_cast(ptr); +} + + + +extern "C" {static int convertTo_wxString(PyObject *, void **, int *, PyObject *);} +static int convertTo_wxString(PyObject *,void **,int *,PyObject *) +{ +#line 23 "src/string.sip" + // TODO +#line 51 "sip_corewxString.cpp" +} + + +extern "C" {static PyObject *convertFrom_wxString(void *, PyObject *);} +static PyObject *convertFrom_wxString(void *sipCppV,PyObject *) +{ + wxString *sipCpp = reinterpret_cast(sipCppV); + +#line 28 "src/string.sip" + // TODO +#line 62 "sip_corewxString.cpp" +} + + +sipMappedTypeDef sipTypeDef__core_wxString = { + { + -1, + 0, + 0, + SIP_TYPE_MAPPED, + sipNameNr_wxString, + {0} + }, + { + -1, + {0, 0, 1}, + 0, 0, + 0, 0, + 0, 0, + {0, 0, 0, 0, 0, 0, 0, 0, 0, 0} + }, + assign_wxString, + array_wxString, + copy_wxString, + release_wxString, + convertTo_wxString, + convertFrom_wxString +}; diff --git a/sip/gen/_core.sip b/sip/gen/_core.sip new file mode 100644 index 00000000..3a29f856 --- /dev/null +++ b/sip/gen/_core.sip @@ -0,0 +1,639 @@ +//--------------------------------------------------------------------------- +// This file is generated by wxPython's SIP generator. Do not edit by hand. +// +// Copyright: (c) 2010 by Total Control Software +// Licence: wxWindows license + +%Module wx._core +%Copying + Copyright: (c) 2010 by Total Control Software + Licence: wxWindows license +%End +%RealArgNames + +//--------------------------------------------------------------------------- + +%Include string.sip +%Include object.sip +%Include gdicmn.sip +%Include geometry.sip + +//--------------------------------------------------------------------------- + +typedef signed char wxInt8; + +typedef unsigned char wxUint8; + +typedef wxUint8 wxByte; + +typedef short wxInt16; + +typedef unsigned short wxUint16; + +typedef wxUint16 wxWord; + +typedef wxUint16 wxChar16; + +typedef int wxInt32; + +typedef unsigned int wxUint32; + +typedef wxUint32 wxDword; + +typedef wxUint32 wxChar32; + +typedef long long wxInt64; + +typedef unsigned long long wxUint64; + +typedef long wxIntPtr; + +typedef unsigned long wxUIntPtr; + +typedef wchar_t wxChar; + +typedef wchar_t wxUChar; + +enum wxGeometryCentre /PyName=GeometryCentre/ +{ + wxCENTRE /PyName=CENTRE/, + wxCENTER /PyName=CENTER/ +}; + +enum wxOrientation /PyName=Orientation/ +{ + wxHORIZONTAL /PyName=HORIZONTAL/, + wxVERTICAL /PyName=VERTICAL/, + wxBOTH /PyName=BOTH/, + wxORIENTATION_MASK /PyName=ORIENTATION_MASK/ +}; + +enum wxDirection /PyName=Direction/ +{ + wxLEFT /PyName=LEFT/, + wxRIGHT /PyName=RIGHT/, + wxUP /PyName=UP/, + wxDOWN /PyName=DOWN/, + wxTOP /PyName=TOP/, + wxBOTTOM /PyName=BOTTOM/, + wxNORTH /PyName=NORTH/, + wxSOUTH /PyName=SOUTH/, + wxWEST /PyName=WEST/, + wxEAST /PyName=EAST/, + wxALL /PyName=ALL/, + wxDIRECTION_MASK /PyName=DIRECTION_MASK/ +}; + +enum wxAlignment /PyName=Alignment/ +{ + wxALIGN_INVALID /PyName=ALIGN_INVALID/, + wxALIGN_NOT /PyName=ALIGN_NOT/, + wxALIGN_CENTER_HORIZONTAL /PyName=ALIGN_CENTER_HORIZONTAL/, + wxALIGN_CENTRE_HORIZONTAL /PyName=ALIGN_CENTRE_HORIZONTAL/, + wxALIGN_LEFT /PyName=ALIGN_LEFT/, + wxALIGN_TOP /PyName=ALIGN_TOP/, + wxALIGN_RIGHT /PyName=ALIGN_RIGHT/, + wxALIGN_BOTTOM /PyName=ALIGN_BOTTOM/, + wxALIGN_CENTER_VERTICAL /PyName=ALIGN_CENTER_VERTICAL/, + wxALIGN_CENTRE_VERTICAL /PyName=ALIGN_CENTRE_VERTICAL/, + wxALIGN_CENTER /PyName=ALIGN_CENTER/, + wxALIGN_CENTRE /PyName=ALIGN_CENTRE/, + wxALIGN_MASK /PyName=ALIGN_MASK/ +}; + +enum wxSizerFlagBits /PyName=SizerFlagBits/ +{ + wxFIXED_MINSIZE /PyName=FIXED_MINSIZE/, + wxRESERVE_SPACE_EVEN_IF_HIDDEN /PyName=RESERVE_SPACE_EVEN_IF_HIDDEN/, + wxSIZER_FLAG_BITS_MASK /PyName=SIZER_FLAG_BITS_MASK/ +}; + +enum wxStretch /PyName=Stretch/ +{ + wxSTRETCH_NOT /PyName=STRETCH_NOT/, + wxSHRINK /PyName=SHRINK/, + wxGROW /PyName=GROW/, + wxEXPAND /PyName=EXPAND/, + wxSHAPED /PyName=SHAPED/, + wxTILE /PyName=TILE/, + wxSTRETCH_MASK /PyName=STRETCH_MASK/ +}; + +enum wxBorder /PyName=Border/ +{ + wxBORDER_DEFAULT /PyName=BORDER_DEFAULT/, + wxBORDER_NONE /PyName=BORDER_NONE/, + wxBORDER_STATIC /PyName=BORDER_STATIC/, + wxBORDER_SIMPLE /PyName=BORDER_SIMPLE/, + wxBORDER_RAISED /PyName=BORDER_RAISED/, + wxBORDER_SUNKEN /PyName=BORDER_SUNKEN/, + wxBORDER_DOUBLE /PyName=BORDER_DOUBLE/, + wxBORDER_THEME /PyName=BORDER_THEME/, + wxBORDER_MASK /PyName=BORDER_MASK/ +}; + +enum wxBackgroundStyle /PyName=BackgroundStyle/ +{ + wxBG_STYLE_ERASE /PyName=BG_STYLE_ERASE/, + wxBG_STYLE_SYSTEM /PyName=BG_STYLE_SYSTEM/, + wxBG_STYLE_PAINT /PyName=BG_STYLE_PAINT/ +}; + +enum wxStandardID /PyName=StandardID/ +{ + wxID_AUTO_LOWEST /PyName=ID_AUTO_LOWEST/, + wxID_AUTO_HIGHEST /PyName=ID_AUTO_HIGHEST/, + wxID_NONE /PyName=ID_NONE/, + wxID_SEPARATOR /PyName=ID_SEPARATOR/, + wxID_ANY /PyName=ID_ANY/, + wxID_LOWEST /PyName=ID_LOWEST/, + wxID_OPEN /PyName=ID_OPEN/, + wxID_CLOSE /PyName=ID_CLOSE/, + wxID_NEW /PyName=ID_NEW/, + wxID_SAVE /PyName=ID_SAVE/, + wxID_SAVEAS /PyName=ID_SAVEAS/, + wxID_REVERT /PyName=ID_REVERT/, + wxID_EXIT /PyName=ID_EXIT/, + wxID_UNDO /PyName=ID_UNDO/, + wxID_REDO /PyName=ID_REDO/, + wxID_HELP /PyName=ID_HELP/, + wxID_PRINT /PyName=ID_PRINT/, + wxID_PRINT_SETUP /PyName=ID_PRINT_SETUP/, + wxID_PAGE_SETUP /PyName=ID_PAGE_SETUP/, + wxID_PREVIEW /PyName=ID_PREVIEW/, + wxID_ABOUT /PyName=ID_ABOUT/, + wxID_HELP_CONTENTS /PyName=ID_HELP_CONTENTS/, + wxID_HELP_INDEX /PyName=ID_HELP_INDEX/, + wxID_HELP_SEARCH /PyName=ID_HELP_SEARCH/, + wxID_HELP_COMMANDS /PyName=ID_HELP_COMMANDS/, + wxID_HELP_PROCEDURES /PyName=ID_HELP_PROCEDURES/, + wxID_HELP_CONTEXT /PyName=ID_HELP_CONTEXT/, + wxID_CLOSE_ALL /PyName=ID_CLOSE_ALL/, + wxID_PREFERENCES /PyName=ID_PREFERENCES/, + wxID_EDIT /PyName=ID_EDIT/, + wxID_CUT /PyName=ID_CUT/, + wxID_COPY /PyName=ID_COPY/, + wxID_PASTE /PyName=ID_PASTE/, + wxID_CLEAR /PyName=ID_CLEAR/, + wxID_FIND /PyName=ID_FIND/, + wxID_DUPLICATE /PyName=ID_DUPLICATE/, + wxID_SELECTALL /PyName=ID_SELECTALL/, + wxID_DELETE /PyName=ID_DELETE/, + wxID_REPLACE /PyName=ID_REPLACE/, + wxID_REPLACE_ALL /PyName=ID_REPLACE_ALL/, + wxID_PROPERTIES /PyName=ID_PROPERTIES/, + wxID_VIEW_DETAILS /PyName=ID_VIEW_DETAILS/, + wxID_VIEW_LARGEICONS /PyName=ID_VIEW_LARGEICONS/, + wxID_VIEW_SMALLICONS /PyName=ID_VIEW_SMALLICONS/, + wxID_VIEW_LIST /PyName=ID_VIEW_LIST/, + wxID_VIEW_SORTDATE /PyName=ID_VIEW_SORTDATE/, + wxID_VIEW_SORTNAME /PyName=ID_VIEW_SORTNAME/, + wxID_VIEW_SORTSIZE /PyName=ID_VIEW_SORTSIZE/, + wxID_VIEW_SORTTYPE /PyName=ID_VIEW_SORTTYPE/, + wxID_FILE /PyName=ID_FILE/, + wxID_FILE1 /PyName=ID_FILE1/, + wxID_FILE2 /PyName=ID_FILE2/, + wxID_FILE3 /PyName=ID_FILE3/, + wxID_FILE4 /PyName=ID_FILE4/, + wxID_FILE5 /PyName=ID_FILE5/, + wxID_FILE6 /PyName=ID_FILE6/, + wxID_FILE7 /PyName=ID_FILE7/, + wxID_FILE8 /PyName=ID_FILE8/, + wxID_FILE9 /PyName=ID_FILE9/, + wxID_OK /PyName=ID_OK/, + wxID_CANCEL /PyName=ID_CANCEL/, + wxID_APPLY /PyName=ID_APPLY/, + wxID_YES /PyName=ID_YES/, + wxID_NO /PyName=ID_NO/, + wxID_STATIC /PyName=ID_STATIC/, + wxID_FORWARD /PyName=ID_FORWARD/, + wxID_BACKWARD /PyName=ID_BACKWARD/, + wxID_DEFAULT /PyName=ID_DEFAULT/, + wxID_MORE /PyName=ID_MORE/, + wxID_SETUP /PyName=ID_SETUP/, + wxID_RESET /PyName=ID_RESET/, + wxID_CONTEXT_HELP /PyName=ID_CONTEXT_HELP/, + wxID_YESTOALL /PyName=ID_YESTOALL/, + wxID_NOTOALL /PyName=ID_NOTOALL/, + wxID_ABORT /PyName=ID_ABORT/, + wxID_RETRY /PyName=ID_RETRY/, + wxID_IGNORE /PyName=ID_IGNORE/, + wxID_ADD /PyName=ID_ADD/, + wxID_REMOVE /PyName=ID_REMOVE/, + wxID_UP /PyName=ID_UP/, + wxID_DOWN /PyName=ID_DOWN/, + wxID_HOME /PyName=ID_HOME/, + wxID_REFRESH /PyName=ID_REFRESH/, + wxID_STOP /PyName=ID_STOP/, + wxID_INDEX /PyName=ID_INDEX/, + wxID_BOLD /PyName=ID_BOLD/, + wxID_ITALIC /PyName=ID_ITALIC/, + wxID_JUSTIFY_CENTER /PyName=ID_JUSTIFY_CENTER/, + wxID_JUSTIFY_FILL /PyName=ID_JUSTIFY_FILL/, + wxID_JUSTIFY_RIGHT /PyName=ID_JUSTIFY_RIGHT/, + wxID_JUSTIFY_LEFT /PyName=ID_JUSTIFY_LEFT/, + wxID_UNDERLINE /PyName=ID_UNDERLINE/, + wxID_INDENT /PyName=ID_INDENT/, + wxID_UNINDENT /PyName=ID_UNINDENT/, + wxID_ZOOM_100 /PyName=ID_ZOOM_100/, + wxID_ZOOM_FIT /PyName=ID_ZOOM_FIT/, + wxID_ZOOM_IN /PyName=ID_ZOOM_IN/, + wxID_ZOOM_OUT /PyName=ID_ZOOM_OUT/, + wxID_UNDELETE /PyName=ID_UNDELETE/, + wxID_REVERT_TO_SAVED /PyName=ID_REVERT_TO_SAVED/, + wxID_CDROM /PyName=ID_CDROM/, + wxID_CONVERT /PyName=ID_CONVERT/, + wxID_EXECUTE /PyName=ID_EXECUTE/, + wxID_FLOPPY /PyName=ID_FLOPPY/, + wxID_HARDDISK /PyName=ID_HARDDISK/, + wxID_BOTTOM /PyName=ID_BOTTOM/, + wxID_FIRST /PyName=ID_FIRST/, + wxID_LAST /PyName=ID_LAST/, + wxID_TOP /PyName=ID_TOP/, + wxID_INFO /PyName=ID_INFO/, + wxID_JUMP_TO /PyName=ID_JUMP_TO/, + wxID_NETWORK /PyName=ID_NETWORK/, + wxID_SELECT_COLOR /PyName=ID_SELECT_COLOR/, + wxID_SELECT_FONT /PyName=ID_SELECT_FONT/, + wxID_SORT_ASCENDING /PyName=ID_SORT_ASCENDING/, + wxID_SORT_DESCENDING /PyName=ID_SORT_DESCENDING/, + wxID_SPELL_CHECK /PyName=ID_SPELL_CHECK/, + wxID_STRIKETHROUGH /PyName=ID_STRIKETHROUGH/, + wxID_SYSTEM_MENU /PyName=ID_SYSTEM_MENU/, + wxID_CLOSE_FRAME /PyName=ID_CLOSE_FRAME/, + wxID_MOVE_FRAME /PyName=ID_MOVE_FRAME/, + wxID_RESIZE_FRAME /PyName=ID_RESIZE_FRAME/, + wxID_MAXIMIZE_FRAME /PyName=ID_MAXIMIZE_FRAME/, + wxID_ICONIZE_FRAME /PyName=ID_ICONIZE_FRAME/, + wxID_RESTORE_FRAME /PyName=ID_RESTORE_FRAME/, + wxID_MDI_WINDOW_FIRST /PyName=ID_MDI_WINDOW_FIRST/, + wxID_MDI_WINDOW_CASCADE /PyName=ID_MDI_WINDOW_CASCADE/, + wxID_MDI_WINDOW_TILE_HORZ /PyName=ID_MDI_WINDOW_TILE_HORZ/, + wxID_MDI_WINDOW_TILE_VERT /PyName=ID_MDI_WINDOW_TILE_VERT/, + wxID_MDI_WINDOW_ARRANGE_ICONS /PyName=ID_MDI_WINDOW_ARRANGE_ICONS/, + wxID_MDI_WINDOW_PREV /PyName=ID_MDI_WINDOW_PREV/, + wxID_MDI_WINDOW_NEXT /PyName=ID_MDI_WINDOW_NEXT/, + wxID_MDI_WINDOW_LAST /PyName=ID_MDI_WINDOW_LAST/, + wxID_FILEDLGG /PyName=ID_FILEDLGG/, + wxID_FILECTRL /PyName=ID_FILECTRL/, + wxID_HIGHEST /PyName=ID_HIGHEST/ +}; + +enum wxItemKind /PyName=ItemKind/ +{ + wxITEM_SEPARATOR /PyName=ITEM_SEPARATOR/, + wxITEM_NORMAL /PyName=ITEM_NORMAL/, + wxITEM_CHECK /PyName=ITEM_CHECK/, + wxITEM_RADIO /PyName=ITEM_RADIO/, + wxITEM_DROPDOWN /PyName=ITEM_DROPDOWN/, + wxITEM_MAX /PyName=ITEM_MAX/ +}; + +enum wxHitTest /PyName=HitTest/ +{ + wxHT_NOWHERE /PyName=HT_NOWHERE/, + wxHT_SCROLLBAR_FIRST /PyName=HT_SCROLLBAR_FIRST/, + wxHT_SCROLLBAR_ARROW_LINE_1 /PyName=HT_SCROLLBAR_ARROW_LINE_1/, + wxHT_SCROLLBAR_ARROW_LINE_2 /PyName=HT_SCROLLBAR_ARROW_LINE_2/, + wxHT_SCROLLBAR_ARROW_PAGE_1 /PyName=HT_SCROLLBAR_ARROW_PAGE_1/, + wxHT_SCROLLBAR_ARROW_PAGE_2 /PyName=HT_SCROLLBAR_ARROW_PAGE_2/, + wxHT_SCROLLBAR_THUMB /PyName=HT_SCROLLBAR_THUMB/, + wxHT_SCROLLBAR_BAR_1 /PyName=HT_SCROLLBAR_BAR_1/, + wxHT_SCROLLBAR_BAR_2 /PyName=HT_SCROLLBAR_BAR_2/, + wxHT_SCROLLBAR_LAST /PyName=HT_SCROLLBAR_LAST/, + wxHT_WINDOW_OUTSIDE /PyName=HT_WINDOW_OUTSIDE/, + wxHT_WINDOW_INSIDE /PyName=HT_WINDOW_INSIDE/, + wxHT_WINDOW_VERT_SCROLLBAR /PyName=HT_WINDOW_VERT_SCROLLBAR/, + wxHT_WINDOW_HORZ_SCROLLBAR /PyName=HT_WINDOW_HORZ_SCROLLBAR/, + wxHT_WINDOW_CORNER /PyName=HT_WINDOW_CORNER/, + wxHT_MAX /PyName=HT_MAX/ +}; + +enum wxDataFormatId /PyName=DataFormatId/ +{ + wxDF_INVALID /PyName=DF_INVALID/, + wxDF_TEXT /PyName=DF_TEXT/, + wxDF_BITMAP /PyName=DF_BITMAP/, + wxDF_METAFILE /PyName=DF_METAFILE/, + wxDF_SYLK /PyName=DF_SYLK/, + wxDF_DIF /PyName=DF_DIF/, + wxDF_TIFF /PyName=DF_TIFF/, + wxDF_OEMTEXT /PyName=DF_OEMTEXT/, + wxDF_DIB /PyName=DF_DIB/, + wxDF_PALETTE /PyName=DF_PALETTE/, + wxDF_PENDATA /PyName=DF_PENDATA/, + wxDF_RIFF /PyName=DF_RIFF/, + wxDF_WAVE /PyName=DF_WAVE/, + wxDF_UNICODETEXT /PyName=DF_UNICODETEXT/, + wxDF_ENHMETAFILE /PyName=DF_ENHMETAFILE/, + wxDF_FILENAME /PyName=DF_FILENAME/, + wxDF_LOCALE /PyName=DF_LOCALE/, + wxDF_PRIVATE /PyName=DF_PRIVATE/, + wxDF_HTML /PyName=DF_HTML/, + wxDF_MAX /PyName=DF_MAX/ +}; + +enum wxKeyCode /PyName=KeyCode/ +{ + WXK_NONE, + WXK_BACK, + WXK_TAB, + WXK_RETURN, + WXK_ESCAPE, + WXK_SPACE, + WXK_DELETE, + WXK_START, + WXK_LBUTTON, + WXK_RBUTTON, + WXK_CANCEL, + WXK_MBUTTON, + WXK_CLEAR, + WXK_SHIFT, + WXK_ALT, + WXK_CONTROL, + WXK_MENU, + WXK_PAUSE, + WXK_CAPITAL, + WXK_END, + WXK_HOME, + WXK_LEFT, + WXK_UP, + WXK_RIGHT, + WXK_DOWN, + WXK_SELECT, + WXK_PRINT, + WXK_EXECUTE, + WXK_SNAPSHOT, + WXK_INSERT, + WXK_HELP, + WXK_NUMPAD0, + WXK_NUMPAD1, + WXK_NUMPAD2, + WXK_NUMPAD3, + WXK_NUMPAD4, + WXK_NUMPAD5, + WXK_NUMPAD6, + WXK_NUMPAD7, + WXK_NUMPAD8, + WXK_NUMPAD9, + WXK_MULTIPLY, + WXK_ADD, + WXK_SEPARATOR, + WXK_SUBTRACT, + WXK_DECIMAL, + WXK_DIVIDE, + WXK_F1, + WXK_F2, + WXK_F3, + WXK_F4, + WXK_F5, + WXK_F6, + WXK_F7, + WXK_F8, + WXK_F9, + WXK_F10, + WXK_F11, + WXK_F12, + WXK_F13, + WXK_F14, + WXK_F15, + WXK_F16, + WXK_F17, + WXK_F18, + WXK_F19, + WXK_F20, + WXK_F21, + WXK_F22, + WXK_F23, + WXK_F24, + WXK_NUMLOCK, + WXK_SCROLL, + WXK_PAGEUP, + WXK_PAGEDOWN, + WXK_NUMPAD_SPACE, + WXK_NUMPAD_TAB, + WXK_NUMPAD_ENTER, + WXK_NUMPAD_F1, + WXK_NUMPAD_F2, + WXK_NUMPAD_F3, + WXK_NUMPAD_F4, + WXK_NUMPAD_HOME, + WXK_NUMPAD_LEFT, + WXK_NUMPAD_UP, + WXK_NUMPAD_RIGHT, + WXK_NUMPAD_DOWN, + WXK_NUMPAD_PAGEUP, + WXK_NUMPAD_PAGEDOWN, + WXK_NUMPAD_END, + WXK_NUMPAD_BEGIN, + WXK_NUMPAD_INSERT, + WXK_NUMPAD_DELETE, + WXK_NUMPAD_EQUAL, + WXK_NUMPAD_MULTIPLY, + WXK_NUMPAD_ADD, + WXK_NUMPAD_SEPARATOR, + WXK_NUMPAD_SUBTRACT, + WXK_NUMPAD_DECIMAL, + WXK_NUMPAD_DIVIDE, + WXK_WINDOWS_LEFT, + WXK_WINDOWS_RIGHT, + WXK_WINDOWS_MENU, + WXK_COMMAND, + WXK_SPECIAL1, + WXK_SPECIAL2, + WXK_SPECIAL3, + WXK_SPECIAL4, + WXK_SPECIAL5, + WXK_SPECIAL6, + WXK_SPECIAL7, + WXK_SPECIAL8, + WXK_SPECIAL9, + WXK_SPECIAL10, + WXK_SPECIAL11, + WXK_SPECIAL12, + WXK_SPECIAL13, + WXK_SPECIAL14, + WXK_SPECIAL15, + WXK_SPECIAL16, + WXK_SPECIAL17, + WXK_SPECIAL18, + WXK_SPECIAL19, + WXK_SPECIAL20 +}; + +enum wxKeyModifier /PyName=KeyModifier/ +{ + wxMOD_NONE /PyName=MOD_NONE/, + wxMOD_ALT /PyName=MOD_ALT/, + wxMOD_CONTROL /PyName=MOD_CONTROL/, + wxMOD_ALTGR /PyName=MOD_ALTGR/, + wxMOD_SHIFT /PyName=MOD_SHIFT/, + wxMOD_META /PyName=MOD_META/, + wxMOD_WIN /PyName=MOD_WIN/, + wxMOD_CMD /PyName=MOD_CMD/, + wxMOD_ALL /PyName=MOD_ALL/ +}; + +enum wxPaperSize /PyName=PaperSize/ +{ + wxPAPER_NONE /PyName=PAPER_NONE/, + wxPAPER_LETTER /PyName=PAPER_LETTER/, + wxPAPER_LEGAL /PyName=PAPER_LEGAL/, + wxPAPER_A4 /PyName=PAPER_A4/, + wxPAPER_CSHEET /PyName=PAPER_CSHEET/, + wxPAPER_DSHEET /PyName=PAPER_DSHEET/, + wxPAPER_ESHEET /PyName=PAPER_ESHEET/, + wxPAPER_LETTERSMALL /PyName=PAPER_LETTERSMALL/, + wxPAPER_TABLOID /PyName=PAPER_TABLOID/, + wxPAPER_LEDGER /PyName=PAPER_LEDGER/, + wxPAPER_STATEMENT /PyName=PAPER_STATEMENT/, + wxPAPER_EXECUTIVE /PyName=PAPER_EXECUTIVE/, + wxPAPER_A3 /PyName=PAPER_A3/, + wxPAPER_A4SMALL /PyName=PAPER_A4SMALL/, + wxPAPER_A5 /PyName=PAPER_A5/, + wxPAPER_B4 /PyName=PAPER_B4/, + wxPAPER_B5 /PyName=PAPER_B5/, + wxPAPER_FOLIO /PyName=PAPER_FOLIO/, + wxPAPER_QUARTO /PyName=PAPER_QUARTO/, + wxPAPER_10X14 /PyName=PAPER_10X14/, + wxPAPER_11X17 /PyName=PAPER_11X17/, + wxPAPER_NOTE /PyName=PAPER_NOTE/, + wxPAPER_ENV_9 /PyName=PAPER_ENV_9/, + wxPAPER_ENV_10 /PyName=PAPER_ENV_10/, + wxPAPER_ENV_11 /PyName=PAPER_ENV_11/, + wxPAPER_ENV_12 /PyName=PAPER_ENV_12/, + wxPAPER_ENV_14 /PyName=PAPER_ENV_14/, + wxPAPER_ENV_DL /PyName=PAPER_ENV_DL/, + wxPAPER_ENV_C5 /PyName=PAPER_ENV_C5/, + wxPAPER_ENV_C3 /PyName=PAPER_ENV_C3/, + wxPAPER_ENV_C4 /PyName=PAPER_ENV_C4/, + wxPAPER_ENV_C6 /PyName=PAPER_ENV_C6/, + wxPAPER_ENV_C65 /PyName=PAPER_ENV_C65/, + wxPAPER_ENV_B4 /PyName=PAPER_ENV_B4/, + wxPAPER_ENV_B5 /PyName=PAPER_ENV_B5/, + wxPAPER_ENV_B6 /PyName=PAPER_ENV_B6/, + wxPAPER_ENV_ITALY /PyName=PAPER_ENV_ITALY/, + wxPAPER_ENV_MONARCH /PyName=PAPER_ENV_MONARCH/, + wxPAPER_ENV_PERSONAL /PyName=PAPER_ENV_PERSONAL/, + wxPAPER_FANFOLD_US /PyName=PAPER_FANFOLD_US/, + wxPAPER_FANFOLD_STD_GERMAN /PyName=PAPER_FANFOLD_STD_GERMAN/, + wxPAPER_FANFOLD_LGL_GERMAN /PyName=PAPER_FANFOLD_LGL_GERMAN/, + wxPAPER_ISO_B4 /PyName=PAPER_ISO_B4/, + wxPAPER_JAPANESE_POSTCARD /PyName=PAPER_JAPANESE_POSTCARD/, + wxPAPER_9X11 /PyName=PAPER_9X11/, + wxPAPER_10X11 /PyName=PAPER_10X11/, + wxPAPER_15X11 /PyName=PAPER_15X11/, + wxPAPER_ENV_INVITE /PyName=PAPER_ENV_INVITE/, + wxPAPER_LETTER_EXTRA /PyName=PAPER_LETTER_EXTRA/, + wxPAPER_LEGAL_EXTRA /PyName=PAPER_LEGAL_EXTRA/, + wxPAPER_TABLOID_EXTRA /PyName=PAPER_TABLOID_EXTRA/, + wxPAPER_A4_EXTRA /PyName=PAPER_A4_EXTRA/, + wxPAPER_LETTER_TRANSVERSE /PyName=PAPER_LETTER_TRANSVERSE/, + wxPAPER_A4_TRANSVERSE /PyName=PAPER_A4_TRANSVERSE/, + wxPAPER_LETTER_EXTRA_TRANSVERSE /PyName=PAPER_LETTER_EXTRA_TRANSVERSE/, + wxPAPER_A_PLUS /PyName=PAPER_A_PLUS/, + wxPAPER_B_PLUS /PyName=PAPER_B_PLUS/, + wxPAPER_LETTER_PLUS /PyName=PAPER_LETTER_PLUS/, + wxPAPER_A4_PLUS /PyName=PAPER_A4_PLUS/, + wxPAPER_A5_TRANSVERSE /PyName=PAPER_A5_TRANSVERSE/, + wxPAPER_B5_TRANSVERSE /PyName=PAPER_B5_TRANSVERSE/, + wxPAPER_A3_EXTRA /PyName=PAPER_A3_EXTRA/, + wxPAPER_A5_EXTRA /PyName=PAPER_A5_EXTRA/, + wxPAPER_B5_EXTRA /PyName=PAPER_B5_EXTRA/, + wxPAPER_A2 /PyName=PAPER_A2/, + wxPAPER_A3_TRANSVERSE /PyName=PAPER_A3_TRANSVERSE/, + wxPAPER_A3_EXTRA_TRANSVERSE /PyName=PAPER_A3_EXTRA_TRANSVERSE/, + wxPAPER_DBL_JAPANESE_POSTCARD /PyName=PAPER_DBL_JAPANESE_POSTCARD/, + wxPAPER_A6 /PyName=PAPER_A6/, + wxPAPER_JENV_KAKU2 /PyName=PAPER_JENV_KAKU2/, + wxPAPER_JENV_KAKU3 /PyName=PAPER_JENV_KAKU3/, + wxPAPER_JENV_CHOU3 /PyName=PAPER_JENV_CHOU3/, + wxPAPER_JENV_CHOU4 /PyName=PAPER_JENV_CHOU4/, + wxPAPER_LETTER_ROTATED /PyName=PAPER_LETTER_ROTATED/, + wxPAPER_A3_ROTATED /PyName=PAPER_A3_ROTATED/, + wxPAPER_A4_ROTATED /PyName=PAPER_A4_ROTATED/, + wxPAPER_A5_ROTATED /PyName=PAPER_A5_ROTATED/, + wxPAPER_B4_JIS_ROTATED /PyName=PAPER_B4_JIS_ROTATED/, + wxPAPER_B5_JIS_ROTATED /PyName=PAPER_B5_JIS_ROTATED/, + wxPAPER_JAPANESE_POSTCARD_ROTATED /PyName=PAPER_JAPANESE_POSTCARD_ROTATED/, + wxPAPER_DBL_JAPANESE_POSTCARD_ROTATED /PyName=PAPER_DBL_JAPANESE_POSTCARD_ROTATED/, + wxPAPER_A6_ROTATED /PyName=PAPER_A6_ROTATED/, + wxPAPER_JENV_KAKU2_ROTATED /PyName=PAPER_JENV_KAKU2_ROTATED/, + wxPAPER_JENV_KAKU3_ROTATED /PyName=PAPER_JENV_KAKU3_ROTATED/, + wxPAPER_JENV_CHOU3_ROTATED /PyName=PAPER_JENV_CHOU3_ROTATED/, + wxPAPER_JENV_CHOU4_ROTATED /PyName=PAPER_JENV_CHOU4_ROTATED/, + wxPAPER_B6_JIS /PyName=PAPER_B6_JIS/, + wxPAPER_B6_JIS_ROTATED /PyName=PAPER_B6_JIS_ROTATED/, + wxPAPER_12X11 /PyName=PAPER_12X11/, + wxPAPER_JENV_YOU4 /PyName=PAPER_JENV_YOU4/, + wxPAPER_JENV_YOU4_ROTATED /PyName=PAPER_JENV_YOU4_ROTATED/, + wxPAPER_P16K /PyName=PAPER_P16K/, + wxPAPER_P32K /PyName=PAPER_P32K/, + wxPAPER_P32KBIG /PyName=PAPER_P32KBIG/, + wxPAPER_PENV_1 /PyName=PAPER_PENV_1/, + wxPAPER_PENV_2 /PyName=PAPER_PENV_2/, + wxPAPER_PENV_3 /PyName=PAPER_PENV_3/, + wxPAPER_PENV_4 /PyName=PAPER_PENV_4/, + wxPAPER_PENV_5 /PyName=PAPER_PENV_5/, + wxPAPER_PENV_6 /PyName=PAPER_PENV_6/, + wxPAPER_PENV_7 /PyName=PAPER_PENV_7/, + wxPAPER_PENV_8 /PyName=PAPER_PENV_8/, + wxPAPER_PENV_9 /PyName=PAPER_PENV_9/, + wxPAPER_PENV_10 /PyName=PAPER_PENV_10/, + wxPAPER_P16K_ROTATED /PyName=PAPER_P16K_ROTATED/, + wxPAPER_P32K_ROTATED /PyName=PAPER_P32K_ROTATED/, + wxPAPER_P32KBIG_ROTATED /PyName=PAPER_P32KBIG_ROTATED/, + wxPAPER_PENV_1_ROTATED /PyName=PAPER_PENV_1_ROTATED/, + wxPAPER_PENV_2_ROTATED /PyName=PAPER_PENV_2_ROTATED/, + wxPAPER_PENV_3_ROTATED /PyName=PAPER_PENV_3_ROTATED/, + wxPAPER_PENV_4_ROTATED /PyName=PAPER_PENV_4_ROTATED/, + wxPAPER_PENV_5_ROTATED /PyName=PAPER_PENV_5_ROTATED/, + wxPAPER_PENV_6_ROTATED /PyName=PAPER_PENV_6_ROTATED/, + wxPAPER_PENV_7_ROTATED /PyName=PAPER_PENV_7_ROTATED/, + wxPAPER_PENV_8_ROTATED /PyName=PAPER_PENV_8_ROTATED/, + wxPAPER_PENV_9_ROTATED /PyName=PAPER_PENV_9_ROTATED/, + wxPAPER_PENV_10_ROTATED /PyName=PAPER_PENV_10_ROTATED/ +}; + +enum wxPrintOrientation /PyName=PrintOrientation/ +{ + wxPORTRAIT /PyName=PORTRAIT/, + wxLANDSCAPE /PyName=LANDSCAPE/ +}; + +enum wxDuplexMode /PyName=DuplexMode/ +{ + wxDUPLEX_SIMPLEX /PyName=DUPLEX_SIMPLEX/, + wxDUPLEX_HORIZONTAL /PyName=DUPLEX_HORIZONTAL/, + wxDUPLEX_VERTICAL /PyName=DUPLEX_VERTICAL/ +}; + +enum wxPrintMode /PyName=PrintMode/ +{ + wxPRINT_MODE_NONE /PyName=PRINT_MODE_NONE/, + wxPRINT_MODE_PREVIEW /PyName=PRINT_MODE_PREVIEW/, + wxPRINT_MODE_FILE /PyName=PRINT_MODE_FILE/, + wxPRINT_MODE_PRINTER /PyName=PRINT_MODE_PRINTER/, + wxPRINT_MODE_STREAM /PyName=PRINT_MODE_STREAM/ +}; + +enum wxUpdateUI /PyName=UpdateUI/ +{ + wxUPDATE_UI_NONE /PyName=UPDATE_UI_NONE/, + wxUPDATE_UI_RECURSE /PyName=UPDATE_UI_RECURSE/, + wxUPDATE_UI_FROMIDLE /PyName=UPDATE_UI_FROMIDLE/ +}; + +typedef int wxCoord; + +typedef float wxFloat32; + +typedef double wxFloat64; + +typedef double wxDouble; + +wxCoord wxDefaultCoord /PyName=DefaultCoord/; + + +//--------------------------------------------------------------------------- + diff --git a/sip/gen/gdicmn.sip b/sip/gen/gdicmn.sip new file mode 100644 index 00000000..d533afb2 --- /dev/null +++ b/sip/gen/gdicmn.sip @@ -0,0 +1,550 @@ +//--------------------------------------------------------------------------- +// This file is generated by wxPython's SIP generator. Do not edit by hand. +// +// Copyright: (c) 2010 by Total Control Software +// Licence: wxWindows license +// +// This file is included from _core.sip +// +//--------------------------------------------------------------------------- + + +%ModuleHeaderCode +#include +%End + + +//--------------------------------------------------------------------------- + +class wxPoint /PyName=Point/ +{ +%TypeHeaderCode + #include +%End + +public: + wxPoint(); + + wxPoint( + int x, + int y + ); + + wxPoint( + const wxRealPoint & pt + ); + + wxPoint & operator+=( + const wxPoint & pt + ); + + wxPoint & operator+=( + const wxSize & sz + ); + + wxPoint & operator-=( + const wxPoint & pt + ); + + wxPoint & operator-=( + const wxSize & sz + ); + + bool IsFullySpecified(); + + void SetDefaults( + const wxPoint & pt + ); + + int x; + int y; +%ConvertToTypeCode + // is it just a typecheck? + if (!sipIsErr) { + if (sipCanConvertToType(sipPy, sipType_wxPoint, SIP_NO_CONVERTORS)) + return 1; + + if (PySequence_Check(sipPy) and PySequence_Size(sipPy) == 2) { + int rval = 1; + PyObject* o1 = PySequence_ITEM(sipPy, 0); + PyObject* o2 = PySequence_ITEM(sipPy, 1); + if (!PyNumber_Check(o1) || !PyNumber_Check(o2)) + rval = 0; + Py_DECREF(o1); + Py_DECREF(o2); + return rval; + } + return 0; + } + + // otherwise do the conversion + if (sipPy == Py_None) { + *sipCppPtr = new wxPoint(-1, -1); + return sipGetState(sipTransferObj); + } + + if (PySequence_Check(sipPy)) { + PyObject* o1 = PySequence_ITEM(sipPy, 0); + PyObject* o2 = PySequence_ITEM(sipPy, 1); + *sipCppPtr = new wxPoint(PyInt_AsLong(o1), PyInt_AsLong(o2)); + Py_DECREF(o1); + Py_DECREF(o2); + return sipGetState(sipTransferObj); + } + + *sipCppPtr = reinterpret_cast(sipConvertToType( + sipPy, sipType_wxPoint, sipTransferObj, SIP_NO_CONVERTORS, 0, sipIsErr)); + return 0; +%End +}; // end of class wxPoint + + +bool operator==(const wxPoint& p1, const wxPoint& p2); +bool operator!=(const wxPoint& p1, const wxPoint& p2); +wxPoint operator+(const wxPoint& p, const wxSize& s); +wxPoint operator+(const wxPoint& p1, const wxPoint& p2); +wxPoint operator+(const wxSize& s, const wxPoint& p); +wxPoint operator-(const wxPoint& p); +wxPoint operator-(const wxPoint& p, const wxSize& s); +wxPoint operator-(const wxPoint& p1, const wxPoint& p2); +wxPoint operator-(const wxSize& s, const wxPoint& p); +wxPoint operator*(const wxPoint& s, int i); +wxPoint operator*(int i, const wxPoint& s); +wxPoint operator/(const wxPoint& s, int i); + + +class wxSize /PyName=Size/ +{ +%TypeHeaderCode + #include +%End + +public: + wxSize(); + + wxSize( + int width, + int height + ); + + void DecBy( + const wxPoint & pt + ); + + void DecBy( + const wxSize & size + ); + + void DecBy( + int dx, + int dy + ); + + void DecBy( + int d + ); + + void IncBy( + const wxPoint & pt + ); + + void IncBy( + const wxSize & size + ); + + void IncBy( + int dx, + int dy + ); + + void IncBy( + int d + ); + + wxSize & operator+=( + const wxSize & sz + ); + + wxSize & operator-=( + const wxSize & sz + ); + + wxSize & operator/=( + int factor + ); + + wxSize & operator*=( + int factor + ); + + void DecTo( + const wxSize & size + ); + + int GetHeight(); + + int GetWidth(); + + void IncTo( + const wxSize & size + ); + + bool IsFullySpecified(); + + wxSize & Scale( + float xscale, + float yscale + ); + + void Set( + int width, + int height + ); + + void SetDefaults( + const wxSize & sizeDefault + ); + + void SetHeight( + int height + ); + + void SetWidth( + int width + ); + + %Property(name=width, get=GetWidth, set=SetWidth) + %Property(name=height, get=GetHeight, set=SetHeight) +}; // end of class wxSize + + +bool operator==(const wxSize& s1, const wxSize& s2); +bool operator!=(const wxSize& s1, const wxSize& s2); +wxSize operator*(const wxSize& s, int i); +wxSize operator*(int i, const wxSize& s); +wxSize operator+(const wxSize& s1, const wxSize& s2); +wxSize operator-(const wxSize& s1, const wxSize& s2); +wxSize operator/(const wxSize& s, int i); + + +class wxRect /PyName=Rect/ +{ +%TypeHeaderCode + #include +%End + +public: + wxRect(); + + wxRect( + int x, + int y, + int width, + int height + ); + + wxRect( + const wxPoint & topLeft, + const wxPoint & bottomRight + ); + + wxRect( + const wxPoint & pos, + const wxSize & size + ); + + wxRect( + const wxSize & size + ); + + wxRect CentreIn( + const wxRect & r, + int dir = wxBOTH + ); + + wxRect CenterIn( + const wxRect & r, + int dir = wxBOTH + ); + + wxRect & Deflate( + wxCoord dx, + wxCoord dy + ); + + wxRect & Deflate( + const wxSize & diff + ); + + wxRect & Deflate( + wxCoord diff + ); + + wxRect & Inflate( + wxCoord dx, + wxCoord dy + ); + + wxRect & Inflate( + const wxSize & diff + ); + + wxRect & Inflate( + wxCoord diff + ); + + void Offset( + wxCoord dx, + wxCoord dy + ); + + void Offset( + const wxPoint & pt + ); + + wxRect & Union( + const wxRect & rect + ); + + wxRect & operator+=( + const wxRect & r + ); + + wxRect & operator*=( + const wxRect & r + ); + + int height; + int width; + int x; + int y; + bool Contains( + int x, + int y + ); + + bool Contains( + const wxPoint & pt + ); + + bool Contains( + const wxRect & rect + ); + + int GetBottom(); + + wxPoint GetBottomLeft(); + + wxPoint GetBottomRight(); + + int GetHeight(); + + int GetLeft(); + + wxPoint GetPosition(); + + int GetRight(); + + wxSize GetSize(); + + int GetTop(); + + wxPoint GetTopLeft(); + + wxPoint GetTopRight(); + + int GetWidth(); + + int GetX(); + + int GetY(); + + wxRect & Intersect( + const wxRect & rect + ); + + bool Intersects( + const wxRect & rect + ); + + bool IsEmpty(); + + void SetHeight( + int height + ); + + void SetSize( + const wxSize & s + ); + + void SetWidth( + int width + ); + + void SetX( + int x + ); + + void SetY( + int y + ); + +}; // end of class wxRect + + +bool operator==(const wxRect& r1, const wxRect& r2); +bool operator!=(const wxRect& r1, const wxRect& r2); +wxRect operator+(const wxRect& r1, const wxRect& r2); +wxRect operator*(const wxRect& r1, const wxRect& r2); + + +class wxRealPoint /PyName=RealPoint/ +{ +%TypeHeaderCode + #include +%End + +public: + wxRealPoint(); + + wxRealPoint( + double x, + double y + ); + + wxRealPoint( + const wxPoint & pt + ); + + wxRealPoint & operator+=( + const wxRealPoint & pt + ); + + wxRealPoint & operator+=( + const wxSize & sz + ); + + wxRealPoint & operator-=( + const wxRealPoint & pt + ); + + wxRealPoint & operator-=( + const wxSize & sz + ); + + double x; + double y; +}; // end of class wxRealPoint + + +bool operator==(const wxRealPoint& p1, const wxRealPoint& p2); +bool operator!=(const wxRealPoint& p1, const wxRealPoint& p2); +wxRealPoint operator*(const wxRealPoint& s, double i); +wxRealPoint operator*(double i, const wxRealPoint& s); +wxRealPoint operator+(const wxRealPoint& p1, const wxRealPoint& p2); +wxRealPoint operator-(const wxRealPoint& p1, const wxRealPoint& p2); +wxRealPoint operator/(const wxRealPoint& s, int i); + + +enum wxBitmapType /PyName=BitmapType/ +{ + wxBITMAP_TYPE_INVALID /PyName=BITMAP_TYPE_INVALID/, + wxBITMAP_TYPE_BMP /PyName=BITMAP_TYPE_BMP/, + wxBITMAP_TYPE_ICO /PyName=BITMAP_TYPE_ICO/, + wxBITMAP_TYPE_CUR /PyName=BITMAP_TYPE_CUR/, + wxBITMAP_TYPE_XBM /PyName=BITMAP_TYPE_XBM/, + wxBITMAP_TYPE_XBM_DATA /PyName=BITMAP_TYPE_XBM_DATA/, + wxBITMAP_TYPE_XPM /PyName=BITMAP_TYPE_XPM/, + wxBITMAP_TYPE_XPM_DATA /PyName=BITMAP_TYPE_XPM_DATA/, + wxBITMAP_TYPE_TIF /PyName=BITMAP_TYPE_TIF/, + wxBITMAP_TYPE_GIF /PyName=BITMAP_TYPE_GIF/, + wxBITMAP_TYPE_PNG /PyName=BITMAP_TYPE_PNG/, + wxBITMAP_TYPE_JPEG /PyName=BITMAP_TYPE_JPEG/, + wxBITMAP_TYPE_PNM /PyName=BITMAP_TYPE_PNM/, + wxBITMAP_TYPE_PCX /PyName=BITMAP_TYPE_PCX/, + wxBITMAP_TYPE_PICT /PyName=BITMAP_TYPE_PICT/, + wxBITMAP_TYPE_ICON /PyName=BITMAP_TYPE_ICON/, + wxBITMAP_TYPE_ANI /PyName=BITMAP_TYPE_ANI/, + wxBITMAP_TYPE_IFF /PyName=BITMAP_TYPE_IFF/, + wxBITMAP_TYPE_TGA /PyName=BITMAP_TYPE_TGA/, + wxBITMAP_TYPE_MACCURSOR /PyName=BITMAP_TYPE_MACCURSOR/, + wxBITMAP_TYPE_ANY /PyName=BITMAP_TYPE_ANY/ +}; + +enum wxPolygonFillMode /PyName=PolygonFillMode/ +{ + wxODDEVEN_RULE /PyName=ODDEVEN_RULE/, + wxWINDING_RULE /PyName=WINDING_RULE/ +}; + +enum wxStockCursor /PyName=StockCursor/ +{ + wxCURSOR_NONE /PyName=CURSOR_NONE/, + wxCURSOR_ARROW /PyName=CURSOR_ARROW/, + wxCURSOR_RIGHT_ARROW /PyName=CURSOR_RIGHT_ARROW/, + wxCURSOR_BULLSEYE /PyName=CURSOR_BULLSEYE/, + wxCURSOR_CHAR /PyName=CURSOR_CHAR/, + wxCURSOR_CROSS /PyName=CURSOR_CROSS/, + wxCURSOR_HAND /PyName=CURSOR_HAND/, + wxCURSOR_IBEAM /PyName=CURSOR_IBEAM/, + wxCURSOR_LEFT_BUTTON /PyName=CURSOR_LEFT_BUTTON/, + wxCURSOR_MAGNIFIER /PyName=CURSOR_MAGNIFIER/, + wxCURSOR_MIDDLE_BUTTON /PyName=CURSOR_MIDDLE_BUTTON/, + wxCURSOR_NO_ENTRY /PyName=CURSOR_NO_ENTRY/, + wxCURSOR_PAINT_BRUSH /PyName=CURSOR_PAINT_BRUSH/, + wxCURSOR_PENCIL /PyName=CURSOR_PENCIL/, + wxCURSOR_POINT_LEFT /PyName=CURSOR_POINT_LEFT/, + wxCURSOR_POINT_RIGHT /PyName=CURSOR_POINT_RIGHT/, + wxCURSOR_QUESTION_ARROW /PyName=CURSOR_QUESTION_ARROW/, + wxCURSOR_RIGHT_BUTTON /PyName=CURSOR_RIGHT_BUTTON/, + wxCURSOR_SIZENESW /PyName=CURSOR_SIZENESW/, + wxCURSOR_SIZENS /PyName=CURSOR_SIZENS/, + wxCURSOR_SIZENWSE /PyName=CURSOR_SIZENWSE/, + wxCURSOR_SIZEWE /PyName=CURSOR_SIZEWE/, + wxCURSOR_SIZING /PyName=CURSOR_SIZING/, + wxCURSOR_SPRAYCAN /PyName=CURSOR_SPRAYCAN/, + wxCURSOR_WAIT /PyName=CURSOR_WAIT/, + wxCURSOR_WATCH /PyName=CURSOR_WATCH/, + wxCURSOR_BLANK /PyName=CURSOR_BLANK/, + wxCURSOR_DEFAULT /PyName=CURSOR_DEFAULT/, + wxCURSOR_COPY_ARROW /PyName=CURSOR_COPY_ARROW/, + wxCURSOR_ARROWWAIT /PyName=CURSOR_ARROWWAIT/, + wxCURSOR_MAX /PyName=CURSOR_MAX/ +}; + +const wxPoint wxDefaultPosition /PyName=DefaultPosition/; + +const wxSize wxDefaultSize /PyName=DefaultSize/; + +bool wxColourDisplay() /PyName=ColourDisplay/; + +int wxDisplayDepth() /PyName=DisplayDepth/; + +void wxClientDisplayRect( + int * x /Out/, + int * y /Out/, + int * width /Out/, + int * height /Out/ +) /PyName=ClientDisplayRect/; + +wxRect wxGetClientDisplayRect() /PyName=GetClientDisplayRect/; + +wxSize wxGetDisplayPPI() /PyName=GetDisplayPPI/; + +void wxDisplaySize( + int * width /Out/, + int * height /Out/ +) /PyName=DisplaySize/; + +wxSize wxGetDisplaySize() /PyName=GetDisplaySize/; + +void wxDisplaySizeMM( + int * width /Out/, + int * height /Out/ +) /PyName=DisplaySizeMM/; + +wxSize wxGetDisplaySizeMM() /PyName=GetDisplaySizeMM/; + + +//--------------------------------------------------------------------------- + diff --git a/sip/gen/geometry.sip b/sip/gen/geometry.sip new file mode 100644 index 00000000..07ef52f4 --- /dev/null +++ b/sip/gen/geometry.sip @@ -0,0 +1,377 @@ +//--------------------------------------------------------------------------- +// This file is generated by wxPython's SIP generator. Do not edit by hand. +// +// Copyright: (c) 2010 by Total Control Software +// Licence: wxWindows license +// +// This file is included from _core.sip +// +//--------------------------------------------------------------------------- + + +%ModuleHeaderCode +#include +%End + + +//--------------------------------------------------------------------------- + +class wxPoint2DDouble /PyName=Point2D/ +{ +%TypeHeaderCode + #include +%End + +public: + wxPoint2DDouble(); + + wxPoint2DDouble( + wxDouble x, + wxDouble y + ); + + wxPoint2DDouble( + const wxPoint2DDouble & pt + ); + + wxPoint2DDouble( + const wxPoint & pt + ); + + wxDouble m_x /PyName=x/; + wxDouble m_y /PyName=y/; + void GetFloor( + wxInt32 * x /Out/, + wxInt32 * y /Out/ + ); + + void GetRounded( + wxInt32 * x /Out/, + wxInt32 * y /Out/ + ); + + wxDouble GetVectorLength(); + + wxDouble GetVectorAngle(); + + void SetVectorLength( + wxDouble length + ); + + void SetVectorAngle( + wxDouble degrees + ); + + void Normalize(); + + wxDouble GetDistance( + const wxPoint2DDouble & pt + ); + + wxDouble GetDistanceSquare( + const wxPoint2DDouble & pt + ); + + wxDouble GetDotProduct( + const wxPoint2DDouble & vec + ); + + wxDouble GetCrossProduct( + const wxPoint2DDouble & vec + ); + + wxPoint2DDouble operator-(); + + wxPoint2DDouble & operator+=( + const wxPoint2DDouble & pt + ); + + wxPoint2DDouble & operator-=( + const wxPoint2DDouble & pt + ); + + wxPoint2DDouble & operator*=( + const wxPoint2DDouble & pt + ); + + wxPoint2DDouble & operator/=( + const wxPoint2DDouble & pt + ); + + bool operator==( + const wxPoint2DDouble & pt + ); + + bool operator!=( + const wxPoint2DDouble & pt + ); + +}; // end of class wxPoint2DDouble + + +class wxRect2DDouble /PyName=Rect2D/ +{ +%TypeHeaderCode + #include +%End + +public: + wxRect2DDouble(); + + wxRect2DDouble( + wxDouble x, + wxDouble y, + wxDouble w, + wxDouble h + ); + + wxDouble m_x /PyName=x/; + wxDouble m_y /PyName=y/; + wxDouble m_width /PyName=width/; + wxDouble m_height /PyName=height/; + wxPoint2DDouble GetPosition(); + + wxSize GetSize(); + + wxDouble GetLeft(); + + void SetLeft( + wxDouble n + ); + + void MoveLeftTo( + wxDouble n + ); + + wxDouble GetTop(); + + void SetTop( + wxDouble n + ); + + void MoveTopTo( + wxDouble n + ); + + wxDouble GetBottom(); + + void SetBottom( + wxDouble n + ); + + void MoveBottomTo( + wxDouble n + ); + + wxDouble GetRight(); + + void SetRight( + wxDouble n + ); + + void MoveRightTo( + wxDouble n + ); + + wxPoint2DDouble GetLeftTop(); + + void SetLeftTop( + const wxPoint2DDouble & pt + ); + + void MoveLeftTopTo( + const wxPoint2DDouble & pt + ); + + wxPoint2DDouble GetLeftBottom(); + + void SetLeftBottom( + const wxPoint2DDouble & pt + ); + + void MoveLeftBottomTo( + const wxPoint2DDouble & pt + ); + + wxPoint2DDouble GetRightTop(); + + void SetRightTop( + const wxPoint2DDouble & pt + ); + + void MoveRightTopTo( + const wxPoint2DDouble & pt + ); + + wxPoint2DDouble GetRightBottom(); + + void SetRightBottom( + const wxPoint2DDouble & pt + ); + + void MoveRightBottomTo( + const wxPoint2DDouble & pt + ); + + wxPoint2DDouble GetCentre(); + + void SetCentre( + const wxPoint2DDouble & pt + ); + + void MoveCentreTo( + const wxPoint2DDouble & pt + ); + + wxOutCode GetOutCode( + const wxPoint2DDouble & pt + ); + + wxOutCode GetOutcode( + const wxPoint2DDouble & pt + ); + + bool Contains( + const wxPoint2DDouble & pt + ); + + bool Contains( + const wxRect2DDouble & rect + ); + + bool IsEmpty(); + + bool HaveEqualSize( + const wxRect2DDouble & rect + ); + + void Inset( + wxDouble x, + wxDouble y + ); + + void Inset( + wxDouble left, + wxDouble top, + wxDouble right, + wxDouble bottom + ); + + void Offset( + const wxPoint2DDouble & pt + ); + + void ConstrainTo( + const wxRect2DDouble & rect + ); + + wxPoint2DDouble Interpolate( + wxInt32 widthfactor, + wxInt32 heightfactor + ); + + void Intersect( + const wxRect2DDouble & otherRect + ); + + static + void Intersect( + const wxRect2DDouble & src1, + const wxRect2DDouble & src2, + wxRect2DDouble * dest + ); + + wxRect2DDouble CreateIntersection( + const wxRect2DDouble & otherRect + ); + + bool Intersects( + const wxRect2DDouble & rect + ); + + void Union( + const wxRect2DDouble & otherRect + ); + + void Union( + const wxPoint2DDouble & pt + ); + + static + void Union( + const wxRect2DDouble & src1, + const wxRect2DDouble & src2, + wxRect2DDouble * dest + ); + + wxRect2DDouble CreateUnion( + const wxRect2DDouble & otherRect + ); + + void Scale( + wxDouble f + ); + + void Scale( + wxInt32 num, + wxInt32 denum + ); + + bool operator==( + const wxRect2DDouble & rect + ); + + bool operator!=( + const wxRect2DDouble & rect + ); + +}; // end of class wxRect2DDouble + + +enum wxOutCode /PyName=OutCode/ +{ + wxInside /PyName=Inside/, + wxOutLeft /PyName=OutLeft/, + wxOutRight /PyName=OutRight/, + wxOutTop /PyName=OutTop/, + wxOutBottom /PyName=OutBottom/ +}; + +wxPoint2DDouble operator+( + const wxPoint2DDouble & pt1, + const wxPoint2DDouble & pt2 +); + +wxPoint2DDouble operator-( + const wxPoint2DDouble & pt1, + const wxPoint2DDouble & pt2 +); + +wxPoint2DDouble operator*( + const wxPoint2DDouble & pt1, + const wxPoint2DDouble & pt2 +); + +wxPoint2DDouble operator*( + wxDouble n, + const wxPoint2DDouble & pt +); + +wxPoint2DDouble operator*( + const wxPoint2DDouble & pt, + wxDouble n +); + +wxPoint2DDouble operator/( + const wxPoint2DDouble & pt1, + const wxPoint2DDouble & pt2 +); + +wxPoint2DDouble operator/( + const wxPoint2DDouble & pt, + wxDouble n +); + + +//--------------------------------------------------------------------------- + diff --git a/sip/gen/object.sip b/sip/gen/object.sip new file mode 100644 index 00000000..4e21ab31 --- /dev/null +++ b/sip/gen/object.sip @@ -0,0 +1,116 @@ +//--------------------------------------------------------------------------- +// This file is generated by wxPython's SIP generator. Do not edit by hand. +// +// Copyright: (c) 2010 by Total Control Software +// Licence: wxWindows license +// +// This file is included from _core.sip +// +//--------------------------------------------------------------------------- + + +//--------------------------------------------------------------------------- + +class wxRefCounter /PyName=RefCounter/ +{ +%TypeHeaderCode + #include +%End + +public: + wxRefCounter(); + + void DecRef(); + + int GetRefCount(); + + void IncRef(); + + +protected: + virtual + ~wxRefCounter(); + +}; // end of class wxRefCounter + + +class wxObject /PyName=Object/ +{ +%TypeHeaderCode + #include +%End + +public: + wxObject(); + + wxObject( + const wxObject & other + ); + + virtual + ~wxObject(); + + virtual + wxClassInfo * GetClassInfo(); + + wxObjectRefData * GetRefData(); + + bool IsKindOf( + const wxClassInfo * info + ); + + bool IsSameAs( + const wxObject & obj + ); + + void Ref( + const wxObject & clone + ); + + void SetRefData( + wxObjectRefData * data + ); + + void UnRef(); + + void UnShare(); + +}; // end of class wxObject + + +class wxClassInfo /PyName=ClassInfo, Abstract/ +{ +%TypeHeaderCode + #include +%End + +public: + wxObject * CreateObject(); + + const wxChar * GetBaseClassName1(); + + const wxChar * GetBaseClassName2(); + + const wxChar * GetClassName(); + + int GetSize(); + + bool IsDynamic(); + + bool IsKindOf( + const wxClassInfo * info + ); + + static + wxClassInfo * FindClass( + const wxString & className + ); + +}; // end of class wxClassInfo + + +typedef wxRefCounter wxObjectRefData; + + +//--------------------------------------------------------------------------- +