~ubuntu-branches/ubuntu/maverick/wxwidgets2.8/maverick-proposed

« back to all changes in this revision

Viewing changes to wxPython/src/msw/richtext_wrap.cpp

  • Committer: Bazaar Package Importer
  • Author(s): Devid Filoni
  • Date: 2007-11-06 18:25:13 UTC
  • mfrom: (1.1.3 upstream)
  • Revision ID: james.westby@ubuntu.com-20071106182513-809agqds6igh7mqo
Tags: 2.8.6.1-0ubuntu1
* New upstream version, based on the upstream tarball
  wxPython-src-2.8.6.1.tar.bz2, renamed debian to debian-upstream.
* Provide a get-orig-source target to do the repackaging.
* Fix "substvar-source-version-is-deprecated" lintian warnings.
* Remove duplicate Description field in debian/control.
* Add "\" at the end of line 8 in debian/python-wxtools.menu to fix
  "bad-test-in-menu-item" lintian error.
* Provide .xpm icons to fix "menu-icon-not-in-xpm-format" lintian errors,
  changed Icon field in debian/python-wxtools.menu.
* Fix "wrong-name-for-upstream-changelog" lintian warnings.
* Remove "Application;" from Categories field in debian/pycrust.desktop,
  debian/pyshell.desktop, debian/xrced.desktop.
* Switch "Apps" to "Applications" in debian/python-wxtools.menu to fix
  "menu-item-uses-apps-section" lintian warnings.
* Drop the icon extension from debian/pycrust.desktop,
  debian/pyshell.desktop, debian/xrced.desktop.
* Add dpatch support.
* Add "WX_CONFIG" patch.
* debian/rules:
  - added .xpm icons to install-gtk-py-tools target
  - added "docs/changes.txt" to dh_installchangelogs in binary-common target
  - added "\" at the end of "install-examples install-msw-dev
    install-msw-dbg install-headers-msw" line in .PHONY

Show diffs side-by-side

added added

removed removed

Lines of Context:
2464
2464
/* -------- TYPES TABLE (BEGIN) -------- */
2465
2465
 
2466
2466
#define SWIGTYPE_p_char swig_types[0]
2467
 
#define SWIGTYPE_p_form_ops_t swig_types[1]
2468
 
#define SWIGTYPE_p_int swig_types[2]
2469
 
#define SWIGTYPE_p_long swig_types[3]
2470
 
#define SWIGTYPE_p_unsigned_char swig_types[4]
2471
 
#define SWIGTYPE_p_unsigned_int swig_types[5]
2472
 
#define SWIGTYPE_p_unsigned_long swig_types[6]
2473
 
#define SWIGTYPE_p_wxANIHandler swig_types[7]
2474
 
#define SWIGTYPE_p_wxAcceleratorTable swig_types[8]
2475
 
#define SWIGTYPE_p_wxActivateEvent swig_types[9]
2476
 
#define SWIGTYPE_p_wxArrayInt swig_types[10]
2477
 
#define SWIGTYPE_p_wxBMPHandler swig_types[11]
2478
 
#define SWIGTYPE_p_wxBitmap swig_types[12]
2479
 
#define SWIGTYPE_p_wxBoxSizer swig_types[13]
2480
 
#define SWIGTYPE_p_wxCURHandler swig_types[14]
2481
 
#define SWIGTYPE_p_wxCalculateLayoutEvent swig_types[15]
2482
 
#define SWIGTYPE_p_wxChar swig_types[16]
2483
 
#define SWIGTYPE_p_wxChildFocusEvent swig_types[17]
2484
 
#define SWIGTYPE_p_wxClipboardTextEvent swig_types[18]
2485
 
#define SWIGTYPE_p_wxCloseEvent swig_types[19]
2486
 
#define SWIGTYPE_p_wxColour swig_types[20]
2487
 
#define SWIGTYPE_p_wxColourData swig_types[21]
2488
 
#define SWIGTYPE_p_wxColourDialog swig_types[22]
2489
 
#define SWIGTYPE_p_wxCommandEvent swig_types[23]
2490
 
#define SWIGTYPE_p_wxContextMenuEvent swig_types[24]
2491
 
#define SWIGTYPE_p_wxControl swig_types[25]
2492
 
#define SWIGTYPE_p_wxControlWithItems swig_types[26]
2493
 
#define SWIGTYPE_p_wxDateEvent swig_types[27]
2494
 
#define SWIGTYPE_p_wxDialog swig_types[28]
2495
 
#define SWIGTYPE_p_wxDirDialog swig_types[29]
2496
 
#define SWIGTYPE_p_wxDisplayChangedEvent swig_types[30]
2497
 
#define SWIGTYPE_p_wxDropFilesEvent swig_types[31]
2498
 
#define SWIGTYPE_p_wxDuplexMode swig_types[32]
2499
 
#define SWIGTYPE_p_wxEraseEvent swig_types[33]
2500
 
#define SWIGTYPE_p_wxEvent swig_types[34]
2501
 
#define SWIGTYPE_p_wxEvtHandler swig_types[35]
2502
 
#define SWIGTYPE_p_wxFSFile swig_types[36]
2503
 
#define SWIGTYPE_p_wxFileDialog swig_types[37]
2504
 
#define SWIGTYPE_p_wxFileSystem swig_types[38]
2505
 
#define SWIGTYPE_p_wxFindDialogEvent swig_types[39]
2506
 
#define SWIGTYPE_p_wxFindReplaceData swig_types[40]
2507
 
#define SWIGTYPE_p_wxFindReplaceDialog swig_types[41]
2508
 
#define SWIGTYPE_p_wxFlexGridSizer swig_types[42]
2509
 
#define SWIGTYPE_p_wxFocusEvent swig_types[43]
2510
 
#define SWIGTYPE_p_wxFont swig_types[44]
2511
 
#define SWIGTYPE_p_wxFontData swig_types[45]
2512
 
#define SWIGTYPE_p_wxFontDialog swig_types[46]
2513
 
#define SWIGTYPE_p_wxFrame swig_types[47]
2514
 
#define SWIGTYPE_p_wxGBSizerItem swig_types[48]
2515
 
#define SWIGTYPE_p_wxGIFHandler swig_types[49]
2516
 
#define SWIGTYPE_p_wxGridBagSizer swig_types[50]
2517
 
#define SWIGTYPE_p_wxGridSizer swig_types[51]
2518
 
#define SWIGTYPE_p_wxICOHandler swig_types[52]
2519
 
#define SWIGTYPE_p_wxIconizeEvent swig_types[53]
2520
 
#define SWIGTYPE_p_wxIdleEvent swig_types[54]
2521
 
#define SWIGTYPE_p_wxImage swig_types[55]
2522
 
#define SWIGTYPE_p_wxImageHandler swig_types[56]
2523
 
#define SWIGTYPE_p_wxIndividualLayoutConstraint swig_types[57]
2524
 
#define SWIGTYPE_p_wxInitDialogEvent swig_types[58]
2525
 
#define SWIGTYPE_p_wxJPEGHandler swig_types[59]
2526
 
#define SWIGTYPE_p_wxKeyEvent swig_types[60]
2527
 
#define SWIGTYPE_p_wxLayoutAlgorithm swig_types[61]
2528
 
#define SWIGTYPE_p_wxLayoutConstraints swig_types[62]
2529
 
#define SWIGTYPE_p_wxMDIChildFrame swig_types[63]
2530
 
#define SWIGTYPE_p_wxMDIClientWindow swig_types[64]
2531
 
#define SWIGTYPE_p_wxMDIParentFrame swig_types[65]
2532
 
#define SWIGTYPE_p_wxMaximizeEvent swig_types[66]
2533
 
#define SWIGTYPE_p_wxMenu swig_types[67]
2534
 
#define SWIGTYPE_p_wxMenuBar swig_types[68]
2535
 
#define SWIGTYPE_p_wxMenuEvent swig_types[69]
2536
 
#define SWIGTYPE_p_wxMenuItem swig_types[70]
2537
 
#define SWIGTYPE_p_wxMessageDialog swig_types[71]
2538
 
#define SWIGTYPE_p_wxMiniFrame swig_types[72]
2539
 
#define SWIGTYPE_p_wxMouseCaptureChangedEvent swig_types[73]
2540
 
#define SWIGTYPE_p_wxMouseCaptureLostEvent swig_types[74]
2541
 
#define SWIGTYPE_p_wxMouseEvent swig_types[75]
2542
 
#define SWIGTYPE_p_wxMoveEvent swig_types[76]
2543
 
#define SWIGTYPE_p_wxMultiChoiceDialog swig_types[77]
2544
 
#define SWIGTYPE_p_wxNavigationKeyEvent swig_types[78]
2545
 
#define SWIGTYPE_p_wxNcPaintEvent swig_types[79]
2546
 
#define SWIGTYPE_p_wxNotifyEvent swig_types[80]
2547
 
#define SWIGTYPE_p_wxNumberEntryDialog swig_types[81]
2548
 
#define SWIGTYPE_p_wxObject swig_types[82]
2549
 
#define SWIGTYPE_p_wxPCXHandler swig_types[83]
2550
 
#define SWIGTYPE_p_wxPNGHandler swig_types[84]
2551
 
#define SWIGTYPE_p_wxPNMHandler swig_types[85]
2552
 
#define SWIGTYPE_p_wxPageSetupDialog swig_types[86]
2553
 
#define SWIGTYPE_p_wxPageSetupDialogData swig_types[87]
2554
 
#define SWIGTYPE_p_wxPaintEvent swig_types[88]
2555
 
#define SWIGTYPE_p_wxPaletteChangedEvent swig_types[89]
2556
 
#define SWIGTYPE_p_wxPanel swig_types[90]
2557
 
#define SWIGTYPE_p_wxPaperSize swig_types[91]
2558
 
#define SWIGTYPE_p_wxPasswordEntryDialog swig_types[92]
2559
 
#define SWIGTYPE_p_wxPopupWindow swig_types[93]
2560
 
#define SWIGTYPE_p_wxPreviewCanvas swig_types[94]
2561
 
#define SWIGTYPE_p_wxPreviewControlBar swig_types[95]
2562
 
#define SWIGTYPE_p_wxPreviewFrame swig_types[96]
2563
 
#define SWIGTYPE_p_wxPrintData swig_types[97]
2564
 
#define SWIGTYPE_p_wxPrintDialog swig_types[98]
2565
 
#define SWIGTYPE_p_wxPrintDialogData swig_types[99]
2566
 
#define SWIGTYPE_p_wxPrintPreview swig_types[100]
2567
 
#define SWIGTYPE_p_wxPrinter swig_types[101]
2568
 
#define SWIGTYPE_p_wxProgressDialog swig_types[102]
2569
 
#define SWIGTYPE_p_wxPyApp swig_types[103]
2570
 
#define SWIGTYPE_p_wxPyCommandEvent swig_types[104]
2571
 
#define SWIGTYPE_p_wxPyEvent swig_types[105]
2572
 
#define SWIGTYPE_p_wxPyHtmlListBox swig_types[106]
2573
 
#define SWIGTYPE_p_wxPyImageHandler swig_types[107]
2574
 
#define SWIGTYPE_p_wxPyPanel swig_types[108]
2575
 
#define SWIGTYPE_p_wxPyPopupTransientWindow swig_types[109]
2576
 
#define SWIGTYPE_p_wxPyPreviewControlBar swig_types[110]
2577
 
#define SWIGTYPE_p_wxPyPreviewFrame swig_types[111]
2578
 
#define SWIGTYPE_p_wxPyPrintPreview swig_types[112]
2579
 
#define SWIGTYPE_p_wxPyPrintout swig_types[113]
2580
 
#define SWIGTYPE_p_wxPyScrolledWindow swig_types[114]
2581
 
#define SWIGTYPE_p_wxPySizer swig_types[115]
2582
 
#define SWIGTYPE_p_wxPyTaskBarIcon swig_types[116]
2583
 
#define SWIGTYPE_p_wxPyVListBox swig_types[117]
2584
 
#define SWIGTYPE_p_wxPyVScrolledWindow swig_types[118]
2585
 
#define SWIGTYPE_p_wxPyValidator swig_types[119]
2586
 
#define SWIGTYPE_p_wxPyWindow swig_types[120]
2587
 
#define SWIGTYPE_p_wxQueryLayoutInfoEvent swig_types[121]
2588
 
#define SWIGTYPE_p_wxQueryNewPaletteEvent swig_types[122]
2589
 
#define SWIGTYPE_p_wxRichTextAttr swig_types[123]
2590
 
#define SWIGTYPE_p_wxRichTextBuffer swig_types[124]
2591
 
#define SWIGTYPE_p_wxRichTextCtrl swig_types[125]
2592
 
#define SWIGTYPE_p_wxRichTextEvent swig_types[126]
2593
 
#define SWIGTYPE_p_wxRichTextImageBlock swig_types[127]
2594
 
#define SWIGTYPE_p_wxRichTextRange swig_types[128]
2595
 
#define SWIGTYPE_p_wxRichTextStyleSheet swig_types[129]
2596
 
#define SWIGTYPE_p_wxSashEvent swig_types[130]
2597
 
#define SWIGTYPE_p_wxSashLayoutWindow swig_types[131]
2598
 
#define SWIGTYPE_p_wxSashWindow swig_types[132]
2599
 
#define SWIGTYPE_p_wxScrollEvent swig_types[133]
2600
 
#define SWIGTYPE_p_wxScrollWinEvent swig_types[134]
2601
 
#define SWIGTYPE_p_wxScrolledWindow swig_types[135]
2602
 
#define SWIGTYPE_p_wxSetCursorEvent swig_types[136]
2603
 
#define SWIGTYPE_p_wxShowEvent swig_types[137]
2604
 
#define SWIGTYPE_p_wxSimpleHtmlListBox swig_types[138]
2605
 
#define SWIGTYPE_p_wxSingleChoiceDialog swig_types[139]
2606
 
#define SWIGTYPE_p_wxSizeEvent swig_types[140]
2607
 
#define SWIGTYPE_p_wxSizer swig_types[141]
2608
 
#define SWIGTYPE_p_wxSizerItem swig_types[142]
2609
 
#define SWIGTYPE_p_wxSplashScreen swig_types[143]
2610
 
#define SWIGTYPE_p_wxSplashScreenWindow swig_types[144]
2611
 
#define SWIGTYPE_p_wxSplitterEvent swig_types[145]
2612
 
#define SWIGTYPE_p_wxSplitterWindow swig_types[146]
2613
 
#define SWIGTYPE_p_wxStaticBoxSizer swig_types[147]
2614
 
#define SWIGTYPE_p_wxStatusBar swig_types[148]
2615
 
#define SWIGTYPE_p_wxStdDialogButtonSizer swig_types[149]
2616
 
#define SWIGTYPE_p_wxSysColourChangedEvent swig_types[150]
2617
 
#define SWIGTYPE_p_wxTGAHandler swig_types[151]
2618
 
#define SWIGTYPE_p_wxTIFFHandler swig_types[152]
2619
 
#define SWIGTYPE_p_wxTaskBarIconEvent swig_types[153]
2620
 
#define SWIGTYPE_p_wxTextCoord swig_types[154]
2621
 
#define SWIGTYPE_p_wxTextCtrlHitTestResult swig_types[155]
2622
 
#define SWIGTYPE_p_wxTextEntryDialog swig_types[156]
2623
 
#define SWIGTYPE_p_wxTipWindow swig_types[157]
2624
 
#define SWIGTYPE_p_wxTopLevelWindow swig_types[158]
2625
 
#define SWIGTYPE_p_wxUpdateUIEvent swig_types[159]
2626
 
#define SWIGTYPE_p_wxValidator swig_types[160]
2627
 
#define SWIGTYPE_p_wxWindow swig_types[161]
2628
 
#define SWIGTYPE_p_wxWindowCreateEvent swig_types[162]
2629
 
#define SWIGTYPE_p_wxWindowDestroyEvent swig_types[163]
2630
 
#define SWIGTYPE_p_wxXPMHandler swig_types[164]
2631
 
static swig_type_info *swig_types[166];
2632
 
static swig_module_info swig_module = {swig_types, 165, 0, 0, 0, 0};
 
2467
#define SWIGTYPE_p_double swig_types[1]
 
2468
#define SWIGTYPE_p_form_ops_t swig_types[2]
 
2469
#define SWIGTYPE_p_int swig_types[3]
 
2470
#define SWIGTYPE_p_long swig_types[4]
 
2471
#define SWIGTYPE_p_p_wxRichTextBox swig_types[5]
 
2472
#define SWIGTYPE_p_p_wxRichTextBuffer swig_types[6]
 
2473
#define SWIGTYPE_p_p_wxRichTextCompositeObject swig_types[7]
 
2474
#define SWIGTYPE_p_p_wxRichTextImage swig_types[8]
 
2475
#define SWIGTYPE_p_p_wxRichTextObject swig_types[9]
 
2476
#define SWIGTYPE_p_p_wxRichTextParagraph swig_types[10]
 
2477
#define SWIGTYPE_p_p_wxRichTextParagraphLayoutBox swig_types[11]
 
2478
#define SWIGTYPE_p_p_wxRichTextPlainText swig_types[12]
 
2479
#define SWIGTYPE_p_unsigned_char swig_types[13]
 
2480
#define SWIGTYPE_p_unsigned_int swig_types[14]
 
2481
#define SWIGTYPE_p_unsigned_long swig_types[15]
 
2482
#define SWIGTYPE_p_wxANIHandler swig_types[16]
 
2483
#define SWIGTYPE_p_wxAcceleratorTable swig_types[17]
 
2484
#define SWIGTYPE_p_wxActivateEvent swig_types[18]
 
2485
#define SWIGTYPE_p_wxArrayInt swig_types[19]
 
2486
#define SWIGTYPE_p_wxArrayString swig_types[20]
 
2487
#define SWIGTYPE_p_wxBMPHandler swig_types[21]
 
2488
#define SWIGTYPE_p_wxBitmap swig_types[22]
 
2489
#define SWIGTYPE_p_wxBoxSizer swig_types[23]
 
2490
#define SWIGTYPE_p_wxCURHandler swig_types[24]
 
2491
#define SWIGTYPE_p_wxCalculateLayoutEvent swig_types[25]
 
2492
#define SWIGTYPE_p_wxChar swig_types[26]
 
2493
#define SWIGTYPE_p_wxChildFocusEvent swig_types[27]
 
2494
#define SWIGTYPE_p_wxClipboardTextEvent swig_types[28]
 
2495
#define SWIGTYPE_p_wxCloseEvent swig_types[29]
 
2496
#define SWIGTYPE_p_wxColour swig_types[30]
 
2497
#define SWIGTYPE_p_wxColourData swig_types[31]
 
2498
#define SWIGTYPE_p_wxColourDialog swig_types[32]
 
2499
#define SWIGTYPE_p_wxCommandEvent swig_types[33]
 
2500
#define SWIGTYPE_p_wxCommandProcessor swig_types[34]
 
2501
#define SWIGTYPE_p_wxContextMenuEvent swig_types[35]
 
2502
#define SWIGTYPE_p_wxControl swig_types[36]
 
2503
#define SWIGTYPE_p_wxControlWithItems swig_types[37]
 
2504
#define SWIGTYPE_p_wxDC swig_types[38]
 
2505
#define SWIGTYPE_p_wxDateEvent swig_types[39]
 
2506
#define SWIGTYPE_p_wxDialog swig_types[40]
 
2507
#define SWIGTYPE_p_wxDirDialog swig_types[41]
 
2508
#define SWIGTYPE_p_wxDisplayChangedEvent swig_types[42]
 
2509
#define SWIGTYPE_p_wxDropFilesEvent swig_types[43]
 
2510
#define SWIGTYPE_p_wxDuplexMode swig_types[44]
 
2511
#define SWIGTYPE_p_wxEraseEvent swig_types[45]
 
2512
#define SWIGTYPE_p_wxEvent swig_types[46]
 
2513
#define SWIGTYPE_p_wxEvtHandler swig_types[47]
 
2514
#define SWIGTYPE_p_wxFSFile swig_types[48]
 
2515
#define SWIGTYPE_p_wxFileDialog swig_types[49]
 
2516
#define SWIGTYPE_p_wxFileSystem swig_types[50]
 
2517
#define SWIGTYPE_p_wxFindDialogEvent swig_types[51]
 
2518
#define SWIGTYPE_p_wxFindReplaceData swig_types[52]
 
2519
#define SWIGTYPE_p_wxFindReplaceDialog swig_types[53]
 
2520
#define SWIGTYPE_p_wxFlexGridSizer swig_types[54]
 
2521
#define SWIGTYPE_p_wxFocusEvent swig_types[55]
 
2522
#define SWIGTYPE_p_wxFont swig_types[56]
 
2523
#define SWIGTYPE_p_wxFontData swig_types[57]
 
2524
#define SWIGTYPE_p_wxFontDialog swig_types[58]
 
2525
#define SWIGTYPE_p_wxFrame swig_types[59]
 
2526
#define SWIGTYPE_p_wxGBSizerItem swig_types[60]
 
2527
#define SWIGTYPE_p_wxGIFHandler swig_types[61]
 
2528
#define SWIGTYPE_p_wxGridBagSizer swig_types[62]
 
2529
#define SWIGTYPE_p_wxGridSizer swig_types[63]
 
2530
#define SWIGTYPE_p_wxICOHandler swig_types[64]
 
2531
#define SWIGTYPE_p_wxIconizeEvent swig_types[65]
 
2532
#define SWIGTYPE_p_wxIdleEvent swig_types[66]
 
2533
#define SWIGTYPE_p_wxImage swig_types[67]
 
2534
#define SWIGTYPE_p_wxImageHandler swig_types[68]
 
2535
#define SWIGTYPE_p_wxIndividualLayoutConstraint swig_types[69]
 
2536
#define SWIGTYPE_p_wxInitDialogEvent swig_types[70]
 
2537
#define SWIGTYPE_p_wxInputStream swig_types[71]
 
2538
#define SWIGTYPE_p_wxJPEGHandler swig_types[72]
 
2539
#define SWIGTYPE_p_wxKeyEvent swig_types[73]
 
2540
#define SWIGTYPE_p_wxLayoutAlgorithm swig_types[74]
 
2541
#define SWIGTYPE_p_wxLayoutConstraints swig_types[75]
 
2542
#define SWIGTYPE_p_wxList swig_types[76]
 
2543
#define SWIGTYPE_p_wxMDIChildFrame swig_types[77]
 
2544
#define SWIGTYPE_p_wxMDIClientWindow swig_types[78]
 
2545
#define SWIGTYPE_p_wxMDIParentFrame swig_types[79]
 
2546
#define SWIGTYPE_p_wxMaximizeEvent swig_types[80]
 
2547
#define SWIGTYPE_p_wxMenu swig_types[81]
 
2548
#define SWIGTYPE_p_wxMenuBar swig_types[82]
 
2549
#define SWIGTYPE_p_wxMenuEvent swig_types[83]
 
2550
#define SWIGTYPE_p_wxMenuItem swig_types[84]
 
2551
#define SWIGTYPE_p_wxMessageDialog swig_types[85]
 
2552
#define SWIGTYPE_p_wxMiniFrame swig_types[86]
 
2553
#define SWIGTYPE_p_wxMouseCaptureChangedEvent swig_types[87]
 
2554
#define SWIGTYPE_p_wxMouseCaptureLostEvent swig_types[88]
 
2555
#define SWIGTYPE_p_wxMouseEvent swig_types[89]
 
2556
#define SWIGTYPE_p_wxMoveEvent swig_types[90]
 
2557
#define SWIGTYPE_p_wxMultiChoiceDialog swig_types[91]
 
2558
#define SWIGTYPE_p_wxNavigationKeyEvent swig_types[92]
 
2559
#define SWIGTYPE_p_wxNcPaintEvent swig_types[93]
 
2560
#define SWIGTYPE_p_wxNotifyEvent swig_types[94]
 
2561
#define SWIGTYPE_p_wxNumberEntryDialog swig_types[95]
 
2562
#define SWIGTYPE_p_wxObject swig_types[96]
 
2563
#define SWIGTYPE_p_wxOutputStream swig_types[97]
 
2564
#define SWIGTYPE_p_wxPCXHandler swig_types[98]
 
2565
#define SWIGTYPE_p_wxPNGHandler swig_types[99]
 
2566
#define SWIGTYPE_p_wxPNMHandler swig_types[100]
 
2567
#define SWIGTYPE_p_wxPageSetupDialog swig_types[101]
 
2568
#define SWIGTYPE_p_wxPageSetupDialogData swig_types[102]
 
2569
#define SWIGTYPE_p_wxPaintEvent swig_types[103]
 
2570
#define SWIGTYPE_p_wxPaletteChangedEvent swig_types[104]
 
2571
#define SWIGTYPE_p_wxPanel swig_types[105]
 
2572
#define SWIGTYPE_p_wxPaperSize swig_types[106]
 
2573
#define SWIGTYPE_p_wxPasswordEntryDialog swig_types[107]
 
2574
#define SWIGTYPE_p_wxPoint swig_types[108]
 
2575
#define SWIGTYPE_p_wxPopupWindow swig_types[109]
 
2576
#define SWIGTYPE_p_wxPreviewCanvas swig_types[110]
 
2577
#define SWIGTYPE_p_wxPreviewControlBar swig_types[111]
 
2578
#define SWIGTYPE_p_wxPreviewFrame swig_types[112]
 
2579
#define SWIGTYPE_p_wxPrintData swig_types[113]
 
2580
#define SWIGTYPE_p_wxPrintDialog swig_types[114]
 
2581
#define SWIGTYPE_p_wxPrintDialogData swig_types[115]
 
2582
#define SWIGTYPE_p_wxPrintPreview swig_types[116]
 
2583
#define SWIGTYPE_p_wxPrinter swig_types[117]
 
2584
#define SWIGTYPE_p_wxProgressDialog swig_types[118]
 
2585
#define SWIGTYPE_p_wxPyApp swig_types[119]
 
2586
#define SWIGTYPE_p_wxPyCommandEvent swig_types[120]
 
2587
#define SWIGTYPE_p_wxPyEvent swig_types[121]
 
2588
#define SWIGTYPE_p_wxPyHtmlListBox swig_types[122]
 
2589
#define SWIGTYPE_p_wxPyImageHandler swig_types[123]
 
2590
#define SWIGTYPE_p_wxPyPanel swig_types[124]
 
2591
#define SWIGTYPE_p_wxPyPopupTransientWindow swig_types[125]
 
2592
#define SWIGTYPE_p_wxPyPreviewControlBar swig_types[126]
 
2593
#define SWIGTYPE_p_wxPyPreviewFrame swig_types[127]
 
2594
#define SWIGTYPE_p_wxPyPrintPreview swig_types[128]
 
2595
#define SWIGTYPE_p_wxPyPrintout swig_types[129]
 
2596
#define SWIGTYPE_p_wxPyScrolledWindow swig_types[130]
 
2597
#define SWIGTYPE_p_wxPySizer swig_types[131]
 
2598
#define SWIGTYPE_p_wxPyTaskBarIcon swig_types[132]
 
2599
#define SWIGTYPE_p_wxPyVListBox swig_types[133]
 
2600
#define SWIGTYPE_p_wxPyVScrolledWindow swig_types[134]
 
2601
#define SWIGTYPE_p_wxPyValidator swig_types[135]
 
2602
#define SWIGTYPE_p_wxPyWindow swig_types[136]
 
2603
#define SWIGTYPE_p_wxQueryLayoutInfoEvent swig_types[137]
 
2604
#define SWIGTYPE_p_wxQueryNewPaletteEvent swig_types[138]
 
2605
#define SWIGTYPE_p_wxRect swig_types[139]
 
2606
#define SWIGTYPE_p_wxRichTextAction swig_types[140]
 
2607
#define SWIGTYPE_p_wxRichTextBox swig_types[141]
 
2608
#define SWIGTYPE_p_wxRichTextBuffer swig_types[142]
 
2609
#define SWIGTYPE_p_wxRichTextCommand swig_types[143]
 
2610
#define SWIGTYPE_p_wxRichTextCompositeObject swig_types[144]
 
2611
#define SWIGTYPE_p_wxRichTextCtrl swig_types[145]
 
2612
#define SWIGTYPE_p_wxRichTextEvent swig_types[146]
 
2613
#define SWIGTYPE_p_wxRichTextFileHandler swig_types[147]
 
2614
#define SWIGTYPE_p_wxRichTextFileHandlerList swig_types[148]
 
2615
#define SWIGTYPE_p_wxRichTextFileHandlerList_iterator swig_types[149]
 
2616
#define SWIGTYPE_p_wxRichTextHTMLHandler swig_types[150]
 
2617
#define SWIGTYPE_p_wxRichTextImage swig_types[151]
 
2618
#define SWIGTYPE_p_wxRichTextImageBlock swig_types[152]
 
2619
#define SWIGTYPE_p_wxRichTextLine swig_types[153]
 
2620
#define SWIGTYPE_p_wxRichTextLineList swig_types[154]
 
2621
#define SWIGTYPE_p_wxRichTextListStyleDefinition swig_types[155]
 
2622
#define SWIGTYPE_p_wxRichTextObject swig_types[156]
 
2623
#define SWIGTYPE_p_wxRichTextObjectList swig_types[157]
 
2624
#define SWIGTYPE_p_wxRichTextObjectList_iterator swig_types[158]
 
2625
#define SWIGTYPE_p_wxRichTextParagraph swig_types[159]
 
2626
#define SWIGTYPE_p_wxRichTextParagraphLayoutBox swig_types[160]
 
2627
#define SWIGTYPE_p_wxRichTextPlainText swig_types[161]
 
2628
#define SWIGTYPE_p_wxRichTextPlainTextHandler swig_types[162]
 
2629
#define SWIGTYPE_p_wxRichTextRange swig_types[163]
 
2630
#define SWIGTYPE_p_wxRichTextRenderer swig_types[164]
 
2631
#define SWIGTYPE_p_wxRichTextStdRenderer swig_types[165]
 
2632
#define SWIGTYPE_p_wxRichTextStyleDefinition swig_types[166]
 
2633
#define SWIGTYPE_p_wxRichTextStyleSheet swig_types[167]
 
2634
#define SWIGTYPE_p_wxRichTextXMLHandler swig_types[168]
 
2635
#define SWIGTYPE_p_wxSashEvent swig_types[169]
 
2636
#define SWIGTYPE_p_wxSashLayoutWindow swig_types[170]
 
2637
#define SWIGTYPE_p_wxSashWindow swig_types[171]
 
2638
#define SWIGTYPE_p_wxScrollEvent swig_types[172]
 
2639
#define SWIGTYPE_p_wxScrollWinEvent swig_types[173]
 
2640
#define SWIGTYPE_p_wxScrolledWindow swig_types[174]
 
2641
#define SWIGTYPE_p_wxSetCursorEvent swig_types[175]
 
2642
#define SWIGTYPE_p_wxShowEvent swig_types[176]
 
2643
#define SWIGTYPE_p_wxSimpleHtmlListBox swig_types[177]
 
2644
#define SWIGTYPE_p_wxSingleChoiceDialog swig_types[178]
 
2645
#define SWIGTYPE_p_wxSize swig_types[179]
 
2646
#define SWIGTYPE_p_wxSizeEvent swig_types[180]
 
2647
#define SWIGTYPE_p_wxSizer swig_types[181]
 
2648
#define SWIGTYPE_p_wxSizerItem swig_types[182]
 
2649
#define SWIGTYPE_p_wxSplashScreen swig_types[183]
 
2650
#define SWIGTYPE_p_wxSplashScreenWindow swig_types[184]
 
2651
#define SWIGTYPE_p_wxSplitterEvent swig_types[185]
 
2652
#define SWIGTYPE_p_wxSplitterWindow swig_types[186]
 
2653
#define SWIGTYPE_p_wxStaticBoxSizer swig_types[187]
 
2654
#define SWIGTYPE_p_wxStatusBar swig_types[188]
 
2655
#define SWIGTYPE_p_wxStdDialogButtonSizer swig_types[189]
 
2656
#define SWIGTYPE_p_wxSysColourChangedEvent swig_types[190]
 
2657
#define SWIGTYPE_p_wxTGAHandler swig_types[191]
 
2658
#define SWIGTYPE_p_wxTIFFHandler swig_types[192]
 
2659
#define SWIGTYPE_p_wxTaskBarIconEvent swig_types[193]
 
2660
#define SWIGTYPE_p_wxTextAttrEx swig_types[194]
 
2661
#define SWIGTYPE_p_wxTextCoord swig_types[195]
 
2662
#define SWIGTYPE_p_wxTextCtrlHitTestResult swig_types[196]
 
2663
#define SWIGTYPE_p_wxTextEntryDialog swig_types[197]
 
2664
#define SWIGTYPE_p_wxTipWindow swig_types[198]
 
2665
#define SWIGTYPE_p_wxTopLevelWindow swig_types[199]
 
2666
#define SWIGTYPE_p_wxUpdateUIEvent swig_types[200]
 
2667
#define SWIGTYPE_p_wxValidator swig_types[201]
 
2668
#define SWIGTYPE_p_wxWindow swig_types[202]
 
2669
#define SWIGTYPE_p_wxWindowCreateEvent swig_types[203]
 
2670
#define SWIGTYPE_p_wxWindowDestroyEvent swig_types[204]
 
2671
#define SWIGTYPE_p_wxXPMHandler swig_types[205]
 
2672
static swig_type_info *swig_types[207];
 
2673
static swig_module_info swig_module = {swig_types, 206, 0, 0, 0, 0};
2633
2674
#define SWIG_TypeQuery(name) SWIG_TypeQueryModule(&swig_module, &swig_module, name)
2634
2675
#define SWIG_MangledTypeQuery(name) SWIG_MangledTypeQueryModule(&swig_module, &swig_module, name)
2635
2676
 
2755
2796
 
2756
2797
 static const wxString wxPyEmptyString(wxEmptyString); 
2757
2798
 
 
2799
#include <wx/sstream.h>
 
2800
#include "wx/wxPython/pyistream.h"
 
2801
 
2758
2802
 
2759
2803
bool wxRichTextRange_helper(PyObject* source, wxRichTextRange** obj)
2760
2804
{
2786
2830
            return self->operator==(*obj);
2787
2831
        }
2788
2832
SWIGINTERN PyObject *wxRichTextRange_Get(wxRichTextRange *self){
2789
 
            wxPyBlock_t blocked = wxPyBeginBlockThreads();
2790
2833
            PyObject* tup = PyTuple_New(2);
2791
2834
            PyTuple_SET_ITEM(tup, 0, PyInt_FromLong(self->GetStart()));
2792
2835
            PyTuple_SET_ITEM(tup, 1, PyInt_FromLong(self->GetEnd()));
2793
 
            wxPyEndBlockThreads(blocked);
2794
2836
            return tup;
2795
2837
        }
2796
2838
 
2843
2885
  }
2844
2886
}
2845
2887
 
 
2888
SWIGINTERN wxString wxRichTextObject_Dump(wxRichTextObject *self){
 
2889
            wxStringOutputStream strstream;
 
2890
            wxTextOutputStream txtstream(strstream);
 
2891
            self->Dump(txtstream);
 
2892
            return strstream.GetString();
 
2893
        }
 
2894
 
 
2895
class wxRichTextObjectList_iterator
 
2896
{
 
2897
public:
 
2898
    wxRichTextObjectList_iterator(wxRichTextObjectList::compatibility_iterator start)
 
2899
        : m_node(start) {}
 
2900
    
 
2901
    wxRichTextObject* next() {
 
2902
        wxRichTextObject* obj = NULL;
 
2903
        if (m_node) {
 
2904
            obj = m_node->GetData();
 
2905
            m_node = m_node->GetNext();
 
2906
        }
 
2907
        else PyErr_SetString(PyExc_StopIteration, "");
 
2908
        return obj;
 
2909
    }
 
2910
private:
 
2911
    wxRichTextObjectList::compatibility_iterator m_node;
 
2912
};
 
2913
 
 
2914
SWIGINTERN size_t wxRichTextObjectList___len__(wxRichTextObjectList *self){
 
2915
            return self->size();
 
2916
        }
 
2917
 
 
2918
SWIGINTERNINLINE PyObject* 
 
2919
SWIG_From_unsigned_SS_long  (unsigned long value)
 
2920
{
 
2921
  return (value > LONG_MAX) ?
 
2922
    PyLong_FromUnsignedLong(value) : PyInt_FromLong(static_cast< long >(value)); 
 
2923
}
 
2924
 
 
2925
 
 
2926
SWIGINTERNINLINE PyObject *
 
2927
SWIG_From_size_t  (size_t value)
 
2928
{    
 
2929
  return SWIG_From_unsigned_SS_long  (static_cast< unsigned long >(value));
 
2930
}
 
2931
 
2846
2932
 
2847
2933
SWIGINTERN int 
2848
2934
SWIG_AsVal_unsigned_SS_long (PyObject* obj, unsigned long* val)
2856
2942
    return SWIG_OK;
2857
2943
}
2858
2944
 
 
2945
 
 
2946
SWIGINTERNINLINE int
 
2947
SWIG_AsVal_size_t (PyObject * obj, size_t *val)
 
2948
{
 
2949
  unsigned long v;
 
2950
  int res = SWIG_AsVal_unsigned_SS_long (obj, val ? &v : 0);
 
2951
  if (SWIG_IsOK(res) && val) *val = static_cast< size_t >(v);
 
2952
  return res;
 
2953
}
 
2954
 
 
2955
SWIGINTERN wxRichTextObject *wxRichTextObjectList___getitem__(wxRichTextObjectList *self,size_t index){
 
2956
            if (index < self->size()) {
 
2957
                wxRichTextObjectList::compatibility_iterator node = self->Item(index);
 
2958
                if (node) return node->GetData();
 
2959
            }
 
2960
            PyErr_SetString(PyExc_IndexError, "sequence index out of range");
 
2961
            return NULL;
 
2962
        }
 
2963
SWIGINTERN bool wxRichTextObjectList___contains__(wxRichTextObjectList *self,wxRichTextObject const *obj){
 
2964
            return self->Find(obj) != NULL;
 
2965
        }
 
2966
SWIGINTERN wxRichTextObjectList_iterator *wxRichTextObjectList___iter__(wxRichTextObjectList *self){
 
2967
            return new wxRichTextObjectList_iterator(self->GetFirst());
 
2968
        }
 
2969
SWIGINTERN int wxRichTextObjectList_index(wxRichTextObjectList *self,wxRichTextObject *obj){
 
2970
            int idx = self->IndexOf(obj);
 
2971
            if (idx == wxNOT_FOUND)
 
2972
                PyErr_SetString(PyExc_ValueError,
 
2973
                                "sequence.index(x): x not in sequence");
 
2974
            return idx;
 
2975
        }
 
2976
SWIGINTERN bool wxRichTextParagraphLayoutBox_FindNextParagraphNumber(wxRichTextParagraphLayoutBox const *self,wxRichTextParagraph *previousParagraph,wxTextAttrEx &attr){
 
2977
            wxRichTextAttr rta;
 
2978
            bool rval;
 
2979
            rval = self->FindNextParagraphNumber(previousParagraph, rta);
 
2980
            attr = rta;
 
2981
            return rval;
 
2982
        }
 
2983
SWIGINTERN wxTextAttrEx wxRichTextParagraph_GetCombinedAttributes(wxRichTextParagraph *self,wxTextAttrEx *contentStyle=NULL){
 
2984
            if (contentStyle)
 
2985
                return self->GetCombinedAttributes(*contentStyle);
 
2986
            else
 
2987
                return self->GetCombinedAttributes();
 
2988
        }
 
2989
 
 
2990
class wxRichTextFileHandlerList
 
2991
{
 
2992
public:
 
2993
    wxRichTextFileHandlerList(wxList* theList)
 
2994
        : m_list(theList) {}
 
2995
    ~wxRichTextFileHandlerList() {}
 
2996
public:
 
2997
    wxList* m_list;
 
2998
};
 
2999
 
 
3000
class wxRichTextFileHandlerList_iterator
 
3001
{
 
3002
public:
 
3003
    wxRichTextFileHandlerList_iterator(wxList::compatibility_iterator start)
 
3004
        : m_node(start) {}
 
3005
    
 
3006
    wxRichTextFileHandler* next() {
 
3007
        wxRichTextFileHandler* obj = NULL;
 
3008
        if (m_node) {
 
3009
            obj = (wxRichTextFileHandler*)m_node->GetData();
 
3010
            m_node = m_node->GetNext();
 
3011
        }
 
3012
        else PyErr_SetString(PyExc_StopIteration, "");
 
3013
        return obj;
 
3014
    }
 
3015
private:
 
3016
    wxList::compatibility_iterator m_node;
 
3017
};
 
3018
 
 
3019
SWIGINTERN size_t wxRichTextFileHandlerList___len__(wxRichTextFileHandlerList *self){
 
3020
            return self->m_list->size();
 
3021
        }
 
3022
SWIGINTERN wxRichTextFileHandler *wxRichTextFileHandlerList___getitem__(wxRichTextFileHandlerList *self,size_t index){
 
3023
            if (index < self->m_list->size()) {
 
3024
                wxList::compatibility_iterator node = self->m_list->Item(index);
 
3025
                if (node) return (wxRichTextFileHandler*)node->GetData();
 
3026
            }
 
3027
            PyErr_SetString(PyExc_IndexError, "Invalid list index");
 
3028
            return NULL;
 
3029
        }
 
3030
SWIGINTERN bool wxRichTextFileHandlerList___contains__(wxRichTextFileHandlerList *self,wxRichTextFileHandler const *obj){
 
3031
            return self->m_list->Find(obj) != NULL;
 
3032
        }
 
3033
SWIGINTERN wxRichTextFileHandlerList_iterator *wxRichTextFileHandlerList___iter__(wxRichTextFileHandlerList *self){
 
3034
            return new wxRichTextFileHandlerList_iterator(self->m_list->GetFirst());
 
3035
        }
 
3036
 
 
3037
typedef wxList wxRichTextFileHandlerList_t;
 
3038
 
 
3039
SWIGINTERN PyObject *wxRichTextBuffer_GetExtWildcard(bool combine=false,bool save=false){
 
3040
            wxString wildcards;
 
3041
            wxArrayInt types;
 
3042
            wildcards = wxRichTextBuffer::GetExtWildcard(combine, save, &types);
 
3043
            PyObject* tup = PyTuple_New(2);
 
3044
            PyTuple_SET_ITEM(tup, 0, wx2PyString(wildcards));
 
3045
            PyTuple_SET_ITEM(tup, 1, wxArrayInt2PyList_helper(types));
 
3046
            return tup;
 
3047
        }
 
3048
 
 
3049
  #define SWIG_From_double   PyFloat_FromDouble 
 
3050
 
 
3051
 
 
3052
SWIGINTERNINLINE PyObject *
 
3053
SWIG_From_float  (float value)
 
3054
{    
 
3055
  return SWIG_From_double  (value);
 
3056
}
 
3057
 
 
3058
 
 
3059
#include <float.h>
 
3060
 
 
3061
 
 
3062
SWIGINTERN int
 
3063
SWIG_AsVal_double (PyObject *obj, double* val)
 
3064
{
 
3065
    if (PyNumber_Check(obj)) {
 
3066
        if (val) *val = PyFloat_AsDouble(obj);
 
3067
        return SWIG_OK;
 
3068
    }
 
3069
    return SWIG_TypeError;
 
3070
}
 
3071
 
 
3072
 
 
3073
SWIGINTERN int
 
3074
SWIG_AsVal_float (PyObject * obj, float *val)
 
3075
{
 
3076
  double v;
 
3077
  int res = SWIG_AsVal_double (obj, &v);
 
3078
  if (SWIG_IsOK(res)) {
 
3079
    if ((v < -FLT_MAX || v > FLT_MAX)) {
 
3080
      return SWIG_OverflowError;
 
3081
    } else {
 
3082
      if (val) *val = static_cast< float >(v);
 
3083
    }
 
3084
  }  
 
3085
  return res;
 
3086
}
 
3087
 
 
3088
 static const wxString wxPyTextName(wxT("Text")); 
 
3089
 static const wxString wxPyTextExt(wxT("txt")); 
 
3090
 
 
3091
 
 
3092
 static const wxString wxPyRichTextCtrlNameStr(wxT("richText")); 
 
3093
 
 
3094
#include <wx/richtext/richtexthtml.h>
 
3095
 
 
3096
 static const wxString wxPyHtmlName(wxT("HTML")); 
 
3097
 static const wxString wxPyHtmlExt(wxT("html")); 
 
3098
 
 
3099
#include <wx/richtext/richtextxml.h>
 
3100
 
 
3101
 static const wxString wxPyXmlName(wxT("XML")); 
 
3102
 static const wxString wxPyXmlExt(wxT("xml")); 
2859
3103
#ifdef __cplusplus
2860
3104
extern "C" {
2861
3105
#endif
2890
3134
    arg2 = static_cast< long >(val2);
2891
3135
  }
2892
3136
  {
2893
 
    PyThreadState* __tstate = wxPyBeginAllowThreads();
2894
3137
    result = (wxRichTextRange *)new wxRichTextRange(arg1,arg2);
2895
 
    wxPyEndAllowThreads(__tstate);
2896
3138
    if (PyErr_Occurred()) SWIG_fail;
2897
3139
  }
2898
3140
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxRichTextRange, SWIG_POINTER_NEW |  0 );
2917
3159
  }
2918
3160
  arg1 = reinterpret_cast< wxRichTextRange * >(argp1);
2919
3161
  {
2920
 
    PyThreadState* __tstate = wxPyBeginAllowThreads();
2921
3162
    delete arg1;
2922
3163
    
2923
 
    wxPyEndAllowThreads(__tstate);
2924
3164
    if (PyErr_Occurred()) SWIG_fail;
2925
3165
  }
2926
3166
  resultobj = SWIG_Py_Void();
2988
3228
    if ( ! wxRichTextRange_helper(obj1, &arg2)) SWIG_fail;
2989
3229
  }
2990
3230
  {
2991
 
    PyThreadState* __tstate = wxPyBeginAllowThreads();
2992
3231
    result = ((wxRichTextRange const *)arg1)->operator -((wxRichTextRange const &)*arg2);
2993
 
    wxPyEndAllowThreads(__tstate);
2994
3232
    if (PyErr_Occurred()) SWIG_fail;
2995
3233
  }
2996
3234
  resultobj = SWIG_NewPointerObj((new wxRichTextRange(static_cast< const wxRichTextRange& >(result))), SWIGTYPE_p_wxRichTextRange, SWIG_POINTER_OWN |  0 );
3025
3263
    if ( ! wxRichTextRange_helper(obj1, &arg2)) SWIG_fail;
3026
3264
  }
3027
3265
  {
3028
 
    PyThreadState* __tstate = wxPyBeginAllowThreads();
3029
3266
    result = ((wxRichTextRange const *)arg1)->operator +((wxRichTextRange const &)*arg2);
3030
 
    wxPyEndAllowThreads(__tstate);
3031
3267
    if (PyErr_Occurred()) SWIG_fail;
3032
3268
  }
3033
3269
  resultobj = SWIG_NewPointerObj((new wxRichTextRange(static_cast< const wxRichTextRange& >(result))), SWIGTYPE_p_wxRichTextRange, SWIG_POINTER_OWN |  0 );
3072
3308
  } 
3073
3309
  arg3 = static_cast< long >(val3);
3074
3310
  {
3075
 
    PyThreadState* __tstate = wxPyBeginAllowThreads();
3076
3311
    (arg1)->SetRange(arg2,arg3);
3077
 
    wxPyEndAllowThreads(__tstate);
3078
3312
    if (PyErr_Occurred()) SWIG_fail;
3079
3313
  }
3080
3314
  resultobj = SWIG_Py_Void();
3110
3344
  } 
3111
3345
  arg2 = static_cast< long >(val2);
3112
3346
  {
3113
 
    PyThreadState* __tstate = wxPyBeginAllowThreads();
3114
3347
    (arg1)->SetStart(arg2);
3115
 
    wxPyEndAllowThreads(__tstate);
3116
3348
    if (PyErr_Occurred()) SWIG_fail;
3117
3349
  }
3118
3350
  resultobj = SWIG_Py_Void();
3138
3370
  }
3139
3371
  arg1 = reinterpret_cast< wxRichTextRange * >(argp1);
3140
3372
  {
3141
 
    PyThreadState* __tstate = wxPyBeginAllowThreads();
3142
3373
    result = (long)((wxRichTextRange const *)arg1)->GetStart();
3143
 
    wxPyEndAllowThreads(__tstate);
3144
3374
    if (PyErr_Occurred()) SWIG_fail;
3145
3375
  }
3146
3376
  resultobj = SWIG_From_long(static_cast< long >(result));
3176
3406
  } 
3177
3407
  arg2 = static_cast< long >(val2);
3178
3408
  {
3179
 
    PyThreadState* __tstate = wxPyBeginAllowThreads();
3180
3409
    (arg1)->SetEnd(arg2);
3181
 
    wxPyEndAllowThreads(__tstate);
3182
3410
    if (PyErr_Occurred()) SWIG_fail;
3183
3411
  }
3184
3412
  resultobj = SWIG_Py_Void();
3204
3432
  }
3205
3433
  arg1 = reinterpret_cast< wxRichTextRange * >(argp1);
3206
3434
  {
3207
 
    PyThreadState* __tstate = wxPyBeginAllowThreads();
3208
3435
    result = (long)((wxRichTextRange const *)arg1)->GetEnd();
3209
 
    wxPyEndAllowThreads(__tstate);
3210
3436
    if (PyErr_Occurred()) SWIG_fail;
3211
3437
  }
3212
3438
  resultobj = SWIG_From_long(static_cast< long >(result));
3241
3467
    if ( ! wxRichTextRange_helper(obj1, &arg2)) SWIG_fail;
3242
3468
  }
3243
3469
  {
3244
 
    PyThreadState* __tstate = wxPyBeginAllowThreads();
3245
3470
    result = (bool)((wxRichTextRange const *)arg1)->IsOutside((wxRichTextRange const &)*arg2);
3246
 
    wxPyEndAllowThreads(__tstate);
3247
3471
    if (PyErr_Occurred()) SWIG_fail;
3248
3472
  }
3249
3473
  {
3280
3504
    if ( ! wxRichTextRange_helper(obj1, &arg2)) SWIG_fail;
3281
3505
  }
3282
3506
  {
3283
 
    PyThreadState* __tstate = wxPyBeginAllowThreads();
3284
3507
    result = (bool)((wxRichTextRange const *)arg1)->IsWithin((wxRichTextRange const &)*arg2);
3285
 
    wxPyEndAllowThreads(__tstate);
3286
3508
    if (PyErr_Occurred()) SWIG_fail;
3287
3509
  }
3288
3510
  {
3321
3543
  } 
3322
3544
  arg2 = static_cast< long >(val2);
3323
3545
  {
3324
 
    PyThreadState* __tstate = wxPyBeginAllowThreads();
3325
3546
    result = (bool)((wxRichTextRange const *)arg1)->Contains(arg2);
3326
 
    wxPyEndAllowThreads(__tstate);
3327
3547
    if (PyErr_Occurred()) SWIG_fail;
3328
3548
  }
3329
3549
  {
3360
3580
    if ( ! wxRichTextRange_helper(obj1, &arg2)) SWIG_fail;
3361
3581
  }
3362
3582
  {
3363
 
    PyThreadState* __tstate = wxPyBeginAllowThreads();
3364
3583
    result = (bool)(arg1)->LimitTo((wxRichTextRange const &)*arg2);
3365
 
    wxPyEndAllowThreads(__tstate);
3366
3584
    if (PyErr_Occurred()) SWIG_fail;
3367
3585
  }
3368
3586
  {
3390
3608
  }
3391
3609
  arg1 = reinterpret_cast< wxRichTextRange * >(argp1);
3392
3610
  {
3393
 
    PyThreadState* __tstate = wxPyBeginAllowThreads();
3394
3611
    result = (long)((wxRichTextRange const *)arg1)->GetLength();
3395
 
    wxPyEndAllowThreads(__tstate);
3396
3612
    if (PyErr_Occurred()) SWIG_fail;
3397
3613
  }
3398
3614
  resultobj = SWIG_From_long(static_cast< long >(result));
3417
3633
  }
3418
3634
  arg1 = reinterpret_cast< wxRichTextRange * >(argp1);
3419
3635
  {
3420
 
    PyThreadState* __tstate = wxPyBeginAllowThreads();
3421
3636
    (arg1)->Swap();
3422
 
    wxPyEndAllowThreads(__tstate);
3423
3637
    if (PyErr_Occurred()) SWIG_fail;
3424
3638
  }
3425
3639
  resultobj = SWIG_Py_Void();
3429
3643
}
3430
3644
 
3431
3645
 
 
3646
SWIGINTERN PyObject *_wrap_RichTextRange_ToInternal(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
3647
  PyObject *resultobj = 0;
 
3648
  wxRichTextRange *arg1 = (wxRichTextRange *) 0 ;
 
3649
  wxRichTextRange result;
 
3650
  void *argp1 = 0 ;
 
3651
  int res1 = 0 ;
 
3652
  PyObject *swig_obj[1] ;
 
3653
  
 
3654
  if (!args) SWIG_fail;
 
3655
  swig_obj[0] = args;
 
3656
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextRange, 0 |  0 );
 
3657
  if (!SWIG_IsOK(res1)) {
 
3658
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextRange_ToInternal" "', expected argument " "1"" of type '" "wxRichTextRange const *""'"); 
 
3659
  }
 
3660
  arg1 = reinterpret_cast< wxRichTextRange * >(argp1);
 
3661
  {
 
3662
    result = ((wxRichTextRange const *)arg1)->ToInternal();
 
3663
    if (PyErr_Occurred()) SWIG_fail;
 
3664
  }
 
3665
  resultobj = SWIG_NewPointerObj((new wxRichTextRange(static_cast< const wxRichTextRange& >(result))), SWIGTYPE_p_wxRichTextRange, SWIG_POINTER_OWN |  0 );
 
3666
  return resultobj;
 
3667
fail:
 
3668
  return NULL;
 
3669
}
 
3670
 
 
3671
 
 
3672
SWIGINTERN PyObject *_wrap_RichTextRange_FromInternal(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
3673
  PyObject *resultobj = 0;
 
3674
  wxRichTextRange *arg1 = (wxRichTextRange *) 0 ;
 
3675
  wxRichTextRange result;
 
3676
  void *argp1 = 0 ;
 
3677
  int res1 = 0 ;
 
3678
  PyObject *swig_obj[1] ;
 
3679
  
 
3680
  if (!args) SWIG_fail;
 
3681
  swig_obj[0] = args;
 
3682
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextRange, 0 |  0 );
 
3683
  if (!SWIG_IsOK(res1)) {
 
3684
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextRange_FromInternal" "', expected argument " "1"" of type '" "wxRichTextRange const *""'"); 
 
3685
  }
 
3686
  arg1 = reinterpret_cast< wxRichTextRange * >(argp1);
 
3687
  {
 
3688
    result = ((wxRichTextRange const *)arg1)->FromInternal();
 
3689
    if (PyErr_Occurred()) SWIG_fail;
 
3690
  }
 
3691
  resultobj = SWIG_NewPointerObj((new wxRichTextRange(static_cast< const wxRichTextRange& >(result))), SWIGTYPE_p_wxRichTextRange, SWIG_POINTER_OWN |  0 );
 
3692
  return resultobj;
 
3693
fail:
 
3694
  return NULL;
 
3695
}
 
3696
 
 
3697
 
3432
3698
SWIGINTERN PyObject *_wrap_RichTextRange_Get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3433
3699
  PyObject *resultobj = 0;
3434
3700
  wxRichTextRange *arg1 = (wxRichTextRange *) 0 ;
3445
3711
  }
3446
3712
  arg1 = reinterpret_cast< wxRichTextRange * >(argp1);
3447
3713
  {
3448
 
    PyThreadState* __tstate = wxPyBeginAllowThreads();
3449
3714
    result = (PyObject *)wxRichTextRange_Get(arg1);
3450
 
    wxPyEndAllowThreads(__tstate);
3451
3715
    if (PyErr_Occurred()) SWIG_fail;
3452
3716
  }
3453
3717
  resultobj = result;
3496
3760
}
3497
3761
 
3498
3762
 
3499
 
SWIGINTERN PyObject *_wrap_new_RichTextAttr(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
3763
SWIGINTERN PyObject *_wrap_new_TextAttrEx(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3500
3764
  PyObject *resultobj = 0;
3501
 
  wxColour const &arg1_defvalue = wxNullColour ;
3502
 
  wxColour *arg1 = (wxColour *) &arg1_defvalue ;
3503
 
  wxColour const &arg2_defvalue = wxNullColour ;
3504
 
  wxColour *arg2 = (wxColour *) &arg2_defvalue ;
3505
 
  wxTextAttrAlignment arg3 = (wxTextAttrAlignment) wxTEXT_ALIGNMENT_DEFAULT ;
3506
 
  wxRichTextAttr *result = 0 ;
3507
 
  wxColour temp1 ;
3508
 
  wxColour temp2 ;
3509
 
  int val3 ;
3510
 
  int ecode3 = 0 ;
3511
 
  PyObject * obj0 = 0 ;
3512
 
  PyObject * obj1 = 0 ;
3513
 
  PyObject * obj2 = 0 ;
3514
 
  char *  kwnames[] = {
3515
 
    (char *) "colText",(char *) "colBack",(char *) "alignment", NULL 
3516
 
  };
 
3765
  wxTextAttrEx *result = 0 ;
3517
3766
  
3518
 
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOO:new_RichTextAttr",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
3519
 
  if (obj0) {
3520
 
    {
3521
 
      arg1 = &temp1;
3522
 
      if ( ! wxColour_helper(obj0, &arg1)) SWIG_fail;
3523
 
    }
3524
 
  }
3525
 
  if (obj1) {
3526
 
    {
3527
 
      arg2 = &temp2;
3528
 
      if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
3529
 
    }
3530
 
  }
3531
 
  if (obj2) {
3532
 
    ecode3 = SWIG_AsVal_int(obj2, &val3);
3533
 
    if (!SWIG_IsOK(ecode3)) {
3534
 
      SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_RichTextAttr" "', expected argument " "3"" of type '" "wxTextAttrAlignment""'");
3535
 
    } 
3536
 
    arg3 = static_cast< wxTextAttrAlignment >(val3);
3537
 
  }
 
3767
  if (!SWIG_Python_UnpackTuple(args,"new_TextAttrEx",0,0,0)) SWIG_fail;
3538
3768
  {
3539
3769
    PyThreadState* __tstate = wxPyBeginAllowThreads();
3540
 
    result = (wxRichTextAttr *)new wxRichTextAttr((wxColour const &)*arg1,(wxColour const &)*arg2,arg3);
 
3770
    result = (wxTextAttrEx *)new wxTextAttrEx();
3541
3771
    wxPyEndAllowThreads(__tstate);
3542
3772
    if (PyErr_Occurred()) SWIG_fail;
3543
3773
  }
3544
 
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxRichTextAttr, SWIG_POINTER_NEW |  0 );
 
3774
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxTextAttrEx, SWIG_POINTER_NEW |  0 );
3545
3775
  return resultobj;
3546
3776
fail:
3547
3777
  return NULL;
3548
3778
}
3549
3779
 
3550
3780
 
3551
 
SWIGINTERN PyObject *_wrap_delete_RichTextAttr(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
3781
SWIGINTERN PyObject *_wrap_delete_TextAttrEx(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3552
3782
  PyObject *resultobj = 0;
3553
 
  wxRichTextAttr *arg1 = (wxRichTextAttr *) 0 ;
 
3783
  wxTextAttrEx *arg1 = (wxTextAttrEx *) 0 ;
3554
3784
  void *argp1 = 0 ;
3555
3785
  int res1 = 0 ;
3556
3786
  PyObject *swig_obj[1] ;
3557
3787
  
3558
3788
  if (!args) SWIG_fail;
3559
3789
  swig_obj[0] = args;
3560
 
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextAttr, SWIG_POINTER_DISOWN |  0 );
 
3790
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextAttrEx, SWIG_POINTER_DISOWN |  0 );
3561
3791
  if (!SWIG_IsOK(res1)) {
3562
 
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_RichTextAttr" "', expected argument " "1"" of type '" "wxRichTextAttr *""'"); 
 
3792
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_TextAttrEx" "', expected argument " "1"" of type '" "wxTextAttrEx *""'"); 
3563
3793
  }
3564
 
  arg1 = reinterpret_cast< wxRichTextAttr * >(argp1);
 
3794
  arg1 = reinterpret_cast< wxTextAttrEx * >(argp1);
3565
3795
  {
3566
3796
    PyThreadState* __tstate = wxPyBeginAllowThreads();
3567
3797
    delete arg1;
3576
3806
}
3577
3807
 
3578
3808
 
3579
 
SWIGINTERN PyObject *_wrap_RichTextAttr_CreateFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
3809
SWIGINTERN PyObject *_wrap_TextAttrEx_Init(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3580
3810
  PyObject *resultobj = 0;
3581
 
  wxRichTextAttr *arg1 = (wxRichTextAttr *) 0 ;
3582
 
  wxFont result;
 
3811
  wxTextAttrEx *arg1 = (wxTextAttrEx *) 0 ;
3583
3812
  void *argp1 = 0 ;
3584
3813
  int res1 = 0 ;
3585
3814
  PyObject *swig_obj[1] ;
3586
3815
  
3587
3816
  if (!args) SWIG_fail;
3588
3817
  swig_obj[0] = args;
3589
 
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextAttr, 0 |  0 );
 
3818
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextAttrEx, 0 |  0 );
3590
3819
  if (!SWIG_IsOK(res1)) {
3591
 
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextAttr_CreateFont" "', expected argument " "1"" of type '" "wxRichTextAttr const *""'"); 
 
3820
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttrEx_Init" "', expected argument " "1"" of type '" "wxTextAttrEx *""'"); 
3592
3821
  }
3593
 
  arg1 = reinterpret_cast< wxRichTextAttr * >(argp1);
 
3822
  arg1 = reinterpret_cast< wxTextAttrEx * >(argp1);
3594
3823
  {
3595
3824
    PyThreadState* __tstate = wxPyBeginAllowThreads();
3596
 
    result = ((wxRichTextAttr const *)arg1)->CreateFont();
 
3825
    (arg1)->Init();
3597
3826
    wxPyEndAllowThreads(__tstate);
3598
3827
    if (PyErr_Occurred()) SWIG_fail;
3599
3828
  }
3600
 
  resultobj = SWIG_NewPointerObj((new wxFont(static_cast< const wxFont& >(result))), SWIGTYPE_p_wxFont, SWIG_POINTER_OWN |  0 );
 
3829
  resultobj = SWIG_Py_Void();
3601
3830
  return resultobj;
3602
3831
fail:
3603
3832
  return NULL;
3604
3833
}
3605
3834
 
3606
3835
 
3607
 
SWIGINTERN PyObject *_wrap_RichTextAttr_GetFontAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
3836
SWIGINTERN PyObject *_wrap_TextAttrEx_Copy(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
3608
3837
  PyObject *resultobj = 0;
3609
 
  wxRichTextAttr *arg1 = (wxRichTextAttr *) 0 ;
3610
 
  wxFont *arg2 = 0 ;
3611
 
  bool result;
 
3838
  wxTextAttrEx *arg1 = (wxTextAttrEx *) 0 ;
 
3839
  wxTextAttrEx *arg2 = 0 ;
3612
3840
  void *argp1 = 0 ;
3613
3841
  int res1 = 0 ;
3614
3842
  void *argp2 = 0 ;
3616
3844
  PyObject * obj0 = 0 ;
3617
3845
  PyObject * obj1 = 0 ;
3618
3846
  char *  kwnames[] = {
3619
 
    (char *) "self",(char *) "font", NULL 
 
3847
    (char *) "self",(char *) "attr", NULL 
3620
3848
  };
3621
3849
  
3622
 
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RichTextAttr_GetFontAttributes",kwnames,&obj0,&obj1)) SWIG_fail;
3623
 
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextAttr, 0 |  0 );
 
3850
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttrEx_Copy",kwnames,&obj0,&obj1)) SWIG_fail;
 
3851
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextAttrEx, 0 |  0 );
3624
3852
  if (!SWIG_IsOK(res1)) {
3625
 
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextAttr_GetFontAttributes" "', expected argument " "1"" of type '" "wxRichTextAttr *""'"); 
 
3853
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttrEx_Copy" "', expected argument " "1"" of type '" "wxTextAttrEx *""'"); 
3626
3854
  }
3627
 
  arg1 = reinterpret_cast< wxRichTextAttr * >(argp1);
3628
 
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxFont,  0  | 0);
 
3855
  arg1 = reinterpret_cast< wxTextAttrEx * >(argp1);
 
3856
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTextAttrEx,  0  | 0);
3629
3857
  if (!SWIG_IsOK(res2)) {
3630
 
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "RichTextAttr_GetFontAttributes" "', expected argument " "2"" of type '" "wxFont const &""'"); 
 
3858
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TextAttrEx_Copy" "', expected argument " "2"" of type '" "wxTextAttrEx const &""'"); 
3631
3859
  }
3632
3860
  if (!argp2) {
3633
 
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "RichTextAttr_GetFontAttributes" "', expected argument " "2"" of type '" "wxFont const &""'"); 
 
3861
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TextAttrEx_Copy" "', expected argument " "2"" of type '" "wxTextAttrEx const &""'"); 
3634
3862
  }
3635
 
  arg2 = reinterpret_cast< wxFont * >(argp2);
 
3863
  arg2 = reinterpret_cast< wxTextAttrEx * >(argp2);
3636
3864
  {
3637
3865
    PyThreadState* __tstate = wxPyBeginAllowThreads();
3638
 
    result = (bool)(arg1)->GetFontAttributes((wxFont const &)*arg2);
 
3866
    (arg1)->Copy((wxTextAttrEx const &)*arg2);
3639
3867
    wxPyEndAllowThreads(__tstate);
3640
3868
    if (PyErr_Occurred()) SWIG_fail;
3641
3869
  }
3642
 
  {
3643
 
    resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3644
 
  }
 
3870
  resultobj = SWIG_Py_Void();
3645
3871
  return resultobj;
3646
3872
fail:
3647
3873
  return NULL;
3648
3874
}
3649
3875
 
3650
3876
 
3651
 
SWIGINTERN PyObject *_wrap_RichTextAttr_SetTextColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
3877
SWIGINTERN PyObject *_wrap_TextAttrEx_SetTextColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
3652
3878
  PyObject *resultobj = 0;
3653
 
  wxRichTextAttr *arg1 = (wxRichTextAttr *) 0 ;
 
3879
  wxTextAttrEx *arg1 = (wxTextAttrEx *) 0 ;
3654
3880
  wxColour *arg2 = 0 ;
3655
3881
  void *argp1 = 0 ;
3656
3882
  int res1 = 0 ;
3661
3887
    (char *) "self",(char *) "colText", NULL 
3662
3888
  };
3663
3889
  
3664
 
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RichTextAttr_SetTextColour",kwnames,&obj0,&obj1)) SWIG_fail;
3665
 
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextAttr, 0 |  0 );
 
3890
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttrEx_SetTextColour",kwnames,&obj0,&obj1)) SWIG_fail;
 
3891
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextAttrEx, 0 |  0 );
3666
3892
  if (!SWIG_IsOK(res1)) {
3667
 
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextAttr_SetTextColour" "', expected argument " "1"" of type '" "wxRichTextAttr *""'"); 
 
3893
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttrEx_SetTextColour" "', expected argument " "1"" of type '" "wxTextAttrEx *""'"); 
3668
3894
  }
3669
 
  arg1 = reinterpret_cast< wxRichTextAttr * >(argp1);
 
3895
  arg1 = reinterpret_cast< wxTextAttrEx * >(argp1);
3670
3896
  {
3671
3897
    arg2 = &temp2;
3672
3898
    if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
3684
3910
}
3685
3911
 
3686
3912
 
3687
 
SWIGINTERN PyObject *_wrap_RichTextAttr_SetBackgroundColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
3913
SWIGINTERN PyObject *_wrap_TextAttrEx_SetBackgroundColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
3688
3914
  PyObject *resultobj = 0;
3689
 
  wxRichTextAttr *arg1 = (wxRichTextAttr *) 0 ;
 
3915
  wxTextAttrEx *arg1 = (wxTextAttrEx *) 0 ;
3690
3916
  wxColour *arg2 = 0 ;
3691
3917
  void *argp1 = 0 ;
3692
3918
  int res1 = 0 ;
3697
3923
    (char *) "self",(char *) "colBack", NULL 
3698
3924
  };
3699
3925
  
3700
 
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RichTextAttr_SetBackgroundColour",kwnames,&obj0,&obj1)) SWIG_fail;
3701
 
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextAttr, 0 |  0 );
 
3926
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttrEx_SetBackgroundColour",kwnames,&obj0,&obj1)) SWIG_fail;
 
3927
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextAttrEx, 0 |  0 );
3702
3928
  if (!SWIG_IsOK(res1)) {
3703
 
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextAttr_SetBackgroundColour" "', expected argument " "1"" of type '" "wxRichTextAttr *""'"); 
 
3929
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttrEx_SetBackgroundColour" "', expected argument " "1"" of type '" "wxTextAttrEx *""'"); 
3704
3930
  }
3705
 
  arg1 = reinterpret_cast< wxRichTextAttr * >(argp1);
 
3931
  arg1 = reinterpret_cast< wxTextAttrEx * >(argp1);
3706
3932
  {
3707
3933
    arg2 = &temp2;
3708
3934
    if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
3720
3946
}
3721
3947
 
3722
3948
 
3723
 
SWIGINTERN PyObject *_wrap_RichTextAttr_SetAlignment(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
3724
 
  PyObject *resultobj = 0;
3725
 
  wxRichTextAttr *arg1 = (wxRichTextAttr *) 0 ;
 
3949
SWIGINTERN PyObject *_wrap_TextAttrEx_SetFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
3950
  PyObject *resultobj = 0;
 
3951
  wxTextAttrEx *arg1 = (wxTextAttrEx *) 0 ;
 
3952
  wxFont *arg2 = 0 ;
 
3953
  long arg3 = (long) wxTEXT_ATTR_FONT ;
 
3954
  void *argp1 = 0 ;
 
3955
  int res1 = 0 ;
 
3956
  void *argp2 = 0 ;
 
3957
  int res2 = 0 ;
 
3958
  long val3 ;
 
3959
  int ecode3 = 0 ;
 
3960
  PyObject * obj0 = 0 ;
 
3961
  PyObject * obj1 = 0 ;
 
3962
  PyObject * obj2 = 0 ;
 
3963
  char *  kwnames[] = {
 
3964
    (char *) "self",(char *) "font",(char *) "flags", NULL 
 
3965
  };
 
3966
  
 
3967
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TextAttrEx_SetFont",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
 
3968
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextAttrEx, 0 |  0 );
 
3969
  if (!SWIG_IsOK(res1)) {
 
3970
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttrEx_SetFont" "', expected argument " "1"" of type '" "wxTextAttrEx *""'"); 
 
3971
  }
 
3972
  arg1 = reinterpret_cast< wxTextAttrEx * >(argp1);
 
3973
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxFont,  0  | 0);
 
3974
  if (!SWIG_IsOK(res2)) {
 
3975
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TextAttrEx_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'"); 
 
3976
  }
 
3977
  if (!argp2) {
 
3978
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TextAttrEx_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'"); 
 
3979
  }
 
3980
  arg2 = reinterpret_cast< wxFont * >(argp2);
 
3981
  if (obj2) {
 
3982
    ecode3 = SWIG_AsVal_long(obj2, &val3);
 
3983
    if (!SWIG_IsOK(ecode3)) {
 
3984
      SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TextAttrEx_SetFont" "', expected argument " "3"" of type '" "long""'");
 
3985
    } 
 
3986
    arg3 = static_cast< long >(val3);
 
3987
  }
 
3988
  {
 
3989
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
3990
    (arg1)->SetFont((wxFont const &)*arg2,arg3);
 
3991
    wxPyEndAllowThreads(__tstate);
 
3992
    if (PyErr_Occurred()) SWIG_fail;
 
3993
  }
 
3994
  resultobj = SWIG_Py_Void();
 
3995
  return resultobj;
 
3996
fail:
 
3997
  return NULL;
 
3998
}
 
3999
 
 
4000
 
 
4001
SWIGINTERN PyObject *_wrap_TextAttrEx_SetAlignment(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
4002
  PyObject *resultobj = 0;
 
4003
  wxTextAttrEx *arg1 = (wxTextAttrEx *) 0 ;
3726
4004
  wxTextAttrAlignment arg2 ;
3727
4005
  void *argp1 = 0 ;
3728
4006
  int res1 = 0 ;
3734
4012
    (char *) "self",(char *) "alignment", NULL 
3735
4013
  };
3736
4014
  
3737
 
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RichTextAttr_SetAlignment",kwnames,&obj0,&obj1)) SWIG_fail;
3738
 
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextAttr, 0 |  0 );
 
4015
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttrEx_SetAlignment",kwnames,&obj0,&obj1)) SWIG_fail;
 
4016
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextAttrEx, 0 |  0 );
3739
4017
  if (!SWIG_IsOK(res1)) {
3740
 
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextAttr_SetAlignment" "', expected argument " "1"" of type '" "wxRichTextAttr *""'"); 
 
4018
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttrEx_SetAlignment" "', expected argument " "1"" of type '" "wxTextAttrEx *""'"); 
3741
4019
  }
3742
 
  arg1 = reinterpret_cast< wxRichTextAttr * >(argp1);
 
4020
  arg1 = reinterpret_cast< wxTextAttrEx * >(argp1);
3743
4021
  ecode2 = SWIG_AsVal_int(obj1, &val2);
3744
4022
  if (!SWIG_IsOK(ecode2)) {
3745
 
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RichTextAttr_SetAlignment" "', expected argument " "2"" of type '" "wxTextAttrAlignment""'");
 
4023
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TextAttrEx_SetAlignment" "', expected argument " "2"" of type '" "wxTextAttrAlignment""'");
3746
4024
  } 
3747
4025
  arg2 = static_cast< wxTextAttrAlignment >(val2);
3748
4026
  {
3758
4036
}
3759
4037
 
3760
4038
 
3761
 
SWIGINTERN PyObject *_wrap_RichTextAttr_SetTabs(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
4039
SWIGINTERN PyObject *_wrap_TextAttrEx_SetTabs(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
3762
4040
  PyObject *resultobj = 0;
3763
 
  wxRichTextAttr *arg1 = (wxRichTextAttr *) 0 ;
 
4041
  wxTextAttrEx *arg1 = (wxTextAttrEx *) 0 ;
3764
4042
  wxArrayInt *arg2 = 0 ;
3765
4043
  void *argp1 = 0 ;
3766
4044
  int res1 = 0 ;
3771
4049
    (char *) "self",(char *) "tabs", NULL 
3772
4050
  };
3773
4051
  
3774
 
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RichTextAttr_SetTabs",kwnames,&obj0,&obj1)) SWIG_fail;
3775
 
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextAttr, 0 |  0 );
 
4052
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttrEx_SetTabs",kwnames,&obj0,&obj1)) SWIG_fail;
 
4053
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextAttrEx, 0 |  0 );
3776
4054
  if (!SWIG_IsOK(res1)) {
3777
 
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextAttr_SetTabs" "', expected argument " "1"" of type '" "wxRichTextAttr *""'"); 
 
4055
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttrEx_SetTabs" "', expected argument " "1"" of type '" "wxTextAttrEx *""'"); 
3778
4056
  }
3779
 
  arg1 = reinterpret_cast< wxRichTextAttr * >(argp1);
 
4057
  arg1 = reinterpret_cast< wxTextAttrEx * >(argp1);
3780
4058
  {
3781
4059
    if (! PySequence_Check(obj1)) {
3782
4060
      PyErr_SetString(PyExc_TypeError, "Sequence of integers expected.");
3816
4094
}
3817
4095
 
3818
4096
 
3819
 
SWIGINTERN PyObject *_wrap_RichTextAttr_SetLeftIndent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
4097
SWIGINTERN PyObject *_wrap_TextAttrEx_SetLeftIndent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
3820
4098
  PyObject *resultobj = 0;
3821
 
  wxRichTextAttr *arg1 = (wxRichTextAttr *) 0 ;
 
4099
  wxTextAttrEx *arg1 = (wxTextAttrEx *) 0 ;
3822
4100
  int arg2 ;
3823
4101
  int arg3 = (int) 0 ;
3824
4102
  void *argp1 = 0 ;
3834
4112
    (char *) "self",(char *) "indent",(char *) "subIndent", NULL 
3835
4113
  };
3836
4114
  
3837
 
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:RichTextAttr_SetLeftIndent",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
3838
 
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextAttr, 0 |  0 );
 
4115
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TextAttrEx_SetLeftIndent",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
 
4116
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextAttrEx, 0 |  0 );
3839
4117
  if (!SWIG_IsOK(res1)) {
3840
 
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextAttr_SetLeftIndent" "', expected argument " "1"" of type '" "wxRichTextAttr *""'"); 
 
4118
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttrEx_SetLeftIndent" "', expected argument " "1"" of type '" "wxTextAttrEx *""'"); 
3841
4119
  }
3842
 
  arg1 = reinterpret_cast< wxRichTextAttr * >(argp1);
 
4120
  arg1 = reinterpret_cast< wxTextAttrEx * >(argp1);
3843
4121
  ecode2 = SWIG_AsVal_int(obj1, &val2);
3844
4122
  if (!SWIG_IsOK(ecode2)) {
3845
 
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RichTextAttr_SetLeftIndent" "', expected argument " "2"" of type '" "int""'");
 
4123
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TextAttrEx_SetLeftIndent" "', expected argument " "2"" of type '" "int""'");
3846
4124
  } 
3847
4125
  arg2 = static_cast< int >(val2);
3848
4126
  if (obj2) {
3849
4127
    ecode3 = SWIG_AsVal_int(obj2, &val3);
3850
4128
    if (!SWIG_IsOK(ecode3)) {
3851
 
      SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "RichTextAttr_SetLeftIndent" "', expected argument " "3"" of type '" "int""'");
 
4129
      SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TextAttrEx_SetLeftIndent" "', expected argument " "3"" of type '" "int""'");
3852
4130
    } 
3853
4131
    arg3 = static_cast< int >(val3);
3854
4132
  }
3865
4143
}
3866
4144
 
3867
4145
 
3868
 
SWIGINTERN PyObject *_wrap_RichTextAttr_SetRightIndent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
4146
SWIGINTERN PyObject *_wrap_TextAttrEx_SetRightIndent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
3869
4147
  PyObject *resultobj = 0;
3870
 
  wxRichTextAttr *arg1 = (wxRichTextAttr *) 0 ;
 
4148
  wxTextAttrEx *arg1 = (wxTextAttrEx *) 0 ;
3871
4149
  int arg2 ;
3872
4150
  void *argp1 = 0 ;
3873
4151
  int res1 = 0 ;
3879
4157
    (char *) "self",(char *) "indent", NULL 
3880
4158
  };
3881
4159
  
3882
 
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RichTextAttr_SetRightIndent",kwnames,&obj0,&obj1)) SWIG_fail;
3883
 
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextAttr, 0 |  0 );
 
4160
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttrEx_SetRightIndent",kwnames,&obj0,&obj1)) SWIG_fail;
 
4161
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextAttrEx, 0 |  0 );
3884
4162
  if (!SWIG_IsOK(res1)) {
3885
 
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextAttr_SetRightIndent" "', expected argument " "1"" of type '" "wxRichTextAttr *""'"); 
 
4163
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttrEx_SetRightIndent" "', expected argument " "1"" of type '" "wxTextAttrEx *""'"); 
3886
4164
  }
3887
 
  arg1 = reinterpret_cast< wxRichTextAttr * >(argp1);
 
4165
  arg1 = reinterpret_cast< wxTextAttrEx * >(argp1);
3888
4166
  ecode2 = SWIG_AsVal_int(obj1, &val2);
3889
4167
  if (!SWIG_IsOK(ecode2)) {
3890
 
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RichTextAttr_SetRightIndent" "', expected argument " "2"" of type '" "int""'");
 
4168
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TextAttrEx_SetRightIndent" "', expected argument " "2"" of type '" "int""'");
3891
4169
  } 
3892
4170
  arg2 = static_cast< int >(val2);
3893
4171
  {
3903
4181
}
3904
4182
 
3905
4183
 
3906
 
SWIGINTERN PyObject *_wrap_RichTextAttr_SetFontSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
3907
 
  PyObject *resultobj = 0;
3908
 
  wxRichTextAttr *arg1 = (wxRichTextAttr *) 0 ;
3909
 
  int arg2 ;
3910
 
  void *argp1 = 0 ;
3911
 
  int res1 = 0 ;
3912
 
  int val2 ;
3913
 
  int ecode2 = 0 ;
3914
 
  PyObject * obj0 = 0 ;
3915
 
  PyObject * obj1 = 0 ;
3916
 
  char *  kwnames[] = {
3917
 
    (char *) "self",(char *) "pointSize", NULL 
3918
 
  };
3919
 
  
3920
 
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RichTextAttr_SetFontSize",kwnames,&obj0,&obj1)) SWIG_fail;
3921
 
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextAttr, 0 |  0 );
3922
 
  if (!SWIG_IsOK(res1)) {
3923
 
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextAttr_SetFontSize" "', expected argument " "1"" of type '" "wxRichTextAttr *""'"); 
3924
 
  }
3925
 
  arg1 = reinterpret_cast< wxRichTextAttr * >(argp1);
3926
 
  ecode2 = SWIG_AsVal_int(obj1, &val2);
3927
 
  if (!SWIG_IsOK(ecode2)) {
3928
 
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RichTextAttr_SetFontSize" "', expected argument " "2"" of type '" "int""'");
3929
 
  } 
3930
 
  arg2 = static_cast< int >(val2);
3931
 
  {
3932
 
    PyThreadState* __tstate = wxPyBeginAllowThreads();
3933
 
    (arg1)->SetFontSize(arg2);
3934
 
    wxPyEndAllowThreads(__tstate);
3935
 
    if (PyErr_Occurred()) SWIG_fail;
3936
 
  }
3937
 
  resultobj = SWIG_Py_Void();
3938
 
  return resultobj;
3939
 
fail:
3940
 
  return NULL;
3941
 
}
3942
 
 
3943
 
 
3944
 
SWIGINTERN PyObject *_wrap_RichTextAttr_SetFontStyle(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
3945
 
  PyObject *resultobj = 0;
3946
 
  wxRichTextAttr *arg1 = (wxRichTextAttr *) 0 ;
3947
 
  int arg2 ;
3948
 
  void *argp1 = 0 ;
3949
 
  int res1 = 0 ;
3950
 
  int val2 ;
3951
 
  int ecode2 = 0 ;
3952
 
  PyObject * obj0 = 0 ;
3953
 
  PyObject * obj1 = 0 ;
3954
 
  char *  kwnames[] = {
3955
 
    (char *) "self",(char *) "fontStyle", NULL 
3956
 
  };
3957
 
  
3958
 
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RichTextAttr_SetFontStyle",kwnames,&obj0,&obj1)) SWIG_fail;
3959
 
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextAttr, 0 |  0 );
3960
 
  if (!SWIG_IsOK(res1)) {
3961
 
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextAttr_SetFontStyle" "', expected argument " "1"" of type '" "wxRichTextAttr *""'"); 
3962
 
  }
3963
 
  arg1 = reinterpret_cast< wxRichTextAttr * >(argp1);
3964
 
  ecode2 = SWIG_AsVal_int(obj1, &val2);
3965
 
  if (!SWIG_IsOK(ecode2)) {
3966
 
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RichTextAttr_SetFontStyle" "', expected argument " "2"" of type '" "int""'");
3967
 
  } 
3968
 
  arg2 = static_cast< int >(val2);
3969
 
  {
3970
 
    PyThreadState* __tstate = wxPyBeginAllowThreads();
3971
 
    (arg1)->SetFontStyle(arg2);
3972
 
    wxPyEndAllowThreads(__tstate);
3973
 
    if (PyErr_Occurred()) SWIG_fail;
3974
 
  }
3975
 
  resultobj = SWIG_Py_Void();
3976
 
  return resultobj;
3977
 
fail:
3978
 
  return NULL;
3979
 
}
3980
 
 
3981
 
 
3982
 
SWIGINTERN PyObject *_wrap_RichTextAttr_SetFontWeight(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
3983
 
  PyObject *resultobj = 0;
3984
 
  wxRichTextAttr *arg1 = (wxRichTextAttr *) 0 ;
3985
 
  int arg2 ;
3986
 
  void *argp1 = 0 ;
3987
 
  int res1 = 0 ;
3988
 
  int val2 ;
3989
 
  int ecode2 = 0 ;
3990
 
  PyObject * obj0 = 0 ;
3991
 
  PyObject * obj1 = 0 ;
3992
 
  char *  kwnames[] = {
3993
 
    (char *) "self",(char *) "fontWeight", NULL 
3994
 
  };
3995
 
  
3996
 
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RichTextAttr_SetFontWeight",kwnames,&obj0,&obj1)) SWIG_fail;
3997
 
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextAttr, 0 |  0 );
3998
 
  if (!SWIG_IsOK(res1)) {
3999
 
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextAttr_SetFontWeight" "', expected argument " "1"" of type '" "wxRichTextAttr *""'"); 
4000
 
  }
4001
 
  arg1 = reinterpret_cast< wxRichTextAttr * >(argp1);
4002
 
  ecode2 = SWIG_AsVal_int(obj1, &val2);
4003
 
  if (!SWIG_IsOK(ecode2)) {
4004
 
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RichTextAttr_SetFontWeight" "', expected argument " "2"" of type '" "int""'");
4005
 
  } 
4006
 
  arg2 = static_cast< int >(val2);
4007
 
  {
4008
 
    PyThreadState* __tstate = wxPyBeginAllowThreads();
4009
 
    (arg1)->SetFontWeight(arg2);
4010
 
    wxPyEndAllowThreads(__tstate);
4011
 
    if (PyErr_Occurred()) SWIG_fail;
4012
 
  }
4013
 
  resultobj = SWIG_Py_Void();
4014
 
  return resultobj;
4015
 
fail:
4016
 
  return NULL;
4017
 
}
4018
 
 
4019
 
 
4020
 
SWIGINTERN PyObject *_wrap_RichTextAttr_SetFontFaceName(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4021
 
  PyObject *resultobj = 0;
4022
 
  wxRichTextAttr *arg1 = (wxRichTextAttr *) 0 ;
4023
 
  wxString *arg2 = 0 ;
4024
 
  void *argp1 = 0 ;
4025
 
  int res1 = 0 ;
4026
 
  bool temp2 = false ;
4027
 
  PyObject * obj0 = 0 ;
4028
 
  PyObject * obj1 = 0 ;
4029
 
  char *  kwnames[] = {
4030
 
    (char *) "self",(char *) "faceName", NULL 
4031
 
  };
4032
 
  
4033
 
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RichTextAttr_SetFontFaceName",kwnames,&obj0,&obj1)) SWIG_fail;
4034
 
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextAttr, 0 |  0 );
4035
 
  if (!SWIG_IsOK(res1)) {
4036
 
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextAttr_SetFontFaceName" "', expected argument " "1"" of type '" "wxRichTextAttr *""'"); 
4037
 
  }
4038
 
  arg1 = reinterpret_cast< wxRichTextAttr * >(argp1);
4039
 
  {
4040
 
    arg2 = wxString_in_helper(obj1);
4041
 
    if (arg2 == NULL) SWIG_fail;
4042
 
    temp2 = true;
4043
 
  }
4044
 
  {
4045
 
    PyThreadState* __tstate = wxPyBeginAllowThreads();
4046
 
    (arg1)->SetFontFaceName((wxString const &)*arg2);
4047
 
    wxPyEndAllowThreads(__tstate);
4048
 
    if (PyErr_Occurred()) SWIG_fail;
4049
 
  }
4050
 
  resultobj = SWIG_Py_Void();
4051
 
  {
4052
 
    if (temp2)
4053
 
    delete arg2;
4054
 
  }
4055
 
  return resultobj;
4056
 
fail:
4057
 
  {
4058
 
    if (temp2)
4059
 
    delete arg2;
4060
 
  }
4061
 
  return NULL;
4062
 
}
4063
 
 
4064
 
 
4065
 
SWIGINTERN PyObject *_wrap_RichTextAttr_SetFontUnderlined(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4066
 
  PyObject *resultobj = 0;
4067
 
  wxRichTextAttr *arg1 = (wxRichTextAttr *) 0 ;
4068
 
  bool arg2 ;
4069
 
  void *argp1 = 0 ;
4070
 
  int res1 = 0 ;
4071
 
  bool val2 ;
4072
 
  int ecode2 = 0 ;
4073
 
  PyObject * obj0 = 0 ;
4074
 
  PyObject * obj1 = 0 ;
4075
 
  char *  kwnames[] = {
4076
 
    (char *) "self",(char *) "underlined", NULL 
4077
 
  };
4078
 
  
4079
 
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RichTextAttr_SetFontUnderlined",kwnames,&obj0,&obj1)) SWIG_fail;
4080
 
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextAttr, 0 |  0 );
4081
 
  if (!SWIG_IsOK(res1)) {
4082
 
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextAttr_SetFontUnderlined" "', expected argument " "1"" of type '" "wxRichTextAttr *""'"); 
4083
 
  }
4084
 
  arg1 = reinterpret_cast< wxRichTextAttr * >(argp1);
4085
 
  ecode2 = SWIG_AsVal_bool(obj1, &val2);
4086
 
  if (!SWIG_IsOK(ecode2)) {
4087
 
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RichTextAttr_SetFontUnderlined" "', expected argument " "2"" of type '" "bool""'");
4088
 
  } 
4089
 
  arg2 = static_cast< bool >(val2);
4090
 
  {
4091
 
    PyThreadState* __tstate = wxPyBeginAllowThreads();
4092
 
    (arg1)->SetFontUnderlined(arg2);
4093
 
    wxPyEndAllowThreads(__tstate);
4094
 
    if (PyErr_Occurred()) SWIG_fail;
4095
 
  }
4096
 
  resultobj = SWIG_Py_Void();
4097
 
  return resultobj;
4098
 
fail:
4099
 
  return NULL;
4100
 
}
4101
 
 
4102
 
 
4103
 
SWIGINTERN PyObject *_wrap_RichTextAttr_SetFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4104
 
  PyObject *resultobj = 0;
4105
 
  wxRichTextAttr *arg1 = (wxRichTextAttr *) 0 ;
 
4184
SWIGINTERN PyObject *_wrap_TextAttrEx_SetFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
4185
  PyObject *resultobj = 0;
 
4186
  wxTextAttrEx *arg1 = (wxTextAttrEx *) 0 ;
4106
4187
  long arg2 ;
4107
4188
  void *argp1 = 0 ;
4108
4189
  int res1 = 0 ;
4114
4195
    (char *) "self",(char *) "flags", NULL 
4115
4196
  };
4116
4197
  
4117
 
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RichTextAttr_SetFlags",kwnames,&obj0,&obj1)) SWIG_fail;
4118
 
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextAttr, 0 |  0 );
 
4198
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttrEx_SetFlags",kwnames,&obj0,&obj1)) SWIG_fail;
 
4199
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextAttrEx, 0 |  0 );
4119
4200
  if (!SWIG_IsOK(res1)) {
4120
 
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextAttr_SetFlags" "', expected argument " "1"" of type '" "wxRichTextAttr *""'"); 
 
4201
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttrEx_SetFlags" "', expected argument " "1"" of type '" "wxTextAttrEx *""'"); 
4121
4202
  }
4122
 
  arg1 = reinterpret_cast< wxRichTextAttr * >(argp1);
 
4203
  arg1 = reinterpret_cast< wxTextAttrEx * >(argp1);
4123
4204
  ecode2 = SWIG_AsVal_long(obj1, &val2);
4124
4205
  if (!SWIG_IsOK(ecode2)) {
4125
 
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RichTextAttr_SetFlags" "', expected argument " "2"" of type '" "long""'");
 
4206
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TextAttrEx_SetFlags" "', expected argument " "2"" of type '" "long""'");
4126
4207
  } 
4127
4208
  arg2 = static_cast< long >(val2);
4128
4209
  {
4138
4219
}
4139
4220
 
4140
4221
 
4141
 
SWIGINTERN PyObject *_wrap_RichTextAttr_SetCharacterStyleName(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4142
 
  PyObject *resultobj = 0;
4143
 
  wxRichTextAttr *arg1 = (wxRichTextAttr *) 0 ;
 
4222
SWIGINTERN PyObject *_wrap_TextAttrEx_HasTextColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
4223
  PyObject *resultobj = 0;
 
4224
  wxTextAttrEx *arg1 = (wxTextAttrEx *) 0 ;
 
4225
  bool result;
 
4226
  void *argp1 = 0 ;
 
4227
  int res1 = 0 ;
 
4228
  PyObject *swig_obj[1] ;
 
4229
  
 
4230
  if (!args) SWIG_fail;
 
4231
  swig_obj[0] = args;
 
4232
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextAttrEx, 0 |  0 );
 
4233
  if (!SWIG_IsOK(res1)) {
 
4234
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttrEx_HasTextColour" "', expected argument " "1"" of type '" "wxTextAttrEx const *""'"); 
 
4235
  }
 
4236
  arg1 = reinterpret_cast< wxTextAttrEx * >(argp1);
 
4237
  {
 
4238
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
4239
    result = (bool)((wxTextAttrEx const *)arg1)->HasTextColour();
 
4240
    wxPyEndAllowThreads(__tstate);
 
4241
    if (PyErr_Occurred()) SWIG_fail;
 
4242
  }
 
4243
  {
 
4244
    resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
 
4245
  }
 
4246
  return resultobj;
 
4247
fail:
 
4248
  return NULL;
 
4249
}
 
4250
 
 
4251
 
 
4252
SWIGINTERN PyObject *_wrap_TextAttrEx_HasBackgroundColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
4253
  PyObject *resultobj = 0;
 
4254
  wxTextAttrEx *arg1 = (wxTextAttrEx *) 0 ;
 
4255
  bool result;
 
4256
  void *argp1 = 0 ;
 
4257
  int res1 = 0 ;
 
4258
  PyObject *swig_obj[1] ;
 
4259
  
 
4260
  if (!args) SWIG_fail;
 
4261
  swig_obj[0] = args;
 
4262
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextAttrEx, 0 |  0 );
 
4263
  if (!SWIG_IsOK(res1)) {
 
4264
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttrEx_HasBackgroundColour" "', expected argument " "1"" of type '" "wxTextAttrEx const *""'"); 
 
4265
  }
 
4266
  arg1 = reinterpret_cast< wxTextAttrEx * >(argp1);
 
4267
  {
 
4268
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
4269
    result = (bool)((wxTextAttrEx const *)arg1)->HasBackgroundColour();
 
4270
    wxPyEndAllowThreads(__tstate);
 
4271
    if (PyErr_Occurred()) SWIG_fail;
 
4272
  }
 
4273
  {
 
4274
    resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
 
4275
  }
 
4276
  return resultobj;
 
4277
fail:
 
4278
  return NULL;
 
4279
}
 
4280
 
 
4281
 
 
4282
SWIGINTERN PyObject *_wrap_TextAttrEx_HasFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
4283
  PyObject *resultobj = 0;
 
4284
  wxTextAttrEx *arg1 = (wxTextAttrEx *) 0 ;
 
4285
  bool result;
 
4286
  void *argp1 = 0 ;
 
4287
  int res1 = 0 ;
 
4288
  PyObject *swig_obj[1] ;
 
4289
  
 
4290
  if (!args) SWIG_fail;
 
4291
  swig_obj[0] = args;
 
4292
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextAttrEx, 0 |  0 );
 
4293
  if (!SWIG_IsOK(res1)) {
 
4294
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttrEx_HasFont" "', expected argument " "1"" of type '" "wxTextAttrEx const *""'"); 
 
4295
  }
 
4296
  arg1 = reinterpret_cast< wxTextAttrEx * >(argp1);
 
4297
  {
 
4298
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
4299
    result = (bool)((wxTextAttrEx const *)arg1)->HasFont();
 
4300
    wxPyEndAllowThreads(__tstate);
 
4301
    if (PyErr_Occurred()) SWIG_fail;
 
4302
  }
 
4303
  {
 
4304
    resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
 
4305
  }
 
4306
  return resultobj;
 
4307
fail:
 
4308
  return NULL;
 
4309
}
 
4310
 
 
4311
 
 
4312
SWIGINTERN PyObject *_wrap_TextAttrEx_HasAlignment(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
4313
  PyObject *resultobj = 0;
 
4314
  wxTextAttrEx *arg1 = (wxTextAttrEx *) 0 ;
 
4315
  bool result;
 
4316
  void *argp1 = 0 ;
 
4317
  int res1 = 0 ;
 
4318
  PyObject *swig_obj[1] ;
 
4319
  
 
4320
  if (!args) SWIG_fail;
 
4321
  swig_obj[0] = args;
 
4322
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextAttrEx, 0 |  0 );
 
4323
  if (!SWIG_IsOK(res1)) {
 
4324
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttrEx_HasAlignment" "', expected argument " "1"" of type '" "wxTextAttrEx const *""'"); 
 
4325
  }
 
4326
  arg1 = reinterpret_cast< wxTextAttrEx * >(argp1);
 
4327
  {
 
4328
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
4329
    result = (bool)((wxTextAttrEx const *)arg1)->HasAlignment();
 
4330
    wxPyEndAllowThreads(__tstate);
 
4331
    if (PyErr_Occurred()) SWIG_fail;
 
4332
  }
 
4333
  {
 
4334
    resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
 
4335
  }
 
4336
  return resultobj;
 
4337
fail:
 
4338
  return NULL;
 
4339
}
 
4340
 
 
4341
 
 
4342
SWIGINTERN PyObject *_wrap_TextAttrEx_HasTabs(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
4343
  PyObject *resultobj = 0;
 
4344
  wxTextAttrEx *arg1 = (wxTextAttrEx *) 0 ;
 
4345
  bool result;
 
4346
  void *argp1 = 0 ;
 
4347
  int res1 = 0 ;
 
4348
  PyObject *swig_obj[1] ;
 
4349
  
 
4350
  if (!args) SWIG_fail;
 
4351
  swig_obj[0] = args;
 
4352
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextAttrEx, 0 |  0 );
 
4353
  if (!SWIG_IsOK(res1)) {
 
4354
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttrEx_HasTabs" "', expected argument " "1"" of type '" "wxTextAttrEx const *""'"); 
 
4355
  }
 
4356
  arg1 = reinterpret_cast< wxTextAttrEx * >(argp1);
 
4357
  {
 
4358
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
4359
    result = (bool)((wxTextAttrEx const *)arg1)->HasTabs();
 
4360
    wxPyEndAllowThreads(__tstate);
 
4361
    if (PyErr_Occurred()) SWIG_fail;
 
4362
  }
 
4363
  {
 
4364
    resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
 
4365
  }
 
4366
  return resultobj;
 
4367
fail:
 
4368
  return NULL;
 
4369
}
 
4370
 
 
4371
 
 
4372
SWIGINTERN PyObject *_wrap_TextAttrEx_HasLeftIndent(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
4373
  PyObject *resultobj = 0;
 
4374
  wxTextAttrEx *arg1 = (wxTextAttrEx *) 0 ;
 
4375
  bool result;
 
4376
  void *argp1 = 0 ;
 
4377
  int res1 = 0 ;
 
4378
  PyObject *swig_obj[1] ;
 
4379
  
 
4380
  if (!args) SWIG_fail;
 
4381
  swig_obj[0] = args;
 
4382
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextAttrEx, 0 |  0 );
 
4383
  if (!SWIG_IsOK(res1)) {
 
4384
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttrEx_HasLeftIndent" "', expected argument " "1"" of type '" "wxTextAttrEx const *""'"); 
 
4385
  }
 
4386
  arg1 = reinterpret_cast< wxTextAttrEx * >(argp1);
 
4387
  {
 
4388
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
4389
    result = (bool)((wxTextAttrEx const *)arg1)->HasLeftIndent();
 
4390
    wxPyEndAllowThreads(__tstate);
 
4391
    if (PyErr_Occurred()) SWIG_fail;
 
4392
  }
 
4393
  {
 
4394
    resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
 
4395
  }
 
4396
  return resultobj;
 
4397
fail:
 
4398
  return NULL;
 
4399
}
 
4400
 
 
4401
 
 
4402
SWIGINTERN PyObject *_wrap_TextAttrEx_HasRightIndent(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
4403
  PyObject *resultobj = 0;
 
4404
  wxTextAttrEx *arg1 = (wxTextAttrEx *) 0 ;
 
4405
  bool result;
 
4406
  void *argp1 = 0 ;
 
4407
  int res1 = 0 ;
 
4408
  PyObject *swig_obj[1] ;
 
4409
  
 
4410
  if (!args) SWIG_fail;
 
4411
  swig_obj[0] = args;
 
4412
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextAttrEx, 0 |  0 );
 
4413
  if (!SWIG_IsOK(res1)) {
 
4414
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttrEx_HasRightIndent" "', expected argument " "1"" of type '" "wxTextAttrEx const *""'"); 
 
4415
  }
 
4416
  arg1 = reinterpret_cast< wxTextAttrEx * >(argp1);
 
4417
  {
 
4418
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
4419
    result = (bool)((wxTextAttrEx const *)arg1)->HasRightIndent();
 
4420
    wxPyEndAllowThreads(__tstate);
 
4421
    if (PyErr_Occurred()) SWIG_fail;
 
4422
  }
 
4423
  {
 
4424
    resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
 
4425
  }
 
4426
  return resultobj;
 
4427
fail:
 
4428
  return NULL;
 
4429
}
 
4430
 
 
4431
 
 
4432
SWIGINTERN PyObject *_wrap_TextAttrEx_HasFlag(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
4433
  PyObject *resultobj = 0;
 
4434
  wxTextAttrEx *arg1 = (wxTextAttrEx *) 0 ;
 
4435
  long arg2 ;
 
4436
  bool result;
 
4437
  void *argp1 = 0 ;
 
4438
  int res1 = 0 ;
 
4439
  long val2 ;
 
4440
  int ecode2 = 0 ;
 
4441
  PyObject * obj0 = 0 ;
 
4442
  PyObject * obj1 = 0 ;
 
4443
  char *  kwnames[] = {
 
4444
    (char *) "self",(char *) "flag", NULL 
 
4445
  };
 
4446
  
 
4447
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttrEx_HasFlag",kwnames,&obj0,&obj1)) SWIG_fail;
 
4448
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextAttrEx, 0 |  0 );
 
4449
  if (!SWIG_IsOK(res1)) {
 
4450
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttrEx_HasFlag" "', expected argument " "1"" of type '" "wxTextAttrEx const *""'"); 
 
4451
  }
 
4452
  arg1 = reinterpret_cast< wxTextAttrEx * >(argp1);
 
4453
  ecode2 = SWIG_AsVal_long(obj1, &val2);
 
4454
  if (!SWIG_IsOK(ecode2)) {
 
4455
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TextAttrEx_HasFlag" "', expected argument " "2"" of type '" "long""'");
 
4456
  } 
 
4457
  arg2 = static_cast< long >(val2);
 
4458
  {
 
4459
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
4460
    result = (bool)((wxTextAttrEx const *)arg1)->HasFlag(arg2);
 
4461
    wxPyEndAllowThreads(__tstate);
 
4462
    if (PyErr_Occurred()) SWIG_fail;
 
4463
  }
 
4464
  {
 
4465
    resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
 
4466
  }
 
4467
  return resultobj;
 
4468
fail:
 
4469
  return NULL;
 
4470
}
 
4471
 
 
4472
 
 
4473
SWIGINTERN PyObject *_wrap_TextAttrEx_GetTextColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
4474
  PyObject *resultobj = 0;
 
4475
  wxTextAttrEx *arg1 = (wxTextAttrEx *) 0 ;
 
4476
  wxColour *result = 0 ;
 
4477
  void *argp1 = 0 ;
 
4478
  int res1 = 0 ;
 
4479
  PyObject *swig_obj[1] ;
 
4480
  
 
4481
  if (!args) SWIG_fail;
 
4482
  swig_obj[0] = args;
 
4483
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextAttrEx, 0 |  0 );
 
4484
  if (!SWIG_IsOK(res1)) {
 
4485
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttrEx_GetTextColour" "', expected argument " "1"" of type '" "wxTextAttrEx const *""'"); 
 
4486
  }
 
4487
  arg1 = reinterpret_cast< wxTextAttrEx * >(argp1);
 
4488
  {
 
4489
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
4490
    {
 
4491
      wxColour const &_result_ref = ((wxTextAttrEx const *)arg1)->GetTextColour();
 
4492
      result = (wxColour *) &_result_ref;
 
4493
    }
 
4494
    wxPyEndAllowThreads(__tstate);
 
4495
    if (PyErr_Occurred()) SWIG_fail;
 
4496
  }
 
4497
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxColour, 0 |  0 );
 
4498
  return resultobj;
 
4499
fail:
 
4500
  return NULL;
 
4501
}
 
4502
 
 
4503
 
 
4504
SWIGINTERN PyObject *_wrap_TextAttrEx_GetBackgroundColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
4505
  PyObject *resultobj = 0;
 
4506
  wxTextAttrEx *arg1 = (wxTextAttrEx *) 0 ;
 
4507
  wxColour *result = 0 ;
 
4508
  void *argp1 = 0 ;
 
4509
  int res1 = 0 ;
 
4510
  PyObject *swig_obj[1] ;
 
4511
  
 
4512
  if (!args) SWIG_fail;
 
4513
  swig_obj[0] = args;
 
4514
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextAttrEx, 0 |  0 );
 
4515
  if (!SWIG_IsOK(res1)) {
 
4516
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttrEx_GetBackgroundColour" "', expected argument " "1"" of type '" "wxTextAttrEx const *""'"); 
 
4517
  }
 
4518
  arg1 = reinterpret_cast< wxTextAttrEx * >(argp1);
 
4519
  {
 
4520
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
4521
    {
 
4522
      wxColour const &_result_ref = ((wxTextAttrEx const *)arg1)->GetBackgroundColour();
 
4523
      result = (wxColour *) &_result_ref;
 
4524
    }
 
4525
    wxPyEndAllowThreads(__tstate);
 
4526
    if (PyErr_Occurred()) SWIG_fail;
 
4527
  }
 
4528
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxColour, 0 |  0 );
 
4529
  return resultobj;
 
4530
fail:
 
4531
  return NULL;
 
4532
}
 
4533
 
 
4534
 
 
4535
SWIGINTERN PyObject *_wrap_TextAttrEx_GetFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
4536
  PyObject *resultobj = 0;
 
4537
  wxTextAttrEx *arg1 = (wxTextAttrEx *) 0 ;
 
4538
  wxFont *result = 0 ;
 
4539
  void *argp1 = 0 ;
 
4540
  int res1 = 0 ;
 
4541
  PyObject *swig_obj[1] ;
 
4542
  
 
4543
  if (!args) SWIG_fail;
 
4544
  swig_obj[0] = args;
 
4545
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextAttrEx, 0 |  0 );
 
4546
  if (!SWIG_IsOK(res1)) {
 
4547
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttrEx_GetFont" "', expected argument " "1"" of type '" "wxTextAttrEx const *""'"); 
 
4548
  }
 
4549
  arg1 = reinterpret_cast< wxTextAttrEx * >(argp1);
 
4550
  {
 
4551
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
4552
    {
 
4553
      wxFont const &_result_ref = ((wxTextAttrEx const *)arg1)->GetFont();
 
4554
      result = (wxFont *) &_result_ref;
 
4555
    }
 
4556
    wxPyEndAllowThreads(__tstate);
 
4557
    if (PyErr_Occurred()) SWIG_fail;
 
4558
  }
 
4559
  {
 
4560
    wxFont* resultptr = new wxFont(*result);
 
4561
    resultobj = SWIG_NewPointerObj((void*)(resultptr), SWIGTYPE_p_wxFont, 1);
 
4562
  }
 
4563
  return resultobj;
 
4564
fail:
 
4565
  return NULL;
 
4566
}
 
4567
 
 
4568
 
 
4569
SWIGINTERN PyObject *_wrap_TextAttrEx_GetAlignment(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
4570
  PyObject *resultobj = 0;
 
4571
  wxTextAttrEx *arg1 = (wxTextAttrEx *) 0 ;
 
4572
  wxTextAttrAlignment result;
 
4573
  void *argp1 = 0 ;
 
4574
  int res1 = 0 ;
 
4575
  PyObject *swig_obj[1] ;
 
4576
  
 
4577
  if (!args) SWIG_fail;
 
4578
  swig_obj[0] = args;
 
4579
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextAttrEx, 0 |  0 );
 
4580
  if (!SWIG_IsOK(res1)) {
 
4581
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttrEx_GetAlignment" "', expected argument " "1"" of type '" "wxTextAttrEx const *""'"); 
 
4582
  }
 
4583
  arg1 = reinterpret_cast< wxTextAttrEx * >(argp1);
 
4584
  {
 
4585
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
4586
    result = (wxTextAttrAlignment)((wxTextAttrEx const *)arg1)->GetAlignment();
 
4587
    wxPyEndAllowThreads(__tstate);
 
4588
    if (PyErr_Occurred()) SWIG_fail;
 
4589
  }
 
4590
  resultobj = SWIG_From_int(static_cast< int >(result));
 
4591
  return resultobj;
 
4592
fail:
 
4593
  return NULL;
 
4594
}
 
4595
 
 
4596
 
 
4597
SWIGINTERN PyObject *_wrap_TextAttrEx_GetTabs(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
4598
  PyObject *resultobj = 0;
 
4599
  wxTextAttrEx *arg1 = (wxTextAttrEx *) 0 ;
 
4600
  wxArrayInt *result = 0 ;
 
4601
  void *argp1 = 0 ;
 
4602
  int res1 = 0 ;
 
4603
  PyObject *swig_obj[1] ;
 
4604
  
 
4605
  if (!args) SWIG_fail;
 
4606
  swig_obj[0] = args;
 
4607
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextAttrEx, 0 |  0 );
 
4608
  if (!SWIG_IsOK(res1)) {
 
4609
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttrEx_GetTabs" "', expected argument " "1"" of type '" "wxTextAttrEx const *""'"); 
 
4610
  }
 
4611
  arg1 = reinterpret_cast< wxTextAttrEx * >(argp1);
 
4612
  {
 
4613
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
4614
    {
 
4615
      wxArrayInt const &_result_ref = ((wxTextAttrEx const *)arg1)->GetTabs();
 
4616
      result = (wxArrayInt *) &_result_ref;
 
4617
    }
 
4618
    wxPyEndAllowThreads(__tstate);
 
4619
    if (PyErr_Occurred()) SWIG_fail;
 
4620
  }
 
4621
  {
 
4622
    resultobj = wxArrayInt2PyList_helper(*result);
 
4623
  }
 
4624
  return resultobj;
 
4625
fail:
 
4626
  return NULL;
 
4627
}
 
4628
 
 
4629
 
 
4630
SWIGINTERN PyObject *_wrap_TextAttrEx_GetLeftIndent(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
4631
  PyObject *resultobj = 0;
 
4632
  wxTextAttrEx *arg1 = (wxTextAttrEx *) 0 ;
 
4633
  long result;
 
4634
  void *argp1 = 0 ;
 
4635
  int res1 = 0 ;
 
4636
  PyObject *swig_obj[1] ;
 
4637
  
 
4638
  if (!args) SWIG_fail;
 
4639
  swig_obj[0] = args;
 
4640
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextAttrEx, 0 |  0 );
 
4641
  if (!SWIG_IsOK(res1)) {
 
4642
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttrEx_GetLeftIndent" "', expected argument " "1"" of type '" "wxTextAttrEx const *""'"); 
 
4643
  }
 
4644
  arg1 = reinterpret_cast< wxTextAttrEx * >(argp1);
 
4645
  {
 
4646
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
4647
    result = (long)((wxTextAttrEx const *)arg1)->GetLeftIndent();
 
4648
    wxPyEndAllowThreads(__tstate);
 
4649
    if (PyErr_Occurred()) SWIG_fail;
 
4650
  }
 
4651
  resultobj = SWIG_From_long(static_cast< long >(result));
 
4652
  return resultobj;
 
4653
fail:
 
4654
  return NULL;
 
4655
}
 
4656
 
 
4657
 
 
4658
SWIGINTERN PyObject *_wrap_TextAttrEx_GetLeftSubIndent(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
4659
  PyObject *resultobj = 0;
 
4660
  wxTextAttrEx *arg1 = (wxTextAttrEx *) 0 ;
 
4661
  long result;
 
4662
  void *argp1 = 0 ;
 
4663
  int res1 = 0 ;
 
4664
  PyObject *swig_obj[1] ;
 
4665
  
 
4666
  if (!args) SWIG_fail;
 
4667
  swig_obj[0] = args;
 
4668
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextAttrEx, 0 |  0 );
 
4669
  if (!SWIG_IsOK(res1)) {
 
4670
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttrEx_GetLeftSubIndent" "', expected argument " "1"" of type '" "wxTextAttrEx const *""'"); 
 
4671
  }
 
4672
  arg1 = reinterpret_cast< wxTextAttrEx * >(argp1);
 
4673
  {
 
4674
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
4675
    result = (long)((wxTextAttrEx const *)arg1)->GetLeftSubIndent();
 
4676
    wxPyEndAllowThreads(__tstate);
 
4677
    if (PyErr_Occurred()) SWIG_fail;
 
4678
  }
 
4679
  resultobj = SWIG_From_long(static_cast< long >(result));
 
4680
  return resultobj;
 
4681
fail:
 
4682
  return NULL;
 
4683
}
 
4684
 
 
4685
 
 
4686
SWIGINTERN PyObject *_wrap_TextAttrEx_GetRightIndent(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
4687
  PyObject *resultobj = 0;
 
4688
  wxTextAttrEx *arg1 = (wxTextAttrEx *) 0 ;
 
4689
  long result;
 
4690
  void *argp1 = 0 ;
 
4691
  int res1 = 0 ;
 
4692
  PyObject *swig_obj[1] ;
 
4693
  
 
4694
  if (!args) SWIG_fail;
 
4695
  swig_obj[0] = args;
 
4696
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextAttrEx, 0 |  0 );
 
4697
  if (!SWIG_IsOK(res1)) {
 
4698
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttrEx_GetRightIndent" "', expected argument " "1"" of type '" "wxTextAttrEx const *""'"); 
 
4699
  }
 
4700
  arg1 = reinterpret_cast< wxTextAttrEx * >(argp1);
 
4701
  {
 
4702
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
4703
    result = (long)((wxTextAttrEx const *)arg1)->GetRightIndent();
 
4704
    wxPyEndAllowThreads(__tstate);
 
4705
    if (PyErr_Occurred()) SWIG_fail;
 
4706
  }
 
4707
  resultobj = SWIG_From_long(static_cast< long >(result));
 
4708
  return resultobj;
 
4709
fail:
 
4710
  return NULL;
 
4711
}
 
4712
 
 
4713
 
 
4714
SWIGINTERN PyObject *_wrap_TextAttrEx_GetFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
4715
  PyObject *resultobj = 0;
 
4716
  wxTextAttrEx *arg1 = (wxTextAttrEx *) 0 ;
 
4717
  long result;
 
4718
  void *argp1 = 0 ;
 
4719
  int res1 = 0 ;
 
4720
  PyObject *swig_obj[1] ;
 
4721
  
 
4722
  if (!args) SWIG_fail;
 
4723
  swig_obj[0] = args;
 
4724
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextAttrEx, 0 |  0 );
 
4725
  if (!SWIG_IsOK(res1)) {
 
4726
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttrEx_GetFlags" "', expected argument " "1"" of type '" "wxTextAttrEx const *""'"); 
 
4727
  }
 
4728
  arg1 = reinterpret_cast< wxTextAttrEx * >(argp1);
 
4729
  {
 
4730
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
4731
    result = (long)((wxTextAttrEx const *)arg1)->GetFlags();
 
4732
    wxPyEndAllowThreads(__tstate);
 
4733
    if (PyErr_Occurred()) SWIG_fail;
 
4734
  }
 
4735
  resultobj = SWIG_From_long(static_cast< long >(result));
 
4736
  return resultobj;
 
4737
fail:
 
4738
  return NULL;
 
4739
}
 
4740
 
 
4741
 
 
4742
SWIGINTERN PyObject *_wrap_TextAttrEx_SetCharacterStyleName(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
4743
  PyObject *resultobj = 0;
 
4744
  wxTextAttrEx *arg1 = (wxTextAttrEx *) 0 ;
4144
4745
  wxString *arg2 = 0 ;
4145
4746
  void *argp1 = 0 ;
4146
4747
  int res1 = 0 ;
4151
4752
    (char *) "self",(char *) "name", NULL 
4152
4753
  };
4153
4754
  
4154
 
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RichTextAttr_SetCharacterStyleName",kwnames,&obj0,&obj1)) SWIG_fail;
4155
 
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextAttr, 0 |  0 );
 
4755
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttrEx_SetCharacterStyleName",kwnames,&obj0,&obj1)) SWIG_fail;
 
4756
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextAttrEx, 0 |  0 );
4156
4757
  if (!SWIG_IsOK(res1)) {
4157
 
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextAttr_SetCharacterStyleName" "', expected argument " "1"" of type '" "wxRichTextAttr *""'"); 
 
4758
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttrEx_SetCharacterStyleName" "', expected argument " "1"" of type '" "wxTextAttrEx *""'"); 
4158
4759
  }
4159
 
  arg1 = reinterpret_cast< wxRichTextAttr * >(argp1);
 
4760
  arg1 = reinterpret_cast< wxTextAttrEx * >(argp1);
4160
4761
  {
4161
4762
    arg2 = wxString_in_helper(obj1);
4162
4763
    if (arg2 == NULL) SWIG_fail;
4183
4784
}
4184
4785
 
4185
4786
 
4186
 
SWIGINTERN PyObject *_wrap_RichTextAttr_SetParagraphStyleName(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
4787
SWIGINTERN PyObject *_wrap_TextAttrEx_SetParagraphStyleName(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4187
4788
  PyObject *resultobj = 0;
4188
 
  wxRichTextAttr *arg1 = (wxRichTextAttr *) 0 ;
 
4789
  wxTextAttrEx *arg1 = (wxTextAttrEx *) 0 ;
4189
4790
  wxString *arg2 = 0 ;
4190
4791
  void *argp1 = 0 ;
4191
4792
  int res1 = 0 ;
4196
4797
    (char *) "self",(char *) "name", NULL 
4197
4798
  };
4198
4799
  
4199
 
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RichTextAttr_SetParagraphStyleName",kwnames,&obj0,&obj1)) SWIG_fail;
4200
 
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextAttr, 0 |  0 );
 
4800
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttrEx_SetParagraphStyleName",kwnames,&obj0,&obj1)) SWIG_fail;
 
4801
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextAttrEx, 0 |  0 );
4201
4802
  if (!SWIG_IsOK(res1)) {
4202
 
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextAttr_SetParagraphStyleName" "', expected argument " "1"" of type '" "wxRichTextAttr *""'"); 
 
4803
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttrEx_SetParagraphStyleName" "', expected argument " "1"" of type '" "wxTextAttrEx *""'"); 
4203
4804
  }
4204
 
  arg1 = reinterpret_cast< wxRichTextAttr * >(argp1);
 
4805
  arg1 = reinterpret_cast< wxTextAttrEx * >(argp1);
4205
4806
  {
4206
4807
    arg2 = wxString_in_helper(obj1);
4207
4808
    if (arg2 == NULL) SWIG_fail;
4228
4829
}
4229
4830
 
4230
4831
 
4231
 
SWIGINTERN PyObject *_wrap_RichTextAttr_SetParagraphSpacingAfter(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4232
 
  PyObject *resultobj = 0;
4233
 
  wxRichTextAttr *arg1 = (wxRichTextAttr *) 0 ;
 
4832
SWIGINTERN PyObject *_wrap_TextAttrEx_SetListStyleName(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
4833
  PyObject *resultobj = 0;
 
4834
  wxTextAttrEx *arg1 = (wxTextAttrEx *) 0 ;
 
4835
  wxString *arg2 = 0 ;
 
4836
  void *argp1 = 0 ;
 
4837
  int res1 = 0 ;
 
4838
  bool temp2 = false ;
 
4839
  PyObject * obj0 = 0 ;
 
4840
  PyObject * obj1 = 0 ;
 
4841
  char *  kwnames[] = {
 
4842
    (char *) "self",(char *) "name", NULL 
 
4843
  };
 
4844
  
 
4845
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttrEx_SetListStyleName",kwnames,&obj0,&obj1)) SWIG_fail;
 
4846
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextAttrEx, 0 |  0 );
 
4847
  if (!SWIG_IsOK(res1)) {
 
4848
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttrEx_SetListStyleName" "', expected argument " "1"" of type '" "wxTextAttrEx *""'"); 
 
4849
  }
 
4850
  arg1 = reinterpret_cast< wxTextAttrEx * >(argp1);
 
4851
  {
 
4852
    arg2 = wxString_in_helper(obj1);
 
4853
    if (arg2 == NULL) SWIG_fail;
 
4854
    temp2 = true;
 
4855
  }
 
4856
  {
 
4857
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
4858
    (arg1)->SetListStyleName((wxString const &)*arg2);
 
4859
    wxPyEndAllowThreads(__tstate);
 
4860
    if (PyErr_Occurred()) SWIG_fail;
 
4861
  }
 
4862
  resultobj = SWIG_Py_Void();
 
4863
  {
 
4864
    if (temp2)
 
4865
    delete arg2;
 
4866
  }
 
4867
  return resultobj;
 
4868
fail:
 
4869
  {
 
4870
    if (temp2)
 
4871
    delete arg2;
 
4872
  }
 
4873
  return NULL;
 
4874
}
 
4875
 
 
4876
 
 
4877
SWIGINTERN PyObject *_wrap_TextAttrEx_SetParagraphSpacingAfter(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
4878
  PyObject *resultobj = 0;
 
4879
  wxTextAttrEx *arg1 = (wxTextAttrEx *) 0 ;
4234
4880
  int arg2 ;
4235
4881
  void *argp1 = 0 ;
4236
4882
  int res1 = 0 ;
4242
4888
    (char *) "self",(char *) "spacing", NULL 
4243
4889
  };
4244
4890
  
4245
 
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RichTextAttr_SetParagraphSpacingAfter",kwnames,&obj0,&obj1)) SWIG_fail;
4246
 
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextAttr, 0 |  0 );
 
4891
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttrEx_SetParagraphSpacingAfter",kwnames,&obj0,&obj1)) SWIG_fail;
 
4892
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextAttrEx, 0 |  0 );
4247
4893
  if (!SWIG_IsOK(res1)) {
4248
 
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextAttr_SetParagraphSpacingAfter" "', expected argument " "1"" of type '" "wxRichTextAttr *""'"); 
 
4894
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttrEx_SetParagraphSpacingAfter" "', expected argument " "1"" of type '" "wxTextAttrEx *""'"); 
4249
4895
  }
4250
 
  arg1 = reinterpret_cast< wxRichTextAttr * >(argp1);
 
4896
  arg1 = reinterpret_cast< wxTextAttrEx * >(argp1);
4251
4897
  ecode2 = SWIG_AsVal_int(obj1, &val2);
4252
4898
  if (!SWIG_IsOK(ecode2)) {
4253
 
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RichTextAttr_SetParagraphSpacingAfter" "', expected argument " "2"" of type '" "int""'");
 
4899
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TextAttrEx_SetParagraphSpacingAfter" "', expected argument " "2"" of type '" "int""'");
4254
4900
  } 
4255
4901
  arg2 = static_cast< int >(val2);
4256
4902
  {
4266
4912
}
4267
4913
 
4268
4914
 
4269
 
SWIGINTERN PyObject *_wrap_RichTextAttr_SetParagraphSpacingBefore(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
4915
SWIGINTERN PyObject *_wrap_TextAttrEx_SetParagraphSpacingBefore(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4270
4916
  PyObject *resultobj = 0;
4271
 
  wxRichTextAttr *arg1 = (wxRichTextAttr *) 0 ;
 
4917
  wxTextAttrEx *arg1 = (wxTextAttrEx *) 0 ;
4272
4918
  int arg2 ;
4273
4919
  void *argp1 = 0 ;
4274
4920
  int res1 = 0 ;
4280
4926
    (char *) "self",(char *) "spacing", NULL 
4281
4927
  };
4282
4928
  
4283
 
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RichTextAttr_SetParagraphSpacingBefore",kwnames,&obj0,&obj1)) SWIG_fail;
4284
 
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextAttr, 0 |  0 );
 
4929
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttrEx_SetParagraphSpacingBefore",kwnames,&obj0,&obj1)) SWIG_fail;
 
4930
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextAttrEx, 0 |  0 );
4285
4931
  if (!SWIG_IsOK(res1)) {
4286
 
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextAttr_SetParagraphSpacingBefore" "', expected argument " "1"" of type '" "wxRichTextAttr *""'"); 
 
4932
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttrEx_SetParagraphSpacingBefore" "', expected argument " "1"" of type '" "wxTextAttrEx *""'"); 
4287
4933
  }
4288
 
  arg1 = reinterpret_cast< wxRichTextAttr * >(argp1);
 
4934
  arg1 = reinterpret_cast< wxTextAttrEx * >(argp1);
4289
4935
  ecode2 = SWIG_AsVal_int(obj1, &val2);
4290
4936
  if (!SWIG_IsOK(ecode2)) {
4291
 
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RichTextAttr_SetParagraphSpacingBefore" "', expected argument " "2"" of type '" "int""'");
 
4937
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TextAttrEx_SetParagraphSpacingBefore" "', expected argument " "2"" of type '" "int""'");
4292
4938
  } 
4293
4939
  arg2 = static_cast< int >(val2);
4294
4940
  {
4304
4950
}
4305
4951
 
4306
4952
 
4307
 
SWIGINTERN PyObject *_wrap_RichTextAttr_SetLineSpacing(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
4953
SWIGINTERN PyObject *_wrap_TextAttrEx_SetLineSpacing(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4308
4954
  PyObject *resultobj = 0;
4309
 
  wxRichTextAttr *arg1 = (wxRichTextAttr *) 0 ;
 
4955
  wxTextAttrEx *arg1 = (wxTextAttrEx *) 0 ;
4310
4956
  int arg2 ;
4311
4957
  void *argp1 = 0 ;
4312
4958
  int res1 = 0 ;
4318
4964
    (char *) "self",(char *) "spacing", NULL 
4319
4965
  };
4320
4966
  
4321
 
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RichTextAttr_SetLineSpacing",kwnames,&obj0,&obj1)) SWIG_fail;
4322
 
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextAttr, 0 |  0 );
 
4967
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttrEx_SetLineSpacing",kwnames,&obj0,&obj1)) SWIG_fail;
 
4968
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextAttrEx, 0 |  0 );
4323
4969
  if (!SWIG_IsOK(res1)) {
4324
 
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextAttr_SetLineSpacing" "', expected argument " "1"" of type '" "wxRichTextAttr *""'"); 
 
4970
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttrEx_SetLineSpacing" "', expected argument " "1"" of type '" "wxTextAttrEx *""'"); 
4325
4971
  }
4326
 
  arg1 = reinterpret_cast< wxRichTextAttr * >(argp1);
 
4972
  arg1 = reinterpret_cast< wxTextAttrEx * >(argp1);
4327
4973
  ecode2 = SWIG_AsVal_int(obj1, &val2);
4328
4974
  if (!SWIG_IsOK(ecode2)) {
4329
 
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RichTextAttr_SetLineSpacing" "', expected argument " "2"" of type '" "int""'");
 
4975
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TextAttrEx_SetLineSpacing" "', expected argument " "2"" of type '" "int""'");
4330
4976
  } 
4331
4977
  arg2 = static_cast< int >(val2);
4332
4978
  {
4342
4988
}
4343
4989
 
4344
4990
 
4345
 
SWIGINTERN PyObject *_wrap_RichTextAttr_SetBulletStyle(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
4991
SWIGINTERN PyObject *_wrap_TextAttrEx_SetBulletStyle(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4346
4992
  PyObject *resultobj = 0;
4347
 
  wxRichTextAttr *arg1 = (wxRichTextAttr *) 0 ;
 
4993
  wxTextAttrEx *arg1 = (wxTextAttrEx *) 0 ;
4348
4994
  int arg2 ;
4349
4995
  void *argp1 = 0 ;
4350
4996
  int res1 = 0 ;
4356
5002
    (char *) "self",(char *) "style", NULL 
4357
5003
  };
4358
5004
  
4359
 
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RichTextAttr_SetBulletStyle",kwnames,&obj0,&obj1)) SWIG_fail;
4360
 
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextAttr, 0 |  0 );
 
5005
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttrEx_SetBulletStyle",kwnames,&obj0,&obj1)) SWIG_fail;
 
5006
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextAttrEx, 0 |  0 );
4361
5007
  if (!SWIG_IsOK(res1)) {
4362
 
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextAttr_SetBulletStyle" "', expected argument " "1"" of type '" "wxRichTextAttr *""'"); 
 
5008
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttrEx_SetBulletStyle" "', expected argument " "1"" of type '" "wxTextAttrEx *""'"); 
4363
5009
  }
4364
 
  arg1 = reinterpret_cast< wxRichTextAttr * >(argp1);
 
5010
  arg1 = reinterpret_cast< wxTextAttrEx * >(argp1);
4365
5011
  ecode2 = SWIG_AsVal_int(obj1, &val2);
4366
5012
  if (!SWIG_IsOK(ecode2)) {
4367
 
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RichTextAttr_SetBulletStyle" "', expected argument " "2"" of type '" "int""'");
 
5013
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TextAttrEx_SetBulletStyle" "', expected argument " "2"" of type '" "int""'");
4368
5014
  } 
4369
5015
  arg2 = static_cast< int >(val2);
4370
5016
  {
4380
5026
}
4381
5027
 
4382
5028
 
4383
 
SWIGINTERN PyObject *_wrap_RichTextAttr_SetBulletNumber(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
5029
SWIGINTERN PyObject *_wrap_TextAttrEx_SetBulletNumber(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4384
5030
  PyObject *resultobj = 0;
4385
 
  wxRichTextAttr *arg1 = (wxRichTextAttr *) 0 ;
 
5031
  wxTextAttrEx *arg1 = (wxTextAttrEx *) 0 ;
4386
5032
  int arg2 ;
4387
5033
  void *argp1 = 0 ;
4388
5034
  int res1 = 0 ;
4394
5040
    (char *) "self",(char *) "n", NULL 
4395
5041
  };
4396
5042
  
4397
 
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RichTextAttr_SetBulletNumber",kwnames,&obj0,&obj1)) SWIG_fail;
4398
 
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextAttr, 0 |  0 );
 
5043
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttrEx_SetBulletNumber",kwnames,&obj0,&obj1)) SWIG_fail;
 
5044
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextAttrEx, 0 |  0 );
4399
5045
  if (!SWIG_IsOK(res1)) {
4400
 
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextAttr_SetBulletNumber" "', expected argument " "1"" of type '" "wxRichTextAttr *""'"); 
 
5046
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttrEx_SetBulletNumber" "', expected argument " "1"" of type '" "wxTextAttrEx *""'"); 
4401
5047
  }
4402
 
  arg1 = reinterpret_cast< wxRichTextAttr * >(argp1);
 
5048
  arg1 = reinterpret_cast< wxTextAttrEx * >(argp1);
4403
5049
  ecode2 = SWIG_AsVal_int(obj1, &val2);
4404
5050
  if (!SWIG_IsOK(ecode2)) {
4405
 
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RichTextAttr_SetBulletNumber" "', expected argument " "2"" of type '" "int""'");
 
5051
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TextAttrEx_SetBulletNumber" "', expected argument " "2"" of type '" "int""'");
4406
5052
  } 
4407
5053
  arg2 = static_cast< int >(val2);
4408
5054
  {
4418
5064
}
4419
5065
 
4420
5066
 
4421
 
SWIGINTERN PyObject *_wrap_RichTextAttr_SetBulletText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4422
 
  PyObject *resultobj = 0;
4423
 
  wxRichTextAttr *arg1 = (wxRichTextAttr *) 0 ;
4424
 
  wxChar arg2 ;
4425
 
  void *argp1 = 0 ;
4426
 
  int res1 = 0 ;
4427
 
  void *argp2 ;
4428
 
  int res2 = 0 ;
4429
 
  PyObject * obj0 = 0 ;
4430
 
  PyObject * obj1 = 0 ;
4431
 
  char *  kwnames[] = {
4432
 
    (char *) "self",(char *) "symbol", NULL 
4433
 
  };
4434
 
  
4435
 
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RichTextAttr_SetBulletText",kwnames,&obj0,&obj1)) SWIG_fail;
4436
 
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextAttr, 0 |  0 );
4437
 
  if (!SWIG_IsOK(res1)) {
4438
 
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextAttr_SetBulletText" "', expected argument " "1"" of type '" "wxRichTextAttr *""'"); 
4439
 
  }
4440
 
  arg1 = reinterpret_cast< wxRichTextAttr * >(argp1);
4441
 
  {
4442
 
    res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxChar,  0  | 0);
4443
 
    if (!SWIG_IsOK(res2)) {
4444
 
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "RichTextAttr_SetBulletText" "', expected argument " "2"" of type '" "wxChar""'"); 
4445
 
    }  
4446
 
    if (!argp2) {
4447
 
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "RichTextAttr_SetBulletText" "', expected argument " "2"" of type '" "wxChar""'");
4448
 
    } else {
4449
 
      wxChar * temp = reinterpret_cast< wxChar * >(argp2);
4450
 
      arg2 = *temp;
4451
 
      if (SWIG_IsNewObj(res2)) delete temp;
4452
 
    }
4453
 
  }
4454
 
  {
4455
 
    PyThreadState* __tstate = wxPyBeginAllowThreads();
4456
 
    (arg1)->SetBulletText(arg2);
4457
 
    wxPyEndAllowThreads(__tstate);
4458
 
    if (PyErr_Occurred()) SWIG_fail;
4459
 
  }
4460
 
  resultobj = SWIG_Py_Void();
4461
 
  return resultobj;
4462
 
fail:
4463
 
  return NULL;
4464
 
}
4465
 
 
4466
 
 
4467
 
SWIGINTERN PyObject *_wrap_RichTextAttr_SetBulletFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4468
 
  PyObject *resultobj = 0;
4469
 
  wxRichTextAttr *arg1 = (wxRichTextAttr *) 0 ;
 
5067
SWIGINTERN PyObject *_wrap_TextAttrEx_SetBulletText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
5068
  PyObject *resultobj = 0;
 
5069
  wxTextAttrEx *arg1 = (wxTextAttrEx *) 0 ;
 
5070
  wxString *arg2 = 0 ;
 
5071
  void *argp1 = 0 ;
 
5072
  int res1 = 0 ;
 
5073
  bool temp2 = false ;
 
5074
  PyObject * obj0 = 0 ;
 
5075
  PyObject * obj1 = 0 ;
 
5076
  char *  kwnames[] = {
 
5077
    (char *) "self",(char *) "text", NULL 
 
5078
  };
 
5079
  
 
5080
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttrEx_SetBulletText",kwnames,&obj0,&obj1)) SWIG_fail;
 
5081
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextAttrEx, 0 |  0 );
 
5082
  if (!SWIG_IsOK(res1)) {
 
5083
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttrEx_SetBulletText" "', expected argument " "1"" of type '" "wxTextAttrEx *""'"); 
 
5084
  }
 
5085
  arg1 = reinterpret_cast< wxTextAttrEx * >(argp1);
 
5086
  {
 
5087
    arg2 = wxString_in_helper(obj1);
 
5088
    if (arg2 == NULL) SWIG_fail;
 
5089
    temp2 = true;
 
5090
  }
 
5091
  {
 
5092
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
5093
    (arg1)->SetBulletText((wxString const &)*arg2);
 
5094
    wxPyEndAllowThreads(__tstate);
 
5095
    if (PyErr_Occurred()) SWIG_fail;
 
5096
  }
 
5097
  resultobj = SWIG_Py_Void();
 
5098
  {
 
5099
    if (temp2)
 
5100
    delete arg2;
 
5101
  }
 
5102
  return resultobj;
 
5103
fail:
 
5104
  {
 
5105
    if (temp2)
 
5106
    delete arg2;
 
5107
  }
 
5108
  return NULL;
 
5109
}
 
5110
 
 
5111
 
 
5112
SWIGINTERN PyObject *_wrap_TextAttrEx_SetBulletName(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
5113
  PyObject *resultobj = 0;
 
5114
  wxTextAttrEx *arg1 = (wxTextAttrEx *) 0 ;
 
5115
  wxString *arg2 = 0 ;
 
5116
  void *argp1 = 0 ;
 
5117
  int res1 = 0 ;
 
5118
  bool temp2 = false ;
 
5119
  PyObject * obj0 = 0 ;
 
5120
  PyObject * obj1 = 0 ;
 
5121
  char *  kwnames[] = {
 
5122
    (char *) "self",(char *) "name", NULL 
 
5123
  };
 
5124
  
 
5125
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttrEx_SetBulletName",kwnames,&obj0,&obj1)) SWIG_fail;
 
5126
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextAttrEx, 0 |  0 );
 
5127
  if (!SWIG_IsOK(res1)) {
 
5128
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttrEx_SetBulletName" "', expected argument " "1"" of type '" "wxTextAttrEx *""'"); 
 
5129
  }
 
5130
  arg1 = reinterpret_cast< wxTextAttrEx * >(argp1);
 
5131
  {
 
5132
    arg2 = wxString_in_helper(obj1);
 
5133
    if (arg2 == NULL) SWIG_fail;
 
5134
    temp2 = true;
 
5135
  }
 
5136
  {
 
5137
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
5138
    (arg1)->SetBulletName((wxString const &)*arg2);
 
5139
    wxPyEndAllowThreads(__tstate);
 
5140
    if (PyErr_Occurred()) SWIG_fail;
 
5141
  }
 
5142
  resultobj = SWIG_Py_Void();
 
5143
  {
 
5144
    if (temp2)
 
5145
    delete arg2;
 
5146
  }
 
5147
  return resultobj;
 
5148
fail:
 
5149
  {
 
5150
    if (temp2)
 
5151
    delete arg2;
 
5152
  }
 
5153
  return NULL;
 
5154
}
 
5155
 
 
5156
 
 
5157
SWIGINTERN PyObject *_wrap_TextAttrEx_SetBulletFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
5158
  PyObject *resultobj = 0;
 
5159
  wxTextAttrEx *arg1 = (wxTextAttrEx *) 0 ;
4470
5160
  wxString *arg2 = 0 ;
4471
5161
  void *argp1 = 0 ;
4472
5162
  int res1 = 0 ;
4477
5167
    (char *) "self",(char *) "bulletFont", NULL 
4478
5168
  };
4479
5169
  
4480
 
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RichTextAttr_SetBulletFont",kwnames,&obj0,&obj1)) SWIG_fail;
4481
 
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextAttr, 0 |  0 );
 
5170
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttrEx_SetBulletFont",kwnames,&obj0,&obj1)) SWIG_fail;
 
5171
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextAttrEx, 0 |  0 );
4482
5172
  if (!SWIG_IsOK(res1)) {
4483
 
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextAttr_SetBulletFont" "', expected argument " "1"" of type '" "wxRichTextAttr *""'"); 
 
5173
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttrEx_SetBulletFont" "', expected argument " "1"" of type '" "wxTextAttrEx *""'"); 
4484
5174
  }
4485
 
  arg1 = reinterpret_cast< wxRichTextAttr * >(argp1);
 
5175
  arg1 = reinterpret_cast< wxTextAttrEx * >(argp1);
4486
5176
  {
4487
5177
    arg2 = wxString_in_helper(obj1);
4488
5178
    if (arg2 == NULL) SWIG_fail;
4509
5199
}
4510
5200
 
4511
5201
 
4512
 
SWIGINTERN PyObject *_wrap_RichTextAttr_GetTextColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4513
 
  PyObject *resultobj = 0;
4514
 
  wxRichTextAttr *arg1 = (wxRichTextAttr *) 0 ;
4515
 
  wxColour *result = 0 ;
4516
 
  void *argp1 = 0 ;
4517
 
  int res1 = 0 ;
4518
 
  PyObject *swig_obj[1] ;
4519
 
  
4520
 
  if (!args) SWIG_fail;
4521
 
  swig_obj[0] = args;
4522
 
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextAttr, 0 |  0 );
4523
 
  if (!SWIG_IsOK(res1)) {
4524
 
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextAttr_GetTextColour" "', expected argument " "1"" of type '" "wxRichTextAttr const *""'"); 
4525
 
  }
4526
 
  arg1 = reinterpret_cast< wxRichTextAttr * >(argp1);
4527
 
  {
4528
 
    PyThreadState* __tstate = wxPyBeginAllowThreads();
4529
 
    {
4530
 
      wxColour const &_result_ref = ((wxRichTextAttr const *)arg1)->GetTextColour();
4531
 
      result = (wxColour *) &_result_ref;
4532
 
    }
4533
 
    wxPyEndAllowThreads(__tstate);
4534
 
    if (PyErr_Occurred()) SWIG_fail;
4535
 
  }
4536
 
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxColour, 0 |  0 );
4537
 
  return resultobj;
4538
 
fail:
4539
 
  return NULL;
4540
 
}
4541
 
 
4542
 
 
4543
 
SWIGINTERN PyObject *_wrap_RichTextAttr_GetBackgroundColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4544
 
  PyObject *resultobj = 0;
4545
 
  wxRichTextAttr *arg1 = (wxRichTextAttr *) 0 ;
4546
 
  wxColour *result = 0 ;
4547
 
  void *argp1 = 0 ;
4548
 
  int res1 = 0 ;
4549
 
  PyObject *swig_obj[1] ;
4550
 
  
4551
 
  if (!args) SWIG_fail;
4552
 
  swig_obj[0] = args;
4553
 
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextAttr, 0 |  0 );
4554
 
  if (!SWIG_IsOK(res1)) {
4555
 
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextAttr_GetBackgroundColour" "', expected argument " "1"" of type '" "wxRichTextAttr const *""'"); 
4556
 
  }
4557
 
  arg1 = reinterpret_cast< wxRichTextAttr * >(argp1);
4558
 
  {
4559
 
    PyThreadState* __tstate = wxPyBeginAllowThreads();
4560
 
    {
4561
 
      wxColour const &_result_ref = ((wxRichTextAttr const *)arg1)->GetBackgroundColour();
4562
 
      result = (wxColour *) &_result_ref;
4563
 
    }
4564
 
    wxPyEndAllowThreads(__tstate);
4565
 
    if (PyErr_Occurred()) SWIG_fail;
4566
 
  }
4567
 
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxColour, 0 |  0 );
4568
 
  return resultobj;
4569
 
fail:
4570
 
  return NULL;
4571
 
}
4572
 
 
4573
 
 
4574
 
SWIGINTERN PyObject *_wrap_RichTextAttr_GetAlignment(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4575
 
  PyObject *resultobj = 0;
4576
 
  wxRichTextAttr *arg1 = (wxRichTextAttr *) 0 ;
4577
 
  wxTextAttrAlignment result;
4578
 
  void *argp1 = 0 ;
4579
 
  int res1 = 0 ;
4580
 
  PyObject *swig_obj[1] ;
4581
 
  
4582
 
  if (!args) SWIG_fail;
4583
 
  swig_obj[0] = args;
4584
 
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextAttr, 0 |  0 );
4585
 
  if (!SWIG_IsOK(res1)) {
4586
 
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextAttr_GetAlignment" "', expected argument " "1"" of type '" "wxRichTextAttr const *""'"); 
4587
 
  }
4588
 
  arg1 = reinterpret_cast< wxRichTextAttr * >(argp1);
4589
 
  {
4590
 
    PyThreadState* __tstate = wxPyBeginAllowThreads();
4591
 
    result = (wxTextAttrAlignment)((wxRichTextAttr const *)arg1)->GetAlignment();
4592
 
    wxPyEndAllowThreads(__tstate);
4593
 
    if (PyErr_Occurred()) SWIG_fail;
4594
 
  }
4595
 
  resultobj = SWIG_From_int(static_cast< int >(result));
4596
 
  return resultobj;
4597
 
fail:
4598
 
  return NULL;
4599
 
}
4600
 
 
4601
 
 
4602
 
SWIGINTERN PyObject *_wrap_RichTextAttr_GetTabs(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4603
 
  PyObject *resultobj = 0;
4604
 
  wxRichTextAttr *arg1 = (wxRichTextAttr *) 0 ;
 
5202
SWIGINTERN PyObject *_wrap_TextAttrEx_SetURL(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
5203
  PyObject *resultobj = 0;
 
5204
  wxTextAttrEx *arg1 = (wxTextAttrEx *) 0 ;
 
5205
  wxString *arg2 = 0 ;
 
5206
  void *argp1 = 0 ;
 
5207
  int res1 = 0 ;
 
5208
  bool temp2 = false ;
 
5209
  PyObject * obj0 = 0 ;
 
5210
  PyObject * obj1 = 0 ;
 
5211
  char *  kwnames[] = {
 
5212
    (char *) "self",(char *) "url", NULL 
 
5213
  };
 
5214
  
 
5215
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttrEx_SetURL",kwnames,&obj0,&obj1)) SWIG_fail;
 
5216
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextAttrEx, 0 |  0 );
 
5217
  if (!SWIG_IsOK(res1)) {
 
5218
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttrEx_SetURL" "', expected argument " "1"" of type '" "wxTextAttrEx *""'"); 
 
5219
  }
 
5220
  arg1 = reinterpret_cast< wxTextAttrEx * >(argp1);
 
5221
  {
 
5222
    arg2 = wxString_in_helper(obj1);
 
5223
    if (arg2 == NULL) SWIG_fail;
 
5224
    temp2 = true;
 
5225
  }
 
5226
  {
 
5227
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
5228
    (arg1)->SetURL((wxString const &)*arg2);
 
5229
    wxPyEndAllowThreads(__tstate);
 
5230
    if (PyErr_Occurred()) SWIG_fail;
 
5231
  }
 
5232
  resultobj = SWIG_Py_Void();
 
5233
  {
 
5234
    if (temp2)
 
5235
    delete arg2;
 
5236
  }
 
5237
  return resultobj;
 
5238
fail:
 
5239
  {
 
5240
    if (temp2)
 
5241
    delete arg2;
 
5242
  }
 
5243
  return NULL;
 
5244
}
 
5245
 
 
5246
 
 
5247
SWIGINTERN PyObject *_wrap_TextAttrEx_SetPageBreak(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
5248
  PyObject *resultobj = 0;
 
5249
  wxTextAttrEx *arg1 = (wxTextAttrEx *) 0 ;
 
5250
  bool arg2 = (bool) true ;
 
5251
  void *argp1 = 0 ;
 
5252
  int res1 = 0 ;
 
5253
  bool val2 ;
 
5254
  int ecode2 = 0 ;
 
5255
  PyObject * obj0 = 0 ;
 
5256
  PyObject * obj1 = 0 ;
 
5257
  char *  kwnames[] = {
 
5258
    (char *) "self",(char *) "pageBreak", NULL 
 
5259
  };
 
5260
  
 
5261
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TextAttrEx_SetPageBreak",kwnames,&obj0,&obj1)) SWIG_fail;
 
5262
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextAttrEx, 0 |  0 );
 
5263
  if (!SWIG_IsOK(res1)) {
 
5264
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttrEx_SetPageBreak" "', expected argument " "1"" of type '" "wxTextAttrEx *""'"); 
 
5265
  }
 
5266
  arg1 = reinterpret_cast< wxTextAttrEx * >(argp1);
 
5267
  if (obj1) {
 
5268
    ecode2 = SWIG_AsVal_bool(obj1, &val2);
 
5269
    if (!SWIG_IsOK(ecode2)) {
 
5270
      SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TextAttrEx_SetPageBreak" "', expected argument " "2"" of type '" "bool""'");
 
5271
    } 
 
5272
    arg2 = static_cast< bool >(val2);
 
5273
  }
 
5274
  {
 
5275
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
5276
    (arg1)->SetPageBreak(arg2);
 
5277
    wxPyEndAllowThreads(__tstate);
 
5278
    if (PyErr_Occurred()) SWIG_fail;
 
5279
  }
 
5280
  resultobj = SWIG_Py_Void();
 
5281
  return resultobj;
 
5282
fail:
 
5283
  return NULL;
 
5284
}
 
5285
 
 
5286
 
 
5287
SWIGINTERN PyObject *_wrap_TextAttrEx_SetTextEffects(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
5288
  PyObject *resultobj = 0;
 
5289
  wxTextAttrEx *arg1 = (wxTextAttrEx *) 0 ;
 
5290
  int arg2 ;
 
5291
  void *argp1 = 0 ;
 
5292
  int res1 = 0 ;
 
5293
  int val2 ;
 
5294
  int ecode2 = 0 ;
 
5295
  PyObject * obj0 = 0 ;
 
5296
  PyObject * obj1 = 0 ;
 
5297
  char *  kwnames[] = {
 
5298
    (char *) "self",(char *) "effects", NULL 
 
5299
  };
 
5300
  
 
5301
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttrEx_SetTextEffects",kwnames,&obj0,&obj1)) SWIG_fail;
 
5302
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextAttrEx, 0 |  0 );
 
5303
  if (!SWIG_IsOK(res1)) {
 
5304
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttrEx_SetTextEffects" "', expected argument " "1"" of type '" "wxTextAttrEx *""'"); 
 
5305
  }
 
5306
  arg1 = reinterpret_cast< wxTextAttrEx * >(argp1);
 
5307
  ecode2 = SWIG_AsVal_int(obj1, &val2);
 
5308
  if (!SWIG_IsOK(ecode2)) {
 
5309
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TextAttrEx_SetTextEffects" "', expected argument " "2"" of type '" "int""'");
 
5310
  } 
 
5311
  arg2 = static_cast< int >(val2);
 
5312
  {
 
5313
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
5314
    (arg1)->SetTextEffects(arg2);
 
5315
    wxPyEndAllowThreads(__tstate);
 
5316
    if (PyErr_Occurred()) SWIG_fail;
 
5317
  }
 
5318
  resultobj = SWIG_Py_Void();
 
5319
  return resultobj;
 
5320
fail:
 
5321
  return NULL;
 
5322
}
 
5323
 
 
5324
 
 
5325
SWIGINTERN PyObject *_wrap_TextAttrEx_SetTextEffectFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
5326
  PyObject *resultobj = 0;
 
5327
  wxTextAttrEx *arg1 = (wxTextAttrEx *) 0 ;
 
5328
  int arg2 ;
 
5329
  void *argp1 = 0 ;
 
5330
  int res1 = 0 ;
 
5331
  int val2 ;
 
5332
  int ecode2 = 0 ;
 
5333
  PyObject * obj0 = 0 ;
 
5334
  PyObject * obj1 = 0 ;
 
5335
  char *  kwnames[] = {
 
5336
    (char *) "self",(char *) "effects", NULL 
 
5337
  };
 
5338
  
 
5339
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttrEx_SetTextEffectFlags",kwnames,&obj0,&obj1)) SWIG_fail;
 
5340
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextAttrEx, 0 |  0 );
 
5341
  if (!SWIG_IsOK(res1)) {
 
5342
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttrEx_SetTextEffectFlags" "', expected argument " "1"" of type '" "wxTextAttrEx *""'"); 
 
5343
  }
 
5344
  arg1 = reinterpret_cast< wxTextAttrEx * >(argp1);
 
5345
  ecode2 = SWIG_AsVal_int(obj1, &val2);
 
5346
  if (!SWIG_IsOK(ecode2)) {
 
5347
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TextAttrEx_SetTextEffectFlags" "', expected argument " "2"" of type '" "int""'");
 
5348
  } 
 
5349
  arg2 = static_cast< int >(val2);
 
5350
  {
 
5351
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
5352
    (arg1)->SetTextEffectFlags(arg2);
 
5353
    wxPyEndAllowThreads(__tstate);
 
5354
    if (PyErr_Occurred()) SWIG_fail;
 
5355
  }
 
5356
  resultobj = SWIG_Py_Void();
 
5357
  return resultobj;
 
5358
fail:
 
5359
  return NULL;
 
5360
}
 
5361
 
 
5362
 
 
5363
SWIGINTERN PyObject *_wrap_TextAttrEx_SetOutlineLevel(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
5364
  PyObject *resultobj = 0;
 
5365
  wxTextAttrEx *arg1 = (wxTextAttrEx *) 0 ;
 
5366
  int arg2 ;
 
5367
  void *argp1 = 0 ;
 
5368
  int res1 = 0 ;
 
5369
  int val2 ;
 
5370
  int ecode2 = 0 ;
 
5371
  PyObject * obj0 = 0 ;
 
5372
  PyObject * obj1 = 0 ;
 
5373
  char *  kwnames[] = {
 
5374
    (char *) "self",(char *) "level", NULL 
 
5375
  };
 
5376
  
 
5377
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttrEx_SetOutlineLevel",kwnames,&obj0,&obj1)) SWIG_fail;
 
5378
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextAttrEx, 0 |  0 );
 
5379
  if (!SWIG_IsOK(res1)) {
 
5380
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttrEx_SetOutlineLevel" "', expected argument " "1"" of type '" "wxTextAttrEx *""'"); 
 
5381
  }
 
5382
  arg1 = reinterpret_cast< wxTextAttrEx * >(argp1);
 
5383
  ecode2 = SWIG_AsVal_int(obj1, &val2);
 
5384
  if (!SWIG_IsOK(ecode2)) {
 
5385
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TextAttrEx_SetOutlineLevel" "', expected argument " "2"" of type '" "int""'");
 
5386
  } 
 
5387
  arg2 = static_cast< int >(val2);
 
5388
  {
 
5389
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
5390
    (arg1)->SetOutlineLevel(arg2);
 
5391
    wxPyEndAllowThreads(__tstate);
 
5392
    if (PyErr_Occurred()) SWIG_fail;
 
5393
  }
 
5394
  resultobj = SWIG_Py_Void();
 
5395
  return resultobj;
 
5396
fail:
 
5397
  return NULL;
 
5398
}
 
5399
 
 
5400
 
 
5401
SWIGINTERN PyObject *_wrap_TextAttrEx_GetCharacterStyleName(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
5402
  PyObject *resultobj = 0;
 
5403
  wxTextAttrEx *arg1 = (wxTextAttrEx *) 0 ;
 
5404
  wxString *result = 0 ;
 
5405
  void *argp1 = 0 ;
 
5406
  int res1 = 0 ;
 
5407
  PyObject *swig_obj[1] ;
 
5408
  
 
5409
  if (!args) SWIG_fail;
 
5410
  swig_obj[0] = args;
 
5411
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextAttrEx, 0 |  0 );
 
5412
  if (!SWIG_IsOK(res1)) {
 
5413
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttrEx_GetCharacterStyleName" "', expected argument " "1"" of type '" "wxTextAttrEx const *""'"); 
 
5414
  }
 
5415
  arg1 = reinterpret_cast< wxTextAttrEx * >(argp1);
 
5416
  {
 
5417
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
5418
    {
 
5419
      wxString const &_result_ref = ((wxTextAttrEx const *)arg1)->GetCharacterStyleName();
 
5420
      result = (wxString *) &_result_ref;
 
5421
    }
 
5422
    wxPyEndAllowThreads(__tstate);
 
5423
    if (PyErr_Occurred()) SWIG_fail;
 
5424
  }
 
5425
  {
 
5426
#if wxUSE_UNICODE
 
5427
    resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
 
5428
#else
 
5429
    resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
 
5430
#endif
 
5431
  }
 
5432
  return resultobj;
 
5433
fail:
 
5434
  return NULL;
 
5435
}
 
5436
 
 
5437
 
 
5438
SWIGINTERN PyObject *_wrap_TextAttrEx_GetParagraphStyleName(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
5439
  PyObject *resultobj = 0;
 
5440
  wxTextAttrEx *arg1 = (wxTextAttrEx *) 0 ;
 
5441
  wxString *result = 0 ;
 
5442
  void *argp1 = 0 ;
 
5443
  int res1 = 0 ;
 
5444
  PyObject *swig_obj[1] ;
 
5445
  
 
5446
  if (!args) SWIG_fail;
 
5447
  swig_obj[0] = args;
 
5448
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextAttrEx, 0 |  0 );
 
5449
  if (!SWIG_IsOK(res1)) {
 
5450
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttrEx_GetParagraphStyleName" "', expected argument " "1"" of type '" "wxTextAttrEx const *""'"); 
 
5451
  }
 
5452
  arg1 = reinterpret_cast< wxTextAttrEx * >(argp1);
 
5453
  {
 
5454
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
5455
    {
 
5456
      wxString const &_result_ref = ((wxTextAttrEx const *)arg1)->GetParagraphStyleName();
 
5457
      result = (wxString *) &_result_ref;
 
5458
    }
 
5459
    wxPyEndAllowThreads(__tstate);
 
5460
    if (PyErr_Occurred()) SWIG_fail;
 
5461
  }
 
5462
  {
 
5463
#if wxUSE_UNICODE
 
5464
    resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
 
5465
#else
 
5466
    resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
 
5467
#endif
 
5468
  }
 
5469
  return resultobj;
 
5470
fail:
 
5471
  return NULL;
 
5472
}
 
5473
 
 
5474
 
 
5475
SWIGINTERN PyObject *_wrap_TextAttrEx_GetListStyleName(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
5476
  PyObject *resultobj = 0;
 
5477
  wxTextAttrEx *arg1 = (wxTextAttrEx *) 0 ;
 
5478
  wxString *result = 0 ;
 
5479
  void *argp1 = 0 ;
 
5480
  int res1 = 0 ;
 
5481
  PyObject *swig_obj[1] ;
 
5482
  
 
5483
  if (!args) SWIG_fail;
 
5484
  swig_obj[0] = args;
 
5485
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextAttrEx, 0 |  0 );
 
5486
  if (!SWIG_IsOK(res1)) {
 
5487
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttrEx_GetListStyleName" "', expected argument " "1"" of type '" "wxTextAttrEx const *""'"); 
 
5488
  }
 
5489
  arg1 = reinterpret_cast< wxTextAttrEx * >(argp1);
 
5490
  {
 
5491
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
5492
    {
 
5493
      wxString const &_result_ref = ((wxTextAttrEx const *)arg1)->GetListStyleName();
 
5494
      result = (wxString *) &_result_ref;
 
5495
    }
 
5496
    wxPyEndAllowThreads(__tstate);
 
5497
    if (PyErr_Occurred()) SWIG_fail;
 
5498
  }
 
5499
  {
 
5500
#if wxUSE_UNICODE
 
5501
    resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
 
5502
#else
 
5503
    resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
 
5504
#endif
 
5505
  }
 
5506
  return resultobj;
 
5507
fail:
 
5508
  return NULL;
 
5509
}
 
5510
 
 
5511
 
 
5512
SWIGINTERN PyObject *_wrap_TextAttrEx_GetParagraphSpacingAfter(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
5513
  PyObject *resultobj = 0;
 
5514
  wxTextAttrEx *arg1 = (wxTextAttrEx *) 0 ;
 
5515
  int result;
 
5516
  void *argp1 = 0 ;
 
5517
  int res1 = 0 ;
 
5518
  PyObject *swig_obj[1] ;
 
5519
  
 
5520
  if (!args) SWIG_fail;
 
5521
  swig_obj[0] = args;
 
5522
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextAttrEx, 0 |  0 );
 
5523
  if (!SWIG_IsOK(res1)) {
 
5524
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttrEx_GetParagraphSpacingAfter" "', expected argument " "1"" of type '" "wxTextAttrEx const *""'"); 
 
5525
  }
 
5526
  arg1 = reinterpret_cast< wxTextAttrEx * >(argp1);
 
5527
  {
 
5528
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
5529
    result = (int)((wxTextAttrEx const *)arg1)->GetParagraphSpacingAfter();
 
5530
    wxPyEndAllowThreads(__tstate);
 
5531
    if (PyErr_Occurred()) SWIG_fail;
 
5532
  }
 
5533
  resultobj = SWIG_From_int(static_cast< int >(result));
 
5534
  return resultobj;
 
5535
fail:
 
5536
  return NULL;
 
5537
}
 
5538
 
 
5539
 
 
5540
SWIGINTERN PyObject *_wrap_TextAttrEx_GetParagraphSpacingBefore(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
5541
  PyObject *resultobj = 0;
 
5542
  wxTextAttrEx *arg1 = (wxTextAttrEx *) 0 ;
 
5543
  int result;
 
5544
  void *argp1 = 0 ;
 
5545
  int res1 = 0 ;
 
5546
  PyObject *swig_obj[1] ;
 
5547
  
 
5548
  if (!args) SWIG_fail;
 
5549
  swig_obj[0] = args;
 
5550
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextAttrEx, 0 |  0 );
 
5551
  if (!SWIG_IsOK(res1)) {
 
5552
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttrEx_GetParagraphSpacingBefore" "', expected argument " "1"" of type '" "wxTextAttrEx const *""'"); 
 
5553
  }
 
5554
  arg1 = reinterpret_cast< wxTextAttrEx * >(argp1);
 
5555
  {
 
5556
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
5557
    result = (int)((wxTextAttrEx const *)arg1)->GetParagraphSpacingBefore();
 
5558
    wxPyEndAllowThreads(__tstate);
 
5559
    if (PyErr_Occurred()) SWIG_fail;
 
5560
  }
 
5561
  resultobj = SWIG_From_int(static_cast< int >(result));
 
5562
  return resultobj;
 
5563
fail:
 
5564
  return NULL;
 
5565
}
 
5566
 
 
5567
 
 
5568
SWIGINTERN PyObject *_wrap_TextAttrEx_GetLineSpacing(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
5569
  PyObject *resultobj = 0;
 
5570
  wxTextAttrEx *arg1 = (wxTextAttrEx *) 0 ;
 
5571
  int result;
 
5572
  void *argp1 = 0 ;
 
5573
  int res1 = 0 ;
 
5574
  PyObject *swig_obj[1] ;
 
5575
  
 
5576
  if (!args) SWIG_fail;
 
5577
  swig_obj[0] = args;
 
5578
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextAttrEx, 0 |  0 );
 
5579
  if (!SWIG_IsOK(res1)) {
 
5580
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttrEx_GetLineSpacing" "', expected argument " "1"" of type '" "wxTextAttrEx const *""'"); 
 
5581
  }
 
5582
  arg1 = reinterpret_cast< wxTextAttrEx * >(argp1);
 
5583
  {
 
5584
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
5585
    result = (int)((wxTextAttrEx const *)arg1)->GetLineSpacing();
 
5586
    wxPyEndAllowThreads(__tstate);
 
5587
    if (PyErr_Occurred()) SWIG_fail;
 
5588
  }
 
5589
  resultobj = SWIG_From_int(static_cast< int >(result));
 
5590
  return resultobj;
 
5591
fail:
 
5592
  return NULL;
 
5593
}
 
5594
 
 
5595
 
 
5596
SWIGINTERN PyObject *_wrap_TextAttrEx_GetBulletStyle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
5597
  PyObject *resultobj = 0;
 
5598
  wxTextAttrEx *arg1 = (wxTextAttrEx *) 0 ;
 
5599
  int result;
 
5600
  void *argp1 = 0 ;
 
5601
  int res1 = 0 ;
 
5602
  PyObject *swig_obj[1] ;
 
5603
  
 
5604
  if (!args) SWIG_fail;
 
5605
  swig_obj[0] = args;
 
5606
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextAttrEx, 0 |  0 );
 
5607
  if (!SWIG_IsOK(res1)) {
 
5608
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttrEx_GetBulletStyle" "', expected argument " "1"" of type '" "wxTextAttrEx const *""'"); 
 
5609
  }
 
5610
  arg1 = reinterpret_cast< wxTextAttrEx * >(argp1);
 
5611
  {
 
5612
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
5613
    result = (int)((wxTextAttrEx const *)arg1)->GetBulletStyle();
 
5614
    wxPyEndAllowThreads(__tstate);
 
5615
    if (PyErr_Occurred()) SWIG_fail;
 
5616
  }
 
5617
  resultobj = SWIG_From_int(static_cast< int >(result));
 
5618
  return resultobj;
 
5619
fail:
 
5620
  return NULL;
 
5621
}
 
5622
 
 
5623
 
 
5624
SWIGINTERN PyObject *_wrap_TextAttrEx_GetBulletNumber(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
5625
  PyObject *resultobj = 0;
 
5626
  wxTextAttrEx *arg1 = (wxTextAttrEx *) 0 ;
 
5627
  int result;
 
5628
  void *argp1 = 0 ;
 
5629
  int res1 = 0 ;
 
5630
  PyObject *swig_obj[1] ;
 
5631
  
 
5632
  if (!args) SWIG_fail;
 
5633
  swig_obj[0] = args;
 
5634
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextAttrEx, 0 |  0 );
 
5635
  if (!SWIG_IsOK(res1)) {
 
5636
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttrEx_GetBulletNumber" "', expected argument " "1"" of type '" "wxTextAttrEx const *""'"); 
 
5637
  }
 
5638
  arg1 = reinterpret_cast< wxTextAttrEx * >(argp1);
 
5639
  {
 
5640
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
5641
    result = (int)((wxTextAttrEx const *)arg1)->GetBulletNumber();
 
5642
    wxPyEndAllowThreads(__tstate);
 
5643
    if (PyErr_Occurred()) SWIG_fail;
 
5644
  }
 
5645
  resultobj = SWIG_From_int(static_cast< int >(result));
 
5646
  return resultobj;
 
5647
fail:
 
5648
  return NULL;
 
5649
}
 
5650
 
 
5651
 
 
5652
SWIGINTERN PyObject *_wrap_TextAttrEx_GetBulletText(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
5653
  PyObject *resultobj = 0;
 
5654
  wxTextAttrEx *arg1 = (wxTextAttrEx *) 0 ;
 
5655
  wxString *result = 0 ;
 
5656
  void *argp1 = 0 ;
 
5657
  int res1 = 0 ;
 
5658
  PyObject *swig_obj[1] ;
 
5659
  
 
5660
  if (!args) SWIG_fail;
 
5661
  swig_obj[0] = args;
 
5662
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextAttrEx, 0 |  0 );
 
5663
  if (!SWIG_IsOK(res1)) {
 
5664
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttrEx_GetBulletText" "', expected argument " "1"" of type '" "wxTextAttrEx const *""'"); 
 
5665
  }
 
5666
  arg1 = reinterpret_cast< wxTextAttrEx * >(argp1);
 
5667
  {
 
5668
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
5669
    {
 
5670
      wxString const &_result_ref = ((wxTextAttrEx const *)arg1)->GetBulletText();
 
5671
      result = (wxString *) &_result_ref;
 
5672
    }
 
5673
    wxPyEndAllowThreads(__tstate);
 
5674
    if (PyErr_Occurred()) SWIG_fail;
 
5675
  }
 
5676
  {
 
5677
#if wxUSE_UNICODE
 
5678
    resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
 
5679
#else
 
5680
    resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
 
5681
#endif
 
5682
  }
 
5683
  return resultobj;
 
5684
fail:
 
5685
  return NULL;
 
5686
}
 
5687
 
 
5688
 
 
5689
SWIGINTERN PyObject *_wrap_TextAttrEx_GetBulletName(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
5690
  PyObject *resultobj = 0;
 
5691
  wxTextAttrEx *arg1 = (wxTextAttrEx *) 0 ;
 
5692
  wxString *result = 0 ;
 
5693
  void *argp1 = 0 ;
 
5694
  int res1 = 0 ;
 
5695
  PyObject *swig_obj[1] ;
 
5696
  
 
5697
  if (!args) SWIG_fail;
 
5698
  swig_obj[0] = args;
 
5699
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextAttrEx, 0 |  0 );
 
5700
  if (!SWIG_IsOK(res1)) {
 
5701
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttrEx_GetBulletName" "', expected argument " "1"" of type '" "wxTextAttrEx const *""'"); 
 
5702
  }
 
5703
  arg1 = reinterpret_cast< wxTextAttrEx * >(argp1);
 
5704
  {
 
5705
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
5706
    {
 
5707
      wxString const &_result_ref = ((wxTextAttrEx const *)arg1)->GetBulletName();
 
5708
      result = (wxString *) &_result_ref;
 
5709
    }
 
5710
    wxPyEndAllowThreads(__tstate);
 
5711
    if (PyErr_Occurred()) SWIG_fail;
 
5712
  }
 
5713
  {
 
5714
#if wxUSE_UNICODE
 
5715
    resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
 
5716
#else
 
5717
    resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
 
5718
#endif
 
5719
  }
 
5720
  return resultobj;
 
5721
fail:
 
5722
  return NULL;
 
5723
}
 
5724
 
 
5725
 
 
5726
SWIGINTERN PyObject *_wrap_TextAttrEx_GetBulletFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
5727
  PyObject *resultobj = 0;
 
5728
  wxTextAttrEx *arg1 = (wxTextAttrEx *) 0 ;
 
5729
  wxString *result = 0 ;
 
5730
  void *argp1 = 0 ;
 
5731
  int res1 = 0 ;
 
5732
  PyObject *swig_obj[1] ;
 
5733
  
 
5734
  if (!args) SWIG_fail;
 
5735
  swig_obj[0] = args;
 
5736
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextAttrEx, 0 |  0 );
 
5737
  if (!SWIG_IsOK(res1)) {
 
5738
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttrEx_GetBulletFont" "', expected argument " "1"" of type '" "wxTextAttrEx const *""'"); 
 
5739
  }
 
5740
  arg1 = reinterpret_cast< wxTextAttrEx * >(argp1);
 
5741
  {
 
5742
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
5743
    {
 
5744
      wxString const &_result_ref = ((wxTextAttrEx const *)arg1)->GetBulletFont();
 
5745
      result = (wxString *) &_result_ref;
 
5746
    }
 
5747
    wxPyEndAllowThreads(__tstate);
 
5748
    if (PyErr_Occurred()) SWIG_fail;
 
5749
  }
 
5750
  {
 
5751
#if wxUSE_UNICODE
 
5752
    resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
 
5753
#else
 
5754
    resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
 
5755
#endif
 
5756
  }
 
5757
  return resultobj;
 
5758
fail:
 
5759
  return NULL;
 
5760
}
 
5761
 
 
5762
 
 
5763
SWIGINTERN PyObject *_wrap_TextAttrEx_GetURL(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
5764
  PyObject *resultobj = 0;
 
5765
  wxTextAttrEx *arg1 = (wxTextAttrEx *) 0 ;
 
5766
  wxString *result = 0 ;
 
5767
  void *argp1 = 0 ;
 
5768
  int res1 = 0 ;
 
5769
  PyObject *swig_obj[1] ;
 
5770
  
 
5771
  if (!args) SWIG_fail;
 
5772
  swig_obj[0] = args;
 
5773
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextAttrEx, 0 |  0 );
 
5774
  if (!SWIG_IsOK(res1)) {
 
5775
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttrEx_GetURL" "', expected argument " "1"" of type '" "wxTextAttrEx const *""'"); 
 
5776
  }
 
5777
  arg1 = reinterpret_cast< wxTextAttrEx * >(argp1);
 
5778
  {
 
5779
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
5780
    {
 
5781
      wxString const &_result_ref = ((wxTextAttrEx const *)arg1)->GetURL();
 
5782
      result = (wxString *) &_result_ref;
 
5783
    }
 
5784
    wxPyEndAllowThreads(__tstate);
 
5785
    if (PyErr_Occurred()) SWIG_fail;
 
5786
  }
 
5787
  {
 
5788
#if wxUSE_UNICODE
 
5789
    resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
 
5790
#else
 
5791
    resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
 
5792
#endif
 
5793
  }
 
5794
  return resultobj;
 
5795
fail:
 
5796
  return NULL;
 
5797
}
 
5798
 
 
5799
 
 
5800
SWIGINTERN PyObject *_wrap_TextAttrEx_GetTextEffects(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
5801
  PyObject *resultobj = 0;
 
5802
  wxTextAttrEx *arg1 = (wxTextAttrEx *) 0 ;
 
5803
  int result;
 
5804
  void *argp1 = 0 ;
 
5805
  int res1 = 0 ;
 
5806
  PyObject *swig_obj[1] ;
 
5807
  
 
5808
  if (!args) SWIG_fail;
 
5809
  swig_obj[0] = args;
 
5810
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextAttrEx, 0 |  0 );
 
5811
  if (!SWIG_IsOK(res1)) {
 
5812
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttrEx_GetTextEffects" "', expected argument " "1"" of type '" "wxTextAttrEx const *""'"); 
 
5813
  }
 
5814
  arg1 = reinterpret_cast< wxTextAttrEx * >(argp1);
 
5815
  {
 
5816
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
5817
    result = (int)((wxTextAttrEx const *)arg1)->GetTextEffects();
 
5818
    wxPyEndAllowThreads(__tstate);
 
5819
    if (PyErr_Occurred()) SWIG_fail;
 
5820
  }
 
5821
  resultobj = SWIG_From_int(static_cast< int >(result));
 
5822
  return resultobj;
 
5823
fail:
 
5824
  return NULL;
 
5825
}
 
5826
 
 
5827
 
 
5828
SWIGINTERN PyObject *_wrap_TextAttrEx_GetTextEffectFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
5829
  PyObject *resultobj = 0;
 
5830
  wxTextAttrEx *arg1 = (wxTextAttrEx *) 0 ;
 
5831
  int result;
 
5832
  void *argp1 = 0 ;
 
5833
  int res1 = 0 ;
 
5834
  PyObject *swig_obj[1] ;
 
5835
  
 
5836
  if (!args) SWIG_fail;
 
5837
  swig_obj[0] = args;
 
5838
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextAttrEx, 0 |  0 );
 
5839
  if (!SWIG_IsOK(res1)) {
 
5840
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttrEx_GetTextEffectFlags" "', expected argument " "1"" of type '" "wxTextAttrEx const *""'"); 
 
5841
  }
 
5842
  arg1 = reinterpret_cast< wxTextAttrEx * >(argp1);
 
5843
  {
 
5844
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
5845
    result = (int)((wxTextAttrEx const *)arg1)->GetTextEffectFlags();
 
5846
    wxPyEndAllowThreads(__tstate);
 
5847
    if (PyErr_Occurred()) SWIG_fail;
 
5848
  }
 
5849
  resultobj = SWIG_From_int(static_cast< int >(result));
 
5850
  return resultobj;
 
5851
fail:
 
5852
  return NULL;
 
5853
}
 
5854
 
 
5855
 
 
5856
SWIGINTERN PyObject *_wrap_TextAttrEx_GetOutlineLevel(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
5857
  PyObject *resultobj = 0;
 
5858
  wxTextAttrEx *arg1 = (wxTextAttrEx *) 0 ;
 
5859
  int result;
 
5860
  void *argp1 = 0 ;
 
5861
  int res1 = 0 ;
 
5862
  PyObject *swig_obj[1] ;
 
5863
  
 
5864
  if (!args) SWIG_fail;
 
5865
  swig_obj[0] = args;
 
5866
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextAttrEx, 0 |  0 );
 
5867
  if (!SWIG_IsOK(res1)) {
 
5868
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttrEx_GetOutlineLevel" "', expected argument " "1"" of type '" "wxTextAttrEx const *""'"); 
 
5869
  }
 
5870
  arg1 = reinterpret_cast< wxTextAttrEx * >(argp1);
 
5871
  {
 
5872
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
5873
    result = (int)((wxTextAttrEx const *)arg1)->GetOutlineLevel();
 
5874
    wxPyEndAllowThreads(__tstate);
 
5875
    if (PyErr_Occurred()) SWIG_fail;
 
5876
  }
 
5877
  resultobj = SWIG_From_int(static_cast< int >(result));
 
5878
  return resultobj;
 
5879
fail:
 
5880
  return NULL;
 
5881
}
 
5882
 
 
5883
 
 
5884
SWIGINTERN PyObject *_wrap_TextAttrEx_HasFontWeight(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
5885
  PyObject *resultobj = 0;
 
5886
  wxTextAttrEx *arg1 = (wxTextAttrEx *) 0 ;
 
5887
  bool result;
 
5888
  void *argp1 = 0 ;
 
5889
  int res1 = 0 ;
 
5890
  PyObject *swig_obj[1] ;
 
5891
  
 
5892
  if (!args) SWIG_fail;
 
5893
  swig_obj[0] = args;
 
5894
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextAttrEx, 0 |  0 );
 
5895
  if (!SWIG_IsOK(res1)) {
 
5896
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttrEx_HasFontWeight" "', expected argument " "1"" of type '" "wxTextAttrEx const *""'"); 
 
5897
  }
 
5898
  arg1 = reinterpret_cast< wxTextAttrEx * >(argp1);
 
5899
  {
 
5900
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
5901
    result = (bool)((wxTextAttrEx const *)arg1)->HasFontWeight();
 
5902
    wxPyEndAllowThreads(__tstate);
 
5903
    if (PyErr_Occurred()) SWIG_fail;
 
5904
  }
 
5905
  {
 
5906
    resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
 
5907
  }
 
5908
  return resultobj;
 
5909
fail:
 
5910
  return NULL;
 
5911
}
 
5912
 
 
5913
 
 
5914
SWIGINTERN PyObject *_wrap_TextAttrEx_HasFontSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
5915
  PyObject *resultobj = 0;
 
5916
  wxTextAttrEx *arg1 = (wxTextAttrEx *) 0 ;
 
5917
  bool result;
 
5918
  void *argp1 = 0 ;
 
5919
  int res1 = 0 ;
 
5920
  PyObject *swig_obj[1] ;
 
5921
  
 
5922
  if (!args) SWIG_fail;
 
5923
  swig_obj[0] = args;
 
5924
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextAttrEx, 0 |  0 );
 
5925
  if (!SWIG_IsOK(res1)) {
 
5926
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttrEx_HasFontSize" "', expected argument " "1"" of type '" "wxTextAttrEx const *""'"); 
 
5927
  }
 
5928
  arg1 = reinterpret_cast< wxTextAttrEx * >(argp1);
 
5929
  {
 
5930
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
5931
    result = (bool)((wxTextAttrEx const *)arg1)->HasFontSize();
 
5932
    wxPyEndAllowThreads(__tstate);
 
5933
    if (PyErr_Occurred()) SWIG_fail;
 
5934
  }
 
5935
  {
 
5936
    resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
 
5937
  }
 
5938
  return resultobj;
 
5939
fail:
 
5940
  return NULL;
 
5941
}
 
5942
 
 
5943
 
 
5944
SWIGINTERN PyObject *_wrap_TextAttrEx_HasFontItalic(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
5945
  PyObject *resultobj = 0;
 
5946
  wxTextAttrEx *arg1 = (wxTextAttrEx *) 0 ;
 
5947
  bool result;
 
5948
  void *argp1 = 0 ;
 
5949
  int res1 = 0 ;
 
5950
  PyObject *swig_obj[1] ;
 
5951
  
 
5952
  if (!args) SWIG_fail;
 
5953
  swig_obj[0] = args;
 
5954
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextAttrEx, 0 |  0 );
 
5955
  if (!SWIG_IsOK(res1)) {
 
5956
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttrEx_HasFontItalic" "', expected argument " "1"" of type '" "wxTextAttrEx const *""'"); 
 
5957
  }
 
5958
  arg1 = reinterpret_cast< wxTextAttrEx * >(argp1);
 
5959
  {
 
5960
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
5961
    result = (bool)((wxTextAttrEx const *)arg1)->HasFontItalic();
 
5962
    wxPyEndAllowThreads(__tstate);
 
5963
    if (PyErr_Occurred()) SWIG_fail;
 
5964
  }
 
5965
  {
 
5966
    resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
 
5967
  }
 
5968
  return resultobj;
 
5969
fail:
 
5970
  return NULL;
 
5971
}
 
5972
 
 
5973
 
 
5974
SWIGINTERN PyObject *_wrap_TextAttrEx_HasFontUnderlined(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
5975
  PyObject *resultobj = 0;
 
5976
  wxTextAttrEx *arg1 = (wxTextAttrEx *) 0 ;
 
5977
  bool result;
 
5978
  void *argp1 = 0 ;
 
5979
  int res1 = 0 ;
 
5980
  PyObject *swig_obj[1] ;
 
5981
  
 
5982
  if (!args) SWIG_fail;
 
5983
  swig_obj[0] = args;
 
5984
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextAttrEx, 0 |  0 );
 
5985
  if (!SWIG_IsOK(res1)) {
 
5986
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttrEx_HasFontUnderlined" "', expected argument " "1"" of type '" "wxTextAttrEx const *""'"); 
 
5987
  }
 
5988
  arg1 = reinterpret_cast< wxTextAttrEx * >(argp1);
 
5989
  {
 
5990
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
5991
    result = (bool)((wxTextAttrEx const *)arg1)->HasFontUnderlined();
 
5992
    wxPyEndAllowThreads(__tstate);
 
5993
    if (PyErr_Occurred()) SWIG_fail;
 
5994
  }
 
5995
  {
 
5996
    resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
 
5997
  }
 
5998
  return resultobj;
 
5999
fail:
 
6000
  return NULL;
 
6001
}
 
6002
 
 
6003
 
 
6004
SWIGINTERN PyObject *_wrap_TextAttrEx_HasFontFaceName(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
6005
  PyObject *resultobj = 0;
 
6006
  wxTextAttrEx *arg1 = (wxTextAttrEx *) 0 ;
 
6007
  bool result;
 
6008
  void *argp1 = 0 ;
 
6009
  int res1 = 0 ;
 
6010
  PyObject *swig_obj[1] ;
 
6011
  
 
6012
  if (!args) SWIG_fail;
 
6013
  swig_obj[0] = args;
 
6014
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextAttrEx, 0 |  0 );
 
6015
  if (!SWIG_IsOK(res1)) {
 
6016
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttrEx_HasFontFaceName" "', expected argument " "1"" of type '" "wxTextAttrEx const *""'"); 
 
6017
  }
 
6018
  arg1 = reinterpret_cast< wxTextAttrEx * >(argp1);
 
6019
  {
 
6020
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
6021
    result = (bool)((wxTextAttrEx const *)arg1)->HasFontFaceName();
 
6022
    wxPyEndAllowThreads(__tstate);
 
6023
    if (PyErr_Occurred()) SWIG_fail;
 
6024
  }
 
6025
  {
 
6026
    resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
 
6027
  }
 
6028
  return resultobj;
 
6029
fail:
 
6030
  return NULL;
 
6031
}
 
6032
 
 
6033
 
 
6034
SWIGINTERN PyObject *_wrap_TextAttrEx_HasParagraphSpacingAfter(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
6035
  PyObject *resultobj = 0;
 
6036
  wxTextAttrEx *arg1 = (wxTextAttrEx *) 0 ;
 
6037
  bool result;
 
6038
  void *argp1 = 0 ;
 
6039
  int res1 = 0 ;
 
6040
  PyObject *swig_obj[1] ;
 
6041
  
 
6042
  if (!args) SWIG_fail;
 
6043
  swig_obj[0] = args;
 
6044
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextAttrEx, 0 |  0 );
 
6045
  if (!SWIG_IsOK(res1)) {
 
6046
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttrEx_HasParagraphSpacingAfter" "', expected argument " "1"" of type '" "wxTextAttrEx const *""'"); 
 
6047
  }
 
6048
  arg1 = reinterpret_cast< wxTextAttrEx * >(argp1);
 
6049
  {
 
6050
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
6051
    result = (bool)((wxTextAttrEx const *)arg1)->HasParagraphSpacingAfter();
 
6052
    wxPyEndAllowThreads(__tstate);
 
6053
    if (PyErr_Occurred()) SWIG_fail;
 
6054
  }
 
6055
  {
 
6056
    resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
 
6057
  }
 
6058
  return resultobj;
 
6059
fail:
 
6060
  return NULL;
 
6061
}
 
6062
 
 
6063
 
 
6064
SWIGINTERN PyObject *_wrap_TextAttrEx_HasParagraphSpacingBefore(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
6065
  PyObject *resultobj = 0;
 
6066
  wxTextAttrEx *arg1 = (wxTextAttrEx *) 0 ;
 
6067
  bool result;
 
6068
  void *argp1 = 0 ;
 
6069
  int res1 = 0 ;
 
6070
  PyObject *swig_obj[1] ;
 
6071
  
 
6072
  if (!args) SWIG_fail;
 
6073
  swig_obj[0] = args;
 
6074
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextAttrEx, 0 |  0 );
 
6075
  if (!SWIG_IsOK(res1)) {
 
6076
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttrEx_HasParagraphSpacingBefore" "', expected argument " "1"" of type '" "wxTextAttrEx const *""'"); 
 
6077
  }
 
6078
  arg1 = reinterpret_cast< wxTextAttrEx * >(argp1);
 
6079
  {
 
6080
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
6081
    result = (bool)((wxTextAttrEx const *)arg1)->HasParagraphSpacingBefore();
 
6082
    wxPyEndAllowThreads(__tstate);
 
6083
    if (PyErr_Occurred()) SWIG_fail;
 
6084
  }
 
6085
  {
 
6086
    resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
 
6087
  }
 
6088
  return resultobj;
 
6089
fail:
 
6090
  return NULL;
 
6091
}
 
6092
 
 
6093
 
 
6094
SWIGINTERN PyObject *_wrap_TextAttrEx_HasLineSpacing(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
6095
  PyObject *resultobj = 0;
 
6096
  wxTextAttrEx *arg1 = (wxTextAttrEx *) 0 ;
 
6097
  bool result;
 
6098
  void *argp1 = 0 ;
 
6099
  int res1 = 0 ;
 
6100
  PyObject *swig_obj[1] ;
 
6101
  
 
6102
  if (!args) SWIG_fail;
 
6103
  swig_obj[0] = args;
 
6104
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextAttrEx, 0 |  0 );
 
6105
  if (!SWIG_IsOK(res1)) {
 
6106
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttrEx_HasLineSpacing" "', expected argument " "1"" of type '" "wxTextAttrEx const *""'"); 
 
6107
  }
 
6108
  arg1 = reinterpret_cast< wxTextAttrEx * >(argp1);
 
6109
  {
 
6110
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
6111
    result = (bool)((wxTextAttrEx const *)arg1)->HasLineSpacing();
 
6112
    wxPyEndAllowThreads(__tstate);
 
6113
    if (PyErr_Occurred()) SWIG_fail;
 
6114
  }
 
6115
  {
 
6116
    resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
 
6117
  }
 
6118
  return resultobj;
 
6119
fail:
 
6120
  return NULL;
 
6121
}
 
6122
 
 
6123
 
 
6124
SWIGINTERN PyObject *_wrap_TextAttrEx_HasCharacterStyleName(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
6125
  PyObject *resultobj = 0;
 
6126
  wxTextAttrEx *arg1 = (wxTextAttrEx *) 0 ;
 
6127
  bool result;
 
6128
  void *argp1 = 0 ;
 
6129
  int res1 = 0 ;
 
6130
  PyObject *swig_obj[1] ;
 
6131
  
 
6132
  if (!args) SWIG_fail;
 
6133
  swig_obj[0] = args;
 
6134
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextAttrEx, 0 |  0 );
 
6135
  if (!SWIG_IsOK(res1)) {
 
6136
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttrEx_HasCharacterStyleName" "', expected argument " "1"" of type '" "wxTextAttrEx const *""'"); 
 
6137
  }
 
6138
  arg1 = reinterpret_cast< wxTextAttrEx * >(argp1);
 
6139
  {
 
6140
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
6141
    result = (bool)((wxTextAttrEx const *)arg1)->HasCharacterStyleName();
 
6142
    wxPyEndAllowThreads(__tstate);
 
6143
    if (PyErr_Occurred()) SWIG_fail;
 
6144
  }
 
6145
  {
 
6146
    resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
 
6147
  }
 
6148
  return resultobj;
 
6149
fail:
 
6150
  return NULL;
 
6151
}
 
6152
 
 
6153
 
 
6154
SWIGINTERN PyObject *_wrap_TextAttrEx_HasParagraphStyleName(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
6155
  PyObject *resultobj = 0;
 
6156
  wxTextAttrEx *arg1 = (wxTextAttrEx *) 0 ;
 
6157
  bool result;
 
6158
  void *argp1 = 0 ;
 
6159
  int res1 = 0 ;
 
6160
  PyObject *swig_obj[1] ;
 
6161
  
 
6162
  if (!args) SWIG_fail;
 
6163
  swig_obj[0] = args;
 
6164
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextAttrEx, 0 |  0 );
 
6165
  if (!SWIG_IsOK(res1)) {
 
6166
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttrEx_HasParagraphStyleName" "', expected argument " "1"" of type '" "wxTextAttrEx const *""'"); 
 
6167
  }
 
6168
  arg1 = reinterpret_cast< wxTextAttrEx * >(argp1);
 
6169
  {
 
6170
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
6171
    result = (bool)((wxTextAttrEx const *)arg1)->HasParagraphStyleName();
 
6172
    wxPyEndAllowThreads(__tstate);
 
6173
    if (PyErr_Occurred()) SWIG_fail;
 
6174
  }
 
6175
  {
 
6176
    resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
 
6177
  }
 
6178
  return resultobj;
 
6179
fail:
 
6180
  return NULL;
 
6181
}
 
6182
 
 
6183
 
 
6184
SWIGINTERN PyObject *_wrap_TextAttrEx_HasListStyleName(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
6185
  PyObject *resultobj = 0;
 
6186
  wxTextAttrEx *arg1 = (wxTextAttrEx *) 0 ;
 
6187
  bool result;
 
6188
  void *argp1 = 0 ;
 
6189
  int res1 = 0 ;
 
6190
  PyObject *swig_obj[1] ;
 
6191
  
 
6192
  if (!args) SWIG_fail;
 
6193
  swig_obj[0] = args;
 
6194
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextAttrEx, 0 |  0 );
 
6195
  if (!SWIG_IsOK(res1)) {
 
6196
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttrEx_HasListStyleName" "', expected argument " "1"" of type '" "wxTextAttrEx const *""'"); 
 
6197
  }
 
6198
  arg1 = reinterpret_cast< wxTextAttrEx * >(argp1);
 
6199
  {
 
6200
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
6201
    result = (bool)((wxTextAttrEx const *)arg1)->HasListStyleName();
 
6202
    wxPyEndAllowThreads(__tstate);
 
6203
    if (PyErr_Occurred()) SWIG_fail;
 
6204
  }
 
6205
  {
 
6206
    resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
 
6207
  }
 
6208
  return resultobj;
 
6209
fail:
 
6210
  return NULL;
 
6211
}
 
6212
 
 
6213
 
 
6214
SWIGINTERN PyObject *_wrap_TextAttrEx_HasBulletStyle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
6215
  PyObject *resultobj = 0;
 
6216
  wxTextAttrEx *arg1 = (wxTextAttrEx *) 0 ;
 
6217
  bool result;
 
6218
  void *argp1 = 0 ;
 
6219
  int res1 = 0 ;
 
6220
  PyObject *swig_obj[1] ;
 
6221
  
 
6222
  if (!args) SWIG_fail;
 
6223
  swig_obj[0] = args;
 
6224
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextAttrEx, 0 |  0 );
 
6225
  if (!SWIG_IsOK(res1)) {
 
6226
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttrEx_HasBulletStyle" "', expected argument " "1"" of type '" "wxTextAttrEx const *""'"); 
 
6227
  }
 
6228
  arg1 = reinterpret_cast< wxTextAttrEx * >(argp1);
 
6229
  {
 
6230
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
6231
    result = (bool)((wxTextAttrEx const *)arg1)->HasBulletStyle();
 
6232
    wxPyEndAllowThreads(__tstate);
 
6233
    if (PyErr_Occurred()) SWIG_fail;
 
6234
  }
 
6235
  {
 
6236
    resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
 
6237
  }
 
6238
  return resultobj;
 
6239
fail:
 
6240
  return NULL;
 
6241
}
 
6242
 
 
6243
 
 
6244
SWIGINTERN PyObject *_wrap_TextAttrEx_HasBulletNumber(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
6245
  PyObject *resultobj = 0;
 
6246
  wxTextAttrEx *arg1 = (wxTextAttrEx *) 0 ;
 
6247
  bool result;
 
6248
  void *argp1 = 0 ;
 
6249
  int res1 = 0 ;
 
6250
  PyObject *swig_obj[1] ;
 
6251
  
 
6252
  if (!args) SWIG_fail;
 
6253
  swig_obj[0] = args;
 
6254
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextAttrEx, 0 |  0 );
 
6255
  if (!SWIG_IsOK(res1)) {
 
6256
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttrEx_HasBulletNumber" "', expected argument " "1"" of type '" "wxTextAttrEx const *""'"); 
 
6257
  }
 
6258
  arg1 = reinterpret_cast< wxTextAttrEx * >(argp1);
 
6259
  {
 
6260
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
6261
    result = (bool)((wxTextAttrEx const *)arg1)->HasBulletNumber();
 
6262
    wxPyEndAllowThreads(__tstate);
 
6263
    if (PyErr_Occurred()) SWIG_fail;
 
6264
  }
 
6265
  {
 
6266
    resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
 
6267
  }
 
6268
  return resultobj;
 
6269
fail:
 
6270
  return NULL;
 
6271
}
 
6272
 
 
6273
 
 
6274
SWIGINTERN PyObject *_wrap_TextAttrEx_HasBulletText(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
6275
  PyObject *resultobj = 0;
 
6276
  wxTextAttrEx *arg1 = (wxTextAttrEx *) 0 ;
 
6277
  bool result;
 
6278
  void *argp1 = 0 ;
 
6279
  int res1 = 0 ;
 
6280
  PyObject *swig_obj[1] ;
 
6281
  
 
6282
  if (!args) SWIG_fail;
 
6283
  swig_obj[0] = args;
 
6284
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextAttrEx, 0 |  0 );
 
6285
  if (!SWIG_IsOK(res1)) {
 
6286
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttrEx_HasBulletText" "', expected argument " "1"" of type '" "wxTextAttrEx const *""'"); 
 
6287
  }
 
6288
  arg1 = reinterpret_cast< wxTextAttrEx * >(argp1);
 
6289
  {
 
6290
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
6291
    result = (bool)((wxTextAttrEx const *)arg1)->HasBulletText();
 
6292
    wxPyEndAllowThreads(__tstate);
 
6293
    if (PyErr_Occurred()) SWIG_fail;
 
6294
  }
 
6295
  {
 
6296
    resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
 
6297
  }
 
6298
  return resultobj;
 
6299
fail:
 
6300
  return NULL;
 
6301
}
 
6302
 
 
6303
 
 
6304
SWIGINTERN PyObject *_wrap_TextAttrEx_HasBulletName(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
6305
  PyObject *resultobj = 0;
 
6306
  wxTextAttrEx *arg1 = (wxTextAttrEx *) 0 ;
 
6307
  bool result;
 
6308
  void *argp1 = 0 ;
 
6309
  int res1 = 0 ;
 
6310
  PyObject *swig_obj[1] ;
 
6311
  
 
6312
  if (!args) SWIG_fail;
 
6313
  swig_obj[0] = args;
 
6314
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextAttrEx, 0 |  0 );
 
6315
  if (!SWIG_IsOK(res1)) {
 
6316
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttrEx_HasBulletName" "', expected argument " "1"" of type '" "wxTextAttrEx const *""'"); 
 
6317
  }
 
6318
  arg1 = reinterpret_cast< wxTextAttrEx * >(argp1);
 
6319
  {
 
6320
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
6321
    result = (bool)((wxTextAttrEx const *)arg1)->HasBulletName();
 
6322
    wxPyEndAllowThreads(__tstate);
 
6323
    if (PyErr_Occurred()) SWIG_fail;
 
6324
  }
 
6325
  {
 
6326
    resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
 
6327
  }
 
6328
  return resultobj;
 
6329
fail:
 
6330
  return NULL;
 
6331
}
 
6332
 
 
6333
 
 
6334
SWIGINTERN PyObject *_wrap_TextAttrEx_HasURL(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
6335
  PyObject *resultobj = 0;
 
6336
  wxTextAttrEx *arg1 = (wxTextAttrEx *) 0 ;
 
6337
  bool result;
 
6338
  void *argp1 = 0 ;
 
6339
  int res1 = 0 ;
 
6340
  PyObject *swig_obj[1] ;
 
6341
  
 
6342
  if (!args) SWIG_fail;
 
6343
  swig_obj[0] = args;
 
6344
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextAttrEx, 0 |  0 );
 
6345
  if (!SWIG_IsOK(res1)) {
 
6346
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttrEx_HasURL" "', expected argument " "1"" of type '" "wxTextAttrEx const *""'"); 
 
6347
  }
 
6348
  arg1 = reinterpret_cast< wxTextAttrEx * >(argp1);
 
6349
  {
 
6350
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
6351
    result = (bool)((wxTextAttrEx const *)arg1)->HasURL();
 
6352
    wxPyEndAllowThreads(__tstate);
 
6353
    if (PyErr_Occurred()) SWIG_fail;
 
6354
  }
 
6355
  {
 
6356
    resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
 
6357
  }
 
6358
  return resultobj;
 
6359
fail:
 
6360
  return NULL;
 
6361
}
 
6362
 
 
6363
 
 
6364
SWIGINTERN PyObject *_wrap_TextAttrEx_HasPageBreak(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
6365
  PyObject *resultobj = 0;
 
6366
  wxTextAttrEx *arg1 = (wxTextAttrEx *) 0 ;
 
6367
  bool result;
 
6368
  void *argp1 = 0 ;
 
6369
  int res1 = 0 ;
 
6370
  PyObject *swig_obj[1] ;
 
6371
  
 
6372
  if (!args) SWIG_fail;
 
6373
  swig_obj[0] = args;
 
6374
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextAttrEx, 0 |  0 );
 
6375
  if (!SWIG_IsOK(res1)) {
 
6376
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttrEx_HasPageBreak" "', expected argument " "1"" of type '" "wxTextAttrEx const *""'"); 
 
6377
  }
 
6378
  arg1 = reinterpret_cast< wxTextAttrEx * >(argp1);
 
6379
  {
 
6380
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
6381
    result = (bool)((wxTextAttrEx const *)arg1)->HasPageBreak();
 
6382
    wxPyEndAllowThreads(__tstate);
 
6383
    if (PyErr_Occurred()) SWIG_fail;
 
6384
  }
 
6385
  {
 
6386
    resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
 
6387
  }
 
6388
  return resultobj;
 
6389
fail:
 
6390
  return NULL;
 
6391
}
 
6392
 
 
6393
 
 
6394
SWIGINTERN PyObject *_wrap_TextAttrEx_HasTextEffects(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
6395
  PyObject *resultobj = 0;
 
6396
  wxTextAttrEx *arg1 = (wxTextAttrEx *) 0 ;
 
6397
  bool result;
 
6398
  void *argp1 = 0 ;
 
6399
  int res1 = 0 ;
 
6400
  PyObject *swig_obj[1] ;
 
6401
  
 
6402
  if (!args) SWIG_fail;
 
6403
  swig_obj[0] = args;
 
6404
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextAttrEx, 0 |  0 );
 
6405
  if (!SWIG_IsOK(res1)) {
 
6406
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttrEx_HasTextEffects" "', expected argument " "1"" of type '" "wxTextAttrEx const *""'"); 
 
6407
  }
 
6408
  arg1 = reinterpret_cast< wxTextAttrEx * >(argp1);
 
6409
  {
 
6410
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
6411
    result = (bool)((wxTextAttrEx const *)arg1)->HasTextEffects();
 
6412
    wxPyEndAllowThreads(__tstate);
 
6413
    if (PyErr_Occurred()) SWIG_fail;
 
6414
  }
 
6415
  {
 
6416
    resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
 
6417
  }
 
6418
  return resultobj;
 
6419
fail:
 
6420
  return NULL;
 
6421
}
 
6422
 
 
6423
 
 
6424
SWIGINTERN PyObject *_wrap_TextAttrEx_HasTextEffect(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
6425
  PyObject *resultobj = 0;
 
6426
  wxTextAttrEx *arg1 = (wxTextAttrEx *) 0 ;
 
6427
  int arg2 ;
 
6428
  bool result;
 
6429
  void *argp1 = 0 ;
 
6430
  int res1 = 0 ;
 
6431
  int val2 ;
 
6432
  int ecode2 = 0 ;
 
6433
  PyObject * obj0 = 0 ;
 
6434
  PyObject * obj1 = 0 ;
 
6435
  char *  kwnames[] = {
 
6436
    (char *) "self",(char *) "effect", NULL 
 
6437
  };
 
6438
  
 
6439
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttrEx_HasTextEffect",kwnames,&obj0,&obj1)) SWIG_fail;
 
6440
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextAttrEx, 0 |  0 );
 
6441
  if (!SWIG_IsOK(res1)) {
 
6442
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttrEx_HasTextEffect" "', expected argument " "1"" of type '" "wxTextAttrEx const *""'"); 
 
6443
  }
 
6444
  arg1 = reinterpret_cast< wxTextAttrEx * >(argp1);
 
6445
  ecode2 = SWIG_AsVal_int(obj1, &val2);
 
6446
  if (!SWIG_IsOK(ecode2)) {
 
6447
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TextAttrEx_HasTextEffect" "', expected argument " "2"" of type '" "int""'");
 
6448
  } 
 
6449
  arg2 = static_cast< int >(val2);
 
6450
  {
 
6451
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
6452
    result = (bool)((wxTextAttrEx const *)arg1)->HasTextEffect(arg2);
 
6453
    wxPyEndAllowThreads(__tstate);
 
6454
    if (PyErr_Occurred()) SWIG_fail;
 
6455
  }
 
6456
  {
 
6457
    resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
 
6458
  }
 
6459
  return resultobj;
 
6460
fail:
 
6461
  return NULL;
 
6462
}
 
6463
 
 
6464
 
 
6465
SWIGINTERN PyObject *_wrap_TextAttrEx_HasOutlineLevel(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
6466
  PyObject *resultobj = 0;
 
6467
  wxTextAttrEx *arg1 = (wxTextAttrEx *) 0 ;
 
6468
  bool result;
 
6469
  void *argp1 = 0 ;
 
6470
  int res1 = 0 ;
 
6471
  PyObject *swig_obj[1] ;
 
6472
  
 
6473
  if (!args) SWIG_fail;
 
6474
  swig_obj[0] = args;
 
6475
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextAttrEx, 0 |  0 );
 
6476
  if (!SWIG_IsOK(res1)) {
 
6477
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttrEx_HasOutlineLevel" "', expected argument " "1"" of type '" "wxTextAttrEx const *""'"); 
 
6478
  }
 
6479
  arg1 = reinterpret_cast< wxTextAttrEx * >(argp1);
 
6480
  {
 
6481
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
6482
    result = (bool)((wxTextAttrEx const *)arg1)->HasOutlineLevel();
 
6483
    wxPyEndAllowThreads(__tstate);
 
6484
    if (PyErr_Occurred()) SWIG_fail;
 
6485
  }
 
6486
  {
 
6487
    resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
 
6488
  }
 
6489
  return resultobj;
 
6490
fail:
 
6491
  return NULL;
 
6492
}
 
6493
 
 
6494
 
 
6495
SWIGINTERN PyObject *_wrap_TextAttrEx_IsCharacterStyle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
6496
  PyObject *resultobj = 0;
 
6497
  wxTextAttrEx *arg1 = (wxTextAttrEx *) 0 ;
 
6498
  bool result;
 
6499
  void *argp1 = 0 ;
 
6500
  int res1 = 0 ;
 
6501
  PyObject *swig_obj[1] ;
 
6502
  
 
6503
  if (!args) SWIG_fail;
 
6504
  swig_obj[0] = args;
 
6505
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextAttrEx, 0 |  0 );
 
6506
  if (!SWIG_IsOK(res1)) {
 
6507
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttrEx_IsCharacterStyle" "', expected argument " "1"" of type '" "wxTextAttrEx const *""'"); 
 
6508
  }
 
6509
  arg1 = reinterpret_cast< wxTextAttrEx * >(argp1);
 
6510
  {
 
6511
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
6512
    result = (bool)((wxTextAttrEx const *)arg1)->IsCharacterStyle();
 
6513
    wxPyEndAllowThreads(__tstate);
 
6514
    if (PyErr_Occurred()) SWIG_fail;
 
6515
  }
 
6516
  {
 
6517
    resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
 
6518
  }
 
6519
  return resultobj;
 
6520
fail:
 
6521
  return NULL;
 
6522
}
 
6523
 
 
6524
 
 
6525
SWIGINTERN PyObject *_wrap_TextAttrEx_IsParagraphStyle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
6526
  PyObject *resultobj = 0;
 
6527
  wxTextAttrEx *arg1 = (wxTextAttrEx *) 0 ;
 
6528
  bool result;
 
6529
  void *argp1 = 0 ;
 
6530
  int res1 = 0 ;
 
6531
  PyObject *swig_obj[1] ;
 
6532
  
 
6533
  if (!args) SWIG_fail;
 
6534
  swig_obj[0] = args;
 
6535
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextAttrEx, 0 |  0 );
 
6536
  if (!SWIG_IsOK(res1)) {
 
6537
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttrEx_IsParagraphStyle" "', expected argument " "1"" of type '" "wxTextAttrEx const *""'"); 
 
6538
  }
 
6539
  arg1 = reinterpret_cast< wxTextAttrEx * >(argp1);
 
6540
  {
 
6541
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
6542
    result = (bool)((wxTextAttrEx const *)arg1)->IsParagraphStyle();
 
6543
    wxPyEndAllowThreads(__tstate);
 
6544
    if (PyErr_Occurred()) SWIG_fail;
 
6545
  }
 
6546
  {
 
6547
    resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
 
6548
  }
 
6549
  return resultobj;
 
6550
fail:
 
6551
  return NULL;
 
6552
}
 
6553
 
 
6554
 
 
6555
SWIGINTERN PyObject *_wrap_TextAttrEx_IsDefault(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
6556
  PyObject *resultobj = 0;
 
6557
  wxTextAttrEx *arg1 = (wxTextAttrEx *) 0 ;
 
6558
  bool result;
 
6559
  void *argp1 = 0 ;
 
6560
  int res1 = 0 ;
 
6561
  PyObject *swig_obj[1] ;
 
6562
  
 
6563
  if (!args) SWIG_fail;
 
6564
  swig_obj[0] = args;
 
6565
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextAttrEx, 0 |  0 );
 
6566
  if (!SWIG_IsOK(res1)) {
 
6567
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttrEx_IsDefault" "', expected argument " "1"" of type '" "wxTextAttrEx const *""'"); 
 
6568
  }
 
6569
  arg1 = reinterpret_cast< wxTextAttrEx * >(argp1);
 
6570
  {
 
6571
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
6572
    result = (bool)((wxTextAttrEx const *)arg1)->IsDefault();
 
6573
    wxPyEndAllowThreads(__tstate);
 
6574
    if (PyErr_Occurred()) SWIG_fail;
 
6575
  }
 
6576
  {
 
6577
    resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
 
6578
  }
 
6579
  return resultobj;
 
6580
fail:
 
6581
  return NULL;
 
6582
}
 
6583
 
 
6584
 
 
6585
SWIGINTERN PyObject *_wrap_TextAttrEx_CombineEx(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
6586
  PyObject *resultobj = 0;
 
6587
  wxTextAttrEx *arg1 = 0 ;
 
6588
  wxTextAttrEx *arg2 = 0 ;
 
6589
  wxRichTextCtrl *arg3 = (wxRichTextCtrl *) 0 ;
 
6590
  wxTextAttrEx result;
 
6591
  void *argp1 = 0 ;
 
6592
  int res1 = 0 ;
 
6593
  void *argp2 = 0 ;
 
6594
  int res2 = 0 ;
 
6595
  void *argp3 = 0 ;
 
6596
  int res3 = 0 ;
 
6597
  PyObject * obj0 = 0 ;
 
6598
  PyObject * obj1 = 0 ;
 
6599
  PyObject * obj2 = 0 ;
 
6600
  char *  kwnames[] = {
 
6601
    (char *) "attr",(char *) "attrDef",(char *) "text", NULL 
 
6602
  };
 
6603
  
 
6604
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextAttrEx_CombineEx",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
 
6605
  res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_wxTextAttrEx,  0  | 0);
 
6606
  if (!SWIG_IsOK(res1)) {
 
6607
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttrEx_CombineEx" "', expected argument " "1"" of type '" "wxTextAttrEx const &""'"); 
 
6608
  }
 
6609
  if (!argp1) {
 
6610
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TextAttrEx_CombineEx" "', expected argument " "1"" of type '" "wxTextAttrEx const &""'"); 
 
6611
  }
 
6612
  arg1 = reinterpret_cast< wxTextAttrEx * >(argp1);
 
6613
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTextAttrEx,  0  | 0);
 
6614
  if (!SWIG_IsOK(res2)) {
 
6615
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TextAttrEx_CombineEx" "', expected argument " "2"" of type '" "wxTextAttrEx const &""'"); 
 
6616
  }
 
6617
  if (!argp2) {
 
6618
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TextAttrEx_CombineEx" "', expected argument " "2"" of type '" "wxTextAttrEx const &""'"); 
 
6619
  }
 
6620
  arg2 = reinterpret_cast< wxTextAttrEx * >(argp2);
 
6621
  res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxRichTextCtrl, 0 |  0 );
 
6622
  if (!SWIG_IsOK(res3)) {
 
6623
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "TextAttrEx_CombineEx" "', expected argument " "3"" of type '" "wxRichTextCtrl const *""'"); 
 
6624
  }
 
6625
  arg3 = reinterpret_cast< wxRichTextCtrl * >(argp3);
 
6626
  {
 
6627
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
6628
    result = wxTextAttrEx::CombineEx((wxTextAttrEx const &)*arg1,(wxTextAttrEx const &)*arg2,(wxRichTextCtrl const *)arg3);
 
6629
    wxPyEndAllowThreads(__tstate);
 
6630
    if (PyErr_Occurred()) SWIG_fail;
 
6631
  }
 
6632
  resultobj = SWIG_NewPointerObj((new wxTextAttrEx(static_cast< const wxTextAttrEx& >(result))), SWIGTYPE_p_wxTextAttrEx, SWIG_POINTER_OWN |  0 );
 
6633
  return resultobj;
 
6634
fail:
 
6635
  return NULL;
 
6636
}
 
6637
 
 
6638
 
 
6639
SWIGINTERN PyObject *TextAttrEx_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
6640
  PyObject *obj;
 
6641
  if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
 
6642
  SWIG_TypeNewClientData(SWIGTYPE_p_wxTextAttrEx, SWIG_NewClientData(obj));
 
6643
  return SWIG_Py_Void();
 
6644
}
 
6645
 
 
6646
SWIGINTERN PyObject *TextAttrEx_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
6647
  return SWIG_Python_InitShadowInstance(args);
 
6648
}
 
6649
 
 
6650
SWIGINTERN PyObject *_wrap_delete_RichTextObject(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
6651
  PyObject *resultobj = 0;
 
6652
  wxRichTextObject *arg1 = (wxRichTextObject *) 0 ;
 
6653
  void *argp1 = 0 ;
 
6654
  int res1 = 0 ;
 
6655
  PyObject *swig_obj[1] ;
 
6656
  
 
6657
  if (!args) SWIG_fail;
 
6658
  swig_obj[0] = args;
 
6659
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextObject, SWIG_POINTER_DISOWN |  0 );
 
6660
  if (!SWIG_IsOK(res1)) {
 
6661
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_RichTextObject" "', expected argument " "1"" of type '" "wxRichTextObject *""'"); 
 
6662
  }
 
6663
  arg1 = reinterpret_cast< wxRichTextObject * >(argp1);
 
6664
  {
 
6665
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
6666
    delete arg1;
 
6667
    
 
6668
    wxPyEndAllowThreads(__tstate);
 
6669
    if (PyErr_Occurred()) SWIG_fail;
 
6670
  }
 
6671
  resultobj = SWIG_Py_Void();
 
6672
  return resultobj;
 
6673
fail:
 
6674
  return NULL;
 
6675
}
 
6676
 
 
6677
 
 
6678
SWIGINTERN PyObject *_wrap_RichTextObject_Draw(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
6679
  PyObject *resultobj = 0;
 
6680
  wxRichTextObject *arg1 = (wxRichTextObject *) 0 ;
 
6681
  wxDC *arg2 = 0 ;
 
6682
  wxRichTextRange *arg3 = 0 ;
 
6683
  wxRichTextRange *arg4 = 0 ;
 
6684
  wxRect *arg5 = 0 ;
 
6685
  int arg6 ;
 
6686
  int arg7 ;
 
6687
  bool result;
 
6688
  void *argp1 = 0 ;
 
6689
  int res1 = 0 ;
 
6690
  void *argp2 = 0 ;
 
6691
  int res2 = 0 ;
 
6692
  wxRichTextRange temp3 ;
 
6693
  wxRichTextRange temp4 ;
 
6694
  wxRect temp5 ;
 
6695
  int val6 ;
 
6696
  int ecode6 = 0 ;
 
6697
  int val7 ;
 
6698
  int ecode7 = 0 ;
 
6699
  PyObject * obj0 = 0 ;
 
6700
  PyObject * obj1 = 0 ;
 
6701
  PyObject * obj2 = 0 ;
 
6702
  PyObject * obj3 = 0 ;
 
6703
  PyObject * obj4 = 0 ;
 
6704
  PyObject * obj5 = 0 ;
 
6705
  PyObject * obj6 = 0 ;
 
6706
  char *  kwnames[] = {
 
6707
    (char *) "self",(char *) "dc",(char *) "range",(char *) "selectionRange",(char *) "rect",(char *) "descent",(char *) "style", NULL 
 
6708
  };
 
6709
  
 
6710
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOOO:RichTextObject_Draw",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
 
6711
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextObject, 0 |  0 );
 
6712
  if (!SWIG_IsOK(res1)) {
 
6713
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextObject_Draw" "', expected argument " "1"" of type '" "wxRichTextObject *""'"); 
 
6714
  }
 
6715
  arg1 = reinterpret_cast< wxRichTextObject * >(argp1);
 
6716
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxDC,  0 );
 
6717
  if (!SWIG_IsOK(res2)) {
 
6718
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "RichTextObject_Draw" "', expected argument " "2"" of type '" "wxDC &""'"); 
 
6719
  }
 
6720
  if (!argp2) {
 
6721
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "RichTextObject_Draw" "', expected argument " "2"" of type '" "wxDC &""'"); 
 
6722
  }
 
6723
  arg2 = reinterpret_cast< wxDC * >(argp2);
 
6724
  {
 
6725
    arg3 = &temp3;
 
6726
    if ( ! wxRichTextRange_helper(obj2, &arg3)) SWIG_fail;
 
6727
  }
 
6728
  {
 
6729
    arg4 = &temp4;
 
6730
    if ( ! wxRichTextRange_helper(obj3, &arg4)) SWIG_fail;
 
6731
  }
 
6732
  {
 
6733
    arg5 = &temp5;
 
6734
    if ( ! wxRect_helper(obj4, &arg5)) SWIG_fail;
 
6735
  }
 
6736
  ecode6 = SWIG_AsVal_int(obj5, &val6);
 
6737
  if (!SWIG_IsOK(ecode6)) {
 
6738
    SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "RichTextObject_Draw" "', expected argument " "6"" of type '" "int""'");
 
6739
  } 
 
6740
  arg6 = static_cast< int >(val6);
 
6741
  ecode7 = SWIG_AsVal_int(obj6, &val7);
 
6742
  if (!SWIG_IsOK(ecode7)) {
 
6743
    SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "RichTextObject_Draw" "', expected argument " "7"" of type '" "int""'");
 
6744
  } 
 
6745
  arg7 = static_cast< int >(val7);
 
6746
  {
 
6747
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
6748
    result = (bool)(arg1)->Draw(*arg2,(wxRichTextRange const &)*arg3,(wxRichTextRange const &)*arg4,(wxRect const &)*arg5,arg6,arg7);
 
6749
    wxPyEndAllowThreads(__tstate);
 
6750
    if (PyErr_Occurred()) SWIG_fail;
 
6751
  }
 
6752
  {
 
6753
    resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
 
6754
  }
 
6755
  return resultobj;
 
6756
fail:
 
6757
  return NULL;
 
6758
}
 
6759
 
 
6760
 
 
6761
SWIGINTERN PyObject *_wrap_RichTextObject_Layout(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
6762
  PyObject *resultobj = 0;
 
6763
  wxRichTextObject *arg1 = (wxRichTextObject *) 0 ;
 
6764
  wxDC *arg2 = 0 ;
 
6765
  wxRect *arg3 = 0 ;
 
6766
  int arg4 ;
 
6767
  bool result;
 
6768
  void *argp1 = 0 ;
 
6769
  int res1 = 0 ;
 
6770
  void *argp2 = 0 ;
 
6771
  int res2 = 0 ;
 
6772
  wxRect temp3 ;
 
6773
  int val4 ;
 
6774
  int ecode4 = 0 ;
 
6775
  PyObject * obj0 = 0 ;
 
6776
  PyObject * obj1 = 0 ;
 
6777
  PyObject * obj2 = 0 ;
 
6778
  PyObject * obj3 = 0 ;
 
6779
  char *  kwnames[] = {
 
6780
    (char *) "self",(char *) "dc",(char *) "rect",(char *) "style", NULL 
 
6781
  };
 
6782
  
 
6783
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:RichTextObject_Layout",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
 
6784
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextObject, 0 |  0 );
 
6785
  if (!SWIG_IsOK(res1)) {
 
6786
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextObject_Layout" "', expected argument " "1"" of type '" "wxRichTextObject *""'"); 
 
6787
  }
 
6788
  arg1 = reinterpret_cast< wxRichTextObject * >(argp1);
 
6789
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxDC,  0 );
 
6790
  if (!SWIG_IsOK(res2)) {
 
6791
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "RichTextObject_Layout" "', expected argument " "2"" of type '" "wxDC &""'"); 
 
6792
  }
 
6793
  if (!argp2) {
 
6794
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "RichTextObject_Layout" "', expected argument " "2"" of type '" "wxDC &""'"); 
 
6795
  }
 
6796
  arg2 = reinterpret_cast< wxDC * >(argp2);
 
6797
  {
 
6798
    arg3 = &temp3;
 
6799
    if ( ! wxRect_helper(obj2, &arg3)) SWIG_fail;
 
6800
  }
 
6801
  ecode4 = SWIG_AsVal_int(obj3, &val4);
 
6802
  if (!SWIG_IsOK(ecode4)) {
 
6803
    SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "RichTextObject_Layout" "', expected argument " "4"" of type '" "int""'");
 
6804
  } 
 
6805
  arg4 = static_cast< int >(val4);
 
6806
  {
 
6807
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
6808
    result = (bool)(arg1)->Layout(*arg2,(wxRect const &)*arg3,arg4);
 
6809
    wxPyEndAllowThreads(__tstate);
 
6810
    if (PyErr_Occurred()) SWIG_fail;
 
6811
  }
 
6812
  {
 
6813
    resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
 
6814
  }
 
6815
  return resultobj;
 
6816
fail:
 
6817
  return NULL;
 
6818
}
 
6819
 
 
6820
 
 
6821
SWIGINTERN PyObject *_wrap_RichTextObject_HitTest(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
6822
  PyObject *resultobj = 0;
 
6823
  wxRichTextObject *arg1 = (wxRichTextObject *) 0 ;
 
6824
  wxDC *arg2 = 0 ;
 
6825
  wxPoint *arg3 = 0 ;
 
6826
  long *arg4 = 0 ;
 
6827
  int result;
 
6828
  void *argp1 = 0 ;
 
6829
  int res1 = 0 ;
 
6830
  void *argp2 = 0 ;
 
6831
  int res2 = 0 ;
 
6832
  wxPoint temp3 ;
 
6833
  long temp4 ;
 
6834
  int res4 = SWIG_TMPOBJ ;
 
6835
  PyObject * obj0 = 0 ;
 
6836
  PyObject * obj1 = 0 ;
 
6837
  PyObject * obj2 = 0 ;
 
6838
  char *  kwnames[] = {
 
6839
    (char *) "self",(char *) "dc",(char *) "pt", NULL 
 
6840
  };
 
6841
  
 
6842
  arg4 = &temp4;
 
6843
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:RichTextObject_HitTest",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
 
6844
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextObject, 0 |  0 );
 
6845
  if (!SWIG_IsOK(res1)) {
 
6846
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextObject_HitTest" "', expected argument " "1"" of type '" "wxRichTextObject *""'"); 
 
6847
  }
 
6848
  arg1 = reinterpret_cast< wxRichTextObject * >(argp1);
 
6849
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxDC,  0 );
 
6850
  if (!SWIG_IsOK(res2)) {
 
6851
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "RichTextObject_HitTest" "', expected argument " "2"" of type '" "wxDC &""'"); 
 
6852
  }
 
6853
  if (!argp2) {
 
6854
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "RichTextObject_HitTest" "', expected argument " "2"" of type '" "wxDC &""'"); 
 
6855
  }
 
6856
  arg2 = reinterpret_cast< wxDC * >(argp2);
 
6857
  {
 
6858
    arg3 = &temp3;
 
6859
    if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
 
6860
  }
 
6861
  {
 
6862
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
6863
    result = (int)(arg1)->HitTest(*arg2,(wxPoint const &)*arg3,*arg4);
 
6864
    wxPyEndAllowThreads(__tstate);
 
6865
    if (PyErr_Occurred()) SWIG_fail;
 
6866
  }
 
6867
  resultobj = SWIG_From_int(static_cast< int >(result));
 
6868
  if (SWIG_IsTmpObj(res4)) {
 
6869
    resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_long((*arg4)));
 
6870
  } else {
 
6871
    int new_flags = SWIG_IsNewObj(res4) ? (SWIG_POINTER_OWN |  0 ) :  0 ;
 
6872
    resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_long, new_flags));
 
6873
  }
 
6874
  return resultobj;
 
6875
fail:
 
6876
  return NULL;
 
6877
}
 
6878
 
 
6879
 
 
6880
SWIGINTERN PyObject *_wrap_RichTextObject_FindPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
6881
  PyObject *resultobj = 0;
 
6882
  wxRichTextObject *arg1 = (wxRichTextObject *) 0 ;
 
6883
  wxDC *arg2 = 0 ;
 
6884
  long arg3 ;
 
6885
  wxPoint *arg4 = 0 ;
 
6886
  int *arg5 = (int *) 0 ;
 
6887
  bool arg6 ;
 
6888
  bool result;
 
6889
  void *argp1 = 0 ;
 
6890
  int res1 = 0 ;
 
6891
  void *argp2 = 0 ;
 
6892
  int res2 = 0 ;
 
6893
  long val3 ;
 
6894
  int ecode3 = 0 ;
 
6895
  wxPoint temp4 ;
 
6896
  int temp5 ;
 
6897
  int res5 = SWIG_TMPOBJ ;
 
6898
  bool val6 ;
 
6899
  int ecode6 = 0 ;
 
6900
  PyObject * obj0 = 0 ;
 
6901
  PyObject * obj1 = 0 ;
 
6902
  PyObject * obj2 = 0 ;
 
6903
  PyObject * obj3 = 0 ;
 
6904
  char *  kwnames[] = {
 
6905
    (char *) "self",(char *) "dc",(char *) "index",(char *) "forceLineStart", NULL 
 
6906
  };
 
6907
  
 
6908
  arg4 = &temp4;
 
6909
  arg5 = &temp5;
 
6910
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:RichTextObject_FindPosition",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
 
6911
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextObject, 0 |  0 );
 
6912
  if (!SWIG_IsOK(res1)) {
 
6913
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextObject_FindPosition" "', expected argument " "1"" of type '" "wxRichTextObject *""'"); 
 
6914
  }
 
6915
  arg1 = reinterpret_cast< wxRichTextObject * >(argp1);
 
6916
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxDC,  0 );
 
6917
  if (!SWIG_IsOK(res2)) {
 
6918
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "RichTextObject_FindPosition" "', expected argument " "2"" of type '" "wxDC &""'"); 
 
6919
  }
 
6920
  if (!argp2) {
 
6921
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "RichTextObject_FindPosition" "', expected argument " "2"" of type '" "wxDC &""'"); 
 
6922
  }
 
6923
  arg2 = reinterpret_cast< wxDC * >(argp2);
 
6924
  ecode3 = SWIG_AsVal_long(obj2, &val3);
 
6925
  if (!SWIG_IsOK(ecode3)) {
 
6926
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "RichTextObject_FindPosition" "', expected argument " "3"" of type '" "long""'");
 
6927
  } 
 
6928
  arg3 = static_cast< long >(val3);
 
6929
  ecode6 = SWIG_AsVal_bool(obj3, &val6);
 
6930
  if (!SWIG_IsOK(ecode6)) {
 
6931
    SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "RichTextObject_FindPosition" "', expected argument " "6"" of type '" "bool""'");
 
6932
  } 
 
6933
  arg6 = static_cast< bool >(val6);
 
6934
  {
 
6935
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
6936
    result = (bool)(arg1)->FindPosition(*arg2,arg3,*arg4,arg5,arg6);
 
6937
    wxPyEndAllowThreads(__tstate);
 
6938
    if (PyErr_Occurred()) SWIG_fail;
 
6939
  }
 
6940
  {
 
6941
    resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
 
6942
  }
 
6943
  resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)new wxPoint(*arg4), SWIGTYPE_p_wxPoint, SWIG_POINTER_OWN));
 
6944
  if (SWIG_IsTmpObj(res5)) {
 
6945
    resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg5)));
 
6946
  } else {
 
6947
    int new_flags = SWIG_IsNewObj(res5) ? (SWIG_POINTER_OWN |  0 ) :  0 ;
 
6948
    resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg5), SWIGTYPE_p_int, new_flags));
 
6949
  }
 
6950
  return resultobj;
 
6951
fail:
 
6952
  return NULL;
 
6953
}
 
6954
 
 
6955
 
 
6956
SWIGINTERN PyObject *_wrap_RichTextObject_GetBestSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
6957
  PyObject *resultobj = 0;
 
6958
  wxRichTextObject *arg1 = (wxRichTextObject *) 0 ;
 
6959
  wxSize result;
 
6960
  void *argp1 = 0 ;
 
6961
  int res1 = 0 ;
 
6962
  PyObject *swig_obj[1] ;
 
6963
  
 
6964
  if (!args) SWIG_fail;
 
6965
  swig_obj[0] = args;
 
6966
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextObject, 0 |  0 );
 
6967
  if (!SWIG_IsOK(res1)) {
 
6968
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextObject_GetBestSize" "', expected argument " "1"" of type '" "wxRichTextObject const *""'"); 
 
6969
  }
 
6970
  arg1 = reinterpret_cast< wxRichTextObject * >(argp1);
 
6971
  {
 
6972
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
6973
    result = ((wxRichTextObject const *)arg1)->GetBestSize();
 
6974
    wxPyEndAllowThreads(__tstate);
 
6975
    if (PyErr_Occurred()) SWIG_fail;
 
6976
  }
 
6977
  resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN |  0 );
 
6978
  return resultobj;
 
6979
fail:
 
6980
  return NULL;
 
6981
}
 
6982
 
 
6983
 
 
6984
SWIGINTERN PyObject *_wrap_RichTextObject_GetRangeSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
6985
  PyObject *resultobj = 0;
 
6986
  wxRichTextObject *arg1 = (wxRichTextObject *) 0 ;
 
6987
  wxRichTextRange *arg2 = 0 ;
 
6988
  wxSize *arg3 = 0 ;
 
6989
  int *arg4 = 0 ;
 
6990
  wxDC *arg5 = 0 ;
 
6991
  int arg6 ;
 
6992
  wxPoint arg7 = (wxPoint) wxPoint(0,0) ;
 
6993
  bool result;
 
6994
  void *argp1 = 0 ;
 
6995
  int res1 = 0 ;
 
6996
  wxRichTextRange temp2 ;
 
6997
  wxSize temp3 ;
 
6998
  int temp4 ;
 
6999
  int res4 = SWIG_TMPOBJ ;
 
7000
  void *argp5 = 0 ;
 
7001
  int res5 = 0 ;
 
7002
  int val6 ;
 
7003
  int ecode6 = 0 ;
 
7004
  void *argp7 ;
 
7005
  int res7 = 0 ;
 
7006
  PyObject * obj0 = 0 ;
 
7007
  PyObject * obj1 = 0 ;
 
7008
  PyObject * obj2 = 0 ;
 
7009
  PyObject * obj3 = 0 ;
 
7010
  PyObject * obj4 = 0 ;
 
7011
  char *  kwnames[] = {
 
7012
    (char *) "self",(char *) "range",(char *) "dc",(char *) "flags",(char *) "position", NULL 
 
7013
  };
 
7014
  
 
7015
  arg3 = &temp3;
 
7016
  arg4 = &temp4;
 
7017
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|O:RichTextObject_GetRangeSize",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
 
7018
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextObject, 0 |  0 );
 
7019
  if (!SWIG_IsOK(res1)) {
 
7020
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextObject_GetRangeSize" "', expected argument " "1"" of type '" "wxRichTextObject const *""'"); 
 
7021
  }
 
7022
  arg1 = reinterpret_cast< wxRichTextObject * >(argp1);
 
7023
  {
 
7024
    arg2 = &temp2;
 
7025
    if ( ! wxRichTextRange_helper(obj1, &arg2)) SWIG_fail;
 
7026
  }
 
7027
  res5 = SWIG_ConvertPtr(obj2, &argp5, SWIGTYPE_p_wxDC,  0 );
 
7028
  if (!SWIG_IsOK(res5)) {
 
7029
    SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "RichTextObject_GetRangeSize" "', expected argument " "5"" of type '" "wxDC &""'"); 
 
7030
  }
 
7031
  if (!argp5) {
 
7032
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "RichTextObject_GetRangeSize" "', expected argument " "5"" of type '" "wxDC &""'"); 
 
7033
  }
 
7034
  arg5 = reinterpret_cast< wxDC * >(argp5);
 
7035
  ecode6 = SWIG_AsVal_int(obj3, &val6);
 
7036
  if (!SWIG_IsOK(ecode6)) {
 
7037
    SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "RichTextObject_GetRangeSize" "', expected argument " "6"" of type '" "int""'");
 
7038
  } 
 
7039
  arg6 = static_cast< int >(val6);
 
7040
  if (obj4) {
 
7041
    {
 
7042
      res7 = SWIG_ConvertPtr(obj4, &argp7, SWIGTYPE_p_wxPoint,  0  | 0);
 
7043
      if (!SWIG_IsOK(res7)) {
 
7044
        SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "RichTextObject_GetRangeSize" "', expected argument " "7"" of type '" "wxPoint""'"); 
 
7045
      }  
 
7046
      if (!argp7) {
 
7047
        SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "RichTextObject_GetRangeSize" "', expected argument " "7"" of type '" "wxPoint""'");
 
7048
      } else {
 
7049
        wxPoint * temp = reinterpret_cast< wxPoint * >(argp7);
 
7050
        arg7 = *temp;
 
7051
        if (SWIG_IsNewObj(res7)) delete temp;
 
7052
      }
 
7053
    }
 
7054
  }
 
7055
  {
 
7056
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
7057
    result = (bool)((wxRichTextObject const *)arg1)->GetRangeSize((wxRichTextRange const &)*arg2,*arg3,*arg4,*arg5,arg6,arg7);
 
7058
    wxPyEndAllowThreads(__tstate);
 
7059
    if (PyErr_Occurred()) SWIG_fail;
 
7060
  }
 
7061
  {
 
7062
    resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
 
7063
  }
 
7064
  resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)new wxSize(*arg3), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN));
 
7065
  if (SWIG_IsTmpObj(res4)) {
 
7066
    resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg4)));
 
7067
  } else {
 
7068
    int new_flags = SWIG_IsNewObj(res4) ? (SWIG_POINTER_OWN |  0 ) :  0 ;
 
7069
    resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_int, new_flags));
 
7070
  }
 
7071
  return resultobj;
 
7072
fail:
 
7073
  return NULL;
 
7074
}
 
7075
 
 
7076
 
 
7077
SWIGINTERN PyObject *_wrap_RichTextObject_DoSplit(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
7078
  PyObject *resultobj = 0;
 
7079
  wxRichTextObject *arg1 = (wxRichTextObject *) 0 ;
 
7080
  long arg2 ;
 
7081
  wxRichTextObject *result = 0 ;
 
7082
  void *argp1 = 0 ;
 
7083
  int res1 = 0 ;
 
7084
  long val2 ;
 
7085
  int ecode2 = 0 ;
 
7086
  PyObject * obj0 = 0 ;
 
7087
  PyObject * obj1 = 0 ;
 
7088
  char *  kwnames[] = {
 
7089
    (char *) "self",(char *) "pos", NULL 
 
7090
  };
 
7091
  
 
7092
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RichTextObject_DoSplit",kwnames,&obj0,&obj1)) SWIG_fail;
 
7093
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextObject, 0 |  0 );
 
7094
  if (!SWIG_IsOK(res1)) {
 
7095
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextObject_DoSplit" "', expected argument " "1"" of type '" "wxRichTextObject *""'"); 
 
7096
  }
 
7097
  arg1 = reinterpret_cast< wxRichTextObject * >(argp1);
 
7098
  ecode2 = SWIG_AsVal_long(obj1, &val2);
 
7099
  if (!SWIG_IsOK(ecode2)) {
 
7100
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RichTextObject_DoSplit" "', expected argument " "2"" of type '" "long""'");
 
7101
  } 
 
7102
  arg2 = static_cast< long >(val2);
 
7103
  {
 
7104
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
7105
    result = (wxRichTextObject *)(arg1)->DoSplit(arg2);
 
7106
    wxPyEndAllowThreads(__tstate);
 
7107
    if (PyErr_Occurred()) SWIG_fail;
 
7108
  }
 
7109
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxRichTextObject, 0 |  0 );
 
7110
  return resultobj;
 
7111
fail:
 
7112
  return NULL;
 
7113
}
 
7114
 
 
7115
 
 
7116
SWIGINTERN PyObject *_wrap_RichTextObject_CalculateRange(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
7117
  PyObject *resultobj = 0;
 
7118
  wxRichTextObject *arg1 = (wxRichTextObject *) 0 ;
 
7119
  long arg2 ;
 
7120
  long *arg3 = 0 ;
 
7121
  void *argp1 = 0 ;
 
7122
  int res1 = 0 ;
 
7123
  long val2 ;
 
7124
  int ecode2 = 0 ;
 
7125
  long temp3 ;
 
7126
  int res3 = SWIG_TMPOBJ ;
 
7127
  PyObject * obj0 = 0 ;
 
7128
  PyObject * obj1 = 0 ;
 
7129
  char *  kwnames[] = {
 
7130
    (char *) "self",(char *) "start", NULL 
 
7131
  };
 
7132
  
 
7133
  arg3 = &temp3;
 
7134
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RichTextObject_CalculateRange",kwnames,&obj0,&obj1)) SWIG_fail;
 
7135
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextObject, 0 |  0 );
 
7136
  if (!SWIG_IsOK(res1)) {
 
7137
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextObject_CalculateRange" "', expected argument " "1"" of type '" "wxRichTextObject *""'"); 
 
7138
  }
 
7139
  arg1 = reinterpret_cast< wxRichTextObject * >(argp1);
 
7140
  ecode2 = SWIG_AsVal_long(obj1, &val2);
 
7141
  if (!SWIG_IsOK(ecode2)) {
 
7142
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RichTextObject_CalculateRange" "', expected argument " "2"" of type '" "long""'");
 
7143
  } 
 
7144
  arg2 = static_cast< long >(val2);
 
7145
  {
 
7146
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
7147
    (arg1)->CalculateRange(arg2,*arg3);
 
7148
    wxPyEndAllowThreads(__tstate);
 
7149
    if (PyErr_Occurred()) SWIG_fail;
 
7150
  }
 
7151
  resultobj = SWIG_Py_Void();
 
7152
  if (SWIG_IsTmpObj(res3)) {
 
7153
    resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_long((*arg3)));
 
7154
  } else {
 
7155
    int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN |  0 ) :  0 ;
 
7156
    resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_long, new_flags));
 
7157
  }
 
7158
  return resultobj;
 
7159
fail:
 
7160
  return NULL;
 
7161
}
 
7162
 
 
7163
 
 
7164
SWIGINTERN PyObject *_wrap_RichTextObject_DeleteRange(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
7165
  PyObject *resultobj = 0;
 
7166
  wxRichTextObject *arg1 = (wxRichTextObject *) 0 ;
 
7167
  wxRichTextRange *arg2 = 0 ;
 
7168
  bool result;
 
7169
  void *argp1 = 0 ;
 
7170
  int res1 = 0 ;
 
7171
  wxRichTextRange temp2 ;
 
7172
  PyObject * obj0 = 0 ;
 
7173
  PyObject * obj1 = 0 ;
 
7174
  char *  kwnames[] = {
 
7175
    (char *) "self",(char *) "range", NULL 
 
7176
  };
 
7177
  
 
7178
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RichTextObject_DeleteRange",kwnames,&obj0,&obj1)) SWIG_fail;
 
7179
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextObject, 0 |  0 );
 
7180
  if (!SWIG_IsOK(res1)) {
 
7181
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextObject_DeleteRange" "', expected argument " "1"" of type '" "wxRichTextObject *""'"); 
 
7182
  }
 
7183
  arg1 = reinterpret_cast< wxRichTextObject * >(argp1);
 
7184
  {
 
7185
    arg2 = &temp2;
 
7186
    if ( ! wxRichTextRange_helper(obj1, &arg2)) SWIG_fail;
 
7187
  }
 
7188
  {
 
7189
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
7190
    result = (bool)(arg1)->DeleteRange((wxRichTextRange const &)*arg2);
 
7191
    wxPyEndAllowThreads(__tstate);
 
7192
    if (PyErr_Occurred()) SWIG_fail;
 
7193
  }
 
7194
  {
 
7195
    resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
 
7196
  }
 
7197
  return resultobj;
 
7198
fail:
 
7199
  return NULL;
 
7200
}
 
7201
 
 
7202
 
 
7203
SWIGINTERN PyObject *_wrap_RichTextObject_IsEmpty(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
7204
  PyObject *resultobj = 0;
 
7205
  wxRichTextObject *arg1 = (wxRichTextObject *) 0 ;
 
7206
  bool result;
 
7207
  void *argp1 = 0 ;
 
7208
  int res1 = 0 ;
 
7209
  PyObject *swig_obj[1] ;
 
7210
  
 
7211
  if (!args) SWIG_fail;
 
7212
  swig_obj[0] = args;
 
7213
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextObject, 0 |  0 );
 
7214
  if (!SWIG_IsOK(res1)) {
 
7215
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextObject_IsEmpty" "', expected argument " "1"" of type '" "wxRichTextObject const *""'"); 
 
7216
  }
 
7217
  arg1 = reinterpret_cast< wxRichTextObject * >(argp1);
 
7218
  {
 
7219
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
7220
    result = (bool)((wxRichTextObject const *)arg1)->IsEmpty();
 
7221
    wxPyEndAllowThreads(__tstate);
 
7222
    if (PyErr_Occurred()) SWIG_fail;
 
7223
  }
 
7224
  {
 
7225
    resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
 
7226
  }
 
7227
  return resultobj;
 
7228
fail:
 
7229
  return NULL;
 
7230
}
 
7231
 
 
7232
 
 
7233
SWIGINTERN PyObject *_wrap_RichTextObject_GetTextForRange(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
7234
  PyObject *resultobj = 0;
 
7235
  wxRichTextObject *arg1 = (wxRichTextObject *) 0 ;
 
7236
  wxRichTextRange *arg2 = 0 ;
 
7237
  wxString result;
 
7238
  void *argp1 = 0 ;
 
7239
  int res1 = 0 ;
 
7240
  wxRichTextRange temp2 ;
 
7241
  PyObject * obj0 = 0 ;
 
7242
  PyObject * obj1 = 0 ;
 
7243
  char *  kwnames[] = {
 
7244
    (char *) "self",(char *) "range", NULL 
 
7245
  };
 
7246
  
 
7247
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RichTextObject_GetTextForRange",kwnames,&obj0,&obj1)) SWIG_fail;
 
7248
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextObject, 0 |  0 );
 
7249
  if (!SWIG_IsOK(res1)) {
 
7250
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextObject_GetTextForRange" "', expected argument " "1"" of type '" "wxRichTextObject const *""'"); 
 
7251
  }
 
7252
  arg1 = reinterpret_cast< wxRichTextObject * >(argp1);
 
7253
  {
 
7254
    arg2 = &temp2;
 
7255
    if ( ! wxRichTextRange_helper(obj1, &arg2)) SWIG_fail;
 
7256
  }
 
7257
  {
 
7258
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
7259
    result = ((wxRichTextObject const *)arg1)->GetTextForRange((wxRichTextRange const &)*arg2);
 
7260
    wxPyEndAllowThreads(__tstate);
 
7261
    if (PyErr_Occurred()) SWIG_fail;
 
7262
  }
 
7263
  {
 
7264
#if wxUSE_UNICODE
 
7265
    resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
 
7266
#else
 
7267
    resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
 
7268
#endif
 
7269
  }
 
7270
  return resultobj;
 
7271
fail:
 
7272
  return NULL;
 
7273
}
 
7274
 
 
7275
 
 
7276
SWIGINTERN PyObject *_wrap_RichTextObject_CanMerge(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
7277
  PyObject *resultobj = 0;
 
7278
  wxRichTextObject *arg1 = (wxRichTextObject *) 0 ;
 
7279
  wxRichTextObject *arg2 = (wxRichTextObject *) 0 ;
 
7280
  bool result;
 
7281
  void *argp1 = 0 ;
 
7282
  int res1 = 0 ;
 
7283
  void *argp2 = 0 ;
 
7284
  int res2 = 0 ;
 
7285
  PyObject * obj0 = 0 ;
 
7286
  PyObject * obj1 = 0 ;
 
7287
  char *  kwnames[] = {
 
7288
    (char *) "self",(char *) "object", NULL 
 
7289
  };
 
7290
  
 
7291
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RichTextObject_CanMerge",kwnames,&obj0,&obj1)) SWIG_fail;
 
7292
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextObject, 0 |  0 );
 
7293
  if (!SWIG_IsOK(res1)) {
 
7294
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextObject_CanMerge" "', expected argument " "1"" of type '" "wxRichTextObject const *""'"); 
 
7295
  }
 
7296
  arg1 = reinterpret_cast< wxRichTextObject * >(argp1);
 
7297
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxRichTextObject, 0 |  0 );
 
7298
  if (!SWIG_IsOK(res2)) {
 
7299
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "RichTextObject_CanMerge" "', expected argument " "2"" of type '" "wxRichTextObject *""'"); 
 
7300
  }
 
7301
  arg2 = reinterpret_cast< wxRichTextObject * >(argp2);
 
7302
  {
 
7303
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
7304
    result = (bool)((wxRichTextObject const *)arg1)->CanMerge(arg2);
 
7305
    wxPyEndAllowThreads(__tstate);
 
7306
    if (PyErr_Occurred()) SWIG_fail;
 
7307
  }
 
7308
  {
 
7309
    resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
 
7310
  }
 
7311
  return resultobj;
 
7312
fail:
 
7313
  return NULL;
 
7314
}
 
7315
 
 
7316
 
 
7317
SWIGINTERN PyObject *_wrap_RichTextObject_Merge(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
7318
  PyObject *resultobj = 0;
 
7319
  wxRichTextObject *arg1 = (wxRichTextObject *) 0 ;
 
7320
  wxRichTextObject *arg2 = (wxRichTextObject *) 0 ;
 
7321
  bool result;
 
7322
  void *argp1 = 0 ;
 
7323
  int res1 = 0 ;
 
7324
  void *argp2 = 0 ;
 
7325
  int res2 = 0 ;
 
7326
  PyObject * obj0 = 0 ;
 
7327
  PyObject * obj1 = 0 ;
 
7328
  char *  kwnames[] = {
 
7329
    (char *) "self",(char *) "object", NULL 
 
7330
  };
 
7331
  
 
7332
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RichTextObject_Merge",kwnames,&obj0,&obj1)) SWIG_fail;
 
7333
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextObject, 0 |  0 );
 
7334
  if (!SWIG_IsOK(res1)) {
 
7335
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextObject_Merge" "', expected argument " "1"" of type '" "wxRichTextObject *""'"); 
 
7336
  }
 
7337
  arg1 = reinterpret_cast< wxRichTextObject * >(argp1);
 
7338
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxRichTextObject, 0 |  0 );
 
7339
  if (!SWIG_IsOK(res2)) {
 
7340
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "RichTextObject_Merge" "', expected argument " "2"" of type '" "wxRichTextObject *""'"); 
 
7341
  }
 
7342
  arg2 = reinterpret_cast< wxRichTextObject * >(argp2);
 
7343
  {
 
7344
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
7345
    result = (bool)(arg1)->Merge(arg2);
 
7346
    wxPyEndAllowThreads(__tstate);
 
7347
    if (PyErr_Occurred()) SWIG_fail;
 
7348
  }
 
7349
  {
 
7350
    resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
 
7351
  }
 
7352
  return resultobj;
 
7353
fail:
 
7354
  return NULL;
 
7355
}
 
7356
 
 
7357
 
 
7358
SWIGINTERN PyObject *_wrap_RichTextObject_Dump(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
7359
  PyObject *resultobj = 0;
 
7360
  wxRichTextObject *arg1 = (wxRichTextObject *) 0 ;
 
7361
  wxString result;
 
7362
  void *argp1 = 0 ;
 
7363
  int res1 = 0 ;
 
7364
  PyObject *swig_obj[1] ;
 
7365
  
 
7366
  if (!args) SWIG_fail;
 
7367
  swig_obj[0] = args;
 
7368
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextObject, 0 |  0 );
 
7369
  if (!SWIG_IsOK(res1)) {
 
7370
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextObject_Dump" "', expected argument " "1"" of type '" "wxRichTextObject *""'"); 
 
7371
  }
 
7372
  arg1 = reinterpret_cast< wxRichTextObject * >(argp1);
 
7373
  {
 
7374
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
7375
    result = wxRichTextObject_Dump(arg1);
 
7376
    wxPyEndAllowThreads(__tstate);
 
7377
    if (PyErr_Occurred()) SWIG_fail;
 
7378
  }
 
7379
  {
 
7380
#if wxUSE_UNICODE
 
7381
    resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
 
7382
#else
 
7383
    resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
 
7384
#endif
 
7385
  }
 
7386
  return resultobj;
 
7387
fail:
 
7388
  return NULL;
 
7389
}
 
7390
 
 
7391
 
 
7392
SWIGINTERN PyObject *_wrap_RichTextObject_GetCachedSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
7393
  PyObject *resultobj = 0;
 
7394
  wxRichTextObject *arg1 = (wxRichTextObject *) 0 ;
 
7395
  wxSize result;
 
7396
  void *argp1 = 0 ;
 
7397
  int res1 = 0 ;
 
7398
  PyObject *swig_obj[1] ;
 
7399
  
 
7400
  if (!args) SWIG_fail;
 
7401
  swig_obj[0] = args;
 
7402
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextObject, 0 |  0 );
 
7403
  if (!SWIG_IsOK(res1)) {
 
7404
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextObject_GetCachedSize" "', expected argument " "1"" of type '" "wxRichTextObject const *""'"); 
 
7405
  }
 
7406
  arg1 = reinterpret_cast< wxRichTextObject * >(argp1);
 
7407
  {
 
7408
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
7409
    result = ((wxRichTextObject const *)arg1)->GetCachedSize();
 
7410
    wxPyEndAllowThreads(__tstate);
 
7411
    if (PyErr_Occurred()) SWIG_fail;
 
7412
  }
 
7413
  resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN |  0 );
 
7414
  return resultobj;
 
7415
fail:
 
7416
  return NULL;
 
7417
}
 
7418
 
 
7419
 
 
7420
SWIGINTERN PyObject *_wrap_RichTextObject_SetCachedSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
7421
  PyObject *resultobj = 0;
 
7422
  wxRichTextObject *arg1 = (wxRichTextObject *) 0 ;
 
7423
  wxSize *arg2 = 0 ;
 
7424
  void *argp1 = 0 ;
 
7425
  int res1 = 0 ;
 
7426
  wxSize temp2 ;
 
7427
  PyObject * obj0 = 0 ;
 
7428
  PyObject * obj1 = 0 ;
 
7429
  char *  kwnames[] = {
 
7430
    (char *) "self",(char *) "sz", NULL 
 
7431
  };
 
7432
  
 
7433
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RichTextObject_SetCachedSize",kwnames,&obj0,&obj1)) SWIG_fail;
 
7434
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextObject, 0 |  0 );
 
7435
  if (!SWIG_IsOK(res1)) {
 
7436
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextObject_SetCachedSize" "', expected argument " "1"" of type '" "wxRichTextObject *""'"); 
 
7437
  }
 
7438
  arg1 = reinterpret_cast< wxRichTextObject * >(argp1);
 
7439
  {
 
7440
    arg2 = &temp2;
 
7441
    if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
 
7442
  }
 
7443
  {
 
7444
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
7445
    (arg1)->SetCachedSize((wxSize const &)*arg2);
 
7446
    wxPyEndAllowThreads(__tstate);
 
7447
    if (PyErr_Occurred()) SWIG_fail;
 
7448
  }
 
7449
  resultobj = SWIG_Py_Void();
 
7450
  return resultobj;
 
7451
fail:
 
7452
  return NULL;
 
7453
}
 
7454
 
 
7455
 
 
7456
SWIGINTERN PyObject *_wrap_RichTextObject_GetPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
7457
  PyObject *resultobj = 0;
 
7458
  wxRichTextObject *arg1 = (wxRichTextObject *) 0 ;
 
7459
  wxPoint result;
 
7460
  void *argp1 = 0 ;
 
7461
  int res1 = 0 ;
 
7462
  PyObject *swig_obj[1] ;
 
7463
  
 
7464
  if (!args) SWIG_fail;
 
7465
  swig_obj[0] = args;
 
7466
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextObject, 0 |  0 );
 
7467
  if (!SWIG_IsOK(res1)) {
 
7468
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextObject_GetPosition" "', expected argument " "1"" of type '" "wxRichTextObject const *""'"); 
 
7469
  }
 
7470
  arg1 = reinterpret_cast< wxRichTextObject * >(argp1);
 
7471
  {
 
7472
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
7473
    result = ((wxRichTextObject const *)arg1)->GetPosition();
 
7474
    wxPyEndAllowThreads(__tstate);
 
7475
    if (PyErr_Occurred()) SWIG_fail;
 
7476
  }
 
7477
  resultobj = SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint& >(result))), SWIGTYPE_p_wxPoint, SWIG_POINTER_OWN |  0 );
 
7478
  return resultobj;
 
7479
fail:
 
7480
  return NULL;
 
7481
}
 
7482
 
 
7483
 
 
7484
SWIGINTERN PyObject *_wrap_RichTextObject_SetPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
7485
  PyObject *resultobj = 0;
 
7486
  wxRichTextObject *arg1 = (wxRichTextObject *) 0 ;
 
7487
  wxPoint *arg2 = 0 ;
 
7488
  void *argp1 = 0 ;
 
7489
  int res1 = 0 ;
 
7490
  wxPoint temp2 ;
 
7491
  PyObject * obj0 = 0 ;
 
7492
  PyObject * obj1 = 0 ;
 
7493
  char *  kwnames[] = {
 
7494
    (char *) "self",(char *) "pos", NULL 
 
7495
  };
 
7496
  
 
7497
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RichTextObject_SetPosition",kwnames,&obj0,&obj1)) SWIG_fail;
 
7498
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextObject, 0 |  0 );
 
7499
  if (!SWIG_IsOK(res1)) {
 
7500
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextObject_SetPosition" "', expected argument " "1"" of type '" "wxRichTextObject *""'"); 
 
7501
  }
 
7502
  arg1 = reinterpret_cast< wxRichTextObject * >(argp1);
 
7503
  {
 
7504
    arg2 = &temp2;
 
7505
    if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
 
7506
  }
 
7507
  {
 
7508
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
7509
    (arg1)->SetPosition((wxPoint const &)*arg2);
 
7510
    wxPyEndAllowThreads(__tstate);
 
7511
    if (PyErr_Occurred()) SWIG_fail;
 
7512
  }
 
7513
  resultobj = SWIG_Py_Void();
 
7514
  return resultobj;
 
7515
fail:
 
7516
  return NULL;
 
7517
}
 
7518
 
 
7519
 
 
7520
SWIGINTERN PyObject *_wrap_RichTextObject_GetRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
7521
  PyObject *resultobj = 0;
 
7522
  wxRichTextObject *arg1 = (wxRichTextObject *) 0 ;
 
7523
  wxRect result;
 
7524
  void *argp1 = 0 ;
 
7525
  int res1 = 0 ;
 
7526
  PyObject *swig_obj[1] ;
 
7527
  
 
7528
  if (!args) SWIG_fail;
 
7529
  swig_obj[0] = args;
 
7530
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextObject, 0 |  0 );
 
7531
  if (!SWIG_IsOK(res1)) {
 
7532
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextObject_GetRect" "', expected argument " "1"" of type '" "wxRichTextObject const *""'"); 
 
7533
  }
 
7534
  arg1 = reinterpret_cast< wxRichTextObject * >(argp1);
 
7535
  {
 
7536
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
7537
    result = ((wxRichTextObject const *)arg1)->GetRect();
 
7538
    wxPyEndAllowThreads(__tstate);
 
7539
    if (PyErr_Occurred()) SWIG_fail;
 
7540
  }
 
7541
  resultobj = SWIG_NewPointerObj((new wxRect(static_cast< const wxRect& >(result))), SWIGTYPE_p_wxRect, SWIG_POINTER_OWN |  0 );
 
7542
  return resultobj;
 
7543
fail:
 
7544
  return NULL;
 
7545
}
 
7546
 
 
7547
 
 
7548
SWIGINTERN PyObject *_wrap_RichTextObject_SetRange(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
7549
  PyObject *resultobj = 0;
 
7550
  wxRichTextObject *arg1 = (wxRichTextObject *) 0 ;
 
7551
  wxRichTextRange *arg2 = 0 ;
 
7552
  void *argp1 = 0 ;
 
7553
  int res1 = 0 ;
 
7554
  wxRichTextRange temp2 ;
 
7555
  PyObject * obj0 = 0 ;
 
7556
  PyObject * obj1 = 0 ;
 
7557
  char *  kwnames[] = {
 
7558
    (char *) "self",(char *) "range", NULL 
 
7559
  };
 
7560
  
 
7561
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RichTextObject_SetRange",kwnames,&obj0,&obj1)) SWIG_fail;
 
7562
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextObject, 0 |  0 );
 
7563
  if (!SWIG_IsOK(res1)) {
 
7564
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextObject_SetRange" "', expected argument " "1"" of type '" "wxRichTextObject *""'"); 
 
7565
  }
 
7566
  arg1 = reinterpret_cast< wxRichTextObject * >(argp1);
 
7567
  {
 
7568
    arg2 = &temp2;
 
7569
    if ( ! wxRichTextRange_helper(obj1, &arg2)) SWIG_fail;
 
7570
  }
 
7571
  {
 
7572
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
7573
    (arg1)->SetRange((wxRichTextRange const &)*arg2);
 
7574
    wxPyEndAllowThreads(__tstate);
 
7575
    if (PyErr_Occurred()) SWIG_fail;
 
7576
  }
 
7577
  resultobj = SWIG_Py_Void();
 
7578
  return resultobj;
 
7579
fail:
 
7580
  return NULL;
 
7581
}
 
7582
 
 
7583
 
 
7584
SWIGINTERN PyObject *_wrap_RichTextObject_GetRange(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
7585
  PyObject *resultobj = 0;
 
7586
  wxRichTextObject *arg1 = (wxRichTextObject *) 0 ;
 
7587
  wxRichTextRange result;
 
7588
  void *argp1 = 0 ;
 
7589
  int res1 = 0 ;
 
7590
  PyObject *swig_obj[1] ;
 
7591
  
 
7592
  if (!args) SWIG_fail;
 
7593
  swig_obj[0] = args;
 
7594
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextObject, 0 |  0 );
 
7595
  if (!SWIG_IsOK(res1)) {
 
7596
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextObject_GetRange" "', expected argument " "1"" of type '" "wxRichTextObject *""'"); 
 
7597
  }
 
7598
  arg1 = reinterpret_cast< wxRichTextObject * >(argp1);
 
7599
  {
 
7600
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
7601
    result = (arg1)->GetRange();
 
7602
    wxPyEndAllowThreads(__tstate);
 
7603
    if (PyErr_Occurred()) SWIG_fail;
 
7604
  }
 
7605
  resultobj = SWIG_NewPointerObj((new wxRichTextRange(static_cast< const wxRichTextRange& >(result))), SWIGTYPE_p_wxRichTextRange, SWIG_POINTER_OWN |  0 );
 
7606
  return resultobj;
 
7607
fail:
 
7608
  return NULL;
 
7609
}
 
7610
 
 
7611
 
 
7612
SWIGINTERN PyObject *_wrap_RichTextObject_GetDirty(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
7613
  PyObject *resultobj = 0;
 
7614
  wxRichTextObject *arg1 = (wxRichTextObject *) 0 ;
 
7615
  bool result;
 
7616
  void *argp1 = 0 ;
 
7617
  int res1 = 0 ;
 
7618
  PyObject *swig_obj[1] ;
 
7619
  
 
7620
  if (!args) SWIG_fail;
 
7621
  swig_obj[0] = args;
 
7622
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextObject, 0 |  0 );
 
7623
  if (!SWIG_IsOK(res1)) {
 
7624
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextObject_GetDirty" "', expected argument " "1"" of type '" "wxRichTextObject const *""'"); 
 
7625
  }
 
7626
  arg1 = reinterpret_cast< wxRichTextObject * >(argp1);
 
7627
  {
 
7628
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
7629
    result = (bool)((wxRichTextObject const *)arg1)->GetDirty();
 
7630
    wxPyEndAllowThreads(__tstate);
 
7631
    if (PyErr_Occurred()) SWIG_fail;
 
7632
  }
 
7633
  {
 
7634
    resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
 
7635
  }
 
7636
  return resultobj;
 
7637
fail:
 
7638
  return NULL;
 
7639
}
 
7640
 
 
7641
 
 
7642
SWIGINTERN PyObject *_wrap_RichTextObject_SetDirty(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
7643
  PyObject *resultobj = 0;
 
7644
  wxRichTextObject *arg1 = (wxRichTextObject *) 0 ;
 
7645
  bool arg2 ;
 
7646
  void *argp1 = 0 ;
 
7647
  int res1 = 0 ;
 
7648
  bool val2 ;
 
7649
  int ecode2 = 0 ;
 
7650
  PyObject * obj0 = 0 ;
 
7651
  PyObject * obj1 = 0 ;
 
7652
  char *  kwnames[] = {
 
7653
    (char *) "self",(char *) "dirty", NULL 
 
7654
  };
 
7655
  
 
7656
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RichTextObject_SetDirty",kwnames,&obj0,&obj1)) SWIG_fail;
 
7657
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextObject, 0 |  0 );
 
7658
  if (!SWIG_IsOK(res1)) {
 
7659
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextObject_SetDirty" "', expected argument " "1"" of type '" "wxRichTextObject *""'"); 
 
7660
  }
 
7661
  arg1 = reinterpret_cast< wxRichTextObject * >(argp1);
 
7662
  ecode2 = SWIG_AsVal_bool(obj1, &val2);
 
7663
  if (!SWIG_IsOK(ecode2)) {
 
7664
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RichTextObject_SetDirty" "', expected argument " "2"" of type '" "bool""'");
 
7665
  } 
 
7666
  arg2 = static_cast< bool >(val2);
 
7667
  {
 
7668
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
7669
    (arg1)->SetDirty(arg2);
 
7670
    wxPyEndAllowThreads(__tstate);
 
7671
    if (PyErr_Occurred()) SWIG_fail;
 
7672
  }
 
7673
  resultobj = SWIG_Py_Void();
 
7674
  return resultobj;
 
7675
fail:
 
7676
  return NULL;
 
7677
}
 
7678
 
 
7679
 
 
7680
SWIGINTERN PyObject *_wrap_RichTextObject_IsComposite(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
7681
  PyObject *resultobj = 0;
 
7682
  wxRichTextObject *arg1 = (wxRichTextObject *) 0 ;
 
7683
  bool result;
 
7684
  void *argp1 = 0 ;
 
7685
  int res1 = 0 ;
 
7686
  PyObject *swig_obj[1] ;
 
7687
  
 
7688
  if (!args) SWIG_fail;
 
7689
  swig_obj[0] = args;
 
7690
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextObject, 0 |  0 );
 
7691
  if (!SWIG_IsOK(res1)) {
 
7692
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextObject_IsComposite" "', expected argument " "1"" of type '" "wxRichTextObject const *""'"); 
 
7693
  }
 
7694
  arg1 = reinterpret_cast< wxRichTextObject * >(argp1);
 
7695
  {
 
7696
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
7697
    result = (bool)((wxRichTextObject const *)arg1)->IsComposite();
 
7698
    wxPyEndAllowThreads(__tstate);
 
7699
    if (PyErr_Occurred()) SWIG_fail;
 
7700
  }
 
7701
  {
 
7702
    resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
 
7703
  }
 
7704
  return resultobj;
 
7705
fail:
 
7706
  return NULL;
 
7707
}
 
7708
 
 
7709
 
 
7710
SWIGINTERN PyObject *_wrap_RichTextObject_GetParent(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
7711
  PyObject *resultobj = 0;
 
7712
  wxRichTextObject *arg1 = (wxRichTextObject *) 0 ;
 
7713
  wxRichTextObject *result = 0 ;
 
7714
  void *argp1 = 0 ;
 
7715
  int res1 = 0 ;
 
7716
  PyObject *swig_obj[1] ;
 
7717
  
 
7718
  if (!args) SWIG_fail;
 
7719
  swig_obj[0] = args;
 
7720
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextObject, 0 |  0 );
 
7721
  if (!SWIG_IsOK(res1)) {
 
7722
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextObject_GetParent" "', expected argument " "1"" of type '" "wxRichTextObject const *""'"); 
 
7723
  }
 
7724
  arg1 = reinterpret_cast< wxRichTextObject * >(argp1);
 
7725
  {
 
7726
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
7727
    result = (wxRichTextObject *)((wxRichTextObject const *)arg1)->GetParent();
 
7728
    wxPyEndAllowThreads(__tstate);
 
7729
    if (PyErr_Occurred()) SWIG_fail;
 
7730
  }
 
7731
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxRichTextObject, 0 |  0 );
 
7732
  return resultobj;
 
7733
fail:
 
7734
  return NULL;
 
7735
}
 
7736
 
 
7737
 
 
7738
SWIGINTERN PyObject *_wrap_RichTextObject_SetParent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
7739
  PyObject *resultobj = 0;
 
7740
  wxRichTextObject *arg1 = (wxRichTextObject *) 0 ;
 
7741
  wxRichTextObject *arg2 = (wxRichTextObject *) 0 ;
 
7742
  void *argp1 = 0 ;
 
7743
  int res1 = 0 ;
 
7744
  void *argp2 = 0 ;
 
7745
  int res2 = 0 ;
 
7746
  PyObject * obj0 = 0 ;
 
7747
  PyObject * obj1 = 0 ;
 
7748
  char *  kwnames[] = {
 
7749
    (char *) "self",(char *) "parent", NULL 
 
7750
  };
 
7751
  
 
7752
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RichTextObject_SetParent",kwnames,&obj0,&obj1)) SWIG_fail;
 
7753
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextObject, 0 |  0 );
 
7754
  if (!SWIG_IsOK(res1)) {
 
7755
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextObject_SetParent" "', expected argument " "1"" of type '" "wxRichTextObject *""'"); 
 
7756
  }
 
7757
  arg1 = reinterpret_cast< wxRichTextObject * >(argp1);
 
7758
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxRichTextObject, 0 |  0 );
 
7759
  if (!SWIG_IsOK(res2)) {
 
7760
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "RichTextObject_SetParent" "', expected argument " "2"" of type '" "wxRichTextObject *""'"); 
 
7761
  }
 
7762
  arg2 = reinterpret_cast< wxRichTextObject * >(argp2);
 
7763
  {
 
7764
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
7765
    (arg1)->SetParent(arg2);
 
7766
    wxPyEndAllowThreads(__tstate);
 
7767
    if (PyErr_Occurred()) SWIG_fail;
 
7768
  }
 
7769
  resultobj = SWIG_Py_Void();
 
7770
  return resultobj;
 
7771
fail:
 
7772
  return NULL;
 
7773
}
 
7774
 
 
7775
 
 
7776
SWIGINTERN PyObject *_wrap_RichTextObject_SetSameMargins(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
7777
  PyObject *resultobj = 0;
 
7778
  wxRichTextObject *arg1 = (wxRichTextObject *) 0 ;
 
7779
  int arg2 ;
 
7780
  void *argp1 = 0 ;
 
7781
  int res1 = 0 ;
 
7782
  int val2 ;
 
7783
  int ecode2 = 0 ;
 
7784
  PyObject * obj0 = 0 ;
 
7785
  PyObject * obj1 = 0 ;
 
7786
  char *  kwnames[] = {
 
7787
    (char *) "self",(char *) "margin", NULL 
 
7788
  };
 
7789
  
 
7790
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RichTextObject_SetSameMargins",kwnames,&obj0,&obj1)) SWIG_fail;
 
7791
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextObject, 0 |  0 );
 
7792
  if (!SWIG_IsOK(res1)) {
 
7793
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextObject_SetSameMargins" "', expected argument " "1"" of type '" "wxRichTextObject *""'"); 
 
7794
  }
 
7795
  arg1 = reinterpret_cast< wxRichTextObject * >(argp1);
 
7796
  ecode2 = SWIG_AsVal_int(obj1, &val2);
 
7797
  if (!SWIG_IsOK(ecode2)) {
 
7798
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RichTextObject_SetSameMargins" "', expected argument " "2"" of type '" "int""'");
 
7799
  } 
 
7800
  arg2 = static_cast< int >(val2);
 
7801
  {
 
7802
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
7803
    (arg1)->SetMargins(arg2);
 
7804
    wxPyEndAllowThreads(__tstate);
 
7805
    if (PyErr_Occurred()) SWIG_fail;
 
7806
  }
 
7807
  resultobj = SWIG_Py_Void();
 
7808
  return resultobj;
 
7809
fail:
 
7810
  return NULL;
 
7811
}
 
7812
 
 
7813
 
 
7814
SWIGINTERN PyObject *_wrap_RichTextObject_SetMargins(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
7815
  PyObject *resultobj = 0;
 
7816
  wxRichTextObject *arg1 = (wxRichTextObject *) 0 ;
 
7817
  int arg2 ;
 
7818
  int arg3 ;
 
7819
  int arg4 ;
 
7820
  int arg5 ;
 
7821
  void *argp1 = 0 ;
 
7822
  int res1 = 0 ;
 
7823
  int val2 ;
 
7824
  int ecode2 = 0 ;
 
7825
  int val3 ;
 
7826
  int ecode3 = 0 ;
 
7827
  int val4 ;
 
7828
  int ecode4 = 0 ;
 
7829
  int val5 ;
 
7830
  int ecode5 = 0 ;
 
7831
  PyObject * obj0 = 0 ;
 
7832
  PyObject * obj1 = 0 ;
 
7833
  PyObject * obj2 = 0 ;
 
7834
  PyObject * obj3 = 0 ;
 
7835
  PyObject * obj4 = 0 ;
 
7836
  char *  kwnames[] = {
 
7837
    (char *) "self",(char *) "leftMargin",(char *) "rightMargin",(char *) "topMargin",(char *) "bottomMargin", NULL 
 
7838
  };
 
7839
  
 
7840
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:RichTextObject_SetMargins",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
 
7841
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextObject, 0 |  0 );
 
7842
  if (!SWIG_IsOK(res1)) {
 
7843
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextObject_SetMargins" "', expected argument " "1"" of type '" "wxRichTextObject *""'"); 
 
7844
  }
 
7845
  arg1 = reinterpret_cast< wxRichTextObject * >(argp1);
 
7846
  ecode2 = SWIG_AsVal_int(obj1, &val2);
 
7847
  if (!SWIG_IsOK(ecode2)) {
 
7848
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RichTextObject_SetMargins" "', expected argument " "2"" of type '" "int""'");
 
7849
  } 
 
7850
  arg2 = static_cast< int >(val2);
 
7851
  ecode3 = SWIG_AsVal_int(obj2, &val3);
 
7852
  if (!SWIG_IsOK(ecode3)) {
 
7853
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "RichTextObject_SetMargins" "', expected argument " "3"" of type '" "int""'");
 
7854
  } 
 
7855
  arg3 = static_cast< int >(val3);
 
7856
  ecode4 = SWIG_AsVal_int(obj3, &val4);
 
7857
  if (!SWIG_IsOK(ecode4)) {
 
7858
    SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "RichTextObject_SetMargins" "', expected argument " "4"" of type '" "int""'");
 
7859
  } 
 
7860
  arg4 = static_cast< int >(val4);
 
7861
  ecode5 = SWIG_AsVal_int(obj4, &val5);
 
7862
  if (!SWIG_IsOK(ecode5)) {
 
7863
    SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "RichTextObject_SetMargins" "', expected argument " "5"" of type '" "int""'");
 
7864
  } 
 
7865
  arg5 = static_cast< int >(val5);
 
7866
  {
 
7867
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
7868
    (arg1)->SetMargins(arg2,arg3,arg4,arg5);
 
7869
    wxPyEndAllowThreads(__tstate);
 
7870
    if (PyErr_Occurred()) SWIG_fail;
 
7871
  }
 
7872
  resultobj = SWIG_Py_Void();
 
7873
  return resultobj;
 
7874
fail:
 
7875
  return NULL;
 
7876
}
 
7877
 
 
7878
 
 
7879
SWIGINTERN PyObject *_wrap_RichTextObject_GetLeftMargin(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
7880
  PyObject *resultobj = 0;
 
7881
  wxRichTextObject *arg1 = (wxRichTextObject *) 0 ;
 
7882
  int result;
 
7883
  void *argp1 = 0 ;
 
7884
  int res1 = 0 ;
 
7885
  PyObject *swig_obj[1] ;
 
7886
  
 
7887
  if (!args) SWIG_fail;
 
7888
  swig_obj[0] = args;
 
7889
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextObject, 0 |  0 );
 
7890
  if (!SWIG_IsOK(res1)) {
 
7891
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextObject_GetLeftMargin" "', expected argument " "1"" of type '" "wxRichTextObject const *""'"); 
 
7892
  }
 
7893
  arg1 = reinterpret_cast< wxRichTextObject * >(argp1);
 
7894
  {
 
7895
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
7896
    result = (int)((wxRichTextObject const *)arg1)->GetLeftMargin();
 
7897
    wxPyEndAllowThreads(__tstate);
 
7898
    if (PyErr_Occurred()) SWIG_fail;
 
7899
  }
 
7900
  resultobj = SWIG_From_int(static_cast< int >(result));
 
7901
  return resultobj;
 
7902
fail:
 
7903
  return NULL;
 
7904
}
 
7905
 
 
7906
 
 
7907
SWIGINTERN PyObject *_wrap_RichTextObject_GetRightMargin(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
7908
  PyObject *resultobj = 0;
 
7909
  wxRichTextObject *arg1 = (wxRichTextObject *) 0 ;
 
7910
  int result;
 
7911
  void *argp1 = 0 ;
 
7912
  int res1 = 0 ;
 
7913
  PyObject *swig_obj[1] ;
 
7914
  
 
7915
  if (!args) SWIG_fail;
 
7916
  swig_obj[0] = args;
 
7917
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextObject, 0 |  0 );
 
7918
  if (!SWIG_IsOK(res1)) {
 
7919
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextObject_GetRightMargin" "', expected argument " "1"" of type '" "wxRichTextObject const *""'"); 
 
7920
  }
 
7921
  arg1 = reinterpret_cast< wxRichTextObject * >(argp1);
 
7922
  {
 
7923
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
7924
    result = (int)((wxRichTextObject const *)arg1)->GetRightMargin();
 
7925
    wxPyEndAllowThreads(__tstate);
 
7926
    if (PyErr_Occurred()) SWIG_fail;
 
7927
  }
 
7928
  resultobj = SWIG_From_int(static_cast< int >(result));
 
7929
  return resultobj;
 
7930
fail:
 
7931
  return NULL;
 
7932
}
 
7933
 
 
7934
 
 
7935
SWIGINTERN PyObject *_wrap_RichTextObject_GetTopMargin(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
7936
  PyObject *resultobj = 0;
 
7937
  wxRichTextObject *arg1 = (wxRichTextObject *) 0 ;
 
7938
  int result;
 
7939
  void *argp1 = 0 ;
 
7940
  int res1 = 0 ;
 
7941
  PyObject *swig_obj[1] ;
 
7942
  
 
7943
  if (!args) SWIG_fail;
 
7944
  swig_obj[0] = args;
 
7945
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextObject, 0 |  0 );
 
7946
  if (!SWIG_IsOK(res1)) {
 
7947
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextObject_GetTopMargin" "', expected argument " "1"" of type '" "wxRichTextObject const *""'"); 
 
7948
  }
 
7949
  arg1 = reinterpret_cast< wxRichTextObject * >(argp1);
 
7950
  {
 
7951
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
7952
    result = (int)((wxRichTextObject const *)arg1)->GetTopMargin();
 
7953
    wxPyEndAllowThreads(__tstate);
 
7954
    if (PyErr_Occurred()) SWIG_fail;
 
7955
  }
 
7956
  resultobj = SWIG_From_int(static_cast< int >(result));
 
7957
  return resultobj;
 
7958
fail:
 
7959
  return NULL;
 
7960
}
 
7961
 
 
7962
 
 
7963
SWIGINTERN PyObject *_wrap_RichTextObject_GetBottomMargin(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
7964
  PyObject *resultobj = 0;
 
7965
  wxRichTextObject *arg1 = (wxRichTextObject *) 0 ;
 
7966
  int result;
 
7967
  void *argp1 = 0 ;
 
7968
  int res1 = 0 ;
 
7969
  PyObject *swig_obj[1] ;
 
7970
  
 
7971
  if (!args) SWIG_fail;
 
7972
  swig_obj[0] = args;
 
7973
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextObject, 0 |  0 );
 
7974
  if (!SWIG_IsOK(res1)) {
 
7975
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextObject_GetBottomMargin" "', expected argument " "1"" of type '" "wxRichTextObject const *""'"); 
 
7976
  }
 
7977
  arg1 = reinterpret_cast< wxRichTextObject * >(argp1);
 
7978
  {
 
7979
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
7980
    result = (int)((wxRichTextObject const *)arg1)->GetBottomMargin();
 
7981
    wxPyEndAllowThreads(__tstate);
 
7982
    if (PyErr_Occurred()) SWIG_fail;
 
7983
  }
 
7984
  resultobj = SWIG_From_int(static_cast< int >(result));
 
7985
  return resultobj;
 
7986
fail:
 
7987
  return NULL;
 
7988
}
 
7989
 
 
7990
 
 
7991
SWIGINTERN PyObject *_wrap_RichTextObject_SetAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
7992
  PyObject *resultobj = 0;
 
7993
  wxRichTextObject *arg1 = (wxRichTextObject *) 0 ;
 
7994
  wxTextAttrEx *arg2 = 0 ;
 
7995
  void *argp1 = 0 ;
 
7996
  int res1 = 0 ;
 
7997
  void *argp2 = 0 ;
 
7998
  int res2 = 0 ;
 
7999
  PyObject * obj0 = 0 ;
 
8000
  PyObject * obj1 = 0 ;
 
8001
  char *  kwnames[] = {
 
8002
    (char *) "self",(char *) "attr", NULL 
 
8003
  };
 
8004
  
 
8005
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RichTextObject_SetAttributes",kwnames,&obj0,&obj1)) SWIG_fail;
 
8006
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextObject, 0 |  0 );
 
8007
  if (!SWIG_IsOK(res1)) {
 
8008
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextObject_SetAttributes" "', expected argument " "1"" of type '" "wxRichTextObject *""'"); 
 
8009
  }
 
8010
  arg1 = reinterpret_cast< wxRichTextObject * >(argp1);
 
8011
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTextAttrEx,  0  | 0);
 
8012
  if (!SWIG_IsOK(res2)) {
 
8013
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "RichTextObject_SetAttributes" "', expected argument " "2"" of type '" "wxTextAttrEx const &""'"); 
 
8014
  }
 
8015
  if (!argp2) {
 
8016
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "RichTextObject_SetAttributes" "', expected argument " "2"" of type '" "wxTextAttrEx const &""'"); 
 
8017
  }
 
8018
  arg2 = reinterpret_cast< wxTextAttrEx * >(argp2);
 
8019
  {
 
8020
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
8021
    (arg1)->SetAttributes((wxTextAttrEx const &)*arg2);
 
8022
    wxPyEndAllowThreads(__tstate);
 
8023
    if (PyErr_Occurred()) SWIG_fail;
 
8024
  }
 
8025
  resultobj = SWIG_Py_Void();
 
8026
  return resultobj;
 
8027
fail:
 
8028
  return NULL;
 
8029
}
 
8030
 
 
8031
 
 
8032
SWIGINTERN PyObject *_wrap_RichTextObject_GetAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
8033
  PyObject *resultobj = 0;
 
8034
  wxRichTextObject *arg1 = (wxRichTextObject *) 0 ;
 
8035
  wxTextAttrEx result;
 
8036
  void *argp1 = 0 ;
 
8037
  int res1 = 0 ;
 
8038
  PyObject *swig_obj[1] ;
 
8039
  
 
8040
  if (!args) SWIG_fail;
 
8041
  swig_obj[0] = args;
 
8042
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextObject, 0 |  0 );
 
8043
  if (!SWIG_IsOK(res1)) {
 
8044
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextObject_GetAttributes" "', expected argument " "1"" of type '" "wxRichTextObject *""'"); 
 
8045
  }
 
8046
  arg1 = reinterpret_cast< wxRichTextObject * >(argp1);
 
8047
  {
 
8048
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
8049
    result = (arg1)->GetAttributes();
 
8050
    wxPyEndAllowThreads(__tstate);
 
8051
    if (PyErr_Occurred()) SWIG_fail;
 
8052
  }
 
8053
  resultobj = SWIG_NewPointerObj((new wxTextAttrEx(static_cast< const wxTextAttrEx& >(result))), SWIGTYPE_p_wxTextAttrEx, SWIG_POINTER_OWN |  0 );
 
8054
  return resultobj;
 
8055
fail:
 
8056
  return NULL;
 
8057
}
 
8058
 
 
8059
 
 
8060
SWIGINTERN PyObject *_wrap_RichTextObject_SetDescent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
8061
  PyObject *resultobj = 0;
 
8062
  wxRichTextObject *arg1 = (wxRichTextObject *) 0 ;
 
8063
  int arg2 ;
 
8064
  void *argp1 = 0 ;
 
8065
  int res1 = 0 ;
 
8066
  int val2 ;
 
8067
  int ecode2 = 0 ;
 
8068
  PyObject * obj0 = 0 ;
 
8069
  PyObject * obj1 = 0 ;
 
8070
  char *  kwnames[] = {
 
8071
    (char *) "self",(char *) "descent", NULL 
 
8072
  };
 
8073
  
 
8074
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RichTextObject_SetDescent",kwnames,&obj0,&obj1)) SWIG_fail;
 
8075
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextObject, 0 |  0 );
 
8076
  if (!SWIG_IsOK(res1)) {
 
8077
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextObject_SetDescent" "', expected argument " "1"" of type '" "wxRichTextObject *""'"); 
 
8078
  }
 
8079
  arg1 = reinterpret_cast< wxRichTextObject * >(argp1);
 
8080
  ecode2 = SWIG_AsVal_int(obj1, &val2);
 
8081
  if (!SWIG_IsOK(ecode2)) {
 
8082
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RichTextObject_SetDescent" "', expected argument " "2"" of type '" "int""'");
 
8083
  } 
 
8084
  arg2 = static_cast< int >(val2);
 
8085
  {
 
8086
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
8087
    (arg1)->SetDescent(arg2);
 
8088
    wxPyEndAllowThreads(__tstate);
 
8089
    if (PyErr_Occurred()) SWIG_fail;
 
8090
  }
 
8091
  resultobj = SWIG_Py_Void();
 
8092
  return resultobj;
 
8093
fail:
 
8094
  return NULL;
 
8095
}
 
8096
 
 
8097
 
 
8098
SWIGINTERN PyObject *_wrap_RichTextObject_GetDescent(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
8099
  PyObject *resultobj = 0;
 
8100
  wxRichTextObject *arg1 = (wxRichTextObject *) 0 ;
 
8101
  int result;
 
8102
  void *argp1 = 0 ;
 
8103
  int res1 = 0 ;
 
8104
  PyObject *swig_obj[1] ;
 
8105
  
 
8106
  if (!args) SWIG_fail;
 
8107
  swig_obj[0] = args;
 
8108
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextObject, 0 |  0 );
 
8109
  if (!SWIG_IsOK(res1)) {
 
8110
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextObject_GetDescent" "', expected argument " "1"" of type '" "wxRichTextObject const *""'"); 
 
8111
  }
 
8112
  arg1 = reinterpret_cast< wxRichTextObject * >(argp1);
 
8113
  {
 
8114
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
8115
    result = (int)((wxRichTextObject const *)arg1)->GetDescent();
 
8116
    wxPyEndAllowThreads(__tstate);
 
8117
    if (PyErr_Occurred()) SWIG_fail;
 
8118
  }
 
8119
  resultobj = SWIG_From_int(static_cast< int >(result));
 
8120
  return resultobj;
 
8121
fail:
 
8122
  return NULL;
 
8123
}
 
8124
 
 
8125
 
 
8126
SWIGINTERN PyObject *_wrap_RichTextObject_GetBuffer(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
8127
  PyObject *resultobj = 0;
 
8128
  wxRichTextObject *arg1 = (wxRichTextObject *) 0 ;
 
8129
  wxRichTextBuffer *result = 0 ;
 
8130
  void *argp1 = 0 ;
 
8131
  int res1 = 0 ;
 
8132
  PyObject *swig_obj[1] ;
 
8133
  
 
8134
  if (!args) SWIG_fail;
 
8135
  swig_obj[0] = args;
 
8136
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextObject, 0 |  0 );
 
8137
  if (!SWIG_IsOK(res1)) {
 
8138
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextObject_GetBuffer" "', expected argument " "1"" of type '" "wxRichTextObject const *""'"); 
 
8139
  }
 
8140
  arg1 = reinterpret_cast< wxRichTextObject * >(argp1);
 
8141
  {
 
8142
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
8143
    result = (wxRichTextBuffer *)((wxRichTextObject const *)arg1)->GetBuffer();
 
8144
    wxPyEndAllowThreads(__tstate);
 
8145
    if (PyErr_Occurred()) SWIG_fail;
 
8146
  }
 
8147
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxRichTextBuffer, 0 |  0 );
 
8148
  return resultobj;
 
8149
fail:
 
8150
  return NULL;
 
8151
}
 
8152
 
 
8153
 
 
8154
SWIGINTERN PyObject *_wrap_RichTextObject_Clone(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
8155
  PyObject *resultobj = 0;
 
8156
  wxRichTextObject *arg1 = (wxRichTextObject *) 0 ;
 
8157
  wxRichTextObject *result = 0 ;
 
8158
  void *argp1 = 0 ;
 
8159
  int res1 = 0 ;
 
8160
  PyObject *swig_obj[1] ;
 
8161
  
 
8162
  if (!args) SWIG_fail;
 
8163
  swig_obj[0] = args;
 
8164
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextObject, 0 |  0 );
 
8165
  if (!SWIG_IsOK(res1)) {
 
8166
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextObject_Clone" "', expected argument " "1"" of type '" "wxRichTextObject const *""'"); 
 
8167
  }
 
8168
  arg1 = reinterpret_cast< wxRichTextObject * >(argp1);
 
8169
  {
 
8170
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
8171
    result = (wxRichTextObject *)((wxRichTextObject const *)arg1)->Clone();
 
8172
    wxPyEndAllowThreads(__tstate);
 
8173
    if (PyErr_Occurred()) SWIG_fail;
 
8174
  }
 
8175
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxRichTextObject, 0 |  0 );
 
8176
  return resultobj;
 
8177
fail:
 
8178
  return NULL;
 
8179
}
 
8180
 
 
8181
 
 
8182
SWIGINTERN PyObject *_wrap_RichTextObject_Copy(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
8183
  PyObject *resultobj = 0;
 
8184
  wxRichTextObject *arg1 = (wxRichTextObject *) 0 ;
 
8185
  wxRichTextObject *arg2 = 0 ;
 
8186
  void *argp1 = 0 ;
 
8187
  int res1 = 0 ;
 
8188
  void *argp2 = 0 ;
 
8189
  int res2 = 0 ;
 
8190
  PyObject * obj0 = 0 ;
 
8191
  PyObject * obj1 = 0 ;
 
8192
  char *  kwnames[] = {
 
8193
    (char *) "self",(char *) "obj", NULL 
 
8194
  };
 
8195
  
 
8196
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RichTextObject_Copy",kwnames,&obj0,&obj1)) SWIG_fail;
 
8197
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextObject, 0 |  0 );
 
8198
  if (!SWIG_IsOK(res1)) {
 
8199
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextObject_Copy" "', expected argument " "1"" of type '" "wxRichTextObject *""'"); 
 
8200
  }
 
8201
  arg1 = reinterpret_cast< wxRichTextObject * >(argp1);
 
8202
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxRichTextObject,  0  | 0);
 
8203
  if (!SWIG_IsOK(res2)) {
 
8204
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "RichTextObject_Copy" "', expected argument " "2"" of type '" "wxRichTextObject const &""'"); 
 
8205
  }
 
8206
  if (!argp2) {
 
8207
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "RichTextObject_Copy" "', expected argument " "2"" of type '" "wxRichTextObject const &""'"); 
 
8208
  }
 
8209
  arg2 = reinterpret_cast< wxRichTextObject * >(argp2);
 
8210
  {
 
8211
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
8212
    (arg1)->Copy((wxRichTextObject const &)*arg2);
 
8213
    wxPyEndAllowThreads(__tstate);
 
8214
    if (PyErr_Occurred()) SWIG_fail;
 
8215
  }
 
8216
  resultobj = SWIG_Py_Void();
 
8217
  return resultobj;
 
8218
fail:
 
8219
  return NULL;
 
8220
}
 
8221
 
 
8222
 
 
8223
SWIGINTERN PyObject *_wrap_RichTextObject_Reference(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
8224
  PyObject *resultobj = 0;
 
8225
  wxRichTextObject *arg1 = (wxRichTextObject *) 0 ;
 
8226
  void *argp1 = 0 ;
 
8227
  int res1 = 0 ;
 
8228
  PyObject *swig_obj[1] ;
 
8229
  
 
8230
  if (!args) SWIG_fail;
 
8231
  swig_obj[0] = args;
 
8232
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextObject, 0 |  0 );
 
8233
  if (!SWIG_IsOK(res1)) {
 
8234
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextObject_Reference" "', expected argument " "1"" of type '" "wxRichTextObject *""'"); 
 
8235
  }
 
8236
  arg1 = reinterpret_cast< wxRichTextObject * >(argp1);
 
8237
  {
 
8238
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
8239
    (arg1)->Reference();
 
8240
    wxPyEndAllowThreads(__tstate);
 
8241
    if (PyErr_Occurred()) SWIG_fail;
 
8242
  }
 
8243
  resultobj = SWIG_Py_Void();
 
8244
  return resultobj;
 
8245
fail:
 
8246
  return NULL;
 
8247
}
 
8248
 
 
8249
 
 
8250
SWIGINTERN PyObject *_wrap_RichTextObject_Dereference(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
8251
  PyObject *resultobj = 0;
 
8252
  wxRichTextObject *arg1 = (wxRichTextObject *) 0 ;
 
8253
  void *argp1 = 0 ;
 
8254
  int res1 = 0 ;
 
8255
  PyObject *swig_obj[1] ;
 
8256
  
 
8257
  if (!args) SWIG_fail;
 
8258
  swig_obj[0] = args;
 
8259
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextObject, 0 |  0 );
 
8260
  if (!SWIG_IsOK(res1)) {
 
8261
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextObject_Dereference" "', expected argument " "1"" of type '" "wxRichTextObject *""'"); 
 
8262
  }
 
8263
  arg1 = reinterpret_cast< wxRichTextObject * >(argp1);
 
8264
  {
 
8265
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
8266
    (arg1)->Dereference();
 
8267
    wxPyEndAllowThreads(__tstate);
 
8268
    if (PyErr_Occurred()) SWIG_fail;
 
8269
  }
 
8270
  resultobj = SWIG_Py_Void();
 
8271
  return resultobj;
 
8272
fail:
 
8273
  return NULL;
 
8274
}
 
8275
 
 
8276
 
 
8277
SWIGINTERN PyObject *_wrap_RichTextObject_ConvertTenthsMMToPixelsDC(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
8278
  PyObject *resultobj = 0;
 
8279
  wxRichTextObject *arg1 = (wxRichTextObject *) 0 ;
 
8280
  wxDC *arg2 = 0 ;
 
8281
  int arg3 ;
 
8282
  int result;
 
8283
  void *argp1 = 0 ;
 
8284
  int res1 = 0 ;
 
8285
  void *argp2 = 0 ;
 
8286
  int res2 = 0 ;
 
8287
  int val3 ;
 
8288
  int ecode3 = 0 ;
 
8289
  PyObject * obj0 = 0 ;
 
8290
  PyObject * obj1 = 0 ;
 
8291
  PyObject * obj2 = 0 ;
 
8292
  char *  kwnames[] = {
 
8293
    (char *) "self",(char *) "dc",(char *) "units", NULL 
 
8294
  };
 
8295
  
 
8296
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:RichTextObject_ConvertTenthsMMToPixelsDC",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
 
8297
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextObject, 0 |  0 );
 
8298
  if (!SWIG_IsOK(res1)) {
 
8299
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextObject_ConvertTenthsMMToPixelsDC" "', expected argument " "1"" of type '" "wxRichTextObject *""'"); 
 
8300
  }
 
8301
  arg1 = reinterpret_cast< wxRichTextObject * >(argp1);
 
8302
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxDC,  0 );
 
8303
  if (!SWIG_IsOK(res2)) {
 
8304
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "RichTextObject_ConvertTenthsMMToPixelsDC" "', expected argument " "2"" of type '" "wxDC &""'"); 
 
8305
  }
 
8306
  if (!argp2) {
 
8307
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "RichTextObject_ConvertTenthsMMToPixelsDC" "', expected argument " "2"" of type '" "wxDC &""'"); 
 
8308
  }
 
8309
  arg2 = reinterpret_cast< wxDC * >(argp2);
 
8310
  ecode3 = SWIG_AsVal_int(obj2, &val3);
 
8311
  if (!SWIG_IsOK(ecode3)) {
 
8312
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "RichTextObject_ConvertTenthsMMToPixelsDC" "', expected argument " "3"" of type '" "int""'");
 
8313
  } 
 
8314
  arg3 = static_cast< int >(val3);
 
8315
  {
 
8316
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
8317
    result = (int)(arg1)->ConvertTenthsMMToPixels(*arg2,arg3);
 
8318
    wxPyEndAllowThreads(__tstate);
 
8319
    if (PyErr_Occurred()) SWIG_fail;
 
8320
  }
 
8321
  resultobj = SWIG_From_int(static_cast< int >(result));
 
8322
  return resultobj;
 
8323
fail:
 
8324
  return NULL;
 
8325
}
 
8326
 
 
8327
 
 
8328
SWIGINTERN PyObject *_wrap_RichTextObject_ConvertTenthsMMToPixels(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
8329
  PyObject *resultobj = 0;
 
8330
  int arg1 ;
 
8331
  int arg2 ;
 
8332
  int result;
 
8333
  int val1 ;
 
8334
  int ecode1 = 0 ;
 
8335
  int val2 ;
 
8336
  int ecode2 = 0 ;
 
8337
  PyObject * obj0 = 0 ;
 
8338
  PyObject * obj1 = 0 ;
 
8339
  char *  kwnames[] = {
 
8340
    (char *) "ppi",(char *) "units", NULL 
 
8341
  };
 
8342
  
 
8343
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RichTextObject_ConvertTenthsMMToPixels",kwnames,&obj0,&obj1)) SWIG_fail;
 
8344
  ecode1 = SWIG_AsVal_int(obj0, &val1);
 
8345
  if (!SWIG_IsOK(ecode1)) {
 
8346
    SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "RichTextObject_ConvertTenthsMMToPixels" "', expected argument " "1"" of type '" "int""'");
 
8347
  } 
 
8348
  arg1 = static_cast< int >(val1);
 
8349
  ecode2 = SWIG_AsVal_int(obj1, &val2);
 
8350
  if (!SWIG_IsOK(ecode2)) {
 
8351
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RichTextObject_ConvertTenthsMMToPixels" "', expected argument " "2"" of type '" "int""'");
 
8352
  } 
 
8353
  arg2 = static_cast< int >(val2);
 
8354
  {
 
8355
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
8356
    result = (int)wxRichTextObject::ConvertTenthsMMToPixels(arg1,arg2);
 
8357
    wxPyEndAllowThreads(__tstate);
 
8358
    if (PyErr_Occurred()) SWIG_fail;
 
8359
  }
 
8360
  resultobj = SWIG_From_int(static_cast< int >(result));
 
8361
  return resultobj;
 
8362
fail:
 
8363
  return NULL;
 
8364
}
 
8365
 
 
8366
 
 
8367
SWIGINTERN PyObject *RichTextObject_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
8368
  PyObject *obj;
 
8369
  if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
 
8370
  SWIG_TypeNewClientData(SWIGTYPE_p_wxRichTextObject, SWIG_NewClientData(obj));
 
8371
  return SWIG_Py_Void();
 
8372
}
 
8373
 
 
8374
SWIGINTERN PyObject *_wrap_delete_RichTextObjectList_iterator(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
8375
  PyObject *resultobj = 0;
 
8376
  wxRichTextObjectList_iterator *arg1 = (wxRichTextObjectList_iterator *) 0 ;
 
8377
  void *argp1 = 0 ;
 
8378
  int res1 = 0 ;
 
8379
  PyObject *swig_obj[1] ;
 
8380
  
 
8381
  if (!args) SWIG_fail;
 
8382
  swig_obj[0] = args;
 
8383
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextObjectList_iterator, SWIG_POINTER_DISOWN |  0 );
 
8384
  if (!SWIG_IsOK(res1)) {
 
8385
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_RichTextObjectList_iterator" "', expected argument " "1"" of type '" "wxRichTextObjectList_iterator *""'"); 
 
8386
  }
 
8387
  arg1 = reinterpret_cast< wxRichTextObjectList_iterator * >(argp1);
 
8388
  {
 
8389
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
8390
    delete arg1;
 
8391
    
 
8392
    wxPyEndAllowThreads(__tstate);
 
8393
    if (PyErr_Occurred()) SWIG_fail;
 
8394
  }
 
8395
  resultobj = SWIG_Py_Void();
 
8396
  return resultobj;
 
8397
fail:
 
8398
  return NULL;
 
8399
}
 
8400
 
 
8401
 
 
8402
SWIGINTERN PyObject *_wrap_RichTextObjectList_iterator_next(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
8403
  PyObject *resultobj = 0;
 
8404
  wxRichTextObjectList_iterator *arg1 = (wxRichTextObjectList_iterator *) 0 ;
 
8405
  wxRichTextObject *result = 0 ;
 
8406
  void *argp1 = 0 ;
 
8407
  int res1 = 0 ;
 
8408
  PyObject *swig_obj[1] ;
 
8409
  
 
8410
  if (!args) SWIG_fail;
 
8411
  swig_obj[0] = args;
 
8412
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextObjectList_iterator, 0 |  0 );
 
8413
  if (!SWIG_IsOK(res1)) {
 
8414
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextObjectList_iterator_next" "', expected argument " "1"" of type '" "wxRichTextObjectList_iterator *""'"); 
 
8415
  }
 
8416
  arg1 = reinterpret_cast< wxRichTextObjectList_iterator * >(argp1);
 
8417
  {
 
8418
    result = (wxRichTextObject *)(arg1)->next();
 
8419
    if (PyErr_Occurred()) SWIG_fail;
 
8420
  }
 
8421
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxRichTextObject, 0 |  0 );
 
8422
  return resultobj;
 
8423
fail:
 
8424
  return NULL;
 
8425
}
 
8426
 
 
8427
 
 
8428
SWIGINTERN PyObject *RichTextObjectList_iterator_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
8429
  PyObject *obj;
 
8430
  if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
 
8431
  SWIG_TypeNewClientData(SWIGTYPE_p_wxRichTextObjectList_iterator, SWIG_NewClientData(obj));
 
8432
  return SWIG_Py_Void();
 
8433
}
 
8434
 
 
8435
SWIGINTERN PyObject *_wrap_delete_RichTextObjectList(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
8436
  PyObject *resultobj = 0;
 
8437
  wxRichTextObjectList *arg1 = (wxRichTextObjectList *) 0 ;
 
8438
  void *argp1 = 0 ;
 
8439
  int res1 = 0 ;
 
8440
  PyObject *swig_obj[1] ;
 
8441
  
 
8442
  if (!args) SWIG_fail;
 
8443
  swig_obj[0] = args;
 
8444
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextObjectList, SWIG_POINTER_DISOWN |  0 );
 
8445
  if (!SWIG_IsOK(res1)) {
 
8446
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_RichTextObjectList" "', expected argument " "1"" of type '" "wxRichTextObjectList *""'"); 
 
8447
  }
 
8448
  arg1 = reinterpret_cast< wxRichTextObjectList * >(argp1);
 
8449
  {
 
8450
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
8451
    delete arg1;
 
8452
    
 
8453
    wxPyEndAllowThreads(__tstate);
 
8454
    if (PyErr_Occurred()) SWIG_fail;
 
8455
  }
 
8456
  resultobj = SWIG_Py_Void();
 
8457
  return resultobj;
 
8458
fail:
 
8459
  return NULL;
 
8460
}
 
8461
 
 
8462
 
 
8463
SWIGINTERN PyObject *_wrap_RichTextObjectList___len__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
8464
  PyObject *resultobj = 0;
 
8465
  wxRichTextObjectList *arg1 = (wxRichTextObjectList *) 0 ;
 
8466
  size_t result;
 
8467
  void *argp1 = 0 ;
 
8468
  int res1 = 0 ;
 
8469
  PyObject *swig_obj[1] ;
 
8470
  
 
8471
  if (!args) SWIG_fail;
 
8472
  swig_obj[0] = args;
 
8473
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextObjectList, 0 |  0 );
 
8474
  if (!SWIG_IsOK(res1)) {
 
8475
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextObjectList___len__" "', expected argument " "1"" of type '" "wxRichTextObjectList *""'"); 
 
8476
  }
 
8477
  arg1 = reinterpret_cast< wxRichTextObjectList * >(argp1);
 
8478
  {
 
8479
    result = (size_t)wxRichTextObjectList___len__(arg1);
 
8480
    if (PyErr_Occurred()) SWIG_fail;
 
8481
  }
 
8482
  resultobj = SWIG_From_size_t(static_cast< size_t >(result));
 
8483
  return resultobj;
 
8484
fail:
 
8485
  return NULL;
 
8486
}
 
8487
 
 
8488
 
 
8489
SWIGINTERN PyObject *_wrap_RichTextObjectList___getitem__(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
8490
  PyObject *resultobj = 0;
 
8491
  wxRichTextObjectList *arg1 = (wxRichTextObjectList *) 0 ;
 
8492
  size_t arg2 ;
 
8493
  wxRichTextObject *result = 0 ;
 
8494
  void *argp1 = 0 ;
 
8495
  int res1 = 0 ;
 
8496
  size_t val2 ;
 
8497
  int ecode2 = 0 ;
 
8498
  PyObject * obj0 = 0 ;
 
8499
  PyObject * obj1 = 0 ;
 
8500
  char *  kwnames[] = {
 
8501
    (char *) "self",(char *) "index", NULL 
 
8502
  };
 
8503
  
 
8504
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RichTextObjectList___getitem__",kwnames,&obj0,&obj1)) SWIG_fail;
 
8505
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextObjectList, 0 |  0 );
 
8506
  if (!SWIG_IsOK(res1)) {
 
8507
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextObjectList___getitem__" "', expected argument " "1"" of type '" "wxRichTextObjectList *""'"); 
 
8508
  }
 
8509
  arg1 = reinterpret_cast< wxRichTextObjectList * >(argp1);
 
8510
  ecode2 = SWIG_AsVal_size_t(obj1, &val2);
 
8511
  if (!SWIG_IsOK(ecode2)) {
 
8512
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RichTextObjectList___getitem__" "', expected argument " "2"" of type '" "size_t""'");
 
8513
  } 
 
8514
  arg2 = static_cast< size_t >(val2);
 
8515
  {
 
8516
    result = (wxRichTextObject *)wxRichTextObjectList___getitem__(arg1,arg2);
 
8517
    if (PyErr_Occurred()) SWIG_fail;
 
8518
  }
 
8519
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxRichTextObject, 0 |  0 );
 
8520
  return resultobj;
 
8521
fail:
 
8522
  return NULL;
 
8523
}
 
8524
 
 
8525
 
 
8526
SWIGINTERN PyObject *_wrap_RichTextObjectList___contains__(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
8527
  PyObject *resultobj = 0;
 
8528
  wxRichTextObjectList *arg1 = (wxRichTextObjectList *) 0 ;
 
8529
  wxRichTextObject *arg2 = (wxRichTextObject *) 0 ;
 
8530
  bool result;
 
8531
  void *argp1 = 0 ;
 
8532
  int res1 = 0 ;
 
8533
  void *argp2 = 0 ;
 
8534
  int res2 = 0 ;
 
8535
  PyObject * obj0 = 0 ;
 
8536
  PyObject * obj1 = 0 ;
 
8537
  char *  kwnames[] = {
 
8538
    (char *) "self",(char *) "obj", NULL 
 
8539
  };
 
8540
  
 
8541
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RichTextObjectList___contains__",kwnames,&obj0,&obj1)) SWIG_fail;
 
8542
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextObjectList, 0 |  0 );
 
8543
  if (!SWIG_IsOK(res1)) {
 
8544
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextObjectList___contains__" "', expected argument " "1"" of type '" "wxRichTextObjectList *""'"); 
 
8545
  }
 
8546
  arg1 = reinterpret_cast< wxRichTextObjectList * >(argp1);
 
8547
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxRichTextObject, 0 |  0 );
 
8548
  if (!SWIG_IsOK(res2)) {
 
8549
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "RichTextObjectList___contains__" "', expected argument " "2"" of type '" "wxRichTextObject const *""'"); 
 
8550
  }
 
8551
  arg2 = reinterpret_cast< wxRichTextObject * >(argp2);
 
8552
  {
 
8553
    result = (bool)wxRichTextObjectList___contains__(arg1,(wxRichTextObject const *)arg2);
 
8554
    if (PyErr_Occurred()) SWIG_fail;
 
8555
  }
 
8556
  {
 
8557
    resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
 
8558
  }
 
8559
  return resultobj;
 
8560
fail:
 
8561
  return NULL;
 
8562
}
 
8563
 
 
8564
 
 
8565
SWIGINTERN PyObject *_wrap_RichTextObjectList___iter__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
8566
  PyObject *resultobj = 0;
 
8567
  wxRichTextObjectList *arg1 = (wxRichTextObjectList *) 0 ;
 
8568
  wxRichTextObjectList_iterator *result = 0 ;
 
8569
  void *argp1 = 0 ;
 
8570
  int res1 = 0 ;
 
8571
  PyObject *swig_obj[1] ;
 
8572
  
 
8573
  if (!args) SWIG_fail;
 
8574
  swig_obj[0] = args;
 
8575
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextObjectList, 0 |  0 );
 
8576
  if (!SWIG_IsOK(res1)) {
 
8577
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextObjectList___iter__" "', expected argument " "1"" of type '" "wxRichTextObjectList *""'"); 
 
8578
  }
 
8579
  arg1 = reinterpret_cast< wxRichTextObjectList * >(argp1);
 
8580
  {
 
8581
    result = (wxRichTextObjectList_iterator *)wxRichTextObjectList___iter__(arg1);
 
8582
    if (PyErr_Occurred()) SWIG_fail;
 
8583
  }
 
8584
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxRichTextObjectList_iterator, SWIG_POINTER_OWN |  0 );
 
8585
  return resultobj;
 
8586
fail:
 
8587
  return NULL;
 
8588
}
 
8589
 
 
8590
 
 
8591
SWIGINTERN PyObject *_wrap_RichTextObjectList_index(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
8592
  PyObject *resultobj = 0;
 
8593
  wxRichTextObjectList *arg1 = (wxRichTextObjectList *) 0 ;
 
8594
  wxRichTextObject *arg2 = (wxRichTextObject *) 0 ;
 
8595
  int result;
 
8596
  void *argp1 = 0 ;
 
8597
  int res1 = 0 ;
 
8598
  void *argp2 = 0 ;
 
8599
  int res2 = 0 ;
 
8600
  PyObject * obj0 = 0 ;
 
8601
  PyObject * obj1 = 0 ;
 
8602
  char *  kwnames[] = {
 
8603
    (char *) "self",(char *) "obj", NULL 
 
8604
  };
 
8605
  
 
8606
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RichTextObjectList_index",kwnames,&obj0,&obj1)) SWIG_fail;
 
8607
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextObjectList, 0 |  0 );
 
8608
  if (!SWIG_IsOK(res1)) {
 
8609
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextObjectList_index" "', expected argument " "1"" of type '" "wxRichTextObjectList *""'"); 
 
8610
  }
 
8611
  arg1 = reinterpret_cast< wxRichTextObjectList * >(argp1);
 
8612
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxRichTextObject, 0 |  0 );
 
8613
  if (!SWIG_IsOK(res2)) {
 
8614
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "RichTextObjectList_index" "', expected argument " "2"" of type '" "wxRichTextObject *""'"); 
 
8615
  }
 
8616
  arg2 = reinterpret_cast< wxRichTextObject * >(argp2);
 
8617
  {
 
8618
    result = (int)wxRichTextObjectList_index(arg1,arg2);
 
8619
    if (PyErr_Occurred()) SWIG_fail;
 
8620
  }
 
8621
  resultobj = SWIG_From_int(static_cast< int >(result));
 
8622
  return resultobj;
 
8623
fail:
 
8624
  return NULL;
 
8625
}
 
8626
 
 
8627
 
 
8628
SWIGINTERN PyObject *RichTextObjectList_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
8629
  PyObject *obj;
 
8630
  if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
 
8631
  SWIG_TypeNewClientData(SWIGTYPE_p_wxRichTextObjectList, SWIG_NewClientData(obj));
 
8632
  return SWIG_Py_Void();
 
8633
}
 
8634
 
 
8635
SWIGINTERN PyObject *_wrap_delete_RichTextCompositeObject(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
8636
  PyObject *resultobj = 0;
 
8637
  wxRichTextCompositeObject *arg1 = (wxRichTextCompositeObject *) 0 ;
 
8638
  void *argp1 = 0 ;
 
8639
  int res1 = 0 ;
 
8640
  PyObject *swig_obj[1] ;
 
8641
  
 
8642
  if (!args) SWIG_fail;
 
8643
  swig_obj[0] = args;
 
8644
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextCompositeObject, SWIG_POINTER_DISOWN |  0 );
 
8645
  if (!SWIG_IsOK(res1)) {
 
8646
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_RichTextCompositeObject" "', expected argument " "1"" of type '" "wxRichTextCompositeObject *""'"); 
 
8647
  }
 
8648
  arg1 = reinterpret_cast< wxRichTextCompositeObject * >(argp1);
 
8649
  {
 
8650
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
8651
    delete arg1;
 
8652
    
 
8653
    wxPyEndAllowThreads(__tstate);
 
8654
    if (PyErr_Occurred()) SWIG_fail;
 
8655
  }
 
8656
  resultobj = SWIG_Py_Void();
 
8657
  return resultobj;
 
8658
fail:
 
8659
  return NULL;
 
8660
}
 
8661
 
 
8662
 
 
8663
SWIGINTERN PyObject *_wrap_RichTextCompositeObject_GetChildren(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
8664
  PyObject *resultobj = 0;
 
8665
  wxRichTextCompositeObject *arg1 = (wxRichTextCompositeObject *) 0 ;
 
8666
  wxRichTextObjectList *result = 0 ;
 
8667
  void *argp1 = 0 ;
 
8668
  int res1 = 0 ;
 
8669
  PyObject *swig_obj[1] ;
 
8670
  
 
8671
  if (!args) SWIG_fail;
 
8672
  swig_obj[0] = args;
 
8673
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextCompositeObject, 0 |  0 );
 
8674
  if (!SWIG_IsOK(res1)) {
 
8675
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCompositeObject_GetChildren" "', expected argument " "1"" of type '" "wxRichTextCompositeObject *""'"); 
 
8676
  }
 
8677
  arg1 = reinterpret_cast< wxRichTextCompositeObject * >(argp1);
 
8678
  {
 
8679
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
8680
    {
 
8681
      wxRichTextObjectList &_result_ref = (arg1)->GetChildren();
 
8682
      result = (wxRichTextObjectList *) &_result_ref;
 
8683
    }
 
8684
    wxPyEndAllowThreads(__tstate);
 
8685
    if (PyErr_Occurred()) SWIG_fail;
 
8686
  }
 
8687
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxRichTextObjectList, 0 |  0 );
 
8688
  return resultobj;
 
8689
fail:
 
8690
  return NULL;
 
8691
}
 
8692
 
 
8693
 
 
8694
SWIGINTERN PyObject *_wrap_RichTextCompositeObject_GetChildCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
8695
  PyObject *resultobj = 0;
 
8696
  wxRichTextCompositeObject *arg1 = (wxRichTextCompositeObject *) 0 ;
 
8697
  size_t result;
 
8698
  void *argp1 = 0 ;
 
8699
  int res1 = 0 ;
 
8700
  PyObject *swig_obj[1] ;
 
8701
  
 
8702
  if (!args) SWIG_fail;
 
8703
  swig_obj[0] = args;
 
8704
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextCompositeObject, 0 |  0 );
 
8705
  if (!SWIG_IsOK(res1)) {
 
8706
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCompositeObject_GetChildCount" "', expected argument " "1"" of type '" "wxRichTextCompositeObject const *""'"); 
 
8707
  }
 
8708
  arg1 = reinterpret_cast< wxRichTextCompositeObject * >(argp1);
 
8709
  {
 
8710
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
8711
    result = (size_t)((wxRichTextCompositeObject const *)arg1)->GetChildCount();
 
8712
    wxPyEndAllowThreads(__tstate);
 
8713
    if (PyErr_Occurred()) SWIG_fail;
 
8714
  }
 
8715
  resultobj = SWIG_From_size_t(static_cast< size_t >(result));
 
8716
  return resultobj;
 
8717
fail:
 
8718
  return NULL;
 
8719
}
 
8720
 
 
8721
 
 
8722
SWIGINTERN PyObject *_wrap_RichTextCompositeObject_GetChild(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
8723
  PyObject *resultobj = 0;
 
8724
  wxRichTextCompositeObject *arg1 = (wxRichTextCompositeObject *) 0 ;
 
8725
  size_t arg2 ;
 
8726
  wxRichTextObject *result = 0 ;
 
8727
  void *argp1 = 0 ;
 
8728
  int res1 = 0 ;
 
8729
  size_t val2 ;
 
8730
  int ecode2 = 0 ;
 
8731
  PyObject * obj0 = 0 ;
 
8732
  PyObject * obj1 = 0 ;
 
8733
  char *  kwnames[] = {
 
8734
    (char *) "self",(char *) "n", NULL 
 
8735
  };
 
8736
  
 
8737
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RichTextCompositeObject_GetChild",kwnames,&obj0,&obj1)) SWIG_fail;
 
8738
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextCompositeObject, 0 |  0 );
 
8739
  if (!SWIG_IsOK(res1)) {
 
8740
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCompositeObject_GetChild" "', expected argument " "1"" of type '" "wxRichTextCompositeObject const *""'"); 
 
8741
  }
 
8742
  arg1 = reinterpret_cast< wxRichTextCompositeObject * >(argp1);
 
8743
  ecode2 = SWIG_AsVal_size_t(obj1, &val2);
 
8744
  if (!SWIG_IsOK(ecode2)) {
 
8745
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RichTextCompositeObject_GetChild" "', expected argument " "2"" of type '" "size_t""'");
 
8746
  } 
 
8747
  arg2 = static_cast< size_t >(val2);
 
8748
  {
 
8749
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
8750
    result = (wxRichTextObject *)((wxRichTextCompositeObject const *)arg1)->GetChild(arg2);
 
8751
    wxPyEndAllowThreads(__tstate);
 
8752
    if (PyErr_Occurred()) SWIG_fail;
 
8753
  }
 
8754
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxRichTextObject, 0 |  0 );
 
8755
  return resultobj;
 
8756
fail:
 
8757
  return NULL;
 
8758
}
 
8759
 
 
8760
 
 
8761
SWIGINTERN PyObject *_wrap_RichTextCompositeObject_Copy(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
8762
  PyObject *resultobj = 0;
 
8763
  wxRichTextCompositeObject *arg1 = (wxRichTextCompositeObject *) 0 ;
 
8764
  wxRichTextCompositeObject *arg2 = 0 ;
 
8765
  void *argp1 = 0 ;
 
8766
  int res1 = 0 ;
 
8767
  void *argp2 = 0 ;
 
8768
  int res2 = 0 ;
 
8769
  PyObject * obj0 = 0 ;
 
8770
  PyObject * obj1 = 0 ;
 
8771
  char *  kwnames[] = {
 
8772
    (char *) "self",(char *) "obj", NULL 
 
8773
  };
 
8774
  
 
8775
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RichTextCompositeObject_Copy",kwnames,&obj0,&obj1)) SWIG_fail;
 
8776
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextCompositeObject, 0 |  0 );
 
8777
  if (!SWIG_IsOK(res1)) {
 
8778
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCompositeObject_Copy" "', expected argument " "1"" of type '" "wxRichTextCompositeObject *""'"); 
 
8779
  }
 
8780
  arg1 = reinterpret_cast< wxRichTextCompositeObject * >(argp1);
 
8781
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxRichTextCompositeObject,  0  | 0);
 
8782
  if (!SWIG_IsOK(res2)) {
 
8783
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "RichTextCompositeObject_Copy" "', expected argument " "2"" of type '" "wxRichTextCompositeObject const &""'"); 
 
8784
  }
 
8785
  if (!argp2) {
 
8786
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "RichTextCompositeObject_Copy" "', expected argument " "2"" of type '" "wxRichTextCompositeObject const &""'"); 
 
8787
  }
 
8788
  arg2 = reinterpret_cast< wxRichTextCompositeObject * >(argp2);
 
8789
  {
 
8790
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
8791
    (arg1)->Copy((wxRichTextCompositeObject const &)*arg2);
 
8792
    wxPyEndAllowThreads(__tstate);
 
8793
    if (PyErr_Occurred()) SWIG_fail;
 
8794
  }
 
8795
  resultobj = SWIG_Py_Void();
 
8796
  return resultobj;
 
8797
fail:
 
8798
  return NULL;
 
8799
}
 
8800
 
 
8801
 
 
8802
SWIGINTERN PyObject *_wrap_RichTextCompositeObject_AppendChild(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
8803
  PyObject *resultobj = 0;
 
8804
  wxRichTextCompositeObject *arg1 = (wxRichTextCompositeObject *) 0 ;
 
8805
  wxRichTextObject *arg2 = (wxRichTextObject *) 0 ;
 
8806
  size_t result;
 
8807
  void *argp1 = 0 ;
 
8808
  int res1 = 0 ;
 
8809
  int res2 = 0 ;
 
8810
  PyObject * obj0 = 0 ;
 
8811
  PyObject * obj1 = 0 ;
 
8812
  char *  kwnames[] = {
 
8813
    (char *) "self",(char *) "child", NULL 
 
8814
  };
 
8815
  
 
8816
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RichTextCompositeObject_AppendChild",kwnames,&obj0,&obj1)) SWIG_fail;
 
8817
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextCompositeObject, 0 |  0 );
 
8818
  if (!SWIG_IsOK(res1)) {
 
8819
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCompositeObject_AppendChild" "', expected argument " "1"" of type '" "wxRichTextCompositeObject *""'"); 
 
8820
  }
 
8821
  arg1 = reinterpret_cast< wxRichTextCompositeObject * >(argp1);
 
8822
  res2 = SWIG_ConvertPtr(obj1, SWIG_as_voidptrptr(&arg2), SWIGTYPE_p_wxRichTextObject, SWIG_POINTER_DISOWN |  0 );
 
8823
  if (!SWIG_IsOK(res2)) {
 
8824
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "RichTextCompositeObject_AppendChild" "', expected argument " "2"" of type '" "wxRichTextObject *""'");
 
8825
  }
 
8826
  {
 
8827
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
8828
    result = (size_t)(arg1)->AppendChild(arg2);
 
8829
    wxPyEndAllowThreads(__tstate);
 
8830
    if (PyErr_Occurred()) SWIG_fail;
 
8831
  }
 
8832
  resultobj = SWIG_From_size_t(static_cast< size_t >(result));
 
8833
  return resultobj;
 
8834
fail:
 
8835
  return NULL;
 
8836
}
 
8837
 
 
8838
 
 
8839
SWIGINTERN PyObject *_wrap_RichTextCompositeObject_InsertChild(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
8840
  PyObject *resultobj = 0;
 
8841
  wxRichTextCompositeObject *arg1 = (wxRichTextCompositeObject *) 0 ;
 
8842
  wxRichTextObject *arg2 = (wxRichTextObject *) 0 ;
 
8843
  wxRichTextObject *arg3 = (wxRichTextObject *) 0 ;
 
8844
  bool result;
 
8845
  void *argp1 = 0 ;
 
8846
  int res1 = 0 ;
 
8847
  int res2 = 0 ;
 
8848
  void *argp3 = 0 ;
 
8849
  int res3 = 0 ;
 
8850
  PyObject * obj0 = 0 ;
 
8851
  PyObject * obj1 = 0 ;
 
8852
  PyObject * obj2 = 0 ;
 
8853
  char *  kwnames[] = {
 
8854
    (char *) "self",(char *) "child",(char *) "inFrontOf", NULL 
 
8855
  };
 
8856
  
 
8857
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:RichTextCompositeObject_InsertChild",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
 
8858
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextCompositeObject, 0 |  0 );
 
8859
  if (!SWIG_IsOK(res1)) {
 
8860
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCompositeObject_InsertChild" "', expected argument " "1"" of type '" "wxRichTextCompositeObject *""'"); 
 
8861
  }
 
8862
  arg1 = reinterpret_cast< wxRichTextCompositeObject * >(argp1);
 
8863
  res2 = SWIG_ConvertPtr(obj1, SWIG_as_voidptrptr(&arg2), SWIGTYPE_p_wxRichTextObject, SWIG_POINTER_DISOWN |  0 );
 
8864
  if (!SWIG_IsOK(res2)) {
 
8865
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "RichTextCompositeObject_InsertChild" "', expected argument " "2"" of type '" "wxRichTextObject *""'");
 
8866
  }
 
8867
  res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxRichTextObject, 0 |  0 );
 
8868
  if (!SWIG_IsOK(res3)) {
 
8869
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "RichTextCompositeObject_InsertChild" "', expected argument " "3"" of type '" "wxRichTextObject *""'"); 
 
8870
  }
 
8871
  arg3 = reinterpret_cast< wxRichTextObject * >(argp3);
 
8872
  {
 
8873
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
8874
    result = (bool)(arg1)->InsertChild(arg2,arg3);
 
8875
    wxPyEndAllowThreads(__tstate);
 
8876
    if (PyErr_Occurred()) SWIG_fail;
 
8877
  }
 
8878
  {
 
8879
    resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
 
8880
  }
 
8881
  return resultobj;
 
8882
fail:
 
8883
  return NULL;
 
8884
}
 
8885
 
 
8886
 
 
8887
SWIGINTERN PyObject *_wrap_RichTextCompositeObject_RemoveChild(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
8888
  PyObject *resultobj = 0;
 
8889
  wxRichTextCompositeObject *arg1 = (wxRichTextCompositeObject *) 0 ;
 
8890
  wxRichTextObject *arg2 = (wxRichTextObject *) 0 ;
 
8891
  bool arg3 = (bool) false ;
 
8892
  bool result;
 
8893
  void *argp1 = 0 ;
 
8894
  int res1 = 0 ;
 
8895
  void *argp2 = 0 ;
 
8896
  int res2 = 0 ;
 
8897
  bool val3 ;
 
8898
  int ecode3 = 0 ;
 
8899
  PyObject * obj0 = 0 ;
 
8900
  PyObject * obj1 = 0 ;
 
8901
  PyObject * obj2 = 0 ;
 
8902
  char *  kwnames[] = {
 
8903
    (char *) "self",(char *) "child",(char *) "deleteChild", NULL 
 
8904
  };
 
8905
  
 
8906
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:RichTextCompositeObject_RemoveChild",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
 
8907
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextCompositeObject, 0 |  0 );
 
8908
  if (!SWIG_IsOK(res1)) {
 
8909
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCompositeObject_RemoveChild" "', expected argument " "1"" of type '" "wxRichTextCompositeObject *""'"); 
 
8910
  }
 
8911
  arg1 = reinterpret_cast< wxRichTextCompositeObject * >(argp1);
 
8912
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxRichTextObject, 0 |  0 );
 
8913
  if (!SWIG_IsOK(res2)) {
 
8914
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "RichTextCompositeObject_RemoveChild" "', expected argument " "2"" of type '" "wxRichTextObject *""'"); 
 
8915
  }
 
8916
  arg2 = reinterpret_cast< wxRichTextObject * >(argp2);
 
8917
  if (obj2) {
 
8918
    ecode3 = SWIG_AsVal_bool(obj2, &val3);
 
8919
    if (!SWIG_IsOK(ecode3)) {
 
8920
      SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "RichTextCompositeObject_RemoveChild" "', expected argument " "3"" of type '" "bool""'");
 
8921
    } 
 
8922
    arg3 = static_cast< bool >(val3);
 
8923
  }
 
8924
  {
 
8925
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
8926
    result = (bool)(arg1)->RemoveChild(arg2,arg3);
 
8927
    wxPyEndAllowThreads(__tstate);
 
8928
    if (PyErr_Occurred()) SWIG_fail;
 
8929
  }
 
8930
  {
 
8931
    resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
 
8932
  }
 
8933
  return resultobj;
 
8934
fail:
 
8935
  return NULL;
 
8936
}
 
8937
 
 
8938
 
 
8939
SWIGINTERN PyObject *_wrap_RichTextCompositeObject_DeleteChildren(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
8940
  PyObject *resultobj = 0;
 
8941
  wxRichTextCompositeObject *arg1 = (wxRichTextCompositeObject *) 0 ;
 
8942
  bool result;
 
8943
  void *argp1 = 0 ;
 
8944
  int res1 = 0 ;
 
8945
  PyObject *swig_obj[1] ;
 
8946
  
 
8947
  if (!args) SWIG_fail;
 
8948
  swig_obj[0] = args;
 
8949
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextCompositeObject, 0 |  0 );
 
8950
  if (!SWIG_IsOK(res1)) {
 
8951
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCompositeObject_DeleteChildren" "', expected argument " "1"" of type '" "wxRichTextCompositeObject *""'"); 
 
8952
  }
 
8953
  arg1 = reinterpret_cast< wxRichTextCompositeObject * >(argp1);
 
8954
  {
 
8955
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
8956
    result = (bool)(arg1)->DeleteChildren();
 
8957
    wxPyEndAllowThreads(__tstate);
 
8958
    if (PyErr_Occurred()) SWIG_fail;
 
8959
  }
 
8960
  {
 
8961
    resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
 
8962
  }
 
8963
  return resultobj;
 
8964
fail:
 
8965
  return NULL;
 
8966
}
 
8967
 
 
8968
 
 
8969
SWIGINTERN PyObject *_wrap_RichTextCompositeObject_Defragment(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
8970
  PyObject *resultobj = 0;
 
8971
  wxRichTextCompositeObject *arg1 = (wxRichTextCompositeObject *) 0 ;
 
8972
  bool result;
 
8973
  void *argp1 = 0 ;
 
8974
  int res1 = 0 ;
 
8975
  PyObject *swig_obj[1] ;
 
8976
  
 
8977
  if (!args) SWIG_fail;
 
8978
  swig_obj[0] = args;
 
8979
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextCompositeObject, 0 |  0 );
 
8980
  if (!SWIG_IsOK(res1)) {
 
8981
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCompositeObject_Defragment" "', expected argument " "1"" of type '" "wxRichTextCompositeObject *""'"); 
 
8982
  }
 
8983
  arg1 = reinterpret_cast< wxRichTextCompositeObject * >(argp1);
 
8984
  {
 
8985
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
8986
    result = (bool)(arg1)->Defragment();
 
8987
    wxPyEndAllowThreads(__tstate);
 
8988
    if (PyErr_Occurred()) SWIG_fail;
 
8989
  }
 
8990
  {
 
8991
    resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
 
8992
  }
 
8993
  return resultobj;
 
8994
fail:
 
8995
  return NULL;
 
8996
}
 
8997
 
 
8998
 
 
8999
SWIGINTERN PyObject *RichTextCompositeObject_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
9000
  PyObject *obj;
 
9001
  if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
 
9002
  SWIG_TypeNewClientData(SWIGTYPE_p_wxRichTextCompositeObject, SWIG_NewClientData(obj));
 
9003
  return SWIG_Py_Void();
 
9004
}
 
9005
 
 
9006
SWIGINTERN PyObject *_wrap_new_RichTextBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
9007
  PyObject *resultobj = 0;
 
9008
  wxRichTextObject *arg1 = (wxRichTextObject *) NULL ;
 
9009
  wxRichTextBox *result = 0 ;
 
9010
  void *argp1 = 0 ;
 
9011
  int res1 = 0 ;
 
9012
  PyObject * obj0 = 0 ;
 
9013
  char *  kwnames[] = {
 
9014
    (char *) "parent", NULL 
 
9015
  };
 
9016
  
 
9017
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_RichTextBox",kwnames,&obj0)) SWIG_fail;
 
9018
  if (obj0) {
 
9019
    res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextObject, 0 |  0 );
 
9020
    if (!SWIG_IsOK(res1)) {
 
9021
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_RichTextBox" "', expected argument " "1"" of type '" "wxRichTextObject *""'"); 
 
9022
    }
 
9023
    arg1 = reinterpret_cast< wxRichTextObject * >(argp1);
 
9024
  }
 
9025
  {
 
9026
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
9027
    result = (wxRichTextBox *)new wxRichTextBox(arg1);
 
9028
    wxPyEndAllowThreads(__tstate);
 
9029
    if (PyErr_Occurred()) SWIG_fail;
 
9030
  }
 
9031
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxRichTextBox, SWIG_POINTER_NEW |  0 );
 
9032
  return resultobj;
 
9033
fail:
 
9034
  return NULL;
 
9035
}
 
9036
 
 
9037
 
 
9038
SWIGINTERN PyObject *_wrap_RichTextBox_Copy(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
9039
  PyObject *resultobj = 0;
 
9040
  wxRichTextBox *arg1 = (wxRichTextBox *) 0 ;
 
9041
  wxRichTextBox *arg2 = 0 ;
 
9042
  void *argp1 = 0 ;
 
9043
  int res1 = 0 ;
 
9044
  void *argp2 = 0 ;
 
9045
  int res2 = 0 ;
 
9046
  PyObject * obj0 = 0 ;
 
9047
  PyObject * obj1 = 0 ;
 
9048
  char *  kwnames[] = {
 
9049
    (char *) "self",(char *) "obj", NULL 
 
9050
  };
 
9051
  
 
9052
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RichTextBox_Copy",kwnames,&obj0,&obj1)) SWIG_fail;
 
9053
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextBox, 0 |  0 );
 
9054
  if (!SWIG_IsOK(res1)) {
 
9055
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextBox_Copy" "', expected argument " "1"" of type '" "wxRichTextBox *""'"); 
 
9056
  }
 
9057
  arg1 = reinterpret_cast< wxRichTextBox * >(argp1);
 
9058
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxRichTextBox,  0  | 0);
 
9059
  if (!SWIG_IsOK(res2)) {
 
9060
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "RichTextBox_Copy" "', expected argument " "2"" of type '" "wxRichTextBox const &""'"); 
 
9061
  }
 
9062
  if (!argp2) {
 
9063
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "RichTextBox_Copy" "', expected argument " "2"" of type '" "wxRichTextBox const &""'"); 
 
9064
  }
 
9065
  arg2 = reinterpret_cast< wxRichTextBox * >(argp2);
 
9066
  {
 
9067
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
9068
    (arg1)->Copy((wxRichTextBox const &)*arg2);
 
9069
    wxPyEndAllowThreads(__tstate);
 
9070
    if (PyErr_Occurred()) SWIG_fail;
 
9071
  }
 
9072
  resultobj = SWIG_Py_Void();
 
9073
  return resultobj;
 
9074
fail:
 
9075
  return NULL;
 
9076
}
 
9077
 
 
9078
 
 
9079
SWIGINTERN PyObject *RichTextBox_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
9080
  PyObject *obj;
 
9081
  if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
 
9082
  SWIG_TypeNewClientData(SWIGTYPE_p_wxRichTextBox, SWIG_NewClientData(obj));
 
9083
  return SWIG_Py_Void();
 
9084
}
 
9085
 
 
9086
SWIGINTERN PyObject *RichTextBox_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
9087
  return SWIG_Python_InitShadowInstance(args);
 
9088
}
 
9089
 
 
9090
SWIGINTERN PyObject *_wrap_new_RichTextParagraphLayoutBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
9091
  PyObject *resultobj = 0;
 
9092
  wxRichTextObject *arg1 = (wxRichTextObject *) NULL ;
 
9093
  wxRichTextParagraphLayoutBox *result = 0 ;
 
9094
  void *argp1 = 0 ;
 
9095
  int res1 = 0 ;
 
9096
  PyObject * obj0 = 0 ;
 
9097
  char *  kwnames[] = {
 
9098
    (char *) "parent", NULL 
 
9099
  };
 
9100
  
 
9101
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_RichTextParagraphLayoutBox",kwnames,&obj0)) SWIG_fail;
 
9102
  if (obj0) {
 
9103
    res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextObject, 0 |  0 );
 
9104
    if (!SWIG_IsOK(res1)) {
 
9105
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_RichTextParagraphLayoutBox" "', expected argument " "1"" of type '" "wxRichTextObject *""'"); 
 
9106
    }
 
9107
    arg1 = reinterpret_cast< wxRichTextObject * >(argp1);
 
9108
  }
 
9109
  {
 
9110
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
9111
    result = (wxRichTextParagraphLayoutBox *)new wxRichTextParagraphLayoutBox(arg1);
 
9112
    wxPyEndAllowThreads(__tstate);
 
9113
    if (PyErr_Occurred()) SWIG_fail;
 
9114
  }
 
9115
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxRichTextParagraphLayoutBox, SWIG_POINTER_NEW |  0 );
 
9116
  return resultobj;
 
9117
fail:
 
9118
  return NULL;
 
9119
}
 
9120
 
 
9121
 
 
9122
SWIGINTERN PyObject *_wrap_RichTextParagraphLayoutBox_SetRichTextCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
9123
  PyObject *resultobj = 0;
 
9124
  wxRichTextParagraphLayoutBox *arg1 = (wxRichTextParagraphLayoutBox *) 0 ;
 
9125
  wxRichTextCtrl *arg2 = (wxRichTextCtrl *) 0 ;
 
9126
  void *argp1 = 0 ;
 
9127
  int res1 = 0 ;
 
9128
  void *argp2 = 0 ;
 
9129
  int res2 = 0 ;
 
9130
  PyObject * obj0 = 0 ;
 
9131
  PyObject * obj1 = 0 ;
 
9132
  char *  kwnames[] = {
 
9133
    (char *) "self",(char *) "ctrl", NULL 
 
9134
  };
 
9135
  
 
9136
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RichTextParagraphLayoutBox_SetRichTextCtrl",kwnames,&obj0,&obj1)) SWIG_fail;
 
9137
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextParagraphLayoutBox, 0 |  0 );
 
9138
  if (!SWIG_IsOK(res1)) {
 
9139
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextParagraphLayoutBox_SetRichTextCtrl" "', expected argument " "1"" of type '" "wxRichTextParagraphLayoutBox *""'"); 
 
9140
  }
 
9141
  arg1 = reinterpret_cast< wxRichTextParagraphLayoutBox * >(argp1);
 
9142
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxRichTextCtrl, 0 |  0 );
 
9143
  if (!SWIG_IsOK(res2)) {
 
9144
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "RichTextParagraphLayoutBox_SetRichTextCtrl" "', expected argument " "2"" of type '" "wxRichTextCtrl *""'"); 
 
9145
  }
 
9146
  arg2 = reinterpret_cast< wxRichTextCtrl * >(argp2);
 
9147
  {
 
9148
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
9149
    (arg1)->SetRichTextCtrl(arg2);
 
9150
    wxPyEndAllowThreads(__tstate);
 
9151
    if (PyErr_Occurred()) SWIG_fail;
 
9152
  }
 
9153
  resultobj = SWIG_Py_Void();
 
9154
  return resultobj;
 
9155
fail:
 
9156
  return NULL;
 
9157
}
 
9158
 
 
9159
 
 
9160
SWIGINTERN PyObject *_wrap_RichTextParagraphLayoutBox_GetRichTextCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
9161
  PyObject *resultobj = 0;
 
9162
  wxRichTextParagraphLayoutBox *arg1 = (wxRichTextParagraphLayoutBox *) 0 ;
 
9163
  wxRichTextCtrl *result = 0 ;
 
9164
  void *argp1 = 0 ;
 
9165
  int res1 = 0 ;
 
9166
  PyObject *swig_obj[1] ;
 
9167
  
 
9168
  if (!args) SWIG_fail;
 
9169
  swig_obj[0] = args;
 
9170
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextParagraphLayoutBox, 0 |  0 );
 
9171
  if (!SWIG_IsOK(res1)) {
 
9172
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextParagraphLayoutBox_GetRichTextCtrl" "', expected argument " "1"" of type '" "wxRichTextParagraphLayoutBox const *""'"); 
 
9173
  }
 
9174
  arg1 = reinterpret_cast< wxRichTextParagraphLayoutBox * >(argp1);
 
9175
  {
 
9176
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
9177
    result = (wxRichTextCtrl *)((wxRichTextParagraphLayoutBox const *)arg1)->GetRichTextCtrl();
 
9178
    wxPyEndAllowThreads(__tstate);
 
9179
    if (PyErr_Occurred()) SWIG_fail;
 
9180
  }
 
9181
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxRichTextCtrl, 0 |  0 );
 
9182
  return resultobj;
 
9183
fail:
 
9184
  return NULL;
 
9185
}
 
9186
 
 
9187
 
 
9188
SWIGINTERN PyObject *_wrap_RichTextParagraphLayoutBox_SetPartialParagraph(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
9189
  PyObject *resultobj = 0;
 
9190
  wxRichTextParagraphLayoutBox *arg1 = (wxRichTextParagraphLayoutBox *) 0 ;
 
9191
  bool arg2 ;
 
9192
  void *argp1 = 0 ;
 
9193
  int res1 = 0 ;
 
9194
  bool val2 ;
 
9195
  int ecode2 = 0 ;
 
9196
  PyObject * obj0 = 0 ;
 
9197
  PyObject * obj1 = 0 ;
 
9198
  char *  kwnames[] = {
 
9199
    (char *) "self",(char *) "partialPara", NULL 
 
9200
  };
 
9201
  
 
9202
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RichTextParagraphLayoutBox_SetPartialParagraph",kwnames,&obj0,&obj1)) SWIG_fail;
 
9203
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextParagraphLayoutBox, 0 |  0 );
 
9204
  if (!SWIG_IsOK(res1)) {
 
9205
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextParagraphLayoutBox_SetPartialParagraph" "', expected argument " "1"" of type '" "wxRichTextParagraphLayoutBox *""'"); 
 
9206
  }
 
9207
  arg1 = reinterpret_cast< wxRichTextParagraphLayoutBox * >(argp1);
 
9208
  ecode2 = SWIG_AsVal_bool(obj1, &val2);
 
9209
  if (!SWIG_IsOK(ecode2)) {
 
9210
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RichTextParagraphLayoutBox_SetPartialParagraph" "', expected argument " "2"" of type '" "bool""'");
 
9211
  } 
 
9212
  arg2 = static_cast< bool >(val2);
 
9213
  {
 
9214
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
9215
    (arg1)->SetPartialParagraph(arg2);
 
9216
    wxPyEndAllowThreads(__tstate);
 
9217
    if (PyErr_Occurred()) SWIG_fail;
 
9218
  }
 
9219
  resultobj = SWIG_Py_Void();
 
9220
  return resultobj;
 
9221
fail:
 
9222
  return NULL;
 
9223
}
 
9224
 
 
9225
 
 
9226
SWIGINTERN PyObject *_wrap_RichTextParagraphLayoutBox_GetPartialParagraph(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
9227
  PyObject *resultobj = 0;
 
9228
  wxRichTextParagraphLayoutBox *arg1 = (wxRichTextParagraphLayoutBox *) 0 ;
 
9229
  bool result;
 
9230
  void *argp1 = 0 ;
 
9231
  int res1 = 0 ;
 
9232
  PyObject *swig_obj[1] ;
 
9233
  
 
9234
  if (!args) SWIG_fail;
 
9235
  swig_obj[0] = args;
 
9236
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextParagraphLayoutBox, 0 |  0 );
 
9237
  if (!SWIG_IsOK(res1)) {
 
9238
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextParagraphLayoutBox_GetPartialParagraph" "', expected argument " "1"" of type '" "wxRichTextParagraphLayoutBox const *""'"); 
 
9239
  }
 
9240
  arg1 = reinterpret_cast< wxRichTextParagraphLayoutBox * >(argp1);
 
9241
  {
 
9242
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
9243
    result = (bool)((wxRichTextParagraphLayoutBox const *)arg1)->GetPartialParagraph();
 
9244
    wxPyEndAllowThreads(__tstate);
 
9245
    if (PyErr_Occurred()) SWIG_fail;
 
9246
  }
 
9247
  {
 
9248
    resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
 
9249
  }
 
9250
  return resultobj;
 
9251
fail:
 
9252
  return NULL;
 
9253
}
 
9254
 
 
9255
 
 
9256
SWIGINTERN PyObject *_wrap_RichTextParagraphLayoutBox_GetStyleSheet(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
9257
  PyObject *resultobj = 0;
 
9258
  wxRichTextParagraphLayoutBox *arg1 = (wxRichTextParagraphLayoutBox *) 0 ;
 
9259
  wxRichTextStyleSheet *result = 0 ;
 
9260
  void *argp1 = 0 ;
 
9261
  int res1 = 0 ;
 
9262
  PyObject *swig_obj[1] ;
 
9263
  
 
9264
  if (!args) SWIG_fail;
 
9265
  swig_obj[0] = args;
 
9266
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextParagraphLayoutBox, 0 |  0 );
 
9267
  if (!SWIG_IsOK(res1)) {
 
9268
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextParagraphLayoutBox_GetStyleSheet" "', expected argument " "1"" of type '" "wxRichTextParagraphLayoutBox const *""'"); 
 
9269
  }
 
9270
  arg1 = reinterpret_cast< wxRichTextParagraphLayoutBox * >(argp1);
 
9271
  {
 
9272
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
9273
    result = (wxRichTextStyleSheet *)((wxRichTextParagraphLayoutBox const *)arg1)->GetStyleSheet();
 
9274
    wxPyEndAllowThreads(__tstate);
 
9275
    if (PyErr_Occurred()) SWIG_fail;
 
9276
  }
 
9277
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxRichTextStyleSheet, 0 |  0 );
 
9278
  return resultobj;
 
9279
fail:
 
9280
  return NULL;
 
9281
}
 
9282
 
 
9283
 
 
9284
SWIGINTERN PyObject *_wrap_RichTextParagraphLayoutBox_Init(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
9285
  PyObject *resultobj = 0;
 
9286
  wxRichTextParagraphLayoutBox *arg1 = (wxRichTextParagraphLayoutBox *) 0 ;
 
9287
  void *argp1 = 0 ;
 
9288
  int res1 = 0 ;
 
9289
  PyObject *swig_obj[1] ;
 
9290
  
 
9291
  if (!args) SWIG_fail;
 
9292
  swig_obj[0] = args;
 
9293
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextParagraphLayoutBox, 0 |  0 );
 
9294
  if (!SWIG_IsOK(res1)) {
 
9295
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextParagraphLayoutBox_Init" "', expected argument " "1"" of type '" "wxRichTextParagraphLayoutBox *""'"); 
 
9296
  }
 
9297
  arg1 = reinterpret_cast< wxRichTextParagraphLayoutBox * >(argp1);
 
9298
  {
 
9299
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
9300
    (arg1)->Init();
 
9301
    wxPyEndAllowThreads(__tstate);
 
9302
    if (PyErr_Occurred()) SWIG_fail;
 
9303
  }
 
9304
  resultobj = SWIG_Py_Void();
 
9305
  return resultobj;
 
9306
fail:
 
9307
  return NULL;
 
9308
}
 
9309
 
 
9310
 
 
9311
SWIGINTERN PyObject *_wrap_RichTextParagraphLayoutBox_Clear(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
9312
  PyObject *resultobj = 0;
 
9313
  wxRichTextParagraphLayoutBox *arg1 = (wxRichTextParagraphLayoutBox *) 0 ;
 
9314
  void *argp1 = 0 ;
 
9315
  int res1 = 0 ;
 
9316
  PyObject *swig_obj[1] ;
 
9317
  
 
9318
  if (!args) SWIG_fail;
 
9319
  swig_obj[0] = args;
 
9320
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextParagraphLayoutBox, 0 |  0 );
 
9321
  if (!SWIG_IsOK(res1)) {
 
9322
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextParagraphLayoutBox_Clear" "', expected argument " "1"" of type '" "wxRichTextParagraphLayoutBox *""'"); 
 
9323
  }
 
9324
  arg1 = reinterpret_cast< wxRichTextParagraphLayoutBox * >(argp1);
 
9325
  {
 
9326
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
9327
    (arg1)->Clear();
 
9328
    wxPyEndAllowThreads(__tstate);
 
9329
    if (PyErr_Occurred()) SWIG_fail;
 
9330
  }
 
9331
  resultobj = SWIG_Py_Void();
 
9332
  return resultobj;
 
9333
fail:
 
9334
  return NULL;
 
9335
}
 
9336
 
 
9337
 
 
9338
SWIGINTERN PyObject *_wrap_RichTextParagraphLayoutBox_Reset(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
9339
  PyObject *resultobj = 0;
 
9340
  wxRichTextParagraphLayoutBox *arg1 = (wxRichTextParagraphLayoutBox *) 0 ;
 
9341
  void *argp1 = 0 ;
 
9342
  int res1 = 0 ;
 
9343
  PyObject *swig_obj[1] ;
 
9344
  
 
9345
  if (!args) SWIG_fail;
 
9346
  swig_obj[0] = args;
 
9347
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextParagraphLayoutBox, 0 |  0 );
 
9348
  if (!SWIG_IsOK(res1)) {
 
9349
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextParagraphLayoutBox_Reset" "', expected argument " "1"" of type '" "wxRichTextParagraphLayoutBox *""'"); 
 
9350
  }
 
9351
  arg1 = reinterpret_cast< wxRichTextParagraphLayoutBox * >(argp1);
 
9352
  {
 
9353
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
9354
    (arg1)->Reset();
 
9355
    wxPyEndAllowThreads(__tstate);
 
9356
    if (PyErr_Occurred()) SWIG_fail;
 
9357
  }
 
9358
  resultobj = SWIG_Py_Void();
 
9359
  return resultobj;
 
9360
fail:
 
9361
  return NULL;
 
9362
}
 
9363
 
 
9364
 
 
9365
SWIGINTERN PyObject *_wrap_RichTextParagraphLayoutBox_AddParagraph(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
9366
  PyObject *resultobj = 0;
 
9367
  wxRichTextParagraphLayoutBox *arg1 = (wxRichTextParagraphLayoutBox *) 0 ;
 
9368
  wxString *arg2 = 0 ;
 
9369
  wxTextAttrEx *arg3 = (wxTextAttrEx *) NULL ;
 
9370
  wxRichTextRange result;
 
9371
  void *argp1 = 0 ;
 
9372
  int res1 = 0 ;
 
9373
  bool temp2 = false ;
 
9374
  void *argp3 = 0 ;
 
9375
  int res3 = 0 ;
 
9376
  PyObject * obj0 = 0 ;
 
9377
  PyObject * obj1 = 0 ;
 
9378
  PyObject * obj2 = 0 ;
 
9379
  char *  kwnames[] = {
 
9380
    (char *) "self",(char *) "text",(char *) "paraStyle", NULL 
 
9381
  };
 
9382
  
 
9383
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:RichTextParagraphLayoutBox_AddParagraph",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
 
9384
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextParagraphLayoutBox, 0 |  0 );
 
9385
  if (!SWIG_IsOK(res1)) {
 
9386
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextParagraphLayoutBox_AddParagraph" "', expected argument " "1"" of type '" "wxRichTextParagraphLayoutBox *""'"); 
 
9387
  }
 
9388
  arg1 = reinterpret_cast< wxRichTextParagraphLayoutBox * >(argp1);
 
9389
  {
 
9390
    arg2 = wxString_in_helper(obj1);
 
9391
    if (arg2 == NULL) SWIG_fail;
 
9392
    temp2 = true;
 
9393
  }
 
9394
  if (obj2) {
 
9395
    res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxTextAttrEx, 0 |  0 );
 
9396
    if (!SWIG_IsOK(res3)) {
 
9397
      SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "RichTextParagraphLayoutBox_AddParagraph" "', expected argument " "3"" of type '" "wxTextAttrEx *""'"); 
 
9398
    }
 
9399
    arg3 = reinterpret_cast< wxTextAttrEx * >(argp3);
 
9400
  }
 
9401
  {
 
9402
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
9403
    result = (arg1)->AddParagraph((wxString const &)*arg2,arg3);
 
9404
    wxPyEndAllowThreads(__tstate);
 
9405
    if (PyErr_Occurred()) SWIG_fail;
 
9406
  }
 
9407
  resultobj = SWIG_NewPointerObj((new wxRichTextRange(static_cast< const wxRichTextRange& >(result))), SWIGTYPE_p_wxRichTextRange, SWIG_POINTER_OWN |  0 );
 
9408
  {
 
9409
    if (temp2)
 
9410
    delete arg2;
 
9411
  }
 
9412
  return resultobj;
 
9413
fail:
 
9414
  {
 
9415
    if (temp2)
 
9416
    delete arg2;
 
9417
  }
 
9418
  return NULL;
 
9419
}
 
9420
 
 
9421
 
 
9422
SWIGINTERN PyObject *_wrap_RichTextParagraphLayoutBox_AddImage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
9423
  PyObject *resultobj = 0;
 
9424
  wxRichTextParagraphLayoutBox *arg1 = (wxRichTextParagraphLayoutBox *) 0 ;
 
9425
  wxImage *arg2 = 0 ;
 
9426
  wxTextAttrEx *arg3 = (wxTextAttrEx *) NULL ;
 
9427
  wxRichTextRange result;
 
9428
  void *argp1 = 0 ;
 
9429
  int res1 = 0 ;
 
9430
  void *argp2 = 0 ;
 
9431
  int res2 = 0 ;
 
9432
  void *argp3 = 0 ;
 
9433
  int res3 = 0 ;
 
9434
  PyObject * obj0 = 0 ;
 
9435
  PyObject * obj1 = 0 ;
 
9436
  PyObject * obj2 = 0 ;
 
9437
  char *  kwnames[] = {
 
9438
    (char *) "self",(char *) "image",(char *) "paraStyle", NULL 
 
9439
  };
 
9440
  
 
9441
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:RichTextParagraphLayoutBox_AddImage",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
 
9442
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextParagraphLayoutBox, 0 |  0 );
 
9443
  if (!SWIG_IsOK(res1)) {
 
9444
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextParagraphLayoutBox_AddImage" "', expected argument " "1"" of type '" "wxRichTextParagraphLayoutBox *""'"); 
 
9445
  }
 
9446
  arg1 = reinterpret_cast< wxRichTextParagraphLayoutBox * >(argp1);
 
9447
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxImage,  0  | 0);
 
9448
  if (!SWIG_IsOK(res2)) {
 
9449
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "RichTextParagraphLayoutBox_AddImage" "', expected argument " "2"" of type '" "wxImage const &""'"); 
 
9450
  }
 
9451
  if (!argp2) {
 
9452
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "RichTextParagraphLayoutBox_AddImage" "', expected argument " "2"" of type '" "wxImage const &""'"); 
 
9453
  }
 
9454
  arg2 = reinterpret_cast< wxImage * >(argp2);
 
9455
  if (obj2) {
 
9456
    res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxTextAttrEx, 0 |  0 );
 
9457
    if (!SWIG_IsOK(res3)) {
 
9458
      SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "RichTextParagraphLayoutBox_AddImage" "', expected argument " "3"" of type '" "wxTextAttrEx *""'"); 
 
9459
    }
 
9460
    arg3 = reinterpret_cast< wxTextAttrEx * >(argp3);
 
9461
  }
 
9462
  {
 
9463
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
9464
    result = (arg1)->AddImage((wxImage const &)*arg2,arg3);
 
9465
    wxPyEndAllowThreads(__tstate);
 
9466
    if (PyErr_Occurred()) SWIG_fail;
 
9467
  }
 
9468
  resultobj = SWIG_NewPointerObj((new wxRichTextRange(static_cast< const wxRichTextRange& >(result))), SWIGTYPE_p_wxRichTextRange, SWIG_POINTER_OWN |  0 );
 
9469
  return resultobj;
 
9470
fail:
 
9471
  return NULL;
 
9472
}
 
9473
 
 
9474
 
 
9475
SWIGINTERN PyObject *_wrap_RichTextParagraphLayoutBox_AddParagraphs(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
9476
  PyObject *resultobj = 0;
 
9477
  wxRichTextParagraphLayoutBox *arg1 = (wxRichTextParagraphLayoutBox *) 0 ;
 
9478
  wxString *arg2 = 0 ;
 
9479
  wxTextAttrEx *arg3 = (wxTextAttrEx *) NULL ;
 
9480
  wxRichTextRange result;
 
9481
  void *argp1 = 0 ;
 
9482
  int res1 = 0 ;
 
9483
  bool temp2 = false ;
 
9484
  void *argp3 = 0 ;
 
9485
  int res3 = 0 ;
 
9486
  PyObject * obj0 = 0 ;
 
9487
  PyObject * obj1 = 0 ;
 
9488
  PyObject * obj2 = 0 ;
 
9489
  char *  kwnames[] = {
 
9490
    (char *) "self",(char *) "text",(char *) "paraStyle", NULL 
 
9491
  };
 
9492
  
 
9493
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:RichTextParagraphLayoutBox_AddParagraphs",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
 
9494
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextParagraphLayoutBox, 0 |  0 );
 
9495
  if (!SWIG_IsOK(res1)) {
 
9496
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextParagraphLayoutBox_AddParagraphs" "', expected argument " "1"" of type '" "wxRichTextParagraphLayoutBox *""'"); 
 
9497
  }
 
9498
  arg1 = reinterpret_cast< wxRichTextParagraphLayoutBox * >(argp1);
 
9499
  {
 
9500
    arg2 = wxString_in_helper(obj1);
 
9501
    if (arg2 == NULL) SWIG_fail;
 
9502
    temp2 = true;
 
9503
  }
 
9504
  if (obj2) {
 
9505
    res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxTextAttrEx, 0 |  0 );
 
9506
    if (!SWIG_IsOK(res3)) {
 
9507
      SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "RichTextParagraphLayoutBox_AddParagraphs" "', expected argument " "3"" of type '" "wxTextAttrEx *""'"); 
 
9508
    }
 
9509
    arg3 = reinterpret_cast< wxTextAttrEx * >(argp3);
 
9510
  }
 
9511
  {
 
9512
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
9513
    result = (arg1)->AddParagraphs((wxString const &)*arg2,arg3);
 
9514
    wxPyEndAllowThreads(__tstate);
 
9515
    if (PyErr_Occurred()) SWIG_fail;
 
9516
  }
 
9517
  resultobj = SWIG_NewPointerObj((new wxRichTextRange(static_cast< const wxRichTextRange& >(result))), SWIGTYPE_p_wxRichTextRange, SWIG_POINTER_OWN |  0 );
 
9518
  {
 
9519
    if (temp2)
 
9520
    delete arg2;
 
9521
  }
 
9522
  return resultobj;
 
9523
fail:
 
9524
  {
 
9525
    if (temp2)
 
9526
    delete arg2;
 
9527
  }
 
9528
  return NULL;
 
9529
}
 
9530
 
 
9531
 
 
9532
SWIGINTERN PyObject *_wrap_RichTextParagraphLayoutBox_GetLineAtPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
9533
  PyObject *resultobj = 0;
 
9534
  wxRichTextParagraphLayoutBox *arg1 = (wxRichTextParagraphLayoutBox *) 0 ;
 
9535
  long arg2 ;
 
9536
  bool arg3 = (bool) false ;
 
9537
  wxRichTextLine *result = 0 ;
 
9538
  void *argp1 = 0 ;
 
9539
  int res1 = 0 ;
 
9540
  long val2 ;
 
9541
  int ecode2 = 0 ;
 
9542
  bool val3 ;
 
9543
  int ecode3 = 0 ;
 
9544
  PyObject * obj0 = 0 ;
 
9545
  PyObject * obj1 = 0 ;
 
9546
  PyObject * obj2 = 0 ;
 
9547
  char *  kwnames[] = {
 
9548
    (char *) "self",(char *) "pos",(char *) "caretPosition", NULL 
 
9549
  };
 
9550
  
 
9551
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:RichTextParagraphLayoutBox_GetLineAtPosition",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
 
9552
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextParagraphLayoutBox, 0 |  0 );
 
9553
  if (!SWIG_IsOK(res1)) {
 
9554
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextParagraphLayoutBox_GetLineAtPosition" "', expected argument " "1"" of type '" "wxRichTextParagraphLayoutBox const *""'"); 
 
9555
  }
 
9556
  arg1 = reinterpret_cast< wxRichTextParagraphLayoutBox * >(argp1);
 
9557
  ecode2 = SWIG_AsVal_long(obj1, &val2);
 
9558
  if (!SWIG_IsOK(ecode2)) {
 
9559
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RichTextParagraphLayoutBox_GetLineAtPosition" "', expected argument " "2"" of type '" "long""'");
 
9560
  } 
 
9561
  arg2 = static_cast< long >(val2);
 
9562
  if (obj2) {
 
9563
    ecode3 = SWIG_AsVal_bool(obj2, &val3);
 
9564
    if (!SWIG_IsOK(ecode3)) {
 
9565
      SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "RichTextParagraphLayoutBox_GetLineAtPosition" "', expected argument " "3"" of type '" "bool""'");
 
9566
    } 
 
9567
    arg3 = static_cast< bool >(val3);
 
9568
  }
 
9569
  {
 
9570
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
9571
    result = (wxRichTextLine *)((wxRichTextParagraphLayoutBox const *)arg1)->GetLineAtPosition(arg2,arg3);
 
9572
    wxPyEndAllowThreads(__tstate);
 
9573
    if (PyErr_Occurred()) SWIG_fail;
 
9574
  }
 
9575
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxRichTextLine, 0 |  0 );
 
9576
  return resultobj;
 
9577
fail:
 
9578
  return NULL;
 
9579
}
 
9580
 
 
9581
 
 
9582
SWIGINTERN PyObject *_wrap_RichTextParagraphLayoutBox_GetLineAtYPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
9583
  PyObject *resultobj = 0;
 
9584
  wxRichTextParagraphLayoutBox *arg1 = (wxRichTextParagraphLayoutBox *) 0 ;
 
9585
  int arg2 ;
 
9586
  wxRichTextLine *result = 0 ;
 
9587
  void *argp1 = 0 ;
 
9588
  int res1 = 0 ;
 
9589
  int val2 ;
 
9590
  int ecode2 = 0 ;
 
9591
  PyObject * obj0 = 0 ;
 
9592
  PyObject * obj1 = 0 ;
 
9593
  char *  kwnames[] = {
 
9594
    (char *) "self",(char *) "y", NULL 
 
9595
  };
 
9596
  
 
9597
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RichTextParagraphLayoutBox_GetLineAtYPosition",kwnames,&obj0,&obj1)) SWIG_fail;
 
9598
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextParagraphLayoutBox, 0 |  0 );
 
9599
  if (!SWIG_IsOK(res1)) {
 
9600
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextParagraphLayoutBox_GetLineAtYPosition" "', expected argument " "1"" of type '" "wxRichTextParagraphLayoutBox const *""'"); 
 
9601
  }
 
9602
  arg1 = reinterpret_cast< wxRichTextParagraphLayoutBox * >(argp1);
 
9603
  ecode2 = SWIG_AsVal_int(obj1, &val2);
 
9604
  if (!SWIG_IsOK(ecode2)) {
 
9605
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RichTextParagraphLayoutBox_GetLineAtYPosition" "', expected argument " "2"" of type '" "int""'");
 
9606
  } 
 
9607
  arg2 = static_cast< int >(val2);
 
9608
  {
 
9609
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
9610
    result = (wxRichTextLine *)((wxRichTextParagraphLayoutBox const *)arg1)->GetLineAtYPosition(arg2);
 
9611
    wxPyEndAllowThreads(__tstate);
 
9612
    if (PyErr_Occurred()) SWIG_fail;
 
9613
  }
 
9614
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxRichTextLine, 0 |  0 );
 
9615
  return resultobj;
 
9616
fail:
 
9617
  return NULL;
 
9618
}
 
9619
 
 
9620
 
 
9621
SWIGINTERN PyObject *_wrap_RichTextParagraphLayoutBox_GetParagraphAtPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
9622
  PyObject *resultobj = 0;
 
9623
  wxRichTextParagraphLayoutBox *arg1 = (wxRichTextParagraphLayoutBox *) 0 ;
 
9624
  long arg2 ;
 
9625
  bool arg3 = (bool) false ;
 
9626
  wxRichTextParagraph *result = 0 ;
 
9627
  void *argp1 = 0 ;
 
9628
  int res1 = 0 ;
 
9629
  long val2 ;
 
9630
  int ecode2 = 0 ;
 
9631
  bool val3 ;
 
9632
  int ecode3 = 0 ;
 
9633
  PyObject * obj0 = 0 ;
 
9634
  PyObject * obj1 = 0 ;
 
9635
  PyObject * obj2 = 0 ;
 
9636
  char *  kwnames[] = {
 
9637
    (char *) "self",(char *) "pos",(char *) "caretPosition", NULL 
 
9638
  };
 
9639
  
 
9640
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:RichTextParagraphLayoutBox_GetParagraphAtPosition",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
 
9641
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextParagraphLayoutBox, 0 |  0 );
 
9642
  if (!SWIG_IsOK(res1)) {
 
9643
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextParagraphLayoutBox_GetParagraphAtPosition" "', expected argument " "1"" of type '" "wxRichTextParagraphLayoutBox const *""'"); 
 
9644
  }
 
9645
  arg1 = reinterpret_cast< wxRichTextParagraphLayoutBox * >(argp1);
 
9646
  ecode2 = SWIG_AsVal_long(obj1, &val2);
 
9647
  if (!SWIG_IsOK(ecode2)) {
 
9648
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RichTextParagraphLayoutBox_GetParagraphAtPosition" "', expected argument " "2"" of type '" "long""'");
 
9649
  } 
 
9650
  arg2 = static_cast< long >(val2);
 
9651
  if (obj2) {
 
9652
    ecode3 = SWIG_AsVal_bool(obj2, &val3);
 
9653
    if (!SWIG_IsOK(ecode3)) {
 
9654
      SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "RichTextParagraphLayoutBox_GetParagraphAtPosition" "', expected argument " "3"" of type '" "bool""'");
 
9655
    } 
 
9656
    arg3 = static_cast< bool >(val3);
 
9657
  }
 
9658
  {
 
9659
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
9660
    result = (wxRichTextParagraph *)((wxRichTextParagraphLayoutBox const *)arg1)->GetParagraphAtPosition(arg2,arg3);
 
9661
    wxPyEndAllowThreads(__tstate);
 
9662
    if (PyErr_Occurred()) SWIG_fail;
 
9663
  }
 
9664
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxRichTextParagraph, 0 |  0 );
 
9665
  return resultobj;
 
9666
fail:
 
9667
  return NULL;
 
9668
}
 
9669
 
 
9670
 
 
9671
SWIGINTERN PyObject *_wrap_RichTextParagraphLayoutBox_GetLineSizeAtPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
9672
  PyObject *resultobj = 0;
 
9673
  wxRichTextParagraphLayoutBox *arg1 = (wxRichTextParagraphLayoutBox *) 0 ;
 
9674
  long arg2 ;
 
9675
  bool arg3 = (bool) false ;
 
9676
  wxSize result;
 
9677
  void *argp1 = 0 ;
 
9678
  int res1 = 0 ;
 
9679
  long val2 ;
 
9680
  int ecode2 = 0 ;
 
9681
  bool val3 ;
 
9682
  int ecode3 = 0 ;
 
9683
  PyObject * obj0 = 0 ;
 
9684
  PyObject * obj1 = 0 ;
 
9685
  PyObject * obj2 = 0 ;
 
9686
  char *  kwnames[] = {
 
9687
    (char *) "self",(char *) "pos",(char *) "caretPosition", NULL 
 
9688
  };
 
9689
  
 
9690
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:RichTextParagraphLayoutBox_GetLineSizeAtPosition",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
 
9691
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextParagraphLayoutBox, 0 |  0 );
 
9692
  if (!SWIG_IsOK(res1)) {
 
9693
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextParagraphLayoutBox_GetLineSizeAtPosition" "', expected argument " "1"" of type '" "wxRichTextParagraphLayoutBox const *""'"); 
 
9694
  }
 
9695
  arg1 = reinterpret_cast< wxRichTextParagraphLayoutBox * >(argp1);
 
9696
  ecode2 = SWIG_AsVal_long(obj1, &val2);
 
9697
  if (!SWIG_IsOK(ecode2)) {
 
9698
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RichTextParagraphLayoutBox_GetLineSizeAtPosition" "', expected argument " "2"" of type '" "long""'");
 
9699
  } 
 
9700
  arg2 = static_cast< long >(val2);
 
9701
  if (obj2) {
 
9702
    ecode3 = SWIG_AsVal_bool(obj2, &val3);
 
9703
    if (!SWIG_IsOK(ecode3)) {
 
9704
      SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "RichTextParagraphLayoutBox_GetLineSizeAtPosition" "', expected argument " "3"" of type '" "bool""'");
 
9705
    } 
 
9706
    arg3 = static_cast< bool >(val3);
 
9707
  }
 
9708
  {
 
9709
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
9710
    result = ((wxRichTextParagraphLayoutBox const *)arg1)->GetLineSizeAtPosition(arg2,arg3);
 
9711
    wxPyEndAllowThreads(__tstate);
 
9712
    if (PyErr_Occurred()) SWIG_fail;
 
9713
  }
 
9714
  resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN |  0 );
 
9715
  return resultobj;
 
9716
fail:
 
9717
  return NULL;
 
9718
}
 
9719
 
 
9720
 
 
9721
SWIGINTERN PyObject *_wrap_RichTextParagraphLayoutBox_GetVisibleLineNumber(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
9722
  PyObject *resultobj = 0;
 
9723
  wxRichTextParagraphLayoutBox *arg1 = (wxRichTextParagraphLayoutBox *) 0 ;
 
9724
  long arg2 ;
 
9725
  bool arg3 = (bool) false ;
 
9726
  bool arg4 = (bool) false ;
 
9727
  long result;
 
9728
  void *argp1 = 0 ;
 
9729
  int res1 = 0 ;
 
9730
  long val2 ;
 
9731
  int ecode2 = 0 ;
 
9732
  bool val3 ;
 
9733
  int ecode3 = 0 ;
 
9734
  bool val4 ;
 
9735
  int ecode4 = 0 ;
 
9736
  PyObject * obj0 = 0 ;
 
9737
  PyObject * obj1 = 0 ;
 
9738
  PyObject * obj2 = 0 ;
 
9739
  PyObject * obj3 = 0 ;
 
9740
  char *  kwnames[] = {
 
9741
    (char *) "self",(char *) "pos",(char *) "caretPosition",(char *) "startOfLine", NULL 
 
9742
  };
 
9743
  
 
9744
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:RichTextParagraphLayoutBox_GetVisibleLineNumber",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
 
9745
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextParagraphLayoutBox, 0 |  0 );
 
9746
  if (!SWIG_IsOK(res1)) {
 
9747
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextParagraphLayoutBox_GetVisibleLineNumber" "', expected argument " "1"" of type '" "wxRichTextParagraphLayoutBox const *""'"); 
 
9748
  }
 
9749
  arg1 = reinterpret_cast< wxRichTextParagraphLayoutBox * >(argp1);
 
9750
  ecode2 = SWIG_AsVal_long(obj1, &val2);
 
9751
  if (!SWIG_IsOK(ecode2)) {
 
9752
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RichTextParagraphLayoutBox_GetVisibleLineNumber" "', expected argument " "2"" of type '" "long""'");
 
9753
  } 
 
9754
  arg2 = static_cast< long >(val2);
 
9755
  if (obj2) {
 
9756
    ecode3 = SWIG_AsVal_bool(obj2, &val3);
 
9757
    if (!SWIG_IsOK(ecode3)) {
 
9758
      SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "RichTextParagraphLayoutBox_GetVisibleLineNumber" "', expected argument " "3"" of type '" "bool""'");
 
9759
    } 
 
9760
    arg3 = static_cast< bool >(val3);
 
9761
  }
 
9762
  if (obj3) {
 
9763
    ecode4 = SWIG_AsVal_bool(obj3, &val4);
 
9764
    if (!SWIG_IsOK(ecode4)) {
 
9765
      SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "RichTextParagraphLayoutBox_GetVisibleLineNumber" "', expected argument " "4"" of type '" "bool""'");
 
9766
    } 
 
9767
    arg4 = static_cast< bool >(val4);
 
9768
  }
 
9769
  {
 
9770
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
9771
    result = (long)((wxRichTextParagraphLayoutBox const *)arg1)->GetVisibleLineNumber(arg2,arg3,arg4);
 
9772
    wxPyEndAllowThreads(__tstate);
 
9773
    if (PyErr_Occurred()) SWIG_fail;
 
9774
  }
 
9775
  resultobj = SWIG_From_long(static_cast< long >(result));
 
9776
  return resultobj;
 
9777
fail:
 
9778
  return NULL;
 
9779
}
 
9780
 
 
9781
 
 
9782
SWIGINTERN PyObject *_wrap_RichTextParagraphLayoutBox_GetLineForVisibleLineNumber(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
9783
  PyObject *resultobj = 0;
 
9784
  wxRichTextParagraphLayoutBox *arg1 = (wxRichTextParagraphLayoutBox *) 0 ;
 
9785
  long arg2 ;
 
9786
  wxRichTextLine *result = 0 ;
 
9787
  void *argp1 = 0 ;
 
9788
  int res1 = 0 ;
 
9789
  long val2 ;
 
9790
  int ecode2 = 0 ;
 
9791
  PyObject * obj0 = 0 ;
 
9792
  PyObject * obj1 = 0 ;
 
9793
  char *  kwnames[] = {
 
9794
    (char *) "self",(char *) "lineNumber", NULL 
 
9795
  };
 
9796
  
 
9797
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RichTextParagraphLayoutBox_GetLineForVisibleLineNumber",kwnames,&obj0,&obj1)) SWIG_fail;
 
9798
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextParagraphLayoutBox, 0 |  0 );
 
9799
  if (!SWIG_IsOK(res1)) {
 
9800
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextParagraphLayoutBox_GetLineForVisibleLineNumber" "', expected argument " "1"" of type '" "wxRichTextParagraphLayoutBox const *""'"); 
 
9801
  }
 
9802
  arg1 = reinterpret_cast< wxRichTextParagraphLayoutBox * >(argp1);
 
9803
  ecode2 = SWIG_AsVal_long(obj1, &val2);
 
9804
  if (!SWIG_IsOK(ecode2)) {
 
9805
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RichTextParagraphLayoutBox_GetLineForVisibleLineNumber" "', expected argument " "2"" of type '" "long""'");
 
9806
  } 
 
9807
  arg2 = static_cast< long >(val2);
 
9808
  {
 
9809
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
9810
    result = (wxRichTextLine *)((wxRichTextParagraphLayoutBox const *)arg1)->GetLineForVisibleLineNumber(arg2);
 
9811
    wxPyEndAllowThreads(__tstate);
 
9812
    if (PyErr_Occurred()) SWIG_fail;
 
9813
  }
 
9814
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxRichTextLine, 0 |  0 );
 
9815
  return resultobj;
 
9816
fail:
 
9817
  return NULL;
 
9818
}
 
9819
 
 
9820
 
 
9821
SWIGINTERN PyObject *_wrap_RichTextParagraphLayoutBox_GetLeafObjectAtPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
9822
  PyObject *resultobj = 0;
 
9823
  wxRichTextParagraphLayoutBox *arg1 = (wxRichTextParagraphLayoutBox *) 0 ;
 
9824
  long arg2 ;
 
9825
  wxRichTextObject *result = 0 ;
 
9826
  void *argp1 = 0 ;
 
9827
  int res1 = 0 ;
 
9828
  long val2 ;
 
9829
  int ecode2 = 0 ;
 
9830
  PyObject * obj0 = 0 ;
 
9831
  PyObject * obj1 = 0 ;
 
9832
  char *  kwnames[] = {
 
9833
    (char *) "self",(char *) "position", NULL 
 
9834
  };
 
9835
  
 
9836
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RichTextParagraphLayoutBox_GetLeafObjectAtPosition",kwnames,&obj0,&obj1)) SWIG_fail;
 
9837
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextParagraphLayoutBox, 0 |  0 );
 
9838
  if (!SWIG_IsOK(res1)) {
 
9839
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextParagraphLayoutBox_GetLeafObjectAtPosition" "', expected argument " "1"" of type '" "wxRichTextParagraphLayoutBox const *""'"); 
 
9840
  }
 
9841
  arg1 = reinterpret_cast< wxRichTextParagraphLayoutBox * >(argp1);
 
9842
  ecode2 = SWIG_AsVal_long(obj1, &val2);
 
9843
  if (!SWIG_IsOK(ecode2)) {
 
9844
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RichTextParagraphLayoutBox_GetLeafObjectAtPosition" "', expected argument " "2"" of type '" "long""'");
 
9845
  } 
 
9846
  arg2 = static_cast< long >(val2);
 
9847
  {
 
9848
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
9849
    result = (wxRichTextObject *)((wxRichTextParagraphLayoutBox const *)arg1)->GetLeafObjectAtPosition(arg2);
 
9850
    wxPyEndAllowThreads(__tstate);
 
9851
    if (PyErr_Occurred()) SWIG_fail;
 
9852
  }
 
9853
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxRichTextObject, 0 |  0 );
 
9854
  return resultobj;
 
9855
fail:
 
9856
  return NULL;
 
9857
}
 
9858
 
 
9859
 
 
9860
SWIGINTERN PyObject *_wrap_RichTextParagraphLayoutBox_GetParagraphAtLine(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
9861
  PyObject *resultobj = 0;
 
9862
  wxRichTextParagraphLayoutBox *arg1 = (wxRichTextParagraphLayoutBox *) 0 ;
 
9863
  long arg2 ;
 
9864
  wxRichTextParagraph *result = 0 ;
 
9865
  void *argp1 = 0 ;
 
9866
  int res1 = 0 ;
 
9867
  long val2 ;
 
9868
  int ecode2 = 0 ;
 
9869
  PyObject * obj0 = 0 ;
 
9870
  PyObject * obj1 = 0 ;
 
9871
  char *  kwnames[] = {
 
9872
    (char *) "self",(char *) "paragraphNumber", NULL 
 
9873
  };
 
9874
  
 
9875
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RichTextParagraphLayoutBox_GetParagraphAtLine",kwnames,&obj0,&obj1)) SWIG_fail;
 
9876
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextParagraphLayoutBox, 0 |  0 );
 
9877
  if (!SWIG_IsOK(res1)) {
 
9878
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextParagraphLayoutBox_GetParagraphAtLine" "', expected argument " "1"" of type '" "wxRichTextParagraphLayoutBox const *""'"); 
 
9879
  }
 
9880
  arg1 = reinterpret_cast< wxRichTextParagraphLayoutBox * >(argp1);
 
9881
  ecode2 = SWIG_AsVal_long(obj1, &val2);
 
9882
  if (!SWIG_IsOK(ecode2)) {
 
9883
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RichTextParagraphLayoutBox_GetParagraphAtLine" "', expected argument " "2"" of type '" "long""'");
 
9884
  } 
 
9885
  arg2 = static_cast< long >(val2);
 
9886
  {
 
9887
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
9888
    result = (wxRichTextParagraph *)((wxRichTextParagraphLayoutBox const *)arg1)->GetParagraphAtLine(arg2);
 
9889
    wxPyEndAllowThreads(__tstate);
 
9890
    if (PyErr_Occurred()) SWIG_fail;
 
9891
  }
 
9892
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxRichTextParagraph, 0 |  0 );
 
9893
  return resultobj;
 
9894
fail:
 
9895
  return NULL;
 
9896
}
 
9897
 
 
9898
 
 
9899
SWIGINTERN PyObject *_wrap_RichTextParagraphLayoutBox_GetParagraphForLine(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
9900
  PyObject *resultobj = 0;
 
9901
  wxRichTextParagraphLayoutBox *arg1 = (wxRichTextParagraphLayoutBox *) 0 ;
 
9902
  wxRichTextLine *arg2 = (wxRichTextLine *) 0 ;
 
9903
  wxRichTextParagraph *result = 0 ;
 
9904
  void *argp1 = 0 ;
 
9905
  int res1 = 0 ;
 
9906
  void *argp2 = 0 ;
 
9907
  int res2 = 0 ;
 
9908
  PyObject * obj0 = 0 ;
 
9909
  PyObject * obj1 = 0 ;
 
9910
  char *  kwnames[] = {
 
9911
    (char *) "self",(char *) "line", NULL 
 
9912
  };
 
9913
  
 
9914
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RichTextParagraphLayoutBox_GetParagraphForLine",kwnames,&obj0,&obj1)) SWIG_fail;
 
9915
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextParagraphLayoutBox, 0 |  0 );
 
9916
  if (!SWIG_IsOK(res1)) {
 
9917
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextParagraphLayoutBox_GetParagraphForLine" "', expected argument " "1"" of type '" "wxRichTextParagraphLayoutBox const *""'"); 
 
9918
  }
 
9919
  arg1 = reinterpret_cast< wxRichTextParagraphLayoutBox * >(argp1);
 
9920
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxRichTextLine, 0 |  0 );
 
9921
  if (!SWIG_IsOK(res2)) {
 
9922
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "RichTextParagraphLayoutBox_GetParagraphForLine" "', expected argument " "2"" of type '" "wxRichTextLine *""'"); 
 
9923
  }
 
9924
  arg2 = reinterpret_cast< wxRichTextLine * >(argp2);
 
9925
  {
 
9926
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
9927
    result = (wxRichTextParagraph *)((wxRichTextParagraphLayoutBox const *)arg1)->GetParagraphForLine(arg2);
 
9928
    wxPyEndAllowThreads(__tstate);
 
9929
    if (PyErr_Occurred()) SWIG_fail;
 
9930
  }
 
9931
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxRichTextParagraph, 0 |  0 );
 
9932
  return resultobj;
 
9933
fail:
 
9934
  return NULL;
 
9935
}
 
9936
 
 
9937
 
 
9938
SWIGINTERN PyObject *_wrap_RichTextParagraphLayoutBox_GetParagraphLength(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
9939
  PyObject *resultobj = 0;
 
9940
  wxRichTextParagraphLayoutBox *arg1 = (wxRichTextParagraphLayoutBox *) 0 ;
 
9941
  long arg2 ;
 
9942
  int result;
 
9943
  void *argp1 = 0 ;
 
9944
  int res1 = 0 ;
 
9945
  long val2 ;
 
9946
  int ecode2 = 0 ;
 
9947
  PyObject * obj0 = 0 ;
 
9948
  PyObject * obj1 = 0 ;
 
9949
  char *  kwnames[] = {
 
9950
    (char *) "self",(char *) "paragraphNumber", NULL 
 
9951
  };
 
9952
  
 
9953
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RichTextParagraphLayoutBox_GetParagraphLength",kwnames,&obj0,&obj1)) SWIG_fail;
 
9954
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextParagraphLayoutBox, 0 |  0 );
 
9955
  if (!SWIG_IsOK(res1)) {
 
9956
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextParagraphLayoutBox_GetParagraphLength" "', expected argument " "1"" of type '" "wxRichTextParagraphLayoutBox const *""'"); 
 
9957
  }
 
9958
  arg1 = reinterpret_cast< wxRichTextParagraphLayoutBox * >(argp1);
 
9959
  ecode2 = SWIG_AsVal_long(obj1, &val2);
 
9960
  if (!SWIG_IsOK(ecode2)) {
 
9961
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RichTextParagraphLayoutBox_GetParagraphLength" "', expected argument " "2"" of type '" "long""'");
 
9962
  } 
 
9963
  arg2 = static_cast< long >(val2);
 
9964
  {
 
9965
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
9966
    result = (int)((wxRichTextParagraphLayoutBox const *)arg1)->GetParagraphLength(arg2);
 
9967
    wxPyEndAllowThreads(__tstate);
 
9968
    if (PyErr_Occurred()) SWIG_fail;
 
9969
  }
 
9970
  resultobj = SWIG_From_int(static_cast< int >(result));
 
9971
  return resultobj;
 
9972
fail:
 
9973
  return NULL;
 
9974
}
 
9975
 
 
9976
 
 
9977
SWIGINTERN PyObject *_wrap_RichTextParagraphLayoutBox_GetParagraphCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
9978
  PyObject *resultobj = 0;
 
9979
  wxRichTextParagraphLayoutBox *arg1 = (wxRichTextParagraphLayoutBox *) 0 ;
 
9980
  int result;
 
9981
  void *argp1 = 0 ;
 
9982
  int res1 = 0 ;
 
9983
  PyObject *swig_obj[1] ;
 
9984
  
 
9985
  if (!args) SWIG_fail;
 
9986
  swig_obj[0] = args;
 
9987
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextParagraphLayoutBox, 0 |  0 );
 
9988
  if (!SWIG_IsOK(res1)) {
 
9989
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextParagraphLayoutBox_GetParagraphCount" "', expected argument " "1"" of type '" "wxRichTextParagraphLayoutBox const *""'"); 
 
9990
  }
 
9991
  arg1 = reinterpret_cast< wxRichTextParagraphLayoutBox * >(argp1);
 
9992
  {
 
9993
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
9994
    result = (int)((wxRichTextParagraphLayoutBox const *)arg1)->GetParagraphCount();
 
9995
    wxPyEndAllowThreads(__tstate);
 
9996
    if (PyErr_Occurred()) SWIG_fail;
 
9997
  }
 
9998
  resultobj = SWIG_From_int(static_cast< int >(result));
 
9999
  return resultobj;
 
10000
fail:
 
10001
  return NULL;
 
10002
}
 
10003
 
 
10004
 
 
10005
SWIGINTERN PyObject *_wrap_RichTextParagraphLayoutBox_GetLineCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
10006
  PyObject *resultobj = 0;
 
10007
  wxRichTextParagraphLayoutBox *arg1 = (wxRichTextParagraphLayoutBox *) 0 ;
 
10008
  int result;
 
10009
  void *argp1 = 0 ;
 
10010
  int res1 = 0 ;
 
10011
  PyObject *swig_obj[1] ;
 
10012
  
 
10013
  if (!args) SWIG_fail;
 
10014
  swig_obj[0] = args;
 
10015
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextParagraphLayoutBox, 0 |  0 );
 
10016
  if (!SWIG_IsOK(res1)) {
 
10017
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextParagraphLayoutBox_GetLineCount" "', expected argument " "1"" of type '" "wxRichTextParagraphLayoutBox const *""'"); 
 
10018
  }
 
10019
  arg1 = reinterpret_cast< wxRichTextParagraphLayoutBox * >(argp1);
 
10020
  {
 
10021
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
10022
    result = (int)((wxRichTextParagraphLayoutBox const *)arg1)->GetLineCount();
 
10023
    wxPyEndAllowThreads(__tstate);
 
10024
    if (PyErr_Occurred()) SWIG_fail;
 
10025
  }
 
10026
  resultobj = SWIG_From_int(static_cast< int >(result));
 
10027
  return resultobj;
 
10028
fail:
 
10029
  return NULL;
 
10030
}
 
10031
 
 
10032
 
 
10033
SWIGINTERN PyObject *_wrap_RichTextParagraphLayoutBox_GetParagraphText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
10034
  PyObject *resultobj = 0;
 
10035
  wxRichTextParagraphLayoutBox *arg1 = (wxRichTextParagraphLayoutBox *) 0 ;
 
10036
  long arg2 ;
 
10037
  wxString result;
 
10038
  void *argp1 = 0 ;
 
10039
  int res1 = 0 ;
 
10040
  long val2 ;
 
10041
  int ecode2 = 0 ;
 
10042
  PyObject * obj0 = 0 ;
 
10043
  PyObject * obj1 = 0 ;
 
10044
  char *  kwnames[] = {
 
10045
    (char *) "self",(char *) "paragraphNumber", NULL 
 
10046
  };
 
10047
  
 
10048
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RichTextParagraphLayoutBox_GetParagraphText",kwnames,&obj0,&obj1)) SWIG_fail;
 
10049
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextParagraphLayoutBox, 0 |  0 );
 
10050
  if (!SWIG_IsOK(res1)) {
 
10051
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextParagraphLayoutBox_GetParagraphText" "', expected argument " "1"" of type '" "wxRichTextParagraphLayoutBox const *""'"); 
 
10052
  }
 
10053
  arg1 = reinterpret_cast< wxRichTextParagraphLayoutBox * >(argp1);
 
10054
  ecode2 = SWIG_AsVal_long(obj1, &val2);
 
10055
  if (!SWIG_IsOK(ecode2)) {
 
10056
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RichTextParagraphLayoutBox_GetParagraphText" "', expected argument " "2"" of type '" "long""'");
 
10057
  } 
 
10058
  arg2 = static_cast< long >(val2);
 
10059
  {
 
10060
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
10061
    result = ((wxRichTextParagraphLayoutBox const *)arg1)->GetParagraphText(arg2);
 
10062
    wxPyEndAllowThreads(__tstate);
 
10063
    if (PyErr_Occurred()) SWIG_fail;
 
10064
  }
 
10065
  {
 
10066
#if wxUSE_UNICODE
 
10067
    resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
 
10068
#else
 
10069
    resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
 
10070
#endif
 
10071
  }
 
10072
  return resultobj;
 
10073
fail:
 
10074
  return NULL;
 
10075
}
 
10076
 
 
10077
 
 
10078
SWIGINTERN PyObject *_wrap_RichTextParagraphLayoutBox_XYToPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
10079
  PyObject *resultobj = 0;
 
10080
  wxRichTextParagraphLayoutBox *arg1 = (wxRichTextParagraphLayoutBox *) 0 ;
 
10081
  long arg2 ;
 
10082
  long arg3 ;
 
10083
  long result;
 
10084
  void *argp1 = 0 ;
 
10085
  int res1 = 0 ;
 
10086
  long val2 ;
 
10087
  int ecode2 = 0 ;
 
10088
  long val3 ;
 
10089
  int ecode3 = 0 ;
 
10090
  PyObject * obj0 = 0 ;
 
10091
  PyObject * obj1 = 0 ;
 
10092
  PyObject * obj2 = 0 ;
 
10093
  char *  kwnames[] = {
 
10094
    (char *) "self",(char *) "x",(char *) "y", NULL 
 
10095
  };
 
10096
  
 
10097
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:RichTextParagraphLayoutBox_XYToPosition",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
 
10098
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextParagraphLayoutBox, 0 |  0 );
 
10099
  if (!SWIG_IsOK(res1)) {
 
10100
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextParagraphLayoutBox_XYToPosition" "', expected argument " "1"" of type '" "wxRichTextParagraphLayoutBox const *""'"); 
 
10101
  }
 
10102
  arg1 = reinterpret_cast< wxRichTextParagraphLayoutBox * >(argp1);
 
10103
  ecode2 = SWIG_AsVal_long(obj1, &val2);
 
10104
  if (!SWIG_IsOK(ecode2)) {
 
10105
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RichTextParagraphLayoutBox_XYToPosition" "', expected argument " "2"" of type '" "long""'");
 
10106
  } 
 
10107
  arg2 = static_cast< long >(val2);
 
10108
  ecode3 = SWIG_AsVal_long(obj2, &val3);
 
10109
  if (!SWIG_IsOK(ecode3)) {
 
10110
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "RichTextParagraphLayoutBox_XYToPosition" "', expected argument " "3"" of type '" "long""'");
 
10111
  } 
 
10112
  arg3 = static_cast< long >(val3);
 
10113
  {
 
10114
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
10115
    result = (long)((wxRichTextParagraphLayoutBox const *)arg1)->XYToPosition(arg2,arg3);
 
10116
    wxPyEndAllowThreads(__tstate);
 
10117
    if (PyErr_Occurred()) SWIG_fail;
 
10118
  }
 
10119
  resultobj = SWIG_From_long(static_cast< long >(result));
 
10120
  return resultobj;
 
10121
fail:
 
10122
  return NULL;
 
10123
}
 
10124
 
 
10125
 
 
10126
SWIGINTERN PyObject *_wrap_RichTextParagraphLayoutBox_PositionToXY(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
10127
  PyObject *resultobj = 0;
 
10128
  wxRichTextParagraphLayoutBox *arg1 = (wxRichTextParagraphLayoutBox *) 0 ;
 
10129
  long arg2 ;
 
10130
  long *arg3 = (long *) 0 ;
 
10131
  long *arg4 = (long *) 0 ;
 
10132
  bool result;
 
10133
  void *argp1 = 0 ;
 
10134
  int res1 = 0 ;
 
10135
  long val2 ;
 
10136
  int ecode2 = 0 ;
 
10137
  void *argp3 = 0 ;
 
10138
  int res3 = 0 ;
 
10139
  void *argp4 = 0 ;
 
10140
  int res4 = 0 ;
 
10141
  PyObject * obj0 = 0 ;
 
10142
  PyObject * obj1 = 0 ;
 
10143
  PyObject * obj2 = 0 ;
 
10144
  PyObject * obj3 = 0 ;
 
10145
  char *  kwnames[] = {
 
10146
    (char *) "self",(char *) "pos",(char *) "x",(char *) "y", NULL 
 
10147
  };
 
10148
  
 
10149
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:RichTextParagraphLayoutBox_PositionToXY",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
 
10150
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextParagraphLayoutBox, 0 |  0 );
 
10151
  if (!SWIG_IsOK(res1)) {
 
10152
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextParagraphLayoutBox_PositionToXY" "', expected argument " "1"" of type '" "wxRichTextParagraphLayoutBox const *""'"); 
 
10153
  }
 
10154
  arg1 = reinterpret_cast< wxRichTextParagraphLayoutBox * >(argp1);
 
10155
  ecode2 = SWIG_AsVal_long(obj1, &val2);
 
10156
  if (!SWIG_IsOK(ecode2)) {
 
10157
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RichTextParagraphLayoutBox_PositionToXY" "', expected argument " "2"" of type '" "long""'");
 
10158
  } 
 
10159
  arg2 = static_cast< long >(val2);
 
10160
  res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_long, 0 |  0 );
 
10161
  if (!SWIG_IsOK(res3)) {
 
10162
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "RichTextParagraphLayoutBox_PositionToXY" "', expected argument " "3"" of type '" "long *""'"); 
 
10163
  }
 
10164
  arg3 = reinterpret_cast< long * >(argp3);
 
10165
  res4 = SWIG_ConvertPtr(obj3, &argp4,SWIGTYPE_p_long, 0 |  0 );
 
10166
  if (!SWIG_IsOK(res4)) {
 
10167
    SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "RichTextParagraphLayoutBox_PositionToXY" "', expected argument " "4"" of type '" "long *""'"); 
 
10168
  }
 
10169
  arg4 = reinterpret_cast< long * >(argp4);
 
10170
  {
 
10171
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
10172
    result = (bool)((wxRichTextParagraphLayoutBox const *)arg1)->PositionToXY(arg2,arg3,arg4);
 
10173
    wxPyEndAllowThreads(__tstate);
 
10174
    if (PyErr_Occurred()) SWIG_fail;
 
10175
  }
 
10176
  {
 
10177
    resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
 
10178
  }
 
10179
  return resultobj;
 
10180
fail:
 
10181
  return NULL;
 
10182
}
 
10183
 
 
10184
 
 
10185
SWIGINTERN PyObject *_wrap_RichTextParagraphLayoutBox_SetStyle(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
10186
  PyObject *resultobj = 0;
 
10187
  wxRichTextParagraphLayoutBox *arg1 = (wxRichTextParagraphLayoutBox *) 0 ;
 
10188
  wxRichTextRange *arg2 = 0 ;
 
10189
  wxTextAttrEx *arg3 = 0 ;
 
10190
  int arg4 = (int) wxRICHTEXT_SETSTYLE_WITH_UNDO ;
 
10191
  bool result;
 
10192
  void *argp1 = 0 ;
 
10193
  int res1 = 0 ;
 
10194
  wxRichTextRange temp2 ;
 
10195
  void *argp3 = 0 ;
 
10196
  int res3 = 0 ;
 
10197
  int val4 ;
 
10198
  int ecode4 = 0 ;
 
10199
  PyObject * obj0 = 0 ;
 
10200
  PyObject * obj1 = 0 ;
 
10201
  PyObject * obj2 = 0 ;
 
10202
  PyObject * obj3 = 0 ;
 
10203
  char *  kwnames[] = {
 
10204
    (char *) "self",(char *) "range",(char *) "style",(char *) "flags", NULL 
 
10205
  };
 
10206
  
 
10207
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:RichTextParagraphLayoutBox_SetStyle",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
 
10208
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextParagraphLayoutBox, 0 |  0 );
 
10209
  if (!SWIG_IsOK(res1)) {
 
10210
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextParagraphLayoutBox_SetStyle" "', expected argument " "1"" of type '" "wxRichTextParagraphLayoutBox *""'"); 
 
10211
  }
 
10212
  arg1 = reinterpret_cast< wxRichTextParagraphLayoutBox * >(argp1);
 
10213
  {
 
10214
    arg2 = &temp2;
 
10215
    if ( ! wxRichTextRange_helper(obj1, &arg2)) SWIG_fail;
 
10216
  }
 
10217
  res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxTextAttrEx,  0  | 0);
 
10218
  if (!SWIG_IsOK(res3)) {
 
10219
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "RichTextParagraphLayoutBox_SetStyle" "', expected argument " "3"" of type '" "wxTextAttrEx const &""'"); 
 
10220
  }
 
10221
  if (!argp3) {
 
10222
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "RichTextParagraphLayoutBox_SetStyle" "', expected argument " "3"" of type '" "wxTextAttrEx const &""'"); 
 
10223
  }
 
10224
  arg3 = reinterpret_cast< wxTextAttrEx * >(argp3);
 
10225
  if (obj3) {
 
10226
    ecode4 = SWIG_AsVal_int(obj3, &val4);
 
10227
    if (!SWIG_IsOK(ecode4)) {
 
10228
      SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "RichTextParagraphLayoutBox_SetStyle" "', expected argument " "4"" of type '" "int""'");
 
10229
    } 
 
10230
    arg4 = static_cast< int >(val4);
 
10231
  }
 
10232
  {
 
10233
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
10234
    result = (bool)(arg1)->SetStyle((wxRichTextRange const &)*arg2,(wxTextAttrEx const &)*arg3,arg4);
 
10235
    wxPyEndAllowThreads(__tstate);
 
10236
    if (PyErr_Occurred()) SWIG_fail;
 
10237
  }
 
10238
  {
 
10239
    resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
 
10240
  }
 
10241
  return resultobj;
 
10242
fail:
 
10243
  return NULL;
 
10244
}
 
10245
 
 
10246
 
 
10247
SWIGINTERN PyObject *_wrap_RichTextParagraphLayoutBox_GetStyle(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
10248
  PyObject *resultobj = 0;
 
10249
  wxRichTextParagraphLayoutBox *arg1 = (wxRichTextParagraphLayoutBox *) 0 ;
 
10250
  long arg2 ;
 
10251
  wxTextAttrEx *arg3 = 0 ;
 
10252
  bool result;
 
10253
  void *argp1 = 0 ;
 
10254
  int res1 = 0 ;
 
10255
  long val2 ;
 
10256
  int ecode2 = 0 ;
 
10257
  void *argp3 = 0 ;
 
10258
  int res3 = 0 ;
 
10259
  PyObject * obj0 = 0 ;
 
10260
  PyObject * obj1 = 0 ;
 
10261
  PyObject * obj2 = 0 ;
 
10262
  char *  kwnames[] = {
 
10263
    (char *) "self",(char *) "position",(char *) "style", NULL 
 
10264
  };
 
10265
  
 
10266
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:RichTextParagraphLayoutBox_GetStyle",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
 
10267
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextParagraphLayoutBox, 0 |  0 );
 
10268
  if (!SWIG_IsOK(res1)) {
 
10269
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextParagraphLayoutBox_GetStyle" "', expected argument " "1"" of type '" "wxRichTextParagraphLayoutBox *""'"); 
 
10270
  }
 
10271
  arg1 = reinterpret_cast< wxRichTextParagraphLayoutBox * >(argp1);
 
10272
  ecode2 = SWIG_AsVal_long(obj1, &val2);
 
10273
  if (!SWIG_IsOK(ecode2)) {
 
10274
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RichTextParagraphLayoutBox_GetStyle" "', expected argument " "2"" of type '" "long""'");
 
10275
  } 
 
10276
  arg2 = static_cast< long >(val2);
 
10277
  res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxTextAttrEx,  0 );
 
10278
  if (!SWIG_IsOK(res3)) {
 
10279
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "RichTextParagraphLayoutBox_GetStyle" "', expected argument " "3"" of type '" "wxTextAttrEx &""'"); 
 
10280
  }
 
10281
  if (!argp3) {
 
10282
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "RichTextParagraphLayoutBox_GetStyle" "', expected argument " "3"" of type '" "wxTextAttrEx &""'"); 
 
10283
  }
 
10284
  arg3 = reinterpret_cast< wxTextAttrEx * >(argp3);
 
10285
  {
 
10286
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
10287
    result = (bool)(arg1)->GetStyle(arg2,*arg3);
 
10288
    wxPyEndAllowThreads(__tstate);
 
10289
    if (PyErr_Occurred()) SWIG_fail;
 
10290
  }
 
10291
  {
 
10292
    resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
 
10293
  }
 
10294
  return resultobj;
 
10295
fail:
 
10296
  return NULL;
 
10297
}
 
10298
 
 
10299
 
 
10300
SWIGINTERN PyObject *_wrap_RichTextParagraphLayoutBox_GetUncombinedStyle(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
10301
  PyObject *resultobj = 0;
 
10302
  wxRichTextParagraphLayoutBox *arg1 = (wxRichTextParagraphLayoutBox *) 0 ;
 
10303
  long arg2 ;
 
10304
  wxTextAttrEx *arg3 = 0 ;
 
10305
  bool result;
 
10306
  void *argp1 = 0 ;
 
10307
  int res1 = 0 ;
 
10308
  long val2 ;
 
10309
  int ecode2 = 0 ;
 
10310
  void *argp3 = 0 ;
 
10311
  int res3 = 0 ;
 
10312
  PyObject * obj0 = 0 ;
 
10313
  PyObject * obj1 = 0 ;
 
10314
  PyObject * obj2 = 0 ;
 
10315
  char *  kwnames[] = {
 
10316
    (char *) "self",(char *) "position",(char *) "style", NULL 
 
10317
  };
 
10318
  
 
10319
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:RichTextParagraphLayoutBox_GetUncombinedStyle",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
 
10320
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextParagraphLayoutBox, 0 |  0 );
 
10321
  if (!SWIG_IsOK(res1)) {
 
10322
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextParagraphLayoutBox_GetUncombinedStyle" "', expected argument " "1"" of type '" "wxRichTextParagraphLayoutBox *""'"); 
 
10323
  }
 
10324
  arg1 = reinterpret_cast< wxRichTextParagraphLayoutBox * >(argp1);
 
10325
  ecode2 = SWIG_AsVal_long(obj1, &val2);
 
10326
  if (!SWIG_IsOK(ecode2)) {
 
10327
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RichTextParagraphLayoutBox_GetUncombinedStyle" "', expected argument " "2"" of type '" "long""'");
 
10328
  } 
 
10329
  arg2 = static_cast< long >(val2);
 
10330
  res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxTextAttrEx,  0 );
 
10331
  if (!SWIG_IsOK(res3)) {
 
10332
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "RichTextParagraphLayoutBox_GetUncombinedStyle" "', expected argument " "3"" of type '" "wxTextAttrEx &""'"); 
 
10333
  }
 
10334
  if (!argp3) {
 
10335
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "RichTextParagraphLayoutBox_GetUncombinedStyle" "', expected argument " "3"" of type '" "wxTextAttrEx &""'"); 
 
10336
  }
 
10337
  arg3 = reinterpret_cast< wxTextAttrEx * >(argp3);
 
10338
  {
 
10339
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
10340
    result = (bool)(arg1)->GetUncombinedStyle(arg2,*arg3);
 
10341
    wxPyEndAllowThreads(__tstate);
 
10342
    if (PyErr_Occurred()) SWIG_fail;
 
10343
  }
 
10344
  {
 
10345
    resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
 
10346
  }
 
10347
  return resultobj;
 
10348
fail:
 
10349
  return NULL;
 
10350
}
 
10351
 
 
10352
 
 
10353
SWIGINTERN PyObject *_wrap_RichTextParagraphLayoutBox_GetStyleForRange(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
10354
  PyObject *resultobj = 0;
 
10355
  wxRichTextParagraphLayoutBox *arg1 = (wxRichTextParagraphLayoutBox *) 0 ;
 
10356
  wxRichTextRange *arg2 = 0 ;
 
10357
  wxTextAttrEx *arg3 = 0 ;
 
10358
  bool result;
 
10359
  void *argp1 = 0 ;
 
10360
  int res1 = 0 ;
 
10361
  wxRichTextRange temp2 ;
 
10362
  void *argp3 = 0 ;
 
10363
  int res3 = 0 ;
 
10364
  PyObject * obj0 = 0 ;
 
10365
  PyObject * obj1 = 0 ;
 
10366
  PyObject * obj2 = 0 ;
 
10367
  char *  kwnames[] = {
 
10368
    (char *) "self",(char *) "range",(char *) "style", NULL 
 
10369
  };
 
10370
  
 
10371
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:RichTextParagraphLayoutBox_GetStyleForRange",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
 
10372
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextParagraphLayoutBox, 0 |  0 );
 
10373
  if (!SWIG_IsOK(res1)) {
 
10374
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextParagraphLayoutBox_GetStyleForRange" "', expected argument " "1"" of type '" "wxRichTextParagraphLayoutBox *""'"); 
 
10375
  }
 
10376
  arg1 = reinterpret_cast< wxRichTextParagraphLayoutBox * >(argp1);
 
10377
  {
 
10378
    arg2 = &temp2;
 
10379
    if ( ! wxRichTextRange_helper(obj1, &arg2)) SWIG_fail;
 
10380
  }
 
10381
  res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxTextAttrEx,  0 );
 
10382
  if (!SWIG_IsOK(res3)) {
 
10383
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "RichTextParagraphLayoutBox_GetStyleForRange" "', expected argument " "3"" of type '" "wxTextAttrEx &""'"); 
 
10384
  }
 
10385
  if (!argp3) {
 
10386
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "RichTextParagraphLayoutBox_GetStyleForRange" "', expected argument " "3"" of type '" "wxTextAttrEx &""'"); 
 
10387
  }
 
10388
  arg3 = reinterpret_cast< wxTextAttrEx * >(argp3);
 
10389
  {
 
10390
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
10391
    result = (bool)(arg1)->GetStyleForRange((wxRichTextRange const &)*arg2,*arg3);
 
10392
    wxPyEndAllowThreads(__tstate);
 
10393
    if (PyErr_Occurred()) SWIG_fail;
 
10394
  }
 
10395
  {
 
10396
    resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
 
10397
  }
 
10398
  return resultobj;
 
10399
fail:
 
10400
  return NULL;
 
10401
}
 
10402
 
 
10403
 
 
10404
SWIGINTERN PyObject *_wrap_RichTextParagraphLayoutBox_CollectStyle(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
10405
  PyObject *resultobj = 0;
 
10406
  wxRichTextParagraphLayoutBox *arg1 = (wxRichTextParagraphLayoutBox *) 0 ;
 
10407
  wxTextAttrEx *arg2 = 0 ;
 
10408
  wxTextAttrEx *arg3 = 0 ;
 
10409
  long *arg4 = 0 ;
 
10410
  int *arg5 = 0 ;
 
10411
  bool result;
 
10412
  void *argp1 = 0 ;
 
10413
  int res1 = 0 ;
 
10414
  void *argp2 = 0 ;
 
10415
  int res2 = 0 ;
 
10416
  void *argp3 = 0 ;
 
10417
  int res3 = 0 ;
 
10418
  void *argp4 = 0 ;
 
10419
  int res4 = 0 ;
 
10420
  void *argp5 = 0 ;
 
10421
  int res5 = 0 ;
 
10422
  PyObject * obj0 = 0 ;
 
10423
  PyObject * obj1 = 0 ;
 
10424
  PyObject * obj2 = 0 ;
 
10425
  PyObject * obj3 = 0 ;
 
10426
  PyObject * obj4 = 0 ;
 
10427
  char *  kwnames[] = {
 
10428
    (char *) "self",(char *) "currentStyle",(char *) "style",(char *) "multipleStyleAttributes",(char *) "multipleTextEffectAttributes", NULL 
 
10429
  };
 
10430
  
 
10431
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:RichTextParagraphLayoutBox_CollectStyle",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
 
10432
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextParagraphLayoutBox, 0 |  0 );
 
10433
  if (!SWIG_IsOK(res1)) {
 
10434
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextParagraphLayoutBox_CollectStyle" "', expected argument " "1"" of type '" "wxRichTextParagraphLayoutBox *""'"); 
 
10435
  }
 
10436
  arg1 = reinterpret_cast< wxRichTextParagraphLayoutBox * >(argp1);
 
10437
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTextAttrEx,  0 );
 
10438
  if (!SWIG_IsOK(res2)) {
 
10439
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "RichTextParagraphLayoutBox_CollectStyle" "', expected argument " "2"" of type '" "wxTextAttrEx &""'"); 
 
10440
  }
 
10441
  if (!argp2) {
 
10442
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "RichTextParagraphLayoutBox_CollectStyle" "', expected argument " "2"" of type '" "wxTextAttrEx &""'"); 
 
10443
  }
 
10444
  arg2 = reinterpret_cast< wxTextAttrEx * >(argp2);
 
10445
  res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxTextAttrEx,  0  | 0);
 
10446
  if (!SWIG_IsOK(res3)) {
 
10447
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "RichTextParagraphLayoutBox_CollectStyle" "', expected argument " "3"" of type '" "wxTextAttrEx const &""'"); 
 
10448
  }
 
10449
  if (!argp3) {
 
10450
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "RichTextParagraphLayoutBox_CollectStyle" "', expected argument " "3"" of type '" "wxTextAttrEx const &""'"); 
 
10451
  }
 
10452
  arg3 = reinterpret_cast< wxTextAttrEx * >(argp3);
 
10453
  res4 = SWIG_ConvertPtr(obj3, &argp4, SWIGTYPE_p_long,  0 );
 
10454
  if (!SWIG_IsOK(res4)) {
 
10455
    SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "RichTextParagraphLayoutBox_CollectStyle" "', expected argument " "4"" of type '" "long &""'"); 
 
10456
  }
 
10457
  if (!argp4) {
 
10458
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "RichTextParagraphLayoutBox_CollectStyle" "', expected argument " "4"" of type '" "long &""'"); 
 
10459
  }
 
10460
  arg4 = reinterpret_cast< long * >(argp4);
 
10461
  res5 = SWIG_ConvertPtr(obj4, &argp5, SWIGTYPE_p_int,  0 );
 
10462
  if (!SWIG_IsOK(res5)) {
 
10463
    SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "RichTextParagraphLayoutBox_CollectStyle" "', expected argument " "5"" of type '" "int &""'"); 
 
10464
  }
 
10465
  if (!argp5) {
 
10466
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "RichTextParagraphLayoutBox_CollectStyle" "', expected argument " "5"" of type '" "int &""'"); 
 
10467
  }
 
10468
  arg5 = reinterpret_cast< int * >(argp5);
 
10469
  {
 
10470
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
10471
    result = (bool)(arg1)->CollectStyle(*arg2,(wxTextAttrEx const &)*arg3,*arg4,*arg5);
 
10472
    wxPyEndAllowThreads(__tstate);
 
10473
    if (PyErr_Occurred()) SWIG_fail;
 
10474
  }
 
10475
  {
 
10476
    resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
 
10477
  }
 
10478
  return resultobj;
 
10479
fail:
 
10480
  return NULL;
 
10481
}
 
10482
 
 
10483
 
 
10484
SWIGINTERN PyObject *_wrap_RichTextParagraphLayoutBox_SetListStyle(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
10485
  PyObject *resultobj = 0;
 
10486
  wxRichTextParagraphLayoutBox *arg1 = (wxRichTextParagraphLayoutBox *) 0 ;
 
10487
  wxRichTextRange *arg2 = 0 ;
 
10488
  wxString *arg3 = 0 ;
 
10489
  int arg4 = (int) wxRICHTEXT_SETSTYLE_WITH_UNDO ;
 
10490
  int arg5 = (int) 1 ;
 
10491
  int arg6 = (int) -1 ;
 
10492
  bool result;
 
10493
  void *argp1 = 0 ;
 
10494
  int res1 = 0 ;
 
10495
  wxRichTextRange temp2 ;
 
10496
  bool temp3 = false ;
 
10497
  int val4 ;
 
10498
  int ecode4 = 0 ;
 
10499
  int val5 ;
 
10500
  int ecode5 = 0 ;
 
10501
  int val6 ;
 
10502
  int ecode6 = 0 ;
 
10503
  PyObject * obj0 = 0 ;
 
10504
  PyObject * obj1 = 0 ;
 
10505
  PyObject * obj2 = 0 ;
 
10506
  PyObject * obj3 = 0 ;
 
10507
  PyObject * obj4 = 0 ;
 
10508
  PyObject * obj5 = 0 ;
 
10509
  char *  kwnames[] = {
 
10510
    (char *) "self",(char *) "range",(char *) "defName",(char *) "flags",(char *) "startFrom",(char *) "specifiedLevel", NULL 
 
10511
  };
 
10512
  
 
10513
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOO:RichTextParagraphLayoutBox_SetListStyle",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
 
10514
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextParagraphLayoutBox, 0 |  0 );
 
10515
  if (!SWIG_IsOK(res1)) {
 
10516
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextParagraphLayoutBox_SetListStyle" "', expected argument " "1"" of type '" "wxRichTextParagraphLayoutBox *""'"); 
 
10517
  }
 
10518
  arg1 = reinterpret_cast< wxRichTextParagraphLayoutBox * >(argp1);
 
10519
  {
 
10520
    arg2 = &temp2;
 
10521
    if ( ! wxRichTextRange_helper(obj1, &arg2)) SWIG_fail;
 
10522
  }
 
10523
  {
 
10524
    arg3 = wxString_in_helper(obj2);
 
10525
    if (arg3 == NULL) SWIG_fail;
 
10526
    temp3 = true;
 
10527
  }
 
10528
  if (obj3) {
 
10529
    ecode4 = SWIG_AsVal_int(obj3, &val4);
 
10530
    if (!SWIG_IsOK(ecode4)) {
 
10531
      SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "RichTextParagraphLayoutBox_SetListStyle" "', expected argument " "4"" of type '" "int""'");
 
10532
    } 
 
10533
    arg4 = static_cast< int >(val4);
 
10534
  }
 
10535
  if (obj4) {
 
10536
    ecode5 = SWIG_AsVal_int(obj4, &val5);
 
10537
    if (!SWIG_IsOK(ecode5)) {
 
10538
      SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "RichTextParagraphLayoutBox_SetListStyle" "', expected argument " "5"" of type '" "int""'");
 
10539
    } 
 
10540
    arg5 = static_cast< int >(val5);
 
10541
  }
 
10542
  if (obj5) {
 
10543
    ecode6 = SWIG_AsVal_int(obj5, &val6);
 
10544
    if (!SWIG_IsOK(ecode6)) {
 
10545
      SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "RichTextParagraphLayoutBox_SetListStyle" "', expected argument " "6"" of type '" "int""'");
 
10546
    } 
 
10547
    arg6 = static_cast< int >(val6);
 
10548
  }
 
10549
  {
 
10550
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
10551
    result = (bool)(arg1)->SetListStyle((wxRichTextRange const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6);
 
10552
    wxPyEndAllowThreads(__tstate);
 
10553
    if (PyErr_Occurred()) SWIG_fail;
 
10554
  }
 
10555
  {
 
10556
    resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
 
10557
  }
 
10558
  {
 
10559
    if (temp3)
 
10560
    delete arg3;
 
10561
  }
 
10562
  return resultobj;
 
10563
fail:
 
10564
  {
 
10565
    if (temp3)
 
10566
    delete arg3;
 
10567
  }
 
10568
  return NULL;
 
10569
}
 
10570
 
 
10571
 
 
10572
SWIGINTERN PyObject *_wrap_RichTextParagraphLayoutBox_ClearListStyle(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
10573
  PyObject *resultobj = 0;
 
10574
  wxRichTextParagraphLayoutBox *arg1 = (wxRichTextParagraphLayoutBox *) 0 ;
 
10575
  wxRichTextRange *arg2 = 0 ;
 
10576
  int arg3 = (int) wxRICHTEXT_SETSTYLE_WITH_UNDO ;
 
10577
  bool result;
 
10578
  void *argp1 = 0 ;
 
10579
  int res1 = 0 ;
 
10580
  wxRichTextRange temp2 ;
 
10581
  int val3 ;
 
10582
  int ecode3 = 0 ;
 
10583
  PyObject * obj0 = 0 ;
 
10584
  PyObject * obj1 = 0 ;
 
10585
  PyObject * obj2 = 0 ;
 
10586
  char *  kwnames[] = {
 
10587
    (char *) "self",(char *) "range",(char *) "flags", NULL 
 
10588
  };
 
10589
  
 
10590
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:RichTextParagraphLayoutBox_ClearListStyle",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
 
10591
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextParagraphLayoutBox, 0 |  0 );
 
10592
  if (!SWIG_IsOK(res1)) {
 
10593
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextParagraphLayoutBox_ClearListStyle" "', expected argument " "1"" of type '" "wxRichTextParagraphLayoutBox *""'"); 
 
10594
  }
 
10595
  arg1 = reinterpret_cast< wxRichTextParagraphLayoutBox * >(argp1);
 
10596
  {
 
10597
    arg2 = &temp2;
 
10598
    if ( ! wxRichTextRange_helper(obj1, &arg2)) SWIG_fail;
 
10599
  }
 
10600
  if (obj2) {
 
10601
    ecode3 = SWIG_AsVal_int(obj2, &val3);
 
10602
    if (!SWIG_IsOK(ecode3)) {
 
10603
      SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "RichTextParagraphLayoutBox_ClearListStyle" "', expected argument " "3"" of type '" "int""'");
 
10604
    } 
 
10605
    arg3 = static_cast< int >(val3);
 
10606
  }
 
10607
  {
 
10608
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
10609
    result = (bool)(arg1)->ClearListStyle((wxRichTextRange const &)*arg2,arg3);
 
10610
    wxPyEndAllowThreads(__tstate);
 
10611
    if (PyErr_Occurred()) SWIG_fail;
 
10612
  }
 
10613
  {
 
10614
    resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
 
10615
  }
 
10616
  return resultobj;
 
10617
fail:
 
10618
  return NULL;
 
10619
}
 
10620
 
 
10621
 
 
10622
SWIGINTERN PyObject *_wrap_RichTextParagraphLayoutBox_NumberList(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
10623
  PyObject *resultobj = 0;
 
10624
  wxRichTextParagraphLayoutBox *arg1 = (wxRichTextParagraphLayoutBox *) 0 ;
 
10625
  wxRichTextRange *arg2 = 0 ;
 
10626
  wxString *arg3 = 0 ;
 
10627
  int arg4 = (int) wxRICHTEXT_SETSTYLE_WITH_UNDO ;
 
10628
  int arg5 = (int) 1 ;
 
10629
  int arg6 = (int) -1 ;
 
10630
  bool result;
 
10631
  void *argp1 = 0 ;
 
10632
  int res1 = 0 ;
 
10633
  wxRichTextRange temp2 ;
 
10634
  bool temp3 = false ;
 
10635
  int val4 ;
 
10636
  int ecode4 = 0 ;
 
10637
  int val5 ;
 
10638
  int ecode5 = 0 ;
 
10639
  int val6 ;
 
10640
  int ecode6 = 0 ;
 
10641
  PyObject * obj0 = 0 ;
 
10642
  PyObject * obj1 = 0 ;
 
10643
  PyObject * obj2 = 0 ;
 
10644
  PyObject * obj3 = 0 ;
 
10645
  PyObject * obj4 = 0 ;
 
10646
  PyObject * obj5 = 0 ;
 
10647
  char *  kwnames[] = {
 
10648
    (char *) "self",(char *) "range",(char *) "defName",(char *) "flags",(char *) "startFrom",(char *) "specifiedLevel", NULL 
 
10649
  };
 
10650
  
 
10651
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOO:RichTextParagraphLayoutBox_NumberList",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
 
10652
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextParagraphLayoutBox, 0 |  0 );
 
10653
  if (!SWIG_IsOK(res1)) {
 
10654
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextParagraphLayoutBox_NumberList" "', expected argument " "1"" of type '" "wxRichTextParagraphLayoutBox *""'"); 
 
10655
  }
 
10656
  arg1 = reinterpret_cast< wxRichTextParagraphLayoutBox * >(argp1);
 
10657
  {
 
10658
    arg2 = &temp2;
 
10659
    if ( ! wxRichTextRange_helper(obj1, &arg2)) SWIG_fail;
 
10660
  }
 
10661
  {
 
10662
    arg3 = wxString_in_helper(obj2);
 
10663
    if (arg3 == NULL) SWIG_fail;
 
10664
    temp3 = true;
 
10665
  }
 
10666
  if (obj3) {
 
10667
    ecode4 = SWIG_AsVal_int(obj3, &val4);
 
10668
    if (!SWIG_IsOK(ecode4)) {
 
10669
      SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "RichTextParagraphLayoutBox_NumberList" "', expected argument " "4"" of type '" "int""'");
 
10670
    } 
 
10671
    arg4 = static_cast< int >(val4);
 
10672
  }
 
10673
  if (obj4) {
 
10674
    ecode5 = SWIG_AsVal_int(obj4, &val5);
 
10675
    if (!SWIG_IsOK(ecode5)) {
 
10676
      SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "RichTextParagraphLayoutBox_NumberList" "', expected argument " "5"" of type '" "int""'");
 
10677
    } 
 
10678
    arg5 = static_cast< int >(val5);
 
10679
  }
 
10680
  if (obj5) {
 
10681
    ecode6 = SWIG_AsVal_int(obj5, &val6);
 
10682
    if (!SWIG_IsOK(ecode6)) {
 
10683
      SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "RichTextParagraphLayoutBox_NumberList" "', expected argument " "6"" of type '" "int""'");
 
10684
    } 
 
10685
    arg6 = static_cast< int >(val6);
 
10686
  }
 
10687
  {
 
10688
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
10689
    result = (bool)(arg1)->NumberList((wxRichTextRange const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6);
 
10690
    wxPyEndAllowThreads(__tstate);
 
10691
    if (PyErr_Occurred()) SWIG_fail;
 
10692
  }
 
10693
  {
 
10694
    resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
 
10695
  }
 
10696
  {
 
10697
    if (temp3)
 
10698
    delete arg3;
 
10699
  }
 
10700
  return resultobj;
 
10701
fail:
 
10702
  {
 
10703
    if (temp3)
 
10704
    delete arg3;
 
10705
  }
 
10706
  return NULL;
 
10707
}
 
10708
 
 
10709
 
 
10710
SWIGINTERN PyObject *_wrap_RichTextParagraphLayoutBox_PromoteList(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
10711
  PyObject *resultobj = 0;
 
10712
  wxRichTextParagraphLayoutBox *arg1 = (wxRichTextParagraphLayoutBox *) 0 ;
 
10713
  int arg2 ;
 
10714
  wxRichTextRange *arg3 = 0 ;
 
10715
  wxString *arg4 = 0 ;
 
10716
  int arg5 = (int) wxRICHTEXT_SETSTYLE_WITH_UNDO ;
 
10717
  int arg6 = (int) -1 ;
 
10718
  bool result;
 
10719
  void *argp1 = 0 ;
 
10720
  int res1 = 0 ;
 
10721
  int val2 ;
 
10722
  int ecode2 = 0 ;
 
10723
  wxRichTextRange temp3 ;
 
10724
  bool temp4 = false ;
 
10725
  int val5 ;
 
10726
  int ecode5 = 0 ;
 
10727
  int val6 ;
 
10728
  int ecode6 = 0 ;
 
10729
  PyObject * obj0 = 0 ;
 
10730
  PyObject * obj1 = 0 ;
 
10731
  PyObject * obj2 = 0 ;
 
10732
  PyObject * obj3 = 0 ;
 
10733
  PyObject * obj4 = 0 ;
 
10734
  PyObject * obj5 = 0 ;
 
10735
  char *  kwnames[] = {
 
10736
    (char *) "self",(char *) "promoteBy",(char *) "range",(char *) "defName",(char *) "flags",(char *) "specifiedLevel", NULL 
 
10737
  };
 
10738
  
 
10739
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:RichTextParagraphLayoutBox_PromoteList",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
 
10740
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextParagraphLayoutBox, 0 |  0 );
 
10741
  if (!SWIG_IsOK(res1)) {
 
10742
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextParagraphLayoutBox_PromoteList" "', expected argument " "1"" of type '" "wxRichTextParagraphLayoutBox *""'"); 
 
10743
  }
 
10744
  arg1 = reinterpret_cast< wxRichTextParagraphLayoutBox * >(argp1);
 
10745
  ecode2 = SWIG_AsVal_int(obj1, &val2);
 
10746
  if (!SWIG_IsOK(ecode2)) {
 
10747
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RichTextParagraphLayoutBox_PromoteList" "', expected argument " "2"" of type '" "int""'");
 
10748
  } 
 
10749
  arg2 = static_cast< int >(val2);
 
10750
  {
 
10751
    arg3 = &temp3;
 
10752
    if ( ! wxRichTextRange_helper(obj2, &arg3)) SWIG_fail;
 
10753
  }
 
10754
  {
 
10755
    arg4 = wxString_in_helper(obj3);
 
10756
    if (arg4 == NULL) SWIG_fail;
 
10757
    temp4 = true;
 
10758
  }
 
10759
  if (obj4) {
 
10760
    ecode5 = SWIG_AsVal_int(obj4, &val5);
 
10761
    if (!SWIG_IsOK(ecode5)) {
 
10762
      SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "RichTextParagraphLayoutBox_PromoteList" "', expected argument " "5"" of type '" "int""'");
 
10763
    } 
 
10764
    arg5 = static_cast< int >(val5);
 
10765
  }
 
10766
  if (obj5) {
 
10767
    ecode6 = SWIG_AsVal_int(obj5, &val6);
 
10768
    if (!SWIG_IsOK(ecode6)) {
 
10769
      SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "RichTextParagraphLayoutBox_PromoteList" "', expected argument " "6"" of type '" "int""'");
 
10770
    } 
 
10771
    arg6 = static_cast< int >(val6);
 
10772
  }
 
10773
  {
 
10774
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
10775
    result = (bool)(arg1)->PromoteList(arg2,(wxRichTextRange const &)*arg3,(wxString const &)*arg4,arg5,arg6);
 
10776
    wxPyEndAllowThreads(__tstate);
 
10777
    if (PyErr_Occurred()) SWIG_fail;
 
10778
  }
 
10779
  {
 
10780
    resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
 
10781
  }
 
10782
  {
 
10783
    if (temp4)
 
10784
    delete arg4;
 
10785
  }
 
10786
  return resultobj;
 
10787
fail:
 
10788
  {
 
10789
    if (temp4)
 
10790
    delete arg4;
 
10791
  }
 
10792
  return NULL;
 
10793
}
 
10794
 
 
10795
 
 
10796
SWIGINTERN PyObject *_wrap_RichTextParagraphLayoutBox_DoNumberList(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
10797
  PyObject *resultobj = 0;
 
10798
  wxRichTextParagraphLayoutBox *arg1 = (wxRichTextParagraphLayoutBox *) 0 ;
 
10799
  wxRichTextRange *arg2 = 0 ;
 
10800
  wxRichTextRange *arg3 = 0 ;
 
10801
  int arg4 ;
 
10802
  wxRichTextListStyleDefinition *arg5 = (wxRichTextListStyleDefinition *) 0 ;
 
10803
  int arg6 = (int) wxRICHTEXT_SETSTYLE_WITH_UNDO ;
 
10804
  int arg7 = (int) 1 ;
 
10805
  int arg8 = (int) -1 ;
 
10806
  bool result;
 
10807
  void *argp1 = 0 ;
 
10808
  int res1 = 0 ;
 
10809
  wxRichTextRange temp2 ;
 
10810
  wxRichTextRange temp3 ;
 
10811
  int val4 ;
 
10812
  int ecode4 = 0 ;
 
10813
  void *argp5 = 0 ;
 
10814
  int res5 = 0 ;
 
10815
  int val6 ;
 
10816
  int ecode6 = 0 ;
 
10817
  int val7 ;
 
10818
  int ecode7 = 0 ;
 
10819
  int val8 ;
 
10820
  int ecode8 = 0 ;
 
10821
  PyObject * obj0 = 0 ;
 
10822
  PyObject * obj1 = 0 ;
 
10823
  PyObject * obj2 = 0 ;
 
10824
  PyObject * obj3 = 0 ;
 
10825
  PyObject * obj4 = 0 ;
 
10826
  PyObject * obj5 = 0 ;
 
10827
  PyObject * obj6 = 0 ;
 
10828
  PyObject * obj7 = 0 ;
 
10829
  char *  kwnames[] = {
 
10830
    (char *) "self",(char *) "range",(char *) "promotionRange",(char *) "promoteBy",(char *) "def",(char *) "flags",(char *) "startFrom",(char *) "specifiedLevel", NULL 
 
10831
  };
 
10832
  
 
10833
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|OOO:RichTextParagraphLayoutBox_DoNumberList",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
 
10834
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextParagraphLayoutBox, 0 |  0 );
 
10835
  if (!SWIG_IsOK(res1)) {
 
10836
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextParagraphLayoutBox_DoNumberList" "', expected argument " "1"" of type '" "wxRichTextParagraphLayoutBox *""'"); 
 
10837
  }
 
10838
  arg1 = reinterpret_cast< wxRichTextParagraphLayoutBox * >(argp1);
 
10839
  {
 
10840
    arg2 = &temp2;
 
10841
    if ( ! wxRichTextRange_helper(obj1, &arg2)) SWIG_fail;
 
10842
  }
 
10843
  {
 
10844
    arg3 = &temp3;
 
10845
    if ( ! wxRichTextRange_helper(obj2, &arg3)) SWIG_fail;
 
10846
  }
 
10847
  ecode4 = SWIG_AsVal_int(obj3, &val4);
 
10848
  if (!SWIG_IsOK(ecode4)) {
 
10849
    SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "RichTextParagraphLayoutBox_DoNumberList" "', expected argument " "4"" of type '" "int""'");
 
10850
  } 
 
10851
  arg4 = static_cast< int >(val4);
 
10852
  res5 = SWIG_ConvertPtr(obj4, &argp5,SWIGTYPE_p_wxRichTextListStyleDefinition, 0 |  0 );
 
10853
  if (!SWIG_IsOK(res5)) {
 
10854
    SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "RichTextParagraphLayoutBox_DoNumberList" "', expected argument " "5"" of type '" "wxRichTextListStyleDefinition *""'"); 
 
10855
  }
 
10856
  arg5 = reinterpret_cast< wxRichTextListStyleDefinition * >(argp5);
 
10857
  if (obj5) {
 
10858
    ecode6 = SWIG_AsVal_int(obj5, &val6);
 
10859
    if (!SWIG_IsOK(ecode6)) {
 
10860
      SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "RichTextParagraphLayoutBox_DoNumberList" "', expected argument " "6"" of type '" "int""'");
 
10861
    } 
 
10862
    arg6 = static_cast< int >(val6);
 
10863
  }
 
10864
  if (obj6) {
 
10865
    ecode7 = SWIG_AsVal_int(obj6, &val7);
 
10866
    if (!SWIG_IsOK(ecode7)) {
 
10867
      SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "RichTextParagraphLayoutBox_DoNumberList" "', expected argument " "7"" of type '" "int""'");
 
10868
    } 
 
10869
    arg7 = static_cast< int >(val7);
 
10870
  }
 
10871
  if (obj7) {
 
10872
    ecode8 = SWIG_AsVal_int(obj7, &val8);
 
10873
    if (!SWIG_IsOK(ecode8)) {
 
10874
      SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "RichTextParagraphLayoutBox_DoNumberList" "', expected argument " "8"" of type '" "int""'");
 
10875
    } 
 
10876
    arg8 = static_cast< int >(val8);
 
10877
  }
 
10878
  {
 
10879
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
10880
    result = (bool)(arg1)->DoNumberList((wxRichTextRange const &)*arg2,(wxRichTextRange const &)*arg3,arg4,arg5,arg6,arg7,arg8);
 
10881
    wxPyEndAllowThreads(__tstate);
 
10882
    if (PyErr_Occurred()) SWIG_fail;
 
10883
  }
 
10884
  {
 
10885
    resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
 
10886
  }
 
10887
  return resultobj;
 
10888
fail:
 
10889
  return NULL;
 
10890
}
 
10891
 
 
10892
 
 
10893
SWIGINTERN PyObject *_wrap_RichTextParagraphLayoutBox_FindNextParagraphNumber(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
10894
  PyObject *resultobj = 0;
 
10895
  wxRichTextParagraphLayoutBox *arg1 = (wxRichTextParagraphLayoutBox *) 0 ;
 
10896
  wxRichTextParagraph *arg2 = (wxRichTextParagraph *) 0 ;
 
10897
  wxTextAttrEx *arg3 = 0 ;
 
10898
  bool result;
 
10899
  void *argp1 = 0 ;
 
10900
  int res1 = 0 ;
 
10901
  void *argp2 = 0 ;
 
10902
  int res2 = 0 ;
 
10903
  void *argp3 = 0 ;
 
10904
  int res3 = 0 ;
 
10905
  PyObject * obj0 = 0 ;
 
10906
  PyObject * obj1 = 0 ;
 
10907
  PyObject * obj2 = 0 ;
 
10908
  char *  kwnames[] = {
 
10909
    (char *) "self",(char *) "previousParagraph",(char *) "attr", NULL 
 
10910
  };
 
10911
  
 
10912
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:RichTextParagraphLayoutBox_FindNextParagraphNumber",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
 
10913
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextParagraphLayoutBox, 0 |  0 );
 
10914
  if (!SWIG_IsOK(res1)) {
 
10915
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextParagraphLayoutBox_FindNextParagraphNumber" "', expected argument " "1"" of type '" "wxRichTextParagraphLayoutBox const *""'"); 
 
10916
  }
 
10917
  arg1 = reinterpret_cast< wxRichTextParagraphLayoutBox * >(argp1);
 
10918
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxRichTextParagraph, 0 |  0 );
 
10919
  if (!SWIG_IsOK(res2)) {
 
10920
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "RichTextParagraphLayoutBox_FindNextParagraphNumber" "', expected argument " "2"" of type '" "wxRichTextParagraph *""'"); 
 
10921
  }
 
10922
  arg2 = reinterpret_cast< wxRichTextParagraph * >(argp2);
 
10923
  res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxTextAttrEx,  0 );
 
10924
  if (!SWIG_IsOK(res3)) {
 
10925
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "RichTextParagraphLayoutBox_FindNextParagraphNumber" "', expected argument " "3"" of type '" "wxTextAttrEx &""'"); 
 
10926
  }
 
10927
  if (!argp3) {
 
10928
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "RichTextParagraphLayoutBox_FindNextParagraphNumber" "', expected argument " "3"" of type '" "wxTextAttrEx &""'"); 
 
10929
  }
 
10930
  arg3 = reinterpret_cast< wxTextAttrEx * >(argp3);
 
10931
  {
 
10932
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
10933
    result = (bool)wxRichTextParagraphLayoutBox_FindNextParagraphNumber((wxRichTextParagraphLayoutBox const *)arg1,arg2,*arg3);
 
10934
    wxPyEndAllowThreads(__tstate);
 
10935
    if (PyErr_Occurred()) SWIG_fail;
 
10936
  }
 
10937
  {
 
10938
    resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
 
10939
  }
 
10940
  return resultobj;
 
10941
fail:
 
10942
  return NULL;
 
10943
}
 
10944
 
 
10945
 
 
10946
SWIGINTERN PyObject *_wrap_RichTextParagraphLayoutBox_HasCharacterAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
10947
  PyObject *resultobj = 0;
 
10948
  wxRichTextParagraphLayoutBox *arg1 = (wxRichTextParagraphLayoutBox *) 0 ;
 
10949
  wxRichTextRange *arg2 = 0 ;
 
10950
  wxTextAttrEx *arg3 = 0 ;
 
10951
  bool result;
 
10952
  void *argp1 = 0 ;
 
10953
  int res1 = 0 ;
 
10954
  wxRichTextRange temp2 ;
 
10955
  void *argp3 = 0 ;
 
10956
  int res3 = 0 ;
 
10957
  PyObject * obj0 = 0 ;
 
10958
  PyObject * obj1 = 0 ;
 
10959
  PyObject * obj2 = 0 ;
 
10960
  char *  kwnames[] = {
 
10961
    (char *) "self",(char *) "range",(char *) "style", NULL 
 
10962
  };
 
10963
  
 
10964
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:RichTextParagraphLayoutBox_HasCharacterAttributes",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
 
10965
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextParagraphLayoutBox, 0 |  0 );
 
10966
  if (!SWIG_IsOK(res1)) {
 
10967
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextParagraphLayoutBox_HasCharacterAttributes" "', expected argument " "1"" of type '" "wxRichTextParagraphLayoutBox const *""'"); 
 
10968
  }
 
10969
  arg1 = reinterpret_cast< wxRichTextParagraphLayoutBox * >(argp1);
 
10970
  {
 
10971
    arg2 = &temp2;
 
10972
    if ( ! wxRichTextRange_helper(obj1, &arg2)) SWIG_fail;
 
10973
  }
 
10974
  res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxTextAttrEx,  0  | 0);
 
10975
  if (!SWIG_IsOK(res3)) {
 
10976
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "RichTextParagraphLayoutBox_HasCharacterAttributes" "', expected argument " "3"" of type '" "wxTextAttrEx const &""'"); 
 
10977
  }
 
10978
  if (!argp3) {
 
10979
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "RichTextParagraphLayoutBox_HasCharacterAttributes" "', expected argument " "3"" of type '" "wxTextAttrEx const &""'"); 
 
10980
  }
 
10981
  arg3 = reinterpret_cast< wxTextAttrEx * >(argp3);
 
10982
  {
 
10983
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
10984
    result = (bool)((wxRichTextParagraphLayoutBox const *)arg1)->HasCharacterAttributes((wxRichTextRange const &)*arg2,(wxTextAttrEx const &)*arg3);
 
10985
    wxPyEndAllowThreads(__tstate);
 
10986
    if (PyErr_Occurred()) SWIG_fail;
 
10987
  }
 
10988
  {
 
10989
    resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
 
10990
  }
 
10991
  return resultobj;
 
10992
fail:
 
10993
  return NULL;
 
10994
}
 
10995
 
 
10996
 
 
10997
SWIGINTERN PyObject *_wrap_RichTextParagraphLayoutBox_HasParagraphAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
10998
  PyObject *resultobj = 0;
 
10999
  wxRichTextParagraphLayoutBox *arg1 = (wxRichTextParagraphLayoutBox *) 0 ;
 
11000
  wxRichTextRange *arg2 = 0 ;
 
11001
  wxTextAttrEx *arg3 = 0 ;
 
11002
  bool result;
 
11003
  void *argp1 = 0 ;
 
11004
  int res1 = 0 ;
 
11005
  wxRichTextRange temp2 ;
 
11006
  void *argp3 = 0 ;
 
11007
  int res3 = 0 ;
 
11008
  PyObject * obj0 = 0 ;
 
11009
  PyObject * obj1 = 0 ;
 
11010
  PyObject * obj2 = 0 ;
 
11011
  char *  kwnames[] = {
 
11012
    (char *) "self",(char *) "range",(char *) "style", NULL 
 
11013
  };
 
11014
  
 
11015
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:RichTextParagraphLayoutBox_HasParagraphAttributes",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
 
11016
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextParagraphLayoutBox, 0 |  0 );
 
11017
  if (!SWIG_IsOK(res1)) {
 
11018
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextParagraphLayoutBox_HasParagraphAttributes" "', expected argument " "1"" of type '" "wxRichTextParagraphLayoutBox const *""'"); 
 
11019
  }
 
11020
  arg1 = reinterpret_cast< wxRichTextParagraphLayoutBox * >(argp1);
 
11021
  {
 
11022
    arg2 = &temp2;
 
11023
    if ( ! wxRichTextRange_helper(obj1, &arg2)) SWIG_fail;
 
11024
  }
 
11025
  res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxTextAttrEx,  0  | 0);
 
11026
  if (!SWIG_IsOK(res3)) {
 
11027
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "RichTextParagraphLayoutBox_HasParagraphAttributes" "', expected argument " "3"" of type '" "wxTextAttrEx const &""'"); 
 
11028
  }
 
11029
  if (!argp3) {
 
11030
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "RichTextParagraphLayoutBox_HasParagraphAttributes" "', expected argument " "3"" of type '" "wxTextAttrEx const &""'"); 
 
11031
  }
 
11032
  arg3 = reinterpret_cast< wxTextAttrEx * >(argp3);
 
11033
  {
 
11034
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
11035
    result = (bool)((wxRichTextParagraphLayoutBox const *)arg1)->HasParagraphAttributes((wxRichTextRange const &)*arg2,(wxTextAttrEx const &)*arg3);
 
11036
    wxPyEndAllowThreads(__tstate);
 
11037
    if (PyErr_Occurred()) SWIG_fail;
 
11038
  }
 
11039
  {
 
11040
    resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
 
11041
  }
 
11042
  return resultobj;
 
11043
fail:
 
11044
  return NULL;
 
11045
}
 
11046
 
 
11047
 
 
11048
SWIGINTERN PyObject *_wrap_RichTextParagraphLayoutBox_InsertFragment(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
11049
  PyObject *resultobj = 0;
 
11050
  wxRichTextParagraphLayoutBox *arg1 = (wxRichTextParagraphLayoutBox *) 0 ;
 
11051
  long arg2 ;
 
11052
  wxRichTextParagraphLayoutBox *arg3 = 0 ;
 
11053
  bool result;
 
11054
  void *argp1 = 0 ;
 
11055
  int res1 = 0 ;
 
11056
  long val2 ;
 
11057
  int ecode2 = 0 ;
 
11058
  void *argp3 = 0 ;
 
11059
  int res3 = 0 ;
 
11060
  PyObject * obj0 = 0 ;
 
11061
  PyObject * obj1 = 0 ;
 
11062
  PyObject * obj2 = 0 ;
 
11063
  char *  kwnames[] = {
 
11064
    (char *) "self",(char *) "position",(char *) "fragment", NULL 
 
11065
  };
 
11066
  
 
11067
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:RichTextParagraphLayoutBox_InsertFragment",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
 
11068
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextParagraphLayoutBox, 0 |  0 );
 
11069
  if (!SWIG_IsOK(res1)) {
 
11070
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextParagraphLayoutBox_InsertFragment" "', expected argument " "1"" of type '" "wxRichTextParagraphLayoutBox *""'"); 
 
11071
  }
 
11072
  arg1 = reinterpret_cast< wxRichTextParagraphLayoutBox * >(argp1);
 
11073
  ecode2 = SWIG_AsVal_long(obj1, &val2);
 
11074
  if (!SWIG_IsOK(ecode2)) {
 
11075
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RichTextParagraphLayoutBox_InsertFragment" "', expected argument " "2"" of type '" "long""'");
 
11076
  } 
 
11077
  arg2 = static_cast< long >(val2);
 
11078
  res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxRichTextParagraphLayoutBox,  0 );
 
11079
  if (!SWIG_IsOK(res3)) {
 
11080
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "RichTextParagraphLayoutBox_InsertFragment" "', expected argument " "3"" of type '" "wxRichTextParagraphLayoutBox &""'"); 
 
11081
  }
 
11082
  if (!argp3) {
 
11083
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "RichTextParagraphLayoutBox_InsertFragment" "', expected argument " "3"" of type '" "wxRichTextParagraphLayoutBox &""'"); 
 
11084
  }
 
11085
  arg3 = reinterpret_cast< wxRichTextParagraphLayoutBox * >(argp3);
 
11086
  {
 
11087
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
11088
    result = (bool)(arg1)->InsertFragment(arg2,*arg3);
 
11089
    wxPyEndAllowThreads(__tstate);
 
11090
    if (PyErr_Occurred()) SWIG_fail;
 
11091
  }
 
11092
  {
 
11093
    resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
 
11094
  }
 
11095
  return resultobj;
 
11096
fail:
 
11097
  return NULL;
 
11098
}
 
11099
 
 
11100
 
 
11101
SWIGINTERN PyObject *_wrap_RichTextParagraphLayoutBox_CopyFragment(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
11102
  PyObject *resultobj = 0;
 
11103
  wxRichTextParagraphLayoutBox *arg1 = (wxRichTextParagraphLayoutBox *) 0 ;
 
11104
  wxRichTextRange *arg2 = 0 ;
 
11105
  wxRichTextParagraphLayoutBox *arg3 = 0 ;
 
11106
  bool result;
 
11107
  void *argp1 = 0 ;
 
11108
  int res1 = 0 ;
 
11109
  wxRichTextRange temp2 ;
 
11110
  void *argp3 = 0 ;
 
11111
  int res3 = 0 ;
 
11112
  PyObject * obj0 = 0 ;
 
11113
  PyObject * obj1 = 0 ;
 
11114
  PyObject * obj2 = 0 ;
 
11115
  char *  kwnames[] = {
 
11116
    (char *) "self",(char *) "range",(char *) "fragment", NULL 
 
11117
  };
 
11118
  
 
11119
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:RichTextParagraphLayoutBox_CopyFragment",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
 
11120
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextParagraphLayoutBox, 0 |  0 );
 
11121
  if (!SWIG_IsOK(res1)) {
 
11122
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextParagraphLayoutBox_CopyFragment" "', expected argument " "1"" of type '" "wxRichTextParagraphLayoutBox *""'"); 
 
11123
  }
 
11124
  arg1 = reinterpret_cast< wxRichTextParagraphLayoutBox * >(argp1);
 
11125
  {
 
11126
    arg2 = &temp2;
 
11127
    if ( ! wxRichTextRange_helper(obj1, &arg2)) SWIG_fail;
 
11128
  }
 
11129
  res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxRichTextParagraphLayoutBox,  0 );
 
11130
  if (!SWIG_IsOK(res3)) {
 
11131
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "RichTextParagraphLayoutBox_CopyFragment" "', expected argument " "3"" of type '" "wxRichTextParagraphLayoutBox &""'"); 
 
11132
  }
 
11133
  if (!argp3) {
 
11134
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "RichTextParagraphLayoutBox_CopyFragment" "', expected argument " "3"" of type '" "wxRichTextParagraphLayoutBox &""'"); 
 
11135
  }
 
11136
  arg3 = reinterpret_cast< wxRichTextParagraphLayoutBox * >(argp3);
 
11137
  {
 
11138
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
11139
    result = (bool)(arg1)->CopyFragment((wxRichTextRange const &)*arg2,*arg3);
 
11140
    wxPyEndAllowThreads(__tstate);
 
11141
    if (PyErr_Occurred()) SWIG_fail;
 
11142
  }
 
11143
  {
 
11144
    resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
 
11145
  }
 
11146
  return resultobj;
 
11147
fail:
 
11148
  return NULL;
 
11149
}
 
11150
 
 
11151
 
 
11152
SWIGINTERN PyObject *_wrap_RichTextParagraphLayoutBox_ApplyStyleSheet(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
11153
  PyObject *resultobj = 0;
 
11154
  wxRichTextParagraphLayoutBox *arg1 = (wxRichTextParagraphLayoutBox *) 0 ;
 
11155
  wxRichTextStyleSheet *arg2 = (wxRichTextStyleSheet *) 0 ;
 
11156
  bool result;
 
11157
  void *argp1 = 0 ;
 
11158
  int res1 = 0 ;
 
11159
  void *argp2 = 0 ;
 
11160
  int res2 = 0 ;
 
11161
  PyObject * obj0 = 0 ;
 
11162
  PyObject * obj1 = 0 ;
 
11163
  char *  kwnames[] = {
 
11164
    (char *) "self",(char *) "styleSheet", NULL 
 
11165
  };
 
11166
  
 
11167
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RichTextParagraphLayoutBox_ApplyStyleSheet",kwnames,&obj0,&obj1)) SWIG_fail;
 
11168
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextParagraphLayoutBox, 0 |  0 );
 
11169
  if (!SWIG_IsOK(res1)) {
 
11170
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextParagraphLayoutBox_ApplyStyleSheet" "', expected argument " "1"" of type '" "wxRichTextParagraphLayoutBox *""'"); 
 
11171
  }
 
11172
  arg1 = reinterpret_cast< wxRichTextParagraphLayoutBox * >(argp1);
 
11173
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxRichTextStyleSheet, 0 |  0 );
 
11174
  if (!SWIG_IsOK(res2)) {
 
11175
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "RichTextParagraphLayoutBox_ApplyStyleSheet" "', expected argument " "2"" of type '" "wxRichTextStyleSheet *""'"); 
 
11176
  }
 
11177
  arg2 = reinterpret_cast< wxRichTextStyleSheet * >(argp2);
 
11178
  {
 
11179
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
11180
    result = (bool)(arg1)->ApplyStyleSheet(arg2);
 
11181
    wxPyEndAllowThreads(__tstate);
 
11182
    if (PyErr_Occurred()) SWIG_fail;
 
11183
  }
 
11184
  {
 
11185
    resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
 
11186
  }
 
11187
  return resultobj;
 
11188
fail:
 
11189
  return NULL;
 
11190
}
 
11191
 
 
11192
 
 
11193
SWIGINTERN PyObject *_wrap_RichTextParagraphLayoutBox_Copy(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
11194
  PyObject *resultobj = 0;
 
11195
  wxRichTextParagraphLayoutBox *arg1 = (wxRichTextParagraphLayoutBox *) 0 ;
 
11196
  wxRichTextParagraphLayoutBox *arg2 = 0 ;
 
11197
  void *argp1 = 0 ;
 
11198
  int res1 = 0 ;
 
11199
  void *argp2 = 0 ;
 
11200
  int res2 = 0 ;
 
11201
  PyObject * obj0 = 0 ;
 
11202
  PyObject * obj1 = 0 ;
 
11203
  char *  kwnames[] = {
 
11204
    (char *) "self",(char *) "obj", NULL 
 
11205
  };
 
11206
  
 
11207
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RichTextParagraphLayoutBox_Copy",kwnames,&obj0,&obj1)) SWIG_fail;
 
11208
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextParagraphLayoutBox, 0 |  0 );
 
11209
  if (!SWIG_IsOK(res1)) {
 
11210
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextParagraphLayoutBox_Copy" "', expected argument " "1"" of type '" "wxRichTextParagraphLayoutBox *""'"); 
 
11211
  }
 
11212
  arg1 = reinterpret_cast< wxRichTextParagraphLayoutBox * >(argp1);
 
11213
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxRichTextParagraphLayoutBox,  0  | 0);
 
11214
  if (!SWIG_IsOK(res2)) {
 
11215
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "RichTextParagraphLayoutBox_Copy" "', expected argument " "2"" of type '" "wxRichTextParagraphLayoutBox const &""'"); 
 
11216
  }
 
11217
  if (!argp2) {
 
11218
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "RichTextParagraphLayoutBox_Copy" "', expected argument " "2"" of type '" "wxRichTextParagraphLayoutBox const &""'"); 
 
11219
  }
 
11220
  arg2 = reinterpret_cast< wxRichTextParagraphLayoutBox * >(argp2);
 
11221
  {
 
11222
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
11223
    (arg1)->Copy((wxRichTextParagraphLayoutBox const &)*arg2);
 
11224
    wxPyEndAllowThreads(__tstate);
 
11225
    if (PyErr_Occurred()) SWIG_fail;
 
11226
  }
 
11227
  resultobj = SWIG_Py_Void();
 
11228
  return resultobj;
 
11229
fail:
 
11230
  return NULL;
 
11231
}
 
11232
 
 
11233
 
 
11234
SWIGINTERN PyObject *_wrap_RichTextParagraphLayoutBox_UpdateRanges(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
11235
  PyObject *resultobj = 0;
 
11236
  wxRichTextParagraphLayoutBox *arg1 = (wxRichTextParagraphLayoutBox *) 0 ;
 
11237
  void *argp1 = 0 ;
 
11238
  int res1 = 0 ;
 
11239
  PyObject *swig_obj[1] ;
 
11240
  
 
11241
  if (!args) SWIG_fail;
 
11242
  swig_obj[0] = args;
 
11243
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextParagraphLayoutBox, 0 |  0 );
 
11244
  if (!SWIG_IsOK(res1)) {
 
11245
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextParagraphLayoutBox_UpdateRanges" "', expected argument " "1"" of type '" "wxRichTextParagraphLayoutBox *""'"); 
 
11246
  }
 
11247
  arg1 = reinterpret_cast< wxRichTextParagraphLayoutBox * >(argp1);
 
11248
  {
 
11249
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
11250
    (arg1)->UpdateRanges();
 
11251
    wxPyEndAllowThreads(__tstate);
 
11252
    if (PyErr_Occurred()) SWIG_fail;
 
11253
  }
 
11254
  resultobj = SWIG_Py_Void();
 
11255
  return resultobj;
 
11256
fail:
 
11257
  return NULL;
 
11258
}
 
11259
 
 
11260
 
 
11261
SWIGINTERN PyObject *_wrap_RichTextParagraphLayoutBox_GetText(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
11262
  PyObject *resultobj = 0;
 
11263
  wxRichTextParagraphLayoutBox *arg1 = (wxRichTextParagraphLayoutBox *) 0 ;
 
11264
  wxString result;
 
11265
  void *argp1 = 0 ;
 
11266
  int res1 = 0 ;
 
11267
  PyObject *swig_obj[1] ;
 
11268
  
 
11269
  if (!args) SWIG_fail;
 
11270
  swig_obj[0] = args;
 
11271
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextParagraphLayoutBox, 0 |  0 );
 
11272
  if (!SWIG_IsOK(res1)) {
 
11273
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextParagraphLayoutBox_GetText" "', expected argument " "1"" of type '" "wxRichTextParagraphLayoutBox const *""'"); 
 
11274
  }
 
11275
  arg1 = reinterpret_cast< wxRichTextParagraphLayoutBox * >(argp1);
 
11276
  {
 
11277
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
11278
    result = ((wxRichTextParagraphLayoutBox const *)arg1)->GetText();
 
11279
    wxPyEndAllowThreads(__tstate);
 
11280
    if (PyErr_Occurred()) SWIG_fail;
 
11281
  }
 
11282
  {
 
11283
#if wxUSE_UNICODE
 
11284
    resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
 
11285
#else
 
11286
    resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
 
11287
#endif
 
11288
  }
 
11289
  return resultobj;
 
11290
fail:
 
11291
  return NULL;
 
11292
}
 
11293
 
 
11294
 
 
11295
SWIGINTERN PyObject *_wrap_RichTextParagraphLayoutBox_SetDefaultStyle(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
11296
  PyObject *resultobj = 0;
 
11297
  wxRichTextParagraphLayoutBox *arg1 = (wxRichTextParagraphLayoutBox *) 0 ;
 
11298
  wxTextAttrEx *arg2 = 0 ;
 
11299
  bool result;
 
11300
  void *argp1 = 0 ;
 
11301
  int res1 = 0 ;
 
11302
  void *argp2 = 0 ;
 
11303
  int res2 = 0 ;
 
11304
  PyObject * obj0 = 0 ;
 
11305
  PyObject * obj1 = 0 ;
 
11306
  char *  kwnames[] = {
 
11307
    (char *) "self",(char *) "style", NULL 
 
11308
  };
 
11309
  
 
11310
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RichTextParagraphLayoutBox_SetDefaultStyle",kwnames,&obj0,&obj1)) SWIG_fail;
 
11311
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextParagraphLayoutBox, 0 |  0 );
 
11312
  if (!SWIG_IsOK(res1)) {
 
11313
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextParagraphLayoutBox_SetDefaultStyle" "', expected argument " "1"" of type '" "wxRichTextParagraphLayoutBox *""'"); 
 
11314
  }
 
11315
  arg1 = reinterpret_cast< wxRichTextParagraphLayoutBox * >(argp1);
 
11316
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTextAttrEx,  0  | 0);
 
11317
  if (!SWIG_IsOK(res2)) {
 
11318
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "RichTextParagraphLayoutBox_SetDefaultStyle" "', expected argument " "2"" of type '" "wxTextAttrEx const &""'"); 
 
11319
  }
 
11320
  if (!argp2) {
 
11321
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "RichTextParagraphLayoutBox_SetDefaultStyle" "', expected argument " "2"" of type '" "wxTextAttrEx const &""'"); 
 
11322
  }
 
11323
  arg2 = reinterpret_cast< wxTextAttrEx * >(argp2);
 
11324
  {
 
11325
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
11326
    result = (bool)(arg1)->SetDefaultStyle((wxTextAttrEx const &)*arg2);
 
11327
    wxPyEndAllowThreads(__tstate);
 
11328
    if (PyErr_Occurred()) SWIG_fail;
 
11329
  }
 
11330
  {
 
11331
    resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
 
11332
  }
 
11333
  return resultobj;
 
11334
fail:
 
11335
  return NULL;
 
11336
}
 
11337
 
 
11338
 
 
11339
SWIGINTERN PyObject *_wrap_RichTextParagraphLayoutBox_GetDefaultStyle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
11340
  PyObject *resultobj = 0;
 
11341
  wxRichTextParagraphLayoutBox *arg1 = (wxRichTextParagraphLayoutBox *) 0 ;
 
11342
  wxTextAttrEx *result = 0 ;
 
11343
  void *argp1 = 0 ;
 
11344
  int res1 = 0 ;
 
11345
  PyObject *swig_obj[1] ;
 
11346
  
 
11347
  if (!args) SWIG_fail;
 
11348
  swig_obj[0] = args;
 
11349
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextParagraphLayoutBox, 0 |  0 );
 
11350
  if (!SWIG_IsOK(res1)) {
 
11351
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextParagraphLayoutBox_GetDefaultStyle" "', expected argument " "1"" of type '" "wxRichTextParagraphLayoutBox const *""'"); 
 
11352
  }
 
11353
  arg1 = reinterpret_cast< wxRichTextParagraphLayoutBox * >(argp1);
 
11354
  {
 
11355
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
11356
    {
 
11357
      wxTextAttrEx const &_result_ref = ((wxRichTextParagraphLayoutBox const *)arg1)->GetDefaultStyle();
 
11358
      result = (wxTextAttrEx *) &_result_ref;
 
11359
    }
 
11360
    wxPyEndAllowThreads(__tstate);
 
11361
    if (PyErr_Occurred()) SWIG_fail;
 
11362
  }
 
11363
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxTextAttrEx, 0 |  0 );
 
11364
  return resultobj;
 
11365
fail:
 
11366
  return NULL;
 
11367
}
 
11368
 
 
11369
 
 
11370
SWIGINTERN PyObject *_wrap_RichTextParagraphLayoutBox_SetBasicStyle(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
11371
  PyObject *resultobj = 0;
 
11372
  wxRichTextParagraphLayoutBox *arg1 = (wxRichTextParagraphLayoutBox *) 0 ;
 
11373
  wxTextAttrEx *arg2 = 0 ;
 
11374
  void *argp1 = 0 ;
 
11375
  int res1 = 0 ;
 
11376
  void *argp2 = 0 ;
 
11377
  int res2 = 0 ;
 
11378
  PyObject * obj0 = 0 ;
 
11379
  PyObject * obj1 = 0 ;
 
11380
  char *  kwnames[] = {
 
11381
    (char *) "self",(char *) "style", NULL 
 
11382
  };
 
11383
  
 
11384
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RichTextParagraphLayoutBox_SetBasicStyle",kwnames,&obj0,&obj1)) SWIG_fail;
 
11385
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextParagraphLayoutBox, 0 |  0 );
 
11386
  if (!SWIG_IsOK(res1)) {
 
11387
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextParagraphLayoutBox_SetBasicStyle" "', expected argument " "1"" of type '" "wxRichTextParagraphLayoutBox *""'"); 
 
11388
  }
 
11389
  arg1 = reinterpret_cast< wxRichTextParagraphLayoutBox * >(argp1);
 
11390
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTextAttrEx,  0  | 0);
 
11391
  if (!SWIG_IsOK(res2)) {
 
11392
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "RichTextParagraphLayoutBox_SetBasicStyle" "', expected argument " "2"" of type '" "wxTextAttrEx const &""'"); 
 
11393
  }
 
11394
  if (!argp2) {
 
11395
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "RichTextParagraphLayoutBox_SetBasicStyle" "', expected argument " "2"" of type '" "wxTextAttrEx const &""'"); 
 
11396
  }
 
11397
  arg2 = reinterpret_cast< wxTextAttrEx * >(argp2);
 
11398
  {
 
11399
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
11400
    (arg1)->SetBasicStyle((wxTextAttrEx const &)*arg2);
 
11401
    wxPyEndAllowThreads(__tstate);
 
11402
    if (PyErr_Occurred()) SWIG_fail;
 
11403
  }
 
11404
  resultobj = SWIG_Py_Void();
 
11405
  return resultobj;
 
11406
fail:
 
11407
  return NULL;
 
11408
}
 
11409
 
 
11410
 
 
11411
SWIGINTERN PyObject *_wrap_RichTextParagraphLayoutBox_GetBasicStyle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
11412
  PyObject *resultobj = 0;
 
11413
  wxRichTextParagraphLayoutBox *arg1 = (wxRichTextParagraphLayoutBox *) 0 ;
 
11414
  wxTextAttrEx *result = 0 ;
 
11415
  void *argp1 = 0 ;
 
11416
  int res1 = 0 ;
 
11417
  PyObject *swig_obj[1] ;
 
11418
  
 
11419
  if (!args) SWIG_fail;
 
11420
  swig_obj[0] = args;
 
11421
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextParagraphLayoutBox, 0 |  0 );
 
11422
  if (!SWIG_IsOK(res1)) {
 
11423
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextParagraphLayoutBox_GetBasicStyle" "', expected argument " "1"" of type '" "wxRichTextParagraphLayoutBox const *""'"); 
 
11424
  }
 
11425
  arg1 = reinterpret_cast< wxRichTextParagraphLayoutBox * >(argp1);
 
11426
  {
 
11427
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
11428
    {
 
11429
      wxTextAttrEx const &_result_ref = ((wxRichTextParagraphLayoutBox const *)arg1)->GetBasicStyle();
 
11430
      result = (wxTextAttrEx *) &_result_ref;
 
11431
    }
 
11432
    wxPyEndAllowThreads(__tstate);
 
11433
    if (PyErr_Occurred()) SWIG_fail;
 
11434
  }
 
11435
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxTextAttrEx, 0 |  0 );
 
11436
  return resultobj;
 
11437
fail:
 
11438
  return NULL;
 
11439
}
 
11440
 
 
11441
 
 
11442
SWIGINTERN PyObject *_wrap_RichTextParagraphLayoutBox_Invalidate(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
11443
  PyObject *resultobj = 0;
 
11444
  wxRichTextParagraphLayoutBox *arg1 = (wxRichTextParagraphLayoutBox *) 0 ;
 
11445
  wxRichTextRange const &arg2_defvalue = wxRICHTEXT_ALL ;
 
11446
  wxRichTextRange *arg2 = (wxRichTextRange *) &arg2_defvalue ;
 
11447
  void *argp1 = 0 ;
 
11448
  int res1 = 0 ;
 
11449
  wxRichTextRange temp2 ;
 
11450
  PyObject * obj0 = 0 ;
 
11451
  PyObject * obj1 = 0 ;
 
11452
  char *  kwnames[] = {
 
11453
    (char *) "self",(char *) "invalidRange", NULL 
 
11454
  };
 
11455
  
 
11456
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:RichTextParagraphLayoutBox_Invalidate",kwnames,&obj0,&obj1)) SWIG_fail;
 
11457
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextParagraphLayoutBox, 0 |  0 );
 
11458
  if (!SWIG_IsOK(res1)) {
 
11459
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextParagraphLayoutBox_Invalidate" "', expected argument " "1"" of type '" "wxRichTextParagraphLayoutBox *""'"); 
 
11460
  }
 
11461
  arg1 = reinterpret_cast< wxRichTextParagraphLayoutBox * >(argp1);
 
11462
  if (obj1) {
 
11463
    {
 
11464
      arg2 = &temp2;
 
11465
      if ( ! wxRichTextRange_helper(obj1, &arg2)) SWIG_fail;
 
11466
    }
 
11467
  }
 
11468
  {
 
11469
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
11470
    (arg1)->Invalidate((wxRichTextRange const &)*arg2);
 
11471
    wxPyEndAllowThreads(__tstate);
 
11472
    if (PyErr_Occurred()) SWIG_fail;
 
11473
  }
 
11474
  resultobj = SWIG_Py_Void();
 
11475
  return resultobj;
 
11476
fail:
 
11477
  return NULL;
 
11478
}
 
11479
 
 
11480
 
 
11481
SWIGINTERN PyObject *_wrap_RichTextParagraphLayoutBox_GetInvalidRange(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
11482
  PyObject *resultobj = 0;
 
11483
  wxRichTextParagraphLayoutBox *arg1 = (wxRichTextParagraphLayoutBox *) 0 ;
 
11484
  bool arg2 = (bool) false ;
 
11485
  wxRichTextRange result;
 
11486
  void *argp1 = 0 ;
 
11487
  int res1 = 0 ;
 
11488
  bool val2 ;
 
11489
  int ecode2 = 0 ;
 
11490
  PyObject * obj0 = 0 ;
 
11491
  PyObject * obj1 = 0 ;
 
11492
  char *  kwnames[] = {
 
11493
    (char *) "self",(char *) "wholeParagraphs", NULL 
 
11494
  };
 
11495
  
 
11496
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:RichTextParagraphLayoutBox_GetInvalidRange",kwnames,&obj0,&obj1)) SWIG_fail;
 
11497
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextParagraphLayoutBox, 0 |  0 );
 
11498
  if (!SWIG_IsOK(res1)) {
 
11499
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextParagraphLayoutBox_GetInvalidRange" "', expected argument " "1"" of type '" "wxRichTextParagraphLayoutBox const *""'"); 
 
11500
  }
 
11501
  arg1 = reinterpret_cast< wxRichTextParagraphLayoutBox * >(argp1);
 
11502
  if (obj1) {
 
11503
    ecode2 = SWIG_AsVal_bool(obj1, &val2);
 
11504
    if (!SWIG_IsOK(ecode2)) {
 
11505
      SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RichTextParagraphLayoutBox_GetInvalidRange" "', expected argument " "2"" of type '" "bool""'");
 
11506
    } 
 
11507
    arg2 = static_cast< bool >(val2);
 
11508
  }
 
11509
  {
 
11510
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
11511
    result = ((wxRichTextParagraphLayoutBox const *)arg1)->GetInvalidRange(arg2);
 
11512
    wxPyEndAllowThreads(__tstate);
 
11513
    if (PyErr_Occurred()) SWIG_fail;
 
11514
  }
 
11515
  resultobj = SWIG_NewPointerObj((new wxRichTextRange(static_cast< const wxRichTextRange& >(result))), SWIGTYPE_p_wxRichTextRange, SWIG_POINTER_OWN |  0 );
 
11516
  return resultobj;
 
11517
fail:
 
11518
  return NULL;
 
11519
}
 
11520
 
 
11521
 
 
11522
SWIGINTERN PyObject *RichTextParagraphLayoutBox_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
11523
  PyObject *obj;
 
11524
  if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
 
11525
  SWIG_TypeNewClientData(SWIGTYPE_p_wxRichTextParagraphLayoutBox, SWIG_NewClientData(obj));
 
11526
  return SWIG_Py_Void();
 
11527
}
 
11528
 
 
11529
SWIGINTERN PyObject *RichTextParagraphLayoutBox_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
11530
  return SWIG_Python_InitShadowInstance(args);
 
11531
}
 
11532
 
 
11533
SWIGINTERN PyObject *_wrap_new_RichTextLine(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
11534
  PyObject *resultobj = 0;
 
11535
  wxRichTextParagraph *arg1 = (wxRichTextParagraph *) 0 ;
 
11536
  wxRichTextLine *result = 0 ;
 
11537
  void *argp1 = 0 ;
 
11538
  int res1 = 0 ;
 
11539
  PyObject * obj0 = 0 ;
 
11540
  char *  kwnames[] = {
 
11541
    (char *) "parent", NULL 
 
11542
  };
 
11543
  
 
11544
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_RichTextLine",kwnames,&obj0)) SWIG_fail;
 
11545
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextParagraph, 0 |  0 );
 
11546
  if (!SWIG_IsOK(res1)) {
 
11547
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_RichTextLine" "', expected argument " "1"" of type '" "wxRichTextParagraph *""'"); 
 
11548
  }
 
11549
  arg1 = reinterpret_cast< wxRichTextParagraph * >(argp1);
 
11550
  {
 
11551
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
11552
    result = (wxRichTextLine *)new wxRichTextLine(arg1);
 
11553
    wxPyEndAllowThreads(__tstate);
 
11554
    if (PyErr_Occurred()) SWIG_fail;
 
11555
  }
 
11556
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxRichTextLine, SWIG_POINTER_NEW |  0 );
 
11557
  return resultobj;
 
11558
fail:
 
11559
  return NULL;
 
11560
}
 
11561
 
 
11562
 
 
11563
SWIGINTERN PyObject *_wrap_delete_RichTextLine(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
11564
  PyObject *resultobj = 0;
 
11565
  wxRichTextLine *arg1 = (wxRichTextLine *) 0 ;
 
11566
  void *argp1 = 0 ;
 
11567
  int res1 = 0 ;
 
11568
  PyObject *swig_obj[1] ;
 
11569
  
 
11570
  if (!args) SWIG_fail;
 
11571
  swig_obj[0] = args;
 
11572
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextLine, SWIG_POINTER_DISOWN |  0 );
 
11573
  if (!SWIG_IsOK(res1)) {
 
11574
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_RichTextLine" "', expected argument " "1"" of type '" "wxRichTextLine *""'"); 
 
11575
  }
 
11576
  arg1 = reinterpret_cast< wxRichTextLine * >(argp1);
 
11577
  {
 
11578
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
11579
    delete arg1;
 
11580
    
 
11581
    wxPyEndAllowThreads(__tstate);
 
11582
    if (PyErr_Occurred()) SWIG_fail;
 
11583
  }
 
11584
  resultobj = SWIG_Py_Void();
 
11585
  return resultobj;
 
11586
fail:
 
11587
  return NULL;
 
11588
}
 
11589
 
 
11590
 
 
11591
SWIGINTERN PyObject *_wrap_RichTextLine_SetRange(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
11592
  PyObject *resultobj = 0;
 
11593
  wxRichTextLine *arg1 = (wxRichTextLine *) 0 ;
 
11594
  wxRichTextRange *arg2 = 0 ;
 
11595
  void *argp1 = 0 ;
 
11596
  int res1 = 0 ;
 
11597
  wxRichTextRange temp2 ;
 
11598
  PyObject * obj0 = 0 ;
 
11599
  PyObject * obj1 = 0 ;
 
11600
  char *  kwnames[] = {
 
11601
    (char *) "self",(char *) "range", NULL 
 
11602
  };
 
11603
  
 
11604
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RichTextLine_SetRange",kwnames,&obj0,&obj1)) SWIG_fail;
 
11605
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextLine, 0 |  0 );
 
11606
  if (!SWIG_IsOK(res1)) {
 
11607
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextLine_SetRange" "', expected argument " "1"" of type '" "wxRichTextLine *""'"); 
 
11608
  }
 
11609
  arg1 = reinterpret_cast< wxRichTextLine * >(argp1);
 
11610
  {
 
11611
    arg2 = &temp2;
 
11612
    if ( ! wxRichTextRange_helper(obj1, &arg2)) SWIG_fail;
 
11613
  }
 
11614
  {
 
11615
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
11616
    (arg1)->SetRange((wxRichTextRange const &)*arg2);
 
11617
    wxPyEndAllowThreads(__tstate);
 
11618
    if (PyErr_Occurred()) SWIG_fail;
 
11619
  }
 
11620
  resultobj = SWIG_Py_Void();
 
11621
  return resultobj;
 
11622
fail:
 
11623
  return NULL;
 
11624
}
 
11625
 
 
11626
 
 
11627
SWIGINTERN PyObject *_wrap_RichTextLine_GetParent(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
11628
  PyObject *resultobj = 0;
 
11629
  wxRichTextLine *arg1 = (wxRichTextLine *) 0 ;
 
11630
  wxRichTextParagraph *result = 0 ;
 
11631
  void *argp1 = 0 ;
 
11632
  int res1 = 0 ;
 
11633
  PyObject *swig_obj[1] ;
 
11634
  
 
11635
  if (!args) SWIG_fail;
 
11636
  swig_obj[0] = args;
 
11637
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextLine, 0 |  0 );
 
11638
  if (!SWIG_IsOK(res1)) {
 
11639
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextLine_GetParent" "', expected argument " "1"" of type '" "wxRichTextLine *""'"); 
 
11640
  }
 
11641
  arg1 = reinterpret_cast< wxRichTextLine * >(argp1);
 
11642
  {
 
11643
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
11644
    result = (wxRichTextParagraph *)(arg1)->GetParent();
 
11645
    wxPyEndAllowThreads(__tstate);
 
11646
    if (PyErr_Occurred()) SWIG_fail;
 
11647
  }
 
11648
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxRichTextParagraph, 0 |  0 );
 
11649
  return resultobj;
 
11650
fail:
 
11651
  return NULL;
 
11652
}
 
11653
 
 
11654
 
 
11655
SWIGINTERN PyObject *_wrap_RichTextLine_GetRange(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
11656
  PyObject *resultobj = 0;
 
11657
  wxRichTextLine *arg1 = (wxRichTextLine *) 0 ;
 
11658
  wxRichTextRange result;
 
11659
  void *argp1 = 0 ;
 
11660
  int res1 = 0 ;
 
11661
  PyObject *swig_obj[1] ;
 
11662
  
 
11663
  if (!args) SWIG_fail;
 
11664
  swig_obj[0] = args;
 
11665
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextLine, 0 |  0 );
 
11666
  if (!SWIG_IsOK(res1)) {
 
11667
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextLine_GetRange" "', expected argument " "1"" of type '" "wxRichTextLine *""'"); 
 
11668
  }
 
11669
  arg1 = reinterpret_cast< wxRichTextLine * >(argp1);
 
11670
  {
 
11671
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
11672
    result = (arg1)->GetRange();
 
11673
    wxPyEndAllowThreads(__tstate);
 
11674
    if (PyErr_Occurred()) SWIG_fail;
 
11675
  }
 
11676
  resultobj = SWIG_NewPointerObj((new wxRichTextRange(static_cast< const wxRichTextRange& >(result))), SWIGTYPE_p_wxRichTextRange, SWIG_POINTER_OWN |  0 );
 
11677
  return resultobj;
 
11678
fail:
 
11679
  return NULL;
 
11680
}
 
11681
 
 
11682
 
 
11683
SWIGINTERN PyObject *_wrap_RichTextLine_GetAbsoluteRange(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
11684
  PyObject *resultobj = 0;
 
11685
  wxRichTextLine *arg1 = (wxRichTextLine *) 0 ;
 
11686
  wxRichTextRange result;
 
11687
  void *argp1 = 0 ;
 
11688
  int res1 = 0 ;
 
11689
  PyObject *swig_obj[1] ;
 
11690
  
 
11691
  if (!args) SWIG_fail;
 
11692
  swig_obj[0] = args;
 
11693
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextLine, 0 |  0 );
 
11694
  if (!SWIG_IsOK(res1)) {
 
11695
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextLine_GetAbsoluteRange" "', expected argument " "1"" of type '" "wxRichTextLine const *""'"); 
 
11696
  }
 
11697
  arg1 = reinterpret_cast< wxRichTextLine * >(argp1);
 
11698
  {
 
11699
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
11700
    result = ((wxRichTextLine const *)arg1)->GetAbsoluteRange();
 
11701
    wxPyEndAllowThreads(__tstate);
 
11702
    if (PyErr_Occurred()) SWIG_fail;
 
11703
  }
 
11704
  resultobj = SWIG_NewPointerObj((new wxRichTextRange(static_cast< const wxRichTextRange& >(result))), SWIGTYPE_p_wxRichTextRange, SWIG_POINTER_OWN |  0 );
 
11705
  return resultobj;
 
11706
fail:
 
11707
  return NULL;
 
11708
}
 
11709
 
 
11710
 
 
11711
SWIGINTERN PyObject *_wrap_RichTextLine_GetSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
11712
  PyObject *resultobj = 0;
 
11713
  wxRichTextLine *arg1 = (wxRichTextLine *) 0 ;
 
11714
  wxSize result;
 
11715
  void *argp1 = 0 ;
 
11716
  int res1 = 0 ;
 
11717
  PyObject *swig_obj[1] ;
 
11718
  
 
11719
  if (!args) SWIG_fail;
 
11720
  swig_obj[0] = args;
 
11721
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextLine, 0 |  0 );
 
11722
  if (!SWIG_IsOK(res1)) {
 
11723
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextLine_GetSize" "', expected argument " "1"" of type '" "wxRichTextLine const *""'"); 
 
11724
  }
 
11725
  arg1 = reinterpret_cast< wxRichTextLine * >(argp1);
 
11726
  {
 
11727
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
11728
    result = ((wxRichTextLine const *)arg1)->GetSize();
 
11729
    wxPyEndAllowThreads(__tstate);
 
11730
    if (PyErr_Occurred()) SWIG_fail;
 
11731
  }
 
11732
  resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN |  0 );
 
11733
  return resultobj;
 
11734
fail:
 
11735
  return NULL;
 
11736
}
 
11737
 
 
11738
 
 
11739
SWIGINTERN PyObject *_wrap_RichTextLine_SetSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
11740
  PyObject *resultobj = 0;
 
11741
  wxRichTextLine *arg1 = (wxRichTextLine *) 0 ;
 
11742
  wxSize *arg2 = 0 ;
 
11743
  void *argp1 = 0 ;
 
11744
  int res1 = 0 ;
 
11745
  wxSize temp2 ;
 
11746
  PyObject * obj0 = 0 ;
 
11747
  PyObject * obj1 = 0 ;
 
11748
  char *  kwnames[] = {
 
11749
    (char *) "self",(char *) "sz", NULL 
 
11750
  };
 
11751
  
 
11752
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RichTextLine_SetSize",kwnames,&obj0,&obj1)) SWIG_fail;
 
11753
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextLine, 0 |  0 );
 
11754
  if (!SWIG_IsOK(res1)) {
 
11755
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextLine_SetSize" "', expected argument " "1"" of type '" "wxRichTextLine *""'"); 
 
11756
  }
 
11757
  arg1 = reinterpret_cast< wxRichTextLine * >(argp1);
 
11758
  {
 
11759
    arg2 = &temp2;
 
11760
    if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
 
11761
  }
 
11762
  {
 
11763
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
11764
    (arg1)->SetSize((wxSize const &)*arg2);
 
11765
    wxPyEndAllowThreads(__tstate);
 
11766
    if (PyErr_Occurred()) SWIG_fail;
 
11767
  }
 
11768
  resultobj = SWIG_Py_Void();
 
11769
  return resultobj;
 
11770
fail:
 
11771
  return NULL;
 
11772
}
 
11773
 
 
11774
 
 
11775
SWIGINTERN PyObject *_wrap_RichTextLine_GetPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
11776
  PyObject *resultobj = 0;
 
11777
  wxRichTextLine *arg1 = (wxRichTextLine *) 0 ;
 
11778
  wxPoint result;
 
11779
  void *argp1 = 0 ;
 
11780
  int res1 = 0 ;
 
11781
  PyObject *swig_obj[1] ;
 
11782
  
 
11783
  if (!args) SWIG_fail;
 
11784
  swig_obj[0] = args;
 
11785
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextLine, 0 |  0 );
 
11786
  if (!SWIG_IsOK(res1)) {
 
11787
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextLine_GetPosition" "', expected argument " "1"" of type '" "wxRichTextLine const *""'"); 
 
11788
  }
 
11789
  arg1 = reinterpret_cast< wxRichTextLine * >(argp1);
 
11790
  {
 
11791
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
11792
    result = ((wxRichTextLine const *)arg1)->GetPosition();
 
11793
    wxPyEndAllowThreads(__tstate);
 
11794
    if (PyErr_Occurred()) SWIG_fail;
 
11795
  }
 
11796
  resultobj = SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint& >(result))), SWIGTYPE_p_wxPoint, SWIG_POINTER_OWN |  0 );
 
11797
  return resultobj;
 
11798
fail:
 
11799
  return NULL;
 
11800
}
 
11801
 
 
11802
 
 
11803
SWIGINTERN PyObject *_wrap_RichTextLine_SetPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
11804
  PyObject *resultobj = 0;
 
11805
  wxRichTextLine *arg1 = (wxRichTextLine *) 0 ;
 
11806
  wxPoint *arg2 = 0 ;
 
11807
  void *argp1 = 0 ;
 
11808
  int res1 = 0 ;
 
11809
  wxPoint temp2 ;
 
11810
  PyObject * obj0 = 0 ;
 
11811
  PyObject * obj1 = 0 ;
 
11812
  char *  kwnames[] = {
 
11813
    (char *) "self",(char *) "pos", NULL 
 
11814
  };
 
11815
  
 
11816
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RichTextLine_SetPosition",kwnames,&obj0,&obj1)) SWIG_fail;
 
11817
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextLine, 0 |  0 );
 
11818
  if (!SWIG_IsOK(res1)) {
 
11819
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextLine_SetPosition" "', expected argument " "1"" of type '" "wxRichTextLine *""'"); 
 
11820
  }
 
11821
  arg1 = reinterpret_cast< wxRichTextLine * >(argp1);
 
11822
  {
 
11823
    arg2 = &temp2;
 
11824
    if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
 
11825
  }
 
11826
  {
 
11827
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
11828
    (arg1)->SetPosition((wxPoint const &)*arg2);
 
11829
    wxPyEndAllowThreads(__tstate);
 
11830
    if (PyErr_Occurred()) SWIG_fail;
 
11831
  }
 
11832
  resultobj = SWIG_Py_Void();
 
11833
  return resultobj;
 
11834
fail:
 
11835
  return NULL;
 
11836
}
 
11837
 
 
11838
 
 
11839
SWIGINTERN PyObject *_wrap_RichTextLine_GetAbsolutePosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
11840
  PyObject *resultobj = 0;
 
11841
  wxRichTextLine *arg1 = (wxRichTextLine *) 0 ;
 
11842
  wxPoint result;
 
11843
  void *argp1 = 0 ;
 
11844
  int res1 = 0 ;
 
11845
  PyObject *swig_obj[1] ;
 
11846
  
 
11847
  if (!args) SWIG_fail;
 
11848
  swig_obj[0] = args;
 
11849
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextLine, 0 |  0 );
 
11850
  if (!SWIG_IsOK(res1)) {
 
11851
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextLine_GetAbsolutePosition" "', expected argument " "1"" of type '" "wxRichTextLine const *""'"); 
 
11852
  }
 
11853
  arg1 = reinterpret_cast< wxRichTextLine * >(argp1);
 
11854
  {
 
11855
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
11856
    result = ((wxRichTextLine const *)arg1)->GetAbsolutePosition();
 
11857
    wxPyEndAllowThreads(__tstate);
 
11858
    if (PyErr_Occurred()) SWIG_fail;
 
11859
  }
 
11860
  resultobj = SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint& >(result))), SWIGTYPE_p_wxPoint, SWIG_POINTER_OWN |  0 );
 
11861
  return resultobj;
 
11862
fail:
 
11863
  return NULL;
 
11864
}
 
11865
 
 
11866
 
 
11867
SWIGINTERN PyObject *_wrap_RichTextLine_GetRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
11868
  PyObject *resultobj = 0;
 
11869
  wxRichTextLine *arg1 = (wxRichTextLine *) 0 ;
 
11870
  wxRect result;
 
11871
  void *argp1 = 0 ;
 
11872
  int res1 = 0 ;
 
11873
  PyObject *swig_obj[1] ;
 
11874
  
 
11875
  if (!args) SWIG_fail;
 
11876
  swig_obj[0] = args;
 
11877
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextLine, 0 |  0 );
 
11878
  if (!SWIG_IsOK(res1)) {
 
11879
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextLine_GetRect" "', expected argument " "1"" of type '" "wxRichTextLine const *""'"); 
 
11880
  }
 
11881
  arg1 = reinterpret_cast< wxRichTextLine * >(argp1);
 
11882
  {
 
11883
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
11884
    result = ((wxRichTextLine const *)arg1)->GetRect();
 
11885
    wxPyEndAllowThreads(__tstate);
 
11886
    if (PyErr_Occurred()) SWIG_fail;
 
11887
  }
 
11888
  resultobj = SWIG_NewPointerObj((new wxRect(static_cast< const wxRect& >(result))), SWIGTYPE_p_wxRect, SWIG_POINTER_OWN |  0 );
 
11889
  return resultobj;
 
11890
fail:
 
11891
  return NULL;
 
11892
}
 
11893
 
 
11894
 
 
11895
SWIGINTERN PyObject *_wrap_RichTextLine_SetDescent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
11896
  PyObject *resultobj = 0;
 
11897
  wxRichTextLine *arg1 = (wxRichTextLine *) 0 ;
 
11898
  int arg2 ;
 
11899
  void *argp1 = 0 ;
 
11900
  int res1 = 0 ;
 
11901
  int val2 ;
 
11902
  int ecode2 = 0 ;
 
11903
  PyObject * obj0 = 0 ;
 
11904
  PyObject * obj1 = 0 ;
 
11905
  char *  kwnames[] = {
 
11906
    (char *) "self",(char *) "descent", NULL 
 
11907
  };
 
11908
  
 
11909
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RichTextLine_SetDescent",kwnames,&obj0,&obj1)) SWIG_fail;
 
11910
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextLine, 0 |  0 );
 
11911
  if (!SWIG_IsOK(res1)) {
 
11912
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextLine_SetDescent" "', expected argument " "1"" of type '" "wxRichTextLine *""'"); 
 
11913
  }
 
11914
  arg1 = reinterpret_cast< wxRichTextLine * >(argp1);
 
11915
  ecode2 = SWIG_AsVal_int(obj1, &val2);
 
11916
  if (!SWIG_IsOK(ecode2)) {
 
11917
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RichTextLine_SetDescent" "', expected argument " "2"" of type '" "int""'");
 
11918
  } 
 
11919
  arg2 = static_cast< int >(val2);
 
11920
  {
 
11921
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
11922
    (arg1)->SetDescent(arg2);
 
11923
    wxPyEndAllowThreads(__tstate);
 
11924
    if (PyErr_Occurred()) SWIG_fail;
 
11925
  }
 
11926
  resultobj = SWIG_Py_Void();
 
11927
  return resultobj;
 
11928
fail:
 
11929
  return NULL;
 
11930
}
 
11931
 
 
11932
 
 
11933
SWIGINTERN PyObject *_wrap_RichTextLine_GetDescent(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
11934
  PyObject *resultobj = 0;
 
11935
  wxRichTextLine *arg1 = (wxRichTextLine *) 0 ;
 
11936
  int result;
 
11937
  void *argp1 = 0 ;
 
11938
  int res1 = 0 ;
 
11939
  PyObject *swig_obj[1] ;
 
11940
  
 
11941
  if (!args) SWIG_fail;
 
11942
  swig_obj[0] = args;
 
11943
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextLine, 0 |  0 );
 
11944
  if (!SWIG_IsOK(res1)) {
 
11945
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextLine_GetDescent" "', expected argument " "1"" of type '" "wxRichTextLine const *""'"); 
 
11946
  }
 
11947
  arg1 = reinterpret_cast< wxRichTextLine * >(argp1);
 
11948
  {
 
11949
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
11950
    result = (int)((wxRichTextLine const *)arg1)->GetDescent();
 
11951
    wxPyEndAllowThreads(__tstate);
 
11952
    if (PyErr_Occurred()) SWIG_fail;
 
11953
  }
 
11954
  resultobj = SWIG_From_int(static_cast< int >(result));
 
11955
  return resultobj;
 
11956
fail:
 
11957
  return NULL;
 
11958
}
 
11959
 
 
11960
 
 
11961
SWIGINTERN PyObject *_wrap_RichTextLine_Init(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
11962
  PyObject *resultobj = 0;
 
11963
  wxRichTextLine *arg1 = (wxRichTextLine *) 0 ;
 
11964
  wxRichTextParagraph *arg2 = (wxRichTextParagraph *) 0 ;
 
11965
  void *argp1 = 0 ;
 
11966
  int res1 = 0 ;
 
11967
  void *argp2 = 0 ;
 
11968
  int res2 = 0 ;
 
11969
  PyObject * obj0 = 0 ;
 
11970
  PyObject * obj1 = 0 ;
 
11971
  char *  kwnames[] = {
 
11972
    (char *) "self",(char *) "parent", NULL 
 
11973
  };
 
11974
  
 
11975
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RichTextLine_Init",kwnames,&obj0,&obj1)) SWIG_fail;
 
11976
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextLine, 0 |  0 );
 
11977
  if (!SWIG_IsOK(res1)) {
 
11978
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextLine_Init" "', expected argument " "1"" of type '" "wxRichTextLine *""'"); 
 
11979
  }
 
11980
  arg1 = reinterpret_cast< wxRichTextLine * >(argp1);
 
11981
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxRichTextParagraph, 0 |  0 );
 
11982
  if (!SWIG_IsOK(res2)) {
 
11983
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "RichTextLine_Init" "', expected argument " "2"" of type '" "wxRichTextParagraph *""'"); 
 
11984
  }
 
11985
  arg2 = reinterpret_cast< wxRichTextParagraph * >(argp2);
 
11986
  {
 
11987
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
11988
    (arg1)->Init(arg2);
 
11989
    wxPyEndAllowThreads(__tstate);
 
11990
    if (PyErr_Occurred()) SWIG_fail;
 
11991
  }
 
11992
  resultobj = SWIG_Py_Void();
 
11993
  return resultobj;
 
11994
fail:
 
11995
  return NULL;
 
11996
}
 
11997
 
 
11998
 
 
11999
SWIGINTERN PyObject *_wrap_RichTextLine_Copy(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
12000
  PyObject *resultobj = 0;
 
12001
  wxRichTextLine *arg1 = (wxRichTextLine *) 0 ;
 
12002
  wxRichTextLine *arg2 = 0 ;
 
12003
  void *argp1 = 0 ;
 
12004
  int res1 = 0 ;
 
12005
  void *argp2 = 0 ;
 
12006
  int res2 = 0 ;
 
12007
  PyObject * obj0 = 0 ;
 
12008
  PyObject * obj1 = 0 ;
 
12009
  char *  kwnames[] = {
 
12010
    (char *) "self",(char *) "obj", NULL 
 
12011
  };
 
12012
  
 
12013
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RichTextLine_Copy",kwnames,&obj0,&obj1)) SWIG_fail;
 
12014
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextLine, 0 |  0 );
 
12015
  if (!SWIG_IsOK(res1)) {
 
12016
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextLine_Copy" "', expected argument " "1"" of type '" "wxRichTextLine *""'"); 
 
12017
  }
 
12018
  arg1 = reinterpret_cast< wxRichTextLine * >(argp1);
 
12019
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxRichTextLine,  0  | 0);
 
12020
  if (!SWIG_IsOK(res2)) {
 
12021
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "RichTextLine_Copy" "', expected argument " "2"" of type '" "wxRichTextLine const &""'"); 
 
12022
  }
 
12023
  if (!argp2) {
 
12024
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "RichTextLine_Copy" "', expected argument " "2"" of type '" "wxRichTextLine const &""'"); 
 
12025
  }
 
12026
  arg2 = reinterpret_cast< wxRichTextLine * >(argp2);
 
12027
  {
 
12028
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
12029
    (arg1)->Copy((wxRichTextLine const &)*arg2);
 
12030
    wxPyEndAllowThreads(__tstate);
 
12031
    if (PyErr_Occurred()) SWIG_fail;
 
12032
  }
 
12033
  resultobj = SWIG_Py_Void();
 
12034
  return resultobj;
 
12035
fail:
 
12036
  return NULL;
 
12037
}
 
12038
 
 
12039
 
 
12040
SWIGINTERN PyObject *_wrap_RichTextLine_Clone(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
12041
  PyObject *resultobj = 0;
 
12042
  wxRichTextLine *arg1 = (wxRichTextLine *) 0 ;
 
12043
  wxRichTextLine *result = 0 ;
 
12044
  void *argp1 = 0 ;
 
12045
  int res1 = 0 ;
 
12046
  PyObject *swig_obj[1] ;
 
12047
  
 
12048
  if (!args) SWIG_fail;
 
12049
  swig_obj[0] = args;
 
12050
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextLine, 0 |  0 );
 
12051
  if (!SWIG_IsOK(res1)) {
 
12052
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextLine_Clone" "', expected argument " "1"" of type '" "wxRichTextLine const *""'"); 
 
12053
  }
 
12054
  arg1 = reinterpret_cast< wxRichTextLine * >(argp1);
 
12055
  {
 
12056
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
12057
    result = (wxRichTextLine *)((wxRichTextLine const *)arg1)->Clone();
 
12058
    wxPyEndAllowThreads(__tstate);
 
12059
    if (PyErr_Occurred()) SWIG_fail;
 
12060
  }
 
12061
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxRichTextLine, 0 |  0 );
 
12062
  return resultobj;
 
12063
fail:
 
12064
  return NULL;
 
12065
}
 
12066
 
 
12067
 
 
12068
SWIGINTERN PyObject *RichTextLine_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
12069
  PyObject *obj;
 
12070
  if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
 
12071
  SWIG_TypeNewClientData(SWIGTYPE_p_wxRichTextLine, SWIG_NewClientData(obj));
 
12072
  return SWIG_Py_Void();
 
12073
}
 
12074
 
 
12075
SWIGINTERN PyObject *RichTextLine_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
12076
  return SWIG_Python_InitShadowInstance(args);
 
12077
}
 
12078
 
 
12079
SWIGINTERN PyObject *_wrap_new_RichTextParagraph(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
12080
  PyObject *resultobj = 0;
 
12081
  wxString *arg1 = 0 ;
 
12082
  wxRichTextObject *arg2 = (wxRichTextObject *) NULL ;
 
12083
  wxTextAttrEx *arg3 = (wxTextAttrEx *) NULL ;
 
12084
  wxTextAttrEx *arg4 = (wxTextAttrEx *) NULL ;
 
12085
  wxRichTextParagraph *result = 0 ;
 
12086
  bool temp1 = false ;
 
12087
  void *argp2 = 0 ;
 
12088
  int res2 = 0 ;
 
12089
  void *argp3 = 0 ;
 
12090
  int res3 = 0 ;
 
12091
  void *argp4 = 0 ;
 
12092
  int res4 = 0 ;
 
12093
  PyObject * obj0 = 0 ;
 
12094
  PyObject * obj1 = 0 ;
 
12095
  PyObject * obj2 = 0 ;
 
12096
  PyObject * obj3 = 0 ;
 
12097
  char *  kwnames[] = {
 
12098
    (char *) "text",(char *) "parent",(char *) "paraStyle",(char *) "charStyle", NULL 
 
12099
  };
 
12100
  
 
12101
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:new_RichTextParagraph",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
 
12102
  {
 
12103
    arg1 = wxString_in_helper(obj0);
 
12104
    if (arg1 == NULL) SWIG_fail;
 
12105
    temp1 = true;
 
12106
  }
 
12107
  if (obj1) {
 
12108
    res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxRichTextObject, 0 |  0 );
 
12109
    if (!SWIG_IsOK(res2)) {
 
12110
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_RichTextParagraph" "', expected argument " "2"" of type '" "wxRichTextObject *""'"); 
 
12111
    }
 
12112
    arg2 = reinterpret_cast< wxRichTextObject * >(argp2);
 
12113
  }
 
12114
  if (obj2) {
 
12115
    res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxTextAttrEx, 0 |  0 );
 
12116
    if (!SWIG_IsOK(res3)) {
 
12117
      SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_RichTextParagraph" "', expected argument " "3"" of type '" "wxTextAttrEx *""'"); 
 
12118
    }
 
12119
    arg3 = reinterpret_cast< wxTextAttrEx * >(argp3);
 
12120
  }
 
12121
  if (obj3) {
 
12122
    res4 = SWIG_ConvertPtr(obj3, &argp4,SWIGTYPE_p_wxTextAttrEx, 0 |  0 );
 
12123
    if (!SWIG_IsOK(res4)) {
 
12124
      SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "new_RichTextParagraph" "', expected argument " "4"" of type '" "wxTextAttrEx *""'"); 
 
12125
    }
 
12126
    arg4 = reinterpret_cast< wxTextAttrEx * >(argp4);
 
12127
  }
 
12128
  {
 
12129
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
12130
    result = (wxRichTextParagraph *)new wxRichTextParagraph((wxString const &)*arg1,arg2,arg3,arg4);
 
12131
    wxPyEndAllowThreads(__tstate);
 
12132
    if (PyErr_Occurred()) SWIG_fail;
 
12133
  }
 
12134
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxRichTextParagraph, SWIG_POINTER_NEW |  0 );
 
12135
  {
 
12136
    if (temp1)
 
12137
    delete arg1;
 
12138
  }
 
12139
  return resultobj;
 
12140
fail:
 
12141
  {
 
12142
    if (temp1)
 
12143
    delete arg1;
 
12144
  }
 
12145
  return NULL;
 
12146
}
 
12147
 
 
12148
 
 
12149
SWIGINTERN PyObject *_wrap_delete_RichTextParagraph(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
12150
  PyObject *resultobj = 0;
 
12151
  wxRichTextParagraph *arg1 = (wxRichTextParagraph *) 0 ;
 
12152
  void *argp1 = 0 ;
 
12153
  int res1 = 0 ;
 
12154
  PyObject *swig_obj[1] ;
 
12155
  
 
12156
  if (!args) SWIG_fail;
 
12157
  swig_obj[0] = args;
 
12158
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextParagraph, SWIG_POINTER_DISOWN |  0 );
 
12159
  if (!SWIG_IsOK(res1)) {
 
12160
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_RichTextParagraph" "', expected argument " "1"" of type '" "wxRichTextParagraph *""'"); 
 
12161
  }
 
12162
  arg1 = reinterpret_cast< wxRichTextParagraph * >(argp1);
 
12163
  {
 
12164
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
12165
    delete arg1;
 
12166
    
 
12167
    wxPyEndAllowThreads(__tstate);
 
12168
    if (PyErr_Occurred()) SWIG_fail;
 
12169
  }
 
12170
  resultobj = SWIG_Py_Void();
 
12171
  return resultobj;
 
12172
fail:
 
12173
  return NULL;
 
12174
}
 
12175
 
 
12176
 
 
12177
SWIGINTERN PyObject *_wrap_RichTextParagraph_GetLines(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
12178
  PyObject *resultobj = 0;
 
12179
  wxRichTextParagraph *arg1 = (wxRichTextParagraph *) 0 ;
 
12180
  wxRichTextLineList *result = 0 ;
 
12181
  void *argp1 = 0 ;
 
12182
  int res1 = 0 ;
 
12183
  PyObject *swig_obj[1] ;
 
12184
  
 
12185
  if (!args) SWIG_fail;
 
12186
  swig_obj[0] = args;
 
12187
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextParagraph, 0 |  0 );
 
12188
  if (!SWIG_IsOK(res1)) {
 
12189
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextParagraph_GetLines" "', expected argument " "1"" of type '" "wxRichTextParagraph *""'"); 
 
12190
  }
 
12191
  arg1 = reinterpret_cast< wxRichTextParagraph * >(argp1);
 
12192
  {
 
12193
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
12194
    {
 
12195
      wxRichTextLineList &_result_ref = (arg1)->GetLines();
 
12196
      result = (wxRichTextLineList *) &_result_ref;
 
12197
    }
 
12198
    wxPyEndAllowThreads(__tstate);
 
12199
    if (PyErr_Occurred()) SWIG_fail;
 
12200
  }
 
12201
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxRichTextLineList, 0 |  0 );
 
12202
  return resultobj;
 
12203
fail:
 
12204
  return NULL;
 
12205
}
 
12206
 
 
12207
 
 
12208
SWIGINTERN PyObject *_wrap_RichTextParagraph_Copy(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
12209
  PyObject *resultobj = 0;
 
12210
  wxRichTextParagraph *arg1 = (wxRichTextParagraph *) 0 ;
 
12211
  wxRichTextParagraph *arg2 = 0 ;
 
12212
  void *argp1 = 0 ;
 
12213
  int res1 = 0 ;
 
12214
  void *argp2 = 0 ;
 
12215
  int res2 = 0 ;
 
12216
  PyObject * obj0 = 0 ;
 
12217
  PyObject * obj1 = 0 ;
 
12218
  char *  kwnames[] = {
 
12219
    (char *) "self",(char *) "obj", NULL 
 
12220
  };
 
12221
  
 
12222
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RichTextParagraph_Copy",kwnames,&obj0,&obj1)) SWIG_fail;
 
12223
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextParagraph, 0 |  0 );
 
12224
  if (!SWIG_IsOK(res1)) {
 
12225
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextParagraph_Copy" "', expected argument " "1"" of type '" "wxRichTextParagraph *""'"); 
 
12226
  }
 
12227
  arg1 = reinterpret_cast< wxRichTextParagraph * >(argp1);
 
12228
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxRichTextParagraph,  0  | 0);
 
12229
  if (!SWIG_IsOK(res2)) {
 
12230
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "RichTextParagraph_Copy" "', expected argument " "2"" of type '" "wxRichTextParagraph const &""'"); 
 
12231
  }
 
12232
  if (!argp2) {
 
12233
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "RichTextParagraph_Copy" "', expected argument " "2"" of type '" "wxRichTextParagraph const &""'"); 
 
12234
  }
 
12235
  arg2 = reinterpret_cast< wxRichTextParagraph * >(argp2);
 
12236
  {
 
12237
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
12238
    (arg1)->Copy((wxRichTextParagraph const &)*arg2);
 
12239
    wxPyEndAllowThreads(__tstate);
 
12240
    if (PyErr_Occurred()) SWIG_fail;
 
12241
  }
 
12242
  resultobj = SWIG_Py_Void();
 
12243
  return resultobj;
 
12244
fail:
 
12245
  return NULL;
 
12246
}
 
12247
 
 
12248
 
 
12249
SWIGINTERN PyObject *_wrap_RichTextParagraph_ClearLines(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
12250
  PyObject *resultobj = 0;
 
12251
  wxRichTextParagraph *arg1 = (wxRichTextParagraph *) 0 ;
 
12252
  void *argp1 = 0 ;
 
12253
  int res1 = 0 ;
 
12254
  PyObject *swig_obj[1] ;
 
12255
  
 
12256
  if (!args) SWIG_fail;
 
12257
  swig_obj[0] = args;
 
12258
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextParagraph, 0 |  0 );
 
12259
  if (!SWIG_IsOK(res1)) {
 
12260
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextParagraph_ClearLines" "', expected argument " "1"" of type '" "wxRichTextParagraph *""'"); 
 
12261
  }
 
12262
  arg1 = reinterpret_cast< wxRichTextParagraph * >(argp1);
 
12263
  {
 
12264
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
12265
    (arg1)->ClearLines();
 
12266
    wxPyEndAllowThreads(__tstate);
 
12267
    if (PyErr_Occurred()) SWIG_fail;
 
12268
  }
 
12269
  resultobj = SWIG_Py_Void();
 
12270
  return resultobj;
 
12271
fail:
 
12272
  return NULL;
 
12273
}
 
12274
 
 
12275
 
 
12276
SWIGINTERN PyObject *_wrap_RichTextParagraph_ApplyParagraphStyle(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
12277
  PyObject *resultobj = 0;
 
12278
  wxRichTextParagraph *arg1 = (wxRichTextParagraph *) 0 ;
 
12279
  wxTextAttrEx *arg2 = 0 ;
 
12280
  wxRect *arg3 = 0 ;
 
12281
  void *argp1 = 0 ;
 
12282
  int res1 = 0 ;
 
12283
  void *argp2 = 0 ;
 
12284
  int res2 = 0 ;
 
12285
  wxRect temp3 ;
 
12286
  PyObject * obj0 = 0 ;
 
12287
  PyObject * obj1 = 0 ;
 
12288
  PyObject * obj2 = 0 ;
 
12289
  char *  kwnames[] = {
 
12290
    (char *) "self",(char *) "attr",(char *) "rect", NULL 
 
12291
  };
 
12292
  
 
12293
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:RichTextParagraph_ApplyParagraphStyle",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
 
12294
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextParagraph, 0 |  0 );
 
12295
  if (!SWIG_IsOK(res1)) {
 
12296
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextParagraph_ApplyParagraphStyle" "', expected argument " "1"" of type '" "wxRichTextParagraph *""'"); 
 
12297
  }
 
12298
  arg1 = reinterpret_cast< wxRichTextParagraph * >(argp1);
 
12299
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTextAttrEx,  0  | 0);
 
12300
  if (!SWIG_IsOK(res2)) {
 
12301
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "RichTextParagraph_ApplyParagraphStyle" "', expected argument " "2"" of type '" "wxTextAttrEx const &""'"); 
 
12302
  }
 
12303
  if (!argp2) {
 
12304
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "RichTextParagraph_ApplyParagraphStyle" "', expected argument " "2"" of type '" "wxTextAttrEx const &""'"); 
 
12305
  }
 
12306
  arg2 = reinterpret_cast< wxTextAttrEx * >(argp2);
 
12307
  {
 
12308
    arg3 = &temp3;
 
12309
    if ( ! wxRect_helper(obj2, &arg3)) SWIG_fail;
 
12310
  }
 
12311
  {
 
12312
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
12313
    (arg1)->ApplyParagraphStyle((wxTextAttrEx const &)*arg2,(wxRect const &)*arg3);
 
12314
    wxPyEndAllowThreads(__tstate);
 
12315
    if (PyErr_Occurred()) SWIG_fail;
 
12316
  }
 
12317
  resultobj = SWIG_Py_Void();
 
12318
  return resultobj;
 
12319
fail:
 
12320
  return NULL;
 
12321
}
 
12322
 
 
12323
 
 
12324
SWIGINTERN PyObject *_wrap_RichTextParagraph_InsertText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
12325
  PyObject *resultobj = 0;
 
12326
  wxRichTextParagraph *arg1 = (wxRichTextParagraph *) 0 ;
 
12327
  long arg2 ;
 
12328
  wxString *arg3 = 0 ;
 
12329
  bool result;
 
12330
  void *argp1 = 0 ;
 
12331
  int res1 = 0 ;
 
12332
  long val2 ;
 
12333
  int ecode2 = 0 ;
 
12334
  bool temp3 = false ;
 
12335
  PyObject * obj0 = 0 ;
 
12336
  PyObject * obj1 = 0 ;
 
12337
  PyObject * obj2 = 0 ;
 
12338
  char *  kwnames[] = {
 
12339
    (char *) "self",(char *) "pos",(char *) "text", NULL 
 
12340
  };
 
12341
  
 
12342
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:RichTextParagraph_InsertText",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
 
12343
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextParagraph, 0 |  0 );
 
12344
  if (!SWIG_IsOK(res1)) {
 
12345
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextParagraph_InsertText" "', expected argument " "1"" of type '" "wxRichTextParagraph *""'"); 
 
12346
  }
 
12347
  arg1 = reinterpret_cast< wxRichTextParagraph * >(argp1);
 
12348
  ecode2 = SWIG_AsVal_long(obj1, &val2);
 
12349
  if (!SWIG_IsOK(ecode2)) {
 
12350
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RichTextParagraph_InsertText" "', expected argument " "2"" of type '" "long""'");
 
12351
  } 
 
12352
  arg2 = static_cast< long >(val2);
 
12353
  {
 
12354
    arg3 = wxString_in_helper(obj2);
 
12355
    if (arg3 == NULL) SWIG_fail;
 
12356
    temp3 = true;
 
12357
  }
 
12358
  {
 
12359
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
12360
    result = (bool)(arg1)->InsertText(arg2,(wxString const &)*arg3);
 
12361
    wxPyEndAllowThreads(__tstate);
 
12362
    if (PyErr_Occurred()) SWIG_fail;
 
12363
  }
 
12364
  {
 
12365
    resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
 
12366
  }
 
12367
  {
 
12368
    if (temp3)
 
12369
    delete arg3;
 
12370
  }
 
12371
  return resultobj;
 
12372
fail:
 
12373
  {
 
12374
    if (temp3)
 
12375
    delete arg3;
 
12376
  }
 
12377
  return NULL;
 
12378
}
 
12379
 
 
12380
 
 
12381
SWIGINTERN PyObject *_wrap_RichTextParagraph_SplitAt(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
12382
  PyObject *resultobj = 0;
 
12383
  wxRichTextParagraph *arg1 = (wxRichTextParagraph *) 0 ;
 
12384
  long arg2 ;
 
12385
  wxRichTextObject **arg3 = (wxRichTextObject **) NULL ;
 
12386
  wxRichTextObject *result = 0 ;
 
12387
  void *argp1 = 0 ;
 
12388
  int res1 = 0 ;
 
12389
  long val2 ;
 
12390
  int ecode2 = 0 ;
 
12391
  void *argp3 = 0 ;
 
12392
  int res3 = 0 ;
 
12393
  PyObject * obj0 = 0 ;
 
12394
  PyObject * obj1 = 0 ;
 
12395
  PyObject * obj2 = 0 ;
 
12396
  char *  kwnames[] = {
 
12397
    (char *) "self",(char *) "pos",(char *) "previousObject", NULL 
 
12398
  };
 
12399
  
 
12400
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:RichTextParagraph_SplitAt",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
 
12401
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextParagraph, 0 |  0 );
 
12402
  if (!SWIG_IsOK(res1)) {
 
12403
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextParagraph_SplitAt" "', expected argument " "1"" of type '" "wxRichTextParagraph *""'"); 
 
12404
  }
 
12405
  arg1 = reinterpret_cast< wxRichTextParagraph * >(argp1);
 
12406
  ecode2 = SWIG_AsVal_long(obj1, &val2);
 
12407
  if (!SWIG_IsOK(ecode2)) {
 
12408
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RichTextParagraph_SplitAt" "', expected argument " "2"" of type '" "long""'");
 
12409
  } 
 
12410
  arg2 = static_cast< long >(val2);
 
12411
  if (obj2) {
 
12412
    res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_p_wxRichTextObject, 0 |  0 );
 
12413
    if (!SWIG_IsOK(res3)) {
 
12414
      SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "RichTextParagraph_SplitAt" "', expected argument " "3"" of type '" "wxRichTextObject **""'"); 
 
12415
    }
 
12416
    arg3 = reinterpret_cast< wxRichTextObject ** >(argp3);
 
12417
  }
 
12418
  {
 
12419
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
12420
    result = (wxRichTextObject *)(arg1)->SplitAt(arg2,arg3);
 
12421
    wxPyEndAllowThreads(__tstate);
 
12422
    if (PyErr_Occurred()) SWIG_fail;
 
12423
  }
 
12424
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxRichTextObject, 0 |  0 );
 
12425
  return resultobj;
 
12426
fail:
 
12427
  return NULL;
 
12428
}
 
12429
 
 
12430
 
 
12431
SWIGINTERN PyObject *_wrap_RichTextParagraph_MoveToList(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
12432
  PyObject *resultobj = 0;
 
12433
  wxRichTextParagraph *arg1 = (wxRichTextParagraph *) 0 ;
 
12434
  wxRichTextObject *arg2 = (wxRichTextObject *) 0 ;
 
12435
  wxList *arg3 = 0 ;
 
12436
  void *argp1 = 0 ;
 
12437
  int res1 = 0 ;
 
12438
  void *argp2 = 0 ;
 
12439
  int res2 = 0 ;
 
12440
  void *argp3 = 0 ;
 
12441
  int res3 = 0 ;
 
12442
  PyObject * obj0 = 0 ;
 
12443
  PyObject * obj1 = 0 ;
 
12444
  PyObject * obj2 = 0 ;
 
12445
  char *  kwnames[] = {
 
12446
    (char *) "self",(char *) "obj",(char *) "list", NULL 
 
12447
  };
 
12448
  
 
12449
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:RichTextParagraph_MoveToList",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
 
12450
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextParagraph, 0 |  0 );
 
12451
  if (!SWIG_IsOK(res1)) {
 
12452
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextParagraph_MoveToList" "', expected argument " "1"" of type '" "wxRichTextParagraph *""'"); 
 
12453
  }
 
12454
  arg1 = reinterpret_cast< wxRichTextParagraph * >(argp1);
 
12455
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxRichTextObject, 0 |  0 );
 
12456
  if (!SWIG_IsOK(res2)) {
 
12457
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "RichTextParagraph_MoveToList" "', expected argument " "2"" of type '" "wxRichTextObject *""'"); 
 
12458
  }
 
12459
  arg2 = reinterpret_cast< wxRichTextObject * >(argp2);
 
12460
  res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxList,  0 );
 
12461
  if (!SWIG_IsOK(res3)) {
 
12462
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "RichTextParagraph_MoveToList" "', expected argument " "3"" of type '" "wxList &""'"); 
 
12463
  }
 
12464
  if (!argp3) {
 
12465
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "RichTextParagraph_MoveToList" "', expected argument " "3"" of type '" "wxList &""'"); 
 
12466
  }
 
12467
  arg3 = reinterpret_cast< wxList * >(argp3);
 
12468
  {
 
12469
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
12470
    (arg1)->MoveToList(arg2,*arg3);
 
12471
    wxPyEndAllowThreads(__tstate);
 
12472
    if (PyErr_Occurred()) SWIG_fail;
 
12473
  }
 
12474
  resultobj = SWIG_Py_Void();
 
12475
  return resultobj;
 
12476
fail:
 
12477
  return NULL;
 
12478
}
 
12479
 
 
12480
 
 
12481
SWIGINTERN PyObject *_wrap_RichTextParagraph_MoveFromList(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
12482
  PyObject *resultobj = 0;
 
12483
  wxRichTextParagraph *arg1 = (wxRichTextParagraph *) 0 ;
 
12484
  wxList *arg2 = 0 ;
 
12485
  void *argp1 = 0 ;
 
12486
  int res1 = 0 ;
 
12487
  void *argp2 = 0 ;
 
12488
  int res2 = 0 ;
 
12489
  PyObject * obj0 = 0 ;
 
12490
  PyObject * obj1 = 0 ;
 
12491
  char *  kwnames[] = {
 
12492
    (char *) "self",(char *) "list", NULL 
 
12493
  };
 
12494
  
 
12495
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RichTextParagraph_MoveFromList",kwnames,&obj0,&obj1)) SWIG_fail;
 
12496
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextParagraph, 0 |  0 );
 
12497
  if (!SWIG_IsOK(res1)) {
 
12498
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextParagraph_MoveFromList" "', expected argument " "1"" of type '" "wxRichTextParagraph *""'"); 
 
12499
  }
 
12500
  arg1 = reinterpret_cast< wxRichTextParagraph * >(argp1);
 
12501
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxList,  0 );
 
12502
  if (!SWIG_IsOK(res2)) {
 
12503
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "RichTextParagraph_MoveFromList" "', expected argument " "2"" of type '" "wxList &""'"); 
 
12504
  }
 
12505
  if (!argp2) {
 
12506
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "RichTextParagraph_MoveFromList" "', expected argument " "2"" of type '" "wxList &""'"); 
 
12507
  }
 
12508
  arg2 = reinterpret_cast< wxList * >(argp2);
 
12509
  {
 
12510
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
12511
    (arg1)->MoveFromList(*arg2);
 
12512
    wxPyEndAllowThreads(__tstate);
 
12513
    if (PyErr_Occurred()) SWIG_fail;
 
12514
  }
 
12515
  resultobj = SWIG_Py_Void();
 
12516
  return resultobj;
 
12517
fail:
 
12518
  return NULL;
 
12519
}
 
12520
 
 
12521
 
 
12522
SWIGINTERN PyObject *_wrap_RichTextParagraph_GetContiguousPlainText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
12523
  PyObject *resultobj = 0;
 
12524
  wxRichTextParagraph *arg1 = (wxRichTextParagraph *) 0 ;
 
12525
  wxString *arg2 = 0 ;
 
12526
  wxRichTextRange *arg3 = 0 ;
 
12527
  bool arg4 = (bool) true ;
 
12528
  bool result;
 
12529
  void *argp1 = 0 ;
 
12530
  int res1 = 0 ;
 
12531
  bool temp2 = false ;
 
12532
  wxRichTextRange temp3 ;
 
12533
  bool val4 ;
 
12534
  int ecode4 = 0 ;
 
12535
  PyObject * obj0 = 0 ;
 
12536
  PyObject * obj1 = 0 ;
 
12537
  PyObject * obj2 = 0 ;
 
12538
  PyObject * obj3 = 0 ;
 
12539
  char *  kwnames[] = {
 
12540
    (char *) "self",(char *) "text",(char *) "range",(char *) "fromStart", NULL 
 
12541
  };
 
12542
  
 
12543
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:RichTextParagraph_GetContiguousPlainText",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
 
12544
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextParagraph, 0 |  0 );
 
12545
  if (!SWIG_IsOK(res1)) {
 
12546
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextParagraph_GetContiguousPlainText" "', expected argument " "1"" of type '" "wxRichTextParagraph *""'"); 
 
12547
  }
 
12548
  arg1 = reinterpret_cast< wxRichTextParagraph * >(argp1);
 
12549
  {
 
12550
    arg2 = wxString_in_helper(obj1);
 
12551
    if (arg2 == NULL) SWIG_fail;
 
12552
    temp2 = true;
 
12553
  }
 
12554
  {
 
12555
    arg3 = &temp3;
 
12556
    if ( ! wxRichTextRange_helper(obj2, &arg3)) SWIG_fail;
 
12557
  }
 
12558
  if (obj3) {
 
12559
    ecode4 = SWIG_AsVal_bool(obj3, &val4);
 
12560
    if (!SWIG_IsOK(ecode4)) {
 
12561
      SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "RichTextParagraph_GetContiguousPlainText" "', expected argument " "4"" of type '" "bool""'");
 
12562
    } 
 
12563
    arg4 = static_cast< bool >(val4);
 
12564
  }
 
12565
  {
 
12566
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
12567
    result = (bool)(arg1)->GetContiguousPlainText(*arg2,(wxRichTextRange const &)*arg3,arg4);
 
12568
    wxPyEndAllowThreads(__tstate);
 
12569
    if (PyErr_Occurred()) SWIG_fail;
 
12570
  }
 
12571
  {
 
12572
    resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
 
12573
  }
 
12574
  {
 
12575
    if (temp2)
 
12576
    delete arg2;
 
12577
  }
 
12578
  return resultobj;
 
12579
fail:
 
12580
  {
 
12581
    if (temp2)
 
12582
    delete arg2;
 
12583
  }
 
12584
  return NULL;
 
12585
}
 
12586
 
 
12587
 
 
12588
SWIGINTERN PyObject *_wrap_RichTextParagraph_FindWrapPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
12589
  PyObject *resultobj = 0;
 
12590
  wxRichTextParagraph *arg1 = (wxRichTextParagraph *) 0 ;
 
12591
  wxRichTextRange *arg2 = 0 ;
 
12592
  wxDC *arg3 = 0 ;
 
12593
  int arg4 ;
 
12594
  long *arg5 = 0 ;
 
12595
  bool result;
 
12596
  void *argp1 = 0 ;
 
12597
  int res1 = 0 ;
 
12598
  wxRichTextRange temp2 ;
 
12599
  void *argp3 = 0 ;
 
12600
  int res3 = 0 ;
 
12601
  int val4 ;
 
12602
  int ecode4 = 0 ;
 
12603
  void *argp5 = 0 ;
 
12604
  int res5 = 0 ;
 
12605
  PyObject * obj0 = 0 ;
 
12606
  PyObject * obj1 = 0 ;
 
12607
  PyObject * obj2 = 0 ;
 
12608
  PyObject * obj3 = 0 ;
 
12609
  PyObject * obj4 = 0 ;
 
12610
  char *  kwnames[] = {
 
12611
    (char *) "self",(char *) "range",(char *) "dc",(char *) "availableSpace",(char *) "wrapPosition", NULL 
 
12612
  };
 
12613
  
 
12614
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:RichTextParagraph_FindWrapPosition",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
 
12615
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextParagraph, 0 |  0 );
 
12616
  if (!SWIG_IsOK(res1)) {
 
12617
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextParagraph_FindWrapPosition" "', expected argument " "1"" of type '" "wxRichTextParagraph *""'"); 
 
12618
  }
 
12619
  arg1 = reinterpret_cast< wxRichTextParagraph * >(argp1);
 
12620
  {
 
12621
    arg2 = &temp2;
 
12622
    if ( ! wxRichTextRange_helper(obj1, &arg2)) SWIG_fail;
 
12623
  }
 
12624
  res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxDC,  0 );
 
12625
  if (!SWIG_IsOK(res3)) {
 
12626
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "RichTextParagraph_FindWrapPosition" "', expected argument " "3"" of type '" "wxDC &""'"); 
 
12627
  }
 
12628
  if (!argp3) {
 
12629
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "RichTextParagraph_FindWrapPosition" "', expected argument " "3"" of type '" "wxDC &""'"); 
 
12630
  }
 
12631
  arg3 = reinterpret_cast< wxDC * >(argp3);
 
12632
  ecode4 = SWIG_AsVal_int(obj3, &val4);
 
12633
  if (!SWIG_IsOK(ecode4)) {
 
12634
    SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "RichTextParagraph_FindWrapPosition" "', expected argument " "4"" of type '" "int""'");
 
12635
  } 
 
12636
  arg4 = static_cast< int >(val4);
 
12637
  res5 = SWIG_ConvertPtr(obj4, &argp5, SWIGTYPE_p_long,  0 );
 
12638
  if (!SWIG_IsOK(res5)) {
 
12639
    SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "RichTextParagraph_FindWrapPosition" "', expected argument " "5"" of type '" "long &""'"); 
 
12640
  }
 
12641
  if (!argp5) {
 
12642
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "RichTextParagraph_FindWrapPosition" "', expected argument " "5"" of type '" "long &""'"); 
 
12643
  }
 
12644
  arg5 = reinterpret_cast< long * >(argp5);
 
12645
  {
 
12646
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
12647
    result = (bool)(arg1)->FindWrapPosition((wxRichTextRange const &)*arg2,*arg3,arg4,*arg5);
 
12648
    wxPyEndAllowThreads(__tstate);
 
12649
    if (PyErr_Occurred()) SWIG_fail;
 
12650
  }
 
12651
  {
 
12652
    resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
 
12653
  }
 
12654
  return resultobj;
 
12655
fail:
 
12656
  return NULL;
 
12657
}
 
12658
 
 
12659
 
 
12660
SWIGINTERN PyObject *_wrap_RichTextParagraph_FindObjectAtPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
12661
  PyObject *resultobj = 0;
 
12662
  wxRichTextParagraph *arg1 = (wxRichTextParagraph *) 0 ;
 
12663
  long arg2 ;
 
12664
  wxRichTextObject *result = 0 ;
 
12665
  void *argp1 = 0 ;
 
12666
  int res1 = 0 ;
 
12667
  long val2 ;
 
12668
  int ecode2 = 0 ;
 
12669
  PyObject * obj0 = 0 ;
 
12670
  PyObject * obj1 = 0 ;
 
12671
  char *  kwnames[] = {
 
12672
    (char *) "self",(char *) "position", NULL 
 
12673
  };
 
12674
  
 
12675
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RichTextParagraph_FindObjectAtPosition",kwnames,&obj0,&obj1)) SWIG_fail;
 
12676
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextParagraph, 0 |  0 );
 
12677
  if (!SWIG_IsOK(res1)) {
 
12678
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextParagraph_FindObjectAtPosition" "', expected argument " "1"" of type '" "wxRichTextParagraph *""'"); 
 
12679
  }
 
12680
  arg1 = reinterpret_cast< wxRichTextParagraph * >(argp1);
 
12681
  ecode2 = SWIG_AsVal_long(obj1, &val2);
 
12682
  if (!SWIG_IsOK(ecode2)) {
 
12683
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RichTextParagraph_FindObjectAtPosition" "', expected argument " "2"" of type '" "long""'");
 
12684
  } 
 
12685
  arg2 = static_cast< long >(val2);
 
12686
  {
 
12687
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
12688
    result = (wxRichTextObject *)(arg1)->FindObjectAtPosition(arg2);
 
12689
    wxPyEndAllowThreads(__tstate);
 
12690
    if (PyErr_Occurred()) SWIG_fail;
 
12691
  }
 
12692
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxRichTextObject, 0 |  0 );
 
12693
  return resultobj;
 
12694
fail:
 
12695
  return NULL;
 
12696
}
 
12697
 
 
12698
 
 
12699
SWIGINTERN PyObject *_wrap_RichTextParagraph_GetBulletText(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
12700
  PyObject *resultobj = 0;
 
12701
  wxRichTextParagraph *arg1 = (wxRichTextParagraph *) 0 ;
 
12702
  wxString result;
 
12703
  void *argp1 = 0 ;
 
12704
  int res1 = 0 ;
 
12705
  PyObject *swig_obj[1] ;
 
12706
  
 
12707
  if (!args) SWIG_fail;
 
12708
  swig_obj[0] = args;
 
12709
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextParagraph, 0 |  0 );
 
12710
  if (!SWIG_IsOK(res1)) {
 
12711
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextParagraph_GetBulletText" "', expected argument " "1"" of type '" "wxRichTextParagraph *""'"); 
 
12712
  }
 
12713
  arg1 = reinterpret_cast< wxRichTextParagraph * >(argp1);
 
12714
  {
 
12715
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
12716
    result = (arg1)->GetBulletText();
 
12717
    wxPyEndAllowThreads(__tstate);
 
12718
    if (PyErr_Occurred()) SWIG_fail;
 
12719
  }
 
12720
  {
 
12721
#if wxUSE_UNICODE
 
12722
    resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
 
12723
#else
 
12724
    resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
 
12725
#endif
 
12726
  }
 
12727
  return resultobj;
 
12728
fail:
 
12729
  return NULL;
 
12730
}
 
12731
 
 
12732
 
 
12733
SWIGINTERN PyObject *_wrap_RichTextParagraph_AllocateLine(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
12734
  PyObject *resultobj = 0;
 
12735
  wxRichTextParagraph *arg1 = (wxRichTextParagraph *) 0 ;
 
12736
  int arg2 ;
 
12737
  wxRichTextLine *result = 0 ;
 
12738
  void *argp1 = 0 ;
 
12739
  int res1 = 0 ;
 
12740
  int val2 ;
 
12741
  int ecode2 = 0 ;
 
12742
  PyObject * obj0 = 0 ;
 
12743
  PyObject * obj1 = 0 ;
 
12744
  char *  kwnames[] = {
 
12745
    (char *) "self",(char *) "pos", NULL 
 
12746
  };
 
12747
  
 
12748
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RichTextParagraph_AllocateLine",kwnames,&obj0,&obj1)) SWIG_fail;
 
12749
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextParagraph, 0 |  0 );
 
12750
  if (!SWIG_IsOK(res1)) {
 
12751
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextParagraph_AllocateLine" "', expected argument " "1"" of type '" "wxRichTextParagraph *""'"); 
 
12752
  }
 
12753
  arg1 = reinterpret_cast< wxRichTextParagraph * >(argp1);
 
12754
  ecode2 = SWIG_AsVal_int(obj1, &val2);
 
12755
  if (!SWIG_IsOK(ecode2)) {
 
12756
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RichTextParagraph_AllocateLine" "', expected argument " "2"" of type '" "int""'");
 
12757
  } 
 
12758
  arg2 = static_cast< int >(val2);
 
12759
  {
 
12760
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
12761
    result = (wxRichTextLine *)(arg1)->AllocateLine(arg2);
 
12762
    wxPyEndAllowThreads(__tstate);
 
12763
    if (PyErr_Occurred()) SWIG_fail;
 
12764
  }
 
12765
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxRichTextLine, 0 |  0 );
 
12766
  return resultobj;
 
12767
fail:
 
12768
  return NULL;
 
12769
}
 
12770
 
 
12771
 
 
12772
SWIGINTERN PyObject *_wrap_RichTextParagraph_ClearUnusedLines(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
12773
  PyObject *resultobj = 0;
 
12774
  wxRichTextParagraph *arg1 = (wxRichTextParagraph *) 0 ;
 
12775
  int arg2 ;
 
12776
  bool result;
 
12777
  void *argp1 = 0 ;
 
12778
  int res1 = 0 ;
 
12779
  int val2 ;
 
12780
  int ecode2 = 0 ;
 
12781
  PyObject * obj0 = 0 ;
 
12782
  PyObject * obj1 = 0 ;
 
12783
  char *  kwnames[] = {
 
12784
    (char *) "self",(char *) "lineCount", NULL 
 
12785
  };
 
12786
  
 
12787
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RichTextParagraph_ClearUnusedLines",kwnames,&obj0,&obj1)) SWIG_fail;
 
12788
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextParagraph, 0 |  0 );
 
12789
  if (!SWIG_IsOK(res1)) {
 
12790
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextParagraph_ClearUnusedLines" "', expected argument " "1"" of type '" "wxRichTextParagraph *""'"); 
 
12791
  }
 
12792
  arg1 = reinterpret_cast< wxRichTextParagraph * >(argp1);
 
12793
  ecode2 = SWIG_AsVal_int(obj1, &val2);
 
12794
  if (!SWIG_IsOK(ecode2)) {
 
12795
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RichTextParagraph_ClearUnusedLines" "', expected argument " "2"" of type '" "int""'");
 
12796
  } 
 
12797
  arg2 = static_cast< int >(val2);
 
12798
  {
 
12799
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
12800
    result = (bool)(arg1)->ClearUnusedLines(arg2);
 
12801
    wxPyEndAllowThreads(__tstate);
 
12802
    if (PyErr_Occurred()) SWIG_fail;
 
12803
  }
 
12804
  {
 
12805
    resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
 
12806
  }
 
12807
  return resultobj;
 
12808
fail:
 
12809
  return NULL;
 
12810
}
 
12811
 
 
12812
 
 
12813
SWIGINTERN PyObject *_wrap_RichTextParagraph_GetCombinedAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
12814
  PyObject *resultobj = 0;
 
12815
  wxRichTextParagraph *arg1 = (wxRichTextParagraph *) 0 ;
 
12816
  wxTextAttrEx *arg2 = (wxTextAttrEx *) NULL ;
 
12817
  wxTextAttrEx result;
 
12818
  void *argp1 = 0 ;
 
12819
  int res1 = 0 ;
 
12820
  void *argp2 = 0 ;
 
12821
  int res2 = 0 ;
 
12822
  PyObject * obj0 = 0 ;
 
12823
  PyObject * obj1 = 0 ;
 
12824
  char *  kwnames[] = {
 
12825
    (char *) "self",(char *) "contentStyle", NULL 
 
12826
  };
 
12827
  
 
12828
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:RichTextParagraph_GetCombinedAttributes",kwnames,&obj0,&obj1)) SWIG_fail;
 
12829
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextParagraph, 0 |  0 );
 
12830
  if (!SWIG_IsOK(res1)) {
 
12831
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextParagraph_GetCombinedAttributes" "', expected argument " "1"" of type '" "wxRichTextParagraph *""'"); 
 
12832
  }
 
12833
  arg1 = reinterpret_cast< wxRichTextParagraph * >(argp1);
 
12834
  if (obj1) {
 
12835
    res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxTextAttrEx, 0 |  0 );
 
12836
    if (!SWIG_IsOK(res2)) {
 
12837
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "RichTextParagraph_GetCombinedAttributes" "', expected argument " "2"" of type '" "wxTextAttrEx *""'"); 
 
12838
    }
 
12839
    arg2 = reinterpret_cast< wxTextAttrEx * >(argp2);
 
12840
  }
 
12841
  {
 
12842
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
12843
    result = wxRichTextParagraph_GetCombinedAttributes(arg1,arg2);
 
12844
    wxPyEndAllowThreads(__tstate);
 
12845
    if (PyErr_Occurred()) SWIG_fail;
 
12846
  }
 
12847
  resultobj = SWIG_NewPointerObj((new wxTextAttrEx(static_cast< const wxTextAttrEx& >(result))), SWIGTYPE_p_wxTextAttrEx, SWIG_POINTER_OWN |  0 );
 
12848
  return resultobj;
 
12849
fail:
 
12850
  return NULL;
 
12851
}
 
12852
 
 
12853
 
 
12854
SWIGINTERN PyObject *_wrap_RichTextParagraph_GetFirstLineBreakPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
12855
  PyObject *resultobj = 0;
 
12856
  wxRichTextParagraph *arg1 = (wxRichTextParagraph *) 0 ;
 
12857
  long arg2 ;
 
12858
  long result;
 
12859
  void *argp1 = 0 ;
 
12860
  int res1 = 0 ;
 
12861
  long val2 ;
 
12862
  int ecode2 = 0 ;
 
12863
  PyObject * obj0 = 0 ;
 
12864
  PyObject * obj1 = 0 ;
 
12865
  char *  kwnames[] = {
 
12866
    (char *) "self",(char *) "pos", NULL 
 
12867
  };
 
12868
  
 
12869
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RichTextParagraph_GetFirstLineBreakPosition",kwnames,&obj0,&obj1)) SWIG_fail;
 
12870
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextParagraph, 0 |  0 );
 
12871
  if (!SWIG_IsOK(res1)) {
 
12872
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextParagraph_GetFirstLineBreakPosition" "', expected argument " "1"" of type '" "wxRichTextParagraph *""'"); 
 
12873
  }
 
12874
  arg1 = reinterpret_cast< wxRichTextParagraph * >(argp1);
 
12875
  ecode2 = SWIG_AsVal_long(obj1, &val2);
 
12876
  if (!SWIG_IsOK(ecode2)) {
 
12877
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RichTextParagraph_GetFirstLineBreakPosition" "', expected argument " "2"" of type '" "long""'");
 
12878
  } 
 
12879
  arg2 = static_cast< long >(val2);
 
12880
  {
 
12881
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
12882
    result = (long)(arg1)->GetFirstLineBreakPosition(arg2);
 
12883
    wxPyEndAllowThreads(__tstate);
 
12884
    if (PyErr_Occurred()) SWIG_fail;
 
12885
  }
 
12886
  resultobj = SWIG_From_long(static_cast< long >(result));
 
12887
  return resultobj;
 
12888
fail:
 
12889
  return NULL;
 
12890
}
 
12891
 
 
12892
 
 
12893
SWIGINTERN PyObject *_wrap_RichTextParagraph_InitDefaultTabs(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
12894
  PyObject *resultobj = 0;
 
12895
  
 
12896
  if (!SWIG_Python_UnpackTuple(args,"RichTextParagraph_InitDefaultTabs",0,0,0)) SWIG_fail;
 
12897
  {
 
12898
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
12899
    wxRichTextParagraph::InitDefaultTabs();
 
12900
    wxPyEndAllowThreads(__tstate);
 
12901
    if (PyErr_Occurred()) SWIG_fail;
 
12902
  }
 
12903
  resultobj = SWIG_Py_Void();
 
12904
  return resultobj;
 
12905
fail:
 
12906
  return NULL;
 
12907
}
 
12908
 
 
12909
 
 
12910
SWIGINTERN PyObject *_wrap_RichTextParagraph_ClearDefaultTabs(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
12911
  PyObject *resultobj = 0;
 
12912
  
 
12913
  if (!SWIG_Python_UnpackTuple(args,"RichTextParagraph_ClearDefaultTabs",0,0,0)) SWIG_fail;
 
12914
  {
 
12915
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
12916
    wxRichTextParagraph::ClearDefaultTabs();
 
12917
    wxPyEndAllowThreads(__tstate);
 
12918
    if (PyErr_Occurred()) SWIG_fail;
 
12919
  }
 
12920
  resultobj = SWIG_Py_Void();
 
12921
  return resultobj;
 
12922
fail:
 
12923
  return NULL;
 
12924
}
 
12925
 
 
12926
 
 
12927
SWIGINTERN PyObject *_wrap_RichTextParagraph_GetDefaultTabs(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
12928
  PyObject *resultobj = 0;
4605
12929
  wxArrayInt *result = 0 ;
4606
 
  void *argp1 = 0 ;
4607
 
  int res1 = 0 ;
4608
 
  PyObject *swig_obj[1] ;
4609
12930
  
4610
 
  if (!args) SWIG_fail;
4611
 
  swig_obj[0] = args;
4612
 
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextAttr, 0 |  0 );
4613
 
  if (!SWIG_IsOK(res1)) {
4614
 
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextAttr_GetTabs" "', expected argument " "1"" of type '" "wxRichTextAttr const *""'"); 
4615
 
  }
4616
 
  arg1 = reinterpret_cast< wxRichTextAttr * >(argp1);
 
12931
  if (!SWIG_Python_UnpackTuple(args,"RichTextParagraph_GetDefaultTabs",0,0,0)) SWIG_fail;
4617
12932
  {
4618
12933
    PyThreadState* __tstate = wxPyBeginAllowThreads();
4619
12934
    {
4620
 
      wxArrayInt const &_result_ref = ((wxRichTextAttr const *)arg1)->GetTabs();
 
12935
      wxArrayInt const &_result_ref = wxRichTextParagraph::GetDefaultTabs();
4621
12936
      result = (wxArrayInt *) &_result_ref;
4622
12937
    }
4623
12938
    wxPyEndAllowThreads(__tstate);
4632
12947
}
4633
12948
 
4634
12949
 
4635
 
SWIGINTERN PyObject *_wrap_RichTextAttr_GetLeftIndent(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4636
 
  PyObject *resultobj = 0;
4637
 
  wxRichTextAttr *arg1 = (wxRichTextAttr *) 0 ;
4638
 
  long result;
4639
 
  void *argp1 = 0 ;
4640
 
  int res1 = 0 ;
4641
 
  PyObject *swig_obj[1] ;
4642
 
  
4643
 
  if (!args) SWIG_fail;
4644
 
  swig_obj[0] = args;
4645
 
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextAttr, 0 |  0 );
4646
 
  if (!SWIG_IsOK(res1)) {
4647
 
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextAttr_GetLeftIndent" "', expected argument " "1"" of type '" "wxRichTextAttr const *""'"); 
4648
 
  }
4649
 
  arg1 = reinterpret_cast< wxRichTextAttr * >(argp1);
4650
 
  {
4651
 
    PyThreadState* __tstate = wxPyBeginAllowThreads();
4652
 
    result = (long)((wxRichTextAttr const *)arg1)->GetLeftIndent();
4653
 
    wxPyEndAllowThreads(__tstate);
4654
 
    if (PyErr_Occurred()) SWIG_fail;
4655
 
  }
4656
 
  resultobj = SWIG_From_long(static_cast< long >(result));
4657
 
  return resultobj;
4658
 
fail:
4659
 
  return NULL;
4660
 
}
4661
 
 
4662
 
 
4663
 
SWIGINTERN PyObject *_wrap_RichTextAttr_GetLeftSubIndent(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4664
 
  PyObject *resultobj = 0;
4665
 
  wxRichTextAttr *arg1 = (wxRichTextAttr *) 0 ;
4666
 
  long result;
4667
 
  void *argp1 = 0 ;
4668
 
  int res1 = 0 ;
4669
 
  PyObject *swig_obj[1] ;
4670
 
  
4671
 
  if (!args) SWIG_fail;
4672
 
  swig_obj[0] = args;
4673
 
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextAttr, 0 |  0 );
4674
 
  if (!SWIG_IsOK(res1)) {
4675
 
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextAttr_GetLeftSubIndent" "', expected argument " "1"" of type '" "wxRichTextAttr const *""'"); 
4676
 
  }
4677
 
  arg1 = reinterpret_cast< wxRichTextAttr * >(argp1);
4678
 
  {
4679
 
    PyThreadState* __tstate = wxPyBeginAllowThreads();
4680
 
    result = (long)((wxRichTextAttr const *)arg1)->GetLeftSubIndent();
4681
 
    wxPyEndAllowThreads(__tstate);
4682
 
    if (PyErr_Occurred()) SWIG_fail;
4683
 
  }
4684
 
  resultobj = SWIG_From_long(static_cast< long >(result));
4685
 
  return resultobj;
4686
 
fail:
4687
 
  return NULL;
4688
 
}
4689
 
 
4690
 
 
4691
 
SWIGINTERN PyObject *_wrap_RichTextAttr_GetRightIndent(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4692
 
  PyObject *resultobj = 0;
4693
 
  wxRichTextAttr *arg1 = (wxRichTextAttr *) 0 ;
4694
 
  long result;
4695
 
  void *argp1 = 0 ;
4696
 
  int res1 = 0 ;
4697
 
  PyObject *swig_obj[1] ;
4698
 
  
4699
 
  if (!args) SWIG_fail;
4700
 
  swig_obj[0] = args;
4701
 
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextAttr, 0 |  0 );
4702
 
  if (!SWIG_IsOK(res1)) {
4703
 
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextAttr_GetRightIndent" "', expected argument " "1"" of type '" "wxRichTextAttr const *""'"); 
4704
 
  }
4705
 
  arg1 = reinterpret_cast< wxRichTextAttr * >(argp1);
4706
 
  {
4707
 
    PyThreadState* __tstate = wxPyBeginAllowThreads();
4708
 
    result = (long)((wxRichTextAttr const *)arg1)->GetRightIndent();
4709
 
    wxPyEndAllowThreads(__tstate);
4710
 
    if (PyErr_Occurred()) SWIG_fail;
4711
 
  }
4712
 
  resultobj = SWIG_From_long(static_cast< long >(result));
4713
 
  return resultobj;
4714
 
fail:
4715
 
  return NULL;
4716
 
}
4717
 
 
4718
 
 
4719
 
SWIGINTERN PyObject *_wrap_RichTextAttr_GetFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4720
 
  PyObject *resultobj = 0;
4721
 
  wxRichTextAttr *arg1 = (wxRichTextAttr *) 0 ;
4722
 
  long result;
4723
 
  void *argp1 = 0 ;
4724
 
  int res1 = 0 ;
4725
 
  PyObject *swig_obj[1] ;
4726
 
  
4727
 
  if (!args) SWIG_fail;
4728
 
  swig_obj[0] = args;
4729
 
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextAttr, 0 |  0 );
4730
 
  if (!SWIG_IsOK(res1)) {
4731
 
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextAttr_GetFlags" "', expected argument " "1"" of type '" "wxRichTextAttr const *""'"); 
4732
 
  }
4733
 
  arg1 = reinterpret_cast< wxRichTextAttr * >(argp1);
4734
 
  {
4735
 
    PyThreadState* __tstate = wxPyBeginAllowThreads();
4736
 
    result = (long)((wxRichTextAttr const *)arg1)->GetFlags();
4737
 
    wxPyEndAllowThreads(__tstate);
4738
 
    if (PyErr_Occurred()) SWIG_fail;
4739
 
  }
4740
 
  resultobj = SWIG_From_long(static_cast< long >(result));
4741
 
  return resultobj;
4742
 
fail:
4743
 
  return NULL;
4744
 
}
4745
 
 
4746
 
 
4747
 
SWIGINTERN PyObject *_wrap_RichTextAttr_GetFontSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4748
 
  PyObject *resultobj = 0;
4749
 
  wxRichTextAttr *arg1 = (wxRichTextAttr *) 0 ;
4750
 
  int result;
4751
 
  void *argp1 = 0 ;
4752
 
  int res1 = 0 ;
4753
 
  PyObject *swig_obj[1] ;
4754
 
  
4755
 
  if (!args) SWIG_fail;
4756
 
  swig_obj[0] = args;
4757
 
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextAttr, 0 |  0 );
4758
 
  if (!SWIG_IsOK(res1)) {
4759
 
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextAttr_GetFontSize" "', expected argument " "1"" of type '" "wxRichTextAttr const *""'"); 
4760
 
  }
4761
 
  arg1 = reinterpret_cast< wxRichTextAttr * >(argp1);
4762
 
  {
4763
 
    PyThreadState* __tstate = wxPyBeginAllowThreads();
4764
 
    result = (int)((wxRichTextAttr const *)arg1)->GetFontSize();
4765
 
    wxPyEndAllowThreads(__tstate);
4766
 
    if (PyErr_Occurred()) SWIG_fail;
4767
 
  }
4768
 
  resultobj = SWIG_From_int(static_cast< int >(result));
4769
 
  return resultobj;
4770
 
fail:
4771
 
  return NULL;
4772
 
}
4773
 
 
4774
 
 
4775
 
SWIGINTERN PyObject *_wrap_RichTextAttr_GetFontStyle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4776
 
  PyObject *resultobj = 0;
4777
 
  wxRichTextAttr *arg1 = (wxRichTextAttr *) 0 ;
4778
 
  int result;
4779
 
  void *argp1 = 0 ;
4780
 
  int res1 = 0 ;
4781
 
  PyObject *swig_obj[1] ;
4782
 
  
4783
 
  if (!args) SWIG_fail;
4784
 
  swig_obj[0] = args;
4785
 
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextAttr, 0 |  0 );
4786
 
  if (!SWIG_IsOK(res1)) {
4787
 
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextAttr_GetFontStyle" "', expected argument " "1"" of type '" "wxRichTextAttr const *""'"); 
4788
 
  }
4789
 
  arg1 = reinterpret_cast< wxRichTextAttr * >(argp1);
4790
 
  {
4791
 
    PyThreadState* __tstate = wxPyBeginAllowThreads();
4792
 
    result = (int)((wxRichTextAttr const *)arg1)->GetFontStyle();
4793
 
    wxPyEndAllowThreads(__tstate);
4794
 
    if (PyErr_Occurred()) SWIG_fail;
4795
 
  }
4796
 
  resultobj = SWIG_From_int(static_cast< int >(result));
4797
 
  return resultobj;
4798
 
fail:
4799
 
  return NULL;
4800
 
}
4801
 
 
4802
 
 
4803
 
SWIGINTERN PyObject *_wrap_RichTextAttr_GetFontWeight(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4804
 
  PyObject *resultobj = 0;
4805
 
  wxRichTextAttr *arg1 = (wxRichTextAttr *) 0 ;
4806
 
  int result;
4807
 
  void *argp1 = 0 ;
4808
 
  int res1 = 0 ;
4809
 
  PyObject *swig_obj[1] ;
4810
 
  
4811
 
  if (!args) SWIG_fail;
4812
 
  swig_obj[0] = args;
4813
 
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextAttr, 0 |  0 );
4814
 
  if (!SWIG_IsOK(res1)) {
4815
 
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextAttr_GetFontWeight" "', expected argument " "1"" of type '" "wxRichTextAttr const *""'"); 
4816
 
  }
4817
 
  arg1 = reinterpret_cast< wxRichTextAttr * >(argp1);
4818
 
  {
4819
 
    PyThreadState* __tstate = wxPyBeginAllowThreads();
4820
 
    result = (int)((wxRichTextAttr const *)arg1)->GetFontWeight();
4821
 
    wxPyEndAllowThreads(__tstate);
4822
 
    if (PyErr_Occurred()) SWIG_fail;
4823
 
  }
4824
 
  resultobj = SWIG_From_int(static_cast< int >(result));
4825
 
  return resultobj;
4826
 
fail:
4827
 
  return NULL;
4828
 
}
4829
 
 
4830
 
 
4831
 
SWIGINTERN PyObject *_wrap_RichTextAttr_GetFontUnderlined(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4832
 
  PyObject *resultobj = 0;
4833
 
  wxRichTextAttr *arg1 = (wxRichTextAttr *) 0 ;
4834
 
  bool result;
4835
 
  void *argp1 = 0 ;
4836
 
  int res1 = 0 ;
4837
 
  PyObject *swig_obj[1] ;
4838
 
  
4839
 
  if (!args) SWIG_fail;
4840
 
  swig_obj[0] = args;
4841
 
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextAttr, 0 |  0 );
4842
 
  if (!SWIG_IsOK(res1)) {
4843
 
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextAttr_GetFontUnderlined" "', expected argument " "1"" of type '" "wxRichTextAttr const *""'"); 
4844
 
  }
4845
 
  arg1 = reinterpret_cast< wxRichTextAttr * >(argp1);
4846
 
  {
4847
 
    PyThreadState* __tstate = wxPyBeginAllowThreads();
4848
 
    result = (bool)((wxRichTextAttr const *)arg1)->GetFontUnderlined();
4849
 
    wxPyEndAllowThreads(__tstate);
4850
 
    if (PyErr_Occurred()) SWIG_fail;
4851
 
  }
4852
 
  {
4853
 
    resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4854
 
  }
4855
 
  return resultobj;
4856
 
fail:
4857
 
  return NULL;
4858
 
}
4859
 
 
4860
 
 
4861
 
SWIGINTERN PyObject *_wrap_RichTextAttr_GetFontFaceName(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4862
 
  PyObject *resultobj = 0;
4863
 
  wxRichTextAttr *arg1 = (wxRichTextAttr *) 0 ;
4864
 
  wxString *result = 0 ;
4865
 
  void *argp1 = 0 ;
4866
 
  int res1 = 0 ;
4867
 
  PyObject *swig_obj[1] ;
4868
 
  
4869
 
  if (!args) SWIG_fail;
4870
 
  swig_obj[0] = args;
4871
 
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextAttr, 0 |  0 );
4872
 
  if (!SWIG_IsOK(res1)) {
4873
 
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextAttr_GetFontFaceName" "', expected argument " "1"" of type '" "wxRichTextAttr const *""'"); 
4874
 
  }
4875
 
  arg1 = reinterpret_cast< wxRichTextAttr * >(argp1);
4876
 
  {
4877
 
    PyThreadState* __tstate = wxPyBeginAllowThreads();
4878
 
    {
4879
 
      wxString const &_result_ref = ((wxRichTextAttr const *)arg1)->GetFontFaceName();
4880
 
      result = (wxString *) &_result_ref;
4881
 
    }
4882
 
    wxPyEndAllowThreads(__tstate);
4883
 
    if (PyErr_Occurred()) SWIG_fail;
4884
 
  }
4885
 
  {
4886
 
#if wxUSE_UNICODE
4887
 
    resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
4888
 
#else
4889
 
    resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
4890
 
#endif
4891
 
  }
4892
 
  return resultobj;
4893
 
fail:
4894
 
  return NULL;
4895
 
}
4896
 
 
4897
 
 
4898
 
SWIGINTERN PyObject *_wrap_RichTextAttr_GetCharacterStyleName(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4899
 
  PyObject *resultobj = 0;
4900
 
  wxRichTextAttr *arg1 = (wxRichTextAttr *) 0 ;
4901
 
  wxString *result = 0 ;
4902
 
  void *argp1 = 0 ;
4903
 
  int res1 = 0 ;
4904
 
  PyObject *swig_obj[1] ;
4905
 
  
4906
 
  if (!args) SWIG_fail;
4907
 
  swig_obj[0] = args;
4908
 
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextAttr, 0 |  0 );
4909
 
  if (!SWIG_IsOK(res1)) {
4910
 
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextAttr_GetCharacterStyleName" "', expected argument " "1"" of type '" "wxRichTextAttr const *""'"); 
4911
 
  }
4912
 
  arg1 = reinterpret_cast< wxRichTextAttr * >(argp1);
4913
 
  {
4914
 
    PyThreadState* __tstate = wxPyBeginAllowThreads();
4915
 
    {
4916
 
      wxString const &_result_ref = ((wxRichTextAttr const *)arg1)->GetCharacterStyleName();
4917
 
      result = (wxString *) &_result_ref;
4918
 
    }
4919
 
    wxPyEndAllowThreads(__tstate);
4920
 
    if (PyErr_Occurred()) SWIG_fail;
4921
 
  }
4922
 
  {
4923
 
#if wxUSE_UNICODE
4924
 
    resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
4925
 
#else
4926
 
    resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
4927
 
#endif
4928
 
  }
4929
 
  return resultobj;
4930
 
fail:
4931
 
  return NULL;
4932
 
}
4933
 
 
4934
 
 
4935
 
SWIGINTERN PyObject *_wrap_RichTextAttr_GetParagraphStyleName(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4936
 
  PyObject *resultobj = 0;
4937
 
  wxRichTextAttr *arg1 = (wxRichTextAttr *) 0 ;
4938
 
  wxString *result = 0 ;
4939
 
  void *argp1 = 0 ;
4940
 
  int res1 = 0 ;
4941
 
  PyObject *swig_obj[1] ;
4942
 
  
4943
 
  if (!args) SWIG_fail;
4944
 
  swig_obj[0] = args;
4945
 
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextAttr, 0 |  0 );
4946
 
  if (!SWIG_IsOK(res1)) {
4947
 
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextAttr_GetParagraphStyleName" "', expected argument " "1"" of type '" "wxRichTextAttr const *""'"); 
4948
 
  }
4949
 
  arg1 = reinterpret_cast< wxRichTextAttr * >(argp1);
4950
 
  {
4951
 
    PyThreadState* __tstate = wxPyBeginAllowThreads();
4952
 
    {
4953
 
      wxString const &_result_ref = ((wxRichTextAttr const *)arg1)->GetParagraphStyleName();
4954
 
      result = (wxString *) &_result_ref;
4955
 
    }
4956
 
    wxPyEndAllowThreads(__tstate);
4957
 
    if (PyErr_Occurred()) SWIG_fail;
4958
 
  }
4959
 
  {
4960
 
#if wxUSE_UNICODE
4961
 
    resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
4962
 
#else
4963
 
    resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
4964
 
#endif
4965
 
  }
4966
 
  return resultobj;
4967
 
fail:
4968
 
  return NULL;
4969
 
}
4970
 
 
4971
 
 
4972
 
SWIGINTERN PyObject *_wrap_RichTextAttr_GetParagraphSpacingAfter(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4973
 
  PyObject *resultobj = 0;
4974
 
  wxRichTextAttr *arg1 = (wxRichTextAttr *) 0 ;
4975
 
  int result;
4976
 
  void *argp1 = 0 ;
4977
 
  int res1 = 0 ;
4978
 
  PyObject *swig_obj[1] ;
4979
 
  
4980
 
  if (!args) SWIG_fail;
4981
 
  swig_obj[0] = args;
4982
 
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextAttr, 0 |  0 );
4983
 
  if (!SWIG_IsOK(res1)) {
4984
 
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextAttr_GetParagraphSpacingAfter" "', expected argument " "1"" of type '" "wxRichTextAttr const *""'"); 
4985
 
  }
4986
 
  arg1 = reinterpret_cast< wxRichTextAttr * >(argp1);
4987
 
  {
4988
 
    PyThreadState* __tstate = wxPyBeginAllowThreads();
4989
 
    result = (int)((wxRichTextAttr const *)arg1)->GetParagraphSpacingAfter();
4990
 
    wxPyEndAllowThreads(__tstate);
4991
 
    if (PyErr_Occurred()) SWIG_fail;
4992
 
  }
4993
 
  resultobj = SWIG_From_int(static_cast< int >(result));
4994
 
  return resultobj;
4995
 
fail:
4996
 
  return NULL;
4997
 
}
4998
 
 
4999
 
 
5000
 
SWIGINTERN PyObject *_wrap_RichTextAttr_GetParagraphSpacingBefore(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5001
 
  PyObject *resultobj = 0;
5002
 
  wxRichTextAttr *arg1 = (wxRichTextAttr *) 0 ;
5003
 
  int result;
5004
 
  void *argp1 = 0 ;
5005
 
  int res1 = 0 ;
5006
 
  PyObject *swig_obj[1] ;
5007
 
  
5008
 
  if (!args) SWIG_fail;
5009
 
  swig_obj[0] = args;
5010
 
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextAttr, 0 |  0 );
5011
 
  if (!SWIG_IsOK(res1)) {
5012
 
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextAttr_GetParagraphSpacingBefore" "', expected argument " "1"" of type '" "wxRichTextAttr const *""'"); 
5013
 
  }
5014
 
  arg1 = reinterpret_cast< wxRichTextAttr * >(argp1);
5015
 
  {
5016
 
    PyThreadState* __tstate = wxPyBeginAllowThreads();
5017
 
    result = (int)((wxRichTextAttr const *)arg1)->GetParagraphSpacingBefore();
5018
 
    wxPyEndAllowThreads(__tstate);
5019
 
    if (PyErr_Occurred()) SWIG_fail;
5020
 
  }
5021
 
  resultobj = SWIG_From_int(static_cast< int >(result));
5022
 
  return resultobj;
5023
 
fail:
5024
 
  return NULL;
5025
 
}
5026
 
 
5027
 
 
5028
 
SWIGINTERN PyObject *_wrap_RichTextAttr_GetLineSpacing(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5029
 
  PyObject *resultobj = 0;
5030
 
  wxRichTextAttr *arg1 = (wxRichTextAttr *) 0 ;
5031
 
  int result;
5032
 
  void *argp1 = 0 ;
5033
 
  int res1 = 0 ;
5034
 
  PyObject *swig_obj[1] ;
5035
 
  
5036
 
  if (!args) SWIG_fail;
5037
 
  swig_obj[0] = args;
5038
 
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextAttr, 0 |  0 );
5039
 
  if (!SWIG_IsOK(res1)) {
5040
 
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextAttr_GetLineSpacing" "', expected argument " "1"" of type '" "wxRichTextAttr const *""'"); 
5041
 
  }
5042
 
  arg1 = reinterpret_cast< wxRichTextAttr * >(argp1);
5043
 
  {
5044
 
    PyThreadState* __tstate = wxPyBeginAllowThreads();
5045
 
    result = (int)((wxRichTextAttr const *)arg1)->GetLineSpacing();
5046
 
    wxPyEndAllowThreads(__tstate);
5047
 
    if (PyErr_Occurred()) SWIG_fail;
5048
 
  }
5049
 
  resultobj = SWIG_From_int(static_cast< int >(result));
5050
 
  return resultobj;
5051
 
fail:
5052
 
  return NULL;
5053
 
}
5054
 
 
5055
 
 
5056
 
SWIGINTERN PyObject *_wrap_RichTextAttr_GetBulletStyle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5057
 
  PyObject *resultobj = 0;
5058
 
  wxRichTextAttr *arg1 = (wxRichTextAttr *) 0 ;
5059
 
  int result;
5060
 
  void *argp1 = 0 ;
5061
 
  int res1 = 0 ;
5062
 
  PyObject *swig_obj[1] ;
5063
 
  
5064
 
  if (!args) SWIG_fail;
5065
 
  swig_obj[0] = args;
5066
 
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextAttr, 0 |  0 );
5067
 
  if (!SWIG_IsOK(res1)) {
5068
 
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextAttr_GetBulletStyle" "', expected argument " "1"" of type '" "wxRichTextAttr const *""'"); 
5069
 
  }
5070
 
  arg1 = reinterpret_cast< wxRichTextAttr * >(argp1);
5071
 
  {
5072
 
    PyThreadState* __tstate = wxPyBeginAllowThreads();
5073
 
    result = (int)((wxRichTextAttr const *)arg1)->GetBulletStyle();
5074
 
    wxPyEndAllowThreads(__tstate);
5075
 
    if (PyErr_Occurred()) SWIG_fail;
5076
 
  }
5077
 
  resultobj = SWIG_From_int(static_cast< int >(result));
5078
 
  return resultobj;
5079
 
fail:
5080
 
  return NULL;
5081
 
}
5082
 
 
5083
 
 
5084
 
SWIGINTERN PyObject *_wrap_RichTextAttr_GetBulletNumber(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5085
 
  PyObject *resultobj = 0;
5086
 
  wxRichTextAttr *arg1 = (wxRichTextAttr *) 0 ;
5087
 
  int result;
5088
 
  void *argp1 = 0 ;
5089
 
  int res1 = 0 ;
5090
 
  PyObject *swig_obj[1] ;
5091
 
  
5092
 
  if (!args) SWIG_fail;
5093
 
  swig_obj[0] = args;
5094
 
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextAttr, 0 |  0 );
5095
 
  if (!SWIG_IsOK(res1)) {
5096
 
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextAttr_GetBulletNumber" "', expected argument " "1"" of type '" "wxRichTextAttr const *""'"); 
5097
 
  }
5098
 
  arg1 = reinterpret_cast< wxRichTextAttr * >(argp1);
5099
 
  {
5100
 
    PyThreadState* __tstate = wxPyBeginAllowThreads();
5101
 
    result = (int)((wxRichTextAttr const *)arg1)->GetBulletNumber();
5102
 
    wxPyEndAllowThreads(__tstate);
5103
 
    if (PyErr_Occurred()) SWIG_fail;
5104
 
  }
5105
 
  resultobj = SWIG_From_int(static_cast< int >(result));
5106
 
  return resultobj;
5107
 
fail:
5108
 
  return NULL;
5109
 
}
5110
 
 
5111
 
 
5112
 
SWIGINTERN PyObject *_wrap_RichTextAttr_GetBulletText(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5113
 
  PyObject *resultobj = 0;
5114
 
  wxRichTextAttr *arg1 = (wxRichTextAttr *) 0 ;
5115
 
  wxString *result = 0 ;
5116
 
  void *argp1 = 0 ;
5117
 
  int res1 = 0 ;
5118
 
  PyObject *swig_obj[1] ;
5119
 
  
5120
 
  if (!args) SWIG_fail;
5121
 
  swig_obj[0] = args;
5122
 
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextAttr, 0 |  0 );
5123
 
  if (!SWIG_IsOK(res1)) {
5124
 
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextAttr_GetBulletText" "', expected argument " "1"" of type '" "wxRichTextAttr const *""'"); 
5125
 
  }
5126
 
  arg1 = reinterpret_cast< wxRichTextAttr * >(argp1);
5127
 
  {
5128
 
    PyThreadState* __tstate = wxPyBeginAllowThreads();
5129
 
    {
5130
 
      wxString const &_result_ref = ((wxRichTextAttr const *)arg1)->GetBulletText();
5131
 
      result = (wxString *) &_result_ref;
5132
 
    }
5133
 
    wxPyEndAllowThreads(__tstate);
5134
 
    if (PyErr_Occurred()) SWIG_fail;
5135
 
  }
5136
 
  {
5137
 
#if wxUSE_UNICODE
5138
 
    resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
5139
 
#else
5140
 
    resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
5141
 
#endif
5142
 
  }
5143
 
  return resultobj;
5144
 
fail:
5145
 
  return NULL;
5146
 
}
5147
 
 
5148
 
 
5149
 
SWIGINTERN PyObject *_wrap_RichTextAttr_GetBulletFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5150
 
  PyObject *resultobj = 0;
5151
 
  wxRichTextAttr *arg1 = (wxRichTextAttr *) 0 ;
5152
 
  wxString *result = 0 ;
5153
 
  void *argp1 = 0 ;
5154
 
  int res1 = 0 ;
5155
 
  PyObject *swig_obj[1] ;
5156
 
  
5157
 
  if (!args) SWIG_fail;
5158
 
  swig_obj[0] = args;
5159
 
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextAttr, 0 |  0 );
5160
 
  if (!SWIG_IsOK(res1)) {
5161
 
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextAttr_GetBulletFont" "', expected argument " "1"" of type '" "wxRichTextAttr const *""'"); 
5162
 
  }
5163
 
  arg1 = reinterpret_cast< wxRichTextAttr * >(argp1);
5164
 
  {
5165
 
    PyThreadState* __tstate = wxPyBeginAllowThreads();
5166
 
    {
5167
 
      wxString const &_result_ref = ((wxRichTextAttr const *)arg1)->GetBulletFont();
5168
 
      result = (wxString *) &_result_ref;
5169
 
    }
5170
 
    wxPyEndAllowThreads(__tstate);
5171
 
    if (PyErr_Occurred()) SWIG_fail;
5172
 
  }
5173
 
  {
5174
 
#if wxUSE_UNICODE
5175
 
    resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
5176
 
#else
5177
 
    resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
5178
 
#endif
5179
 
  }
5180
 
  return resultobj;
5181
 
fail:
5182
 
  return NULL;
5183
 
}
5184
 
 
5185
 
 
5186
 
SWIGINTERN PyObject *_wrap_RichTextAttr_HasTextColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5187
 
  PyObject *resultobj = 0;
5188
 
  wxRichTextAttr *arg1 = (wxRichTextAttr *) 0 ;
5189
 
  bool result;
5190
 
  void *argp1 = 0 ;
5191
 
  int res1 = 0 ;
5192
 
  PyObject *swig_obj[1] ;
5193
 
  
5194
 
  if (!args) SWIG_fail;
5195
 
  swig_obj[0] = args;
5196
 
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextAttr, 0 |  0 );
5197
 
  if (!SWIG_IsOK(res1)) {
5198
 
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextAttr_HasTextColour" "', expected argument " "1"" of type '" "wxRichTextAttr const *""'"); 
5199
 
  }
5200
 
  arg1 = reinterpret_cast< wxRichTextAttr * >(argp1);
5201
 
  {
5202
 
    PyThreadState* __tstate = wxPyBeginAllowThreads();
5203
 
    result = (bool)((wxRichTextAttr const *)arg1)->HasTextColour();
5204
 
    wxPyEndAllowThreads(__tstate);
5205
 
    if (PyErr_Occurred()) SWIG_fail;
5206
 
  }
5207
 
  {
5208
 
    resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5209
 
  }
5210
 
  return resultobj;
5211
 
fail:
5212
 
  return NULL;
5213
 
}
5214
 
 
5215
 
 
5216
 
SWIGINTERN PyObject *_wrap_RichTextAttr_HasBackgroundColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5217
 
  PyObject *resultobj = 0;
5218
 
  wxRichTextAttr *arg1 = (wxRichTextAttr *) 0 ;
5219
 
  bool result;
5220
 
  void *argp1 = 0 ;
5221
 
  int res1 = 0 ;
5222
 
  PyObject *swig_obj[1] ;
5223
 
  
5224
 
  if (!args) SWIG_fail;
5225
 
  swig_obj[0] = args;
5226
 
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextAttr, 0 |  0 );
5227
 
  if (!SWIG_IsOK(res1)) {
5228
 
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextAttr_HasBackgroundColour" "', expected argument " "1"" of type '" "wxRichTextAttr const *""'"); 
5229
 
  }
5230
 
  arg1 = reinterpret_cast< wxRichTextAttr * >(argp1);
5231
 
  {
5232
 
    PyThreadState* __tstate = wxPyBeginAllowThreads();
5233
 
    result = (bool)((wxRichTextAttr const *)arg1)->HasBackgroundColour();
5234
 
    wxPyEndAllowThreads(__tstate);
5235
 
    if (PyErr_Occurred()) SWIG_fail;
5236
 
  }
5237
 
  {
5238
 
    resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5239
 
  }
5240
 
  return resultobj;
5241
 
fail:
5242
 
  return NULL;
5243
 
}
5244
 
 
5245
 
 
5246
 
SWIGINTERN PyObject *_wrap_RichTextAttr_HasAlignment(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5247
 
  PyObject *resultobj = 0;
5248
 
  wxRichTextAttr *arg1 = (wxRichTextAttr *) 0 ;
5249
 
  bool result;
5250
 
  void *argp1 = 0 ;
5251
 
  int res1 = 0 ;
5252
 
  PyObject *swig_obj[1] ;
5253
 
  
5254
 
  if (!args) SWIG_fail;
5255
 
  swig_obj[0] = args;
5256
 
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextAttr, 0 |  0 );
5257
 
  if (!SWIG_IsOK(res1)) {
5258
 
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextAttr_HasAlignment" "', expected argument " "1"" of type '" "wxRichTextAttr const *""'"); 
5259
 
  }
5260
 
  arg1 = reinterpret_cast< wxRichTextAttr * >(argp1);
5261
 
  {
5262
 
    PyThreadState* __tstate = wxPyBeginAllowThreads();
5263
 
    result = (bool)((wxRichTextAttr const *)arg1)->HasAlignment();
5264
 
    wxPyEndAllowThreads(__tstate);
5265
 
    if (PyErr_Occurred()) SWIG_fail;
5266
 
  }
5267
 
  {
5268
 
    resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5269
 
  }
5270
 
  return resultobj;
5271
 
fail:
5272
 
  return NULL;
5273
 
}
5274
 
 
5275
 
 
5276
 
SWIGINTERN PyObject *_wrap_RichTextAttr_HasTabs(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5277
 
  PyObject *resultobj = 0;
5278
 
  wxRichTextAttr *arg1 = (wxRichTextAttr *) 0 ;
5279
 
  bool result;
5280
 
  void *argp1 = 0 ;
5281
 
  int res1 = 0 ;
5282
 
  PyObject *swig_obj[1] ;
5283
 
  
5284
 
  if (!args) SWIG_fail;
5285
 
  swig_obj[0] = args;
5286
 
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextAttr, 0 |  0 );
5287
 
  if (!SWIG_IsOK(res1)) {
5288
 
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextAttr_HasTabs" "', expected argument " "1"" of type '" "wxRichTextAttr const *""'"); 
5289
 
  }
5290
 
  arg1 = reinterpret_cast< wxRichTextAttr * >(argp1);
5291
 
  {
5292
 
    PyThreadState* __tstate = wxPyBeginAllowThreads();
5293
 
    result = (bool)((wxRichTextAttr const *)arg1)->HasTabs();
5294
 
    wxPyEndAllowThreads(__tstate);
5295
 
    if (PyErr_Occurred()) SWIG_fail;
5296
 
  }
5297
 
  {
5298
 
    resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5299
 
  }
5300
 
  return resultobj;
5301
 
fail:
5302
 
  return NULL;
5303
 
}
5304
 
 
5305
 
 
5306
 
SWIGINTERN PyObject *_wrap_RichTextAttr_HasLeftIndent(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5307
 
  PyObject *resultobj = 0;
5308
 
  wxRichTextAttr *arg1 = (wxRichTextAttr *) 0 ;
5309
 
  bool result;
5310
 
  void *argp1 = 0 ;
5311
 
  int res1 = 0 ;
5312
 
  PyObject *swig_obj[1] ;
5313
 
  
5314
 
  if (!args) SWIG_fail;
5315
 
  swig_obj[0] = args;
5316
 
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextAttr, 0 |  0 );
5317
 
  if (!SWIG_IsOK(res1)) {
5318
 
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextAttr_HasLeftIndent" "', expected argument " "1"" of type '" "wxRichTextAttr const *""'"); 
5319
 
  }
5320
 
  arg1 = reinterpret_cast< wxRichTextAttr * >(argp1);
5321
 
  {
5322
 
    PyThreadState* __tstate = wxPyBeginAllowThreads();
5323
 
    result = (bool)((wxRichTextAttr const *)arg1)->HasLeftIndent();
5324
 
    wxPyEndAllowThreads(__tstate);
5325
 
    if (PyErr_Occurred()) SWIG_fail;
5326
 
  }
5327
 
  {
5328
 
    resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5329
 
  }
5330
 
  return resultobj;
5331
 
fail:
5332
 
  return NULL;
5333
 
}
5334
 
 
5335
 
 
5336
 
SWIGINTERN PyObject *_wrap_RichTextAttr_HasRightIndent(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5337
 
  PyObject *resultobj = 0;
5338
 
  wxRichTextAttr *arg1 = (wxRichTextAttr *) 0 ;
5339
 
  bool result;
5340
 
  void *argp1 = 0 ;
5341
 
  int res1 = 0 ;
5342
 
  PyObject *swig_obj[1] ;
5343
 
  
5344
 
  if (!args) SWIG_fail;
5345
 
  swig_obj[0] = args;
5346
 
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextAttr, 0 |  0 );
5347
 
  if (!SWIG_IsOK(res1)) {
5348
 
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextAttr_HasRightIndent" "', expected argument " "1"" of type '" "wxRichTextAttr const *""'"); 
5349
 
  }
5350
 
  arg1 = reinterpret_cast< wxRichTextAttr * >(argp1);
5351
 
  {
5352
 
    PyThreadState* __tstate = wxPyBeginAllowThreads();
5353
 
    result = (bool)((wxRichTextAttr const *)arg1)->HasRightIndent();
5354
 
    wxPyEndAllowThreads(__tstate);
5355
 
    if (PyErr_Occurred()) SWIG_fail;
5356
 
  }
5357
 
  {
5358
 
    resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5359
 
  }
5360
 
  return resultobj;
5361
 
fail:
5362
 
  return NULL;
5363
 
}
5364
 
 
5365
 
 
5366
 
SWIGINTERN PyObject *_wrap_RichTextAttr_HasFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5367
 
  PyObject *resultobj = 0;
5368
 
  wxRichTextAttr *arg1 = (wxRichTextAttr *) 0 ;
5369
 
  bool result;
5370
 
  void *argp1 = 0 ;
5371
 
  int res1 = 0 ;
5372
 
  PyObject *swig_obj[1] ;
5373
 
  
5374
 
  if (!args) SWIG_fail;
5375
 
  swig_obj[0] = args;
5376
 
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextAttr, 0 |  0 );
5377
 
  if (!SWIG_IsOK(res1)) {
5378
 
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextAttr_HasFont" "', expected argument " "1"" of type '" "wxRichTextAttr const *""'"); 
5379
 
  }
5380
 
  arg1 = reinterpret_cast< wxRichTextAttr * >(argp1);
5381
 
  {
5382
 
    PyThreadState* __tstate = wxPyBeginAllowThreads();
5383
 
    result = (bool)((wxRichTextAttr const *)arg1)->HasFont();
5384
 
    wxPyEndAllowThreads(__tstate);
5385
 
    if (PyErr_Occurred()) SWIG_fail;
5386
 
  }
5387
 
  {
5388
 
    resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5389
 
  }
5390
 
  return resultobj;
5391
 
fail:
5392
 
  return NULL;
5393
 
}
5394
 
 
5395
 
 
5396
 
SWIGINTERN PyObject *_wrap_RichTextAttr_HasParagraphSpacingAfter(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5397
 
  PyObject *resultobj = 0;
5398
 
  wxRichTextAttr *arg1 = (wxRichTextAttr *) 0 ;
5399
 
  bool result;
5400
 
  void *argp1 = 0 ;
5401
 
  int res1 = 0 ;
5402
 
  PyObject *swig_obj[1] ;
5403
 
  
5404
 
  if (!args) SWIG_fail;
5405
 
  swig_obj[0] = args;
5406
 
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextAttr, 0 |  0 );
5407
 
  if (!SWIG_IsOK(res1)) {
5408
 
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextAttr_HasParagraphSpacingAfter" "', expected argument " "1"" of type '" "wxRichTextAttr const *""'"); 
5409
 
  }
5410
 
  arg1 = reinterpret_cast< wxRichTextAttr * >(argp1);
5411
 
  {
5412
 
    PyThreadState* __tstate = wxPyBeginAllowThreads();
5413
 
    result = (bool)((wxRichTextAttr const *)arg1)->HasParagraphSpacingAfter();
5414
 
    wxPyEndAllowThreads(__tstate);
5415
 
    if (PyErr_Occurred()) SWIG_fail;
5416
 
  }
5417
 
  {
5418
 
    resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5419
 
  }
5420
 
  return resultobj;
5421
 
fail:
5422
 
  return NULL;
5423
 
}
5424
 
 
5425
 
 
5426
 
SWIGINTERN PyObject *_wrap_RichTextAttr_HasParagraphSpacingBefore(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5427
 
  PyObject *resultobj = 0;
5428
 
  wxRichTextAttr *arg1 = (wxRichTextAttr *) 0 ;
5429
 
  bool result;
5430
 
  void *argp1 = 0 ;
5431
 
  int res1 = 0 ;
5432
 
  PyObject *swig_obj[1] ;
5433
 
  
5434
 
  if (!args) SWIG_fail;
5435
 
  swig_obj[0] = args;
5436
 
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextAttr, 0 |  0 );
5437
 
  if (!SWIG_IsOK(res1)) {
5438
 
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextAttr_HasParagraphSpacingBefore" "', expected argument " "1"" of type '" "wxRichTextAttr const *""'"); 
5439
 
  }
5440
 
  arg1 = reinterpret_cast< wxRichTextAttr * >(argp1);
5441
 
  {
5442
 
    PyThreadState* __tstate = wxPyBeginAllowThreads();
5443
 
    result = (bool)((wxRichTextAttr const *)arg1)->HasParagraphSpacingBefore();
5444
 
    wxPyEndAllowThreads(__tstate);
5445
 
    if (PyErr_Occurred()) SWIG_fail;
5446
 
  }
5447
 
  {
5448
 
    resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5449
 
  }
5450
 
  return resultobj;
5451
 
fail:
5452
 
  return NULL;
5453
 
}
5454
 
 
5455
 
 
5456
 
SWIGINTERN PyObject *_wrap_RichTextAttr_HasLineSpacing(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5457
 
  PyObject *resultobj = 0;
5458
 
  wxRichTextAttr *arg1 = (wxRichTextAttr *) 0 ;
5459
 
  bool result;
5460
 
  void *argp1 = 0 ;
5461
 
  int res1 = 0 ;
5462
 
  PyObject *swig_obj[1] ;
5463
 
  
5464
 
  if (!args) SWIG_fail;
5465
 
  swig_obj[0] = args;
5466
 
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextAttr, 0 |  0 );
5467
 
  if (!SWIG_IsOK(res1)) {
5468
 
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextAttr_HasLineSpacing" "', expected argument " "1"" of type '" "wxRichTextAttr const *""'"); 
5469
 
  }
5470
 
  arg1 = reinterpret_cast< wxRichTextAttr * >(argp1);
5471
 
  {
5472
 
    PyThreadState* __tstate = wxPyBeginAllowThreads();
5473
 
    result = (bool)((wxRichTextAttr const *)arg1)->HasLineSpacing();
5474
 
    wxPyEndAllowThreads(__tstate);
5475
 
    if (PyErr_Occurred()) SWIG_fail;
5476
 
  }
5477
 
  {
5478
 
    resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5479
 
  }
5480
 
  return resultobj;
5481
 
fail:
5482
 
  return NULL;
5483
 
}
5484
 
 
5485
 
 
5486
 
SWIGINTERN PyObject *_wrap_RichTextAttr_HasCharacterStyleName(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5487
 
  PyObject *resultobj = 0;
5488
 
  wxRichTextAttr *arg1 = (wxRichTextAttr *) 0 ;
5489
 
  bool result;
5490
 
  void *argp1 = 0 ;
5491
 
  int res1 = 0 ;
5492
 
  PyObject *swig_obj[1] ;
5493
 
  
5494
 
  if (!args) SWIG_fail;
5495
 
  swig_obj[0] = args;
5496
 
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextAttr, 0 |  0 );
5497
 
  if (!SWIG_IsOK(res1)) {
5498
 
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextAttr_HasCharacterStyleName" "', expected argument " "1"" of type '" "wxRichTextAttr const *""'"); 
5499
 
  }
5500
 
  arg1 = reinterpret_cast< wxRichTextAttr * >(argp1);
5501
 
  {
5502
 
    PyThreadState* __tstate = wxPyBeginAllowThreads();
5503
 
    result = (bool)((wxRichTextAttr const *)arg1)->HasCharacterStyleName();
5504
 
    wxPyEndAllowThreads(__tstate);
5505
 
    if (PyErr_Occurred()) SWIG_fail;
5506
 
  }
5507
 
  {
5508
 
    resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5509
 
  }
5510
 
  return resultobj;
5511
 
fail:
5512
 
  return NULL;
5513
 
}
5514
 
 
5515
 
 
5516
 
SWIGINTERN PyObject *_wrap_RichTextAttr_HasParagraphStyleName(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5517
 
  PyObject *resultobj = 0;
5518
 
  wxRichTextAttr *arg1 = (wxRichTextAttr *) 0 ;
5519
 
  bool result;
5520
 
  void *argp1 = 0 ;
5521
 
  int res1 = 0 ;
5522
 
  PyObject *swig_obj[1] ;
5523
 
  
5524
 
  if (!args) SWIG_fail;
5525
 
  swig_obj[0] = args;
5526
 
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextAttr, 0 |  0 );
5527
 
  if (!SWIG_IsOK(res1)) {
5528
 
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextAttr_HasParagraphStyleName" "', expected argument " "1"" of type '" "wxRichTextAttr const *""'"); 
5529
 
  }
5530
 
  arg1 = reinterpret_cast< wxRichTextAttr * >(argp1);
5531
 
  {
5532
 
    PyThreadState* __tstate = wxPyBeginAllowThreads();
5533
 
    result = (bool)((wxRichTextAttr const *)arg1)->HasParagraphStyleName();
5534
 
    wxPyEndAllowThreads(__tstate);
5535
 
    if (PyErr_Occurred()) SWIG_fail;
5536
 
  }
5537
 
  {
5538
 
    resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5539
 
  }
5540
 
  return resultobj;
5541
 
fail:
5542
 
  return NULL;
5543
 
}
5544
 
 
5545
 
 
5546
 
SWIGINTERN PyObject *_wrap_RichTextAttr_HasBulletStyle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5547
 
  PyObject *resultobj = 0;
5548
 
  wxRichTextAttr *arg1 = (wxRichTextAttr *) 0 ;
5549
 
  bool result;
5550
 
  void *argp1 = 0 ;
5551
 
  int res1 = 0 ;
5552
 
  PyObject *swig_obj[1] ;
5553
 
  
5554
 
  if (!args) SWIG_fail;
5555
 
  swig_obj[0] = args;
5556
 
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextAttr, 0 |  0 );
5557
 
  if (!SWIG_IsOK(res1)) {
5558
 
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextAttr_HasBulletStyle" "', expected argument " "1"" of type '" "wxRichTextAttr const *""'"); 
5559
 
  }
5560
 
  arg1 = reinterpret_cast< wxRichTextAttr * >(argp1);
5561
 
  {
5562
 
    PyThreadState* __tstate = wxPyBeginAllowThreads();
5563
 
    result = (bool)((wxRichTextAttr const *)arg1)->HasBulletStyle();
5564
 
    wxPyEndAllowThreads(__tstate);
5565
 
    if (PyErr_Occurred()) SWIG_fail;
5566
 
  }
5567
 
  {
5568
 
    resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5569
 
  }
5570
 
  return resultobj;
5571
 
fail:
5572
 
  return NULL;
5573
 
}
5574
 
 
5575
 
 
5576
 
SWIGINTERN PyObject *_wrap_RichTextAttr_HasBulletNumber(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5577
 
  PyObject *resultobj = 0;
5578
 
  wxRichTextAttr *arg1 = (wxRichTextAttr *) 0 ;
5579
 
  bool result;
5580
 
  void *argp1 = 0 ;
5581
 
  int res1 = 0 ;
5582
 
  PyObject *swig_obj[1] ;
5583
 
  
5584
 
  if (!args) SWIG_fail;
5585
 
  swig_obj[0] = args;
5586
 
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextAttr, 0 |  0 );
5587
 
  if (!SWIG_IsOK(res1)) {
5588
 
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextAttr_HasBulletNumber" "', expected argument " "1"" of type '" "wxRichTextAttr const *""'"); 
5589
 
  }
5590
 
  arg1 = reinterpret_cast< wxRichTextAttr * >(argp1);
5591
 
  {
5592
 
    PyThreadState* __tstate = wxPyBeginAllowThreads();
5593
 
    result = (bool)((wxRichTextAttr const *)arg1)->HasBulletNumber();
5594
 
    wxPyEndAllowThreads(__tstate);
5595
 
    if (PyErr_Occurred()) SWIG_fail;
5596
 
  }
5597
 
  {
5598
 
    resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5599
 
  }
5600
 
  return resultobj;
5601
 
fail:
5602
 
  return NULL;
5603
 
}
5604
 
 
5605
 
 
5606
 
SWIGINTERN PyObject *_wrap_RichTextAttr_HasBulletText(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5607
 
  PyObject *resultobj = 0;
5608
 
  wxRichTextAttr *arg1 = (wxRichTextAttr *) 0 ;
5609
 
  bool result;
5610
 
  void *argp1 = 0 ;
5611
 
  int res1 = 0 ;
5612
 
  PyObject *swig_obj[1] ;
5613
 
  
5614
 
  if (!args) SWIG_fail;
5615
 
  swig_obj[0] = args;
5616
 
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextAttr, 0 |  0 );
5617
 
  if (!SWIG_IsOK(res1)) {
5618
 
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextAttr_HasBulletText" "', expected argument " "1"" of type '" "wxRichTextAttr const *""'"); 
5619
 
  }
5620
 
  arg1 = reinterpret_cast< wxRichTextAttr * >(argp1);
5621
 
  {
5622
 
    PyThreadState* __tstate = wxPyBeginAllowThreads();
5623
 
    result = (bool)((wxRichTextAttr const *)arg1)->HasBulletText();
5624
 
    wxPyEndAllowThreads(__tstate);
5625
 
    if (PyErr_Occurred()) SWIG_fail;
5626
 
  }
5627
 
  {
5628
 
    resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5629
 
  }
5630
 
  return resultobj;
5631
 
fail:
5632
 
  return NULL;
5633
 
}
5634
 
 
5635
 
 
5636
 
SWIGINTERN PyObject *_wrap_RichTextAttr_HasFlag(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5637
 
  PyObject *resultobj = 0;
5638
 
  wxRichTextAttr *arg1 = (wxRichTextAttr *) 0 ;
5639
 
  long arg2 ;
5640
 
  bool result;
5641
 
  void *argp1 = 0 ;
5642
 
  int res1 = 0 ;
5643
 
  long val2 ;
5644
 
  int ecode2 = 0 ;
5645
 
  PyObject * obj0 = 0 ;
5646
 
  PyObject * obj1 = 0 ;
5647
 
  char *  kwnames[] = {
5648
 
    (char *) "self",(char *) "flag", NULL 
5649
 
  };
5650
 
  
5651
 
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RichTextAttr_HasFlag",kwnames,&obj0,&obj1)) SWIG_fail;
5652
 
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextAttr, 0 |  0 );
5653
 
  if (!SWIG_IsOK(res1)) {
5654
 
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextAttr_HasFlag" "', expected argument " "1"" of type '" "wxRichTextAttr const *""'"); 
5655
 
  }
5656
 
  arg1 = reinterpret_cast< wxRichTextAttr * >(argp1);
5657
 
  ecode2 = SWIG_AsVal_long(obj1, &val2);
5658
 
  if (!SWIG_IsOK(ecode2)) {
5659
 
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RichTextAttr_HasFlag" "', expected argument " "2"" of type '" "long""'");
5660
 
  } 
5661
 
  arg2 = static_cast< long >(val2);
5662
 
  {
5663
 
    PyThreadState* __tstate = wxPyBeginAllowThreads();
5664
 
    result = (bool)((wxRichTextAttr const *)arg1)->HasFlag(arg2);
5665
 
    wxPyEndAllowThreads(__tstate);
5666
 
    if (PyErr_Occurred()) SWIG_fail;
5667
 
  }
5668
 
  {
5669
 
    resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5670
 
  }
5671
 
  return resultobj;
5672
 
fail:
5673
 
  return NULL;
5674
 
}
5675
 
 
5676
 
 
5677
 
SWIGINTERN PyObject *_wrap_RichTextAttr_IsCharacterStyle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5678
 
  PyObject *resultobj = 0;
5679
 
  wxRichTextAttr *arg1 = (wxRichTextAttr *) 0 ;
5680
 
  bool result;
5681
 
  void *argp1 = 0 ;
5682
 
  int res1 = 0 ;
5683
 
  PyObject *swig_obj[1] ;
5684
 
  
5685
 
  if (!args) SWIG_fail;
5686
 
  swig_obj[0] = args;
5687
 
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextAttr, 0 |  0 );
5688
 
  if (!SWIG_IsOK(res1)) {
5689
 
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextAttr_IsCharacterStyle" "', expected argument " "1"" of type '" "wxRichTextAttr const *""'"); 
5690
 
  }
5691
 
  arg1 = reinterpret_cast< wxRichTextAttr * >(argp1);
5692
 
  {
5693
 
    PyThreadState* __tstate = wxPyBeginAllowThreads();
5694
 
    result = (bool)((wxRichTextAttr const *)arg1)->IsCharacterStyle();
5695
 
    wxPyEndAllowThreads(__tstate);
5696
 
    if (PyErr_Occurred()) SWIG_fail;
5697
 
  }
5698
 
  {
5699
 
    resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5700
 
  }
5701
 
  return resultobj;
5702
 
fail:
5703
 
  return NULL;
5704
 
}
5705
 
 
5706
 
 
5707
 
SWIGINTERN PyObject *_wrap_RichTextAttr_IsParagraphStyle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5708
 
  PyObject *resultobj = 0;
5709
 
  wxRichTextAttr *arg1 = (wxRichTextAttr *) 0 ;
5710
 
  bool result;
5711
 
  void *argp1 = 0 ;
5712
 
  int res1 = 0 ;
5713
 
  PyObject *swig_obj[1] ;
5714
 
  
5715
 
  if (!args) SWIG_fail;
5716
 
  swig_obj[0] = args;
5717
 
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextAttr, 0 |  0 );
5718
 
  if (!SWIG_IsOK(res1)) {
5719
 
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextAttr_IsParagraphStyle" "', expected argument " "1"" of type '" "wxRichTextAttr const *""'"); 
5720
 
  }
5721
 
  arg1 = reinterpret_cast< wxRichTextAttr * >(argp1);
5722
 
  {
5723
 
    PyThreadState* __tstate = wxPyBeginAllowThreads();
5724
 
    result = (bool)((wxRichTextAttr const *)arg1)->IsParagraphStyle();
5725
 
    wxPyEndAllowThreads(__tstate);
5726
 
    if (PyErr_Occurred()) SWIG_fail;
5727
 
  }
5728
 
  {
5729
 
    resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5730
 
  }
5731
 
  return resultobj;
5732
 
fail:
5733
 
  return NULL;
5734
 
}
5735
 
 
5736
 
 
5737
 
SWIGINTERN PyObject *_wrap_RichTextAttr_IsDefault(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5738
 
  PyObject *resultobj = 0;
5739
 
  wxRichTextAttr *arg1 = (wxRichTextAttr *) 0 ;
5740
 
  bool result;
5741
 
  void *argp1 = 0 ;
5742
 
  int res1 = 0 ;
5743
 
  PyObject *swig_obj[1] ;
5744
 
  
5745
 
  if (!args) SWIG_fail;
5746
 
  swig_obj[0] = args;
5747
 
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextAttr, 0 |  0 );
5748
 
  if (!SWIG_IsOK(res1)) {
5749
 
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextAttr_IsDefault" "', expected argument " "1"" of type '" "wxRichTextAttr const *""'"); 
5750
 
  }
5751
 
  arg1 = reinterpret_cast< wxRichTextAttr * >(argp1);
5752
 
  {
5753
 
    PyThreadState* __tstate = wxPyBeginAllowThreads();
5754
 
    result = (bool)((wxRichTextAttr const *)arg1)->IsDefault();
5755
 
    wxPyEndAllowThreads(__tstate);
5756
 
    if (PyErr_Occurred()) SWIG_fail;
5757
 
  }
5758
 
  {
5759
 
    resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5760
 
  }
5761
 
  return resultobj;
5762
 
fail:
5763
 
  return NULL;
5764
 
}
5765
 
 
5766
 
 
5767
 
SWIGINTERN PyObject *RichTextAttr_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5768
 
  PyObject *obj;
5769
 
  if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
5770
 
  SWIG_TypeNewClientData(SWIGTYPE_p_wxRichTextAttr, SWIG_NewClientData(obj));
5771
 
  return SWIG_Py_Void();
5772
 
}
5773
 
 
5774
 
SWIGINTERN PyObject *RichTextAttr_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5775
 
  return SWIG_Python_InitShadowInstance(args);
5776
 
}
 
12950
SWIGINTERN PyObject *RichTextParagraph_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
12951
  PyObject *obj;
 
12952
  if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
 
12953
  SWIG_TypeNewClientData(SWIGTYPE_p_wxRichTextParagraph, SWIG_NewClientData(obj));
 
12954
  return SWIG_Py_Void();
 
12955
}
 
12956
 
 
12957
SWIGINTERN PyObject *RichTextParagraph_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
12958
  return SWIG_Python_InitShadowInstance(args);
 
12959
}
 
12960
 
 
12961
SWIGINTERN PyObject *_wrap_new_RichTextPlainText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
12962
  PyObject *resultobj = 0;
 
12963
  wxString const &arg1_defvalue = wxEmptyString ;
 
12964
  wxString *arg1 = (wxString *) &arg1_defvalue ;
 
12965
  wxRichTextObject *arg2 = (wxRichTextObject *) NULL ;
 
12966
  wxTextAttrEx *arg3 = (wxTextAttrEx *) NULL ;
 
12967
  wxRichTextPlainText *result = 0 ;
 
12968
  bool temp1 = false ;
 
12969
  void *argp2 = 0 ;
 
12970
  int res2 = 0 ;
 
12971
  void *argp3 = 0 ;
 
12972
  int res3 = 0 ;
 
12973
  PyObject * obj0 = 0 ;
 
12974
  PyObject * obj1 = 0 ;
 
12975
  PyObject * obj2 = 0 ;
 
12976
  char *  kwnames[] = {
 
12977
    (char *) "text",(char *) "parent",(char *) "style", NULL 
 
12978
  };
 
12979
  
 
12980
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOO:new_RichTextPlainText",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
 
12981
  if (obj0) {
 
12982
    {
 
12983
      arg1 = wxString_in_helper(obj0);
 
12984
      if (arg1 == NULL) SWIG_fail;
 
12985
      temp1 = true;
 
12986
    }
 
12987
  }
 
12988
  if (obj1) {
 
12989
    res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxRichTextObject, 0 |  0 );
 
12990
    if (!SWIG_IsOK(res2)) {
 
12991
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_RichTextPlainText" "', expected argument " "2"" of type '" "wxRichTextObject *""'"); 
 
12992
    }
 
12993
    arg2 = reinterpret_cast< wxRichTextObject * >(argp2);
 
12994
  }
 
12995
  if (obj2) {
 
12996
    res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxTextAttrEx, 0 |  0 );
 
12997
    if (!SWIG_IsOK(res3)) {
 
12998
      SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_RichTextPlainText" "', expected argument " "3"" of type '" "wxTextAttrEx *""'"); 
 
12999
    }
 
13000
    arg3 = reinterpret_cast< wxTextAttrEx * >(argp3);
 
13001
  }
 
13002
  {
 
13003
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
13004
    result = (wxRichTextPlainText *)new wxRichTextPlainText((wxString const &)*arg1,arg2,arg3);
 
13005
    wxPyEndAllowThreads(__tstate);
 
13006
    if (PyErr_Occurred()) SWIG_fail;
 
13007
  }
 
13008
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxRichTextPlainText, SWIG_POINTER_NEW |  0 );
 
13009
  {
 
13010
    if (temp1)
 
13011
    delete arg1;
 
13012
  }
 
13013
  return resultobj;
 
13014
fail:
 
13015
  {
 
13016
    if (temp1)
 
13017
    delete arg1;
 
13018
  }
 
13019
  return NULL;
 
13020
}
 
13021
 
 
13022
 
 
13023
SWIGINTERN PyObject *_wrap_RichTextPlainText_GetFirstLineBreakPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
13024
  PyObject *resultobj = 0;
 
13025
  wxRichTextPlainText *arg1 = (wxRichTextPlainText *) 0 ;
 
13026
  long arg2 ;
 
13027
  long result;
 
13028
  void *argp1 = 0 ;
 
13029
  int res1 = 0 ;
 
13030
  long val2 ;
 
13031
  int ecode2 = 0 ;
 
13032
  PyObject * obj0 = 0 ;
 
13033
  PyObject * obj1 = 0 ;
 
13034
  char *  kwnames[] = {
 
13035
    (char *) "self",(char *) "pos", NULL 
 
13036
  };
 
13037
  
 
13038
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RichTextPlainText_GetFirstLineBreakPosition",kwnames,&obj0,&obj1)) SWIG_fail;
 
13039
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextPlainText, 0 |  0 );
 
13040
  if (!SWIG_IsOK(res1)) {
 
13041
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextPlainText_GetFirstLineBreakPosition" "', expected argument " "1"" of type '" "wxRichTextPlainText *""'"); 
 
13042
  }
 
13043
  arg1 = reinterpret_cast< wxRichTextPlainText * >(argp1);
 
13044
  ecode2 = SWIG_AsVal_long(obj1, &val2);
 
13045
  if (!SWIG_IsOK(ecode2)) {
 
13046
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RichTextPlainText_GetFirstLineBreakPosition" "', expected argument " "2"" of type '" "long""'");
 
13047
  } 
 
13048
  arg2 = static_cast< long >(val2);
 
13049
  {
 
13050
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
13051
    result = (long)(arg1)->GetFirstLineBreakPosition(arg2);
 
13052
    wxPyEndAllowThreads(__tstate);
 
13053
    if (PyErr_Occurred()) SWIG_fail;
 
13054
  }
 
13055
  resultobj = SWIG_From_long(static_cast< long >(result));
 
13056
  return resultobj;
 
13057
fail:
 
13058
  return NULL;
 
13059
}
 
13060
 
 
13061
 
 
13062
SWIGINTERN PyObject *_wrap_RichTextPlainText_GetText(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
13063
  PyObject *resultobj = 0;
 
13064
  wxRichTextPlainText *arg1 = (wxRichTextPlainText *) 0 ;
 
13065
  wxString *result = 0 ;
 
13066
  void *argp1 = 0 ;
 
13067
  int res1 = 0 ;
 
13068
  PyObject *swig_obj[1] ;
 
13069
  
 
13070
  if (!args) SWIG_fail;
 
13071
  swig_obj[0] = args;
 
13072
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextPlainText, 0 |  0 );
 
13073
  if (!SWIG_IsOK(res1)) {
 
13074
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextPlainText_GetText" "', expected argument " "1"" of type '" "wxRichTextPlainText const *""'"); 
 
13075
  }
 
13076
  arg1 = reinterpret_cast< wxRichTextPlainText * >(argp1);
 
13077
  {
 
13078
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
13079
    {
 
13080
      wxString const &_result_ref = ((wxRichTextPlainText const *)arg1)->GetText();
 
13081
      result = (wxString *) &_result_ref;
 
13082
    }
 
13083
    wxPyEndAllowThreads(__tstate);
 
13084
    if (PyErr_Occurred()) SWIG_fail;
 
13085
  }
 
13086
  {
 
13087
#if wxUSE_UNICODE
 
13088
    resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
 
13089
#else
 
13090
    resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
 
13091
#endif
 
13092
  }
 
13093
  return resultobj;
 
13094
fail:
 
13095
  return NULL;
 
13096
}
 
13097
 
 
13098
 
 
13099
SWIGINTERN PyObject *_wrap_RichTextPlainText_SetText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
13100
  PyObject *resultobj = 0;
 
13101
  wxRichTextPlainText *arg1 = (wxRichTextPlainText *) 0 ;
 
13102
  wxString *arg2 = 0 ;
 
13103
  void *argp1 = 0 ;
 
13104
  int res1 = 0 ;
 
13105
  bool temp2 = false ;
 
13106
  PyObject * obj0 = 0 ;
 
13107
  PyObject * obj1 = 0 ;
 
13108
  char *  kwnames[] = {
 
13109
    (char *) "self",(char *) "text", NULL 
 
13110
  };
 
13111
  
 
13112
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RichTextPlainText_SetText",kwnames,&obj0,&obj1)) SWIG_fail;
 
13113
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextPlainText, 0 |  0 );
 
13114
  if (!SWIG_IsOK(res1)) {
 
13115
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextPlainText_SetText" "', expected argument " "1"" of type '" "wxRichTextPlainText *""'"); 
 
13116
  }
 
13117
  arg1 = reinterpret_cast< wxRichTextPlainText * >(argp1);
 
13118
  {
 
13119
    arg2 = wxString_in_helper(obj1);
 
13120
    if (arg2 == NULL) SWIG_fail;
 
13121
    temp2 = true;
 
13122
  }
 
13123
  {
 
13124
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
13125
    (arg1)->SetText((wxString const &)*arg2);
 
13126
    wxPyEndAllowThreads(__tstate);
 
13127
    if (PyErr_Occurred()) SWIG_fail;
 
13128
  }
 
13129
  resultobj = SWIG_Py_Void();
 
13130
  {
 
13131
    if (temp2)
 
13132
    delete arg2;
 
13133
  }
 
13134
  return resultobj;
 
13135
fail:
 
13136
  {
 
13137
    if (temp2)
 
13138
    delete arg2;
 
13139
  }
 
13140
  return NULL;
 
13141
}
 
13142
 
 
13143
 
 
13144
SWIGINTERN PyObject *_wrap_RichTextPlainText_Copy(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
13145
  PyObject *resultobj = 0;
 
13146
  wxRichTextPlainText *arg1 = (wxRichTextPlainText *) 0 ;
 
13147
  wxRichTextPlainText *arg2 = 0 ;
 
13148
  void *argp1 = 0 ;
 
13149
  int res1 = 0 ;
 
13150
  void *argp2 = 0 ;
 
13151
  int res2 = 0 ;
 
13152
  PyObject * obj0 = 0 ;
 
13153
  PyObject * obj1 = 0 ;
 
13154
  char *  kwnames[] = {
 
13155
    (char *) "self",(char *) "obj", NULL 
 
13156
  };
 
13157
  
 
13158
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RichTextPlainText_Copy",kwnames,&obj0,&obj1)) SWIG_fail;
 
13159
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextPlainText, 0 |  0 );
 
13160
  if (!SWIG_IsOK(res1)) {
 
13161
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextPlainText_Copy" "', expected argument " "1"" of type '" "wxRichTextPlainText *""'"); 
 
13162
  }
 
13163
  arg1 = reinterpret_cast< wxRichTextPlainText * >(argp1);
 
13164
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxRichTextPlainText,  0  | 0);
 
13165
  if (!SWIG_IsOK(res2)) {
 
13166
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "RichTextPlainText_Copy" "', expected argument " "2"" of type '" "wxRichTextPlainText const &""'"); 
 
13167
  }
 
13168
  if (!argp2) {
 
13169
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "RichTextPlainText_Copy" "', expected argument " "2"" of type '" "wxRichTextPlainText const &""'"); 
 
13170
  }
 
13171
  arg2 = reinterpret_cast< wxRichTextPlainText * >(argp2);
 
13172
  {
 
13173
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
13174
    (arg1)->Copy((wxRichTextPlainText const &)*arg2);
 
13175
    wxPyEndAllowThreads(__tstate);
 
13176
    if (PyErr_Occurred()) SWIG_fail;
 
13177
  }
 
13178
  resultobj = SWIG_Py_Void();
 
13179
  return resultobj;
 
13180
fail:
 
13181
  return NULL;
 
13182
}
 
13183
 
 
13184
 
 
13185
SWIGINTERN PyObject *RichTextPlainText_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
13186
  PyObject *obj;
 
13187
  if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
 
13188
  SWIG_TypeNewClientData(SWIGTYPE_p_wxRichTextPlainText, SWIG_NewClientData(obj));
 
13189
  return SWIG_Py_Void();
 
13190
}
 
13191
 
 
13192
SWIGINTERN PyObject *RichTextPlainText_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
13193
  return SWIG_Python_InitShadowInstance(args);
 
13194
}
 
13195
 
 
13196
SWIGINTERN PyObject *_wrap_new_RichTextImage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
13197
  PyObject *resultobj = 0;
 
13198
  wxRichTextObject *arg1 = (wxRichTextObject *) NULL ;
 
13199
  wxRichTextImage *result = 0 ;
 
13200
  void *argp1 = 0 ;
 
13201
  int res1 = 0 ;
 
13202
  PyObject * obj0 = 0 ;
 
13203
  char *  kwnames[] = {
 
13204
    (char *) "parent", NULL 
 
13205
  };
 
13206
  
 
13207
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_RichTextImage",kwnames,&obj0)) SWIG_fail;
 
13208
  if (obj0) {
 
13209
    res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextObject, 0 |  0 );
 
13210
    if (!SWIG_IsOK(res1)) {
 
13211
      SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_RichTextImage" "', expected argument " "1"" of type '" "wxRichTextObject *""'"); 
 
13212
    }
 
13213
    arg1 = reinterpret_cast< wxRichTextObject * >(argp1);
 
13214
  }
 
13215
  {
 
13216
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
13217
    result = (wxRichTextImage *)new wxRichTextImage(arg1);
 
13218
    wxPyEndAllowThreads(__tstate);
 
13219
    if (PyErr_Occurred()) SWIG_fail;
 
13220
  }
 
13221
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxRichTextImage, SWIG_POINTER_NEW |  0 );
 
13222
  return resultobj;
 
13223
fail:
 
13224
  return NULL;
 
13225
}
 
13226
 
 
13227
 
 
13228
SWIGINTERN PyObject *_wrap_RichTextImage_GetImage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
13229
  PyObject *resultobj = 0;
 
13230
  wxRichTextImage *arg1 = (wxRichTextImage *) 0 ;
 
13231
  wxImage *result = 0 ;
 
13232
  void *argp1 = 0 ;
 
13233
  int res1 = 0 ;
 
13234
  PyObject *swig_obj[1] ;
 
13235
  
 
13236
  if (!args) SWIG_fail;
 
13237
  swig_obj[0] = args;
 
13238
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextImage, 0 |  0 );
 
13239
  if (!SWIG_IsOK(res1)) {
 
13240
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextImage_GetImage" "', expected argument " "1"" of type '" "wxRichTextImage const *""'"); 
 
13241
  }
 
13242
  arg1 = reinterpret_cast< wxRichTextImage * >(argp1);
 
13243
  {
 
13244
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
13245
    {
 
13246
      wxImage const &_result_ref = ((wxRichTextImage const *)arg1)->GetImage();
 
13247
      result = (wxImage *) &_result_ref;
 
13248
    }
 
13249
    wxPyEndAllowThreads(__tstate);
 
13250
    if (PyErr_Occurred()) SWIG_fail;
 
13251
  }
 
13252
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxImage, 0 |  0 );
 
13253
  return resultobj;
 
13254
fail:
 
13255
  return NULL;
 
13256
}
 
13257
 
 
13258
 
 
13259
SWIGINTERN PyObject *_wrap_RichTextImage_SetImage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
13260
  PyObject *resultobj = 0;
 
13261
  wxRichTextImage *arg1 = (wxRichTextImage *) 0 ;
 
13262
  wxImage *arg2 = 0 ;
 
13263
  void *argp1 = 0 ;
 
13264
  int res1 = 0 ;
 
13265
  void *argp2 = 0 ;
 
13266
  int res2 = 0 ;
 
13267
  PyObject * obj0 = 0 ;
 
13268
  PyObject * obj1 = 0 ;
 
13269
  char *  kwnames[] = {
 
13270
    (char *) "self",(char *) "image", NULL 
 
13271
  };
 
13272
  
 
13273
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RichTextImage_SetImage",kwnames,&obj0,&obj1)) SWIG_fail;
 
13274
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextImage, 0 |  0 );
 
13275
  if (!SWIG_IsOK(res1)) {
 
13276
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextImage_SetImage" "', expected argument " "1"" of type '" "wxRichTextImage *""'"); 
 
13277
  }
 
13278
  arg1 = reinterpret_cast< wxRichTextImage * >(argp1);
 
13279
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxImage,  0  | 0);
 
13280
  if (!SWIG_IsOK(res2)) {
 
13281
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "RichTextImage_SetImage" "', expected argument " "2"" of type '" "wxImage const &""'"); 
 
13282
  }
 
13283
  if (!argp2) {
 
13284
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "RichTextImage_SetImage" "', expected argument " "2"" of type '" "wxImage const &""'"); 
 
13285
  }
 
13286
  arg2 = reinterpret_cast< wxImage * >(argp2);
 
13287
  {
 
13288
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
13289
    (arg1)->SetImage((wxImage const &)*arg2);
 
13290
    wxPyEndAllowThreads(__tstate);
 
13291
    if (PyErr_Occurred()) SWIG_fail;
 
13292
  }
 
13293
  resultobj = SWIG_Py_Void();
 
13294
  return resultobj;
 
13295
fail:
 
13296
  return NULL;
 
13297
}
 
13298
 
 
13299
 
 
13300
SWIGINTERN PyObject *_wrap_RichTextImage_GetImageBlock(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
13301
  PyObject *resultobj = 0;
 
13302
  wxRichTextImage *arg1 = (wxRichTextImage *) 0 ;
 
13303
  wxRichTextImageBlock *result = 0 ;
 
13304
  void *argp1 = 0 ;
 
13305
  int res1 = 0 ;
 
13306
  PyObject *swig_obj[1] ;
 
13307
  
 
13308
  if (!args) SWIG_fail;
 
13309
  swig_obj[0] = args;
 
13310
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextImage, 0 |  0 );
 
13311
  if (!SWIG_IsOK(res1)) {
 
13312
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextImage_GetImageBlock" "', expected argument " "1"" of type '" "wxRichTextImage *""'"); 
 
13313
  }
 
13314
  arg1 = reinterpret_cast< wxRichTextImage * >(argp1);
 
13315
  {
 
13316
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
13317
    {
 
13318
      wxRichTextImageBlock &_result_ref = (arg1)->GetImageBlock();
 
13319
      result = (wxRichTextImageBlock *) &_result_ref;
 
13320
    }
 
13321
    wxPyEndAllowThreads(__tstate);
 
13322
    if (PyErr_Occurred()) SWIG_fail;
 
13323
  }
 
13324
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxRichTextImageBlock, 0 |  0 );
 
13325
  return resultobj;
 
13326
fail:
 
13327
  return NULL;
 
13328
}
 
13329
 
 
13330
 
 
13331
SWIGINTERN PyObject *_wrap_RichTextImage_Copy(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
13332
  PyObject *resultobj = 0;
 
13333
  wxRichTextImage *arg1 = (wxRichTextImage *) 0 ;
 
13334
  wxRichTextImage *arg2 = 0 ;
 
13335
  void *argp1 = 0 ;
 
13336
  int res1 = 0 ;
 
13337
  void *argp2 = 0 ;
 
13338
  int res2 = 0 ;
 
13339
  PyObject * obj0 = 0 ;
 
13340
  PyObject * obj1 = 0 ;
 
13341
  char *  kwnames[] = {
 
13342
    (char *) "self",(char *) "obj", NULL 
 
13343
  };
 
13344
  
 
13345
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RichTextImage_Copy",kwnames,&obj0,&obj1)) SWIG_fail;
 
13346
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextImage, 0 |  0 );
 
13347
  if (!SWIG_IsOK(res1)) {
 
13348
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextImage_Copy" "', expected argument " "1"" of type '" "wxRichTextImage *""'"); 
 
13349
  }
 
13350
  arg1 = reinterpret_cast< wxRichTextImage * >(argp1);
 
13351
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxRichTextImage,  0  | 0);
 
13352
  if (!SWIG_IsOK(res2)) {
 
13353
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "RichTextImage_Copy" "', expected argument " "2"" of type '" "wxRichTextImage const &""'"); 
 
13354
  }
 
13355
  if (!argp2) {
 
13356
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "RichTextImage_Copy" "', expected argument " "2"" of type '" "wxRichTextImage const &""'"); 
 
13357
  }
 
13358
  arg2 = reinterpret_cast< wxRichTextImage * >(argp2);
 
13359
  {
 
13360
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
13361
    (arg1)->Copy((wxRichTextImage const &)*arg2);
 
13362
    wxPyEndAllowThreads(__tstate);
 
13363
    if (PyErr_Occurred()) SWIG_fail;
 
13364
  }
 
13365
  resultobj = SWIG_Py_Void();
 
13366
  return resultobj;
 
13367
fail:
 
13368
  return NULL;
 
13369
}
 
13370
 
 
13371
 
 
13372
SWIGINTERN PyObject *_wrap_RichTextImage_LoadFromBlock(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
13373
  PyObject *resultobj = 0;
 
13374
  wxRichTextImage *arg1 = (wxRichTextImage *) 0 ;
 
13375
  bool result;
 
13376
  void *argp1 = 0 ;
 
13377
  int res1 = 0 ;
 
13378
  PyObject *swig_obj[1] ;
 
13379
  
 
13380
  if (!args) SWIG_fail;
 
13381
  swig_obj[0] = args;
 
13382
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextImage, 0 |  0 );
 
13383
  if (!SWIG_IsOK(res1)) {
 
13384
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextImage_LoadFromBlock" "', expected argument " "1"" of type '" "wxRichTextImage *""'"); 
 
13385
  }
 
13386
  arg1 = reinterpret_cast< wxRichTextImage * >(argp1);
 
13387
  {
 
13388
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
13389
    result = (bool)(arg1)->LoadFromBlock();
 
13390
    wxPyEndAllowThreads(__tstate);
 
13391
    if (PyErr_Occurred()) SWIG_fail;
 
13392
  }
 
13393
  {
 
13394
    resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
 
13395
  }
 
13396
  return resultobj;
 
13397
fail:
 
13398
  return NULL;
 
13399
}
 
13400
 
 
13401
 
 
13402
SWIGINTERN PyObject *_wrap_RichTextImage_MakeBlock(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
13403
  PyObject *resultobj = 0;
 
13404
  wxRichTextImage *arg1 = (wxRichTextImage *) 0 ;
 
13405
  bool result;
 
13406
  void *argp1 = 0 ;
 
13407
  int res1 = 0 ;
 
13408
  PyObject *swig_obj[1] ;
 
13409
  
 
13410
  if (!args) SWIG_fail;
 
13411
  swig_obj[0] = args;
 
13412
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextImage, 0 |  0 );
 
13413
  if (!SWIG_IsOK(res1)) {
 
13414
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextImage_MakeBlock" "', expected argument " "1"" of type '" "wxRichTextImage *""'"); 
 
13415
  }
 
13416
  arg1 = reinterpret_cast< wxRichTextImage * >(argp1);
 
13417
  {
 
13418
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
13419
    result = (bool)(arg1)->MakeBlock();
 
13420
    wxPyEndAllowThreads(__tstate);
 
13421
    if (PyErr_Occurred()) SWIG_fail;
 
13422
  }
 
13423
  {
 
13424
    resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
 
13425
  }
 
13426
  return resultobj;
 
13427
fail:
 
13428
  return NULL;
 
13429
}
 
13430
 
 
13431
 
 
13432
SWIGINTERN PyObject *RichTextImage_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
13433
  PyObject *obj;
 
13434
  if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
 
13435
  SWIG_TypeNewClientData(SWIGTYPE_p_wxRichTextImage, SWIG_NewClientData(obj));
 
13436
  return SWIG_Py_Void();
 
13437
}
 
13438
 
 
13439
SWIGINTERN PyObject *RichTextImage_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
13440
  return SWIG_Python_InitShadowInstance(args);
 
13441
}
 
13442
 
 
13443
SWIGINTERN PyObject *_wrap_delete_RichTextFileHandlerList_iterator(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
13444
  PyObject *resultobj = 0;
 
13445
  wxRichTextFileHandlerList_iterator *arg1 = (wxRichTextFileHandlerList_iterator *) 0 ;
 
13446
  void *argp1 = 0 ;
 
13447
  int res1 = 0 ;
 
13448
  PyObject *swig_obj[1] ;
 
13449
  
 
13450
  if (!args) SWIG_fail;
 
13451
  swig_obj[0] = args;
 
13452
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextFileHandlerList_iterator, SWIG_POINTER_DISOWN |  0 );
 
13453
  if (!SWIG_IsOK(res1)) {
 
13454
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_RichTextFileHandlerList_iterator" "', expected argument " "1"" of type '" "wxRichTextFileHandlerList_iterator *""'"); 
 
13455
  }
 
13456
  arg1 = reinterpret_cast< wxRichTextFileHandlerList_iterator * >(argp1);
 
13457
  {
 
13458
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
13459
    delete arg1;
 
13460
    
 
13461
    wxPyEndAllowThreads(__tstate);
 
13462
    if (PyErr_Occurred()) SWIG_fail;
 
13463
  }
 
13464
  resultobj = SWIG_Py_Void();
 
13465
  return resultobj;
 
13466
fail:
 
13467
  return NULL;
 
13468
}
 
13469
 
 
13470
 
 
13471
SWIGINTERN PyObject *_wrap_RichTextFileHandlerList_iterator_next(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
13472
  PyObject *resultobj = 0;
 
13473
  wxRichTextFileHandlerList_iterator *arg1 = (wxRichTextFileHandlerList_iterator *) 0 ;
 
13474
  wxRichTextFileHandler *result = 0 ;
 
13475
  void *argp1 = 0 ;
 
13476
  int res1 = 0 ;
 
13477
  PyObject *swig_obj[1] ;
 
13478
  
 
13479
  if (!args) SWIG_fail;
 
13480
  swig_obj[0] = args;
 
13481
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextFileHandlerList_iterator, 0 |  0 );
 
13482
  if (!SWIG_IsOK(res1)) {
 
13483
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextFileHandlerList_iterator_next" "', expected argument " "1"" of type '" "wxRichTextFileHandlerList_iterator *""'"); 
 
13484
  }
 
13485
  arg1 = reinterpret_cast< wxRichTextFileHandlerList_iterator * >(argp1);
 
13486
  {
 
13487
    result = (wxRichTextFileHandler *)(arg1)->next();
 
13488
    if (PyErr_Occurred()) SWIG_fail;
 
13489
  }
 
13490
  {
 
13491
    resultobj = wxPyMake_wxObject(result, (bool)0); 
 
13492
  }
 
13493
  return resultobj;
 
13494
fail:
 
13495
  return NULL;
 
13496
}
 
13497
 
 
13498
 
 
13499
SWIGINTERN PyObject *RichTextFileHandlerList_iterator_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
13500
  PyObject *obj;
 
13501
  if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
 
13502
  SWIG_TypeNewClientData(SWIGTYPE_p_wxRichTextFileHandlerList_iterator, SWIG_NewClientData(obj));
 
13503
  return SWIG_Py_Void();
 
13504
}
 
13505
 
 
13506
SWIGINTERN PyObject *_wrap_delete_RichTextFileHandlerList(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
13507
  PyObject *resultobj = 0;
 
13508
  wxRichTextFileHandlerList *arg1 = (wxRichTextFileHandlerList *) 0 ;
 
13509
  void *argp1 = 0 ;
 
13510
  int res1 = 0 ;
 
13511
  PyObject *swig_obj[1] ;
 
13512
  
 
13513
  if (!args) SWIG_fail;
 
13514
  swig_obj[0] = args;
 
13515
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextFileHandlerList, SWIG_POINTER_DISOWN |  0 );
 
13516
  if (!SWIG_IsOK(res1)) {
 
13517
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_RichTextFileHandlerList" "', expected argument " "1"" of type '" "wxRichTextFileHandlerList *""'"); 
 
13518
  }
 
13519
  arg1 = reinterpret_cast< wxRichTextFileHandlerList * >(argp1);
 
13520
  {
 
13521
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
13522
    delete arg1;
 
13523
    
 
13524
    wxPyEndAllowThreads(__tstate);
 
13525
    if (PyErr_Occurred()) SWIG_fail;
 
13526
  }
 
13527
  resultobj = SWIG_Py_Void();
 
13528
  return resultobj;
 
13529
fail:
 
13530
  return NULL;
 
13531
}
 
13532
 
 
13533
 
 
13534
SWIGINTERN PyObject *_wrap_RichTextFileHandlerList___len__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
13535
  PyObject *resultobj = 0;
 
13536
  wxRichTextFileHandlerList *arg1 = (wxRichTextFileHandlerList *) 0 ;
 
13537
  size_t result;
 
13538
  void *argp1 = 0 ;
 
13539
  int res1 = 0 ;
 
13540
  PyObject *swig_obj[1] ;
 
13541
  
 
13542
  if (!args) SWIG_fail;
 
13543
  swig_obj[0] = args;
 
13544
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextFileHandlerList, 0 |  0 );
 
13545
  if (!SWIG_IsOK(res1)) {
 
13546
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextFileHandlerList___len__" "', expected argument " "1"" of type '" "wxRichTextFileHandlerList *""'"); 
 
13547
  }
 
13548
  arg1 = reinterpret_cast< wxRichTextFileHandlerList * >(argp1);
 
13549
  {
 
13550
    result = (size_t)wxRichTextFileHandlerList___len__(arg1);
 
13551
    if (PyErr_Occurred()) SWIG_fail;
 
13552
  }
 
13553
  resultobj = SWIG_From_size_t(static_cast< size_t >(result));
 
13554
  return resultobj;
 
13555
fail:
 
13556
  return NULL;
 
13557
}
 
13558
 
 
13559
 
 
13560
SWIGINTERN PyObject *_wrap_RichTextFileHandlerList___getitem__(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
13561
  PyObject *resultobj = 0;
 
13562
  wxRichTextFileHandlerList *arg1 = (wxRichTextFileHandlerList *) 0 ;
 
13563
  size_t arg2 ;
 
13564
  wxRichTextFileHandler *result = 0 ;
 
13565
  void *argp1 = 0 ;
 
13566
  int res1 = 0 ;
 
13567
  size_t val2 ;
 
13568
  int ecode2 = 0 ;
 
13569
  PyObject * obj0 = 0 ;
 
13570
  PyObject * obj1 = 0 ;
 
13571
  char *  kwnames[] = {
 
13572
    (char *) "self",(char *) "index", NULL 
 
13573
  };
 
13574
  
 
13575
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RichTextFileHandlerList___getitem__",kwnames,&obj0,&obj1)) SWIG_fail;
 
13576
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextFileHandlerList, 0 |  0 );
 
13577
  if (!SWIG_IsOK(res1)) {
 
13578
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextFileHandlerList___getitem__" "', expected argument " "1"" of type '" "wxRichTextFileHandlerList *""'"); 
 
13579
  }
 
13580
  arg1 = reinterpret_cast< wxRichTextFileHandlerList * >(argp1);
 
13581
  ecode2 = SWIG_AsVal_size_t(obj1, &val2);
 
13582
  if (!SWIG_IsOK(ecode2)) {
 
13583
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RichTextFileHandlerList___getitem__" "', expected argument " "2"" of type '" "size_t""'");
 
13584
  } 
 
13585
  arg2 = static_cast< size_t >(val2);
 
13586
  {
 
13587
    result = (wxRichTextFileHandler *)wxRichTextFileHandlerList___getitem__(arg1,arg2);
 
13588
    if (PyErr_Occurred()) SWIG_fail;
 
13589
  }
 
13590
  {
 
13591
    resultobj = wxPyMake_wxObject(result, (bool)0); 
 
13592
  }
 
13593
  return resultobj;
 
13594
fail:
 
13595
  return NULL;
 
13596
}
 
13597
 
 
13598
 
 
13599
SWIGINTERN PyObject *_wrap_RichTextFileHandlerList___contains__(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
13600
  PyObject *resultobj = 0;
 
13601
  wxRichTextFileHandlerList *arg1 = (wxRichTextFileHandlerList *) 0 ;
 
13602
  wxRichTextFileHandler *arg2 = (wxRichTextFileHandler *) 0 ;
 
13603
  bool result;
 
13604
  void *argp1 = 0 ;
 
13605
  int res1 = 0 ;
 
13606
  void *argp2 = 0 ;
 
13607
  int res2 = 0 ;
 
13608
  PyObject * obj0 = 0 ;
 
13609
  PyObject * obj1 = 0 ;
 
13610
  char *  kwnames[] = {
 
13611
    (char *) "self",(char *) "obj", NULL 
 
13612
  };
 
13613
  
 
13614
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RichTextFileHandlerList___contains__",kwnames,&obj0,&obj1)) SWIG_fail;
 
13615
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextFileHandlerList, 0 |  0 );
 
13616
  if (!SWIG_IsOK(res1)) {
 
13617
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextFileHandlerList___contains__" "', expected argument " "1"" of type '" "wxRichTextFileHandlerList *""'"); 
 
13618
  }
 
13619
  arg1 = reinterpret_cast< wxRichTextFileHandlerList * >(argp1);
 
13620
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxRichTextFileHandler, 0 |  0 );
 
13621
  if (!SWIG_IsOK(res2)) {
 
13622
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "RichTextFileHandlerList___contains__" "', expected argument " "2"" of type '" "wxRichTextFileHandler const *""'"); 
 
13623
  }
 
13624
  arg2 = reinterpret_cast< wxRichTextFileHandler * >(argp2);
 
13625
  {
 
13626
    result = (bool)wxRichTextFileHandlerList___contains__(arg1,(wxRichTextFileHandler const *)arg2);
 
13627
    if (PyErr_Occurred()) SWIG_fail;
 
13628
  }
 
13629
  {
 
13630
    resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
 
13631
  }
 
13632
  return resultobj;
 
13633
fail:
 
13634
  return NULL;
 
13635
}
 
13636
 
 
13637
 
 
13638
SWIGINTERN PyObject *_wrap_RichTextFileHandlerList___iter__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
13639
  PyObject *resultobj = 0;
 
13640
  wxRichTextFileHandlerList *arg1 = (wxRichTextFileHandlerList *) 0 ;
 
13641
  wxRichTextFileHandlerList_iterator *result = 0 ;
 
13642
  void *argp1 = 0 ;
 
13643
  int res1 = 0 ;
 
13644
  PyObject *swig_obj[1] ;
 
13645
  
 
13646
  if (!args) SWIG_fail;
 
13647
  swig_obj[0] = args;
 
13648
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextFileHandlerList, 0 |  0 );
 
13649
  if (!SWIG_IsOK(res1)) {
 
13650
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextFileHandlerList___iter__" "', expected argument " "1"" of type '" "wxRichTextFileHandlerList *""'"); 
 
13651
  }
 
13652
  arg1 = reinterpret_cast< wxRichTextFileHandlerList * >(argp1);
 
13653
  {
 
13654
    result = (wxRichTextFileHandlerList_iterator *)wxRichTextFileHandlerList___iter__(arg1);
 
13655
    if (PyErr_Occurred()) SWIG_fail;
 
13656
  }
 
13657
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxRichTextFileHandlerList_iterator, SWIG_POINTER_OWN |  0 );
 
13658
  return resultobj;
 
13659
fail:
 
13660
  return NULL;
 
13661
}
 
13662
 
 
13663
 
 
13664
SWIGINTERN PyObject *RichTextFileHandlerList_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
13665
  PyObject *obj;
 
13666
  if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
 
13667
  SWIG_TypeNewClientData(SWIGTYPE_p_wxRichTextFileHandlerList, SWIG_NewClientData(obj));
 
13668
  return SWIG_Py_Void();
 
13669
}
 
13670
 
 
13671
SWIGINTERN PyObject *_wrap_new_RichTextBuffer(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
13672
  PyObject *resultobj = 0;
 
13673
  wxRichTextBuffer *result = 0 ;
 
13674
  
 
13675
  if (!SWIG_Python_UnpackTuple(args,"new_RichTextBuffer",0,0,0)) SWIG_fail;
 
13676
  {
 
13677
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
13678
    result = (wxRichTextBuffer *)new wxRichTextBuffer();
 
13679
    wxPyEndAllowThreads(__tstate);
 
13680
    if (PyErr_Occurred()) SWIG_fail;
 
13681
  }
 
13682
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxRichTextBuffer, SWIG_POINTER_NEW |  0 );
 
13683
  return resultobj;
 
13684
fail:
 
13685
  return NULL;
 
13686
}
 
13687
 
 
13688
 
 
13689
SWIGINTERN PyObject *_wrap_delete_RichTextBuffer(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
13690
  PyObject *resultobj = 0;
 
13691
  wxRichTextBuffer *arg1 = (wxRichTextBuffer *) 0 ;
 
13692
  void *argp1 = 0 ;
 
13693
  int res1 = 0 ;
 
13694
  PyObject *swig_obj[1] ;
 
13695
  
 
13696
  if (!args) SWIG_fail;
 
13697
  swig_obj[0] = args;
 
13698
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextBuffer, SWIG_POINTER_DISOWN |  0 );
 
13699
  if (!SWIG_IsOK(res1)) {
 
13700
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_RichTextBuffer" "', expected argument " "1"" of type '" "wxRichTextBuffer *""'"); 
 
13701
  }
 
13702
  arg1 = reinterpret_cast< wxRichTextBuffer * >(argp1);
 
13703
  {
 
13704
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
13705
    delete arg1;
 
13706
    
 
13707
    wxPyEndAllowThreads(__tstate);
 
13708
    if (PyErr_Occurred()) SWIG_fail;
 
13709
  }
 
13710
  resultobj = SWIG_Py_Void();
 
13711
  return resultobj;
 
13712
fail:
 
13713
  return NULL;
 
13714
}
 
13715
 
 
13716
 
 
13717
SWIGINTERN PyObject *_wrap_RichTextBuffer_GetCommandProcessor(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
13718
  PyObject *resultobj = 0;
 
13719
  wxRichTextBuffer *arg1 = (wxRichTextBuffer *) 0 ;
 
13720
  wxCommandProcessor *result = 0 ;
 
13721
  void *argp1 = 0 ;
 
13722
  int res1 = 0 ;
 
13723
  PyObject *swig_obj[1] ;
 
13724
  
 
13725
  if (!args) SWIG_fail;
 
13726
  swig_obj[0] = args;
 
13727
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextBuffer, 0 |  0 );
 
13728
  if (!SWIG_IsOK(res1)) {
 
13729
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextBuffer_GetCommandProcessor" "', expected argument " "1"" of type '" "wxRichTextBuffer const *""'"); 
 
13730
  }
 
13731
  arg1 = reinterpret_cast< wxRichTextBuffer * >(argp1);
 
13732
  {
 
13733
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
13734
    result = (wxCommandProcessor *)((wxRichTextBuffer const *)arg1)->GetCommandProcessor();
 
13735
    wxPyEndAllowThreads(__tstate);
 
13736
    if (PyErr_Occurred()) SWIG_fail;
 
13737
  }
 
13738
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxCommandProcessor, 0 |  0 );
 
13739
  return resultobj;
 
13740
fail:
 
13741
  return NULL;
 
13742
}
 
13743
 
 
13744
 
 
13745
SWIGINTERN PyObject *_wrap_RichTextBuffer_SetStyleSheet(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
13746
  PyObject *resultobj = 0;
 
13747
  wxRichTextBuffer *arg1 = (wxRichTextBuffer *) 0 ;
 
13748
  wxRichTextStyleSheet *arg2 = (wxRichTextStyleSheet *) 0 ;
 
13749
  void *argp1 = 0 ;
 
13750
  int res1 = 0 ;
 
13751
  void *argp2 = 0 ;
 
13752
  int res2 = 0 ;
 
13753
  PyObject * obj0 = 0 ;
 
13754
  PyObject * obj1 = 0 ;
 
13755
  char *  kwnames[] = {
 
13756
    (char *) "self",(char *) "styleSheet", NULL 
 
13757
  };
 
13758
  
 
13759
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RichTextBuffer_SetStyleSheet",kwnames,&obj0,&obj1)) SWIG_fail;
 
13760
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextBuffer, 0 |  0 );
 
13761
  if (!SWIG_IsOK(res1)) {
 
13762
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextBuffer_SetStyleSheet" "', expected argument " "1"" of type '" "wxRichTextBuffer *""'"); 
 
13763
  }
 
13764
  arg1 = reinterpret_cast< wxRichTextBuffer * >(argp1);
 
13765
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxRichTextStyleSheet, 0 |  0 );
 
13766
  if (!SWIG_IsOK(res2)) {
 
13767
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "RichTextBuffer_SetStyleSheet" "', expected argument " "2"" of type '" "wxRichTextStyleSheet *""'"); 
 
13768
  }
 
13769
  arg2 = reinterpret_cast< wxRichTextStyleSheet * >(argp2);
 
13770
  {
 
13771
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
13772
    (arg1)->SetStyleSheet(arg2);
 
13773
    wxPyEndAllowThreads(__tstate);
 
13774
    if (PyErr_Occurred()) SWIG_fail;
 
13775
  }
 
13776
  resultobj = SWIG_Py_Void();
 
13777
  return resultobj;
 
13778
fail:
 
13779
  return NULL;
 
13780
}
 
13781
 
 
13782
 
 
13783
SWIGINTERN PyObject *_wrap_RichTextBuffer_SetStyleSheetAndNotify(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
13784
  PyObject *resultobj = 0;
 
13785
  wxRichTextBuffer *arg1 = (wxRichTextBuffer *) 0 ;
 
13786
  wxRichTextStyleSheet *arg2 = (wxRichTextStyleSheet *) 0 ;
 
13787
  bool result;
 
13788
  void *argp1 = 0 ;
 
13789
  int res1 = 0 ;
 
13790
  void *argp2 = 0 ;
 
13791
  int res2 = 0 ;
 
13792
  PyObject * obj0 = 0 ;
 
13793
  PyObject * obj1 = 0 ;
 
13794
  char *  kwnames[] = {
 
13795
    (char *) "self",(char *) "sheet", NULL 
 
13796
  };
 
13797
  
 
13798
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RichTextBuffer_SetStyleSheetAndNotify",kwnames,&obj0,&obj1)) SWIG_fail;
 
13799
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextBuffer, 0 |  0 );
 
13800
  if (!SWIG_IsOK(res1)) {
 
13801
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextBuffer_SetStyleSheetAndNotify" "', expected argument " "1"" of type '" "wxRichTextBuffer *""'"); 
 
13802
  }
 
13803
  arg1 = reinterpret_cast< wxRichTextBuffer * >(argp1);
 
13804
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxRichTextStyleSheet, 0 |  0 );
 
13805
  if (!SWIG_IsOK(res2)) {
 
13806
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "RichTextBuffer_SetStyleSheetAndNotify" "', expected argument " "2"" of type '" "wxRichTextStyleSheet *""'"); 
 
13807
  }
 
13808
  arg2 = reinterpret_cast< wxRichTextStyleSheet * >(argp2);
 
13809
  {
 
13810
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
13811
    result = (bool)(arg1)->SetStyleSheetAndNotify(arg2);
 
13812
    wxPyEndAllowThreads(__tstate);
 
13813
    if (PyErr_Occurred()) SWIG_fail;
 
13814
  }
 
13815
  {
 
13816
    resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
 
13817
  }
 
13818
  return resultobj;
 
13819
fail:
 
13820
  return NULL;
 
13821
}
 
13822
 
 
13823
 
 
13824
SWIGINTERN PyObject *_wrap_RichTextBuffer_PushStyleSheet(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
13825
  PyObject *resultobj = 0;
 
13826
  wxRichTextBuffer *arg1 = (wxRichTextBuffer *) 0 ;
 
13827
  wxRichTextStyleSheet *arg2 = (wxRichTextStyleSheet *) 0 ;
 
13828
  bool result;
 
13829
  void *argp1 = 0 ;
 
13830
  int res1 = 0 ;
 
13831
  void *argp2 = 0 ;
 
13832
  int res2 = 0 ;
 
13833
  PyObject * obj0 = 0 ;
 
13834
  PyObject * obj1 = 0 ;
 
13835
  char *  kwnames[] = {
 
13836
    (char *) "self",(char *) "styleSheet", NULL 
 
13837
  };
 
13838
  
 
13839
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RichTextBuffer_PushStyleSheet",kwnames,&obj0,&obj1)) SWIG_fail;
 
13840
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextBuffer, 0 |  0 );
 
13841
  if (!SWIG_IsOK(res1)) {
 
13842
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextBuffer_PushStyleSheet" "', expected argument " "1"" of type '" "wxRichTextBuffer *""'"); 
 
13843
  }
 
13844
  arg1 = reinterpret_cast< wxRichTextBuffer * >(argp1);
 
13845
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxRichTextStyleSheet, 0 |  0 );
 
13846
  if (!SWIG_IsOK(res2)) {
 
13847
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "RichTextBuffer_PushStyleSheet" "', expected argument " "2"" of type '" "wxRichTextStyleSheet *""'"); 
 
13848
  }
 
13849
  arg2 = reinterpret_cast< wxRichTextStyleSheet * >(argp2);
 
13850
  {
 
13851
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
13852
    result = (bool)(arg1)->PushStyleSheet(arg2);
 
13853
    wxPyEndAllowThreads(__tstate);
 
13854
    if (PyErr_Occurred()) SWIG_fail;
 
13855
  }
 
13856
  {
 
13857
    resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
 
13858
  }
 
13859
  return resultobj;
 
13860
fail:
 
13861
  return NULL;
 
13862
}
 
13863
 
 
13864
 
 
13865
SWIGINTERN PyObject *_wrap_RichTextBuffer_PopStyleSheet(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
13866
  PyObject *resultobj = 0;
 
13867
  wxRichTextBuffer *arg1 = (wxRichTextBuffer *) 0 ;
 
13868
  wxRichTextStyleSheet *result = 0 ;
 
13869
  void *argp1 = 0 ;
 
13870
  int res1 = 0 ;
 
13871
  PyObject *swig_obj[1] ;
 
13872
  
 
13873
  if (!args) SWIG_fail;
 
13874
  swig_obj[0] = args;
 
13875
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextBuffer, 0 |  0 );
 
13876
  if (!SWIG_IsOK(res1)) {
 
13877
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextBuffer_PopStyleSheet" "', expected argument " "1"" of type '" "wxRichTextBuffer *""'"); 
 
13878
  }
 
13879
  arg1 = reinterpret_cast< wxRichTextBuffer * >(argp1);
 
13880
  {
 
13881
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
13882
    result = (wxRichTextStyleSheet *)(arg1)->PopStyleSheet();
 
13883
    wxPyEndAllowThreads(__tstate);
 
13884
    if (PyErr_Occurred()) SWIG_fail;
 
13885
  }
 
13886
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxRichTextStyleSheet, 0 |  0 );
 
13887
  return resultobj;
 
13888
fail:
 
13889
  return NULL;
 
13890
}
 
13891
 
 
13892
 
 
13893
SWIGINTERN PyObject *_wrap_RichTextBuffer_Init(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
13894
  PyObject *resultobj = 0;
 
13895
  wxRichTextBuffer *arg1 = (wxRichTextBuffer *) 0 ;
 
13896
  void *argp1 = 0 ;
 
13897
  int res1 = 0 ;
 
13898
  PyObject *swig_obj[1] ;
 
13899
  
 
13900
  if (!args) SWIG_fail;
 
13901
  swig_obj[0] = args;
 
13902
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextBuffer, 0 |  0 );
 
13903
  if (!SWIG_IsOK(res1)) {
 
13904
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextBuffer_Init" "', expected argument " "1"" of type '" "wxRichTextBuffer *""'"); 
 
13905
  }
 
13906
  arg1 = reinterpret_cast< wxRichTextBuffer * >(argp1);
 
13907
  {
 
13908
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
13909
    (arg1)->Init();
 
13910
    wxPyEndAllowThreads(__tstate);
 
13911
    if (PyErr_Occurred()) SWIG_fail;
 
13912
  }
 
13913
  resultobj = SWIG_Py_Void();
 
13914
  return resultobj;
 
13915
fail:
 
13916
  return NULL;
 
13917
}
 
13918
 
 
13919
 
 
13920
SWIGINTERN PyObject *_wrap_RichTextBuffer_ResetAndClearCommands(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
13921
  PyObject *resultobj = 0;
 
13922
  wxRichTextBuffer *arg1 = (wxRichTextBuffer *) 0 ;
 
13923
  void *argp1 = 0 ;
 
13924
  int res1 = 0 ;
 
13925
  PyObject *swig_obj[1] ;
 
13926
  
 
13927
  if (!args) SWIG_fail;
 
13928
  swig_obj[0] = args;
 
13929
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextBuffer, 0 |  0 );
 
13930
  if (!SWIG_IsOK(res1)) {
 
13931
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextBuffer_ResetAndClearCommands" "', expected argument " "1"" of type '" "wxRichTextBuffer *""'"); 
 
13932
  }
 
13933
  arg1 = reinterpret_cast< wxRichTextBuffer * >(argp1);
 
13934
  {
 
13935
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
13936
    (arg1)->ResetAndClearCommands();
 
13937
    wxPyEndAllowThreads(__tstate);
 
13938
    if (PyErr_Occurred()) SWIG_fail;
 
13939
  }
 
13940
  resultobj = SWIG_Py_Void();
 
13941
  return resultobj;
 
13942
fail:
 
13943
  return NULL;
 
13944
}
 
13945
 
 
13946
 
 
13947
SWIGINTERN PyObject *_wrap_RichTextBuffer_LoadFile(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
13948
  PyObject *resultobj = 0;
 
13949
  wxRichTextBuffer *arg1 = (wxRichTextBuffer *) 0 ;
 
13950
  wxString *arg2 = 0 ;
 
13951
  int arg3 = (int) wxRICHTEXT_TYPE_ANY ;
 
13952
  bool result;
 
13953
  void *argp1 = 0 ;
 
13954
  int res1 = 0 ;
 
13955
  bool temp2 = false ;
 
13956
  int val3 ;
 
13957
  int ecode3 = 0 ;
 
13958
  PyObject * obj0 = 0 ;
 
13959
  PyObject * obj1 = 0 ;
 
13960
  PyObject * obj2 = 0 ;
 
13961
  char *  kwnames[] = {
 
13962
    (char *) "self",(char *) "filename",(char *) "type", NULL 
 
13963
  };
 
13964
  
 
13965
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:RichTextBuffer_LoadFile",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
 
13966
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextBuffer, 0 |  0 );
 
13967
  if (!SWIG_IsOK(res1)) {
 
13968
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextBuffer_LoadFile" "', expected argument " "1"" of type '" "wxRichTextBuffer *""'"); 
 
13969
  }
 
13970
  arg1 = reinterpret_cast< wxRichTextBuffer * >(argp1);
 
13971
  {
 
13972
    arg2 = wxString_in_helper(obj1);
 
13973
    if (arg2 == NULL) SWIG_fail;
 
13974
    temp2 = true;
 
13975
  }
 
13976
  if (obj2) {
 
13977
    ecode3 = SWIG_AsVal_int(obj2, &val3);
 
13978
    if (!SWIG_IsOK(ecode3)) {
 
13979
      SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "RichTextBuffer_LoadFile" "', expected argument " "3"" of type '" "int""'");
 
13980
    } 
 
13981
    arg3 = static_cast< int >(val3);
 
13982
  }
 
13983
  {
 
13984
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
13985
    result = (bool)(arg1)->LoadFile((wxString const &)*arg2,arg3);
 
13986
    wxPyEndAllowThreads(__tstate);
 
13987
    if (PyErr_Occurred()) SWIG_fail;
 
13988
  }
 
13989
  {
 
13990
    resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
 
13991
  }
 
13992
  {
 
13993
    if (temp2)
 
13994
    delete arg2;
 
13995
  }
 
13996
  return resultobj;
 
13997
fail:
 
13998
  {
 
13999
    if (temp2)
 
14000
    delete arg2;
 
14001
  }
 
14002
  return NULL;
 
14003
}
 
14004
 
 
14005
 
 
14006
SWIGINTERN PyObject *_wrap_RichTextBuffer_SaveFile(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
14007
  PyObject *resultobj = 0;
 
14008
  wxRichTextBuffer *arg1 = (wxRichTextBuffer *) 0 ;
 
14009
  wxString *arg2 = 0 ;
 
14010
  int arg3 = (int) wxRICHTEXT_TYPE_ANY ;
 
14011
  bool result;
 
14012
  void *argp1 = 0 ;
 
14013
  int res1 = 0 ;
 
14014
  bool temp2 = false ;
 
14015
  int val3 ;
 
14016
  int ecode3 = 0 ;
 
14017
  PyObject * obj0 = 0 ;
 
14018
  PyObject * obj1 = 0 ;
 
14019
  PyObject * obj2 = 0 ;
 
14020
  char *  kwnames[] = {
 
14021
    (char *) "self",(char *) "filename",(char *) "type", NULL 
 
14022
  };
 
14023
  
 
14024
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:RichTextBuffer_SaveFile",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
 
14025
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextBuffer, 0 |  0 );
 
14026
  if (!SWIG_IsOK(res1)) {
 
14027
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextBuffer_SaveFile" "', expected argument " "1"" of type '" "wxRichTextBuffer *""'"); 
 
14028
  }
 
14029
  arg1 = reinterpret_cast< wxRichTextBuffer * >(argp1);
 
14030
  {
 
14031
    arg2 = wxString_in_helper(obj1);
 
14032
    if (arg2 == NULL) SWIG_fail;
 
14033
    temp2 = true;
 
14034
  }
 
14035
  if (obj2) {
 
14036
    ecode3 = SWIG_AsVal_int(obj2, &val3);
 
14037
    if (!SWIG_IsOK(ecode3)) {
 
14038
      SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "RichTextBuffer_SaveFile" "', expected argument " "3"" of type '" "int""'");
 
14039
    } 
 
14040
    arg3 = static_cast< int >(val3);
 
14041
  }
 
14042
  {
 
14043
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
14044
    result = (bool)(arg1)->SaveFile((wxString const &)*arg2,arg3);
 
14045
    wxPyEndAllowThreads(__tstate);
 
14046
    if (PyErr_Occurred()) SWIG_fail;
 
14047
  }
 
14048
  {
 
14049
    resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
 
14050
  }
 
14051
  {
 
14052
    if (temp2)
 
14053
    delete arg2;
 
14054
  }
 
14055
  return resultobj;
 
14056
fail:
 
14057
  {
 
14058
    if (temp2)
 
14059
    delete arg2;
 
14060
  }
 
14061
  return NULL;
 
14062
}
 
14063
 
 
14064
 
 
14065
SWIGINTERN PyObject *_wrap_RichTextBuffer_LoadStream(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
14066
  PyObject *resultobj = 0;
 
14067
  wxRichTextBuffer *arg1 = (wxRichTextBuffer *) 0 ;
 
14068
  wxInputStream *arg2 = 0 ;
 
14069
  int arg3 = (int) wxRICHTEXT_TYPE_ANY ;
 
14070
  bool result;
 
14071
  void *argp1 = 0 ;
 
14072
  int res1 = 0 ;
 
14073
  wxPyInputStream *temp2 ;
 
14074
  bool created2 ;
 
14075
  int val3 ;
 
14076
  int ecode3 = 0 ;
 
14077
  PyObject * obj0 = 0 ;
 
14078
  PyObject * obj1 = 0 ;
 
14079
  PyObject * obj2 = 0 ;
 
14080
  char *  kwnames[] = {
 
14081
    (char *) "self",(char *) "stream",(char *) "type", NULL 
 
14082
  };
 
14083
  
 
14084
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:RichTextBuffer_LoadStream",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
 
14085
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextBuffer, 0 |  0 );
 
14086
  if (!SWIG_IsOK(res1)) {
 
14087
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextBuffer_LoadStream" "', expected argument " "1"" of type '" "wxRichTextBuffer *""'"); 
 
14088
  }
 
14089
  arg1 = reinterpret_cast< wxRichTextBuffer * >(argp1);
 
14090
  {
 
14091
    if (wxPyConvertSwigPtr(obj1, (void **)&temp2, wxT("wxPyInputStream"))) {
 
14092
      arg2 = temp2->m_wxis;
 
14093
      created2 = false;
 
14094
    } else {
 
14095
      PyErr_Clear();  // clear the failure of the wxPyConvert above
 
14096
      arg2 = wxPyCBInputStream_create(obj1, false);
 
14097
      if (arg2 == NULL) {
 
14098
        PyErr_SetString(PyExc_TypeError, "Expected wx.InputStream or Python file-like object.");
 
14099
        SWIG_fail;
 
14100
      }
 
14101
      created2 = true;
 
14102
    }
 
14103
  }
 
14104
  if (obj2) {
 
14105
    ecode3 = SWIG_AsVal_int(obj2, &val3);
 
14106
    if (!SWIG_IsOK(ecode3)) {
 
14107
      SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "RichTextBuffer_LoadStream" "', expected argument " "3"" of type '" "int""'");
 
14108
    } 
 
14109
    arg3 = static_cast< int >(val3);
 
14110
  }
 
14111
  {
 
14112
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
14113
    result = (bool)(arg1)->LoadFile(*arg2,arg3);
 
14114
    wxPyEndAllowThreads(__tstate);
 
14115
    if (PyErr_Occurred()) SWIG_fail;
 
14116
  }
 
14117
  {
 
14118
    resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
 
14119
  }
 
14120
  {
 
14121
    if (created2) delete arg2; 
 
14122
  }
 
14123
  return resultobj;
 
14124
fail:
 
14125
  {
 
14126
    if (created2) delete arg2; 
 
14127
  }
 
14128
  return NULL;
 
14129
}
 
14130
 
 
14131
 
 
14132
SWIGINTERN PyObject *_wrap_RichTextBuffer_SaveStream(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
14133
  PyObject *resultobj = 0;
 
14134
  wxRichTextBuffer *arg1 = (wxRichTextBuffer *) 0 ;
 
14135
  wxOutputStream *arg2 = 0 ;
 
14136
  int arg3 = (int) wxRICHTEXT_TYPE_ANY ;
 
14137
  bool result;
 
14138
  void *argp1 = 0 ;
 
14139
  int res1 = 0 ;
 
14140
  wxPyOutputStream *temp2 ;
 
14141
  bool created2 ;
 
14142
  int val3 ;
 
14143
  int ecode3 = 0 ;
 
14144
  PyObject * obj0 = 0 ;
 
14145
  PyObject * obj1 = 0 ;
 
14146
  PyObject * obj2 = 0 ;
 
14147
  char *  kwnames[] = {
 
14148
    (char *) "self",(char *) "stream",(char *) "type", NULL 
 
14149
  };
 
14150
  
 
14151
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:RichTextBuffer_SaveStream",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
 
14152
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextBuffer, 0 |  0 );
 
14153
  if (!SWIG_IsOK(res1)) {
 
14154
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextBuffer_SaveStream" "', expected argument " "1"" of type '" "wxRichTextBuffer *""'"); 
 
14155
  }
 
14156
  arg1 = reinterpret_cast< wxRichTextBuffer * >(argp1);
 
14157
  {
 
14158
    if (wxPyConvertSwigPtr(obj1, (void **)&temp2, wxT("wxPyOutputStream"))) {
 
14159
      arg2 = temp2->m_wxos;
 
14160
      created2 = false;
 
14161
    } else {
 
14162
      PyErr_Clear();  // clear the failure of the wxPyConvert above
 
14163
      arg2 = wxPyCBOutputStream_create(obj1, false);
 
14164
      if (arg2 == NULL) {
 
14165
        PyErr_SetString(PyExc_TypeError, "Expected wx.OutputStream or Python file-like object.");
 
14166
        SWIG_fail;
 
14167
      }
 
14168
      created2 = true;
 
14169
    }
 
14170
  }
 
14171
  if (obj2) {
 
14172
    ecode3 = SWIG_AsVal_int(obj2, &val3);
 
14173
    if (!SWIG_IsOK(ecode3)) {
 
14174
      SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "RichTextBuffer_SaveStream" "', expected argument " "3"" of type '" "int""'");
 
14175
    } 
 
14176
    arg3 = static_cast< int >(val3);
 
14177
  }
 
14178
  {
 
14179
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
14180
    result = (bool)(arg1)->SaveFile(*arg2,arg3);
 
14181
    wxPyEndAllowThreads(__tstate);
 
14182
    if (PyErr_Occurred()) SWIG_fail;
 
14183
  }
 
14184
  {
 
14185
    resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
 
14186
  }
 
14187
  {
 
14188
    if (created2) delete arg2; 
 
14189
  }
 
14190
  return resultobj;
 
14191
fail:
 
14192
  {
 
14193
    if (created2) delete arg2; 
 
14194
  }
 
14195
  return NULL;
 
14196
}
 
14197
 
 
14198
 
 
14199
SWIGINTERN PyObject *_wrap_RichTextBuffer_SetHandlerFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
14200
  PyObject *resultobj = 0;
 
14201
  wxRichTextBuffer *arg1 = (wxRichTextBuffer *) 0 ;
 
14202
  int arg2 ;
 
14203
  void *argp1 = 0 ;
 
14204
  int res1 = 0 ;
 
14205
  int val2 ;
 
14206
  int ecode2 = 0 ;
 
14207
  PyObject * obj0 = 0 ;
 
14208
  PyObject * obj1 = 0 ;
 
14209
  char *  kwnames[] = {
 
14210
    (char *) "self",(char *) "flags", NULL 
 
14211
  };
 
14212
  
 
14213
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RichTextBuffer_SetHandlerFlags",kwnames,&obj0,&obj1)) SWIG_fail;
 
14214
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextBuffer, 0 |  0 );
 
14215
  if (!SWIG_IsOK(res1)) {
 
14216
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextBuffer_SetHandlerFlags" "', expected argument " "1"" of type '" "wxRichTextBuffer *""'"); 
 
14217
  }
 
14218
  arg1 = reinterpret_cast< wxRichTextBuffer * >(argp1);
 
14219
  ecode2 = SWIG_AsVal_int(obj1, &val2);
 
14220
  if (!SWIG_IsOK(ecode2)) {
 
14221
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RichTextBuffer_SetHandlerFlags" "', expected argument " "2"" of type '" "int""'");
 
14222
  } 
 
14223
  arg2 = static_cast< int >(val2);
 
14224
  {
 
14225
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
14226
    (arg1)->SetHandlerFlags(arg2);
 
14227
    wxPyEndAllowThreads(__tstate);
 
14228
    if (PyErr_Occurred()) SWIG_fail;
 
14229
  }
 
14230
  resultobj = SWIG_Py_Void();
 
14231
  return resultobj;
 
14232
fail:
 
14233
  return NULL;
 
14234
}
 
14235
 
 
14236
 
 
14237
SWIGINTERN PyObject *_wrap_RichTextBuffer_GetHandlerFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
14238
  PyObject *resultobj = 0;
 
14239
  wxRichTextBuffer *arg1 = (wxRichTextBuffer *) 0 ;
 
14240
  int result;
 
14241
  void *argp1 = 0 ;
 
14242
  int res1 = 0 ;
 
14243
  PyObject *swig_obj[1] ;
 
14244
  
 
14245
  if (!args) SWIG_fail;
 
14246
  swig_obj[0] = args;
 
14247
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextBuffer, 0 |  0 );
 
14248
  if (!SWIG_IsOK(res1)) {
 
14249
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextBuffer_GetHandlerFlags" "', expected argument " "1"" of type '" "wxRichTextBuffer const *""'"); 
 
14250
  }
 
14251
  arg1 = reinterpret_cast< wxRichTextBuffer * >(argp1);
 
14252
  {
 
14253
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
14254
    result = (int)((wxRichTextBuffer const *)arg1)->GetHandlerFlags();
 
14255
    wxPyEndAllowThreads(__tstate);
 
14256
    if (PyErr_Occurred()) SWIG_fail;
 
14257
  }
 
14258
  resultobj = SWIG_From_int(static_cast< int >(result));
 
14259
  return resultobj;
 
14260
fail:
 
14261
  return NULL;
 
14262
}
 
14263
 
 
14264
 
 
14265
SWIGINTERN PyObject *_wrap_RichTextBuffer_BeginBatchUndo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
14266
  PyObject *resultobj = 0;
 
14267
  wxRichTextBuffer *arg1 = (wxRichTextBuffer *) 0 ;
 
14268
  wxString *arg2 = 0 ;
 
14269
  bool result;
 
14270
  void *argp1 = 0 ;
 
14271
  int res1 = 0 ;
 
14272
  bool temp2 = false ;
 
14273
  PyObject * obj0 = 0 ;
 
14274
  PyObject * obj1 = 0 ;
 
14275
  char *  kwnames[] = {
 
14276
    (char *) "self",(char *) "cmdName", NULL 
 
14277
  };
 
14278
  
 
14279
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RichTextBuffer_BeginBatchUndo",kwnames,&obj0,&obj1)) SWIG_fail;
 
14280
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextBuffer, 0 |  0 );
 
14281
  if (!SWIG_IsOK(res1)) {
 
14282
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextBuffer_BeginBatchUndo" "', expected argument " "1"" of type '" "wxRichTextBuffer *""'"); 
 
14283
  }
 
14284
  arg1 = reinterpret_cast< wxRichTextBuffer * >(argp1);
 
14285
  {
 
14286
    arg2 = wxString_in_helper(obj1);
 
14287
    if (arg2 == NULL) SWIG_fail;
 
14288
    temp2 = true;
 
14289
  }
 
14290
  {
 
14291
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
14292
    result = (bool)(arg1)->BeginBatchUndo((wxString const &)*arg2);
 
14293
    wxPyEndAllowThreads(__tstate);
 
14294
    if (PyErr_Occurred()) SWIG_fail;
 
14295
  }
 
14296
  {
 
14297
    resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
 
14298
  }
 
14299
  {
 
14300
    if (temp2)
 
14301
    delete arg2;
 
14302
  }
 
14303
  return resultobj;
 
14304
fail:
 
14305
  {
 
14306
    if (temp2)
 
14307
    delete arg2;
 
14308
  }
 
14309
  return NULL;
 
14310
}
 
14311
 
 
14312
 
 
14313
SWIGINTERN PyObject *_wrap_RichTextBuffer_EndBatchUndo(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
14314
  PyObject *resultobj = 0;
 
14315
  wxRichTextBuffer *arg1 = (wxRichTextBuffer *) 0 ;
 
14316
  bool result;
 
14317
  void *argp1 = 0 ;
 
14318
  int res1 = 0 ;
 
14319
  PyObject *swig_obj[1] ;
 
14320
  
 
14321
  if (!args) SWIG_fail;
 
14322
  swig_obj[0] = args;
 
14323
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextBuffer, 0 |  0 );
 
14324
  if (!SWIG_IsOK(res1)) {
 
14325
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextBuffer_EndBatchUndo" "', expected argument " "1"" of type '" "wxRichTextBuffer *""'"); 
 
14326
  }
 
14327
  arg1 = reinterpret_cast< wxRichTextBuffer * >(argp1);
 
14328
  {
 
14329
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
14330
    result = (bool)(arg1)->EndBatchUndo();
 
14331
    wxPyEndAllowThreads(__tstate);
 
14332
    if (PyErr_Occurred()) SWIG_fail;
 
14333
  }
 
14334
  {
 
14335
    resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
 
14336
  }
 
14337
  return resultobj;
 
14338
fail:
 
14339
  return NULL;
 
14340
}
 
14341
 
 
14342
 
 
14343
SWIGINTERN PyObject *_wrap_RichTextBuffer_BatchingUndo(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
14344
  PyObject *resultobj = 0;
 
14345
  wxRichTextBuffer *arg1 = (wxRichTextBuffer *) 0 ;
 
14346
  bool result;
 
14347
  void *argp1 = 0 ;
 
14348
  int res1 = 0 ;
 
14349
  PyObject *swig_obj[1] ;
 
14350
  
 
14351
  if (!args) SWIG_fail;
 
14352
  swig_obj[0] = args;
 
14353
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextBuffer, 0 |  0 );
 
14354
  if (!SWIG_IsOK(res1)) {
 
14355
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextBuffer_BatchingUndo" "', expected argument " "1"" of type '" "wxRichTextBuffer const *""'"); 
 
14356
  }
 
14357
  arg1 = reinterpret_cast< wxRichTextBuffer * >(argp1);
 
14358
  {
 
14359
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
14360
    result = (bool)((wxRichTextBuffer const *)arg1)->BatchingUndo();
 
14361
    wxPyEndAllowThreads(__tstate);
 
14362
    if (PyErr_Occurred()) SWIG_fail;
 
14363
  }
 
14364
  {
 
14365
    resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
 
14366
  }
 
14367
  return resultobj;
 
14368
fail:
 
14369
  return NULL;
 
14370
}
 
14371
 
 
14372
 
 
14373
SWIGINTERN PyObject *_wrap_RichTextBuffer_SubmitAction(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
14374
  PyObject *resultobj = 0;
 
14375
  wxRichTextBuffer *arg1 = (wxRichTextBuffer *) 0 ;
 
14376
  wxRichTextAction *arg2 = (wxRichTextAction *) 0 ;
 
14377
  bool result;
 
14378
  void *argp1 = 0 ;
 
14379
  int res1 = 0 ;
 
14380
  void *argp2 = 0 ;
 
14381
  int res2 = 0 ;
 
14382
  PyObject * obj0 = 0 ;
 
14383
  PyObject * obj1 = 0 ;
 
14384
  char *  kwnames[] = {
 
14385
    (char *) "self",(char *) "action", NULL 
 
14386
  };
 
14387
  
 
14388
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RichTextBuffer_SubmitAction",kwnames,&obj0,&obj1)) SWIG_fail;
 
14389
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextBuffer, 0 |  0 );
 
14390
  if (!SWIG_IsOK(res1)) {
 
14391
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextBuffer_SubmitAction" "', expected argument " "1"" of type '" "wxRichTextBuffer *""'"); 
 
14392
  }
 
14393
  arg1 = reinterpret_cast< wxRichTextBuffer * >(argp1);
 
14394
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxRichTextAction, 0 |  0 );
 
14395
  if (!SWIG_IsOK(res2)) {
 
14396
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "RichTextBuffer_SubmitAction" "', expected argument " "2"" of type '" "wxRichTextAction *""'"); 
 
14397
  }
 
14398
  arg2 = reinterpret_cast< wxRichTextAction * >(argp2);
 
14399
  {
 
14400
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
14401
    result = (bool)(arg1)->SubmitAction(arg2);
 
14402
    wxPyEndAllowThreads(__tstate);
 
14403
    if (PyErr_Occurred()) SWIG_fail;
 
14404
  }
 
14405
  {
 
14406
    resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
 
14407
  }
 
14408
  return resultobj;
 
14409
fail:
 
14410
  return NULL;
 
14411
}
 
14412
 
 
14413
 
 
14414
SWIGINTERN PyObject *_wrap_RichTextBuffer_GetBatchedCommand(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
14415
  PyObject *resultobj = 0;
 
14416
  wxRichTextBuffer *arg1 = (wxRichTextBuffer *) 0 ;
 
14417
  wxRichTextCommand *result = 0 ;
 
14418
  void *argp1 = 0 ;
 
14419
  int res1 = 0 ;
 
14420
  PyObject *swig_obj[1] ;
 
14421
  
 
14422
  if (!args) SWIG_fail;
 
14423
  swig_obj[0] = args;
 
14424
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextBuffer, 0 |  0 );
 
14425
  if (!SWIG_IsOK(res1)) {
 
14426
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextBuffer_GetBatchedCommand" "', expected argument " "1"" of type '" "wxRichTextBuffer const *""'"); 
 
14427
  }
 
14428
  arg1 = reinterpret_cast< wxRichTextBuffer * >(argp1);
 
14429
  {
 
14430
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
14431
    result = (wxRichTextCommand *)((wxRichTextBuffer const *)arg1)->GetBatchedCommand();
 
14432
    wxPyEndAllowThreads(__tstate);
 
14433
    if (PyErr_Occurred()) SWIG_fail;
 
14434
  }
 
14435
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxRichTextCommand, 0 |  0 );
 
14436
  return resultobj;
 
14437
fail:
 
14438
  return NULL;
 
14439
}
 
14440
 
 
14441
 
 
14442
SWIGINTERN PyObject *_wrap_RichTextBuffer_BeginSuppressUndo(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
14443
  PyObject *resultobj = 0;
 
14444
  wxRichTextBuffer *arg1 = (wxRichTextBuffer *) 0 ;
 
14445
  bool result;
 
14446
  void *argp1 = 0 ;
 
14447
  int res1 = 0 ;
 
14448
  PyObject *swig_obj[1] ;
 
14449
  
 
14450
  if (!args) SWIG_fail;
 
14451
  swig_obj[0] = args;
 
14452
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextBuffer, 0 |  0 );
 
14453
  if (!SWIG_IsOK(res1)) {
 
14454
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextBuffer_BeginSuppressUndo" "', expected argument " "1"" of type '" "wxRichTextBuffer *""'"); 
 
14455
  }
 
14456
  arg1 = reinterpret_cast< wxRichTextBuffer * >(argp1);
 
14457
  {
 
14458
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
14459
    result = (bool)(arg1)->BeginSuppressUndo();
 
14460
    wxPyEndAllowThreads(__tstate);
 
14461
    if (PyErr_Occurred()) SWIG_fail;
 
14462
  }
 
14463
  {
 
14464
    resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
 
14465
  }
 
14466
  return resultobj;
 
14467
fail:
 
14468
  return NULL;
 
14469
}
 
14470
 
 
14471
 
 
14472
SWIGINTERN PyObject *_wrap_RichTextBuffer_EndSuppressUndo(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
14473
  PyObject *resultobj = 0;
 
14474
  wxRichTextBuffer *arg1 = (wxRichTextBuffer *) 0 ;
 
14475
  bool result;
 
14476
  void *argp1 = 0 ;
 
14477
  int res1 = 0 ;
 
14478
  PyObject *swig_obj[1] ;
 
14479
  
 
14480
  if (!args) SWIG_fail;
 
14481
  swig_obj[0] = args;
 
14482
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextBuffer, 0 |  0 );
 
14483
  if (!SWIG_IsOK(res1)) {
 
14484
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextBuffer_EndSuppressUndo" "', expected argument " "1"" of type '" "wxRichTextBuffer *""'"); 
 
14485
  }
 
14486
  arg1 = reinterpret_cast< wxRichTextBuffer * >(argp1);
 
14487
  {
 
14488
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
14489
    result = (bool)(arg1)->EndSuppressUndo();
 
14490
    wxPyEndAllowThreads(__tstate);
 
14491
    if (PyErr_Occurred()) SWIG_fail;
 
14492
  }
 
14493
  {
 
14494
    resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
 
14495
  }
 
14496
  return resultobj;
 
14497
fail:
 
14498
  return NULL;
 
14499
}
 
14500
 
 
14501
 
 
14502
SWIGINTERN PyObject *_wrap_RichTextBuffer_SuppressingUndo(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
14503
  PyObject *resultobj = 0;
 
14504
  wxRichTextBuffer *arg1 = (wxRichTextBuffer *) 0 ;
 
14505
  bool result;
 
14506
  void *argp1 = 0 ;
 
14507
  int res1 = 0 ;
 
14508
  PyObject *swig_obj[1] ;
 
14509
  
 
14510
  if (!args) SWIG_fail;
 
14511
  swig_obj[0] = args;
 
14512
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextBuffer, 0 |  0 );
 
14513
  if (!SWIG_IsOK(res1)) {
 
14514
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextBuffer_SuppressingUndo" "', expected argument " "1"" of type '" "wxRichTextBuffer const *""'"); 
 
14515
  }
 
14516
  arg1 = reinterpret_cast< wxRichTextBuffer * >(argp1);
 
14517
  {
 
14518
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
14519
    result = (bool)((wxRichTextBuffer const *)arg1)->SuppressingUndo();
 
14520
    wxPyEndAllowThreads(__tstate);
 
14521
    if (PyErr_Occurred()) SWIG_fail;
 
14522
  }
 
14523
  {
 
14524
    resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
 
14525
  }
 
14526
  return resultobj;
 
14527
fail:
 
14528
  return NULL;
 
14529
}
 
14530
 
 
14531
 
 
14532
SWIGINTERN PyObject *_wrap_RichTextBuffer_CopyToClipboard(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
14533
  PyObject *resultobj = 0;
 
14534
  wxRichTextBuffer *arg1 = (wxRichTextBuffer *) 0 ;
 
14535
  wxRichTextRange *arg2 = 0 ;
 
14536
  bool result;
 
14537
  void *argp1 = 0 ;
 
14538
  int res1 = 0 ;
 
14539
  wxRichTextRange temp2 ;
 
14540
  PyObject * obj0 = 0 ;
 
14541
  PyObject * obj1 = 0 ;
 
14542
  char *  kwnames[] = {
 
14543
    (char *) "self",(char *) "range", NULL 
 
14544
  };
 
14545
  
 
14546
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RichTextBuffer_CopyToClipboard",kwnames,&obj0,&obj1)) SWIG_fail;
 
14547
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextBuffer, 0 |  0 );
 
14548
  if (!SWIG_IsOK(res1)) {
 
14549
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextBuffer_CopyToClipboard" "', expected argument " "1"" of type '" "wxRichTextBuffer *""'"); 
 
14550
  }
 
14551
  arg1 = reinterpret_cast< wxRichTextBuffer * >(argp1);
 
14552
  {
 
14553
    arg2 = &temp2;
 
14554
    if ( ! wxRichTextRange_helper(obj1, &arg2)) SWIG_fail;
 
14555
  }
 
14556
  {
 
14557
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
14558
    result = (bool)(arg1)->CopyToClipboard((wxRichTextRange const &)*arg2);
 
14559
    wxPyEndAllowThreads(__tstate);
 
14560
    if (PyErr_Occurred()) SWIG_fail;
 
14561
  }
 
14562
  {
 
14563
    resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
 
14564
  }
 
14565
  return resultobj;
 
14566
fail:
 
14567
  return NULL;
 
14568
}
 
14569
 
 
14570
 
 
14571
SWIGINTERN PyObject *_wrap_RichTextBuffer_PasteFromClipboard(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
14572
  PyObject *resultobj = 0;
 
14573
  wxRichTextBuffer *arg1 = (wxRichTextBuffer *) 0 ;
 
14574
  long arg2 ;
 
14575
  bool result;
 
14576
  void *argp1 = 0 ;
 
14577
  int res1 = 0 ;
 
14578
  long val2 ;
 
14579
  int ecode2 = 0 ;
 
14580
  PyObject * obj0 = 0 ;
 
14581
  PyObject * obj1 = 0 ;
 
14582
  char *  kwnames[] = {
 
14583
    (char *) "self",(char *) "position", NULL 
 
14584
  };
 
14585
  
 
14586
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RichTextBuffer_PasteFromClipboard",kwnames,&obj0,&obj1)) SWIG_fail;
 
14587
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextBuffer, 0 |  0 );
 
14588
  if (!SWIG_IsOK(res1)) {
 
14589
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextBuffer_PasteFromClipboard" "', expected argument " "1"" of type '" "wxRichTextBuffer *""'"); 
 
14590
  }
 
14591
  arg1 = reinterpret_cast< wxRichTextBuffer * >(argp1);
 
14592
  ecode2 = SWIG_AsVal_long(obj1, &val2);
 
14593
  if (!SWIG_IsOK(ecode2)) {
 
14594
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RichTextBuffer_PasteFromClipboard" "', expected argument " "2"" of type '" "long""'");
 
14595
  } 
 
14596
  arg2 = static_cast< long >(val2);
 
14597
  {
 
14598
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
14599
    result = (bool)(arg1)->PasteFromClipboard(arg2);
 
14600
    wxPyEndAllowThreads(__tstate);
 
14601
    if (PyErr_Occurred()) SWIG_fail;
 
14602
  }
 
14603
  {
 
14604
    resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
 
14605
  }
 
14606
  return resultobj;
 
14607
fail:
 
14608
  return NULL;
 
14609
}
 
14610
 
 
14611
 
 
14612
SWIGINTERN PyObject *_wrap_RichTextBuffer_CanPasteFromClipboard(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
14613
  PyObject *resultobj = 0;
 
14614
  wxRichTextBuffer *arg1 = (wxRichTextBuffer *) 0 ;
 
14615
  bool result;
 
14616
  void *argp1 = 0 ;
 
14617
  int res1 = 0 ;
 
14618
  PyObject *swig_obj[1] ;
 
14619
  
 
14620
  if (!args) SWIG_fail;
 
14621
  swig_obj[0] = args;
 
14622
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextBuffer, 0 |  0 );
 
14623
  if (!SWIG_IsOK(res1)) {
 
14624
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextBuffer_CanPasteFromClipboard" "', expected argument " "1"" of type '" "wxRichTextBuffer const *""'"); 
 
14625
  }
 
14626
  arg1 = reinterpret_cast< wxRichTextBuffer * >(argp1);
 
14627
  {
 
14628
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
14629
    result = (bool)((wxRichTextBuffer const *)arg1)->CanPasteFromClipboard();
 
14630
    wxPyEndAllowThreads(__tstate);
 
14631
    if (PyErr_Occurred()) SWIG_fail;
 
14632
  }
 
14633
  {
 
14634
    resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
 
14635
  }
 
14636
  return resultobj;
 
14637
fail:
 
14638
  return NULL;
 
14639
}
 
14640
 
 
14641
 
 
14642
SWIGINTERN PyObject *_wrap_RichTextBuffer_BeginStyle(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
14643
  PyObject *resultobj = 0;
 
14644
  wxRichTextBuffer *arg1 = (wxRichTextBuffer *) 0 ;
 
14645
  wxTextAttrEx *arg2 = 0 ;
 
14646
  bool result;
 
14647
  void *argp1 = 0 ;
 
14648
  int res1 = 0 ;
 
14649
  void *argp2 = 0 ;
 
14650
  int res2 = 0 ;
 
14651
  PyObject * obj0 = 0 ;
 
14652
  PyObject * obj1 = 0 ;
 
14653
  char *  kwnames[] = {
 
14654
    (char *) "self",(char *) "style", NULL 
 
14655
  };
 
14656
  
 
14657
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RichTextBuffer_BeginStyle",kwnames,&obj0,&obj1)) SWIG_fail;
 
14658
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextBuffer, 0 |  0 );
 
14659
  if (!SWIG_IsOK(res1)) {
 
14660
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextBuffer_BeginStyle" "', expected argument " "1"" of type '" "wxRichTextBuffer *""'"); 
 
14661
  }
 
14662
  arg1 = reinterpret_cast< wxRichTextBuffer * >(argp1);
 
14663
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTextAttrEx,  0  | 0);
 
14664
  if (!SWIG_IsOK(res2)) {
 
14665
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "RichTextBuffer_BeginStyle" "', expected argument " "2"" of type '" "wxTextAttrEx const &""'"); 
 
14666
  }
 
14667
  if (!argp2) {
 
14668
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "RichTextBuffer_BeginStyle" "', expected argument " "2"" of type '" "wxTextAttrEx const &""'"); 
 
14669
  }
 
14670
  arg2 = reinterpret_cast< wxTextAttrEx * >(argp2);
 
14671
  {
 
14672
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
14673
    result = (bool)(arg1)->BeginStyle((wxTextAttrEx const &)*arg2);
 
14674
    wxPyEndAllowThreads(__tstate);
 
14675
    if (PyErr_Occurred()) SWIG_fail;
 
14676
  }
 
14677
  {
 
14678
    resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
 
14679
  }
 
14680
  return resultobj;
 
14681
fail:
 
14682
  return NULL;
 
14683
}
 
14684
 
 
14685
 
 
14686
SWIGINTERN PyObject *_wrap_RichTextBuffer_EndStyle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
14687
  PyObject *resultobj = 0;
 
14688
  wxRichTextBuffer *arg1 = (wxRichTextBuffer *) 0 ;
 
14689
  bool result;
 
14690
  void *argp1 = 0 ;
 
14691
  int res1 = 0 ;
 
14692
  PyObject *swig_obj[1] ;
 
14693
  
 
14694
  if (!args) SWIG_fail;
 
14695
  swig_obj[0] = args;
 
14696
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextBuffer, 0 |  0 );
 
14697
  if (!SWIG_IsOK(res1)) {
 
14698
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextBuffer_EndStyle" "', expected argument " "1"" of type '" "wxRichTextBuffer *""'"); 
 
14699
  }
 
14700
  arg1 = reinterpret_cast< wxRichTextBuffer * >(argp1);
 
14701
  {
 
14702
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
14703
    result = (bool)(arg1)->EndStyle();
 
14704
    wxPyEndAllowThreads(__tstate);
 
14705
    if (PyErr_Occurred()) SWIG_fail;
 
14706
  }
 
14707
  {
 
14708
    resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
 
14709
  }
 
14710
  return resultobj;
 
14711
fail:
 
14712
  return NULL;
 
14713
}
 
14714
 
 
14715
 
 
14716
SWIGINTERN PyObject *_wrap_RichTextBuffer_EndAllStyles(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
14717
  PyObject *resultobj = 0;
 
14718
  wxRichTextBuffer *arg1 = (wxRichTextBuffer *) 0 ;
 
14719
  bool result;
 
14720
  void *argp1 = 0 ;
 
14721
  int res1 = 0 ;
 
14722
  PyObject *swig_obj[1] ;
 
14723
  
 
14724
  if (!args) SWIG_fail;
 
14725
  swig_obj[0] = args;
 
14726
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextBuffer, 0 |  0 );
 
14727
  if (!SWIG_IsOK(res1)) {
 
14728
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextBuffer_EndAllStyles" "', expected argument " "1"" of type '" "wxRichTextBuffer *""'"); 
 
14729
  }
 
14730
  arg1 = reinterpret_cast< wxRichTextBuffer * >(argp1);
 
14731
  {
 
14732
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
14733
    result = (bool)(arg1)->EndAllStyles();
 
14734
    wxPyEndAllowThreads(__tstate);
 
14735
    if (PyErr_Occurred()) SWIG_fail;
 
14736
  }
 
14737
  {
 
14738
    resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
 
14739
  }
 
14740
  return resultobj;
 
14741
fail:
 
14742
  return NULL;
 
14743
}
 
14744
 
 
14745
 
 
14746
SWIGINTERN PyObject *_wrap_RichTextBuffer_ClearStyleStack(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
14747
  PyObject *resultobj = 0;
 
14748
  wxRichTextBuffer *arg1 = (wxRichTextBuffer *) 0 ;
 
14749
  void *argp1 = 0 ;
 
14750
  int res1 = 0 ;
 
14751
  PyObject *swig_obj[1] ;
 
14752
  
 
14753
  if (!args) SWIG_fail;
 
14754
  swig_obj[0] = args;
 
14755
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextBuffer, 0 |  0 );
 
14756
  if (!SWIG_IsOK(res1)) {
 
14757
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextBuffer_ClearStyleStack" "', expected argument " "1"" of type '" "wxRichTextBuffer *""'"); 
 
14758
  }
 
14759
  arg1 = reinterpret_cast< wxRichTextBuffer * >(argp1);
 
14760
  {
 
14761
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
14762
    (arg1)->ClearStyleStack();
 
14763
    wxPyEndAllowThreads(__tstate);
 
14764
    if (PyErr_Occurred()) SWIG_fail;
 
14765
  }
 
14766
  resultobj = SWIG_Py_Void();
 
14767
  return resultobj;
 
14768
fail:
 
14769
  return NULL;
 
14770
}
 
14771
 
 
14772
 
 
14773
SWIGINTERN PyObject *_wrap_RichTextBuffer_GetStyleStackSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
14774
  PyObject *resultobj = 0;
 
14775
  wxRichTextBuffer *arg1 = (wxRichTextBuffer *) 0 ;
 
14776
  size_t result;
 
14777
  void *argp1 = 0 ;
 
14778
  int res1 = 0 ;
 
14779
  PyObject *swig_obj[1] ;
 
14780
  
 
14781
  if (!args) SWIG_fail;
 
14782
  swig_obj[0] = args;
 
14783
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextBuffer, 0 |  0 );
 
14784
  if (!SWIG_IsOK(res1)) {
 
14785
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextBuffer_GetStyleStackSize" "', expected argument " "1"" of type '" "wxRichTextBuffer const *""'"); 
 
14786
  }
 
14787
  arg1 = reinterpret_cast< wxRichTextBuffer * >(argp1);
 
14788
  {
 
14789
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
14790
    result = (size_t)((wxRichTextBuffer const *)arg1)->GetStyleStackSize();
 
14791
    wxPyEndAllowThreads(__tstate);
 
14792
    if (PyErr_Occurred()) SWIG_fail;
 
14793
  }
 
14794
  resultobj = SWIG_From_size_t(static_cast< size_t >(result));
 
14795
  return resultobj;
 
14796
fail:
 
14797
  return NULL;
 
14798
}
 
14799
 
 
14800
 
 
14801
SWIGINTERN PyObject *_wrap_RichTextBuffer_BeginBold(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
14802
  PyObject *resultobj = 0;
 
14803
  wxRichTextBuffer *arg1 = (wxRichTextBuffer *) 0 ;
 
14804
  bool result;
 
14805
  void *argp1 = 0 ;
 
14806
  int res1 = 0 ;
 
14807
  PyObject *swig_obj[1] ;
 
14808
  
 
14809
  if (!args) SWIG_fail;
 
14810
  swig_obj[0] = args;
 
14811
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextBuffer, 0 |  0 );
 
14812
  if (!SWIG_IsOK(res1)) {
 
14813
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextBuffer_BeginBold" "', expected argument " "1"" of type '" "wxRichTextBuffer *""'"); 
 
14814
  }
 
14815
  arg1 = reinterpret_cast< wxRichTextBuffer * >(argp1);
 
14816
  {
 
14817
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
14818
    result = (bool)(arg1)->BeginBold();
 
14819
    wxPyEndAllowThreads(__tstate);
 
14820
    if (PyErr_Occurred()) SWIG_fail;
 
14821
  }
 
14822
  {
 
14823
    resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
 
14824
  }
 
14825
  return resultobj;
 
14826
fail:
 
14827
  return NULL;
 
14828
}
 
14829
 
 
14830
 
 
14831
SWIGINTERN PyObject *_wrap_RichTextBuffer_EndBold(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
14832
  PyObject *resultobj = 0;
 
14833
  wxRichTextBuffer *arg1 = (wxRichTextBuffer *) 0 ;
 
14834
  bool result;
 
14835
  void *argp1 = 0 ;
 
14836
  int res1 = 0 ;
 
14837
  PyObject *swig_obj[1] ;
 
14838
  
 
14839
  if (!args) SWIG_fail;
 
14840
  swig_obj[0] = args;
 
14841
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextBuffer, 0 |  0 );
 
14842
  if (!SWIG_IsOK(res1)) {
 
14843
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextBuffer_EndBold" "', expected argument " "1"" of type '" "wxRichTextBuffer *""'"); 
 
14844
  }
 
14845
  arg1 = reinterpret_cast< wxRichTextBuffer * >(argp1);
 
14846
  {
 
14847
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
14848
    result = (bool)(arg1)->EndBold();
 
14849
    wxPyEndAllowThreads(__tstate);
 
14850
    if (PyErr_Occurred()) SWIG_fail;
 
14851
  }
 
14852
  {
 
14853
    resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
 
14854
  }
 
14855
  return resultobj;
 
14856
fail:
 
14857
  return NULL;
 
14858
}
 
14859
 
 
14860
 
 
14861
SWIGINTERN PyObject *_wrap_RichTextBuffer_BeginItalic(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
14862
  PyObject *resultobj = 0;
 
14863
  wxRichTextBuffer *arg1 = (wxRichTextBuffer *) 0 ;
 
14864
  bool result;
 
14865
  void *argp1 = 0 ;
 
14866
  int res1 = 0 ;
 
14867
  PyObject *swig_obj[1] ;
 
14868
  
 
14869
  if (!args) SWIG_fail;
 
14870
  swig_obj[0] = args;
 
14871
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextBuffer, 0 |  0 );
 
14872
  if (!SWIG_IsOK(res1)) {
 
14873
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextBuffer_BeginItalic" "', expected argument " "1"" of type '" "wxRichTextBuffer *""'"); 
 
14874
  }
 
14875
  arg1 = reinterpret_cast< wxRichTextBuffer * >(argp1);
 
14876
  {
 
14877
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
14878
    result = (bool)(arg1)->BeginItalic();
 
14879
    wxPyEndAllowThreads(__tstate);
 
14880
    if (PyErr_Occurred()) SWIG_fail;
 
14881
  }
 
14882
  {
 
14883
    resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
 
14884
  }
 
14885
  return resultobj;
 
14886
fail:
 
14887
  return NULL;
 
14888
}
 
14889
 
 
14890
 
 
14891
SWIGINTERN PyObject *_wrap_RichTextBuffer_EndItalic(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
14892
  PyObject *resultobj = 0;
 
14893
  wxRichTextBuffer *arg1 = (wxRichTextBuffer *) 0 ;
 
14894
  bool result;
 
14895
  void *argp1 = 0 ;
 
14896
  int res1 = 0 ;
 
14897
  PyObject *swig_obj[1] ;
 
14898
  
 
14899
  if (!args) SWIG_fail;
 
14900
  swig_obj[0] = args;
 
14901
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextBuffer, 0 |  0 );
 
14902
  if (!SWIG_IsOK(res1)) {
 
14903
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextBuffer_EndItalic" "', expected argument " "1"" of type '" "wxRichTextBuffer *""'"); 
 
14904
  }
 
14905
  arg1 = reinterpret_cast< wxRichTextBuffer * >(argp1);
 
14906
  {
 
14907
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
14908
    result = (bool)(arg1)->EndItalic();
 
14909
    wxPyEndAllowThreads(__tstate);
 
14910
    if (PyErr_Occurred()) SWIG_fail;
 
14911
  }
 
14912
  {
 
14913
    resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
 
14914
  }
 
14915
  return resultobj;
 
14916
fail:
 
14917
  return NULL;
 
14918
}
 
14919
 
 
14920
 
 
14921
SWIGINTERN PyObject *_wrap_RichTextBuffer_BeginUnderline(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
14922
  PyObject *resultobj = 0;
 
14923
  wxRichTextBuffer *arg1 = (wxRichTextBuffer *) 0 ;
 
14924
  bool result;
 
14925
  void *argp1 = 0 ;
 
14926
  int res1 = 0 ;
 
14927
  PyObject *swig_obj[1] ;
 
14928
  
 
14929
  if (!args) SWIG_fail;
 
14930
  swig_obj[0] = args;
 
14931
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextBuffer, 0 |  0 );
 
14932
  if (!SWIG_IsOK(res1)) {
 
14933
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextBuffer_BeginUnderline" "', expected argument " "1"" of type '" "wxRichTextBuffer *""'"); 
 
14934
  }
 
14935
  arg1 = reinterpret_cast< wxRichTextBuffer * >(argp1);
 
14936
  {
 
14937
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
14938
    result = (bool)(arg1)->BeginUnderline();
 
14939
    wxPyEndAllowThreads(__tstate);
 
14940
    if (PyErr_Occurred()) SWIG_fail;
 
14941
  }
 
14942
  {
 
14943
    resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
 
14944
  }
 
14945
  return resultobj;
 
14946
fail:
 
14947
  return NULL;
 
14948
}
 
14949
 
 
14950
 
 
14951
SWIGINTERN PyObject *_wrap_RichTextBuffer_EndUnderline(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
14952
  PyObject *resultobj = 0;
 
14953
  wxRichTextBuffer *arg1 = (wxRichTextBuffer *) 0 ;
 
14954
  bool result;
 
14955
  void *argp1 = 0 ;
 
14956
  int res1 = 0 ;
 
14957
  PyObject *swig_obj[1] ;
 
14958
  
 
14959
  if (!args) SWIG_fail;
 
14960
  swig_obj[0] = args;
 
14961
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextBuffer, 0 |  0 );
 
14962
  if (!SWIG_IsOK(res1)) {
 
14963
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextBuffer_EndUnderline" "', expected argument " "1"" of type '" "wxRichTextBuffer *""'"); 
 
14964
  }
 
14965
  arg1 = reinterpret_cast< wxRichTextBuffer * >(argp1);
 
14966
  {
 
14967
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
14968
    result = (bool)(arg1)->EndUnderline();
 
14969
    wxPyEndAllowThreads(__tstate);
 
14970
    if (PyErr_Occurred()) SWIG_fail;
 
14971
  }
 
14972
  {
 
14973
    resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
 
14974
  }
 
14975
  return resultobj;
 
14976
fail:
 
14977
  return NULL;
 
14978
}
 
14979
 
 
14980
 
 
14981
SWIGINTERN PyObject *_wrap_RichTextBuffer_BeginFontSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
14982
  PyObject *resultobj = 0;
 
14983
  wxRichTextBuffer *arg1 = (wxRichTextBuffer *) 0 ;
 
14984
  int arg2 ;
 
14985
  bool result;
 
14986
  void *argp1 = 0 ;
 
14987
  int res1 = 0 ;
 
14988
  int val2 ;
 
14989
  int ecode2 = 0 ;
 
14990
  PyObject * obj0 = 0 ;
 
14991
  PyObject * obj1 = 0 ;
 
14992
  char *  kwnames[] = {
 
14993
    (char *) "self",(char *) "pointSize", NULL 
 
14994
  };
 
14995
  
 
14996
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RichTextBuffer_BeginFontSize",kwnames,&obj0,&obj1)) SWIG_fail;
 
14997
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextBuffer, 0 |  0 );
 
14998
  if (!SWIG_IsOK(res1)) {
 
14999
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextBuffer_BeginFontSize" "', expected argument " "1"" of type '" "wxRichTextBuffer *""'"); 
 
15000
  }
 
15001
  arg1 = reinterpret_cast< wxRichTextBuffer * >(argp1);
 
15002
  ecode2 = SWIG_AsVal_int(obj1, &val2);
 
15003
  if (!SWIG_IsOK(ecode2)) {
 
15004
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RichTextBuffer_BeginFontSize" "', expected argument " "2"" of type '" "int""'");
 
15005
  } 
 
15006
  arg2 = static_cast< int >(val2);
 
15007
  {
 
15008
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
15009
    result = (bool)(arg1)->BeginFontSize(arg2);
 
15010
    wxPyEndAllowThreads(__tstate);
 
15011
    if (PyErr_Occurred()) SWIG_fail;
 
15012
  }
 
15013
  {
 
15014
    resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
 
15015
  }
 
15016
  return resultobj;
 
15017
fail:
 
15018
  return NULL;
 
15019
}
 
15020
 
 
15021
 
 
15022
SWIGINTERN PyObject *_wrap_RichTextBuffer_EndFontSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
15023
  PyObject *resultobj = 0;
 
15024
  wxRichTextBuffer *arg1 = (wxRichTextBuffer *) 0 ;
 
15025
  bool result;
 
15026
  void *argp1 = 0 ;
 
15027
  int res1 = 0 ;
 
15028
  PyObject *swig_obj[1] ;
 
15029
  
 
15030
  if (!args) SWIG_fail;
 
15031
  swig_obj[0] = args;
 
15032
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextBuffer, 0 |  0 );
 
15033
  if (!SWIG_IsOK(res1)) {
 
15034
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextBuffer_EndFontSize" "', expected argument " "1"" of type '" "wxRichTextBuffer *""'"); 
 
15035
  }
 
15036
  arg1 = reinterpret_cast< wxRichTextBuffer * >(argp1);
 
15037
  {
 
15038
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
15039
    result = (bool)(arg1)->EndFontSize();
 
15040
    wxPyEndAllowThreads(__tstate);
 
15041
    if (PyErr_Occurred()) SWIG_fail;
 
15042
  }
 
15043
  {
 
15044
    resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
 
15045
  }
 
15046
  return resultobj;
 
15047
fail:
 
15048
  return NULL;
 
15049
}
 
15050
 
 
15051
 
 
15052
SWIGINTERN PyObject *_wrap_RichTextBuffer_BeginFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
15053
  PyObject *resultobj = 0;
 
15054
  wxRichTextBuffer *arg1 = (wxRichTextBuffer *) 0 ;
 
15055
  wxFont *arg2 = 0 ;
 
15056
  bool result;
 
15057
  void *argp1 = 0 ;
 
15058
  int res1 = 0 ;
 
15059
  void *argp2 = 0 ;
 
15060
  int res2 = 0 ;
 
15061
  PyObject * obj0 = 0 ;
 
15062
  PyObject * obj1 = 0 ;
 
15063
  char *  kwnames[] = {
 
15064
    (char *) "self",(char *) "font", NULL 
 
15065
  };
 
15066
  
 
15067
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RichTextBuffer_BeginFont",kwnames,&obj0,&obj1)) SWIG_fail;
 
15068
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextBuffer, 0 |  0 );
 
15069
  if (!SWIG_IsOK(res1)) {
 
15070
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextBuffer_BeginFont" "', expected argument " "1"" of type '" "wxRichTextBuffer *""'"); 
 
15071
  }
 
15072
  arg1 = reinterpret_cast< wxRichTextBuffer * >(argp1);
 
15073
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxFont,  0  | 0);
 
15074
  if (!SWIG_IsOK(res2)) {
 
15075
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "RichTextBuffer_BeginFont" "', expected argument " "2"" of type '" "wxFont const &""'"); 
 
15076
  }
 
15077
  if (!argp2) {
 
15078
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "RichTextBuffer_BeginFont" "', expected argument " "2"" of type '" "wxFont const &""'"); 
 
15079
  }
 
15080
  arg2 = reinterpret_cast< wxFont * >(argp2);
 
15081
  {
 
15082
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
15083
    result = (bool)(arg1)->BeginFont((wxFont const &)*arg2);
 
15084
    wxPyEndAllowThreads(__tstate);
 
15085
    if (PyErr_Occurred()) SWIG_fail;
 
15086
  }
 
15087
  {
 
15088
    resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
 
15089
  }
 
15090
  return resultobj;
 
15091
fail:
 
15092
  return NULL;
 
15093
}
 
15094
 
 
15095
 
 
15096
SWIGINTERN PyObject *_wrap_RichTextBuffer_EndFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
15097
  PyObject *resultobj = 0;
 
15098
  wxRichTextBuffer *arg1 = (wxRichTextBuffer *) 0 ;
 
15099
  bool result;
 
15100
  void *argp1 = 0 ;
 
15101
  int res1 = 0 ;
 
15102
  PyObject *swig_obj[1] ;
 
15103
  
 
15104
  if (!args) SWIG_fail;
 
15105
  swig_obj[0] = args;
 
15106
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextBuffer, 0 |  0 );
 
15107
  if (!SWIG_IsOK(res1)) {
 
15108
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextBuffer_EndFont" "', expected argument " "1"" of type '" "wxRichTextBuffer *""'"); 
 
15109
  }
 
15110
  arg1 = reinterpret_cast< wxRichTextBuffer * >(argp1);
 
15111
  {
 
15112
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
15113
    result = (bool)(arg1)->EndFont();
 
15114
    wxPyEndAllowThreads(__tstate);
 
15115
    if (PyErr_Occurred()) SWIG_fail;
 
15116
  }
 
15117
  {
 
15118
    resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
 
15119
  }
 
15120
  return resultobj;
 
15121
fail:
 
15122
  return NULL;
 
15123
}
 
15124
 
 
15125
 
 
15126
SWIGINTERN PyObject *_wrap_RichTextBuffer_BeginTextColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
15127
  PyObject *resultobj = 0;
 
15128
  wxRichTextBuffer *arg1 = (wxRichTextBuffer *) 0 ;
 
15129
  wxColour *arg2 = 0 ;
 
15130
  bool result;
 
15131
  void *argp1 = 0 ;
 
15132
  int res1 = 0 ;
 
15133
  wxColour temp2 ;
 
15134
  PyObject * obj0 = 0 ;
 
15135
  PyObject * obj1 = 0 ;
 
15136
  char *  kwnames[] = {
 
15137
    (char *) "self",(char *) "colour", NULL 
 
15138
  };
 
15139
  
 
15140
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RichTextBuffer_BeginTextColour",kwnames,&obj0,&obj1)) SWIG_fail;
 
15141
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextBuffer, 0 |  0 );
 
15142
  if (!SWIG_IsOK(res1)) {
 
15143
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextBuffer_BeginTextColour" "', expected argument " "1"" of type '" "wxRichTextBuffer *""'"); 
 
15144
  }
 
15145
  arg1 = reinterpret_cast< wxRichTextBuffer * >(argp1);
 
15146
  {
 
15147
    arg2 = &temp2;
 
15148
    if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
 
15149
  }
 
15150
  {
 
15151
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
15152
    result = (bool)(arg1)->BeginTextColour((wxColour const &)*arg2);
 
15153
    wxPyEndAllowThreads(__tstate);
 
15154
    if (PyErr_Occurred()) SWIG_fail;
 
15155
  }
 
15156
  {
 
15157
    resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
 
15158
  }
 
15159
  return resultobj;
 
15160
fail:
 
15161
  return NULL;
 
15162
}
 
15163
 
 
15164
 
 
15165
SWIGINTERN PyObject *_wrap_RichTextBuffer_EndTextColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
15166
  PyObject *resultobj = 0;
 
15167
  wxRichTextBuffer *arg1 = (wxRichTextBuffer *) 0 ;
 
15168
  bool result;
 
15169
  void *argp1 = 0 ;
 
15170
  int res1 = 0 ;
 
15171
  PyObject *swig_obj[1] ;
 
15172
  
 
15173
  if (!args) SWIG_fail;
 
15174
  swig_obj[0] = args;
 
15175
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextBuffer, 0 |  0 );
 
15176
  if (!SWIG_IsOK(res1)) {
 
15177
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextBuffer_EndTextColour" "', expected argument " "1"" of type '" "wxRichTextBuffer *""'"); 
 
15178
  }
 
15179
  arg1 = reinterpret_cast< wxRichTextBuffer * >(argp1);
 
15180
  {
 
15181
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
15182
    result = (bool)(arg1)->EndTextColour();
 
15183
    wxPyEndAllowThreads(__tstate);
 
15184
    if (PyErr_Occurred()) SWIG_fail;
 
15185
  }
 
15186
  {
 
15187
    resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
 
15188
  }
 
15189
  return resultobj;
 
15190
fail:
 
15191
  return NULL;
 
15192
}
 
15193
 
 
15194
 
 
15195
SWIGINTERN PyObject *_wrap_RichTextBuffer_BeginAlignment(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
15196
  PyObject *resultobj = 0;
 
15197
  wxRichTextBuffer *arg1 = (wxRichTextBuffer *) 0 ;
 
15198
  wxTextAttrAlignment arg2 ;
 
15199
  bool result;
 
15200
  void *argp1 = 0 ;
 
15201
  int res1 = 0 ;
 
15202
  int val2 ;
 
15203
  int ecode2 = 0 ;
 
15204
  PyObject * obj0 = 0 ;
 
15205
  PyObject * obj1 = 0 ;
 
15206
  char *  kwnames[] = {
 
15207
    (char *) "self",(char *) "alignment", NULL 
 
15208
  };
 
15209
  
 
15210
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RichTextBuffer_BeginAlignment",kwnames,&obj0,&obj1)) SWIG_fail;
 
15211
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextBuffer, 0 |  0 );
 
15212
  if (!SWIG_IsOK(res1)) {
 
15213
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextBuffer_BeginAlignment" "', expected argument " "1"" of type '" "wxRichTextBuffer *""'"); 
 
15214
  }
 
15215
  arg1 = reinterpret_cast< wxRichTextBuffer * >(argp1);
 
15216
  ecode2 = SWIG_AsVal_int(obj1, &val2);
 
15217
  if (!SWIG_IsOK(ecode2)) {
 
15218
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RichTextBuffer_BeginAlignment" "', expected argument " "2"" of type '" "wxTextAttrAlignment""'");
 
15219
  } 
 
15220
  arg2 = static_cast< wxTextAttrAlignment >(val2);
 
15221
  {
 
15222
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
15223
    result = (bool)(arg1)->BeginAlignment(arg2);
 
15224
    wxPyEndAllowThreads(__tstate);
 
15225
    if (PyErr_Occurred()) SWIG_fail;
 
15226
  }
 
15227
  {
 
15228
    resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
 
15229
  }
 
15230
  return resultobj;
 
15231
fail:
 
15232
  return NULL;
 
15233
}
 
15234
 
 
15235
 
 
15236
SWIGINTERN PyObject *_wrap_RichTextBuffer_EndAlignment(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
15237
  PyObject *resultobj = 0;
 
15238
  wxRichTextBuffer *arg1 = (wxRichTextBuffer *) 0 ;
 
15239
  bool result;
 
15240
  void *argp1 = 0 ;
 
15241
  int res1 = 0 ;
 
15242
  PyObject *swig_obj[1] ;
 
15243
  
 
15244
  if (!args) SWIG_fail;
 
15245
  swig_obj[0] = args;
 
15246
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextBuffer, 0 |  0 );
 
15247
  if (!SWIG_IsOK(res1)) {
 
15248
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextBuffer_EndAlignment" "', expected argument " "1"" of type '" "wxRichTextBuffer *""'"); 
 
15249
  }
 
15250
  arg1 = reinterpret_cast< wxRichTextBuffer * >(argp1);
 
15251
  {
 
15252
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
15253
    result = (bool)(arg1)->EndAlignment();
 
15254
    wxPyEndAllowThreads(__tstate);
 
15255
    if (PyErr_Occurred()) SWIG_fail;
 
15256
  }
 
15257
  {
 
15258
    resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
 
15259
  }
 
15260
  return resultobj;
 
15261
fail:
 
15262
  return NULL;
 
15263
}
 
15264
 
 
15265
 
 
15266
SWIGINTERN PyObject *_wrap_RichTextBuffer_BeginLeftIndent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
15267
  PyObject *resultobj = 0;
 
15268
  wxRichTextBuffer *arg1 = (wxRichTextBuffer *) 0 ;
 
15269
  int arg2 ;
 
15270
  int arg3 = (int) 0 ;
 
15271
  bool result;
 
15272
  void *argp1 = 0 ;
 
15273
  int res1 = 0 ;
 
15274
  int val2 ;
 
15275
  int ecode2 = 0 ;
 
15276
  int val3 ;
 
15277
  int ecode3 = 0 ;
 
15278
  PyObject * obj0 = 0 ;
 
15279
  PyObject * obj1 = 0 ;
 
15280
  PyObject * obj2 = 0 ;
 
15281
  char *  kwnames[] = {
 
15282
    (char *) "self",(char *) "leftIndent",(char *) "leftSubIndent", NULL 
 
15283
  };
 
15284
  
 
15285
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:RichTextBuffer_BeginLeftIndent",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
 
15286
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextBuffer, 0 |  0 );
 
15287
  if (!SWIG_IsOK(res1)) {
 
15288
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextBuffer_BeginLeftIndent" "', expected argument " "1"" of type '" "wxRichTextBuffer *""'"); 
 
15289
  }
 
15290
  arg1 = reinterpret_cast< wxRichTextBuffer * >(argp1);
 
15291
  ecode2 = SWIG_AsVal_int(obj1, &val2);
 
15292
  if (!SWIG_IsOK(ecode2)) {
 
15293
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RichTextBuffer_BeginLeftIndent" "', expected argument " "2"" of type '" "int""'");
 
15294
  } 
 
15295
  arg2 = static_cast< int >(val2);
 
15296
  if (obj2) {
 
15297
    ecode3 = SWIG_AsVal_int(obj2, &val3);
 
15298
    if (!SWIG_IsOK(ecode3)) {
 
15299
      SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "RichTextBuffer_BeginLeftIndent" "', expected argument " "3"" of type '" "int""'");
 
15300
    } 
 
15301
    arg3 = static_cast< int >(val3);
 
15302
  }
 
15303
  {
 
15304
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
15305
    result = (bool)(arg1)->BeginLeftIndent(arg2,arg3);
 
15306
    wxPyEndAllowThreads(__tstate);
 
15307
    if (PyErr_Occurred()) SWIG_fail;
 
15308
  }
 
15309
  {
 
15310
    resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
 
15311
  }
 
15312
  return resultobj;
 
15313
fail:
 
15314
  return NULL;
 
15315
}
 
15316
 
 
15317
 
 
15318
SWIGINTERN PyObject *_wrap_RichTextBuffer_EndLeftIndent(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
15319
  PyObject *resultobj = 0;
 
15320
  wxRichTextBuffer *arg1 = (wxRichTextBuffer *) 0 ;
 
15321
  bool result;
 
15322
  void *argp1 = 0 ;
 
15323
  int res1 = 0 ;
 
15324
  PyObject *swig_obj[1] ;
 
15325
  
 
15326
  if (!args) SWIG_fail;
 
15327
  swig_obj[0] = args;
 
15328
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextBuffer, 0 |  0 );
 
15329
  if (!SWIG_IsOK(res1)) {
 
15330
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextBuffer_EndLeftIndent" "', expected argument " "1"" of type '" "wxRichTextBuffer *""'"); 
 
15331
  }
 
15332
  arg1 = reinterpret_cast< wxRichTextBuffer * >(argp1);
 
15333
  {
 
15334
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
15335
    result = (bool)(arg1)->EndLeftIndent();
 
15336
    wxPyEndAllowThreads(__tstate);
 
15337
    if (PyErr_Occurred()) SWIG_fail;
 
15338
  }
 
15339
  {
 
15340
    resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
 
15341
  }
 
15342
  return resultobj;
 
15343
fail:
 
15344
  return NULL;
 
15345
}
 
15346
 
 
15347
 
 
15348
SWIGINTERN PyObject *_wrap_RichTextBuffer_BeginRightIndent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
15349
  PyObject *resultobj = 0;
 
15350
  wxRichTextBuffer *arg1 = (wxRichTextBuffer *) 0 ;
 
15351
  int arg2 ;
 
15352
  bool result;
 
15353
  void *argp1 = 0 ;
 
15354
  int res1 = 0 ;
 
15355
  int val2 ;
 
15356
  int ecode2 = 0 ;
 
15357
  PyObject * obj0 = 0 ;
 
15358
  PyObject * obj1 = 0 ;
 
15359
  char *  kwnames[] = {
 
15360
    (char *) "self",(char *) "rightIndent", NULL 
 
15361
  };
 
15362
  
 
15363
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RichTextBuffer_BeginRightIndent",kwnames,&obj0,&obj1)) SWIG_fail;
 
15364
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextBuffer, 0 |  0 );
 
15365
  if (!SWIG_IsOK(res1)) {
 
15366
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextBuffer_BeginRightIndent" "', expected argument " "1"" of type '" "wxRichTextBuffer *""'"); 
 
15367
  }
 
15368
  arg1 = reinterpret_cast< wxRichTextBuffer * >(argp1);
 
15369
  ecode2 = SWIG_AsVal_int(obj1, &val2);
 
15370
  if (!SWIG_IsOK(ecode2)) {
 
15371
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RichTextBuffer_BeginRightIndent" "', expected argument " "2"" of type '" "int""'");
 
15372
  } 
 
15373
  arg2 = static_cast< int >(val2);
 
15374
  {
 
15375
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
15376
    result = (bool)(arg1)->BeginRightIndent(arg2);
 
15377
    wxPyEndAllowThreads(__tstate);
 
15378
    if (PyErr_Occurred()) SWIG_fail;
 
15379
  }
 
15380
  {
 
15381
    resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
 
15382
  }
 
15383
  return resultobj;
 
15384
fail:
 
15385
  return NULL;
 
15386
}
 
15387
 
 
15388
 
 
15389
SWIGINTERN PyObject *_wrap_RichTextBuffer_EndRightIndent(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
15390
  PyObject *resultobj = 0;
 
15391
  wxRichTextBuffer *arg1 = (wxRichTextBuffer *) 0 ;
 
15392
  bool result;
 
15393
  void *argp1 = 0 ;
 
15394
  int res1 = 0 ;
 
15395
  PyObject *swig_obj[1] ;
 
15396
  
 
15397
  if (!args) SWIG_fail;
 
15398
  swig_obj[0] = args;
 
15399
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextBuffer, 0 |  0 );
 
15400
  if (!SWIG_IsOK(res1)) {
 
15401
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextBuffer_EndRightIndent" "', expected argument " "1"" of type '" "wxRichTextBuffer *""'"); 
 
15402
  }
 
15403
  arg1 = reinterpret_cast< wxRichTextBuffer * >(argp1);
 
15404
  {
 
15405
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
15406
    result = (bool)(arg1)->EndRightIndent();
 
15407
    wxPyEndAllowThreads(__tstate);
 
15408
    if (PyErr_Occurred()) SWIG_fail;
 
15409
  }
 
15410
  {
 
15411
    resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
 
15412
  }
 
15413
  return resultobj;
 
15414
fail:
 
15415
  return NULL;
 
15416
}
 
15417
 
 
15418
 
 
15419
SWIGINTERN PyObject *_wrap_RichTextBuffer_BeginParagraphSpacing(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
15420
  PyObject *resultobj = 0;
 
15421
  wxRichTextBuffer *arg1 = (wxRichTextBuffer *) 0 ;
 
15422
  int arg2 ;
 
15423
  int arg3 ;
 
15424
  bool result;
 
15425
  void *argp1 = 0 ;
 
15426
  int res1 = 0 ;
 
15427
  int val2 ;
 
15428
  int ecode2 = 0 ;
 
15429
  int val3 ;
 
15430
  int ecode3 = 0 ;
 
15431
  PyObject * obj0 = 0 ;
 
15432
  PyObject * obj1 = 0 ;
 
15433
  PyObject * obj2 = 0 ;
 
15434
  char *  kwnames[] = {
 
15435
    (char *) "self",(char *) "before",(char *) "after", NULL 
 
15436
  };
 
15437
  
 
15438
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:RichTextBuffer_BeginParagraphSpacing",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
 
15439
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextBuffer, 0 |  0 );
 
15440
  if (!SWIG_IsOK(res1)) {
 
15441
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextBuffer_BeginParagraphSpacing" "', expected argument " "1"" of type '" "wxRichTextBuffer *""'"); 
 
15442
  }
 
15443
  arg1 = reinterpret_cast< wxRichTextBuffer * >(argp1);
 
15444
  ecode2 = SWIG_AsVal_int(obj1, &val2);
 
15445
  if (!SWIG_IsOK(ecode2)) {
 
15446
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RichTextBuffer_BeginParagraphSpacing" "', expected argument " "2"" of type '" "int""'");
 
15447
  } 
 
15448
  arg2 = static_cast< int >(val2);
 
15449
  ecode3 = SWIG_AsVal_int(obj2, &val3);
 
15450
  if (!SWIG_IsOK(ecode3)) {
 
15451
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "RichTextBuffer_BeginParagraphSpacing" "', expected argument " "3"" of type '" "int""'");
 
15452
  } 
 
15453
  arg3 = static_cast< int >(val3);
 
15454
  {
 
15455
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
15456
    result = (bool)(arg1)->BeginParagraphSpacing(arg2,arg3);
 
15457
    wxPyEndAllowThreads(__tstate);
 
15458
    if (PyErr_Occurred()) SWIG_fail;
 
15459
  }
 
15460
  {
 
15461
    resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
 
15462
  }
 
15463
  return resultobj;
 
15464
fail:
 
15465
  return NULL;
 
15466
}
 
15467
 
 
15468
 
 
15469
SWIGINTERN PyObject *_wrap_RichTextBuffer_EndParagraphSpacing(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
15470
  PyObject *resultobj = 0;
 
15471
  wxRichTextBuffer *arg1 = (wxRichTextBuffer *) 0 ;
 
15472
  bool result;
 
15473
  void *argp1 = 0 ;
 
15474
  int res1 = 0 ;
 
15475
  PyObject *swig_obj[1] ;
 
15476
  
 
15477
  if (!args) SWIG_fail;
 
15478
  swig_obj[0] = args;
 
15479
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextBuffer, 0 |  0 );
 
15480
  if (!SWIG_IsOK(res1)) {
 
15481
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextBuffer_EndParagraphSpacing" "', expected argument " "1"" of type '" "wxRichTextBuffer *""'"); 
 
15482
  }
 
15483
  arg1 = reinterpret_cast< wxRichTextBuffer * >(argp1);
 
15484
  {
 
15485
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
15486
    result = (bool)(arg1)->EndParagraphSpacing();
 
15487
    wxPyEndAllowThreads(__tstate);
 
15488
    if (PyErr_Occurred()) SWIG_fail;
 
15489
  }
 
15490
  {
 
15491
    resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
 
15492
  }
 
15493
  return resultobj;
 
15494
fail:
 
15495
  return NULL;
 
15496
}
 
15497
 
 
15498
 
 
15499
SWIGINTERN PyObject *_wrap_RichTextBuffer_BeginLineSpacing(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
15500
  PyObject *resultobj = 0;
 
15501
  wxRichTextBuffer *arg1 = (wxRichTextBuffer *) 0 ;
 
15502
  int arg2 ;
 
15503
  bool result;
 
15504
  void *argp1 = 0 ;
 
15505
  int res1 = 0 ;
 
15506
  int val2 ;
 
15507
  int ecode2 = 0 ;
 
15508
  PyObject * obj0 = 0 ;
 
15509
  PyObject * obj1 = 0 ;
 
15510
  char *  kwnames[] = {
 
15511
    (char *) "self",(char *) "lineSpacing", NULL 
 
15512
  };
 
15513
  
 
15514
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RichTextBuffer_BeginLineSpacing",kwnames,&obj0,&obj1)) SWIG_fail;
 
15515
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextBuffer, 0 |  0 );
 
15516
  if (!SWIG_IsOK(res1)) {
 
15517
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextBuffer_BeginLineSpacing" "', expected argument " "1"" of type '" "wxRichTextBuffer *""'"); 
 
15518
  }
 
15519
  arg1 = reinterpret_cast< wxRichTextBuffer * >(argp1);
 
15520
  ecode2 = SWIG_AsVal_int(obj1, &val2);
 
15521
  if (!SWIG_IsOK(ecode2)) {
 
15522
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RichTextBuffer_BeginLineSpacing" "', expected argument " "2"" of type '" "int""'");
 
15523
  } 
 
15524
  arg2 = static_cast< int >(val2);
 
15525
  {
 
15526
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
15527
    result = (bool)(arg1)->BeginLineSpacing(arg2);
 
15528
    wxPyEndAllowThreads(__tstate);
 
15529
    if (PyErr_Occurred()) SWIG_fail;
 
15530
  }
 
15531
  {
 
15532
    resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
 
15533
  }
 
15534
  return resultobj;
 
15535
fail:
 
15536
  return NULL;
 
15537
}
 
15538
 
 
15539
 
 
15540
SWIGINTERN PyObject *_wrap_RichTextBuffer_EndLineSpacing(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
15541
  PyObject *resultobj = 0;
 
15542
  wxRichTextBuffer *arg1 = (wxRichTextBuffer *) 0 ;
 
15543
  bool result;
 
15544
  void *argp1 = 0 ;
 
15545
  int res1 = 0 ;
 
15546
  PyObject *swig_obj[1] ;
 
15547
  
 
15548
  if (!args) SWIG_fail;
 
15549
  swig_obj[0] = args;
 
15550
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextBuffer, 0 |  0 );
 
15551
  if (!SWIG_IsOK(res1)) {
 
15552
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextBuffer_EndLineSpacing" "', expected argument " "1"" of type '" "wxRichTextBuffer *""'"); 
 
15553
  }
 
15554
  arg1 = reinterpret_cast< wxRichTextBuffer * >(argp1);
 
15555
  {
 
15556
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
15557
    result = (bool)(arg1)->EndLineSpacing();
 
15558
    wxPyEndAllowThreads(__tstate);
 
15559
    if (PyErr_Occurred()) SWIG_fail;
 
15560
  }
 
15561
  {
 
15562
    resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
 
15563
  }
 
15564
  return resultobj;
 
15565
fail:
 
15566
  return NULL;
 
15567
}
 
15568
 
 
15569
 
 
15570
SWIGINTERN PyObject *_wrap_RichTextBuffer_BeginNumberedBullet(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
15571
  PyObject *resultobj = 0;
 
15572
  wxRichTextBuffer *arg1 = (wxRichTextBuffer *) 0 ;
 
15573
  int arg2 ;
 
15574
  int arg3 ;
 
15575
  int arg4 ;
 
15576
  int arg5 = (int) wxTEXT_ATTR_BULLET_STYLE_ARABIC|wxTEXT_ATTR_BULLET_STYLE_PERIOD ;
 
15577
  bool result;
 
15578
  void *argp1 = 0 ;
 
15579
  int res1 = 0 ;
 
15580
  int val2 ;
 
15581
  int ecode2 = 0 ;
 
15582
  int val3 ;
 
15583
  int ecode3 = 0 ;
 
15584
  int val4 ;
 
15585
  int ecode4 = 0 ;
 
15586
  int val5 ;
 
15587
  int ecode5 = 0 ;
 
15588
  PyObject * obj0 = 0 ;
 
15589
  PyObject * obj1 = 0 ;
 
15590
  PyObject * obj2 = 0 ;
 
15591
  PyObject * obj3 = 0 ;
 
15592
  PyObject * obj4 = 0 ;
 
15593
  char *  kwnames[] = {
 
15594
    (char *) "self",(char *) "bulletNumber",(char *) "leftIndent",(char *) "leftSubIndent",(char *) "bulletStyle", NULL 
 
15595
  };
 
15596
  
 
15597
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|O:RichTextBuffer_BeginNumberedBullet",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
 
15598
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextBuffer, 0 |  0 );
 
15599
  if (!SWIG_IsOK(res1)) {
 
15600
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextBuffer_BeginNumberedBullet" "', expected argument " "1"" of type '" "wxRichTextBuffer *""'"); 
 
15601
  }
 
15602
  arg1 = reinterpret_cast< wxRichTextBuffer * >(argp1);
 
15603
  ecode2 = SWIG_AsVal_int(obj1, &val2);
 
15604
  if (!SWIG_IsOK(ecode2)) {
 
15605
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RichTextBuffer_BeginNumberedBullet" "', expected argument " "2"" of type '" "int""'");
 
15606
  } 
 
15607
  arg2 = static_cast< int >(val2);
 
15608
  ecode3 = SWIG_AsVal_int(obj2, &val3);
 
15609
  if (!SWIG_IsOK(ecode3)) {
 
15610
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "RichTextBuffer_BeginNumberedBullet" "', expected argument " "3"" of type '" "int""'");
 
15611
  } 
 
15612
  arg3 = static_cast< int >(val3);
 
15613
  ecode4 = SWIG_AsVal_int(obj3, &val4);
 
15614
  if (!SWIG_IsOK(ecode4)) {
 
15615
    SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "RichTextBuffer_BeginNumberedBullet" "', expected argument " "4"" of type '" "int""'");
 
15616
  } 
 
15617
  arg4 = static_cast< int >(val4);
 
15618
  if (obj4) {
 
15619
    ecode5 = SWIG_AsVal_int(obj4, &val5);
 
15620
    if (!SWIG_IsOK(ecode5)) {
 
15621
      SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "RichTextBuffer_BeginNumberedBullet" "', expected argument " "5"" of type '" "int""'");
 
15622
    } 
 
15623
    arg5 = static_cast< int >(val5);
 
15624
  }
 
15625
  {
 
15626
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
15627
    result = (bool)(arg1)->BeginNumberedBullet(arg2,arg3,arg4,arg5);
 
15628
    wxPyEndAllowThreads(__tstate);
 
15629
    if (PyErr_Occurred()) SWIG_fail;
 
15630
  }
 
15631
  {
 
15632
    resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
 
15633
  }
 
15634
  return resultobj;
 
15635
fail:
 
15636
  return NULL;
 
15637
}
 
15638
 
 
15639
 
 
15640
SWIGINTERN PyObject *_wrap_RichTextBuffer_EndNumberedBullet(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
15641
  PyObject *resultobj = 0;
 
15642
  wxRichTextBuffer *arg1 = (wxRichTextBuffer *) 0 ;
 
15643
  bool result;
 
15644
  void *argp1 = 0 ;
 
15645
  int res1 = 0 ;
 
15646
  PyObject *swig_obj[1] ;
 
15647
  
 
15648
  if (!args) SWIG_fail;
 
15649
  swig_obj[0] = args;
 
15650
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextBuffer, 0 |  0 );
 
15651
  if (!SWIG_IsOK(res1)) {
 
15652
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextBuffer_EndNumberedBullet" "', expected argument " "1"" of type '" "wxRichTextBuffer *""'"); 
 
15653
  }
 
15654
  arg1 = reinterpret_cast< wxRichTextBuffer * >(argp1);
 
15655
  {
 
15656
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
15657
    result = (bool)(arg1)->EndNumberedBullet();
 
15658
    wxPyEndAllowThreads(__tstate);
 
15659
    if (PyErr_Occurred()) SWIG_fail;
 
15660
  }
 
15661
  {
 
15662
    resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
 
15663
  }
 
15664
  return resultobj;
 
15665
fail:
 
15666
  return NULL;
 
15667
}
 
15668
 
 
15669
 
 
15670
SWIGINTERN PyObject *_wrap_RichTextBuffer_BeginSymbolBullet(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
15671
  PyObject *resultobj = 0;
 
15672
  wxRichTextBuffer *arg1 = (wxRichTextBuffer *) 0 ;
 
15673
  wxString *arg2 = 0 ;
 
15674
  int arg3 ;
 
15675
  int arg4 ;
 
15676
  int arg5 = (int) wxTEXT_ATTR_BULLET_STYLE_SYMBOL ;
 
15677
  bool result;
 
15678
  void *argp1 = 0 ;
 
15679
  int res1 = 0 ;
 
15680
  bool temp2 = false ;
 
15681
  int val3 ;
 
15682
  int ecode3 = 0 ;
 
15683
  int val4 ;
 
15684
  int ecode4 = 0 ;
 
15685
  int val5 ;
 
15686
  int ecode5 = 0 ;
 
15687
  PyObject * obj0 = 0 ;
 
15688
  PyObject * obj1 = 0 ;
 
15689
  PyObject * obj2 = 0 ;
 
15690
  PyObject * obj3 = 0 ;
 
15691
  PyObject * obj4 = 0 ;
 
15692
  char *  kwnames[] = {
 
15693
    (char *) "self",(char *) "symbol",(char *) "leftIndent",(char *) "leftSubIndent",(char *) "bulletStyle", NULL 
 
15694
  };
 
15695
  
 
15696
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|O:RichTextBuffer_BeginSymbolBullet",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
 
15697
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextBuffer, 0 |  0 );
 
15698
  if (!SWIG_IsOK(res1)) {
 
15699
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextBuffer_BeginSymbolBullet" "', expected argument " "1"" of type '" "wxRichTextBuffer *""'"); 
 
15700
  }
 
15701
  arg1 = reinterpret_cast< wxRichTextBuffer * >(argp1);
 
15702
  {
 
15703
    arg2 = wxString_in_helper(obj1);
 
15704
    if (arg2 == NULL) SWIG_fail;
 
15705
    temp2 = true;
 
15706
  }
 
15707
  ecode3 = SWIG_AsVal_int(obj2, &val3);
 
15708
  if (!SWIG_IsOK(ecode3)) {
 
15709
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "RichTextBuffer_BeginSymbolBullet" "', expected argument " "3"" of type '" "int""'");
 
15710
  } 
 
15711
  arg3 = static_cast< int >(val3);
 
15712
  ecode4 = SWIG_AsVal_int(obj3, &val4);
 
15713
  if (!SWIG_IsOK(ecode4)) {
 
15714
    SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "RichTextBuffer_BeginSymbolBullet" "', expected argument " "4"" of type '" "int""'");
 
15715
  } 
 
15716
  arg4 = static_cast< int >(val4);
 
15717
  if (obj4) {
 
15718
    ecode5 = SWIG_AsVal_int(obj4, &val5);
 
15719
    if (!SWIG_IsOK(ecode5)) {
 
15720
      SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "RichTextBuffer_BeginSymbolBullet" "', expected argument " "5"" of type '" "int""'");
 
15721
    } 
 
15722
    arg5 = static_cast< int >(val5);
 
15723
  }
 
15724
  {
 
15725
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
15726
    result = (bool)(arg1)->BeginSymbolBullet((wxString const &)*arg2,arg3,arg4,arg5);
 
15727
    wxPyEndAllowThreads(__tstate);
 
15728
    if (PyErr_Occurred()) SWIG_fail;
 
15729
  }
 
15730
  {
 
15731
    resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
 
15732
  }
 
15733
  {
 
15734
    if (temp2)
 
15735
    delete arg2;
 
15736
  }
 
15737
  return resultobj;
 
15738
fail:
 
15739
  {
 
15740
    if (temp2)
 
15741
    delete arg2;
 
15742
  }
 
15743
  return NULL;
 
15744
}
 
15745
 
 
15746
 
 
15747
SWIGINTERN PyObject *_wrap_RichTextBuffer_EndSymbolBullet(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
15748
  PyObject *resultobj = 0;
 
15749
  wxRichTextBuffer *arg1 = (wxRichTextBuffer *) 0 ;
 
15750
  bool result;
 
15751
  void *argp1 = 0 ;
 
15752
  int res1 = 0 ;
 
15753
  PyObject *swig_obj[1] ;
 
15754
  
 
15755
  if (!args) SWIG_fail;
 
15756
  swig_obj[0] = args;
 
15757
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextBuffer, 0 |  0 );
 
15758
  if (!SWIG_IsOK(res1)) {
 
15759
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextBuffer_EndSymbolBullet" "', expected argument " "1"" of type '" "wxRichTextBuffer *""'"); 
 
15760
  }
 
15761
  arg1 = reinterpret_cast< wxRichTextBuffer * >(argp1);
 
15762
  {
 
15763
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
15764
    result = (bool)(arg1)->EndSymbolBullet();
 
15765
    wxPyEndAllowThreads(__tstate);
 
15766
    if (PyErr_Occurred()) SWIG_fail;
 
15767
  }
 
15768
  {
 
15769
    resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
 
15770
  }
 
15771
  return resultobj;
 
15772
fail:
 
15773
  return NULL;
 
15774
}
 
15775
 
 
15776
 
 
15777
SWIGINTERN PyObject *_wrap_RichTextBuffer_BeginStandardBullet(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
15778
  PyObject *resultobj = 0;
 
15779
  wxRichTextBuffer *arg1 = (wxRichTextBuffer *) 0 ;
 
15780
  wxString *arg2 = 0 ;
 
15781
  int arg3 ;
 
15782
  int arg4 ;
 
15783
  int arg5 = (int) wxTEXT_ATTR_BULLET_STYLE_STANDARD ;
 
15784
  bool result;
 
15785
  void *argp1 = 0 ;
 
15786
  int res1 = 0 ;
 
15787
  bool temp2 = false ;
 
15788
  int val3 ;
 
15789
  int ecode3 = 0 ;
 
15790
  int val4 ;
 
15791
  int ecode4 = 0 ;
 
15792
  int val5 ;
 
15793
  int ecode5 = 0 ;
 
15794
  PyObject * obj0 = 0 ;
 
15795
  PyObject * obj1 = 0 ;
 
15796
  PyObject * obj2 = 0 ;
 
15797
  PyObject * obj3 = 0 ;
 
15798
  PyObject * obj4 = 0 ;
 
15799
  char *  kwnames[] = {
 
15800
    (char *) "self",(char *) "bulletName",(char *) "leftIndent",(char *) "leftSubIndent",(char *) "bulletStyle", NULL 
 
15801
  };
 
15802
  
 
15803
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|O:RichTextBuffer_BeginStandardBullet",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
 
15804
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextBuffer, 0 |  0 );
 
15805
  if (!SWIG_IsOK(res1)) {
 
15806
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextBuffer_BeginStandardBullet" "', expected argument " "1"" of type '" "wxRichTextBuffer *""'"); 
 
15807
  }
 
15808
  arg1 = reinterpret_cast< wxRichTextBuffer * >(argp1);
 
15809
  {
 
15810
    arg2 = wxString_in_helper(obj1);
 
15811
    if (arg2 == NULL) SWIG_fail;
 
15812
    temp2 = true;
 
15813
  }
 
15814
  ecode3 = SWIG_AsVal_int(obj2, &val3);
 
15815
  if (!SWIG_IsOK(ecode3)) {
 
15816
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "RichTextBuffer_BeginStandardBullet" "', expected argument " "3"" of type '" "int""'");
 
15817
  } 
 
15818
  arg3 = static_cast< int >(val3);
 
15819
  ecode4 = SWIG_AsVal_int(obj3, &val4);
 
15820
  if (!SWIG_IsOK(ecode4)) {
 
15821
    SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "RichTextBuffer_BeginStandardBullet" "', expected argument " "4"" of type '" "int""'");
 
15822
  } 
 
15823
  arg4 = static_cast< int >(val4);
 
15824
  if (obj4) {
 
15825
    ecode5 = SWIG_AsVal_int(obj4, &val5);
 
15826
    if (!SWIG_IsOK(ecode5)) {
 
15827
      SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "RichTextBuffer_BeginStandardBullet" "', expected argument " "5"" of type '" "int""'");
 
15828
    } 
 
15829
    arg5 = static_cast< int >(val5);
 
15830
  }
 
15831
  {
 
15832
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
15833
    result = (bool)(arg1)->BeginStandardBullet((wxString const &)*arg2,arg3,arg4,arg5);
 
15834
    wxPyEndAllowThreads(__tstate);
 
15835
    if (PyErr_Occurred()) SWIG_fail;
 
15836
  }
 
15837
  {
 
15838
    resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
 
15839
  }
 
15840
  {
 
15841
    if (temp2)
 
15842
    delete arg2;
 
15843
  }
 
15844
  return resultobj;
 
15845
fail:
 
15846
  {
 
15847
    if (temp2)
 
15848
    delete arg2;
 
15849
  }
 
15850
  return NULL;
 
15851
}
 
15852
 
 
15853
 
 
15854
SWIGINTERN PyObject *_wrap_RichTextBuffer_EndStandardBullet(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
15855
  PyObject *resultobj = 0;
 
15856
  wxRichTextBuffer *arg1 = (wxRichTextBuffer *) 0 ;
 
15857
  bool result;
 
15858
  void *argp1 = 0 ;
 
15859
  int res1 = 0 ;
 
15860
  PyObject *swig_obj[1] ;
 
15861
  
 
15862
  if (!args) SWIG_fail;
 
15863
  swig_obj[0] = args;
 
15864
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextBuffer, 0 |  0 );
 
15865
  if (!SWIG_IsOK(res1)) {
 
15866
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextBuffer_EndStandardBullet" "', expected argument " "1"" of type '" "wxRichTextBuffer *""'"); 
 
15867
  }
 
15868
  arg1 = reinterpret_cast< wxRichTextBuffer * >(argp1);
 
15869
  {
 
15870
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
15871
    result = (bool)(arg1)->EndStandardBullet();
 
15872
    wxPyEndAllowThreads(__tstate);
 
15873
    if (PyErr_Occurred()) SWIG_fail;
 
15874
  }
 
15875
  {
 
15876
    resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
 
15877
  }
 
15878
  return resultobj;
 
15879
fail:
 
15880
  return NULL;
 
15881
}
 
15882
 
 
15883
 
 
15884
SWIGINTERN PyObject *_wrap_RichTextBuffer_BeginCharacterStyle(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
15885
  PyObject *resultobj = 0;
 
15886
  wxRichTextBuffer *arg1 = (wxRichTextBuffer *) 0 ;
 
15887
  wxString *arg2 = 0 ;
 
15888
  bool result;
 
15889
  void *argp1 = 0 ;
 
15890
  int res1 = 0 ;
 
15891
  bool temp2 = false ;
 
15892
  PyObject * obj0 = 0 ;
 
15893
  PyObject * obj1 = 0 ;
 
15894
  char *  kwnames[] = {
 
15895
    (char *) "self",(char *) "characterStyle", NULL 
 
15896
  };
 
15897
  
 
15898
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RichTextBuffer_BeginCharacterStyle",kwnames,&obj0,&obj1)) SWIG_fail;
 
15899
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextBuffer, 0 |  0 );
 
15900
  if (!SWIG_IsOK(res1)) {
 
15901
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextBuffer_BeginCharacterStyle" "', expected argument " "1"" of type '" "wxRichTextBuffer *""'"); 
 
15902
  }
 
15903
  arg1 = reinterpret_cast< wxRichTextBuffer * >(argp1);
 
15904
  {
 
15905
    arg2 = wxString_in_helper(obj1);
 
15906
    if (arg2 == NULL) SWIG_fail;
 
15907
    temp2 = true;
 
15908
  }
 
15909
  {
 
15910
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
15911
    result = (bool)(arg1)->BeginCharacterStyle((wxString const &)*arg2);
 
15912
    wxPyEndAllowThreads(__tstate);
 
15913
    if (PyErr_Occurred()) SWIG_fail;
 
15914
  }
 
15915
  {
 
15916
    resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
 
15917
  }
 
15918
  {
 
15919
    if (temp2)
 
15920
    delete arg2;
 
15921
  }
 
15922
  return resultobj;
 
15923
fail:
 
15924
  {
 
15925
    if (temp2)
 
15926
    delete arg2;
 
15927
  }
 
15928
  return NULL;
 
15929
}
 
15930
 
 
15931
 
 
15932
SWIGINTERN PyObject *_wrap_RichTextBuffer_EndCharacterStyle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
15933
  PyObject *resultobj = 0;
 
15934
  wxRichTextBuffer *arg1 = (wxRichTextBuffer *) 0 ;
 
15935
  bool result;
 
15936
  void *argp1 = 0 ;
 
15937
  int res1 = 0 ;
 
15938
  PyObject *swig_obj[1] ;
 
15939
  
 
15940
  if (!args) SWIG_fail;
 
15941
  swig_obj[0] = args;
 
15942
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextBuffer, 0 |  0 );
 
15943
  if (!SWIG_IsOK(res1)) {
 
15944
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextBuffer_EndCharacterStyle" "', expected argument " "1"" of type '" "wxRichTextBuffer *""'"); 
 
15945
  }
 
15946
  arg1 = reinterpret_cast< wxRichTextBuffer * >(argp1);
 
15947
  {
 
15948
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
15949
    result = (bool)(arg1)->EndCharacterStyle();
 
15950
    wxPyEndAllowThreads(__tstate);
 
15951
    if (PyErr_Occurred()) SWIG_fail;
 
15952
  }
 
15953
  {
 
15954
    resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
 
15955
  }
 
15956
  return resultobj;
 
15957
fail:
 
15958
  return NULL;
 
15959
}
 
15960
 
 
15961
 
 
15962
SWIGINTERN PyObject *_wrap_RichTextBuffer_BeginParagraphStyle(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
15963
  PyObject *resultobj = 0;
 
15964
  wxRichTextBuffer *arg1 = (wxRichTextBuffer *) 0 ;
 
15965
  wxString *arg2 = 0 ;
 
15966
  bool result;
 
15967
  void *argp1 = 0 ;
 
15968
  int res1 = 0 ;
 
15969
  bool temp2 = false ;
 
15970
  PyObject * obj0 = 0 ;
 
15971
  PyObject * obj1 = 0 ;
 
15972
  char *  kwnames[] = {
 
15973
    (char *) "self",(char *) "paragraphStyle", NULL 
 
15974
  };
 
15975
  
 
15976
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RichTextBuffer_BeginParagraphStyle",kwnames,&obj0,&obj1)) SWIG_fail;
 
15977
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextBuffer, 0 |  0 );
 
15978
  if (!SWIG_IsOK(res1)) {
 
15979
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextBuffer_BeginParagraphStyle" "', expected argument " "1"" of type '" "wxRichTextBuffer *""'"); 
 
15980
  }
 
15981
  arg1 = reinterpret_cast< wxRichTextBuffer * >(argp1);
 
15982
  {
 
15983
    arg2 = wxString_in_helper(obj1);
 
15984
    if (arg2 == NULL) SWIG_fail;
 
15985
    temp2 = true;
 
15986
  }
 
15987
  {
 
15988
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
15989
    result = (bool)(arg1)->BeginParagraphStyle((wxString const &)*arg2);
 
15990
    wxPyEndAllowThreads(__tstate);
 
15991
    if (PyErr_Occurred()) SWIG_fail;
 
15992
  }
 
15993
  {
 
15994
    resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
 
15995
  }
 
15996
  {
 
15997
    if (temp2)
 
15998
    delete arg2;
 
15999
  }
 
16000
  return resultobj;
 
16001
fail:
 
16002
  {
 
16003
    if (temp2)
 
16004
    delete arg2;
 
16005
  }
 
16006
  return NULL;
 
16007
}
 
16008
 
 
16009
 
 
16010
SWIGINTERN PyObject *_wrap_RichTextBuffer_EndParagraphStyle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
16011
  PyObject *resultobj = 0;
 
16012
  wxRichTextBuffer *arg1 = (wxRichTextBuffer *) 0 ;
 
16013
  bool result;
 
16014
  void *argp1 = 0 ;
 
16015
  int res1 = 0 ;
 
16016
  PyObject *swig_obj[1] ;
 
16017
  
 
16018
  if (!args) SWIG_fail;
 
16019
  swig_obj[0] = args;
 
16020
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextBuffer, 0 |  0 );
 
16021
  if (!SWIG_IsOK(res1)) {
 
16022
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextBuffer_EndParagraphStyle" "', expected argument " "1"" of type '" "wxRichTextBuffer *""'"); 
 
16023
  }
 
16024
  arg1 = reinterpret_cast< wxRichTextBuffer * >(argp1);
 
16025
  {
 
16026
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
16027
    result = (bool)(arg1)->EndParagraphStyle();
 
16028
    wxPyEndAllowThreads(__tstate);
 
16029
    if (PyErr_Occurred()) SWIG_fail;
 
16030
  }
 
16031
  {
 
16032
    resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
 
16033
  }
 
16034
  return resultobj;
 
16035
fail:
 
16036
  return NULL;
 
16037
}
 
16038
 
 
16039
 
 
16040
SWIGINTERN PyObject *_wrap_RichTextBuffer_BeginListStyle(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
16041
  PyObject *resultobj = 0;
 
16042
  wxRichTextBuffer *arg1 = (wxRichTextBuffer *) 0 ;
 
16043
  wxString *arg2 = 0 ;
 
16044
  int arg3 = (int) 1 ;
 
16045
  int arg4 = (int) 1 ;
 
16046
  bool result;
 
16047
  void *argp1 = 0 ;
 
16048
  int res1 = 0 ;
 
16049
  bool temp2 = false ;
 
16050
  int val3 ;
 
16051
  int ecode3 = 0 ;
 
16052
  int val4 ;
 
16053
  int ecode4 = 0 ;
 
16054
  PyObject * obj0 = 0 ;
 
16055
  PyObject * obj1 = 0 ;
 
16056
  PyObject * obj2 = 0 ;
 
16057
  PyObject * obj3 = 0 ;
 
16058
  char *  kwnames[] = {
 
16059
    (char *) "self",(char *) "listStyle",(char *) "level",(char *) "number", NULL 
 
16060
  };
 
16061
  
 
16062
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:RichTextBuffer_BeginListStyle",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
 
16063
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextBuffer, 0 |  0 );
 
16064
  if (!SWIG_IsOK(res1)) {
 
16065
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextBuffer_BeginListStyle" "', expected argument " "1"" of type '" "wxRichTextBuffer *""'"); 
 
16066
  }
 
16067
  arg1 = reinterpret_cast< wxRichTextBuffer * >(argp1);
 
16068
  {
 
16069
    arg2 = wxString_in_helper(obj1);
 
16070
    if (arg2 == NULL) SWIG_fail;
 
16071
    temp2 = true;
 
16072
  }
 
16073
  if (obj2) {
 
16074
    ecode3 = SWIG_AsVal_int(obj2, &val3);
 
16075
    if (!SWIG_IsOK(ecode3)) {
 
16076
      SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "RichTextBuffer_BeginListStyle" "', expected argument " "3"" of type '" "int""'");
 
16077
    } 
 
16078
    arg3 = static_cast< int >(val3);
 
16079
  }
 
16080
  if (obj3) {
 
16081
    ecode4 = SWIG_AsVal_int(obj3, &val4);
 
16082
    if (!SWIG_IsOK(ecode4)) {
 
16083
      SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "RichTextBuffer_BeginListStyle" "', expected argument " "4"" of type '" "int""'");
 
16084
    } 
 
16085
    arg4 = static_cast< int >(val4);
 
16086
  }
 
16087
  {
 
16088
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
16089
    result = (bool)(arg1)->BeginListStyle((wxString const &)*arg2,arg3,arg4);
 
16090
    wxPyEndAllowThreads(__tstate);
 
16091
    if (PyErr_Occurred()) SWIG_fail;
 
16092
  }
 
16093
  {
 
16094
    resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
 
16095
  }
 
16096
  {
 
16097
    if (temp2)
 
16098
    delete arg2;
 
16099
  }
 
16100
  return resultobj;
 
16101
fail:
 
16102
  {
 
16103
    if (temp2)
 
16104
    delete arg2;
 
16105
  }
 
16106
  return NULL;
 
16107
}
 
16108
 
 
16109
 
 
16110
SWIGINTERN PyObject *_wrap_RichTextBuffer_EndListStyle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
16111
  PyObject *resultobj = 0;
 
16112
  wxRichTextBuffer *arg1 = (wxRichTextBuffer *) 0 ;
 
16113
  bool result;
 
16114
  void *argp1 = 0 ;
 
16115
  int res1 = 0 ;
 
16116
  PyObject *swig_obj[1] ;
 
16117
  
 
16118
  if (!args) SWIG_fail;
 
16119
  swig_obj[0] = args;
 
16120
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextBuffer, 0 |  0 );
 
16121
  if (!SWIG_IsOK(res1)) {
 
16122
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextBuffer_EndListStyle" "', expected argument " "1"" of type '" "wxRichTextBuffer *""'"); 
 
16123
  }
 
16124
  arg1 = reinterpret_cast< wxRichTextBuffer * >(argp1);
 
16125
  {
 
16126
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
16127
    result = (bool)(arg1)->EndListStyle();
 
16128
    wxPyEndAllowThreads(__tstate);
 
16129
    if (PyErr_Occurred()) SWIG_fail;
 
16130
  }
 
16131
  {
 
16132
    resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
 
16133
  }
 
16134
  return resultobj;
 
16135
fail:
 
16136
  return NULL;
 
16137
}
 
16138
 
 
16139
 
 
16140
SWIGINTERN PyObject *_wrap_RichTextBuffer_BeginURL(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
16141
  PyObject *resultobj = 0;
 
16142
  wxRichTextBuffer *arg1 = (wxRichTextBuffer *) 0 ;
 
16143
  wxString *arg2 = 0 ;
 
16144
  wxString const &arg3_defvalue = wxEmptyString ;
 
16145
  wxString *arg3 = (wxString *) &arg3_defvalue ;
 
16146
  bool result;
 
16147
  void *argp1 = 0 ;
 
16148
  int res1 = 0 ;
 
16149
  bool temp2 = false ;
 
16150
  bool temp3 = false ;
 
16151
  PyObject * obj0 = 0 ;
 
16152
  PyObject * obj1 = 0 ;
 
16153
  PyObject * obj2 = 0 ;
 
16154
  char *  kwnames[] = {
 
16155
    (char *) "self",(char *) "url",(char *) "characterStyle", NULL 
 
16156
  };
 
16157
  
 
16158
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:RichTextBuffer_BeginURL",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
 
16159
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextBuffer, 0 |  0 );
 
16160
  if (!SWIG_IsOK(res1)) {
 
16161
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextBuffer_BeginURL" "', expected argument " "1"" of type '" "wxRichTextBuffer *""'"); 
 
16162
  }
 
16163
  arg1 = reinterpret_cast< wxRichTextBuffer * >(argp1);
 
16164
  {
 
16165
    arg2 = wxString_in_helper(obj1);
 
16166
    if (arg2 == NULL) SWIG_fail;
 
16167
    temp2 = true;
 
16168
  }
 
16169
  if (obj2) {
 
16170
    {
 
16171
      arg3 = wxString_in_helper(obj2);
 
16172
      if (arg3 == NULL) SWIG_fail;
 
16173
      temp3 = true;
 
16174
    }
 
16175
  }
 
16176
  {
 
16177
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
16178
    result = (bool)(arg1)->BeginURL((wxString const &)*arg2,(wxString const &)*arg3);
 
16179
    wxPyEndAllowThreads(__tstate);
 
16180
    if (PyErr_Occurred()) SWIG_fail;
 
16181
  }
 
16182
  {
 
16183
    resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
 
16184
  }
 
16185
  {
 
16186
    if (temp2)
 
16187
    delete arg2;
 
16188
  }
 
16189
  {
 
16190
    if (temp3)
 
16191
    delete arg3;
 
16192
  }
 
16193
  return resultobj;
 
16194
fail:
 
16195
  {
 
16196
    if (temp2)
 
16197
    delete arg2;
 
16198
  }
 
16199
  {
 
16200
    if (temp3)
 
16201
    delete arg3;
 
16202
  }
 
16203
  return NULL;
 
16204
}
 
16205
 
 
16206
 
 
16207
SWIGINTERN PyObject *_wrap_RichTextBuffer_EndURL(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
16208
  PyObject *resultobj = 0;
 
16209
  wxRichTextBuffer *arg1 = (wxRichTextBuffer *) 0 ;
 
16210
  bool result;
 
16211
  void *argp1 = 0 ;
 
16212
  int res1 = 0 ;
 
16213
  PyObject *swig_obj[1] ;
 
16214
  
 
16215
  if (!args) SWIG_fail;
 
16216
  swig_obj[0] = args;
 
16217
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextBuffer, 0 |  0 );
 
16218
  if (!SWIG_IsOK(res1)) {
 
16219
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextBuffer_EndURL" "', expected argument " "1"" of type '" "wxRichTextBuffer *""'"); 
 
16220
  }
 
16221
  arg1 = reinterpret_cast< wxRichTextBuffer * >(argp1);
 
16222
  {
 
16223
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
16224
    result = (bool)(arg1)->EndURL();
 
16225
    wxPyEndAllowThreads(__tstate);
 
16226
    if (PyErr_Occurred()) SWIG_fail;
 
16227
  }
 
16228
  {
 
16229
    resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
 
16230
  }
 
16231
  return resultobj;
 
16232
fail:
 
16233
  return NULL;
 
16234
}
 
16235
 
 
16236
 
 
16237
SWIGINTERN PyObject *_wrap_RichTextBuffer_AddEventHandler(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
16238
  PyObject *resultobj = 0;
 
16239
  wxRichTextBuffer *arg1 = (wxRichTextBuffer *) 0 ;
 
16240
  wxEvtHandler *arg2 = (wxEvtHandler *) 0 ;
 
16241
  bool result;
 
16242
  void *argp1 = 0 ;
 
16243
  int res1 = 0 ;
 
16244
  void *argp2 = 0 ;
 
16245
  int res2 = 0 ;
 
16246
  PyObject * obj0 = 0 ;
 
16247
  PyObject * obj1 = 0 ;
 
16248
  char *  kwnames[] = {
 
16249
    (char *) "self",(char *) "handler", NULL 
 
16250
  };
 
16251
  
 
16252
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RichTextBuffer_AddEventHandler",kwnames,&obj0,&obj1)) SWIG_fail;
 
16253
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextBuffer, 0 |  0 );
 
16254
  if (!SWIG_IsOK(res1)) {
 
16255
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextBuffer_AddEventHandler" "', expected argument " "1"" of type '" "wxRichTextBuffer *""'"); 
 
16256
  }
 
16257
  arg1 = reinterpret_cast< wxRichTextBuffer * >(argp1);
 
16258
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxEvtHandler, 0 |  0 );
 
16259
  if (!SWIG_IsOK(res2)) {
 
16260
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "RichTextBuffer_AddEventHandler" "', expected argument " "2"" of type '" "wxEvtHandler *""'"); 
 
16261
  }
 
16262
  arg2 = reinterpret_cast< wxEvtHandler * >(argp2);
 
16263
  {
 
16264
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
16265
    result = (bool)(arg1)->AddEventHandler(arg2);
 
16266
    wxPyEndAllowThreads(__tstate);
 
16267
    if (PyErr_Occurred()) SWIG_fail;
 
16268
  }
 
16269
  {
 
16270
    resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
 
16271
  }
 
16272
  return resultobj;
 
16273
fail:
 
16274
  return NULL;
 
16275
}
 
16276
 
 
16277
 
 
16278
SWIGINTERN PyObject *_wrap_RichTextBuffer_RemoveEventHandler(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
16279
  PyObject *resultobj = 0;
 
16280
  wxRichTextBuffer *arg1 = (wxRichTextBuffer *) 0 ;
 
16281
  wxEvtHandler *arg2 = (wxEvtHandler *) 0 ;
 
16282
  bool arg3 = (bool) false ;
 
16283
  bool result;
 
16284
  void *argp1 = 0 ;
 
16285
  int res1 = 0 ;
 
16286
  void *argp2 = 0 ;
 
16287
  int res2 = 0 ;
 
16288
  bool val3 ;
 
16289
  int ecode3 = 0 ;
 
16290
  PyObject * obj0 = 0 ;
 
16291
  PyObject * obj1 = 0 ;
 
16292
  PyObject * obj2 = 0 ;
 
16293
  char *  kwnames[] = {
 
16294
    (char *) "self",(char *) "handler",(char *) "deleteHandler", NULL 
 
16295
  };
 
16296
  
 
16297
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:RichTextBuffer_RemoveEventHandler",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
 
16298
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextBuffer, 0 |  0 );
 
16299
  if (!SWIG_IsOK(res1)) {
 
16300
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextBuffer_RemoveEventHandler" "', expected argument " "1"" of type '" "wxRichTextBuffer *""'"); 
 
16301
  }
 
16302
  arg1 = reinterpret_cast< wxRichTextBuffer * >(argp1);
 
16303
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxEvtHandler, 0 |  0 );
 
16304
  if (!SWIG_IsOK(res2)) {
 
16305
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "RichTextBuffer_RemoveEventHandler" "', expected argument " "2"" of type '" "wxEvtHandler *""'"); 
 
16306
  }
 
16307
  arg2 = reinterpret_cast< wxEvtHandler * >(argp2);
 
16308
  if (obj2) {
 
16309
    ecode3 = SWIG_AsVal_bool(obj2, &val3);
 
16310
    if (!SWIG_IsOK(ecode3)) {
 
16311
      SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "RichTextBuffer_RemoveEventHandler" "', expected argument " "3"" of type '" "bool""'");
 
16312
    } 
 
16313
    arg3 = static_cast< bool >(val3);
 
16314
  }
 
16315
  {
 
16316
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
16317
    result = (bool)(arg1)->RemoveEventHandler(arg2,arg3);
 
16318
    wxPyEndAllowThreads(__tstate);
 
16319
    if (PyErr_Occurred()) SWIG_fail;
 
16320
  }
 
16321
  {
 
16322
    resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
 
16323
  }
 
16324
  return resultobj;
 
16325
fail:
 
16326
  return NULL;
 
16327
}
 
16328
 
 
16329
 
 
16330
SWIGINTERN PyObject *_wrap_RichTextBuffer_ClearEventHandlers(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
16331
  PyObject *resultobj = 0;
 
16332
  wxRichTextBuffer *arg1 = (wxRichTextBuffer *) 0 ;
 
16333
  void *argp1 = 0 ;
 
16334
  int res1 = 0 ;
 
16335
  PyObject *swig_obj[1] ;
 
16336
  
 
16337
  if (!args) SWIG_fail;
 
16338
  swig_obj[0] = args;
 
16339
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextBuffer, 0 |  0 );
 
16340
  if (!SWIG_IsOK(res1)) {
 
16341
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextBuffer_ClearEventHandlers" "', expected argument " "1"" of type '" "wxRichTextBuffer *""'"); 
 
16342
  }
 
16343
  arg1 = reinterpret_cast< wxRichTextBuffer * >(argp1);
 
16344
  {
 
16345
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
16346
    (arg1)->ClearEventHandlers();
 
16347
    wxPyEndAllowThreads(__tstate);
 
16348
    if (PyErr_Occurred()) SWIG_fail;
 
16349
  }
 
16350
  resultobj = SWIG_Py_Void();
 
16351
  return resultobj;
 
16352
fail:
 
16353
  return NULL;
 
16354
}
 
16355
 
 
16356
 
 
16357
SWIGINTERN PyObject *_wrap_RichTextBuffer_SendEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
16358
  PyObject *resultobj = 0;
 
16359
  wxRichTextBuffer *arg1 = (wxRichTextBuffer *) 0 ;
 
16360
  wxEvent *arg2 = 0 ;
 
16361
  bool arg3 = (bool) true ;
 
16362
  bool result;
 
16363
  void *argp1 = 0 ;
 
16364
  int res1 = 0 ;
 
16365
  void *argp2 = 0 ;
 
16366
  int res2 = 0 ;
 
16367
  bool val3 ;
 
16368
  int ecode3 = 0 ;
 
16369
  PyObject * obj0 = 0 ;
 
16370
  PyObject * obj1 = 0 ;
 
16371
  PyObject * obj2 = 0 ;
 
16372
  char *  kwnames[] = {
 
16373
    (char *) "self",(char *) "event",(char *) "sendToAll", NULL 
 
16374
  };
 
16375
  
 
16376
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:RichTextBuffer_SendEvent",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
 
16377
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextBuffer, 0 |  0 );
 
16378
  if (!SWIG_IsOK(res1)) {
 
16379
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextBuffer_SendEvent" "', expected argument " "1"" of type '" "wxRichTextBuffer *""'"); 
 
16380
  }
 
16381
  arg1 = reinterpret_cast< wxRichTextBuffer * >(argp1);
 
16382
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxEvent,  0 );
 
16383
  if (!SWIG_IsOK(res2)) {
 
16384
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "RichTextBuffer_SendEvent" "', expected argument " "2"" of type '" "wxEvent &""'"); 
 
16385
  }
 
16386
  if (!argp2) {
 
16387
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "RichTextBuffer_SendEvent" "', expected argument " "2"" of type '" "wxEvent &""'"); 
 
16388
  }
 
16389
  arg2 = reinterpret_cast< wxEvent * >(argp2);
 
16390
  if (obj2) {
 
16391
    ecode3 = SWIG_AsVal_bool(obj2, &val3);
 
16392
    if (!SWIG_IsOK(ecode3)) {
 
16393
      SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "RichTextBuffer_SendEvent" "', expected argument " "3"" of type '" "bool""'");
 
16394
    } 
 
16395
    arg3 = static_cast< bool >(val3);
 
16396
  }
 
16397
  {
 
16398
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
16399
    result = (bool)(arg1)->SendEvent(*arg2,arg3);
 
16400
    wxPyEndAllowThreads(__tstate);
 
16401
    if (PyErr_Occurred()) SWIG_fail;
 
16402
  }
 
16403
  {
 
16404
    resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
 
16405
  }
 
16406
  return resultobj;
 
16407
fail:
 
16408
  return NULL;
 
16409
}
 
16410
 
 
16411
 
 
16412
SWIGINTERN PyObject *_wrap_RichTextBuffer_Copy(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
16413
  PyObject *resultobj = 0;
 
16414
  wxRichTextBuffer *arg1 = (wxRichTextBuffer *) 0 ;
 
16415
  wxRichTextBuffer *arg2 = 0 ;
 
16416
  void *argp1 = 0 ;
 
16417
  int res1 = 0 ;
 
16418
  void *argp2 = 0 ;
 
16419
  int res2 = 0 ;
 
16420
  PyObject * obj0 = 0 ;
 
16421
  PyObject * obj1 = 0 ;
 
16422
  char *  kwnames[] = {
 
16423
    (char *) "self",(char *) "obj", NULL 
 
16424
  };
 
16425
  
 
16426
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RichTextBuffer_Copy",kwnames,&obj0,&obj1)) SWIG_fail;
 
16427
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextBuffer, 0 |  0 );
 
16428
  if (!SWIG_IsOK(res1)) {
 
16429
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextBuffer_Copy" "', expected argument " "1"" of type '" "wxRichTextBuffer *""'"); 
 
16430
  }
 
16431
  arg1 = reinterpret_cast< wxRichTextBuffer * >(argp1);
 
16432
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxRichTextBuffer,  0  | 0);
 
16433
  if (!SWIG_IsOK(res2)) {
 
16434
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "RichTextBuffer_Copy" "', expected argument " "2"" of type '" "wxRichTextBuffer const &""'"); 
 
16435
  }
 
16436
  if (!argp2) {
 
16437
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "RichTextBuffer_Copy" "', expected argument " "2"" of type '" "wxRichTextBuffer const &""'"); 
 
16438
  }
 
16439
  arg2 = reinterpret_cast< wxRichTextBuffer * >(argp2);
 
16440
  {
 
16441
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
16442
    (arg1)->Copy((wxRichTextBuffer const &)*arg2);
 
16443
    wxPyEndAllowThreads(__tstate);
 
16444
    if (PyErr_Occurred()) SWIG_fail;
 
16445
  }
 
16446
  resultobj = SWIG_Py_Void();
 
16447
  return resultobj;
 
16448
fail:
 
16449
  return NULL;
 
16450
}
 
16451
 
 
16452
 
 
16453
SWIGINTERN PyObject *_wrap_RichTextBuffer_InsertParagraphsWithUndo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
16454
  PyObject *resultobj = 0;
 
16455
  wxRichTextBuffer *arg1 = (wxRichTextBuffer *) 0 ;
 
16456
  long arg2 ;
 
16457
  wxRichTextParagraphLayoutBox *arg3 = 0 ;
 
16458
  wxRichTextCtrl *arg4 = (wxRichTextCtrl *) 0 ;
 
16459
  int arg5 = (int) 0 ;
 
16460
  bool result;
 
16461
  void *argp1 = 0 ;
 
16462
  int res1 = 0 ;
 
16463
  long val2 ;
 
16464
  int ecode2 = 0 ;
 
16465
  void *argp3 = 0 ;
 
16466
  int res3 = 0 ;
 
16467
  void *argp4 = 0 ;
 
16468
  int res4 = 0 ;
 
16469
  int val5 ;
 
16470
  int ecode5 = 0 ;
 
16471
  PyObject * obj0 = 0 ;
 
16472
  PyObject * obj1 = 0 ;
 
16473
  PyObject * obj2 = 0 ;
 
16474
  PyObject * obj3 = 0 ;
 
16475
  PyObject * obj4 = 0 ;
 
16476
  char *  kwnames[] = {
 
16477
    (char *) "self",(char *) "pos",(char *) "paragraphs",(char *) "ctrl",(char *) "flags", NULL 
 
16478
  };
 
16479
  
 
16480
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|O:RichTextBuffer_InsertParagraphsWithUndo",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
 
16481
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextBuffer, 0 |  0 );
 
16482
  if (!SWIG_IsOK(res1)) {
 
16483
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextBuffer_InsertParagraphsWithUndo" "', expected argument " "1"" of type '" "wxRichTextBuffer *""'"); 
 
16484
  }
 
16485
  arg1 = reinterpret_cast< wxRichTextBuffer * >(argp1);
 
16486
  ecode2 = SWIG_AsVal_long(obj1, &val2);
 
16487
  if (!SWIG_IsOK(ecode2)) {
 
16488
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RichTextBuffer_InsertParagraphsWithUndo" "', expected argument " "2"" of type '" "long""'");
 
16489
  } 
 
16490
  arg2 = static_cast< long >(val2);
 
16491
  res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxRichTextParagraphLayoutBox,  0  | 0);
 
16492
  if (!SWIG_IsOK(res3)) {
 
16493
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "RichTextBuffer_InsertParagraphsWithUndo" "', expected argument " "3"" of type '" "wxRichTextParagraphLayoutBox const &""'"); 
 
16494
  }
 
16495
  if (!argp3) {
 
16496
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "RichTextBuffer_InsertParagraphsWithUndo" "', expected argument " "3"" of type '" "wxRichTextParagraphLayoutBox const &""'"); 
 
16497
  }
 
16498
  arg3 = reinterpret_cast< wxRichTextParagraphLayoutBox * >(argp3);
 
16499
  res4 = SWIG_ConvertPtr(obj3, &argp4,SWIGTYPE_p_wxRichTextCtrl, 0 |  0 );
 
16500
  if (!SWIG_IsOK(res4)) {
 
16501
    SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "RichTextBuffer_InsertParagraphsWithUndo" "', expected argument " "4"" of type '" "wxRichTextCtrl *""'"); 
 
16502
  }
 
16503
  arg4 = reinterpret_cast< wxRichTextCtrl * >(argp4);
 
16504
  if (obj4) {
 
16505
    ecode5 = SWIG_AsVal_int(obj4, &val5);
 
16506
    if (!SWIG_IsOK(ecode5)) {
 
16507
      SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "RichTextBuffer_InsertParagraphsWithUndo" "', expected argument " "5"" of type '" "int""'");
 
16508
    } 
 
16509
    arg5 = static_cast< int >(val5);
 
16510
  }
 
16511
  {
 
16512
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
16513
    result = (bool)(arg1)->InsertParagraphsWithUndo(arg2,(wxRichTextParagraphLayoutBox const &)*arg3,arg4,arg5);
 
16514
    wxPyEndAllowThreads(__tstate);
 
16515
    if (PyErr_Occurred()) SWIG_fail;
 
16516
  }
 
16517
  {
 
16518
    resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
 
16519
  }
 
16520
  return resultobj;
 
16521
fail:
 
16522
  return NULL;
 
16523
}
 
16524
 
 
16525
 
 
16526
SWIGINTERN PyObject *_wrap_RichTextBuffer_InsertTextWithUndo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
16527
  PyObject *resultobj = 0;
 
16528
  wxRichTextBuffer *arg1 = (wxRichTextBuffer *) 0 ;
 
16529
  long arg2 ;
 
16530
  wxString *arg3 = 0 ;
 
16531
  wxRichTextCtrl *arg4 = (wxRichTextCtrl *) 0 ;
 
16532
  int arg5 = (int) 0 ;
 
16533
  bool result;
 
16534
  void *argp1 = 0 ;
 
16535
  int res1 = 0 ;
 
16536
  long val2 ;
 
16537
  int ecode2 = 0 ;
 
16538
  bool temp3 = false ;
 
16539
  void *argp4 = 0 ;
 
16540
  int res4 = 0 ;
 
16541
  int val5 ;
 
16542
  int ecode5 = 0 ;
 
16543
  PyObject * obj0 = 0 ;
 
16544
  PyObject * obj1 = 0 ;
 
16545
  PyObject * obj2 = 0 ;
 
16546
  PyObject * obj3 = 0 ;
 
16547
  PyObject * obj4 = 0 ;
 
16548
  char *  kwnames[] = {
 
16549
    (char *) "self",(char *) "pos",(char *) "text",(char *) "ctrl",(char *) "flags", NULL 
 
16550
  };
 
16551
  
 
16552
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|O:RichTextBuffer_InsertTextWithUndo",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
 
16553
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextBuffer, 0 |  0 );
 
16554
  if (!SWIG_IsOK(res1)) {
 
16555
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextBuffer_InsertTextWithUndo" "', expected argument " "1"" of type '" "wxRichTextBuffer *""'"); 
 
16556
  }
 
16557
  arg1 = reinterpret_cast< wxRichTextBuffer * >(argp1);
 
16558
  ecode2 = SWIG_AsVal_long(obj1, &val2);
 
16559
  if (!SWIG_IsOK(ecode2)) {
 
16560
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RichTextBuffer_InsertTextWithUndo" "', expected argument " "2"" of type '" "long""'");
 
16561
  } 
 
16562
  arg2 = static_cast< long >(val2);
 
16563
  {
 
16564
    arg3 = wxString_in_helper(obj2);
 
16565
    if (arg3 == NULL) SWIG_fail;
 
16566
    temp3 = true;
 
16567
  }
 
16568
  res4 = SWIG_ConvertPtr(obj3, &argp4,SWIGTYPE_p_wxRichTextCtrl, 0 |  0 );
 
16569
  if (!SWIG_IsOK(res4)) {
 
16570
    SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "RichTextBuffer_InsertTextWithUndo" "', expected argument " "4"" of type '" "wxRichTextCtrl *""'"); 
 
16571
  }
 
16572
  arg4 = reinterpret_cast< wxRichTextCtrl * >(argp4);
 
16573
  if (obj4) {
 
16574
    ecode5 = SWIG_AsVal_int(obj4, &val5);
 
16575
    if (!SWIG_IsOK(ecode5)) {
 
16576
      SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "RichTextBuffer_InsertTextWithUndo" "', expected argument " "5"" of type '" "int""'");
 
16577
    } 
 
16578
    arg5 = static_cast< int >(val5);
 
16579
  }
 
16580
  {
 
16581
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
16582
    result = (bool)(arg1)->InsertTextWithUndo(arg2,(wxString const &)*arg3,arg4,arg5);
 
16583
    wxPyEndAllowThreads(__tstate);
 
16584
    if (PyErr_Occurred()) SWIG_fail;
 
16585
  }
 
16586
  {
 
16587
    resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
 
16588
  }
 
16589
  {
 
16590
    if (temp3)
 
16591
    delete arg3;
 
16592
  }
 
16593
  return resultobj;
 
16594
fail:
 
16595
  {
 
16596
    if (temp3)
 
16597
    delete arg3;
 
16598
  }
 
16599
  return NULL;
 
16600
}
 
16601
 
 
16602
 
 
16603
SWIGINTERN PyObject *_wrap_RichTextBuffer_InsertNewlineWithUndo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
16604
  PyObject *resultobj = 0;
 
16605
  wxRichTextBuffer *arg1 = (wxRichTextBuffer *) 0 ;
 
16606
  long arg2 ;
 
16607
  wxRichTextCtrl *arg3 = (wxRichTextCtrl *) 0 ;
 
16608
  int arg4 = (int) 0 ;
 
16609
  bool result;
 
16610
  void *argp1 = 0 ;
 
16611
  int res1 = 0 ;
 
16612
  long val2 ;
 
16613
  int ecode2 = 0 ;
 
16614
  void *argp3 = 0 ;
 
16615
  int res3 = 0 ;
 
16616
  int val4 ;
 
16617
  int ecode4 = 0 ;
 
16618
  PyObject * obj0 = 0 ;
 
16619
  PyObject * obj1 = 0 ;
 
16620
  PyObject * obj2 = 0 ;
 
16621
  PyObject * obj3 = 0 ;
 
16622
  char *  kwnames[] = {
 
16623
    (char *) "self",(char *) "pos",(char *) "ctrl",(char *) "flags", NULL 
 
16624
  };
 
16625
  
 
16626
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:RichTextBuffer_InsertNewlineWithUndo",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
 
16627
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextBuffer, 0 |  0 );
 
16628
  if (!SWIG_IsOK(res1)) {
 
16629
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextBuffer_InsertNewlineWithUndo" "', expected argument " "1"" of type '" "wxRichTextBuffer *""'"); 
 
16630
  }
 
16631
  arg1 = reinterpret_cast< wxRichTextBuffer * >(argp1);
 
16632
  ecode2 = SWIG_AsVal_long(obj1, &val2);
 
16633
  if (!SWIG_IsOK(ecode2)) {
 
16634
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RichTextBuffer_InsertNewlineWithUndo" "', expected argument " "2"" of type '" "long""'");
 
16635
  } 
 
16636
  arg2 = static_cast< long >(val2);
 
16637
  res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxRichTextCtrl, 0 |  0 );
 
16638
  if (!SWIG_IsOK(res3)) {
 
16639
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "RichTextBuffer_InsertNewlineWithUndo" "', expected argument " "3"" of type '" "wxRichTextCtrl *""'"); 
 
16640
  }
 
16641
  arg3 = reinterpret_cast< wxRichTextCtrl * >(argp3);
 
16642
  if (obj3) {
 
16643
    ecode4 = SWIG_AsVal_int(obj3, &val4);
 
16644
    if (!SWIG_IsOK(ecode4)) {
 
16645
      SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "RichTextBuffer_InsertNewlineWithUndo" "', expected argument " "4"" of type '" "int""'");
 
16646
    } 
 
16647
    arg4 = static_cast< int >(val4);
 
16648
  }
 
16649
  {
 
16650
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
16651
    result = (bool)(arg1)->InsertNewlineWithUndo(arg2,arg3,arg4);
 
16652
    wxPyEndAllowThreads(__tstate);
 
16653
    if (PyErr_Occurred()) SWIG_fail;
 
16654
  }
 
16655
  {
 
16656
    resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
 
16657
  }
 
16658
  return resultobj;
 
16659
fail:
 
16660
  return NULL;
 
16661
}
 
16662
 
 
16663
 
 
16664
SWIGINTERN PyObject *_wrap_RichTextBuffer_InsertImageWithUndo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
16665
  PyObject *resultobj = 0;
 
16666
  wxRichTextBuffer *arg1 = (wxRichTextBuffer *) 0 ;
 
16667
  long arg2 ;
 
16668
  wxRichTextImageBlock *arg3 = 0 ;
 
16669
  wxRichTextCtrl *arg4 = (wxRichTextCtrl *) 0 ;
 
16670
  int arg5 = (int) 0 ;
 
16671
  bool result;
 
16672
  void *argp1 = 0 ;
 
16673
  int res1 = 0 ;
 
16674
  long val2 ;
 
16675
  int ecode2 = 0 ;
 
16676
  void *argp3 = 0 ;
 
16677
  int res3 = 0 ;
 
16678
  void *argp4 = 0 ;
 
16679
  int res4 = 0 ;
 
16680
  int val5 ;
 
16681
  int ecode5 = 0 ;
 
16682
  PyObject * obj0 = 0 ;
 
16683
  PyObject * obj1 = 0 ;
 
16684
  PyObject * obj2 = 0 ;
 
16685
  PyObject * obj3 = 0 ;
 
16686
  PyObject * obj4 = 0 ;
 
16687
  char *  kwnames[] = {
 
16688
    (char *) "self",(char *) "pos",(char *) "imageBlock",(char *) "ctrl",(char *) "flags", NULL 
 
16689
  };
 
16690
  
 
16691
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|O:RichTextBuffer_InsertImageWithUndo",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
 
16692
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextBuffer, 0 |  0 );
 
16693
  if (!SWIG_IsOK(res1)) {
 
16694
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextBuffer_InsertImageWithUndo" "', expected argument " "1"" of type '" "wxRichTextBuffer *""'"); 
 
16695
  }
 
16696
  arg1 = reinterpret_cast< wxRichTextBuffer * >(argp1);
 
16697
  ecode2 = SWIG_AsVal_long(obj1, &val2);
 
16698
  if (!SWIG_IsOK(ecode2)) {
 
16699
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RichTextBuffer_InsertImageWithUndo" "', expected argument " "2"" of type '" "long""'");
 
16700
  } 
 
16701
  arg2 = static_cast< long >(val2);
 
16702
  res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxRichTextImageBlock,  0  | 0);
 
16703
  if (!SWIG_IsOK(res3)) {
 
16704
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "RichTextBuffer_InsertImageWithUndo" "', expected argument " "3"" of type '" "wxRichTextImageBlock const &""'"); 
 
16705
  }
 
16706
  if (!argp3) {
 
16707
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "RichTextBuffer_InsertImageWithUndo" "', expected argument " "3"" of type '" "wxRichTextImageBlock const &""'"); 
 
16708
  }
 
16709
  arg3 = reinterpret_cast< wxRichTextImageBlock * >(argp3);
 
16710
  res4 = SWIG_ConvertPtr(obj3, &argp4,SWIGTYPE_p_wxRichTextCtrl, 0 |  0 );
 
16711
  if (!SWIG_IsOK(res4)) {
 
16712
    SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "RichTextBuffer_InsertImageWithUndo" "', expected argument " "4"" of type '" "wxRichTextCtrl *""'"); 
 
16713
  }
 
16714
  arg4 = reinterpret_cast< wxRichTextCtrl * >(argp4);
 
16715
  if (obj4) {
 
16716
    ecode5 = SWIG_AsVal_int(obj4, &val5);
 
16717
    if (!SWIG_IsOK(ecode5)) {
 
16718
      SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "RichTextBuffer_InsertImageWithUndo" "', expected argument " "5"" of type '" "int""'");
 
16719
    } 
 
16720
    arg5 = static_cast< int >(val5);
 
16721
  }
 
16722
  {
 
16723
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
16724
    result = (bool)(arg1)->InsertImageWithUndo(arg2,(wxRichTextImageBlock const &)*arg3,arg4,arg5);
 
16725
    wxPyEndAllowThreads(__tstate);
 
16726
    if (PyErr_Occurred()) SWIG_fail;
 
16727
  }
 
16728
  {
 
16729
    resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
 
16730
  }
 
16731
  return resultobj;
 
16732
fail:
 
16733
  return NULL;
 
16734
}
 
16735
 
 
16736
 
 
16737
SWIGINTERN PyObject *_wrap_RichTextBuffer_DeleteRangeWithUndo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
16738
  PyObject *resultobj = 0;
 
16739
  wxRichTextBuffer *arg1 = (wxRichTextBuffer *) 0 ;
 
16740
  wxRichTextRange *arg2 = 0 ;
 
16741
  wxRichTextCtrl *arg3 = (wxRichTextCtrl *) 0 ;
 
16742
  bool result;
 
16743
  void *argp1 = 0 ;
 
16744
  int res1 = 0 ;
 
16745
  wxRichTextRange temp2 ;
 
16746
  void *argp3 = 0 ;
 
16747
  int res3 = 0 ;
 
16748
  PyObject * obj0 = 0 ;
 
16749
  PyObject * obj1 = 0 ;
 
16750
  PyObject * obj2 = 0 ;
 
16751
  char *  kwnames[] = {
 
16752
    (char *) "self",(char *) "range",(char *) "ctrl", NULL 
 
16753
  };
 
16754
  
 
16755
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:RichTextBuffer_DeleteRangeWithUndo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
 
16756
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextBuffer, 0 |  0 );
 
16757
  if (!SWIG_IsOK(res1)) {
 
16758
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextBuffer_DeleteRangeWithUndo" "', expected argument " "1"" of type '" "wxRichTextBuffer *""'"); 
 
16759
  }
 
16760
  arg1 = reinterpret_cast< wxRichTextBuffer * >(argp1);
 
16761
  {
 
16762
    arg2 = &temp2;
 
16763
    if ( ! wxRichTextRange_helper(obj1, &arg2)) SWIG_fail;
 
16764
  }
 
16765
  res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxRichTextCtrl, 0 |  0 );
 
16766
  if (!SWIG_IsOK(res3)) {
 
16767
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "RichTextBuffer_DeleteRangeWithUndo" "', expected argument " "3"" of type '" "wxRichTextCtrl *""'"); 
 
16768
  }
 
16769
  arg3 = reinterpret_cast< wxRichTextCtrl * >(argp3);
 
16770
  {
 
16771
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
16772
    result = (bool)(arg1)->DeleteRangeWithUndo((wxRichTextRange const &)*arg2,arg3);
 
16773
    wxPyEndAllowThreads(__tstate);
 
16774
    if (PyErr_Occurred()) SWIG_fail;
 
16775
  }
 
16776
  {
 
16777
    resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
 
16778
  }
 
16779
  return resultobj;
 
16780
fail:
 
16781
  return NULL;
 
16782
}
 
16783
 
 
16784
 
 
16785
SWIGINTERN PyObject *_wrap_RichTextBuffer_Modify(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
16786
  PyObject *resultobj = 0;
 
16787
  wxRichTextBuffer *arg1 = (wxRichTextBuffer *) 0 ;
 
16788
  bool arg2 = (bool) true ;
 
16789
  void *argp1 = 0 ;
 
16790
  int res1 = 0 ;
 
16791
  bool val2 ;
 
16792
  int ecode2 = 0 ;
 
16793
  PyObject * obj0 = 0 ;
 
16794
  PyObject * obj1 = 0 ;
 
16795
  char *  kwnames[] = {
 
16796
    (char *) "self",(char *) "modify", NULL 
 
16797
  };
 
16798
  
 
16799
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:RichTextBuffer_Modify",kwnames,&obj0,&obj1)) SWIG_fail;
 
16800
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextBuffer, 0 |  0 );
 
16801
  if (!SWIG_IsOK(res1)) {
 
16802
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextBuffer_Modify" "', expected argument " "1"" of type '" "wxRichTextBuffer *""'"); 
 
16803
  }
 
16804
  arg1 = reinterpret_cast< wxRichTextBuffer * >(argp1);
 
16805
  if (obj1) {
 
16806
    ecode2 = SWIG_AsVal_bool(obj1, &val2);
 
16807
    if (!SWIG_IsOK(ecode2)) {
 
16808
      SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RichTextBuffer_Modify" "', expected argument " "2"" of type '" "bool""'");
 
16809
    } 
 
16810
    arg2 = static_cast< bool >(val2);
 
16811
  }
 
16812
  {
 
16813
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
16814
    (arg1)->Modify(arg2);
 
16815
    wxPyEndAllowThreads(__tstate);
 
16816
    if (PyErr_Occurred()) SWIG_fail;
 
16817
  }
 
16818
  resultobj = SWIG_Py_Void();
 
16819
  return resultobj;
 
16820
fail:
 
16821
  return NULL;
 
16822
}
 
16823
 
 
16824
 
 
16825
SWIGINTERN PyObject *_wrap_RichTextBuffer_IsModified(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
16826
  PyObject *resultobj = 0;
 
16827
  wxRichTextBuffer *arg1 = (wxRichTextBuffer *) 0 ;
 
16828
  bool result;
 
16829
  void *argp1 = 0 ;
 
16830
  int res1 = 0 ;
 
16831
  PyObject *swig_obj[1] ;
 
16832
  
 
16833
  if (!args) SWIG_fail;
 
16834
  swig_obj[0] = args;
 
16835
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextBuffer, 0 |  0 );
 
16836
  if (!SWIG_IsOK(res1)) {
 
16837
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextBuffer_IsModified" "', expected argument " "1"" of type '" "wxRichTextBuffer const *""'"); 
 
16838
  }
 
16839
  arg1 = reinterpret_cast< wxRichTextBuffer * >(argp1);
 
16840
  {
 
16841
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
16842
    result = (bool)((wxRichTextBuffer const *)arg1)->IsModified();
 
16843
    wxPyEndAllowThreads(__tstate);
 
16844
    if (PyErr_Occurred()) SWIG_fail;
 
16845
  }
 
16846
  {
 
16847
    resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
 
16848
  }
 
16849
  return resultobj;
 
16850
fail:
 
16851
  return NULL;
 
16852
}
 
16853
 
 
16854
 
 
16855
SWIGINTERN PyObject *_wrap_RichTextBuffer_GetStyleForNewParagraph(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
16856
  PyObject *resultobj = 0;
 
16857
  wxRichTextBuffer *arg1 = (wxRichTextBuffer *) 0 ;
 
16858
  long arg2 ;
 
16859
  bool arg3 = (bool) false ;
 
16860
  bool arg4 = (bool) false ;
 
16861
  wxTextAttrEx result;
 
16862
  void *argp1 = 0 ;
 
16863
  int res1 = 0 ;
 
16864
  long val2 ;
 
16865
  int ecode2 = 0 ;
 
16866
  bool val3 ;
 
16867
  int ecode3 = 0 ;
 
16868
  bool val4 ;
 
16869
  int ecode4 = 0 ;
 
16870
  PyObject * obj0 = 0 ;
 
16871
  PyObject * obj1 = 0 ;
 
16872
  PyObject * obj2 = 0 ;
 
16873
  PyObject * obj3 = 0 ;
 
16874
  char *  kwnames[] = {
 
16875
    (char *) "self",(char *) "pos",(char *) "caretPosition",(char *) "lookUpNewParaStyle", NULL 
 
16876
  };
 
16877
  
 
16878
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:RichTextBuffer_GetStyleForNewParagraph",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
 
16879
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextBuffer, 0 |  0 );
 
16880
  if (!SWIG_IsOK(res1)) {
 
16881
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextBuffer_GetStyleForNewParagraph" "', expected argument " "1"" of type '" "wxRichTextBuffer const *""'"); 
 
16882
  }
 
16883
  arg1 = reinterpret_cast< wxRichTextBuffer * >(argp1);
 
16884
  ecode2 = SWIG_AsVal_long(obj1, &val2);
 
16885
  if (!SWIG_IsOK(ecode2)) {
 
16886
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RichTextBuffer_GetStyleForNewParagraph" "', expected argument " "2"" of type '" "long""'");
 
16887
  } 
 
16888
  arg2 = static_cast< long >(val2);
 
16889
  if (obj2) {
 
16890
    ecode3 = SWIG_AsVal_bool(obj2, &val3);
 
16891
    if (!SWIG_IsOK(ecode3)) {
 
16892
      SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "RichTextBuffer_GetStyleForNewParagraph" "', expected argument " "3"" of type '" "bool""'");
 
16893
    } 
 
16894
    arg3 = static_cast< bool >(val3);
 
16895
  }
 
16896
  if (obj3) {
 
16897
    ecode4 = SWIG_AsVal_bool(obj3, &val4);
 
16898
    if (!SWIG_IsOK(ecode4)) {
 
16899
      SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "RichTextBuffer_GetStyleForNewParagraph" "', expected argument " "4"" of type '" "bool""'");
 
16900
    } 
 
16901
    arg4 = static_cast< bool >(val4);
 
16902
  }
 
16903
  {
 
16904
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
16905
    result = ((wxRichTextBuffer const *)arg1)->GetStyleForNewParagraph(arg2,arg3,arg4);
 
16906
    wxPyEndAllowThreads(__tstate);
 
16907
    if (PyErr_Occurred()) SWIG_fail;
 
16908
  }
 
16909
  resultobj = SWIG_NewPointerObj((new wxTextAttrEx(static_cast< const wxTextAttrEx& >(result))), SWIGTYPE_p_wxTextAttrEx, SWIG_POINTER_OWN |  0 );
 
16910
  return resultobj;
 
16911
fail:
 
16912
  return NULL;
 
16913
}
 
16914
 
 
16915
 
 
16916
SWIGINTERN PyObject *_wrap_RichTextBuffer_GetHandlers(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
16917
  PyObject *resultobj = 0;
 
16918
  wxRichTextFileHandlerList_t *result = 0 ;
 
16919
  
 
16920
  if (!SWIG_Python_UnpackTuple(args,"RichTextBuffer_GetHandlers",0,0,0)) SWIG_fail;
 
16921
  {
 
16922
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
16923
    {
 
16924
      wxRichTextFileHandlerList_t &_result_ref = wxRichTextBuffer::GetHandlers();
 
16925
      result = (wxRichTextFileHandlerList_t *) &_result_ref;
 
16926
    }
 
16927
    wxPyEndAllowThreads(__tstate);
 
16928
    if (PyErr_Occurred()) SWIG_fail;
 
16929
  }
 
16930
  {
 
16931
    wxRichTextFileHandlerList* mylist = new wxRichTextFileHandlerList(result);
 
16932
    resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(mylist), SWIGTYPE_p_wxRichTextFileHandlerList, SWIG_POINTER_OWN );
 
16933
  }
 
16934
  return resultobj;
 
16935
fail:
 
16936
  return NULL;
 
16937
}
 
16938
 
 
16939
 
 
16940
SWIGINTERN PyObject *_wrap_RichTextBuffer_AddHandler(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
16941
  PyObject *resultobj = 0;
 
16942
  wxRichTextFileHandler *arg1 = (wxRichTextFileHandler *) 0 ;
 
16943
  int res1 = 0 ;
 
16944
  PyObject * obj0 = 0 ;
 
16945
  char *  kwnames[] = {
 
16946
    (char *) "handler", NULL 
 
16947
  };
 
16948
  
 
16949
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RichTextBuffer_AddHandler",kwnames,&obj0)) SWIG_fail;
 
16950
  res1 = SWIG_ConvertPtr(obj0, SWIG_as_voidptrptr(&arg1), SWIGTYPE_p_wxRichTextFileHandler, SWIG_POINTER_DISOWN |  0 );
 
16951
  if (!SWIG_IsOK(res1)) {
 
16952
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextBuffer_AddHandler" "', expected argument " "1"" of type '" "wxRichTextFileHandler *""'");
 
16953
  }
 
16954
  {
 
16955
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
16956
    wxRichTextBuffer::AddHandler(arg1);
 
16957
    wxPyEndAllowThreads(__tstate);
 
16958
    if (PyErr_Occurred()) SWIG_fail;
 
16959
  }
 
16960
  resultobj = SWIG_Py_Void();
 
16961
  return resultobj;
 
16962
fail:
 
16963
  return NULL;
 
16964
}
 
16965
 
 
16966
 
 
16967
SWIGINTERN PyObject *_wrap_RichTextBuffer_InsertHandler(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
16968
  PyObject *resultobj = 0;
 
16969
  wxRichTextFileHandler *arg1 = (wxRichTextFileHandler *) 0 ;
 
16970
  int res1 = 0 ;
 
16971
  PyObject * obj0 = 0 ;
 
16972
  char *  kwnames[] = {
 
16973
    (char *) "handler", NULL 
 
16974
  };
 
16975
  
 
16976
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RichTextBuffer_InsertHandler",kwnames,&obj0)) SWIG_fail;
 
16977
  res1 = SWIG_ConvertPtr(obj0, SWIG_as_voidptrptr(&arg1), SWIGTYPE_p_wxRichTextFileHandler, SWIG_POINTER_DISOWN |  0 );
 
16978
  if (!SWIG_IsOK(res1)) {
 
16979
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextBuffer_InsertHandler" "', expected argument " "1"" of type '" "wxRichTextFileHandler *""'");
 
16980
  }
 
16981
  {
 
16982
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
16983
    wxRichTextBuffer::InsertHandler(arg1);
 
16984
    wxPyEndAllowThreads(__tstate);
 
16985
    if (PyErr_Occurred()) SWIG_fail;
 
16986
  }
 
16987
  resultobj = SWIG_Py_Void();
 
16988
  return resultobj;
 
16989
fail:
 
16990
  return NULL;
 
16991
}
 
16992
 
 
16993
 
 
16994
SWIGINTERN PyObject *_wrap_RichTextBuffer_RemoveHandler(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
16995
  PyObject *resultobj = 0;
 
16996
  wxString *arg1 = 0 ;
 
16997
  bool result;
 
16998
  bool temp1 = false ;
 
16999
  PyObject * obj0 = 0 ;
 
17000
  char *  kwnames[] = {
 
17001
    (char *) "name", NULL 
 
17002
  };
 
17003
  
 
17004
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RichTextBuffer_RemoveHandler",kwnames,&obj0)) SWIG_fail;
 
17005
  {
 
17006
    arg1 = wxString_in_helper(obj0);
 
17007
    if (arg1 == NULL) SWIG_fail;
 
17008
    temp1 = true;
 
17009
  }
 
17010
  {
 
17011
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
17012
    result = (bool)wxRichTextBuffer::RemoveHandler((wxString const &)*arg1);
 
17013
    wxPyEndAllowThreads(__tstate);
 
17014
    if (PyErr_Occurred()) SWIG_fail;
 
17015
  }
 
17016
  {
 
17017
    resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
 
17018
  }
 
17019
  {
 
17020
    if (temp1)
 
17021
    delete arg1;
 
17022
  }
 
17023
  return resultobj;
 
17024
fail:
 
17025
  {
 
17026
    if (temp1)
 
17027
    delete arg1;
 
17028
  }
 
17029
  return NULL;
 
17030
}
 
17031
 
 
17032
 
 
17033
SWIGINTERN PyObject *_wrap_RichTextBuffer_FindHandlerByName(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
17034
  PyObject *resultobj = 0;
 
17035
  wxString *arg1 = 0 ;
 
17036
  wxRichTextFileHandler *result = 0 ;
 
17037
  bool temp1 = false ;
 
17038
  PyObject * obj0 = 0 ;
 
17039
  char *  kwnames[] = {
 
17040
    (char *) "name", NULL 
 
17041
  };
 
17042
  
 
17043
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RichTextBuffer_FindHandlerByName",kwnames,&obj0)) SWIG_fail;
 
17044
  {
 
17045
    arg1 = wxString_in_helper(obj0);
 
17046
    if (arg1 == NULL) SWIG_fail;
 
17047
    temp1 = true;
 
17048
  }
 
17049
  {
 
17050
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
17051
    result = (wxRichTextFileHandler *)wxRichTextBuffer::FindHandler((wxString const &)*arg1);
 
17052
    wxPyEndAllowThreads(__tstate);
 
17053
    if (PyErr_Occurred()) SWIG_fail;
 
17054
  }
 
17055
  {
 
17056
    resultobj = wxPyMake_wxObject(result, (bool)0); 
 
17057
  }
 
17058
  {
 
17059
    if (temp1)
 
17060
    delete arg1;
 
17061
  }
 
17062
  return resultobj;
 
17063
fail:
 
17064
  {
 
17065
    if (temp1)
 
17066
    delete arg1;
 
17067
  }
 
17068
  return NULL;
 
17069
}
 
17070
 
 
17071
 
 
17072
SWIGINTERN PyObject *_wrap_RichTextBuffer_FindHandlerByExtension(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
17073
  PyObject *resultobj = 0;
 
17074
  wxString *arg1 = 0 ;
 
17075
  int arg2 ;
 
17076
  wxRichTextFileHandler *result = 0 ;
 
17077
  bool temp1 = false ;
 
17078
  int val2 ;
 
17079
  int ecode2 = 0 ;
 
17080
  PyObject * obj0 = 0 ;
 
17081
  PyObject * obj1 = 0 ;
 
17082
  char *  kwnames[] = {
 
17083
    (char *) "extension",(char *) "imageType", NULL 
 
17084
  };
 
17085
  
 
17086
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RichTextBuffer_FindHandlerByExtension",kwnames,&obj0,&obj1)) SWIG_fail;
 
17087
  {
 
17088
    arg1 = wxString_in_helper(obj0);
 
17089
    if (arg1 == NULL) SWIG_fail;
 
17090
    temp1 = true;
 
17091
  }
 
17092
  ecode2 = SWIG_AsVal_int(obj1, &val2);
 
17093
  if (!SWIG_IsOK(ecode2)) {
 
17094
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RichTextBuffer_FindHandlerByExtension" "', expected argument " "2"" of type '" "int""'");
 
17095
  } 
 
17096
  arg2 = static_cast< int >(val2);
 
17097
  {
 
17098
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
17099
    result = (wxRichTextFileHandler *)wxRichTextBuffer::FindHandler((wxString const &)*arg1,arg2);
 
17100
    wxPyEndAllowThreads(__tstate);
 
17101
    if (PyErr_Occurred()) SWIG_fail;
 
17102
  }
 
17103
  {
 
17104
    resultobj = wxPyMake_wxObject(result, (bool)0); 
 
17105
  }
 
17106
  {
 
17107
    if (temp1)
 
17108
    delete arg1;
 
17109
  }
 
17110
  return resultobj;
 
17111
fail:
 
17112
  {
 
17113
    if (temp1)
 
17114
    delete arg1;
 
17115
  }
 
17116
  return NULL;
 
17117
}
 
17118
 
 
17119
 
 
17120
SWIGINTERN PyObject *_wrap_RichTextBuffer_FindHandlerByFilename(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
17121
  PyObject *resultobj = 0;
 
17122
  wxString *arg1 = 0 ;
 
17123
  int arg2 ;
 
17124
  wxRichTextFileHandler *result = 0 ;
 
17125
  bool temp1 = false ;
 
17126
  int val2 ;
 
17127
  int ecode2 = 0 ;
 
17128
  PyObject * obj0 = 0 ;
 
17129
  PyObject * obj1 = 0 ;
 
17130
  char *  kwnames[] = {
 
17131
    (char *) "filename",(char *) "imageType", NULL 
 
17132
  };
 
17133
  
 
17134
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RichTextBuffer_FindHandlerByFilename",kwnames,&obj0,&obj1)) SWIG_fail;
 
17135
  {
 
17136
    arg1 = wxString_in_helper(obj0);
 
17137
    if (arg1 == NULL) SWIG_fail;
 
17138
    temp1 = true;
 
17139
  }
 
17140
  ecode2 = SWIG_AsVal_int(obj1, &val2);
 
17141
  if (!SWIG_IsOK(ecode2)) {
 
17142
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RichTextBuffer_FindHandlerByFilename" "', expected argument " "2"" of type '" "int""'");
 
17143
  } 
 
17144
  arg2 = static_cast< int >(val2);
 
17145
  {
 
17146
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
17147
    result = (wxRichTextFileHandler *)wxRichTextBuffer::FindHandlerFilenameOrType((wxString const &)*arg1,arg2);
 
17148
    wxPyEndAllowThreads(__tstate);
 
17149
    if (PyErr_Occurred()) SWIG_fail;
 
17150
  }
 
17151
  {
 
17152
    resultobj = wxPyMake_wxObject(result, (bool)0); 
 
17153
  }
 
17154
  {
 
17155
    if (temp1)
 
17156
    delete arg1;
 
17157
  }
 
17158
  return resultobj;
 
17159
fail:
 
17160
  {
 
17161
    if (temp1)
 
17162
    delete arg1;
 
17163
  }
 
17164
  return NULL;
 
17165
}
 
17166
 
 
17167
 
 
17168
SWIGINTERN PyObject *_wrap_RichTextBuffer_FindHandlerByType(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
17169
  PyObject *resultobj = 0;
 
17170
  int arg1 ;
 
17171
  wxRichTextFileHandler *result = 0 ;
 
17172
  int val1 ;
 
17173
  int ecode1 = 0 ;
 
17174
  PyObject * obj0 = 0 ;
 
17175
  char *  kwnames[] = {
 
17176
    (char *) "imageType", NULL 
 
17177
  };
 
17178
  
 
17179
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RichTextBuffer_FindHandlerByType",kwnames,&obj0)) SWIG_fail;
 
17180
  ecode1 = SWIG_AsVal_int(obj0, &val1);
 
17181
  if (!SWIG_IsOK(ecode1)) {
 
17182
    SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "RichTextBuffer_FindHandlerByType" "', expected argument " "1"" of type '" "int""'");
 
17183
  } 
 
17184
  arg1 = static_cast< int >(val1);
 
17185
  {
 
17186
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
17187
    result = (wxRichTextFileHandler *)wxRichTextBuffer::FindHandler(arg1);
 
17188
    wxPyEndAllowThreads(__tstate);
 
17189
    if (PyErr_Occurred()) SWIG_fail;
 
17190
  }
 
17191
  {
 
17192
    resultobj = wxPyMake_wxObject(result, (bool)0); 
 
17193
  }
 
17194
  return resultobj;
 
17195
fail:
 
17196
  return NULL;
 
17197
}
 
17198
 
 
17199
 
 
17200
SWIGINTERN PyObject *_wrap_RichTextBuffer_GetExtWildcard(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
17201
  PyObject *resultobj = 0;
 
17202
  bool arg1 = (bool) false ;
 
17203
  bool arg2 = (bool) false ;
 
17204
  PyObject *result = 0 ;
 
17205
  bool val1 ;
 
17206
  int ecode1 = 0 ;
 
17207
  bool val2 ;
 
17208
  int ecode2 = 0 ;
 
17209
  PyObject * obj0 = 0 ;
 
17210
  PyObject * obj1 = 0 ;
 
17211
  char *  kwnames[] = {
 
17212
    (char *) "combine",(char *) "save", NULL 
 
17213
  };
 
17214
  
 
17215
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:RichTextBuffer_GetExtWildcard",kwnames,&obj0,&obj1)) SWIG_fail;
 
17216
  if (obj0) {
 
17217
    ecode1 = SWIG_AsVal_bool(obj0, &val1);
 
17218
    if (!SWIG_IsOK(ecode1)) {
 
17219
      SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "RichTextBuffer_GetExtWildcard" "', expected argument " "1"" of type '" "bool""'");
 
17220
    } 
 
17221
    arg1 = static_cast< bool >(val1);
 
17222
  }
 
17223
  if (obj1) {
 
17224
    ecode2 = SWIG_AsVal_bool(obj1, &val2);
 
17225
    if (!SWIG_IsOK(ecode2)) {
 
17226
      SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RichTextBuffer_GetExtWildcard" "', expected argument " "2"" of type '" "bool""'");
 
17227
    } 
 
17228
    arg2 = static_cast< bool >(val2);
 
17229
  }
 
17230
  {
 
17231
    result = (PyObject *)wxRichTextBuffer_GetExtWildcard(arg1,arg2);
 
17232
    if (PyErr_Occurred()) SWIG_fail;
 
17233
  }
 
17234
  resultobj = result;
 
17235
  return resultobj;
 
17236
fail:
 
17237
  return NULL;
 
17238
}
 
17239
 
 
17240
 
 
17241
SWIGINTERN PyObject *_wrap_RichTextBuffer_CleanUpHandlers(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
17242
  PyObject *resultobj = 0;
 
17243
  
 
17244
  if (!SWIG_Python_UnpackTuple(args,"RichTextBuffer_CleanUpHandlers",0,0,0)) SWIG_fail;
 
17245
  {
 
17246
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
17247
    wxRichTextBuffer::CleanUpHandlers();
 
17248
    wxPyEndAllowThreads(__tstate);
 
17249
    if (PyErr_Occurred()) SWIG_fail;
 
17250
  }
 
17251
  resultobj = SWIG_Py_Void();
 
17252
  return resultobj;
 
17253
fail:
 
17254
  return NULL;
 
17255
}
 
17256
 
 
17257
 
 
17258
SWIGINTERN PyObject *_wrap_RichTextBuffer_InitStandardHandlers(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
17259
  PyObject *resultobj = 0;
 
17260
  
 
17261
  if (!SWIG_Python_UnpackTuple(args,"RichTextBuffer_InitStandardHandlers",0,0,0)) SWIG_fail;
 
17262
  {
 
17263
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
17264
    wxRichTextBuffer::InitStandardHandlers();
 
17265
    wxPyEndAllowThreads(__tstate);
 
17266
    if (PyErr_Occurred()) SWIG_fail;
 
17267
  }
 
17268
  resultobj = SWIG_Py_Void();
 
17269
  return resultobj;
 
17270
fail:
 
17271
  return NULL;
 
17272
}
 
17273
 
 
17274
 
 
17275
SWIGINTERN PyObject *_wrap_RichTextBuffer_GetRenderer(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
17276
  PyObject *resultobj = 0;
 
17277
  wxRichTextRenderer *result = 0 ;
 
17278
  
 
17279
  if (!SWIG_Python_UnpackTuple(args,"RichTextBuffer_GetRenderer",0,0,0)) SWIG_fail;
 
17280
  {
 
17281
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
17282
    result = (wxRichTextRenderer *)wxRichTextBuffer::GetRenderer();
 
17283
    wxPyEndAllowThreads(__tstate);
 
17284
    if (PyErr_Occurred()) SWIG_fail;
 
17285
  }
 
17286
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxRichTextRenderer, 0 |  0 );
 
17287
  return resultobj;
 
17288
fail:
 
17289
  return NULL;
 
17290
}
 
17291
 
 
17292
 
 
17293
SWIGINTERN PyObject *_wrap_RichTextBuffer_SetRenderer(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
17294
  PyObject *resultobj = 0;
 
17295
  wxRichTextRenderer *arg1 = (wxRichTextRenderer *) 0 ;
 
17296
  void *argp1 = 0 ;
 
17297
  int res1 = 0 ;
 
17298
  PyObject * obj0 = 0 ;
 
17299
  char *  kwnames[] = {
 
17300
    (char *) "renderer", NULL 
 
17301
  };
 
17302
  
 
17303
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RichTextBuffer_SetRenderer",kwnames,&obj0)) SWIG_fail;
 
17304
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextRenderer, 0 |  0 );
 
17305
  if (!SWIG_IsOK(res1)) {
 
17306
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextBuffer_SetRenderer" "', expected argument " "1"" of type '" "wxRichTextRenderer *""'"); 
 
17307
  }
 
17308
  arg1 = reinterpret_cast< wxRichTextRenderer * >(argp1);
 
17309
  {
 
17310
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
17311
    wxRichTextBuffer::SetRenderer(arg1);
 
17312
    wxPyEndAllowThreads(__tstate);
 
17313
    if (PyErr_Occurred()) SWIG_fail;
 
17314
  }
 
17315
  resultobj = SWIG_Py_Void();
 
17316
  return resultobj;
 
17317
fail:
 
17318
  return NULL;
 
17319
}
 
17320
 
 
17321
 
 
17322
SWIGINTERN PyObject *_wrap_RichTextBuffer_GetBulletRightMargin(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
17323
  PyObject *resultobj = 0;
 
17324
  int result;
 
17325
  
 
17326
  if (!SWIG_Python_UnpackTuple(args,"RichTextBuffer_GetBulletRightMargin",0,0,0)) SWIG_fail;
 
17327
  {
 
17328
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
17329
    result = (int)wxRichTextBuffer::GetBulletRightMargin();
 
17330
    wxPyEndAllowThreads(__tstate);
 
17331
    if (PyErr_Occurred()) SWIG_fail;
 
17332
  }
 
17333
  resultobj = SWIG_From_int(static_cast< int >(result));
 
17334
  return resultobj;
 
17335
fail:
 
17336
  return NULL;
 
17337
}
 
17338
 
 
17339
 
 
17340
SWIGINTERN PyObject *_wrap_RichTextBuffer_SetBulletRightMargin(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
17341
  PyObject *resultobj = 0;
 
17342
  int arg1 ;
 
17343
  int val1 ;
 
17344
  int ecode1 = 0 ;
 
17345
  PyObject * obj0 = 0 ;
 
17346
  char *  kwnames[] = {
 
17347
    (char *) "margin", NULL 
 
17348
  };
 
17349
  
 
17350
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RichTextBuffer_SetBulletRightMargin",kwnames,&obj0)) SWIG_fail;
 
17351
  ecode1 = SWIG_AsVal_int(obj0, &val1);
 
17352
  if (!SWIG_IsOK(ecode1)) {
 
17353
    SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "RichTextBuffer_SetBulletRightMargin" "', expected argument " "1"" of type '" "int""'");
 
17354
  } 
 
17355
  arg1 = static_cast< int >(val1);
 
17356
  {
 
17357
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
17358
    wxRichTextBuffer::SetBulletRightMargin(arg1);
 
17359
    wxPyEndAllowThreads(__tstate);
 
17360
    if (PyErr_Occurred()) SWIG_fail;
 
17361
  }
 
17362
  resultobj = SWIG_Py_Void();
 
17363
  return resultobj;
 
17364
fail:
 
17365
  return NULL;
 
17366
}
 
17367
 
 
17368
 
 
17369
SWIGINTERN PyObject *_wrap_RichTextBuffer_GetBulletProportion(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
17370
  PyObject *resultobj = 0;
 
17371
  float result;
 
17372
  
 
17373
  if (!SWIG_Python_UnpackTuple(args,"RichTextBuffer_GetBulletProportion",0,0,0)) SWIG_fail;
 
17374
  {
 
17375
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
17376
    result = (float)wxRichTextBuffer::GetBulletProportion();
 
17377
    wxPyEndAllowThreads(__tstate);
 
17378
    if (PyErr_Occurred()) SWIG_fail;
 
17379
  }
 
17380
  resultobj = SWIG_From_float(static_cast< float >(result));
 
17381
  return resultobj;
 
17382
fail:
 
17383
  return NULL;
 
17384
}
 
17385
 
 
17386
 
 
17387
SWIGINTERN PyObject *_wrap_RichTextBuffer_SetBulletProportion(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
17388
  PyObject *resultobj = 0;
 
17389
  float arg1 ;
 
17390
  float val1 ;
 
17391
  int ecode1 = 0 ;
 
17392
  PyObject * obj0 = 0 ;
 
17393
  char *  kwnames[] = {
 
17394
    (char *) "prop", NULL 
 
17395
  };
 
17396
  
 
17397
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RichTextBuffer_SetBulletProportion",kwnames,&obj0)) SWIG_fail;
 
17398
  ecode1 = SWIG_AsVal_float(obj0, &val1);
 
17399
  if (!SWIG_IsOK(ecode1)) {
 
17400
    SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "RichTextBuffer_SetBulletProportion" "', expected argument " "1"" of type '" "float""'");
 
17401
  } 
 
17402
  arg1 = static_cast< float >(val1);
 
17403
  {
 
17404
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
17405
    wxRichTextBuffer::SetBulletProportion(arg1);
 
17406
    wxPyEndAllowThreads(__tstate);
 
17407
    if (PyErr_Occurred()) SWIG_fail;
 
17408
  }
 
17409
  resultobj = SWIG_Py_Void();
 
17410
  return resultobj;
 
17411
fail:
 
17412
  return NULL;
 
17413
}
 
17414
 
 
17415
 
 
17416
SWIGINTERN PyObject *_wrap_RichTextBuffer_GetScale(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
17417
  PyObject *resultobj = 0;
 
17418
  wxRichTextBuffer *arg1 = (wxRichTextBuffer *) 0 ;
 
17419
  double result;
 
17420
  void *argp1 = 0 ;
 
17421
  int res1 = 0 ;
 
17422
  PyObject *swig_obj[1] ;
 
17423
  
 
17424
  if (!args) SWIG_fail;
 
17425
  swig_obj[0] = args;
 
17426
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextBuffer, 0 |  0 );
 
17427
  if (!SWIG_IsOK(res1)) {
 
17428
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextBuffer_GetScale" "', expected argument " "1"" of type '" "wxRichTextBuffer const *""'"); 
 
17429
  }
 
17430
  arg1 = reinterpret_cast< wxRichTextBuffer * >(argp1);
 
17431
  {
 
17432
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
17433
    result = (double)((wxRichTextBuffer const *)arg1)->GetScale();
 
17434
    wxPyEndAllowThreads(__tstate);
 
17435
    if (PyErr_Occurred()) SWIG_fail;
 
17436
  }
 
17437
  resultobj = SWIG_From_double(static_cast< double >(result));
 
17438
  return resultobj;
 
17439
fail:
 
17440
  return NULL;
 
17441
}
 
17442
 
 
17443
 
 
17444
SWIGINTERN PyObject *_wrap_RichTextBuffer_SetScale(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
17445
  PyObject *resultobj = 0;
 
17446
  wxRichTextBuffer *arg1 = (wxRichTextBuffer *) 0 ;
 
17447
  double arg2 ;
 
17448
  void *argp1 = 0 ;
 
17449
  int res1 = 0 ;
 
17450
  double val2 ;
 
17451
  int ecode2 = 0 ;
 
17452
  PyObject * obj0 = 0 ;
 
17453
  PyObject * obj1 = 0 ;
 
17454
  char *  kwnames[] = {
 
17455
    (char *) "self",(char *) "scale", NULL 
 
17456
  };
 
17457
  
 
17458
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RichTextBuffer_SetScale",kwnames,&obj0,&obj1)) SWIG_fail;
 
17459
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextBuffer, 0 |  0 );
 
17460
  if (!SWIG_IsOK(res1)) {
 
17461
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextBuffer_SetScale" "', expected argument " "1"" of type '" "wxRichTextBuffer *""'"); 
 
17462
  }
 
17463
  arg1 = reinterpret_cast< wxRichTextBuffer * >(argp1);
 
17464
  ecode2 = SWIG_AsVal_double(obj1, &val2);
 
17465
  if (!SWIG_IsOK(ecode2)) {
 
17466
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RichTextBuffer_SetScale" "', expected argument " "2"" of type '" "double""'");
 
17467
  } 
 
17468
  arg2 = static_cast< double >(val2);
 
17469
  {
 
17470
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
17471
    (arg1)->SetScale(arg2);
 
17472
    wxPyEndAllowThreads(__tstate);
 
17473
    if (PyErr_Occurred()) SWIG_fail;
 
17474
  }
 
17475
  resultobj = SWIG_Py_Void();
 
17476
  return resultobj;
 
17477
fail:
 
17478
  return NULL;
 
17479
}
 
17480
 
 
17481
 
 
17482
SWIGINTERN PyObject *RichTextBuffer_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
17483
  PyObject *obj;
 
17484
  if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
 
17485
  SWIG_TypeNewClientData(SWIGTYPE_p_wxRichTextBuffer, SWIG_NewClientData(obj));
 
17486
  return SWIG_Py_Void();
 
17487
}
 
17488
 
 
17489
SWIGINTERN PyObject *RichTextBuffer_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
17490
  return SWIG_Python_InitShadowInstance(args);
 
17491
}
 
17492
 
 
17493
SWIGINTERN PyObject *_wrap_delete_RichTextFileHandler(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
17494
  PyObject *resultobj = 0;
 
17495
  wxRichTextFileHandler *arg1 = (wxRichTextFileHandler *) 0 ;
 
17496
  void *argp1 = 0 ;
 
17497
  int res1 = 0 ;
 
17498
  PyObject *swig_obj[1] ;
 
17499
  
 
17500
  if (!args) SWIG_fail;
 
17501
  swig_obj[0] = args;
 
17502
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextFileHandler, SWIG_POINTER_DISOWN |  0 );
 
17503
  if (!SWIG_IsOK(res1)) {
 
17504
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_RichTextFileHandler" "', expected argument " "1"" of type '" "wxRichTextFileHandler *""'"); 
 
17505
  }
 
17506
  arg1 = reinterpret_cast< wxRichTextFileHandler * >(argp1);
 
17507
  {
 
17508
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
17509
    delete arg1;
 
17510
    
 
17511
    wxPyEndAllowThreads(__tstate);
 
17512
    if (PyErr_Occurred()) SWIG_fail;
 
17513
  }
 
17514
  resultobj = SWIG_Py_Void();
 
17515
  return resultobj;
 
17516
fail:
 
17517
  return NULL;
 
17518
}
 
17519
 
 
17520
 
 
17521
SWIGINTERN PyObject *_wrap_RichTextFileHandler_LoadStream(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
17522
  PyObject *resultobj = 0;
 
17523
  wxRichTextFileHandler *arg1 = (wxRichTextFileHandler *) 0 ;
 
17524
  wxRichTextBuffer *arg2 = (wxRichTextBuffer *) 0 ;
 
17525
  wxInputStream *arg3 = 0 ;
 
17526
  bool result;
 
17527
  void *argp1 = 0 ;
 
17528
  int res1 = 0 ;
 
17529
  void *argp2 = 0 ;
 
17530
  int res2 = 0 ;
 
17531
  wxPyInputStream *temp3 ;
 
17532
  bool created3 ;
 
17533
  PyObject * obj0 = 0 ;
 
17534
  PyObject * obj1 = 0 ;
 
17535
  PyObject * obj2 = 0 ;
 
17536
  char *  kwnames[] = {
 
17537
    (char *) "self",(char *) "buffer",(char *) "stream", NULL 
 
17538
  };
 
17539
  
 
17540
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:RichTextFileHandler_LoadStream",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
 
17541
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextFileHandler, 0 |  0 );
 
17542
  if (!SWIG_IsOK(res1)) {
 
17543
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextFileHandler_LoadStream" "', expected argument " "1"" of type '" "wxRichTextFileHandler *""'"); 
 
17544
  }
 
17545
  arg1 = reinterpret_cast< wxRichTextFileHandler * >(argp1);
 
17546
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxRichTextBuffer, 0 |  0 );
 
17547
  if (!SWIG_IsOK(res2)) {
 
17548
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "RichTextFileHandler_LoadStream" "', expected argument " "2"" of type '" "wxRichTextBuffer *""'"); 
 
17549
  }
 
17550
  arg2 = reinterpret_cast< wxRichTextBuffer * >(argp2);
 
17551
  {
 
17552
    if (wxPyConvertSwigPtr(obj2, (void **)&temp3, wxT("wxPyInputStream"))) {
 
17553
      arg3 = temp3->m_wxis;
 
17554
      created3 = false;
 
17555
    } else {
 
17556
      PyErr_Clear();  // clear the failure of the wxPyConvert above
 
17557
      arg3 = wxPyCBInputStream_create(obj2, false);
 
17558
      if (arg3 == NULL) {
 
17559
        PyErr_SetString(PyExc_TypeError, "Expected wx.InputStream or Python file-like object.");
 
17560
        SWIG_fail;
 
17561
      }
 
17562
      created3 = true;
 
17563
    }
 
17564
  }
 
17565
  {
 
17566
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
17567
    result = (bool)(arg1)->LoadFile(arg2,*arg3);
 
17568
    wxPyEndAllowThreads(__tstate);
 
17569
    if (PyErr_Occurred()) SWIG_fail;
 
17570
  }
 
17571
  {
 
17572
    resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
 
17573
  }
 
17574
  {
 
17575
    if (created3) delete arg3; 
 
17576
  }
 
17577
  return resultobj;
 
17578
fail:
 
17579
  {
 
17580
    if (created3) delete arg3; 
 
17581
  }
 
17582
  return NULL;
 
17583
}
 
17584
 
 
17585
 
 
17586
SWIGINTERN PyObject *_wrap_RichTextFileHandler_SaveStream(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
17587
  PyObject *resultobj = 0;
 
17588
  wxRichTextFileHandler *arg1 = (wxRichTextFileHandler *) 0 ;
 
17589
  wxRichTextBuffer *arg2 = (wxRichTextBuffer *) 0 ;
 
17590
  wxOutputStream *arg3 = 0 ;
 
17591
  bool result;
 
17592
  void *argp1 = 0 ;
 
17593
  int res1 = 0 ;
 
17594
  void *argp2 = 0 ;
 
17595
  int res2 = 0 ;
 
17596
  wxPyOutputStream *temp3 ;
 
17597
  bool created3 ;
 
17598
  PyObject * obj0 = 0 ;
 
17599
  PyObject * obj1 = 0 ;
 
17600
  PyObject * obj2 = 0 ;
 
17601
  char *  kwnames[] = {
 
17602
    (char *) "self",(char *) "buffer",(char *) "stream", NULL 
 
17603
  };
 
17604
  
 
17605
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:RichTextFileHandler_SaveStream",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
 
17606
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextFileHandler, 0 |  0 );
 
17607
  if (!SWIG_IsOK(res1)) {
 
17608
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextFileHandler_SaveStream" "', expected argument " "1"" of type '" "wxRichTextFileHandler *""'"); 
 
17609
  }
 
17610
  arg1 = reinterpret_cast< wxRichTextFileHandler * >(argp1);
 
17611
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxRichTextBuffer, 0 |  0 );
 
17612
  if (!SWIG_IsOK(res2)) {
 
17613
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "RichTextFileHandler_SaveStream" "', expected argument " "2"" of type '" "wxRichTextBuffer *""'"); 
 
17614
  }
 
17615
  arg2 = reinterpret_cast< wxRichTextBuffer * >(argp2);
 
17616
  {
 
17617
    if (wxPyConvertSwigPtr(obj2, (void **)&temp3, wxT("wxPyOutputStream"))) {
 
17618
      arg3 = temp3->m_wxos;
 
17619
      created3 = false;
 
17620
    } else {
 
17621
      PyErr_Clear();  // clear the failure of the wxPyConvert above
 
17622
      arg3 = wxPyCBOutputStream_create(obj2, false);
 
17623
      if (arg3 == NULL) {
 
17624
        PyErr_SetString(PyExc_TypeError, "Expected wx.OutputStream or Python file-like object.");
 
17625
        SWIG_fail;
 
17626
      }
 
17627
      created3 = true;
 
17628
    }
 
17629
  }
 
17630
  {
 
17631
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
17632
    result = (bool)(arg1)->SaveFile(arg2,*arg3);
 
17633
    wxPyEndAllowThreads(__tstate);
 
17634
    if (PyErr_Occurred()) SWIG_fail;
 
17635
  }
 
17636
  {
 
17637
    resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
 
17638
  }
 
17639
  {
 
17640
    if (created3) delete arg3; 
 
17641
  }
 
17642
  return resultobj;
 
17643
fail:
 
17644
  {
 
17645
    if (created3) delete arg3; 
 
17646
  }
 
17647
  return NULL;
 
17648
}
 
17649
 
 
17650
 
 
17651
SWIGINTERN PyObject *_wrap_RichTextFileHandler_LoadFile(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
17652
  PyObject *resultobj = 0;
 
17653
  wxRichTextFileHandler *arg1 = (wxRichTextFileHandler *) 0 ;
 
17654
  wxRichTextBuffer *arg2 = (wxRichTextBuffer *) 0 ;
 
17655
  wxString *arg3 = 0 ;
 
17656
  bool result;
 
17657
  void *argp1 = 0 ;
 
17658
  int res1 = 0 ;
 
17659
  void *argp2 = 0 ;
 
17660
  int res2 = 0 ;
 
17661
  bool temp3 = false ;
 
17662
  PyObject * obj0 = 0 ;
 
17663
  PyObject * obj1 = 0 ;
 
17664
  PyObject * obj2 = 0 ;
 
17665
  char *  kwnames[] = {
 
17666
    (char *) "self",(char *) "buffer",(char *) "filename", NULL 
 
17667
  };
 
17668
  
 
17669
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:RichTextFileHandler_LoadFile",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
 
17670
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextFileHandler, 0 |  0 );
 
17671
  if (!SWIG_IsOK(res1)) {
 
17672
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextFileHandler_LoadFile" "', expected argument " "1"" of type '" "wxRichTextFileHandler *""'"); 
 
17673
  }
 
17674
  arg1 = reinterpret_cast< wxRichTextFileHandler * >(argp1);
 
17675
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxRichTextBuffer, 0 |  0 );
 
17676
  if (!SWIG_IsOK(res2)) {
 
17677
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "RichTextFileHandler_LoadFile" "', expected argument " "2"" of type '" "wxRichTextBuffer *""'"); 
 
17678
  }
 
17679
  arg2 = reinterpret_cast< wxRichTextBuffer * >(argp2);
 
17680
  {
 
17681
    arg3 = wxString_in_helper(obj2);
 
17682
    if (arg3 == NULL) SWIG_fail;
 
17683
    temp3 = true;
 
17684
  }
 
17685
  {
 
17686
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
17687
    result = (bool)(arg1)->LoadFile(arg2,(wxString const &)*arg3);
 
17688
    wxPyEndAllowThreads(__tstate);
 
17689
    if (PyErr_Occurred()) SWIG_fail;
 
17690
  }
 
17691
  {
 
17692
    resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
 
17693
  }
 
17694
  {
 
17695
    if (temp3)
 
17696
    delete arg3;
 
17697
  }
 
17698
  return resultobj;
 
17699
fail:
 
17700
  {
 
17701
    if (temp3)
 
17702
    delete arg3;
 
17703
  }
 
17704
  return NULL;
 
17705
}
 
17706
 
 
17707
 
 
17708
SWIGINTERN PyObject *_wrap_RichTextFileHandler_SaveFile(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
17709
  PyObject *resultobj = 0;
 
17710
  wxRichTextFileHandler *arg1 = (wxRichTextFileHandler *) 0 ;
 
17711
  wxRichTextBuffer *arg2 = (wxRichTextBuffer *) 0 ;
 
17712
  wxString *arg3 = 0 ;
 
17713
  bool result;
 
17714
  void *argp1 = 0 ;
 
17715
  int res1 = 0 ;
 
17716
  void *argp2 = 0 ;
 
17717
  int res2 = 0 ;
 
17718
  bool temp3 = false ;
 
17719
  PyObject * obj0 = 0 ;
 
17720
  PyObject * obj1 = 0 ;
 
17721
  PyObject * obj2 = 0 ;
 
17722
  char *  kwnames[] = {
 
17723
    (char *) "self",(char *) "buffer",(char *) "filename", NULL 
 
17724
  };
 
17725
  
 
17726
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:RichTextFileHandler_SaveFile",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
 
17727
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextFileHandler, 0 |  0 );
 
17728
  if (!SWIG_IsOK(res1)) {
 
17729
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextFileHandler_SaveFile" "', expected argument " "1"" of type '" "wxRichTextFileHandler *""'"); 
 
17730
  }
 
17731
  arg1 = reinterpret_cast< wxRichTextFileHandler * >(argp1);
 
17732
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxRichTextBuffer, 0 |  0 );
 
17733
  if (!SWIG_IsOK(res2)) {
 
17734
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "RichTextFileHandler_SaveFile" "', expected argument " "2"" of type '" "wxRichTextBuffer *""'"); 
 
17735
  }
 
17736
  arg2 = reinterpret_cast< wxRichTextBuffer * >(argp2);
 
17737
  {
 
17738
    arg3 = wxString_in_helper(obj2);
 
17739
    if (arg3 == NULL) SWIG_fail;
 
17740
    temp3 = true;
 
17741
  }
 
17742
  {
 
17743
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
17744
    result = (bool)(arg1)->SaveFile(arg2,(wxString const &)*arg3);
 
17745
    wxPyEndAllowThreads(__tstate);
 
17746
    if (PyErr_Occurred()) SWIG_fail;
 
17747
  }
 
17748
  {
 
17749
    resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
 
17750
  }
 
17751
  {
 
17752
    if (temp3)
 
17753
    delete arg3;
 
17754
  }
 
17755
  return resultobj;
 
17756
fail:
 
17757
  {
 
17758
    if (temp3)
 
17759
    delete arg3;
 
17760
  }
 
17761
  return NULL;
 
17762
}
 
17763
 
 
17764
 
 
17765
SWIGINTERN PyObject *_wrap_RichTextFileHandler_CanHandle(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
17766
  PyObject *resultobj = 0;
 
17767
  wxRichTextFileHandler *arg1 = (wxRichTextFileHandler *) 0 ;
 
17768
  wxString *arg2 = 0 ;
 
17769
  bool result;
 
17770
  void *argp1 = 0 ;
 
17771
  int res1 = 0 ;
 
17772
  bool temp2 = false ;
 
17773
  PyObject * obj0 = 0 ;
 
17774
  PyObject * obj1 = 0 ;
 
17775
  char *  kwnames[] = {
 
17776
    (char *) "self",(char *) "filename", NULL 
 
17777
  };
 
17778
  
 
17779
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RichTextFileHandler_CanHandle",kwnames,&obj0,&obj1)) SWIG_fail;
 
17780
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextFileHandler, 0 |  0 );
 
17781
  if (!SWIG_IsOK(res1)) {
 
17782
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextFileHandler_CanHandle" "', expected argument " "1"" of type '" "wxRichTextFileHandler const *""'"); 
 
17783
  }
 
17784
  arg1 = reinterpret_cast< wxRichTextFileHandler * >(argp1);
 
17785
  {
 
17786
    arg2 = wxString_in_helper(obj1);
 
17787
    if (arg2 == NULL) SWIG_fail;
 
17788
    temp2 = true;
 
17789
  }
 
17790
  {
 
17791
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
17792
    result = (bool)((wxRichTextFileHandler const *)arg1)->CanHandle((wxString const &)*arg2);
 
17793
    wxPyEndAllowThreads(__tstate);
 
17794
    if (PyErr_Occurred()) SWIG_fail;
 
17795
  }
 
17796
  {
 
17797
    resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
 
17798
  }
 
17799
  {
 
17800
    if (temp2)
 
17801
    delete arg2;
 
17802
  }
 
17803
  return resultobj;
 
17804
fail:
 
17805
  {
 
17806
    if (temp2)
 
17807
    delete arg2;
 
17808
  }
 
17809
  return NULL;
 
17810
}
 
17811
 
 
17812
 
 
17813
SWIGINTERN PyObject *_wrap_RichTextFileHandler_CanSave(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
17814
  PyObject *resultobj = 0;
 
17815
  wxRichTextFileHandler *arg1 = (wxRichTextFileHandler *) 0 ;
 
17816
  bool result;
 
17817
  void *argp1 = 0 ;
 
17818
  int res1 = 0 ;
 
17819
  PyObject *swig_obj[1] ;
 
17820
  
 
17821
  if (!args) SWIG_fail;
 
17822
  swig_obj[0] = args;
 
17823
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextFileHandler, 0 |  0 );
 
17824
  if (!SWIG_IsOK(res1)) {
 
17825
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextFileHandler_CanSave" "', expected argument " "1"" of type '" "wxRichTextFileHandler const *""'"); 
 
17826
  }
 
17827
  arg1 = reinterpret_cast< wxRichTextFileHandler * >(argp1);
 
17828
  {
 
17829
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
17830
    result = (bool)((wxRichTextFileHandler const *)arg1)->CanSave();
 
17831
    wxPyEndAllowThreads(__tstate);
 
17832
    if (PyErr_Occurred()) SWIG_fail;
 
17833
  }
 
17834
  {
 
17835
    resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
 
17836
  }
 
17837
  return resultobj;
 
17838
fail:
 
17839
  return NULL;
 
17840
}
 
17841
 
 
17842
 
 
17843
SWIGINTERN PyObject *_wrap_RichTextFileHandler_CanLoad(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
17844
  PyObject *resultobj = 0;
 
17845
  wxRichTextFileHandler *arg1 = (wxRichTextFileHandler *) 0 ;
 
17846
  bool result;
 
17847
  void *argp1 = 0 ;
 
17848
  int res1 = 0 ;
 
17849
  PyObject *swig_obj[1] ;
 
17850
  
 
17851
  if (!args) SWIG_fail;
 
17852
  swig_obj[0] = args;
 
17853
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextFileHandler, 0 |  0 );
 
17854
  if (!SWIG_IsOK(res1)) {
 
17855
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextFileHandler_CanLoad" "', expected argument " "1"" of type '" "wxRichTextFileHandler const *""'"); 
 
17856
  }
 
17857
  arg1 = reinterpret_cast< wxRichTextFileHandler * >(argp1);
 
17858
  {
 
17859
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
17860
    result = (bool)((wxRichTextFileHandler const *)arg1)->CanLoad();
 
17861
    wxPyEndAllowThreads(__tstate);
 
17862
    if (PyErr_Occurred()) SWIG_fail;
 
17863
  }
 
17864
  {
 
17865
    resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
 
17866
  }
 
17867
  return resultobj;
 
17868
fail:
 
17869
  return NULL;
 
17870
}
 
17871
 
 
17872
 
 
17873
SWIGINTERN PyObject *_wrap_RichTextFileHandler_IsVisible(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
17874
  PyObject *resultobj = 0;
 
17875
  wxRichTextFileHandler *arg1 = (wxRichTextFileHandler *) 0 ;
 
17876
  bool result;
 
17877
  void *argp1 = 0 ;
 
17878
  int res1 = 0 ;
 
17879
  PyObject *swig_obj[1] ;
 
17880
  
 
17881
  if (!args) SWIG_fail;
 
17882
  swig_obj[0] = args;
 
17883
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextFileHandler, 0 |  0 );
 
17884
  if (!SWIG_IsOK(res1)) {
 
17885
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextFileHandler_IsVisible" "', expected argument " "1"" of type '" "wxRichTextFileHandler const *""'"); 
 
17886
  }
 
17887
  arg1 = reinterpret_cast< wxRichTextFileHandler * >(argp1);
 
17888
  {
 
17889
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
17890
    result = (bool)((wxRichTextFileHandler const *)arg1)->IsVisible();
 
17891
    wxPyEndAllowThreads(__tstate);
 
17892
    if (PyErr_Occurred()) SWIG_fail;
 
17893
  }
 
17894
  {
 
17895
    resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
 
17896
  }
 
17897
  return resultobj;
 
17898
fail:
 
17899
  return NULL;
 
17900
}
 
17901
 
 
17902
 
 
17903
SWIGINTERN PyObject *_wrap_RichTextFileHandler_SetVisible(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
17904
  PyObject *resultobj = 0;
 
17905
  wxRichTextFileHandler *arg1 = (wxRichTextFileHandler *) 0 ;
 
17906
  bool arg2 ;
 
17907
  void *argp1 = 0 ;
 
17908
  int res1 = 0 ;
 
17909
  bool val2 ;
 
17910
  int ecode2 = 0 ;
 
17911
  PyObject * obj0 = 0 ;
 
17912
  PyObject * obj1 = 0 ;
 
17913
  char *  kwnames[] = {
 
17914
    (char *) "self",(char *) "visible", NULL 
 
17915
  };
 
17916
  
 
17917
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RichTextFileHandler_SetVisible",kwnames,&obj0,&obj1)) SWIG_fail;
 
17918
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextFileHandler, 0 |  0 );
 
17919
  if (!SWIG_IsOK(res1)) {
 
17920
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextFileHandler_SetVisible" "', expected argument " "1"" of type '" "wxRichTextFileHandler *""'"); 
 
17921
  }
 
17922
  arg1 = reinterpret_cast< wxRichTextFileHandler * >(argp1);
 
17923
  ecode2 = SWIG_AsVal_bool(obj1, &val2);
 
17924
  if (!SWIG_IsOK(ecode2)) {
 
17925
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RichTextFileHandler_SetVisible" "', expected argument " "2"" of type '" "bool""'");
 
17926
  } 
 
17927
  arg2 = static_cast< bool >(val2);
 
17928
  {
 
17929
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
17930
    (arg1)->SetVisible(arg2);
 
17931
    wxPyEndAllowThreads(__tstate);
 
17932
    if (PyErr_Occurred()) SWIG_fail;
 
17933
  }
 
17934
  resultobj = SWIG_Py_Void();
 
17935
  return resultobj;
 
17936
fail:
 
17937
  return NULL;
 
17938
}
 
17939
 
 
17940
 
 
17941
SWIGINTERN PyObject *_wrap_RichTextFileHandler_SetName(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
17942
  PyObject *resultobj = 0;
 
17943
  wxRichTextFileHandler *arg1 = (wxRichTextFileHandler *) 0 ;
 
17944
  wxString *arg2 = 0 ;
 
17945
  void *argp1 = 0 ;
 
17946
  int res1 = 0 ;
 
17947
  bool temp2 = false ;
 
17948
  PyObject * obj0 = 0 ;
 
17949
  PyObject * obj1 = 0 ;
 
17950
  char *  kwnames[] = {
 
17951
    (char *) "self",(char *) "name", NULL 
 
17952
  };
 
17953
  
 
17954
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RichTextFileHandler_SetName",kwnames,&obj0,&obj1)) SWIG_fail;
 
17955
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextFileHandler, 0 |  0 );
 
17956
  if (!SWIG_IsOK(res1)) {
 
17957
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextFileHandler_SetName" "', expected argument " "1"" of type '" "wxRichTextFileHandler *""'"); 
 
17958
  }
 
17959
  arg1 = reinterpret_cast< wxRichTextFileHandler * >(argp1);
 
17960
  {
 
17961
    arg2 = wxString_in_helper(obj1);
 
17962
    if (arg2 == NULL) SWIG_fail;
 
17963
    temp2 = true;
 
17964
  }
 
17965
  {
 
17966
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
17967
    (arg1)->SetName((wxString const &)*arg2);
 
17968
    wxPyEndAllowThreads(__tstate);
 
17969
    if (PyErr_Occurred()) SWIG_fail;
 
17970
  }
 
17971
  resultobj = SWIG_Py_Void();
 
17972
  {
 
17973
    if (temp2)
 
17974
    delete arg2;
 
17975
  }
 
17976
  return resultobj;
 
17977
fail:
 
17978
  {
 
17979
    if (temp2)
 
17980
    delete arg2;
 
17981
  }
 
17982
  return NULL;
 
17983
}
 
17984
 
 
17985
 
 
17986
SWIGINTERN PyObject *_wrap_RichTextFileHandler_GetName(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
17987
  PyObject *resultobj = 0;
 
17988
  wxRichTextFileHandler *arg1 = (wxRichTextFileHandler *) 0 ;
 
17989
  wxString result;
 
17990
  void *argp1 = 0 ;
 
17991
  int res1 = 0 ;
 
17992
  PyObject *swig_obj[1] ;
 
17993
  
 
17994
  if (!args) SWIG_fail;
 
17995
  swig_obj[0] = args;
 
17996
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextFileHandler, 0 |  0 );
 
17997
  if (!SWIG_IsOK(res1)) {
 
17998
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextFileHandler_GetName" "', expected argument " "1"" of type '" "wxRichTextFileHandler const *""'"); 
 
17999
  }
 
18000
  arg1 = reinterpret_cast< wxRichTextFileHandler * >(argp1);
 
18001
  {
 
18002
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
18003
    result = ((wxRichTextFileHandler const *)arg1)->GetName();
 
18004
    wxPyEndAllowThreads(__tstate);
 
18005
    if (PyErr_Occurred()) SWIG_fail;
 
18006
  }
 
18007
  {
 
18008
#if wxUSE_UNICODE
 
18009
    resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
 
18010
#else
 
18011
    resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
 
18012
#endif
 
18013
  }
 
18014
  return resultobj;
 
18015
fail:
 
18016
  return NULL;
 
18017
}
 
18018
 
 
18019
 
 
18020
SWIGINTERN PyObject *_wrap_RichTextFileHandler_SetExtension(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
18021
  PyObject *resultobj = 0;
 
18022
  wxRichTextFileHandler *arg1 = (wxRichTextFileHandler *) 0 ;
 
18023
  wxString *arg2 = 0 ;
 
18024
  void *argp1 = 0 ;
 
18025
  int res1 = 0 ;
 
18026
  bool temp2 = false ;
 
18027
  PyObject * obj0 = 0 ;
 
18028
  PyObject * obj1 = 0 ;
 
18029
  char *  kwnames[] = {
 
18030
    (char *) "self",(char *) "ext", NULL 
 
18031
  };
 
18032
  
 
18033
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RichTextFileHandler_SetExtension",kwnames,&obj0,&obj1)) SWIG_fail;
 
18034
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextFileHandler, 0 |  0 );
 
18035
  if (!SWIG_IsOK(res1)) {
 
18036
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextFileHandler_SetExtension" "', expected argument " "1"" of type '" "wxRichTextFileHandler *""'"); 
 
18037
  }
 
18038
  arg1 = reinterpret_cast< wxRichTextFileHandler * >(argp1);
 
18039
  {
 
18040
    arg2 = wxString_in_helper(obj1);
 
18041
    if (arg2 == NULL) SWIG_fail;
 
18042
    temp2 = true;
 
18043
  }
 
18044
  {
 
18045
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
18046
    (arg1)->SetExtension((wxString const &)*arg2);
 
18047
    wxPyEndAllowThreads(__tstate);
 
18048
    if (PyErr_Occurred()) SWIG_fail;
 
18049
  }
 
18050
  resultobj = SWIG_Py_Void();
 
18051
  {
 
18052
    if (temp2)
 
18053
    delete arg2;
 
18054
  }
 
18055
  return resultobj;
 
18056
fail:
 
18057
  {
 
18058
    if (temp2)
 
18059
    delete arg2;
 
18060
  }
 
18061
  return NULL;
 
18062
}
 
18063
 
 
18064
 
 
18065
SWIGINTERN PyObject *_wrap_RichTextFileHandler_GetExtension(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
18066
  PyObject *resultobj = 0;
 
18067
  wxRichTextFileHandler *arg1 = (wxRichTextFileHandler *) 0 ;
 
18068
  wxString result;
 
18069
  void *argp1 = 0 ;
 
18070
  int res1 = 0 ;
 
18071
  PyObject *swig_obj[1] ;
 
18072
  
 
18073
  if (!args) SWIG_fail;
 
18074
  swig_obj[0] = args;
 
18075
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextFileHandler, 0 |  0 );
 
18076
  if (!SWIG_IsOK(res1)) {
 
18077
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextFileHandler_GetExtension" "', expected argument " "1"" of type '" "wxRichTextFileHandler const *""'"); 
 
18078
  }
 
18079
  arg1 = reinterpret_cast< wxRichTextFileHandler * >(argp1);
 
18080
  {
 
18081
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
18082
    result = ((wxRichTextFileHandler const *)arg1)->GetExtension();
 
18083
    wxPyEndAllowThreads(__tstate);
 
18084
    if (PyErr_Occurred()) SWIG_fail;
 
18085
  }
 
18086
  {
 
18087
#if wxUSE_UNICODE
 
18088
    resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
 
18089
#else
 
18090
    resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
 
18091
#endif
 
18092
  }
 
18093
  return resultobj;
 
18094
fail:
 
18095
  return NULL;
 
18096
}
 
18097
 
 
18098
 
 
18099
SWIGINTERN PyObject *_wrap_RichTextFileHandler_SetType(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
18100
  PyObject *resultobj = 0;
 
18101
  wxRichTextFileHandler *arg1 = (wxRichTextFileHandler *) 0 ;
 
18102
  int arg2 ;
 
18103
  void *argp1 = 0 ;
 
18104
  int res1 = 0 ;
 
18105
  int val2 ;
 
18106
  int ecode2 = 0 ;
 
18107
  PyObject * obj0 = 0 ;
 
18108
  PyObject * obj1 = 0 ;
 
18109
  char *  kwnames[] = {
 
18110
    (char *) "self",(char *) "type", NULL 
 
18111
  };
 
18112
  
 
18113
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RichTextFileHandler_SetType",kwnames,&obj0,&obj1)) SWIG_fail;
 
18114
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextFileHandler, 0 |  0 );
 
18115
  if (!SWIG_IsOK(res1)) {
 
18116
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextFileHandler_SetType" "', expected argument " "1"" of type '" "wxRichTextFileHandler *""'"); 
 
18117
  }
 
18118
  arg1 = reinterpret_cast< wxRichTextFileHandler * >(argp1);
 
18119
  ecode2 = SWIG_AsVal_int(obj1, &val2);
 
18120
  if (!SWIG_IsOK(ecode2)) {
 
18121
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RichTextFileHandler_SetType" "', expected argument " "2"" of type '" "int""'");
 
18122
  } 
 
18123
  arg2 = static_cast< int >(val2);
 
18124
  {
 
18125
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
18126
    (arg1)->SetType(arg2);
 
18127
    wxPyEndAllowThreads(__tstate);
 
18128
    if (PyErr_Occurred()) SWIG_fail;
 
18129
  }
 
18130
  resultobj = SWIG_Py_Void();
 
18131
  return resultobj;
 
18132
fail:
 
18133
  return NULL;
 
18134
}
 
18135
 
 
18136
 
 
18137
SWIGINTERN PyObject *_wrap_RichTextFileHandler_GetType(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
18138
  PyObject *resultobj = 0;
 
18139
  wxRichTextFileHandler *arg1 = (wxRichTextFileHandler *) 0 ;
 
18140
  int result;
 
18141
  void *argp1 = 0 ;
 
18142
  int res1 = 0 ;
 
18143
  PyObject *swig_obj[1] ;
 
18144
  
 
18145
  if (!args) SWIG_fail;
 
18146
  swig_obj[0] = args;
 
18147
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextFileHandler, 0 |  0 );
 
18148
  if (!SWIG_IsOK(res1)) {
 
18149
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextFileHandler_GetType" "', expected argument " "1"" of type '" "wxRichTextFileHandler const *""'"); 
 
18150
  }
 
18151
  arg1 = reinterpret_cast< wxRichTextFileHandler * >(argp1);
 
18152
  {
 
18153
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
18154
    result = (int)((wxRichTextFileHandler const *)arg1)->GetType();
 
18155
    wxPyEndAllowThreads(__tstate);
 
18156
    if (PyErr_Occurred()) SWIG_fail;
 
18157
  }
 
18158
  resultobj = SWIG_From_int(static_cast< int >(result));
 
18159
  return resultobj;
 
18160
fail:
 
18161
  return NULL;
 
18162
}
 
18163
 
 
18164
 
 
18165
SWIGINTERN PyObject *_wrap_RichTextFileHandler_SetFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
18166
  PyObject *resultobj = 0;
 
18167
  wxRichTextFileHandler *arg1 = (wxRichTextFileHandler *) 0 ;
 
18168
  int arg2 ;
 
18169
  void *argp1 = 0 ;
 
18170
  int res1 = 0 ;
 
18171
  int val2 ;
 
18172
  int ecode2 = 0 ;
 
18173
  PyObject * obj0 = 0 ;
 
18174
  PyObject * obj1 = 0 ;
 
18175
  char *  kwnames[] = {
 
18176
    (char *) "self",(char *) "flags", NULL 
 
18177
  };
 
18178
  
 
18179
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RichTextFileHandler_SetFlags",kwnames,&obj0,&obj1)) SWIG_fail;
 
18180
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextFileHandler, 0 |  0 );
 
18181
  if (!SWIG_IsOK(res1)) {
 
18182
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextFileHandler_SetFlags" "', expected argument " "1"" of type '" "wxRichTextFileHandler *""'"); 
 
18183
  }
 
18184
  arg1 = reinterpret_cast< wxRichTextFileHandler * >(argp1);
 
18185
  ecode2 = SWIG_AsVal_int(obj1, &val2);
 
18186
  if (!SWIG_IsOK(ecode2)) {
 
18187
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RichTextFileHandler_SetFlags" "', expected argument " "2"" of type '" "int""'");
 
18188
  } 
 
18189
  arg2 = static_cast< int >(val2);
 
18190
  {
 
18191
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
18192
    (arg1)->SetFlags(arg2);
 
18193
    wxPyEndAllowThreads(__tstate);
 
18194
    if (PyErr_Occurred()) SWIG_fail;
 
18195
  }
 
18196
  resultobj = SWIG_Py_Void();
 
18197
  return resultobj;
 
18198
fail:
 
18199
  return NULL;
 
18200
}
 
18201
 
 
18202
 
 
18203
SWIGINTERN PyObject *_wrap_RichTextFileHandler_GetFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
18204
  PyObject *resultobj = 0;
 
18205
  wxRichTextFileHandler *arg1 = (wxRichTextFileHandler *) 0 ;
 
18206
  int result;
 
18207
  void *argp1 = 0 ;
 
18208
  int res1 = 0 ;
 
18209
  PyObject *swig_obj[1] ;
 
18210
  
 
18211
  if (!args) SWIG_fail;
 
18212
  swig_obj[0] = args;
 
18213
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextFileHandler, 0 |  0 );
 
18214
  if (!SWIG_IsOK(res1)) {
 
18215
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextFileHandler_GetFlags" "', expected argument " "1"" of type '" "wxRichTextFileHandler const *""'"); 
 
18216
  }
 
18217
  arg1 = reinterpret_cast< wxRichTextFileHandler * >(argp1);
 
18218
  {
 
18219
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
18220
    result = (int)((wxRichTextFileHandler const *)arg1)->GetFlags();
 
18221
    wxPyEndAllowThreads(__tstate);
 
18222
    if (PyErr_Occurred()) SWIG_fail;
 
18223
  }
 
18224
  resultobj = SWIG_From_int(static_cast< int >(result));
 
18225
  return resultobj;
 
18226
fail:
 
18227
  return NULL;
 
18228
}
 
18229
 
 
18230
 
 
18231
SWIGINTERN PyObject *_wrap_RichTextFileHandler_SetEncoding(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
18232
  PyObject *resultobj = 0;
 
18233
  wxRichTextFileHandler *arg1 = (wxRichTextFileHandler *) 0 ;
 
18234
  wxString *arg2 = 0 ;
 
18235
  void *argp1 = 0 ;
 
18236
  int res1 = 0 ;
 
18237
  bool temp2 = false ;
 
18238
  PyObject * obj0 = 0 ;
 
18239
  PyObject * obj1 = 0 ;
 
18240
  char *  kwnames[] = {
 
18241
    (char *) "self",(char *) "encoding", NULL 
 
18242
  };
 
18243
  
 
18244
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RichTextFileHandler_SetEncoding",kwnames,&obj0,&obj1)) SWIG_fail;
 
18245
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextFileHandler, 0 |  0 );
 
18246
  if (!SWIG_IsOK(res1)) {
 
18247
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextFileHandler_SetEncoding" "', expected argument " "1"" of type '" "wxRichTextFileHandler *""'"); 
 
18248
  }
 
18249
  arg1 = reinterpret_cast< wxRichTextFileHandler * >(argp1);
 
18250
  {
 
18251
    arg2 = wxString_in_helper(obj1);
 
18252
    if (arg2 == NULL) SWIG_fail;
 
18253
    temp2 = true;
 
18254
  }
 
18255
  {
 
18256
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
18257
    (arg1)->SetEncoding((wxString const &)*arg2);
 
18258
    wxPyEndAllowThreads(__tstate);
 
18259
    if (PyErr_Occurred()) SWIG_fail;
 
18260
  }
 
18261
  resultobj = SWIG_Py_Void();
 
18262
  {
 
18263
    if (temp2)
 
18264
    delete arg2;
 
18265
  }
 
18266
  return resultobj;
 
18267
fail:
 
18268
  {
 
18269
    if (temp2)
 
18270
    delete arg2;
 
18271
  }
 
18272
  return NULL;
 
18273
}
 
18274
 
 
18275
 
 
18276
SWIGINTERN PyObject *_wrap_RichTextFileHandler_GetEncoding(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
18277
  PyObject *resultobj = 0;
 
18278
  wxRichTextFileHandler *arg1 = (wxRichTextFileHandler *) 0 ;
 
18279
  wxString *result = 0 ;
 
18280
  void *argp1 = 0 ;
 
18281
  int res1 = 0 ;
 
18282
  PyObject *swig_obj[1] ;
 
18283
  
 
18284
  if (!args) SWIG_fail;
 
18285
  swig_obj[0] = args;
 
18286
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextFileHandler, 0 |  0 );
 
18287
  if (!SWIG_IsOK(res1)) {
 
18288
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextFileHandler_GetEncoding" "', expected argument " "1"" of type '" "wxRichTextFileHandler const *""'"); 
 
18289
  }
 
18290
  arg1 = reinterpret_cast< wxRichTextFileHandler * >(argp1);
 
18291
  {
 
18292
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
18293
    {
 
18294
      wxString const &_result_ref = ((wxRichTextFileHandler const *)arg1)->GetEncoding();
 
18295
      result = (wxString *) &_result_ref;
 
18296
    }
 
18297
    wxPyEndAllowThreads(__tstate);
 
18298
    if (PyErr_Occurred()) SWIG_fail;
 
18299
  }
 
18300
  {
 
18301
#if wxUSE_UNICODE
 
18302
    resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
 
18303
#else
 
18304
    resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
 
18305
#endif
 
18306
  }
 
18307
  return resultobj;
 
18308
fail:
 
18309
  return NULL;
 
18310
}
 
18311
 
 
18312
 
 
18313
SWIGINTERN PyObject *RichTextFileHandler_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
18314
  PyObject *obj;
 
18315
  if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
 
18316
  SWIG_TypeNewClientData(SWIGTYPE_p_wxRichTextFileHandler, SWIG_NewClientData(obj));
 
18317
  return SWIG_Py_Void();
 
18318
}
 
18319
 
 
18320
SWIGINTERN int TextName_set(PyObject *) {
 
18321
  SWIG_Error(SWIG_AttributeError,"Variable TextName is read-only.");
 
18322
  return 1;
 
18323
}
 
18324
 
 
18325
 
 
18326
SWIGINTERN PyObject *TextName_get(void) {
 
18327
  PyObject *pyobj = 0;
 
18328
  
 
18329
  {
 
18330
#if wxUSE_UNICODE
 
18331
    pyobj = PyUnicode_FromWideChar((&wxPyTextName)->c_str(), (&wxPyTextName)->Len());
 
18332
#else
 
18333
    pyobj = PyString_FromStringAndSize((&wxPyTextName)->c_str(), (&wxPyTextName)->Len());
 
18334
#endif
 
18335
  }
 
18336
  return pyobj;
 
18337
}
 
18338
 
 
18339
 
 
18340
SWIGINTERN int TextExt_set(PyObject *) {
 
18341
  SWIG_Error(SWIG_AttributeError,"Variable TextExt is read-only.");
 
18342
  return 1;
 
18343
}
 
18344
 
 
18345
 
 
18346
SWIGINTERN PyObject *TextExt_get(void) {
 
18347
  PyObject *pyobj = 0;
 
18348
  
 
18349
  {
 
18350
#if wxUSE_UNICODE
 
18351
    pyobj = PyUnicode_FromWideChar((&wxPyTextExt)->c_str(), (&wxPyTextExt)->Len());
 
18352
#else
 
18353
    pyobj = PyString_FromStringAndSize((&wxPyTextExt)->c_str(), (&wxPyTextExt)->Len());
 
18354
#endif
 
18355
  }
 
18356
  return pyobj;
 
18357
}
 
18358
 
 
18359
 
 
18360
SWIGINTERN PyObject *_wrap_new_RichTextPlainTextHandler(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
18361
  PyObject *resultobj = 0;
 
18362
  wxString const &arg1_defvalue = wxPyTextName ;
 
18363
  wxString *arg1 = (wxString *) &arg1_defvalue ;
 
18364
  wxString const &arg2_defvalue = wxPyTextExt ;
 
18365
  wxString *arg2 = (wxString *) &arg2_defvalue ;
 
18366
  int arg3 = (int) wxRICHTEXT_TYPE_TEXT ;
 
18367
  wxRichTextPlainTextHandler *result = 0 ;
 
18368
  bool temp1 = false ;
 
18369
  bool temp2 = false ;
 
18370
  int val3 ;
 
18371
  int ecode3 = 0 ;
 
18372
  PyObject * obj0 = 0 ;
 
18373
  PyObject * obj1 = 0 ;
 
18374
  PyObject * obj2 = 0 ;
 
18375
  char *  kwnames[] = {
 
18376
    (char *) "name",(char *) "ext",(char *) "type", NULL 
 
18377
  };
 
18378
  
 
18379
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOO:new_RichTextPlainTextHandler",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
 
18380
  if (obj0) {
 
18381
    {
 
18382
      arg1 = wxString_in_helper(obj0);
 
18383
      if (arg1 == NULL) SWIG_fail;
 
18384
      temp1 = true;
 
18385
    }
 
18386
  }
 
18387
  if (obj1) {
 
18388
    {
 
18389
      arg2 = wxString_in_helper(obj1);
 
18390
      if (arg2 == NULL) SWIG_fail;
 
18391
      temp2 = true;
 
18392
    }
 
18393
  }
 
18394
  if (obj2) {
 
18395
    ecode3 = SWIG_AsVal_int(obj2, &val3);
 
18396
    if (!SWIG_IsOK(ecode3)) {
 
18397
      SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_RichTextPlainTextHandler" "', expected argument " "3"" of type '" "int""'");
 
18398
    } 
 
18399
    arg3 = static_cast< int >(val3);
 
18400
  }
 
18401
  {
 
18402
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
18403
    result = (wxRichTextPlainTextHandler *)new wxRichTextPlainTextHandler((wxString const &)*arg1,(wxString const &)*arg2,arg3);
 
18404
    wxPyEndAllowThreads(__tstate);
 
18405
    if (PyErr_Occurred()) SWIG_fail;
 
18406
  }
 
18407
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxRichTextPlainTextHandler, SWIG_POINTER_NEW |  0 );
 
18408
  {
 
18409
    if (temp1)
 
18410
    delete arg1;
 
18411
  }
 
18412
  {
 
18413
    if (temp2)
 
18414
    delete arg2;
 
18415
  }
 
18416
  return resultobj;
 
18417
fail:
 
18418
  {
 
18419
    if (temp1)
 
18420
    delete arg1;
 
18421
  }
 
18422
  {
 
18423
    if (temp2)
 
18424
    delete arg2;
 
18425
  }
 
18426
  return NULL;
 
18427
}
 
18428
 
 
18429
 
 
18430
SWIGINTERN PyObject *RichTextPlainTextHandler_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
18431
  PyObject *obj;
 
18432
  if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
 
18433
  SWIG_TypeNewClientData(SWIGTYPE_p_wxRichTextPlainTextHandler, SWIG_NewClientData(obj));
 
18434
  return SWIG_Py_Void();
 
18435
}
 
18436
 
 
18437
SWIGINTERN PyObject *RichTextPlainTextHandler_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
18438
  return SWIG_Python_InitShadowInstance(args);
 
18439
}
 
18440
 
 
18441
SWIGINTERN PyObject *_wrap_delete_RichTextRenderer(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
18442
  PyObject *resultobj = 0;
 
18443
  wxRichTextRenderer *arg1 = (wxRichTextRenderer *) 0 ;
 
18444
  void *argp1 = 0 ;
 
18445
  int res1 = 0 ;
 
18446
  PyObject *swig_obj[1] ;
 
18447
  
 
18448
  if (!args) SWIG_fail;
 
18449
  swig_obj[0] = args;
 
18450
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextRenderer, SWIG_POINTER_DISOWN |  0 );
 
18451
  if (!SWIG_IsOK(res1)) {
 
18452
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_RichTextRenderer" "', expected argument " "1"" of type '" "wxRichTextRenderer *""'"); 
 
18453
  }
 
18454
  arg1 = reinterpret_cast< wxRichTextRenderer * >(argp1);
 
18455
  {
 
18456
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
18457
    delete arg1;
 
18458
    
 
18459
    wxPyEndAllowThreads(__tstate);
 
18460
    if (PyErr_Occurred()) SWIG_fail;
 
18461
  }
 
18462
  resultobj = SWIG_Py_Void();
 
18463
  return resultobj;
 
18464
fail:
 
18465
  return NULL;
 
18466
}
 
18467
 
 
18468
 
 
18469
SWIGINTERN PyObject *_wrap_RichTextRenderer_DrawStandardBullet(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
18470
  PyObject *resultobj = 0;
 
18471
  wxRichTextRenderer *arg1 = (wxRichTextRenderer *) 0 ;
 
18472
  wxRichTextParagraph *arg2 = (wxRichTextParagraph *) 0 ;
 
18473
  wxDC *arg3 = 0 ;
 
18474
  wxTextAttrEx *arg4 = 0 ;
 
18475
  wxRect *arg5 = 0 ;
 
18476
  bool result;
 
18477
  void *argp1 = 0 ;
 
18478
  int res1 = 0 ;
 
18479
  void *argp2 = 0 ;
 
18480
  int res2 = 0 ;
 
18481
  void *argp3 = 0 ;
 
18482
  int res3 = 0 ;
 
18483
  void *argp4 = 0 ;
 
18484
  int res4 = 0 ;
 
18485
  wxRect temp5 ;
 
18486
  PyObject * obj0 = 0 ;
 
18487
  PyObject * obj1 = 0 ;
 
18488
  PyObject * obj2 = 0 ;
 
18489
  PyObject * obj3 = 0 ;
 
18490
  PyObject * obj4 = 0 ;
 
18491
  char *  kwnames[] = {
 
18492
    (char *) "self",(char *) "paragraph",(char *) "dc",(char *) "attr",(char *) "rect", NULL 
 
18493
  };
 
18494
  
 
18495
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:RichTextRenderer_DrawStandardBullet",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
 
18496
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextRenderer, 0 |  0 );
 
18497
  if (!SWIG_IsOK(res1)) {
 
18498
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextRenderer_DrawStandardBullet" "', expected argument " "1"" of type '" "wxRichTextRenderer *""'"); 
 
18499
  }
 
18500
  arg1 = reinterpret_cast< wxRichTextRenderer * >(argp1);
 
18501
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxRichTextParagraph, 0 |  0 );
 
18502
  if (!SWIG_IsOK(res2)) {
 
18503
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "RichTextRenderer_DrawStandardBullet" "', expected argument " "2"" of type '" "wxRichTextParagraph *""'"); 
 
18504
  }
 
18505
  arg2 = reinterpret_cast< wxRichTextParagraph * >(argp2);
 
18506
  res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxDC,  0 );
 
18507
  if (!SWIG_IsOK(res3)) {
 
18508
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "RichTextRenderer_DrawStandardBullet" "', expected argument " "3"" of type '" "wxDC &""'"); 
 
18509
  }
 
18510
  if (!argp3) {
 
18511
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "RichTextRenderer_DrawStandardBullet" "', expected argument " "3"" of type '" "wxDC &""'"); 
 
18512
  }
 
18513
  arg3 = reinterpret_cast< wxDC * >(argp3);
 
18514
  res4 = SWIG_ConvertPtr(obj3, &argp4, SWIGTYPE_p_wxTextAttrEx,  0  | 0);
 
18515
  if (!SWIG_IsOK(res4)) {
 
18516
    SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "RichTextRenderer_DrawStandardBullet" "', expected argument " "4"" of type '" "wxTextAttrEx const &""'"); 
 
18517
  }
 
18518
  if (!argp4) {
 
18519
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "RichTextRenderer_DrawStandardBullet" "', expected argument " "4"" of type '" "wxTextAttrEx const &""'"); 
 
18520
  }
 
18521
  arg4 = reinterpret_cast< wxTextAttrEx * >(argp4);
 
18522
  {
 
18523
    arg5 = &temp5;
 
18524
    if ( ! wxRect_helper(obj4, &arg5)) SWIG_fail;
 
18525
  }
 
18526
  {
 
18527
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
18528
    result = (bool)(arg1)->DrawStandardBullet(arg2,*arg3,(wxTextAttrEx const &)*arg4,(wxRect const &)*arg5);
 
18529
    wxPyEndAllowThreads(__tstate);
 
18530
    if (PyErr_Occurred()) SWIG_fail;
 
18531
  }
 
18532
  {
 
18533
    resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
 
18534
  }
 
18535
  return resultobj;
 
18536
fail:
 
18537
  return NULL;
 
18538
}
 
18539
 
 
18540
 
 
18541
SWIGINTERN PyObject *_wrap_RichTextRenderer_DrawTextBullet(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
18542
  PyObject *resultobj = 0;
 
18543
  wxRichTextRenderer *arg1 = (wxRichTextRenderer *) 0 ;
 
18544
  wxRichTextParagraph *arg2 = (wxRichTextParagraph *) 0 ;
 
18545
  wxDC *arg3 = 0 ;
 
18546
  wxTextAttrEx *arg4 = 0 ;
 
18547
  wxRect *arg5 = 0 ;
 
18548
  wxString *arg6 = 0 ;
 
18549
  bool result;
 
18550
  void *argp1 = 0 ;
 
18551
  int res1 = 0 ;
 
18552
  void *argp2 = 0 ;
 
18553
  int res2 = 0 ;
 
18554
  void *argp3 = 0 ;
 
18555
  int res3 = 0 ;
 
18556
  void *argp4 = 0 ;
 
18557
  int res4 = 0 ;
 
18558
  wxRect temp5 ;
 
18559
  bool temp6 = false ;
 
18560
  PyObject * obj0 = 0 ;
 
18561
  PyObject * obj1 = 0 ;
 
18562
  PyObject * obj2 = 0 ;
 
18563
  PyObject * obj3 = 0 ;
 
18564
  PyObject * obj4 = 0 ;
 
18565
  PyObject * obj5 = 0 ;
 
18566
  char *  kwnames[] = {
 
18567
    (char *) "self",(char *) "paragraph",(char *) "dc",(char *) "attr",(char *) "rect",(char *) "text", NULL 
 
18568
  };
 
18569
  
 
18570
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOO:RichTextRenderer_DrawTextBullet",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
 
18571
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextRenderer, 0 |  0 );
 
18572
  if (!SWIG_IsOK(res1)) {
 
18573
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextRenderer_DrawTextBullet" "', expected argument " "1"" of type '" "wxRichTextRenderer *""'"); 
 
18574
  }
 
18575
  arg1 = reinterpret_cast< wxRichTextRenderer * >(argp1);
 
18576
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxRichTextParagraph, 0 |  0 );
 
18577
  if (!SWIG_IsOK(res2)) {
 
18578
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "RichTextRenderer_DrawTextBullet" "', expected argument " "2"" of type '" "wxRichTextParagraph *""'"); 
 
18579
  }
 
18580
  arg2 = reinterpret_cast< wxRichTextParagraph * >(argp2);
 
18581
  res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxDC,  0 );
 
18582
  if (!SWIG_IsOK(res3)) {
 
18583
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "RichTextRenderer_DrawTextBullet" "', expected argument " "3"" of type '" "wxDC &""'"); 
 
18584
  }
 
18585
  if (!argp3) {
 
18586
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "RichTextRenderer_DrawTextBullet" "', expected argument " "3"" of type '" "wxDC &""'"); 
 
18587
  }
 
18588
  arg3 = reinterpret_cast< wxDC * >(argp3);
 
18589
  res4 = SWIG_ConvertPtr(obj3, &argp4, SWIGTYPE_p_wxTextAttrEx,  0  | 0);
 
18590
  if (!SWIG_IsOK(res4)) {
 
18591
    SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "RichTextRenderer_DrawTextBullet" "', expected argument " "4"" of type '" "wxTextAttrEx const &""'"); 
 
18592
  }
 
18593
  if (!argp4) {
 
18594
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "RichTextRenderer_DrawTextBullet" "', expected argument " "4"" of type '" "wxTextAttrEx const &""'"); 
 
18595
  }
 
18596
  arg4 = reinterpret_cast< wxTextAttrEx * >(argp4);
 
18597
  {
 
18598
    arg5 = &temp5;
 
18599
    if ( ! wxRect_helper(obj4, &arg5)) SWIG_fail;
 
18600
  }
 
18601
  {
 
18602
    arg6 = wxString_in_helper(obj5);
 
18603
    if (arg6 == NULL) SWIG_fail;
 
18604
    temp6 = true;
 
18605
  }
 
18606
  {
 
18607
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
18608
    result = (bool)(arg1)->DrawTextBullet(arg2,*arg3,(wxTextAttrEx const &)*arg4,(wxRect const &)*arg5,(wxString const &)*arg6);
 
18609
    wxPyEndAllowThreads(__tstate);
 
18610
    if (PyErr_Occurred()) SWIG_fail;
 
18611
  }
 
18612
  {
 
18613
    resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
 
18614
  }
 
18615
  {
 
18616
    if (temp6)
 
18617
    delete arg6;
 
18618
  }
 
18619
  return resultobj;
 
18620
fail:
 
18621
  {
 
18622
    if (temp6)
 
18623
    delete arg6;
 
18624
  }
 
18625
  return NULL;
 
18626
}
 
18627
 
 
18628
 
 
18629
SWIGINTERN PyObject *_wrap_RichTextRenderer_DrawBitmapBullet(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
18630
  PyObject *resultobj = 0;
 
18631
  wxRichTextRenderer *arg1 = (wxRichTextRenderer *) 0 ;
 
18632
  wxRichTextParagraph *arg2 = (wxRichTextParagraph *) 0 ;
 
18633
  wxDC *arg3 = 0 ;
 
18634
  wxTextAttrEx *arg4 = 0 ;
 
18635
  wxRect *arg5 = 0 ;
 
18636
  bool result;
 
18637
  void *argp1 = 0 ;
 
18638
  int res1 = 0 ;
 
18639
  void *argp2 = 0 ;
 
18640
  int res2 = 0 ;
 
18641
  void *argp3 = 0 ;
 
18642
  int res3 = 0 ;
 
18643
  void *argp4 = 0 ;
 
18644
  int res4 = 0 ;
 
18645
  wxRect temp5 ;
 
18646
  PyObject * obj0 = 0 ;
 
18647
  PyObject * obj1 = 0 ;
 
18648
  PyObject * obj2 = 0 ;
 
18649
  PyObject * obj3 = 0 ;
 
18650
  PyObject * obj4 = 0 ;
 
18651
  char *  kwnames[] = {
 
18652
    (char *) "self",(char *) "paragraph",(char *) "dc",(char *) "attr",(char *) "rect", NULL 
 
18653
  };
 
18654
  
 
18655
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:RichTextRenderer_DrawBitmapBullet",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
 
18656
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextRenderer, 0 |  0 );
 
18657
  if (!SWIG_IsOK(res1)) {
 
18658
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextRenderer_DrawBitmapBullet" "', expected argument " "1"" of type '" "wxRichTextRenderer *""'"); 
 
18659
  }
 
18660
  arg1 = reinterpret_cast< wxRichTextRenderer * >(argp1);
 
18661
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxRichTextParagraph, 0 |  0 );
 
18662
  if (!SWIG_IsOK(res2)) {
 
18663
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "RichTextRenderer_DrawBitmapBullet" "', expected argument " "2"" of type '" "wxRichTextParagraph *""'"); 
 
18664
  }
 
18665
  arg2 = reinterpret_cast< wxRichTextParagraph * >(argp2);
 
18666
  res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxDC,  0 );
 
18667
  if (!SWIG_IsOK(res3)) {
 
18668
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "RichTextRenderer_DrawBitmapBullet" "', expected argument " "3"" of type '" "wxDC &""'"); 
 
18669
  }
 
18670
  if (!argp3) {
 
18671
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "RichTextRenderer_DrawBitmapBullet" "', expected argument " "3"" of type '" "wxDC &""'"); 
 
18672
  }
 
18673
  arg3 = reinterpret_cast< wxDC * >(argp3);
 
18674
  res4 = SWIG_ConvertPtr(obj3, &argp4, SWIGTYPE_p_wxTextAttrEx,  0  | 0);
 
18675
  if (!SWIG_IsOK(res4)) {
 
18676
    SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "RichTextRenderer_DrawBitmapBullet" "', expected argument " "4"" of type '" "wxTextAttrEx const &""'"); 
 
18677
  }
 
18678
  if (!argp4) {
 
18679
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "RichTextRenderer_DrawBitmapBullet" "', expected argument " "4"" of type '" "wxTextAttrEx const &""'"); 
 
18680
  }
 
18681
  arg4 = reinterpret_cast< wxTextAttrEx * >(argp4);
 
18682
  {
 
18683
    arg5 = &temp5;
 
18684
    if ( ! wxRect_helper(obj4, &arg5)) SWIG_fail;
 
18685
  }
 
18686
  {
 
18687
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
18688
    result = (bool)(arg1)->DrawBitmapBullet(arg2,*arg3,(wxTextAttrEx const &)*arg4,(wxRect const &)*arg5);
 
18689
    wxPyEndAllowThreads(__tstate);
 
18690
    if (PyErr_Occurred()) SWIG_fail;
 
18691
  }
 
18692
  {
 
18693
    resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
 
18694
  }
 
18695
  return resultobj;
 
18696
fail:
 
18697
  return NULL;
 
18698
}
 
18699
 
 
18700
 
 
18701
SWIGINTERN PyObject *_wrap_RichTextRenderer_EnumerateStandardBulletNames(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
18702
  PyObject *resultobj = 0;
 
18703
  wxRichTextRenderer *arg1 = (wxRichTextRenderer *) 0 ;
 
18704
  wxArrayString *arg2 = 0 ;
 
18705
  bool result;
 
18706
  void *argp1 = 0 ;
 
18707
  int res1 = 0 ;
 
18708
  bool temp2 = false ;
 
18709
  PyObject * obj0 = 0 ;
 
18710
  PyObject * obj1 = 0 ;
 
18711
  char *  kwnames[] = {
 
18712
    (char *) "self",(char *) "bulletNames", NULL 
 
18713
  };
 
18714
  
 
18715
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RichTextRenderer_EnumerateStandardBulletNames",kwnames,&obj0,&obj1)) SWIG_fail;
 
18716
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextRenderer, 0 |  0 );
 
18717
  if (!SWIG_IsOK(res1)) {
 
18718
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextRenderer_EnumerateStandardBulletNames" "', expected argument " "1"" of type '" "wxRichTextRenderer *""'"); 
 
18719
  }
 
18720
  arg1 = reinterpret_cast< wxRichTextRenderer * >(argp1);
 
18721
  {
 
18722
    if (! PySequence_Check(obj1)) {
 
18723
      PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
 
18724
      SWIG_fail;
 
18725
    }
 
18726
    arg2 = new wxArrayString;
 
18727
    temp2 = true;
 
18728
    int i, len=PySequence_Length(obj1);
 
18729
    for (i=0; i<len; i++) {
 
18730
      PyObject* item = PySequence_GetItem(obj1, i);
 
18731
      wxString* s = wxString_in_helper(item);
 
18732
      if (PyErr_Occurred())  SWIG_fail;
 
18733
      arg2->Add(*s);
 
18734
      delete s;
 
18735
      Py_DECREF(item);
 
18736
    }
 
18737
  }
 
18738
  {
 
18739
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
18740
    result = (bool)(arg1)->EnumerateStandardBulletNames(*arg2);
 
18741
    wxPyEndAllowThreads(__tstate);
 
18742
    if (PyErr_Occurred()) SWIG_fail;
 
18743
  }
 
18744
  {
 
18745
    resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
 
18746
  }
 
18747
  {
 
18748
    if (temp2) delete arg2;
 
18749
  }
 
18750
  return resultobj;
 
18751
fail:
 
18752
  {
 
18753
    if (temp2) delete arg2;
 
18754
  }
 
18755
  return NULL;
 
18756
}
 
18757
 
 
18758
 
 
18759
SWIGINTERN PyObject *RichTextRenderer_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
18760
  PyObject *obj;
 
18761
  if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
 
18762
  SWIG_TypeNewClientData(SWIGTYPE_p_wxRichTextRenderer, SWIG_NewClientData(obj));
 
18763
  return SWIG_Py_Void();
 
18764
}
 
18765
 
 
18766
SWIGINTERN PyObject *_wrap_new_RichTextStdRenderer(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
18767
  PyObject *resultobj = 0;
 
18768
  wxRichTextStdRenderer *result = 0 ;
 
18769
  
 
18770
  if (!SWIG_Python_UnpackTuple(args,"new_RichTextStdRenderer",0,0,0)) SWIG_fail;
 
18771
  {
 
18772
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
18773
    result = (wxRichTextStdRenderer *)new wxRichTextStdRenderer();
 
18774
    wxPyEndAllowThreads(__tstate);
 
18775
    if (PyErr_Occurred()) SWIG_fail;
 
18776
  }
 
18777
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxRichTextStdRenderer, SWIG_POINTER_NEW |  0 );
 
18778
  return resultobj;
 
18779
fail:
 
18780
  return NULL;
 
18781
}
 
18782
 
 
18783
 
 
18784
SWIGINTERN PyObject *RichTextStdRenderer_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
18785
  PyObject *obj;
 
18786
  if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
 
18787
  SWIG_TypeNewClientData(SWIGTYPE_p_wxRichTextStdRenderer, SWIG_NewClientData(obj));
 
18788
  return SWIG_Py_Void();
 
18789
}
 
18790
 
 
18791
SWIGINTERN PyObject *RichTextStdRenderer_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
18792
  return SWIG_Python_InitShadowInstance(args);
 
18793
}
 
18794
 
 
18795
SWIGINTERN int RichTextCtrlNameStr_set(PyObject *) {
 
18796
  SWIG_Error(SWIG_AttributeError,"Variable RichTextCtrlNameStr is read-only.");
 
18797
  return 1;
 
18798
}
 
18799
 
 
18800
 
 
18801
SWIGINTERN PyObject *RichTextCtrlNameStr_get(void) {
 
18802
  PyObject *pyobj = 0;
 
18803
  
 
18804
  {
 
18805
#if wxUSE_UNICODE
 
18806
    pyobj = PyUnicode_FromWideChar((&wxPyRichTextCtrlNameStr)->c_str(), (&wxPyRichTextCtrlNameStr)->Len());
 
18807
#else
 
18808
    pyobj = PyString_FromStringAndSize((&wxPyRichTextCtrlNameStr)->c_str(), (&wxPyRichTextCtrlNameStr)->Len());
 
18809
#endif
 
18810
  }
 
18811
  return pyobj;
 
18812
}
 
18813
 
5777
18814
 
5778
18815
SWIGINTERN PyObject *_wrap_new_RichTextCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5779
18816
  PyObject *resultobj = 0;
5786
18823
  wxSize const &arg5_defvalue = wxDefaultSize ;
5787
18824
  wxSize *arg5 = (wxSize *) &arg5_defvalue ;
5788
18825
  long arg6 = (long) wxRE_MULTILINE ;
 
18826
  wxValidator const &arg7_defvalue = wxDefaultValidator ;
 
18827
  wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
 
18828
  wxString const &arg8_defvalue = wxPyRichTextCtrlNameStr ;
 
18829
  wxString *arg8 = (wxString *) &arg8_defvalue ;
5789
18830
  wxRichTextCtrl *result = 0 ;
5790
18831
  void *argp1 = 0 ;
5791
18832
  int res1 = 0 ;
5796
18837
  wxSize temp5 ;
5797
18838
  long val6 ;
5798
18839
  int ecode6 = 0 ;
 
18840
  void *argp7 = 0 ;
 
18841
  int res7 = 0 ;
 
18842
  bool temp8 = false ;
5799
18843
  PyObject * obj0 = 0 ;
5800
18844
  PyObject * obj1 = 0 ;
5801
18845
  PyObject * obj2 = 0 ;
5802
18846
  PyObject * obj3 = 0 ;
5803
18847
  PyObject * obj4 = 0 ;
5804
18848
  PyObject * obj5 = 0 ;
 
18849
  PyObject * obj6 = 0 ;
 
18850
  PyObject * obj7 = 0 ;
5805
18851
  char *  kwnames[] = {
5806
 
    (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style", NULL 
 
18852
    (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL 
5807
18853
  };
5808
18854
  
5809
 
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_RichTextCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
 
18855
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_RichTextCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
5810
18856
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 |  0 );
5811
18857
  if (!SWIG_IsOK(res1)) {
5812
18858
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_RichTextCtrl" "', expected argument " "1"" of type '" "wxWindow *""'"); 
5845
18891
    } 
5846
18892
    arg6 = static_cast< long >(val6);
5847
18893
  }
 
18894
  if (obj6) {
 
18895
    res7 = SWIG_ConvertPtr(obj6, &argp7, SWIGTYPE_p_wxValidator,  0  | 0);
 
18896
    if (!SWIG_IsOK(res7)) {
 
18897
      SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "new_RichTextCtrl" "', expected argument " "7"" of type '" "wxValidator const &""'"); 
 
18898
    }
 
18899
    if (!argp7) {
 
18900
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_RichTextCtrl" "', expected argument " "7"" of type '" "wxValidator const &""'"); 
 
18901
    }
 
18902
    arg7 = reinterpret_cast< wxValidator * >(argp7);
 
18903
  }
 
18904
  if (obj7) {
 
18905
    {
 
18906
      arg8 = wxString_in_helper(obj7);
 
18907
      if (arg8 == NULL) SWIG_fail;
 
18908
      temp8 = true;
 
18909
    }
 
18910
  }
5848
18911
  {
5849
18912
    if (!wxPyCheckForApp()) SWIG_fail;
5850
18913
    PyThreadState* __tstate = wxPyBeginAllowThreads();
5851
 
    result = (wxRichTextCtrl *)new wxRichTextCtrl(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6);
 
18914
    result = (wxRichTextCtrl *)new wxRichTextCtrl(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
5852
18915
    wxPyEndAllowThreads(__tstate);
5853
18916
    if (PyErr_Occurred()) SWIG_fail;
5854
18917
  }
5857
18920
    if (temp3)
5858
18921
    delete arg3;
5859
18922
  }
 
18923
  {
 
18924
    if (temp8)
 
18925
    delete arg8;
 
18926
  }
5860
18927
  return resultobj;
5861
18928
fail:
5862
18929
  {
5863
18930
    if (temp3)
5864
18931
    delete arg3;
5865
18932
  }
 
18933
  {
 
18934
    if (temp8)
 
18935
    delete arg8;
 
18936
  }
5866
18937
  return NULL;
5867
18938
}
5868
18939
 
5898
18969
  wxSize const &arg6_defvalue = wxDefaultSize ;
5899
18970
  wxSize *arg6 = (wxSize *) &arg6_defvalue ;
5900
18971
  long arg7 = (long) wxRE_MULTILINE ;
 
18972
  wxValidator const &arg8_defvalue = wxDefaultValidator ;
 
18973
  wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
 
18974
  wxString const &arg9_defvalue = wxPyRichTextCtrlNameStr ;
 
18975
  wxString *arg9 = (wxString *) &arg9_defvalue ;
5901
18976
  bool result;
5902
18977
  void *argp1 = 0 ;
5903
18978
  int res1 = 0 ;
5910
18985
  wxSize temp6 ;
5911
18986
  long val7 ;
5912
18987
  int ecode7 = 0 ;
 
18988
  void *argp8 = 0 ;
 
18989
  int res8 = 0 ;
 
18990
  bool temp9 = false ;
5913
18991
  PyObject * obj0 = 0 ;
5914
18992
  PyObject * obj1 = 0 ;
5915
18993
  PyObject * obj2 = 0 ;
5917
18995
  PyObject * obj4 = 0 ;
5918
18996
  PyObject * obj5 = 0 ;
5919
18997
  PyObject * obj6 = 0 ;
 
18998
  PyObject * obj7 = 0 ;
 
18999
  PyObject * obj8 = 0 ;
5920
19000
  char *  kwnames[] = {
5921
 
    (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style", NULL 
 
19001
    (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL 
5922
19002
  };
5923
19003
  
5924
 
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:RichTextCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
 
19004
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:RichTextCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) SWIG_fail;
5925
19005
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 |  0 );
5926
19006
  if (!SWIG_IsOK(res1)) {
5927
19007
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_Create" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'"); 
5965
19045
    } 
5966
19046
    arg7 = static_cast< long >(val7);
5967
19047
  }
 
19048
  if (obj7) {
 
19049
    res8 = SWIG_ConvertPtr(obj7, &argp8, SWIGTYPE_p_wxValidator,  0  | 0);
 
19050
    if (!SWIG_IsOK(res8)) {
 
19051
      SWIG_exception_fail(SWIG_ArgError(res8), "in method '" "RichTextCtrl_Create" "', expected argument " "8"" of type '" "wxValidator const &""'"); 
 
19052
    }
 
19053
    if (!argp8) {
 
19054
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "RichTextCtrl_Create" "', expected argument " "8"" of type '" "wxValidator const &""'"); 
 
19055
    }
 
19056
    arg8 = reinterpret_cast< wxValidator * >(argp8);
 
19057
  }
 
19058
  if (obj8) {
 
19059
    {
 
19060
      arg9 = wxString_in_helper(obj8);
 
19061
      if (arg9 == NULL) SWIG_fail;
 
19062
      temp9 = true;
 
19063
    }
 
19064
  }
5968
19065
  {
5969
19066
    PyThreadState* __tstate = wxPyBeginAllowThreads();
5970
 
    result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7);
 
19067
    result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
5971
19068
    wxPyEndAllowThreads(__tstate);
5972
19069
    if (PyErr_Occurred()) SWIG_fail;
5973
19070
  }
5978
19075
    if (temp4)
5979
19076
    delete arg4;
5980
19077
  }
 
19078
  {
 
19079
    if (temp9)
 
19080
    delete arg9;
 
19081
  }
5981
19082
  return resultobj;
5982
19083
fail:
5983
19084
  {
5984
19085
    if (temp4)
5985
19086
    delete arg4;
5986
19087
  }
 
19088
  {
 
19089
    if (temp9)
 
19090
    delete arg9;
 
19091
  }
5987
19092
  return NULL;
5988
19093
}
5989
19094
 
7089
20194
  PyObject *resultobj = 0;
7090
20195
  wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ;
7091
20196
  wxRichTextRange *arg2 = 0 ;
7092
 
  wxRichTextAttr *arg3 = 0 ;
 
20197
  wxTextAttrEx *arg3 = 0 ;
7093
20198
  bool result;
7094
20199
  void *argp1 = 0 ;
7095
20200
  int res1 = 0 ;
7113
20218
    arg2 = &temp2;
7114
20219
    if ( ! wxRichTextRange_helper(obj1, &arg2)) SWIG_fail;
7115
20220
  }
7116
 
  res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxRichTextAttr,  0  | 0);
7117
 
  if (!SWIG_IsOK(res3)) {
7118
 
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "RichTextCtrl_SetStyle" "', expected argument " "3"" of type '" "wxRichTextAttr const &""'"); 
7119
 
  }
7120
 
  if (!argp3) {
7121
 
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "RichTextCtrl_SetStyle" "', expected argument " "3"" of type '" "wxRichTextAttr const &""'"); 
7122
 
  }
7123
 
  arg3 = reinterpret_cast< wxRichTextAttr * >(argp3);
7124
 
  {
7125
 
    PyThreadState* __tstate = wxPyBeginAllowThreads();
7126
 
    result = (bool)(arg1)->SetStyle((wxRichTextRange const &)*arg2,(wxRichTextAttr const &)*arg3);
 
20221
  res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxTextAttrEx,  0  | 0);
 
20222
  if (!SWIG_IsOK(res3)) {
 
20223
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "RichTextCtrl_SetStyle" "', expected argument " "3"" of type '" "wxTextAttrEx const &""'"); 
 
20224
  }
 
20225
  if (!argp3) {
 
20226
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "RichTextCtrl_SetStyle" "', expected argument " "3"" of type '" "wxTextAttrEx const &""'"); 
 
20227
  }
 
20228
  arg3 = reinterpret_cast< wxTextAttrEx * >(argp3);
 
20229
  {
 
20230
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
20231
    result = (bool)(arg1)->SetStyle((wxRichTextRange const &)*arg2,(wxTextAttrEx const &)*arg3);
 
20232
    wxPyEndAllowThreads(__tstate);
 
20233
    if (PyErr_Occurred()) SWIG_fail;
 
20234
  }
 
20235
  {
 
20236
    resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
 
20237
  }
 
20238
  return resultobj;
 
20239
fail:
 
20240
  return NULL;
 
20241
}
 
20242
 
 
20243
 
 
20244
SWIGINTERN PyObject *_wrap_RichTextCtrl_GetStyle(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
20245
  PyObject *resultobj = 0;
 
20246
  wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ;
 
20247
  long arg2 ;
 
20248
  wxTextAttrEx *arg3 = 0 ;
 
20249
  bool result;
 
20250
  void *argp1 = 0 ;
 
20251
  int res1 = 0 ;
 
20252
  long val2 ;
 
20253
  int ecode2 = 0 ;
 
20254
  void *argp3 = 0 ;
 
20255
  int res3 = 0 ;
 
20256
  PyObject * obj0 = 0 ;
 
20257
  PyObject * obj1 = 0 ;
 
20258
  PyObject * obj2 = 0 ;
 
20259
  char *  kwnames[] = {
 
20260
    (char *) "self",(char *) "position",(char *) "style", NULL 
 
20261
  };
 
20262
  
 
20263
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:RichTextCtrl_GetStyle",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
 
20264
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 |  0 );
 
20265
  if (!SWIG_IsOK(res1)) {
 
20266
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_GetStyle" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'"); 
 
20267
  }
 
20268
  arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1);
 
20269
  ecode2 = SWIG_AsVal_long(obj1, &val2);
 
20270
  if (!SWIG_IsOK(ecode2)) {
 
20271
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RichTextCtrl_GetStyle" "', expected argument " "2"" of type '" "long""'");
 
20272
  } 
 
20273
  arg2 = static_cast< long >(val2);
 
20274
  res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxTextAttrEx,  0 );
 
20275
  if (!SWIG_IsOK(res3)) {
 
20276
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "RichTextCtrl_GetStyle" "', expected argument " "3"" of type '" "wxTextAttrEx &""'"); 
 
20277
  }
 
20278
  if (!argp3) {
 
20279
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "RichTextCtrl_GetStyle" "', expected argument " "3"" of type '" "wxTextAttrEx &""'"); 
 
20280
  }
 
20281
  arg3 = reinterpret_cast< wxTextAttrEx * >(argp3);
 
20282
  {
 
20283
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
20284
    result = (bool)(arg1)->GetStyle(arg2,*arg3);
 
20285
    wxPyEndAllowThreads(__tstate);
 
20286
    if (PyErr_Occurred()) SWIG_fail;
 
20287
  }
 
20288
  {
 
20289
    resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
 
20290
  }
 
20291
  return resultobj;
 
20292
fail:
 
20293
  return NULL;
 
20294
}
 
20295
 
 
20296
 
 
20297
SWIGINTERN PyObject *_wrap_RichTextCtrl_GetStyleForRange(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
20298
  PyObject *resultobj = 0;
 
20299
  wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ;
 
20300
  wxRichTextRange *arg2 = 0 ;
 
20301
  wxTextAttrEx *arg3 = 0 ;
 
20302
  bool result;
 
20303
  void *argp1 = 0 ;
 
20304
  int res1 = 0 ;
 
20305
  wxRichTextRange temp2 ;
 
20306
  void *argp3 = 0 ;
 
20307
  int res3 = 0 ;
 
20308
  PyObject * obj0 = 0 ;
 
20309
  PyObject * obj1 = 0 ;
 
20310
  PyObject * obj2 = 0 ;
 
20311
  char *  kwnames[] = {
 
20312
    (char *) "self",(char *) "range",(char *) "style", NULL 
 
20313
  };
 
20314
  
 
20315
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:RichTextCtrl_GetStyleForRange",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
 
20316
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 |  0 );
 
20317
  if (!SWIG_IsOK(res1)) {
 
20318
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_GetStyleForRange" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'"); 
 
20319
  }
 
20320
  arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1);
 
20321
  {
 
20322
    arg2 = &temp2;
 
20323
    if ( ! wxRichTextRange_helper(obj1, &arg2)) SWIG_fail;
 
20324
  }
 
20325
  res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxTextAttrEx,  0 );
 
20326
  if (!SWIG_IsOK(res3)) {
 
20327
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "RichTextCtrl_GetStyleForRange" "', expected argument " "3"" of type '" "wxTextAttrEx &""'"); 
 
20328
  }
 
20329
  if (!argp3) {
 
20330
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "RichTextCtrl_GetStyleForRange" "', expected argument " "3"" of type '" "wxTextAttrEx &""'"); 
 
20331
  }
 
20332
  arg3 = reinterpret_cast< wxTextAttrEx * >(argp3);
 
20333
  {
 
20334
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
20335
    result = (bool)(arg1)->GetStyleForRange((wxRichTextRange const &)*arg2,*arg3);
7127
20336
    wxPyEndAllowThreads(__tstate);
7128
20337
    if (PyErr_Occurred()) SWIG_fail;
7129
20338
  }
7140
20349
  PyObject *resultobj = 0;
7141
20350
  wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ;
7142
20351
  wxRichTextRange *arg2 = 0 ;
7143
 
  wxRichTextAttr *arg3 = 0 ;
 
20352
  wxTextAttrEx *arg3 = 0 ;
7144
20353
  int arg4 = (int) wxRICHTEXT_SETSTYLE_WITH_UNDO ;
7145
20354
  bool result;
7146
20355
  void *argp1 = 0 ;
7168
20377
    arg2 = &temp2;
7169
20378
    if ( ! wxRichTextRange_helper(obj1, &arg2)) SWIG_fail;
7170
20379
  }
7171
 
  res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxRichTextAttr,  0  | 0);
 
20380
  res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxTextAttrEx,  0  | 0);
7172
20381
  if (!SWIG_IsOK(res3)) {
7173
 
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "RichTextCtrl_SetStyleEx" "', expected argument " "3"" of type '" "wxRichTextAttr const &""'"); 
 
20382
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "RichTextCtrl_SetStyleEx" "', expected argument " "3"" of type '" "wxTextAttrEx const &""'"); 
7174
20383
  }
7175
20384
  if (!argp3) {
7176
 
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "RichTextCtrl_SetStyleEx" "', expected argument " "3"" of type '" "wxRichTextAttr const &""'"); 
 
20385
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "RichTextCtrl_SetStyleEx" "', expected argument " "3"" of type '" "wxTextAttrEx const &""'"); 
7177
20386
  }
7178
 
  arg3 = reinterpret_cast< wxRichTextAttr * >(argp3);
 
20387
  arg3 = reinterpret_cast< wxTextAttrEx * >(argp3);
7179
20388
  if (obj3) {
7180
20389
    ecode4 = SWIG_AsVal_int(obj3, &val4);
7181
20390
    if (!SWIG_IsOK(ecode4)) {
7185
20394
  }
7186
20395
  {
7187
20396
    PyThreadState* __tstate = wxPyBeginAllowThreads();
7188
 
    result = (bool)(arg1)->SetStyleEx((wxRichTextRange const &)*arg2,(wxRichTextAttr const &)*arg3,arg4);
7189
 
    wxPyEndAllowThreads(__tstate);
7190
 
    if (PyErr_Occurred()) SWIG_fail;
7191
 
  }
7192
 
  {
7193
 
    resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7194
 
  }
7195
 
  return resultobj;
7196
 
fail:
7197
 
  return NULL;
7198
 
}
7199
 
 
7200
 
 
7201
 
SWIGINTERN PyObject *_wrap_RichTextCtrl_GetStyle(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7202
 
  PyObject *resultobj = 0;
7203
 
  wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ;
7204
 
  long arg2 ;
7205
 
  wxRichTextAttr *arg3 = 0 ;
7206
 
  bool result;
7207
 
  void *argp1 = 0 ;
7208
 
  int res1 = 0 ;
7209
 
  long val2 ;
7210
 
  int ecode2 = 0 ;
7211
 
  void *argp3 = 0 ;
7212
 
  int res3 = 0 ;
7213
 
  PyObject * obj0 = 0 ;
7214
 
  PyObject * obj1 = 0 ;
7215
 
  PyObject * obj2 = 0 ;
7216
 
  char *  kwnames[] = {
7217
 
    (char *) "self",(char *) "position",(char *) "style", NULL 
7218
 
  };
7219
 
  
7220
 
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:RichTextCtrl_GetStyle",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
7221
 
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 |  0 );
7222
 
  if (!SWIG_IsOK(res1)) {
7223
 
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_GetStyle" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'"); 
7224
 
  }
7225
 
  arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1);
7226
 
  ecode2 = SWIG_AsVal_long(obj1, &val2);
7227
 
  if (!SWIG_IsOK(ecode2)) {
7228
 
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RichTextCtrl_GetStyle" "', expected argument " "2"" of type '" "long""'");
7229
 
  } 
7230
 
  arg2 = static_cast< long >(val2);
7231
 
  res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxRichTextAttr,  0 );
7232
 
  if (!SWIG_IsOK(res3)) {
7233
 
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "RichTextCtrl_GetStyle" "', expected argument " "3"" of type '" "wxRichTextAttr &""'"); 
7234
 
  }
7235
 
  if (!argp3) {
7236
 
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "RichTextCtrl_GetStyle" "', expected argument " "3"" of type '" "wxRichTextAttr &""'"); 
7237
 
  }
7238
 
  arg3 = reinterpret_cast< wxRichTextAttr * >(argp3);
7239
 
  {
7240
 
    PyThreadState* __tstate = wxPyBeginAllowThreads();
7241
 
    result = (bool)(arg1)->GetStyle(arg2,*arg3);
 
20397
    result = (bool)(arg1)->SetStyleEx((wxRichTextRange const &)*arg2,(wxTextAttrEx const &)*arg3,arg4);
7242
20398
    wxPyEndAllowThreads(__tstate);
7243
20399
    if (PyErr_Occurred()) SWIG_fail;
7244
20400
  }
7255
20411
  PyObject *resultobj = 0;
7256
20412
  wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ;
7257
20413
  long arg2 ;
7258
 
  wxRichTextAttr *arg3 = 0 ;
 
20414
  wxTextAttrEx *arg3 = 0 ;
7259
20415
  bool result;
7260
20416
  void *argp1 = 0 ;
7261
20417
  int res1 = 0 ;
7281
20437
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RichTextCtrl_GetUncombinedStyle" "', expected argument " "2"" of type '" "long""'");
7282
20438
  } 
7283
20439
  arg2 = static_cast< long >(val2);
7284
 
  res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxRichTextAttr,  0 );
 
20440
  res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxTextAttrEx,  0 );
7285
20441
  if (!SWIG_IsOK(res3)) {
7286
 
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "RichTextCtrl_GetUncombinedStyle" "', expected argument " "3"" of type '" "wxRichTextAttr &""'"); 
 
20442
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "RichTextCtrl_GetUncombinedStyle" "', expected argument " "3"" of type '" "wxTextAttrEx &""'"); 
7287
20443
  }
7288
20444
  if (!argp3) {
7289
 
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "RichTextCtrl_GetUncombinedStyle" "', expected argument " "3"" of type '" "wxRichTextAttr &""'"); 
 
20445
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "RichTextCtrl_GetUncombinedStyle" "', expected argument " "3"" of type '" "wxTextAttrEx &""'"); 
7290
20446
  }
7291
 
  arg3 = reinterpret_cast< wxRichTextAttr * >(argp3);
 
20447
  arg3 = reinterpret_cast< wxTextAttrEx * >(argp3);
7292
20448
  {
7293
20449
    PyThreadState* __tstate = wxPyBeginAllowThreads();
7294
20450
    result = (bool)(arg1)->GetUncombinedStyle(arg2,*arg3);
7307
20463
SWIGINTERN PyObject *_wrap_RichTextCtrl_SetDefaultStyle(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7308
20464
  PyObject *resultobj = 0;
7309
20465
  wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ;
7310
 
  wxRichTextAttr *arg2 = 0 ;
 
20466
  wxTextAttrEx *arg2 = 0 ;
7311
20467
  bool result;
7312
20468
  void *argp1 = 0 ;
7313
20469
  int res1 = 0 ;
7325
20481
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_SetDefaultStyle" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'"); 
7326
20482
  }
7327
20483
  arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1);
7328
 
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxRichTextAttr,  0  | 0);
 
20484
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTextAttrEx,  0  | 0);
7329
20485
  if (!SWIG_IsOK(res2)) {
7330
 
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "RichTextCtrl_SetDefaultStyle" "', expected argument " "2"" of type '" "wxRichTextAttr const &""'"); 
 
20486
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "RichTextCtrl_SetDefaultStyle" "', expected argument " "2"" of type '" "wxTextAttrEx const &""'"); 
7331
20487
  }
7332
20488
  if (!argp2) {
7333
 
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "RichTextCtrl_SetDefaultStyle" "', expected argument " "2"" of type '" "wxRichTextAttr const &""'"); 
 
20489
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "RichTextCtrl_SetDefaultStyle" "', expected argument " "2"" of type '" "wxTextAttrEx const &""'"); 
7334
20490
  }
7335
 
  arg2 = reinterpret_cast< wxRichTextAttr * >(argp2);
 
20491
  arg2 = reinterpret_cast< wxTextAttrEx * >(argp2);
7336
20492
  {
7337
20493
    PyThreadState* __tstate = wxPyBeginAllowThreads();
7338
 
    result = (bool)(arg1)->SetDefaultStyle((wxRichTextAttr const &)*arg2);
 
20494
    result = (bool)(arg1)->SetDefaultStyle((wxTextAttrEx const &)*arg2);
7339
20495
    wxPyEndAllowThreads(__tstate);
7340
20496
    if (PyErr_Occurred()) SWIG_fail;
7341
20497
  }
7351
20507
SWIGINTERN PyObject *_wrap_RichTextCtrl_GetDefaultStyle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7352
20508
  PyObject *resultobj = 0;
7353
20509
  wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ;
7354
 
  wxRichTextAttr result;
 
20510
  wxTextAttrEx result;
7355
20511
  void *argp1 = 0 ;
7356
20512
  int res1 = 0 ;
7357
20513
  PyObject *swig_obj[1] ;
7369
20525
    wxPyEndAllowThreads(__tstate);
7370
20526
    if (PyErr_Occurred()) SWIG_fail;
7371
20527
  }
7372
 
  resultobj = SWIG_NewPointerObj((new wxRichTextAttr(static_cast< const wxRichTextAttr& >(result))), SWIGTYPE_p_wxRichTextAttr, SWIG_POINTER_OWN |  0 );
 
20528
  resultobj = SWIG_NewPointerObj((new wxTextAttrEx(static_cast< const wxTextAttrEx& >(result))), SWIGTYPE_p_wxTextAttrEx, SWIG_POINTER_OWN |  0 );
 
20529
  return resultobj;
 
20530
fail:
 
20531
  return NULL;
 
20532
}
 
20533
 
 
20534
 
 
20535
SWIGINTERN PyObject *_wrap_RichTextCtrl_SetListStyle(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
20536
  PyObject *resultobj = 0;
 
20537
  wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ;
 
20538
  wxRichTextRange *arg2 = 0 ;
 
20539
  wxString *arg3 = 0 ;
 
20540
  int arg4 = (int) wxRICHTEXT_SETSTYLE_WITH_UNDO ;
 
20541
  int arg5 = (int) 1 ;
 
20542
  int arg6 = (int) -1 ;
 
20543
  bool result;
 
20544
  void *argp1 = 0 ;
 
20545
  int res1 = 0 ;
 
20546
  wxRichTextRange temp2 ;
 
20547
  bool temp3 = false ;
 
20548
  int val4 ;
 
20549
  int ecode4 = 0 ;
 
20550
  int val5 ;
 
20551
  int ecode5 = 0 ;
 
20552
  int val6 ;
 
20553
  int ecode6 = 0 ;
 
20554
  PyObject * obj0 = 0 ;
 
20555
  PyObject * obj1 = 0 ;
 
20556
  PyObject * obj2 = 0 ;
 
20557
  PyObject * obj3 = 0 ;
 
20558
  PyObject * obj4 = 0 ;
 
20559
  PyObject * obj5 = 0 ;
 
20560
  char *  kwnames[] = {
 
20561
    (char *) "self",(char *) "range",(char *) "defName",(char *) "flags",(char *) "startFrom",(char *) "specifiedLevel", NULL 
 
20562
  };
 
20563
  
 
20564
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOO:RichTextCtrl_SetListStyle",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
 
20565
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 |  0 );
 
20566
  if (!SWIG_IsOK(res1)) {
 
20567
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_SetListStyle" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'"); 
 
20568
  }
 
20569
  arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1);
 
20570
  {
 
20571
    arg2 = &temp2;
 
20572
    if ( ! wxRichTextRange_helper(obj1, &arg2)) SWIG_fail;
 
20573
  }
 
20574
  {
 
20575
    arg3 = wxString_in_helper(obj2);
 
20576
    if (arg3 == NULL) SWIG_fail;
 
20577
    temp3 = true;
 
20578
  }
 
20579
  if (obj3) {
 
20580
    ecode4 = SWIG_AsVal_int(obj3, &val4);
 
20581
    if (!SWIG_IsOK(ecode4)) {
 
20582
      SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "RichTextCtrl_SetListStyle" "', expected argument " "4"" of type '" "int""'");
 
20583
    } 
 
20584
    arg4 = static_cast< int >(val4);
 
20585
  }
 
20586
  if (obj4) {
 
20587
    ecode5 = SWIG_AsVal_int(obj4, &val5);
 
20588
    if (!SWIG_IsOK(ecode5)) {
 
20589
      SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "RichTextCtrl_SetListStyle" "', expected argument " "5"" of type '" "int""'");
 
20590
    } 
 
20591
    arg5 = static_cast< int >(val5);
 
20592
  }
 
20593
  if (obj5) {
 
20594
    ecode6 = SWIG_AsVal_int(obj5, &val6);
 
20595
    if (!SWIG_IsOK(ecode6)) {
 
20596
      SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "RichTextCtrl_SetListStyle" "', expected argument " "6"" of type '" "int""'");
 
20597
    } 
 
20598
    arg6 = static_cast< int >(val6);
 
20599
  }
 
20600
  {
 
20601
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
20602
    result = (bool)(arg1)->SetListStyle((wxRichTextRange const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6);
 
20603
    wxPyEndAllowThreads(__tstate);
 
20604
    if (PyErr_Occurred()) SWIG_fail;
 
20605
  }
 
20606
  {
 
20607
    resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
 
20608
  }
 
20609
  {
 
20610
    if (temp3)
 
20611
    delete arg3;
 
20612
  }
 
20613
  return resultobj;
 
20614
fail:
 
20615
  {
 
20616
    if (temp3)
 
20617
    delete arg3;
 
20618
  }
 
20619
  return NULL;
 
20620
}
 
20621
 
 
20622
 
 
20623
SWIGINTERN PyObject *_wrap_RichTextCtrl_ClearListStyle(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
20624
  PyObject *resultobj = 0;
 
20625
  wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ;
 
20626
  wxRichTextRange *arg2 = 0 ;
 
20627
  int arg3 = (int) wxRICHTEXT_SETSTYLE_WITH_UNDO ;
 
20628
  bool result;
 
20629
  void *argp1 = 0 ;
 
20630
  int res1 = 0 ;
 
20631
  wxRichTextRange temp2 ;
 
20632
  int val3 ;
 
20633
  int ecode3 = 0 ;
 
20634
  PyObject * obj0 = 0 ;
 
20635
  PyObject * obj1 = 0 ;
 
20636
  PyObject * obj2 = 0 ;
 
20637
  char *  kwnames[] = {
 
20638
    (char *) "self",(char *) "range",(char *) "flags", NULL 
 
20639
  };
 
20640
  
 
20641
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:RichTextCtrl_ClearListStyle",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
 
20642
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 |  0 );
 
20643
  if (!SWIG_IsOK(res1)) {
 
20644
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_ClearListStyle" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'"); 
 
20645
  }
 
20646
  arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1);
 
20647
  {
 
20648
    arg2 = &temp2;
 
20649
    if ( ! wxRichTextRange_helper(obj1, &arg2)) SWIG_fail;
 
20650
  }
 
20651
  if (obj2) {
 
20652
    ecode3 = SWIG_AsVal_int(obj2, &val3);
 
20653
    if (!SWIG_IsOK(ecode3)) {
 
20654
      SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "RichTextCtrl_ClearListStyle" "', expected argument " "3"" of type '" "int""'");
 
20655
    } 
 
20656
    arg3 = static_cast< int >(val3);
 
20657
  }
 
20658
  {
 
20659
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
20660
    result = (bool)(arg1)->ClearListStyle((wxRichTextRange const &)*arg2,arg3);
 
20661
    wxPyEndAllowThreads(__tstate);
 
20662
    if (PyErr_Occurred()) SWIG_fail;
 
20663
  }
 
20664
  {
 
20665
    resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
 
20666
  }
 
20667
  return resultobj;
 
20668
fail:
 
20669
  return NULL;
 
20670
}
 
20671
 
 
20672
 
 
20673
SWIGINTERN PyObject *_wrap_RichTextCtrl_NumberList(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
20674
  PyObject *resultobj = 0;
 
20675
  wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ;
 
20676
  wxRichTextRange *arg2 = 0 ;
 
20677
  wxString *arg3 = 0 ;
 
20678
  int arg4 = (int) wxRICHTEXT_SETSTYLE_WITH_UNDO ;
 
20679
  int arg5 = (int) 1 ;
 
20680
  int arg6 = (int) -1 ;
 
20681
  bool result;
 
20682
  void *argp1 = 0 ;
 
20683
  int res1 = 0 ;
 
20684
  wxRichTextRange temp2 ;
 
20685
  bool temp3 = false ;
 
20686
  int val4 ;
 
20687
  int ecode4 = 0 ;
 
20688
  int val5 ;
 
20689
  int ecode5 = 0 ;
 
20690
  int val6 ;
 
20691
  int ecode6 = 0 ;
 
20692
  PyObject * obj0 = 0 ;
 
20693
  PyObject * obj1 = 0 ;
 
20694
  PyObject * obj2 = 0 ;
 
20695
  PyObject * obj3 = 0 ;
 
20696
  PyObject * obj4 = 0 ;
 
20697
  PyObject * obj5 = 0 ;
 
20698
  char *  kwnames[] = {
 
20699
    (char *) "self",(char *) "range",(char *) "defName",(char *) "flags",(char *) "startFrom",(char *) "specifiedLevel", NULL 
 
20700
  };
 
20701
  
 
20702
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOO:RichTextCtrl_NumberList",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
 
20703
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 |  0 );
 
20704
  if (!SWIG_IsOK(res1)) {
 
20705
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_NumberList" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'"); 
 
20706
  }
 
20707
  arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1);
 
20708
  {
 
20709
    arg2 = &temp2;
 
20710
    if ( ! wxRichTextRange_helper(obj1, &arg2)) SWIG_fail;
 
20711
  }
 
20712
  {
 
20713
    arg3 = wxString_in_helper(obj2);
 
20714
    if (arg3 == NULL) SWIG_fail;
 
20715
    temp3 = true;
 
20716
  }
 
20717
  if (obj3) {
 
20718
    ecode4 = SWIG_AsVal_int(obj3, &val4);
 
20719
    if (!SWIG_IsOK(ecode4)) {
 
20720
      SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "RichTextCtrl_NumberList" "', expected argument " "4"" of type '" "int""'");
 
20721
    } 
 
20722
    arg4 = static_cast< int >(val4);
 
20723
  }
 
20724
  if (obj4) {
 
20725
    ecode5 = SWIG_AsVal_int(obj4, &val5);
 
20726
    if (!SWIG_IsOK(ecode5)) {
 
20727
      SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "RichTextCtrl_NumberList" "', expected argument " "5"" of type '" "int""'");
 
20728
    } 
 
20729
    arg5 = static_cast< int >(val5);
 
20730
  }
 
20731
  if (obj5) {
 
20732
    ecode6 = SWIG_AsVal_int(obj5, &val6);
 
20733
    if (!SWIG_IsOK(ecode6)) {
 
20734
      SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "RichTextCtrl_NumberList" "', expected argument " "6"" of type '" "int""'");
 
20735
    } 
 
20736
    arg6 = static_cast< int >(val6);
 
20737
  }
 
20738
  {
 
20739
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
20740
    result = (bool)(arg1)->NumberList((wxRichTextRange const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6);
 
20741
    wxPyEndAllowThreads(__tstate);
 
20742
    if (PyErr_Occurred()) SWIG_fail;
 
20743
  }
 
20744
  {
 
20745
    resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
 
20746
  }
 
20747
  {
 
20748
    if (temp3)
 
20749
    delete arg3;
 
20750
  }
 
20751
  return resultobj;
 
20752
fail:
 
20753
  {
 
20754
    if (temp3)
 
20755
    delete arg3;
 
20756
  }
 
20757
  return NULL;
 
20758
}
 
20759
 
 
20760
 
 
20761
SWIGINTERN PyObject *_wrap_RichTextCtrl_PromoteList(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
20762
  PyObject *resultobj = 0;
 
20763
  wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ;
 
20764
  int arg2 ;
 
20765
  wxRichTextRange *arg3 = 0 ;
 
20766
  wxString *arg4 = 0 ;
 
20767
  int arg5 = (int) wxRICHTEXT_SETSTYLE_WITH_UNDO ;
 
20768
  int arg6 = (int) -1 ;
 
20769
  bool result;
 
20770
  void *argp1 = 0 ;
 
20771
  int res1 = 0 ;
 
20772
  int val2 ;
 
20773
  int ecode2 = 0 ;
 
20774
  wxRichTextRange temp3 ;
 
20775
  bool temp4 = false ;
 
20776
  int val5 ;
 
20777
  int ecode5 = 0 ;
 
20778
  int val6 ;
 
20779
  int ecode6 = 0 ;
 
20780
  PyObject * obj0 = 0 ;
 
20781
  PyObject * obj1 = 0 ;
 
20782
  PyObject * obj2 = 0 ;
 
20783
  PyObject * obj3 = 0 ;
 
20784
  PyObject * obj4 = 0 ;
 
20785
  PyObject * obj5 = 0 ;
 
20786
  char *  kwnames[] = {
 
20787
    (char *) "self",(char *) "promoteBy",(char *) "range",(char *) "defName",(char *) "flags",(char *) "specifiedLevel", NULL 
 
20788
  };
 
20789
  
 
20790
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:RichTextCtrl_PromoteList",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
 
20791
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 |  0 );
 
20792
  if (!SWIG_IsOK(res1)) {
 
20793
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_PromoteList" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'"); 
 
20794
  }
 
20795
  arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1);
 
20796
  ecode2 = SWIG_AsVal_int(obj1, &val2);
 
20797
  if (!SWIG_IsOK(ecode2)) {
 
20798
    SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RichTextCtrl_PromoteList" "', expected argument " "2"" of type '" "int""'");
 
20799
  } 
 
20800
  arg2 = static_cast< int >(val2);
 
20801
  {
 
20802
    arg3 = &temp3;
 
20803
    if ( ! wxRichTextRange_helper(obj2, &arg3)) SWIG_fail;
 
20804
  }
 
20805
  {
 
20806
    arg4 = wxString_in_helper(obj3);
 
20807
    if (arg4 == NULL) SWIG_fail;
 
20808
    temp4 = true;
 
20809
  }
 
20810
  if (obj4) {
 
20811
    ecode5 = SWIG_AsVal_int(obj4, &val5);
 
20812
    if (!SWIG_IsOK(ecode5)) {
 
20813
      SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "RichTextCtrl_PromoteList" "', expected argument " "5"" of type '" "int""'");
 
20814
    } 
 
20815
    arg5 = static_cast< int >(val5);
 
20816
  }
 
20817
  if (obj5) {
 
20818
    ecode6 = SWIG_AsVal_int(obj5, &val6);
 
20819
    if (!SWIG_IsOK(ecode6)) {
 
20820
      SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "RichTextCtrl_PromoteList" "', expected argument " "6"" of type '" "int""'");
 
20821
    } 
 
20822
    arg6 = static_cast< int >(val6);
 
20823
  }
 
20824
  {
 
20825
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
20826
    result = (bool)(arg1)->PromoteList(arg2,(wxRichTextRange const &)*arg3,(wxString const &)*arg4,arg5,arg6);
 
20827
    wxPyEndAllowThreads(__tstate);
 
20828
    if (PyErr_Occurred()) SWIG_fail;
 
20829
  }
 
20830
  {
 
20831
    resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
 
20832
  }
 
20833
  {
 
20834
    if (temp4)
 
20835
    delete arg4;
 
20836
  }
 
20837
  return resultobj;
 
20838
fail:
 
20839
  {
 
20840
    if (temp4)
 
20841
    delete arg4;
 
20842
  }
 
20843
  return NULL;
 
20844
}
 
20845
 
 
20846
 
 
20847
SWIGINTERN PyObject *_wrap_RichTextCtrl_Delete(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
20848
  PyObject *resultobj = 0;
 
20849
  wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ;
 
20850
  wxRichTextRange *arg2 = 0 ;
 
20851
  bool result;
 
20852
  void *argp1 = 0 ;
 
20853
  int res1 = 0 ;
 
20854
  wxRichTextRange temp2 ;
 
20855
  PyObject * obj0 = 0 ;
 
20856
  PyObject * obj1 = 0 ;
 
20857
  char *  kwnames[] = {
 
20858
    (char *) "self",(char *) "range", NULL 
 
20859
  };
 
20860
  
 
20861
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RichTextCtrl_Delete",kwnames,&obj0,&obj1)) SWIG_fail;
 
20862
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 |  0 );
 
20863
  if (!SWIG_IsOK(res1)) {
 
20864
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_Delete" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'"); 
 
20865
  }
 
20866
  arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1);
 
20867
  {
 
20868
    arg2 = &temp2;
 
20869
    if ( ! wxRichTextRange_helper(obj1, &arg2)) SWIG_fail;
 
20870
  }
 
20871
  {
 
20872
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
20873
    result = (bool)(arg1)->Delete((wxRichTextRange const &)*arg2);
 
20874
    wxPyEndAllowThreads(__tstate);
 
20875
    if (PyErr_Occurred()) SWIG_fail;
 
20876
  }
 
20877
  {
 
20878
    resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
 
20879
  }
7373
20880
  return resultobj;
7374
20881
fail:
7375
20882
  return NULL;
8468
21975
}
8469
21976
 
8470
21977
 
 
21978
SWIGINTERN PyObject *_wrap_RichTextCtrl_LineBreak(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
21979
  PyObject *resultobj = 0;
 
21980
  wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ;
 
21981
  bool result;
 
21982
  void *argp1 = 0 ;
 
21983
  int res1 = 0 ;
 
21984
  PyObject *swig_obj[1] ;
 
21985
  
 
21986
  if (!args) SWIG_fail;
 
21987
  swig_obj[0] = args;
 
21988
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 |  0 );
 
21989
  if (!SWIG_IsOK(res1)) {
 
21990
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_LineBreak" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'"); 
 
21991
  }
 
21992
  arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1);
 
21993
  {
 
21994
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
21995
    result = (bool)(arg1)->LineBreak();
 
21996
    wxPyEndAllowThreads(__tstate);
 
21997
    if (PyErr_Occurred()) SWIG_fail;
 
21998
  }
 
21999
  {
 
22000
    resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
 
22001
  }
 
22002
  return resultobj;
 
22003
fail:
 
22004
  return NULL;
 
22005
}
 
22006
 
 
22007
 
8471
22008
SWIGINTERN PyObject *_wrap_RichTextCtrl_SetBasicStyle(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8472
22009
  PyObject *resultobj = 0;
8473
22010
  wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ;
8474
 
  wxRichTextAttr *arg2 = 0 ;
 
22011
  wxTextAttrEx *arg2 = 0 ;
8475
22012
  void *argp1 = 0 ;
8476
22013
  int res1 = 0 ;
8477
22014
  void *argp2 = 0 ;
8488
22025
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_SetBasicStyle" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'"); 
8489
22026
  }
8490
22027
  arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1);
8491
 
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxRichTextAttr,  0  | 0);
 
22028
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTextAttrEx,  0  | 0);
8492
22029
  if (!SWIG_IsOK(res2)) {
8493
 
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "RichTextCtrl_SetBasicStyle" "', expected argument " "2"" of type '" "wxRichTextAttr const &""'"); 
 
22030
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "RichTextCtrl_SetBasicStyle" "', expected argument " "2"" of type '" "wxTextAttrEx const &""'"); 
8494
22031
  }
8495
22032
  if (!argp2) {
8496
 
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "RichTextCtrl_SetBasicStyle" "', expected argument " "2"" of type '" "wxRichTextAttr const &""'"); 
 
22033
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "RichTextCtrl_SetBasicStyle" "', expected argument " "2"" of type '" "wxTextAttrEx const &""'"); 
8497
22034
  }
8498
 
  arg2 = reinterpret_cast< wxRichTextAttr * >(argp2);
 
22035
  arg2 = reinterpret_cast< wxTextAttrEx * >(argp2);
8499
22036
  {
8500
22037
    PyThreadState* __tstate = wxPyBeginAllowThreads();
8501
 
    (arg1)->SetBasicStyle((wxRichTextAttr const &)*arg2);
 
22038
    (arg1)->SetBasicStyle((wxTextAttrEx const &)*arg2);
8502
22039
    wxPyEndAllowThreads(__tstate);
8503
22040
    if (PyErr_Occurred()) SWIG_fail;
8504
22041
  }
8509
22046
}
8510
22047
 
8511
22048
 
 
22049
SWIGINTERN PyObject *_wrap_RichTextCtrl_GetBasicStyle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
22050
  PyObject *resultobj = 0;
 
22051
  wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ;
 
22052
  wxTextAttrEx result;
 
22053
  void *argp1 = 0 ;
 
22054
  int res1 = 0 ;
 
22055
  PyObject *swig_obj[1] ;
 
22056
  
 
22057
  if (!args) SWIG_fail;
 
22058
  swig_obj[0] = args;
 
22059
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 |  0 );
 
22060
  if (!SWIG_IsOK(res1)) {
 
22061
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_GetBasicStyle" "', expected argument " "1"" of type '" "wxRichTextCtrl const *""'"); 
 
22062
  }
 
22063
  arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1);
 
22064
  {
 
22065
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
22066
    result = ((wxRichTextCtrl const *)arg1)->GetBasicStyle();
 
22067
    wxPyEndAllowThreads(__tstate);
 
22068
    if (PyErr_Occurred()) SWIG_fail;
 
22069
  }
 
22070
  resultobj = SWIG_NewPointerObj((new wxTextAttrEx(static_cast< const wxTextAttrEx& >(result))), SWIGTYPE_p_wxTextAttrEx, SWIG_POINTER_OWN |  0 );
 
22071
  return resultobj;
 
22072
fail:
 
22073
  return NULL;
 
22074
}
 
22075
 
 
22076
 
 
22077
SWIGINTERN PyObject *_wrap_RichTextCtrl_BeginStyle(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
22078
  PyObject *resultobj = 0;
 
22079
  wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ;
 
22080
  wxTextAttrEx *arg2 = 0 ;
 
22081
  bool result;
 
22082
  void *argp1 = 0 ;
 
22083
  int res1 = 0 ;
 
22084
  void *argp2 = 0 ;
 
22085
  int res2 = 0 ;
 
22086
  PyObject * obj0 = 0 ;
 
22087
  PyObject * obj1 = 0 ;
 
22088
  char *  kwnames[] = {
 
22089
    (char *) "self",(char *) "style", NULL 
 
22090
  };
 
22091
  
 
22092
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RichTextCtrl_BeginStyle",kwnames,&obj0,&obj1)) SWIG_fail;
 
22093
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 |  0 );
 
22094
  if (!SWIG_IsOK(res1)) {
 
22095
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_BeginStyle" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'"); 
 
22096
  }
 
22097
  arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1);
 
22098
  res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTextAttrEx,  0  | 0);
 
22099
  if (!SWIG_IsOK(res2)) {
 
22100
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "RichTextCtrl_BeginStyle" "', expected argument " "2"" of type '" "wxTextAttrEx const &""'"); 
 
22101
  }
 
22102
  if (!argp2) {
 
22103
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "RichTextCtrl_BeginStyle" "', expected argument " "2"" of type '" "wxTextAttrEx const &""'"); 
 
22104
  }
 
22105
  arg2 = reinterpret_cast< wxTextAttrEx * >(argp2);
 
22106
  {
 
22107
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
22108
    result = (bool)(arg1)->BeginStyle((wxTextAttrEx const &)*arg2);
 
22109
    wxPyEndAllowThreads(__tstate);
 
22110
    if (PyErr_Occurred()) SWIG_fail;
 
22111
  }
 
22112
  {
 
22113
    resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
 
22114
  }
 
22115
  return resultobj;
 
22116
fail:
 
22117
  return NULL;
 
22118
}
 
22119
 
 
22120
 
8512
22121
SWIGINTERN PyObject *_wrap_RichTextCtrl_EndStyle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8513
22122
  PyObject *resultobj = 0;
8514
22123
  wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ;
9545
23154
}
9546
23155
 
9547
23156
 
 
23157
SWIGINTERN PyObject *_wrap_RichTextCtrl_BeginStandardBullet(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
23158
  PyObject *resultobj = 0;
 
23159
  wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ;
 
23160
  wxString *arg2 = 0 ;
 
23161
  int arg3 ;
 
23162
  int arg4 ;
 
23163
  int arg5 = (int) wxTEXT_ATTR_BULLET_STYLE_STANDARD ;
 
23164
  bool result;
 
23165
  void *argp1 = 0 ;
 
23166
  int res1 = 0 ;
 
23167
  bool temp2 = false ;
 
23168
  int val3 ;
 
23169
  int ecode3 = 0 ;
 
23170
  int val4 ;
 
23171
  int ecode4 = 0 ;
 
23172
  int val5 ;
 
23173
  int ecode5 = 0 ;
 
23174
  PyObject * obj0 = 0 ;
 
23175
  PyObject * obj1 = 0 ;
 
23176
  PyObject * obj2 = 0 ;
 
23177
  PyObject * obj3 = 0 ;
 
23178
  PyObject * obj4 = 0 ;
 
23179
  char *  kwnames[] = {
 
23180
    (char *) "self",(char *) "bulletName",(char *) "leftIndent",(char *) "leftSubIndent",(char *) "bulletStyle", NULL 
 
23181
  };
 
23182
  
 
23183
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|O:RichTextCtrl_BeginStandardBullet",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
 
23184
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 |  0 );
 
23185
  if (!SWIG_IsOK(res1)) {
 
23186
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_BeginStandardBullet" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'"); 
 
23187
  }
 
23188
  arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1);
 
23189
  {
 
23190
    arg2 = wxString_in_helper(obj1);
 
23191
    if (arg2 == NULL) SWIG_fail;
 
23192
    temp2 = true;
 
23193
  }
 
23194
  ecode3 = SWIG_AsVal_int(obj2, &val3);
 
23195
  if (!SWIG_IsOK(ecode3)) {
 
23196
    SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "RichTextCtrl_BeginStandardBullet" "', expected argument " "3"" of type '" "int""'");
 
23197
  } 
 
23198
  arg3 = static_cast< int >(val3);
 
23199
  ecode4 = SWIG_AsVal_int(obj3, &val4);
 
23200
  if (!SWIG_IsOK(ecode4)) {
 
23201
    SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "RichTextCtrl_BeginStandardBullet" "', expected argument " "4"" of type '" "int""'");
 
23202
  } 
 
23203
  arg4 = static_cast< int >(val4);
 
23204
  if (obj4) {
 
23205
    ecode5 = SWIG_AsVal_int(obj4, &val5);
 
23206
    if (!SWIG_IsOK(ecode5)) {
 
23207
      SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "RichTextCtrl_BeginStandardBullet" "', expected argument " "5"" of type '" "int""'");
 
23208
    } 
 
23209
    arg5 = static_cast< int >(val5);
 
23210
  }
 
23211
  {
 
23212
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
23213
    result = (bool)(arg1)->BeginStandardBullet((wxString const &)*arg2,arg3,arg4,arg5);
 
23214
    wxPyEndAllowThreads(__tstate);
 
23215
    if (PyErr_Occurred()) SWIG_fail;
 
23216
  }
 
23217
  {
 
23218
    resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
 
23219
  }
 
23220
  {
 
23221
    if (temp2)
 
23222
    delete arg2;
 
23223
  }
 
23224
  return resultobj;
 
23225
fail:
 
23226
  {
 
23227
    if (temp2)
 
23228
    delete arg2;
 
23229
  }
 
23230
  return NULL;
 
23231
}
 
23232
 
 
23233
 
 
23234
SWIGINTERN PyObject *_wrap_RichTextCtrl_EndStandardBullet(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
23235
  PyObject *resultobj = 0;
 
23236
  wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ;
 
23237
  bool result;
 
23238
  void *argp1 = 0 ;
 
23239
  int res1 = 0 ;
 
23240
  PyObject *swig_obj[1] ;
 
23241
  
 
23242
  if (!args) SWIG_fail;
 
23243
  swig_obj[0] = args;
 
23244
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 |  0 );
 
23245
  if (!SWIG_IsOK(res1)) {
 
23246
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_EndStandardBullet" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'"); 
 
23247
  }
 
23248
  arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1);
 
23249
  {
 
23250
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
23251
    result = (bool)(arg1)->EndStandardBullet();
 
23252
    wxPyEndAllowThreads(__tstate);
 
23253
    if (PyErr_Occurred()) SWIG_fail;
 
23254
  }
 
23255
  {
 
23256
    resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
 
23257
  }
 
23258
  return resultobj;
 
23259
fail:
 
23260
  return NULL;
 
23261
}
 
23262
 
 
23263
 
9548
23264
SWIGINTERN PyObject *_wrap_RichTextCtrl_BeginCharacterStyle(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9549
23265
  PyObject *resultobj = 0;
9550
23266
  wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ;
11012
24728
  swig_obj[0] = args;
11013
24729
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 |  0 );
11014
24730
  if (!SWIG_IsOK(res1)) {
11015
 
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_GetBuffer" "', expected argument " "1"" of type '" "wxRichTextCtrl const *""'"); 
 
24731
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_GetBuffer" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'"); 
11016
24732
  }
11017
24733
  arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1);
11018
24734
  {
11019
24735
    PyThreadState* __tstate = wxPyBeginAllowThreads();
11020
24736
    {
11021
 
      wxRichTextBuffer const &_result_ref = ((wxRichTextCtrl const *)arg1)->GetBuffer();
 
24737
      wxRichTextBuffer &_result_ref = (arg1)->GetBuffer();
11022
24738
      result = (wxRichTextBuffer *) &_result_ref;
11023
24739
    }
11024
24740
    wxPyEndAllowThreads(__tstate);
11233
24949
  PyObject *resultobj = 0;
11234
24950
  wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ;
11235
24951
  wxRichTextRange *arg2 = 0 ;
11236
 
  wxRichTextAttr *arg3 = 0 ;
 
24952
  wxTextAttrEx *arg3 = 0 ;
11237
24953
  bool result;
11238
24954
  void *argp1 = 0 ;
11239
24955
  int res1 = 0 ;
11257
24973
    arg2 = &temp2;
11258
24974
    if ( ! wxRichTextRange_helper(obj1, &arg2)) SWIG_fail;
11259
24975
  }
11260
 
  res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxRichTextAttr,  0  | 0);
 
24976
  res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxTextAttrEx,  0  | 0);
11261
24977
  if (!SWIG_IsOK(res3)) {
11262
 
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "RichTextCtrl_HasCharacterAttributes" "', expected argument " "3"" of type '" "wxRichTextAttr const &""'"); 
 
24978
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "RichTextCtrl_HasCharacterAttributes" "', expected argument " "3"" of type '" "wxTextAttrEx const &""'"); 
11263
24979
  }
11264
24980
  if (!argp3) {
11265
 
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "RichTextCtrl_HasCharacterAttributes" "', expected argument " "3"" of type '" "wxRichTextAttr const &""'"); 
 
24981
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "RichTextCtrl_HasCharacterAttributes" "', expected argument " "3"" of type '" "wxTextAttrEx const &""'"); 
11266
24982
  }
11267
 
  arg3 = reinterpret_cast< wxRichTextAttr * >(argp3);
 
24983
  arg3 = reinterpret_cast< wxTextAttrEx * >(argp3);
11268
24984
  {
11269
24985
    PyThreadState* __tstate = wxPyBeginAllowThreads();
11270
 
    result = (bool)((wxRichTextCtrl const *)arg1)->HasCharacterAttributes((wxRichTextRange const &)*arg2,(wxRichTextAttr const &)*arg3);
 
24986
    result = (bool)((wxRichTextCtrl const *)arg1)->HasCharacterAttributes((wxRichTextRange const &)*arg2,(wxTextAttrEx const &)*arg3);
11271
24987
    wxPyEndAllowThreads(__tstate);
11272
24988
    if (PyErr_Occurred()) SWIG_fail;
11273
24989
  }
11284
25000
  PyObject *resultobj = 0;
11285
25001
  wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ;
11286
25002
  wxRichTextRange *arg2 = 0 ;
11287
 
  wxRichTextAttr *arg3 = 0 ;
 
25003
  wxTextAttrEx *arg3 = 0 ;
11288
25004
  bool result;
11289
25005
  void *argp1 = 0 ;
11290
25006
  int res1 = 0 ;
11308
25024
    arg2 = &temp2;
11309
25025
    if ( ! wxRichTextRange_helper(obj1, &arg2)) SWIG_fail;
11310
25026
  }
11311
 
  res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxRichTextAttr,  0  | 0);
 
25027
  res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxTextAttrEx,  0  | 0);
11312
25028
  if (!SWIG_IsOK(res3)) {
11313
 
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "RichTextCtrl_HasParagraphAttributes" "', expected argument " "3"" of type '" "wxRichTextAttr const &""'"); 
 
25029
    SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "RichTextCtrl_HasParagraphAttributes" "', expected argument " "3"" of type '" "wxTextAttrEx const &""'"); 
11314
25030
  }
11315
25031
  if (!argp3) {
11316
 
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "RichTextCtrl_HasParagraphAttributes" "', expected argument " "3"" of type '" "wxRichTextAttr const &""'"); 
 
25032
    SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "RichTextCtrl_HasParagraphAttributes" "', expected argument " "3"" of type '" "wxTextAttrEx const &""'"); 
11317
25033
  }
11318
 
  arg3 = reinterpret_cast< wxRichTextAttr * >(argp3);
 
25034
  arg3 = reinterpret_cast< wxTextAttrEx * >(argp3);
11319
25035
  {
11320
25036
    PyThreadState* __tstate = wxPyBeginAllowThreads();
11321
 
    result = (bool)((wxRichTextCtrl const *)arg1)->HasParagraphAttributes((wxRichTextRange const &)*arg2,(wxRichTextAttr const &)*arg3);
 
25037
    result = (bool)((wxRichTextCtrl const *)arg1)->HasParagraphAttributes((wxRichTextRange const &)*arg2,(wxTextAttrEx const &)*arg3);
11322
25038
    wxPyEndAllowThreads(__tstate);
11323
25039
    if (PyErr_Occurred()) SWIG_fail;
11324
25040
  }
11593
25309
}
11594
25310
 
11595
25311
 
 
25312
SWIGINTERN PyObject *_wrap_RichTextCtrl_ApplyStyle(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
25313
  PyObject *resultobj = 0;
 
25314
  wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ;
 
25315
  wxRichTextStyleDefinition *arg2 = (wxRichTextStyleDefinition *) 0 ;
 
25316
  bool result;
 
25317
  void *argp1 = 0 ;
 
25318
  int res1 = 0 ;
 
25319
  void *argp2 = 0 ;
 
25320
  int res2 = 0 ;
 
25321
  PyObject * obj0 = 0 ;
 
25322
  PyObject * obj1 = 0 ;
 
25323
  char *  kwnames[] = {
 
25324
    (char *) "self",(char *) "def", NULL 
 
25325
  };
 
25326
  
 
25327
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RichTextCtrl_ApplyStyle",kwnames,&obj0,&obj1)) SWIG_fail;
 
25328
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 |  0 );
 
25329
  if (!SWIG_IsOK(res1)) {
 
25330
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_ApplyStyle" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'"); 
 
25331
  }
 
25332
  arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1);
 
25333
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxRichTextStyleDefinition, 0 |  0 );
 
25334
  if (!SWIG_IsOK(res2)) {
 
25335
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "RichTextCtrl_ApplyStyle" "', expected argument " "2"" of type '" "wxRichTextStyleDefinition *""'"); 
 
25336
  }
 
25337
  arg2 = reinterpret_cast< wxRichTextStyleDefinition * >(argp2);
 
25338
  {
 
25339
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
25340
    result = (bool)(arg1)->ApplyStyle(arg2);
 
25341
    wxPyEndAllowThreads(__tstate);
 
25342
    if (PyErr_Occurred()) SWIG_fail;
 
25343
  }
 
25344
  {
 
25345
    resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
 
25346
  }
 
25347
  return resultobj;
 
25348
fail:
 
25349
  return NULL;
 
25350
}
 
25351
 
 
25352
 
11596
25353
SWIGINTERN PyObject *_wrap_RichTextCtrl_SetStyleSheet(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11597
25354
  PyObject *resultobj = 0;
11598
25355
  wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ;
11659
25416
}
11660
25417
 
11661
25418
 
 
25419
SWIGINTERN PyObject *_wrap_RichTextCtrl_PushStyleSheet(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
25420
  PyObject *resultobj = 0;
 
25421
  wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ;
 
25422
  wxRichTextStyleSheet *arg2 = (wxRichTextStyleSheet *) 0 ;
 
25423
  bool result;
 
25424
  void *argp1 = 0 ;
 
25425
  int res1 = 0 ;
 
25426
  void *argp2 = 0 ;
 
25427
  int res2 = 0 ;
 
25428
  PyObject * obj0 = 0 ;
 
25429
  PyObject * obj1 = 0 ;
 
25430
  char *  kwnames[] = {
 
25431
    (char *) "self",(char *) "styleSheet", NULL 
 
25432
  };
 
25433
  
 
25434
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RichTextCtrl_PushStyleSheet",kwnames,&obj0,&obj1)) SWIG_fail;
 
25435
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 |  0 );
 
25436
  if (!SWIG_IsOK(res1)) {
 
25437
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_PushStyleSheet" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'"); 
 
25438
  }
 
25439
  arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1);
 
25440
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxRichTextStyleSheet, 0 |  0 );
 
25441
  if (!SWIG_IsOK(res2)) {
 
25442
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "RichTextCtrl_PushStyleSheet" "', expected argument " "2"" of type '" "wxRichTextStyleSheet *""'"); 
 
25443
  }
 
25444
  arg2 = reinterpret_cast< wxRichTextStyleSheet * >(argp2);
 
25445
  {
 
25446
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
25447
    result = (bool)(arg1)->PushStyleSheet(arg2);
 
25448
    wxPyEndAllowThreads(__tstate);
 
25449
    if (PyErr_Occurred()) SWIG_fail;
 
25450
  }
 
25451
  {
 
25452
    resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
 
25453
  }
 
25454
  return resultobj;
 
25455
fail:
 
25456
  return NULL;
 
25457
}
 
25458
 
 
25459
 
 
25460
SWIGINTERN PyObject *_wrap_RichTextCtrl_PopStyleSheet(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
25461
  PyObject *resultobj = 0;
 
25462
  wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ;
 
25463
  wxRichTextStyleSheet *result = 0 ;
 
25464
  void *argp1 = 0 ;
 
25465
  int res1 = 0 ;
 
25466
  PyObject *swig_obj[1] ;
 
25467
  
 
25468
  if (!args) SWIG_fail;
 
25469
  swig_obj[0] = args;
 
25470
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextCtrl, 0 |  0 );
 
25471
  if (!SWIG_IsOK(res1)) {
 
25472
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCtrl_PopStyleSheet" "', expected argument " "1"" of type '" "wxRichTextCtrl *""'"); 
 
25473
  }
 
25474
  arg1 = reinterpret_cast< wxRichTextCtrl * >(argp1);
 
25475
  {
 
25476
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
25477
    result = (wxRichTextStyleSheet *)(arg1)->PopStyleSheet();
 
25478
    wxPyEndAllowThreads(__tstate);
 
25479
    if (PyErr_Occurred()) SWIG_fail;
 
25480
  }
 
25481
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxRichTextStyleSheet, 0 |  0 );
 
25482
  return resultobj;
 
25483
fail:
 
25484
  return NULL;
 
25485
}
 
25486
 
 
25487
 
11662
25488
SWIGINTERN PyObject *_wrap_RichTextCtrl_ApplyStyleSheet(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11663
25489
  PyObject *resultobj = 0;
11664
25490
  wxRichTextCtrl *arg1 = (wxRichTextCtrl *) 0 ;
11888
25714
}
11889
25715
 
11890
25716
 
 
25717
SWIGINTERN PyObject *_wrap_RichTextEvent_GetOldStyleSheet(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
25718
  PyObject *resultobj = 0;
 
25719
  wxRichTextEvent *arg1 = (wxRichTextEvent *) 0 ;
 
25720
  wxRichTextStyleSheet *result = 0 ;
 
25721
  void *argp1 = 0 ;
 
25722
  int res1 = 0 ;
 
25723
  PyObject *swig_obj[1] ;
 
25724
  
 
25725
  if (!args) SWIG_fail;
 
25726
  swig_obj[0] = args;
 
25727
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextEvent, 0 |  0 );
 
25728
  if (!SWIG_IsOK(res1)) {
 
25729
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextEvent_GetOldStyleSheet" "', expected argument " "1"" of type '" "wxRichTextEvent const *""'"); 
 
25730
  }
 
25731
  arg1 = reinterpret_cast< wxRichTextEvent * >(argp1);
 
25732
  {
 
25733
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
25734
    result = (wxRichTextStyleSheet *)((wxRichTextEvent const *)arg1)->GetOldStyleSheet();
 
25735
    wxPyEndAllowThreads(__tstate);
 
25736
    if (PyErr_Occurred()) SWIG_fail;
 
25737
  }
 
25738
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxRichTextStyleSheet, 0 |  0 );
 
25739
  return resultobj;
 
25740
fail:
 
25741
  return NULL;
 
25742
}
 
25743
 
 
25744
 
 
25745
SWIGINTERN PyObject *_wrap_RichTextEvent_SetOldStyleSheet(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
25746
  PyObject *resultobj = 0;
 
25747
  wxRichTextEvent *arg1 = (wxRichTextEvent *) 0 ;
 
25748
  wxRichTextStyleSheet *arg2 = (wxRichTextStyleSheet *) 0 ;
 
25749
  void *argp1 = 0 ;
 
25750
  int res1 = 0 ;
 
25751
  void *argp2 = 0 ;
 
25752
  int res2 = 0 ;
 
25753
  PyObject * obj0 = 0 ;
 
25754
  PyObject * obj1 = 0 ;
 
25755
  char *  kwnames[] = {
 
25756
    (char *) "self",(char *) "sheet", NULL 
 
25757
  };
 
25758
  
 
25759
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RichTextEvent_SetOldStyleSheet",kwnames,&obj0,&obj1)) SWIG_fail;
 
25760
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextEvent, 0 |  0 );
 
25761
  if (!SWIG_IsOK(res1)) {
 
25762
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextEvent_SetOldStyleSheet" "', expected argument " "1"" of type '" "wxRichTextEvent *""'"); 
 
25763
  }
 
25764
  arg1 = reinterpret_cast< wxRichTextEvent * >(argp1);
 
25765
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxRichTextStyleSheet, 0 |  0 );
 
25766
  if (!SWIG_IsOK(res2)) {
 
25767
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "RichTextEvent_SetOldStyleSheet" "', expected argument " "2"" of type '" "wxRichTextStyleSheet *""'"); 
 
25768
  }
 
25769
  arg2 = reinterpret_cast< wxRichTextStyleSheet * >(argp2);
 
25770
  {
 
25771
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
25772
    (arg1)->SetOldStyleSheet(arg2);
 
25773
    wxPyEndAllowThreads(__tstate);
 
25774
    if (PyErr_Occurred()) SWIG_fail;
 
25775
  }
 
25776
  resultobj = SWIG_Py_Void();
 
25777
  return resultobj;
 
25778
fail:
 
25779
  return NULL;
 
25780
}
 
25781
 
 
25782
 
 
25783
SWIGINTERN PyObject *_wrap_RichTextEvent_GetNewStyleSheet(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
25784
  PyObject *resultobj = 0;
 
25785
  wxRichTextEvent *arg1 = (wxRichTextEvent *) 0 ;
 
25786
  wxRichTextStyleSheet *result = 0 ;
 
25787
  void *argp1 = 0 ;
 
25788
  int res1 = 0 ;
 
25789
  PyObject *swig_obj[1] ;
 
25790
  
 
25791
  if (!args) SWIG_fail;
 
25792
  swig_obj[0] = args;
 
25793
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextEvent, 0 |  0 );
 
25794
  if (!SWIG_IsOK(res1)) {
 
25795
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextEvent_GetNewStyleSheet" "', expected argument " "1"" of type '" "wxRichTextEvent const *""'"); 
 
25796
  }
 
25797
  arg1 = reinterpret_cast< wxRichTextEvent * >(argp1);
 
25798
  {
 
25799
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
25800
    result = (wxRichTextStyleSheet *)((wxRichTextEvent const *)arg1)->GetNewStyleSheet();
 
25801
    wxPyEndAllowThreads(__tstate);
 
25802
    if (PyErr_Occurred()) SWIG_fail;
 
25803
  }
 
25804
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxRichTextStyleSheet, 0 |  0 );
 
25805
  return resultobj;
 
25806
fail:
 
25807
  return NULL;
 
25808
}
 
25809
 
 
25810
 
 
25811
SWIGINTERN PyObject *_wrap_RichTextEvent_SetNewStyleSheet(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
25812
  PyObject *resultobj = 0;
 
25813
  wxRichTextEvent *arg1 = (wxRichTextEvent *) 0 ;
 
25814
  wxRichTextStyleSheet *arg2 = (wxRichTextStyleSheet *) 0 ;
 
25815
  void *argp1 = 0 ;
 
25816
  int res1 = 0 ;
 
25817
  void *argp2 = 0 ;
 
25818
  int res2 = 0 ;
 
25819
  PyObject * obj0 = 0 ;
 
25820
  PyObject * obj1 = 0 ;
 
25821
  char *  kwnames[] = {
 
25822
    (char *) "self",(char *) "sheet", NULL 
 
25823
  };
 
25824
  
 
25825
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RichTextEvent_SetNewStyleSheet",kwnames,&obj0,&obj1)) SWIG_fail;
 
25826
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextEvent, 0 |  0 );
 
25827
  if (!SWIG_IsOK(res1)) {
 
25828
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextEvent_SetNewStyleSheet" "', expected argument " "1"" of type '" "wxRichTextEvent *""'"); 
 
25829
  }
 
25830
  arg1 = reinterpret_cast< wxRichTextEvent * >(argp1);
 
25831
  res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxRichTextStyleSheet, 0 |  0 );
 
25832
  if (!SWIG_IsOK(res2)) {
 
25833
    SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "RichTextEvent_SetNewStyleSheet" "', expected argument " "2"" of type '" "wxRichTextStyleSheet *""'"); 
 
25834
  }
 
25835
  arg2 = reinterpret_cast< wxRichTextStyleSheet * >(argp2);
 
25836
  {
 
25837
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
25838
    (arg1)->SetNewStyleSheet(arg2);
 
25839
    wxPyEndAllowThreads(__tstate);
 
25840
    if (PyErr_Occurred()) SWIG_fail;
 
25841
  }
 
25842
  resultobj = SWIG_Py_Void();
 
25843
  return resultobj;
 
25844
fail:
 
25845
  return NULL;
 
25846
}
 
25847
 
 
25848
 
 
25849
SWIGINTERN PyObject *_wrap_RichTextEvent_GetRange(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
25850
  PyObject *resultobj = 0;
 
25851
  wxRichTextEvent *arg1 = (wxRichTextEvent *) 0 ;
 
25852
  wxRichTextRange *result = 0 ;
 
25853
  void *argp1 = 0 ;
 
25854
  int res1 = 0 ;
 
25855
  PyObject *swig_obj[1] ;
 
25856
  
 
25857
  if (!args) SWIG_fail;
 
25858
  swig_obj[0] = args;
 
25859
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextEvent, 0 |  0 );
 
25860
  if (!SWIG_IsOK(res1)) {
 
25861
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextEvent_GetRange" "', expected argument " "1"" of type '" "wxRichTextEvent const *""'"); 
 
25862
  }
 
25863
  arg1 = reinterpret_cast< wxRichTextEvent * >(argp1);
 
25864
  {
 
25865
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
25866
    {
 
25867
      wxRichTextRange const &_result_ref = ((wxRichTextEvent const *)arg1)->GetRange();
 
25868
      result = (wxRichTextRange *) &_result_ref;
 
25869
    }
 
25870
    wxPyEndAllowThreads(__tstate);
 
25871
    if (PyErr_Occurred()) SWIG_fail;
 
25872
  }
 
25873
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxRichTextRange, 0 |  0 );
 
25874
  return resultobj;
 
25875
fail:
 
25876
  return NULL;
 
25877
}
 
25878
 
 
25879
 
 
25880
SWIGINTERN PyObject *_wrap_RichTextEvent_SetRange(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
25881
  PyObject *resultobj = 0;
 
25882
  wxRichTextEvent *arg1 = (wxRichTextEvent *) 0 ;
 
25883
  wxRichTextRange *arg2 = 0 ;
 
25884
  void *argp1 = 0 ;
 
25885
  int res1 = 0 ;
 
25886
  wxRichTextRange temp2 ;
 
25887
  PyObject * obj0 = 0 ;
 
25888
  PyObject * obj1 = 0 ;
 
25889
  char *  kwnames[] = {
 
25890
    (char *) "self",(char *) "range", NULL 
 
25891
  };
 
25892
  
 
25893
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RichTextEvent_SetRange",kwnames,&obj0,&obj1)) SWIG_fail;
 
25894
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextEvent, 0 |  0 );
 
25895
  if (!SWIG_IsOK(res1)) {
 
25896
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextEvent_SetRange" "', expected argument " "1"" of type '" "wxRichTextEvent *""'"); 
 
25897
  }
 
25898
  arg1 = reinterpret_cast< wxRichTextEvent * >(argp1);
 
25899
  {
 
25900
    arg2 = &temp2;
 
25901
    if ( ! wxRichTextRange_helper(obj1, &arg2)) SWIG_fail;
 
25902
  }
 
25903
  {
 
25904
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
25905
    (arg1)->SetRange((wxRichTextRange const &)*arg2);
 
25906
    wxPyEndAllowThreads(__tstate);
 
25907
    if (PyErr_Occurred()) SWIG_fail;
 
25908
  }
 
25909
  resultobj = SWIG_Py_Void();
 
25910
  return resultobj;
 
25911
fail:
 
25912
  return NULL;
 
25913
}
 
25914
 
 
25915
 
 
25916
SWIGINTERN PyObject *_wrap_RichTextEvent_GetCharacter(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
25917
  PyObject *resultobj = 0;
 
25918
  wxRichTextEvent *arg1 = (wxRichTextEvent *) 0 ;
 
25919
  wxChar result;
 
25920
  void *argp1 = 0 ;
 
25921
  int res1 = 0 ;
 
25922
  PyObject *swig_obj[1] ;
 
25923
  
 
25924
  if (!args) SWIG_fail;
 
25925
  swig_obj[0] = args;
 
25926
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextEvent, 0 |  0 );
 
25927
  if (!SWIG_IsOK(res1)) {
 
25928
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextEvent_GetCharacter" "', expected argument " "1"" of type '" "wxRichTextEvent const *""'"); 
 
25929
  }
 
25930
  arg1 = reinterpret_cast< wxRichTextEvent * >(argp1);
 
25931
  {
 
25932
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
25933
    result = ((wxRichTextEvent const *)arg1)->GetCharacter();
 
25934
    wxPyEndAllowThreads(__tstate);
 
25935
    if (PyErr_Occurred()) SWIG_fail;
 
25936
  }
 
25937
  resultobj = SWIG_NewPointerObj((new wxChar(static_cast< const wxChar& >(result))), SWIGTYPE_p_wxChar, SWIG_POINTER_OWN |  0 );
 
25938
  return resultobj;
 
25939
fail:
 
25940
  return NULL;
 
25941
}
 
25942
 
 
25943
 
 
25944
SWIGINTERN PyObject *_wrap_RichTextEvent_SetCharacter(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
25945
  PyObject *resultobj = 0;
 
25946
  wxRichTextEvent *arg1 = (wxRichTextEvent *) 0 ;
 
25947
  wxChar arg2 ;
 
25948
  void *argp1 = 0 ;
 
25949
  int res1 = 0 ;
 
25950
  void *argp2 ;
 
25951
  int res2 = 0 ;
 
25952
  PyObject * obj0 = 0 ;
 
25953
  PyObject * obj1 = 0 ;
 
25954
  char *  kwnames[] = {
 
25955
    (char *) "self",(char *) "ch", NULL 
 
25956
  };
 
25957
  
 
25958
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RichTextEvent_SetCharacter",kwnames,&obj0,&obj1)) SWIG_fail;
 
25959
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextEvent, 0 |  0 );
 
25960
  if (!SWIG_IsOK(res1)) {
 
25961
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextEvent_SetCharacter" "', expected argument " "1"" of type '" "wxRichTextEvent *""'"); 
 
25962
  }
 
25963
  arg1 = reinterpret_cast< wxRichTextEvent * >(argp1);
 
25964
  {
 
25965
    res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxChar,  0  | 0);
 
25966
    if (!SWIG_IsOK(res2)) {
 
25967
      SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "RichTextEvent_SetCharacter" "', expected argument " "2"" of type '" "wxChar""'"); 
 
25968
    }  
 
25969
    if (!argp2) {
 
25970
      SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "RichTextEvent_SetCharacter" "', expected argument " "2"" of type '" "wxChar""'");
 
25971
    } else {
 
25972
      wxChar * temp = reinterpret_cast< wxChar * >(argp2);
 
25973
      arg2 = *temp;
 
25974
      if (SWIG_IsNewObj(res2)) delete temp;
 
25975
    }
 
25976
  }
 
25977
  {
 
25978
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
25979
    (arg1)->SetCharacter(arg2);
 
25980
    wxPyEndAllowThreads(__tstate);
 
25981
    if (PyErr_Occurred()) SWIG_fail;
 
25982
  }
 
25983
  resultobj = SWIG_Py_Void();
 
25984
  return resultobj;
 
25985
fail:
 
25986
  return NULL;
 
25987
}
 
25988
 
 
25989
 
11891
25990
SWIGINTERN PyObject *RichTextEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11892
25991
  PyObject *obj;
11893
25992
  if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
11899
25998
  return SWIG_Python_InitShadowInstance(args);
11900
25999
}
11901
26000
 
 
26001
SWIGINTERN int HtmlName_set(PyObject *) {
 
26002
  SWIG_Error(SWIG_AttributeError,"Variable HtmlName is read-only.");
 
26003
  return 1;
 
26004
}
 
26005
 
 
26006
 
 
26007
SWIGINTERN PyObject *HtmlName_get(void) {
 
26008
  PyObject *pyobj = 0;
 
26009
  
 
26010
  {
 
26011
#if wxUSE_UNICODE
 
26012
    pyobj = PyUnicode_FromWideChar((&wxPyHtmlName)->c_str(), (&wxPyHtmlName)->Len());
 
26013
#else
 
26014
    pyobj = PyString_FromStringAndSize((&wxPyHtmlName)->c_str(), (&wxPyHtmlName)->Len());
 
26015
#endif
 
26016
  }
 
26017
  return pyobj;
 
26018
}
 
26019
 
 
26020
 
 
26021
SWIGINTERN int HtmlExt_set(PyObject *) {
 
26022
  SWIG_Error(SWIG_AttributeError,"Variable HtmlExt is read-only.");
 
26023
  return 1;
 
26024
}
 
26025
 
 
26026
 
 
26027
SWIGINTERN PyObject *HtmlExt_get(void) {
 
26028
  PyObject *pyobj = 0;
 
26029
  
 
26030
  {
 
26031
#if wxUSE_UNICODE
 
26032
    pyobj = PyUnicode_FromWideChar((&wxPyHtmlExt)->c_str(), (&wxPyHtmlExt)->Len());
 
26033
#else
 
26034
    pyobj = PyString_FromStringAndSize((&wxPyHtmlExt)->c_str(), (&wxPyHtmlExt)->Len());
 
26035
#endif
 
26036
  }
 
26037
  return pyobj;
 
26038
}
 
26039
 
 
26040
 
 
26041
SWIGINTERN PyObject *_wrap_new_RichTextHTMLHandler(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
26042
  PyObject *resultobj = 0;
 
26043
  wxString const &arg1_defvalue = wxPyHtmlName ;
 
26044
  wxString *arg1 = (wxString *) &arg1_defvalue ;
 
26045
  wxString const &arg2_defvalue = wxPyHtmlExt ;
 
26046
  wxString *arg2 = (wxString *) &arg2_defvalue ;
 
26047
  int arg3 = (int) wxRICHTEXT_TYPE_HTML ;
 
26048
  wxRichTextHTMLHandler *result = 0 ;
 
26049
  bool temp1 = false ;
 
26050
  bool temp2 = false ;
 
26051
  int val3 ;
 
26052
  int ecode3 = 0 ;
 
26053
  PyObject * obj0 = 0 ;
 
26054
  PyObject * obj1 = 0 ;
 
26055
  PyObject * obj2 = 0 ;
 
26056
  char *  kwnames[] = {
 
26057
    (char *) "name",(char *) "ext",(char *) "type", NULL 
 
26058
  };
 
26059
  
 
26060
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOO:new_RichTextHTMLHandler",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
 
26061
  if (obj0) {
 
26062
    {
 
26063
      arg1 = wxString_in_helper(obj0);
 
26064
      if (arg1 == NULL) SWIG_fail;
 
26065
      temp1 = true;
 
26066
    }
 
26067
  }
 
26068
  if (obj1) {
 
26069
    {
 
26070
      arg2 = wxString_in_helper(obj1);
 
26071
      if (arg2 == NULL) SWIG_fail;
 
26072
      temp2 = true;
 
26073
    }
 
26074
  }
 
26075
  if (obj2) {
 
26076
    ecode3 = SWIG_AsVal_int(obj2, &val3);
 
26077
    if (!SWIG_IsOK(ecode3)) {
 
26078
      SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_RichTextHTMLHandler" "', expected argument " "3"" of type '" "int""'");
 
26079
    } 
 
26080
    arg3 = static_cast< int >(val3);
 
26081
  }
 
26082
  {
 
26083
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
26084
    result = (wxRichTextHTMLHandler *)new wxRichTextHTMLHandler((wxString const &)*arg1,(wxString const &)*arg2,arg3);
 
26085
    wxPyEndAllowThreads(__tstate);
 
26086
    if (PyErr_Occurred()) SWIG_fail;
 
26087
  }
 
26088
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxRichTextHTMLHandler, SWIG_POINTER_NEW |  0 );
 
26089
  {
 
26090
    if (temp1)
 
26091
    delete arg1;
 
26092
  }
 
26093
  {
 
26094
    if (temp2)
 
26095
    delete arg2;
 
26096
  }
 
26097
  return resultobj;
 
26098
fail:
 
26099
  {
 
26100
    if (temp1)
 
26101
    delete arg1;
 
26102
  }
 
26103
  {
 
26104
    if (temp2)
 
26105
    delete arg2;
 
26106
  }
 
26107
  return NULL;
 
26108
}
 
26109
 
 
26110
 
 
26111
SWIGINTERN PyObject *_wrap_RichTextHTMLHandler_SetTemporaryImageLocations(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
26112
  PyObject *resultobj = 0;
 
26113
  wxRichTextHTMLHandler *arg1 = (wxRichTextHTMLHandler *) 0 ;
 
26114
  wxArrayString *arg2 = 0 ;
 
26115
  void *argp1 = 0 ;
 
26116
  int res1 = 0 ;
 
26117
  bool temp2 = false ;
 
26118
  PyObject * obj0 = 0 ;
 
26119
  PyObject * obj1 = 0 ;
 
26120
  char *  kwnames[] = {
 
26121
    (char *) "self",(char *) "locations", NULL 
 
26122
  };
 
26123
  
 
26124
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RichTextHTMLHandler_SetTemporaryImageLocations",kwnames,&obj0,&obj1)) SWIG_fail;
 
26125
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextHTMLHandler, 0 |  0 );
 
26126
  if (!SWIG_IsOK(res1)) {
 
26127
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextHTMLHandler_SetTemporaryImageLocations" "', expected argument " "1"" of type '" "wxRichTextHTMLHandler *""'"); 
 
26128
  }
 
26129
  arg1 = reinterpret_cast< wxRichTextHTMLHandler * >(argp1);
 
26130
  {
 
26131
    if (! PySequence_Check(obj1)) {
 
26132
      PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
 
26133
      SWIG_fail;
 
26134
    }
 
26135
    arg2 = new wxArrayString;
 
26136
    temp2 = true;
 
26137
    int i, len=PySequence_Length(obj1);
 
26138
    for (i=0; i<len; i++) {
 
26139
      PyObject* item = PySequence_GetItem(obj1, i);
 
26140
      wxString* s = wxString_in_helper(item);
 
26141
      if (PyErr_Occurred())  SWIG_fail;
 
26142
      arg2->Add(*s);
 
26143
      delete s;
 
26144
      Py_DECREF(item);
 
26145
    }
 
26146
  }
 
26147
  {
 
26148
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
26149
    (arg1)->SetTemporaryImageLocations((wxArrayString const &)*arg2);
 
26150
    wxPyEndAllowThreads(__tstate);
 
26151
    if (PyErr_Occurred()) SWIG_fail;
 
26152
  }
 
26153
  resultobj = SWIG_Py_Void();
 
26154
  {
 
26155
    if (temp2) delete arg2;
 
26156
  }
 
26157
  return resultobj;
 
26158
fail:
 
26159
  {
 
26160
    if (temp2) delete arg2;
 
26161
  }
 
26162
  return NULL;
 
26163
}
 
26164
 
 
26165
 
 
26166
SWIGINTERN PyObject *_wrap_RichTextHTMLHandler_GetTemporaryImageLocations(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
26167
  PyObject *resultobj = 0;
 
26168
  wxRichTextHTMLHandler *arg1 = (wxRichTextHTMLHandler *) 0 ;
 
26169
  wxArrayString *result = 0 ;
 
26170
  void *argp1 = 0 ;
 
26171
  int res1 = 0 ;
 
26172
  PyObject *swig_obj[1] ;
 
26173
  
 
26174
  if (!args) SWIG_fail;
 
26175
  swig_obj[0] = args;
 
26176
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextHTMLHandler, 0 |  0 );
 
26177
  if (!SWIG_IsOK(res1)) {
 
26178
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextHTMLHandler_GetTemporaryImageLocations" "', expected argument " "1"" of type '" "wxRichTextHTMLHandler const *""'"); 
 
26179
  }
 
26180
  arg1 = reinterpret_cast< wxRichTextHTMLHandler * >(argp1);
 
26181
  {
 
26182
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
26183
    {
 
26184
      wxArrayString const &_result_ref = ((wxRichTextHTMLHandler const *)arg1)->GetTemporaryImageLocations();
 
26185
      result = (wxArrayString *) &_result_ref;
 
26186
    }
 
26187
    wxPyEndAllowThreads(__tstate);
 
26188
    if (PyErr_Occurred()) SWIG_fail;
 
26189
  }
 
26190
  {
 
26191
    resultobj = wxArrayString2PyList_helper(*result);
 
26192
  }
 
26193
  return resultobj;
 
26194
fail:
 
26195
  return NULL;
 
26196
}
 
26197
 
 
26198
 
 
26199
SWIGINTERN PyObject *_wrap_RichTextHTMLHandler_ClearTemporaryImageLocations(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
26200
  PyObject *resultobj = 0;
 
26201
  wxRichTextHTMLHandler *arg1 = (wxRichTextHTMLHandler *) 0 ;
 
26202
  void *argp1 = 0 ;
 
26203
  int res1 = 0 ;
 
26204
  PyObject *swig_obj[1] ;
 
26205
  
 
26206
  if (!args) SWIG_fail;
 
26207
  swig_obj[0] = args;
 
26208
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextHTMLHandler, 0 |  0 );
 
26209
  if (!SWIG_IsOK(res1)) {
 
26210
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextHTMLHandler_ClearTemporaryImageLocations" "', expected argument " "1"" of type '" "wxRichTextHTMLHandler *""'"); 
 
26211
  }
 
26212
  arg1 = reinterpret_cast< wxRichTextHTMLHandler * >(argp1);
 
26213
  {
 
26214
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
26215
    (arg1)->ClearTemporaryImageLocations();
 
26216
    wxPyEndAllowThreads(__tstate);
 
26217
    if (PyErr_Occurred()) SWIG_fail;
 
26218
  }
 
26219
  resultobj = SWIG_Py_Void();
 
26220
  return resultobj;
 
26221
fail:
 
26222
  return NULL;
 
26223
}
 
26224
 
 
26225
 
 
26226
SWIGINTERN PyObject *_wrap_RichTextHTMLHandler_DeleteTemporaryImages(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
26227
  PyObject *resultobj = 0;
 
26228
  wxRichTextHTMLHandler *arg1 = (wxRichTextHTMLHandler *) 0 ;
 
26229
  bool result;
 
26230
  void *argp1 = 0 ;
 
26231
  int res1 = 0 ;
 
26232
  PyObject *swig_obj[1] ;
 
26233
  
 
26234
  if (!args) SWIG_fail;
 
26235
  swig_obj[0] = args;
 
26236
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextHTMLHandler, 0 |  0 );
 
26237
  if (!SWIG_IsOK(res1)) {
 
26238
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextHTMLHandler_DeleteTemporaryImages" "', expected argument " "1"" of type '" "wxRichTextHTMLHandler *""'"); 
 
26239
  }
 
26240
  arg1 = reinterpret_cast< wxRichTextHTMLHandler * >(argp1);
 
26241
  {
 
26242
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
26243
    result = (bool)(arg1)->DeleteTemporaryImages();
 
26244
    wxPyEndAllowThreads(__tstate);
 
26245
    if (PyErr_Occurred()) SWIG_fail;
 
26246
  }
 
26247
  {
 
26248
    resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
 
26249
  }
 
26250
  return resultobj;
 
26251
fail:
 
26252
  return NULL;
 
26253
}
 
26254
 
 
26255
 
 
26256
SWIGINTERN PyObject *_wrap_RichTextHTMLHandler_SetFileCounter(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
26257
  PyObject *resultobj = 0;
 
26258
  int arg1 ;
 
26259
  int val1 ;
 
26260
  int ecode1 = 0 ;
 
26261
  PyObject * obj0 = 0 ;
 
26262
  char *  kwnames[] = {
 
26263
    (char *) "counter", NULL 
 
26264
  };
 
26265
  
 
26266
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RichTextHTMLHandler_SetFileCounter",kwnames,&obj0)) SWIG_fail;
 
26267
  ecode1 = SWIG_AsVal_int(obj0, &val1);
 
26268
  if (!SWIG_IsOK(ecode1)) {
 
26269
    SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "RichTextHTMLHandler_SetFileCounter" "', expected argument " "1"" of type '" "int""'");
 
26270
  } 
 
26271
  arg1 = static_cast< int >(val1);
 
26272
  {
 
26273
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
26274
    wxRichTextHTMLHandler::SetFileCounter(arg1);
 
26275
    wxPyEndAllowThreads(__tstate);
 
26276
    if (PyErr_Occurred()) SWIG_fail;
 
26277
  }
 
26278
  resultobj = SWIG_Py_Void();
 
26279
  return resultobj;
 
26280
fail:
 
26281
  return NULL;
 
26282
}
 
26283
 
 
26284
 
 
26285
SWIGINTERN PyObject *_wrap_RichTextHTMLHandler_SetTempDir(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
26286
  PyObject *resultobj = 0;
 
26287
  wxRichTextHTMLHandler *arg1 = (wxRichTextHTMLHandler *) 0 ;
 
26288
  wxString *arg2 = 0 ;
 
26289
  void *argp1 = 0 ;
 
26290
  int res1 = 0 ;
 
26291
  bool temp2 = false ;
 
26292
  PyObject * obj0 = 0 ;
 
26293
  PyObject * obj1 = 0 ;
 
26294
  char *  kwnames[] = {
 
26295
    (char *) "self",(char *) "tempDir", NULL 
 
26296
  };
 
26297
  
 
26298
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RichTextHTMLHandler_SetTempDir",kwnames,&obj0,&obj1)) SWIG_fail;
 
26299
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextHTMLHandler, 0 |  0 );
 
26300
  if (!SWIG_IsOK(res1)) {
 
26301
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextHTMLHandler_SetTempDir" "', expected argument " "1"" of type '" "wxRichTextHTMLHandler *""'"); 
 
26302
  }
 
26303
  arg1 = reinterpret_cast< wxRichTextHTMLHandler * >(argp1);
 
26304
  {
 
26305
    arg2 = wxString_in_helper(obj1);
 
26306
    if (arg2 == NULL) SWIG_fail;
 
26307
    temp2 = true;
 
26308
  }
 
26309
  {
 
26310
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
26311
    (arg1)->SetTempDir((wxString const &)*arg2);
 
26312
    wxPyEndAllowThreads(__tstate);
 
26313
    if (PyErr_Occurred()) SWIG_fail;
 
26314
  }
 
26315
  resultobj = SWIG_Py_Void();
 
26316
  {
 
26317
    if (temp2)
 
26318
    delete arg2;
 
26319
  }
 
26320
  return resultobj;
 
26321
fail:
 
26322
  {
 
26323
    if (temp2)
 
26324
    delete arg2;
 
26325
  }
 
26326
  return NULL;
 
26327
}
 
26328
 
 
26329
 
 
26330
SWIGINTERN PyObject *_wrap_RichTextHTMLHandler_GetTempDir(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
26331
  PyObject *resultobj = 0;
 
26332
  wxRichTextHTMLHandler *arg1 = (wxRichTextHTMLHandler *) 0 ;
 
26333
  wxString *result = 0 ;
 
26334
  void *argp1 = 0 ;
 
26335
  int res1 = 0 ;
 
26336
  PyObject *swig_obj[1] ;
 
26337
  
 
26338
  if (!args) SWIG_fail;
 
26339
  swig_obj[0] = args;
 
26340
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextHTMLHandler, 0 |  0 );
 
26341
  if (!SWIG_IsOK(res1)) {
 
26342
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextHTMLHandler_GetTempDir" "', expected argument " "1"" of type '" "wxRichTextHTMLHandler const *""'"); 
 
26343
  }
 
26344
  arg1 = reinterpret_cast< wxRichTextHTMLHandler * >(argp1);
 
26345
  {
 
26346
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
26347
    {
 
26348
      wxString const &_result_ref = ((wxRichTextHTMLHandler const *)arg1)->GetTempDir();
 
26349
      result = (wxString *) &_result_ref;
 
26350
    }
 
26351
    wxPyEndAllowThreads(__tstate);
 
26352
    if (PyErr_Occurred()) SWIG_fail;
 
26353
  }
 
26354
  {
 
26355
#if wxUSE_UNICODE
 
26356
    resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
 
26357
#else
 
26358
    resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
 
26359
#endif
 
26360
  }
 
26361
  return resultobj;
 
26362
fail:
 
26363
  return NULL;
 
26364
}
 
26365
 
 
26366
 
 
26367
SWIGINTERN PyObject *_wrap_RichTextHTMLHandler_SetFontSizeMapping(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
26368
  PyObject *resultobj = 0;
 
26369
  wxRichTextHTMLHandler *arg1 = (wxRichTextHTMLHandler *) 0 ;
 
26370
  wxArrayInt *arg2 = 0 ;
 
26371
  void *argp1 = 0 ;
 
26372
  int res1 = 0 ;
 
26373
  bool temp2 = false ;
 
26374
  PyObject * obj0 = 0 ;
 
26375
  PyObject * obj1 = 0 ;
 
26376
  char *  kwnames[] = {
 
26377
    (char *) "self",(char *) "fontSizeMapping", NULL 
 
26378
  };
 
26379
  
 
26380
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RichTextHTMLHandler_SetFontSizeMapping",kwnames,&obj0,&obj1)) SWIG_fail;
 
26381
  res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextHTMLHandler, 0 |  0 );
 
26382
  if (!SWIG_IsOK(res1)) {
 
26383
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextHTMLHandler_SetFontSizeMapping" "', expected argument " "1"" of type '" "wxRichTextHTMLHandler *""'"); 
 
26384
  }
 
26385
  arg1 = reinterpret_cast< wxRichTextHTMLHandler * >(argp1);
 
26386
  {
 
26387
    if (! PySequence_Check(obj1)) {
 
26388
      PyErr_SetString(PyExc_TypeError, "Sequence of integers expected.");
 
26389
      SWIG_fail;
 
26390
    }
 
26391
    arg2 = new wxArrayInt;
 
26392
    temp2 = true;
 
26393
    int i, len=PySequence_Length(obj1);
 
26394
    for (i=0; i<len; i++) {
 
26395
      PyObject* item = PySequence_GetItem(obj1, i);
 
26396
      PyObject* number  = PyNumber_Int(item);
 
26397
      if (!number) {
 
26398
        PyErr_SetString(PyExc_TypeError, "Sequence of integers expected.");
 
26399
        SWIG_fail;
 
26400
      }       
 
26401
      arg2->Add(PyInt_AS_LONG(number));
 
26402
      Py_DECREF(item);
 
26403
      Py_DECREF(number);
 
26404
    }
 
26405
  }
 
26406
  {
 
26407
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
26408
    (arg1)->SetFontSizeMapping((wxArrayInt const &)*arg2);
 
26409
    wxPyEndAllowThreads(__tstate);
 
26410
    if (PyErr_Occurred()) SWIG_fail;
 
26411
  }
 
26412
  resultobj = SWIG_Py_Void();
 
26413
  {
 
26414
    if (temp2) delete arg2;
 
26415
  }
 
26416
  return resultobj;
 
26417
fail:
 
26418
  {
 
26419
    if (temp2) delete arg2;
 
26420
  }
 
26421
  return NULL;
 
26422
}
 
26423
 
 
26424
 
 
26425
SWIGINTERN PyObject *_wrap_RichTextHTMLHandler_GetFontSizeMapping(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
26426
  PyObject *resultobj = 0;
 
26427
  wxRichTextHTMLHandler *arg1 = (wxRichTextHTMLHandler *) 0 ;
 
26428
  wxArrayInt result;
 
26429
  void *argp1 = 0 ;
 
26430
  int res1 = 0 ;
 
26431
  PyObject *swig_obj[1] ;
 
26432
  
 
26433
  if (!args) SWIG_fail;
 
26434
  swig_obj[0] = args;
 
26435
  res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextHTMLHandler, 0 |  0 );
 
26436
  if (!SWIG_IsOK(res1)) {
 
26437
    SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextHTMLHandler_GetFontSizeMapping" "', expected argument " "1"" of type '" "wxRichTextHTMLHandler const *""'"); 
 
26438
  }
 
26439
  arg1 = reinterpret_cast< wxRichTextHTMLHandler * >(argp1);
 
26440
  {
 
26441
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
26442
    result = ((wxRichTextHTMLHandler const *)arg1)->GetFontSizeMapping();
 
26443
    wxPyEndAllowThreads(__tstate);
 
26444
    if (PyErr_Occurred()) SWIG_fail;
 
26445
  }
 
26446
  {
 
26447
    resultobj = wxArrayInt2PyList_helper(result);
 
26448
  }
 
26449
  return resultobj;
 
26450
fail:
 
26451
  return NULL;
 
26452
}
 
26453
 
 
26454
 
 
26455
SWIGINTERN PyObject *RichTextHTMLHandler_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
26456
  PyObject *obj;
 
26457
  if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
 
26458
  SWIG_TypeNewClientData(SWIGTYPE_p_wxRichTextHTMLHandler, SWIG_NewClientData(obj));
 
26459
  return SWIG_Py_Void();
 
26460
}
 
26461
 
 
26462
SWIGINTERN PyObject *RichTextHTMLHandler_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
26463
  return SWIG_Python_InitShadowInstance(args);
 
26464
}
 
26465
 
 
26466
SWIGINTERN int XmlName_set(PyObject *) {
 
26467
  SWIG_Error(SWIG_AttributeError,"Variable XmlName is read-only.");
 
26468
  return 1;
 
26469
}
 
26470
 
 
26471
 
 
26472
SWIGINTERN PyObject *XmlName_get(void) {
 
26473
  PyObject *pyobj = 0;
 
26474
  
 
26475
  {
 
26476
#if wxUSE_UNICODE
 
26477
    pyobj = PyUnicode_FromWideChar((&wxPyXmlName)->c_str(), (&wxPyXmlName)->Len());
 
26478
#else
 
26479
    pyobj = PyString_FromStringAndSize((&wxPyXmlName)->c_str(), (&wxPyXmlName)->Len());
 
26480
#endif
 
26481
  }
 
26482
  return pyobj;
 
26483
}
 
26484
 
 
26485
 
 
26486
SWIGINTERN int XmlExt_set(PyObject *) {
 
26487
  SWIG_Error(SWIG_AttributeError,"Variable XmlExt is read-only.");
 
26488
  return 1;
 
26489
}
 
26490
 
 
26491
 
 
26492
SWIGINTERN PyObject *XmlExt_get(void) {
 
26493
  PyObject *pyobj = 0;
 
26494
  
 
26495
  {
 
26496
#if wxUSE_UNICODE
 
26497
    pyobj = PyUnicode_FromWideChar((&wxPyXmlExt)->c_str(), (&wxPyXmlExt)->Len());
 
26498
#else
 
26499
    pyobj = PyString_FromStringAndSize((&wxPyXmlExt)->c_str(), (&wxPyXmlExt)->Len());
 
26500
#endif
 
26501
  }
 
26502
  return pyobj;
 
26503
}
 
26504
 
 
26505
 
 
26506
SWIGINTERN PyObject *_wrap_new_RichTextXMLHandler(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
 
26507
  PyObject *resultobj = 0;
 
26508
  wxString const &arg1_defvalue = wxPyXmlName ;
 
26509
  wxString *arg1 = (wxString *) &arg1_defvalue ;
 
26510
  wxString const &arg2_defvalue = wxPyXmlExt ;
 
26511
  wxString *arg2 = (wxString *) &arg2_defvalue ;
 
26512
  int arg3 = (int) wxRICHTEXT_TYPE_XML ;
 
26513
  wxRichTextXMLHandler *result = 0 ;
 
26514
  bool temp1 = false ;
 
26515
  bool temp2 = false ;
 
26516
  int val3 ;
 
26517
  int ecode3 = 0 ;
 
26518
  PyObject * obj0 = 0 ;
 
26519
  PyObject * obj1 = 0 ;
 
26520
  PyObject * obj2 = 0 ;
 
26521
  char *  kwnames[] = {
 
26522
    (char *) "name",(char *) "ext",(char *) "type", NULL 
 
26523
  };
 
26524
  
 
26525
  if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOO:new_RichTextXMLHandler",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
 
26526
  if (obj0) {
 
26527
    {
 
26528
      arg1 = wxString_in_helper(obj0);
 
26529
      if (arg1 == NULL) SWIG_fail;
 
26530
      temp1 = true;
 
26531
    }
 
26532
  }
 
26533
  if (obj1) {
 
26534
    {
 
26535
      arg2 = wxString_in_helper(obj1);
 
26536
      if (arg2 == NULL) SWIG_fail;
 
26537
      temp2 = true;
 
26538
    }
 
26539
  }
 
26540
  if (obj2) {
 
26541
    ecode3 = SWIG_AsVal_int(obj2, &val3);
 
26542
    if (!SWIG_IsOK(ecode3)) {
 
26543
      SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_RichTextXMLHandler" "', expected argument " "3"" of type '" "int""'");
 
26544
    } 
 
26545
    arg3 = static_cast< int >(val3);
 
26546
  }
 
26547
  {
 
26548
    PyThreadState* __tstate = wxPyBeginAllowThreads();
 
26549
    result = (wxRichTextXMLHandler *)new wxRichTextXMLHandler((wxString const &)*arg1,(wxString const &)*arg2,arg3);
 
26550
    wxPyEndAllowThreads(__tstate);
 
26551
    if (PyErr_Occurred()) SWIG_fail;
 
26552
  }
 
26553
  resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxRichTextXMLHandler, SWIG_POINTER_NEW |  0 );
 
26554
  {
 
26555
    if (temp1)
 
26556
    delete arg1;
 
26557
  }
 
26558
  {
 
26559
    if (temp2)
 
26560
    delete arg2;
 
26561
  }
 
26562
  return resultobj;
 
26563
fail:
 
26564
  {
 
26565
    if (temp1)
 
26566
    delete arg1;
 
26567
  }
 
26568
  {
 
26569
    if (temp2)
 
26570
    delete arg2;
 
26571
  }
 
26572
  return NULL;
 
26573
}
 
26574
 
 
26575
 
 
26576
SWIGINTERN PyObject *RichTextXMLHandler_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
26577
  PyObject *obj;
 
26578
  if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
 
26579
  SWIG_TypeNewClientData(SWIGTYPE_p_wxRichTextXMLHandler, SWIG_NewClientData(obj));
 
26580
  return SWIG_Py_Void();
 
26581
}
 
26582
 
 
26583
SWIGINTERN PyObject *RichTextXMLHandler_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
 
26584
  return SWIG_Python_InitShadowInstance(args);
 
26585
}
 
26586
 
11902
26587
static PyMethodDef SwigMethods[] = {
11903
26588
         { (char *)"new_RichTextRange", (PyCFunction) _wrap_new_RichTextRange, METH_VARARGS | METH_KEYWORDS, NULL},
11904
26589
         { (char *)"delete_RichTextRange", (PyCFunction)_wrap_delete_RichTextRange, METH_O, NULL},
11916
26601
         { (char *)"RichTextRange_LimitTo", (PyCFunction) _wrap_RichTextRange_LimitTo, METH_VARARGS | METH_KEYWORDS, NULL},
11917
26602
         { (char *)"RichTextRange_GetLength", (PyCFunction)_wrap_RichTextRange_GetLength, METH_O, NULL},
11918
26603
         { (char *)"RichTextRange_Swap", (PyCFunction)_wrap_RichTextRange_Swap, METH_O, NULL},
 
26604
         { (char *)"RichTextRange_ToInternal", (PyCFunction)_wrap_RichTextRange_ToInternal, METH_O, NULL},
 
26605
         { (char *)"RichTextRange_FromInternal", (PyCFunction)_wrap_RichTextRange_FromInternal, METH_O, NULL},
11919
26606
         { (char *)"RichTextRange_Get", (PyCFunction)_wrap_RichTextRange_Get, METH_O, NULL},
11920
26607
         { (char *)"RichTextRange_swigregister", RichTextRange_swigregister, METH_VARARGS, NULL},
11921
26608
         { (char *)"RichTextRange_swiginit", RichTextRange_swiginit, METH_VARARGS, NULL},
11922
 
         { (char *)"new_RichTextAttr", (PyCFunction) _wrap_new_RichTextAttr, METH_VARARGS | METH_KEYWORDS, NULL},
11923
 
         { (char *)"delete_RichTextAttr", (PyCFunction)_wrap_delete_RichTextAttr, METH_O, NULL},
11924
 
         { (char *)"RichTextAttr_CreateFont", (PyCFunction)_wrap_RichTextAttr_CreateFont, METH_O, NULL},
11925
 
         { (char *)"RichTextAttr_GetFontAttributes", (PyCFunction) _wrap_RichTextAttr_GetFontAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
11926
 
         { (char *)"RichTextAttr_SetTextColour", (PyCFunction) _wrap_RichTextAttr_SetTextColour, METH_VARARGS | METH_KEYWORDS, NULL},
11927
 
         { (char *)"RichTextAttr_SetBackgroundColour", (PyCFunction) _wrap_RichTextAttr_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
11928
 
         { (char *)"RichTextAttr_SetAlignment", (PyCFunction) _wrap_RichTextAttr_SetAlignment, METH_VARARGS | METH_KEYWORDS, NULL},
11929
 
         { (char *)"RichTextAttr_SetTabs", (PyCFunction) _wrap_RichTextAttr_SetTabs, METH_VARARGS | METH_KEYWORDS, NULL},
11930
 
         { (char *)"RichTextAttr_SetLeftIndent", (PyCFunction) _wrap_RichTextAttr_SetLeftIndent, METH_VARARGS | METH_KEYWORDS, NULL},
11931
 
         { (char *)"RichTextAttr_SetRightIndent", (PyCFunction) _wrap_RichTextAttr_SetRightIndent, METH_VARARGS | METH_KEYWORDS, NULL},
11932
 
         { (char *)"RichTextAttr_SetFontSize", (PyCFunction) _wrap_RichTextAttr_SetFontSize, METH_VARARGS | METH_KEYWORDS, NULL},
11933
 
         { (char *)"RichTextAttr_SetFontStyle", (PyCFunction) _wrap_RichTextAttr_SetFontStyle, METH_VARARGS | METH_KEYWORDS, NULL},
11934
 
         { (char *)"RichTextAttr_SetFontWeight", (PyCFunction) _wrap_RichTextAttr_SetFontWeight, METH_VARARGS | METH_KEYWORDS, NULL},
11935
 
         { (char *)"RichTextAttr_SetFontFaceName", (PyCFunction) _wrap_RichTextAttr_SetFontFaceName, METH_VARARGS | METH_KEYWORDS, NULL},
11936
 
         { (char *)"RichTextAttr_SetFontUnderlined", (PyCFunction) _wrap_RichTextAttr_SetFontUnderlined, METH_VARARGS | METH_KEYWORDS, NULL},
11937
 
         { (char *)"RichTextAttr_SetFlags", (PyCFunction) _wrap_RichTextAttr_SetFlags, METH_VARARGS | METH_KEYWORDS, NULL},
11938
 
         { (char *)"RichTextAttr_SetCharacterStyleName", (PyCFunction) _wrap_RichTextAttr_SetCharacterStyleName, METH_VARARGS | METH_KEYWORDS, NULL},
11939
 
         { (char *)"RichTextAttr_SetParagraphStyleName", (PyCFunction) _wrap_RichTextAttr_SetParagraphStyleName, METH_VARARGS | METH_KEYWORDS, NULL},
11940
 
         { (char *)"RichTextAttr_SetParagraphSpacingAfter", (PyCFunction) _wrap_RichTextAttr_SetParagraphSpacingAfter, METH_VARARGS | METH_KEYWORDS, NULL},
11941
 
         { (char *)"RichTextAttr_SetParagraphSpacingBefore", (PyCFunction) _wrap_RichTextAttr_SetParagraphSpacingBefore, METH_VARARGS | METH_KEYWORDS, NULL},
11942
 
         { (char *)"RichTextAttr_SetLineSpacing", (PyCFunction) _wrap_RichTextAttr_SetLineSpacing, METH_VARARGS | METH_KEYWORDS, NULL},
11943
 
         { (char *)"RichTextAttr_SetBulletStyle", (PyCFunction) _wrap_RichTextAttr_SetBulletStyle, METH_VARARGS | METH_KEYWORDS, NULL},
11944
 
         { (char *)"RichTextAttr_SetBulletNumber", (PyCFunction) _wrap_RichTextAttr_SetBulletNumber, METH_VARARGS | METH_KEYWORDS, NULL},
11945
 
         { (char *)"RichTextAttr_SetBulletText", (PyCFunction) _wrap_RichTextAttr_SetBulletText, METH_VARARGS | METH_KEYWORDS, NULL},
11946
 
         { (char *)"RichTextAttr_SetBulletFont", (PyCFunction) _wrap_RichTextAttr_SetBulletFont, METH_VARARGS | METH_KEYWORDS, NULL},
11947
 
         { (char *)"RichTextAttr_GetTextColour", (PyCFunction)_wrap_RichTextAttr_GetTextColour, METH_O, NULL},
11948
 
         { (char *)"RichTextAttr_GetBackgroundColour", (PyCFunction)_wrap_RichTextAttr_GetBackgroundColour, METH_O, NULL},
11949
 
         { (char *)"RichTextAttr_GetAlignment", (PyCFunction)_wrap_RichTextAttr_GetAlignment, METH_O, NULL},
11950
 
         { (char *)"RichTextAttr_GetTabs", (PyCFunction)_wrap_RichTextAttr_GetTabs, METH_O, NULL},
11951
 
         { (char *)"RichTextAttr_GetLeftIndent", (PyCFunction)_wrap_RichTextAttr_GetLeftIndent, METH_O, NULL},
11952
 
         { (char *)"RichTextAttr_GetLeftSubIndent", (PyCFunction)_wrap_RichTextAttr_GetLeftSubIndent, METH_O, NULL},
11953
 
         { (char *)"RichTextAttr_GetRightIndent", (PyCFunction)_wrap_RichTextAttr_GetRightIndent, METH_O, NULL},
11954
 
         { (char *)"RichTextAttr_GetFlags", (PyCFunction)_wrap_RichTextAttr_GetFlags, METH_O, NULL},
11955
 
         { (char *)"RichTextAttr_GetFontSize", (PyCFunction)_wrap_RichTextAttr_GetFontSize, METH_O, NULL},
11956
 
         { (char *)"RichTextAttr_GetFontStyle", (PyCFunction)_wrap_RichTextAttr_GetFontStyle, METH_O, NULL},
11957
 
         { (char *)"RichTextAttr_GetFontWeight", (PyCFunction)_wrap_RichTextAttr_GetFontWeight, METH_O, NULL},
11958
 
         { (char *)"RichTextAttr_GetFontUnderlined", (PyCFunction)_wrap_RichTextAttr_GetFontUnderlined, METH_O, NULL},
11959
 
         { (char *)"RichTextAttr_GetFontFaceName", (PyCFunction)_wrap_RichTextAttr_GetFontFaceName, METH_O, NULL},
11960
 
         { (char *)"RichTextAttr_GetCharacterStyleName", (PyCFunction)_wrap_RichTextAttr_GetCharacterStyleName, METH_O, NULL},
11961
 
         { (char *)"RichTextAttr_GetParagraphStyleName", (PyCFunction)_wrap_RichTextAttr_GetParagraphStyleName, METH_O, NULL},
11962
 
         { (char *)"RichTextAttr_GetParagraphSpacingAfter", (PyCFunction)_wrap_RichTextAttr_GetParagraphSpacingAfter, METH_O, NULL},
11963
 
         { (char *)"RichTextAttr_GetParagraphSpacingBefore", (PyCFunction)_wrap_RichTextAttr_GetParagraphSpacingBefore, METH_O, NULL},
11964
 
         { (char *)"RichTextAttr_GetLineSpacing", (PyCFunction)_wrap_RichTextAttr_GetLineSpacing, METH_O, NULL},
11965
 
         { (char *)"RichTextAttr_GetBulletStyle", (PyCFunction)_wrap_RichTextAttr_GetBulletStyle, METH_O, NULL},
11966
 
         { (char *)"RichTextAttr_GetBulletNumber", (PyCFunction)_wrap_RichTextAttr_GetBulletNumber, METH_O, NULL},
11967
 
         { (char *)"RichTextAttr_GetBulletText", (PyCFunction)_wrap_RichTextAttr_GetBulletText, METH_O, NULL},
11968
 
         { (char *)"RichTextAttr_GetBulletFont", (PyCFunction)_wrap_RichTextAttr_GetBulletFont, METH_O, NULL},
11969
 
         { (char *)"RichTextAttr_HasTextColour", (PyCFunction)_wrap_RichTextAttr_HasTextColour, METH_O, NULL},
11970
 
         { (char *)"RichTextAttr_HasBackgroundColour", (PyCFunction)_wrap_RichTextAttr_HasBackgroundColour, METH_O, NULL},
11971
 
         { (char *)"RichTextAttr_HasAlignment", (PyCFunction)_wrap_RichTextAttr_HasAlignment, METH_O, NULL},
11972
 
         { (char *)"RichTextAttr_HasTabs", (PyCFunction)_wrap_RichTextAttr_HasTabs, METH_O, NULL},
11973
 
         { (char *)"RichTextAttr_HasLeftIndent", (PyCFunction)_wrap_RichTextAttr_HasLeftIndent, METH_O, NULL},
11974
 
         { (char *)"RichTextAttr_HasRightIndent", (PyCFunction)_wrap_RichTextAttr_HasRightIndent, METH_O, NULL},
11975
 
         { (char *)"RichTextAttr_HasFont", (PyCFunction)_wrap_RichTextAttr_HasFont, METH_O, NULL},
11976
 
         { (char *)"RichTextAttr_HasParagraphSpacingAfter", (PyCFunction)_wrap_RichTextAttr_HasParagraphSpacingAfter, METH_O, NULL},
11977
 
         { (char *)"RichTextAttr_HasParagraphSpacingBefore", (PyCFunction)_wrap_RichTextAttr_HasParagraphSpacingBefore, METH_O, NULL},
11978
 
         { (char *)"RichTextAttr_HasLineSpacing", (PyCFunction)_wrap_RichTextAttr_HasLineSpacing, METH_O, NULL},
11979
 
         { (char *)"RichTextAttr_HasCharacterStyleName", (PyCFunction)_wrap_RichTextAttr_HasCharacterStyleName, METH_O, NULL},
11980
 
         { (char *)"RichTextAttr_HasParagraphStyleName", (PyCFunction)_wrap_RichTextAttr_HasParagraphStyleName, METH_O, NULL},
11981
 
         { (char *)"RichTextAttr_HasBulletStyle", (PyCFunction)_wrap_RichTextAttr_HasBulletStyle, METH_O, NULL},
11982
 
         { (char *)"RichTextAttr_HasBulletNumber", (PyCFunction)_wrap_RichTextAttr_HasBulletNumber, METH_O, NULL},
11983
 
         { (char *)"RichTextAttr_HasBulletText", (PyCFunction)_wrap_RichTextAttr_HasBulletText, METH_O, NULL},
11984
 
         { (char *)"RichTextAttr_HasFlag", (PyCFunction) _wrap_RichTextAttr_HasFlag, METH_VARARGS | METH_KEYWORDS, NULL},
11985
 
         { (char *)"RichTextAttr_IsCharacterStyle", (PyCFunction)_wrap_RichTextAttr_IsCharacterStyle, METH_O, NULL},
11986
 
         { (char *)"RichTextAttr_IsParagraphStyle", (PyCFunction)_wrap_RichTextAttr_IsParagraphStyle, METH_O, NULL},
11987
 
         { (char *)"RichTextAttr_IsDefault", (PyCFunction)_wrap_RichTextAttr_IsDefault, METH_O, NULL},
11988
 
         { (char *)"RichTextAttr_swigregister", RichTextAttr_swigregister, METH_VARARGS, NULL},
11989
 
         { (char *)"RichTextAttr_swiginit", RichTextAttr_swiginit, METH_VARARGS, NULL},
 
26609
         { (char *)"new_TextAttrEx", (PyCFunction)_wrap_new_TextAttrEx, METH_NOARGS, NULL},
 
26610
         { (char *)"delete_TextAttrEx", (PyCFunction)_wrap_delete_TextAttrEx, METH_O, NULL},
 
26611
         { (char *)"TextAttrEx_Init", (PyCFunction)_wrap_TextAttrEx_Init, METH_O, NULL},
 
26612
         { (char *)"TextAttrEx_Copy", (PyCFunction) _wrap_TextAttrEx_Copy, METH_VARARGS | METH_KEYWORDS, NULL},
 
26613
         { (char *)"TextAttrEx_SetTextColour", (PyCFunction) _wrap_TextAttrEx_SetTextColour, METH_VARARGS | METH_KEYWORDS, NULL},
 
26614
         { (char *)"TextAttrEx_SetBackgroundColour", (PyCFunction) _wrap_TextAttrEx_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
 
26615
         { (char *)"TextAttrEx_SetFont", (PyCFunction) _wrap_TextAttrEx_SetFont, METH_VARARGS | METH_KEYWORDS, NULL},
 
26616
         { (char *)"TextAttrEx_SetAlignment", (PyCFunction) _wrap_TextAttrEx_SetAlignment, METH_VARARGS | METH_KEYWORDS, NULL},
 
26617
         { (char *)"TextAttrEx_SetTabs", (PyCFunction) _wrap_TextAttrEx_SetTabs, METH_VARARGS | METH_KEYWORDS, NULL},
 
26618
         { (char *)"TextAttrEx_SetLeftIndent", (PyCFunction) _wrap_TextAttrEx_SetLeftIndent, METH_VARARGS | METH_KEYWORDS, NULL},
 
26619
         { (char *)"TextAttrEx_SetRightIndent", (PyCFunction) _wrap_TextAttrEx_SetRightIndent, METH_VARARGS | METH_KEYWORDS, NULL},
 
26620
         { (char *)"TextAttrEx_SetFlags", (PyCFunction) _wrap_TextAttrEx_SetFlags, METH_VARARGS | METH_KEYWORDS, NULL},
 
26621
         { (char *)"TextAttrEx_HasTextColour", (PyCFunction)_wrap_TextAttrEx_HasTextColour, METH_O, NULL},
 
26622
         { (char *)"TextAttrEx_HasBackgroundColour", (PyCFunction)_wrap_TextAttrEx_HasBackgroundColour, METH_O, NULL},
 
26623
         { (char *)"TextAttrEx_HasFont", (PyCFunction)_wrap_TextAttrEx_HasFont, METH_O, NULL},
 
26624
         { (char *)"TextAttrEx_HasAlignment", (PyCFunction)_wrap_TextAttrEx_HasAlignment, METH_O, NULL},
 
26625
         { (char *)"TextAttrEx_HasTabs", (PyCFunction)_wrap_TextAttrEx_HasTabs, METH_O, NULL},
 
26626
         { (char *)"TextAttrEx_HasLeftIndent", (PyCFunction)_wrap_TextAttrEx_HasLeftIndent, METH_O, NULL},
 
26627
         { (char *)"TextAttrEx_HasRightIndent", (PyCFunction)_wrap_TextAttrEx_HasRightIndent, METH_O, NULL},
 
26628
         { (char *)"TextAttrEx_HasFlag", (PyCFunction) _wrap_TextAttrEx_HasFlag, METH_VARARGS | METH_KEYWORDS, NULL},
 
26629
         { (char *)"TextAttrEx_GetTextColour", (PyCFunction)_wrap_TextAttrEx_GetTextColour, METH_O, NULL},
 
26630
         { (char *)"TextAttrEx_GetBackgroundColour", (PyCFunction)_wrap_TextAttrEx_GetBackgroundColour, METH_O, NULL},
 
26631
         { (char *)"TextAttrEx_GetFont", (PyCFunction)_wrap_TextAttrEx_GetFont, METH_O, NULL},
 
26632
         { (char *)"TextAttrEx_GetAlignment", (PyCFunction)_wrap_TextAttrEx_GetAlignment, METH_O, NULL},
 
26633
         { (char *)"TextAttrEx_GetTabs", (PyCFunction)_wrap_TextAttrEx_GetTabs, METH_O, NULL},
 
26634
         { (char *)"TextAttrEx_GetLeftIndent", (PyCFunction)_wrap_TextAttrEx_GetLeftIndent, METH_O, NULL},
 
26635
         { (char *)"TextAttrEx_GetLeftSubIndent", (PyCFunction)_wrap_TextAttrEx_GetLeftSubIndent, METH_O, NULL},
 
26636
         { (char *)"TextAttrEx_GetRightIndent", (PyCFunction)_wrap_TextAttrEx_GetRightIndent, METH_O, NULL},
 
26637
         { (char *)"TextAttrEx_GetFlags", (PyCFunction)_wrap_TextAttrEx_GetFlags, METH_O, NULL},
 
26638
         { (char *)"TextAttrEx_SetCharacterStyleName", (PyCFunction) _wrap_TextAttrEx_SetCharacterStyleName, METH_VARARGS | METH_KEYWORDS, NULL},
 
26639
         { (char *)"TextAttrEx_SetParagraphStyleName", (PyCFunction) _wrap_TextAttrEx_SetParagraphStyleName, METH_VARARGS | METH_KEYWORDS, NULL},
 
26640
         { (char *)"TextAttrEx_SetListStyleName", (PyCFunction) _wrap_TextAttrEx_SetListStyleName, METH_VARARGS | METH_KEYWORDS, NULL},
 
26641
         { (char *)"TextAttrEx_SetParagraphSpacingAfter", (PyCFunction) _wrap_TextAttrEx_SetParagraphSpacingAfter, METH_VARARGS | METH_KEYWORDS, NULL},
 
26642
         { (char *)"TextAttrEx_SetParagraphSpacingBefore", (PyCFunction) _wrap_TextAttrEx_SetParagraphSpacingBefore, METH_VARARGS | METH_KEYWORDS, NULL},
 
26643
         { (char *)"TextAttrEx_SetLineSpacing", (PyCFunction) _wrap_TextAttrEx_SetLineSpacing, METH_VARARGS | METH_KEYWORDS, NULL},
 
26644
         { (char *)"TextAttrEx_SetBulletStyle", (PyCFunction) _wrap_TextAttrEx_SetBulletStyle, METH_VARARGS | METH_KEYWORDS, NULL},
 
26645
         { (char *)"TextAttrEx_SetBulletNumber", (PyCFunction) _wrap_TextAttrEx_SetBulletNumber, METH_VARARGS | METH_KEYWORDS, NULL},
 
26646
         { (char *)"TextAttrEx_SetBulletText", (PyCFunction) _wrap_TextAttrEx_SetBulletText, METH_VARARGS | METH_KEYWORDS, NULL},
 
26647
         { (char *)"TextAttrEx_SetBulletName", (PyCFunction) _wrap_TextAttrEx_SetBulletName, METH_VARARGS | METH_KEYWORDS, NULL},
 
26648
         { (char *)"TextAttrEx_SetBulletFont", (PyCFunction) _wrap_TextAttrEx_SetBulletFont, METH_VARARGS | METH_KEYWORDS, NULL},
 
26649
         { (char *)"TextAttrEx_SetURL", (PyCFunction) _wrap_TextAttrEx_SetURL, METH_VARARGS | METH_KEYWORDS, NULL},
 
26650
         { (char *)"TextAttrEx_SetPageBreak", (PyCFunction) _wrap_TextAttrEx_SetPageBreak, METH_VARARGS | METH_KEYWORDS, NULL},
 
26651
         { (char *)"TextAttrEx_SetTextEffects", (PyCFunction) _wrap_TextAttrEx_SetTextEffects, METH_VARARGS | METH_KEYWORDS, NULL},
 
26652
         { (char *)"TextAttrEx_SetTextEffectFlags", (PyCFunction) _wrap_TextAttrEx_SetTextEffectFlags, METH_VARARGS | METH_KEYWORDS, NULL},
 
26653
         { (char *)"TextAttrEx_SetOutlineLevel", (PyCFunction) _wrap_TextAttrEx_SetOutlineLevel, METH_VARARGS | METH_KEYWORDS, NULL},
 
26654
         { (char *)"TextAttrEx_GetCharacterStyleName", (PyCFunction)_wrap_TextAttrEx_GetCharacterStyleName, METH_O, NULL},
 
26655
         { (char *)"TextAttrEx_GetParagraphStyleName", (PyCFunction)_wrap_TextAttrEx_GetParagraphStyleName, METH_O, NULL},
 
26656
         { (char *)"TextAttrEx_GetListStyleName", (PyCFunction)_wrap_TextAttrEx_GetListStyleName, METH_O, NULL},
 
26657
         { (char *)"TextAttrEx_GetParagraphSpacingAfter", (PyCFunction)_wrap_TextAttrEx_GetParagraphSpacingAfter, METH_O, NULL},
 
26658
         { (char *)"TextAttrEx_GetParagraphSpacingBefore", (PyCFunction)_wrap_TextAttrEx_GetParagraphSpacingBefore, METH_O, NULL},
 
26659
         { (char *)"TextAttrEx_GetLineSpacing", (PyCFunction)_wrap_TextAttrEx_GetLineSpacing, METH_O, NULL},
 
26660
         { (char *)"TextAttrEx_GetBulletStyle", (PyCFunction)_wrap_TextAttrEx_GetBulletStyle, METH_O, NULL},
 
26661
         { (char *)"TextAttrEx_GetBulletNumber", (PyCFunction)_wrap_TextAttrEx_GetBulletNumber, METH_O, NULL},
 
26662
         { (char *)"TextAttrEx_GetBulletText", (PyCFunction)_wrap_TextAttrEx_GetBulletText, METH_O, NULL},
 
26663
         { (char *)"TextAttrEx_GetBulletName", (PyCFunction)_wrap_TextAttrEx_GetBulletName, METH_O, NULL},
 
26664
         { (char *)"TextAttrEx_GetBulletFont", (PyCFunction)_wrap_TextAttrEx_GetBulletFont, METH_O, NULL},
 
26665
         { (char *)"TextAttrEx_GetURL", (PyCFunction)_wrap_TextAttrEx_GetURL, METH_O, NULL},
 
26666
         { (char *)"TextAttrEx_GetTextEffects", (PyCFunction)_wrap_TextAttrEx_GetTextEffects, METH_O, NULL},
 
26667
         { (char *)"TextAttrEx_GetTextEffectFlags", (PyCFunction)_wrap_TextAttrEx_GetTextEffectFlags, METH_O, NULL},
 
26668
         { (char *)"TextAttrEx_GetOutlineLevel", (PyCFunction)_wrap_TextAttrEx_GetOutlineLevel, METH_O, NULL},
 
26669
         { (char *)"TextAttrEx_HasFontWeight", (PyCFunction)_wrap_TextAttrEx_HasFontWeight, METH_O, NULL},
 
26670
         { (char *)"TextAttrEx_HasFontSize", (PyCFunction)_wrap_TextAttrEx_HasFontSize, METH_O, NULL},
 
26671
         { (char *)"TextAttrEx_HasFontItalic", (PyCFunction)_wrap_TextAttrEx_HasFontItalic, METH_O, NULL},
 
26672
         { (char *)"TextAttrEx_HasFontUnderlined", (PyCFunction)_wrap_TextAttrEx_HasFontUnderlined, METH_O, NULL},
 
26673
         { (char *)"TextAttrEx_HasFontFaceName", (PyCFunction)_wrap_TextAttrEx_HasFontFaceName, METH_O, NULL},
 
26674
         { (char *)"TextAttrEx_HasParagraphSpacingAfter", (PyCFunction)_wrap_TextAttrEx_HasParagraphSpacingAfter, METH_O, NULL},
 
26675
         { (char *)"TextAttrEx_HasParagraphSpacingBefore", (PyCFunction)_wrap_TextAttrEx_HasParagraphSpacingBefore, METH_O, NULL},
 
26676
         { (char *)"TextAttrEx_HasLineSpacing", (PyCFunction)_wrap_TextAttrEx_HasLineSpacing, METH_O, NULL},
 
26677
         { (char *)"TextAttrEx_HasCharacterStyleName", (PyCFunction)_wrap_TextAttrEx_HasCharacterStyleName, METH_O, NULL},
 
26678
         { (char *)"TextAttrEx_HasParagraphStyleName", (PyCFunction)_wrap_TextAttrEx_HasParagraphStyleName, METH_O, NULL},
 
26679
         { (char *)"TextAttrEx_HasListStyleName", (PyCFunction)_wrap_TextAttrEx_HasListStyleName, METH_O, NULL},
 
26680
         { (char *)"TextAttrEx_HasBulletStyle", (PyCFunction)_wrap_TextAttrEx_HasBulletStyle, METH_O, NULL},
 
26681
         { (char *)"TextAttrEx_HasBulletNumber", (PyCFunction)_wrap_TextAttrEx_HasBulletNumber, METH_O, NULL},
 
26682
         { (char *)"TextAttrEx_HasBulletText", (PyCFunction)_wrap_TextAttrEx_HasBulletText, METH_O, NULL},
 
26683
         { (char *)"TextAttrEx_HasBulletName", (PyCFunction)_wrap_TextAttrEx_HasBulletName, METH_O, NULL},
 
26684
         { (char *)"TextAttrEx_HasURL", (PyCFunction)_wrap_TextAttrEx_HasURL, METH_O, NULL},
 
26685
         { (char *)"TextAttrEx_HasPageBreak", (PyCFunction)_wrap_TextAttrEx_HasPageBreak, METH_O, NULL},
 
26686
         { (char *)"TextAttrEx_HasTextEffects", (PyCFunction)_wrap_TextAttrEx_HasTextEffects, METH_O, NULL},
 
26687
         { (char *)"TextAttrEx_HasTextEffect", (PyCFunction) _wrap_TextAttrEx_HasTextEffect, METH_VARARGS | METH_KEYWORDS, NULL},
 
26688
         { (char *)"TextAttrEx_HasOutlineLevel", (PyCFunction)_wrap_TextAttrEx_HasOutlineLevel, METH_O, NULL},
 
26689
         { (char *)"TextAttrEx_IsCharacterStyle", (PyCFunction)_wrap_TextAttrEx_IsCharacterStyle, METH_O, NULL},
 
26690
         { (char *)"TextAttrEx_IsParagraphStyle", (PyCFunction)_wrap_TextAttrEx_IsParagraphStyle, METH_O, NULL},
 
26691
         { (char *)"TextAttrEx_IsDefault", (PyCFunction)_wrap_TextAttrEx_IsDefault, METH_O, NULL},
 
26692
         { (char *)"TextAttrEx_CombineEx", (PyCFunction) _wrap_TextAttrEx_CombineEx, METH_VARARGS | METH_KEYWORDS, NULL},
 
26693
         { (char *)"TextAttrEx_swigregister", TextAttrEx_swigregister, METH_VARARGS, NULL},
 
26694
         { (char *)"TextAttrEx_swiginit", TextAttrEx_swiginit, METH_VARARGS, NULL},
 
26695
         { (char *)"delete_RichTextObject", (PyCFunction)_wrap_delete_RichTextObject, METH_O, NULL},
 
26696
         { (char *)"RichTextObject_Draw", (PyCFunction) _wrap_RichTextObject_Draw, METH_VARARGS | METH_KEYWORDS, NULL},
 
26697
         { (char *)"RichTextObject_Layout", (PyCFunction) _wrap_RichTextObject_Layout, METH_VARARGS | METH_KEYWORDS, NULL},
 
26698
         { (char *)"RichTextObject_HitTest", (PyCFunction) _wrap_RichTextObject_HitTest, METH_VARARGS | METH_KEYWORDS, NULL},
 
26699
         { (char *)"RichTextObject_FindPosition", (PyCFunction) _wrap_RichTextObject_FindPosition, METH_VARARGS | METH_KEYWORDS, NULL},
 
26700
         { (char *)"RichTextObject_GetBestSize", (PyCFunction)_wrap_RichTextObject_GetBestSize, METH_O, NULL},
 
26701
         { (char *)"RichTextObject_GetRangeSize", (PyCFunction) _wrap_RichTextObject_GetRangeSize, METH_VARARGS | METH_KEYWORDS, NULL},
 
26702
         { (char *)"RichTextObject_DoSplit", (PyCFunction) _wrap_RichTextObject_DoSplit, METH_VARARGS | METH_KEYWORDS, NULL},
 
26703
         { (char *)"RichTextObject_CalculateRange", (PyCFunction) _wrap_RichTextObject_CalculateRange, METH_VARARGS | METH_KEYWORDS, NULL},
 
26704
         { (char *)"RichTextObject_DeleteRange", (PyCFunction) _wrap_RichTextObject_DeleteRange, METH_VARARGS | METH_KEYWORDS, NULL},
 
26705
         { (char *)"RichTextObject_IsEmpty", (PyCFunction)_wrap_RichTextObject_IsEmpty, METH_O, NULL},
 
26706
         { (char *)"RichTextObject_GetTextForRange", (PyCFunction) _wrap_RichTextObject_GetTextForRange, METH_VARARGS | METH_KEYWORDS, NULL},
 
26707
         { (char *)"RichTextObject_CanMerge", (PyCFunction) _wrap_RichTextObject_CanMerge, METH_VARARGS | METH_KEYWORDS, NULL},
 
26708
         { (char *)"RichTextObject_Merge", (PyCFunction) _wrap_RichTextObject_Merge, METH_VARARGS | METH_KEYWORDS, NULL},
 
26709
         { (char *)"RichTextObject_Dump", (PyCFunction)_wrap_RichTextObject_Dump, METH_O, NULL},
 
26710
         { (char *)"RichTextObject_GetCachedSize", (PyCFunction)_wrap_RichTextObject_GetCachedSize, METH_O, NULL},
 
26711
         { (char *)"RichTextObject_SetCachedSize", (PyCFunction) _wrap_RichTextObject_SetCachedSize, METH_VARARGS | METH_KEYWORDS, NULL},
 
26712
         { (char *)"RichTextObject_GetPosition", (PyCFunction)_wrap_RichTextObject_GetPosition, METH_O, NULL},
 
26713
         { (char *)"RichTextObject_SetPosition", (PyCFunction) _wrap_RichTextObject_SetPosition, METH_VARARGS | METH_KEYWORDS, NULL},
 
26714
         { (char *)"RichTextObject_GetRect", (PyCFunction)_wrap_RichTextObject_GetRect, METH_O, NULL},
 
26715
         { (char *)"RichTextObject_SetRange", (PyCFunction) _wrap_RichTextObject_SetRange, METH_VARARGS | METH_KEYWORDS, NULL},
 
26716
         { (char *)"RichTextObject_GetRange", (PyCFunction)_wrap_RichTextObject_GetRange, METH_O, NULL},
 
26717
         { (char *)"RichTextObject_GetDirty", (PyCFunction)_wrap_RichTextObject_GetDirty, METH_O, NULL},
 
26718
         { (char *)"RichTextObject_SetDirty", (PyCFunction) _wrap_RichTextObject_SetDirty, METH_VARARGS | METH_KEYWORDS, NULL},
 
26719
         { (char *)"RichTextObject_IsComposite", (PyCFunction)_wrap_RichTextObject_IsComposite, METH_O, NULL},
 
26720
         { (char *)"RichTextObject_GetParent", (PyCFunction)_wrap_RichTextObject_GetParent, METH_O, NULL},
 
26721
         { (char *)"RichTextObject_SetParent", (PyCFunction) _wrap_RichTextObject_SetParent, METH_VARARGS | METH_KEYWORDS, NULL},
 
26722
         { (char *)"RichTextObject_SetSameMargins", (PyCFunction) _wrap_RichTextObject_SetSameMargins, METH_VARARGS | METH_KEYWORDS, NULL},
 
26723
         { (char *)"RichTextObject_SetMargins", (PyCFunction) _wrap_RichTextObject_SetMargins, METH_VARARGS | METH_KEYWORDS, NULL},
 
26724
         { (char *)"RichTextObject_GetLeftMargin", (PyCFunction)_wrap_RichTextObject_GetLeftMargin, METH_O, NULL},
 
26725
         { (char *)"RichTextObject_GetRightMargin", (PyCFunction)_wrap_RichTextObject_GetRightMargin, METH_O, NULL},
 
26726
         { (char *)"RichTextObject_GetTopMargin", (PyCFunction)_wrap_RichTextObject_GetTopMargin, METH_O, NULL},
 
26727
         { (char *)"RichTextObject_GetBottomMargin", (PyCFunction)_wrap_RichTextObject_GetBottomMargin, METH_O, NULL},
 
26728
         { (char *)"RichTextObject_SetAttributes", (PyCFunction) _wrap_RichTextObject_SetAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
 
26729
         { (char *)"RichTextObject_GetAttributes", (PyCFunction)_wrap_RichTextObject_GetAttributes, METH_O, NULL},
 
26730
         { (char *)"RichTextObject_SetDescent", (PyCFunction) _wrap_RichTextObject_SetDescent, METH_VARARGS | METH_KEYWORDS, NULL},
 
26731
         { (char *)"RichTextObject_GetDescent", (PyCFunction)_wrap_RichTextObject_GetDescent, METH_O, NULL},
 
26732
         { (char *)"RichTextObject_GetBuffer", (PyCFunction)_wrap_RichTextObject_GetBuffer, METH_O, NULL},
 
26733
         { (char *)"RichTextObject_Clone", (PyCFunction)_wrap_RichTextObject_Clone, METH_O, NULL},
 
26734
         { (char *)"RichTextObject_Copy", (PyCFunction) _wrap_RichTextObject_Copy, METH_VARARGS | METH_KEYWORDS, NULL},
 
26735
         { (char *)"RichTextObject_Reference", (PyCFunction)_wrap_RichTextObject_Reference, METH_O, NULL},
 
26736
         { (char *)"RichTextObject_Dereference", (PyCFunction)_wrap_RichTextObject_Dereference, METH_O, NULL},
 
26737
         { (char *)"RichTextObject_ConvertTenthsMMToPixelsDC", (PyCFunction) _wrap_RichTextObject_ConvertTenthsMMToPixelsDC, METH_VARARGS | METH_KEYWORDS, NULL},
 
26738
         { (char *)"RichTextObject_ConvertTenthsMMToPixels", (PyCFunction) _wrap_RichTextObject_ConvertTenthsMMToPixels, METH_VARARGS | METH_KEYWORDS, NULL},
 
26739
         { (char *)"RichTextObject_swigregister", RichTextObject_swigregister, METH_VARARGS, NULL},
 
26740
         { (char *)"delete_RichTextObjectList_iterator", (PyCFunction)_wrap_delete_RichTextObjectList_iterator, METH_O, NULL},
 
26741
         { (char *)"RichTextObjectList_iterator_next", (PyCFunction)_wrap_RichTextObjectList_iterator_next, METH_O, NULL},
 
26742
         { (char *)"RichTextObjectList_iterator_swigregister", RichTextObjectList_iterator_swigregister, METH_VARARGS, NULL},
 
26743
         { (char *)"delete_RichTextObjectList", (PyCFunction)_wrap_delete_RichTextObjectList, METH_O, NULL},
 
26744
         { (char *)"RichTextObjectList___len__", (PyCFunction)_wrap_RichTextObjectList___len__, METH_O, NULL},
 
26745
         { (char *)"RichTextObjectList___getitem__", (PyCFunction) _wrap_RichTextObjectList___getitem__, METH_VARARGS | METH_KEYWORDS, NULL},
 
26746
         { (char *)"RichTextObjectList___contains__", (PyCFunction) _wrap_RichTextObjectList___contains__, METH_VARARGS | METH_KEYWORDS, NULL},
 
26747
         { (char *)"RichTextObjectList___iter__", (PyCFunction)_wrap_RichTextObjectList___iter__, METH_O, NULL},
 
26748
         { (char *)"RichTextObjectList_index", (PyCFunction) _wrap_RichTextObjectList_index, METH_VARARGS | METH_KEYWORDS, NULL},
 
26749
         { (char *)"RichTextObjectList_swigregister", RichTextObjectList_swigregister, METH_VARARGS, NULL},
 
26750
         { (char *)"delete_RichTextCompositeObject", (PyCFunction)_wrap_delete_RichTextCompositeObject, METH_O, NULL},
 
26751
         { (char *)"RichTextCompositeObject_GetChildren", (PyCFunction)_wrap_RichTextCompositeObject_GetChildren, METH_O, NULL},
 
26752
         { (char *)"RichTextCompositeObject_GetChildCount", (PyCFunction)_wrap_RichTextCompositeObject_GetChildCount, METH_O, NULL},
 
26753
         { (char *)"RichTextCompositeObject_GetChild", (PyCFunction) _wrap_RichTextCompositeObject_GetChild, METH_VARARGS | METH_KEYWORDS, NULL},
 
26754
         { (char *)"RichTextCompositeObject_Copy", (PyCFunction) _wrap_RichTextCompositeObject_Copy, METH_VARARGS | METH_KEYWORDS, NULL},
 
26755
         { (char *)"RichTextCompositeObject_AppendChild", (PyCFunction) _wrap_RichTextCompositeObject_AppendChild, METH_VARARGS | METH_KEYWORDS, NULL},
 
26756
         { (char *)"RichTextCompositeObject_InsertChild", (PyCFunction) _wrap_RichTextCompositeObject_InsertChild, METH_VARARGS | METH_KEYWORDS, NULL},
 
26757
         { (char *)"RichTextCompositeObject_RemoveChild", (PyCFunction) _wrap_RichTextCompositeObject_RemoveChild, METH_VARARGS | METH_KEYWORDS, NULL},
 
26758
         { (char *)"RichTextCompositeObject_DeleteChildren", (PyCFunction)_wrap_RichTextCompositeObject_DeleteChildren, METH_O, NULL},
 
26759
         { (char *)"RichTextCompositeObject_Defragment", (PyCFunction)_wrap_RichTextCompositeObject_Defragment, METH_O, NULL},
 
26760
         { (char *)"RichTextCompositeObject_swigregister", RichTextCompositeObject_swigregister, METH_VARARGS, NULL},
 
26761
         { (char *)"new_RichTextBox", (PyCFunction) _wrap_new_RichTextBox, METH_VARARGS | METH_KEYWORDS, NULL},
 
26762
         { (char *)"RichTextBox_Copy", (PyCFunction) _wrap_RichTextBox_Copy, METH_VARARGS | METH_KEYWORDS, NULL},
 
26763
         { (char *)"RichTextBox_swigregister", RichTextBox_swigregister, METH_VARARGS, NULL},
 
26764
         { (char *)"RichTextBox_swiginit", RichTextBox_swiginit, METH_VARARGS, NULL},
 
26765
         { (char *)"new_RichTextParagraphLayoutBox", (PyCFunction) _wrap_new_RichTextParagraphLayoutBox, METH_VARARGS | METH_KEYWORDS, NULL},
 
26766
         { (char *)"RichTextParagraphLayoutBox_SetRichTextCtrl", (PyCFunction) _wrap_RichTextParagraphLayoutBox_SetRichTextCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
 
26767
         { (char *)"RichTextParagraphLayoutBox_GetRichTextCtrl", (PyCFunction)_wrap_RichTextParagraphLayoutBox_GetRichTextCtrl, METH_O, NULL},
 
26768
         { (char *)"RichTextParagraphLayoutBox_SetPartialParagraph", (PyCFunction) _wrap_RichTextParagraphLayoutBox_SetPartialParagraph, METH_VARARGS | METH_KEYWORDS, NULL},
 
26769
         { (char *)"RichTextParagraphLayoutBox_GetPartialParagraph", (PyCFunction)_wrap_RichTextParagraphLayoutBox_GetPartialParagraph, METH_O, NULL},
 
26770
         { (char *)"RichTextParagraphLayoutBox_GetStyleSheet", (PyCFunction)_wrap_RichTextParagraphLayoutBox_GetStyleSheet, METH_O, NULL},
 
26771
         { (char *)"RichTextParagraphLayoutBox_Init", (PyCFunction)_wrap_RichTextParagraphLayoutBox_Init, METH_O, NULL},
 
26772
         { (char *)"RichTextParagraphLayoutBox_Clear", (PyCFunction)_wrap_RichTextParagraphLayoutBox_Clear, METH_O, NULL},
 
26773
         { (char *)"RichTextParagraphLayoutBox_Reset", (PyCFunction)_wrap_RichTextParagraphLayoutBox_Reset, METH_O, NULL},
 
26774
         { (char *)"RichTextParagraphLayoutBox_AddParagraph", (PyCFunction) _wrap_RichTextParagraphLayoutBox_AddParagraph, METH_VARARGS | METH_KEYWORDS, NULL},
 
26775
         { (char *)"RichTextParagraphLayoutBox_AddImage", (PyCFunction) _wrap_RichTextParagraphLayoutBox_AddImage, METH_VARARGS | METH_KEYWORDS, NULL},
 
26776
         { (char *)"RichTextParagraphLayoutBox_AddParagraphs", (PyCFunction) _wrap_RichTextParagraphLayoutBox_AddParagraphs, METH_VARARGS | METH_KEYWORDS, NULL},
 
26777
         { (char *)"RichTextParagraphLayoutBox_GetLineAtPosition", (PyCFunction) _wrap_RichTextParagraphLayoutBox_GetLineAtPosition, METH_VARARGS | METH_KEYWORDS, NULL},
 
26778
         { (char *)"RichTextParagraphLayoutBox_GetLineAtYPosition", (PyCFunction) _wrap_RichTextParagraphLayoutBox_GetLineAtYPosition, METH_VARARGS | METH_KEYWORDS, NULL},
 
26779
         { (char *)"RichTextParagraphLayoutBox_GetParagraphAtPosition", (PyCFunction) _wrap_RichTextParagraphLayoutBox_GetParagraphAtPosition, METH_VARARGS | METH_KEYWORDS, NULL},
 
26780
         { (char *)"RichTextParagraphLayoutBox_GetLineSizeAtPosition", (PyCFunction) _wrap_RichTextParagraphLayoutBox_GetLineSizeAtPosition, METH_VARARGS | METH_KEYWORDS, NULL},
 
26781
         { (char *)"RichTextParagraphLayoutBox_GetVisibleLineNumber", (PyCFunction) _wrap_RichTextParagraphLayoutBox_GetVisibleLineNumber, METH_VARARGS | METH_KEYWORDS, NULL},
 
26782
         { (char *)"RichTextParagraphLayoutBox_GetLineForVisibleLineNumber", (PyCFunction) _wrap_RichTextParagraphLayoutBox_GetLineForVisibleLineNumber, METH_VARARGS | METH_KEYWORDS, NULL},
 
26783
         { (char *)"RichTextParagraphLayoutBox_GetLeafObjectAtPosition", (PyCFunction) _wrap_RichTextParagraphLayoutBox_GetLeafObjectAtPosition, METH_VARARGS | METH_KEYWORDS, NULL},
 
26784
         { (char *)"RichTextParagraphLayoutBox_GetParagraphAtLine", (PyCFunction) _wrap_RichTextParagraphLayoutBox_GetParagraphAtLine, METH_VARARGS | METH_KEYWORDS, NULL},
 
26785
         { (char *)"RichTextParagraphLayoutBox_GetParagraphForLine", (PyCFunction) _wrap_RichTextParagraphLayoutBox_GetParagraphForLine, METH_VARARGS | METH_KEYWORDS, NULL},
 
26786
         { (char *)"RichTextParagraphLayoutBox_GetParagraphLength", (PyCFunction) _wrap_RichTextParagraphLayoutBox_GetParagraphLength, METH_VARARGS | METH_KEYWORDS, NULL},
 
26787
         { (char *)"RichTextParagraphLayoutBox_GetParagraphCount", (PyCFunction)_wrap_RichTextParagraphLayoutBox_GetParagraphCount, METH_O, NULL},
 
26788
         { (char *)"RichTextParagraphLayoutBox_GetLineCount", (PyCFunction)_wrap_RichTextParagraphLayoutBox_GetLineCount, METH_O, NULL},
 
26789
         { (char *)"RichTextParagraphLayoutBox_GetParagraphText", (PyCFunction) _wrap_RichTextParagraphLayoutBox_GetParagraphText, METH_VARARGS | METH_KEYWORDS, NULL},
 
26790
         { (char *)"RichTextParagraphLayoutBox_XYToPosition", (PyCFunction) _wrap_RichTextParagraphLayoutBox_XYToPosition, METH_VARARGS | METH_KEYWORDS, NULL},
 
26791
         { (char *)"RichTextParagraphLayoutBox_PositionToXY", (PyCFunction) _wrap_RichTextParagraphLayoutBox_PositionToXY, METH_VARARGS | METH_KEYWORDS, NULL},
 
26792
         { (char *)"RichTextParagraphLayoutBox_SetStyle", (PyCFunction) _wrap_RichTextParagraphLayoutBox_SetStyle, METH_VARARGS | METH_KEYWORDS, NULL},
 
26793
         { (char *)"RichTextParagraphLayoutBox_GetStyle", (PyCFunction) _wrap_RichTextParagraphLayoutBox_GetStyle, METH_VARARGS | METH_KEYWORDS, NULL},
 
26794
         { (char *)"RichTextParagraphLayoutBox_GetUncombinedStyle", (PyCFunction) _wrap_RichTextParagraphLayoutBox_GetUncombinedStyle, METH_VARARGS | METH_KEYWORDS, NULL},
 
26795
         { (char *)"RichTextParagraphLayoutBox_GetStyleForRange", (PyCFunction) _wrap_RichTextParagraphLayoutBox_GetStyleForRange, METH_VARARGS | METH_KEYWORDS, NULL},
 
26796
         { (char *)"RichTextParagraphLayoutBox_CollectStyle", (PyCFunction) _wrap_RichTextParagraphLayoutBox_CollectStyle, METH_VARARGS | METH_KEYWORDS, NULL},
 
26797
         { (char *)"RichTextParagraphLayoutBox_SetListStyle", (PyCFunction) _wrap_RichTextParagraphLayoutBox_SetListStyle, METH_VARARGS | METH_KEYWORDS, NULL},
 
26798
         { (char *)"RichTextParagraphLayoutBox_ClearListStyle", (PyCFunction) _wrap_RichTextParagraphLayoutBox_ClearListStyle, METH_VARARGS | METH_KEYWORDS, NULL},
 
26799
         { (char *)"RichTextParagraphLayoutBox_NumberList", (PyCFunction) _wrap_RichTextParagraphLayoutBox_NumberList, METH_VARARGS | METH_KEYWORDS, NULL},
 
26800
         { (char *)"RichTextParagraphLayoutBox_PromoteList", (PyCFunction) _wrap_RichTextParagraphLayoutBox_PromoteList, METH_VARARGS | METH_KEYWORDS, NULL},
 
26801
         { (char *)"RichTextParagraphLayoutBox_DoNumberList", (PyCFunction) _wrap_RichTextParagraphLayoutBox_DoNumberList, METH_VARARGS | METH_KEYWORDS, NULL},
 
26802
         { (char *)"RichTextParagraphLayoutBox_FindNextParagraphNumber", (PyCFunction) _wrap_RichTextParagraphLayoutBox_FindNextParagraphNumber, METH_VARARGS | METH_KEYWORDS, NULL},
 
26803
         { (char *)"RichTextParagraphLayoutBox_HasCharacterAttributes", (PyCFunction) _wrap_RichTextParagraphLayoutBox_HasCharacterAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
 
26804
         { (char *)"RichTextParagraphLayoutBox_HasParagraphAttributes", (PyCFunction) _wrap_RichTextParagraphLayoutBox_HasParagraphAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
 
26805
         { (char *)"RichTextParagraphLayoutBox_InsertFragment", (PyCFunction) _wrap_RichTextParagraphLayoutBox_InsertFragment, METH_VARARGS | METH_KEYWORDS, NULL},
 
26806
         { (char *)"RichTextParagraphLayoutBox_CopyFragment", (PyCFunction) _wrap_RichTextParagraphLayoutBox_CopyFragment, METH_VARARGS | METH_KEYWORDS, NULL},
 
26807
         { (char *)"RichTextParagraphLayoutBox_ApplyStyleSheet", (PyCFunction) _wrap_RichTextParagraphLayoutBox_ApplyStyleSheet, METH_VARARGS | METH_KEYWORDS, NULL},
 
26808
         { (char *)"RichTextParagraphLayoutBox_Copy", (PyCFunction) _wrap_RichTextParagraphLayoutBox_Copy, METH_VARARGS | METH_KEYWORDS, NULL},
 
26809
         { (char *)"RichTextParagraphLayoutBox_UpdateRanges", (PyCFunction)_wrap_RichTextParagraphLayoutBox_UpdateRanges, METH_O, NULL},
 
26810
         { (char *)"RichTextParagraphLayoutBox_GetText", (PyCFunction)_wrap_RichTextParagraphLayoutBox_GetText, METH_O, NULL},
 
26811
         { (char *)"RichTextParagraphLayoutBox_SetDefaultStyle", (PyCFunction) _wrap_RichTextParagraphLayoutBox_SetDefaultStyle, METH_VARARGS | METH_KEYWORDS, NULL},
 
26812
         { (char *)"RichTextParagraphLayoutBox_GetDefaultStyle", (PyCFunction)_wrap_RichTextParagraphLayoutBox_GetDefaultStyle, METH_O, NULL},
 
26813
         { (char *)"RichTextParagraphLayoutBox_SetBasicStyle", (PyCFunction) _wrap_RichTextParagraphLayoutBox_SetBasicStyle, METH_VARARGS | METH_KEYWORDS, NULL},
 
26814
         { (char *)"RichTextParagraphLayoutBox_GetBasicStyle", (PyCFunction)_wrap_RichTextParagraphLayoutBox_GetBasicStyle, METH_O, NULL},
 
26815
         { (char *)"RichTextParagraphLayoutBox_Invalidate", (PyCFunction) _wrap_RichTextParagraphLayoutBox_Invalidate, METH_VARARGS | METH_KEYWORDS, NULL},
 
26816
         { (char *)"RichTextParagraphLayoutBox_GetInvalidRange", (PyCFunction) _wrap_RichTextParagraphLayoutBox_GetInvalidRange, METH_VARARGS | METH_KEYWORDS, NULL},
 
26817
         { (char *)"RichTextParagraphLayoutBox_swigregister", RichTextParagraphLayoutBox_swigregister, METH_VARARGS, NULL},
 
26818
         { (char *)"RichTextParagraphLayoutBox_swiginit", RichTextParagraphLayoutBox_swiginit, METH_VARARGS, NULL},
 
26819
         { (char *)"new_RichTextLine", (PyCFunction) _wrap_new_RichTextLine, METH_VARARGS | METH_KEYWORDS, NULL},
 
26820
         { (char *)"delete_RichTextLine", (PyCFunction)_wrap_delete_RichTextLine, METH_O, NULL},
 
26821
         { (char *)"RichTextLine_SetRange", (PyCFunction) _wrap_RichTextLine_SetRange, METH_VARARGS | METH_KEYWORDS, NULL},
 
26822
         { (char *)"RichTextLine_GetParent", (PyCFunction)_wrap_RichTextLine_GetParent, METH_O, NULL},
 
26823
         { (char *)"RichTextLine_GetRange", (PyCFunction)_wrap_RichTextLine_GetRange, METH_O, NULL},
 
26824
         { (char *)"RichTextLine_GetAbsoluteRange", (PyCFunction)_wrap_RichTextLine_GetAbsoluteRange, METH_O, NULL},
 
26825
         { (char *)"RichTextLine_GetSize", (PyCFunction)_wrap_RichTextLine_GetSize, METH_O, NULL},
 
26826
         { (char *)"RichTextLine_SetSize", (PyCFunction) _wrap_RichTextLine_SetSize, METH_VARARGS | METH_KEYWORDS, NULL},
 
26827
         { (char *)"RichTextLine_GetPosition", (PyCFunction)_wrap_RichTextLine_GetPosition, METH_O, NULL},
 
26828
         { (char *)"RichTextLine_SetPosition", (PyCFunction) _wrap_RichTextLine_SetPosition, METH_VARARGS | METH_KEYWORDS, NULL},
 
26829
         { (char *)"RichTextLine_GetAbsolutePosition", (PyCFunction)_wrap_RichTextLine_GetAbsolutePosition, METH_O, NULL},
 
26830
         { (char *)"RichTextLine_GetRect", (PyCFunction)_wrap_RichTextLine_GetRect, METH_O, NULL},
 
26831
         { (char *)"RichTextLine_SetDescent", (PyCFunction) _wrap_RichTextLine_SetDescent, METH_VARARGS | METH_KEYWORDS, NULL},
 
26832
         { (char *)"RichTextLine_GetDescent", (PyCFunction)_wrap_RichTextLine_GetDescent, METH_O, NULL},
 
26833
         { (char *)"RichTextLine_Init", (PyCFunction) _wrap_RichTextLine_Init, METH_VARARGS | METH_KEYWORDS, NULL},
 
26834
         { (char *)"RichTextLine_Copy", (PyCFunction) _wrap_RichTextLine_Copy, METH_VARARGS | METH_KEYWORDS, NULL},
 
26835
         { (char *)"RichTextLine_Clone", (PyCFunction)_wrap_RichTextLine_Clone, METH_O, NULL},
 
26836
         { (char *)"RichTextLine_swigregister", RichTextLine_swigregister, METH_VARARGS, NULL},
 
26837
         { (char *)"RichTextLine_swiginit", RichTextLine_swiginit, METH_VARARGS, NULL},
 
26838
         { (char *)"new_RichTextParagraph", (PyCFunction) _wrap_new_RichTextParagraph, METH_VARARGS | METH_KEYWORDS, NULL},
 
26839
         { (char *)"delete_RichTextParagraph", (PyCFunction)_wrap_delete_RichTextParagraph, METH_O, NULL},
 
26840
         { (char *)"RichTextParagraph_GetLines", (PyCFunction)_wrap_RichTextParagraph_GetLines, METH_O, NULL},
 
26841
         { (char *)"RichTextParagraph_Copy", (PyCFunction) _wrap_RichTextParagraph_Copy, METH_VARARGS | METH_KEYWORDS, NULL},
 
26842
         { (char *)"RichTextParagraph_ClearLines", (PyCFunction)_wrap_RichTextParagraph_ClearLines, METH_O, NULL},
 
26843
         { (char *)"RichTextParagraph_ApplyParagraphStyle", (PyCFunction) _wrap_RichTextParagraph_ApplyParagraphStyle, METH_VARARGS | METH_KEYWORDS, NULL},
 
26844
         { (char *)"RichTextParagraph_InsertText", (PyCFunction) _wrap_RichTextParagraph_InsertText, METH_VARARGS | METH_KEYWORDS, NULL},
 
26845
         { (char *)"RichTextParagraph_SplitAt", (PyCFunction) _wrap_RichTextParagraph_SplitAt, METH_VARARGS | METH_KEYWORDS, NULL},
 
26846
         { (char *)"RichTextParagraph_MoveToList", (PyCFunction) _wrap_RichTextParagraph_MoveToList, METH_VARARGS | METH_KEYWORDS, NULL},
 
26847
         { (char *)"RichTextParagraph_MoveFromList", (PyCFunction) _wrap_RichTextParagraph_MoveFromList, METH_VARARGS | METH_KEYWORDS, NULL},
 
26848
         { (char *)"RichTextParagraph_GetContiguousPlainText", (PyCFunction) _wrap_RichTextParagraph_GetContiguousPlainText, METH_VARARGS | METH_KEYWORDS, NULL},
 
26849
         { (char *)"RichTextParagraph_FindWrapPosition", (PyCFunction) _wrap_RichTextParagraph_FindWrapPosition, METH_VARARGS | METH_KEYWORDS, NULL},
 
26850
         { (char *)"RichTextParagraph_FindObjectAtPosition", (PyCFunction) _wrap_RichTextParagraph_FindObjectAtPosition, METH_VARARGS | METH_KEYWORDS, NULL},
 
26851
         { (char *)"RichTextParagraph_GetBulletText", (PyCFunction)_wrap_RichTextParagraph_GetBulletText, METH_O, NULL},
 
26852
         { (char *)"RichTextParagraph_AllocateLine", (PyCFunction) _wrap_RichTextParagraph_AllocateLine, METH_VARARGS | METH_KEYWORDS, NULL},
 
26853
         { (char *)"RichTextParagraph_ClearUnusedLines", (PyCFunction) _wrap_RichTextParagraph_ClearUnusedLines, METH_VARARGS | METH_KEYWORDS, NULL},
 
26854
         { (char *)"RichTextParagraph_GetCombinedAttributes", (PyCFunction) _wrap_RichTextParagraph_GetCombinedAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
 
26855
         { (char *)"RichTextParagraph_GetFirstLineBreakPosition", (PyCFunction) _wrap_RichTextParagraph_GetFirstLineBreakPosition, METH_VARARGS | METH_KEYWORDS, NULL},
 
26856
         { (char *)"RichTextParagraph_InitDefaultTabs", (PyCFunction)_wrap_RichTextParagraph_InitDefaultTabs, METH_NOARGS, NULL},
 
26857
         { (char *)"RichTextParagraph_ClearDefaultTabs", (PyCFunction)_wrap_RichTextParagraph_ClearDefaultTabs, METH_NOARGS, NULL},
 
26858
         { (char *)"RichTextParagraph_GetDefaultTabs", (PyCFunction)_wrap_RichTextParagraph_GetDefaultTabs, METH_NOARGS, NULL},
 
26859
         { (char *)"RichTextParagraph_swigregister", RichTextParagraph_swigregister, METH_VARARGS, NULL},
 
26860
         { (char *)"RichTextParagraph_swiginit", RichTextParagraph_swiginit, METH_VARARGS, NULL},
 
26861
         { (char *)"new_RichTextPlainText", (PyCFunction) _wrap_new_RichTextPlainText, METH_VARARGS | METH_KEYWORDS, NULL},
 
26862
         { (char *)"RichTextPlainText_GetFirstLineBreakPosition", (PyCFunction) _wrap_RichTextPlainText_GetFirstLineBreakPosition, METH_VARARGS | METH_KEYWORDS, NULL},
 
26863
         { (char *)"RichTextPlainText_GetText", (PyCFunction)_wrap_RichTextPlainText_GetText, METH_O, NULL},
 
26864
         { (char *)"RichTextPlainText_SetText", (PyCFunction) _wrap_RichTextPlainText_SetText, METH_VARARGS | METH_KEYWORDS, NULL},
 
26865
         { (char *)"RichTextPlainText_Copy", (PyCFunction) _wrap_RichTextPlainText_Copy, METH_VARARGS | METH_KEYWORDS, NULL},
 
26866
         { (char *)"RichTextPlainText_swigregister", RichTextPlainText_swigregister, METH_VARARGS, NULL},
 
26867
         { (char *)"RichTextPlainText_swiginit", RichTextPlainText_swiginit, METH_VARARGS, NULL},
 
26868
         { (char *)"new_RichTextImage", (PyCFunction) _wrap_new_RichTextImage, METH_VARARGS | METH_KEYWORDS, NULL},
 
26869
         { (char *)"RichTextImage_GetImage", (PyCFunction)_wrap_RichTextImage_GetImage, METH_O, NULL},
 
26870
         { (char *)"RichTextImage_SetImage", (PyCFunction) _wrap_RichTextImage_SetImage, METH_VARARGS | METH_KEYWORDS, NULL},
 
26871
         { (char *)"RichTextImage_GetImageBlock", (PyCFunction)_wrap_RichTextImage_GetImageBlock, METH_O, NULL},
 
26872
         { (char *)"RichTextImage_Copy", (PyCFunction) _wrap_RichTextImage_Copy, METH_VARARGS | METH_KEYWORDS, NULL},
 
26873
         { (char *)"RichTextImage_LoadFromBlock", (PyCFunction)_wrap_RichTextImage_LoadFromBlock, METH_O, NULL},
 
26874
         { (char *)"RichTextImage_MakeBlock", (PyCFunction)_wrap_RichTextImage_MakeBlock, METH_O, NULL},
 
26875
         { (char *)"RichTextImage_swigregister", RichTextImage_swigregister, METH_VARARGS, NULL},
 
26876
         { (char *)"RichTextImage_swiginit", RichTextImage_swiginit, METH_VARARGS, NULL},
 
26877
         { (char *)"delete_RichTextFileHandlerList_iterator", (PyCFunction)_wrap_delete_RichTextFileHandlerList_iterator, METH_O, NULL},
 
26878
         { (char *)"RichTextFileHandlerList_iterator_next", (PyCFunction)_wrap_RichTextFileHandlerList_iterator_next, METH_O, NULL},
 
26879
         { (char *)"RichTextFileHandlerList_iterator_swigregister", RichTextFileHandlerList_iterator_swigregister, METH_VARARGS, NULL},
 
26880
         { (char *)"delete_RichTextFileHandlerList", (PyCFunction)_wrap_delete_RichTextFileHandlerList, METH_O, NULL},
 
26881
         { (char *)"RichTextFileHandlerList___len__", (PyCFunction)_wrap_RichTextFileHandlerList___len__, METH_O, NULL},
 
26882
         { (char *)"RichTextFileHandlerList___getitem__", (PyCFunction) _wrap_RichTextFileHandlerList___getitem__, METH_VARARGS | METH_KEYWORDS, NULL},
 
26883
         { (char *)"RichTextFileHandlerList___contains__", (PyCFunction) _wrap_RichTextFileHandlerList___contains__, METH_VARARGS | METH_KEYWORDS, NULL},
 
26884
         { (char *)"RichTextFileHandlerList___iter__", (PyCFunction)_wrap_RichTextFileHandlerList___iter__, METH_O, NULL},
 
26885
         { (char *)"RichTextFileHandlerList_swigregister", RichTextFileHandlerList_swigregister, METH_VARARGS, NULL},
 
26886
         { (char *)"new_RichTextBuffer", (PyCFunction)_wrap_new_RichTextBuffer, METH_NOARGS, NULL},
 
26887
         { (char *)"delete_RichTextBuffer", (PyCFunction)_wrap_delete_RichTextBuffer, METH_O, NULL},
 
26888
         { (char *)"RichTextBuffer_GetCommandProcessor", (PyCFunction)_wrap_RichTextBuffer_GetCommandProcessor, METH_O, NULL},
 
26889
         { (char *)"RichTextBuffer_SetStyleSheet", (PyCFunction) _wrap_RichTextBuffer_SetStyleSheet, METH_VARARGS | METH_KEYWORDS, NULL},
 
26890
         { (char *)"RichTextBuffer_SetStyleSheetAndNotify", (PyCFunction) _wrap_RichTextBuffer_SetStyleSheetAndNotify, METH_VARARGS | METH_KEYWORDS, NULL},
 
26891
         { (char *)"RichTextBuffer_PushStyleSheet", (PyCFunction) _wrap_RichTextBuffer_PushStyleSheet, METH_VARARGS | METH_KEYWORDS, NULL},
 
26892
         { (char *)"RichTextBuffer_PopStyleSheet", (PyCFunction)_wrap_RichTextBuffer_PopStyleSheet, METH_O, NULL},
 
26893
         { (char *)"RichTextBuffer_Init", (PyCFunction)_wrap_RichTextBuffer_Init, METH_O, NULL},
 
26894
         { (char *)"RichTextBuffer_ResetAndClearCommands", (PyCFunction)_wrap_RichTextBuffer_ResetAndClearCommands, METH_O, NULL},
 
26895
         { (char *)"RichTextBuffer_LoadFile", (PyCFunction) _wrap_RichTextBuffer_LoadFile, METH_VARARGS | METH_KEYWORDS, NULL},
 
26896
         { (char *)"RichTextBuffer_SaveFile", (PyCFunction) _wrap_RichTextBuffer_SaveFile, METH_VARARGS | METH_KEYWORDS, NULL},
 
26897
         { (char *)"RichTextBuffer_LoadStream", (PyCFunction) _wrap_RichTextBuffer_LoadStream, METH_VARARGS | METH_KEYWORDS, NULL},
 
26898
         { (char *)"RichTextBuffer_SaveStream", (PyCFunction) _wrap_RichTextBuffer_SaveStream, METH_VARARGS | METH_KEYWORDS, NULL},
 
26899
         { (char *)"RichTextBuffer_SetHandlerFlags", (PyCFunction) _wrap_RichTextBuffer_SetHandlerFlags, METH_VARARGS | METH_KEYWORDS, NULL},
 
26900
         { (char *)"RichTextBuffer_GetHandlerFlags", (PyCFunction)_wrap_RichTextBuffer_GetHandlerFlags, METH_O, NULL},
 
26901
         { (char *)"RichTextBuffer_BeginBatchUndo", (PyCFunction) _wrap_RichTextBuffer_BeginBatchUndo, METH_VARARGS | METH_KEYWORDS, NULL},
 
26902
         { (char *)"RichTextBuffer_EndBatchUndo", (PyCFunction)_wrap_RichTextBuffer_EndBatchUndo, METH_O, NULL},
 
26903
         { (char *)"RichTextBuffer_BatchingUndo", (PyCFunction)_wrap_RichTextBuffer_BatchingUndo, METH_O, NULL},
 
26904
         { (char *)"RichTextBuffer_SubmitAction", (PyCFunction) _wrap_RichTextBuffer_SubmitAction, METH_VARARGS | METH_KEYWORDS, NULL},
 
26905
         { (char *)"RichTextBuffer_GetBatchedCommand", (PyCFunction)_wrap_RichTextBuffer_GetBatchedCommand, METH_O, NULL},
 
26906
         { (char *)"RichTextBuffer_BeginSuppressUndo", (PyCFunction)_wrap_RichTextBuffer_BeginSuppressUndo, METH_O, NULL},
 
26907
         { (char *)"RichTextBuffer_EndSuppressUndo", (PyCFunction)_wrap_RichTextBuffer_EndSuppressUndo, METH_O, NULL},
 
26908
         { (char *)"RichTextBuffer_SuppressingUndo", (PyCFunction)_wrap_RichTextBuffer_SuppressingUndo, METH_O, NULL},
 
26909
         { (char *)"RichTextBuffer_CopyToClipboard", (PyCFunction) _wrap_RichTextBuffer_CopyToClipboard, METH_VARARGS | METH_KEYWORDS, NULL},
 
26910
         { (char *)"RichTextBuffer_PasteFromClipboard", (PyCFunction) _wrap_RichTextBuffer_PasteFromClipboard, METH_VARARGS | METH_KEYWORDS, NULL},
 
26911
         { (char *)"RichTextBuffer_CanPasteFromClipboard", (PyCFunction)_wrap_RichTextBuffer_CanPasteFromClipboard, METH_O, NULL},
 
26912
         { (char *)"RichTextBuffer_BeginStyle", (PyCFunction) _wrap_RichTextBuffer_BeginStyle, METH_VARARGS | METH_KEYWORDS, NULL},
 
26913
         { (char *)"RichTextBuffer_EndStyle", (PyCFunction)_wrap_RichTextBuffer_EndStyle, METH_O, NULL},
 
26914
         { (char *)"RichTextBuffer_EndAllStyles", (PyCFunction)_wrap_RichTextBuffer_EndAllStyles, METH_O, NULL},
 
26915
         { (char *)"RichTextBuffer_ClearStyleStack", (PyCFunction)_wrap_RichTextBuffer_ClearStyleStack, METH_O, NULL},
 
26916
         { (char *)"RichTextBuffer_GetStyleStackSize", (PyCFunction)_wrap_RichTextBuffer_GetStyleStackSize, METH_O, NULL},
 
26917
         { (char *)"RichTextBuffer_BeginBold", (PyCFunction)_wrap_RichTextBuffer_BeginBold, METH_O, NULL},
 
26918
         { (char *)"RichTextBuffer_EndBold", (PyCFunction)_wrap_RichTextBuffer_EndBold, METH_O, NULL},
 
26919
         { (char *)"RichTextBuffer_BeginItalic", (PyCFunction)_wrap_RichTextBuffer_BeginItalic, METH_O, NULL},
 
26920
         { (char *)"RichTextBuffer_EndItalic", (PyCFunction)_wrap_RichTextBuffer_EndItalic, METH_O, NULL},
 
26921
         { (char *)"RichTextBuffer_BeginUnderline", (PyCFunction)_wrap_RichTextBuffer_BeginUnderline, METH_O, NULL},
 
26922
         { (char *)"RichTextBuffer_EndUnderline", (PyCFunction)_wrap_RichTextBuffer_EndUnderline, METH_O, NULL},
 
26923
         { (char *)"RichTextBuffer_BeginFontSize", (PyCFunction) _wrap_RichTextBuffer_BeginFontSize, METH_VARARGS | METH_KEYWORDS, NULL},
 
26924
         { (char *)"RichTextBuffer_EndFontSize", (PyCFunction)_wrap_RichTextBuffer_EndFontSize, METH_O, NULL},
 
26925
         { (char *)"RichTextBuffer_BeginFont", (PyCFunction) _wrap_RichTextBuffer_BeginFont, METH_VARARGS | METH_KEYWORDS, NULL},
 
26926
         { (char *)"RichTextBuffer_EndFont", (PyCFunction)_wrap_RichTextBuffer_EndFont, METH_O, NULL},
 
26927
         { (char *)"RichTextBuffer_BeginTextColour", (PyCFunction) _wrap_RichTextBuffer_BeginTextColour, METH_VARARGS | METH_KEYWORDS, NULL},
 
26928
         { (char *)"RichTextBuffer_EndTextColour", (PyCFunction)_wrap_RichTextBuffer_EndTextColour, METH_O, NULL},
 
26929
         { (char *)"RichTextBuffer_BeginAlignment", (PyCFunction) _wrap_RichTextBuffer_BeginAlignment, METH_VARARGS | METH_KEYWORDS, NULL},
 
26930
         { (char *)"RichTextBuffer_EndAlignment", (PyCFunction)_wrap_RichTextBuffer_EndAlignment, METH_O, NULL},
 
26931
         { (char *)"RichTextBuffer_BeginLeftIndent", (PyCFunction) _wrap_RichTextBuffer_BeginLeftIndent, METH_VARARGS | METH_KEYWORDS, NULL},
 
26932
         { (char *)"RichTextBuffer_EndLeftIndent", (PyCFunction)_wrap_RichTextBuffer_EndLeftIndent, METH_O, NULL},
 
26933
         { (char *)"RichTextBuffer_BeginRightIndent", (PyCFunction) _wrap_RichTextBuffer_BeginRightIndent, METH_VARARGS | METH_KEYWORDS, NULL},
 
26934
         { (char *)"RichTextBuffer_EndRightIndent", (PyCFunction)_wrap_RichTextBuffer_EndRightIndent, METH_O, NULL},
 
26935
         { (char *)"RichTextBuffer_BeginParagraphSpacing", (PyCFunction) _wrap_RichTextBuffer_BeginParagraphSpacing, METH_VARARGS | METH_KEYWORDS, NULL},
 
26936
         { (char *)"RichTextBuffer_EndParagraphSpacing", (PyCFunction)_wrap_RichTextBuffer_EndParagraphSpacing, METH_O, NULL},
 
26937
         { (char *)"RichTextBuffer_BeginLineSpacing", (PyCFunction) _wrap_RichTextBuffer_BeginLineSpacing, METH_VARARGS | METH_KEYWORDS, NULL},
 
26938
         { (char *)"RichTextBuffer_EndLineSpacing", (PyCFunction)_wrap_RichTextBuffer_EndLineSpacing, METH_O, NULL},
 
26939
         { (char *)"RichTextBuffer_BeginNumberedBullet", (PyCFunction) _wrap_RichTextBuffer_BeginNumberedBullet, METH_VARARGS | METH_KEYWORDS, NULL},
 
26940
         { (char *)"RichTextBuffer_EndNumberedBullet", (PyCFunction)_wrap_RichTextBuffer_EndNumberedBullet, METH_O, NULL},
 
26941
         { (char *)"RichTextBuffer_BeginSymbolBullet", (PyCFunction) _wrap_RichTextBuffer_BeginSymbolBullet, METH_VARARGS | METH_KEYWORDS, NULL},
 
26942
         { (char *)"RichTextBuffer_EndSymbolBullet", (PyCFunction)_wrap_RichTextBuffer_EndSymbolBullet, METH_O, NULL},
 
26943
         { (char *)"RichTextBuffer_BeginStandardBullet", (PyCFunction) _wrap_RichTextBuffer_BeginStandardBullet, METH_VARARGS | METH_KEYWORDS, NULL},
 
26944
         { (char *)"RichTextBuffer_EndStandardBullet", (PyCFunction)_wrap_RichTextBuffer_EndStandardBullet, METH_O, NULL},
 
26945
         { (char *)"RichTextBuffer_BeginCharacterStyle", (PyCFunction) _wrap_RichTextBuffer_BeginCharacterStyle, METH_VARARGS | METH_KEYWORDS, NULL},
 
26946
         { (char *)"RichTextBuffer_EndCharacterStyle", (PyCFunction)_wrap_RichTextBuffer_EndCharacterStyle, METH_O, NULL},
 
26947
         { (char *)"RichTextBuffer_BeginParagraphStyle", (PyCFunction) _wrap_RichTextBuffer_BeginParagraphStyle, METH_VARARGS | METH_KEYWORDS, NULL},
 
26948
         { (char *)"RichTextBuffer_EndParagraphStyle", (PyCFunction)_wrap_RichTextBuffer_EndParagraphStyle, METH_O, NULL},
 
26949
         { (char *)"RichTextBuffer_BeginListStyle", (PyCFunction) _wrap_RichTextBuffer_BeginListStyle, METH_VARARGS | METH_KEYWORDS, NULL},
 
26950
         { (char *)"RichTextBuffer_EndListStyle", (PyCFunction)_wrap_RichTextBuffer_EndListStyle, METH_O, NULL},
 
26951
         { (char *)"RichTextBuffer_BeginURL", (PyCFunction) _wrap_RichTextBuffer_BeginURL, METH_VARARGS | METH_KEYWORDS, NULL},
 
26952
         { (char *)"RichTextBuffer_EndURL", (PyCFunction)_wrap_RichTextBuffer_EndURL, METH_O, NULL},
 
26953
         { (char *)"RichTextBuffer_AddEventHandler", (PyCFunction) _wrap_RichTextBuffer_AddEventHandler, METH_VARARGS | METH_KEYWORDS, NULL},
 
26954
         { (char *)"RichTextBuffer_RemoveEventHandler", (PyCFunction) _wrap_RichTextBuffer_RemoveEventHandler, METH_VARARGS | METH_KEYWORDS, NULL},
 
26955
         { (char *)"RichTextBuffer_ClearEventHandlers", (PyCFunction)_wrap_RichTextBuffer_ClearEventHandlers, METH_O, NULL},
 
26956
         { (char *)"RichTextBuffer_SendEvent", (PyCFunction) _wrap_RichTextBuffer_SendEvent, METH_VARARGS | METH_KEYWORDS, NULL},
 
26957
         { (char *)"RichTextBuffer_Copy", (PyCFunction) _wrap_RichTextBuffer_Copy, METH_VARARGS | METH_KEYWORDS, NULL},
 
26958
         { (char *)"RichTextBuffer_InsertParagraphsWithUndo", (PyCFunction) _wrap_RichTextBuffer_InsertParagraphsWithUndo, METH_VARARGS | METH_KEYWORDS, NULL},
 
26959
         { (char *)"RichTextBuffer_InsertTextWithUndo", (PyCFunction) _wrap_RichTextBuffer_InsertTextWithUndo, METH_VARARGS | METH_KEYWORDS, NULL},
 
26960
         { (char *)"RichTextBuffer_InsertNewlineWithUndo", (PyCFunction) _wrap_RichTextBuffer_InsertNewlineWithUndo, METH_VARARGS | METH_KEYWORDS, NULL},
 
26961
         { (char *)"RichTextBuffer_InsertImageWithUndo", (PyCFunction) _wrap_RichTextBuffer_InsertImageWithUndo, METH_VARARGS | METH_KEYWORDS, NULL},
 
26962
         { (char *)"RichTextBuffer_DeleteRangeWithUndo", (PyCFunction) _wrap_RichTextBuffer_DeleteRangeWithUndo, METH_VARARGS | METH_KEYWORDS, NULL},
 
26963
         { (char *)"RichTextBuffer_Modify", (PyCFunction) _wrap_RichTextBuffer_Modify, METH_VARARGS | METH_KEYWORDS, NULL},
 
26964
         { (char *)"RichTextBuffer_IsModified", (PyCFunction)_wrap_RichTextBuffer_IsModified, METH_O, NULL},
 
26965
         { (char *)"RichTextBuffer_GetStyleForNewParagraph", (PyCFunction) _wrap_RichTextBuffer_GetStyleForNewParagraph, METH_VARARGS | METH_KEYWORDS, NULL},
 
26966
         { (char *)"RichTextBuffer_GetHandlers", (PyCFunction)_wrap_RichTextBuffer_GetHandlers, METH_NOARGS, NULL},
 
26967
         { (char *)"RichTextBuffer_AddHandler", (PyCFunction) _wrap_RichTextBuffer_AddHandler, METH_VARARGS | METH_KEYWORDS, NULL},
 
26968
         { (char *)"RichTextBuffer_InsertHandler", (PyCFunction) _wrap_RichTextBuffer_InsertHandler, METH_VARARGS | METH_KEYWORDS, NULL},
 
26969
         { (char *)"RichTextBuffer_RemoveHandler", (PyCFunction) _wrap_RichTextBuffer_RemoveHandler, METH_VARARGS | METH_KEYWORDS, NULL},
 
26970
         { (char *)"RichTextBuffer_FindHandlerByName", (PyCFunction) _wrap_RichTextBuffer_FindHandlerByName, METH_VARARGS | METH_KEYWORDS, NULL},
 
26971
         { (char *)"RichTextBuffer_FindHandlerByExtension", (PyCFunction) _wrap_RichTextBuffer_FindHandlerByExtension, METH_VARARGS | METH_KEYWORDS, NULL},
 
26972
         { (char *)"RichTextBuffer_FindHandlerByFilename", (PyCFunction) _wrap_RichTextBuffer_FindHandlerByFilename, METH_VARARGS | METH_KEYWORDS, NULL},
 
26973
         { (char *)"RichTextBuffer_FindHandlerByType", (PyCFunction) _wrap_RichTextBuffer_FindHandlerByType, METH_VARARGS | METH_KEYWORDS, NULL},
 
26974
         { (char *)"RichTextBuffer_GetExtWildcard", (PyCFunction) _wrap_RichTextBuffer_GetExtWildcard, METH_VARARGS | METH_KEYWORDS, NULL},
 
26975
         { (char *)"RichTextBuffer_CleanUpHandlers", (PyCFunction)_wrap_RichTextBuffer_CleanUpHandlers, METH_NOARGS, NULL},
 
26976
         { (char *)"RichTextBuffer_InitStandardHandlers", (PyCFunction)_wrap_RichTextBuffer_InitStandardHandlers, METH_NOARGS, NULL},
 
26977
         { (char *)"RichTextBuffer_GetRenderer", (PyCFunction)_wrap_RichTextBuffer_GetRenderer, METH_NOARGS, NULL},
 
26978
         { (char *)"RichTextBuffer_SetRenderer", (PyCFunction) _wrap_RichTextBuffer_SetRenderer, METH_VARARGS | METH_KEYWORDS, NULL},
 
26979
         { (char *)"RichTextBuffer_GetBulletRightMargin", (PyCFunction)_wrap_RichTextBuffer_GetBulletRightMargin, METH_NOARGS, NULL},
 
26980
         { (char *)"RichTextBuffer_SetBulletRightMargin", (PyCFunction) _wrap_RichTextBuffer_SetBulletRightMargin, METH_VARARGS | METH_KEYWORDS, NULL},
 
26981
         { (char *)"RichTextBuffer_GetBulletProportion", (PyCFunction)_wrap_RichTextBuffer_GetBulletProportion, METH_NOARGS, NULL},
 
26982
         { (char *)"RichTextBuffer_SetBulletProportion", (PyCFunction) _wrap_RichTextBuffer_SetBulletProportion, METH_VARARGS | METH_KEYWORDS, NULL},
 
26983
         { (char *)"RichTextBuffer_GetScale", (PyCFunction)_wrap_RichTextBuffer_GetScale, METH_O, NULL},
 
26984
         { (char *)"RichTextBuffer_SetScale", (PyCFunction) _wrap_RichTextBuffer_SetScale, METH_VARARGS | METH_KEYWORDS, NULL},
 
26985
         { (char *)"RichTextBuffer_swigregister", RichTextBuffer_swigregister, METH_VARARGS, NULL},
 
26986
         { (char *)"RichTextBuffer_swiginit", RichTextBuffer_swiginit, METH_VARARGS, NULL},
 
26987
         { (char *)"delete_RichTextFileHandler", (PyCFunction)_wrap_delete_RichTextFileHandler, METH_O, NULL},
 
26988
         { (char *)"RichTextFileHandler_LoadStream", (PyCFunction) _wrap_RichTextFileHandler_LoadStream, METH_VARARGS | METH_KEYWORDS, NULL},
 
26989
         { (char *)"RichTextFileHandler_SaveStream", (PyCFunction) _wrap_RichTextFileHandler_SaveStream, METH_VARARGS | METH_KEYWORDS, NULL},
 
26990
         { (char *)"RichTextFileHandler_LoadFile", (PyCFunction) _wrap_RichTextFileHandler_LoadFile, METH_VARARGS | METH_KEYWORDS, NULL},
 
26991
         { (char *)"RichTextFileHandler_SaveFile", (PyCFunction) _wrap_RichTextFileHandler_SaveFile, METH_VARARGS | METH_KEYWORDS, NULL},
 
26992
         { (char *)"RichTextFileHandler_CanHandle", (PyCFunction) _wrap_RichTextFileHandler_CanHandle, METH_VARARGS | METH_KEYWORDS, NULL},
 
26993
         { (char *)"RichTextFileHandler_CanSave", (PyCFunction)_wrap_RichTextFileHandler_CanSave, METH_O, NULL},
 
26994
         { (char *)"RichTextFileHandler_CanLoad", (PyCFunction)_wrap_RichTextFileHandler_CanLoad, METH_O, NULL},
 
26995
         { (char *)"RichTextFileHandler_IsVisible", (PyCFunction)_wrap_RichTextFileHandler_IsVisible, METH_O, NULL},
 
26996
         { (char *)"RichTextFileHandler_SetVisible", (PyCFunction) _wrap_RichTextFileHandler_SetVisible, METH_VARARGS | METH_KEYWORDS, NULL},
 
26997
         { (char *)"RichTextFileHandler_SetName", (PyCFunction) _wrap_RichTextFileHandler_SetName, METH_VARARGS | METH_KEYWORDS, NULL},
 
26998
         { (char *)"RichTextFileHandler_GetName", (PyCFunction)_wrap_RichTextFileHandler_GetName, METH_O, NULL},
 
26999
         { (char *)"RichTextFileHandler_SetExtension", (PyCFunction) _wrap_RichTextFileHandler_SetExtension, METH_VARARGS | METH_KEYWORDS, NULL},
 
27000
         { (char *)"RichTextFileHandler_GetExtension", (PyCFunction)_wrap_RichTextFileHandler_GetExtension, METH_O, NULL},
 
27001
         { (char *)"RichTextFileHandler_SetType", (PyCFunction) _wrap_RichTextFileHandler_SetType, METH_VARARGS | METH_KEYWORDS, NULL},
 
27002
         { (char *)"RichTextFileHandler_GetType", (PyCFunction)_wrap_RichTextFileHandler_GetType, METH_O, NULL},
 
27003
         { (char *)"RichTextFileHandler_SetFlags", (PyCFunction) _wrap_RichTextFileHandler_SetFlags, METH_VARARGS | METH_KEYWORDS, NULL},
 
27004
         { (char *)"RichTextFileHandler_GetFlags", (PyCFunction)_wrap_RichTextFileHandler_GetFlags, METH_O, NULL},
 
27005
         { (char *)"RichTextFileHandler_SetEncoding", (PyCFunction) _wrap_RichTextFileHandler_SetEncoding, METH_VARARGS | METH_KEYWORDS, NULL},
 
27006
         { (char *)"RichTextFileHandler_GetEncoding", (PyCFunction)_wrap_RichTextFileHandler_GetEncoding, METH_O, NULL},
 
27007
         { (char *)"RichTextFileHandler_swigregister", RichTextFileHandler_swigregister, METH_VARARGS, NULL},
 
27008
         { (char *)"new_RichTextPlainTextHandler", (PyCFunction) _wrap_new_RichTextPlainTextHandler, METH_VARARGS | METH_KEYWORDS, NULL},
 
27009
         { (char *)"RichTextPlainTextHandler_swigregister", RichTextPlainTextHandler_swigregister, METH_VARARGS, NULL},
 
27010
         { (char *)"RichTextPlainTextHandler_swiginit", RichTextPlainTextHandler_swiginit, METH_VARARGS, NULL},
 
27011
         { (char *)"delete_RichTextRenderer", (PyCFunction)_wrap_delete_RichTextRenderer, METH_O, NULL},
 
27012
         { (char *)"RichTextRenderer_DrawStandardBullet", (PyCFunction) _wrap_RichTextRenderer_DrawStandardBullet, METH_VARARGS | METH_KEYWORDS, NULL},
 
27013
         { (char *)"RichTextRenderer_DrawTextBullet", (PyCFunction) _wrap_RichTextRenderer_DrawTextBullet, METH_VARARGS | METH_KEYWORDS, NULL},
 
27014
         { (char *)"RichTextRenderer_DrawBitmapBullet", (PyCFunction) _wrap_RichTextRenderer_DrawBitmapBullet, METH_VARARGS | METH_KEYWORDS, NULL},
 
27015
         { (char *)"RichTextRenderer_EnumerateStandardBulletNames", (PyCFunction) _wrap_RichTextRenderer_EnumerateStandardBulletNames, METH_VARARGS | METH_KEYWORDS, NULL},
 
27016
         { (char *)"RichTextRenderer_swigregister", RichTextRenderer_swigregister, METH_VARARGS, NULL},
 
27017
         { (char *)"new_RichTextStdRenderer", (PyCFunction)_wrap_new_RichTextStdRenderer, METH_NOARGS, NULL},
 
27018
         { (char *)"RichTextStdRenderer_swigregister", RichTextStdRenderer_swigregister, METH_VARARGS, NULL},
 
27019
         { (char *)"RichTextStdRenderer_swiginit", RichTextStdRenderer_swiginit, METH_VARARGS, NULL},
11990
27020
         { (char *)"new_RichTextCtrl", (PyCFunction) _wrap_new_RichTextCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
11991
27021
         { (char *)"new_PreRichTextCtrl", (PyCFunction)_wrap_new_PreRichTextCtrl, METH_NOARGS, NULL},
11992
27022
         { (char *)"RichTextCtrl_Create", (PyCFunction) _wrap_RichTextCtrl_Create, METH_VARARGS | METH_KEYWORDS, NULL},
12019
27049
         { (char *)"RichTextCtrl_WriteText", (PyCFunction) _wrap_RichTextCtrl_WriteText, METH_VARARGS | METH_KEYWORDS, NULL},
12020
27050
         { (char *)"RichTextCtrl_AppendText", (PyCFunction) _wrap_RichTextCtrl_AppendText, METH_VARARGS | METH_KEYWORDS, NULL},
12021
27051
         { (char *)"RichTextCtrl_SetStyle", (PyCFunction) _wrap_RichTextCtrl_SetStyle, METH_VARARGS | METH_KEYWORDS, NULL},
 
27052
         { (char *)"RichTextCtrl_GetStyle", (PyCFunction) _wrap_RichTextCtrl_GetStyle, METH_VARARGS | METH_KEYWORDS, NULL},
 
27053
         { (char *)"RichTextCtrl_GetStyleForRange", (PyCFunction) _wrap_RichTextCtrl_GetStyleForRange, METH_VARARGS | METH_KEYWORDS, NULL},
12022
27054
         { (char *)"RichTextCtrl_SetStyleEx", (PyCFunction) _wrap_RichTextCtrl_SetStyleEx, METH_VARARGS | METH_KEYWORDS, NULL},
12023
 
         { (char *)"RichTextCtrl_GetStyle", (PyCFunction) _wrap_RichTextCtrl_GetStyle, METH_VARARGS | METH_KEYWORDS, NULL},
12024
27055
         { (char *)"RichTextCtrl_GetUncombinedStyle", (PyCFunction) _wrap_RichTextCtrl_GetUncombinedStyle, METH_VARARGS | METH_KEYWORDS, NULL},
12025
27056
         { (char *)"RichTextCtrl_SetDefaultStyle", (PyCFunction) _wrap_RichTextCtrl_SetDefaultStyle, METH_VARARGS | METH_KEYWORDS, NULL},
12026
27057
         { (char *)"RichTextCtrl_GetDefaultStyle", (PyCFunction)_wrap_RichTextCtrl_GetDefaultStyle, METH_O, NULL},
 
27058
         { (char *)"RichTextCtrl_SetListStyle", (PyCFunction) _wrap_RichTextCtrl_SetListStyle, METH_VARARGS | METH_KEYWORDS, NULL},
 
27059
         { (char *)"RichTextCtrl_ClearListStyle", (PyCFunction) _wrap_RichTextCtrl_ClearListStyle, METH_VARARGS | METH_KEYWORDS, NULL},
 
27060
         { (char *)"RichTextCtrl_NumberList", (PyCFunction) _wrap_RichTextCtrl_NumberList, METH_VARARGS | METH_KEYWORDS, NULL},
 
27061
         { (char *)"RichTextCtrl_PromoteList", (PyCFunction) _wrap_RichTextCtrl_PromoteList, METH_VARARGS | METH_KEYWORDS, NULL},
 
27062
         { (char *)"RichTextCtrl_Delete", (PyCFunction) _wrap_RichTextCtrl_Delete, METH_VARARGS | METH_KEYWORDS, NULL},
12027
27063
         { (char *)"RichTextCtrl_XYToPosition", (PyCFunction) _wrap_RichTextCtrl_XYToPosition, METH_VARARGS | METH_KEYWORDS, NULL},
12028
27064
         { (char *)"RichTextCtrl_PositionToXY", (PyCFunction) _wrap_RichTextCtrl_PositionToXY, METH_VARARGS | METH_KEYWORDS, NULL},
12029
27065
         { (char *)"RichTextCtrl_ShowPosition", (PyCFunction) _wrap_RichTextCtrl_ShowPosition, METH_VARARGS | METH_KEYWORDS, NULL},
12054
27090
         { (char *)"RichTextCtrl_WriteImageFile", (PyCFunction) _wrap_RichTextCtrl_WriteImageFile, METH_VARARGS | METH_KEYWORDS, NULL},
12055
27091
         { (char *)"RichTextCtrl_WriteImageBlock", (PyCFunction) _wrap_RichTextCtrl_WriteImageBlock, METH_VARARGS | METH_KEYWORDS, NULL},
12056
27092
         { (char *)"RichTextCtrl_Newline", (PyCFunction)_wrap_RichTextCtrl_Newline, METH_O, NULL},
 
27093
         { (char *)"RichTextCtrl_LineBreak", (PyCFunction)_wrap_RichTextCtrl_LineBreak, METH_O, NULL},
12057
27094
         { (char *)"RichTextCtrl_SetBasicStyle", (PyCFunction) _wrap_RichTextCtrl_SetBasicStyle, METH_VARARGS | METH_KEYWORDS, NULL},
 
27095
         { (char *)"RichTextCtrl_GetBasicStyle", (PyCFunction)_wrap_RichTextCtrl_GetBasicStyle, METH_O, NULL},
 
27096
         { (char *)"RichTextCtrl_BeginStyle", (PyCFunction) _wrap_RichTextCtrl_BeginStyle, METH_VARARGS | METH_KEYWORDS, NULL},
12058
27097
         { (char *)"RichTextCtrl_EndStyle", (PyCFunction)_wrap_RichTextCtrl_EndStyle, METH_O, NULL},
12059
27098
         { (char *)"RichTextCtrl_EndAllStyles", (PyCFunction)_wrap_RichTextCtrl_EndAllStyles, METH_O, NULL},
12060
27099
         { (char *)"RichTextCtrl_BeginBold", (PyCFunction)_wrap_RichTextCtrl_BeginBold, METH_O, NULL},
12083
27122
         { (char *)"RichTextCtrl_EndNumberedBullet", (PyCFunction)_wrap_RichTextCtrl_EndNumberedBullet, METH_O, NULL},
12084
27123
         { (char *)"RichTextCtrl_BeginSymbolBullet", (PyCFunction) _wrap_RichTextCtrl_BeginSymbolBullet, METH_VARARGS | METH_KEYWORDS, NULL},
12085
27124
         { (char *)"RichTextCtrl_EndSymbolBullet", (PyCFunction)_wrap_RichTextCtrl_EndSymbolBullet, METH_O, NULL},
 
27125
         { (char *)"RichTextCtrl_BeginStandardBullet", (PyCFunction) _wrap_RichTextCtrl_BeginStandardBullet, METH_VARARGS | METH_KEYWORDS, NULL},
 
27126
         { (char *)"RichTextCtrl_EndStandardBullet", (PyCFunction)_wrap_RichTextCtrl_EndStandardBullet, METH_O, NULL},
12086
27127
         { (char *)"RichTextCtrl_BeginCharacterStyle", (PyCFunction) _wrap_RichTextCtrl_BeginCharacterStyle, METH_VARARGS | METH_KEYWORDS, NULL},
12087
27128
         { (char *)"RichTextCtrl_EndCharacterStyle", (PyCFunction)_wrap_RichTextCtrl_EndCharacterStyle, METH_O, NULL},
12088
27129
         { (char *)"RichTextCtrl_BeginParagraphStyle", (PyCFunction) _wrap_RichTextCtrl_BeginParagraphStyle, METH_VARARGS | METH_KEYWORDS, NULL},
12133
27174
         { (char *)"RichTextCtrl_ApplyItalicToSelection", (PyCFunction)_wrap_RichTextCtrl_ApplyItalicToSelection, METH_O, NULL},
12134
27175
         { (char *)"RichTextCtrl_ApplyUnderlineToSelection", (PyCFunction)_wrap_RichTextCtrl_ApplyUnderlineToSelection, METH_O, NULL},
12135
27176
         { (char *)"RichTextCtrl_ApplyAlignmentToSelection", (PyCFunction) _wrap_RichTextCtrl_ApplyAlignmentToSelection, METH_VARARGS | METH_KEYWORDS, NULL},
 
27177
         { (char *)"RichTextCtrl_ApplyStyle", (PyCFunction) _wrap_RichTextCtrl_ApplyStyle, METH_VARARGS | METH_KEYWORDS, NULL},
12136
27178
         { (char *)"RichTextCtrl_SetStyleSheet", (PyCFunction) _wrap_RichTextCtrl_SetStyleSheet, METH_VARARGS | METH_KEYWORDS, NULL},
12137
27179
         { (char *)"RichTextCtrl_GetStyleSheet", (PyCFunction)_wrap_RichTextCtrl_GetStyleSheet, METH_O, NULL},
 
27180
         { (char *)"RichTextCtrl_PushStyleSheet", (PyCFunction) _wrap_RichTextCtrl_PushStyleSheet, METH_VARARGS | METH_KEYWORDS, NULL},
 
27181
         { (char *)"RichTextCtrl_PopStyleSheet", (PyCFunction)_wrap_RichTextCtrl_PopStyleSheet, METH_O, NULL},
12138
27182
         { (char *)"RichTextCtrl_ApplyStyleSheet", (PyCFunction) _wrap_RichTextCtrl_ApplyStyleSheet, METH_VARARGS | METH_KEYWORDS, NULL},
12139
27183
         { (char *)"RichTextCtrl_swigregister", RichTextCtrl_swigregister, METH_VARARGS, NULL},
12140
27184
         { (char *)"RichTextCtrl_swiginit", RichTextCtrl_swiginit, METH_VARARGS, NULL},
12143
27187
         { (char *)"RichTextEvent_SetPosition", (PyCFunction) _wrap_RichTextEvent_SetPosition, METH_VARARGS | METH_KEYWORDS, NULL},
12144
27188
         { (char *)"RichTextEvent_GetFlags", (PyCFunction)_wrap_RichTextEvent_GetFlags, METH_O, NULL},
12145
27189
         { (char *)"RichTextEvent_SetFlags", (PyCFunction) _wrap_RichTextEvent_SetFlags, METH_VARARGS | METH_KEYWORDS, NULL},
 
27190
         { (char *)"RichTextEvent_GetOldStyleSheet", (PyCFunction)_wrap_RichTextEvent_GetOldStyleSheet, METH_O, NULL},
 
27191
         { (char *)"RichTextEvent_SetOldStyleSheet", (PyCFunction) _wrap_RichTextEvent_SetOldStyleSheet, METH_VARARGS | METH_KEYWORDS, NULL},
 
27192
         { (char *)"RichTextEvent_GetNewStyleSheet", (PyCFunction)_wrap_RichTextEvent_GetNewStyleSheet, METH_O, NULL},
 
27193
         { (char *)"RichTextEvent_SetNewStyleSheet", (PyCFunction) _wrap_RichTextEvent_SetNewStyleSheet, METH_VARARGS | METH_KEYWORDS, NULL},
 
27194
         { (char *)"RichTextEvent_GetRange", (PyCFunction)_wrap_RichTextEvent_GetRange, METH_O, NULL},
 
27195
         { (char *)"RichTextEvent_SetRange", (PyCFunction) _wrap_RichTextEvent_SetRange, METH_VARARGS | METH_KEYWORDS, NULL},
 
27196
         { (char *)"RichTextEvent_GetCharacter", (PyCFunction)_wrap_RichTextEvent_GetCharacter, METH_O, NULL},
 
27197
         { (char *)"RichTextEvent_SetCharacter", (PyCFunction) _wrap_RichTextEvent_SetCharacter, METH_VARARGS | METH_KEYWORDS, NULL},
12146
27198
         { (char *)"RichTextEvent_swigregister", RichTextEvent_swigregister, METH_VARARGS, NULL},
12147
27199
         { (char *)"RichTextEvent_swiginit", RichTextEvent_swiginit, METH_VARARGS, NULL},
 
27200
         { (char *)"new_RichTextHTMLHandler", (PyCFunction) _wrap_new_RichTextHTMLHandler, METH_VARARGS | METH_KEYWORDS, NULL},
 
27201
         { (char *)"RichTextHTMLHandler_SetTemporaryImageLocations", (PyCFunction) _wrap_RichTextHTMLHandler_SetTemporaryImageLocations, METH_VARARGS | METH_KEYWORDS, NULL},
 
27202
         { (char *)"RichTextHTMLHandler_GetTemporaryImageLocations", (PyCFunction)_wrap_RichTextHTMLHandler_GetTemporaryImageLocations, METH_O, NULL},
 
27203
         { (char *)"RichTextHTMLHandler_ClearTemporaryImageLocations", (PyCFunction)_wrap_RichTextHTMLHandler_ClearTemporaryImageLocations, METH_O, NULL},
 
27204
         { (char *)"RichTextHTMLHandler_DeleteTemporaryImages", (PyCFunction)_wrap_RichTextHTMLHandler_DeleteTemporaryImages, METH_O, NULL},
 
27205
         { (char *)"RichTextHTMLHandler_SetFileCounter", (PyCFunction) _wrap_RichTextHTMLHandler_SetFileCounter, METH_VARARGS | METH_KEYWORDS, NULL},
 
27206
         { (char *)"RichTextHTMLHandler_SetTempDir", (PyCFunction) _wrap_RichTextHTMLHandler_SetTempDir, METH_VARARGS | METH_KEYWORDS, NULL},
 
27207
         { (char *)"RichTextHTMLHandler_GetTempDir", (PyCFunction)_wrap_RichTextHTMLHandler_GetTempDir, METH_O, NULL},
 
27208
         { (char *)"RichTextHTMLHandler_SetFontSizeMapping", (PyCFunction) _wrap_RichTextHTMLHandler_SetFontSizeMapping, METH_VARARGS | METH_KEYWORDS, NULL},
 
27209
         { (char *)"RichTextHTMLHandler_GetFontSizeMapping", (PyCFunction)_wrap_RichTextHTMLHandler_GetFontSizeMapping, METH_O, NULL},
 
27210
         { (char *)"RichTextHTMLHandler_swigregister", RichTextHTMLHandler_swigregister, METH_VARARGS, NULL},
 
27211
         { (char *)"RichTextHTMLHandler_swiginit", RichTextHTMLHandler_swiginit, METH_VARARGS, NULL},
 
27212
         { (char *)"new_RichTextXMLHandler", (PyCFunction) _wrap_new_RichTextXMLHandler, METH_VARARGS | METH_KEYWORDS, NULL},
 
27213
         { (char *)"RichTextXMLHandler_swigregister", RichTextXMLHandler_swigregister, METH_VARARGS, NULL},
 
27214
         { (char *)"RichTextXMLHandler_swiginit", RichTextXMLHandler_swiginit, METH_VARARGS, NULL},
12148
27215
         { NULL, NULL, 0, NULL }
12149
27216
};
12150
27217
 
12151
27218
 
12152
27219
/* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
12153
27220
 
12154
 
static void *_p_wxScrolledWindowTo_p_wxPanel(void *x) {
12155
 
    return (void *)((wxPanel *)  ((wxScrolledWindow *) x));
12156
 
}
12157
 
static void *_p_wxPyVScrolledWindowTo_p_wxPanel(void *x) {
12158
 
    return (void *)((wxPanel *)  ((wxPyVScrolledWindow *) x));
12159
 
}
12160
 
static void *_p_wxPyScrolledWindowTo_p_wxPanel(void *x) {
12161
 
    return (void *)((wxPanel *) (wxScrolledWindow *) ((wxPyScrolledWindow *) x));
12162
 
}
12163
 
static void *_p_wxPyVListBoxTo_p_wxPanel(void *x) {
12164
 
    return (void *)((wxPanel *) (wxPyVScrolledWindow *) ((wxPyVListBox *) x));
12165
 
}
12166
 
static void *_p_wxPyHtmlListBoxTo_p_wxPanel(void *x) {
12167
 
    return (void *)((wxPanel *) (wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
12168
 
}
12169
 
static void *_p_wxSimpleHtmlListBoxTo_p_wxPanel(void *x) {
12170
 
    return (void *)((wxPanel *) (wxPyVScrolledWindow *)(wxPyVListBox *)(wxPyHtmlListBox *) ((wxSimpleHtmlListBox *) x));
12171
 
}
12172
 
static void *_p_wxPyPanelTo_p_wxPanel(void *x) {
12173
 
    return (void *)((wxPanel *)  ((wxPyPanel *) x));
12174
 
}
12175
 
static void *_p_wxRichTextCtrlTo_p_wxPanel(void *x) {
12176
 
    return (void *)((wxPanel *) (wxScrolledWindow *) ((wxRichTextCtrl *) x));
12177
 
}
12178
 
static void *_p_wxPreviewCanvasTo_p_wxPanel(void *x) {
12179
 
    return (void *)((wxPanel *) (wxScrolledWindow *) ((wxPreviewCanvas *) x));
12180
 
}
12181
 
static void *_p_wxPreviewControlBarTo_p_wxPanel(void *x) {
12182
 
    return (void *)((wxPanel *)  ((wxPreviewControlBar *) x));
12183
 
}
12184
 
static void *_p_wxPyPreviewControlBarTo_p_wxPanel(void *x) {
12185
 
    return (void *)((wxPanel *) (wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
12186
 
}
12187
 
static void *_p_wxRichTextEventTo_p_wxNotifyEvent(void *x) {
12188
 
    return (void *)((wxNotifyEvent *)  ((wxRichTextEvent *) x));
12189
 
}
12190
 
static void *_p_wxSplitterEventTo_p_wxNotifyEvent(void *x) {
12191
 
    return (void *)((wxNotifyEvent *)  ((wxSplitterEvent *) x));
12192
 
}
12193
 
static void *_p_wxPyScrolledWindowTo_p_wxScrolledWindow(void *x) {
12194
 
    return (void *)((wxScrolledWindow *)  ((wxPyScrolledWindow *) x));
12195
 
}
12196
 
static void *_p_wxRichTextCtrlTo_p_wxScrolledWindow(void *x) {
12197
 
    return (void *)((wxScrolledWindow *)  ((wxRichTextCtrl *) x));
12198
 
}
12199
 
static void *_p_wxPreviewCanvasTo_p_wxScrolledWindow(void *x) {
12200
 
    return (void *)((wxScrolledWindow *)  ((wxPreviewCanvas *) x));
12201
 
}
12202
 
static void *_p_wxSplashScreenTo_p_wxWindow(void *x) {
12203
 
    return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
12204
 
}
12205
 
static void *_p_wxMiniFrameTo_p_wxWindow(void *x) {
12206
 
    return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
12207
 
}
12208
 
static void *_p_wxPyPanelTo_p_wxWindow(void *x) {
12209
 
    return (void *)((wxWindow *) (wxPanel *) ((wxPyPanel *) x));
12210
 
}
12211
 
static void *_p_wxMenuBarTo_p_wxWindow(void *x) {
12212
 
    return (void *)((wxWindow *)  ((wxMenuBar *) x));
12213
 
}
12214
 
static void *_p_wxFindReplaceDialogTo_p_wxWindow(void *x) {
12215
 
    return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
12216
 
}
12217
 
static void *_p_wxProgressDialogTo_p_wxWindow(void *x) {
12218
 
    return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
12219
 
}
12220
 
static void *_p_wxMessageDialogTo_p_wxWindow(void *x) {
12221
 
    return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
12222
 
}
12223
 
static void *_p_wxNumberEntryDialogTo_p_wxWindow(void *x) {
12224
 
    return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxNumberEntryDialog *) x));
12225
 
}
12226
 
static void *_p_wxPasswordEntryDialogTo_p_wxWindow(void *x) {
12227
 
    return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
12228
 
}
12229
 
static void *_p_wxTextEntryDialogTo_p_wxWindow(void *x) {
12230
 
    return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
12231
 
}
12232
 
static void *_p_wxSingleChoiceDialogTo_p_wxWindow(void *x) {
12233
 
    return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
12234
 
}
12235
 
static void *_p_wxMultiChoiceDialogTo_p_wxWindow(void *x) {
12236
 
    return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
12237
 
}
12238
 
static void *_p_wxFileDialogTo_p_wxWindow(void *x) {
12239
 
    return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
12240
 
}
12241
 
static void *_p_wxPanelTo_p_wxWindow(void *x) {
12242
 
    return (void *)((wxWindow *)  ((wxPanel *) x));
12243
 
}
12244
 
static void *_p_wxStatusBarTo_p_wxWindow(void *x) {
12245
 
    return (void *)((wxWindow *)  ((wxStatusBar *) x));
12246
 
}
12247
 
static void *_p_wxPyVScrolledWindowTo_p_wxWindow(void *x) {
12248
 
    return (void *)((wxWindow *) (wxPanel *) ((wxPyVScrolledWindow *) x));
12249
 
}
12250
 
static void *_p_wxTipWindowTo_p_wxWindow(void *x) {
12251
 
    return (void *)((wxWindow *) (wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x));
12252
 
}
12253
 
static void *_p_wxPyPopupTransientWindowTo_p_wxWindow(void *x) {
12254
 
    return (void *)((wxWindow *) (wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
12255
 
}
12256
 
static void *_p_wxPopupWindowTo_p_wxWindow(void *x) {
12257
 
    return (void *)((wxWindow *)  ((wxPopupWindow *) x));
12258
 
}
12259
 
static void *_p_wxSashLayoutWindowTo_p_wxWindow(void *x) {
12260
 
    return (void *)((wxWindow *) (wxSashWindow *) ((wxSashLayoutWindow *) x));
12261
 
}
12262
 
static void *_p_wxScrolledWindowTo_p_wxWindow(void *x) {
12263
 
    return (void *)((wxWindow *) (wxPanel *) ((wxScrolledWindow *) x));
12264
 
}
12265
 
static void *_p_wxTopLevelWindowTo_p_wxWindow(void *x) {
12266
 
    return (void *)((wxWindow *)  ((wxTopLevelWindow *) x));
12267
 
}
12268
 
static void *_p_wxSplashScreenWindowTo_p_wxWindow(void *x) {
12269
 
    return (void *)((wxWindow *)  ((wxSplashScreenWindow *) x));
12270
 
}
12271
 
static void *_p_wxSplitterWindowTo_p_wxWindow(void *x) {
12272
 
    return (void *)((wxWindow *)  ((wxSplitterWindow *) x));
12273
 
}
12274
 
static void *_p_wxSashWindowTo_p_wxWindow(void *x) {
12275
 
    return (void *)((wxWindow *)  ((wxSashWindow *) x));
12276
 
}
12277
 
static void *_p_wxMDIClientWindowTo_p_wxWindow(void *x) {
12278
 
    return (void *)((wxWindow *)  ((wxMDIClientWindow *) x));
12279
 
}
12280
 
static void *_p_wxPyScrolledWindowTo_p_wxWindow(void *x) {
12281
 
    return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x));
12282
 
}
12283
 
static void *_p_wxControlTo_p_wxWindow(void *x) {
12284
 
    return (void *)((wxWindow *)  ((wxControl *) x));
12285
 
}
12286
 
static void *_p_wxPreviewFrameTo_p_wxWindow(void *x) {
12287
 
    return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
12288
 
}
12289
 
static void *_p_wxPyPreviewFrameTo_p_wxWindow(void *x) {
12290
 
    return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
12291
 
}
12292
 
static void *_p_wxMDIChildFrameTo_p_wxWindow(void *x) {
12293
 
    return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
12294
 
}
12295
 
static void *_p_wxControlWithItemsTo_p_wxWindow(void *x) {
12296
 
    return (void *)((wxWindow *) (wxControl *) ((wxControlWithItems *) x));
12297
 
}
12298
 
static void *_p_wxPyWindowTo_p_wxWindow(void *x) {
12299
 
    return (void *)((wxWindow *)  ((wxPyWindow *) x));
12300
 
}
12301
 
static void *_p_wxPreviewCanvasTo_p_wxWindow(void *x) {
12302
 
    return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
12303
 
}
12304
 
static void *_p_wxSimpleHtmlListBoxTo_p_wxWindow(void *x) {
12305
 
    return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *)(wxPyHtmlListBox *) ((wxSimpleHtmlListBox *) x));
12306
 
}
12307
 
static void *_p_wxPyHtmlListBoxTo_p_wxWindow(void *x) {
12308
 
    return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
12309
 
}
12310
 
static void *_p_wxPyVListBoxTo_p_wxWindow(void *x) {
12311
 
    return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
12312
 
}
12313
 
static void *_p_wxPreviewControlBarTo_p_wxWindow(void *x) {
12314
 
    return (void *)((wxWindow *) (wxPanel *) ((wxPreviewControlBar *) x));
12315
 
}
12316
 
static void *_p_wxPyPreviewControlBarTo_p_wxWindow(void *x) {
12317
 
    return (void *)((wxWindow *) (wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
12318
 
}
12319
 
static void *_p_wxFrameTo_p_wxWindow(void *x) {
12320
 
    return (void *)((wxWindow *) (wxTopLevelWindow *) ((wxFrame *) x));
12321
 
}
12322
 
static void *_p_wxFontDialogTo_p_wxWindow(void *x) {
12323
 
    return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
12324
 
}
12325
 
static void *_p_wxDirDialogTo_p_wxWindow(void *x) {
12326
 
    return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
12327
 
}
12328
 
static void *_p_wxColourDialogTo_p_wxWindow(void *x) {
12329
 
    return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
12330
 
}
12331
 
static void *_p_wxDialogTo_p_wxWindow(void *x) {
12332
 
    return (void *)((wxWindow *) (wxTopLevelWindow *) ((wxDialog *) x));
12333
 
}
12334
 
static void *_p_wxMDIParentFrameTo_p_wxWindow(void *x) {
12335
 
    return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
12336
 
}
12337
 
static void *_p_wxRichTextCtrlTo_p_wxWindow(void *x) {
12338
 
    return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxRichTextCtrl *) x));
 
27221
static void *_p_wxRichTextBufferTo_p_wxRichTextParagraphLayoutBox(void *x) {
 
27222
    return (void *)((wxRichTextParagraphLayoutBox *)  ((wxRichTextBuffer *) x));
12339
27223
}
12340
27224
static void *_p_wxContextMenuEventTo_p_wxEvent(void *x) {
12341
27225
    return (void *)((wxEvent *) (wxCommandEvent *) ((wxContextMenuEvent *) x));
12472
27356
static void *_p_wxTaskBarIconEventTo_p_wxEvent(void *x) {
12473
27357
    return (void *)((wxEvent *)  ((wxTaskBarIconEvent *) x));
12474
27358
}
 
27359
static void *_p_wxRichTextBoxTo_p_wxRichTextCompositeObject(void *x) {
 
27360
    return (void *)((wxRichTextCompositeObject *)  ((wxRichTextBox *) x));
 
27361
}
 
27362
static void *_p_wxRichTextParagraphLayoutBoxTo_p_wxRichTextCompositeObject(void *x) {
 
27363
    return (void *)((wxRichTextCompositeObject *) (wxRichTextBox *) ((wxRichTextParagraphLayoutBox *) x));
 
27364
}
 
27365
static void *_p_wxRichTextParagraphTo_p_wxRichTextCompositeObject(void *x) {
 
27366
    return (void *)((wxRichTextCompositeObject *) (wxRichTextBox *) ((wxRichTextParagraph *) x));
 
27367
}
 
27368
static void *_p_wxRichTextBufferTo_p_wxRichTextCompositeObject(void *x) {
 
27369
    return (void *)((wxRichTextCompositeObject *) (wxRichTextBox *)(wxRichTextParagraphLayoutBox *) ((wxRichTextBuffer *) x));
 
27370
}
 
27371
static void *_p_wxRichTextEventTo_p_wxNotifyEvent(void *x) {
 
27372
    return (void *)((wxNotifyEvent *)  ((wxRichTextEvent *) x));
 
27373
}
 
27374
static void *_p_wxSplitterEventTo_p_wxNotifyEvent(void *x) {
 
27375
    return (void *)((wxNotifyEvent *)  ((wxSplitterEvent *) x));
 
27376
}
 
27377
static void *_p_wxRichTextParagraphLayoutBoxTo_p_wxRichTextBox(void *x) {
 
27378
    return (void *)((wxRichTextBox *)  ((wxRichTextParagraphLayoutBox *) x));
 
27379
}
 
27380
static void *_p_wxRichTextParagraphTo_p_wxRichTextBox(void *x) {
 
27381
    return (void *)((wxRichTextBox *)  ((wxRichTextParagraph *) x));
 
27382
}
 
27383
static void *_p_wxRichTextBufferTo_p_wxRichTextBox(void *x) {
 
27384
    return (void *)((wxRichTextBox *) (wxRichTextParagraphLayoutBox *) ((wxRichTextBuffer *) x));
 
27385
}
 
27386
static void *_p_wxSplashScreenTo_p_wxEvtHandler(void *x) {
 
27387
    return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
 
27388
}
 
27389
static void *_p_wxMiniFrameTo_p_wxEvtHandler(void *x) {
 
27390
    return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
 
27391
}
 
27392
static void *_p_wxPyPanelTo_p_wxEvtHandler(void *x) {
 
27393
    return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyPanel *) x));
 
27394
}
 
27395
static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x) {
 
27396
    return (void *)((wxEvtHandler *) (wxWindow *) ((wxMenuBar *) x));
 
27397
}
 
27398
static void *_p_wxValidatorTo_p_wxEvtHandler(void *x) {
 
27399
    return (void *)((wxEvtHandler *)  ((wxValidator *) x));
 
27400
}
 
27401
static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x) {
 
27402
    return (void *)((wxEvtHandler *) (wxValidator *) ((wxPyValidator *) x));
 
27403
}
 
27404
static void *_p_wxMenuTo_p_wxEvtHandler(void *x) {
 
27405
    return (void *)((wxEvtHandler *)  ((wxMenu *) x));
 
27406
}
 
27407
static void *_p_wxTextEntryDialogTo_p_wxEvtHandler(void *x) {
 
27408
    return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
 
27409
}
 
27410
static void *_p_wxSingleChoiceDialogTo_p_wxEvtHandler(void *x) {
 
27411
    return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
 
27412
}
 
27413
static void *_p_wxMultiChoiceDialogTo_p_wxEvtHandler(void *x) {
 
27414
    return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
 
27415
}
 
27416
static void *_p_wxFileDialogTo_p_wxEvtHandler(void *x) {
 
27417
    return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
 
27418
}
 
27419
static void *_p_wxPasswordEntryDialogTo_p_wxEvtHandler(void *x) {
 
27420
    return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
 
27421
}
 
27422
static void *_p_wxNumberEntryDialogTo_p_wxEvtHandler(void *x) {
 
27423
    return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxNumberEntryDialog *) x));
 
27424
}
 
27425
static void *_p_wxMessageDialogTo_p_wxEvtHandler(void *x) {
 
27426
    return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
 
27427
}
 
27428
static void *_p_wxProgressDialogTo_p_wxEvtHandler(void *x) {
 
27429
    return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
 
27430
}
 
27431
static void *_p_wxFindReplaceDialogTo_p_wxEvtHandler(void *x) {
 
27432
    return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
 
27433
}
 
27434
static void *_p_wxPanelTo_p_wxEvtHandler(void *x) {
 
27435
    return (void *)((wxEvtHandler *) (wxWindow *) ((wxPanel *) x));
 
27436
}
 
27437
static void *_p_wxStatusBarTo_p_wxEvtHandler(void *x) {
 
27438
    return (void *)((wxEvtHandler *) (wxWindow *) ((wxStatusBar *) x));
 
27439
}
 
27440
static void *_p_wxPyVScrolledWindowTo_p_wxEvtHandler(void *x) {
 
27441
    return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyVScrolledWindow *) x));
 
27442
}
 
27443
static void *_p_wxTipWindowTo_p_wxEvtHandler(void *x) {
 
27444
    return (void *)((wxEvtHandler *) (wxWindow *)(wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x));
 
27445
}
 
27446
static void *_p_wxPyPopupTransientWindowTo_p_wxEvtHandler(void *x) {
 
27447
    return (void *)((wxEvtHandler *) (wxWindow *)(wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
 
27448
}
 
27449
static void *_p_wxPopupWindowTo_p_wxEvtHandler(void *x) {
 
27450
    return (void *)((wxEvtHandler *) (wxWindow *) ((wxPopupWindow *) x));
 
27451
}
 
27452
static void *_p_wxSashLayoutWindowTo_p_wxEvtHandler(void *x) {
 
27453
    return (void *)((wxEvtHandler *) (wxWindow *)(wxSashWindow *) ((wxSashLayoutWindow *) x));
 
27454
}
 
27455
static void *_p_wxSashWindowTo_p_wxEvtHandler(void *x) {
 
27456
    return (void *)((wxEvtHandler *) (wxWindow *) ((wxSashWindow *) x));
 
27457
}
 
27458
static void *_p_wxSplitterWindowTo_p_wxEvtHandler(void *x) {
 
27459
    return (void *)((wxEvtHandler *) (wxWindow *) ((wxSplitterWindow *) x));
 
27460
}
 
27461
static void *_p_wxSplashScreenWindowTo_p_wxEvtHandler(void *x) {
 
27462
    return (void *)((wxEvtHandler *) (wxWindow *) ((wxSplashScreenWindow *) x));
 
27463
}
 
27464
static void *_p_wxWindowTo_p_wxEvtHandler(void *x) {
 
27465
    return (void *)((wxEvtHandler *)  ((wxWindow *) x));
 
27466
}
 
27467
static void *_p_wxScrolledWindowTo_p_wxEvtHandler(void *x) {
 
27468
    return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxScrolledWindow *) x));
 
27469
}
 
27470
static void *_p_wxTopLevelWindowTo_p_wxEvtHandler(void *x) {
 
27471
    return (void *)((wxEvtHandler *) (wxWindow *) ((wxTopLevelWindow *) x));
 
27472
}
 
27473
static void *_p_wxMDIClientWindowTo_p_wxEvtHandler(void *x) {
 
27474
    return (void *)((wxEvtHandler *) (wxWindow *) ((wxMDIClientWindow *) x));
 
27475
}
 
27476
static void *_p_wxPyScrolledWindowTo_p_wxEvtHandler(void *x) {
 
27477
    return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x));
 
27478
}
 
27479
static void *_p_wxControlTo_p_wxEvtHandler(void *x) {
 
27480
    return (void *)((wxEvtHandler *) (wxWindow *) ((wxControl *) x));
 
27481
}
 
27482
static void *_p_wxPreviewFrameTo_p_wxEvtHandler(void *x) {
 
27483
    return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
 
27484
}
 
27485
static void *_p_wxPyPreviewFrameTo_p_wxEvtHandler(void *x) {
 
27486
    return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
 
27487
}
 
27488
static void *_p_wxMDIChildFrameTo_p_wxEvtHandler(void *x) {
 
27489
    return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
 
27490
}
 
27491
static void *_p_wxPyAppTo_p_wxEvtHandler(void *x) {
 
27492
    return (void *)((wxEvtHandler *)  ((wxPyApp *) x));
 
27493
}
 
27494
static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x) {
 
27495
    return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxControlWithItems *) x));
 
27496
}
 
27497
static void *_p_wxPyWindowTo_p_wxEvtHandler(void *x) {
 
27498
    return (void *)((wxEvtHandler *) (wxWindow *) ((wxPyWindow *) x));
 
27499
}
 
27500
static void *_p_wxPreviewCanvasTo_p_wxEvtHandler(void *x) {
 
27501
    return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
 
27502
}
 
27503
static void *_p_wxSimpleHtmlListBoxTo_p_wxEvtHandler(void *x) {
 
27504
    return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *)(wxPyHtmlListBox *) ((wxSimpleHtmlListBox *) x));
 
27505
}
 
27506
static void *_p_wxPyHtmlListBoxTo_p_wxEvtHandler(void *x) {
 
27507
    return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
 
27508
}
 
27509
static void *_p_wxPyVListBoxTo_p_wxEvtHandler(void *x) {
 
27510
    return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
 
27511
}
 
27512
static void *_p_wxPreviewControlBarTo_p_wxEvtHandler(void *x) {
 
27513
    return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPreviewControlBar *) x));
 
27514
}
 
27515
static void *_p_wxPyPreviewControlBarTo_p_wxEvtHandler(void *x) {
 
27516
    return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
 
27517
}
 
27518
static void *_p_wxPyTaskBarIconTo_p_wxEvtHandler(void *x) {
 
27519
    return (void *)((wxEvtHandler *)  ((wxPyTaskBarIcon *) x));
 
27520
}
 
27521
static void *_p_wxFrameTo_p_wxEvtHandler(void *x) {
 
27522
    return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *) ((wxFrame *) x));
 
27523
}
 
27524
static void *_p_wxDirDialogTo_p_wxEvtHandler(void *x) {
 
27525
    return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
 
27526
}
 
27527
static void *_p_wxColourDialogTo_p_wxEvtHandler(void *x) {
 
27528
    return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
 
27529
}
 
27530
static void *_p_wxDialogTo_p_wxEvtHandler(void *x) {
 
27531
    return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *) ((wxDialog *) x));
 
27532
}
 
27533
static void *_p_wxFontDialogTo_p_wxEvtHandler(void *x) {
 
27534
    return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
 
27535
}
 
27536
static void *_p_wxMDIParentFrameTo_p_wxEvtHandler(void *x) {
 
27537
    return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
 
27538
}
 
27539
static void *_p_wxRichTextCtrlTo_p_wxEvtHandler(void *x) {
 
27540
    return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxRichTextCtrl *) x));
 
27541
}
 
27542
static void *_p_wxRichTextPlainTextHandlerTo_p_wxRichTextFileHandler(void *x) {
 
27543
    return (void *)((wxRichTextFileHandler *)  ((wxRichTextPlainTextHandler *) x));
 
27544
}
 
27545
static void *_p_wxRichTextHTMLHandlerTo_p_wxRichTextFileHandler(void *x) {
 
27546
    return (void *)((wxRichTextFileHandler *)  ((wxRichTextHTMLHandler *) x));
 
27547
}
 
27548
static void *_p_wxRichTextXMLHandlerTo_p_wxRichTextFileHandler(void *x) {
 
27549
    return (void *)((wxRichTextFileHandler *)  ((wxRichTextXMLHandler *) x));
 
27550
}
 
27551
static void *_p_wxRichTextStdRendererTo_p_wxRichTextRenderer(void *x) {
 
27552
    return (void *)((wxRichTextRenderer *)  ((wxRichTextStdRenderer *) x));
 
27553
}
 
27554
static void *_p_p_wxRichTextBoxTo_p_p_wxRichTextObject(void *x) {
 
27555
    return (void *)((wxRichTextObject **) (wxRichTextCompositeObject *) ((wxRichTextBox **) x));
 
27556
}
 
27557
static void *_p_p_wxRichTextParagraphLayoutBoxTo_p_p_wxRichTextObject(void *x) {
 
27558
    return (void *)((wxRichTextObject **) (wxRichTextCompositeObject *)(wxRichTextBox *) ((wxRichTextParagraphLayoutBox **) x));
 
27559
}
 
27560
static void *_p_p_wxRichTextParagraphTo_p_p_wxRichTextObject(void *x) {
 
27561
    return (void *)((wxRichTextObject **) (wxRichTextCompositeObject *)(wxRichTextBox *) ((wxRichTextParagraph **) x));
 
27562
}
 
27563
static void *_p_p_wxRichTextImageTo_p_p_wxRichTextObject(void *x) {
 
27564
    return (void *)((wxRichTextObject **)  ((wxRichTextImage **) x));
 
27565
}
 
27566
static void *_p_p_wxRichTextBufferTo_p_p_wxRichTextObject(void *x) {
 
27567
    return (void *)((wxRichTextObject **) (wxRichTextCompositeObject *)(wxRichTextBox *)(wxRichTextParagraphLayoutBox *) ((wxRichTextBuffer **) x));
 
27568
}
 
27569
static void *_p_p_wxRichTextPlainTextTo_p_p_wxRichTextObject(void *x) {
 
27570
    return (void *)((wxRichTextObject **)  ((wxRichTextPlainText **) x));
 
27571
}
 
27572
static void *_p_p_wxRichTextCompositeObjectTo_p_p_wxRichTextObject(void *x) {
 
27573
    return (void *)((wxRichTextObject **)  ((wxRichTextCompositeObject **) x));
 
27574
}
 
27575
static void *_p_wxRichTextBoxTo_p_wxRichTextObject(void *x) {
 
27576
    return (void *)((wxRichTextObject *) (wxRichTextCompositeObject *) ((wxRichTextBox *) x));
 
27577
}
 
27578
static void *_p_wxRichTextParagraphLayoutBoxTo_p_wxRichTextObject(void *x) {
 
27579
    return (void *)((wxRichTextObject *) (wxRichTextCompositeObject *)(wxRichTextBox *) ((wxRichTextParagraphLayoutBox *) x));
 
27580
}
 
27581
static void *_p_wxRichTextParagraphTo_p_wxRichTextObject(void *x) {
 
27582
    return (void *)((wxRichTextObject *) (wxRichTextCompositeObject *)(wxRichTextBox *) ((wxRichTextParagraph *) x));
 
27583
}
 
27584
static void *_p_wxRichTextImageTo_p_wxRichTextObject(void *x) {
 
27585
    return (void *)((wxRichTextObject *)  ((wxRichTextImage *) x));
 
27586
}
 
27587
static void *_p_wxRichTextBufferTo_p_wxRichTextObject(void *x) {
 
27588
    return (void *)((wxRichTextObject *) (wxRichTextCompositeObject *)(wxRichTextBox *)(wxRichTextParagraphLayoutBox *) ((wxRichTextBuffer *) x));
 
27589
}
 
27590
static void *_p_wxRichTextPlainTextTo_p_wxRichTextObject(void *x) {
 
27591
    return (void *)((wxRichTextObject *)  ((wxRichTextPlainText *) x));
 
27592
}
 
27593
static void *_p_wxRichTextCompositeObjectTo_p_wxRichTextObject(void *x) {
 
27594
    return (void *)((wxRichTextObject *)  ((wxRichTextCompositeObject *) x));
 
27595
}
12475
27596
static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x) {
12476
27597
    return (void *)((wxObject *)  ((wxLayoutConstraints *) x));
12477
27598
}
12478
27599
static void *_p_wxQueryLayoutInfoEventTo_p_wxObject(void *x) {
12479
27600
    return (void *)((wxObject *) (wxEvent *) ((wxQueryLayoutInfoEvent *) x));
12480
27601
}
 
27602
static void *_p_wxRichTextParagraphLayoutBoxTo_p_wxObject(void *x) {
 
27603
    return (void *)((wxObject *) (wxRichTextObject *)(wxRichTextCompositeObject *)(wxRichTextBox *) ((wxRichTextParagraphLayoutBox *) x));
 
27604
}
12481
27605
static void *_p_wxPreviewFrameTo_p_wxObject(void *x) {
12482
27606
    return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
12483
27607
}
12523
27647
static void *_p_wxPrintDataTo_p_wxObject(void *x) {
12524
27648
    return (void *)((wxObject *)  ((wxPrintData *) x));
12525
27649
}
 
27650
static void *_p_wxRichTextBufferTo_p_wxObject(void *x) {
 
27651
    return (void *)((wxObject *) (wxRichTextObject *)(wxRichTextCompositeObject *)(wxRichTextBox *)(wxRichTextParagraphLayoutBox *) ((wxRichTextBuffer *) x));
 
27652
}
12526
27653
static void *_p_wxFlexGridSizerTo_p_wxObject(void *x) {
12527
27654
    return (void *)((wxObject *) (wxSizer *)(wxGridSizer *) ((wxFlexGridSizer *) x));
12528
27655
}
12589
27716
static void *_p_wxMDIChildFrameTo_p_wxObject(void *x) {
12590
27717
    return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
12591
27718
}
 
27719
static void *_p_wxRichTextCompositeObjectTo_p_wxObject(void *x) {
 
27720
    return (void *)((wxObject *) (wxRichTextObject *) ((wxRichTextCompositeObject *) x));
 
27721
}
12592
27722
static void *_p_wxRichTextCtrlTo_p_wxObject(void *x) {
12593
27723
    return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxRichTextCtrl *) x));
12594
27724
}
12637
27767
static void *_p_wxShowEventTo_p_wxObject(void *x) {
12638
27768
    return (void *)((wxObject *) (wxEvent *) ((wxShowEvent *) x));
12639
27769
}
 
27770
static void *_p_wxRichTextParagraphTo_p_wxObject(void *x) {
 
27771
    return (void *)((wxObject *) (wxRichTextObject *)(wxRichTextCompositeObject *)(wxRichTextBox *) ((wxRichTextParagraph *) x));
 
27772
}
 
27773
static void *_p_wxRichTextPlainTextTo_p_wxObject(void *x) {
 
27774
    return (void *)((wxObject *) (wxRichTextObject *) ((wxRichTextPlainText *) x));
 
27775
}
12640
27776
static void *_p_wxPrinterTo_p_wxObject(void *x) {
12641
27777
    return (void *)((wxObject *)  ((wxPrinter *) x));
12642
27778
}
12721
27857
static void *_p_wxCalculateLayoutEventTo_p_wxObject(void *x) {
12722
27858
    return (void *)((wxObject *) (wxEvent *) ((wxCalculateLayoutEvent *) x));
12723
27859
}
 
27860
static void *_p_wxRichTextBoxTo_p_wxObject(void *x) {
 
27861
    return (void *)((wxObject *) (wxRichTextObject *)(wxRichTextCompositeObject *) ((wxRichTextBox *) x));
 
27862
}
 
27863
static void *_p_wxRichTextFileHandlerTo_p_wxObject(void *x) {
 
27864
    return (void *)((wxObject *)  ((wxRichTextFileHandler *) x));
 
27865
}
 
27866
static void *_p_wxRichTextPlainTextHandlerTo_p_wxObject(void *x) {
 
27867
    return (void *)((wxObject *) (wxRichTextFileHandler *) ((wxRichTextPlainTextHandler *) x));
 
27868
}
 
27869
static void *_p_wxRichTextHTMLHandlerTo_p_wxObject(void *x) {
 
27870
    return (void *)((wxObject *) (wxRichTextFileHandler *) ((wxRichTextHTMLHandler *) x));
 
27871
}
 
27872
static void *_p_wxRichTextXMLHandlerTo_p_wxObject(void *x) {
 
27873
    return (void *)((wxObject *) (wxRichTextFileHandler *) ((wxRichTextXMLHandler *) x));
 
27874
}
12724
27875
static void *_p_wxPyVListBoxTo_p_wxObject(void *x) {
12725
27876
    return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
12726
27877
}
12757
27908
static void *_p_wxStatusBarTo_p_wxObject(void *x) {
12758
27909
    return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxStatusBar *) x));
12759
27910
}
 
27911
static void *_p_wxRichTextRendererTo_p_wxObject(void *x) {
 
27912
    return (void *)((wxObject *)  ((wxRichTextRenderer *) x));
 
27913
}
 
27914
static void *_p_wxRichTextStdRendererTo_p_wxObject(void *x) {
 
27915
    return (void *)((wxObject *) (wxRichTextRenderer *) ((wxRichTextStdRenderer *) x));
 
27916
}
 
27917
static void *_p_wxRichTextImageTo_p_wxObject(void *x) {
 
27918
    return (void *)((wxObject *) (wxRichTextObject *) ((wxRichTextImage *) x));
 
27919
}
12760
27920
static void *_p_wxMDIParentFrameTo_p_wxObject(void *x) {
12761
27921
    return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
12762
27922
}
 
27923
static void *_p_wxRichTextObjectTo_p_wxObject(void *x) {
 
27924
    return (void *)((wxObject *)  ((wxRichTextObject *) x));
 
27925
}
12763
27926
static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x) {
12764
27927
    return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowDestroyEvent *) x));
12765
27928
}
12901
28064
static void *_p_wxValidatorTo_p_wxObject(void *x) {
12902
28065
    return (void *)((wxObject *) (wxEvtHandler *) ((wxValidator *) x));
12903
28066
}
12904
 
static void *_p_wxSplashScreenTo_p_wxEvtHandler(void *x) {
12905
 
    return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
12906
 
}
12907
 
static void *_p_wxMiniFrameTo_p_wxEvtHandler(void *x) {
12908
 
    return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
12909
 
}
12910
 
static void *_p_wxPyPanelTo_p_wxEvtHandler(void *x) {
12911
 
    return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyPanel *) x));
12912
 
}
12913
 
static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x) {
12914
 
    return (void *)((wxEvtHandler *) (wxWindow *) ((wxMenuBar *) x));
12915
 
}
12916
 
static void *_p_wxValidatorTo_p_wxEvtHandler(void *x) {
12917
 
    return (void *)((wxEvtHandler *)  ((wxValidator *) x));
12918
 
}
12919
 
static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x) {
12920
 
    return (void *)((wxEvtHandler *) (wxValidator *) ((wxPyValidator *) x));
12921
 
}
12922
 
static void *_p_wxMenuTo_p_wxEvtHandler(void *x) {
12923
 
    return (void *)((wxEvtHandler *)  ((wxMenu *) x));
12924
 
}
12925
 
static void *_p_wxTextEntryDialogTo_p_wxEvtHandler(void *x) {
12926
 
    return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
12927
 
}
12928
 
static void *_p_wxSingleChoiceDialogTo_p_wxEvtHandler(void *x) {
12929
 
    return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
12930
 
}
12931
 
static void *_p_wxMultiChoiceDialogTo_p_wxEvtHandler(void *x) {
12932
 
    return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
12933
 
}
12934
 
static void *_p_wxFileDialogTo_p_wxEvtHandler(void *x) {
12935
 
    return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
12936
 
}
12937
 
static void *_p_wxPasswordEntryDialogTo_p_wxEvtHandler(void *x) {
12938
 
    return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
12939
 
}
12940
 
static void *_p_wxNumberEntryDialogTo_p_wxEvtHandler(void *x) {
12941
 
    return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxNumberEntryDialog *) x));
12942
 
}
12943
 
static void *_p_wxMessageDialogTo_p_wxEvtHandler(void *x) {
12944
 
    return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
12945
 
}
12946
 
static void *_p_wxProgressDialogTo_p_wxEvtHandler(void *x) {
12947
 
    return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
12948
 
}
12949
 
static void *_p_wxFindReplaceDialogTo_p_wxEvtHandler(void *x) {
12950
 
    return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
12951
 
}
12952
 
static void *_p_wxPanelTo_p_wxEvtHandler(void *x) {
12953
 
    return (void *)((wxEvtHandler *) (wxWindow *) ((wxPanel *) x));
12954
 
}
12955
 
static void *_p_wxStatusBarTo_p_wxEvtHandler(void *x) {
12956
 
    return (void *)((wxEvtHandler *) (wxWindow *) ((wxStatusBar *) x));
12957
 
}
12958
 
static void *_p_wxPyVScrolledWindowTo_p_wxEvtHandler(void *x) {
12959
 
    return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyVScrolledWindow *) x));
12960
 
}
12961
 
static void *_p_wxTipWindowTo_p_wxEvtHandler(void *x) {
12962
 
    return (void *)((wxEvtHandler *) (wxWindow *)(wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x));
12963
 
}
12964
 
static void *_p_wxPyPopupTransientWindowTo_p_wxEvtHandler(void *x) {
12965
 
    return (void *)((wxEvtHandler *) (wxWindow *)(wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
12966
 
}
12967
 
static void *_p_wxPopupWindowTo_p_wxEvtHandler(void *x) {
12968
 
    return (void *)((wxEvtHandler *) (wxWindow *) ((wxPopupWindow *) x));
12969
 
}
12970
 
static void *_p_wxSashLayoutWindowTo_p_wxEvtHandler(void *x) {
12971
 
    return (void *)((wxEvtHandler *) (wxWindow *)(wxSashWindow *) ((wxSashLayoutWindow *) x));
12972
 
}
12973
 
static void *_p_wxSashWindowTo_p_wxEvtHandler(void *x) {
12974
 
    return (void *)((wxEvtHandler *) (wxWindow *) ((wxSashWindow *) x));
12975
 
}
12976
 
static void *_p_wxSplitterWindowTo_p_wxEvtHandler(void *x) {
12977
 
    return (void *)((wxEvtHandler *) (wxWindow *) ((wxSplitterWindow *) x));
12978
 
}
12979
 
static void *_p_wxSplashScreenWindowTo_p_wxEvtHandler(void *x) {
12980
 
    return (void *)((wxEvtHandler *) (wxWindow *) ((wxSplashScreenWindow *) x));
12981
 
}
12982
 
static void *_p_wxWindowTo_p_wxEvtHandler(void *x) {
12983
 
    return (void *)((wxEvtHandler *)  ((wxWindow *) x));
12984
 
}
12985
 
static void *_p_wxScrolledWindowTo_p_wxEvtHandler(void *x) {
12986
 
    return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxScrolledWindow *) x));
12987
 
}
12988
 
static void *_p_wxTopLevelWindowTo_p_wxEvtHandler(void *x) {
12989
 
    return (void *)((wxEvtHandler *) (wxWindow *) ((wxTopLevelWindow *) x));
12990
 
}
12991
 
static void *_p_wxMDIClientWindowTo_p_wxEvtHandler(void *x) {
12992
 
    return (void *)((wxEvtHandler *) (wxWindow *) ((wxMDIClientWindow *) x));
12993
 
}
12994
 
static void *_p_wxPyScrolledWindowTo_p_wxEvtHandler(void *x) {
12995
 
    return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x));
12996
 
}
12997
 
static void *_p_wxControlTo_p_wxEvtHandler(void *x) {
12998
 
    return (void *)((wxEvtHandler *) (wxWindow *) ((wxControl *) x));
12999
 
}
13000
 
static void *_p_wxPreviewFrameTo_p_wxEvtHandler(void *x) {
13001
 
    return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
13002
 
}
13003
 
static void *_p_wxPyPreviewFrameTo_p_wxEvtHandler(void *x) {
13004
 
    return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
13005
 
}
13006
 
static void *_p_wxMDIChildFrameTo_p_wxEvtHandler(void *x) {
13007
 
    return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
13008
 
}
13009
 
static void *_p_wxPyAppTo_p_wxEvtHandler(void *x) {
13010
 
    return (void *)((wxEvtHandler *)  ((wxPyApp *) x));
13011
 
}
13012
 
static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x) {
13013
 
    return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxControlWithItems *) x));
13014
 
}
13015
 
static void *_p_wxPyWindowTo_p_wxEvtHandler(void *x) {
13016
 
    return (void *)((wxEvtHandler *) (wxWindow *) ((wxPyWindow *) x));
13017
 
}
13018
 
static void *_p_wxPreviewCanvasTo_p_wxEvtHandler(void *x) {
13019
 
    return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
13020
 
}
13021
 
static void *_p_wxSimpleHtmlListBoxTo_p_wxEvtHandler(void *x) {
13022
 
    return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *)(wxPyHtmlListBox *) ((wxSimpleHtmlListBox *) x));
13023
 
}
13024
 
static void *_p_wxPyHtmlListBoxTo_p_wxEvtHandler(void *x) {
13025
 
    return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
13026
 
}
13027
 
static void *_p_wxPyVListBoxTo_p_wxEvtHandler(void *x) {
13028
 
    return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
13029
 
}
13030
 
static void *_p_wxPreviewControlBarTo_p_wxEvtHandler(void *x) {
13031
 
    return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPreviewControlBar *) x));
13032
 
}
13033
 
static void *_p_wxPyPreviewControlBarTo_p_wxEvtHandler(void *x) {
13034
 
    return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
13035
 
}
13036
 
static void *_p_wxPyTaskBarIconTo_p_wxEvtHandler(void *x) {
13037
 
    return (void *)((wxEvtHandler *)  ((wxPyTaskBarIcon *) x));
13038
 
}
13039
 
static void *_p_wxFrameTo_p_wxEvtHandler(void *x) {
13040
 
    return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *) ((wxFrame *) x));
13041
 
}
13042
 
static void *_p_wxDirDialogTo_p_wxEvtHandler(void *x) {
13043
 
    return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
13044
 
}
13045
 
static void *_p_wxColourDialogTo_p_wxEvtHandler(void *x) {
13046
 
    return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
13047
 
}
13048
 
static void *_p_wxDialogTo_p_wxEvtHandler(void *x) {
13049
 
    return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *) ((wxDialog *) x));
13050
 
}
13051
 
static void *_p_wxFontDialogTo_p_wxEvtHandler(void *x) {
13052
 
    return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
13053
 
}
13054
 
static void *_p_wxMDIParentFrameTo_p_wxEvtHandler(void *x) {
13055
 
    return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
13056
 
}
13057
 
static void *_p_wxRichTextCtrlTo_p_wxEvtHandler(void *x) {
13058
 
    return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxRichTextCtrl *) x));
 
28067
static void *_p_wxSplashScreenTo_p_wxWindow(void *x) {
 
28068
    return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
 
28069
}
 
28070
static void *_p_wxMiniFrameTo_p_wxWindow(void *x) {
 
28071
    return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
 
28072
}
 
28073
static void *_p_wxPyPanelTo_p_wxWindow(void *x) {
 
28074
    return (void *)((wxWindow *) (wxPanel *) ((wxPyPanel *) x));
 
28075
}
 
28076
static void *_p_wxMenuBarTo_p_wxWindow(void *x) {
 
28077
    return (void *)((wxWindow *)  ((wxMenuBar *) x));
 
28078
}
 
28079
static void *_p_wxFindReplaceDialogTo_p_wxWindow(void *x) {
 
28080
    return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
 
28081
}
 
28082
static void *_p_wxProgressDialogTo_p_wxWindow(void *x) {
 
28083
    return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
 
28084
}
 
28085
static void *_p_wxMessageDialogTo_p_wxWindow(void *x) {
 
28086
    return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
 
28087
}
 
28088
static void *_p_wxNumberEntryDialogTo_p_wxWindow(void *x) {
 
28089
    return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxNumberEntryDialog *) x));
 
28090
}
 
28091
static void *_p_wxPasswordEntryDialogTo_p_wxWindow(void *x) {
 
28092
    return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
 
28093
}
 
28094
static void *_p_wxTextEntryDialogTo_p_wxWindow(void *x) {
 
28095
    return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
 
28096
}
 
28097
static void *_p_wxSingleChoiceDialogTo_p_wxWindow(void *x) {
 
28098
    return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
 
28099
}
 
28100
static void *_p_wxMultiChoiceDialogTo_p_wxWindow(void *x) {
 
28101
    return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
 
28102
}
 
28103
static void *_p_wxFileDialogTo_p_wxWindow(void *x) {
 
28104
    return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
 
28105
}
 
28106
static void *_p_wxPanelTo_p_wxWindow(void *x) {
 
28107
    return (void *)((wxWindow *)  ((wxPanel *) x));
 
28108
}
 
28109
static void *_p_wxStatusBarTo_p_wxWindow(void *x) {
 
28110
    return (void *)((wxWindow *)  ((wxStatusBar *) x));
 
28111
}
 
28112
static void *_p_wxPyVScrolledWindowTo_p_wxWindow(void *x) {
 
28113
    return (void *)((wxWindow *) (wxPanel *) ((wxPyVScrolledWindow *) x));
 
28114
}
 
28115
static void *_p_wxTipWindowTo_p_wxWindow(void *x) {
 
28116
    return (void *)((wxWindow *) (wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x));
 
28117
}
 
28118
static void *_p_wxPyPopupTransientWindowTo_p_wxWindow(void *x) {
 
28119
    return (void *)((wxWindow *) (wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
 
28120
}
 
28121
static void *_p_wxPopupWindowTo_p_wxWindow(void *x) {
 
28122
    return (void *)((wxWindow *)  ((wxPopupWindow *) x));
 
28123
}
 
28124
static void *_p_wxSashLayoutWindowTo_p_wxWindow(void *x) {
 
28125
    return (void *)((wxWindow *) (wxSashWindow *) ((wxSashLayoutWindow *) x));
 
28126
}
 
28127
static void *_p_wxScrolledWindowTo_p_wxWindow(void *x) {
 
28128
    return (void *)((wxWindow *) (wxPanel *) ((wxScrolledWindow *) x));
 
28129
}
 
28130
static void *_p_wxTopLevelWindowTo_p_wxWindow(void *x) {
 
28131
    return (void *)((wxWindow *)  ((wxTopLevelWindow *) x));
 
28132
}
 
28133
static void *_p_wxSplashScreenWindowTo_p_wxWindow(void *x) {
 
28134
    return (void *)((wxWindow *)  ((wxSplashScreenWindow *) x));
 
28135
}
 
28136
static void *_p_wxSplitterWindowTo_p_wxWindow(void *x) {
 
28137
    return (void *)((wxWindow *)  ((wxSplitterWindow *) x));
 
28138
}
 
28139
static void *_p_wxSashWindowTo_p_wxWindow(void *x) {
 
28140
    return (void *)((wxWindow *)  ((wxSashWindow *) x));
 
28141
}
 
28142
static void *_p_wxMDIClientWindowTo_p_wxWindow(void *x) {
 
28143
    return (void *)((wxWindow *)  ((wxMDIClientWindow *) x));
 
28144
}
 
28145
static void *_p_wxPyScrolledWindowTo_p_wxWindow(void *x) {
 
28146
    return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x));
 
28147
}
 
28148
static void *_p_wxControlTo_p_wxWindow(void *x) {
 
28149
    return (void *)((wxWindow *)  ((wxControl *) x));
 
28150
}
 
28151
static void *_p_wxPreviewFrameTo_p_wxWindow(void *x) {
 
28152
    return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
 
28153
}
 
28154
static void *_p_wxPyPreviewFrameTo_p_wxWindow(void *x) {
 
28155
    return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
 
28156
}
 
28157
static void *_p_wxMDIChildFrameTo_p_wxWindow(void *x) {
 
28158
    return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
 
28159
}
 
28160
static void *_p_wxControlWithItemsTo_p_wxWindow(void *x) {
 
28161
    return (void *)((wxWindow *) (wxControl *) ((wxControlWithItems *) x));
 
28162
}
 
28163
static void *_p_wxPyWindowTo_p_wxWindow(void *x) {
 
28164
    return (void *)((wxWindow *)  ((wxPyWindow *) x));
 
28165
}
 
28166
static void *_p_wxPreviewCanvasTo_p_wxWindow(void *x) {
 
28167
    return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
 
28168
}
 
28169
static void *_p_wxSimpleHtmlListBoxTo_p_wxWindow(void *x) {
 
28170
    return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *)(wxPyHtmlListBox *) ((wxSimpleHtmlListBox *) x));
 
28171
}
 
28172
static void *_p_wxPyHtmlListBoxTo_p_wxWindow(void *x) {
 
28173
    return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
 
28174
}
 
28175
static void *_p_wxPyVListBoxTo_p_wxWindow(void *x) {
 
28176
    return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
 
28177
}
 
28178
static void *_p_wxPreviewControlBarTo_p_wxWindow(void *x) {
 
28179
    return (void *)((wxWindow *) (wxPanel *) ((wxPreviewControlBar *) x));
 
28180
}
 
28181
static void *_p_wxPyPreviewControlBarTo_p_wxWindow(void *x) {
 
28182
    return (void *)((wxWindow *) (wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
 
28183
}
 
28184
static void *_p_wxFrameTo_p_wxWindow(void *x) {
 
28185
    return (void *)((wxWindow *) (wxTopLevelWindow *) ((wxFrame *) x));
 
28186
}
 
28187
static void *_p_wxFontDialogTo_p_wxWindow(void *x) {
 
28188
    return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
 
28189
}
 
28190
static void *_p_wxDirDialogTo_p_wxWindow(void *x) {
 
28191
    return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
 
28192
}
 
28193
static void *_p_wxColourDialogTo_p_wxWindow(void *x) {
 
28194
    return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
 
28195
}
 
28196
static void *_p_wxDialogTo_p_wxWindow(void *x) {
 
28197
    return (void *)((wxWindow *) (wxTopLevelWindow *) ((wxDialog *) x));
 
28198
}
 
28199
static void *_p_wxMDIParentFrameTo_p_wxWindow(void *x) {
 
28200
    return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
 
28201
}
 
28202
static void *_p_wxRichTextCtrlTo_p_wxWindow(void *x) {
 
28203
    return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxRichTextCtrl *) x));
 
28204
}
 
28205
static void *_p_wxPyScrolledWindowTo_p_wxScrolledWindow(void *x) {
 
28206
    return (void *)((wxScrolledWindow *)  ((wxPyScrolledWindow *) x));
 
28207
}
 
28208
static void *_p_wxRichTextCtrlTo_p_wxScrolledWindow(void *x) {
 
28209
    return (void *)((wxScrolledWindow *)  ((wxRichTextCtrl *) x));
 
28210
}
 
28211
static void *_p_wxPreviewCanvasTo_p_wxScrolledWindow(void *x) {
 
28212
    return (void *)((wxScrolledWindow *)  ((wxPreviewCanvas *) x));
 
28213
}
 
28214
static void *_p_wxScrolledWindowTo_p_wxPanel(void *x) {
 
28215
    return (void *)((wxPanel *)  ((wxScrolledWindow *) x));
 
28216
}
 
28217
static void *_p_wxPyVScrolledWindowTo_p_wxPanel(void *x) {
 
28218
    return (void *)((wxPanel *)  ((wxPyVScrolledWindow *) x));
 
28219
}
 
28220
static void *_p_wxPyScrolledWindowTo_p_wxPanel(void *x) {
 
28221
    return (void *)((wxPanel *) (wxScrolledWindow *) ((wxPyScrolledWindow *) x));
 
28222
}
 
28223
static void *_p_wxPyVListBoxTo_p_wxPanel(void *x) {
 
28224
    return (void *)((wxPanel *) (wxPyVScrolledWindow *) ((wxPyVListBox *) x));
 
28225
}
 
28226
static void *_p_wxPyHtmlListBoxTo_p_wxPanel(void *x) {
 
28227
    return (void *)((wxPanel *) (wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
 
28228
}
 
28229
static void *_p_wxSimpleHtmlListBoxTo_p_wxPanel(void *x) {
 
28230
    return (void *)((wxPanel *) (wxPyVScrolledWindow *)(wxPyVListBox *)(wxPyHtmlListBox *) ((wxSimpleHtmlListBox *) x));
 
28231
}
 
28232
static void *_p_wxPyPanelTo_p_wxPanel(void *x) {
 
28233
    return (void *)((wxPanel *)  ((wxPyPanel *) x));
 
28234
}
 
28235
static void *_p_wxRichTextCtrlTo_p_wxPanel(void *x) {
 
28236
    return (void *)((wxPanel *) (wxScrolledWindow *) ((wxRichTextCtrl *) x));
 
28237
}
 
28238
static void *_p_wxPreviewCanvasTo_p_wxPanel(void *x) {
 
28239
    return (void *)((wxPanel *) (wxScrolledWindow *) ((wxPreviewCanvas *) x));
 
28240
}
 
28241
static void *_p_wxPreviewControlBarTo_p_wxPanel(void *x) {
 
28242
    return (void *)((wxPanel *)  ((wxPreviewControlBar *) x));
 
28243
}
 
28244
static void *_p_wxPyPreviewControlBarTo_p_wxPanel(void *x) {
 
28245
    return (void *)((wxPanel *) (wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
13059
28246
}
13060
28247
static void *_p_wxSashEventTo_p_wxCommandEvent(void *x) {
13061
28248
    return (void *)((wxCommandEvent *)  ((wxSashEvent *) x));
13099
28286
static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x) {
13100
28287
    return (void *)((wxCommandEvent *)  ((wxUpdateUIEvent *) x));
13101
28288
}
 
28289
static void *_p_wxPyValidatorTo_p_wxValidator(void *x) {
 
28290
    return (void *)((wxValidator *)  ((wxPyValidator *) x));
 
28291
}
13102
28292
static swig_type_info _swigt__p_char = {"_p_char", "char *", 0, 0, (void*)0, 0};
 
28293
static swig_type_info _swigt__p_double = {"_p_double", "double *|wxDouble *", 0, 0, (void*)0, 0};
13103
28294
static swig_type_info _swigt__p_form_ops_t = {"_p_form_ops_t", "enum form_ops_t *|form_ops_t *", 0, 0, (void*)0, 0};
13104
 
static swig_type_info _swigt__p_int = {"_p_int", "int *|wxEventType *", 0, 0, (void*)0, 0};
 
28295
static swig_type_info _swigt__p_int = {"_p_int", "int *", 0, 0, (void*)0, 0};
13105
28296
static swig_type_info _swigt__p_long = {"_p_long", "long *", 0, 0, (void*)0, 0};
 
28297
static swig_type_info _swigt__p_p_wxRichTextObject = {"_p_p_wxRichTextObject", "wxRichTextObject **", 0, 0, (void*)0, 0};
 
28298
static swig_type_info _swigt__p_p_wxRichTextBox = {"_p_p_wxRichTextBox", 0, 0, 0, 0, 0};
 
28299
static swig_type_info _swigt__p_p_wxRichTextParagraphLayoutBox = {"_p_p_wxRichTextParagraphLayoutBox", 0, 0, 0, 0, 0};
 
28300
static swig_type_info _swigt__p_p_wxRichTextParagraph = {"_p_p_wxRichTextParagraph", 0, 0, 0, 0, 0};
 
28301
static swig_type_info _swigt__p_p_wxRichTextImage = {"_p_p_wxRichTextImage", 0, 0, 0, 0, 0};
 
28302
static swig_type_info _swigt__p_p_wxRichTextBuffer = {"_p_p_wxRichTextBuffer", 0, 0, 0, 0, 0};
 
28303
static swig_type_info _swigt__p_p_wxRichTextPlainText = {"_p_p_wxRichTextPlainText", 0, 0, 0, 0, 0};
 
28304
static swig_type_info _swigt__p_p_wxRichTextCompositeObject = {"_p_p_wxRichTextCompositeObject", 0, 0, 0, 0, 0};
13106
28305
static swig_type_info _swigt__p_unsigned_char = {"_p_unsigned_char", "unsigned char *|byte *", 0, 0, (void*)0, 0};
13107
28306
static swig_type_info _swigt__p_unsigned_int = {"_p_unsigned_int", "unsigned int *|time_t *", 0, 0, (void*)0, 0};
13108
28307
static swig_type_info _swigt__p_unsigned_long = {"_p_unsigned_long", "unsigned long *|wxUIntPtr *", 0, 0, (void*)0, 0};
13109
28308
static swig_type_info _swigt__p_wxArrayInt = {"_p_wxArrayInt", "wxArrayInt *", 0, 0, (void*)0, 0};
 
28309
static swig_type_info _swigt__p_wxArrayString = {"_p_wxArrayString", "wxArrayString *", 0, 0, (void*)0, 0};
13110
28310
static swig_type_info _swigt__p_wxBitmap = {"_p_wxBitmap", "wxBitmap *", 0, 0, (void*)0, 0};
13111
28311
static swig_type_info _swigt__p_wxChar = {"_p_wxChar", "wxChar *", 0, 0, (void*)0, 0};
13112
28312
static swig_type_info _swigt__p_wxColour = {"_p_wxColour", "wxColour *", 0, 0, (void*)0, 0};
13123
28323
static swig_type_info _swigt__p_wxWindowCreateEvent = {"_p_wxWindowCreateEvent", 0, 0, 0, 0, 0};
13124
28324
static swig_type_info _swigt__p_wxFindDialogEvent = {"_p_wxFindDialogEvent", 0, 0, 0, 0, 0};
13125
28325
static swig_type_info _swigt__p_wxUpdateUIEvent = {"_p_wxUpdateUIEvent", 0, 0, 0, 0, 0};
 
28326
static swig_type_info _swigt__p_wxCommandProcessor = {"_p_wxCommandProcessor", "wxCommandProcessor *", 0, 0, (void*)0, 0};
 
28327
static swig_type_info _swigt__p_wxDC = {"_p_wxDC", "wxDC *", 0, 0, (void*)0, 0};
13126
28328
static swig_type_info _swigt__p_wxDuplexMode = {"_p_wxDuplexMode", "enum wxDuplexMode *|wxDuplexMode *", 0, 0, (void*)0, 0};
13127
28329
static swig_type_info _swigt__p_wxEvent = {"_p_wxEvent", "wxEvent *", 0, 0, (void*)0, 0};
13128
28330
static swig_type_info _swigt__p_wxMenuEvent = {"_p_wxMenuEvent", 0, 0, 0, 0, 0};
13160
28362
static swig_type_info _swigt__p_wxMiniFrame = {"_p_wxMiniFrame", 0, 0, 0, 0, 0};
13161
28363
static swig_type_info _swigt__p_wxPyPanel = {"_p_wxPyPanel", 0, 0, 0, 0, 0};
13162
28364
static swig_type_info _swigt__p_wxMenuBar = {"_p_wxMenuBar", 0, 0, 0, 0, 0};
13163
 
static swig_type_info _swigt__p_wxValidator = {"_p_wxValidator", 0, 0, 0, 0, 0};
13164
28365
static swig_type_info _swigt__p_wxPyValidator = {"_p_wxPyValidator", 0, 0, 0, 0, 0};
13165
28366
static swig_type_info _swigt__p_wxNumberEntryDialog = {"_p_wxNumberEntryDialog", 0, 0, 0, 0, 0};
13166
28367
static swig_type_info _swigt__p_wxPasswordEntryDialog = {"_p_wxPasswordEntryDialog", 0, 0, 0, 0, 0};
13206
28407
static swig_type_info _swigt__p_wxMDIParentFrame = {"_p_wxMDIParentFrame", 0, 0, 0, 0, 0};
13207
28408
static swig_type_info _swigt__p_wxFont = {"_p_wxFont", "wxFont *", 0, 0, (void*)0, 0};
13208
28409
static swig_type_info _swigt__p_wxImage = {"_p_wxImage", "wxImage *", 0, 0, (void*)0, 0};
 
28410
static swig_type_info _swigt__p_wxInputStream = {"_p_wxInputStream", "wxInputStream *", 0, 0, (void*)0, 0};
 
28411
static swig_type_info _swigt__p_wxList = {"_p_wxList", "wxList *", 0, 0, (void*)0, 0};
13209
28412
static swig_type_info _swigt__p_wxNotifyEvent = {"_p_wxNotifyEvent", "wxNotifyEvent *", 0, 0, (void*)0, 0};
13210
28413
static swig_type_info _swigt__p_wxObject = {"_p_wxObject", "wxObject *", 0, 0, (void*)0, 0};
 
28414
static swig_type_info _swigt__p_wxIndividualLayoutConstraint = {"_p_wxIndividualLayoutConstraint", 0, 0, 0, 0, 0};
 
28415
static swig_type_info _swigt__p_wxMenuItem = {"_p_wxMenuItem", 0, 0, 0, 0, 0};
 
28416
static swig_type_info _swigt__p_wxPySizer = {"_p_wxPySizer", 0, 0, 0, 0, 0};
 
28417
static swig_type_info _swigt__p_wxLayoutAlgorithm = {"_p_wxLayoutAlgorithm", 0, 0, 0, 0, 0};
 
28418
static swig_type_info _swigt__p_wxFindReplaceData = {"_p_wxFindReplaceData", 0, 0, 0, 0, 0};
 
28419
static swig_type_info _swigt__p_wxPrintDialogData = {"_p_wxPrintDialogData", 0, 0, 0, 0, 0};
 
28420
static swig_type_info _swigt__p_wxPageSetupDialogData = {"_p_wxPageSetupDialogData", 0, 0, 0, 0, 0};
 
28421
static swig_type_info _swigt__p_wxPrinter = {"_p_wxPrinter", 0, 0, 0, 0, 0};
 
28422
static swig_type_info _swigt__p_wxFlexGridSizer = {"_p_wxFlexGridSizer", 0, 0, 0, 0, 0};
 
28423
static swig_type_info _swigt__p_wxGridSizer = {"_p_wxGridSizer", 0, 0, 0, 0, 0};
 
28424
static swig_type_info _swigt__p_wxAcceleratorTable = {"_p_wxAcceleratorTable", 0, 0, 0, 0, 0};
 
28425
static swig_type_info _swigt__p_wxColourData = {"_p_wxColourData", 0, 0, 0, 0, 0};
 
28426
static swig_type_info _swigt__p_wxPyPrintout = {"_p_wxPyPrintout", 0, 0, 0, 0, 0};
 
28427
static swig_type_info _swigt__p_wxStdDialogButtonSizer = {"_p_wxStdDialogButtonSizer", 0, 0, 0, 0, 0};
 
28428
static swig_type_info _swigt__p_wxFontData = {"_p_wxFontData", 0, 0, 0, 0, 0};
 
28429
static swig_type_info _swigt__p_wxPrintData = {"_p_wxPrintData", 0, 0, 0, 0, 0};
 
28430
static swig_type_info _swigt__p_wxFileSystem = {"_p_wxFileSystem", 0, 0, 0, 0, 0};
 
28431
static swig_type_info _swigt__p_wxPrintPreview = {"_p_wxPrintPreview", 0, 0, 0, 0, 0};
 
28432
static swig_type_info _swigt__p_wxPyPrintPreview = {"_p_wxPyPrintPreview", 0, 0, 0, 0, 0};
13211
28433
static swig_type_info _swigt__p_wxLayoutConstraints = {"_p_wxLayoutConstraints", 0, 0, 0, 0, 0};
13212
 
static swig_type_info _swigt__p_wxSizerItem = {"_p_wxSizerItem", 0, 0, 0, 0, 0};
13213
 
static swig_type_info _swigt__p_wxGBSizerItem = {"_p_wxGBSizerItem", 0, 0, 0, 0, 0};
13214
 
static swig_type_info _swigt__p_wxIndividualLayoutConstraint = {"_p_wxIndividualLayoutConstraint", 0, 0, 0, 0, 0};
 
28434
static swig_type_info _swigt__p_wxSizer = {"_p_wxSizer", 0, 0, 0, 0, 0};
 
28435
static swig_type_info _swigt__p_wxBoxSizer = {"_p_wxBoxSizer", 0, 0, 0, 0, 0};
13215
28436
static swig_type_info _swigt__p_wxStaticBoxSizer = {"_p_wxStaticBoxSizer", 0, 0, 0, 0, 0};
13216
 
static swig_type_info _swigt__p_wxBoxSizer = {"_p_wxBoxSizer", 0, 0, 0, 0, 0};
13217
 
static swig_type_info _swigt__p_wxSizer = {"_p_wxSizer", 0, 0, 0, 0, 0};
13218
28437
static swig_type_info _swigt__p_wxGridBagSizer = {"_p_wxGridBagSizer", 0, 0, 0, 0, 0};
13219
 
static swig_type_info _swigt__p_wxFontData = {"_p_wxFontData", 0, 0, 0, 0, 0};
13220
 
static swig_type_info _swigt__p_wxPrintData = {"_p_wxPrintData", 0, 0, 0, 0, 0};
13221
 
static swig_type_info _swigt__p_wxGridSizer = {"_p_wxGridSizer", 0, 0, 0, 0, 0};
13222
 
static swig_type_info _swigt__p_wxFlexGridSizer = {"_p_wxFlexGridSizer", 0, 0, 0, 0, 0};
13223
 
static swig_type_info _swigt__p_wxLayoutAlgorithm = {"_p_wxLayoutAlgorithm", 0, 0, 0, 0, 0};
13224
28438
static swig_type_info _swigt__p_wxFSFile = {"_p_wxFSFile", 0, 0, 0, 0, 0};
13225
 
static swig_type_info _swigt__p_wxFindReplaceData = {"_p_wxFindReplaceData", 0, 0, 0, 0, 0};
13226
 
static swig_type_info _swigt__p_wxPySizer = {"_p_wxPySizer", 0, 0, 0, 0, 0};
13227
 
static swig_type_info _swigt__p_wxColourData = {"_p_wxColourData", 0, 0, 0, 0, 0};
13228
 
static swig_type_info _swigt__p_wxPrinter = {"_p_wxPrinter", 0, 0, 0, 0, 0};
13229
 
static swig_type_info _swigt__p_wxMenuItem = {"_p_wxMenuItem", 0, 0, 0, 0, 0};
13230
 
static swig_type_info _swigt__p_wxCURHandler = {"_p_wxCURHandler", 0, 0, 0, 0, 0};
13231
 
static swig_type_info _swigt__p_wxANIHandler = {"_p_wxANIHandler", 0, 0, 0, 0, 0};
13232
 
static swig_type_info _swigt__p_wxPNGHandler = {"_p_wxPNGHandler", 0, 0, 0, 0, 0};
13233
 
static swig_type_info _swigt__p_wxGIFHandler = {"_p_wxGIFHandler", 0, 0, 0, 0, 0};
13234
 
static swig_type_info _swigt__p_wxPCXHandler = {"_p_wxPCXHandler", 0, 0, 0, 0, 0};
 
28439
static swig_type_info _swigt__p_wxGBSizerItem = {"_p_wxGBSizerItem", 0, 0, 0, 0, 0};
 
28440
static swig_type_info _swigt__p_wxSizerItem = {"_p_wxSizerItem", 0, 0, 0, 0, 0};
 
28441
static swig_type_info _swigt__p_wxPageSetupDialog = {"_p_wxPageSetupDialog", 0, 0, 0, 0, 0};
 
28442
static swig_type_info _swigt__p_wxPrintDialog = {"_p_wxPrintDialog", 0, 0, 0, 0, 0};
13235
28443
static swig_type_info _swigt__p_wxJPEGHandler = {"_p_wxJPEGHandler", 0, 0, 0, 0, 0};
13236
28444
static swig_type_info _swigt__p_wxPNMHandler = {"_p_wxPNMHandler", 0, 0, 0, 0, 0};
 
28445
static swig_type_info _swigt__p_wxPCXHandler = {"_p_wxPCXHandler", 0, 0, 0, 0, 0};
 
28446
static swig_type_info _swigt__p_wxGIFHandler = {"_p_wxGIFHandler", 0, 0, 0, 0, 0};
 
28447
static swig_type_info _swigt__p_wxPNGHandler = {"_p_wxPNGHandler", 0, 0, 0, 0, 0};
 
28448
static swig_type_info _swigt__p_wxANIHandler = {"_p_wxANIHandler", 0, 0, 0, 0, 0};
 
28449
static swig_type_info _swigt__p_wxCURHandler = {"_p_wxCURHandler", 0, 0, 0, 0, 0};
13237
28450
static swig_type_info _swigt__p_wxICOHandler = {"_p_wxICOHandler", 0, 0, 0, 0, 0};
13238
28451
static swig_type_info _swigt__p_wxBMPHandler = {"_p_wxBMPHandler", 0, 0, 0, 0, 0};
13239
28452
static swig_type_info _swigt__p_wxPyImageHandler = {"_p_wxPyImageHandler", 0, 0, 0, 0, 0};
13241
28454
static swig_type_info _swigt__p_wxXPMHandler = {"_p_wxXPMHandler", 0, 0, 0, 0, 0};
13242
28455
static swig_type_info _swigt__p_wxTIFFHandler = {"_p_wxTIFFHandler", 0, 0, 0, 0, 0};
13243
28456
static swig_type_info _swigt__p_wxTGAHandler = {"_p_wxTGAHandler", 0, 0, 0, 0, 0};
13244
 
static swig_type_info _swigt__p_wxAcceleratorTable = {"_p_wxAcceleratorTable", 0, 0, 0, 0, 0};
13245
 
static swig_type_info _swigt__p_wxStdDialogButtonSizer = {"_p_wxStdDialogButtonSizer", 0, 0, 0, 0, 0};
13246
 
static swig_type_info _swigt__p_wxPyPrintout = {"_p_wxPyPrintout", 0, 0, 0, 0, 0};
13247
 
static swig_type_info _swigt__p_wxPrintPreview = {"_p_wxPrintPreview", 0, 0, 0, 0, 0};
13248
 
static swig_type_info _swigt__p_wxPyPrintPreview = {"_p_wxPyPrintPreview", 0, 0, 0, 0, 0};
13249
 
static swig_type_info _swigt__p_wxPageSetupDialog = {"_p_wxPageSetupDialog", 0, 0, 0, 0, 0};
13250
 
static swig_type_info _swigt__p_wxPrintDialog = {"_p_wxPrintDialog", 0, 0, 0, 0, 0};
13251
 
static swig_type_info _swigt__p_wxFileSystem = {"_p_wxFileSystem", 0, 0, 0, 0, 0};
13252
 
static swig_type_info _swigt__p_wxPageSetupDialogData = {"_p_wxPageSetupDialogData", 0, 0, 0, 0, 0};
13253
 
static swig_type_info _swigt__p_wxPrintDialogData = {"_p_wxPrintDialogData", 0, 0, 0, 0, 0};
 
28457
static swig_type_info _swigt__p_wxOutputStream = {"_p_wxOutputStream", "wxOutputStream *", 0, 0, (void*)0, 0};
13254
28458
static swig_type_info _swigt__p_wxPanel = {"_p_wxPanel", "wxPanel *", 0, 0, (void*)0, 0};
13255
28459
static swig_type_info _swigt__p_wxPaperSize = {"_p_wxPaperSize", "enum wxPaperSize *|wxPaperSize *", 0, 0, (void*)0, 0};
13256
 
static swig_type_info _swigt__p_wxRichTextAttr = {"_p_wxRichTextAttr", "wxRichTextAttr *", 0, 0, (void*)0, 0};
 
28460
static swig_type_info _swigt__p_wxPoint = {"_p_wxPoint", "wxPoint *", 0, 0, (void*)0, 0};
 
28461
static swig_type_info _swigt__p_wxRect = {"_p_wxRect", "wxRect *", 0, 0, (void*)0, 0};
 
28462
static swig_type_info _swigt__p_wxRichTextAction = {"_p_wxRichTextAction", "wxRichTextAction *", 0, 0, (void*)0, 0};
 
28463
static swig_type_info _swigt__p_wxRichTextBox = {"_p_wxRichTextBox", "wxRichTextBox *", 0, 0, (void*)0, 0};
13257
28464
static swig_type_info _swigt__p_wxRichTextBuffer = {"_p_wxRichTextBuffer", "wxRichTextBuffer *", 0, 0, (void*)0, 0};
 
28465
static swig_type_info _swigt__p_wxRichTextCommand = {"_p_wxRichTextCommand", "wxRichTextCommand *", 0, 0, (void*)0, 0};
 
28466
static swig_type_info _swigt__p_wxRichTextCompositeObject = {"_p_wxRichTextCompositeObject", "wxRichTextCompositeObject *", 0, 0, (void*)0, 0};
13258
28467
static swig_type_info _swigt__p_wxRichTextCtrl = {"_p_wxRichTextCtrl", "wxRichTextCtrl *", 0, 0, (void*)0, 0};
13259
28468
static swig_type_info _swigt__p_wxRichTextEvent = {"_p_wxRichTextEvent", "wxRichTextEvent *", 0, 0, (void*)0, 0};
 
28469
static swig_type_info _swigt__p_wxRichTextFileHandler = {"_p_wxRichTextFileHandler", "wxRichTextFileHandler *", 0, 0, (void*)0, 0};
 
28470
static swig_type_info _swigt__p_wxRichTextFileHandlerList = {"_p_wxRichTextFileHandlerList", "wxRichTextFileHandlerList *", 0, 0, (void*)0, 0};
 
28471
static swig_type_info _swigt__p_wxRichTextFileHandlerList_iterator = {"_p_wxRichTextFileHandlerList_iterator", "wxRichTextFileHandlerList_iterator *", 0, 0, (void*)0, 0};
 
28472
static swig_type_info _swigt__p_wxRichTextHTMLHandler = {"_p_wxRichTextHTMLHandler", "wxRichTextHTMLHandler *", 0, 0, (void*)0, 0};
 
28473
static swig_type_info _swigt__p_wxRichTextImage = {"_p_wxRichTextImage", "wxRichTextImage *", 0, 0, (void*)0, 0};
13260
28474
static swig_type_info _swigt__p_wxRichTextImageBlock = {"_p_wxRichTextImageBlock", "wxRichTextImageBlock *", 0, 0, (void*)0, 0};
 
28475
static swig_type_info _swigt__p_wxRichTextLine = {"_p_wxRichTextLine", "wxRichTextLine *", 0, 0, (void*)0, 0};
 
28476
static swig_type_info _swigt__p_wxRichTextLineList = {"_p_wxRichTextLineList", "wxRichTextLineList *", 0, 0, (void*)0, 0};
 
28477
static swig_type_info _swigt__p_wxRichTextListStyleDefinition = {"_p_wxRichTextListStyleDefinition", "wxRichTextListStyleDefinition *", 0, 0, (void*)0, 0};
 
28478
static swig_type_info _swigt__p_wxRichTextObject = {"_p_wxRichTextObject", "wxRichTextObject *", 0, 0, (void*)0, 0};
 
28479
static swig_type_info _swigt__p_wxRichTextObjectList = {"_p_wxRichTextObjectList", "wxRichTextObjectList *", 0, 0, (void*)0, 0};
 
28480
static swig_type_info _swigt__p_wxRichTextObjectList_iterator = {"_p_wxRichTextObjectList_iterator", "wxRichTextObjectList_iterator *", 0, 0, (void*)0, 0};
 
28481
static swig_type_info _swigt__p_wxRichTextParagraph = {"_p_wxRichTextParagraph", "wxRichTextParagraph *", 0, 0, (void*)0, 0};
 
28482
static swig_type_info _swigt__p_wxRichTextParagraphLayoutBox = {"_p_wxRichTextParagraphLayoutBox", "wxRichTextParagraphLayoutBox *", 0, 0, (void*)0, 0};
 
28483
static swig_type_info _swigt__p_wxRichTextPlainText = {"_p_wxRichTextPlainText", "wxRichTextPlainText *", 0, 0, (void*)0, 0};
 
28484
static swig_type_info _swigt__p_wxRichTextPlainTextHandler = {"_p_wxRichTextPlainTextHandler", "wxRichTextPlainTextHandler *", 0, 0, (void*)0, 0};
13261
28485
static swig_type_info _swigt__p_wxRichTextRange = {"_p_wxRichTextRange", "wxRichTextRange *", 0, 0, (void*)0, 0};
 
28486
static swig_type_info _swigt__p_wxRichTextRenderer = {"_p_wxRichTextRenderer", "wxRichTextRenderer *", 0, 0, (void*)0, 0};
 
28487
static swig_type_info _swigt__p_wxRichTextStdRenderer = {"_p_wxRichTextStdRenderer", "wxRichTextStdRenderer *", 0, 0, (void*)0, 0};
 
28488
static swig_type_info _swigt__p_wxRichTextStyleDefinition = {"_p_wxRichTextStyleDefinition", "wxRichTextStyleDefinition *", 0, 0, (void*)0, 0};
13262
28489
static swig_type_info _swigt__p_wxRichTextStyleSheet = {"_p_wxRichTextStyleSheet", "wxRichTextStyleSheet *", 0, 0, (void*)0, 0};
 
28490
static swig_type_info _swigt__p_wxRichTextXMLHandler = {"_p_wxRichTextXMLHandler", "wxRichTextXMLHandler *", 0, 0, (void*)0, 0};
13263
28491
static swig_type_info _swigt__p_wxScrolledWindow = {"_p_wxScrolledWindow", "wxScrolledWindow *", 0, 0, (void*)0, 0};
 
28492
static swig_type_info _swigt__p_wxSize = {"_p_wxSize", "wxSize *", 0, 0, (void*)0, 0};
 
28493
static swig_type_info _swigt__p_wxTextAttrEx = {"_p_wxTextAttrEx", "wxTextAttrEx *", 0, 0, (void*)0, 0};
13264
28494
static swig_type_info _swigt__p_wxTextCoord = {"_p_wxTextCoord", "wxTextCoord *", 0, 0, (void*)0, 0};
13265
28495
static swig_type_info _swigt__p_wxTextCtrlHitTestResult = {"_p_wxTextCtrlHitTestResult", "wxTextCtrlHitTestResult *", 0, 0, (void*)0, 0};
 
28496
static swig_type_info _swigt__p_wxValidator = {"_p_wxValidator", "wxValidator *", 0, 0, (void*)0, 0};
13266
28497
static swig_type_info _swigt__p_wxWindow = {"_p_wxWindow", "wxWindow *", 0, 0, (void*)0, 0};
13267
28498
 
13268
28499
static swig_type_info *swig_type_initial[] = {
13269
28500
  &_swigt__p_char,
 
28501
  &_swigt__p_double,
13270
28502
  &_swigt__p_form_ops_t,
13271
28503
  &_swigt__p_int,
13272
28504
  &_swigt__p_long,
 
28505
  &_swigt__p_p_wxRichTextBox,
 
28506
  &_swigt__p_p_wxRichTextBuffer,
 
28507
  &_swigt__p_p_wxRichTextCompositeObject,
 
28508
  &_swigt__p_p_wxRichTextImage,
 
28509
  &_swigt__p_p_wxRichTextObject,
 
28510
  &_swigt__p_p_wxRichTextParagraph,
 
28511
  &_swigt__p_p_wxRichTextParagraphLayoutBox,
 
28512
  &_swigt__p_p_wxRichTextPlainText,
13273
28513
  &_swigt__p_unsigned_char,
13274
28514
  &_swigt__p_unsigned_int,
13275
28515
  &_swigt__p_unsigned_long,
13277
28517
  &_swigt__p_wxAcceleratorTable,
13278
28518
  &_swigt__p_wxActivateEvent,
13279
28519
  &_swigt__p_wxArrayInt,
 
28520
  &_swigt__p_wxArrayString,
13280
28521
  &_swigt__p_wxBMPHandler,
13281
28522
  &_swigt__p_wxBitmap,
13282
28523
  &_swigt__p_wxBoxSizer,
13290
28531
  &_swigt__p_wxColourData,
13291
28532
  &_swigt__p_wxColourDialog,
13292
28533
  &_swigt__p_wxCommandEvent,
 
28534
  &_swigt__p_wxCommandProcessor,
13293
28535
  &_swigt__p_wxContextMenuEvent,
13294
28536
  &_swigt__p_wxControl,
13295
28537
  &_swigt__p_wxControlWithItems,
 
28538
  &_swigt__p_wxDC,
13296
28539
  &_swigt__p_wxDateEvent,
13297
28540
  &_swigt__p_wxDialog,
13298
28541
  &_swigt__p_wxDirDialog,
13325
28568
  &_swigt__p_wxImageHandler,
13326
28569
  &_swigt__p_wxIndividualLayoutConstraint,
13327
28570
  &_swigt__p_wxInitDialogEvent,
 
28571
  &_swigt__p_wxInputStream,
13328
28572
  &_swigt__p_wxJPEGHandler,
13329
28573
  &_swigt__p_wxKeyEvent,
13330
28574
  &_swigt__p_wxLayoutAlgorithm,
13331
28575
  &_swigt__p_wxLayoutConstraints,
 
28576
  &_swigt__p_wxList,
13332
28577
  &_swigt__p_wxMDIChildFrame,
13333
28578
  &_swigt__p_wxMDIClientWindow,
13334
28579
  &_swigt__p_wxMDIParentFrame,
13349
28594
  &_swigt__p_wxNotifyEvent,
13350
28595
  &_swigt__p_wxNumberEntryDialog,
13351
28596
  &_swigt__p_wxObject,
 
28597
  &_swigt__p_wxOutputStream,
13352
28598
  &_swigt__p_wxPCXHandler,
13353
28599
  &_swigt__p_wxPNGHandler,
13354
28600
  &_swigt__p_wxPNMHandler,
13359
28605
  &_swigt__p_wxPanel,
13360
28606
  &_swigt__p_wxPaperSize,
13361
28607
  &_swigt__p_wxPasswordEntryDialog,
 
28608
  &_swigt__p_wxPoint,
13362
28609
  &_swigt__p_wxPopupWindow,
13363
28610
  &_swigt__p_wxPreviewCanvas,
13364
28611
  &_swigt__p_wxPreviewControlBar,
13389
28636
  &_swigt__p_wxPyWindow,
13390
28637
  &_swigt__p_wxQueryLayoutInfoEvent,
13391
28638
  &_swigt__p_wxQueryNewPaletteEvent,
13392
 
  &_swigt__p_wxRichTextAttr,
 
28639
  &_swigt__p_wxRect,
 
28640
  &_swigt__p_wxRichTextAction,
 
28641
  &_swigt__p_wxRichTextBox,
13393
28642
  &_swigt__p_wxRichTextBuffer,
 
28643
  &_swigt__p_wxRichTextCommand,
 
28644
  &_swigt__p_wxRichTextCompositeObject,
13394
28645
  &_swigt__p_wxRichTextCtrl,
13395
28646
  &_swigt__p_wxRichTextEvent,
 
28647
  &_swigt__p_wxRichTextFileHandler,
 
28648
  &_swigt__p_wxRichTextFileHandlerList,
 
28649
  &_swigt__p_wxRichTextFileHandlerList_iterator,
 
28650
  &_swigt__p_wxRichTextHTMLHandler,
 
28651
  &_swigt__p_wxRichTextImage,
13396
28652
  &_swigt__p_wxRichTextImageBlock,
 
28653
  &_swigt__p_wxRichTextLine,
 
28654
  &_swigt__p_wxRichTextLineList,
 
28655
  &_swigt__p_wxRichTextListStyleDefinition,
 
28656
  &_swigt__p_wxRichTextObject,
 
28657
  &_swigt__p_wxRichTextObjectList,
 
28658
  &_swigt__p_wxRichTextObjectList_iterator,
 
28659
  &_swigt__p_wxRichTextParagraph,
 
28660
  &_swigt__p_wxRichTextParagraphLayoutBox,
 
28661
  &_swigt__p_wxRichTextPlainText,
 
28662
  &_swigt__p_wxRichTextPlainTextHandler,
13397
28663
  &_swigt__p_wxRichTextRange,
 
28664
  &_swigt__p_wxRichTextRenderer,
 
28665
  &_swigt__p_wxRichTextStdRenderer,
 
28666
  &_swigt__p_wxRichTextStyleDefinition,
13398
28667
  &_swigt__p_wxRichTextStyleSheet,
 
28668
  &_swigt__p_wxRichTextXMLHandler,
13399
28669
  &_swigt__p_wxSashEvent,
13400
28670
  &_swigt__p_wxSashLayoutWindow,
13401
28671
  &_swigt__p_wxSashWindow,
13406
28676
  &_swigt__p_wxShowEvent,
13407
28677
  &_swigt__p_wxSimpleHtmlListBox,
13408
28678
  &_swigt__p_wxSingleChoiceDialog,
 
28679
  &_swigt__p_wxSize,
13409
28680
  &_swigt__p_wxSizeEvent,
13410
28681
  &_swigt__p_wxSizer,
13411
28682
  &_swigt__p_wxSizerItem,
13420
28691
  &_swigt__p_wxTGAHandler,
13421
28692
  &_swigt__p_wxTIFFHandler,
13422
28693
  &_swigt__p_wxTaskBarIconEvent,
 
28694
  &_swigt__p_wxTextAttrEx,
13423
28695
  &_swigt__p_wxTextCoord,
13424
28696
  &_swigt__p_wxTextCtrlHitTestResult,
13425
28697
  &_swigt__p_wxTextEntryDialog,
13434
28706
};
13435
28707
 
13436
28708
static swig_cast_info _swigc__p_char[] = {  {&_swigt__p_char, 0, 0, 0},{0, 0, 0, 0}};
 
28709
static swig_cast_info _swigc__p_double[] = {  {&_swigt__p_double, 0, 0, 0},{0, 0, 0, 0}};
13437
28710
static swig_cast_info _swigc__p_form_ops_t[] = {  {&_swigt__p_form_ops_t, 0, 0, 0},{0, 0, 0, 0}};
13438
28711
static swig_cast_info _swigc__p_int[] = {  {&_swigt__p_int, 0, 0, 0},{0, 0, 0, 0}};
13439
28712
static swig_cast_info _swigc__p_long[] = {  {&_swigt__p_long, 0, 0, 0},{0, 0, 0, 0}};
 
28713
static swig_cast_info _swigc__p_p_wxRichTextBox[] = {{&_swigt__p_p_wxRichTextBox, 0, 0, 0},{0, 0, 0, 0}};
 
28714
static swig_cast_info _swigc__p_p_wxRichTextParagraphLayoutBox[] = {{&_swigt__p_p_wxRichTextParagraphLayoutBox, 0, 0, 0},{0, 0, 0, 0}};
 
28715
static swig_cast_info _swigc__p_p_wxRichTextParagraph[] = {{&_swigt__p_p_wxRichTextParagraph, 0, 0, 0},{0, 0, 0, 0}};
 
28716
static swig_cast_info _swigc__p_p_wxRichTextImage[] = {{&_swigt__p_p_wxRichTextImage, 0, 0, 0},{0, 0, 0, 0}};
 
28717
static swig_cast_info _swigc__p_p_wxRichTextBuffer[] = {{&_swigt__p_p_wxRichTextBuffer, 0, 0, 0},{0, 0, 0, 0}};
 
28718
static swig_cast_info _swigc__p_p_wxRichTextPlainText[] = {{&_swigt__p_p_wxRichTextPlainText, 0, 0, 0},{0, 0, 0, 0}};
 
28719
static swig_cast_info _swigc__p_p_wxRichTextCompositeObject[] = {{&_swigt__p_p_wxRichTextCompositeObject, 0, 0, 0},{0, 0, 0, 0}};
 
28720
static swig_cast_info _swigc__p_p_wxRichTextObject[] = {  {&_swigt__p_p_wxRichTextBox, _p_p_wxRichTextBoxTo_p_p_wxRichTextObject, 0, 0},  {&_swigt__p_p_wxRichTextParagraphLayoutBox, _p_p_wxRichTextParagraphLayoutBoxTo_p_p_wxRichTextObject, 0, 0},  {&_swigt__p_p_wxRichTextParagraph, _p_p_wxRichTextParagraphTo_p_p_wxRichTextObject, 0, 0},  {&_swigt__p_p_wxRichTextImage, _p_p_wxRichTextImageTo_p_p_wxRichTextObject, 0, 0},  {&_swigt__p_p_wxRichTextBuffer, _p_p_wxRichTextBufferTo_p_p_wxRichTextObject, 0, 0},  {&_swigt__p_p_wxRichTextObject, 0, 0, 0},  {&_swigt__p_p_wxRichTextPlainText, _p_p_wxRichTextPlainTextTo_p_p_wxRichTextObject, 0, 0},  {&_swigt__p_p_wxRichTextCompositeObject, _p_p_wxRichTextCompositeObjectTo_p_p_wxRichTextObject, 0, 0},{0, 0, 0, 0}};
13440
28721
static swig_cast_info _swigc__p_unsigned_char[] = {  {&_swigt__p_unsigned_char, 0, 0, 0},{0, 0, 0, 0}};
13441
28722
static swig_cast_info _swigc__p_unsigned_int[] = {  {&_swigt__p_unsigned_int, 0, 0, 0},{0, 0, 0, 0}};
13442
28723
static swig_cast_info _swigc__p_unsigned_long[] = {  {&_swigt__p_unsigned_long, 0, 0, 0},{0, 0, 0, 0}};
13443
28724
static swig_cast_info _swigc__p_wxArrayInt[] = {  {&_swigt__p_wxArrayInt, 0, 0, 0},{0, 0, 0, 0}};
 
28725
static swig_cast_info _swigc__p_wxArrayString[] = {  {&_swigt__p_wxArrayString, 0, 0, 0},{0, 0, 0, 0}};
13444
28726
static swig_cast_info _swigc__p_wxBitmap[] = {  {&_swigt__p_wxBitmap, 0, 0, 0},{0, 0, 0, 0}};
13445
28727
static swig_cast_info _swigc__p_wxChar[] = {  {&_swigt__p_wxChar, 0, 0, 0},{0, 0, 0, 0}};
13446
28728
static swig_cast_info _swigc__p_wxColour[] = {  {&_swigt__p_wxColour, 0, 0, 0},{0, 0, 0, 0}};
13457
28739
static swig_cast_info _swigc__p_wxFindDialogEvent[] = {{&_swigt__p_wxFindDialogEvent, 0, 0, 0},{0, 0, 0, 0}};
13458
28740
static swig_cast_info _swigc__p_wxUpdateUIEvent[] = {{&_swigt__p_wxUpdateUIEvent, 0, 0, 0},{0, 0, 0, 0}};
13459
28741
static swig_cast_info _swigc__p_wxCommandEvent[] = {  {&_swigt__p_wxSashEvent, _p_wxSashEventTo_p_wxCommandEvent, 0, 0},  {&_swigt__p_wxWindowDestroyEvent, _p_wxWindowDestroyEventTo_p_wxCommandEvent, 0, 0},  {&_swigt__p_wxSplitterEvent, _p_wxSplitterEventTo_p_wxCommandEvent, 0, 0},  {&_swigt__p_wxRichTextEvent, _p_wxRichTextEventTo_p_wxCommandEvent, 0, 0},  {&_swigt__p_wxClipboardTextEvent, _p_wxClipboardTextEventTo_p_wxCommandEvent, 0, 0},  {&_swigt__p_wxScrollEvent, _p_wxScrollEventTo_p_wxCommandEvent, 0, 0},  {&_swigt__p_wxPyCommandEvent, _p_wxPyCommandEventTo_p_wxCommandEvent, 0, 0},  {&_swigt__p_wxCommandEvent, 0, 0, 0},  {&_swigt__p_wxContextMenuEvent, _p_wxContextMenuEventTo_p_wxCommandEvent, 0, 0},  {&_swigt__p_wxChildFocusEvent, _p_wxChildFocusEventTo_p_wxCommandEvent, 0, 0},  {&_swigt__p_wxDateEvent, _p_wxDateEventTo_p_wxCommandEvent, 0, 0},  {&_swigt__p_wxWindowCreateEvent, _p_wxWindowCreateEventTo_p_wxCommandEvent, 0, 0},  {&_swigt__p_wxNotifyEvent, _p_wxNotifyEventTo_p_wxCommandEvent, 0, 0},  {&_swigt__p_wxFindDialogEvent, _p_wxFindDialogEventTo_p_wxCommandEvent, 0, 0},  {&_swigt__p_wxUpdateUIEvent, _p_wxUpdateUIEventTo_p_wxCommandEvent, 0, 0},{0, 0, 0, 0}};
 
28742
static swig_cast_info _swigc__p_wxCommandProcessor[] = {  {&_swigt__p_wxCommandProcessor, 0, 0, 0},{0, 0, 0, 0}};
 
28743
static swig_cast_info _swigc__p_wxDC[] = {  {&_swigt__p_wxDC, 0, 0, 0},{0, 0, 0, 0}};
13460
28744
static swig_cast_info _swigc__p_wxDuplexMode[] = {  {&_swigt__p_wxDuplexMode, 0, 0, 0},{0, 0, 0, 0}};
13461
28745
static swig_cast_info _swigc__p_wxMenuEvent[] = {{&_swigt__p_wxMenuEvent, 0, 0, 0},{0, 0, 0, 0}};
13462
28746
static swig_cast_info _swigc__p_wxCloseEvent[] = {{&_swigt__p_wxCloseEvent, 0, 0, 0},{0, 0, 0, 0}};
13493
28777
static swig_cast_info _swigc__p_wxMiniFrame[] = {{&_swigt__p_wxMiniFrame, 0, 0, 0},{0, 0, 0, 0}};
13494
28778
static swig_cast_info _swigc__p_wxPyPanel[] = {{&_swigt__p_wxPyPanel, 0, 0, 0},{0, 0, 0, 0}};
13495
28779
static swig_cast_info _swigc__p_wxMenuBar[] = {{&_swigt__p_wxMenuBar, 0, 0, 0},{0, 0, 0, 0}};
13496
 
static swig_cast_info _swigc__p_wxValidator[] = {{&_swigt__p_wxValidator, 0, 0, 0},{0, 0, 0, 0}};
13497
28780
static swig_cast_info _swigc__p_wxPyValidator[] = {{&_swigt__p_wxPyValidator, 0, 0, 0},{0, 0, 0, 0}};
13498
28781
static swig_cast_info _swigc__p_wxNumberEntryDialog[] = {{&_swigt__p_wxNumberEntryDialog, 0, 0, 0},{0, 0, 0, 0}};
13499
28782
static swig_cast_info _swigc__p_wxPasswordEntryDialog[] = {{&_swigt__p_wxPasswordEntryDialog, 0, 0, 0},{0, 0, 0, 0}};
13540
28823
static swig_cast_info _swigc__p_wxEvtHandler[] = {  {&_swigt__p_wxSplashScreen, _p_wxSplashScreenTo_p_wxEvtHandler, 0, 0},  {&_swigt__p_wxMiniFrame, _p_wxMiniFrameTo_p_wxEvtHandler, 0, 0},  {&_swigt__p_wxPyPanel, _p_wxPyPanelTo_p_wxEvtHandler, 0, 0},  {&_swigt__p_wxMenuBar, _p_wxMenuBarTo_p_wxEvtHandler, 0, 0},  {&_swigt__p_wxValidator, _p_wxValidatorTo_p_wxEvtHandler, 0, 0},  {&_swigt__p_wxPyValidator, _p_wxPyValidatorTo_p_wxEvtHandler, 0, 0},  {&_swigt__p_wxNumberEntryDialog, _p_wxNumberEntryDialogTo_p_wxEvtHandler, 0, 0},  {&_swigt__p_wxPasswordEntryDialog, _p_wxPasswordEntryDialogTo_p_wxEvtHandler, 0, 0},  {&_swigt__p_wxFindReplaceDialog, _p_wxFindReplaceDialogTo_p_wxEvtHandler, 0, 0},  {&_swigt__p_wxProgressDialog, _p_wxProgressDialogTo_p_wxEvtHandler, 0, 0},  {&_swigt__p_wxMessageDialog, _p_wxMessageDialogTo_p_wxEvtHandler, 0, 0},  {&_swigt__p_wxTextEntryDialog, _p_wxTextEntryDialogTo_p_wxEvtHandler, 0, 0},  {&_swigt__p_wxSingleChoiceDialog, _p_wxSingleChoiceDialogTo_p_wxEvtHandler, 0, 0},  {&_swigt__p_wxMultiChoiceDialog, _p_wxMultiChoiceDialogTo_p_wxEvtHandler, 0, 0},  {&_swigt__p_wxFileDialog, _p_wxFileDialogTo_p_wxEvtHandler, 0, 0},  {&_swigt__p_wxPanel, _p_wxPanelTo_p_wxEvtHandler, 0, 0},  {&_swigt__p_wxStatusBar, _p_wxStatusBarTo_p_wxEvtHandler, 0, 0},  {&_swigt__p_wxSplashScreenWindow, _p_wxSplashScreenWindowTo_p_wxEvtHandler, 0, 0},  {&_swigt__p_wxSplitterWindow, _p_wxSplitterWindowTo_p_wxEvtHandler, 0, 0},  {&_swigt__p_wxSashWindow, _p_wxSashWindowTo_p_wxEvtHandler, 0, 0},  {&_swigt__p_wxWindow, _p_wxWindowTo_p_wxEvtHandler, 0, 0},  {&_swigt__p_wxTopLevelWindow, _p_wxTopLevelWindowTo_p_wxEvtHandler, 0, 0},  {&_swigt__p_wxMDIClientWindow, _p_wxMDIClientWindowTo_p_wxEvtHandler, 0, 0},  {&_swigt__p_wxPyVScrolledWindow, _p_wxPyVScrolledWindowTo_p_wxEvtHandler, 0, 0},  {&_swigt__p_wxPyScrolledWindow, _p_wxPyScrolledWindowTo_p_wxEvtHandler, 0, 0},  {&_swigt__p_wxScrolledWindow, _p_wxScrolledWindowTo_p_wxEvtHandler, 0, 0},  {&_swigt__p_wxSashLayoutWindow, _p_wxSashLayoutWindowTo_p_wxEvtHandler, 0, 0},  {&_swigt__p_wxPopupWindow, _p_wxPopupWindowTo_p_wxEvtHandler, 0, 0},  {&_swigt__p_wxPyPopupTransientWindow, _p_wxPyPopupTransientWindowTo_p_wxEvtHandler, 0, 0},  {&_swigt__p_wxTipWindow, _p_wxTipWindowTo_p_wxEvtHandler, 0, 0},  {&_swigt__p_wxPyPreviewFrame, _p_wxPyPreviewFrameTo_p_wxEvtHandler, 0, 0},  {&_swigt__p_wxPreviewFrame, _p_wxPreviewFrameTo_p_wxEvtHandler, 0, 0},  {&_swigt__p_wxControl, _p_wxControlTo_p_wxEvtHandler, 0, 0},  {&_swigt__p_wxMDIChildFrame, _p_wxMDIChildFrameTo_p_wxEvtHandler, 0, 0},  {&_swigt__p_wxPyApp, _p_wxPyAppTo_p_wxEvtHandler, 0, 0},  {&_swigt__p_wxControlWithItems, _p_wxControlWithItemsTo_p_wxEvtHandler, 0, 0},  {&_swigt__p_wxEvtHandler, 0, 0, 0},  {&_swigt__p_wxPreviewCanvas, _p_wxPreviewCanvasTo_p_wxEvtHandler, 0, 0},  {&_swigt__p_wxPyWindow, _p_wxPyWindowTo_p_wxEvtHandler, 0, 0},  {&_swigt__p_wxSimpleHtmlListBox, _p_wxSimpleHtmlListBoxTo_p_wxEvtHandler, 0, 0},  {&_swigt__p_wxPyHtmlListBox, _p_wxPyHtmlListBoxTo_p_wxEvtHandler, 0, 0},  {&_swigt__p_wxPyVListBox, _p_wxPyVListBoxTo_p_wxEvtHandler, 0, 0},  {&_swigt__p_wxPyPreviewControlBar, _p_wxPyPreviewControlBarTo_p_wxEvtHandler, 0, 0},  {&_swigt__p_wxPreviewControlBar, _p_wxPreviewControlBarTo_p_wxEvtHandler, 0, 0},  {&_swigt__p_wxPyTaskBarIcon, _p_wxPyTaskBarIconTo_p_wxEvtHandler, 0, 0},  {&_swigt__p_wxFrame, _p_wxFrameTo_p_wxEvtHandler, 0, 0},  {&_swigt__p_wxFontDialog, _p_wxFontDialogTo_p_wxEvtHandler, 0, 0},  {&_swigt__p_wxDirDialog, _p_wxDirDialogTo_p_wxEvtHandler, 0, 0},  {&_swigt__p_wxColourDialog, _p_wxColourDialogTo_p_wxEvtHandler, 0, 0},  {&_swigt__p_wxDialog, _p_wxDialogTo_p_wxEvtHandler, 0, 0},  {&_swigt__p_wxMenu, _p_wxMenuTo_p_wxEvtHandler, 0, 0},  {&_swigt__p_wxMDIParentFrame, _p_wxMDIParentFrameTo_p_wxEvtHandler, 0, 0},  {&_swigt__p_wxRichTextCtrl, _p_wxRichTextCtrlTo_p_wxEvtHandler, 0, 0},{0, 0, 0, 0}};
13541
28824
static swig_cast_info _swigc__p_wxFont[] = {  {&_swigt__p_wxFont, 0, 0, 0},{0, 0, 0, 0}};
13542
28825
static swig_cast_info _swigc__p_wxImage[] = {  {&_swigt__p_wxImage, 0, 0, 0},{0, 0, 0, 0}};
 
28826
static swig_cast_info _swigc__p_wxInputStream[] = {  {&_swigt__p_wxInputStream, 0, 0, 0},{0, 0, 0, 0}};
 
28827
static swig_cast_info _swigc__p_wxList[] = {  {&_swigt__p_wxList, 0, 0, 0},{0, 0, 0, 0}};
13543
28828
static swig_cast_info _swigc__p_wxNotifyEvent[] = {  {&_swigt__p_wxRichTextEvent, _p_wxRichTextEventTo_p_wxNotifyEvent, 0, 0},  {&_swigt__p_wxSplitterEvent, _p_wxSplitterEventTo_p_wxNotifyEvent, 0, 0},  {&_swigt__p_wxNotifyEvent, 0, 0, 0},{0, 0, 0, 0}};
 
28829
static swig_cast_info _swigc__p_wxIndividualLayoutConstraint[] = {{&_swigt__p_wxIndividualLayoutConstraint, 0, 0, 0},{0, 0, 0, 0}};
 
28830
static swig_cast_info _swigc__p_wxMenuItem[] = {{&_swigt__p_wxMenuItem, 0, 0, 0},{0, 0, 0, 0}};
 
28831
static swig_cast_info _swigc__p_wxPySizer[] = {{&_swigt__p_wxPySizer, 0, 0, 0},{0, 0, 0, 0}};
 
28832
static swig_cast_info _swigc__p_wxLayoutAlgorithm[] = {{&_swigt__p_wxLayoutAlgorithm, 0, 0, 0},{0, 0, 0, 0}};
 
28833
static swig_cast_info _swigc__p_wxFindReplaceData[] = {{&_swigt__p_wxFindReplaceData, 0, 0, 0},{0, 0, 0, 0}};
 
28834
static swig_cast_info _swigc__p_wxPrintDialogData[] = {{&_swigt__p_wxPrintDialogData, 0, 0, 0},{0, 0, 0, 0}};
 
28835
static swig_cast_info _swigc__p_wxPageSetupDialogData[] = {{&_swigt__p_wxPageSetupDialogData, 0, 0, 0},{0, 0, 0, 0}};
 
28836
static swig_cast_info _swigc__p_wxPrinter[] = {{&_swigt__p_wxPrinter, 0, 0, 0},{0, 0, 0, 0}};
 
28837
static swig_cast_info _swigc__p_wxFlexGridSizer[] = {{&_swigt__p_wxFlexGridSizer, 0, 0, 0},{0, 0, 0, 0}};
 
28838
static swig_cast_info _swigc__p_wxGridSizer[] = {{&_swigt__p_wxGridSizer, 0, 0, 0},{0, 0, 0, 0}};
 
28839
static swig_cast_info _swigc__p_wxAcceleratorTable[] = {{&_swigt__p_wxAcceleratorTable, 0, 0, 0},{0, 0, 0, 0}};
 
28840
static swig_cast_info _swigc__p_wxColourData[] = {{&_swigt__p_wxColourData, 0, 0, 0},{0, 0, 0, 0}};
 
28841
static swig_cast_info _swigc__p_wxPyPrintout[] = {{&_swigt__p_wxPyPrintout, 0, 0, 0},{0, 0, 0, 0}};
 
28842
static swig_cast_info _swigc__p_wxStdDialogButtonSizer[] = {{&_swigt__p_wxStdDialogButtonSizer, 0, 0, 0},{0, 0, 0, 0}};
 
28843
static swig_cast_info _swigc__p_wxFontData[] = {{&_swigt__p_wxFontData, 0, 0, 0},{0, 0, 0, 0}};
 
28844
static swig_cast_info _swigc__p_wxPrintData[] = {{&_swigt__p_wxPrintData, 0, 0, 0},{0, 0, 0, 0}};
 
28845
static swig_cast_info _swigc__p_wxFileSystem[] = {{&_swigt__p_wxFileSystem, 0, 0, 0},{0, 0, 0, 0}};
 
28846
static swig_cast_info _swigc__p_wxPrintPreview[] = {{&_swigt__p_wxPrintPreview, 0, 0, 0},{0, 0, 0, 0}};
 
28847
static swig_cast_info _swigc__p_wxPyPrintPreview[] = {{&_swigt__p_wxPyPrintPreview, 0, 0, 0},{0, 0, 0, 0}};
13544
28848
static swig_cast_info _swigc__p_wxLayoutConstraints[] = {{&_swigt__p_wxLayoutConstraints, 0, 0, 0},{0, 0, 0, 0}};
13545
 
static swig_cast_info _swigc__p_wxSizerItem[] = {{&_swigt__p_wxSizerItem, 0, 0, 0},{0, 0, 0, 0}};
13546
 
static swig_cast_info _swigc__p_wxGBSizerItem[] = {{&_swigt__p_wxGBSizerItem, 0, 0, 0},{0, 0, 0, 0}};
13547
 
static swig_cast_info _swigc__p_wxIndividualLayoutConstraint[] = {{&_swigt__p_wxIndividualLayoutConstraint, 0, 0, 0},{0, 0, 0, 0}};
 
28849
static swig_cast_info _swigc__p_wxSizer[] = {{&_swigt__p_wxSizer, 0, 0, 0},{0, 0, 0, 0}};
 
28850
static swig_cast_info _swigc__p_wxBoxSizer[] = {{&_swigt__p_wxBoxSizer, 0, 0, 0},{0, 0, 0, 0}};
13548
28851
static swig_cast_info _swigc__p_wxStaticBoxSizer[] = {{&_swigt__p_wxStaticBoxSizer, 0, 0, 0},{0, 0, 0, 0}};
13549
 
static swig_cast_info _swigc__p_wxBoxSizer[] = {{&_swigt__p_wxBoxSizer, 0, 0, 0},{0, 0, 0, 0}};
13550
 
static swig_cast_info _swigc__p_wxSizer[] = {{&_swigt__p_wxSizer, 0, 0, 0},{0, 0, 0, 0}};
13551
28852
static swig_cast_info _swigc__p_wxGridBagSizer[] = {{&_swigt__p_wxGridBagSizer, 0, 0, 0},{0, 0, 0, 0}};
13552
 
static swig_cast_info _swigc__p_wxFontData[] = {{&_swigt__p_wxFontData, 0, 0, 0},{0, 0, 0, 0}};
13553
 
static swig_cast_info _swigc__p_wxPrintData[] = {{&_swigt__p_wxPrintData, 0, 0, 0},{0, 0, 0, 0}};
13554
 
static swig_cast_info _swigc__p_wxGridSizer[] = {{&_swigt__p_wxGridSizer, 0, 0, 0},{0, 0, 0, 0}};
13555
 
static swig_cast_info _swigc__p_wxFlexGridSizer[] = {{&_swigt__p_wxFlexGridSizer, 0, 0, 0},{0, 0, 0, 0}};
13556
 
static swig_cast_info _swigc__p_wxLayoutAlgorithm[] = {{&_swigt__p_wxLayoutAlgorithm, 0, 0, 0},{0, 0, 0, 0}};
13557
28853
static swig_cast_info _swigc__p_wxFSFile[] = {{&_swigt__p_wxFSFile, 0, 0, 0},{0, 0, 0, 0}};
13558
 
static swig_cast_info _swigc__p_wxFindReplaceData[] = {{&_swigt__p_wxFindReplaceData, 0, 0, 0},{0, 0, 0, 0}};
13559
 
static swig_cast_info _swigc__p_wxPySizer[] = {{&_swigt__p_wxPySizer, 0, 0, 0},{0, 0, 0, 0}};
13560
 
static swig_cast_info _swigc__p_wxColourData[] = {{&_swigt__p_wxColourData, 0, 0, 0},{0, 0, 0, 0}};
13561
 
static swig_cast_info _swigc__p_wxPrinter[] = {{&_swigt__p_wxPrinter, 0, 0, 0},{0, 0, 0, 0}};
13562
 
static swig_cast_info _swigc__p_wxMenuItem[] = {{&_swigt__p_wxMenuItem, 0, 0, 0},{0, 0, 0, 0}};
13563
 
static swig_cast_info _swigc__p_wxCURHandler[] = {{&_swigt__p_wxCURHandler, 0, 0, 0},{0, 0, 0, 0}};
13564
 
static swig_cast_info _swigc__p_wxANIHandler[] = {{&_swigt__p_wxANIHandler, 0, 0, 0},{0, 0, 0, 0}};
13565
 
static swig_cast_info _swigc__p_wxPNGHandler[] = {{&_swigt__p_wxPNGHandler, 0, 0, 0},{0, 0, 0, 0}};
13566
 
static swig_cast_info _swigc__p_wxGIFHandler[] = {{&_swigt__p_wxGIFHandler, 0, 0, 0},{0, 0, 0, 0}};
13567
 
static swig_cast_info _swigc__p_wxPCXHandler[] = {{&_swigt__p_wxPCXHandler, 0, 0, 0},{0, 0, 0, 0}};
 
28854
static swig_cast_info _swigc__p_wxGBSizerItem[] = {{&_swigt__p_wxGBSizerItem, 0, 0, 0},{0, 0, 0, 0}};
 
28855
static swig_cast_info _swigc__p_wxSizerItem[] = {{&_swigt__p_wxSizerItem, 0, 0, 0},{0, 0, 0, 0}};
 
28856
static swig_cast_info _swigc__p_wxPageSetupDialog[] = {{&_swigt__p_wxPageSetupDialog, 0, 0, 0},{0, 0, 0, 0}};
 
28857
static swig_cast_info _swigc__p_wxPrintDialog[] = {{&_swigt__p_wxPrintDialog, 0, 0, 0},{0, 0, 0, 0}};
13568
28858
static swig_cast_info _swigc__p_wxJPEGHandler[] = {{&_swigt__p_wxJPEGHandler, 0, 0, 0},{0, 0, 0, 0}};
13569
28859
static swig_cast_info _swigc__p_wxPNMHandler[] = {{&_swigt__p_wxPNMHandler, 0, 0, 0},{0, 0, 0, 0}};
 
28860
static swig_cast_info _swigc__p_wxPCXHandler[] = {{&_swigt__p_wxPCXHandler, 0, 0, 0},{0, 0, 0, 0}};
 
28861
static swig_cast_info _swigc__p_wxGIFHandler[] = {{&_swigt__p_wxGIFHandler, 0, 0, 0},{0, 0, 0, 0}};
 
28862
static swig_cast_info _swigc__p_wxPNGHandler[] = {{&_swigt__p_wxPNGHandler, 0, 0, 0},{0, 0, 0, 0}};
 
28863
static swig_cast_info _swigc__p_wxANIHandler[] = {{&_swigt__p_wxANIHandler, 0, 0, 0},{0, 0, 0, 0}};
 
28864
static swig_cast_info _swigc__p_wxCURHandler[] = {{&_swigt__p_wxCURHandler, 0, 0, 0},{0, 0, 0, 0}};
13570
28865
static swig_cast_info _swigc__p_wxICOHandler[] = {{&_swigt__p_wxICOHandler, 0, 0, 0},{0, 0, 0, 0}};
13571
28866
static swig_cast_info _swigc__p_wxBMPHandler[] = {{&_swigt__p_wxBMPHandler, 0, 0, 0},{0, 0, 0, 0}};
13572
28867
static swig_cast_info _swigc__p_wxPyImageHandler[] = {{&_swigt__p_wxPyImageHandler, 0, 0, 0},{0, 0, 0, 0}};
13574
28869
static swig_cast_info _swigc__p_wxXPMHandler[] = {{&_swigt__p_wxXPMHandler, 0, 0, 0},{0, 0, 0, 0}};
13575
28870
static swig_cast_info _swigc__p_wxTIFFHandler[] = {{&_swigt__p_wxTIFFHandler, 0, 0, 0},{0, 0, 0, 0}};
13576
28871
static swig_cast_info _swigc__p_wxTGAHandler[] = {{&_swigt__p_wxTGAHandler, 0, 0, 0},{0, 0, 0, 0}};
13577
 
static swig_cast_info _swigc__p_wxAcceleratorTable[] = {{&_swigt__p_wxAcceleratorTable, 0, 0, 0},{0, 0, 0, 0}};
13578
 
static swig_cast_info _swigc__p_wxStdDialogButtonSizer[] = {{&_swigt__p_wxStdDialogButtonSizer, 0, 0, 0},{0, 0, 0, 0}};
13579
 
static swig_cast_info _swigc__p_wxPyPrintout[] = {{&_swigt__p_wxPyPrintout, 0, 0, 0},{0, 0, 0, 0}};
13580
 
static swig_cast_info _swigc__p_wxPrintPreview[] = {{&_swigt__p_wxPrintPreview, 0, 0, 0},{0, 0, 0, 0}};
13581
 
static swig_cast_info _swigc__p_wxPyPrintPreview[] = {{&_swigt__p_wxPyPrintPreview, 0, 0, 0},{0, 0, 0, 0}};
13582
 
static swig_cast_info _swigc__p_wxPageSetupDialog[] = {{&_swigt__p_wxPageSetupDialog, 0, 0, 0},{0, 0, 0, 0}};
13583
 
static swig_cast_info _swigc__p_wxPrintDialog[] = {{&_swigt__p_wxPrintDialog, 0, 0, 0},{0, 0, 0, 0}};
13584
 
static swig_cast_info _swigc__p_wxFileSystem[] = {{&_swigt__p_wxFileSystem, 0, 0, 0},{0, 0, 0, 0}};
13585
 
static swig_cast_info _swigc__p_wxPageSetupDialogData[] = {{&_swigt__p_wxPageSetupDialogData, 0, 0, 0},{0, 0, 0, 0}};
13586
 
static swig_cast_info _swigc__p_wxPrintDialogData[] = {{&_swigt__p_wxPrintDialogData, 0, 0, 0},{0, 0, 0, 0}};
13587
 
static swig_cast_info _swigc__p_wxObject[] = {  {&_swigt__p_wxQueryLayoutInfoEvent, _p_wxQueryLayoutInfoEventTo_p_wxObject, 0, 0},  {&_swigt__p_wxLayoutConstraints, _p_wxLayoutConstraintsTo_p_wxObject, 0, 0},  {&_swigt__p_wxPreviewFrame, _p_wxPreviewFrameTo_p_wxObject, 0, 0},  {&_swigt__p_wxPyPreviewFrame, _p_wxPyPreviewFrameTo_p_wxObject, 0, 0},  {&_swigt__p_wxSizerItem, _p_wxSizerItemTo_p_wxObject, 0, 0},  {&_swigt__p_wxGBSizerItem, _p_wxGBSizerItemTo_p_wxObject, 0, 0},  {&_swigt__p_wxScrollEvent, _p_wxScrollEventTo_p_wxObject, 0, 0},  {&_swigt__p_wxIndividualLayoutConstraint, _p_wxIndividualLayoutConstraintTo_p_wxObject, 0, 0},  {&_swigt__p_wxStaticBoxSizer, _p_wxStaticBoxSizerTo_p_wxObject, 0, 0},  {&_swigt__p_wxBoxSizer, _p_wxBoxSizerTo_p_wxObject, 0, 0},  {&_swigt__p_wxSizer, _p_wxSizerTo_p_wxObject, 0, 0},  {&_swigt__p_wxGridBagSizer, _p_wxGridBagSizerTo_p_wxObject, 0, 0},  {&_swigt__p_wxUpdateUIEvent, _p_wxUpdateUIEventTo_p_wxObject, 0, 0},  {&_swigt__p_wxPyPanel, _p_wxPyPanelTo_p_wxObject, 0, 0},  {&_swigt__p_wxMenu, _p_wxMenuTo_p_wxObject, 0, 0},  {&_swigt__p_wxFontData, _p_wxFontDataTo_p_wxObject, 0, 0},  {&_swigt__p_wxPrintData, _p_wxPrintDataTo_p_wxObject, 0, 0},  {&_swigt__p_wxEvent, _p_wxEventTo_p_wxObject, 0, 0},  {&_swigt__p_wxGridSizer, _p_wxGridSizerTo_p_wxObject, 0, 0},  {&_swigt__p_wxFlexGridSizer, _p_wxFlexGridSizerTo_p_wxObject, 0, 0},  {&_swigt__p_wxPyTaskBarIcon, _p_wxPyTaskBarIconTo_p_wxObject, 0, 0},  {&_swigt__p_wxLayoutAlgorithm, _p_wxLayoutAlgorithmTo_p_wxObject, 0, 0},  {&_swigt__p_wxInitDialogEvent, _p_wxInitDialogEventTo_p_wxObject, 0, 0},  {&_swigt__p_wxFindDialogEvent, _p_wxFindDialogEventTo_p_wxObject, 0, 0},  {&_swigt__p_wxPaintEvent, _p_wxPaintEventTo_p_wxObject, 0, 0},  {&_swigt__p_wxNcPaintEvent, _p_wxNcPaintEventTo_p_wxObject, 0, 0},  {&_swigt__p_wxClipboardTextEvent, _p_wxClipboardTextEventTo_p_wxObject, 0, 0},  {&_swigt__p_wxRichTextEvent, _p_wxRichTextEventTo_p_wxObject, 0, 0},  {&_swigt__p_wxPaletteChangedEvent, _p_wxPaletteChangedEventTo_p_wxObject, 0, 0},  {&_swigt__p_wxDisplayChangedEvent, _p_wxDisplayChangedEventTo_p_wxObject, 0, 0},  {&_swigt__p_wxMouseCaptureChangedEvent, _p_wxMouseCaptureChangedEventTo_p_wxObject, 0, 0},  {&_swigt__p_wxSysColourChangedEvent, _p_wxSysColourChangedEventTo_p_wxObject, 0, 0},  {&_swigt__p_wxPreviewCanvas, _p_wxPreviewCanvasTo_p_wxObject, 0, 0},  {&_swigt__p_wxControl, _p_wxControlTo_p_wxObject, 0, 0},  {&_swigt__p_wxSetCursorEvent, _p_wxSetCursorEventTo_p_wxObject, 0, 0},  {&_swigt__p_wxSplitterEvent, _p_wxSplitterEventTo_p_wxObject, 0, 0},  {&_swigt__p_wxFSFile, _p_wxFSFileTo_p_wxObject, 0, 0},  {&_swigt__p_wxFindReplaceData, _p_wxFindReplaceDataTo_p_wxObject, 0, 0},  {&_swigt__p_wxPySizer, _p_wxPySizerTo_p_wxObject, 0, 0},  {&_swigt__p_wxRichTextCtrl, _p_wxRichTextCtrlTo_p_wxObject, 0, 0},  {&_swigt__p_wxMDIChildFrame, _p_wxMDIChildFrameTo_p_wxObject, 0, 0},  {&_swigt__p_wxColourData, _p_wxColourDataTo_p_wxObject, 0, 0},  {&_swigt__p_wxNotifyEvent, _p_wxNotifyEventTo_p_wxObject, 0, 0},  {&_swigt__p_wxPyEvent, _p_wxPyEventTo_p_wxObject, 0, 0},  {&_swigt__p_wxPyWindow, _p_wxPyWindowTo_p_wxObject, 0, 0},  {&_swigt__p_wxSplashScreen, _p_wxSplashScreenTo_p_wxObject, 0, 0},  {&_swigt__p_wxFindReplaceDialog, _p_wxFindReplaceDialogTo_p_wxObject, 0, 0},  {&_swigt__p_wxProgressDialog, _p_wxProgressDialogTo_p_wxObject, 0, 0},  {&_swigt__p_wxMessageDialog, _p_wxMessageDialogTo_p_wxObject, 0, 0},  {&_swigt__p_wxNumberEntryDialog, _p_wxNumberEntryDialogTo_p_wxObject, 0, 0},  {&_swigt__p_wxPasswordEntryDialog, _p_wxPasswordEntryDialogTo_p_wxObject, 0, 0},  {&_swigt__p_wxTextEntryDialog, _p_wxTextEntryDialogTo_p_wxObject, 0, 0},  {&_swigt__p_wxSingleChoiceDialog, _p_wxSingleChoiceDialogTo_p_wxObject, 0, 0},  {&_swigt__p_wxMultiChoiceDialog, _p_wxMultiChoiceDialogTo_p_wxObject, 0, 0},  {&_swigt__p_wxFileDialog, _p_wxFileDialogTo_p_wxObject, 0, 0},  {&_swigt__p_wxShowEvent, _p_wxShowEventTo_p_wxObject, 0, 0},  {&_swigt__p_wxPrinter, _p_wxPrinterTo_p_wxObject, 0, 0},  {&_swigt__p_wxIdleEvent, _p_wxIdleEventTo_p_wxObject, 0, 0},  {&_swigt__p_wxWindowCreateEvent, _p_wxWindowCreateEventTo_p_wxObject, 0, 0},  {&_swigt__p_wxQueryNewPaletteEvent, _p_wxQueryNewPaletteEventTo_p_wxObject, 0, 0},  {&_swigt__p_wxMaximizeEvent, _p_wxMaximizeEventTo_p_wxObject, 0, 0},  {&_swigt__p_wxIconizeEvent, _p_wxIconizeEventTo_p_wxObject, 0, 0},  {&_swigt__p_wxActivateEvent, _p_wxActivateEventTo_p_wxObject, 0, 0},  {&_swigt__p_wxSizeEvent, _p_wxSizeEventTo_p_wxObject, 0, 0},  {&_swigt__p_wxDateEvent, _p_wxDateEventTo_p_wxObject, 0, 0},  {&_swigt__p_wxMoveEvent, _p_wxMoveEventTo_p_wxObject, 0, 0},  {&_swigt__p_wxMenuItem, _p_wxMenuItemTo_p_wxObject, 0, 0},  {&_swigt__p_wxCalculateLayoutEvent, _p_wxCalculateLayoutEventTo_p_wxObject, 0, 0},  {&_swigt__p_wxMouseCaptureLostEvent, _p_wxMouseCaptureLostEventTo_p_wxObject, 0, 0},  {&_swigt__p_wxCURHandler, _p_wxCURHandlerTo_p_wxObject, 0, 0},  {&_swigt__p_wxANIHandler, _p_wxANIHandlerTo_p_wxObject, 0, 0},  {&_swigt__p_wxPNGHandler, _p_wxPNGHandlerTo_p_wxObject, 0, 0},  {&_swigt__p_wxGIFHandler, _p_wxGIFHandlerTo_p_wxObject, 0, 0},  {&_swigt__p_wxPCXHandler, _p_wxPCXHandlerTo_p_wxObject, 0, 0},  {&_swigt__p_wxJPEGHandler, _p_wxJPEGHandlerTo_p_wxObject, 0, 0},  {&_swigt__p_wxPNMHandler, _p_wxPNMHandlerTo_p_wxObject, 0, 0},  {&_swigt__p_wxICOHandler, _p_wxICOHandlerTo_p_wxObject, 0, 0},  {&_swigt__p_wxBMPHandler, _p_wxBMPHandlerTo_p_wxObject, 0, 0},  {&_swigt__p_wxPyImageHandler, _p_wxPyImageHandlerTo_p_wxObject, 0, 0},  {&_swigt__p_wxImageHandler, _p_wxImageHandlerTo_p_wxObject, 0, 0},  {&_swigt__p_wxXPMHandler, _p_wxXPMHandlerTo_p_wxObject, 0, 0},  {&_swigt__p_wxTIFFHandler, _p_wxTIFFHandlerTo_p_wxObject, 0, 0},  {&_swigt__p_wxTGAHandler, _p_wxTGAHandlerTo_p_wxObject, 0, 0},  {&_swigt__p_wxEvtHandler, _p_wxEvtHandlerTo_p_wxObject, 0, 0},  {&_swigt__p_wxPyVListBox, _p_wxPyVListBoxTo_p_wxObject, 0, 0},  {&_swigt__p_wxPyHtmlListBox, _p_wxPyHtmlListBoxTo_p_wxObject, 0, 0},  {&_swigt__p_wxSimpleHtmlListBox, _p_wxSimpleHtmlListBoxTo_p_wxObject, 0, 0},  {&_swigt__p_wxAcceleratorTable, _p_wxAcceleratorTableTo_p_wxObject, 0, 0},  {&_swigt__p_wxStdDialogButtonSizer, _p_wxStdDialogButtonSizerTo_p_wxObject, 0, 0},  {&_swigt__p_wxMiniFrame, _p_wxMiniFrameTo_p_wxObject, 0, 0},  {&_swigt__p_wxImage, _p_wxImageTo_p_wxObject, 0, 0},  {&_swigt__p_wxFrame, _p_wxFrameTo_p_wxObject, 0, 0},  {&_swigt__p_wxPyPrintout, _p_wxPyPrintoutTo_p_wxObject, 0, 0},  {&_swigt__p_wxTaskBarIconEvent, _p_wxTaskBarIconEventTo_p_wxObject, 0, 0},  {&_swigt__p_wxScrollWinEvent, _p_wxScrollWinEventTo_p_wxObject, 0, 0},  {&_swigt__p_wxStatusBar, _p_wxStatusBarTo_p_wxObject, 0, 0},  {&_swigt__p_wxMDIParentFrame, _p_wxMDIParentFrameTo_p_wxObject, 0, 0},  {&_swigt__p_wxObject, 0, 0, 0},  {&_swigt__p_wxKeyEvent, _p_wxKeyEventTo_p_wxObject, 0, 0},  {&_swigt__p_wxNavigationKeyEvent, _p_wxNavigationKeyEventTo_p_wxObject, 0, 0},  {&_swigt__p_wxWindowDestroyEvent, _p_wxWindowDestroyEventTo_p_wxObject, 0, 0},  {&_swigt__p_wxMenuBar, _p_wxMenuBarTo_p_wxObject, 0, 0},  {&_swigt__p_wxScrolledWindow, _p_wxScrolledWindowTo_p_wxObject, 0, 0},  {&_swigt__p_wxPyScrolledWindow, _p_wxPyScrolledWindowTo_p_wxObject, 0, 0},  {&_swigt__p_wxPyVScrolledWindow, _p_wxPyVScrolledWindowTo_p_wxObject, 0, 0},  {&_swigt__p_wxMDIClientWindow, _p_wxMDIClientWindowTo_p_wxObject, 0, 0},  {&_swigt__p_wxTopLevelWindow, _p_wxTopLevelWindowTo_p_wxObject, 0, 0},  {&_swigt__p_wxWindow, _p_wxWindowTo_p_wxObject, 0, 0},  {&_swigt__p_wxSashWindow, _p_wxSashWindowTo_p_wxObject, 0, 0},  {&_swigt__p_wxSplitterWindow, _p_wxSplitterWindowTo_p_wxObject, 0, 0},  {&_swigt__p_wxSplashScreenWindow, _p_wxSplashScreenWindowTo_p_wxObject, 0, 0},  {&_swigt__p_wxSashLayoutWindow, _p_wxSashLayoutWindowTo_p_wxObject, 0, 0},  {&_swigt__p_wxPopupWindow, _p_wxPopupWindowTo_p_wxObject, 0, 0},  {&_swigt__p_wxPyPopupTransientWindow, _p_wxPyPopupTransientWindowTo_p_wxObject, 0, 0},  {&_swigt__p_wxTipWindow, _p_wxTipWindowTo_p_wxObject, 0, 0},  {&_swigt__p_wxSashEvent, _p_wxSashEventTo_p_wxObject, 0, 0},  {&_swigt__p_wxPrintPreview, _p_wxPrintPreviewTo_p_wxObject, 0, 0},  {&_swigt__p_wxPyPrintPreview, _p_wxPyPrintPreviewTo_p_wxObject, 0, 0},  {&_swigt__p_wxPanel, _p_wxPanelTo_p_wxObject, 0, 0},  {&_swigt__p_wxFontDialog, _p_wxFontDialogTo_p_wxObject, 0, 0},  {&_swigt__p_wxDirDialog, _p_wxDirDialogTo_p_wxObject, 0, 0},  {&_swigt__p_wxColourDialog, _p_wxColourDialogTo_p_wxObject, 0, 0},  {&_swigt__p_wxDialog, _p_wxDialogTo_p_wxObject, 0, 0},  {&_swigt__p_wxPageSetupDialog, _p_wxPageSetupDialogTo_p_wxObject, 0, 0},  {&_swigt__p_wxPrintDialog, _p_wxPrintDialogTo_p_wxObject, 0, 0},  {&_swigt__p_wxFileSystem, _p_wxFileSystemTo_p_wxObject, 0, 0},  {&_swigt__p_wxContextMenuEvent, _p_wxContextMenuEventTo_p_wxObject, 0, 0},  {&_swigt__p_wxMenuEvent, _p_wxMenuEventTo_p_wxObject, 0, 0},  {&_swigt__p_wxCloseEvent, _p_wxCloseEventTo_p_wxObject, 0, 0},  {&_swigt__p_wxMouseEvent, _p_wxMouseEventTo_p_wxObject, 0, 0},  {&_swigt__p_wxEraseEvent, _p_wxEraseEventTo_p_wxObject, 0, 0},  {&_swigt__p_wxPyApp, _p_wxPyAppTo_p_wxObject, 0, 0},  {&_swigt__p_wxPyCommandEvent, _p_wxPyCommandEventTo_p_wxObject, 0, 0},  {&_swigt__p_wxCommandEvent, _p_wxCommandEventTo_p_wxObject, 0, 0},  {&_swigt__p_wxPreviewControlBar, _p_wxPreviewControlBarTo_p_wxObject, 0, 0},  {&_swigt__p_wxPyPreviewControlBar, _p_wxPyPreviewControlBarTo_p_wxObject, 0, 0},  {&_swigt__p_wxChildFocusEvent, _p_wxChildFocusEventTo_p_wxObject, 0, 0},  {&_swigt__p_wxFocusEvent, _p_wxFocusEventTo_p_wxObject, 0, 0},  {&_swigt__p_wxDropFilesEvent, _p_wxDropFilesEventTo_p_wxObject, 0, 0},  {&_swigt__p_wxControlWithItems, _p_wxControlWithItemsTo_p_wxObject, 0, 0},  {&_swigt__p_wxPageSetupDialogData, _p_wxPageSetupDialogDataTo_p_wxObject, 0, 0},  {&_swigt__p_wxPrintDialogData, _p_wxPrintDialogDataTo_p_wxObject, 0, 0},  {&_swigt__p_wxValidator, _p_wxValidatorTo_p_wxObject, 0, 0},  {&_swigt__p_wxPyValidator, _p_wxPyValidatorTo_p_wxObject, 0, 0},{0, 0, 0, 0}};
 
28872
static swig_cast_info _swigc__p_wxObject[] = {  {&_swigt__p_wxUpdateUIEvent, _p_wxUpdateUIEventTo_p_wxObject, 0, 0},  {&_swigt__p_wxRichTextPlainText, _p_wxRichTextPlainTextTo_p_wxObject, 0, 0},  {&_swigt__p_wxPreviewCanvas, _p_wxPreviewCanvasTo_p_wxObject, 0, 0},  {&_swigt__p_wxEvent, _p_wxEventTo_p_wxObject, 0, 0},  {&_swigt__p_wxInitDialogEvent, _p_wxInitDialogEventTo_p_wxObject, 0, 0},  {&_swigt__p_wxFindDialogEvent, _p_wxFindDialogEventTo_p_wxObject, 0, 0},  {&_swigt__p_wxIndividualLayoutConstraint, _p_wxIndividualLayoutConstraintTo_p_wxObject, 0, 0},  {&_swigt__p_wxPreviewFrame, _p_wxPreviewFrameTo_p_wxObject, 0, 0},  {&_swigt__p_wxPyPreviewFrame, _p_wxPyPreviewFrameTo_p_wxObject, 0, 0},  {&_swigt__p_wxMenuItem, _p_wxMenuItemTo_p_wxObject, 0, 0},  {&_swigt__p_wxImage, _p_wxImageTo_p_wxObject, 0, 0},  {&_swigt__p_wxPySizer, _p_wxPySizerTo_p_wxObject, 0, 0},  {&_swigt__p_wxLayoutAlgorithm, _p_wxLayoutAlgorithmTo_p_wxObject, 0, 0},  {&_swigt__p_wxPyTaskBarIcon, _p_wxPyTaskBarIconTo_p_wxObject, 0, 0},  {&_swigt__p_wxRichTextBuffer, _p_wxRichTextBufferTo_p_wxObject, 0, 0},  {&_swigt__p_wxPyApp, _p_wxPyAppTo_p_wxObject, 0, 0},  {&_swigt__p_wxRichTextParagraph, _p_wxRichTextParagraphTo_p_wxObject, 0, 0},  {&_swigt__p_wxPyPreviewControlBar, _p_wxPyPreviewControlBarTo_p_wxObject, 0, 0},  {&_swigt__p_wxPreviewControlBar, _p_wxPreviewControlBarTo_p_wxObject, 0, 0},  {&_swigt__p_wxFindReplaceData, _p_wxFindReplaceDataTo_p_wxObject, 0, 0},  {&_swigt__p_wxValidator, _p_wxValidatorTo_p_wxObject, 0, 0},  {&_swigt__p_wxPyValidator, _p_wxPyValidatorTo_p_wxObject, 0, 0},  {&_swigt__p_wxCloseEvent, _p_wxCloseEventTo_p_wxObject, 0, 0},  {&_swigt__p_wxMouseEvent, _p_wxMouseEventTo_p_wxObject, 0, 0},  {&_swigt__p_wxEraseEvent, _p_wxEraseEventTo_p_wxObject, 0, 0},  {&_swigt__p_wxScrollEvent, _p_wxScrollEventTo_p_wxObject, 0, 0},  {&_swigt__p_wxPrintDialogData, _p_wxPrintDialogDataTo_p_wxObject, 0, 0},  {&_swigt__p_wxPageSetupDialogData, _p_wxPageSetupDialogDataTo_p_wxObject, 0, 0},  {&_swigt__p_wxPrinter, _p_wxPrinterTo_p_wxObject, 0, 0},  {&_swigt__p_wxControlWithItems, _p_wxControlWithItemsTo_p_wxObject, 0, 0},  {&_swigt__p_wxObject, 0, 0, 0},  {&_swigt__p_wxRichTextObject, _p_wxRichTextObjectTo_p_wxObject, 0, 0},  {&_swigt__p_wxFlexGridSizer, _p_wxFlexGridSizerTo_p_wxObject, 0, 0},  {&_swigt__p_wxGridSizer, _p_wxGridSizerTo_p_wxObject, 0, 0},  {&_swigt__p_wxAcceleratorTable, _p_wxAcceleratorTableTo_p_wxObject, 0, 0},  {&_swigt__p_wxControl, _p_wxControlTo_p_wxObject, 0, 0},  {&_swigt__p_wxColourData, _p_wxColourDataTo_p_wxObject, 0, 0},  {&_swigt__p_wxIdleEvent, _p_wxIdleEventTo_p_wxObject, 0, 0},  {&_swigt__p_wxWindowCreateEvent, _p_wxWindowCreateEventTo_p_wxObject, 0, 0},  {&_swigt__p_wxQueryNewPaletteEvent, _p_wxQueryNewPaletteEventTo_p_wxObject, 0, 0},  {&_swigt__p_wxMaximizeEvent, _p_wxMaximizeEventTo_p_wxObject, 0, 0},  {&_swigt__p_wxIconizeEvent, _p_wxIconizeEventTo_p_wxObject, 0, 0},  {&_swigt__p_wxActivateEvent, _p_wxActivateEventTo_p_wxObject, 0, 0},  {&_swigt__p_wxSizeEvent, _p_wxSizeEventTo_p_wxObject, 0, 0},  {&_swigt__p_wxMoveEvent, _p_wxMoveEventTo_p_wxObject, 0, 0},  {&_swigt__p_wxDateEvent, _p_wxDateEventTo_p_wxObject, 0, 0},  {&_swigt__p_wxMouseCaptureLostEvent, _p_wxMouseCaptureLostEventTo_p_wxObject, 0, 0},  {&_swigt__p_wxCalculateLayoutEvent, _p_wxCalculateLayoutEventTo_p_wxObject, 0, 0},  {&_swigt__p_wxPyPrintout, _p_wxPyPrintoutTo_p_wxObject, 0, 0},  {&_swigt__p_wxMDIChildFrame, _p_wxMDIChildFrameTo_p_wxObject, 0, 0},  {&_swigt__p_wxStdDialogButtonSizer, _p_wxStdDialogButtonSizerTo_p_wxObject, 0, 0},  {&_swigt__p_wxRichTextCompositeObject, _p_wxRichTextCompositeObjectTo_p_wxObject, 0, 0},  {&_swigt__p_wxMenu, _p_wxMenuTo_p_wxObject, 0, 0},  {&_swigt__p_wxWindowDestroyEvent, _p_wxWindowDestroyEventTo_p_wxObject, 0, 0},  {&_swigt__p_wxNavigationKeyEvent, _p_wxNavigationKeyEventTo_p_wxObject, 0, 0},  {&_swigt__p_wxKeyEvent, _p_wxKeyEventTo_p_wxObject, 0, 0},  {&_swigt__p_wxSashEvent, _p_wxSashEventTo_p_wxObject, 0, 0},  {&_swigt__p_wxPyVListBox, _p_wxPyVListBoxTo_p_wxObject, 0, 0},  {&_swigt__p_wxPyHtmlListBox, _p_wxPyHtmlListBoxTo_p_wxObject, 0, 0},  {&_swigt__p_wxSimpleHtmlListBox, _p_wxSimpleHtmlListBoxTo_p_wxObject, 0, 0},  {&_swigt__p_wxFontData, _p_wxFontDataTo_p_wxObject, 0, 0},  {&_swigt__p_wxPrintData, _p_wxPrintDataTo_p_wxObject, 0, 0},  {&_swigt__p_wxMiniFrame, _p_wxMiniFrameTo_p_wxObject, 0, 0},  {&_swigt__p_wxFrame, _p_wxFrameTo_p_wxObject, 0, 0},  {&_swigt__p_wxPyPanel, _p_wxPyPanelTo_p_wxObject, 0, 0},  {&_swigt__p_wxQueryLayoutInfoEvent, _p_wxQueryLayoutInfoEventTo_p_wxObject, 0, 0},  {&_swigt__p_wxSplashScreen, _p_wxSplashScreenTo_p_wxObject, 0, 0},  {&_swigt__p_wxFileSystem, _p_wxFileSystemTo_p_wxObject, 0, 0},  {&_swigt__p_wxPrintPreview, _p_wxPrintPreviewTo_p_wxObject, 0, 0},  {&_swigt__p_wxPyPrintPreview, _p_wxPyPrintPreviewTo_p_wxObject, 0, 0},  {&_swigt__p_wxLayoutConstraints, _p_wxLayoutConstraintsTo_p_wxObject, 0, 0},  {&_swigt__p_wxSizer, _p_wxSizerTo_p_wxObject, 0, 0},  {&_swigt__p_wxBoxSizer, _p_wxBoxSizerTo_p_wxObject, 0, 0},  {&_swigt__p_wxStaticBoxSizer, _p_wxStaticBoxSizerTo_p_wxObject, 0, 0},  {&_swigt__p_wxGridBagSizer, _p_wxGridBagSizerTo_p_wxObject, 0, 0},  {&_swigt__p_wxPaintEvent, _p_wxPaintEventTo_p_wxObject, 0, 0},  {&_swigt__p_wxNcPaintEvent, _p_wxNcPaintEventTo_p_wxObject, 0, 0},  {&_swigt__p_wxClipboardTextEvent, _p_wxClipboardTextEventTo_p_wxObject, 0, 0},  {&_swigt__p_wxRichTextEvent, _p_wxRichTextEventTo_p_wxObject, 0, 0},  {&_swigt__p_wxFSFile, _p_wxFSFileTo_p_wxObject, 0, 0},  {&_swigt__p_wxSetCursorEvent, _p_wxSetCursorEventTo_p_wxObject, 0, 0},  {&_swigt__p_wxSplitterEvent, _p_wxSplitterEventTo_p_wxObject, 0, 0},  {&_swigt__p_wxRichTextCtrl, _p_wxRichTextCtrlTo_p_wxObject, 0, 0},  {&_swigt__p_wxGBSizerItem, _p_wxGBSizerItemTo_p_wxObject, 0, 0},  {&_swigt__p_wxSizerItem, _p_wxSizerItemTo_p_wxObject, 0, 0},  {&_swigt__p_wxDialog, _p_wxDialogTo_p_wxObject, 0, 0},  {&_swigt__p_wxColourDialog, _p_wxColourDialogTo_p_wxObject, 0, 0},  {&_swigt__p_wxDirDialog, _p_wxDirDialogTo_p_wxObject, 0, 0},  {&_swigt__p_wxFontDialog, _p_wxFontDialogTo_p_wxObject, 0, 0},  {&_swigt__p_wxPageSetupDialog, _p_wxPageSetupDialogTo_p_wxObject, 0, 0},  {&_swigt__p_wxPrintDialog, _p_wxPrintDialogTo_p_wxObject, 0, 0},  {&_swigt__p_wxRichTextImage, _p_wxRichTextImageTo_p_wxObject, 0, 0},  {&_swigt__p_wxPyEvent, _p_wxPyEventTo_p_wxObject, 0, 0},  {&_swigt__p_wxNotifyEvent, _p_wxNotifyEventTo_p_wxObject, 0, 0},  {&_swigt__p_wxJPEGHandler, _p_wxJPEGHandlerTo_p_wxObject, 0, 0},  {&_swigt__p_wxPNMHandler, _p_wxPNMHandlerTo_p_wxObject, 0, 0},  {&_swigt__p_wxPCXHandler, _p_wxPCXHandlerTo_p_wxObject, 0, 0},  {&_swigt__p_wxGIFHandler, _p_wxGIFHandlerTo_p_wxObject, 0, 0},  {&_swigt__p_wxPNGHandler, _p_wxPNGHandlerTo_p_wxObject, 0, 0},  {&_swigt__p_wxANIHandler, _p_wxANIHandlerTo_p_wxObject, 0, 0},  {&_swigt__p_wxCURHandler, _p_wxCURHandlerTo_p_wxObject, 0, 0},  {&_swigt__p_wxICOHandler, _p_wxICOHandlerTo_p_wxObject, 0, 0},  {&_swigt__p_wxBMPHandler, _p_wxBMPHandlerTo_p_wxObject, 0, 0},  {&_swigt__p_wxPyImageHandler, _p_wxPyImageHandlerTo_p_wxObject, 0, 0},  {&_swigt__p_wxImageHandler, _p_wxImageHandlerTo_p_wxObject, 0, 0},  {&_swigt__p_wxXPMHandler, _p_wxXPMHandlerTo_p_wxObject, 0, 0},  {&_swigt__p_wxTIFFHandler, _p_wxTIFFHandlerTo_p_wxObject, 0, 0},  {&_swigt__p_wxTGAHandler, _p_wxTGAHandlerTo_p_wxObject, 0, 0},  {&_swigt__p_wxEvtHandler, _p_wxEvtHandlerTo_p_wxObject, 0, 0},  {&_swigt__p_wxRichTextFileHandler, _p_wxRichTextFileHandlerTo_p_wxObject, 0, 0},  {&_swigt__p_wxRichTextPlainTextHandler, _p_wxRichTextPlainTextHandlerTo_p_wxObject, 0, 0},  {&_swigt__p_wxRichTextHTMLHandler, _p_wxRichTextHTMLHandlerTo_p_wxObject, 0, 0},  {&_swigt__p_wxRichTextXMLHandler, _p_wxRichTextXMLHandlerTo_p_wxObject, 0, 0},  {&_swigt__p_wxShowEvent, _p_wxShowEventTo_p_wxObject, 0, 0},  {&_swigt__p_wxTipWindow, _p_wxTipWindowTo_p_wxObject, 0, 0},  {&_swigt__p_wxPyPopupTransientWindow, _p_wxPyPopupTransientWindowTo_p_wxObject, 0, 0},  {&_swigt__p_wxPopupWindow, _p_wxPopupWindowTo_p_wxObject, 0, 0},  {&_swigt__p_wxSashLayoutWindow, _p_wxSashLayoutWindowTo_p_wxObject, 0, 0},  {&_swigt__p_wxSplashScreenWindow, _p_wxSplashScreenWindowTo_p_wxObject, 0, 0},  {&_swigt__p_wxSplitterWindow, _p_wxSplitterWindowTo_p_wxObject, 0, 0},  {&_swigt__p_wxSashWindow, _p_wxSashWindowTo_p_wxObject, 0, 0},  {&_swigt__p_wxWindow, _p_wxWindowTo_p_wxObject, 0, 0},  {&_swigt__p_wxTopLevelWindow, _p_wxTopLevelWindowTo_p_wxObject, 0, 0},  {&_swigt__p_wxMDIClientWindow, _p_wxMDIClientWindowTo_p_wxObject, 0, 0},  {&_swigt__p_wxPyVScrolledWindow, _p_wxPyVScrolledWindowTo_p_wxObject, 0, 0},  {&_swigt__p_wxPyScrolledWindow, _p_wxPyScrolledWindowTo_p_wxObject, 0, 0},  {&_swigt__p_wxScrolledWindow, _p_wxScrolledWindowTo_p_wxObject, 0, 0},  {&_swigt__p_wxRichTextRenderer, _p_wxRichTextRendererTo_p_wxObject, 0, 0},  {&_swigt__p_wxRichTextStdRenderer, _p_wxRichTextStdRendererTo_p_wxObject, 0, 0},  {&_swigt__p_wxRichTextBox, _p_wxRichTextBoxTo_p_wxObject, 0, 0},  {&_swigt__p_wxRichTextParagraphLayoutBox, _p_wxRichTextParagraphLayoutBoxTo_p_wxObject, 0, 0},  {&_swigt__p_wxNumberEntryDialog, _p_wxNumberEntryDialogTo_p_wxObject, 0, 0},  {&_swigt__p_wxPasswordEntryDialog, _p_wxPasswordEntryDialogTo_p_wxObject, 0, 0},  {&_swigt__p_wxFileDialog, _p_wxFileDialogTo_p_wxObject, 0, 0},  {&_swigt__p_wxMultiChoiceDialog, _p_wxMultiChoiceDialogTo_p_wxObject, 0, 0},  {&_swigt__p_wxSingleChoiceDialog, _p_wxSingleChoiceDialogTo_p_wxObject, 0, 0},  {&_swigt__p_wxTextEntryDialog, _p_wxTextEntryDialogTo_p_wxObject, 0, 0},  {&_swigt__p_wxMessageDialog, _p_wxMessageDialogTo_p_wxObject, 0, 0},  {&_swigt__p_wxProgressDialog, _p_wxProgressDialogTo_p_wxObject, 0, 0},  {&_swigt__p_wxFindReplaceDialog, _p_wxFindReplaceDialogTo_p_wxObject, 0, 0},  {&_swigt__p_wxPyWindow, _p_wxPyWindowTo_p_wxObject, 0, 0},  {&_swigt__p_wxMouseCaptureChangedEvent, _p_wxMouseCaptureChangedEventTo_p_wxObject, 0, 0},  {&_swigt__p_wxSysColourChangedEvent, _p_wxSysColourChangedEventTo_p_wxObject, 0, 0},  {&_swigt__p_wxDisplayChangedEvent, _p_wxDisplayChangedEventTo_p_wxObject, 0, 0},  {&_swigt__p_wxPaletteChangedEvent, _p_wxPaletteChangedEventTo_p_wxObject, 0, 0},  {&_swigt__p_wxPanel, _p_wxPanelTo_p_wxObject, 0, 0},  {&_swigt__p_wxScrollWinEvent, _p_wxScrollWinEventTo_p_wxObject, 0, 0},  {&_swigt__p_wxTaskBarIconEvent, _p_wxTaskBarIconEventTo_p_wxObject, 0, 0},  {&_swigt__p_wxContextMenuEvent, _p_wxContextMenuEventTo_p_wxObject, 0, 0},  {&_swigt__p_wxMenuEvent, _p_wxMenuEventTo_p_wxObject, 0, 0},  {&_swigt__p_wxCommandEvent, _p_wxCommandEventTo_p_wxObject, 0, 0},  {&_swigt__p_wxPyCommandEvent, _p_wxPyCommandEventTo_p_wxObject, 0, 0},  {&_swigt__p_wxStatusBar, _p_wxStatusBarTo_p_wxObject, 0, 0},  {&_swigt__p_wxDropFilesEvent, _p_wxDropFilesEventTo_p_wxObject, 0, 0},  {&_swigt__p_wxFocusEvent, _p_wxFocusEventTo_p_wxObject, 0, 0},  {&_swigt__p_wxChildFocusEvent, _p_wxChildFocusEventTo_p_wxObject, 0, 0},  {&_swigt__p_wxMDIParentFrame, _p_wxMDIParentFrameTo_p_wxObject, 0, 0},  {&_swigt__p_wxMenuBar, _p_wxMenuBarTo_p_wxObject, 0, 0},{0, 0, 0, 0}};
 
28873
static swig_cast_info _swigc__p_wxOutputStream[] = {  {&_swigt__p_wxOutputStream, 0, 0, 0},{0, 0, 0, 0}};
13588
28874
static swig_cast_info _swigc__p_wxPanel[] = {  {&_swigt__p_wxPanel, 0, 0, 0},  {&_swigt__p_wxScrolledWindow, _p_wxScrolledWindowTo_p_wxPanel, 0, 0},  {&_swigt__p_wxPyScrolledWindow, _p_wxPyScrolledWindowTo_p_wxPanel, 0, 0},  {&_swigt__p_wxPyVScrolledWindow, _p_wxPyVScrolledWindowTo_p_wxPanel, 0, 0},  {&_swigt__p_wxRichTextCtrl, _p_wxRichTextCtrlTo_p_wxPanel, 0, 0},  {&_swigt__p_wxPyVListBox, _p_wxPyVListBoxTo_p_wxPanel, 0, 0},  {&_swigt__p_wxPyHtmlListBox, _p_wxPyHtmlListBoxTo_p_wxPanel, 0, 0},  {&_swigt__p_wxSimpleHtmlListBox, _p_wxSimpleHtmlListBoxTo_p_wxPanel, 0, 0},  {&_swigt__p_wxPyPanel, _p_wxPyPanelTo_p_wxPanel, 0, 0},  {&_swigt__p_wxPreviewCanvas, _p_wxPreviewCanvasTo_p_wxPanel, 0, 0},  {&_swigt__p_wxPreviewControlBar, _p_wxPreviewControlBarTo_p_wxPanel, 0, 0},  {&_swigt__p_wxPyPreviewControlBar, _p_wxPyPreviewControlBarTo_p_wxPanel, 0, 0},{0, 0, 0, 0}};
13589
28875
static swig_cast_info _swigc__p_wxPaperSize[] = {  {&_swigt__p_wxPaperSize, 0, 0, 0},{0, 0, 0, 0}};
13590
 
static swig_cast_info _swigc__p_wxRichTextAttr[] = {  {&_swigt__p_wxRichTextAttr, 0, 0, 0},{0, 0, 0, 0}};
 
28876
static swig_cast_info _swigc__p_wxPoint[] = {  {&_swigt__p_wxPoint, 0, 0, 0},{0, 0, 0, 0}};
 
28877
static swig_cast_info _swigc__p_wxRect[] = {  {&_swigt__p_wxRect, 0, 0, 0},{0, 0, 0, 0}};
 
28878
static swig_cast_info _swigc__p_wxRichTextAction[] = {  {&_swigt__p_wxRichTextAction, 0, 0, 0},{0, 0, 0, 0}};
 
28879
static swig_cast_info _swigc__p_wxRichTextBox[] = {  {&_swigt__p_wxRichTextBox, 0, 0, 0},  {&_swigt__p_wxRichTextParagraphLayoutBox, _p_wxRichTextParagraphLayoutBoxTo_p_wxRichTextBox, 0, 0},  {&_swigt__p_wxRichTextBuffer, _p_wxRichTextBufferTo_p_wxRichTextBox, 0, 0},  {&_swigt__p_wxRichTextParagraph, _p_wxRichTextParagraphTo_p_wxRichTextBox, 0, 0},{0, 0, 0, 0}};
13591
28880
static swig_cast_info _swigc__p_wxRichTextBuffer[] = {  {&_swigt__p_wxRichTextBuffer, 0, 0, 0},{0, 0, 0, 0}};
 
28881
static swig_cast_info _swigc__p_wxRichTextCommand[] = {  {&_swigt__p_wxRichTextCommand, 0, 0, 0},{0, 0, 0, 0}};
 
28882
static swig_cast_info _swigc__p_wxRichTextCompositeObject[] = {  {&_swigt__p_wxRichTextBox, _p_wxRichTextBoxTo_p_wxRichTextCompositeObject, 0, 0},  {&_swigt__p_wxRichTextParagraphLayoutBox, _p_wxRichTextParagraphLayoutBoxTo_p_wxRichTextCompositeObject, 0, 0},  {&_swigt__p_wxRichTextBuffer, _p_wxRichTextBufferTo_p_wxRichTextCompositeObject, 0, 0},  {&_swigt__p_wxRichTextParagraph, _p_wxRichTextParagraphTo_p_wxRichTextCompositeObject, 0, 0},  {&_swigt__p_wxRichTextCompositeObject, 0, 0, 0},{0, 0, 0, 0}};
13592
28883
static swig_cast_info _swigc__p_wxRichTextCtrl[] = {  {&_swigt__p_wxRichTextCtrl, 0, 0, 0},{0, 0, 0, 0}};
13593
28884
static swig_cast_info _swigc__p_wxRichTextEvent[] = {  {&_swigt__p_wxRichTextEvent, 0, 0, 0},{0, 0, 0, 0}};
 
28885
static swig_cast_info _swigc__p_wxRichTextFileHandler[] = {  {&_swigt__p_wxRichTextFileHandler, 0, 0, 0},  {&_swigt__p_wxRichTextPlainTextHandler, _p_wxRichTextPlainTextHandlerTo_p_wxRichTextFileHandler, 0, 0},  {&_swigt__p_wxRichTextHTMLHandler, _p_wxRichTextHTMLHandlerTo_p_wxRichTextFileHandler, 0, 0},  {&_swigt__p_wxRichTextXMLHandler, _p_wxRichTextXMLHandlerTo_p_wxRichTextFileHandler, 0, 0},{0, 0, 0, 0}};
 
28886
static swig_cast_info _swigc__p_wxRichTextFileHandlerList[] = {  {&_swigt__p_wxRichTextFileHandlerList, 0, 0, 0},{0, 0, 0, 0}};
 
28887
static swig_cast_info _swigc__p_wxRichTextFileHandlerList_iterator[] = {  {&_swigt__p_wxRichTextFileHandlerList_iterator, 0, 0, 0},{0, 0, 0, 0}};
 
28888
static swig_cast_info _swigc__p_wxRichTextHTMLHandler[] = {  {&_swigt__p_wxRichTextHTMLHandler, 0, 0, 0},{0, 0, 0, 0}};
 
28889
static swig_cast_info _swigc__p_wxRichTextImage[] = {  {&_swigt__p_wxRichTextImage, 0, 0, 0},{0, 0, 0, 0}};
13594
28890
static swig_cast_info _swigc__p_wxRichTextImageBlock[] = {  {&_swigt__p_wxRichTextImageBlock, 0, 0, 0},{0, 0, 0, 0}};
 
28891
static swig_cast_info _swigc__p_wxRichTextLine[] = {  {&_swigt__p_wxRichTextLine, 0, 0, 0},{0, 0, 0, 0}};
 
28892
static swig_cast_info _swigc__p_wxRichTextLineList[] = {  {&_swigt__p_wxRichTextLineList, 0, 0, 0},{0, 0, 0, 0}};
 
28893
static swig_cast_info _swigc__p_wxRichTextListStyleDefinition[] = {  {&_swigt__p_wxRichTextListStyleDefinition, 0, 0, 0},{0, 0, 0, 0}};
 
28894
static swig_cast_info _swigc__p_wxRichTextObject[] = {  {&_swigt__p_wxRichTextBox, _p_wxRichTextBoxTo_p_wxRichTextObject, 0, 0},  {&_swigt__p_wxRichTextParagraphLayoutBox, _p_wxRichTextParagraphLayoutBoxTo_p_wxRichTextObject, 0, 0},  {&_swigt__p_wxRichTextBuffer, _p_wxRichTextBufferTo_p_wxRichTextObject, 0, 0},  {&_swigt__p_wxRichTextParagraph, _p_wxRichTextParagraphTo_p_wxRichTextObject, 0, 0},  {&_swigt__p_wxRichTextImage, _p_wxRichTextImageTo_p_wxRichTextObject, 0, 0},  {&_swigt__p_wxRichTextObject, 0, 0, 0},  {&_swigt__p_wxRichTextPlainText, _p_wxRichTextPlainTextTo_p_wxRichTextObject, 0, 0},  {&_swigt__p_wxRichTextCompositeObject, _p_wxRichTextCompositeObjectTo_p_wxRichTextObject, 0, 0},{0, 0, 0, 0}};
 
28895
static swig_cast_info _swigc__p_wxRichTextObjectList[] = {  {&_swigt__p_wxRichTextObjectList, 0, 0, 0},{0, 0, 0, 0}};
 
28896
static swig_cast_info _swigc__p_wxRichTextObjectList_iterator[] = {  {&_swigt__p_wxRichTextObjectList_iterator, 0, 0, 0},{0, 0, 0, 0}};
 
28897
static swig_cast_info _swigc__p_wxRichTextParagraph[] = {  {&_swigt__p_wxRichTextParagraph, 0, 0, 0},{0, 0, 0, 0}};
 
28898
static swig_cast_info _swigc__p_wxRichTextParagraphLayoutBox[] = {  {&_swigt__p_wxRichTextParagraphLayoutBox, 0, 0, 0},  {&_swigt__p_wxRichTextBuffer, _p_wxRichTextBufferTo_p_wxRichTextParagraphLayoutBox, 0, 0},{0, 0, 0, 0}};
 
28899
static swig_cast_info _swigc__p_wxRichTextPlainText[] = {  {&_swigt__p_wxRichTextPlainText, 0, 0, 0},{0, 0, 0, 0}};
 
28900
static swig_cast_info _swigc__p_wxRichTextPlainTextHandler[] = {  {&_swigt__p_wxRichTextPlainTextHandler, 0, 0, 0},{0, 0, 0, 0}};
13595
28901
static swig_cast_info _swigc__p_wxRichTextRange[] = {  {&_swigt__p_wxRichTextRange, 0, 0, 0},{0, 0, 0, 0}};
 
28902
static swig_cast_info _swigc__p_wxRichTextRenderer[] = {  {&_swigt__p_wxRichTextRenderer, 0, 0, 0},  {&_swigt__p_wxRichTextStdRenderer, _p_wxRichTextStdRendererTo_p_wxRichTextRenderer, 0, 0},{0, 0, 0, 0}};
 
28903
static swig_cast_info _swigc__p_wxRichTextStdRenderer[] = {  {&_swigt__p_wxRichTextStdRenderer, 0, 0, 0},{0, 0, 0, 0}};
 
28904
static swig_cast_info _swigc__p_wxRichTextStyleDefinition[] = {  {&_swigt__p_wxRichTextStyleDefinition, 0, 0, 0},{0, 0, 0, 0}};
13596
28905
static swig_cast_info _swigc__p_wxRichTextStyleSheet[] = {  {&_swigt__p_wxRichTextStyleSheet, 0, 0, 0},{0, 0, 0, 0}};
 
28906
static swig_cast_info _swigc__p_wxRichTextXMLHandler[] = {  {&_swigt__p_wxRichTextXMLHandler, 0, 0, 0},{0, 0, 0, 0}};
13597
28907
static swig_cast_info _swigc__p_wxScrolledWindow[] = {  {&_swigt__p_wxScrolledWindow, 0, 0, 0},  {&_swigt__p_wxPyScrolledWindow, _p_wxPyScrolledWindowTo_p_wxScrolledWindow, 0, 0},  {&_swigt__p_wxRichTextCtrl, _p_wxRichTextCtrlTo_p_wxScrolledWindow, 0, 0},  {&_swigt__p_wxPreviewCanvas, _p_wxPreviewCanvasTo_p_wxScrolledWindow, 0, 0},{0, 0, 0, 0}};
 
28908
static swig_cast_info _swigc__p_wxSize[] = {  {&_swigt__p_wxSize, 0, 0, 0},{0, 0, 0, 0}};
 
28909
static swig_cast_info _swigc__p_wxTextAttrEx[] = {  {&_swigt__p_wxTextAttrEx, 0, 0, 0},{0, 0, 0, 0}};
13598
28910
static swig_cast_info _swigc__p_wxTextCoord[] = {  {&_swigt__p_wxTextCoord, 0, 0, 0},{0, 0, 0, 0}};
13599
28911
static swig_cast_info _swigc__p_wxTextCtrlHitTestResult[] = {  {&_swigt__p_wxTextCtrlHitTestResult, 0, 0, 0},{0, 0, 0, 0}};
 
28912
static swig_cast_info _swigc__p_wxValidator[] = {  {&_swigt__p_wxValidator, 0, 0, 0},  {&_swigt__p_wxPyValidator, _p_wxPyValidatorTo_p_wxValidator, 0, 0},{0, 0, 0, 0}};
13600
28913
static swig_cast_info _swigc__p_wxWindow[] = {  {&_swigt__p_wxSplashScreen, _p_wxSplashScreenTo_p_wxWindow, 0, 0},  {&_swigt__p_wxMiniFrame, _p_wxMiniFrameTo_p_wxWindow, 0, 0},  {&_swigt__p_wxPyPanel, _p_wxPyPanelTo_p_wxWindow, 0, 0},  {&_swigt__p_wxMenuBar, _p_wxMenuBarTo_p_wxWindow, 0, 0},  {&_swigt__p_wxFindReplaceDialog, _p_wxFindReplaceDialogTo_p_wxWindow, 0, 0},  {&_swigt__p_wxProgressDialog, _p_wxProgressDialogTo_p_wxWindow, 0, 0},  {&_swigt__p_wxMessageDialog, _p_wxMessageDialogTo_p_wxWindow, 0, 0},  {&_swigt__p_wxNumberEntryDialog, _p_wxNumberEntryDialogTo_p_wxWindow, 0, 0},  {&_swigt__p_wxPasswordEntryDialog, _p_wxPasswordEntryDialogTo_p_wxWindow, 0, 0},  {&_swigt__p_wxTextEntryDialog, _p_wxTextEntryDialogTo_p_wxWindow, 0, 0},  {&_swigt__p_wxSingleChoiceDialog, _p_wxSingleChoiceDialogTo_p_wxWindow, 0, 0},  {&_swigt__p_wxMultiChoiceDialog, _p_wxMultiChoiceDialogTo_p_wxWindow, 0, 0},  {&_swigt__p_wxFileDialog, _p_wxFileDialogTo_p_wxWindow, 0, 0},  {&_swigt__p_wxPanel, _p_wxPanelTo_p_wxWindow, 0, 0},  {&_swigt__p_wxStatusBar, _p_wxStatusBarTo_p_wxWindow, 0, 0},  {&_swigt__p_wxPyPopupTransientWindow, _p_wxPyPopupTransientWindowTo_p_wxWindow, 0, 0},  {&_swigt__p_wxPopupWindow, _p_wxPopupWindowTo_p_wxWindow, 0, 0},  {&_swigt__p_wxSashLayoutWindow, _p_wxSashLayoutWindowTo_p_wxWindow, 0, 0},  {&_swigt__p_wxTopLevelWindow, _p_wxTopLevelWindowTo_p_wxWindow, 0, 0},  {&_swigt__p_wxSplashScreenWindow, _p_wxSplashScreenWindowTo_p_wxWindow, 0, 0},  {&_swigt__p_wxSplitterWindow, _p_wxSplitterWindowTo_p_wxWindow, 0, 0},  {&_swigt__p_wxSashWindow, _p_wxSashWindowTo_p_wxWindow, 0, 0},  {&_swigt__p_wxMDIClientWindow, _p_wxMDIClientWindowTo_p_wxWindow, 0, 0},  {&_swigt__p_wxPyVScrolledWindow, _p_wxPyVScrolledWindowTo_p_wxWindow, 0, 0},  {&_swigt__p_wxPyScrolledWindow, _p_wxPyScrolledWindowTo_p_wxWindow, 0, 0},  {&_swigt__p_wxScrolledWindow, _p_wxScrolledWindowTo_p_wxWindow, 0, 0},  {&_swigt__p_wxWindow, 0, 0, 0},  {&_swigt__p_wxTipWindow, _p_wxTipWindowTo_p_wxWindow, 0, 0},  {&_swigt__p_wxPyPreviewFrame, _p_wxPyPreviewFrameTo_p_wxWindow, 0, 0},  {&_swigt__p_wxPreviewFrame, _p_wxPreviewFrameTo_p_wxWindow, 0, 0},  {&_swigt__p_wxControl, _p_wxControlTo_p_wxWindow, 0, 0},  {&_swigt__p_wxMDIChildFrame, _p_wxMDIChildFrameTo_p_wxWindow, 0, 0},  {&_swigt__p_wxControlWithItems, _p_wxControlWithItemsTo_p_wxWindow, 0, 0},  {&_swigt__p_wxPreviewCanvas, _p_wxPreviewCanvasTo_p_wxWindow, 0, 0},  {&_swigt__p_wxPyWindow, _p_wxPyWindowTo_p_wxWindow, 0, 0},  {&_swigt__p_wxSimpleHtmlListBox, _p_wxSimpleHtmlListBoxTo_p_wxWindow, 0, 0},  {&_swigt__p_wxPyHtmlListBox, _p_wxPyHtmlListBoxTo_p_wxWindow, 0, 0},  {&_swigt__p_wxPyVListBox, _p_wxPyVListBoxTo_p_wxWindow, 0, 0},  {&_swigt__p_wxPyPreviewControlBar, _p_wxPyPreviewControlBarTo_p_wxWindow, 0, 0},  {&_swigt__p_wxPreviewControlBar, _p_wxPreviewControlBarTo_p_wxWindow, 0, 0},  {&_swigt__p_wxFrame, _p_wxFrameTo_p_wxWindow, 0, 0},  {&_swigt__p_wxFontDialog, _p_wxFontDialogTo_p_wxWindow, 0, 0},  {&_swigt__p_wxDirDialog, _p_wxDirDialogTo_p_wxWindow, 0, 0},  {&_swigt__p_wxColourDialog, _p_wxColourDialogTo_p_wxWindow, 0, 0},  {&_swigt__p_wxDialog, _p_wxDialogTo_p_wxWindow, 0, 0},  {&_swigt__p_wxMDIParentFrame, _p_wxMDIParentFrameTo_p_wxWindow, 0, 0},  {&_swigt__p_wxRichTextCtrl, _p_wxRichTextCtrlTo_p_wxWindow, 0, 0},{0, 0, 0, 0}};
13601
28914
 
13602
28915
static swig_cast_info *swig_cast_initial[] = {
13603
28916
  _swigc__p_char,
 
28917
  _swigc__p_double,
13604
28918
  _swigc__p_form_ops_t,
13605
28919
  _swigc__p_int,
13606
28920
  _swigc__p_long,
 
28921
  _swigc__p_p_wxRichTextBox,
 
28922
  _swigc__p_p_wxRichTextBuffer,
 
28923
  _swigc__p_p_wxRichTextCompositeObject,
 
28924
  _swigc__p_p_wxRichTextImage,
 
28925
  _swigc__p_p_wxRichTextObject,
 
28926
  _swigc__p_p_wxRichTextParagraph,
 
28927
  _swigc__p_p_wxRichTextParagraphLayoutBox,
 
28928
  _swigc__p_p_wxRichTextPlainText,
13607
28929
  _swigc__p_unsigned_char,
13608
28930
  _swigc__p_unsigned_int,
13609
28931
  _swigc__p_unsigned_long,
13611
28933
  _swigc__p_wxAcceleratorTable,
13612
28934
  _swigc__p_wxActivateEvent,
13613
28935
  _swigc__p_wxArrayInt,
 
28936
  _swigc__p_wxArrayString,
13614
28937
  _swigc__p_wxBMPHandler,
13615
28938
  _swigc__p_wxBitmap,
13616
28939
  _swigc__p_wxBoxSizer,
13624
28947
  _swigc__p_wxColourData,
13625
28948
  _swigc__p_wxColourDialog,
13626
28949
  _swigc__p_wxCommandEvent,
 
28950
  _swigc__p_wxCommandProcessor,
13627
28951
  _swigc__p_wxContextMenuEvent,
13628
28952
  _swigc__p_wxControl,
13629
28953
  _swigc__p_wxControlWithItems,
 
28954
  _swigc__p_wxDC,
13630
28955
  _swigc__p_wxDateEvent,
13631
28956
  _swigc__p_wxDialog,
13632
28957
  _swigc__p_wxDirDialog,
13659
28984
  _swigc__p_wxImageHandler,
13660
28985
  _swigc__p_wxIndividualLayoutConstraint,
13661
28986
  _swigc__p_wxInitDialogEvent,
 
28987
  _swigc__p_wxInputStream,
13662
28988
  _swigc__p_wxJPEGHandler,
13663
28989
  _swigc__p_wxKeyEvent,
13664
28990
  _swigc__p_wxLayoutAlgorithm,
13665
28991
  _swigc__p_wxLayoutConstraints,
 
28992
  _swigc__p_wxList,
13666
28993
  _swigc__p_wxMDIChildFrame,
13667
28994
  _swigc__p_wxMDIClientWindow,
13668
28995
  _swigc__p_wxMDIParentFrame,
13683
29010
  _swigc__p_wxNotifyEvent,
13684
29011
  _swigc__p_wxNumberEntryDialog,
13685
29012
  _swigc__p_wxObject,
 
29013
  _swigc__p_wxOutputStream,
13686
29014
  _swigc__p_wxPCXHandler,
13687
29015
  _swigc__p_wxPNGHandler,
13688
29016
  _swigc__p_wxPNMHandler,
13693
29021
  _swigc__p_wxPanel,
13694
29022
  _swigc__p_wxPaperSize,
13695
29023
  _swigc__p_wxPasswordEntryDialog,
 
29024
  _swigc__p_wxPoint,
13696
29025
  _swigc__p_wxPopupWindow,
13697
29026
  _swigc__p_wxPreviewCanvas,
13698
29027
  _swigc__p_wxPreviewControlBar,
13723
29052
  _swigc__p_wxPyWindow,
13724
29053
  _swigc__p_wxQueryLayoutInfoEvent,
13725
29054
  _swigc__p_wxQueryNewPaletteEvent,
13726
 
  _swigc__p_wxRichTextAttr,
 
29055
  _swigc__p_wxRect,
 
29056
  _swigc__p_wxRichTextAction,
 
29057
  _swigc__p_wxRichTextBox,
13727
29058
  _swigc__p_wxRichTextBuffer,
 
29059
  _swigc__p_wxRichTextCommand,
 
29060
  _swigc__p_wxRichTextCompositeObject,
13728
29061
  _swigc__p_wxRichTextCtrl,
13729
29062
  _swigc__p_wxRichTextEvent,
 
29063
  _swigc__p_wxRichTextFileHandler,
 
29064
  _swigc__p_wxRichTextFileHandlerList,
 
29065
  _swigc__p_wxRichTextFileHandlerList_iterator,
 
29066
  _swigc__p_wxRichTextHTMLHandler,
 
29067
  _swigc__p_wxRichTextImage,
13730
29068
  _swigc__p_wxRichTextImageBlock,
 
29069
  _swigc__p_wxRichTextLine,
 
29070
  _swigc__p_wxRichTextLineList,
 
29071
  _swigc__p_wxRichTextListStyleDefinition,
 
29072
  _swigc__p_wxRichTextObject,
 
29073
  _swigc__p_wxRichTextObjectList,
 
29074
  _swigc__p_wxRichTextObjectList_iterator,
 
29075
  _swigc__p_wxRichTextParagraph,
 
29076
  _swigc__p_wxRichTextParagraphLayoutBox,
 
29077
  _swigc__p_wxRichTextPlainText,
 
29078
  _swigc__p_wxRichTextPlainTextHandler,
13731
29079
  _swigc__p_wxRichTextRange,
 
29080
  _swigc__p_wxRichTextRenderer,
 
29081
  _swigc__p_wxRichTextStdRenderer,
 
29082
  _swigc__p_wxRichTextStyleDefinition,
13732
29083
  _swigc__p_wxRichTextStyleSheet,
 
29084
  _swigc__p_wxRichTextXMLHandler,
13733
29085
  _swigc__p_wxSashEvent,
13734
29086
  _swigc__p_wxSashLayoutWindow,
13735
29087
  _swigc__p_wxSashWindow,
13740
29092
  _swigc__p_wxShowEvent,
13741
29093
  _swigc__p_wxSimpleHtmlListBox,
13742
29094
  _swigc__p_wxSingleChoiceDialog,
 
29095
  _swigc__p_wxSize,
13743
29096
  _swigc__p_wxSizeEvent,
13744
29097
  _swigc__p_wxSizer,
13745
29098
  _swigc__p_wxSizerItem,
13754
29107
  _swigc__p_wxTGAHandler,
13755
29108
  _swigc__p_wxTIFFHandler,
13756
29109
  _swigc__p_wxTaskBarIconEvent,
 
29110
  _swigc__p_wxTextAttrEx,
13757
29111
  _swigc__p_wxTextCoord,
13758
29112
  _swigc__p_wxTextCtrlHitTestResult,
13759
29113
  _swigc__p_wxTextEntryDialog,
14269
29623
  
14270
29624
  
14271
29625
  SWIG_Python_SetConstant(d, "USE_TEXTATTREX",SWIG_From_int(static_cast< int >(0)));
14272
 
  SWIG_Python_SetConstant(d, "RE_READONLY",SWIG_From_int(static_cast< int >(wxRE_READONLY)));
14273
 
  SWIG_Python_SetConstant(d, "RE_MULTILINE",SWIG_From_int(static_cast< int >(wxRE_MULTILINE)));
14274
 
  SWIG_Python_SetConstant(d, "RICHTEXT_SHIFT_DOWN",SWIG_From_int(static_cast< int >(wxRICHTEXT_SHIFT_DOWN)));
14275
 
  SWIG_Python_SetConstant(d, "RICHTEXT_CTRL_DOWN",SWIG_From_int(static_cast< int >(wxRICHTEXT_CTRL_DOWN)));
14276
 
  SWIG_Python_SetConstant(d, "RICHTEXT_ALT_DOWN",SWIG_From_int(static_cast< int >(wxRICHTEXT_ALT_DOWN)));
14277
 
  SWIG_Python_SetConstant(d, "RICHTEXT_SELECTED",SWIG_From_int(static_cast< int >(wxRICHTEXT_SELECTED)));
14278
 
  SWIG_Python_SetConstant(d, "RICHTEXT_TAGGED",SWIG_From_int(static_cast< int >(wxRICHTEXT_TAGGED)));
14279
 
  SWIG_Python_SetConstant(d, "RICHTEXT_FOCUSSED",SWIG_From_int(static_cast< int >(wxRICHTEXT_FOCUSSED)));
14280
 
  SWIG_Python_SetConstant(d, "RICHTEXT_IS_FOCUS",SWIG_From_int(static_cast< int >(wxRICHTEXT_IS_FOCUS)));
 
29626
  SWIG_Python_SetConstant(d, "TEXT_ALIGNMENT_DEFAULT",SWIG_From_int(static_cast< int >(wxTEXT_ALIGNMENT_DEFAULT)));
 
29627
  SWIG_Python_SetConstant(d, "TEXT_ALIGNMENT_LEFT",SWIG_From_int(static_cast< int >(wxTEXT_ALIGNMENT_LEFT)));
 
29628
  SWIG_Python_SetConstant(d, "TEXT_ALIGNMENT_CENTRE",SWIG_From_int(static_cast< int >(wxTEXT_ALIGNMENT_CENTRE)));
 
29629
  SWIG_Python_SetConstant(d, "TEXT_ALIGNMENT_CENTER",SWIG_From_int(static_cast< int >(wxTEXT_ALIGNMENT_CENTER)));
 
29630
  SWIG_Python_SetConstant(d, "TEXT_ALIGNMENT_RIGHT",SWIG_From_int(static_cast< int >(wxTEXT_ALIGNMENT_RIGHT)));
 
29631
  SWIG_Python_SetConstant(d, "TEXT_ALIGNMENT_JUSTIFIED",SWIG_From_int(static_cast< int >(wxTEXT_ALIGNMENT_JUSTIFIED)));
14281
29632
  SWIG_Python_SetConstant(d, "RICHTEXT_TYPE_ANY",SWIG_From_int(static_cast< int >(wxRICHTEXT_TYPE_ANY)));
14282
29633
  SWIG_Python_SetConstant(d, "RICHTEXT_TYPE_TEXT",SWIG_From_int(static_cast< int >(wxRICHTEXT_TYPE_TEXT)));
14283
29634
  SWIG_Python_SetConstant(d, "RICHTEXT_TYPE_XML",SWIG_From_int(static_cast< int >(wxRICHTEXT_TYPE_XML)));
14288
29639
  SWIG_Python_SetConstant(d, "RICHTEXT_FIXED_HEIGHT",SWIG_From_int(static_cast< int >(wxRICHTEXT_FIXED_HEIGHT)));
14289
29640
  SWIG_Python_SetConstant(d, "RICHTEXT_VARIABLE_WIDTH",SWIG_From_int(static_cast< int >(wxRICHTEXT_VARIABLE_WIDTH)));
14290
29641
  SWIG_Python_SetConstant(d, "RICHTEXT_VARIABLE_HEIGHT",SWIG_From_int(static_cast< int >(wxRICHTEXT_VARIABLE_HEIGHT)));
 
29642
  SWIG_Python_SetConstant(d, "RICHTEXT_LAYOUT_SPECIFIED_RECT",SWIG_From_int(static_cast< int >(wxRICHTEXT_LAYOUT_SPECIFIED_RECT)));
 
29643
  SWIG_Python_SetConstant(d, "RICHTEXT_DRAW_IGNORE_CACHE",SWIG_From_int(static_cast< int >(wxRICHTEXT_DRAW_IGNORE_CACHE)));
14291
29644
  SWIG_Python_SetConstant(d, "RICHTEXT_HITTEST_NONE",SWIG_From_int(static_cast< int >(wxRICHTEXT_HITTEST_NONE)));
14292
29645
  SWIG_Python_SetConstant(d, "RICHTEXT_HITTEST_BEFORE",SWIG_From_int(static_cast< int >(wxRICHTEXT_HITTEST_BEFORE)));
14293
29646
  SWIG_Python_SetConstant(d, "RICHTEXT_HITTEST_AFTER",SWIG_From_int(static_cast< int >(wxRICHTEXT_HITTEST_AFTER)));
14294
29647
  SWIG_Python_SetConstant(d, "RICHTEXT_HITTEST_ON",SWIG_From_int(static_cast< int >(wxRICHTEXT_HITTEST_ON)));
 
29648
  SWIG_Python_SetConstant(d, "RICHTEXT_HITTEST_OUTSIDE",SWIG_From_int(static_cast< int >(wxRICHTEXT_HITTEST_OUTSIDE)));
14295
29649
  SWIG_Python_SetConstant(d, "RICHTEXT_FORMATTED",SWIG_From_int(static_cast< int >(wxRICHTEXT_FORMATTED)));
14296
29650
  SWIG_Python_SetConstant(d, "RICHTEXT_UNFORMATTED",SWIG_From_int(static_cast< int >(wxRICHTEXT_UNFORMATTED)));
14297
29651
  SWIG_Python_SetConstant(d, "RICHTEXT_SETSTYLE_NONE",SWIG_From_int(static_cast< int >(wxRICHTEXT_SETSTYLE_NONE)));
14299
29653
  SWIG_Python_SetConstant(d, "RICHTEXT_SETSTYLE_OPTIMIZE",SWIG_From_int(static_cast< int >(wxRICHTEXT_SETSTYLE_OPTIMIZE)));
14300
29654
  SWIG_Python_SetConstant(d, "RICHTEXT_SETSTYLE_PARAGRAPHS_ONLY",SWIG_From_int(static_cast< int >(wxRICHTEXT_SETSTYLE_PARAGRAPHS_ONLY)));
14301
29655
  SWIG_Python_SetConstant(d, "RICHTEXT_SETSTYLE_CHARACTERS_ONLY",SWIG_From_int(static_cast< int >(wxRICHTEXT_SETSTYLE_CHARACTERS_ONLY)));
 
29656
  SWIG_Python_SetConstant(d, "RICHTEXT_SETSTYLE_RENUMBER",SWIG_From_int(static_cast< int >(wxRICHTEXT_SETSTYLE_RENUMBER)));
 
29657
  SWIG_Python_SetConstant(d, "RICHTEXT_SETSTYLE_SPECIFY_LEVEL",SWIG_From_int(static_cast< int >(wxRICHTEXT_SETSTYLE_SPECIFY_LEVEL)));
 
29658
  SWIG_Python_SetConstant(d, "RICHTEXT_SETSTYLE_RESET",SWIG_From_int(static_cast< int >(wxRICHTEXT_SETSTYLE_RESET)));
 
29659
  SWIG_Python_SetConstant(d, "RICHTEXT_SETSTYLE_REMOVE",SWIG_From_int(static_cast< int >(wxRICHTEXT_SETSTYLE_REMOVE)));
14302
29660
  SWIG_Python_SetConstant(d, "RICHTEXT_INSERT_NONE",SWIG_From_int(static_cast< int >(wxRICHTEXT_INSERT_NONE)));
14303
29661
  SWIG_Python_SetConstant(d, "RICHTEXT_INSERT_WITH_PREVIOUS_PARAGRAPH_STYLE",SWIG_From_int(static_cast< int >(wxRICHTEXT_INSERT_WITH_PREVIOUS_PARAGRAPH_STYLE)));
14304
29662
  SWIG_Python_SetConstant(d, "TEXT_ATTR_TEXT_COLOUR",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_TEXT_COLOUR)));
14320
29678
  SWIG_Python_SetConstant(d, "TEXT_ATTR_PARAGRAPH_STYLE_NAME",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_PARAGRAPH_STYLE_NAME)));
14321
29679
  SWIG_Python_SetConstant(d, "TEXT_ATTR_BULLET_STYLE",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_BULLET_STYLE)));
14322
29680
  SWIG_Python_SetConstant(d, "TEXT_ATTR_BULLET_NUMBER",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_BULLET_NUMBER)));
 
29681
  SWIG_Python_SetConstant(d, "TEXT_ATTR_BULLET_TEXT",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_BULLET_TEXT)));
 
29682
  SWIG_Python_SetConstant(d, "TEXT_ATTR_BULLET_NAME",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_BULLET_NAME)));
 
29683
  SWIG_Python_SetConstant(d, "TEXT_ATTR_URL",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_URL)));
 
29684
  SWIG_Python_SetConstant(d, "TEXT_ATTR_PAGE_BREAK",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_PAGE_BREAK)));
 
29685
  SWIG_Python_SetConstant(d, "TEXT_ATTR_EFFECTS",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_EFFECTS)));
 
29686
  SWIG_Python_SetConstant(d, "TEXT_ATTR_OUTLINE_LEVEL",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_OUTLINE_LEVEL)));
14323
29687
  SWIG_Python_SetConstant(d, "TEXT_ATTR_BULLET_STYLE_NONE",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_BULLET_STYLE_NONE)));
14324
29688
  SWIG_Python_SetConstant(d, "TEXT_ATTR_BULLET_STYLE_ARABIC",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_BULLET_STYLE_ARABIC)));
14325
29689
  SWIG_Python_SetConstant(d, "TEXT_ATTR_BULLET_STYLE_LETTERS_UPPER",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_BULLET_STYLE_LETTERS_UPPER)));
14330
29694
  SWIG_Python_SetConstant(d, "TEXT_ATTR_BULLET_STYLE_BITMAP",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_BULLET_STYLE_BITMAP)));
14331
29695
  SWIG_Python_SetConstant(d, "TEXT_ATTR_BULLET_STYLE_PARENTHESES",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_BULLET_STYLE_PARENTHESES)));
14332
29696
  SWIG_Python_SetConstant(d, "TEXT_ATTR_BULLET_STYLE_PERIOD",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_BULLET_STYLE_PERIOD)));
 
29697
  SWIG_Python_SetConstant(d, "TEXT_ATTR_BULLET_STYLE_STANDARD",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_BULLET_STYLE_STANDARD)));
 
29698
  SWIG_Python_SetConstant(d, "TEXT_ATTR_BULLET_STYLE_RIGHT_PARENTHESIS",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_BULLET_STYLE_RIGHT_PARENTHESIS)));
 
29699
  SWIG_Python_SetConstant(d, "TEXT_ATTR_BULLET_STYLE_OUTLINE",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_BULLET_STYLE_OUTLINE)));
 
29700
  SWIG_Python_SetConstant(d, "TEXT_ATTR_BULLET_STYLE_ALIGN_LEFT",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_BULLET_STYLE_ALIGN_LEFT)));
 
29701
  SWIG_Python_SetConstant(d, "TEXT_ATTR_BULLET_STYLE_ALIGN_RIGHT",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_BULLET_STYLE_ALIGN_RIGHT)));
 
29702
  SWIG_Python_SetConstant(d, "TEXT_ATTR_BULLET_STYLE_ALIGN_CENTRE",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_BULLET_STYLE_ALIGN_CENTRE)));
 
29703
  SWIG_Python_SetConstant(d, "TEXT_ATTR_EFFECT_NONE",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_EFFECT_NONE)));
 
29704
  SWIG_Python_SetConstant(d, "TEXT_ATTR_EFFECT_CAPITALS",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_EFFECT_CAPITALS)));
 
29705
  SWIG_Python_SetConstant(d, "TEXT_ATTR_EFFECT_SMALL_CAPITALS",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_EFFECT_SMALL_CAPITALS)));
 
29706
  SWIG_Python_SetConstant(d, "TEXT_ATTR_EFFECT_STRIKETHROUGH",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_EFFECT_STRIKETHROUGH)));
 
29707
  SWIG_Python_SetConstant(d, "TEXT_ATTR_EFFECT_DOUBLE_STRIKETHROUGH",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_EFFECT_DOUBLE_STRIKETHROUGH)));
 
29708
  SWIG_Python_SetConstant(d, "TEXT_ATTR_EFFECT_SHADOW",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_EFFECT_SHADOW)));
 
29709
  SWIG_Python_SetConstant(d, "TEXT_ATTR_EFFECT_EMBOSS",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_EFFECT_EMBOSS)));
 
29710
  SWIG_Python_SetConstant(d, "TEXT_ATTR_EFFECT_OUTLINE",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_EFFECT_OUTLINE)));
 
29711
  SWIG_Python_SetConstant(d, "TEXT_ATTR_EFFECT_ENGRAVE",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_EFFECT_ENGRAVE)));
 
29712
  SWIG_Python_SetConstant(d, "TEXT_ATTR_EFFECT_SUPERSCRIPT",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_EFFECT_SUPERSCRIPT)));
 
29713
  SWIG_Python_SetConstant(d, "TEXT_ATTR_EFFECT_SUBSCRIPT",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_EFFECT_SUBSCRIPT)));
14333
29714
  SWIG_Python_SetConstant(d, "TEXT_ATTR_LINE_SPACING_NORMAL",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_LINE_SPACING_NORMAL)));
14334
29715
  SWIG_Python_SetConstant(d, "TEXT_ATTR_LINE_SPACING_HALF",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_LINE_SPACING_HALF)));
14335
29716
  SWIG_Python_SetConstant(d, "TEXT_ATTR_LINE_SPACING_TWICE",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_LINE_SPACING_TWICE)));
14336
 
  SWIG_Python_SetConstant(d, "TEXT_ALIGNMENT_DEFAULT",SWIG_From_int(static_cast< int >(wxTEXT_ALIGNMENT_DEFAULT)));
14337
 
  SWIG_Python_SetConstant(d, "TEXT_ALIGNMENT_LEFT",SWIG_From_int(static_cast< int >(wxTEXT_ALIGNMENT_LEFT)));
14338
 
  SWIG_Python_SetConstant(d, "TEXT_ALIGNMENT_CENTRE",SWIG_From_int(static_cast< int >(wxTEXT_ALIGNMENT_CENTRE)));
14339
 
  SWIG_Python_SetConstant(d, "TEXT_ALIGNMENT_CENTER",SWIG_From_int(static_cast< int >(wxTEXT_ALIGNMENT_CENTER)));
14340
 
  SWIG_Python_SetConstant(d, "TEXT_ALIGNMENT_RIGHT",SWIG_From_int(static_cast< int >(wxTEXT_ALIGNMENT_RIGHT)));
14341
 
  SWIG_Python_SetConstant(d, "TEXT_ALIGNMENT_JUSTIFIED",SWIG_From_int(static_cast< int >(wxTEXT_ALIGNMENT_JUSTIFIED)));
 
29717
  SWIG_Python_SetConstant(d, "TEXT_ATTR_CHARACTER",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_CHARACTER)));
 
29718
  SWIG_Python_SetConstant(d, "TEXT_ATTR_PARAGRAPH",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_PARAGRAPH)));
 
29719
  SWIG_Python_SetConstant(d, "TEXT_ATTR_ALL",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_ALL)));
14342
29720
  PyDict_SetItemString(d,(char*)"cvar", SWIG_globals());
14343
29721
  SWIG_addvarlink(SWIG_globals(),(char*)"RICHTEXT_ALL",RICHTEXT_ALL_get, RICHTEXT_ALL_set);
14344
29722
  SWIG_addvarlink(SWIG_globals(),(char*)"RICHTEXT_NONE",RICHTEXT_NONE_get, RICHTEXT_NONE_set);
14345
 
  SWIG_Python_SetConstant(d, "TEXT_ATTR_CHARACTER",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_CHARACTER)));
14346
 
  SWIG_Python_SetConstant(d, "TEXT_ATTR_PARAGRAPH",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_PARAGRAPH)));
14347
 
  SWIG_Python_SetConstant(d, "TEXT_ATTR_ALL",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_ALL)));
 
29723
  SWIG_Python_SetConstant(d, "RICHTEXT_HANDLER_INCLUDE_STYLESHEET",SWIG_From_int(static_cast< int >(wxRICHTEXT_HANDLER_INCLUDE_STYLESHEET)));
 
29724
  SWIG_Python_SetConstant(d, "RICHTEXT_HANDLER_SAVE_IMAGES_TO_MEMORY",SWIG_From_int(static_cast< int >(wxRICHTEXT_HANDLER_SAVE_IMAGES_TO_MEMORY)));
 
29725
  SWIG_Python_SetConstant(d, "RICHTEXT_HANDLER_SAVE_IMAGES_TO_FILES",SWIG_From_int(static_cast< int >(wxRICHTEXT_HANDLER_SAVE_IMAGES_TO_FILES)));
 
29726
  SWIG_Python_SetConstant(d, "RICHTEXT_HANDLER_SAVE_IMAGES_TO_BASE64",SWIG_From_int(static_cast< int >(wxRICHTEXT_HANDLER_SAVE_IMAGES_TO_BASE64)));
 
29727
  SWIG_Python_SetConstant(d, "RICHTEXT_HANDLER_NO_HEADER_FOOTER",SWIG_From_int(static_cast< int >(wxRICHTEXT_HANDLER_NO_HEADER_FOOTER)));
 
29728
  SWIG_addvarlink(SWIG_globals(),(char*)"TextName",TextName_get, TextName_set);
 
29729
  SWIG_addvarlink(SWIG_globals(),(char*)"TextExt",TextExt_get, TextExt_set);
 
29730
  SWIG_Python_SetConstant(d, "RE_READONLY",SWIG_From_int(static_cast< int >(wxRE_READONLY)));
 
29731
  SWIG_Python_SetConstant(d, "RE_MULTILINE",SWIG_From_int(static_cast< int >(wxRE_MULTILINE)));
 
29732
  SWIG_Python_SetConstant(d, "RICHTEXT_SHIFT_DOWN",SWIG_From_int(static_cast< int >(wxRICHTEXT_SHIFT_DOWN)));
 
29733
  SWIG_Python_SetConstant(d, "RICHTEXT_CTRL_DOWN",SWIG_From_int(static_cast< int >(wxRICHTEXT_CTRL_DOWN)));
 
29734
  SWIG_Python_SetConstant(d, "RICHTEXT_ALT_DOWN",SWIG_From_int(static_cast< int >(wxRICHTEXT_ALT_DOWN)));
 
29735
  SWIG_Python_SetConstant(d, "RICHTEXT_SELECTED",SWIG_From_int(static_cast< int >(wxRICHTEXT_SELECTED)));
 
29736
  SWIG_Python_SetConstant(d, "RICHTEXT_TAGGED",SWIG_From_int(static_cast< int >(wxRICHTEXT_TAGGED)));
 
29737
  SWIG_Python_SetConstant(d, "RICHTEXT_FOCUSSED",SWIG_From_int(static_cast< int >(wxRICHTEXT_FOCUSSED)));
 
29738
  SWIG_Python_SetConstant(d, "RICHTEXT_IS_FOCUS",SWIG_From_int(static_cast< int >(wxRICHTEXT_IS_FOCUS)));
 
29739
  SWIG_addvarlink(SWIG_globals(),(char*)"RichTextCtrlNameStr",RichTextCtrlNameStr_get, RichTextCtrlNameStr_set);
14348
29740
  PyDict_SetItemString(d, "wxEVT_COMMAND_RICHTEXT_LEFT_CLICK", PyInt_FromLong(wxEVT_COMMAND_RICHTEXT_LEFT_CLICK));
14349
29741
  PyDict_SetItemString(d, "wxEVT_COMMAND_RICHTEXT_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_RICHTEXT_RIGHT_CLICK));
14350
29742
  PyDict_SetItemString(d, "wxEVT_COMMAND_RICHTEXT_MIDDLE_CLICK", PyInt_FromLong(wxEVT_COMMAND_RICHTEXT_MIDDLE_CLICK));
14351
29743
  PyDict_SetItemString(d, "wxEVT_COMMAND_RICHTEXT_LEFT_DCLICK", PyInt_FromLong(wxEVT_COMMAND_RICHTEXT_LEFT_DCLICK));
14352
29744
  PyDict_SetItemString(d, "wxEVT_COMMAND_RICHTEXT_RETURN", PyInt_FromLong(wxEVT_COMMAND_RICHTEXT_RETURN));
 
29745
  PyDict_SetItemString(d, "wxEVT_COMMAND_RICHTEXT_CHARACTER", PyInt_FromLong(wxEVT_COMMAND_RICHTEXT_CHARACTER));
 
29746
  PyDict_SetItemString(d, "wxEVT_COMMAND_RICHTEXT_DELETE", PyInt_FromLong(wxEVT_COMMAND_RICHTEXT_DELETE));
14353
29747
  PyDict_SetItemString(d, "wxEVT_COMMAND_RICHTEXT_STYLESHEET_CHANGING", PyInt_FromLong(wxEVT_COMMAND_RICHTEXT_STYLESHEET_CHANGING));
14354
29748
  PyDict_SetItemString(d, "wxEVT_COMMAND_RICHTEXT_STYLESHEET_CHANGED", PyInt_FromLong(wxEVT_COMMAND_RICHTEXT_STYLESHEET_CHANGED));
14355
29749
  PyDict_SetItemString(d, "wxEVT_COMMAND_RICHTEXT_STYLESHEET_REPLACING", PyInt_FromLong(wxEVT_COMMAND_RICHTEXT_STYLESHEET_REPLACING));
14356
29750
  PyDict_SetItemString(d, "wxEVT_COMMAND_RICHTEXT_STYLESHEET_REPLACED", PyInt_FromLong(wxEVT_COMMAND_RICHTEXT_STYLESHEET_REPLACED));
14357
 
  PyDict_SetItemString(d, "wxEVT_COMMAND_RICHTEXT_CHARACTER", PyInt_FromLong(wxEVT_COMMAND_RICHTEXT_CHARACTER));
14358
 
  PyDict_SetItemString(d, "wxEVT_COMMAND_RICHTEXT_DELETE", PyInt_FromLong(wxEVT_COMMAND_RICHTEXT_DELETE));
 
29751
  PyDict_SetItemString(d, "wxEVT_COMMAND_RICHTEXT_CONTENT_INSERTED", PyInt_FromLong(wxEVT_COMMAND_RICHTEXT_CONTENT_INSERTED));
 
29752
  PyDict_SetItemString(d, "wxEVT_COMMAND_RICHTEXT_CONTENT_DELETED", PyInt_FromLong(wxEVT_COMMAND_RICHTEXT_CONTENT_DELETED));
 
29753
  PyDict_SetItemString(d, "wxEVT_COMMAND_RICHTEXT_STYLE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_RICHTEXT_STYLE_CHANGED));
 
29754
  PyDict_SetItemString(d, "wxEVT_COMMAND_RICHTEXT_SELECTION_CHANGED", PyInt_FromLong(wxEVT_COMMAND_RICHTEXT_SELECTION_CHANGED));
 
29755
  SWIG_addvarlink(SWIG_globals(),(char*)"HtmlName",HtmlName_get, HtmlName_set);
 
29756
  SWIG_addvarlink(SWIG_globals(),(char*)"HtmlExt",HtmlExt_get, HtmlExt_set);
 
29757
  SWIG_addvarlink(SWIG_globals(),(char*)"XmlName",XmlName_get, XmlName_set);
 
29758
  SWIG_addvarlink(SWIG_globals(),(char*)"XmlExt",XmlExt_get, XmlExt_set);
14359
29759
  
14360
29760
  wxRichTextModuleInit();
14361
29761