4512
SWIGINTERN PyObject *_wrap_RichTextAttr_GetTextColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4513
PyObject *resultobj = 0;
4514
wxRichTextAttr *arg1 = (wxRichTextAttr *) 0 ;
4515
wxColour *result = 0 ;
4518
PyObject *swig_obj[1] ;
4520
if (!args) SWIG_fail;
4522
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextAttr, 0 | 0 );
4523
if (!SWIG_IsOK(res1)) {
4524
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextAttr_GetTextColour" "', expected argument " "1"" of type '" "wxRichTextAttr const *""'");
4526
arg1 = reinterpret_cast< wxRichTextAttr * >(argp1);
4528
PyThreadState* __tstate = wxPyBeginAllowThreads();
4530
wxColour const &_result_ref = ((wxRichTextAttr const *)arg1)->GetTextColour();
4531
result = (wxColour *) &_result_ref;
4533
wxPyEndAllowThreads(__tstate);
4534
if (PyErr_Occurred()) SWIG_fail;
4536
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxColour, 0 | 0 );
4543
SWIGINTERN PyObject *_wrap_RichTextAttr_GetBackgroundColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4544
PyObject *resultobj = 0;
4545
wxRichTextAttr *arg1 = (wxRichTextAttr *) 0 ;
4546
wxColour *result = 0 ;
4549
PyObject *swig_obj[1] ;
4551
if (!args) SWIG_fail;
4553
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextAttr, 0 | 0 );
4554
if (!SWIG_IsOK(res1)) {
4555
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextAttr_GetBackgroundColour" "', expected argument " "1"" of type '" "wxRichTextAttr const *""'");
4557
arg1 = reinterpret_cast< wxRichTextAttr * >(argp1);
4559
PyThreadState* __tstate = wxPyBeginAllowThreads();
4561
wxColour const &_result_ref = ((wxRichTextAttr const *)arg1)->GetBackgroundColour();
4562
result = (wxColour *) &_result_ref;
4564
wxPyEndAllowThreads(__tstate);
4565
if (PyErr_Occurred()) SWIG_fail;
4567
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxColour, 0 | 0 );
4574
SWIGINTERN PyObject *_wrap_RichTextAttr_GetAlignment(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4575
PyObject *resultobj = 0;
4576
wxRichTextAttr *arg1 = (wxRichTextAttr *) 0 ;
4577
wxTextAttrAlignment result;
4580
PyObject *swig_obj[1] ;
4582
if (!args) SWIG_fail;
4584
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextAttr, 0 | 0 );
4585
if (!SWIG_IsOK(res1)) {
4586
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextAttr_GetAlignment" "', expected argument " "1"" of type '" "wxRichTextAttr const *""'");
4588
arg1 = reinterpret_cast< wxRichTextAttr * >(argp1);
4590
PyThreadState* __tstate = wxPyBeginAllowThreads();
4591
result = (wxTextAttrAlignment)((wxRichTextAttr const *)arg1)->GetAlignment();
4592
wxPyEndAllowThreads(__tstate);
4593
if (PyErr_Occurred()) SWIG_fail;
4595
resultobj = SWIG_From_int(static_cast< int >(result));
4602
SWIGINTERN PyObject *_wrap_RichTextAttr_GetTabs(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4603
PyObject *resultobj = 0;
4604
wxRichTextAttr *arg1 = (wxRichTextAttr *) 0 ;
5202
SWIGINTERN PyObject *_wrap_TextAttrEx_SetURL(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5203
PyObject *resultobj = 0;
5204
wxTextAttrEx *arg1 = (wxTextAttrEx *) 0 ;
5205
wxString *arg2 = 0 ;
5208
bool temp2 = false ;
5209
PyObject * obj0 = 0 ;
5210
PyObject * obj1 = 0 ;
5211
char * kwnames[] = {
5212
(char *) "self",(char *) "url", NULL
5215
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttrEx_SetURL",kwnames,&obj0,&obj1)) SWIG_fail;
5216
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextAttrEx, 0 | 0 );
5217
if (!SWIG_IsOK(res1)) {
5218
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttrEx_SetURL" "', expected argument " "1"" of type '" "wxTextAttrEx *""'");
5220
arg1 = reinterpret_cast< wxTextAttrEx * >(argp1);
5222
arg2 = wxString_in_helper(obj1);
5223
if (arg2 == NULL) SWIG_fail;
5227
PyThreadState* __tstate = wxPyBeginAllowThreads();
5228
(arg1)->SetURL((wxString const &)*arg2);
5229
wxPyEndAllowThreads(__tstate);
5230
if (PyErr_Occurred()) SWIG_fail;
5232
resultobj = SWIG_Py_Void();
5247
SWIGINTERN PyObject *_wrap_TextAttrEx_SetPageBreak(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5248
PyObject *resultobj = 0;
5249
wxTextAttrEx *arg1 = (wxTextAttrEx *) 0 ;
5250
bool arg2 = (bool) true ;
5255
PyObject * obj0 = 0 ;
5256
PyObject * obj1 = 0 ;
5257
char * kwnames[] = {
5258
(char *) "self",(char *) "pageBreak", NULL
5261
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TextAttrEx_SetPageBreak",kwnames,&obj0,&obj1)) SWIG_fail;
5262
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextAttrEx, 0 | 0 );
5263
if (!SWIG_IsOK(res1)) {
5264
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttrEx_SetPageBreak" "', expected argument " "1"" of type '" "wxTextAttrEx *""'");
5266
arg1 = reinterpret_cast< wxTextAttrEx * >(argp1);
5268
ecode2 = SWIG_AsVal_bool(obj1, &val2);
5269
if (!SWIG_IsOK(ecode2)) {
5270
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TextAttrEx_SetPageBreak" "', expected argument " "2"" of type '" "bool""'");
5272
arg2 = static_cast< bool >(val2);
5275
PyThreadState* __tstate = wxPyBeginAllowThreads();
5276
(arg1)->SetPageBreak(arg2);
5277
wxPyEndAllowThreads(__tstate);
5278
if (PyErr_Occurred()) SWIG_fail;
5280
resultobj = SWIG_Py_Void();
5287
SWIGINTERN PyObject *_wrap_TextAttrEx_SetTextEffects(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5288
PyObject *resultobj = 0;
5289
wxTextAttrEx *arg1 = (wxTextAttrEx *) 0 ;
5295
PyObject * obj0 = 0 ;
5296
PyObject * obj1 = 0 ;
5297
char * kwnames[] = {
5298
(char *) "self",(char *) "effects", NULL
5301
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttrEx_SetTextEffects",kwnames,&obj0,&obj1)) SWIG_fail;
5302
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextAttrEx, 0 | 0 );
5303
if (!SWIG_IsOK(res1)) {
5304
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttrEx_SetTextEffects" "', expected argument " "1"" of type '" "wxTextAttrEx *""'");
5306
arg1 = reinterpret_cast< wxTextAttrEx * >(argp1);
5307
ecode2 = SWIG_AsVal_int(obj1, &val2);
5308
if (!SWIG_IsOK(ecode2)) {
5309
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TextAttrEx_SetTextEffects" "', expected argument " "2"" of type '" "int""'");
5311
arg2 = static_cast< int >(val2);
5313
PyThreadState* __tstate = wxPyBeginAllowThreads();
5314
(arg1)->SetTextEffects(arg2);
5315
wxPyEndAllowThreads(__tstate);
5316
if (PyErr_Occurred()) SWIG_fail;
5318
resultobj = SWIG_Py_Void();
5325
SWIGINTERN PyObject *_wrap_TextAttrEx_SetTextEffectFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5326
PyObject *resultobj = 0;
5327
wxTextAttrEx *arg1 = (wxTextAttrEx *) 0 ;
5333
PyObject * obj0 = 0 ;
5334
PyObject * obj1 = 0 ;
5335
char * kwnames[] = {
5336
(char *) "self",(char *) "effects", NULL
5339
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttrEx_SetTextEffectFlags",kwnames,&obj0,&obj1)) SWIG_fail;
5340
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextAttrEx, 0 | 0 );
5341
if (!SWIG_IsOK(res1)) {
5342
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttrEx_SetTextEffectFlags" "', expected argument " "1"" of type '" "wxTextAttrEx *""'");
5344
arg1 = reinterpret_cast< wxTextAttrEx * >(argp1);
5345
ecode2 = SWIG_AsVal_int(obj1, &val2);
5346
if (!SWIG_IsOK(ecode2)) {
5347
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TextAttrEx_SetTextEffectFlags" "', expected argument " "2"" of type '" "int""'");
5349
arg2 = static_cast< int >(val2);
5351
PyThreadState* __tstate = wxPyBeginAllowThreads();
5352
(arg1)->SetTextEffectFlags(arg2);
5353
wxPyEndAllowThreads(__tstate);
5354
if (PyErr_Occurred()) SWIG_fail;
5356
resultobj = SWIG_Py_Void();
5363
SWIGINTERN PyObject *_wrap_TextAttrEx_SetOutlineLevel(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5364
PyObject *resultobj = 0;
5365
wxTextAttrEx *arg1 = (wxTextAttrEx *) 0 ;
5371
PyObject * obj0 = 0 ;
5372
PyObject * obj1 = 0 ;
5373
char * kwnames[] = {
5374
(char *) "self",(char *) "level", NULL
5377
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttrEx_SetOutlineLevel",kwnames,&obj0,&obj1)) SWIG_fail;
5378
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextAttrEx, 0 | 0 );
5379
if (!SWIG_IsOK(res1)) {
5380
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttrEx_SetOutlineLevel" "', expected argument " "1"" of type '" "wxTextAttrEx *""'");
5382
arg1 = reinterpret_cast< wxTextAttrEx * >(argp1);
5383
ecode2 = SWIG_AsVal_int(obj1, &val2);
5384
if (!SWIG_IsOK(ecode2)) {
5385
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TextAttrEx_SetOutlineLevel" "', expected argument " "2"" of type '" "int""'");
5387
arg2 = static_cast< int >(val2);
5389
PyThreadState* __tstate = wxPyBeginAllowThreads();
5390
(arg1)->SetOutlineLevel(arg2);
5391
wxPyEndAllowThreads(__tstate);
5392
if (PyErr_Occurred()) SWIG_fail;
5394
resultobj = SWIG_Py_Void();
5401
SWIGINTERN PyObject *_wrap_TextAttrEx_GetCharacterStyleName(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5402
PyObject *resultobj = 0;
5403
wxTextAttrEx *arg1 = (wxTextAttrEx *) 0 ;
5404
wxString *result = 0 ;
5407
PyObject *swig_obj[1] ;
5409
if (!args) SWIG_fail;
5411
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextAttrEx, 0 | 0 );
5412
if (!SWIG_IsOK(res1)) {
5413
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttrEx_GetCharacterStyleName" "', expected argument " "1"" of type '" "wxTextAttrEx const *""'");
5415
arg1 = reinterpret_cast< wxTextAttrEx * >(argp1);
5417
PyThreadState* __tstate = wxPyBeginAllowThreads();
5419
wxString const &_result_ref = ((wxTextAttrEx const *)arg1)->GetCharacterStyleName();
5420
result = (wxString *) &_result_ref;
5422
wxPyEndAllowThreads(__tstate);
5423
if (PyErr_Occurred()) SWIG_fail;
5427
resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
5429
resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
5438
SWIGINTERN PyObject *_wrap_TextAttrEx_GetParagraphStyleName(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5439
PyObject *resultobj = 0;
5440
wxTextAttrEx *arg1 = (wxTextAttrEx *) 0 ;
5441
wxString *result = 0 ;
5444
PyObject *swig_obj[1] ;
5446
if (!args) SWIG_fail;
5448
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextAttrEx, 0 | 0 );
5449
if (!SWIG_IsOK(res1)) {
5450
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttrEx_GetParagraphStyleName" "', expected argument " "1"" of type '" "wxTextAttrEx const *""'");
5452
arg1 = reinterpret_cast< wxTextAttrEx * >(argp1);
5454
PyThreadState* __tstate = wxPyBeginAllowThreads();
5456
wxString const &_result_ref = ((wxTextAttrEx const *)arg1)->GetParagraphStyleName();
5457
result = (wxString *) &_result_ref;
5459
wxPyEndAllowThreads(__tstate);
5460
if (PyErr_Occurred()) SWIG_fail;
5464
resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
5466
resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
5475
SWIGINTERN PyObject *_wrap_TextAttrEx_GetListStyleName(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5476
PyObject *resultobj = 0;
5477
wxTextAttrEx *arg1 = (wxTextAttrEx *) 0 ;
5478
wxString *result = 0 ;
5481
PyObject *swig_obj[1] ;
5483
if (!args) SWIG_fail;
5485
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextAttrEx, 0 | 0 );
5486
if (!SWIG_IsOK(res1)) {
5487
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttrEx_GetListStyleName" "', expected argument " "1"" of type '" "wxTextAttrEx const *""'");
5489
arg1 = reinterpret_cast< wxTextAttrEx * >(argp1);
5491
PyThreadState* __tstate = wxPyBeginAllowThreads();
5493
wxString const &_result_ref = ((wxTextAttrEx const *)arg1)->GetListStyleName();
5494
result = (wxString *) &_result_ref;
5496
wxPyEndAllowThreads(__tstate);
5497
if (PyErr_Occurred()) SWIG_fail;
5501
resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
5503
resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
5512
SWIGINTERN PyObject *_wrap_TextAttrEx_GetParagraphSpacingAfter(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5513
PyObject *resultobj = 0;
5514
wxTextAttrEx *arg1 = (wxTextAttrEx *) 0 ;
5518
PyObject *swig_obj[1] ;
5520
if (!args) SWIG_fail;
5522
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextAttrEx, 0 | 0 );
5523
if (!SWIG_IsOK(res1)) {
5524
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttrEx_GetParagraphSpacingAfter" "', expected argument " "1"" of type '" "wxTextAttrEx const *""'");
5526
arg1 = reinterpret_cast< wxTextAttrEx * >(argp1);
5528
PyThreadState* __tstate = wxPyBeginAllowThreads();
5529
result = (int)((wxTextAttrEx const *)arg1)->GetParagraphSpacingAfter();
5530
wxPyEndAllowThreads(__tstate);
5531
if (PyErr_Occurred()) SWIG_fail;
5533
resultobj = SWIG_From_int(static_cast< int >(result));
5540
SWIGINTERN PyObject *_wrap_TextAttrEx_GetParagraphSpacingBefore(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5541
PyObject *resultobj = 0;
5542
wxTextAttrEx *arg1 = (wxTextAttrEx *) 0 ;
5546
PyObject *swig_obj[1] ;
5548
if (!args) SWIG_fail;
5550
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextAttrEx, 0 | 0 );
5551
if (!SWIG_IsOK(res1)) {
5552
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttrEx_GetParagraphSpacingBefore" "', expected argument " "1"" of type '" "wxTextAttrEx const *""'");
5554
arg1 = reinterpret_cast< wxTextAttrEx * >(argp1);
5556
PyThreadState* __tstate = wxPyBeginAllowThreads();
5557
result = (int)((wxTextAttrEx const *)arg1)->GetParagraphSpacingBefore();
5558
wxPyEndAllowThreads(__tstate);
5559
if (PyErr_Occurred()) SWIG_fail;
5561
resultobj = SWIG_From_int(static_cast< int >(result));
5568
SWIGINTERN PyObject *_wrap_TextAttrEx_GetLineSpacing(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5569
PyObject *resultobj = 0;
5570
wxTextAttrEx *arg1 = (wxTextAttrEx *) 0 ;
5574
PyObject *swig_obj[1] ;
5576
if (!args) SWIG_fail;
5578
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextAttrEx, 0 | 0 );
5579
if (!SWIG_IsOK(res1)) {
5580
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttrEx_GetLineSpacing" "', expected argument " "1"" of type '" "wxTextAttrEx const *""'");
5582
arg1 = reinterpret_cast< wxTextAttrEx * >(argp1);
5584
PyThreadState* __tstate = wxPyBeginAllowThreads();
5585
result = (int)((wxTextAttrEx const *)arg1)->GetLineSpacing();
5586
wxPyEndAllowThreads(__tstate);
5587
if (PyErr_Occurred()) SWIG_fail;
5589
resultobj = SWIG_From_int(static_cast< int >(result));
5596
SWIGINTERN PyObject *_wrap_TextAttrEx_GetBulletStyle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5597
PyObject *resultobj = 0;
5598
wxTextAttrEx *arg1 = (wxTextAttrEx *) 0 ;
5602
PyObject *swig_obj[1] ;
5604
if (!args) SWIG_fail;
5606
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextAttrEx, 0 | 0 );
5607
if (!SWIG_IsOK(res1)) {
5608
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttrEx_GetBulletStyle" "', expected argument " "1"" of type '" "wxTextAttrEx const *""'");
5610
arg1 = reinterpret_cast< wxTextAttrEx * >(argp1);
5612
PyThreadState* __tstate = wxPyBeginAllowThreads();
5613
result = (int)((wxTextAttrEx const *)arg1)->GetBulletStyle();
5614
wxPyEndAllowThreads(__tstate);
5615
if (PyErr_Occurred()) SWIG_fail;
5617
resultobj = SWIG_From_int(static_cast< int >(result));
5624
SWIGINTERN PyObject *_wrap_TextAttrEx_GetBulletNumber(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5625
PyObject *resultobj = 0;
5626
wxTextAttrEx *arg1 = (wxTextAttrEx *) 0 ;
5630
PyObject *swig_obj[1] ;
5632
if (!args) SWIG_fail;
5634
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextAttrEx, 0 | 0 );
5635
if (!SWIG_IsOK(res1)) {
5636
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttrEx_GetBulletNumber" "', expected argument " "1"" of type '" "wxTextAttrEx const *""'");
5638
arg1 = reinterpret_cast< wxTextAttrEx * >(argp1);
5640
PyThreadState* __tstate = wxPyBeginAllowThreads();
5641
result = (int)((wxTextAttrEx const *)arg1)->GetBulletNumber();
5642
wxPyEndAllowThreads(__tstate);
5643
if (PyErr_Occurred()) SWIG_fail;
5645
resultobj = SWIG_From_int(static_cast< int >(result));
5652
SWIGINTERN PyObject *_wrap_TextAttrEx_GetBulletText(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5653
PyObject *resultobj = 0;
5654
wxTextAttrEx *arg1 = (wxTextAttrEx *) 0 ;
5655
wxString *result = 0 ;
5658
PyObject *swig_obj[1] ;
5660
if (!args) SWIG_fail;
5662
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextAttrEx, 0 | 0 );
5663
if (!SWIG_IsOK(res1)) {
5664
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttrEx_GetBulletText" "', expected argument " "1"" of type '" "wxTextAttrEx const *""'");
5666
arg1 = reinterpret_cast< wxTextAttrEx * >(argp1);
5668
PyThreadState* __tstate = wxPyBeginAllowThreads();
5670
wxString const &_result_ref = ((wxTextAttrEx const *)arg1)->GetBulletText();
5671
result = (wxString *) &_result_ref;
5673
wxPyEndAllowThreads(__tstate);
5674
if (PyErr_Occurred()) SWIG_fail;
5678
resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
5680
resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
5689
SWIGINTERN PyObject *_wrap_TextAttrEx_GetBulletName(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5690
PyObject *resultobj = 0;
5691
wxTextAttrEx *arg1 = (wxTextAttrEx *) 0 ;
5692
wxString *result = 0 ;
5695
PyObject *swig_obj[1] ;
5697
if (!args) SWIG_fail;
5699
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextAttrEx, 0 | 0 );
5700
if (!SWIG_IsOK(res1)) {
5701
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttrEx_GetBulletName" "', expected argument " "1"" of type '" "wxTextAttrEx const *""'");
5703
arg1 = reinterpret_cast< wxTextAttrEx * >(argp1);
5705
PyThreadState* __tstate = wxPyBeginAllowThreads();
5707
wxString const &_result_ref = ((wxTextAttrEx const *)arg1)->GetBulletName();
5708
result = (wxString *) &_result_ref;
5710
wxPyEndAllowThreads(__tstate);
5711
if (PyErr_Occurred()) SWIG_fail;
5715
resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
5717
resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
5726
SWIGINTERN PyObject *_wrap_TextAttrEx_GetBulletFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5727
PyObject *resultobj = 0;
5728
wxTextAttrEx *arg1 = (wxTextAttrEx *) 0 ;
5729
wxString *result = 0 ;
5732
PyObject *swig_obj[1] ;
5734
if (!args) SWIG_fail;
5736
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextAttrEx, 0 | 0 );
5737
if (!SWIG_IsOK(res1)) {
5738
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttrEx_GetBulletFont" "', expected argument " "1"" of type '" "wxTextAttrEx const *""'");
5740
arg1 = reinterpret_cast< wxTextAttrEx * >(argp1);
5742
PyThreadState* __tstate = wxPyBeginAllowThreads();
5744
wxString const &_result_ref = ((wxTextAttrEx const *)arg1)->GetBulletFont();
5745
result = (wxString *) &_result_ref;
5747
wxPyEndAllowThreads(__tstate);
5748
if (PyErr_Occurred()) SWIG_fail;
5752
resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
5754
resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
5763
SWIGINTERN PyObject *_wrap_TextAttrEx_GetURL(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5764
PyObject *resultobj = 0;
5765
wxTextAttrEx *arg1 = (wxTextAttrEx *) 0 ;
5766
wxString *result = 0 ;
5769
PyObject *swig_obj[1] ;
5771
if (!args) SWIG_fail;
5773
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextAttrEx, 0 | 0 );
5774
if (!SWIG_IsOK(res1)) {
5775
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttrEx_GetURL" "', expected argument " "1"" of type '" "wxTextAttrEx const *""'");
5777
arg1 = reinterpret_cast< wxTextAttrEx * >(argp1);
5779
PyThreadState* __tstate = wxPyBeginAllowThreads();
5781
wxString const &_result_ref = ((wxTextAttrEx const *)arg1)->GetURL();
5782
result = (wxString *) &_result_ref;
5784
wxPyEndAllowThreads(__tstate);
5785
if (PyErr_Occurred()) SWIG_fail;
5789
resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
5791
resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
5800
SWIGINTERN PyObject *_wrap_TextAttrEx_GetTextEffects(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5801
PyObject *resultobj = 0;
5802
wxTextAttrEx *arg1 = (wxTextAttrEx *) 0 ;
5806
PyObject *swig_obj[1] ;
5808
if (!args) SWIG_fail;
5810
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextAttrEx, 0 | 0 );
5811
if (!SWIG_IsOK(res1)) {
5812
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttrEx_GetTextEffects" "', expected argument " "1"" of type '" "wxTextAttrEx const *""'");
5814
arg1 = reinterpret_cast< wxTextAttrEx * >(argp1);
5816
PyThreadState* __tstate = wxPyBeginAllowThreads();
5817
result = (int)((wxTextAttrEx const *)arg1)->GetTextEffects();
5818
wxPyEndAllowThreads(__tstate);
5819
if (PyErr_Occurred()) SWIG_fail;
5821
resultobj = SWIG_From_int(static_cast< int >(result));
5828
SWIGINTERN PyObject *_wrap_TextAttrEx_GetTextEffectFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5829
PyObject *resultobj = 0;
5830
wxTextAttrEx *arg1 = (wxTextAttrEx *) 0 ;
5834
PyObject *swig_obj[1] ;
5836
if (!args) SWIG_fail;
5838
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextAttrEx, 0 | 0 );
5839
if (!SWIG_IsOK(res1)) {
5840
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttrEx_GetTextEffectFlags" "', expected argument " "1"" of type '" "wxTextAttrEx const *""'");
5842
arg1 = reinterpret_cast< wxTextAttrEx * >(argp1);
5844
PyThreadState* __tstate = wxPyBeginAllowThreads();
5845
result = (int)((wxTextAttrEx const *)arg1)->GetTextEffectFlags();
5846
wxPyEndAllowThreads(__tstate);
5847
if (PyErr_Occurred()) SWIG_fail;
5849
resultobj = SWIG_From_int(static_cast< int >(result));
5856
SWIGINTERN PyObject *_wrap_TextAttrEx_GetOutlineLevel(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5857
PyObject *resultobj = 0;
5858
wxTextAttrEx *arg1 = (wxTextAttrEx *) 0 ;
5862
PyObject *swig_obj[1] ;
5864
if (!args) SWIG_fail;
5866
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextAttrEx, 0 | 0 );
5867
if (!SWIG_IsOK(res1)) {
5868
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttrEx_GetOutlineLevel" "', expected argument " "1"" of type '" "wxTextAttrEx const *""'");
5870
arg1 = reinterpret_cast< wxTextAttrEx * >(argp1);
5872
PyThreadState* __tstate = wxPyBeginAllowThreads();
5873
result = (int)((wxTextAttrEx const *)arg1)->GetOutlineLevel();
5874
wxPyEndAllowThreads(__tstate);
5875
if (PyErr_Occurred()) SWIG_fail;
5877
resultobj = SWIG_From_int(static_cast< int >(result));
5884
SWIGINTERN PyObject *_wrap_TextAttrEx_HasFontWeight(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5885
PyObject *resultobj = 0;
5886
wxTextAttrEx *arg1 = (wxTextAttrEx *) 0 ;
5890
PyObject *swig_obj[1] ;
5892
if (!args) SWIG_fail;
5894
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextAttrEx, 0 | 0 );
5895
if (!SWIG_IsOK(res1)) {
5896
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttrEx_HasFontWeight" "', expected argument " "1"" of type '" "wxTextAttrEx const *""'");
5898
arg1 = reinterpret_cast< wxTextAttrEx * >(argp1);
5900
PyThreadState* __tstate = wxPyBeginAllowThreads();
5901
result = (bool)((wxTextAttrEx const *)arg1)->HasFontWeight();
5902
wxPyEndAllowThreads(__tstate);
5903
if (PyErr_Occurred()) SWIG_fail;
5906
resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5914
SWIGINTERN PyObject *_wrap_TextAttrEx_HasFontSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5915
PyObject *resultobj = 0;
5916
wxTextAttrEx *arg1 = (wxTextAttrEx *) 0 ;
5920
PyObject *swig_obj[1] ;
5922
if (!args) SWIG_fail;
5924
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextAttrEx, 0 | 0 );
5925
if (!SWIG_IsOK(res1)) {
5926
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttrEx_HasFontSize" "', expected argument " "1"" of type '" "wxTextAttrEx const *""'");
5928
arg1 = reinterpret_cast< wxTextAttrEx * >(argp1);
5930
PyThreadState* __tstate = wxPyBeginAllowThreads();
5931
result = (bool)((wxTextAttrEx const *)arg1)->HasFontSize();
5932
wxPyEndAllowThreads(__tstate);
5933
if (PyErr_Occurred()) SWIG_fail;
5936
resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5944
SWIGINTERN PyObject *_wrap_TextAttrEx_HasFontItalic(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5945
PyObject *resultobj = 0;
5946
wxTextAttrEx *arg1 = (wxTextAttrEx *) 0 ;
5950
PyObject *swig_obj[1] ;
5952
if (!args) SWIG_fail;
5954
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextAttrEx, 0 | 0 );
5955
if (!SWIG_IsOK(res1)) {
5956
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttrEx_HasFontItalic" "', expected argument " "1"" of type '" "wxTextAttrEx const *""'");
5958
arg1 = reinterpret_cast< wxTextAttrEx * >(argp1);
5960
PyThreadState* __tstate = wxPyBeginAllowThreads();
5961
result = (bool)((wxTextAttrEx const *)arg1)->HasFontItalic();
5962
wxPyEndAllowThreads(__tstate);
5963
if (PyErr_Occurred()) SWIG_fail;
5966
resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5974
SWIGINTERN PyObject *_wrap_TextAttrEx_HasFontUnderlined(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5975
PyObject *resultobj = 0;
5976
wxTextAttrEx *arg1 = (wxTextAttrEx *) 0 ;
5980
PyObject *swig_obj[1] ;
5982
if (!args) SWIG_fail;
5984
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextAttrEx, 0 | 0 );
5985
if (!SWIG_IsOK(res1)) {
5986
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttrEx_HasFontUnderlined" "', expected argument " "1"" of type '" "wxTextAttrEx const *""'");
5988
arg1 = reinterpret_cast< wxTextAttrEx * >(argp1);
5990
PyThreadState* __tstate = wxPyBeginAllowThreads();
5991
result = (bool)((wxTextAttrEx const *)arg1)->HasFontUnderlined();
5992
wxPyEndAllowThreads(__tstate);
5993
if (PyErr_Occurred()) SWIG_fail;
5996
resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6004
SWIGINTERN PyObject *_wrap_TextAttrEx_HasFontFaceName(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6005
PyObject *resultobj = 0;
6006
wxTextAttrEx *arg1 = (wxTextAttrEx *) 0 ;
6010
PyObject *swig_obj[1] ;
6012
if (!args) SWIG_fail;
6014
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextAttrEx, 0 | 0 );
6015
if (!SWIG_IsOK(res1)) {
6016
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttrEx_HasFontFaceName" "', expected argument " "1"" of type '" "wxTextAttrEx const *""'");
6018
arg1 = reinterpret_cast< wxTextAttrEx * >(argp1);
6020
PyThreadState* __tstate = wxPyBeginAllowThreads();
6021
result = (bool)((wxTextAttrEx const *)arg1)->HasFontFaceName();
6022
wxPyEndAllowThreads(__tstate);
6023
if (PyErr_Occurred()) SWIG_fail;
6026
resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6034
SWIGINTERN PyObject *_wrap_TextAttrEx_HasParagraphSpacingAfter(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6035
PyObject *resultobj = 0;
6036
wxTextAttrEx *arg1 = (wxTextAttrEx *) 0 ;
6040
PyObject *swig_obj[1] ;
6042
if (!args) SWIG_fail;
6044
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextAttrEx, 0 | 0 );
6045
if (!SWIG_IsOK(res1)) {
6046
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttrEx_HasParagraphSpacingAfter" "', expected argument " "1"" of type '" "wxTextAttrEx const *""'");
6048
arg1 = reinterpret_cast< wxTextAttrEx * >(argp1);
6050
PyThreadState* __tstate = wxPyBeginAllowThreads();
6051
result = (bool)((wxTextAttrEx const *)arg1)->HasParagraphSpacingAfter();
6052
wxPyEndAllowThreads(__tstate);
6053
if (PyErr_Occurred()) SWIG_fail;
6056
resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6064
SWIGINTERN PyObject *_wrap_TextAttrEx_HasParagraphSpacingBefore(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6065
PyObject *resultobj = 0;
6066
wxTextAttrEx *arg1 = (wxTextAttrEx *) 0 ;
6070
PyObject *swig_obj[1] ;
6072
if (!args) SWIG_fail;
6074
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextAttrEx, 0 | 0 );
6075
if (!SWIG_IsOK(res1)) {
6076
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttrEx_HasParagraphSpacingBefore" "', expected argument " "1"" of type '" "wxTextAttrEx const *""'");
6078
arg1 = reinterpret_cast< wxTextAttrEx * >(argp1);
6080
PyThreadState* __tstate = wxPyBeginAllowThreads();
6081
result = (bool)((wxTextAttrEx const *)arg1)->HasParagraphSpacingBefore();
6082
wxPyEndAllowThreads(__tstate);
6083
if (PyErr_Occurred()) SWIG_fail;
6086
resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6094
SWIGINTERN PyObject *_wrap_TextAttrEx_HasLineSpacing(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6095
PyObject *resultobj = 0;
6096
wxTextAttrEx *arg1 = (wxTextAttrEx *) 0 ;
6100
PyObject *swig_obj[1] ;
6102
if (!args) SWIG_fail;
6104
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextAttrEx, 0 | 0 );
6105
if (!SWIG_IsOK(res1)) {
6106
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttrEx_HasLineSpacing" "', expected argument " "1"" of type '" "wxTextAttrEx const *""'");
6108
arg1 = reinterpret_cast< wxTextAttrEx * >(argp1);
6110
PyThreadState* __tstate = wxPyBeginAllowThreads();
6111
result = (bool)((wxTextAttrEx const *)arg1)->HasLineSpacing();
6112
wxPyEndAllowThreads(__tstate);
6113
if (PyErr_Occurred()) SWIG_fail;
6116
resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6124
SWIGINTERN PyObject *_wrap_TextAttrEx_HasCharacterStyleName(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6125
PyObject *resultobj = 0;
6126
wxTextAttrEx *arg1 = (wxTextAttrEx *) 0 ;
6130
PyObject *swig_obj[1] ;
6132
if (!args) SWIG_fail;
6134
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextAttrEx, 0 | 0 );
6135
if (!SWIG_IsOK(res1)) {
6136
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttrEx_HasCharacterStyleName" "', expected argument " "1"" of type '" "wxTextAttrEx const *""'");
6138
arg1 = reinterpret_cast< wxTextAttrEx * >(argp1);
6140
PyThreadState* __tstate = wxPyBeginAllowThreads();
6141
result = (bool)((wxTextAttrEx const *)arg1)->HasCharacterStyleName();
6142
wxPyEndAllowThreads(__tstate);
6143
if (PyErr_Occurred()) SWIG_fail;
6146
resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6154
SWIGINTERN PyObject *_wrap_TextAttrEx_HasParagraphStyleName(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6155
PyObject *resultobj = 0;
6156
wxTextAttrEx *arg1 = (wxTextAttrEx *) 0 ;
6160
PyObject *swig_obj[1] ;
6162
if (!args) SWIG_fail;
6164
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextAttrEx, 0 | 0 );
6165
if (!SWIG_IsOK(res1)) {
6166
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttrEx_HasParagraphStyleName" "', expected argument " "1"" of type '" "wxTextAttrEx const *""'");
6168
arg1 = reinterpret_cast< wxTextAttrEx * >(argp1);
6170
PyThreadState* __tstate = wxPyBeginAllowThreads();
6171
result = (bool)((wxTextAttrEx const *)arg1)->HasParagraphStyleName();
6172
wxPyEndAllowThreads(__tstate);
6173
if (PyErr_Occurred()) SWIG_fail;
6176
resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6184
SWIGINTERN PyObject *_wrap_TextAttrEx_HasListStyleName(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6185
PyObject *resultobj = 0;
6186
wxTextAttrEx *arg1 = (wxTextAttrEx *) 0 ;
6190
PyObject *swig_obj[1] ;
6192
if (!args) SWIG_fail;
6194
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextAttrEx, 0 | 0 );
6195
if (!SWIG_IsOK(res1)) {
6196
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttrEx_HasListStyleName" "', expected argument " "1"" of type '" "wxTextAttrEx const *""'");
6198
arg1 = reinterpret_cast< wxTextAttrEx * >(argp1);
6200
PyThreadState* __tstate = wxPyBeginAllowThreads();
6201
result = (bool)((wxTextAttrEx const *)arg1)->HasListStyleName();
6202
wxPyEndAllowThreads(__tstate);
6203
if (PyErr_Occurred()) SWIG_fail;
6206
resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6214
SWIGINTERN PyObject *_wrap_TextAttrEx_HasBulletStyle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6215
PyObject *resultobj = 0;
6216
wxTextAttrEx *arg1 = (wxTextAttrEx *) 0 ;
6220
PyObject *swig_obj[1] ;
6222
if (!args) SWIG_fail;
6224
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextAttrEx, 0 | 0 );
6225
if (!SWIG_IsOK(res1)) {
6226
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttrEx_HasBulletStyle" "', expected argument " "1"" of type '" "wxTextAttrEx const *""'");
6228
arg1 = reinterpret_cast< wxTextAttrEx * >(argp1);
6230
PyThreadState* __tstate = wxPyBeginAllowThreads();
6231
result = (bool)((wxTextAttrEx const *)arg1)->HasBulletStyle();
6232
wxPyEndAllowThreads(__tstate);
6233
if (PyErr_Occurred()) SWIG_fail;
6236
resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6244
SWIGINTERN PyObject *_wrap_TextAttrEx_HasBulletNumber(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6245
PyObject *resultobj = 0;
6246
wxTextAttrEx *arg1 = (wxTextAttrEx *) 0 ;
6250
PyObject *swig_obj[1] ;
6252
if (!args) SWIG_fail;
6254
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextAttrEx, 0 | 0 );
6255
if (!SWIG_IsOK(res1)) {
6256
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttrEx_HasBulletNumber" "', expected argument " "1"" of type '" "wxTextAttrEx const *""'");
6258
arg1 = reinterpret_cast< wxTextAttrEx * >(argp1);
6260
PyThreadState* __tstate = wxPyBeginAllowThreads();
6261
result = (bool)((wxTextAttrEx const *)arg1)->HasBulletNumber();
6262
wxPyEndAllowThreads(__tstate);
6263
if (PyErr_Occurred()) SWIG_fail;
6266
resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6274
SWIGINTERN PyObject *_wrap_TextAttrEx_HasBulletText(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6275
PyObject *resultobj = 0;
6276
wxTextAttrEx *arg1 = (wxTextAttrEx *) 0 ;
6280
PyObject *swig_obj[1] ;
6282
if (!args) SWIG_fail;
6284
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextAttrEx, 0 | 0 );
6285
if (!SWIG_IsOK(res1)) {
6286
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttrEx_HasBulletText" "', expected argument " "1"" of type '" "wxTextAttrEx const *""'");
6288
arg1 = reinterpret_cast< wxTextAttrEx * >(argp1);
6290
PyThreadState* __tstate = wxPyBeginAllowThreads();
6291
result = (bool)((wxTextAttrEx const *)arg1)->HasBulletText();
6292
wxPyEndAllowThreads(__tstate);
6293
if (PyErr_Occurred()) SWIG_fail;
6296
resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6304
SWIGINTERN PyObject *_wrap_TextAttrEx_HasBulletName(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6305
PyObject *resultobj = 0;
6306
wxTextAttrEx *arg1 = (wxTextAttrEx *) 0 ;
6310
PyObject *swig_obj[1] ;
6312
if (!args) SWIG_fail;
6314
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextAttrEx, 0 | 0 );
6315
if (!SWIG_IsOK(res1)) {
6316
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttrEx_HasBulletName" "', expected argument " "1"" of type '" "wxTextAttrEx const *""'");
6318
arg1 = reinterpret_cast< wxTextAttrEx * >(argp1);
6320
PyThreadState* __tstate = wxPyBeginAllowThreads();
6321
result = (bool)((wxTextAttrEx const *)arg1)->HasBulletName();
6322
wxPyEndAllowThreads(__tstate);
6323
if (PyErr_Occurred()) SWIG_fail;
6326
resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6334
SWIGINTERN PyObject *_wrap_TextAttrEx_HasURL(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6335
PyObject *resultobj = 0;
6336
wxTextAttrEx *arg1 = (wxTextAttrEx *) 0 ;
6340
PyObject *swig_obj[1] ;
6342
if (!args) SWIG_fail;
6344
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextAttrEx, 0 | 0 );
6345
if (!SWIG_IsOK(res1)) {
6346
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttrEx_HasURL" "', expected argument " "1"" of type '" "wxTextAttrEx const *""'");
6348
arg1 = reinterpret_cast< wxTextAttrEx * >(argp1);
6350
PyThreadState* __tstate = wxPyBeginAllowThreads();
6351
result = (bool)((wxTextAttrEx const *)arg1)->HasURL();
6352
wxPyEndAllowThreads(__tstate);
6353
if (PyErr_Occurred()) SWIG_fail;
6356
resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6364
SWIGINTERN PyObject *_wrap_TextAttrEx_HasPageBreak(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6365
PyObject *resultobj = 0;
6366
wxTextAttrEx *arg1 = (wxTextAttrEx *) 0 ;
6370
PyObject *swig_obj[1] ;
6372
if (!args) SWIG_fail;
6374
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextAttrEx, 0 | 0 );
6375
if (!SWIG_IsOK(res1)) {
6376
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttrEx_HasPageBreak" "', expected argument " "1"" of type '" "wxTextAttrEx const *""'");
6378
arg1 = reinterpret_cast< wxTextAttrEx * >(argp1);
6380
PyThreadState* __tstate = wxPyBeginAllowThreads();
6381
result = (bool)((wxTextAttrEx const *)arg1)->HasPageBreak();
6382
wxPyEndAllowThreads(__tstate);
6383
if (PyErr_Occurred()) SWIG_fail;
6386
resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6394
SWIGINTERN PyObject *_wrap_TextAttrEx_HasTextEffects(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6395
PyObject *resultobj = 0;
6396
wxTextAttrEx *arg1 = (wxTextAttrEx *) 0 ;
6400
PyObject *swig_obj[1] ;
6402
if (!args) SWIG_fail;
6404
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextAttrEx, 0 | 0 );
6405
if (!SWIG_IsOK(res1)) {
6406
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttrEx_HasTextEffects" "', expected argument " "1"" of type '" "wxTextAttrEx const *""'");
6408
arg1 = reinterpret_cast< wxTextAttrEx * >(argp1);
6410
PyThreadState* __tstate = wxPyBeginAllowThreads();
6411
result = (bool)((wxTextAttrEx const *)arg1)->HasTextEffects();
6412
wxPyEndAllowThreads(__tstate);
6413
if (PyErr_Occurred()) SWIG_fail;
6416
resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6424
SWIGINTERN PyObject *_wrap_TextAttrEx_HasTextEffect(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6425
PyObject *resultobj = 0;
6426
wxTextAttrEx *arg1 = (wxTextAttrEx *) 0 ;
6433
PyObject * obj0 = 0 ;
6434
PyObject * obj1 = 0 ;
6435
char * kwnames[] = {
6436
(char *) "self",(char *) "effect", NULL
6439
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttrEx_HasTextEffect",kwnames,&obj0,&obj1)) SWIG_fail;
6440
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextAttrEx, 0 | 0 );
6441
if (!SWIG_IsOK(res1)) {
6442
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttrEx_HasTextEffect" "', expected argument " "1"" of type '" "wxTextAttrEx const *""'");
6444
arg1 = reinterpret_cast< wxTextAttrEx * >(argp1);
6445
ecode2 = SWIG_AsVal_int(obj1, &val2);
6446
if (!SWIG_IsOK(ecode2)) {
6447
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TextAttrEx_HasTextEffect" "', expected argument " "2"" of type '" "int""'");
6449
arg2 = static_cast< int >(val2);
6451
PyThreadState* __tstate = wxPyBeginAllowThreads();
6452
result = (bool)((wxTextAttrEx const *)arg1)->HasTextEffect(arg2);
6453
wxPyEndAllowThreads(__tstate);
6454
if (PyErr_Occurred()) SWIG_fail;
6457
resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6465
SWIGINTERN PyObject *_wrap_TextAttrEx_HasOutlineLevel(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6466
PyObject *resultobj = 0;
6467
wxTextAttrEx *arg1 = (wxTextAttrEx *) 0 ;
6471
PyObject *swig_obj[1] ;
6473
if (!args) SWIG_fail;
6475
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextAttrEx, 0 | 0 );
6476
if (!SWIG_IsOK(res1)) {
6477
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttrEx_HasOutlineLevel" "', expected argument " "1"" of type '" "wxTextAttrEx const *""'");
6479
arg1 = reinterpret_cast< wxTextAttrEx * >(argp1);
6481
PyThreadState* __tstate = wxPyBeginAllowThreads();
6482
result = (bool)((wxTextAttrEx const *)arg1)->HasOutlineLevel();
6483
wxPyEndAllowThreads(__tstate);
6484
if (PyErr_Occurred()) SWIG_fail;
6487
resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6495
SWIGINTERN PyObject *_wrap_TextAttrEx_IsCharacterStyle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6496
PyObject *resultobj = 0;
6497
wxTextAttrEx *arg1 = (wxTextAttrEx *) 0 ;
6501
PyObject *swig_obj[1] ;
6503
if (!args) SWIG_fail;
6505
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextAttrEx, 0 | 0 );
6506
if (!SWIG_IsOK(res1)) {
6507
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttrEx_IsCharacterStyle" "', expected argument " "1"" of type '" "wxTextAttrEx const *""'");
6509
arg1 = reinterpret_cast< wxTextAttrEx * >(argp1);
6511
PyThreadState* __tstate = wxPyBeginAllowThreads();
6512
result = (bool)((wxTextAttrEx const *)arg1)->IsCharacterStyle();
6513
wxPyEndAllowThreads(__tstate);
6514
if (PyErr_Occurred()) SWIG_fail;
6517
resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6525
SWIGINTERN PyObject *_wrap_TextAttrEx_IsParagraphStyle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6526
PyObject *resultobj = 0;
6527
wxTextAttrEx *arg1 = (wxTextAttrEx *) 0 ;
6531
PyObject *swig_obj[1] ;
6533
if (!args) SWIG_fail;
6535
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextAttrEx, 0 | 0 );
6536
if (!SWIG_IsOK(res1)) {
6537
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttrEx_IsParagraphStyle" "', expected argument " "1"" of type '" "wxTextAttrEx const *""'");
6539
arg1 = reinterpret_cast< wxTextAttrEx * >(argp1);
6541
PyThreadState* __tstate = wxPyBeginAllowThreads();
6542
result = (bool)((wxTextAttrEx const *)arg1)->IsParagraphStyle();
6543
wxPyEndAllowThreads(__tstate);
6544
if (PyErr_Occurred()) SWIG_fail;
6547
resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6555
SWIGINTERN PyObject *_wrap_TextAttrEx_IsDefault(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6556
PyObject *resultobj = 0;
6557
wxTextAttrEx *arg1 = (wxTextAttrEx *) 0 ;
6561
PyObject *swig_obj[1] ;
6563
if (!args) SWIG_fail;
6565
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextAttrEx, 0 | 0 );
6566
if (!SWIG_IsOK(res1)) {
6567
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttrEx_IsDefault" "', expected argument " "1"" of type '" "wxTextAttrEx const *""'");
6569
arg1 = reinterpret_cast< wxTextAttrEx * >(argp1);
6571
PyThreadState* __tstate = wxPyBeginAllowThreads();
6572
result = (bool)((wxTextAttrEx const *)arg1)->IsDefault();
6573
wxPyEndAllowThreads(__tstate);
6574
if (PyErr_Occurred()) SWIG_fail;
6577
resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6585
SWIGINTERN PyObject *_wrap_TextAttrEx_CombineEx(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6586
PyObject *resultobj = 0;
6587
wxTextAttrEx *arg1 = 0 ;
6588
wxTextAttrEx *arg2 = 0 ;
6589
wxRichTextCtrl *arg3 = (wxRichTextCtrl *) 0 ;
6590
wxTextAttrEx result;
6597
PyObject * obj0 = 0 ;
6598
PyObject * obj1 = 0 ;
6599
PyObject * obj2 = 0 ;
6600
char * kwnames[] = {
6601
(char *) "attr",(char *) "attrDef",(char *) "text", NULL
6604
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextAttrEx_CombineEx",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
6605
res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_wxTextAttrEx, 0 | 0);
6606
if (!SWIG_IsOK(res1)) {
6607
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextAttrEx_CombineEx" "', expected argument " "1"" of type '" "wxTextAttrEx const &""'");
6610
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TextAttrEx_CombineEx" "', expected argument " "1"" of type '" "wxTextAttrEx const &""'");
6612
arg1 = reinterpret_cast< wxTextAttrEx * >(argp1);
6613
res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTextAttrEx, 0 | 0);
6614
if (!SWIG_IsOK(res2)) {
6615
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TextAttrEx_CombineEx" "', expected argument " "2"" of type '" "wxTextAttrEx const &""'");
6618
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TextAttrEx_CombineEx" "', expected argument " "2"" of type '" "wxTextAttrEx const &""'");
6620
arg2 = reinterpret_cast< wxTextAttrEx * >(argp2);
6621
res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 );
6622
if (!SWIG_IsOK(res3)) {
6623
SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "TextAttrEx_CombineEx" "', expected argument " "3"" of type '" "wxRichTextCtrl const *""'");
6625
arg3 = reinterpret_cast< wxRichTextCtrl * >(argp3);
6627
PyThreadState* __tstate = wxPyBeginAllowThreads();
6628
result = wxTextAttrEx::CombineEx((wxTextAttrEx const &)*arg1,(wxTextAttrEx const &)*arg2,(wxRichTextCtrl const *)arg3);
6629
wxPyEndAllowThreads(__tstate);
6630
if (PyErr_Occurred()) SWIG_fail;
6632
resultobj = SWIG_NewPointerObj((new wxTextAttrEx(static_cast< const wxTextAttrEx& >(result))), SWIGTYPE_p_wxTextAttrEx, SWIG_POINTER_OWN | 0 );
6639
SWIGINTERN PyObject *TextAttrEx_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6641
if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
6642
SWIG_TypeNewClientData(SWIGTYPE_p_wxTextAttrEx, SWIG_NewClientData(obj));
6643
return SWIG_Py_Void();
6646
SWIGINTERN PyObject *TextAttrEx_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6647
return SWIG_Python_InitShadowInstance(args);
6650
SWIGINTERN PyObject *_wrap_delete_RichTextObject(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6651
PyObject *resultobj = 0;
6652
wxRichTextObject *arg1 = (wxRichTextObject *) 0 ;
6655
PyObject *swig_obj[1] ;
6657
if (!args) SWIG_fail;
6659
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextObject, SWIG_POINTER_DISOWN | 0 );
6660
if (!SWIG_IsOK(res1)) {
6661
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_RichTextObject" "', expected argument " "1"" of type '" "wxRichTextObject *""'");
6663
arg1 = reinterpret_cast< wxRichTextObject * >(argp1);
6665
PyThreadState* __tstate = wxPyBeginAllowThreads();
6668
wxPyEndAllowThreads(__tstate);
6669
if (PyErr_Occurred()) SWIG_fail;
6671
resultobj = SWIG_Py_Void();
6678
SWIGINTERN PyObject *_wrap_RichTextObject_Draw(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6679
PyObject *resultobj = 0;
6680
wxRichTextObject *arg1 = (wxRichTextObject *) 0 ;
6682
wxRichTextRange *arg3 = 0 ;
6683
wxRichTextRange *arg4 = 0 ;
6692
wxRichTextRange temp3 ;
6693
wxRichTextRange temp4 ;
6699
PyObject * obj0 = 0 ;
6700
PyObject * obj1 = 0 ;
6701
PyObject * obj2 = 0 ;
6702
PyObject * obj3 = 0 ;
6703
PyObject * obj4 = 0 ;
6704
PyObject * obj5 = 0 ;
6705
PyObject * obj6 = 0 ;
6706
char * kwnames[] = {
6707
(char *) "self",(char *) "dc",(char *) "range",(char *) "selectionRange",(char *) "rect",(char *) "descent",(char *) "style", NULL
6710
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOOO:RichTextObject_Draw",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
6711
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextObject, 0 | 0 );
6712
if (!SWIG_IsOK(res1)) {
6713
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextObject_Draw" "', expected argument " "1"" of type '" "wxRichTextObject *""'");
6715
arg1 = reinterpret_cast< wxRichTextObject * >(argp1);
6716
res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxDC, 0 );
6717
if (!SWIG_IsOK(res2)) {
6718
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "RichTextObject_Draw" "', expected argument " "2"" of type '" "wxDC &""'");
6721
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "RichTextObject_Draw" "', expected argument " "2"" of type '" "wxDC &""'");
6723
arg2 = reinterpret_cast< wxDC * >(argp2);
6726
if ( ! wxRichTextRange_helper(obj2, &arg3)) SWIG_fail;
6730
if ( ! wxRichTextRange_helper(obj3, &arg4)) SWIG_fail;
6734
if ( ! wxRect_helper(obj4, &arg5)) SWIG_fail;
6736
ecode6 = SWIG_AsVal_int(obj5, &val6);
6737
if (!SWIG_IsOK(ecode6)) {
6738
SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "RichTextObject_Draw" "', expected argument " "6"" of type '" "int""'");
6740
arg6 = static_cast< int >(val6);
6741
ecode7 = SWIG_AsVal_int(obj6, &val7);
6742
if (!SWIG_IsOK(ecode7)) {
6743
SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "RichTextObject_Draw" "', expected argument " "7"" of type '" "int""'");
6745
arg7 = static_cast< int >(val7);
6747
PyThreadState* __tstate = wxPyBeginAllowThreads();
6748
result = (bool)(arg1)->Draw(*arg2,(wxRichTextRange const &)*arg3,(wxRichTextRange const &)*arg4,(wxRect const &)*arg5,arg6,arg7);
6749
wxPyEndAllowThreads(__tstate);
6750
if (PyErr_Occurred()) SWIG_fail;
6753
resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6761
SWIGINTERN PyObject *_wrap_RichTextObject_Layout(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6762
PyObject *resultobj = 0;
6763
wxRichTextObject *arg1 = (wxRichTextObject *) 0 ;
6775
PyObject * obj0 = 0 ;
6776
PyObject * obj1 = 0 ;
6777
PyObject * obj2 = 0 ;
6778
PyObject * obj3 = 0 ;
6779
char * kwnames[] = {
6780
(char *) "self",(char *) "dc",(char *) "rect",(char *) "style", NULL
6783
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:RichTextObject_Layout",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
6784
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextObject, 0 | 0 );
6785
if (!SWIG_IsOK(res1)) {
6786
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextObject_Layout" "', expected argument " "1"" of type '" "wxRichTextObject *""'");
6788
arg1 = reinterpret_cast< wxRichTextObject * >(argp1);
6789
res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxDC, 0 );
6790
if (!SWIG_IsOK(res2)) {
6791
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "RichTextObject_Layout" "', expected argument " "2"" of type '" "wxDC &""'");
6794
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "RichTextObject_Layout" "', expected argument " "2"" of type '" "wxDC &""'");
6796
arg2 = reinterpret_cast< wxDC * >(argp2);
6799
if ( ! wxRect_helper(obj2, &arg3)) SWIG_fail;
6801
ecode4 = SWIG_AsVal_int(obj3, &val4);
6802
if (!SWIG_IsOK(ecode4)) {
6803
SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "RichTextObject_Layout" "', expected argument " "4"" of type '" "int""'");
6805
arg4 = static_cast< int >(val4);
6807
PyThreadState* __tstate = wxPyBeginAllowThreads();
6808
result = (bool)(arg1)->Layout(*arg2,(wxRect const &)*arg3,arg4);
6809
wxPyEndAllowThreads(__tstate);
6810
if (PyErr_Occurred()) SWIG_fail;
6813
resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6821
SWIGINTERN PyObject *_wrap_RichTextObject_HitTest(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6822
PyObject *resultobj = 0;
6823
wxRichTextObject *arg1 = (wxRichTextObject *) 0 ;
6834
int res4 = SWIG_TMPOBJ ;
6835
PyObject * obj0 = 0 ;
6836
PyObject * obj1 = 0 ;
6837
PyObject * obj2 = 0 ;
6838
char * kwnames[] = {
6839
(char *) "self",(char *) "dc",(char *) "pt", NULL
6843
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:RichTextObject_HitTest",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
6844
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextObject, 0 | 0 );
6845
if (!SWIG_IsOK(res1)) {
6846
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextObject_HitTest" "', expected argument " "1"" of type '" "wxRichTextObject *""'");
6848
arg1 = reinterpret_cast< wxRichTextObject * >(argp1);
6849
res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxDC, 0 );
6850
if (!SWIG_IsOK(res2)) {
6851
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "RichTextObject_HitTest" "', expected argument " "2"" of type '" "wxDC &""'");
6854
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "RichTextObject_HitTest" "', expected argument " "2"" of type '" "wxDC &""'");
6856
arg2 = reinterpret_cast< wxDC * >(argp2);
6859
if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
6862
PyThreadState* __tstate = wxPyBeginAllowThreads();
6863
result = (int)(arg1)->HitTest(*arg2,(wxPoint const &)*arg3,*arg4);
6864
wxPyEndAllowThreads(__tstate);
6865
if (PyErr_Occurred()) SWIG_fail;
6867
resultobj = SWIG_From_int(static_cast< int >(result));
6868
if (SWIG_IsTmpObj(res4)) {
6869
resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_long((*arg4)));
6871
int new_flags = SWIG_IsNewObj(res4) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
6872
resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_long, new_flags));
6880
SWIGINTERN PyObject *_wrap_RichTextObject_FindPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6881
PyObject *resultobj = 0;
6882
wxRichTextObject *arg1 = (wxRichTextObject *) 0 ;
6886
int *arg5 = (int *) 0 ;
6897
int res5 = SWIG_TMPOBJ ;
6900
PyObject * obj0 = 0 ;
6901
PyObject * obj1 = 0 ;
6902
PyObject * obj2 = 0 ;
6903
PyObject * obj3 = 0 ;
6904
char * kwnames[] = {
6905
(char *) "self",(char *) "dc",(char *) "index",(char *) "forceLineStart", NULL
6910
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:RichTextObject_FindPosition",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
6911
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextObject, 0 | 0 );
6912
if (!SWIG_IsOK(res1)) {
6913
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextObject_FindPosition" "', expected argument " "1"" of type '" "wxRichTextObject *""'");
6915
arg1 = reinterpret_cast< wxRichTextObject * >(argp1);
6916
res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxDC, 0 );
6917
if (!SWIG_IsOK(res2)) {
6918
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "RichTextObject_FindPosition" "', expected argument " "2"" of type '" "wxDC &""'");
6921
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "RichTextObject_FindPosition" "', expected argument " "2"" of type '" "wxDC &""'");
6923
arg2 = reinterpret_cast< wxDC * >(argp2);
6924
ecode3 = SWIG_AsVal_long(obj2, &val3);
6925
if (!SWIG_IsOK(ecode3)) {
6926
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "RichTextObject_FindPosition" "', expected argument " "3"" of type '" "long""'");
6928
arg3 = static_cast< long >(val3);
6929
ecode6 = SWIG_AsVal_bool(obj3, &val6);
6930
if (!SWIG_IsOK(ecode6)) {
6931
SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "RichTextObject_FindPosition" "', expected argument " "6"" of type '" "bool""'");
6933
arg6 = static_cast< bool >(val6);
6935
PyThreadState* __tstate = wxPyBeginAllowThreads();
6936
result = (bool)(arg1)->FindPosition(*arg2,arg3,*arg4,arg5,arg6);
6937
wxPyEndAllowThreads(__tstate);
6938
if (PyErr_Occurred()) SWIG_fail;
6941
resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6943
resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)new wxPoint(*arg4), SWIGTYPE_p_wxPoint, SWIG_POINTER_OWN));
6944
if (SWIG_IsTmpObj(res5)) {
6945
resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg5)));
6947
int new_flags = SWIG_IsNewObj(res5) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
6948
resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg5), SWIGTYPE_p_int, new_flags));
6956
SWIGINTERN PyObject *_wrap_RichTextObject_GetBestSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6957
PyObject *resultobj = 0;
6958
wxRichTextObject *arg1 = (wxRichTextObject *) 0 ;
6962
PyObject *swig_obj[1] ;
6964
if (!args) SWIG_fail;
6966
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextObject, 0 | 0 );
6967
if (!SWIG_IsOK(res1)) {
6968
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextObject_GetBestSize" "', expected argument " "1"" of type '" "wxRichTextObject const *""'");
6970
arg1 = reinterpret_cast< wxRichTextObject * >(argp1);
6972
PyThreadState* __tstate = wxPyBeginAllowThreads();
6973
result = ((wxRichTextObject const *)arg1)->GetBestSize();
6974
wxPyEndAllowThreads(__tstate);
6975
if (PyErr_Occurred()) SWIG_fail;
6977
resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 );
6984
SWIGINTERN PyObject *_wrap_RichTextObject_GetRangeSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6985
PyObject *resultobj = 0;
6986
wxRichTextObject *arg1 = (wxRichTextObject *) 0 ;
6987
wxRichTextRange *arg2 = 0 ;
6992
wxPoint arg7 = (wxPoint) wxPoint(0,0) ;
6996
wxRichTextRange temp2 ;
6999
int res4 = SWIG_TMPOBJ ;
7006
PyObject * obj0 = 0 ;
7007
PyObject * obj1 = 0 ;
7008
PyObject * obj2 = 0 ;
7009
PyObject * obj3 = 0 ;
7010
PyObject * obj4 = 0 ;
7011
char * kwnames[] = {
7012
(char *) "self",(char *) "range",(char *) "dc",(char *) "flags",(char *) "position", NULL
7017
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|O:RichTextObject_GetRangeSize",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
7018
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextObject, 0 | 0 );
7019
if (!SWIG_IsOK(res1)) {
7020
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextObject_GetRangeSize" "', expected argument " "1"" of type '" "wxRichTextObject const *""'");
7022
arg1 = reinterpret_cast< wxRichTextObject * >(argp1);
7025
if ( ! wxRichTextRange_helper(obj1, &arg2)) SWIG_fail;
7027
res5 = SWIG_ConvertPtr(obj2, &argp5, SWIGTYPE_p_wxDC, 0 );
7028
if (!SWIG_IsOK(res5)) {
7029
SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "RichTextObject_GetRangeSize" "', expected argument " "5"" of type '" "wxDC &""'");
7032
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "RichTextObject_GetRangeSize" "', expected argument " "5"" of type '" "wxDC &""'");
7034
arg5 = reinterpret_cast< wxDC * >(argp5);
7035
ecode6 = SWIG_AsVal_int(obj3, &val6);
7036
if (!SWIG_IsOK(ecode6)) {
7037
SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "RichTextObject_GetRangeSize" "', expected argument " "6"" of type '" "int""'");
7039
arg6 = static_cast< int >(val6);
7042
res7 = SWIG_ConvertPtr(obj4, &argp7, SWIGTYPE_p_wxPoint, 0 | 0);
7043
if (!SWIG_IsOK(res7)) {
7044
SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "RichTextObject_GetRangeSize" "', expected argument " "7"" of type '" "wxPoint""'");
7047
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "RichTextObject_GetRangeSize" "', expected argument " "7"" of type '" "wxPoint""'");
7049
wxPoint * temp = reinterpret_cast< wxPoint * >(argp7);
7051
if (SWIG_IsNewObj(res7)) delete temp;
7056
PyThreadState* __tstate = wxPyBeginAllowThreads();
7057
result = (bool)((wxRichTextObject const *)arg1)->GetRangeSize((wxRichTextRange const &)*arg2,*arg3,*arg4,*arg5,arg6,arg7);
7058
wxPyEndAllowThreads(__tstate);
7059
if (PyErr_Occurred()) SWIG_fail;
7062
resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7064
resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)new wxSize(*arg3), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN));
7065
if (SWIG_IsTmpObj(res4)) {
7066
resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg4)));
7068
int new_flags = SWIG_IsNewObj(res4) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
7069
resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_int, new_flags));
7077
SWIGINTERN PyObject *_wrap_RichTextObject_DoSplit(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7078
PyObject *resultobj = 0;
7079
wxRichTextObject *arg1 = (wxRichTextObject *) 0 ;
7081
wxRichTextObject *result = 0 ;
7086
PyObject * obj0 = 0 ;
7087
PyObject * obj1 = 0 ;
7088
char * kwnames[] = {
7089
(char *) "self",(char *) "pos", NULL
7092
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RichTextObject_DoSplit",kwnames,&obj0,&obj1)) SWIG_fail;
7093
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextObject, 0 | 0 );
7094
if (!SWIG_IsOK(res1)) {
7095
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextObject_DoSplit" "', expected argument " "1"" of type '" "wxRichTextObject *""'");
7097
arg1 = reinterpret_cast< wxRichTextObject * >(argp1);
7098
ecode2 = SWIG_AsVal_long(obj1, &val2);
7099
if (!SWIG_IsOK(ecode2)) {
7100
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RichTextObject_DoSplit" "', expected argument " "2"" of type '" "long""'");
7102
arg2 = static_cast< long >(val2);
7104
PyThreadState* __tstate = wxPyBeginAllowThreads();
7105
result = (wxRichTextObject *)(arg1)->DoSplit(arg2);
7106
wxPyEndAllowThreads(__tstate);
7107
if (PyErr_Occurred()) SWIG_fail;
7109
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxRichTextObject, 0 | 0 );
7116
SWIGINTERN PyObject *_wrap_RichTextObject_CalculateRange(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7117
PyObject *resultobj = 0;
7118
wxRichTextObject *arg1 = (wxRichTextObject *) 0 ;
7126
int res3 = SWIG_TMPOBJ ;
7127
PyObject * obj0 = 0 ;
7128
PyObject * obj1 = 0 ;
7129
char * kwnames[] = {
7130
(char *) "self",(char *) "start", NULL
7134
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RichTextObject_CalculateRange",kwnames,&obj0,&obj1)) SWIG_fail;
7135
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextObject, 0 | 0 );
7136
if (!SWIG_IsOK(res1)) {
7137
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextObject_CalculateRange" "', expected argument " "1"" of type '" "wxRichTextObject *""'");
7139
arg1 = reinterpret_cast< wxRichTextObject * >(argp1);
7140
ecode2 = SWIG_AsVal_long(obj1, &val2);
7141
if (!SWIG_IsOK(ecode2)) {
7142
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RichTextObject_CalculateRange" "', expected argument " "2"" of type '" "long""'");
7144
arg2 = static_cast< long >(val2);
7146
PyThreadState* __tstate = wxPyBeginAllowThreads();
7147
(arg1)->CalculateRange(arg2,*arg3);
7148
wxPyEndAllowThreads(__tstate);
7149
if (PyErr_Occurred()) SWIG_fail;
7151
resultobj = SWIG_Py_Void();
7152
if (SWIG_IsTmpObj(res3)) {
7153
resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_long((*arg3)));
7155
int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
7156
resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_long, new_flags));
7164
SWIGINTERN PyObject *_wrap_RichTextObject_DeleteRange(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7165
PyObject *resultobj = 0;
7166
wxRichTextObject *arg1 = (wxRichTextObject *) 0 ;
7167
wxRichTextRange *arg2 = 0 ;
7171
wxRichTextRange temp2 ;
7172
PyObject * obj0 = 0 ;
7173
PyObject * obj1 = 0 ;
7174
char * kwnames[] = {
7175
(char *) "self",(char *) "range", NULL
7178
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RichTextObject_DeleteRange",kwnames,&obj0,&obj1)) SWIG_fail;
7179
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextObject, 0 | 0 );
7180
if (!SWIG_IsOK(res1)) {
7181
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextObject_DeleteRange" "', expected argument " "1"" of type '" "wxRichTextObject *""'");
7183
arg1 = reinterpret_cast< wxRichTextObject * >(argp1);
7186
if ( ! wxRichTextRange_helper(obj1, &arg2)) SWIG_fail;
7189
PyThreadState* __tstate = wxPyBeginAllowThreads();
7190
result = (bool)(arg1)->DeleteRange((wxRichTextRange const &)*arg2);
7191
wxPyEndAllowThreads(__tstate);
7192
if (PyErr_Occurred()) SWIG_fail;
7195
resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7203
SWIGINTERN PyObject *_wrap_RichTextObject_IsEmpty(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7204
PyObject *resultobj = 0;
7205
wxRichTextObject *arg1 = (wxRichTextObject *) 0 ;
7209
PyObject *swig_obj[1] ;
7211
if (!args) SWIG_fail;
7213
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextObject, 0 | 0 );
7214
if (!SWIG_IsOK(res1)) {
7215
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextObject_IsEmpty" "', expected argument " "1"" of type '" "wxRichTextObject const *""'");
7217
arg1 = reinterpret_cast< wxRichTextObject * >(argp1);
7219
PyThreadState* __tstate = wxPyBeginAllowThreads();
7220
result = (bool)((wxRichTextObject const *)arg1)->IsEmpty();
7221
wxPyEndAllowThreads(__tstate);
7222
if (PyErr_Occurred()) SWIG_fail;
7225
resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7233
SWIGINTERN PyObject *_wrap_RichTextObject_GetTextForRange(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7234
PyObject *resultobj = 0;
7235
wxRichTextObject *arg1 = (wxRichTextObject *) 0 ;
7236
wxRichTextRange *arg2 = 0 ;
7240
wxRichTextRange temp2 ;
7241
PyObject * obj0 = 0 ;
7242
PyObject * obj1 = 0 ;
7243
char * kwnames[] = {
7244
(char *) "self",(char *) "range", NULL
7247
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RichTextObject_GetTextForRange",kwnames,&obj0,&obj1)) SWIG_fail;
7248
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextObject, 0 | 0 );
7249
if (!SWIG_IsOK(res1)) {
7250
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextObject_GetTextForRange" "', expected argument " "1"" of type '" "wxRichTextObject const *""'");
7252
arg1 = reinterpret_cast< wxRichTextObject * >(argp1);
7255
if ( ! wxRichTextRange_helper(obj1, &arg2)) SWIG_fail;
7258
PyThreadState* __tstate = wxPyBeginAllowThreads();
7259
result = ((wxRichTextObject const *)arg1)->GetTextForRange((wxRichTextRange const &)*arg2);
7260
wxPyEndAllowThreads(__tstate);
7261
if (PyErr_Occurred()) SWIG_fail;
7265
resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
7267
resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
7276
SWIGINTERN PyObject *_wrap_RichTextObject_CanMerge(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7277
PyObject *resultobj = 0;
7278
wxRichTextObject *arg1 = (wxRichTextObject *) 0 ;
7279
wxRichTextObject *arg2 = (wxRichTextObject *) 0 ;
7285
PyObject * obj0 = 0 ;
7286
PyObject * obj1 = 0 ;
7287
char * kwnames[] = {
7288
(char *) "self",(char *) "object", NULL
7291
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RichTextObject_CanMerge",kwnames,&obj0,&obj1)) SWIG_fail;
7292
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextObject, 0 | 0 );
7293
if (!SWIG_IsOK(res1)) {
7294
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextObject_CanMerge" "', expected argument " "1"" of type '" "wxRichTextObject const *""'");
7296
arg1 = reinterpret_cast< wxRichTextObject * >(argp1);
7297
res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxRichTextObject, 0 | 0 );
7298
if (!SWIG_IsOK(res2)) {
7299
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "RichTextObject_CanMerge" "', expected argument " "2"" of type '" "wxRichTextObject *""'");
7301
arg2 = reinterpret_cast< wxRichTextObject * >(argp2);
7303
PyThreadState* __tstate = wxPyBeginAllowThreads();
7304
result = (bool)((wxRichTextObject const *)arg1)->CanMerge(arg2);
7305
wxPyEndAllowThreads(__tstate);
7306
if (PyErr_Occurred()) SWIG_fail;
7309
resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7317
SWIGINTERN PyObject *_wrap_RichTextObject_Merge(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7318
PyObject *resultobj = 0;
7319
wxRichTextObject *arg1 = (wxRichTextObject *) 0 ;
7320
wxRichTextObject *arg2 = (wxRichTextObject *) 0 ;
7326
PyObject * obj0 = 0 ;
7327
PyObject * obj1 = 0 ;
7328
char * kwnames[] = {
7329
(char *) "self",(char *) "object", NULL
7332
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RichTextObject_Merge",kwnames,&obj0,&obj1)) SWIG_fail;
7333
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextObject, 0 | 0 );
7334
if (!SWIG_IsOK(res1)) {
7335
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextObject_Merge" "', expected argument " "1"" of type '" "wxRichTextObject *""'");
7337
arg1 = reinterpret_cast< wxRichTextObject * >(argp1);
7338
res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxRichTextObject, 0 | 0 );
7339
if (!SWIG_IsOK(res2)) {
7340
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "RichTextObject_Merge" "', expected argument " "2"" of type '" "wxRichTextObject *""'");
7342
arg2 = reinterpret_cast< wxRichTextObject * >(argp2);
7344
PyThreadState* __tstate = wxPyBeginAllowThreads();
7345
result = (bool)(arg1)->Merge(arg2);
7346
wxPyEndAllowThreads(__tstate);
7347
if (PyErr_Occurred()) SWIG_fail;
7350
resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7358
SWIGINTERN PyObject *_wrap_RichTextObject_Dump(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7359
PyObject *resultobj = 0;
7360
wxRichTextObject *arg1 = (wxRichTextObject *) 0 ;
7364
PyObject *swig_obj[1] ;
7366
if (!args) SWIG_fail;
7368
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextObject, 0 | 0 );
7369
if (!SWIG_IsOK(res1)) {
7370
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextObject_Dump" "', expected argument " "1"" of type '" "wxRichTextObject *""'");
7372
arg1 = reinterpret_cast< wxRichTextObject * >(argp1);
7374
PyThreadState* __tstate = wxPyBeginAllowThreads();
7375
result = wxRichTextObject_Dump(arg1);
7376
wxPyEndAllowThreads(__tstate);
7377
if (PyErr_Occurred()) SWIG_fail;
7381
resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
7383
resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
7392
SWIGINTERN PyObject *_wrap_RichTextObject_GetCachedSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7393
PyObject *resultobj = 0;
7394
wxRichTextObject *arg1 = (wxRichTextObject *) 0 ;
7398
PyObject *swig_obj[1] ;
7400
if (!args) SWIG_fail;
7402
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextObject, 0 | 0 );
7403
if (!SWIG_IsOK(res1)) {
7404
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextObject_GetCachedSize" "', expected argument " "1"" of type '" "wxRichTextObject const *""'");
7406
arg1 = reinterpret_cast< wxRichTextObject * >(argp1);
7408
PyThreadState* __tstate = wxPyBeginAllowThreads();
7409
result = ((wxRichTextObject const *)arg1)->GetCachedSize();
7410
wxPyEndAllowThreads(__tstate);
7411
if (PyErr_Occurred()) SWIG_fail;
7413
resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 );
7420
SWIGINTERN PyObject *_wrap_RichTextObject_SetCachedSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7421
PyObject *resultobj = 0;
7422
wxRichTextObject *arg1 = (wxRichTextObject *) 0 ;
7427
PyObject * obj0 = 0 ;
7428
PyObject * obj1 = 0 ;
7429
char * kwnames[] = {
7430
(char *) "self",(char *) "sz", NULL
7433
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RichTextObject_SetCachedSize",kwnames,&obj0,&obj1)) SWIG_fail;
7434
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextObject, 0 | 0 );
7435
if (!SWIG_IsOK(res1)) {
7436
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextObject_SetCachedSize" "', expected argument " "1"" of type '" "wxRichTextObject *""'");
7438
arg1 = reinterpret_cast< wxRichTextObject * >(argp1);
7441
if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
7444
PyThreadState* __tstate = wxPyBeginAllowThreads();
7445
(arg1)->SetCachedSize((wxSize const &)*arg2);
7446
wxPyEndAllowThreads(__tstate);
7447
if (PyErr_Occurred()) SWIG_fail;
7449
resultobj = SWIG_Py_Void();
7456
SWIGINTERN PyObject *_wrap_RichTextObject_GetPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7457
PyObject *resultobj = 0;
7458
wxRichTextObject *arg1 = (wxRichTextObject *) 0 ;
7462
PyObject *swig_obj[1] ;
7464
if (!args) SWIG_fail;
7466
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextObject, 0 | 0 );
7467
if (!SWIG_IsOK(res1)) {
7468
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextObject_GetPosition" "', expected argument " "1"" of type '" "wxRichTextObject const *""'");
7470
arg1 = reinterpret_cast< wxRichTextObject * >(argp1);
7472
PyThreadState* __tstate = wxPyBeginAllowThreads();
7473
result = ((wxRichTextObject const *)arg1)->GetPosition();
7474
wxPyEndAllowThreads(__tstate);
7475
if (PyErr_Occurred()) SWIG_fail;
7477
resultobj = SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint& >(result))), SWIGTYPE_p_wxPoint, SWIG_POINTER_OWN | 0 );
7484
SWIGINTERN PyObject *_wrap_RichTextObject_SetPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7485
PyObject *resultobj = 0;
7486
wxRichTextObject *arg1 = (wxRichTextObject *) 0 ;
7491
PyObject * obj0 = 0 ;
7492
PyObject * obj1 = 0 ;
7493
char * kwnames[] = {
7494
(char *) "self",(char *) "pos", NULL
7497
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RichTextObject_SetPosition",kwnames,&obj0,&obj1)) SWIG_fail;
7498
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextObject, 0 | 0 );
7499
if (!SWIG_IsOK(res1)) {
7500
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextObject_SetPosition" "', expected argument " "1"" of type '" "wxRichTextObject *""'");
7502
arg1 = reinterpret_cast< wxRichTextObject * >(argp1);
7505
if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
7508
PyThreadState* __tstate = wxPyBeginAllowThreads();
7509
(arg1)->SetPosition((wxPoint const &)*arg2);
7510
wxPyEndAllowThreads(__tstate);
7511
if (PyErr_Occurred()) SWIG_fail;
7513
resultobj = SWIG_Py_Void();
7520
SWIGINTERN PyObject *_wrap_RichTextObject_GetRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7521
PyObject *resultobj = 0;
7522
wxRichTextObject *arg1 = (wxRichTextObject *) 0 ;
7526
PyObject *swig_obj[1] ;
7528
if (!args) SWIG_fail;
7530
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextObject, 0 | 0 );
7531
if (!SWIG_IsOK(res1)) {
7532
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextObject_GetRect" "', expected argument " "1"" of type '" "wxRichTextObject const *""'");
7534
arg1 = reinterpret_cast< wxRichTextObject * >(argp1);
7536
PyThreadState* __tstate = wxPyBeginAllowThreads();
7537
result = ((wxRichTextObject const *)arg1)->GetRect();
7538
wxPyEndAllowThreads(__tstate);
7539
if (PyErr_Occurred()) SWIG_fail;
7541
resultobj = SWIG_NewPointerObj((new wxRect(static_cast< const wxRect& >(result))), SWIGTYPE_p_wxRect, SWIG_POINTER_OWN | 0 );
7548
SWIGINTERN PyObject *_wrap_RichTextObject_SetRange(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7549
PyObject *resultobj = 0;
7550
wxRichTextObject *arg1 = (wxRichTextObject *) 0 ;
7551
wxRichTextRange *arg2 = 0 ;
7554
wxRichTextRange temp2 ;
7555
PyObject * obj0 = 0 ;
7556
PyObject * obj1 = 0 ;
7557
char * kwnames[] = {
7558
(char *) "self",(char *) "range", NULL
7561
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RichTextObject_SetRange",kwnames,&obj0,&obj1)) SWIG_fail;
7562
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextObject, 0 | 0 );
7563
if (!SWIG_IsOK(res1)) {
7564
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextObject_SetRange" "', expected argument " "1"" of type '" "wxRichTextObject *""'");
7566
arg1 = reinterpret_cast< wxRichTextObject * >(argp1);
7569
if ( ! wxRichTextRange_helper(obj1, &arg2)) SWIG_fail;
7572
PyThreadState* __tstate = wxPyBeginAllowThreads();
7573
(arg1)->SetRange((wxRichTextRange const &)*arg2);
7574
wxPyEndAllowThreads(__tstate);
7575
if (PyErr_Occurred()) SWIG_fail;
7577
resultobj = SWIG_Py_Void();
7584
SWIGINTERN PyObject *_wrap_RichTextObject_GetRange(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7585
PyObject *resultobj = 0;
7586
wxRichTextObject *arg1 = (wxRichTextObject *) 0 ;
7587
wxRichTextRange result;
7590
PyObject *swig_obj[1] ;
7592
if (!args) SWIG_fail;
7594
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextObject, 0 | 0 );
7595
if (!SWIG_IsOK(res1)) {
7596
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextObject_GetRange" "', expected argument " "1"" of type '" "wxRichTextObject *""'");
7598
arg1 = reinterpret_cast< wxRichTextObject * >(argp1);
7600
PyThreadState* __tstate = wxPyBeginAllowThreads();
7601
result = (arg1)->GetRange();
7602
wxPyEndAllowThreads(__tstate);
7603
if (PyErr_Occurred()) SWIG_fail;
7605
resultobj = SWIG_NewPointerObj((new wxRichTextRange(static_cast< const wxRichTextRange& >(result))), SWIGTYPE_p_wxRichTextRange, SWIG_POINTER_OWN | 0 );
7612
SWIGINTERN PyObject *_wrap_RichTextObject_GetDirty(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7613
PyObject *resultobj = 0;
7614
wxRichTextObject *arg1 = (wxRichTextObject *) 0 ;
7618
PyObject *swig_obj[1] ;
7620
if (!args) SWIG_fail;
7622
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextObject, 0 | 0 );
7623
if (!SWIG_IsOK(res1)) {
7624
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextObject_GetDirty" "', expected argument " "1"" of type '" "wxRichTextObject const *""'");
7626
arg1 = reinterpret_cast< wxRichTextObject * >(argp1);
7628
PyThreadState* __tstate = wxPyBeginAllowThreads();
7629
result = (bool)((wxRichTextObject const *)arg1)->GetDirty();
7630
wxPyEndAllowThreads(__tstate);
7631
if (PyErr_Occurred()) SWIG_fail;
7634
resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7642
SWIGINTERN PyObject *_wrap_RichTextObject_SetDirty(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7643
PyObject *resultobj = 0;
7644
wxRichTextObject *arg1 = (wxRichTextObject *) 0 ;
7650
PyObject * obj0 = 0 ;
7651
PyObject * obj1 = 0 ;
7652
char * kwnames[] = {
7653
(char *) "self",(char *) "dirty", NULL
7656
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RichTextObject_SetDirty",kwnames,&obj0,&obj1)) SWIG_fail;
7657
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextObject, 0 | 0 );
7658
if (!SWIG_IsOK(res1)) {
7659
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextObject_SetDirty" "', expected argument " "1"" of type '" "wxRichTextObject *""'");
7661
arg1 = reinterpret_cast< wxRichTextObject * >(argp1);
7662
ecode2 = SWIG_AsVal_bool(obj1, &val2);
7663
if (!SWIG_IsOK(ecode2)) {
7664
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RichTextObject_SetDirty" "', expected argument " "2"" of type '" "bool""'");
7666
arg2 = static_cast< bool >(val2);
7668
PyThreadState* __tstate = wxPyBeginAllowThreads();
7669
(arg1)->SetDirty(arg2);
7670
wxPyEndAllowThreads(__tstate);
7671
if (PyErr_Occurred()) SWIG_fail;
7673
resultobj = SWIG_Py_Void();
7680
SWIGINTERN PyObject *_wrap_RichTextObject_IsComposite(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7681
PyObject *resultobj = 0;
7682
wxRichTextObject *arg1 = (wxRichTextObject *) 0 ;
7686
PyObject *swig_obj[1] ;
7688
if (!args) SWIG_fail;
7690
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextObject, 0 | 0 );
7691
if (!SWIG_IsOK(res1)) {
7692
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextObject_IsComposite" "', expected argument " "1"" of type '" "wxRichTextObject const *""'");
7694
arg1 = reinterpret_cast< wxRichTextObject * >(argp1);
7696
PyThreadState* __tstate = wxPyBeginAllowThreads();
7697
result = (bool)((wxRichTextObject const *)arg1)->IsComposite();
7698
wxPyEndAllowThreads(__tstate);
7699
if (PyErr_Occurred()) SWIG_fail;
7702
resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7710
SWIGINTERN PyObject *_wrap_RichTextObject_GetParent(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7711
PyObject *resultobj = 0;
7712
wxRichTextObject *arg1 = (wxRichTextObject *) 0 ;
7713
wxRichTextObject *result = 0 ;
7716
PyObject *swig_obj[1] ;
7718
if (!args) SWIG_fail;
7720
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextObject, 0 | 0 );
7721
if (!SWIG_IsOK(res1)) {
7722
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextObject_GetParent" "', expected argument " "1"" of type '" "wxRichTextObject const *""'");
7724
arg1 = reinterpret_cast< wxRichTextObject * >(argp1);
7726
PyThreadState* __tstate = wxPyBeginAllowThreads();
7727
result = (wxRichTextObject *)((wxRichTextObject const *)arg1)->GetParent();
7728
wxPyEndAllowThreads(__tstate);
7729
if (PyErr_Occurred()) SWIG_fail;
7731
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxRichTextObject, 0 | 0 );
7738
SWIGINTERN PyObject *_wrap_RichTextObject_SetParent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7739
PyObject *resultobj = 0;
7740
wxRichTextObject *arg1 = (wxRichTextObject *) 0 ;
7741
wxRichTextObject *arg2 = (wxRichTextObject *) 0 ;
7746
PyObject * obj0 = 0 ;
7747
PyObject * obj1 = 0 ;
7748
char * kwnames[] = {
7749
(char *) "self",(char *) "parent", NULL
7752
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RichTextObject_SetParent",kwnames,&obj0,&obj1)) SWIG_fail;
7753
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextObject, 0 | 0 );
7754
if (!SWIG_IsOK(res1)) {
7755
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextObject_SetParent" "', expected argument " "1"" of type '" "wxRichTextObject *""'");
7757
arg1 = reinterpret_cast< wxRichTextObject * >(argp1);
7758
res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxRichTextObject, 0 | 0 );
7759
if (!SWIG_IsOK(res2)) {
7760
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "RichTextObject_SetParent" "', expected argument " "2"" of type '" "wxRichTextObject *""'");
7762
arg2 = reinterpret_cast< wxRichTextObject * >(argp2);
7764
PyThreadState* __tstate = wxPyBeginAllowThreads();
7765
(arg1)->SetParent(arg2);
7766
wxPyEndAllowThreads(__tstate);
7767
if (PyErr_Occurred()) SWIG_fail;
7769
resultobj = SWIG_Py_Void();
7776
SWIGINTERN PyObject *_wrap_RichTextObject_SetSameMargins(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7777
PyObject *resultobj = 0;
7778
wxRichTextObject *arg1 = (wxRichTextObject *) 0 ;
7784
PyObject * obj0 = 0 ;
7785
PyObject * obj1 = 0 ;
7786
char * kwnames[] = {
7787
(char *) "self",(char *) "margin", NULL
7790
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RichTextObject_SetSameMargins",kwnames,&obj0,&obj1)) SWIG_fail;
7791
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextObject, 0 | 0 );
7792
if (!SWIG_IsOK(res1)) {
7793
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextObject_SetSameMargins" "', expected argument " "1"" of type '" "wxRichTextObject *""'");
7795
arg1 = reinterpret_cast< wxRichTextObject * >(argp1);
7796
ecode2 = SWIG_AsVal_int(obj1, &val2);
7797
if (!SWIG_IsOK(ecode2)) {
7798
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RichTextObject_SetSameMargins" "', expected argument " "2"" of type '" "int""'");
7800
arg2 = static_cast< int >(val2);
7802
PyThreadState* __tstate = wxPyBeginAllowThreads();
7803
(arg1)->SetMargins(arg2);
7804
wxPyEndAllowThreads(__tstate);
7805
if (PyErr_Occurred()) SWIG_fail;
7807
resultobj = SWIG_Py_Void();
7814
SWIGINTERN PyObject *_wrap_RichTextObject_SetMargins(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7815
PyObject *resultobj = 0;
7816
wxRichTextObject *arg1 = (wxRichTextObject *) 0 ;
7831
PyObject * obj0 = 0 ;
7832
PyObject * obj1 = 0 ;
7833
PyObject * obj2 = 0 ;
7834
PyObject * obj3 = 0 ;
7835
PyObject * obj4 = 0 ;
7836
char * kwnames[] = {
7837
(char *) "self",(char *) "leftMargin",(char *) "rightMargin",(char *) "topMargin",(char *) "bottomMargin", NULL
7840
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:RichTextObject_SetMargins",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
7841
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextObject, 0 | 0 );
7842
if (!SWIG_IsOK(res1)) {
7843
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextObject_SetMargins" "', expected argument " "1"" of type '" "wxRichTextObject *""'");
7845
arg1 = reinterpret_cast< wxRichTextObject * >(argp1);
7846
ecode2 = SWIG_AsVal_int(obj1, &val2);
7847
if (!SWIG_IsOK(ecode2)) {
7848
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RichTextObject_SetMargins" "', expected argument " "2"" of type '" "int""'");
7850
arg2 = static_cast< int >(val2);
7851
ecode3 = SWIG_AsVal_int(obj2, &val3);
7852
if (!SWIG_IsOK(ecode3)) {
7853
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "RichTextObject_SetMargins" "', expected argument " "3"" of type '" "int""'");
7855
arg3 = static_cast< int >(val3);
7856
ecode4 = SWIG_AsVal_int(obj3, &val4);
7857
if (!SWIG_IsOK(ecode4)) {
7858
SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "RichTextObject_SetMargins" "', expected argument " "4"" of type '" "int""'");
7860
arg4 = static_cast< int >(val4);
7861
ecode5 = SWIG_AsVal_int(obj4, &val5);
7862
if (!SWIG_IsOK(ecode5)) {
7863
SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "RichTextObject_SetMargins" "', expected argument " "5"" of type '" "int""'");
7865
arg5 = static_cast< int >(val5);
7867
PyThreadState* __tstate = wxPyBeginAllowThreads();
7868
(arg1)->SetMargins(arg2,arg3,arg4,arg5);
7869
wxPyEndAllowThreads(__tstate);
7870
if (PyErr_Occurred()) SWIG_fail;
7872
resultobj = SWIG_Py_Void();
7879
SWIGINTERN PyObject *_wrap_RichTextObject_GetLeftMargin(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7880
PyObject *resultobj = 0;
7881
wxRichTextObject *arg1 = (wxRichTextObject *) 0 ;
7885
PyObject *swig_obj[1] ;
7887
if (!args) SWIG_fail;
7889
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextObject, 0 | 0 );
7890
if (!SWIG_IsOK(res1)) {
7891
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextObject_GetLeftMargin" "', expected argument " "1"" of type '" "wxRichTextObject const *""'");
7893
arg1 = reinterpret_cast< wxRichTextObject * >(argp1);
7895
PyThreadState* __tstate = wxPyBeginAllowThreads();
7896
result = (int)((wxRichTextObject const *)arg1)->GetLeftMargin();
7897
wxPyEndAllowThreads(__tstate);
7898
if (PyErr_Occurred()) SWIG_fail;
7900
resultobj = SWIG_From_int(static_cast< int >(result));
7907
SWIGINTERN PyObject *_wrap_RichTextObject_GetRightMargin(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7908
PyObject *resultobj = 0;
7909
wxRichTextObject *arg1 = (wxRichTextObject *) 0 ;
7913
PyObject *swig_obj[1] ;
7915
if (!args) SWIG_fail;
7917
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextObject, 0 | 0 );
7918
if (!SWIG_IsOK(res1)) {
7919
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextObject_GetRightMargin" "', expected argument " "1"" of type '" "wxRichTextObject const *""'");
7921
arg1 = reinterpret_cast< wxRichTextObject * >(argp1);
7923
PyThreadState* __tstate = wxPyBeginAllowThreads();
7924
result = (int)((wxRichTextObject const *)arg1)->GetRightMargin();
7925
wxPyEndAllowThreads(__tstate);
7926
if (PyErr_Occurred()) SWIG_fail;
7928
resultobj = SWIG_From_int(static_cast< int >(result));
7935
SWIGINTERN PyObject *_wrap_RichTextObject_GetTopMargin(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7936
PyObject *resultobj = 0;
7937
wxRichTextObject *arg1 = (wxRichTextObject *) 0 ;
7941
PyObject *swig_obj[1] ;
7943
if (!args) SWIG_fail;
7945
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextObject, 0 | 0 );
7946
if (!SWIG_IsOK(res1)) {
7947
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextObject_GetTopMargin" "', expected argument " "1"" of type '" "wxRichTextObject const *""'");
7949
arg1 = reinterpret_cast< wxRichTextObject * >(argp1);
7951
PyThreadState* __tstate = wxPyBeginAllowThreads();
7952
result = (int)((wxRichTextObject const *)arg1)->GetTopMargin();
7953
wxPyEndAllowThreads(__tstate);
7954
if (PyErr_Occurred()) SWIG_fail;
7956
resultobj = SWIG_From_int(static_cast< int >(result));
7963
SWIGINTERN PyObject *_wrap_RichTextObject_GetBottomMargin(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7964
PyObject *resultobj = 0;
7965
wxRichTextObject *arg1 = (wxRichTextObject *) 0 ;
7969
PyObject *swig_obj[1] ;
7971
if (!args) SWIG_fail;
7973
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextObject, 0 | 0 );
7974
if (!SWIG_IsOK(res1)) {
7975
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextObject_GetBottomMargin" "', expected argument " "1"" of type '" "wxRichTextObject const *""'");
7977
arg1 = reinterpret_cast< wxRichTextObject * >(argp1);
7979
PyThreadState* __tstate = wxPyBeginAllowThreads();
7980
result = (int)((wxRichTextObject const *)arg1)->GetBottomMargin();
7981
wxPyEndAllowThreads(__tstate);
7982
if (PyErr_Occurred()) SWIG_fail;
7984
resultobj = SWIG_From_int(static_cast< int >(result));
7991
SWIGINTERN PyObject *_wrap_RichTextObject_SetAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7992
PyObject *resultobj = 0;
7993
wxRichTextObject *arg1 = (wxRichTextObject *) 0 ;
7994
wxTextAttrEx *arg2 = 0 ;
7999
PyObject * obj0 = 0 ;
8000
PyObject * obj1 = 0 ;
8001
char * kwnames[] = {
8002
(char *) "self",(char *) "attr", NULL
8005
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RichTextObject_SetAttributes",kwnames,&obj0,&obj1)) SWIG_fail;
8006
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextObject, 0 | 0 );
8007
if (!SWIG_IsOK(res1)) {
8008
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextObject_SetAttributes" "', expected argument " "1"" of type '" "wxRichTextObject *""'");
8010
arg1 = reinterpret_cast< wxRichTextObject * >(argp1);
8011
res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTextAttrEx, 0 | 0);
8012
if (!SWIG_IsOK(res2)) {
8013
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "RichTextObject_SetAttributes" "', expected argument " "2"" of type '" "wxTextAttrEx const &""'");
8016
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "RichTextObject_SetAttributes" "', expected argument " "2"" of type '" "wxTextAttrEx const &""'");
8018
arg2 = reinterpret_cast< wxTextAttrEx * >(argp2);
8020
PyThreadState* __tstate = wxPyBeginAllowThreads();
8021
(arg1)->SetAttributes((wxTextAttrEx const &)*arg2);
8022
wxPyEndAllowThreads(__tstate);
8023
if (PyErr_Occurred()) SWIG_fail;
8025
resultobj = SWIG_Py_Void();
8032
SWIGINTERN PyObject *_wrap_RichTextObject_GetAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8033
PyObject *resultobj = 0;
8034
wxRichTextObject *arg1 = (wxRichTextObject *) 0 ;
8035
wxTextAttrEx result;
8038
PyObject *swig_obj[1] ;
8040
if (!args) SWIG_fail;
8042
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextObject, 0 | 0 );
8043
if (!SWIG_IsOK(res1)) {
8044
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextObject_GetAttributes" "', expected argument " "1"" of type '" "wxRichTextObject *""'");
8046
arg1 = reinterpret_cast< wxRichTextObject * >(argp1);
8048
PyThreadState* __tstate = wxPyBeginAllowThreads();
8049
result = (arg1)->GetAttributes();
8050
wxPyEndAllowThreads(__tstate);
8051
if (PyErr_Occurred()) SWIG_fail;
8053
resultobj = SWIG_NewPointerObj((new wxTextAttrEx(static_cast< const wxTextAttrEx& >(result))), SWIGTYPE_p_wxTextAttrEx, SWIG_POINTER_OWN | 0 );
8060
SWIGINTERN PyObject *_wrap_RichTextObject_SetDescent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8061
PyObject *resultobj = 0;
8062
wxRichTextObject *arg1 = (wxRichTextObject *) 0 ;
8068
PyObject * obj0 = 0 ;
8069
PyObject * obj1 = 0 ;
8070
char * kwnames[] = {
8071
(char *) "self",(char *) "descent", NULL
8074
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RichTextObject_SetDescent",kwnames,&obj0,&obj1)) SWIG_fail;
8075
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextObject, 0 | 0 );
8076
if (!SWIG_IsOK(res1)) {
8077
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextObject_SetDescent" "', expected argument " "1"" of type '" "wxRichTextObject *""'");
8079
arg1 = reinterpret_cast< wxRichTextObject * >(argp1);
8080
ecode2 = SWIG_AsVal_int(obj1, &val2);
8081
if (!SWIG_IsOK(ecode2)) {
8082
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RichTextObject_SetDescent" "', expected argument " "2"" of type '" "int""'");
8084
arg2 = static_cast< int >(val2);
8086
PyThreadState* __tstate = wxPyBeginAllowThreads();
8087
(arg1)->SetDescent(arg2);
8088
wxPyEndAllowThreads(__tstate);
8089
if (PyErr_Occurred()) SWIG_fail;
8091
resultobj = SWIG_Py_Void();
8098
SWIGINTERN PyObject *_wrap_RichTextObject_GetDescent(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8099
PyObject *resultobj = 0;
8100
wxRichTextObject *arg1 = (wxRichTextObject *) 0 ;
8104
PyObject *swig_obj[1] ;
8106
if (!args) SWIG_fail;
8108
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextObject, 0 | 0 );
8109
if (!SWIG_IsOK(res1)) {
8110
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextObject_GetDescent" "', expected argument " "1"" of type '" "wxRichTextObject const *""'");
8112
arg1 = reinterpret_cast< wxRichTextObject * >(argp1);
8114
PyThreadState* __tstate = wxPyBeginAllowThreads();
8115
result = (int)((wxRichTextObject const *)arg1)->GetDescent();
8116
wxPyEndAllowThreads(__tstate);
8117
if (PyErr_Occurred()) SWIG_fail;
8119
resultobj = SWIG_From_int(static_cast< int >(result));
8126
SWIGINTERN PyObject *_wrap_RichTextObject_GetBuffer(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8127
PyObject *resultobj = 0;
8128
wxRichTextObject *arg1 = (wxRichTextObject *) 0 ;
8129
wxRichTextBuffer *result = 0 ;
8132
PyObject *swig_obj[1] ;
8134
if (!args) SWIG_fail;
8136
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextObject, 0 | 0 );
8137
if (!SWIG_IsOK(res1)) {
8138
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextObject_GetBuffer" "', expected argument " "1"" of type '" "wxRichTextObject const *""'");
8140
arg1 = reinterpret_cast< wxRichTextObject * >(argp1);
8142
PyThreadState* __tstate = wxPyBeginAllowThreads();
8143
result = (wxRichTextBuffer *)((wxRichTextObject const *)arg1)->GetBuffer();
8144
wxPyEndAllowThreads(__tstate);
8145
if (PyErr_Occurred()) SWIG_fail;
8147
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxRichTextBuffer, 0 | 0 );
8154
SWIGINTERN PyObject *_wrap_RichTextObject_Clone(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8155
PyObject *resultobj = 0;
8156
wxRichTextObject *arg1 = (wxRichTextObject *) 0 ;
8157
wxRichTextObject *result = 0 ;
8160
PyObject *swig_obj[1] ;
8162
if (!args) SWIG_fail;
8164
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextObject, 0 | 0 );
8165
if (!SWIG_IsOK(res1)) {
8166
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextObject_Clone" "', expected argument " "1"" of type '" "wxRichTextObject const *""'");
8168
arg1 = reinterpret_cast< wxRichTextObject * >(argp1);
8170
PyThreadState* __tstate = wxPyBeginAllowThreads();
8171
result = (wxRichTextObject *)((wxRichTextObject const *)arg1)->Clone();
8172
wxPyEndAllowThreads(__tstate);
8173
if (PyErr_Occurred()) SWIG_fail;
8175
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxRichTextObject, 0 | 0 );
8182
SWIGINTERN PyObject *_wrap_RichTextObject_Copy(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8183
PyObject *resultobj = 0;
8184
wxRichTextObject *arg1 = (wxRichTextObject *) 0 ;
8185
wxRichTextObject *arg2 = 0 ;
8190
PyObject * obj0 = 0 ;
8191
PyObject * obj1 = 0 ;
8192
char * kwnames[] = {
8193
(char *) "self",(char *) "obj", NULL
8196
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RichTextObject_Copy",kwnames,&obj0,&obj1)) SWIG_fail;
8197
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextObject, 0 | 0 );
8198
if (!SWIG_IsOK(res1)) {
8199
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextObject_Copy" "', expected argument " "1"" of type '" "wxRichTextObject *""'");
8201
arg1 = reinterpret_cast< wxRichTextObject * >(argp1);
8202
res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxRichTextObject, 0 | 0);
8203
if (!SWIG_IsOK(res2)) {
8204
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "RichTextObject_Copy" "', expected argument " "2"" of type '" "wxRichTextObject const &""'");
8207
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "RichTextObject_Copy" "', expected argument " "2"" of type '" "wxRichTextObject const &""'");
8209
arg2 = reinterpret_cast< wxRichTextObject * >(argp2);
8211
PyThreadState* __tstate = wxPyBeginAllowThreads();
8212
(arg1)->Copy((wxRichTextObject const &)*arg2);
8213
wxPyEndAllowThreads(__tstate);
8214
if (PyErr_Occurred()) SWIG_fail;
8216
resultobj = SWIG_Py_Void();
8223
SWIGINTERN PyObject *_wrap_RichTextObject_Reference(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8224
PyObject *resultobj = 0;
8225
wxRichTextObject *arg1 = (wxRichTextObject *) 0 ;
8228
PyObject *swig_obj[1] ;
8230
if (!args) SWIG_fail;
8232
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextObject, 0 | 0 );
8233
if (!SWIG_IsOK(res1)) {
8234
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextObject_Reference" "', expected argument " "1"" of type '" "wxRichTextObject *""'");
8236
arg1 = reinterpret_cast< wxRichTextObject * >(argp1);
8238
PyThreadState* __tstate = wxPyBeginAllowThreads();
8239
(arg1)->Reference();
8240
wxPyEndAllowThreads(__tstate);
8241
if (PyErr_Occurred()) SWIG_fail;
8243
resultobj = SWIG_Py_Void();
8250
SWIGINTERN PyObject *_wrap_RichTextObject_Dereference(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8251
PyObject *resultobj = 0;
8252
wxRichTextObject *arg1 = (wxRichTextObject *) 0 ;
8255
PyObject *swig_obj[1] ;
8257
if (!args) SWIG_fail;
8259
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextObject, 0 | 0 );
8260
if (!SWIG_IsOK(res1)) {
8261
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextObject_Dereference" "', expected argument " "1"" of type '" "wxRichTextObject *""'");
8263
arg1 = reinterpret_cast< wxRichTextObject * >(argp1);
8265
PyThreadState* __tstate = wxPyBeginAllowThreads();
8266
(arg1)->Dereference();
8267
wxPyEndAllowThreads(__tstate);
8268
if (PyErr_Occurred()) SWIG_fail;
8270
resultobj = SWIG_Py_Void();
8277
SWIGINTERN PyObject *_wrap_RichTextObject_ConvertTenthsMMToPixelsDC(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8278
PyObject *resultobj = 0;
8279
wxRichTextObject *arg1 = (wxRichTextObject *) 0 ;
8289
PyObject * obj0 = 0 ;
8290
PyObject * obj1 = 0 ;
8291
PyObject * obj2 = 0 ;
8292
char * kwnames[] = {
8293
(char *) "self",(char *) "dc",(char *) "units", NULL
8296
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:RichTextObject_ConvertTenthsMMToPixelsDC",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
8297
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextObject, 0 | 0 );
8298
if (!SWIG_IsOK(res1)) {
8299
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextObject_ConvertTenthsMMToPixelsDC" "', expected argument " "1"" of type '" "wxRichTextObject *""'");
8301
arg1 = reinterpret_cast< wxRichTextObject * >(argp1);
8302
res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxDC, 0 );
8303
if (!SWIG_IsOK(res2)) {
8304
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "RichTextObject_ConvertTenthsMMToPixelsDC" "', expected argument " "2"" of type '" "wxDC &""'");
8307
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "RichTextObject_ConvertTenthsMMToPixelsDC" "', expected argument " "2"" of type '" "wxDC &""'");
8309
arg2 = reinterpret_cast< wxDC * >(argp2);
8310
ecode3 = SWIG_AsVal_int(obj2, &val3);
8311
if (!SWIG_IsOK(ecode3)) {
8312
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "RichTextObject_ConvertTenthsMMToPixelsDC" "', expected argument " "3"" of type '" "int""'");
8314
arg3 = static_cast< int >(val3);
8316
PyThreadState* __tstate = wxPyBeginAllowThreads();
8317
result = (int)(arg1)->ConvertTenthsMMToPixels(*arg2,arg3);
8318
wxPyEndAllowThreads(__tstate);
8319
if (PyErr_Occurred()) SWIG_fail;
8321
resultobj = SWIG_From_int(static_cast< int >(result));
8328
SWIGINTERN PyObject *_wrap_RichTextObject_ConvertTenthsMMToPixels(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8329
PyObject *resultobj = 0;
8337
PyObject * obj0 = 0 ;
8338
PyObject * obj1 = 0 ;
8339
char * kwnames[] = {
8340
(char *) "ppi",(char *) "units", NULL
8343
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RichTextObject_ConvertTenthsMMToPixels",kwnames,&obj0,&obj1)) SWIG_fail;
8344
ecode1 = SWIG_AsVal_int(obj0, &val1);
8345
if (!SWIG_IsOK(ecode1)) {
8346
SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "RichTextObject_ConvertTenthsMMToPixels" "', expected argument " "1"" of type '" "int""'");
8348
arg1 = static_cast< int >(val1);
8349
ecode2 = SWIG_AsVal_int(obj1, &val2);
8350
if (!SWIG_IsOK(ecode2)) {
8351
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RichTextObject_ConvertTenthsMMToPixels" "', expected argument " "2"" of type '" "int""'");
8353
arg2 = static_cast< int >(val2);
8355
PyThreadState* __tstate = wxPyBeginAllowThreads();
8356
result = (int)wxRichTextObject::ConvertTenthsMMToPixels(arg1,arg2);
8357
wxPyEndAllowThreads(__tstate);
8358
if (PyErr_Occurred()) SWIG_fail;
8360
resultobj = SWIG_From_int(static_cast< int >(result));
8367
SWIGINTERN PyObject *RichTextObject_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8369
if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
8370
SWIG_TypeNewClientData(SWIGTYPE_p_wxRichTextObject, SWIG_NewClientData(obj));
8371
return SWIG_Py_Void();
8374
SWIGINTERN PyObject *_wrap_delete_RichTextObjectList_iterator(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8375
PyObject *resultobj = 0;
8376
wxRichTextObjectList_iterator *arg1 = (wxRichTextObjectList_iterator *) 0 ;
8379
PyObject *swig_obj[1] ;
8381
if (!args) SWIG_fail;
8383
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextObjectList_iterator, SWIG_POINTER_DISOWN | 0 );
8384
if (!SWIG_IsOK(res1)) {
8385
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_RichTextObjectList_iterator" "', expected argument " "1"" of type '" "wxRichTextObjectList_iterator *""'");
8387
arg1 = reinterpret_cast< wxRichTextObjectList_iterator * >(argp1);
8389
PyThreadState* __tstate = wxPyBeginAllowThreads();
8392
wxPyEndAllowThreads(__tstate);
8393
if (PyErr_Occurred()) SWIG_fail;
8395
resultobj = SWIG_Py_Void();
8402
SWIGINTERN PyObject *_wrap_RichTextObjectList_iterator_next(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8403
PyObject *resultobj = 0;
8404
wxRichTextObjectList_iterator *arg1 = (wxRichTextObjectList_iterator *) 0 ;
8405
wxRichTextObject *result = 0 ;
8408
PyObject *swig_obj[1] ;
8410
if (!args) SWIG_fail;
8412
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextObjectList_iterator, 0 | 0 );
8413
if (!SWIG_IsOK(res1)) {
8414
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextObjectList_iterator_next" "', expected argument " "1"" of type '" "wxRichTextObjectList_iterator *""'");
8416
arg1 = reinterpret_cast< wxRichTextObjectList_iterator * >(argp1);
8418
result = (wxRichTextObject *)(arg1)->next();
8419
if (PyErr_Occurred()) SWIG_fail;
8421
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxRichTextObject, 0 | 0 );
8428
SWIGINTERN PyObject *RichTextObjectList_iterator_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8430
if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
8431
SWIG_TypeNewClientData(SWIGTYPE_p_wxRichTextObjectList_iterator, SWIG_NewClientData(obj));
8432
return SWIG_Py_Void();
8435
SWIGINTERN PyObject *_wrap_delete_RichTextObjectList(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8436
PyObject *resultobj = 0;
8437
wxRichTextObjectList *arg1 = (wxRichTextObjectList *) 0 ;
8440
PyObject *swig_obj[1] ;
8442
if (!args) SWIG_fail;
8444
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextObjectList, SWIG_POINTER_DISOWN | 0 );
8445
if (!SWIG_IsOK(res1)) {
8446
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_RichTextObjectList" "', expected argument " "1"" of type '" "wxRichTextObjectList *""'");
8448
arg1 = reinterpret_cast< wxRichTextObjectList * >(argp1);
8450
PyThreadState* __tstate = wxPyBeginAllowThreads();
8453
wxPyEndAllowThreads(__tstate);
8454
if (PyErr_Occurred()) SWIG_fail;
8456
resultobj = SWIG_Py_Void();
8463
SWIGINTERN PyObject *_wrap_RichTextObjectList___len__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8464
PyObject *resultobj = 0;
8465
wxRichTextObjectList *arg1 = (wxRichTextObjectList *) 0 ;
8469
PyObject *swig_obj[1] ;
8471
if (!args) SWIG_fail;
8473
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextObjectList, 0 | 0 );
8474
if (!SWIG_IsOK(res1)) {
8475
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextObjectList___len__" "', expected argument " "1"" of type '" "wxRichTextObjectList *""'");
8477
arg1 = reinterpret_cast< wxRichTextObjectList * >(argp1);
8479
result = (size_t)wxRichTextObjectList___len__(arg1);
8480
if (PyErr_Occurred()) SWIG_fail;
8482
resultobj = SWIG_From_size_t(static_cast< size_t >(result));
8489
SWIGINTERN PyObject *_wrap_RichTextObjectList___getitem__(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8490
PyObject *resultobj = 0;
8491
wxRichTextObjectList *arg1 = (wxRichTextObjectList *) 0 ;
8493
wxRichTextObject *result = 0 ;
8498
PyObject * obj0 = 0 ;
8499
PyObject * obj1 = 0 ;
8500
char * kwnames[] = {
8501
(char *) "self",(char *) "index", NULL
8504
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RichTextObjectList___getitem__",kwnames,&obj0,&obj1)) SWIG_fail;
8505
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextObjectList, 0 | 0 );
8506
if (!SWIG_IsOK(res1)) {
8507
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextObjectList___getitem__" "', expected argument " "1"" of type '" "wxRichTextObjectList *""'");
8509
arg1 = reinterpret_cast< wxRichTextObjectList * >(argp1);
8510
ecode2 = SWIG_AsVal_size_t(obj1, &val2);
8511
if (!SWIG_IsOK(ecode2)) {
8512
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RichTextObjectList___getitem__" "', expected argument " "2"" of type '" "size_t""'");
8514
arg2 = static_cast< size_t >(val2);
8516
result = (wxRichTextObject *)wxRichTextObjectList___getitem__(arg1,arg2);
8517
if (PyErr_Occurred()) SWIG_fail;
8519
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxRichTextObject, 0 | 0 );
8526
SWIGINTERN PyObject *_wrap_RichTextObjectList___contains__(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8527
PyObject *resultobj = 0;
8528
wxRichTextObjectList *arg1 = (wxRichTextObjectList *) 0 ;
8529
wxRichTextObject *arg2 = (wxRichTextObject *) 0 ;
8535
PyObject * obj0 = 0 ;
8536
PyObject * obj1 = 0 ;
8537
char * kwnames[] = {
8538
(char *) "self",(char *) "obj", NULL
8541
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RichTextObjectList___contains__",kwnames,&obj0,&obj1)) SWIG_fail;
8542
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextObjectList, 0 | 0 );
8543
if (!SWIG_IsOK(res1)) {
8544
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextObjectList___contains__" "', expected argument " "1"" of type '" "wxRichTextObjectList *""'");
8546
arg1 = reinterpret_cast< wxRichTextObjectList * >(argp1);
8547
res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxRichTextObject, 0 | 0 );
8548
if (!SWIG_IsOK(res2)) {
8549
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "RichTextObjectList___contains__" "', expected argument " "2"" of type '" "wxRichTextObject const *""'");
8551
arg2 = reinterpret_cast< wxRichTextObject * >(argp2);
8553
result = (bool)wxRichTextObjectList___contains__(arg1,(wxRichTextObject const *)arg2);
8554
if (PyErr_Occurred()) SWIG_fail;
8557
resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8565
SWIGINTERN PyObject *_wrap_RichTextObjectList___iter__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8566
PyObject *resultobj = 0;
8567
wxRichTextObjectList *arg1 = (wxRichTextObjectList *) 0 ;
8568
wxRichTextObjectList_iterator *result = 0 ;
8571
PyObject *swig_obj[1] ;
8573
if (!args) SWIG_fail;
8575
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextObjectList, 0 | 0 );
8576
if (!SWIG_IsOK(res1)) {
8577
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextObjectList___iter__" "', expected argument " "1"" of type '" "wxRichTextObjectList *""'");
8579
arg1 = reinterpret_cast< wxRichTextObjectList * >(argp1);
8581
result = (wxRichTextObjectList_iterator *)wxRichTextObjectList___iter__(arg1);
8582
if (PyErr_Occurred()) SWIG_fail;
8584
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxRichTextObjectList_iterator, SWIG_POINTER_OWN | 0 );
8591
SWIGINTERN PyObject *_wrap_RichTextObjectList_index(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8592
PyObject *resultobj = 0;
8593
wxRichTextObjectList *arg1 = (wxRichTextObjectList *) 0 ;
8594
wxRichTextObject *arg2 = (wxRichTextObject *) 0 ;
8600
PyObject * obj0 = 0 ;
8601
PyObject * obj1 = 0 ;
8602
char * kwnames[] = {
8603
(char *) "self",(char *) "obj", NULL
8606
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RichTextObjectList_index",kwnames,&obj0,&obj1)) SWIG_fail;
8607
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextObjectList, 0 | 0 );
8608
if (!SWIG_IsOK(res1)) {
8609
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextObjectList_index" "', expected argument " "1"" of type '" "wxRichTextObjectList *""'");
8611
arg1 = reinterpret_cast< wxRichTextObjectList * >(argp1);
8612
res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxRichTextObject, 0 | 0 );
8613
if (!SWIG_IsOK(res2)) {
8614
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "RichTextObjectList_index" "', expected argument " "2"" of type '" "wxRichTextObject *""'");
8616
arg2 = reinterpret_cast< wxRichTextObject * >(argp2);
8618
result = (int)wxRichTextObjectList_index(arg1,arg2);
8619
if (PyErr_Occurred()) SWIG_fail;
8621
resultobj = SWIG_From_int(static_cast< int >(result));
8628
SWIGINTERN PyObject *RichTextObjectList_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8630
if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
8631
SWIG_TypeNewClientData(SWIGTYPE_p_wxRichTextObjectList, SWIG_NewClientData(obj));
8632
return SWIG_Py_Void();
8635
SWIGINTERN PyObject *_wrap_delete_RichTextCompositeObject(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8636
PyObject *resultobj = 0;
8637
wxRichTextCompositeObject *arg1 = (wxRichTextCompositeObject *) 0 ;
8640
PyObject *swig_obj[1] ;
8642
if (!args) SWIG_fail;
8644
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextCompositeObject, SWIG_POINTER_DISOWN | 0 );
8645
if (!SWIG_IsOK(res1)) {
8646
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_RichTextCompositeObject" "', expected argument " "1"" of type '" "wxRichTextCompositeObject *""'");
8648
arg1 = reinterpret_cast< wxRichTextCompositeObject * >(argp1);
8650
PyThreadState* __tstate = wxPyBeginAllowThreads();
8653
wxPyEndAllowThreads(__tstate);
8654
if (PyErr_Occurred()) SWIG_fail;
8656
resultobj = SWIG_Py_Void();
8663
SWIGINTERN PyObject *_wrap_RichTextCompositeObject_GetChildren(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8664
PyObject *resultobj = 0;
8665
wxRichTextCompositeObject *arg1 = (wxRichTextCompositeObject *) 0 ;
8666
wxRichTextObjectList *result = 0 ;
8669
PyObject *swig_obj[1] ;
8671
if (!args) SWIG_fail;
8673
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextCompositeObject, 0 | 0 );
8674
if (!SWIG_IsOK(res1)) {
8675
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCompositeObject_GetChildren" "', expected argument " "1"" of type '" "wxRichTextCompositeObject *""'");
8677
arg1 = reinterpret_cast< wxRichTextCompositeObject * >(argp1);
8679
PyThreadState* __tstate = wxPyBeginAllowThreads();
8681
wxRichTextObjectList &_result_ref = (arg1)->GetChildren();
8682
result = (wxRichTextObjectList *) &_result_ref;
8684
wxPyEndAllowThreads(__tstate);
8685
if (PyErr_Occurred()) SWIG_fail;
8687
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxRichTextObjectList, 0 | 0 );
8694
SWIGINTERN PyObject *_wrap_RichTextCompositeObject_GetChildCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8695
PyObject *resultobj = 0;
8696
wxRichTextCompositeObject *arg1 = (wxRichTextCompositeObject *) 0 ;
8700
PyObject *swig_obj[1] ;
8702
if (!args) SWIG_fail;
8704
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextCompositeObject, 0 | 0 );
8705
if (!SWIG_IsOK(res1)) {
8706
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCompositeObject_GetChildCount" "', expected argument " "1"" of type '" "wxRichTextCompositeObject const *""'");
8708
arg1 = reinterpret_cast< wxRichTextCompositeObject * >(argp1);
8710
PyThreadState* __tstate = wxPyBeginAllowThreads();
8711
result = (size_t)((wxRichTextCompositeObject const *)arg1)->GetChildCount();
8712
wxPyEndAllowThreads(__tstate);
8713
if (PyErr_Occurred()) SWIG_fail;
8715
resultobj = SWIG_From_size_t(static_cast< size_t >(result));
8722
SWIGINTERN PyObject *_wrap_RichTextCompositeObject_GetChild(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8723
PyObject *resultobj = 0;
8724
wxRichTextCompositeObject *arg1 = (wxRichTextCompositeObject *) 0 ;
8726
wxRichTextObject *result = 0 ;
8731
PyObject * obj0 = 0 ;
8732
PyObject * obj1 = 0 ;
8733
char * kwnames[] = {
8734
(char *) "self",(char *) "n", NULL
8737
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RichTextCompositeObject_GetChild",kwnames,&obj0,&obj1)) SWIG_fail;
8738
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextCompositeObject, 0 | 0 );
8739
if (!SWIG_IsOK(res1)) {
8740
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCompositeObject_GetChild" "', expected argument " "1"" of type '" "wxRichTextCompositeObject const *""'");
8742
arg1 = reinterpret_cast< wxRichTextCompositeObject * >(argp1);
8743
ecode2 = SWIG_AsVal_size_t(obj1, &val2);
8744
if (!SWIG_IsOK(ecode2)) {
8745
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RichTextCompositeObject_GetChild" "', expected argument " "2"" of type '" "size_t""'");
8747
arg2 = static_cast< size_t >(val2);
8749
PyThreadState* __tstate = wxPyBeginAllowThreads();
8750
result = (wxRichTextObject *)((wxRichTextCompositeObject const *)arg1)->GetChild(arg2);
8751
wxPyEndAllowThreads(__tstate);
8752
if (PyErr_Occurred()) SWIG_fail;
8754
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxRichTextObject, 0 | 0 );
8761
SWIGINTERN PyObject *_wrap_RichTextCompositeObject_Copy(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8762
PyObject *resultobj = 0;
8763
wxRichTextCompositeObject *arg1 = (wxRichTextCompositeObject *) 0 ;
8764
wxRichTextCompositeObject *arg2 = 0 ;
8769
PyObject * obj0 = 0 ;
8770
PyObject * obj1 = 0 ;
8771
char * kwnames[] = {
8772
(char *) "self",(char *) "obj", NULL
8775
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RichTextCompositeObject_Copy",kwnames,&obj0,&obj1)) SWIG_fail;
8776
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextCompositeObject, 0 | 0 );
8777
if (!SWIG_IsOK(res1)) {
8778
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCompositeObject_Copy" "', expected argument " "1"" of type '" "wxRichTextCompositeObject *""'");
8780
arg1 = reinterpret_cast< wxRichTextCompositeObject * >(argp1);
8781
res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxRichTextCompositeObject, 0 | 0);
8782
if (!SWIG_IsOK(res2)) {
8783
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "RichTextCompositeObject_Copy" "', expected argument " "2"" of type '" "wxRichTextCompositeObject const &""'");
8786
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "RichTextCompositeObject_Copy" "', expected argument " "2"" of type '" "wxRichTextCompositeObject const &""'");
8788
arg2 = reinterpret_cast< wxRichTextCompositeObject * >(argp2);
8790
PyThreadState* __tstate = wxPyBeginAllowThreads();
8791
(arg1)->Copy((wxRichTextCompositeObject const &)*arg2);
8792
wxPyEndAllowThreads(__tstate);
8793
if (PyErr_Occurred()) SWIG_fail;
8795
resultobj = SWIG_Py_Void();
8802
SWIGINTERN PyObject *_wrap_RichTextCompositeObject_AppendChild(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8803
PyObject *resultobj = 0;
8804
wxRichTextCompositeObject *arg1 = (wxRichTextCompositeObject *) 0 ;
8805
wxRichTextObject *arg2 = (wxRichTextObject *) 0 ;
8810
PyObject * obj0 = 0 ;
8811
PyObject * obj1 = 0 ;
8812
char * kwnames[] = {
8813
(char *) "self",(char *) "child", NULL
8816
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RichTextCompositeObject_AppendChild",kwnames,&obj0,&obj1)) SWIG_fail;
8817
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextCompositeObject, 0 | 0 );
8818
if (!SWIG_IsOK(res1)) {
8819
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCompositeObject_AppendChild" "', expected argument " "1"" of type '" "wxRichTextCompositeObject *""'");
8821
arg1 = reinterpret_cast< wxRichTextCompositeObject * >(argp1);
8822
res2 = SWIG_ConvertPtr(obj1, SWIG_as_voidptrptr(&arg2), SWIGTYPE_p_wxRichTextObject, SWIG_POINTER_DISOWN | 0 );
8823
if (!SWIG_IsOK(res2)) {
8824
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "RichTextCompositeObject_AppendChild" "', expected argument " "2"" of type '" "wxRichTextObject *""'");
8827
PyThreadState* __tstate = wxPyBeginAllowThreads();
8828
result = (size_t)(arg1)->AppendChild(arg2);
8829
wxPyEndAllowThreads(__tstate);
8830
if (PyErr_Occurred()) SWIG_fail;
8832
resultobj = SWIG_From_size_t(static_cast< size_t >(result));
8839
SWIGINTERN PyObject *_wrap_RichTextCompositeObject_InsertChild(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8840
PyObject *resultobj = 0;
8841
wxRichTextCompositeObject *arg1 = (wxRichTextCompositeObject *) 0 ;
8842
wxRichTextObject *arg2 = (wxRichTextObject *) 0 ;
8843
wxRichTextObject *arg3 = (wxRichTextObject *) 0 ;
8850
PyObject * obj0 = 0 ;
8851
PyObject * obj1 = 0 ;
8852
PyObject * obj2 = 0 ;
8853
char * kwnames[] = {
8854
(char *) "self",(char *) "child",(char *) "inFrontOf", NULL
8857
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:RichTextCompositeObject_InsertChild",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
8858
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextCompositeObject, 0 | 0 );
8859
if (!SWIG_IsOK(res1)) {
8860
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCompositeObject_InsertChild" "', expected argument " "1"" of type '" "wxRichTextCompositeObject *""'");
8862
arg1 = reinterpret_cast< wxRichTextCompositeObject * >(argp1);
8863
res2 = SWIG_ConvertPtr(obj1, SWIG_as_voidptrptr(&arg2), SWIGTYPE_p_wxRichTextObject, SWIG_POINTER_DISOWN | 0 );
8864
if (!SWIG_IsOK(res2)) {
8865
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "RichTextCompositeObject_InsertChild" "', expected argument " "2"" of type '" "wxRichTextObject *""'");
8867
res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxRichTextObject, 0 | 0 );
8868
if (!SWIG_IsOK(res3)) {
8869
SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "RichTextCompositeObject_InsertChild" "', expected argument " "3"" of type '" "wxRichTextObject *""'");
8871
arg3 = reinterpret_cast< wxRichTextObject * >(argp3);
8873
PyThreadState* __tstate = wxPyBeginAllowThreads();
8874
result = (bool)(arg1)->InsertChild(arg2,arg3);
8875
wxPyEndAllowThreads(__tstate);
8876
if (PyErr_Occurred()) SWIG_fail;
8879
resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8887
SWIGINTERN PyObject *_wrap_RichTextCompositeObject_RemoveChild(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8888
PyObject *resultobj = 0;
8889
wxRichTextCompositeObject *arg1 = (wxRichTextCompositeObject *) 0 ;
8890
wxRichTextObject *arg2 = (wxRichTextObject *) 0 ;
8891
bool arg3 = (bool) false ;
8899
PyObject * obj0 = 0 ;
8900
PyObject * obj1 = 0 ;
8901
PyObject * obj2 = 0 ;
8902
char * kwnames[] = {
8903
(char *) "self",(char *) "child",(char *) "deleteChild", NULL
8906
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:RichTextCompositeObject_RemoveChild",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
8907
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextCompositeObject, 0 | 0 );
8908
if (!SWIG_IsOK(res1)) {
8909
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCompositeObject_RemoveChild" "', expected argument " "1"" of type '" "wxRichTextCompositeObject *""'");
8911
arg1 = reinterpret_cast< wxRichTextCompositeObject * >(argp1);
8912
res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxRichTextObject, 0 | 0 );
8913
if (!SWIG_IsOK(res2)) {
8914
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "RichTextCompositeObject_RemoveChild" "', expected argument " "2"" of type '" "wxRichTextObject *""'");
8916
arg2 = reinterpret_cast< wxRichTextObject * >(argp2);
8918
ecode3 = SWIG_AsVal_bool(obj2, &val3);
8919
if (!SWIG_IsOK(ecode3)) {
8920
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "RichTextCompositeObject_RemoveChild" "', expected argument " "3"" of type '" "bool""'");
8922
arg3 = static_cast< bool >(val3);
8925
PyThreadState* __tstate = wxPyBeginAllowThreads();
8926
result = (bool)(arg1)->RemoveChild(arg2,arg3);
8927
wxPyEndAllowThreads(__tstate);
8928
if (PyErr_Occurred()) SWIG_fail;
8931
resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8939
SWIGINTERN PyObject *_wrap_RichTextCompositeObject_DeleteChildren(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8940
PyObject *resultobj = 0;
8941
wxRichTextCompositeObject *arg1 = (wxRichTextCompositeObject *) 0 ;
8945
PyObject *swig_obj[1] ;
8947
if (!args) SWIG_fail;
8949
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextCompositeObject, 0 | 0 );
8950
if (!SWIG_IsOK(res1)) {
8951
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCompositeObject_DeleteChildren" "', expected argument " "1"" of type '" "wxRichTextCompositeObject *""'");
8953
arg1 = reinterpret_cast< wxRichTextCompositeObject * >(argp1);
8955
PyThreadState* __tstate = wxPyBeginAllowThreads();
8956
result = (bool)(arg1)->DeleteChildren();
8957
wxPyEndAllowThreads(__tstate);
8958
if (PyErr_Occurred()) SWIG_fail;
8961
resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8969
SWIGINTERN PyObject *_wrap_RichTextCompositeObject_Defragment(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8970
PyObject *resultobj = 0;
8971
wxRichTextCompositeObject *arg1 = (wxRichTextCompositeObject *) 0 ;
8975
PyObject *swig_obj[1] ;
8977
if (!args) SWIG_fail;
8979
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextCompositeObject, 0 | 0 );
8980
if (!SWIG_IsOK(res1)) {
8981
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextCompositeObject_Defragment" "', expected argument " "1"" of type '" "wxRichTextCompositeObject *""'");
8983
arg1 = reinterpret_cast< wxRichTextCompositeObject * >(argp1);
8985
PyThreadState* __tstate = wxPyBeginAllowThreads();
8986
result = (bool)(arg1)->Defragment();
8987
wxPyEndAllowThreads(__tstate);
8988
if (PyErr_Occurred()) SWIG_fail;
8991
resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8999
SWIGINTERN PyObject *RichTextCompositeObject_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9001
if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
9002
SWIG_TypeNewClientData(SWIGTYPE_p_wxRichTextCompositeObject, SWIG_NewClientData(obj));
9003
return SWIG_Py_Void();
9006
SWIGINTERN PyObject *_wrap_new_RichTextBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9007
PyObject *resultobj = 0;
9008
wxRichTextObject *arg1 = (wxRichTextObject *) NULL ;
9009
wxRichTextBox *result = 0 ;
9012
PyObject * obj0 = 0 ;
9013
char * kwnames[] = {
9014
(char *) "parent", NULL
9017
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_RichTextBox",kwnames,&obj0)) SWIG_fail;
9019
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextObject, 0 | 0 );
9020
if (!SWIG_IsOK(res1)) {
9021
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_RichTextBox" "', expected argument " "1"" of type '" "wxRichTextObject *""'");
9023
arg1 = reinterpret_cast< wxRichTextObject * >(argp1);
9026
PyThreadState* __tstate = wxPyBeginAllowThreads();
9027
result = (wxRichTextBox *)new wxRichTextBox(arg1);
9028
wxPyEndAllowThreads(__tstate);
9029
if (PyErr_Occurred()) SWIG_fail;
9031
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxRichTextBox, SWIG_POINTER_NEW | 0 );
9038
SWIGINTERN PyObject *_wrap_RichTextBox_Copy(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9039
PyObject *resultobj = 0;
9040
wxRichTextBox *arg1 = (wxRichTextBox *) 0 ;
9041
wxRichTextBox *arg2 = 0 ;
9046
PyObject * obj0 = 0 ;
9047
PyObject * obj1 = 0 ;
9048
char * kwnames[] = {
9049
(char *) "self",(char *) "obj", NULL
9052
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RichTextBox_Copy",kwnames,&obj0,&obj1)) SWIG_fail;
9053
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextBox, 0 | 0 );
9054
if (!SWIG_IsOK(res1)) {
9055
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextBox_Copy" "', expected argument " "1"" of type '" "wxRichTextBox *""'");
9057
arg1 = reinterpret_cast< wxRichTextBox * >(argp1);
9058
res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxRichTextBox, 0 | 0);
9059
if (!SWIG_IsOK(res2)) {
9060
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "RichTextBox_Copy" "', expected argument " "2"" of type '" "wxRichTextBox const &""'");
9063
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "RichTextBox_Copy" "', expected argument " "2"" of type '" "wxRichTextBox const &""'");
9065
arg2 = reinterpret_cast< wxRichTextBox * >(argp2);
9067
PyThreadState* __tstate = wxPyBeginAllowThreads();
9068
(arg1)->Copy((wxRichTextBox const &)*arg2);
9069
wxPyEndAllowThreads(__tstate);
9070
if (PyErr_Occurred()) SWIG_fail;
9072
resultobj = SWIG_Py_Void();
9079
SWIGINTERN PyObject *RichTextBox_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9081
if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
9082
SWIG_TypeNewClientData(SWIGTYPE_p_wxRichTextBox, SWIG_NewClientData(obj));
9083
return SWIG_Py_Void();
9086
SWIGINTERN PyObject *RichTextBox_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9087
return SWIG_Python_InitShadowInstance(args);
9090
SWIGINTERN PyObject *_wrap_new_RichTextParagraphLayoutBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9091
PyObject *resultobj = 0;
9092
wxRichTextObject *arg1 = (wxRichTextObject *) NULL ;
9093
wxRichTextParagraphLayoutBox *result = 0 ;
9096
PyObject * obj0 = 0 ;
9097
char * kwnames[] = {
9098
(char *) "parent", NULL
9101
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_RichTextParagraphLayoutBox",kwnames,&obj0)) SWIG_fail;
9103
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextObject, 0 | 0 );
9104
if (!SWIG_IsOK(res1)) {
9105
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_RichTextParagraphLayoutBox" "', expected argument " "1"" of type '" "wxRichTextObject *""'");
9107
arg1 = reinterpret_cast< wxRichTextObject * >(argp1);
9110
PyThreadState* __tstate = wxPyBeginAllowThreads();
9111
result = (wxRichTextParagraphLayoutBox *)new wxRichTextParagraphLayoutBox(arg1);
9112
wxPyEndAllowThreads(__tstate);
9113
if (PyErr_Occurred()) SWIG_fail;
9115
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxRichTextParagraphLayoutBox, SWIG_POINTER_NEW | 0 );
9122
SWIGINTERN PyObject *_wrap_RichTextParagraphLayoutBox_SetRichTextCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9123
PyObject *resultobj = 0;
9124
wxRichTextParagraphLayoutBox *arg1 = (wxRichTextParagraphLayoutBox *) 0 ;
9125
wxRichTextCtrl *arg2 = (wxRichTextCtrl *) 0 ;
9130
PyObject * obj0 = 0 ;
9131
PyObject * obj1 = 0 ;
9132
char * kwnames[] = {
9133
(char *) "self",(char *) "ctrl", NULL
9136
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RichTextParagraphLayoutBox_SetRichTextCtrl",kwnames,&obj0,&obj1)) SWIG_fail;
9137
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextParagraphLayoutBox, 0 | 0 );
9138
if (!SWIG_IsOK(res1)) {
9139
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextParagraphLayoutBox_SetRichTextCtrl" "', expected argument " "1"" of type '" "wxRichTextParagraphLayoutBox *""'");
9141
arg1 = reinterpret_cast< wxRichTextParagraphLayoutBox * >(argp1);
9142
res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 );
9143
if (!SWIG_IsOK(res2)) {
9144
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "RichTextParagraphLayoutBox_SetRichTextCtrl" "', expected argument " "2"" of type '" "wxRichTextCtrl *""'");
9146
arg2 = reinterpret_cast< wxRichTextCtrl * >(argp2);
9148
PyThreadState* __tstate = wxPyBeginAllowThreads();
9149
(arg1)->SetRichTextCtrl(arg2);
9150
wxPyEndAllowThreads(__tstate);
9151
if (PyErr_Occurred()) SWIG_fail;
9153
resultobj = SWIG_Py_Void();
9160
SWIGINTERN PyObject *_wrap_RichTextParagraphLayoutBox_GetRichTextCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9161
PyObject *resultobj = 0;
9162
wxRichTextParagraphLayoutBox *arg1 = (wxRichTextParagraphLayoutBox *) 0 ;
9163
wxRichTextCtrl *result = 0 ;
9166
PyObject *swig_obj[1] ;
9168
if (!args) SWIG_fail;
9170
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextParagraphLayoutBox, 0 | 0 );
9171
if (!SWIG_IsOK(res1)) {
9172
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextParagraphLayoutBox_GetRichTextCtrl" "', expected argument " "1"" of type '" "wxRichTextParagraphLayoutBox const *""'");
9174
arg1 = reinterpret_cast< wxRichTextParagraphLayoutBox * >(argp1);
9176
PyThreadState* __tstate = wxPyBeginAllowThreads();
9177
result = (wxRichTextCtrl *)((wxRichTextParagraphLayoutBox const *)arg1)->GetRichTextCtrl();
9178
wxPyEndAllowThreads(__tstate);
9179
if (PyErr_Occurred()) SWIG_fail;
9181
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxRichTextCtrl, 0 | 0 );
9188
SWIGINTERN PyObject *_wrap_RichTextParagraphLayoutBox_SetPartialParagraph(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9189
PyObject *resultobj = 0;
9190
wxRichTextParagraphLayoutBox *arg1 = (wxRichTextParagraphLayoutBox *) 0 ;
9196
PyObject * obj0 = 0 ;
9197
PyObject * obj1 = 0 ;
9198
char * kwnames[] = {
9199
(char *) "self",(char *) "partialPara", NULL
9202
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RichTextParagraphLayoutBox_SetPartialParagraph",kwnames,&obj0,&obj1)) SWIG_fail;
9203
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextParagraphLayoutBox, 0 | 0 );
9204
if (!SWIG_IsOK(res1)) {
9205
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextParagraphLayoutBox_SetPartialParagraph" "', expected argument " "1"" of type '" "wxRichTextParagraphLayoutBox *""'");
9207
arg1 = reinterpret_cast< wxRichTextParagraphLayoutBox * >(argp1);
9208
ecode2 = SWIG_AsVal_bool(obj1, &val2);
9209
if (!SWIG_IsOK(ecode2)) {
9210
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RichTextParagraphLayoutBox_SetPartialParagraph" "', expected argument " "2"" of type '" "bool""'");
9212
arg2 = static_cast< bool >(val2);
9214
PyThreadState* __tstate = wxPyBeginAllowThreads();
9215
(arg1)->SetPartialParagraph(arg2);
9216
wxPyEndAllowThreads(__tstate);
9217
if (PyErr_Occurred()) SWIG_fail;
9219
resultobj = SWIG_Py_Void();
9226
SWIGINTERN PyObject *_wrap_RichTextParagraphLayoutBox_GetPartialParagraph(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9227
PyObject *resultobj = 0;
9228
wxRichTextParagraphLayoutBox *arg1 = (wxRichTextParagraphLayoutBox *) 0 ;
9232
PyObject *swig_obj[1] ;
9234
if (!args) SWIG_fail;
9236
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextParagraphLayoutBox, 0 | 0 );
9237
if (!SWIG_IsOK(res1)) {
9238
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextParagraphLayoutBox_GetPartialParagraph" "', expected argument " "1"" of type '" "wxRichTextParagraphLayoutBox const *""'");
9240
arg1 = reinterpret_cast< wxRichTextParagraphLayoutBox * >(argp1);
9242
PyThreadState* __tstate = wxPyBeginAllowThreads();
9243
result = (bool)((wxRichTextParagraphLayoutBox const *)arg1)->GetPartialParagraph();
9244
wxPyEndAllowThreads(__tstate);
9245
if (PyErr_Occurred()) SWIG_fail;
9248
resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9256
SWIGINTERN PyObject *_wrap_RichTextParagraphLayoutBox_GetStyleSheet(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9257
PyObject *resultobj = 0;
9258
wxRichTextParagraphLayoutBox *arg1 = (wxRichTextParagraphLayoutBox *) 0 ;
9259
wxRichTextStyleSheet *result = 0 ;
9262
PyObject *swig_obj[1] ;
9264
if (!args) SWIG_fail;
9266
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextParagraphLayoutBox, 0 | 0 );
9267
if (!SWIG_IsOK(res1)) {
9268
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextParagraphLayoutBox_GetStyleSheet" "', expected argument " "1"" of type '" "wxRichTextParagraphLayoutBox const *""'");
9270
arg1 = reinterpret_cast< wxRichTextParagraphLayoutBox * >(argp1);
9272
PyThreadState* __tstate = wxPyBeginAllowThreads();
9273
result = (wxRichTextStyleSheet *)((wxRichTextParagraphLayoutBox const *)arg1)->GetStyleSheet();
9274
wxPyEndAllowThreads(__tstate);
9275
if (PyErr_Occurred()) SWIG_fail;
9277
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxRichTextStyleSheet, 0 | 0 );
9284
SWIGINTERN PyObject *_wrap_RichTextParagraphLayoutBox_Init(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9285
PyObject *resultobj = 0;
9286
wxRichTextParagraphLayoutBox *arg1 = (wxRichTextParagraphLayoutBox *) 0 ;
9289
PyObject *swig_obj[1] ;
9291
if (!args) SWIG_fail;
9293
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextParagraphLayoutBox, 0 | 0 );
9294
if (!SWIG_IsOK(res1)) {
9295
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextParagraphLayoutBox_Init" "', expected argument " "1"" of type '" "wxRichTextParagraphLayoutBox *""'");
9297
arg1 = reinterpret_cast< wxRichTextParagraphLayoutBox * >(argp1);
9299
PyThreadState* __tstate = wxPyBeginAllowThreads();
9301
wxPyEndAllowThreads(__tstate);
9302
if (PyErr_Occurred()) SWIG_fail;
9304
resultobj = SWIG_Py_Void();
9311
SWIGINTERN PyObject *_wrap_RichTextParagraphLayoutBox_Clear(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9312
PyObject *resultobj = 0;
9313
wxRichTextParagraphLayoutBox *arg1 = (wxRichTextParagraphLayoutBox *) 0 ;
9316
PyObject *swig_obj[1] ;
9318
if (!args) SWIG_fail;
9320
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextParagraphLayoutBox, 0 | 0 );
9321
if (!SWIG_IsOK(res1)) {
9322
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextParagraphLayoutBox_Clear" "', expected argument " "1"" of type '" "wxRichTextParagraphLayoutBox *""'");
9324
arg1 = reinterpret_cast< wxRichTextParagraphLayoutBox * >(argp1);
9326
PyThreadState* __tstate = wxPyBeginAllowThreads();
9328
wxPyEndAllowThreads(__tstate);
9329
if (PyErr_Occurred()) SWIG_fail;
9331
resultobj = SWIG_Py_Void();
9338
SWIGINTERN PyObject *_wrap_RichTextParagraphLayoutBox_Reset(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9339
PyObject *resultobj = 0;
9340
wxRichTextParagraphLayoutBox *arg1 = (wxRichTextParagraphLayoutBox *) 0 ;
9343
PyObject *swig_obj[1] ;
9345
if (!args) SWIG_fail;
9347
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextParagraphLayoutBox, 0 | 0 );
9348
if (!SWIG_IsOK(res1)) {
9349
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextParagraphLayoutBox_Reset" "', expected argument " "1"" of type '" "wxRichTextParagraphLayoutBox *""'");
9351
arg1 = reinterpret_cast< wxRichTextParagraphLayoutBox * >(argp1);
9353
PyThreadState* __tstate = wxPyBeginAllowThreads();
9355
wxPyEndAllowThreads(__tstate);
9356
if (PyErr_Occurred()) SWIG_fail;
9358
resultobj = SWIG_Py_Void();
9365
SWIGINTERN PyObject *_wrap_RichTextParagraphLayoutBox_AddParagraph(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9366
PyObject *resultobj = 0;
9367
wxRichTextParagraphLayoutBox *arg1 = (wxRichTextParagraphLayoutBox *) 0 ;
9368
wxString *arg2 = 0 ;
9369
wxTextAttrEx *arg3 = (wxTextAttrEx *) NULL ;
9370
wxRichTextRange result;
9373
bool temp2 = false ;
9376
PyObject * obj0 = 0 ;
9377
PyObject * obj1 = 0 ;
9378
PyObject * obj2 = 0 ;
9379
char * kwnames[] = {
9380
(char *) "self",(char *) "text",(char *) "paraStyle", NULL
9383
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:RichTextParagraphLayoutBox_AddParagraph",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
9384
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextParagraphLayoutBox, 0 | 0 );
9385
if (!SWIG_IsOK(res1)) {
9386
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextParagraphLayoutBox_AddParagraph" "', expected argument " "1"" of type '" "wxRichTextParagraphLayoutBox *""'");
9388
arg1 = reinterpret_cast< wxRichTextParagraphLayoutBox * >(argp1);
9390
arg2 = wxString_in_helper(obj1);
9391
if (arg2 == NULL) SWIG_fail;
9395
res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxTextAttrEx, 0 | 0 );
9396
if (!SWIG_IsOK(res3)) {
9397
SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "RichTextParagraphLayoutBox_AddParagraph" "', expected argument " "3"" of type '" "wxTextAttrEx *""'");
9399
arg3 = reinterpret_cast< wxTextAttrEx * >(argp3);
9402
PyThreadState* __tstate = wxPyBeginAllowThreads();
9403
result = (arg1)->AddParagraph((wxString const &)*arg2,arg3);
9404
wxPyEndAllowThreads(__tstate);
9405
if (PyErr_Occurred()) SWIG_fail;
9407
resultobj = SWIG_NewPointerObj((new wxRichTextRange(static_cast< const wxRichTextRange& >(result))), SWIGTYPE_p_wxRichTextRange, SWIG_POINTER_OWN | 0 );
9422
SWIGINTERN PyObject *_wrap_RichTextParagraphLayoutBox_AddImage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9423
PyObject *resultobj = 0;
9424
wxRichTextParagraphLayoutBox *arg1 = (wxRichTextParagraphLayoutBox *) 0 ;
9426
wxTextAttrEx *arg3 = (wxTextAttrEx *) NULL ;
9427
wxRichTextRange result;
9434
PyObject * obj0 = 0 ;
9435
PyObject * obj1 = 0 ;
9436
PyObject * obj2 = 0 ;
9437
char * kwnames[] = {
9438
(char *) "self",(char *) "image",(char *) "paraStyle", NULL
9441
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:RichTextParagraphLayoutBox_AddImage",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
9442
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextParagraphLayoutBox, 0 | 0 );
9443
if (!SWIG_IsOK(res1)) {
9444
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextParagraphLayoutBox_AddImage" "', expected argument " "1"" of type '" "wxRichTextParagraphLayoutBox *""'");
9446
arg1 = reinterpret_cast< wxRichTextParagraphLayoutBox * >(argp1);
9447
res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxImage, 0 | 0);
9448
if (!SWIG_IsOK(res2)) {
9449
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "RichTextParagraphLayoutBox_AddImage" "', expected argument " "2"" of type '" "wxImage const &""'");
9452
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "RichTextParagraphLayoutBox_AddImage" "', expected argument " "2"" of type '" "wxImage const &""'");
9454
arg2 = reinterpret_cast< wxImage * >(argp2);
9456
res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxTextAttrEx, 0 | 0 );
9457
if (!SWIG_IsOK(res3)) {
9458
SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "RichTextParagraphLayoutBox_AddImage" "', expected argument " "3"" of type '" "wxTextAttrEx *""'");
9460
arg3 = reinterpret_cast< wxTextAttrEx * >(argp3);
9463
PyThreadState* __tstate = wxPyBeginAllowThreads();
9464
result = (arg1)->AddImage((wxImage const &)*arg2,arg3);
9465
wxPyEndAllowThreads(__tstate);
9466
if (PyErr_Occurred()) SWIG_fail;
9468
resultobj = SWIG_NewPointerObj((new wxRichTextRange(static_cast< const wxRichTextRange& >(result))), SWIGTYPE_p_wxRichTextRange, SWIG_POINTER_OWN | 0 );
9475
SWIGINTERN PyObject *_wrap_RichTextParagraphLayoutBox_AddParagraphs(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9476
PyObject *resultobj = 0;
9477
wxRichTextParagraphLayoutBox *arg1 = (wxRichTextParagraphLayoutBox *) 0 ;
9478
wxString *arg2 = 0 ;
9479
wxTextAttrEx *arg3 = (wxTextAttrEx *) NULL ;
9480
wxRichTextRange result;
9483
bool temp2 = false ;
9486
PyObject * obj0 = 0 ;
9487
PyObject * obj1 = 0 ;
9488
PyObject * obj2 = 0 ;
9489
char * kwnames[] = {
9490
(char *) "self",(char *) "text",(char *) "paraStyle", NULL
9493
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:RichTextParagraphLayoutBox_AddParagraphs",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
9494
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextParagraphLayoutBox, 0 | 0 );
9495
if (!SWIG_IsOK(res1)) {
9496
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextParagraphLayoutBox_AddParagraphs" "', expected argument " "1"" of type '" "wxRichTextParagraphLayoutBox *""'");
9498
arg1 = reinterpret_cast< wxRichTextParagraphLayoutBox * >(argp1);
9500
arg2 = wxString_in_helper(obj1);
9501
if (arg2 == NULL) SWIG_fail;
9505
res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxTextAttrEx, 0 | 0 );
9506
if (!SWIG_IsOK(res3)) {
9507
SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "RichTextParagraphLayoutBox_AddParagraphs" "', expected argument " "3"" of type '" "wxTextAttrEx *""'");
9509
arg3 = reinterpret_cast< wxTextAttrEx * >(argp3);
9512
PyThreadState* __tstate = wxPyBeginAllowThreads();
9513
result = (arg1)->AddParagraphs((wxString const &)*arg2,arg3);
9514
wxPyEndAllowThreads(__tstate);
9515
if (PyErr_Occurred()) SWIG_fail;
9517
resultobj = SWIG_NewPointerObj((new wxRichTextRange(static_cast< const wxRichTextRange& >(result))), SWIGTYPE_p_wxRichTextRange, SWIG_POINTER_OWN | 0 );
9532
SWIGINTERN PyObject *_wrap_RichTextParagraphLayoutBox_GetLineAtPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9533
PyObject *resultobj = 0;
9534
wxRichTextParagraphLayoutBox *arg1 = (wxRichTextParagraphLayoutBox *) 0 ;
9536
bool arg3 = (bool) false ;
9537
wxRichTextLine *result = 0 ;
9544
PyObject * obj0 = 0 ;
9545
PyObject * obj1 = 0 ;
9546
PyObject * obj2 = 0 ;
9547
char * kwnames[] = {
9548
(char *) "self",(char *) "pos",(char *) "caretPosition", NULL
9551
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:RichTextParagraphLayoutBox_GetLineAtPosition",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
9552
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextParagraphLayoutBox, 0 | 0 );
9553
if (!SWIG_IsOK(res1)) {
9554
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextParagraphLayoutBox_GetLineAtPosition" "', expected argument " "1"" of type '" "wxRichTextParagraphLayoutBox const *""'");
9556
arg1 = reinterpret_cast< wxRichTextParagraphLayoutBox * >(argp1);
9557
ecode2 = SWIG_AsVal_long(obj1, &val2);
9558
if (!SWIG_IsOK(ecode2)) {
9559
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RichTextParagraphLayoutBox_GetLineAtPosition" "', expected argument " "2"" of type '" "long""'");
9561
arg2 = static_cast< long >(val2);
9563
ecode3 = SWIG_AsVal_bool(obj2, &val3);
9564
if (!SWIG_IsOK(ecode3)) {
9565
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "RichTextParagraphLayoutBox_GetLineAtPosition" "', expected argument " "3"" of type '" "bool""'");
9567
arg3 = static_cast< bool >(val3);
9570
PyThreadState* __tstate = wxPyBeginAllowThreads();
9571
result = (wxRichTextLine *)((wxRichTextParagraphLayoutBox const *)arg1)->GetLineAtPosition(arg2,arg3);
9572
wxPyEndAllowThreads(__tstate);
9573
if (PyErr_Occurred()) SWIG_fail;
9575
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxRichTextLine, 0 | 0 );
9582
SWIGINTERN PyObject *_wrap_RichTextParagraphLayoutBox_GetLineAtYPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9583
PyObject *resultobj = 0;
9584
wxRichTextParagraphLayoutBox *arg1 = (wxRichTextParagraphLayoutBox *) 0 ;
9586
wxRichTextLine *result = 0 ;
9591
PyObject * obj0 = 0 ;
9592
PyObject * obj1 = 0 ;
9593
char * kwnames[] = {
9594
(char *) "self",(char *) "y", NULL
9597
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RichTextParagraphLayoutBox_GetLineAtYPosition",kwnames,&obj0,&obj1)) SWIG_fail;
9598
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextParagraphLayoutBox, 0 | 0 );
9599
if (!SWIG_IsOK(res1)) {
9600
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextParagraphLayoutBox_GetLineAtYPosition" "', expected argument " "1"" of type '" "wxRichTextParagraphLayoutBox const *""'");
9602
arg1 = reinterpret_cast< wxRichTextParagraphLayoutBox * >(argp1);
9603
ecode2 = SWIG_AsVal_int(obj1, &val2);
9604
if (!SWIG_IsOK(ecode2)) {
9605
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RichTextParagraphLayoutBox_GetLineAtYPosition" "', expected argument " "2"" of type '" "int""'");
9607
arg2 = static_cast< int >(val2);
9609
PyThreadState* __tstate = wxPyBeginAllowThreads();
9610
result = (wxRichTextLine *)((wxRichTextParagraphLayoutBox const *)arg1)->GetLineAtYPosition(arg2);
9611
wxPyEndAllowThreads(__tstate);
9612
if (PyErr_Occurred()) SWIG_fail;
9614
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxRichTextLine, 0 | 0 );
9621
SWIGINTERN PyObject *_wrap_RichTextParagraphLayoutBox_GetParagraphAtPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9622
PyObject *resultobj = 0;
9623
wxRichTextParagraphLayoutBox *arg1 = (wxRichTextParagraphLayoutBox *) 0 ;
9625
bool arg3 = (bool) false ;
9626
wxRichTextParagraph *result = 0 ;
9633
PyObject * obj0 = 0 ;
9634
PyObject * obj1 = 0 ;
9635
PyObject * obj2 = 0 ;
9636
char * kwnames[] = {
9637
(char *) "self",(char *) "pos",(char *) "caretPosition", NULL
9640
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:RichTextParagraphLayoutBox_GetParagraphAtPosition",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
9641
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextParagraphLayoutBox, 0 | 0 );
9642
if (!SWIG_IsOK(res1)) {
9643
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextParagraphLayoutBox_GetParagraphAtPosition" "', expected argument " "1"" of type '" "wxRichTextParagraphLayoutBox const *""'");
9645
arg1 = reinterpret_cast< wxRichTextParagraphLayoutBox * >(argp1);
9646
ecode2 = SWIG_AsVal_long(obj1, &val2);
9647
if (!SWIG_IsOK(ecode2)) {
9648
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RichTextParagraphLayoutBox_GetParagraphAtPosition" "', expected argument " "2"" of type '" "long""'");
9650
arg2 = static_cast< long >(val2);
9652
ecode3 = SWIG_AsVal_bool(obj2, &val3);
9653
if (!SWIG_IsOK(ecode3)) {
9654
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "RichTextParagraphLayoutBox_GetParagraphAtPosition" "', expected argument " "3"" of type '" "bool""'");
9656
arg3 = static_cast< bool >(val3);
9659
PyThreadState* __tstate = wxPyBeginAllowThreads();
9660
result = (wxRichTextParagraph *)((wxRichTextParagraphLayoutBox const *)arg1)->GetParagraphAtPosition(arg2,arg3);
9661
wxPyEndAllowThreads(__tstate);
9662
if (PyErr_Occurred()) SWIG_fail;
9664
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxRichTextParagraph, 0 | 0 );
9671
SWIGINTERN PyObject *_wrap_RichTextParagraphLayoutBox_GetLineSizeAtPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9672
PyObject *resultobj = 0;
9673
wxRichTextParagraphLayoutBox *arg1 = (wxRichTextParagraphLayoutBox *) 0 ;
9675
bool arg3 = (bool) false ;
9683
PyObject * obj0 = 0 ;
9684
PyObject * obj1 = 0 ;
9685
PyObject * obj2 = 0 ;
9686
char * kwnames[] = {
9687
(char *) "self",(char *) "pos",(char *) "caretPosition", NULL
9690
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:RichTextParagraphLayoutBox_GetLineSizeAtPosition",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
9691
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextParagraphLayoutBox, 0 | 0 );
9692
if (!SWIG_IsOK(res1)) {
9693
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextParagraphLayoutBox_GetLineSizeAtPosition" "', expected argument " "1"" of type '" "wxRichTextParagraphLayoutBox const *""'");
9695
arg1 = reinterpret_cast< wxRichTextParagraphLayoutBox * >(argp1);
9696
ecode2 = SWIG_AsVal_long(obj1, &val2);
9697
if (!SWIG_IsOK(ecode2)) {
9698
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RichTextParagraphLayoutBox_GetLineSizeAtPosition" "', expected argument " "2"" of type '" "long""'");
9700
arg2 = static_cast< long >(val2);
9702
ecode3 = SWIG_AsVal_bool(obj2, &val3);
9703
if (!SWIG_IsOK(ecode3)) {
9704
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "RichTextParagraphLayoutBox_GetLineSizeAtPosition" "', expected argument " "3"" of type '" "bool""'");
9706
arg3 = static_cast< bool >(val3);
9709
PyThreadState* __tstate = wxPyBeginAllowThreads();
9710
result = ((wxRichTextParagraphLayoutBox const *)arg1)->GetLineSizeAtPosition(arg2,arg3);
9711
wxPyEndAllowThreads(__tstate);
9712
if (PyErr_Occurred()) SWIG_fail;
9714
resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 );
9721
SWIGINTERN PyObject *_wrap_RichTextParagraphLayoutBox_GetVisibleLineNumber(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9722
PyObject *resultobj = 0;
9723
wxRichTextParagraphLayoutBox *arg1 = (wxRichTextParagraphLayoutBox *) 0 ;
9725
bool arg3 = (bool) false ;
9726
bool arg4 = (bool) false ;
9736
PyObject * obj0 = 0 ;
9737
PyObject * obj1 = 0 ;
9738
PyObject * obj2 = 0 ;
9739
PyObject * obj3 = 0 ;
9740
char * kwnames[] = {
9741
(char *) "self",(char *) "pos",(char *) "caretPosition",(char *) "startOfLine", NULL
9744
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:RichTextParagraphLayoutBox_GetVisibleLineNumber",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
9745
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextParagraphLayoutBox, 0 | 0 );
9746
if (!SWIG_IsOK(res1)) {
9747
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextParagraphLayoutBox_GetVisibleLineNumber" "', expected argument " "1"" of type '" "wxRichTextParagraphLayoutBox const *""'");
9749
arg1 = reinterpret_cast< wxRichTextParagraphLayoutBox * >(argp1);
9750
ecode2 = SWIG_AsVal_long(obj1, &val2);
9751
if (!SWIG_IsOK(ecode2)) {
9752
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RichTextParagraphLayoutBox_GetVisibleLineNumber" "', expected argument " "2"" of type '" "long""'");
9754
arg2 = static_cast< long >(val2);
9756
ecode3 = SWIG_AsVal_bool(obj2, &val3);
9757
if (!SWIG_IsOK(ecode3)) {
9758
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "RichTextParagraphLayoutBox_GetVisibleLineNumber" "', expected argument " "3"" of type '" "bool""'");
9760
arg3 = static_cast< bool >(val3);
9763
ecode4 = SWIG_AsVal_bool(obj3, &val4);
9764
if (!SWIG_IsOK(ecode4)) {
9765
SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "RichTextParagraphLayoutBox_GetVisibleLineNumber" "', expected argument " "4"" of type '" "bool""'");
9767
arg4 = static_cast< bool >(val4);
9770
PyThreadState* __tstate = wxPyBeginAllowThreads();
9771
result = (long)((wxRichTextParagraphLayoutBox const *)arg1)->GetVisibleLineNumber(arg2,arg3,arg4);
9772
wxPyEndAllowThreads(__tstate);
9773
if (PyErr_Occurred()) SWIG_fail;
9775
resultobj = SWIG_From_long(static_cast< long >(result));
9782
SWIGINTERN PyObject *_wrap_RichTextParagraphLayoutBox_GetLineForVisibleLineNumber(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9783
PyObject *resultobj = 0;
9784
wxRichTextParagraphLayoutBox *arg1 = (wxRichTextParagraphLayoutBox *) 0 ;
9786
wxRichTextLine *result = 0 ;
9791
PyObject * obj0 = 0 ;
9792
PyObject * obj1 = 0 ;
9793
char * kwnames[] = {
9794
(char *) "self",(char *) "lineNumber", NULL
9797
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RichTextParagraphLayoutBox_GetLineForVisibleLineNumber",kwnames,&obj0,&obj1)) SWIG_fail;
9798
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextParagraphLayoutBox, 0 | 0 );
9799
if (!SWIG_IsOK(res1)) {
9800
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextParagraphLayoutBox_GetLineForVisibleLineNumber" "', expected argument " "1"" of type '" "wxRichTextParagraphLayoutBox const *""'");
9802
arg1 = reinterpret_cast< wxRichTextParagraphLayoutBox * >(argp1);
9803
ecode2 = SWIG_AsVal_long(obj1, &val2);
9804
if (!SWIG_IsOK(ecode2)) {
9805
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RichTextParagraphLayoutBox_GetLineForVisibleLineNumber" "', expected argument " "2"" of type '" "long""'");
9807
arg2 = static_cast< long >(val2);
9809
PyThreadState* __tstate = wxPyBeginAllowThreads();
9810
result = (wxRichTextLine *)((wxRichTextParagraphLayoutBox const *)arg1)->GetLineForVisibleLineNumber(arg2);
9811
wxPyEndAllowThreads(__tstate);
9812
if (PyErr_Occurred()) SWIG_fail;
9814
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxRichTextLine, 0 | 0 );
9821
SWIGINTERN PyObject *_wrap_RichTextParagraphLayoutBox_GetLeafObjectAtPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9822
PyObject *resultobj = 0;
9823
wxRichTextParagraphLayoutBox *arg1 = (wxRichTextParagraphLayoutBox *) 0 ;
9825
wxRichTextObject *result = 0 ;
9830
PyObject * obj0 = 0 ;
9831
PyObject * obj1 = 0 ;
9832
char * kwnames[] = {
9833
(char *) "self",(char *) "position", NULL
9836
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RichTextParagraphLayoutBox_GetLeafObjectAtPosition",kwnames,&obj0,&obj1)) SWIG_fail;
9837
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextParagraphLayoutBox, 0 | 0 );
9838
if (!SWIG_IsOK(res1)) {
9839
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextParagraphLayoutBox_GetLeafObjectAtPosition" "', expected argument " "1"" of type '" "wxRichTextParagraphLayoutBox const *""'");
9841
arg1 = reinterpret_cast< wxRichTextParagraphLayoutBox * >(argp1);
9842
ecode2 = SWIG_AsVal_long(obj1, &val2);
9843
if (!SWIG_IsOK(ecode2)) {
9844
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RichTextParagraphLayoutBox_GetLeafObjectAtPosition" "', expected argument " "2"" of type '" "long""'");
9846
arg2 = static_cast< long >(val2);
9848
PyThreadState* __tstate = wxPyBeginAllowThreads();
9849
result = (wxRichTextObject *)((wxRichTextParagraphLayoutBox const *)arg1)->GetLeafObjectAtPosition(arg2);
9850
wxPyEndAllowThreads(__tstate);
9851
if (PyErr_Occurred()) SWIG_fail;
9853
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxRichTextObject, 0 | 0 );
9860
SWIGINTERN PyObject *_wrap_RichTextParagraphLayoutBox_GetParagraphAtLine(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9861
PyObject *resultobj = 0;
9862
wxRichTextParagraphLayoutBox *arg1 = (wxRichTextParagraphLayoutBox *) 0 ;
9864
wxRichTextParagraph *result = 0 ;
9869
PyObject * obj0 = 0 ;
9870
PyObject * obj1 = 0 ;
9871
char * kwnames[] = {
9872
(char *) "self",(char *) "paragraphNumber", NULL
9875
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RichTextParagraphLayoutBox_GetParagraphAtLine",kwnames,&obj0,&obj1)) SWIG_fail;
9876
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextParagraphLayoutBox, 0 | 0 );
9877
if (!SWIG_IsOK(res1)) {
9878
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextParagraphLayoutBox_GetParagraphAtLine" "', expected argument " "1"" of type '" "wxRichTextParagraphLayoutBox const *""'");
9880
arg1 = reinterpret_cast< wxRichTextParagraphLayoutBox * >(argp1);
9881
ecode2 = SWIG_AsVal_long(obj1, &val2);
9882
if (!SWIG_IsOK(ecode2)) {
9883
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RichTextParagraphLayoutBox_GetParagraphAtLine" "', expected argument " "2"" of type '" "long""'");
9885
arg2 = static_cast< long >(val2);
9887
PyThreadState* __tstate = wxPyBeginAllowThreads();
9888
result = (wxRichTextParagraph *)((wxRichTextParagraphLayoutBox const *)arg1)->GetParagraphAtLine(arg2);
9889
wxPyEndAllowThreads(__tstate);
9890
if (PyErr_Occurred()) SWIG_fail;
9892
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxRichTextParagraph, 0 | 0 );
9899
SWIGINTERN PyObject *_wrap_RichTextParagraphLayoutBox_GetParagraphForLine(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9900
PyObject *resultobj = 0;
9901
wxRichTextParagraphLayoutBox *arg1 = (wxRichTextParagraphLayoutBox *) 0 ;
9902
wxRichTextLine *arg2 = (wxRichTextLine *) 0 ;
9903
wxRichTextParagraph *result = 0 ;
9908
PyObject * obj0 = 0 ;
9909
PyObject * obj1 = 0 ;
9910
char * kwnames[] = {
9911
(char *) "self",(char *) "line", NULL
9914
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RichTextParagraphLayoutBox_GetParagraphForLine",kwnames,&obj0,&obj1)) SWIG_fail;
9915
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextParagraphLayoutBox, 0 | 0 );
9916
if (!SWIG_IsOK(res1)) {
9917
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextParagraphLayoutBox_GetParagraphForLine" "', expected argument " "1"" of type '" "wxRichTextParagraphLayoutBox const *""'");
9919
arg1 = reinterpret_cast< wxRichTextParagraphLayoutBox * >(argp1);
9920
res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxRichTextLine, 0 | 0 );
9921
if (!SWIG_IsOK(res2)) {
9922
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "RichTextParagraphLayoutBox_GetParagraphForLine" "', expected argument " "2"" of type '" "wxRichTextLine *""'");
9924
arg2 = reinterpret_cast< wxRichTextLine * >(argp2);
9926
PyThreadState* __tstate = wxPyBeginAllowThreads();
9927
result = (wxRichTextParagraph *)((wxRichTextParagraphLayoutBox const *)arg1)->GetParagraphForLine(arg2);
9928
wxPyEndAllowThreads(__tstate);
9929
if (PyErr_Occurred()) SWIG_fail;
9931
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxRichTextParagraph, 0 | 0 );
9938
SWIGINTERN PyObject *_wrap_RichTextParagraphLayoutBox_GetParagraphLength(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9939
PyObject *resultobj = 0;
9940
wxRichTextParagraphLayoutBox *arg1 = (wxRichTextParagraphLayoutBox *) 0 ;
9947
PyObject * obj0 = 0 ;
9948
PyObject * obj1 = 0 ;
9949
char * kwnames[] = {
9950
(char *) "self",(char *) "paragraphNumber", NULL
9953
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RichTextParagraphLayoutBox_GetParagraphLength",kwnames,&obj0,&obj1)) SWIG_fail;
9954
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextParagraphLayoutBox, 0 | 0 );
9955
if (!SWIG_IsOK(res1)) {
9956
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextParagraphLayoutBox_GetParagraphLength" "', expected argument " "1"" of type '" "wxRichTextParagraphLayoutBox const *""'");
9958
arg1 = reinterpret_cast< wxRichTextParagraphLayoutBox * >(argp1);
9959
ecode2 = SWIG_AsVal_long(obj1, &val2);
9960
if (!SWIG_IsOK(ecode2)) {
9961
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RichTextParagraphLayoutBox_GetParagraphLength" "', expected argument " "2"" of type '" "long""'");
9963
arg2 = static_cast< long >(val2);
9965
PyThreadState* __tstate = wxPyBeginAllowThreads();
9966
result = (int)((wxRichTextParagraphLayoutBox const *)arg1)->GetParagraphLength(arg2);
9967
wxPyEndAllowThreads(__tstate);
9968
if (PyErr_Occurred()) SWIG_fail;
9970
resultobj = SWIG_From_int(static_cast< int >(result));
9977
SWIGINTERN PyObject *_wrap_RichTextParagraphLayoutBox_GetParagraphCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9978
PyObject *resultobj = 0;
9979
wxRichTextParagraphLayoutBox *arg1 = (wxRichTextParagraphLayoutBox *) 0 ;
9983
PyObject *swig_obj[1] ;
9985
if (!args) SWIG_fail;
9987
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextParagraphLayoutBox, 0 | 0 );
9988
if (!SWIG_IsOK(res1)) {
9989
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextParagraphLayoutBox_GetParagraphCount" "', expected argument " "1"" of type '" "wxRichTextParagraphLayoutBox const *""'");
9991
arg1 = reinterpret_cast< wxRichTextParagraphLayoutBox * >(argp1);
9993
PyThreadState* __tstate = wxPyBeginAllowThreads();
9994
result = (int)((wxRichTextParagraphLayoutBox const *)arg1)->GetParagraphCount();
9995
wxPyEndAllowThreads(__tstate);
9996
if (PyErr_Occurred()) SWIG_fail;
9998
resultobj = SWIG_From_int(static_cast< int >(result));
10005
SWIGINTERN PyObject *_wrap_RichTextParagraphLayoutBox_GetLineCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10006
PyObject *resultobj = 0;
10007
wxRichTextParagraphLayoutBox *arg1 = (wxRichTextParagraphLayoutBox *) 0 ;
10011
PyObject *swig_obj[1] ;
10013
if (!args) SWIG_fail;
10014
swig_obj[0] = args;
10015
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextParagraphLayoutBox, 0 | 0 );
10016
if (!SWIG_IsOK(res1)) {
10017
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextParagraphLayoutBox_GetLineCount" "', expected argument " "1"" of type '" "wxRichTextParagraphLayoutBox const *""'");
10019
arg1 = reinterpret_cast< wxRichTextParagraphLayoutBox * >(argp1);
10021
PyThreadState* __tstate = wxPyBeginAllowThreads();
10022
result = (int)((wxRichTextParagraphLayoutBox const *)arg1)->GetLineCount();
10023
wxPyEndAllowThreads(__tstate);
10024
if (PyErr_Occurred()) SWIG_fail;
10026
resultobj = SWIG_From_int(static_cast< int >(result));
10033
SWIGINTERN PyObject *_wrap_RichTextParagraphLayoutBox_GetParagraphText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10034
PyObject *resultobj = 0;
10035
wxRichTextParagraphLayoutBox *arg1 = (wxRichTextParagraphLayoutBox *) 0 ;
10042
PyObject * obj0 = 0 ;
10043
PyObject * obj1 = 0 ;
10044
char * kwnames[] = {
10045
(char *) "self",(char *) "paragraphNumber", NULL
10048
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RichTextParagraphLayoutBox_GetParagraphText",kwnames,&obj0,&obj1)) SWIG_fail;
10049
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextParagraphLayoutBox, 0 | 0 );
10050
if (!SWIG_IsOK(res1)) {
10051
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextParagraphLayoutBox_GetParagraphText" "', expected argument " "1"" of type '" "wxRichTextParagraphLayoutBox const *""'");
10053
arg1 = reinterpret_cast< wxRichTextParagraphLayoutBox * >(argp1);
10054
ecode2 = SWIG_AsVal_long(obj1, &val2);
10055
if (!SWIG_IsOK(ecode2)) {
10056
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RichTextParagraphLayoutBox_GetParagraphText" "', expected argument " "2"" of type '" "long""'");
10058
arg2 = static_cast< long >(val2);
10060
PyThreadState* __tstate = wxPyBeginAllowThreads();
10061
result = ((wxRichTextParagraphLayoutBox const *)arg1)->GetParagraphText(arg2);
10062
wxPyEndAllowThreads(__tstate);
10063
if (PyErr_Occurred()) SWIG_fail;
10067
resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
10069
resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
10078
SWIGINTERN PyObject *_wrap_RichTextParagraphLayoutBox_XYToPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10079
PyObject *resultobj = 0;
10080
wxRichTextParagraphLayoutBox *arg1 = (wxRichTextParagraphLayoutBox *) 0 ;
10090
PyObject * obj0 = 0 ;
10091
PyObject * obj1 = 0 ;
10092
PyObject * obj2 = 0 ;
10093
char * kwnames[] = {
10094
(char *) "self",(char *) "x",(char *) "y", NULL
10097
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:RichTextParagraphLayoutBox_XYToPosition",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
10098
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextParagraphLayoutBox, 0 | 0 );
10099
if (!SWIG_IsOK(res1)) {
10100
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextParagraphLayoutBox_XYToPosition" "', expected argument " "1"" of type '" "wxRichTextParagraphLayoutBox const *""'");
10102
arg1 = reinterpret_cast< wxRichTextParagraphLayoutBox * >(argp1);
10103
ecode2 = SWIG_AsVal_long(obj1, &val2);
10104
if (!SWIG_IsOK(ecode2)) {
10105
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RichTextParagraphLayoutBox_XYToPosition" "', expected argument " "2"" of type '" "long""'");
10107
arg2 = static_cast< long >(val2);
10108
ecode3 = SWIG_AsVal_long(obj2, &val3);
10109
if (!SWIG_IsOK(ecode3)) {
10110
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "RichTextParagraphLayoutBox_XYToPosition" "', expected argument " "3"" of type '" "long""'");
10112
arg3 = static_cast< long >(val3);
10114
PyThreadState* __tstate = wxPyBeginAllowThreads();
10115
result = (long)((wxRichTextParagraphLayoutBox const *)arg1)->XYToPosition(arg2,arg3);
10116
wxPyEndAllowThreads(__tstate);
10117
if (PyErr_Occurred()) SWIG_fail;
10119
resultobj = SWIG_From_long(static_cast< long >(result));
10126
SWIGINTERN PyObject *_wrap_RichTextParagraphLayoutBox_PositionToXY(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10127
PyObject *resultobj = 0;
10128
wxRichTextParagraphLayoutBox *arg1 = (wxRichTextParagraphLayoutBox *) 0 ;
10130
long *arg3 = (long *) 0 ;
10131
long *arg4 = (long *) 0 ;
10141
PyObject * obj0 = 0 ;
10142
PyObject * obj1 = 0 ;
10143
PyObject * obj2 = 0 ;
10144
PyObject * obj3 = 0 ;
10145
char * kwnames[] = {
10146
(char *) "self",(char *) "pos",(char *) "x",(char *) "y", NULL
10149
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:RichTextParagraphLayoutBox_PositionToXY",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
10150
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextParagraphLayoutBox, 0 | 0 );
10151
if (!SWIG_IsOK(res1)) {
10152
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextParagraphLayoutBox_PositionToXY" "', expected argument " "1"" of type '" "wxRichTextParagraphLayoutBox const *""'");
10154
arg1 = reinterpret_cast< wxRichTextParagraphLayoutBox * >(argp1);
10155
ecode2 = SWIG_AsVal_long(obj1, &val2);
10156
if (!SWIG_IsOK(ecode2)) {
10157
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RichTextParagraphLayoutBox_PositionToXY" "', expected argument " "2"" of type '" "long""'");
10159
arg2 = static_cast< long >(val2);
10160
res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_long, 0 | 0 );
10161
if (!SWIG_IsOK(res3)) {
10162
SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "RichTextParagraphLayoutBox_PositionToXY" "', expected argument " "3"" of type '" "long *""'");
10164
arg3 = reinterpret_cast< long * >(argp3);
10165
res4 = SWIG_ConvertPtr(obj3, &argp4,SWIGTYPE_p_long, 0 | 0 );
10166
if (!SWIG_IsOK(res4)) {
10167
SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "RichTextParagraphLayoutBox_PositionToXY" "', expected argument " "4"" of type '" "long *""'");
10169
arg4 = reinterpret_cast< long * >(argp4);
10171
PyThreadState* __tstate = wxPyBeginAllowThreads();
10172
result = (bool)((wxRichTextParagraphLayoutBox const *)arg1)->PositionToXY(arg2,arg3,arg4);
10173
wxPyEndAllowThreads(__tstate);
10174
if (PyErr_Occurred()) SWIG_fail;
10177
resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10185
SWIGINTERN PyObject *_wrap_RichTextParagraphLayoutBox_SetStyle(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10186
PyObject *resultobj = 0;
10187
wxRichTextParagraphLayoutBox *arg1 = (wxRichTextParagraphLayoutBox *) 0 ;
10188
wxRichTextRange *arg2 = 0 ;
10189
wxTextAttrEx *arg3 = 0 ;
10190
int arg4 = (int) wxRICHTEXT_SETSTYLE_WITH_UNDO ;
10194
wxRichTextRange temp2 ;
10199
PyObject * obj0 = 0 ;
10200
PyObject * obj1 = 0 ;
10201
PyObject * obj2 = 0 ;
10202
PyObject * obj3 = 0 ;
10203
char * kwnames[] = {
10204
(char *) "self",(char *) "range",(char *) "style",(char *) "flags", NULL
10207
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:RichTextParagraphLayoutBox_SetStyle",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
10208
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextParagraphLayoutBox, 0 | 0 );
10209
if (!SWIG_IsOK(res1)) {
10210
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextParagraphLayoutBox_SetStyle" "', expected argument " "1"" of type '" "wxRichTextParagraphLayoutBox *""'");
10212
arg1 = reinterpret_cast< wxRichTextParagraphLayoutBox * >(argp1);
10215
if ( ! wxRichTextRange_helper(obj1, &arg2)) SWIG_fail;
10217
res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxTextAttrEx, 0 | 0);
10218
if (!SWIG_IsOK(res3)) {
10219
SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "RichTextParagraphLayoutBox_SetStyle" "', expected argument " "3"" of type '" "wxTextAttrEx const &""'");
10222
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "RichTextParagraphLayoutBox_SetStyle" "', expected argument " "3"" of type '" "wxTextAttrEx const &""'");
10224
arg3 = reinterpret_cast< wxTextAttrEx * >(argp3);
10226
ecode4 = SWIG_AsVal_int(obj3, &val4);
10227
if (!SWIG_IsOK(ecode4)) {
10228
SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "RichTextParagraphLayoutBox_SetStyle" "', expected argument " "4"" of type '" "int""'");
10230
arg4 = static_cast< int >(val4);
10233
PyThreadState* __tstate = wxPyBeginAllowThreads();
10234
result = (bool)(arg1)->SetStyle((wxRichTextRange const &)*arg2,(wxTextAttrEx const &)*arg3,arg4);
10235
wxPyEndAllowThreads(__tstate);
10236
if (PyErr_Occurred()) SWIG_fail;
10239
resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10247
SWIGINTERN PyObject *_wrap_RichTextParagraphLayoutBox_GetStyle(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10248
PyObject *resultobj = 0;
10249
wxRichTextParagraphLayoutBox *arg1 = (wxRichTextParagraphLayoutBox *) 0 ;
10251
wxTextAttrEx *arg3 = 0 ;
10259
PyObject * obj0 = 0 ;
10260
PyObject * obj1 = 0 ;
10261
PyObject * obj2 = 0 ;
10262
char * kwnames[] = {
10263
(char *) "self",(char *) "position",(char *) "style", NULL
10266
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:RichTextParagraphLayoutBox_GetStyle",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
10267
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextParagraphLayoutBox, 0 | 0 );
10268
if (!SWIG_IsOK(res1)) {
10269
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextParagraphLayoutBox_GetStyle" "', expected argument " "1"" of type '" "wxRichTextParagraphLayoutBox *""'");
10271
arg1 = reinterpret_cast< wxRichTextParagraphLayoutBox * >(argp1);
10272
ecode2 = SWIG_AsVal_long(obj1, &val2);
10273
if (!SWIG_IsOK(ecode2)) {
10274
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RichTextParagraphLayoutBox_GetStyle" "', expected argument " "2"" of type '" "long""'");
10276
arg2 = static_cast< long >(val2);
10277
res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxTextAttrEx, 0 );
10278
if (!SWIG_IsOK(res3)) {
10279
SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "RichTextParagraphLayoutBox_GetStyle" "', expected argument " "3"" of type '" "wxTextAttrEx &""'");
10282
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "RichTextParagraphLayoutBox_GetStyle" "', expected argument " "3"" of type '" "wxTextAttrEx &""'");
10284
arg3 = reinterpret_cast< wxTextAttrEx * >(argp3);
10286
PyThreadState* __tstate = wxPyBeginAllowThreads();
10287
result = (bool)(arg1)->GetStyle(arg2,*arg3);
10288
wxPyEndAllowThreads(__tstate);
10289
if (PyErr_Occurred()) SWIG_fail;
10292
resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10300
SWIGINTERN PyObject *_wrap_RichTextParagraphLayoutBox_GetUncombinedStyle(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10301
PyObject *resultobj = 0;
10302
wxRichTextParagraphLayoutBox *arg1 = (wxRichTextParagraphLayoutBox *) 0 ;
10304
wxTextAttrEx *arg3 = 0 ;
10312
PyObject * obj0 = 0 ;
10313
PyObject * obj1 = 0 ;
10314
PyObject * obj2 = 0 ;
10315
char * kwnames[] = {
10316
(char *) "self",(char *) "position",(char *) "style", NULL
10319
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:RichTextParagraphLayoutBox_GetUncombinedStyle",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
10320
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextParagraphLayoutBox, 0 | 0 );
10321
if (!SWIG_IsOK(res1)) {
10322
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextParagraphLayoutBox_GetUncombinedStyle" "', expected argument " "1"" of type '" "wxRichTextParagraphLayoutBox *""'");
10324
arg1 = reinterpret_cast< wxRichTextParagraphLayoutBox * >(argp1);
10325
ecode2 = SWIG_AsVal_long(obj1, &val2);
10326
if (!SWIG_IsOK(ecode2)) {
10327
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RichTextParagraphLayoutBox_GetUncombinedStyle" "', expected argument " "2"" of type '" "long""'");
10329
arg2 = static_cast< long >(val2);
10330
res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxTextAttrEx, 0 );
10331
if (!SWIG_IsOK(res3)) {
10332
SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "RichTextParagraphLayoutBox_GetUncombinedStyle" "', expected argument " "3"" of type '" "wxTextAttrEx &""'");
10335
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "RichTextParagraphLayoutBox_GetUncombinedStyle" "', expected argument " "3"" of type '" "wxTextAttrEx &""'");
10337
arg3 = reinterpret_cast< wxTextAttrEx * >(argp3);
10339
PyThreadState* __tstate = wxPyBeginAllowThreads();
10340
result = (bool)(arg1)->GetUncombinedStyle(arg2,*arg3);
10341
wxPyEndAllowThreads(__tstate);
10342
if (PyErr_Occurred()) SWIG_fail;
10345
resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10353
SWIGINTERN PyObject *_wrap_RichTextParagraphLayoutBox_GetStyleForRange(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10354
PyObject *resultobj = 0;
10355
wxRichTextParagraphLayoutBox *arg1 = (wxRichTextParagraphLayoutBox *) 0 ;
10356
wxRichTextRange *arg2 = 0 ;
10357
wxTextAttrEx *arg3 = 0 ;
10361
wxRichTextRange temp2 ;
10364
PyObject * obj0 = 0 ;
10365
PyObject * obj1 = 0 ;
10366
PyObject * obj2 = 0 ;
10367
char * kwnames[] = {
10368
(char *) "self",(char *) "range",(char *) "style", NULL
10371
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:RichTextParagraphLayoutBox_GetStyleForRange",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
10372
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextParagraphLayoutBox, 0 | 0 );
10373
if (!SWIG_IsOK(res1)) {
10374
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextParagraphLayoutBox_GetStyleForRange" "', expected argument " "1"" of type '" "wxRichTextParagraphLayoutBox *""'");
10376
arg1 = reinterpret_cast< wxRichTextParagraphLayoutBox * >(argp1);
10379
if ( ! wxRichTextRange_helper(obj1, &arg2)) SWIG_fail;
10381
res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxTextAttrEx, 0 );
10382
if (!SWIG_IsOK(res3)) {
10383
SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "RichTextParagraphLayoutBox_GetStyleForRange" "', expected argument " "3"" of type '" "wxTextAttrEx &""'");
10386
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "RichTextParagraphLayoutBox_GetStyleForRange" "', expected argument " "3"" of type '" "wxTextAttrEx &""'");
10388
arg3 = reinterpret_cast< wxTextAttrEx * >(argp3);
10390
PyThreadState* __tstate = wxPyBeginAllowThreads();
10391
result = (bool)(arg1)->GetStyleForRange((wxRichTextRange const &)*arg2,*arg3);
10392
wxPyEndAllowThreads(__tstate);
10393
if (PyErr_Occurred()) SWIG_fail;
10396
resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10404
SWIGINTERN PyObject *_wrap_RichTextParagraphLayoutBox_CollectStyle(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10405
PyObject *resultobj = 0;
10406
wxRichTextParagraphLayoutBox *arg1 = (wxRichTextParagraphLayoutBox *) 0 ;
10407
wxTextAttrEx *arg2 = 0 ;
10408
wxTextAttrEx *arg3 = 0 ;
10422
PyObject * obj0 = 0 ;
10423
PyObject * obj1 = 0 ;
10424
PyObject * obj2 = 0 ;
10425
PyObject * obj3 = 0 ;
10426
PyObject * obj4 = 0 ;
10427
char * kwnames[] = {
10428
(char *) "self",(char *) "currentStyle",(char *) "style",(char *) "multipleStyleAttributes",(char *) "multipleTextEffectAttributes", NULL
10431
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:RichTextParagraphLayoutBox_CollectStyle",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
10432
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextParagraphLayoutBox, 0 | 0 );
10433
if (!SWIG_IsOK(res1)) {
10434
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextParagraphLayoutBox_CollectStyle" "', expected argument " "1"" of type '" "wxRichTextParagraphLayoutBox *""'");
10436
arg1 = reinterpret_cast< wxRichTextParagraphLayoutBox * >(argp1);
10437
res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTextAttrEx, 0 );
10438
if (!SWIG_IsOK(res2)) {
10439
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "RichTextParagraphLayoutBox_CollectStyle" "', expected argument " "2"" of type '" "wxTextAttrEx &""'");
10442
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "RichTextParagraphLayoutBox_CollectStyle" "', expected argument " "2"" of type '" "wxTextAttrEx &""'");
10444
arg2 = reinterpret_cast< wxTextAttrEx * >(argp2);
10445
res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxTextAttrEx, 0 | 0);
10446
if (!SWIG_IsOK(res3)) {
10447
SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "RichTextParagraphLayoutBox_CollectStyle" "', expected argument " "3"" of type '" "wxTextAttrEx const &""'");
10450
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "RichTextParagraphLayoutBox_CollectStyle" "', expected argument " "3"" of type '" "wxTextAttrEx const &""'");
10452
arg3 = reinterpret_cast< wxTextAttrEx * >(argp3);
10453
res4 = SWIG_ConvertPtr(obj3, &argp4, SWIGTYPE_p_long, 0 );
10454
if (!SWIG_IsOK(res4)) {
10455
SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "RichTextParagraphLayoutBox_CollectStyle" "', expected argument " "4"" of type '" "long &""'");
10458
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "RichTextParagraphLayoutBox_CollectStyle" "', expected argument " "4"" of type '" "long &""'");
10460
arg4 = reinterpret_cast< long * >(argp4);
10461
res5 = SWIG_ConvertPtr(obj4, &argp5, SWIGTYPE_p_int, 0 );
10462
if (!SWIG_IsOK(res5)) {
10463
SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "RichTextParagraphLayoutBox_CollectStyle" "', expected argument " "5"" of type '" "int &""'");
10466
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "RichTextParagraphLayoutBox_CollectStyle" "', expected argument " "5"" of type '" "int &""'");
10468
arg5 = reinterpret_cast< int * >(argp5);
10470
PyThreadState* __tstate = wxPyBeginAllowThreads();
10471
result = (bool)(arg1)->CollectStyle(*arg2,(wxTextAttrEx const &)*arg3,*arg4,*arg5);
10472
wxPyEndAllowThreads(__tstate);
10473
if (PyErr_Occurred()) SWIG_fail;
10476
resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10484
SWIGINTERN PyObject *_wrap_RichTextParagraphLayoutBox_SetListStyle(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10485
PyObject *resultobj = 0;
10486
wxRichTextParagraphLayoutBox *arg1 = (wxRichTextParagraphLayoutBox *) 0 ;
10487
wxRichTextRange *arg2 = 0 ;
10488
wxString *arg3 = 0 ;
10489
int arg4 = (int) wxRICHTEXT_SETSTYLE_WITH_UNDO ;
10490
int arg5 = (int) 1 ;
10491
int arg6 = (int) -1 ;
10495
wxRichTextRange temp2 ;
10496
bool temp3 = false ;
10503
PyObject * obj0 = 0 ;
10504
PyObject * obj1 = 0 ;
10505
PyObject * obj2 = 0 ;
10506
PyObject * obj3 = 0 ;
10507
PyObject * obj4 = 0 ;
10508
PyObject * obj5 = 0 ;
10509
char * kwnames[] = {
10510
(char *) "self",(char *) "range",(char *) "defName",(char *) "flags",(char *) "startFrom",(char *) "specifiedLevel", NULL
10513
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOO:RichTextParagraphLayoutBox_SetListStyle",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
10514
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextParagraphLayoutBox, 0 | 0 );
10515
if (!SWIG_IsOK(res1)) {
10516
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextParagraphLayoutBox_SetListStyle" "', expected argument " "1"" of type '" "wxRichTextParagraphLayoutBox *""'");
10518
arg1 = reinterpret_cast< wxRichTextParagraphLayoutBox * >(argp1);
10521
if ( ! wxRichTextRange_helper(obj1, &arg2)) SWIG_fail;
10524
arg3 = wxString_in_helper(obj2);
10525
if (arg3 == NULL) SWIG_fail;
10529
ecode4 = SWIG_AsVal_int(obj3, &val4);
10530
if (!SWIG_IsOK(ecode4)) {
10531
SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "RichTextParagraphLayoutBox_SetListStyle" "', expected argument " "4"" of type '" "int""'");
10533
arg4 = static_cast< int >(val4);
10536
ecode5 = SWIG_AsVal_int(obj4, &val5);
10537
if (!SWIG_IsOK(ecode5)) {
10538
SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "RichTextParagraphLayoutBox_SetListStyle" "', expected argument " "5"" of type '" "int""'");
10540
arg5 = static_cast< int >(val5);
10543
ecode6 = SWIG_AsVal_int(obj5, &val6);
10544
if (!SWIG_IsOK(ecode6)) {
10545
SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "RichTextParagraphLayoutBox_SetListStyle" "', expected argument " "6"" of type '" "int""'");
10547
arg6 = static_cast< int >(val6);
10550
PyThreadState* __tstate = wxPyBeginAllowThreads();
10551
result = (bool)(arg1)->SetListStyle((wxRichTextRange const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6);
10552
wxPyEndAllowThreads(__tstate);
10553
if (PyErr_Occurred()) SWIG_fail;
10556
resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10572
SWIGINTERN PyObject *_wrap_RichTextParagraphLayoutBox_ClearListStyle(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10573
PyObject *resultobj = 0;
10574
wxRichTextParagraphLayoutBox *arg1 = (wxRichTextParagraphLayoutBox *) 0 ;
10575
wxRichTextRange *arg2 = 0 ;
10576
int arg3 = (int) wxRICHTEXT_SETSTYLE_WITH_UNDO ;
10580
wxRichTextRange temp2 ;
10583
PyObject * obj0 = 0 ;
10584
PyObject * obj1 = 0 ;
10585
PyObject * obj2 = 0 ;
10586
char * kwnames[] = {
10587
(char *) "self",(char *) "range",(char *) "flags", NULL
10590
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:RichTextParagraphLayoutBox_ClearListStyle",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
10591
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextParagraphLayoutBox, 0 | 0 );
10592
if (!SWIG_IsOK(res1)) {
10593
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextParagraphLayoutBox_ClearListStyle" "', expected argument " "1"" of type '" "wxRichTextParagraphLayoutBox *""'");
10595
arg1 = reinterpret_cast< wxRichTextParagraphLayoutBox * >(argp1);
10598
if ( ! wxRichTextRange_helper(obj1, &arg2)) SWIG_fail;
10601
ecode3 = SWIG_AsVal_int(obj2, &val3);
10602
if (!SWIG_IsOK(ecode3)) {
10603
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "RichTextParagraphLayoutBox_ClearListStyle" "', expected argument " "3"" of type '" "int""'");
10605
arg3 = static_cast< int >(val3);
10608
PyThreadState* __tstate = wxPyBeginAllowThreads();
10609
result = (bool)(arg1)->ClearListStyle((wxRichTextRange const &)*arg2,arg3);
10610
wxPyEndAllowThreads(__tstate);
10611
if (PyErr_Occurred()) SWIG_fail;
10614
resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10622
SWIGINTERN PyObject *_wrap_RichTextParagraphLayoutBox_NumberList(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10623
PyObject *resultobj = 0;
10624
wxRichTextParagraphLayoutBox *arg1 = (wxRichTextParagraphLayoutBox *) 0 ;
10625
wxRichTextRange *arg2 = 0 ;
10626
wxString *arg3 = 0 ;
10627
int arg4 = (int) wxRICHTEXT_SETSTYLE_WITH_UNDO ;
10628
int arg5 = (int) 1 ;
10629
int arg6 = (int) -1 ;
10633
wxRichTextRange temp2 ;
10634
bool temp3 = false ;
10641
PyObject * obj0 = 0 ;
10642
PyObject * obj1 = 0 ;
10643
PyObject * obj2 = 0 ;
10644
PyObject * obj3 = 0 ;
10645
PyObject * obj4 = 0 ;
10646
PyObject * obj5 = 0 ;
10647
char * kwnames[] = {
10648
(char *) "self",(char *) "range",(char *) "defName",(char *) "flags",(char *) "startFrom",(char *) "specifiedLevel", NULL
10651
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOO:RichTextParagraphLayoutBox_NumberList",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
10652
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextParagraphLayoutBox, 0 | 0 );
10653
if (!SWIG_IsOK(res1)) {
10654
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextParagraphLayoutBox_NumberList" "', expected argument " "1"" of type '" "wxRichTextParagraphLayoutBox *""'");
10656
arg1 = reinterpret_cast< wxRichTextParagraphLayoutBox * >(argp1);
10659
if ( ! wxRichTextRange_helper(obj1, &arg2)) SWIG_fail;
10662
arg3 = wxString_in_helper(obj2);
10663
if (arg3 == NULL) SWIG_fail;
10667
ecode4 = SWIG_AsVal_int(obj3, &val4);
10668
if (!SWIG_IsOK(ecode4)) {
10669
SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "RichTextParagraphLayoutBox_NumberList" "', expected argument " "4"" of type '" "int""'");
10671
arg4 = static_cast< int >(val4);
10674
ecode5 = SWIG_AsVal_int(obj4, &val5);
10675
if (!SWIG_IsOK(ecode5)) {
10676
SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "RichTextParagraphLayoutBox_NumberList" "', expected argument " "5"" of type '" "int""'");
10678
arg5 = static_cast< int >(val5);
10681
ecode6 = SWIG_AsVal_int(obj5, &val6);
10682
if (!SWIG_IsOK(ecode6)) {
10683
SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "RichTextParagraphLayoutBox_NumberList" "', expected argument " "6"" of type '" "int""'");
10685
arg6 = static_cast< int >(val6);
10688
PyThreadState* __tstate = wxPyBeginAllowThreads();
10689
result = (bool)(arg1)->NumberList((wxRichTextRange const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6);
10690
wxPyEndAllowThreads(__tstate);
10691
if (PyErr_Occurred()) SWIG_fail;
10694
resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10710
SWIGINTERN PyObject *_wrap_RichTextParagraphLayoutBox_PromoteList(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10711
PyObject *resultobj = 0;
10712
wxRichTextParagraphLayoutBox *arg1 = (wxRichTextParagraphLayoutBox *) 0 ;
10714
wxRichTextRange *arg3 = 0 ;
10715
wxString *arg4 = 0 ;
10716
int arg5 = (int) wxRICHTEXT_SETSTYLE_WITH_UNDO ;
10717
int arg6 = (int) -1 ;
10723
wxRichTextRange temp3 ;
10724
bool temp4 = false ;
10729
PyObject * obj0 = 0 ;
10730
PyObject * obj1 = 0 ;
10731
PyObject * obj2 = 0 ;
10732
PyObject * obj3 = 0 ;
10733
PyObject * obj4 = 0 ;
10734
PyObject * obj5 = 0 ;
10735
char * kwnames[] = {
10736
(char *) "self",(char *) "promoteBy",(char *) "range",(char *) "defName",(char *) "flags",(char *) "specifiedLevel", NULL
10739
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:RichTextParagraphLayoutBox_PromoteList",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
10740
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextParagraphLayoutBox, 0 | 0 );
10741
if (!SWIG_IsOK(res1)) {
10742
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextParagraphLayoutBox_PromoteList" "', expected argument " "1"" of type '" "wxRichTextParagraphLayoutBox *""'");
10744
arg1 = reinterpret_cast< wxRichTextParagraphLayoutBox * >(argp1);
10745
ecode2 = SWIG_AsVal_int(obj1, &val2);
10746
if (!SWIG_IsOK(ecode2)) {
10747
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RichTextParagraphLayoutBox_PromoteList" "', expected argument " "2"" of type '" "int""'");
10749
arg2 = static_cast< int >(val2);
10752
if ( ! wxRichTextRange_helper(obj2, &arg3)) SWIG_fail;
10755
arg4 = wxString_in_helper(obj3);
10756
if (arg4 == NULL) SWIG_fail;
10760
ecode5 = SWIG_AsVal_int(obj4, &val5);
10761
if (!SWIG_IsOK(ecode5)) {
10762
SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "RichTextParagraphLayoutBox_PromoteList" "', expected argument " "5"" of type '" "int""'");
10764
arg5 = static_cast< int >(val5);
10767
ecode6 = SWIG_AsVal_int(obj5, &val6);
10768
if (!SWIG_IsOK(ecode6)) {
10769
SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "RichTextParagraphLayoutBox_PromoteList" "', expected argument " "6"" of type '" "int""'");
10771
arg6 = static_cast< int >(val6);
10774
PyThreadState* __tstate = wxPyBeginAllowThreads();
10775
result = (bool)(arg1)->PromoteList(arg2,(wxRichTextRange const &)*arg3,(wxString const &)*arg4,arg5,arg6);
10776
wxPyEndAllowThreads(__tstate);
10777
if (PyErr_Occurred()) SWIG_fail;
10780
resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10796
SWIGINTERN PyObject *_wrap_RichTextParagraphLayoutBox_DoNumberList(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10797
PyObject *resultobj = 0;
10798
wxRichTextParagraphLayoutBox *arg1 = (wxRichTextParagraphLayoutBox *) 0 ;
10799
wxRichTextRange *arg2 = 0 ;
10800
wxRichTextRange *arg3 = 0 ;
10802
wxRichTextListStyleDefinition *arg5 = (wxRichTextListStyleDefinition *) 0 ;
10803
int arg6 = (int) wxRICHTEXT_SETSTYLE_WITH_UNDO ;
10804
int arg7 = (int) 1 ;
10805
int arg8 = (int) -1 ;
10809
wxRichTextRange temp2 ;
10810
wxRichTextRange temp3 ;
10821
PyObject * obj0 = 0 ;
10822
PyObject * obj1 = 0 ;
10823
PyObject * obj2 = 0 ;
10824
PyObject * obj3 = 0 ;
10825
PyObject * obj4 = 0 ;
10826
PyObject * obj5 = 0 ;
10827
PyObject * obj6 = 0 ;
10828
PyObject * obj7 = 0 ;
10829
char * kwnames[] = {
10830
(char *) "self",(char *) "range",(char *) "promotionRange",(char *) "promoteBy",(char *) "def",(char *) "flags",(char *) "startFrom",(char *) "specifiedLevel", NULL
10833
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|OOO:RichTextParagraphLayoutBox_DoNumberList",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
10834
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextParagraphLayoutBox, 0 | 0 );
10835
if (!SWIG_IsOK(res1)) {
10836
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextParagraphLayoutBox_DoNumberList" "', expected argument " "1"" of type '" "wxRichTextParagraphLayoutBox *""'");
10838
arg1 = reinterpret_cast< wxRichTextParagraphLayoutBox * >(argp1);
10841
if ( ! wxRichTextRange_helper(obj1, &arg2)) SWIG_fail;
10845
if ( ! wxRichTextRange_helper(obj2, &arg3)) SWIG_fail;
10847
ecode4 = SWIG_AsVal_int(obj3, &val4);
10848
if (!SWIG_IsOK(ecode4)) {
10849
SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "RichTextParagraphLayoutBox_DoNumberList" "', expected argument " "4"" of type '" "int""'");
10851
arg4 = static_cast< int >(val4);
10852
res5 = SWIG_ConvertPtr(obj4, &argp5,SWIGTYPE_p_wxRichTextListStyleDefinition, 0 | 0 );
10853
if (!SWIG_IsOK(res5)) {
10854
SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "RichTextParagraphLayoutBox_DoNumberList" "', expected argument " "5"" of type '" "wxRichTextListStyleDefinition *""'");
10856
arg5 = reinterpret_cast< wxRichTextListStyleDefinition * >(argp5);
10858
ecode6 = SWIG_AsVal_int(obj5, &val6);
10859
if (!SWIG_IsOK(ecode6)) {
10860
SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "RichTextParagraphLayoutBox_DoNumberList" "', expected argument " "6"" of type '" "int""'");
10862
arg6 = static_cast< int >(val6);
10865
ecode7 = SWIG_AsVal_int(obj6, &val7);
10866
if (!SWIG_IsOK(ecode7)) {
10867
SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "RichTextParagraphLayoutBox_DoNumberList" "', expected argument " "7"" of type '" "int""'");
10869
arg7 = static_cast< int >(val7);
10872
ecode8 = SWIG_AsVal_int(obj7, &val8);
10873
if (!SWIG_IsOK(ecode8)) {
10874
SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "RichTextParagraphLayoutBox_DoNumberList" "', expected argument " "8"" of type '" "int""'");
10876
arg8 = static_cast< int >(val8);
10879
PyThreadState* __tstate = wxPyBeginAllowThreads();
10880
result = (bool)(arg1)->DoNumberList((wxRichTextRange const &)*arg2,(wxRichTextRange const &)*arg3,arg4,arg5,arg6,arg7,arg8);
10881
wxPyEndAllowThreads(__tstate);
10882
if (PyErr_Occurred()) SWIG_fail;
10885
resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10893
SWIGINTERN PyObject *_wrap_RichTextParagraphLayoutBox_FindNextParagraphNumber(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10894
PyObject *resultobj = 0;
10895
wxRichTextParagraphLayoutBox *arg1 = (wxRichTextParagraphLayoutBox *) 0 ;
10896
wxRichTextParagraph *arg2 = (wxRichTextParagraph *) 0 ;
10897
wxTextAttrEx *arg3 = 0 ;
10905
PyObject * obj0 = 0 ;
10906
PyObject * obj1 = 0 ;
10907
PyObject * obj2 = 0 ;
10908
char * kwnames[] = {
10909
(char *) "self",(char *) "previousParagraph",(char *) "attr", NULL
10912
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:RichTextParagraphLayoutBox_FindNextParagraphNumber",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
10913
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextParagraphLayoutBox, 0 | 0 );
10914
if (!SWIG_IsOK(res1)) {
10915
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextParagraphLayoutBox_FindNextParagraphNumber" "', expected argument " "1"" of type '" "wxRichTextParagraphLayoutBox const *""'");
10917
arg1 = reinterpret_cast< wxRichTextParagraphLayoutBox * >(argp1);
10918
res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxRichTextParagraph, 0 | 0 );
10919
if (!SWIG_IsOK(res2)) {
10920
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "RichTextParagraphLayoutBox_FindNextParagraphNumber" "', expected argument " "2"" of type '" "wxRichTextParagraph *""'");
10922
arg2 = reinterpret_cast< wxRichTextParagraph * >(argp2);
10923
res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxTextAttrEx, 0 );
10924
if (!SWIG_IsOK(res3)) {
10925
SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "RichTextParagraphLayoutBox_FindNextParagraphNumber" "', expected argument " "3"" of type '" "wxTextAttrEx &""'");
10928
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "RichTextParagraphLayoutBox_FindNextParagraphNumber" "', expected argument " "3"" of type '" "wxTextAttrEx &""'");
10930
arg3 = reinterpret_cast< wxTextAttrEx * >(argp3);
10932
PyThreadState* __tstate = wxPyBeginAllowThreads();
10933
result = (bool)wxRichTextParagraphLayoutBox_FindNextParagraphNumber((wxRichTextParagraphLayoutBox const *)arg1,arg2,*arg3);
10934
wxPyEndAllowThreads(__tstate);
10935
if (PyErr_Occurred()) SWIG_fail;
10938
resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10946
SWIGINTERN PyObject *_wrap_RichTextParagraphLayoutBox_HasCharacterAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10947
PyObject *resultobj = 0;
10948
wxRichTextParagraphLayoutBox *arg1 = (wxRichTextParagraphLayoutBox *) 0 ;
10949
wxRichTextRange *arg2 = 0 ;
10950
wxTextAttrEx *arg3 = 0 ;
10954
wxRichTextRange temp2 ;
10957
PyObject * obj0 = 0 ;
10958
PyObject * obj1 = 0 ;
10959
PyObject * obj2 = 0 ;
10960
char * kwnames[] = {
10961
(char *) "self",(char *) "range",(char *) "style", NULL
10964
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:RichTextParagraphLayoutBox_HasCharacterAttributes",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
10965
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextParagraphLayoutBox, 0 | 0 );
10966
if (!SWIG_IsOK(res1)) {
10967
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextParagraphLayoutBox_HasCharacterAttributes" "', expected argument " "1"" of type '" "wxRichTextParagraphLayoutBox const *""'");
10969
arg1 = reinterpret_cast< wxRichTextParagraphLayoutBox * >(argp1);
10972
if ( ! wxRichTextRange_helper(obj1, &arg2)) SWIG_fail;
10974
res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxTextAttrEx, 0 | 0);
10975
if (!SWIG_IsOK(res3)) {
10976
SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "RichTextParagraphLayoutBox_HasCharacterAttributes" "', expected argument " "3"" of type '" "wxTextAttrEx const &""'");
10979
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "RichTextParagraphLayoutBox_HasCharacterAttributes" "', expected argument " "3"" of type '" "wxTextAttrEx const &""'");
10981
arg3 = reinterpret_cast< wxTextAttrEx * >(argp3);
10983
PyThreadState* __tstate = wxPyBeginAllowThreads();
10984
result = (bool)((wxRichTextParagraphLayoutBox const *)arg1)->HasCharacterAttributes((wxRichTextRange const &)*arg2,(wxTextAttrEx const &)*arg3);
10985
wxPyEndAllowThreads(__tstate);
10986
if (PyErr_Occurred()) SWIG_fail;
10989
resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10997
SWIGINTERN PyObject *_wrap_RichTextParagraphLayoutBox_HasParagraphAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10998
PyObject *resultobj = 0;
10999
wxRichTextParagraphLayoutBox *arg1 = (wxRichTextParagraphLayoutBox *) 0 ;
11000
wxRichTextRange *arg2 = 0 ;
11001
wxTextAttrEx *arg3 = 0 ;
11005
wxRichTextRange temp2 ;
11008
PyObject * obj0 = 0 ;
11009
PyObject * obj1 = 0 ;
11010
PyObject * obj2 = 0 ;
11011
char * kwnames[] = {
11012
(char *) "self",(char *) "range",(char *) "style", NULL
11015
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:RichTextParagraphLayoutBox_HasParagraphAttributes",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
11016
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextParagraphLayoutBox, 0 | 0 );
11017
if (!SWIG_IsOK(res1)) {
11018
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextParagraphLayoutBox_HasParagraphAttributes" "', expected argument " "1"" of type '" "wxRichTextParagraphLayoutBox const *""'");
11020
arg1 = reinterpret_cast< wxRichTextParagraphLayoutBox * >(argp1);
11023
if ( ! wxRichTextRange_helper(obj1, &arg2)) SWIG_fail;
11025
res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxTextAttrEx, 0 | 0);
11026
if (!SWIG_IsOK(res3)) {
11027
SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "RichTextParagraphLayoutBox_HasParagraphAttributes" "', expected argument " "3"" of type '" "wxTextAttrEx const &""'");
11030
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "RichTextParagraphLayoutBox_HasParagraphAttributes" "', expected argument " "3"" of type '" "wxTextAttrEx const &""'");
11032
arg3 = reinterpret_cast< wxTextAttrEx * >(argp3);
11034
PyThreadState* __tstate = wxPyBeginAllowThreads();
11035
result = (bool)((wxRichTextParagraphLayoutBox const *)arg1)->HasParagraphAttributes((wxRichTextRange const &)*arg2,(wxTextAttrEx const &)*arg3);
11036
wxPyEndAllowThreads(__tstate);
11037
if (PyErr_Occurred()) SWIG_fail;
11040
resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11048
SWIGINTERN PyObject *_wrap_RichTextParagraphLayoutBox_InsertFragment(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11049
PyObject *resultobj = 0;
11050
wxRichTextParagraphLayoutBox *arg1 = (wxRichTextParagraphLayoutBox *) 0 ;
11052
wxRichTextParagraphLayoutBox *arg3 = 0 ;
11060
PyObject * obj0 = 0 ;
11061
PyObject * obj1 = 0 ;
11062
PyObject * obj2 = 0 ;
11063
char * kwnames[] = {
11064
(char *) "self",(char *) "position",(char *) "fragment", NULL
11067
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:RichTextParagraphLayoutBox_InsertFragment",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
11068
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextParagraphLayoutBox, 0 | 0 );
11069
if (!SWIG_IsOK(res1)) {
11070
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextParagraphLayoutBox_InsertFragment" "', expected argument " "1"" of type '" "wxRichTextParagraphLayoutBox *""'");
11072
arg1 = reinterpret_cast< wxRichTextParagraphLayoutBox * >(argp1);
11073
ecode2 = SWIG_AsVal_long(obj1, &val2);
11074
if (!SWIG_IsOK(ecode2)) {
11075
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RichTextParagraphLayoutBox_InsertFragment" "', expected argument " "2"" of type '" "long""'");
11077
arg2 = static_cast< long >(val2);
11078
res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxRichTextParagraphLayoutBox, 0 );
11079
if (!SWIG_IsOK(res3)) {
11080
SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "RichTextParagraphLayoutBox_InsertFragment" "', expected argument " "3"" of type '" "wxRichTextParagraphLayoutBox &""'");
11083
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "RichTextParagraphLayoutBox_InsertFragment" "', expected argument " "3"" of type '" "wxRichTextParagraphLayoutBox &""'");
11085
arg3 = reinterpret_cast< wxRichTextParagraphLayoutBox * >(argp3);
11087
PyThreadState* __tstate = wxPyBeginAllowThreads();
11088
result = (bool)(arg1)->InsertFragment(arg2,*arg3);
11089
wxPyEndAllowThreads(__tstate);
11090
if (PyErr_Occurred()) SWIG_fail;
11093
resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11101
SWIGINTERN PyObject *_wrap_RichTextParagraphLayoutBox_CopyFragment(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11102
PyObject *resultobj = 0;
11103
wxRichTextParagraphLayoutBox *arg1 = (wxRichTextParagraphLayoutBox *) 0 ;
11104
wxRichTextRange *arg2 = 0 ;
11105
wxRichTextParagraphLayoutBox *arg3 = 0 ;
11109
wxRichTextRange temp2 ;
11112
PyObject * obj0 = 0 ;
11113
PyObject * obj1 = 0 ;
11114
PyObject * obj2 = 0 ;
11115
char * kwnames[] = {
11116
(char *) "self",(char *) "range",(char *) "fragment", NULL
11119
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:RichTextParagraphLayoutBox_CopyFragment",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
11120
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextParagraphLayoutBox, 0 | 0 );
11121
if (!SWIG_IsOK(res1)) {
11122
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextParagraphLayoutBox_CopyFragment" "', expected argument " "1"" of type '" "wxRichTextParagraphLayoutBox *""'");
11124
arg1 = reinterpret_cast< wxRichTextParagraphLayoutBox * >(argp1);
11127
if ( ! wxRichTextRange_helper(obj1, &arg2)) SWIG_fail;
11129
res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxRichTextParagraphLayoutBox, 0 );
11130
if (!SWIG_IsOK(res3)) {
11131
SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "RichTextParagraphLayoutBox_CopyFragment" "', expected argument " "3"" of type '" "wxRichTextParagraphLayoutBox &""'");
11134
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "RichTextParagraphLayoutBox_CopyFragment" "', expected argument " "3"" of type '" "wxRichTextParagraphLayoutBox &""'");
11136
arg3 = reinterpret_cast< wxRichTextParagraphLayoutBox * >(argp3);
11138
PyThreadState* __tstate = wxPyBeginAllowThreads();
11139
result = (bool)(arg1)->CopyFragment((wxRichTextRange const &)*arg2,*arg3);
11140
wxPyEndAllowThreads(__tstate);
11141
if (PyErr_Occurred()) SWIG_fail;
11144
resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11152
SWIGINTERN PyObject *_wrap_RichTextParagraphLayoutBox_ApplyStyleSheet(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11153
PyObject *resultobj = 0;
11154
wxRichTextParagraphLayoutBox *arg1 = (wxRichTextParagraphLayoutBox *) 0 ;
11155
wxRichTextStyleSheet *arg2 = (wxRichTextStyleSheet *) 0 ;
11161
PyObject * obj0 = 0 ;
11162
PyObject * obj1 = 0 ;
11163
char * kwnames[] = {
11164
(char *) "self",(char *) "styleSheet", NULL
11167
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RichTextParagraphLayoutBox_ApplyStyleSheet",kwnames,&obj0,&obj1)) SWIG_fail;
11168
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextParagraphLayoutBox, 0 | 0 );
11169
if (!SWIG_IsOK(res1)) {
11170
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextParagraphLayoutBox_ApplyStyleSheet" "', expected argument " "1"" of type '" "wxRichTextParagraphLayoutBox *""'");
11172
arg1 = reinterpret_cast< wxRichTextParagraphLayoutBox * >(argp1);
11173
res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxRichTextStyleSheet, 0 | 0 );
11174
if (!SWIG_IsOK(res2)) {
11175
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "RichTextParagraphLayoutBox_ApplyStyleSheet" "', expected argument " "2"" of type '" "wxRichTextStyleSheet *""'");
11177
arg2 = reinterpret_cast< wxRichTextStyleSheet * >(argp2);
11179
PyThreadState* __tstate = wxPyBeginAllowThreads();
11180
result = (bool)(arg1)->ApplyStyleSheet(arg2);
11181
wxPyEndAllowThreads(__tstate);
11182
if (PyErr_Occurred()) SWIG_fail;
11185
resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11193
SWIGINTERN PyObject *_wrap_RichTextParagraphLayoutBox_Copy(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11194
PyObject *resultobj = 0;
11195
wxRichTextParagraphLayoutBox *arg1 = (wxRichTextParagraphLayoutBox *) 0 ;
11196
wxRichTextParagraphLayoutBox *arg2 = 0 ;
11201
PyObject * obj0 = 0 ;
11202
PyObject * obj1 = 0 ;
11203
char * kwnames[] = {
11204
(char *) "self",(char *) "obj", NULL
11207
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RichTextParagraphLayoutBox_Copy",kwnames,&obj0,&obj1)) SWIG_fail;
11208
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextParagraphLayoutBox, 0 | 0 );
11209
if (!SWIG_IsOK(res1)) {
11210
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextParagraphLayoutBox_Copy" "', expected argument " "1"" of type '" "wxRichTextParagraphLayoutBox *""'");
11212
arg1 = reinterpret_cast< wxRichTextParagraphLayoutBox * >(argp1);
11213
res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxRichTextParagraphLayoutBox, 0 | 0);
11214
if (!SWIG_IsOK(res2)) {
11215
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "RichTextParagraphLayoutBox_Copy" "', expected argument " "2"" of type '" "wxRichTextParagraphLayoutBox const &""'");
11218
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "RichTextParagraphLayoutBox_Copy" "', expected argument " "2"" of type '" "wxRichTextParagraphLayoutBox const &""'");
11220
arg2 = reinterpret_cast< wxRichTextParagraphLayoutBox * >(argp2);
11222
PyThreadState* __tstate = wxPyBeginAllowThreads();
11223
(arg1)->Copy((wxRichTextParagraphLayoutBox const &)*arg2);
11224
wxPyEndAllowThreads(__tstate);
11225
if (PyErr_Occurred()) SWIG_fail;
11227
resultobj = SWIG_Py_Void();
11234
SWIGINTERN PyObject *_wrap_RichTextParagraphLayoutBox_UpdateRanges(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11235
PyObject *resultobj = 0;
11236
wxRichTextParagraphLayoutBox *arg1 = (wxRichTextParagraphLayoutBox *) 0 ;
11239
PyObject *swig_obj[1] ;
11241
if (!args) SWIG_fail;
11242
swig_obj[0] = args;
11243
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextParagraphLayoutBox, 0 | 0 );
11244
if (!SWIG_IsOK(res1)) {
11245
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextParagraphLayoutBox_UpdateRanges" "', expected argument " "1"" of type '" "wxRichTextParagraphLayoutBox *""'");
11247
arg1 = reinterpret_cast< wxRichTextParagraphLayoutBox * >(argp1);
11249
PyThreadState* __tstate = wxPyBeginAllowThreads();
11250
(arg1)->UpdateRanges();
11251
wxPyEndAllowThreads(__tstate);
11252
if (PyErr_Occurred()) SWIG_fail;
11254
resultobj = SWIG_Py_Void();
11261
SWIGINTERN PyObject *_wrap_RichTextParagraphLayoutBox_GetText(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11262
PyObject *resultobj = 0;
11263
wxRichTextParagraphLayoutBox *arg1 = (wxRichTextParagraphLayoutBox *) 0 ;
11267
PyObject *swig_obj[1] ;
11269
if (!args) SWIG_fail;
11270
swig_obj[0] = args;
11271
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextParagraphLayoutBox, 0 | 0 );
11272
if (!SWIG_IsOK(res1)) {
11273
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextParagraphLayoutBox_GetText" "', expected argument " "1"" of type '" "wxRichTextParagraphLayoutBox const *""'");
11275
arg1 = reinterpret_cast< wxRichTextParagraphLayoutBox * >(argp1);
11277
PyThreadState* __tstate = wxPyBeginAllowThreads();
11278
result = ((wxRichTextParagraphLayoutBox const *)arg1)->GetText();
11279
wxPyEndAllowThreads(__tstate);
11280
if (PyErr_Occurred()) SWIG_fail;
11284
resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
11286
resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
11295
SWIGINTERN PyObject *_wrap_RichTextParagraphLayoutBox_SetDefaultStyle(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11296
PyObject *resultobj = 0;
11297
wxRichTextParagraphLayoutBox *arg1 = (wxRichTextParagraphLayoutBox *) 0 ;
11298
wxTextAttrEx *arg2 = 0 ;
11304
PyObject * obj0 = 0 ;
11305
PyObject * obj1 = 0 ;
11306
char * kwnames[] = {
11307
(char *) "self",(char *) "style", NULL
11310
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RichTextParagraphLayoutBox_SetDefaultStyle",kwnames,&obj0,&obj1)) SWIG_fail;
11311
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextParagraphLayoutBox, 0 | 0 );
11312
if (!SWIG_IsOK(res1)) {
11313
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextParagraphLayoutBox_SetDefaultStyle" "', expected argument " "1"" of type '" "wxRichTextParagraphLayoutBox *""'");
11315
arg1 = reinterpret_cast< wxRichTextParagraphLayoutBox * >(argp1);
11316
res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTextAttrEx, 0 | 0);
11317
if (!SWIG_IsOK(res2)) {
11318
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "RichTextParagraphLayoutBox_SetDefaultStyle" "', expected argument " "2"" of type '" "wxTextAttrEx const &""'");
11321
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "RichTextParagraphLayoutBox_SetDefaultStyle" "', expected argument " "2"" of type '" "wxTextAttrEx const &""'");
11323
arg2 = reinterpret_cast< wxTextAttrEx * >(argp2);
11325
PyThreadState* __tstate = wxPyBeginAllowThreads();
11326
result = (bool)(arg1)->SetDefaultStyle((wxTextAttrEx const &)*arg2);
11327
wxPyEndAllowThreads(__tstate);
11328
if (PyErr_Occurred()) SWIG_fail;
11331
resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11339
SWIGINTERN PyObject *_wrap_RichTextParagraphLayoutBox_GetDefaultStyle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11340
PyObject *resultobj = 0;
11341
wxRichTextParagraphLayoutBox *arg1 = (wxRichTextParagraphLayoutBox *) 0 ;
11342
wxTextAttrEx *result = 0 ;
11345
PyObject *swig_obj[1] ;
11347
if (!args) SWIG_fail;
11348
swig_obj[0] = args;
11349
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextParagraphLayoutBox, 0 | 0 );
11350
if (!SWIG_IsOK(res1)) {
11351
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextParagraphLayoutBox_GetDefaultStyle" "', expected argument " "1"" of type '" "wxRichTextParagraphLayoutBox const *""'");
11353
arg1 = reinterpret_cast< wxRichTextParagraphLayoutBox * >(argp1);
11355
PyThreadState* __tstate = wxPyBeginAllowThreads();
11357
wxTextAttrEx const &_result_ref = ((wxRichTextParagraphLayoutBox const *)arg1)->GetDefaultStyle();
11358
result = (wxTextAttrEx *) &_result_ref;
11360
wxPyEndAllowThreads(__tstate);
11361
if (PyErr_Occurred()) SWIG_fail;
11363
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxTextAttrEx, 0 | 0 );
11370
SWIGINTERN PyObject *_wrap_RichTextParagraphLayoutBox_SetBasicStyle(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11371
PyObject *resultobj = 0;
11372
wxRichTextParagraphLayoutBox *arg1 = (wxRichTextParagraphLayoutBox *) 0 ;
11373
wxTextAttrEx *arg2 = 0 ;
11378
PyObject * obj0 = 0 ;
11379
PyObject * obj1 = 0 ;
11380
char * kwnames[] = {
11381
(char *) "self",(char *) "style", NULL
11384
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RichTextParagraphLayoutBox_SetBasicStyle",kwnames,&obj0,&obj1)) SWIG_fail;
11385
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextParagraphLayoutBox, 0 | 0 );
11386
if (!SWIG_IsOK(res1)) {
11387
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextParagraphLayoutBox_SetBasicStyle" "', expected argument " "1"" of type '" "wxRichTextParagraphLayoutBox *""'");
11389
arg1 = reinterpret_cast< wxRichTextParagraphLayoutBox * >(argp1);
11390
res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTextAttrEx, 0 | 0);
11391
if (!SWIG_IsOK(res2)) {
11392
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "RichTextParagraphLayoutBox_SetBasicStyle" "', expected argument " "2"" of type '" "wxTextAttrEx const &""'");
11395
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "RichTextParagraphLayoutBox_SetBasicStyle" "', expected argument " "2"" of type '" "wxTextAttrEx const &""'");
11397
arg2 = reinterpret_cast< wxTextAttrEx * >(argp2);
11399
PyThreadState* __tstate = wxPyBeginAllowThreads();
11400
(arg1)->SetBasicStyle((wxTextAttrEx const &)*arg2);
11401
wxPyEndAllowThreads(__tstate);
11402
if (PyErr_Occurred()) SWIG_fail;
11404
resultobj = SWIG_Py_Void();
11411
SWIGINTERN PyObject *_wrap_RichTextParagraphLayoutBox_GetBasicStyle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11412
PyObject *resultobj = 0;
11413
wxRichTextParagraphLayoutBox *arg1 = (wxRichTextParagraphLayoutBox *) 0 ;
11414
wxTextAttrEx *result = 0 ;
11417
PyObject *swig_obj[1] ;
11419
if (!args) SWIG_fail;
11420
swig_obj[0] = args;
11421
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextParagraphLayoutBox, 0 | 0 );
11422
if (!SWIG_IsOK(res1)) {
11423
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextParagraphLayoutBox_GetBasicStyle" "', expected argument " "1"" of type '" "wxRichTextParagraphLayoutBox const *""'");
11425
arg1 = reinterpret_cast< wxRichTextParagraphLayoutBox * >(argp1);
11427
PyThreadState* __tstate = wxPyBeginAllowThreads();
11429
wxTextAttrEx const &_result_ref = ((wxRichTextParagraphLayoutBox const *)arg1)->GetBasicStyle();
11430
result = (wxTextAttrEx *) &_result_ref;
11432
wxPyEndAllowThreads(__tstate);
11433
if (PyErr_Occurred()) SWIG_fail;
11435
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxTextAttrEx, 0 | 0 );
11442
SWIGINTERN PyObject *_wrap_RichTextParagraphLayoutBox_Invalidate(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11443
PyObject *resultobj = 0;
11444
wxRichTextParagraphLayoutBox *arg1 = (wxRichTextParagraphLayoutBox *) 0 ;
11445
wxRichTextRange const &arg2_defvalue = wxRICHTEXT_ALL ;
11446
wxRichTextRange *arg2 = (wxRichTextRange *) &arg2_defvalue ;
11449
wxRichTextRange temp2 ;
11450
PyObject * obj0 = 0 ;
11451
PyObject * obj1 = 0 ;
11452
char * kwnames[] = {
11453
(char *) "self",(char *) "invalidRange", NULL
11456
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:RichTextParagraphLayoutBox_Invalidate",kwnames,&obj0,&obj1)) SWIG_fail;
11457
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextParagraphLayoutBox, 0 | 0 );
11458
if (!SWIG_IsOK(res1)) {
11459
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextParagraphLayoutBox_Invalidate" "', expected argument " "1"" of type '" "wxRichTextParagraphLayoutBox *""'");
11461
arg1 = reinterpret_cast< wxRichTextParagraphLayoutBox * >(argp1);
11465
if ( ! wxRichTextRange_helper(obj1, &arg2)) SWIG_fail;
11469
PyThreadState* __tstate = wxPyBeginAllowThreads();
11470
(arg1)->Invalidate((wxRichTextRange const &)*arg2);
11471
wxPyEndAllowThreads(__tstate);
11472
if (PyErr_Occurred()) SWIG_fail;
11474
resultobj = SWIG_Py_Void();
11481
SWIGINTERN PyObject *_wrap_RichTextParagraphLayoutBox_GetInvalidRange(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11482
PyObject *resultobj = 0;
11483
wxRichTextParagraphLayoutBox *arg1 = (wxRichTextParagraphLayoutBox *) 0 ;
11484
bool arg2 = (bool) false ;
11485
wxRichTextRange result;
11490
PyObject * obj0 = 0 ;
11491
PyObject * obj1 = 0 ;
11492
char * kwnames[] = {
11493
(char *) "self",(char *) "wholeParagraphs", NULL
11496
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:RichTextParagraphLayoutBox_GetInvalidRange",kwnames,&obj0,&obj1)) SWIG_fail;
11497
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextParagraphLayoutBox, 0 | 0 );
11498
if (!SWIG_IsOK(res1)) {
11499
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextParagraphLayoutBox_GetInvalidRange" "', expected argument " "1"" of type '" "wxRichTextParagraphLayoutBox const *""'");
11501
arg1 = reinterpret_cast< wxRichTextParagraphLayoutBox * >(argp1);
11503
ecode2 = SWIG_AsVal_bool(obj1, &val2);
11504
if (!SWIG_IsOK(ecode2)) {
11505
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RichTextParagraphLayoutBox_GetInvalidRange" "', expected argument " "2"" of type '" "bool""'");
11507
arg2 = static_cast< bool >(val2);
11510
PyThreadState* __tstate = wxPyBeginAllowThreads();
11511
result = ((wxRichTextParagraphLayoutBox const *)arg1)->GetInvalidRange(arg2);
11512
wxPyEndAllowThreads(__tstate);
11513
if (PyErr_Occurred()) SWIG_fail;
11515
resultobj = SWIG_NewPointerObj((new wxRichTextRange(static_cast< const wxRichTextRange& >(result))), SWIGTYPE_p_wxRichTextRange, SWIG_POINTER_OWN | 0 );
11522
SWIGINTERN PyObject *RichTextParagraphLayoutBox_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11524
if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
11525
SWIG_TypeNewClientData(SWIGTYPE_p_wxRichTextParagraphLayoutBox, SWIG_NewClientData(obj));
11526
return SWIG_Py_Void();
11529
SWIGINTERN PyObject *RichTextParagraphLayoutBox_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11530
return SWIG_Python_InitShadowInstance(args);
11533
SWIGINTERN PyObject *_wrap_new_RichTextLine(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11534
PyObject *resultobj = 0;
11535
wxRichTextParagraph *arg1 = (wxRichTextParagraph *) 0 ;
11536
wxRichTextLine *result = 0 ;
11539
PyObject * obj0 = 0 ;
11540
char * kwnames[] = {
11541
(char *) "parent", NULL
11544
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_RichTextLine",kwnames,&obj0)) SWIG_fail;
11545
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextParagraph, 0 | 0 );
11546
if (!SWIG_IsOK(res1)) {
11547
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_RichTextLine" "', expected argument " "1"" of type '" "wxRichTextParagraph *""'");
11549
arg1 = reinterpret_cast< wxRichTextParagraph * >(argp1);
11551
PyThreadState* __tstate = wxPyBeginAllowThreads();
11552
result = (wxRichTextLine *)new wxRichTextLine(arg1);
11553
wxPyEndAllowThreads(__tstate);
11554
if (PyErr_Occurred()) SWIG_fail;
11556
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxRichTextLine, SWIG_POINTER_NEW | 0 );
11563
SWIGINTERN PyObject *_wrap_delete_RichTextLine(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11564
PyObject *resultobj = 0;
11565
wxRichTextLine *arg1 = (wxRichTextLine *) 0 ;
11568
PyObject *swig_obj[1] ;
11570
if (!args) SWIG_fail;
11571
swig_obj[0] = args;
11572
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextLine, SWIG_POINTER_DISOWN | 0 );
11573
if (!SWIG_IsOK(res1)) {
11574
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_RichTextLine" "', expected argument " "1"" of type '" "wxRichTextLine *""'");
11576
arg1 = reinterpret_cast< wxRichTextLine * >(argp1);
11578
PyThreadState* __tstate = wxPyBeginAllowThreads();
11581
wxPyEndAllowThreads(__tstate);
11582
if (PyErr_Occurred()) SWIG_fail;
11584
resultobj = SWIG_Py_Void();
11591
SWIGINTERN PyObject *_wrap_RichTextLine_SetRange(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11592
PyObject *resultobj = 0;
11593
wxRichTextLine *arg1 = (wxRichTextLine *) 0 ;
11594
wxRichTextRange *arg2 = 0 ;
11597
wxRichTextRange temp2 ;
11598
PyObject * obj0 = 0 ;
11599
PyObject * obj1 = 0 ;
11600
char * kwnames[] = {
11601
(char *) "self",(char *) "range", NULL
11604
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RichTextLine_SetRange",kwnames,&obj0,&obj1)) SWIG_fail;
11605
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextLine, 0 | 0 );
11606
if (!SWIG_IsOK(res1)) {
11607
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextLine_SetRange" "', expected argument " "1"" of type '" "wxRichTextLine *""'");
11609
arg1 = reinterpret_cast< wxRichTextLine * >(argp1);
11612
if ( ! wxRichTextRange_helper(obj1, &arg2)) SWIG_fail;
11615
PyThreadState* __tstate = wxPyBeginAllowThreads();
11616
(arg1)->SetRange((wxRichTextRange const &)*arg2);
11617
wxPyEndAllowThreads(__tstate);
11618
if (PyErr_Occurred()) SWIG_fail;
11620
resultobj = SWIG_Py_Void();
11627
SWIGINTERN PyObject *_wrap_RichTextLine_GetParent(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11628
PyObject *resultobj = 0;
11629
wxRichTextLine *arg1 = (wxRichTextLine *) 0 ;
11630
wxRichTextParagraph *result = 0 ;
11633
PyObject *swig_obj[1] ;
11635
if (!args) SWIG_fail;
11636
swig_obj[0] = args;
11637
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextLine, 0 | 0 );
11638
if (!SWIG_IsOK(res1)) {
11639
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextLine_GetParent" "', expected argument " "1"" of type '" "wxRichTextLine *""'");
11641
arg1 = reinterpret_cast< wxRichTextLine * >(argp1);
11643
PyThreadState* __tstate = wxPyBeginAllowThreads();
11644
result = (wxRichTextParagraph *)(arg1)->GetParent();
11645
wxPyEndAllowThreads(__tstate);
11646
if (PyErr_Occurred()) SWIG_fail;
11648
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxRichTextParagraph, 0 | 0 );
11655
SWIGINTERN PyObject *_wrap_RichTextLine_GetRange(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11656
PyObject *resultobj = 0;
11657
wxRichTextLine *arg1 = (wxRichTextLine *) 0 ;
11658
wxRichTextRange result;
11661
PyObject *swig_obj[1] ;
11663
if (!args) SWIG_fail;
11664
swig_obj[0] = args;
11665
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextLine, 0 | 0 );
11666
if (!SWIG_IsOK(res1)) {
11667
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextLine_GetRange" "', expected argument " "1"" of type '" "wxRichTextLine *""'");
11669
arg1 = reinterpret_cast< wxRichTextLine * >(argp1);
11671
PyThreadState* __tstate = wxPyBeginAllowThreads();
11672
result = (arg1)->GetRange();
11673
wxPyEndAllowThreads(__tstate);
11674
if (PyErr_Occurred()) SWIG_fail;
11676
resultobj = SWIG_NewPointerObj((new wxRichTextRange(static_cast< const wxRichTextRange& >(result))), SWIGTYPE_p_wxRichTextRange, SWIG_POINTER_OWN | 0 );
11683
SWIGINTERN PyObject *_wrap_RichTextLine_GetAbsoluteRange(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11684
PyObject *resultobj = 0;
11685
wxRichTextLine *arg1 = (wxRichTextLine *) 0 ;
11686
wxRichTextRange result;
11689
PyObject *swig_obj[1] ;
11691
if (!args) SWIG_fail;
11692
swig_obj[0] = args;
11693
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextLine, 0 | 0 );
11694
if (!SWIG_IsOK(res1)) {
11695
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextLine_GetAbsoluteRange" "', expected argument " "1"" of type '" "wxRichTextLine const *""'");
11697
arg1 = reinterpret_cast< wxRichTextLine * >(argp1);
11699
PyThreadState* __tstate = wxPyBeginAllowThreads();
11700
result = ((wxRichTextLine const *)arg1)->GetAbsoluteRange();
11701
wxPyEndAllowThreads(__tstate);
11702
if (PyErr_Occurred()) SWIG_fail;
11704
resultobj = SWIG_NewPointerObj((new wxRichTextRange(static_cast< const wxRichTextRange& >(result))), SWIGTYPE_p_wxRichTextRange, SWIG_POINTER_OWN | 0 );
11711
SWIGINTERN PyObject *_wrap_RichTextLine_GetSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11712
PyObject *resultobj = 0;
11713
wxRichTextLine *arg1 = (wxRichTextLine *) 0 ;
11717
PyObject *swig_obj[1] ;
11719
if (!args) SWIG_fail;
11720
swig_obj[0] = args;
11721
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextLine, 0 | 0 );
11722
if (!SWIG_IsOK(res1)) {
11723
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextLine_GetSize" "', expected argument " "1"" of type '" "wxRichTextLine const *""'");
11725
arg1 = reinterpret_cast< wxRichTextLine * >(argp1);
11727
PyThreadState* __tstate = wxPyBeginAllowThreads();
11728
result = ((wxRichTextLine const *)arg1)->GetSize();
11729
wxPyEndAllowThreads(__tstate);
11730
if (PyErr_Occurred()) SWIG_fail;
11732
resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 );
11739
SWIGINTERN PyObject *_wrap_RichTextLine_SetSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11740
PyObject *resultobj = 0;
11741
wxRichTextLine *arg1 = (wxRichTextLine *) 0 ;
11746
PyObject * obj0 = 0 ;
11747
PyObject * obj1 = 0 ;
11748
char * kwnames[] = {
11749
(char *) "self",(char *) "sz", NULL
11752
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RichTextLine_SetSize",kwnames,&obj0,&obj1)) SWIG_fail;
11753
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextLine, 0 | 0 );
11754
if (!SWIG_IsOK(res1)) {
11755
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextLine_SetSize" "', expected argument " "1"" of type '" "wxRichTextLine *""'");
11757
arg1 = reinterpret_cast< wxRichTextLine * >(argp1);
11760
if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
11763
PyThreadState* __tstate = wxPyBeginAllowThreads();
11764
(arg1)->SetSize((wxSize const &)*arg2);
11765
wxPyEndAllowThreads(__tstate);
11766
if (PyErr_Occurred()) SWIG_fail;
11768
resultobj = SWIG_Py_Void();
11775
SWIGINTERN PyObject *_wrap_RichTextLine_GetPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11776
PyObject *resultobj = 0;
11777
wxRichTextLine *arg1 = (wxRichTextLine *) 0 ;
11781
PyObject *swig_obj[1] ;
11783
if (!args) SWIG_fail;
11784
swig_obj[0] = args;
11785
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextLine, 0 | 0 );
11786
if (!SWIG_IsOK(res1)) {
11787
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextLine_GetPosition" "', expected argument " "1"" of type '" "wxRichTextLine const *""'");
11789
arg1 = reinterpret_cast< wxRichTextLine * >(argp1);
11791
PyThreadState* __tstate = wxPyBeginAllowThreads();
11792
result = ((wxRichTextLine const *)arg1)->GetPosition();
11793
wxPyEndAllowThreads(__tstate);
11794
if (PyErr_Occurred()) SWIG_fail;
11796
resultobj = SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint& >(result))), SWIGTYPE_p_wxPoint, SWIG_POINTER_OWN | 0 );
11803
SWIGINTERN PyObject *_wrap_RichTextLine_SetPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11804
PyObject *resultobj = 0;
11805
wxRichTextLine *arg1 = (wxRichTextLine *) 0 ;
11806
wxPoint *arg2 = 0 ;
11810
PyObject * obj0 = 0 ;
11811
PyObject * obj1 = 0 ;
11812
char * kwnames[] = {
11813
(char *) "self",(char *) "pos", NULL
11816
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RichTextLine_SetPosition",kwnames,&obj0,&obj1)) SWIG_fail;
11817
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextLine, 0 | 0 );
11818
if (!SWIG_IsOK(res1)) {
11819
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextLine_SetPosition" "', expected argument " "1"" of type '" "wxRichTextLine *""'");
11821
arg1 = reinterpret_cast< wxRichTextLine * >(argp1);
11824
if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
11827
PyThreadState* __tstate = wxPyBeginAllowThreads();
11828
(arg1)->SetPosition((wxPoint const &)*arg2);
11829
wxPyEndAllowThreads(__tstate);
11830
if (PyErr_Occurred()) SWIG_fail;
11832
resultobj = SWIG_Py_Void();
11839
SWIGINTERN PyObject *_wrap_RichTextLine_GetAbsolutePosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11840
PyObject *resultobj = 0;
11841
wxRichTextLine *arg1 = (wxRichTextLine *) 0 ;
11845
PyObject *swig_obj[1] ;
11847
if (!args) SWIG_fail;
11848
swig_obj[0] = args;
11849
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextLine, 0 | 0 );
11850
if (!SWIG_IsOK(res1)) {
11851
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextLine_GetAbsolutePosition" "', expected argument " "1"" of type '" "wxRichTextLine const *""'");
11853
arg1 = reinterpret_cast< wxRichTextLine * >(argp1);
11855
PyThreadState* __tstate = wxPyBeginAllowThreads();
11856
result = ((wxRichTextLine const *)arg1)->GetAbsolutePosition();
11857
wxPyEndAllowThreads(__tstate);
11858
if (PyErr_Occurred()) SWIG_fail;
11860
resultobj = SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint& >(result))), SWIGTYPE_p_wxPoint, SWIG_POINTER_OWN | 0 );
11867
SWIGINTERN PyObject *_wrap_RichTextLine_GetRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11868
PyObject *resultobj = 0;
11869
wxRichTextLine *arg1 = (wxRichTextLine *) 0 ;
11873
PyObject *swig_obj[1] ;
11875
if (!args) SWIG_fail;
11876
swig_obj[0] = args;
11877
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextLine, 0 | 0 );
11878
if (!SWIG_IsOK(res1)) {
11879
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextLine_GetRect" "', expected argument " "1"" of type '" "wxRichTextLine const *""'");
11881
arg1 = reinterpret_cast< wxRichTextLine * >(argp1);
11883
PyThreadState* __tstate = wxPyBeginAllowThreads();
11884
result = ((wxRichTextLine const *)arg1)->GetRect();
11885
wxPyEndAllowThreads(__tstate);
11886
if (PyErr_Occurred()) SWIG_fail;
11888
resultobj = SWIG_NewPointerObj((new wxRect(static_cast< const wxRect& >(result))), SWIGTYPE_p_wxRect, SWIG_POINTER_OWN | 0 );
11895
SWIGINTERN PyObject *_wrap_RichTextLine_SetDescent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11896
PyObject *resultobj = 0;
11897
wxRichTextLine *arg1 = (wxRichTextLine *) 0 ;
11903
PyObject * obj0 = 0 ;
11904
PyObject * obj1 = 0 ;
11905
char * kwnames[] = {
11906
(char *) "self",(char *) "descent", NULL
11909
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RichTextLine_SetDescent",kwnames,&obj0,&obj1)) SWIG_fail;
11910
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextLine, 0 | 0 );
11911
if (!SWIG_IsOK(res1)) {
11912
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextLine_SetDescent" "', expected argument " "1"" of type '" "wxRichTextLine *""'");
11914
arg1 = reinterpret_cast< wxRichTextLine * >(argp1);
11915
ecode2 = SWIG_AsVal_int(obj1, &val2);
11916
if (!SWIG_IsOK(ecode2)) {
11917
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RichTextLine_SetDescent" "', expected argument " "2"" of type '" "int""'");
11919
arg2 = static_cast< int >(val2);
11921
PyThreadState* __tstate = wxPyBeginAllowThreads();
11922
(arg1)->SetDescent(arg2);
11923
wxPyEndAllowThreads(__tstate);
11924
if (PyErr_Occurred()) SWIG_fail;
11926
resultobj = SWIG_Py_Void();
11933
SWIGINTERN PyObject *_wrap_RichTextLine_GetDescent(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11934
PyObject *resultobj = 0;
11935
wxRichTextLine *arg1 = (wxRichTextLine *) 0 ;
11939
PyObject *swig_obj[1] ;
11941
if (!args) SWIG_fail;
11942
swig_obj[0] = args;
11943
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextLine, 0 | 0 );
11944
if (!SWIG_IsOK(res1)) {
11945
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextLine_GetDescent" "', expected argument " "1"" of type '" "wxRichTextLine const *""'");
11947
arg1 = reinterpret_cast< wxRichTextLine * >(argp1);
11949
PyThreadState* __tstate = wxPyBeginAllowThreads();
11950
result = (int)((wxRichTextLine const *)arg1)->GetDescent();
11951
wxPyEndAllowThreads(__tstate);
11952
if (PyErr_Occurred()) SWIG_fail;
11954
resultobj = SWIG_From_int(static_cast< int >(result));
11961
SWIGINTERN PyObject *_wrap_RichTextLine_Init(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11962
PyObject *resultobj = 0;
11963
wxRichTextLine *arg1 = (wxRichTextLine *) 0 ;
11964
wxRichTextParagraph *arg2 = (wxRichTextParagraph *) 0 ;
11969
PyObject * obj0 = 0 ;
11970
PyObject * obj1 = 0 ;
11971
char * kwnames[] = {
11972
(char *) "self",(char *) "parent", NULL
11975
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RichTextLine_Init",kwnames,&obj0,&obj1)) SWIG_fail;
11976
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextLine, 0 | 0 );
11977
if (!SWIG_IsOK(res1)) {
11978
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextLine_Init" "', expected argument " "1"" of type '" "wxRichTextLine *""'");
11980
arg1 = reinterpret_cast< wxRichTextLine * >(argp1);
11981
res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxRichTextParagraph, 0 | 0 );
11982
if (!SWIG_IsOK(res2)) {
11983
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "RichTextLine_Init" "', expected argument " "2"" of type '" "wxRichTextParagraph *""'");
11985
arg2 = reinterpret_cast< wxRichTextParagraph * >(argp2);
11987
PyThreadState* __tstate = wxPyBeginAllowThreads();
11988
(arg1)->Init(arg2);
11989
wxPyEndAllowThreads(__tstate);
11990
if (PyErr_Occurred()) SWIG_fail;
11992
resultobj = SWIG_Py_Void();
11999
SWIGINTERN PyObject *_wrap_RichTextLine_Copy(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12000
PyObject *resultobj = 0;
12001
wxRichTextLine *arg1 = (wxRichTextLine *) 0 ;
12002
wxRichTextLine *arg2 = 0 ;
12007
PyObject * obj0 = 0 ;
12008
PyObject * obj1 = 0 ;
12009
char * kwnames[] = {
12010
(char *) "self",(char *) "obj", NULL
12013
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RichTextLine_Copy",kwnames,&obj0,&obj1)) SWIG_fail;
12014
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextLine, 0 | 0 );
12015
if (!SWIG_IsOK(res1)) {
12016
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextLine_Copy" "', expected argument " "1"" of type '" "wxRichTextLine *""'");
12018
arg1 = reinterpret_cast< wxRichTextLine * >(argp1);
12019
res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxRichTextLine, 0 | 0);
12020
if (!SWIG_IsOK(res2)) {
12021
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "RichTextLine_Copy" "', expected argument " "2"" of type '" "wxRichTextLine const &""'");
12024
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "RichTextLine_Copy" "', expected argument " "2"" of type '" "wxRichTextLine const &""'");
12026
arg2 = reinterpret_cast< wxRichTextLine * >(argp2);
12028
PyThreadState* __tstate = wxPyBeginAllowThreads();
12029
(arg1)->Copy((wxRichTextLine const &)*arg2);
12030
wxPyEndAllowThreads(__tstate);
12031
if (PyErr_Occurred()) SWIG_fail;
12033
resultobj = SWIG_Py_Void();
12040
SWIGINTERN PyObject *_wrap_RichTextLine_Clone(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12041
PyObject *resultobj = 0;
12042
wxRichTextLine *arg1 = (wxRichTextLine *) 0 ;
12043
wxRichTextLine *result = 0 ;
12046
PyObject *swig_obj[1] ;
12048
if (!args) SWIG_fail;
12049
swig_obj[0] = args;
12050
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextLine, 0 | 0 );
12051
if (!SWIG_IsOK(res1)) {
12052
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextLine_Clone" "', expected argument " "1"" of type '" "wxRichTextLine const *""'");
12054
arg1 = reinterpret_cast< wxRichTextLine * >(argp1);
12056
PyThreadState* __tstate = wxPyBeginAllowThreads();
12057
result = (wxRichTextLine *)((wxRichTextLine const *)arg1)->Clone();
12058
wxPyEndAllowThreads(__tstate);
12059
if (PyErr_Occurred()) SWIG_fail;
12061
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxRichTextLine, 0 | 0 );
12068
SWIGINTERN PyObject *RichTextLine_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12070
if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
12071
SWIG_TypeNewClientData(SWIGTYPE_p_wxRichTextLine, SWIG_NewClientData(obj));
12072
return SWIG_Py_Void();
12075
SWIGINTERN PyObject *RichTextLine_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12076
return SWIG_Python_InitShadowInstance(args);
12079
SWIGINTERN PyObject *_wrap_new_RichTextParagraph(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12080
PyObject *resultobj = 0;
12081
wxString *arg1 = 0 ;
12082
wxRichTextObject *arg2 = (wxRichTextObject *) NULL ;
12083
wxTextAttrEx *arg3 = (wxTextAttrEx *) NULL ;
12084
wxTextAttrEx *arg4 = (wxTextAttrEx *) NULL ;
12085
wxRichTextParagraph *result = 0 ;
12086
bool temp1 = false ;
12093
PyObject * obj0 = 0 ;
12094
PyObject * obj1 = 0 ;
12095
PyObject * obj2 = 0 ;
12096
PyObject * obj3 = 0 ;
12097
char * kwnames[] = {
12098
(char *) "text",(char *) "parent",(char *) "paraStyle",(char *) "charStyle", NULL
12101
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:new_RichTextParagraph",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
12103
arg1 = wxString_in_helper(obj0);
12104
if (arg1 == NULL) SWIG_fail;
12108
res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxRichTextObject, 0 | 0 );
12109
if (!SWIG_IsOK(res2)) {
12110
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_RichTextParagraph" "', expected argument " "2"" of type '" "wxRichTextObject *""'");
12112
arg2 = reinterpret_cast< wxRichTextObject * >(argp2);
12115
res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxTextAttrEx, 0 | 0 );
12116
if (!SWIG_IsOK(res3)) {
12117
SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_RichTextParagraph" "', expected argument " "3"" of type '" "wxTextAttrEx *""'");
12119
arg3 = reinterpret_cast< wxTextAttrEx * >(argp3);
12122
res4 = SWIG_ConvertPtr(obj3, &argp4,SWIGTYPE_p_wxTextAttrEx, 0 | 0 );
12123
if (!SWIG_IsOK(res4)) {
12124
SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "new_RichTextParagraph" "', expected argument " "4"" of type '" "wxTextAttrEx *""'");
12126
arg4 = reinterpret_cast< wxTextAttrEx * >(argp4);
12129
PyThreadState* __tstate = wxPyBeginAllowThreads();
12130
result = (wxRichTextParagraph *)new wxRichTextParagraph((wxString const &)*arg1,arg2,arg3,arg4);
12131
wxPyEndAllowThreads(__tstate);
12132
if (PyErr_Occurred()) SWIG_fail;
12134
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxRichTextParagraph, SWIG_POINTER_NEW | 0 );
12149
SWIGINTERN PyObject *_wrap_delete_RichTextParagraph(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12150
PyObject *resultobj = 0;
12151
wxRichTextParagraph *arg1 = (wxRichTextParagraph *) 0 ;
12154
PyObject *swig_obj[1] ;
12156
if (!args) SWIG_fail;
12157
swig_obj[0] = args;
12158
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextParagraph, SWIG_POINTER_DISOWN | 0 );
12159
if (!SWIG_IsOK(res1)) {
12160
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_RichTextParagraph" "', expected argument " "1"" of type '" "wxRichTextParagraph *""'");
12162
arg1 = reinterpret_cast< wxRichTextParagraph * >(argp1);
12164
PyThreadState* __tstate = wxPyBeginAllowThreads();
12167
wxPyEndAllowThreads(__tstate);
12168
if (PyErr_Occurred()) SWIG_fail;
12170
resultobj = SWIG_Py_Void();
12177
SWIGINTERN PyObject *_wrap_RichTextParagraph_GetLines(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12178
PyObject *resultobj = 0;
12179
wxRichTextParagraph *arg1 = (wxRichTextParagraph *) 0 ;
12180
wxRichTextLineList *result = 0 ;
12183
PyObject *swig_obj[1] ;
12185
if (!args) SWIG_fail;
12186
swig_obj[0] = args;
12187
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextParagraph, 0 | 0 );
12188
if (!SWIG_IsOK(res1)) {
12189
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextParagraph_GetLines" "', expected argument " "1"" of type '" "wxRichTextParagraph *""'");
12191
arg1 = reinterpret_cast< wxRichTextParagraph * >(argp1);
12193
PyThreadState* __tstate = wxPyBeginAllowThreads();
12195
wxRichTextLineList &_result_ref = (arg1)->GetLines();
12196
result = (wxRichTextLineList *) &_result_ref;
12198
wxPyEndAllowThreads(__tstate);
12199
if (PyErr_Occurred()) SWIG_fail;
12201
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxRichTextLineList, 0 | 0 );
12208
SWIGINTERN PyObject *_wrap_RichTextParagraph_Copy(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12209
PyObject *resultobj = 0;
12210
wxRichTextParagraph *arg1 = (wxRichTextParagraph *) 0 ;
12211
wxRichTextParagraph *arg2 = 0 ;
12216
PyObject * obj0 = 0 ;
12217
PyObject * obj1 = 0 ;
12218
char * kwnames[] = {
12219
(char *) "self",(char *) "obj", NULL
12222
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RichTextParagraph_Copy",kwnames,&obj0,&obj1)) SWIG_fail;
12223
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextParagraph, 0 | 0 );
12224
if (!SWIG_IsOK(res1)) {
12225
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextParagraph_Copy" "', expected argument " "1"" of type '" "wxRichTextParagraph *""'");
12227
arg1 = reinterpret_cast< wxRichTextParagraph * >(argp1);
12228
res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxRichTextParagraph, 0 | 0);
12229
if (!SWIG_IsOK(res2)) {
12230
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "RichTextParagraph_Copy" "', expected argument " "2"" of type '" "wxRichTextParagraph const &""'");
12233
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "RichTextParagraph_Copy" "', expected argument " "2"" of type '" "wxRichTextParagraph const &""'");
12235
arg2 = reinterpret_cast< wxRichTextParagraph * >(argp2);
12237
PyThreadState* __tstate = wxPyBeginAllowThreads();
12238
(arg1)->Copy((wxRichTextParagraph const &)*arg2);
12239
wxPyEndAllowThreads(__tstate);
12240
if (PyErr_Occurred()) SWIG_fail;
12242
resultobj = SWIG_Py_Void();
12249
SWIGINTERN PyObject *_wrap_RichTextParagraph_ClearLines(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12250
PyObject *resultobj = 0;
12251
wxRichTextParagraph *arg1 = (wxRichTextParagraph *) 0 ;
12254
PyObject *swig_obj[1] ;
12256
if (!args) SWIG_fail;
12257
swig_obj[0] = args;
12258
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextParagraph, 0 | 0 );
12259
if (!SWIG_IsOK(res1)) {
12260
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextParagraph_ClearLines" "', expected argument " "1"" of type '" "wxRichTextParagraph *""'");
12262
arg1 = reinterpret_cast< wxRichTextParagraph * >(argp1);
12264
PyThreadState* __tstate = wxPyBeginAllowThreads();
12265
(arg1)->ClearLines();
12266
wxPyEndAllowThreads(__tstate);
12267
if (PyErr_Occurred()) SWIG_fail;
12269
resultobj = SWIG_Py_Void();
12276
SWIGINTERN PyObject *_wrap_RichTextParagraph_ApplyParagraphStyle(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12277
PyObject *resultobj = 0;
12278
wxRichTextParagraph *arg1 = (wxRichTextParagraph *) 0 ;
12279
wxTextAttrEx *arg2 = 0 ;
12286
PyObject * obj0 = 0 ;
12287
PyObject * obj1 = 0 ;
12288
PyObject * obj2 = 0 ;
12289
char * kwnames[] = {
12290
(char *) "self",(char *) "attr",(char *) "rect", NULL
12293
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:RichTextParagraph_ApplyParagraphStyle",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
12294
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextParagraph, 0 | 0 );
12295
if (!SWIG_IsOK(res1)) {
12296
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextParagraph_ApplyParagraphStyle" "', expected argument " "1"" of type '" "wxRichTextParagraph *""'");
12298
arg1 = reinterpret_cast< wxRichTextParagraph * >(argp1);
12299
res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTextAttrEx, 0 | 0);
12300
if (!SWIG_IsOK(res2)) {
12301
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "RichTextParagraph_ApplyParagraphStyle" "', expected argument " "2"" of type '" "wxTextAttrEx const &""'");
12304
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "RichTextParagraph_ApplyParagraphStyle" "', expected argument " "2"" of type '" "wxTextAttrEx const &""'");
12306
arg2 = reinterpret_cast< wxTextAttrEx * >(argp2);
12309
if ( ! wxRect_helper(obj2, &arg3)) SWIG_fail;
12312
PyThreadState* __tstate = wxPyBeginAllowThreads();
12313
(arg1)->ApplyParagraphStyle((wxTextAttrEx const &)*arg2,(wxRect const &)*arg3);
12314
wxPyEndAllowThreads(__tstate);
12315
if (PyErr_Occurred()) SWIG_fail;
12317
resultobj = SWIG_Py_Void();
12324
SWIGINTERN PyObject *_wrap_RichTextParagraph_InsertText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12325
PyObject *resultobj = 0;
12326
wxRichTextParagraph *arg1 = (wxRichTextParagraph *) 0 ;
12328
wxString *arg3 = 0 ;
12334
bool temp3 = false ;
12335
PyObject * obj0 = 0 ;
12336
PyObject * obj1 = 0 ;
12337
PyObject * obj2 = 0 ;
12338
char * kwnames[] = {
12339
(char *) "self",(char *) "pos",(char *) "text", NULL
12342
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:RichTextParagraph_InsertText",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
12343
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextParagraph, 0 | 0 );
12344
if (!SWIG_IsOK(res1)) {
12345
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextParagraph_InsertText" "', expected argument " "1"" of type '" "wxRichTextParagraph *""'");
12347
arg1 = reinterpret_cast< wxRichTextParagraph * >(argp1);
12348
ecode2 = SWIG_AsVal_long(obj1, &val2);
12349
if (!SWIG_IsOK(ecode2)) {
12350
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RichTextParagraph_InsertText" "', expected argument " "2"" of type '" "long""'");
12352
arg2 = static_cast< long >(val2);
12354
arg3 = wxString_in_helper(obj2);
12355
if (arg3 == NULL) SWIG_fail;
12359
PyThreadState* __tstate = wxPyBeginAllowThreads();
12360
result = (bool)(arg1)->InsertText(arg2,(wxString const &)*arg3);
12361
wxPyEndAllowThreads(__tstate);
12362
if (PyErr_Occurred()) SWIG_fail;
12365
resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12381
SWIGINTERN PyObject *_wrap_RichTextParagraph_SplitAt(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12382
PyObject *resultobj = 0;
12383
wxRichTextParagraph *arg1 = (wxRichTextParagraph *) 0 ;
12385
wxRichTextObject **arg3 = (wxRichTextObject **) NULL ;
12386
wxRichTextObject *result = 0 ;
12393
PyObject * obj0 = 0 ;
12394
PyObject * obj1 = 0 ;
12395
PyObject * obj2 = 0 ;
12396
char * kwnames[] = {
12397
(char *) "self",(char *) "pos",(char *) "previousObject", NULL
12400
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:RichTextParagraph_SplitAt",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
12401
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextParagraph, 0 | 0 );
12402
if (!SWIG_IsOK(res1)) {
12403
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextParagraph_SplitAt" "', expected argument " "1"" of type '" "wxRichTextParagraph *""'");
12405
arg1 = reinterpret_cast< wxRichTextParagraph * >(argp1);
12406
ecode2 = SWIG_AsVal_long(obj1, &val2);
12407
if (!SWIG_IsOK(ecode2)) {
12408
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RichTextParagraph_SplitAt" "', expected argument " "2"" of type '" "long""'");
12410
arg2 = static_cast< long >(val2);
12412
res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_p_wxRichTextObject, 0 | 0 );
12413
if (!SWIG_IsOK(res3)) {
12414
SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "RichTextParagraph_SplitAt" "', expected argument " "3"" of type '" "wxRichTextObject **""'");
12416
arg3 = reinterpret_cast< wxRichTextObject ** >(argp3);
12419
PyThreadState* __tstate = wxPyBeginAllowThreads();
12420
result = (wxRichTextObject *)(arg1)->SplitAt(arg2,arg3);
12421
wxPyEndAllowThreads(__tstate);
12422
if (PyErr_Occurred()) SWIG_fail;
12424
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxRichTextObject, 0 | 0 );
12431
SWIGINTERN PyObject *_wrap_RichTextParagraph_MoveToList(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12432
PyObject *resultobj = 0;
12433
wxRichTextParagraph *arg1 = (wxRichTextParagraph *) 0 ;
12434
wxRichTextObject *arg2 = (wxRichTextObject *) 0 ;
12442
PyObject * obj0 = 0 ;
12443
PyObject * obj1 = 0 ;
12444
PyObject * obj2 = 0 ;
12445
char * kwnames[] = {
12446
(char *) "self",(char *) "obj",(char *) "list", NULL
12449
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:RichTextParagraph_MoveToList",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
12450
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextParagraph, 0 | 0 );
12451
if (!SWIG_IsOK(res1)) {
12452
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextParagraph_MoveToList" "', expected argument " "1"" of type '" "wxRichTextParagraph *""'");
12454
arg1 = reinterpret_cast< wxRichTextParagraph * >(argp1);
12455
res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxRichTextObject, 0 | 0 );
12456
if (!SWIG_IsOK(res2)) {
12457
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "RichTextParagraph_MoveToList" "', expected argument " "2"" of type '" "wxRichTextObject *""'");
12459
arg2 = reinterpret_cast< wxRichTextObject * >(argp2);
12460
res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxList, 0 );
12461
if (!SWIG_IsOK(res3)) {
12462
SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "RichTextParagraph_MoveToList" "', expected argument " "3"" of type '" "wxList &""'");
12465
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "RichTextParagraph_MoveToList" "', expected argument " "3"" of type '" "wxList &""'");
12467
arg3 = reinterpret_cast< wxList * >(argp3);
12469
PyThreadState* __tstate = wxPyBeginAllowThreads();
12470
(arg1)->MoveToList(arg2,*arg3);
12471
wxPyEndAllowThreads(__tstate);
12472
if (PyErr_Occurred()) SWIG_fail;
12474
resultobj = SWIG_Py_Void();
12481
SWIGINTERN PyObject *_wrap_RichTextParagraph_MoveFromList(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12482
PyObject *resultobj = 0;
12483
wxRichTextParagraph *arg1 = (wxRichTextParagraph *) 0 ;
12489
PyObject * obj0 = 0 ;
12490
PyObject * obj1 = 0 ;
12491
char * kwnames[] = {
12492
(char *) "self",(char *) "list", NULL
12495
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RichTextParagraph_MoveFromList",kwnames,&obj0,&obj1)) SWIG_fail;
12496
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextParagraph, 0 | 0 );
12497
if (!SWIG_IsOK(res1)) {
12498
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextParagraph_MoveFromList" "', expected argument " "1"" of type '" "wxRichTextParagraph *""'");
12500
arg1 = reinterpret_cast< wxRichTextParagraph * >(argp1);
12501
res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxList, 0 );
12502
if (!SWIG_IsOK(res2)) {
12503
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "RichTextParagraph_MoveFromList" "', expected argument " "2"" of type '" "wxList &""'");
12506
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "RichTextParagraph_MoveFromList" "', expected argument " "2"" of type '" "wxList &""'");
12508
arg2 = reinterpret_cast< wxList * >(argp2);
12510
PyThreadState* __tstate = wxPyBeginAllowThreads();
12511
(arg1)->MoveFromList(*arg2);
12512
wxPyEndAllowThreads(__tstate);
12513
if (PyErr_Occurred()) SWIG_fail;
12515
resultobj = SWIG_Py_Void();
12522
SWIGINTERN PyObject *_wrap_RichTextParagraph_GetContiguousPlainText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12523
PyObject *resultobj = 0;
12524
wxRichTextParagraph *arg1 = (wxRichTextParagraph *) 0 ;
12525
wxString *arg2 = 0 ;
12526
wxRichTextRange *arg3 = 0 ;
12527
bool arg4 = (bool) true ;
12531
bool temp2 = false ;
12532
wxRichTextRange temp3 ;
12535
PyObject * obj0 = 0 ;
12536
PyObject * obj1 = 0 ;
12537
PyObject * obj2 = 0 ;
12538
PyObject * obj3 = 0 ;
12539
char * kwnames[] = {
12540
(char *) "self",(char *) "text",(char *) "range",(char *) "fromStart", NULL
12543
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:RichTextParagraph_GetContiguousPlainText",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
12544
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextParagraph, 0 | 0 );
12545
if (!SWIG_IsOK(res1)) {
12546
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextParagraph_GetContiguousPlainText" "', expected argument " "1"" of type '" "wxRichTextParagraph *""'");
12548
arg1 = reinterpret_cast< wxRichTextParagraph * >(argp1);
12550
arg2 = wxString_in_helper(obj1);
12551
if (arg2 == NULL) SWIG_fail;
12556
if ( ! wxRichTextRange_helper(obj2, &arg3)) SWIG_fail;
12559
ecode4 = SWIG_AsVal_bool(obj3, &val4);
12560
if (!SWIG_IsOK(ecode4)) {
12561
SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "RichTextParagraph_GetContiguousPlainText" "', expected argument " "4"" of type '" "bool""'");
12563
arg4 = static_cast< bool >(val4);
12566
PyThreadState* __tstate = wxPyBeginAllowThreads();
12567
result = (bool)(arg1)->GetContiguousPlainText(*arg2,(wxRichTextRange const &)*arg3,arg4);
12568
wxPyEndAllowThreads(__tstate);
12569
if (PyErr_Occurred()) SWIG_fail;
12572
resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12588
SWIGINTERN PyObject *_wrap_RichTextParagraph_FindWrapPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12589
PyObject *resultobj = 0;
12590
wxRichTextParagraph *arg1 = (wxRichTextParagraph *) 0 ;
12591
wxRichTextRange *arg2 = 0 ;
12598
wxRichTextRange temp2 ;
12605
PyObject * obj0 = 0 ;
12606
PyObject * obj1 = 0 ;
12607
PyObject * obj2 = 0 ;
12608
PyObject * obj3 = 0 ;
12609
PyObject * obj4 = 0 ;
12610
char * kwnames[] = {
12611
(char *) "self",(char *) "range",(char *) "dc",(char *) "availableSpace",(char *) "wrapPosition", NULL
12614
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:RichTextParagraph_FindWrapPosition",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
12615
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextParagraph, 0 | 0 );
12616
if (!SWIG_IsOK(res1)) {
12617
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextParagraph_FindWrapPosition" "', expected argument " "1"" of type '" "wxRichTextParagraph *""'");
12619
arg1 = reinterpret_cast< wxRichTextParagraph * >(argp1);
12622
if ( ! wxRichTextRange_helper(obj1, &arg2)) SWIG_fail;
12624
res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxDC, 0 );
12625
if (!SWIG_IsOK(res3)) {
12626
SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "RichTextParagraph_FindWrapPosition" "', expected argument " "3"" of type '" "wxDC &""'");
12629
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "RichTextParagraph_FindWrapPosition" "', expected argument " "3"" of type '" "wxDC &""'");
12631
arg3 = reinterpret_cast< wxDC * >(argp3);
12632
ecode4 = SWIG_AsVal_int(obj3, &val4);
12633
if (!SWIG_IsOK(ecode4)) {
12634
SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "RichTextParagraph_FindWrapPosition" "', expected argument " "4"" of type '" "int""'");
12636
arg4 = static_cast< int >(val4);
12637
res5 = SWIG_ConvertPtr(obj4, &argp5, SWIGTYPE_p_long, 0 );
12638
if (!SWIG_IsOK(res5)) {
12639
SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "RichTextParagraph_FindWrapPosition" "', expected argument " "5"" of type '" "long &""'");
12642
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "RichTextParagraph_FindWrapPosition" "', expected argument " "5"" of type '" "long &""'");
12644
arg5 = reinterpret_cast< long * >(argp5);
12646
PyThreadState* __tstate = wxPyBeginAllowThreads();
12647
result = (bool)(arg1)->FindWrapPosition((wxRichTextRange const &)*arg2,*arg3,arg4,*arg5);
12648
wxPyEndAllowThreads(__tstate);
12649
if (PyErr_Occurred()) SWIG_fail;
12652
resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12660
SWIGINTERN PyObject *_wrap_RichTextParagraph_FindObjectAtPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12661
PyObject *resultobj = 0;
12662
wxRichTextParagraph *arg1 = (wxRichTextParagraph *) 0 ;
12664
wxRichTextObject *result = 0 ;
12669
PyObject * obj0 = 0 ;
12670
PyObject * obj1 = 0 ;
12671
char * kwnames[] = {
12672
(char *) "self",(char *) "position", NULL
12675
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RichTextParagraph_FindObjectAtPosition",kwnames,&obj0,&obj1)) SWIG_fail;
12676
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextParagraph, 0 | 0 );
12677
if (!SWIG_IsOK(res1)) {
12678
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextParagraph_FindObjectAtPosition" "', expected argument " "1"" of type '" "wxRichTextParagraph *""'");
12680
arg1 = reinterpret_cast< wxRichTextParagraph * >(argp1);
12681
ecode2 = SWIG_AsVal_long(obj1, &val2);
12682
if (!SWIG_IsOK(ecode2)) {
12683
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RichTextParagraph_FindObjectAtPosition" "', expected argument " "2"" of type '" "long""'");
12685
arg2 = static_cast< long >(val2);
12687
PyThreadState* __tstate = wxPyBeginAllowThreads();
12688
result = (wxRichTextObject *)(arg1)->FindObjectAtPosition(arg2);
12689
wxPyEndAllowThreads(__tstate);
12690
if (PyErr_Occurred()) SWIG_fail;
12692
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxRichTextObject, 0 | 0 );
12699
SWIGINTERN PyObject *_wrap_RichTextParagraph_GetBulletText(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12700
PyObject *resultobj = 0;
12701
wxRichTextParagraph *arg1 = (wxRichTextParagraph *) 0 ;
12705
PyObject *swig_obj[1] ;
12707
if (!args) SWIG_fail;
12708
swig_obj[0] = args;
12709
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextParagraph, 0 | 0 );
12710
if (!SWIG_IsOK(res1)) {
12711
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextParagraph_GetBulletText" "', expected argument " "1"" of type '" "wxRichTextParagraph *""'");
12713
arg1 = reinterpret_cast< wxRichTextParagraph * >(argp1);
12715
PyThreadState* __tstate = wxPyBeginAllowThreads();
12716
result = (arg1)->GetBulletText();
12717
wxPyEndAllowThreads(__tstate);
12718
if (PyErr_Occurred()) SWIG_fail;
12722
resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
12724
resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
12733
SWIGINTERN PyObject *_wrap_RichTextParagraph_AllocateLine(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12734
PyObject *resultobj = 0;
12735
wxRichTextParagraph *arg1 = (wxRichTextParagraph *) 0 ;
12737
wxRichTextLine *result = 0 ;
12742
PyObject * obj0 = 0 ;
12743
PyObject * obj1 = 0 ;
12744
char * kwnames[] = {
12745
(char *) "self",(char *) "pos", NULL
12748
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RichTextParagraph_AllocateLine",kwnames,&obj0,&obj1)) SWIG_fail;
12749
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextParagraph, 0 | 0 );
12750
if (!SWIG_IsOK(res1)) {
12751
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextParagraph_AllocateLine" "', expected argument " "1"" of type '" "wxRichTextParagraph *""'");
12753
arg1 = reinterpret_cast< wxRichTextParagraph * >(argp1);
12754
ecode2 = SWIG_AsVal_int(obj1, &val2);
12755
if (!SWIG_IsOK(ecode2)) {
12756
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RichTextParagraph_AllocateLine" "', expected argument " "2"" of type '" "int""'");
12758
arg2 = static_cast< int >(val2);
12760
PyThreadState* __tstate = wxPyBeginAllowThreads();
12761
result = (wxRichTextLine *)(arg1)->AllocateLine(arg2);
12762
wxPyEndAllowThreads(__tstate);
12763
if (PyErr_Occurred()) SWIG_fail;
12765
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxRichTextLine, 0 | 0 );
12772
SWIGINTERN PyObject *_wrap_RichTextParagraph_ClearUnusedLines(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12773
PyObject *resultobj = 0;
12774
wxRichTextParagraph *arg1 = (wxRichTextParagraph *) 0 ;
12781
PyObject * obj0 = 0 ;
12782
PyObject * obj1 = 0 ;
12783
char * kwnames[] = {
12784
(char *) "self",(char *) "lineCount", NULL
12787
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RichTextParagraph_ClearUnusedLines",kwnames,&obj0,&obj1)) SWIG_fail;
12788
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextParagraph, 0 | 0 );
12789
if (!SWIG_IsOK(res1)) {
12790
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextParagraph_ClearUnusedLines" "', expected argument " "1"" of type '" "wxRichTextParagraph *""'");
12792
arg1 = reinterpret_cast< wxRichTextParagraph * >(argp1);
12793
ecode2 = SWIG_AsVal_int(obj1, &val2);
12794
if (!SWIG_IsOK(ecode2)) {
12795
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RichTextParagraph_ClearUnusedLines" "', expected argument " "2"" of type '" "int""'");
12797
arg2 = static_cast< int >(val2);
12799
PyThreadState* __tstate = wxPyBeginAllowThreads();
12800
result = (bool)(arg1)->ClearUnusedLines(arg2);
12801
wxPyEndAllowThreads(__tstate);
12802
if (PyErr_Occurred()) SWIG_fail;
12805
resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12813
SWIGINTERN PyObject *_wrap_RichTextParagraph_GetCombinedAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12814
PyObject *resultobj = 0;
12815
wxRichTextParagraph *arg1 = (wxRichTextParagraph *) 0 ;
12816
wxTextAttrEx *arg2 = (wxTextAttrEx *) NULL ;
12817
wxTextAttrEx result;
12822
PyObject * obj0 = 0 ;
12823
PyObject * obj1 = 0 ;
12824
char * kwnames[] = {
12825
(char *) "self",(char *) "contentStyle", NULL
12828
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:RichTextParagraph_GetCombinedAttributes",kwnames,&obj0,&obj1)) SWIG_fail;
12829
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextParagraph, 0 | 0 );
12830
if (!SWIG_IsOK(res1)) {
12831
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextParagraph_GetCombinedAttributes" "', expected argument " "1"" of type '" "wxRichTextParagraph *""'");
12833
arg1 = reinterpret_cast< wxRichTextParagraph * >(argp1);
12835
res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxTextAttrEx, 0 | 0 );
12836
if (!SWIG_IsOK(res2)) {
12837
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "RichTextParagraph_GetCombinedAttributes" "', expected argument " "2"" of type '" "wxTextAttrEx *""'");
12839
arg2 = reinterpret_cast< wxTextAttrEx * >(argp2);
12842
PyThreadState* __tstate = wxPyBeginAllowThreads();
12843
result = wxRichTextParagraph_GetCombinedAttributes(arg1,arg2);
12844
wxPyEndAllowThreads(__tstate);
12845
if (PyErr_Occurred()) SWIG_fail;
12847
resultobj = SWIG_NewPointerObj((new wxTextAttrEx(static_cast< const wxTextAttrEx& >(result))), SWIGTYPE_p_wxTextAttrEx, SWIG_POINTER_OWN | 0 );
12854
SWIGINTERN PyObject *_wrap_RichTextParagraph_GetFirstLineBreakPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12855
PyObject *resultobj = 0;
12856
wxRichTextParagraph *arg1 = (wxRichTextParagraph *) 0 ;
12863
PyObject * obj0 = 0 ;
12864
PyObject * obj1 = 0 ;
12865
char * kwnames[] = {
12866
(char *) "self",(char *) "pos", NULL
12869
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RichTextParagraph_GetFirstLineBreakPosition",kwnames,&obj0,&obj1)) SWIG_fail;
12870
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextParagraph, 0 | 0 );
12871
if (!SWIG_IsOK(res1)) {
12872
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextParagraph_GetFirstLineBreakPosition" "', expected argument " "1"" of type '" "wxRichTextParagraph *""'");
12874
arg1 = reinterpret_cast< wxRichTextParagraph * >(argp1);
12875
ecode2 = SWIG_AsVal_long(obj1, &val2);
12876
if (!SWIG_IsOK(ecode2)) {
12877
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RichTextParagraph_GetFirstLineBreakPosition" "', expected argument " "2"" of type '" "long""'");
12879
arg2 = static_cast< long >(val2);
12881
PyThreadState* __tstate = wxPyBeginAllowThreads();
12882
result = (long)(arg1)->GetFirstLineBreakPosition(arg2);
12883
wxPyEndAllowThreads(__tstate);
12884
if (PyErr_Occurred()) SWIG_fail;
12886
resultobj = SWIG_From_long(static_cast< long >(result));
12893
SWIGINTERN PyObject *_wrap_RichTextParagraph_InitDefaultTabs(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12894
PyObject *resultobj = 0;
12896
if (!SWIG_Python_UnpackTuple(args,"RichTextParagraph_InitDefaultTabs",0,0,0)) SWIG_fail;
12898
PyThreadState* __tstate = wxPyBeginAllowThreads();
12899
wxRichTextParagraph::InitDefaultTabs();
12900
wxPyEndAllowThreads(__tstate);
12901
if (PyErr_Occurred()) SWIG_fail;
12903
resultobj = SWIG_Py_Void();
12910
SWIGINTERN PyObject *_wrap_RichTextParagraph_ClearDefaultTabs(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12911
PyObject *resultobj = 0;
12913
if (!SWIG_Python_UnpackTuple(args,"RichTextParagraph_ClearDefaultTabs",0,0,0)) SWIG_fail;
12915
PyThreadState* __tstate = wxPyBeginAllowThreads();
12916
wxRichTextParagraph::ClearDefaultTabs();
12917
wxPyEndAllowThreads(__tstate);
12918
if (PyErr_Occurred()) SWIG_fail;
12920
resultobj = SWIG_Py_Void();
12927
SWIGINTERN PyObject *_wrap_RichTextParagraph_GetDefaultTabs(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12928
PyObject *resultobj = 0;
4605
12929
wxArrayInt *result = 0 ;
4608
PyObject *swig_obj[1] ;
4610
if (!args) SWIG_fail;
4612
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextAttr, 0 | 0 );
4613
if (!SWIG_IsOK(res1)) {
4614
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextAttr_GetTabs" "', expected argument " "1"" of type '" "wxRichTextAttr const *""'");
4616
arg1 = reinterpret_cast< wxRichTextAttr * >(argp1);
12931
if (!SWIG_Python_UnpackTuple(args,"RichTextParagraph_GetDefaultTabs",0,0,0)) SWIG_fail;
4618
12933
PyThreadState* __tstate = wxPyBeginAllowThreads();
4620
wxArrayInt const &_result_ref = ((wxRichTextAttr const *)arg1)->GetTabs();
12935
wxArrayInt const &_result_ref = wxRichTextParagraph::GetDefaultTabs();
4621
12936
result = (wxArrayInt *) &_result_ref;
4623
12938
wxPyEndAllowThreads(__tstate);
4635
SWIGINTERN PyObject *_wrap_RichTextAttr_GetLeftIndent(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4636
PyObject *resultobj = 0;
4637
wxRichTextAttr *arg1 = (wxRichTextAttr *) 0 ;
4641
PyObject *swig_obj[1] ;
4643
if (!args) SWIG_fail;
4645
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextAttr, 0 | 0 );
4646
if (!SWIG_IsOK(res1)) {
4647
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextAttr_GetLeftIndent" "', expected argument " "1"" of type '" "wxRichTextAttr const *""'");
4649
arg1 = reinterpret_cast< wxRichTextAttr * >(argp1);
4651
PyThreadState* __tstate = wxPyBeginAllowThreads();
4652
result = (long)((wxRichTextAttr const *)arg1)->GetLeftIndent();
4653
wxPyEndAllowThreads(__tstate);
4654
if (PyErr_Occurred()) SWIG_fail;
4656
resultobj = SWIG_From_long(static_cast< long >(result));
4663
SWIGINTERN PyObject *_wrap_RichTextAttr_GetLeftSubIndent(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4664
PyObject *resultobj = 0;
4665
wxRichTextAttr *arg1 = (wxRichTextAttr *) 0 ;
4669
PyObject *swig_obj[1] ;
4671
if (!args) SWIG_fail;
4673
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextAttr, 0 | 0 );
4674
if (!SWIG_IsOK(res1)) {
4675
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextAttr_GetLeftSubIndent" "', expected argument " "1"" of type '" "wxRichTextAttr const *""'");
4677
arg1 = reinterpret_cast< wxRichTextAttr * >(argp1);
4679
PyThreadState* __tstate = wxPyBeginAllowThreads();
4680
result = (long)((wxRichTextAttr const *)arg1)->GetLeftSubIndent();
4681
wxPyEndAllowThreads(__tstate);
4682
if (PyErr_Occurred()) SWIG_fail;
4684
resultobj = SWIG_From_long(static_cast< long >(result));
4691
SWIGINTERN PyObject *_wrap_RichTextAttr_GetRightIndent(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4692
PyObject *resultobj = 0;
4693
wxRichTextAttr *arg1 = (wxRichTextAttr *) 0 ;
4697
PyObject *swig_obj[1] ;
4699
if (!args) SWIG_fail;
4701
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextAttr, 0 | 0 );
4702
if (!SWIG_IsOK(res1)) {
4703
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextAttr_GetRightIndent" "', expected argument " "1"" of type '" "wxRichTextAttr const *""'");
4705
arg1 = reinterpret_cast< wxRichTextAttr * >(argp1);
4707
PyThreadState* __tstate = wxPyBeginAllowThreads();
4708
result = (long)((wxRichTextAttr const *)arg1)->GetRightIndent();
4709
wxPyEndAllowThreads(__tstate);
4710
if (PyErr_Occurred()) SWIG_fail;
4712
resultobj = SWIG_From_long(static_cast< long >(result));
4719
SWIGINTERN PyObject *_wrap_RichTextAttr_GetFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4720
PyObject *resultobj = 0;
4721
wxRichTextAttr *arg1 = (wxRichTextAttr *) 0 ;
4725
PyObject *swig_obj[1] ;
4727
if (!args) SWIG_fail;
4729
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextAttr, 0 | 0 );
4730
if (!SWIG_IsOK(res1)) {
4731
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextAttr_GetFlags" "', expected argument " "1"" of type '" "wxRichTextAttr const *""'");
4733
arg1 = reinterpret_cast< wxRichTextAttr * >(argp1);
4735
PyThreadState* __tstate = wxPyBeginAllowThreads();
4736
result = (long)((wxRichTextAttr const *)arg1)->GetFlags();
4737
wxPyEndAllowThreads(__tstate);
4738
if (PyErr_Occurred()) SWIG_fail;
4740
resultobj = SWIG_From_long(static_cast< long >(result));
4747
SWIGINTERN PyObject *_wrap_RichTextAttr_GetFontSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4748
PyObject *resultobj = 0;
4749
wxRichTextAttr *arg1 = (wxRichTextAttr *) 0 ;
4753
PyObject *swig_obj[1] ;
4755
if (!args) SWIG_fail;
4757
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextAttr, 0 | 0 );
4758
if (!SWIG_IsOK(res1)) {
4759
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextAttr_GetFontSize" "', expected argument " "1"" of type '" "wxRichTextAttr const *""'");
4761
arg1 = reinterpret_cast< wxRichTextAttr * >(argp1);
4763
PyThreadState* __tstate = wxPyBeginAllowThreads();
4764
result = (int)((wxRichTextAttr const *)arg1)->GetFontSize();
4765
wxPyEndAllowThreads(__tstate);
4766
if (PyErr_Occurred()) SWIG_fail;
4768
resultobj = SWIG_From_int(static_cast< int >(result));
4775
SWIGINTERN PyObject *_wrap_RichTextAttr_GetFontStyle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4776
PyObject *resultobj = 0;
4777
wxRichTextAttr *arg1 = (wxRichTextAttr *) 0 ;
4781
PyObject *swig_obj[1] ;
4783
if (!args) SWIG_fail;
4785
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextAttr, 0 | 0 );
4786
if (!SWIG_IsOK(res1)) {
4787
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextAttr_GetFontStyle" "', expected argument " "1"" of type '" "wxRichTextAttr const *""'");
4789
arg1 = reinterpret_cast< wxRichTextAttr * >(argp1);
4791
PyThreadState* __tstate = wxPyBeginAllowThreads();
4792
result = (int)((wxRichTextAttr const *)arg1)->GetFontStyle();
4793
wxPyEndAllowThreads(__tstate);
4794
if (PyErr_Occurred()) SWIG_fail;
4796
resultobj = SWIG_From_int(static_cast< int >(result));
4803
SWIGINTERN PyObject *_wrap_RichTextAttr_GetFontWeight(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4804
PyObject *resultobj = 0;
4805
wxRichTextAttr *arg1 = (wxRichTextAttr *) 0 ;
4809
PyObject *swig_obj[1] ;
4811
if (!args) SWIG_fail;
4813
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextAttr, 0 | 0 );
4814
if (!SWIG_IsOK(res1)) {
4815
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextAttr_GetFontWeight" "', expected argument " "1"" of type '" "wxRichTextAttr const *""'");
4817
arg1 = reinterpret_cast< wxRichTextAttr * >(argp1);
4819
PyThreadState* __tstate = wxPyBeginAllowThreads();
4820
result = (int)((wxRichTextAttr const *)arg1)->GetFontWeight();
4821
wxPyEndAllowThreads(__tstate);
4822
if (PyErr_Occurred()) SWIG_fail;
4824
resultobj = SWIG_From_int(static_cast< int >(result));
4831
SWIGINTERN PyObject *_wrap_RichTextAttr_GetFontUnderlined(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4832
PyObject *resultobj = 0;
4833
wxRichTextAttr *arg1 = (wxRichTextAttr *) 0 ;
4837
PyObject *swig_obj[1] ;
4839
if (!args) SWIG_fail;
4841
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextAttr, 0 | 0 );
4842
if (!SWIG_IsOK(res1)) {
4843
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextAttr_GetFontUnderlined" "', expected argument " "1"" of type '" "wxRichTextAttr const *""'");
4845
arg1 = reinterpret_cast< wxRichTextAttr * >(argp1);
4847
PyThreadState* __tstate = wxPyBeginAllowThreads();
4848
result = (bool)((wxRichTextAttr const *)arg1)->GetFontUnderlined();
4849
wxPyEndAllowThreads(__tstate);
4850
if (PyErr_Occurred()) SWIG_fail;
4853
resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4861
SWIGINTERN PyObject *_wrap_RichTextAttr_GetFontFaceName(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4862
PyObject *resultobj = 0;
4863
wxRichTextAttr *arg1 = (wxRichTextAttr *) 0 ;
4864
wxString *result = 0 ;
4867
PyObject *swig_obj[1] ;
4869
if (!args) SWIG_fail;
4871
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextAttr, 0 | 0 );
4872
if (!SWIG_IsOK(res1)) {
4873
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextAttr_GetFontFaceName" "', expected argument " "1"" of type '" "wxRichTextAttr const *""'");
4875
arg1 = reinterpret_cast< wxRichTextAttr * >(argp1);
4877
PyThreadState* __tstate = wxPyBeginAllowThreads();
4879
wxString const &_result_ref = ((wxRichTextAttr const *)arg1)->GetFontFaceName();
4880
result = (wxString *) &_result_ref;
4882
wxPyEndAllowThreads(__tstate);
4883
if (PyErr_Occurred()) SWIG_fail;
4887
resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
4889
resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
4898
SWIGINTERN PyObject *_wrap_RichTextAttr_GetCharacterStyleName(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4899
PyObject *resultobj = 0;
4900
wxRichTextAttr *arg1 = (wxRichTextAttr *) 0 ;
4901
wxString *result = 0 ;
4904
PyObject *swig_obj[1] ;
4906
if (!args) SWIG_fail;
4908
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextAttr, 0 | 0 );
4909
if (!SWIG_IsOK(res1)) {
4910
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextAttr_GetCharacterStyleName" "', expected argument " "1"" of type '" "wxRichTextAttr const *""'");
4912
arg1 = reinterpret_cast< wxRichTextAttr * >(argp1);
4914
PyThreadState* __tstate = wxPyBeginAllowThreads();
4916
wxString const &_result_ref = ((wxRichTextAttr const *)arg1)->GetCharacterStyleName();
4917
result = (wxString *) &_result_ref;
4919
wxPyEndAllowThreads(__tstate);
4920
if (PyErr_Occurred()) SWIG_fail;
4924
resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
4926
resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
4935
SWIGINTERN PyObject *_wrap_RichTextAttr_GetParagraphStyleName(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4936
PyObject *resultobj = 0;
4937
wxRichTextAttr *arg1 = (wxRichTextAttr *) 0 ;
4938
wxString *result = 0 ;
4941
PyObject *swig_obj[1] ;
4943
if (!args) SWIG_fail;
4945
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextAttr, 0 | 0 );
4946
if (!SWIG_IsOK(res1)) {
4947
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextAttr_GetParagraphStyleName" "', expected argument " "1"" of type '" "wxRichTextAttr const *""'");
4949
arg1 = reinterpret_cast< wxRichTextAttr * >(argp1);
4951
PyThreadState* __tstate = wxPyBeginAllowThreads();
4953
wxString const &_result_ref = ((wxRichTextAttr const *)arg1)->GetParagraphStyleName();
4954
result = (wxString *) &_result_ref;
4956
wxPyEndAllowThreads(__tstate);
4957
if (PyErr_Occurred()) SWIG_fail;
4961
resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
4963
resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
4972
SWIGINTERN PyObject *_wrap_RichTextAttr_GetParagraphSpacingAfter(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4973
PyObject *resultobj = 0;
4974
wxRichTextAttr *arg1 = (wxRichTextAttr *) 0 ;
4978
PyObject *swig_obj[1] ;
4980
if (!args) SWIG_fail;
4982
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextAttr, 0 | 0 );
4983
if (!SWIG_IsOK(res1)) {
4984
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextAttr_GetParagraphSpacingAfter" "', expected argument " "1"" of type '" "wxRichTextAttr const *""'");
4986
arg1 = reinterpret_cast< wxRichTextAttr * >(argp1);
4988
PyThreadState* __tstate = wxPyBeginAllowThreads();
4989
result = (int)((wxRichTextAttr const *)arg1)->GetParagraphSpacingAfter();
4990
wxPyEndAllowThreads(__tstate);
4991
if (PyErr_Occurred()) SWIG_fail;
4993
resultobj = SWIG_From_int(static_cast< int >(result));
5000
SWIGINTERN PyObject *_wrap_RichTextAttr_GetParagraphSpacingBefore(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5001
PyObject *resultobj = 0;
5002
wxRichTextAttr *arg1 = (wxRichTextAttr *) 0 ;
5006
PyObject *swig_obj[1] ;
5008
if (!args) SWIG_fail;
5010
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextAttr, 0 | 0 );
5011
if (!SWIG_IsOK(res1)) {
5012
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextAttr_GetParagraphSpacingBefore" "', expected argument " "1"" of type '" "wxRichTextAttr const *""'");
5014
arg1 = reinterpret_cast< wxRichTextAttr * >(argp1);
5016
PyThreadState* __tstate = wxPyBeginAllowThreads();
5017
result = (int)((wxRichTextAttr const *)arg1)->GetParagraphSpacingBefore();
5018
wxPyEndAllowThreads(__tstate);
5019
if (PyErr_Occurred()) SWIG_fail;
5021
resultobj = SWIG_From_int(static_cast< int >(result));
5028
SWIGINTERN PyObject *_wrap_RichTextAttr_GetLineSpacing(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5029
PyObject *resultobj = 0;
5030
wxRichTextAttr *arg1 = (wxRichTextAttr *) 0 ;
5034
PyObject *swig_obj[1] ;
5036
if (!args) SWIG_fail;
5038
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextAttr, 0 | 0 );
5039
if (!SWIG_IsOK(res1)) {
5040
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextAttr_GetLineSpacing" "', expected argument " "1"" of type '" "wxRichTextAttr const *""'");
5042
arg1 = reinterpret_cast< wxRichTextAttr * >(argp1);
5044
PyThreadState* __tstate = wxPyBeginAllowThreads();
5045
result = (int)((wxRichTextAttr const *)arg1)->GetLineSpacing();
5046
wxPyEndAllowThreads(__tstate);
5047
if (PyErr_Occurred()) SWIG_fail;
5049
resultobj = SWIG_From_int(static_cast< int >(result));
5056
SWIGINTERN PyObject *_wrap_RichTextAttr_GetBulletStyle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5057
PyObject *resultobj = 0;
5058
wxRichTextAttr *arg1 = (wxRichTextAttr *) 0 ;
5062
PyObject *swig_obj[1] ;
5064
if (!args) SWIG_fail;
5066
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextAttr, 0 | 0 );
5067
if (!SWIG_IsOK(res1)) {
5068
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextAttr_GetBulletStyle" "', expected argument " "1"" of type '" "wxRichTextAttr const *""'");
5070
arg1 = reinterpret_cast< wxRichTextAttr * >(argp1);
5072
PyThreadState* __tstate = wxPyBeginAllowThreads();
5073
result = (int)((wxRichTextAttr const *)arg1)->GetBulletStyle();
5074
wxPyEndAllowThreads(__tstate);
5075
if (PyErr_Occurred()) SWIG_fail;
5077
resultobj = SWIG_From_int(static_cast< int >(result));
5084
SWIGINTERN PyObject *_wrap_RichTextAttr_GetBulletNumber(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5085
PyObject *resultobj = 0;
5086
wxRichTextAttr *arg1 = (wxRichTextAttr *) 0 ;
5090
PyObject *swig_obj[1] ;
5092
if (!args) SWIG_fail;
5094
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextAttr, 0 | 0 );
5095
if (!SWIG_IsOK(res1)) {
5096
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextAttr_GetBulletNumber" "', expected argument " "1"" of type '" "wxRichTextAttr const *""'");
5098
arg1 = reinterpret_cast< wxRichTextAttr * >(argp1);
5100
PyThreadState* __tstate = wxPyBeginAllowThreads();
5101
result = (int)((wxRichTextAttr const *)arg1)->GetBulletNumber();
5102
wxPyEndAllowThreads(__tstate);
5103
if (PyErr_Occurred()) SWIG_fail;
5105
resultobj = SWIG_From_int(static_cast< int >(result));
5112
SWIGINTERN PyObject *_wrap_RichTextAttr_GetBulletText(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5113
PyObject *resultobj = 0;
5114
wxRichTextAttr *arg1 = (wxRichTextAttr *) 0 ;
5115
wxString *result = 0 ;
5118
PyObject *swig_obj[1] ;
5120
if (!args) SWIG_fail;
5122
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextAttr, 0 | 0 );
5123
if (!SWIG_IsOK(res1)) {
5124
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextAttr_GetBulletText" "', expected argument " "1"" of type '" "wxRichTextAttr const *""'");
5126
arg1 = reinterpret_cast< wxRichTextAttr * >(argp1);
5128
PyThreadState* __tstate = wxPyBeginAllowThreads();
5130
wxString const &_result_ref = ((wxRichTextAttr const *)arg1)->GetBulletText();
5131
result = (wxString *) &_result_ref;
5133
wxPyEndAllowThreads(__tstate);
5134
if (PyErr_Occurred()) SWIG_fail;
5138
resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
5140
resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
5149
SWIGINTERN PyObject *_wrap_RichTextAttr_GetBulletFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5150
PyObject *resultobj = 0;
5151
wxRichTextAttr *arg1 = (wxRichTextAttr *) 0 ;
5152
wxString *result = 0 ;
5155
PyObject *swig_obj[1] ;
5157
if (!args) SWIG_fail;
5159
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextAttr, 0 | 0 );
5160
if (!SWIG_IsOK(res1)) {
5161
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextAttr_GetBulletFont" "', expected argument " "1"" of type '" "wxRichTextAttr const *""'");
5163
arg1 = reinterpret_cast< wxRichTextAttr * >(argp1);
5165
PyThreadState* __tstate = wxPyBeginAllowThreads();
5167
wxString const &_result_ref = ((wxRichTextAttr const *)arg1)->GetBulletFont();
5168
result = (wxString *) &_result_ref;
5170
wxPyEndAllowThreads(__tstate);
5171
if (PyErr_Occurred()) SWIG_fail;
5175
resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
5177
resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
5186
SWIGINTERN PyObject *_wrap_RichTextAttr_HasTextColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5187
PyObject *resultobj = 0;
5188
wxRichTextAttr *arg1 = (wxRichTextAttr *) 0 ;
5192
PyObject *swig_obj[1] ;
5194
if (!args) SWIG_fail;
5196
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextAttr, 0 | 0 );
5197
if (!SWIG_IsOK(res1)) {
5198
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextAttr_HasTextColour" "', expected argument " "1"" of type '" "wxRichTextAttr const *""'");
5200
arg1 = reinterpret_cast< wxRichTextAttr * >(argp1);
5202
PyThreadState* __tstate = wxPyBeginAllowThreads();
5203
result = (bool)((wxRichTextAttr const *)arg1)->HasTextColour();
5204
wxPyEndAllowThreads(__tstate);
5205
if (PyErr_Occurred()) SWIG_fail;
5208
resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5216
SWIGINTERN PyObject *_wrap_RichTextAttr_HasBackgroundColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5217
PyObject *resultobj = 0;
5218
wxRichTextAttr *arg1 = (wxRichTextAttr *) 0 ;
5222
PyObject *swig_obj[1] ;
5224
if (!args) SWIG_fail;
5226
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextAttr, 0 | 0 );
5227
if (!SWIG_IsOK(res1)) {
5228
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextAttr_HasBackgroundColour" "', expected argument " "1"" of type '" "wxRichTextAttr const *""'");
5230
arg1 = reinterpret_cast< wxRichTextAttr * >(argp1);
5232
PyThreadState* __tstate = wxPyBeginAllowThreads();
5233
result = (bool)((wxRichTextAttr const *)arg1)->HasBackgroundColour();
5234
wxPyEndAllowThreads(__tstate);
5235
if (PyErr_Occurred()) SWIG_fail;
5238
resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5246
SWIGINTERN PyObject *_wrap_RichTextAttr_HasAlignment(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5247
PyObject *resultobj = 0;
5248
wxRichTextAttr *arg1 = (wxRichTextAttr *) 0 ;
5252
PyObject *swig_obj[1] ;
5254
if (!args) SWIG_fail;
5256
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextAttr, 0 | 0 );
5257
if (!SWIG_IsOK(res1)) {
5258
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextAttr_HasAlignment" "', expected argument " "1"" of type '" "wxRichTextAttr const *""'");
5260
arg1 = reinterpret_cast< wxRichTextAttr * >(argp1);
5262
PyThreadState* __tstate = wxPyBeginAllowThreads();
5263
result = (bool)((wxRichTextAttr const *)arg1)->HasAlignment();
5264
wxPyEndAllowThreads(__tstate);
5265
if (PyErr_Occurred()) SWIG_fail;
5268
resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5276
SWIGINTERN PyObject *_wrap_RichTextAttr_HasTabs(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5277
PyObject *resultobj = 0;
5278
wxRichTextAttr *arg1 = (wxRichTextAttr *) 0 ;
5282
PyObject *swig_obj[1] ;
5284
if (!args) SWIG_fail;
5286
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextAttr, 0 | 0 );
5287
if (!SWIG_IsOK(res1)) {
5288
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextAttr_HasTabs" "', expected argument " "1"" of type '" "wxRichTextAttr const *""'");
5290
arg1 = reinterpret_cast< wxRichTextAttr * >(argp1);
5292
PyThreadState* __tstate = wxPyBeginAllowThreads();
5293
result = (bool)((wxRichTextAttr const *)arg1)->HasTabs();
5294
wxPyEndAllowThreads(__tstate);
5295
if (PyErr_Occurred()) SWIG_fail;
5298
resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5306
SWIGINTERN PyObject *_wrap_RichTextAttr_HasLeftIndent(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5307
PyObject *resultobj = 0;
5308
wxRichTextAttr *arg1 = (wxRichTextAttr *) 0 ;
5312
PyObject *swig_obj[1] ;
5314
if (!args) SWIG_fail;
5316
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextAttr, 0 | 0 );
5317
if (!SWIG_IsOK(res1)) {
5318
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextAttr_HasLeftIndent" "', expected argument " "1"" of type '" "wxRichTextAttr const *""'");
5320
arg1 = reinterpret_cast< wxRichTextAttr * >(argp1);
5322
PyThreadState* __tstate = wxPyBeginAllowThreads();
5323
result = (bool)((wxRichTextAttr const *)arg1)->HasLeftIndent();
5324
wxPyEndAllowThreads(__tstate);
5325
if (PyErr_Occurred()) SWIG_fail;
5328
resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5336
SWIGINTERN PyObject *_wrap_RichTextAttr_HasRightIndent(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5337
PyObject *resultobj = 0;
5338
wxRichTextAttr *arg1 = (wxRichTextAttr *) 0 ;
5342
PyObject *swig_obj[1] ;
5344
if (!args) SWIG_fail;
5346
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextAttr, 0 | 0 );
5347
if (!SWIG_IsOK(res1)) {
5348
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextAttr_HasRightIndent" "', expected argument " "1"" of type '" "wxRichTextAttr const *""'");
5350
arg1 = reinterpret_cast< wxRichTextAttr * >(argp1);
5352
PyThreadState* __tstate = wxPyBeginAllowThreads();
5353
result = (bool)((wxRichTextAttr const *)arg1)->HasRightIndent();
5354
wxPyEndAllowThreads(__tstate);
5355
if (PyErr_Occurred()) SWIG_fail;
5358
resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5366
SWIGINTERN PyObject *_wrap_RichTextAttr_HasFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5367
PyObject *resultobj = 0;
5368
wxRichTextAttr *arg1 = (wxRichTextAttr *) 0 ;
5372
PyObject *swig_obj[1] ;
5374
if (!args) SWIG_fail;
5376
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextAttr, 0 | 0 );
5377
if (!SWIG_IsOK(res1)) {
5378
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextAttr_HasFont" "', expected argument " "1"" of type '" "wxRichTextAttr const *""'");
5380
arg1 = reinterpret_cast< wxRichTextAttr * >(argp1);
5382
PyThreadState* __tstate = wxPyBeginAllowThreads();
5383
result = (bool)((wxRichTextAttr const *)arg1)->HasFont();
5384
wxPyEndAllowThreads(__tstate);
5385
if (PyErr_Occurred()) SWIG_fail;
5388
resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5396
SWIGINTERN PyObject *_wrap_RichTextAttr_HasParagraphSpacingAfter(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5397
PyObject *resultobj = 0;
5398
wxRichTextAttr *arg1 = (wxRichTextAttr *) 0 ;
5402
PyObject *swig_obj[1] ;
5404
if (!args) SWIG_fail;
5406
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextAttr, 0 | 0 );
5407
if (!SWIG_IsOK(res1)) {
5408
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextAttr_HasParagraphSpacingAfter" "', expected argument " "1"" of type '" "wxRichTextAttr const *""'");
5410
arg1 = reinterpret_cast< wxRichTextAttr * >(argp1);
5412
PyThreadState* __tstate = wxPyBeginAllowThreads();
5413
result = (bool)((wxRichTextAttr const *)arg1)->HasParagraphSpacingAfter();
5414
wxPyEndAllowThreads(__tstate);
5415
if (PyErr_Occurred()) SWIG_fail;
5418
resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5426
SWIGINTERN PyObject *_wrap_RichTextAttr_HasParagraphSpacingBefore(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5427
PyObject *resultobj = 0;
5428
wxRichTextAttr *arg1 = (wxRichTextAttr *) 0 ;
5432
PyObject *swig_obj[1] ;
5434
if (!args) SWIG_fail;
5436
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextAttr, 0 | 0 );
5437
if (!SWIG_IsOK(res1)) {
5438
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextAttr_HasParagraphSpacingBefore" "', expected argument " "1"" of type '" "wxRichTextAttr const *""'");
5440
arg1 = reinterpret_cast< wxRichTextAttr * >(argp1);
5442
PyThreadState* __tstate = wxPyBeginAllowThreads();
5443
result = (bool)((wxRichTextAttr const *)arg1)->HasParagraphSpacingBefore();
5444
wxPyEndAllowThreads(__tstate);
5445
if (PyErr_Occurred()) SWIG_fail;
5448
resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5456
SWIGINTERN PyObject *_wrap_RichTextAttr_HasLineSpacing(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5457
PyObject *resultobj = 0;
5458
wxRichTextAttr *arg1 = (wxRichTextAttr *) 0 ;
5462
PyObject *swig_obj[1] ;
5464
if (!args) SWIG_fail;
5466
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextAttr, 0 | 0 );
5467
if (!SWIG_IsOK(res1)) {
5468
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextAttr_HasLineSpacing" "', expected argument " "1"" of type '" "wxRichTextAttr const *""'");
5470
arg1 = reinterpret_cast< wxRichTextAttr * >(argp1);
5472
PyThreadState* __tstate = wxPyBeginAllowThreads();
5473
result = (bool)((wxRichTextAttr const *)arg1)->HasLineSpacing();
5474
wxPyEndAllowThreads(__tstate);
5475
if (PyErr_Occurred()) SWIG_fail;
5478
resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5486
SWIGINTERN PyObject *_wrap_RichTextAttr_HasCharacterStyleName(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5487
PyObject *resultobj = 0;
5488
wxRichTextAttr *arg1 = (wxRichTextAttr *) 0 ;
5492
PyObject *swig_obj[1] ;
5494
if (!args) SWIG_fail;
5496
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextAttr, 0 | 0 );
5497
if (!SWIG_IsOK(res1)) {
5498
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextAttr_HasCharacterStyleName" "', expected argument " "1"" of type '" "wxRichTextAttr const *""'");
5500
arg1 = reinterpret_cast< wxRichTextAttr * >(argp1);
5502
PyThreadState* __tstate = wxPyBeginAllowThreads();
5503
result = (bool)((wxRichTextAttr const *)arg1)->HasCharacterStyleName();
5504
wxPyEndAllowThreads(__tstate);
5505
if (PyErr_Occurred()) SWIG_fail;
5508
resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5516
SWIGINTERN PyObject *_wrap_RichTextAttr_HasParagraphStyleName(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5517
PyObject *resultobj = 0;
5518
wxRichTextAttr *arg1 = (wxRichTextAttr *) 0 ;
5522
PyObject *swig_obj[1] ;
5524
if (!args) SWIG_fail;
5526
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextAttr, 0 | 0 );
5527
if (!SWIG_IsOK(res1)) {
5528
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextAttr_HasParagraphStyleName" "', expected argument " "1"" of type '" "wxRichTextAttr const *""'");
5530
arg1 = reinterpret_cast< wxRichTextAttr * >(argp1);
5532
PyThreadState* __tstate = wxPyBeginAllowThreads();
5533
result = (bool)((wxRichTextAttr const *)arg1)->HasParagraphStyleName();
5534
wxPyEndAllowThreads(__tstate);
5535
if (PyErr_Occurred()) SWIG_fail;
5538
resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5546
SWIGINTERN PyObject *_wrap_RichTextAttr_HasBulletStyle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5547
PyObject *resultobj = 0;
5548
wxRichTextAttr *arg1 = (wxRichTextAttr *) 0 ;
5552
PyObject *swig_obj[1] ;
5554
if (!args) SWIG_fail;
5556
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextAttr, 0 | 0 );
5557
if (!SWIG_IsOK(res1)) {
5558
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextAttr_HasBulletStyle" "', expected argument " "1"" of type '" "wxRichTextAttr const *""'");
5560
arg1 = reinterpret_cast< wxRichTextAttr * >(argp1);
5562
PyThreadState* __tstate = wxPyBeginAllowThreads();
5563
result = (bool)((wxRichTextAttr const *)arg1)->HasBulletStyle();
5564
wxPyEndAllowThreads(__tstate);
5565
if (PyErr_Occurred()) SWIG_fail;
5568
resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5576
SWIGINTERN PyObject *_wrap_RichTextAttr_HasBulletNumber(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5577
PyObject *resultobj = 0;
5578
wxRichTextAttr *arg1 = (wxRichTextAttr *) 0 ;
5582
PyObject *swig_obj[1] ;
5584
if (!args) SWIG_fail;
5586
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextAttr, 0 | 0 );
5587
if (!SWIG_IsOK(res1)) {
5588
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextAttr_HasBulletNumber" "', expected argument " "1"" of type '" "wxRichTextAttr const *""'");
5590
arg1 = reinterpret_cast< wxRichTextAttr * >(argp1);
5592
PyThreadState* __tstate = wxPyBeginAllowThreads();
5593
result = (bool)((wxRichTextAttr const *)arg1)->HasBulletNumber();
5594
wxPyEndAllowThreads(__tstate);
5595
if (PyErr_Occurred()) SWIG_fail;
5598
resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5606
SWIGINTERN PyObject *_wrap_RichTextAttr_HasBulletText(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5607
PyObject *resultobj = 0;
5608
wxRichTextAttr *arg1 = (wxRichTextAttr *) 0 ;
5612
PyObject *swig_obj[1] ;
5614
if (!args) SWIG_fail;
5616
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextAttr, 0 | 0 );
5617
if (!SWIG_IsOK(res1)) {
5618
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextAttr_HasBulletText" "', expected argument " "1"" of type '" "wxRichTextAttr const *""'");
5620
arg1 = reinterpret_cast< wxRichTextAttr * >(argp1);
5622
PyThreadState* __tstate = wxPyBeginAllowThreads();
5623
result = (bool)((wxRichTextAttr const *)arg1)->HasBulletText();
5624
wxPyEndAllowThreads(__tstate);
5625
if (PyErr_Occurred()) SWIG_fail;
5628
resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5636
SWIGINTERN PyObject *_wrap_RichTextAttr_HasFlag(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5637
PyObject *resultobj = 0;
5638
wxRichTextAttr *arg1 = (wxRichTextAttr *) 0 ;
5645
PyObject * obj0 = 0 ;
5646
PyObject * obj1 = 0 ;
5647
char * kwnames[] = {
5648
(char *) "self",(char *) "flag", NULL
5651
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RichTextAttr_HasFlag",kwnames,&obj0,&obj1)) SWIG_fail;
5652
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextAttr, 0 | 0 );
5653
if (!SWIG_IsOK(res1)) {
5654
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextAttr_HasFlag" "', expected argument " "1"" of type '" "wxRichTextAttr const *""'");
5656
arg1 = reinterpret_cast< wxRichTextAttr * >(argp1);
5657
ecode2 = SWIG_AsVal_long(obj1, &val2);
5658
if (!SWIG_IsOK(ecode2)) {
5659
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RichTextAttr_HasFlag" "', expected argument " "2"" of type '" "long""'");
5661
arg2 = static_cast< long >(val2);
5663
PyThreadState* __tstate = wxPyBeginAllowThreads();
5664
result = (bool)((wxRichTextAttr const *)arg1)->HasFlag(arg2);
5665
wxPyEndAllowThreads(__tstate);
5666
if (PyErr_Occurred()) SWIG_fail;
5669
resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5677
SWIGINTERN PyObject *_wrap_RichTextAttr_IsCharacterStyle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5678
PyObject *resultobj = 0;
5679
wxRichTextAttr *arg1 = (wxRichTextAttr *) 0 ;
5683
PyObject *swig_obj[1] ;
5685
if (!args) SWIG_fail;
5687
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextAttr, 0 | 0 );
5688
if (!SWIG_IsOK(res1)) {
5689
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextAttr_IsCharacterStyle" "', expected argument " "1"" of type '" "wxRichTextAttr const *""'");
5691
arg1 = reinterpret_cast< wxRichTextAttr * >(argp1);
5693
PyThreadState* __tstate = wxPyBeginAllowThreads();
5694
result = (bool)((wxRichTextAttr const *)arg1)->IsCharacterStyle();
5695
wxPyEndAllowThreads(__tstate);
5696
if (PyErr_Occurred()) SWIG_fail;
5699
resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5707
SWIGINTERN PyObject *_wrap_RichTextAttr_IsParagraphStyle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5708
PyObject *resultobj = 0;
5709
wxRichTextAttr *arg1 = (wxRichTextAttr *) 0 ;
5713
PyObject *swig_obj[1] ;
5715
if (!args) SWIG_fail;
5717
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextAttr, 0 | 0 );
5718
if (!SWIG_IsOK(res1)) {
5719
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextAttr_IsParagraphStyle" "', expected argument " "1"" of type '" "wxRichTextAttr const *""'");
5721
arg1 = reinterpret_cast< wxRichTextAttr * >(argp1);
5723
PyThreadState* __tstate = wxPyBeginAllowThreads();
5724
result = (bool)((wxRichTextAttr const *)arg1)->IsParagraphStyle();
5725
wxPyEndAllowThreads(__tstate);
5726
if (PyErr_Occurred()) SWIG_fail;
5729
resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5737
SWIGINTERN PyObject *_wrap_RichTextAttr_IsDefault(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5738
PyObject *resultobj = 0;
5739
wxRichTextAttr *arg1 = (wxRichTextAttr *) 0 ;
5743
PyObject *swig_obj[1] ;
5745
if (!args) SWIG_fail;
5747
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextAttr, 0 | 0 );
5748
if (!SWIG_IsOK(res1)) {
5749
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextAttr_IsDefault" "', expected argument " "1"" of type '" "wxRichTextAttr const *""'");
5751
arg1 = reinterpret_cast< wxRichTextAttr * >(argp1);
5753
PyThreadState* __tstate = wxPyBeginAllowThreads();
5754
result = (bool)((wxRichTextAttr const *)arg1)->IsDefault();
5755
wxPyEndAllowThreads(__tstate);
5756
if (PyErr_Occurred()) SWIG_fail;
5759
resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5767
SWIGINTERN PyObject *RichTextAttr_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5769
if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
5770
SWIG_TypeNewClientData(SWIGTYPE_p_wxRichTextAttr, SWIG_NewClientData(obj));
5771
return SWIG_Py_Void();
5774
SWIGINTERN PyObject *RichTextAttr_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5775
return SWIG_Python_InitShadowInstance(args);
12950
SWIGINTERN PyObject *RichTextParagraph_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12952
if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
12953
SWIG_TypeNewClientData(SWIGTYPE_p_wxRichTextParagraph, SWIG_NewClientData(obj));
12954
return SWIG_Py_Void();
12957
SWIGINTERN PyObject *RichTextParagraph_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12958
return SWIG_Python_InitShadowInstance(args);
12961
SWIGINTERN PyObject *_wrap_new_RichTextPlainText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12962
PyObject *resultobj = 0;
12963
wxString const &arg1_defvalue = wxEmptyString ;
12964
wxString *arg1 = (wxString *) &arg1_defvalue ;
12965
wxRichTextObject *arg2 = (wxRichTextObject *) NULL ;
12966
wxTextAttrEx *arg3 = (wxTextAttrEx *) NULL ;
12967
wxRichTextPlainText *result = 0 ;
12968
bool temp1 = false ;
12973
PyObject * obj0 = 0 ;
12974
PyObject * obj1 = 0 ;
12975
PyObject * obj2 = 0 ;
12976
char * kwnames[] = {
12977
(char *) "text",(char *) "parent",(char *) "style", NULL
12980
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOO:new_RichTextPlainText",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
12983
arg1 = wxString_in_helper(obj0);
12984
if (arg1 == NULL) SWIG_fail;
12989
res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxRichTextObject, 0 | 0 );
12990
if (!SWIG_IsOK(res2)) {
12991
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_RichTextPlainText" "', expected argument " "2"" of type '" "wxRichTextObject *""'");
12993
arg2 = reinterpret_cast< wxRichTextObject * >(argp2);
12996
res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxTextAttrEx, 0 | 0 );
12997
if (!SWIG_IsOK(res3)) {
12998
SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_RichTextPlainText" "', expected argument " "3"" of type '" "wxTextAttrEx *""'");
13000
arg3 = reinterpret_cast< wxTextAttrEx * >(argp3);
13003
PyThreadState* __tstate = wxPyBeginAllowThreads();
13004
result = (wxRichTextPlainText *)new wxRichTextPlainText((wxString const &)*arg1,arg2,arg3);
13005
wxPyEndAllowThreads(__tstate);
13006
if (PyErr_Occurred()) SWIG_fail;
13008
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxRichTextPlainText, SWIG_POINTER_NEW | 0 );
13023
SWIGINTERN PyObject *_wrap_RichTextPlainText_GetFirstLineBreakPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13024
PyObject *resultobj = 0;
13025
wxRichTextPlainText *arg1 = (wxRichTextPlainText *) 0 ;
13032
PyObject * obj0 = 0 ;
13033
PyObject * obj1 = 0 ;
13034
char * kwnames[] = {
13035
(char *) "self",(char *) "pos", NULL
13038
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RichTextPlainText_GetFirstLineBreakPosition",kwnames,&obj0,&obj1)) SWIG_fail;
13039
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextPlainText, 0 | 0 );
13040
if (!SWIG_IsOK(res1)) {
13041
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextPlainText_GetFirstLineBreakPosition" "', expected argument " "1"" of type '" "wxRichTextPlainText *""'");
13043
arg1 = reinterpret_cast< wxRichTextPlainText * >(argp1);
13044
ecode2 = SWIG_AsVal_long(obj1, &val2);
13045
if (!SWIG_IsOK(ecode2)) {
13046
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RichTextPlainText_GetFirstLineBreakPosition" "', expected argument " "2"" of type '" "long""'");
13048
arg2 = static_cast< long >(val2);
13050
PyThreadState* __tstate = wxPyBeginAllowThreads();
13051
result = (long)(arg1)->GetFirstLineBreakPosition(arg2);
13052
wxPyEndAllowThreads(__tstate);
13053
if (PyErr_Occurred()) SWIG_fail;
13055
resultobj = SWIG_From_long(static_cast< long >(result));
13062
SWIGINTERN PyObject *_wrap_RichTextPlainText_GetText(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13063
PyObject *resultobj = 0;
13064
wxRichTextPlainText *arg1 = (wxRichTextPlainText *) 0 ;
13065
wxString *result = 0 ;
13068
PyObject *swig_obj[1] ;
13070
if (!args) SWIG_fail;
13071
swig_obj[0] = args;
13072
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextPlainText, 0 | 0 );
13073
if (!SWIG_IsOK(res1)) {
13074
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextPlainText_GetText" "', expected argument " "1"" of type '" "wxRichTextPlainText const *""'");
13076
arg1 = reinterpret_cast< wxRichTextPlainText * >(argp1);
13078
PyThreadState* __tstate = wxPyBeginAllowThreads();
13080
wxString const &_result_ref = ((wxRichTextPlainText const *)arg1)->GetText();
13081
result = (wxString *) &_result_ref;
13083
wxPyEndAllowThreads(__tstate);
13084
if (PyErr_Occurred()) SWIG_fail;
13088
resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
13090
resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
13099
SWIGINTERN PyObject *_wrap_RichTextPlainText_SetText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13100
PyObject *resultobj = 0;
13101
wxRichTextPlainText *arg1 = (wxRichTextPlainText *) 0 ;
13102
wxString *arg2 = 0 ;
13105
bool temp2 = false ;
13106
PyObject * obj0 = 0 ;
13107
PyObject * obj1 = 0 ;
13108
char * kwnames[] = {
13109
(char *) "self",(char *) "text", NULL
13112
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RichTextPlainText_SetText",kwnames,&obj0,&obj1)) SWIG_fail;
13113
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextPlainText, 0 | 0 );
13114
if (!SWIG_IsOK(res1)) {
13115
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextPlainText_SetText" "', expected argument " "1"" of type '" "wxRichTextPlainText *""'");
13117
arg1 = reinterpret_cast< wxRichTextPlainText * >(argp1);
13119
arg2 = wxString_in_helper(obj1);
13120
if (arg2 == NULL) SWIG_fail;
13124
PyThreadState* __tstate = wxPyBeginAllowThreads();
13125
(arg1)->SetText((wxString const &)*arg2);
13126
wxPyEndAllowThreads(__tstate);
13127
if (PyErr_Occurred()) SWIG_fail;
13129
resultobj = SWIG_Py_Void();
13144
SWIGINTERN PyObject *_wrap_RichTextPlainText_Copy(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13145
PyObject *resultobj = 0;
13146
wxRichTextPlainText *arg1 = (wxRichTextPlainText *) 0 ;
13147
wxRichTextPlainText *arg2 = 0 ;
13152
PyObject * obj0 = 0 ;
13153
PyObject * obj1 = 0 ;
13154
char * kwnames[] = {
13155
(char *) "self",(char *) "obj", NULL
13158
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RichTextPlainText_Copy",kwnames,&obj0,&obj1)) SWIG_fail;
13159
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextPlainText, 0 | 0 );
13160
if (!SWIG_IsOK(res1)) {
13161
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextPlainText_Copy" "', expected argument " "1"" of type '" "wxRichTextPlainText *""'");
13163
arg1 = reinterpret_cast< wxRichTextPlainText * >(argp1);
13164
res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxRichTextPlainText, 0 | 0);
13165
if (!SWIG_IsOK(res2)) {
13166
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "RichTextPlainText_Copy" "', expected argument " "2"" of type '" "wxRichTextPlainText const &""'");
13169
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "RichTextPlainText_Copy" "', expected argument " "2"" of type '" "wxRichTextPlainText const &""'");
13171
arg2 = reinterpret_cast< wxRichTextPlainText * >(argp2);
13173
PyThreadState* __tstate = wxPyBeginAllowThreads();
13174
(arg1)->Copy((wxRichTextPlainText const &)*arg2);
13175
wxPyEndAllowThreads(__tstate);
13176
if (PyErr_Occurred()) SWIG_fail;
13178
resultobj = SWIG_Py_Void();
13185
SWIGINTERN PyObject *RichTextPlainText_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13187
if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
13188
SWIG_TypeNewClientData(SWIGTYPE_p_wxRichTextPlainText, SWIG_NewClientData(obj));
13189
return SWIG_Py_Void();
13192
SWIGINTERN PyObject *RichTextPlainText_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13193
return SWIG_Python_InitShadowInstance(args);
13196
SWIGINTERN PyObject *_wrap_new_RichTextImage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13197
PyObject *resultobj = 0;
13198
wxRichTextObject *arg1 = (wxRichTextObject *) NULL ;
13199
wxRichTextImage *result = 0 ;
13202
PyObject * obj0 = 0 ;
13203
char * kwnames[] = {
13204
(char *) "parent", NULL
13207
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_RichTextImage",kwnames,&obj0)) SWIG_fail;
13209
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextObject, 0 | 0 );
13210
if (!SWIG_IsOK(res1)) {
13211
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_RichTextImage" "', expected argument " "1"" of type '" "wxRichTextObject *""'");
13213
arg1 = reinterpret_cast< wxRichTextObject * >(argp1);
13216
PyThreadState* __tstate = wxPyBeginAllowThreads();
13217
result = (wxRichTextImage *)new wxRichTextImage(arg1);
13218
wxPyEndAllowThreads(__tstate);
13219
if (PyErr_Occurred()) SWIG_fail;
13221
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxRichTextImage, SWIG_POINTER_NEW | 0 );
13228
SWIGINTERN PyObject *_wrap_RichTextImage_GetImage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13229
PyObject *resultobj = 0;
13230
wxRichTextImage *arg1 = (wxRichTextImage *) 0 ;
13231
wxImage *result = 0 ;
13234
PyObject *swig_obj[1] ;
13236
if (!args) SWIG_fail;
13237
swig_obj[0] = args;
13238
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextImage, 0 | 0 );
13239
if (!SWIG_IsOK(res1)) {
13240
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextImage_GetImage" "', expected argument " "1"" of type '" "wxRichTextImage const *""'");
13242
arg1 = reinterpret_cast< wxRichTextImage * >(argp1);
13244
PyThreadState* __tstate = wxPyBeginAllowThreads();
13246
wxImage const &_result_ref = ((wxRichTextImage const *)arg1)->GetImage();
13247
result = (wxImage *) &_result_ref;
13249
wxPyEndAllowThreads(__tstate);
13250
if (PyErr_Occurred()) SWIG_fail;
13252
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxImage, 0 | 0 );
13259
SWIGINTERN PyObject *_wrap_RichTextImage_SetImage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13260
PyObject *resultobj = 0;
13261
wxRichTextImage *arg1 = (wxRichTextImage *) 0 ;
13262
wxImage *arg2 = 0 ;
13267
PyObject * obj0 = 0 ;
13268
PyObject * obj1 = 0 ;
13269
char * kwnames[] = {
13270
(char *) "self",(char *) "image", NULL
13273
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RichTextImage_SetImage",kwnames,&obj0,&obj1)) SWIG_fail;
13274
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextImage, 0 | 0 );
13275
if (!SWIG_IsOK(res1)) {
13276
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextImage_SetImage" "', expected argument " "1"" of type '" "wxRichTextImage *""'");
13278
arg1 = reinterpret_cast< wxRichTextImage * >(argp1);
13279
res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxImage, 0 | 0);
13280
if (!SWIG_IsOK(res2)) {
13281
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "RichTextImage_SetImage" "', expected argument " "2"" of type '" "wxImage const &""'");
13284
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "RichTextImage_SetImage" "', expected argument " "2"" of type '" "wxImage const &""'");
13286
arg2 = reinterpret_cast< wxImage * >(argp2);
13288
PyThreadState* __tstate = wxPyBeginAllowThreads();
13289
(arg1)->SetImage((wxImage const &)*arg2);
13290
wxPyEndAllowThreads(__tstate);
13291
if (PyErr_Occurred()) SWIG_fail;
13293
resultobj = SWIG_Py_Void();
13300
SWIGINTERN PyObject *_wrap_RichTextImage_GetImageBlock(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13301
PyObject *resultobj = 0;
13302
wxRichTextImage *arg1 = (wxRichTextImage *) 0 ;
13303
wxRichTextImageBlock *result = 0 ;
13306
PyObject *swig_obj[1] ;
13308
if (!args) SWIG_fail;
13309
swig_obj[0] = args;
13310
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextImage, 0 | 0 );
13311
if (!SWIG_IsOK(res1)) {
13312
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextImage_GetImageBlock" "', expected argument " "1"" of type '" "wxRichTextImage *""'");
13314
arg1 = reinterpret_cast< wxRichTextImage * >(argp1);
13316
PyThreadState* __tstate = wxPyBeginAllowThreads();
13318
wxRichTextImageBlock &_result_ref = (arg1)->GetImageBlock();
13319
result = (wxRichTextImageBlock *) &_result_ref;
13321
wxPyEndAllowThreads(__tstate);
13322
if (PyErr_Occurred()) SWIG_fail;
13324
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxRichTextImageBlock, 0 | 0 );
13331
SWIGINTERN PyObject *_wrap_RichTextImage_Copy(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13332
PyObject *resultobj = 0;
13333
wxRichTextImage *arg1 = (wxRichTextImage *) 0 ;
13334
wxRichTextImage *arg2 = 0 ;
13339
PyObject * obj0 = 0 ;
13340
PyObject * obj1 = 0 ;
13341
char * kwnames[] = {
13342
(char *) "self",(char *) "obj", NULL
13345
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RichTextImage_Copy",kwnames,&obj0,&obj1)) SWIG_fail;
13346
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextImage, 0 | 0 );
13347
if (!SWIG_IsOK(res1)) {
13348
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextImage_Copy" "', expected argument " "1"" of type '" "wxRichTextImage *""'");
13350
arg1 = reinterpret_cast< wxRichTextImage * >(argp1);
13351
res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxRichTextImage, 0 | 0);
13352
if (!SWIG_IsOK(res2)) {
13353
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "RichTextImage_Copy" "', expected argument " "2"" of type '" "wxRichTextImage const &""'");
13356
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "RichTextImage_Copy" "', expected argument " "2"" of type '" "wxRichTextImage const &""'");
13358
arg2 = reinterpret_cast< wxRichTextImage * >(argp2);
13360
PyThreadState* __tstate = wxPyBeginAllowThreads();
13361
(arg1)->Copy((wxRichTextImage const &)*arg2);
13362
wxPyEndAllowThreads(__tstate);
13363
if (PyErr_Occurred()) SWIG_fail;
13365
resultobj = SWIG_Py_Void();
13372
SWIGINTERN PyObject *_wrap_RichTextImage_LoadFromBlock(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13373
PyObject *resultobj = 0;
13374
wxRichTextImage *arg1 = (wxRichTextImage *) 0 ;
13378
PyObject *swig_obj[1] ;
13380
if (!args) SWIG_fail;
13381
swig_obj[0] = args;
13382
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextImage, 0 | 0 );
13383
if (!SWIG_IsOK(res1)) {
13384
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextImage_LoadFromBlock" "', expected argument " "1"" of type '" "wxRichTextImage *""'");
13386
arg1 = reinterpret_cast< wxRichTextImage * >(argp1);
13388
PyThreadState* __tstate = wxPyBeginAllowThreads();
13389
result = (bool)(arg1)->LoadFromBlock();
13390
wxPyEndAllowThreads(__tstate);
13391
if (PyErr_Occurred()) SWIG_fail;
13394
resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13402
SWIGINTERN PyObject *_wrap_RichTextImage_MakeBlock(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13403
PyObject *resultobj = 0;
13404
wxRichTextImage *arg1 = (wxRichTextImage *) 0 ;
13408
PyObject *swig_obj[1] ;
13410
if (!args) SWIG_fail;
13411
swig_obj[0] = args;
13412
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextImage, 0 | 0 );
13413
if (!SWIG_IsOK(res1)) {
13414
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextImage_MakeBlock" "', expected argument " "1"" of type '" "wxRichTextImage *""'");
13416
arg1 = reinterpret_cast< wxRichTextImage * >(argp1);
13418
PyThreadState* __tstate = wxPyBeginAllowThreads();
13419
result = (bool)(arg1)->MakeBlock();
13420
wxPyEndAllowThreads(__tstate);
13421
if (PyErr_Occurred()) SWIG_fail;
13424
resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13432
SWIGINTERN PyObject *RichTextImage_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13434
if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
13435
SWIG_TypeNewClientData(SWIGTYPE_p_wxRichTextImage, SWIG_NewClientData(obj));
13436
return SWIG_Py_Void();
13439
SWIGINTERN PyObject *RichTextImage_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13440
return SWIG_Python_InitShadowInstance(args);
13443
SWIGINTERN PyObject *_wrap_delete_RichTextFileHandlerList_iterator(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13444
PyObject *resultobj = 0;
13445
wxRichTextFileHandlerList_iterator *arg1 = (wxRichTextFileHandlerList_iterator *) 0 ;
13448
PyObject *swig_obj[1] ;
13450
if (!args) SWIG_fail;
13451
swig_obj[0] = args;
13452
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextFileHandlerList_iterator, SWIG_POINTER_DISOWN | 0 );
13453
if (!SWIG_IsOK(res1)) {
13454
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_RichTextFileHandlerList_iterator" "', expected argument " "1"" of type '" "wxRichTextFileHandlerList_iterator *""'");
13456
arg1 = reinterpret_cast< wxRichTextFileHandlerList_iterator * >(argp1);
13458
PyThreadState* __tstate = wxPyBeginAllowThreads();
13461
wxPyEndAllowThreads(__tstate);
13462
if (PyErr_Occurred()) SWIG_fail;
13464
resultobj = SWIG_Py_Void();
13471
SWIGINTERN PyObject *_wrap_RichTextFileHandlerList_iterator_next(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13472
PyObject *resultobj = 0;
13473
wxRichTextFileHandlerList_iterator *arg1 = (wxRichTextFileHandlerList_iterator *) 0 ;
13474
wxRichTextFileHandler *result = 0 ;
13477
PyObject *swig_obj[1] ;
13479
if (!args) SWIG_fail;
13480
swig_obj[0] = args;
13481
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextFileHandlerList_iterator, 0 | 0 );
13482
if (!SWIG_IsOK(res1)) {
13483
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextFileHandlerList_iterator_next" "', expected argument " "1"" of type '" "wxRichTextFileHandlerList_iterator *""'");
13485
arg1 = reinterpret_cast< wxRichTextFileHandlerList_iterator * >(argp1);
13487
result = (wxRichTextFileHandler *)(arg1)->next();
13488
if (PyErr_Occurred()) SWIG_fail;
13491
resultobj = wxPyMake_wxObject(result, (bool)0);
13499
SWIGINTERN PyObject *RichTextFileHandlerList_iterator_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13501
if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
13502
SWIG_TypeNewClientData(SWIGTYPE_p_wxRichTextFileHandlerList_iterator, SWIG_NewClientData(obj));
13503
return SWIG_Py_Void();
13506
SWIGINTERN PyObject *_wrap_delete_RichTextFileHandlerList(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13507
PyObject *resultobj = 0;
13508
wxRichTextFileHandlerList *arg1 = (wxRichTextFileHandlerList *) 0 ;
13511
PyObject *swig_obj[1] ;
13513
if (!args) SWIG_fail;
13514
swig_obj[0] = args;
13515
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextFileHandlerList, SWIG_POINTER_DISOWN | 0 );
13516
if (!SWIG_IsOK(res1)) {
13517
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_RichTextFileHandlerList" "', expected argument " "1"" of type '" "wxRichTextFileHandlerList *""'");
13519
arg1 = reinterpret_cast< wxRichTextFileHandlerList * >(argp1);
13521
PyThreadState* __tstate = wxPyBeginAllowThreads();
13524
wxPyEndAllowThreads(__tstate);
13525
if (PyErr_Occurred()) SWIG_fail;
13527
resultobj = SWIG_Py_Void();
13534
SWIGINTERN PyObject *_wrap_RichTextFileHandlerList___len__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13535
PyObject *resultobj = 0;
13536
wxRichTextFileHandlerList *arg1 = (wxRichTextFileHandlerList *) 0 ;
13540
PyObject *swig_obj[1] ;
13542
if (!args) SWIG_fail;
13543
swig_obj[0] = args;
13544
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextFileHandlerList, 0 | 0 );
13545
if (!SWIG_IsOK(res1)) {
13546
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextFileHandlerList___len__" "', expected argument " "1"" of type '" "wxRichTextFileHandlerList *""'");
13548
arg1 = reinterpret_cast< wxRichTextFileHandlerList * >(argp1);
13550
result = (size_t)wxRichTextFileHandlerList___len__(arg1);
13551
if (PyErr_Occurred()) SWIG_fail;
13553
resultobj = SWIG_From_size_t(static_cast< size_t >(result));
13560
SWIGINTERN PyObject *_wrap_RichTextFileHandlerList___getitem__(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13561
PyObject *resultobj = 0;
13562
wxRichTextFileHandlerList *arg1 = (wxRichTextFileHandlerList *) 0 ;
13564
wxRichTextFileHandler *result = 0 ;
13569
PyObject * obj0 = 0 ;
13570
PyObject * obj1 = 0 ;
13571
char * kwnames[] = {
13572
(char *) "self",(char *) "index", NULL
13575
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RichTextFileHandlerList___getitem__",kwnames,&obj0,&obj1)) SWIG_fail;
13576
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextFileHandlerList, 0 | 0 );
13577
if (!SWIG_IsOK(res1)) {
13578
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextFileHandlerList___getitem__" "', expected argument " "1"" of type '" "wxRichTextFileHandlerList *""'");
13580
arg1 = reinterpret_cast< wxRichTextFileHandlerList * >(argp1);
13581
ecode2 = SWIG_AsVal_size_t(obj1, &val2);
13582
if (!SWIG_IsOK(ecode2)) {
13583
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RichTextFileHandlerList___getitem__" "', expected argument " "2"" of type '" "size_t""'");
13585
arg2 = static_cast< size_t >(val2);
13587
result = (wxRichTextFileHandler *)wxRichTextFileHandlerList___getitem__(arg1,arg2);
13588
if (PyErr_Occurred()) SWIG_fail;
13591
resultobj = wxPyMake_wxObject(result, (bool)0);
13599
SWIGINTERN PyObject *_wrap_RichTextFileHandlerList___contains__(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13600
PyObject *resultobj = 0;
13601
wxRichTextFileHandlerList *arg1 = (wxRichTextFileHandlerList *) 0 ;
13602
wxRichTextFileHandler *arg2 = (wxRichTextFileHandler *) 0 ;
13608
PyObject * obj0 = 0 ;
13609
PyObject * obj1 = 0 ;
13610
char * kwnames[] = {
13611
(char *) "self",(char *) "obj", NULL
13614
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RichTextFileHandlerList___contains__",kwnames,&obj0,&obj1)) SWIG_fail;
13615
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextFileHandlerList, 0 | 0 );
13616
if (!SWIG_IsOK(res1)) {
13617
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextFileHandlerList___contains__" "', expected argument " "1"" of type '" "wxRichTextFileHandlerList *""'");
13619
arg1 = reinterpret_cast< wxRichTextFileHandlerList * >(argp1);
13620
res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxRichTextFileHandler, 0 | 0 );
13621
if (!SWIG_IsOK(res2)) {
13622
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "RichTextFileHandlerList___contains__" "', expected argument " "2"" of type '" "wxRichTextFileHandler const *""'");
13624
arg2 = reinterpret_cast< wxRichTextFileHandler * >(argp2);
13626
result = (bool)wxRichTextFileHandlerList___contains__(arg1,(wxRichTextFileHandler const *)arg2);
13627
if (PyErr_Occurred()) SWIG_fail;
13630
resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13638
SWIGINTERN PyObject *_wrap_RichTextFileHandlerList___iter__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13639
PyObject *resultobj = 0;
13640
wxRichTextFileHandlerList *arg1 = (wxRichTextFileHandlerList *) 0 ;
13641
wxRichTextFileHandlerList_iterator *result = 0 ;
13644
PyObject *swig_obj[1] ;
13646
if (!args) SWIG_fail;
13647
swig_obj[0] = args;
13648
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextFileHandlerList, 0 | 0 );
13649
if (!SWIG_IsOK(res1)) {
13650
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextFileHandlerList___iter__" "', expected argument " "1"" of type '" "wxRichTextFileHandlerList *""'");
13652
arg1 = reinterpret_cast< wxRichTextFileHandlerList * >(argp1);
13654
result = (wxRichTextFileHandlerList_iterator *)wxRichTextFileHandlerList___iter__(arg1);
13655
if (PyErr_Occurred()) SWIG_fail;
13657
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxRichTextFileHandlerList_iterator, SWIG_POINTER_OWN | 0 );
13664
SWIGINTERN PyObject *RichTextFileHandlerList_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13666
if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
13667
SWIG_TypeNewClientData(SWIGTYPE_p_wxRichTextFileHandlerList, SWIG_NewClientData(obj));
13668
return SWIG_Py_Void();
13671
SWIGINTERN PyObject *_wrap_new_RichTextBuffer(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13672
PyObject *resultobj = 0;
13673
wxRichTextBuffer *result = 0 ;
13675
if (!SWIG_Python_UnpackTuple(args,"new_RichTextBuffer",0,0,0)) SWIG_fail;
13677
PyThreadState* __tstate = wxPyBeginAllowThreads();
13678
result = (wxRichTextBuffer *)new wxRichTextBuffer();
13679
wxPyEndAllowThreads(__tstate);
13680
if (PyErr_Occurred()) SWIG_fail;
13682
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxRichTextBuffer, SWIG_POINTER_NEW | 0 );
13689
SWIGINTERN PyObject *_wrap_delete_RichTextBuffer(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13690
PyObject *resultobj = 0;
13691
wxRichTextBuffer *arg1 = (wxRichTextBuffer *) 0 ;
13694
PyObject *swig_obj[1] ;
13696
if (!args) SWIG_fail;
13697
swig_obj[0] = args;
13698
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextBuffer, SWIG_POINTER_DISOWN | 0 );
13699
if (!SWIG_IsOK(res1)) {
13700
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_RichTextBuffer" "', expected argument " "1"" of type '" "wxRichTextBuffer *""'");
13702
arg1 = reinterpret_cast< wxRichTextBuffer * >(argp1);
13704
PyThreadState* __tstate = wxPyBeginAllowThreads();
13707
wxPyEndAllowThreads(__tstate);
13708
if (PyErr_Occurred()) SWIG_fail;
13710
resultobj = SWIG_Py_Void();
13717
SWIGINTERN PyObject *_wrap_RichTextBuffer_GetCommandProcessor(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13718
PyObject *resultobj = 0;
13719
wxRichTextBuffer *arg1 = (wxRichTextBuffer *) 0 ;
13720
wxCommandProcessor *result = 0 ;
13723
PyObject *swig_obj[1] ;
13725
if (!args) SWIG_fail;
13726
swig_obj[0] = args;
13727
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextBuffer, 0 | 0 );
13728
if (!SWIG_IsOK(res1)) {
13729
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextBuffer_GetCommandProcessor" "', expected argument " "1"" of type '" "wxRichTextBuffer const *""'");
13731
arg1 = reinterpret_cast< wxRichTextBuffer * >(argp1);
13733
PyThreadState* __tstate = wxPyBeginAllowThreads();
13734
result = (wxCommandProcessor *)((wxRichTextBuffer const *)arg1)->GetCommandProcessor();
13735
wxPyEndAllowThreads(__tstate);
13736
if (PyErr_Occurred()) SWIG_fail;
13738
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxCommandProcessor, 0 | 0 );
13745
SWIGINTERN PyObject *_wrap_RichTextBuffer_SetStyleSheet(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13746
PyObject *resultobj = 0;
13747
wxRichTextBuffer *arg1 = (wxRichTextBuffer *) 0 ;
13748
wxRichTextStyleSheet *arg2 = (wxRichTextStyleSheet *) 0 ;
13753
PyObject * obj0 = 0 ;
13754
PyObject * obj1 = 0 ;
13755
char * kwnames[] = {
13756
(char *) "self",(char *) "styleSheet", NULL
13759
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RichTextBuffer_SetStyleSheet",kwnames,&obj0,&obj1)) SWIG_fail;
13760
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextBuffer, 0 | 0 );
13761
if (!SWIG_IsOK(res1)) {
13762
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextBuffer_SetStyleSheet" "', expected argument " "1"" of type '" "wxRichTextBuffer *""'");
13764
arg1 = reinterpret_cast< wxRichTextBuffer * >(argp1);
13765
res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxRichTextStyleSheet, 0 | 0 );
13766
if (!SWIG_IsOK(res2)) {
13767
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "RichTextBuffer_SetStyleSheet" "', expected argument " "2"" of type '" "wxRichTextStyleSheet *""'");
13769
arg2 = reinterpret_cast< wxRichTextStyleSheet * >(argp2);
13771
PyThreadState* __tstate = wxPyBeginAllowThreads();
13772
(arg1)->SetStyleSheet(arg2);
13773
wxPyEndAllowThreads(__tstate);
13774
if (PyErr_Occurred()) SWIG_fail;
13776
resultobj = SWIG_Py_Void();
13783
SWIGINTERN PyObject *_wrap_RichTextBuffer_SetStyleSheetAndNotify(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13784
PyObject *resultobj = 0;
13785
wxRichTextBuffer *arg1 = (wxRichTextBuffer *) 0 ;
13786
wxRichTextStyleSheet *arg2 = (wxRichTextStyleSheet *) 0 ;
13792
PyObject * obj0 = 0 ;
13793
PyObject * obj1 = 0 ;
13794
char * kwnames[] = {
13795
(char *) "self",(char *) "sheet", NULL
13798
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RichTextBuffer_SetStyleSheetAndNotify",kwnames,&obj0,&obj1)) SWIG_fail;
13799
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextBuffer, 0 | 0 );
13800
if (!SWIG_IsOK(res1)) {
13801
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextBuffer_SetStyleSheetAndNotify" "', expected argument " "1"" of type '" "wxRichTextBuffer *""'");
13803
arg1 = reinterpret_cast< wxRichTextBuffer * >(argp1);
13804
res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxRichTextStyleSheet, 0 | 0 );
13805
if (!SWIG_IsOK(res2)) {
13806
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "RichTextBuffer_SetStyleSheetAndNotify" "', expected argument " "2"" of type '" "wxRichTextStyleSheet *""'");
13808
arg2 = reinterpret_cast< wxRichTextStyleSheet * >(argp2);
13810
PyThreadState* __tstate = wxPyBeginAllowThreads();
13811
result = (bool)(arg1)->SetStyleSheetAndNotify(arg2);
13812
wxPyEndAllowThreads(__tstate);
13813
if (PyErr_Occurred()) SWIG_fail;
13816
resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13824
SWIGINTERN PyObject *_wrap_RichTextBuffer_PushStyleSheet(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13825
PyObject *resultobj = 0;
13826
wxRichTextBuffer *arg1 = (wxRichTextBuffer *) 0 ;
13827
wxRichTextStyleSheet *arg2 = (wxRichTextStyleSheet *) 0 ;
13833
PyObject * obj0 = 0 ;
13834
PyObject * obj1 = 0 ;
13835
char * kwnames[] = {
13836
(char *) "self",(char *) "styleSheet", NULL
13839
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RichTextBuffer_PushStyleSheet",kwnames,&obj0,&obj1)) SWIG_fail;
13840
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextBuffer, 0 | 0 );
13841
if (!SWIG_IsOK(res1)) {
13842
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextBuffer_PushStyleSheet" "', expected argument " "1"" of type '" "wxRichTextBuffer *""'");
13844
arg1 = reinterpret_cast< wxRichTextBuffer * >(argp1);
13845
res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxRichTextStyleSheet, 0 | 0 );
13846
if (!SWIG_IsOK(res2)) {
13847
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "RichTextBuffer_PushStyleSheet" "', expected argument " "2"" of type '" "wxRichTextStyleSheet *""'");
13849
arg2 = reinterpret_cast< wxRichTextStyleSheet * >(argp2);
13851
PyThreadState* __tstate = wxPyBeginAllowThreads();
13852
result = (bool)(arg1)->PushStyleSheet(arg2);
13853
wxPyEndAllowThreads(__tstate);
13854
if (PyErr_Occurred()) SWIG_fail;
13857
resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13865
SWIGINTERN PyObject *_wrap_RichTextBuffer_PopStyleSheet(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13866
PyObject *resultobj = 0;
13867
wxRichTextBuffer *arg1 = (wxRichTextBuffer *) 0 ;
13868
wxRichTextStyleSheet *result = 0 ;
13871
PyObject *swig_obj[1] ;
13873
if (!args) SWIG_fail;
13874
swig_obj[0] = args;
13875
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextBuffer, 0 | 0 );
13876
if (!SWIG_IsOK(res1)) {
13877
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextBuffer_PopStyleSheet" "', expected argument " "1"" of type '" "wxRichTextBuffer *""'");
13879
arg1 = reinterpret_cast< wxRichTextBuffer * >(argp1);
13881
PyThreadState* __tstate = wxPyBeginAllowThreads();
13882
result = (wxRichTextStyleSheet *)(arg1)->PopStyleSheet();
13883
wxPyEndAllowThreads(__tstate);
13884
if (PyErr_Occurred()) SWIG_fail;
13886
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxRichTextStyleSheet, 0 | 0 );
13893
SWIGINTERN PyObject *_wrap_RichTextBuffer_Init(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13894
PyObject *resultobj = 0;
13895
wxRichTextBuffer *arg1 = (wxRichTextBuffer *) 0 ;
13898
PyObject *swig_obj[1] ;
13900
if (!args) SWIG_fail;
13901
swig_obj[0] = args;
13902
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextBuffer, 0 | 0 );
13903
if (!SWIG_IsOK(res1)) {
13904
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextBuffer_Init" "', expected argument " "1"" of type '" "wxRichTextBuffer *""'");
13906
arg1 = reinterpret_cast< wxRichTextBuffer * >(argp1);
13908
PyThreadState* __tstate = wxPyBeginAllowThreads();
13910
wxPyEndAllowThreads(__tstate);
13911
if (PyErr_Occurred()) SWIG_fail;
13913
resultobj = SWIG_Py_Void();
13920
SWIGINTERN PyObject *_wrap_RichTextBuffer_ResetAndClearCommands(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13921
PyObject *resultobj = 0;
13922
wxRichTextBuffer *arg1 = (wxRichTextBuffer *) 0 ;
13925
PyObject *swig_obj[1] ;
13927
if (!args) SWIG_fail;
13928
swig_obj[0] = args;
13929
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextBuffer, 0 | 0 );
13930
if (!SWIG_IsOK(res1)) {
13931
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextBuffer_ResetAndClearCommands" "', expected argument " "1"" of type '" "wxRichTextBuffer *""'");
13933
arg1 = reinterpret_cast< wxRichTextBuffer * >(argp1);
13935
PyThreadState* __tstate = wxPyBeginAllowThreads();
13936
(arg1)->ResetAndClearCommands();
13937
wxPyEndAllowThreads(__tstate);
13938
if (PyErr_Occurred()) SWIG_fail;
13940
resultobj = SWIG_Py_Void();
13947
SWIGINTERN PyObject *_wrap_RichTextBuffer_LoadFile(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13948
PyObject *resultobj = 0;
13949
wxRichTextBuffer *arg1 = (wxRichTextBuffer *) 0 ;
13950
wxString *arg2 = 0 ;
13951
int arg3 = (int) wxRICHTEXT_TYPE_ANY ;
13955
bool temp2 = false ;
13958
PyObject * obj0 = 0 ;
13959
PyObject * obj1 = 0 ;
13960
PyObject * obj2 = 0 ;
13961
char * kwnames[] = {
13962
(char *) "self",(char *) "filename",(char *) "type", NULL
13965
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:RichTextBuffer_LoadFile",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
13966
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextBuffer, 0 | 0 );
13967
if (!SWIG_IsOK(res1)) {
13968
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextBuffer_LoadFile" "', expected argument " "1"" of type '" "wxRichTextBuffer *""'");
13970
arg1 = reinterpret_cast< wxRichTextBuffer * >(argp1);
13972
arg2 = wxString_in_helper(obj1);
13973
if (arg2 == NULL) SWIG_fail;
13977
ecode3 = SWIG_AsVal_int(obj2, &val3);
13978
if (!SWIG_IsOK(ecode3)) {
13979
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "RichTextBuffer_LoadFile" "', expected argument " "3"" of type '" "int""'");
13981
arg3 = static_cast< int >(val3);
13984
PyThreadState* __tstate = wxPyBeginAllowThreads();
13985
result = (bool)(arg1)->LoadFile((wxString const &)*arg2,arg3);
13986
wxPyEndAllowThreads(__tstate);
13987
if (PyErr_Occurred()) SWIG_fail;
13990
resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14006
SWIGINTERN PyObject *_wrap_RichTextBuffer_SaveFile(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14007
PyObject *resultobj = 0;
14008
wxRichTextBuffer *arg1 = (wxRichTextBuffer *) 0 ;
14009
wxString *arg2 = 0 ;
14010
int arg3 = (int) wxRICHTEXT_TYPE_ANY ;
14014
bool temp2 = false ;
14017
PyObject * obj0 = 0 ;
14018
PyObject * obj1 = 0 ;
14019
PyObject * obj2 = 0 ;
14020
char * kwnames[] = {
14021
(char *) "self",(char *) "filename",(char *) "type", NULL
14024
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:RichTextBuffer_SaveFile",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
14025
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextBuffer, 0 | 0 );
14026
if (!SWIG_IsOK(res1)) {
14027
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextBuffer_SaveFile" "', expected argument " "1"" of type '" "wxRichTextBuffer *""'");
14029
arg1 = reinterpret_cast< wxRichTextBuffer * >(argp1);
14031
arg2 = wxString_in_helper(obj1);
14032
if (arg2 == NULL) SWIG_fail;
14036
ecode3 = SWIG_AsVal_int(obj2, &val3);
14037
if (!SWIG_IsOK(ecode3)) {
14038
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "RichTextBuffer_SaveFile" "', expected argument " "3"" of type '" "int""'");
14040
arg3 = static_cast< int >(val3);
14043
PyThreadState* __tstate = wxPyBeginAllowThreads();
14044
result = (bool)(arg1)->SaveFile((wxString const &)*arg2,arg3);
14045
wxPyEndAllowThreads(__tstate);
14046
if (PyErr_Occurred()) SWIG_fail;
14049
resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14065
SWIGINTERN PyObject *_wrap_RichTextBuffer_LoadStream(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14066
PyObject *resultobj = 0;
14067
wxRichTextBuffer *arg1 = (wxRichTextBuffer *) 0 ;
14068
wxInputStream *arg2 = 0 ;
14069
int arg3 = (int) wxRICHTEXT_TYPE_ANY ;
14073
wxPyInputStream *temp2 ;
14077
PyObject * obj0 = 0 ;
14078
PyObject * obj1 = 0 ;
14079
PyObject * obj2 = 0 ;
14080
char * kwnames[] = {
14081
(char *) "self",(char *) "stream",(char *) "type", NULL
14084
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:RichTextBuffer_LoadStream",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
14085
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextBuffer, 0 | 0 );
14086
if (!SWIG_IsOK(res1)) {
14087
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextBuffer_LoadStream" "', expected argument " "1"" of type '" "wxRichTextBuffer *""'");
14089
arg1 = reinterpret_cast< wxRichTextBuffer * >(argp1);
14091
if (wxPyConvertSwigPtr(obj1, (void **)&temp2, wxT("wxPyInputStream"))) {
14092
arg2 = temp2->m_wxis;
14095
PyErr_Clear(); // clear the failure of the wxPyConvert above
14096
arg2 = wxPyCBInputStream_create(obj1, false);
14097
if (arg2 == NULL) {
14098
PyErr_SetString(PyExc_TypeError, "Expected wx.InputStream or Python file-like object.");
14105
ecode3 = SWIG_AsVal_int(obj2, &val3);
14106
if (!SWIG_IsOK(ecode3)) {
14107
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "RichTextBuffer_LoadStream" "', expected argument " "3"" of type '" "int""'");
14109
arg3 = static_cast< int >(val3);
14112
PyThreadState* __tstate = wxPyBeginAllowThreads();
14113
result = (bool)(arg1)->LoadFile(*arg2,arg3);
14114
wxPyEndAllowThreads(__tstate);
14115
if (PyErr_Occurred()) SWIG_fail;
14118
resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14121
if (created2) delete arg2;
14126
if (created2) delete arg2;
14132
SWIGINTERN PyObject *_wrap_RichTextBuffer_SaveStream(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14133
PyObject *resultobj = 0;
14134
wxRichTextBuffer *arg1 = (wxRichTextBuffer *) 0 ;
14135
wxOutputStream *arg2 = 0 ;
14136
int arg3 = (int) wxRICHTEXT_TYPE_ANY ;
14140
wxPyOutputStream *temp2 ;
14144
PyObject * obj0 = 0 ;
14145
PyObject * obj1 = 0 ;
14146
PyObject * obj2 = 0 ;
14147
char * kwnames[] = {
14148
(char *) "self",(char *) "stream",(char *) "type", NULL
14151
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:RichTextBuffer_SaveStream",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
14152
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextBuffer, 0 | 0 );
14153
if (!SWIG_IsOK(res1)) {
14154
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextBuffer_SaveStream" "', expected argument " "1"" of type '" "wxRichTextBuffer *""'");
14156
arg1 = reinterpret_cast< wxRichTextBuffer * >(argp1);
14158
if (wxPyConvertSwigPtr(obj1, (void **)&temp2, wxT("wxPyOutputStream"))) {
14159
arg2 = temp2->m_wxos;
14162
PyErr_Clear(); // clear the failure of the wxPyConvert above
14163
arg2 = wxPyCBOutputStream_create(obj1, false);
14164
if (arg2 == NULL) {
14165
PyErr_SetString(PyExc_TypeError, "Expected wx.OutputStream or Python file-like object.");
14172
ecode3 = SWIG_AsVal_int(obj2, &val3);
14173
if (!SWIG_IsOK(ecode3)) {
14174
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "RichTextBuffer_SaveStream" "', expected argument " "3"" of type '" "int""'");
14176
arg3 = static_cast< int >(val3);
14179
PyThreadState* __tstate = wxPyBeginAllowThreads();
14180
result = (bool)(arg1)->SaveFile(*arg2,arg3);
14181
wxPyEndAllowThreads(__tstate);
14182
if (PyErr_Occurred()) SWIG_fail;
14185
resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14188
if (created2) delete arg2;
14193
if (created2) delete arg2;
14199
SWIGINTERN PyObject *_wrap_RichTextBuffer_SetHandlerFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14200
PyObject *resultobj = 0;
14201
wxRichTextBuffer *arg1 = (wxRichTextBuffer *) 0 ;
14207
PyObject * obj0 = 0 ;
14208
PyObject * obj1 = 0 ;
14209
char * kwnames[] = {
14210
(char *) "self",(char *) "flags", NULL
14213
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RichTextBuffer_SetHandlerFlags",kwnames,&obj0,&obj1)) SWIG_fail;
14214
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextBuffer, 0 | 0 );
14215
if (!SWIG_IsOK(res1)) {
14216
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextBuffer_SetHandlerFlags" "', expected argument " "1"" of type '" "wxRichTextBuffer *""'");
14218
arg1 = reinterpret_cast< wxRichTextBuffer * >(argp1);
14219
ecode2 = SWIG_AsVal_int(obj1, &val2);
14220
if (!SWIG_IsOK(ecode2)) {
14221
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RichTextBuffer_SetHandlerFlags" "', expected argument " "2"" of type '" "int""'");
14223
arg2 = static_cast< int >(val2);
14225
PyThreadState* __tstate = wxPyBeginAllowThreads();
14226
(arg1)->SetHandlerFlags(arg2);
14227
wxPyEndAllowThreads(__tstate);
14228
if (PyErr_Occurred()) SWIG_fail;
14230
resultobj = SWIG_Py_Void();
14237
SWIGINTERN PyObject *_wrap_RichTextBuffer_GetHandlerFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14238
PyObject *resultobj = 0;
14239
wxRichTextBuffer *arg1 = (wxRichTextBuffer *) 0 ;
14243
PyObject *swig_obj[1] ;
14245
if (!args) SWIG_fail;
14246
swig_obj[0] = args;
14247
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextBuffer, 0 | 0 );
14248
if (!SWIG_IsOK(res1)) {
14249
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextBuffer_GetHandlerFlags" "', expected argument " "1"" of type '" "wxRichTextBuffer const *""'");
14251
arg1 = reinterpret_cast< wxRichTextBuffer * >(argp1);
14253
PyThreadState* __tstate = wxPyBeginAllowThreads();
14254
result = (int)((wxRichTextBuffer const *)arg1)->GetHandlerFlags();
14255
wxPyEndAllowThreads(__tstate);
14256
if (PyErr_Occurred()) SWIG_fail;
14258
resultobj = SWIG_From_int(static_cast< int >(result));
14265
SWIGINTERN PyObject *_wrap_RichTextBuffer_BeginBatchUndo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14266
PyObject *resultobj = 0;
14267
wxRichTextBuffer *arg1 = (wxRichTextBuffer *) 0 ;
14268
wxString *arg2 = 0 ;
14272
bool temp2 = false ;
14273
PyObject * obj0 = 0 ;
14274
PyObject * obj1 = 0 ;
14275
char * kwnames[] = {
14276
(char *) "self",(char *) "cmdName", NULL
14279
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RichTextBuffer_BeginBatchUndo",kwnames,&obj0,&obj1)) SWIG_fail;
14280
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextBuffer, 0 | 0 );
14281
if (!SWIG_IsOK(res1)) {
14282
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextBuffer_BeginBatchUndo" "', expected argument " "1"" of type '" "wxRichTextBuffer *""'");
14284
arg1 = reinterpret_cast< wxRichTextBuffer * >(argp1);
14286
arg2 = wxString_in_helper(obj1);
14287
if (arg2 == NULL) SWIG_fail;
14291
PyThreadState* __tstate = wxPyBeginAllowThreads();
14292
result = (bool)(arg1)->BeginBatchUndo((wxString const &)*arg2);
14293
wxPyEndAllowThreads(__tstate);
14294
if (PyErr_Occurred()) SWIG_fail;
14297
resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14313
SWIGINTERN PyObject *_wrap_RichTextBuffer_EndBatchUndo(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14314
PyObject *resultobj = 0;
14315
wxRichTextBuffer *arg1 = (wxRichTextBuffer *) 0 ;
14319
PyObject *swig_obj[1] ;
14321
if (!args) SWIG_fail;
14322
swig_obj[0] = args;
14323
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextBuffer, 0 | 0 );
14324
if (!SWIG_IsOK(res1)) {
14325
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextBuffer_EndBatchUndo" "', expected argument " "1"" of type '" "wxRichTextBuffer *""'");
14327
arg1 = reinterpret_cast< wxRichTextBuffer * >(argp1);
14329
PyThreadState* __tstate = wxPyBeginAllowThreads();
14330
result = (bool)(arg1)->EndBatchUndo();
14331
wxPyEndAllowThreads(__tstate);
14332
if (PyErr_Occurred()) SWIG_fail;
14335
resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14343
SWIGINTERN PyObject *_wrap_RichTextBuffer_BatchingUndo(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14344
PyObject *resultobj = 0;
14345
wxRichTextBuffer *arg1 = (wxRichTextBuffer *) 0 ;
14349
PyObject *swig_obj[1] ;
14351
if (!args) SWIG_fail;
14352
swig_obj[0] = args;
14353
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextBuffer, 0 | 0 );
14354
if (!SWIG_IsOK(res1)) {
14355
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextBuffer_BatchingUndo" "', expected argument " "1"" of type '" "wxRichTextBuffer const *""'");
14357
arg1 = reinterpret_cast< wxRichTextBuffer * >(argp1);
14359
PyThreadState* __tstate = wxPyBeginAllowThreads();
14360
result = (bool)((wxRichTextBuffer const *)arg1)->BatchingUndo();
14361
wxPyEndAllowThreads(__tstate);
14362
if (PyErr_Occurred()) SWIG_fail;
14365
resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14373
SWIGINTERN PyObject *_wrap_RichTextBuffer_SubmitAction(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14374
PyObject *resultobj = 0;
14375
wxRichTextBuffer *arg1 = (wxRichTextBuffer *) 0 ;
14376
wxRichTextAction *arg2 = (wxRichTextAction *) 0 ;
14382
PyObject * obj0 = 0 ;
14383
PyObject * obj1 = 0 ;
14384
char * kwnames[] = {
14385
(char *) "self",(char *) "action", NULL
14388
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RichTextBuffer_SubmitAction",kwnames,&obj0,&obj1)) SWIG_fail;
14389
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextBuffer, 0 | 0 );
14390
if (!SWIG_IsOK(res1)) {
14391
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextBuffer_SubmitAction" "', expected argument " "1"" of type '" "wxRichTextBuffer *""'");
14393
arg1 = reinterpret_cast< wxRichTextBuffer * >(argp1);
14394
res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxRichTextAction, 0 | 0 );
14395
if (!SWIG_IsOK(res2)) {
14396
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "RichTextBuffer_SubmitAction" "', expected argument " "2"" of type '" "wxRichTextAction *""'");
14398
arg2 = reinterpret_cast< wxRichTextAction * >(argp2);
14400
PyThreadState* __tstate = wxPyBeginAllowThreads();
14401
result = (bool)(arg1)->SubmitAction(arg2);
14402
wxPyEndAllowThreads(__tstate);
14403
if (PyErr_Occurred()) SWIG_fail;
14406
resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14414
SWIGINTERN PyObject *_wrap_RichTextBuffer_GetBatchedCommand(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14415
PyObject *resultobj = 0;
14416
wxRichTextBuffer *arg1 = (wxRichTextBuffer *) 0 ;
14417
wxRichTextCommand *result = 0 ;
14420
PyObject *swig_obj[1] ;
14422
if (!args) SWIG_fail;
14423
swig_obj[0] = args;
14424
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextBuffer, 0 | 0 );
14425
if (!SWIG_IsOK(res1)) {
14426
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextBuffer_GetBatchedCommand" "', expected argument " "1"" of type '" "wxRichTextBuffer const *""'");
14428
arg1 = reinterpret_cast< wxRichTextBuffer * >(argp1);
14430
PyThreadState* __tstate = wxPyBeginAllowThreads();
14431
result = (wxRichTextCommand *)((wxRichTextBuffer const *)arg1)->GetBatchedCommand();
14432
wxPyEndAllowThreads(__tstate);
14433
if (PyErr_Occurred()) SWIG_fail;
14435
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxRichTextCommand, 0 | 0 );
14442
SWIGINTERN PyObject *_wrap_RichTextBuffer_BeginSuppressUndo(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14443
PyObject *resultobj = 0;
14444
wxRichTextBuffer *arg1 = (wxRichTextBuffer *) 0 ;
14448
PyObject *swig_obj[1] ;
14450
if (!args) SWIG_fail;
14451
swig_obj[0] = args;
14452
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextBuffer, 0 | 0 );
14453
if (!SWIG_IsOK(res1)) {
14454
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextBuffer_BeginSuppressUndo" "', expected argument " "1"" of type '" "wxRichTextBuffer *""'");
14456
arg1 = reinterpret_cast< wxRichTextBuffer * >(argp1);
14458
PyThreadState* __tstate = wxPyBeginAllowThreads();
14459
result = (bool)(arg1)->BeginSuppressUndo();
14460
wxPyEndAllowThreads(__tstate);
14461
if (PyErr_Occurred()) SWIG_fail;
14464
resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14472
SWIGINTERN PyObject *_wrap_RichTextBuffer_EndSuppressUndo(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14473
PyObject *resultobj = 0;
14474
wxRichTextBuffer *arg1 = (wxRichTextBuffer *) 0 ;
14478
PyObject *swig_obj[1] ;
14480
if (!args) SWIG_fail;
14481
swig_obj[0] = args;
14482
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextBuffer, 0 | 0 );
14483
if (!SWIG_IsOK(res1)) {
14484
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextBuffer_EndSuppressUndo" "', expected argument " "1"" of type '" "wxRichTextBuffer *""'");
14486
arg1 = reinterpret_cast< wxRichTextBuffer * >(argp1);
14488
PyThreadState* __tstate = wxPyBeginAllowThreads();
14489
result = (bool)(arg1)->EndSuppressUndo();
14490
wxPyEndAllowThreads(__tstate);
14491
if (PyErr_Occurred()) SWIG_fail;
14494
resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14502
SWIGINTERN PyObject *_wrap_RichTextBuffer_SuppressingUndo(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14503
PyObject *resultobj = 0;
14504
wxRichTextBuffer *arg1 = (wxRichTextBuffer *) 0 ;
14508
PyObject *swig_obj[1] ;
14510
if (!args) SWIG_fail;
14511
swig_obj[0] = args;
14512
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextBuffer, 0 | 0 );
14513
if (!SWIG_IsOK(res1)) {
14514
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextBuffer_SuppressingUndo" "', expected argument " "1"" of type '" "wxRichTextBuffer const *""'");
14516
arg1 = reinterpret_cast< wxRichTextBuffer * >(argp1);
14518
PyThreadState* __tstate = wxPyBeginAllowThreads();
14519
result = (bool)((wxRichTextBuffer const *)arg1)->SuppressingUndo();
14520
wxPyEndAllowThreads(__tstate);
14521
if (PyErr_Occurred()) SWIG_fail;
14524
resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14532
SWIGINTERN PyObject *_wrap_RichTextBuffer_CopyToClipboard(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14533
PyObject *resultobj = 0;
14534
wxRichTextBuffer *arg1 = (wxRichTextBuffer *) 0 ;
14535
wxRichTextRange *arg2 = 0 ;
14539
wxRichTextRange temp2 ;
14540
PyObject * obj0 = 0 ;
14541
PyObject * obj1 = 0 ;
14542
char * kwnames[] = {
14543
(char *) "self",(char *) "range", NULL
14546
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RichTextBuffer_CopyToClipboard",kwnames,&obj0,&obj1)) SWIG_fail;
14547
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextBuffer, 0 | 0 );
14548
if (!SWIG_IsOK(res1)) {
14549
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextBuffer_CopyToClipboard" "', expected argument " "1"" of type '" "wxRichTextBuffer *""'");
14551
arg1 = reinterpret_cast< wxRichTextBuffer * >(argp1);
14554
if ( ! wxRichTextRange_helper(obj1, &arg2)) SWIG_fail;
14557
PyThreadState* __tstate = wxPyBeginAllowThreads();
14558
result = (bool)(arg1)->CopyToClipboard((wxRichTextRange const &)*arg2);
14559
wxPyEndAllowThreads(__tstate);
14560
if (PyErr_Occurred()) SWIG_fail;
14563
resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14571
SWIGINTERN PyObject *_wrap_RichTextBuffer_PasteFromClipboard(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14572
PyObject *resultobj = 0;
14573
wxRichTextBuffer *arg1 = (wxRichTextBuffer *) 0 ;
14580
PyObject * obj0 = 0 ;
14581
PyObject * obj1 = 0 ;
14582
char * kwnames[] = {
14583
(char *) "self",(char *) "position", NULL
14586
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RichTextBuffer_PasteFromClipboard",kwnames,&obj0,&obj1)) SWIG_fail;
14587
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextBuffer, 0 | 0 );
14588
if (!SWIG_IsOK(res1)) {
14589
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextBuffer_PasteFromClipboard" "', expected argument " "1"" of type '" "wxRichTextBuffer *""'");
14591
arg1 = reinterpret_cast< wxRichTextBuffer * >(argp1);
14592
ecode2 = SWIG_AsVal_long(obj1, &val2);
14593
if (!SWIG_IsOK(ecode2)) {
14594
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RichTextBuffer_PasteFromClipboard" "', expected argument " "2"" of type '" "long""'");
14596
arg2 = static_cast< long >(val2);
14598
PyThreadState* __tstate = wxPyBeginAllowThreads();
14599
result = (bool)(arg1)->PasteFromClipboard(arg2);
14600
wxPyEndAllowThreads(__tstate);
14601
if (PyErr_Occurred()) SWIG_fail;
14604
resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14612
SWIGINTERN PyObject *_wrap_RichTextBuffer_CanPasteFromClipboard(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14613
PyObject *resultobj = 0;
14614
wxRichTextBuffer *arg1 = (wxRichTextBuffer *) 0 ;
14618
PyObject *swig_obj[1] ;
14620
if (!args) SWIG_fail;
14621
swig_obj[0] = args;
14622
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextBuffer, 0 | 0 );
14623
if (!SWIG_IsOK(res1)) {
14624
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextBuffer_CanPasteFromClipboard" "', expected argument " "1"" of type '" "wxRichTextBuffer const *""'");
14626
arg1 = reinterpret_cast< wxRichTextBuffer * >(argp1);
14628
PyThreadState* __tstate = wxPyBeginAllowThreads();
14629
result = (bool)((wxRichTextBuffer const *)arg1)->CanPasteFromClipboard();
14630
wxPyEndAllowThreads(__tstate);
14631
if (PyErr_Occurred()) SWIG_fail;
14634
resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14642
SWIGINTERN PyObject *_wrap_RichTextBuffer_BeginStyle(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14643
PyObject *resultobj = 0;
14644
wxRichTextBuffer *arg1 = (wxRichTextBuffer *) 0 ;
14645
wxTextAttrEx *arg2 = 0 ;
14651
PyObject * obj0 = 0 ;
14652
PyObject * obj1 = 0 ;
14653
char * kwnames[] = {
14654
(char *) "self",(char *) "style", NULL
14657
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RichTextBuffer_BeginStyle",kwnames,&obj0,&obj1)) SWIG_fail;
14658
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextBuffer, 0 | 0 );
14659
if (!SWIG_IsOK(res1)) {
14660
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextBuffer_BeginStyle" "', expected argument " "1"" of type '" "wxRichTextBuffer *""'");
14662
arg1 = reinterpret_cast< wxRichTextBuffer * >(argp1);
14663
res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTextAttrEx, 0 | 0);
14664
if (!SWIG_IsOK(res2)) {
14665
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "RichTextBuffer_BeginStyle" "', expected argument " "2"" of type '" "wxTextAttrEx const &""'");
14668
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "RichTextBuffer_BeginStyle" "', expected argument " "2"" of type '" "wxTextAttrEx const &""'");
14670
arg2 = reinterpret_cast< wxTextAttrEx * >(argp2);
14672
PyThreadState* __tstate = wxPyBeginAllowThreads();
14673
result = (bool)(arg1)->BeginStyle((wxTextAttrEx const &)*arg2);
14674
wxPyEndAllowThreads(__tstate);
14675
if (PyErr_Occurred()) SWIG_fail;
14678
resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14686
SWIGINTERN PyObject *_wrap_RichTextBuffer_EndStyle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14687
PyObject *resultobj = 0;
14688
wxRichTextBuffer *arg1 = (wxRichTextBuffer *) 0 ;
14692
PyObject *swig_obj[1] ;
14694
if (!args) SWIG_fail;
14695
swig_obj[0] = args;
14696
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextBuffer, 0 | 0 );
14697
if (!SWIG_IsOK(res1)) {
14698
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextBuffer_EndStyle" "', expected argument " "1"" of type '" "wxRichTextBuffer *""'");
14700
arg1 = reinterpret_cast< wxRichTextBuffer * >(argp1);
14702
PyThreadState* __tstate = wxPyBeginAllowThreads();
14703
result = (bool)(arg1)->EndStyle();
14704
wxPyEndAllowThreads(__tstate);
14705
if (PyErr_Occurred()) SWIG_fail;
14708
resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14716
SWIGINTERN PyObject *_wrap_RichTextBuffer_EndAllStyles(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14717
PyObject *resultobj = 0;
14718
wxRichTextBuffer *arg1 = (wxRichTextBuffer *) 0 ;
14722
PyObject *swig_obj[1] ;
14724
if (!args) SWIG_fail;
14725
swig_obj[0] = args;
14726
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextBuffer, 0 | 0 );
14727
if (!SWIG_IsOK(res1)) {
14728
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextBuffer_EndAllStyles" "', expected argument " "1"" of type '" "wxRichTextBuffer *""'");
14730
arg1 = reinterpret_cast< wxRichTextBuffer * >(argp1);
14732
PyThreadState* __tstate = wxPyBeginAllowThreads();
14733
result = (bool)(arg1)->EndAllStyles();
14734
wxPyEndAllowThreads(__tstate);
14735
if (PyErr_Occurred()) SWIG_fail;
14738
resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14746
SWIGINTERN PyObject *_wrap_RichTextBuffer_ClearStyleStack(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14747
PyObject *resultobj = 0;
14748
wxRichTextBuffer *arg1 = (wxRichTextBuffer *) 0 ;
14751
PyObject *swig_obj[1] ;
14753
if (!args) SWIG_fail;
14754
swig_obj[0] = args;
14755
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextBuffer, 0 | 0 );
14756
if (!SWIG_IsOK(res1)) {
14757
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextBuffer_ClearStyleStack" "', expected argument " "1"" of type '" "wxRichTextBuffer *""'");
14759
arg1 = reinterpret_cast< wxRichTextBuffer * >(argp1);
14761
PyThreadState* __tstate = wxPyBeginAllowThreads();
14762
(arg1)->ClearStyleStack();
14763
wxPyEndAllowThreads(__tstate);
14764
if (PyErr_Occurred()) SWIG_fail;
14766
resultobj = SWIG_Py_Void();
14773
SWIGINTERN PyObject *_wrap_RichTextBuffer_GetStyleStackSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14774
PyObject *resultobj = 0;
14775
wxRichTextBuffer *arg1 = (wxRichTextBuffer *) 0 ;
14779
PyObject *swig_obj[1] ;
14781
if (!args) SWIG_fail;
14782
swig_obj[0] = args;
14783
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextBuffer, 0 | 0 );
14784
if (!SWIG_IsOK(res1)) {
14785
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextBuffer_GetStyleStackSize" "', expected argument " "1"" of type '" "wxRichTextBuffer const *""'");
14787
arg1 = reinterpret_cast< wxRichTextBuffer * >(argp1);
14789
PyThreadState* __tstate = wxPyBeginAllowThreads();
14790
result = (size_t)((wxRichTextBuffer const *)arg1)->GetStyleStackSize();
14791
wxPyEndAllowThreads(__tstate);
14792
if (PyErr_Occurred()) SWIG_fail;
14794
resultobj = SWIG_From_size_t(static_cast< size_t >(result));
14801
SWIGINTERN PyObject *_wrap_RichTextBuffer_BeginBold(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14802
PyObject *resultobj = 0;
14803
wxRichTextBuffer *arg1 = (wxRichTextBuffer *) 0 ;
14807
PyObject *swig_obj[1] ;
14809
if (!args) SWIG_fail;
14810
swig_obj[0] = args;
14811
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextBuffer, 0 | 0 );
14812
if (!SWIG_IsOK(res1)) {
14813
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextBuffer_BeginBold" "', expected argument " "1"" of type '" "wxRichTextBuffer *""'");
14815
arg1 = reinterpret_cast< wxRichTextBuffer * >(argp1);
14817
PyThreadState* __tstate = wxPyBeginAllowThreads();
14818
result = (bool)(arg1)->BeginBold();
14819
wxPyEndAllowThreads(__tstate);
14820
if (PyErr_Occurred()) SWIG_fail;
14823
resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14831
SWIGINTERN PyObject *_wrap_RichTextBuffer_EndBold(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14832
PyObject *resultobj = 0;
14833
wxRichTextBuffer *arg1 = (wxRichTextBuffer *) 0 ;
14837
PyObject *swig_obj[1] ;
14839
if (!args) SWIG_fail;
14840
swig_obj[0] = args;
14841
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextBuffer, 0 | 0 );
14842
if (!SWIG_IsOK(res1)) {
14843
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextBuffer_EndBold" "', expected argument " "1"" of type '" "wxRichTextBuffer *""'");
14845
arg1 = reinterpret_cast< wxRichTextBuffer * >(argp1);
14847
PyThreadState* __tstate = wxPyBeginAllowThreads();
14848
result = (bool)(arg1)->EndBold();
14849
wxPyEndAllowThreads(__tstate);
14850
if (PyErr_Occurred()) SWIG_fail;
14853
resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14861
SWIGINTERN PyObject *_wrap_RichTextBuffer_BeginItalic(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14862
PyObject *resultobj = 0;
14863
wxRichTextBuffer *arg1 = (wxRichTextBuffer *) 0 ;
14867
PyObject *swig_obj[1] ;
14869
if (!args) SWIG_fail;
14870
swig_obj[0] = args;
14871
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextBuffer, 0 | 0 );
14872
if (!SWIG_IsOK(res1)) {
14873
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextBuffer_BeginItalic" "', expected argument " "1"" of type '" "wxRichTextBuffer *""'");
14875
arg1 = reinterpret_cast< wxRichTextBuffer * >(argp1);
14877
PyThreadState* __tstate = wxPyBeginAllowThreads();
14878
result = (bool)(arg1)->BeginItalic();
14879
wxPyEndAllowThreads(__tstate);
14880
if (PyErr_Occurred()) SWIG_fail;
14883
resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14891
SWIGINTERN PyObject *_wrap_RichTextBuffer_EndItalic(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14892
PyObject *resultobj = 0;
14893
wxRichTextBuffer *arg1 = (wxRichTextBuffer *) 0 ;
14897
PyObject *swig_obj[1] ;
14899
if (!args) SWIG_fail;
14900
swig_obj[0] = args;
14901
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextBuffer, 0 | 0 );
14902
if (!SWIG_IsOK(res1)) {
14903
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextBuffer_EndItalic" "', expected argument " "1"" of type '" "wxRichTextBuffer *""'");
14905
arg1 = reinterpret_cast< wxRichTextBuffer * >(argp1);
14907
PyThreadState* __tstate = wxPyBeginAllowThreads();
14908
result = (bool)(arg1)->EndItalic();
14909
wxPyEndAllowThreads(__tstate);
14910
if (PyErr_Occurred()) SWIG_fail;
14913
resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14921
SWIGINTERN PyObject *_wrap_RichTextBuffer_BeginUnderline(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14922
PyObject *resultobj = 0;
14923
wxRichTextBuffer *arg1 = (wxRichTextBuffer *) 0 ;
14927
PyObject *swig_obj[1] ;
14929
if (!args) SWIG_fail;
14930
swig_obj[0] = args;
14931
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextBuffer, 0 | 0 );
14932
if (!SWIG_IsOK(res1)) {
14933
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextBuffer_BeginUnderline" "', expected argument " "1"" of type '" "wxRichTextBuffer *""'");
14935
arg1 = reinterpret_cast< wxRichTextBuffer * >(argp1);
14937
PyThreadState* __tstate = wxPyBeginAllowThreads();
14938
result = (bool)(arg1)->BeginUnderline();
14939
wxPyEndAllowThreads(__tstate);
14940
if (PyErr_Occurred()) SWIG_fail;
14943
resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14951
SWIGINTERN PyObject *_wrap_RichTextBuffer_EndUnderline(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14952
PyObject *resultobj = 0;
14953
wxRichTextBuffer *arg1 = (wxRichTextBuffer *) 0 ;
14957
PyObject *swig_obj[1] ;
14959
if (!args) SWIG_fail;
14960
swig_obj[0] = args;
14961
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextBuffer, 0 | 0 );
14962
if (!SWIG_IsOK(res1)) {
14963
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextBuffer_EndUnderline" "', expected argument " "1"" of type '" "wxRichTextBuffer *""'");
14965
arg1 = reinterpret_cast< wxRichTextBuffer * >(argp1);
14967
PyThreadState* __tstate = wxPyBeginAllowThreads();
14968
result = (bool)(arg1)->EndUnderline();
14969
wxPyEndAllowThreads(__tstate);
14970
if (PyErr_Occurred()) SWIG_fail;
14973
resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14981
SWIGINTERN PyObject *_wrap_RichTextBuffer_BeginFontSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14982
PyObject *resultobj = 0;
14983
wxRichTextBuffer *arg1 = (wxRichTextBuffer *) 0 ;
14990
PyObject * obj0 = 0 ;
14991
PyObject * obj1 = 0 ;
14992
char * kwnames[] = {
14993
(char *) "self",(char *) "pointSize", NULL
14996
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RichTextBuffer_BeginFontSize",kwnames,&obj0,&obj1)) SWIG_fail;
14997
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextBuffer, 0 | 0 );
14998
if (!SWIG_IsOK(res1)) {
14999
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextBuffer_BeginFontSize" "', expected argument " "1"" of type '" "wxRichTextBuffer *""'");
15001
arg1 = reinterpret_cast< wxRichTextBuffer * >(argp1);
15002
ecode2 = SWIG_AsVal_int(obj1, &val2);
15003
if (!SWIG_IsOK(ecode2)) {
15004
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RichTextBuffer_BeginFontSize" "', expected argument " "2"" of type '" "int""'");
15006
arg2 = static_cast< int >(val2);
15008
PyThreadState* __tstate = wxPyBeginAllowThreads();
15009
result = (bool)(arg1)->BeginFontSize(arg2);
15010
wxPyEndAllowThreads(__tstate);
15011
if (PyErr_Occurred()) SWIG_fail;
15014
resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15022
SWIGINTERN PyObject *_wrap_RichTextBuffer_EndFontSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15023
PyObject *resultobj = 0;
15024
wxRichTextBuffer *arg1 = (wxRichTextBuffer *) 0 ;
15028
PyObject *swig_obj[1] ;
15030
if (!args) SWIG_fail;
15031
swig_obj[0] = args;
15032
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextBuffer, 0 | 0 );
15033
if (!SWIG_IsOK(res1)) {
15034
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextBuffer_EndFontSize" "', expected argument " "1"" of type '" "wxRichTextBuffer *""'");
15036
arg1 = reinterpret_cast< wxRichTextBuffer * >(argp1);
15038
PyThreadState* __tstate = wxPyBeginAllowThreads();
15039
result = (bool)(arg1)->EndFontSize();
15040
wxPyEndAllowThreads(__tstate);
15041
if (PyErr_Occurred()) SWIG_fail;
15044
resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15052
SWIGINTERN PyObject *_wrap_RichTextBuffer_BeginFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15053
PyObject *resultobj = 0;
15054
wxRichTextBuffer *arg1 = (wxRichTextBuffer *) 0 ;
15061
PyObject * obj0 = 0 ;
15062
PyObject * obj1 = 0 ;
15063
char * kwnames[] = {
15064
(char *) "self",(char *) "font", NULL
15067
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RichTextBuffer_BeginFont",kwnames,&obj0,&obj1)) SWIG_fail;
15068
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextBuffer, 0 | 0 );
15069
if (!SWIG_IsOK(res1)) {
15070
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextBuffer_BeginFont" "', expected argument " "1"" of type '" "wxRichTextBuffer *""'");
15072
arg1 = reinterpret_cast< wxRichTextBuffer * >(argp1);
15073
res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxFont, 0 | 0);
15074
if (!SWIG_IsOK(res2)) {
15075
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "RichTextBuffer_BeginFont" "', expected argument " "2"" of type '" "wxFont const &""'");
15078
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "RichTextBuffer_BeginFont" "', expected argument " "2"" of type '" "wxFont const &""'");
15080
arg2 = reinterpret_cast< wxFont * >(argp2);
15082
PyThreadState* __tstate = wxPyBeginAllowThreads();
15083
result = (bool)(arg1)->BeginFont((wxFont const &)*arg2);
15084
wxPyEndAllowThreads(__tstate);
15085
if (PyErr_Occurred()) SWIG_fail;
15088
resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15096
SWIGINTERN PyObject *_wrap_RichTextBuffer_EndFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15097
PyObject *resultobj = 0;
15098
wxRichTextBuffer *arg1 = (wxRichTextBuffer *) 0 ;
15102
PyObject *swig_obj[1] ;
15104
if (!args) SWIG_fail;
15105
swig_obj[0] = args;
15106
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextBuffer, 0 | 0 );
15107
if (!SWIG_IsOK(res1)) {
15108
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextBuffer_EndFont" "', expected argument " "1"" of type '" "wxRichTextBuffer *""'");
15110
arg1 = reinterpret_cast< wxRichTextBuffer * >(argp1);
15112
PyThreadState* __tstate = wxPyBeginAllowThreads();
15113
result = (bool)(arg1)->EndFont();
15114
wxPyEndAllowThreads(__tstate);
15115
if (PyErr_Occurred()) SWIG_fail;
15118
resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15126
SWIGINTERN PyObject *_wrap_RichTextBuffer_BeginTextColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15127
PyObject *resultobj = 0;
15128
wxRichTextBuffer *arg1 = (wxRichTextBuffer *) 0 ;
15129
wxColour *arg2 = 0 ;
15134
PyObject * obj0 = 0 ;
15135
PyObject * obj1 = 0 ;
15136
char * kwnames[] = {
15137
(char *) "self",(char *) "colour", NULL
15140
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RichTextBuffer_BeginTextColour",kwnames,&obj0,&obj1)) SWIG_fail;
15141
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextBuffer, 0 | 0 );
15142
if (!SWIG_IsOK(res1)) {
15143
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextBuffer_BeginTextColour" "', expected argument " "1"" of type '" "wxRichTextBuffer *""'");
15145
arg1 = reinterpret_cast< wxRichTextBuffer * >(argp1);
15148
if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
15151
PyThreadState* __tstate = wxPyBeginAllowThreads();
15152
result = (bool)(arg1)->BeginTextColour((wxColour const &)*arg2);
15153
wxPyEndAllowThreads(__tstate);
15154
if (PyErr_Occurred()) SWIG_fail;
15157
resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15165
SWIGINTERN PyObject *_wrap_RichTextBuffer_EndTextColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15166
PyObject *resultobj = 0;
15167
wxRichTextBuffer *arg1 = (wxRichTextBuffer *) 0 ;
15171
PyObject *swig_obj[1] ;
15173
if (!args) SWIG_fail;
15174
swig_obj[0] = args;
15175
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextBuffer, 0 | 0 );
15176
if (!SWIG_IsOK(res1)) {
15177
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextBuffer_EndTextColour" "', expected argument " "1"" of type '" "wxRichTextBuffer *""'");
15179
arg1 = reinterpret_cast< wxRichTextBuffer * >(argp1);
15181
PyThreadState* __tstate = wxPyBeginAllowThreads();
15182
result = (bool)(arg1)->EndTextColour();
15183
wxPyEndAllowThreads(__tstate);
15184
if (PyErr_Occurred()) SWIG_fail;
15187
resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15195
SWIGINTERN PyObject *_wrap_RichTextBuffer_BeginAlignment(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15196
PyObject *resultobj = 0;
15197
wxRichTextBuffer *arg1 = (wxRichTextBuffer *) 0 ;
15198
wxTextAttrAlignment arg2 ;
15204
PyObject * obj0 = 0 ;
15205
PyObject * obj1 = 0 ;
15206
char * kwnames[] = {
15207
(char *) "self",(char *) "alignment", NULL
15210
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RichTextBuffer_BeginAlignment",kwnames,&obj0,&obj1)) SWIG_fail;
15211
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextBuffer, 0 | 0 );
15212
if (!SWIG_IsOK(res1)) {
15213
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextBuffer_BeginAlignment" "', expected argument " "1"" of type '" "wxRichTextBuffer *""'");
15215
arg1 = reinterpret_cast< wxRichTextBuffer * >(argp1);
15216
ecode2 = SWIG_AsVal_int(obj1, &val2);
15217
if (!SWIG_IsOK(ecode2)) {
15218
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RichTextBuffer_BeginAlignment" "', expected argument " "2"" of type '" "wxTextAttrAlignment""'");
15220
arg2 = static_cast< wxTextAttrAlignment >(val2);
15222
PyThreadState* __tstate = wxPyBeginAllowThreads();
15223
result = (bool)(arg1)->BeginAlignment(arg2);
15224
wxPyEndAllowThreads(__tstate);
15225
if (PyErr_Occurred()) SWIG_fail;
15228
resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15236
SWIGINTERN PyObject *_wrap_RichTextBuffer_EndAlignment(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15237
PyObject *resultobj = 0;
15238
wxRichTextBuffer *arg1 = (wxRichTextBuffer *) 0 ;
15242
PyObject *swig_obj[1] ;
15244
if (!args) SWIG_fail;
15245
swig_obj[0] = args;
15246
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextBuffer, 0 | 0 );
15247
if (!SWIG_IsOK(res1)) {
15248
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextBuffer_EndAlignment" "', expected argument " "1"" of type '" "wxRichTextBuffer *""'");
15250
arg1 = reinterpret_cast< wxRichTextBuffer * >(argp1);
15252
PyThreadState* __tstate = wxPyBeginAllowThreads();
15253
result = (bool)(arg1)->EndAlignment();
15254
wxPyEndAllowThreads(__tstate);
15255
if (PyErr_Occurred()) SWIG_fail;
15258
resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15266
SWIGINTERN PyObject *_wrap_RichTextBuffer_BeginLeftIndent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15267
PyObject *resultobj = 0;
15268
wxRichTextBuffer *arg1 = (wxRichTextBuffer *) 0 ;
15270
int arg3 = (int) 0 ;
15278
PyObject * obj0 = 0 ;
15279
PyObject * obj1 = 0 ;
15280
PyObject * obj2 = 0 ;
15281
char * kwnames[] = {
15282
(char *) "self",(char *) "leftIndent",(char *) "leftSubIndent", NULL
15285
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:RichTextBuffer_BeginLeftIndent",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
15286
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextBuffer, 0 | 0 );
15287
if (!SWIG_IsOK(res1)) {
15288
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextBuffer_BeginLeftIndent" "', expected argument " "1"" of type '" "wxRichTextBuffer *""'");
15290
arg1 = reinterpret_cast< wxRichTextBuffer * >(argp1);
15291
ecode2 = SWIG_AsVal_int(obj1, &val2);
15292
if (!SWIG_IsOK(ecode2)) {
15293
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RichTextBuffer_BeginLeftIndent" "', expected argument " "2"" of type '" "int""'");
15295
arg2 = static_cast< int >(val2);
15297
ecode3 = SWIG_AsVal_int(obj2, &val3);
15298
if (!SWIG_IsOK(ecode3)) {
15299
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "RichTextBuffer_BeginLeftIndent" "', expected argument " "3"" of type '" "int""'");
15301
arg3 = static_cast< int >(val3);
15304
PyThreadState* __tstate = wxPyBeginAllowThreads();
15305
result = (bool)(arg1)->BeginLeftIndent(arg2,arg3);
15306
wxPyEndAllowThreads(__tstate);
15307
if (PyErr_Occurred()) SWIG_fail;
15310
resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15318
SWIGINTERN PyObject *_wrap_RichTextBuffer_EndLeftIndent(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15319
PyObject *resultobj = 0;
15320
wxRichTextBuffer *arg1 = (wxRichTextBuffer *) 0 ;
15324
PyObject *swig_obj[1] ;
15326
if (!args) SWIG_fail;
15327
swig_obj[0] = args;
15328
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextBuffer, 0 | 0 );
15329
if (!SWIG_IsOK(res1)) {
15330
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextBuffer_EndLeftIndent" "', expected argument " "1"" of type '" "wxRichTextBuffer *""'");
15332
arg1 = reinterpret_cast< wxRichTextBuffer * >(argp1);
15334
PyThreadState* __tstate = wxPyBeginAllowThreads();
15335
result = (bool)(arg1)->EndLeftIndent();
15336
wxPyEndAllowThreads(__tstate);
15337
if (PyErr_Occurred()) SWIG_fail;
15340
resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15348
SWIGINTERN PyObject *_wrap_RichTextBuffer_BeginRightIndent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15349
PyObject *resultobj = 0;
15350
wxRichTextBuffer *arg1 = (wxRichTextBuffer *) 0 ;
15357
PyObject * obj0 = 0 ;
15358
PyObject * obj1 = 0 ;
15359
char * kwnames[] = {
15360
(char *) "self",(char *) "rightIndent", NULL
15363
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RichTextBuffer_BeginRightIndent",kwnames,&obj0,&obj1)) SWIG_fail;
15364
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextBuffer, 0 | 0 );
15365
if (!SWIG_IsOK(res1)) {
15366
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextBuffer_BeginRightIndent" "', expected argument " "1"" of type '" "wxRichTextBuffer *""'");
15368
arg1 = reinterpret_cast< wxRichTextBuffer * >(argp1);
15369
ecode2 = SWIG_AsVal_int(obj1, &val2);
15370
if (!SWIG_IsOK(ecode2)) {
15371
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RichTextBuffer_BeginRightIndent" "', expected argument " "2"" of type '" "int""'");
15373
arg2 = static_cast< int >(val2);
15375
PyThreadState* __tstate = wxPyBeginAllowThreads();
15376
result = (bool)(arg1)->BeginRightIndent(arg2);
15377
wxPyEndAllowThreads(__tstate);
15378
if (PyErr_Occurred()) SWIG_fail;
15381
resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15389
SWIGINTERN PyObject *_wrap_RichTextBuffer_EndRightIndent(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15390
PyObject *resultobj = 0;
15391
wxRichTextBuffer *arg1 = (wxRichTextBuffer *) 0 ;
15395
PyObject *swig_obj[1] ;
15397
if (!args) SWIG_fail;
15398
swig_obj[0] = args;
15399
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextBuffer, 0 | 0 );
15400
if (!SWIG_IsOK(res1)) {
15401
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextBuffer_EndRightIndent" "', expected argument " "1"" of type '" "wxRichTextBuffer *""'");
15403
arg1 = reinterpret_cast< wxRichTextBuffer * >(argp1);
15405
PyThreadState* __tstate = wxPyBeginAllowThreads();
15406
result = (bool)(arg1)->EndRightIndent();
15407
wxPyEndAllowThreads(__tstate);
15408
if (PyErr_Occurred()) SWIG_fail;
15411
resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15419
SWIGINTERN PyObject *_wrap_RichTextBuffer_BeginParagraphSpacing(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15420
PyObject *resultobj = 0;
15421
wxRichTextBuffer *arg1 = (wxRichTextBuffer *) 0 ;
15431
PyObject * obj0 = 0 ;
15432
PyObject * obj1 = 0 ;
15433
PyObject * obj2 = 0 ;
15434
char * kwnames[] = {
15435
(char *) "self",(char *) "before",(char *) "after", NULL
15438
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:RichTextBuffer_BeginParagraphSpacing",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
15439
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextBuffer, 0 | 0 );
15440
if (!SWIG_IsOK(res1)) {
15441
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextBuffer_BeginParagraphSpacing" "', expected argument " "1"" of type '" "wxRichTextBuffer *""'");
15443
arg1 = reinterpret_cast< wxRichTextBuffer * >(argp1);
15444
ecode2 = SWIG_AsVal_int(obj1, &val2);
15445
if (!SWIG_IsOK(ecode2)) {
15446
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RichTextBuffer_BeginParagraphSpacing" "', expected argument " "2"" of type '" "int""'");
15448
arg2 = static_cast< int >(val2);
15449
ecode3 = SWIG_AsVal_int(obj2, &val3);
15450
if (!SWIG_IsOK(ecode3)) {
15451
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "RichTextBuffer_BeginParagraphSpacing" "', expected argument " "3"" of type '" "int""'");
15453
arg3 = static_cast< int >(val3);
15455
PyThreadState* __tstate = wxPyBeginAllowThreads();
15456
result = (bool)(arg1)->BeginParagraphSpacing(arg2,arg3);
15457
wxPyEndAllowThreads(__tstate);
15458
if (PyErr_Occurred()) SWIG_fail;
15461
resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15469
SWIGINTERN PyObject *_wrap_RichTextBuffer_EndParagraphSpacing(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15470
PyObject *resultobj = 0;
15471
wxRichTextBuffer *arg1 = (wxRichTextBuffer *) 0 ;
15475
PyObject *swig_obj[1] ;
15477
if (!args) SWIG_fail;
15478
swig_obj[0] = args;
15479
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextBuffer, 0 | 0 );
15480
if (!SWIG_IsOK(res1)) {
15481
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextBuffer_EndParagraphSpacing" "', expected argument " "1"" of type '" "wxRichTextBuffer *""'");
15483
arg1 = reinterpret_cast< wxRichTextBuffer * >(argp1);
15485
PyThreadState* __tstate = wxPyBeginAllowThreads();
15486
result = (bool)(arg1)->EndParagraphSpacing();
15487
wxPyEndAllowThreads(__tstate);
15488
if (PyErr_Occurred()) SWIG_fail;
15491
resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15499
SWIGINTERN PyObject *_wrap_RichTextBuffer_BeginLineSpacing(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15500
PyObject *resultobj = 0;
15501
wxRichTextBuffer *arg1 = (wxRichTextBuffer *) 0 ;
15508
PyObject * obj0 = 0 ;
15509
PyObject * obj1 = 0 ;
15510
char * kwnames[] = {
15511
(char *) "self",(char *) "lineSpacing", NULL
15514
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RichTextBuffer_BeginLineSpacing",kwnames,&obj0,&obj1)) SWIG_fail;
15515
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextBuffer, 0 | 0 );
15516
if (!SWIG_IsOK(res1)) {
15517
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextBuffer_BeginLineSpacing" "', expected argument " "1"" of type '" "wxRichTextBuffer *""'");
15519
arg1 = reinterpret_cast< wxRichTextBuffer * >(argp1);
15520
ecode2 = SWIG_AsVal_int(obj1, &val2);
15521
if (!SWIG_IsOK(ecode2)) {
15522
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RichTextBuffer_BeginLineSpacing" "', expected argument " "2"" of type '" "int""'");
15524
arg2 = static_cast< int >(val2);
15526
PyThreadState* __tstate = wxPyBeginAllowThreads();
15527
result = (bool)(arg1)->BeginLineSpacing(arg2);
15528
wxPyEndAllowThreads(__tstate);
15529
if (PyErr_Occurred()) SWIG_fail;
15532
resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15540
SWIGINTERN PyObject *_wrap_RichTextBuffer_EndLineSpacing(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15541
PyObject *resultobj = 0;
15542
wxRichTextBuffer *arg1 = (wxRichTextBuffer *) 0 ;
15546
PyObject *swig_obj[1] ;
15548
if (!args) SWIG_fail;
15549
swig_obj[0] = args;
15550
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextBuffer, 0 | 0 );
15551
if (!SWIG_IsOK(res1)) {
15552
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextBuffer_EndLineSpacing" "', expected argument " "1"" of type '" "wxRichTextBuffer *""'");
15554
arg1 = reinterpret_cast< wxRichTextBuffer * >(argp1);
15556
PyThreadState* __tstate = wxPyBeginAllowThreads();
15557
result = (bool)(arg1)->EndLineSpacing();
15558
wxPyEndAllowThreads(__tstate);
15559
if (PyErr_Occurred()) SWIG_fail;
15562
resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15570
SWIGINTERN PyObject *_wrap_RichTextBuffer_BeginNumberedBullet(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15571
PyObject *resultobj = 0;
15572
wxRichTextBuffer *arg1 = (wxRichTextBuffer *) 0 ;
15576
int arg5 = (int) wxTEXT_ATTR_BULLET_STYLE_ARABIC|wxTEXT_ATTR_BULLET_STYLE_PERIOD ;
15588
PyObject * obj0 = 0 ;
15589
PyObject * obj1 = 0 ;
15590
PyObject * obj2 = 0 ;
15591
PyObject * obj3 = 0 ;
15592
PyObject * obj4 = 0 ;
15593
char * kwnames[] = {
15594
(char *) "self",(char *) "bulletNumber",(char *) "leftIndent",(char *) "leftSubIndent",(char *) "bulletStyle", NULL
15597
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|O:RichTextBuffer_BeginNumberedBullet",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
15598
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextBuffer, 0 | 0 );
15599
if (!SWIG_IsOK(res1)) {
15600
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextBuffer_BeginNumberedBullet" "', expected argument " "1"" of type '" "wxRichTextBuffer *""'");
15602
arg1 = reinterpret_cast< wxRichTextBuffer * >(argp1);
15603
ecode2 = SWIG_AsVal_int(obj1, &val2);
15604
if (!SWIG_IsOK(ecode2)) {
15605
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RichTextBuffer_BeginNumberedBullet" "', expected argument " "2"" of type '" "int""'");
15607
arg2 = static_cast< int >(val2);
15608
ecode3 = SWIG_AsVal_int(obj2, &val3);
15609
if (!SWIG_IsOK(ecode3)) {
15610
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "RichTextBuffer_BeginNumberedBullet" "', expected argument " "3"" of type '" "int""'");
15612
arg3 = static_cast< int >(val3);
15613
ecode4 = SWIG_AsVal_int(obj3, &val4);
15614
if (!SWIG_IsOK(ecode4)) {
15615
SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "RichTextBuffer_BeginNumberedBullet" "', expected argument " "4"" of type '" "int""'");
15617
arg4 = static_cast< int >(val4);
15619
ecode5 = SWIG_AsVal_int(obj4, &val5);
15620
if (!SWIG_IsOK(ecode5)) {
15621
SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "RichTextBuffer_BeginNumberedBullet" "', expected argument " "5"" of type '" "int""'");
15623
arg5 = static_cast< int >(val5);
15626
PyThreadState* __tstate = wxPyBeginAllowThreads();
15627
result = (bool)(arg1)->BeginNumberedBullet(arg2,arg3,arg4,arg5);
15628
wxPyEndAllowThreads(__tstate);
15629
if (PyErr_Occurred()) SWIG_fail;
15632
resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15640
SWIGINTERN PyObject *_wrap_RichTextBuffer_EndNumberedBullet(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15641
PyObject *resultobj = 0;
15642
wxRichTextBuffer *arg1 = (wxRichTextBuffer *) 0 ;
15646
PyObject *swig_obj[1] ;
15648
if (!args) SWIG_fail;
15649
swig_obj[0] = args;
15650
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextBuffer, 0 | 0 );
15651
if (!SWIG_IsOK(res1)) {
15652
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextBuffer_EndNumberedBullet" "', expected argument " "1"" of type '" "wxRichTextBuffer *""'");
15654
arg1 = reinterpret_cast< wxRichTextBuffer * >(argp1);
15656
PyThreadState* __tstate = wxPyBeginAllowThreads();
15657
result = (bool)(arg1)->EndNumberedBullet();
15658
wxPyEndAllowThreads(__tstate);
15659
if (PyErr_Occurred()) SWIG_fail;
15662
resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15670
SWIGINTERN PyObject *_wrap_RichTextBuffer_BeginSymbolBullet(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15671
PyObject *resultobj = 0;
15672
wxRichTextBuffer *arg1 = (wxRichTextBuffer *) 0 ;
15673
wxString *arg2 = 0 ;
15676
int arg5 = (int) wxTEXT_ATTR_BULLET_STYLE_SYMBOL ;
15680
bool temp2 = false ;
15687
PyObject * obj0 = 0 ;
15688
PyObject * obj1 = 0 ;
15689
PyObject * obj2 = 0 ;
15690
PyObject * obj3 = 0 ;
15691
PyObject * obj4 = 0 ;
15692
char * kwnames[] = {
15693
(char *) "self",(char *) "symbol",(char *) "leftIndent",(char *) "leftSubIndent",(char *) "bulletStyle", NULL
15696
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|O:RichTextBuffer_BeginSymbolBullet",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
15697
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextBuffer, 0 | 0 );
15698
if (!SWIG_IsOK(res1)) {
15699
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextBuffer_BeginSymbolBullet" "', expected argument " "1"" of type '" "wxRichTextBuffer *""'");
15701
arg1 = reinterpret_cast< wxRichTextBuffer * >(argp1);
15703
arg2 = wxString_in_helper(obj1);
15704
if (arg2 == NULL) SWIG_fail;
15707
ecode3 = SWIG_AsVal_int(obj2, &val3);
15708
if (!SWIG_IsOK(ecode3)) {
15709
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "RichTextBuffer_BeginSymbolBullet" "', expected argument " "3"" of type '" "int""'");
15711
arg3 = static_cast< int >(val3);
15712
ecode4 = SWIG_AsVal_int(obj3, &val4);
15713
if (!SWIG_IsOK(ecode4)) {
15714
SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "RichTextBuffer_BeginSymbolBullet" "', expected argument " "4"" of type '" "int""'");
15716
arg4 = static_cast< int >(val4);
15718
ecode5 = SWIG_AsVal_int(obj4, &val5);
15719
if (!SWIG_IsOK(ecode5)) {
15720
SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "RichTextBuffer_BeginSymbolBullet" "', expected argument " "5"" of type '" "int""'");
15722
arg5 = static_cast< int >(val5);
15725
PyThreadState* __tstate = wxPyBeginAllowThreads();
15726
result = (bool)(arg1)->BeginSymbolBullet((wxString const &)*arg2,arg3,arg4,arg5);
15727
wxPyEndAllowThreads(__tstate);
15728
if (PyErr_Occurred()) SWIG_fail;
15731
resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15747
SWIGINTERN PyObject *_wrap_RichTextBuffer_EndSymbolBullet(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15748
PyObject *resultobj = 0;
15749
wxRichTextBuffer *arg1 = (wxRichTextBuffer *) 0 ;
15753
PyObject *swig_obj[1] ;
15755
if (!args) SWIG_fail;
15756
swig_obj[0] = args;
15757
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextBuffer, 0 | 0 );
15758
if (!SWIG_IsOK(res1)) {
15759
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextBuffer_EndSymbolBullet" "', expected argument " "1"" of type '" "wxRichTextBuffer *""'");
15761
arg1 = reinterpret_cast< wxRichTextBuffer * >(argp1);
15763
PyThreadState* __tstate = wxPyBeginAllowThreads();
15764
result = (bool)(arg1)->EndSymbolBullet();
15765
wxPyEndAllowThreads(__tstate);
15766
if (PyErr_Occurred()) SWIG_fail;
15769
resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15777
SWIGINTERN PyObject *_wrap_RichTextBuffer_BeginStandardBullet(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15778
PyObject *resultobj = 0;
15779
wxRichTextBuffer *arg1 = (wxRichTextBuffer *) 0 ;
15780
wxString *arg2 = 0 ;
15783
int arg5 = (int) wxTEXT_ATTR_BULLET_STYLE_STANDARD ;
15787
bool temp2 = false ;
15794
PyObject * obj0 = 0 ;
15795
PyObject * obj1 = 0 ;
15796
PyObject * obj2 = 0 ;
15797
PyObject * obj3 = 0 ;
15798
PyObject * obj4 = 0 ;
15799
char * kwnames[] = {
15800
(char *) "self",(char *) "bulletName",(char *) "leftIndent",(char *) "leftSubIndent",(char *) "bulletStyle", NULL
15803
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|O:RichTextBuffer_BeginStandardBullet",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
15804
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextBuffer, 0 | 0 );
15805
if (!SWIG_IsOK(res1)) {
15806
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextBuffer_BeginStandardBullet" "', expected argument " "1"" of type '" "wxRichTextBuffer *""'");
15808
arg1 = reinterpret_cast< wxRichTextBuffer * >(argp1);
15810
arg2 = wxString_in_helper(obj1);
15811
if (arg2 == NULL) SWIG_fail;
15814
ecode3 = SWIG_AsVal_int(obj2, &val3);
15815
if (!SWIG_IsOK(ecode3)) {
15816
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "RichTextBuffer_BeginStandardBullet" "', expected argument " "3"" of type '" "int""'");
15818
arg3 = static_cast< int >(val3);
15819
ecode4 = SWIG_AsVal_int(obj3, &val4);
15820
if (!SWIG_IsOK(ecode4)) {
15821
SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "RichTextBuffer_BeginStandardBullet" "', expected argument " "4"" of type '" "int""'");
15823
arg4 = static_cast< int >(val4);
15825
ecode5 = SWIG_AsVal_int(obj4, &val5);
15826
if (!SWIG_IsOK(ecode5)) {
15827
SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "RichTextBuffer_BeginStandardBullet" "', expected argument " "5"" of type '" "int""'");
15829
arg5 = static_cast< int >(val5);
15832
PyThreadState* __tstate = wxPyBeginAllowThreads();
15833
result = (bool)(arg1)->BeginStandardBullet((wxString const &)*arg2,arg3,arg4,arg5);
15834
wxPyEndAllowThreads(__tstate);
15835
if (PyErr_Occurred()) SWIG_fail;
15838
resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15854
SWIGINTERN PyObject *_wrap_RichTextBuffer_EndStandardBullet(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15855
PyObject *resultobj = 0;
15856
wxRichTextBuffer *arg1 = (wxRichTextBuffer *) 0 ;
15860
PyObject *swig_obj[1] ;
15862
if (!args) SWIG_fail;
15863
swig_obj[0] = args;
15864
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextBuffer, 0 | 0 );
15865
if (!SWIG_IsOK(res1)) {
15866
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextBuffer_EndStandardBullet" "', expected argument " "1"" of type '" "wxRichTextBuffer *""'");
15868
arg1 = reinterpret_cast< wxRichTextBuffer * >(argp1);
15870
PyThreadState* __tstate = wxPyBeginAllowThreads();
15871
result = (bool)(arg1)->EndStandardBullet();
15872
wxPyEndAllowThreads(__tstate);
15873
if (PyErr_Occurred()) SWIG_fail;
15876
resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15884
SWIGINTERN PyObject *_wrap_RichTextBuffer_BeginCharacterStyle(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15885
PyObject *resultobj = 0;
15886
wxRichTextBuffer *arg1 = (wxRichTextBuffer *) 0 ;
15887
wxString *arg2 = 0 ;
15891
bool temp2 = false ;
15892
PyObject * obj0 = 0 ;
15893
PyObject * obj1 = 0 ;
15894
char * kwnames[] = {
15895
(char *) "self",(char *) "characterStyle", NULL
15898
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RichTextBuffer_BeginCharacterStyle",kwnames,&obj0,&obj1)) SWIG_fail;
15899
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextBuffer, 0 | 0 );
15900
if (!SWIG_IsOK(res1)) {
15901
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextBuffer_BeginCharacterStyle" "', expected argument " "1"" of type '" "wxRichTextBuffer *""'");
15903
arg1 = reinterpret_cast< wxRichTextBuffer * >(argp1);
15905
arg2 = wxString_in_helper(obj1);
15906
if (arg2 == NULL) SWIG_fail;
15910
PyThreadState* __tstate = wxPyBeginAllowThreads();
15911
result = (bool)(arg1)->BeginCharacterStyle((wxString const &)*arg2);
15912
wxPyEndAllowThreads(__tstate);
15913
if (PyErr_Occurred()) SWIG_fail;
15916
resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15932
SWIGINTERN PyObject *_wrap_RichTextBuffer_EndCharacterStyle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15933
PyObject *resultobj = 0;
15934
wxRichTextBuffer *arg1 = (wxRichTextBuffer *) 0 ;
15938
PyObject *swig_obj[1] ;
15940
if (!args) SWIG_fail;
15941
swig_obj[0] = args;
15942
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextBuffer, 0 | 0 );
15943
if (!SWIG_IsOK(res1)) {
15944
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextBuffer_EndCharacterStyle" "', expected argument " "1"" of type '" "wxRichTextBuffer *""'");
15946
arg1 = reinterpret_cast< wxRichTextBuffer * >(argp1);
15948
PyThreadState* __tstate = wxPyBeginAllowThreads();
15949
result = (bool)(arg1)->EndCharacterStyle();
15950
wxPyEndAllowThreads(__tstate);
15951
if (PyErr_Occurred()) SWIG_fail;
15954
resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15962
SWIGINTERN PyObject *_wrap_RichTextBuffer_BeginParagraphStyle(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15963
PyObject *resultobj = 0;
15964
wxRichTextBuffer *arg1 = (wxRichTextBuffer *) 0 ;
15965
wxString *arg2 = 0 ;
15969
bool temp2 = false ;
15970
PyObject * obj0 = 0 ;
15971
PyObject * obj1 = 0 ;
15972
char * kwnames[] = {
15973
(char *) "self",(char *) "paragraphStyle", NULL
15976
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RichTextBuffer_BeginParagraphStyle",kwnames,&obj0,&obj1)) SWIG_fail;
15977
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextBuffer, 0 | 0 );
15978
if (!SWIG_IsOK(res1)) {
15979
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextBuffer_BeginParagraphStyle" "', expected argument " "1"" of type '" "wxRichTextBuffer *""'");
15981
arg1 = reinterpret_cast< wxRichTextBuffer * >(argp1);
15983
arg2 = wxString_in_helper(obj1);
15984
if (arg2 == NULL) SWIG_fail;
15988
PyThreadState* __tstate = wxPyBeginAllowThreads();
15989
result = (bool)(arg1)->BeginParagraphStyle((wxString const &)*arg2);
15990
wxPyEndAllowThreads(__tstate);
15991
if (PyErr_Occurred()) SWIG_fail;
15994
resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16010
SWIGINTERN PyObject *_wrap_RichTextBuffer_EndParagraphStyle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16011
PyObject *resultobj = 0;
16012
wxRichTextBuffer *arg1 = (wxRichTextBuffer *) 0 ;
16016
PyObject *swig_obj[1] ;
16018
if (!args) SWIG_fail;
16019
swig_obj[0] = args;
16020
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextBuffer, 0 | 0 );
16021
if (!SWIG_IsOK(res1)) {
16022
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextBuffer_EndParagraphStyle" "', expected argument " "1"" of type '" "wxRichTextBuffer *""'");
16024
arg1 = reinterpret_cast< wxRichTextBuffer * >(argp1);
16026
PyThreadState* __tstate = wxPyBeginAllowThreads();
16027
result = (bool)(arg1)->EndParagraphStyle();
16028
wxPyEndAllowThreads(__tstate);
16029
if (PyErr_Occurred()) SWIG_fail;
16032
resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16040
SWIGINTERN PyObject *_wrap_RichTextBuffer_BeginListStyle(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16041
PyObject *resultobj = 0;
16042
wxRichTextBuffer *arg1 = (wxRichTextBuffer *) 0 ;
16043
wxString *arg2 = 0 ;
16044
int arg3 = (int) 1 ;
16045
int arg4 = (int) 1 ;
16049
bool temp2 = false ;
16054
PyObject * obj0 = 0 ;
16055
PyObject * obj1 = 0 ;
16056
PyObject * obj2 = 0 ;
16057
PyObject * obj3 = 0 ;
16058
char * kwnames[] = {
16059
(char *) "self",(char *) "listStyle",(char *) "level",(char *) "number", NULL
16062
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:RichTextBuffer_BeginListStyle",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
16063
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextBuffer, 0 | 0 );
16064
if (!SWIG_IsOK(res1)) {
16065
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextBuffer_BeginListStyle" "', expected argument " "1"" of type '" "wxRichTextBuffer *""'");
16067
arg1 = reinterpret_cast< wxRichTextBuffer * >(argp1);
16069
arg2 = wxString_in_helper(obj1);
16070
if (arg2 == NULL) SWIG_fail;
16074
ecode3 = SWIG_AsVal_int(obj2, &val3);
16075
if (!SWIG_IsOK(ecode3)) {
16076
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "RichTextBuffer_BeginListStyle" "', expected argument " "3"" of type '" "int""'");
16078
arg3 = static_cast< int >(val3);
16081
ecode4 = SWIG_AsVal_int(obj3, &val4);
16082
if (!SWIG_IsOK(ecode4)) {
16083
SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "RichTextBuffer_BeginListStyle" "', expected argument " "4"" of type '" "int""'");
16085
arg4 = static_cast< int >(val4);
16088
PyThreadState* __tstate = wxPyBeginAllowThreads();
16089
result = (bool)(arg1)->BeginListStyle((wxString const &)*arg2,arg3,arg4);
16090
wxPyEndAllowThreads(__tstate);
16091
if (PyErr_Occurred()) SWIG_fail;
16094
resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16110
SWIGINTERN PyObject *_wrap_RichTextBuffer_EndListStyle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16111
PyObject *resultobj = 0;
16112
wxRichTextBuffer *arg1 = (wxRichTextBuffer *) 0 ;
16116
PyObject *swig_obj[1] ;
16118
if (!args) SWIG_fail;
16119
swig_obj[0] = args;
16120
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextBuffer, 0 | 0 );
16121
if (!SWIG_IsOK(res1)) {
16122
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextBuffer_EndListStyle" "', expected argument " "1"" of type '" "wxRichTextBuffer *""'");
16124
arg1 = reinterpret_cast< wxRichTextBuffer * >(argp1);
16126
PyThreadState* __tstate = wxPyBeginAllowThreads();
16127
result = (bool)(arg1)->EndListStyle();
16128
wxPyEndAllowThreads(__tstate);
16129
if (PyErr_Occurred()) SWIG_fail;
16132
resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16140
SWIGINTERN PyObject *_wrap_RichTextBuffer_BeginURL(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16141
PyObject *resultobj = 0;
16142
wxRichTextBuffer *arg1 = (wxRichTextBuffer *) 0 ;
16143
wxString *arg2 = 0 ;
16144
wxString const &arg3_defvalue = wxEmptyString ;
16145
wxString *arg3 = (wxString *) &arg3_defvalue ;
16149
bool temp2 = false ;
16150
bool temp3 = false ;
16151
PyObject * obj0 = 0 ;
16152
PyObject * obj1 = 0 ;
16153
PyObject * obj2 = 0 ;
16154
char * kwnames[] = {
16155
(char *) "self",(char *) "url",(char *) "characterStyle", NULL
16158
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:RichTextBuffer_BeginURL",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
16159
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextBuffer, 0 | 0 );
16160
if (!SWIG_IsOK(res1)) {
16161
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextBuffer_BeginURL" "', expected argument " "1"" of type '" "wxRichTextBuffer *""'");
16163
arg1 = reinterpret_cast< wxRichTextBuffer * >(argp1);
16165
arg2 = wxString_in_helper(obj1);
16166
if (arg2 == NULL) SWIG_fail;
16171
arg3 = wxString_in_helper(obj2);
16172
if (arg3 == NULL) SWIG_fail;
16177
PyThreadState* __tstate = wxPyBeginAllowThreads();
16178
result = (bool)(arg1)->BeginURL((wxString const &)*arg2,(wxString const &)*arg3);
16179
wxPyEndAllowThreads(__tstate);
16180
if (PyErr_Occurred()) SWIG_fail;
16183
resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16207
SWIGINTERN PyObject *_wrap_RichTextBuffer_EndURL(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16208
PyObject *resultobj = 0;
16209
wxRichTextBuffer *arg1 = (wxRichTextBuffer *) 0 ;
16213
PyObject *swig_obj[1] ;
16215
if (!args) SWIG_fail;
16216
swig_obj[0] = args;
16217
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextBuffer, 0 | 0 );
16218
if (!SWIG_IsOK(res1)) {
16219
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextBuffer_EndURL" "', expected argument " "1"" of type '" "wxRichTextBuffer *""'");
16221
arg1 = reinterpret_cast< wxRichTextBuffer * >(argp1);
16223
PyThreadState* __tstate = wxPyBeginAllowThreads();
16224
result = (bool)(arg1)->EndURL();
16225
wxPyEndAllowThreads(__tstate);
16226
if (PyErr_Occurred()) SWIG_fail;
16229
resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16237
SWIGINTERN PyObject *_wrap_RichTextBuffer_AddEventHandler(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16238
PyObject *resultobj = 0;
16239
wxRichTextBuffer *arg1 = (wxRichTextBuffer *) 0 ;
16240
wxEvtHandler *arg2 = (wxEvtHandler *) 0 ;
16246
PyObject * obj0 = 0 ;
16247
PyObject * obj1 = 0 ;
16248
char * kwnames[] = {
16249
(char *) "self",(char *) "handler", NULL
16252
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RichTextBuffer_AddEventHandler",kwnames,&obj0,&obj1)) SWIG_fail;
16253
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextBuffer, 0 | 0 );
16254
if (!SWIG_IsOK(res1)) {
16255
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextBuffer_AddEventHandler" "', expected argument " "1"" of type '" "wxRichTextBuffer *""'");
16257
arg1 = reinterpret_cast< wxRichTextBuffer * >(argp1);
16258
res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxEvtHandler, 0 | 0 );
16259
if (!SWIG_IsOK(res2)) {
16260
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "RichTextBuffer_AddEventHandler" "', expected argument " "2"" of type '" "wxEvtHandler *""'");
16262
arg2 = reinterpret_cast< wxEvtHandler * >(argp2);
16264
PyThreadState* __tstate = wxPyBeginAllowThreads();
16265
result = (bool)(arg1)->AddEventHandler(arg2);
16266
wxPyEndAllowThreads(__tstate);
16267
if (PyErr_Occurred()) SWIG_fail;
16270
resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16278
SWIGINTERN PyObject *_wrap_RichTextBuffer_RemoveEventHandler(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16279
PyObject *resultobj = 0;
16280
wxRichTextBuffer *arg1 = (wxRichTextBuffer *) 0 ;
16281
wxEvtHandler *arg2 = (wxEvtHandler *) 0 ;
16282
bool arg3 = (bool) false ;
16290
PyObject * obj0 = 0 ;
16291
PyObject * obj1 = 0 ;
16292
PyObject * obj2 = 0 ;
16293
char * kwnames[] = {
16294
(char *) "self",(char *) "handler",(char *) "deleteHandler", NULL
16297
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:RichTextBuffer_RemoveEventHandler",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
16298
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextBuffer, 0 | 0 );
16299
if (!SWIG_IsOK(res1)) {
16300
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextBuffer_RemoveEventHandler" "', expected argument " "1"" of type '" "wxRichTextBuffer *""'");
16302
arg1 = reinterpret_cast< wxRichTextBuffer * >(argp1);
16303
res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxEvtHandler, 0 | 0 );
16304
if (!SWIG_IsOK(res2)) {
16305
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "RichTextBuffer_RemoveEventHandler" "', expected argument " "2"" of type '" "wxEvtHandler *""'");
16307
arg2 = reinterpret_cast< wxEvtHandler * >(argp2);
16309
ecode3 = SWIG_AsVal_bool(obj2, &val3);
16310
if (!SWIG_IsOK(ecode3)) {
16311
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "RichTextBuffer_RemoveEventHandler" "', expected argument " "3"" of type '" "bool""'");
16313
arg3 = static_cast< bool >(val3);
16316
PyThreadState* __tstate = wxPyBeginAllowThreads();
16317
result = (bool)(arg1)->RemoveEventHandler(arg2,arg3);
16318
wxPyEndAllowThreads(__tstate);
16319
if (PyErr_Occurred()) SWIG_fail;
16322
resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16330
SWIGINTERN PyObject *_wrap_RichTextBuffer_ClearEventHandlers(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16331
PyObject *resultobj = 0;
16332
wxRichTextBuffer *arg1 = (wxRichTextBuffer *) 0 ;
16335
PyObject *swig_obj[1] ;
16337
if (!args) SWIG_fail;
16338
swig_obj[0] = args;
16339
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextBuffer, 0 | 0 );
16340
if (!SWIG_IsOK(res1)) {
16341
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextBuffer_ClearEventHandlers" "', expected argument " "1"" of type '" "wxRichTextBuffer *""'");
16343
arg1 = reinterpret_cast< wxRichTextBuffer * >(argp1);
16345
PyThreadState* __tstate = wxPyBeginAllowThreads();
16346
(arg1)->ClearEventHandlers();
16347
wxPyEndAllowThreads(__tstate);
16348
if (PyErr_Occurred()) SWIG_fail;
16350
resultobj = SWIG_Py_Void();
16357
SWIGINTERN PyObject *_wrap_RichTextBuffer_SendEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16358
PyObject *resultobj = 0;
16359
wxRichTextBuffer *arg1 = (wxRichTextBuffer *) 0 ;
16360
wxEvent *arg2 = 0 ;
16361
bool arg3 = (bool) true ;
16369
PyObject * obj0 = 0 ;
16370
PyObject * obj1 = 0 ;
16371
PyObject * obj2 = 0 ;
16372
char * kwnames[] = {
16373
(char *) "self",(char *) "event",(char *) "sendToAll", NULL
16376
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:RichTextBuffer_SendEvent",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
16377
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextBuffer, 0 | 0 );
16378
if (!SWIG_IsOK(res1)) {
16379
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextBuffer_SendEvent" "', expected argument " "1"" of type '" "wxRichTextBuffer *""'");
16381
arg1 = reinterpret_cast< wxRichTextBuffer * >(argp1);
16382
res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxEvent, 0 );
16383
if (!SWIG_IsOK(res2)) {
16384
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "RichTextBuffer_SendEvent" "', expected argument " "2"" of type '" "wxEvent &""'");
16387
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "RichTextBuffer_SendEvent" "', expected argument " "2"" of type '" "wxEvent &""'");
16389
arg2 = reinterpret_cast< wxEvent * >(argp2);
16391
ecode3 = SWIG_AsVal_bool(obj2, &val3);
16392
if (!SWIG_IsOK(ecode3)) {
16393
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "RichTextBuffer_SendEvent" "', expected argument " "3"" of type '" "bool""'");
16395
arg3 = static_cast< bool >(val3);
16398
PyThreadState* __tstate = wxPyBeginAllowThreads();
16399
result = (bool)(arg1)->SendEvent(*arg2,arg3);
16400
wxPyEndAllowThreads(__tstate);
16401
if (PyErr_Occurred()) SWIG_fail;
16404
resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16412
SWIGINTERN PyObject *_wrap_RichTextBuffer_Copy(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16413
PyObject *resultobj = 0;
16414
wxRichTextBuffer *arg1 = (wxRichTextBuffer *) 0 ;
16415
wxRichTextBuffer *arg2 = 0 ;
16420
PyObject * obj0 = 0 ;
16421
PyObject * obj1 = 0 ;
16422
char * kwnames[] = {
16423
(char *) "self",(char *) "obj", NULL
16426
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RichTextBuffer_Copy",kwnames,&obj0,&obj1)) SWIG_fail;
16427
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextBuffer, 0 | 0 );
16428
if (!SWIG_IsOK(res1)) {
16429
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextBuffer_Copy" "', expected argument " "1"" of type '" "wxRichTextBuffer *""'");
16431
arg1 = reinterpret_cast< wxRichTextBuffer * >(argp1);
16432
res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxRichTextBuffer, 0 | 0);
16433
if (!SWIG_IsOK(res2)) {
16434
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "RichTextBuffer_Copy" "', expected argument " "2"" of type '" "wxRichTextBuffer const &""'");
16437
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "RichTextBuffer_Copy" "', expected argument " "2"" of type '" "wxRichTextBuffer const &""'");
16439
arg2 = reinterpret_cast< wxRichTextBuffer * >(argp2);
16441
PyThreadState* __tstate = wxPyBeginAllowThreads();
16442
(arg1)->Copy((wxRichTextBuffer const &)*arg2);
16443
wxPyEndAllowThreads(__tstate);
16444
if (PyErr_Occurred()) SWIG_fail;
16446
resultobj = SWIG_Py_Void();
16453
SWIGINTERN PyObject *_wrap_RichTextBuffer_InsertParagraphsWithUndo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16454
PyObject *resultobj = 0;
16455
wxRichTextBuffer *arg1 = (wxRichTextBuffer *) 0 ;
16457
wxRichTextParagraphLayoutBox *arg3 = 0 ;
16458
wxRichTextCtrl *arg4 = (wxRichTextCtrl *) 0 ;
16459
int arg5 = (int) 0 ;
16471
PyObject * obj0 = 0 ;
16472
PyObject * obj1 = 0 ;
16473
PyObject * obj2 = 0 ;
16474
PyObject * obj3 = 0 ;
16475
PyObject * obj4 = 0 ;
16476
char * kwnames[] = {
16477
(char *) "self",(char *) "pos",(char *) "paragraphs",(char *) "ctrl",(char *) "flags", NULL
16480
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|O:RichTextBuffer_InsertParagraphsWithUndo",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
16481
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextBuffer, 0 | 0 );
16482
if (!SWIG_IsOK(res1)) {
16483
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextBuffer_InsertParagraphsWithUndo" "', expected argument " "1"" of type '" "wxRichTextBuffer *""'");
16485
arg1 = reinterpret_cast< wxRichTextBuffer * >(argp1);
16486
ecode2 = SWIG_AsVal_long(obj1, &val2);
16487
if (!SWIG_IsOK(ecode2)) {
16488
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RichTextBuffer_InsertParagraphsWithUndo" "', expected argument " "2"" of type '" "long""'");
16490
arg2 = static_cast< long >(val2);
16491
res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxRichTextParagraphLayoutBox, 0 | 0);
16492
if (!SWIG_IsOK(res3)) {
16493
SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "RichTextBuffer_InsertParagraphsWithUndo" "', expected argument " "3"" of type '" "wxRichTextParagraphLayoutBox const &""'");
16496
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "RichTextBuffer_InsertParagraphsWithUndo" "', expected argument " "3"" of type '" "wxRichTextParagraphLayoutBox const &""'");
16498
arg3 = reinterpret_cast< wxRichTextParagraphLayoutBox * >(argp3);
16499
res4 = SWIG_ConvertPtr(obj3, &argp4,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 );
16500
if (!SWIG_IsOK(res4)) {
16501
SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "RichTextBuffer_InsertParagraphsWithUndo" "', expected argument " "4"" of type '" "wxRichTextCtrl *""'");
16503
arg4 = reinterpret_cast< wxRichTextCtrl * >(argp4);
16505
ecode5 = SWIG_AsVal_int(obj4, &val5);
16506
if (!SWIG_IsOK(ecode5)) {
16507
SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "RichTextBuffer_InsertParagraphsWithUndo" "', expected argument " "5"" of type '" "int""'");
16509
arg5 = static_cast< int >(val5);
16512
PyThreadState* __tstate = wxPyBeginAllowThreads();
16513
result = (bool)(arg1)->InsertParagraphsWithUndo(arg2,(wxRichTextParagraphLayoutBox const &)*arg3,arg4,arg5);
16514
wxPyEndAllowThreads(__tstate);
16515
if (PyErr_Occurred()) SWIG_fail;
16518
resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16526
SWIGINTERN PyObject *_wrap_RichTextBuffer_InsertTextWithUndo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16527
PyObject *resultobj = 0;
16528
wxRichTextBuffer *arg1 = (wxRichTextBuffer *) 0 ;
16530
wxString *arg3 = 0 ;
16531
wxRichTextCtrl *arg4 = (wxRichTextCtrl *) 0 ;
16532
int arg5 = (int) 0 ;
16538
bool temp3 = false ;
16543
PyObject * obj0 = 0 ;
16544
PyObject * obj1 = 0 ;
16545
PyObject * obj2 = 0 ;
16546
PyObject * obj3 = 0 ;
16547
PyObject * obj4 = 0 ;
16548
char * kwnames[] = {
16549
(char *) "self",(char *) "pos",(char *) "text",(char *) "ctrl",(char *) "flags", NULL
16552
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|O:RichTextBuffer_InsertTextWithUndo",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
16553
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextBuffer, 0 | 0 );
16554
if (!SWIG_IsOK(res1)) {
16555
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextBuffer_InsertTextWithUndo" "', expected argument " "1"" of type '" "wxRichTextBuffer *""'");
16557
arg1 = reinterpret_cast< wxRichTextBuffer * >(argp1);
16558
ecode2 = SWIG_AsVal_long(obj1, &val2);
16559
if (!SWIG_IsOK(ecode2)) {
16560
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RichTextBuffer_InsertTextWithUndo" "', expected argument " "2"" of type '" "long""'");
16562
arg2 = static_cast< long >(val2);
16564
arg3 = wxString_in_helper(obj2);
16565
if (arg3 == NULL) SWIG_fail;
16568
res4 = SWIG_ConvertPtr(obj3, &argp4,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 );
16569
if (!SWIG_IsOK(res4)) {
16570
SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "RichTextBuffer_InsertTextWithUndo" "', expected argument " "4"" of type '" "wxRichTextCtrl *""'");
16572
arg4 = reinterpret_cast< wxRichTextCtrl * >(argp4);
16574
ecode5 = SWIG_AsVal_int(obj4, &val5);
16575
if (!SWIG_IsOK(ecode5)) {
16576
SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "RichTextBuffer_InsertTextWithUndo" "', expected argument " "5"" of type '" "int""'");
16578
arg5 = static_cast< int >(val5);
16581
PyThreadState* __tstate = wxPyBeginAllowThreads();
16582
result = (bool)(arg1)->InsertTextWithUndo(arg2,(wxString const &)*arg3,arg4,arg5);
16583
wxPyEndAllowThreads(__tstate);
16584
if (PyErr_Occurred()) SWIG_fail;
16587
resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16603
SWIGINTERN PyObject *_wrap_RichTextBuffer_InsertNewlineWithUndo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16604
PyObject *resultobj = 0;
16605
wxRichTextBuffer *arg1 = (wxRichTextBuffer *) 0 ;
16607
wxRichTextCtrl *arg3 = (wxRichTextCtrl *) 0 ;
16608
int arg4 = (int) 0 ;
16618
PyObject * obj0 = 0 ;
16619
PyObject * obj1 = 0 ;
16620
PyObject * obj2 = 0 ;
16621
PyObject * obj3 = 0 ;
16622
char * kwnames[] = {
16623
(char *) "self",(char *) "pos",(char *) "ctrl",(char *) "flags", NULL
16626
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:RichTextBuffer_InsertNewlineWithUndo",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
16627
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextBuffer, 0 | 0 );
16628
if (!SWIG_IsOK(res1)) {
16629
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextBuffer_InsertNewlineWithUndo" "', expected argument " "1"" of type '" "wxRichTextBuffer *""'");
16631
arg1 = reinterpret_cast< wxRichTextBuffer * >(argp1);
16632
ecode2 = SWIG_AsVal_long(obj1, &val2);
16633
if (!SWIG_IsOK(ecode2)) {
16634
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RichTextBuffer_InsertNewlineWithUndo" "', expected argument " "2"" of type '" "long""'");
16636
arg2 = static_cast< long >(val2);
16637
res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 );
16638
if (!SWIG_IsOK(res3)) {
16639
SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "RichTextBuffer_InsertNewlineWithUndo" "', expected argument " "3"" of type '" "wxRichTextCtrl *""'");
16641
arg3 = reinterpret_cast< wxRichTextCtrl * >(argp3);
16643
ecode4 = SWIG_AsVal_int(obj3, &val4);
16644
if (!SWIG_IsOK(ecode4)) {
16645
SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "RichTextBuffer_InsertNewlineWithUndo" "', expected argument " "4"" of type '" "int""'");
16647
arg4 = static_cast< int >(val4);
16650
PyThreadState* __tstate = wxPyBeginAllowThreads();
16651
result = (bool)(arg1)->InsertNewlineWithUndo(arg2,arg3,arg4);
16652
wxPyEndAllowThreads(__tstate);
16653
if (PyErr_Occurred()) SWIG_fail;
16656
resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16664
SWIGINTERN PyObject *_wrap_RichTextBuffer_InsertImageWithUndo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16665
PyObject *resultobj = 0;
16666
wxRichTextBuffer *arg1 = (wxRichTextBuffer *) 0 ;
16668
wxRichTextImageBlock *arg3 = 0 ;
16669
wxRichTextCtrl *arg4 = (wxRichTextCtrl *) 0 ;
16670
int arg5 = (int) 0 ;
16682
PyObject * obj0 = 0 ;
16683
PyObject * obj1 = 0 ;
16684
PyObject * obj2 = 0 ;
16685
PyObject * obj3 = 0 ;
16686
PyObject * obj4 = 0 ;
16687
char * kwnames[] = {
16688
(char *) "self",(char *) "pos",(char *) "imageBlock",(char *) "ctrl",(char *) "flags", NULL
16691
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|O:RichTextBuffer_InsertImageWithUndo",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
16692
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextBuffer, 0 | 0 );
16693
if (!SWIG_IsOK(res1)) {
16694
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextBuffer_InsertImageWithUndo" "', expected argument " "1"" of type '" "wxRichTextBuffer *""'");
16696
arg1 = reinterpret_cast< wxRichTextBuffer * >(argp1);
16697
ecode2 = SWIG_AsVal_long(obj1, &val2);
16698
if (!SWIG_IsOK(ecode2)) {
16699
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RichTextBuffer_InsertImageWithUndo" "', expected argument " "2"" of type '" "long""'");
16701
arg2 = static_cast< long >(val2);
16702
res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxRichTextImageBlock, 0 | 0);
16703
if (!SWIG_IsOK(res3)) {
16704
SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "RichTextBuffer_InsertImageWithUndo" "', expected argument " "3"" of type '" "wxRichTextImageBlock const &""'");
16707
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "RichTextBuffer_InsertImageWithUndo" "', expected argument " "3"" of type '" "wxRichTextImageBlock const &""'");
16709
arg3 = reinterpret_cast< wxRichTextImageBlock * >(argp3);
16710
res4 = SWIG_ConvertPtr(obj3, &argp4,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 );
16711
if (!SWIG_IsOK(res4)) {
16712
SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "RichTextBuffer_InsertImageWithUndo" "', expected argument " "4"" of type '" "wxRichTextCtrl *""'");
16714
arg4 = reinterpret_cast< wxRichTextCtrl * >(argp4);
16716
ecode5 = SWIG_AsVal_int(obj4, &val5);
16717
if (!SWIG_IsOK(ecode5)) {
16718
SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "RichTextBuffer_InsertImageWithUndo" "', expected argument " "5"" of type '" "int""'");
16720
arg5 = static_cast< int >(val5);
16723
PyThreadState* __tstate = wxPyBeginAllowThreads();
16724
result = (bool)(arg1)->InsertImageWithUndo(arg2,(wxRichTextImageBlock const &)*arg3,arg4,arg5);
16725
wxPyEndAllowThreads(__tstate);
16726
if (PyErr_Occurred()) SWIG_fail;
16729
resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16737
SWIGINTERN PyObject *_wrap_RichTextBuffer_DeleteRangeWithUndo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16738
PyObject *resultobj = 0;
16739
wxRichTextBuffer *arg1 = (wxRichTextBuffer *) 0 ;
16740
wxRichTextRange *arg2 = 0 ;
16741
wxRichTextCtrl *arg3 = (wxRichTextCtrl *) 0 ;
16745
wxRichTextRange temp2 ;
16748
PyObject * obj0 = 0 ;
16749
PyObject * obj1 = 0 ;
16750
PyObject * obj2 = 0 ;
16751
char * kwnames[] = {
16752
(char *) "self",(char *) "range",(char *) "ctrl", NULL
16755
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:RichTextBuffer_DeleteRangeWithUndo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
16756
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextBuffer, 0 | 0 );
16757
if (!SWIG_IsOK(res1)) {
16758
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextBuffer_DeleteRangeWithUndo" "', expected argument " "1"" of type '" "wxRichTextBuffer *""'");
16760
arg1 = reinterpret_cast< wxRichTextBuffer * >(argp1);
16763
if ( ! wxRichTextRange_helper(obj1, &arg2)) SWIG_fail;
16765
res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxRichTextCtrl, 0 | 0 );
16766
if (!SWIG_IsOK(res3)) {
16767
SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "RichTextBuffer_DeleteRangeWithUndo" "', expected argument " "3"" of type '" "wxRichTextCtrl *""'");
16769
arg3 = reinterpret_cast< wxRichTextCtrl * >(argp3);
16771
PyThreadState* __tstate = wxPyBeginAllowThreads();
16772
result = (bool)(arg1)->DeleteRangeWithUndo((wxRichTextRange const &)*arg2,arg3);
16773
wxPyEndAllowThreads(__tstate);
16774
if (PyErr_Occurred()) SWIG_fail;
16777
resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16785
SWIGINTERN PyObject *_wrap_RichTextBuffer_Modify(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16786
PyObject *resultobj = 0;
16787
wxRichTextBuffer *arg1 = (wxRichTextBuffer *) 0 ;
16788
bool arg2 = (bool) true ;
16793
PyObject * obj0 = 0 ;
16794
PyObject * obj1 = 0 ;
16795
char * kwnames[] = {
16796
(char *) "self",(char *) "modify", NULL
16799
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:RichTextBuffer_Modify",kwnames,&obj0,&obj1)) SWIG_fail;
16800
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextBuffer, 0 | 0 );
16801
if (!SWIG_IsOK(res1)) {
16802
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextBuffer_Modify" "', expected argument " "1"" of type '" "wxRichTextBuffer *""'");
16804
arg1 = reinterpret_cast< wxRichTextBuffer * >(argp1);
16806
ecode2 = SWIG_AsVal_bool(obj1, &val2);
16807
if (!SWIG_IsOK(ecode2)) {
16808
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RichTextBuffer_Modify" "', expected argument " "2"" of type '" "bool""'");
16810
arg2 = static_cast< bool >(val2);
16813
PyThreadState* __tstate = wxPyBeginAllowThreads();
16814
(arg1)->Modify(arg2);
16815
wxPyEndAllowThreads(__tstate);
16816
if (PyErr_Occurred()) SWIG_fail;
16818
resultobj = SWIG_Py_Void();
16825
SWIGINTERN PyObject *_wrap_RichTextBuffer_IsModified(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16826
PyObject *resultobj = 0;
16827
wxRichTextBuffer *arg1 = (wxRichTextBuffer *) 0 ;
16831
PyObject *swig_obj[1] ;
16833
if (!args) SWIG_fail;
16834
swig_obj[0] = args;
16835
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextBuffer, 0 | 0 );
16836
if (!SWIG_IsOK(res1)) {
16837
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextBuffer_IsModified" "', expected argument " "1"" of type '" "wxRichTextBuffer const *""'");
16839
arg1 = reinterpret_cast< wxRichTextBuffer * >(argp1);
16841
PyThreadState* __tstate = wxPyBeginAllowThreads();
16842
result = (bool)((wxRichTextBuffer const *)arg1)->IsModified();
16843
wxPyEndAllowThreads(__tstate);
16844
if (PyErr_Occurred()) SWIG_fail;
16847
resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16855
SWIGINTERN PyObject *_wrap_RichTextBuffer_GetStyleForNewParagraph(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16856
PyObject *resultobj = 0;
16857
wxRichTextBuffer *arg1 = (wxRichTextBuffer *) 0 ;
16859
bool arg3 = (bool) false ;
16860
bool arg4 = (bool) false ;
16861
wxTextAttrEx result;
16870
PyObject * obj0 = 0 ;
16871
PyObject * obj1 = 0 ;
16872
PyObject * obj2 = 0 ;
16873
PyObject * obj3 = 0 ;
16874
char * kwnames[] = {
16875
(char *) "self",(char *) "pos",(char *) "caretPosition",(char *) "lookUpNewParaStyle", NULL
16878
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:RichTextBuffer_GetStyleForNewParagraph",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
16879
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextBuffer, 0 | 0 );
16880
if (!SWIG_IsOK(res1)) {
16881
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextBuffer_GetStyleForNewParagraph" "', expected argument " "1"" of type '" "wxRichTextBuffer const *""'");
16883
arg1 = reinterpret_cast< wxRichTextBuffer * >(argp1);
16884
ecode2 = SWIG_AsVal_long(obj1, &val2);
16885
if (!SWIG_IsOK(ecode2)) {
16886
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RichTextBuffer_GetStyleForNewParagraph" "', expected argument " "2"" of type '" "long""'");
16888
arg2 = static_cast< long >(val2);
16890
ecode3 = SWIG_AsVal_bool(obj2, &val3);
16891
if (!SWIG_IsOK(ecode3)) {
16892
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "RichTextBuffer_GetStyleForNewParagraph" "', expected argument " "3"" of type '" "bool""'");
16894
arg3 = static_cast< bool >(val3);
16897
ecode4 = SWIG_AsVal_bool(obj3, &val4);
16898
if (!SWIG_IsOK(ecode4)) {
16899
SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "RichTextBuffer_GetStyleForNewParagraph" "', expected argument " "4"" of type '" "bool""'");
16901
arg4 = static_cast< bool >(val4);
16904
PyThreadState* __tstate = wxPyBeginAllowThreads();
16905
result = ((wxRichTextBuffer const *)arg1)->GetStyleForNewParagraph(arg2,arg3,arg4);
16906
wxPyEndAllowThreads(__tstate);
16907
if (PyErr_Occurred()) SWIG_fail;
16909
resultobj = SWIG_NewPointerObj((new wxTextAttrEx(static_cast< const wxTextAttrEx& >(result))), SWIGTYPE_p_wxTextAttrEx, SWIG_POINTER_OWN | 0 );
16916
SWIGINTERN PyObject *_wrap_RichTextBuffer_GetHandlers(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16917
PyObject *resultobj = 0;
16918
wxRichTextFileHandlerList_t *result = 0 ;
16920
if (!SWIG_Python_UnpackTuple(args,"RichTextBuffer_GetHandlers",0,0,0)) SWIG_fail;
16922
PyThreadState* __tstate = wxPyBeginAllowThreads();
16924
wxRichTextFileHandlerList_t &_result_ref = wxRichTextBuffer::GetHandlers();
16925
result = (wxRichTextFileHandlerList_t *) &_result_ref;
16927
wxPyEndAllowThreads(__tstate);
16928
if (PyErr_Occurred()) SWIG_fail;
16931
wxRichTextFileHandlerList* mylist = new wxRichTextFileHandlerList(result);
16932
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(mylist), SWIGTYPE_p_wxRichTextFileHandlerList, SWIG_POINTER_OWN );
16940
SWIGINTERN PyObject *_wrap_RichTextBuffer_AddHandler(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16941
PyObject *resultobj = 0;
16942
wxRichTextFileHandler *arg1 = (wxRichTextFileHandler *) 0 ;
16944
PyObject * obj0 = 0 ;
16945
char * kwnames[] = {
16946
(char *) "handler", NULL
16949
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RichTextBuffer_AddHandler",kwnames,&obj0)) SWIG_fail;
16950
res1 = SWIG_ConvertPtr(obj0, SWIG_as_voidptrptr(&arg1), SWIGTYPE_p_wxRichTextFileHandler, SWIG_POINTER_DISOWN | 0 );
16951
if (!SWIG_IsOK(res1)) {
16952
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextBuffer_AddHandler" "', expected argument " "1"" of type '" "wxRichTextFileHandler *""'");
16955
PyThreadState* __tstate = wxPyBeginAllowThreads();
16956
wxRichTextBuffer::AddHandler(arg1);
16957
wxPyEndAllowThreads(__tstate);
16958
if (PyErr_Occurred()) SWIG_fail;
16960
resultobj = SWIG_Py_Void();
16967
SWIGINTERN PyObject *_wrap_RichTextBuffer_InsertHandler(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16968
PyObject *resultobj = 0;
16969
wxRichTextFileHandler *arg1 = (wxRichTextFileHandler *) 0 ;
16971
PyObject * obj0 = 0 ;
16972
char * kwnames[] = {
16973
(char *) "handler", NULL
16976
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RichTextBuffer_InsertHandler",kwnames,&obj0)) SWIG_fail;
16977
res1 = SWIG_ConvertPtr(obj0, SWIG_as_voidptrptr(&arg1), SWIGTYPE_p_wxRichTextFileHandler, SWIG_POINTER_DISOWN | 0 );
16978
if (!SWIG_IsOK(res1)) {
16979
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextBuffer_InsertHandler" "', expected argument " "1"" of type '" "wxRichTextFileHandler *""'");
16982
PyThreadState* __tstate = wxPyBeginAllowThreads();
16983
wxRichTextBuffer::InsertHandler(arg1);
16984
wxPyEndAllowThreads(__tstate);
16985
if (PyErr_Occurred()) SWIG_fail;
16987
resultobj = SWIG_Py_Void();
16994
SWIGINTERN PyObject *_wrap_RichTextBuffer_RemoveHandler(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16995
PyObject *resultobj = 0;
16996
wxString *arg1 = 0 ;
16998
bool temp1 = false ;
16999
PyObject * obj0 = 0 ;
17000
char * kwnames[] = {
17001
(char *) "name", NULL
17004
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RichTextBuffer_RemoveHandler",kwnames,&obj0)) SWIG_fail;
17006
arg1 = wxString_in_helper(obj0);
17007
if (arg1 == NULL) SWIG_fail;
17011
PyThreadState* __tstate = wxPyBeginAllowThreads();
17012
result = (bool)wxRichTextBuffer::RemoveHandler((wxString const &)*arg1);
17013
wxPyEndAllowThreads(__tstate);
17014
if (PyErr_Occurred()) SWIG_fail;
17017
resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17033
SWIGINTERN PyObject *_wrap_RichTextBuffer_FindHandlerByName(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17034
PyObject *resultobj = 0;
17035
wxString *arg1 = 0 ;
17036
wxRichTextFileHandler *result = 0 ;
17037
bool temp1 = false ;
17038
PyObject * obj0 = 0 ;
17039
char * kwnames[] = {
17040
(char *) "name", NULL
17043
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RichTextBuffer_FindHandlerByName",kwnames,&obj0)) SWIG_fail;
17045
arg1 = wxString_in_helper(obj0);
17046
if (arg1 == NULL) SWIG_fail;
17050
PyThreadState* __tstate = wxPyBeginAllowThreads();
17051
result = (wxRichTextFileHandler *)wxRichTextBuffer::FindHandler((wxString const &)*arg1);
17052
wxPyEndAllowThreads(__tstate);
17053
if (PyErr_Occurred()) SWIG_fail;
17056
resultobj = wxPyMake_wxObject(result, (bool)0);
17072
SWIGINTERN PyObject *_wrap_RichTextBuffer_FindHandlerByExtension(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17073
PyObject *resultobj = 0;
17074
wxString *arg1 = 0 ;
17076
wxRichTextFileHandler *result = 0 ;
17077
bool temp1 = false ;
17080
PyObject * obj0 = 0 ;
17081
PyObject * obj1 = 0 ;
17082
char * kwnames[] = {
17083
(char *) "extension",(char *) "imageType", NULL
17086
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RichTextBuffer_FindHandlerByExtension",kwnames,&obj0,&obj1)) SWIG_fail;
17088
arg1 = wxString_in_helper(obj0);
17089
if (arg1 == NULL) SWIG_fail;
17092
ecode2 = SWIG_AsVal_int(obj1, &val2);
17093
if (!SWIG_IsOK(ecode2)) {
17094
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RichTextBuffer_FindHandlerByExtension" "', expected argument " "2"" of type '" "int""'");
17096
arg2 = static_cast< int >(val2);
17098
PyThreadState* __tstate = wxPyBeginAllowThreads();
17099
result = (wxRichTextFileHandler *)wxRichTextBuffer::FindHandler((wxString const &)*arg1,arg2);
17100
wxPyEndAllowThreads(__tstate);
17101
if (PyErr_Occurred()) SWIG_fail;
17104
resultobj = wxPyMake_wxObject(result, (bool)0);
17120
SWIGINTERN PyObject *_wrap_RichTextBuffer_FindHandlerByFilename(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17121
PyObject *resultobj = 0;
17122
wxString *arg1 = 0 ;
17124
wxRichTextFileHandler *result = 0 ;
17125
bool temp1 = false ;
17128
PyObject * obj0 = 0 ;
17129
PyObject * obj1 = 0 ;
17130
char * kwnames[] = {
17131
(char *) "filename",(char *) "imageType", NULL
17134
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RichTextBuffer_FindHandlerByFilename",kwnames,&obj0,&obj1)) SWIG_fail;
17136
arg1 = wxString_in_helper(obj0);
17137
if (arg1 == NULL) SWIG_fail;
17140
ecode2 = SWIG_AsVal_int(obj1, &val2);
17141
if (!SWIG_IsOK(ecode2)) {
17142
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RichTextBuffer_FindHandlerByFilename" "', expected argument " "2"" of type '" "int""'");
17144
arg2 = static_cast< int >(val2);
17146
PyThreadState* __tstate = wxPyBeginAllowThreads();
17147
result = (wxRichTextFileHandler *)wxRichTextBuffer::FindHandlerFilenameOrType((wxString const &)*arg1,arg2);
17148
wxPyEndAllowThreads(__tstate);
17149
if (PyErr_Occurred()) SWIG_fail;
17152
resultobj = wxPyMake_wxObject(result, (bool)0);
17168
SWIGINTERN PyObject *_wrap_RichTextBuffer_FindHandlerByType(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17169
PyObject *resultobj = 0;
17171
wxRichTextFileHandler *result = 0 ;
17174
PyObject * obj0 = 0 ;
17175
char * kwnames[] = {
17176
(char *) "imageType", NULL
17179
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RichTextBuffer_FindHandlerByType",kwnames,&obj0)) SWIG_fail;
17180
ecode1 = SWIG_AsVal_int(obj0, &val1);
17181
if (!SWIG_IsOK(ecode1)) {
17182
SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "RichTextBuffer_FindHandlerByType" "', expected argument " "1"" of type '" "int""'");
17184
arg1 = static_cast< int >(val1);
17186
PyThreadState* __tstate = wxPyBeginAllowThreads();
17187
result = (wxRichTextFileHandler *)wxRichTextBuffer::FindHandler(arg1);
17188
wxPyEndAllowThreads(__tstate);
17189
if (PyErr_Occurred()) SWIG_fail;
17192
resultobj = wxPyMake_wxObject(result, (bool)0);
17200
SWIGINTERN PyObject *_wrap_RichTextBuffer_GetExtWildcard(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17201
PyObject *resultobj = 0;
17202
bool arg1 = (bool) false ;
17203
bool arg2 = (bool) false ;
17204
PyObject *result = 0 ;
17209
PyObject * obj0 = 0 ;
17210
PyObject * obj1 = 0 ;
17211
char * kwnames[] = {
17212
(char *) "combine",(char *) "save", NULL
17215
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:RichTextBuffer_GetExtWildcard",kwnames,&obj0,&obj1)) SWIG_fail;
17217
ecode1 = SWIG_AsVal_bool(obj0, &val1);
17218
if (!SWIG_IsOK(ecode1)) {
17219
SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "RichTextBuffer_GetExtWildcard" "', expected argument " "1"" of type '" "bool""'");
17221
arg1 = static_cast< bool >(val1);
17224
ecode2 = SWIG_AsVal_bool(obj1, &val2);
17225
if (!SWIG_IsOK(ecode2)) {
17226
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RichTextBuffer_GetExtWildcard" "', expected argument " "2"" of type '" "bool""'");
17228
arg2 = static_cast< bool >(val2);
17231
result = (PyObject *)wxRichTextBuffer_GetExtWildcard(arg1,arg2);
17232
if (PyErr_Occurred()) SWIG_fail;
17234
resultobj = result;
17241
SWIGINTERN PyObject *_wrap_RichTextBuffer_CleanUpHandlers(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17242
PyObject *resultobj = 0;
17244
if (!SWIG_Python_UnpackTuple(args,"RichTextBuffer_CleanUpHandlers",0,0,0)) SWIG_fail;
17246
PyThreadState* __tstate = wxPyBeginAllowThreads();
17247
wxRichTextBuffer::CleanUpHandlers();
17248
wxPyEndAllowThreads(__tstate);
17249
if (PyErr_Occurred()) SWIG_fail;
17251
resultobj = SWIG_Py_Void();
17258
SWIGINTERN PyObject *_wrap_RichTextBuffer_InitStandardHandlers(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17259
PyObject *resultobj = 0;
17261
if (!SWIG_Python_UnpackTuple(args,"RichTextBuffer_InitStandardHandlers",0,0,0)) SWIG_fail;
17263
PyThreadState* __tstate = wxPyBeginAllowThreads();
17264
wxRichTextBuffer::InitStandardHandlers();
17265
wxPyEndAllowThreads(__tstate);
17266
if (PyErr_Occurred()) SWIG_fail;
17268
resultobj = SWIG_Py_Void();
17275
SWIGINTERN PyObject *_wrap_RichTextBuffer_GetRenderer(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17276
PyObject *resultobj = 0;
17277
wxRichTextRenderer *result = 0 ;
17279
if (!SWIG_Python_UnpackTuple(args,"RichTextBuffer_GetRenderer",0,0,0)) SWIG_fail;
17281
PyThreadState* __tstate = wxPyBeginAllowThreads();
17282
result = (wxRichTextRenderer *)wxRichTextBuffer::GetRenderer();
17283
wxPyEndAllowThreads(__tstate);
17284
if (PyErr_Occurred()) SWIG_fail;
17286
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxRichTextRenderer, 0 | 0 );
17293
SWIGINTERN PyObject *_wrap_RichTextBuffer_SetRenderer(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17294
PyObject *resultobj = 0;
17295
wxRichTextRenderer *arg1 = (wxRichTextRenderer *) 0 ;
17298
PyObject * obj0 = 0 ;
17299
char * kwnames[] = {
17300
(char *) "renderer", NULL
17303
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RichTextBuffer_SetRenderer",kwnames,&obj0)) SWIG_fail;
17304
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextRenderer, 0 | 0 );
17305
if (!SWIG_IsOK(res1)) {
17306
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextBuffer_SetRenderer" "', expected argument " "1"" of type '" "wxRichTextRenderer *""'");
17308
arg1 = reinterpret_cast< wxRichTextRenderer * >(argp1);
17310
PyThreadState* __tstate = wxPyBeginAllowThreads();
17311
wxRichTextBuffer::SetRenderer(arg1);
17312
wxPyEndAllowThreads(__tstate);
17313
if (PyErr_Occurred()) SWIG_fail;
17315
resultobj = SWIG_Py_Void();
17322
SWIGINTERN PyObject *_wrap_RichTextBuffer_GetBulletRightMargin(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17323
PyObject *resultobj = 0;
17326
if (!SWIG_Python_UnpackTuple(args,"RichTextBuffer_GetBulletRightMargin",0,0,0)) SWIG_fail;
17328
PyThreadState* __tstate = wxPyBeginAllowThreads();
17329
result = (int)wxRichTextBuffer::GetBulletRightMargin();
17330
wxPyEndAllowThreads(__tstate);
17331
if (PyErr_Occurred()) SWIG_fail;
17333
resultobj = SWIG_From_int(static_cast< int >(result));
17340
SWIGINTERN PyObject *_wrap_RichTextBuffer_SetBulletRightMargin(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17341
PyObject *resultobj = 0;
17345
PyObject * obj0 = 0 ;
17346
char * kwnames[] = {
17347
(char *) "margin", NULL
17350
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RichTextBuffer_SetBulletRightMargin",kwnames,&obj0)) SWIG_fail;
17351
ecode1 = SWIG_AsVal_int(obj0, &val1);
17352
if (!SWIG_IsOK(ecode1)) {
17353
SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "RichTextBuffer_SetBulletRightMargin" "', expected argument " "1"" of type '" "int""'");
17355
arg1 = static_cast< int >(val1);
17357
PyThreadState* __tstate = wxPyBeginAllowThreads();
17358
wxRichTextBuffer::SetBulletRightMargin(arg1);
17359
wxPyEndAllowThreads(__tstate);
17360
if (PyErr_Occurred()) SWIG_fail;
17362
resultobj = SWIG_Py_Void();
17369
SWIGINTERN PyObject *_wrap_RichTextBuffer_GetBulletProportion(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17370
PyObject *resultobj = 0;
17373
if (!SWIG_Python_UnpackTuple(args,"RichTextBuffer_GetBulletProportion",0,0,0)) SWIG_fail;
17375
PyThreadState* __tstate = wxPyBeginAllowThreads();
17376
result = (float)wxRichTextBuffer::GetBulletProportion();
17377
wxPyEndAllowThreads(__tstate);
17378
if (PyErr_Occurred()) SWIG_fail;
17380
resultobj = SWIG_From_float(static_cast< float >(result));
17387
SWIGINTERN PyObject *_wrap_RichTextBuffer_SetBulletProportion(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17388
PyObject *resultobj = 0;
17392
PyObject * obj0 = 0 ;
17393
char * kwnames[] = {
17394
(char *) "prop", NULL
17397
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RichTextBuffer_SetBulletProportion",kwnames,&obj0)) SWIG_fail;
17398
ecode1 = SWIG_AsVal_float(obj0, &val1);
17399
if (!SWIG_IsOK(ecode1)) {
17400
SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "RichTextBuffer_SetBulletProportion" "', expected argument " "1"" of type '" "float""'");
17402
arg1 = static_cast< float >(val1);
17404
PyThreadState* __tstate = wxPyBeginAllowThreads();
17405
wxRichTextBuffer::SetBulletProportion(arg1);
17406
wxPyEndAllowThreads(__tstate);
17407
if (PyErr_Occurred()) SWIG_fail;
17409
resultobj = SWIG_Py_Void();
17416
SWIGINTERN PyObject *_wrap_RichTextBuffer_GetScale(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17417
PyObject *resultobj = 0;
17418
wxRichTextBuffer *arg1 = (wxRichTextBuffer *) 0 ;
17422
PyObject *swig_obj[1] ;
17424
if (!args) SWIG_fail;
17425
swig_obj[0] = args;
17426
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextBuffer, 0 | 0 );
17427
if (!SWIG_IsOK(res1)) {
17428
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextBuffer_GetScale" "', expected argument " "1"" of type '" "wxRichTextBuffer const *""'");
17430
arg1 = reinterpret_cast< wxRichTextBuffer * >(argp1);
17432
PyThreadState* __tstate = wxPyBeginAllowThreads();
17433
result = (double)((wxRichTextBuffer const *)arg1)->GetScale();
17434
wxPyEndAllowThreads(__tstate);
17435
if (PyErr_Occurred()) SWIG_fail;
17437
resultobj = SWIG_From_double(static_cast< double >(result));
17444
SWIGINTERN PyObject *_wrap_RichTextBuffer_SetScale(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17445
PyObject *resultobj = 0;
17446
wxRichTextBuffer *arg1 = (wxRichTextBuffer *) 0 ;
17452
PyObject * obj0 = 0 ;
17453
PyObject * obj1 = 0 ;
17454
char * kwnames[] = {
17455
(char *) "self",(char *) "scale", NULL
17458
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RichTextBuffer_SetScale",kwnames,&obj0,&obj1)) SWIG_fail;
17459
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextBuffer, 0 | 0 );
17460
if (!SWIG_IsOK(res1)) {
17461
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextBuffer_SetScale" "', expected argument " "1"" of type '" "wxRichTextBuffer *""'");
17463
arg1 = reinterpret_cast< wxRichTextBuffer * >(argp1);
17464
ecode2 = SWIG_AsVal_double(obj1, &val2);
17465
if (!SWIG_IsOK(ecode2)) {
17466
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RichTextBuffer_SetScale" "', expected argument " "2"" of type '" "double""'");
17468
arg2 = static_cast< double >(val2);
17470
PyThreadState* __tstate = wxPyBeginAllowThreads();
17471
(arg1)->SetScale(arg2);
17472
wxPyEndAllowThreads(__tstate);
17473
if (PyErr_Occurred()) SWIG_fail;
17475
resultobj = SWIG_Py_Void();
17482
SWIGINTERN PyObject *RichTextBuffer_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17484
if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
17485
SWIG_TypeNewClientData(SWIGTYPE_p_wxRichTextBuffer, SWIG_NewClientData(obj));
17486
return SWIG_Py_Void();
17489
SWIGINTERN PyObject *RichTextBuffer_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17490
return SWIG_Python_InitShadowInstance(args);
17493
SWIGINTERN PyObject *_wrap_delete_RichTextFileHandler(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17494
PyObject *resultobj = 0;
17495
wxRichTextFileHandler *arg1 = (wxRichTextFileHandler *) 0 ;
17498
PyObject *swig_obj[1] ;
17500
if (!args) SWIG_fail;
17501
swig_obj[0] = args;
17502
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextFileHandler, SWIG_POINTER_DISOWN | 0 );
17503
if (!SWIG_IsOK(res1)) {
17504
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_RichTextFileHandler" "', expected argument " "1"" of type '" "wxRichTextFileHandler *""'");
17506
arg1 = reinterpret_cast< wxRichTextFileHandler * >(argp1);
17508
PyThreadState* __tstate = wxPyBeginAllowThreads();
17511
wxPyEndAllowThreads(__tstate);
17512
if (PyErr_Occurred()) SWIG_fail;
17514
resultobj = SWIG_Py_Void();
17521
SWIGINTERN PyObject *_wrap_RichTextFileHandler_LoadStream(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17522
PyObject *resultobj = 0;
17523
wxRichTextFileHandler *arg1 = (wxRichTextFileHandler *) 0 ;
17524
wxRichTextBuffer *arg2 = (wxRichTextBuffer *) 0 ;
17525
wxInputStream *arg3 = 0 ;
17531
wxPyInputStream *temp3 ;
17533
PyObject * obj0 = 0 ;
17534
PyObject * obj1 = 0 ;
17535
PyObject * obj2 = 0 ;
17536
char * kwnames[] = {
17537
(char *) "self",(char *) "buffer",(char *) "stream", NULL
17540
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:RichTextFileHandler_LoadStream",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
17541
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextFileHandler, 0 | 0 );
17542
if (!SWIG_IsOK(res1)) {
17543
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextFileHandler_LoadStream" "', expected argument " "1"" of type '" "wxRichTextFileHandler *""'");
17545
arg1 = reinterpret_cast< wxRichTextFileHandler * >(argp1);
17546
res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxRichTextBuffer, 0 | 0 );
17547
if (!SWIG_IsOK(res2)) {
17548
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "RichTextFileHandler_LoadStream" "', expected argument " "2"" of type '" "wxRichTextBuffer *""'");
17550
arg2 = reinterpret_cast< wxRichTextBuffer * >(argp2);
17552
if (wxPyConvertSwigPtr(obj2, (void **)&temp3, wxT("wxPyInputStream"))) {
17553
arg3 = temp3->m_wxis;
17556
PyErr_Clear(); // clear the failure of the wxPyConvert above
17557
arg3 = wxPyCBInputStream_create(obj2, false);
17558
if (arg3 == NULL) {
17559
PyErr_SetString(PyExc_TypeError, "Expected wx.InputStream or Python file-like object.");
17566
PyThreadState* __tstate = wxPyBeginAllowThreads();
17567
result = (bool)(arg1)->LoadFile(arg2,*arg3);
17568
wxPyEndAllowThreads(__tstate);
17569
if (PyErr_Occurred()) SWIG_fail;
17572
resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17575
if (created3) delete arg3;
17580
if (created3) delete arg3;
17586
SWIGINTERN PyObject *_wrap_RichTextFileHandler_SaveStream(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17587
PyObject *resultobj = 0;
17588
wxRichTextFileHandler *arg1 = (wxRichTextFileHandler *) 0 ;
17589
wxRichTextBuffer *arg2 = (wxRichTextBuffer *) 0 ;
17590
wxOutputStream *arg3 = 0 ;
17596
wxPyOutputStream *temp3 ;
17598
PyObject * obj0 = 0 ;
17599
PyObject * obj1 = 0 ;
17600
PyObject * obj2 = 0 ;
17601
char * kwnames[] = {
17602
(char *) "self",(char *) "buffer",(char *) "stream", NULL
17605
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:RichTextFileHandler_SaveStream",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
17606
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextFileHandler, 0 | 0 );
17607
if (!SWIG_IsOK(res1)) {
17608
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextFileHandler_SaveStream" "', expected argument " "1"" of type '" "wxRichTextFileHandler *""'");
17610
arg1 = reinterpret_cast< wxRichTextFileHandler * >(argp1);
17611
res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxRichTextBuffer, 0 | 0 );
17612
if (!SWIG_IsOK(res2)) {
17613
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "RichTextFileHandler_SaveStream" "', expected argument " "2"" of type '" "wxRichTextBuffer *""'");
17615
arg2 = reinterpret_cast< wxRichTextBuffer * >(argp2);
17617
if (wxPyConvertSwigPtr(obj2, (void **)&temp3, wxT("wxPyOutputStream"))) {
17618
arg3 = temp3->m_wxos;
17621
PyErr_Clear(); // clear the failure of the wxPyConvert above
17622
arg3 = wxPyCBOutputStream_create(obj2, false);
17623
if (arg3 == NULL) {
17624
PyErr_SetString(PyExc_TypeError, "Expected wx.OutputStream or Python file-like object.");
17631
PyThreadState* __tstate = wxPyBeginAllowThreads();
17632
result = (bool)(arg1)->SaveFile(arg2,*arg3);
17633
wxPyEndAllowThreads(__tstate);
17634
if (PyErr_Occurred()) SWIG_fail;
17637
resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17640
if (created3) delete arg3;
17645
if (created3) delete arg3;
17651
SWIGINTERN PyObject *_wrap_RichTextFileHandler_LoadFile(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17652
PyObject *resultobj = 0;
17653
wxRichTextFileHandler *arg1 = (wxRichTextFileHandler *) 0 ;
17654
wxRichTextBuffer *arg2 = (wxRichTextBuffer *) 0 ;
17655
wxString *arg3 = 0 ;
17661
bool temp3 = false ;
17662
PyObject * obj0 = 0 ;
17663
PyObject * obj1 = 0 ;
17664
PyObject * obj2 = 0 ;
17665
char * kwnames[] = {
17666
(char *) "self",(char *) "buffer",(char *) "filename", NULL
17669
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:RichTextFileHandler_LoadFile",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
17670
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextFileHandler, 0 | 0 );
17671
if (!SWIG_IsOK(res1)) {
17672
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextFileHandler_LoadFile" "', expected argument " "1"" of type '" "wxRichTextFileHandler *""'");
17674
arg1 = reinterpret_cast< wxRichTextFileHandler * >(argp1);
17675
res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxRichTextBuffer, 0 | 0 );
17676
if (!SWIG_IsOK(res2)) {
17677
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "RichTextFileHandler_LoadFile" "', expected argument " "2"" of type '" "wxRichTextBuffer *""'");
17679
arg2 = reinterpret_cast< wxRichTextBuffer * >(argp2);
17681
arg3 = wxString_in_helper(obj2);
17682
if (arg3 == NULL) SWIG_fail;
17686
PyThreadState* __tstate = wxPyBeginAllowThreads();
17687
result = (bool)(arg1)->LoadFile(arg2,(wxString const &)*arg3);
17688
wxPyEndAllowThreads(__tstate);
17689
if (PyErr_Occurred()) SWIG_fail;
17692
resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17708
SWIGINTERN PyObject *_wrap_RichTextFileHandler_SaveFile(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17709
PyObject *resultobj = 0;
17710
wxRichTextFileHandler *arg1 = (wxRichTextFileHandler *) 0 ;
17711
wxRichTextBuffer *arg2 = (wxRichTextBuffer *) 0 ;
17712
wxString *arg3 = 0 ;
17718
bool temp3 = false ;
17719
PyObject * obj0 = 0 ;
17720
PyObject * obj1 = 0 ;
17721
PyObject * obj2 = 0 ;
17722
char * kwnames[] = {
17723
(char *) "self",(char *) "buffer",(char *) "filename", NULL
17726
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:RichTextFileHandler_SaveFile",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
17727
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextFileHandler, 0 | 0 );
17728
if (!SWIG_IsOK(res1)) {
17729
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextFileHandler_SaveFile" "', expected argument " "1"" of type '" "wxRichTextFileHandler *""'");
17731
arg1 = reinterpret_cast< wxRichTextFileHandler * >(argp1);
17732
res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxRichTextBuffer, 0 | 0 );
17733
if (!SWIG_IsOK(res2)) {
17734
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "RichTextFileHandler_SaveFile" "', expected argument " "2"" of type '" "wxRichTextBuffer *""'");
17736
arg2 = reinterpret_cast< wxRichTextBuffer * >(argp2);
17738
arg3 = wxString_in_helper(obj2);
17739
if (arg3 == NULL) SWIG_fail;
17743
PyThreadState* __tstate = wxPyBeginAllowThreads();
17744
result = (bool)(arg1)->SaveFile(arg2,(wxString const &)*arg3);
17745
wxPyEndAllowThreads(__tstate);
17746
if (PyErr_Occurred()) SWIG_fail;
17749
resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17765
SWIGINTERN PyObject *_wrap_RichTextFileHandler_CanHandle(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17766
PyObject *resultobj = 0;
17767
wxRichTextFileHandler *arg1 = (wxRichTextFileHandler *) 0 ;
17768
wxString *arg2 = 0 ;
17772
bool temp2 = false ;
17773
PyObject * obj0 = 0 ;
17774
PyObject * obj1 = 0 ;
17775
char * kwnames[] = {
17776
(char *) "self",(char *) "filename", NULL
17779
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RichTextFileHandler_CanHandle",kwnames,&obj0,&obj1)) SWIG_fail;
17780
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextFileHandler, 0 | 0 );
17781
if (!SWIG_IsOK(res1)) {
17782
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextFileHandler_CanHandle" "', expected argument " "1"" of type '" "wxRichTextFileHandler const *""'");
17784
arg1 = reinterpret_cast< wxRichTextFileHandler * >(argp1);
17786
arg2 = wxString_in_helper(obj1);
17787
if (arg2 == NULL) SWIG_fail;
17791
PyThreadState* __tstate = wxPyBeginAllowThreads();
17792
result = (bool)((wxRichTextFileHandler const *)arg1)->CanHandle((wxString const &)*arg2);
17793
wxPyEndAllowThreads(__tstate);
17794
if (PyErr_Occurred()) SWIG_fail;
17797
resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17813
SWIGINTERN PyObject *_wrap_RichTextFileHandler_CanSave(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17814
PyObject *resultobj = 0;
17815
wxRichTextFileHandler *arg1 = (wxRichTextFileHandler *) 0 ;
17819
PyObject *swig_obj[1] ;
17821
if (!args) SWIG_fail;
17822
swig_obj[0] = args;
17823
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextFileHandler, 0 | 0 );
17824
if (!SWIG_IsOK(res1)) {
17825
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextFileHandler_CanSave" "', expected argument " "1"" of type '" "wxRichTextFileHandler const *""'");
17827
arg1 = reinterpret_cast< wxRichTextFileHandler * >(argp1);
17829
PyThreadState* __tstate = wxPyBeginAllowThreads();
17830
result = (bool)((wxRichTextFileHandler const *)arg1)->CanSave();
17831
wxPyEndAllowThreads(__tstate);
17832
if (PyErr_Occurred()) SWIG_fail;
17835
resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17843
SWIGINTERN PyObject *_wrap_RichTextFileHandler_CanLoad(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17844
PyObject *resultobj = 0;
17845
wxRichTextFileHandler *arg1 = (wxRichTextFileHandler *) 0 ;
17849
PyObject *swig_obj[1] ;
17851
if (!args) SWIG_fail;
17852
swig_obj[0] = args;
17853
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextFileHandler, 0 | 0 );
17854
if (!SWIG_IsOK(res1)) {
17855
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextFileHandler_CanLoad" "', expected argument " "1"" of type '" "wxRichTextFileHandler const *""'");
17857
arg1 = reinterpret_cast< wxRichTextFileHandler * >(argp1);
17859
PyThreadState* __tstate = wxPyBeginAllowThreads();
17860
result = (bool)((wxRichTextFileHandler const *)arg1)->CanLoad();
17861
wxPyEndAllowThreads(__tstate);
17862
if (PyErr_Occurred()) SWIG_fail;
17865
resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17873
SWIGINTERN PyObject *_wrap_RichTextFileHandler_IsVisible(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17874
PyObject *resultobj = 0;
17875
wxRichTextFileHandler *arg1 = (wxRichTextFileHandler *) 0 ;
17879
PyObject *swig_obj[1] ;
17881
if (!args) SWIG_fail;
17882
swig_obj[0] = args;
17883
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextFileHandler, 0 | 0 );
17884
if (!SWIG_IsOK(res1)) {
17885
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextFileHandler_IsVisible" "', expected argument " "1"" of type '" "wxRichTextFileHandler const *""'");
17887
arg1 = reinterpret_cast< wxRichTextFileHandler * >(argp1);
17889
PyThreadState* __tstate = wxPyBeginAllowThreads();
17890
result = (bool)((wxRichTextFileHandler const *)arg1)->IsVisible();
17891
wxPyEndAllowThreads(__tstate);
17892
if (PyErr_Occurred()) SWIG_fail;
17895
resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17903
SWIGINTERN PyObject *_wrap_RichTextFileHandler_SetVisible(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17904
PyObject *resultobj = 0;
17905
wxRichTextFileHandler *arg1 = (wxRichTextFileHandler *) 0 ;
17911
PyObject * obj0 = 0 ;
17912
PyObject * obj1 = 0 ;
17913
char * kwnames[] = {
17914
(char *) "self",(char *) "visible", NULL
17917
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RichTextFileHandler_SetVisible",kwnames,&obj0,&obj1)) SWIG_fail;
17918
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextFileHandler, 0 | 0 );
17919
if (!SWIG_IsOK(res1)) {
17920
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextFileHandler_SetVisible" "', expected argument " "1"" of type '" "wxRichTextFileHandler *""'");
17922
arg1 = reinterpret_cast< wxRichTextFileHandler * >(argp1);
17923
ecode2 = SWIG_AsVal_bool(obj1, &val2);
17924
if (!SWIG_IsOK(ecode2)) {
17925
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RichTextFileHandler_SetVisible" "', expected argument " "2"" of type '" "bool""'");
17927
arg2 = static_cast< bool >(val2);
17929
PyThreadState* __tstate = wxPyBeginAllowThreads();
17930
(arg1)->SetVisible(arg2);
17931
wxPyEndAllowThreads(__tstate);
17932
if (PyErr_Occurred()) SWIG_fail;
17934
resultobj = SWIG_Py_Void();
17941
SWIGINTERN PyObject *_wrap_RichTextFileHandler_SetName(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17942
PyObject *resultobj = 0;
17943
wxRichTextFileHandler *arg1 = (wxRichTextFileHandler *) 0 ;
17944
wxString *arg2 = 0 ;
17947
bool temp2 = false ;
17948
PyObject * obj0 = 0 ;
17949
PyObject * obj1 = 0 ;
17950
char * kwnames[] = {
17951
(char *) "self",(char *) "name", NULL
17954
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RichTextFileHandler_SetName",kwnames,&obj0,&obj1)) SWIG_fail;
17955
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextFileHandler, 0 | 0 );
17956
if (!SWIG_IsOK(res1)) {
17957
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextFileHandler_SetName" "', expected argument " "1"" of type '" "wxRichTextFileHandler *""'");
17959
arg1 = reinterpret_cast< wxRichTextFileHandler * >(argp1);
17961
arg2 = wxString_in_helper(obj1);
17962
if (arg2 == NULL) SWIG_fail;
17966
PyThreadState* __tstate = wxPyBeginAllowThreads();
17967
(arg1)->SetName((wxString const &)*arg2);
17968
wxPyEndAllowThreads(__tstate);
17969
if (PyErr_Occurred()) SWIG_fail;
17971
resultobj = SWIG_Py_Void();
17986
SWIGINTERN PyObject *_wrap_RichTextFileHandler_GetName(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17987
PyObject *resultobj = 0;
17988
wxRichTextFileHandler *arg1 = (wxRichTextFileHandler *) 0 ;
17992
PyObject *swig_obj[1] ;
17994
if (!args) SWIG_fail;
17995
swig_obj[0] = args;
17996
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextFileHandler, 0 | 0 );
17997
if (!SWIG_IsOK(res1)) {
17998
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextFileHandler_GetName" "', expected argument " "1"" of type '" "wxRichTextFileHandler const *""'");
18000
arg1 = reinterpret_cast< wxRichTextFileHandler * >(argp1);
18002
PyThreadState* __tstate = wxPyBeginAllowThreads();
18003
result = ((wxRichTextFileHandler const *)arg1)->GetName();
18004
wxPyEndAllowThreads(__tstate);
18005
if (PyErr_Occurred()) SWIG_fail;
18009
resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
18011
resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
18020
SWIGINTERN PyObject *_wrap_RichTextFileHandler_SetExtension(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18021
PyObject *resultobj = 0;
18022
wxRichTextFileHandler *arg1 = (wxRichTextFileHandler *) 0 ;
18023
wxString *arg2 = 0 ;
18026
bool temp2 = false ;
18027
PyObject * obj0 = 0 ;
18028
PyObject * obj1 = 0 ;
18029
char * kwnames[] = {
18030
(char *) "self",(char *) "ext", NULL
18033
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RichTextFileHandler_SetExtension",kwnames,&obj0,&obj1)) SWIG_fail;
18034
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextFileHandler, 0 | 0 );
18035
if (!SWIG_IsOK(res1)) {
18036
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextFileHandler_SetExtension" "', expected argument " "1"" of type '" "wxRichTextFileHandler *""'");
18038
arg1 = reinterpret_cast< wxRichTextFileHandler * >(argp1);
18040
arg2 = wxString_in_helper(obj1);
18041
if (arg2 == NULL) SWIG_fail;
18045
PyThreadState* __tstate = wxPyBeginAllowThreads();
18046
(arg1)->SetExtension((wxString const &)*arg2);
18047
wxPyEndAllowThreads(__tstate);
18048
if (PyErr_Occurred()) SWIG_fail;
18050
resultobj = SWIG_Py_Void();
18065
SWIGINTERN PyObject *_wrap_RichTextFileHandler_GetExtension(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18066
PyObject *resultobj = 0;
18067
wxRichTextFileHandler *arg1 = (wxRichTextFileHandler *) 0 ;
18071
PyObject *swig_obj[1] ;
18073
if (!args) SWIG_fail;
18074
swig_obj[0] = args;
18075
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextFileHandler, 0 | 0 );
18076
if (!SWIG_IsOK(res1)) {
18077
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextFileHandler_GetExtension" "', expected argument " "1"" of type '" "wxRichTextFileHandler const *""'");
18079
arg1 = reinterpret_cast< wxRichTextFileHandler * >(argp1);
18081
PyThreadState* __tstate = wxPyBeginAllowThreads();
18082
result = ((wxRichTextFileHandler const *)arg1)->GetExtension();
18083
wxPyEndAllowThreads(__tstate);
18084
if (PyErr_Occurred()) SWIG_fail;
18088
resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
18090
resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
18099
SWIGINTERN PyObject *_wrap_RichTextFileHandler_SetType(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18100
PyObject *resultobj = 0;
18101
wxRichTextFileHandler *arg1 = (wxRichTextFileHandler *) 0 ;
18107
PyObject * obj0 = 0 ;
18108
PyObject * obj1 = 0 ;
18109
char * kwnames[] = {
18110
(char *) "self",(char *) "type", NULL
18113
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RichTextFileHandler_SetType",kwnames,&obj0,&obj1)) SWIG_fail;
18114
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextFileHandler, 0 | 0 );
18115
if (!SWIG_IsOK(res1)) {
18116
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextFileHandler_SetType" "', expected argument " "1"" of type '" "wxRichTextFileHandler *""'");
18118
arg1 = reinterpret_cast< wxRichTextFileHandler * >(argp1);
18119
ecode2 = SWIG_AsVal_int(obj1, &val2);
18120
if (!SWIG_IsOK(ecode2)) {
18121
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RichTextFileHandler_SetType" "', expected argument " "2"" of type '" "int""'");
18123
arg2 = static_cast< int >(val2);
18125
PyThreadState* __tstate = wxPyBeginAllowThreads();
18126
(arg1)->SetType(arg2);
18127
wxPyEndAllowThreads(__tstate);
18128
if (PyErr_Occurred()) SWIG_fail;
18130
resultobj = SWIG_Py_Void();
18137
SWIGINTERN PyObject *_wrap_RichTextFileHandler_GetType(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18138
PyObject *resultobj = 0;
18139
wxRichTextFileHandler *arg1 = (wxRichTextFileHandler *) 0 ;
18143
PyObject *swig_obj[1] ;
18145
if (!args) SWIG_fail;
18146
swig_obj[0] = args;
18147
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextFileHandler, 0 | 0 );
18148
if (!SWIG_IsOK(res1)) {
18149
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextFileHandler_GetType" "', expected argument " "1"" of type '" "wxRichTextFileHandler const *""'");
18151
arg1 = reinterpret_cast< wxRichTextFileHandler * >(argp1);
18153
PyThreadState* __tstate = wxPyBeginAllowThreads();
18154
result = (int)((wxRichTextFileHandler const *)arg1)->GetType();
18155
wxPyEndAllowThreads(__tstate);
18156
if (PyErr_Occurred()) SWIG_fail;
18158
resultobj = SWIG_From_int(static_cast< int >(result));
18165
SWIGINTERN PyObject *_wrap_RichTextFileHandler_SetFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18166
PyObject *resultobj = 0;
18167
wxRichTextFileHandler *arg1 = (wxRichTextFileHandler *) 0 ;
18173
PyObject * obj0 = 0 ;
18174
PyObject * obj1 = 0 ;
18175
char * kwnames[] = {
18176
(char *) "self",(char *) "flags", NULL
18179
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RichTextFileHandler_SetFlags",kwnames,&obj0,&obj1)) SWIG_fail;
18180
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextFileHandler, 0 | 0 );
18181
if (!SWIG_IsOK(res1)) {
18182
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextFileHandler_SetFlags" "', expected argument " "1"" of type '" "wxRichTextFileHandler *""'");
18184
arg1 = reinterpret_cast< wxRichTextFileHandler * >(argp1);
18185
ecode2 = SWIG_AsVal_int(obj1, &val2);
18186
if (!SWIG_IsOK(ecode2)) {
18187
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RichTextFileHandler_SetFlags" "', expected argument " "2"" of type '" "int""'");
18189
arg2 = static_cast< int >(val2);
18191
PyThreadState* __tstate = wxPyBeginAllowThreads();
18192
(arg1)->SetFlags(arg2);
18193
wxPyEndAllowThreads(__tstate);
18194
if (PyErr_Occurred()) SWIG_fail;
18196
resultobj = SWIG_Py_Void();
18203
SWIGINTERN PyObject *_wrap_RichTextFileHandler_GetFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18204
PyObject *resultobj = 0;
18205
wxRichTextFileHandler *arg1 = (wxRichTextFileHandler *) 0 ;
18209
PyObject *swig_obj[1] ;
18211
if (!args) SWIG_fail;
18212
swig_obj[0] = args;
18213
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextFileHandler, 0 | 0 );
18214
if (!SWIG_IsOK(res1)) {
18215
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextFileHandler_GetFlags" "', expected argument " "1"" of type '" "wxRichTextFileHandler const *""'");
18217
arg1 = reinterpret_cast< wxRichTextFileHandler * >(argp1);
18219
PyThreadState* __tstate = wxPyBeginAllowThreads();
18220
result = (int)((wxRichTextFileHandler const *)arg1)->GetFlags();
18221
wxPyEndAllowThreads(__tstate);
18222
if (PyErr_Occurred()) SWIG_fail;
18224
resultobj = SWIG_From_int(static_cast< int >(result));
18231
SWIGINTERN PyObject *_wrap_RichTextFileHandler_SetEncoding(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18232
PyObject *resultobj = 0;
18233
wxRichTextFileHandler *arg1 = (wxRichTextFileHandler *) 0 ;
18234
wxString *arg2 = 0 ;
18237
bool temp2 = false ;
18238
PyObject * obj0 = 0 ;
18239
PyObject * obj1 = 0 ;
18240
char * kwnames[] = {
18241
(char *) "self",(char *) "encoding", NULL
18244
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RichTextFileHandler_SetEncoding",kwnames,&obj0,&obj1)) SWIG_fail;
18245
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextFileHandler, 0 | 0 );
18246
if (!SWIG_IsOK(res1)) {
18247
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextFileHandler_SetEncoding" "', expected argument " "1"" of type '" "wxRichTextFileHandler *""'");
18249
arg1 = reinterpret_cast< wxRichTextFileHandler * >(argp1);
18251
arg2 = wxString_in_helper(obj1);
18252
if (arg2 == NULL) SWIG_fail;
18256
PyThreadState* __tstate = wxPyBeginAllowThreads();
18257
(arg1)->SetEncoding((wxString const &)*arg2);
18258
wxPyEndAllowThreads(__tstate);
18259
if (PyErr_Occurred()) SWIG_fail;
18261
resultobj = SWIG_Py_Void();
18276
SWIGINTERN PyObject *_wrap_RichTextFileHandler_GetEncoding(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18277
PyObject *resultobj = 0;
18278
wxRichTextFileHandler *arg1 = (wxRichTextFileHandler *) 0 ;
18279
wxString *result = 0 ;
18282
PyObject *swig_obj[1] ;
18284
if (!args) SWIG_fail;
18285
swig_obj[0] = args;
18286
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextFileHandler, 0 | 0 );
18287
if (!SWIG_IsOK(res1)) {
18288
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextFileHandler_GetEncoding" "', expected argument " "1"" of type '" "wxRichTextFileHandler const *""'");
18290
arg1 = reinterpret_cast< wxRichTextFileHandler * >(argp1);
18292
PyThreadState* __tstate = wxPyBeginAllowThreads();
18294
wxString const &_result_ref = ((wxRichTextFileHandler const *)arg1)->GetEncoding();
18295
result = (wxString *) &_result_ref;
18297
wxPyEndAllowThreads(__tstate);
18298
if (PyErr_Occurred()) SWIG_fail;
18302
resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
18304
resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
18313
SWIGINTERN PyObject *RichTextFileHandler_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18315
if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
18316
SWIG_TypeNewClientData(SWIGTYPE_p_wxRichTextFileHandler, SWIG_NewClientData(obj));
18317
return SWIG_Py_Void();
18320
SWIGINTERN int TextName_set(PyObject *) {
18321
SWIG_Error(SWIG_AttributeError,"Variable TextName is read-only.");
18326
SWIGINTERN PyObject *TextName_get(void) {
18327
PyObject *pyobj = 0;
18331
pyobj = PyUnicode_FromWideChar((&wxPyTextName)->c_str(), (&wxPyTextName)->Len());
18333
pyobj = PyString_FromStringAndSize((&wxPyTextName)->c_str(), (&wxPyTextName)->Len());
18340
SWIGINTERN int TextExt_set(PyObject *) {
18341
SWIG_Error(SWIG_AttributeError,"Variable TextExt is read-only.");
18346
SWIGINTERN PyObject *TextExt_get(void) {
18347
PyObject *pyobj = 0;
18351
pyobj = PyUnicode_FromWideChar((&wxPyTextExt)->c_str(), (&wxPyTextExt)->Len());
18353
pyobj = PyString_FromStringAndSize((&wxPyTextExt)->c_str(), (&wxPyTextExt)->Len());
18360
SWIGINTERN PyObject *_wrap_new_RichTextPlainTextHandler(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18361
PyObject *resultobj = 0;
18362
wxString const &arg1_defvalue = wxPyTextName ;
18363
wxString *arg1 = (wxString *) &arg1_defvalue ;
18364
wxString const &arg2_defvalue = wxPyTextExt ;
18365
wxString *arg2 = (wxString *) &arg2_defvalue ;
18366
int arg3 = (int) wxRICHTEXT_TYPE_TEXT ;
18367
wxRichTextPlainTextHandler *result = 0 ;
18368
bool temp1 = false ;
18369
bool temp2 = false ;
18372
PyObject * obj0 = 0 ;
18373
PyObject * obj1 = 0 ;
18374
PyObject * obj2 = 0 ;
18375
char * kwnames[] = {
18376
(char *) "name",(char *) "ext",(char *) "type", NULL
18379
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOO:new_RichTextPlainTextHandler",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
18382
arg1 = wxString_in_helper(obj0);
18383
if (arg1 == NULL) SWIG_fail;
18389
arg2 = wxString_in_helper(obj1);
18390
if (arg2 == NULL) SWIG_fail;
18395
ecode3 = SWIG_AsVal_int(obj2, &val3);
18396
if (!SWIG_IsOK(ecode3)) {
18397
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_RichTextPlainTextHandler" "', expected argument " "3"" of type '" "int""'");
18399
arg3 = static_cast< int >(val3);
18402
PyThreadState* __tstate = wxPyBeginAllowThreads();
18403
result = (wxRichTextPlainTextHandler *)new wxRichTextPlainTextHandler((wxString const &)*arg1,(wxString const &)*arg2,arg3);
18404
wxPyEndAllowThreads(__tstate);
18405
if (PyErr_Occurred()) SWIG_fail;
18407
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxRichTextPlainTextHandler, SWIG_POINTER_NEW | 0 );
18430
SWIGINTERN PyObject *RichTextPlainTextHandler_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18432
if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
18433
SWIG_TypeNewClientData(SWIGTYPE_p_wxRichTextPlainTextHandler, SWIG_NewClientData(obj));
18434
return SWIG_Py_Void();
18437
SWIGINTERN PyObject *RichTextPlainTextHandler_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18438
return SWIG_Python_InitShadowInstance(args);
18441
SWIGINTERN PyObject *_wrap_delete_RichTextRenderer(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18442
PyObject *resultobj = 0;
18443
wxRichTextRenderer *arg1 = (wxRichTextRenderer *) 0 ;
18446
PyObject *swig_obj[1] ;
18448
if (!args) SWIG_fail;
18449
swig_obj[0] = args;
18450
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRichTextRenderer, SWIG_POINTER_DISOWN | 0 );
18451
if (!SWIG_IsOK(res1)) {
18452
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_RichTextRenderer" "', expected argument " "1"" of type '" "wxRichTextRenderer *""'");
18454
arg1 = reinterpret_cast< wxRichTextRenderer * >(argp1);
18456
PyThreadState* __tstate = wxPyBeginAllowThreads();
18459
wxPyEndAllowThreads(__tstate);
18460
if (PyErr_Occurred()) SWIG_fail;
18462
resultobj = SWIG_Py_Void();
18469
SWIGINTERN PyObject *_wrap_RichTextRenderer_DrawStandardBullet(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18470
PyObject *resultobj = 0;
18471
wxRichTextRenderer *arg1 = (wxRichTextRenderer *) 0 ;
18472
wxRichTextParagraph *arg2 = (wxRichTextParagraph *) 0 ;
18474
wxTextAttrEx *arg4 = 0 ;
18486
PyObject * obj0 = 0 ;
18487
PyObject * obj1 = 0 ;
18488
PyObject * obj2 = 0 ;
18489
PyObject * obj3 = 0 ;
18490
PyObject * obj4 = 0 ;
18491
char * kwnames[] = {
18492
(char *) "self",(char *) "paragraph",(char *) "dc",(char *) "attr",(char *) "rect", NULL
18495
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:RichTextRenderer_DrawStandardBullet",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
18496
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextRenderer, 0 | 0 );
18497
if (!SWIG_IsOK(res1)) {
18498
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextRenderer_DrawStandardBullet" "', expected argument " "1"" of type '" "wxRichTextRenderer *""'");
18500
arg1 = reinterpret_cast< wxRichTextRenderer * >(argp1);
18501
res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxRichTextParagraph, 0 | 0 );
18502
if (!SWIG_IsOK(res2)) {
18503
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "RichTextRenderer_DrawStandardBullet" "', expected argument " "2"" of type '" "wxRichTextParagraph *""'");
18505
arg2 = reinterpret_cast< wxRichTextParagraph * >(argp2);
18506
res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxDC, 0 );
18507
if (!SWIG_IsOK(res3)) {
18508
SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "RichTextRenderer_DrawStandardBullet" "', expected argument " "3"" of type '" "wxDC &""'");
18511
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "RichTextRenderer_DrawStandardBullet" "', expected argument " "3"" of type '" "wxDC &""'");
18513
arg3 = reinterpret_cast< wxDC * >(argp3);
18514
res4 = SWIG_ConvertPtr(obj3, &argp4, SWIGTYPE_p_wxTextAttrEx, 0 | 0);
18515
if (!SWIG_IsOK(res4)) {
18516
SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "RichTextRenderer_DrawStandardBullet" "', expected argument " "4"" of type '" "wxTextAttrEx const &""'");
18519
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "RichTextRenderer_DrawStandardBullet" "', expected argument " "4"" of type '" "wxTextAttrEx const &""'");
18521
arg4 = reinterpret_cast< wxTextAttrEx * >(argp4);
18524
if ( ! wxRect_helper(obj4, &arg5)) SWIG_fail;
18527
PyThreadState* __tstate = wxPyBeginAllowThreads();
18528
result = (bool)(arg1)->DrawStandardBullet(arg2,*arg3,(wxTextAttrEx const &)*arg4,(wxRect const &)*arg5);
18529
wxPyEndAllowThreads(__tstate);
18530
if (PyErr_Occurred()) SWIG_fail;
18533
resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18541
SWIGINTERN PyObject *_wrap_RichTextRenderer_DrawTextBullet(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18542
PyObject *resultobj = 0;
18543
wxRichTextRenderer *arg1 = (wxRichTextRenderer *) 0 ;
18544
wxRichTextParagraph *arg2 = (wxRichTextParagraph *) 0 ;
18546
wxTextAttrEx *arg4 = 0 ;
18548
wxString *arg6 = 0 ;
18559
bool temp6 = false ;
18560
PyObject * obj0 = 0 ;
18561
PyObject * obj1 = 0 ;
18562
PyObject * obj2 = 0 ;
18563
PyObject * obj3 = 0 ;
18564
PyObject * obj4 = 0 ;
18565
PyObject * obj5 = 0 ;
18566
char * kwnames[] = {
18567
(char *) "self",(char *) "paragraph",(char *) "dc",(char *) "attr",(char *) "rect",(char *) "text", NULL
18570
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOO:RichTextRenderer_DrawTextBullet",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
18571
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextRenderer, 0 | 0 );
18572
if (!SWIG_IsOK(res1)) {
18573
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextRenderer_DrawTextBullet" "', expected argument " "1"" of type '" "wxRichTextRenderer *""'");
18575
arg1 = reinterpret_cast< wxRichTextRenderer * >(argp1);
18576
res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxRichTextParagraph, 0 | 0 );
18577
if (!SWIG_IsOK(res2)) {
18578
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "RichTextRenderer_DrawTextBullet" "', expected argument " "2"" of type '" "wxRichTextParagraph *""'");
18580
arg2 = reinterpret_cast< wxRichTextParagraph * >(argp2);
18581
res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxDC, 0 );
18582
if (!SWIG_IsOK(res3)) {
18583
SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "RichTextRenderer_DrawTextBullet" "', expected argument " "3"" of type '" "wxDC &""'");
18586
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "RichTextRenderer_DrawTextBullet" "', expected argument " "3"" of type '" "wxDC &""'");
18588
arg3 = reinterpret_cast< wxDC * >(argp3);
18589
res4 = SWIG_ConvertPtr(obj3, &argp4, SWIGTYPE_p_wxTextAttrEx, 0 | 0);
18590
if (!SWIG_IsOK(res4)) {
18591
SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "RichTextRenderer_DrawTextBullet" "', expected argument " "4"" of type '" "wxTextAttrEx const &""'");
18594
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "RichTextRenderer_DrawTextBullet" "', expected argument " "4"" of type '" "wxTextAttrEx const &""'");
18596
arg4 = reinterpret_cast< wxTextAttrEx * >(argp4);
18599
if ( ! wxRect_helper(obj4, &arg5)) SWIG_fail;
18602
arg6 = wxString_in_helper(obj5);
18603
if (arg6 == NULL) SWIG_fail;
18607
PyThreadState* __tstate = wxPyBeginAllowThreads();
18608
result = (bool)(arg1)->DrawTextBullet(arg2,*arg3,(wxTextAttrEx const &)*arg4,(wxRect const &)*arg5,(wxString const &)*arg6);
18609
wxPyEndAllowThreads(__tstate);
18610
if (PyErr_Occurred()) SWIG_fail;
18613
resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18629
SWIGINTERN PyObject *_wrap_RichTextRenderer_DrawBitmapBullet(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18630
PyObject *resultobj = 0;
18631
wxRichTextRenderer *arg1 = (wxRichTextRenderer *) 0 ;
18632
wxRichTextParagraph *arg2 = (wxRichTextParagraph *) 0 ;
18634
wxTextAttrEx *arg4 = 0 ;
18646
PyObject * obj0 = 0 ;
18647
PyObject * obj1 = 0 ;
18648
PyObject * obj2 = 0 ;
18649
PyObject * obj3 = 0 ;
18650
PyObject * obj4 = 0 ;
18651
char * kwnames[] = {
18652
(char *) "self",(char *) "paragraph",(char *) "dc",(char *) "attr",(char *) "rect", NULL
18655
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:RichTextRenderer_DrawBitmapBullet",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
18656
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextRenderer, 0 | 0 );
18657
if (!SWIG_IsOK(res1)) {
18658
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextRenderer_DrawBitmapBullet" "', expected argument " "1"" of type '" "wxRichTextRenderer *""'");
18660
arg1 = reinterpret_cast< wxRichTextRenderer * >(argp1);
18661
res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxRichTextParagraph, 0 | 0 );
18662
if (!SWIG_IsOK(res2)) {
18663
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "RichTextRenderer_DrawBitmapBullet" "', expected argument " "2"" of type '" "wxRichTextParagraph *""'");
18665
arg2 = reinterpret_cast< wxRichTextParagraph * >(argp2);
18666
res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxDC, 0 );
18667
if (!SWIG_IsOK(res3)) {
18668
SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "RichTextRenderer_DrawBitmapBullet" "', expected argument " "3"" of type '" "wxDC &""'");
18671
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "RichTextRenderer_DrawBitmapBullet" "', expected argument " "3"" of type '" "wxDC &""'");
18673
arg3 = reinterpret_cast< wxDC * >(argp3);
18674
res4 = SWIG_ConvertPtr(obj3, &argp4, SWIGTYPE_p_wxTextAttrEx, 0 | 0);
18675
if (!SWIG_IsOK(res4)) {
18676
SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "RichTextRenderer_DrawBitmapBullet" "', expected argument " "4"" of type '" "wxTextAttrEx const &""'");
18679
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "RichTextRenderer_DrawBitmapBullet" "', expected argument " "4"" of type '" "wxTextAttrEx const &""'");
18681
arg4 = reinterpret_cast< wxTextAttrEx * >(argp4);
18684
if ( ! wxRect_helper(obj4, &arg5)) SWIG_fail;
18687
PyThreadState* __tstate = wxPyBeginAllowThreads();
18688
result = (bool)(arg1)->DrawBitmapBullet(arg2,*arg3,(wxTextAttrEx const &)*arg4,(wxRect const &)*arg5);
18689
wxPyEndAllowThreads(__tstate);
18690
if (PyErr_Occurred()) SWIG_fail;
18693
resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18701
SWIGINTERN PyObject *_wrap_RichTextRenderer_EnumerateStandardBulletNames(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18702
PyObject *resultobj = 0;
18703
wxRichTextRenderer *arg1 = (wxRichTextRenderer *) 0 ;
18704
wxArrayString *arg2 = 0 ;
18708
bool temp2 = false ;
18709
PyObject * obj0 = 0 ;
18710
PyObject * obj1 = 0 ;
18711
char * kwnames[] = {
18712
(char *) "self",(char *) "bulletNames", NULL
18715
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RichTextRenderer_EnumerateStandardBulletNames",kwnames,&obj0,&obj1)) SWIG_fail;
18716
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRichTextRenderer, 0 | 0 );
18717
if (!SWIG_IsOK(res1)) {
18718
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RichTextRenderer_EnumerateStandardBulletNames" "', expected argument " "1"" of type '" "wxRichTextRenderer *""'");
18720
arg1 = reinterpret_cast< wxRichTextRenderer * >(argp1);
18722
if (! PySequence_Check(obj1)) {
18723
PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
18726
arg2 = new wxArrayString;
18728
int i, len=PySequence_Length(obj1);
18729
for (i=0; i<len; i++) {
18730
PyObject* item = PySequence_GetItem(obj1, i);
18731
wxString* s = wxString_in_helper(item);
18732
if (PyErr_Occurred()) SWIG_fail;
18739
PyThreadState* __tstate = wxPyBeginAllowThreads();
18740
result = (bool)(arg1)->EnumerateStandardBulletNames(*arg2);
18741
wxPyEndAllowThreads(__tstate);
18742
if (PyErr_Occurred()) SWIG_fail;
18745
resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18748
if (temp2) delete arg2;
18753
if (temp2) delete arg2;
18759
SWIGINTERN PyObject *RichTextRenderer_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18761
if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
18762
SWIG_TypeNewClientData(SWIGTYPE_p_wxRichTextRenderer, SWIG_NewClientData(obj));
18763
return SWIG_Py_Void();
18766
SWIGINTERN PyObject *_wrap_new_RichTextStdRenderer(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18767
PyObject *resultobj = 0;
18768
wxRichTextStdRenderer *result = 0 ;
18770
if (!SWIG_Python_UnpackTuple(args,"new_RichTextStdRenderer",0,0,0)) SWIG_fail;
18772
PyThreadState* __tstate = wxPyBeginAllowThreads();
18773
result = (wxRichTextStdRenderer *)new wxRichTextStdRenderer();
18774
wxPyEndAllowThreads(__tstate);
18775
if (PyErr_Occurred()) SWIG_fail;
18777
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxRichTextStdRenderer, SWIG_POINTER_NEW | 0 );
18784
SWIGINTERN PyObject *RichTextStdRenderer_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18786
if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
18787
SWIG_TypeNewClientData(SWIGTYPE_p_wxRichTextStdRenderer, SWIG_NewClientData(obj));
18788
return SWIG_Py_Void();
18791
SWIGINTERN PyObject *RichTextStdRenderer_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18792
return SWIG_Python_InitShadowInstance(args);
18795
SWIGINTERN int RichTextCtrlNameStr_set(PyObject *) {
18796
SWIG_Error(SWIG_AttributeError,"Variable RichTextCtrlNameStr is read-only.");
18801
SWIGINTERN PyObject *RichTextCtrlNameStr_get(void) {
18802
PyObject *pyobj = 0;
18806
pyobj = PyUnicode_FromWideChar((&wxPyRichTextCtrlNameStr)->c_str(), (&wxPyRichTextCtrlNameStr)->Len());
18808
pyobj = PyString_FromStringAndSize((&wxPyRichTextCtrlNameStr)->c_str(), (&wxPyRichTextCtrlNameStr)->Len());
5778
18815
SWIGINTERN PyObject *_wrap_new_RichTextCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5779
18816
PyObject *resultobj = 0;
11916
26601
{ (char *)"RichTextRange_LimitTo", (PyCFunction) _wrap_RichTextRange_LimitTo, METH_VARARGS | METH_KEYWORDS, NULL},
11917
26602
{ (char *)"RichTextRange_GetLength", (PyCFunction)_wrap_RichTextRange_GetLength, METH_O, NULL},
11918
26603
{ (char *)"RichTextRange_Swap", (PyCFunction)_wrap_RichTextRange_Swap, METH_O, NULL},
26604
{ (char *)"RichTextRange_ToInternal", (PyCFunction)_wrap_RichTextRange_ToInternal, METH_O, NULL},
26605
{ (char *)"RichTextRange_FromInternal", (PyCFunction)_wrap_RichTextRange_FromInternal, METH_O, NULL},
11919
26606
{ (char *)"RichTextRange_Get", (PyCFunction)_wrap_RichTextRange_Get, METH_O, NULL},
11920
26607
{ (char *)"RichTextRange_swigregister", RichTextRange_swigregister, METH_VARARGS, NULL},
11921
26608
{ (char *)"RichTextRange_swiginit", RichTextRange_swiginit, METH_VARARGS, NULL},
11922
{ (char *)"new_RichTextAttr", (PyCFunction) _wrap_new_RichTextAttr, METH_VARARGS | METH_KEYWORDS, NULL},
11923
{ (char *)"delete_RichTextAttr", (PyCFunction)_wrap_delete_RichTextAttr, METH_O, NULL},
11924
{ (char *)"RichTextAttr_CreateFont", (PyCFunction)_wrap_RichTextAttr_CreateFont, METH_O, NULL},
11925
{ (char *)"RichTextAttr_GetFontAttributes", (PyCFunction) _wrap_RichTextAttr_GetFontAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
11926
{ (char *)"RichTextAttr_SetTextColour", (PyCFunction) _wrap_RichTextAttr_SetTextColour, METH_VARARGS | METH_KEYWORDS, NULL},
11927
{ (char *)"RichTextAttr_SetBackgroundColour", (PyCFunction) _wrap_RichTextAttr_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
11928
{ (char *)"RichTextAttr_SetAlignment", (PyCFunction) _wrap_RichTextAttr_SetAlignment, METH_VARARGS | METH_KEYWORDS, NULL},
11929
{ (char *)"RichTextAttr_SetTabs", (PyCFunction) _wrap_RichTextAttr_SetTabs, METH_VARARGS | METH_KEYWORDS, NULL},
11930
{ (char *)"RichTextAttr_SetLeftIndent", (PyCFunction) _wrap_RichTextAttr_SetLeftIndent, METH_VARARGS | METH_KEYWORDS, NULL},
11931
{ (char *)"RichTextAttr_SetRightIndent", (PyCFunction) _wrap_RichTextAttr_SetRightIndent, METH_VARARGS | METH_KEYWORDS, NULL},
11932
{ (char *)"RichTextAttr_SetFontSize", (PyCFunction) _wrap_RichTextAttr_SetFontSize, METH_VARARGS | METH_KEYWORDS, NULL},
11933
{ (char *)"RichTextAttr_SetFontStyle", (PyCFunction) _wrap_RichTextAttr_SetFontStyle, METH_VARARGS | METH_KEYWORDS, NULL},
11934
{ (char *)"RichTextAttr_SetFontWeight", (PyCFunction) _wrap_RichTextAttr_SetFontWeight, METH_VARARGS | METH_KEYWORDS, NULL},
11935
{ (char *)"RichTextAttr_SetFontFaceName", (PyCFunction) _wrap_RichTextAttr_SetFontFaceName, METH_VARARGS | METH_KEYWORDS, NULL},
11936
{ (char *)"RichTextAttr_SetFontUnderlined", (PyCFunction) _wrap_RichTextAttr_SetFontUnderlined, METH_VARARGS | METH_KEYWORDS, NULL},
11937
{ (char *)"RichTextAttr_SetFlags", (PyCFunction) _wrap_RichTextAttr_SetFlags, METH_VARARGS | METH_KEYWORDS, NULL},
11938
{ (char *)"RichTextAttr_SetCharacterStyleName", (PyCFunction) _wrap_RichTextAttr_SetCharacterStyleName, METH_VARARGS | METH_KEYWORDS, NULL},
11939
{ (char *)"RichTextAttr_SetParagraphStyleName", (PyCFunction) _wrap_RichTextAttr_SetParagraphStyleName, METH_VARARGS | METH_KEYWORDS, NULL},
11940
{ (char *)"RichTextAttr_SetParagraphSpacingAfter", (PyCFunction) _wrap_RichTextAttr_SetParagraphSpacingAfter, METH_VARARGS | METH_KEYWORDS, NULL},
11941
{ (char *)"RichTextAttr_SetParagraphSpacingBefore", (PyCFunction) _wrap_RichTextAttr_SetParagraphSpacingBefore, METH_VARARGS | METH_KEYWORDS, NULL},
11942
{ (char *)"RichTextAttr_SetLineSpacing", (PyCFunction) _wrap_RichTextAttr_SetLineSpacing, METH_VARARGS | METH_KEYWORDS, NULL},
11943
{ (char *)"RichTextAttr_SetBulletStyle", (PyCFunction) _wrap_RichTextAttr_SetBulletStyle, METH_VARARGS | METH_KEYWORDS, NULL},
11944
{ (char *)"RichTextAttr_SetBulletNumber", (PyCFunction) _wrap_RichTextAttr_SetBulletNumber, METH_VARARGS | METH_KEYWORDS, NULL},
11945
{ (char *)"RichTextAttr_SetBulletText", (PyCFunction) _wrap_RichTextAttr_SetBulletText, METH_VARARGS | METH_KEYWORDS, NULL},
11946
{ (char *)"RichTextAttr_SetBulletFont", (PyCFunction) _wrap_RichTextAttr_SetBulletFont, METH_VARARGS | METH_KEYWORDS, NULL},
11947
{ (char *)"RichTextAttr_GetTextColour", (PyCFunction)_wrap_RichTextAttr_GetTextColour, METH_O, NULL},
11948
{ (char *)"RichTextAttr_GetBackgroundColour", (PyCFunction)_wrap_RichTextAttr_GetBackgroundColour, METH_O, NULL},
11949
{ (char *)"RichTextAttr_GetAlignment", (PyCFunction)_wrap_RichTextAttr_GetAlignment, METH_O, NULL},
11950
{ (char *)"RichTextAttr_GetTabs", (PyCFunction)_wrap_RichTextAttr_GetTabs, METH_O, NULL},
11951
{ (char *)"RichTextAttr_GetLeftIndent", (PyCFunction)_wrap_RichTextAttr_GetLeftIndent, METH_O, NULL},
11952
{ (char *)"RichTextAttr_GetLeftSubIndent", (PyCFunction)_wrap_RichTextAttr_GetLeftSubIndent, METH_O, NULL},
11953
{ (char *)"RichTextAttr_GetRightIndent", (PyCFunction)_wrap_RichTextAttr_GetRightIndent, METH_O, NULL},
11954
{ (char *)"RichTextAttr_GetFlags", (PyCFunction)_wrap_RichTextAttr_GetFlags, METH_O, NULL},
11955
{ (char *)"RichTextAttr_GetFontSize", (PyCFunction)_wrap_RichTextAttr_GetFontSize, METH_O, NULL},
11956
{ (char *)"RichTextAttr_GetFontStyle", (PyCFunction)_wrap_RichTextAttr_GetFontStyle, METH_O, NULL},
11957
{ (char *)"RichTextAttr_GetFontWeight", (PyCFunction)_wrap_RichTextAttr_GetFontWeight, METH_O, NULL},
11958
{ (char *)"RichTextAttr_GetFontUnderlined", (PyCFunction)_wrap_RichTextAttr_GetFontUnderlined, METH_O, NULL},
11959
{ (char *)"RichTextAttr_GetFontFaceName", (PyCFunction)_wrap_RichTextAttr_GetFontFaceName, METH_O, NULL},
11960
{ (char *)"RichTextAttr_GetCharacterStyleName", (PyCFunction)_wrap_RichTextAttr_GetCharacterStyleName, METH_O, NULL},
11961
{ (char *)"RichTextAttr_GetParagraphStyleName", (PyCFunction)_wrap_RichTextAttr_GetParagraphStyleName, METH_O, NULL},
11962
{ (char *)"RichTextAttr_GetParagraphSpacingAfter", (PyCFunction)_wrap_RichTextAttr_GetParagraphSpacingAfter, METH_O, NULL},
11963
{ (char *)"RichTextAttr_GetParagraphSpacingBefore", (PyCFunction)_wrap_RichTextAttr_GetParagraphSpacingBefore, METH_O, NULL},
11964
{ (char *)"RichTextAttr_GetLineSpacing", (PyCFunction)_wrap_RichTextAttr_GetLineSpacing, METH_O, NULL},
11965
{ (char *)"RichTextAttr_GetBulletStyle", (PyCFunction)_wrap_RichTextAttr_GetBulletStyle, METH_O, NULL},
11966
{ (char *)"RichTextAttr_GetBulletNumber", (PyCFunction)_wrap_RichTextAttr_GetBulletNumber, METH_O, NULL},
11967
{ (char *)"RichTextAttr_GetBulletText", (PyCFunction)_wrap_RichTextAttr_GetBulletText, METH_O, NULL},
11968
{ (char *)"RichTextAttr_GetBulletFont", (PyCFunction)_wrap_RichTextAttr_GetBulletFont, METH_O, NULL},
11969
{ (char *)"RichTextAttr_HasTextColour", (PyCFunction)_wrap_RichTextAttr_HasTextColour, METH_O, NULL},
11970
{ (char *)"RichTextAttr_HasBackgroundColour", (PyCFunction)_wrap_RichTextAttr_HasBackgroundColour, METH_O, NULL},
11971
{ (char *)"RichTextAttr_HasAlignment", (PyCFunction)_wrap_RichTextAttr_HasAlignment, METH_O, NULL},
11972
{ (char *)"RichTextAttr_HasTabs", (PyCFunction)_wrap_RichTextAttr_HasTabs, METH_O, NULL},
11973
{ (char *)"RichTextAttr_HasLeftIndent", (PyCFunction)_wrap_RichTextAttr_HasLeftIndent, METH_O, NULL},
11974
{ (char *)"RichTextAttr_HasRightIndent", (PyCFunction)_wrap_RichTextAttr_HasRightIndent, METH_O, NULL},
11975
{ (char *)"RichTextAttr_HasFont", (PyCFunction)_wrap_RichTextAttr_HasFont, METH_O, NULL},
11976
{ (char *)"RichTextAttr_HasParagraphSpacingAfter", (PyCFunction)_wrap_RichTextAttr_HasParagraphSpacingAfter, METH_O, NULL},
11977
{ (char *)"RichTextAttr_HasParagraphSpacingBefore", (PyCFunction)_wrap_RichTextAttr_HasParagraphSpacingBefore, METH_O, NULL},
11978
{ (char *)"RichTextAttr_HasLineSpacing", (PyCFunction)_wrap_RichTextAttr_HasLineSpacing, METH_O, NULL},
11979
{ (char *)"RichTextAttr_HasCharacterStyleName", (PyCFunction)_wrap_RichTextAttr_HasCharacterStyleName, METH_O, NULL},
11980
{ (char *)"RichTextAttr_HasParagraphStyleName", (PyCFunction)_wrap_RichTextAttr_HasParagraphStyleName, METH_O, NULL},
11981
{ (char *)"RichTextAttr_HasBulletStyle", (PyCFunction)_wrap_RichTextAttr_HasBulletStyle, METH_O, NULL},
11982
{ (char *)"RichTextAttr_HasBulletNumber", (PyCFunction)_wrap_RichTextAttr_HasBulletNumber, METH_O, NULL},
11983
{ (char *)"RichTextAttr_HasBulletText", (PyCFunction)_wrap_RichTextAttr_HasBulletText, METH_O, NULL},
11984
{ (char *)"RichTextAttr_HasFlag", (PyCFunction) _wrap_RichTextAttr_HasFlag, METH_VARARGS | METH_KEYWORDS, NULL},
11985
{ (char *)"RichTextAttr_IsCharacterStyle", (PyCFunction)_wrap_RichTextAttr_IsCharacterStyle, METH_O, NULL},
11986
{ (char *)"RichTextAttr_IsParagraphStyle", (PyCFunction)_wrap_RichTextAttr_IsParagraphStyle, METH_O, NULL},
11987
{ (char *)"RichTextAttr_IsDefault", (PyCFunction)_wrap_RichTextAttr_IsDefault, METH_O, NULL},
11988
{ (char *)"RichTextAttr_swigregister", RichTextAttr_swigregister, METH_VARARGS, NULL},
11989
{ (char *)"RichTextAttr_swiginit", RichTextAttr_swiginit, METH_VARARGS, NULL},
26609
{ (char *)"new_TextAttrEx", (PyCFunction)_wrap_new_TextAttrEx, METH_NOARGS, NULL},
26610
{ (char *)"delete_TextAttrEx", (PyCFunction)_wrap_delete_TextAttrEx, METH_O, NULL},
26611
{ (char *)"TextAttrEx_Init", (PyCFunction)_wrap_TextAttrEx_Init, METH_O, NULL},
26612
{ (char *)"TextAttrEx_Copy", (PyCFunction) _wrap_TextAttrEx_Copy, METH_VARARGS | METH_KEYWORDS, NULL},
26613
{ (char *)"TextAttrEx_SetTextColour", (PyCFunction) _wrap_TextAttrEx_SetTextColour, METH_VARARGS | METH_KEYWORDS, NULL},
26614
{ (char *)"TextAttrEx_SetBackgroundColour", (PyCFunction) _wrap_TextAttrEx_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
26615
{ (char *)"TextAttrEx_SetFont", (PyCFunction) _wrap_TextAttrEx_SetFont, METH_VARARGS | METH_KEYWORDS, NULL},
26616
{ (char *)"TextAttrEx_SetAlignment", (PyCFunction) _wrap_TextAttrEx_SetAlignment, METH_VARARGS | METH_KEYWORDS, NULL},
26617
{ (char *)"TextAttrEx_SetTabs", (PyCFunction) _wrap_TextAttrEx_SetTabs, METH_VARARGS | METH_KEYWORDS, NULL},
26618
{ (char *)"TextAttrEx_SetLeftIndent", (PyCFunction) _wrap_TextAttrEx_SetLeftIndent, METH_VARARGS | METH_KEYWORDS, NULL},
26619
{ (char *)"TextAttrEx_SetRightIndent", (PyCFunction) _wrap_TextAttrEx_SetRightIndent, METH_VARARGS | METH_KEYWORDS, NULL},
26620
{ (char *)"TextAttrEx_SetFlags", (PyCFunction) _wrap_TextAttrEx_SetFlags, METH_VARARGS | METH_KEYWORDS, NULL},
26621
{ (char *)"TextAttrEx_HasTextColour", (PyCFunction)_wrap_TextAttrEx_HasTextColour, METH_O, NULL},
26622
{ (char *)"TextAttrEx_HasBackgroundColour", (PyCFunction)_wrap_TextAttrEx_HasBackgroundColour, METH_O, NULL},
26623
{ (char *)"TextAttrEx_HasFont", (PyCFunction)_wrap_TextAttrEx_HasFont, METH_O, NULL},
26624
{ (char *)"TextAttrEx_HasAlignment", (PyCFunction)_wrap_TextAttrEx_HasAlignment, METH_O, NULL},
26625
{ (char *)"TextAttrEx_HasTabs", (PyCFunction)_wrap_TextAttrEx_HasTabs, METH_O, NULL},
26626
{ (char *)"TextAttrEx_HasLeftIndent", (PyCFunction)_wrap_TextAttrEx_HasLeftIndent, METH_O, NULL},
26627
{ (char *)"TextAttrEx_HasRightIndent", (PyCFunction)_wrap_TextAttrEx_HasRightIndent, METH_O, NULL},
26628
{ (char *)"TextAttrEx_HasFlag", (PyCFunction) _wrap_TextAttrEx_HasFlag, METH_VARARGS | METH_KEYWORDS, NULL},
26629
{ (char *)"TextAttrEx_GetTextColour", (PyCFunction)_wrap_TextAttrEx_GetTextColour, METH_O, NULL},
26630
{ (char *)"TextAttrEx_GetBackgroundColour", (PyCFunction)_wrap_TextAttrEx_GetBackgroundColour, METH_O, NULL},
26631
{ (char *)"TextAttrEx_GetFont", (PyCFunction)_wrap_TextAttrEx_GetFont, METH_O, NULL},
26632
{ (char *)"TextAttrEx_GetAlignment", (PyCFunction)_wrap_TextAttrEx_GetAlignment, METH_O, NULL},
26633
{ (char *)"TextAttrEx_GetTabs", (PyCFunction)_wrap_TextAttrEx_GetTabs, METH_O, NULL},
26634
{ (char *)"TextAttrEx_GetLeftIndent", (PyCFunction)_wrap_TextAttrEx_GetLeftIndent, METH_O, NULL},
26635
{ (char *)"TextAttrEx_GetLeftSubIndent", (PyCFunction)_wrap_TextAttrEx_GetLeftSubIndent, METH_O, NULL},
26636
{ (char *)"TextAttrEx_GetRightIndent", (PyCFunction)_wrap_TextAttrEx_GetRightIndent, METH_O, NULL},
26637
{ (char *)"TextAttrEx_GetFlags", (PyCFunction)_wrap_TextAttrEx_GetFlags, METH_O, NULL},
26638
{ (char *)"TextAttrEx_SetCharacterStyleName", (PyCFunction) _wrap_TextAttrEx_SetCharacterStyleName, METH_VARARGS | METH_KEYWORDS, NULL},
26639
{ (char *)"TextAttrEx_SetParagraphStyleName", (PyCFunction) _wrap_TextAttrEx_SetParagraphStyleName, METH_VARARGS | METH_KEYWORDS, NULL},
26640
{ (char *)"TextAttrEx_SetListStyleName", (PyCFunction) _wrap_TextAttrEx_SetListStyleName, METH_VARARGS | METH_KEYWORDS, NULL},
26641
{ (char *)"TextAttrEx_SetParagraphSpacingAfter", (PyCFunction) _wrap_TextAttrEx_SetParagraphSpacingAfter, METH_VARARGS | METH_KEYWORDS, NULL},
26642
{ (char *)"TextAttrEx_SetParagraphSpacingBefore", (PyCFunction) _wrap_TextAttrEx_SetParagraphSpacingBefore, METH_VARARGS | METH_KEYWORDS, NULL},
26643
{ (char *)"TextAttrEx_SetLineSpacing", (PyCFunction) _wrap_TextAttrEx_SetLineSpacing, METH_VARARGS | METH_KEYWORDS, NULL},
26644
{ (char *)"TextAttrEx_SetBulletStyle", (PyCFunction) _wrap_TextAttrEx_SetBulletStyle, METH_VARARGS | METH_KEYWORDS, NULL},
26645
{ (char *)"TextAttrEx_SetBulletNumber", (PyCFunction) _wrap_TextAttrEx_SetBulletNumber, METH_VARARGS | METH_KEYWORDS, NULL},
26646
{ (char *)"TextAttrEx_SetBulletText", (PyCFunction) _wrap_TextAttrEx_SetBulletText, METH_VARARGS | METH_KEYWORDS, NULL},
26647
{ (char *)"TextAttrEx_SetBulletName", (PyCFunction) _wrap_TextAttrEx_SetBulletName, METH_VARARGS | METH_KEYWORDS, NULL},
26648
{ (char *)"TextAttrEx_SetBulletFont", (PyCFunction) _wrap_TextAttrEx_SetBulletFont, METH_VARARGS | METH_KEYWORDS, NULL},
26649
{ (char *)"TextAttrEx_SetURL", (PyCFunction) _wrap_TextAttrEx_SetURL, METH_VARARGS | METH_KEYWORDS, NULL},
26650
{ (char *)"TextAttrEx_SetPageBreak", (PyCFunction) _wrap_TextAttrEx_SetPageBreak, METH_VARARGS | METH_KEYWORDS, NULL},
26651
{ (char *)"TextAttrEx_SetTextEffects", (PyCFunction) _wrap_TextAttrEx_SetTextEffects, METH_VARARGS | METH_KEYWORDS, NULL},
26652
{ (char *)"TextAttrEx_SetTextEffectFlags", (PyCFunction) _wrap_TextAttrEx_SetTextEffectFlags, METH_VARARGS | METH_KEYWORDS, NULL},
26653
{ (char *)"TextAttrEx_SetOutlineLevel", (PyCFunction) _wrap_TextAttrEx_SetOutlineLevel, METH_VARARGS | METH_KEYWORDS, NULL},
26654
{ (char *)"TextAttrEx_GetCharacterStyleName", (PyCFunction)_wrap_TextAttrEx_GetCharacterStyleName, METH_O, NULL},
26655
{ (char *)"TextAttrEx_GetParagraphStyleName", (PyCFunction)_wrap_TextAttrEx_GetParagraphStyleName, METH_O, NULL},
26656
{ (char *)"TextAttrEx_GetListStyleName", (PyCFunction)_wrap_TextAttrEx_GetListStyleName, METH_O, NULL},
26657
{ (char *)"TextAttrEx_GetParagraphSpacingAfter", (PyCFunction)_wrap_TextAttrEx_GetParagraphSpacingAfter, METH_O, NULL},
26658
{ (char *)"TextAttrEx_GetParagraphSpacingBefore", (PyCFunction)_wrap_TextAttrEx_GetParagraphSpacingBefore, METH_O, NULL},
26659
{ (char *)"TextAttrEx_GetLineSpacing", (PyCFunction)_wrap_TextAttrEx_GetLineSpacing, METH_O, NULL},
26660
{ (char *)"TextAttrEx_GetBulletStyle", (PyCFunction)_wrap_TextAttrEx_GetBulletStyle, METH_O, NULL},
26661
{ (char *)"TextAttrEx_GetBulletNumber", (PyCFunction)_wrap_TextAttrEx_GetBulletNumber, METH_O, NULL},
26662
{ (char *)"TextAttrEx_GetBulletText", (PyCFunction)_wrap_TextAttrEx_GetBulletText, METH_O, NULL},
26663
{ (char *)"TextAttrEx_GetBulletName", (PyCFunction)_wrap_TextAttrEx_GetBulletName, METH_O, NULL},
26664
{ (char *)"TextAttrEx_GetBulletFont", (PyCFunction)_wrap_TextAttrEx_GetBulletFont, METH_O, NULL},
26665
{ (char *)"TextAttrEx_GetURL", (PyCFunction)_wrap_TextAttrEx_GetURL, METH_O, NULL},
26666
{ (char *)"TextAttrEx_GetTextEffects", (PyCFunction)_wrap_TextAttrEx_GetTextEffects, METH_O, NULL},
26667
{ (char *)"TextAttrEx_GetTextEffectFlags", (PyCFunction)_wrap_TextAttrEx_GetTextEffectFlags, METH_O, NULL},
26668
{ (char *)"TextAttrEx_GetOutlineLevel", (PyCFunction)_wrap_TextAttrEx_GetOutlineLevel, METH_O, NULL},
26669
{ (char *)"TextAttrEx_HasFontWeight", (PyCFunction)_wrap_TextAttrEx_HasFontWeight, METH_O, NULL},
26670
{ (char *)"TextAttrEx_HasFontSize", (PyCFunction)_wrap_TextAttrEx_HasFontSize, METH_O, NULL},
26671
{ (char *)"TextAttrEx_HasFontItalic", (PyCFunction)_wrap_TextAttrEx_HasFontItalic, METH_O, NULL},
26672
{ (char *)"TextAttrEx_HasFontUnderlined", (PyCFunction)_wrap_TextAttrEx_HasFontUnderlined, METH_O, NULL},
26673
{ (char *)"TextAttrEx_HasFontFaceName", (PyCFunction)_wrap_TextAttrEx_HasFontFaceName, METH_O, NULL},
26674
{ (char *)"TextAttrEx_HasParagraphSpacingAfter", (PyCFunction)_wrap_TextAttrEx_HasParagraphSpacingAfter, METH_O, NULL},
26675
{ (char *)"TextAttrEx_HasParagraphSpacingBefore", (PyCFunction)_wrap_TextAttrEx_HasParagraphSpacingBefore, METH_O, NULL},
26676
{ (char *)"TextAttrEx_HasLineSpacing", (PyCFunction)_wrap_TextAttrEx_HasLineSpacing, METH_O, NULL},
26677
{ (char *)"TextAttrEx_HasCharacterStyleName", (PyCFunction)_wrap_TextAttrEx_HasCharacterStyleName, METH_O, NULL},
26678
{ (char *)"TextAttrEx_HasParagraphStyleName", (PyCFunction)_wrap_TextAttrEx_HasParagraphStyleName, METH_O, NULL},
26679
{ (char *)"TextAttrEx_HasListStyleName", (PyCFunction)_wrap_TextAttrEx_HasListStyleName, METH_O, NULL},
26680
{ (char *)"TextAttrEx_HasBulletStyle", (PyCFunction)_wrap_TextAttrEx_HasBulletStyle, METH_O, NULL},
26681
{ (char *)"TextAttrEx_HasBulletNumber", (PyCFunction)_wrap_TextAttrEx_HasBulletNumber, METH_O, NULL},
26682
{ (char *)"TextAttrEx_HasBulletText", (PyCFunction)_wrap_TextAttrEx_HasBulletText, METH_O, NULL},
26683
{ (char *)"TextAttrEx_HasBulletName", (PyCFunction)_wrap_TextAttrEx_HasBulletName, METH_O, NULL},
26684
{ (char *)"TextAttrEx_HasURL", (PyCFunction)_wrap_TextAttrEx_HasURL, METH_O, NULL},
26685
{ (char *)"TextAttrEx_HasPageBreak", (PyCFunction)_wrap_TextAttrEx_HasPageBreak, METH_O, NULL},
26686
{ (char *)"TextAttrEx_HasTextEffects", (PyCFunction)_wrap_TextAttrEx_HasTextEffects, METH_O, NULL},
26687
{ (char *)"TextAttrEx_HasTextEffect", (PyCFunction) _wrap_TextAttrEx_HasTextEffect, METH_VARARGS | METH_KEYWORDS, NULL},
26688
{ (char *)"TextAttrEx_HasOutlineLevel", (PyCFunction)_wrap_TextAttrEx_HasOutlineLevel, METH_O, NULL},
26689
{ (char *)"TextAttrEx_IsCharacterStyle", (PyCFunction)_wrap_TextAttrEx_IsCharacterStyle, METH_O, NULL},
26690
{ (char *)"TextAttrEx_IsParagraphStyle", (PyCFunction)_wrap_TextAttrEx_IsParagraphStyle, METH_O, NULL},
26691
{ (char *)"TextAttrEx_IsDefault", (PyCFunction)_wrap_TextAttrEx_IsDefault, METH_O, NULL},
26692
{ (char *)"TextAttrEx_CombineEx", (PyCFunction) _wrap_TextAttrEx_CombineEx, METH_VARARGS | METH_KEYWORDS, NULL},
26693
{ (char *)"TextAttrEx_swigregister", TextAttrEx_swigregister, METH_VARARGS, NULL},
26694
{ (char *)"TextAttrEx_swiginit", TextAttrEx_swiginit, METH_VARARGS, NULL},
26695
{ (char *)"delete_RichTextObject", (PyCFunction)_wrap_delete_RichTextObject, METH_O, NULL},
26696
{ (char *)"RichTextObject_Draw", (PyCFunction) _wrap_RichTextObject_Draw, METH_VARARGS | METH_KEYWORDS, NULL},
26697
{ (char *)"RichTextObject_Layout", (PyCFunction) _wrap_RichTextObject_Layout, METH_VARARGS | METH_KEYWORDS, NULL},
26698
{ (char *)"RichTextObject_HitTest", (PyCFunction) _wrap_RichTextObject_HitTest, METH_VARARGS | METH_KEYWORDS, NULL},
26699
{ (char *)"RichTextObject_FindPosition", (PyCFunction) _wrap_RichTextObject_FindPosition, METH_VARARGS | METH_KEYWORDS, NULL},
26700
{ (char *)"RichTextObject_GetBestSize", (PyCFunction)_wrap_RichTextObject_GetBestSize, METH_O, NULL},
26701
{ (char *)"RichTextObject_GetRangeSize", (PyCFunction) _wrap_RichTextObject_GetRangeSize, METH_VARARGS | METH_KEYWORDS, NULL},
26702
{ (char *)"RichTextObject_DoSplit", (PyCFunction) _wrap_RichTextObject_DoSplit, METH_VARARGS | METH_KEYWORDS, NULL},
26703
{ (char *)"RichTextObject_CalculateRange", (PyCFunction) _wrap_RichTextObject_CalculateRange, METH_VARARGS | METH_KEYWORDS, NULL},
26704
{ (char *)"RichTextObject_DeleteRange", (PyCFunction) _wrap_RichTextObject_DeleteRange, METH_VARARGS | METH_KEYWORDS, NULL},
26705
{ (char *)"RichTextObject_IsEmpty", (PyCFunction)_wrap_RichTextObject_IsEmpty, METH_O, NULL},
26706
{ (char *)"RichTextObject_GetTextForRange", (PyCFunction) _wrap_RichTextObject_GetTextForRange, METH_VARARGS | METH_KEYWORDS, NULL},
26707
{ (char *)"RichTextObject_CanMerge", (PyCFunction) _wrap_RichTextObject_CanMerge, METH_VARARGS | METH_KEYWORDS, NULL},
26708
{ (char *)"RichTextObject_Merge", (PyCFunction) _wrap_RichTextObject_Merge, METH_VARARGS | METH_KEYWORDS, NULL},
26709
{ (char *)"RichTextObject_Dump", (PyCFunction)_wrap_RichTextObject_Dump, METH_O, NULL},
26710
{ (char *)"RichTextObject_GetCachedSize", (PyCFunction)_wrap_RichTextObject_GetCachedSize, METH_O, NULL},
26711
{ (char *)"RichTextObject_SetCachedSize", (PyCFunction) _wrap_RichTextObject_SetCachedSize, METH_VARARGS | METH_KEYWORDS, NULL},
26712
{ (char *)"RichTextObject_GetPosition", (PyCFunction)_wrap_RichTextObject_GetPosition, METH_O, NULL},
26713
{ (char *)"RichTextObject_SetPosition", (PyCFunction) _wrap_RichTextObject_SetPosition, METH_VARARGS | METH_KEYWORDS, NULL},
26714
{ (char *)"RichTextObject_GetRect", (PyCFunction)_wrap_RichTextObject_GetRect, METH_O, NULL},
26715
{ (char *)"RichTextObject_SetRange", (PyCFunction) _wrap_RichTextObject_SetRange, METH_VARARGS | METH_KEYWORDS, NULL},
26716
{ (char *)"RichTextObject_GetRange", (PyCFunction)_wrap_RichTextObject_GetRange, METH_O, NULL},
26717
{ (char *)"RichTextObject_GetDirty", (PyCFunction)_wrap_RichTextObject_GetDirty, METH_O, NULL},
26718
{ (char *)"RichTextObject_SetDirty", (PyCFunction) _wrap_RichTextObject_SetDirty, METH_VARARGS | METH_KEYWORDS, NULL},
26719
{ (char *)"RichTextObject_IsComposite", (PyCFunction)_wrap_RichTextObject_IsComposite, METH_O, NULL},
26720
{ (char *)"RichTextObject_GetParent", (PyCFunction)_wrap_RichTextObject_GetParent, METH_O, NULL},
26721
{ (char *)"RichTextObject_SetParent", (PyCFunction) _wrap_RichTextObject_SetParent, METH_VARARGS | METH_KEYWORDS, NULL},
26722
{ (char *)"RichTextObject_SetSameMargins", (PyCFunction) _wrap_RichTextObject_SetSameMargins, METH_VARARGS | METH_KEYWORDS, NULL},
26723
{ (char *)"RichTextObject_SetMargins", (PyCFunction) _wrap_RichTextObject_SetMargins, METH_VARARGS | METH_KEYWORDS, NULL},
26724
{ (char *)"RichTextObject_GetLeftMargin", (PyCFunction)_wrap_RichTextObject_GetLeftMargin, METH_O, NULL},
26725
{ (char *)"RichTextObject_GetRightMargin", (PyCFunction)_wrap_RichTextObject_GetRightMargin, METH_O, NULL},
26726
{ (char *)"RichTextObject_GetTopMargin", (PyCFunction)_wrap_RichTextObject_GetTopMargin, METH_O, NULL},
26727
{ (char *)"RichTextObject_GetBottomMargin", (PyCFunction)_wrap_RichTextObject_GetBottomMargin, METH_O, NULL},
26728
{ (char *)"RichTextObject_SetAttributes", (PyCFunction) _wrap_RichTextObject_SetAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
26729
{ (char *)"RichTextObject_GetAttributes", (PyCFunction)_wrap_RichTextObject_GetAttributes, METH_O, NULL},
26730
{ (char *)"RichTextObject_SetDescent", (PyCFunction) _wrap_RichTextObject_SetDescent, METH_VARARGS | METH_KEYWORDS, NULL},
26731
{ (char *)"RichTextObject_GetDescent", (PyCFunction)_wrap_RichTextObject_GetDescent, METH_O, NULL},
26732
{ (char *)"RichTextObject_GetBuffer", (PyCFunction)_wrap_RichTextObject_GetBuffer, METH_O, NULL},
26733
{ (char *)"RichTextObject_Clone", (PyCFunction)_wrap_RichTextObject_Clone, METH_O, NULL},
26734
{ (char *)"RichTextObject_Copy", (PyCFunction) _wrap_RichTextObject_Copy, METH_VARARGS | METH_KEYWORDS, NULL},
26735
{ (char *)"RichTextObject_Reference", (PyCFunction)_wrap_RichTextObject_Reference, METH_O, NULL},
26736
{ (char *)"RichTextObject_Dereference", (PyCFunction)_wrap_RichTextObject_Dereference, METH_O, NULL},
26737
{ (char *)"RichTextObject_ConvertTenthsMMToPixelsDC", (PyCFunction) _wrap_RichTextObject_ConvertTenthsMMToPixelsDC, METH_VARARGS | METH_KEYWORDS, NULL},
26738
{ (char *)"RichTextObject_ConvertTenthsMMToPixels", (PyCFunction) _wrap_RichTextObject_ConvertTenthsMMToPixels, METH_VARARGS | METH_KEYWORDS, NULL},
26739
{ (char *)"RichTextObject_swigregister", RichTextObject_swigregister, METH_VARARGS, NULL},
26740
{ (char *)"delete_RichTextObjectList_iterator", (PyCFunction)_wrap_delete_RichTextObjectList_iterator, METH_O, NULL},
26741
{ (char *)"RichTextObjectList_iterator_next", (PyCFunction)_wrap_RichTextObjectList_iterator_next, METH_O, NULL},
26742
{ (char *)"RichTextObjectList_iterator_swigregister", RichTextObjectList_iterator_swigregister, METH_VARARGS, NULL},
26743
{ (char *)"delete_RichTextObjectList", (PyCFunction)_wrap_delete_RichTextObjectList, METH_O, NULL},
26744
{ (char *)"RichTextObjectList___len__", (PyCFunction)_wrap_RichTextObjectList___len__, METH_O, NULL},
26745
{ (char *)"RichTextObjectList___getitem__", (PyCFunction) _wrap_RichTextObjectList___getitem__, METH_VARARGS | METH_KEYWORDS, NULL},
26746
{ (char *)"RichTextObjectList___contains__", (PyCFunction) _wrap_RichTextObjectList___contains__, METH_VARARGS | METH_KEYWORDS, NULL},
26747
{ (char *)"RichTextObjectList___iter__", (PyCFunction)_wrap_RichTextObjectList___iter__, METH_O, NULL},
26748
{ (char *)"RichTextObjectList_index", (PyCFunction) _wrap_RichTextObjectList_index, METH_VARARGS | METH_KEYWORDS, NULL},
26749
{ (char *)"RichTextObjectList_swigregister", RichTextObjectList_swigregister, METH_VARARGS, NULL},
26750
{ (char *)"delete_RichTextCompositeObject", (PyCFunction)_wrap_delete_RichTextCompositeObject, METH_O, NULL},
26751
{ (char *)"RichTextCompositeObject_GetChildren", (PyCFunction)_wrap_RichTextCompositeObject_GetChildren, METH_O, NULL},
26752
{ (char *)"RichTextCompositeObject_GetChildCount", (PyCFunction)_wrap_RichTextCompositeObject_GetChildCount, METH_O, NULL},
26753
{ (char *)"RichTextCompositeObject_GetChild", (PyCFunction) _wrap_RichTextCompositeObject_GetChild, METH_VARARGS | METH_KEYWORDS, NULL},
26754
{ (char *)"RichTextCompositeObject_Copy", (PyCFunction) _wrap_RichTextCompositeObject_Copy, METH_VARARGS | METH_KEYWORDS, NULL},
26755
{ (char *)"RichTextCompositeObject_AppendChild", (PyCFunction) _wrap_RichTextCompositeObject_AppendChild, METH_VARARGS | METH_KEYWORDS, NULL},
26756
{ (char *)"RichTextCompositeObject_InsertChild", (PyCFunction) _wrap_RichTextCompositeObject_InsertChild, METH_VARARGS | METH_KEYWORDS, NULL},
26757
{ (char *)"RichTextCompositeObject_RemoveChild", (PyCFunction) _wrap_RichTextCompositeObject_RemoveChild, METH_VARARGS | METH_KEYWORDS, NULL},
26758
{ (char *)"RichTextCompositeObject_DeleteChildren", (PyCFunction)_wrap_RichTextCompositeObject_DeleteChildren, METH_O, NULL},
26759
{ (char *)"RichTextCompositeObject_Defragment", (PyCFunction)_wrap_RichTextCompositeObject_Defragment, METH_O, NULL},
26760
{ (char *)"RichTextCompositeObject_swigregister", RichTextCompositeObject_swigregister, METH_VARARGS, NULL},
26761
{ (char *)"new_RichTextBox", (PyCFunction) _wrap_new_RichTextBox, METH_VARARGS | METH_KEYWORDS, NULL},
26762
{ (char *)"RichTextBox_Copy", (PyCFunction) _wrap_RichTextBox_Copy, METH_VARARGS | METH_KEYWORDS, NULL},
26763
{ (char *)"RichTextBox_swigregister", RichTextBox_swigregister, METH_VARARGS, NULL},
26764
{ (char *)"RichTextBox_swiginit", RichTextBox_swiginit, METH_VARARGS, NULL},
26765
{ (char *)"new_RichTextParagraphLayoutBox", (PyCFunction) _wrap_new_RichTextParagraphLayoutBox, METH_VARARGS | METH_KEYWORDS, NULL},
26766
{ (char *)"RichTextParagraphLayoutBox_SetRichTextCtrl", (PyCFunction) _wrap_RichTextParagraphLayoutBox_SetRichTextCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
26767
{ (char *)"RichTextParagraphLayoutBox_GetRichTextCtrl", (PyCFunction)_wrap_RichTextParagraphLayoutBox_GetRichTextCtrl, METH_O, NULL},
26768
{ (char *)"RichTextParagraphLayoutBox_SetPartialParagraph", (PyCFunction) _wrap_RichTextParagraphLayoutBox_SetPartialParagraph, METH_VARARGS | METH_KEYWORDS, NULL},
26769
{ (char *)"RichTextParagraphLayoutBox_GetPartialParagraph", (PyCFunction)_wrap_RichTextParagraphLayoutBox_GetPartialParagraph, METH_O, NULL},
26770
{ (char *)"RichTextParagraphLayoutBox_GetStyleSheet", (PyCFunction)_wrap_RichTextParagraphLayoutBox_GetStyleSheet, METH_O, NULL},
26771
{ (char *)"RichTextParagraphLayoutBox_Init", (PyCFunction)_wrap_RichTextParagraphLayoutBox_Init, METH_O, NULL},
26772
{ (char *)"RichTextParagraphLayoutBox_Clear", (PyCFunction)_wrap_RichTextParagraphLayoutBox_Clear, METH_O, NULL},
26773
{ (char *)"RichTextParagraphLayoutBox_Reset", (PyCFunction)_wrap_RichTextParagraphLayoutBox_Reset, METH_O, NULL},
26774
{ (char *)"RichTextParagraphLayoutBox_AddParagraph", (PyCFunction) _wrap_RichTextParagraphLayoutBox_AddParagraph, METH_VARARGS | METH_KEYWORDS, NULL},
26775
{ (char *)"RichTextParagraphLayoutBox_AddImage", (PyCFunction) _wrap_RichTextParagraphLayoutBox_AddImage, METH_VARARGS | METH_KEYWORDS, NULL},
26776
{ (char *)"RichTextParagraphLayoutBox_AddParagraphs", (PyCFunction) _wrap_RichTextParagraphLayoutBox_AddParagraphs, METH_VARARGS | METH_KEYWORDS, NULL},
26777
{ (char *)"RichTextParagraphLayoutBox_GetLineAtPosition", (PyCFunction) _wrap_RichTextParagraphLayoutBox_GetLineAtPosition, METH_VARARGS | METH_KEYWORDS, NULL},
26778
{ (char *)"RichTextParagraphLayoutBox_GetLineAtYPosition", (PyCFunction) _wrap_RichTextParagraphLayoutBox_GetLineAtYPosition, METH_VARARGS | METH_KEYWORDS, NULL},
26779
{ (char *)"RichTextParagraphLayoutBox_GetParagraphAtPosition", (PyCFunction) _wrap_RichTextParagraphLayoutBox_GetParagraphAtPosition, METH_VARARGS | METH_KEYWORDS, NULL},
26780
{ (char *)"RichTextParagraphLayoutBox_GetLineSizeAtPosition", (PyCFunction) _wrap_RichTextParagraphLayoutBox_GetLineSizeAtPosition, METH_VARARGS | METH_KEYWORDS, NULL},
26781
{ (char *)"RichTextParagraphLayoutBox_GetVisibleLineNumber", (PyCFunction) _wrap_RichTextParagraphLayoutBox_GetVisibleLineNumber, METH_VARARGS | METH_KEYWORDS, NULL},
26782
{ (char *)"RichTextParagraphLayoutBox_GetLineForVisibleLineNumber", (PyCFunction) _wrap_RichTextParagraphLayoutBox_GetLineForVisibleLineNumber, METH_VARARGS | METH_KEYWORDS, NULL},
26783
{ (char *)"RichTextParagraphLayoutBox_GetLeafObjectAtPosition", (PyCFunction) _wrap_RichTextParagraphLayoutBox_GetLeafObjectAtPosition, METH_VARARGS | METH_KEYWORDS, NULL},
26784
{ (char *)"RichTextParagraphLayoutBox_GetParagraphAtLine", (PyCFunction) _wrap_RichTextParagraphLayoutBox_GetParagraphAtLine, METH_VARARGS | METH_KEYWORDS, NULL},
26785
{ (char *)"RichTextParagraphLayoutBox_GetParagraphForLine", (PyCFunction) _wrap_RichTextParagraphLayoutBox_GetParagraphForLine, METH_VARARGS | METH_KEYWORDS, NULL},
26786
{ (char *)"RichTextParagraphLayoutBox_GetParagraphLength", (PyCFunction) _wrap_RichTextParagraphLayoutBox_GetParagraphLength, METH_VARARGS | METH_KEYWORDS, NULL},
26787
{ (char *)"RichTextParagraphLayoutBox_GetParagraphCount", (PyCFunction)_wrap_RichTextParagraphLayoutBox_GetParagraphCount, METH_O, NULL},
26788
{ (char *)"RichTextParagraphLayoutBox_GetLineCount", (PyCFunction)_wrap_RichTextParagraphLayoutBox_GetLineCount, METH_O, NULL},
26789
{ (char *)"RichTextParagraphLayoutBox_GetParagraphText", (PyCFunction) _wrap_RichTextParagraphLayoutBox_GetParagraphText, METH_VARARGS | METH_KEYWORDS, NULL},
26790
{ (char *)"RichTextParagraphLayoutBox_XYToPosition", (PyCFunction) _wrap_RichTextParagraphLayoutBox_XYToPosition, METH_VARARGS | METH_KEYWORDS, NULL},
26791
{ (char *)"RichTextParagraphLayoutBox_PositionToXY", (PyCFunction) _wrap_RichTextParagraphLayoutBox_PositionToXY, METH_VARARGS | METH_KEYWORDS, NULL},
26792
{ (char *)"RichTextParagraphLayoutBox_SetStyle", (PyCFunction) _wrap_RichTextParagraphLayoutBox_SetStyle, METH_VARARGS | METH_KEYWORDS, NULL},
26793
{ (char *)"RichTextParagraphLayoutBox_GetStyle", (PyCFunction) _wrap_RichTextParagraphLayoutBox_GetStyle, METH_VARARGS | METH_KEYWORDS, NULL},
26794
{ (char *)"RichTextParagraphLayoutBox_GetUncombinedStyle", (PyCFunction) _wrap_RichTextParagraphLayoutBox_GetUncombinedStyle, METH_VARARGS | METH_KEYWORDS, NULL},
26795
{ (char *)"RichTextParagraphLayoutBox_GetStyleForRange", (PyCFunction) _wrap_RichTextParagraphLayoutBox_GetStyleForRange, METH_VARARGS | METH_KEYWORDS, NULL},
26796
{ (char *)"RichTextParagraphLayoutBox_CollectStyle", (PyCFunction) _wrap_RichTextParagraphLayoutBox_CollectStyle, METH_VARARGS | METH_KEYWORDS, NULL},
26797
{ (char *)"RichTextParagraphLayoutBox_SetListStyle", (PyCFunction) _wrap_RichTextParagraphLayoutBox_SetListStyle, METH_VARARGS | METH_KEYWORDS, NULL},
26798
{ (char *)"RichTextParagraphLayoutBox_ClearListStyle", (PyCFunction) _wrap_RichTextParagraphLayoutBox_ClearListStyle, METH_VARARGS | METH_KEYWORDS, NULL},
26799
{ (char *)"RichTextParagraphLayoutBox_NumberList", (PyCFunction) _wrap_RichTextParagraphLayoutBox_NumberList, METH_VARARGS | METH_KEYWORDS, NULL},
26800
{ (char *)"RichTextParagraphLayoutBox_PromoteList", (PyCFunction) _wrap_RichTextParagraphLayoutBox_PromoteList, METH_VARARGS | METH_KEYWORDS, NULL},
26801
{ (char *)"RichTextParagraphLayoutBox_DoNumberList", (PyCFunction) _wrap_RichTextParagraphLayoutBox_DoNumberList, METH_VARARGS | METH_KEYWORDS, NULL},
26802
{ (char *)"RichTextParagraphLayoutBox_FindNextParagraphNumber", (PyCFunction) _wrap_RichTextParagraphLayoutBox_FindNextParagraphNumber, METH_VARARGS | METH_KEYWORDS, NULL},
26803
{ (char *)"RichTextParagraphLayoutBox_HasCharacterAttributes", (PyCFunction) _wrap_RichTextParagraphLayoutBox_HasCharacterAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
26804
{ (char *)"RichTextParagraphLayoutBox_HasParagraphAttributes", (PyCFunction) _wrap_RichTextParagraphLayoutBox_HasParagraphAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
26805
{ (char *)"RichTextParagraphLayoutBox_InsertFragment", (PyCFunction) _wrap_RichTextParagraphLayoutBox_InsertFragment, METH_VARARGS | METH_KEYWORDS, NULL},
26806
{ (char *)"RichTextParagraphLayoutBox_CopyFragment", (PyCFunction) _wrap_RichTextParagraphLayoutBox_CopyFragment, METH_VARARGS | METH_KEYWORDS, NULL},
26807
{ (char *)"RichTextParagraphLayoutBox_ApplyStyleSheet", (PyCFunction) _wrap_RichTextParagraphLayoutBox_ApplyStyleSheet, METH_VARARGS | METH_KEYWORDS, NULL},
26808
{ (char *)"RichTextParagraphLayoutBox_Copy", (PyCFunction) _wrap_RichTextParagraphLayoutBox_Copy, METH_VARARGS | METH_KEYWORDS, NULL},
26809
{ (char *)"RichTextParagraphLayoutBox_UpdateRanges", (PyCFunction)_wrap_RichTextParagraphLayoutBox_UpdateRanges, METH_O, NULL},
26810
{ (char *)"RichTextParagraphLayoutBox_GetText", (PyCFunction)_wrap_RichTextParagraphLayoutBox_GetText, METH_O, NULL},
26811
{ (char *)"RichTextParagraphLayoutBox_SetDefaultStyle", (PyCFunction) _wrap_RichTextParagraphLayoutBox_SetDefaultStyle, METH_VARARGS | METH_KEYWORDS, NULL},
26812
{ (char *)"RichTextParagraphLayoutBox_GetDefaultStyle", (PyCFunction)_wrap_RichTextParagraphLayoutBox_GetDefaultStyle, METH_O, NULL},
26813
{ (char *)"RichTextParagraphLayoutBox_SetBasicStyle", (PyCFunction) _wrap_RichTextParagraphLayoutBox_SetBasicStyle, METH_VARARGS | METH_KEYWORDS, NULL},
26814
{ (char *)"RichTextParagraphLayoutBox_GetBasicStyle", (PyCFunction)_wrap_RichTextParagraphLayoutBox_GetBasicStyle, METH_O, NULL},
26815
{ (char *)"RichTextParagraphLayoutBox_Invalidate", (PyCFunction) _wrap_RichTextParagraphLayoutBox_Invalidate, METH_VARARGS | METH_KEYWORDS, NULL},
26816
{ (char *)"RichTextParagraphLayoutBox_GetInvalidRange", (PyCFunction) _wrap_RichTextParagraphLayoutBox_GetInvalidRange, METH_VARARGS | METH_KEYWORDS, NULL},
26817
{ (char *)"RichTextParagraphLayoutBox_swigregister", RichTextParagraphLayoutBox_swigregister, METH_VARARGS, NULL},
26818
{ (char *)"RichTextParagraphLayoutBox_swiginit", RichTextParagraphLayoutBox_swiginit, METH_VARARGS, NULL},
26819
{ (char *)"new_RichTextLine", (PyCFunction) _wrap_new_RichTextLine, METH_VARARGS | METH_KEYWORDS, NULL},
26820
{ (char *)"delete_RichTextLine", (PyCFunction)_wrap_delete_RichTextLine, METH_O, NULL},
26821
{ (char *)"RichTextLine_SetRange", (PyCFunction) _wrap_RichTextLine_SetRange, METH_VARARGS | METH_KEYWORDS, NULL},
26822
{ (char *)"RichTextLine_GetParent", (PyCFunction)_wrap_RichTextLine_GetParent, METH_O, NULL},
26823
{ (char *)"RichTextLine_GetRange", (PyCFunction)_wrap_RichTextLine_GetRange, METH_O, NULL},
26824
{ (char *)"RichTextLine_GetAbsoluteRange", (PyCFunction)_wrap_RichTextLine_GetAbsoluteRange, METH_O, NULL},
26825
{ (char *)"RichTextLine_GetSize", (PyCFunction)_wrap_RichTextLine_GetSize, METH_O, NULL},
26826
{ (char *)"RichTextLine_SetSize", (PyCFunction) _wrap_RichTextLine_SetSize, METH_VARARGS | METH_KEYWORDS, NULL},
26827
{ (char *)"RichTextLine_GetPosition", (PyCFunction)_wrap_RichTextLine_GetPosition, METH_O, NULL},
26828
{ (char *)"RichTextLine_SetPosition", (PyCFunction) _wrap_RichTextLine_SetPosition, METH_VARARGS | METH_KEYWORDS, NULL},
26829
{ (char *)"RichTextLine_GetAbsolutePosition", (PyCFunction)_wrap_RichTextLine_GetAbsolutePosition, METH_O, NULL},
26830
{ (char *)"RichTextLine_GetRect", (PyCFunction)_wrap_RichTextLine_GetRect, METH_O, NULL},
26831
{ (char *)"RichTextLine_SetDescent", (PyCFunction) _wrap_RichTextLine_SetDescent, METH_VARARGS | METH_KEYWORDS, NULL},
26832
{ (char *)"RichTextLine_GetDescent", (PyCFunction)_wrap_RichTextLine_GetDescent, METH_O, NULL},
26833
{ (char *)"RichTextLine_Init", (PyCFunction) _wrap_RichTextLine_Init, METH_VARARGS | METH_KEYWORDS, NULL},
26834
{ (char *)"RichTextLine_Copy", (PyCFunction) _wrap_RichTextLine_Copy, METH_VARARGS | METH_KEYWORDS, NULL},
26835
{ (char *)"RichTextLine_Clone", (PyCFunction)_wrap_RichTextLine_Clone, METH_O, NULL},
26836
{ (char *)"RichTextLine_swigregister", RichTextLine_swigregister, METH_VARARGS, NULL},
26837
{ (char *)"RichTextLine_swiginit", RichTextLine_swiginit, METH_VARARGS, NULL},
26838
{ (char *)"new_RichTextParagraph", (PyCFunction) _wrap_new_RichTextParagraph, METH_VARARGS | METH_KEYWORDS, NULL},
26839
{ (char *)"delete_RichTextParagraph", (PyCFunction)_wrap_delete_RichTextParagraph, METH_O, NULL},
26840
{ (char *)"RichTextParagraph_GetLines", (PyCFunction)_wrap_RichTextParagraph_GetLines, METH_O, NULL},
26841
{ (char *)"RichTextParagraph_Copy", (PyCFunction) _wrap_RichTextParagraph_Copy, METH_VARARGS | METH_KEYWORDS, NULL},
26842
{ (char *)"RichTextParagraph_ClearLines", (PyCFunction)_wrap_RichTextParagraph_ClearLines, METH_O, NULL},
26843
{ (char *)"RichTextParagraph_ApplyParagraphStyle", (PyCFunction) _wrap_RichTextParagraph_ApplyParagraphStyle, METH_VARARGS | METH_KEYWORDS, NULL},
26844
{ (char *)"RichTextParagraph_InsertText", (PyCFunction) _wrap_RichTextParagraph_InsertText, METH_VARARGS | METH_KEYWORDS, NULL},
26845
{ (char *)"RichTextParagraph_SplitAt", (PyCFunction) _wrap_RichTextParagraph_SplitAt, METH_VARARGS | METH_KEYWORDS, NULL},
26846
{ (char *)"RichTextParagraph_MoveToList", (PyCFunction) _wrap_RichTextParagraph_MoveToList, METH_VARARGS | METH_KEYWORDS, NULL},
26847
{ (char *)"RichTextParagraph_MoveFromList", (PyCFunction) _wrap_RichTextParagraph_MoveFromList, METH_VARARGS | METH_KEYWORDS, NULL},
26848
{ (char *)"RichTextParagraph_GetContiguousPlainText", (PyCFunction) _wrap_RichTextParagraph_GetContiguousPlainText, METH_VARARGS | METH_KEYWORDS, NULL},
26849
{ (char *)"RichTextParagraph_FindWrapPosition", (PyCFunction) _wrap_RichTextParagraph_FindWrapPosition, METH_VARARGS | METH_KEYWORDS, NULL},
26850
{ (char *)"RichTextParagraph_FindObjectAtPosition", (PyCFunction) _wrap_RichTextParagraph_FindObjectAtPosition, METH_VARARGS | METH_KEYWORDS, NULL},
26851
{ (char *)"RichTextParagraph_GetBulletText", (PyCFunction)_wrap_RichTextParagraph_GetBulletText, METH_O, NULL},
26852
{ (char *)"RichTextParagraph_AllocateLine", (PyCFunction) _wrap_RichTextParagraph_AllocateLine, METH_VARARGS | METH_KEYWORDS, NULL},
26853
{ (char *)"RichTextParagraph_ClearUnusedLines", (PyCFunction) _wrap_RichTextParagraph_ClearUnusedLines, METH_VARARGS | METH_KEYWORDS, NULL},
26854
{ (char *)"RichTextParagraph_GetCombinedAttributes", (PyCFunction) _wrap_RichTextParagraph_GetCombinedAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
26855
{ (char *)"RichTextParagraph_GetFirstLineBreakPosition", (PyCFunction) _wrap_RichTextParagraph_GetFirstLineBreakPosition, METH_VARARGS | METH_KEYWORDS, NULL},
26856
{ (char *)"RichTextParagraph_InitDefaultTabs", (PyCFunction)_wrap_RichTextParagraph_InitDefaultTabs, METH_NOARGS, NULL},
26857
{ (char *)"RichTextParagraph_ClearDefaultTabs", (PyCFunction)_wrap_RichTextParagraph_ClearDefaultTabs, METH_NOARGS, NULL},
26858
{ (char *)"RichTextParagraph_GetDefaultTabs", (PyCFunction)_wrap_RichTextParagraph_GetDefaultTabs, METH_NOARGS, NULL},
26859
{ (char *)"RichTextParagraph_swigregister", RichTextParagraph_swigregister, METH_VARARGS, NULL},
26860
{ (char *)"RichTextParagraph_swiginit", RichTextParagraph_swiginit, METH_VARARGS, NULL},
26861
{ (char *)"new_RichTextPlainText", (PyCFunction) _wrap_new_RichTextPlainText, METH_VARARGS | METH_KEYWORDS, NULL},
26862
{ (char *)"RichTextPlainText_GetFirstLineBreakPosition", (PyCFunction) _wrap_RichTextPlainText_GetFirstLineBreakPosition, METH_VARARGS | METH_KEYWORDS, NULL},
26863
{ (char *)"RichTextPlainText_GetText", (PyCFunction)_wrap_RichTextPlainText_GetText, METH_O, NULL},
26864
{ (char *)"RichTextPlainText_SetText", (PyCFunction) _wrap_RichTextPlainText_SetText, METH_VARARGS | METH_KEYWORDS, NULL},
26865
{ (char *)"RichTextPlainText_Copy", (PyCFunction) _wrap_RichTextPlainText_Copy, METH_VARARGS | METH_KEYWORDS, NULL},
26866
{ (char *)"RichTextPlainText_swigregister", RichTextPlainText_swigregister, METH_VARARGS, NULL},
26867
{ (char *)"RichTextPlainText_swiginit", RichTextPlainText_swiginit, METH_VARARGS, NULL},
26868
{ (char *)"new_RichTextImage", (PyCFunction) _wrap_new_RichTextImage, METH_VARARGS | METH_KEYWORDS, NULL},
26869
{ (char *)"RichTextImage_GetImage", (PyCFunction)_wrap_RichTextImage_GetImage, METH_O, NULL},
26870
{ (char *)"RichTextImage_SetImage", (PyCFunction) _wrap_RichTextImage_SetImage, METH_VARARGS | METH_KEYWORDS, NULL},
26871
{ (char *)"RichTextImage_GetImageBlock", (PyCFunction)_wrap_RichTextImage_GetImageBlock, METH_O, NULL},
26872
{ (char *)"RichTextImage_Copy", (PyCFunction) _wrap_RichTextImage_Copy, METH_VARARGS | METH_KEYWORDS, NULL},
26873
{ (char *)"RichTextImage_LoadFromBlock", (PyCFunction)_wrap_RichTextImage_LoadFromBlock, METH_O, NULL},
26874
{ (char *)"RichTextImage_MakeBlock", (PyCFunction)_wrap_RichTextImage_MakeBlock, METH_O, NULL},
26875
{ (char *)"RichTextImage_swigregister", RichTextImage_swigregister, METH_VARARGS, NULL},
26876
{ (char *)"RichTextImage_swiginit", RichTextImage_swiginit, METH_VARARGS, NULL},
26877
{ (char *)"delete_RichTextFileHandlerList_iterator", (PyCFunction)_wrap_delete_RichTextFileHandlerList_iterator, METH_O, NULL},
26878
{ (char *)"RichTextFileHandlerList_iterator_next", (PyCFunction)_wrap_RichTextFileHandlerList_iterator_next, METH_O, NULL},
26879
{ (char *)"RichTextFileHandlerList_iterator_swigregister", RichTextFileHandlerList_iterator_swigregister, METH_VARARGS, NULL},
26880
{ (char *)"delete_RichTextFileHandlerList", (PyCFunction)_wrap_delete_RichTextFileHandlerList, METH_O, NULL},
26881
{ (char *)"RichTextFileHandlerList___len__", (PyCFunction)_wrap_RichTextFileHandlerList___len__, METH_O, NULL},
26882
{ (char *)"RichTextFileHandlerList___getitem__", (PyCFunction) _wrap_RichTextFileHandlerList___getitem__, METH_VARARGS | METH_KEYWORDS, NULL},
26883
{ (char *)"RichTextFileHandlerList___contains__", (PyCFunction) _wrap_RichTextFileHandlerList___contains__, METH_VARARGS | METH_KEYWORDS, NULL},
26884
{ (char *)"RichTextFileHandlerList___iter__", (PyCFunction)_wrap_RichTextFileHandlerList___iter__, METH_O, NULL},
26885
{ (char *)"RichTextFileHandlerList_swigregister", RichTextFileHandlerList_swigregister, METH_VARARGS, NULL},
26886
{ (char *)"new_RichTextBuffer", (PyCFunction)_wrap_new_RichTextBuffer, METH_NOARGS, NULL},
26887
{ (char *)"delete_RichTextBuffer", (PyCFunction)_wrap_delete_RichTextBuffer, METH_O, NULL},
26888
{ (char *)"RichTextBuffer_GetCommandProcessor", (PyCFunction)_wrap_RichTextBuffer_GetCommandProcessor, METH_O, NULL},
26889
{ (char *)"RichTextBuffer_SetStyleSheet", (PyCFunction) _wrap_RichTextBuffer_SetStyleSheet, METH_VARARGS | METH_KEYWORDS, NULL},
26890
{ (char *)"RichTextBuffer_SetStyleSheetAndNotify", (PyCFunction) _wrap_RichTextBuffer_SetStyleSheetAndNotify, METH_VARARGS | METH_KEYWORDS, NULL},
26891
{ (char *)"RichTextBuffer_PushStyleSheet", (PyCFunction) _wrap_RichTextBuffer_PushStyleSheet, METH_VARARGS | METH_KEYWORDS, NULL},
26892
{ (char *)"RichTextBuffer_PopStyleSheet", (PyCFunction)_wrap_RichTextBuffer_PopStyleSheet, METH_O, NULL},
26893
{ (char *)"RichTextBuffer_Init", (PyCFunction)_wrap_RichTextBuffer_Init, METH_O, NULL},
26894
{ (char *)"RichTextBuffer_ResetAndClearCommands", (PyCFunction)_wrap_RichTextBuffer_ResetAndClearCommands, METH_O, NULL},
26895
{ (char *)"RichTextBuffer_LoadFile", (PyCFunction) _wrap_RichTextBuffer_LoadFile, METH_VARARGS | METH_KEYWORDS, NULL},
26896
{ (char *)"RichTextBuffer_SaveFile", (PyCFunction) _wrap_RichTextBuffer_SaveFile, METH_VARARGS | METH_KEYWORDS, NULL},
26897
{ (char *)"RichTextBuffer_LoadStream", (PyCFunction) _wrap_RichTextBuffer_LoadStream, METH_VARARGS | METH_KEYWORDS, NULL},
26898
{ (char *)"RichTextBuffer_SaveStream", (PyCFunction) _wrap_RichTextBuffer_SaveStream, METH_VARARGS | METH_KEYWORDS, NULL},
26899
{ (char *)"RichTextBuffer_SetHandlerFlags", (PyCFunction) _wrap_RichTextBuffer_SetHandlerFlags, METH_VARARGS | METH_KEYWORDS, NULL},
26900
{ (char *)"RichTextBuffer_GetHandlerFlags", (PyCFunction)_wrap_RichTextBuffer_GetHandlerFlags, METH_O, NULL},
26901
{ (char *)"RichTextBuffer_BeginBatchUndo", (PyCFunction) _wrap_RichTextBuffer_BeginBatchUndo, METH_VARARGS | METH_KEYWORDS, NULL},
26902
{ (char *)"RichTextBuffer_EndBatchUndo", (PyCFunction)_wrap_RichTextBuffer_EndBatchUndo, METH_O, NULL},
26903
{ (char *)"RichTextBuffer_BatchingUndo", (PyCFunction)_wrap_RichTextBuffer_BatchingUndo, METH_O, NULL},
26904
{ (char *)"RichTextBuffer_SubmitAction", (PyCFunction) _wrap_RichTextBuffer_SubmitAction, METH_VARARGS | METH_KEYWORDS, NULL},
26905
{ (char *)"RichTextBuffer_GetBatchedCommand", (PyCFunction)_wrap_RichTextBuffer_GetBatchedCommand, METH_O, NULL},
26906
{ (char *)"RichTextBuffer_BeginSuppressUndo", (PyCFunction)_wrap_RichTextBuffer_BeginSuppressUndo, METH_O, NULL},
26907
{ (char *)"RichTextBuffer_EndSuppressUndo", (PyCFunction)_wrap_RichTextBuffer_EndSuppressUndo, METH_O, NULL},
26908
{ (char *)"RichTextBuffer_SuppressingUndo", (PyCFunction)_wrap_RichTextBuffer_SuppressingUndo, METH_O, NULL},
26909
{ (char *)"RichTextBuffer_CopyToClipboard", (PyCFunction) _wrap_RichTextBuffer_CopyToClipboard, METH_VARARGS | METH_KEYWORDS, NULL},
26910
{ (char *)"RichTextBuffer_PasteFromClipboard", (PyCFunction) _wrap_RichTextBuffer_PasteFromClipboard, METH_VARARGS | METH_KEYWORDS, NULL},
26911
{ (char *)"RichTextBuffer_CanPasteFromClipboard", (PyCFunction)_wrap_RichTextBuffer_CanPasteFromClipboard, METH_O, NULL},
26912
{ (char *)"RichTextBuffer_BeginStyle", (PyCFunction) _wrap_RichTextBuffer_BeginStyle, METH_VARARGS | METH_KEYWORDS, NULL},
26913
{ (char *)"RichTextBuffer_EndStyle", (PyCFunction)_wrap_RichTextBuffer_EndStyle, METH_O, NULL},
26914
{ (char *)"RichTextBuffer_EndAllStyles", (PyCFunction)_wrap_RichTextBuffer_EndAllStyles, METH_O, NULL},
26915
{ (char *)"RichTextBuffer_ClearStyleStack", (PyCFunction)_wrap_RichTextBuffer_ClearStyleStack, METH_O, NULL},
26916
{ (char *)"RichTextBuffer_GetStyleStackSize", (PyCFunction)_wrap_RichTextBuffer_GetStyleStackSize, METH_O, NULL},
26917
{ (char *)"RichTextBuffer_BeginBold", (PyCFunction)_wrap_RichTextBuffer_BeginBold, METH_O, NULL},
26918
{ (char *)"RichTextBuffer_EndBold", (PyCFunction)_wrap_RichTextBuffer_EndBold, METH_O, NULL},
26919
{ (char *)"RichTextBuffer_BeginItalic", (PyCFunction)_wrap_RichTextBuffer_BeginItalic, METH_O, NULL},
26920
{ (char *)"RichTextBuffer_EndItalic", (PyCFunction)_wrap_RichTextBuffer_EndItalic, METH_O, NULL},
26921
{ (char *)"RichTextBuffer_BeginUnderline", (PyCFunction)_wrap_RichTextBuffer_BeginUnderline, METH_O, NULL},
26922
{ (char *)"RichTextBuffer_EndUnderline", (PyCFunction)_wrap_RichTextBuffer_EndUnderline, METH_O, NULL},
26923
{ (char *)"RichTextBuffer_BeginFontSize", (PyCFunction) _wrap_RichTextBuffer_BeginFontSize, METH_VARARGS | METH_KEYWORDS, NULL},
26924
{ (char *)"RichTextBuffer_EndFontSize", (PyCFunction)_wrap_RichTextBuffer_EndFontSize, METH_O, NULL},
26925
{ (char *)"RichTextBuffer_BeginFont", (PyCFunction) _wrap_RichTextBuffer_BeginFont, METH_VARARGS | METH_KEYWORDS, NULL},
26926
{ (char *)"RichTextBuffer_EndFont", (PyCFunction)_wrap_RichTextBuffer_EndFont, METH_O, NULL},
26927
{ (char *)"RichTextBuffer_BeginTextColour", (PyCFunction) _wrap_RichTextBuffer_BeginTextColour, METH_VARARGS | METH_KEYWORDS, NULL},
26928
{ (char *)"RichTextBuffer_EndTextColour", (PyCFunction)_wrap_RichTextBuffer_EndTextColour, METH_O, NULL},
26929
{ (char *)"RichTextBuffer_BeginAlignment", (PyCFunction) _wrap_RichTextBuffer_BeginAlignment, METH_VARARGS | METH_KEYWORDS, NULL},
26930
{ (char *)"RichTextBuffer_EndAlignment", (PyCFunction)_wrap_RichTextBuffer_EndAlignment, METH_O, NULL},
26931
{ (char *)"RichTextBuffer_BeginLeftIndent", (PyCFunction) _wrap_RichTextBuffer_BeginLeftIndent, METH_VARARGS | METH_KEYWORDS, NULL},
26932
{ (char *)"RichTextBuffer_EndLeftIndent", (PyCFunction)_wrap_RichTextBuffer_EndLeftIndent, METH_O, NULL},
26933
{ (char *)"RichTextBuffer_BeginRightIndent", (PyCFunction) _wrap_RichTextBuffer_BeginRightIndent, METH_VARARGS | METH_KEYWORDS, NULL},
26934
{ (char *)"RichTextBuffer_EndRightIndent", (PyCFunction)_wrap_RichTextBuffer_EndRightIndent, METH_O, NULL},
26935
{ (char *)"RichTextBuffer_BeginParagraphSpacing", (PyCFunction) _wrap_RichTextBuffer_BeginParagraphSpacing, METH_VARARGS | METH_KEYWORDS, NULL},
26936
{ (char *)"RichTextBuffer_EndParagraphSpacing", (PyCFunction)_wrap_RichTextBuffer_EndParagraphSpacing, METH_O, NULL},
26937
{ (char *)"RichTextBuffer_BeginLineSpacing", (PyCFunction) _wrap_RichTextBuffer_BeginLineSpacing, METH_VARARGS | METH_KEYWORDS, NULL},
26938
{ (char *)"RichTextBuffer_EndLineSpacing", (PyCFunction)_wrap_RichTextBuffer_EndLineSpacing, METH_O, NULL},
26939
{ (char *)"RichTextBuffer_BeginNumberedBullet", (PyCFunction) _wrap_RichTextBuffer_BeginNumberedBullet, METH_VARARGS | METH_KEYWORDS, NULL},
26940
{ (char *)"RichTextBuffer_EndNumberedBullet", (PyCFunction)_wrap_RichTextBuffer_EndNumberedBullet, METH_O, NULL},
26941
{ (char *)"RichTextBuffer_BeginSymbolBullet", (PyCFunction) _wrap_RichTextBuffer_BeginSymbolBullet, METH_VARARGS | METH_KEYWORDS, NULL},
26942
{ (char *)"RichTextBuffer_EndSymbolBullet", (PyCFunction)_wrap_RichTextBuffer_EndSymbolBullet, METH_O, NULL},
26943
{ (char *)"RichTextBuffer_BeginStandardBullet", (PyCFunction) _wrap_RichTextBuffer_BeginStandardBullet, METH_VARARGS | METH_KEYWORDS, NULL},
26944
{ (char *)"RichTextBuffer_EndStandardBullet", (PyCFunction)_wrap_RichTextBuffer_EndStandardBullet, METH_O, NULL},
26945
{ (char *)"RichTextBuffer_BeginCharacterStyle", (PyCFunction) _wrap_RichTextBuffer_BeginCharacterStyle, METH_VARARGS | METH_KEYWORDS, NULL},
26946
{ (char *)"RichTextBuffer_EndCharacterStyle", (PyCFunction)_wrap_RichTextBuffer_EndCharacterStyle, METH_O, NULL},
26947
{ (char *)"RichTextBuffer_BeginParagraphStyle", (PyCFunction) _wrap_RichTextBuffer_BeginParagraphStyle, METH_VARARGS | METH_KEYWORDS, NULL},
26948
{ (char *)"RichTextBuffer_EndParagraphStyle", (PyCFunction)_wrap_RichTextBuffer_EndParagraphStyle, METH_O, NULL},
26949
{ (char *)"RichTextBuffer_BeginListStyle", (PyCFunction) _wrap_RichTextBuffer_BeginListStyle, METH_VARARGS | METH_KEYWORDS, NULL},
26950
{ (char *)"RichTextBuffer_EndListStyle", (PyCFunction)_wrap_RichTextBuffer_EndListStyle, METH_O, NULL},
26951
{ (char *)"RichTextBuffer_BeginURL", (PyCFunction) _wrap_RichTextBuffer_BeginURL, METH_VARARGS | METH_KEYWORDS, NULL},
26952
{ (char *)"RichTextBuffer_EndURL", (PyCFunction)_wrap_RichTextBuffer_EndURL, METH_O, NULL},
26953
{ (char *)"RichTextBuffer_AddEventHandler", (PyCFunction) _wrap_RichTextBuffer_AddEventHandler, METH_VARARGS | METH_KEYWORDS, NULL},
26954
{ (char *)"RichTextBuffer_RemoveEventHandler", (PyCFunction) _wrap_RichTextBuffer_RemoveEventHandler, METH_VARARGS | METH_KEYWORDS, NULL},
26955
{ (char *)"RichTextBuffer_ClearEventHandlers", (PyCFunction)_wrap_RichTextBuffer_ClearEventHandlers, METH_O, NULL},
26956
{ (char *)"RichTextBuffer_SendEvent", (PyCFunction) _wrap_RichTextBuffer_SendEvent, METH_VARARGS | METH_KEYWORDS, NULL},
26957
{ (char *)"RichTextBuffer_Copy", (PyCFunction) _wrap_RichTextBuffer_Copy, METH_VARARGS | METH_KEYWORDS, NULL},
26958
{ (char *)"RichTextBuffer_InsertParagraphsWithUndo", (PyCFunction) _wrap_RichTextBuffer_InsertParagraphsWithUndo, METH_VARARGS | METH_KEYWORDS, NULL},
26959
{ (char *)"RichTextBuffer_InsertTextWithUndo", (PyCFunction) _wrap_RichTextBuffer_InsertTextWithUndo, METH_VARARGS | METH_KEYWORDS, NULL},
26960
{ (char *)"RichTextBuffer_InsertNewlineWithUndo", (PyCFunction) _wrap_RichTextBuffer_InsertNewlineWithUndo, METH_VARARGS | METH_KEYWORDS, NULL},
26961
{ (char *)"RichTextBuffer_InsertImageWithUndo", (PyCFunction) _wrap_RichTextBuffer_InsertImageWithUndo, METH_VARARGS | METH_KEYWORDS, NULL},
26962
{ (char *)"RichTextBuffer_DeleteRangeWithUndo", (PyCFunction) _wrap_RichTextBuffer_DeleteRangeWithUndo, METH_VARARGS | METH_KEYWORDS, NULL},
26963
{ (char *)"RichTextBuffer_Modify", (PyCFunction) _wrap_RichTextBuffer_Modify, METH_VARARGS | METH_KEYWORDS, NULL},
26964
{ (char *)"RichTextBuffer_IsModified", (PyCFunction)_wrap_RichTextBuffer_IsModified, METH_O, NULL},
26965
{ (char *)"RichTextBuffer_GetStyleForNewParagraph", (PyCFunction) _wrap_RichTextBuffer_GetStyleForNewParagraph, METH_VARARGS | METH_KEYWORDS, NULL},
26966
{ (char *)"RichTextBuffer_GetHandlers", (PyCFunction)_wrap_RichTextBuffer_GetHandlers, METH_NOARGS, NULL},
26967
{ (char *)"RichTextBuffer_AddHandler", (PyCFunction) _wrap_RichTextBuffer_AddHandler, METH_VARARGS | METH_KEYWORDS, NULL},
26968
{ (char *)"RichTextBuffer_InsertHandler", (PyCFunction) _wrap_RichTextBuffer_InsertHandler, METH_VARARGS | METH_KEYWORDS, NULL},
26969
{ (char *)"RichTextBuffer_RemoveHandler", (PyCFunction) _wrap_RichTextBuffer_RemoveHandler, METH_VARARGS | METH_KEYWORDS, NULL},
26970
{ (char *)"RichTextBuffer_FindHandlerByName", (PyCFunction) _wrap_RichTextBuffer_FindHandlerByName, METH_VARARGS | METH_KEYWORDS, NULL},
26971
{ (char *)"RichTextBuffer_FindHandlerByExtension", (PyCFunction) _wrap_RichTextBuffer_FindHandlerByExtension, METH_VARARGS | METH_KEYWORDS, NULL},
26972
{ (char *)"RichTextBuffer_FindHandlerByFilename", (PyCFunction) _wrap_RichTextBuffer_FindHandlerByFilename, METH_VARARGS | METH_KEYWORDS, NULL},
26973
{ (char *)"RichTextBuffer_FindHandlerByType", (PyCFunction) _wrap_RichTextBuffer_FindHandlerByType, METH_VARARGS | METH_KEYWORDS, NULL},
26974
{ (char *)"RichTextBuffer_GetExtWildcard", (PyCFunction) _wrap_RichTextBuffer_GetExtWildcard, METH_VARARGS | METH_KEYWORDS, NULL},
26975
{ (char *)"RichTextBuffer_CleanUpHandlers", (PyCFunction)_wrap_RichTextBuffer_CleanUpHandlers, METH_NOARGS, NULL},
26976
{ (char *)"RichTextBuffer_InitStandardHandlers", (PyCFunction)_wrap_RichTextBuffer_InitStandardHandlers, METH_NOARGS, NULL},
26977
{ (char *)"RichTextBuffer_GetRenderer", (PyCFunction)_wrap_RichTextBuffer_GetRenderer, METH_NOARGS, NULL},
26978
{ (char *)"RichTextBuffer_SetRenderer", (PyCFunction) _wrap_RichTextBuffer_SetRenderer, METH_VARARGS | METH_KEYWORDS, NULL},
26979
{ (char *)"RichTextBuffer_GetBulletRightMargin", (PyCFunction)_wrap_RichTextBuffer_GetBulletRightMargin, METH_NOARGS, NULL},
26980
{ (char *)"RichTextBuffer_SetBulletRightMargin", (PyCFunction) _wrap_RichTextBuffer_SetBulletRightMargin, METH_VARARGS | METH_KEYWORDS, NULL},
26981
{ (char *)"RichTextBuffer_GetBulletProportion", (PyCFunction)_wrap_RichTextBuffer_GetBulletProportion, METH_NOARGS, NULL},
26982
{ (char *)"RichTextBuffer_SetBulletProportion", (PyCFunction) _wrap_RichTextBuffer_SetBulletProportion, METH_VARARGS | METH_KEYWORDS, NULL},
26983
{ (char *)"RichTextBuffer_GetScale", (PyCFunction)_wrap_RichTextBuffer_GetScale, METH_O, NULL},
26984
{ (char *)"RichTextBuffer_SetScale", (PyCFunction) _wrap_RichTextBuffer_SetScale, METH_VARARGS | METH_KEYWORDS, NULL},
26985
{ (char *)"RichTextBuffer_swigregister", RichTextBuffer_swigregister, METH_VARARGS, NULL},
26986
{ (char *)"RichTextBuffer_swiginit", RichTextBuffer_swiginit, METH_VARARGS, NULL},
26987
{ (char *)"delete_RichTextFileHandler", (PyCFunction)_wrap_delete_RichTextFileHandler, METH_O, NULL},
26988
{ (char *)"RichTextFileHandler_LoadStream", (PyCFunction) _wrap_RichTextFileHandler_LoadStream, METH_VARARGS | METH_KEYWORDS, NULL},
26989
{ (char *)"RichTextFileHandler_SaveStream", (PyCFunction) _wrap_RichTextFileHandler_SaveStream, METH_VARARGS | METH_KEYWORDS, NULL},
26990
{ (char *)"RichTextFileHandler_LoadFile", (PyCFunction) _wrap_RichTextFileHandler_LoadFile, METH_VARARGS | METH_KEYWORDS, NULL},
26991
{ (char *)"RichTextFileHandler_SaveFile", (PyCFunction) _wrap_RichTextFileHandler_SaveFile, METH_VARARGS | METH_KEYWORDS, NULL},
26992
{ (char *)"RichTextFileHandler_CanHandle", (PyCFunction) _wrap_RichTextFileHandler_CanHandle, METH_VARARGS | METH_KEYWORDS, NULL},
26993
{ (char *)"RichTextFileHandler_CanSave", (PyCFunction)_wrap_RichTextFileHandler_CanSave, METH_O, NULL},
26994
{ (char *)"RichTextFileHandler_CanLoad", (PyCFunction)_wrap_RichTextFileHandler_CanLoad, METH_O, NULL},
26995
{ (char *)"RichTextFileHandler_IsVisible", (PyCFunction)_wrap_RichTextFileHandler_IsVisible, METH_O, NULL},
26996
{ (char *)"RichTextFileHandler_SetVisible", (PyCFunction) _wrap_RichTextFileHandler_SetVisible, METH_VARARGS | METH_KEYWORDS, NULL},
26997
{ (char *)"RichTextFileHandler_SetName", (PyCFunction) _wrap_RichTextFileHandler_SetName, METH_VARARGS | METH_KEYWORDS, NULL},
26998
{ (char *)"RichTextFileHandler_GetName", (PyCFunction)_wrap_RichTextFileHandler_GetName, METH_O, NULL},
26999
{ (char *)"RichTextFileHandler_SetExtension", (PyCFunction) _wrap_RichTextFileHandler_SetExtension, METH_VARARGS | METH_KEYWORDS, NULL},
27000
{ (char *)"RichTextFileHandler_GetExtension", (PyCFunction)_wrap_RichTextFileHandler_GetExtension, METH_O, NULL},
27001
{ (char *)"RichTextFileHandler_SetType", (PyCFunction) _wrap_RichTextFileHandler_SetType, METH_VARARGS | METH_KEYWORDS, NULL},
27002
{ (char *)"RichTextFileHandler_GetType", (PyCFunction)_wrap_RichTextFileHandler_GetType, METH_O, NULL},
27003
{ (char *)"RichTextFileHandler_SetFlags", (PyCFunction) _wrap_RichTextFileHandler_SetFlags, METH_VARARGS | METH_KEYWORDS, NULL},
27004
{ (char *)"RichTextFileHandler_GetFlags", (PyCFunction)_wrap_RichTextFileHandler_GetFlags, METH_O, NULL},
27005
{ (char *)"RichTextFileHandler_SetEncoding", (PyCFunction) _wrap_RichTextFileHandler_SetEncoding, METH_VARARGS | METH_KEYWORDS, NULL},
27006
{ (char *)"RichTextFileHandler_GetEncoding", (PyCFunction)_wrap_RichTextFileHandler_GetEncoding, METH_O, NULL},
27007
{ (char *)"RichTextFileHandler_swigregister", RichTextFileHandler_swigregister, METH_VARARGS, NULL},
27008
{ (char *)"new_RichTextPlainTextHandler", (PyCFunction) _wrap_new_RichTextPlainTextHandler, METH_VARARGS | METH_KEYWORDS, NULL},
27009
{ (char *)"RichTextPlainTextHandler_swigregister", RichTextPlainTextHandler_swigregister, METH_VARARGS, NULL},
27010
{ (char *)"RichTextPlainTextHandler_swiginit", RichTextPlainTextHandler_swiginit, METH_VARARGS, NULL},
27011
{ (char *)"delete_RichTextRenderer", (PyCFunction)_wrap_delete_RichTextRenderer, METH_O, NULL},
27012
{ (char *)"RichTextRenderer_DrawStandardBullet", (PyCFunction) _wrap_RichTextRenderer_DrawStandardBullet, METH_VARARGS | METH_KEYWORDS, NULL},
27013
{ (char *)"RichTextRenderer_DrawTextBullet", (PyCFunction) _wrap_RichTextRenderer_DrawTextBullet, METH_VARARGS | METH_KEYWORDS, NULL},
27014
{ (char *)"RichTextRenderer_DrawBitmapBullet", (PyCFunction) _wrap_RichTextRenderer_DrawBitmapBullet, METH_VARARGS | METH_KEYWORDS, NULL},
27015
{ (char *)"RichTextRenderer_EnumerateStandardBulletNames", (PyCFunction) _wrap_RichTextRenderer_EnumerateStandardBulletNames, METH_VARARGS | METH_KEYWORDS, NULL},
27016
{ (char *)"RichTextRenderer_swigregister", RichTextRenderer_swigregister, METH_VARARGS, NULL},
27017
{ (char *)"new_RichTextStdRenderer", (PyCFunction)_wrap_new_RichTextStdRenderer, METH_NOARGS, NULL},
27018
{ (char *)"RichTextStdRenderer_swigregister", RichTextStdRenderer_swigregister, METH_VARARGS, NULL},
27019
{ (char *)"RichTextStdRenderer_swiginit", RichTextStdRenderer_swiginit, METH_VARARGS, NULL},
11990
27020
{ (char *)"new_RichTextCtrl", (PyCFunction) _wrap_new_RichTextCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
11991
27021
{ (char *)"new_PreRichTextCtrl", (PyCFunction)_wrap_new_PreRichTextCtrl, METH_NOARGS, NULL},
11992
27022
{ (char *)"RichTextCtrl_Create", (PyCFunction) _wrap_RichTextCtrl_Create, METH_VARARGS | METH_KEYWORDS, NULL},