typemap 26.4 KB
Newer Older
1 2 3 4 5 6
#############################################################################
## Name:        typemap
## Purpose:     typemap template
## Author:      Mattia Barbon
## Modified by:
## Created:     29/10/2000
7
## RCS-ID:      $Id: typemap 3550 2017-04-10 02:39:52Z mdootson $
8
## Copyright:   (c) 2000-2013 Mattia Barbon
9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49
## Licence:     This program is free software; you can redistribute it and/or
##              modify it under the same terms as Perl itself
#############################################################################

TYPEMAP
wxFlexSizerGrowMode     T_ENUM
wxEdge                  T_ENUM
wxRelationship          T_ENUM
wxWindowID              T_WINDOWID
wxStockCursor           T_ENUM
wxEventType             T_ENUM
wxCheckBoxState         T_ENUM
wxBitmapType            T_ENUM
const char *            T_PV
wxCoord                 T_IV
float                   T_NV
wxFontEncoding          T_ENUM
wxFontFamily            T_ENUM
wxFontStyle             T_ENUM
wxFontWeight            T_ENUM
wxRegionContain         T_ENUM
wxSashEdgePosition      T_ENUM
wxSashDragStatus        T_ENUM
wxListColumnFormat      T_ENUM
wxRasterOperationMode   T_ENUM
wxPolygonFillMode       T_ENUM
wxFloodFillStyle        T_ENUM
wxMappingMode           T_ENUM
off_t                   T_IV
ResourceCat             T_ENUM
wxSeekMode              T_ENUM
WXCOLORREF              T_IV
EntryType               T_ENUM
wxKillError             T_ENUM
wxSignal                T_ENUM
wxItemKind              T_ENUM
wxLayoutDirection       T_ENUM
PlClassName             T_CLASSNAME
wxUint32                T_IV
wxLongLong_t            T_IV
wxULongLong_t           T_UV
50 51
wxIntPtr                T_IV
wxUIntPtr               T_UV
52 53 54 55 56 57 58 59 60 61 62 63 64 65 66
wxByte                  T_U_CHAR
wxTextCtrlHitTestResult T_ENUM
wxArrayString           T_ARRAYSTRING
wxArrayString *         T_ARRAYSTRING
wxPliUserDataCD **      T_ARRAYUSERDATA
wxArrayInt              T_ARRAYINT
wxTextPos               T_IV
wxTextAttrAlignment     T_ENUM
wxIdleMode              T_ENUM
wxDouble                T_DOUBLE
wxAnimationType         T_ENUM
wxUpdateUIMode          T_ENUM
wxWindowVariant         T_ENUM
wxImageResizeQuality    T_ENUM
wxAlignment             T_ENUM
67
wxScrollbarVisibility   T_ENUM
68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85

wxFindReplaceDialogStyles T_ENUM
wxFindReplaceFlags      T_ENUM

wxBackgroundStyle       T_ENUM
wxSystemColour          T_ENUM
wxSystemFont            T_ENUM
wxSystemMetric          T_ENUM
wxSystemScreenType      T_ENUM
wxOrientation           T_ENUM
wxBatteryState          T_ENUM
wxPowerType             T_ENUM
wxDirection             T_ENUM
wxPenStyle              T_ENUM
wxPenCap                T_ENUM
wxPenJoin               T_ENUM
wxBrushStyle            T_ENUM
wxShowEffect            T_ENUM
86
wxTipKind               T_ENUM
87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138

wxDialogLayoutAdaptationMode T_ENUM

wxLogTraceMask          T_UV 
wxLogLevel              T_UV 
wxTraceMask             T_UV
wxTreeItemIdValue       T_UV
wxTreeItemIcon          T_UV

wxKeyCode               T_KEYCODE
wxChar                  T_IV

wxStockHelpStringClient T_ENUM

wxDateTime *            O_NON_WXOBJECT

Wx_UserDataCD *         O_USERDATACD
wxPliUserDataCD *       O_USERDATACD

Wx_UserDataO *          O_USERDATAO
wxPliUserDataO *        O_USERDATAO

SV_null *               T_SV_NULL

wxClassInfo *           O_NON_WXOBJECT
wxPropertyInfo *        O_NON_WXOBJECT
const wxClassInfo *     O_NON_WXOBJECT
const wxPropertyInfo *  O_NON_WXOBJECT
const wxTypeInfo *      O_NON_WXOBJECT
wxTypeInfo *            O_NON_WXOBJECT
wxPropertyAccessor *    O_NON_WXOBJECT
wxTypeKind              T_ENUM
wxPropertyInfoFlags     T_ENUM

wxObject *              O_WXOBJECT

wxApp *                 O_WXOBJECT
wxStandardPaths *       O_NON_WXOBJECT
wxWindow *              O_WXOBJECT
wxPlWindow *            O_WXOBJECT
wxPlControl *           O_WXOBJECT
wxFrame *               O_WXOBJECT
wxTopLevelWindow *      O_WXOBJECT
wxEvtHandler *          O_WXOBJECT
wxMiniFrame *           O_WXOBJECT
wxPopupWindow *         O_WXOBJECT
wxPopupTransientWindow * O_WXOBJECT
wxPlPopupTransientWindow * O_WXOBJECT
wxDisplay *             O_NON_WXOBJECT_THR
wxVideoMode *           O_NON_WXOBJECT_THR
wxEventBlocker *        O_NON_WXOBJECT_THR
wxWindowUpdateLocker *  O_NON_WXOBJECT_THR
139
wxRichToolTip *         O_NON_WXOBJECT_THR
140 141 142 143 144

wxMenuBar *             O_WXOBJECT
wxMenu *                O_WXOBJECT
wxMenuItem *            O_WXOBJECT

145 146 147 148
wxRearrangeList *       O_WXOBJECT_NAMED
wxRearrangeCtrl *       O_WXOBJECT_NAMED
wxRearrangeDialog *     O_WXOBJECT_NAMED

149 150 151 152 153 154 155 156 157 158 159 160 161
wxDirFilterListCtrl *   O_WXEVTHANDLER
wxDirCtrl *             O_WXEVTHANDLER
wxFileCtrl *            O_WXEVTHANDLER
wxGenericDirCtrl *      O_WXEVTHANDLER
wxAnimationCtrl *       O_WXEVTHANDLER
wxStatusBar *           O_WXEVTHANDLER
wxToolBar *             O_WXEVTHANDLER
wxToolBarBase *         O_WXEVTHANDLER
wxToolBarSimple *       O_WXEVTHANDLER
wxPanel *               O_WXOBJECT
wxDialog *              O_WXOBJECT
wxControl *             O_WXOBJECT
wxButton *              O_WXEVTHANDLER
162
wxCommandLinkButton *   O_WXEVTHANDLER
163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237
wxStaticText *          O_WXEVTHANDLER
wxStaticLine *          O_WXEVTHANDLER
wxTextCtrl *            O_WXOBJECT
wxTextCtrlBase *        O_WXOBJECT
wxPropertySheetDialog * O_WXEVTHANDLER
wxPlValidator *         O_WXOBJECT
wxValidator *           O_WXOBJECT
wxCheckBox *            O_WXEVTHANDLER
wxChoice *              O_WXEVTHANDLER
wxComboBox *            O_WXEVTHANDLER
wxComboCtrl *           O_WXEVTHANDLER
wxComboCtrlBase *       O_WXEVTHANDLER
wxComboPopup *          O_NON_WXOBJECT
wxPlComboPopup *        O_NON_WXOBJECT
wxOwnerDrawnComboBox *  O_WXEVTHANDLER
wxPlOwnerDrawnComboBox * O_WXEVTHANDLER
wxControlWithItems *    O_WXOBJECT
wxEditableListBox *     O_WXOBJECT
wxListBox *             O_WXEVTHANDLER
wxStaticBox *           O_WXEVTHANDLER
wxRadioButton *         O_WXEVTHANDLER
wxRadioBox *            O_WXEVTHANDLER
wxScrollBar *           O_WXEVTHANDLER
wxNotebook *            O_WXEVTHANDLER
wxBookCtrl *            O_WXEVTHANDLER
wxBookCtrlBase *        O_WXEVTHANDLER
wxCheckListBox *        O_WXEVTHANDLER
wxGauge *               O_WXEVTHANDLER
wxBitmapButton *        O_WXEVTHANDLER
wxTreeCtrl *            O_WXOBJECT
wxListCtrl *            O_WXOBJECT
wxListView *            O_WXEVTHANDLER
wxStaticBitmap *        O_WXEVTHANDLER
wxSpinButton *          O_WXEVTHANDLER
wxSpinCtrl *            O_WXEVTHANDLER
wxSpinCtrlDouble *      O_WXEVTHANDLER
wxSlider *              O_WXEVTHANDLER
wxScrolledWindow *      O_WXOBJECT
wxVScrolledWindow *     O_WXEVTHANDLER
wxHScrolledWindow *     O_WXEVTHANDLER
wxHVScrolledWindow *    O_WXEVTHANDLER
wxPlVScrolledWindow *   O_WXEVTHANDLER
wxPlHScrolledWindow *   O_WXEVTHANDLER
wxPlHVScrolledWindow *  O_WXEVTHANDLER
wxVListBox *            O_WXEVTHANDLER
wxPlVListBox *          O_WXEVTHANDLER
wxSplitterWindow *      O_WXEVTHANDLER
wxSearchCtrl *          O_WXEVTHANDLER
wxSashWindow *          O_WXEVTHANDLER
wxToggleButton *        O_WXEVTHANDLER
wxBitmapToggleButton *  O_WXEVTHANDLER
wxSplashScreen *        O_WXOBJECT
wxSplashScreenWindow *  O_WXOBJECT
wxListbook *            O_WXEVTHANDLER
wxChoicebook *          O_WXEVTHANDLER
wxToolbook *            O_WXEVTHANDLER
wxTreebook *            O_WXEVTHANDLER
wxHyperlinkCtrl *       O_WXEVTHANDLER
wxPickerBase *          O_WXEVTHANDLER
wxColourPickerCtrl *    O_WXEVTHANDLER
wxFilePickerCtrl *      O_WXEVTHANDLER
wxDirPickerCtrl *       O_WXEVTHANDLER
wxFontPickerCtrl *      O_WXEVTHANDLER
wxCollapsiblePane *     O_WXEVTHANDLER
wxBitmapComboBox *      O_WXEVTHANDLER
wxInfoBar *             O_WXEVTHANDLER
wxHeaderCtrl *          O_WXEVTHANDLER
wxPlHeaderCtrl *        O_WXEVTHANDLER
wxHeaderCtrlSimple *    O_WXEVTHANDLER
wxPlHeaderCtrlSimple *  O_WXEVTHANDLER
wxHeaderColumn *        O_NON_WXOBJECT_THR
wxSettableHeaderColumn * O_NON_WXOBJECT_THR
wxHeaderColumnSimple *  O_NON_WXOBJECT_THR
wxPlHeaderColumn *      O_NON_WXOBJECT_SELF
wxPlSettableHeaderColumn * O_NON_WXOBJECT_SELF
238
wxBannerWindow *        O_WXEVTHANDLER
239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315

wxWizard *              O_WXOBJECT
wxWizardPage *          O_WXOBJECT
wxWizardPageSimple *    O_WXOBJECT

wxColourDialog *        O_WXOBJECT
wxFileDialog *          O_WXOBJECT
wxDirDialog *           O_NON_WXOBJECT
wxNumberEntryDialog *   O_WXOBJECT
wxMultiChoiceDialog *   O_WXOBJECT
wxSingleChoiceDialog *  O_WXOBJECT
wxMultipleChoiceDialog* O_WXOBJECT
wxTextEntryDialog *     O_WXOBJECT
wxPasswordEntryDialog * O_WXOBJECT
wxFontDialog *          O_WXOBJECT
wxPageSetupDialog *     O_WXOBJECT
wxPrintDialog *         O_WXOBJECT
wxMessageDialog *       O_WXOBJECT
wxProgressDialog *      O_WXOBJECT
wxFindReplaceDialog *   O_WXOBJECT
wxPropertySheetDialog * O_WXOBJECT

wxFindReplaceData *     O_NON_WXOBJECT
wxColourData *          O_WXOBJECT_THR
wxFontData *            O_WXOBJECT_THR

wxSizer *               O_WXOBJECT
wxPlSizer *             O_WXOBJECT
wxBoxSizer *            O_WXOBJECT
wxStaticBoxSizer *      O_WXOBJECT
wxNotebookSizer *       O_WXOBJECT
wxGridSizer *           O_WXOBJECT
wxFlexGridSizer *       O_WXOBJECT
wxSizerItem *           O_WXOBJECT
wxGridBagSizer *        O_WXOBJECT
wxGBPosition *          O_NON_WXOBJECT
wxGBSpan *              O_NON_WXOBJECT
wxGBPosition            O_GBPOSITION
wxGBSpan                O_GBSPAN
wxGBPosition &          O_GBPOSITION
wxGBSpan &              O_GBSPAN
wxGBSizerItem *         O_WXOBJECT
wxStdDialogButtonSizer * O_WXOBJECT
wxWrapSizer *           O_WXOBJECT

wxDC *                  O_WXOBJECT_THR
wxMemoryDC *            O_WXOBJECT_THR
wxPrinterDC *           O_WXOBJECT_THR
wxWindowDC *            O_WXOBJECT_THR
wxClientDC *            O_WXOBJECT_THR
wxPaintDC *             O_WXOBJECT_THR
wxScreenDC *            O_WXOBJECT_THR
wxBufferedDC *          O_WXOBJECT_THR
wxBufferedPaintDC *     O_WXOBJECT_THR
wxAutoBufferedPaintDC * O_WXOBJECT_THR
wxMirrorDC *            O_WXOBJECT_THR
wxSVGFileDC *           O_WXOBJECT_THR
wxGCDC *                O_WXOBJECT_THR
wxOverlay *             O_NON_WXOBJECT_THR
wxDCOverlay *           O_NON_WXOBJECT_THR
wxDCClipper *           O_NON_WXOBJECT_THR

wxTaskBarIcon *         O_WXOBJECT
wxNotificationMessage * O_NON_WXOBJECT_THR

wxTextAttr *            O_NON_WXOBJECT_THR

wxLog *                 O_NON_WXOBJECT
wxLogTextCtrl *         O_NON_WXOBJECT
wxLogNull *             O_NON_WXOBJECT_THR
wxLogGui *              O_NON_WXOBJECT
wxLogWindow *           O_NON_WXOBJECT
wxLogChain *            O_NON_WXOBJECT
wxLogPassThrough *      O_NON_WXOBJECT
wxLogStderr *           O_NON_WXOBJECT
wxPlLog *               O_NON_WXOBJECT
wxPlLogPassThrough *    O_NON_WXOBJECT
316 317 318
wxLogRecordInfo *       O_NON_WXOBJECT
wxPlLogFormatter *      O_NON_WXOBJECT
wxLogFormatter *        O_NON_WXOBJECT
319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355

wxLocale *              O_NON_WXOBJECT_THR
wxLanguageInfo *        O_NON_WXOBJECT_THR
const wxLanguageInfo *  O_NON_WXOBJECT_THR

wxStopWatch *           O_NON_WXOBJECT_THR

wxAboutDialogInfo *     O_NON_WXOBJECT

wxPoint                 O_POINT
wxSize                  O_SIZE
wxPosition              O_POSITION
wxColour                O_NON_WXOBJECT_VAL
wxPoint &               O_POINT
wxSize &                O_SIZE
wxPosition &            O_POSITION
wxColour &              O_NON_WXOBJECT_VAL

wxVariant*              O_NON_WXOBJECT_THR
wxVariant               O_VARIANT

wxProcess *             O_WXOBJECT
wxSound *               O_NON_WXOBJECT_THR

wxTipProvider *         O_NON_WXOBJECT

wxDrawObject *          O_NON_WXOBJECT
wxSize *                O_NON_WXOBJECT_THR
wxPoint *               O_NON_WXOBJECT_THR
wxRect *                O_NON_WXOBJECT_THR
wxPosition *            O_NON_WXOBJECT_THR
wxColour *              O_NON_WXOBJECT_THR
wxCaret *               O_NON_WXOBJECT
wxCaretSuspend *        O_NON_WXOBJECT_THR
wxWindowDisabler *      O_NON_WXOBJECT_THR
wxBusyCursor *          O_NON_WXOBJECT_THR
wxBusyInfo *            O_NON_WXOBJECT_THR
356
wxTimerRunner *         O_NON_WXOBJECT_THR
357 358 359 360 361 362 363 364 365 366 367 368 369 370

wxLayoutConstraints *   O_WXOBJECT
wxIndividualLayoutConstraint * O_WXOBJECT

wxDropTarget *          O_NON_WXOBJECT
wxListItem *            O_NON_WXOBJECT_THR
wxListItemAttr *        O_NON_WXOBJECT_THR
wxPliTreeItemData *     O_NON_WXOBJECT
wxTreeItemData *        O_NON_WXOBJECT
wxTreeItemId *          O_NON_WXOBJECT_THR

wxAnimation *           O_WXOBJECT_THR
wxFontMapper *          O_NON_WXOBJECT
wxFontEnumerator *      O_NON_WXOBJECT_THR
371
wxPlFontEnumerator *    O_NON_WXOBJECT_VXSP_THR
372 373 374
wxNativeFontInfo *      O_NON_WXOBJECT_THR
wxFont *                O_WXOBJECT_THR
wxRegion *              O_WXOBJECT_THR
375
wxRegionIterator *      O_WXOBJECT_THR
376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505
wxIcon *                O_WXOBJECT_THR
wxIconBundle *          O_NON_WXOBJECT
wxIconLocation *        O_NON_WXOBJECT
wxBitmap *              O_WXOBJECT_THR
wxCursor *              O_WXOBJECT_THR
const wxCursor *        O_WXOBJECT_THR
wxToolTip *             O_WXOBJECT
wxPen *                 O_WXOBJECT_THR
wxMask *                O_WXOBJECT
wxBrush *               O_WXOBJECT_THR
wxBitmapHandler *       O_WXOBJECT
wxPalette *             O_WXOBJECT_THR
wxMimeTypesManager *    O_NON_WXOBJECT_THR
wxFileType *            O_NON_WXOBJECT
wxFileTypeInfo *        O_NON_WXOBJECT

wxImage *               O_WXOBJECT_THR
wxImageHandler *        O_WXOBJECT
wxBMPHandler *          O_WXOBJECT
wxGIFHandler *          O_WXOBJECT
wxPCXHandler *          O_WXOBJECT
wxPNMHandler *          O_WXOBJECT
wxTIFFHandler *         O_WXOBJECT
wxJPEGHandler *         O_WXOBJECT
wxPNGHandler *          O_WXOBJECT
wxXPMHandler *          O_WXOBJECT
wxIFFHandler *          O_WXOBJECT
wxICOHandler *          O_WXOBJECT
wxCURHandler *          O_WXOBJECT
wxANIHandler *          O_WXOBJECT
wxTGAHandler *          O_WXOBJECT

wxImageList *           O_WXOBJECT_THR

wxToolBarToolBase *     O_NON_WXOBJECT

wxAcceleratorEntry *    O_NON_WXOBJECT_THR
wxAcceleratorTable *    O_WXOBJECT_THR

wxTimer *               O_WXOBJECT

wxSingleInstanceChecker * O_NON_WXOBJECT_THR

wxWave *                O_NON_WXOBJECT

wxGraphicsRenderer *    O_WXOBJECT
wxGraphicsBrush *       O_WXOBJECT_THR
wxGraphicsContext *     O_WXOBJECT_THR
wxGraphicsFont *        O_WXOBJECT_THR
wxGraphicsMatrix *      O_WXOBJECT_THR
wxGraphicsObject *      O_WXOBJECT_THR
wxGraphicsPath *        O_WXOBJECT_THR
wxGraphicsPen *         O_WXOBJECT_THR
wxGraphicsGradientStop * O_NON_WXOBJECT_THR
wxGraphicsGradientStops * O_NON_WXOBJECT_THR
wxTreeListCtrl *        O_WXEVTHANDLER
wxTreeListItem *        O_NON_WXOBJECT_THR
wxTreeListItemComparator * O_NON_WXOBJECT_THR
wxPlTreeListItemComparator * O_NON_WXOBJECT_SELF

# events
wxEvent *               O_WXOBJECT_THR
wxActivateEvent *       O_WXOBJECT_THR
wxBookCtrlEvent *       O_WXOBJECT_THR
wxClipboardTextEvent *  O_WXOBJECT_THR
wxCloseEvent *          O_WXOBJECT_THR
wxCommandEvent *        O_WXOBJECT_THR
wxContextMenuEvent *    O_WXOBJECT_THR
wxEraseEvent *          O_WXOBJECT_THR
wxFindDialogEvent *     O_WXOBJECT_THR
wxFocusEvent *          O_WXOBJECT_THR
wxFileCtrlEvent *       O_WXOBJECT_THR
wxKeyEvent *            O_WXOBJECT_THR
wxHelpEvent *           O_WXOBJECT_THR
wxIconizeEvent *        O_WXOBJECT_THR
wxIdleEvent *           O_WXOBJECT_THR
wxInitDialogEvent *     O_WXOBJECT_THR
wxJoystickEvent *       O_WXOBJECT_THR
wxListbookEvent *       O_WXOBJECT_THR
wxListEvent *           O_WXOBJECT_THR
wxMaximizeEvent *       O_WXOBJECT_THR
wxMenuEvent *           O_WXOBJECT_THR
wxMouseCaptureChangedEvent * O_WXOBJECT_THR
wxMouseCaptureLostEvent * O_WXOBJECT_THR
wxMouseEvent *          O_WXOBJECT_THR
wxMoveEvent *           O_WXOBJECT_THR
wxNotebookEvent *       O_WXOBJECT_THR
wxNotifyEvent *         O_WXOBJECT_THR
wxPaintEvent *          O_WXOBJECT_THR
wxQueryLayoutInfo *     O_WXOBJECT_THR
wxSashEvent *           O_WXOBJECT_THR
wxSizeEvent *           O_WXOBJECT_THR
wxScrollEvent *         O_WXOBJECT_THR
wxScrollWinEvent *      O_WXOBJECT_THR
wxSpinEvent *           O_WXOBJECT_THR
wxSplitterEvent *       O_WXOBJECT_THR
wxSetCursorEvent *      O_WXOBJECT_THR
wxSysColourChangedEvent * O_WXOBJECT_THR
wxTaskBarIconEvent *    O_WXOBJECT_THR
wxTimerEvent *          O_WXOBJECT_THR
wxTreeEvent *           O_WXOBJECT_THR
wxUpdateUIEvent *       O_WXOBJECT_THR
wxTextUrlEvent *        O_WXOBJECT_THR
wxProcessEvent *        O_WXOBJECT_THR
wxWizardEvent *         O_WXOBJECT_THR
wxTreebookEvent *       O_WXOBJECT_THR
wxNavigationKeyEvent *  O_WXOBJECT_THR
wxChildFocusEvent *     O_WXOBJECT_THR
wxHyperlinkEvent *      O_WXOBJECT_THR
wxPowerEvent *          O_WXOBJECT_THR
wxColourPickerEvent *   O_WXOBJECT_THR
wxFileDirPickerEvent *  O_WXOBJECT_THR
wxFontPickerEvent *     O_WXOBJECT_THR
wxWindowCreateEvent *   O_WXOBJECT_THR
wxWindowDestroyEvent *  O_WXOBJECT_THR
wxCollapsiblePaneEvent * O_WXOBJECT_THR
wxHeaderCtrlEvent *     O_WXOBJECT_THR
wxTreeListEvent *       O_WXOBJECT_THR

wxPlEvent *             O_WXOBJECT_THR
wxPlCommandEvent *      O_WXOBJECT_THR
wxPlThreadEvent *       O_WXOBJECT_THR

wxConfigBase *          O_NON_WXOBJECT
wxConfig *              O_NON_WXOBJECT
wxFileConfig *          O_NON_WXOBJECT

wxArtProvider *         O_WXOBJECT
wxPlArtProvider *       O_WXOBJECT

506 507
wxPlEventFilter *       O_NON_WXOBJECT_THR
wxEventFilter *         O_NON_WXOBJECT_THR
508

509
wxUIActionSimulator *   O_NON_WXOBJECT_THR
510 511 512 513 514 515 516 517 518 519 520

OUTPUT
O_WXOBJECT
    wxPli_object_2_sv( aTHX_ $arg, $var );

O_WXOBJECT_THR
    wxPli_object_2_sv( aTHX_ $arg, $var );
    wxPli_thread_sv_register( aTHX_ ${(my $ntt=$ntype)=~s/^(?:const\s+)?(?:Wx_|wx)(.*?)(?:Ptr)?$/$1/g;$ntt=qq{\"Wx::$ntt\"};\$ntt}, $var, $arg );

O_WXEVTHANDLER
    wxPli_evthandler_2_sv( aTHX_ $arg, $var );
521 522 523 524 525 526 527
    
O_WXOBJECT_NAMED
    wxPli_namedobject_2_sv( aTHX_ $arg, $var, ${(my $ntt=$ntype)=~s/^(?:const\s+)?(?:Wx_|wx)(.*?)(?:Ptr)?$/$1/g;$ntt=qq{\"Wx::$ntt\"};\$ntt} );
    
O_WXOBJECT_NAMED_THR
    wxPli_namedobject_2_sv( aTHX_ $arg, $var, ${(my $ntt=$ntype)=~s/^(?:const\s+)?(?:Wx_|wx)(.*?)(?:Ptr)?$/$1/g;$ntt=qq{\"Wx::$ntt\"};\$ntt} );
    wxPli_thread_sv_register( aTHX_ ${(my $ntt=$ntype)=~s/^(?:const\s+)?(?:Wx_|wx)(.*?)(?:Ptr)?$/$1/g;$ntt=qq{\"Wx::$ntt\"};\$ntt}, $var, $arg );
528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577

O_WXCLIENTDATACONTAINER
    wxPli_clientdatacontainer_2_sv( aTHX_ $arg, $var, ${(my $ntt=$ntype)=~s/^(?:const\s+)?(?:Wx_|wx)(.*?)(?:Ptr)?$/$1/g;$ntt=qq{\"Wx::$ntt\"};\$ntt} );

O_WXCLIENTDATACONTAINER_THR_SV
    wxPli_clientdatacontainer_2_sv( aTHX_ $arg, $var, ${(my $ntt=$ntype)=~s/^(?:const\s+)?(?:Wx_|wx)(.*?)(?:Ptr)?$/$1/g;$ntt=qq{\"Wx::$ntt\"};\$ntt} );
    wxPli_thread_sv_register( aTHX_ ${(my $ntt=$ntype)=~s/^(?:const\s+)?(?:Wx_|wx)(.*?)(?:Ptr)?$/$1/g;$ntt=qq{\"Wx::$ntt\"};\$ntt}, SvRV( $arg ), $arg );

O_NON_WXOBJECT
    wxPli_non_object_2_sv( aTHX_ $arg, $var, ${(my $ntt=$ntype)=~s/^(?:const\s+)?(?:Wx_|wx)(.*?)(?:Ptr)?$/$1/g;$ntt=qq{\"Wx::$ntt\"};\$ntt} );

O_NON_WXOBJECT_THR
    wxPli_non_object_2_sv( aTHX_ $arg, $var, ${(my $ntt=$ntype)=~s/^(?:const\s+)?(?:Wx_|wx)(.*?)(?:Ptr)?$/$1/g;$ntt=qq{\"Wx::$ntt\"};\$ntt} );
    wxPli_thread_sv_register( aTHX_ ${(my $ntt=$ntype)=~s/^(?:const\s+)?(?:Wx_|wx)(.*?)(?:Ptr)?$/$1/g;$ntt=qq{\"Wx::$ntt\"};\$ntt}, $var, $arg );

O_NON_WXOBJECT_THR_SV
    wxPli_non_object_2_sv( aTHX_ $arg, $var, ${(my $ntt=$ntype)=~s/^(?:const\s+)?(?:Wx_|wx)(.*?)(?:Ptr)?$/$1/g;$ntt=qq{\"Wx::$ntt\"};\$ntt} );
    wxPli_thread_sv_register( aTHX_ ${(my $ntt=$ntype)=~s/^(?:const\s+)?(?:Wx_|wx)(.*?)(?:Ptr)?$/$1/g;$ntt=qq{\"Wx::$ntt\"};\$ntt}, SvRV( $arg ), $arg );

O_SIZE
    wxPli_non_object_2_sv( aTHX_ $arg, new $type($var), ${(my $ntt=$ntype)=~s/^(?:const\s+)?(?:Wx_|wx)(.*?)(?:Ptr)?$/$1/g;$ntt=qq{\"Wx::$ntt\"};\$ntt} );

O_GBPOSITION
    wxPli_non_object_2_sv( aTHX_ $arg, new $type($var), ${(my $ntt=$ntype)=~s/^(?:const\s+)?(?:Wx_|wx)(.*?)(?:Ptr)?$/$1/g;$ntt=qq{\"Wx::$ntt\"};\$ntt} );

O_GBSPAN
    wxPli_non_object_2_sv( aTHX_ $arg, new $type($var), ${(my $ntt=$ntype)=~s/^(?:const\s+)?(?:Wx_|wx)(.*?)(?:Ptr)?$/$1/g;$ntt=qq{\"Wx::$ntt\"};\$ntt} );

O_POINT
    wxPli_non_object_2_sv( aTHX_ $arg, new $type($var), ${(my $ntt=$ntype)=~s/^(?:const\s+)?(?:Wx_|wx)(.*?)(?:Ptr)?$/$1/g;$ntt=qq{\"Wx::$ntt\"};\$ntt} );

O_POSITION
    wxPli_non_object_2_sv( aTHX_ $arg, new $type($var), ${(my $ntt=$ntype)=~s/^(?:const\s+)?(?:Wx_|wx)(.*?)(?:Ptr)?$/$1/g;$ntt=qq{\"Wx::$ntt\"};\$ntt} );

T_KEYCODE
    sv_setiv( $arg, $var );

T_UV
    sv_setuv( $arg, (UV)$var );

INPUT
O_WXOBJECT
    $var = (${(my $t=$type)=~s/^Wx_/wx/;\$t}) wxPli_sv_2_object( aTHX_ $arg, ${(my $ntt=$ntype)=~s/^(?:const\s+)?(?:Wx_|wx)(.*?)(?:Ptr)?$/$1/g;$ntt=qq{\"Wx::$ntt\"};\$ntt} );

O_WXOBJECT_THR
    $var = (${(my $t=$type)=~s/^Wx_/wx/;\$t}) wxPli_sv_2_object( aTHX_ $arg, ${(my $ntt=$ntype)=~s/^(?:const\s+)?(?:Wx_|wx)(.*?)(?:Ptr)?$/$1/g;$ntt=qq{\"Wx::$ntt\"};\$ntt} );

O_WXEVTHANDLER
    $var = (${(my $t=$type)=~s/^Wx_/wx/;\$t}) wxPli_sv_2_object( aTHX_ $arg, ${(my $ntt=$ntype)=~s/^(?:const\s+)?(?:Wx_|wx)(.*?)(?:Ptr)?$/$1/g;$ntt=qq{\"Wx::$ntt\"};\$ntt} );

578 579 580 581 582 583
O_WXOBJECT_NAMED
    $var = (${(my $t=$type)=~s/^Wx_/wx/;\$t}) wxPli_sv_2_object( aTHX_ $arg, ${(my $ntt=$ntype)=~s/^(?:const\s+)?(?:Wx_|wx)(.*?)(?:Ptr)?$/$1/g;$ntt=qq{\"Wx::$ntt\"};\$ntt} );
    
O_WXOBJECT_NAMED_THR
    $var = (${(my $t=$type)=~s/^Wx_/wx/;\$t}) wxPli_sv_2_object( aTHX_ $arg, ${(my $ntt=$ntype)=~s/^(?:const\s+)?(?:Wx_|wx)(.*?)(?:Ptr)?$/$1/g;$ntt=qq{\"Wx::$ntt\"};\$ntt} );

584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671
O_WXCLIENTDATACONTAINER
    $var = (${(my $t=$type)=~s/^Wx_/wx/;\$t}) wxPli_sv_2_object( aTHX_ $arg, ${(my $ntt=$ntype)=~s/^(?:const\s+)?(?:Wx_|wx)(.*?)(?:Ptr)?$/$1/g;$ntt=qq{\"Wx::$ntt\"};\$ntt} );

O_WXCLIENTDATACONTAINER_THR_SV
    $var = (${(my $t=$type)=~s/^Wx_/wx/;\$t}) wxPli_sv_2_object( aTHX_ $arg, ${(my $ntt=$ntype)=~s/^(?:const\s+)?(?:Wx_|wx)(.*?)(?:Ptr)?$/$1/g;$ntt=qq{\"Wx::$ntt\"};\$ntt} );

O_NON_WXOBJECT
    $var = (${(my $t=$type)=~s/^Wx_/wx/;\$t}) wxPli_sv_2_object( aTHX_ $arg, ${(my $ntt=$ntype)=~s/^(?:const\s+)?(?:Wx_|wx)(.*?)(?:Ptr)?$/$1/g;$ntt=qq{\"Wx::$ntt\"};\$ntt} );

O_NON_WXOBJECT_VAL
    $var = *($type *) wxPli_sv_2_object( aTHX_ $arg, ${(my $ntt=$ntype)=~s/^(?:const\s+)?(?:Wx_|wx)(.*?)(?:Ptr)?$/$1/g;$ntt=qq{\"Wx::$ntt\"};\$ntt} );

O_NON_WXOBJECT_THR
    $var = (${(my $t=$type)=~s/^Wx_/wx/;\$t}) wxPli_sv_2_object( aTHX_ $arg, ${(my $ntt=$ntype)=~s/^(?:const\s+)?(?:Wx_|wx)(.*?)(?:Ptr)?$/$1/g;$ntt=qq{\"Wx::$ntt\"};\$ntt} );

O_NON_WXOBJECT_THR_SV
    $var = (${(my $t=$type)=~s/^Wx_/wx/;\$t}) wxPli_sv_2_object( aTHX_ $arg, ${(my $ntt=$ntype)=~s/^(?:const\s+)?(?:Wx_|wx)(.*?)(?:Ptr)?$/$1/g;$ntt=qq{\"Wx::$ntt\"};\$ntt} );

O_POINT
    $var = wxPli_sv_2_wxpoint( aTHX_ $arg );

O_SIZE
    $var = wxPli_sv_2_wxsize( aTHX_ $arg );

O_POSITION
    $var = wxPli_sv_2_wxposition( aTHX_ $arg );

O_GBPOSITION
    $var = wxPli_sv_2_wxgbposition( aTHX_ $arg );

O_GBSPAN
    $var = wxPli_sv_2_wxgbspan( aTHX_ $arg );

T_KEYCODE
    $var = wxPli_sv_2_keycode( aTHX_ $arg );

T_UV
    $var = ($type)SvUV( $arg );

T_CLASSNAME
    $var = wxPli_get_class( aTHX_ $arg );

O_VARIANT
    $var = wxPli_sv_2_wxvariant( aTHX_ $arg );

#
# Wx_UserData*
#

INPUT
O_USERDATACD
    if( SvOK( $arg ) )
    {
        $var = new wxPliUserDataCD( $arg );
    }
    else
        $var = 0;

O_USERDATAO
    if( SvOK( $arg ) )
    {
        $var = new wxPliUserDataO( $arg );
    }
    else
        $var = 0;

OUTPUT
O_USERDATACD
    $arg = ( $var == 0 ) ? &PL_sv_undef : $var->GetData();
    SvREFCNT_inc( $arg ); // xsubpp mortalizes it...

O_USERDATAO
    $arg = ( $var == 0 ) ? &PL_sv_undef : $var->GetData();
    SvREFCNT_inc( $arg ); // xsubpp mortalizes it...

#
# Objects with a self reference
#

INPUT
O_NON_WXOBJECT_SELF
    $var = (${(my $t=$type)=~s/^Wx_/wx/;\$t}) wxPli_sv_2_object( aTHX_ $arg, ${(my $ntt=$ntype)=~s/^(?:const\s+)?(?:Wx_|wx)(.*?)(?:Ptr)?$/$1/g;$ntt=qq{\"Wx::$ntt\"};\$ntt} );

OUTPUT
O_NON_WXOBJECT_SELF
    $arg = ( $var == 0 ) ? &PL_sv_undef : $var->GetSelf();
    SvREFCNT_inc( $arg ); // xsubpp mortalizes it...

672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701
#
# Non Objects handled by Wx::XSP::Virtual XS++ plugin 
#

INPUT
O_NON_WXOBJECT_VXSP
    $var = (${(my $t=$type)=~s/^Wx_/wx/;\$t}) wxPli_sv_2_object( aTHX_ $arg, ${(my $ntt=$ntype)=~s/^(?:const\s+)?(?:Wx_|wx)(.*?)(?:Ptr)?$/$1/g;$ntt=qq{\"Wx::$ntt\"};\$ntt} );

O_NON_WXOBJECT_VXSP_THR
    $var = (${(my $t=$type)=~s/^Wx_/wx/;\$t}) wxPli_sv_2_object( aTHX_ $arg, ${(my $ntt=$ntype)=~s/^(?:const\s+)?(?:Wx_|wx)(.*?)(?:Ptr)?$/$1/g;$ntt=qq{\"Wx::$ntt\"};\$ntt} );


OUTPUT
O_NON_WXOBJECT_VXSP
    if( $var == 0 )
    {
       $arg = &PL_sv_undef;
    } else {
       SvSetSV_nosteal( $arg, $var->GetSelf() );
    }

O_NON_WXOBJECT_VXSP_THR
    if( $var == 0 )
    {
       $arg = &PL_sv_undef;
    } else {
       SvSetSV_nosteal( $arg, $var->GetSelf() );
       wxPli_thread_sv_register( aTHX_ ${(my $ntt=$ntype)=~s/^(?:const\s+)?(?:Wx_|wx|wxPl)(.*?)(?:Ptr)?$/$1/g;$ntt=qq{\"Wx::$ntt\"};\$ntt}, $var, $arg );
    }

702 703 704 705 706 707 708 709 710 711 712 713 714 715 716 717 718 719 720 721 722 723 724 725 726 727 728 729 730 731 732 733 734 735 736 737 738 739 740 741 742 743 744 745 746 747 748 749 750 751 752 753 754 755 756 757 758 759 760 761 762 763 764 765 766 767 768 769 770 771 772 773 774 775 776 777 778 779 780 781 782 783 784 785 786
#
# SV_null
#

INPUT
T_SV_NULL
    $var = SvOK( $arg ) ? $arg : 0;

OUTPUT
T_SV_NULL
    $arg = ( $var == 0 ) ? &PL_sv_undef : $var;
    SvREFCNT_inc( $arg ); // xsubpp mortalizes it...

#
# streams
#
TYPEMAP
wxPliInputStream        S_PL_ISTREAM
wxPliOutputStream       S_PL_OSTREAM
wxInputStream *         S_WX_ISTREAM
wxOutputStream *        S_WX_OSTREAM
Wx_InputStream *        O_NON_WXOBJECT
Wx_OutputStream *       O_NON_WXOBJECT

INPUT
S_PL_ISTREAM
    wxPli_sv_2_istream( aTHX_ $arg, $var );

S_PL_OSTREAM
    wxPli_sv_2_ostream( aTHX_ $arg, $var );


OUTPUT
S_WX_ISTREAM
    wxPli_stream_2_sv( aTHX_ $arg, $var, "Wx::InputStream" );

S_WX_OSTREAM
    wxPli_stream_2_sv( aTHX_ $arg, $var, "Wx::OutputStream" );

# Unicode support
TYPEMAP
wxChar *                T_WXCHAR
const wxChar*           T_CONST_WXCHAR
wxString                T_WXSTRING

INPUT
T_WXCHAR
    WXCHAR_INPUT( $var, wxChar*, $arg );

T_CONST_WXCHAR
    WXCHAR_INPUT( $var, wxChar*, $arg );

T_WXSTRING
    WXSTRING_INPUT( $var, $type, $arg );

OUTPUT
T_WXCHAR
    WXCHAR_OUTPUT( $var, $arg );

T_CONST_WXCHAR
    WXCHAR_OUTPUT( $var, $arg );

T_WXSTRING
    WXSTRING_OUTPUT( $var, $arg );

# typemap for window ID
INPUT
T_WINDOWID
    $var = wxPli_get_wxwindowid( aTHX_ $arg );

OUTPUT
T_WINDOWID
    sv_setiv($arg, (IV)$var);

INPUT
T_ARRAYSTRING
    wxPli_av_2_arraystring( aTHX_ $arg, & $var );

INPUT
T_ARRAYINT
    wxPli_av_2_arrayint( aTHX_ $arg, & $var );

INPUT
T_ARRAYUSERDATA
    wxPli_av_2_userdatacdarray( aTHX_ $arg, & $var );
787
    wxPliArrayGuard<wxPliUserDataCD*> guard_$var = $var;