Add libwx-perl
[pkg-perl] / deb-src / libwx-perl / libwx-perl-0.96 / ext / richtext / RichText.c
1 /*
2  * This file was generated automatically by ExtUtils::ParseXS version 2.2202 from the
3  * contents of RichText.xs. Do not edit this file, edit RichText.xs instead.
4  *
5  *      ANY CHANGES MADE HERE WILL BE LOST! 
6  *
7  */
8
9 /////////////////////////////////////////////////////////////////////////////
10 // Name:        ext/richtext/RichText.xs
11 // Purpose:     XS for Wx::RichTextCtrl
12 // Author:      Mattia Barbon
13 // Modified by:
14 // Created:     05/11/2006
15 // RCS-ID:      $Id: RichText.xs 2700 2009-12-13 11:25:50Z mbarbon $
16 // Copyright:   (c) 2006-2009 Mattia Barbon
17 // Licence:     This program is free software; you can redistribute it and/or
18 //              modify it under the same terms as Perl itself
19 /////////////////////////////////////////////////////////////////////////////
20
21 #define PERL_NO_GET_CONTEXT
22
23 #include "cpp/wxapi.h"
24 #include "cpp/constants.h"
25 #include "cpp/overload.h"
26
27 #define wxNullColourPtr (wxColour*)&wxNullColour
28 #define wxNullFontPtr (wxFont*)&wxNullFont
29
30 #undef THIS
31
32 #include <wx/richtext/richtextctrl.h>
33
34 // event macros
35 #define SEVT( NAME, ARGS )    wxPli_StdEvent( NAME, ARGS )
36 #define EVT( NAME, ARGS, ID ) wxPli_Event( NAME, ARGS, ID )
37
38 // !package: Wx::Event
39 // !tag:
40 // !parser: sub { $_[0] =~ m<^\s*S?EVT\(\s*(\w+)\s*\,> }
41
42 static wxPliEventDescription evts[] =
43 {
44 #if WXPERL_W_VERSION_LE( 2, 7, 2 )
45     EVT( EVT_RICHTEXT_ITEM_SELECTED, 3, wxEVT_COMMAND_RICHTEXT_ITEM_SELECTED )
46     EVT( EVT_RICHTEXT_ITEM_DESELECTED, 3, wxEVT_COMMAND_RICHTEXT_ITEM_DESELECTED )
47 #endif
48     EVT( EVT_RICHTEXT_LEFT_CLICK, 3, wxEVT_COMMAND_RICHTEXT_LEFT_CLICK )
49     EVT( EVT_RICHTEXT_RIGHT_CLICK, 3, wxEVT_COMMAND_RICHTEXT_RIGHT_CLICK )
50     EVT( EVT_RICHTEXT_MIDDLE_CLICK, 3, wxEVT_COMMAND_RICHTEXT_MIDDLE_CLICK )
51     EVT( EVT_RICHTEXT_LEFT_DCLICK, 3, wxEVT_COMMAND_RICHTEXT_LEFT_DCLICK )
52     EVT( EVT_RICHTEXT_RETURN, 3, wxEVT_COMMAND_RICHTEXT_RETURN )
53 #if WXPERL_W_VERSION_GE( 2, 7, 2 )
54     EVT( EVT_RICHTEXT_STYLESHEET_CHANGING, 3, wxEVT_COMMAND_RICHTEXT_STYLESHEET_CHANGING )
55     EVT( EVT_RICHTEXT_STYLESHEET_CHANGED, 3, wxEVT_COMMAND_RICHTEXT_STYLESHEET_CHANGED )
56     EVT( EVT_RICHTEXT_STYLESHEET_REPLACING, 3, wxEVT_COMMAND_RICHTEXT_STYLESHEET_REPLACING )
57     EVT( EVT_RICHTEXT_STYLESHEET_REPLACED, 3, wxEVT_COMMAND_RICHTEXT_STYLESHEET_REPLACED )
58 #endif
59     { 0, 0, 0 }
60 };
61
62 #define wxPliRichTextStyleType wxRichTextStyleListBox::wxRichTextStyleType
63 #if WXPERL_W_VERSION_LT( 2, 8, 0 )
64 #undef _
65 #define _( s ) wxT( s )
66 #endif
67
68 #ifndef PERL_UNUSED_VAR
69 #  define PERL_UNUSED_VAR(var) if (0) var = var
70 #endif
71
72 #ifndef PERL_ARGS_ASSERT_CROAK_XS_USAGE
73 #define PERL_ARGS_ASSERT_CROAK_XS_USAGE assert(cv); assert(params)
74
75 /* prototype to pass -Wmissing-prototypes */
76 STATIC void
77 S_croak_xs_usage(pTHX_ const CV *const cv, const char *const params);
78
79 STATIC void
80 S_croak_xs_usage(pTHX_ const CV *const cv, const char *const params)
81 {
82     const GV *const gv = CvGV(cv);
83
84     PERL_ARGS_ASSERT_CROAK_XS_USAGE;
85
86     if (gv) {
87         const char *const gvname = GvNAME(gv);
88         const HV *const stash = GvSTASH(gv);
89         const char *const hvname = stash ? HvNAME(stash) : NULL;
90
91         if (hvname)
92             Perl_croak(aTHX_ "Usage: %s::%s(%s)", hvname, gvname, params);
93         else
94             Perl_croak(aTHX_ "Usage: %s(%s)", gvname, params);
95     } else {
96         /* Pants. I don't think that it should be possible to get here. */
97         Perl_croak(aTHX_ "Usage: CODE(0x%"UVxf")(%s)", PTR2UV(cv), params);
98     }
99 }
100 #undef  PERL_ARGS_ASSERT_CROAK_XS_USAGE
101
102 #ifdef PERL_IMPLICIT_CONTEXT
103 #define croak_xs_usage(a,b)     S_croak_xs_usage(aTHX_ a,b)
104 #else
105 #define croak_xs_usage          S_croak_xs_usage
106 #endif
107
108 #endif
109
110 /* NOTE: the prototype of newXSproto() is different in versions of perls,
111  * so we define a portable version of newXSproto()
112  */
113 #ifdef newXS_flags
114 #define newXSproto_portable(name, c_impl, file, proto) newXS_flags(name, c_impl, file, proto, 0)
115 #else
116 #define newXSproto_portable(name, c_impl, file, proto) (PL_Sv=(SV*)newXS(name, c_impl, file), sv_setpv(PL_Sv, proto), (CV*)PL_Sv)
117 #endif /* !defined(newXS_flags) */
118
119
120 /* INCLUDE:  Including 'perl -MExtUtils::XSpp::Cmd -e xspp -- -t typemap.xsp -t ../../typemap.xsp XS/RichTextCtrl.xsp |' from 'RichText.xs' */
121
122 #undef _
123 #define _(x) wxGetTranslation(wxT(x))
124 #include <wx/event.h>
125 #include <wx/button.h>
126 #include <wx/checkbox.h>
127 #include <wx/richtext/richtextctrl.h>
128 #include <wx/richtext/richtextstyles.h>
129 #include <wx/richtext/richtextformatdlg.h>
130 #include <wx/richtext/richtextstyledlg.h>
131 #include <wx/richtext/richtextprint.h>
132 #include "cpp/richtextctrl.h"
133 #if WXPERL_W_VERSION_LE( 2, 7, 2 )
134 #define XSubPPtmpAAAA 1
135
136
137 XS(XS_Wx__RichTextEvent_GetIndex); /* prototype to pass -Wmissing-prototypes */
138 XS(XS_Wx__RichTextEvent_GetIndex)
139 {
140 #ifdef dVAR
141     dVAR; dXSARGS;
142 #else
143     dXSARGS;
144 #endif
145     if (items != 1)
146        croak_xs_usage(cv,  "THIS");
147     {
148         wxRichTextEvent *    THIS = (wxRichTextEvent *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::RichTextEvent" );
149         int     RETVAL;
150         dXSTARG;
151
152         RETVAL = THIS->GetIndex();
153         XSprePUSH; PUSHi((IV)RETVAL);
154     }
155     XSRETURN(1);
156 }
157
158
159 XS(XS_Wx__RichTextEvent_SetIndex); /* prototype to pass -Wmissing-prototypes */
160 XS(XS_Wx__RichTextEvent_SetIndex)
161 {
162 #ifdef dVAR
163     dVAR; dXSARGS;
164 #else
165     dXSARGS;
166 #endif
167     if (items != 2)
168        croak_xs_usage(cv,  "THIS, n");
169     {
170         int     n = (int)SvIV(ST(1));
171         wxRichTextEvent *    THIS = (wxRichTextEvent *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::RichTextEvent" );
172
173         THIS->SetIndex(n);
174     }
175     XSRETURN_EMPTY;
176 }
177
178 #endif
179
180 XS(XS_Wx__RichTextEvent_GetFlags); /* prototype to pass -Wmissing-prototypes */
181 XS(XS_Wx__RichTextEvent_GetFlags)
182 {
183 #ifdef dVAR
184     dVAR; dXSARGS;
185 #else
186     dXSARGS;
187 #endif
188     if (items != 1)
189        croak_xs_usage(cv,  "THIS");
190     {
191         wxRichTextEvent *    THIS = (wxRichTextEvent *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::RichTextEvent" );
192         int     RETVAL;
193         dXSTARG;
194
195         RETVAL = THIS->GetFlags();
196         XSprePUSH; PUSHi((IV)RETVAL);
197     }
198     XSRETURN(1);
199 }
200
201
202 XS(XS_Wx__RichTextEvent_SetFlags); /* prototype to pass -Wmissing-prototypes */
203 XS(XS_Wx__RichTextEvent_SetFlags)
204 {
205 #ifdef dVAR
206     dVAR; dXSARGS;
207 #else
208     dXSARGS;
209 #endif
210     if (items != 2)
211        croak_xs_usage(cv,  "THIS, flags");
212     {
213         int     flags = (int)SvIV(ST(1));
214         wxRichTextEvent *    THIS = (wxRichTextEvent *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::RichTextEvent" );
215
216         THIS->SetFlags(flags);
217     }
218     XSRETURN_EMPTY;
219 }
220
221 #if WXPERL_W_VERSION_GE( 2, 7, 2 )
222 #define XSubPPtmpAAAB 1
223
224
225 XS(XS_Wx__RichTextEvent_GetOldStyleSheet); /* prototype to pass -Wmissing-prototypes */
226 XS(XS_Wx__RichTextEvent_GetOldStyleSheet)
227 {
228 #ifdef dVAR
229     dVAR; dXSARGS;
230 #else
231     dXSARGS;
232 #endif
233     if (items != 1)
234        croak_xs_usage(cv,  "THIS");
235     {
236         wxRichTextEvent *    THIS = (wxRichTextEvent *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::RichTextEvent" );
237         wxRichTextStyleSheet *  RETVAL;
238     RETVAL = THIS->GetOldStyleSheet();
239         ST(0) = sv_newmortal();
240     wxPli_object_2_sv( aTHX_ ST(0), RETVAL );
241     wxPli_thread_sv_register( aTHX_ "Wx::RichTextStyleSheet", RETVAL, ST(0) );
242
243     wxPli_object_set_deleteable( aTHX_ ST(0), false );
244     }
245     XSRETURN(1);
246 }
247
248
249 XS(XS_Wx__RichTextEvent_SetOldStyleSheet); /* prototype to pass -Wmissing-prototypes */
250 XS(XS_Wx__RichTextEvent_SetOldStyleSheet)
251 {
252 #ifdef dVAR
253     dVAR; dXSARGS;
254 #else
255     dXSARGS;
256 #endif
257     if (items != 2)
258        croak_xs_usage(cv,  "THIS, sheet");
259     {
260         wxRichTextStyleSheet*    sheet = (wxRichTextStyleSheet *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::RichTextStyleSheet" );
261         wxRichTextEvent *    THIS = (wxRichTextEvent *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::RichTextEvent" );
262
263         THIS->SetOldStyleSheet(sheet);
264     }
265     XSRETURN_EMPTY;
266 }
267
268
269 XS(XS_Wx__RichTextEvent_GetNewStyleSheet); /* prototype to pass -Wmissing-prototypes */
270 XS(XS_Wx__RichTextEvent_GetNewStyleSheet)
271 {
272 #ifdef dVAR
273     dVAR; dXSARGS;
274 #else
275     dXSARGS;
276 #endif
277     if (items != 1)
278        croak_xs_usage(cv,  "THIS");
279     {
280         wxRichTextEvent *    THIS = (wxRichTextEvent *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::RichTextEvent" );
281         wxRichTextStyleSheet *  RETVAL;
282     RETVAL = THIS->GetNewStyleSheet();
283         ST(0) = sv_newmortal();
284     wxPli_object_2_sv( aTHX_ ST(0), RETVAL );
285     wxPli_thread_sv_register( aTHX_ "Wx::RichTextStyleSheet", RETVAL, ST(0) );
286
287     wxPli_object_set_deleteable( aTHX_ ST(0), false );
288     }
289     XSRETURN(1);
290 }
291
292
293 XS(XS_Wx__RichTextEvent_SetNewStyleSheet); /* prototype to pass -Wmissing-prototypes */
294 XS(XS_Wx__RichTextEvent_SetNewStyleSheet)
295 {
296 #ifdef dVAR
297     dVAR; dXSARGS;
298 #else
299     dXSARGS;
300 #endif
301     if (items != 2)
302        croak_xs_usage(cv,  "THIS, sheet");
303     {
304         wxRichTextStyleSheet*    sheet = (wxRichTextStyleSheet *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::RichTextStyleSheet" );
305         wxRichTextEvent *    THIS = (wxRichTextEvent *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::RichTextEvent" );
306
307         THIS->SetNewStyleSheet(sheet);
308     }
309     XSRETURN_EMPTY;
310 }
311
312 #endif
313
314 XS(XS_Wx__RichTextCtrl_newDefault); /* prototype to pass -Wmissing-prototypes */
315 XS(XS_Wx__RichTextCtrl_newDefault)
316 {
317 #ifdef dVAR
318     dVAR; dXSARGS;
319 #else
320     dXSARGS;
321 #endif
322     if (items != 1)
323        croak_xs_usage(cv,  "CLASS");
324     {
325         char *  CLASS = (char *)SvPV_nolen(ST(0));
326         wxRichTextCtrl *        RETVAL;
327      RETVAL = new wxRichTextCtrl();
328                 wxPli_create_evthandler( aTHX_ RETVAL, CLASS );
329
330         ST(0) = sv_newmortal();
331     wxPli_evthandler_2_sv( aTHX_ ST(0), RETVAL );
332
333     }
334     XSRETURN(1);
335 }
336
337
338 XS(XS_Wx__RichTextCtrl_newFull); /* prototype to pass -Wmissing-prototypes */
339 XS(XS_Wx__RichTextCtrl_newFull)
340 {
341 #ifdef dVAR
342     dVAR; dXSARGS;
343 #else
344     dXSARGS;
345 #endif
346     if (items < 2 || items > 7)
347        croak_xs_usage(cv,  "CLASS, parent, id = wxID_ANY, string = wxEmptyString, pos = wxDefaultPosition, size = wxDefaultSize, style = wxRE_MULTILINE");
348     {
349         wxWindow*    parent = (wxWindow *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::Window" );
350         wxWindowID      id;
351         wxString        string;
352         wxPoint pos;
353         wxSize  size;
354         long    style;
355         char *  CLASS = (char *)SvPV_nolen(ST(0));
356         wxRichTextCtrl *        RETVAL;
357
358         if (items < 3)
359             id = wxID_ANY;
360         else {
361     id = wxPli_get_wxwindowid( aTHX_ ST(2) );
362         }
363
364         if (items < 4)
365             string = wxEmptyString;
366         else {
367     WXSTRING_INPUT( string, wxString, ST(3) );
368         }
369
370         if (items < 5)
371             pos = wxDefaultPosition;
372         else {
373     pos = wxPli_sv_2_wxpoint( aTHX_ ST(4) );
374         }
375
376         if (items < 6)
377             size = wxDefaultSize;
378         else {
379     size = wxPli_sv_2_wxsize( aTHX_ ST(5) );
380         }
381
382         if (items < 7)
383             style = wxRE_MULTILINE;
384         else {
385             style = (long)SvIV(ST(6));
386         }
387      RETVAL = new wxRichTextCtrl( parent, id, string,
388                                              pos, size, style );
389                 wxPli_create_evthandler( aTHX_ RETVAL, CLASS );
390
391         ST(0) = sv_newmortal();
392     wxPli_evthandler_2_sv( aTHX_ ST(0), RETVAL );
393
394     }
395     XSRETURN(1);
396 }
397
398
399 XS(XS_Wx__RichTextCtrl_Create); /* prototype to pass -Wmissing-prototypes */
400 XS(XS_Wx__RichTextCtrl_Create)
401 {
402 #ifdef dVAR
403     dVAR; dXSARGS;
404 #else
405     dXSARGS;
406 #endif
407     if (items < 2 || items > 7)
408        croak_xs_usage(cv,  "THIS, parent, id = wxID_ANY, string = wxEmptyString, pos = wxDefaultPosition, size = wxDefaultSize, style = wxRE_MULTILINE");
409     {
410         wxWindow*    parent = (wxWindow *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::Window" );
411         wxWindowID      id;
412         wxString        string;
413         wxPoint pos;
414         wxSize  size;
415         long    style;
416         wxRichTextCtrl *    THIS = (wxRichTextCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::RichTextCtrl" );
417         bool    RETVAL;
418
419         if (items < 3)
420             id = wxID_ANY;
421         else {
422     id = wxPli_get_wxwindowid( aTHX_ ST(2) );
423         }
424
425         if (items < 4)
426             string = wxEmptyString;
427         else {
428     WXSTRING_INPUT( string, wxString, ST(3) );
429         }
430
431         if (items < 5)
432             pos = wxDefaultPosition;
433         else {
434     pos = wxPli_sv_2_wxpoint( aTHX_ ST(4) );
435         }
436
437         if (items < 6)
438             size = wxDefaultSize;
439         else {
440     size = wxPli_sv_2_wxsize( aTHX_ ST(5) );
441         }
442
443         if (items < 7)
444             style = wxRE_MULTILINE;
445         else {
446             style = (long)SvIV(ST(6));
447         }
448
449         RETVAL = THIS->Create(parent, id, string, pos, size, style);
450         ST(0) = boolSV(RETVAL);
451         sv_2mortal(ST(0));
452     }
453     XSRETURN(1);
454 }
455
456
457 XS(XS_Wx__RichTextCtrl_GetFilename); /* prototype to pass -Wmissing-prototypes */
458 XS(XS_Wx__RichTextCtrl_GetFilename)
459 {
460 #ifdef dVAR
461     dVAR; dXSARGS;
462 #else
463     dXSARGS;
464 #endif
465     if (items != 1)
466        croak_xs_usage(cv,  "THIS");
467     {
468         wxRichTextCtrl *    THIS = (wxRichTextCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::RichTextCtrl" );
469         wxString        RETVAL;
470
471         RETVAL = THIS->GetFilename();
472         ST(0) = sv_newmortal();
473     WXSTRING_OUTPUT( RETVAL, ST(0) );
474
475     }
476     XSRETURN(1);
477 }
478
479
480 XS(XS_Wx__RichTextCtrl_SetFilename); /* prototype to pass -Wmissing-prototypes */
481 XS(XS_Wx__RichTextCtrl_SetFilename)
482 {
483 #ifdef dVAR
484     dVAR; dXSARGS;
485 #else
486     dXSARGS;
487 #endif
488     if (items != 2)
489        croak_xs_usage(cv,  "THIS, filename");
490     {
491         wxString        filename;
492         wxRichTextCtrl *    THIS = (wxRichTextCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::RichTextCtrl" );
493
494     WXSTRING_INPUT( filename, wxString, ST(1) );
495
496         THIS->SetFilename(filename);
497     }
498     XSRETURN_EMPTY;
499 }
500
501
502 XS(XS_Wx__RichTextCtrl_SetDelayedLayoutThreshold); /* prototype to pass -Wmissing-prototypes */
503 XS(XS_Wx__RichTextCtrl_SetDelayedLayoutThreshold)
504 {
505 #ifdef dVAR
506     dVAR; dXSARGS;
507 #else
508     dXSARGS;
509 #endif
510     if (items != 2)
511        croak_xs_usage(cv,  "THIS, threshold");
512     {
513         long    threshold = (long)SvIV(ST(1));
514         wxRichTextCtrl *    THIS = (wxRichTextCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::RichTextCtrl" );
515
516         THIS->SetDelayedLayoutThreshold(threshold);
517     }
518     XSRETURN_EMPTY;
519 }
520
521
522 XS(XS_Wx__RichTextCtrl_GetDelayedLayoutThreshold); /* prototype to pass -Wmissing-prototypes */
523 XS(XS_Wx__RichTextCtrl_GetDelayedLayoutThreshold)
524 {
525 #ifdef dVAR
526     dVAR; dXSARGS;
527 #else
528     dXSARGS;
529 #endif
530     if (items != 1)
531        croak_xs_usage(cv,  "THIS");
532     {
533         wxRichTextCtrl *    THIS = (wxRichTextCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::RichTextCtrl" );
534         long    RETVAL;
535         dXSTARG;
536
537         RETVAL = THIS->GetDelayedLayoutThreshold();
538         XSprePUSH; PUSHi((IV)RETVAL);
539     }
540     XSRETURN(1);
541 }
542
543
544 XS(XS_Wx__RichTextCtrl_SetStyleFromTo); /* prototype to pass -Wmissing-prototypes */
545 XS(XS_Wx__RichTextCtrl_SetStyleFromTo)
546 {
547 #ifdef dVAR
548     dVAR; dXSARGS;
549 #else
550     dXSARGS;
551 #endif
552     if (items != 4)
553        croak_xs_usage(cv,  "THIS, start, end, style");
554     {
555         long    start = (long)SvIV(ST(1));
556         long    end = (long)SvIV(ST(2));
557         wxTextAttr*    style = (wxTextAttr *) wxPli_sv_2_object( aTHX_ ST(3), "Wx::TextAttr" );
558         wxRichTextCtrl *    THIS = (wxRichTextCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::RichTextCtrl" );
559         bool    RETVAL;
560     RETVAL = THIS->SetStyle( start, end, *( style ) );
561         ST(0) = boolSV(RETVAL);
562         sv_2mortal(ST(0));
563     }
564     XSRETURN(1);
565 }
566
567
568 XS(XS_Wx__RichTextCtrl_SetStyleExFromTo); /* prototype to pass -Wmissing-prototypes */
569 XS(XS_Wx__RichTextCtrl_SetStyleExFromTo)
570 {
571 #ifdef dVAR
572     dVAR; dXSARGS;
573 #else
574     dXSARGS;
575 #endif
576     if (items != 4)
577        croak_xs_usage(cv,  "THIS, start, end, style");
578     {
579         long    start = (long)SvIV(ST(1));
580         long    end = (long)SvIV(ST(2));
581         wxTextAttrEx*    style = (wxTextAttrEx *) wxPli_sv_2_object( aTHX_ ST(3), "Wx::TextAttrEx" );
582         wxRichTextCtrl *    THIS = (wxRichTextCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::RichTextCtrl" );
583         bool    RETVAL;
584     RETVAL = THIS->SetStyle( start, end, *( style ) );
585         ST(0) = boolSV(RETVAL);
586         sv_2mortal(ST(0));
587     }
588     XSRETURN(1);
589 }
590
591
592 XS(XS_Wx__RichTextCtrl_SetStyleRange); /* prototype to pass -Wmissing-prototypes */
593 XS(XS_Wx__RichTextCtrl_SetStyleRange)
594 {
595 #ifdef dVAR
596     dVAR; dXSARGS;
597 #else
598     dXSARGS;
599 #endif
600     if (items != 3)
601        croak_xs_usage(cv,  "THIS, range, style");
602     {
603         wxRichTextRange*    range = (wxRichTextRange *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::RichTextRange" );
604         wxRichTextAttr*    style = (wxRichTextAttr *) wxPli_sv_2_object( aTHX_ ST(2), "Wx::RichTextAttr" );
605         wxRichTextCtrl *    THIS = (wxRichTextCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::RichTextCtrl" );
606         bool    RETVAL;
607     RETVAL = THIS->SetStyle( *( range ), *( style ) );
608         ST(0) = boolSV(RETVAL);
609         sv_2mortal(ST(0));
610     }
611     XSRETURN(1);
612 }
613
614 #if WXPERL_W_VERSION_GE( 2, 7, 1 )
615 #if WXPERL_W_VERSION_LT( 2, 9, 0 )
616 #define XSubPPtmpAAAC 1
617
618
619 XS(XS_Wx__RichTextCtrl_SetStyleExExFromTo); /* prototype to pass -Wmissing-prototypes */
620 XS(XS_Wx__RichTextCtrl_SetStyleExExFromTo)
621 {
622 #ifdef dVAR
623     dVAR; dXSARGS;
624 #else
625     dXSARGS;
626 #endif
627     if (items < 4 || items > 5)
628        croak_xs_usage(cv,  "THIS, start, end, style, flags = wxRICHTEXT_SETSTYLE_WITH_UNDO");
629     {
630         long    start = (long)SvIV(ST(1));
631         long    end = (long)SvIV(ST(2));
632         wxTextAttrEx*    style = (wxTextAttrEx *) wxPli_sv_2_object( aTHX_ ST(3), "Wx::TextAttrEx" );
633         int     flags;
634         wxRichTextCtrl *    THIS = (wxRichTextCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::RichTextCtrl" );
635         bool    RETVAL;
636
637         if (items < 5)
638             flags = wxRICHTEXT_SETSTYLE_WITH_UNDO;
639         else {
640             flags = (int)SvIV(ST(4));
641         }
642     RETVAL = THIS->SetStyleEx( start, end, *( style ), flags );
643         ST(0) = boolSV(RETVAL);
644         sv_2mortal(ST(0));
645     }
646     XSRETURN(1);
647 }
648
649 #endif
650 #define XSubPPtmpAAAD 1
651
652
653 XS(XS_Wx__RichTextCtrl_SetStyleExRange); /* prototype to pass -Wmissing-prototypes */
654 XS(XS_Wx__RichTextCtrl_SetStyleExRange)
655 {
656 #ifdef dVAR
657     dVAR; dXSARGS;
658 #else
659     dXSARGS;
660 #endif
661     if (items < 3 || items > 4)
662        croak_xs_usage(cv,  "THIS, range, style, flags = wxRICHTEXT_SETSTYLE_WITH_UNDO");
663     {
664         wxRichTextRange*    range = (wxRichTextRange *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::RichTextRange" );
665         wxTextAttrEx*    style = (wxTextAttrEx *) wxPli_sv_2_object( aTHX_ ST(2), "Wx::TextAttrEx" );
666         int     flags;
667         wxRichTextCtrl *    THIS = (wxRichTextCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::RichTextCtrl" );
668         bool    RETVAL;
669
670         if (items < 4)
671             flags = wxRICHTEXT_SETSTYLE_WITH_UNDO;
672         else {
673             flags = (int)SvIV(ST(3));
674         }
675     RETVAL = THIS->SetStyleEx( *( range ), *( style ), flags );
676         ST(0) = boolSV(RETVAL);
677         sv_2mortal(ST(0));
678     }
679     XSRETURN(1);
680 }
681
682
683 XS(XS_Wx__RichTextCtrl_SetStyleExExRange); /* prototype to pass -Wmissing-prototypes */
684 XS(XS_Wx__RichTextCtrl_SetStyleExExRange)
685 {
686 #ifdef dVAR
687     dVAR; dXSARGS;
688 #else
689     dXSARGS;
690 #endif
691     if (items < 3 || items > 4)
692        croak_xs_usage(cv,  "THIS, range, style, flags = wxRICHTEXT_SETSTYLE_WITH_UNDO");
693     {
694         wxRichTextRange*    range = (wxRichTextRange *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::RichTextRange" );
695         wxRichTextAttr*    style = (wxRichTextAttr *) wxPli_sv_2_object( aTHX_ ST(2), "Wx::RichTextAttr" );
696         int     flags;
697         wxRichTextCtrl *    THIS = (wxRichTextCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::RichTextCtrl" );
698         bool    RETVAL;
699
700         if (items < 4)
701             flags = wxRICHTEXT_SETSTYLE_WITH_UNDO;
702         else {
703             flags = (int)SvIV(ST(3));
704         }
705     RETVAL = THIS->SetStyleEx( *( range ), *( style ), flags );
706         ST(0) = boolSV(RETVAL);
707         sv_2mortal(ST(0));
708     }
709     XSRETURN(1);
710 }
711
712 #endif
713
714 XS(XS_Wx__RichTextCtrl_GetBasicStyle); /* prototype to pass -Wmissing-prototypes */
715 XS(XS_Wx__RichTextCtrl_GetBasicStyle)
716 {
717 #ifdef dVAR
718     dVAR; dXSARGS;
719 #else
720     dXSARGS;
721 #endif
722     if (items != 1)
723        croak_xs_usage(cv,  "THIS");
724     {
725         wxRichTextCtrl *    THIS = (wxRichTextCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::RichTextCtrl" );
726         wxTextAttrEx *  RETVAL;
727     RETVAL = new wxTextAttrEx( THIS->GetBasicStyle() );
728         ST(0) = sv_newmortal();
729     wxPli_non_object_2_sv( aTHX_ ST(0), RETVAL, "Wx::TextAttrEx" );
730     wxPli_thread_sv_register( aTHX_ "Wx::TextAttrEx", RETVAL, ST(0) );
731
732     }
733     XSRETURN(1);
734 }
735
736
737 XS(XS_Wx__RichTextCtrl_GetDefaultStyleEx); /* prototype to pass -Wmissing-prototypes */
738 XS(XS_Wx__RichTextCtrl_GetDefaultStyleEx)
739 {
740 #ifdef dVAR
741     dVAR; dXSARGS;
742 #else
743     dXSARGS;
744 #endif
745     if (items != 1)
746        croak_xs_usage(cv,  "THIS");
747     {
748         wxRichTextCtrl *    THIS = (wxRichTextCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::RichTextCtrl" );
749         wxTextAttrEx *  RETVAL;
750     RETVAL = new wxTextAttrEx( THIS->GetDefaultStyleEx() );
751         ST(0) = sv_newmortal();
752     wxPli_non_object_2_sv( aTHX_ ST(0), RETVAL, "Wx::TextAttrEx" );
753     wxPli_thread_sv_register( aTHX_ "Wx::TextAttrEx", RETVAL, ST(0) );
754
755     }
756     XSRETURN(1);
757 }
758
759
760 XS(XS_Wx__RichTextCtrl_Newline); /* prototype to pass -Wmissing-prototypes */
761 XS(XS_Wx__RichTextCtrl_Newline)
762 {
763 #ifdef dVAR
764     dVAR; dXSARGS;
765 #else
766     dXSARGS;
767 #endif
768     if (items != 1)
769        croak_xs_usage(cv,  "THIS");
770     {
771         wxRichTextCtrl *    THIS = (wxRichTextCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::RichTextCtrl" );
772         bool    RETVAL;
773
774         RETVAL = THIS->Newline();
775         ST(0) = boolSV(RETVAL);
776         sv_2mortal(ST(0));
777     }
778     XSRETURN(1);
779 }
780
781
782 XS(XS_Wx__RichTextCtrl_BeginStyle); /* prototype to pass -Wmissing-prototypes */
783 XS(XS_Wx__RichTextCtrl_BeginStyle)
784 {
785 #ifdef dVAR
786     dVAR; dXSARGS;
787 #else
788     dXSARGS;
789 #endif
790     if (items != 2)
791        croak_xs_usage(cv,  "THIS, style");
792     {
793         wxTextAttrEx*    style = (wxTextAttrEx *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::TextAttrEx" );
794         wxRichTextCtrl *    THIS = (wxRichTextCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::RichTextCtrl" );
795         bool    RETVAL;
796     RETVAL = THIS->BeginStyle( *( style ) );
797         ST(0) = boolSV(RETVAL);
798         sv_2mortal(ST(0));
799     }
800     XSRETURN(1);
801 }
802
803
804 XS(XS_Wx__RichTextCtrl_EndStyle); /* prototype to pass -Wmissing-prototypes */
805 XS(XS_Wx__RichTextCtrl_EndStyle)
806 {
807 #ifdef dVAR
808     dVAR; dXSARGS;
809 #else
810     dXSARGS;
811 #endif
812     if (items != 1)
813        croak_xs_usage(cv,  "THIS");
814     {
815         wxRichTextCtrl *    THIS = (wxRichTextCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::RichTextCtrl" );
816         bool    RETVAL;
817
818         RETVAL = THIS->EndStyle();
819         ST(0) = boolSV(RETVAL);
820         sv_2mortal(ST(0));
821     }
822     XSRETURN(1);
823 }
824
825
826 XS(XS_Wx__RichTextCtrl_EndAllStyles); /* prototype to pass -Wmissing-prototypes */
827 XS(XS_Wx__RichTextCtrl_EndAllStyles)
828 {
829 #ifdef dVAR
830     dVAR; dXSARGS;
831 #else
832     dXSARGS;
833 #endif
834     if (items != 1)
835        croak_xs_usage(cv,  "THIS");
836     {
837         wxRichTextCtrl *    THIS = (wxRichTextCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::RichTextCtrl" );
838         bool    RETVAL;
839
840         RETVAL = THIS->EndAllStyles();
841         ST(0) = boolSV(RETVAL);
842         sv_2mortal(ST(0));
843     }
844     XSRETURN(1);
845 }
846
847
848 XS(XS_Wx__RichTextCtrl_BeginBold); /* prototype to pass -Wmissing-prototypes */
849 XS(XS_Wx__RichTextCtrl_BeginBold)
850 {
851 #ifdef dVAR
852     dVAR; dXSARGS;
853 #else
854     dXSARGS;
855 #endif
856     if (items != 1)
857        croak_xs_usage(cv,  "THIS");
858     {
859         wxRichTextCtrl *    THIS = (wxRichTextCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::RichTextCtrl" );
860         bool    RETVAL;
861
862         RETVAL = THIS->BeginBold();
863         ST(0) = boolSV(RETVAL);
864         sv_2mortal(ST(0));
865     }
866     XSRETURN(1);
867 }
868
869
870 XS(XS_Wx__RichTextCtrl_EndBold); /* prototype to pass -Wmissing-prototypes */
871 XS(XS_Wx__RichTextCtrl_EndBold)
872 {
873 #ifdef dVAR
874     dVAR; dXSARGS;
875 #else
876     dXSARGS;
877 #endif
878     if (items != 1)
879        croak_xs_usage(cv,  "THIS");
880     {
881         wxRichTextCtrl *    THIS = (wxRichTextCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::RichTextCtrl" );
882         bool    RETVAL;
883
884         RETVAL = THIS->EndBold();
885         ST(0) = boolSV(RETVAL);
886         sv_2mortal(ST(0));
887     }
888     XSRETURN(1);
889 }
890
891
892 XS(XS_Wx__RichTextCtrl_BeginItalic); /* prototype to pass -Wmissing-prototypes */
893 XS(XS_Wx__RichTextCtrl_BeginItalic)
894 {
895 #ifdef dVAR
896     dVAR; dXSARGS;
897 #else
898     dXSARGS;
899 #endif
900     if (items != 1)
901        croak_xs_usage(cv,  "THIS");
902     {
903         wxRichTextCtrl *    THIS = (wxRichTextCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::RichTextCtrl" );
904         bool    RETVAL;
905
906         RETVAL = THIS->BeginItalic();
907         ST(0) = boolSV(RETVAL);
908         sv_2mortal(ST(0));
909     }
910     XSRETURN(1);
911 }
912
913
914 XS(XS_Wx__RichTextCtrl_EndItalic); /* prototype to pass -Wmissing-prototypes */
915 XS(XS_Wx__RichTextCtrl_EndItalic)
916 {
917 #ifdef dVAR
918     dVAR; dXSARGS;
919 #else
920     dXSARGS;
921 #endif
922     if (items != 1)
923        croak_xs_usage(cv,  "THIS");
924     {
925         wxRichTextCtrl *    THIS = (wxRichTextCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::RichTextCtrl" );
926         bool    RETVAL;
927
928         RETVAL = THIS->EndItalic();
929         ST(0) = boolSV(RETVAL);
930         sv_2mortal(ST(0));
931     }
932     XSRETURN(1);
933 }
934
935
936 XS(XS_Wx__RichTextCtrl_BeginUnderline); /* prototype to pass -Wmissing-prototypes */
937 XS(XS_Wx__RichTextCtrl_BeginUnderline)
938 {
939 #ifdef dVAR
940     dVAR; dXSARGS;
941 #else
942     dXSARGS;
943 #endif
944     if (items != 1)
945        croak_xs_usage(cv,  "THIS");
946     {
947         wxRichTextCtrl *    THIS = (wxRichTextCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::RichTextCtrl" );
948         bool    RETVAL;
949
950         RETVAL = THIS->BeginUnderline();
951         ST(0) = boolSV(RETVAL);
952         sv_2mortal(ST(0));
953     }
954     XSRETURN(1);
955 }
956
957
958 XS(XS_Wx__RichTextCtrl_EndUnderline); /* prototype to pass -Wmissing-prototypes */
959 XS(XS_Wx__RichTextCtrl_EndUnderline)
960 {
961 #ifdef dVAR
962     dVAR; dXSARGS;
963 #else
964     dXSARGS;
965 #endif
966     if (items != 1)
967        croak_xs_usage(cv,  "THIS");
968     {
969         wxRichTextCtrl *    THIS = (wxRichTextCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::RichTextCtrl" );
970         bool    RETVAL;
971
972         RETVAL = THIS->EndUnderline();
973         ST(0) = boolSV(RETVAL);
974         sv_2mortal(ST(0));
975     }
976     XSRETURN(1);
977 }
978
979
980 XS(XS_Wx__RichTextCtrl_BeginFontSize); /* prototype to pass -Wmissing-prototypes */
981 XS(XS_Wx__RichTextCtrl_BeginFontSize)
982 {
983 #ifdef dVAR
984     dVAR; dXSARGS;
985 #else
986     dXSARGS;
987 #endif
988     if (items != 2)
989        croak_xs_usage(cv,  "THIS, pointSize");
990     {
991         int     pointSize = (int)SvIV(ST(1));
992         wxRichTextCtrl *    THIS = (wxRichTextCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::RichTextCtrl" );
993         bool    RETVAL;
994
995         RETVAL = THIS->BeginFontSize(pointSize);
996         ST(0) = boolSV(RETVAL);
997         sv_2mortal(ST(0));
998     }
999     XSRETURN(1);
1000 }
1001
1002
1003 XS(XS_Wx__RichTextCtrl_EndFontSize); /* prototype to pass -Wmissing-prototypes */
1004 XS(XS_Wx__RichTextCtrl_EndFontSize)
1005 {
1006 #ifdef dVAR
1007     dVAR; dXSARGS;
1008 #else
1009     dXSARGS;
1010 #endif
1011     if (items != 1)
1012        croak_xs_usage(cv,  "THIS");
1013     {
1014         wxRichTextCtrl *    THIS = (wxRichTextCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::RichTextCtrl" );
1015         bool    RETVAL;
1016
1017         RETVAL = THIS->EndFontSize();
1018         ST(0) = boolSV(RETVAL);
1019         sv_2mortal(ST(0));
1020     }
1021     XSRETURN(1);
1022 }
1023
1024
1025 XS(XS_Wx__RichTextCtrl_BeginFont); /* prototype to pass -Wmissing-prototypes */
1026 XS(XS_Wx__RichTextCtrl_BeginFont)
1027 {
1028 #ifdef dVAR
1029     dVAR; dXSARGS;
1030 #else
1031     dXSARGS;
1032 #endif
1033     if (items != 2)
1034        croak_xs_usage(cv,  "THIS, font");
1035     {
1036         wxFont*    font = (wxFont *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::Font" );
1037         wxRichTextCtrl *    THIS = (wxRichTextCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::RichTextCtrl" );
1038         bool    RETVAL;
1039     RETVAL = THIS->BeginFont( *( font ) );
1040         ST(0) = boolSV(RETVAL);
1041         sv_2mortal(ST(0));
1042     }
1043     XSRETURN(1);
1044 }
1045
1046
1047 XS(XS_Wx__RichTextCtrl_EndFont); /* prototype to pass -Wmissing-prototypes */
1048 XS(XS_Wx__RichTextCtrl_EndFont)
1049 {
1050 #ifdef dVAR
1051     dVAR; dXSARGS;
1052 #else
1053     dXSARGS;
1054 #endif
1055     if (items != 1)
1056        croak_xs_usage(cv,  "THIS");
1057     {
1058         wxRichTextCtrl *    THIS = (wxRichTextCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::RichTextCtrl" );
1059         bool    RETVAL;
1060
1061         RETVAL = THIS->EndFont();
1062         ST(0) = boolSV(RETVAL);
1063         sv_2mortal(ST(0));
1064     }
1065     XSRETURN(1);
1066 }
1067
1068
1069 XS(XS_Wx__RichTextCtrl_BeginTextColour); /* prototype to pass -Wmissing-prototypes */
1070 XS(XS_Wx__RichTextCtrl_BeginTextColour)
1071 {
1072 #ifdef dVAR
1073     dVAR; dXSARGS;
1074 #else
1075     dXSARGS;
1076 #endif
1077     if (items != 2)
1078        croak_xs_usage(cv,  "THIS, colour");
1079     {
1080         wxColour*    colour = (wxColour *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::Colour" );
1081         wxRichTextCtrl *    THIS = (wxRichTextCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::RichTextCtrl" );
1082         bool    RETVAL;
1083     RETVAL = THIS->BeginTextColour( *( colour ) );
1084         ST(0) = boolSV(RETVAL);
1085         sv_2mortal(ST(0));
1086     }
1087     XSRETURN(1);
1088 }
1089
1090
1091 XS(XS_Wx__RichTextCtrl_EndTextColour); /* prototype to pass -Wmissing-prototypes */
1092 XS(XS_Wx__RichTextCtrl_EndTextColour)
1093 {
1094 #ifdef dVAR
1095     dVAR; dXSARGS;
1096 #else
1097     dXSARGS;
1098 #endif
1099     if (items != 1)
1100        croak_xs_usage(cv,  "THIS");
1101     {
1102         wxRichTextCtrl *    THIS = (wxRichTextCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::RichTextCtrl" );
1103         bool    RETVAL;
1104
1105         RETVAL = THIS->EndTextColour();
1106         ST(0) = boolSV(RETVAL);
1107         sv_2mortal(ST(0));
1108     }
1109     XSRETURN(1);
1110 }
1111
1112
1113 XS(XS_Wx__RichTextCtrl_BeginAlignment); /* prototype to pass -Wmissing-prototypes */
1114 XS(XS_Wx__RichTextCtrl_BeginAlignment)
1115 {
1116 #ifdef dVAR
1117     dVAR; dXSARGS;
1118 #else
1119     dXSARGS;
1120 #endif
1121     if (items != 2)
1122        croak_xs_usage(cv,  "THIS, alignment");
1123     {
1124         wxTextAttrAlignment     alignment = (wxTextAttrAlignment)SvIV(ST(1));
1125         wxRichTextCtrl *    THIS = (wxRichTextCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::RichTextCtrl" );
1126         bool    RETVAL;
1127
1128         RETVAL = THIS->BeginAlignment(alignment);
1129         ST(0) = boolSV(RETVAL);
1130         sv_2mortal(ST(0));
1131     }
1132     XSRETURN(1);
1133 }
1134
1135
1136 XS(XS_Wx__RichTextCtrl_EndAlignment); /* prototype to pass -Wmissing-prototypes */
1137 XS(XS_Wx__RichTextCtrl_EndAlignment)
1138 {
1139 #ifdef dVAR
1140     dVAR; dXSARGS;
1141 #else
1142     dXSARGS;
1143 #endif
1144     if (items != 1)
1145        croak_xs_usage(cv,  "THIS");
1146     {
1147         wxRichTextCtrl *    THIS = (wxRichTextCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::RichTextCtrl" );
1148         bool    RETVAL;
1149
1150         RETVAL = THIS->EndAlignment();
1151         ST(0) = boolSV(RETVAL);
1152         sv_2mortal(ST(0));
1153     }
1154     XSRETURN(1);
1155 }
1156
1157
1158 XS(XS_Wx__RichTextCtrl_BeginLeftIndent); /* prototype to pass -Wmissing-prototypes */
1159 XS(XS_Wx__RichTextCtrl_BeginLeftIndent)
1160 {
1161 #ifdef dVAR
1162     dVAR; dXSARGS;
1163 #else
1164     dXSARGS;
1165 #endif
1166     if (items < 2 || items > 3)
1167        croak_xs_usage(cv,  "THIS, leftIndent, leftSubIndent = 0");
1168     {
1169         int     leftIndent = (int)SvIV(ST(1));
1170         int     leftSubIndent;
1171         wxRichTextCtrl *    THIS = (wxRichTextCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::RichTextCtrl" );
1172         bool    RETVAL;
1173
1174         if (items < 3)
1175             leftSubIndent = 0;
1176         else {
1177             leftSubIndent = (int)SvIV(ST(2));
1178         }
1179
1180         RETVAL = THIS->BeginLeftIndent(leftIndent, leftSubIndent);
1181         ST(0) = boolSV(RETVAL);
1182         sv_2mortal(ST(0));
1183     }
1184     XSRETURN(1);
1185 }
1186
1187
1188 XS(XS_Wx__RichTextCtrl_EndLeftIndent); /* prototype to pass -Wmissing-prototypes */
1189 XS(XS_Wx__RichTextCtrl_EndLeftIndent)
1190 {
1191 #ifdef dVAR
1192     dVAR; dXSARGS;
1193 #else
1194     dXSARGS;
1195 #endif
1196     if (items != 1)
1197        croak_xs_usage(cv,  "THIS");
1198     {
1199         wxRichTextCtrl *    THIS = (wxRichTextCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::RichTextCtrl" );
1200         bool    RETVAL;
1201
1202         RETVAL = THIS->EndLeftIndent();
1203         ST(0) = boolSV(RETVAL);
1204         sv_2mortal(ST(0));
1205     }
1206     XSRETURN(1);
1207 }
1208
1209
1210 XS(XS_Wx__RichTextCtrl_BeginRightIndent); /* prototype to pass -Wmissing-prototypes */
1211 XS(XS_Wx__RichTextCtrl_BeginRightIndent)
1212 {
1213 #ifdef dVAR
1214     dVAR; dXSARGS;
1215 #else
1216     dXSARGS;
1217 #endif
1218     if (items != 2)
1219        croak_xs_usage(cv,  "THIS, rightIndent");
1220     {
1221         int     rightIndent = (int)SvIV(ST(1));
1222         wxRichTextCtrl *    THIS = (wxRichTextCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::RichTextCtrl" );
1223         bool    RETVAL;
1224
1225         RETVAL = THIS->BeginRightIndent(rightIndent);
1226         ST(0) = boolSV(RETVAL);
1227         sv_2mortal(ST(0));
1228     }
1229     XSRETURN(1);
1230 }
1231
1232
1233 XS(XS_Wx__RichTextCtrl_EndRightIndent); /* prototype to pass -Wmissing-prototypes */
1234 XS(XS_Wx__RichTextCtrl_EndRightIndent)
1235 {
1236 #ifdef dVAR
1237     dVAR; dXSARGS;
1238 #else
1239     dXSARGS;
1240 #endif
1241     if (items != 1)
1242        croak_xs_usage(cv,  "THIS");
1243     {
1244         wxRichTextCtrl *    THIS = (wxRichTextCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::RichTextCtrl" );
1245         bool    RETVAL;
1246
1247         RETVAL = THIS->EndRightIndent();
1248         ST(0) = boolSV(RETVAL);
1249         sv_2mortal(ST(0));
1250     }
1251     XSRETURN(1);
1252 }
1253
1254
1255 XS(XS_Wx__RichTextCtrl_BeginParagraphSpacing); /* prototype to pass -Wmissing-prototypes */
1256 XS(XS_Wx__RichTextCtrl_BeginParagraphSpacing)
1257 {
1258 #ifdef dVAR
1259     dVAR; dXSARGS;
1260 #else
1261     dXSARGS;
1262 #endif
1263     if (items != 3)
1264        croak_xs_usage(cv,  "THIS, before, after");
1265     {
1266         int     before = (int)SvIV(ST(1));
1267         int     after = (int)SvIV(ST(2));
1268         wxRichTextCtrl *    THIS = (wxRichTextCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::RichTextCtrl" );
1269         bool    RETVAL;
1270
1271         RETVAL = THIS->BeginParagraphSpacing(before, after);
1272         ST(0) = boolSV(RETVAL);
1273         sv_2mortal(ST(0));
1274     }
1275     XSRETURN(1);
1276 }
1277
1278
1279 XS(XS_Wx__RichTextCtrl_EndParagraphSpacing); /* prototype to pass -Wmissing-prototypes */
1280 XS(XS_Wx__RichTextCtrl_EndParagraphSpacing)
1281 {
1282 #ifdef dVAR
1283     dVAR; dXSARGS;
1284 #else
1285     dXSARGS;
1286 #endif
1287     if (items != 1)
1288        croak_xs_usage(cv,  "THIS");
1289     {
1290         wxRichTextCtrl *    THIS = (wxRichTextCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::RichTextCtrl" );
1291         bool    RETVAL;
1292
1293         RETVAL = THIS->EndParagraphSpacing();
1294         ST(0) = boolSV(RETVAL);
1295         sv_2mortal(ST(0));
1296     }
1297     XSRETURN(1);
1298 }
1299
1300
1301 XS(XS_Wx__RichTextCtrl_BeginLineSpacing); /* prototype to pass -Wmissing-prototypes */
1302 XS(XS_Wx__RichTextCtrl_BeginLineSpacing)
1303 {
1304 #ifdef dVAR
1305     dVAR; dXSARGS;
1306 #else
1307     dXSARGS;
1308 #endif
1309     if (items != 2)
1310        croak_xs_usage(cv,  "THIS, lineSpacing");
1311     {
1312         int     lineSpacing = (int)SvIV(ST(1));
1313         wxRichTextCtrl *    THIS = (wxRichTextCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::RichTextCtrl" );
1314         bool    RETVAL;
1315
1316         RETVAL = THIS->BeginLineSpacing(lineSpacing);
1317         ST(0) = boolSV(RETVAL);
1318         sv_2mortal(ST(0));
1319     }
1320     XSRETURN(1);
1321 }
1322
1323
1324 XS(XS_Wx__RichTextCtrl_EndLineSpacing); /* prototype to pass -Wmissing-prototypes */
1325 XS(XS_Wx__RichTextCtrl_EndLineSpacing)
1326 {
1327 #ifdef dVAR
1328     dVAR; dXSARGS;
1329 #else
1330     dXSARGS;
1331 #endif
1332     if (items != 1)
1333        croak_xs_usage(cv,  "THIS");
1334     {
1335         wxRichTextCtrl *    THIS = (wxRichTextCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::RichTextCtrl" );
1336         bool    RETVAL;
1337
1338         RETVAL = THIS->EndLineSpacing();
1339         ST(0) = boolSV(RETVAL);
1340         sv_2mortal(ST(0));
1341     }
1342     XSRETURN(1);
1343 }
1344
1345
1346 XS(XS_Wx__RichTextCtrl_BeginNumberedBullet); /* prototype to pass -Wmissing-prototypes */
1347 XS(XS_Wx__RichTextCtrl_BeginNumberedBullet)
1348 {
1349 #ifdef dVAR
1350     dVAR; dXSARGS;
1351 #else
1352     dXSARGS;
1353 #endif
1354     if (items < 4 || items > 5)
1355        croak_xs_usage(cv,  "THIS, bulletNumber, leftIndent, leftSubIndent, bulletStyle = wxTEXT_ATTR_DEFAULT_NUMBERED_BULLET");
1356     {
1357         int     bulletNumber = (int)SvIV(ST(1));
1358         int     leftIndent = (int)SvIV(ST(2));
1359         int     leftSubIndent = (int)SvIV(ST(3));
1360         int     bulletStyle;
1361         wxRichTextCtrl *    THIS = (wxRichTextCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::RichTextCtrl" );
1362         bool    RETVAL;
1363
1364         if (items < 5)
1365             bulletStyle = wxTEXT_ATTR_DEFAULT_NUMBERED_BULLET;
1366         else {
1367             bulletStyle = (int)SvIV(ST(4));
1368         }
1369
1370         RETVAL = THIS->BeginNumberedBullet(bulletNumber, leftIndent, leftSubIndent, bulletStyle);
1371         ST(0) = boolSV(RETVAL);
1372         sv_2mortal(ST(0));
1373     }
1374     XSRETURN(1);
1375 }
1376
1377
1378 XS(XS_Wx__RichTextCtrl_EndNumberedBullet); /* prototype to pass -Wmissing-prototypes */
1379 XS(XS_Wx__RichTextCtrl_EndNumberedBullet)
1380 {
1381 #ifdef dVAR
1382     dVAR; dXSARGS;
1383 #else
1384     dXSARGS;
1385 #endif
1386     if (items != 1)
1387        croak_xs_usage(cv,  "THIS");
1388     {
1389         wxRichTextCtrl *    THIS = (wxRichTextCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::RichTextCtrl" );
1390         bool    RETVAL;
1391
1392         RETVAL = THIS->EndNumberedBullet();
1393         ST(0) = boolSV(RETVAL);
1394         sv_2mortal(ST(0));
1395     }
1396     XSRETURN(1);
1397 }
1398
1399 #if WXPERL_W_VERSION_GE( 2, 7, 2 )
1400 #define XSubPPtmpAAAE 1
1401
1402
1403 XS(XS_Wx__RichTextCtrl_BeginSymbolBullet); /* prototype to pass -Wmissing-prototypes */
1404 XS(XS_Wx__RichTextCtrl_BeginSymbolBullet)
1405 {
1406 #ifdef dVAR
1407     dVAR; dXSARGS;
1408 #else
1409     dXSARGS;
1410 #endif
1411     if (items < 4 || items > 5)
1412        croak_xs_usage(cv,  "THIS, symbol, leftIndent, leftSubIndent, bulletStyle = wxTEXT_ATTR_BULLET_STYLE_SYMBOL");
1413     {
1414         wxString        symbol;
1415         int     leftIndent = (int)SvIV(ST(2));
1416         int     leftSubIndent = (int)SvIV(ST(3));
1417         int     bulletStyle;
1418         wxRichTextCtrl *    THIS = (wxRichTextCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::RichTextCtrl" );
1419         bool    RETVAL;
1420
1421     WXSTRING_INPUT( symbol, wxString, ST(1) );
1422
1423         if (items < 5)
1424             bulletStyle = wxTEXT_ATTR_BULLET_STYLE_SYMBOL;
1425         else {
1426             bulletStyle = (int)SvIV(ST(4));
1427         }
1428
1429         RETVAL = THIS->BeginSymbolBullet(symbol, leftIndent, leftSubIndent, bulletStyle);
1430         ST(0) = boolSV(RETVAL);
1431         sv_2mortal(ST(0));
1432     }
1433     XSRETURN(1);
1434 }
1435
1436 #else
1437 #define XSubPPtmpAAAF 1
1438
1439
1440 XS(XS_Wx__RichTextCtrl_BeginSymbolBullet); /* prototype to pass -Wmissing-prototypes */
1441 XS(XS_Wx__RichTextCtrl_BeginSymbolBullet)
1442 {
1443 #ifdef dVAR
1444     dVAR; dXSARGS;
1445 #else
1446     dXSARGS;
1447 #endif
1448     if (items < 4 || items > 5)
1449        croak_xs_usage(cv,  "THIS, symbol, leftIndent, leftSubIndent, bulletStyle = wxTEXT_ATTR_BULLET_STYLE_SYMBOL");
1450     {
1451         wxChar  symbol = (wxChar)SvIV(ST(1));
1452         int     leftIndent = (int)SvIV(ST(2));
1453         int     leftSubIndent = (int)SvIV(ST(3));
1454         int     bulletStyle;
1455         wxRichTextCtrl *    THIS = (wxRichTextCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::RichTextCtrl" );
1456         bool    RETVAL;
1457
1458         if (items < 5)
1459             bulletStyle = wxTEXT_ATTR_BULLET_STYLE_SYMBOL;
1460         else {
1461             bulletStyle = (int)SvIV(ST(4));
1462         }
1463
1464         RETVAL = THIS->BeginSymbolBullet(symbol, leftIndent, leftSubIndent, bulletStyle);
1465         ST(0) = boolSV(RETVAL);
1466         sv_2mortal(ST(0));
1467     }
1468     XSRETURN(1);
1469 }
1470
1471 #endif
1472
1473 XS(XS_Wx__RichTextCtrl_EndSymbolBullet); /* prototype to pass -Wmissing-prototypes */
1474 XS(XS_Wx__RichTextCtrl_EndSymbolBullet)
1475 {
1476 #ifdef dVAR
1477     dVAR; dXSARGS;
1478 #else
1479     dXSARGS;
1480 #endif
1481     if (items != 1)
1482        croak_xs_usage(cv,  "THIS");
1483     {
1484         wxRichTextCtrl *    THIS = (wxRichTextCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::RichTextCtrl" );
1485         bool    RETVAL;
1486
1487         RETVAL = THIS->EndSymbolBullet();
1488         ST(0) = boolSV(RETVAL);
1489         sv_2mortal(ST(0));
1490     }
1491     XSRETURN(1);
1492 }
1493
1494 #if WXPERL_W_VERSION_GE( 2, 7, 2 )
1495 #define XSubPPtmpAAAG 1
1496
1497
1498 XS(XS_Wx__RichTextCtrl_BeginStandardBullet); /* prototype to pass -Wmissing-prototypes */
1499 XS(XS_Wx__RichTextCtrl_BeginStandardBullet)
1500 {
1501 #ifdef dVAR
1502     dVAR; dXSARGS;
1503 #else
1504     dXSARGS;
1505 #endif
1506     if (items < 4 || items > 5)
1507        croak_xs_usage(cv,  "THIS, bulletName, leftIndent, leftSubIndent, bulletStyle = wxTEXT_ATTR_BULLET_STYLE_STANDARD");
1508     {
1509         wxString        bulletName;
1510         int     leftIndent = (int)SvIV(ST(2));
1511         int     leftSubIndent = (int)SvIV(ST(3));
1512         int     bulletStyle;
1513         wxRichTextCtrl *    THIS = (wxRichTextCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::RichTextCtrl" );
1514         bool    RETVAL;
1515
1516     WXSTRING_INPUT( bulletName, wxString, ST(1) );
1517
1518         if (items < 5)
1519             bulletStyle = wxTEXT_ATTR_BULLET_STYLE_STANDARD;
1520         else {
1521             bulletStyle = (int)SvIV(ST(4));
1522         }
1523
1524         RETVAL = THIS->BeginStandardBullet(bulletName, leftIndent, leftSubIndent, bulletStyle);
1525         ST(0) = boolSV(RETVAL);
1526         sv_2mortal(ST(0));
1527     }
1528     XSRETURN(1);
1529 }
1530
1531
1532 XS(XS_Wx__RichTextCtrl_EndStandardBullet); /* prototype to pass -Wmissing-prototypes */
1533 XS(XS_Wx__RichTextCtrl_EndStandardBullet)
1534 {
1535 #ifdef dVAR
1536     dVAR; dXSARGS;
1537 #else
1538     dXSARGS;
1539 #endif
1540     if (items != 1)
1541        croak_xs_usage(cv,  "THIS");
1542     {
1543         wxRichTextCtrl *    THIS = (wxRichTextCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::RichTextCtrl" );
1544         bool    RETVAL;
1545
1546         RETVAL = THIS->EndStandardBullet();
1547         ST(0) = boolSV(RETVAL);
1548         sv_2mortal(ST(0));
1549     }
1550     XSRETURN(1);
1551 }
1552
1553 #endif
1554
1555 XS(XS_Wx__RichTextCtrl_BeginCharacterStyle); /* prototype to pass -Wmissing-prototypes */
1556 XS(XS_Wx__RichTextCtrl_BeginCharacterStyle)
1557 {
1558 #ifdef dVAR
1559     dVAR; dXSARGS;
1560 #else
1561     dXSARGS;
1562 #endif
1563     if (items != 2)
1564        croak_xs_usage(cv,  "THIS, characterStyle");
1565     {
1566         wxString        characterStyle;
1567         wxRichTextCtrl *    THIS = (wxRichTextCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::RichTextCtrl" );
1568         bool    RETVAL;
1569
1570     WXSTRING_INPUT( characterStyle, wxString, ST(1) );
1571
1572         RETVAL = THIS->BeginCharacterStyle(characterStyle);
1573         ST(0) = boolSV(RETVAL);
1574         sv_2mortal(ST(0));
1575     }
1576     XSRETURN(1);
1577 }
1578
1579
1580 XS(XS_Wx__RichTextCtrl_EndCharacterStyle); /* prototype to pass -Wmissing-prototypes */
1581 XS(XS_Wx__RichTextCtrl_EndCharacterStyle)
1582 {
1583 #ifdef dVAR
1584     dVAR; dXSARGS;
1585 #else
1586     dXSARGS;
1587 #endif
1588     if (items != 1)
1589        croak_xs_usage(cv,  "THIS");
1590     {
1591         wxRichTextCtrl *    THIS = (wxRichTextCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::RichTextCtrl" );
1592         bool    RETVAL;
1593
1594         RETVAL = THIS->EndCharacterStyle();
1595         ST(0) = boolSV(RETVAL);
1596         sv_2mortal(ST(0));
1597     }
1598     XSRETURN(1);
1599 }
1600
1601
1602 XS(XS_Wx__RichTextCtrl_BeginParagraphStyle); /* prototype to pass -Wmissing-prototypes */
1603 XS(XS_Wx__RichTextCtrl_BeginParagraphStyle)
1604 {
1605 #ifdef dVAR
1606     dVAR; dXSARGS;
1607 #else
1608     dXSARGS;
1609 #endif
1610     if (items != 2)
1611        croak_xs_usage(cv,  "THIS, paragraphStyle");
1612     {
1613         wxString        paragraphStyle;
1614         wxRichTextCtrl *    THIS = (wxRichTextCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::RichTextCtrl" );
1615         bool    RETVAL;
1616
1617     WXSTRING_INPUT( paragraphStyle, wxString, ST(1) );
1618
1619         RETVAL = THIS->BeginParagraphStyle(paragraphStyle);
1620         ST(0) = boolSV(RETVAL);
1621         sv_2mortal(ST(0));
1622     }
1623     XSRETURN(1);
1624 }
1625
1626
1627 XS(XS_Wx__RichTextCtrl_EndParagraphStyle); /* prototype to pass -Wmissing-prototypes */
1628 XS(XS_Wx__RichTextCtrl_EndParagraphStyle)
1629 {
1630 #ifdef dVAR
1631     dVAR; dXSARGS;
1632 #else
1633     dXSARGS;
1634 #endif
1635     if (items != 1)
1636        croak_xs_usage(cv,  "THIS");
1637     {
1638         wxRichTextCtrl *    THIS = (wxRichTextCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::RichTextCtrl" );
1639         bool    RETVAL;
1640
1641         RETVAL = THIS->EndParagraphStyle();
1642         ST(0) = boolSV(RETVAL);
1643         sv_2mortal(ST(0));
1644     }
1645     XSRETURN(1);
1646 }
1647
1648 #if WXPERL_W_VERSION_GE( 2, 7, 2 )
1649 #define XSubPPtmpAAAH 1
1650
1651
1652 XS(XS_Wx__RichTextCtrl_BeginListStyle); /* prototype to pass -Wmissing-prototypes */
1653 XS(XS_Wx__RichTextCtrl_BeginListStyle)
1654 {
1655 #ifdef dVAR
1656     dVAR; dXSARGS;
1657 #else
1658     dXSARGS;
1659 #endif
1660     if (items < 2 || items > 4)
1661        croak_xs_usage(cv,  "THIS, listStyle, level = 1, number = 1");
1662     {
1663         wxString        listStyle;
1664         int     level;
1665         int     number;
1666         wxRichTextCtrl *    THIS = (wxRichTextCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::RichTextCtrl" );
1667         bool    RETVAL;
1668
1669     WXSTRING_INPUT( listStyle, wxString, ST(1) );
1670
1671         if (items < 3)
1672             level = 1;
1673         else {
1674             level = (int)SvIV(ST(2));
1675         }
1676
1677         if (items < 4)
1678             number = 1;
1679         else {
1680             number = (int)SvIV(ST(3));
1681         }
1682
1683         RETVAL = THIS->BeginListStyle(listStyle, level, number);
1684         ST(0) = boolSV(RETVAL);
1685         sv_2mortal(ST(0));
1686     }
1687     XSRETURN(1);
1688 }
1689
1690
1691 XS(XS_Wx__RichTextCtrl_EndListStyle); /* prototype to pass -Wmissing-prototypes */
1692 XS(XS_Wx__RichTextCtrl_EndListStyle)
1693 {
1694 #ifdef dVAR
1695     dVAR; dXSARGS;
1696 #else
1697     dXSARGS;
1698 #endif
1699     if (items != 1)
1700        croak_xs_usage(cv,  "THIS");
1701     {
1702         wxRichTextCtrl *    THIS = (wxRichTextCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::RichTextCtrl" );
1703         bool    RETVAL;
1704
1705         RETVAL = THIS->EndListStyle();
1706         ST(0) = boolSV(RETVAL);
1707         sv_2mortal(ST(0));
1708     }
1709     XSRETURN(1);
1710 }
1711
1712
1713 XS(XS_Wx__RichTextCtrl_BeginURL); /* prototype to pass -Wmissing-prototypes */
1714 XS(XS_Wx__RichTextCtrl_BeginURL)
1715 {
1716 #ifdef dVAR
1717     dVAR; dXSARGS;
1718 #else
1719     dXSARGS;
1720 #endif
1721     if (items < 2 || items > 3)
1722        croak_xs_usage(cv,  "THIS, url, characterStyle = wxEmptyString");
1723     {
1724         wxString        url;
1725         wxString        characterStyle;
1726         wxRichTextCtrl *    THIS = (wxRichTextCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::RichTextCtrl" );
1727         bool    RETVAL;
1728
1729     WXSTRING_INPUT( url, wxString, ST(1) );
1730
1731         if (items < 3)
1732             characterStyle = wxEmptyString;
1733         else {
1734     WXSTRING_INPUT( characterStyle, wxString, ST(2) );
1735         }
1736
1737         RETVAL = THIS->BeginURL(url, characterStyle);
1738         ST(0) = boolSV(RETVAL);
1739         sv_2mortal(ST(0));
1740     }
1741     XSRETURN(1);
1742 }
1743
1744
1745 XS(XS_Wx__RichTextCtrl_EndURL); /* prototype to pass -Wmissing-prototypes */
1746 XS(XS_Wx__RichTextCtrl_EndURL)
1747 {
1748 #ifdef dVAR
1749     dVAR; dXSARGS;
1750 #else
1751     dXSARGS;
1752 #endif
1753     if (items != 1)
1754        croak_xs_usage(cv,  "THIS");
1755     {
1756         wxRichTextCtrl *    THIS = (wxRichTextCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::RichTextCtrl" );
1757         bool    RETVAL;
1758
1759         RETVAL = THIS->EndURL();
1760         ST(0) = boolSV(RETVAL);
1761         sv_2mortal(ST(0));
1762     }
1763     XSRETURN(1);
1764 }
1765
1766 #endif
1767
1768 XS(XS_Wx__RichTextCtrl_SetDefaultStyleToCursorStyle); /* prototype to pass -Wmissing-prototypes */
1769 XS(XS_Wx__RichTextCtrl_SetDefaultStyleToCursorStyle)
1770 {
1771 #ifdef dVAR
1772     dVAR; dXSARGS;
1773 #else
1774     dXSARGS;
1775 #endif
1776     if (items != 1)
1777        croak_xs_usage(cv,  "THIS");
1778     {
1779         wxRichTextCtrl *    THIS = (wxRichTextCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::RichTextCtrl" );
1780         bool    RETVAL;
1781
1782         RETVAL = THIS->SetDefaultStyleToCursorStyle();
1783         ST(0) = boolSV(RETVAL);
1784         sv_2mortal(ST(0));
1785     }
1786     XSRETURN(1);
1787 }
1788
1789 #if WXPERL_W_VERSION_GE( 2, 7, 2 )
1790 #define XSubPPtmpAAAI 1
1791
1792
1793 XS(XS_Wx__RichTextCtrl_ClearListStyle); /* prototype to pass -Wmissing-prototypes */
1794 XS(XS_Wx__RichTextCtrl_ClearListStyle)
1795 {
1796 #ifdef dVAR
1797     dVAR; dXSARGS;
1798 #else
1799     dXSARGS;
1800 #endif
1801     if (items < 2 || items > 3)
1802        croak_xs_usage(cv,  "THIS, range, flags = wxRICHTEXT_SETSTYLE_WITH_UNDO");
1803     {
1804         wxRichTextRange*    range = (wxRichTextRange *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::RichTextRange" );
1805         int     flags;
1806         wxRichTextCtrl *    THIS = (wxRichTextCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::RichTextCtrl" );
1807         bool    RETVAL;
1808
1809         if (items < 3)
1810             flags = wxRICHTEXT_SETSTYLE_WITH_UNDO;
1811         else {
1812             flags = (int)SvIV(ST(2));
1813         }
1814     RETVAL = THIS->ClearListStyle( *( range ), flags );
1815         ST(0) = boolSV(RETVAL);
1816         sv_2mortal(ST(0));
1817     }
1818     XSRETURN(1);
1819 }
1820
1821 #endif
1822
1823 XS(XS_Wx__RichTextCtrl_SelectNone); /* prototype to pass -Wmissing-prototypes */
1824 XS(XS_Wx__RichTextCtrl_SelectNone)
1825 {
1826 #ifdef dVAR
1827     dVAR; dXSARGS;
1828 #else
1829     dXSARGS;
1830 #endif
1831     if (items != 1)
1832        croak_xs_usage(cv,  "THIS");
1833     {
1834         wxRichTextCtrl *    THIS = (wxRichTextCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::RichTextCtrl" );
1835
1836         THIS->SelectNone();
1837     }
1838     XSRETURN_EMPTY;
1839 }
1840
1841 #if WXPERL_W_VERSION_GE( 2, 7, 1 )
1842 #define XSubPPtmpAAAJ 1
1843
1844
1845 XS(XS_Wx__RichTextCtrl_SelectWord); /* prototype to pass -Wmissing-prototypes */
1846 XS(XS_Wx__RichTextCtrl_SelectWord)
1847 {
1848 #ifdef dVAR
1849     dVAR; dXSARGS;
1850 #else
1851     dXSARGS;
1852 #endif
1853     if (items != 2)
1854        croak_xs_usage(cv,  "THIS, position");
1855     {
1856         long    position = (long)SvIV(ST(1));
1857         wxRichTextCtrl *    THIS = (wxRichTextCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::RichTextCtrl" );
1858         bool    RETVAL;
1859
1860         RETVAL = THIS->SelectWord(position);
1861         ST(0) = boolSV(RETVAL);
1862         sv_2mortal(ST(0));
1863     }
1864     XSRETURN(1);
1865 }
1866
1867 #endif
1868
1869 XS(XS_Wx__RichTextCtrl_GetSelectionRange); /* prototype to pass -Wmissing-prototypes */
1870 XS(XS_Wx__RichTextCtrl_GetSelectionRange)
1871 {
1872 #ifdef dVAR
1873     dVAR; dXSARGS;
1874 #else
1875     dXSARGS;
1876 #endif
1877     if (items != 1)
1878        croak_xs_usage(cv,  "THIS");
1879     {
1880         wxRichTextCtrl *    THIS = (wxRichTextCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::RichTextCtrl" );
1881         wxRichTextRange *       RETVAL;
1882     RETVAL = new wxRichTextRange( THIS->GetSelectionRange() );
1883         ST(0) = sv_newmortal();
1884     wxPli_non_object_2_sv( aTHX_ ST(0), RETVAL, "Wx::RichTextRange" );
1885     wxPli_thread_sv_register( aTHX_ "Wx::RichTextRange", RETVAL, ST(0) );
1886
1887     }
1888     XSRETURN(1);
1889 }
1890
1891
1892 XS(XS_Wx__RichTextCtrl_SetSelectionRange); /* prototype to pass -Wmissing-prototypes */
1893 XS(XS_Wx__RichTextCtrl_SetSelectionRange)
1894 {
1895 #ifdef dVAR
1896     dVAR; dXSARGS;
1897 #else
1898     dXSARGS;
1899 #endif
1900     if (items != 2)
1901        croak_xs_usage(cv,  "THIS, range");
1902     {
1903         wxRichTextRange*    range = (wxRichTextRange *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::RichTextRange" );
1904         wxRichTextCtrl *    THIS = (wxRichTextCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::RichTextCtrl" );
1905     THIS->SetSelectionRange( *( range ) );
1906     }
1907     XSRETURN_EMPTY;
1908 }
1909
1910 #if WXPERL_W_VERSION_GE( 2, 7, 1 )
1911 #define XSubPPtmpAAAK 1
1912
1913
1914 XS(XS_Wx__RichTextCtrl_GetInternalSelectionRange); /* prototype to pass -Wmissing-prototypes */
1915 XS(XS_Wx__RichTextCtrl_GetInternalSelectionRange)
1916 {
1917 #ifdef dVAR
1918     dVAR; dXSARGS;
1919 #else
1920     dXSARGS;
1921 #endif
1922     if (items != 1)
1923        croak_xs_usage(cv,  "THIS");
1924     {
1925         wxRichTextCtrl *    THIS = (wxRichTextCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::RichTextCtrl" );
1926         wxRichTextRange *       RETVAL;
1927     RETVAL = new wxRichTextRange( THIS->GetInternalSelectionRange() );
1928         ST(0) = sv_newmortal();
1929     wxPli_non_object_2_sv( aTHX_ ST(0), RETVAL, "Wx::RichTextRange" );
1930     wxPli_thread_sv_register( aTHX_ "Wx::RichTextRange", RETVAL, ST(0) );
1931
1932     }
1933     XSRETURN(1);
1934 }
1935
1936
1937 XS(XS_Wx__RichTextCtrl_SetInternalSelectionRange); /* prototype to pass -Wmissing-prototypes */
1938 XS(XS_Wx__RichTextCtrl_SetInternalSelectionRange)
1939 {
1940 #ifdef dVAR
1941     dVAR; dXSARGS;
1942 #else
1943     dXSARGS;
1944 #endif
1945     if (items != 2)
1946        croak_xs_usage(cv,  "THIS, range");
1947     {
1948         wxRichTextRange*    range = (wxRichTextRange *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::RichTextRange" );
1949         wxRichTextCtrl *    THIS = (wxRichTextCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::RichTextCtrl" );
1950     THIS->SetInternalSelectionRange( *( range ) );
1951     }
1952     XSRETURN_EMPTY;
1953 }
1954
1955 #endif
1956
1957 XS(XS_Wx__RichTextCtrl_HasSelection); /* prototype to pass -Wmissing-prototypes */
1958 XS(XS_Wx__RichTextCtrl_HasSelection)
1959 {
1960 #ifdef dVAR
1961     dVAR; dXSARGS;
1962 #else
1963     dXSARGS;
1964 #endif
1965     if (items != 1)
1966        croak_xs_usage(cv,  "THIS");
1967     {
1968         wxRichTextCtrl *    THIS = (wxRichTextCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::RichTextCtrl" );
1969         bool    RETVAL;
1970
1971         RETVAL = THIS->HasSelection();
1972         ST(0) = boolSV(RETVAL);
1973         sv_2mortal(ST(0));
1974     }
1975     XSRETURN(1);
1976 }
1977
1978
1979 XS(XS_Wx__RichTextCtrl_AddParagraph); /* prototype to pass -Wmissing-prototypes */
1980 XS(XS_Wx__RichTextCtrl_AddParagraph)
1981 {
1982 #ifdef dVAR
1983     dVAR; dXSARGS;
1984 #else
1985     dXSARGS;
1986 #endif
1987     if (items != 2)
1988        croak_xs_usage(cv,  "THIS, text");
1989     {
1990         wxString        text;
1991         wxRichTextCtrl *    THIS = (wxRichTextCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::RichTextCtrl" );
1992         wxRichTextRange *       RETVAL;
1993
1994     WXSTRING_INPUT( text, wxString, ST(1) );
1995     RETVAL = new wxRichTextRange( THIS->AddParagraph( text ) );
1996         ST(0) = sv_newmortal();
1997     wxPli_non_object_2_sv( aTHX_ ST(0), RETVAL, "Wx::RichTextRange" );
1998     wxPli_thread_sv_register( aTHX_ "Wx::RichTextRange", RETVAL, ST(0) );
1999
2000     }
2001     XSRETURN(1);
2002 }
2003
2004
2005 XS(XS_Wx__RichTextCtrl_AddImage); /* prototype to pass -Wmissing-prototypes */
2006 XS(XS_Wx__RichTextCtrl_AddImage)
2007 {
2008 #ifdef dVAR
2009     dVAR; dXSARGS;
2010 #else
2011     dXSARGS;
2012 #endif
2013     if (items != 2)
2014        croak_xs_usage(cv,  "THIS, image");
2015     {
2016         wxImage*    image = (wxImage *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::Image" );
2017         wxRichTextCtrl *    THIS = (wxRichTextCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::RichTextCtrl" );
2018         wxRichTextRange *       RETVAL;
2019     RETVAL = new wxRichTextRange( THIS->AddImage( *( image ) ) );
2020         ST(0) = sv_newmortal();
2021     wxPli_non_object_2_sv( aTHX_ ST(0), RETVAL, "Wx::RichTextRange" );
2022     wxPli_thread_sv_register( aTHX_ "Wx::RichTextRange", RETVAL, ST(0) );
2023
2024     }
2025     XSRETURN(1);
2026 }
2027
2028
2029 XS(XS_Wx__RichTextCtrl_LayoutContent); /* prototype to pass -Wmissing-prototypes */
2030 XS(XS_Wx__RichTextCtrl_LayoutContent)
2031 {
2032 #ifdef dVAR
2033     dVAR; dXSARGS;
2034 #else
2035     dXSARGS;
2036 #endif
2037     if (items < 1 || items > 2)
2038        croak_xs_usage(cv,  "THIS, onlyVisibleRect = false");
2039     {
2040         bool    onlyVisibleRect;
2041         wxRichTextCtrl *    THIS = (wxRichTextCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::RichTextCtrl" );
2042         bool    RETVAL;
2043
2044         if (items < 2)
2045             onlyVisibleRect = false;
2046         else {
2047             onlyVisibleRect = (bool)SvTRUE(ST(1));
2048         }
2049
2050         RETVAL = THIS->LayoutContent(onlyVisibleRect);
2051         ST(0) = boolSV(RETVAL);
2052         sv_2mortal(ST(0));
2053     }
2054     XSRETURN(1);
2055 }
2056
2057
2058 XS(XS_Wx__RichTextCtrl_MoveCaret); /* prototype to pass -Wmissing-prototypes */
2059 XS(XS_Wx__RichTextCtrl_MoveCaret)
2060 {
2061 #ifdef dVAR
2062     dVAR; dXSARGS;
2063 #else
2064     dXSARGS;
2065 #endif
2066     if (items < 2 || items > 3)
2067        croak_xs_usage(cv,  "THIS, pos, showAtLineStart = false");
2068     {
2069         long    pos = (long)SvIV(ST(1));
2070         bool    showAtLineStart;
2071         wxRichTextCtrl *    THIS = (wxRichTextCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::RichTextCtrl" );
2072         bool    RETVAL;
2073
2074         if (items < 3)
2075             showAtLineStart = false;
2076         else {
2077             showAtLineStart = (bool)SvTRUE(ST(2));
2078         }
2079
2080         RETVAL = THIS->MoveCaret(pos, showAtLineStart);
2081         ST(0) = boolSV(RETVAL);
2082         sv_2mortal(ST(0));
2083     }
2084     XSRETURN(1);
2085 }
2086
2087
2088 XS(XS_Wx__RichTextCtrl_MoveRight); /* prototype to pass -Wmissing-prototypes */
2089 XS(XS_Wx__RichTextCtrl_MoveRight)
2090 {
2091 #ifdef dVAR
2092     dVAR; dXSARGS;
2093 #else
2094     dXSARGS;
2095 #endif
2096     if (items < 1 || items > 3)
2097        croak_xs_usage(cv,  "THIS, noPositions = 1, flags = 0");
2098     {
2099         int     noPositions;
2100         int     flags;
2101         wxRichTextCtrl *    THIS = (wxRichTextCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::RichTextCtrl" );
2102         bool    RETVAL;
2103
2104         if (items < 2)
2105             noPositions = 1;
2106         else {
2107             noPositions = (int)SvIV(ST(1));
2108         }
2109
2110         if (items < 3)
2111             flags = 0;
2112         else {
2113             flags = (int)SvIV(ST(2));
2114         }
2115
2116         RETVAL = THIS->MoveRight(noPositions, flags);
2117         ST(0) = boolSV(RETVAL);
2118         sv_2mortal(ST(0));
2119     }
2120     XSRETURN(1);
2121 }
2122
2123
2124 XS(XS_Wx__RichTextCtrl_MoveLeft); /* prototype to pass -Wmissing-prototypes */
2125 XS(XS_Wx__RichTextCtrl_MoveLeft)
2126 {
2127 #ifdef dVAR
2128     dVAR; dXSARGS;
2129 #else
2130     dXSARGS;
2131 #endif
2132     if (items < 1 || items > 3)
2133        croak_xs_usage(cv,  "THIS, noPositions = 1, flags = 0");
2134     {
2135         int     noPositions;
2136         int     flags;
2137         wxRichTextCtrl *    THIS = (wxRichTextCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::RichTextCtrl" );
2138         bool    RETVAL;
2139
2140         if (items < 2)
2141             noPositions = 1;
2142         else {
2143             noPositions = (int)SvIV(ST(1));
2144         }
2145
2146         if (items < 3)
2147             flags = 0;
2148         else {
2149             flags = (int)SvIV(ST(2));
2150         }
2151
2152         RETVAL = THIS->MoveLeft(noPositions, flags);
2153         ST(0) = boolSV(RETVAL);
2154         sv_2mortal(ST(0));
2155     }
2156     XSRETURN(1);
2157 }
2158
2159
2160 XS(XS_Wx__RichTextCtrl_MoveUp); /* prototype to pass -Wmissing-prototypes */
2161 XS(XS_Wx__RichTextCtrl_MoveUp)
2162 {
2163 #ifdef dVAR
2164     dVAR; dXSARGS;
2165 #else
2166     dXSARGS;
2167 #endif
2168     if (items < 1 || items > 3)
2169        croak_xs_usage(cv,  "THIS, noLines = 1, flags = 0");
2170     {
2171         int     noLines;
2172         int     flags;
2173         wxRichTextCtrl *    THIS = (wxRichTextCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::RichTextCtrl" );
2174         bool    RETVAL;
2175
2176         if (items < 2)
2177             noLines = 1;
2178         else {
2179             noLines = (int)SvIV(ST(1));
2180         }
2181
2182         if (items < 3)
2183             flags = 0;
2184         else {
2185             flags = (int)SvIV(ST(2));
2186         }
2187
2188         RETVAL = THIS->MoveUp(noLines, flags);
2189         ST(0) = boolSV(RETVAL);
2190         sv_2mortal(ST(0));
2191     }
2192     XSRETURN(1);
2193 }
2194
2195
2196 XS(XS_Wx__RichTextCtrl_MoveDown); /* prototype to pass -Wmissing-prototypes */
2197 XS(XS_Wx__RichTextCtrl_MoveDown)
2198 {
2199 #ifdef dVAR
2200     dVAR; dXSARGS;
2201 #else
2202     dXSARGS;
2203 #endif
2204     if (items < 1 || items > 3)
2205        croak_xs_usage(cv,  "THIS, noLines = 1, flags = 0");
2206     {
2207         int     noLines;
2208         int     flags;
2209         wxRichTextCtrl *    THIS = (wxRichTextCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::RichTextCtrl" );
2210         bool    RETVAL;
2211
2212         if (items < 2)
2213             noLines = 1;
2214         else {
2215             noLines = (int)SvIV(ST(1));
2216         }
2217
2218         if (items < 3)
2219             flags = 0;
2220         else {
2221             flags = (int)SvIV(ST(2));
2222         }
2223
2224         RETVAL = THIS->MoveDown(noLines, flags);
2225         ST(0) = boolSV(RETVAL);
2226         sv_2mortal(ST(0));
2227     }
2228     XSRETURN(1);
2229 }
2230
2231
2232 XS(XS_Wx__RichTextCtrl_MoveToLineEnd); /* prototype to pass -Wmissing-prototypes */
2233 XS(XS_Wx__RichTextCtrl_MoveToLineEnd)
2234 {
2235 #ifdef dVAR
2236     dVAR; dXSARGS;
2237 #else
2238     dXSARGS;
2239 #endif
2240     if (items < 1 || items > 2)
2241        croak_xs_usage(cv,  "THIS, flags = 0");
2242     {
2243         int     flags;
2244         wxRichTextCtrl *    THIS = (wxRichTextCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::RichTextCtrl" );
2245         bool    RETVAL;
2246
2247         if (items < 2)
2248             flags = 0;
2249         else {
2250             flags = (int)SvIV(ST(1));
2251         }
2252
2253         RETVAL = THIS->MoveToLineEnd(flags);
2254         ST(0) = boolSV(RETVAL);
2255         sv_2mortal(ST(0));
2256     }
2257     XSRETURN(1);
2258 }
2259
2260
2261 XS(XS_Wx__RichTextCtrl_MoveToLineStart); /* prototype to pass -Wmissing-prototypes */
2262 XS(XS_Wx__RichTextCtrl_MoveToLineStart)
2263 {
2264 #ifdef dVAR
2265     dVAR; dXSARGS;
2266 #else
2267     dXSARGS;
2268 #endif
2269     if (items < 1 || items > 2)
2270        croak_xs_usage(cv,  "THIS, flags = 0");
2271     {
2272         int     flags;
2273         wxRichTextCtrl *    THIS = (wxRichTextCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::RichTextCtrl" );
2274         bool    RETVAL;
2275
2276         if (items < 2)
2277             flags = 0;
2278         else {
2279             flags = (int)SvIV(ST(1));
2280         }
2281
2282         RETVAL = THIS->MoveToLineStart(flags);
2283         ST(0) = boolSV(RETVAL);
2284         sv_2mortal(ST(0));
2285     }
2286     XSRETURN(1);
2287 }
2288
2289
2290 XS(XS_Wx__RichTextCtrl_MoveToParagraphEnd); /* prototype to pass -Wmissing-prototypes */
2291 XS(XS_Wx__RichTextCtrl_MoveToParagraphEnd)
2292 {
2293 #ifdef dVAR
2294     dVAR; dXSARGS;
2295 #else
2296     dXSARGS;
2297 #endif
2298     if (items < 1 || items > 2)
2299        croak_xs_usage(cv,  "THIS, flags = 0");
2300     {
2301         int     flags;
2302         wxRichTextCtrl *    THIS = (wxRichTextCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::RichTextCtrl" );
2303         bool    RETVAL;
2304
2305         if (items < 2)
2306             flags = 0;
2307         else {
2308             flags = (int)SvIV(ST(1));
2309         }
2310
2311         RETVAL = THIS->MoveToParagraphEnd(flags);
2312         ST(0) = boolSV(RETVAL);
2313         sv_2mortal(ST(0));
2314     }
2315     XSRETURN(1);
2316 }
2317
2318
2319 XS(XS_Wx__RichTextCtrl_MoveToParagraphStart); /* prototype to pass -Wmissing-prototypes */
2320 XS(XS_Wx__RichTextCtrl_MoveToParagraphStart)
2321 {
2322 #ifdef dVAR
2323     dVAR; dXSARGS;
2324 #else
2325     dXSARGS;
2326 #endif
2327     if (items < 1 || items > 2)
2328        croak_xs_usage(cv,  "THIS, flags = 0");
2329     {
2330         int     flags;
2331         wxRichTextCtrl *    THIS = (wxRichTextCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::RichTextCtrl" );
2332         bool    RETVAL;
2333
2334         if (items < 2)
2335             flags = 0;
2336         else {
2337             flags = (int)SvIV(ST(1));
2338         }
2339
2340         RETVAL = THIS->MoveToParagraphStart(flags);
2341         ST(0) = boolSV(RETVAL);
2342         sv_2mortal(ST(0));
2343     }
2344     XSRETURN(1);
2345 }
2346
2347
2348 XS(XS_Wx__RichTextCtrl_MoveHome); /* prototype to pass -Wmissing-prototypes */
2349 XS(XS_Wx__RichTextCtrl_MoveHome)
2350 {
2351 #ifdef dVAR
2352     dVAR; dXSARGS;
2353 #else
2354     dXSARGS;
2355 #endif
2356     if (items < 1 || items > 2)
2357        croak_xs_usage(cv,  "THIS, flags = 0");
2358     {
2359         int     flags;
2360         wxRichTextCtrl *    THIS = (wxRichTextCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::RichTextCtrl" );
2361         bool    RETVAL;
2362
2363         if (items < 2)
2364             flags = 0;
2365         else {
2366             flags = (int)SvIV(ST(1));
2367         }
2368
2369         RETVAL = THIS->MoveHome(flags);
2370         ST(0) = boolSV(RETVAL);
2371         sv_2mortal(ST(0));
2372     }
2373     XSRETURN(1);
2374 }
2375
2376
2377 XS(XS_Wx__RichTextCtrl_MoveEnd); /* prototype to pass -Wmissing-prototypes */
2378 XS(XS_Wx__RichTextCtrl_MoveEnd)
2379 {
2380 #ifdef dVAR
2381     dVAR; dXSARGS;
2382 #else
2383     dXSARGS;
2384 #endif
2385     if (items < 1 || items > 2)
2386        croak_xs_usage(cv,  "THIS, flags = 0");
2387     {
2388         int     flags;
2389         wxRichTextCtrl *    THIS = (wxRichTextCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::RichTextCtrl" );
2390         bool    RETVAL;
2391
2392         if (items < 2)
2393             flags = 0;
2394         else {
2395             flags = (int)SvIV(ST(1));
2396         }
2397
2398         RETVAL = THIS->MoveEnd(flags);
2399         ST(0) = boolSV(RETVAL);
2400         sv_2mortal(ST(0));
2401     }
2402     XSRETURN(1);
2403 }
2404
2405
2406 XS(XS_Wx__RichTextCtrl_PageUp); /* prototype to pass -Wmissing-prototypes */
2407 XS(XS_Wx__RichTextCtrl_PageUp)
2408 {
2409 #ifdef dVAR
2410     dVAR; dXSARGS;
2411 #else
2412     dXSARGS;
2413 #endif
2414     if (items < 1 || items > 3)
2415        croak_xs_usage(cv,  "THIS, noPages = 1, flags = 0");
2416     {
2417         int     noPages;
2418         int     flags;
2419         wxRichTextCtrl *    THIS = (wxRichTextCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::RichTextCtrl" );
2420         bool    RETVAL;
2421
2422         if (items < 2)
2423             noPages = 1;
2424         else {
2425             noPages = (int)SvIV(ST(1));
2426         }
2427
2428         if (items < 3)
2429             flags = 0;
2430         else {
2431             flags = (int)SvIV(ST(2));
2432         }
2433
2434         RETVAL = THIS->PageUp(noPages, flags);
2435         ST(0) = boolSV(RETVAL);
2436         sv_2mortal(ST(0));
2437     }
2438     XSRETURN(1);
2439 }
2440
2441
2442 XS(XS_Wx__RichTextCtrl_PageDown); /* prototype to pass -Wmissing-prototypes */
2443 XS(XS_Wx__RichTextCtrl_PageDown)
2444 {
2445 #ifdef dVAR
2446     dVAR; dXSARGS;
2447 #else
2448     dXSARGS;
2449 #endif
2450     if (items < 1 || items > 3)
2451        croak_xs_usage(cv,  "THIS, noPages = 1, flags = 0");
2452     {
2453         int     noPages;
2454         int     flags;
2455         wxRichTextCtrl *    THIS = (wxRichTextCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::RichTextCtrl" );
2456         bool    RETVAL;
2457
2458         if (items < 2)
2459             noPages = 1;
2460         else {
2461             noPages = (int)SvIV(ST(1));
2462         }
2463
2464         if (items < 3)
2465             flags = 0;
2466         else {
2467             flags = (int)SvIV(ST(2));
2468         }
2469
2470         RETVAL = THIS->PageDown(noPages, flags);
2471         ST(0) = boolSV(RETVAL);
2472         sv_2mortal(ST(0));
2473     }
2474     XSRETURN(1);
2475 }
2476
2477
2478 XS(XS_Wx__RichTextCtrl_WordLeft); /* prototype to pass -Wmissing-prototypes */
2479 XS(XS_Wx__RichTextCtrl_WordLeft)
2480 {
2481 #ifdef dVAR
2482     dVAR; dXSARGS;
2483 #else
2484     dXSARGS;
2485 #endif
2486     if (items < 1 || items > 3)
2487        croak_xs_usage(cv,  "THIS, noPages = 1, flags = 0");
2488     {
2489         int     noPages;
2490         int     flags;
2491         wxRichTextCtrl *    THIS = (wxRichTextCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::RichTextCtrl" );
2492         bool    RETVAL;
2493
2494         if (items < 2)
2495             noPages = 1;
2496         else {
2497             noPages = (int)SvIV(ST(1));
2498         }
2499
2500         if (items < 3)
2501             flags = 0;
2502         else {
2503             flags = (int)SvIV(ST(2));
2504         }
2505
2506         RETVAL = THIS->WordLeft(noPages, flags);
2507         ST(0) = boolSV(RETVAL);
2508         sv_2mortal(ST(0));
2509     }
2510     XSRETURN(1);
2511 }
2512
2513
2514 XS(XS_Wx__RichTextCtrl_WordRight); /* prototype to pass -Wmissing-prototypes */
2515 XS(XS_Wx__RichTextCtrl_WordRight)
2516 {
2517 #ifdef dVAR
2518     dVAR; dXSARGS;
2519 #else
2520     dXSARGS;
2521 #endif
2522     if (items < 1 || items > 3)
2523        croak_xs_usage(cv,  "THIS, noPages = 1, flags = 0");
2524     {
2525         int     noPages;
2526         int     flags;
2527         wxRichTextCtrl *    THIS = (wxRichTextCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::RichTextCtrl" );
2528         bool    RETVAL;
2529
2530         if (items < 2)
2531             noPages = 1;
2532         else {
2533             noPages = (int)SvIV(ST(1));
2534         }
2535
2536         if (items < 3)
2537             flags = 0;
2538         else {
2539             flags = (int)SvIV(ST(2));
2540         }
2541
2542         RETVAL = THIS->WordRight(noPages, flags);
2543         ST(0) = boolSV(RETVAL);
2544         sv_2mortal(ST(0));
2545     }
2546     XSRETURN(1);
2547 }
2548
2549
2550 XS(XS_Wx__RichTextCtrl_BeginBatchUndo); /* prototype to pass -Wmissing-prototypes */
2551 XS(XS_Wx__RichTextCtrl_BeginBatchUndo)
2552 {
2553 #ifdef dVAR
2554     dVAR; dXSARGS;
2555 #else
2556     dXSARGS;
2557 #endif
2558     if (items != 2)
2559        croak_xs_usage(cv,  "THIS, cmdName");
2560     {
2561         wxString        cmdName;
2562         wxRichTextCtrl *    THIS = (wxRichTextCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::RichTextCtrl" );
2563         bool    RETVAL;
2564
2565     WXSTRING_INPUT( cmdName, wxString, ST(1) );
2566
2567         RETVAL = THIS->BeginBatchUndo(cmdName);
2568         ST(0) = boolSV(RETVAL);
2569         sv_2mortal(ST(0));
2570     }
2571     XSRETURN(1);
2572 }
2573
2574
2575 XS(XS_Wx__RichTextCtrl_EndBatchUndo); /* prototype to pass -Wmissing-prototypes */
2576 XS(XS_Wx__RichTextCtrl_EndBatchUndo)
2577 {
2578 #ifdef dVAR
2579     dVAR; dXSARGS;
2580 #else
2581     dXSARGS;
2582 #endif
2583     if (items != 1)
2584        croak_xs_usage(cv,  "THIS");
2585     {
2586         wxRichTextCtrl *    THIS = (wxRichTextCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::RichTextCtrl" );
2587         bool    RETVAL;
2588
2589         RETVAL = THIS->EndBatchUndo();
2590         ST(0) = boolSV(RETVAL);
2591         sv_2mortal(ST(0));
2592     }
2593     XSRETURN(1);
2594 }
2595
2596
2597 XS(XS_Wx__RichTextCtrl_BatchingUndo); /* prototype to pass -Wmissing-prototypes */
2598 XS(XS_Wx__RichTextCtrl_BatchingUndo)
2599 {
2600 #ifdef dVAR
2601     dVAR; dXSARGS;
2602 #else
2603     dXSARGS;
2604 #endif
2605     if (items != 1)
2606        croak_xs_usage(cv,  "THIS");
2607     {
2608         wxRichTextCtrl *    THIS = (wxRichTextCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::RichTextCtrl" );
2609         bool    RETVAL;
2610
2611         RETVAL = THIS->BatchingUndo();
2612         ST(0) = boolSV(RETVAL);
2613         sv_2mortal(ST(0));
2614     }
2615     XSRETURN(1);
2616 }
2617
2618
2619 XS(XS_Wx__RichTextCtrl_BeginSuppressUndo); /* prototype to pass -Wmissing-prototypes */
2620 XS(XS_Wx__RichTextCtrl_BeginSuppressUndo)
2621 {
2622 #ifdef dVAR
2623     dVAR; dXSARGS;
2624 #else
2625     dXSARGS;
2626 #endif
2627     if (items != 1)
2628        croak_xs_usage(cv,  "THIS");
2629     {
2630         wxRichTextCtrl *    THIS = (wxRichTextCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::RichTextCtrl" );
2631         bool    RETVAL;
2632
2633         RETVAL = THIS->BeginSuppressUndo();
2634         ST(0) = boolSV(RETVAL);
2635         sv_2mortal(ST(0));
2636     }
2637     XSRETURN(1);
2638 }
2639
2640
2641 XS(XS_Wx__RichTextCtrl_EndSuppressUndo); /* prototype to pass -Wmissing-prototypes */
2642 XS(XS_Wx__RichTextCtrl_EndSuppressUndo)
2643 {
2644 #ifdef dVAR
2645     dVAR; dXSARGS;
2646 #else
2647     dXSARGS;
2648 #endif
2649     if (items != 1)
2650        croak_xs_usage(cv,  "THIS");
2651     {
2652         wxRichTextCtrl *    THIS = (wxRichTextCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::RichTextCtrl" );
2653         bool    RETVAL;
2654
2655         RETVAL = THIS->EndSuppressUndo();
2656         ST(0) = boolSV(RETVAL);
2657         sv_2mortal(ST(0));
2658     }
2659     XSRETURN(1);
2660 }
2661
2662
2663 XS(XS_Wx__RichTextCtrl_SuppressingUndo); /* prototype to pass -Wmissing-prototypes */
2664 XS(XS_Wx__RichTextCtrl_SuppressingUndo)
2665 {
2666 #ifdef dVAR
2667     dVAR; dXSARGS;
2668 #else
2669     dXSARGS;
2670 #endif
2671     if (items != 1)
2672        croak_xs_usage(cv,  "THIS");
2673     {
2674         wxRichTextCtrl *    THIS = (wxRichTextCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::RichTextCtrl" );
2675         bool    RETVAL;
2676
2677         RETVAL = THIS->SuppressingUndo();
2678         ST(0) = boolSV(RETVAL);
2679         sv_2mortal(ST(0));
2680     }
2681     XSRETURN(1);
2682 }
2683
2684
2685 XS(XS_Wx__RichTextCtrl_CanDeleteSelection); /* prototype to pass -Wmissing-prototypes */
2686 XS(XS_Wx__RichTextCtrl_CanDeleteSelection)
2687 {
2688 #ifdef dVAR
2689     dVAR; dXSARGS;
2690 #else
2691     dXSARGS;
2692 #endif
2693     if (items != 1)
2694        croak_xs_usage(cv,  "THIS");
2695     {
2696         wxRichTextCtrl *    THIS = (wxRichTextCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::RichTextCtrl" );
2697         bool    RETVAL;
2698
2699         RETVAL = THIS->CanDeleteSelection();
2700         ST(0) = boolSV(RETVAL);
2701         sv_2mortal(ST(0));
2702     }
2703     XSRETURN(1);
2704 }
2705
2706
2707 XS(XS_Wx__RichTextCtrl_DeleteSelection); /* prototype to pass -Wmissing-prototypes */
2708 XS(XS_Wx__RichTextCtrl_DeleteSelection)
2709 {
2710 #ifdef dVAR
2711     dVAR; dXSARGS;
2712 #else
2713     dXSARGS;
2714 #endif
2715     if (items != 1)
2716        croak_xs_usage(cv,  "THIS");
2717     {
2718         wxRichTextCtrl *    THIS = (wxRichTextCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::RichTextCtrl" );
2719
2720         THIS->DeleteSelection();
2721     }
2722     XSRETURN_EMPTY;
2723 }
2724
2725
2726 XS(XS_Wx__RichTextCtrl_HasCARich); /* prototype to pass -Wmissing-prototypes */
2727 XS(XS_Wx__RichTextCtrl_HasCARich)
2728 {
2729 #ifdef dVAR
2730     dVAR; dXSARGS;
2731 #else
2732     dXSARGS;
2733 #endif
2734     if (items != 3)
2735        croak_xs_usage(cv,  "THIS, range, style");
2736     {
2737         wxRichTextRange*    range = (wxRichTextRange *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::RichTextRange" );
2738         wxTextAttrEx*    style = (wxTextAttrEx *) wxPli_sv_2_object( aTHX_ ST(2), "Wx::TextAttrEx" );
2739         wxRichTextCtrl *    THIS = (wxRichTextCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::RichTextCtrl" );
2740         bool    RETVAL;
2741     RETVAL = THIS->HasCharacterAttributes( *( range ), *( style ) );
2742         ST(0) = boolSV(RETVAL);
2743         sv_2mortal(ST(0));
2744     }
2745     XSRETURN(1);
2746 }
2747
2748
2749 XS(XS_Wx__RichTextCtrl_HasCAEx); /* prototype to pass -Wmissing-prototypes */
2750 XS(XS_Wx__RichTextCtrl_HasCAEx)
2751 {
2752 #ifdef dVAR
2753     dVAR; dXSARGS;
2754 #else
2755     dXSARGS;
2756 #endif
2757     if (items != 3)
2758        croak_xs_usage(cv,  "THIS, range, style");
2759     {
2760         wxRichTextRange*    range = (wxRichTextRange *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::RichTextRange" );
2761         wxRichTextAttr*    style = (wxRichTextAttr *) wxPli_sv_2_object( aTHX_ ST(2), "Wx::RichTextAttr" );
2762         wxRichTextCtrl *    THIS = (wxRichTextCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::RichTextCtrl" );
2763         bool    RETVAL;
2764     RETVAL = THIS->HasCharacterAttributes( *( range ), *( style ) );
2765         ST(0) = boolSV(RETVAL);
2766         sv_2mortal(ST(0));
2767     }
2768     XSRETURN(1);
2769 }
2770
2771
2772 XS(XS_Wx__RichTextCtrl_HasPARich); /* prototype to pass -Wmissing-prototypes */
2773 XS(XS_Wx__RichTextCtrl_HasPARich)
2774 {
2775 #ifdef dVAR
2776     dVAR; dXSARGS;
2777 #else
2778     dXSARGS;
2779 #endif
2780     if (items != 3)
2781        croak_xs_usage(cv,  "THIS, range, style");
2782     {
2783         wxRichTextRange*    range = (wxRichTextRange *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::RichTextRange" );
2784         wxTextAttrEx*    style = (wxTextAttrEx *) wxPli_sv_2_object( aTHX_ ST(2), "Wx::TextAttrEx" );
2785         wxRichTextCtrl *    THIS = (wxRichTextCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::RichTextCtrl" );
2786         bool    RETVAL;
2787     RETVAL = THIS->HasParagraphAttributes( *( range ), *( style ) );
2788         ST(0) = boolSV(RETVAL);
2789         sv_2mortal(ST(0));
2790     }
2791     XSRETURN(1);
2792 }
2793
2794
2795 XS(XS_Wx__RichTextCtrl_HasPAEx); /* prototype to pass -Wmissing-prototypes */
2796 XS(XS_Wx__RichTextCtrl_HasPAEx)
2797 {
2798 #ifdef dVAR
2799     dVAR; dXSARGS;
2800 #else
2801     dXSARGS;
2802 #endif
2803     if (items != 3)
2804        croak_xs_usage(cv,  "THIS, range, style");
2805     {
2806         wxRichTextRange*    range = (wxRichTextRange *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::RichTextRange" );
2807         wxRichTextAttr*    style = (wxRichTextAttr *) wxPli_sv_2_object( aTHX_ ST(2), "Wx::RichTextAttr" );
2808         wxRichTextCtrl *    THIS = (wxRichTextCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::RichTextCtrl" );
2809         bool    RETVAL;
2810     RETVAL = THIS->HasParagraphAttributes( *( range ), *( style ) );
2811         ST(0) = boolSV(RETVAL);
2812         sv_2mortal(ST(0));
2813     }
2814     XSRETURN(1);
2815 }
2816
2817
2818 XS(XS_Wx__RichTextCtrl_IsSelectionBold); /* prototype to pass -Wmissing-prototypes */
2819 XS(XS_Wx__RichTextCtrl_IsSelectionBold)
2820 {
2821 #ifdef dVAR
2822     dVAR; dXSARGS;
2823 #else
2824     dXSARGS;
2825 #endif
2826     if (items != 1)
2827        croak_xs_usage(cv,  "THIS");
2828     {
2829         wxRichTextCtrl *    THIS = (wxRichTextCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::RichTextCtrl" );
2830         bool    RETVAL;
2831
2832         RETVAL = THIS->IsSelectionBold();
2833         ST(0) = boolSV(RETVAL);
2834         sv_2mortal(ST(0));
2835     }
2836     XSRETURN(1);
2837 }
2838
2839
2840 XS(XS_Wx__RichTextCtrl_IsSelectionItalics); /* prototype to pass -Wmissing-prototypes */
2841 XS(XS_Wx__RichTextCtrl_IsSelectionItalics)
2842 {
2843 #ifdef dVAR
2844     dVAR; dXSARGS;
2845 #else
2846     dXSARGS;
2847 #endif
2848     if (items != 1)
2849        croak_xs_usage(cv,  "THIS");
2850     {
2851         wxRichTextCtrl *    THIS = (wxRichTextCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::RichTextCtrl" );
2852         bool    RETVAL;
2853
2854         RETVAL = THIS->IsSelectionItalics();
2855         ST(0) = boolSV(RETVAL);
2856         sv_2mortal(ST(0));
2857     }
2858     XSRETURN(1);
2859 }
2860
2861
2862 XS(XS_Wx__RichTextCtrl_IsSelectionUnderlined); /* prototype to pass -Wmissing-prototypes */
2863 XS(XS_Wx__RichTextCtrl_IsSelectionUnderlined)
2864 {
2865 #ifdef dVAR
2866     dVAR; dXSARGS;
2867 #else
2868     dXSARGS;
2869 #endif
2870     if (items != 1)
2871        croak_xs_usage(cv,  "THIS");
2872     {
2873         wxRichTextCtrl *    THIS = (wxRichTextCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::RichTextCtrl" );
2874         bool    RETVAL;
2875
2876         RETVAL = THIS->IsSelectionUnderlined();
2877         ST(0) = boolSV(RETVAL);
2878         sv_2mortal(ST(0));
2879     }
2880     XSRETURN(1);
2881 }
2882
2883
2884 XS(XS_Wx__RichTextCtrl_IsSelectionAligned); /* prototype to pass -Wmissing-prototypes */
2885 XS(XS_Wx__RichTextCtrl_IsSelectionAligned)
2886 {
2887 #ifdef dVAR
2888     dVAR; dXSARGS;
2889 #else
2890     dXSARGS;
2891 #endif
2892     if (items != 2)
2893        croak_xs_usage(cv,  "THIS, alignment");
2894     {
2895         wxTextAttrAlignment     alignment = (wxTextAttrAlignment)SvIV(ST(1));
2896         wxRichTextCtrl *    THIS = (wxRichTextCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::RichTextCtrl" );
2897         bool    RETVAL;
2898
2899         RETVAL = THIS->IsSelectionAligned(alignment);
2900         ST(0) = boolSV(RETVAL);
2901         sv_2mortal(ST(0));
2902     }
2903     XSRETURN(1);
2904 }
2905
2906
2907 XS(XS_Wx__RichTextCtrl_ApplyBoldToSelection); /* prototype to pass -Wmissing-prototypes */
2908 XS(XS_Wx__RichTextCtrl_ApplyBoldToSelection)
2909 {
2910 #ifdef dVAR
2911     dVAR; dXSARGS;
2912 #else
2913     dXSARGS;
2914 #endif
2915     if (items != 1)
2916        croak_xs_usage(cv,  "THIS");
2917     {
2918         wxRichTextCtrl *    THIS = (wxRichTextCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::RichTextCtrl" );
2919         bool    RETVAL;
2920
2921         RETVAL = THIS->ApplyBoldToSelection();
2922         ST(0) = boolSV(RETVAL);
2923         sv_2mortal(ST(0));
2924     }
2925     XSRETURN(1);
2926 }
2927
2928
2929 XS(XS_Wx__RichTextCtrl_ApplyItalicToSelection); /* prototype to pass -Wmissing-prototypes */
2930 XS(XS_Wx__RichTextCtrl_ApplyItalicToSelection)
2931 {
2932 #ifdef dVAR
2933     dVAR; dXSARGS;
2934 #else
2935     dXSARGS;
2936 #endif
2937     if (items != 1)
2938        croak_xs_usage(cv,  "THIS");
2939     {
2940         wxRichTextCtrl *    THIS = (wxRichTextCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::RichTextCtrl" );
2941         bool    RETVAL;
2942
2943         RETVAL = THIS->ApplyItalicToSelection();
2944         ST(0) = boolSV(RETVAL);
2945         sv_2mortal(ST(0));
2946     }
2947     XSRETURN(1);
2948 }
2949
2950
2951 XS(XS_Wx__RichTextCtrl_ApplyUnderlineToSelection); /* prototype to pass -Wmissing-prototypes */
2952 XS(XS_Wx__RichTextCtrl_ApplyUnderlineToSelection)
2953 {
2954 #ifdef dVAR
2955     dVAR; dXSARGS;
2956 #else
2957     dXSARGS;
2958 #endif
2959     if (items != 1)
2960        croak_xs_usage(cv,  "THIS");
2961     {
2962         wxRichTextCtrl *    THIS = (wxRichTextCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::RichTextCtrl" );
2963         bool    RETVAL;
2964
2965         RETVAL = THIS->ApplyUnderlineToSelection();
2966         ST(0) = boolSV(RETVAL);
2967         sv_2mortal(ST(0));
2968     }
2969     XSRETURN(1);
2970 }
2971
2972
2973 XS(XS_Wx__RichTextCtrl_ApplyAlignmentToSelection); /* prototype to pass -Wmissing-prototypes */
2974 XS(XS_Wx__RichTextCtrl_ApplyAlignmentToSelection)
2975 {
2976 #ifdef dVAR
2977     dVAR; dXSARGS;
2978 #else
2979     dXSARGS;
2980 #endif
2981     if (items != 2)
2982        croak_xs_usage(cv,  "THIS, alignment");
2983     {
2984         wxTextAttrAlignment     alignment = (wxTextAttrAlignment)SvIV(ST(1));
2985         wxRichTextCtrl *    THIS = (wxRichTextCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::RichTextCtrl" );
2986         bool    RETVAL;
2987
2988         RETVAL = THIS->ApplyAlignmentToSelection(alignment);
2989         ST(0) = boolSV(RETVAL);
2990         sv_2mortal(ST(0));
2991     }
2992     XSRETURN(1);
2993 }
2994
2995 #if WXPERL_W_VERSION_GE( 2, 7, 1 )
2996 #define XSubPPtmpAAAL 1
2997
2998
2999 XS(XS_Wx__RichTextCtrl_ApplyStyle); /* prototype to pass -Wmissing-prototypes */
3000 XS(XS_Wx__RichTextCtrl_ApplyStyle)
3001 {
3002 #ifdef dVAR
3003     dVAR; dXSARGS;
3004 #else
3005     dXSARGS;
3006 #endif
3007     if (items != 2)
3008        croak_xs_usage(cv,  "THIS, def");
3009     {
3010         wxRichTextStyleDefinition*    def = (wxRichTextStyleDefinition *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::RichTextStyleDefinition" );
3011         wxRichTextCtrl *    THIS = (wxRichTextCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::RichTextCtrl" );
3012         bool    RETVAL;
3013
3014         RETVAL = THIS->ApplyStyle(def);
3015         ST(0) = boolSV(RETVAL);
3016         sv_2mortal(ST(0));
3017     }
3018     XSRETURN(1);
3019 }
3020
3021
3022 XS(XS_Wx__RichTextCtrl_SetStyleSheet); /* prototype to pass -Wmissing-prototypes */
3023 XS(XS_Wx__RichTextCtrl_SetStyleSheet)
3024 {
3025 #ifdef dVAR
3026     dVAR; dXSARGS;
3027 #else
3028     dXSARGS;
3029 #endif
3030     if (items != 2)
3031        croak_xs_usage(cv,  "THIS, styleSheet");
3032     {
3033         wxRichTextStyleSheet*    styleSheet = (wxRichTextStyleSheet *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::RichTextStyleSheet" );
3034         wxRichTextCtrl *    THIS = (wxRichTextCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::RichTextCtrl" );
3035
3036         THIS->SetStyleSheet(styleSheet);
3037     }
3038     XSRETURN_EMPTY;
3039 }
3040
3041
3042 XS(XS_Wx__RichTextCtrl_GetStyleSheet); /* prototype to pass -Wmissing-prototypes */
3043 XS(XS_Wx__RichTextCtrl_GetStyleSheet)
3044 {
3045 #ifdef dVAR
3046     dVAR; dXSARGS;
3047 #else
3048     dXSARGS;
3049 #endif
3050     if (items != 1)
3051        croak_xs_usage(cv,  "THIS");
3052     {
3053         wxRichTextCtrl *    THIS = (wxRichTextCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::RichTextCtrl" );
3054         wxRichTextStyleSheet *  RETVAL;
3055     RETVAL = THIS->GetStyleSheet();
3056         ST(0) = sv_newmortal();
3057     wxPli_object_2_sv( aTHX_ ST(0), RETVAL );
3058     wxPli_thread_sv_register( aTHX_ "Wx::RichTextStyleSheet", RETVAL, ST(0) );
3059
3060     wxPli_object_set_deleteable( aTHX_ ST(0), false );
3061     }
3062     XSRETURN(1);
3063 }
3064
3065
3066 XS(XS_Wx__RichTextCtrl_ApplyStyleSheet); /* prototype to pass -Wmissing-prototypes */
3067 XS(XS_Wx__RichTextCtrl_ApplyStyleSheet)
3068 {
3069 #ifdef dVAR
3070     dVAR; dXSARGS;
3071 #else
3072     dXSARGS;
3073 #endif
3074     if (items < 1 || items > 2)
3075        croak_xs_usage(cv,  "THIS, styleSheet = NULL");
3076     {
3077         wxRichTextStyleSheet*   styleSheet;
3078         wxRichTextCtrl *    THIS = (wxRichTextCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::RichTextCtrl" );
3079         bool    RETVAL;
3080
3081         if (items < 2)
3082             styleSheet = NULL;
3083         else {
3084     styleSheet = (wxRichTextStyleSheet *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::RichTextStyleSheet" );
3085         }
3086
3087         RETVAL = THIS->ApplyStyleSheet(styleSheet);
3088         ST(0) = boolSV(RETVAL);
3089         sv_2mortal(ST(0));
3090     }
3091     XSRETURN(1);
3092 }
3093
3094 #endif
3095 #if WXPERL_W_VERSION_GE( 2, 7, 2 )
3096 #define XSubPPtmpAAAM 1
3097
3098
3099 XS(XS_Wx__RichTextCtrl_PushStyleSheet); /* prototype to pass -Wmissing-prototypes */
3100 XS(XS_Wx__RichTextCtrl_PushStyleSheet)
3101 {
3102 #ifdef dVAR
3103     dVAR; dXSARGS;
3104 #else
3105     dXSARGS;
3106 #endif
3107     if (items != 2)
3108        croak_xs_usage(cv,  "THIS, styleSheet");
3109     {
3110         wxRichTextStyleSheet*    styleSheet = (wxRichTextStyleSheet *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::RichTextStyleSheet" );
3111         wxRichTextCtrl *    THIS = (wxRichTextCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::RichTextCtrl" );
3112         bool    RETVAL;
3113
3114         RETVAL = THIS->PushStyleSheet(styleSheet);
3115         ST(0) = boolSV(RETVAL);
3116         sv_2mortal(ST(0));
3117     }
3118     XSRETURN(1);
3119 }
3120
3121
3122 XS(XS_Wx__RichTextCtrl_PopStyleSheet); /* prototype to pass -Wmissing-prototypes */
3123 XS(XS_Wx__RichTextCtrl_PopStyleSheet)
3124 {
3125 #ifdef dVAR
3126     dVAR; dXSARGS;
3127 #else
3128     dXSARGS;
3129 #endif
3130     if (items != 1)
3131        croak_xs_usage(cv,  "THIS");
3132     {
3133         wxRichTextCtrl *    THIS = (wxRichTextCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::RichTextCtrl" );
3134         wxRichTextStyleSheet *  RETVAL;
3135     RETVAL = THIS->PopStyleSheet();
3136         ST(0) = sv_newmortal();
3137     wxPli_object_2_sv( aTHX_ ST(0), RETVAL );
3138     wxPli_thread_sv_register( aTHX_ "Wx::RichTextStyleSheet", RETVAL, ST(0) );
3139
3140     wxPli_object_set_deleteable( aTHX_ ST(0), false );
3141     }
3142     XSRETURN(1);
3143 }
3144
3145 #endif
3146
3147 XS(XS_Wx__RichTextCtrl_PositionCaret); /* prototype to pass -Wmissing-prototypes */
3148 XS(XS_Wx__RichTextCtrl_PositionCaret)
3149 {
3150 #ifdef dVAR
3151     dVAR; dXSARGS;
3152 #else
3153     dXSARGS;
3154 #endif
3155     if (items != 1)
3156        croak_xs_usage(cv,  "THIS");
3157     {
3158         wxRichTextCtrl *    THIS = (wxRichTextCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::RichTextCtrl" );
3159
3160         THIS->PositionCaret();
3161     }
3162     XSRETURN_EMPTY;
3163 }
3164
3165
3166 XS(XS_Wx__RichTextCtrl_ExtendSelection); /* prototype to pass -Wmissing-prototypes */
3167 XS(XS_Wx__RichTextCtrl_ExtendSelection)
3168 {
3169 #ifdef dVAR
3170     dVAR; dXSARGS;
3171 #else
3172     dXSARGS;
3173 #endif
3174     if (items != 4)
3175        croak_xs_usage(cv,  "THIS, oldPosition, newPosition, flags");
3176     {
3177         long    oldPosition = (long)SvIV(ST(1));
3178         long    newPosition = (long)SvIV(ST(2));
3179         int     flags = (int)SvIV(ST(3));
3180         wxRichTextCtrl *    THIS = (wxRichTextCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::RichTextCtrl" );
3181         bool    RETVAL;
3182
3183         RETVAL = THIS->ExtendSelection(oldPosition, newPosition, flags);
3184         ST(0) = boolSV(RETVAL);
3185         sv_2mortal(ST(0));
3186     }
3187     XSRETURN(1);
3188 }
3189
3190
3191 XS(XS_Wx__RichTextCtrl_ScrollIntoView); /* prototype to pass -Wmissing-prototypes */
3192 XS(XS_Wx__RichTextCtrl_ScrollIntoView)
3193 {
3194 #ifdef dVAR
3195     dVAR; dXSARGS;
3196 #else
3197     dXSARGS;
3198 #endif
3199     if (items != 3)
3200        croak_xs_usage(cv,  "THIS, position, keyCode");
3201     {
3202         long    position = (long)SvIV(ST(1));
3203         int     keyCode = (int)SvIV(ST(2));
3204         wxRichTextCtrl *    THIS = (wxRichTextCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::RichTextCtrl" );
3205         bool    RETVAL;
3206
3207         RETVAL = THIS->ScrollIntoView(position, keyCode);
3208         ST(0) = boolSV(RETVAL);
3209         sv_2mortal(ST(0));
3210     }
3211     XSRETURN(1);
3212 }
3213
3214
3215 XS(XS_Wx__RichTextCtrl_SetCaretPosition); /* prototype to pass -Wmissing-prototypes */
3216 XS(XS_Wx__RichTextCtrl_SetCaretPosition)
3217 {
3218 #ifdef dVAR
3219     dVAR; dXSARGS;
3220 #else
3221     dXSARGS;
3222 #endif
3223     if (items < 2 || items > 3)
3224        croak_xs_usage(cv,  "THIS, position, showAtLineStart = false");
3225     {
3226         long    position = (long)SvIV(ST(1));
3227         bool    showAtLineStart;
3228         wxRichTextCtrl *    THIS = (wxRichTextCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::RichTextCtrl" );
3229
3230         if (items < 3)
3231             showAtLineStart = false;
3232         else {
3233             showAtLineStart = (bool)SvTRUE(ST(2));
3234         }
3235
3236         THIS->SetCaretPosition(position, showAtLineStart);
3237     }
3238     XSRETURN_EMPTY;
3239 }
3240
3241
3242 XS(XS_Wx__RichTextCtrl_GetCaretPosition); /* prototype to pass -Wmissing-prototypes */
3243 XS(XS_Wx__RichTextCtrl_GetCaretPosition)
3244 {
3245 #ifdef dVAR
3246     dVAR; dXSARGS;
3247 #else
3248     dXSARGS;
3249 #endif
3250     if (items != 1)
3251        croak_xs_usage(cv,  "THIS");
3252     {
3253         wxRichTextCtrl *    THIS = (wxRichTextCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::RichTextCtrl" );
3254         long    RETVAL;
3255         dXSTARG;
3256
3257         RETVAL = THIS->GetCaretPosition();
3258         XSprePUSH; PUSHi((IV)RETVAL);
3259     }
3260     XSRETURN(1);
3261 }
3262
3263 #if WXPERL_W_VERSION_GE( 2, 7, 1 )
3264 #define XSubPPtmpAAAN 1
3265
3266
3267 XS(XS_Wx__RichTextCtrl_GetAdjustedCaretPosition); /* prototype to pass -Wmissing-prototypes */
3268 XS(XS_Wx__RichTextCtrl_GetAdjustedCaretPosition)
3269 {
3270 #ifdef dVAR
3271     dVAR; dXSARGS;
3272 #else
3273     dXSARGS;
3274 #endif
3275     if (items != 2)
3276        croak_xs_usage(cv,  "THIS, caretPos");
3277     {
3278         long    caretPos = (long)SvIV(ST(1));
3279         wxRichTextCtrl *    THIS = (wxRichTextCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::RichTextCtrl" );
3280         long    RETVAL;
3281         dXSTARG;
3282
3283         RETVAL = THIS->GetAdjustedCaretPosition(caretPos);
3284         XSprePUSH; PUSHi((IV)RETVAL);
3285     }
3286     XSRETURN(1);
3287 }
3288
3289 #endif
3290
3291 XS(XS_Wx__RichTextCtrl_MoveCaretForward); /* prototype to pass -Wmissing-prototypes */
3292 XS(XS_Wx__RichTextCtrl_MoveCaretForward)
3293 {
3294 #ifdef dVAR
3295     dVAR; dXSARGS;
3296 #else
3297     dXSARGS;
3298 #endif
3299     if (items != 2)
3300        croak_xs_usage(cv,  "THIS, oldPosition");
3301     {
3302         long    oldPosition = (long)SvIV(ST(1));
3303         wxRichTextCtrl *    THIS = (wxRichTextCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::RichTextCtrl" );
3304
3305         THIS->MoveCaretForward(oldPosition);
3306     }
3307     XSRETURN_EMPTY;
3308 }
3309
3310
3311 XS(XS_Wx__RichTextCtrl_MoveCaretBack); /* prototype to pass -Wmissing-prototypes */
3312 XS(XS_Wx__RichTextCtrl_MoveCaretBack)
3313 {
3314 #ifdef dVAR
3315     dVAR; dXSARGS;
3316 #else
3317     dXSARGS;
3318 #endif
3319     if (items != 2)
3320        croak_xs_usage(cv,  "THIS, oldPosition");
3321     {
3322         long    oldPosition = (long)SvIV(ST(1));
3323         wxRichTextCtrl *    THIS = (wxRichTextCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::RichTextCtrl" );
3324
3325         THIS->MoveCaretBack(oldPosition);
3326     }
3327     XSRETURN_EMPTY;
3328 }
3329
3330
3331 XS(XS_Wx__RichTextCtrl_GetPhysicalPoint); /* prototype to pass -Wmissing-prototypes */
3332 XS(XS_Wx__RichTextCtrl_GetPhysicalPoint)
3333 {
3334 #ifdef dVAR
3335     dVAR; dXSARGS;
3336 #else
3337     dXSARGS;
3338 #endif
3339     if (items != 2)
3340        croak_xs_usage(cv,  "THIS, ptLogical");
3341     {
3342         wxPoint    ptLogical = wxPli_sv_2_wxpoint( aTHX_ ST(1) );
3343         wxRichTextCtrl *    THIS = (wxRichTextCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::RichTextCtrl" );
3344         wxPoint RETVAL;
3345
3346         RETVAL = THIS->GetPhysicalPoint(ptLogical);
3347         ST(0) = sv_newmortal();
3348     wxPli_non_object_2_sv( aTHX_ ST(0), new wxPoint(RETVAL), "Wx::Point" );
3349
3350     }
3351     XSRETURN(1);
3352 }
3353
3354
3355 XS(XS_Wx__RichTextCtrl_GetLogicalPoint); /* prototype to pass -Wmissing-prototypes */
3356 XS(XS_Wx__RichTextCtrl_GetLogicalPoint)
3357 {
3358 #ifdef dVAR
3359     dVAR; dXSARGS;
3360 #else
3361     dXSARGS;
3362 #endif
3363     if (items != 2)
3364        croak_xs_usage(cv,  "THIS, ptPhysical");
3365     {
3366         wxPoint    ptPhysical = wxPli_sv_2_wxpoint( aTHX_ ST(1) );
3367         wxRichTextCtrl *    THIS = (wxRichTextCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::RichTextCtrl" );
3368         wxPoint RETVAL;
3369
3370         RETVAL = THIS->GetLogicalPoint(ptPhysical);
3371         ST(0) = sv_newmortal();
3372     wxPli_non_object_2_sv( aTHX_ ST(0), new wxPoint(RETVAL), "Wx::Point" );
3373
3374     }
3375     XSRETURN(1);
3376 }
3377
3378
3379 XS(XS_Wx__RichTextCtrl_FindNextWordPosition); /* prototype to pass -Wmissing-prototypes */
3380 XS(XS_Wx__RichTextCtrl_FindNextWordPosition)
3381 {
3382 #ifdef dVAR
3383     dVAR; dXSARGS;
3384 #else
3385     dXSARGS;
3386 #endif
3387     if (items < 1 || items > 2)
3388        croak_xs_usage(cv,  "THIS, direction = 1");
3389     {
3390         int     direction;
3391         wxRichTextCtrl *    THIS = (wxRichTextCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::RichTextCtrl" );
3392         long    RETVAL;
3393         dXSTARG;
3394
3395         if (items < 2)
3396             direction = 1;
3397         else {
3398             direction = (int)SvIV(ST(1));
3399         }
3400
3401         RETVAL = THIS->FindNextWordPosition(direction);
3402         XSprePUSH; PUSHi((IV)RETVAL);
3403     }
3404     XSRETURN(1);
3405 }
3406
3407
3408 XS(XS_Wx__RichTextCtrl_IsPositionVisible); /* prototype to pass -Wmissing-prototypes */
3409 XS(XS_Wx__RichTextCtrl_IsPositionVisible)
3410 {
3411 #ifdef dVAR
3412     dVAR; dXSARGS;
3413 #else
3414     dXSARGS;
3415 #endif
3416     if (items != 2)
3417        croak_xs_usage(cv,  "THIS, pos");
3418     {
3419         long    pos = (long)SvIV(ST(1));
3420         wxRichTextCtrl *    THIS = (wxRichTextCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::RichTextCtrl" );
3421         bool    RETVAL;
3422
3423         RETVAL = THIS->IsPositionVisible(pos);
3424         ST(0) = boolSV(RETVAL);
3425         sv_2mortal(ST(0));
3426     }
3427     XSRETURN(1);
3428 }
3429
3430
3431 XS(XS_Wx__RichTextCtrl_GetFirstVisiblePosition); /* prototype to pass -Wmissing-prototypes */
3432 XS(XS_Wx__RichTextCtrl_GetFirstVisiblePosition)
3433 {
3434 #ifdef dVAR
3435     dVAR; dXSARGS;
3436 #else
3437     dXSARGS;
3438 #endif
3439     if (items != 1)
3440        croak_xs_usage(cv,  "THIS");
3441     {
3442         wxRichTextCtrl *    THIS = (wxRichTextCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::RichTextCtrl" );
3443         long    RETVAL;
3444         dXSTARG;
3445
3446         RETVAL = THIS->GetFirstVisiblePosition();
3447         XSprePUSH; PUSHi((IV)RETVAL);
3448     }
3449     XSRETURN(1);
3450 }
3451
3452 #if WXPERL_W_VERSION_GE( 2, 7, 1 )
3453 #define XSubPPtmpAAAO 1
3454
3455
3456 XS(XS_Wx__RichTextCtrl_GetCaretPositionForDefaultStyle); /* prototype to pass -Wmissing-prototypes */
3457 XS(XS_Wx__RichTextCtrl_GetCaretPositionForDefaultStyle)
3458 {
3459 #ifdef dVAR
3460     dVAR; dXSARGS;
3461 #else
3462     dXSARGS;
3463 #endif
3464     if (items != 1)
3465        croak_xs_usage(cv,  "THIS");
3466     {
3467         wxRichTextCtrl *    THIS = (wxRichTextCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::RichTextCtrl" );
3468         long    RETVAL;
3469         dXSTARG;
3470
3471         RETVAL = THIS->GetCaretPositionForDefaultStyle();
3472         XSprePUSH; PUSHi((IV)RETVAL);
3473     }
3474     XSRETURN(1);
3475 }
3476
3477
3478 XS(XS_Wx__RichTextCtrl_SetCaretPositionForDefaultStyle); /* prototype to pass -Wmissing-prototypes */
3479 XS(XS_Wx__RichTextCtrl_SetCaretPositionForDefaultStyle)
3480 {
3481 #ifdef dVAR
3482     dVAR; dXSARGS;
3483 #else
3484     dXSARGS;
3485 #endif
3486     if (items != 2)
3487        croak_xs_usage(cv,  "THIS, pos");
3488     {
3489         long    pos = (long)SvIV(ST(1));
3490         wxRichTextCtrl *    THIS = (wxRichTextCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::RichTextCtrl" );
3491
3492         THIS->SetCaretPositionForDefaultStyle(pos);
3493     }
3494     XSRETURN_EMPTY;
3495 }
3496
3497
3498 XS(XS_Wx__RichTextCtrl_IsDefaultStyleShowing); /* prototype to pass -Wmissing-prototypes */
3499 XS(XS_Wx__RichTextCtrl_IsDefaultStyleShowing)
3500 {
3501 #ifdef dVAR
3502     dVAR; dXSARGS;
3503 #else
3504     dXSARGS;
3505 #endif
3506     if (items != 1)
3507        croak_xs_usage(cv,  "THIS");
3508     {
3509         wxRichTextCtrl *    THIS = (wxRichTextCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::RichTextCtrl" );
3510         bool    RETVAL;
3511
3512         RETVAL = THIS->IsDefaultStyleShowing();
3513         ST(0) = boolSV(RETVAL);
3514         sv_2mortal(ST(0));
3515     }
3516     XSRETURN(1);
3517 }
3518
3519
3520 XS(XS_Wx__RichTextCtrl_SetAndShowDefaultStyle); /* prototype to pass -Wmissing-prototypes */
3521 XS(XS_Wx__RichTextCtrl_SetAndShowDefaultStyle)
3522 {
3523 #ifdef dVAR
3524     dVAR; dXSARGS;
3525 #else
3526     dXSARGS;
3527 #endif
3528     if (items != 2)
3529        croak_xs_usage(cv,  "THIS, attr");
3530     {
3531         wxRichTextAttr*    attr = (wxRichTextAttr *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::RichTextAttr" );
3532         wxRichTextCtrl *    THIS = (wxRichTextCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::RichTextCtrl" );
3533     THIS->SetAndShowDefaultStyle( *( attr ) );
3534     }
3535     XSRETURN_EMPTY;
3536 }
3537
3538 #endif
3539 #if WXPERL_W_VERSION_GE( 2, 7, 2 )
3540 #define XSubPPtmpAAAP 1
3541
3542
3543 XS(XS_Wx__RichTextCtrl_GetFirstVisiblePoint); /* prototype to pass -Wmissing-prototypes */
3544 XS(XS_Wx__RichTextCtrl_GetFirstVisiblePoint)
3545 {
3546 #ifdef dVAR
3547     dVAR; dXSARGS;
3548 #else
3549     dXSARGS;
3550 #endif
3551     if (items != 1)
3552        croak_xs_usage(cv,  "THIS");
3553     {
3554         wxRichTextCtrl *    THIS = (wxRichTextCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::RichTextCtrl" );
3555         wxPoint RETVAL;
3556
3557         RETVAL = THIS->GetFirstVisiblePoint();
3558         ST(0) = sv_newmortal();
3559     wxPli_non_object_2_sv( aTHX_ ST(0), new wxPoint(RETVAL), "Wx::Point" );
3560
3561     }
3562     XSRETURN(1);
3563 }
3564
3565 #endif
3566
3567 XS(XS_Wx__RichTextCtrl_WriteImageFile); /* prototype to pass -Wmissing-prototypes */
3568 XS(XS_Wx__RichTextCtrl_WriteImageFile)
3569 {
3570 #ifdef dVAR
3571     dVAR; dXSARGS;
3572 #else
3573     dXSARGS;
3574 #endif
3575     if (items != 3)
3576        croak_xs_usage(cv,  "THIS, filename, bitmapType");
3577     {
3578         wxString        filename;
3579         wxBitmapType    bitmapType = (wxBitmapType)SvIV(ST(2));
3580         wxRichTextCtrl *    THIS = (wxRichTextCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::RichTextCtrl" );
3581         bool    RETVAL;
3582
3583     WXSTRING_INPUT( filename, wxString, ST(1) );
3584     RETVAL = THIS->WriteImage( filename, bitmapType );
3585         ST(0) = boolSV(RETVAL);
3586         sv_2mortal(ST(0));
3587     }
3588     XSRETURN(1);
3589 }
3590
3591
3592 XS(XS_Wx__RichTextCtrl_WriteImageBitmap); /* prototype to pass -Wmissing-prototypes */
3593 XS(XS_Wx__RichTextCtrl_WriteImageBitmap)
3594 {
3595 #ifdef dVAR
3596     dVAR; dXSARGS;
3597 #else
3598     dXSARGS;
3599 #endif
3600     if (items < 2 || items > 3)
3601        croak_xs_usage(cv,  "THIS, bitmap, bitmapType = wxBITMAP_TYPE_PNG");
3602     {
3603         wxBitmap*    bitmap = (wxBitmap *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::Bitmap" );
3604         wxBitmapType    bitmapType;
3605         wxRichTextCtrl *    THIS = (wxRichTextCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::RichTextCtrl" );
3606         bool    RETVAL;
3607
3608         if (items < 3)
3609             bitmapType = wxBITMAP_TYPE_PNG;
3610         else {
3611             bitmapType = (wxBitmapType)SvIV(ST(2));
3612         }
3613     RETVAL = THIS->WriteImage( *( bitmap ), bitmapType );
3614         ST(0) = boolSV(RETVAL);
3615         sv_2mortal(ST(0));
3616     }
3617     XSRETURN(1);
3618 }
3619
3620
3621 XS(XS_Wx__RichTextCtrl_WriteImageImage); /* prototype to pass -Wmissing-prototypes */
3622 XS(XS_Wx__RichTextCtrl_WriteImageImage)
3623 {
3624 #ifdef dVAR
3625     dVAR; dXSARGS;
3626 #else
3627     dXSARGS;
3628 #endif
3629     if (items < 2 || items > 3)
3630        croak_xs_usage(cv,  "THIS, image, bitmapType = wxBITMAP_TYPE_PNG");
3631     {
3632         wxImage*    image = (wxImage *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::Image" );
3633         wxBitmapType    bitmapType;
3634         wxRichTextCtrl *    THIS = (wxRichTextCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::RichTextCtrl" );
3635         bool    RETVAL;
3636
3637         if (items < 3)
3638             bitmapType = wxBITMAP_TYPE_PNG;
3639         else {
3640             bitmapType = (wxBitmapType)SvIV(ST(2));
3641         }
3642     RETVAL = THIS->WriteImage( *( image ), bitmapType );
3643         ST(0) = boolSV(RETVAL);
3644         sv_2mortal(ST(0));
3645     }
3646     XSRETURN(1);
3647 }
3648
3649
3650 XS(XS_Wx__RichTextCtrl_SetBasicStyleRich); /* prototype to pass -Wmissing-prototypes */
3651 XS(XS_Wx__RichTextCtrl_SetBasicStyleRich)
3652 {
3653 #ifdef dVAR
3654     dVAR; dXSARGS;
3655 #else
3656     dXSARGS;
3657 #endif
3658     if (items != 2)
3659        croak_xs_usage(cv,  "THIS, style");
3660     {
3661         wxRichTextAttr*    style = (wxRichTextAttr *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::RichTextAttr" );
3662         wxRichTextCtrl *    THIS = (wxRichTextCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::RichTextCtrl" );
3663     THIS->SetBasicStyle( *( style ) );
3664     }
3665     XSRETURN_EMPTY;
3666 }
3667
3668
3669 XS(XS_Wx__RichTextCtrl_SetBasicStyleEx); /* prototype to pass -Wmissing-prototypes */
3670 XS(XS_Wx__RichTextCtrl_SetBasicStyleEx)
3671 {
3672 #ifdef dVAR
3673     dVAR; dXSARGS;
3674 #else
3675     dXSARGS;
3676 #endif
3677     if (items != 2)
3678        croak_xs_usage(cv,  "THIS, style");
3679     {
3680         wxTextAttrEx*    style = (wxTextAttrEx *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::TextAttrEx" );
3681         wxRichTextCtrl *    THIS = (wxRichTextCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::RichTextCtrl" );
3682     THIS->SetBasicStyle( *( style ) );
3683     }
3684     XSRETURN_EMPTY;
3685 }
3686
3687
3688 XS(XS_Wx__RichTextCtrl_SetBasicStyle); /* prototype to pass -Wmissing-prototypes */
3689 XS(XS_Wx__RichTextCtrl_SetBasicStyle)
3690 {
3691 #ifdef dVAR
3692     dVAR; dXSARGS;
3693 #else
3694     dXSARGS;
3695 #endif
3696     if (items < 1)
3697        croak_xs_usage(cv,  "THIS, ...");
3698     PERL_UNUSED_VAR(ax); /* -Wall */
3699     SP -= items;
3700     {
3701         wxRichTextCtrl *    THIS = (wxRichTextCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::RichTextCtrl" );
3702     BEGIN_OVERLOAD()
3703         MATCH_REDISP( wxPliOvl_wrta, SetBasicStyleRich )
3704         MATCH_REDISP( wxPliOvl_wtae, SetBasicStyleEx )
3705     END_OVERLOAD( "Wx::RichTextCtrl::SetBasicStyle" )
3706         PUTBACK;
3707         return;
3708     }
3709 }
3710
3711
3712 XS(XS_Wx__RichTextCtrl_GetBuffer); /* prototype to pass -Wmissing-prototypes */
3713 XS(XS_Wx__RichTextCtrl_GetBuffer)
3714 {
3715 #ifdef dVAR
3716     dVAR; dXSARGS;
3717 #else
3718     dXSARGS;
3719 #endif
3720     if (items != 1)
3721        croak_xs_usage(cv,  "THIS");
3722     {
3723         wxRichTextCtrl *    THIS = (wxRichTextCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::RichTextCtrl" );
3724         wxRichTextBuffer *      RETVAL;
3725      RETVAL = &THIS->GetBuffer(); 
3726         ST(0) = sv_newmortal();
3727     wxPli_object_2_sv( aTHX_ ST(0), RETVAL );
3728
3729     }
3730     XSRETURN(1);
3731 }
3732
3733
3734 XS(XS_Wx__RichTextCtrl_new); /* prototype to pass -Wmissing-prototypes */
3735 XS(XS_Wx__RichTextCtrl_new)
3736 {
3737 #ifdef dVAR
3738     dVAR; dXSARGS;
3739 #else
3740     dXSARGS;
3741 #endif
3742     if (items < 1)
3743        croak_xs_usage(cv,  "CLASS, ...");
3744     PERL_UNUSED_VAR(ax); /* -Wall */
3745     SP -= items;
3746     {
3747         char *  CLASS = (char *)SvPV_nolen(ST(0));
3748     BEGIN_OVERLOAD()
3749         MATCH_VOIDM_REDISP( newDefault )
3750         MATCH_ANY_REDISP( newFull )
3751     END_OVERLOAD( "Wx::RichTextCtrl::new" )
3752         PUTBACK;
3753         return;
3754     }
3755 }
3756
3757
3758 XS(XS_Wx__RichTextCtrl_SetStyle); /* prototype to pass -Wmissing-prototypes */
3759 XS(XS_Wx__RichTextCtrl_SetStyle)
3760 {
3761 #ifdef dVAR
3762     dVAR; dXSARGS;
3763 #else
3764     dXSARGS;
3765 #endif
3766     if (items < 1)
3767        croak_xs_usage(cv,  "THIS, ...");
3768     PERL_UNUSED_VAR(ax); /* -Wall */
3769     SP -= items;
3770     {
3771         wxRichTextCtrl *    THIS = (wxRichTextCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::RichTextCtrl" );
3772     BEGIN_OVERLOAD()
3773         MATCH_REDISP( wxPliOvl_wrtr_wrta, SetStyleRange )
3774         MATCH_REDISP( wxPliOvl_n_n_wtae, SetStyleExFromTo )
3775         MATCH_REDISP( wxPliOvl_n_n_wtat, SetStyleFromTo )
3776     END_OVERLOAD( "Wx::RichTextCtrl::SetStyle" )
3777         PUTBACK;
3778         return;
3779     }
3780 }
3781
3782
3783 XS(XS_Wx__RichTextCtrl_SetStyleEx); /* prototype to pass -Wmissing-prototypes */
3784 XS(XS_Wx__RichTextCtrl_SetStyleEx)
3785 {
3786 #ifdef dVAR
3787     dVAR; dXSARGS;
3788 #else
3789     dXSARGS;
3790 #endif
3791     if (items < 1)
3792        croak_xs_usage(cv,  "THIS, ...");
3793     PERL_UNUSED_VAR(ax); /* -Wall */
3794     SP -= items;
3795     {
3796         wxRichTextCtrl *    THIS = (wxRichTextCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::RichTextCtrl" );
3797     BEGIN_OVERLOAD()
3798         MATCH_REDISP( wxPliOvl_wrtr_wrta_n, SetStyleExExRange )
3799         MATCH_REDISP( wxPliOvl_wrtr_wtae_n, SetStyleExRange )
3800         MATCH_REDISP( wxPliOvl_n_n_wtae, SetStyleExExFromTo )
3801     END_OVERLOAD( "Wx::RichTextCtrl::SetStyleEx" )
3802         PUTBACK;
3803         return;
3804     }
3805 }
3806
3807
3808 XS(XS_Wx__RichTextCtrl_HasCharacterAttributes); /* prototype to pass -Wmissing-prototypes */
3809 XS(XS_Wx__RichTextCtrl_HasCharacterAttributes)
3810 {
3811 #ifdef dVAR
3812     dVAR; dXSARGS;
3813 #else
3814     dXSARGS;
3815 #endif
3816     if (items < 1)
3817        croak_xs_usage(cv,  "THIS, ...");
3818     PERL_UNUSED_VAR(ax); /* -Wall */
3819     SP -= items;
3820     {
3821         wxRichTextCtrl *    THIS = (wxRichTextCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::RichTextCtrl" );
3822     BEGIN_OVERLOAD()
3823         MATCH_REDISP( wxPliOvl_wrtr_wrta, HasCARich )
3824         MATCH_REDISP( wxPliOvl_wrtr_wtae, HasCAEx )
3825     END_OVERLOAD( "Wx::RichTextCtrl::HasCharacterAttributes" )
3826         PUTBACK;
3827         return;
3828     }
3829 }
3830
3831
3832 XS(XS_Wx__RichTextCtrl_HasParagraphAttributes); /* prototype to pass -Wmissing-prototypes */
3833 XS(XS_Wx__RichTextCtrl_HasParagraphAttributes)
3834 {
3835 #ifdef dVAR
3836     dVAR; dXSARGS;
3837 #else
3838     dXSARGS;
3839 #endif
3840     if (items < 1)
3841        croak_xs_usage(cv,  "THIS, ...");
3842     PERL_UNUSED_VAR(ax); /* -Wall */
3843     SP -= items;
3844     {
3845         wxRichTextCtrl *    THIS = (wxRichTextCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::RichTextCtrl" );
3846     BEGIN_OVERLOAD()
3847         MATCH_REDISP( wxPliOvl_wrtr_wrtr, HasPARich )
3848         MATCH_REDISP( wxPliOvl_wrtr_wtae, HasPAEx )
3849     END_OVERLOAD( "Wx::RichTextCtrl::HasParagraphAttributes" )
3850         PUTBACK;
3851         return;
3852     }
3853 }
3854
3855
3856 XS(XS_Wx__RichTextCtrl_DeleteSelectedContent); /* prototype to pass -Wmissing-prototypes */
3857 XS(XS_Wx__RichTextCtrl_DeleteSelectedContent)
3858 {
3859 #ifdef dVAR
3860     dVAR; dXSARGS;
3861 #else
3862     dXSARGS;
3863 #endif
3864     if (items != 1)
3865        croak_xs_usage(cv,  "THIS");
3866     PERL_UNUSED_VAR(ax); /* -Wall */
3867     SP -= items;
3868     {
3869         wxRichTextCtrl *    THIS = (wxRichTextCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::RichTextCtrl" );
3870     long newPos;
3871     bool retval = THIS->DeleteSelectedContent( &newPos );
3872     EXTEND( SP, 2 );
3873     PUSHs( newSViv( retval ) );
3874     PUSHs( newSViv( retval ? newPos : -1 ) );
3875         PUTBACK;
3876         return;
3877     }
3878 }
3879
3880
3881 XS(XS_Wx__RichTextCtrl_GetCaretPositionForIndex); /* prototype to pass -Wmissing-prototypes */
3882 XS(XS_Wx__RichTextCtrl_GetCaretPositionForIndex)
3883 {
3884 #ifdef dVAR
3885     dVAR; dXSARGS;
3886 #else
3887     dXSARGS;
3888 #endif
3889     if (items != 2)
3890        croak_xs_usage(cv,  "THIS, position");
3891     PERL_UNUSED_VAR(ax); /* -Wall */
3892     SP -= items;
3893     {
3894         long    position = (long)SvIV(ST(1));
3895         wxRichTextCtrl *    THIS = (wxRichTextCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::RichTextCtrl" );
3896     wxRect rect;
3897     bool retval = THIS->GetCaretPositionForIndex( position, rect );
3898     EXTEND( SP, 2 );
3899     PUSHs( newSViv( retval ) );
3900     PUSHs( retval ? wxPli_non_object_2_sv( aTHX_ sv_newmortal(),
3901                                            new wxRect( rect ), "Wx::Rect" ) :
3902                     &PL_sv_undef );
3903         PUTBACK;
3904         return;
3905     }
3906 }
3907
3908
3909 XS(XS_Wx__RichTextCtrl_GetRichTextAttrStyle); /* prototype to pass -Wmissing-prototypes */
3910 XS(XS_Wx__RichTextCtrl_GetRichTextAttrStyle)
3911 {
3912 #ifdef dVAR
3913     dVAR; dXSARGS;
3914 #else
3915     dXSARGS;
3916 #endif
3917     if (items != 2)
3918        croak_xs_usage(cv,  "THIS, position");
3919     PERL_UNUSED_VAR(ax); /* -Wall */
3920     SP -= items;
3921     {
3922         long    position = (long)SvIV(ST(1));
3923         wxRichTextCtrl *    THIS = (wxRichTextCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::RichTextCtrl" );
3924     wxRichTextAttr attr;
3925     bool retval = THIS->GetStyle( position, attr );
3926     EXTEND( SP, 2 );
3927     PUSHs( newSViv( retval ) );
3928     PUSHs( retval ? wxPli_non_object_2_sv( aTHX_ sv_newmortal(),
3929                                            new wxRichTextAttr( attr ),
3930                                            "Wx::RichTextAttr" ) :
3931                     &PL_sv_undef );
3932         PUTBACK;
3933         return;
3934     }
3935 }
3936
3937
3938 XS(XS_Wx__RichTextCtrl_GetTextAttrExStyle); /* prototype to pass -Wmissing-prototypes */
3939 XS(XS_Wx__RichTextCtrl_GetTextAttrExStyle)
3940 {
3941 #ifdef dVAR
3942     dVAR; dXSARGS;
3943 #else
3944     dXSARGS;
3945 #endif
3946     if (items != 2)
3947        croak_xs_usage(cv,  "THIS, position");
3948     PERL_UNUSED_VAR(ax); /* -Wall */
3949     SP -= items;
3950     {
3951         long    position = (long)SvIV(ST(1));
3952         wxRichTextCtrl *    THIS = (wxRichTextCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::RichTextCtrl" );
3953     wxTextAttrEx attr;
3954     bool retval = THIS->GetStyle( position, attr );
3955     EXTEND( SP, 2 );
3956     PUSHs( newSViv( retval ) );
3957     PUSHs( retval ? wxPli_non_object_2_sv( aTHX_ sv_newmortal(),
3958                                            new wxTextAttrEx( attr ),
3959                                            "Wx::TextAttrEx" ) :
3960                     &PL_sv_undef );
3961         PUTBACK;
3962         return;
3963     }
3964 }
3965
3966
3967 XS(XS_Wx__RichTextCtrl_GetTextAttrStyle); /* prototype to pass -Wmissing-prototypes */
3968 XS(XS_Wx__RichTextCtrl_GetTextAttrStyle)
3969 {
3970 #ifdef dVAR
3971     dVAR; dXSARGS;
3972 #else
3973     dXSARGS;
3974 #endif
3975     if (items != 2)
3976        croak_xs_usage(cv,  "THIS, position");
3977     PERL_UNUSED_VAR(ax); /* -Wall */
3978     SP -= items;
3979     {
3980         long    position = (long)SvIV(ST(1));
3981         wxRichTextCtrl *    THIS = (wxRichTextCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::RichTextCtrl" );
3982     wxTextAttr attr;
3983     bool retval = THIS->GetStyle( position, attr );
3984     EXTEND( SP, 2 );
3985     PUSHs( newSViv( retval ) );
3986     PUSHs( retval ? wxPli_non_object_2_sv( aTHX_ sv_newmortal(),
3987                                            new wxTextAttr( attr ),
3988                                            "Wx::TextAttr" ) :
3989                     &PL_sv_undef );
3990         PUTBACK;
3991         return;
3992     }
3993 }
3994
3995 #if WXPERL_W_VERSION_GE( 2, 9, 0 )
3996 #define XSubPPtmpAAAQ 1
3997
3998
3999 XS(XS_Wx__RichTextCtrl_GetStyle); /* prototype to pass -Wmissing-prototypes */
4000 XS(XS_Wx__RichTextCtrl_GetStyle)
4001 {
4002 #ifdef dVAR
4003     dVAR; dXSARGS;
4004 #else
4005     dXSARGS;
4006 #endif
4007     if (items != 2)
4008        croak_xs_usage(cv,  "THIS, position");
4009     PERL_UNUSED_VAR(ax); /* -Wall */
4010     SP -= items;
4011     {
4012         long    position = (long)SvIV(ST(1));
4013         wxRichTextCtrl *    THIS = (wxRichTextCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::RichTextCtrl" );
4014     wxTextAttr attr;
4015     bool retval = THIS->GetStyle( position, attr );
4016     EXTEND( SP, 2 );
4017     PUSHs( newSViv( retval ) );
4018     PUSHs( retval ? wxPli_non_object_2_sv( aTHX_ sv_newmortal(),
4019                                            new wxTextAttr( attr ),
4020                                            "Wx::TextAttr" ) :
4021                     &PL_sv_undef );
4022         PUTBACK;
4023         return;
4024     }
4025 }
4026
4027 #endif
4028 #if WXPERL_W_VERSION_GE( 2, 7, 1 )
4029 #define XSubPPtmpAAAR 1
4030
4031
4032 XS(XS_Wx__RichTextCtrl_GetRichTextAttrUncombinedStyle); /* prototype to pass -Wmissing-prototypes */
4033 XS(XS_Wx__RichTextCtrl_GetRichTextAttrUncombinedStyle)
4034 {
4035 #ifdef dVAR
4036     dVAR; dXSARGS;
4037 #else
4038     dXSARGS;
4039 #endif
4040     if (items != 2)
4041        croak_xs_usage(cv,  "THIS, position");
4042     PERL_UNUSED_VAR(ax); /* -Wall */
4043     SP -= items;
4044     {
4045         long    position = (long)SvIV(ST(1));
4046         wxRichTextCtrl *    THIS = (wxRichTextCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::RichTextCtrl" );
4047     wxRichTextAttr attr;
4048     bool retval = THIS->GetUncombinedStyle( position, attr );
4049     EXTEND( SP, 2 );
4050     PUSHs( newSViv( retval ) );
4051     PUSHs( retval ? wxPli_non_object_2_sv( aTHX_ sv_newmortal(),
4052                                            new wxRichTextAttr( attr ),
4053                                            "Wx::RichTextAttr" ) :
4054                     &PL_sv_undef );
4055         PUTBACK;
4056         return;
4057     }
4058 }
4059
4060
4061 XS(XS_Wx__RichTextCtrl_GetTextAttrExUncombinedStyle); /* prototype to pass -Wmissing-prototypes */
4062 XS(XS_Wx__RichTextCtrl_GetTextAttrExUncombinedStyle)
4063 {
4064 #ifdef dVAR
4065     dVAR; dXSARGS;
4066 #else
4067     dXSARGS;
4068 #endif
4069     if (items != 2)
4070        croak_xs_usage(cv,  "THIS, position");
4071     PERL_UNUSED_VAR(ax); /* -Wall */
4072     SP -= items;
4073     {
4074         long    position = (long)SvIV(ST(1));
4075         wxRichTextCtrl *    THIS = (wxRichTextCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::RichTextCtrl" );
4076     wxTextAttrEx attr;
4077     bool retval = THIS->GetUncombinedStyle( position, attr );
4078     EXTEND( SP, 2 );
4079     PUSHs( newSViv( retval ) );
4080     PUSHs( retval ? wxPli_non_object_2_sv( aTHX_ sv_newmortal(),
4081                                            new wxTextAttrEx( attr ),
4082                                            "Wx::TextAttrEx" ) :
4083                     &PL_sv_undef );
4084         PUTBACK;
4085         return;
4086     }
4087 }
4088
4089
4090 XS(XS_Wx__RichTextCtrl_GetTextAttrUncombinedStyle); /* prototype to pass -Wmissing-prototypes */
4091 XS(XS_Wx__RichTextCtrl_GetTextAttrUncombinedStyle)
4092 {
4093 #ifdef dVAR
4094     dVAR; dXSARGS;
4095 #else
4096     dXSARGS;
4097 #endif
4098     if (items != 2)
4099        croak_xs_usage(cv,  "THIS, position");
4100     PERL_UNUSED_VAR(ax); /* -Wall */
4101     SP -= items;
4102     {
4103         long    position = (long)SvIV(ST(1));
4104         wxRichTextCtrl *    THIS = (wxRichTextCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::RichTextCtrl" );
4105     wxTextAttr attr;
4106     bool retval = THIS->GetUncombinedStyle( position, attr );
4107     EXTEND( SP, 2 );
4108     PUSHs( newSViv( retval ) );
4109     PUSHs( retval ? wxPli_non_object_2_sv( aTHX_ sv_newmortal(),
4110                                            new wxTextAttr( attr ),
4111                                            "Wx::TextAttr" ) :
4112                     &PL_sv_undef );
4113         PUTBACK;
4114         return;
4115     }
4116 }
4117
4118 #endif
4119 #if WXPERL_W_VERSION_GE( 2, 9, 0 )
4120 #define XSubPPtmpAAAS 1
4121
4122
4123 XS(XS_Wx__RichTextCtrl_GetUncombinedStyle); /* prototype to pass -Wmissing-prototypes */
4124 XS(XS_Wx__RichTextCtrl_GetUncombinedStyle)
4125 {
4126 #ifdef dVAR
4127     dVAR; dXSARGS;
4128 #else
4129     dXSARGS;
4130 #endif
4131     if (items != 2)
4132        croak_xs_usage(cv,  "THIS, position");
4133     PERL_UNUSED_VAR(ax); /* -Wall */
4134     SP -= items;
4135     {
4136         long    position = (long)SvIV(ST(1));
4137         wxRichTextCtrl *    THIS = (wxRichTextCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::RichTextCtrl" );
4138     wxTextAttr attr;
4139     bool retval = THIS->GetUncombinedStyle( position, attr );
4140     EXTEND( SP, 2 );
4141     PUSHs( newSViv( retval ) );
4142     PUSHs( retval ? wxPli_non_object_2_sv( aTHX_ sv_newmortal(),
4143                                            new wxTextAttr( attr ),
4144                                            "Wx::TextAttr" ) :
4145                     &PL_sv_undef );
4146         PUTBACK;
4147         return;
4148     }
4149 }
4150
4151 #endif
4152 #if WXPERL_W_VERSION_GE( 2, 8, 0 )
4153 #define XSubPPtmpAAAT 1
4154
4155
4156 XS(XS_Wx__RichTextCtrl_GetRichTextAttrStyleForRange); /* prototype to pass -Wmissing-prototypes */
4157 XS(XS_Wx__RichTextCtrl_GetRichTextAttrStyleForRange)
4158 {
4159 #ifdef dVAR
4160     dVAR; dXSARGS;
4161 #else
4162     dXSARGS;
4163 #endif
4164     if (items != 2)
4165        croak_xs_usage(cv,  "THIS, range");
4166     PERL_UNUSED_VAR(ax); /* -Wall */
4167     SP -= items;
4168     {
4169         wxRichTextRange*    range = (wxRichTextRange *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::RichTextRange" );
4170         wxRichTextCtrl *    THIS = (wxRichTextCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::RichTextCtrl" );
4171     wxRichTextAttr attr;
4172     bool retval = THIS->GetStyleForRange( *range, attr );
4173     EXTEND( SP, 2 );
4174     PUSHs( newSViv( retval ) );
4175     PUSHs( retval ? wxPli_non_object_2_sv( aTHX_ sv_newmortal(),
4176                                            new wxRichTextAttr( attr ),
4177                                            "Wx::RichTextAttr" ) :
4178                     &PL_sv_undef );
4179         PUTBACK;
4180         return;
4181     }
4182 }
4183
4184
4185 XS(XS_Wx__RichTextCtrl_GetTextAttrExStyleForRange); /* prototype to pass -Wmissing-prototypes */
4186 XS(XS_Wx__RichTextCtrl_GetTextAttrExStyleForRange)
4187 {
4188 #ifdef dVAR
4189     dVAR; dXSARGS;
4190 #else
4191     dXSARGS;
4192 #endif
4193     if (items != 2)
4194        croak_xs_usage(cv,  "THIS, range");
4195     PERL_UNUSED_VAR(ax); /* -Wall */
4196     SP -= items;
4197     {
4198         wxRichTextRange*    range = (wxRichTextRange *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::RichTextRange" );
4199         wxRichTextCtrl *    THIS = (wxRichTextCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::RichTextCtrl" );
4200     wxTextAttrEx attr;
4201     bool retval = THIS->GetStyleForRange( *range, attr );
4202     EXTEND( SP, 2 );
4203     PUSHs( newSViv( retval ) );
4204     PUSHs( retval ? wxPli_non_object_2_sv( aTHX_ sv_newmortal(),
4205                                            new wxTextAttrEx( attr ),
4206                                            "Wx::TextAttrEx" ) :
4207                     &PL_sv_undef );
4208         PUTBACK;
4209         return;
4210     }
4211 }
4212
4213 #endif
4214 #if WXPERL_W_VERSION_GE( 2, 9, 0 )
4215 #define XSubPPtmpAAAU 1
4216
4217
4218 XS(XS_Wx__RichTextCtrl_GetStyleForRange); /* prototype to pass -Wmissing-prototypes */
4219 XS(XS_Wx__RichTextCtrl_GetStyleForRange)
4220 {
4221 #ifdef dVAR
4222     dVAR; dXSARGS;
4223 #else
4224     dXSARGS;
4225 #endif
4226     if (items != 2)
4227        croak_xs_usage(cv,  "THIS, range");
4228     PERL_UNUSED_VAR(ax); /* -Wall */
4229     SP -= items;
4230     {
4231         wxRichTextRange*    range = (wxRichTextRange *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::RichTextRange" );
4232         wxRichTextCtrl *    THIS = (wxRichTextCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::RichTextCtrl" );
4233     wxTextAttr attr;
4234     bool retval = THIS->GetStyleForRange( *range, attr );
4235     EXTEND( SP, 2 );
4236     PUSHs( newSViv( retval ) );
4237     PUSHs( retval ? wxPli_non_object_2_sv( aTHX_ sv_newmortal(),
4238                                            new wxTextAttrEx( attr ),
4239                                            "Wx::TextAttrEx" ) :
4240                     &PL_sv_undef );
4241         PUTBACK;
4242         return;
4243     }
4244 }
4245
4246 #endif
4247
4248 XS(XS_Wx__RichTextCtrl_WriteImage); /* prototype to pass -Wmissing-prototypes */
4249 XS(XS_Wx__RichTextCtrl_WriteImage)
4250 {
4251 #ifdef dVAR
4252     dVAR; dXSARGS;
4253 #else
4254     dXSARGS;
4255 #endif
4256     PERL_UNUSED_VAR(cv); /* -W */
4257     PERL_UNUSED_VAR(ax); /* -Wall */
4258     SP -= items;
4259     {
4260     BEGIN_OVERLOAD()
4261         MATCH_REDISP_COUNT_ALLOWMORE( wxPliOvl_wimg_n, WriteImageImage, 1 )
4262         MATCH_REDISP_COUNT_ALLOWMORE( wxPliOvl_wbmp_n, WriteImageBitmap, 1 )
4263         MATCH_REDISP( wxPliOvl_s_n, WriteImageFile )
4264     END_OVERLOAD( "Wx::RichTextCtrl::WriteImage" )
4265         PUTBACK;
4266         return;
4267     }
4268 }
4269
4270
4271 /* INCLUDE: Returning to 'RichText.xs' from 'perl -MExtUtils::XSpp::Cmd -e xspp -- -t typemap.xsp -t ../../typemap.xsp XS/RichTextCtrl.xsp |' */
4272
4273
4274 /* INCLUDE:  Including 'perl -MExtUtils::XSpp::Cmd -e xspp -- -t typemap.xsp -t ../../typemap.xsp XS/RichTextAttr.xsp |' from 'RichText.xs' */
4275
4276 #include <wx/event.h>
4277 #include <wx/richtext/richtextbuffer.h>
4278
4279 XS(XS_Wx__RichTextRange_newDefault); /* prototype to pass -Wmissing-prototypes */
4280 XS(XS_Wx__RichTextRange_newDefault)
4281 {
4282 #ifdef dVAR
4283     dVAR; dXSARGS;
4284 #else
4285     dXSARGS;
4286 #endif
4287     if (items != 1)
4288        croak_xs_usage(cv,  "CLASS");
4289     {
4290         char *  CLASS = (char *)SvPV_nolen(ST(0));
4291         wxRichTextRange *       RETVAL;
4292     RETVAL = new wxRichTextRange();
4293         ST(0) = sv_newmortal();
4294     wxPli_non_object_2_sv( aTHX_ ST(0), RETVAL, "Wx::RichTextRange" );
4295     wxPli_thread_sv_register( aTHX_ "Wx::RichTextRange", RETVAL, ST(0) );
4296
4297     }
4298     XSRETURN(1);
4299 }
4300
4301
4302 XS(XS_Wx__RichTextRange_newFromTo); /* prototype to pass -Wmissing-prototypes */
4303 XS(XS_Wx__RichTextRange_newFromTo)
4304 {
4305 #ifdef dVAR
4306     dVAR; dXSARGS;
4307 #else
4308     dXSARGS;
4309 #endif
4310     if (items != 3)
4311        croak_xs_usage(cv,  "CLASS, start, end");
4312     {
4313         long    start = (long)SvIV(ST(1));
4314         long    end = (long)SvIV(ST(2));
4315         char *  CLASS = (char *)SvPV_nolen(ST(0));
4316         wxRichTextRange *       RETVAL;
4317     RETVAL = new wxRichTextRange( start, end );
4318         ST(0) = sv_newmortal();
4319     wxPli_non_object_2_sv( aTHX_ ST(0), RETVAL, "Wx::RichTextRange" );
4320     wxPli_thread_sv_register( aTHX_ "Wx::RichTextRange", RETVAL, ST(0) );
4321
4322     }
4323     XSRETURN(1);
4324 }
4325
4326
4327 XS(XS_Wx__RichTextRange_newCopy); /* prototype to pass -Wmissing-prototypes */
4328 XS(XS_Wx__RichTextRange_newCopy)
4329 {
4330 #ifdef dVAR
4331     dVAR; dXSARGS;
4332 #else
4333     dXSARGS;
4334 #endif
4335     if (items != 2)
4336        croak_xs_usage(cv,  "CLASS, range");
4337     {
4338         wxRichTextRange*    range = (wxRichTextRange *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::RichTextRange" );
4339         char *  CLASS = (char *)SvPV_nolen(ST(0));
4340         wxRichTextRange *       RETVAL;
4341     RETVAL = new wxRichTextRange( *( range ) );
4342         ST(0) = sv_newmortal();
4343     wxPli_non_object_2_sv( aTHX_ ST(0), RETVAL, "Wx::RichTextRange" );
4344     wxPli_thread_sv_register( aTHX_ "Wx::RichTextRange", RETVAL, ST(0) );
4345
4346     }
4347     XSRETURN(1);
4348 }
4349
4350
4351 XS(XS_Wx__RichTextRange_CLONE); /* prototype to pass -Wmissing-prototypes */
4352 XS(XS_Wx__RichTextRange_CLONE)
4353 {
4354 #ifdef dVAR
4355     dVAR; dXSARGS;
4356 #else
4357     dXSARGS;
4358 #endif
4359     if (items != 1)
4360        croak_xs_usage(cv,  "CLASS");
4361     {
4362         char *  CLASS = (char *)SvPV_nolen(ST(0));
4363     wxPli_thread_sv_clone( aTHX_ CLASS, (wxPliCloneSV)wxPli_detach_object );
4364     }
4365     XSRETURN_EMPTY;
4366 }
4367
4368
4369 XS(XS_Wx__RichTextRange_DESTROY); /* prototype to pass -Wmissing-prototypes */
4370 XS(XS_Wx__RichTextRange_DESTROY)
4371 {
4372 #ifdef dVAR
4373     dVAR; dXSARGS;
4374 #else
4375     dXSARGS;
4376 #endif
4377     if (items != 1)
4378        croak_xs_usage(cv,  "THIS");
4379     {
4380         wxRichTextRange *    THIS = (wxRichTextRange *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::RichTextRange" );
4381      wxPli_thread_sv_unregister( aTHX_ "Wx::RichTextRange", THIS, ST(0) );
4382                 delete THIS;
4383     }
4384     XSRETURN_EMPTY;
4385 }
4386
4387
4388 XS(XS_Wx__RichTextRange_SetRange); /* prototype to pass -Wmissing-prototypes */
4389 XS(XS_Wx__RichTextRange_SetRange)
4390 {
4391 #ifdef dVAR
4392     dVAR; dXSARGS;
4393 #else
4394     dXSARGS;
4395 #endif
4396     if (items != 3)
4397        croak_xs_usage(cv,  "THIS, start, end");
4398     {
4399         long    start = (long)SvIV(ST(1));
4400         long    end = (long)SvIV(ST(2));
4401         wxRichTextRange *    THIS = (wxRichTextRange *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::RichTextRange" );
4402
4403         THIS->SetRange(start, end);
4404     }
4405     XSRETURN_EMPTY;
4406 }
4407
4408
4409 XS(XS_Wx__RichTextRange_SetStart); /* prototype to pass -Wmissing-prototypes */
4410 XS(XS_Wx__RichTextRange_SetStart)
4411 {
4412 #ifdef dVAR
4413     dVAR; dXSARGS;
4414 #else
4415     dXSARGS;
4416 #endif
4417     if (items != 2)
4418        croak_xs_usage(cv,  "THIS, start");
4419     {
4420         long    start = (long)SvIV(ST(1));
4421         wxRichTextRange *    THIS = (wxRichTextRange *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::RichTextRange" );
4422
4423         THIS->SetStart(start);
4424     }
4425     XSRETURN_EMPTY;
4426 }
4427
4428
4429 XS(XS_Wx__RichTextRange_GetStart); /* prototype to pass -Wmissing-prototypes */
4430 XS(XS_Wx__RichTextRange_GetStart)
4431 {
4432 #ifdef dVAR
4433     dVAR; dXSARGS;
4434 #else
4435     dXSARGS;
4436 #endif
4437     if (items != 1)
4438        croak_xs_usage(cv,  "THIS");
4439     {
4440         wxRichTextRange *    THIS = (wxRichTextRange *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::RichTextRange" );
4441         long    RETVAL;
4442         dXSTARG;
4443
4444         RETVAL = THIS->GetStart();
4445         XSprePUSH; PUSHi((IV)RETVAL);
4446     }
4447     XSRETURN(1);
4448 }
4449
4450
4451 XS(XS_Wx__RichTextRange_SetEnd); /* prototype to pass -Wmissing-prototypes */
4452 XS(XS_Wx__RichTextRange_SetEnd)
4453 {
4454 #ifdef dVAR
4455     dVAR; dXSARGS;
4456 #else
4457     dXSARGS;
4458 #endif
4459     if (items != 2)
4460        croak_xs_usage(cv,  "THIS, end");
4461     {
4462         long    end = (long)SvIV(ST(1));
4463         wxRichTextRange *    THIS = (wxRichTextRange *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::RichTextRange" );
4464
4465         THIS->SetEnd(end);
4466     }
4467     XSRETURN_EMPTY;
4468 }
4469
4470
4471 XS(XS_Wx__RichTextRange_GetEnd); /* prototype to pass -Wmissing-prototypes */
4472 XS(XS_Wx__RichTextRange_GetEnd)
4473 {
4474 #ifdef dVAR
4475     dVAR; dXSARGS;
4476 #else
4477     dXSARGS;
4478 #endif
4479     if (items != 1)
4480        croak_xs_usage(cv,  "THIS");
4481     {
4482         wxRichTextRange *    THIS = (wxRichTextRange *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::RichTextRange" );
4483         long    RETVAL;
4484         dXSTARG;
4485
4486         RETVAL = THIS->GetEnd();
4487         XSprePUSH; PUSHi((IV)RETVAL);
4488     }
4489     XSRETURN(1);
4490 }
4491
4492
4493 XS(XS_Wx__RichTextRange_IsOutside); /* prototype to pass -Wmissing-prototypes */
4494 XS(XS_Wx__RichTextRange_IsOutside)
4495 {
4496 #ifdef dVAR
4497     dVAR; dXSARGS;
4498 #else
4499     dXSARGS;
4500 #endif
4501     if (items != 2)
4502        croak_xs_usage(cv,  "THIS, range");
4503     {
4504         wxRichTextRange*    range = (wxRichTextRange *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::RichTextRange" );
4505         wxRichTextRange *    THIS = (wxRichTextRange *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::RichTextRange" );
4506         bool    RETVAL;
4507     RETVAL = THIS->IsOutside( *( range ) );
4508         ST(0) = boolSV(RETVAL);
4509         sv_2mortal(ST(0));
4510     }
4511     XSRETURN(1);
4512 }
4513
4514
4515 XS(XS_Wx__RichTextRange_IsWithin); /* prototype to pass -Wmissing-prototypes */
4516 XS(XS_Wx__RichTextRange_IsWithin)
4517 {
4518 #ifdef dVAR
4519     dVAR; dXSARGS;
4520 #else
4521     dXSARGS;
4522 #endif
4523     if (items != 2)
4524        croak_xs_usage(cv,  "THIS, range");
4525     {
4526         wxRichTextRange*    range = (wxRichTextRange *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::RichTextRange" );
4527         wxRichTextRange *    THIS = (wxRichTextRange *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::RichTextRange" );
4528         bool    RETVAL;
4529     RETVAL = THIS->IsWithin( *( range ) );
4530         ST(0) = boolSV(RETVAL);
4531         sv_2mortal(ST(0));
4532     }
4533     XSRETURN(1);
4534 }
4535
4536
4537 XS(XS_Wx__RichTextRange_Contains); /* prototype to pass -Wmissing-prototypes */
4538 XS(XS_Wx__RichTextRange_Contains)
4539 {
4540 #ifdef dVAR
4541     dVAR; dXSARGS;
4542 #else
4543     dXSARGS;
4544 #endif
4545     if (items != 2)
4546        croak_xs_usage(cv,  "THIS, pos");
4547     {
4548         long    pos = (long)SvIV(ST(1));
4549         wxRichTextRange *    THIS = (wxRichTextRange *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::RichTextRange" );
4550         bool    RETVAL;
4551
4552         RETVAL = THIS->Contains(pos);
4553         ST(0) = boolSV(RETVAL);
4554         sv_2mortal(ST(0));
4555     }
4556     XSRETURN(1);
4557 }
4558
4559
4560 XS(XS_Wx__RichTextRange_LimitTo); /* prototype to pass -Wmissing-prototypes */
4561 XS(XS_Wx__RichTextRange_LimitTo)
4562 {
4563 #ifdef dVAR
4564     dVAR; dXSARGS;
4565 #else
4566     dXSARGS;
4567 #endif
4568     if (items != 2)
4569        croak_xs_usage(cv,  "THIS, range");
4570     {
4571         wxRichTextRange*    range = (wxRichTextRange *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::RichTextRange" );
4572         wxRichTextRange *    THIS = (wxRichTextRange *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::RichTextRange" );
4573         bool    RETVAL;
4574     RETVAL = THIS->LimitTo( *( range ) );
4575         ST(0) = boolSV(RETVAL);
4576         sv_2mortal(ST(0));
4577     }
4578     XSRETURN(1);
4579 }
4580
4581
4582 XS(XS_Wx__RichTextRange_GetLength); /* prototype to pass -Wmissing-prototypes */
4583 XS(XS_Wx__RichTextRange_GetLength)
4584 {
4585 #ifdef dVAR
4586     dVAR; dXSARGS;
4587 #else
4588     dXSARGS;
4589 #endif
4590     if (items != 1)
4591        croak_xs_usage(cv,  "THIS");
4592     {
4593         wxRichTextRange *    THIS = (wxRichTextRange *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::RichTextRange" );
4594         long    RETVAL;
4595         dXSTARG;
4596
4597         RETVAL = THIS->GetLength();
4598         XSprePUSH; PUSHi((IV)RETVAL);
4599     }
4600     XSRETURN(1);
4601 }
4602
4603
4604 XS(XS_Wx__RichTextRange_new); /* prototype to pass -Wmissing-prototypes */
4605 XS(XS_Wx__RichTextRange_new)
4606 {
4607 #ifdef dVAR
4608     dVAR; dXSARGS;
4609 #else
4610     dXSARGS;
4611 #endif
4612     if (items < 1)
4613        croak_xs_usage(cv,  "CLASS, ...");
4614     PERL_UNUSED_VAR(ax); /* -Wall */
4615     SP -= items;
4616     {
4617         char *  CLASS = (char *)SvPV_nolen(ST(0));
4618     BEGIN_OVERLOAD()
4619         MATCH_VOIDM_REDISP( newDefault )
4620         MATCH_REDISP( wxPliOvl_n_n, newFromTo )
4621         MATCH_REDISP( wxPliOvl_wrtr, newCopy )
4622     END_OVERLOAD( Wx::RichTextRange::new )
4623         PUTBACK;
4624         return;
4625     }
4626 }
4627
4628
4629 XS(XS_Wx__TextAttrEx_newDefault); /* prototype to pass -Wmissing-prototypes */
4630 XS(XS_Wx__TextAttrEx_newDefault)
4631 {
4632 #ifdef dVAR
4633     dVAR; dXSARGS;
4634 #else
4635     dXSARGS;
4636 #endif
4637     if (items != 1)
4638        croak_xs_usage(cv,  "CLASS");
4639     {
4640         char *  CLASS = (char *)SvPV_nolen(ST(0));
4641         wxTextAttrEx *  RETVAL;
4642     RETVAL = new wxTextAttrEx();
4643         ST(0) = sv_newmortal();
4644     wxPli_non_object_2_sv( aTHX_ ST(0), RETVAL, "Wx::TextAttrEx" );
4645     wxPli_thread_sv_register( aTHX_ "Wx::TextAttrEx", RETVAL, ST(0) );
4646
4647     }
4648     XSRETURN(1);
4649 }
4650
4651
4652 XS(XS_Wx__TextAttrEx_newCopy); /* prototype to pass -Wmissing-prototypes */
4653 XS(XS_Wx__TextAttrEx_newCopy)
4654 {
4655 #ifdef dVAR
4656     dVAR; dXSARGS;
4657 #else
4658     dXSARGS;
4659 #endif
4660     if (items != 2)
4661        croak_xs_usage(cv,  "CLASS, attr");
4662     {
4663         wxTextAttrEx*    attr = (wxTextAttrEx *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::TextAttrEx" );
4664         char *  CLASS = (char *)SvPV_nolen(ST(0));
4665         wxTextAttrEx *  RETVAL;
4666     RETVAL = new wxTextAttrEx( *( attr ) );
4667         ST(0) = sv_newmortal();
4668     wxPli_non_object_2_sv( aTHX_ ST(0), RETVAL, "Wx::TextAttrEx" );
4669     wxPli_thread_sv_register( aTHX_ "Wx::TextAttrEx", RETVAL, ST(0) );
4670
4671     }
4672     XSRETURN(1);
4673 }
4674
4675
4676 XS(XS_Wx__TextAttrEx_newAttr); /* prototype to pass -Wmissing-prototypes */
4677 XS(XS_Wx__TextAttrEx_newAttr)
4678 {
4679 #ifdef dVAR
4680     dVAR; dXSARGS;
4681 #else
4682     dXSARGS;
4683 #endif
4684     if (items != 2)
4685        croak_xs_usage(cv,  "CLASS, attr");
4686     {
4687         wxTextAttr*    attr = (wxTextAttr *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::TextAttr" );
4688         char *  CLASS = (char *)SvPV_nolen(ST(0));
4689         wxTextAttrEx *  RETVAL;
4690     RETVAL = new wxTextAttrEx( *( attr ) );
4691         ST(0) = sv_newmortal();
4692     wxPli_non_object_2_sv( aTHX_ ST(0), RETVAL, "Wx::TextAttrEx" );
4693     wxPli_thread_sv_register( aTHX_ "Wx::TextAttrEx", RETVAL, ST(0) );
4694
4695     }
4696     XSRETURN(1);
4697 }
4698
4699
4700 XS(XS_Wx__TextAttrEx_CLONE); /* prototype to pass -Wmissing-prototypes */
4701 XS(XS_Wx__TextAttrEx_CLONE)
4702 {
4703 #ifdef dVAR
4704     dVAR; dXSARGS;
4705 #else
4706     dXSARGS;
4707 #endif
4708     if (items != 1)
4709        croak_xs_usage(cv,  "CLASS");
4710     {
4711         char *  CLASS = (char *)SvPV_nolen(ST(0));
4712     wxPli_thread_sv_clone( aTHX_ CLASS, (wxPliCloneSV)wxPli_detach_object );
4713     }
4714     XSRETURN_EMPTY;
4715 }
4716
4717
4718 XS(XS_Wx__TextAttrEx_DESTROY); /* prototype to pass -Wmissing-prototypes */
4719 XS(XS_Wx__TextAttrEx_DESTROY)
4720 {
4721 #ifdef dVAR
4722     dVAR; dXSARGS;
4723 #else
4724     dXSARGS;
4725 #endif
4726     if (items != 1)
4727        croak_xs_usage(cv,  "THIS");
4728     {
4729         wxTextAttrEx *    THIS = (wxTextAttrEx *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::TextAttrEx" );
4730      wxPli_thread_sv_unregister( aTHX_ "Wx::TextAttrEx", THIS, ST(0) );
4731                 delete THIS;
4732     }
4733     XSRETURN_EMPTY;
4734 }
4735
4736
4737 XS(XS_Wx__TextAttrEx_SetCharacterStyleName); /* prototype to pass -Wmissing-prototypes */
4738 XS(XS_Wx__TextAttrEx_SetCharacterStyleName)
4739 {
4740 #ifdef dVAR
4741     dVAR; dXSARGS;
4742 #else
4743     dXSARGS;
4744 #endif
4745     if (items != 2)
4746        croak_xs_usage(cv,  "THIS, name");
4747     {
4748         wxString        name;
4749         wxTextAttrEx *    THIS = (wxTextAttrEx *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::TextAttrEx" );
4750
4751     WXSTRING_INPUT( name, wxString, ST(1) );
4752
4753         THIS->SetCharacterStyleName(name);
4754     }
4755     XSRETURN_EMPTY;
4756 }
4757
4758
4759 XS(XS_Wx__TextAttrEx_SetParagraphStyleName); /* prototype to pass -Wmissing-prototypes */
4760 XS(XS_Wx__TextAttrEx_SetParagraphStyleName)
4761 {
4762 #ifdef dVAR
4763     dVAR; dXSARGS;
4764 #else
4765     dXSARGS;
4766 #endif
4767     if (items != 2)
4768        croak_xs_usage(cv,  "THIS, name");
4769     {
4770         wxString        name;
4771         wxTextAttrEx *    THIS = (wxTextAttrEx *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::TextAttrEx" );
4772
4773     WXSTRING_INPUT( name, wxString, ST(1) );
4774
4775         THIS->SetParagraphStyleName(name);
4776     }
4777     XSRETURN_EMPTY;
4778 }
4779
4780 #if WXPERL_W_VERSION_GE( 2, 7, 2 )
4781 #define XSubPPtmpAAAV 1
4782
4783
4784 XS(XS_Wx__TextAttrEx_SetListStyleName); /* prototype to pass -Wmissing-prototypes */
4785 XS(XS_Wx__TextAttrEx_SetListStyleName)
4786 {
4787 #ifdef dVAR
4788     dVAR; dXSARGS;
4789 #else
4790     dXSARGS;
4791 #endif
4792     if (items != 2)
4793        croak_xs_usage(cv,  "THIS, name");
4794     {
4795         wxString        name;
4796         wxTextAttrEx *    THIS = (wxTextAttrEx *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::TextAttrEx" );
4797
4798     WXSTRING_INPUT( name, wxString, ST(1) );
4799
4800         THIS->SetListStyleName(name);
4801     }
4802     XSRETURN_EMPTY;
4803 }
4804
4805 #endif
4806
4807 XS(XS_Wx__TextAttrEx_SetParagraphSpacingAfter); /* prototype to pass -Wmissing-prototypes */
4808 XS(XS_Wx__TextAttrEx_SetParagraphSpacingAfter)
4809 {
4810 #ifdef dVAR
4811     dVAR; dXSARGS;
4812 #else
4813     dXSARGS;
4814 #endif
4815     if (items != 2)
4816        croak_xs_usage(cv,  "THIS, spacing");
4817     {
4818         int     spacing = (int)SvIV(ST(1));
4819         wxTextAttrEx *    THIS = (wxTextAttrEx *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::TextAttrEx" );
4820
4821         THIS->SetParagraphSpacingAfter(spacing);
4822     }
4823     XSRETURN_EMPTY;
4824 }
4825
4826
4827 XS(XS_Wx__TextAttrEx_SetParagraphSpacingBefore); /* prototype to pass -Wmissing-prototypes */
4828 XS(XS_Wx__TextAttrEx_SetParagraphSpacingBefore)
4829 {
4830 #ifdef dVAR
4831     dVAR; dXSARGS;
4832 #else
4833     dXSARGS;
4834 #endif
4835     if (items != 2)
4836        croak_xs_usage(cv,  "THIS, spacing");
4837     {
4838         int     spacing = (int)SvIV(ST(1));
4839         wxTextAttrEx *    THIS = (wxTextAttrEx *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::TextAttrEx" );
4840
4841         THIS->SetParagraphSpacingBefore(spacing);
4842     }
4843     XSRETURN_EMPTY;
4844 }
4845
4846
4847 XS(XS_Wx__TextAttrEx_SetLineSpacing); /* prototype to pass -Wmissing-prototypes */
4848 XS(XS_Wx__TextAttrEx_SetLineSpacing)
4849 {
4850 #ifdef dVAR
4851     dVAR; dXSARGS;
4852 #else
4853     dXSARGS;
4854 #endif
4855     if (items != 2)
4856        croak_xs_usage(cv,  "THIS, spacing");
4857     {
4858         int     spacing = (int)SvIV(ST(1));
4859         wxTextAttrEx *    THIS = (wxTextAttrEx *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::TextAttrEx" );
4860
4861         THIS->SetLineSpacing(spacing);
4862     }
4863     XSRETURN_EMPTY;
4864 }
4865
4866
4867 XS(XS_Wx__TextAttrEx_SetBulletStyle); /* prototype to pass -Wmissing-prototypes */
4868 XS(XS_Wx__TextAttrEx_SetBulletStyle)
4869 {
4870 #ifdef dVAR
4871     dVAR; dXSARGS;
4872 #else
4873     dXSARGS;
4874 #endif
4875     if (items != 2)
4876        croak_xs_usage(cv,  "THIS, style");
4877     {
4878         int     style = (int)SvIV(ST(1));
4879         wxTextAttrEx *    THIS = (wxTextAttrEx *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::TextAttrEx" );
4880
4881         THIS->SetBulletStyle(style);
4882     }
4883     XSRETURN_EMPTY;
4884 }
4885
4886
4887 XS(XS_Wx__TextAttrEx_SetBulletNumber); /* prototype to pass -Wmissing-prototypes */
4888 XS(XS_Wx__TextAttrEx_SetBulletNumber)
4889 {
4890 #ifdef dVAR
4891     dVAR; dXSARGS;
4892 #else
4893     dXSARGS;
4894 #endif
4895     if (items != 2)
4896        croak_xs_usage(cv,  "THIS, n");
4897     {
4898         int     n = (int)SvIV(ST(1));
4899         wxTextAttrEx *    THIS = (wxTextAttrEx *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::TextAttrEx" );
4900
4901         THIS->SetBulletNumber(n);
4902     }
4903     XSRETURN_EMPTY;
4904 }
4905
4906 #if WXPERL_W_VERSION_GE( 2, 7, 2 )
4907 #define XSubPPtmpAAAW 1
4908
4909
4910 XS(XS_Wx__TextAttrEx_SetBulletText); /* prototype to pass -Wmissing-prototypes */
4911 XS(XS_Wx__TextAttrEx_SetBulletText)
4912 {
4913 #ifdef dVAR
4914     dVAR; dXSARGS;
4915 #else
4916     dXSARGS;
4917 #endif
4918     if (items != 2)
4919        croak_xs_usage(cv,  "THIS, text");
4920     {
4921         wxString        text;
4922         wxTextAttrEx *    THIS = (wxTextAttrEx *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::TextAttrEx" );
4923
4924     WXSTRING_INPUT( text, wxString, ST(1) );
4925
4926         THIS->SetBulletText(text);
4927     }
4928     XSRETURN_EMPTY;
4929 }
4930
4931
4932 XS(XS_Wx__TextAttrEx_SetBulletName); /* prototype to pass -Wmissing-prototypes */
4933 XS(XS_Wx__TextAttrEx_SetBulletName)
4934 {
4935 #ifdef dVAR
4936     dVAR; dXSARGS;
4937 #else
4938     dXSARGS;
4939 #endif
4940     if (items != 2)
4941        croak_xs_usage(cv,  "THIS, name");
4942     {
4943         wxString        name;
4944         wxTextAttrEx *    THIS = (wxTextAttrEx *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::TextAttrEx" );
4945
4946     WXSTRING_INPUT( name, wxString, ST(1) );
4947
4948         THIS->SetBulletName(name);
4949     }
4950     XSRETURN_EMPTY;
4951 }
4952
4953
4954 XS(XS_Wx__TextAttrEx_SetBulletFont); /* prototype to pass -Wmissing-prototypes */
4955 XS(XS_Wx__TextAttrEx_SetBulletFont)
4956 {
4957 #ifdef dVAR
4958     dVAR; dXSARGS;
4959 #else
4960     dXSARGS;
4961 #endif
4962     if (items != 2)
4963        croak_xs_usage(cv,  "THIS, bulletFont");
4964     {
4965         wxString        bulletFont;
4966         wxTextAttrEx *    THIS = (wxTextAttrEx *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::TextAttrEx" );
4967
4968     WXSTRING_INPUT( bulletFont, wxString, ST(1) );
4969
4970         THIS->SetBulletFont(bulletFont);
4971     }
4972     XSRETURN_EMPTY;
4973 }
4974
4975
4976 XS(XS_Wx__TextAttrEx_SetURL); /* prototype to pass -Wmissing-prototypes */
4977 XS(XS_Wx__TextAttrEx_SetURL)
4978 {
4979 #ifdef dVAR
4980     dVAR; dXSARGS;
4981 #else
4982     dXSARGS;
4983 #endif
4984     if (items != 2)
4985        croak_xs_usage(cv,  "THIS, url");
4986     {
4987         wxString        url;
4988         wxTextAttrEx *    THIS = (wxTextAttrEx *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::TextAttrEx" );
4989
4990     WXSTRING_INPUT( url, wxString, ST(1) );
4991
4992         THIS->SetURL(url);
4993     }
4994     XSRETURN_EMPTY;
4995 }
4996
4997
4998 XS(XS_Wx__TextAttrEx_SetPageBreak); /* prototype to pass -Wmissing-prototypes */
4999 XS(XS_Wx__TextAttrEx_SetPageBreak)
5000 {
5001 #ifdef dVAR
5002     dVAR; dXSARGS;
5003 #else
5004     dXSARGS;
5005 #endif
5006     if (items < 1 || items > 2)
5007        croak_xs_usage(cv,  "THIS, pageBreak = true");
5008     {
5009         bool    pageBreak;
5010         wxTextAttrEx *    THIS = (wxTextAttrEx *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::TextAttrEx" );
5011
5012         if (items < 2)
5013             pageBreak = true;
5014         else {
5015             pageBreak = (bool)SvTRUE(ST(1));
5016         }
5017
5018         THIS->SetPageBreak(pageBreak);
5019     }
5020     XSRETURN_EMPTY;
5021 }
5022
5023 #endif
5024
5025 XS(XS_Wx__TextAttrEx_GetCharacterStyleName); /* prototype to pass -Wmissing-prototypes */
5026 XS(XS_Wx__TextAttrEx_GetCharacterStyleName)
5027 {
5028 #ifdef dVAR
5029     dVAR; dXSARGS;
5030 #else
5031     dXSARGS;
5032 #endif
5033     if (items != 1)
5034        croak_xs_usage(cv,  "THIS");
5035     {
5036         wxTextAttrEx *    THIS = (wxTextAttrEx *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::TextAttrEx" );
5037         wxString        RETVAL;
5038
5039         RETVAL = THIS->GetCharacterStyleName();
5040         ST(0) = sv_newmortal();
5041     WXSTRING_OUTPUT( RETVAL, ST(0) );
5042
5043     }
5044     XSRETURN(1);
5045 }
5046
5047
5048 XS(XS_Wx__TextAttrEx_GetParagraphStyleName); /* prototype to pass -Wmissing-prototypes */
5049 XS(XS_Wx__TextAttrEx_GetParagraphStyleName)
5050 {
5051 #ifdef dVAR
5052     dVAR; dXSARGS;
5053 #else
5054     dXSARGS;
5055 #endif
5056     if (items != 1)
5057        croak_xs_usage(cv,  "THIS");
5058     {
5059         wxTextAttrEx *    THIS = (wxTextAttrEx *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::TextAttrEx" );
5060         wxString        RETVAL;
5061
5062         RETVAL = THIS->GetParagraphStyleName();
5063         ST(0) = sv_newmortal();
5064     WXSTRING_OUTPUT( RETVAL, ST(0) );
5065
5066     }
5067     XSRETURN(1);
5068 }
5069
5070 #if WXPERL_W_VERSION_GE( 2, 7, 2 )
5071 #define XSubPPtmpAAAX 1
5072
5073
5074 XS(XS_Wx__TextAttrEx_GetListStyleName); /* prototype to pass -Wmissing-prototypes */
5075 XS(XS_Wx__TextAttrEx_GetListStyleName)
5076 {
5077 #ifdef dVAR
5078     dVAR; dXSARGS;
5079 #else
5080     dXSARGS;
5081 #endif
5082     if (items != 1)
5083        croak_xs_usage(cv,  "THIS");
5084     {
5085         wxTextAttrEx *    THIS = (wxTextAttrEx *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::TextAttrEx" );
5086         wxString        RETVAL;
5087
5088         RETVAL = THIS->GetListStyleName();
5089         ST(0) = sv_newmortal();
5090     WXSTRING_OUTPUT( RETVAL, ST(0) );
5091
5092     }
5093     XSRETURN(1);
5094 }
5095
5096 #endif
5097
5098 XS(XS_Wx__TextAttrEx_GetParagraphSpacingAfter); /* prototype to pass -Wmissing-prototypes */
5099 XS(XS_Wx__TextAttrEx_GetParagraphSpacingAfter)
5100 {
5101 #ifdef dVAR
5102     dVAR; dXSARGS;
5103 #else
5104     dXSARGS;
5105 #endif
5106     if (items != 1)
5107        croak_xs_usage(cv,  "THIS");
5108     {
5109         wxTextAttrEx *    THIS = (wxTextAttrEx *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::TextAttrEx" );
5110         int     RETVAL;
5111         dXSTARG;
5112
5113         RETVAL = THIS->GetParagraphSpacingAfter();
5114         XSprePUSH; PUSHi((IV)RETVAL);
5115     }
5116     XSRETURN(1);
5117 }
5118
5119
5120 XS(XS_Wx__TextAttrEx_GetParagraphSpacingBefore); /* prototype to pass -Wmissing-prototypes */
5121 XS(XS_Wx__TextAttrEx_GetParagraphSpacingBefore)
5122 {
5123 #ifdef dVAR
5124     dVAR; dXSARGS;
5125 #else
5126     dXSARGS;
5127 #endif
5128     if (items != 1)
5129        croak_xs_usage(cv,  "THIS");
5130     {
5131         wxTextAttrEx *    THIS = (wxTextAttrEx *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::TextAttrEx" );
5132         int     RETVAL;
5133         dXSTARG;
5134
5135         RETVAL = THIS->GetParagraphSpacingBefore();
5136         XSprePUSH; PUSHi((IV)RETVAL);
5137     }
5138     XSRETURN(1);
5139 }
5140
5141
5142 XS(XS_Wx__TextAttrEx_GetLineSpacing); /* prototype to pass -Wmissing-prototypes */
5143 XS(XS_Wx__TextAttrEx_GetLineSpacing)
5144 {
5145 #ifdef dVAR
5146     dVAR; dXSARGS;
5147 #else
5148     dXSARGS;
5149 #endif
5150     if (items != 1)
5151        croak_xs_usage(cv,  "THIS");
5152     {
5153         wxTextAttrEx *    THIS = (wxTextAttrEx *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::TextAttrEx" );
5154         int     RETVAL;
5155         dXSTARG;
5156
5157         RETVAL = THIS->GetLineSpacing();
5158         XSprePUSH; PUSHi((IV)RETVAL);
5159     }
5160     XSRETURN(1);
5161 }
5162
5163
5164 XS(XS_Wx__TextAttrEx_GetBulletStyle); /* prototype to pass -Wmissing-prototypes */
5165 XS(XS_Wx__TextAttrEx_GetBulletStyle)
5166 {
5167 #ifdef dVAR
5168     dVAR; dXSARGS;
5169 #else
5170     dXSARGS;
5171 #endif
5172     if (items != 1)
5173        croak_xs_usage(cv,  "THIS");
5174     {
5175         wxTextAttrEx *    THIS = (wxTextAttrEx *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::TextAttrEx" );
5176         int     RETVAL;
5177         dXSTARG;
5178
5179         RETVAL = THIS->GetBulletStyle();
5180         XSprePUSH; PUSHi((IV)RETVAL);
5181     }
5182     XSRETURN(1);
5183 }
5184
5185
5186 XS(XS_Wx__TextAttrEx_GetBulletNumber); /* prototype to pass -Wmissing-prototypes */
5187 XS(XS_Wx__TextAttrEx_GetBulletNumber)
5188 {
5189 #ifdef dVAR
5190     dVAR; dXSARGS;
5191 #else
5192     dXSARGS;
5193 #endif
5194     if (items != 1)
5195        croak_xs_usage(cv,  "THIS");
5196     {
5197         wxTextAttrEx *    THIS = (wxTextAttrEx *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::TextAttrEx" );
5198         int     RETVAL;
5199         dXSTARG;
5200
5201         RETVAL = THIS->GetBulletNumber();
5202         XSprePUSH; PUSHi((IV)RETVAL);
5203     }
5204     XSRETURN(1);
5205 }
5206
5207 #if WXPERL_W_VERSION_GE( 2, 7, 2 )
5208 #define XSubPPtmpAAAY 1
5209
5210
5211 XS(XS_Wx__TextAttrEx_GetBulletText); /* prototype to pass -Wmissing-prototypes */
5212 XS(XS_Wx__TextAttrEx_GetBulletText)
5213 {
5214 #ifdef dVAR
5215     dVAR; dXSARGS;
5216 #else
5217     dXSARGS;
5218 #endif
5219     if (items != 1)
5220        croak_xs_usage(cv,  "THIS");
5221     {
5222         wxTextAttrEx *    THIS = (wxTextAttrEx *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::TextAttrEx" );
5223         wxString        RETVAL;
5224
5225         RETVAL = THIS->GetBulletText();
5226         ST(0) = sv_newmortal();
5227     WXSTRING_OUTPUT( RETVAL, ST(0) );
5228
5229     }
5230     XSRETURN(1);
5231 }
5232
5233
5234 XS(XS_Wx__TextAttrEx_GetBulletName); /* prototype to pass -Wmissing-prototypes */
5235 XS(XS_Wx__TextAttrEx_GetBulletName)
5236 {
5237 #ifdef dVAR
5238     dVAR; dXSARGS;
5239 #else
5240     dXSARGS;
5241 #endif
5242     if (items != 1)
5243        croak_xs_usage(cv,  "THIS");
5244     {
5245         wxTextAttrEx *    THIS = (wxTextAttrEx *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::TextAttrEx" );
5246         wxString        RETVAL;
5247
5248         RETVAL = THIS->GetBulletName();
5249         ST(0) = sv_newmortal();
5250     WXSTRING_OUTPUT( RETVAL, ST(0) );
5251
5252     }
5253     XSRETURN(1);
5254 }
5255
5256
5257 XS(XS_Wx__TextAttrEx_GetBulletFont); /* prototype to pass -Wmissing-prototypes */
5258 XS(XS_Wx__TextAttrEx_GetBulletFont)
5259 {
5260 #ifdef dVAR
5261     dVAR; dXSARGS;
5262 #else
5263     dXSARGS;
5264 #endif
5265     if (items != 1)
5266        croak_xs_usage(cv,  "THIS");
5267     {
5268         wxTextAttrEx *    THIS = (wxTextAttrEx *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::TextAttrEx" );
5269         wxString        RETVAL;
5270
5271         RETVAL = THIS->GetBulletFont();
5272         ST(0) = sv_newmortal();
5273     WXSTRING_OUTPUT( RETVAL, ST(0) );
5274
5275     }
5276     XSRETURN(1);
5277 }
5278
5279
5280 XS(XS_Wx__TextAttrEx_GetURL); /* prototype to pass -Wmissing-prototypes */
5281 XS(XS_Wx__TextAttrEx_GetURL)
5282 {
5283 #ifdef dVAR
5284     dVAR; dXSARGS;
5285 #else
5286     dXSARGS;
5287 #endif
5288     if (items != 1)
5289        croak_xs_usage(cv,  "THIS");
5290     {
5291         wxTextAttrEx *    THIS = (wxTextAttrEx *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::TextAttrEx" );
5292         wxString        RETVAL;
5293
5294         RETVAL = THIS->GetURL();
5295         ST(0) = sv_newmortal();
5296     WXSTRING_OUTPUT( RETVAL, ST(0) );
5297
5298     }
5299     XSRETURN(1);
5300 }
5301
5302 #endif
5303 #if WXPERL_W_VERSION_LT( 2, 8, 0 )
5304 #define XSubPPtmpAAAZ 1
5305
5306
5307 XS(XS_Wx__TextAttrEx_HasWeight); /* prototype to pass -Wmissing-prototypes */
5308 XS(XS_Wx__TextAttrEx_HasWeight)
5309 {
5310 #ifdef dVAR
5311     dVAR; dXSARGS;
5312 #else
5313     dXSARGS;
5314 #endif
5315     if (items != 1)
5316        croak_xs_usage(cv,  "THIS");
5317     {
5318         wxTextAttrEx *    THIS = (wxTextAttrEx *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::TextAttrEx" );
5319         bool    RETVAL;
5320
5321         RETVAL = THIS->HasWeight();
5322         ST(0) = boolSV(RETVAL);
5323         sv_2mortal(ST(0));
5324     }
5325     XSRETURN(1);
5326 }
5327
5328
5329 XS(XS_Wx__TextAttrEx_HasSize); /* prototype to pass -Wmissing-prototypes */
5330 XS(XS_Wx__TextAttrEx_HasSize)
5331 {
5332 #ifdef dVAR
5333     dVAR; dXSARGS;
5334 #else
5335     dXSARGS;
5336 #endif
5337     if (items != 1)
5338        croak_xs_usage(cv,  "THIS");
5339     {
5340         wxTextAttrEx *    THIS = (wxTextAttrEx *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::TextAttrEx" );
5341         bool    RETVAL;
5342
5343         RETVAL = THIS->HasSize();
5344         ST(0) = boolSV(RETVAL);
5345         sv_2mortal(ST(0));
5346     }
5347     XSRETURN(1);
5348 }
5349
5350
5351 XS(XS_Wx__TextAttrEx_HasItalic); /* prototype to pass -Wmissing-prototypes */
5352 XS(XS_Wx__TextAttrEx_HasItalic)
5353 {
5354 #ifdef dVAR
5355     dVAR; dXSARGS;
5356 #else
5357     dXSARGS;
5358 #endif
5359     if (items != 1)
5360        croak_xs_usage(cv,  "THIS");
5361     {
5362         wxTextAttrEx *    THIS = (wxTextAttrEx *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::TextAttrEx" );
5363         bool    RETVAL;
5364
5365         RETVAL = THIS->HasItalic();
5366         ST(0) = boolSV(RETVAL);
5367         sv_2mortal(ST(0));
5368     }
5369     XSRETURN(1);
5370 }
5371
5372
5373 XS(XS_Wx__TextAttrEx_HasUnderlined); /* prototype to pass -Wmissing-prototypes */
5374 XS(XS_Wx__TextAttrEx_HasUnderlined)
5375 {
5376 #ifdef dVAR
5377     dVAR; dXSARGS;
5378 #else
5379     dXSARGS;
5380 #endif
5381     if (items != 1)
5382        croak_xs_usage(cv,  "THIS");
5383     {
5384         wxTextAttrEx *    THIS = (wxTextAttrEx *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::TextAttrEx" );
5385         bool    RETVAL;
5386
5387         RETVAL = THIS->HasUnderlined();
5388         ST(0) = boolSV(RETVAL);
5389         sv_2mortal(ST(0));
5390     }
5391     XSRETURN(1);
5392 }
5393
5394
5395 XS(XS_Wx__TextAttrEx_HasFaceName); /* prototype to pass -Wmissing-prototypes */
5396 XS(XS_Wx__TextAttrEx_HasFaceName)
5397 {
5398 #ifdef dVAR
5399     dVAR; dXSARGS;
5400 #else
5401     dXSARGS;
5402 #endif
5403     if (items != 1)
5404        croak_xs_usage(cv,  "THIS");
5405     {
5406         wxTextAttrEx *    THIS = (wxTextAttrEx *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::TextAttrEx" );
5407         bool    RETVAL;
5408
5409         RETVAL = THIS->HasFaceName();
5410         ST(0) = boolSV(RETVAL);
5411         sv_2mortal(ST(0));
5412     }
5413     XSRETURN(1);
5414 }
5415
5416 #endif
5417
5418 XS(XS_Wx__TextAttrEx_HasParagraphSpacingAfter); /* prototype to pass -Wmissing-prototypes */
5419 XS(XS_Wx__TextAttrEx_HasParagraphSpacingAfter)
5420 {
5421 #ifdef dVAR
5422     dVAR; dXSARGS;
5423 #else
5424     dXSARGS;
5425 #endif
5426     if (items != 1)
5427        croak_xs_usage(cv,  "THIS");
5428     {
5429         wxTextAttrEx *    THIS = (wxTextAttrEx *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::TextAttrEx" );
5430         bool    RETVAL;
5431
5432         RETVAL = THIS->HasParagraphSpacingAfter();
5433         ST(0) = boolSV(RETVAL);
5434         sv_2mortal(ST(0));
5435     }
5436     XSRETURN(1);
5437 }
5438
5439
5440 XS(XS_Wx__TextAttrEx_HasParagraphSpacingBefore); /* prototype to pass -Wmissing-prototypes */
5441 XS(XS_Wx__TextAttrEx_HasParagraphSpacingBefore)
5442 {
5443 #ifdef dVAR
5444     dVAR; dXSARGS;
5445 #else
5446     dXSARGS;
5447 #endif
5448     if (items != 1)
5449        croak_xs_usage(cv,  "THIS");
5450     {
5451         wxTextAttrEx *    THIS = (wxTextAttrEx *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::TextAttrEx" );
5452         bool    RETVAL;
5453
5454         RETVAL = THIS->HasParagraphSpacingBefore();
5455         ST(0) = boolSV(RETVAL);
5456         sv_2mortal(ST(0));
5457     }
5458     XSRETURN(1);
5459 }
5460
5461
5462 XS(XS_Wx__TextAttrEx_HasLineSpacing); /* prototype to pass -Wmissing-prototypes */
5463 XS(XS_Wx__TextAttrEx_HasLineSpacing)
5464 {
5465 #ifdef dVAR
5466     dVAR; dXSARGS;
5467 #else
5468     dXSARGS;
5469 #endif
5470     if (items != 1)
5471        croak_xs_usage(cv,  "THIS");
5472     {
5473         wxTextAttrEx *    THIS = (wxTextAttrEx *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::TextAttrEx" );
5474         bool    RETVAL;
5475
5476         RETVAL = THIS->HasLineSpacing();
5477         ST(0) = boolSV(RETVAL);
5478         sv_2mortal(ST(0));
5479     }
5480     XSRETURN(1);
5481 }
5482
5483
5484 XS(XS_Wx__TextAttrEx_HasCharacterStyleName); /* prototype to pass -Wmissing-prototypes */
5485 XS(XS_Wx__TextAttrEx_HasCharacterStyleName)
5486 {
5487 #ifdef dVAR
5488     dVAR; dXSARGS;
5489 #else
5490     dXSARGS;
5491 #endif
5492     if (items != 1)
5493        croak_xs_usage(cv,  "THIS");
5494     {
5495         wxTextAttrEx *    THIS = (wxTextAttrEx *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::TextAttrEx" );
5496         bool    RETVAL;
5497
5498         RETVAL = THIS->HasCharacterStyleName();
5499         ST(0) = boolSV(RETVAL);
5500         sv_2mortal(ST(0));
5501     }
5502     XSRETURN(1);
5503 }
5504
5505
5506 XS(XS_Wx__TextAttrEx_HasParagraphStyleName); /* prototype to pass -Wmissing-prototypes */
5507 XS(XS_Wx__TextAttrEx_HasParagraphStyleName)
5508 {
5509 #ifdef dVAR
5510     dVAR; dXSARGS;
5511 #else
5512     dXSARGS;
5513 #endif
5514     if (items != 1)
5515        croak_xs_usage(cv,  "THIS");
5516     {
5517         wxTextAttrEx *    THIS = (wxTextAttrEx *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::TextAttrEx" );
5518         bool    RETVAL;
5519
5520         RETVAL = THIS->HasParagraphStyleName();
5521         ST(0) = boolSV(RETVAL);
5522         sv_2mortal(ST(0));
5523     }
5524     XSRETURN(1);
5525 }
5526
5527 #if WXPERL_W_VERSION_GE( 2, 7, 2 )
5528 #define XSubPPtmpAABA 1
5529
5530
5531 XS(XS_Wx__TextAttrEx_HasListStyleName); /* prototype to pass -Wmissing-prototypes */
5532 XS(XS_Wx__TextAttrEx_HasListStyleName)
5533 {
5534 #ifdef dVAR
5535     dVAR; dXSARGS;
5536 #else
5537     dXSARGS;
5538 #endif
5539     if (items != 1)
5540        croak_xs_usage(cv,  "THIS");
5541     {
5542         wxTextAttrEx *    THIS = (wxTextAttrEx *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::TextAttrEx" );
5543         bool    RETVAL;
5544
5545         RETVAL = THIS->HasListStyleName();
5546         ST(0) = boolSV(RETVAL);
5547         sv_2mortal(ST(0));
5548     }
5549     XSRETURN(1);
5550 }
5551
5552 #endif
5553
5554 XS(XS_Wx__TextAttrEx_HasBulletStyle); /* prototype to pass -Wmissing-prototypes */
5555 XS(XS_Wx__TextAttrEx_HasBulletStyle)
5556 {
5557 #ifdef dVAR
5558     dVAR; dXSARGS;
5559 #else
5560     dXSARGS;
5561 #endif
5562     if (items != 1)
5563        croak_xs_usage(cv,  "THIS");
5564     {
5565         wxTextAttrEx *    THIS = (wxTextAttrEx *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::TextAttrEx" );
5566         bool    RETVAL;
5567
5568         RETVAL = THIS->HasBulletStyle();
5569         ST(0) = boolSV(RETVAL);
5570         sv_2mortal(ST(0));
5571     }
5572     XSRETURN(1);
5573 }
5574
5575
5576 XS(XS_Wx__TextAttrEx_HasBulletNumber); /* prototype to pass -Wmissing-prototypes */
5577 XS(XS_Wx__TextAttrEx_HasBulletNumber)
5578 {
5579 #ifdef dVAR
5580     dVAR; dXSARGS;
5581 #else
5582     dXSARGS;
5583 #endif
5584     if (items != 1)
5585        croak_xs_usage(cv,  "THIS");
5586     {
5587         wxTextAttrEx *    THIS = (wxTextAttrEx *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::TextAttrEx" );
5588         bool    RETVAL;
5589
5590         RETVAL = THIS->HasBulletNumber();
5591         ST(0) = boolSV(RETVAL);
5592         sv_2mortal(ST(0));
5593     }
5594     XSRETURN(1);
5595 }
5596
5597 #if WXPERL_W_VERSION_GE( 2, 7, 2 )
5598 #define XSubPPtmpAABB 1
5599
5600
5601 XS(XS_Wx__TextAttrEx_HasBulletText); /* prototype to pass -Wmissing-prototypes */
5602 XS(XS_Wx__TextAttrEx_HasBulletText)
5603 {
5604 #ifdef dVAR
5605     dVAR; dXSARGS;
5606 #else
5607     dXSARGS;
5608 #endif
5609     if (items != 1)
5610        croak_xs_usage(cv,  "THIS");
5611     {
5612         wxTextAttrEx *    THIS = (wxTextAttrEx *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::TextAttrEx" );
5613         bool    RETVAL;
5614
5615         RETVAL = THIS->HasBulletText();
5616         ST(0) = boolSV(RETVAL);
5617         sv_2mortal(ST(0));
5618     }
5619     XSRETURN(1);
5620 }
5621
5622
5623 XS(XS_Wx__TextAttrEx_HasBulletName); /* prototype to pass -Wmissing-prototypes */
5624 XS(XS_Wx__TextAttrEx_HasBulletName)
5625 {
5626 #ifdef dVAR
5627     dVAR; dXSARGS;
5628 #else
5629     dXSARGS;
5630 #endif
5631     if (items != 1)
5632        croak_xs_usage(cv,  "THIS");
5633     {
5634         wxTextAttrEx *    THIS = (wxTextAttrEx *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::TextAttrEx" );
5635         bool    RETVAL;
5636
5637         RETVAL = THIS->HasBulletName();
5638         ST(0) = boolSV(RETVAL);
5639         sv_2mortal(ST(0));
5640     }
5641     XSRETURN(1);
5642 }
5643
5644
5645 XS(XS_Wx__TextAttrEx_HasURL); /* prototype to pass -Wmissing-prototypes */
5646 XS(XS_Wx__TextAttrEx_HasURL)
5647 {
5648 #ifdef dVAR
5649     dVAR; dXSARGS;
5650 #else
5651     dXSARGS;
5652 #endif
5653     if (items != 1)
5654        croak_xs_usage(cv,  "THIS");
5655     {
5656         wxTextAttrEx *    THIS = (wxTextAttrEx *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::TextAttrEx" );
5657         bool    RETVAL;
5658
5659         RETVAL = THIS->HasURL();
5660         ST(0) = boolSV(RETVAL);
5661         sv_2mortal(ST(0));
5662     }
5663     XSRETURN(1);
5664 }
5665
5666
5667 XS(XS_Wx__TextAttrEx_HasPageBreak); /* prototype to pass -Wmissing-prototypes */
5668 XS(XS_Wx__TextAttrEx_HasPageBreak)
5669 {
5670 #ifdef dVAR
5671     dVAR; dXSARGS;
5672 #else
5673     dXSARGS;
5674 #endif
5675     if (items != 1)
5676        croak_xs_usage(cv,  "THIS");
5677     {
5678         wxTextAttrEx *    THIS = (wxTextAttrEx *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::TextAttrEx" );
5679         bool    RETVAL;
5680
5681         RETVAL = THIS->HasPageBreak();
5682         ST(0) = boolSV(RETVAL);
5683         sv_2mortal(ST(0));
5684     }
5685     XSRETURN(1);
5686 }
5687
5688 #endif
5689
5690 XS(XS_Wx__TextAttrEx_IsCharacterStyle); /* prototype to pass -Wmissing-prototypes */
5691 XS(XS_Wx__TextAttrEx_IsCharacterStyle)
5692 {
5693 #ifdef dVAR
5694     dVAR; dXSARGS;
5695 #else
5696     dXSARGS;
5697 #endif
5698     if (items != 1)
5699        croak_xs_usage(cv,  "THIS");
5700     {
5701         wxTextAttrEx *    THIS = (wxTextAttrEx *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::TextAttrEx" );
5702         bool    RETVAL;
5703
5704         RETVAL = THIS->IsCharacterStyle();
5705         ST(0) = boolSV(RETVAL);
5706         sv_2mortal(ST(0));
5707     }
5708     XSRETURN(1);
5709 }
5710
5711
5712 XS(XS_Wx__TextAttrEx_IsParagraphStyle); /* prototype to pass -Wmissing-prototypes */
5713 XS(XS_Wx__TextAttrEx_IsParagraphStyle)
5714 {
5715 #ifdef dVAR
5716     dVAR; dXSARGS;
5717 #else
5718     dXSARGS;
5719 #endif
5720     if (items != 1)
5721        croak_xs_usage(cv,  "THIS");
5722     {
5723         wxTextAttrEx *    THIS = (wxTextAttrEx *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::TextAttrEx" );
5724         bool    RETVAL;
5725
5726         RETVAL = THIS->IsParagraphStyle();
5727         ST(0) = boolSV(RETVAL);
5728         sv_2mortal(ST(0));
5729     }
5730     XSRETURN(1);
5731 }
5732
5733
5734 XS(XS_Wx__TextAttrEx_IsDefault); /* prototype to pass -Wmissing-prototypes */
5735 XS(XS_Wx__TextAttrEx_IsDefault)
5736 {
5737 #ifdef dVAR
5738     dVAR; dXSARGS;
5739 #else
5740     dXSARGS;
5741 #endif
5742     if (items != 1)
5743        croak_xs_usage(cv,  "THIS");
5744     {
5745         wxTextAttrEx *    THIS = (wxTextAttrEx *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::TextAttrEx" );
5746         bool    RETVAL;
5747
5748         RETVAL = THIS->IsDefault();
5749         ST(0) = boolSV(RETVAL);
5750         sv_2mortal(ST(0));
5751     }
5752     XSRETURN(1);
5753 }
5754
5755 #if WXPERL_W_VERSION_LT( 2, 9, 0 ) && WXPERL_W_VERSION_GE( 2, 8, 0 )
5756 #define XSubPPtmpAABC 1
5757
5758
5759 XS(XS_Wx__TextAttrEx_GetOutlineLevel); /* prototype to pass -Wmissing-prototypes */
5760 XS(XS_Wx__TextAttrEx_GetOutlineLevel)
5761 {
5762 #ifdef dVAR
5763     dVAR; dXSARGS;
5764 #else
5765     dXSARGS;
5766 #endif
5767     if (items != 1)
5768        croak_xs_usage(cv,  "THIS");
5769     {
5770         wxTextAttrEx *    THIS = (wxTextAttrEx *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::TextAttrEx" );
5771         int     RETVAL;
5772         dXSTARG;
5773
5774         RETVAL = THIS->GetOutlineLevel();
5775         XSprePUSH; PUSHi((IV)RETVAL);
5776     }
5777     XSRETURN(1);
5778 }
5779
5780
5781 XS(XS_Wx__TextAttrEx_HasOutlineLevel); /* prototype to pass -Wmissing-prototypes */
5782 XS(XS_Wx__TextAttrEx_HasOutlineLevel)
5783 {
5784 #ifdef dVAR
5785     dVAR; dXSARGS;
5786 #else
5787     dXSARGS;
5788 #endif
5789     if (items != 1)
5790        croak_xs_usage(cv,  "THIS");
5791     {
5792         wxTextAttrEx *    THIS = (wxTextAttrEx *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::TextAttrEx" );
5793         bool    RETVAL;
5794
5795         RETVAL = THIS->HasOutlineLevel();
5796         ST(0) = boolSV(RETVAL);
5797         sv_2mortal(ST(0));
5798     }
5799     XSRETURN(1);
5800 }
5801
5802
5803 XS(XS_Wx__TextAttrEx_SetOutlineLevel); /* prototype to pass -Wmissing-prototypes */
5804 XS(XS_Wx__TextAttrEx_SetOutlineLevel)
5805 {
5806 #ifdef dVAR
5807     dVAR; dXSARGS;
5808 #else
5809     dXSARGS;
5810 #endif
5811     if (items != 2)
5812        croak_xs_usage(cv,  "THIS, level");
5813     {
5814         int     level = (int)SvIV(ST(1));
5815         wxTextAttrEx *    THIS = (wxTextAttrEx *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::TextAttrEx" );
5816
5817         THIS->SetOutlineLevel(level);
5818     }
5819     XSRETURN_EMPTY;
5820 }
5821
5822
5823 XS(XS_Wx__TextAttrEx_GetTextEffects); /* prototype to pass -Wmissing-prototypes */
5824 XS(XS_Wx__TextAttrEx_GetTextEffects)
5825 {
5826 #ifdef dVAR
5827     dVAR; dXSARGS;
5828 #else
5829     dXSARGS;
5830 #endif
5831     if (items != 1)
5832        croak_xs_usage(cv,  "THIS");
5833     {
5834         wxTextAttrEx *    THIS = (wxTextAttrEx *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::TextAttrEx" );
5835         int     RETVAL;
5836         dXSTARG;
5837
5838         RETVAL = THIS->GetTextEffects();
5839         XSprePUSH; PUSHi((IV)RETVAL);
5840     }
5841     XSRETURN(1);
5842 }
5843
5844
5845 XS(XS_Wx__TextAttrEx_HasTextEffects); /* prototype to pass -Wmissing-prototypes */
5846 XS(XS_Wx__TextAttrEx_HasTextEffects)
5847 {
5848 #ifdef dVAR
5849     dVAR; dXSARGS;
5850 #else
5851     dXSARGS;
5852 #endif
5853     if (items != 1)
5854        croak_xs_usage(cv,  "THIS");
5855     {
5856         wxTextAttrEx *    THIS = (wxTextAttrEx *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::TextAttrEx" );
5857         bool    RETVAL;
5858
5859         RETVAL = THIS->HasTextEffects();
5860         ST(0) = boolSV(RETVAL);
5861         sv_2mortal(ST(0));
5862     }
5863     XSRETURN(1);
5864 }
5865
5866
5867 XS(XS_Wx__TextAttrEx_SetTextEffects); /* prototype to pass -Wmissing-prototypes */
5868 XS(XS_Wx__TextAttrEx_SetTextEffects)
5869 {
5870 #ifdef dVAR
5871     dVAR; dXSARGS;
5872 #else
5873     dXSARGS;
5874 #endif
5875     if (items != 2)
5876        croak_xs_usage(cv,  "THIS, effects");
5877     {
5878         int     effects = (int)SvIV(ST(1));
5879         wxTextAttrEx *    THIS = (wxTextAttrEx *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::TextAttrEx" );
5880
5881         THIS->SetTextEffects(effects);
5882     }
5883     XSRETURN_EMPTY;
5884 }
5885
5886
5887 XS(XS_Wx__TextAttrEx_GetTextEffectFlags); /* prototype to pass -Wmissing-prototypes */
5888 XS(XS_Wx__TextAttrEx_GetTextEffectFlags)
5889 {
5890 #ifdef dVAR
5891     dVAR; dXSARGS;
5892 #else
5893     dXSARGS;
5894 #endif
5895     if (items != 1)
5896        croak_xs_usage(cv,  "THIS");
5897     {
5898         wxTextAttrEx *    THIS = (wxTextAttrEx *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::TextAttrEx" );
5899         int     RETVAL;
5900         dXSTARG;
5901
5902         RETVAL = THIS->GetTextEffectFlags();
5903         XSprePUSH; PUSHi((IV)RETVAL);
5904     }
5905     XSRETURN(1);
5906 }
5907
5908
5909 XS(XS_Wx__TextAttrEx_HasTextEffect); /* prototype to pass -Wmissing-prototypes */
5910 XS(XS_Wx__TextAttrEx_HasTextEffect)
5911 {
5912 #ifdef dVAR
5913     dVAR; dXSARGS;
5914 #else
5915     dXSARGS;
5916 #endif
5917     if (items != 2)
5918        croak_xs_usage(cv,  "THIS, effect");
5919     {
5920         int     effect = (int)SvIV(ST(1));
5921         wxTextAttrEx *    THIS = (wxTextAttrEx *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::TextAttrEx" );
5922         bool    RETVAL;
5923
5924         RETVAL = THIS->HasTextEffect(effect);
5925         ST(0) = boolSV(RETVAL);
5926         sv_2mortal(ST(0));
5927     }
5928     XSRETURN(1);
5929 }
5930
5931
5932 XS(XS_Wx__TextAttrEx_SetTextEffectFlags); /* prototype to pass -Wmissing-prototypes */
5933 XS(XS_Wx__TextAttrEx_SetTextEffectFlags)
5934 {
5935 #ifdef dVAR
5936     dVAR; dXSARGS;
5937 #else
5938     dXSARGS;
5939 #endif
5940     if (items != 2)
5941        croak_xs_usage(cv,  "THIS, effects");
5942     {
5943         int     effects = (int)SvIV(ST(1));
5944         wxTextAttrEx *    THIS = (wxTextAttrEx *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::TextAttrEx" );
5945
5946         THIS->SetTextEffectFlags(effects);
5947     }
5948     XSRETURN_EMPTY;
5949 }
5950
5951 #endif
5952
5953 XS(XS_Wx__TextAttrEx_new); /* prototype to pass -Wmissing-prototypes */
5954 XS(XS_Wx__TextAttrEx_new)
5955 {
5956 #ifdef dVAR
5957     dVAR; dXSARGS;
5958 #else
5959     dXSARGS;
5960 #endif
5961     if (items < 1)
5962        croak_xs_usage(cv,  "CLASS, ...");
5963     PERL_UNUSED_VAR(ax); /* -Wall */
5964     SP -= items;
5965     {
5966         char *  CLASS = (char *)SvPV_nolen(ST(0));
5967     BEGIN_OVERLOAD()
5968         MATCH_VOIDM_REDISP( newDefault )
5969         MATCH_REDISP( wxPliOvl_wtae, newCopy )
5970         MATCH_REDISP( wxPliOvl_wtat, newAttr )
5971     END_OVERLOAD( Wx::TextAttrEx::new )
5972         PUTBACK;
5973         return;
5974     }
5975 }
5976
5977
5978 XS(XS_Wx__RichTextAttr_newDefault); /* prototype to pass -Wmissing-prototypes */
5979 XS(XS_Wx__RichTextAttr_newDefault)
5980 {
5981 #ifdef dVAR
5982     dVAR; dXSARGS;
5983 #else
5984     dXSARGS;
5985 #endif
5986     if (items != 1)
5987        croak_xs_usage(cv,  "CLASS");
5988     {
5989         char *  CLASS = (char *)SvPV_nolen(ST(0));
5990         wxRichTextAttr *        RETVAL;
5991     RETVAL = new wxRichTextAttr();
5992         ST(0) = sv_newmortal();
5993     wxPli_non_object_2_sv( aTHX_ ST(0), RETVAL, "Wx::RichTextAttr" );
5994     wxPli_thread_sv_register( aTHX_ "Wx::RichTextAttr", RETVAL, ST(0) );
5995
5996     }
5997     XSRETURN(1);
5998 }
5999
6000
6001 XS(XS_Wx__RichTextAttr_newCopy); /* prototype to pass -Wmissing-prototypes */
6002 XS(XS_Wx__RichTextAttr_newCopy)
6003 {
6004 #ifdef dVAR
6005     dVAR; dXSARGS;
6006 #else
6007     dXSARGS;
6008 #endif
6009     if (items != 2)
6010        croak_xs_usage(cv,  "CLASS, attr");
6011     {
6012         wxRichTextAttr*    attr = (wxRichTextAttr *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::RichTextAttr" );
6013         char *  CLASS = (char *)SvPV_nolen(ST(0));
6014         wxRichTextAttr *        RETVAL;
6015     RETVAL = new wxRichTextAttr( *( attr ) );
6016         ST(0) = sv_newmortal();
6017     wxPli_non_object_2_sv( aTHX_ ST(0), RETVAL, "Wx::RichTextAttr" );
6018     wxPli_thread_sv_register( aTHX_ "Wx::RichTextAttr", RETVAL, ST(0) );
6019
6020     }
6021     XSRETURN(1);
6022 }
6023
6024
6025 XS(XS_Wx__RichTextAttr_newAttrEx); /* prototype to pass -Wmissing-prototypes */
6026 XS(XS_Wx__RichTextAttr_newAttrEx)
6027 {
6028 #ifdef dVAR
6029     dVAR; dXSARGS;
6030 #else
6031     dXSARGS;
6032 #endif
6033     if (items != 2)
6034        croak_xs_usage(cv,  "CLASS, attr");
6035     {
6036         wxTextAttrEx*    attr = (wxTextAttrEx *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::TextAttrEx" );
6037         char *  CLASS = (char *)SvPV_nolen(ST(0));
6038         wxRichTextAttr *        RETVAL;
6039     RETVAL = new wxRichTextAttr( *( attr ) );
6040         ST(0) = sv_newmortal();
6041     wxPli_non_object_2_sv( aTHX_ ST(0), RETVAL, "Wx::RichTextAttr" );
6042     wxPli_thread_sv_register( aTHX_ "Wx::RichTextAttr", RETVAL, ST(0) );
6043
6044     }
6045     XSRETURN(1);
6046 }
6047
6048
6049 XS(XS_Wx__RichTextAttr_newAttr); /* prototype to pass -Wmissing-prototypes */
6050 XS(XS_Wx__RichTextAttr_newAttr)
6051 {
6052 #ifdef dVAR
6053     dVAR; dXSARGS;
6054 #else
6055     dXSARGS;
6056 #endif
6057     if (items != 2)
6058        croak_xs_usage(cv,  "CLASS, attr");
6059     {
6060         wxTextAttr*    attr = (wxTextAttr *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::TextAttr" );
6061         char *  CLASS = (char *)SvPV_nolen(ST(0));
6062         wxRichTextAttr *        RETVAL;
6063     RETVAL = new wxRichTextAttr( *( attr ) );
6064         ST(0) = sv_newmortal();
6065     wxPli_non_object_2_sv( aTHX_ ST(0), RETVAL, "Wx::RichTextAttr" );
6066     wxPli_thread_sv_register( aTHX_ "Wx::RichTextAttr", RETVAL, ST(0) );
6067
6068     }
6069     XSRETURN(1);
6070 }
6071
6072 #if WXPERL_W_VERSION_GE( 2, 9, 0 )
6073 #define XSubPPtmpAABD 1
6074
6075
6076 XS(XS_Wx__RichTextAttr_newFull); /* prototype to pass -Wmissing-prototypes */
6077 XS(XS_Wx__RichTextAttr_newFull)
6078 {
6079 #ifdef dVAR
6080     dVAR; dXSARGS;
6081 #else
6082     dXSARGS;
6083 #endif
6084     if (items < 2 || items > 5)
6085        croak_xs_usage(cv,  "CLASS, colText, colBack = wxNullColourPtr, font = wxNullFontPtr, alignment = wxTEXT_ALIGNMENT_DEFAULT");
6086     {
6087         wxColour*    colText = (wxColour *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::Colour" );
6088         wxColour*       colBack;
6089         wxFont* font;
6090         wxTextAttrAlignment     alignment;
6091         char *  CLASS = (char *)SvPV_nolen(ST(0));
6092         wxRichTextAttr *        RETVAL;
6093
6094         if (items < 3)
6095             colBack = wxNullColourPtr;
6096         else {
6097     colBack = (wxColour *) wxPli_sv_2_object( aTHX_ ST(2), "Wx::Colour" );
6098         }
6099
6100         if (items < 4)
6101             font = wxNullFontPtr;
6102         else {
6103     font = (wxFont *) wxPli_sv_2_object( aTHX_ ST(3), "Wx::Font" );
6104         }
6105
6106         if (items < 5)
6107             alignment = wxTEXT_ALIGNMENT_DEFAULT;
6108         else {
6109             alignment = (wxTextAttrAlignment)SvIV(ST(4));
6110         }
6111     RETVAL = new wxRichTextAttr( *( colText ), *( colBack ), *( font ), alignment );
6112         ST(0) = sv_newmortal();
6113     wxPli_non_object_2_sv( aTHX_ ST(0), RETVAL, "Wx::RichTextAttr" );
6114     wxPli_thread_sv_register( aTHX_ "Wx::RichTextAttr", RETVAL, ST(0) );
6115
6116     }
6117     XSRETURN(1);
6118 }
6119
6120 #else
6121 #define XSubPPtmpAABE 1
6122
6123
6124 XS(XS_Wx__RichTextAttr_newFull); /* prototype to pass -Wmissing-prototypes */
6125 XS(XS_Wx__RichTextAttr_newFull)
6126 {
6127 #ifdef dVAR
6128     dVAR; dXSARGS;
6129 #else
6130     dXSARGS;
6131 #endif
6132     if (items < 2 || items > 4)
6133        croak_xs_usage(cv,  "CLASS, colText, colBack = wxNullColourPtr, alignment = wxTEXT_ALIGNMENT_DEFAULT");
6134     {
6135         wxColour*    colText = (wxColour *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::Colour" );
6136         wxColour*       colBack;
6137         wxTextAttrAlignment     alignment;
6138         char *  CLASS = (char *)SvPV_nolen(ST(0));
6139         wxRichTextAttr *        RETVAL;
6140
6141         if (items < 3)
6142             colBack = wxNullColourPtr;
6143         else {
6144     colBack = (wxColour *) wxPli_sv_2_object( aTHX_ ST(2), "Wx::Colour" );
6145         }
6146
6147         if (items < 4)
6148             alignment = wxTEXT_ALIGNMENT_DEFAULT;
6149         else {
6150             alignment = (wxTextAttrAlignment)SvIV(ST(3));
6151         }
6152     RETVAL = new wxRichTextAttr( *( colText ), *( colBack ), alignment );
6153         ST(0) = sv_newmortal();
6154     wxPli_non_object_2_sv( aTHX_ ST(0), RETVAL, "Wx::RichTextAttr" );
6155     wxPli_thread_sv_register( aTHX_ "Wx::RichTextAttr", RETVAL, ST(0) );
6156
6157     }
6158     XSRETURN(1);
6159 }
6160
6161 #endif
6162
6163 XS(XS_Wx__RichTextAttr_CLONE); /* prototype to pass -Wmissing-prototypes */
6164 XS(XS_Wx__RichTextAttr_CLONE)
6165 {
6166 #ifdef dVAR
6167     dVAR; dXSARGS;
6168 #else
6169     dXSARGS;
6170 #endif
6171     if (items != 1)
6172        croak_xs_usage(cv,  "CLASS");
6173     {
6174         char *  CLASS = (char *)SvPV_nolen(ST(0));
6175     wxPli_thread_sv_clone( aTHX_ CLASS, (wxPliCloneSV)wxPli_detach_object );
6176     }
6177     XSRETURN_EMPTY;
6178 }
6179
6180
6181 XS(XS_Wx__RichTextAttr_DESTROY); /* prototype to pass -Wmissing-prototypes */
6182 XS(XS_Wx__RichTextAttr_DESTROY)
6183 {
6184 #ifdef dVAR
6185     dVAR; dXSARGS;
6186 #else
6187     dXSARGS;
6188 #endif
6189     if (items != 1)
6190        croak_xs_usage(cv,  "THIS");
6191     {
6192         wxRichTextAttr *    THIS = (wxRichTextAttr *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::RichTextAttr" );
6193      wxPli_thread_sv_unregister( aTHX_ "Wx::RichTextAttr", THIS, ST(0) );
6194                 delete THIS;
6195     }
6196     XSRETURN_EMPTY;
6197 }
6198
6199 #if WXPERL_W_VERSION_LT( 2, 9, 0 )
6200 #define XSubPPtmpAABF 1
6201
6202
6203 XS(XS_Wx__RichTextAttr_CreateFont); /* prototype to pass -Wmissing-prototypes */
6204 XS(XS_Wx__RichTextAttr_CreateFont)
6205 {
6206 #ifdef dVAR
6207     dVAR; dXSARGS;
6208 #else
6209     dXSARGS;
6210 #endif
6211     if (items != 1)
6212        croak_xs_usage(cv,  "THIS");
6213     {
6214         wxRichTextAttr *    THIS = (wxRichTextAttr *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::RichTextAttr" );
6215         wxFont *        RETVAL;
6216     RETVAL = new wxFont( THIS->CreateFont() );
6217         ST(0) = sv_newmortal();
6218     wxPli_object_2_sv( aTHX_ ST(0), RETVAL );
6219     wxPli_thread_sv_register( aTHX_ "Wx::Font", RETVAL, ST(0) );
6220
6221     }
6222     XSRETURN(1);
6223 }
6224
6225 #endif
6226
6227 XS(XS_Wx__RichTextAttr_GetFontAttributes); /* prototype to pass -Wmissing-prototypes */
6228 XS(XS_Wx__RichTextAttr_GetFontAttributes)
6229 {
6230 #ifdef dVAR
6231     dVAR; dXSARGS;
6232 #else
6233     dXSARGS;
6234 #endif
6235     if (items != 2)
6236        croak_xs_usage(cv,  "THIS, font");
6237     {
6238         wxFont*    font = (wxFont *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::Font" );
6239         wxRichTextAttr *    THIS = (wxRichTextAttr *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::RichTextAttr" );
6240         bool    RETVAL;
6241     RETVAL = THIS->GetFontAttributes( *( font ) );
6242         ST(0) = boolSV(RETVAL);
6243         sv_2mortal(ST(0));
6244     }
6245     XSRETURN(1);
6246 }
6247
6248
6249 XS(XS_Wx__RichTextAttr_SetTextColour); /* prototype to pass -Wmissing-prototypes */
6250 XS(XS_Wx__RichTextAttr_SetTextColour)
6251 {
6252 #ifdef dVAR
6253     dVAR; dXSARGS;
6254 #else
6255     dXSARGS;
6256 #endif
6257     if (items != 2)
6258        croak_xs_usage(cv,  "THIS, colText");
6259     {
6260         wxColour*    colText = (wxColour *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::Colour" );
6261         wxRichTextAttr *    THIS = (wxRichTextAttr *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::RichTextAttr" );
6262     THIS->SetTextColour( *( colText ) );
6263     }
6264     XSRETURN_EMPTY;
6265 }
6266
6267
6268 XS(XS_Wx__RichTextAttr_SetBackgroundColour); /* prototype to pass -Wmissing-prototypes */
6269 XS(XS_Wx__RichTextAttr_SetBackgroundColour)
6270 {
6271 #ifdef dVAR
6272     dVAR; dXSARGS;
6273 #else
6274     dXSARGS;
6275 #endif
6276     if (items != 2)
6277        croak_xs_usage(cv,  "THIS, colBack");
6278     {
6279         wxColour*    colBack = (wxColour *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::Colour" );
6280         wxRichTextAttr *    THIS = (wxRichTextAttr *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::RichTextAttr" );
6281     THIS->SetBackgroundColour( *( colBack ) );
6282     }
6283     XSRETURN_EMPTY;
6284 }
6285
6286
6287 XS(XS_Wx__RichTextAttr_SetAlignment); /* prototype to pass -Wmissing-prototypes */
6288 XS(XS_Wx__RichTextAttr_SetAlignment)
6289 {
6290 #ifdef dVAR
6291     dVAR; dXSARGS;
6292 #else
6293     dXSARGS;
6294 #endif
6295     if (items != 2)
6296        croak_xs_usage(cv,  "THIS, alignment");
6297     {
6298         wxTextAttrAlignment     alignment = (wxTextAttrAlignment)SvIV(ST(1));
6299         wxRichTextAttr *    THIS = (wxRichTextAttr *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::RichTextAttr" );
6300
6301         THIS->SetAlignment(alignment);
6302     }
6303     XSRETURN_EMPTY;
6304 }
6305
6306
6307 XS(XS_Wx__RichTextAttr_SetTabs); /* prototype to pass -Wmissing-prototypes */
6308 XS(XS_Wx__RichTextAttr_SetTabs)
6309 {
6310 #ifdef dVAR
6311     dVAR; dXSARGS;
6312 #else
6313     dXSARGS;
6314 #endif
6315     if (items != 2)
6316        croak_xs_usage(cv,  "THIS, tabs");
6317     {
6318         wxArrayInt      tabs;
6319         wxRichTextAttr *    THIS = (wxRichTextAttr *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::RichTextAttr" );
6320
6321     wxPli_av_2_arrayint( aTHX_ ST(1), & tabs );
6322
6323         THIS->SetTabs(tabs);
6324     }
6325     XSRETURN_EMPTY;
6326 }
6327
6328
6329 XS(XS_Wx__RichTextAttr_SetLeftIndent); /* prototype to pass -Wmissing-prototypes */
6330 XS(XS_Wx__RichTextAttr_SetLeftIndent)
6331 {
6332 #ifdef dVAR
6333     dVAR; dXSARGS;
6334 #else
6335     dXSARGS;
6336 #endif
6337     if (items < 2 || items > 3)
6338        croak_xs_usage(cv,  "THIS, indent, subIndent = 0");
6339     {
6340         int     indent = (int)SvIV(ST(1));
6341         int     subIndent;
6342         wxRichTextAttr *    THIS = (wxRichTextAttr *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::RichTextAttr" );
6343
6344         if (items < 3)
6345             subIndent = 0;
6346         else {
6347             subIndent = (int)SvIV(ST(2));
6348         }
6349
6350         THIS->SetLeftIndent(indent, subIndent);
6351     }
6352     XSRETURN_EMPTY;
6353 }
6354
6355
6356 XS(XS_Wx__RichTextAttr_SetRightIndent); /* prototype to pass -Wmissing-prototypes */
6357 XS(XS_Wx__RichTextAttr_SetRightIndent)
6358 {
6359 #ifdef dVAR
6360     dVAR; dXSARGS;
6361 #else
6362     dXSARGS;
6363 #endif
6364     if (items != 2)
6365        croak_xs_usage(cv,  "THIS, indent");
6366     {
6367         int     indent = (int)SvIV(ST(1));
6368         wxRichTextAttr *    THIS = (wxRichTextAttr *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::RichTextAttr" );
6369
6370         THIS->SetRightIndent(indent);
6371     }
6372     XSRETURN_EMPTY;
6373 }
6374
6375
6376 XS(XS_Wx__RichTextAttr_SetFontSize); /* prototype to pass -Wmissing-prototypes */
6377 XS(XS_Wx__RichTextAttr_SetFontSize)
6378 {
6379 #ifdef dVAR
6380     dVAR; dXSARGS;
6381 #else
6382     dXSARGS;
6383 #endif
6384     if (items != 2)
6385        croak_xs_usage(cv,  "THIS, pointSize");
6386     {
6387         int     pointSize = (int)SvIV(ST(1));
6388         wxRichTextAttr *    THIS = (wxRichTextAttr *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::RichTextAttr" );
6389
6390         THIS->SetFontSize(pointSize);
6391     }
6392     XSRETURN_EMPTY;
6393 }
6394
6395
6396 XS(XS_Wx__RichTextAttr_SetFontStyle); /* prototype to pass -Wmissing-prototypes */
6397 XS(XS_Wx__RichTextAttr_SetFontStyle)
6398 {
6399 #ifdef dVAR
6400     dVAR; dXSARGS;
6401 #else
6402     dXSARGS;
6403 #endif
6404     if (items != 2)
6405        croak_xs_usage(cv,  "THIS, fontStyle");
6406     {
6407         wxFontStyle     fontStyle = (wxFontStyle)SvIV(ST(1));
6408         wxRichTextAttr *    THIS = (wxRichTextAttr *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::RichTextAttr" );
6409
6410         THIS->SetFontStyle(fontStyle);
6411     }
6412     XSRETURN_EMPTY;
6413 }
6414
6415
6416 XS(XS_Wx__RichTextAttr_SetFontWeight); /* prototype to pass -Wmissing-prototypes */
6417 XS(XS_Wx__RichTextAttr_SetFontWeight)
6418 {
6419 #ifdef dVAR
6420     dVAR; dXSARGS;
6421 #else
6422     dXSARGS;
6423 #endif
6424     if (items != 2)
6425        croak_xs_usage(cv,  "THIS, fontWeight");
6426     {
6427         wxFontWeight    fontWeight = (wxFontWeight)SvIV(ST(1));
6428         wxRichTextAttr *    THIS = (wxRichTextAttr *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::RichTextAttr" );
6429
6430         THIS->SetFontWeight(fontWeight);
6431     }
6432     XSRETURN_EMPTY;
6433 }
6434
6435
6436 XS(XS_Wx__RichTextAttr_SetFontFaceName); /* prototype to pass -Wmissing-prototypes */
6437 XS(XS_Wx__RichTextAttr_SetFontFaceName)
6438 {
6439 #ifdef dVAR
6440     dVAR; dXSARGS;
6441 #else
6442     dXSARGS;
6443 #endif
6444     if (items != 2)
6445        croak_xs_usage(cv,  "THIS, faceName");
6446     {
6447         wxString        faceName;
6448         wxRichTextAttr *    THIS = (wxRichTextAttr *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::RichTextAttr" );
6449
6450     WXSTRING_INPUT( faceName, wxString, ST(1) );
6451
6452         THIS->SetFontFaceName(faceName);
6453     }
6454     XSRETURN_EMPTY;
6455 }
6456
6457
6458 XS(XS_Wx__RichTextAttr_SetFontUnderlined); /* prototype to pass -Wmissing-prototypes */
6459 XS(XS_Wx__RichTextAttr_SetFontUnderlined)
6460 {
6461 #ifdef dVAR
6462     dVAR; dXSARGS;
6463 #else
6464     dXSARGS;
6465 #endif
6466     if (items != 2)
6467        croak_xs_usage(cv,  "THIS, underlined");
6468     {
6469         bool    underlined = (bool)SvTRUE(ST(1));
6470         wxRichTextAttr *    THIS = (wxRichTextAttr *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::RichTextAttr" );
6471
6472         THIS->SetFontUnderlined(underlined);
6473     }
6474     XSRETURN_EMPTY;
6475 }
6476
6477
6478 XS(XS_Wx__RichTextAttr_SetFlags); /* prototype to pass -Wmissing-prototypes */
6479 XS(XS_Wx__RichTextAttr_SetFlags)
6480 {
6481 #ifdef dVAR
6482     dVAR; dXSARGS;
6483 #else
6484     dXSARGS;
6485 #endif
6486     if (items != 2)
6487        croak_xs_usage(cv,  "THIS, flags");
6488     {
6489         long    flags = (long)SvIV(ST(1));
6490         wxRichTextAttr *    THIS = (wxRichTextAttr *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::RichTextAttr" );
6491
6492         THIS->SetFlags(flags);
6493     }
6494     XSRETURN_EMPTY;
6495 }
6496
6497
6498 XS(XS_Wx__RichTextAttr_SetCharacterStyleName); /* prototype to pass -Wmissing-prototypes */
6499 XS(XS_Wx__RichTextAttr_SetCharacterStyleName)
6500 {
6501 #ifdef dVAR
6502     dVAR; dXSARGS;
6503 #else
6504     dXSARGS;
6505 #endif
6506     if (items != 2)
6507        croak_xs_usage(cv,  "THIS, name");
6508     {
6509         wxString        name;
6510         wxRichTextAttr *    THIS = (wxRichTextAttr *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::RichTextAttr" );
6511
6512     WXSTRING_INPUT( name, wxString, ST(1) );
6513
6514         THIS->SetCharacterStyleName(name);
6515     }
6516     XSRETURN_EMPTY;
6517 }
6518
6519
6520 XS(XS_Wx__RichTextAttr_SetParagraphStyleName); /* prototype to pass -Wmissing-prototypes */
6521 XS(XS_Wx__RichTextAttr_SetParagraphStyleName)
6522 {
6523 #ifdef dVAR
6524     dVAR; dXSARGS;
6525 #else
6526     dXSARGS;
6527 #endif
6528     if (items != 2)
6529        croak_xs_usage(cv,  "THIS, name");
6530     {
6531         wxString        name;
6532         wxRichTextAttr *    THIS = (wxRichTextAttr *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::RichTextAttr" );
6533
6534     WXSTRING_INPUT( name, wxString, ST(1) );
6535
6536         THIS->SetParagraphStyleName(name);
6537     }
6538     XSRETURN_EMPTY;
6539 }
6540
6541 #if WXPERL_W_VERSION_GE( 2, 7, 2 )
6542 #define XSubPPtmpAABG 1
6543
6544
6545 XS(XS_Wx__RichTextAttr_SetListStyleName); /* prototype to pass -Wmissing-prototypes */
6546 XS(XS_Wx__RichTextAttr_SetListStyleName)
6547 {
6548 #ifdef dVAR
6549     dVAR; dXSARGS;
6550 #else
6551     dXSARGS;
6552 #endif
6553     if (items != 2)
6554        croak_xs_usage(cv,  "THIS, name");
6555     {
6556         wxString        name;
6557         wxRichTextAttr *    THIS = (wxRichTextAttr *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::RichTextAttr" );
6558
6559     WXSTRING_INPUT( name, wxString, ST(1) );
6560
6561         THIS->SetListStyleName(name);
6562     }
6563     XSRETURN_EMPTY;
6564 }
6565
6566 #endif
6567
6568 XS(XS_Wx__RichTextAttr_SetParagraphSpacingAfter); /* prototype to pass -Wmissing-prototypes */
6569 XS(XS_Wx__RichTextAttr_SetParagraphSpacingAfter)
6570 {
6571 #ifdef dVAR
6572     dVAR; dXSARGS;
6573 #else
6574     dXSARGS;
6575 #endif
6576     if (items != 2)
6577        croak_xs_usage(cv,  "THIS, spacing");
6578     {
6579         int     spacing = (int)SvIV(ST(1));
6580         wxRichTextAttr *    THIS = (wxRichTextAttr *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::RichTextAttr" );
6581
6582         THIS->SetParagraphSpacingAfter(spacing);
6583     }
6584     XSRETURN_EMPTY;
6585 }
6586
6587
6588 XS(XS_Wx__RichTextAttr_SetParagraphSpacingBefore); /* prototype to pass -Wmissing-prototypes */
6589 XS(XS_Wx__RichTextAttr_SetParagraphSpacingBefore)
6590 {
6591 #ifdef dVAR
6592     dVAR; dXSARGS;
6593 #else
6594     dXSARGS;
6595 #endif
6596     if (items != 2)
6597        croak_xs_usage(cv,  "THIS, spacing");
6598     {
6599         int     spacing = (int)SvIV(ST(1));
6600         wxRichTextAttr *    THIS = (wxRichTextAttr *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::RichTextAttr" );
6601
6602         THIS->SetParagraphSpacingBefore(spacing);
6603     }
6604     XSRETURN_EMPTY;
6605 }
6606
6607
6608 XS(XS_Wx__RichTextAttr_SetLineSpacing); /* prototype to pass -Wmissing-prototypes */
6609 XS(XS_Wx__RichTextAttr_SetLineSpacing)
6610 {
6611 #ifdef dVAR
6612     dVAR; dXSARGS;
6613 #else
6614     dXSARGS;
6615 #endif
6616     if (items != 2)
6617        croak_xs_usage(cv,  "THIS, spacing");
6618     {
6619         int     spacing = (int)SvIV(ST(1));
6620         wxRichTextAttr *    THIS = (wxRichTextAttr *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::RichTextAttr" );
6621
6622         THIS->SetLineSpacing(spacing);
6623     }
6624     XSRETURN_EMPTY;
6625 }
6626
6627
6628 XS(XS_Wx__RichTextAttr_SetBulletStyle); /* prototype to pass -Wmissing-prototypes */
6629 XS(XS_Wx__RichTextAttr_SetBulletStyle)
6630 {
6631 #ifdef dVAR
6632     dVAR; dXSARGS;
6633 #else
6634     dXSARGS;
6635 #endif
6636     if (items != 2)
6637        croak_xs_usage(cv,  "THIS, style");
6638     {
6639         int     style = (int)SvIV(ST(1));
6640         wxRichTextAttr *    THIS = (wxRichTextAttr *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::RichTextAttr" );
6641
6642         THIS->SetBulletStyle(style);
6643     }
6644     XSRETURN_EMPTY;
6645 }
6646
6647
6648 XS(XS_Wx__RichTextAttr_SetBulletNumber); /* prototype to pass -Wmissing-prototypes */
6649 XS(XS_Wx__RichTextAttr_SetBulletNumber)
6650 {
6651 #ifdef dVAR
6652     dVAR; dXSARGS;
6653 #else
6654     dXSARGS;
6655 #endif
6656     if (items != 2)
6657        croak_xs_usage(cv,  "THIS, n");
6658     {
6659         int     n = (int)SvIV(ST(1));
6660         wxRichTextAttr *    THIS = (wxRichTextAttr *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::RichTextAttr" );
6661
6662         THIS->SetBulletNumber(n);
6663     }
6664     XSRETURN_EMPTY;
6665 }
6666
6667 #if WXPERL_W_VERSION_GE( 2, 7, 2 )
6668 #define XSubPPtmpAABH 1
6669
6670
6671 XS(XS_Wx__RichTextAttr_SetBulletText); /* prototype to pass -Wmissing-prototypes */
6672 XS(XS_Wx__RichTextAttr_SetBulletText)
6673 {
6674 #ifdef dVAR
6675     dVAR; dXSARGS;
6676 #else
6677     dXSARGS;
6678 #endif
6679     if (items != 2)
6680        croak_xs_usage(cv,  "THIS, text");
6681     {
6682         wxString        text;
6683         wxRichTextAttr *    THIS = (wxRichTextAttr *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::RichTextAttr" );
6684
6685     WXSTRING_INPUT( text, wxString, ST(1) );
6686
6687         THIS->SetBulletText(text);
6688     }
6689     XSRETURN_EMPTY;
6690 }
6691
6692
6693 XS(XS_Wx__RichTextAttr_SetBulletFont); /* prototype to pass -Wmissing-prototypes */
6694 XS(XS_Wx__RichTextAttr_SetBulletFont)
6695 {
6696 #ifdef dVAR
6697     dVAR; dXSARGS;
6698 #else
6699     dXSARGS;
6700 #endif
6701     if (items != 2)
6702        croak_xs_usage(cv,  "THIS, bulletFont");
6703     {
6704         wxString        bulletFont;
6705         wxRichTextAttr *    THIS = (wxRichTextAttr *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::RichTextAttr" );
6706
6707     WXSTRING_INPUT( bulletFont, wxString, ST(1) );
6708
6709         THIS->SetBulletFont(bulletFont);
6710     }
6711     XSRETURN_EMPTY;
6712 }
6713
6714
6715 XS(XS_Wx__RichTextAttr_SetBulletName); /* prototype to pass -Wmissing-prototypes */
6716 XS(XS_Wx__RichTextAttr_SetBulletName)
6717 {
6718 #ifdef dVAR
6719     dVAR; dXSARGS;
6720 #else
6721     dXSARGS;
6722 #endif
6723     if (items != 2)
6724        croak_xs_usage(cv,  "THIS, name");
6725     {
6726         wxString        name;
6727         wxRichTextAttr *    THIS = (wxRichTextAttr *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::RichTextAttr" );
6728
6729     WXSTRING_INPUT( name, wxString, ST(1) );
6730
6731         THIS->SetBulletName(name);
6732     }
6733     XSRETURN_EMPTY;
6734 }
6735
6736
6737 XS(XS_Wx__RichTextAttr_SetURL); /* prototype to pass -Wmissing-prototypes */
6738 XS(XS_Wx__RichTextAttr_SetURL)
6739 {
6740 #ifdef dVAR
6741     dVAR; dXSARGS;
6742 #else
6743     dXSARGS;
6744 #endif
6745     if (items != 2)
6746        croak_xs_usage(cv,  "THIS, url");
6747     {
6748         wxString        url;
6749         wxRichTextAttr *    THIS = (wxRichTextAttr *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::RichTextAttr" );
6750
6751     WXSTRING_INPUT( url, wxString, ST(1) );
6752
6753         THIS->SetURL(url);
6754     }
6755     XSRETURN_EMPTY;
6756 }
6757
6758
6759 XS(XS_Wx__RichTextAttr_SetPageBreak); /* prototype to pass -Wmissing-prototypes */
6760 XS(XS_Wx__RichTextAttr_SetPageBreak)
6761 {
6762 #ifdef dVAR
6763     dVAR; dXSARGS;
6764 #else
6765     dXSARGS;
6766 #endif
6767     if (items < 1 || items > 2)
6768        croak_xs_usage(cv,  "THIS, pageBreak = true");
6769     {
6770         bool    pageBreak;
6771         wxRichTextAttr *    THIS = (wxRichTextAttr *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::RichTextAttr" );
6772
6773         if (items < 2)
6774             pageBreak = true;
6775         else {
6776             pageBreak = (bool)SvTRUE(ST(1));
6777         }
6778
6779         THIS->SetPageBreak(pageBreak);
6780     }
6781     XSRETURN_EMPTY;
6782 }
6783
6784 #endif
6785
6786 XS(XS_Wx__RichTextAttr_GetTextColour); /* prototype to pass -Wmissing-prototypes */
6787 XS(XS_Wx__RichTextAttr_GetTextColour)
6788 {
6789 #ifdef dVAR
6790     dVAR; dXSARGS;
6791 #else
6792     dXSARGS;
6793 #endif
6794     if (items != 1)
6795        croak_xs_usage(cv,  "THIS");
6796     {
6797         wxRichTextAttr *    THIS = (wxRichTextAttr *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::RichTextAttr" );
6798         wxColour *      RETVAL;
6799     RETVAL = new wxColour( THIS->GetTextColour() );
6800         ST(0) = sv_newmortal();
6801     wxPli_non_object_2_sv( aTHX_ ST(0), RETVAL, "Wx::Colour" );
6802     wxPli_thread_sv_register( aTHX_ "Wx::Colour", RETVAL, ST(0) );
6803
6804     }
6805     XSRETURN(1);
6806 }
6807
6808
6809 XS(XS_Wx__RichTextAttr_GetBackgroundColour); /* prototype to pass -Wmissing-prototypes */
6810 XS(XS_Wx__RichTextAttr_GetBackgroundColour)
6811 {
6812 #ifdef dVAR
6813     dVAR; dXSARGS;
6814 #else
6815     dXSARGS;
6816 #endif
6817     if (items != 1)
6818        croak_xs_usage(cv,  "THIS");
6819     {
6820         wxRichTextAttr *    THIS = (wxRichTextAttr *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::RichTextAttr" );
6821         wxColour *      RETVAL;
6822     RETVAL = new wxColour( THIS->GetBackgroundColour() );
6823         ST(0) = sv_newmortal();
6824     wxPli_non_object_2_sv( aTHX_ ST(0), RETVAL, "Wx::Colour" );
6825     wxPli_thread_sv_register( aTHX_ "Wx::Colour", RETVAL, ST(0) );
6826
6827     }
6828     XSRETURN(1);
6829 }
6830
6831
6832 XS(XS_Wx__RichTextAttr_GetAlignment); /* prototype to pass -Wmissing-prototypes */
6833 XS(XS_Wx__RichTextAttr_GetAlignment)
6834 {
6835 #ifdef dVAR
6836     dVAR; dXSARGS;
6837 #else
6838     dXSARGS;
6839 #endif
6840     if (items != 1)
6841        croak_xs_usage(cv,  "THIS");
6842     {
6843         wxRichTextAttr *    THIS = (wxRichTextAttr *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::RichTextAttr" );
6844         wxTextAttrAlignment     RETVAL;
6845         dXSTARG;
6846
6847         RETVAL = THIS->GetAlignment();
6848         XSprePUSH; PUSHi((IV)RETVAL);
6849     }
6850     XSRETURN(1);
6851 }
6852
6853
6854 XS(XS_Wx__RichTextAttr_GetLeftIndent); /* prototype to pass -Wmissing-prototypes */
6855 XS(XS_Wx__RichTextAttr_GetLeftIndent)
6856 {
6857 #ifdef dVAR
6858     dVAR; dXSARGS;
6859 #else
6860     dXSARGS;
6861 #endif
6862     if (items != 1)
6863        croak_xs_usage(cv,  "THIS");
6864     {
6865         wxRichTextAttr *    THIS = (wxRichTextAttr *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::RichTextAttr" );
6866         long    RETVAL;
6867         dXSTARG;
6868
6869         RETVAL = THIS->GetLeftIndent();
6870         XSprePUSH; PUSHi((IV)RETVAL);
6871     }
6872     XSRETURN(1);
6873 }
6874
6875
6876 XS(XS_Wx__RichTextAttr_GetLeftSubIndent); /* prototype to pass -Wmissing-prototypes */
6877 XS(XS_Wx__RichTextAttr_GetLeftSubIndent)
6878 {
6879 #ifdef dVAR
6880     dVAR; dXSARGS;
6881 #else
6882     dXSARGS;
6883 #endif
6884     if (items != 1)
6885        croak_xs_usage(cv,  "THIS");
6886     {
6887         wxRichTextAttr *    THIS = (wxRichTextAttr *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::RichTextAttr" );
6888         long    RETVAL;
6889         dXSTARG;
6890
6891         RETVAL = THIS->GetLeftSubIndent();
6892         XSprePUSH; PUSHi((IV)RETVAL);
6893     }
6894     XSRETURN(1);
6895 }
6896
6897
6898 XS(XS_Wx__RichTextAttr_GetRightIndent); /* prototype to pass -Wmissing-prototypes */
6899 XS(XS_Wx__RichTextAttr_GetRightIndent)
6900 {
6901 #ifdef dVAR
6902     dVAR; dXSARGS;
6903 #else
6904     dXSARGS;
6905 #endif
6906     if (items != 1)
6907        croak_xs_usage(cv,  "THIS");
6908     {
6909         wxRichTextAttr *    THIS = (wxRichTextAttr *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::RichTextAttr" );
6910         long    RETVAL;
6911         dXSTARG;
6912
6913         RETVAL = THIS->GetRightIndent();
6914         XSprePUSH; PUSHi((IV)RETVAL);
6915     }
6916     XSRETURN(1);
6917 }
6918
6919
6920 XS(XS_Wx__RichTextAttr_GetFlags); /* prototype to pass -Wmissing-prototypes */
6921 XS(XS_Wx__RichTextAttr_GetFlags)
6922 {
6923 #ifdef dVAR
6924     dVAR; dXSARGS;
6925 #else
6926     dXSARGS;
6927 #endif
6928     if (items != 1)
6929        croak_xs_usage(cv,  "THIS");
6930     {
6931         wxRichTextAttr *    THIS = (wxRichTextAttr *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::RichTextAttr" );
6932         long    RETVAL;
6933         dXSTARG;
6934
6935         RETVAL = THIS->GetFlags();
6936         XSprePUSH; PUSHi((IV)RETVAL);
6937     }
6938     XSRETURN(1);
6939 }
6940
6941
6942 XS(XS_Wx__RichTextAttr_GetFontSize); /* prototype to pass -Wmissing-prototypes */
6943 XS(XS_Wx__RichTextAttr_GetFontSize)
6944 {
6945 #ifdef dVAR
6946     dVAR; dXSARGS;
6947 #else
6948     dXSARGS;
6949 #endif
6950     if (items != 1)
6951        croak_xs_usage(cv,  "THIS");
6952     {
6953         wxRichTextAttr *    THIS = (wxRichTextAttr *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::RichTextAttr" );
6954         int     RETVAL;
6955         dXSTARG;
6956
6957         RETVAL = THIS->GetFontSize();
6958         XSprePUSH; PUSHi((IV)RETVAL);
6959     }
6960     XSRETURN(1);
6961 }
6962
6963 #if WXPERL_W_VERSION_GE( 2, 9, 0 )
6964 #define XSubPPtmpAABI 1
6965
6966
6967 XS(XS_Wx__RichTextAttr_GetFontStyle); /* prototype to pass -Wmissing-prototypes */
6968 XS(XS_Wx__RichTextAttr_GetFontStyle)
6969 {
6970 #ifdef dVAR
6971     dVAR; dXSARGS;
6972 #else
6973     dXSARGS;
6974 #endif
6975     if (items != 1)
6976        croak_xs_usage(cv,  "THIS");
6977     {
6978         wxRichTextAttr *    THIS = (wxRichTextAttr *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::RichTextAttr" );
6979         wxFontStyle     RETVAL;
6980         dXSTARG;
6981
6982         RETVAL = THIS->GetFontStyle();
6983         XSprePUSH; PUSHi((IV)RETVAL);
6984     }
6985     XSRETURN(1);
6986 }
6987
6988
6989 XS(XS_Wx__RichTextAttr_GetFontWeight); /* prototype to pass -Wmissing-prototypes */
6990 XS(XS_Wx__RichTextAttr_GetFontWeight)
6991 {
6992 #ifdef dVAR
6993     dVAR; dXSARGS;
6994 #else
6995     dXSARGS;
6996 #endif
6997     if (items != 1)
6998        croak_xs_usage(cv,  "THIS");
6999     {
7000         wxRichTextAttr *    THIS = (wxRichTextAttr *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::RichTextAttr" );
7001         wxFontWeight    RETVAL;
7002         dXSTARG;
7003
7004         RETVAL = THIS->GetFontWeight();
7005         XSprePUSH; PUSHi((IV)RETVAL);
7006     }
7007     XSRETURN(1);
7008 }
7009
7010 #else
7011 #define XSubPPtmpAABJ 1
7012
7013
7014 XS(XS_Wx__RichTextAttr_GetFontStyle); /* prototype to pass -Wmissing-prototypes */
7015 XS(XS_Wx__RichTextAttr_GetFontStyle)
7016 {
7017 #ifdef dVAR
7018     dVAR; dXSARGS;
7019 #else
7020     dXSARGS;
7021 #endif
7022     if (items != 1)
7023        croak_xs_usage(cv,  "THIS");
7024     {
7025         wxRichTextAttr *    THIS = (wxRichTextAttr *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::RichTextAttr" );
7026         int     RETVAL;
7027         dXSTARG;
7028
7029         RETVAL = THIS->GetFontStyle();
7030         XSprePUSH; PUSHi((IV)RETVAL);
7031     }
7032     XSRETURN(1);
7033 }
7034
7035
7036 XS(XS_Wx__RichTextAttr_GetFontWeight); /* prototype to pass -Wmissing-prototypes */
7037 XS(XS_Wx__RichTextAttr_GetFontWeight)
7038 {
7039 #ifdef dVAR
7040     dVAR; dXSARGS;
7041 #else
7042     dXSARGS;
7043 #endif
7044     if (items != 1)
7045        croak_xs_usage(cv,  "THIS");
7046     {
7047         wxRichTextAttr *    THIS = (wxRichTextAttr *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::RichTextAttr" );
7048         int     RETVAL;
7049         dXSTARG;
7050
7051         RETVAL = THIS->GetFontWeight();
7052         XSprePUSH; PUSHi((IV)RETVAL);
7053     }
7054     XSRETURN(1);
7055 }
7056
7057 #endif
7058
7059 XS(XS_Wx__RichTextAttr_GetFontUnderlined); /* prototype to pass -Wmissing-prototypes */
7060 XS(XS_Wx__RichTextAttr_GetFontUnderlined)
7061 {
7062 #ifdef dVAR
7063     dVAR; dXSARGS;
7064 #else
7065     dXSARGS;
7066 #endif
7067     if (items != 1)
7068        croak_xs_usage(cv,  "THIS");
7069     {
7070         wxRichTextAttr *    THIS = (wxRichTextAttr *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::RichTextAttr" );
7071         bool    RETVAL;
7072
7073         RETVAL = THIS->GetFontUnderlined();
7074         ST(0) = boolSV(RETVAL);
7075         sv_2mortal(ST(0));
7076     }
7077     XSRETURN(1);
7078 }
7079
7080
7081 XS(XS_Wx__RichTextAttr_GetFontFaceName); /* prototype to pass -Wmissing-prototypes */
7082 XS(XS_Wx__RichTextAttr_GetFontFaceName)
7083 {
7084 #ifdef dVAR
7085     dVAR; dXSARGS;
7086 #else
7087     dXSARGS;
7088 #endif
7089     if (items != 1)
7090        croak_xs_usage(cv,  "THIS");
7091     {
7092         wxRichTextAttr *    THIS = (wxRichTextAttr *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::RichTextAttr" );
7093         wxString        RETVAL;
7094
7095         RETVAL = THIS->GetFontFaceName();
7096         ST(0) = sv_newmortal();
7097     WXSTRING_OUTPUT( RETVAL, ST(0) );
7098
7099     }
7100     XSRETURN(1);
7101 }
7102
7103
7104 XS(XS_Wx__RichTextAttr_GetCharacterStyleName); /* prototype to pass -Wmissing-prototypes */
7105 XS(XS_Wx__RichTextAttr_GetCharacterStyleName)
7106 {
7107 #ifdef dVAR
7108     dVAR; dXSARGS;
7109 #else
7110     dXSARGS;
7111 #endif
7112     if (items != 1)
7113        croak_xs_usage(cv,  "THIS");
7114     {
7115         wxRichTextAttr *    THIS = (wxRichTextAttr *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::RichTextAttr" );
7116         wxString        RETVAL;
7117
7118         RETVAL = THIS->GetCharacterStyleName();
7119         ST(0) = sv_newmortal();
7120     WXSTRING_OUTPUT( RETVAL, ST(0) );
7121
7122     }
7123     XSRETURN(1);
7124 }
7125
7126
7127 XS(XS_Wx__RichTextAttr_GetParagraphStyleName); /* prototype to pass -Wmissing-prototypes */
7128 XS(XS_Wx__RichTextAttr_GetParagraphStyleName)
7129 {
7130 #ifdef dVAR
7131     dVAR; dXSARGS;
7132 #else
7133     dXSARGS;
7134 #endif
7135     if (items != 1)
7136        croak_xs_usage(cv,  "THIS");
7137     {
7138         wxRichTextAttr *    THIS = (wxRichTextAttr *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::RichTextAttr" );
7139         wxString        RETVAL;
7140
7141         RETVAL = THIS->GetParagraphStyleName();
7142         ST(0) = sv_newmortal();
7143     WXSTRING_OUTPUT( RETVAL, ST(0) );
7144
7145     }
7146     XSRETURN(1);
7147 }
7148
7149 #if WXPERL_W_VERSION_GE( 2, 7, 2 )
7150 #define XSubPPtmpAABK 1
7151
7152
7153 XS(XS_Wx__RichTextAttr_GetListStyleName); /* prototype to pass -Wmissing-prototypes */
7154 XS(XS_Wx__RichTextAttr_GetListStyleName)
7155 {
7156 #ifdef dVAR
7157     dVAR; dXSARGS;
7158 #else
7159     dXSARGS;
7160 #endif
7161     if (items != 1)
7162        croak_xs_usage(cv,  "THIS");
7163     {
7164         wxRichTextAttr *    THIS = (wxRichTextAttr *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::RichTextAttr" );
7165         wxString        RETVAL;
7166
7167         RETVAL = THIS->GetListStyleName();
7168         ST(0) = sv_newmortal();
7169     WXSTRING_OUTPUT( RETVAL, ST(0) );
7170
7171     }
7172     XSRETURN(1);
7173 }
7174
7175 #endif
7176
7177 XS(XS_Wx__RichTextAttr_GetParagraphSpacingAfter); /* prototype to pass -Wmissing-prototypes */
7178 XS(XS_Wx__RichTextAttr_GetParagraphSpacingAfter)
7179 {
7180 #ifdef dVAR
7181     dVAR; dXSARGS;
7182 #else
7183     dXSARGS;
7184 #endif
7185     if (items != 1)
7186        croak_xs_usage(cv,  "THIS");
7187     {
7188         wxRichTextAttr *    THIS = (wxRichTextAttr *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::RichTextAttr" );
7189         int     RETVAL;
7190         dXSTARG;
7191
7192         RETVAL = THIS->GetParagraphSpacingAfter();
7193         XSprePUSH; PUSHi((IV)RETVAL);
7194     }
7195     XSRETURN(1);
7196 }
7197
7198
7199 XS(XS_Wx__RichTextAttr_GetParagraphSpacingBefore); /* prototype to pass -Wmissing-prototypes */
7200 XS(XS_Wx__RichTextAttr_GetParagraphSpacingBefore)
7201 {
7202 #ifdef dVAR
7203     dVAR; dXSARGS;
7204 #else
7205     dXSARGS;
7206 #endif
7207     if (items != 1)
7208        croak_xs_usage(cv,  "THIS");
7209     {
7210         wxRichTextAttr *    THIS = (wxRichTextAttr *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::RichTextAttr" );
7211         int     RETVAL;
7212         dXSTARG;
7213
7214         RETVAL = THIS->GetParagraphSpacingBefore();
7215         XSprePUSH; PUSHi((IV)RETVAL);
7216     }
7217     XSRETURN(1);
7218 }
7219
7220
7221 XS(XS_Wx__RichTextAttr_GetLineSpacing); /* prototype to pass -Wmissing-prototypes */
7222 XS(XS_Wx__RichTextAttr_GetLineSpacing)
7223 {
7224 #ifdef dVAR
7225     dVAR; dXSARGS;
7226 #else
7227     dXSARGS;
7228 #endif
7229     if (items != 1)
7230        croak_xs_usage(cv,  "THIS");
7231     {
7232         wxRichTextAttr *    THIS = (wxRichTextAttr *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::RichTextAttr" );
7233         int     RETVAL;
7234         dXSTARG;
7235
7236         RETVAL = THIS->GetLineSpacing();
7237         XSprePUSH; PUSHi((IV)RETVAL);
7238     }
7239     XSRETURN(1);
7240 }
7241
7242
7243 XS(XS_Wx__RichTextAttr_GetBulletStyle); /* prototype to pass -Wmissing-prototypes */
7244 XS(XS_Wx__RichTextAttr_GetBulletStyle)
7245 {
7246 #ifdef dVAR
7247     dVAR; dXSARGS;
7248 #else
7249     dXSARGS;
7250 #endif
7251     if (items != 1)
7252        croak_xs_usage(cv,  "THIS");
7253     {
7254         wxRichTextAttr *    THIS = (wxRichTextAttr *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::RichTextAttr" );
7255         int     RETVAL;
7256         dXSTARG;
7257
7258         RETVAL = THIS->GetBulletStyle();
7259         XSprePUSH; PUSHi((IV)RETVAL);
7260     }
7261     XSRETURN(1);
7262 }
7263
7264
7265 XS(XS_Wx__RichTextAttr_GetBulletNumber); /* prototype to pass -Wmissing-prototypes */
7266 XS(XS_Wx__RichTextAttr_GetBulletNumber)
7267 {
7268 #ifdef dVAR
7269     dVAR; dXSARGS;
7270 #else
7271     dXSARGS;
7272 #endif
7273     if (items != 1)
7274        croak_xs_usage(cv,  "THIS");
7275     {
7276         wxRichTextAttr *    THIS = (wxRichTextAttr *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::RichTextAttr" );
7277         int     RETVAL;
7278         dXSTARG;
7279
7280         RETVAL = THIS->GetBulletNumber();
7281         XSprePUSH; PUSHi((IV)RETVAL);
7282     }
7283     XSRETURN(1);
7284 }
7285
7286 #if WXPERL_W_VERSION_GE( 2, 7, 2 )
7287 #define XSubPPtmpAABL 1
7288
7289
7290 XS(XS_Wx__RichTextAttr_GetBulletText); /* prototype to pass -Wmissing-prototypes */
7291 XS(XS_Wx__RichTextAttr_GetBulletText)
7292 {
7293 #ifdef dVAR
7294     dVAR; dXSARGS;
7295 #else
7296     dXSARGS;
7297 #endif
7298     if (items != 1)
7299        croak_xs_usage(cv,  "THIS");
7300     {
7301         wxRichTextAttr *    THIS = (wxRichTextAttr *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::RichTextAttr" );
7302         wxString        RETVAL;
7303
7304         RETVAL = THIS->GetBulletText();
7305         ST(0) = sv_newmortal();
7306     WXSTRING_OUTPUT( RETVAL, ST(0) );
7307
7308     }
7309     XSRETURN(1);
7310 }
7311
7312
7313 XS(XS_Wx__RichTextAttr_GetBulletFont); /* prototype to pass -Wmissing-prototypes */
7314 XS(XS_Wx__RichTextAttr_GetBulletFont)
7315 {
7316 #ifdef dVAR
7317     dVAR; dXSARGS;
7318 #else
7319     dXSARGS;
7320 #endif
7321     if (items != 1)
7322        croak_xs_usage(cv,  "THIS");
7323     {
7324         wxRichTextAttr *    THIS = (wxRichTextAttr *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::RichTextAttr" );
7325         wxString        RETVAL;
7326
7327         RETVAL = THIS->GetBulletFont();
7328         ST(0) = sv_newmortal();
7329     WXSTRING_OUTPUT( RETVAL, ST(0) );
7330
7331     }
7332     XSRETURN(1);
7333 }
7334
7335
7336 XS(XS_Wx__RichTextAttr_GetBulletName); /* prototype to pass -Wmissing-prototypes */
7337 XS(XS_Wx__RichTextAttr_GetBulletName)
7338 {
7339 #ifdef dVAR
7340     dVAR; dXSARGS;
7341 #else
7342     dXSARGS;
7343 #endif
7344     if (items != 1)
7345        croak_xs_usage(cv,  "THIS");
7346     {
7347         wxRichTextAttr *    THIS = (wxRichTextAttr *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::RichTextAttr" );
7348         wxString        RETVAL;
7349
7350         RETVAL = THIS->GetBulletName();
7351         ST(0) = sv_newmortal();
7352     WXSTRING_OUTPUT( RETVAL, ST(0) );
7353
7354     }
7355     XSRETURN(1);
7356 }
7357
7358
7359 XS(XS_Wx__RichTextAttr_GetURL); /* prototype to pass -Wmissing-prototypes */
7360 XS(XS_Wx__RichTextAttr_GetURL)
7361 {
7362 #ifdef dVAR
7363     dVAR; dXSARGS;
7364 #else
7365     dXSARGS;
7366 #endif
7367     if (items != 1)
7368        croak_xs_usage(cv,  "THIS");
7369     {
7370         wxRichTextAttr *    THIS = (wxRichTextAttr *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::RichTextAttr" );
7371         wxString        RETVAL;
7372
7373         RETVAL = THIS->GetURL();
7374         ST(0) = sv_newmortal();
7375     WXSTRING_OUTPUT( RETVAL, ST(0) );
7376
7377     }
7378     XSRETURN(1);
7379 }
7380
7381 #endif
7382
7383 XS(XS_Wx__RichTextAttr_HasTextColour); /* prototype to pass -Wmissing-prototypes */
7384 XS(XS_Wx__RichTextAttr_HasTextColour)
7385 {
7386 #ifdef dVAR
7387     dVAR; dXSARGS;
7388 #else
7389     dXSARGS;
7390 #endif
7391     if (items != 1)
7392        croak_xs_usage(cv,  "THIS");
7393     {
7394         wxRichTextAttr *    THIS = (wxRichTextAttr *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::RichTextAttr" );
7395         bool    RETVAL;
7396
7397         RETVAL = THIS->HasTextColour();
7398         ST(0) = boolSV(RETVAL);
7399         sv_2mortal(ST(0));
7400     }
7401     XSRETURN(1);
7402 }
7403
7404
7405 XS(XS_Wx__RichTextAttr_HasBackgroundColour); /* prototype to pass -Wmissing-prototypes */
7406 XS(XS_Wx__RichTextAttr_HasBackgroundColour)
7407 {
7408 #ifdef dVAR
7409     dVAR; dXSARGS;
7410 #else
7411     dXSARGS;
7412 #endif
7413     if (items != 1)
7414        croak_xs_usage(cv,  "THIS");
7415     {
7416         wxRichTextAttr *    THIS = (wxRichTextAttr *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::RichTextAttr" );
7417         bool    RETVAL;
7418
7419         RETVAL = THIS->HasBackgroundColour();
7420         ST(0) = boolSV(RETVAL);
7421         sv_2mortal(ST(0));
7422     }
7423     XSRETURN(1);
7424 }
7425
7426
7427 XS(XS_Wx__RichTextAttr_HasAlignment); /* prototype to pass -Wmissing-prototypes */
7428 XS(XS_Wx__RichTextAttr_HasAlignment)
7429 {
7430 #ifdef dVAR
7431     dVAR; dXSARGS;
7432 #else
7433     dXSARGS;
7434 #endif
7435     if (items != 1)
7436        croak_xs_usage(cv,  "THIS");
7437     {
7438         wxRichTextAttr *    THIS = (wxRichTextAttr *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::RichTextAttr" );
7439         bool    RETVAL;
7440
7441         RETVAL = THIS->HasAlignment();
7442         ST(0) = boolSV(RETVAL);
7443         sv_2mortal(ST(0));
7444     }
7445     XSRETURN(1);
7446 }
7447
7448
7449 XS(XS_Wx__RichTextAttr_HasTabs); /* prototype to pass -Wmissing-prototypes */
7450 XS(XS_Wx__RichTextAttr_HasTabs)
7451 {
7452 #ifdef dVAR
7453     dVAR; dXSARGS;
7454 #else
7455     dXSARGS;
7456 #endif
7457     if (items != 1)
7458        croak_xs_usage(cv,  "THIS");
7459     {
7460         wxRichTextAttr *    THIS = (wxRichTextAttr *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::RichTextAttr" );
7461         bool    RETVAL;
7462
7463         RETVAL = THIS->HasTabs();
7464         ST(0) = boolSV(RETVAL);
7465         sv_2mortal(ST(0));
7466     }
7467     XSRETURN(1);
7468 }
7469
7470
7471 XS(XS_Wx__RichTextAttr_HasLeftIndent); /* prototype to pass -Wmissing-prototypes */
7472 XS(XS_Wx__RichTextAttr_HasLeftIndent)
7473 {
7474 #ifdef dVAR
7475     dVAR; dXSARGS;
7476 #else
7477     dXSARGS;
7478 #endif
7479     if (items != 1)
7480        croak_xs_usage(cv,  "THIS");
7481     {
7482         wxRichTextAttr *    THIS = (wxRichTextAttr *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::RichTextAttr" );
7483         bool    RETVAL;
7484
7485         RETVAL = THIS->HasLeftIndent();
7486         ST(0) = boolSV(RETVAL);
7487         sv_2mortal(ST(0));
7488     }
7489     XSRETURN(1);
7490 }
7491
7492
7493 XS(XS_Wx__RichTextAttr_HasRightIndent); /* prototype to pass -Wmissing-prototypes */
7494 XS(XS_Wx__RichTextAttr_HasRightIndent)
7495 {
7496 #ifdef dVAR
7497     dVAR; dXSARGS;
7498 #else
7499     dXSARGS;
7500 #endif
7501     if (items != 1)
7502        croak_xs_usage(cv,  "THIS");
7503     {
7504         wxRichTextAttr *    THIS = (wxRichTextAttr *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::RichTextAttr" );
7505         bool    RETVAL;
7506
7507         RETVAL = THIS->HasRightIndent();
7508         ST(0) = boolSV(RETVAL);
7509         sv_2mortal(ST(0));
7510     }
7511     XSRETURN(1);
7512 }
7513
7514 #if WXPERL_W_VERSION_LT( 2, 8, 0 )
7515 #define XSubPPtmpAABM 1
7516
7517
7518 XS(XS_Wx__RichTextAttr_HasWeight); /* prototype to pass -Wmissing-prototypes */
7519 XS(XS_Wx__RichTextAttr_HasWeight)
7520 {
7521 #ifdef dVAR
7522     dVAR; dXSARGS;
7523 #else
7524     dXSARGS;
7525 #endif
7526     if (items != 1)
7527        croak_xs_usage(cv,  "THIS");
7528     {
7529         wxRichTextAttr *    THIS = (wxRichTextAttr *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::RichTextAttr" );
7530         bool    RETVAL;
7531
7532         RETVAL = THIS->HasWeight();
7533         ST(0) = boolSV(RETVAL);
7534         sv_2mortal(ST(0));
7535     }
7536     XSRETURN(1);
7537 }
7538
7539
7540 XS(XS_Wx__RichTextAttr_HasSize); /* prototype to pass -Wmissing-prototypes */
7541 XS(XS_Wx__RichTextAttr_HasSize)
7542 {
7543 #ifdef dVAR
7544     dVAR; dXSARGS;
7545 #else
7546     dXSARGS;
7547 #endif
7548     if (items != 1)
7549        croak_xs_usage(cv,  "THIS");
7550     {
7551         wxRichTextAttr *    THIS = (wxRichTextAttr *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::RichTextAttr" );
7552         bool    RETVAL;
7553
7554         RETVAL = THIS->HasSize();
7555         ST(0) = boolSV(RETVAL);
7556         sv_2mortal(ST(0));
7557     }
7558     XSRETURN(1);
7559 }
7560
7561
7562 XS(XS_Wx__RichTextAttr_HasItalic); /* prototype to pass -Wmissing-prototypes */
7563 XS(XS_Wx__RichTextAttr_HasItalic)
7564 {
7565 #ifdef dVAR
7566     dVAR; dXSARGS;
7567 #else
7568     dXSARGS;
7569 #endif
7570     if (items != 1)
7571        croak_xs_usage(cv,  "THIS");
7572     {
7573         wxRichTextAttr *    THIS = (wxRichTextAttr *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::RichTextAttr" );
7574         bool    RETVAL;
7575
7576         RETVAL = THIS->HasItalic();
7577         ST(0) = boolSV(RETVAL);
7578         sv_2mortal(ST(0));
7579     }
7580     XSRETURN(1);
7581 }
7582
7583
7584 XS(XS_Wx__RichTextAttr_HasUnderlined); /* prototype to pass -Wmissing-prototypes */
7585 XS(XS_Wx__RichTextAttr_HasUnderlined)
7586 {
7587 #ifdef dVAR
7588     dVAR; dXSARGS;
7589 #else
7590     dXSARGS;
7591 #endif
7592     if (items != 1)
7593        croak_xs_usage(cv,  "THIS");
7594     {
7595         wxRichTextAttr *    THIS = (wxRichTextAttr *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::RichTextAttr" );
7596         bool    RETVAL;
7597
7598         RETVAL = THIS->HasUnderlined();
7599         ST(0) = boolSV(RETVAL);
7600         sv_2mortal(ST(0));
7601     }
7602     XSRETURN(1);
7603 }
7604
7605
7606 XS(XS_Wx__RichTextAttr_HasFaceName); /* prototype to pass -Wmissing-prototypes */
7607 XS(XS_Wx__RichTextAttr_HasFaceName)
7608 {
7609 #ifdef dVAR
7610     dVAR; dXSARGS;
7611 #else
7612     dXSARGS;
7613 #endif
7614     if (items != 1)
7615        croak_xs_usage(cv,  "THIS");
7616     {
7617         wxRichTextAttr *    THIS = (wxRichTextAttr *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::RichTextAttr" );
7618         bool    RETVAL;
7619
7620         RETVAL = THIS->HasFaceName();
7621         ST(0) = boolSV(RETVAL);
7622         sv_2mortal(ST(0));
7623     }
7624     XSRETURN(1);
7625 }
7626
7627 #endif
7628
7629 XS(XS_Wx__RichTextAttr_HasFont); /* prototype to pass -Wmissing-prototypes */
7630 XS(XS_Wx__RichTextAttr_HasFont)
7631 {
7632 #ifdef dVAR
7633     dVAR; dXSARGS;
7634 #else
7635     dXSARGS;
7636 #endif
7637     if (items != 1)
7638        croak_xs_usage(cv,  "THIS");
7639     {
7640         wxRichTextAttr *    THIS = (wxRichTextAttr *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::RichTextAttr" );
7641         bool    RETVAL;
7642
7643         RETVAL = THIS->HasFont();
7644         ST(0) = boolSV(RETVAL);
7645         sv_2mortal(ST(0));
7646     }
7647     XSRETURN(1);
7648 }
7649
7650
7651 XS(XS_Wx__RichTextAttr_HasParagraphSpacingAfter); /* prototype to pass -Wmissing-prototypes */
7652 XS(XS_Wx__RichTextAttr_HasParagraphSpacingAfter)
7653 {
7654 #ifdef dVAR
7655     dVAR; dXSARGS;
7656 #else
7657     dXSARGS;
7658 #endif
7659     if (items != 1)
7660        croak_xs_usage(cv,  "THIS");
7661     {
7662         wxRichTextAttr *    THIS = (wxRichTextAttr *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::RichTextAttr" );
7663         bool    RETVAL;
7664
7665         RETVAL = THIS->HasParagraphSpacingAfter();
7666         ST(0) = boolSV(RETVAL);
7667         sv_2mortal(ST(0));
7668     }
7669     XSRETURN(1);
7670 }
7671
7672
7673 XS(XS_Wx__RichTextAttr_HasParagraphSpacingBefore); /* prototype to pass -Wmissing-prototypes */
7674 XS(XS_Wx__RichTextAttr_HasParagraphSpacingBefore)
7675 {
7676 #ifdef dVAR
7677     dVAR; dXSARGS;
7678 #else
7679     dXSARGS;
7680 #endif
7681     if (items != 1)
7682        croak_xs_usage(cv,  "THIS");
7683     {
7684         wxRichTextAttr *    THIS = (wxRichTextAttr *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::RichTextAttr" );
7685         bool    RETVAL;
7686
7687         RETVAL = THIS->HasParagraphSpacingBefore();
7688         ST(0) = boolSV(RETVAL);
7689         sv_2mortal(ST(0));
7690     }
7691     XSRETURN(1);
7692 }
7693
7694
7695 XS(XS_Wx__RichTextAttr_HasLineSpacing); /* prototype to pass -Wmissing-prototypes */
7696 XS(XS_Wx__RichTextAttr_HasLineSpacing)
7697 {
7698 #ifdef dVAR
7699     dVAR; dXSARGS;
7700 #else
7701     dXSARGS;
7702 #endif
7703     if (items != 1)
7704        croak_xs_usage(cv,  "THIS");
7705     {
7706         wxRichTextAttr *    THIS = (wxRichTextAttr *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::RichTextAttr" );
7707         bool    RETVAL;
7708
7709         RETVAL = THIS->HasLineSpacing();
7710         ST(0) = boolSV(RETVAL);
7711         sv_2mortal(ST(0));
7712     }
7713     XSRETURN(1);
7714 }
7715
7716
7717 XS(XS_Wx__RichTextAttr_HasCharacterStyleName); /* prototype to pass -Wmissing-prototypes */
7718 XS(XS_Wx__RichTextAttr_HasCharacterStyleName)
7719 {
7720 #ifdef dVAR
7721     dVAR; dXSARGS;
7722 #else
7723     dXSARGS;
7724 #endif
7725     if (items != 1)
7726        croak_xs_usage(cv,  "THIS");
7727     {
7728         wxRichTextAttr *    THIS = (wxRichTextAttr *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::RichTextAttr" );
7729         bool    RETVAL;
7730
7731         RETVAL = THIS->HasCharacterStyleName();
7732         ST(0) = boolSV(RETVAL);
7733         sv_2mortal(ST(0));
7734     }
7735     XSRETURN(1);
7736 }
7737
7738
7739 XS(XS_Wx__RichTextAttr_HasParagraphStyleName); /* prototype to pass -Wmissing-prototypes */
7740 XS(XS_Wx__RichTextAttr_HasParagraphStyleName)
7741 {
7742 #ifdef dVAR
7743     dVAR; dXSARGS;
7744 #else
7745     dXSARGS;
7746 #endif
7747     if (items != 1)
7748        croak_xs_usage(cv,  "THIS");
7749     {
7750         wxRichTextAttr *    THIS = (wxRichTextAttr *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::RichTextAttr" );
7751         bool    RETVAL;
7752
7753         RETVAL = THIS->HasParagraphStyleName();
7754         ST(0) = boolSV(RETVAL);
7755         sv_2mortal(ST(0));
7756     }
7757     XSRETURN(1);
7758 }
7759
7760 #if WXPERL_W_VERSION_GE( 2, 7, 2 )
7761 #define XSubPPtmpAABN 1
7762
7763
7764 XS(XS_Wx__RichTextAttr_HasListStyleName); /* prototype to pass -Wmissing-prototypes */
7765 XS(XS_Wx__RichTextAttr_HasListStyleName)
7766 {
7767 #ifdef dVAR
7768     dVAR; dXSARGS;
7769 #else
7770     dXSARGS;
7771 #endif
7772     if (items != 1)
7773        croak_xs_usage(cv,  "THIS");
7774     {
7775         wxRichTextAttr *    THIS = (wxRichTextAttr *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::RichTextAttr" );
7776         bool    RETVAL;
7777
7778         RETVAL = THIS->HasListStyleName();
7779         ST(0) = boolSV(RETVAL);
7780         sv_2mortal(ST(0));
7781     }
7782     XSRETURN(1);
7783 }
7784
7785 #endif
7786
7787 XS(XS_Wx__RichTextAttr_HasBulletStyle); /* prototype to pass -Wmissing-prototypes */
7788 XS(XS_Wx__RichTextAttr_HasBulletStyle)
7789 {
7790 #ifdef dVAR
7791     dVAR; dXSARGS;
7792 #else
7793     dXSARGS;
7794 #endif
7795     if (items != 1)
7796        croak_xs_usage(cv,  "THIS");
7797     {
7798         wxRichTextAttr *    THIS = (wxRichTextAttr *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::RichTextAttr" );
7799         bool    RETVAL;
7800
7801         RETVAL = THIS->HasBulletStyle();
7802         ST(0) = boolSV(RETVAL);
7803         sv_2mortal(ST(0));
7804     }
7805     XSRETURN(1);
7806 }
7807
7808
7809 XS(XS_Wx__RichTextAttr_HasBulletNumber); /* prototype to pass -Wmissing-prototypes */
7810 XS(XS_Wx__RichTextAttr_HasBulletNumber)
7811 {
7812 #ifdef dVAR
7813     dVAR; dXSARGS;
7814 #else
7815     dXSARGS;
7816 #endif
7817     if (items != 1)
7818        croak_xs_usage(cv,  "THIS");
7819     {
7820         wxRichTextAttr *    THIS = (wxRichTextAttr *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::RichTextAttr" );
7821         bool    RETVAL;
7822
7823         RETVAL = THIS->HasBulletNumber();
7824         ST(0) = boolSV(RETVAL);
7825         sv_2mortal(ST(0));
7826     }
7827     XSRETURN(1);
7828 }
7829
7830 #if WXPERL_W_VERSION_GE( 2, 7, 2 )
7831 #define XSubPPtmpAABO 1
7832
7833
7834 XS(XS_Wx__RichTextAttr_HasBulletText); /* prototype to pass -Wmissing-prototypes */
7835 XS(XS_Wx__RichTextAttr_HasBulletText)
7836 {
7837 #ifdef dVAR
7838     dVAR; dXSARGS;
7839 #else
7840     dXSARGS;
7841 #endif
7842     if (items != 1)
7843        croak_xs_usage(cv,  "THIS");
7844     {
7845         wxRichTextAttr *    THIS = (wxRichTextAttr *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::RichTextAttr" );
7846         bool    RETVAL;
7847
7848         RETVAL = THIS->HasBulletText();
7849         ST(0) = boolSV(RETVAL);
7850         sv_2mortal(ST(0));
7851     }
7852     XSRETURN(1);
7853 }
7854
7855
7856 XS(XS_Wx__RichTextAttr_HasBulletName); /* prototype to pass -Wmissing-prototypes */
7857 XS(XS_Wx__RichTextAttr_HasBulletName)
7858 {
7859 #ifdef dVAR
7860     dVAR; dXSARGS;
7861 #else
7862     dXSARGS;
7863 #endif
7864     if (items != 1)
7865        croak_xs_usage(cv,  "THIS");
7866     {
7867         wxRichTextAttr *    THIS = (wxRichTextAttr *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::RichTextAttr" );
7868         bool    RETVAL;
7869
7870         RETVAL = THIS->HasBulletName();
7871         ST(0) = boolSV(RETVAL);
7872         sv_2mortal(ST(0));
7873     }
7874     XSRETURN(1);
7875 }
7876
7877
7878 XS(XS_Wx__RichTextAttr_HasURL); /* prototype to pass -Wmissing-prototypes */
7879 XS(XS_Wx__RichTextAttr_HasURL)
7880 {
7881 #ifdef dVAR
7882     dVAR; dXSARGS;
7883 #else
7884     dXSARGS;
7885 #endif
7886     if (items != 1)
7887        croak_xs_usage(cv,  "THIS");
7888     {
7889         wxRichTextAttr *    THIS = (wxRichTextAttr *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::RichTextAttr" );
7890         bool    RETVAL;
7891
7892         RETVAL = THIS->HasURL();
7893         ST(0) = boolSV(RETVAL);
7894         sv_2mortal(ST(0));
7895     }
7896     XSRETURN(1);
7897 }
7898
7899
7900 XS(XS_Wx__RichTextAttr_HasPageBreak); /* prototype to pass -Wmissing-prototypes */
7901 XS(XS_Wx__RichTextAttr_HasPageBreak)
7902 {
7903 #ifdef dVAR
7904     dVAR; dXSARGS;
7905 #else
7906     dXSARGS;
7907 #endif
7908     if (items != 1)
7909        croak_xs_usage(cv,  "THIS");
7910     {
7911         wxRichTextAttr *    THIS = (wxRichTextAttr *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::RichTextAttr" );
7912         bool    RETVAL;
7913
7914         RETVAL = THIS->HasPageBreak();
7915         ST(0) = boolSV(RETVAL);
7916         sv_2mortal(ST(0));
7917     }
7918     XSRETURN(1);
7919 }
7920
7921 #endif
7922
7923 XS(XS_Wx__RichTextAttr_IsCharacterStyle); /* prototype to pass -Wmissing-prototypes */
7924 XS(XS_Wx__RichTextAttr_IsCharacterStyle)
7925 {
7926 #ifdef dVAR
7927     dVAR; dXSARGS;
7928 #else
7929     dXSARGS;
7930 #endif
7931     if (items != 1)
7932        croak_xs_usage(cv,  "THIS");
7933     {
7934         wxRichTextAttr *    THIS = (wxRichTextAttr *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::RichTextAttr" );
7935         bool    RETVAL;
7936
7937         RETVAL = THIS->IsCharacterStyle();
7938         ST(0) = boolSV(RETVAL);
7939         sv_2mortal(ST(0));
7940     }
7941     XSRETURN(1);
7942 }
7943
7944
7945 XS(XS_Wx__RichTextAttr_IsParagraphStyle); /* prototype to pass -Wmissing-prototypes */
7946 XS(XS_Wx__RichTextAttr_IsParagraphStyle)
7947 {
7948 #ifdef dVAR
7949     dVAR; dXSARGS;
7950 #else
7951     dXSARGS;
7952 #endif
7953     if (items != 1)
7954        croak_xs_usage(cv,  "THIS");
7955     {
7956         wxRichTextAttr *    THIS = (wxRichTextAttr *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::RichTextAttr" );
7957         bool    RETVAL;
7958
7959         RETVAL = THIS->IsParagraphStyle();
7960         ST(0) = boolSV(RETVAL);
7961         sv_2mortal(ST(0));
7962     }
7963     XSRETURN(1);
7964 }
7965
7966
7967 XS(XS_Wx__RichTextAttr_IsDefault); /* prototype to pass -Wmissing-prototypes */
7968 XS(XS_Wx__RichTextAttr_IsDefault)
7969 {
7970 #ifdef dVAR
7971     dVAR; dXSARGS;
7972 #else
7973     dXSARGS;
7974 #endif
7975     if (items != 1)
7976        croak_xs_usage(cv,  "THIS");
7977     {
7978         wxRichTextAttr *    THIS = (wxRichTextAttr *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::RichTextAttr" );
7979         bool    RETVAL;
7980
7981         RETVAL = THIS->IsDefault();
7982         ST(0) = boolSV(RETVAL);
7983         sv_2mortal(ST(0));
7984     }
7985     XSRETURN(1);
7986 }
7987
7988
7989 XS(XS_Wx__RichTextAttr_new); /* prototype to pass -Wmissing-prototypes */
7990 XS(XS_Wx__RichTextAttr_new)
7991 {
7992 #ifdef dVAR
7993     dVAR; dXSARGS;
7994 #else
7995     dXSARGS;
7996 #endif
7997     if (items < 1)
7998        croak_xs_usage(cv,  "CLASS, ...");
7999     PERL_UNUSED_VAR(ax); /* -Wall */
8000     SP -= items;
8001     {
8002         char *  CLASS = (char *)SvPV_nolen(ST(0));
8003     BEGIN_OVERLOAD()
8004         MATCH_VOIDM_REDISP( newDefault )
8005         MATCH_REDISP( wxPliOvl_wrta, newCopy )
8006         MATCH_REDISP( wxPliOvl_wtae, newAttrEx )
8007         MATCH_REDISP( wxPliOvl_wtat, newAttr )
8008         MATCH_REDISP_COUNT_ALLOWMORE( wxPliOvl_wcol_wcol_n, newFull, 2 )
8009     END_OVERLOAD( Wx::RichTextAttr::new )
8010         PUTBACK;
8011         return;
8012     }
8013 }
8014
8015
8016 XS(XS_Wx__RichTextAttr_GetTabs); /* prototype to pass -Wmissing-prototypes */
8017 XS(XS_Wx__RichTextAttr_GetTabs)
8018 {
8019 #ifdef dVAR
8020     dVAR; dXSARGS;
8021 #else
8022     dXSARGS;
8023 #endif
8024     if (items != 1)
8025        croak_xs_usage(cv,  "THIS");
8026     PERL_UNUSED_VAR(ax); /* -Wall */
8027     SP -= items;
8028     {
8029         wxRichTextAttr *    THIS = (wxRichTextAttr *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::RichTextAttr" );
8030     const wxArrayInt& tabs = THIS->GetTabs();
8031     PUTBACK;
8032     wxPli_intarray_push( aTHX_ tabs );
8033     SPAGAIN;
8034         PUTBACK;
8035         return;
8036     }
8037 }
8038
8039
8040 /* INCLUDE: Returning to 'RichText.xs' from 'perl -MExtUtils::XSpp::Cmd -e xspp -- -t typemap.xsp -t ../../typemap.xsp XS/RichTextAttr.xsp |' */
8041
8042
8043 /* INCLUDE:  Including 'perl -MExtUtils::XSpp::Cmd -e xspp -- -t typemap.xsp -t ../../typemap.xsp XS/RichTextStyle.xsp |' from 'RichText.xs' */
8044
8045 #include <wx/richtext/richtextstyles.h>
8046
8047 XS(XS_Wx__RichTextStyleDefinition_CLONE); /* prototype to pass -Wmissing-prototypes */
8048 XS(XS_Wx__RichTextStyleDefinition_CLONE)
8049 {
8050 #ifdef dVAR
8051     dVAR; dXSARGS;
8052 #else
8053     dXSARGS;
8054 #endif
8055     if (items != 1)
8056        croak_xs_usage(cv,  "CLASS");
8057     {
8058         char *  CLASS = (char *)SvPV_nolen(ST(0));
8059     wxPli_thread_sv_clone( aTHX_ CLASS, (wxPliCloneSV)wxPli_detach_object );
8060     }
8061     XSRETURN_EMPTY;
8062 }
8063
8064
8065 XS(XS_Wx__RichTextStyleDefinition_DESTROY); /* prototype to pass -Wmissing-prototypes */
8066 XS(XS_Wx__RichTextStyleDefinition_DESTROY)
8067 {
8068 #ifdef dVAR
8069     dVAR; dXSARGS;
8070 #else
8071     dXSARGS;
8072 #endif
8073     if (items != 1)
8074        croak_xs_usage(cv,  "THIS");
8075     {
8076         wxRichTextStyleDefinition *    THIS = (wxRichTextStyleDefinition *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::RichTextStyleDefinition" );
8077       wxPli_thread_sv_unregister( aTHX_ wxPli_get_class( aTHX_ ST(0) ), THIS, ST(0) );
8078                  if( wxPli_object_is_deleteable( aTHX_ ST(0) ) )
8079                      delete THIS;
8080     }
8081     XSRETURN_EMPTY;
8082 }
8083
8084 #if WXPERL_W_VERSION_GE( 2, 7, 1 )
8085 #define XSubPPtmpAABP 1
8086
8087
8088 XS(XS_Wx__RichTextStyleDefinition_Copy); /* prototype to pass -Wmissing-prototypes */
8089 XS(XS_Wx__RichTextStyleDefinition_Copy)
8090 {
8091 #ifdef dVAR
8092     dVAR; dXSARGS;
8093 #else
8094     dXSARGS;
8095 #endif
8096     if (items != 2)
8097        croak_xs_usage(cv,  "THIS, def");
8098     {
8099         wxRichTextStyleDefinition*    def = (wxRichTextStyleDefinition *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::RichTextStyleDefinition" );
8100         wxRichTextStyleDefinition *    THIS = (wxRichTextStyleDefinition *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::RichTextStyleDefinition" );
8101     THIS->Copy( *( def ) );
8102     }
8103     XSRETURN_EMPTY;
8104 }
8105
8106
8107 XS(XS_Wx__RichTextStyleDefinition_Eq); /* prototype to pass -Wmissing-prototypes */
8108 XS(XS_Wx__RichTextStyleDefinition_Eq)
8109 {
8110 #ifdef dVAR
8111     dVAR; dXSARGS;
8112 #else
8113     dXSARGS;
8114 #endif
8115     if (items != 2)
8116        croak_xs_usage(cv,  "THIS, def");
8117     {
8118         wxRichTextStyleDefinition*    def = (wxRichTextStyleDefinition *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::RichTextStyleDefinition" );
8119         wxRichTextStyleDefinition *    THIS = (wxRichTextStyleDefinition *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::RichTextStyleDefinition" );
8120         bool    RETVAL;
8121     RETVAL = THIS->Eq( *( def ) );
8122         ST(0) = boolSV(RETVAL);
8123         sv_2mortal(ST(0));
8124     }
8125     XSRETURN(1);
8126 }
8127
8128 #endif
8129
8130 XS(XS_Wx__RichTextStyleDefinition_SetName); /* prototype to pass -Wmissing-prototypes */
8131 XS(XS_Wx__RichTextStyleDefinition_SetName)
8132 {
8133 #ifdef dVAR
8134     dVAR; dXSARGS;
8135 #else
8136     dXSARGS;
8137 #endif
8138     if (items != 2)
8139        croak_xs_usage(cv,  "THIS, name");
8140     {
8141         wxString        name;
8142         wxRichTextStyleDefinition *    THIS = (wxRichTextStyleDefinition *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::RichTextStyleDefinition" );
8143
8144     WXSTRING_INPUT( name, wxString, ST(1) );
8145
8146         THIS->SetName(name);
8147     }
8148     XSRETURN_EMPTY;
8149 }
8150
8151
8152 XS(XS_Wx__RichTextStyleDefinition_GetName); /* prototype to pass -Wmissing-prototypes */
8153 XS(XS_Wx__RichTextStyleDefinition_GetName)
8154 {
8155 #ifdef dVAR
8156     dVAR; dXSARGS;
8157 #else
8158     dXSARGS;
8159 #endif
8160     if (items != 1)
8161        croak_xs_usage(cv,  "THIS");
8162     {
8163         wxRichTextStyleDefinition *    THIS = (wxRichTextStyleDefinition *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::RichTextStyleDefinition" );
8164         wxString        RETVAL;
8165
8166         RETVAL = THIS->GetName();
8167         ST(0) = sv_newmortal();
8168     WXSTRING_OUTPUT( RETVAL, ST(0) );
8169
8170     }
8171     XSRETURN(1);
8172 }
8173
8174 #if WXPERL_W_VERSION_GE( 2, 8, 0 )
8175 #define XSubPPtmpAABQ 1
8176
8177
8178 XS(XS_Wx__RichTextStyleDefinition_SetDescription); /* prototype to pass -Wmissing-prototypes */
8179 XS(XS_Wx__RichTextStyleDefinition_SetDescription)
8180 {
8181 #ifdef dVAR
8182     dVAR; dXSARGS;
8183 #else
8184     dXSARGS;
8185 #endif
8186     if (items != 2)
8187        croak_xs_usage(cv,  "THIS, descr");
8188     {
8189         wxString        descr;
8190         wxRichTextStyleDefinition *    THIS = (wxRichTextStyleDefinition *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::RichTextStyleDefinition" );
8191
8192     WXSTRING_INPUT( descr, wxString, ST(1) );
8193
8194         THIS->SetDescription(descr);
8195     }
8196     XSRETURN_EMPTY;
8197 }
8198
8199
8200 XS(XS_Wx__RichTextStyleDefinition_GetDescription); /* prototype to pass -Wmissing-prototypes */
8201 XS(XS_Wx__RichTextStyleDefinition_GetDescription)
8202 {
8203 #ifdef dVAR
8204     dVAR; dXSARGS;
8205 #else
8206     dXSARGS;
8207 #endif
8208     if (items != 1)
8209        croak_xs_usage(cv,  "THIS");
8210     {
8211         wxRichTextStyleDefinition *    THIS = (wxRichTextStyleDefinition *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::RichTextStyleDefinition" );
8212         wxString        RETVAL;
8213
8214         RETVAL = THIS->GetDescription();
8215         ST(0) = sv_newmortal();
8216     WXSTRING_OUTPUT( RETVAL, ST(0) );
8217
8218     }
8219     XSRETURN(1);
8220 }
8221
8222 #endif
8223
8224 XS(XS_Wx__RichTextStyleDefinition_SetBaseStyle); /* prototype to pass -Wmissing-prototypes */
8225 XS(XS_Wx__RichTextStyleDefinition_SetBaseStyle)
8226 {
8227 #ifdef dVAR
8228     dVAR; dXSARGS;
8229 #else
8230     dXSARGS;
8231 #endif
8232     if (items != 2)
8233        croak_xs_usage(cv,  "THIS, name");
8234     {
8235         wxString        name;
8236         wxRichTextStyleDefinition *    THIS = (wxRichTextStyleDefinition *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::RichTextStyleDefinition" );
8237
8238     WXSTRING_INPUT( name, wxString, ST(1) );
8239
8240         THIS->SetBaseStyle(name);
8241     }
8242     XSRETURN_EMPTY;
8243 }
8244
8245
8246 XS(XS_Wx__RichTextStyleDefinition_GetBaseStyle); /* prototype to pass -Wmissing-prototypes */
8247 XS(XS_Wx__RichTextStyleDefinition_GetBaseStyle)
8248 {
8249 #ifdef dVAR
8250     dVAR; dXSARGS;
8251 #else
8252     dXSARGS;
8253 #endif
8254     if (items != 1)
8255        croak_xs_usage(cv,  "THIS");
8256     {
8257         wxRichTextStyleDefinition *    THIS = (wxRichTextStyleDefinition *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::RichTextStyleDefinition" );
8258         wxString        RETVAL;
8259
8260         RETVAL = THIS->GetBaseStyle();
8261         ST(0) = sv_newmortal();
8262     WXSTRING_OUTPUT( RETVAL, ST(0) );
8263
8264     }
8265     XSRETURN(1);
8266 }
8267
8268
8269 XS(XS_Wx__RichTextStyleDefinition_SetStyle); /* prototype to pass -Wmissing-prototypes */
8270 XS(XS_Wx__RichTextStyleDefinition_SetStyle)
8271 {
8272 #ifdef dVAR
8273     dVAR; dXSARGS;
8274 #else
8275     dXSARGS;
8276 #endif
8277     if (items != 2)
8278        croak_xs_usage(cv,  "THIS, style");
8279     {
8280         wxRichTextAttr*    style = (wxRichTextAttr *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::RichTextAttr" );
8281         wxRichTextStyleDefinition *    THIS = (wxRichTextStyleDefinition *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::RichTextStyleDefinition" );
8282     THIS->SetStyle( *( style ) );
8283     }
8284     XSRETURN_EMPTY;
8285 }
8286
8287
8288 XS(XS_Wx__RichTextStyleDefinition_GetStyle); /* prototype to pass -Wmissing-prototypes */
8289 XS(XS_Wx__RichTextStyleDefinition_GetStyle)
8290 {
8291 #ifdef dVAR
8292     dVAR; dXSARGS;
8293 #else
8294     dXSARGS;
8295 #endif
8296     if (items != 1)
8297        croak_xs_usage(cv,  "THIS");
8298     {
8299         wxRichTextStyleDefinition *    THIS = (wxRichTextStyleDefinition *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::RichTextStyleDefinition" );
8300         wxRichTextAttr *        RETVAL;
8301     RETVAL = new wxRichTextAttr( THIS->GetStyle() );
8302         ST(0) = sv_newmortal();
8303     wxPli_non_object_2_sv( aTHX_ ST(0), RETVAL, "Wx::RichTextAttr" );
8304     wxPli_thread_sv_register( aTHX_ "Wx::RichTextAttr", RETVAL, ST(0) );
8305
8306     }
8307     XSRETURN(1);
8308 }
8309
8310 #if WXPERL_W_VERSION_GE( 2, 8, 0 )
8311 #define XSubPPtmpAABR 1
8312
8313
8314 XS(XS_Wx__RichTextStyleDefinition_GetStyleMergedWithBase); /* prototype to pass -Wmissing-prototypes */
8315 XS(XS_Wx__RichTextStyleDefinition_GetStyleMergedWithBase)
8316 {
8317 #ifdef dVAR
8318     dVAR; dXSARGS;
8319 #else
8320     dXSARGS;
8321 #endif
8322     if (items != 2)
8323        croak_xs_usage(cv,  "THIS, sheet");
8324     {
8325         wxRichTextStyleSheet*    sheet = (wxRichTextStyleSheet *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::RichTextStyleSheet" );
8326         wxRichTextStyleDefinition *    THIS = (wxRichTextStyleDefinition *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::RichTextStyleDefinition" );
8327         wxTextAttr *    RETVAL;
8328     RETVAL = new wxTextAttr( THIS->GetStyleMergedWithBase( sheet ) );
8329         ST(0) = sv_newmortal();
8330     wxPli_non_object_2_sv( aTHX_ ST(0), RETVAL, "Wx::TextAttr" );
8331     wxPli_thread_sv_register( aTHX_ "Wx::TextAttr", RETVAL, ST(0) );
8332
8333     }
8334     XSRETURN(1);
8335 }
8336
8337 #endif
8338
8339 XS(XS_Wx__RichTextCharacterStyleDefinition_new); /* prototype to pass -Wmissing-prototypes */
8340 XS(XS_Wx__RichTextCharacterStyleDefinition_new)
8341 {
8342 #ifdef dVAR
8343     dVAR; dXSARGS;
8344 #else
8345     dXSARGS;
8346 #endif
8347     if (items < 1 || items > 2)
8348        croak_xs_usage(cv,  "CLASS, name = wxEmptyString");
8349     {
8350         wxString        name;
8351         char *  CLASS = (char *)SvPV_nolen(ST(0));
8352         wxRichTextCharacterStyleDefinition *    RETVAL;
8353
8354         if (items < 2)
8355             name = wxEmptyString;
8356         else {
8357     WXSTRING_INPUT( name, wxString, ST(1) );
8358         }
8359
8360         RETVAL = new wxRichTextCharacterStyleDefinition(name);
8361         ST(0) = sv_newmortal();
8362     wxPli_object_2_sv( aTHX_ ST(0), RETVAL );
8363     wxPli_thread_sv_register( aTHX_ "Wx::RichTextCharacterStyleDefinition", RETVAL, ST(0) );
8364
8365     }
8366     XSRETURN(1);
8367 }
8368
8369
8370 XS(XS_Wx__RichTextParagraphStyleDefinition_new); /* prototype to pass -Wmissing-prototypes */
8371 XS(XS_Wx__RichTextParagraphStyleDefinition_new)
8372 {
8373 #ifdef dVAR
8374     dVAR; dXSARGS;
8375 #else
8376     dXSARGS;
8377 #endif
8378     if (items < 1 || items > 2)
8379        croak_xs_usage(cv,  "CLASS, name = wxEmptyString");
8380     {
8381         wxString        name;
8382         char *  CLASS = (char *)SvPV_nolen(ST(0));
8383         wxRichTextParagraphStyleDefinition *    RETVAL;
8384
8385         if (items < 2)
8386             name = wxEmptyString;
8387         else {
8388     WXSTRING_INPUT( name, wxString, ST(1) );
8389         }
8390
8391         RETVAL = new wxRichTextParagraphStyleDefinition(name);
8392         ST(0) = sv_newmortal();
8393     wxPli_object_2_sv( aTHX_ ST(0), RETVAL );
8394     wxPli_thread_sv_register( aTHX_ "Wx::RichTextParagraphStyleDefinition", RETVAL, ST(0) );
8395
8396     }
8397     XSRETURN(1);
8398 }
8399
8400 #if WXPERL_W_VERSION_GE( 2, 7, 1 )
8401 #define XSubPPtmpAABS 1
8402
8403
8404 XS(XS_Wx__RichTextParagraphStyleDefinition_Copy); /* prototype to pass -Wmissing-prototypes */
8405 XS(XS_Wx__RichTextParagraphStyleDefinition_Copy)
8406 {
8407 #ifdef dVAR
8408     dVAR; dXSARGS;
8409 #else
8410     dXSARGS;
8411 #endif
8412     if (items != 2)
8413        croak_xs_usage(cv,  "THIS, def");
8414     {
8415         wxRichTextParagraphStyleDefinition*    def = (wxRichTextParagraphStyleDefinition *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::RichTextParagraphStyleDefinition" );
8416         wxRichTextParagraphStyleDefinition *    THIS = (wxRichTextParagraphStyleDefinition *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::RichTextParagraphStyleDefinition" );
8417     THIS->Copy( *( def ) );
8418     }
8419     XSRETURN_EMPTY;
8420 }
8421
8422 #endif
8423
8424 XS(XS_Wx__RichTextParagraphStyleDefinition_SetNextStyle); /* prototype to pass -Wmissing-prototypes */
8425 XS(XS_Wx__RichTextParagraphStyleDefinition_SetNextStyle)
8426 {
8427 #ifdef dVAR
8428     dVAR; dXSARGS;
8429 #else
8430     dXSARGS;
8431 #endif
8432     if (items != 2)
8433        croak_xs_usage(cv,  "THIS, name");
8434     {
8435         wxString        name;
8436         wxRichTextParagraphStyleDefinition *    THIS = (wxRichTextParagraphStyleDefinition *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::RichTextParagraphStyleDefinition" );
8437
8438     WXSTRING_INPUT( name, wxString, ST(1) );
8439
8440         THIS->SetNextStyle(name);
8441     }
8442     XSRETURN_EMPTY;
8443 }
8444
8445
8446 XS(XS_Wx__RichTextParagraphStyleDefinition_GetNextStyle); /* prototype to pass -Wmissing-prototypes */
8447 XS(XS_Wx__RichTextParagraphStyleDefinition_GetNextStyle)
8448 {
8449 #ifdef dVAR
8450     dVAR; dXSARGS;
8451 #else
8452     dXSARGS;
8453 #endif
8454     if (items != 1)
8455        croak_xs_usage(cv,  "THIS");
8456     {
8457         wxRichTextParagraphStyleDefinition *    THIS = (wxRichTextParagraphStyleDefinition *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::RichTextParagraphStyleDefinition" );
8458         wxString        RETVAL;
8459
8460         RETVAL = THIS->GetNextStyle();
8461         ST(0) = sv_newmortal();
8462     WXSTRING_OUTPUT( RETVAL, ST(0) );
8463
8464     }
8465     XSRETURN(1);
8466 }
8467
8468 #if WXPERL_W_VERSION_GE( 2, 7, 2 )
8469 #define XSubPPtmpAABT 1
8470
8471
8472 XS(XS_Wx__RichTextListStyleDefinition_new); /* prototype to pass -Wmissing-prototypes */
8473 XS(XS_Wx__RichTextListStyleDefinition_new)
8474 {
8475 #ifdef dVAR
8476     dVAR; dXSARGS;
8477 #else
8478     dXSARGS;
8479 #endif
8480     if (items < 1 || items > 2)
8481        croak_xs_usage(cv,  "CLASS, name = wxEmptyString");
8482     {
8483         wxString        name;
8484         char *  CLASS = (char *)SvPV_nolen(ST(0));
8485         wxRichTextListStyleDefinition * RETVAL;
8486
8487         if (items < 2)
8488             name = wxEmptyString;
8489         else {
8490     WXSTRING_INPUT( name, wxString, ST(1) );
8491         }
8492
8493         RETVAL = new wxRichTextListStyleDefinition(name);
8494         ST(0) = sv_newmortal();
8495     wxPli_object_2_sv( aTHX_ ST(0), RETVAL );
8496     wxPli_thread_sv_register( aTHX_ "Wx::RichTextListStyleDefinition", RETVAL, ST(0) );
8497
8498     }
8499     XSRETURN(1);
8500 }
8501
8502
8503 XS(XS_Wx__RichTextListStyleDefinition_Copy); /* prototype to pass -Wmissing-prototypes */
8504 XS(XS_Wx__RichTextListStyleDefinition_Copy)
8505 {
8506 #ifdef dVAR
8507     dVAR; dXSARGS;
8508 #else
8509     dXSARGS;
8510 #endif
8511     if (items != 2)
8512        croak_xs_usage(cv,  "THIS, def");
8513     {
8514         wxRichTextListStyleDefinition*    def = (wxRichTextListStyleDefinition *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::RichTextListStyleDefinition" );
8515         wxRichTextListStyleDefinition *    THIS = (wxRichTextListStyleDefinition *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::RichTextListStyleDefinition" );
8516     THIS->Copy( *( def ) );
8517     }
8518     XSRETURN_EMPTY;
8519 }
8520
8521
8522 XS(XS_Wx__RichTextListStyleDefinition_SetLevelAttributes); /* prototype to pass -Wmissing-prototypes */
8523 XS(XS_Wx__RichTextListStyleDefinition_SetLevelAttributes)
8524 {
8525 #ifdef dVAR
8526     dVAR; dXSARGS;
8527 #else
8528     dXSARGS;
8529 #endif
8530     if (items != 3)
8531        croak_xs_usage(cv,  "THIS, i, attr");
8532     {
8533         int     i = (int)SvIV(ST(1));
8534         wxRichTextAttr*    attr = (wxRichTextAttr *) wxPli_sv_2_object( aTHX_ ST(2), "Wx::RichTextAttr" );
8535         wxRichTextListStyleDefinition *    THIS = (wxRichTextListStyleDefinition *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::RichTextListStyleDefinition" );
8536     THIS->SetLevelAttributes( i, *( attr ) );
8537     }
8538     XSRETURN_EMPTY;
8539 }
8540
8541
8542 XS(XS_Wx__RichTextListStyleDefinition_GetLevelAttributes); /* prototype to pass -Wmissing-prototypes */
8543 XS(XS_Wx__RichTextListStyleDefinition_GetLevelAttributes)
8544 {
8545 #ifdef dVAR
8546     dVAR; dXSARGS;
8547 #else
8548     dXSARGS;
8549 #endif
8550     if (items != 2)
8551        croak_xs_usage(cv,  "THIS, i");
8552     {
8553         int     i = (int)SvIV(ST(1));
8554         wxRichTextListStyleDefinition *    THIS = (wxRichTextListStyleDefinition *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::RichTextListStyleDefinition" );
8555         wxRichTextAttr *        RETVAL;
8556     RETVAL = THIS->GetLevelAttributes( i );
8557         ST(0) = sv_newmortal();
8558     wxPli_non_object_2_sv( aTHX_ ST(0), RETVAL, "Wx::RichTextAttr" );
8559     wxPli_thread_sv_register( aTHX_ "Wx::RichTextAttr", RETVAL, ST(0) );
8560
8561     wxPli_object_set_deleteable( aTHX_ ST(0), false );
8562     }
8563     XSRETURN(1);
8564 }
8565
8566
8567 XS(XS_Wx__RichTextListStyleDefinition_SetAttributes); /* prototype to pass -Wmissing-prototypes */
8568 XS(XS_Wx__RichTextListStyleDefinition_SetAttributes)
8569 {
8570 #ifdef dVAR
8571     dVAR; dXSARGS;
8572 #else
8573     dXSARGS;
8574 #endif
8575     if (items < 5 || items > 6)
8576        croak_xs_usage(cv,  "THIS, i, leftIndent, leftSubIndent, bulletStyle, bulletSymbol = wxEmptyString");
8577     {
8578         int     i = (int)SvIV(ST(1));
8579         int     leftIndent = (int)SvIV(ST(2));
8580         int     leftSubIndent = (int)SvIV(ST(3));
8581         int     bulletStyle = (int)SvIV(ST(4));
8582         wxString        bulletSymbol;
8583         wxRichTextListStyleDefinition *    THIS = (wxRichTextListStyleDefinition *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::RichTextListStyleDefinition" );
8584
8585         if (items < 6)
8586             bulletSymbol = wxEmptyString;
8587         else {
8588     WXSTRING_INPUT( bulletSymbol, wxString, ST(5) );
8589         }
8590
8591         THIS->SetAttributes(i, leftIndent, leftSubIndent, bulletStyle, bulletSymbol);
8592     }
8593     XSRETURN_EMPTY;
8594 }
8595
8596
8597 XS(XS_Wx__RichTextListStyleDefinition_FindLevelForIndent); /* prototype to pass -Wmissing-prototypes */
8598 XS(XS_Wx__RichTextListStyleDefinition_FindLevelForIndent)
8599 {
8600 #ifdef dVAR
8601     dVAR; dXSARGS;
8602 #else
8603     dXSARGS;
8604 #endif
8605     if (items != 2)
8606        croak_xs_usage(cv,  "THIS, indent");
8607     {
8608         int     indent = (int)SvIV(ST(1));
8609         wxRichTextListStyleDefinition *    THIS = (wxRichTextListStyleDefinition *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::RichTextListStyleDefinition" );
8610         int     RETVAL;
8611         dXSTARG;
8612
8613         RETVAL = THIS->FindLevelForIndent(indent);
8614         XSprePUSH; PUSHi((IV)RETVAL);
8615     }
8616     XSRETURN(1);
8617 }
8618
8619
8620 XS(XS_Wx__RichTextListStyleDefinition_CombineWithParagraphStyle); /* prototype to pass -Wmissing-prototypes */
8621 XS(XS_Wx__RichTextListStyleDefinition_CombineWithParagraphStyle)
8622 {
8623 #ifdef dVAR
8624     dVAR; dXSARGS;
8625 #else
8626     dXSARGS;
8627 #endif
8628     if (items != 3)
8629        croak_xs_usage(cv,  "THIS, indent, paraStyle");
8630     {
8631         int     indent = (int)SvIV(ST(1));
8632         wxRichTextAttr*    paraStyle = (wxRichTextAttr *) wxPli_sv_2_object( aTHX_ ST(2), "Wx::RichTextAttr" );
8633         wxRichTextListStyleDefinition *    THIS = (wxRichTextListStyleDefinition *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::RichTextListStyleDefinition" );
8634         wxRichTextAttr *        RETVAL;
8635     RETVAL = new wxRichTextAttr( THIS->CombineWithParagraphStyle( indent, *( paraStyle ) ) );
8636         ST(0) = sv_newmortal();
8637     wxPli_non_object_2_sv( aTHX_ ST(0), RETVAL, "Wx::RichTextAttr" );
8638     wxPli_thread_sv_register( aTHX_ "Wx::RichTextAttr", RETVAL, ST(0) );
8639
8640     }
8641     XSRETURN(1);
8642 }
8643
8644
8645 XS(XS_Wx__RichTextListStyleDefinition_GetCombinedStyle); /* prototype to pass -Wmissing-prototypes */
8646 XS(XS_Wx__RichTextListStyleDefinition_GetCombinedStyle)
8647 {
8648 #ifdef dVAR
8649     dVAR; dXSARGS;
8650 #else
8651     dXSARGS;
8652 #endif
8653     if (items != 2)
8654        croak_xs_usage(cv,  "THIS, indent");
8655     {
8656         int     indent = (int)SvIV(ST(1));
8657         wxRichTextListStyleDefinition *    THIS = (wxRichTextListStyleDefinition *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::RichTextListStyleDefinition" );
8658         wxRichTextAttr *        RETVAL;
8659     RETVAL = new wxRichTextAttr( THIS->GetCombinedStyle( indent ) );
8660         ST(0) = sv_newmortal();
8661     wxPli_non_object_2_sv( aTHX_ ST(0), RETVAL, "Wx::RichTextAttr" );
8662     wxPli_thread_sv_register( aTHX_ "Wx::RichTextAttr", RETVAL, ST(0) );
8663
8664     }
8665     XSRETURN(1);
8666 }
8667
8668
8669 XS(XS_Wx__RichTextListStyleDefinition_GetCombinedStyleForLevel); /* prototype to pass -Wmissing-prototypes */
8670 XS(XS_Wx__RichTextListStyleDefinition_GetCombinedStyleForLevel)
8671 {
8672 #ifdef dVAR
8673     dVAR; dXSARGS;
8674 #else
8675     dXSARGS;
8676 #endif
8677     if (items != 2)
8678        croak_xs_usage(cv,  "THIS, level");
8679     {
8680         int     level = (int)SvIV(ST(1));
8681         wxRichTextListStyleDefinition *    THIS = (wxRichTextListStyleDefinition *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::RichTextListStyleDefinition" );
8682         wxRichTextAttr *        RETVAL;
8683     RETVAL = new wxRichTextAttr( THIS->GetCombinedStyleForLevel( level ) );
8684         ST(0) = sv_newmortal();
8685     wxPli_non_object_2_sv( aTHX_ ST(0), RETVAL, "Wx::RichTextAttr" );
8686     wxPli_thread_sv_register( aTHX_ "Wx::RichTextAttr", RETVAL, ST(0) );
8687
8688     }
8689     XSRETURN(1);
8690 }
8691
8692
8693 XS(XS_Wx__RichTextListStyleDefinition_GetLevelCount); /* prototype to pass -Wmissing-prototypes */
8694 XS(XS_Wx__RichTextListStyleDefinition_GetLevelCount)
8695 {
8696 #ifdef dVAR
8697     dVAR; dXSARGS;
8698 #else
8699     dXSARGS;
8700 #endif
8701     if (items != 1)
8702        croak_xs_usage(cv,  "THIS");
8703     {
8704         wxRichTextListStyleDefinition *    THIS = (wxRichTextListStyleDefinition *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::RichTextListStyleDefinition" );
8705         int     RETVAL;
8706         dXSTARG;
8707
8708         RETVAL = THIS->GetLevelCount();
8709         XSprePUSH; PUSHi((IV)RETVAL);
8710     }
8711     XSRETURN(1);
8712 }
8713
8714
8715 XS(XS_Wx__RichTextListStyleDefinition_IsNumbered); /* prototype to pass -Wmissing-prototypes */
8716 XS(XS_Wx__RichTextListStyleDefinition_IsNumbered)
8717 {
8718 #ifdef dVAR
8719     dVAR; dXSARGS;
8720 #else
8721     dXSARGS;
8722 #endif
8723     if (items != 2)
8724        croak_xs_usage(cv,  "THIS, i");
8725     {
8726         int     i = (int)SvIV(ST(1));
8727         wxRichTextListStyleDefinition *    THIS = (wxRichTextListStyleDefinition *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::RichTextListStyleDefinition" );
8728         bool    RETVAL;
8729
8730         RETVAL = THIS->IsNumbered(i);
8731         ST(0) = boolSV(RETVAL);
8732         sv_2mortal(ST(0));
8733     }
8734     XSRETURN(1);
8735 }
8736
8737 #endif
8738
8739 XS(XS_Wx__RichTextStyleSheet_new); /* prototype to pass -Wmissing-prototypes */
8740 XS(XS_Wx__RichTextStyleSheet_new)
8741 {
8742 #ifdef dVAR
8743     dVAR; dXSARGS;
8744 #else
8745     dXSARGS;
8746 #endif
8747     if (items != 1)
8748        croak_xs_usage(cv,  "CLASS");
8749     {
8750         char *  CLASS = (char *)SvPV_nolen(ST(0));
8751         wxRichTextStyleSheet *  RETVAL;
8752
8753         RETVAL = new wxRichTextStyleSheet();
8754         ST(0) = sv_newmortal();
8755     wxPli_object_2_sv( aTHX_ ST(0), RETVAL );
8756     wxPli_thread_sv_register( aTHX_ "Wx::RichTextStyleSheet", RETVAL, ST(0) );
8757
8758     }
8759     XSRETURN(1);
8760 }
8761
8762
8763 XS(XS_Wx__RichTextStyleSheet_CLONE); /* prototype to pass -Wmissing-prototypes */
8764 XS(XS_Wx__RichTextStyleSheet_CLONE)
8765 {
8766 #ifdef dVAR
8767     dVAR; dXSARGS;
8768 #else
8769     dXSARGS;
8770 #endif
8771     if (items != 1)
8772        croak_xs_usage(cv,  "CLASS");
8773     {
8774         char *  CLASS = (char *)SvPV_nolen(ST(0));
8775     wxPli_thread_sv_clone( aTHX_ CLASS, (wxPliCloneSV)wxPli_detach_object );
8776     }
8777     XSRETURN_EMPTY;
8778 }
8779
8780
8781 XS(XS_Wx__RichTextStyleSheet_DESTROY); /* prototype to pass -Wmissing-prototypes */
8782 XS(XS_Wx__RichTextStyleSheet_DESTROY)
8783 {
8784 #ifdef dVAR
8785     dVAR; dXSARGS;
8786 #else
8787     dXSARGS;
8788 #endif
8789     if (items != 1)
8790        croak_xs_usage(cv,  "THIS");
8791     {
8792         wxRichTextStyleSheet *    THIS = (wxRichTextStyleSheet *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::RichTextStyleSheet" );
8793       wxPli_thread_sv_unregister( aTHX_ "Wx::RichTextStyleSheet", THIS, ST(0) );
8794                  if( wxPli_object_is_deleteable( aTHX_ ST(0) ) )
8795                      delete THIS;
8796     }
8797     XSRETURN_EMPTY;
8798 }
8799
8800 #if WXPERL_W_VERSION_GE( 2, 8, 0 )
8801 #define XSubPPtmpAABU 1
8802
8803
8804 XS(XS_Wx__RichTextStyleSheet_AddStyle); /* prototype to pass -Wmissing-prototypes */
8805 XS(XS_Wx__RichTextStyleSheet_AddStyle)
8806 {
8807 #ifdef dVAR
8808     dVAR; dXSARGS;
8809 #else
8810     dXSARGS;
8811 #endif
8812     if (items != 2)
8813        croak_xs_usage(cv,  "THIS, def");
8814     {
8815         wxRichTextStyleDefinition*    def = (wxRichTextStyleDefinition *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::RichTextStyleDefinition" );
8816         wxRichTextStyleSheet *    THIS = (wxRichTextStyleSheet *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::RichTextStyleSheet" );
8817         bool    RETVAL;
8818     wxPli_object_set_deleteable( aTHX_ ST(1), false );
8819     RETVAL = THIS->AddStyle( def );
8820         ST(0) = boolSV(RETVAL);
8821         sv_2mortal(ST(0));
8822     }
8823     XSRETURN(1);
8824 }
8825
8826
8827 XS(XS_Wx__RichTextStyleSheet_FindStyle); /* prototype to pass -Wmissing-prototypes */
8828 XS(XS_Wx__RichTextStyleSheet_FindStyle)
8829 {
8830 #ifdef dVAR
8831     dVAR; dXSARGS;
8832 #else
8833     dXSARGS;
8834 #endif
8835     if (items != 2)
8836        croak_xs_usage(cv,  "THIS, name");
8837     {
8838         wxString        name;
8839         wxRichTextStyleSheet *    THIS = (wxRichTextStyleSheet *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::RichTextStyleSheet" );
8840         wxRichTextStyleDefinition *     RETVAL;
8841
8842     WXSTRING_INPUT( name, wxString, ST(1) );
8843     RETVAL = THIS->FindStyle( name );
8844         ST(0) = sv_newmortal();
8845     wxPli_object_2_sv( aTHX_ ST(0), RETVAL );
8846     wxPli_thread_sv_register( aTHX_ "Wx::RichTextStyleDefinition", RETVAL, ST(0) );
8847
8848     wxPli_object_set_deleteable( aTHX_ ST(0), false );
8849     }
8850     XSRETURN(1);
8851 }
8852
8853
8854 XS(XS_Wx__RichTextStyleSheet_RemoveStyle); /* prototype to pass -Wmissing-prototypes */
8855 XS(XS_Wx__RichTextStyleSheet_RemoveStyle)
8856 {
8857 #ifdef dVAR
8858     dVAR; dXSARGS;
8859 #else
8860     dXSARGS;
8861 #endif
8862     if (items < 2 || items > 3)
8863        croak_xs_usage(cv,  "THIS, def, deleteStyle = false");
8864     {
8865         wxRichTextStyleDefinition*    def = (wxRichTextStyleDefinition *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::RichTextStyleDefinition" );
8866         bool    deleteStyle;
8867         wxRichTextStyleSheet *    THIS = (wxRichTextStyleSheet *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::RichTextStyleSheet" );
8868         bool    RETVAL;
8869
8870         if (items < 3)
8871             deleteStyle = false;
8872         else {
8873             deleteStyle = (bool)SvTRUE(ST(2));
8874         }
8875
8876         RETVAL = THIS->RemoveStyle(def, deleteStyle);
8877         ST(0) = boolSV(RETVAL);
8878         sv_2mortal(ST(0));
8879     }
8880     XSRETURN(1);
8881 }
8882
8883 #endif
8884 #if WXPERL_W_VERSION_GE( 2, 7, 1 )
8885 #define XSubPPtmpAABV 1
8886
8887
8888 XS(XS_Wx__RichTextStyleSheet_Copy); /* prototype to pass -Wmissing-prototypes */
8889 XS(XS_Wx__RichTextStyleSheet_Copy)
8890 {
8891 #ifdef dVAR
8892     dVAR; dXSARGS;
8893 #else
8894     dXSARGS;
8895 #endif
8896     if (items != 2)
8897        croak_xs_usage(cv,  "THIS, sheet");
8898     {
8899         wxRichTextStyleSheet*    sheet = (wxRichTextStyleSheet *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::RichTextStyleSheet" );
8900         wxRichTextStyleSheet *    THIS = (wxRichTextStyleSheet *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::RichTextStyleSheet" );
8901     THIS->Copy( *( sheet ) );
8902     }
8903     XSRETURN_EMPTY;
8904 }
8905
8906 #endif
8907
8908 XS(XS_Wx__RichTextStyleSheet_AddCharacterStyle); /* prototype to pass -Wmissing-prototypes */
8909 XS(XS_Wx__RichTextStyleSheet_AddCharacterStyle)
8910 {
8911 #ifdef dVAR
8912     dVAR; dXSARGS;
8913 #else
8914     dXSARGS;
8915 #endif
8916     if (items != 2)
8917        croak_xs_usage(cv,  "THIS, def");
8918     {
8919         wxRichTextCharacterStyleDefinition*    def = (wxRichTextCharacterStyleDefinition *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::RichTextCharacterStyleDefinition" );
8920         wxRichTextStyleSheet *    THIS = (wxRichTextStyleSheet *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::RichTextStyleSheet" );
8921         bool    RETVAL;
8922     wxPli_object_set_deleteable( aTHX_ ST(1), false );
8923     RETVAL = THIS->AddCharacterStyle( def );
8924         ST(0) = boolSV(RETVAL);
8925         sv_2mortal(ST(0));
8926     }
8927     XSRETURN(1);
8928 }
8929
8930
8931 XS(XS_Wx__RichTextStyleSheet_AddParagraphStyle); /* prototype to pass -Wmissing-prototypes */
8932 XS(XS_Wx__RichTextStyleSheet_AddParagraphStyle)
8933 {
8934 #ifdef dVAR
8935     dVAR; dXSARGS;
8936 #else
8937     dXSARGS;
8938 #endif
8939     if (items != 2)
8940        croak_xs_usage(cv,  "THIS, def");
8941     {
8942         wxRichTextParagraphStyleDefinition*    def = (wxRichTextParagraphStyleDefinition *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::RichTextParagraphStyleDefinition" );
8943         wxRichTextStyleSheet *    THIS = (wxRichTextStyleSheet *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::RichTextStyleSheet" );
8944         bool    RETVAL;
8945     wxPli_object_set_deleteable( aTHX_ ST(1), false );
8946     RETVAL = THIS->AddParagraphStyle( def );
8947         ST(0) = boolSV(RETVAL);
8948         sv_2mortal(ST(0));
8949     }
8950     XSRETURN(1);
8951 }
8952
8953 #if WXPERL_W_VERSION_GE( 2, 7, 2 )
8954 #define XSubPPtmpAABW 1
8955
8956
8957 XS(XS_Wx__RichTextStyleSheet_AddListStyle); /* prototype to pass -Wmissing-prototypes */
8958 XS(XS_Wx__RichTextStyleSheet_AddListStyle)
8959 {
8960 #ifdef dVAR
8961     dVAR; dXSARGS;
8962 #else
8963     dXSARGS;
8964 #endif
8965     if (items != 2)
8966        croak_xs_usage(cv,  "THIS, def");
8967     {
8968         wxRichTextListStyleDefinition*    def = (wxRichTextListStyleDefinition *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::RichTextListStyleDefinition" );
8969         wxRichTextStyleSheet *    THIS = (wxRichTextStyleSheet *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::RichTextStyleSheet" );
8970         bool    RETVAL;
8971     wxPli_object_set_deleteable( aTHX_ ST(1), false );
8972     RETVAL = THIS->AddListStyle( def );
8973         ST(0) = boolSV(RETVAL);
8974         sv_2mortal(ST(0));
8975     }
8976     XSRETURN(1);
8977 }
8978
8979 #endif
8980
8981 XS(XS_Wx__RichTextStyleSheet_RemoveCharacterStyle); /* prototype to pass -Wmissing-prototypes */
8982 XS(XS_Wx__RichTextStyleSheet_RemoveCharacterStyle)
8983 {
8984 #ifdef dVAR
8985     dVAR; dXSARGS;
8986 #else
8987     dXSARGS;
8988 #endif
8989     if (items < 2 || items > 3)
8990        croak_xs_usage(cv,  "THIS, def, deleteStyle = false");
8991     {
8992         wxRichTextStyleDefinition*    def = (wxRichTextStyleDefinition *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::RichTextStyleDefinition" );
8993         bool    deleteStyle;
8994         wxRichTextStyleSheet *    THIS = (wxRichTextStyleSheet *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::RichTextStyleSheet" );
8995         bool    RETVAL;
8996
8997         if (items < 3)
8998             deleteStyle = false;
8999         else {
9000             deleteStyle = (bool)SvTRUE(ST(2));
9001         }
9002
9003         RETVAL = THIS->RemoveCharacterStyle(def, deleteStyle);
9004         ST(0) = boolSV(RETVAL);
9005         sv_2mortal(ST(0));
9006     }
9007     XSRETURN(1);
9008 }
9009
9010
9011 XS(XS_Wx__RichTextStyleSheet_RemoveParagraphStyle); /* prototype to pass -Wmissing-prototypes */
9012 XS(XS_Wx__RichTextStyleSheet_RemoveParagraphStyle)
9013 {
9014 #ifdef dVAR
9015     dVAR; dXSARGS;
9016 #else
9017     dXSARGS;
9018 #endif
9019     if (items < 2 || items > 3)
9020        croak_xs_usage(cv,  "THIS, def, deleteStyle = false");
9021     {
9022         wxRichTextStyleDefinition*    def = (wxRichTextStyleDefinition *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::RichTextStyleDefinition" );
9023         bool    deleteStyle;
9024         wxRichTextStyleSheet *    THIS = (wxRichTextStyleSheet *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::RichTextStyleSheet" );
9025         bool    RETVAL;
9026
9027         if (items < 3)
9028             deleteStyle = false;
9029         else {
9030             deleteStyle = (bool)SvTRUE(ST(2));
9031         }
9032
9033         RETVAL = THIS->RemoveParagraphStyle(def, deleteStyle);
9034         ST(0) = boolSV(RETVAL);
9035         sv_2mortal(ST(0));
9036     }
9037     XSRETURN(1);
9038 }
9039
9040 #if WXPERL_W_VERSION_GE( 2, 7, 2 )
9041 #define XSubPPtmpAABX 1
9042
9043
9044 XS(XS_Wx__RichTextStyleSheet_RemoveListStyle); /* prototype to pass -Wmissing-prototypes */
9045 XS(XS_Wx__RichTextStyleSheet_RemoveListStyle)
9046 {
9047 #ifdef dVAR
9048     dVAR; dXSARGS;
9049 #else
9050     dXSARGS;
9051 #endif
9052     if (items < 2 || items > 3)
9053        croak_xs_usage(cv,  "THIS, def, deleteStyle = false");
9054     {
9055         wxRichTextStyleDefinition*    def = (wxRichTextStyleDefinition *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::RichTextStyleDefinition" );
9056         bool    deleteStyle;
9057         wxRichTextStyleSheet *    THIS = (wxRichTextStyleSheet *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::RichTextStyleSheet" );
9058         bool    RETVAL;
9059
9060         if (items < 3)
9061             deleteStyle = false;
9062         else {
9063             deleteStyle = (bool)SvTRUE(ST(2));
9064         }
9065
9066         RETVAL = THIS->RemoveListStyle(def, deleteStyle);
9067         ST(0) = boolSV(RETVAL);
9068         sv_2mortal(ST(0));
9069     }
9070     XSRETURN(1);
9071 }
9072
9073 #endif
9074 #if WXPERL_W_VERSION_GE( 2, 7, 2 )
9075 #define XSubPPtmpAABY 1
9076
9077
9078 XS(XS_Wx__RichTextStyleSheet_FindCharacterStyle); /* prototype to pass -Wmissing-prototypes */
9079 XS(XS_Wx__RichTextStyleSheet_FindCharacterStyle)
9080 {
9081 #ifdef dVAR
9082     dVAR; dXSARGS;
9083 #else
9084     dXSARGS;
9085 #endif
9086     if (items < 2 || items > 3)
9087        croak_xs_usage(cv,  "THIS, name, recurse = true");
9088     {
9089         wxString        name;
9090         bool    recurse;
9091         wxRichTextStyleSheet *    THIS = (wxRichTextStyleSheet *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::RichTextStyleSheet" );
9092         wxRichTextCharacterStyleDefinition *    RETVAL;
9093
9094     WXSTRING_INPUT( name, wxString, ST(1) );
9095
9096         if (items < 3)
9097             recurse = true;
9098         else {
9099             recurse = (bool)SvTRUE(ST(2));
9100         }
9101     RETVAL = THIS->FindCharacterStyle( name, recurse );
9102         ST(0) = sv_newmortal();
9103     wxPli_object_2_sv( aTHX_ ST(0), RETVAL );
9104     wxPli_thread_sv_register( aTHX_ "Wx::RichTextCharacterStyleDefinition", RETVAL, ST(0) );
9105
9106     wxPli_object_set_deleteable( aTHX_ ST(0), false );
9107     }
9108     XSRETURN(1);
9109 }
9110
9111
9112 XS(XS_Wx__RichTextStyleSheet_FindParagraphStyle); /* prototype to pass -Wmissing-prototypes */
9113 XS(XS_Wx__RichTextStyleSheet_FindParagraphStyle)
9114 {
9115 #ifdef dVAR
9116     dVAR; dXSARGS;
9117 #else
9118     dXSARGS;
9119 #endif
9120     if (items < 2 || items > 3)
9121        croak_xs_usage(cv,  "THIS, name, recurse = true");
9122     {
9123         wxString        name;
9124         bool    recurse;
9125         wxRichTextStyleSheet *    THIS = (wxRichTextStyleSheet *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::RichTextStyleSheet" );
9126         wxRichTextParagraphStyleDefinition *    RETVAL;
9127
9128     WXSTRING_INPUT( name, wxString, ST(1) );
9129
9130         if (items < 3)
9131             recurse = true;
9132         else {
9133             recurse = (bool)SvTRUE(ST(2));
9134         }
9135     RETVAL = THIS->FindParagraphStyle( name, recurse );
9136         ST(0) = sv_newmortal();
9137     wxPli_object_2_sv( aTHX_ ST(0), RETVAL );
9138     wxPli_thread_sv_register( aTHX_ "Wx::RichTextParagraphStyleDefinition", RETVAL, ST(0) );
9139
9140     wxPli_object_set_deleteable( aTHX_ ST(0), false );
9141     }
9142     XSRETURN(1);
9143 }
9144
9145
9146 XS(XS_Wx__RichTextStyleSheet_FindListStyle); /* prototype to pass -Wmissing-prototypes */
9147 XS(XS_Wx__RichTextStyleSheet_FindListStyle)
9148 {
9149 #ifdef dVAR
9150     dVAR; dXSARGS;
9151 #else
9152     dXSARGS;
9153 #endif
9154     if (items < 2 || items > 3)
9155        croak_xs_usage(cv,  "THIS, name, recurse = true");
9156     {
9157         wxString        name;
9158         bool    recurse;
9159         wxRichTextStyleSheet *    THIS = (wxRichTextStyleSheet *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::RichTextStyleSheet" );
9160         wxRichTextListStyleDefinition * RETVAL;
9161
9162     WXSTRING_INPUT( name, wxString, ST(1) );
9163
9164         if (items < 3)
9165             recurse = true;
9166         else {
9167             recurse = (bool)SvTRUE(ST(2));
9168         }
9169     RETVAL = THIS->FindListStyle( name, recurse );
9170         ST(0) = sv_newmortal();
9171     wxPli_object_2_sv( aTHX_ ST(0), RETVAL );
9172     wxPli_thread_sv_register( aTHX_ "Wx::RichTextListStyleDefinition", RETVAL, ST(0) );
9173
9174     wxPli_object_set_deleteable( aTHX_ ST(0), false );
9175     }
9176     XSRETURN(1);
9177 }
9178
9179 #endif
9180
9181 XS(XS_Wx__RichTextStyleSheet_GetCharacterStyleCount); /* prototype to pass -Wmissing-prototypes */
9182 XS(XS_Wx__RichTextStyleSheet_GetCharacterStyleCount)
9183 {
9184 #ifdef dVAR
9185     dVAR; dXSARGS;
9186 #else
9187     dXSARGS;
9188 #endif
9189     if (items != 1)
9190        croak_xs_usage(cv,  "THIS");
9191     {
9192         wxRichTextStyleSheet *    THIS = (wxRichTextStyleSheet *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::RichTextStyleSheet" );
9193         size_t  RETVAL;
9194         dXSTARG;
9195
9196         RETVAL = THIS->GetCharacterStyleCount();
9197         XSprePUSH; PUSHu((UV)RETVAL );
9198     }
9199     XSRETURN(1);
9200 }
9201
9202
9203 XS(XS_Wx__RichTextStyleSheet_GetParagraphStyleCount); /* prototype to pass -Wmissing-prototypes */
9204 XS(XS_Wx__RichTextStyleSheet_GetParagraphStyleCount)
9205 {
9206 #ifdef dVAR
9207     dVAR; dXSARGS;
9208 #else
9209     dXSARGS;
9210 #endif
9211     if (items != 1)
9212        croak_xs_usage(cv,  "THIS");
9213     {
9214         wxRichTextStyleSheet *    THIS = (wxRichTextStyleSheet *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::RichTextStyleSheet" );
9215         size_t  RETVAL;
9216         dXSTARG;
9217
9218         RETVAL = THIS->GetParagraphStyleCount();
9219         XSprePUSH; PUSHu((UV)RETVAL );
9220     }
9221     XSRETURN(1);
9222 }
9223
9224 #if WXPERL_W_VERSION_GE( 2, 7, 2 )
9225 #define XSubPPtmpAABZ 1
9226
9227
9228 XS(XS_Wx__RichTextStyleSheet_GetListStyleCount); /* prototype to pass -Wmissing-prototypes */
9229 XS(XS_Wx__RichTextStyleSheet_GetListStyleCount)
9230 {
9231 #ifdef dVAR
9232     dVAR; dXSARGS;
9233 #else
9234     dXSARGS;
9235 #endif
9236     if (items != 1)
9237        croak_xs_usage(cv,  "THIS");
9238     {
9239         wxRichTextStyleSheet *    THIS = (wxRichTextStyleSheet *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::RichTextStyleSheet" );
9240         size_t  RETVAL;
9241         dXSTARG;
9242
9243         RETVAL = THIS->GetListStyleCount();
9244         XSprePUSH; PUSHu((UV)RETVAL );
9245     }
9246     XSRETURN(1);
9247 }
9248
9249 #endif
9250
9251 XS(XS_Wx__RichTextStyleSheet_GetCharacterStyle); /* prototype to pass -Wmissing-prototypes */
9252 XS(XS_Wx__RichTextStyleSheet_GetCharacterStyle)
9253 {
9254 #ifdef dVAR
9255     dVAR; dXSARGS;
9256 #else
9257     dXSARGS;
9258 #endif
9259     if (items != 2)
9260        croak_xs_usage(cv,  "THIS, n");
9261     {
9262         size_t    n = (size_t)SvUV( ST(1) );
9263         wxRichTextStyleSheet *    THIS = (wxRichTextStyleSheet *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::RichTextStyleSheet" );
9264         wxRichTextCharacterStyleDefinition *    RETVAL;
9265     RETVAL = THIS->GetCharacterStyle( n );
9266         ST(0) = sv_newmortal();
9267     wxPli_object_2_sv( aTHX_ ST(0), RETVAL );
9268     wxPli_thread_sv_register( aTHX_ "Wx::RichTextCharacterStyleDefinition", RETVAL, ST(0) );
9269
9270     wxPli_object_set_deleteable( aTHX_ ST(0), false );
9271     }
9272     XSRETURN(1);
9273 }
9274
9275
9276 XS(XS_Wx__RichTextStyleSheet_GetParagraphStyle); /* prototype to pass -Wmissing-prototypes */
9277 XS(XS_Wx__RichTextStyleSheet_GetParagraphStyle)
9278 {
9279 #ifdef dVAR
9280     dVAR; dXSARGS;
9281 #else
9282     dXSARGS;
9283 #endif
9284     if (items != 2)
9285        croak_xs_usage(cv,  "THIS, n");
9286     {
9287         size_t    n = (size_t)SvUV( ST(1) );
9288         wxRichTextStyleSheet *    THIS = (wxRichTextStyleSheet *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::RichTextStyleSheet" );
9289         wxRichTextParagraphStyleDefinition *    RETVAL;
9290     RETVAL = THIS->GetParagraphStyle( n );
9291         ST(0) = sv_newmortal();
9292     wxPli_object_2_sv( aTHX_ ST(0), RETVAL );
9293     wxPli_thread_sv_register( aTHX_ "Wx::RichTextParagraphStyleDefinition", RETVAL, ST(0) );
9294
9295     wxPli_object_set_deleteable( aTHX_ ST(0), false );
9296     }
9297     XSRETURN(1);
9298 }
9299
9300 #if WXPERL_W_VERSION_GE( 2, 7, 2 )
9301 #define XSubPPtmpAACA 1
9302
9303
9304 XS(XS_Wx__RichTextStyleSheet_GetListStyle); /* prototype to pass -Wmissing-prototypes */
9305 XS(XS_Wx__RichTextStyleSheet_GetListStyle)
9306 {
9307 #ifdef dVAR
9308     dVAR; dXSARGS;
9309 #else
9310     dXSARGS;
9311 #endif
9312     if (items != 2)
9313        croak_xs_usage(cv,  "THIS, n");
9314     {
9315         size_t    n = (size_t)SvUV( ST(1) );
9316         wxRichTextStyleSheet *    THIS = (wxRichTextStyleSheet *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::RichTextStyleSheet" );
9317         wxRichTextListStyleDefinition * RETVAL;
9318     RETVAL = THIS->GetListStyle( n );
9319         ST(0) = sv_newmortal();
9320     wxPli_object_2_sv( aTHX_ ST(0), RETVAL );
9321     wxPli_thread_sv_register( aTHX_ "Wx::RichTextListStyleDefinition", RETVAL, ST(0) );
9322
9323     wxPli_object_set_deleteable( aTHX_ ST(0), false );
9324     }
9325     XSRETURN(1);
9326 }
9327
9328 #endif
9329
9330 XS(XS_Wx__RichTextStyleSheet_DeleteStyles); /* prototype to pass -Wmissing-prototypes */
9331 XS(XS_Wx__RichTextStyleSheet_DeleteStyles)
9332 {
9333 #ifdef dVAR
9334     dVAR; dXSARGS;
9335 #else
9336     dXSARGS;
9337 #endif
9338     if (items != 1)
9339        croak_xs_usage(cv,  "THIS");
9340     {
9341         wxRichTextStyleSheet *    THIS = (wxRichTextStyleSheet *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::RichTextStyleSheet" );
9342
9343         THIS->DeleteStyles();
9344     }
9345     XSRETURN_EMPTY;
9346 }
9347
9348 #if WXPERL_W_VERSION_GE( 2, 7, 2 )
9349 #define XSubPPtmpAACB 1
9350
9351
9352 XS(XS_Wx__RichTextStyleSheet_InsertSheet); /* prototype to pass -Wmissing-prototypes */
9353 XS(XS_Wx__RichTextStyleSheet_InsertSheet)
9354 {
9355 #ifdef dVAR
9356     dVAR; dXSARGS;
9357 #else
9358     dXSARGS;
9359 #endif
9360     if (items != 2)
9361        croak_xs_usage(cv,  "THIS, before");
9362     {
9363         wxRichTextStyleSheet*    before = (wxRichTextStyleSheet *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::RichTextStyleSheet" );
9364         wxRichTextStyleSheet *    THIS = (wxRichTextStyleSheet *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::RichTextStyleSheet" );
9365         bool    RETVAL;
9366
9367         RETVAL = THIS->InsertSheet(before);
9368         ST(0) = boolSV(RETVAL);
9369         sv_2mortal(ST(0));
9370     }
9371     XSRETURN(1);
9372 }
9373
9374
9375 XS(XS_Wx__RichTextStyleSheet_AppendSheet); /* prototype to pass -Wmissing-prototypes */
9376 XS(XS_Wx__RichTextStyleSheet_AppendSheet)
9377 {
9378 #ifdef dVAR
9379     dVAR; dXSARGS;
9380 #else
9381     dXSARGS;
9382 #endif
9383     if (items != 2)
9384        croak_xs_usage(cv,  "THIS, after");
9385     {
9386         wxRichTextStyleSheet*    after = (wxRichTextStyleSheet *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::RichTextStyleSheet" );
9387         wxRichTextStyleSheet *    THIS = (wxRichTextStyleSheet *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::RichTextStyleSheet" );
9388         bool    RETVAL;
9389
9390         RETVAL = THIS->AppendSheet(after);
9391         ST(0) = boolSV(RETVAL);
9392         sv_2mortal(ST(0));
9393     }
9394     XSRETURN(1);
9395 }
9396
9397
9398 XS(XS_Wx__RichTextStyleSheet_Unlink); /* prototype to pass -Wmissing-prototypes */
9399 XS(XS_Wx__RichTextStyleSheet_Unlink)
9400 {
9401 #ifdef dVAR
9402     dVAR; dXSARGS;
9403 #else
9404     dXSARGS;
9405 #endif
9406     if (items != 1)
9407        croak_xs_usage(cv,  "THIS");
9408     {
9409         wxRichTextStyleSheet *    THIS = (wxRichTextStyleSheet *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::RichTextStyleSheet" );
9410
9411         THIS->Unlink();
9412     }
9413     XSRETURN_EMPTY;
9414 }
9415
9416
9417 XS(XS_Wx__RichTextStyleSheet_GetNextSheet); /* prototype to pass -Wmissing-prototypes */
9418 XS(XS_Wx__RichTextStyleSheet_GetNextSheet)
9419 {
9420 #ifdef dVAR
9421     dVAR; dXSARGS;
9422 #else
9423     dXSARGS;
9424 #endif
9425     if (items != 1)
9426        croak_xs_usage(cv,  "THIS");
9427     {
9428         wxRichTextStyleSheet *    THIS = (wxRichTextStyleSheet *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::RichTextStyleSheet" );
9429         wxRichTextStyleSheet *  RETVAL;
9430     RETVAL = THIS->GetNextSheet();
9431         ST(0) = sv_newmortal();
9432     wxPli_object_2_sv( aTHX_ ST(0), RETVAL );
9433     wxPli_thread_sv_register( aTHX_ "Wx::RichTextStyleSheet", RETVAL, ST(0) );
9434
9435     wxPli_object_set_deleteable( aTHX_ ST(0), false );
9436     }
9437     XSRETURN(1);
9438 }
9439
9440
9441 XS(XS_Wx__RichTextStyleSheet_SetNextSheet); /* prototype to pass -Wmissing-prototypes */
9442 XS(XS_Wx__RichTextStyleSheet_SetNextSheet)
9443 {
9444 #ifdef dVAR
9445     dVAR; dXSARGS;
9446 #else
9447     dXSARGS;
9448 #endif
9449     if (items != 2)
9450        croak_xs_usage(cv,  "THIS, sheet");
9451     {
9452         wxRichTextStyleSheet*    sheet = (wxRichTextStyleSheet *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::RichTextStyleSheet" );
9453         wxRichTextStyleSheet *    THIS = (wxRichTextStyleSheet *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::RichTextStyleSheet" );
9454
9455         THIS->SetNextSheet(sheet);
9456     }
9457     XSRETURN_EMPTY;
9458 }
9459
9460
9461 XS(XS_Wx__RichTextStyleSheet_GetPreviousSheet); /* prototype to pass -Wmissing-prototypes */
9462 XS(XS_Wx__RichTextStyleSheet_GetPreviousSheet)
9463 {
9464 #ifdef dVAR
9465     dVAR; dXSARGS;
9466 #else
9467     dXSARGS;
9468 #endif
9469     if (items != 1)
9470        croak_xs_usage(cv,  "THIS");
9471     {
9472         wxRichTextStyleSheet *    THIS = (wxRichTextStyleSheet *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::RichTextStyleSheet" );
9473         wxRichTextStyleSheet *  RETVAL;
9474     RETVAL = THIS->GetPreviousSheet();
9475         ST(0) = sv_newmortal();
9476     wxPli_object_2_sv( aTHX_ ST(0), RETVAL );
9477     wxPli_thread_sv_register( aTHX_ "Wx::RichTextStyleSheet", RETVAL, ST(0) );
9478
9479     wxPli_object_set_deleteable( aTHX_ ST(0), false );
9480     }
9481     XSRETURN(1);
9482 }
9483
9484
9485 XS(XS_Wx__RichTextStyleSheet_SetPreviousSheet); /* prototype to pass -Wmissing-prototypes */
9486 XS(XS_Wx__RichTextStyleSheet_SetPreviousSheet)
9487 {
9488 #ifdef dVAR
9489     dVAR; dXSARGS;
9490 #else
9491     dXSARGS;
9492 #endif
9493     if (items != 2)
9494        croak_xs_usage(cv,  "THIS, sheet");
9495     {
9496         wxRichTextStyleSheet*    sheet = (wxRichTextStyleSheet *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::RichTextStyleSheet" );
9497         wxRichTextStyleSheet *    THIS = (wxRichTextStyleSheet *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::RichTextStyleSheet" );
9498
9499         THIS->SetPreviousSheet(sheet);
9500     }
9501     XSRETURN_EMPTY;
9502 }
9503
9504 #endif
9505 #if WXPERL_W_VERSION_GE( 2, 8, 0 )
9506 #define XSubPPtmpAACC 1
9507
9508
9509 XS(XS_Wx__RichTextStyleSheet_SetName); /* prototype to pass -Wmissing-prototypes */
9510 XS(XS_Wx__RichTextStyleSheet_SetName)
9511 {
9512 #ifdef dVAR
9513     dVAR; dXSARGS;
9514 #else
9515     dXSARGS;
9516 #endif
9517     if (items != 2)
9518        croak_xs_usage(cv,  "THIS, name");
9519     {
9520         wxString        name;
9521         wxRichTextStyleSheet *    THIS = (wxRichTextStyleSheet *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::RichTextStyleSheet" );
9522
9523     WXSTRING_INPUT( name, wxString, ST(1) );
9524
9525         THIS->SetName(name);
9526     }
9527     XSRETURN_EMPTY;
9528 }
9529
9530
9531 XS(XS_Wx__RichTextStyleSheet_GetName); /* prototype to pass -Wmissing-prototypes */
9532 XS(XS_Wx__RichTextStyleSheet_GetName)
9533 {
9534 #ifdef dVAR
9535     dVAR; dXSARGS;
9536 #else
9537     dXSARGS;
9538 #endif
9539     if (items != 1)
9540        croak_xs_usage(cv,  "THIS");
9541     {
9542         wxRichTextStyleSheet *    THIS = (wxRichTextStyleSheet *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::RichTextStyleSheet" );
9543         wxString        RETVAL;
9544
9545         RETVAL = THIS->GetName();
9546         ST(0) = sv_newmortal();
9547     WXSTRING_OUTPUT( RETVAL, ST(0) );
9548
9549     }
9550     XSRETURN(1);
9551 }
9552
9553
9554 XS(XS_Wx__RichTextStyleSheet_SetDescription); /* prototype to pass -Wmissing-prototypes */
9555 XS(XS_Wx__RichTextStyleSheet_SetDescription)
9556 {
9557 #ifdef dVAR
9558     dVAR; dXSARGS;
9559 #else
9560     dXSARGS;
9561 #endif
9562     if (items != 2)
9563        croak_xs_usage(cv,  "THIS, descr");
9564     {
9565         wxString        descr;
9566         wxRichTextStyleSheet *    THIS = (wxRichTextStyleSheet *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::RichTextStyleSheet" );
9567
9568     WXSTRING_INPUT( descr, wxString, ST(1) );
9569
9570         THIS->SetDescription(descr);
9571     }
9572     XSRETURN_EMPTY;
9573 }
9574
9575
9576 XS(XS_Wx__RichTextStyleSheet_GetDescription); /* prototype to pass -Wmissing-prototypes */
9577 XS(XS_Wx__RichTextStyleSheet_GetDescription)
9578 {
9579 #ifdef dVAR
9580     dVAR; dXSARGS;
9581 #else
9582     dXSARGS;
9583 #endif
9584     if (items != 1)
9585        croak_xs_usage(cv,  "THIS");
9586     {
9587         wxRichTextStyleSheet *    THIS = (wxRichTextStyleSheet *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::RichTextStyleSheet" );
9588         wxString        RETVAL;
9589
9590         RETVAL = THIS->GetDescription();
9591         ST(0) = sv_newmortal();
9592     WXSTRING_OUTPUT( RETVAL, ST(0) );
9593
9594     }
9595     XSRETURN(1);
9596 }
9597
9598 #endif
9599
9600 /* INCLUDE: Returning to 'RichText.xs' from 'perl -MExtUtils::XSpp::Cmd -e xspp -- -t typemap.xsp -t ../../typemap.xsp XS/RichTextStyle.xsp |' */
9601
9602
9603 /* INCLUDE:  Including 'perl -MExtUtils::XSpp::Cmd -e xspp -- -t typemap.xsp -t ../../typemap.xsp XS/RichTextStyleCtrl.xsp |' from 'RichText.xs' */
9604
9605 #include <wx/checkbox.h>
9606 #include <wx/richtext/richtextstyles.h>
9607 #if WXPERL_W_VERSION_GE( 2, 7, 1 )
9608 #define XSubPPtmpAACD 1
9609
9610
9611 XS(XS_Wx__RichTextStyleListBox_newDefault); /* prototype to pass -Wmissing-prototypes */
9612 XS(XS_Wx__RichTextStyleListBox_newDefault)
9613 {
9614 #ifdef dVAR
9615     dVAR; dXSARGS;
9616 #else
9617     dXSARGS;
9618 #endif
9619     if (items != 1)
9620        croak_xs_usage(cv,  "CLASS");
9621     {
9622         char *  CLASS = (char *)SvPV_nolen(ST(0));
9623         wxRichTextStyleListBox *        RETVAL;
9624     RETVAL = new wxRichTextStyleListBox();
9625         ST(0) = sv_newmortal();
9626     wxPli_evthandler_2_sv( aTHX_ ST(0), RETVAL );
9627
9628     }
9629     XSRETURN(1);
9630 }
9631
9632 #endif
9633
9634 XS(XS_Wx__RichTextStyleListBox_newFull); /* prototype to pass -Wmissing-prototypes */
9635 XS(XS_Wx__RichTextStyleListBox_newFull)
9636 {
9637 #ifdef dVAR
9638     dVAR; dXSARGS;
9639 #else
9640     dXSARGS;
9641 #endif
9642     if (items < 2 || items > 6)
9643        croak_xs_usage(cv,  "CLASS, parent, id = wxID_ANY, pos = wxDefaultPosition, size = wxDefaultSize, style = 0");
9644     {
9645         wxWindow*    parent = (wxWindow *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::Window" );
9646         wxWindowID      id;
9647         wxPoint pos;
9648         wxSize  size;
9649         long    style;
9650         char *  CLASS = (char *)SvPV_nolen(ST(0));
9651         wxRichTextStyleListBox *        RETVAL;
9652
9653         if (items < 3)
9654             id = wxID_ANY;
9655         else {
9656     id = wxPli_get_wxwindowid( aTHX_ ST(2) );
9657         }
9658
9659         if (items < 4)
9660             pos = wxDefaultPosition;
9661         else {
9662     pos = wxPli_sv_2_wxpoint( aTHX_ ST(3) );
9663         }
9664
9665         if (items < 5)
9666             size = wxDefaultSize;
9667         else {
9668     size = wxPli_sv_2_wxsize( aTHX_ ST(4) );
9669         }
9670
9671         if (items < 6)
9672             style = 0;
9673         else {
9674             style = (long)SvIV(ST(5));
9675         }
9676     RETVAL = new wxRichTextStyleListBox( parent, id, pos, size, style );
9677         ST(0) = sv_newmortal();
9678     wxPli_evthandler_2_sv( aTHX_ ST(0), RETVAL );
9679
9680     }
9681     XSRETURN(1);
9682 }
9683
9684
9685 XS(XS_Wx__RichTextStyleListBox_new); /* prototype to pass -Wmissing-prototypes */
9686 XS(XS_Wx__RichTextStyleListBox_new)
9687 {
9688 #ifdef dVAR
9689     dVAR; dXSARGS;
9690 #else
9691     dXSARGS;
9692 #endif
9693     if (items < 1)
9694        croak_xs_usage(cv,  "CLASS, ...");
9695     PERL_UNUSED_VAR(ax); /* -Wall */
9696     SP -= items;
9697     {
9698         char *  CLASS = (char *)SvPV_nolen(ST(0));
9699     BEGIN_OVERLOAD()
9700         MATCH_VOIDM_REDISP( newDefault )
9701         MATCH_ANY_REDISP( newFull )
9702     END_OVERLOAD( "Wx::RichTextStyleListBox::new" )
9703         PUTBACK;
9704         return;
9705     }
9706 }
9707
9708
9709 XS(XS_Wx__RichTextStyleListBox_Create); /* prototype to pass -Wmissing-prototypes */
9710 XS(XS_Wx__RichTextStyleListBox_Create)
9711 {
9712 #ifdef dVAR
9713     dVAR; dXSARGS;
9714 #else
9715     dXSARGS;
9716 #endif
9717     if (items < 2 || items > 6)
9718        croak_xs_usage(cv,  "THIS, parent, id = wxID_ANY, pos = wxDefaultPosition, size = wxDefaultSize, style = 0");
9719     {
9720         wxWindow*    parent = (wxWindow *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::Window" );
9721         wxWindowID      id;
9722         wxPoint pos;
9723         wxSize  size;
9724         long    style;
9725         wxRichTextStyleListBox *    THIS = (wxRichTextStyleListBox *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::RichTextStyleListBox" );
9726         bool    RETVAL;
9727
9728         if (items < 3)
9729             id = wxID_ANY;
9730         else {
9731     id = wxPli_get_wxwindowid( aTHX_ ST(2) );
9732         }
9733
9734         if (items < 4)
9735             pos = wxDefaultPosition;
9736         else {
9737     pos = wxPli_sv_2_wxpoint( aTHX_ ST(3) );
9738         }
9739
9740         if (items < 5)
9741             size = wxDefaultSize;
9742         else {
9743     size = wxPli_sv_2_wxsize( aTHX_ ST(4) );
9744         }
9745
9746         if (items < 6)
9747             style = 0;
9748         else {
9749             style = (long)SvIV(ST(5));
9750         }
9751
9752         RETVAL = THIS->Create(parent, id, pos, size, style);
9753         ST(0) = boolSV(RETVAL);
9754         sv_2mortal(ST(0));
9755     }
9756     XSRETURN(1);
9757 }
9758
9759
9760 XS(XS_Wx__RichTextStyleListBox_SetStyleSheet); /* prototype to pass -Wmissing-prototypes */
9761 XS(XS_Wx__RichTextStyleListBox_SetStyleSheet)
9762 {
9763 #ifdef dVAR
9764     dVAR; dXSARGS;
9765 #else
9766     dXSARGS;
9767 #endif
9768     if (items != 2)
9769        croak_xs_usage(cv,  "THIS, styleSheet");
9770     {
9771         wxRichTextStyleSheet*    styleSheet = (wxRichTextStyleSheet *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::RichTextStyleSheet" );
9772         wxRichTextStyleListBox *    THIS = (wxRichTextStyleListBox *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::RichTextStyleListBox" );
9773
9774         THIS->SetStyleSheet(styleSheet);
9775     }
9776     XSRETURN_EMPTY;
9777 }
9778
9779
9780 XS(XS_Wx__RichTextStyleListBox_GetStyleSheet); /* prototype to pass -Wmissing-prototypes */
9781 XS(XS_Wx__RichTextStyleListBox_GetStyleSheet)
9782 {
9783 #ifdef dVAR
9784     dVAR; dXSARGS;
9785 #else
9786     dXSARGS;
9787 #endif
9788     if (items != 1)
9789        croak_xs_usage(cv,  "THIS");
9790     {
9791         wxRichTextStyleListBox *    THIS = (wxRichTextStyleListBox *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::RichTextStyleListBox" );
9792         wxRichTextStyleSheet *  RETVAL;
9793     RETVAL = THIS->GetStyleSheet();
9794         ST(0) = sv_newmortal();
9795     wxPli_object_2_sv( aTHX_ ST(0), RETVAL );
9796     wxPli_thread_sv_register( aTHX_ "Wx::RichTextStyleSheet", RETVAL, ST(0) );
9797
9798     wxPli_object_set_deleteable( aTHX_ ST(0), false );
9799     }
9800     XSRETURN(1);
9801 }
9802
9803
9804 XS(XS_Wx__RichTextStyleListBox_SetRichTextCtrl); /* prototype to pass -Wmissing-prototypes */
9805 XS(XS_Wx__RichTextStyleListBox_SetRichTextCtrl)
9806 {
9807 #ifdef dVAR
9808     dVAR; dXSARGS;
9809 #else
9810     dXSARGS;
9811 #endif
9812     if (items != 2)
9813        croak_xs_usage(cv,  "THIS, ctrl");
9814     {
9815         wxRichTextCtrl*    ctrl = (wxRichTextCtrl *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::RichTextCtrl" );
9816         wxRichTextStyleListBox *    THIS = (wxRichTextStyleListBox *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::RichTextStyleListBox" );
9817
9818         THIS->SetRichTextCtrl(ctrl);
9819     }
9820     XSRETURN_EMPTY;
9821 }
9822
9823
9824 XS(XS_Wx__RichTextStyleListBox_GetRichTextCtrl); /* prototype to pass -Wmissing-prototypes */
9825 XS(XS_Wx__RichTextStyleListBox_GetRichTextCtrl)
9826 {
9827 #ifdef dVAR
9828     dVAR; dXSARGS;
9829 #else
9830     dXSARGS;
9831 #endif
9832     if (items != 1)
9833        croak_xs_usage(cv,  "THIS");
9834     {
9835         wxRichTextStyleListBox *    THIS = (wxRichTextStyleListBox *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::RichTextStyleListBox" );
9836         wxRichTextCtrl *        RETVAL;
9837
9838         RETVAL = THIS->GetRichTextCtrl();
9839         ST(0) = sv_newmortal();
9840     wxPli_evthandler_2_sv( aTHX_ ST(0), RETVAL );
9841
9842     }
9843     XSRETURN(1);
9844 }
9845
9846
9847 XS(XS_Wx__RichTextStyleListBox_GetStyle); /* prototype to pass -Wmissing-prototypes */
9848 XS(XS_Wx__RichTextStyleListBox_GetStyle)
9849 {
9850 #ifdef dVAR
9851     dVAR; dXSARGS;
9852 #else
9853     dXSARGS;
9854 #endif
9855     if (items != 2)
9856        croak_xs_usage(cv,  "THIS, i");
9857     {
9858         size_t    i = (size_t)SvUV( ST(1) );
9859         wxRichTextStyleListBox *    THIS = (wxRichTextStyleListBox *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::RichTextStyleListBox" );
9860         wxRichTextStyleDefinition *     RETVAL;
9861     RETVAL = THIS->GetStyle( i );
9862         ST(0) = sv_newmortal();
9863     wxPli_object_2_sv( aTHX_ ST(0), RETVAL );
9864     wxPli_thread_sv_register( aTHX_ "Wx::RichTextStyleDefinition", RETVAL, ST(0) );
9865
9866     wxPli_object_set_deleteable( aTHX_ ST(0), false );
9867     }
9868     XSRETURN(1);
9869 }
9870
9871 #if WXPERL_W_VERSION_GE( 2, 7, 1 )
9872 #define XSubPPtmpAACE 1
9873
9874
9875 XS(XS_Wx__RichTextStyleListBox_GetIndexForStyle); /* prototype to pass -Wmissing-prototypes */
9876 XS(XS_Wx__RichTextStyleListBox_GetIndexForStyle)
9877 {
9878 #ifdef dVAR
9879     dVAR; dXSARGS;
9880 #else
9881     dXSARGS;
9882 #endif
9883     if (items != 2)
9884        croak_xs_usage(cv,  "THIS, name");
9885     {
9886         wxString        name;
9887         wxRichTextStyleListBox *    THIS = (wxRichTextStyleListBox *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::RichTextStyleListBox" );
9888         int     RETVAL;
9889         dXSTARG;
9890
9891     WXSTRING_INPUT( name, wxString, ST(1) );
9892
9893         RETVAL = THIS->GetIndexForStyle(name);
9894         XSprePUSH; PUSHi((IV)RETVAL);
9895     }
9896     XSRETURN(1);
9897 }
9898
9899
9900 XS(XS_Wx__RichTextStyleListBox_SetStyleSelection); /* prototype to pass -Wmissing-prototypes */
9901 XS(XS_Wx__RichTextStyleListBox_SetStyleSelection)
9902 {
9903 #ifdef dVAR
9904     dVAR; dXSARGS;
9905 #else
9906     dXSARGS;
9907 #endif
9908     if (items != 2)
9909        croak_xs_usage(cv,  "THIS, name");
9910     {
9911         wxString        name;
9912         wxRichTextStyleListBox *    THIS = (wxRichTextStyleListBox *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::RichTextStyleListBox" );
9913         int     RETVAL;
9914         dXSTARG;
9915
9916     WXSTRING_INPUT( name, wxString, ST(1) );
9917
9918         RETVAL = THIS->SetStyleSelection(name);
9919         XSprePUSH; PUSHi((IV)RETVAL);
9920     }
9921     XSRETURN(1);
9922 }
9923
9924 #endif
9925
9926 XS(XS_Wx__RichTextStyleListBox_UpdateStyles); /* prototype to pass -Wmissing-prototypes */
9927 XS(XS_Wx__RichTextStyleListBox_UpdateStyles)
9928 {
9929 #ifdef dVAR
9930     dVAR; dXSARGS;
9931 #else
9932     dXSARGS;
9933 #endif
9934     if (items != 1)
9935        croak_xs_usage(cv,  "THIS");
9936     {
9937         wxRichTextStyleListBox *    THIS = (wxRichTextStyleListBox *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::RichTextStyleListBox" );
9938
9939         THIS->UpdateStyles();
9940     }
9941     XSRETURN_EMPTY;
9942 }
9943
9944 #if WXPERL_W_VERSION_GE( 2, 7, 1 )
9945 #define XSubPPtmpAACF 1
9946
9947
9948 XS(XS_Wx__RichTextStyleListBox_ApplyStyle); /* prototype to pass -Wmissing-prototypes */
9949 XS(XS_Wx__RichTextStyleListBox_ApplyStyle)
9950 {
9951 #ifdef dVAR
9952     dVAR; dXSARGS;
9953 #else
9954     dXSARGS;
9955 #endif
9956     if (items != 2)
9957        croak_xs_usage(cv,  "THIS, i");
9958     {
9959         int     i = (int)SvIV(ST(1));
9960         wxRichTextStyleListBox *    THIS = (wxRichTextStyleListBox *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::RichTextStyleListBox" );
9961
9962         THIS->ApplyStyle(i);
9963     }
9964     XSRETURN_EMPTY;
9965 }
9966
9967
9968 XS(XS_Wx__RichTextStyleListBox_SetApplyOnSelection); /* prototype to pass -Wmissing-prototypes */
9969 XS(XS_Wx__RichTextStyleListBox_SetApplyOnSelection)
9970 {
9971 #ifdef dVAR
9972     dVAR; dXSARGS;
9973 #else
9974     dXSARGS;
9975 #endif
9976     if (items != 2)
9977        croak_xs_usage(cv,  "THIS, applyOnSel");
9978     {
9979         bool    applyOnSel = (bool)SvTRUE(ST(1));
9980         wxRichTextStyleListBox *    THIS = (wxRichTextStyleListBox *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::RichTextStyleListBox" );
9981
9982         THIS->SetApplyOnSelection(applyOnSel);
9983     }
9984     XSRETURN_EMPTY;
9985 }
9986
9987
9988 XS(XS_Wx__RichTextStyleListBox_GetApplyOnSelection); /* prototype to pass -Wmissing-prototypes */
9989 XS(XS_Wx__RichTextStyleListBox_GetApplyOnSelection)
9990 {
9991 #ifdef dVAR
9992     dVAR; dXSARGS;
9993 #else
9994     dXSARGS;
9995 #endif
9996     if (items != 1)
9997        croak_xs_usage(cv,  "THIS");
9998     {
9999         wxRichTextStyleListBox *    THIS = (wxRichTextStyleListBox *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::RichTextStyleListBox" );
10000         bool    RETVAL;
10001
10002         RETVAL = THIS->GetApplyOnSelection();
10003         ST(0) = boolSV(RETVAL);
10004         sv_2mortal(ST(0));
10005     }
10006     XSRETURN(1);
10007 }
10008
10009 #endif
10010 #if WXPERL_W_VERSION_GE( 2, 7, 2 )
10011 #define XSubPPtmpAACG 1
10012
10013
10014 XS(XS_Wx__RichTextStyleListBox_SetStyleType); /* prototype to pass -Wmissing-prototypes */
10015 XS(XS_Wx__RichTextStyleListBox_SetStyleType)
10016 {
10017 #ifdef dVAR
10018     dVAR; dXSARGS;
10019 #else
10020     dXSARGS;
10021 #endif
10022     if (items != 2)
10023        croak_xs_usage(cv,  "THIS, styleType");
10024     {
10025         wxPliRichTextStyleType  styleType = (wxPliRichTextStyleType)SvIV(ST(1));
10026         wxRichTextStyleListBox *    THIS = (wxRichTextStyleListBox *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::RichTextStyleListBox" );
10027
10028         THIS->SetStyleType(styleType);
10029     }
10030     XSRETURN_EMPTY;
10031 }
10032
10033
10034 XS(XS_Wx__RichTextStyleListBox_GetStyleType); /* prototype to pass -Wmissing-prototypes */
10035 XS(XS_Wx__RichTextStyleListBox_GetStyleType)
10036 {
10037 #ifdef dVAR
10038     dVAR; dXSARGS;
10039 #else
10040     dXSARGS;
10041 #endif
10042     if (items != 1)
10043        croak_xs_usage(cv,  "THIS");
10044     {
10045         wxRichTextStyleListBox *    THIS = (wxRichTextStyleListBox *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::RichTextStyleListBox" );
10046         wxPliRichTextStyleType  RETVAL;
10047         dXSTARG;
10048
10049         RETVAL = THIS->GetStyleType();
10050         XSprePUSH; PUSHi((IV)RETVAL);
10051     }
10052     XSRETURN(1);
10053 }
10054
10055 #endif
10056
10057 XS(XS_Wx__RichTextStyleListBox_ConvertTenthsMMToPixels); /* prototype to pass -Wmissing-prototypes */
10058 XS(XS_Wx__RichTextStyleListBox_ConvertTenthsMMToPixels)
10059 {
10060 #ifdef dVAR
10061     dVAR; dXSARGS;
10062 #else
10063     dXSARGS;
10064 #endif
10065     if (items != 3)
10066        croak_xs_usage(cv,  "THIS, dc, units");
10067     {
10068         wxDC*    dc = (wxDC *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::DC" );
10069         int     units = (int)SvIV(ST(2));
10070         wxRichTextStyleListBox *    THIS = (wxRichTextStyleListBox *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::RichTextStyleListBox" );
10071         int     RETVAL;
10072         dXSTARG;
10073     RETVAL = THIS->ConvertTenthsMMToPixels( *( dc ), units );
10074         XSprePUSH; PUSHi((IV)RETVAL);
10075     }
10076     XSRETURN(1);
10077 }
10078
10079
10080 XS(XS_Wx__RichTextStyleListBox_CreateHTML); /* prototype to pass -Wmissing-prototypes */
10081 XS(XS_Wx__RichTextStyleListBox_CreateHTML)
10082 {
10083 #ifdef dVAR
10084     dVAR; dXSARGS;
10085 #else
10086     dXSARGS;
10087 #endif
10088     if (items != 2)
10089        croak_xs_usage(cv,  "THIS, def");
10090     {
10091         wxRichTextStyleDefinition*    def = (wxRichTextStyleDefinition *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::RichTextStyleDefinition" );
10092         wxRichTextStyleListBox *    THIS = (wxRichTextStyleListBox *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::RichTextStyleListBox" );
10093         wxString        RETVAL;
10094
10095         RETVAL = THIS->CreateHTML(def);
10096         ST(0) = sv_newmortal();
10097     WXSTRING_OUTPUT( RETVAL, ST(0) );
10098
10099     }
10100     XSRETURN(1);
10101 }
10102
10103 #if WXPERL_W_VERSION_GE( 2, 7, 2 )
10104 #define XSubPPtmpAACH 1
10105
10106
10107 XS(XS_Wx__RichTextStyleListCtrl_newDefault); /* prototype to pass -Wmissing-prototypes */
10108 XS(XS_Wx__RichTextStyleListCtrl_newDefault)
10109 {
10110 #ifdef dVAR
10111     dVAR; dXSARGS;
10112 #else
10113     dXSARGS;
10114 #endif
10115     if (items != 1)
10116        croak_xs_usage(cv,  "CLASS");
10117     {
10118         char *  CLASS = (char *)SvPV_nolen(ST(0));
10119         wxRichTextStyleListCtrl *       RETVAL;
10120     RETVAL = new wxRichTextStyleListCtrl();
10121         ST(0) = sv_newmortal();
10122     wxPli_evthandler_2_sv( aTHX_ ST(0), RETVAL );
10123
10124     }
10125     XSRETURN(1);
10126 }
10127
10128
10129 XS(XS_Wx__RichTextStyleListCtrl_newFull); /* prototype to pass -Wmissing-prototypes */
10130 XS(XS_Wx__RichTextStyleListCtrl_newFull)
10131 {
10132 #ifdef dVAR
10133     dVAR; dXSARGS;
10134 #else
10135     dXSARGS;
10136 #endif
10137     if (items < 2 || items > 6)
10138        croak_xs_usage(cv,  "CLASS, parent, id = wxID_ANY, pos = wxDefaultPosition, size = wxDefaultSize, style = 0");
10139     {
10140         wxWindow*    parent = (wxWindow *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::Window" );
10141         wxWindowID      id;
10142         wxPoint pos;
10143         wxSize  size;
10144         long    style;
10145         char *  CLASS = (char *)SvPV_nolen(ST(0));
10146         wxRichTextStyleListCtrl *       RETVAL;
10147
10148         if (items < 3)
10149             id = wxID_ANY;
10150         else {
10151     id = wxPli_get_wxwindowid( aTHX_ ST(2) );
10152         }
10153
10154         if (items < 4)
10155             pos = wxDefaultPosition;
10156         else {
10157     pos = wxPli_sv_2_wxpoint( aTHX_ ST(3) );
10158         }
10159
10160         if (items < 5)
10161             size = wxDefaultSize;
10162         else {
10163     size = wxPli_sv_2_wxsize( aTHX_ ST(4) );
10164         }
10165
10166         if (items < 6)
10167             style = 0;
10168         else {
10169             style = (long)SvIV(ST(5));
10170         }
10171     RETVAL = new wxRichTextStyleListCtrl( parent, id, pos, size, style );
10172         ST(0) = sv_newmortal();
10173     wxPli_evthandler_2_sv( aTHX_ ST(0), RETVAL );
10174
10175     }
10176     XSRETURN(1);
10177 }
10178
10179
10180 XS(XS_Wx__RichTextStyleListCtrl_new); /* prototype to pass -Wmissing-prototypes */
10181 XS(XS_Wx__RichTextStyleListCtrl_new)
10182 {
10183 #ifdef dVAR
10184     dVAR; dXSARGS;
10185 #else
10186     dXSARGS;
10187 #endif
10188     if (items < 1)
10189        croak_xs_usage(cv,  "CLASS, ...");
10190     PERL_UNUSED_VAR(ax); /* -Wall */
10191     SP -= items;
10192     {
10193         char *  CLASS = (char *)SvPV_nolen(ST(0));
10194     BEGIN_OVERLOAD()
10195         MATCH_VOIDM_REDISP( newDefault )
10196         MATCH_ANY_REDISP( newFull )
10197     END_OVERLOAD( "Wx::RichTextStyleListCtrl::new" )
10198         PUTBACK;
10199         return;
10200     }
10201 }
10202
10203
10204 XS(XS_Wx__RichTextStyleListCtrl_Create); /* prototype to pass -Wmissing-prototypes */
10205 XS(XS_Wx__RichTextStyleListCtrl_Create)
10206 {
10207 #ifdef dVAR
10208     dVAR; dXSARGS;
10209 #else
10210     dXSARGS;
10211 #endif
10212     if (items < 2 || items > 6)
10213        croak_xs_usage(cv,  "THIS, parent, id = wxID_ANY, pos = wxDefaultPosition, size = wxDefaultSize, style = 0");
10214     {
10215         wxWindow*    parent = (wxWindow *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::Window" );
10216         wxWindowID      id;
10217         wxPoint pos;
10218         wxSize  size;
10219         long    style;
10220         wxRichTextStyleListCtrl *    THIS = (wxRichTextStyleListCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::RichTextStyleListCtrl" );
10221         bool    RETVAL;
10222
10223         if (items < 3)
10224             id = wxID_ANY;
10225         else {
10226     id = wxPli_get_wxwindowid( aTHX_ ST(2) );
10227         }
10228
10229         if (items < 4)
10230             pos = wxDefaultPosition;
10231         else {
10232     pos = wxPli_sv_2_wxpoint( aTHX_ ST(3) );
10233         }
10234
10235         if (items < 5)
10236             size = wxDefaultSize;
10237         else {
10238     size = wxPli_sv_2_wxsize( aTHX_ ST(4) );
10239         }
10240
10241         if (items < 6)
10242             style = 0;
10243         else {
10244             style = (long)SvIV(ST(5));
10245         }
10246
10247         RETVAL = THIS->Create(parent, id, pos, size, style);
10248         ST(0) = boolSV(RETVAL);
10249         sv_2mortal(ST(0));
10250     }
10251     XSRETURN(1);
10252 }
10253
10254
10255 XS(XS_Wx__RichTextStyleListCtrl_SetStyleSheet); /* prototype to pass -Wmissing-prototypes */
10256 XS(XS_Wx__RichTextStyleListCtrl_SetStyleSheet)
10257 {
10258 #ifdef dVAR
10259     dVAR; dXSARGS;
10260 #else
10261     dXSARGS;
10262 #endif
10263     if (items != 2)
10264        croak_xs_usage(cv,  "THIS, styleSheet");
10265     {
10266         wxRichTextStyleSheet*    styleSheet = (wxRichTextStyleSheet *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::RichTextStyleSheet" );
10267         wxRichTextStyleListCtrl *    THIS = (wxRichTextStyleListCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::RichTextStyleListCtrl" );
10268
10269         THIS->SetStyleSheet(styleSheet);
10270     }
10271     XSRETURN_EMPTY;
10272 }
10273
10274
10275 XS(XS_Wx__RichTextStyleListCtrl_GetStyleSheet); /* prototype to pass -Wmissing-prototypes */
10276 XS(XS_Wx__RichTextStyleListCtrl_GetStyleSheet)
10277 {
10278 #ifdef dVAR
10279     dVAR; dXSARGS;
10280 #else
10281     dXSARGS;
10282 #endif
10283     if (items != 1)
10284        croak_xs_usage(cv,  "THIS");
10285     {
10286         wxRichTextStyleListCtrl *    THIS = (wxRichTextStyleListCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::RichTextStyleListCtrl" );
10287         wxRichTextStyleSheet *  RETVAL;
10288     RETVAL = THIS->GetStyleSheet();
10289         ST(0) = sv_newmortal();
10290     wxPli_object_2_sv( aTHX_ ST(0), RETVAL );
10291     wxPli_thread_sv_register( aTHX_ "Wx::RichTextStyleSheet", RETVAL, ST(0) );
10292
10293     wxPli_object_set_deleteable( aTHX_ ST(0), false );
10294     }
10295     XSRETURN(1);
10296 }
10297
10298
10299 XS(XS_Wx__RichTextStyleListCtrl_SetRichTextCtrl); /* prototype to pass -Wmissing-prototypes */
10300 XS(XS_Wx__RichTextStyleListCtrl_SetRichTextCtrl)
10301 {
10302 #ifdef dVAR
10303     dVAR; dXSARGS;
10304 #else
10305     dXSARGS;
10306 #endif
10307     if (items != 2)
10308        croak_xs_usage(cv,  "THIS, ctrl");
10309     {
10310         wxRichTextCtrl*    ctrl = (wxRichTextCtrl *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::RichTextCtrl" );
10311         wxRichTextStyleListCtrl *    THIS = (wxRichTextStyleListCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::RichTextStyleListCtrl" );
10312
10313         THIS->SetRichTextCtrl(ctrl);
10314     }
10315     XSRETURN_EMPTY;
10316 }
10317
10318
10319 XS(XS_Wx__RichTextStyleListCtrl_GetRichTextCtrl); /* prototype to pass -Wmissing-prototypes */
10320 XS(XS_Wx__RichTextStyleListCtrl_GetRichTextCtrl)
10321 {
10322 #ifdef dVAR
10323     dVAR; dXSARGS;
10324 #else
10325     dXSARGS;
10326 #endif
10327     if (items != 1)
10328        croak_xs_usage(cv,  "THIS");
10329     {
10330         wxRichTextStyleListCtrl *    THIS = (wxRichTextStyleListCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::RichTextStyleListCtrl" );
10331         wxRichTextCtrl *        RETVAL;
10332
10333         RETVAL = THIS->GetRichTextCtrl();
10334         ST(0) = sv_newmortal();
10335     wxPli_evthandler_2_sv( aTHX_ ST(0), RETVAL );
10336
10337     }
10338     XSRETURN(1);
10339 }
10340
10341
10342 XS(XS_Wx__RichTextStyleListCtrl_UpdateStyles); /* prototype to pass -Wmissing-prototypes */
10343 XS(XS_Wx__RichTextStyleListCtrl_UpdateStyles)
10344 {
10345 #ifdef dVAR
10346     dVAR; dXSARGS;
10347 #else
10348     dXSARGS;
10349 #endif
10350     if (items != 1)
10351        croak_xs_usage(cv,  "THIS");
10352     {
10353         wxRichTextStyleListCtrl *    THIS = (wxRichTextStyleListCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::RichTextStyleListCtrl" );
10354
10355         THIS->UpdateStyles();
10356     }
10357     XSRETURN_EMPTY;
10358 }
10359
10360
10361 XS(XS_Wx__RichTextStyleListCtrl_SetStyleType); /* prototype to pass -Wmissing-prototypes */
10362 XS(XS_Wx__RichTextStyleListCtrl_SetStyleType)
10363 {
10364 #ifdef dVAR
10365     dVAR; dXSARGS;
10366 #else
10367     dXSARGS;
10368 #endif
10369     if (items != 2)
10370        croak_xs_usage(cv,  "THIS, styleType");
10371     {
10372         wxPliRichTextStyleType  styleType = (wxPliRichTextStyleType)SvIV(ST(1));
10373         wxRichTextStyleListCtrl *    THIS = (wxRichTextStyleListCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::RichTextStyleListCtrl" );
10374
10375         THIS->SetStyleType(styleType);
10376     }
10377     XSRETURN_EMPTY;
10378 }
10379
10380
10381 XS(XS_Wx__RichTextStyleListCtrl_GetStyleType); /* prototype to pass -Wmissing-prototypes */
10382 XS(XS_Wx__RichTextStyleListCtrl_GetStyleType)
10383 {
10384 #ifdef dVAR
10385     dVAR; dXSARGS;
10386 #else
10387     dXSARGS;
10388 #endif
10389     if (items != 1)
10390        croak_xs_usage(cv,  "THIS");
10391     {
10392         wxRichTextStyleListCtrl *    THIS = (wxRichTextStyleListCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::RichTextStyleListCtrl" );
10393         wxPliRichTextStyleType  RETVAL;
10394         dXSTARG;
10395
10396         RETVAL = THIS->GetStyleType();
10397         XSprePUSH; PUSHi((IV)RETVAL);
10398     }
10399     XSRETURN(1);
10400 }
10401
10402
10403 XS(XS_Wx__RichTextStyleListCtrl_StyleTypeToIndex); /* prototype to pass -Wmissing-prototypes */
10404 XS(XS_Wx__RichTextStyleListCtrl_StyleTypeToIndex)
10405 {
10406 #ifdef dVAR
10407     dVAR; dXSARGS;
10408 #else
10409     dXSARGS;
10410 #endif
10411     if (items != 2)
10412        croak_xs_usage(cv,  "THIS, styleType");
10413     {
10414         wxPliRichTextStyleType  styleType = (wxPliRichTextStyleType)SvIV(ST(1));
10415         wxRichTextStyleListCtrl *    THIS = (wxRichTextStyleListCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::RichTextStyleListCtrl" );
10416         int     RETVAL;
10417         dXSTARG;
10418
10419         RETVAL = THIS->StyleTypeToIndex(styleType);
10420         XSprePUSH; PUSHi((IV)RETVAL);
10421     }
10422     XSRETURN(1);
10423 }
10424
10425
10426 XS(XS_Wx__RichTextStyleListCtrl_StyleIndexToType); /* prototype to pass -Wmissing-prototypes */
10427 XS(XS_Wx__RichTextStyleListCtrl_StyleIndexToType)
10428 {
10429 #ifdef dVAR
10430     dVAR; dXSARGS;
10431 #else
10432     dXSARGS;
10433 #endif
10434     if (items != 2)
10435        croak_xs_usage(cv,  "THIS, i");
10436     {
10437         int     i = (int)SvIV(ST(1));
10438         wxRichTextStyleListCtrl *    THIS = (wxRichTextStyleListCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::RichTextStyleListCtrl" );
10439         wxPliRichTextStyleType  RETVAL;
10440         dXSTARG;
10441
10442         RETVAL = THIS->StyleIndexToType(i);
10443         XSprePUSH; PUSHi((IV)RETVAL);
10444     }
10445     XSRETURN(1);
10446 }
10447
10448
10449 XS(XS_Wx__RichTextStyleListCtrl_GetStyleListBox); /* prototype to pass -Wmissing-prototypes */
10450 XS(XS_Wx__RichTextStyleListCtrl_GetStyleListBox)
10451 {
10452 #ifdef dVAR
10453     dVAR; dXSARGS;
10454 #else
10455     dXSARGS;
10456 #endif
10457     if (items != 1)
10458        croak_xs_usage(cv,  "THIS");
10459     {
10460         wxRichTextStyleListCtrl *    THIS = (wxRichTextStyleListCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::RichTextStyleListCtrl" );
10461         wxRichTextStyleListBox *        RETVAL;
10462
10463         RETVAL = THIS->GetStyleListBox();
10464         ST(0) = sv_newmortal();
10465     wxPli_evthandler_2_sv( aTHX_ ST(0), RETVAL );
10466
10467     }
10468     XSRETURN(1);
10469 }
10470
10471
10472 XS(XS_Wx__RichTextStyleListCtrl_GetStyleChoice); /* prototype to pass -Wmissing-prototypes */
10473 XS(XS_Wx__RichTextStyleListCtrl_GetStyleChoice)
10474 {
10475 #ifdef dVAR
10476     dVAR; dXSARGS;
10477 #else
10478     dXSARGS;
10479 #endif
10480     if (items != 1)
10481        croak_xs_usage(cv,  "THIS");
10482     {
10483         wxRichTextStyleListCtrl *    THIS = (wxRichTextStyleListCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::RichTextStyleListCtrl" );
10484         wxChoice *      RETVAL;
10485
10486         RETVAL = THIS->GetStyleChoice();
10487         ST(0) = sv_newmortal();
10488     wxPli_evthandler_2_sv( aTHX_ ST(0), RETVAL );
10489
10490     }
10491     XSRETURN(1);
10492 }
10493
10494 #endif
10495 #if WXPERL_W_VERSION_GE( 2, 7, 1 )
10496 #define XSubPPtmpAACI 1
10497
10498
10499 XS(XS_Wx__RichTextStyleComboCtrl_newDefault); /* prototype to pass -Wmissing-prototypes */
10500 XS(XS_Wx__RichTextStyleComboCtrl_newDefault)
10501 {
10502 #ifdef dVAR
10503     dVAR; dXSARGS;
10504 #else
10505     dXSARGS;
10506 #endif
10507     if (items != 1)
10508        croak_xs_usage(cv,  "CLASS");
10509     {
10510         char *  CLASS = (char *)SvPV_nolen(ST(0));
10511         wxRichTextStyleComboCtrl *      RETVAL;
10512     RETVAL = new wxRichTextStyleComboCtrl();
10513         ST(0) = sv_newmortal();
10514     wxPli_evthandler_2_sv( aTHX_ ST(0), RETVAL );
10515
10516     }
10517     XSRETURN(1);
10518 }
10519
10520
10521 XS(XS_Wx__RichTextStyleComboCtrl_newFull); /* prototype to pass -Wmissing-prototypes */
10522 XS(XS_Wx__RichTextStyleComboCtrl_newFull)
10523 {
10524 #ifdef dVAR
10525     dVAR; dXSARGS;
10526 #else
10527     dXSARGS;
10528 #endif
10529     if (items < 2 || items > 6)
10530        croak_xs_usage(cv,  "CLASS, parent, id = wxID_ANY, pos = wxDefaultPosition, size = wxDefaultSize, style = 0");
10531     {
10532         wxWindow*    parent = (wxWindow *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::Window" );
10533         wxWindowID      id;
10534         wxPoint pos;
10535         wxSize  size;
10536         long    style;
10537         char *  CLASS = (char *)SvPV_nolen(ST(0));
10538         wxRichTextStyleComboCtrl *      RETVAL;
10539
10540         if (items < 3)
10541             id = wxID_ANY;
10542         else {
10543     id = wxPli_get_wxwindowid( aTHX_ ST(2) );
10544         }
10545
10546         if (items < 4)
10547             pos = wxDefaultPosition;
10548         else {
10549     pos = wxPli_sv_2_wxpoint( aTHX_ ST(3) );
10550         }
10551
10552         if (items < 5)
10553             size = wxDefaultSize;
10554         else {
10555     size = wxPli_sv_2_wxsize( aTHX_ ST(4) );
10556         }
10557
10558         if (items < 6)
10559             style = 0;
10560         else {
10561             style = (long)SvIV(ST(5));
10562         }
10563     RETVAL = new wxRichTextStyleComboCtrl( parent, id, pos, size, style );
10564         ST(0) = sv_newmortal();
10565     wxPli_evthandler_2_sv( aTHX_ ST(0), RETVAL );
10566
10567     }
10568     XSRETURN(1);
10569 }
10570
10571
10572 XS(XS_Wx__RichTextStyleComboCtrl_new); /* prototype to pass -Wmissing-prototypes */
10573 XS(XS_Wx__RichTextStyleComboCtrl_new)
10574 {
10575 #ifdef dVAR
10576     dVAR; dXSARGS;
10577 #else
10578     dXSARGS;
10579 #endif
10580     if (items < 1)
10581        croak_xs_usage(cv,  "CLASS, ...");
10582     PERL_UNUSED_VAR(ax); /* -Wall */
10583     SP -= items;
10584     {
10585         char *  CLASS = (char *)SvPV_nolen(ST(0));
10586     BEGIN_OVERLOAD()
10587         MATCH_VOIDM_REDISP( newDefault )
10588         MATCH_ANY_REDISP( newFull )
10589     END_OVERLOAD( "Wx::RichTextStyleComboCtrl::new" )
10590         PUTBACK;
10591         return;
10592     }
10593 }
10594
10595
10596 XS(XS_Wx__RichTextStyleComboCtrl_Create); /* prototype to pass -Wmissing-prototypes */
10597 XS(XS_Wx__RichTextStyleComboCtrl_Create)
10598 {
10599 #ifdef dVAR
10600     dVAR; dXSARGS;
10601 #else
10602     dXSARGS;
10603 #endif
10604     if (items < 2 || items > 6)
10605        croak_xs_usage(cv,  "THIS, parent, id = wxID_ANY, pos = wxDefaultPosition, size = wxDefaultSize, style = 0");
10606     {
10607         wxWindow*    parent = (wxWindow *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::Window" );
10608         wxWindowID      id;
10609         wxPoint pos;
10610         wxSize  size;
10611         long    style;
10612         wxRichTextStyleComboCtrl *    THIS = (wxRichTextStyleComboCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::RichTextStyleComboCtrl" );
10613         bool    RETVAL;
10614
10615         if (items < 3)
10616             id = wxID_ANY;
10617         else {
10618     id = wxPli_get_wxwindowid( aTHX_ ST(2) );
10619         }
10620
10621         if (items < 4)
10622             pos = wxDefaultPosition;
10623         else {
10624     pos = wxPli_sv_2_wxpoint( aTHX_ ST(3) );
10625         }
10626
10627         if (items < 5)
10628             size = wxDefaultSize;
10629         else {
10630     size = wxPli_sv_2_wxsize( aTHX_ ST(4) );
10631         }
10632
10633         if (items < 6)
10634             style = 0;
10635         else {
10636             style = (long)SvIV(ST(5));
10637         }
10638
10639         RETVAL = THIS->Create(parent, id, pos, size, style);
10640         ST(0) = boolSV(RETVAL);
10641         sv_2mortal(ST(0));
10642     }
10643     XSRETURN(1);
10644 }
10645
10646
10647 XS(XS_Wx__RichTextStyleComboCtrl_UpdateStyles); /* prototype to pass -Wmissing-prototypes */
10648 XS(XS_Wx__RichTextStyleComboCtrl_UpdateStyles)
10649 {
10650 #ifdef dVAR
10651     dVAR; dXSARGS;
10652 #else
10653     dXSARGS;
10654 #endif
10655     if (items != 1)
10656        croak_xs_usage(cv,  "THIS");
10657     {
10658         wxRichTextStyleComboCtrl *    THIS = (wxRichTextStyleComboCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::RichTextStyleComboCtrl" );
10659
10660         THIS->UpdateStyles();
10661     }
10662     XSRETURN_EMPTY;
10663 }
10664
10665
10666 XS(XS_Wx__RichTextStyleComboCtrl_SetStyleSheet); /* prototype to pass -Wmissing-prototypes */
10667 XS(XS_Wx__RichTextStyleComboCtrl_SetStyleSheet)
10668 {
10669 #ifdef dVAR
10670     dVAR; dXSARGS;
10671 #else
10672     dXSARGS;
10673 #endif
10674     if (items != 2)
10675        croak_xs_usage(cv,  "THIS, styleSheet");
10676     {
10677         wxRichTextStyleSheet*    styleSheet = (wxRichTextStyleSheet *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::RichTextStyleSheet" );
10678         wxRichTextStyleComboCtrl *    THIS = (wxRichTextStyleComboCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::RichTextStyleComboCtrl" );
10679
10680         THIS->SetStyleSheet(styleSheet);
10681     }
10682     XSRETURN_EMPTY;
10683 }
10684
10685
10686 XS(XS_Wx__RichTextStyleComboCtrl_GetStyleSheet); /* prototype to pass -Wmissing-prototypes */
10687 XS(XS_Wx__RichTextStyleComboCtrl_GetStyleSheet)
10688 {
10689 #ifdef dVAR
10690     dVAR; dXSARGS;
10691 #else
10692     dXSARGS;
10693 #endif
10694     if (items != 1)
10695        croak_xs_usage(cv,  "THIS");
10696     {
10697         wxRichTextStyleComboCtrl *    THIS = (wxRichTextStyleComboCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::RichTextStyleComboCtrl" );
10698         wxRichTextStyleSheet *  RETVAL;
10699     RETVAL = THIS->GetStyleSheet();
10700         ST(0) = sv_newmortal();
10701     wxPli_object_2_sv( aTHX_ ST(0), RETVAL );
10702     wxPli_thread_sv_register( aTHX_ "Wx::RichTextStyleSheet", RETVAL, ST(0) );
10703
10704     wxPli_object_set_deleteable( aTHX_ ST(0), false );
10705     }
10706     XSRETURN(1);
10707 }
10708
10709
10710 XS(XS_Wx__RichTextStyleComboCtrl_SetRichTextCtrl); /* prototype to pass -Wmissing-prototypes */
10711 XS(XS_Wx__RichTextStyleComboCtrl_SetRichTextCtrl)
10712 {
10713 #ifdef dVAR
10714     dVAR; dXSARGS;
10715 #else
10716     dXSARGS;
10717 #endif
10718     if (items != 2)
10719        croak_xs_usage(cv,  "THIS, ctrl");
10720     {
10721         wxRichTextCtrl*    ctrl = (wxRichTextCtrl *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::RichTextCtrl" );
10722         wxRichTextStyleComboCtrl *    THIS = (wxRichTextStyleComboCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::RichTextStyleComboCtrl" );
10723
10724         THIS->SetRichTextCtrl(ctrl);
10725     }
10726     XSRETURN_EMPTY;
10727 }
10728
10729
10730 XS(XS_Wx__RichTextStyleComboCtrl_GetRichTextCtrl); /* prototype to pass -Wmissing-prototypes */
10731 XS(XS_Wx__RichTextStyleComboCtrl_GetRichTextCtrl)
10732 {
10733 #ifdef dVAR
10734     dVAR; dXSARGS;
10735 #else
10736     dXSARGS;
10737 #endif
10738     if (items != 1)
10739        croak_xs_usage(cv,  "THIS");
10740     {
10741         wxRichTextStyleComboCtrl *    THIS = (wxRichTextStyleComboCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::RichTextStyleComboCtrl" );
10742         wxRichTextCtrl *        RETVAL;
10743
10744         RETVAL = THIS->GetRichTextCtrl();
10745         ST(0) = sv_newmortal();
10746     wxPli_evthandler_2_sv( aTHX_ ST(0), RETVAL );
10747
10748     }
10749     XSRETURN(1);
10750 }
10751
10752 #endif
10753
10754 /* INCLUDE: Returning to 'RichText.xs' from 'perl -MExtUtils::XSpp::Cmd -e xspp -- -t typemap.xsp -t ../../typemap.xsp XS/RichTextStyleCtrl.xsp |' */
10755
10756
10757 /* INCLUDE:  Including 'perl -MExtUtils::XSpp::Cmd -e xspp -- -t typemap.xsp -t ../../typemap.xsp XS/RichTextFormattingDialog.xsp |' from 'RichText.xs' */
10758
10759 #include <wx/richtext/richtextformatdlg.h>
10760 #include <wx/imaglist.h>
10761 #define wxRICHTEXT_FM_DEFAULT_APPLY_STYLE wxRICHTEXT_SETSTYLE_WITH_UNDO|wxRICHTEXT_SETSTYLE_OPTIMIZE
10762
10763 XS(XS_Wx__RichTextFormattingDialog_newDefault); /* prototype to pass -Wmissing-prototypes */
10764 XS(XS_Wx__RichTextFormattingDialog_newDefault)
10765 {
10766 #ifdef dVAR
10767     dVAR; dXSARGS;
10768 #else
10769     dXSARGS;
10770 #endif
10771     if (items != 1)
10772        croak_xs_usage(cv,  "CLASS");
10773     {
10774         char *  CLASS = (char *)SvPV_nolen(ST(0));
10775         wxRichTextFormattingDialog *    RETVAL;
10776     RETVAL = new wxRichTextFormattingDialog();
10777         ST(0) = sv_newmortal();
10778     wxPli_object_2_sv( aTHX_ ST(0), RETVAL );
10779
10780     }
10781     XSRETURN(1);
10782 }
10783
10784
10785 XS(XS_Wx__RichTextFormattingDialog_newFull); /* prototype to pass -Wmissing-prototypes */
10786 XS(XS_Wx__RichTextFormattingDialog_newFull)
10787 {
10788 #ifdef dVAR
10789     dVAR; dXSARGS;
10790 #else
10791     dXSARGS;
10792 #endif
10793     if (items < 3 || items > 8)
10794        croak_xs_usage(cv,  "CLASS, flags, parent, title = wxT(\"Formatting\"), id = wxID_ANY, pos = wxDefaultPosition, sz = wxDefaultSize, style = wxDEFAULT_DIALOG_STYLE");
10795     {
10796         long    flags = (long)SvIV(ST(1));
10797         wxWindow*    parent = (wxWindow *) wxPli_sv_2_object( aTHX_ ST(2), "Wx::Window" );
10798         wxString        title;
10799         wxWindowID      id;
10800         wxPoint pos;
10801         wxSize  sz;
10802         long    style;
10803         char *  CLASS = (char *)SvPV_nolen(ST(0));
10804         wxRichTextFormattingDialog *    RETVAL;
10805
10806         if (items < 4)
10807             title = wxT("Formatting");
10808         else {
10809     WXSTRING_INPUT( title, wxString, ST(3) );
10810         }
10811
10812         if (items < 5)
10813             id = wxID_ANY;
10814         else {
10815     id = wxPli_get_wxwindowid( aTHX_ ST(4) );
10816         }
10817
10818         if (items < 6)
10819             pos = wxDefaultPosition;
10820         else {
10821     pos = wxPli_sv_2_wxpoint( aTHX_ ST(5) );
10822         }
10823
10824         if (items < 7)
10825             sz = wxDefaultSize;
10826         else {
10827     sz = wxPli_sv_2_wxsize( aTHX_ ST(6) );
10828         }
10829
10830         if (items < 8)
10831             style = wxDEFAULT_DIALOG_STYLE;
10832         else {
10833             style = (long)SvIV(ST(7));
10834         }
10835     RETVAL = new wxRichTextFormattingDialog( flags, parent, title, id, pos, sz, style );
10836         ST(0) = sv_newmortal();
10837     wxPli_object_2_sv( aTHX_ ST(0), RETVAL );
10838
10839     }
10840     XSRETURN(1);
10841 }
10842
10843
10844 XS(XS_Wx__RichTextFormattingDialog_new); /* prototype to pass -Wmissing-prototypes */
10845 XS(XS_Wx__RichTextFormattingDialog_new)
10846 {
10847 #ifdef dVAR
10848     dVAR; dXSARGS;
10849 #else
10850     dXSARGS;
10851 #endif
10852     if (items < 1)
10853        croak_xs_usage(cv,  "CLASS, ...");
10854     PERL_UNUSED_VAR(ax); /* -Wall */
10855     SP -= items;
10856     {
10857         char *  CLASS = (char *)SvPV_nolen(ST(0));
10858     BEGIN_OVERLOAD()
10859         MATCH_VOIDM_REDISP( newDefault )
10860         MATCH_ANY_REDISP( newFull )
10861     END_OVERLOAD( "Wx::RichTextFormattingDialog::new" )
10862         PUTBACK;
10863         return;
10864     }
10865 }
10866
10867
10868 XS(XS_Wx__RichTextFormattingDialog_Create); /* prototype to pass -Wmissing-prototypes */
10869 XS(XS_Wx__RichTextFormattingDialog_Create)
10870 {
10871 #ifdef dVAR
10872     dVAR; dXSARGS;
10873 #else
10874     dXSARGS;
10875 #endif
10876     if (items < 3 || items > 8)
10877        croak_xs_usage(cv,  "THIS, flags, parent, title = wxT(\"Formatting\"), id = wxID_ANY, pos = wxDefaultPosition, sz = wxDefaultSize, style = wxDEFAULT_DIALOG_STYLE");
10878     {
10879         long    flags = (long)SvIV(ST(1));
10880         wxWindow*    parent = (wxWindow *) wxPli_sv_2_object( aTHX_ ST(2), "Wx::Window" );
10881         wxString        title;
10882         wxWindowID      id;
10883         wxPoint pos;
10884         wxSize  sz;
10885         long    style;
10886         wxRichTextFormattingDialog *    THIS = (wxRichTextFormattingDialog *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::RichTextFormattingDialog" );
10887         bool    RETVAL;
10888
10889         if (items < 4)
10890             title = wxT("Formatting");
10891         else {
10892     WXSTRING_INPUT( title, wxString, ST(3) );
10893         }
10894
10895         if (items < 5)
10896             id = wxID_ANY;
10897         else {
10898     id = wxPli_get_wxwindowid( aTHX_ ST(4) );
10899         }
10900
10901         if (items < 6)
10902             pos = wxDefaultPosition;
10903         else {
10904     pos = wxPli_sv_2_wxpoint( aTHX_ ST(5) );
10905         }
10906
10907         if (items < 7)
10908             sz = wxDefaultSize;
10909         else {
10910     sz = wxPli_sv_2_wxsize( aTHX_ ST(6) );
10911         }
10912
10913         if (items < 8)
10914             style = wxDEFAULT_DIALOG_STYLE;
10915         else {
10916             style = (long)SvIV(ST(7));
10917         }
10918
10919         RETVAL = THIS->Create(flags, parent, title, id, pos, sz, style);
10920         ST(0) = boolSV(RETVAL);
10921         sv_2mortal(ST(0));
10922     }
10923     XSRETURN(1);
10924 }
10925
10926
10927 XS(XS_Wx__RichTextFormattingDialog_GetStyle); /* prototype to pass -Wmissing-prototypes */
10928 XS(XS_Wx__RichTextFormattingDialog_GetStyle)
10929 {
10930 #ifdef dVAR
10931     dVAR; dXSARGS;
10932 #else
10933     dXSARGS;
10934 #endif
10935     if (items != 3)
10936        croak_xs_usage(cv,  "THIS, ctrl, range");
10937     {
10938         wxRichTextCtrl*    ctrl = (wxRichTextCtrl *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::RichTextCtrl" );
10939         wxRichTextRange*    range = (wxRichTextRange *) wxPli_sv_2_object( aTHX_ ST(2), "Wx::RichTextRange" );
10940         wxRichTextFormattingDialog *    THIS = (wxRichTextFormattingDialog *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::RichTextFormattingDialog" );
10941         bool    RETVAL;
10942     RETVAL = THIS->GetStyle( ctrl, *( range ) );
10943         ST(0) = boolSV(RETVAL);
10944         sv_2mortal(ST(0));
10945     }
10946     XSRETURN(1);
10947 }
10948
10949
10950 XS(XS_Wx__RichTextFormattingDialog_SetStyle); /* prototype to pass -Wmissing-prototypes */
10951 XS(XS_Wx__RichTextFormattingDialog_SetStyle)
10952 {
10953 #ifdef dVAR
10954     dVAR; dXSARGS;
10955 #else
10956     dXSARGS;
10957 #endif
10958     if (items < 2 || items > 3)
10959        croak_xs_usage(cv,  "THIS, style, update = true");
10960     {
10961         wxTextAttrEx*    style = (wxTextAttrEx *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::TextAttrEx" );
10962         bool    update;
10963         wxRichTextFormattingDialog *    THIS = (wxRichTextFormattingDialog *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::RichTextFormattingDialog" );
10964         bool    RETVAL;
10965
10966         if (items < 3)
10967             update = true;
10968         else {
10969             update = (bool)SvTRUE(ST(2));
10970         }
10971     RETVAL = THIS->SetStyle( *( style ), update );
10972         ST(0) = boolSV(RETVAL);
10973         sv_2mortal(ST(0));
10974     }
10975     XSRETURN(1);
10976 }
10977
10978
10979 XS(XS_Wx__RichTextFormattingDialog_SetStyleDefinition); /* prototype to pass -Wmissing-prototypes */
10980 XS(XS_Wx__RichTextFormattingDialog_SetStyleDefinition)
10981 {
10982 #ifdef dVAR
10983     dVAR; dXSARGS;
10984 #else
10985     dXSARGS;
10986 #endif
10987     if (items < 3 || items > 4)
10988        croak_xs_usage(cv,  "THIS, styleDef, sheet, update = true");
10989     {
10990         wxRichTextStyleDefinition*    styleDef = (wxRichTextStyleDefinition *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::RichTextStyleDefinition" );
10991         wxRichTextStyleSheet*    sheet = (wxRichTextStyleSheet *) wxPli_sv_2_object( aTHX_ ST(2), "Wx::RichTextStyleSheet" );
10992         bool    update;
10993         wxRichTextFormattingDialog *    THIS = (wxRichTextFormattingDialog *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::RichTextFormattingDialog" );
10994         bool    RETVAL;
10995
10996         if (items < 4)
10997             update = true;
10998         else {
10999             update = (bool)SvTRUE(ST(3));
11000         }
11001     RETVAL = THIS->SetStyleDefinition( *( styleDef ), sheet, update );
11002         ST(0) = boolSV(RETVAL);
11003         sv_2mortal(ST(0));
11004     }
11005     XSRETURN(1);
11006 }
11007
11008
11009 XS(XS_Wx__RichTextFormattingDialog_GetStyleDefinition); /* prototype to pass -Wmissing-prototypes */
11010 XS(XS_Wx__RichTextFormattingDialog_GetStyleDefinition)
11011 {
11012 #ifdef dVAR
11013     dVAR; dXSARGS;
11014 #else
11015     dXSARGS;
11016 #endif
11017     if (items != 1)
11018        croak_xs_usage(cv,  "THIS");
11019     {
11020         wxRichTextFormattingDialog *    THIS = (wxRichTextFormattingDialog *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::RichTextFormattingDialog" );
11021         wxRichTextStyleDefinition *     RETVAL;
11022     RETVAL = THIS->GetStyleDefinition();
11023         ST(0) = sv_newmortal();
11024     wxPli_object_2_sv( aTHX_ ST(0), RETVAL );
11025     wxPli_thread_sv_register( aTHX_ "Wx::RichTextStyleDefinition", RETVAL, ST(0) );
11026
11027     wxPli_object_set_deleteable( aTHX_ ST(0), false );
11028     }
11029     XSRETURN(1);
11030 }
11031
11032
11033 XS(XS_Wx__RichTextFormattingDialog_GetDialogStyleDefinition); /* prototype to pass -Wmissing-prototypes */
11034 XS(XS_Wx__RichTextFormattingDialog_GetDialogStyleDefinition)
11035 {
11036 #ifdef dVAR
11037     dVAR; dXSARGS;
11038 #else
11039     dXSARGS;
11040 #endif
11041     if (items != 2)
11042        croak_xs_usage(cv,  "THIS, win");
11043     {
11044         wxWindow*    win = (wxWindow *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::Window" );
11045         wxRichTextFormattingDialog *    THIS = (wxRichTextFormattingDialog *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::RichTextFormattingDialog" );
11046         wxRichTextStyleDefinition *     RETVAL;
11047     RETVAL = THIS->GetDialogStyleDefinition( win );
11048         ST(0) = sv_newmortal();
11049     wxPli_object_2_sv( aTHX_ ST(0), RETVAL );
11050     wxPli_thread_sv_register( aTHX_ "Wx::RichTextStyleDefinition", RETVAL, ST(0) );
11051
11052     wxPli_object_set_deleteable( aTHX_ ST(0), false );
11053     }
11054     XSRETURN(1);
11055 }
11056
11057
11058 XS(XS_Wx__RichTextFormattingDialog_GetStyleSheet); /* prototype to pass -Wmissing-prototypes */
11059 XS(XS_Wx__RichTextFormattingDialog_GetStyleSheet)
11060 {
11061 #ifdef dVAR
11062     dVAR; dXSARGS;
11063 #else
11064     dXSARGS;
11065 #endif
11066     if (items != 1)
11067        croak_xs_usage(cv,  "THIS");
11068     {
11069         wxRichTextFormattingDialog *    THIS = (wxRichTextFormattingDialog *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::RichTextFormattingDialog" );
11070         wxRichTextStyleSheet *  RETVAL;
11071     RETVAL = THIS->GetStyleSheet();
11072         ST(0) = sv_newmortal();
11073     wxPli_object_2_sv( aTHX_ ST(0), RETVAL );
11074     wxPli_thread_sv_register( aTHX_ "Wx::RichTextStyleSheet", RETVAL, ST(0) );
11075
11076     wxPli_object_set_deleteable( aTHX_ ST(0), false );
11077     }
11078     XSRETURN(1);
11079 }
11080
11081
11082 XS(XS_Wx__RichTextFormattingDialog_UpdateDisplay); /* prototype to pass -Wmissing-prototypes */
11083 XS(XS_Wx__RichTextFormattingDialog_UpdateDisplay)
11084 {
11085 #ifdef dVAR
11086     dVAR; dXSARGS;
11087 #else
11088     dXSARGS;
11089 #endif
11090     if (items != 1)
11091        croak_xs_usage(cv,  "THIS");
11092     {
11093         wxRichTextFormattingDialog *    THIS = (wxRichTextFormattingDialog *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::RichTextFormattingDialog" );
11094         bool    RETVAL;
11095
11096         RETVAL = THIS->UpdateDisplay();
11097         ST(0) = boolSV(RETVAL);
11098         sv_2mortal(ST(0));
11099     }
11100     XSRETURN(1);
11101 }
11102
11103
11104 XS(XS_Wx__RichTextFormattingDialog_ApplyStyle); /* prototype to pass -Wmissing-prototypes */
11105 XS(XS_Wx__RichTextFormattingDialog_ApplyStyle)
11106 {
11107 #ifdef dVAR
11108     dVAR; dXSARGS;
11109 #else
11110     dXSARGS;
11111 #endif
11112     if (items < 3 || items > 4)
11113        croak_xs_usage(cv,  "THIS, ctrl, range, flags = wxRICHTEXT_FM_DEFAULT_APPLY_STYLE");
11114     {
11115         wxRichTextCtrl*    ctrl = (wxRichTextCtrl *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::RichTextCtrl" );
11116         wxRichTextRange*    range = (wxRichTextRange *) wxPli_sv_2_object( aTHX_ ST(2), "Wx::RichTextRange" );
11117         int     flags;
11118         wxRichTextFormattingDialog *    THIS = (wxRichTextFormattingDialog *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::RichTextFormattingDialog" );
11119         bool    RETVAL;
11120
11121         if (items < 4)
11122             flags = wxRICHTEXT_FM_DEFAULT_APPLY_STYLE;
11123         else {
11124             flags = (int)SvIV(ST(3));
11125         }
11126     RETVAL = THIS->ApplyStyle( ctrl, *( range ), flags );
11127         ST(0) = boolSV(RETVAL);
11128         sv_2mortal(ST(0));
11129     }
11130     XSRETURN(1);
11131 }
11132
11133
11134 XS(XS_Wx__RichTextFormattingDialog_GetAttributes); /* prototype to pass -Wmissing-prototypes */
11135 XS(XS_Wx__RichTextFormattingDialog_GetAttributes)
11136 {
11137 #ifdef dVAR
11138     dVAR; dXSARGS;
11139 #else
11140     dXSARGS;
11141 #endif
11142     if (items != 1)
11143        croak_xs_usage(cv,  "THIS");
11144     {
11145         wxRichTextFormattingDialog *    THIS = (wxRichTextFormattingDialog *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::RichTextFormattingDialog" );
11146         wxTextAttrEx *  RETVAL;
11147     RETVAL = new wxTextAttrEx( THIS->GetAttributes() );
11148         ST(0) = sv_newmortal();
11149     wxPli_non_object_2_sv( aTHX_ ST(0), RETVAL, "Wx::TextAttrEx" );
11150     wxPli_thread_sv_register( aTHX_ "Wx::TextAttrEx", RETVAL, ST(0) );
11151
11152     }
11153     XSRETURN(1);
11154 }
11155
11156
11157 XS(XS_Wx__RichTextFormattingDialog_SetAttributes); /* prototype to pass -Wmissing-prototypes */
11158 XS(XS_Wx__RichTextFormattingDialog_SetAttributes)
11159 {
11160 #ifdef dVAR
11161     dVAR; dXSARGS;
11162 #else
11163     dXSARGS;
11164 #endif
11165     if (items != 2)
11166        croak_xs_usage(cv,  "THIS, attr");
11167     {
11168         wxTextAttrEx*    attr = (wxTextAttrEx *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::TextAttrEx" );
11169         wxRichTextFormattingDialog *    THIS = (wxRichTextFormattingDialog *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::RichTextFormattingDialog" );
11170     THIS->SetAttributes( *( attr ) );
11171     }
11172     XSRETURN_EMPTY;
11173 }
11174
11175
11176 XS(XS_Wx__RichTextFormattingDialog_SetImageList); /* prototype to pass -Wmissing-prototypes */
11177 XS(XS_Wx__RichTextFormattingDialog_SetImageList)
11178 {
11179 #ifdef dVAR
11180     dVAR; dXSARGS;
11181 #else
11182     dXSARGS;
11183 #endif
11184     if (items != 2)
11185        croak_xs_usage(cv,  "THIS, imageList");
11186     {
11187         wxImageList*    imageList = (wxImageList *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::ImageList" );
11188         wxRichTextFormattingDialog *    THIS = (wxRichTextFormattingDialog *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::RichTextFormattingDialog" );
11189
11190         THIS->SetImageList(imageList);
11191     }
11192     XSRETURN_EMPTY;
11193 }
11194
11195
11196 XS(XS_Wx__RichTextFormattingDialog_GetImageList); /* prototype to pass -Wmissing-prototypes */
11197 XS(XS_Wx__RichTextFormattingDialog_GetImageList)
11198 {
11199 #ifdef dVAR
11200     dVAR; dXSARGS;
11201 #else
11202     dXSARGS;
11203 #endif
11204     if (items != 1)
11205        croak_xs_usage(cv,  "THIS");
11206     {
11207         wxRichTextFormattingDialog *    THIS = (wxRichTextFormattingDialog *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::RichTextFormattingDialog" );
11208         wxImageList *   RETVAL;
11209
11210         RETVAL = THIS->GetImageList();
11211         ST(0) = sv_newmortal();
11212     wxPli_object_2_sv( aTHX_ ST(0), RETVAL );
11213     wxPli_thread_sv_register( aTHX_ "Wx::ImageList", RETVAL, ST(0) );
11214
11215     }
11216     XSRETURN(1);
11217 }
11218
11219
11220 XS(XS_Wx__RichTextFormattingDialog_ShowToolTips); /* prototype to pass -Wmissing-prototypes */
11221 XS(XS_Wx__RichTextFormattingDialog_ShowToolTips)
11222 {
11223 #ifdef dVAR
11224     dVAR; dXSARGS;
11225 #else
11226     dXSARGS;
11227 #endif
11228     if (items != 0)
11229        croak_xs_usage(cv,  "");
11230     {
11231         bool    RETVAL;
11232     RETVAL = wxRichTextFormattingDialog::ShowToolTips();
11233         ST(0) = boolSV(RETVAL);
11234         sv_2mortal(ST(0));
11235     }
11236     XSRETURN(1);
11237 }
11238
11239
11240 XS(XS_Wx__RichTextFormattingDialog_SetShowToolTips); /* prototype to pass -Wmissing-prototypes */
11241 XS(XS_Wx__RichTextFormattingDialog_SetShowToolTips)
11242 {
11243 #ifdef dVAR
11244     dVAR; dXSARGS;
11245 #else
11246     dXSARGS;
11247 #endif
11248     if (items != 1)
11249        croak_xs_usage(cv,  "show");
11250     {
11251         bool    show = (bool)SvTRUE(ST(0));
11252     wxRichTextFormattingDialog::SetShowToolTips( show );
11253     }
11254     XSRETURN_EMPTY;
11255 }
11256
11257
11258 XS(XS_Wx__RichTextFormattingDialog_AddPageId); /* prototype to pass -Wmissing-prototypes */
11259 XS(XS_Wx__RichTextFormattingDialog_AddPageId)
11260 {
11261 #ifdef dVAR
11262     dVAR; dXSARGS;
11263 #else
11264     dXSARGS;
11265 #endif
11266     if (items != 2)
11267        croak_xs_usage(cv,  "THIS, id");
11268     {
11269         int     id = (int)SvIV(ST(1));
11270         wxRichTextFormattingDialog *    THIS = (wxRichTextFormattingDialog *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::RichTextFormattingDialog" );
11271
11272         THIS->AddPageId(id);
11273     }
11274     XSRETURN_EMPTY;
11275 }
11276
11277
11278 /* INCLUDE: Returning to 'RichText.xs' from 'perl -MExtUtils::XSpp::Cmd -e xspp -- -t typemap.xsp -t ../../typemap.xsp XS/RichTextFormattingDialog.xsp |' */
11279
11280
11281 /* INCLUDE:  Including 'perl -MExtUtils::XSpp::Cmd -e xspp -- -t typemap.xsp -t ../../typemap.xsp XS/RichTextFileHandler.xsp |' from 'RichText.xs' */
11282
11283 #include <wx/event.h>
11284 #include <wx/richtext/richtextbuffer.h>
11285 #include "cpp/filehandler.h"
11286
11287 XS(XS_Wx__RichTextFileHandler_CanHandle); /* prototype to pass -Wmissing-prototypes */
11288 XS(XS_Wx__RichTextFileHandler_CanHandle)
11289 {
11290 #ifdef dVAR
11291     dVAR; dXSARGS;
11292 #else
11293     dXSARGS;
11294 #endif
11295     if (items != 2)
11296        croak_xs_usage(cv,  "THIS, filename");
11297     {
11298         wxString        filename;
11299         wxRichTextFileHandler *    THIS = (wxRichTextFileHandler *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::RichTextFileHandler" );
11300         bool    RETVAL;
11301
11302     WXSTRING_INPUT( filename, wxString, ST(1) );
11303
11304         RETVAL = THIS->CanHandle(filename);
11305         ST(0) = boolSV(RETVAL);
11306         sv_2mortal(ST(0));
11307     }
11308     XSRETURN(1);
11309 }
11310
11311
11312 XS(XS_Wx__RichTextFileHandler_CanLoad); /* prototype to pass -Wmissing-prototypes */
11313 XS(XS_Wx__RichTextFileHandler_CanLoad)
11314 {
11315 #ifdef dVAR
11316     dVAR; dXSARGS;
11317 #else
11318     dXSARGS;
11319 #endif
11320     if (items != 1)
11321        croak_xs_usage(cv,  "THIS");
11322     {
11323         wxRichTextFileHandler *    THIS = (wxRichTextFileHandler *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::RichTextFileHandler" );
11324         bool    RETVAL;
11325
11326         RETVAL = THIS->CanLoad();
11327         ST(0) = boolSV(RETVAL);
11328         sv_2mortal(ST(0));
11329     }
11330     XSRETURN(1);
11331 }
11332
11333
11334 XS(XS_Wx__RichTextFileHandler_CanSave); /* prototype to pass -Wmissing-prototypes */
11335 XS(XS_Wx__RichTextFileHandler_CanSave)
11336 {
11337 #ifdef dVAR
11338     dVAR; dXSARGS;
11339 #else
11340     dXSARGS;
11341 #endif
11342     if (items != 1)
11343        croak_xs_usage(cv,  "THIS");
11344     {
11345         wxRichTextFileHandler *    THIS = (wxRichTextFileHandler *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::RichTextFileHandler" );
11346         bool    RETVAL;
11347
11348         RETVAL = THIS->CanSave();
11349         ST(0) = boolSV(RETVAL);
11350         sv_2mortal(ST(0));
11351     }
11352     XSRETURN(1);
11353 }
11354
11355
11356 XS(XS_Wx__RichTextFileHandler_LoadFile); /* prototype to pass -Wmissing-prototypes */
11357 XS(XS_Wx__RichTextFileHandler_LoadFile)
11358 {
11359 #ifdef dVAR
11360     dVAR; dXSARGS;
11361 #else
11362     dXSARGS;
11363 #endif
11364     if (items != 3)
11365        croak_xs_usage(cv,  "THIS, buffer, fh");
11366     {
11367         wxRichTextBuffer*    buffer = (wxRichTextBuffer *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::RichTextBuffer" );
11368         SV*     fh = ST(2);
11369         wxRichTextFileHandler *    THIS = (wxRichTextFileHandler *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::RichTextFileHandler" );
11370         bool    RETVAL;
11371      wxInputStream* stream = wxPliInputStream_ctor( fh );
11372                 RETVAL = THIS->LoadFile( buffer, *stream );
11373                 delete stream;
11374
11375         ST(0) = boolSV(RETVAL);
11376         sv_2mortal(ST(0));
11377     }
11378     XSRETURN(1);
11379 }
11380
11381
11382 XS(XS_Wx__RichTextFileHandler_SaveFile); /* prototype to pass -Wmissing-prototypes */
11383 XS(XS_Wx__RichTextFileHandler_SaveFile)
11384 {
11385 #ifdef dVAR
11386     dVAR; dXSARGS;
11387 #else
11388     dXSARGS;
11389 #endif
11390     if (items != 3)
11391        croak_xs_usage(cv,  "THIS, buffer, fh");
11392     {
11393         wxRichTextBuffer*    buffer = (wxRichTextBuffer *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::RichTextBuffer" );
11394         SV*     fh = ST(2);
11395         wxRichTextFileHandler *    THIS = (wxRichTextFileHandler *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::RichTextFileHandler" );
11396         bool    RETVAL;
11397      wxOutputStream* stream = wxPliOutputStream_ctor( fh );
11398                 RETVAL = THIS->SaveFile( buffer, *stream );
11399                 delete stream;
11400
11401         ST(0) = boolSV(RETVAL);
11402         sv_2mortal(ST(0));
11403     }
11404     XSRETURN(1);
11405 }
11406
11407
11408 XS(XS_Wx__RichTextFileHandler_SetName); /* prototype to pass -Wmissing-prototypes */
11409 XS(XS_Wx__RichTextFileHandler_SetName)
11410 {
11411 #ifdef dVAR
11412     dVAR; dXSARGS;
11413 #else
11414     dXSARGS;
11415 #endif
11416     if (items != 2)
11417        croak_xs_usage(cv,  "THIS, name");
11418     {
11419         wxString        name;
11420         wxRichTextFileHandler *    THIS = (wxRichTextFileHandler *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::RichTextFileHandler" );
11421
11422     WXSTRING_INPUT( name, wxString, ST(1) );
11423
11424         THIS->SetName(name);
11425     }
11426     XSRETURN_EMPTY;
11427 }
11428
11429
11430 XS(XS_Wx__RichTextFileHandler_GetName); /* prototype to pass -Wmissing-prototypes */
11431 XS(XS_Wx__RichTextFileHandler_GetName)
11432 {
11433 #ifdef dVAR
11434     dVAR; dXSARGS;
11435 #else
11436     dXSARGS;
11437 #endif
11438     if (items != 1)
11439        croak_xs_usage(cv,  "THIS");
11440     {
11441         wxRichTextFileHandler *    THIS = (wxRichTextFileHandler *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::RichTextFileHandler" );
11442         wxString        RETVAL;
11443
11444         RETVAL = THIS->GetName();
11445         ST(0) = sv_newmortal();
11446     WXSTRING_OUTPUT( RETVAL, ST(0) );
11447
11448     }
11449     XSRETURN(1);
11450 }
11451
11452
11453 XS(XS_Wx__RichTextFileHandler_SetExtension); /* prototype to pass -Wmissing-prototypes */
11454 XS(XS_Wx__RichTextFileHandler_SetExtension)
11455 {
11456 #ifdef dVAR
11457     dVAR; dXSARGS;
11458 #else
11459     dXSARGS;
11460 #endif
11461     if (items != 2)
11462        croak_xs_usage(cv,  "THIS, ext");
11463     {
11464         wxString        ext;
11465         wxRichTextFileHandler *    THIS = (wxRichTextFileHandler *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::RichTextFileHandler" );
11466
11467     WXSTRING_INPUT( ext, wxString, ST(1) );
11468
11469         THIS->SetExtension(ext);
11470     }
11471     XSRETURN_EMPTY;
11472 }
11473
11474
11475 XS(XS_Wx__RichTextFileHandler_GetExtension); /* prototype to pass -Wmissing-prototypes */
11476 XS(XS_Wx__RichTextFileHandler_GetExtension)
11477 {
11478 #ifdef dVAR
11479     dVAR; dXSARGS;
11480 #else
11481     dXSARGS;
11482 #endif
11483     if (items != 1)
11484        croak_xs_usage(cv,  "THIS");
11485     {
11486         wxRichTextFileHandler *    THIS = (wxRichTextFileHandler *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::RichTextFileHandler" );
11487         wxString        RETVAL;
11488
11489         RETVAL = THIS->GetExtension();
11490         ST(0) = sv_newmortal();
11491     WXSTRING_OUTPUT( RETVAL, ST(0) );
11492
11493     }
11494     XSRETURN(1);
11495 }
11496
11497
11498 XS(XS_Wx__RichTextFileHandler_SetType); /* prototype to pass -Wmissing-prototypes */
11499 XS(XS_Wx__RichTextFileHandler_SetType)
11500 {
11501 #ifdef dVAR
11502     dVAR; dXSARGS;
11503 #else
11504     dXSARGS;
11505 #endif
11506     if (items != 2)
11507        croak_xs_usage(cv,  "THIS, type");
11508     {
11509         int     type = (int)SvIV(ST(1));
11510         wxRichTextFileHandler *    THIS = (wxRichTextFileHandler *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::RichTextFileHandler" );
11511
11512         THIS->SetType(type);
11513     }
11514     XSRETURN_EMPTY;
11515 }
11516
11517
11518 XS(XS_Wx__RichTextFileHandler_GetType); /* prototype to pass -Wmissing-prototypes */
11519 XS(XS_Wx__RichTextFileHandler_GetType)
11520 {
11521 #ifdef dVAR
11522     dVAR; dXSARGS;
11523 #else
11524     dXSARGS;
11525 #endif
11526     if (items != 1)
11527        croak_xs_usage(cv,  "THIS");
11528     {
11529         wxRichTextFileHandler *    THIS = (wxRichTextFileHandler *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::RichTextFileHandler" );
11530         int     RETVAL;
11531         dXSTARG;
11532
11533         RETVAL = THIS->GetType();
11534         XSprePUSH; PUSHi((IV)RETVAL);
11535     }
11536     XSRETURN(1);
11537 }
11538
11539
11540 XS(XS_Wx__RichTextFileHandler_SetEncoding); /* prototype to pass -Wmissing-prototypes */
11541 XS(XS_Wx__RichTextFileHandler_SetEncoding)
11542 {
11543 #ifdef dVAR
11544     dVAR; dXSARGS;
11545 #else
11546     dXSARGS;
11547 #endif
11548     if (items != 2)
11549        croak_xs_usage(cv,  "THIS, encoding");
11550     {
11551         wxString        encoding;
11552         wxRichTextFileHandler *    THIS = (wxRichTextFileHandler *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::RichTextFileHandler" );
11553
11554     WXSTRING_INPUT( encoding, wxString, ST(1) );
11555
11556         THIS->SetEncoding(encoding);
11557     }
11558     XSRETURN_EMPTY;
11559 }
11560
11561
11562 XS(XS_Wx__RichTextFileHandler_GetEncoding); /* prototype to pass -Wmissing-prototypes */
11563 XS(XS_Wx__RichTextFileHandler_GetEncoding)
11564 {
11565 #ifdef dVAR
11566     dVAR; dXSARGS;
11567 #else
11568     dXSARGS;
11569 #endif
11570     if (items != 1)
11571        croak_xs_usage(cv,  "THIS");
11572     {
11573         wxRichTextFileHandler *    THIS = (wxRichTextFileHandler *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::RichTextFileHandler" );
11574         wxString        RETVAL;
11575
11576         RETVAL = THIS->GetEncoding();
11577         ST(0) = sv_newmortal();
11578     WXSTRING_OUTPUT( RETVAL, ST(0) );
11579
11580     }
11581     XSRETURN(1);
11582 }
11583
11584
11585 XS(XS_Wx__RichTextFileHandler_IsVisible); /* prototype to pass -Wmissing-prototypes */
11586 XS(XS_Wx__RichTextFileHandler_IsVisible)
11587 {
11588 #ifdef dVAR
11589     dVAR; dXSARGS;
11590 #else
11591     dXSARGS;
11592 #endif
11593     if (items != 1)
11594        croak_xs_usage(cv,  "THIS");
11595     {
11596         wxRichTextFileHandler *    THIS = (wxRichTextFileHandler *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::RichTextFileHandler" );
11597         bool    RETVAL;
11598
11599         RETVAL = THIS->IsVisible();
11600         ST(0) = boolSV(RETVAL);
11601         sv_2mortal(ST(0));
11602     }
11603     XSRETURN(1);
11604 }
11605
11606
11607 XS(XS_Wx__RichTextFileHandler_SetVisible); /* prototype to pass -Wmissing-prototypes */
11608 XS(XS_Wx__RichTextFileHandler_SetVisible)
11609 {
11610 #ifdef dVAR
11611     dVAR; dXSARGS;
11612 #else
11613     dXSARGS;
11614 #endif
11615     if (items != 2)
11616        croak_xs_usage(cv,  "THIS, visible");
11617     {
11618         bool    visible = (bool)SvTRUE(ST(1));
11619         wxRichTextFileHandler *    THIS = (wxRichTextFileHandler *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::RichTextFileHandler" );
11620
11621         THIS->SetVisible(visible);
11622     }
11623     XSRETURN_EMPTY;
11624 }
11625
11626
11627 XS(XS_Wx__PlRichTextFileHandler_new); /* prototype to pass -Wmissing-prototypes */
11628 XS(XS_Wx__PlRichTextFileHandler_new)
11629 {
11630 #ifdef dVAR
11631     dVAR; dXSARGS;
11632 #else
11633     dXSARGS;
11634 #endif
11635     if (items < 1 || items > 4)
11636        croak_xs_usage(cv,  "CLASS, name = wxEmptyString, ext = wxEmptyString, type = 0");
11637     {
11638         wxString        name;
11639         wxString        ext;
11640         int     type;
11641         char *  CLASS = (char *)SvPV_nolen(ST(0));
11642         wxPlRichTextFileHandler *       RETVAL;
11643
11644         if (items < 2)
11645             name = wxEmptyString;
11646         else {
11647     WXSTRING_INPUT( name, wxString, ST(1) );
11648         }
11649
11650         if (items < 3)
11651             ext = wxEmptyString;
11652         else {
11653     WXSTRING_INPUT( ext, wxString, ST(2) );
11654         }
11655
11656         if (items < 4)
11657             type = 0;
11658         else {
11659             type = (int)SvIV(ST(3));
11660         }
11661      RETVAL = new wxPlRichTextFileHandler( CLASS, name, ext, type );
11662
11663         ST(0) = sv_newmortal();
11664     wxPli_object_2_sv( aTHX_ ST(0), RETVAL );
11665
11666     }
11667     XSRETURN(1);
11668 }
11669
11670
11671 XS(XS_Wx__PlRichTextFileHandler_CanHandle); /* prototype to pass -Wmissing-prototypes */
11672 XS(XS_Wx__PlRichTextFileHandler_CanHandle)
11673 {
11674 #ifdef dVAR
11675     dVAR; dXSARGS;
11676 #else
11677     dXSARGS;
11678 #endif
11679     if (items != 2)
11680        croak_xs_usage(cv,  "THIS, filename");
11681     {
11682         wxString        filename;
11683         wxPlRichTextFileHandler *    THIS = (wxPlRichTextFileHandler *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::PlRichTextFileHandler" );
11684         bool    RETVAL;
11685
11686     WXSTRING_INPUT( filename, wxString, ST(1) );
11687     RETVAL = THIS->base_CanHandle( filename );
11688         ST(0) = boolSV(RETVAL);
11689         sv_2mortal(ST(0));
11690     }
11691     XSRETURN(1);
11692 }
11693
11694
11695 XS(XS_Wx__PlRichTextFileHandler_CanLoad); /* prototype to pass -Wmissing-prototypes */
11696 XS(XS_Wx__PlRichTextFileHandler_CanLoad)
11697 {
11698 #ifdef dVAR
11699     dVAR; dXSARGS;
11700 #else
11701     dXSARGS;
11702 #endif
11703     if (items != 1)
11704        croak_xs_usage(cv,  "THIS");
11705     {
11706         wxPlRichTextFileHandler *    THIS = (wxPlRichTextFileHandler *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::PlRichTextFileHandler" );
11707         bool    RETVAL;
11708     RETVAL = THIS->base_CanLoad();
11709         ST(0) = boolSV(RETVAL);
11710         sv_2mortal(ST(0));
11711     }
11712     XSRETURN(1);
11713 }
11714
11715
11716 XS(XS_Wx__PlRichTextFileHandler_CanSave); /* prototype to pass -Wmissing-prototypes */
11717 XS(XS_Wx__PlRichTextFileHandler_CanSave)
11718 {
11719 #ifdef dVAR
11720     dVAR; dXSARGS;
11721 #else
11722     dXSARGS;
11723 #endif
11724     if (items != 1)
11725        croak_xs_usage(cv,  "THIS");
11726     {
11727         wxPlRichTextFileHandler *    THIS = (wxPlRichTextFileHandler *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::PlRichTextFileHandler" );
11728         bool    RETVAL;
11729     RETVAL = THIS->base_CanSave();
11730         ST(0) = boolSV(RETVAL);
11731         sv_2mortal(ST(0));
11732     }
11733     XSRETURN(1);
11734 }
11735
11736 #include <wx/richtext/richtextxml.h>
11737
11738 XS(XS_Wx__RichTextXMLHandler_new); /* prototype to pass -Wmissing-prototypes */
11739 XS(XS_Wx__RichTextXMLHandler_new)
11740 {
11741 #ifdef dVAR
11742     dVAR; dXSARGS;
11743 #else
11744     dXSARGS;
11745 #endif
11746     if (items < 1 || items > 4)
11747        croak_xs_usage(cv,  "CLASS, name = wxT(\"XML\"), ext = wxT(\"xml\"), type = wxRICHTEXT_TYPE_XML");
11748     {
11749         wxString        name;
11750         wxString        ext;
11751         int     type;
11752         char *  CLASS = (char *)SvPV_nolen(ST(0));
11753         wxRichTextXMLHandler *  RETVAL;
11754
11755         if (items < 2)
11756             name = wxT("XML");
11757         else {
11758     WXSTRING_INPUT( name, wxString, ST(1) );
11759         }
11760
11761         if (items < 3)
11762             ext = wxT("xml");
11763         else {
11764     WXSTRING_INPUT( ext, wxString, ST(2) );
11765         }
11766
11767         if (items < 4)
11768             type = wxRICHTEXT_TYPE_XML;
11769         else {
11770             type = (int)SvIV(ST(3));
11771         }
11772
11773         RETVAL = new wxRichTextXMLHandler(name, ext, type);
11774         ST(0) = sv_newmortal();
11775     wxPli_object_2_sv( aTHX_ ST(0), RETVAL );
11776
11777     }
11778     XSRETURN(1);
11779 }
11780
11781 #if WXPERL_W_VERSION_GE( 2, 8, 3 )
11782 #include <wx/richtext/richtexthtml.h>
11783 #define XSubPPtmpAACJ 1
11784
11785
11786 XS(XS_Wx__RichTextHTMLHandler_new); /* prototype to pass -Wmissing-prototypes */
11787 XS(XS_Wx__RichTextHTMLHandler_new)
11788 {
11789 #ifdef dVAR
11790     dVAR; dXSARGS;
11791 #else
11792     dXSARGS;
11793 #endif
11794     if (items < 1 || items > 4)
11795        croak_xs_usage(cv,  "CLASS, name = wxT(\"HTML\"), ext = wxT(\"html\"), type = wxRICHTEXT_TYPE_HTML");
11796     {
11797         wxString        name;
11798         wxString        ext;
11799         int     type;
11800         char *  CLASS = (char *)SvPV_nolen(ST(0));
11801         wxRichTextHTMLHandler * RETVAL;
11802
11803         if (items < 2)
11804             name = wxT("HTML");
11805         else {
11806     WXSTRING_INPUT( name, wxString, ST(1) );
11807         }
11808
11809         if (items < 3)
11810             ext = wxT("html");
11811         else {
11812     WXSTRING_INPUT( ext, wxString, ST(2) );
11813         }
11814
11815         if (items < 4)
11816             type = wxRICHTEXT_TYPE_HTML;
11817         else {
11818             type = (int)SvIV(ST(3));
11819         }
11820
11821         RETVAL = new wxRichTextHTMLHandler(name, ext, type);
11822         ST(0) = sv_newmortal();
11823     wxPli_object_2_sv( aTHX_ ST(0), RETVAL );
11824
11825     }
11826     XSRETURN(1);
11827 }
11828
11829
11830 XS(XS_Wx__RichTextHTMLHandler_ClearTemporaryImageLocations); /* prototype to pass -Wmissing-prototypes */
11831 XS(XS_Wx__RichTextHTMLHandler_ClearTemporaryImageLocations)
11832 {
11833 #ifdef dVAR
11834     dVAR; dXSARGS;
11835 #else
11836     dXSARGS;
11837 #endif
11838     if (items != 1)
11839        croak_xs_usage(cv,  "THIS");
11840     {
11841         wxRichTextHTMLHandler *    THIS = (wxRichTextHTMLHandler *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::RichTextHTMLHandler" );
11842
11843         THIS->ClearTemporaryImageLocations();
11844     }
11845     XSRETURN_EMPTY;
11846 }
11847
11848
11849 XS(XS_Wx__RichTextHTMLHandler_DeleteTemporaryImages); /* prototype to pass -Wmissing-prototypes */
11850 XS(XS_Wx__RichTextHTMLHandler_DeleteTemporaryImages)
11851 {
11852 #ifdef dVAR
11853     dVAR; dXSARGS;
11854 #else
11855     dXSARGS;
11856 #endif
11857     if (items < 1)
11858        croak_xs_usage(cv,  "THIS, ...");
11859     if (items == 2)
11860     {
11861         wxRichTextHTMLHandler *    THIS = (wxRichTextHTMLHandler *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::RichTextHTMLHandler" );
11862         bool    RETVAL;
11863       int flags = SvIV( ST(1) );
11864       wxArrayString imageLocations;
11865       wxPli_av_2_arraystring( aTHX_ ST(2), &imageLocations );
11866       RETVAL = THIS->DeleteTemporaryImages( flags, imageLocations );
11867         ST(0) = boolSV(RETVAL);
11868         sv_2mortal(ST(0));
11869     }
11870     else
11871     {
11872         wxRichTextHTMLHandler *    THIS = (wxRichTextHTMLHandler *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::RichTextHTMLHandler" );
11873         bool    RETVAL;
11874       RETVAL = THIS->DeleteTemporaryImages();
11875         ST(0) = boolSV(RETVAL);
11876         sv_2mortal(ST(0));
11877     }
11878     XSRETURN(1);
11879 }
11880
11881
11882 XS(XS_Wx__RichTextHTMLHandler_GetFontSizeMapping); /* prototype to pass -Wmissing-prototypes */
11883 XS(XS_Wx__RichTextHTMLHandler_GetFontSizeMapping)
11884 {
11885 #ifdef dVAR
11886     dVAR; dXSARGS;
11887 #else
11888     dXSARGS;
11889 #endif
11890     if (items != 1)
11891        croak_xs_usage(cv,  "THIS");
11892     PERL_UNUSED_VAR(ax); /* -Wall */
11893     SP -= items;
11894     {
11895         wxRichTextHTMLHandler *    THIS = (wxRichTextHTMLHandler *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::RichTextHTMLHandler" );
11896     PUTBACK;
11897     wxPli_intarray_push( aTHX_ THIS->GetFontSizeMapping() );
11898     SPAGAIN;
11899         PUTBACK;
11900         return;
11901     }
11902 }
11903
11904
11905 XS(XS_Wx__RichTextHTMLHandler_GetTemporaryImageLocations); /* prototype to pass -Wmissing-prototypes */
11906 XS(XS_Wx__RichTextHTMLHandler_GetTemporaryImageLocations)
11907 {
11908 #ifdef dVAR
11909     dVAR; dXSARGS;
11910 #else
11911     dXSARGS;
11912 #endif
11913     if (items != 1)
11914        croak_xs_usage(cv,  "THIS");
11915     PERL_UNUSED_VAR(ax); /* -Wall */
11916     SP -= items;
11917     {
11918         wxRichTextHTMLHandler *    THIS = (wxRichTextHTMLHandler *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::RichTextHTMLHandler" );
11919     PUTBACK;
11920     wxPli_stringarray_push( aTHX_ THIS->GetTemporaryImageLocations() );
11921     SPAGAIN;
11922         PUTBACK;
11923         return;
11924     }
11925 }
11926
11927
11928 XS(XS_Wx__RichTextHTMLHandler_GetTempDir); /* prototype to pass -Wmissing-prototypes */
11929 XS(XS_Wx__RichTextHTMLHandler_GetTempDir)
11930 {
11931 #ifdef dVAR
11932     dVAR; dXSARGS;
11933 #else
11934     dXSARGS;
11935 #endif
11936     if (items != 1)
11937        croak_xs_usage(cv,  "THIS");
11938     {
11939         wxRichTextHTMLHandler *    THIS = (wxRichTextHTMLHandler *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::RichTextHTMLHandler" );
11940         wxString        RETVAL;
11941
11942         RETVAL = THIS->GetTempDir();
11943         ST(0) = sv_newmortal();
11944     WXSTRING_OUTPUT( RETVAL, ST(0) );
11945
11946     }
11947     XSRETURN(1);
11948 }
11949
11950
11951 XS(XS_Wx__RichTextHTMLHandler_SetFileCounter); /* prototype to pass -Wmissing-prototypes */
11952 XS(XS_Wx__RichTextHTMLHandler_SetFileCounter)
11953 {
11954 #ifdef dVAR
11955     dVAR; dXSARGS;
11956 #else
11957     dXSARGS;
11958 #endif
11959     if (items != 2)
11960        croak_xs_usage(cv,  "THIS, counter");
11961     {
11962         int     counter = (int)SvIV(ST(1));
11963         wxRichTextHTMLHandler *    THIS = (wxRichTextHTMLHandler *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::RichTextHTMLHandler" );
11964
11965         THIS->SetFileCounter(counter);
11966     }
11967     XSRETURN_EMPTY;
11968 }
11969
11970
11971 XS(XS_Wx__RichTextHTMLHandler_SetFontSizeMapping); /* prototype to pass -Wmissing-prototypes */
11972 XS(XS_Wx__RichTextHTMLHandler_SetFontSizeMapping)
11973 {
11974 #ifdef dVAR
11975     dVAR; dXSARGS;
11976 #else
11977     dXSARGS;
11978 #endif
11979     if (items != 2)
11980        croak_xs_usage(cv,  "THIS, fontSizeMapping");
11981     {
11982         wxArrayInt      fontSizeMapping;
11983         wxRichTextHTMLHandler *    THIS = (wxRichTextHTMLHandler *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::RichTextHTMLHandler" );
11984
11985     wxPli_av_2_arrayint( aTHX_ ST(1), & fontSizeMapping );
11986
11987         THIS->SetFontSizeMapping(fontSizeMapping);
11988     }
11989     XSRETURN_EMPTY;
11990 }
11991
11992
11993 XS(XS_Wx__RichTextHTMLHandler_SetTempDir); /* prototype to pass -Wmissing-prototypes */
11994 XS(XS_Wx__RichTextHTMLHandler_SetTempDir)
11995 {
11996 #ifdef dVAR
11997     dVAR; dXSARGS;
11998 #else
11999     dXSARGS;
12000 #endif
12001     if (items != 2)
12002        croak_xs_usage(cv,  "THIS, tempDir");
12003     {
12004         wxString        tempDir;
12005         wxRichTextHTMLHandler *    THIS = (wxRichTextHTMLHandler *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::RichTextHTMLHandler" );
12006
12007     WXSTRING_INPUT( tempDir, wxString, ST(1) );
12008
12009         THIS->SetTempDir(tempDir);
12010     }
12011     XSRETURN_EMPTY;
12012 }
12013
12014
12015 XS(XS_Wx__RichTextHTMLHandler_SetTemporaryImageLocations); /* prototype to pass -Wmissing-prototypes */
12016 XS(XS_Wx__RichTextHTMLHandler_SetTemporaryImageLocations)
12017 {
12018 #ifdef dVAR
12019     dVAR; dXSARGS;
12020 #else
12021     dXSARGS;
12022 #endif
12023     if (items != 2)
12024        croak_xs_usage(cv,  "THIS, locations");
12025     {
12026         wxArrayString   locations;
12027         wxRichTextHTMLHandler *    THIS = (wxRichTextHTMLHandler *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::RichTextHTMLHandler" );
12028
12029     wxPli_av_2_arraystring( aTHX_ ST(1), & locations );
12030
12031         THIS->SetTemporaryImageLocations(locations);
12032     }
12033     XSRETURN_EMPTY;
12034 }
12035
12036 #endif
12037
12038 /* INCLUDE: Returning to 'RichText.xs' from 'perl -MExtUtils::XSpp::Cmd -e xspp -- -t typemap.xsp -t ../../typemap.xsp XS/RichTextFileHandler.xsp |' */
12039
12040
12041 /* INCLUDE:  Including 'perl -MExtUtils::XSpp::Cmd -e xspp -- -t typemap.xsp -t ../../typemap.xsp XS/RichTextBuffer.xsp |' from 'RichText.xs' */
12042
12043 #include <wx/event.h>
12044 #include <wx/richtext/richtextbuffer.h>
12045
12046 XS(XS_Wx__RichTextBuffer_AddEventHandler); /* prototype to pass -Wmissing-prototypes */
12047 XS(XS_Wx__RichTextBuffer_AddEventHandler)
12048 {
12049 #ifdef dVAR
12050     dVAR; dXSARGS;
12051 #else
12052     dXSARGS;
12053 #endif
12054     if (items != 2)
12055        croak_xs_usage(cv,  "THIS, handler");
12056     {
12057         wxEvtHandler*    handler = (wxEvtHandler *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::EvtHandler" );
12058         wxRichTextBuffer *    THIS = (wxRichTextBuffer *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::RichTextBuffer" );
12059         bool    RETVAL;
12060
12061         RETVAL = THIS->AddEventHandler(handler);
12062         ST(0) = boolSV(RETVAL);
12063         sv_2mortal(ST(0));
12064     }
12065     XSRETURN(1);
12066 }
12067
12068
12069 XS(XS_Wx__RichTextBuffer_AddHandler); /* prototype to pass -Wmissing-prototypes */
12070 XS(XS_Wx__RichTextBuffer_AddHandler)
12071 {
12072 #ifdef dVAR
12073     dVAR; dXSARGS;
12074 #else
12075     dXSARGS;
12076 #endif
12077     if (items != 2)
12078        croak_xs_usage(cv,  "THIS, handler");
12079     {
12080         wxRichTextFileHandler*    handler = (wxRichTextFileHandler *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::RichTextFileHandler" );
12081         wxRichTextBuffer *    THIS = (wxRichTextBuffer *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::RichTextBuffer" );
12082
12083         THIS->AddHandler(handler);
12084     }
12085     XSRETURN_EMPTY;
12086 }
12087
12088 #if WXPERL_W_VERSION_GE( 2, 7, 1 )
12089 #define XSubPPtmpAACK 1
12090
12091
12092 XS(XS_Wx__RichTextBuffer_SetStyleRange); /* prototype to pass -Wmissing-prototypes */
12093 XS(XS_Wx__RichTextBuffer_SetStyleRange)
12094 {
12095 #ifdef dVAR
12096     dVAR; dXSARGS;
12097 #else
12098     dXSARGS;
12099 #endif
12100     if (items < 3 || items > 4)
12101        croak_xs_usage(cv,  "THIS, range, style, flags = wxRICHTEXT_SETSTYLE_WITH_UNDO");
12102     {
12103         wxRichTextRange*    range = (wxRichTextRange *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::RichTextRange" );
12104         wxTextAttrEx*    style = (wxTextAttrEx *) wxPli_sv_2_object( aTHX_ ST(2), "Wx::TextAttrEx" );
12105         int     flags;
12106         wxRichTextBuffer *    THIS = (wxRichTextBuffer *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::RichTextBuffer" );
12107         bool    RETVAL;
12108
12109         if (items < 4)
12110             flags = wxRICHTEXT_SETSTYLE_WITH_UNDO;
12111         else {
12112             flags = (int)SvIV(ST(3));
12113         }
12114     RETVAL = THIS->SetStyle( *( range ), *( style ), flags );
12115         ST(0) = boolSV(RETVAL);
12116         sv_2mortal(ST(0));
12117     }
12118     XSRETURN(1);
12119 }
12120
12121
12122 XS(XS_Wx__RichTextBuffer_SetStyleExRange); /* prototype to pass -Wmissing-prototypes */
12123 XS(XS_Wx__RichTextBuffer_SetStyleExRange)
12124 {
12125 #ifdef dVAR
12126     dVAR; dXSARGS;
12127 #else
12128     dXSARGS;
12129 #endif
12130     if (items < 3 || items > 4)
12131        croak_xs_usage(cv,  "THIS, range, style, flags = wxRICHTEXT_SETSTYLE_WITH_UNDO");
12132     {
12133         wxRichTextRange*    range = (wxRichTextRange *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::RichTextRange" );
12134         wxRichTextAttr*    style = (wxRichTextAttr *) wxPli_sv_2_object( aTHX_ ST(2), "Wx::RichTextAttr" );
12135         int     flags;
12136         wxRichTextBuffer *    THIS = (wxRichTextBuffer *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::RichTextBuffer" );
12137         bool    RETVAL;
12138
12139         if (items < 4)
12140             flags = wxRICHTEXT_SETSTYLE_WITH_UNDO;
12141         else {
12142             flags = (int)SvIV(ST(3));
12143         }
12144     RETVAL = THIS->SetStyle( *( range ), *( style ), flags );
12145         ST(0) = boolSV(RETVAL);
12146         sv_2mortal(ST(0));
12147     }
12148     XSRETURN(1);
12149 }
12150
12151
12152 XS(XS_Wx__RichTextBuffer_SetStyle); /* prototype to pass -Wmissing-prototypes */
12153 XS(XS_Wx__RichTextBuffer_SetStyle)
12154 {
12155 #ifdef dVAR
12156     dVAR; dXSARGS;
12157 #else
12158     dXSARGS;
12159 #endif
12160     if (items < 1)
12161        croak_xs_usage(cv,  "THIS, ...");
12162     PERL_UNUSED_VAR(ax); /* -Wall */
12163     SP -= items;
12164     {
12165         wxRichTextBuffer *    THIS = (wxRichTextBuffer *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::RichTextBuffer" );
12166     BEGIN_OVERLOAD()
12167         MATCH_REDISP( wxPliOvl_wrtr_wrta_n, SetStyleRange )
12168         MATCH_REDISP( wxPliOvl_wrtr_wtae_n, SetStyleExRange )
12169     END_OVERLOAD( "Wx::RichTextBuffer::SetStyle" )
12170         PUTBACK;
12171         return;
12172     }
12173 }
12174
12175 #endif
12176
12177 XS(XS_Wx__RichTextBuffer_InsertTextWithUndo); /* prototype to pass -Wmissing-prototypes */
12178 XS(XS_Wx__RichTextBuffer_InsertTextWithUndo)
12179 {
12180 #ifdef dVAR
12181     dVAR; dXSARGS;
12182 #else
12183     dXSARGS;
12184 #endif
12185     if (items < 4 || items > 5)
12186        croak_xs_usage(cv,  "THIS, pos, text, ctrl, flags = 0");
12187     {
12188         long    pos = (long)SvIV(ST(1));
12189         wxString        text;
12190         wxRichTextCtrl*    ctrl = (wxRichTextCtrl *) wxPli_sv_2_object( aTHX_ ST(3), "Wx::RichTextCtrl" );
12191         int     flags;
12192         wxRichTextBuffer *    THIS = (wxRichTextBuffer *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::RichTextBuffer" );
12193         bool    RETVAL;
12194
12195     WXSTRING_INPUT( text, wxString, ST(2) );
12196
12197         if (items < 5)
12198             flags = 0;
12199         else {
12200             flags = (int)SvIV(ST(4));
12201         }
12202
12203         RETVAL = THIS->InsertTextWithUndo(pos, text, ctrl, flags);
12204         ST(0) = boolSV(RETVAL);
12205         sv_2mortal(ST(0));
12206     }
12207     XSRETURN(1);
12208 }
12209
12210
12211 XS(XS_Wx__RichTextBuffer_InsertNewlineWithUndo); /* prototype to pass -Wmissing-prototypes */
12212 XS(XS_Wx__RichTextBuffer_InsertNewlineWithUndo)
12213 {
12214 #ifdef dVAR
12215     dVAR; dXSARGS;
12216 #else
12217     dXSARGS;
12218 #endif
12219     if (items < 3 || items > 4)
12220        croak_xs_usage(cv,  "THIS, pos, ctrl, flags = 0");
12221     {
12222         long    pos = (long)SvIV(ST(1));
12223         wxRichTextCtrl*    ctrl = (wxRichTextCtrl *) wxPli_sv_2_object( aTHX_ ST(2), "Wx::RichTextCtrl" );
12224         int     flags;
12225         wxRichTextBuffer *    THIS = (wxRichTextBuffer *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::RichTextBuffer" );
12226         bool    RETVAL;
12227
12228         if (items < 4)
12229             flags = 0;
12230         else {
12231             flags = (int)SvIV(ST(3));
12232         }
12233
12234         RETVAL = THIS->InsertNewlineWithUndo(pos, ctrl, flags);
12235         ST(0) = boolSV(RETVAL);
12236         sv_2mortal(ST(0));
12237     }
12238     XSRETURN(1);
12239 }
12240
12241
12242 XS(XS_Wx__RichTextBuffer_GetBasicStyle); /* prototype to pass -Wmissing-prototypes */
12243 XS(XS_Wx__RichTextBuffer_GetBasicStyle)
12244 {
12245 #ifdef dVAR
12246     dVAR; dXSARGS;
12247 #else
12248     dXSARGS;
12249 #endif
12250     if (items != 1)
12251        croak_xs_usage(cv,  "THIS");
12252     {
12253         wxRichTextBuffer *    THIS = (wxRichTextBuffer *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::RichTextBuffer" );
12254         wxTextAttrEx *  RETVAL;
12255     RETVAL = new wxTextAttrEx( THIS->GetBasicStyle() );
12256         ST(0) = sv_newmortal();
12257     wxPli_non_object_2_sv( aTHX_ ST(0), RETVAL, "Wx::TextAttrEx" );
12258     wxPli_thread_sv_register( aTHX_ "Wx::TextAttrEx", RETVAL, ST(0) );
12259
12260     }
12261     XSRETURN(1);
12262 }
12263
12264
12265 XS(XS_Wx__RichTextBuffer_GetDefaultStyle); /* prototype to pass -Wmissing-prototypes */
12266 XS(XS_Wx__RichTextBuffer_GetDefaultStyle)
12267 {
12268 #ifdef dVAR
12269     dVAR; dXSARGS;
12270 #else
12271     dXSARGS;
12272 #endif
12273     if (items != 1)
12274        croak_xs_usage(cv,  "THIS");
12275     {
12276         wxRichTextBuffer *    THIS = (wxRichTextBuffer *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::RichTextBuffer" );
12277         wxTextAttrEx *  RETVAL;
12278     RETVAL = new wxTextAttrEx( THIS->GetDefaultStyle() );
12279         ST(0) = sv_newmortal();
12280     wxPli_non_object_2_sv( aTHX_ ST(0), RETVAL, "Wx::TextAttrEx" );
12281     wxPli_thread_sv_register( aTHX_ "Wx::TextAttrEx", RETVAL, ST(0) );
12282
12283     }
12284     XSRETURN(1);
12285 }
12286
12287
12288 XS(XS_Wx__RichTextBuffer_BeginStyle); /* prototype to pass -Wmissing-prototypes */
12289 XS(XS_Wx__RichTextBuffer_BeginStyle)
12290 {
12291 #ifdef dVAR
12292     dVAR; dXSARGS;
12293 #else
12294     dXSARGS;
12295 #endif
12296     if (items != 2)
12297        croak_xs_usage(cv,  "THIS, style");
12298     {
12299         wxTextAttrEx*    style = (wxTextAttrEx *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::TextAttrEx" );
12300         wxRichTextBuffer *    THIS = (wxRichTextBuffer *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::RichTextBuffer" );
12301         bool    RETVAL;
12302     RETVAL = THIS->BeginStyle( *( style ) );
12303         ST(0) = boolSV(RETVAL);
12304         sv_2mortal(ST(0));
12305     }
12306     XSRETURN(1);
12307 }
12308
12309
12310 XS(XS_Wx__RichTextBuffer_EndStyle); /* prototype to pass -Wmissing-prototypes */
12311 XS(XS_Wx__RichTextBuffer_EndStyle)
12312 {
12313 #ifdef dVAR
12314     dVAR; dXSARGS;
12315 #else
12316     dXSARGS;
12317 #endif
12318     if (items != 1)
12319        croak_xs_usage(cv,  "THIS");
12320     {
12321         wxRichTextBuffer *    THIS = (wxRichTextBuffer *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::RichTextBuffer" );
12322         bool    RETVAL;
12323
12324         RETVAL = THIS->EndStyle();
12325         ST(0) = boolSV(RETVAL);
12326         sv_2mortal(ST(0));
12327     }
12328     XSRETURN(1);
12329 }
12330
12331
12332 XS(XS_Wx__RichTextBuffer_EndAllStyles); /* prototype to pass -Wmissing-prototypes */
12333 XS(XS_Wx__RichTextBuffer_EndAllStyles)
12334 {
12335 #ifdef dVAR
12336     dVAR; dXSARGS;
12337 #else
12338     dXSARGS;
12339 #endif
12340     if (items != 1)
12341        croak_xs_usage(cv,  "THIS");
12342     {
12343         wxRichTextBuffer *    THIS = (wxRichTextBuffer *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::RichTextBuffer" );
12344         bool    RETVAL;
12345
12346         RETVAL = THIS->EndAllStyles();
12347         ST(0) = boolSV(RETVAL);
12348         sv_2mortal(ST(0));
12349     }
12350     XSRETURN(1);
12351 }
12352
12353
12354 XS(XS_Wx__RichTextBuffer_BeginBold); /* prototype to pass -Wmissing-prototypes */
12355 XS(XS_Wx__RichTextBuffer_BeginBold)
12356 {
12357 #ifdef dVAR
12358     dVAR; dXSARGS;
12359 #else
12360     dXSARGS;
12361 #endif
12362     if (items != 1)
12363        croak_xs_usage(cv,  "THIS");
12364     {
12365         wxRichTextBuffer *    THIS = (wxRichTextBuffer *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::RichTextBuffer" );
12366         bool    RETVAL;
12367
12368         RETVAL = THIS->BeginBold();
12369         ST(0) = boolSV(RETVAL);
12370         sv_2mortal(ST(0));
12371     }
12372     XSRETURN(1);
12373 }
12374
12375
12376 XS(XS_Wx__RichTextBuffer_EndBold); /* prototype to pass -Wmissing-prototypes */
12377 XS(XS_Wx__RichTextBuffer_EndBold)
12378 {
12379 #ifdef dVAR
12380     dVAR; dXSARGS;
12381 #else
12382     dXSARGS;
12383 #endif
12384     if (items != 1)
12385        croak_xs_usage(cv,  "THIS");
12386     {
12387         wxRichTextBuffer *    THIS = (wxRichTextBuffer *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::RichTextBuffer" );
12388         bool    RETVAL;
12389
12390         RETVAL = THIS->EndBold();
12391         ST(0) = boolSV(RETVAL);
12392         sv_2mortal(ST(0));
12393     }
12394     XSRETURN(1);
12395 }
12396
12397
12398 XS(XS_Wx__RichTextBuffer_BeginItalic); /* prototype to pass -Wmissing-prototypes */
12399 XS(XS_Wx__RichTextBuffer_BeginItalic)
12400 {
12401 #ifdef dVAR
12402     dVAR; dXSARGS;
12403 #else
12404     dXSARGS;
12405 #endif
12406     if (items != 1)
12407        croak_xs_usage(cv,  "THIS");
12408     {
12409         wxRichTextBuffer *    THIS = (wxRichTextBuffer *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::RichTextBuffer" );
12410         bool    RETVAL;
12411
12412         RETVAL = THIS->BeginItalic();
12413         ST(0) = boolSV(RETVAL);
12414         sv_2mortal(ST(0));
12415     }
12416     XSRETURN(1);
12417 }
12418
12419
12420 XS(XS_Wx__RichTextBuffer_EndItalic); /* prototype to pass -Wmissing-prototypes */
12421 XS(XS_Wx__RichTextBuffer_EndItalic)
12422 {
12423 #ifdef dVAR
12424     dVAR; dXSARGS;
12425 #else
12426     dXSARGS;
12427 #endif
12428     if (items != 1)
12429        croak_xs_usage(cv,  "THIS");
12430     {
12431         wxRichTextBuffer *    THIS = (wxRichTextBuffer *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::RichTextBuffer" );
12432         bool    RETVAL;
12433
12434         RETVAL = THIS->EndItalic();
12435         ST(0) = boolSV(RETVAL);
12436         sv_2mortal(ST(0));
12437     }
12438     XSRETURN(1);
12439 }
12440
12441
12442 XS(XS_Wx__RichTextBuffer_BeginUnderline); /* prototype to pass -Wmissing-prototypes */
12443 XS(XS_Wx__RichTextBuffer_BeginUnderline)
12444 {
12445 #ifdef dVAR
12446     dVAR; dXSARGS;
12447 #else
12448     dXSARGS;
12449 #endif
12450     if (items != 1)
12451        croak_xs_usage(cv,  "THIS");
12452     {
12453         wxRichTextBuffer *    THIS = (wxRichTextBuffer *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::RichTextBuffer" );
12454         bool    RETVAL;
12455
12456         RETVAL = THIS->BeginUnderline();
12457         ST(0) = boolSV(RETVAL);
12458         sv_2mortal(ST(0));
12459     }
12460     XSRETURN(1);
12461 }
12462
12463
12464 XS(XS_Wx__RichTextBuffer_EndUnderline); /* prototype to pass -Wmissing-prototypes */
12465 XS(XS_Wx__RichTextBuffer_EndUnderline)
12466 {
12467 #ifdef dVAR
12468     dVAR; dXSARGS;
12469 #else
12470     dXSARGS;
12471 #endif
12472     if (items != 1)
12473        croak_xs_usage(cv,  "THIS");
12474     {
12475         wxRichTextBuffer *    THIS = (wxRichTextBuffer *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::RichTextBuffer" );
12476         bool    RETVAL;
12477
12478         RETVAL = THIS->EndUnderline();
12479         ST(0) = boolSV(RETVAL);
12480         sv_2mortal(ST(0));
12481     }
12482     XSRETURN(1);
12483 }
12484
12485
12486 XS(XS_Wx__RichTextBuffer_BeginFontSize); /* prototype to pass -Wmissing-prototypes */
12487 XS(XS_Wx__RichTextBuffer_BeginFontSize)
12488 {
12489 #ifdef dVAR
12490     dVAR; dXSARGS;
12491 #else
12492     dXSARGS;
12493 #endif
12494     if (items != 2)
12495        croak_xs_usage(cv,  "THIS, pointSize");
12496     {
12497         int     pointSize = (int)SvIV(ST(1));
12498         wxRichTextBuffer *    THIS = (wxRichTextBuffer *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::RichTextBuffer" );
12499         bool    RETVAL;
12500
12501         RETVAL = THIS->BeginFontSize(pointSize);
12502         ST(0) = boolSV(RETVAL);
12503         sv_2mortal(ST(0));
12504     }
12505     XSRETURN(1);
12506 }
12507
12508
12509 XS(XS_Wx__RichTextBuffer_EndFontSize); /* prototype to pass -Wmissing-prototypes */
12510 XS(XS_Wx__RichTextBuffer_EndFontSize)
12511 {
12512 #ifdef dVAR
12513     dVAR; dXSARGS;
12514 #else
12515     dXSARGS;
12516 #endif
12517     if (items != 1)
12518        croak_xs_usage(cv,  "THIS");
12519     {
12520         wxRichTextBuffer *    THIS = (wxRichTextBuffer *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::RichTextBuffer" );
12521         bool    RETVAL;
12522
12523         RETVAL = THIS->EndFontSize();
12524         ST(0) = boolSV(RETVAL);
12525         sv_2mortal(ST(0));
12526     }
12527     XSRETURN(1);
12528 }
12529
12530
12531 XS(XS_Wx__RichTextBuffer_BeginFont); /* prototype to pass -Wmissing-prototypes */
12532 XS(XS_Wx__RichTextBuffer_BeginFont)
12533 {
12534 #ifdef dVAR
12535     dVAR; dXSARGS;
12536 #else
12537     dXSARGS;
12538 #endif
12539     if (items != 2)
12540        croak_xs_usage(cv,  "THIS, font");
12541     {
12542         wxFont*    font = (wxFont *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::Font" );
12543         wxRichTextBuffer *    THIS = (wxRichTextBuffer *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::RichTextBuffer" );
12544         bool    RETVAL;
12545     RETVAL = THIS->BeginFont( *( font ) );
12546         ST(0) = boolSV(RETVAL);
12547         sv_2mortal(ST(0));
12548     }
12549     XSRETURN(1);
12550 }
12551
12552
12553 XS(XS_Wx__RichTextBuffer_EndFont); /* prototype to pass -Wmissing-prototypes */
12554 XS(XS_Wx__RichTextBuffer_EndFont)
12555 {
12556 #ifdef dVAR
12557     dVAR; dXSARGS;
12558 #else
12559     dXSARGS;
12560 #endif
12561     if (items != 1)
12562        croak_xs_usage(cv,  "THIS");
12563     {
12564         wxRichTextBuffer *    THIS = (wxRichTextBuffer *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::RichTextBuffer" );
12565         bool    RETVAL;
12566
12567         RETVAL = THIS->EndFont();
12568         ST(0) = boolSV(RETVAL);
12569         sv_2mortal(ST(0));
12570     }
12571     XSRETURN(1);
12572 }
12573
12574
12575 XS(XS_Wx__RichTextBuffer_BeginTextColour); /* prototype to pass -Wmissing-prototypes */
12576 XS(XS_Wx__RichTextBuffer_BeginTextColour)
12577 {
12578 #ifdef dVAR
12579     dVAR; dXSARGS;
12580 #else
12581     dXSARGS;
12582 #endif
12583     if (items != 2)
12584        croak_xs_usage(cv,  "THIS, colour");
12585     {
12586         wxColour*    colour = (wxColour *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::Colour" );
12587         wxRichTextBuffer *    THIS = (wxRichTextBuffer *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::RichTextBuffer" );
12588         bool    RETVAL;
12589     RETVAL = THIS->BeginTextColour( *( colour ) );
12590         ST(0) = boolSV(RETVAL);
12591         sv_2mortal(ST(0));
12592     }
12593     XSRETURN(1);
12594 }
12595
12596
12597 XS(XS_Wx__RichTextBuffer_EndTextColour); /* prototype to pass -Wmissing-prototypes */
12598 XS(XS_Wx__RichTextBuffer_EndTextColour)
12599 {
12600 #ifdef dVAR
12601     dVAR; dXSARGS;
12602 #else
12603     dXSARGS;
12604 #endif
12605     if (items != 1)
12606        croak_xs_usage(cv,  "THIS");
12607     {
12608         wxRichTextBuffer *    THIS = (wxRichTextBuffer *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::RichTextBuffer" );
12609         bool    RETVAL;
12610
12611         RETVAL = THIS->EndTextColour();
12612         ST(0) = boolSV(RETVAL);
12613         sv_2mortal(ST(0));
12614     }
12615     XSRETURN(1);
12616 }
12617
12618
12619 XS(XS_Wx__RichTextBuffer_BeginAlignment); /* prototype to pass -Wmissing-prototypes */
12620 XS(XS_Wx__RichTextBuffer_BeginAlignment)
12621 {
12622 #ifdef dVAR
12623     dVAR; dXSARGS;
12624 #else
12625     dXSARGS;
12626 #endif
12627     if (items != 2)
12628        croak_xs_usage(cv,  "THIS, alignment");
12629     {
12630         wxTextAttrAlignment     alignment = (wxTextAttrAlignment)SvIV(ST(1));
12631         wxRichTextBuffer *    THIS = (wxRichTextBuffer *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::RichTextBuffer" );
12632         bool    RETVAL;
12633
12634         RETVAL = THIS->BeginAlignment(alignment);
12635         ST(0) = boolSV(RETVAL);
12636         sv_2mortal(ST(0));
12637     }
12638     XSRETURN(1);
12639 }
12640
12641
12642 XS(XS_Wx__RichTextBuffer_EndAlignment); /* prototype to pass -Wmissing-prototypes */
12643 XS(XS_Wx__RichTextBuffer_EndAlignment)
12644 {
12645 #ifdef dVAR
12646     dVAR; dXSARGS;
12647 #else
12648     dXSARGS;
12649 #endif
12650     if (items != 1)
12651        croak_xs_usage(cv,  "THIS");
12652     {
12653         wxRichTextBuffer *    THIS = (wxRichTextBuffer *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::RichTextBuffer" );
12654         bool    RETVAL;
12655
12656         RETVAL = THIS->EndAlignment();
12657         ST(0) = boolSV(RETVAL);
12658         sv_2mortal(ST(0));
12659     }
12660     XSRETURN(1);
12661 }
12662
12663
12664 XS(XS_Wx__RichTextBuffer_BeginLeftIndent); /* prototype to pass -Wmissing-prototypes */
12665 XS(XS_Wx__RichTextBuffer_BeginLeftIndent)
12666 {
12667 #ifdef dVAR
12668     dVAR; dXSARGS;
12669 #else
12670     dXSARGS;
12671 #endif
12672     if (items < 2 || items > 3)
12673        croak_xs_usage(cv,  "THIS, leftIndent, leftSubIndent = 0");
12674     {
12675         int     leftIndent = (int)SvIV(ST(1));
12676         int     leftSubIndent;
12677         wxRichTextBuffer *    THIS = (wxRichTextBuffer *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::RichTextBuffer" );
12678         bool    RETVAL;
12679
12680         if (items < 3)
12681             leftSubIndent = 0;
12682         else {
12683             leftSubIndent = (int)SvIV(ST(2));
12684         }
12685
12686         RETVAL = THIS->BeginLeftIndent(leftIndent, leftSubIndent);
12687         ST(0) = boolSV(RETVAL);
12688         sv_2mortal(ST(0));
12689     }
12690     XSRETURN(1);
12691 }
12692
12693
12694 XS(XS_Wx__RichTextBuffer_EndLeftIndent); /* prototype to pass -Wmissing-prototypes */
12695 XS(XS_Wx__RichTextBuffer_EndLeftIndent)
12696 {
12697 #ifdef dVAR
12698     dVAR; dXSARGS;
12699 #else
12700     dXSARGS;
12701 #endif
12702     if (items != 1)
12703        croak_xs_usage(cv,  "THIS");
12704     {
12705         wxRichTextBuffer *    THIS = (wxRichTextBuffer *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::RichTextBuffer" );
12706         bool    RETVAL;
12707
12708         RETVAL = THIS->EndLeftIndent();
12709         ST(0) = boolSV(RETVAL);
12710         sv_2mortal(ST(0));
12711     }
12712     XSRETURN(1);
12713 }
12714
12715
12716 XS(XS_Wx__RichTextBuffer_BeginRightIndent); /* prototype to pass -Wmissing-prototypes */
12717 XS(XS_Wx__RichTextBuffer_BeginRightIndent)
12718 {
12719 #ifdef dVAR
12720     dVAR; dXSARGS;
12721 #else
12722     dXSARGS;
12723 #endif
12724     if (items != 2)
12725        croak_xs_usage(cv,  "THIS, rightIndent");
12726     {
12727         int     rightIndent = (int)SvIV(ST(1));
12728         wxRichTextBuffer *    THIS = (wxRichTextBuffer *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::RichTextBuffer" );
12729         bool    RETVAL;
12730
12731         RETVAL = THIS->BeginRightIndent(rightIndent);
12732         ST(0) = boolSV(RETVAL);
12733         sv_2mortal(ST(0));
12734     }
12735     XSRETURN(1);
12736 }
12737
12738
12739 XS(XS_Wx__RichTextBuffer_EndRightIndent); /* prototype to pass -Wmissing-prototypes */
12740 XS(XS_Wx__RichTextBuffer_EndRightIndent)
12741 {
12742 #ifdef dVAR
12743     dVAR; dXSARGS;
12744 #else
12745     dXSARGS;
12746 #endif
12747     if (items != 1)
12748        croak_xs_usage(cv,  "THIS");
12749     {
12750         wxRichTextBuffer *    THIS = (wxRichTextBuffer *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::RichTextBuffer" );
12751         bool    RETVAL;
12752
12753         RETVAL = THIS->EndRightIndent();
12754         ST(0) = boolSV(RETVAL);
12755         sv_2mortal(ST(0));
12756     }
12757     XSRETURN(1);
12758 }
12759
12760
12761 XS(XS_Wx__RichTextBuffer_BeginParagraphSpacing); /* prototype to pass -Wmissing-prototypes */
12762 XS(XS_Wx__RichTextBuffer_BeginParagraphSpacing)
12763 {
12764 #ifdef dVAR
12765     dVAR; dXSARGS;
12766 #else
12767     dXSARGS;
12768 #endif
12769     if (items != 3)
12770        croak_xs_usage(cv,  "THIS, before, after");
12771     {
12772         int     before = (int)SvIV(ST(1));
12773         int     after = (int)SvIV(ST(2));
12774         wxRichTextBuffer *    THIS = (wxRichTextBuffer *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::RichTextBuffer" );
12775         bool    RETVAL;
12776
12777         RETVAL = THIS->BeginParagraphSpacing(before, after);
12778         ST(0) = boolSV(RETVAL);
12779         sv_2mortal(ST(0));
12780     }
12781     XSRETURN(1);
12782 }
12783
12784
12785 XS(XS_Wx__RichTextBuffer_EndParagraphSpacing); /* prototype to pass -Wmissing-prototypes */
12786 XS(XS_Wx__RichTextBuffer_EndParagraphSpacing)
12787 {
12788 #ifdef dVAR
12789     dVAR; dXSARGS;
12790 #else
12791     dXSARGS;
12792 #endif
12793     if (items != 1)
12794        croak_xs_usage(cv,  "THIS");
12795     {
12796         wxRichTextBuffer *    THIS = (wxRichTextBuffer *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::RichTextBuffer" );
12797         bool    RETVAL;
12798
12799         RETVAL = THIS->EndParagraphSpacing();
12800         ST(0) = boolSV(RETVAL);
12801         sv_2mortal(ST(0));
12802     }
12803     XSRETURN(1);
12804 }
12805
12806
12807 XS(XS_Wx__RichTextBuffer_BeginLineSpacing); /* prototype to pass -Wmissing-prototypes */
12808 XS(XS_Wx__RichTextBuffer_BeginLineSpacing)
12809 {
12810 #ifdef dVAR
12811     dVAR; dXSARGS;
12812 #else
12813     dXSARGS;
12814 #endif
12815     if (items != 2)
12816        croak_xs_usage(cv,  "THIS, lineSpacing");
12817     {
12818         int     lineSpacing = (int)SvIV(ST(1));
12819         wxRichTextBuffer *    THIS = (wxRichTextBuffer *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::RichTextBuffer" );
12820         bool    RETVAL;
12821
12822         RETVAL = THIS->BeginLineSpacing(lineSpacing);
12823         ST(0) = boolSV(RETVAL);
12824         sv_2mortal(ST(0));
12825     }
12826     XSRETURN(1);
12827 }
12828
12829
12830 XS(XS_Wx__RichTextBuffer_EndLineSpacing); /* prototype to pass -Wmissing-prototypes */
12831 XS(XS_Wx__RichTextBuffer_EndLineSpacing)
12832 {
12833 #ifdef dVAR
12834     dVAR; dXSARGS;
12835 #else
12836     dXSARGS;
12837 #endif
12838     if (items != 1)
12839        croak_xs_usage(cv,  "THIS");
12840     {
12841         wxRichTextBuffer *    THIS = (wxRichTextBuffer *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::RichTextBuffer" );
12842         bool    RETVAL;
12843
12844         RETVAL = THIS->EndLineSpacing();
12845         ST(0) = boolSV(RETVAL);
12846         sv_2mortal(ST(0));
12847     }
12848     XSRETURN(1);
12849 }
12850
12851
12852 XS(XS_Wx__RichTextBuffer_BeginNumberedBullet); /* prototype to pass -Wmissing-prototypes */
12853 XS(XS_Wx__RichTextBuffer_BeginNumberedBullet)
12854 {
12855 #ifdef dVAR
12856     dVAR; dXSARGS;
12857 #else
12858     dXSARGS;
12859 #endif
12860     if (items < 4 || items > 5)
12861        croak_xs_usage(cv,  "THIS, bulletNumber, leftIndent, leftSubIndent, bulletStyle = wxTEXT_ATTR_DEFAULT_NUMBERED_BULLET");
12862     {
12863         int     bulletNumber = (int)SvIV(ST(1));
12864         int     leftIndent = (int)SvIV(ST(2));
12865         int     leftSubIndent = (int)SvIV(ST(3));
12866         int     bulletStyle;
12867         wxRichTextBuffer *    THIS = (wxRichTextBuffer *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::RichTextBuffer" );
12868         bool    RETVAL;
12869
12870         if (items < 5)
12871             bulletStyle = wxTEXT_ATTR_DEFAULT_NUMBERED_BULLET;
12872         else {
12873             bulletStyle = (int)SvIV(ST(4));
12874         }
12875
12876         RETVAL = THIS->BeginNumberedBullet(bulletNumber, leftIndent, leftSubIndent, bulletStyle);
12877         ST(0) = boolSV(RETVAL);
12878         sv_2mortal(ST(0));
12879     }
12880     XSRETURN(1);
12881 }
12882
12883
12884 XS(XS_Wx__RichTextBuffer_EndNumberedBullet); /* prototype to pass -Wmissing-prototypes */
12885 XS(XS_Wx__RichTextBuffer_EndNumberedBullet)
12886 {
12887 #ifdef dVAR
12888     dVAR; dXSARGS;
12889 #else
12890     dXSARGS;
12891 #endif
12892     if (items != 1)
12893        croak_xs_usage(cv,  "THIS");
12894     {
12895         wxRichTextBuffer *    THIS = (wxRichTextBuffer *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::RichTextBuffer" );
12896         bool    RETVAL;
12897
12898         RETVAL = THIS->EndNumberedBullet();
12899         ST(0) = boolSV(RETVAL);
12900         sv_2mortal(ST(0));
12901     }
12902     XSRETURN(1);
12903 }
12904
12905 #if WXPERL_W_VERSION_GE( 2, 7, 2 )
12906 #define XSubPPtmpAACL 1
12907
12908
12909 XS(XS_Wx__RichTextBuffer_BeginSymbolBullet); /* prototype to pass -Wmissing-prototypes */
12910 XS(XS_Wx__RichTextBuffer_BeginSymbolBullet)
12911 {
12912 #ifdef dVAR
12913     dVAR; dXSARGS;
12914 #else
12915     dXSARGS;
12916 #endif
12917     if (items < 4 || items > 5)
12918        croak_xs_usage(cv,  "THIS, symbol, leftIndent, leftSubIndent, bulletStyle = wxTEXT_ATTR_BULLET_STYLE_SYMBOL");
12919     {
12920         wxString        symbol;
12921         int     leftIndent = (int)SvIV(ST(2));
12922         int     leftSubIndent = (int)SvIV(ST(3));
12923         int     bulletStyle;
12924         wxRichTextBuffer *    THIS = (wxRichTextBuffer *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::RichTextBuffer" );
12925         bool    RETVAL;
12926
12927     WXSTRING_INPUT( symbol, wxString, ST(1) );
12928
12929         if (items < 5)
12930             bulletStyle = wxTEXT_ATTR_BULLET_STYLE_SYMBOL;
12931         else {
12932             bulletStyle = (int)SvIV(ST(4));
12933         }
12934
12935         RETVAL = THIS->BeginSymbolBullet(symbol, leftIndent, leftSubIndent, bulletStyle);
12936         ST(0) = boolSV(RETVAL);
12937         sv_2mortal(ST(0));
12938     }
12939     XSRETURN(1);
12940 }
12941
12942 #else
12943 #define XSubPPtmpAACM 1
12944
12945
12946 XS(XS_Wx__RichTextBuffer_BeginSymbolBullet); /* prototype to pass -Wmissing-prototypes */
12947 XS(XS_Wx__RichTextBuffer_BeginSymbolBullet)
12948 {
12949 #ifdef dVAR
12950     dVAR; dXSARGS;
12951 #else
12952     dXSARGS;
12953 #endif
12954     if (items < 4 || items > 5)
12955        croak_xs_usage(cv,  "THIS, symbol, leftIndent, leftSubIndent, bulletStyle = wxTEXT_ATTR_BULLET_STYLE_SYMBOL");
12956     {
12957         wxChar  symbol = (wxChar)SvIV(ST(1));
12958         int     leftIndent = (int)SvIV(ST(2));
12959         int     leftSubIndent = (int)SvIV(ST(3));
12960         int     bulletStyle;
12961         wxRichTextBuffer *    THIS = (wxRichTextBuffer *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::RichTextBuffer" );
12962         bool    RETVAL;
12963
12964         if (items < 5)
12965             bulletStyle = wxTEXT_ATTR_BULLET_STYLE_SYMBOL;
12966         else {
12967             bulletStyle = (int)SvIV(ST(4));
12968         }
12969
12970         RETVAL = THIS->BeginSymbolBullet(symbol, leftIndent, leftSubIndent, bulletStyle);
12971         ST(0) = boolSV(RETVAL);
12972         sv_2mortal(ST(0));
12973     }
12974     XSRETURN(1);
12975 }
12976
12977 #endif
12978
12979 XS(XS_Wx__RichTextBuffer_EndSymbolBullet); /* prototype to pass -Wmissing-prototypes */
12980 XS(XS_Wx__RichTextBuffer_EndSymbolBullet)
12981 {
12982 #ifdef dVAR
12983     dVAR; dXSARGS;
12984 #else
12985     dXSARGS;
12986 #endif
12987     if (items != 1)
12988        croak_xs_usage(cv,  "THIS");
12989     {
12990         wxRichTextBuffer *    THIS = (wxRichTextBuffer *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::RichTextBuffer" );
12991         bool    RETVAL;
12992
12993         RETVAL = THIS->EndSymbolBullet();
12994         ST(0) = boolSV(RETVAL);
12995         sv_2mortal(ST(0));
12996     }
12997     XSRETURN(1);
12998 }
12999
13000 #if WXPERL_W_VERSION_GE( 2, 7, 2 )
13001 #define XSubPPtmpAACN 1
13002
13003
13004 XS(XS_Wx__RichTextBuffer_BeginStandardBullet); /* prototype to pass -Wmissing-prototypes */
13005 XS(XS_Wx__RichTextBuffer_BeginStandardBullet)
13006 {
13007 #ifdef dVAR
13008     dVAR; dXSARGS;
13009 #else
13010     dXSARGS;
13011 #endif
13012     if (items < 4 || items > 5)
13013        croak_xs_usage(cv,  "THIS, bulletName, leftIndent, leftSubIndent, bulletStyle = wxTEXT_ATTR_BULLET_STYLE_STANDARD");
13014     {
13015         wxString        bulletName;
13016         int     leftIndent = (int)SvIV(ST(2));
13017         int     leftSubIndent = (int)SvIV(ST(3));
13018         int     bulletStyle;
13019         wxRichTextBuffer *    THIS = (wxRichTextBuffer *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::RichTextBuffer" );
13020         bool    RETVAL;
13021
13022     WXSTRING_INPUT( bulletName, wxString, ST(1) );
13023
13024         if (items < 5)
13025             bulletStyle = wxTEXT_ATTR_BULLET_STYLE_STANDARD;
13026         else {
13027             bulletStyle = (int)SvIV(ST(4));
13028         }
13029
13030         RETVAL = THIS->BeginStandardBullet(bulletName, leftIndent, leftSubIndent, bulletStyle);
13031         ST(0) = boolSV(RETVAL);
13032         sv_2mortal(ST(0));
13033     }
13034     XSRETURN(1);
13035 }
13036
13037
13038 XS(XS_Wx__RichTextBuffer_EndStandardBullet); /* prototype to pass -Wmissing-prototypes */
13039 XS(XS_Wx__RichTextBuffer_EndStandardBullet)
13040 {
13041 #ifdef dVAR
13042     dVAR; dXSARGS;
13043 #else
13044     dXSARGS;
13045 #endif
13046     if (items != 1)
13047        croak_xs_usage(cv,  "THIS");
13048     {
13049         wxRichTextBuffer *    THIS = (wxRichTextBuffer *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::RichTextBuffer" );
13050         bool    RETVAL;
13051
13052         RETVAL = THIS->EndStandardBullet();
13053         ST(0) = boolSV(RETVAL);
13054         sv_2mortal(ST(0));
13055     }
13056     XSRETURN(1);
13057 }
13058
13059 #endif
13060
13061 XS(XS_Wx__RichTextBuffer_BeginCharacterStyle); /* prototype to pass -Wmissing-prototypes */
13062 XS(XS_Wx__RichTextBuffer_BeginCharacterStyle)
13063 {
13064 #ifdef dVAR
13065     dVAR; dXSARGS;
13066 #else
13067     dXSARGS;
13068 #endif
13069     if (items != 2)
13070        croak_xs_usage(cv,  "THIS, characterStyle");
13071     {
13072         wxString        characterStyle;
13073         wxRichTextBuffer *    THIS = (wxRichTextBuffer *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::RichTextBuffer" );
13074         bool    RETVAL;
13075
13076     WXSTRING_INPUT( characterStyle, wxString, ST(1) );
13077
13078         RETVAL = THIS->BeginCharacterStyle(characterStyle);
13079         ST(0) = boolSV(RETVAL);
13080         sv_2mortal(ST(0));
13081     }
13082     XSRETURN(1);
13083 }
13084
13085
13086 XS(XS_Wx__RichTextBuffer_EndCharacterStyle); /* prototype to pass -Wmissing-prototypes */
13087 XS(XS_Wx__RichTextBuffer_EndCharacterStyle)
13088 {
13089 #ifdef dVAR
13090     dVAR; dXSARGS;
13091 #else
13092     dXSARGS;
13093 #endif
13094     if (items != 1)
13095        croak_xs_usage(cv,  "THIS");
13096     {
13097         wxRichTextBuffer *    THIS = (wxRichTextBuffer *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::RichTextBuffer" );
13098         bool    RETVAL;
13099
13100         RETVAL = THIS->EndCharacterStyle();
13101         ST(0) = boolSV(RETVAL);
13102         sv_2mortal(ST(0));
13103     }
13104     XSRETURN(1);
13105 }
13106
13107
13108 XS(XS_Wx__RichTextBuffer_BeginParagraphStyle); /* prototype to pass -Wmissing-prototypes */
13109 XS(XS_Wx__RichTextBuffer_BeginParagraphStyle)
13110 {
13111 #ifdef dVAR
13112     dVAR; dXSARGS;
13113 #else
13114     dXSARGS;
13115 #endif
13116     if (items != 2)
13117        croak_xs_usage(cv,  "THIS, paragraphStyle");
13118     {
13119         wxString        paragraphStyle;
13120         wxRichTextBuffer *    THIS = (wxRichTextBuffer *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::RichTextBuffer" );
13121         bool    RETVAL;
13122
13123     WXSTRING_INPUT( paragraphStyle, wxString, ST(1) );
13124
13125         RETVAL = THIS->BeginParagraphStyle(paragraphStyle);
13126         ST(0) = boolSV(RETVAL);
13127         sv_2mortal(ST(0));
13128     }
13129     XSRETURN(1);
13130 }
13131
13132
13133 XS(XS_Wx__RichTextBuffer_EndParagraphStyle); /* prototype to pass -Wmissing-prototypes */
13134 XS(XS_Wx__RichTextBuffer_EndParagraphStyle)
13135 {
13136 #ifdef dVAR
13137     dVAR; dXSARGS;
13138 #else
13139     dXSARGS;
13140 #endif
13141     if (items != 1)
13142        croak_xs_usage(cv,  "THIS");
13143     {
13144         wxRichTextBuffer *    THIS = (wxRichTextBuffer *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::RichTextBuffer" );
13145         bool    RETVAL;
13146
13147         RETVAL = THIS->EndParagraphStyle();
13148         ST(0) = boolSV(RETVAL);
13149         sv_2mortal(ST(0));
13150     }
13151     XSRETURN(1);
13152 }
13153
13154 #if WXPERL_W_VERSION_GE( 2, 7, 2 )
13155 #define XSubPPtmpAACO 1
13156
13157
13158 XS(XS_Wx__RichTextBuffer_BeginListStyle); /* prototype to pass -Wmissing-prototypes */
13159 XS(XS_Wx__RichTextBuffer_BeginListStyle)
13160 {
13161 #ifdef dVAR
13162     dVAR; dXSARGS;
13163 #else
13164     dXSARGS;
13165 #endif
13166     if (items < 2 || items > 4)
13167        croak_xs_usage(cv,  "THIS, listStyle, level = 1, number = 1");
13168     {
13169         wxString        listStyle;
13170         int     level;
13171         int     number;
13172         wxRichTextBuffer *    THIS = (wxRichTextBuffer *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::RichTextBuffer" );
13173         bool    RETVAL;
13174
13175     WXSTRING_INPUT( listStyle, wxString, ST(1) );
13176
13177         if (items < 3)
13178             level = 1;
13179         else {
13180             level = (int)SvIV(ST(2));
13181         }
13182
13183         if (items < 4)
13184             number = 1;
13185         else {
13186             number = (int)SvIV(ST(3));
13187         }
13188
13189         RETVAL = THIS->BeginListStyle(listStyle, level, number);
13190         ST(0) = boolSV(RETVAL);
13191         sv_2mortal(ST(0));
13192     }
13193     XSRETURN(1);
13194 }
13195
13196
13197 XS(XS_Wx__RichTextBuffer_EndListStyle); /* prototype to pass -Wmissing-prototypes */
13198 XS(XS_Wx__RichTextBuffer_EndListStyle)
13199 {
13200 #ifdef dVAR
13201     dVAR; dXSARGS;
13202 #else
13203     dXSARGS;
13204 #endif
13205     if (items != 1)
13206        croak_xs_usage(cv,  "THIS");
13207     {
13208         wxRichTextBuffer *    THIS = (wxRichTextBuffer *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::RichTextBuffer" );
13209         bool    RETVAL;
13210
13211         RETVAL = THIS->EndListStyle();
13212         ST(0) = boolSV(RETVAL);
13213         sv_2mortal(ST(0));
13214     }
13215     XSRETURN(1);
13216 }
13217
13218
13219 XS(XS_Wx__RichTextBuffer_BeginURL); /* prototype to pass -Wmissing-prototypes */
13220 XS(XS_Wx__RichTextBuffer_BeginURL)
13221 {
13222 #ifdef dVAR
13223     dVAR; dXSARGS;
13224 #else
13225     dXSARGS;
13226 #endif
13227     if (items < 2 || items > 3)
13228        croak_xs_usage(cv,  "THIS, url, characterStyle = wxEmptyString");
13229     {
13230         wxString        url;
13231         wxString        characterStyle;
13232         wxRichTextBuffer *    THIS = (wxRichTextBuffer *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::RichTextBuffer" );
13233         bool    RETVAL;
13234
13235     WXSTRING_INPUT( url, wxString, ST(1) );
13236
13237         if (items < 3)
13238             characterStyle = wxEmptyString;
13239         else {
13240     WXSTRING_INPUT( characterStyle, wxString, ST(2) );
13241         }
13242
13243         RETVAL = THIS->BeginURL(url, characterStyle);
13244         ST(0) = boolSV(RETVAL);
13245         sv_2mortal(ST(0));
13246     }
13247     XSRETURN(1);
13248 }
13249
13250
13251 XS(XS_Wx__RichTextBuffer_EndURL); /* prototype to pass -Wmissing-prototypes */
13252 XS(XS_Wx__RichTextBuffer_EndURL)
13253 {
13254 #ifdef dVAR
13255     dVAR; dXSARGS;
13256 #else
13257     dXSARGS;
13258 #endif
13259     if (items != 1)
13260        croak_xs_usage(cv,  "THIS");
13261     {
13262         wxRichTextBuffer *    THIS = (wxRichTextBuffer *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::RichTextBuffer" );
13263         bool    RETVAL;
13264
13265         RETVAL = THIS->EndURL();
13266         ST(0) = boolSV(RETVAL);
13267         sv_2mortal(ST(0));
13268     }
13269     XSRETURN(1);
13270 }
13271
13272 #endif
13273 #if WXPERL_W_VERSION_GE( 2, 7, 2 )
13274 #define XSubPPtmpAACP 1
13275
13276
13277 XS(XS_Wx__RichTextBuffer_ClearListStyle); /* prototype to pass -Wmissing-prototypes */
13278 XS(XS_Wx__RichTextBuffer_ClearListStyle)
13279 {
13280 #ifdef dVAR
13281     dVAR; dXSARGS;
13282 #else
13283     dXSARGS;
13284 #endif
13285     if (items < 2 || items > 3)
13286        croak_xs_usage(cv,  "THIS, range, flags = wxRICHTEXT_SETSTYLE_WITH_UNDO");
13287     {
13288         wxRichTextRange*    range = (wxRichTextRange *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::RichTextRange" );
13289         int     flags;
13290         wxRichTextBuffer *    THIS = (wxRichTextBuffer *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::RichTextBuffer" );
13291         bool    RETVAL;
13292
13293         if (items < 3)
13294             flags = wxRICHTEXT_SETSTYLE_WITH_UNDO;
13295         else {
13296             flags = (int)SvIV(ST(2));
13297         }
13298     RETVAL = THIS->ClearListStyle( *( range ), flags );
13299         ST(0) = boolSV(RETVAL);
13300         sv_2mortal(ST(0));
13301     }
13302     XSRETURN(1);
13303 }
13304
13305 #endif
13306
13307 XS(XS_Wx__RichTextBuffer_AddParagraph); /* prototype to pass -Wmissing-prototypes */
13308 XS(XS_Wx__RichTextBuffer_AddParagraph)
13309 {
13310 #ifdef dVAR
13311     dVAR; dXSARGS;
13312 #else
13313     dXSARGS;
13314 #endif
13315     if (items != 2)
13316        croak_xs_usage(cv,  "THIS, text");
13317     {
13318         wxString        text;
13319         wxRichTextBuffer *    THIS = (wxRichTextBuffer *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::RichTextBuffer" );
13320         wxRichTextRange *       RETVAL;
13321
13322     WXSTRING_INPUT( text, wxString, ST(1) );
13323     RETVAL = new wxRichTextRange( THIS->AddParagraph( text ) );
13324         ST(0) = sv_newmortal();
13325     wxPli_non_object_2_sv( aTHX_ ST(0), RETVAL, "Wx::RichTextRange" );
13326     wxPli_thread_sv_register( aTHX_ "Wx::RichTextRange", RETVAL, ST(0) );
13327
13328     }
13329     XSRETURN(1);
13330 }
13331
13332
13333 XS(XS_Wx__RichTextBuffer_AddImage); /* prototype to pass -Wmissing-prototypes */
13334 XS(XS_Wx__RichTextBuffer_AddImage)
13335 {
13336 #ifdef dVAR
13337     dVAR; dXSARGS;
13338 #else
13339     dXSARGS;
13340 #endif
13341     if (items != 2)
13342        croak_xs_usage(cv,  "THIS, image");
13343     {
13344         wxImage*    image = (wxImage *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::Image" );
13345         wxRichTextBuffer *    THIS = (wxRichTextBuffer *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::RichTextBuffer" );
13346         wxRichTextRange *       RETVAL;
13347     RETVAL = new wxRichTextRange( THIS->AddImage( *( image ) ) );
13348         ST(0) = sv_newmortal();
13349     wxPli_non_object_2_sv( aTHX_ ST(0), RETVAL, "Wx::RichTextRange" );
13350     wxPli_thread_sv_register( aTHX_ "Wx::RichTextRange", RETVAL, ST(0) );
13351
13352     }
13353     XSRETURN(1);
13354 }
13355
13356
13357 XS(XS_Wx__RichTextBuffer_BeginBatchUndo); /* prototype to pass -Wmissing-prototypes */
13358 XS(XS_Wx__RichTextBuffer_BeginBatchUndo)
13359 {
13360 #ifdef dVAR
13361     dVAR; dXSARGS;
13362 #else
13363     dXSARGS;
13364 #endif
13365     if (items != 2)
13366        croak_xs_usage(cv,  "THIS, cmdName");
13367     {
13368         wxString        cmdName;
13369         wxRichTextBuffer *    THIS = (wxRichTextBuffer *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::RichTextBuffer" );
13370         bool    RETVAL;
13371
13372     WXSTRING_INPUT( cmdName, wxString, ST(1) );
13373
13374         RETVAL = THIS->BeginBatchUndo(cmdName);
13375         ST(0) = boolSV(RETVAL);
13376         sv_2mortal(ST(0));
13377     }
13378     XSRETURN(1);
13379 }
13380
13381
13382 XS(XS_Wx__RichTextBuffer_EndBatchUndo); /* prototype to pass -Wmissing-prototypes */
13383 XS(XS_Wx__RichTextBuffer_EndBatchUndo)
13384 {
13385 #ifdef dVAR
13386     dVAR; dXSARGS;
13387 #else
13388     dXSARGS;
13389 #endif
13390     if (items != 1)
13391        croak_xs_usage(cv,  "THIS");
13392     {
13393         wxRichTextBuffer *    THIS = (wxRichTextBuffer *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::RichTextBuffer" );
13394         bool    RETVAL;
13395
13396         RETVAL = THIS->EndBatchUndo();
13397         ST(0) = boolSV(RETVAL);
13398         sv_2mortal(ST(0));
13399     }
13400     XSRETURN(1);
13401 }
13402
13403
13404 XS(XS_Wx__RichTextBuffer_BatchingUndo); /* prototype to pass -Wmissing-prototypes */
13405 XS(XS_Wx__RichTextBuffer_BatchingUndo)
13406 {
13407 #ifdef dVAR
13408     dVAR; dXSARGS;
13409 #else
13410     dXSARGS;
13411 #endif
13412     if (items != 1)
13413        croak_xs_usage(cv,  "THIS");
13414     {
13415         wxRichTextBuffer *    THIS = (wxRichTextBuffer *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::RichTextBuffer" );
13416         bool    RETVAL;
13417
13418         RETVAL = THIS->BatchingUndo();
13419         ST(0) = boolSV(RETVAL);
13420         sv_2mortal(ST(0));
13421     }
13422     XSRETURN(1);
13423 }
13424
13425
13426 XS(XS_Wx__RichTextBuffer_BeginSuppressUndo); /* prototype to pass -Wmissing-prototypes */
13427 XS(XS_Wx__RichTextBuffer_BeginSuppressUndo)
13428 {
13429 #ifdef dVAR
13430     dVAR; dXSARGS;
13431 #else
13432     dXSARGS;
13433 #endif
13434     if (items != 1)
13435        croak_xs_usage(cv,  "THIS");
13436     {
13437         wxRichTextBuffer *    THIS = (wxRichTextBuffer *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::RichTextBuffer" );
13438         bool    RETVAL;
13439
13440         RETVAL = THIS->BeginSuppressUndo();
13441         ST(0) = boolSV(RETVAL);
13442         sv_2mortal(ST(0));
13443     }
13444     XSRETURN(1);
13445 }
13446
13447
13448 XS(XS_Wx__RichTextBuffer_EndSuppressUndo); /* prototype to pass -Wmissing-prototypes */
13449 XS(XS_Wx__RichTextBuffer_EndSuppressUndo)
13450 {
13451 #ifdef dVAR
13452     dVAR; dXSARGS;
13453 #else
13454     dXSARGS;
13455 #endif
13456     if (items != 1)
13457        croak_xs_usage(cv,  "THIS");
13458     {
13459         wxRichTextBuffer *    THIS = (wxRichTextBuffer *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::RichTextBuffer" );
13460         bool    RETVAL;
13461
13462         RETVAL = THIS->EndSuppressUndo();
13463         ST(0) = boolSV(RETVAL);
13464         sv_2mortal(ST(0));
13465     }
13466     XSRETURN(1);
13467 }
13468
13469
13470 XS(XS_Wx__RichTextBuffer_SuppressingUndo); /* prototype to pass -Wmissing-prototypes */
13471 XS(XS_Wx__RichTextBuffer_SuppressingUndo)
13472 {
13473 #ifdef dVAR
13474     dVAR; dXSARGS;
13475 #else
13476     dXSARGS;
13477 #endif
13478     if (items != 1)
13479        croak_xs_usage(cv,  "THIS");
13480     {
13481         wxRichTextBuffer *    THIS = (wxRichTextBuffer *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::RichTextBuffer" );
13482         bool    RETVAL;
13483
13484         RETVAL = THIS->SuppressingUndo();
13485         ST(0) = boolSV(RETVAL);
13486         sv_2mortal(ST(0));
13487     }
13488     XSRETURN(1);
13489 }
13490
13491
13492 XS(XS_Wx__RichTextBuffer_SetStyleSheet); /* prototype to pass -Wmissing-prototypes */
13493 XS(XS_Wx__RichTextBuffer_SetStyleSheet)
13494 {
13495 #ifdef dVAR
13496     dVAR; dXSARGS;
13497 #else
13498     dXSARGS;
13499 #endif
13500     if (items != 2)
13501        croak_xs_usage(cv,  "THIS, styleSheet");
13502     {
13503         wxRichTextStyleSheet*    styleSheet = (wxRichTextStyleSheet *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::RichTextStyleSheet" );
13504         wxRichTextBuffer *    THIS = (wxRichTextBuffer *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::RichTextBuffer" );
13505
13506         THIS->SetStyleSheet(styleSheet);
13507     }
13508     XSRETURN_EMPTY;
13509 }
13510
13511
13512 XS(XS_Wx__RichTextBuffer_GetStyleSheet); /* prototype to pass -Wmissing-prototypes */
13513 XS(XS_Wx__RichTextBuffer_GetStyleSheet)
13514 {
13515 #ifdef dVAR
13516     dVAR; dXSARGS;
13517 #else
13518     dXSARGS;
13519 #endif
13520     if (items != 1)
13521        croak_xs_usage(cv,  "THIS");
13522     {
13523         wxRichTextBuffer *    THIS = (wxRichTextBuffer *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::RichTextBuffer" );
13524         wxRichTextStyleSheet *  RETVAL;
13525     RETVAL = THIS->GetStyleSheet();
13526         ST(0) = sv_newmortal();
13527     wxPli_object_2_sv( aTHX_ ST(0), RETVAL );
13528     wxPli_thread_sv_register( aTHX_ "Wx::RichTextStyleSheet", RETVAL, ST(0) );
13529
13530     wxPli_object_set_deleteable( aTHX_ ST(0), false );
13531     }
13532     XSRETURN(1);
13533 }
13534
13535 #if WXPERL_W_VERSION_GE( 2, 7, 2 )
13536 #define XSubPPtmpAACQ 1
13537
13538
13539 XS(XS_Wx__RichTextBuffer_PushStyleSheet); /* prototype to pass -Wmissing-prototypes */
13540 XS(XS_Wx__RichTextBuffer_PushStyleSheet)
13541 {
13542 #ifdef dVAR
13543     dVAR; dXSARGS;
13544 #else
13545     dXSARGS;
13546 #endif
13547     if (items != 2)
13548        croak_xs_usage(cv,  "THIS, styleSheet");
13549     {
13550         wxRichTextStyleSheet*    styleSheet = (wxRichTextStyleSheet *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::RichTextStyleSheet" );
13551         wxRichTextBuffer *    THIS = (wxRichTextBuffer *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::RichTextBuffer" );
13552         bool    RETVAL;
13553
13554         RETVAL = THIS->PushStyleSheet(styleSheet);
13555         ST(0) = boolSV(RETVAL);
13556         sv_2mortal(ST(0));
13557     }
13558     XSRETURN(1);
13559 }
13560
13561
13562 XS(XS_Wx__RichTextBuffer_PopStyleSheet); /* prototype to pass -Wmissing-prototypes */
13563 XS(XS_Wx__RichTextBuffer_PopStyleSheet)
13564 {
13565 #ifdef dVAR
13566     dVAR; dXSARGS;
13567 #else
13568     dXSARGS;
13569 #endif
13570     if (items != 1)
13571        croak_xs_usage(cv,  "THIS");
13572     {
13573         wxRichTextBuffer *    THIS = (wxRichTextBuffer *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::RichTextBuffer" );
13574         wxRichTextStyleSheet *  RETVAL;
13575     RETVAL = THIS->PopStyleSheet();
13576         ST(0) = sv_newmortal();
13577     wxPli_object_2_sv( aTHX_ ST(0), RETVAL );
13578     wxPli_thread_sv_register( aTHX_ "Wx::RichTextStyleSheet", RETVAL, ST(0) );
13579
13580     wxPli_object_set_deleteable( aTHX_ ST(0), false );
13581     }
13582     XSRETURN(1);
13583 }
13584
13585 #endif
13586
13587 XS(XS_Wx__RichTextBuffer_SetBasicStyleRich); /* prototype to pass -Wmissing-prototypes */
13588 XS(XS_Wx__RichTextBuffer_SetBasicStyleRich)
13589 {
13590 #ifdef dVAR
13591     dVAR; dXSARGS;
13592 #else
13593     dXSARGS;
13594 #endif
13595     if (items != 2)
13596        croak_xs_usage(cv,  "THIS, style");
13597     {
13598         wxRichTextAttr*    style = (wxRichTextAttr *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::RichTextAttr" );
13599         wxRichTextBuffer *    THIS = (wxRichTextBuffer *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::RichTextBuffer" );
13600     THIS->SetBasicStyle( *( style ) );
13601     }
13602     XSRETURN_EMPTY;
13603 }
13604
13605
13606 XS(XS_Wx__RichTextBuffer_SetBasicStyleEx); /* prototype to pass -Wmissing-prototypes */
13607 XS(XS_Wx__RichTextBuffer_SetBasicStyleEx)
13608 {
13609 #ifdef dVAR
13610     dVAR; dXSARGS;
13611 #else
13612     dXSARGS;
13613 #endif
13614     if (items != 2)
13615        croak_xs_usage(cv,  "THIS, style");
13616     {
13617         wxTextAttrEx*    style = (wxTextAttrEx *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::TextAttrEx" );
13618         wxRichTextBuffer *    THIS = (wxRichTextBuffer *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::RichTextBuffer" );
13619     THIS->SetBasicStyle( *( style ) );
13620     }
13621     XSRETURN_EMPTY;
13622 }
13623
13624
13625 XS(XS_Wx__RichTextBuffer_SetBasicStyle); /* prototype to pass -Wmissing-prototypes */
13626 XS(XS_Wx__RichTextBuffer_SetBasicStyle)
13627 {
13628 #ifdef dVAR
13629     dVAR; dXSARGS;
13630 #else
13631     dXSARGS;
13632 #endif
13633     if (items < 1)
13634        croak_xs_usage(cv,  "THIS, ...");
13635     PERL_UNUSED_VAR(ax); /* -Wall */
13636     SP -= items;
13637     {
13638         wxRichTextBuffer *    THIS = (wxRichTextBuffer *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::RichTextBuffer" );
13639     BEGIN_OVERLOAD()
13640         MATCH_REDISP( wxPliOvl_wrta, SetBasicStyleRich )
13641         MATCH_REDISP( wxPliOvl_wtae, SetBasicStyleEx )
13642     END_OVERLOAD( "Wx::RichTextBuffer::SetBasicStyle" )
13643         PUTBACK;
13644         return;
13645     }
13646 }
13647
13648
13649 XS(XS_Wx__RichTextBuffer_GetRichTextAttrStyle); /* prototype to pass -Wmissing-prototypes */
13650 XS(XS_Wx__RichTextBuffer_GetRichTextAttrStyle)
13651 {
13652 #ifdef dVAR
13653     dVAR; dXSARGS;
13654 #else
13655     dXSARGS;
13656 #endif
13657     if (items != 2)
13658        croak_xs_usage(cv,  "THIS, position");
13659     PERL_UNUSED_VAR(ax); /* -Wall */
13660     SP -= items;
13661     {
13662         long    position = (long)SvIV(ST(1));
13663         wxRichTextCtrl *    THIS = (wxRichTextCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::RichTextCtrl" );
13664     wxRichTextAttr attr;
13665     bool retval = THIS->GetStyle( position, attr );
13666     EXTEND( SP, 2 );
13667     PUSHs( newSViv( retval ) );
13668     PUSHs( retval ? wxPli_non_object_2_sv( aTHX_ sv_newmortal(),
13669                                            new wxRichTextAttr( attr ),
13670                                            "Wx::RichTextAttr" ) :
13671                     &PL_sv_undef );
13672         PUTBACK;
13673         return;
13674     }
13675 }
13676
13677
13678 XS(XS_Wx__RichTextBuffer_GetTextAttrExStyle); /* prototype to pass -Wmissing-prototypes */
13679 XS(XS_Wx__RichTextBuffer_GetTextAttrExStyle)
13680 {
13681 #ifdef dVAR
13682     dVAR; dXSARGS;
13683 #else
13684     dXSARGS;
13685 #endif
13686     if (items != 2)
13687        croak_xs_usage(cv,  "THIS, position");
13688     PERL_UNUSED_VAR(ax); /* -Wall */
13689     SP -= items;
13690     {
13691         long    position = (long)SvIV(ST(1));
13692         wxRichTextCtrl *    THIS = (wxRichTextCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::RichTextCtrl" );
13693     wxTextAttrEx attr;
13694     bool retval = THIS->GetStyle( position, attr );
13695     EXTEND( SP, 2 );
13696     PUSHs( newSViv( retval ) );
13697     PUSHs( retval ? wxPli_non_object_2_sv( aTHX_ sv_newmortal(),
13698                                            new wxTextAttrEx( attr ),
13699                                            "Wx::TextAttrEx" ) :
13700                     &PL_sv_undef );
13701         PUTBACK;
13702         return;
13703     }
13704 }
13705
13706 #if WXPERL_W_VERSION_GE( 2, 7, 1 )
13707 #define XSubPPtmpAACR 1
13708
13709
13710 XS(XS_Wx__RichTextBuffer_GetRichTextAttrUncombinedStyle); /* prototype to pass -Wmissing-prototypes */
13711 XS(XS_Wx__RichTextBuffer_GetRichTextAttrUncombinedStyle)
13712 {
13713 #ifdef dVAR
13714     dVAR; dXSARGS;
13715 #else
13716     dXSARGS;
13717 #endif
13718     if (items != 2)
13719        croak_xs_usage(cv,  "THIS, position");
13720     PERL_UNUSED_VAR(ax); /* -Wall */
13721     SP -= items;
13722     {
13723         long    position = (long)SvIV(ST(1));
13724         wxRichTextCtrl *    THIS = (wxRichTextCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::RichTextCtrl" );
13725     wxRichTextAttr attr;
13726     bool retval = THIS->GetUncombinedStyle( position, attr );
13727     EXTEND( SP, 2 );
13728     PUSHs( newSViv( retval ) );
13729     PUSHs( retval ? wxPli_non_object_2_sv( aTHX_ sv_newmortal(),
13730                                            new wxRichTextAttr( attr ),
13731                                            "Wx::RichTextAttr" ) :
13732                     &PL_sv_undef );
13733         PUTBACK;
13734         return;
13735     }
13736 }
13737
13738
13739 XS(XS_Wx__RichTextBuffer_GetTextAttrExUncombinedStyle); /* prototype to pass -Wmissing-prototypes */
13740 XS(XS_Wx__RichTextBuffer_GetTextAttrExUncombinedStyle)
13741 {
13742 #ifdef dVAR
13743     dVAR; dXSARGS;
13744 #else
13745     dXSARGS;
13746 #endif
13747     if (items != 2)
13748        croak_xs_usage(cv,  "THIS, position");
13749     PERL_UNUSED_VAR(ax); /* -Wall */
13750     SP -= items;
13751     {
13752         long    position = (long)SvIV(ST(1));
13753         wxRichTextCtrl *    THIS = (wxRichTextCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::RichTextCtrl" );
13754     wxTextAttrEx attr;
13755     bool retval = THIS->GetUncombinedStyle( position, attr );
13756     EXTEND( SP, 2 );
13757     PUSHs( newSViv( retval ) );
13758     PUSHs( retval ? wxPli_non_object_2_sv( aTHX_ sv_newmortal(),
13759                                            new wxTextAttrEx( attr ),
13760                                            "Wx::TextAttrEx" ) :
13761                     &PL_sv_undef );
13762         PUTBACK;
13763         return;
13764     }
13765 }
13766
13767 #endif
13768 #if WXPERL_W_VERSION_GE( 2, 8, 0 )
13769 #define XSubPPtmpAACS 1
13770
13771
13772 XS(XS_Wx__RichTextBuffer_GetRichTextAttrStyleForRange); /* prototype to pass -Wmissing-prototypes */
13773 XS(XS_Wx__RichTextBuffer_GetRichTextAttrStyleForRange)
13774 {
13775 #ifdef dVAR
13776     dVAR; dXSARGS;
13777 #else
13778     dXSARGS;
13779 #endif
13780     if (items != 2)
13781        croak_xs_usage(cv,  "THIS, range");
13782     PERL_UNUSED_VAR(ax); /* -Wall */
13783     SP -= items;
13784     {
13785         wxRichTextRange*    range = (wxRichTextRange *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::RichTextRange" );
13786         wxRichTextCtrl *    THIS = (wxRichTextCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::RichTextCtrl" );
13787     wxRichTextAttr attr;
13788     bool retval = THIS->GetStyleForRange( *range, attr );
13789     EXTEND( SP, 2 );
13790     PUSHs( newSViv( retval ) );
13791     PUSHs( retval ? wxPli_non_object_2_sv( aTHX_ sv_newmortal(),
13792                                            new wxRichTextAttr( attr ),
13793                                            "Wx::RichTextAttr" ) :
13794                     &PL_sv_undef );
13795         PUTBACK;
13796         return;
13797     }
13798 }
13799
13800
13801 XS(XS_Wx__RichTextBuffer_GetTextAttrExStyleForRange); /* prototype to pass -Wmissing-prototypes */
13802 XS(XS_Wx__RichTextBuffer_GetTextAttrExStyleForRange)
13803 {
13804 #ifdef dVAR
13805     dVAR; dXSARGS;
13806 #else
13807     dXSARGS;
13808 #endif
13809     if (items != 2)
13810        croak_xs_usage(cv,  "THIS, range");
13811     PERL_UNUSED_VAR(ax); /* -Wall */
13812     SP -= items;
13813     {
13814         wxRichTextRange*    range = (wxRichTextRange *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::RichTextRange" );
13815         wxRichTextCtrl *    THIS = (wxRichTextCtrl *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::RichTextCtrl" );
13816     wxTextAttrEx attr;
13817     bool retval = THIS->GetStyleForRange( *range, attr );
13818     EXTEND( SP, 2 );
13819     PUSHs( newSViv( retval ) );
13820     PUSHs( retval ? wxPli_non_object_2_sv( aTHX_ sv_newmortal(),
13821                                            new wxTextAttrEx( attr ),
13822                                            "Wx::TextAttrEx" ) :
13823                     &PL_sv_undef );
13824         PUTBACK;
13825         return;
13826     }
13827 }
13828
13829 #endif
13830
13831 /* INCLUDE: Returning to 'RichText.xs' from 'perl -MExtUtils::XSpp::Cmd -e xspp -- -t typemap.xsp -t ../../typemap.xsp XS/RichTextBuffer.xsp |' */
13832
13833
13834 /* INCLUDE:  Including 'perl -MExtUtils::XSpp::Cmd -e xspp -- -t typemap.xsp -t ../../typemap.xsp XS/SymbolPickerDialog.xsp |' from 'RichText.xs' */
13835
13836 #undef _
13837 #define _(x) wxGetTranslation(wxT(x))
13838 #include <wx/richtext/richtextsymboldlg.h>
13839
13840 XS(XS_Wx__SymbolPickerDialog_new); /* prototype to pass -Wmissing-prototypes */
13841 XS(XS_Wx__SymbolPickerDialog_new)
13842 {
13843 #ifdef dVAR
13844     dVAR; dXSARGS;
13845 #else
13846     dXSARGS;
13847 #endif
13848     if (items < 1)
13849        croak_xs_usage(cv,  "CLASS, ...");
13850     PERL_UNUSED_VAR(ax); /* -Wall */
13851     SP -= items;
13852     {
13853         char *  CLASS = (char *)SvPV_nolen(ST(0));
13854     BEGIN_OVERLOAD()
13855         MATCH_VOIDM_REDISP( newDefault )
13856         MATCH_ANY_REDISP( newFull )
13857     END_OVERLOAD( "Wx::SymbolPickerDialog::new" )
13858         PUTBACK;
13859         return;
13860     }
13861 }
13862
13863
13864 XS(XS_Wx__SymbolPickerDialog_newDefault); /* prototype to pass -Wmissing-prototypes */
13865 XS(XS_Wx__SymbolPickerDialog_newDefault)
13866 {
13867 #ifdef dVAR
13868     dVAR; dXSARGS;
13869 #else
13870     dXSARGS;
13871 #endif
13872     if (items != 1)
13873        croak_xs_usage(cv,  "CLASS");
13874     {
13875         char *  CLASS = (char *)SvPV_nolen(ST(0));
13876         wxSymbolPickerDialog *  RETVAL;
13877      RETVAL = new wxSymbolPickerDialog();
13878                 wxPli_create_evthandler( aTHX_ RETVAL, CLASS );
13879
13880         ST(0) = sv_newmortal();
13881     wxPli_object_2_sv( aTHX_ ST(0), RETVAL );
13882
13883     }
13884     XSRETURN(1);
13885 }
13886
13887
13888 XS(XS_Wx__SymbolPickerDialog_newFull); /* prototype to pass -Wmissing-prototypes */
13889 XS(XS_Wx__SymbolPickerDialog_newFull)
13890 {
13891 #ifdef dVAR
13892     dVAR; dXSARGS;
13893 #else
13894     dXSARGS;
13895 #endif
13896     if (items < 5 || items > 10)
13897        croak_xs_usage(cv,  "CLASS, symbol, fontName, normalTextFont, parent, id = wxID_ANY, caption = SYMBOL_WXSYMBOLPICKERDIALOG_TITLE, pos = wxDefaultPosition, size = wxDefaultSize, style = SYMBOL_WXSYMBOLPICKERDIALOG_STYLE");
13898     {
13899         wxString        symbol;
13900         wxString        fontName;
13901         wxString        normalTextFont;
13902         wxWindow*    parent = (wxWindow *) wxPli_sv_2_object( aTHX_ ST(4), "Wx::Window" );
13903         wxWindowID      id;
13904         wxString        caption;
13905         wxPoint pos;
13906         wxSize  size;
13907         long    style;
13908         char *  CLASS = (char *)SvPV_nolen(ST(0));
13909         wxSymbolPickerDialog *  RETVAL;
13910
13911     WXSTRING_INPUT( symbol, wxString, ST(1) );
13912
13913     WXSTRING_INPUT( fontName, wxString, ST(2) );
13914
13915     WXSTRING_INPUT( normalTextFont, wxString, ST(3) );
13916
13917         if (items < 6)
13918             id = wxID_ANY;
13919         else {
13920     id = wxPli_get_wxwindowid( aTHX_ ST(5) );
13921         }
13922
13923         if (items < 7)
13924             caption = SYMBOL_WXSYMBOLPICKERDIALOG_TITLE;
13925         else {
13926     WXSTRING_INPUT( caption, wxString, ST(6) );
13927         }
13928
13929         if (items < 8)
13930             pos = wxDefaultPosition;
13931         else {
13932     pos = wxPli_sv_2_wxpoint( aTHX_ ST(7) );
13933         }
13934
13935         if (items < 9)
13936             size = wxDefaultSize;
13937         else {
13938     size = wxPli_sv_2_wxsize( aTHX_ ST(8) );
13939         }
13940
13941         if (items < 10)
13942             style = SYMBOL_WXSYMBOLPICKERDIALOG_STYLE;
13943         else {
13944             style = (long)SvIV(ST(9));
13945         }
13946      RETVAL = new wxSymbolPickerDialog( symbol, fontName,
13947                                                    normalTextFont, parent, id,
13948                                                    caption, pos, size, style );
13949                 wxPli_create_evthandler( aTHX_ RETVAL, CLASS );
13950
13951         ST(0) = sv_newmortal();
13952     wxPli_object_2_sv( aTHX_ ST(0), RETVAL );
13953
13954     }
13955     XSRETURN(1);
13956 }
13957
13958
13959 XS(XS_Wx__SymbolPickerDialog_Create); /* prototype to pass -Wmissing-prototypes */
13960 XS(XS_Wx__SymbolPickerDialog_Create)
13961 {
13962 #ifdef dVAR
13963     dVAR; dXSARGS;
13964 #else
13965     dXSARGS;
13966 #endif
13967     if (items < 5 || items > 10)
13968        croak_xs_usage(cv,  "THIS, symbol, fontName, normalTextFont, parent, id = wxID_ANY, caption = SYMBOL_WXSYMBOLPICKERDIALOG_TITLE, pos = SYMBOL_WXSYMBOLPICKERDIALOG_POSITION, size = SYMBOL_WXSYMBOLPICKERDIALOG_SIZE, style = SYMBOL_WXSYMBOLPICKERDIALOG_STYLE");
13969     {
13970         wxString        symbol;
13971         wxString        fontName;
13972         wxString        normalTextFont;
13973         wxWindow*    parent = (wxWindow *) wxPli_sv_2_object( aTHX_ ST(4), "Wx::Window" );
13974         wxWindowID      id;
13975         wxString        caption;
13976         wxPoint pos;
13977         wxSize  size;
13978         long    style;
13979         wxSymbolPickerDialog *    THIS = (wxSymbolPickerDialog *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::SymbolPickerDialog" );
13980         bool    RETVAL;
13981
13982     WXSTRING_INPUT( symbol, wxString, ST(1) );
13983
13984     WXSTRING_INPUT( fontName, wxString, ST(2) );
13985
13986     WXSTRING_INPUT( normalTextFont, wxString, ST(3) );
13987
13988         if (items < 6)
13989             id = wxID_ANY;
13990         else {
13991     id = wxPli_get_wxwindowid( aTHX_ ST(5) );
13992         }
13993
13994         if (items < 7)
13995             caption = SYMBOL_WXSYMBOLPICKERDIALOG_TITLE;
13996         else {
13997     WXSTRING_INPUT( caption, wxString, ST(6) );
13998         }
13999
14000         if (items < 8)
14001             pos = SYMBOL_WXSYMBOLPICKERDIALOG_POSITION;
14002         else {
14003     pos = wxPli_sv_2_wxpoint( aTHX_ ST(7) );
14004         }
14005
14006         if (items < 9)
14007             size = SYMBOL_WXSYMBOLPICKERDIALOG_SIZE;
14008         else {
14009     size = wxPli_sv_2_wxsize( aTHX_ ST(8) );
14010         }
14011
14012         if (items < 10)
14013             style = SYMBOL_WXSYMBOLPICKERDIALOG_STYLE;
14014         else {
14015             style = (long)SvIV(ST(9));
14016         }
14017
14018         RETVAL = THIS->Create(symbol, fontName, normalTextFont, parent, id, caption, pos, size, style);
14019         ST(0) = boolSV(RETVAL);
14020         sv_2mortal(ST(0));
14021     }
14022     XSRETURN(1);
14023 }
14024
14025
14026 XS(XS_Wx__SymbolPickerDialog_SetUnicodeMode); /* prototype to pass -Wmissing-prototypes */
14027 XS(XS_Wx__SymbolPickerDialog_SetUnicodeMode)
14028 {
14029 #ifdef dVAR
14030     dVAR; dXSARGS;
14031 #else
14032     dXSARGS;
14033 #endif
14034     if (items != 2)
14035        croak_xs_usage(cv,  "THIS, unicodeMode");
14036     {
14037         bool    unicodeMode = (bool)SvTRUE(ST(1));
14038         wxSymbolPickerDialog *    THIS = (wxSymbolPickerDialog *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::SymbolPickerDialog" );
14039
14040         THIS->SetUnicodeMode(unicodeMode);
14041     }
14042     XSRETURN_EMPTY;
14043 }
14044
14045
14046 XS(XS_Wx__SymbolPickerDialog_GetSymbolChar); /* prototype to pass -Wmissing-prototypes */
14047 XS(XS_Wx__SymbolPickerDialog_GetSymbolChar)
14048 {
14049 #ifdef dVAR
14050     dVAR; dXSARGS;
14051 #else
14052     dXSARGS;
14053 #endif
14054     if (items != 1)
14055        croak_xs_usage(cv,  "THIS");
14056     {
14057         wxSymbolPickerDialog *    THIS = (wxSymbolPickerDialog *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::SymbolPickerDialog" );
14058         int     RETVAL;
14059         dXSTARG;
14060
14061         RETVAL = THIS->GetSymbolChar();
14062         XSprePUSH; PUSHi((IV)RETVAL);
14063     }
14064     XSRETURN(1);
14065 }
14066
14067
14068 XS(XS_Wx__SymbolPickerDialog_HasSelection); /* prototype to pass -Wmissing-prototypes */
14069 XS(XS_Wx__SymbolPickerDialog_HasSelection)
14070 {
14071 #ifdef dVAR
14072     dVAR; dXSARGS;
14073 #else
14074     dXSARGS;
14075 #endif
14076     if (items != 1)
14077        croak_xs_usage(cv,  "THIS");
14078     {
14079         wxSymbolPickerDialog *    THIS = (wxSymbolPickerDialog *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::SymbolPickerDialog" );
14080         bool    RETVAL;
14081
14082         RETVAL = THIS->HasSelection();
14083         ST(0) = boolSV(RETVAL);
14084         sv_2mortal(ST(0));
14085     }
14086     XSRETURN(1);
14087 }
14088
14089
14090 XS(XS_Wx__SymbolPickerDialog_UseNormalFont); /* prototype to pass -Wmissing-prototypes */
14091 XS(XS_Wx__SymbolPickerDialog_UseNormalFont)
14092 {
14093 #ifdef dVAR
14094     dVAR; dXSARGS;
14095 #else
14096     dXSARGS;
14097 #endif
14098     if (items != 1)
14099        croak_xs_usage(cv,  "THIS");
14100     {
14101         wxSymbolPickerDialog *    THIS = (wxSymbolPickerDialog *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::SymbolPickerDialog" );
14102         bool    RETVAL;
14103
14104         RETVAL = THIS->UseNormalFont();
14105         ST(0) = boolSV(RETVAL);
14106         sv_2mortal(ST(0));
14107     }
14108     XSRETURN(1);
14109 }
14110
14111
14112 XS(XS_Wx__SymbolPickerDialog_GetFontName); /* prototype to pass -Wmissing-prototypes */
14113 XS(XS_Wx__SymbolPickerDialog_GetFontName)
14114 {
14115 #ifdef dVAR
14116     dVAR; dXSARGS;
14117 #else
14118     dXSARGS;
14119 #endif
14120     if (items != 1)
14121        croak_xs_usage(cv,  "THIS");
14122     {
14123         wxSymbolPickerDialog *    THIS = (wxSymbolPickerDialog *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::SymbolPickerDialog" );
14124         wxString        RETVAL;
14125
14126         RETVAL = THIS->GetFontName();
14127         ST(0) = sv_newmortal();
14128     WXSTRING_OUTPUT( RETVAL, ST(0) );
14129
14130     }
14131     XSRETURN(1);
14132 }
14133
14134
14135 XS(XS_Wx__SymbolPickerDialog_SetFontName); /* prototype to pass -Wmissing-prototypes */
14136 XS(XS_Wx__SymbolPickerDialog_SetFontName)
14137 {
14138 #ifdef dVAR
14139     dVAR; dXSARGS;
14140 #else
14141     dXSARGS;
14142 #endif
14143     if (items != 2)
14144        croak_xs_usage(cv,  "THIS, value");
14145     {
14146         wxString        value;
14147         wxSymbolPickerDialog *    THIS = (wxSymbolPickerDialog *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::SymbolPickerDialog" );
14148
14149     WXSTRING_INPUT( value, wxString, ST(1) );
14150
14151         THIS->SetFontName(value);
14152     }
14153     XSRETURN_EMPTY;
14154 }
14155
14156
14157 XS(XS_Wx__SymbolPickerDialog_GetSymbol); /* prototype to pass -Wmissing-prototypes */
14158 XS(XS_Wx__SymbolPickerDialog_GetSymbol)
14159 {
14160 #ifdef dVAR
14161     dVAR; dXSARGS;
14162 #else
14163     dXSARGS;
14164 #endif
14165     if (items != 1)
14166        croak_xs_usage(cv,  "THIS");
14167     {
14168         wxSymbolPickerDialog *    THIS = (wxSymbolPickerDialog *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::SymbolPickerDialog" );
14169         wxString        RETVAL;
14170
14171         RETVAL = THIS->GetSymbol();
14172         ST(0) = sv_newmortal();
14173     WXSTRING_OUTPUT( RETVAL, ST(0) );
14174
14175     }
14176     XSRETURN(1);
14177 }
14178
14179
14180 XS(XS_Wx__SymbolPickerDialog_SetSymbol); /* prototype to pass -Wmissing-prototypes */
14181 XS(XS_Wx__SymbolPickerDialog_SetSymbol)
14182 {
14183 #ifdef dVAR
14184     dVAR; dXSARGS;
14185 #else
14186     dXSARGS;
14187 #endif
14188     if (items != 2)
14189        croak_xs_usage(cv,  "THIS, value");
14190     {
14191         wxString        value;
14192         wxSymbolPickerDialog *    THIS = (wxSymbolPickerDialog *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::SymbolPickerDialog" );
14193
14194     WXSTRING_INPUT( value, wxString, ST(1) );
14195
14196         THIS->SetSymbol(value);
14197     }
14198     XSRETURN_EMPTY;
14199 }
14200
14201
14202 XS(XS_Wx__SymbolPickerDialog_GetFromUnicode); /* prototype to pass -Wmissing-prototypes */
14203 XS(XS_Wx__SymbolPickerDialog_GetFromUnicode)
14204 {
14205 #ifdef dVAR
14206     dVAR; dXSARGS;
14207 #else
14208     dXSARGS;
14209 #endif
14210     if (items != 1)
14211        croak_xs_usage(cv,  "THIS");
14212     {
14213         wxSymbolPickerDialog *    THIS = (wxSymbolPickerDialog *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::SymbolPickerDialog" );
14214         bool    RETVAL;
14215
14216         RETVAL = THIS->GetFromUnicode();
14217         ST(0) = boolSV(RETVAL);
14218         sv_2mortal(ST(0));
14219     }
14220     XSRETURN(1);
14221 }
14222
14223
14224 XS(XS_Wx__SymbolPickerDialog_SetFromUnicode); /* prototype to pass -Wmissing-prototypes */
14225 XS(XS_Wx__SymbolPickerDialog_SetFromUnicode)
14226 {
14227 #ifdef dVAR
14228     dVAR; dXSARGS;
14229 #else
14230     dXSARGS;
14231 #endif
14232     if (items != 2)
14233        croak_xs_usage(cv,  "THIS, value");
14234     {
14235         bool    value = (bool)SvTRUE(ST(1));
14236         wxSymbolPickerDialog *    THIS = (wxSymbolPickerDialog *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::SymbolPickerDialog" );
14237
14238         THIS->SetFromUnicode(value);
14239     }
14240     XSRETURN_EMPTY;
14241 }
14242
14243
14244 XS(XS_Wx__SymbolPickerDialog_GetNormalTextFontName); /* prototype to pass -Wmissing-prototypes */
14245 XS(XS_Wx__SymbolPickerDialog_GetNormalTextFontName)
14246 {
14247 #ifdef dVAR
14248     dVAR; dXSARGS;
14249 #else
14250     dXSARGS;
14251 #endif
14252     if (items != 1)
14253        croak_xs_usage(cv,  "THIS");
14254     {
14255         wxSymbolPickerDialog *    THIS = (wxSymbolPickerDialog *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::SymbolPickerDialog" );
14256         wxString        RETVAL;
14257
14258         RETVAL = THIS->GetNormalTextFontName();
14259         ST(0) = sv_newmortal();
14260     WXSTRING_OUTPUT( RETVAL, ST(0) );
14261
14262     }
14263     XSRETURN(1);
14264 }
14265
14266
14267 XS(XS_Wx__SymbolPickerDialog_SetNormalTextFontName); /* prototype to pass -Wmissing-prototypes */
14268 XS(XS_Wx__SymbolPickerDialog_SetNormalTextFontName)
14269 {
14270 #ifdef dVAR
14271     dVAR; dXSARGS;
14272 #else
14273     dXSARGS;
14274 #endif
14275     if (items != 2)
14276        croak_xs_usage(cv,  "THIS, value");
14277     {
14278         wxString        value;
14279         wxSymbolPickerDialog *    THIS = (wxSymbolPickerDialog *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::SymbolPickerDialog" );
14280
14281     WXSTRING_INPUT( value, wxString, ST(1) );
14282
14283         THIS->SetNormalTextFontName(value);
14284     }
14285     XSRETURN_EMPTY;
14286 }
14287
14288
14289 /* INCLUDE: Returning to 'RichText.xs' from 'perl -MExtUtils::XSpp::Cmd -e xspp -- -t typemap.xsp -t ../../typemap.xsp XS/SymbolPickerDialog.xsp |' */
14290
14291
14292 /* INCLUDE:  Including 'perl -MExtUtils::XSpp::Cmd -e xspp -- -t typemap.xsp -t ../../typemap.xsp XS/RichTextStyleOrganiserDialog.xsp |' from 'RichText.xs' */
14293
14294 #undef _
14295 #define _(x) wxGetTranslation(wxT(x))
14296 #include <wx/button.h>
14297 #include <wx/checkbox.h>
14298 #include <wx/richtext/richtextstyledlg.h>
14299
14300 XS(XS_Wx__RichTextStyleOrganiserDialog_new); /* prototype to pass -Wmissing-prototypes */
14301 XS(XS_Wx__RichTextStyleOrganiserDialog_new)
14302 {
14303 #ifdef dVAR
14304     dVAR; dXSARGS;
14305 #else
14306     dXSARGS;
14307 #endif
14308     if (items < 1)
14309        croak_xs_usage(cv,  "CLASS, ...");
14310     PERL_UNUSED_VAR(ax); /* -Wall */
14311     SP -= items;
14312     {
14313         char *  CLASS = (char *)SvPV_nolen(ST(0));
14314     BEGIN_OVERLOAD()
14315         MATCH_VOIDM_REDISP( newDefault )
14316         MATCH_ANY_REDISP( newFull )
14317     END_OVERLOAD( "Wx::RichTextStyleOrganiserDialog::new" )
14318         PUTBACK;
14319         return;
14320     }
14321 }
14322
14323
14324 XS(XS_Wx__RichTextStyleOrganiserDialog_newDefault); /* prototype to pass -Wmissing-prototypes */
14325 XS(XS_Wx__RichTextStyleOrganiserDialog_newDefault)
14326 {
14327 #ifdef dVAR
14328     dVAR; dXSARGS;
14329 #else
14330     dXSARGS;
14331 #endif
14332     if (items != 1)
14333        croak_xs_usage(cv,  "CLASS");
14334     {
14335         char *  CLASS = (char *)SvPV_nolen(ST(0));
14336         wxRichTextStyleOrganiserDialog *        RETVAL;
14337      RETVAL = new wxRichTextStyleOrganiserDialog();
14338                 wxPli_create_evthandler( aTHX_ RETVAL, CLASS );
14339
14340         ST(0) = sv_newmortal();
14341     wxPli_object_2_sv( aTHX_ ST(0), RETVAL );
14342
14343     }
14344     XSRETURN(1);
14345 }
14346
14347
14348 XS(XS_Wx__RichTextStyleOrganiserDialog_newFull); /* prototype to pass -Wmissing-prototypes */
14349 XS(XS_Wx__RichTextStyleOrganiserDialog_newFull)
14350 {
14351 #ifdef dVAR
14352     dVAR; dXSARGS;
14353 #else
14354     dXSARGS;
14355 #endif
14356     if (items < 5 || items > 10)
14357        croak_xs_usage(cv,  "CLASS, flags, sheet, ctrl, parent, id = wxID_ANY, caption = SYMBOL_WXRICHTEXTSTYLEORGANISERDIALOG_TITLE, pos = SYMBOL_WXRICHTEXTSTYLEORGANISERDIALOG_POSITION, size = SYMBOL_WXRICHTEXTSTYLEORGANISERDIALOG_SIZE, style = SYMBOL_WXRICHTEXTSTYLEORGANISERDIALOG_STYLE");
14358     {
14359         int     flags = (int)SvIV(ST(1));
14360         wxRichTextStyleSheet*    sheet = (wxRichTextStyleSheet *) wxPli_sv_2_object( aTHX_ ST(2), "Wx::RichTextStyleSheet" );
14361         wxRichTextCtrl*    ctrl = (wxRichTextCtrl *) wxPli_sv_2_object( aTHX_ ST(3), "Wx::RichTextCtrl" );
14362         wxWindow*    parent = (wxWindow *) wxPli_sv_2_object( aTHX_ ST(4), "Wx::Window" );
14363         wxWindowID      id;
14364         wxString        caption;
14365         wxPoint pos;
14366         wxSize  size;
14367         long    style;
14368         char *  CLASS = (char *)SvPV_nolen(ST(0));
14369         wxRichTextStyleOrganiserDialog *        RETVAL;
14370
14371         if (items < 6)
14372             id = wxID_ANY;
14373         else {
14374     id = wxPli_get_wxwindowid( aTHX_ ST(5) );
14375         }
14376
14377         if (items < 7)
14378             caption = SYMBOL_WXRICHTEXTSTYLEORGANISERDIALOG_TITLE;
14379         else {
14380     WXSTRING_INPUT( caption, wxString, ST(6) );
14381         }
14382
14383         if (items < 8)
14384             pos = SYMBOL_WXRICHTEXTSTYLEORGANISERDIALOG_POSITION;
14385         else {
14386     pos = wxPli_sv_2_wxpoint( aTHX_ ST(7) );
14387         }
14388
14389         if (items < 9)
14390             size = SYMBOL_WXRICHTEXTSTYLEORGANISERDIALOG_SIZE;
14391         else {
14392     size = wxPli_sv_2_wxsize( aTHX_ ST(8) );
14393         }
14394
14395         if (items < 10)
14396             style = SYMBOL_WXRICHTEXTSTYLEORGANISERDIALOG_STYLE;
14397         else {
14398             style = (long)SvIV(ST(9));
14399         }
14400      RETVAL = new wxRichTextStyleOrganiserDialog
14401                                  ( flags, sheet, ctrl, parent, id,
14402                                    caption, pos, size, style );
14403                 wxPli_create_evthandler( aTHX_ RETVAL, CLASS );
14404
14405         ST(0) = sv_newmortal();
14406     wxPli_object_2_sv( aTHX_ ST(0), RETVAL );
14407
14408     }
14409     XSRETURN(1);
14410 }
14411
14412
14413 XS(XS_Wx__RichTextStyleOrganiserDialog_Create); /* prototype to pass -Wmissing-prototypes */
14414 XS(XS_Wx__RichTextStyleOrganiserDialog_Create)
14415 {
14416 #ifdef dVAR
14417     dVAR; dXSARGS;
14418 #else
14419     dXSARGS;
14420 #endif
14421     if (items < 5 || items > 10)
14422        croak_xs_usage(cv,  "THIS, flags, sheet, ctrl, parent, id = wxID_ANY, caption = SYMBOL_WXRICHTEXTSTYLEORGANISERDIALOG_TITLE, pos = SYMBOL_WXRICHTEXTSTYLEORGANISERDIALOG_POSITION, size = SYMBOL_WXRICHTEXTSTYLEORGANISERDIALOG_SIZE, style = SYMBOL_WXRICHTEXTSTYLEORGANISERDIALOG_STYLE");
14423     {
14424         int     flags = (int)SvIV(ST(1));
14425         wxRichTextStyleSheet*    sheet = (wxRichTextStyleSheet *) wxPli_sv_2_object( aTHX_ ST(2), "Wx::RichTextStyleSheet" );
14426         wxRichTextCtrl*    ctrl = (wxRichTextCtrl *) wxPli_sv_2_object( aTHX_ ST(3), "Wx::RichTextCtrl" );
14427         wxWindow*    parent = (wxWindow *) wxPli_sv_2_object( aTHX_ ST(4), "Wx::Window" );
14428         wxWindowID      id;
14429         wxString        caption;
14430         wxPoint pos;
14431         wxSize  size;
14432         long    style;
14433         wxRichTextStyleOrganiserDialog *    THIS = (wxRichTextStyleOrganiserDialog *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::RichTextStyleOrganiserDialog" );
14434         bool    RETVAL;
14435
14436         if (items < 6)
14437             id = wxID_ANY;
14438         else {
14439     id = wxPli_get_wxwindowid( aTHX_ ST(5) );
14440         }
14441
14442         if (items < 7)
14443             caption = SYMBOL_WXRICHTEXTSTYLEORGANISERDIALOG_TITLE;
14444         else {
14445     WXSTRING_INPUT( caption, wxString, ST(6) );
14446         }
14447
14448         if (items < 8)
14449             pos = SYMBOL_WXRICHTEXTSTYLEORGANISERDIALOG_POSITION;
14450         else {
14451     pos = wxPli_sv_2_wxpoint( aTHX_ ST(7) );
14452         }
14453
14454         if (items < 9)
14455             size = SYMBOL_WXRICHTEXTSTYLEORGANISERDIALOG_SIZE;
14456         else {
14457     size = wxPli_sv_2_wxsize( aTHX_ ST(8) );
14458         }
14459
14460         if (items < 10)
14461             style = SYMBOL_WXRICHTEXTSTYLEORGANISERDIALOG_STYLE;
14462         else {
14463             style = (long)SvIV(ST(9));
14464         }
14465
14466         RETVAL = THIS->Create(flags, sheet, ctrl, parent, id, caption, pos, size, style);
14467         ST(0) = boolSV(RETVAL);
14468         sv_2mortal(ST(0));
14469     }
14470     XSRETURN(1);
14471 }
14472
14473
14474 XS(XS_Wx__RichTextStyleOrganiserDialog_SetStyleSheet); /* prototype to pass -Wmissing-prototypes */
14475 XS(XS_Wx__RichTextStyleOrganiserDialog_SetStyleSheet)
14476 {
14477 #ifdef dVAR
14478     dVAR; dXSARGS;
14479 #else
14480     dXSARGS;
14481 #endif
14482     if (items != 2)
14483        croak_xs_usage(cv,  "THIS, sheet");
14484     {
14485         wxRichTextStyleSheet*    sheet = (wxRichTextStyleSheet *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::RichTextStyleSheet" );
14486         wxRichTextStyleOrganiserDialog *    THIS = (wxRichTextStyleOrganiserDialog *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::RichTextStyleOrganiserDialog" );
14487
14488         THIS->SetStyleSheet(sheet);
14489     }
14490     XSRETURN_EMPTY;
14491 }
14492
14493
14494 XS(XS_Wx__RichTextStyleOrganiserDialog_GetStyleSheet); /* prototype to pass -Wmissing-prototypes */
14495 XS(XS_Wx__RichTextStyleOrganiserDialog_GetStyleSheet)
14496 {
14497 #ifdef dVAR
14498     dVAR; dXSARGS;
14499 #else
14500     dXSARGS;
14501 #endif
14502     if (items != 1)
14503        croak_xs_usage(cv,  "THIS");
14504     {
14505         wxRichTextStyleOrganiserDialog *    THIS = (wxRichTextStyleOrganiserDialog *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::RichTextStyleOrganiserDialog" );
14506         wxRichTextStyleSheet *  RETVAL;
14507
14508         RETVAL = THIS->GetStyleSheet();
14509         ST(0) = sv_newmortal();
14510     wxPli_object_2_sv( aTHX_ ST(0), RETVAL );
14511     wxPli_thread_sv_register( aTHX_ "Wx::RichTextStyleSheet", RETVAL, ST(0) );
14512
14513     }
14514     XSRETURN(1);
14515 }
14516
14517
14518 XS(XS_Wx__RichTextStyleOrganiserDialog_SetRichTextCtrl); /* prototype to pass -Wmissing-prototypes */
14519 XS(XS_Wx__RichTextStyleOrganiserDialog_SetRichTextCtrl)
14520 {
14521 #ifdef dVAR
14522     dVAR; dXSARGS;
14523 #else
14524     dXSARGS;
14525 #endif
14526     if (items != 2)
14527        croak_xs_usage(cv,  "THIS, ctrl");
14528     {
14529         wxRichTextCtrl*    ctrl = (wxRichTextCtrl *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::RichTextCtrl" );
14530         wxRichTextStyleOrganiserDialog *    THIS = (wxRichTextStyleOrganiserDialog *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::RichTextStyleOrganiserDialog" );
14531
14532         THIS->SetRichTextCtrl(ctrl);
14533     }
14534     XSRETURN_EMPTY;
14535 }
14536
14537
14538 XS(XS_Wx__RichTextStyleOrganiserDialog_GetRichTextCtrl); /* prototype to pass -Wmissing-prototypes */
14539 XS(XS_Wx__RichTextStyleOrganiserDialog_GetRichTextCtrl)
14540 {
14541 #ifdef dVAR
14542     dVAR; dXSARGS;
14543 #else
14544     dXSARGS;
14545 #endif
14546     if (items != 1)
14547        croak_xs_usage(cv,  "THIS");
14548     {
14549         wxRichTextStyleOrganiserDialog *    THIS = (wxRichTextStyleOrganiserDialog *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::RichTextStyleOrganiserDialog" );
14550         wxRichTextCtrl *        RETVAL;
14551
14552         RETVAL = THIS->GetRichTextCtrl();
14553         ST(0) = sv_newmortal();
14554     wxPli_evthandler_2_sv( aTHX_ ST(0), RETVAL );
14555
14556     }
14557     XSRETURN(1);
14558 }
14559
14560
14561 XS(XS_Wx__RichTextStyleOrganiserDialog_SetFlags); /* prototype to pass -Wmissing-prototypes */
14562 XS(XS_Wx__RichTextStyleOrganiserDialog_SetFlags)
14563 {
14564 #ifdef dVAR
14565     dVAR; dXSARGS;
14566 #else
14567     dXSARGS;
14568 #endif
14569     if (items != 2)
14570        croak_xs_usage(cv,  "THIS, flags");
14571     {
14572         int     flags = (int)SvIV(ST(1));
14573         wxRichTextStyleOrganiserDialog *    THIS = (wxRichTextStyleOrganiserDialog *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::RichTextStyleOrganiserDialog" );
14574
14575         THIS->SetFlags(flags);
14576     }
14577     XSRETURN_EMPTY;
14578 }
14579
14580
14581 XS(XS_Wx__RichTextStyleOrganiserDialog_GetFlags); /* prototype to pass -Wmissing-prototypes */
14582 XS(XS_Wx__RichTextStyleOrganiserDialog_GetFlags)
14583 {
14584 #ifdef dVAR
14585     dVAR; dXSARGS;
14586 #else
14587     dXSARGS;
14588 #endif
14589     if (items != 1)
14590        croak_xs_usage(cv,  "THIS");
14591     {
14592         wxRichTextStyleOrganiserDialog *    THIS = (wxRichTextStyleOrganiserDialog *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::RichTextStyleOrganiserDialog" );
14593         int     RETVAL;
14594         dXSTARG;
14595
14596         RETVAL = THIS->GetFlags();
14597         XSprePUSH; PUSHi((IV)RETVAL);
14598     }
14599     XSRETURN(1);
14600 }
14601
14602
14603 XS(XS_Wx__RichTextStyleOrganiserDialog_GetRestartNumbering); /* prototype to pass -Wmissing-prototypes */
14604 XS(XS_Wx__RichTextStyleOrganiserDialog_GetRestartNumbering)
14605 {
14606 #ifdef dVAR
14607     dVAR; dXSARGS;
14608 #else
14609     dXSARGS;
14610 #endif
14611     if (items != 1)
14612        croak_xs_usage(cv,  "THIS");
14613     {
14614         wxRichTextStyleOrganiserDialog *    THIS = (wxRichTextStyleOrganiserDialog *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::RichTextStyleOrganiserDialog" );
14615         bool    RETVAL;
14616
14617         RETVAL = THIS->GetRestartNumbering();
14618         ST(0) = boolSV(RETVAL);
14619         sv_2mortal(ST(0));
14620     }
14621     XSRETURN(1);
14622 }
14623
14624
14625 XS(XS_Wx__RichTextStyleOrganiserDialog_SetRestartNumbering); /* prototype to pass -Wmissing-prototypes */
14626 XS(XS_Wx__RichTextStyleOrganiserDialog_SetRestartNumbering)
14627 {
14628 #ifdef dVAR
14629     dVAR; dXSARGS;
14630 #else
14631     dXSARGS;
14632 #endif
14633     if (items != 2)
14634        croak_xs_usage(cv,  "THIS, restartNumbering");
14635     {
14636         bool    restartNumbering = (bool)SvTRUE(ST(1));
14637         wxRichTextStyleOrganiserDialog *    THIS = (wxRichTextStyleOrganiserDialog *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::RichTextStyleOrganiserDialog" );
14638
14639         THIS->SetRestartNumbering(restartNumbering);
14640     }
14641     XSRETURN_EMPTY;
14642 }
14643
14644
14645 XS(XS_Wx__RichTextStyleOrganiserDialog_GetSelectedStyle); /* prototype to pass -Wmissing-prototypes */
14646 XS(XS_Wx__RichTextStyleOrganiserDialog_GetSelectedStyle)
14647 {
14648 #ifdef dVAR
14649     dVAR; dXSARGS;
14650 #else
14651     dXSARGS;
14652 #endif
14653     if (items != 1)
14654        croak_xs_usage(cv,  "THIS");
14655     {
14656         wxRichTextStyleOrganiserDialog *    THIS = (wxRichTextStyleOrganiserDialog *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::RichTextStyleOrganiserDialog" );
14657         wxString        RETVAL;
14658
14659         RETVAL = THIS->GetSelectedStyle();
14660         ST(0) = sv_newmortal();
14661     WXSTRING_OUTPUT( RETVAL, ST(0) );
14662
14663     }
14664     XSRETURN(1);
14665 }
14666
14667
14668 XS(XS_Wx__RichTextStyleOrganiserDialog_GetSelectedStyleDefinition); /* prototype to pass -Wmissing-prototypes */
14669 XS(XS_Wx__RichTextStyleOrganiserDialog_GetSelectedStyleDefinition)
14670 {
14671 #ifdef dVAR
14672     dVAR; dXSARGS;
14673 #else
14674     dXSARGS;
14675 #endif
14676     if (items != 1)
14677        croak_xs_usage(cv,  "THIS");
14678     {
14679         wxRichTextStyleOrganiserDialog *    THIS = (wxRichTextStyleOrganiserDialog *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::RichTextStyleOrganiserDialog" );
14680         wxRichTextStyleDefinition *     RETVAL;
14681
14682         RETVAL = THIS->GetSelectedStyleDefinition();
14683         ST(0) = sv_newmortal();
14684     wxPli_object_2_sv( aTHX_ ST(0), RETVAL );
14685     wxPli_thread_sv_register( aTHX_ "Wx::RichTextStyleDefinition", RETVAL, ST(0) );
14686
14687     }
14688     XSRETURN(1);
14689 }
14690
14691
14692 XS(XS_Wx__RichTextStyleOrganiserDialog_ApplyStyle); /* prototype to pass -Wmissing-prototypes */
14693 XS(XS_Wx__RichTextStyleOrganiserDialog_ApplyStyle)
14694 {
14695 #ifdef dVAR
14696     dVAR; dXSARGS;
14697 #else
14698     dXSARGS;
14699 #endif
14700     if (items < 1 || items > 2)
14701        croak_xs_usage(cv,  "THIS, ctrl = NULL");
14702     {
14703         wxRichTextCtrl* ctrl;
14704         wxRichTextStyleOrganiserDialog *    THIS = (wxRichTextStyleOrganiserDialog *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::RichTextStyleOrganiserDialog" );
14705         bool    RETVAL;
14706
14707         if (items < 2)
14708             ctrl = NULL;
14709         else {
14710     ctrl = (wxRichTextCtrl *) wxPli_sv_2_object( aTHX_ ST(1), "Wx::RichTextCtrl" );
14711         }
14712
14713         RETVAL = THIS->ApplyStyle(ctrl);
14714         ST(0) = boolSV(RETVAL);
14715         sv_2mortal(ST(0));
14716     }
14717     XSRETURN(1);
14718 }
14719
14720
14721 XS(XS_Wx__RichTextStyleOrganiserDialog_ShowToolTips); /* prototype to pass -Wmissing-prototypes */
14722 XS(XS_Wx__RichTextStyleOrganiserDialog_ShowToolTips)
14723 {
14724 #ifdef dVAR
14725     dVAR; dXSARGS;
14726 #else
14727     dXSARGS;
14728 #endif
14729     if (items != 1)
14730        croak_xs_usage(cv,  "THIS");
14731     {
14732         wxRichTextStyleOrganiserDialog *    THIS = (wxRichTextStyleOrganiserDialog *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::RichTextStyleOrganiserDialog" );
14733         bool    RETVAL;
14734     RETVAL = wxRichTextStyleOrganiserDialog::ShowToolTips();
14735         ST(0) = boolSV(RETVAL);
14736         sv_2mortal(ST(0));
14737     }
14738     XSRETURN(1);
14739 }
14740
14741
14742 XS(XS_Wx__RichTextStyleOrganiserDialog_SetShowToolTips); /* prototype to pass -Wmissing-prototypes */
14743 XS(XS_Wx__RichTextStyleOrganiserDialog_SetShowToolTips)
14744 {
14745 #ifdef dVAR
14746     dVAR; dXSARGS;
14747 #else
14748     dXSARGS;
14749 #endif
14750     if (items != 2)
14751        croak_xs_usage(cv,  "THIS, show");
14752     {
14753         bool    show = (bool)SvTRUE(ST(1));
14754         wxRichTextStyleOrganiserDialog *    THIS = (wxRichTextStyleOrganiserDialog *) wxPli_sv_2_object( aTHX_ ST(0), "Wx::RichTextStyleOrganiserDialog" );
14755     wxRichTextStyleOrganiserDialog::SetShowToolTips( show );
14756     }
14757     XSRETURN_EMPTY;
14758 }
14759
14760
14761 /* INCLUDE: Returning to 'RichText.xs' from 'perl -MExtUtils::XSpp::Cmd -e xspp -- -t typemap.xsp -t ../../typemap.xsp XS/RichTextStyleOrganiserDialog.xsp |' */
14762
14763
14764 XS(XS_Wx__RichText_SetEvents); /* prototype to pass -Wmissing-prototypes */
14765 XS(XS_Wx__RichText_SetEvents)
14766 {
14767 #ifdef dVAR
14768     dVAR; dXSARGS;
14769 #else
14770     dXSARGS;
14771 #endif
14772     if (items != 0)
14773        croak_xs_usage(cv,  "");
14774     {
14775     wxPli_set_events( evts );
14776     }
14777     XSRETURN_EMPTY;
14778 }
14779
14780 #include "cpp/ovl_const.cpp"
14781 #if defined(__WXMSW__)
14782 #undef XS
14783 #define XS( name ) WXXS( name )
14784 #endif
14785 #ifdef __cplusplus
14786 extern "C"
14787 #endif
14788 XS(boot_Wx__RichText); /* prototype to pass -Wmissing-prototypes */
14789 XS(boot_Wx__RichText)
14790 {
14791 #ifdef dVAR
14792     dVAR; dXSARGS;
14793 #else
14794     dXSARGS;
14795 #endif
14796 #if (PERL_REVISION == 5 && PERL_VERSION < 9)
14797     char* file = __FILE__;
14798 #else
14799     const char* file = __FILE__;
14800 #endif
14801
14802     PERL_UNUSED_VAR(cv); /* -W */
14803     PERL_UNUSED_VAR(items); /* -W */
14804     XS_VERSION_BOOTCHECK ;
14805
14806 #if XSubPPtmpAAAA
14807         newXS("Wx::RichTextEvent::GetIndex", XS_Wx__RichTextEvent_GetIndex, file);
14808         newXS("Wx::RichTextEvent::SetIndex", XS_Wx__RichTextEvent_SetIndex, file);
14809 #endif
14810         newXS("Wx::RichTextEvent::GetFlags", XS_Wx__RichTextEvent_GetFlags, file);
14811         newXS("Wx::RichTextEvent::SetFlags", XS_Wx__RichTextEvent_SetFlags, file);
14812 #if XSubPPtmpAAAB
14813         newXS("Wx::RichTextEvent::GetOldStyleSheet", XS_Wx__RichTextEvent_GetOldStyleSheet, file);
14814         newXS("Wx::RichTextEvent::SetOldStyleSheet", XS_Wx__RichTextEvent_SetOldStyleSheet, file);
14815         newXS("Wx::RichTextEvent::GetNewStyleSheet", XS_Wx__RichTextEvent_GetNewStyleSheet, file);
14816         newXS("Wx::RichTextEvent::SetNewStyleSheet", XS_Wx__RichTextEvent_SetNewStyleSheet, file);
14817 #endif
14818         newXS("Wx::RichTextCtrl::newDefault", XS_Wx__RichTextCtrl_newDefault, file);
14819         newXS("Wx::RichTextCtrl::newFull", XS_Wx__RichTextCtrl_newFull, file);
14820         newXS("Wx::RichTextCtrl::Create", XS_Wx__RichTextCtrl_Create, file);
14821         newXS("Wx::RichTextCtrl::GetFilename", XS_Wx__RichTextCtrl_GetFilename, file);
14822         newXS("Wx::RichTextCtrl::SetFilename", XS_Wx__RichTextCtrl_SetFilename, file);
14823         newXS("Wx::RichTextCtrl::SetDelayedLayoutThreshold", XS_Wx__RichTextCtrl_SetDelayedLayoutThreshold, file);
14824         newXS("Wx::RichTextCtrl::GetDelayedLayoutThreshold", XS_Wx__RichTextCtrl_GetDelayedLayoutThreshold, file);
14825         newXS("Wx::RichTextCtrl::SetStyleFromTo", XS_Wx__RichTextCtrl_SetStyleFromTo, file);
14826         newXS("Wx::RichTextCtrl::SetStyleExFromTo", XS_Wx__RichTextCtrl_SetStyleExFromTo, file);
14827         newXS("Wx::RichTextCtrl::SetStyleRange", XS_Wx__RichTextCtrl_SetStyleRange, file);
14828 #if XSubPPtmpAAAC
14829         newXS("Wx::RichTextCtrl::SetStyleExExFromTo", XS_Wx__RichTextCtrl_SetStyleExExFromTo, file);
14830 #endif
14831 #if XSubPPtmpAAAD
14832         newXS("Wx::RichTextCtrl::SetStyleExRange", XS_Wx__RichTextCtrl_SetStyleExRange, file);
14833         newXS("Wx::RichTextCtrl::SetStyleExExRange", XS_Wx__RichTextCtrl_SetStyleExExRange, file);
14834 #endif
14835         newXS("Wx::RichTextCtrl::GetBasicStyle", XS_Wx__RichTextCtrl_GetBasicStyle, file);
14836         newXS("Wx::RichTextCtrl::GetDefaultStyleEx", XS_Wx__RichTextCtrl_GetDefaultStyleEx, file);
14837         newXS("Wx::RichTextCtrl::Newline", XS_Wx__RichTextCtrl_Newline, file);
14838         newXS("Wx::RichTextCtrl::BeginStyle", XS_Wx__RichTextCtrl_BeginStyle, file);
14839         newXS("Wx::RichTextCtrl::EndStyle", XS_Wx__RichTextCtrl_EndStyle, file);
14840         newXS("Wx::RichTextCtrl::EndAllStyles", XS_Wx__RichTextCtrl_EndAllStyles, file);
14841         newXS("Wx::RichTextCtrl::BeginBold", XS_Wx__RichTextCtrl_BeginBold, file);
14842         newXS("Wx::RichTextCtrl::EndBold", XS_Wx__RichTextCtrl_EndBold, file);
14843         newXS("Wx::RichTextCtrl::BeginItalic", XS_Wx__RichTextCtrl_BeginItalic, file);
14844         newXS("Wx::RichTextCtrl::EndItalic", XS_Wx__RichTextCtrl_EndItalic, file);
14845         newXS("Wx::RichTextCtrl::BeginUnderline", XS_Wx__RichTextCtrl_BeginUnderline, file);
14846         newXS("Wx::RichTextCtrl::EndUnderline", XS_Wx__RichTextCtrl_EndUnderline, file);
14847         newXS("Wx::RichTextCtrl::BeginFontSize", XS_Wx__RichTextCtrl_BeginFontSize, file);
14848         newXS("Wx::RichTextCtrl::EndFontSize", XS_Wx__RichTextCtrl_EndFontSize, file);
14849         newXS("Wx::RichTextCtrl::BeginFont", XS_Wx__RichTextCtrl_BeginFont, file);
14850         newXS("Wx::RichTextCtrl::EndFont", XS_Wx__RichTextCtrl_EndFont, file);
14851         newXS("Wx::RichTextCtrl::BeginTextColour", XS_Wx__RichTextCtrl_BeginTextColour, file);
14852         newXS("Wx::RichTextCtrl::EndTextColour", XS_Wx__RichTextCtrl_EndTextColour, file);
14853         newXS("Wx::RichTextCtrl::BeginAlignment", XS_Wx__RichTextCtrl_BeginAlignment, file);
14854         newXS("Wx::RichTextCtrl::EndAlignment", XS_Wx__RichTextCtrl_EndAlignment, file);
14855         newXS("Wx::RichTextCtrl::BeginLeftIndent", XS_Wx__RichTextCtrl_BeginLeftIndent, file);
14856         newXS("Wx::RichTextCtrl::EndLeftIndent", XS_Wx__RichTextCtrl_EndLeftIndent, file);
14857         newXS("Wx::RichTextCtrl::BeginRightIndent", XS_Wx__RichTextCtrl_BeginRightIndent, file);
14858         newXS("Wx::RichTextCtrl::EndRightIndent", XS_Wx__RichTextCtrl_EndRightIndent, file);
14859         newXS("Wx::RichTextCtrl::BeginParagraphSpacing", XS_Wx__RichTextCtrl_BeginParagraphSpacing, file);
14860         newXS("Wx::RichTextCtrl::EndParagraphSpacing", XS_Wx__RichTextCtrl_EndParagraphSpacing, file);
14861         newXS("Wx::RichTextCtrl::BeginLineSpacing", XS_Wx__RichTextCtrl_BeginLineSpacing, file);
14862         newXS("Wx::RichTextCtrl::EndLineSpacing", XS_Wx__RichTextCtrl_EndLineSpacing, file);
14863         newXS("Wx::RichTextCtrl::BeginNumberedBullet", XS_Wx__RichTextCtrl_BeginNumberedBullet, file);
14864         newXS("Wx::RichTextCtrl::EndNumberedBullet", XS_Wx__RichTextCtrl_EndNumberedBullet, file);
14865 #if XSubPPtmpAAAE
14866         newXS("Wx::RichTextCtrl::BeginSymbolBullet", XS_Wx__RichTextCtrl_BeginSymbolBullet, file);
14867 #endif
14868 #if XSubPPtmpAAAF
14869         newXS("Wx::RichTextCtrl::BeginSymbolBullet", XS_Wx__RichTextCtrl_BeginSymbolBullet, file);
14870 #endif
14871         newXS("Wx::RichTextCtrl::EndSymbolBullet", XS_Wx__RichTextCtrl_EndSymbolBullet, file);
14872 #if XSubPPtmpAAAG
14873         newXS("Wx::RichTextCtrl::BeginStandardBullet", XS_Wx__RichTextCtrl_BeginStandardBullet, file);
14874         newXS("Wx::RichTextCtrl::EndStandardBullet", XS_Wx__RichTextCtrl_EndStandardBullet, file);
14875 #endif
14876         newXS("Wx::RichTextCtrl::BeginCharacterStyle", XS_Wx__RichTextCtrl_BeginCharacterStyle, file);
14877         newXS("Wx::RichTextCtrl::EndCharacterStyle", XS_Wx__RichTextCtrl_EndCharacterStyle, file);
14878         newXS("Wx::RichTextCtrl::BeginParagraphStyle", XS_Wx__RichTextCtrl_BeginParagraphStyle, file);
14879         newXS("Wx::RichTextCtrl::EndParagraphStyle", XS_Wx__RichTextCtrl_EndParagraphStyle, file);
14880 #if XSubPPtmpAAAH
14881         newXS("Wx::RichTextCtrl::BeginListStyle", XS_Wx__RichTextCtrl_BeginListStyle, file);
14882         newXS("Wx::RichTextCtrl::EndListStyle", XS_Wx__RichTextCtrl_EndListStyle, file);
14883         newXS("Wx::RichTextCtrl::BeginURL", XS_Wx__RichTextCtrl_BeginURL, file);
14884         newXS("Wx::RichTextCtrl::EndURL", XS_Wx__RichTextCtrl_EndURL, file);
14885 #endif
14886         newXS("Wx::RichTextCtrl::SetDefaultStyleToCursorStyle", XS_Wx__RichTextCtrl_SetDefaultStyleToCursorStyle, file);
14887 #if XSubPPtmpAAAI
14888         newXS("Wx::RichTextCtrl::ClearListStyle", XS_Wx__RichTextCtrl_ClearListStyle, file);
14889 #endif
14890         newXS("Wx::RichTextCtrl::SelectNone", XS_Wx__RichTextCtrl_SelectNone, file);
14891 #if XSubPPtmpAAAJ
14892         newXS("Wx::RichTextCtrl::SelectWord", XS_Wx__RichTextCtrl_SelectWord, file);
14893 #endif
14894         newXS("Wx::RichTextCtrl::GetSelectionRange", XS_Wx__RichTextCtrl_GetSelectionRange, file);
14895         newXS("Wx::RichTextCtrl::SetSelectionRange", XS_Wx__RichTextCtrl_SetSelectionRange, file);
14896 #if XSubPPtmpAAAK
14897         newXS("Wx::RichTextCtrl::GetInternalSelectionRange", XS_Wx__RichTextCtrl_GetInternalSelectionRange, file);
14898         newXS("Wx::RichTextCtrl::SetInternalSelectionRange", XS_Wx__RichTextCtrl_SetInternalSelectionRange, file);
14899 #endif
14900         newXS("Wx::RichTextCtrl::HasSelection", XS_Wx__RichTextCtrl_HasSelection, file);
14901         newXS("Wx::RichTextCtrl::AddParagraph", XS_Wx__RichTextCtrl_AddParagraph, file);
14902         newXS("Wx::RichTextCtrl::AddImage", XS_Wx__RichTextCtrl_AddImage, file);
14903         newXS("Wx::RichTextCtrl::LayoutContent", XS_Wx__RichTextCtrl_LayoutContent, file);
14904         newXS("Wx::RichTextCtrl::MoveCaret", XS_Wx__RichTextCtrl_MoveCaret, file);
14905         newXS("Wx::RichTextCtrl::MoveRight", XS_Wx__RichTextCtrl_MoveRight, file);
14906         newXS("Wx::RichTextCtrl::MoveLeft", XS_Wx__RichTextCtrl_MoveLeft, file);
14907         newXS("Wx::RichTextCtrl::MoveUp", XS_Wx__RichTextCtrl_MoveUp, file);
14908         newXS("Wx::RichTextCtrl::MoveDown", XS_Wx__RichTextCtrl_MoveDown, file);
14909         newXS("Wx::RichTextCtrl::MoveToLineEnd", XS_Wx__RichTextCtrl_MoveToLineEnd, file);
14910         newXS("Wx::RichTextCtrl::MoveToLineStart", XS_Wx__RichTextCtrl_MoveToLineStart, file);
14911         newXS("Wx::RichTextCtrl::MoveToParagraphEnd", XS_Wx__RichTextCtrl_MoveToParagraphEnd, file);
14912         newXS("Wx::RichTextCtrl::MoveToParagraphStart", XS_Wx__RichTextCtrl_MoveToParagraphStart, file);
14913         newXS("Wx::RichTextCtrl::MoveHome", XS_Wx__RichTextCtrl_MoveHome, file);
14914         newXS("Wx::RichTextCtrl::MoveEnd", XS_Wx__RichTextCtrl_MoveEnd, file);
14915         newXS("Wx::RichTextCtrl::PageUp", XS_Wx__RichTextCtrl_PageUp, file);
14916         newXS("Wx::RichTextCtrl::PageDown", XS_Wx__RichTextCtrl_PageDown, file);
14917         newXS("Wx::RichTextCtrl::WordLeft", XS_Wx__RichTextCtrl_WordLeft, file);
14918         newXS("Wx::RichTextCtrl::WordRight", XS_Wx__RichTextCtrl_WordRight, file);
14919         newXS("Wx::RichTextCtrl::BeginBatchUndo", XS_Wx__RichTextCtrl_BeginBatchUndo, file);
14920         newXS("Wx::RichTextCtrl::EndBatchUndo", XS_Wx__RichTextCtrl_EndBatchUndo, file);
14921         newXS("Wx::RichTextCtrl::BatchingUndo", XS_Wx__RichTextCtrl_BatchingUndo, file);
14922         newXS("Wx::RichTextCtrl::BeginSuppressUndo", XS_Wx__RichTextCtrl_BeginSuppressUndo, file);
14923         newXS("Wx::RichTextCtrl::EndSuppressUndo", XS_Wx__RichTextCtrl_EndSuppressUndo, file);
14924         newXS("Wx::RichTextCtrl::SuppressingUndo", XS_Wx__RichTextCtrl_SuppressingUndo, file);
14925         newXS("Wx::RichTextCtrl::CanDeleteSelection", XS_Wx__RichTextCtrl_CanDeleteSelection, file);
14926         newXS("Wx::RichTextCtrl::DeleteSelection", XS_Wx__RichTextCtrl_DeleteSelection, file);
14927         newXS("Wx::RichTextCtrl::HasCARich", XS_Wx__RichTextCtrl_HasCARich, file);
14928         newXS("Wx::RichTextCtrl::HasCAEx", XS_Wx__RichTextCtrl_HasCAEx, file);
14929         newXS("Wx::RichTextCtrl::HasPARich", XS_Wx__RichTextCtrl_HasPARich, file);
14930         newXS("Wx::RichTextCtrl::HasPAEx", XS_Wx__RichTextCtrl_HasPAEx, file);
14931         newXS("Wx::RichTextCtrl::IsSelectionBold", XS_Wx__RichTextCtrl_IsSelectionBold, file);
14932         newXS("Wx::RichTextCtrl::IsSelectionItalics", XS_Wx__RichTextCtrl_IsSelectionItalics, file);
14933         newXS("Wx::RichTextCtrl::IsSelectionUnderlined", XS_Wx__RichTextCtrl_IsSelectionUnderlined, file);
14934         newXS("Wx::RichTextCtrl::IsSelectionAligned", XS_Wx__RichTextCtrl_IsSelectionAligned, file);
14935         newXS("Wx::RichTextCtrl::ApplyBoldToSelection", XS_Wx__RichTextCtrl_ApplyBoldToSelection, file);
14936         newXS("Wx::RichTextCtrl::ApplyItalicToSelection", XS_Wx__RichTextCtrl_ApplyItalicToSelection, file);
14937         newXS("Wx::RichTextCtrl::ApplyUnderlineToSelection", XS_Wx__RichTextCtrl_ApplyUnderlineToSelection, file);
14938         newXS("Wx::RichTextCtrl::ApplyAlignmentToSelection", XS_Wx__RichTextCtrl_ApplyAlignmentToSelection, file);
14939 #if XSubPPtmpAAAL
14940         newXS("Wx::RichTextCtrl::ApplyStyle", XS_Wx__RichTextCtrl_ApplyStyle, file);
14941         newXS("Wx::RichTextCtrl::SetStyleSheet", XS_Wx__RichTextCtrl_SetStyleSheet, file);
14942         newXS("Wx::RichTextCtrl::GetStyleSheet", XS_Wx__RichTextCtrl_GetStyleSheet, file);
14943         newXS("Wx::RichTextCtrl::ApplyStyleSheet", XS_Wx__RichTextCtrl_ApplyStyleSheet, file);
14944 #endif
14945 #if XSubPPtmpAAAM
14946         newXS("Wx::RichTextCtrl::PushStyleSheet", XS_Wx__RichTextCtrl_PushStyleSheet, file);
14947         newXS("Wx::RichTextCtrl::PopStyleSheet", XS_Wx__RichTextCtrl_PopStyleSheet, file);
14948 #endif
14949         newXS("Wx::RichTextCtrl::PositionCaret", XS_Wx__RichTextCtrl_PositionCaret, file);
14950         newXS("Wx::RichTextCtrl::ExtendSelection", XS_Wx__RichTextCtrl_ExtendSelection, file);
14951         newXS("Wx::RichTextCtrl::ScrollIntoView", XS_Wx__RichTextCtrl_ScrollIntoView, file);
14952         newXS("Wx::RichTextCtrl::SetCaretPosition", XS_Wx__RichTextCtrl_SetCaretPosition, file);
14953         newXS("Wx::RichTextCtrl::GetCaretPosition", XS_Wx__RichTextCtrl_GetCaretPosition, file);
14954 #if XSubPPtmpAAAN
14955         newXS("Wx::RichTextCtrl::GetAdjustedCaretPosition", XS_Wx__RichTextCtrl_GetAdjustedCaretPosition, file);
14956 #endif
14957         newXS("Wx::RichTextCtrl::MoveCaretForward", XS_Wx__RichTextCtrl_MoveCaretForward, file);
14958         newXS("Wx::RichTextCtrl::MoveCaretBack", XS_Wx__RichTextCtrl_MoveCaretBack, file);
14959         newXS("Wx::RichTextCtrl::GetPhysicalPoint", XS_Wx__RichTextCtrl_GetPhysicalPoint, file);
14960         newXS("Wx::RichTextCtrl::GetLogicalPoint", XS_Wx__RichTextCtrl_GetLogicalPoint, file);
14961         newXS("Wx::RichTextCtrl::FindNextWordPosition", XS_Wx__RichTextCtrl_FindNextWordPosition, file);
14962         newXS("Wx::RichTextCtrl::IsPositionVisible", XS_Wx__RichTextCtrl_IsPositionVisible, file);
14963         newXS("Wx::RichTextCtrl::GetFirstVisiblePosition", XS_Wx__RichTextCtrl_GetFirstVisiblePosition, file);
14964 #if XSubPPtmpAAAO
14965         newXS("Wx::RichTextCtrl::GetCaretPositionForDefaultStyle", XS_Wx__RichTextCtrl_GetCaretPositionForDefaultStyle, file);
14966         newXS("Wx::RichTextCtrl::SetCaretPositionForDefaultStyle", XS_Wx__RichTextCtrl_SetCaretPositionForDefaultStyle, file);
14967         newXS("Wx::RichTextCtrl::IsDefaultStyleShowing", XS_Wx__RichTextCtrl_IsDefaultStyleShowing, file);
14968         newXS("Wx::RichTextCtrl::SetAndShowDefaultStyle", XS_Wx__RichTextCtrl_SetAndShowDefaultStyle, file);
14969 #endif
14970 #if XSubPPtmpAAAP
14971         newXS("Wx::RichTextCtrl::GetFirstVisiblePoint", XS_Wx__RichTextCtrl_GetFirstVisiblePoint, file);
14972 #endif
14973         newXS("Wx::RichTextCtrl::WriteImageFile", XS_Wx__RichTextCtrl_WriteImageFile, file);
14974         newXS("Wx::RichTextCtrl::WriteImageBitmap", XS_Wx__RichTextCtrl_WriteImageBitmap, file);
14975         newXS("Wx::RichTextCtrl::WriteImageImage", XS_Wx__RichTextCtrl_WriteImageImage, file);
14976         newXS("Wx::RichTextCtrl::SetBasicStyleRich", XS_Wx__RichTextCtrl_SetBasicStyleRich, file);
14977         newXS("Wx::RichTextCtrl::SetBasicStyleEx", XS_Wx__RichTextCtrl_SetBasicStyleEx, file);
14978         newXS("Wx::RichTextCtrl::SetBasicStyle", XS_Wx__RichTextCtrl_SetBasicStyle, file);
14979         newXS("Wx::RichTextCtrl::GetBuffer", XS_Wx__RichTextCtrl_GetBuffer, file);
14980         newXS("Wx::RichTextCtrl::new", XS_Wx__RichTextCtrl_new, file);
14981         newXS("Wx::RichTextCtrl::SetStyle", XS_Wx__RichTextCtrl_SetStyle, file);
14982         newXS("Wx::RichTextCtrl::SetStyleEx", XS_Wx__RichTextCtrl_SetStyleEx, file);
14983         newXS("Wx::RichTextCtrl::HasCharacterAttributes", XS_Wx__RichTextCtrl_HasCharacterAttributes, file);
14984         newXS("Wx::RichTextCtrl::HasParagraphAttributes", XS_Wx__RichTextCtrl_HasParagraphAttributes, file);
14985         newXS("Wx::RichTextCtrl::DeleteSelectedContent", XS_Wx__RichTextCtrl_DeleteSelectedContent, file);
14986         newXS("Wx::RichTextCtrl::GetCaretPositionForIndex", XS_Wx__RichTextCtrl_GetCaretPositionForIndex, file);
14987         newXS("Wx::RichTextCtrl::GetRichTextAttrStyle", XS_Wx__RichTextCtrl_GetRichTextAttrStyle, file);
14988         newXS("Wx::RichTextCtrl::GetTextAttrExStyle", XS_Wx__RichTextCtrl_GetTextAttrExStyle, file);
14989         newXS("Wx::RichTextCtrl::GetTextAttrStyle", XS_Wx__RichTextCtrl_GetTextAttrStyle, file);
14990 #if XSubPPtmpAAAQ
14991         newXS("Wx::RichTextCtrl::GetStyle", XS_Wx__RichTextCtrl_GetStyle, file);
14992 #endif
14993 #if XSubPPtmpAAAR
14994         newXS("Wx::RichTextCtrl::GetRichTextAttrUncombinedStyle", XS_Wx__RichTextCtrl_GetRichTextAttrUncombinedStyle, file);
14995         newXS("Wx::RichTextCtrl::GetTextAttrExUncombinedStyle", XS_Wx__RichTextCtrl_GetTextAttrExUncombinedStyle, file);
14996         newXS("Wx::RichTextCtrl::GetTextAttrUncombinedStyle", XS_Wx__RichTextCtrl_GetTextAttrUncombinedStyle, file);
14997 #endif
14998 #if XSubPPtmpAAAS
14999         newXS("Wx::RichTextCtrl::GetUncombinedStyle", XS_Wx__RichTextCtrl_GetUncombinedStyle, file);
15000 #endif
15001 #if XSubPPtmpAAAT
15002         newXS("Wx::RichTextCtrl::GetRichTextAttrStyleForRange", XS_Wx__RichTextCtrl_GetRichTextAttrStyleForRange, file);
15003         newXS("Wx::RichTextCtrl::GetTextAttrExStyleForRange", XS_Wx__RichTextCtrl_GetTextAttrExStyleForRange, file);
15004 #endif
15005 #if XSubPPtmpAAAU
15006         newXS("Wx::RichTextCtrl::GetStyleForRange", XS_Wx__RichTextCtrl_GetStyleForRange, file);
15007 #endif
15008         newXS("Wx::RichTextCtrl::WriteImage", XS_Wx__RichTextCtrl_WriteImage, file);
15009         newXS("Wx::RichTextRange::newDefault", XS_Wx__RichTextRange_newDefault, file);
15010         newXS("Wx::RichTextRange::newFromTo", XS_Wx__RichTextRange_newFromTo, file);
15011         newXS("Wx::RichTextRange::newCopy", XS_Wx__RichTextRange_newCopy, file);
15012         newXS("Wx::RichTextRange::CLONE", XS_Wx__RichTextRange_CLONE, file);
15013         newXS("Wx::RichTextRange::DESTROY", XS_Wx__RichTextRange_DESTROY, file);
15014         newXS("Wx::RichTextRange::SetRange", XS_Wx__RichTextRange_SetRange, file);
15015         newXS("Wx::RichTextRange::SetStart", XS_Wx__RichTextRange_SetStart, file);
15016         newXS("Wx::RichTextRange::GetStart", XS_Wx__RichTextRange_GetStart, file);
15017         newXS("Wx::RichTextRange::SetEnd", XS_Wx__RichTextRange_SetEnd, file);
15018         newXS("Wx::RichTextRange::GetEnd", XS_Wx__RichTextRange_GetEnd, file);
15019         newXS("Wx::RichTextRange::IsOutside", XS_Wx__RichTextRange_IsOutside, file);
15020         newXS("Wx::RichTextRange::IsWithin", XS_Wx__RichTextRange_IsWithin, file);
15021         newXS("Wx::RichTextRange::Contains", XS_Wx__RichTextRange_Contains, file);
15022         newXS("Wx::RichTextRange::LimitTo", XS_Wx__RichTextRange_LimitTo, file);
15023         newXS("Wx::RichTextRange::GetLength", XS_Wx__RichTextRange_GetLength, file);
15024         newXS("Wx::RichTextRange::new", XS_Wx__RichTextRange_new, file);
15025         newXS("Wx::TextAttrEx::newDefault", XS_Wx__TextAttrEx_newDefault, file);
15026         newXS("Wx::TextAttrEx::newCopy", XS_Wx__TextAttrEx_newCopy, file);
15027         newXS("Wx::TextAttrEx::newAttr", XS_Wx__TextAttrEx_newAttr, file);
15028         newXS("Wx::TextAttrEx::CLONE", XS_Wx__TextAttrEx_CLONE, file);
15029         newXS("Wx::TextAttrEx::DESTROY", XS_Wx__TextAttrEx_DESTROY, file);
15030         newXS("Wx::TextAttrEx::SetCharacterStyleName", XS_Wx__TextAttrEx_SetCharacterStyleName, file);
15031         newXS("Wx::TextAttrEx::SetParagraphStyleName", XS_Wx__TextAttrEx_SetParagraphStyleName, file);
15032 #if XSubPPtmpAAAV
15033         newXS("Wx::TextAttrEx::SetListStyleName", XS_Wx__TextAttrEx_SetListStyleName, file);
15034 #endif
15035         newXS("Wx::TextAttrEx::SetParagraphSpacingAfter", XS_Wx__TextAttrEx_SetParagraphSpacingAfter, file);
15036         newXS("Wx::TextAttrEx::SetParagraphSpacingBefore", XS_Wx__TextAttrEx_SetParagraphSpacingBefore, file);
15037         newXS("Wx::TextAttrEx::SetLineSpacing", XS_Wx__TextAttrEx_SetLineSpacing, file);
15038         newXS("Wx::TextAttrEx::SetBulletStyle", XS_Wx__TextAttrEx_SetBulletStyle, file);
15039         newXS("Wx::TextAttrEx::SetBulletNumber", XS_Wx__TextAttrEx_SetBulletNumber, file);
15040 #if XSubPPtmpAAAW
15041         newXS("Wx::TextAttrEx::SetBulletText", XS_Wx__TextAttrEx_SetBulletText, file);
15042         newXS("Wx::TextAttrEx::SetBulletName", XS_Wx__TextAttrEx_SetBulletName, file);
15043         newXS("Wx::TextAttrEx::SetBulletFont", XS_Wx__TextAttrEx_SetBulletFont, file);
15044         newXS("Wx::TextAttrEx::SetURL", XS_Wx__TextAttrEx_SetURL, file);
15045         newXS("Wx::TextAttrEx::SetPageBreak", XS_Wx__TextAttrEx_SetPageBreak, file);
15046 #endif
15047         newXS("Wx::TextAttrEx::GetCharacterStyleName", XS_Wx__TextAttrEx_GetCharacterStyleName, file);
15048         newXS("Wx::TextAttrEx::GetParagraphStyleName", XS_Wx__TextAttrEx_GetParagraphStyleName, file);
15049 #if XSubPPtmpAAAX
15050         newXS("Wx::TextAttrEx::GetListStyleName", XS_Wx__TextAttrEx_GetListStyleName, file);
15051 #endif
15052         newXS("Wx::TextAttrEx::GetParagraphSpacingAfter", XS_Wx__TextAttrEx_GetParagraphSpacingAfter, file);
15053         newXS("Wx::TextAttrEx::GetParagraphSpacingBefore", XS_Wx__TextAttrEx_GetParagraphSpacingBefore, file);
15054         newXS("Wx::TextAttrEx::GetLineSpacing", XS_Wx__TextAttrEx_GetLineSpacing, file);
15055         newXS("Wx::TextAttrEx::GetBulletStyle", XS_Wx__TextAttrEx_GetBulletStyle, file);
15056         newXS("Wx::TextAttrEx::GetBulletNumber", XS_Wx__TextAttrEx_GetBulletNumber, file);
15057 #if XSubPPtmpAAAY
15058         newXS("Wx::TextAttrEx::GetBulletText", XS_Wx__TextAttrEx_GetBulletText, file);
15059         newXS("Wx::TextAttrEx::GetBulletName", XS_Wx__TextAttrEx_GetBulletName, file);
15060         newXS("Wx::TextAttrEx::GetBulletFont", XS_Wx__TextAttrEx_GetBulletFont, file);
15061         newXS("Wx::TextAttrEx::GetURL", XS_Wx__TextAttrEx_GetURL, file);
15062 #endif
15063 #if XSubPPtmpAAAZ
15064         newXS("Wx::TextAttrEx::HasWeight", XS_Wx__TextAttrEx_HasWeight, file);
15065         newXS("Wx::TextAttrEx::HasSize", XS_Wx__TextAttrEx_HasSize, file);
15066         newXS("Wx::TextAttrEx::HasItalic", XS_Wx__TextAttrEx_HasItalic, file);
15067         newXS("Wx::TextAttrEx::HasUnderlined", XS_Wx__TextAttrEx_HasUnderlined, file);
15068         newXS("Wx::TextAttrEx::HasFaceName", XS_Wx__TextAttrEx_HasFaceName, file);
15069 #endif
15070         newXS("Wx::TextAttrEx::HasParagraphSpacingAfter", XS_Wx__TextAttrEx_HasParagraphSpacingAfter, file);
15071         newXS("Wx::TextAttrEx::HasParagraphSpacingBefore", XS_Wx__TextAttrEx_HasParagraphSpacingBefore, file);
15072         newXS("Wx::TextAttrEx::HasLineSpacing", XS_Wx__TextAttrEx_HasLineSpacing, file);
15073         newXS("Wx::TextAttrEx::HasCharacterStyleName", XS_Wx__TextAttrEx_HasCharacterStyleName, file);
15074         newXS("Wx::TextAttrEx::HasParagraphStyleName", XS_Wx__TextAttrEx_HasParagraphStyleName, file);
15075 #if XSubPPtmpAABA
15076         newXS("Wx::TextAttrEx::HasListStyleName", XS_Wx__TextAttrEx_HasListStyleName, file);
15077 #endif
15078         newXS("Wx::TextAttrEx::HasBulletStyle", XS_Wx__TextAttrEx_HasBulletStyle, file);
15079         newXS("Wx::TextAttrEx::HasBulletNumber", XS_Wx__TextAttrEx_HasBulletNumber, file);
15080 #if XSubPPtmpAABB
15081         newXS("Wx::TextAttrEx::HasBulletText", XS_Wx__TextAttrEx_HasBulletText, file);
15082         newXS("Wx::TextAttrEx::HasBulletName", XS_Wx__TextAttrEx_HasBulletName, file);
15083         newXS("Wx::TextAttrEx::HasURL", XS_Wx__TextAttrEx_HasURL, file);
15084         newXS("Wx::TextAttrEx::HasPageBreak", XS_Wx__TextAttrEx_HasPageBreak, file);
15085 #endif
15086         newXS("Wx::TextAttrEx::IsCharacterStyle", XS_Wx__TextAttrEx_IsCharacterStyle, file);
15087         newXS("Wx::TextAttrEx::IsParagraphStyle", XS_Wx__TextAttrEx_IsParagraphStyle, file);
15088         newXS("Wx::TextAttrEx::IsDefault", XS_Wx__TextAttrEx_IsDefault, file);
15089 #if XSubPPtmpAABC
15090         newXS("Wx::TextAttrEx::GetOutlineLevel", XS_Wx__TextAttrEx_GetOutlineLevel, file);
15091         newXS("Wx::TextAttrEx::HasOutlineLevel", XS_Wx__TextAttrEx_HasOutlineLevel, file);
15092         newXS("Wx::TextAttrEx::SetOutlineLevel", XS_Wx__TextAttrEx_SetOutlineLevel, file);
15093         newXS("Wx::TextAttrEx::GetTextEffects", XS_Wx__TextAttrEx_GetTextEffects, file);
15094         newXS("Wx::TextAttrEx::HasTextEffects", XS_Wx__TextAttrEx_HasTextEffects, file);
15095         newXS("Wx::TextAttrEx::SetTextEffects", XS_Wx__TextAttrEx_SetTextEffects, file);
15096         newXS("Wx::TextAttrEx::GetTextEffectFlags", XS_Wx__TextAttrEx_GetTextEffectFlags, file);
15097         newXS("Wx::TextAttrEx::HasTextEffect", XS_Wx__TextAttrEx_HasTextEffect, file);
15098         newXS("Wx::TextAttrEx::SetTextEffectFlags", XS_Wx__TextAttrEx_SetTextEffectFlags, file);
15099 #endif
15100         newXS("Wx::TextAttrEx::new", XS_Wx__TextAttrEx_new, file);
15101         newXS("Wx::RichTextAttr::newDefault", XS_Wx__RichTextAttr_newDefault, file);
15102         newXS("Wx::RichTextAttr::newCopy", XS_Wx__RichTextAttr_newCopy, file);
15103         newXS("Wx::RichTextAttr::newAttrEx", XS_Wx__RichTextAttr_newAttrEx, file);
15104         newXS("Wx::RichTextAttr::newAttr", XS_Wx__RichTextAttr_newAttr, file);
15105 #if XSubPPtmpAABD
15106         newXS("Wx::RichTextAttr::newFull", XS_Wx__RichTextAttr_newFull, file);
15107 #endif
15108 #if XSubPPtmpAABE
15109         newXS("Wx::RichTextAttr::newFull", XS_Wx__RichTextAttr_newFull, file);
15110 #endif
15111         newXS("Wx::RichTextAttr::CLONE", XS_Wx__RichTextAttr_CLONE, file);
15112         newXS("Wx::RichTextAttr::DESTROY", XS_Wx__RichTextAttr_DESTROY, file);
15113 #if XSubPPtmpAABF
15114         newXS("Wx::RichTextAttr::CreateFont", XS_Wx__RichTextAttr_CreateFont, file);
15115 #endif
15116         newXS("Wx::RichTextAttr::GetFontAttributes", XS_Wx__RichTextAttr_GetFontAttributes, file);
15117         newXS("Wx::RichTextAttr::SetTextColour", XS_Wx__RichTextAttr_SetTextColour, file);
15118         newXS("Wx::RichTextAttr::SetBackgroundColour", XS_Wx__RichTextAttr_SetBackgroundColour, file);
15119         newXS("Wx::RichTextAttr::SetAlignment", XS_Wx__RichTextAttr_SetAlignment, file);
15120         newXS("Wx::RichTextAttr::SetTabs", XS_Wx__RichTextAttr_SetTabs, file);
15121         newXS("Wx::RichTextAttr::SetLeftIndent", XS_Wx__RichTextAttr_SetLeftIndent, file);
15122         newXS("Wx::RichTextAttr::SetRightIndent", XS_Wx__RichTextAttr_SetRightIndent, file);
15123         newXS("Wx::RichTextAttr::SetFontSize", XS_Wx__RichTextAttr_SetFontSize, file);
15124         newXS("Wx::RichTextAttr::SetFontStyle", XS_Wx__RichTextAttr_SetFontStyle, file);
15125         newXS("Wx::RichTextAttr::SetFontWeight", XS_Wx__RichTextAttr_SetFontWeight, file);
15126         newXS("Wx::RichTextAttr::SetFontFaceName", XS_Wx__RichTextAttr_SetFontFaceName, file);
15127         newXS("Wx::RichTextAttr::SetFontUnderlined", XS_Wx__RichTextAttr_SetFontUnderlined, file);
15128         newXS("Wx::RichTextAttr::SetFlags", XS_Wx__RichTextAttr_SetFlags, file);
15129         newXS("Wx::RichTextAttr::SetCharacterStyleName", XS_Wx__RichTextAttr_SetCharacterStyleName, file);
15130         newXS("Wx::RichTextAttr::SetParagraphStyleName", XS_Wx__RichTextAttr_SetParagraphStyleName, file);
15131 #if XSubPPtmpAABG
15132         newXS("Wx::RichTextAttr::SetListStyleName", XS_Wx__RichTextAttr_SetListStyleName, file);
15133 #endif
15134         newXS("Wx::RichTextAttr::SetParagraphSpacingAfter", XS_Wx__RichTextAttr_SetParagraphSpacingAfter, file);
15135         newXS("Wx::RichTextAttr::SetParagraphSpacingBefore", XS_Wx__RichTextAttr_SetParagraphSpacingBefore, file);
15136         newXS("Wx::RichTextAttr::SetLineSpacing", XS_Wx__RichTextAttr_SetLineSpacing, file);
15137         newXS("Wx::RichTextAttr::SetBulletStyle", XS_Wx__RichTextAttr_SetBulletStyle, file);
15138         newXS("Wx::RichTextAttr::SetBulletNumber", XS_Wx__RichTextAttr_SetBulletNumber, file);
15139 #if XSubPPtmpAABH
15140         newXS("Wx::RichTextAttr::SetBulletText", XS_Wx__RichTextAttr_SetBulletText, file);
15141         newXS("Wx::RichTextAttr::SetBulletFont", XS_Wx__RichTextAttr_SetBulletFont, file);
15142         newXS("Wx::RichTextAttr::SetBulletName", XS_Wx__RichTextAttr_SetBulletName, file);
15143         newXS("Wx::RichTextAttr::SetURL", XS_Wx__RichTextAttr_SetURL, file);
15144         newXS("Wx::RichTextAttr::SetPageBreak", XS_Wx__RichTextAttr_SetPageBreak, file);
15145 #endif
15146         newXS("Wx::RichTextAttr::GetTextColour", XS_Wx__RichTextAttr_GetTextColour, file);
15147         newXS("Wx::RichTextAttr::GetBackgroundColour", XS_Wx__RichTextAttr_GetBackgroundColour, file);
15148         newXS("Wx::RichTextAttr::GetAlignment", XS_Wx__RichTextAttr_GetAlignment, file);
15149         newXS("Wx::RichTextAttr::GetLeftIndent", XS_Wx__RichTextAttr_GetLeftIndent, file);
15150         newXS("Wx::RichTextAttr::GetLeftSubIndent", XS_Wx__RichTextAttr_GetLeftSubIndent, file);
15151         newXS("Wx::RichTextAttr::GetRightIndent", XS_Wx__RichTextAttr_GetRightIndent, file);
15152         newXS("Wx::RichTextAttr::GetFlags", XS_Wx__RichTextAttr_GetFlags, file);
15153         newXS("Wx::RichTextAttr::GetFontSize", XS_Wx__RichTextAttr_GetFontSize, file);
15154 #if XSubPPtmpAABI
15155         newXS("Wx::RichTextAttr::GetFontStyle", XS_Wx__RichTextAttr_GetFontStyle, file);
15156         newXS("Wx::RichTextAttr::GetFontWeight", XS_Wx__RichTextAttr_GetFontWeight, file);
15157 #endif
15158 #if XSubPPtmpAABJ
15159         newXS("Wx::RichTextAttr::GetFontStyle", XS_Wx__RichTextAttr_GetFontStyle, file);
15160         newXS("Wx::RichTextAttr::GetFontWeight", XS_Wx__RichTextAttr_GetFontWeight, file);
15161 #endif
15162         newXS("Wx::RichTextAttr::GetFontUnderlined", XS_Wx__RichTextAttr_GetFontUnderlined, file);
15163         newXS("Wx::RichTextAttr::GetFontFaceName", XS_Wx__RichTextAttr_GetFontFaceName, file);
15164         newXS("Wx::RichTextAttr::GetCharacterStyleName", XS_Wx__RichTextAttr_GetCharacterStyleName, file);
15165         newXS("Wx::RichTextAttr::GetParagraphStyleName", XS_Wx__RichTextAttr_GetParagraphStyleName, file);
15166 #if XSubPPtmpAABK
15167         newXS("Wx::RichTextAttr::GetListStyleName", XS_Wx__RichTextAttr_GetListStyleName, file);
15168 #endif
15169         newXS("Wx::RichTextAttr::GetParagraphSpacingAfter", XS_Wx__RichTextAttr_GetParagraphSpacingAfter, file);
15170         newXS("Wx::RichTextAttr::GetParagraphSpacingBefore", XS_Wx__RichTextAttr_GetParagraphSpacingBefore, file);
15171         newXS("Wx::RichTextAttr::GetLineSpacing", XS_Wx__RichTextAttr_GetLineSpacing, file);
15172         newXS("Wx::RichTextAttr::GetBulletStyle", XS_Wx__RichTextAttr_GetBulletStyle, file);
15173         newXS("Wx::RichTextAttr::GetBulletNumber", XS_Wx__RichTextAttr_GetBulletNumber, file);
15174 #if XSubPPtmpAABL
15175         newXS("Wx::RichTextAttr::GetBulletText", XS_Wx__RichTextAttr_GetBulletText, file);
15176         newXS("Wx::RichTextAttr::GetBulletFont", XS_Wx__RichTextAttr_GetBulletFont, file);
15177         newXS("Wx::RichTextAttr::GetBulletName", XS_Wx__RichTextAttr_GetBulletName, file);
15178         newXS("Wx::RichTextAttr::GetURL", XS_Wx__RichTextAttr_GetURL, file);
15179 #endif
15180         newXS("Wx::RichTextAttr::HasTextColour", XS_Wx__RichTextAttr_HasTextColour, file);
15181         newXS("Wx::RichTextAttr::HasBackgroundColour", XS_Wx__RichTextAttr_HasBackgroundColour, file);
15182         newXS("Wx::RichTextAttr::HasAlignment", XS_Wx__RichTextAttr_HasAlignment, file);
15183         newXS("Wx::RichTextAttr::HasTabs", XS_Wx__RichTextAttr_HasTabs, file);
15184         newXS("Wx::RichTextAttr::HasLeftIndent", XS_Wx__RichTextAttr_HasLeftIndent, file);
15185         newXS("Wx::RichTextAttr::HasRightIndent", XS_Wx__RichTextAttr_HasRightIndent, file);
15186 #if XSubPPtmpAABM
15187         newXS("Wx::RichTextAttr::HasWeight", XS_Wx__RichTextAttr_HasWeight, file);
15188         newXS("Wx::RichTextAttr::HasSize", XS_Wx__RichTextAttr_HasSize, file);
15189         newXS("Wx::RichTextAttr::HasItalic", XS_Wx__RichTextAttr_HasItalic, file);
15190         newXS("Wx::RichTextAttr::HasUnderlined", XS_Wx__RichTextAttr_HasUnderlined, file);
15191         newXS("Wx::RichTextAttr::HasFaceName", XS_Wx__RichTextAttr_HasFaceName, file);
15192 #endif
15193         newXS("Wx::RichTextAttr::HasFont", XS_Wx__RichTextAttr_HasFont, file);
15194         newXS("Wx::RichTextAttr::HasParagraphSpacingAfter", XS_Wx__RichTextAttr_HasParagraphSpacingAfter, file);
15195         newXS("Wx::RichTextAttr::HasParagraphSpacingBefore", XS_Wx__RichTextAttr_HasParagraphSpacingBefore, file);
15196         newXS("Wx::RichTextAttr::HasLineSpacing", XS_Wx__RichTextAttr_HasLineSpacing, file);
15197         newXS("Wx::RichTextAttr::HasCharacterStyleName", XS_Wx__RichTextAttr_HasCharacterStyleName, file);
15198         newXS("Wx::RichTextAttr::HasParagraphStyleName", XS_Wx__RichTextAttr_HasParagraphStyleName, file);
15199 #if XSubPPtmpAABN
15200         newXS("Wx::RichTextAttr::HasListStyleName", XS_Wx__RichTextAttr_HasListStyleName, file);
15201 #endif
15202         newXS("Wx::RichTextAttr::HasBulletStyle", XS_Wx__RichTextAttr_HasBulletStyle, file);
15203         newXS("Wx::RichTextAttr::HasBulletNumber", XS_Wx__RichTextAttr_HasBulletNumber, file);
15204 #if XSubPPtmpAABO
15205         newXS("Wx::RichTextAttr::HasBulletText", XS_Wx__RichTextAttr_HasBulletText, file);
15206         newXS("Wx::RichTextAttr::HasBulletName", XS_Wx__RichTextAttr_HasBulletName, file);
15207         newXS("Wx::RichTextAttr::HasURL", XS_Wx__RichTextAttr_HasURL, file);
15208         newXS("Wx::RichTextAttr::HasPageBreak", XS_Wx__RichTextAttr_HasPageBreak, file);
15209 #endif
15210         newXS("Wx::RichTextAttr::IsCharacterStyle", XS_Wx__RichTextAttr_IsCharacterStyle, file);
15211         newXS("Wx::RichTextAttr::IsParagraphStyle", XS_Wx__RichTextAttr_IsParagraphStyle, file);
15212         newXS("Wx::RichTextAttr::IsDefault", XS_Wx__RichTextAttr_IsDefault, file);
15213         newXS("Wx::RichTextAttr::new", XS_Wx__RichTextAttr_new, file);
15214         newXS("Wx::RichTextAttr::GetTabs", XS_Wx__RichTextAttr_GetTabs, file);
15215         newXS("Wx::RichTextStyleDefinition::CLONE", XS_Wx__RichTextStyleDefinition_CLONE, file);
15216         newXS("Wx::RichTextStyleDefinition::DESTROY", XS_Wx__RichTextStyleDefinition_DESTROY, file);
15217 #if XSubPPtmpAABP
15218         newXS("Wx::RichTextStyleDefinition::Copy", XS_Wx__RichTextStyleDefinition_Copy, file);
15219         newXS("Wx::RichTextStyleDefinition::Eq", XS_Wx__RichTextStyleDefinition_Eq, file);
15220 #endif
15221         newXS("Wx::RichTextStyleDefinition::SetName", XS_Wx__RichTextStyleDefinition_SetName, file);
15222         newXS("Wx::RichTextStyleDefinition::GetName", XS_Wx__RichTextStyleDefinition_GetName, file);
15223 #if XSubPPtmpAABQ
15224         newXS("Wx::RichTextStyleDefinition::SetDescription", XS_Wx__RichTextStyleDefinition_SetDescription, file);
15225         newXS("Wx::RichTextStyleDefinition::GetDescription", XS_Wx__RichTextStyleDefinition_GetDescription, file);
15226 #endif
15227         newXS("Wx::RichTextStyleDefinition::SetBaseStyle", XS_Wx__RichTextStyleDefinition_SetBaseStyle, file);
15228         newXS("Wx::RichTextStyleDefinition::GetBaseStyle", XS_Wx__RichTextStyleDefinition_GetBaseStyle, file);
15229         newXS("Wx::RichTextStyleDefinition::SetStyle", XS_Wx__RichTextStyleDefinition_SetStyle, file);
15230         newXS("Wx::RichTextStyleDefinition::GetStyle", XS_Wx__RichTextStyleDefinition_GetStyle, file);
15231 #if XSubPPtmpAABR
15232         newXS("Wx::RichTextStyleDefinition::GetStyleMergedWithBase", XS_Wx__RichTextStyleDefinition_GetStyleMergedWithBase, file);
15233 #endif
15234         newXS("Wx::RichTextCharacterStyleDefinition::new", XS_Wx__RichTextCharacterStyleDefinition_new, file);
15235         newXS("Wx::RichTextParagraphStyleDefinition::new", XS_Wx__RichTextParagraphStyleDefinition_new, file);
15236 #if XSubPPtmpAABS
15237         newXS("Wx::RichTextParagraphStyleDefinition::Copy", XS_Wx__RichTextParagraphStyleDefinition_Copy, file);
15238 #endif
15239         newXS("Wx::RichTextParagraphStyleDefinition::SetNextStyle", XS_Wx__RichTextParagraphStyleDefinition_SetNextStyle, file);
15240         newXS("Wx::RichTextParagraphStyleDefinition::GetNextStyle", XS_Wx__RichTextParagraphStyleDefinition_GetNextStyle, file);
15241 #if XSubPPtmpAABT
15242         newXS("Wx::RichTextListStyleDefinition::new", XS_Wx__RichTextListStyleDefinition_new, file);
15243         newXS("Wx::RichTextListStyleDefinition::Copy", XS_Wx__RichTextListStyleDefinition_Copy, file);
15244         newXS("Wx::RichTextListStyleDefinition::SetLevelAttributes", XS_Wx__RichTextListStyleDefinition_SetLevelAttributes, file);
15245         newXS("Wx::RichTextListStyleDefinition::GetLevelAttributes", XS_Wx__RichTextListStyleDefinition_GetLevelAttributes, file);
15246         newXS("Wx::RichTextListStyleDefinition::SetAttributes", XS_Wx__RichTextListStyleDefinition_SetAttributes, file);
15247         newXS("Wx::RichTextListStyleDefinition::FindLevelForIndent", XS_Wx__RichTextListStyleDefinition_FindLevelForIndent, file);
15248         newXS("Wx::RichTextListStyleDefinition::CombineWithParagraphStyle", XS_Wx__RichTextListStyleDefinition_CombineWithParagraphStyle, file);
15249         newXS("Wx::RichTextListStyleDefinition::GetCombinedStyle", XS_Wx__RichTextListStyleDefinition_GetCombinedStyle, file);
15250         newXS("Wx::RichTextListStyleDefinition::GetCombinedStyleForLevel", XS_Wx__RichTextListStyleDefinition_GetCombinedStyleForLevel, file);
15251         newXS("Wx::RichTextListStyleDefinition::GetLevelCount", XS_Wx__RichTextListStyleDefinition_GetLevelCount, file);
15252         newXS("Wx::RichTextListStyleDefinition::IsNumbered", XS_Wx__RichTextListStyleDefinition_IsNumbered, file);
15253 #endif
15254         newXS("Wx::RichTextStyleSheet::new", XS_Wx__RichTextStyleSheet_new, file);
15255         newXS("Wx::RichTextStyleSheet::CLONE", XS_Wx__RichTextStyleSheet_CLONE, file);
15256         newXS("Wx::RichTextStyleSheet::DESTROY", XS_Wx__RichTextStyleSheet_DESTROY, file);
15257 #if XSubPPtmpAABU
15258         newXS("Wx::RichTextStyleSheet::AddStyle", XS_Wx__RichTextStyleSheet_AddStyle, file);
15259         newXS("Wx::RichTextStyleSheet::FindStyle", XS_Wx__RichTextStyleSheet_FindStyle, file);
15260         newXS("Wx::RichTextStyleSheet::RemoveStyle", XS_Wx__RichTextStyleSheet_RemoveStyle, file);
15261 #endif
15262 #if XSubPPtmpAABV
15263         newXS("Wx::RichTextStyleSheet::Copy", XS_Wx__RichTextStyleSheet_Copy, file);
15264 #endif
15265         newXS("Wx::RichTextStyleSheet::AddCharacterStyle", XS_Wx__RichTextStyleSheet_AddCharacterStyle, file);
15266         newXS("Wx::RichTextStyleSheet::AddParagraphStyle", XS_Wx__RichTextStyleSheet_AddParagraphStyle, file);
15267 #if XSubPPtmpAABW
15268         newXS("Wx::RichTextStyleSheet::AddListStyle", XS_Wx__RichTextStyleSheet_AddListStyle, file);
15269 #endif
15270         newXS("Wx::RichTextStyleSheet::RemoveCharacterStyle", XS_Wx__RichTextStyleSheet_RemoveCharacterStyle, file);
15271         newXS("Wx::RichTextStyleSheet::RemoveParagraphStyle", XS_Wx__RichTextStyleSheet_RemoveParagraphStyle, file);
15272 #if XSubPPtmpAABX
15273         newXS("Wx::RichTextStyleSheet::RemoveListStyle", XS_Wx__RichTextStyleSheet_RemoveListStyle, file);
15274 #endif
15275 #if XSubPPtmpAABY
15276         newXS("Wx::RichTextStyleSheet::FindCharacterStyle", XS_Wx__RichTextStyleSheet_FindCharacterStyle, file);
15277         newXS("Wx::RichTextStyleSheet::FindParagraphStyle", XS_Wx__RichTextStyleSheet_FindParagraphStyle, file);
15278         newXS("Wx::RichTextStyleSheet::FindListStyle", XS_Wx__RichTextStyleSheet_FindListStyle, file);
15279 #endif
15280         newXS("Wx::RichTextStyleSheet::GetCharacterStyleCount", XS_Wx__RichTextStyleSheet_GetCharacterStyleCount, file);
15281         newXS("Wx::RichTextStyleSheet::GetParagraphStyleCount", XS_Wx__RichTextStyleSheet_GetParagraphStyleCount, file);
15282 #if XSubPPtmpAABZ
15283         newXS("Wx::RichTextStyleSheet::GetListStyleCount", XS_Wx__RichTextStyleSheet_GetListStyleCount, file);
15284 #endif
15285         newXS("Wx::RichTextStyleSheet::GetCharacterStyle", XS_Wx__RichTextStyleSheet_GetCharacterStyle, file);
15286         newXS("Wx::RichTextStyleSheet::GetParagraphStyle", XS_Wx__RichTextStyleSheet_GetParagraphStyle, file);
15287 #if XSubPPtmpAACA
15288         newXS("Wx::RichTextStyleSheet::GetListStyle", XS_Wx__RichTextStyleSheet_GetListStyle, file);
15289 #endif
15290         newXS("Wx::RichTextStyleSheet::DeleteStyles", XS_Wx__RichTextStyleSheet_DeleteStyles, file);
15291 #if XSubPPtmpAACB
15292         newXS("Wx::RichTextStyleSheet::InsertSheet", XS_Wx__RichTextStyleSheet_InsertSheet, file);
15293         newXS("Wx::RichTextStyleSheet::AppendSheet", XS_Wx__RichTextStyleSheet_AppendSheet, file);
15294         newXS("Wx::RichTextStyleSheet::Unlink", XS_Wx__RichTextStyleSheet_Unlink, file);
15295         newXS("Wx::RichTextStyleSheet::GetNextSheet", XS_Wx__RichTextStyleSheet_GetNextSheet, file);
15296         newXS("Wx::RichTextStyleSheet::SetNextSheet", XS_Wx__RichTextStyleSheet_SetNextSheet, file);
15297         newXS("Wx::RichTextStyleSheet::GetPreviousSheet", XS_Wx__RichTextStyleSheet_GetPreviousSheet, file);
15298         newXS("Wx::RichTextStyleSheet::SetPreviousSheet", XS_Wx__RichTextStyleSheet_SetPreviousSheet, file);
15299 #endif
15300 #if XSubPPtmpAACC
15301         newXS("Wx::RichTextStyleSheet::SetName", XS_Wx__RichTextStyleSheet_SetName, file);
15302         newXS("Wx::RichTextStyleSheet::GetName", XS_Wx__RichTextStyleSheet_GetName, file);
15303         newXS("Wx::RichTextStyleSheet::SetDescription", XS_Wx__RichTextStyleSheet_SetDescription, file);
15304         newXS("Wx::RichTextStyleSheet::GetDescription", XS_Wx__RichTextStyleSheet_GetDescription, file);
15305 #endif
15306 #if XSubPPtmpAACD
15307         newXS("Wx::RichTextStyleListBox::newDefault", XS_Wx__RichTextStyleListBox_newDefault, file);
15308 #endif
15309         newXS("Wx::RichTextStyleListBox::newFull", XS_Wx__RichTextStyleListBox_newFull, file);
15310         newXS("Wx::RichTextStyleListBox::new", XS_Wx__RichTextStyleListBox_new, file);
15311         newXS("Wx::RichTextStyleListBox::Create", XS_Wx__RichTextStyleListBox_Create, file);
15312         newXS("Wx::RichTextStyleListBox::SetStyleSheet", XS_Wx__RichTextStyleListBox_SetStyleSheet, file);
15313         newXS("Wx::RichTextStyleListBox::GetStyleSheet", XS_Wx__RichTextStyleListBox_GetStyleSheet, file);
15314         newXS("Wx::RichTextStyleListBox::SetRichTextCtrl", XS_Wx__RichTextStyleListBox_SetRichTextCtrl, file);
15315         newXS("Wx::RichTextStyleListBox::GetRichTextCtrl", XS_Wx__RichTextStyleListBox_GetRichTextCtrl, file);
15316         newXS("Wx::RichTextStyleListBox::GetStyle", XS_Wx__RichTextStyleListBox_GetStyle, file);
15317 #if XSubPPtmpAACE
15318         newXS("Wx::RichTextStyleListBox::GetIndexForStyle", XS_Wx__RichTextStyleListBox_GetIndexForStyle, file);
15319         newXS("Wx::RichTextStyleListBox::SetStyleSelection", XS_Wx__RichTextStyleListBox_SetStyleSelection, file);
15320 #endif
15321         newXS("Wx::RichTextStyleListBox::UpdateStyles", XS_Wx__RichTextStyleListBox_UpdateStyles, file);
15322 #if XSubPPtmpAACF
15323         newXS("Wx::RichTextStyleListBox::ApplyStyle", XS_Wx__RichTextStyleListBox_ApplyStyle, file);
15324         newXS("Wx::RichTextStyleListBox::SetApplyOnSelection", XS_Wx__RichTextStyleListBox_SetApplyOnSelection, file);
15325         newXS("Wx::RichTextStyleListBox::GetApplyOnSelection", XS_Wx__RichTextStyleListBox_GetApplyOnSelection, file);
15326 #endif
15327 #if XSubPPtmpAACG
15328         newXS("Wx::RichTextStyleListBox::SetStyleType", XS_Wx__RichTextStyleListBox_SetStyleType, file);
15329         newXS("Wx::RichTextStyleListBox::GetStyleType", XS_Wx__RichTextStyleListBox_GetStyleType, file);
15330 #endif
15331         newXS("Wx::RichTextStyleListBox::ConvertTenthsMMToPixels", XS_Wx__RichTextStyleListBox_ConvertTenthsMMToPixels, file);
15332         newXS("Wx::RichTextStyleListBox::CreateHTML", XS_Wx__RichTextStyleListBox_CreateHTML, file);
15333 #if XSubPPtmpAACH
15334         newXS("Wx::RichTextStyleListCtrl::newDefault", XS_Wx__RichTextStyleListCtrl_newDefault, file);
15335         newXS("Wx::RichTextStyleListCtrl::newFull", XS_Wx__RichTextStyleListCtrl_newFull, file);
15336         newXS("Wx::RichTextStyleListCtrl::new", XS_Wx__RichTextStyleListCtrl_new, file);
15337         newXS("Wx::RichTextStyleListCtrl::Create", XS_Wx__RichTextStyleListCtrl_Create, file);
15338         newXS("Wx::RichTextStyleListCtrl::SetStyleSheet", XS_Wx__RichTextStyleListCtrl_SetStyleSheet, file);
15339         newXS("Wx::RichTextStyleListCtrl::GetStyleSheet", XS_Wx__RichTextStyleListCtrl_GetStyleSheet, file);
15340         newXS("Wx::RichTextStyleListCtrl::SetRichTextCtrl", XS_Wx__RichTextStyleListCtrl_SetRichTextCtrl, file);
15341         newXS("Wx::RichTextStyleListCtrl::GetRichTextCtrl", XS_Wx__RichTextStyleListCtrl_GetRichTextCtrl, file);
15342         newXS("Wx::RichTextStyleListCtrl::UpdateStyles", XS_Wx__RichTextStyleListCtrl_UpdateStyles, file);
15343         newXS("Wx::RichTextStyleListCtrl::SetStyleType", XS_Wx__RichTextStyleListCtrl_SetStyleType, file);
15344         newXS("Wx::RichTextStyleListCtrl::GetStyleType", XS_Wx__RichTextStyleListCtrl_GetStyleType, file);
15345         newXS("Wx::RichTextStyleListCtrl::StyleTypeToIndex", XS_Wx__RichTextStyleListCtrl_StyleTypeToIndex, file);
15346         newXS("Wx::RichTextStyleListCtrl::StyleIndexToType", XS_Wx__RichTextStyleListCtrl_StyleIndexToType, file);
15347         newXS("Wx::RichTextStyleListCtrl::GetStyleListBox", XS_Wx__RichTextStyleListCtrl_GetStyleListBox, file);
15348         newXS("Wx::RichTextStyleListCtrl::GetStyleChoice", XS_Wx__RichTextStyleListCtrl_GetStyleChoice, file);
15349 #endif
15350 #if XSubPPtmpAACI
15351         newXS("Wx::RichTextStyleComboCtrl::newDefault", XS_Wx__RichTextStyleComboCtrl_newDefault, file);
15352         newXS("Wx::RichTextStyleComboCtrl::newFull", XS_Wx__RichTextStyleComboCtrl_newFull, file);
15353         newXS("Wx::RichTextStyleComboCtrl::new", XS_Wx__RichTextStyleComboCtrl_new, file);
15354         newXS("Wx::RichTextStyleComboCtrl::Create", XS_Wx__RichTextStyleComboCtrl_Create, file);
15355         newXS("Wx::RichTextStyleComboCtrl::UpdateStyles", XS_Wx__RichTextStyleComboCtrl_UpdateStyles, file);
15356         newXS("Wx::RichTextStyleComboCtrl::SetStyleSheet", XS_Wx__RichTextStyleComboCtrl_SetStyleSheet, file);
15357         newXS("Wx::RichTextStyleComboCtrl::GetStyleSheet", XS_Wx__RichTextStyleComboCtrl_GetStyleSheet, file);
15358         newXS("Wx::RichTextStyleComboCtrl::SetRichTextCtrl", XS_Wx__RichTextStyleComboCtrl_SetRichTextCtrl, file);
15359         newXS("Wx::RichTextStyleComboCtrl::GetRichTextCtrl", XS_Wx__RichTextStyleComboCtrl_GetRichTextCtrl, file);
15360 #endif
15361         newXS("Wx::RichTextFormattingDialog::newDefault", XS_Wx__RichTextFormattingDialog_newDefault, file);
15362         newXS("Wx::RichTextFormattingDialog::newFull", XS_Wx__RichTextFormattingDialog_newFull, file);
15363         newXS("Wx::RichTextFormattingDialog::new", XS_Wx__RichTextFormattingDialog_new, file);
15364         newXS("Wx::RichTextFormattingDialog::Create", XS_Wx__RichTextFormattingDialog_Create, file);
15365         newXS("Wx::RichTextFormattingDialog::GetStyle", XS_Wx__RichTextFormattingDialog_GetStyle, file);
15366         newXS("Wx::RichTextFormattingDialog::SetStyle", XS_Wx__RichTextFormattingDialog_SetStyle, file);
15367         newXS("Wx::RichTextFormattingDialog::SetStyleDefinition", XS_Wx__RichTextFormattingDialog_SetStyleDefinition, file);
15368         newXS("Wx::RichTextFormattingDialog::GetStyleDefinition", XS_Wx__RichTextFormattingDialog_GetStyleDefinition, file);
15369         newXS("Wx::RichTextFormattingDialog::GetDialogStyleDefinition", XS_Wx__RichTextFormattingDialog_GetDialogStyleDefinition, file);
15370         newXS("Wx::RichTextFormattingDialog::GetStyleSheet", XS_Wx__RichTextFormattingDialog_GetStyleSheet, file);
15371         newXS("Wx::RichTextFormattingDialog::UpdateDisplay", XS_Wx__RichTextFormattingDialog_UpdateDisplay, file);
15372         newXS("Wx::RichTextFormattingDialog::ApplyStyle", XS_Wx__RichTextFormattingDialog_ApplyStyle, file);
15373         newXS("Wx::RichTextFormattingDialog::GetAttributes", XS_Wx__RichTextFormattingDialog_GetAttributes, file);
15374         newXS("Wx::RichTextFormattingDialog::SetAttributes", XS_Wx__RichTextFormattingDialog_SetAttributes, file);
15375         newXS("Wx::RichTextFormattingDialog::SetImageList", XS_Wx__RichTextFormattingDialog_SetImageList, file);
15376         newXS("Wx::RichTextFormattingDialog::GetImageList", XS_Wx__RichTextFormattingDialog_GetImageList, file);
15377         newXS("Wx::RichTextFormattingDialog::ShowToolTips", XS_Wx__RichTextFormattingDialog_ShowToolTips, file);
15378         newXS("Wx::RichTextFormattingDialog::SetShowToolTips", XS_Wx__RichTextFormattingDialog_SetShowToolTips, file);
15379         newXS("Wx::RichTextFormattingDialog::AddPageId", XS_Wx__RichTextFormattingDialog_AddPageId, file);
15380         newXS("Wx::RichTextFileHandler::CanHandle", XS_Wx__RichTextFileHandler_CanHandle, file);
15381         newXS("Wx::RichTextFileHandler::CanLoad", XS_Wx__RichTextFileHandler_CanLoad, file);
15382         newXS("Wx::RichTextFileHandler::CanSave", XS_Wx__RichTextFileHandler_CanSave, file);
15383         newXS("Wx::RichTextFileHandler::LoadFile", XS_Wx__RichTextFileHandler_LoadFile, file);
15384         newXS("Wx::RichTextFileHandler::SaveFile", XS_Wx__RichTextFileHandler_SaveFile, file);
15385         newXS("Wx::RichTextFileHandler::SetName", XS_Wx__RichTextFileHandler_SetName, file);
15386         newXS("Wx::RichTextFileHandler::GetName", XS_Wx__RichTextFileHandler_GetName, file);
15387         newXS("Wx::RichTextFileHandler::SetExtension", XS_Wx__RichTextFileHandler_SetExtension, file);
15388         newXS("Wx::RichTextFileHandler::GetExtension", XS_Wx__RichTextFileHandler_GetExtension, file);
15389         newXS("Wx::RichTextFileHandler::SetType", XS_Wx__RichTextFileHandler_SetType, file);
15390         newXS("Wx::RichTextFileHandler::GetType", XS_Wx__RichTextFileHandler_GetType, file);
15391         newXS("Wx::RichTextFileHandler::SetEncoding", XS_Wx__RichTextFileHandler_SetEncoding, file);
15392         newXS("Wx::RichTextFileHandler::GetEncoding", XS_Wx__RichTextFileHandler_GetEncoding, file);
15393         newXS("Wx::RichTextFileHandler::IsVisible", XS_Wx__RichTextFileHandler_IsVisible, file);
15394         newXS("Wx::RichTextFileHandler::SetVisible", XS_Wx__RichTextFileHandler_SetVisible, file);
15395         newXS("Wx::PlRichTextFileHandler::new", XS_Wx__PlRichTextFileHandler_new, file);
15396         newXS("Wx::PlRichTextFileHandler::CanHandle", XS_Wx__PlRichTextFileHandler_CanHandle, file);
15397         newXS("Wx::PlRichTextFileHandler::CanLoad", XS_Wx__PlRichTextFileHandler_CanLoad, file);
15398         newXS("Wx::PlRichTextFileHandler::CanSave", XS_Wx__PlRichTextFileHandler_CanSave, file);
15399         newXS("Wx::RichTextXMLHandler::new", XS_Wx__RichTextXMLHandler_new, file);
15400 #if XSubPPtmpAACJ
15401         newXS("Wx::RichTextHTMLHandler::new", XS_Wx__RichTextHTMLHandler_new, file);
15402         newXS("Wx::RichTextHTMLHandler::ClearTemporaryImageLocations", XS_Wx__RichTextHTMLHandler_ClearTemporaryImageLocations, file);
15403         newXS("Wx::RichTextHTMLHandler::DeleteTemporaryImages", XS_Wx__RichTextHTMLHandler_DeleteTemporaryImages, file);
15404         newXS("Wx::RichTextHTMLHandler::GetFontSizeMapping", XS_Wx__RichTextHTMLHandler_GetFontSizeMapping, file);
15405         newXS("Wx::RichTextHTMLHandler::GetTemporaryImageLocations", XS_Wx__RichTextHTMLHandler_GetTemporaryImageLocations, file);
15406         newXS("Wx::RichTextHTMLHandler::GetTempDir", XS_Wx__RichTextHTMLHandler_GetTempDir, file);
15407         newXS("Wx::RichTextHTMLHandler::SetFileCounter", XS_Wx__RichTextHTMLHandler_SetFileCounter, file);
15408         newXS("Wx::RichTextHTMLHandler::SetFontSizeMapping", XS_Wx__RichTextHTMLHandler_SetFontSizeMapping, file);
15409         newXS("Wx::RichTextHTMLHandler::SetTempDir", XS_Wx__RichTextHTMLHandler_SetTempDir, file);
15410         newXS("Wx::RichTextHTMLHandler::SetTemporaryImageLocations", XS_Wx__RichTextHTMLHandler_SetTemporaryImageLocations, file);
15411 #endif
15412         newXS("Wx::RichTextBuffer::AddEventHandler", XS_Wx__RichTextBuffer_AddEventHandler, file);
15413         newXS("Wx::RichTextBuffer::AddHandler", XS_Wx__RichTextBuffer_AddHandler, file);
15414 #if XSubPPtmpAACK
15415         newXS("Wx::RichTextBuffer::SetStyleRange", XS_Wx__RichTextBuffer_SetStyleRange, file);
15416         newXS("Wx::RichTextBuffer::SetStyleExRange", XS_Wx__RichTextBuffer_SetStyleExRange, file);
15417         newXS("Wx::RichTextBuffer::SetStyle", XS_Wx__RichTextBuffer_SetStyle, file);
15418 #endif
15419         newXS("Wx::RichTextBuffer::InsertTextWithUndo", XS_Wx__RichTextBuffer_InsertTextWithUndo, file);
15420         newXS("Wx::RichTextBuffer::InsertNewlineWithUndo", XS_Wx__RichTextBuffer_InsertNewlineWithUndo, file);
15421         newXS("Wx::RichTextBuffer::GetBasicStyle", XS_Wx__RichTextBuffer_GetBasicStyle, file);
15422         newXS("Wx::RichTextBuffer::GetDefaultStyle", XS_Wx__RichTextBuffer_GetDefaultStyle, file);
15423         newXS("Wx::RichTextBuffer::BeginStyle", XS_Wx__RichTextBuffer_BeginStyle, file);
15424         newXS("Wx::RichTextBuffer::EndStyle", XS_Wx__RichTextBuffer_EndStyle, file);
15425         newXS("Wx::RichTextBuffer::EndAllStyles", XS_Wx__RichTextBuffer_EndAllStyles, file);
15426         newXS("Wx::RichTextBuffer::BeginBold", XS_Wx__RichTextBuffer_BeginBold, file);
15427         newXS("Wx::RichTextBuffer::EndBold", XS_Wx__RichTextBuffer_EndBold, file);
15428         newXS("Wx::RichTextBuffer::BeginItalic", XS_Wx__RichTextBuffer_BeginItalic, file);
15429         newXS("Wx::RichTextBuffer::EndItalic", XS_Wx__RichTextBuffer_EndItalic, file);
15430         newXS("Wx::RichTextBuffer::BeginUnderline", XS_Wx__RichTextBuffer_BeginUnderline, file);
15431         newXS("Wx::RichTextBuffer::EndUnderline", XS_Wx__RichTextBuffer_EndUnderline, file);
15432         newXS("Wx::RichTextBuffer::BeginFontSize", XS_Wx__RichTextBuffer_BeginFontSize, file);
15433         newXS("Wx::RichTextBuffer::EndFontSize", XS_Wx__RichTextBuffer_EndFontSize, file);
15434         newXS("Wx::RichTextBuffer::BeginFont", XS_Wx__RichTextBuffer_BeginFont, file);
15435         newXS("Wx::RichTextBuffer::EndFont", XS_Wx__RichTextBuffer_EndFont, file);
15436         newXS("Wx::RichTextBuffer::BeginTextColour", XS_Wx__RichTextBuffer_BeginTextColour, file);
15437         newXS("Wx::RichTextBuffer::EndTextColour", XS_Wx__RichTextBuffer_EndTextColour, file);
15438         newXS("Wx::RichTextBuffer::BeginAlignment", XS_Wx__RichTextBuffer_BeginAlignment, file);
15439         newXS("Wx::RichTextBuffer::EndAlignment", XS_Wx__RichTextBuffer_EndAlignment, file);
15440         newXS("Wx::RichTextBuffer::BeginLeftIndent", XS_Wx__RichTextBuffer_BeginLeftIndent, file);
15441         newXS("Wx::RichTextBuffer::EndLeftIndent", XS_Wx__RichTextBuffer_EndLeftIndent, file);
15442         newXS("Wx::RichTextBuffer::BeginRightIndent", XS_Wx__RichTextBuffer_BeginRightIndent, file);
15443         newXS("Wx::RichTextBuffer::EndRightIndent", XS_Wx__RichTextBuffer_EndRightIndent, file);
15444         newXS("Wx::RichTextBuffer::BeginParagraphSpacing", XS_Wx__RichTextBuffer_BeginParagraphSpacing, file);
15445         newXS("Wx::RichTextBuffer::EndParagraphSpacing", XS_Wx__RichTextBuffer_EndParagraphSpacing, file);
15446         newXS("Wx::RichTextBuffer::BeginLineSpacing", XS_Wx__RichTextBuffer_BeginLineSpacing, file);
15447         newXS("Wx::RichTextBuffer::EndLineSpacing", XS_Wx__RichTextBuffer_EndLineSpacing, file);
15448         newXS("Wx::RichTextBuffer::BeginNumberedBullet", XS_Wx__RichTextBuffer_BeginNumberedBullet, file);
15449         newXS("Wx::RichTextBuffer::EndNumberedBullet", XS_Wx__RichTextBuffer_EndNumberedBullet, file);
15450 #if XSubPPtmpAACL
15451         newXS("Wx::RichTextBuffer::BeginSymbolBullet", XS_Wx__RichTextBuffer_BeginSymbolBullet, file);
15452 #endif
15453 #if XSubPPtmpAACM
15454         newXS("Wx::RichTextBuffer::BeginSymbolBullet", XS_Wx__RichTextBuffer_BeginSymbolBullet, file);
15455 #endif
15456         newXS("Wx::RichTextBuffer::EndSymbolBullet", XS_Wx__RichTextBuffer_EndSymbolBullet, file);
15457 #if XSubPPtmpAACN
15458         newXS("Wx::RichTextBuffer::BeginStandardBullet", XS_Wx__RichTextBuffer_BeginStandardBullet, file);
15459         newXS("Wx::RichTextBuffer::EndStandardBullet", XS_Wx__RichTextBuffer_EndStandardBullet, file);
15460 #endif
15461         newXS("Wx::RichTextBuffer::BeginCharacterStyle", XS_Wx__RichTextBuffer_BeginCharacterStyle, file);
15462         newXS("Wx::RichTextBuffer::EndCharacterStyle", XS_Wx__RichTextBuffer_EndCharacterStyle, file);
15463         newXS("Wx::RichTextBuffer::BeginParagraphStyle", XS_Wx__RichTextBuffer_BeginParagraphStyle, file);
15464         newXS("Wx::RichTextBuffer::EndParagraphStyle", XS_Wx__RichTextBuffer_EndParagraphStyle, file);
15465 #if XSubPPtmpAACO
15466         newXS("Wx::RichTextBuffer::BeginListStyle", XS_Wx__RichTextBuffer_BeginListStyle, file);
15467         newXS("Wx::RichTextBuffer::EndListStyle", XS_Wx__RichTextBuffer_EndListStyle, file);
15468         newXS("Wx::RichTextBuffer::BeginURL", XS_Wx__RichTextBuffer_BeginURL, file);
15469         newXS("Wx::RichTextBuffer::EndURL", XS_Wx__RichTextBuffer_EndURL, file);
15470 #endif
15471 #if XSubPPtmpAACP
15472         newXS("Wx::RichTextBuffer::ClearListStyle", XS_Wx__RichTextBuffer_ClearListStyle, file);
15473 #endif
15474         newXS("Wx::RichTextBuffer::AddParagraph", XS_Wx__RichTextBuffer_AddParagraph, file);
15475         newXS("Wx::RichTextBuffer::AddImage", XS_Wx__RichTextBuffer_AddImage, file);
15476         newXS("Wx::RichTextBuffer::BeginBatchUndo", XS_Wx__RichTextBuffer_BeginBatchUndo, file);
15477         newXS("Wx::RichTextBuffer::EndBatchUndo", XS_Wx__RichTextBuffer_EndBatchUndo, file);
15478         newXS("Wx::RichTextBuffer::BatchingUndo", XS_Wx__RichTextBuffer_BatchingUndo, file);
15479         newXS("Wx::RichTextBuffer::BeginSuppressUndo", XS_Wx__RichTextBuffer_BeginSuppressUndo, file);
15480         newXS("Wx::RichTextBuffer::EndSuppressUndo", XS_Wx__RichTextBuffer_EndSuppressUndo, file);
15481         newXS("Wx::RichTextBuffer::SuppressingUndo", XS_Wx__RichTextBuffer_SuppressingUndo, file);
15482         newXS("Wx::RichTextBuffer::SetStyleSheet", XS_Wx__RichTextBuffer_SetStyleSheet, file);
15483         newXS("Wx::RichTextBuffer::GetStyleSheet", XS_Wx__RichTextBuffer_GetStyleSheet, file);
15484 #if XSubPPtmpAACQ
15485         newXS("Wx::RichTextBuffer::PushStyleSheet", XS_Wx__RichTextBuffer_PushStyleSheet, file);
15486         newXS("Wx::RichTextBuffer::PopStyleSheet", XS_Wx__RichTextBuffer_PopStyleSheet, file);
15487 #endif
15488         newXS("Wx::RichTextBuffer::SetBasicStyleRich", XS_Wx__RichTextBuffer_SetBasicStyleRich, file);
15489         newXS("Wx::RichTextBuffer::SetBasicStyleEx", XS_Wx__RichTextBuffer_SetBasicStyleEx, file);
15490         newXS("Wx::RichTextBuffer::SetBasicStyle", XS_Wx__RichTextBuffer_SetBasicStyle, file);
15491         newXS("Wx::RichTextBuffer::GetRichTextAttrStyle", XS_Wx__RichTextBuffer_GetRichTextAttrStyle, file);
15492         newXS("Wx::RichTextBuffer::GetTextAttrExStyle", XS_Wx__RichTextBuffer_GetTextAttrExStyle, file);
15493 #if XSubPPtmpAACR
15494         newXS("Wx::RichTextBuffer::GetRichTextAttrUncombinedStyle", XS_Wx__RichTextBuffer_GetRichTextAttrUncombinedStyle, file);
15495         newXS("Wx::RichTextBuffer::GetTextAttrExUncombinedStyle", XS_Wx__RichTextBuffer_GetTextAttrExUncombinedStyle, file);
15496 #endif
15497 #if XSubPPtmpAACS
15498         newXS("Wx::RichTextBuffer::GetRichTextAttrStyleForRange", XS_Wx__RichTextBuffer_GetRichTextAttrStyleForRange, file);
15499         newXS("Wx::RichTextBuffer::GetTextAttrExStyleForRange", XS_Wx__RichTextBuffer_GetTextAttrExStyleForRange, file);
15500 #endif
15501         newXS("Wx::SymbolPickerDialog::new", XS_Wx__SymbolPickerDialog_new, file);
15502         newXS("Wx::SymbolPickerDialog::newDefault", XS_Wx__SymbolPickerDialog_newDefault, file);
15503         newXS("Wx::SymbolPickerDialog::newFull", XS_Wx__SymbolPickerDialog_newFull, file);
15504         newXS("Wx::SymbolPickerDialog::Create", XS_Wx__SymbolPickerDialog_Create, file);
15505         newXS("Wx::SymbolPickerDialog::SetUnicodeMode", XS_Wx__SymbolPickerDialog_SetUnicodeMode, file);
15506         newXS("Wx::SymbolPickerDialog::GetSymbolChar", XS_Wx__SymbolPickerDialog_GetSymbolChar, file);
15507         newXS("Wx::SymbolPickerDialog::HasSelection", XS_Wx__SymbolPickerDialog_HasSelection, file);
15508         newXS("Wx::SymbolPickerDialog::UseNormalFont", XS_Wx__SymbolPickerDialog_UseNormalFont, file);
15509         newXS("Wx::SymbolPickerDialog::GetFontName", XS_Wx__SymbolPickerDialog_GetFontName, file);
15510         newXS("Wx::SymbolPickerDialog::SetFontName", XS_Wx__SymbolPickerDialog_SetFontName, file);
15511         newXS("Wx::SymbolPickerDialog::GetSymbol", XS_Wx__SymbolPickerDialog_GetSymbol, file);
15512         newXS("Wx::SymbolPickerDialog::SetSymbol", XS_Wx__SymbolPickerDialog_SetSymbol, file);
15513         newXS("Wx::SymbolPickerDialog::GetFromUnicode", XS_Wx__SymbolPickerDialog_GetFromUnicode, file);
15514         newXS("Wx::SymbolPickerDialog::SetFromUnicode", XS_Wx__SymbolPickerDialog_SetFromUnicode, file);
15515         newXS("Wx::SymbolPickerDialog::GetNormalTextFontName", XS_Wx__SymbolPickerDialog_GetNormalTextFontName, file);
15516         newXS("Wx::SymbolPickerDialog::SetNormalTextFontName", XS_Wx__SymbolPickerDialog_SetNormalTextFontName, file);
15517         newXS("Wx::RichTextStyleOrganiserDialog::new", XS_Wx__RichTextStyleOrganiserDialog_new, file);
15518         newXS("Wx::RichTextStyleOrganiserDialog::newDefault", XS_Wx__RichTextStyleOrganiserDialog_newDefault, file);
15519         newXS("Wx::RichTextStyleOrganiserDialog::newFull", XS_Wx__RichTextStyleOrganiserDialog_newFull, file);
15520         newXS("Wx::RichTextStyleOrganiserDialog::Create", XS_Wx__RichTextStyleOrganiserDialog_Create, file);
15521         newXS("Wx::RichTextStyleOrganiserDialog::SetStyleSheet", XS_Wx__RichTextStyleOrganiserDialog_SetStyleSheet, file);
15522         newXS("Wx::RichTextStyleOrganiserDialog::GetStyleSheet", XS_Wx__RichTextStyleOrganiserDialog_GetStyleSheet, file);
15523         newXS("Wx::RichTextStyleOrganiserDialog::SetRichTextCtrl", XS_Wx__RichTextStyleOrganiserDialog_SetRichTextCtrl, file);
15524         newXS("Wx::RichTextStyleOrganiserDialog::GetRichTextCtrl", XS_Wx__RichTextStyleOrganiserDialog_GetRichTextCtrl, file);
15525         newXS("Wx::RichTextStyleOrganiserDialog::SetFlags", XS_Wx__RichTextStyleOrganiserDialog_SetFlags, file);
15526         newXS("Wx::RichTextStyleOrganiserDialog::GetFlags", XS_Wx__RichTextStyleOrganiserDialog_GetFlags, file);
15527         newXS("Wx::RichTextStyleOrganiserDialog::GetRestartNumbering", XS_Wx__RichTextStyleOrganiserDialog_GetRestartNumbering, file);
15528         newXS("Wx::RichTextStyleOrganiserDialog::SetRestartNumbering", XS_Wx__RichTextStyleOrganiserDialog_SetRestartNumbering, file);
15529         newXS("Wx::RichTextStyleOrganiserDialog::GetSelectedStyle", XS_Wx__RichTextStyleOrganiserDialog_GetSelectedStyle, file);
15530         newXS("Wx::RichTextStyleOrganiserDialog::GetSelectedStyleDefinition", XS_Wx__RichTextStyleOrganiserDialog_GetSelectedStyleDefinition, file);
15531         newXS("Wx::RichTextStyleOrganiserDialog::ApplyStyle", XS_Wx__RichTextStyleOrganiserDialog_ApplyStyle, file);
15532         newXS("Wx::RichTextStyleOrganiserDialog::ShowToolTips", XS_Wx__RichTextStyleOrganiserDialog_ShowToolTips, file);
15533         newXS("Wx::RichTextStyleOrganiserDialog::SetShowToolTips", XS_Wx__RichTextStyleOrganiserDialog_SetShowToolTips, file);
15534         newXS("Wx::RichText::SetEvents", XS_Wx__RichText_SetEvents, file);
15535
15536     /* Initialisation Section */
15537
15538   INIT_PLI_HELPERS( wx_pli_helpers );
15539
15540 #if XSubPPtmpAAAA
15541 #endif
15542 #if XSubPPtmpAAAB
15543 #endif
15544 #if XSubPPtmpAAAC
15545 #endif
15546 #if XSubPPtmpAAAD
15547 #endif
15548 #if XSubPPtmpAAAE
15549 #endif
15550 #if XSubPPtmpAAAF
15551 #endif
15552 #if XSubPPtmpAAAG
15553 #endif
15554 #if XSubPPtmpAAAH
15555 #endif
15556 #if XSubPPtmpAAAI
15557 #endif
15558 #if XSubPPtmpAAAJ
15559 #endif
15560 #if XSubPPtmpAAAK
15561 #endif
15562 #if XSubPPtmpAAAL
15563 #endif
15564 #if XSubPPtmpAAAM
15565 #endif
15566 #if XSubPPtmpAAAN
15567 #endif
15568 #if XSubPPtmpAAAO
15569 #endif
15570 #if XSubPPtmpAAAP
15571 #endif
15572 #if XSubPPtmpAAAQ
15573 #endif
15574 #if XSubPPtmpAAAR
15575 #endif
15576 #if XSubPPtmpAAAS
15577 #endif
15578 #if XSubPPtmpAAAT
15579 #endif
15580 #if XSubPPtmpAAAU
15581 #endif
15582 #if XSubPPtmpAAAV
15583 #endif
15584 #if XSubPPtmpAAAW
15585 #endif
15586 #if XSubPPtmpAAAX
15587 #endif
15588 #if XSubPPtmpAAAY
15589 #endif
15590 #if XSubPPtmpAAAZ
15591 #endif
15592 #if XSubPPtmpAABA
15593 #endif
15594 #if XSubPPtmpAABB
15595 #endif
15596 #if XSubPPtmpAABC
15597 #endif
15598 #if XSubPPtmpAABD
15599 #endif
15600 #if XSubPPtmpAABE
15601 #endif
15602 #if XSubPPtmpAABF
15603 #endif
15604 #if XSubPPtmpAABG
15605 #endif
15606 #if XSubPPtmpAABH
15607 #endif
15608 #if XSubPPtmpAABI
15609 #endif
15610 #if XSubPPtmpAABJ
15611 #endif
15612 #if XSubPPtmpAABK
15613 #endif
15614 #if XSubPPtmpAABL
15615 #endif
15616 #if XSubPPtmpAABM
15617 #endif
15618 #if XSubPPtmpAABN
15619 #endif
15620 #if XSubPPtmpAABO
15621 #endif
15622 #if XSubPPtmpAABP
15623 #endif
15624 #if XSubPPtmpAABQ
15625 #endif
15626 #if XSubPPtmpAABR
15627 #endif
15628 #if XSubPPtmpAABS
15629 #endif
15630 #if XSubPPtmpAABT
15631 #endif
15632 #if XSubPPtmpAABU
15633 #endif
15634 #if XSubPPtmpAABV
15635 #endif
15636 #if XSubPPtmpAABW
15637 #endif
15638 #if XSubPPtmpAABX
15639 #endif
15640 #if XSubPPtmpAABY
15641 #endif
15642 #if XSubPPtmpAABZ
15643 #endif
15644 #if XSubPPtmpAACA
15645 #endif
15646 #if XSubPPtmpAACB
15647 #endif
15648 #if XSubPPtmpAACC
15649 #endif
15650 #if XSubPPtmpAACD
15651 #endif
15652 #if XSubPPtmpAACE
15653 #endif
15654 #if XSubPPtmpAACF
15655 #endif
15656 #if XSubPPtmpAACG
15657 #endif
15658 #if XSubPPtmpAACH
15659 #endif
15660 #if XSubPPtmpAACI
15661 #endif
15662 #if XSubPPtmpAACJ
15663 #endif
15664 #if XSubPPtmpAACK
15665 #endif
15666 #if XSubPPtmpAACL
15667 #endif
15668 #if XSubPPtmpAACM
15669 #endif
15670 #if XSubPPtmpAACN
15671 #endif
15672 #if XSubPPtmpAACO
15673 #endif
15674 #if XSubPPtmpAACP
15675 #endif
15676 #if XSubPPtmpAACQ
15677 #endif
15678 #if XSubPPtmpAACR
15679 #endif
15680 #if XSubPPtmpAACS
15681 #endif
15682
15683     /* End of Initialisation Section */
15684
15685 #if (PERL_REVISION == 5 && PERL_VERSION >= 9)
15686   if (PL_unitcheckav)
15687        call_list(PL_scopestack_ix, PL_unitcheckav);
15688 #endif
15689     XSRETURN_YES;
15690 }
15691