]> git.saurik.com Git - wxWidgets.git/blame - wxPython/contrib/stc/gtk/stc_wrap.cpp
reSWIGged
[wxWidgets.git] / wxPython / contrib / stc / gtk / stc_wrap.cpp
CommitLineData
cfe5e918
RD
1/* ----------------------------------------------------------------------------
2 * This file was automatically generated by SWIG (http://www.swig.org).
3 * Version 1.3.22
4 *
5 * This file is not intended to be easily readable and contains a number of
6 * coding conventions designed to improve portability and efficiency. Do not make
7 * changes to this file unless you know what you are doing--modify the SWIG
8 * interface file instead.
9 * ----------------------------------------------------------------------------- */
10
11#define SWIGPYTHON
12#define SWIG_NOINCLUDE
13
14#ifdef __cplusplus
15template<class T> class SwigValueWrapper {
16 T *tt;
17public:
18 SwigValueWrapper() : tt(0) { }
19 SwigValueWrapper(const SwigValueWrapper<T>& rhs) : tt(new T(*rhs.tt)) { }
20 SwigValueWrapper(const T& t) : tt(new T(t)) { }
21 ~SwigValueWrapper() { delete tt; }
22 SwigValueWrapper& operator=(const T& t) { delete tt; tt = new T(t); return *this; }
23 operator T&() const { return *tt; }
24 T *operator&() { return tt; }
25private:
26 SwigValueWrapper& operator=(const SwigValueWrapper<T>& rhs);
27};
28#endif
29
30
31#include "Python.h"
32
33/*************************************************************** -*- c -*-
34 * python/precommon.swg
35 *
36 * Rename all exported symbols from common.swg, to avoid symbol
37 * clashes if multiple interpreters are included
38 *
39 ************************************************************************/
40
41#define SWIG_TypeRegister SWIG_Python_TypeRegister
42#define SWIG_TypeCheck SWIG_Python_TypeCheck
43#define SWIG_TypeCast SWIG_Python_TypeCast
44#define SWIG_TypeDynamicCast SWIG_Python_TypeDynamicCast
45#define SWIG_TypeName SWIG_Python_TypeName
46#define SWIG_TypeQuery SWIG_Python_TypeQuery
47#define SWIG_TypeClientData SWIG_Python_TypeClientData
48#define SWIG_PackData SWIG_Python_PackData
49#define SWIG_UnpackData SWIG_Python_UnpackData
50
51
52/***********************************************************************
53 * common.swg for wxPython
54 *
55 * Include only the function prototypes and such from SWIG's common.swg,
56 * but not the runtime functions themselves. This helps keep the
57 * wrapper files clean of unnecessary stuff that is in the libpy.c file
58 * anyway.
59 *
60 ************************************************************************/
61
62#include <string.h>
63
64#if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
65# if defined(_MSC_VER) || defined(__GNUC__)
66# if defined(STATIC_LINKED)
67# define SWIGEXPORT(a) a
68# define SWIGIMPORT(a) extern a
69# else
70# define SWIGEXPORT(a) __declspec(dllexport) a
71# define SWIGIMPORT(a) extern a
72# endif
73# else
74# if defined(__BORLANDC__)
75# define SWIGEXPORT(a) a _export
76# define SWIGIMPORT(a) a _export
77# else
78# define SWIGEXPORT(a) a
79# define SWIGIMPORT(a) a
80# endif
81# endif
82#else
83# define SWIGEXPORT(a) a
84# define SWIGIMPORT(a) a
85#endif
86
87#ifdef SWIG_GLOBAL
88# define SWIGRUNTIME(a) SWIGEXPORT(a)
89#else
90# define SWIGRUNTIME(a) static a
91#endif
92
93#ifdef __cplusplus
94extern "C" {
95#endif
96
97typedef void *(*swig_converter_func)(void *);
98typedef struct swig_type_info *(*swig_dycast_func)(void **);
99
100typedef struct swig_type_info {
101 const char *name;
102 swig_converter_func converter;
103 const char *str;
104 void *clientdata;
105 swig_dycast_func dcast;
106 struct swig_type_info *next;
107 struct swig_type_info *prev;
108} swig_type_info;
109
110
111SWIGIMPORT(swig_type_info *) SWIG_TypeRegister(swig_type_info *);
112SWIGIMPORT(swig_type_info *) SWIG_TypeCheck(char *c, swig_type_info *);
113SWIGIMPORT(void *) SWIG_TypeCast(swig_type_info *, void *);
114SWIGIMPORT(swig_type_info *) SWIG_TypeDynamicCast(swig_type_info *, void **);
115SWIGIMPORT(const char *) SWIG_TypeName(const swig_type_info *);
116SWIGIMPORT(swig_type_info *) SWIG_TypeQuery(const char *);
117SWIGIMPORT(void) SWIG_TypeClientData(swig_type_info *, void *);
118SWIGIMPORT(char *) SWIG_PackData(char *, void *, int);
119SWIGIMPORT(char *) SWIG_UnpackData(char *, void *, int);
120
121
122#ifdef __cplusplus
123}
124#endif
125
126/***********************************************************************
127 * pyrun.swg for wxPython
128 *
129 * Include only the function prototypes and such from SWIG's pyrun.swg,
130 * but not the runtime functions themselves. This helps keep the
131 * wrapper files clean of unnecessary stuff that is in the libpy.c file
132 * anyway.
133 *
134 ************************************************************************/
135
136#include "Python.h"
137
138#ifdef __cplusplus
139extern "C" {
140#endif
141
142#define SWIG_PY_INT 1
143#define SWIG_PY_FLOAT 2
144#define SWIG_PY_STRING 3
145#define SWIG_PY_POINTER 4
146#define SWIG_PY_BINARY 5
147
148/* Flags for pointer conversion */
149
150#define SWIG_POINTER_EXCEPTION 0x1
151#define SWIG_POINTER_DISOWN 0x2
152
153/* Exception handling in wrappers */
154#define SWIG_fail goto fail
155
156/* Constant information structure */
157typedef struct swig_const_info {
158 int type;
159 char *name;
160 long lvalue;
161 double dvalue;
162 void *pvalue;
163 swig_type_info **ptype;
164} swig_const_info;
165
166/* Common SWIG API */
167#define SWIG_ConvertPtr(obj, pp, type, flags) \
168 SWIG_Python_ConvertPtr(obj, pp, type, flags)
169#define SWIG_NewPointerObj(p, type, flags) \
170 SWIG_Python_NewPointerObj(p, type, flags)
171#define SWIG_MustGetPtr(p, type, argnum, flags) \
172 SWIG_Python_MustGetPtr(p, type, argnum, flags)
173
174/* Python-specific SWIG API */
175#define SWIG_newvarlink() \
176 SWIG_Python_newvarlink()
177#define SWIG_addvarlink(p, name, get_attr, set_attr) \
178 SWIG_Python_addvarlink(p, name, get_attr, set_attr)
179#define SWIG_ConvertPacked(obj, ptr, sz, ty, flags) \
180 SWIG_Python_ConvertPacked(obj, ptr, sz, ty, flags)
181#define SWIG_NewPackedObj(ptr, sz, type) \
182 SWIG_Python_NewPackedObj(ptr, sz, type)
183#define SWIG_InstallConstants(d, constants) \
184 SWIG_Python_InstallConstants(d, constants)
185
186typedef double (*py_objasdbl_conv)(PyObject *obj);
187
188SWIGIMPORT(int) SWIG_Python_ConvertPtr(PyObject *, void **, swig_type_info *, int);
189SWIGIMPORT(PyObject *) SWIG_Python_NewPointerObj(void *, swig_type_info *,int own);
190SWIGIMPORT(void *) SWIG_Python_MustGetPtr(PyObject *, swig_type_info *, int, int);
191SWIGIMPORT(PyObject *) SWIG_Python_newvarlink(void);
192SWIGIMPORT(void) SWIG_Python_addvarlink(PyObject *, char *, PyObject *(*)(void), int (*)(PyObject *));
193SWIGIMPORT(int) SWIG_Python_ConvertPacked(PyObject *, void *, int sz, swig_type_info *, int);
194SWIGIMPORT(PyObject *) SWIG_Python_NewPackedObj(void *, int sz, swig_type_info *);
195SWIGIMPORT(void) SWIG_Python_InstallConstants(PyObject *d, swig_const_info constants[]);
196
197
198/* Contract support */
199
200#define SWIG_contract_assert(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, (char *) msg ); goto fail; } else
201
202#ifdef __cplusplus
203}
204#endif
205
206
207/* -------- TYPES TABLE (BEGIN) -------- */
208
209#define SWIGTYPE_p_wxRect swig_types[0]
210#define SWIGTYPE_p_wxColour swig_types[1]
211#define SWIGTYPE_p_wxObject swig_types[2]
212#define SWIGTYPE_p_wxScrollBar swig_types[3]
213#define SWIGTYPE_p_wxStyledTextEvent swig_types[4]
214#define SWIGTYPE_p_wxWindow swig_types[5]
215#define SWIGTYPE_p_wxCommandEvent swig_types[6]
216#define SWIGTYPE_p_wxBitmap swig_types[7]
217#define SWIGTYPE_p_void swig_types[8]
218#define SWIGTYPE_p_wxPoint swig_types[9]
219#define SWIGTYPE_p_wxDC swig_types[10]
220#define SWIGTYPE_p_char swig_types[11]
221#define SWIGTYPE_p_wxEvtHandler swig_types[12]
222#define SWIGTYPE_p_wxStyledTextCtrl swig_types[13]
223#define SWIGTYPE_p_wxFont swig_types[14]
224#define SWIGTYPE_p_wxControl swig_types[15]
225#define SWIGTYPE_p_wxEvent swig_types[16]
226#define SWIGTYPE_p_int swig_types[17]
227#define SWIGTYPE_p_wxMemoryBuffer swig_types[18]
228static swig_type_info *swig_types[20];
229
230/* -------- TYPES TABLE (END) -------- */
231
232
233/*-----------------------------------------------
234 @(target):= _stc.so
235 ------------------------------------------------*/
236#define SWIG_init init_stc
237
238#define SWIG_name "_stc"
239
240/* Auxiliar swig macros */
241
242#ifdef __cplusplus
243#define SWIGSTATICINLINE(a) static inline a
244#define SWIGSTATIC(a) static a
245#define swig_new_array(type, size) (new type[(size)])
246#define swig_delete_array(cptr) delete[] cptr
247#define swig_const_cast(type,a) const_cast<type>(a)
248#define swig_static_cast(type,a) static_cast<type>(a)
249#define swig_reinterpret_cast(type,a) reinterpret_cast<type>(a)
250
251#ifdef HAVE_NUMERIC_CAST
252#define swig_numeric_cast(type,a) numeric_cast<type>(a)
253#else
254#define swig_numeric_cast(type,a) static_cast<type>(a)
255#endif
256
257#else /* C case */
258
259#define SWIGSTATICINLINE(a) static a
260#define SWIGSTATIC(a) static a
261#define swig_new_array(type, size) ((type*) malloc((size)*sizeof(type)))
262#define swig_delete_array(cptr) free((char*)cptr)
263#define swig_const_cast(type,a) (type)(a)
264#define swig_static_cast(type,a) (type)(a)
265#define swig_reinterpret_cast(type,a) (type)(a)
266#define swig_numeric_cast(type,a) (type)(a)
267
268#endif /* __cplusplus */
269
270
271#define SWIG_FromSignedChar PyInt_FromLong
272#define SWIG_FromUnsignedChar PyInt_FromLong
273#define SWIG_FromShort PyInt_FromLong
274#define SWIG_FromUnsignedShort PyInt_FromLong
275#define SWIG_FromInt PyInt_FromLong
276#define SWIG_FromLong PyInt_FromLong
277#define SWIG_FromFloat PyFloat_FromDouble
278#define SWIG_FromDouble PyFloat_FromDouble
279#define SWIG_FromFloat PyFloat_FromDouble
280#define SWIG_FromDouble PyFloat_FromDouble
281
282
283#include "wx/wxPython/wxPython.h"
284#include "wx/wxPython/pyclasses.h"
285#include <wx/stc/stc.h>
286
287
288 static const wxString wxPySTCNameStr(wxSTCNameStr);
289
290#include <limits.h>
291
292
293SWIGSTATICINLINE(long)
294SWIG_CheckLongInRange(long value, const char* type,
295 long min_value, long max_value)
296{
297 if (!PyErr_Occurred()) {
298 if (value < min_value) {
299 PyObject *err =
300 PyString_FromFormat("value %ld is less than '%s' minimum %ld",
301 value, type, min_value);
302
303 PyErr_SetObject(PyExc_OverflowError, err);
304 Py_DECREF(err);
305 } else if (value > max_value) {
306 PyObject *err =
307 PyString_FromFormat("value %ld is greater than '%s' maximum %ld",
308 value, type, max_value);
309 PyErr_SetObject(PyExc_OverflowError, err);
310 Py_DECREF(err);
311 }
312 }
313 return value;
314}
315
316
317SWIGSTATICINLINE(long)
318SWIG_AsLong(PyObject * obj)
319{
320 if (PyNumber_Check(obj))
321 return PyInt_AsLong(obj);
322 else {
323 PyObject* errmsg = PyString_FromFormat("Expected number, got %s",
324 obj->ob_type->tp_name);
325 PyErr_SetObject(PyExc_TypeError, errmsg);
326 Py_DECREF(errmsg);
327 return 0;
328 }
329}
330
331
332#if INT_MAX != LONG_MAX
333SWIGSTATICINLINE(int)
334SWIG_AsInt(PyObject *obj)
335{
336 return swig_numeric_cast(int,
337 SWIG_CheckLongInRange(SWIG_AsLong(obj),
338 "int", INT_MIN, INT_MAX));
339}
340#else
341#define SWIG_AsInt SWIG_AsLong
342#endif
343
344
345SWIGSTATICINLINE(int)
346SWIG_CheckInt(PyObject* obj)
347{
348 SWIG_AsInt(obj);
349 if (PyErr_Occurred()) {
350 PyErr_Clear();
351 return 0;
352 } else {
353 return 1;
354 }
355}
356
357
358SWIGSTATICINLINE(int)
359SWIG_CheckLong(PyObject* obj)
360{
361 SWIG_AsLong(obj);
362 if (PyErr_Occurred()) {
363 PyErr_Clear();
364 return 0;
365 } else {
366 return 1;
367 }
368}
369
370
371SWIGSTATICINLINE(bool)
372SWIG_AsBool(PyObject *obj)
373{
374 return PyObject_IsTrue(obj) ? true : false;
375}
376
377
378SWIGSTATICINLINE(int)
379SWIG_CheckBool(PyObject* obj)
380{
381 SWIG_AsBool(obj);
382 if (PyErr_Occurred()) {
383 PyErr_Clear();
384 return 0;
385 } else {
386 return 1;
387 }
388}
389
390
391static PyObject* t_output_helper(PyObject* target, PyObject* o) {
392 PyObject* o2;
393 PyObject* o3;
394
395 if (!target) {
396 target = o;
397 } else if (target == Py_None) {
398 Py_DECREF(Py_None);
399 target = o;
400 } else {
401 if (!PyTuple_Check(target)) {
402 o2 = target;
403 target = PyTuple_New(1);
404 PyTuple_SetItem(target, 0, o2);
405 }
406 o3 = PyTuple_New(1);
407 PyTuple_SetItem(o3, 0, o);
408
409 o2 = target;
410 target = PySequence_Concat(o2, o3);
411 Py_DECREF(o2);
412 Py_DECREF(o3);
413 }
414 return target;
415}
416
417
418/* returns '1' if the input is a raw char*, '0' if is a PyString */
419SWIGSTATIC(int)
420SWIG_AsCharPtrAndSize(PyObject *obj, char** cptr, size_t* size)
421{
422 static swig_type_info* pchar_info = 0;
423 int psize = 0;
424 if (!pchar_info) pchar_info = SWIG_TypeQuery("char *");
425
426 if (SWIG_ConvertPtr(obj, swig_reinterpret_cast(void **,cptr), pchar_info, 0) == -1) {
427 PyErr_Clear();
428 PyString_AsStringAndSize(obj, cptr, &psize);
429 if (PyErr_Occurred()) {
430 PyErr_Clear();
431 PyErr_SetString(PyExc_TypeError,"a string is expected");
432 }
433 if (size) *size = psize;
434 return 0;
435 } else {
436 if (size) *size = (*cptr) ? (strlen(*cptr) + 1) : 0;
437 return 1;
438 }
439}
440
441
442SWIGSTATICINLINE(char* )
443SWIG_AsCharPtr(PyObject *obj)
444{
445 char* cptr;
446 SWIG_AsCharPtrAndSize(obj, &cptr, 0);
447 if (PyErr_Occurred()) {
448 PyErr_Clear();
449 PyErr_SetString(PyExc_TypeError, "a char* is expected");
450 }
451 return cptr;
452}
453
454#ifdef __cplusplus
455extern "C" {
456#endif
457static int _wrap_STCNameStr_set(PyObject *_val) {
458 PyErr_SetString(PyExc_TypeError,"Variable STCNameStr is read-only.");
459 return 1;
460}
461
462
463static PyObject *_wrap_STCNameStr_get() {
464 PyObject *pyobj;
465
466 {
467#if wxUSE_UNICODE
468 pyobj = PyUnicode_FromWideChar((&wxPySTCNameStr)->c_str(), (&wxPySTCNameStr)->Len());
469#else
470 pyobj = PyString_FromStringAndSize((&wxPySTCNameStr)->c_str(), (&wxPySTCNameStr)->Len());
471#endif
472 }
473 return pyobj;
474}
475
476
477static PyObject *_wrap_new_StyledTextCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
478 PyObject *resultobj;
479 wxWindow *arg1 = (wxWindow *) 0 ;
480 int arg2 ;
481 wxPoint const &arg3_defvalue = wxDefaultPosition ;
482 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
483 wxSize const &arg4_defvalue = wxDefaultSize ;
484 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
485 long arg5 = (long) 0 ;
486 wxString const &arg6_defvalue = wxPySTCNameStr ;
487 wxString *arg6 = (wxString *) &arg6_defvalue ;
488 wxStyledTextCtrl *result;
489 wxPoint temp3 ;
490 wxSize temp4 ;
491 bool temp6 = False ;
492 PyObject * obj0 = 0 ;
493 PyObject * obj1 = 0 ;
494 PyObject * obj2 = 0 ;
495 PyObject * obj3 = 0 ;
496 PyObject * obj4 = 0 ;
497 PyObject * obj5 = 0 ;
498 char *kwnames[] = {
499 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
500 };
501
502 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_StyledTextCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
503 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
504 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
505 arg2 = (int) SWIG_AsInt(obj1);
506 if (PyErr_Occurred()) SWIG_fail;
507 if (obj2) {
508 {
509 arg3 = &temp3;
510 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
511 }
512 }
513 if (obj3) {
514 {
515 arg4 = &temp4;
516 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
517 }
518 }
519 if (obj4) {
520 arg5 = (long) SWIG_AsLong(obj4);
521 if (PyErr_Occurred()) SWIG_fail;
522 }
523 if (obj5) {
524 {
525 arg6 = wxString_in_helper(obj5);
526 if (arg6 == NULL) SWIG_fail;
527 temp6 = True;
528 }
529 }
530 {
531 PyThreadState* __tstate = wxPyBeginAllowThreads();
532 result = (wxStyledTextCtrl *)new wxStyledTextCtrl(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
533
534 wxPyEndAllowThreads(__tstate);
535 if (PyErr_Occurred()) SWIG_fail;
536 }
537 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStyledTextCtrl, 1);
538 {
539 if (temp6)
540 delete arg6;
541 }
542 return resultobj;
543 fail:
544 {
545 if (temp6)
546 delete arg6;
547 }
548 return NULL;
549}
550
551
552static PyObject *_wrap_new_PreStyledTextCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
553 PyObject *resultobj;
554 wxStyledTextCtrl *result;
555 char *kwnames[] = {
556 NULL
557 };
558
559 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreStyledTextCtrl",kwnames)) goto fail;
560 {
561 PyThreadState* __tstate = wxPyBeginAllowThreads();
562 result = (wxStyledTextCtrl *)new wxStyledTextCtrl();
563
564 wxPyEndAllowThreads(__tstate);
565 if (PyErr_Occurred()) SWIG_fail;
566 }
567 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStyledTextCtrl, 1);
568 return resultobj;
569 fail:
570 return NULL;
571}
572
573
574static PyObject *_wrap_StyledTextCtrl_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
575 PyObject *resultobj;
576 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
577 wxWindow *arg2 = (wxWindow *) 0 ;
578 int arg3 ;
579 wxPoint const &arg4_defvalue = wxDefaultPosition ;
580 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
581 wxSize const &arg5_defvalue = wxDefaultSize ;
582 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
583 long arg6 = (long) 0 ;
584 wxString const &arg7_defvalue = wxSTCNameStr ;
585 wxString *arg7 = (wxString *) &arg7_defvalue ;
586 wxPoint temp4 ;
587 wxSize temp5 ;
588 bool temp7 = False ;
589 PyObject * obj0 = 0 ;
590 PyObject * obj1 = 0 ;
591 PyObject * obj2 = 0 ;
592 PyObject * obj3 = 0 ;
593 PyObject * obj4 = 0 ;
594 PyObject * obj5 = 0 ;
595 PyObject * obj6 = 0 ;
596 char *kwnames[] = {
597 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
598 };
599
600 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:StyledTextCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
601 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
602 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
603 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
604 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
605 arg3 = (int) SWIG_AsInt(obj2);
606 if (PyErr_Occurred()) SWIG_fail;
607 if (obj3) {
608 {
609 arg4 = &temp4;
610 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
611 }
612 }
613 if (obj4) {
614 {
615 arg5 = &temp5;
616 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
617 }
618 }
619 if (obj5) {
620 arg6 = (long) SWIG_AsLong(obj5);
621 if (PyErr_Occurred()) SWIG_fail;
622 }
623 if (obj6) {
624 {
625 arg7 = wxString_in_helper(obj6);
626 if (arg7 == NULL) SWIG_fail;
627 temp7 = True;
628 }
629 }
630 {
631 PyThreadState* __tstate = wxPyBeginAllowThreads();
632 (arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
633
634 wxPyEndAllowThreads(__tstate);
635 if (PyErr_Occurred()) SWIG_fail;
636 }
637 Py_INCREF(Py_None); resultobj = Py_None;
638 {
639 if (temp7)
640 delete arg7;
641 }
642 return resultobj;
643 fail:
644 {
645 if (temp7)
646 delete arg7;
647 }
648 return NULL;
649}
650
651
652static PyObject *_wrap_StyledTextCtrl_AddText(PyObject *self, PyObject *args, PyObject *kwargs) {
653 PyObject *resultobj;
654 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
655 wxString *arg2 = 0 ;
656 bool temp2 = False ;
657 PyObject * obj0 = 0 ;
658 PyObject * obj1 = 0 ;
659 char *kwnames[] = {
660 (char *) "self",(char *) "text", NULL
661 };
662
663 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_AddText",kwnames,&obj0,&obj1)) goto fail;
664 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
665 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
666 {
667 arg2 = wxString_in_helper(obj1);
668 if (arg2 == NULL) SWIG_fail;
669 temp2 = True;
670 }
671 {
672 PyThreadState* __tstate = wxPyBeginAllowThreads();
673 (arg1)->AddText((wxString const &)*arg2);
674
675 wxPyEndAllowThreads(__tstate);
676 if (PyErr_Occurred()) SWIG_fail;
677 }
678 Py_INCREF(Py_None); resultobj = Py_None;
679 {
680 if (temp2)
681 delete arg2;
682 }
683 return resultobj;
684 fail:
685 {
686 if (temp2)
687 delete arg2;
688 }
689 return NULL;
690}
691
692
693static PyObject *_wrap_StyledTextCtrl_AddStyledText(PyObject *self, PyObject *args, PyObject *kwargs) {
694 PyObject *resultobj;
695 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
696 wxMemoryBuffer *arg2 = 0 ;
697 bool temp2 = False ;
698 PyObject * obj0 = 0 ;
699 PyObject * obj1 = 0 ;
700 char *kwnames[] = {
701 (char *) "self",(char *) "data", NULL
702 };
703
704 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_AddStyledText",kwnames,&obj0,&obj1)) goto fail;
705 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
706 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
707 {
708 if (!PyString_Check(obj1)) {
709 PyErr_SetString(PyExc_TypeError, "String buffer expected");
710 SWIG_fail;
711 }
712 char* str = PyString_AS_STRING(obj1);
713 int len = PyString_GET_SIZE(obj1);
714 arg2 = new wxMemoryBuffer(len);
715 temp2 = True;
716 memcpy(arg2->GetData(), str, len);
717 }
718 {
719 PyThreadState* __tstate = wxPyBeginAllowThreads();
720 (arg1)->AddStyledText((wxMemoryBuffer const &)*arg2);
721
722 wxPyEndAllowThreads(__tstate);
723 if (PyErr_Occurred()) SWIG_fail;
724 }
725 Py_INCREF(Py_None); resultobj = Py_None;
726 {
727 if (temp2) delete arg2;
728 }
729 return resultobj;
730 fail:
731 {
732 if (temp2) delete arg2;
733 }
734 return NULL;
735}
736
737
738static PyObject *_wrap_StyledTextCtrl_InsertText(PyObject *self, PyObject *args, PyObject *kwargs) {
739 PyObject *resultobj;
740 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
741 int arg2 ;
742 wxString *arg3 = 0 ;
743 bool temp3 = False ;
744 PyObject * obj0 = 0 ;
745 PyObject * obj1 = 0 ;
746 PyObject * obj2 = 0 ;
747 char *kwnames[] = {
748 (char *) "self",(char *) "pos",(char *) "text", NULL
749 };
750
751 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_InsertText",kwnames,&obj0,&obj1,&obj2)) goto fail;
752 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
753 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
754 arg2 = (int) SWIG_AsInt(obj1);
755 if (PyErr_Occurred()) SWIG_fail;
756 {
757 arg3 = wxString_in_helper(obj2);
758 if (arg3 == NULL) SWIG_fail;
759 temp3 = True;
760 }
761 {
762 PyThreadState* __tstate = wxPyBeginAllowThreads();
763 (arg1)->InsertText(arg2,(wxString const &)*arg3);
764
765 wxPyEndAllowThreads(__tstate);
766 if (PyErr_Occurred()) SWIG_fail;
767 }
768 Py_INCREF(Py_None); resultobj = Py_None;
769 {
770 if (temp3)
771 delete arg3;
772 }
773 return resultobj;
774 fail:
775 {
776 if (temp3)
777 delete arg3;
778 }
779 return NULL;
780}
781
782
783static PyObject *_wrap_StyledTextCtrl_ClearAll(PyObject *self, PyObject *args, PyObject *kwargs) {
784 PyObject *resultobj;
785 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
786 PyObject * obj0 = 0 ;
787 char *kwnames[] = {
788 (char *) "self", NULL
789 };
790
791 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_ClearAll",kwnames,&obj0)) goto fail;
792 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
793 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
794 {
795 PyThreadState* __tstate = wxPyBeginAllowThreads();
796 (arg1)->ClearAll();
797
798 wxPyEndAllowThreads(__tstate);
799 if (PyErr_Occurred()) SWIG_fail;
800 }
801 Py_INCREF(Py_None); resultobj = Py_None;
802 return resultobj;
803 fail:
804 return NULL;
805}
806
807
808static PyObject *_wrap_StyledTextCtrl_ClearDocumentStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
809 PyObject *resultobj;
810 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
811 PyObject * obj0 = 0 ;
812 char *kwnames[] = {
813 (char *) "self", NULL
814 };
815
816 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_ClearDocumentStyle",kwnames,&obj0)) goto fail;
817 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
818 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
819 {
820 PyThreadState* __tstate = wxPyBeginAllowThreads();
821 (arg1)->ClearDocumentStyle();
822
823 wxPyEndAllowThreads(__tstate);
824 if (PyErr_Occurred()) SWIG_fail;
825 }
826 Py_INCREF(Py_None); resultobj = Py_None;
827 return resultobj;
828 fail:
829 return NULL;
830}
831
832
833static PyObject *_wrap_StyledTextCtrl_GetLength(PyObject *self, PyObject *args, PyObject *kwargs) {
834 PyObject *resultobj;
835 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
836 int result;
837 PyObject * obj0 = 0 ;
838 char *kwnames[] = {
839 (char *) "self", NULL
840 };
841
842 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetLength",kwnames,&obj0)) goto fail;
843 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
844 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
845 {
846 PyThreadState* __tstate = wxPyBeginAllowThreads();
847 result = (int)(arg1)->GetLength();
848
849 wxPyEndAllowThreads(__tstate);
850 if (PyErr_Occurred()) SWIG_fail;
851 }
852 resultobj = SWIG_FromInt((int)result);
853 return resultobj;
854 fail:
855 return NULL;
856}
857
858
859static PyObject *_wrap_StyledTextCtrl_GetCharAt(PyObject *self, PyObject *args, PyObject *kwargs) {
860 PyObject *resultobj;
861 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
862 int arg2 ;
863 int result;
864 PyObject * obj0 = 0 ;
865 PyObject * obj1 = 0 ;
866 char *kwnames[] = {
867 (char *) "self",(char *) "pos", NULL
868 };
869
870 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GetCharAt",kwnames,&obj0,&obj1)) goto fail;
871 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
872 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
873 arg2 = (int) SWIG_AsInt(obj1);
874 if (PyErr_Occurred()) SWIG_fail;
875 {
876 PyThreadState* __tstate = wxPyBeginAllowThreads();
877 result = (int)(arg1)->GetCharAt(arg2);
878
879 wxPyEndAllowThreads(__tstate);
880 if (PyErr_Occurred()) SWIG_fail;
881 }
882 resultobj = SWIG_FromInt((int)result);
883 return resultobj;
884 fail:
885 return NULL;
886}
887
888
889static PyObject *_wrap_StyledTextCtrl_GetCurrentPos(PyObject *self, PyObject *args, PyObject *kwargs) {
890 PyObject *resultobj;
891 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
892 int result;
893 PyObject * obj0 = 0 ;
894 char *kwnames[] = {
895 (char *) "self", NULL
896 };
897
898 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetCurrentPos",kwnames,&obj0)) goto fail;
899 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
900 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
901 {
902 PyThreadState* __tstate = wxPyBeginAllowThreads();
903 result = (int)(arg1)->GetCurrentPos();
904
905 wxPyEndAllowThreads(__tstate);
906 if (PyErr_Occurred()) SWIG_fail;
907 }
908 resultobj = SWIG_FromInt((int)result);
909 return resultobj;
910 fail:
911 return NULL;
912}
913
914
915static PyObject *_wrap_StyledTextCtrl_GetAnchor(PyObject *self, PyObject *args, PyObject *kwargs) {
916 PyObject *resultobj;
917 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
918 int result;
919 PyObject * obj0 = 0 ;
920 char *kwnames[] = {
921 (char *) "self", NULL
922 };
923
924 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetAnchor",kwnames,&obj0)) goto fail;
925 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
926 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
927 {
928 PyThreadState* __tstate = wxPyBeginAllowThreads();
929 result = (int)(arg1)->GetAnchor();
930
931 wxPyEndAllowThreads(__tstate);
932 if (PyErr_Occurred()) SWIG_fail;
933 }
934 resultobj = SWIG_FromInt((int)result);
935 return resultobj;
936 fail:
937 return NULL;
938}
939
940
941static PyObject *_wrap_StyledTextCtrl_GetStyleAt(PyObject *self, PyObject *args, PyObject *kwargs) {
942 PyObject *resultobj;
943 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
944 int arg2 ;
945 int result;
946 PyObject * obj0 = 0 ;
947 PyObject * obj1 = 0 ;
948 char *kwnames[] = {
949 (char *) "self",(char *) "pos", NULL
950 };
951
952 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GetStyleAt",kwnames,&obj0,&obj1)) goto fail;
953 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
954 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
955 arg2 = (int) SWIG_AsInt(obj1);
956 if (PyErr_Occurred()) SWIG_fail;
957 {
958 PyThreadState* __tstate = wxPyBeginAllowThreads();
959 result = (int)(arg1)->GetStyleAt(arg2);
960
961 wxPyEndAllowThreads(__tstate);
962 if (PyErr_Occurred()) SWIG_fail;
963 }
964 resultobj = SWIG_FromInt((int)result);
965 return resultobj;
966 fail:
967 return NULL;
968}
969
970
971static PyObject *_wrap_StyledTextCtrl_Redo(PyObject *self, PyObject *args, PyObject *kwargs) {
972 PyObject *resultobj;
973 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
974 PyObject * obj0 = 0 ;
975 char *kwnames[] = {
976 (char *) "self", NULL
977 };
978
979 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_Redo",kwnames,&obj0)) goto fail;
980 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
981 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
982 {
983 PyThreadState* __tstate = wxPyBeginAllowThreads();
984 (arg1)->Redo();
985
986 wxPyEndAllowThreads(__tstate);
987 if (PyErr_Occurred()) SWIG_fail;
988 }
989 Py_INCREF(Py_None); resultobj = Py_None;
990 return resultobj;
991 fail:
992 return NULL;
993}
994
995
996static PyObject *_wrap_StyledTextCtrl_SetUndoCollection(PyObject *self, PyObject *args, PyObject *kwargs) {
997 PyObject *resultobj;
998 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
999 bool arg2 ;
1000 PyObject * obj0 = 0 ;
1001 PyObject * obj1 = 0 ;
1002 char *kwnames[] = {
1003 (char *) "self",(char *) "collectUndo", NULL
1004 };
1005
1006 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetUndoCollection",kwnames,&obj0,&obj1)) goto fail;
1007 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
1008 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1009 arg2 = (bool) SWIG_AsBool(obj1);
1010 if (PyErr_Occurred()) SWIG_fail;
1011 {
1012 PyThreadState* __tstate = wxPyBeginAllowThreads();
1013 (arg1)->SetUndoCollection(arg2);
1014
1015 wxPyEndAllowThreads(__tstate);
1016 if (PyErr_Occurred()) SWIG_fail;
1017 }
1018 Py_INCREF(Py_None); resultobj = Py_None;
1019 return resultobj;
1020 fail:
1021 return NULL;
1022}
1023
1024
1025static PyObject *_wrap_StyledTextCtrl_SelectAll(PyObject *self, PyObject *args, PyObject *kwargs) {
1026 PyObject *resultobj;
1027 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
1028 PyObject * obj0 = 0 ;
1029 char *kwnames[] = {
1030 (char *) "self", NULL
1031 };
1032
1033 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_SelectAll",kwnames,&obj0)) goto fail;
1034 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
1035 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1036 {
1037 PyThreadState* __tstate = wxPyBeginAllowThreads();
1038 (arg1)->SelectAll();
1039
1040 wxPyEndAllowThreads(__tstate);
1041 if (PyErr_Occurred()) SWIG_fail;
1042 }
1043 Py_INCREF(Py_None); resultobj = Py_None;
1044 return resultobj;
1045 fail:
1046 return NULL;
1047}
1048
1049
1050static PyObject *_wrap_StyledTextCtrl_SetSavePoint(PyObject *self, PyObject *args, PyObject *kwargs) {
1051 PyObject *resultobj;
1052 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
1053 PyObject * obj0 = 0 ;
1054 char *kwnames[] = {
1055 (char *) "self", NULL
1056 };
1057
1058 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_SetSavePoint",kwnames,&obj0)) goto fail;
1059 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
1060 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1061 {
1062 PyThreadState* __tstate = wxPyBeginAllowThreads();
1063 (arg1)->SetSavePoint();
1064
1065 wxPyEndAllowThreads(__tstate);
1066 if (PyErr_Occurred()) SWIG_fail;
1067 }
1068 Py_INCREF(Py_None); resultobj = Py_None;
1069 return resultobj;
1070 fail:
1071 return NULL;
1072}
1073
1074
1075static PyObject *_wrap_StyledTextCtrl_GetStyledText(PyObject *self, PyObject *args, PyObject *kwargs) {
1076 PyObject *resultobj;
1077 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
1078 int arg2 ;
1079 int arg3 ;
1080 wxMemoryBuffer result;
1081 PyObject * obj0 = 0 ;
1082 PyObject * obj1 = 0 ;
1083 PyObject * obj2 = 0 ;
1084 char *kwnames[] = {
1085 (char *) "self",(char *) "startPos",(char *) "endPos", NULL
1086 };
1087
1088 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_GetStyledText",kwnames,&obj0,&obj1,&obj2)) goto fail;
1089 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
1090 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1091 arg2 = (int) SWIG_AsInt(obj1);
1092 if (PyErr_Occurred()) SWIG_fail;
1093 arg3 = (int) SWIG_AsInt(obj2);
1094 if (PyErr_Occurred()) SWIG_fail;
1095 {
1096 PyThreadState* __tstate = wxPyBeginAllowThreads();
1097 result = (arg1)->GetStyledText(arg2,arg3);
1098
1099 wxPyEndAllowThreads(__tstate);
1100 if (PyErr_Occurred()) SWIG_fail;
1101 }
1102 {
1103 resultobj = PyString_FromStringAndSize((char*)(&result)->GetData(), (&result)->GetDataLen());
1104 }
1105 return resultobj;
1106 fail:
1107 return NULL;
1108}
1109
1110
1111static PyObject *_wrap_StyledTextCtrl_CanRedo(PyObject *self, PyObject *args, PyObject *kwargs) {
1112 PyObject *resultobj;
1113 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
1114 bool result;
1115 PyObject * obj0 = 0 ;
1116 char *kwnames[] = {
1117 (char *) "self", NULL
1118 };
1119
1120 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_CanRedo",kwnames,&obj0)) goto fail;
1121 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
1122 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1123 {
1124 PyThreadState* __tstate = wxPyBeginAllowThreads();
1125 result = (bool)(arg1)->CanRedo();
1126
1127 wxPyEndAllowThreads(__tstate);
1128 if (PyErr_Occurred()) SWIG_fail;
1129 }
1130 {
1131 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
1132 }
1133 return resultobj;
1134 fail:
1135 return NULL;
1136}
1137
1138
1139static PyObject *_wrap_StyledTextCtrl_MarkerLineFromHandle(PyObject *self, PyObject *args, PyObject *kwargs) {
1140 PyObject *resultobj;
1141 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
1142 int arg2 ;
1143 int result;
1144 PyObject * obj0 = 0 ;
1145 PyObject * obj1 = 0 ;
1146 char *kwnames[] = {
1147 (char *) "self",(char *) "handle", NULL
1148 };
1149
1150 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_MarkerLineFromHandle",kwnames,&obj0,&obj1)) goto fail;
1151 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
1152 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1153 arg2 = (int) SWIG_AsInt(obj1);
1154 if (PyErr_Occurred()) SWIG_fail;
1155 {
1156 PyThreadState* __tstate = wxPyBeginAllowThreads();
1157 result = (int)(arg1)->MarkerLineFromHandle(arg2);
1158
1159 wxPyEndAllowThreads(__tstate);
1160 if (PyErr_Occurred()) SWIG_fail;
1161 }
1162 resultobj = SWIG_FromInt((int)result);
1163 return resultobj;
1164 fail:
1165 return NULL;
1166}
1167
1168
1169static PyObject *_wrap_StyledTextCtrl_MarkerDeleteHandle(PyObject *self, PyObject *args, PyObject *kwargs) {
1170 PyObject *resultobj;
1171 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
1172 int arg2 ;
1173 PyObject * obj0 = 0 ;
1174 PyObject * obj1 = 0 ;
1175 char *kwnames[] = {
1176 (char *) "self",(char *) "handle", NULL
1177 };
1178
1179 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_MarkerDeleteHandle",kwnames,&obj0,&obj1)) goto fail;
1180 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
1181 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1182 arg2 = (int) SWIG_AsInt(obj1);
1183 if (PyErr_Occurred()) SWIG_fail;
1184 {
1185 PyThreadState* __tstate = wxPyBeginAllowThreads();
1186 (arg1)->MarkerDeleteHandle(arg2);
1187
1188 wxPyEndAllowThreads(__tstate);
1189 if (PyErr_Occurred()) SWIG_fail;
1190 }
1191 Py_INCREF(Py_None); resultobj = Py_None;
1192 return resultobj;
1193 fail:
1194 return NULL;
1195}
1196
1197
1198static PyObject *_wrap_StyledTextCtrl_GetUndoCollection(PyObject *self, PyObject *args, PyObject *kwargs) {
1199 PyObject *resultobj;
1200 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
1201 bool result;
1202 PyObject * obj0 = 0 ;
1203 char *kwnames[] = {
1204 (char *) "self", NULL
1205 };
1206
1207 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetUndoCollection",kwnames,&obj0)) goto fail;
1208 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
1209 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1210 {
1211 PyThreadState* __tstate = wxPyBeginAllowThreads();
1212 result = (bool)(arg1)->GetUndoCollection();
1213
1214 wxPyEndAllowThreads(__tstate);
1215 if (PyErr_Occurred()) SWIG_fail;
1216 }
1217 {
1218 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
1219 }
1220 return resultobj;
1221 fail:
1222 return NULL;
1223}
1224
1225
1226static PyObject *_wrap_StyledTextCtrl_GetViewWhiteSpace(PyObject *self, PyObject *args, PyObject *kwargs) {
1227 PyObject *resultobj;
1228 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
1229 int result;
1230 PyObject * obj0 = 0 ;
1231 char *kwnames[] = {
1232 (char *) "self", NULL
1233 };
1234
1235 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetViewWhiteSpace",kwnames,&obj0)) goto fail;
1236 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
1237 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1238 {
1239 PyThreadState* __tstate = wxPyBeginAllowThreads();
1240 result = (int)(arg1)->GetViewWhiteSpace();
1241
1242 wxPyEndAllowThreads(__tstate);
1243 if (PyErr_Occurred()) SWIG_fail;
1244 }
1245 resultobj = SWIG_FromInt((int)result);
1246 return resultobj;
1247 fail:
1248 return NULL;
1249}
1250
1251
1252static PyObject *_wrap_StyledTextCtrl_SetViewWhiteSpace(PyObject *self, PyObject *args, PyObject *kwargs) {
1253 PyObject *resultobj;
1254 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
1255 int arg2 ;
1256 PyObject * obj0 = 0 ;
1257 PyObject * obj1 = 0 ;
1258 char *kwnames[] = {
1259 (char *) "self",(char *) "viewWS", NULL
1260 };
1261
1262 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetViewWhiteSpace",kwnames,&obj0,&obj1)) goto fail;
1263 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
1264 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1265 arg2 = (int) SWIG_AsInt(obj1);
1266 if (PyErr_Occurred()) SWIG_fail;
1267 {
1268 PyThreadState* __tstate = wxPyBeginAllowThreads();
1269 (arg1)->SetViewWhiteSpace(arg2);
1270
1271 wxPyEndAllowThreads(__tstate);
1272 if (PyErr_Occurred()) SWIG_fail;
1273 }
1274 Py_INCREF(Py_None); resultobj = Py_None;
1275 return resultobj;
1276 fail:
1277 return NULL;
1278}
1279
1280
1281static PyObject *_wrap_StyledTextCtrl_PositionFromPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
1282 PyObject *resultobj;
1283 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
1284 wxPoint arg2 ;
1285 int result;
1286 wxPoint *argp2 ;
1287 PyObject * obj0 = 0 ;
1288 PyObject * obj1 = 0 ;
1289 char *kwnames[] = {
1290 (char *) "self",(char *) "pt", NULL
1291 };
1292
1293 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_PositionFromPoint",kwnames,&obj0,&obj1)) goto fail;
1294 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
1295 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1296 if ((SWIG_ConvertPtr(obj1,(void **)(&argp2),SWIGTYPE_p_wxPoint,
1297 SWIG_POINTER_EXCEPTION) == -1)) SWIG_fail;
1298 arg2 = *argp2;
1299 {
1300 PyThreadState* __tstate = wxPyBeginAllowThreads();
1301 result = (int)(arg1)->PositionFromPoint(arg2);
1302
1303 wxPyEndAllowThreads(__tstate);
1304 if (PyErr_Occurred()) SWIG_fail;
1305 }
1306 resultobj = SWIG_FromInt((int)result);
1307 return resultobj;
1308 fail:
1309 return NULL;
1310}
1311
1312
1313static PyObject *_wrap_StyledTextCtrl_PositionFromPointClose(PyObject *self, PyObject *args, PyObject *kwargs) {
1314 PyObject *resultobj;
1315 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
1316 int arg2 ;
1317 int arg3 ;
1318 int result;
1319 PyObject * obj0 = 0 ;
1320 PyObject * obj1 = 0 ;
1321 PyObject * obj2 = 0 ;
1322 char *kwnames[] = {
1323 (char *) "self",(char *) "x",(char *) "y", NULL
1324 };
1325
1326 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_PositionFromPointClose",kwnames,&obj0,&obj1,&obj2)) goto fail;
1327 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
1328 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1329 arg2 = (int) SWIG_AsInt(obj1);
1330 if (PyErr_Occurred()) SWIG_fail;
1331 arg3 = (int) SWIG_AsInt(obj2);
1332 if (PyErr_Occurred()) SWIG_fail;
1333 {
1334 PyThreadState* __tstate = wxPyBeginAllowThreads();
1335 result = (int)(arg1)->PositionFromPointClose(arg2,arg3);
1336
1337 wxPyEndAllowThreads(__tstate);
1338 if (PyErr_Occurred()) SWIG_fail;
1339 }
1340 resultobj = SWIG_FromInt((int)result);
1341 return resultobj;
1342 fail:
1343 return NULL;
1344}
1345
1346
1347static PyObject *_wrap_StyledTextCtrl_GotoLine(PyObject *self, PyObject *args, PyObject *kwargs) {
1348 PyObject *resultobj;
1349 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
1350 int arg2 ;
1351 PyObject * obj0 = 0 ;
1352 PyObject * obj1 = 0 ;
1353 char *kwnames[] = {
1354 (char *) "self",(char *) "line", NULL
1355 };
1356
1357 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GotoLine",kwnames,&obj0,&obj1)) goto fail;
1358 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
1359 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1360 arg2 = (int) SWIG_AsInt(obj1);
1361 if (PyErr_Occurred()) SWIG_fail;
1362 {
1363 PyThreadState* __tstate = wxPyBeginAllowThreads();
1364 (arg1)->GotoLine(arg2);
1365
1366 wxPyEndAllowThreads(__tstate);
1367 if (PyErr_Occurred()) SWIG_fail;
1368 }
1369 Py_INCREF(Py_None); resultobj = Py_None;
1370 return resultobj;
1371 fail:
1372 return NULL;
1373}
1374
1375
1376static PyObject *_wrap_StyledTextCtrl_GotoPos(PyObject *self, PyObject *args, PyObject *kwargs) {
1377 PyObject *resultobj;
1378 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
1379 int arg2 ;
1380 PyObject * obj0 = 0 ;
1381 PyObject * obj1 = 0 ;
1382 char *kwnames[] = {
1383 (char *) "self",(char *) "pos", NULL
1384 };
1385
1386 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GotoPos",kwnames,&obj0,&obj1)) goto fail;
1387 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
1388 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1389 arg2 = (int) SWIG_AsInt(obj1);
1390 if (PyErr_Occurred()) SWIG_fail;
1391 {
1392 PyThreadState* __tstate = wxPyBeginAllowThreads();
1393 (arg1)->GotoPos(arg2);
1394
1395 wxPyEndAllowThreads(__tstate);
1396 if (PyErr_Occurred()) SWIG_fail;
1397 }
1398 Py_INCREF(Py_None); resultobj = Py_None;
1399 return resultobj;
1400 fail:
1401 return NULL;
1402}
1403
1404
1405static PyObject *_wrap_StyledTextCtrl_SetAnchor(PyObject *self, PyObject *args, PyObject *kwargs) {
1406 PyObject *resultobj;
1407 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
1408 int arg2 ;
1409 PyObject * obj0 = 0 ;
1410 PyObject * obj1 = 0 ;
1411 char *kwnames[] = {
1412 (char *) "self",(char *) "posAnchor", NULL
1413 };
1414
1415 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetAnchor",kwnames,&obj0,&obj1)) goto fail;
1416 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
1417 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1418 arg2 = (int) SWIG_AsInt(obj1);
1419 if (PyErr_Occurred()) SWIG_fail;
1420 {
1421 PyThreadState* __tstate = wxPyBeginAllowThreads();
1422 (arg1)->SetAnchor(arg2);
1423
1424 wxPyEndAllowThreads(__tstate);
1425 if (PyErr_Occurred()) SWIG_fail;
1426 }
1427 Py_INCREF(Py_None); resultobj = Py_None;
1428 return resultobj;
1429 fail:
1430 return NULL;
1431}
1432
1433
1434static PyObject *_wrap_StyledTextCtrl_GetCurLine(PyObject *self, PyObject *args, PyObject *kwargs) {
1435 PyObject *resultobj;
1436 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
1437 int *arg2 = (int *) 0 ;
1438 wxString result;
1439 int temp2 ;
1440 PyObject * obj0 = 0 ;
1441 char *kwnames[] = {
1442 (char *) "self", NULL
1443 };
1444
1445 arg2 = &temp2;
1446 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetCurLine",kwnames,&obj0)) goto fail;
1447 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
1448 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1449 {
1450 PyThreadState* __tstate = wxPyBeginAllowThreads();
1451 result = (arg1)->GetCurLine(arg2);
1452
1453 wxPyEndAllowThreads(__tstate);
1454 if (PyErr_Occurred()) SWIG_fail;
1455 }
1456 {
1457#if wxUSE_UNICODE
1458 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
1459#else
1460 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
1461#endif
1462 }
1463 {
1464 PyObject *o = PyInt_FromLong((long) (*arg2));
1465 resultobj = t_output_helper(resultobj,o);
1466 }
1467 return resultobj;
1468 fail:
1469 return NULL;
1470}
1471
1472
1473static PyObject *_wrap_StyledTextCtrl_GetEndStyled(PyObject *self, PyObject *args, PyObject *kwargs) {
1474 PyObject *resultobj;
1475 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
1476 int result;
1477 PyObject * obj0 = 0 ;
1478 char *kwnames[] = {
1479 (char *) "self", NULL
1480 };
1481
1482 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetEndStyled",kwnames,&obj0)) goto fail;
1483 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
1484 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1485 {
1486 PyThreadState* __tstate = wxPyBeginAllowThreads();
1487 result = (int)(arg1)->GetEndStyled();
1488
1489 wxPyEndAllowThreads(__tstate);
1490 if (PyErr_Occurred()) SWIG_fail;
1491 }
1492 resultobj = SWIG_FromInt((int)result);
1493 return resultobj;
1494 fail:
1495 return NULL;
1496}
1497
1498
1499static PyObject *_wrap_StyledTextCtrl_ConvertEOLs(PyObject *self, PyObject *args, PyObject *kwargs) {
1500 PyObject *resultobj;
1501 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
1502 int arg2 ;
1503 PyObject * obj0 = 0 ;
1504 PyObject * obj1 = 0 ;
1505 char *kwnames[] = {
1506 (char *) "self",(char *) "eolMode", NULL
1507 };
1508
1509 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_ConvertEOLs",kwnames,&obj0,&obj1)) goto fail;
1510 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
1511 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1512 arg2 = (int) SWIG_AsInt(obj1);
1513 if (PyErr_Occurred()) SWIG_fail;
1514 {
1515 PyThreadState* __tstate = wxPyBeginAllowThreads();
1516 (arg1)->ConvertEOLs(arg2);
1517
1518 wxPyEndAllowThreads(__tstate);
1519 if (PyErr_Occurred()) SWIG_fail;
1520 }
1521 Py_INCREF(Py_None); resultobj = Py_None;
1522 return resultobj;
1523 fail:
1524 return NULL;
1525}
1526
1527
1528static PyObject *_wrap_StyledTextCtrl_GetEOLMode(PyObject *self, PyObject *args, PyObject *kwargs) {
1529 PyObject *resultobj;
1530 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
1531 int result;
1532 PyObject * obj0 = 0 ;
1533 char *kwnames[] = {
1534 (char *) "self", NULL
1535 };
1536
1537 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetEOLMode",kwnames,&obj0)) goto fail;
1538 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
1539 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1540 {
1541 PyThreadState* __tstate = wxPyBeginAllowThreads();
1542 result = (int)(arg1)->GetEOLMode();
1543
1544 wxPyEndAllowThreads(__tstate);
1545 if (PyErr_Occurred()) SWIG_fail;
1546 }
1547 resultobj = SWIG_FromInt((int)result);
1548 return resultobj;
1549 fail:
1550 return NULL;
1551}
1552
1553
1554static PyObject *_wrap_StyledTextCtrl_SetEOLMode(PyObject *self, PyObject *args, PyObject *kwargs) {
1555 PyObject *resultobj;
1556 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
1557 int arg2 ;
1558 PyObject * obj0 = 0 ;
1559 PyObject * obj1 = 0 ;
1560 char *kwnames[] = {
1561 (char *) "self",(char *) "eolMode", NULL
1562 };
1563
1564 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetEOLMode",kwnames,&obj0,&obj1)) goto fail;
1565 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
1566 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1567 arg2 = (int) SWIG_AsInt(obj1);
1568 if (PyErr_Occurred()) SWIG_fail;
1569 {
1570 PyThreadState* __tstate = wxPyBeginAllowThreads();
1571 (arg1)->SetEOLMode(arg2);
1572
1573 wxPyEndAllowThreads(__tstate);
1574 if (PyErr_Occurred()) SWIG_fail;
1575 }
1576 Py_INCREF(Py_None); resultobj = Py_None;
1577 return resultobj;
1578 fail:
1579 return NULL;
1580}
1581
1582
1583static PyObject *_wrap_StyledTextCtrl_StartStyling(PyObject *self, PyObject *args, PyObject *kwargs) {
1584 PyObject *resultobj;
1585 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
1586 int arg2 ;
1587 int arg3 ;
1588 PyObject * obj0 = 0 ;
1589 PyObject * obj1 = 0 ;
1590 PyObject * obj2 = 0 ;
1591 char *kwnames[] = {
1592 (char *) "self",(char *) "pos",(char *) "mask", NULL
1593 };
1594
1595 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_StartStyling",kwnames,&obj0,&obj1,&obj2)) goto fail;
1596 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
1597 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1598 arg2 = (int) SWIG_AsInt(obj1);
1599 if (PyErr_Occurred()) SWIG_fail;
1600 arg3 = (int) SWIG_AsInt(obj2);
1601 if (PyErr_Occurred()) SWIG_fail;
1602 {
1603 PyThreadState* __tstate = wxPyBeginAllowThreads();
1604 (arg1)->StartStyling(arg2,arg3);
1605
1606 wxPyEndAllowThreads(__tstate);
1607 if (PyErr_Occurred()) SWIG_fail;
1608 }
1609 Py_INCREF(Py_None); resultobj = Py_None;
1610 return resultobj;
1611 fail:
1612 return NULL;
1613}
1614
1615
1616static PyObject *_wrap_StyledTextCtrl_SetStyling(PyObject *self, PyObject *args, PyObject *kwargs) {
1617 PyObject *resultobj;
1618 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
1619 int arg2 ;
1620 int arg3 ;
1621 PyObject * obj0 = 0 ;
1622 PyObject * obj1 = 0 ;
1623 PyObject * obj2 = 0 ;
1624 char *kwnames[] = {
1625 (char *) "self",(char *) "length",(char *) "style", NULL
1626 };
1627
1628 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetStyling",kwnames,&obj0,&obj1,&obj2)) goto fail;
1629 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
1630 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1631 arg2 = (int) SWIG_AsInt(obj1);
1632 if (PyErr_Occurred()) SWIG_fail;
1633 arg3 = (int) SWIG_AsInt(obj2);
1634 if (PyErr_Occurred()) SWIG_fail;
1635 {
1636 PyThreadState* __tstate = wxPyBeginAllowThreads();
1637 (arg1)->SetStyling(arg2,arg3);
1638
1639 wxPyEndAllowThreads(__tstate);
1640 if (PyErr_Occurred()) SWIG_fail;
1641 }
1642 Py_INCREF(Py_None); resultobj = Py_None;
1643 return resultobj;
1644 fail:
1645 return NULL;
1646}
1647
1648
1649static PyObject *_wrap_StyledTextCtrl_GetBufferedDraw(PyObject *self, PyObject *args, PyObject *kwargs) {
1650 PyObject *resultobj;
1651 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
1652 bool result;
1653 PyObject * obj0 = 0 ;
1654 char *kwnames[] = {
1655 (char *) "self", NULL
1656 };
1657
1658 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetBufferedDraw",kwnames,&obj0)) goto fail;
1659 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
1660 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1661 {
1662 PyThreadState* __tstate = wxPyBeginAllowThreads();
1663 result = (bool)(arg1)->GetBufferedDraw();
1664
1665 wxPyEndAllowThreads(__tstate);
1666 if (PyErr_Occurred()) SWIG_fail;
1667 }
1668 {
1669 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
1670 }
1671 return resultobj;
1672 fail:
1673 return NULL;
1674}
1675
1676
1677static PyObject *_wrap_StyledTextCtrl_SetBufferedDraw(PyObject *self, PyObject *args, PyObject *kwargs) {
1678 PyObject *resultobj;
1679 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
1680 bool arg2 ;
1681 PyObject * obj0 = 0 ;
1682 PyObject * obj1 = 0 ;
1683 char *kwnames[] = {
1684 (char *) "self",(char *) "buffered", NULL
1685 };
1686
1687 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetBufferedDraw",kwnames,&obj0,&obj1)) goto fail;
1688 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
1689 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1690 arg2 = (bool) SWIG_AsBool(obj1);
1691 if (PyErr_Occurred()) SWIG_fail;
1692 {
1693 PyThreadState* __tstate = wxPyBeginAllowThreads();
1694 (arg1)->SetBufferedDraw(arg2);
1695
1696 wxPyEndAllowThreads(__tstate);
1697 if (PyErr_Occurred()) SWIG_fail;
1698 }
1699 Py_INCREF(Py_None); resultobj = Py_None;
1700 return resultobj;
1701 fail:
1702 return NULL;
1703}
1704
1705
1706static PyObject *_wrap_StyledTextCtrl_SetTabWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
1707 PyObject *resultobj;
1708 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
1709 int arg2 ;
1710 PyObject * obj0 = 0 ;
1711 PyObject * obj1 = 0 ;
1712 char *kwnames[] = {
1713 (char *) "self",(char *) "tabWidth", NULL
1714 };
1715
1716 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetTabWidth",kwnames,&obj0,&obj1)) goto fail;
1717 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
1718 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1719 arg2 = (int) SWIG_AsInt(obj1);
1720 if (PyErr_Occurred()) SWIG_fail;
1721 {
1722 PyThreadState* __tstate = wxPyBeginAllowThreads();
1723 (arg1)->SetTabWidth(arg2);
1724
1725 wxPyEndAllowThreads(__tstate);
1726 if (PyErr_Occurred()) SWIG_fail;
1727 }
1728 Py_INCREF(Py_None); resultobj = Py_None;
1729 return resultobj;
1730 fail:
1731 return NULL;
1732}
1733
1734
1735static PyObject *_wrap_StyledTextCtrl_GetTabWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
1736 PyObject *resultobj;
1737 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
1738 int result;
1739 PyObject * obj0 = 0 ;
1740 char *kwnames[] = {
1741 (char *) "self", NULL
1742 };
1743
1744 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetTabWidth",kwnames,&obj0)) goto fail;
1745 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
1746 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1747 {
1748 PyThreadState* __tstate = wxPyBeginAllowThreads();
1749 result = (int)(arg1)->GetTabWidth();
1750
1751 wxPyEndAllowThreads(__tstate);
1752 if (PyErr_Occurred()) SWIG_fail;
1753 }
1754 resultobj = SWIG_FromInt((int)result);
1755 return resultobj;
1756 fail:
1757 return NULL;
1758}
1759
1760
1761static PyObject *_wrap_StyledTextCtrl_SetCodePage(PyObject *self, PyObject *args, PyObject *kwargs) {
1762 PyObject *resultobj;
1763 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
1764 int arg2 ;
1765 PyObject * obj0 = 0 ;
1766 PyObject * obj1 = 0 ;
1767 char *kwnames[] = {
1768 (char *) "self",(char *) "codePage", NULL
1769 };
1770
1771 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetCodePage",kwnames,&obj0,&obj1)) goto fail;
1772 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
1773 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1774 arg2 = (int) SWIG_AsInt(obj1);
1775 if (PyErr_Occurred()) SWIG_fail;
1776 {
1777 PyThreadState* __tstate = wxPyBeginAllowThreads();
1778 (arg1)->SetCodePage(arg2);
1779
1780 wxPyEndAllowThreads(__tstate);
1781 if (PyErr_Occurred()) SWIG_fail;
1782 }
1783 Py_INCREF(Py_None); resultobj = Py_None;
1784 return resultobj;
1785 fail:
1786 return NULL;
1787}
1788
1789
1790static PyObject *_wrap_StyledTextCtrl_MarkerDefine(PyObject *self, PyObject *args, PyObject *kwargs) {
1791 PyObject *resultobj;
1792 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
1793 int arg2 ;
1794 int arg3 ;
1795 wxColour const &arg4_defvalue = wxNullColour ;
1796 wxColour *arg4 = (wxColour *) &arg4_defvalue ;
1797 wxColour const &arg5_defvalue = wxNullColour ;
1798 wxColour *arg5 = (wxColour *) &arg5_defvalue ;
1799 wxColour temp4 ;
1800 wxColour temp5 ;
1801 PyObject * obj0 = 0 ;
1802 PyObject * obj1 = 0 ;
1803 PyObject * obj2 = 0 ;
1804 PyObject * obj3 = 0 ;
1805 PyObject * obj4 = 0 ;
1806 char *kwnames[] = {
1807 (char *) "self",(char *) "markerNumber",(char *) "markerSymbol",(char *) "foreground",(char *) "background", NULL
1808 };
1809
1810 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:StyledTextCtrl_MarkerDefine",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
1811 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
1812 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1813 arg2 = (int) SWIG_AsInt(obj1);
1814 if (PyErr_Occurred()) SWIG_fail;
1815 arg3 = (int) SWIG_AsInt(obj2);
1816 if (PyErr_Occurred()) SWIG_fail;
1817 if (obj3) {
1818 {
1819 arg4 = &temp4;
1820 if ( ! wxColour_helper(obj3, &arg4)) SWIG_fail;
1821 }
1822 }
1823 if (obj4) {
1824 {
1825 arg5 = &temp5;
1826 if ( ! wxColour_helper(obj4, &arg5)) SWIG_fail;
1827 }
1828 }
1829 {
1830 PyThreadState* __tstate = wxPyBeginAllowThreads();
1831 (arg1)->MarkerDefine(arg2,arg3,(wxColour const &)*arg4,(wxColour const &)*arg5);
1832
1833 wxPyEndAllowThreads(__tstate);
1834 if (PyErr_Occurred()) SWIG_fail;
1835 }
1836 Py_INCREF(Py_None); resultobj = Py_None;
1837 return resultobj;
1838 fail:
1839 return NULL;
1840}
1841
1842
1843static PyObject *_wrap_StyledTextCtrl_MarkerSetForeground(PyObject *self, PyObject *args, PyObject *kwargs) {
1844 PyObject *resultobj;
1845 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
1846 int arg2 ;
1847 wxColour *arg3 = 0 ;
1848 wxColour temp3 ;
1849 PyObject * obj0 = 0 ;
1850 PyObject * obj1 = 0 ;
1851 PyObject * obj2 = 0 ;
1852 char *kwnames[] = {
1853 (char *) "self",(char *) "markerNumber",(char *) "fore", NULL
1854 };
1855
1856 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_MarkerSetForeground",kwnames,&obj0,&obj1,&obj2)) goto fail;
1857 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
1858 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1859 arg2 = (int) SWIG_AsInt(obj1);
1860 if (PyErr_Occurred()) SWIG_fail;
1861 {
1862 arg3 = &temp3;
1863 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
1864 }
1865 {
1866 PyThreadState* __tstate = wxPyBeginAllowThreads();
1867 (arg1)->MarkerSetForeground(arg2,(wxColour const &)*arg3);
1868
1869 wxPyEndAllowThreads(__tstate);
1870 if (PyErr_Occurred()) SWIG_fail;
1871 }
1872 Py_INCREF(Py_None); resultobj = Py_None;
1873 return resultobj;
1874 fail:
1875 return NULL;
1876}
1877
1878
1879static PyObject *_wrap_StyledTextCtrl_MarkerSetBackground(PyObject *self, PyObject *args, PyObject *kwargs) {
1880 PyObject *resultobj;
1881 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
1882 int arg2 ;
1883 wxColour *arg3 = 0 ;
1884 wxColour temp3 ;
1885 PyObject * obj0 = 0 ;
1886 PyObject * obj1 = 0 ;
1887 PyObject * obj2 = 0 ;
1888 char *kwnames[] = {
1889 (char *) "self",(char *) "markerNumber",(char *) "back", NULL
1890 };
1891
1892 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_MarkerSetBackground",kwnames,&obj0,&obj1,&obj2)) goto fail;
1893 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
1894 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1895 arg2 = (int) SWIG_AsInt(obj1);
1896 if (PyErr_Occurred()) SWIG_fail;
1897 {
1898 arg3 = &temp3;
1899 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
1900 }
1901 {
1902 PyThreadState* __tstate = wxPyBeginAllowThreads();
1903 (arg1)->MarkerSetBackground(arg2,(wxColour const &)*arg3);
1904
1905 wxPyEndAllowThreads(__tstate);
1906 if (PyErr_Occurred()) SWIG_fail;
1907 }
1908 Py_INCREF(Py_None); resultobj = Py_None;
1909 return resultobj;
1910 fail:
1911 return NULL;
1912}
1913
1914
1915static PyObject *_wrap_StyledTextCtrl_MarkerAdd(PyObject *self, PyObject *args, PyObject *kwargs) {
1916 PyObject *resultobj;
1917 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
1918 int arg2 ;
1919 int arg3 ;
1920 int result;
1921 PyObject * obj0 = 0 ;
1922 PyObject * obj1 = 0 ;
1923 PyObject * obj2 = 0 ;
1924 char *kwnames[] = {
1925 (char *) "self",(char *) "line",(char *) "markerNumber", NULL
1926 };
1927
1928 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_MarkerAdd",kwnames,&obj0,&obj1,&obj2)) goto fail;
1929 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
1930 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1931 arg2 = (int) SWIG_AsInt(obj1);
1932 if (PyErr_Occurred()) SWIG_fail;
1933 arg3 = (int) SWIG_AsInt(obj2);
1934 if (PyErr_Occurred()) SWIG_fail;
1935 {
1936 PyThreadState* __tstate = wxPyBeginAllowThreads();
1937 result = (int)(arg1)->MarkerAdd(arg2,arg3);
1938
1939 wxPyEndAllowThreads(__tstate);
1940 if (PyErr_Occurred()) SWIG_fail;
1941 }
1942 resultobj = SWIG_FromInt((int)result);
1943 return resultobj;
1944 fail:
1945 return NULL;
1946}
1947
1948
1949static PyObject *_wrap_StyledTextCtrl_MarkerDelete(PyObject *self, PyObject *args, PyObject *kwargs) {
1950 PyObject *resultobj;
1951 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
1952 int arg2 ;
1953 int arg3 ;
1954 PyObject * obj0 = 0 ;
1955 PyObject * obj1 = 0 ;
1956 PyObject * obj2 = 0 ;
1957 char *kwnames[] = {
1958 (char *) "self",(char *) "line",(char *) "markerNumber", NULL
1959 };
1960
1961 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_MarkerDelete",kwnames,&obj0,&obj1,&obj2)) goto fail;
1962 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
1963 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1964 arg2 = (int) SWIG_AsInt(obj1);
1965 if (PyErr_Occurred()) SWIG_fail;
1966 arg3 = (int) SWIG_AsInt(obj2);
1967 if (PyErr_Occurred()) SWIG_fail;
1968 {
1969 PyThreadState* __tstate = wxPyBeginAllowThreads();
1970 (arg1)->MarkerDelete(arg2,arg3);
1971
1972 wxPyEndAllowThreads(__tstate);
1973 if (PyErr_Occurred()) SWIG_fail;
1974 }
1975 Py_INCREF(Py_None); resultobj = Py_None;
1976 return resultobj;
1977 fail:
1978 return NULL;
1979}
1980
1981
1982static PyObject *_wrap_StyledTextCtrl_MarkerDeleteAll(PyObject *self, PyObject *args, PyObject *kwargs) {
1983 PyObject *resultobj;
1984 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
1985 int arg2 ;
1986 PyObject * obj0 = 0 ;
1987 PyObject * obj1 = 0 ;
1988 char *kwnames[] = {
1989 (char *) "self",(char *) "markerNumber", NULL
1990 };
1991
1992 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_MarkerDeleteAll",kwnames,&obj0,&obj1)) goto fail;
1993 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
1994 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1995 arg2 = (int) SWIG_AsInt(obj1);
1996 if (PyErr_Occurred()) SWIG_fail;
1997 {
1998 PyThreadState* __tstate = wxPyBeginAllowThreads();
1999 (arg1)->MarkerDeleteAll(arg2);
2000
2001 wxPyEndAllowThreads(__tstate);
2002 if (PyErr_Occurred()) SWIG_fail;
2003 }
2004 Py_INCREF(Py_None); resultobj = Py_None;
2005 return resultobj;
2006 fail:
2007 return NULL;
2008}
2009
2010
2011static PyObject *_wrap_StyledTextCtrl_MarkerGet(PyObject *self, PyObject *args, PyObject *kwargs) {
2012 PyObject *resultobj;
2013 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
2014 int arg2 ;
2015 int result;
2016 PyObject * obj0 = 0 ;
2017 PyObject * obj1 = 0 ;
2018 char *kwnames[] = {
2019 (char *) "self",(char *) "line", NULL
2020 };
2021
2022 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_MarkerGet",kwnames,&obj0,&obj1)) goto fail;
2023 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
2024 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2025 arg2 = (int) SWIG_AsInt(obj1);
2026 if (PyErr_Occurred()) SWIG_fail;
2027 {
2028 PyThreadState* __tstate = wxPyBeginAllowThreads();
2029 result = (int)(arg1)->MarkerGet(arg2);
2030
2031 wxPyEndAllowThreads(__tstate);
2032 if (PyErr_Occurred()) SWIG_fail;
2033 }
2034 resultobj = SWIG_FromInt((int)result);
2035 return resultobj;
2036 fail:
2037 return NULL;
2038}
2039
2040
2041static PyObject *_wrap_StyledTextCtrl_MarkerNext(PyObject *self, PyObject *args, PyObject *kwargs) {
2042 PyObject *resultobj;
2043 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
2044 int arg2 ;
2045 int arg3 ;
2046 int result;
2047 PyObject * obj0 = 0 ;
2048 PyObject * obj1 = 0 ;
2049 PyObject * obj2 = 0 ;
2050 char *kwnames[] = {
2051 (char *) "self",(char *) "lineStart",(char *) "markerMask", NULL
2052 };
2053
2054 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_MarkerNext",kwnames,&obj0,&obj1,&obj2)) goto fail;
2055 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
2056 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2057 arg2 = (int) SWIG_AsInt(obj1);
2058 if (PyErr_Occurred()) SWIG_fail;
2059 arg3 = (int) SWIG_AsInt(obj2);
2060 if (PyErr_Occurred()) SWIG_fail;
2061 {
2062 PyThreadState* __tstate = wxPyBeginAllowThreads();
2063 result = (int)(arg1)->MarkerNext(arg2,arg3);
2064
2065 wxPyEndAllowThreads(__tstate);
2066 if (PyErr_Occurred()) SWIG_fail;
2067 }
2068 resultobj = SWIG_FromInt((int)result);
2069 return resultobj;
2070 fail:
2071 return NULL;
2072}
2073
2074
2075static PyObject *_wrap_StyledTextCtrl_MarkerPrevious(PyObject *self, PyObject *args, PyObject *kwargs) {
2076 PyObject *resultobj;
2077 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
2078 int arg2 ;
2079 int arg3 ;
2080 int result;
2081 PyObject * obj0 = 0 ;
2082 PyObject * obj1 = 0 ;
2083 PyObject * obj2 = 0 ;
2084 char *kwnames[] = {
2085 (char *) "self",(char *) "lineStart",(char *) "markerMask", NULL
2086 };
2087
2088 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_MarkerPrevious",kwnames,&obj0,&obj1,&obj2)) goto fail;
2089 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
2090 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2091 arg2 = (int) SWIG_AsInt(obj1);
2092 if (PyErr_Occurred()) SWIG_fail;
2093 arg3 = (int) SWIG_AsInt(obj2);
2094 if (PyErr_Occurred()) SWIG_fail;
2095 {
2096 PyThreadState* __tstate = wxPyBeginAllowThreads();
2097 result = (int)(arg1)->MarkerPrevious(arg2,arg3);
2098
2099 wxPyEndAllowThreads(__tstate);
2100 if (PyErr_Occurred()) SWIG_fail;
2101 }
2102 resultobj = SWIG_FromInt((int)result);
2103 return resultobj;
2104 fail:
2105 return NULL;
2106}
2107
2108
2109static PyObject *_wrap_StyledTextCtrl_MarkerDefineBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
2110 PyObject *resultobj;
2111 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
2112 int arg2 ;
2113 wxBitmap *arg3 = 0 ;
2114 PyObject * obj0 = 0 ;
2115 PyObject * obj1 = 0 ;
2116 PyObject * obj2 = 0 ;
2117 char *kwnames[] = {
2118 (char *) "self",(char *) "markerNumber",(char *) "bmp", NULL
2119 };
2120
2121 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_MarkerDefineBitmap",kwnames,&obj0,&obj1,&obj2)) goto fail;
2122 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
2123 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2124 arg2 = (int) SWIG_AsInt(obj1);
2125 if (PyErr_Occurred()) SWIG_fail;
2126 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxBitmap,
2127 SWIG_POINTER_EXCEPTION | 0)) == -1)
2128 SWIG_fail;
2129 if (arg3 == NULL) {
2130 PyErr_SetString(PyExc_TypeError,"null reference");
2131 SWIG_fail;
2132 }
2133 {
2134 PyThreadState* __tstate = wxPyBeginAllowThreads();
2135 (arg1)->MarkerDefineBitmap(arg2,(wxBitmap const &)*arg3);
2136
2137 wxPyEndAllowThreads(__tstate);
2138 if (PyErr_Occurred()) SWIG_fail;
2139 }
2140 Py_INCREF(Py_None); resultobj = Py_None;
2141 return resultobj;
2142 fail:
2143 return NULL;
2144}
2145
2146
2147static PyObject *_wrap_StyledTextCtrl_SetMarginType(PyObject *self, PyObject *args, PyObject *kwargs) {
2148 PyObject *resultobj;
2149 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
2150 int arg2 ;
2151 int arg3 ;
2152 PyObject * obj0 = 0 ;
2153 PyObject * obj1 = 0 ;
2154 PyObject * obj2 = 0 ;
2155 char *kwnames[] = {
2156 (char *) "self",(char *) "margin",(char *) "marginType", NULL
2157 };
2158
2159 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetMarginType",kwnames,&obj0,&obj1,&obj2)) goto fail;
2160 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
2161 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2162 arg2 = (int) SWIG_AsInt(obj1);
2163 if (PyErr_Occurred()) SWIG_fail;
2164 arg3 = (int) SWIG_AsInt(obj2);
2165 if (PyErr_Occurred()) SWIG_fail;
2166 {
2167 PyThreadState* __tstate = wxPyBeginAllowThreads();
2168 (arg1)->SetMarginType(arg2,arg3);
2169
2170 wxPyEndAllowThreads(__tstate);
2171 if (PyErr_Occurred()) SWIG_fail;
2172 }
2173 Py_INCREF(Py_None); resultobj = Py_None;
2174 return resultobj;
2175 fail:
2176 return NULL;
2177}
2178
2179
2180static PyObject *_wrap_StyledTextCtrl_GetMarginType(PyObject *self, PyObject *args, PyObject *kwargs) {
2181 PyObject *resultobj;
2182 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
2183 int arg2 ;
2184 int result;
2185 PyObject * obj0 = 0 ;
2186 PyObject * obj1 = 0 ;
2187 char *kwnames[] = {
2188 (char *) "self",(char *) "margin", NULL
2189 };
2190
2191 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GetMarginType",kwnames,&obj0,&obj1)) goto fail;
2192 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
2193 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2194 arg2 = (int) SWIG_AsInt(obj1);
2195 if (PyErr_Occurred()) SWIG_fail;
2196 {
2197 PyThreadState* __tstate = wxPyBeginAllowThreads();
2198 result = (int)(arg1)->GetMarginType(arg2);
2199
2200 wxPyEndAllowThreads(__tstate);
2201 if (PyErr_Occurred()) SWIG_fail;
2202 }
2203 resultobj = SWIG_FromInt((int)result);
2204 return resultobj;
2205 fail:
2206 return NULL;
2207}
2208
2209
2210static PyObject *_wrap_StyledTextCtrl_SetMarginWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
2211 PyObject *resultobj;
2212 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
2213 int arg2 ;
2214 int arg3 ;
2215 PyObject * obj0 = 0 ;
2216 PyObject * obj1 = 0 ;
2217 PyObject * obj2 = 0 ;
2218 char *kwnames[] = {
2219 (char *) "self",(char *) "margin",(char *) "pixelWidth", NULL
2220 };
2221
2222 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetMarginWidth",kwnames,&obj0,&obj1,&obj2)) goto fail;
2223 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
2224 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2225 arg2 = (int) SWIG_AsInt(obj1);
2226 if (PyErr_Occurred()) SWIG_fail;
2227 arg3 = (int) SWIG_AsInt(obj2);
2228 if (PyErr_Occurred()) SWIG_fail;
2229 {
2230 PyThreadState* __tstate = wxPyBeginAllowThreads();
2231 (arg1)->SetMarginWidth(arg2,arg3);
2232
2233 wxPyEndAllowThreads(__tstate);
2234 if (PyErr_Occurred()) SWIG_fail;
2235 }
2236 Py_INCREF(Py_None); resultobj = Py_None;
2237 return resultobj;
2238 fail:
2239 return NULL;
2240}
2241
2242
2243static PyObject *_wrap_StyledTextCtrl_GetMarginWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
2244 PyObject *resultobj;
2245 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
2246 int arg2 ;
2247 int result;
2248 PyObject * obj0 = 0 ;
2249 PyObject * obj1 = 0 ;
2250 char *kwnames[] = {
2251 (char *) "self",(char *) "margin", NULL
2252 };
2253
2254 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GetMarginWidth",kwnames,&obj0,&obj1)) goto fail;
2255 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
2256 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2257 arg2 = (int) SWIG_AsInt(obj1);
2258 if (PyErr_Occurred()) SWIG_fail;
2259 {
2260 PyThreadState* __tstate = wxPyBeginAllowThreads();
2261 result = (int)(arg1)->GetMarginWidth(arg2);
2262
2263 wxPyEndAllowThreads(__tstate);
2264 if (PyErr_Occurred()) SWIG_fail;
2265 }
2266 resultobj = SWIG_FromInt((int)result);
2267 return resultobj;
2268 fail:
2269 return NULL;
2270}
2271
2272
2273static PyObject *_wrap_StyledTextCtrl_SetMarginMask(PyObject *self, PyObject *args, PyObject *kwargs) {
2274 PyObject *resultobj;
2275 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
2276 int arg2 ;
2277 int arg3 ;
2278 PyObject * obj0 = 0 ;
2279 PyObject * obj1 = 0 ;
2280 PyObject * obj2 = 0 ;
2281 char *kwnames[] = {
2282 (char *) "self",(char *) "margin",(char *) "mask", NULL
2283 };
2284
2285 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetMarginMask",kwnames,&obj0,&obj1,&obj2)) goto fail;
2286 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
2287 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2288 arg2 = (int) SWIG_AsInt(obj1);
2289 if (PyErr_Occurred()) SWIG_fail;
2290 arg3 = (int) SWIG_AsInt(obj2);
2291 if (PyErr_Occurred()) SWIG_fail;
2292 {
2293 PyThreadState* __tstate = wxPyBeginAllowThreads();
2294 (arg1)->SetMarginMask(arg2,arg3);
2295
2296 wxPyEndAllowThreads(__tstate);
2297 if (PyErr_Occurred()) SWIG_fail;
2298 }
2299 Py_INCREF(Py_None); resultobj = Py_None;
2300 return resultobj;
2301 fail:
2302 return NULL;
2303}
2304
2305
2306static PyObject *_wrap_StyledTextCtrl_GetMarginMask(PyObject *self, PyObject *args, PyObject *kwargs) {
2307 PyObject *resultobj;
2308 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
2309 int arg2 ;
2310 int result;
2311 PyObject * obj0 = 0 ;
2312 PyObject * obj1 = 0 ;
2313 char *kwnames[] = {
2314 (char *) "self",(char *) "margin", NULL
2315 };
2316
2317 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GetMarginMask",kwnames,&obj0,&obj1)) goto fail;
2318 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
2319 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2320 arg2 = (int) SWIG_AsInt(obj1);
2321 if (PyErr_Occurred()) SWIG_fail;
2322 {
2323 PyThreadState* __tstate = wxPyBeginAllowThreads();
2324 result = (int)(arg1)->GetMarginMask(arg2);
2325
2326 wxPyEndAllowThreads(__tstate);
2327 if (PyErr_Occurred()) SWIG_fail;
2328 }
2329 resultobj = SWIG_FromInt((int)result);
2330 return resultobj;
2331 fail:
2332 return NULL;
2333}
2334
2335
2336static PyObject *_wrap_StyledTextCtrl_SetMarginSensitive(PyObject *self, PyObject *args, PyObject *kwargs) {
2337 PyObject *resultobj;
2338 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
2339 int arg2 ;
2340 bool arg3 ;
2341 PyObject * obj0 = 0 ;
2342 PyObject * obj1 = 0 ;
2343 PyObject * obj2 = 0 ;
2344 char *kwnames[] = {
2345 (char *) "self",(char *) "margin",(char *) "sensitive", NULL
2346 };
2347
2348 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetMarginSensitive",kwnames,&obj0,&obj1,&obj2)) goto fail;
2349 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
2350 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2351 arg2 = (int) SWIG_AsInt(obj1);
2352 if (PyErr_Occurred()) SWIG_fail;
2353 arg3 = (bool) SWIG_AsBool(obj2);
2354 if (PyErr_Occurred()) SWIG_fail;
2355 {
2356 PyThreadState* __tstate = wxPyBeginAllowThreads();
2357 (arg1)->SetMarginSensitive(arg2,arg3);
2358
2359 wxPyEndAllowThreads(__tstate);
2360 if (PyErr_Occurred()) SWIG_fail;
2361 }
2362 Py_INCREF(Py_None); resultobj = Py_None;
2363 return resultobj;
2364 fail:
2365 return NULL;
2366}
2367
2368
2369static PyObject *_wrap_StyledTextCtrl_GetMarginSensitive(PyObject *self, PyObject *args, PyObject *kwargs) {
2370 PyObject *resultobj;
2371 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
2372 int arg2 ;
2373 bool result;
2374 PyObject * obj0 = 0 ;
2375 PyObject * obj1 = 0 ;
2376 char *kwnames[] = {
2377 (char *) "self",(char *) "margin", NULL
2378 };
2379
2380 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GetMarginSensitive",kwnames,&obj0,&obj1)) goto fail;
2381 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
2382 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2383 arg2 = (int) SWIG_AsInt(obj1);
2384 if (PyErr_Occurred()) SWIG_fail;
2385 {
2386 PyThreadState* __tstate = wxPyBeginAllowThreads();
2387 result = (bool)(arg1)->GetMarginSensitive(arg2);
2388
2389 wxPyEndAllowThreads(__tstate);
2390 if (PyErr_Occurred()) SWIG_fail;
2391 }
2392 {
2393 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2394 }
2395 return resultobj;
2396 fail:
2397 return NULL;
2398}
2399
2400
2401static PyObject *_wrap_StyledTextCtrl_StyleClearAll(PyObject *self, PyObject *args, PyObject *kwargs) {
2402 PyObject *resultobj;
2403 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
2404 PyObject * obj0 = 0 ;
2405 char *kwnames[] = {
2406 (char *) "self", NULL
2407 };
2408
2409 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_StyleClearAll",kwnames,&obj0)) goto fail;
2410 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
2411 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2412 {
2413 PyThreadState* __tstate = wxPyBeginAllowThreads();
2414 (arg1)->StyleClearAll();
2415
2416 wxPyEndAllowThreads(__tstate);
2417 if (PyErr_Occurred()) SWIG_fail;
2418 }
2419 Py_INCREF(Py_None); resultobj = Py_None;
2420 return resultobj;
2421 fail:
2422 return NULL;
2423}
2424
2425
2426static PyObject *_wrap_StyledTextCtrl_StyleSetForeground(PyObject *self, PyObject *args, PyObject *kwargs) {
2427 PyObject *resultobj;
2428 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
2429 int arg2 ;
2430 wxColour *arg3 = 0 ;
2431 wxColour temp3 ;
2432 PyObject * obj0 = 0 ;
2433 PyObject * obj1 = 0 ;
2434 PyObject * obj2 = 0 ;
2435 char *kwnames[] = {
2436 (char *) "self",(char *) "style",(char *) "fore", NULL
2437 };
2438
2439 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_StyleSetForeground",kwnames,&obj0,&obj1,&obj2)) goto fail;
2440 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
2441 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2442 arg2 = (int) SWIG_AsInt(obj1);
2443 if (PyErr_Occurred()) SWIG_fail;
2444 {
2445 arg3 = &temp3;
2446 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
2447 }
2448 {
2449 PyThreadState* __tstate = wxPyBeginAllowThreads();
2450 (arg1)->StyleSetForeground(arg2,(wxColour const &)*arg3);
2451
2452 wxPyEndAllowThreads(__tstate);
2453 if (PyErr_Occurred()) SWIG_fail;
2454 }
2455 Py_INCREF(Py_None); resultobj = Py_None;
2456 return resultobj;
2457 fail:
2458 return NULL;
2459}
2460
2461
2462static PyObject *_wrap_StyledTextCtrl_StyleSetBackground(PyObject *self, PyObject *args, PyObject *kwargs) {
2463 PyObject *resultobj;
2464 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
2465 int arg2 ;
2466 wxColour *arg3 = 0 ;
2467 wxColour temp3 ;
2468 PyObject * obj0 = 0 ;
2469 PyObject * obj1 = 0 ;
2470 PyObject * obj2 = 0 ;
2471 char *kwnames[] = {
2472 (char *) "self",(char *) "style",(char *) "back", NULL
2473 };
2474
2475 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_StyleSetBackground",kwnames,&obj0,&obj1,&obj2)) goto fail;
2476 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
2477 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2478 arg2 = (int) SWIG_AsInt(obj1);
2479 if (PyErr_Occurred()) SWIG_fail;
2480 {
2481 arg3 = &temp3;
2482 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
2483 }
2484 {
2485 PyThreadState* __tstate = wxPyBeginAllowThreads();
2486 (arg1)->StyleSetBackground(arg2,(wxColour const &)*arg3);
2487
2488 wxPyEndAllowThreads(__tstate);
2489 if (PyErr_Occurred()) SWIG_fail;
2490 }
2491 Py_INCREF(Py_None); resultobj = Py_None;
2492 return resultobj;
2493 fail:
2494 return NULL;
2495}
2496
2497
2498static PyObject *_wrap_StyledTextCtrl_StyleSetBold(PyObject *self, PyObject *args, PyObject *kwargs) {
2499 PyObject *resultobj;
2500 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
2501 int arg2 ;
2502 bool arg3 ;
2503 PyObject * obj0 = 0 ;
2504 PyObject * obj1 = 0 ;
2505 PyObject * obj2 = 0 ;
2506 char *kwnames[] = {
2507 (char *) "self",(char *) "style",(char *) "bold", NULL
2508 };
2509
2510 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_StyleSetBold",kwnames,&obj0,&obj1,&obj2)) goto fail;
2511 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
2512 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2513 arg2 = (int) SWIG_AsInt(obj1);
2514 if (PyErr_Occurred()) SWIG_fail;
2515 arg3 = (bool) SWIG_AsBool(obj2);
2516 if (PyErr_Occurred()) SWIG_fail;
2517 {
2518 PyThreadState* __tstate = wxPyBeginAllowThreads();
2519 (arg1)->StyleSetBold(arg2,arg3);
2520
2521 wxPyEndAllowThreads(__tstate);
2522 if (PyErr_Occurred()) SWIG_fail;
2523 }
2524 Py_INCREF(Py_None); resultobj = Py_None;
2525 return resultobj;
2526 fail:
2527 return NULL;
2528}
2529
2530
2531static PyObject *_wrap_StyledTextCtrl_StyleSetItalic(PyObject *self, PyObject *args, PyObject *kwargs) {
2532 PyObject *resultobj;
2533 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
2534 int arg2 ;
2535 bool arg3 ;
2536 PyObject * obj0 = 0 ;
2537 PyObject * obj1 = 0 ;
2538 PyObject * obj2 = 0 ;
2539 char *kwnames[] = {
2540 (char *) "self",(char *) "style",(char *) "italic", NULL
2541 };
2542
2543 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_StyleSetItalic",kwnames,&obj0,&obj1,&obj2)) goto fail;
2544 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
2545 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2546 arg2 = (int) SWIG_AsInt(obj1);
2547 if (PyErr_Occurred()) SWIG_fail;
2548 arg3 = (bool) SWIG_AsBool(obj2);
2549 if (PyErr_Occurred()) SWIG_fail;
2550 {
2551 PyThreadState* __tstate = wxPyBeginAllowThreads();
2552 (arg1)->StyleSetItalic(arg2,arg3);
2553
2554 wxPyEndAllowThreads(__tstate);
2555 if (PyErr_Occurred()) SWIG_fail;
2556 }
2557 Py_INCREF(Py_None); resultobj = Py_None;
2558 return resultobj;
2559 fail:
2560 return NULL;
2561}
2562
2563
2564static PyObject *_wrap_StyledTextCtrl_StyleSetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
2565 PyObject *resultobj;
2566 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
2567 int arg2 ;
2568 int arg3 ;
2569 PyObject * obj0 = 0 ;
2570 PyObject * obj1 = 0 ;
2571 PyObject * obj2 = 0 ;
2572 char *kwnames[] = {
2573 (char *) "self",(char *) "style",(char *) "sizePoints", NULL
2574 };
2575
2576 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_StyleSetSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
2577 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
2578 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2579 arg2 = (int) SWIG_AsInt(obj1);
2580 if (PyErr_Occurred()) SWIG_fail;
2581 arg3 = (int) SWIG_AsInt(obj2);
2582 if (PyErr_Occurred()) SWIG_fail;
2583 {
2584 PyThreadState* __tstate = wxPyBeginAllowThreads();
2585 (arg1)->StyleSetSize(arg2,arg3);
2586
2587 wxPyEndAllowThreads(__tstate);
2588 if (PyErr_Occurred()) SWIG_fail;
2589 }
2590 Py_INCREF(Py_None); resultobj = Py_None;
2591 return resultobj;
2592 fail:
2593 return NULL;
2594}
2595
2596
2597static PyObject *_wrap_StyledTextCtrl_StyleSetFaceName(PyObject *self, PyObject *args, PyObject *kwargs) {
2598 PyObject *resultobj;
2599 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
2600 int arg2 ;
2601 wxString *arg3 = 0 ;
2602 bool temp3 = False ;
2603 PyObject * obj0 = 0 ;
2604 PyObject * obj1 = 0 ;
2605 PyObject * obj2 = 0 ;
2606 char *kwnames[] = {
2607 (char *) "self",(char *) "style",(char *) "fontName", NULL
2608 };
2609
2610 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_StyleSetFaceName",kwnames,&obj0,&obj1,&obj2)) goto fail;
2611 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
2612 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2613 arg2 = (int) SWIG_AsInt(obj1);
2614 if (PyErr_Occurred()) SWIG_fail;
2615 {
2616 arg3 = wxString_in_helper(obj2);
2617 if (arg3 == NULL) SWIG_fail;
2618 temp3 = True;
2619 }
2620 {
2621 PyThreadState* __tstate = wxPyBeginAllowThreads();
2622 (arg1)->StyleSetFaceName(arg2,(wxString const &)*arg3);
2623
2624 wxPyEndAllowThreads(__tstate);
2625 if (PyErr_Occurred()) SWIG_fail;
2626 }
2627 Py_INCREF(Py_None); resultobj = Py_None;
2628 {
2629 if (temp3)
2630 delete arg3;
2631 }
2632 return resultobj;
2633 fail:
2634 {
2635 if (temp3)
2636 delete arg3;
2637 }
2638 return NULL;
2639}
2640
2641
2642static PyObject *_wrap_StyledTextCtrl_StyleSetEOLFilled(PyObject *self, PyObject *args, PyObject *kwargs) {
2643 PyObject *resultobj;
2644 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
2645 int arg2 ;
2646 bool arg3 ;
2647 PyObject * obj0 = 0 ;
2648 PyObject * obj1 = 0 ;
2649 PyObject * obj2 = 0 ;
2650 char *kwnames[] = {
2651 (char *) "self",(char *) "style",(char *) "filled", NULL
2652 };
2653
2654 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_StyleSetEOLFilled",kwnames,&obj0,&obj1,&obj2)) goto fail;
2655 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
2656 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2657 arg2 = (int) SWIG_AsInt(obj1);
2658 if (PyErr_Occurred()) SWIG_fail;
2659 arg3 = (bool) SWIG_AsBool(obj2);
2660 if (PyErr_Occurred()) SWIG_fail;
2661 {
2662 PyThreadState* __tstate = wxPyBeginAllowThreads();
2663 (arg1)->StyleSetEOLFilled(arg2,arg3);
2664
2665 wxPyEndAllowThreads(__tstate);
2666 if (PyErr_Occurred()) SWIG_fail;
2667 }
2668 Py_INCREF(Py_None); resultobj = Py_None;
2669 return resultobj;
2670 fail:
2671 return NULL;
2672}
2673
2674
2675static PyObject *_wrap_StyledTextCtrl_StyleResetDefault(PyObject *self, PyObject *args, PyObject *kwargs) {
2676 PyObject *resultobj;
2677 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
2678 PyObject * obj0 = 0 ;
2679 char *kwnames[] = {
2680 (char *) "self", NULL
2681 };
2682
2683 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_StyleResetDefault",kwnames,&obj0)) goto fail;
2684 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
2685 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2686 {
2687 PyThreadState* __tstate = wxPyBeginAllowThreads();
2688 (arg1)->StyleResetDefault();
2689
2690 wxPyEndAllowThreads(__tstate);
2691 if (PyErr_Occurred()) SWIG_fail;
2692 }
2693 Py_INCREF(Py_None); resultobj = Py_None;
2694 return resultobj;
2695 fail:
2696 return NULL;
2697}
2698
2699
2700static PyObject *_wrap_StyledTextCtrl_StyleSetUnderline(PyObject *self, PyObject *args, PyObject *kwargs) {
2701 PyObject *resultobj;
2702 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
2703 int arg2 ;
2704 bool arg3 ;
2705 PyObject * obj0 = 0 ;
2706 PyObject * obj1 = 0 ;
2707 PyObject * obj2 = 0 ;
2708 char *kwnames[] = {
2709 (char *) "self",(char *) "style",(char *) "underline", NULL
2710 };
2711
2712 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_StyleSetUnderline",kwnames,&obj0,&obj1,&obj2)) goto fail;
2713 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
2714 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2715 arg2 = (int) SWIG_AsInt(obj1);
2716 if (PyErr_Occurred()) SWIG_fail;
2717 arg3 = (bool) SWIG_AsBool(obj2);
2718 if (PyErr_Occurred()) SWIG_fail;
2719 {
2720 PyThreadState* __tstate = wxPyBeginAllowThreads();
2721 (arg1)->StyleSetUnderline(arg2,arg3);
2722
2723 wxPyEndAllowThreads(__tstate);
2724 if (PyErr_Occurred()) SWIG_fail;
2725 }
2726 Py_INCREF(Py_None); resultobj = Py_None;
2727 return resultobj;
2728 fail:
2729 return NULL;
2730}
2731
2732
2733static PyObject *_wrap_StyledTextCtrl_StyleSetCase(PyObject *self, PyObject *args, PyObject *kwargs) {
2734 PyObject *resultobj;
2735 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
2736 int arg2 ;
2737 int arg3 ;
2738 PyObject * obj0 = 0 ;
2739 PyObject * obj1 = 0 ;
2740 PyObject * obj2 = 0 ;
2741 char *kwnames[] = {
2742 (char *) "self",(char *) "style",(char *) "caseForce", NULL
2743 };
2744
2745 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_StyleSetCase",kwnames,&obj0,&obj1,&obj2)) goto fail;
2746 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
2747 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2748 arg2 = (int) SWIG_AsInt(obj1);
2749 if (PyErr_Occurred()) SWIG_fail;
2750 arg3 = (int) SWIG_AsInt(obj2);
2751 if (PyErr_Occurred()) SWIG_fail;
2752 {
2753 PyThreadState* __tstate = wxPyBeginAllowThreads();
2754 (arg1)->StyleSetCase(arg2,arg3);
2755
2756 wxPyEndAllowThreads(__tstate);
2757 if (PyErr_Occurred()) SWIG_fail;
2758 }
2759 Py_INCREF(Py_None); resultobj = Py_None;
2760 return resultobj;
2761 fail:
2762 return NULL;
2763}
2764
2765
2766static PyObject *_wrap_StyledTextCtrl_StyleSetCharacterSet(PyObject *self, PyObject *args, PyObject *kwargs) {
2767 PyObject *resultobj;
2768 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
2769 int arg2 ;
2770 int arg3 ;
2771 PyObject * obj0 = 0 ;
2772 PyObject * obj1 = 0 ;
2773 PyObject * obj2 = 0 ;
2774 char *kwnames[] = {
2775 (char *) "self",(char *) "style",(char *) "characterSet", NULL
2776 };
2777
2778 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_StyleSetCharacterSet",kwnames,&obj0,&obj1,&obj2)) goto fail;
2779 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
2780 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2781 arg2 = (int) SWIG_AsInt(obj1);
2782 if (PyErr_Occurred()) SWIG_fail;
2783 arg3 = (int) SWIG_AsInt(obj2);
2784 if (PyErr_Occurred()) SWIG_fail;
2785 {
2786 PyThreadState* __tstate = wxPyBeginAllowThreads();
2787 (arg1)->StyleSetCharacterSet(arg2,arg3);
2788
2789 wxPyEndAllowThreads(__tstate);
2790 if (PyErr_Occurred()) SWIG_fail;
2791 }
2792 Py_INCREF(Py_None); resultobj = Py_None;
2793 return resultobj;
2794 fail:
2795 return NULL;
2796}
2797
2798
2799static PyObject *_wrap_StyledTextCtrl_StyleSetHotSpot(PyObject *self, PyObject *args, PyObject *kwargs) {
2800 PyObject *resultobj;
2801 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
2802 int arg2 ;
2803 bool arg3 ;
2804 PyObject * obj0 = 0 ;
2805 PyObject * obj1 = 0 ;
2806 PyObject * obj2 = 0 ;
2807 char *kwnames[] = {
2808 (char *) "self",(char *) "style",(char *) "hotspot", NULL
2809 };
2810
2811 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_StyleSetHotSpot",kwnames,&obj0,&obj1,&obj2)) goto fail;
2812 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
2813 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2814 arg2 = (int) SWIG_AsInt(obj1);
2815 if (PyErr_Occurred()) SWIG_fail;
2816 arg3 = (bool) SWIG_AsBool(obj2);
2817 if (PyErr_Occurred()) SWIG_fail;
2818 {
2819 PyThreadState* __tstate = wxPyBeginAllowThreads();
2820 (arg1)->StyleSetHotSpot(arg2,arg3);
2821
2822 wxPyEndAllowThreads(__tstate);
2823 if (PyErr_Occurred()) SWIG_fail;
2824 }
2825 Py_INCREF(Py_None); resultobj = Py_None;
2826 return resultobj;
2827 fail:
2828 return NULL;
2829}
2830
2831
2832static PyObject *_wrap_StyledTextCtrl_SetSelForeground(PyObject *self, PyObject *args, PyObject *kwargs) {
2833 PyObject *resultobj;
2834 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
2835 bool arg2 ;
2836 wxColour *arg3 = 0 ;
2837 wxColour temp3 ;
2838 PyObject * obj0 = 0 ;
2839 PyObject * obj1 = 0 ;
2840 PyObject * obj2 = 0 ;
2841 char *kwnames[] = {
2842 (char *) "self",(char *) "useSetting",(char *) "fore", NULL
2843 };
2844
2845 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetSelForeground",kwnames,&obj0,&obj1,&obj2)) goto fail;
2846 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
2847 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2848 arg2 = (bool) SWIG_AsBool(obj1);
2849 if (PyErr_Occurred()) SWIG_fail;
2850 {
2851 arg3 = &temp3;
2852 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
2853 }
2854 {
2855 PyThreadState* __tstate = wxPyBeginAllowThreads();
2856 (arg1)->SetSelForeground(arg2,(wxColour const &)*arg3);
2857
2858 wxPyEndAllowThreads(__tstate);
2859 if (PyErr_Occurred()) SWIG_fail;
2860 }
2861 Py_INCREF(Py_None); resultobj = Py_None;
2862 return resultobj;
2863 fail:
2864 return NULL;
2865}
2866
2867
2868static PyObject *_wrap_StyledTextCtrl_SetSelBackground(PyObject *self, PyObject *args, PyObject *kwargs) {
2869 PyObject *resultobj;
2870 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
2871 bool arg2 ;
2872 wxColour *arg3 = 0 ;
2873 wxColour temp3 ;
2874 PyObject * obj0 = 0 ;
2875 PyObject * obj1 = 0 ;
2876 PyObject * obj2 = 0 ;
2877 char *kwnames[] = {
2878 (char *) "self",(char *) "useSetting",(char *) "back", NULL
2879 };
2880
2881 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetSelBackground",kwnames,&obj0,&obj1,&obj2)) goto fail;
2882 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
2883 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2884 arg2 = (bool) SWIG_AsBool(obj1);
2885 if (PyErr_Occurred()) SWIG_fail;
2886 {
2887 arg3 = &temp3;
2888 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
2889 }
2890 {
2891 PyThreadState* __tstate = wxPyBeginAllowThreads();
2892 (arg1)->SetSelBackground(arg2,(wxColour const &)*arg3);
2893
2894 wxPyEndAllowThreads(__tstate);
2895 if (PyErr_Occurred()) SWIG_fail;
2896 }
2897 Py_INCREF(Py_None); resultobj = Py_None;
2898 return resultobj;
2899 fail:
2900 return NULL;
2901}
2902
2903
2904static PyObject *_wrap_StyledTextCtrl_SetCaretForeground(PyObject *self, PyObject *args, PyObject *kwargs) {
2905 PyObject *resultobj;
2906 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
2907 wxColour *arg2 = 0 ;
2908 wxColour temp2 ;
2909 PyObject * obj0 = 0 ;
2910 PyObject * obj1 = 0 ;
2911 char *kwnames[] = {
2912 (char *) "self",(char *) "fore", NULL
2913 };
2914
2915 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetCaretForeground",kwnames,&obj0,&obj1)) goto fail;
2916 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
2917 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2918 {
2919 arg2 = &temp2;
2920 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
2921 }
2922 {
2923 PyThreadState* __tstate = wxPyBeginAllowThreads();
2924 (arg1)->SetCaretForeground((wxColour const &)*arg2);
2925
2926 wxPyEndAllowThreads(__tstate);
2927 if (PyErr_Occurred()) SWIG_fail;
2928 }
2929 Py_INCREF(Py_None); resultobj = Py_None;
2930 return resultobj;
2931 fail:
2932 return NULL;
2933}
2934
2935
2936static PyObject *_wrap_StyledTextCtrl_CmdKeyAssign(PyObject *self, PyObject *args, PyObject *kwargs) {
2937 PyObject *resultobj;
2938 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
2939 int arg2 ;
2940 int arg3 ;
2941 int arg4 ;
2942 PyObject * obj0 = 0 ;
2943 PyObject * obj1 = 0 ;
2944 PyObject * obj2 = 0 ;
2945 PyObject * obj3 = 0 ;
2946 char *kwnames[] = {
2947 (char *) "self",(char *) "key",(char *) "modifiers",(char *) "cmd", NULL
2948 };
2949
2950 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:StyledTextCtrl_CmdKeyAssign",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
2951 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
2952 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2953 arg2 = (int) SWIG_AsInt(obj1);
2954 if (PyErr_Occurred()) SWIG_fail;
2955 arg3 = (int) SWIG_AsInt(obj2);
2956 if (PyErr_Occurred()) SWIG_fail;
2957 arg4 = (int) SWIG_AsInt(obj3);
2958 if (PyErr_Occurred()) SWIG_fail;
2959 {
2960 PyThreadState* __tstate = wxPyBeginAllowThreads();
2961 (arg1)->CmdKeyAssign(arg2,arg3,arg4);
2962
2963 wxPyEndAllowThreads(__tstate);
2964 if (PyErr_Occurred()) SWIG_fail;
2965 }
2966 Py_INCREF(Py_None); resultobj = Py_None;
2967 return resultobj;
2968 fail:
2969 return NULL;
2970}
2971
2972
2973static PyObject *_wrap_StyledTextCtrl_CmdKeyClear(PyObject *self, PyObject *args, PyObject *kwargs) {
2974 PyObject *resultobj;
2975 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
2976 int arg2 ;
2977 int arg3 ;
2978 PyObject * obj0 = 0 ;
2979 PyObject * obj1 = 0 ;
2980 PyObject * obj2 = 0 ;
2981 char *kwnames[] = {
2982 (char *) "self",(char *) "key",(char *) "modifiers", NULL
2983 };
2984
2985 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_CmdKeyClear",kwnames,&obj0,&obj1,&obj2)) goto fail;
2986 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
2987 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2988 arg2 = (int) SWIG_AsInt(obj1);
2989 if (PyErr_Occurred()) SWIG_fail;
2990 arg3 = (int) SWIG_AsInt(obj2);
2991 if (PyErr_Occurred()) SWIG_fail;
2992 {
2993 PyThreadState* __tstate = wxPyBeginAllowThreads();
2994 (arg1)->CmdKeyClear(arg2,arg3);
2995
2996 wxPyEndAllowThreads(__tstate);
2997 if (PyErr_Occurred()) SWIG_fail;
2998 }
2999 Py_INCREF(Py_None); resultobj = Py_None;
3000 return resultobj;
3001 fail:
3002 return NULL;
3003}
3004
3005
3006static PyObject *_wrap_StyledTextCtrl_CmdKeyClearAll(PyObject *self, PyObject *args, PyObject *kwargs) {
3007 PyObject *resultobj;
3008 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3009 PyObject * obj0 = 0 ;
3010 char *kwnames[] = {
3011 (char *) "self", NULL
3012 };
3013
3014 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_CmdKeyClearAll",kwnames,&obj0)) goto fail;
3015 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
3016 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3017 {
3018 PyThreadState* __tstate = wxPyBeginAllowThreads();
3019 (arg1)->CmdKeyClearAll();
3020
3021 wxPyEndAllowThreads(__tstate);
3022 if (PyErr_Occurred()) SWIG_fail;
3023 }
3024 Py_INCREF(Py_None); resultobj = Py_None;
3025 return resultobj;
3026 fail:
3027 return NULL;
3028}
3029
3030
3031static PyObject *_wrap_StyledTextCtrl_SetStyleBytes(PyObject *self, PyObject *args, PyObject *kwargs) {
3032 PyObject *resultobj;
3033 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3034 int arg2 ;
3035 char *arg3 ;
3036 PyObject * obj0 = 0 ;
3037 PyObject * obj1 = 0 ;
3038 PyObject * obj2 = 0 ;
3039 char *kwnames[] = {
3040 (char *) "self",(char *) "length",(char *) "styleBytes", NULL
3041 };
3042
3043 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetStyleBytes",kwnames,&obj0,&obj1,&obj2)) goto fail;
3044 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
3045 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3046 arg2 = (int) SWIG_AsInt(obj1);
3047 if (PyErr_Occurred()) SWIG_fail;
3048 arg3 = SWIG_AsCharPtr(obj2);
3049 if (PyErr_Occurred()) SWIG_fail;
3050 {
3051 PyThreadState* __tstate = wxPyBeginAllowThreads();
3052 (arg1)->SetStyleBytes(arg2,arg3);
3053
3054 wxPyEndAllowThreads(__tstate);
3055 if (PyErr_Occurred()) SWIG_fail;
3056 }
3057 Py_INCREF(Py_None); resultobj = Py_None;
3058 return resultobj;
3059 fail:
3060 return NULL;
3061}
3062
3063
3064static PyObject *_wrap_StyledTextCtrl_StyleSetVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
3065 PyObject *resultobj;
3066 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3067 int arg2 ;
3068 bool arg3 ;
3069 PyObject * obj0 = 0 ;
3070 PyObject * obj1 = 0 ;
3071 PyObject * obj2 = 0 ;
3072 char *kwnames[] = {
3073 (char *) "self",(char *) "style",(char *) "visible", NULL
3074 };
3075
3076 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_StyleSetVisible",kwnames,&obj0,&obj1,&obj2)) goto fail;
3077 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
3078 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3079 arg2 = (int) SWIG_AsInt(obj1);
3080 if (PyErr_Occurred()) SWIG_fail;
3081 arg3 = (bool) SWIG_AsBool(obj2);
3082 if (PyErr_Occurred()) SWIG_fail;
3083 {
3084 PyThreadState* __tstate = wxPyBeginAllowThreads();
3085 (arg1)->StyleSetVisible(arg2,arg3);
3086
3087 wxPyEndAllowThreads(__tstate);
3088 if (PyErr_Occurred()) SWIG_fail;
3089 }
3090 Py_INCREF(Py_None); resultobj = Py_None;
3091 return resultobj;
3092 fail:
3093 return NULL;
3094}
3095
3096
3097static PyObject *_wrap_StyledTextCtrl_GetCaretPeriod(PyObject *self, PyObject *args, PyObject *kwargs) {
3098 PyObject *resultobj;
3099 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3100 int result;
3101 PyObject * obj0 = 0 ;
3102 char *kwnames[] = {
3103 (char *) "self", NULL
3104 };
3105
3106 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetCaretPeriod",kwnames,&obj0)) goto fail;
3107 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
3108 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3109 {
3110 PyThreadState* __tstate = wxPyBeginAllowThreads();
3111 result = (int)(arg1)->GetCaretPeriod();
3112
3113 wxPyEndAllowThreads(__tstate);
3114 if (PyErr_Occurred()) SWIG_fail;
3115 }
3116 resultobj = SWIG_FromInt((int)result);
3117 return resultobj;
3118 fail:
3119 return NULL;
3120}
3121
3122
3123static PyObject *_wrap_StyledTextCtrl_SetCaretPeriod(PyObject *self, PyObject *args, PyObject *kwargs) {
3124 PyObject *resultobj;
3125 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3126 int arg2 ;
3127 PyObject * obj0 = 0 ;
3128 PyObject * obj1 = 0 ;
3129 char *kwnames[] = {
3130 (char *) "self",(char *) "periodMilliseconds", NULL
3131 };
3132
3133 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetCaretPeriod",kwnames,&obj0,&obj1)) goto fail;
3134 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
3135 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3136 arg2 = (int) SWIG_AsInt(obj1);
3137 if (PyErr_Occurred()) SWIG_fail;
3138 {
3139 PyThreadState* __tstate = wxPyBeginAllowThreads();
3140 (arg1)->SetCaretPeriod(arg2);
3141
3142 wxPyEndAllowThreads(__tstate);
3143 if (PyErr_Occurred()) SWIG_fail;
3144 }
3145 Py_INCREF(Py_None); resultobj = Py_None;
3146 return resultobj;
3147 fail:
3148 return NULL;
3149}
3150
3151
3152static PyObject *_wrap_StyledTextCtrl_SetWordChars(PyObject *self, PyObject *args, PyObject *kwargs) {
3153 PyObject *resultobj;
3154 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3155 wxString *arg2 = 0 ;
3156 bool temp2 = False ;
3157 PyObject * obj0 = 0 ;
3158 PyObject * obj1 = 0 ;
3159 char *kwnames[] = {
3160 (char *) "self",(char *) "characters", NULL
3161 };
3162
3163 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetWordChars",kwnames,&obj0,&obj1)) goto fail;
3164 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
3165 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3166 {
3167 arg2 = wxString_in_helper(obj1);
3168 if (arg2 == NULL) SWIG_fail;
3169 temp2 = True;
3170 }
3171 {
3172 PyThreadState* __tstate = wxPyBeginAllowThreads();
3173 (arg1)->SetWordChars((wxString const &)*arg2);
3174
3175 wxPyEndAllowThreads(__tstate);
3176 if (PyErr_Occurred()) SWIG_fail;
3177 }
3178 Py_INCREF(Py_None); resultobj = Py_None;
3179 {
3180 if (temp2)
3181 delete arg2;
3182 }
3183 return resultobj;
3184 fail:
3185 {
3186 if (temp2)
3187 delete arg2;
3188 }
3189 return NULL;
3190}
3191
3192
3193static PyObject *_wrap_StyledTextCtrl_BeginUndoAction(PyObject *self, PyObject *args, PyObject *kwargs) {
3194 PyObject *resultobj;
3195 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3196 PyObject * obj0 = 0 ;
3197 char *kwnames[] = {
3198 (char *) "self", NULL
3199 };
3200
3201 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_BeginUndoAction",kwnames,&obj0)) goto fail;
3202 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
3203 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3204 {
3205 PyThreadState* __tstate = wxPyBeginAllowThreads();
3206 (arg1)->BeginUndoAction();
3207
3208 wxPyEndAllowThreads(__tstate);
3209 if (PyErr_Occurred()) SWIG_fail;
3210 }
3211 Py_INCREF(Py_None); resultobj = Py_None;
3212 return resultobj;
3213 fail:
3214 return NULL;
3215}
3216
3217
3218static PyObject *_wrap_StyledTextCtrl_EndUndoAction(PyObject *self, PyObject *args, PyObject *kwargs) {
3219 PyObject *resultobj;
3220 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3221 PyObject * obj0 = 0 ;
3222 char *kwnames[] = {
3223 (char *) "self", NULL
3224 };
3225
3226 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_EndUndoAction",kwnames,&obj0)) goto fail;
3227 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
3228 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3229 {
3230 PyThreadState* __tstate = wxPyBeginAllowThreads();
3231 (arg1)->EndUndoAction();
3232
3233 wxPyEndAllowThreads(__tstate);
3234 if (PyErr_Occurred()) SWIG_fail;
3235 }
3236 Py_INCREF(Py_None); resultobj = Py_None;
3237 return resultobj;
3238 fail:
3239 return NULL;
3240}
3241
3242
3243static PyObject *_wrap_StyledTextCtrl_IndicatorSetStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
3244 PyObject *resultobj;
3245 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3246 int arg2 ;
3247 int arg3 ;
3248 PyObject * obj0 = 0 ;
3249 PyObject * obj1 = 0 ;
3250 PyObject * obj2 = 0 ;
3251 char *kwnames[] = {
3252 (char *) "self",(char *) "indic",(char *) "style", NULL
3253 };
3254
3255 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_IndicatorSetStyle",kwnames,&obj0,&obj1,&obj2)) goto fail;
3256 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
3257 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3258 arg2 = (int) SWIG_AsInt(obj1);
3259 if (PyErr_Occurred()) SWIG_fail;
3260 arg3 = (int) SWIG_AsInt(obj2);
3261 if (PyErr_Occurred()) SWIG_fail;
3262 {
3263 PyThreadState* __tstate = wxPyBeginAllowThreads();
3264 (arg1)->IndicatorSetStyle(arg2,arg3);
3265
3266 wxPyEndAllowThreads(__tstate);
3267 if (PyErr_Occurred()) SWIG_fail;
3268 }
3269 Py_INCREF(Py_None); resultobj = Py_None;
3270 return resultobj;
3271 fail:
3272 return NULL;
3273}
3274
3275
3276static PyObject *_wrap_StyledTextCtrl_IndicatorGetStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
3277 PyObject *resultobj;
3278 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3279 int arg2 ;
3280 int result;
3281 PyObject * obj0 = 0 ;
3282 PyObject * obj1 = 0 ;
3283 char *kwnames[] = {
3284 (char *) "self",(char *) "indic", NULL
3285 };
3286
3287 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_IndicatorGetStyle",kwnames,&obj0,&obj1)) goto fail;
3288 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
3289 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3290 arg2 = (int) SWIG_AsInt(obj1);
3291 if (PyErr_Occurred()) SWIG_fail;
3292 {
3293 PyThreadState* __tstate = wxPyBeginAllowThreads();
3294 result = (int)(arg1)->IndicatorGetStyle(arg2);
3295
3296 wxPyEndAllowThreads(__tstate);
3297 if (PyErr_Occurred()) SWIG_fail;
3298 }
3299 resultobj = SWIG_FromInt((int)result);
3300 return resultobj;
3301 fail:
3302 return NULL;
3303}
3304
3305
3306static PyObject *_wrap_StyledTextCtrl_IndicatorSetForeground(PyObject *self, PyObject *args, PyObject *kwargs) {
3307 PyObject *resultobj;
3308 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3309 int arg2 ;
3310 wxColour *arg3 = 0 ;
3311 wxColour temp3 ;
3312 PyObject * obj0 = 0 ;
3313 PyObject * obj1 = 0 ;
3314 PyObject * obj2 = 0 ;
3315 char *kwnames[] = {
3316 (char *) "self",(char *) "indic",(char *) "fore", NULL
3317 };
3318
3319 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_IndicatorSetForeground",kwnames,&obj0,&obj1,&obj2)) goto fail;
3320 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
3321 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3322 arg2 = (int) SWIG_AsInt(obj1);
3323 if (PyErr_Occurred()) SWIG_fail;
3324 {
3325 arg3 = &temp3;
3326 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
3327 }
3328 {
3329 PyThreadState* __tstate = wxPyBeginAllowThreads();
3330 (arg1)->IndicatorSetForeground(arg2,(wxColour const &)*arg3);
3331
3332 wxPyEndAllowThreads(__tstate);
3333 if (PyErr_Occurred()) SWIG_fail;
3334 }
3335 Py_INCREF(Py_None); resultobj = Py_None;
3336 return resultobj;
3337 fail:
3338 return NULL;
3339}
3340
3341
3342static PyObject *_wrap_StyledTextCtrl_IndicatorGetForeground(PyObject *self, PyObject *args, PyObject *kwargs) {
3343 PyObject *resultobj;
3344 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3345 int arg2 ;
3346 wxColour result;
3347 PyObject * obj0 = 0 ;
3348 PyObject * obj1 = 0 ;
3349 char *kwnames[] = {
3350 (char *) "self",(char *) "indic", NULL
3351 };
3352
3353 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_IndicatorGetForeground",kwnames,&obj0,&obj1)) goto fail;
3354 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
3355 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3356 arg2 = (int) SWIG_AsInt(obj1);
3357 if (PyErr_Occurred()) SWIG_fail;
3358 {
3359 PyThreadState* __tstate = wxPyBeginAllowThreads();
3360 result = (arg1)->IndicatorGetForeground(arg2);
3361
3362 wxPyEndAllowThreads(__tstate);
3363 if (PyErr_Occurred()) SWIG_fail;
3364 }
3365 {
3366 wxColour * resultptr;
3367 resultptr = new wxColour((wxColour &) result);
3368 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
3369 }
3370 return resultobj;
3371 fail:
3372 return NULL;
3373}
3374
3375
3376static PyObject *_wrap_StyledTextCtrl_SetWhitespaceForeground(PyObject *self, PyObject *args, PyObject *kwargs) {
3377 PyObject *resultobj;
3378 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3379 bool arg2 ;
3380 wxColour *arg3 = 0 ;
3381 wxColour temp3 ;
3382 PyObject * obj0 = 0 ;
3383 PyObject * obj1 = 0 ;
3384 PyObject * obj2 = 0 ;
3385 char *kwnames[] = {
3386 (char *) "self",(char *) "useSetting",(char *) "fore", NULL
3387 };
3388
3389 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetWhitespaceForeground",kwnames,&obj0,&obj1,&obj2)) goto fail;
3390 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
3391 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3392 arg2 = (bool) SWIG_AsBool(obj1);
3393 if (PyErr_Occurred()) SWIG_fail;
3394 {
3395 arg3 = &temp3;
3396 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
3397 }
3398 {
3399 PyThreadState* __tstate = wxPyBeginAllowThreads();
3400 (arg1)->SetWhitespaceForeground(arg2,(wxColour const &)*arg3);
3401
3402 wxPyEndAllowThreads(__tstate);
3403 if (PyErr_Occurred()) SWIG_fail;
3404 }
3405 Py_INCREF(Py_None); resultobj = Py_None;
3406 return resultobj;
3407 fail:
3408 return NULL;
3409}
3410
3411
3412static PyObject *_wrap_StyledTextCtrl_SetWhitespaceBackground(PyObject *self, PyObject *args, PyObject *kwargs) {
3413 PyObject *resultobj;
3414 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3415 bool arg2 ;
3416 wxColour *arg3 = 0 ;
3417 wxColour temp3 ;
3418 PyObject * obj0 = 0 ;
3419 PyObject * obj1 = 0 ;
3420 PyObject * obj2 = 0 ;
3421 char *kwnames[] = {
3422 (char *) "self",(char *) "useSetting",(char *) "back", NULL
3423 };
3424
3425 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetWhitespaceBackground",kwnames,&obj0,&obj1,&obj2)) goto fail;
3426 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
3427 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3428 arg2 = (bool) SWIG_AsBool(obj1);
3429 if (PyErr_Occurred()) SWIG_fail;
3430 {
3431 arg3 = &temp3;
3432 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
3433 }
3434 {
3435 PyThreadState* __tstate = wxPyBeginAllowThreads();
3436 (arg1)->SetWhitespaceBackground(arg2,(wxColour const &)*arg3);
3437
3438 wxPyEndAllowThreads(__tstate);
3439 if (PyErr_Occurred()) SWIG_fail;
3440 }
3441 Py_INCREF(Py_None); resultobj = Py_None;
3442 return resultobj;
3443 fail:
3444 return NULL;
3445}
3446
3447
3448static PyObject *_wrap_StyledTextCtrl_SetStyleBits(PyObject *self, PyObject *args, PyObject *kwargs) {
3449 PyObject *resultobj;
3450 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3451 int arg2 ;
3452 PyObject * obj0 = 0 ;
3453 PyObject * obj1 = 0 ;
3454 char *kwnames[] = {
3455 (char *) "self",(char *) "bits", NULL
3456 };
3457
3458 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetStyleBits",kwnames,&obj0,&obj1)) goto fail;
3459 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
3460 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3461 arg2 = (int) SWIG_AsInt(obj1);
3462 if (PyErr_Occurred()) SWIG_fail;
3463 {
3464 PyThreadState* __tstate = wxPyBeginAllowThreads();
3465 (arg1)->SetStyleBits(arg2);
3466
3467 wxPyEndAllowThreads(__tstate);
3468 if (PyErr_Occurred()) SWIG_fail;
3469 }
3470 Py_INCREF(Py_None); resultobj = Py_None;
3471 return resultobj;
3472 fail:
3473 return NULL;
3474}
3475
3476
3477static PyObject *_wrap_StyledTextCtrl_GetStyleBits(PyObject *self, PyObject *args, PyObject *kwargs) {
3478 PyObject *resultobj;
3479 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3480 int result;
3481 PyObject * obj0 = 0 ;
3482 char *kwnames[] = {
3483 (char *) "self", NULL
3484 };
3485
3486 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetStyleBits",kwnames,&obj0)) goto fail;
3487 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
3488 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3489 {
3490 PyThreadState* __tstate = wxPyBeginAllowThreads();
3491 result = (int)(arg1)->GetStyleBits();
3492
3493 wxPyEndAllowThreads(__tstate);
3494 if (PyErr_Occurred()) SWIG_fail;
3495 }
3496 resultobj = SWIG_FromInt((int)result);
3497 return resultobj;
3498 fail:
3499 return NULL;
3500}
3501
3502
3503static PyObject *_wrap_StyledTextCtrl_SetLineState(PyObject *self, PyObject *args, PyObject *kwargs) {
3504 PyObject *resultobj;
3505 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3506 int arg2 ;
3507 int arg3 ;
3508 PyObject * obj0 = 0 ;
3509 PyObject * obj1 = 0 ;
3510 PyObject * obj2 = 0 ;
3511 char *kwnames[] = {
3512 (char *) "self",(char *) "line",(char *) "state", NULL
3513 };
3514
3515 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetLineState",kwnames,&obj0,&obj1,&obj2)) goto fail;
3516 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
3517 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3518 arg2 = (int) SWIG_AsInt(obj1);
3519 if (PyErr_Occurred()) SWIG_fail;
3520 arg3 = (int) SWIG_AsInt(obj2);
3521 if (PyErr_Occurred()) SWIG_fail;
3522 {
3523 PyThreadState* __tstate = wxPyBeginAllowThreads();
3524 (arg1)->SetLineState(arg2,arg3);
3525
3526 wxPyEndAllowThreads(__tstate);
3527 if (PyErr_Occurred()) SWIG_fail;
3528 }
3529 Py_INCREF(Py_None); resultobj = Py_None;
3530 return resultobj;
3531 fail:
3532 return NULL;
3533}
3534
3535
3536static PyObject *_wrap_StyledTextCtrl_GetLineState(PyObject *self, PyObject *args, PyObject *kwargs) {
3537 PyObject *resultobj;
3538 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3539 int arg2 ;
3540 int result;
3541 PyObject * obj0 = 0 ;
3542 PyObject * obj1 = 0 ;
3543 char *kwnames[] = {
3544 (char *) "self",(char *) "line", NULL
3545 };
3546
3547 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GetLineState",kwnames,&obj0,&obj1)) goto fail;
3548 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
3549 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3550 arg2 = (int) SWIG_AsInt(obj1);
3551 if (PyErr_Occurred()) SWIG_fail;
3552 {
3553 PyThreadState* __tstate = wxPyBeginAllowThreads();
3554 result = (int)(arg1)->GetLineState(arg2);
3555
3556 wxPyEndAllowThreads(__tstate);
3557 if (PyErr_Occurred()) SWIG_fail;
3558 }
3559 resultobj = SWIG_FromInt((int)result);
3560 return resultobj;
3561 fail:
3562 return NULL;
3563}
3564
3565
3566static PyObject *_wrap_StyledTextCtrl_GetMaxLineState(PyObject *self, PyObject *args, PyObject *kwargs) {
3567 PyObject *resultobj;
3568 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3569 int result;
3570 PyObject * obj0 = 0 ;
3571 char *kwnames[] = {
3572 (char *) "self", NULL
3573 };
3574
3575 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetMaxLineState",kwnames,&obj0)) goto fail;
3576 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
3577 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3578 {
3579 PyThreadState* __tstate = wxPyBeginAllowThreads();
3580 result = (int)(arg1)->GetMaxLineState();
3581
3582 wxPyEndAllowThreads(__tstate);
3583 if (PyErr_Occurred()) SWIG_fail;
3584 }
3585 resultobj = SWIG_FromInt((int)result);
3586 return resultobj;
3587 fail:
3588 return NULL;
3589}
3590
3591
3592static PyObject *_wrap_StyledTextCtrl_GetCaretLineVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
3593 PyObject *resultobj;
3594 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3595 bool result;
3596 PyObject * obj0 = 0 ;
3597 char *kwnames[] = {
3598 (char *) "self", NULL
3599 };
3600
3601 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetCaretLineVisible",kwnames,&obj0)) goto fail;
3602 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
3603 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3604 {
3605 PyThreadState* __tstate = wxPyBeginAllowThreads();
3606 result = (bool)(arg1)->GetCaretLineVisible();
3607
3608 wxPyEndAllowThreads(__tstate);
3609 if (PyErr_Occurred()) SWIG_fail;
3610 }
3611 {
3612 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3613 }
3614 return resultobj;
3615 fail:
3616 return NULL;
3617}
3618
3619
3620static PyObject *_wrap_StyledTextCtrl_SetCaretLineVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
3621 PyObject *resultobj;
3622 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3623 bool arg2 ;
3624 PyObject * obj0 = 0 ;
3625 PyObject * obj1 = 0 ;
3626 char *kwnames[] = {
3627 (char *) "self",(char *) "show", NULL
3628 };
3629
3630 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetCaretLineVisible",kwnames,&obj0,&obj1)) goto fail;
3631 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
3632 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3633 arg2 = (bool) SWIG_AsBool(obj1);
3634 if (PyErr_Occurred()) SWIG_fail;
3635 {
3636 PyThreadState* __tstate = wxPyBeginAllowThreads();
3637 (arg1)->SetCaretLineVisible(arg2);
3638
3639 wxPyEndAllowThreads(__tstate);
3640 if (PyErr_Occurred()) SWIG_fail;
3641 }
3642 Py_INCREF(Py_None); resultobj = Py_None;
3643 return resultobj;
3644 fail:
3645 return NULL;
3646}
3647
3648
3649static PyObject *_wrap_StyledTextCtrl_GetCaretLineBack(PyObject *self, PyObject *args, PyObject *kwargs) {
3650 PyObject *resultobj;
3651 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3652 wxColour result;
3653 PyObject * obj0 = 0 ;
3654 char *kwnames[] = {
3655 (char *) "self", NULL
3656 };
3657
3658 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetCaretLineBack",kwnames,&obj0)) goto fail;
3659 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
3660 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3661 {
3662 PyThreadState* __tstate = wxPyBeginAllowThreads();
3663 result = (arg1)->GetCaretLineBack();
3664
3665 wxPyEndAllowThreads(__tstate);
3666 if (PyErr_Occurred()) SWIG_fail;
3667 }
3668 {
3669 wxColour * resultptr;
3670 resultptr = new wxColour((wxColour &) result);
3671 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
3672 }
3673 return resultobj;
3674 fail:
3675 return NULL;
3676}
3677
3678
3679static PyObject *_wrap_StyledTextCtrl_SetCaretLineBack(PyObject *self, PyObject *args, PyObject *kwargs) {
3680 PyObject *resultobj;
3681 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3682 wxColour *arg2 = 0 ;
3683 wxColour temp2 ;
3684 PyObject * obj0 = 0 ;
3685 PyObject * obj1 = 0 ;
3686 char *kwnames[] = {
3687 (char *) "self",(char *) "back", NULL
3688 };
3689
3690 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetCaretLineBack",kwnames,&obj0,&obj1)) goto fail;
3691 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
3692 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3693 {
3694 arg2 = &temp2;
3695 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
3696 }
3697 {
3698 PyThreadState* __tstate = wxPyBeginAllowThreads();
3699 (arg1)->SetCaretLineBack((wxColour const &)*arg2);
3700
3701 wxPyEndAllowThreads(__tstate);
3702 if (PyErr_Occurred()) SWIG_fail;
3703 }
3704 Py_INCREF(Py_None); resultobj = Py_None;
3705 return resultobj;
3706 fail:
3707 return NULL;
3708}
3709
3710
3711static PyObject *_wrap_StyledTextCtrl_StyleSetChangeable(PyObject *self, PyObject *args, PyObject *kwargs) {
3712 PyObject *resultobj;
3713 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3714 int arg2 ;
3715 bool arg3 ;
3716 PyObject * obj0 = 0 ;
3717 PyObject * obj1 = 0 ;
3718 PyObject * obj2 = 0 ;
3719 char *kwnames[] = {
3720 (char *) "self",(char *) "style",(char *) "changeable", NULL
3721 };
3722
3723 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_StyleSetChangeable",kwnames,&obj0,&obj1,&obj2)) goto fail;
3724 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
3725 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3726 arg2 = (int) SWIG_AsInt(obj1);
3727 if (PyErr_Occurred()) SWIG_fail;
3728 arg3 = (bool) SWIG_AsBool(obj2);
3729 if (PyErr_Occurred()) SWIG_fail;
3730 {
3731 PyThreadState* __tstate = wxPyBeginAllowThreads();
3732 (arg1)->StyleSetChangeable(arg2,arg3);
3733
3734 wxPyEndAllowThreads(__tstate);
3735 if (PyErr_Occurred()) SWIG_fail;
3736 }
3737 Py_INCREF(Py_None); resultobj = Py_None;
3738 return resultobj;
3739 fail:
3740 return NULL;
3741}
3742
3743
3744static PyObject *_wrap_StyledTextCtrl_AutoCompShow(PyObject *self, PyObject *args, PyObject *kwargs) {
3745 PyObject *resultobj;
3746 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3747 int arg2 ;
3748 wxString *arg3 = 0 ;
3749 bool temp3 = False ;
3750 PyObject * obj0 = 0 ;
3751 PyObject * obj1 = 0 ;
3752 PyObject * obj2 = 0 ;
3753 char *kwnames[] = {
3754 (char *) "self",(char *) "lenEntered",(char *) "itemList", NULL
3755 };
3756
3757 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_AutoCompShow",kwnames,&obj0,&obj1,&obj2)) goto fail;
3758 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
3759 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3760 arg2 = (int) SWIG_AsInt(obj1);
3761 if (PyErr_Occurred()) SWIG_fail;
3762 {
3763 arg3 = wxString_in_helper(obj2);
3764 if (arg3 == NULL) SWIG_fail;
3765 temp3 = True;
3766 }
3767 {
3768 PyThreadState* __tstate = wxPyBeginAllowThreads();
3769 (arg1)->AutoCompShow(arg2,(wxString const &)*arg3);
3770
3771 wxPyEndAllowThreads(__tstate);
3772 if (PyErr_Occurred()) SWIG_fail;
3773 }
3774 Py_INCREF(Py_None); resultobj = Py_None;
3775 {
3776 if (temp3)
3777 delete arg3;
3778 }
3779 return resultobj;
3780 fail:
3781 {
3782 if (temp3)
3783 delete arg3;
3784 }
3785 return NULL;
3786}
3787
3788
3789static PyObject *_wrap_StyledTextCtrl_AutoCompCancel(PyObject *self, PyObject *args, PyObject *kwargs) {
3790 PyObject *resultobj;
3791 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3792 PyObject * obj0 = 0 ;
3793 char *kwnames[] = {
3794 (char *) "self", NULL
3795 };
3796
3797 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_AutoCompCancel",kwnames,&obj0)) goto fail;
3798 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
3799 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3800 {
3801 PyThreadState* __tstate = wxPyBeginAllowThreads();
3802 (arg1)->AutoCompCancel();
3803
3804 wxPyEndAllowThreads(__tstate);
3805 if (PyErr_Occurred()) SWIG_fail;
3806 }
3807 Py_INCREF(Py_None); resultobj = Py_None;
3808 return resultobj;
3809 fail:
3810 return NULL;
3811}
3812
3813
3814static PyObject *_wrap_StyledTextCtrl_AutoCompActive(PyObject *self, PyObject *args, PyObject *kwargs) {
3815 PyObject *resultobj;
3816 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3817 bool result;
3818 PyObject * obj0 = 0 ;
3819 char *kwnames[] = {
3820 (char *) "self", NULL
3821 };
3822
3823 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_AutoCompActive",kwnames,&obj0)) goto fail;
3824 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
3825 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3826 {
3827 PyThreadState* __tstate = wxPyBeginAllowThreads();
3828 result = (bool)(arg1)->AutoCompActive();
3829
3830 wxPyEndAllowThreads(__tstate);
3831 if (PyErr_Occurred()) SWIG_fail;
3832 }
3833 {
3834 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3835 }
3836 return resultobj;
3837 fail:
3838 return NULL;
3839}
3840
3841
3842static PyObject *_wrap_StyledTextCtrl_AutoCompPosStart(PyObject *self, PyObject *args, PyObject *kwargs) {
3843 PyObject *resultobj;
3844 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3845 int result;
3846 PyObject * obj0 = 0 ;
3847 char *kwnames[] = {
3848 (char *) "self", NULL
3849 };
3850
3851 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_AutoCompPosStart",kwnames,&obj0)) goto fail;
3852 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
3853 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3854 {
3855 PyThreadState* __tstate = wxPyBeginAllowThreads();
3856 result = (int)(arg1)->AutoCompPosStart();
3857
3858 wxPyEndAllowThreads(__tstate);
3859 if (PyErr_Occurred()) SWIG_fail;
3860 }
3861 resultobj = SWIG_FromInt((int)result);
3862 return resultobj;
3863 fail:
3864 return NULL;
3865}
3866
3867
3868static PyObject *_wrap_StyledTextCtrl_AutoCompComplete(PyObject *self, PyObject *args, PyObject *kwargs) {
3869 PyObject *resultobj;
3870 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3871 PyObject * obj0 = 0 ;
3872 char *kwnames[] = {
3873 (char *) "self", NULL
3874 };
3875
3876 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_AutoCompComplete",kwnames,&obj0)) goto fail;
3877 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
3878 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3879 {
3880 PyThreadState* __tstate = wxPyBeginAllowThreads();
3881 (arg1)->AutoCompComplete();
3882
3883 wxPyEndAllowThreads(__tstate);
3884 if (PyErr_Occurred()) SWIG_fail;
3885 }
3886 Py_INCREF(Py_None); resultobj = Py_None;
3887 return resultobj;
3888 fail:
3889 return NULL;
3890}
3891
3892
3893static PyObject *_wrap_StyledTextCtrl_AutoCompStops(PyObject *self, PyObject *args, PyObject *kwargs) {
3894 PyObject *resultobj;
3895 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3896 wxString *arg2 = 0 ;
3897 bool temp2 = False ;
3898 PyObject * obj0 = 0 ;
3899 PyObject * obj1 = 0 ;
3900 char *kwnames[] = {
3901 (char *) "self",(char *) "characterSet", NULL
3902 };
3903
3904 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_AutoCompStops",kwnames,&obj0,&obj1)) goto fail;
3905 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
3906 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3907 {
3908 arg2 = wxString_in_helper(obj1);
3909 if (arg2 == NULL) SWIG_fail;
3910 temp2 = True;
3911 }
3912 {
3913 PyThreadState* __tstate = wxPyBeginAllowThreads();
3914 (arg1)->AutoCompStops((wxString const &)*arg2);
3915
3916 wxPyEndAllowThreads(__tstate);
3917 if (PyErr_Occurred()) SWIG_fail;
3918 }
3919 Py_INCREF(Py_None); resultobj = Py_None;
3920 {
3921 if (temp2)
3922 delete arg2;
3923 }
3924 return resultobj;
3925 fail:
3926 {
3927 if (temp2)
3928 delete arg2;
3929 }
3930 return NULL;
3931}
3932
3933
3934static PyObject *_wrap_StyledTextCtrl_AutoCompSetSeparator(PyObject *self, PyObject *args, PyObject *kwargs) {
3935 PyObject *resultobj;
3936 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3937 int arg2 ;
3938 PyObject * obj0 = 0 ;
3939 PyObject * obj1 = 0 ;
3940 char *kwnames[] = {
3941 (char *) "self",(char *) "separatorCharacter", NULL
3942 };
3943
3944 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_AutoCompSetSeparator",kwnames,&obj0,&obj1)) goto fail;
3945 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
3946 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3947 arg2 = (int) SWIG_AsInt(obj1);
3948 if (PyErr_Occurred()) SWIG_fail;
3949 {
3950 PyThreadState* __tstate = wxPyBeginAllowThreads();
3951 (arg1)->AutoCompSetSeparator(arg2);
3952
3953 wxPyEndAllowThreads(__tstate);
3954 if (PyErr_Occurred()) SWIG_fail;
3955 }
3956 Py_INCREF(Py_None); resultobj = Py_None;
3957 return resultobj;
3958 fail:
3959 return NULL;
3960}
3961
3962
3963static PyObject *_wrap_StyledTextCtrl_AutoCompGetSeparator(PyObject *self, PyObject *args, PyObject *kwargs) {
3964 PyObject *resultobj;
3965 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3966 int result;
3967 PyObject * obj0 = 0 ;
3968 char *kwnames[] = {
3969 (char *) "self", NULL
3970 };
3971
3972 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_AutoCompGetSeparator",kwnames,&obj0)) goto fail;
3973 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
3974 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3975 {
3976 PyThreadState* __tstate = wxPyBeginAllowThreads();
3977 result = (int)(arg1)->AutoCompGetSeparator();
3978
3979 wxPyEndAllowThreads(__tstate);
3980 if (PyErr_Occurred()) SWIG_fail;
3981 }
3982 resultobj = SWIG_FromInt((int)result);
3983 return resultobj;
3984 fail:
3985 return NULL;
3986}
3987
3988
3989static PyObject *_wrap_StyledTextCtrl_AutoCompSelect(PyObject *self, PyObject *args, PyObject *kwargs) {
3990 PyObject *resultobj;
3991 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3992 wxString *arg2 = 0 ;
3993 bool temp2 = False ;
3994 PyObject * obj0 = 0 ;
3995 PyObject * obj1 = 0 ;
3996 char *kwnames[] = {
3997 (char *) "self",(char *) "text", NULL
3998 };
3999
4000 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_AutoCompSelect",kwnames,&obj0,&obj1)) goto fail;
4001 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
4002 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4003 {
4004 arg2 = wxString_in_helper(obj1);
4005 if (arg2 == NULL) SWIG_fail;
4006 temp2 = True;
4007 }
4008 {
4009 PyThreadState* __tstate = wxPyBeginAllowThreads();
4010 (arg1)->AutoCompSelect((wxString const &)*arg2);
4011
4012 wxPyEndAllowThreads(__tstate);
4013 if (PyErr_Occurred()) SWIG_fail;
4014 }
4015 Py_INCREF(Py_None); resultobj = Py_None;
4016 {
4017 if (temp2)
4018 delete arg2;
4019 }
4020 return resultobj;
4021 fail:
4022 {
4023 if (temp2)
4024 delete arg2;
4025 }
4026 return NULL;
4027}
4028
4029
4030static PyObject *_wrap_StyledTextCtrl_AutoCompSetCancelAtStart(PyObject *self, PyObject *args, PyObject *kwargs) {
4031 PyObject *resultobj;
4032 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4033 bool arg2 ;
4034 PyObject * obj0 = 0 ;
4035 PyObject * obj1 = 0 ;
4036 char *kwnames[] = {
4037 (char *) "self",(char *) "cancel", NULL
4038 };
4039
4040 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_AutoCompSetCancelAtStart",kwnames,&obj0,&obj1)) goto fail;
4041 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
4042 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4043 arg2 = (bool) SWIG_AsBool(obj1);
4044 if (PyErr_Occurred()) SWIG_fail;
4045 {
4046 PyThreadState* __tstate = wxPyBeginAllowThreads();
4047 (arg1)->AutoCompSetCancelAtStart(arg2);
4048
4049 wxPyEndAllowThreads(__tstate);
4050 if (PyErr_Occurred()) SWIG_fail;
4051 }
4052 Py_INCREF(Py_None); resultobj = Py_None;
4053 return resultobj;
4054 fail:
4055 return NULL;
4056}
4057
4058
4059static PyObject *_wrap_StyledTextCtrl_AutoCompGetCancelAtStart(PyObject *self, PyObject *args, PyObject *kwargs) {
4060 PyObject *resultobj;
4061 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4062 bool result;
4063 PyObject * obj0 = 0 ;
4064 char *kwnames[] = {
4065 (char *) "self", NULL
4066 };
4067
4068 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_AutoCompGetCancelAtStart",kwnames,&obj0)) goto fail;
4069 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
4070 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4071 {
4072 PyThreadState* __tstate = wxPyBeginAllowThreads();
4073 result = (bool)(arg1)->AutoCompGetCancelAtStart();
4074
4075 wxPyEndAllowThreads(__tstate);
4076 if (PyErr_Occurred()) SWIG_fail;
4077 }
4078 {
4079 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4080 }
4081 return resultobj;
4082 fail:
4083 return NULL;
4084}
4085
4086
4087static PyObject *_wrap_StyledTextCtrl_AutoCompSetFillUps(PyObject *self, PyObject *args, PyObject *kwargs) {
4088 PyObject *resultobj;
4089 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4090 wxString *arg2 = 0 ;
4091 bool temp2 = False ;
4092 PyObject * obj0 = 0 ;
4093 PyObject * obj1 = 0 ;
4094 char *kwnames[] = {
4095 (char *) "self",(char *) "characterSet", NULL
4096 };
4097
4098 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_AutoCompSetFillUps",kwnames,&obj0,&obj1)) goto fail;
4099 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
4100 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4101 {
4102 arg2 = wxString_in_helper(obj1);
4103 if (arg2 == NULL) SWIG_fail;
4104 temp2 = True;
4105 }
4106 {
4107 PyThreadState* __tstate = wxPyBeginAllowThreads();
4108 (arg1)->AutoCompSetFillUps((wxString const &)*arg2);
4109
4110 wxPyEndAllowThreads(__tstate);
4111 if (PyErr_Occurred()) SWIG_fail;
4112 }
4113 Py_INCREF(Py_None); resultobj = Py_None;
4114 {
4115 if (temp2)
4116 delete arg2;
4117 }
4118 return resultobj;
4119 fail:
4120 {
4121 if (temp2)
4122 delete arg2;
4123 }
4124 return NULL;
4125}
4126
4127
4128static PyObject *_wrap_StyledTextCtrl_AutoCompSetChooseSingle(PyObject *self, PyObject *args, PyObject *kwargs) {
4129 PyObject *resultobj;
4130 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4131 bool arg2 ;
4132 PyObject * obj0 = 0 ;
4133 PyObject * obj1 = 0 ;
4134 char *kwnames[] = {
4135 (char *) "self",(char *) "chooseSingle", NULL
4136 };
4137
4138 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_AutoCompSetChooseSingle",kwnames,&obj0,&obj1)) goto fail;
4139 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
4140 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4141 arg2 = (bool) SWIG_AsBool(obj1);
4142 if (PyErr_Occurred()) SWIG_fail;
4143 {
4144 PyThreadState* __tstate = wxPyBeginAllowThreads();
4145 (arg1)->AutoCompSetChooseSingle(arg2);
4146
4147 wxPyEndAllowThreads(__tstate);
4148 if (PyErr_Occurred()) SWIG_fail;
4149 }
4150 Py_INCREF(Py_None); resultobj = Py_None;
4151 return resultobj;
4152 fail:
4153 return NULL;
4154}
4155
4156
4157static PyObject *_wrap_StyledTextCtrl_AutoCompGetChooseSingle(PyObject *self, PyObject *args, PyObject *kwargs) {
4158 PyObject *resultobj;
4159 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4160 bool result;
4161 PyObject * obj0 = 0 ;
4162 char *kwnames[] = {
4163 (char *) "self", NULL
4164 };
4165
4166 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_AutoCompGetChooseSingle",kwnames,&obj0)) goto fail;
4167 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
4168 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4169 {
4170 PyThreadState* __tstate = wxPyBeginAllowThreads();
4171 result = (bool)(arg1)->AutoCompGetChooseSingle();
4172
4173 wxPyEndAllowThreads(__tstate);
4174 if (PyErr_Occurred()) SWIG_fail;
4175 }
4176 {
4177 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4178 }
4179 return resultobj;
4180 fail:
4181 return NULL;
4182}
4183
4184
4185static PyObject *_wrap_StyledTextCtrl_AutoCompSetIgnoreCase(PyObject *self, PyObject *args, PyObject *kwargs) {
4186 PyObject *resultobj;
4187 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4188 bool arg2 ;
4189 PyObject * obj0 = 0 ;
4190 PyObject * obj1 = 0 ;
4191 char *kwnames[] = {
4192 (char *) "self",(char *) "ignoreCase", NULL
4193 };
4194
4195 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_AutoCompSetIgnoreCase",kwnames,&obj0,&obj1)) goto fail;
4196 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
4197 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4198 arg2 = (bool) SWIG_AsBool(obj1);
4199 if (PyErr_Occurred()) SWIG_fail;
4200 {
4201 PyThreadState* __tstate = wxPyBeginAllowThreads();
4202 (arg1)->AutoCompSetIgnoreCase(arg2);
4203
4204 wxPyEndAllowThreads(__tstate);
4205 if (PyErr_Occurred()) SWIG_fail;
4206 }
4207 Py_INCREF(Py_None); resultobj = Py_None;
4208 return resultobj;
4209 fail:
4210 return NULL;
4211}
4212
4213
4214static PyObject *_wrap_StyledTextCtrl_AutoCompGetIgnoreCase(PyObject *self, PyObject *args, PyObject *kwargs) {
4215 PyObject *resultobj;
4216 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4217 bool result;
4218 PyObject * obj0 = 0 ;
4219 char *kwnames[] = {
4220 (char *) "self", NULL
4221 };
4222
4223 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_AutoCompGetIgnoreCase",kwnames,&obj0)) goto fail;
4224 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
4225 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4226 {
4227 PyThreadState* __tstate = wxPyBeginAllowThreads();
4228 result = (bool)(arg1)->AutoCompGetIgnoreCase();
4229
4230 wxPyEndAllowThreads(__tstate);
4231 if (PyErr_Occurred()) SWIG_fail;
4232 }
4233 {
4234 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4235 }
4236 return resultobj;
4237 fail:
4238 return NULL;
4239}
4240
4241
4242static PyObject *_wrap_StyledTextCtrl_UserListShow(PyObject *self, PyObject *args, PyObject *kwargs) {
4243 PyObject *resultobj;
4244 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4245 int arg2 ;
4246 wxString *arg3 = 0 ;
4247 bool temp3 = False ;
4248 PyObject * obj0 = 0 ;
4249 PyObject * obj1 = 0 ;
4250 PyObject * obj2 = 0 ;
4251 char *kwnames[] = {
4252 (char *) "self",(char *) "listType",(char *) "itemList", NULL
4253 };
4254
4255 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_UserListShow",kwnames,&obj0,&obj1,&obj2)) goto fail;
4256 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
4257 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4258 arg2 = (int) SWIG_AsInt(obj1);
4259 if (PyErr_Occurred()) SWIG_fail;
4260 {
4261 arg3 = wxString_in_helper(obj2);
4262 if (arg3 == NULL) SWIG_fail;
4263 temp3 = True;
4264 }
4265 {
4266 PyThreadState* __tstate = wxPyBeginAllowThreads();
4267 (arg1)->UserListShow(arg2,(wxString const &)*arg3);
4268
4269 wxPyEndAllowThreads(__tstate);
4270 if (PyErr_Occurred()) SWIG_fail;
4271 }
4272 Py_INCREF(Py_None); resultobj = Py_None;
4273 {
4274 if (temp3)
4275 delete arg3;
4276 }
4277 return resultobj;
4278 fail:
4279 {
4280 if (temp3)
4281 delete arg3;
4282 }
4283 return NULL;
4284}
4285
4286
4287static PyObject *_wrap_StyledTextCtrl_AutoCompSetAutoHide(PyObject *self, PyObject *args, PyObject *kwargs) {
4288 PyObject *resultobj;
4289 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4290 bool arg2 ;
4291 PyObject * obj0 = 0 ;
4292 PyObject * obj1 = 0 ;
4293 char *kwnames[] = {
4294 (char *) "self",(char *) "autoHide", NULL
4295 };
4296
4297 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_AutoCompSetAutoHide",kwnames,&obj0,&obj1)) goto fail;
4298 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
4299 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4300 arg2 = (bool) SWIG_AsBool(obj1);
4301 if (PyErr_Occurred()) SWIG_fail;
4302 {
4303 PyThreadState* __tstate = wxPyBeginAllowThreads();
4304 (arg1)->AutoCompSetAutoHide(arg2);
4305
4306 wxPyEndAllowThreads(__tstate);
4307 if (PyErr_Occurred()) SWIG_fail;
4308 }
4309 Py_INCREF(Py_None); resultobj = Py_None;
4310 return resultobj;
4311 fail:
4312 return NULL;
4313}
4314
4315
4316static PyObject *_wrap_StyledTextCtrl_AutoCompGetAutoHide(PyObject *self, PyObject *args, PyObject *kwargs) {
4317 PyObject *resultobj;
4318 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4319 bool result;
4320 PyObject * obj0 = 0 ;
4321 char *kwnames[] = {
4322 (char *) "self", NULL
4323 };
4324
4325 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_AutoCompGetAutoHide",kwnames,&obj0)) goto fail;
4326 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
4327 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4328 {
4329 PyThreadState* __tstate = wxPyBeginAllowThreads();
4330 result = (bool)(arg1)->AutoCompGetAutoHide();
4331
4332 wxPyEndAllowThreads(__tstate);
4333 if (PyErr_Occurred()) SWIG_fail;
4334 }
4335 {
4336 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4337 }
4338 return resultobj;
4339 fail:
4340 return NULL;
4341}
4342
4343
4344static PyObject *_wrap_StyledTextCtrl_AutoCompSetDropRestOfWord(PyObject *self, PyObject *args, PyObject *kwargs) {
4345 PyObject *resultobj;
4346 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4347 bool arg2 ;
4348 PyObject * obj0 = 0 ;
4349 PyObject * obj1 = 0 ;
4350 char *kwnames[] = {
4351 (char *) "self",(char *) "dropRestOfWord", NULL
4352 };
4353
4354 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_AutoCompSetDropRestOfWord",kwnames,&obj0,&obj1)) goto fail;
4355 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
4356 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4357 arg2 = (bool) SWIG_AsBool(obj1);
4358 if (PyErr_Occurred()) SWIG_fail;
4359 {
4360 PyThreadState* __tstate = wxPyBeginAllowThreads();
4361 (arg1)->AutoCompSetDropRestOfWord(arg2);
4362
4363 wxPyEndAllowThreads(__tstate);
4364 if (PyErr_Occurred()) SWIG_fail;
4365 }
4366 Py_INCREF(Py_None); resultobj = Py_None;
4367 return resultobj;
4368 fail:
4369 return NULL;
4370}
4371
4372
4373static PyObject *_wrap_StyledTextCtrl_AutoCompGetDropRestOfWord(PyObject *self, PyObject *args, PyObject *kwargs) {
4374 PyObject *resultobj;
4375 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4376 bool result;
4377 PyObject * obj0 = 0 ;
4378 char *kwnames[] = {
4379 (char *) "self", NULL
4380 };
4381
4382 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_AutoCompGetDropRestOfWord",kwnames,&obj0)) goto fail;
4383 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
4384 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4385 {
4386 PyThreadState* __tstate = wxPyBeginAllowThreads();
4387 result = (bool)(arg1)->AutoCompGetDropRestOfWord();
4388
4389 wxPyEndAllowThreads(__tstate);
4390 if (PyErr_Occurred()) SWIG_fail;
4391 }
4392 {
4393 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4394 }
4395 return resultobj;
4396 fail:
4397 return NULL;
4398}
4399
4400
4401static PyObject *_wrap_StyledTextCtrl_RegisterImage(PyObject *self, PyObject *args, PyObject *kwargs) {
4402 PyObject *resultobj;
4403 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4404 int arg2 ;
4405 wxBitmap *arg3 = 0 ;
4406 PyObject * obj0 = 0 ;
4407 PyObject * obj1 = 0 ;
4408 PyObject * obj2 = 0 ;
4409 char *kwnames[] = {
4410 (char *) "self",(char *) "type",(char *) "bmp", NULL
4411 };
4412
4413 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_RegisterImage",kwnames,&obj0,&obj1,&obj2)) goto fail;
4414 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
4415 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4416 arg2 = (int) SWIG_AsInt(obj1);
4417 if (PyErr_Occurred()) SWIG_fail;
4418 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxBitmap,
4419 SWIG_POINTER_EXCEPTION | 0)) == -1)
4420 SWIG_fail;
4421 if (arg3 == NULL) {
4422 PyErr_SetString(PyExc_TypeError,"null reference");
4423 SWIG_fail;
4424 }
4425 {
4426 PyThreadState* __tstate = wxPyBeginAllowThreads();
4427 (arg1)->RegisterImage(arg2,(wxBitmap const &)*arg3);
4428
4429 wxPyEndAllowThreads(__tstate);
4430 if (PyErr_Occurred()) SWIG_fail;
4431 }
4432 Py_INCREF(Py_None); resultobj = Py_None;
4433 return resultobj;
4434 fail:
4435 return NULL;
4436}
4437
4438
4439static PyObject *_wrap_StyledTextCtrl_ClearRegisteredImages(PyObject *self, PyObject *args, PyObject *kwargs) {
4440 PyObject *resultobj;
4441 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4442 PyObject * obj0 = 0 ;
4443 char *kwnames[] = {
4444 (char *) "self", NULL
4445 };
4446
4447 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_ClearRegisteredImages",kwnames,&obj0)) goto fail;
4448 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
4449 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4450 {
4451 PyThreadState* __tstate = wxPyBeginAllowThreads();
4452 (arg1)->ClearRegisteredImages();
4453
4454 wxPyEndAllowThreads(__tstate);
4455 if (PyErr_Occurred()) SWIG_fail;
4456 }
4457 Py_INCREF(Py_None); resultobj = Py_None;
4458 return resultobj;
4459 fail:
4460 return NULL;
4461}
4462
4463
4464static PyObject *_wrap_StyledTextCtrl_AutoCompGetTypeSeparator(PyObject *self, PyObject *args, PyObject *kwargs) {
4465 PyObject *resultobj;
4466 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4467 int result;
4468 PyObject * obj0 = 0 ;
4469 char *kwnames[] = {
4470 (char *) "self", NULL
4471 };
4472
4473 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_AutoCompGetTypeSeparator",kwnames,&obj0)) goto fail;
4474 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
4475 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4476 {
4477 PyThreadState* __tstate = wxPyBeginAllowThreads();
4478 result = (int)(arg1)->AutoCompGetTypeSeparator();
4479
4480 wxPyEndAllowThreads(__tstate);
4481 if (PyErr_Occurred()) SWIG_fail;
4482 }
4483 resultobj = SWIG_FromInt((int)result);
4484 return resultobj;
4485 fail:
4486 return NULL;
4487}
4488
4489
4490static PyObject *_wrap_StyledTextCtrl_AutoCompSetTypeSeparator(PyObject *self, PyObject *args, PyObject *kwargs) {
4491 PyObject *resultobj;
4492 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4493 int arg2 ;
4494 PyObject * obj0 = 0 ;
4495 PyObject * obj1 = 0 ;
4496 char *kwnames[] = {
4497 (char *) "self",(char *) "separatorCharacter", NULL
4498 };
4499
4500 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_AutoCompSetTypeSeparator",kwnames,&obj0,&obj1)) goto fail;
4501 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
4502 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4503 arg2 = (int) SWIG_AsInt(obj1);
4504 if (PyErr_Occurred()) SWIG_fail;
4505 {
4506 PyThreadState* __tstate = wxPyBeginAllowThreads();
4507 (arg1)->AutoCompSetTypeSeparator(arg2);
4508
4509 wxPyEndAllowThreads(__tstate);
4510 if (PyErr_Occurred()) SWIG_fail;
4511 }
4512 Py_INCREF(Py_None); resultobj = Py_None;
4513 return resultobj;
4514 fail:
4515 return NULL;
4516}
4517
4518
4519static PyObject *_wrap_StyledTextCtrl_SetIndent(PyObject *self, PyObject *args, PyObject *kwargs) {
4520 PyObject *resultobj;
4521 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4522 int arg2 ;
4523 PyObject * obj0 = 0 ;
4524 PyObject * obj1 = 0 ;
4525 char *kwnames[] = {
4526 (char *) "self",(char *) "indentSize", NULL
4527 };
4528
4529 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetIndent",kwnames,&obj0,&obj1)) goto fail;
4530 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
4531 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4532 arg2 = (int) SWIG_AsInt(obj1);
4533 if (PyErr_Occurred()) SWIG_fail;
4534 {
4535 PyThreadState* __tstate = wxPyBeginAllowThreads();
4536 (arg1)->SetIndent(arg2);
4537
4538 wxPyEndAllowThreads(__tstate);
4539 if (PyErr_Occurred()) SWIG_fail;
4540 }
4541 Py_INCREF(Py_None); resultobj = Py_None;
4542 return resultobj;
4543 fail:
4544 return NULL;
4545}
4546
4547
4548static PyObject *_wrap_StyledTextCtrl_GetIndent(PyObject *self, PyObject *args, PyObject *kwargs) {
4549 PyObject *resultobj;
4550 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4551 int result;
4552 PyObject * obj0 = 0 ;
4553 char *kwnames[] = {
4554 (char *) "self", NULL
4555 };
4556
4557 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetIndent",kwnames,&obj0)) goto fail;
4558 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
4559 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4560 {
4561 PyThreadState* __tstate = wxPyBeginAllowThreads();
4562 result = (int)(arg1)->GetIndent();
4563
4564 wxPyEndAllowThreads(__tstate);
4565 if (PyErr_Occurred()) SWIG_fail;
4566 }
4567 resultobj = SWIG_FromInt((int)result);
4568 return resultobj;
4569 fail:
4570 return NULL;
4571}
4572
4573
4574static PyObject *_wrap_StyledTextCtrl_SetUseTabs(PyObject *self, PyObject *args, PyObject *kwargs) {
4575 PyObject *resultobj;
4576 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4577 bool arg2 ;
4578 PyObject * obj0 = 0 ;
4579 PyObject * obj1 = 0 ;
4580 char *kwnames[] = {
4581 (char *) "self",(char *) "useTabs", NULL
4582 };
4583
4584 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetUseTabs",kwnames,&obj0,&obj1)) goto fail;
4585 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
4586 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4587 arg2 = (bool) SWIG_AsBool(obj1);
4588 if (PyErr_Occurred()) SWIG_fail;
4589 {
4590 PyThreadState* __tstate = wxPyBeginAllowThreads();
4591 (arg1)->SetUseTabs(arg2);
4592
4593 wxPyEndAllowThreads(__tstate);
4594 if (PyErr_Occurred()) SWIG_fail;
4595 }
4596 Py_INCREF(Py_None); resultobj = Py_None;
4597 return resultobj;
4598 fail:
4599 return NULL;
4600}
4601
4602
4603static PyObject *_wrap_StyledTextCtrl_GetUseTabs(PyObject *self, PyObject *args, PyObject *kwargs) {
4604 PyObject *resultobj;
4605 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4606 bool result;
4607 PyObject * obj0 = 0 ;
4608 char *kwnames[] = {
4609 (char *) "self", NULL
4610 };
4611
4612 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetUseTabs",kwnames,&obj0)) goto fail;
4613 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
4614 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4615 {
4616 PyThreadState* __tstate = wxPyBeginAllowThreads();
4617 result = (bool)(arg1)->GetUseTabs();
4618
4619 wxPyEndAllowThreads(__tstate);
4620 if (PyErr_Occurred()) SWIG_fail;
4621 }
4622 {
4623 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4624 }
4625 return resultobj;
4626 fail:
4627 return NULL;
4628}
4629
4630
4631static PyObject *_wrap_StyledTextCtrl_SetLineIndentation(PyObject *self, PyObject *args, PyObject *kwargs) {
4632 PyObject *resultobj;
4633 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4634 int arg2 ;
4635 int arg3 ;
4636 PyObject * obj0 = 0 ;
4637 PyObject * obj1 = 0 ;
4638 PyObject * obj2 = 0 ;
4639 char *kwnames[] = {
4640 (char *) "self",(char *) "line",(char *) "indentSize", NULL
4641 };
4642
4643 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetLineIndentation",kwnames,&obj0,&obj1,&obj2)) goto fail;
4644 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
4645 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4646 arg2 = (int) SWIG_AsInt(obj1);
4647 if (PyErr_Occurred()) SWIG_fail;
4648 arg3 = (int) SWIG_AsInt(obj2);
4649 if (PyErr_Occurred()) SWIG_fail;
4650 {
4651 PyThreadState* __tstate = wxPyBeginAllowThreads();
4652 (arg1)->SetLineIndentation(arg2,arg3);
4653
4654 wxPyEndAllowThreads(__tstate);
4655 if (PyErr_Occurred()) SWIG_fail;
4656 }
4657 Py_INCREF(Py_None); resultobj = Py_None;
4658 return resultobj;
4659 fail:
4660 return NULL;
4661}
4662
4663
4664static PyObject *_wrap_StyledTextCtrl_GetLineIndentation(PyObject *self, PyObject *args, PyObject *kwargs) {
4665 PyObject *resultobj;
4666 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4667 int arg2 ;
4668 int result;
4669 PyObject * obj0 = 0 ;
4670 PyObject * obj1 = 0 ;
4671 char *kwnames[] = {
4672 (char *) "self",(char *) "line", NULL
4673 };
4674
4675 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GetLineIndentation",kwnames,&obj0,&obj1)) goto fail;
4676 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
4677 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4678 arg2 = (int) SWIG_AsInt(obj1);
4679 if (PyErr_Occurred()) SWIG_fail;
4680 {
4681 PyThreadState* __tstate = wxPyBeginAllowThreads();
4682 result = (int)(arg1)->GetLineIndentation(arg2);
4683
4684 wxPyEndAllowThreads(__tstate);
4685 if (PyErr_Occurred()) SWIG_fail;
4686 }
4687 resultobj = SWIG_FromInt((int)result);
4688 return resultobj;
4689 fail:
4690 return NULL;
4691}
4692
4693
4694static PyObject *_wrap_StyledTextCtrl_GetLineIndentPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
4695 PyObject *resultobj;
4696 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4697 int arg2 ;
4698 int result;
4699 PyObject * obj0 = 0 ;
4700 PyObject * obj1 = 0 ;
4701 char *kwnames[] = {
4702 (char *) "self",(char *) "line", NULL
4703 };
4704
4705 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GetLineIndentPosition",kwnames,&obj0,&obj1)) goto fail;
4706 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
4707 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4708 arg2 = (int) SWIG_AsInt(obj1);
4709 if (PyErr_Occurred()) SWIG_fail;
4710 {
4711 PyThreadState* __tstate = wxPyBeginAllowThreads();
4712 result = (int)(arg1)->GetLineIndentPosition(arg2);
4713
4714 wxPyEndAllowThreads(__tstate);
4715 if (PyErr_Occurred()) SWIG_fail;
4716 }
4717 resultobj = SWIG_FromInt((int)result);
4718 return resultobj;
4719 fail:
4720 return NULL;
4721}
4722
4723
4724static PyObject *_wrap_StyledTextCtrl_GetColumn(PyObject *self, PyObject *args, PyObject *kwargs) {
4725 PyObject *resultobj;
4726 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4727 int arg2 ;
4728 int result;
4729 PyObject * obj0 = 0 ;
4730 PyObject * obj1 = 0 ;
4731 char *kwnames[] = {
4732 (char *) "self",(char *) "pos", NULL
4733 };
4734
4735 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GetColumn",kwnames,&obj0,&obj1)) goto fail;
4736 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
4737 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4738 arg2 = (int) SWIG_AsInt(obj1);
4739 if (PyErr_Occurred()) SWIG_fail;
4740 {
4741 PyThreadState* __tstate = wxPyBeginAllowThreads();
4742 result = (int)(arg1)->GetColumn(arg2);
4743
4744 wxPyEndAllowThreads(__tstate);
4745 if (PyErr_Occurred()) SWIG_fail;
4746 }
4747 resultobj = SWIG_FromInt((int)result);
4748 return resultobj;
4749 fail:
4750 return NULL;
4751}
4752
4753
4754static PyObject *_wrap_StyledTextCtrl_SetUseHorizontalScrollBar(PyObject *self, PyObject *args, PyObject *kwargs) {
4755 PyObject *resultobj;
4756 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4757 bool arg2 ;
4758 PyObject * obj0 = 0 ;
4759 PyObject * obj1 = 0 ;
4760 char *kwnames[] = {
4761 (char *) "self",(char *) "show", NULL
4762 };
4763
4764 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetUseHorizontalScrollBar",kwnames,&obj0,&obj1)) goto fail;
4765 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
4766 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4767 arg2 = (bool) SWIG_AsBool(obj1);
4768 if (PyErr_Occurred()) SWIG_fail;
4769 {
4770 PyThreadState* __tstate = wxPyBeginAllowThreads();
4771 (arg1)->SetUseHorizontalScrollBar(arg2);
4772
4773 wxPyEndAllowThreads(__tstate);
4774 if (PyErr_Occurred()) SWIG_fail;
4775 }
4776 Py_INCREF(Py_None); resultobj = Py_None;
4777 return resultobj;
4778 fail:
4779 return NULL;
4780}
4781
4782
4783static PyObject *_wrap_StyledTextCtrl_GetUseHorizontalScrollBar(PyObject *self, PyObject *args, PyObject *kwargs) {
4784 PyObject *resultobj;
4785 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4786 bool result;
4787 PyObject * obj0 = 0 ;
4788 char *kwnames[] = {
4789 (char *) "self", NULL
4790 };
4791
4792 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetUseHorizontalScrollBar",kwnames,&obj0)) goto fail;
4793 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
4794 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4795 {
4796 PyThreadState* __tstate = wxPyBeginAllowThreads();
4797 result = (bool)(arg1)->GetUseHorizontalScrollBar();
4798
4799 wxPyEndAllowThreads(__tstate);
4800 if (PyErr_Occurred()) SWIG_fail;
4801 }
4802 {
4803 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4804 }
4805 return resultobj;
4806 fail:
4807 return NULL;
4808}
4809
4810
4811static PyObject *_wrap_StyledTextCtrl_SetIndentationGuides(PyObject *self, PyObject *args, PyObject *kwargs) {
4812 PyObject *resultobj;
4813 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4814 bool arg2 ;
4815 PyObject * obj0 = 0 ;
4816 PyObject * obj1 = 0 ;
4817 char *kwnames[] = {
4818 (char *) "self",(char *) "show", NULL
4819 };
4820
4821 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetIndentationGuides",kwnames,&obj0,&obj1)) goto fail;
4822 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
4823 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4824 arg2 = (bool) SWIG_AsBool(obj1);
4825 if (PyErr_Occurred()) SWIG_fail;
4826 {
4827 PyThreadState* __tstate = wxPyBeginAllowThreads();
4828 (arg1)->SetIndentationGuides(arg2);
4829
4830 wxPyEndAllowThreads(__tstate);
4831 if (PyErr_Occurred()) SWIG_fail;
4832 }
4833 Py_INCREF(Py_None); resultobj = Py_None;
4834 return resultobj;
4835 fail:
4836 return NULL;
4837}
4838
4839
4840static PyObject *_wrap_StyledTextCtrl_GetIndentationGuides(PyObject *self, PyObject *args, PyObject *kwargs) {
4841 PyObject *resultobj;
4842 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4843 bool result;
4844 PyObject * obj0 = 0 ;
4845 char *kwnames[] = {
4846 (char *) "self", NULL
4847 };
4848
4849 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetIndentationGuides",kwnames,&obj0)) goto fail;
4850 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
4851 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4852 {
4853 PyThreadState* __tstate = wxPyBeginAllowThreads();
4854 result = (bool)(arg1)->GetIndentationGuides();
4855
4856 wxPyEndAllowThreads(__tstate);
4857 if (PyErr_Occurred()) SWIG_fail;
4858 }
4859 {
4860 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4861 }
4862 return resultobj;
4863 fail:
4864 return NULL;
4865}
4866
4867
4868static PyObject *_wrap_StyledTextCtrl_SetHighlightGuide(PyObject *self, PyObject *args, PyObject *kwargs) {
4869 PyObject *resultobj;
4870 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4871 int arg2 ;
4872 PyObject * obj0 = 0 ;
4873 PyObject * obj1 = 0 ;
4874 char *kwnames[] = {
4875 (char *) "self",(char *) "column", NULL
4876 };
4877
4878 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetHighlightGuide",kwnames,&obj0,&obj1)) goto fail;
4879 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
4880 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4881 arg2 = (int) SWIG_AsInt(obj1);
4882 if (PyErr_Occurred()) SWIG_fail;
4883 {
4884 PyThreadState* __tstate = wxPyBeginAllowThreads();
4885 (arg1)->SetHighlightGuide(arg2);
4886
4887 wxPyEndAllowThreads(__tstate);
4888 if (PyErr_Occurred()) SWIG_fail;
4889 }
4890 Py_INCREF(Py_None); resultobj = Py_None;
4891 return resultobj;
4892 fail:
4893 return NULL;
4894}
4895
4896
4897static PyObject *_wrap_StyledTextCtrl_GetHighlightGuide(PyObject *self, PyObject *args, PyObject *kwargs) {
4898 PyObject *resultobj;
4899 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4900 int result;
4901 PyObject * obj0 = 0 ;
4902 char *kwnames[] = {
4903 (char *) "self", NULL
4904 };
4905
4906 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetHighlightGuide",kwnames,&obj0)) goto fail;
4907 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
4908 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4909 {
4910 PyThreadState* __tstate = wxPyBeginAllowThreads();
4911 result = (int)(arg1)->GetHighlightGuide();
4912
4913 wxPyEndAllowThreads(__tstate);
4914 if (PyErr_Occurred()) SWIG_fail;
4915 }
4916 resultobj = SWIG_FromInt((int)result);
4917 return resultobj;
4918 fail:
4919 return NULL;
4920}
4921
4922
4923static PyObject *_wrap_StyledTextCtrl_GetLineEndPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
4924 PyObject *resultobj;
4925 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4926 int arg2 ;
4927 int result;
4928 PyObject * obj0 = 0 ;
4929 PyObject * obj1 = 0 ;
4930 char *kwnames[] = {
4931 (char *) "self",(char *) "line", NULL
4932 };
4933
4934 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GetLineEndPosition",kwnames,&obj0,&obj1)) goto fail;
4935 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
4936 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4937 arg2 = (int) SWIG_AsInt(obj1);
4938 if (PyErr_Occurred()) SWIG_fail;
4939 {
4940 PyThreadState* __tstate = wxPyBeginAllowThreads();
4941 result = (int)(arg1)->GetLineEndPosition(arg2);
4942
4943 wxPyEndAllowThreads(__tstate);
4944 if (PyErr_Occurred()) SWIG_fail;
4945 }
4946 resultobj = SWIG_FromInt((int)result);
4947 return resultobj;
4948 fail:
4949 return NULL;
4950}
4951
4952
4953static PyObject *_wrap_StyledTextCtrl_GetCodePage(PyObject *self, PyObject *args, PyObject *kwargs) {
4954 PyObject *resultobj;
4955 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4956 int result;
4957 PyObject * obj0 = 0 ;
4958 char *kwnames[] = {
4959 (char *) "self", NULL
4960 };
4961
4962 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetCodePage",kwnames,&obj0)) goto fail;
4963 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
4964 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4965 {
4966 PyThreadState* __tstate = wxPyBeginAllowThreads();
4967 result = (int)(arg1)->GetCodePage();
4968
4969 wxPyEndAllowThreads(__tstate);
4970 if (PyErr_Occurred()) SWIG_fail;
4971 }
4972 resultobj = SWIG_FromInt((int)result);
4973 return resultobj;
4974 fail:
4975 return NULL;
4976}
4977
4978
4979static PyObject *_wrap_StyledTextCtrl_GetCaretForeground(PyObject *self, PyObject *args, PyObject *kwargs) {
4980 PyObject *resultobj;
4981 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4982 wxColour result;
4983 PyObject * obj0 = 0 ;
4984 char *kwnames[] = {
4985 (char *) "self", NULL
4986 };
4987
4988 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetCaretForeground",kwnames,&obj0)) goto fail;
4989 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
4990 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4991 {
4992 PyThreadState* __tstate = wxPyBeginAllowThreads();
4993 result = (arg1)->GetCaretForeground();
4994
4995 wxPyEndAllowThreads(__tstate);
4996 if (PyErr_Occurred()) SWIG_fail;
4997 }
4998 {
4999 wxColour * resultptr;
5000 resultptr = new wxColour((wxColour &) result);
5001 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
5002 }
5003 return resultobj;
5004 fail:
5005 return NULL;
5006}
5007
5008
5009static PyObject *_wrap_StyledTextCtrl_GetReadOnly(PyObject *self, PyObject *args, PyObject *kwargs) {
5010 PyObject *resultobj;
5011 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5012 bool result;
5013 PyObject * obj0 = 0 ;
5014 char *kwnames[] = {
5015 (char *) "self", NULL
5016 };
5017
5018 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetReadOnly",kwnames,&obj0)) goto fail;
5019 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
5020 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5021 {
5022 PyThreadState* __tstate = wxPyBeginAllowThreads();
5023 result = (bool)(arg1)->GetReadOnly();
5024
5025 wxPyEndAllowThreads(__tstate);
5026 if (PyErr_Occurred()) SWIG_fail;
5027 }
5028 {
5029 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5030 }
5031 return resultobj;
5032 fail:
5033 return NULL;
5034}
5035
5036
5037static PyObject *_wrap_StyledTextCtrl_SetCurrentPos(PyObject *self, PyObject *args, PyObject *kwargs) {
5038 PyObject *resultobj;
5039 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5040 int arg2 ;
5041 PyObject * obj0 = 0 ;
5042 PyObject * obj1 = 0 ;
5043 char *kwnames[] = {
5044 (char *) "self",(char *) "pos", NULL
5045 };
5046
5047 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetCurrentPos",kwnames,&obj0,&obj1)) goto fail;
5048 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
5049 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5050 arg2 = (int) SWIG_AsInt(obj1);
5051 if (PyErr_Occurred()) SWIG_fail;
5052 {
5053 PyThreadState* __tstate = wxPyBeginAllowThreads();
5054 (arg1)->SetCurrentPos(arg2);
5055
5056 wxPyEndAllowThreads(__tstate);
5057 if (PyErr_Occurred()) SWIG_fail;
5058 }
5059 Py_INCREF(Py_None); resultobj = Py_None;
5060 return resultobj;
5061 fail:
5062 return NULL;
5063}
5064
5065
5066static PyObject *_wrap_StyledTextCtrl_SetSelectionStart(PyObject *self, PyObject *args, PyObject *kwargs) {
5067 PyObject *resultobj;
5068 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5069 int arg2 ;
5070 PyObject * obj0 = 0 ;
5071 PyObject * obj1 = 0 ;
5072 char *kwnames[] = {
5073 (char *) "self",(char *) "pos", NULL
5074 };
5075
5076 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetSelectionStart",kwnames,&obj0,&obj1)) goto fail;
5077 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
5078 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5079 arg2 = (int) SWIG_AsInt(obj1);
5080 if (PyErr_Occurred()) SWIG_fail;
5081 {
5082 PyThreadState* __tstate = wxPyBeginAllowThreads();
5083 (arg1)->SetSelectionStart(arg2);
5084
5085 wxPyEndAllowThreads(__tstate);
5086 if (PyErr_Occurred()) SWIG_fail;
5087 }
5088 Py_INCREF(Py_None); resultobj = Py_None;
5089 return resultobj;
5090 fail:
5091 return NULL;
5092}
5093
5094
5095static PyObject *_wrap_StyledTextCtrl_GetSelectionStart(PyObject *self, PyObject *args, PyObject *kwargs) {
5096 PyObject *resultobj;
5097 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5098 int result;
5099 PyObject * obj0 = 0 ;
5100 char *kwnames[] = {
5101 (char *) "self", NULL
5102 };
5103
5104 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetSelectionStart",kwnames,&obj0)) goto fail;
5105 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
5106 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5107 {
5108 PyThreadState* __tstate = wxPyBeginAllowThreads();
5109 result = (int)(arg1)->GetSelectionStart();
5110
5111 wxPyEndAllowThreads(__tstate);
5112 if (PyErr_Occurred()) SWIG_fail;
5113 }
5114 resultobj = SWIG_FromInt((int)result);
5115 return resultobj;
5116 fail:
5117 return NULL;
5118}
5119
5120
5121static PyObject *_wrap_StyledTextCtrl_SetSelectionEnd(PyObject *self, PyObject *args, PyObject *kwargs) {
5122 PyObject *resultobj;
5123 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5124 int arg2 ;
5125 PyObject * obj0 = 0 ;
5126 PyObject * obj1 = 0 ;
5127 char *kwnames[] = {
5128 (char *) "self",(char *) "pos", NULL
5129 };
5130
5131 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetSelectionEnd",kwnames,&obj0,&obj1)) goto fail;
5132 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
5133 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5134 arg2 = (int) SWIG_AsInt(obj1);
5135 if (PyErr_Occurred()) SWIG_fail;
5136 {
5137 PyThreadState* __tstate = wxPyBeginAllowThreads();
5138 (arg1)->SetSelectionEnd(arg2);
5139
5140 wxPyEndAllowThreads(__tstate);
5141 if (PyErr_Occurred()) SWIG_fail;
5142 }
5143 Py_INCREF(Py_None); resultobj = Py_None;
5144 return resultobj;
5145 fail:
5146 return NULL;
5147}
5148
5149
5150static PyObject *_wrap_StyledTextCtrl_GetSelectionEnd(PyObject *self, PyObject *args, PyObject *kwargs) {
5151 PyObject *resultobj;
5152 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5153 int result;
5154 PyObject * obj0 = 0 ;
5155 char *kwnames[] = {
5156 (char *) "self", NULL
5157 };
5158
5159 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetSelectionEnd",kwnames,&obj0)) goto fail;
5160 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
5161 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5162 {
5163 PyThreadState* __tstate = wxPyBeginAllowThreads();
5164 result = (int)(arg1)->GetSelectionEnd();
5165
5166 wxPyEndAllowThreads(__tstate);
5167 if (PyErr_Occurred()) SWIG_fail;
5168 }
5169 resultobj = SWIG_FromInt((int)result);
5170 return resultobj;
5171 fail:
5172 return NULL;
5173}
5174
5175
5176static PyObject *_wrap_StyledTextCtrl_SetPrintMagnification(PyObject *self, PyObject *args, PyObject *kwargs) {
5177 PyObject *resultobj;
5178 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5179 int arg2 ;
5180 PyObject * obj0 = 0 ;
5181 PyObject * obj1 = 0 ;
5182 char *kwnames[] = {
5183 (char *) "self",(char *) "magnification", NULL
5184 };
5185
5186 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetPrintMagnification",kwnames,&obj0,&obj1)) goto fail;
5187 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
5188 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5189 arg2 = (int) SWIG_AsInt(obj1);
5190 if (PyErr_Occurred()) SWIG_fail;
5191 {
5192 PyThreadState* __tstate = wxPyBeginAllowThreads();
5193 (arg1)->SetPrintMagnification(arg2);
5194
5195 wxPyEndAllowThreads(__tstate);
5196 if (PyErr_Occurred()) SWIG_fail;
5197 }
5198 Py_INCREF(Py_None); resultobj = Py_None;
5199 return resultobj;
5200 fail:
5201 return NULL;
5202}
5203
5204
5205static PyObject *_wrap_StyledTextCtrl_GetPrintMagnification(PyObject *self, PyObject *args, PyObject *kwargs) {
5206 PyObject *resultobj;
5207 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5208 int result;
5209 PyObject * obj0 = 0 ;
5210 char *kwnames[] = {
5211 (char *) "self", NULL
5212 };
5213
5214 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetPrintMagnification",kwnames,&obj0)) goto fail;
5215 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
5216 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5217 {
5218 PyThreadState* __tstate = wxPyBeginAllowThreads();
5219 result = (int)(arg1)->GetPrintMagnification();
5220
5221 wxPyEndAllowThreads(__tstate);
5222 if (PyErr_Occurred()) SWIG_fail;
5223 }
5224 resultobj = SWIG_FromInt((int)result);
5225 return resultobj;
5226 fail:
5227 return NULL;
5228}
5229
5230
5231static PyObject *_wrap_StyledTextCtrl_SetPrintColourMode(PyObject *self, PyObject *args, PyObject *kwargs) {
5232 PyObject *resultobj;
5233 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5234 int arg2 ;
5235 PyObject * obj0 = 0 ;
5236 PyObject * obj1 = 0 ;
5237 char *kwnames[] = {
5238 (char *) "self",(char *) "mode", NULL
5239 };
5240
5241 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetPrintColourMode",kwnames,&obj0,&obj1)) goto fail;
5242 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
5243 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5244 arg2 = (int) SWIG_AsInt(obj1);
5245 if (PyErr_Occurred()) SWIG_fail;
5246 {
5247 PyThreadState* __tstate = wxPyBeginAllowThreads();
5248 (arg1)->SetPrintColourMode(arg2);
5249
5250 wxPyEndAllowThreads(__tstate);
5251 if (PyErr_Occurred()) SWIG_fail;
5252 }
5253 Py_INCREF(Py_None); resultobj = Py_None;
5254 return resultobj;
5255 fail:
5256 return NULL;
5257}
5258
5259
5260static PyObject *_wrap_StyledTextCtrl_GetPrintColourMode(PyObject *self, PyObject *args, PyObject *kwargs) {
5261 PyObject *resultobj;
5262 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5263 int result;
5264 PyObject * obj0 = 0 ;
5265 char *kwnames[] = {
5266 (char *) "self", NULL
5267 };
5268
5269 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetPrintColourMode",kwnames,&obj0)) goto fail;
5270 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
5271 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5272 {
5273 PyThreadState* __tstate = wxPyBeginAllowThreads();
5274 result = (int)(arg1)->GetPrintColourMode();
5275
5276 wxPyEndAllowThreads(__tstate);
5277 if (PyErr_Occurred()) SWIG_fail;
5278 }
5279 resultobj = SWIG_FromInt((int)result);
5280 return resultobj;
5281 fail:
5282 return NULL;
5283}
5284
5285
5286static PyObject *_wrap_StyledTextCtrl_FindText(PyObject *self, PyObject *args, PyObject *kwargs) {
5287 PyObject *resultobj;
5288 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5289 int arg2 ;
5290 int arg3 ;
5291 wxString *arg4 = 0 ;
5292 int arg5 = (int) 0 ;
5293 int result;
5294 bool temp4 = False ;
5295 PyObject * obj0 = 0 ;
5296 PyObject * obj1 = 0 ;
5297 PyObject * obj2 = 0 ;
5298 PyObject * obj3 = 0 ;
5299 PyObject * obj4 = 0 ;
5300 char *kwnames[] = {
5301 (char *) "self",(char *) "minPos",(char *) "maxPos",(char *) "text",(char *) "flags", NULL
5302 };
5303
5304 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|O:StyledTextCtrl_FindText",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
5305 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
5306 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5307 arg2 = (int) SWIG_AsInt(obj1);
5308 if (PyErr_Occurred()) SWIG_fail;
5309 arg3 = (int) SWIG_AsInt(obj2);
5310 if (PyErr_Occurred()) SWIG_fail;
5311 {
5312 arg4 = wxString_in_helper(obj3);
5313 if (arg4 == NULL) SWIG_fail;
5314 temp4 = True;
5315 }
5316 if (obj4) {
5317 arg5 = (int) SWIG_AsInt(obj4);
5318 if (PyErr_Occurred()) SWIG_fail;
5319 }
5320 {
5321 PyThreadState* __tstate = wxPyBeginAllowThreads();
5322 result = (int)(arg1)->FindText(arg2,arg3,(wxString const &)*arg4,arg5);
5323
5324 wxPyEndAllowThreads(__tstate);
5325 if (PyErr_Occurred()) SWIG_fail;
5326 }
5327 resultobj = SWIG_FromInt((int)result);
5328 {
5329 if (temp4)
5330 delete arg4;
5331 }
5332 return resultobj;
5333 fail:
5334 {
5335 if (temp4)
5336 delete arg4;
5337 }
5338 return NULL;
5339}
5340
5341
5342static PyObject *_wrap_StyledTextCtrl_FormatRange(PyObject *self, PyObject *args, PyObject *kwargs) {
5343 PyObject *resultobj;
5344 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5345 bool arg2 ;
5346 int arg3 ;
5347 int arg4 ;
5348 wxDC *arg5 = (wxDC *) 0 ;
5349 wxDC *arg6 = (wxDC *) 0 ;
5350 wxRect arg7 ;
5351 wxRect arg8 ;
5352 int result;
5353 wxRect *argp7 ;
5354 wxRect *argp8 ;
5355 PyObject * obj0 = 0 ;
5356 PyObject * obj1 = 0 ;
5357 PyObject * obj2 = 0 ;
5358 PyObject * obj3 = 0 ;
5359 PyObject * obj4 = 0 ;
5360 PyObject * obj5 = 0 ;
5361 PyObject * obj6 = 0 ;
5362 PyObject * obj7 = 0 ;
5363 char *kwnames[] = {
5364 (char *) "self",(char *) "doDraw",(char *) "startPos",(char *) "endPos",(char *) "draw",(char *) "target",(char *) "renderRect",(char *) "pageRect", NULL
5365 };
5366
5367 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOOOO:StyledTextCtrl_FormatRange",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
5368 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
5369 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5370 arg2 = (bool) SWIG_AsBool(obj1);
5371 if (PyErr_Occurred()) SWIG_fail;
5372 arg3 = (int) SWIG_AsInt(obj2);
5373 if (PyErr_Occurred()) SWIG_fail;
5374 arg4 = (int) SWIG_AsInt(obj3);
5375 if (PyErr_Occurred()) SWIG_fail;
5376 if ((SWIG_ConvertPtr(obj4,(void **)(&arg5),SWIGTYPE_p_wxDC,
5377 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5378 if ((SWIG_ConvertPtr(obj5,(void **)(&arg6),SWIGTYPE_p_wxDC,
5379 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5380 if ((SWIG_ConvertPtr(obj6,(void **)(&argp7),SWIGTYPE_p_wxRect,
5381 SWIG_POINTER_EXCEPTION) == -1)) SWIG_fail;
5382 arg7 = *argp7;
5383 if ((SWIG_ConvertPtr(obj7,(void **)(&argp8),SWIGTYPE_p_wxRect,
5384 SWIG_POINTER_EXCEPTION) == -1)) SWIG_fail;
5385 arg8 = *argp8;
5386 {
5387 PyThreadState* __tstate = wxPyBeginAllowThreads();
5388 result = (int)(arg1)->FormatRange(arg2,arg3,arg4,arg5,arg6,arg7,arg8);
5389
5390 wxPyEndAllowThreads(__tstate);
5391 if (PyErr_Occurred()) SWIG_fail;
5392 }
5393 resultobj = SWIG_FromInt((int)result);
5394 return resultobj;
5395 fail:
5396 return NULL;
5397}
5398
5399
5400static PyObject *_wrap_StyledTextCtrl_GetFirstVisibleLine(PyObject *self, PyObject *args, PyObject *kwargs) {
5401 PyObject *resultobj;
5402 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5403 int result;
5404 PyObject * obj0 = 0 ;
5405 char *kwnames[] = {
5406 (char *) "self", NULL
5407 };
5408
5409 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetFirstVisibleLine",kwnames,&obj0)) goto fail;
5410 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
5411 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5412 {
5413 PyThreadState* __tstate = wxPyBeginAllowThreads();
5414 result = (int)(arg1)->GetFirstVisibleLine();
5415
5416 wxPyEndAllowThreads(__tstate);
5417 if (PyErr_Occurred()) SWIG_fail;
5418 }
5419 resultobj = SWIG_FromInt((int)result);
5420 return resultobj;
5421 fail:
5422 return NULL;
5423}
5424
5425
5426static PyObject *_wrap_StyledTextCtrl_GetLine(PyObject *self, PyObject *args, PyObject *kwargs) {
5427 PyObject *resultobj;
5428 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5429 int arg2 ;
5430 wxString result;
5431 PyObject * obj0 = 0 ;
5432 PyObject * obj1 = 0 ;
5433 char *kwnames[] = {
5434 (char *) "self",(char *) "line", NULL
5435 };
5436
5437 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GetLine",kwnames,&obj0,&obj1)) goto fail;
5438 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
5439 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5440 arg2 = (int) SWIG_AsInt(obj1);
5441 if (PyErr_Occurred()) SWIG_fail;
5442 {
5443 PyThreadState* __tstate = wxPyBeginAllowThreads();
5444 result = (arg1)->GetLine(arg2);
5445
5446 wxPyEndAllowThreads(__tstate);
5447 if (PyErr_Occurred()) SWIG_fail;
5448 }
5449 {
5450#if wxUSE_UNICODE
5451 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
5452#else
5453 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
5454#endif
5455 }
5456 return resultobj;
5457 fail:
5458 return NULL;
5459}
5460
5461
5462static PyObject *_wrap_StyledTextCtrl_GetLineCount(PyObject *self, PyObject *args, PyObject *kwargs) {
5463 PyObject *resultobj;
5464 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5465 int result;
5466 PyObject * obj0 = 0 ;
5467 char *kwnames[] = {
5468 (char *) "self", NULL
5469 };
5470
5471 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetLineCount",kwnames,&obj0)) goto fail;
5472 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
5473 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5474 {
5475 PyThreadState* __tstate = wxPyBeginAllowThreads();
5476 result = (int)(arg1)->GetLineCount();
5477
5478 wxPyEndAllowThreads(__tstate);
5479 if (PyErr_Occurred()) SWIG_fail;
5480 }
5481 resultobj = SWIG_FromInt((int)result);
5482 return resultobj;
5483 fail:
5484 return NULL;
5485}
5486
5487
5488static PyObject *_wrap_StyledTextCtrl_SetMarginLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
5489 PyObject *resultobj;
5490 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5491 int arg2 ;
5492 PyObject * obj0 = 0 ;
5493 PyObject * obj1 = 0 ;
5494 char *kwnames[] = {
5495 (char *) "self",(char *) "pixelWidth", NULL
5496 };
5497
5498 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetMarginLeft",kwnames,&obj0,&obj1)) goto fail;
5499 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
5500 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5501 arg2 = (int) SWIG_AsInt(obj1);
5502 if (PyErr_Occurred()) SWIG_fail;
5503 {
5504 PyThreadState* __tstate = wxPyBeginAllowThreads();
5505 (arg1)->SetMarginLeft(arg2);
5506
5507 wxPyEndAllowThreads(__tstate);
5508 if (PyErr_Occurred()) SWIG_fail;
5509 }
5510 Py_INCREF(Py_None); resultobj = Py_None;
5511 return resultobj;
5512 fail:
5513 return NULL;
5514}
5515
5516
5517static PyObject *_wrap_StyledTextCtrl_GetMarginLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
5518 PyObject *resultobj;
5519 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5520 int result;
5521 PyObject * obj0 = 0 ;
5522 char *kwnames[] = {
5523 (char *) "self", NULL
5524 };
5525
5526 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetMarginLeft",kwnames,&obj0)) goto fail;
5527 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
5528 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5529 {
5530 PyThreadState* __tstate = wxPyBeginAllowThreads();
5531 result = (int)(arg1)->GetMarginLeft();
5532
5533 wxPyEndAllowThreads(__tstate);
5534 if (PyErr_Occurred()) SWIG_fail;
5535 }
5536 resultobj = SWIG_FromInt((int)result);
5537 return resultobj;
5538 fail:
5539 return NULL;
5540}
5541
5542
5543static PyObject *_wrap_StyledTextCtrl_SetMarginRight(PyObject *self, PyObject *args, PyObject *kwargs) {
5544 PyObject *resultobj;
5545 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5546 int arg2 ;
5547 PyObject * obj0 = 0 ;
5548 PyObject * obj1 = 0 ;
5549 char *kwnames[] = {
5550 (char *) "self",(char *) "pixelWidth", NULL
5551 };
5552
5553 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetMarginRight",kwnames,&obj0,&obj1)) goto fail;
5554 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
5555 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5556 arg2 = (int) SWIG_AsInt(obj1);
5557 if (PyErr_Occurred()) SWIG_fail;
5558 {
5559 PyThreadState* __tstate = wxPyBeginAllowThreads();
5560 (arg1)->SetMarginRight(arg2);
5561
5562 wxPyEndAllowThreads(__tstate);
5563 if (PyErr_Occurred()) SWIG_fail;
5564 }
5565 Py_INCREF(Py_None); resultobj = Py_None;
5566 return resultobj;
5567 fail:
5568 return NULL;
5569}
5570
5571
5572static PyObject *_wrap_StyledTextCtrl_GetMarginRight(PyObject *self, PyObject *args, PyObject *kwargs) {
5573 PyObject *resultobj;
5574 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5575 int result;
5576 PyObject * obj0 = 0 ;
5577 char *kwnames[] = {
5578 (char *) "self", NULL
5579 };
5580
5581 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetMarginRight",kwnames,&obj0)) goto fail;
5582 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
5583 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5584 {
5585 PyThreadState* __tstate = wxPyBeginAllowThreads();
5586 result = (int)(arg1)->GetMarginRight();
5587
5588 wxPyEndAllowThreads(__tstate);
5589 if (PyErr_Occurred()) SWIG_fail;
5590 }
5591 resultobj = SWIG_FromInt((int)result);
5592 return resultobj;
5593 fail:
5594 return NULL;
5595}
5596
5597
5598static PyObject *_wrap_StyledTextCtrl_GetModify(PyObject *self, PyObject *args, PyObject *kwargs) {
5599 PyObject *resultobj;
5600 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5601 bool result;
5602 PyObject * obj0 = 0 ;
5603 char *kwnames[] = {
5604 (char *) "self", NULL
5605 };
5606
5607 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetModify",kwnames,&obj0)) goto fail;
5608 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
5609 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5610 {
5611 PyThreadState* __tstate = wxPyBeginAllowThreads();
5612 result = (bool)(arg1)->GetModify();
5613
5614 wxPyEndAllowThreads(__tstate);
5615 if (PyErr_Occurred()) SWIG_fail;
5616 }
5617 {
5618 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5619 }
5620 return resultobj;
5621 fail:
5622 return NULL;
5623}
5624
5625
5626static PyObject *_wrap_StyledTextCtrl_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
5627 PyObject *resultobj;
5628 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5629 int arg2 ;
5630 int arg3 ;
5631 PyObject * obj0 = 0 ;
5632 PyObject * obj1 = 0 ;
5633 PyObject * obj2 = 0 ;
5634 char *kwnames[] = {
5635 (char *) "self",(char *) "start",(char *) "end", NULL
5636 };
5637
5638 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetSelection",kwnames,&obj0,&obj1,&obj2)) goto fail;
5639 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
5640 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5641 arg2 = (int) SWIG_AsInt(obj1);
5642 if (PyErr_Occurred()) SWIG_fail;
5643 arg3 = (int) SWIG_AsInt(obj2);
5644 if (PyErr_Occurred()) SWIG_fail;
5645 {
5646 PyThreadState* __tstate = wxPyBeginAllowThreads();
5647 (arg1)->SetSelection(arg2,arg3);
5648
5649 wxPyEndAllowThreads(__tstate);
5650 if (PyErr_Occurred()) SWIG_fail;
5651 }
5652 Py_INCREF(Py_None); resultobj = Py_None;
5653 return resultobj;
5654 fail:
5655 return NULL;
5656}
5657
5658
5659static PyObject *_wrap_StyledTextCtrl_GetSelectedText(PyObject *self, PyObject *args, PyObject *kwargs) {
5660 PyObject *resultobj;
5661 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5662 wxString result;
5663 PyObject * obj0 = 0 ;
5664 char *kwnames[] = {
5665 (char *) "self", NULL
5666 };
5667
5668 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetSelectedText",kwnames,&obj0)) goto fail;
5669 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
5670 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5671 {
5672 PyThreadState* __tstate = wxPyBeginAllowThreads();
5673 result = (arg1)->GetSelectedText();
5674
5675 wxPyEndAllowThreads(__tstate);
5676 if (PyErr_Occurred()) SWIG_fail;
5677 }
5678 {
5679#if wxUSE_UNICODE
5680 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
5681#else
5682 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
5683#endif
5684 }
5685 return resultobj;
5686 fail:
5687 return NULL;
5688}
5689
5690
5691static PyObject *_wrap_StyledTextCtrl_GetTextRange(PyObject *self, PyObject *args, PyObject *kwargs) {
5692 PyObject *resultobj;
5693 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5694 int arg2 ;
5695 int arg3 ;
5696 wxString result;
5697 PyObject * obj0 = 0 ;
5698 PyObject * obj1 = 0 ;
5699 PyObject * obj2 = 0 ;
5700 char *kwnames[] = {
5701 (char *) "self",(char *) "startPos",(char *) "endPos", NULL
5702 };
5703
5704 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_GetTextRange",kwnames,&obj0,&obj1,&obj2)) goto fail;
5705 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
5706 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5707 arg2 = (int) SWIG_AsInt(obj1);
5708 if (PyErr_Occurred()) SWIG_fail;
5709 arg3 = (int) SWIG_AsInt(obj2);
5710 if (PyErr_Occurred()) SWIG_fail;
5711 {
5712 PyThreadState* __tstate = wxPyBeginAllowThreads();
5713 result = (arg1)->GetTextRange(arg2,arg3);
5714
5715 wxPyEndAllowThreads(__tstate);
5716 if (PyErr_Occurred()) SWIG_fail;
5717 }
5718 {
5719#if wxUSE_UNICODE
5720 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
5721#else
5722 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
5723#endif
5724 }
5725 return resultobj;
5726 fail:
5727 return NULL;
5728}
5729
5730
5731static PyObject *_wrap_StyledTextCtrl_HideSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
5732 PyObject *resultobj;
5733 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5734 bool arg2 ;
5735 PyObject * obj0 = 0 ;
5736 PyObject * obj1 = 0 ;
5737 char *kwnames[] = {
5738 (char *) "self",(char *) "normal", NULL
5739 };
5740
5741 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_HideSelection",kwnames,&obj0,&obj1)) goto fail;
5742 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
5743 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5744 arg2 = (bool) SWIG_AsBool(obj1);
5745 if (PyErr_Occurred()) SWIG_fail;
5746 {
5747 PyThreadState* __tstate = wxPyBeginAllowThreads();
5748 (arg1)->HideSelection(arg2);
5749
5750 wxPyEndAllowThreads(__tstate);
5751 if (PyErr_Occurred()) SWIG_fail;
5752 }
5753 Py_INCREF(Py_None); resultobj = Py_None;
5754 return resultobj;
5755 fail:
5756 return NULL;
5757}
5758
5759
5760static PyObject *_wrap_StyledTextCtrl_LineFromPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
5761 PyObject *resultobj;
5762 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5763 int arg2 ;
5764 int result;
5765 PyObject * obj0 = 0 ;
5766 PyObject * obj1 = 0 ;
5767 char *kwnames[] = {
5768 (char *) "self",(char *) "pos", NULL
5769 };
5770
5771 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_LineFromPosition",kwnames,&obj0,&obj1)) goto fail;
5772 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
5773 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5774 arg2 = (int) SWIG_AsInt(obj1);
5775 if (PyErr_Occurred()) SWIG_fail;
5776 {
5777 PyThreadState* __tstate = wxPyBeginAllowThreads();
5778 result = (int)(arg1)->LineFromPosition(arg2);
5779
5780 wxPyEndAllowThreads(__tstate);
5781 if (PyErr_Occurred()) SWIG_fail;
5782 }
5783 resultobj = SWIG_FromInt((int)result);
5784 return resultobj;
5785 fail:
5786 return NULL;
5787}
5788
5789
5790static PyObject *_wrap_StyledTextCtrl_PositionFromLine(PyObject *self, PyObject *args, PyObject *kwargs) {
5791 PyObject *resultobj;
5792 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5793 int arg2 ;
5794 int result;
5795 PyObject * obj0 = 0 ;
5796 PyObject * obj1 = 0 ;
5797 char *kwnames[] = {
5798 (char *) "self",(char *) "line", NULL
5799 };
5800
5801 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_PositionFromLine",kwnames,&obj0,&obj1)) goto fail;
5802 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
5803 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5804 arg2 = (int) SWIG_AsInt(obj1);
5805 if (PyErr_Occurred()) SWIG_fail;
5806 {
5807 PyThreadState* __tstate = wxPyBeginAllowThreads();
5808 result = (int)(arg1)->PositionFromLine(arg2);
5809
5810 wxPyEndAllowThreads(__tstate);
5811 if (PyErr_Occurred()) SWIG_fail;
5812 }
5813 resultobj = SWIG_FromInt((int)result);
5814 return resultobj;
5815 fail:
5816 return NULL;
5817}
5818
5819
5820static PyObject *_wrap_StyledTextCtrl_LineScroll(PyObject *self, PyObject *args, PyObject *kwargs) {
5821 PyObject *resultobj;
5822 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5823 int arg2 ;
5824 int arg3 ;
5825 PyObject * obj0 = 0 ;
5826 PyObject * obj1 = 0 ;
5827 PyObject * obj2 = 0 ;
5828 char *kwnames[] = {
5829 (char *) "self",(char *) "columns",(char *) "lines", NULL
5830 };
5831
5832 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_LineScroll",kwnames,&obj0,&obj1,&obj2)) goto fail;
5833 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
5834 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5835 arg2 = (int) SWIG_AsInt(obj1);
5836 if (PyErr_Occurred()) SWIG_fail;
5837 arg3 = (int) SWIG_AsInt(obj2);
5838 if (PyErr_Occurred()) SWIG_fail;
5839 {
5840 PyThreadState* __tstate = wxPyBeginAllowThreads();
5841 (arg1)->LineScroll(arg2,arg3);
5842
5843 wxPyEndAllowThreads(__tstate);
5844 if (PyErr_Occurred()) SWIG_fail;
5845 }
5846 Py_INCREF(Py_None); resultobj = Py_None;
5847 return resultobj;
5848 fail:
5849 return NULL;
5850}
5851
5852
5853static PyObject *_wrap_StyledTextCtrl_EnsureCaretVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
5854 PyObject *resultobj;
5855 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5856 PyObject * obj0 = 0 ;
5857 char *kwnames[] = {
5858 (char *) "self", NULL
5859 };
5860
5861 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_EnsureCaretVisible",kwnames,&obj0)) goto fail;
5862 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
5863 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5864 {
5865 PyThreadState* __tstate = wxPyBeginAllowThreads();
5866 (arg1)->EnsureCaretVisible();
5867
5868 wxPyEndAllowThreads(__tstate);
5869 if (PyErr_Occurred()) SWIG_fail;
5870 }
5871 Py_INCREF(Py_None); resultobj = Py_None;
5872 return resultobj;
5873 fail:
5874 return NULL;
5875}
5876
5877
5878static PyObject *_wrap_StyledTextCtrl_ReplaceSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
5879 PyObject *resultobj;
5880 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5881 wxString *arg2 = 0 ;
5882 bool temp2 = False ;
5883 PyObject * obj0 = 0 ;
5884 PyObject * obj1 = 0 ;
5885 char *kwnames[] = {
5886 (char *) "self",(char *) "text", NULL
5887 };
5888
5889 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_ReplaceSelection",kwnames,&obj0,&obj1)) goto fail;
5890 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
5891 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5892 {
5893 arg2 = wxString_in_helper(obj1);
5894 if (arg2 == NULL) SWIG_fail;
5895 temp2 = True;
5896 }
5897 {
5898 PyThreadState* __tstate = wxPyBeginAllowThreads();
5899 (arg1)->ReplaceSelection((wxString const &)*arg2);
5900
5901 wxPyEndAllowThreads(__tstate);
5902 if (PyErr_Occurred()) SWIG_fail;
5903 }
5904 Py_INCREF(Py_None); resultobj = Py_None;
5905 {
5906 if (temp2)
5907 delete arg2;
5908 }
5909 return resultobj;
5910 fail:
5911 {
5912 if (temp2)
5913 delete arg2;
5914 }
5915 return NULL;
5916}
5917
5918
5919static PyObject *_wrap_StyledTextCtrl_SetReadOnly(PyObject *self, PyObject *args, PyObject *kwargs) {
5920 PyObject *resultobj;
5921 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5922 bool arg2 ;
5923 PyObject * obj0 = 0 ;
5924 PyObject * obj1 = 0 ;
5925 char *kwnames[] = {
5926 (char *) "self",(char *) "readOnly", NULL
5927 };
5928
5929 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetReadOnly",kwnames,&obj0,&obj1)) goto fail;
5930 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
5931 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5932 arg2 = (bool) SWIG_AsBool(obj1);
5933 if (PyErr_Occurred()) SWIG_fail;
5934 {
5935 PyThreadState* __tstate = wxPyBeginAllowThreads();
5936 (arg1)->SetReadOnly(arg2);
5937
5938 wxPyEndAllowThreads(__tstate);
5939 if (PyErr_Occurred()) SWIG_fail;
5940 }
5941 Py_INCREF(Py_None); resultobj = Py_None;
5942 return resultobj;
5943 fail:
5944 return NULL;
5945}
5946
5947
5948static PyObject *_wrap_StyledTextCtrl_CanPaste(PyObject *self, PyObject *args, PyObject *kwargs) {
5949 PyObject *resultobj;
5950 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5951 bool result;
5952 PyObject * obj0 = 0 ;
5953 char *kwnames[] = {
5954 (char *) "self", NULL
5955 };
5956
5957 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_CanPaste",kwnames,&obj0)) goto fail;
5958 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
5959 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5960 {
5961 PyThreadState* __tstate = wxPyBeginAllowThreads();
5962 result = (bool)(arg1)->CanPaste();
5963
5964 wxPyEndAllowThreads(__tstate);
5965 if (PyErr_Occurred()) SWIG_fail;
5966 }
5967 {
5968 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5969 }
5970 return resultobj;
5971 fail:
5972 return NULL;
5973}
5974
5975
5976static PyObject *_wrap_StyledTextCtrl_CanUndo(PyObject *self, PyObject *args, PyObject *kwargs) {
5977 PyObject *resultobj;
5978 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5979 bool result;
5980 PyObject * obj0 = 0 ;
5981 char *kwnames[] = {
5982 (char *) "self", NULL
5983 };
5984
5985 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_CanUndo",kwnames,&obj0)) goto fail;
5986 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
5987 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5988 {
5989 PyThreadState* __tstate = wxPyBeginAllowThreads();
5990 result = (bool)(arg1)->CanUndo();
5991
5992 wxPyEndAllowThreads(__tstate);
5993 if (PyErr_Occurred()) SWIG_fail;
5994 }
5995 {
5996 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5997 }
5998 return resultobj;
5999 fail:
6000 return NULL;
6001}
6002
6003
6004static PyObject *_wrap_StyledTextCtrl_EmptyUndoBuffer(PyObject *self, PyObject *args, PyObject *kwargs) {
6005 PyObject *resultobj;
6006 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6007 PyObject * obj0 = 0 ;
6008 char *kwnames[] = {
6009 (char *) "self", NULL
6010 };
6011
6012 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_EmptyUndoBuffer",kwnames,&obj0)) goto fail;
6013 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
6014 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6015 {
6016 PyThreadState* __tstate = wxPyBeginAllowThreads();
6017 (arg1)->EmptyUndoBuffer();
6018
6019 wxPyEndAllowThreads(__tstate);
6020 if (PyErr_Occurred()) SWIG_fail;
6021 }
6022 Py_INCREF(Py_None); resultobj = Py_None;
6023 return resultobj;
6024 fail:
6025 return NULL;
6026}
6027
6028
6029static PyObject *_wrap_StyledTextCtrl_Undo(PyObject *self, PyObject *args, PyObject *kwargs) {
6030 PyObject *resultobj;
6031 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6032 PyObject * obj0 = 0 ;
6033 char *kwnames[] = {
6034 (char *) "self", NULL
6035 };
6036
6037 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_Undo",kwnames,&obj0)) goto fail;
6038 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
6039 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6040 {
6041 PyThreadState* __tstate = wxPyBeginAllowThreads();
6042 (arg1)->Undo();
6043
6044 wxPyEndAllowThreads(__tstate);
6045 if (PyErr_Occurred()) SWIG_fail;
6046 }
6047 Py_INCREF(Py_None); resultobj = Py_None;
6048 return resultobj;
6049 fail:
6050 return NULL;
6051}
6052
6053
6054static PyObject *_wrap_StyledTextCtrl_Cut(PyObject *self, PyObject *args, PyObject *kwargs) {
6055 PyObject *resultobj;
6056 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6057 PyObject * obj0 = 0 ;
6058 char *kwnames[] = {
6059 (char *) "self", NULL
6060 };
6061
6062 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_Cut",kwnames,&obj0)) goto fail;
6063 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
6064 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6065 {
6066 PyThreadState* __tstate = wxPyBeginAllowThreads();
6067 (arg1)->Cut();
6068
6069 wxPyEndAllowThreads(__tstate);
6070 if (PyErr_Occurred()) SWIG_fail;
6071 }
6072 Py_INCREF(Py_None); resultobj = Py_None;
6073 return resultobj;
6074 fail:
6075 return NULL;
6076}
6077
6078
6079static PyObject *_wrap_StyledTextCtrl_Copy(PyObject *self, PyObject *args, PyObject *kwargs) {
6080 PyObject *resultobj;
6081 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6082 PyObject * obj0 = 0 ;
6083 char *kwnames[] = {
6084 (char *) "self", NULL
6085 };
6086
6087 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_Copy",kwnames,&obj0)) goto fail;
6088 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
6089 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6090 {
6091 PyThreadState* __tstate = wxPyBeginAllowThreads();
6092 (arg1)->Copy();
6093
6094 wxPyEndAllowThreads(__tstate);
6095 if (PyErr_Occurred()) SWIG_fail;
6096 }
6097 Py_INCREF(Py_None); resultobj = Py_None;
6098 return resultobj;
6099 fail:
6100 return NULL;
6101}
6102
6103
6104static PyObject *_wrap_StyledTextCtrl_Paste(PyObject *self, PyObject *args, PyObject *kwargs) {
6105 PyObject *resultobj;
6106 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6107 PyObject * obj0 = 0 ;
6108 char *kwnames[] = {
6109 (char *) "self", NULL
6110 };
6111
6112 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_Paste",kwnames,&obj0)) goto fail;
6113 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
6114 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6115 {
6116 PyThreadState* __tstate = wxPyBeginAllowThreads();
6117 (arg1)->Paste();
6118
6119 wxPyEndAllowThreads(__tstate);
6120 if (PyErr_Occurred()) SWIG_fail;
6121 }
6122 Py_INCREF(Py_None); resultobj = Py_None;
6123 return resultobj;
6124 fail:
6125 return NULL;
6126}
6127
6128
6129static PyObject *_wrap_StyledTextCtrl_Clear(PyObject *self, PyObject *args, PyObject *kwargs) {
6130 PyObject *resultobj;
6131 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6132 PyObject * obj0 = 0 ;
6133 char *kwnames[] = {
6134 (char *) "self", NULL
6135 };
6136
6137 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_Clear",kwnames,&obj0)) goto fail;
6138 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
6139 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6140 {
6141 PyThreadState* __tstate = wxPyBeginAllowThreads();
6142 (arg1)->Clear();
6143
6144 wxPyEndAllowThreads(__tstate);
6145 if (PyErr_Occurred()) SWIG_fail;
6146 }
6147 Py_INCREF(Py_None); resultobj = Py_None;
6148 return resultobj;
6149 fail:
6150 return NULL;
6151}
6152
6153
6154static PyObject *_wrap_StyledTextCtrl_SetText(PyObject *self, PyObject *args, PyObject *kwargs) {
6155 PyObject *resultobj;
6156 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6157 wxString *arg2 = 0 ;
6158 bool temp2 = False ;
6159 PyObject * obj0 = 0 ;
6160 PyObject * obj1 = 0 ;
6161 char *kwnames[] = {
6162 (char *) "self",(char *) "text", NULL
6163 };
6164
6165 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetText",kwnames,&obj0,&obj1)) goto fail;
6166 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
6167 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6168 {
6169 arg2 = wxString_in_helper(obj1);
6170 if (arg2 == NULL) SWIG_fail;
6171 temp2 = True;
6172 }
6173 {
6174 PyThreadState* __tstate = wxPyBeginAllowThreads();
6175 (arg1)->SetText((wxString const &)*arg2);
6176
6177 wxPyEndAllowThreads(__tstate);
6178 if (PyErr_Occurred()) SWIG_fail;
6179 }
6180 Py_INCREF(Py_None); resultobj = Py_None;
6181 {
6182 if (temp2)
6183 delete arg2;
6184 }
6185 return resultobj;
6186 fail:
6187 {
6188 if (temp2)
6189 delete arg2;
6190 }
6191 return NULL;
6192}
6193
6194
6195static PyObject *_wrap_StyledTextCtrl_GetText(PyObject *self, PyObject *args, PyObject *kwargs) {
6196 PyObject *resultobj;
6197 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6198 wxString result;
6199 PyObject * obj0 = 0 ;
6200 char *kwnames[] = {
6201 (char *) "self", NULL
6202 };
6203
6204 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetText",kwnames,&obj0)) goto fail;
6205 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
6206 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6207 {
6208 PyThreadState* __tstate = wxPyBeginAllowThreads();
6209 result = (arg1)->GetText();
6210
6211 wxPyEndAllowThreads(__tstate);
6212 if (PyErr_Occurred()) SWIG_fail;
6213 }
6214 {
6215#if wxUSE_UNICODE
6216 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
6217#else
6218 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
6219#endif
6220 }
6221 return resultobj;
6222 fail:
6223 return NULL;
6224}
6225
6226
6227static PyObject *_wrap_StyledTextCtrl_GetTextLength(PyObject *self, PyObject *args, PyObject *kwargs) {
6228 PyObject *resultobj;
6229 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6230 int result;
6231 PyObject * obj0 = 0 ;
6232 char *kwnames[] = {
6233 (char *) "self", NULL
6234 };
6235
6236 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetTextLength",kwnames,&obj0)) goto fail;
6237 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
6238 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6239 {
6240 PyThreadState* __tstate = wxPyBeginAllowThreads();
6241 result = (int)(arg1)->GetTextLength();
6242
6243 wxPyEndAllowThreads(__tstate);
6244 if (PyErr_Occurred()) SWIG_fail;
6245 }
6246 resultobj = SWIG_FromInt((int)result);
6247 return resultobj;
6248 fail:
6249 return NULL;
6250}
6251
6252
6253static PyObject *_wrap_StyledTextCtrl_SetOvertype(PyObject *self, PyObject *args, PyObject *kwargs) {
6254 PyObject *resultobj;
6255 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6256 bool arg2 ;
6257 PyObject * obj0 = 0 ;
6258 PyObject * obj1 = 0 ;
6259 char *kwnames[] = {
6260 (char *) "self",(char *) "overtype", NULL
6261 };
6262
6263 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetOvertype",kwnames,&obj0,&obj1)) goto fail;
6264 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
6265 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6266 arg2 = (bool) SWIG_AsBool(obj1);
6267 if (PyErr_Occurred()) SWIG_fail;
6268 {
6269 PyThreadState* __tstate = wxPyBeginAllowThreads();
6270 (arg1)->SetOvertype(arg2);
6271
6272 wxPyEndAllowThreads(__tstate);
6273 if (PyErr_Occurred()) SWIG_fail;
6274 }
6275 Py_INCREF(Py_None); resultobj = Py_None;
6276 return resultobj;
6277 fail:
6278 return NULL;
6279}
6280
6281
6282static PyObject *_wrap_StyledTextCtrl_GetOvertype(PyObject *self, PyObject *args, PyObject *kwargs) {
6283 PyObject *resultobj;
6284 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6285 bool result;
6286 PyObject * obj0 = 0 ;
6287 char *kwnames[] = {
6288 (char *) "self", NULL
6289 };
6290
6291 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetOvertype",kwnames,&obj0)) goto fail;
6292 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
6293 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6294 {
6295 PyThreadState* __tstate = wxPyBeginAllowThreads();
6296 result = (bool)(arg1)->GetOvertype();
6297
6298 wxPyEndAllowThreads(__tstate);
6299 if (PyErr_Occurred()) SWIG_fail;
6300 }
6301 {
6302 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6303 }
6304 return resultobj;
6305 fail:
6306 return NULL;
6307}
6308
6309
6310static PyObject *_wrap_StyledTextCtrl_SetCaretWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
6311 PyObject *resultobj;
6312 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6313 int arg2 ;
6314 PyObject * obj0 = 0 ;
6315 PyObject * obj1 = 0 ;
6316 char *kwnames[] = {
6317 (char *) "self",(char *) "pixelWidth", NULL
6318 };
6319
6320 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetCaretWidth",kwnames,&obj0,&obj1)) goto fail;
6321 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
6322 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6323 arg2 = (int) SWIG_AsInt(obj1);
6324 if (PyErr_Occurred()) SWIG_fail;
6325 {
6326 PyThreadState* __tstate = wxPyBeginAllowThreads();
6327 (arg1)->SetCaretWidth(arg2);
6328
6329 wxPyEndAllowThreads(__tstate);
6330 if (PyErr_Occurred()) SWIG_fail;
6331 }
6332 Py_INCREF(Py_None); resultobj = Py_None;
6333 return resultobj;
6334 fail:
6335 return NULL;
6336}
6337
6338
6339static PyObject *_wrap_StyledTextCtrl_GetCaretWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
6340 PyObject *resultobj;
6341 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6342 int result;
6343 PyObject * obj0 = 0 ;
6344 char *kwnames[] = {
6345 (char *) "self", NULL
6346 };
6347
6348 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetCaretWidth",kwnames,&obj0)) goto fail;
6349 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
6350 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6351 {
6352 PyThreadState* __tstate = wxPyBeginAllowThreads();
6353 result = (int)(arg1)->GetCaretWidth();
6354
6355 wxPyEndAllowThreads(__tstate);
6356 if (PyErr_Occurred()) SWIG_fail;
6357 }
6358 resultobj = SWIG_FromInt((int)result);
6359 return resultobj;
6360 fail:
6361 return NULL;
6362}
6363
6364
6365static PyObject *_wrap_StyledTextCtrl_SetTargetStart(PyObject *self, PyObject *args, PyObject *kwargs) {
6366 PyObject *resultobj;
6367 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6368 int arg2 ;
6369 PyObject * obj0 = 0 ;
6370 PyObject * obj1 = 0 ;
6371 char *kwnames[] = {
6372 (char *) "self",(char *) "pos", NULL
6373 };
6374
6375 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetTargetStart",kwnames,&obj0,&obj1)) goto fail;
6376 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
6377 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6378 arg2 = (int) SWIG_AsInt(obj1);
6379 if (PyErr_Occurred()) SWIG_fail;
6380 {
6381 PyThreadState* __tstate = wxPyBeginAllowThreads();
6382 (arg1)->SetTargetStart(arg2);
6383
6384 wxPyEndAllowThreads(__tstate);
6385 if (PyErr_Occurred()) SWIG_fail;
6386 }
6387 Py_INCREF(Py_None); resultobj = Py_None;
6388 return resultobj;
6389 fail:
6390 return NULL;
6391}
6392
6393
6394static PyObject *_wrap_StyledTextCtrl_GetTargetStart(PyObject *self, PyObject *args, PyObject *kwargs) {
6395 PyObject *resultobj;
6396 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6397 int result;
6398 PyObject * obj0 = 0 ;
6399 char *kwnames[] = {
6400 (char *) "self", NULL
6401 };
6402
6403 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetTargetStart",kwnames,&obj0)) goto fail;
6404 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
6405 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6406 {
6407 PyThreadState* __tstate = wxPyBeginAllowThreads();
6408 result = (int)(arg1)->GetTargetStart();
6409
6410 wxPyEndAllowThreads(__tstate);
6411 if (PyErr_Occurred()) SWIG_fail;
6412 }
6413 resultobj = SWIG_FromInt((int)result);
6414 return resultobj;
6415 fail:
6416 return NULL;
6417}
6418
6419
6420static PyObject *_wrap_StyledTextCtrl_SetTargetEnd(PyObject *self, PyObject *args, PyObject *kwargs) {
6421 PyObject *resultobj;
6422 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6423 int arg2 ;
6424 PyObject * obj0 = 0 ;
6425 PyObject * obj1 = 0 ;
6426 char *kwnames[] = {
6427 (char *) "self",(char *) "pos", NULL
6428 };
6429
6430 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetTargetEnd",kwnames,&obj0,&obj1)) goto fail;
6431 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
6432 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6433 arg2 = (int) SWIG_AsInt(obj1);
6434 if (PyErr_Occurred()) SWIG_fail;
6435 {
6436 PyThreadState* __tstate = wxPyBeginAllowThreads();
6437 (arg1)->SetTargetEnd(arg2);
6438
6439 wxPyEndAllowThreads(__tstate);
6440 if (PyErr_Occurred()) SWIG_fail;
6441 }
6442 Py_INCREF(Py_None); resultobj = Py_None;
6443 return resultobj;
6444 fail:
6445 return NULL;
6446}
6447
6448
6449static PyObject *_wrap_StyledTextCtrl_GetTargetEnd(PyObject *self, PyObject *args, PyObject *kwargs) {
6450 PyObject *resultobj;
6451 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6452 int result;
6453 PyObject * obj0 = 0 ;
6454 char *kwnames[] = {
6455 (char *) "self", NULL
6456 };
6457
6458 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetTargetEnd",kwnames,&obj0)) goto fail;
6459 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
6460 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6461 {
6462 PyThreadState* __tstate = wxPyBeginAllowThreads();
6463 result = (int)(arg1)->GetTargetEnd();
6464
6465 wxPyEndAllowThreads(__tstate);
6466 if (PyErr_Occurred()) SWIG_fail;
6467 }
6468 resultobj = SWIG_FromInt((int)result);
6469 return resultobj;
6470 fail:
6471 return NULL;
6472}
6473
6474
6475static PyObject *_wrap_StyledTextCtrl_ReplaceTarget(PyObject *self, PyObject *args, PyObject *kwargs) {
6476 PyObject *resultobj;
6477 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6478 wxString *arg2 = 0 ;
6479 int result;
6480 bool temp2 = False ;
6481 PyObject * obj0 = 0 ;
6482 PyObject * obj1 = 0 ;
6483 char *kwnames[] = {
6484 (char *) "self",(char *) "text", NULL
6485 };
6486
6487 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_ReplaceTarget",kwnames,&obj0,&obj1)) goto fail;
6488 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
6489 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6490 {
6491 arg2 = wxString_in_helper(obj1);
6492 if (arg2 == NULL) SWIG_fail;
6493 temp2 = True;
6494 }
6495 {
6496 PyThreadState* __tstate = wxPyBeginAllowThreads();
6497 result = (int)(arg1)->ReplaceTarget((wxString const &)*arg2);
6498
6499 wxPyEndAllowThreads(__tstate);
6500 if (PyErr_Occurred()) SWIG_fail;
6501 }
6502 resultobj = SWIG_FromInt((int)result);
6503 {
6504 if (temp2)
6505 delete arg2;
6506 }
6507 return resultobj;
6508 fail:
6509 {
6510 if (temp2)
6511 delete arg2;
6512 }
6513 return NULL;
6514}
6515
6516
6517static PyObject *_wrap_StyledTextCtrl_ReplaceTargetRE(PyObject *self, PyObject *args, PyObject *kwargs) {
6518 PyObject *resultobj;
6519 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6520 wxString *arg2 = 0 ;
6521 int result;
6522 bool temp2 = False ;
6523 PyObject * obj0 = 0 ;
6524 PyObject * obj1 = 0 ;
6525 char *kwnames[] = {
6526 (char *) "self",(char *) "text", NULL
6527 };
6528
6529 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_ReplaceTargetRE",kwnames,&obj0,&obj1)) goto fail;
6530 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
6531 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6532 {
6533 arg2 = wxString_in_helper(obj1);
6534 if (arg2 == NULL) SWIG_fail;
6535 temp2 = True;
6536 }
6537 {
6538 PyThreadState* __tstate = wxPyBeginAllowThreads();
6539 result = (int)(arg1)->ReplaceTargetRE((wxString const &)*arg2);
6540
6541 wxPyEndAllowThreads(__tstate);
6542 if (PyErr_Occurred()) SWIG_fail;
6543 }
6544 resultobj = SWIG_FromInt((int)result);
6545 {
6546 if (temp2)
6547 delete arg2;
6548 }
6549 return resultobj;
6550 fail:
6551 {
6552 if (temp2)
6553 delete arg2;
6554 }
6555 return NULL;
6556}
6557
6558
6559static PyObject *_wrap_StyledTextCtrl_SearchInTarget(PyObject *self, PyObject *args, PyObject *kwargs) {
6560 PyObject *resultobj;
6561 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6562 wxString *arg2 = 0 ;
6563 int result;
6564 bool temp2 = False ;
6565 PyObject * obj0 = 0 ;
6566 PyObject * obj1 = 0 ;
6567 char *kwnames[] = {
6568 (char *) "self",(char *) "text", NULL
6569 };
6570
6571 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SearchInTarget",kwnames,&obj0,&obj1)) goto fail;
6572 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
6573 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6574 {
6575 arg2 = wxString_in_helper(obj1);
6576 if (arg2 == NULL) SWIG_fail;
6577 temp2 = True;
6578 }
6579 {
6580 PyThreadState* __tstate = wxPyBeginAllowThreads();
6581 result = (int)(arg1)->SearchInTarget((wxString const &)*arg2);
6582
6583 wxPyEndAllowThreads(__tstate);
6584 if (PyErr_Occurred()) SWIG_fail;
6585 }
6586 resultobj = SWIG_FromInt((int)result);
6587 {
6588 if (temp2)
6589 delete arg2;
6590 }
6591 return resultobj;
6592 fail:
6593 {
6594 if (temp2)
6595 delete arg2;
6596 }
6597 return NULL;
6598}
6599
6600
6601static PyObject *_wrap_StyledTextCtrl_SetSearchFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
6602 PyObject *resultobj;
6603 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6604 int arg2 ;
6605 PyObject * obj0 = 0 ;
6606 PyObject * obj1 = 0 ;
6607 char *kwnames[] = {
6608 (char *) "self",(char *) "flags", NULL
6609 };
6610
6611 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetSearchFlags",kwnames,&obj0,&obj1)) goto fail;
6612 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
6613 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6614 arg2 = (int) SWIG_AsInt(obj1);
6615 if (PyErr_Occurred()) SWIG_fail;
6616 {
6617 PyThreadState* __tstate = wxPyBeginAllowThreads();
6618 (arg1)->SetSearchFlags(arg2);
6619
6620 wxPyEndAllowThreads(__tstate);
6621 if (PyErr_Occurred()) SWIG_fail;
6622 }
6623 Py_INCREF(Py_None); resultobj = Py_None;
6624 return resultobj;
6625 fail:
6626 return NULL;
6627}
6628
6629
6630static PyObject *_wrap_StyledTextCtrl_GetSearchFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
6631 PyObject *resultobj;
6632 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6633 int result;
6634 PyObject * obj0 = 0 ;
6635 char *kwnames[] = {
6636 (char *) "self", NULL
6637 };
6638
6639 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetSearchFlags",kwnames,&obj0)) goto fail;
6640 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
6641 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6642 {
6643 PyThreadState* __tstate = wxPyBeginAllowThreads();
6644 result = (int)(arg1)->GetSearchFlags();
6645
6646 wxPyEndAllowThreads(__tstate);
6647 if (PyErr_Occurred()) SWIG_fail;
6648 }
6649 resultobj = SWIG_FromInt((int)result);
6650 return resultobj;
6651 fail:
6652 return NULL;
6653}
6654
6655
6656static PyObject *_wrap_StyledTextCtrl_CallTipShow(PyObject *self, PyObject *args, PyObject *kwargs) {
6657 PyObject *resultobj;
6658 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6659 int arg2 ;
6660 wxString *arg3 = 0 ;
6661 bool temp3 = False ;
6662 PyObject * obj0 = 0 ;
6663 PyObject * obj1 = 0 ;
6664 PyObject * obj2 = 0 ;
6665 char *kwnames[] = {
6666 (char *) "self",(char *) "pos",(char *) "definition", NULL
6667 };
6668
6669 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_CallTipShow",kwnames,&obj0,&obj1,&obj2)) goto fail;
6670 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
6671 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6672 arg2 = (int) SWIG_AsInt(obj1);
6673 if (PyErr_Occurred()) SWIG_fail;
6674 {
6675 arg3 = wxString_in_helper(obj2);
6676 if (arg3 == NULL) SWIG_fail;
6677 temp3 = True;
6678 }
6679 {
6680 PyThreadState* __tstate = wxPyBeginAllowThreads();
6681 (arg1)->CallTipShow(arg2,(wxString const &)*arg3);
6682
6683 wxPyEndAllowThreads(__tstate);
6684 if (PyErr_Occurred()) SWIG_fail;
6685 }
6686 Py_INCREF(Py_None); resultobj = Py_None;
6687 {
6688 if (temp3)
6689 delete arg3;
6690 }
6691 return resultobj;
6692 fail:
6693 {
6694 if (temp3)
6695 delete arg3;
6696 }
6697 return NULL;
6698}
6699
6700
6701static PyObject *_wrap_StyledTextCtrl_CallTipCancel(PyObject *self, PyObject *args, PyObject *kwargs) {
6702 PyObject *resultobj;
6703 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6704 PyObject * obj0 = 0 ;
6705 char *kwnames[] = {
6706 (char *) "self", NULL
6707 };
6708
6709 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_CallTipCancel",kwnames,&obj0)) goto fail;
6710 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
6711 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6712 {
6713 PyThreadState* __tstate = wxPyBeginAllowThreads();
6714 (arg1)->CallTipCancel();
6715
6716 wxPyEndAllowThreads(__tstate);
6717 if (PyErr_Occurred()) SWIG_fail;
6718 }
6719 Py_INCREF(Py_None); resultobj = Py_None;
6720 return resultobj;
6721 fail:
6722 return NULL;
6723}
6724
6725
6726static PyObject *_wrap_StyledTextCtrl_CallTipActive(PyObject *self, PyObject *args, PyObject *kwargs) {
6727 PyObject *resultobj;
6728 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6729 bool result;
6730 PyObject * obj0 = 0 ;
6731 char *kwnames[] = {
6732 (char *) "self", NULL
6733 };
6734
6735 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_CallTipActive",kwnames,&obj0)) goto fail;
6736 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
6737 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6738 {
6739 PyThreadState* __tstate = wxPyBeginAllowThreads();
6740 result = (bool)(arg1)->CallTipActive();
6741
6742 wxPyEndAllowThreads(__tstate);
6743 if (PyErr_Occurred()) SWIG_fail;
6744 }
6745 {
6746 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6747 }
6748 return resultobj;
6749 fail:
6750 return NULL;
6751}
6752
6753
6754static PyObject *_wrap_StyledTextCtrl_CallTipPosAtStart(PyObject *self, PyObject *args, PyObject *kwargs) {
6755 PyObject *resultobj;
6756 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6757 int result;
6758 PyObject * obj0 = 0 ;
6759 char *kwnames[] = {
6760 (char *) "self", NULL
6761 };
6762
6763 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_CallTipPosAtStart",kwnames,&obj0)) goto fail;
6764 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
6765 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6766 {
6767 PyThreadState* __tstate = wxPyBeginAllowThreads();
6768 result = (int)(arg1)->CallTipPosAtStart();
6769
6770 wxPyEndAllowThreads(__tstate);
6771 if (PyErr_Occurred()) SWIG_fail;
6772 }
6773 resultobj = SWIG_FromInt((int)result);
6774 return resultobj;
6775 fail:
6776 return NULL;
6777}
6778
6779
6780static PyObject *_wrap_StyledTextCtrl_CallTipSetHighlight(PyObject *self, PyObject *args, PyObject *kwargs) {
6781 PyObject *resultobj;
6782 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6783 int arg2 ;
6784 int arg3 ;
6785 PyObject * obj0 = 0 ;
6786 PyObject * obj1 = 0 ;
6787 PyObject * obj2 = 0 ;
6788 char *kwnames[] = {
6789 (char *) "self",(char *) "start",(char *) "end", NULL
6790 };
6791
6792 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_CallTipSetHighlight",kwnames,&obj0,&obj1,&obj2)) goto fail;
6793 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
6794 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6795 arg2 = (int) SWIG_AsInt(obj1);
6796 if (PyErr_Occurred()) SWIG_fail;
6797 arg3 = (int) SWIG_AsInt(obj2);
6798 if (PyErr_Occurred()) SWIG_fail;
6799 {
6800 PyThreadState* __tstate = wxPyBeginAllowThreads();
6801 (arg1)->CallTipSetHighlight(arg2,arg3);
6802
6803 wxPyEndAllowThreads(__tstate);
6804 if (PyErr_Occurred()) SWIG_fail;
6805 }
6806 Py_INCREF(Py_None); resultobj = Py_None;
6807 return resultobj;
6808 fail:
6809 return NULL;
6810}
6811
6812
6813static PyObject *_wrap_StyledTextCtrl_CallTipSetBackground(PyObject *self, PyObject *args, PyObject *kwargs) {
6814 PyObject *resultobj;
6815 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6816 wxColour *arg2 = 0 ;
6817 wxColour temp2 ;
6818 PyObject * obj0 = 0 ;
6819 PyObject * obj1 = 0 ;
6820 char *kwnames[] = {
6821 (char *) "self",(char *) "back", NULL
6822 };
6823
6824 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_CallTipSetBackground",kwnames,&obj0,&obj1)) goto fail;
6825 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
6826 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6827 {
6828 arg2 = &temp2;
6829 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
6830 }
6831 {
6832 PyThreadState* __tstate = wxPyBeginAllowThreads();
6833 (arg1)->CallTipSetBackground((wxColour const &)*arg2);
6834
6835 wxPyEndAllowThreads(__tstate);
6836 if (PyErr_Occurred()) SWIG_fail;
6837 }
6838 Py_INCREF(Py_None); resultobj = Py_None;
6839 return resultobj;
6840 fail:
6841 return NULL;
6842}
6843
6844
6845static PyObject *_wrap_StyledTextCtrl_CallTipSetForeground(PyObject *self, PyObject *args, PyObject *kwargs) {
6846 PyObject *resultobj;
6847 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6848 wxColour *arg2 = 0 ;
6849 wxColour temp2 ;
6850 PyObject * obj0 = 0 ;
6851 PyObject * obj1 = 0 ;
6852 char *kwnames[] = {
6853 (char *) "self",(char *) "fore", NULL
6854 };
6855
6856 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_CallTipSetForeground",kwnames,&obj0,&obj1)) goto fail;
6857 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
6858 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6859 {
6860 arg2 = &temp2;
6861 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
6862 }
6863 {
6864 PyThreadState* __tstate = wxPyBeginAllowThreads();
6865 (arg1)->CallTipSetForeground((wxColour const &)*arg2);
6866
6867 wxPyEndAllowThreads(__tstate);
6868 if (PyErr_Occurred()) SWIG_fail;
6869 }
6870 Py_INCREF(Py_None); resultobj = Py_None;
6871 return resultobj;
6872 fail:
6873 return NULL;
6874}
6875
6876
6877static PyObject *_wrap_StyledTextCtrl_CallTipSetForegroundHighlight(PyObject *self, PyObject *args, PyObject *kwargs) {
6878 PyObject *resultobj;
6879 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6880 wxColour *arg2 = 0 ;
6881 wxColour temp2 ;
6882 PyObject * obj0 = 0 ;
6883 PyObject * obj1 = 0 ;
6884 char *kwnames[] = {
6885 (char *) "self",(char *) "fore", NULL
6886 };
6887
6888 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_CallTipSetForegroundHighlight",kwnames,&obj0,&obj1)) goto fail;
6889 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
6890 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6891 {
6892 arg2 = &temp2;
6893 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
6894 }
6895 {
6896 PyThreadState* __tstate = wxPyBeginAllowThreads();
6897 (arg1)->CallTipSetForegroundHighlight((wxColour const &)*arg2);
6898
6899 wxPyEndAllowThreads(__tstate);
6900 if (PyErr_Occurred()) SWIG_fail;
6901 }
6902 Py_INCREF(Py_None); resultobj = Py_None;
6903 return resultobj;
6904 fail:
6905 return NULL;
6906}
6907
6908
6909static PyObject *_wrap_StyledTextCtrl_VisibleFromDocLine(PyObject *self, PyObject *args, PyObject *kwargs) {
6910 PyObject *resultobj;
6911 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6912 int arg2 ;
6913 int result;
6914 PyObject * obj0 = 0 ;
6915 PyObject * obj1 = 0 ;
6916 char *kwnames[] = {
6917 (char *) "self",(char *) "line", NULL
6918 };
6919
6920 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_VisibleFromDocLine",kwnames,&obj0,&obj1)) goto fail;
6921 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
6922 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6923 arg2 = (int) SWIG_AsInt(obj1);
6924 if (PyErr_Occurred()) SWIG_fail;
6925 {
6926 PyThreadState* __tstate = wxPyBeginAllowThreads();
6927 result = (int)(arg1)->VisibleFromDocLine(arg2);
6928
6929 wxPyEndAllowThreads(__tstate);
6930 if (PyErr_Occurred()) SWIG_fail;
6931 }
6932 resultobj = SWIG_FromInt((int)result);
6933 return resultobj;
6934 fail:
6935 return NULL;
6936}
6937
6938
6939static PyObject *_wrap_StyledTextCtrl_DocLineFromVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
6940 PyObject *resultobj;
6941 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6942 int arg2 ;
6943 int result;
6944 PyObject * obj0 = 0 ;
6945 PyObject * obj1 = 0 ;
6946 char *kwnames[] = {
6947 (char *) "self",(char *) "lineDisplay", NULL
6948 };
6949
6950 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_DocLineFromVisible",kwnames,&obj0,&obj1)) goto fail;
6951 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
6952 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6953 arg2 = (int) SWIG_AsInt(obj1);
6954 if (PyErr_Occurred()) SWIG_fail;
6955 {
6956 PyThreadState* __tstate = wxPyBeginAllowThreads();
6957 result = (int)(arg1)->DocLineFromVisible(arg2);
6958
6959 wxPyEndAllowThreads(__tstate);
6960 if (PyErr_Occurred()) SWIG_fail;
6961 }
6962 resultobj = SWIG_FromInt((int)result);
6963 return resultobj;
6964 fail:
6965 return NULL;
6966}
6967
6968
6969static PyObject *_wrap_StyledTextCtrl_SetFoldLevel(PyObject *self, PyObject *args, PyObject *kwargs) {
6970 PyObject *resultobj;
6971 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6972 int arg2 ;
6973 int arg3 ;
6974 PyObject * obj0 = 0 ;
6975 PyObject * obj1 = 0 ;
6976 PyObject * obj2 = 0 ;
6977 char *kwnames[] = {
6978 (char *) "self",(char *) "line",(char *) "level", NULL
6979 };
6980
6981 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetFoldLevel",kwnames,&obj0,&obj1,&obj2)) goto fail;
6982 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
6983 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6984 arg2 = (int) SWIG_AsInt(obj1);
6985 if (PyErr_Occurred()) SWIG_fail;
6986 arg3 = (int) SWIG_AsInt(obj2);
6987 if (PyErr_Occurred()) SWIG_fail;
6988 {
6989 PyThreadState* __tstate = wxPyBeginAllowThreads();
6990 (arg1)->SetFoldLevel(arg2,arg3);
6991
6992 wxPyEndAllowThreads(__tstate);
6993 if (PyErr_Occurred()) SWIG_fail;
6994 }
6995 Py_INCREF(Py_None); resultobj = Py_None;
6996 return resultobj;
6997 fail:
6998 return NULL;
6999}
7000
7001
7002static PyObject *_wrap_StyledTextCtrl_GetFoldLevel(PyObject *self, PyObject *args, PyObject *kwargs) {
7003 PyObject *resultobj;
7004 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7005 int arg2 ;
7006 int result;
7007 PyObject * obj0 = 0 ;
7008 PyObject * obj1 = 0 ;
7009 char *kwnames[] = {
7010 (char *) "self",(char *) "line", NULL
7011 };
7012
7013 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GetFoldLevel",kwnames,&obj0,&obj1)) goto fail;
7014 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
7015 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7016 arg2 = (int) SWIG_AsInt(obj1);
7017 if (PyErr_Occurred()) SWIG_fail;
7018 {
7019 PyThreadState* __tstate = wxPyBeginAllowThreads();
7020 result = (int)(arg1)->GetFoldLevel(arg2);
7021
7022 wxPyEndAllowThreads(__tstate);
7023 if (PyErr_Occurred()) SWIG_fail;
7024 }
7025 resultobj = SWIG_FromInt((int)result);
7026 return resultobj;
7027 fail:
7028 return NULL;
7029}
7030
7031
7032static PyObject *_wrap_StyledTextCtrl_GetLastChild(PyObject *self, PyObject *args, PyObject *kwargs) {
7033 PyObject *resultobj;
7034 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7035 int arg2 ;
7036 int arg3 ;
7037 int result;
7038 PyObject * obj0 = 0 ;
7039 PyObject * obj1 = 0 ;
7040 PyObject * obj2 = 0 ;
7041 char *kwnames[] = {
7042 (char *) "self",(char *) "line",(char *) "level", NULL
7043 };
7044
7045 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_GetLastChild",kwnames,&obj0,&obj1,&obj2)) goto fail;
7046 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
7047 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7048 arg2 = (int) SWIG_AsInt(obj1);
7049 if (PyErr_Occurred()) SWIG_fail;
7050 arg3 = (int) SWIG_AsInt(obj2);
7051 if (PyErr_Occurred()) SWIG_fail;
7052 {
7053 PyThreadState* __tstate = wxPyBeginAllowThreads();
7054 result = (int)(arg1)->GetLastChild(arg2,arg3);
7055
7056 wxPyEndAllowThreads(__tstate);
7057 if (PyErr_Occurred()) SWIG_fail;
7058 }
7059 resultobj = SWIG_FromInt((int)result);
7060 return resultobj;
7061 fail:
7062 return NULL;
7063}
7064
7065
7066static PyObject *_wrap_StyledTextCtrl_GetFoldParent(PyObject *self, PyObject *args, PyObject *kwargs) {
7067 PyObject *resultobj;
7068 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7069 int arg2 ;
7070 int result;
7071 PyObject * obj0 = 0 ;
7072 PyObject * obj1 = 0 ;
7073 char *kwnames[] = {
7074 (char *) "self",(char *) "line", NULL
7075 };
7076
7077 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GetFoldParent",kwnames,&obj0,&obj1)) goto fail;
7078 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
7079 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7080 arg2 = (int) SWIG_AsInt(obj1);
7081 if (PyErr_Occurred()) SWIG_fail;
7082 {
7083 PyThreadState* __tstate = wxPyBeginAllowThreads();
7084 result = (int)(arg1)->GetFoldParent(arg2);
7085
7086 wxPyEndAllowThreads(__tstate);
7087 if (PyErr_Occurred()) SWIG_fail;
7088 }
7089 resultobj = SWIG_FromInt((int)result);
7090 return resultobj;
7091 fail:
7092 return NULL;
7093}
7094
7095
7096static PyObject *_wrap_StyledTextCtrl_ShowLines(PyObject *self, PyObject *args, PyObject *kwargs) {
7097 PyObject *resultobj;
7098 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7099 int arg2 ;
7100 int arg3 ;
7101 PyObject * obj0 = 0 ;
7102 PyObject * obj1 = 0 ;
7103 PyObject * obj2 = 0 ;
7104 char *kwnames[] = {
7105 (char *) "self",(char *) "lineStart",(char *) "lineEnd", NULL
7106 };
7107
7108 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_ShowLines",kwnames,&obj0,&obj1,&obj2)) goto fail;
7109 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
7110 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7111 arg2 = (int) SWIG_AsInt(obj1);
7112 if (PyErr_Occurred()) SWIG_fail;
7113 arg3 = (int) SWIG_AsInt(obj2);
7114 if (PyErr_Occurred()) SWIG_fail;
7115 {
7116 PyThreadState* __tstate = wxPyBeginAllowThreads();
7117 (arg1)->ShowLines(arg2,arg3);
7118
7119 wxPyEndAllowThreads(__tstate);
7120 if (PyErr_Occurred()) SWIG_fail;
7121 }
7122 Py_INCREF(Py_None); resultobj = Py_None;
7123 return resultobj;
7124 fail:
7125 return NULL;
7126}
7127
7128
7129static PyObject *_wrap_StyledTextCtrl_HideLines(PyObject *self, PyObject *args, PyObject *kwargs) {
7130 PyObject *resultobj;
7131 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7132 int arg2 ;
7133 int arg3 ;
7134 PyObject * obj0 = 0 ;
7135 PyObject * obj1 = 0 ;
7136 PyObject * obj2 = 0 ;
7137 char *kwnames[] = {
7138 (char *) "self",(char *) "lineStart",(char *) "lineEnd", NULL
7139 };
7140
7141 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_HideLines",kwnames,&obj0,&obj1,&obj2)) goto fail;
7142 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
7143 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7144 arg2 = (int) SWIG_AsInt(obj1);
7145 if (PyErr_Occurred()) SWIG_fail;
7146 arg3 = (int) SWIG_AsInt(obj2);
7147 if (PyErr_Occurred()) SWIG_fail;
7148 {
7149 PyThreadState* __tstate = wxPyBeginAllowThreads();
7150 (arg1)->HideLines(arg2,arg3);
7151
7152 wxPyEndAllowThreads(__tstate);
7153 if (PyErr_Occurred()) SWIG_fail;
7154 }
7155 Py_INCREF(Py_None); resultobj = Py_None;
7156 return resultobj;
7157 fail:
7158 return NULL;
7159}
7160
7161
7162static PyObject *_wrap_StyledTextCtrl_GetLineVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
7163 PyObject *resultobj;
7164 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7165 int arg2 ;
7166 bool result;
7167 PyObject * obj0 = 0 ;
7168 PyObject * obj1 = 0 ;
7169 char *kwnames[] = {
7170 (char *) "self",(char *) "line", NULL
7171 };
7172
7173 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GetLineVisible",kwnames,&obj0,&obj1)) goto fail;
7174 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
7175 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7176 arg2 = (int) SWIG_AsInt(obj1);
7177 if (PyErr_Occurred()) SWIG_fail;
7178 {
7179 PyThreadState* __tstate = wxPyBeginAllowThreads();
7180 result = (bool)(arg1)->GetLineVisible(arg2);
7181
7182 wxPyEndAllowThreads(__tstate);
7183 if (PyErr_Occurred()) SWIG_fail;
7184 }
7185 {
7186 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7187 }
7188 return resultobj;
7189 fail:
7190 return NULL;
7191}
7192
7193
7194static PyObject *_wrap_StyledTextCtrl_SetFoldExpanded(PyObject *self, PyObject *args, PyObject *kwargs) {
7195 PyObject *resultobj;
7196 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7197 int arg2 ;
7198 bool arg3 ;
7199 PyObject * obj0 = 0 ;
7200 PyObject * obj1 = 0 ;
7201 PyObject * obj2 = 0 ;
7202 char *kwnames[] = {
7203 (char *) "self",(char *) "line",(char *) "expanded", NULL
7204 };
7205
7206 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetFoldExpanded",kwnames,&obj0,&obj1,&obj2)) goto fail;
7207 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
7208 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7209 arg2 = (int) SWIG_AsInt(obj1);
7210 if (PyErr_Occurred()) SWIG_fail;
7211 arg3 = (bool) SWIG_AsBool(obj2);
7212 if (PyErr_Occurred()) SWIG_fail;
7213 {
7214 PyThreadState* __tstate = wxPyBeginAllowThreads();
7215 (arg1)->SetFoldExpanded(arg2,arg3);
7216
7217 wxPyEndAllowThreads(__tstate);
7218 if (PyErr_Occurred()) SWIG_fail;
7219 }
7220 Py_INCREF(Py_None); resultobj = Py_None;
7221 return resultobj;
7222 fail:
7223 return NULL;
7224}
7225
7226
7227static PyObject *_wrap_StyledTextCtrl_GetFoldExpanded(PyObject *self, PyObject *args, PyObject *kwargs) {
7228 PyObject *resultobj;
7229 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7230 int arg2 ;
7231 bool result;
7232 PyObject * obj0 = 0 ;
7233 PyObject * obj1 = 0 ;
7234 char *kwnames[] = {
7235 (char *) "self",(char *) "line", NULL
7236 };
7237
7238 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GetFoldExpanded",kwnames,&obj0,&obj1)) goto fail;
7239 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
7240 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7241 arg2 = (int) SWIG_AsInt(obj1);
7242 if (PyErr_Occurred()) SWIG_fail;
7243 {
7244 PyThreadState* __tstate = wxPyBeginAllowThreads();
7245 result = (bool)(arg1)->GetFoldExpanded(arg2);
7246
7247 wxPyEndAllowThreads(__tstate);
7248 if (PyErr_Occurred()) SWIG_fail;
7249 }
7250 {
7251 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7252 }
7253 return resultobj;
7254 fail:
7255 return NULL;
7256}
7257
7258
7259static PyObject *_wrap_StyledTextCtrl_ToggleFold(PyObject *self, PyObject *args, PyObject *kwargs) {
7260 PyObject *resultobj;
7261 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7262 int arg2 ;
7263 PyObject * obj0 = 0 ;
7264 PyObject * obj1 = 0 ;
7265 char *kwnames[] = {
7266 (char *) "self",(char *) "line", NULL
7267 };
7268
7269 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_ToggleFold",kwnames,&obj0,&obj1)) goto fail;
7270 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
7271 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7272 arg2 = (int) SWIG_AsInt(obj1);
7273 if (PyErr_Occurred()) SWIG_fail;
7274 {
7275 PyThreadState* __tstate = wxPyBeginAllowThreads();
7276 (arg1)->ToggleFold(arg2);
7277
7278 wxPyEndAllowThreads(__tstate);
7279 if (PyErr_Occurred()) SWIG_fail;
7280 }
7281 Py_INCREF(Py_None); resultobj = Py_None;
7282 return resultobj;
7283 fail:
7284 return NULL;
7285}
7286
7287
7288static PyObject *_wrap_StyledTextCtrl_EnsureVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
7289 PyObject *resultobj;
7290 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7291 int arg2 ;
7292 PyObject * obj0 = 0 ;
7293 PyObject * obj1 = 0 ;
7294 char *kwnames[] = {
7295 (char *) "self",(char *) "line", NULL
7296 };
7297
7298 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_EnsureVisible",kwnames,&obj0,&obj1)) goto fail;
7299 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
7300 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7301 arg2 = (int) SWIG_AsInt(obj1);
7302 if (PyErr_Occurred()) SWIG_fail;
7303 {
7304 PyThreadState* __tstate = wxPyBeginAllowThreads();
7305 (arg1)->EnsureVisible(arg2);
7306
7307 wxPyEndAllowThreads(__tstate);
7308 if (PyErr_Occurred()) SWIG_fail;
7309 }
7310 Py_INCREF(Py_None); resultobj = Py_None;
7311 return resultobj;
7312 fail:
7313 return NULL;
7314}
7315
7316
7317static PyObject *_wrap_StyledTextCtrl_SetFoldFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
7318 PyObject *resultobj;
7319 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7320 int arg2 ;
7321 PyObject * obj0 = 0 ;
7322 PyObject * obj1 = 0 ;
7323 char *kwnames[] = {
7324 (char *) "self",(char *) "flags", NULL
7325 };
7326
7327 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetFoldFlags",kwnames,&obj0,&obj1)) goto fail;
7328 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
7329 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7330 arg2 = (int) SWIG_AsInt(obj1);
7331 if (PyErr_Occurred()) SWIG_fail;
7332 {
7333 PyThreadState* __tstate = wxPyBeginAllowThreads();
7334 (arg1)->SetFoldFlags(arg2);
7335
7336 wxPyEndAllowThreads(__tstate);
7337 if (PyErr_Occurred()) SWIG_fail;
7338 }
7339 Py_INCREF(Py_None); resultobj = Py_None;
7340 return resultobj;
7341 fail:
7342 return NULL;
7343}
7344
7345
7346static PyObject *_wrap_StyledTextCtrl_EnsureVisibleEnforcePolicy(PyObject *self, PyObject *args, PyObject *kwargs) {
7347 PyObject *resultobj;
7348 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7349 int arg2 ;
7350 PyObject * obj0 = 0 ;
7351 PyObject * obj1 = 0 ;
7352 char *kwnames[] = {
7353 (char *) "self",(char *) "line", NULL
7354 };
7355
7356 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_EnsureVisibleEnforcePolicy",kwnames,&obj0,&obj1)) goto fail;
7357 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
7358 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7359 arg2 = (int) SWIG_AsInt(obj1);
7360 if (PyErr_Occurred()) SWIG_fail;
7361 {
7362 PyThreadState* __tstate = wxPyBeginAllowThreads();
7363 (arg1)->EnsureVisibleEnforcePolicy(arg2);
7364
7365 wxPyEndAllowThreads(__tstate);
7366 if (PyErr_Occurred()) SWIG_fail;
7367 }
7368 Py_INCREF(Py_None); resultobj = Py_None;
7369 return resultobj;
7370 fail:
7371 return NULL;
7372}
7373
7374
7375static PyObject *_wrap_StyledTextCtrl_SetTabIndents(PyObject *self, PyObject *args, PyObject *kwargs) {
7376 PyObject *resultobj;
7377 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7378 bool arg2 ;
7379 PyObject * obj0 = 0 ;
7380 PyObject * obj1 = 0 ;
7381 char *kwnames[] = {
7382 (char *) "self",(char *) "tabIndents", NULL
7383 };
7384
7385 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetTabIndents",kwnames,&obj0,&obj1)) goto fail;
7386 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
7387 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7388 arg2 = (bool) SWIG_AsBool(obj1);
7389 if (PyErr_Occurred()) SWIG_fail;
7390 {
7391 PyThreadState* __tstate = wxPyBeginAllowThreads();
7392 (arg1)->SetTabIndents(arg2);
7393
7394 wxPyEndAllowThreads(__tstate);
7395 if (PyErr_Occurred()) SWIG_fail;
7396 }
7397 Py_INCREF(Py_None); resultobj = Py_None;
7398 return resultobj;
7399 fail:
7400 return NULL;
7401}
7402
7403
7404static PyObject *_wrap_StyledTextCtrl_GetTabIndents(PyObject *self, PyObject *args, PyObject *kwargs) {
7405 PyObject *resultobj;
7406 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7407 bool result;
7408 PyObject * obj0 = 0 ;
7409 char *kwnames[] = {
7410 (char *) "self", NULL
7411 };
7412
7413 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetTabIndents",kwnames,&obj0)) goto fail;
7414 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
7415 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7416 {
7417 PyThreadState* __tstate = wxPyBeginAllowThreads();
7418 result = (bool)(arg1)->GetTabIndents();
7419
7420 wxPyEndAllowThreads(__tstate);
7421 if (PyErr_Occurred()) SWIG_fail;
7422 }
7423 {
7424 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7425 }
7426 return resultobj;
7427 fail:
7428 return NULL;
7429}
7430
7431
7432static PyObject *_wrap_StyledTextCtrl_SetBackSpaceUnIndents(PyObject *self, PyObject *args, PyObject *kwargs) {
7433 PyObject *resultobj;
7434 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7435 bool arg2 ;
7436 PyObject * obj0 = 0 ;
7437 PyObject * obj1 = 0 ;
7438 char *kwnames[] = {
7439 (char *) "self",(char *) "bsUnIndents", NULL
7440 };
7441
7442 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetBackSpaceUnIndents",kwnames,&obj0,&obj1)) goto fail;
7443 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
7444 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7445 arg2 = (bool) SWIG_AsBool(obj1);
7446 if (PyErr_Occurred()) SWIG_fail;
7447 {
7448 PyThreadState* __tstate = wxPyBeginAllowThreads();
7449 (arg1)->SetBackSpaceUnIndents(arg2);
7450
7451 wxPyEndAllowThreads(__tstate);
7452 if (PyErr_Occurred()) SWIG_fail;
7453 }
7454 Py_INCREF(Py_None); resultobj = Py_None;
7455 return resultobj;
7456 fail:
7457 return NULL;
7458}
7459
7460
7461static PyObject *_wrap_StyledTextCtrl_GetBackSpaceUnIndents(PyObject *self, PyObject *args, PyObject *kwargs) {
7462 PyObject *resultobj;
7463 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7464 bool result;
7465 PyObject * obj0 = 0 ;
7466 char *kwnames[] = {
7467 (char *) "self", NULL
7468 };
7469
7470 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetBackSpaceUnIndents",kwnames,&obj0)) goto fail;
7471 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
7472 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7473 {
7474 PyThreadState* __tstate = wxPyBeginAllowThreads();
7475 result = (bool)(arg1)->GetBackSpaceUnIndents();
7476
7477 wxPyEndAllowThreads(__tstate);
7478 if (PyErr_Occurred()) SWIG_fail;
7479 }
7480 {
7481 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7482 }
7483 return resultobj;
7484 fail:
7485 return NULL;
7486}
7487
7488
7489static PyObject *_wrap_StyledTextCtrl_SetMouseDwellTime(PyObject *self, PyObject *args, PyObject *kwargs) {
7490 PyObject *resultobj;
7491 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7492 int arg2 ;
7493 PyObject * obj0 = 0 ;
7494 PyObject * obj1 = 0 ;
7495 char *kwnames[] = {
7496 (char *) "self",(char *) "periodMilliseconds", NULL
7497 };
7498
7499 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetMouseDwellTime",kwnames,&obj0,&obj1)) goto fail;
7500 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
7501 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7502 arg2 = (int) SWIG_AsInt(obj1);
7503 if (PyErr_Occurred()) SWIG_fail;
7504 {
7505 PyThreadState* __tstate = wxPyBeginAllowThreads();
7506 (arg1)->SetMouseDwellTime(arg2);
7507
7508 wxPyEndAllowThreads(__tstate);
7509 if (PyErr_Occurred()) SWIG_fail;
7510 }
7511 Py_INCREF(Py_None); resultobj = Py_None;
7512 return resultobj;
7513 fail:
7514 return NULL;
7515}
7516
7517
7518static PyObject *_wrap_StyledTextCtrl_GetMouseDwellTime(PyObject *self, PyObject *args, PyObject *kwargs) {
7519 PyObject *resultobj;
7520 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7521 int result;
7522 PyObject * obj0 = 0 ;
7523 char *kwnames[] = {
7524 (char *) "self", NULL
7525 };
7526
7527 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetMouseDwellTime",kwnames,&obj0)) goto fail;
7528 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
7529 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7530 {
7531 PyThreadState* __tstate = wxPyBeginAllowThreads();
7532 result = (int)(arg1)->GetMouseDwellTime();
7533
7534 wxPyEndAllowThreads(__tstate);
7535 if (PyErr_Occurred()) SWIG_fail;
7536 }
7537 resultobj = SWIG_FromInt((int)result);
7538 return resultobj;
7539 fail:
7540 return NULL;
7541}
7542
7543
7544static PyObject *_wrap_StyledTextCtrl_WordStartPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
7545 PyObject *resultobj;
7546 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7547 int arg2 ;
7548 bool arg3 ;
7549 int result;
7550 PyObject * obj0 = 0 ;
7551 PyObject * obj1 = 0 ;
7552 PyObject * obj2 = 0 ;
7553 char *kwnames[] = {
7554 (char *) "self",(char *) "pos",(char *) "onlyWordCharacters", NULL
7555 };
7556
7557 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_WordStartPosition",kwnames,&obj0,&obj1,&obj2)) goto fail;
7558 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
7559 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7560 arg2 = (int) SWIG_AsInt(obj1);
7561 if (PyErr_Occurred()) SWIG_fail;
7562 arg3 = (bool) SWIG_AsBool(obj2);
7563 if (PyErr_Occurred()) SWIG_fail;
7564 {
7565 PyThreadState* __tstate = wxPyBeginAllowThreads();
7566 result = (int)(arg1)->WordStartPosition(arg2,arg3);
7567
7568 wxPyEndAllowThreads(__tstate);
7569 if (PyErr_Occurred()) SWIG_fail;
7570 }
7571 resultobj = SWIG_FromInt((int)result);
7572 return resultobj;
7573 fail:
7574 return NULL;
7575}
7576
7577
7578static PyObject *_wrap_StyledTextCtrl_WordEndPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
7579 PyObject *resultobj;
7580 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7581 int arg2 ;
7582 bool arg3 ;
7583 int result;
7584 PyObject * obj0 = 0 ;
7585 PyObject * obj1 = 0 ;
7586 PyObject * obj2 = 0 ;
7587 char *kwnames[] = {
7588 (char *) "self",(char *) "pos",(char *) "onlyWordCharacters", NULL
7589 };
7590
7591 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_WordEndPosition",kwnames,&obj0,&obj1,&obj2)) goto fail;
7592 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
7593 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7594 arg2 = (int) SWIG_AsInt(obj1);
7595 if (PyErr_Occurred()) SWIG_fail;
7596 arg3 = (bool) SWIG_AsBool(obj2);
7597 if (PyErr_Occurred()) SWIG_fail;
7598 {
7599 PyThreadState* __tstate = wxPyBeginAllowThreads();
7600 result = (int)(arg1)->WordEndPosition(arg2,arg3);
7601
7602 wxPyEndAllowThreads(__tstate);
7603 if (PyErr_Occurred()) SWIG_fail;
7604 }
7605 resultobj = SWIG_FromInt((int)result);
7606 return resultobj;
7607 fail:
7608 return NULL;
7609}
7610
7611
7612static PyObject *_wrap_StyledTextCtrl_SetWrapMode(PyObject *self, PyObject *args, PyObject *kwargs) {
7613 PyObject *resultobj;
7614 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7615 int arg2 ;
7616 PyObject * obj0 = 0 ;
7617 PyObject * obj1 = 0 ;
7618 char *kwnames[] = {
7619 (char *) "self",(char *) "mode", NULL
7620 };
7621
7622 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetWrapMode",kwnames,&obj0,&obj1)) goto fail;
7623 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
7624 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7625 arg2 = (int) SWIG_AsInt(obj1);
7626 if (PyErr_Occurred()) SWIG_fail;
7627 {
7628 PyThreadState* __tstate = wxPyBeginAllowThreads();
7629 (arg1)->SetWrapMode(arg2);
7630
7631 wxPyEndAllowThreads(__tstate);
7632 if (PyErr_Occurred()) SWIG_fail;
7633 }
7634 Py_INCREF(Py_None); resultobj = Py_None;
7635 return resultobj;
7636 fail:
7637 return NULL;
7638}
7639
7640
7641static PyObject *_wrap_StyledTextCtrl_GetWrapMode(PyObject *self, PyObject *args, PyObject *kwargs) {
7642 PyObject *resultobj;
7643 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7644 int result;
7645 PyObject * obj0 = 0 ;
7646 char *kwnames[] = {
7647 (char *) "self", NULL
7648 };
7649
7650 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetWrapMode",kwnames,&obj0)) goto fail;
7651 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
7652 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7653 {
7654 PyThreadState* __tstate = wxPyBeginAllowThreads();
7655 result = (int)(arg1)->GetWrapMode();
7656
7657 wxPyEndAllowThreads(__tstate);
7658 if (PyErr_Occurred()) SWIG_fail;
7659 }
7660 resultobj = SWIG_FromInt((int)result);
7661 return resultobj;
7662 fail:
7663 return NULL;
7664}
7665
7666
7667static PyObject *_wrap_StyledTextCtrl_SetLayoutCache(PyObject *self, PyObject *args, PyObject *kwargs) {
7668 PyObject *resultobj;
7669 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7670 int arg2 ;
7671 PyObject * obj0 = 0 ;
7672 PyObject * obj1 = 0 ;
7673 char *kwnames[] = {
7674 (char *) "self",(char *) "mode", NULL
7675 };
7676
7677 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetLayoutCache",kwnames,&obj0,&obj1)) goto fail;
7678 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
7679 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7680 arg2 = (int) SWIG_AsInt(obj1);
7681 if (PyErr_Occurred()) SWIG_fail;
7682 {
7683 PyThreadState* __tstate = wxPyBeginAllowThreads();
7684 (arg1)->SetLayoutCache(arg2);
7685
7686 wxPyEndAllowThreads(__tstate);
7687 if (PyErr_Occurred()) SWIG_fail;
7688 }
7689 Py_INCREF(Py_None); resultobj = Py_None;
7690 return resultobj;
7691 fail:
7692 return NULL;
7693}
7694
7695
7696static PyObject *_wrap_StyledTextCtrl_GetLayoutCache(PyObject *self, PyObject *args, PyObject *kwargs) {
7697 PyObject *resultobj;
7698 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7699 int result;
7700 PyObject * obj0 = 0 ;
7701 char *kwnames[] = {
7702 (char *) "self", NULL
7703 };
7704
7705 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetLayoutCache",kwnames,&obj0)) goto fail;
7706 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
7707 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7708 {
7709 PyThreadState* __tstate = wxPyBeginAllowThreads();
7710 result = (int)(arg1)->GetLayoutCache();
7711
7712 wxPyEndAllowThreads(__tstate);
7713 if (PyErr_Occurred()) SWIG_fail;
7714 }
7715 resultobj = SWIG_FromInt((int)result);
7716 return resultobj;
7717 fail:
7718 return NULL;
7719}
7720
7721
7722static PyObject *_wrap_StyledTextCtrl_SetScrollWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
7723 PyObject *resultobj;
7724 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7725 int arg2 ;
7726 PyObject * obj0 = 0 ;
7727 PyObject * obj1 = 0 ;
7728 char *kwnames[] = {
7729 (char *) "self",(char *) "pixelWidth", NULL
7730 };
7731
7732 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetScrollWidth",kwnames,&obj0,&obj1)) goto fail;
7733 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
7734 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7735 arg2 = (int) SWIG_AsInt(obj1);
7736 if (PyErr_Occurred()) SWIG_fail;
7737 {
7738 PyThreadState* __tstate = wxPyBeginAllowThreads();
7739 (arg1)->SetScrollWidth(arg2);
7740
7741 wxPyEndAllowThreads(__tstate);
7742 if (PyErr_Occurred()) SWIG_fail;
7743 }
7744 Py_INCREF(Py_None); resultobj = Py_None;
7745 return resultobj;
7746 fail:
7747 return NULL;
7748}
7749
7750
7751static PyObject *_wrap_StyledTextCtrl_GetScrollWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
7752 PyObject *resultobj;
7753 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7754 int result;
7755 PyObject * obj0 = 0 ;
7756 char *kwnames[] = {
7757 (char *) "self", NULL
7758 };
7759
7760 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetScrollWidth",kwnames,&obj0)) goto fail;
7761 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
7762 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7763 {
7764 PyThreadState* __tstate = wxPyBeginAllowThreads();
7765 result = (int)(arg1)->GetScrollWidth();
7766
7767 wxPyEndAllowThreads(__tstate);
7768 if (PyErr_Occurred()) SWIG_fail;
7769 }
7770 resultobj = SWIG_FromInt((int)result);
7771 return resultobj;
7772 fail:
7773 return NULL;
7774}
7775
7776
7777static PyObject *_wrap_StyledTextCtrl_TextWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
7778 PyObject *resultobj;
7779 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7780 int arg2 ;
7781 wxString *arg3 = 0 ;
7782 int result;
7783 bool temp3 = False ;
7784 PyObject * obj0 = 0 ;
7785 PyObject * obj1 = 0 ;
7786 PyObject * obj2 = 0 ;
7787 char *kwnames[] = {
7788 (char *) "self",(char *) "style",(char *) "text", NULL
7789 };
7790
7791 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_TextWidth",kwnames,&obj0,&obj1,&obj2)) goto fail;
7792 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
7793 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7794 arg2 = (int) SWIG_AsInt(obj1);
7795 if (PyErr_Occurred()) SWIG_fail;
7796 {
7797 arg3 = wxString_in_helper(obj2);
7798 if (arg3 == NULL) SWIG_fail;
7799 temp3 = True;
7800 }
7801 {
7802 PyThreadState* __tstate = wxPyBeginAllowThreads();
7803 result = (int)(arg1)->TextWidth(arg2,(wxString const &)*arg3);
7804
7805 wxPyEndAllowThreads(__tstate);
7806 if (PyErr_Occurred()) SWIG_fail;
7807 }
7808 resultobj = SWIG_FromInt((int)result);
7809 {
7810 if (temp3)
7811 delete arg3;
7812 }
7813 return resultobj;
7814 fail:
7815 {
7816 if (temp3)
7817 delete arg3;
7818 }
7819 return NULL;
7820}
7821
7822
7823static PyObject *_wrap_StyledTextCtrl_SetEndAtLastLine(PyObject *self, PyObject *args, PyObject *kwargs) {
7824 PyObject *resultobj;
7825 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7826 bool arg2 ;
7827 PyObject * obj0 = 0 ;
7828 PyObject * obj1 = 0 ;
7829 char *kwnames[] = {
7830 (char *) "self",(char *) "endAtLastLine", NULL
7831 };
7832
7833 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetEndAtLastLine",kwnames,&obj0,&obj1)) goto fail;
7834 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
7835 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7836 arg2 = (bool) SWIG_AsBool(obj1);
7837 if (PyErr_Occurred()) SWIG_fail;
7838 {
7839 PyThreadState* __tstate = wxPyBeginAllowThreads();
7840 (arg1)->SetEndAtLastLine(arg2);
7841
7842 wxPyEndAllowThreads(__tstate);
7843 if (PyErr_Occurred()) SWIG_fail;
7844 }
7845 Py_INCREF(Py_None); resultobj = Py_None;
7846 return resultobj;
7847 fail:
7848 return NULL;
7849}
7850
7851
7852static PyObject *_wrap_StyledTextCtrl_GetEndAtLastLine(PyObject *self, PyObject *args, PyObject *kwargs) {
7853 PyObject *resultobj;
7854 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7855 int result;
7856 PyObject * obj0 = 0 ;
7857 char *kwnames[] = {
7858 (char *) "self", NULL
7859 };
7860
7861 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetEndAtLastLine",kwnames,&obj0)) goto fail;
7862 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
7863 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7864 {
7865 PyThreadState* __tstate = wxPyBeginAllowThreads();
7866 result = (int)(arg1)->GetEndAtLastLine();
7867
7868 wxPyEndAllowThreads(__tstate);
7869 if (PyErr_Occurred()) SWIG_fail;
7870 }
7871 resultobj = SWIG_FromInt((int)result);
7872 return resultobj;
7873 fail:
7874 return NULL;
7875}
7876
7877
7878static PyObject *_wrap_StyledTextCtrl_TextHeight(PyObject *self, PyObject *args, PyObject *kwargs) {
7879 PyObject *resultobj;
7880 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7881 int arg2 ;
7882 int result;
7883 PyObject * obj0 = 0 ;
7884 PyObject * obj1 = 0 ;
7885 char *kwnames[] = {
7886 (char *) "self",(char *) "line", NULL
7887 };
7888
7889 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_TextHeight",kwnames,&obj0,&obj1)) goto fail;
7890 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
7891 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7892 arg2 = (int) SWIG_AsInt(obj1);
7893 if (PyErr_Occurred()) SWIG_fail;
7894 {
7895 PyThreadState* __tstate = wxPyBeginAllowThreads();
7896 result = (int)(arg1)->TextHeight(arg2);
7897
7898 wxPyEndAllowThreads(__tstate);
7899 if (PyErr_Occurred()) SWIG_fail;
7900 }
7901 resultobj = SWIG_FromInt((int)result);
7902 return resultobj;
7903 fail:
7904 return NULL;
7905}
7906
7907
7908static PyObject *_wrap_StyledTextCtrl_SetUseVerticalScrollBar(PyObject *self, PyObject *args, PyObject *kwargs) {
7909 PyObject *resultobj;
7910 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7911 bool arg2 ;
7912 PyObject * obj0 = 0 ;
7913 PyObject * obj1 = 0 ;
7914 char *kwnames[] = {
7915 (char *) "self",(char *) "show", NULL
7916 };
7917
7918 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetUseVerticalScrollBar",kwnames,&obj0,&obj1)) goto fail;
7919 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
7920 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7921 arg2 = (bool) SWIG_AsBool(obj1);
7922 if (PyErr_Occurred()) SWIG_fail;
7923 {
7924 PyThreadState* __tstate = wxPyBeginAllowThreads();
7925 (arg1)->SetUseVerticalScrollBar(arg2);
7926
7927 wxPyEndAllowThreads(__tstate);
7928 if (PyErr_Occurred()) SWIG_fail;
7929 }
7930 Py_INCREF(Py_None); resultobj = Py_None;
7931 return resultobj;
7932 fail:
7933 return NULL;
7934}
7935
7936
7937static PyObject *_wrap_StyledTextCtrl_GetUseVerticalScrollBar(PyObject *self, PyObject *args, PyObject *kwargs) {
7938 PyObject *resultobj;
7939 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7940 bool result;
7941 PyObject * obj0 = 0 ;
7942 char *kwnames[] = {
7943 (char *) "self", NULL
7944 };
7945
7946 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetUseVerticalScrollBar",kwnames,&obj0)) goto fail;
7947 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
7948 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7949 {
7950 PyThreadState* __tstate = wxPyBeginAllowThreads();
7951 result = (bool)(arg1)->GetUseVerticalScrollBar();
7952
7953 wxPyEndAllowThreads(__tstate);
7954 if (PyErr_Occurred()) SWIG_fail;
7955 }
7956 {
7957 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7958 }
7959 return resultobj;
7960 fail:
7961 return NULL;
7962}
7963
7964
7965static PyObject *_wrap_StyledTextCtrl_AppendText(PyObject *self, PyObject *args, PyObject *kwargs) {
7966 PyObject *resultobj;
7967 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7968 int arg2 ;
7969 wxString *arg3 = 0 ;
7970 bool temp3 = False ;
7971 PyObject * obj0 = 0 ;
7972 PyObject * obj1 = 0 ;
7973 PyObject * obj2 = 0 ;
7974 char *kwnames[] = {
7975 (char *) "self",(char *) "length",(char *) "text", NULL
7976 };
7977
7978 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_AppendText",kwnames,&obj0,&obj1,&obj2)) goto fail;
7979 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
7980 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7981 arg2 = (int) SWIG_AsInt(obj1);
7982 if (PyErr_Occurred()) SWIG_fail;
7983 {
7984 arg3 = wxString_in_helper(obj2);
7985 if (arg3 == NULL) SWIG_fail;
7986 temp3 = True;
7987 }
7988 {
7989 PyThreadState* __tstate = wxPyBeginAllowThreads();
7990 (arg1)->AppendText(arg2,(wxString const &)*arg3);
7991
7992 wxPyEndAllowThreads(__tstate);
7993 if (PyErr_Occurred()) SWIG_fail;
7994 }
7995 Py_INCREF(Py_None); resultobj = Py_None;
7996 {
7997 if (temp3)
7998 delete arg3;
7999 }
8000 return resultobj;
8001 fail:
8002 {
8003 if (temp3)
8004 delete arg3;
8005 }
8006 return NULL;
8007}
8008
8009
8010static PyObject *_wrap_StyledTextCtrl_GetTwoPhaseDraw(PyObject *self, PyObject *args, PyObject *kwargs) {
8011 PyObject *resultobj;
8012 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8013 bool result;
8014 PyObject * obj0 = 0 ;
8015 char *kwnames[] = {
8016 (char *) "self", NULL
8017 };
8018
8019 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetTwoPhaseDraw",kwnames,&obj0)) goto fail;
8020 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
8021 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8022 {
8023 PyThreadState* __tstate = wxPyBeginAllowThreads();
8024 result = (bool)(arg1)->GetTwoPhaseDraw();
8025
8026 wxPyEndAllowThreads(__tstate);
8027 if (PyErr_Occurred()) SWIG_fail;
8028 }
8029 {
8030 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8031 }
8032 return resultobj;
8033 fail:
8034 return NULL;
8035}
8036
8037
8038static PyObject *_wrap_StyledTextCtrl_SetTwoPhaseDraw(PyObject *self, PyObject *args, PyObject *kwargs) {
8039 PyObject *resultobj;
8040 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8041 bool arg2 ;
8042 PyObject * obj0 = 0 ;
8043 PyObject * obj1 = 0 ;
8044 char *kwnames[] = {
8045 (char *) "self",(char *) "twoPhase", NULL
8046 };
8047
8048 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetTwoPhaseDraw",kwnames,&obj0,&obj1)) goto fail;
8049 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
8050 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8051 arg2 = (bool) SWIG_AsBool(obj1);
8052 if (PyErr_Occurred()) SWIG_fail;
8053 {
8054 PyThreadState* __tstate = wxPyBeginAllowThreads();
8055 (arg1)->SetTwoPhaseDraw(arg2);
8056
8057 wxPyEndAllowThreads(__tstate);
8058 if (PyErr_Occurred()) SWIG_fail;
8059 }
8060 Py_INCREF(Py_None); resultobj = Py_None;
8061 return resultobj;
8062 fail:
8063 return NULL;
8064}
8065
8066
8067static PyObject *_wrap_StyledTextCtrl_TargetFromSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
8068 PyObject *resultobj;
8069 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8070 PyObject * obj0 = 0 ;
8071 char *kwnames[] = {
8072 (char *) "self", NULL
8073 };
8074
8075 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_TargetFromSelection",kwnames,&obj0)) goto fail;
8076 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
8077 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8078 {
8079 PyThreadState* __tstate = wxPyBeginAllowThreads();
8080 (arg1)->TargetFromSelection();
8081
8082 wxPyEndAllowThreads(__tstate);
8083 if (PyErr_Occurred()) SWIG_fail;
8084 }
8085 Py_INCREF(Py_None); resultobj = Py_None;
8086 return resultobj;
8087 fail:
8088 return NULL;
8089}
8090
8091
8092static PyObject *_wrap_StyledTextCtrl_LinesJoin(PyObject *self, PyObject *args, PyObject *kwargs) {
8093 PyObject *resultobj;
8094 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8095 PyObject * obj0 = 0 ;
8096 char *kwnames[] = {
8097 (char *) "self", NULL
8098 };
8099
8100 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_LinesJoin",kwnames,&obj0)) goto fail;
8101 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
8102 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8103 {
8104 PyThreadState* __tstate = wxPyBeginAllowThreads();
8105 (arg1)->LinesJoin();
8106
8107 wxPyEndAllowThreads(__tstate);
8108 if (PyErr_Occurred()) SWIG_fail;
8109 }
8110 Py_INCREF(Py_None); resultobj = Py_None;
8111 return resultobj;
8112 fail:
8113 return NULL;
8114}
8115
8116
8117static PyObject *_wrap_StyledTextCtrl_LinesSplit(PyObject *self, PyObject *args, PyObject *kwargs) {
8118 PyObject *resultobj;
8119 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8120 int arg2 ;
8121 PyObject * obj0 = 0 ;
8122 PyObject * obj1 = 0 ;
8123 char *kwnames[] = {
8124 (char *) "self",(char *) "pixelWidth", NULL
8125 };
8126
8127 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_LinesSplit",kwnames,&obj0,&obj1)) goto fail;
8128 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
8129 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8130 arg2 = (int) SWIG_AsInt(obj1);
8131 if (PyErr_Occurred()) SWIG_fail;
8132 {
8133 PyThreadState* __tstate = wxPyBeginAllowThreads();
8134 (arg1)->LinesSplit(arg2);
8135
8136 wxPyEndAllowThreads(__tstate);
8137 if (PyErr_Occurred()) SWIG_fail;
8138 }
8139 Py_INCREF(Py_None); resultobj = Py_None;
8140 return resultobj;
8141 fail:
8142 return NULL;
8143}
8144
8145
8146static PyObject *_wrap_StyledTextCtrl_SetFoldMarginColour(PyObject *self, PyObject *args, PyObject *kwargs) {
8147 PyObject *resultobj;
8148 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8149 bool arg2 ;
8150 wxColour *arg3 = 0 ;
8151 wxColour temp3 ;
8152 PyObject * obj0 = 0 ;
8153 PyObject * obj1 = 0 ;
8154 PyObject * obj2 = 0 ;
8155 char *kwnames[] = {
8156 (char *) "self",(char *) "useSetting",(char *) "back", NULL
8157 };
8158
8159 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetFoldMarginColour",kwnames,&obj0,&obj1,&obj2)) goto fail;
8160 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
8161 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8162 arg2 = (bool) SWIG_AsBool(obj1);
8163 if (PyErr_Occurred()) SWIG_fail;
8164 {
8165 arg3 = &temp3;
8166 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
8167 }
8168 {
8169 PyThreadState* __tstate = wxPyBeginAllowThreads();
8170 (arg1)->SetFoldMarginColour(arg2,(wxColour const &)*arg3);
8171
8172 wxPyEndAllowThreads(__tstate);
8173 if (PyErr_Occurred()) SWIG_fail;
8174 }
8175 Py_INCREF(Py_None); resultobj = Py_None;
8176 return resultobj;
8177 fail:
8178 return NULL;
8179}
8180
8181
8182static PyObject *_wrap_StyledTextCtrl_SetFoldMarginHiColour(PyObject *self, PyObject *args, PyObject *kwargs) {
8183 PyObject *resultobj;
8184 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8185 bool arg2 ;
8186 wxColour *arg3 = 0 ;
8187 wxColour temp3 ;
8188 PyObject * obj0 = 0 ;
8189 PyObject * obj1 = 0 ;
8190 PyObject * obj2 = 0 ;
8191 char *kwnames[] = {
8192 (char *) "self",(char *) "useSetting",(char *) "fore", NULL
8193 };
8194
8195 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetFoldMarginHiColour",kwnames,&obj0,&obj1,&obj2)) goto fail;
8196 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
8197 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8198 arg2 = (bool) SWIG_AsBool(obj1);
8199 if (PyErr_Occurred()) SWIG_fail;
8200 {
8201 arg3 = &temp3;
8202 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
8203 }
8204 {
8205 PyThreadState* __tstate = wxPyBeginAllowThreads();
8206 (arg1)->SetFoldMarginHiColour(arg2,(wxColour const &)*arg3);
8207
8208 wxPyEndAllowThreads(__tstate);
8209 if (PyErr_Occurred()) SWIG_fail;
8210 }
8211 Py_INCREF(Py_None); resultobj = Py_None;
8212 return resultobj;
8213 fail:
8214 return NULL;
8215}
8216
8217
8218static PyObject *_wrap_StyledTextCtrl_LineDown(PyObject *self, PyObject *args, PyObject *kwargs) {
8219 PyObject *resultobj;
8220 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8221 PyObject * obj0 = 0 ;
8222 char *kwnames[] = {
8223 (char *) "self", NULL
8224 };
8225
8226 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_LineDown",kwnames,&obj0)) goto fail;
8227 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
8228 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8229 {
8230 PyThreadState* __tstate = wxPyBeginAllowThreads();
8231 (arg1)->LineDown();
8232
8233 wxPyEndAllowThreads(__tstate);
8234 if (PyErr_Occurred()) SWIG_fail;
8235 }
8236 Py_INCREF(Py_None); resultobj = Py_None;
8237 return resultobj;
8238 fail:
8239 return NULL;
8240}
8241
8242
8243static PyObject *_wrap_StyledTextCtrl_LineDownExtend(PyObject *self, PyObject *args, PyObject *kwargs) {
8244 PyObject *resultobj;
8245 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8246 PyObject * obj0 = 0 ;
8247 char *kwnames[] = {
8248 (char *) "self", NULL
8249 };
8250
8251 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_LineDownExtend",kwnames,&obj0)) goto fail;
8252 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
8253 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8254 {
8255 PyThreadState* __tstate = wxPyBeginAllowThreads();
8256 (arg1)->LineDownExtend();
8257
8258 wxPyEndAllowThreads(__tstate);
8259 if (PyErr_Occurred()) SWIG_fail;
8260 }
8261 Py_INCREF(Py_None); resultobj = Py_None;
8262 return resultobj;
8263 fail:
8264 return NULL;
8265}
8266
8267
8268static PyObject *_wrap_StyledTextCtrl_LineUp(PyObject *self, PyObject *args, PyObject *kwargs) {
8269 PyObject *resultobj;
8270 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8271 PyObject * obj0 = 0 ;
8272 char *kwnames[] = {
8273 (char *) "self", NULL
8274 };
8275
8276 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_LineUp",kwnames,&obj0)) goto fail;
8277 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
8278 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8279 {
8280 PyThreadState* __tstate = wxPyBeginAllowThreads();
8281 (arg1)->LineUp();
8282
8283 wxPyEndAllowThreads(__tstate);
8284 if (PyErr_Occurred()) SWIG_fail;
8285 }
8286 Py_INCREF(Py_None); resultobj = Py_None;
8287 return resultobj;
8288 fail:
8289 return NULL;
8290}
8291
8292
8293static PyObject *_wrap_StyledTextCtrl_LineUpExtend(PyObject *self, PyObject *args, PyObject *kwargs) {
8294 PyObject *resultobj;
8295 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8296 PyObject * obj0 = 0 ;
8297 char *kwnames[] = {
8298 (char *) "self", NULL
8299 };
8300
8301 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_LineUpExtend",kwnames,&obj0)) goto fail;
8302 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
8303 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8304 {
8305 PyThreadState* __tstate = wxPyBeginAllowThreads();
8306 (arg1)->LineUpExtend();
8307
8308 wxPyEndAllowThreads(__tstate);
8309 if (PyErr_Occurred()) SWIG_fail;
8310 }
8311 Py_INCREF(Py_None); resultobj = Py_None;
8312 return resultobj;
8313 fail:
8314 return NULL;
8315}
8316
8317
8318static PyObject *_wrap_StyledTextCtrl_CharLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
8319 PyObject *resultobj;
8320 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8321 PyObject * obj0 = 0 ;
8322 char *kwnames[] = {
8323 (char *) "self", NULL
8324 };
8325
8326 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_CharLeft",kwnames,&obj0)) goto fail;
8327 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
8328 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8329 {
8330 PyThreadState* __tstate = wxPyBeginAllowThreads();
8331 (arg1)->CharLeft();
8332
8333 wxPyEndAllowThreads(__tstate);
8334 if (PyErr_Occurred()) SWIG_fail;
8335 }
8336 Py_INCREF(Py_None); resultobj = Py_None;
8337 return resultobj;
8338 fail:
8339 return NULL;
8340}
8341
8342
8343static PyObject *_wrap_StyledTextCtrl_CharLeftExtend(PyObject *self, PyObject *args, PyObject *kwargs) {
8344 PyObject *resultobj;
8345 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8346 PyObject * obj0 = 0 ;
8347 char *kwnames[] = {
8348 (char *) "self", NULL
8349 };
8350
8351 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_CharLeftExtend",kwnames,&obj0)) goto fail;
8352 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
8353 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8354 {
8355 PyThreadState* __tstate = wxPyBeginAllowThreads();
8356 (arg1)->CharLeftExtend();
8357
8358 wxPyEndAllowThreads(__tstate);
8359 if (PyErr_Occurred()) SWIG_fail;
8360 }
8361 Py_INCREF(Py_None); resultobj = Py_None;
8362 return resultobj;
8363 fail:
8364 return NULL;
8365}
8366
8367
8368static PyObject *_wrap_StyledTextCtrl_CharRight(PyObject *self, PyObject *args, PyObject *kwargs) {
8369 PyObject *resultobj;
8370 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8371 PyObject * obj0 = 0 ;
8372 char *kwnames[] = {
8373 (char *) "self", NULL
8374 };
8375
8376 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_CharRight",kwnames,&obj0)) goto fail;
8377 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
8378 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8379 {
8380 PyThreadState* __tstate = wxPyBeginAllowThreads();
8381 (arg1)->CharRight();
8382
8383 wxPyEndAllowThreads(__tstate);
8384 if (PyErr_Occurred()) SWIG_fail;
8385 }
8386 Py_INCREF(Py_None); resultobj = Py_None;
8387 return resultobj;
8388 fail:
8389 return NULL;
8390}
8391
8392
8393static PyObject *_wrap_StyledTextCtrl_CharRightExtend(PyObject *self, PyObject *args, PyObject *kwargs) {
8394 PyObject *resultobj;
8395 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8396 PyObject * obj0 = 0 ;
8397 char *kwnames[] = {
8398 (char *) "self", NULL
8399 };
8400
8401 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_CharRightExtend",kwnames,&obj0)) goto fail;
8402 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
8403 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8404 {
8405 PyThreadState* __tstate = wxPyBeginAllowThreads();
8406 (arg1)->CharRightExtend();
8407
8408 wxPyEndAllowThreads(__tstate);
8409 if (PyErr_Occurred()) SWIG_fail;
8410 }
8411 Py_INCREF(Py_None); resultobj = Py_None;
8412 return resultobj;
8413 fail:
8414 return NULL;
8415}
8416
8417
8418static PyObject *_wrap_StyledTextCtrl_WordLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
8419 PyObject *resultobj;
8420 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8421 PyObject * obj0 = 0 ;
8422 char *kwnames[] = {
8423 (char *) "self", NULL
8424 };
8425
8426 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_WordLeft",kwnames,&obj0)) goto fail;
8427 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
8428 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8429 {
8430 PyThreadState* __tstate = wxPyBeginAllowThreads();
8431 (arg1)->WordLeft();
8432
8433 wxPyEndAllowThreads(__tstate);
8434 if (PyErr_Occurred()) SWIG_fail;
8435 }
8436 Py_INCREF(Py_None); resultobj = Py_None;
8437 return resultobj;
8438 fail:
8439 return NULL;
8440}
8441
8442
8443static PyObject *_wrap_StyledTextCtrl_WordLeftExtend(PyObject *self, PyObject *args, PyObject *kwargs) {
8444 PyObject *resultobj;
8445 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8446 PyObject * obj0 = 0 ;
8447 char *kwnames[] = {
8448 (char *) "self", NULL
8449 };
8450
8451 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_WordLeftExtend",kwnames,&obj0)) goto fail;
8452 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
8453 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8454 {
8455 PyThreadState* __tstate = wxPyBeginAllowThreads();
8456 (arg1)->WordLeftExtend();
8457
8458 wxPyEndAllowThreads(__tstate);
8459 if (PyErr_Occurred()) SWIG_fail;
8460 }
8461 Py_INCREF(Py_None); resultobj = Py_None;
8462 return resultobj;
8463 fail:
8464 return NULL;
8465}
8466
8467
8468static PyObject *_wrap_StyledTextCtrl_WordRight(PyObject *self, PyObject *args, PyObject *kwargs) {
8469 PyObject *resultobj;
8470 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8471 PyObject * obj0 = 0 ;
8472 char *kwnames[] = {
8473 (char *) "self", NULL
8474 };
8475
8476 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_WordRight",kwnames,&obj0)) goto fail;
8477 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
8478 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8479 {
8480 PyThreadState* __tstate = wxPyBeginAllowThreads();
8481 (arg1)->WordRight();
8482
8483 wxPyEndAllowThreads(__tstate);
8484 if (PyErr_Occurred()) SWIG_fail;
8485 }
8486 Py_INCREF(Py_None); resultobj = Py_None;
8487 return resultobj;
8488 fail:
8489 return NULL;
8490}
8491
8492
8493static PyObject *_wrap_StyledTextCtrl_WordRightExtend(PyObject *self, PyObject *args, PyObject *kwargs) {
8494 PyObject *resultobj;
8495 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8496 PyObject * obj0 = 0 ;
8497 char *kwnames[] = {
8498 (char *) "self", NULL
8499 };
8500
8501 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_WordRightExtend",kwnames,&obj0)) goto fail;
8502 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
8503 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8504 {
8505 PyThreadState* __tstate = wxPyBeginAllowThreads();
8506 (arg1)->WordRightExtend();
8507
8508 wxPyEndAllowThreads(__tstate);
8509 if (PyErr_Occurred()) SWIG_fail;
8510 }
8511 Py_INCREF(Py_None); resultobj = Py_None;
8512 return resultobj;
8513 fail:
8514 return NULL;
8515}
8516
8517
8518static PyObject *_wrap_StyledTextCtrl_Home(PyObject *self, PyObject *args, PyObject *kwargs) {
8519 PyObject *resultobj;
8520 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8521 PyObject * obj0 = 0 ;
8522 char *kwnames[] = {
8523 (char *) "self", NULL
8524 };
8525
8526 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_Home",kwnames,&obj0)) goto fail;
8527 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
8528 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8529 {
8530 PyThreadState* __tstate = wxPyBeginAllowThreads();
8531 (arg1)->Home();
8532
8533 wxPyEndAllowThreads(__tstate);
8534 if (PyErr_Occurred()) SWIG_fail;
8535 }
8536 Py_INCREF(Py_None); resultobj = Py_None;
8537 return resultobj;
8538 fail:
8539 return NULL;
8540}
8541
8542
8543static PyObject *_wrap_StyledTextCtrl_HomeExtend(PyObject *self, PyObject *args, PyObject *kwargs) {
8544 PyObject *resultobj;
8545 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8546 PyObject * obj0 = 0 ;
8547 char *kwnames[] = {
8548 (char *) "self", NULL
8549 };
8550
8551 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_HomeExtend",kwnames,&obj0)) goto fail;
8552 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
8553 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8554 {
8555 PyThreadState* __tstate = wxPyBeginAllowThreads();
8556 (arg1)->HomeExtend();
8557
8558 wxPyEndAllowThreads(__tstate);
8559 if (PyErr_Occurred()) SWIG_fail;
8560 }
8561 Py_INCREF(Py_None); resultobj = Py_None;
8562 return resultobj;
8563 fail:
8564 return NULL;
8565}
8566
8567
8568static PyObject *_wrap_StyledTextCtrl_LineEnd(PyObject *self, PyObject *args, PyObject *kwargs) {
8569 PyObject *resultobj;
8570 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8571 PyObject * obj0 = 0 ;
8572 char *kwnames[] = {
8573 (char *) "self", NULL
8574 };
8575
8576 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_LineEnd",kwnames,&obj0)) goto fail;
8577 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
8578 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8579 {
8580 PyThreadState* __tstate = wxPyBeginAllowThreads();
8581 (arg1)->LineEnd();
8582
8583 wxPyEndAllowThreads(__tstate);
8584 if (PyErr_Occurred()) SWIG_fail;
8585 }
8586 Py_INCREF(Py_None); resultobj = Py_None;
8587 return resultobj;
8588 fail:
8589 return NULL;
8590}
8591
8592
8593static PyObject *_wrap_StyledTextCtrl_LineEndExtend(PyObject *self, PyObject *args, PyObject *kwargs) {
8594 PyObject *resultobj;
8595 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8596 PyObject * obj0 = 0 ;
8597 char *kwnames[] = {
8598 (char *) "self", NULL
8599 };
8600
8601 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_LineEndExtend",kwnames,&obj0)) goto fail;
8602 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
8603 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8604 {
8605 PyThreadState* __tstate = wxPyBeginAllowThreads();
8606 (arg1)->LineEndExtend();
8607
8608 wxPyEndAllowThreads(__tstate);
8609 if (PyErr_Occurred()) SWIG_fail;
8610 }
8611 Py_INCREF(Py_None); resultobj = Py_None;
8612 return resultobj;
8613 fail:
8614 return NULL;
8615}
8616
8617
8618static PyObject *_wrap_StyledTextCtrl_DocumentStart(PyObject *self, PyObject *args, PyObject *kwargs) {
8619 PyObject *resultobj;
8620 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8621 PyObject * obj0 = 0 ;
8622 char *kwnames[] = {
8623 (char *) "self", NULL
8624 };
8625
8626 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_DocumentStart",kwnames,&obj0)) goto fail;
8627 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
8628 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8629 {
8630 PyThreadState* __tstate = wxPyBeginAllowThreads();
8631 (arg1)->DocumentStart();
8632
8633 wxPyEndAllowThreads(__tstate);
8634 if (PyErr_Occurred()) SWIG_fail;
8635 }
8636 Py_INCREF(Py_None); resultobj = Py_None;
8637 return resultobj;
8638 fail:
8639 return NULL;
8640}
8641
8642
8643static PyObject *_wrap_StyledTextCtrl_DocumentStartExtend(PyObject *self, PyObject *args, PyObject *kwargs) {
8644 PyObject *resultobj;
8645 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8646 PyObject * obj0 = 0 ;
8647 char *kwnames[] = {
8648 (char *) "self", NULL
8649 };
8650
8651 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_DocumentStartExtend",kwnames,&obj0)) goto fail;
8652 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
8653 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8654 {
8655 PyThreadState* __tstate = wxPyBeginAllowThreads();
8656 (arg1)->DocumentStartExtend();
8657
8658 wxPyEndAllowThreads(__tstate);
8659 if (PyErr_Occurred()) SWIG_fail;
8660 }
8661 Py_INCREF(Py_None); resultobj = Py_None;
8662 return resultobj;
8663 fail:
8664 return NULL;
8665}
8666
8667
8668static PyObject *_wrap_StyledTextCtrl_DocumentEnd(PyObject *self, PyObject *args, PyObject *kwargs) {
8669 PyObject *resultobj;
8670 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8671 PyObject * obj0 = 0 ;
8672 char *kwnames[] = {
8673 (char *) "self", NULL
8674 };
8675
8676 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_DocumentEnd",kwnames,&obj0)) goto fail;
8677 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
8678 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8679 {
8680 PyThreadState* __tstate = wxPyBeginAllowThreads();
8681 (arg1)->DocumentEnd();
8682
8683 wxPyEndAllowThreads(__tstate);
8684 if (PyErr_Occurred()) SWIG_fail;
8685 }
8686 Py_INCREF(Py_None); resultobj = Py_None;
8687 return resultobj;
8688 fail:
8689 return NULL;
8690}
8691
8692
8693static PyObject *_wrap_StyledTextCtrl_DocumentEndExtend(PyObject *self, PyObject *args, PyObject *kwargs) {
8694 PyObject *resultobj;
8695 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8696 PyObject * obj0 = 0 ;
8697 char *kwnames[] = {
8698 (char *) "self", NULL
8699 };
8700
8701 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_DocumentEndExtend",kwnames,&obj0)) goto fail;
8702 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
8703 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8704 {
8705 PyThreadState* __tstate = wxPyBeginAllowThreads();
8706 (arg1)->DocumentEndExtend();
8707
8708 wxPyEndAllowThreads(__tstate);
8709 if (PyErr_Occurred()) SWIG_fail;
8710 }
8711 Py_INCREF(Py_None); resultobj = Py_None;
8712 return resultobj;
8713 fail:
8714 return NULL;
8715}
8716
8717
8718static PyObject *_wrap_StyledTextCtrl_PageUp(PyObject *self, PyObject *args, PyObject *kwargs) {
8719 PyObject *resultobj;
8720 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8721 PyObject * obj0 = 0 ;
8722 char *kwnames[] = {
8723 (char *) "self", NULL
8724 };
8725
8726 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_PageUp",kwnames,&obj0)) goto fail;
8727 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
8728 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8729 {
8730 PyThreadState* __tstate = wxPyBeginAllowThreads();
8731 (arg1)->PageUp();
8732
8733 wxPyEndAllowThreads(__tstate);
8734 if (PyErr_Occurred()) SWIG_fail;
8735 }
8736 Py_INCREF(Py_None); resultobj = Py_None;
8737 return resultobj;
8738 fail:
8739 return NULL;
8740}
8741
8742
8743static PyObject *_wrap_StyledTextCtrl_PageUpExtend(PyObject *self, PyObject *args, PyObject *kwargs) {
8744 PyObject *resultobj;
8745 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8746 PyObject * obj0 = 0 ;
8747 char *kwnames[] = {
8748 (char *) "self", NULL
8749 };
8750
8751 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_PageUpExtend",kwnames,&obj0)) goto fail;
8752 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
8753 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8754 {
8755 PyThreadState* __tstate = wxPyBeginAllowThreads();
8756 (arg1)->PageUpExtend();
8757
8758 wxPyEndAllowThreads(__tstate);
8759 if (PyErr_Occurred()) SWIG_fail;
8760 }
8761 Py_INCREF(Py_None); resultobj = Py_None;
8762 return resultobj;
8763 fail:
8764 return NULL;
8765}
8766
8767
8768static PyObject *_wrap_StyledTextCtrl_PageDown(PyObject *self, PyObject *args, PyObject *kwargs) {
8769 PyObject *resultobj;
8770 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8771 PyObject * obj0 = 0 ;
8772 char *kwnames[] = {
8773 (char *) "self", NULL
8774 };
8775
8776 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_PageDown",kwnames,&obj0)) goto fail;
8777 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
8778 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8779 {
8780 PyThreadState* __tstate = wxPyBeginAllowThreads();
8781 (arg1)->PageDown();
8782
8783 wxPyEndAllowThreads(__tstate);
8784 if (PyErr_Occurred()) SWIG_fail;
8785 }
8786 Py_INCREF(Py_None); resultobj = Py_None;
8787 return resultobj;
8788 fail:
8789 return NULL;
8790}
8791
8792
8793static PyObject *_wrap_StyledTextCtrl_PageDownExtend(PyObject *self, PyObject *args, PyObject *kwargs) {
8794 PyObject *resultobj;
8795 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8796 PyObject * obj0 = 0 ;
8797 char *kwnames[] = {
8798 (char *) "self", NULL
8799 };
8800
8801 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_PageDownExtend",kwnames,&obj0)) goto fail;
8802 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
8803 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8804 {
8805 PyThreadState* __tstate = wxPyBeginAllowThreads();
8806 (arg1)->PageDownExtend();
8807
8808 wxPyEndAllowThreads(__tstate);
8809 if (PyErr_Occurred()) SWIG_fail;
8810 }
8811 Py_INCREF(Py_None); resultobj = Py_None;
8812 return resultobj;
8813 fail:
8814 return NULL;
8815}
8816
8817
8818static PyObject *_wrap_StyledTextCtrl_EditToggleOvertype(PyObject *self, PyObject *args, PyObject *kwargs) {
8819 PyObject *resultobj;
8820 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8821 PyObject * obj0 = 0 ;
8822 char *kwnames[] = {
8823 (char *) "self", NULL
8824 };
8825
8826 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_EditToggleOvertype",kwnames,&obj0)) goto fail;
8827 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
8828 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8829 {
8830 PyThreadState* __tstate = wxPyBeginAllowThreads();
8831 (arg1)->EditToggleOvertype();
8832
8833 wxPyEndAllowThreads(__tstate);
8834 if (PyErr_Occurred()) SWIG_fail;
8835 }
8836 Py_INCREF(Py_None); resultobj = Py_None;
8837 return resultobj;
8838 fail:
8839 return NULL;
8840}
8841
8842
8843static PyObject *_wrap_StyledTextCtrl_Cancel(PyObject *self, PyObject *args, PyObject *kwargs) {
8844 PyObject *resultobj;
8845 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8846 PyObject * obj0 = 0 ;
8847 char *kwnames[] = {
8848 (char *) "self", NULL
8849 };
8850
8851 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_Cancel",kwnames,&obj0)) goto fail;
8852 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
8853 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8854 {
8855 PyThreadState* __tstate = wxPyBeginAllowThreads();
8856 (arg1)->Cancel();
8857
8858 wxPyEndAllowThreads(__tstate);
8859 if (PyErr_Occurred()) SWIG_fail;
8860 }
8861 Py_INCREF(Py_None); resultobj = Py_None;
8862 return resultobj;
8863 fail:
8864 return NULL;
8865}
8866
8867
8868static PyObject *_wrap_StyledTextCtrl_DeleteBack(PyObject *self, PyObject *args, PyObject *kwargs) {
8869 PyObject *resultobj;
8870 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8871 PyObject * obj0 = 0 ;
8872 char *kwnames[] = {
8873 (char *) "self", NULL
8874 };
8875
8876 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_DeleteBack",kwnames,&obj0)) goto fail;
8877 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
8878 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8879 {
8880 PyThreadState* __tstate = wxPyBeginAllowThreads();
8881 (arg1)->DeleteBack();
8882
8883 wxPyEndAllowThreads(__tstate);
8884 if (PyErr_Occurred()) SWIG_fail;
8885 }
8886 Py_INCREF(Py_None); resultobj = Py_None;
8887 return resultobj;
8888 fail:
8889 return NULL;
8890}
8891
8892
8893static PyObject *_wrap_StyledTextCtrl_Tab(PyObject *self, PyObject *args, PyObject *kwargs) {
8894 PyObject *resultobj;
8895 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8896 PyObject * obj0 = 0 ;
8897 char *kwnames[] = {
8898 (char *) "self", NULL
8899 };
8900
8901 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_Tab",kwnames,&obj0)) goto fail;
8902 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
8903 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8904 {
8905 PyThreadState* __tstate = wxPyBeginAllowThreads();
8906 (arg1)->Tab();
8907
8908 wxPyEndAllowThreads(__tstate);
8909 if (PyErr_Occurred()) SWIG_fail;
8910 }
8911 Py_INCREF(Py_None); resultobj = Py_None;
8912 return resultobj;
8913 fail:
8914 return NULL;
8915}
8916
8917
8918static PyObject *_wrap_StyledTextCtrl_BackTab(PyObject *self, PyObject *args, PyObject *kwargs) {
8919 PyObject *resultobj;
8920 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8921 PyObject * obj0 = 0 ;
8922 char *kwnames[] = {
8923 (char *) "self", NULL
8924 };
8925
8926 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_BackTab",kwnames,&obj0)) goto fail;
8927 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
8928 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8929 {
8930 PyThreadState* __tstate = wxPyBeginAllowThreads();
8931 (arg1)->BackTab();
8932
8933 wxPyEndAllowThreads(__tstate);
8934 if (PyErr_Occurred()) SWIG_fail;
8935 }
8936 Py_INCREF(Py_None); resultobj = Py_None;
8937 return resultobj;
8938 fail:
8939 return NULL;
8940}
8941
8942
8943static PyObject *_wrap_StyledTextCtrl_NewLine(PyObject *self, PyObject *args, PyObject *kwargs) {
8944 PyObject *resultobj;
8945 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8946 PyObject * obj0 = 0 ;
8947 char *kwnames[] = {
8948 (char *) "self", NULL
8949 };
8950
8951 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_NewLine",kwnames,&obj0)) goto fail;
8952 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
8953 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8954 {
8955 PyThreadState* __tstate = wxPyBeginAllowThreads();
8956 (arg1)->NewLine();
8957
8958 wxPyEndAllowThreads(__tstate);
8959 if (PyErr_Occurred()) SWIG_fail;
8960 }
8961 Py_INCREF(Py_None); resultobj = Py_None;
8962 return resultobj;
8963 fail:
8964 return NULL;
8965}
8966
8967
8968static PyObject *_wrap_StyledTextCtrl_FormFeed(PyObject *self, PyObject *args, PyObject *kwargs) {
8969 PyObject *resultobj;
8970 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8971 PyObject * obj0 = 0 ;
8972 char *kwnames[] = {
8973 (char *) "self", NULL
8974 };
8975
8976 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_FormFeed",kwnames,&obj0)) goto fail;
8977 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
8978 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8979 {
8980 PyThreadState* __tstate = wxPyBeginAllowThreads();
8981 (arg1)->FormFeed();
8982
8983 wxPyEndAllowThreads(__tstate);
8984 if (PyErr_Occurred()) SWIG_fail;
8985 }
8986 Py_INCREF(Py_None); resultobj = Py_None;
8987 return resultobj;
8988 fail:
8989 return NULL;
8990}
8991
8992
8993static PyObject *_wrap_StyledTextCtrl_VCHome(PyObject *self, PyObject *args, PyObject *kwargs) {
8994 PyObject *resultobj;
8995 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8996 PyObject * obj0 = 0 ;
8997 char *kwnames[] = {
8998 (char *) "self", NULL
8999 };
9000
9001 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_VCHome",kwnames,&obj0)) goto fail;
9002 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
9003 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9004 {
9005 PyThreadState* __tstate = wxPyBeginAllowThreads();
9006 (arg1)->VCHome();
9007
9008 wxPyEndAllowThreads(__tstate);
9009 if (PyErr_Occurred()) SWIG_fail;
9010 }
9011 Py_INCREF(Py_None); resultobj = Py_None;
9012 return resultobj;
9013 fail:
9014 return NULL;
9015}
9016
9017
9018static PyObject *_wrap_StyledTextCtrl_VCHomeExtend(PyObject *self, PyObject *args, PyObject *kwargs) {
9019 PyObject *resultobj;
9020 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
9021 PyObject * obj0 = 0 ;
9022 char *kwnames[] = {
9023 (char *) "self", NULL
9024 };
9025
9026 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_VCHomeExtend",kwnames,&obj0)) goto fail;
9027 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
9028 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9029 {
9030 PyThreadState* __tstate = wxPyBeginAllowThreads();
9031 (arg1)->VCHomeExtend();
9032
9033 wxPyEndAllowThreads(__tstate);
9034 if (PyErr_Occurred()) SWIG_fail;
9035 }
9036 Py_INCREF(Py_None); resultobj = Py_None;
9037 return resultobj;
9038 fail:
9039 return NULL;
9040}
9041
9042
9043static PyObject *_wrap_StyledTextCtrl_ZoomIn(PyObject *self, PyObject *args, PyObject *kwargs) {
9044 PyObject *resultobj;
9045 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
9046 PyObject * obj0 = 0 ;
9047 char *kwnames[] = {
9048 (char *) "self", NULL
9049 };
9050
9051 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_ZoomIn",kwnames,&obj0)) goto fail;
9052 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
9053 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9054 {
9055 PyThreadState* __tstate = wxPyBeginAllowThreads();
9056 (arg1)->ZoomIn();
9057
9058 wxPyEndAllowThreads(__tstate);
9059 if (PyErr_Occurred()) SWIG_fail;
9060 }
9061 Py_INCREF(Py_None); resultobj = Py_None;
9062 return resultobj;
9063 fail:
9064 return NULL;
9065}
9066
9067
9068static PyObject *_wrap_StyledTextCtrl_ZoomOut(PyObject *self, PyObject *args, PyObject *kwargs) {
9069 PyObject *resultobj;
9070 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
9071 PyObject * obj0 = 0 ;
9072 char *kwnames[] = {
9073 (char *) "self", NULL
9074 };
9075
9076 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_ZoomOut",kwnames,&obj0)) goto fail;
9077 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
9078 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9079 {
9080 PyThreadState* __tstate = wxPyBeginAllowThreads();
9081 (arg1)->ZoomOut();
9082
9083 wxPyEndAllowThreads(__tstate);
9084 if (PyErr_Occurred()) SWIG_fail;
9085 }
9086 Py_INCREF(Py_None); resultobj = Py_None;
9087 return resultobj;
9088 fail:
9089 return NULL;
9090}
9091
9092
9093static PyObject *_wrap_StyledTextCtrl_DelWordLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
9094 PyObject *resultobj;
9095 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
9096 PyObject * obj0 = 0 ;
9097 char *kwnames[] = {
9098 (char *) "self", NULL
9099 };
9100
9101 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_DelWordLeft",kwnames,&obj0)) goto fail;
9102 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
9103 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9104 {
9105 PyThreadState* __tstate = wxPyBeginAllowThreads();
9106 (arg1)->DelWordLeft();
9107
9108 wxPyEndAllowThreads(__tstate);
9109 if (PyErr_Occurred()) SWIG_fail;
9110 }
9111 Py_INCREF(Py_None); resultobj = Py_None;
9112 return resultobj;
9113 fail:
9114 return NULL;
9115}
9116
9117
9118static PyObject *_wrap_StyledTextCtrl_DelWordRight(PyObject *self, PyObject *args, PyObject *kwargs) {
9119 PyObject *resultobj;
9120 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
9121 PyObject * obj0 = 0 ;
9122 char *kwnames[] = {
9123 (char *) "self", NULL
9124 };
9125
9126 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_DelWordRight",kwnames,&obj0)) goto fail;
9127 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
9128 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9129 {
9130 PyThreadState* __tstate = wxPyBeginAllowThreads();
9131 (arg1)->DelWordRight();
9132
9133 wxPyEndAllowThreads(__tstate);
9134 if (PyErr_Occurred()) SWIG_fail;
9135 }
9136 Py_INCREF(Py_None); resultobj = Py_None;
9137 return resultobj;
9138 fail:
9139 return NULL;
9140}
9141
9142
9143static PyObject *_wrap_StyledTextCtrl_LineCut(PyObject *self, PyObject *args, PyObject *kwargs) {
9144 PyObject *resultobj;
9145 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
9146 PyObject * obj0 = 0 ;
9147 char *kwnames[] = {
9148 (char *) "self", NULL
9149 };
9150
9151 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_LineCut",kwnames,&obj0)) goto fail;
9152 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
9153 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9154 {
9155 PyThreadState* __tstate = wxPyBeginAllowThreads();
9156 (arg1)->LineCut();
9157
9158 wxPyEndAllowThreads(__tstate);
9159 if (PyErr_Occurred()) SWIG_fail;
9160 }
9161 Py_INCREF(Py_None); resultobj = Py_None;
9162 return resultobj;
9163 fail:
9164 return NULL;
9165}
9166
9167
9168static PyObject *_wrap_StyledTextCtrl_LineDelete(PyObject *self, PyObject *args, PyObject *kwargs) {
9169 PyObject *resultobj;
9170 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
9171 PyObject * obj0 = 0 ;
9172 char *kwnames[] = {
9173 (char *) "self", NULL
9174 };
9175
9176 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_LineDelete",kwnames,&obj0)) goto fail;
9177 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
9178 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9179 {
9180 PyThreadState* __tstate = wxPyBeginAllowThreads();
9181 (arg1)->LineDelete();
9182
9183 wxPyEndAllowThreads(__tstate);
9184 if (PyErr_Occurred()) SWIG_fail;
9185 }
9186 Py_INCREF(Py_None); resultobj = Py_None;
9187 return resultobj;
9188 fail:
9189 return NULL;
9190}
9191
9192
9193static PyObject *_wrap_StyledTextCtrl_LineTranspose(PyObject *self, PyObject *args, PyObject *kwargs) {
9194 PyObject *resultobj;
9195 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
9196 PyObject * obj0 = 0 ;
9197 char *kwnames[] = {
9198 (char *) "self", NULL
9199 };
9200
9201 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_LineTranspose",kwnames,&obj0)) goto fail;
9202 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
9203 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9204 {
9205 PyThreadState* __tstate = wxPyBeginAllowThreads();
9206 (arg1)->LineTranspose();
9207
9208 wxPyEndAllowThreads(__tstate);
9209 if (PyErr_Occurred()) SWIG_fail;
9210 }
9211 Py_INCREF(Py_None); resultobj = Py_None;
9212 return resultobj;
9213 fail:
9214 return NULL;
9215}
9216
9217
9218static PyObject *_wrap_StyledTextCtrl_LineDuplicate(PyObject *self, PyObject *args, PyObject *kwargs) {
9219 PyObject *resultobj;
9220 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
9221 PyObject * obj0 = 0 ;
9222 char *kwnames[] = {
9223 (char *) "self", NULL
9224 };
9225
9226 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_LineDuplicate",kwnames,&obj0)) goto fail;
9227 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
9228 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9229 {
9230 PyThreadState* __tstate = wxPyBeginAllowThreads();
9231 (arg1)->LineDuplicate();
9232
9233 wxPyEndAllowThreads(__tstate);
9234 if (PyErr_Occurred()) SWIG_fail;
9235 }
9236 Py_INCREF(Py_None); resultobj = Py_None;
9237 return resultobj;
9238 fail:
9239 return NULL;
9240}
9241
9242
9243static PyObject *_wrap_StyledTextCtrl_LowerCase(PyObject *self, PyObject *args, PyObject *kwargs) {
9244 PyObject *resultobj;
9245 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
9246 PyObject * obj0 = 0 ;
9247 char *kwnames[] = {
9248 (char *) "self", NULL
9249 };
9250
9251 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_LowerCase",kwnames,&obj0)) goto fail;
9252 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
9253 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9254 {
9255 PyThreadState* __tstate = wxPyBeginAllowThreads();
9256 (arg1)->LowerCase();
9257
9258 wxPyEndAllowThreads(__tstate);
9259 if (PyErr_Occurred()) SWIG_fail;
9260 }
9261 Py_INCREF(Py_None); resultobj = Py_None;
9262 return resultobj;
9263 fail:
9264 return NULL;
9265}
9266
9267
9268static PyObject *_wrap_StyledTextCtrl_UpperCase(PyObject *self, PyObject *args, PyObject *kwargs) {
9269 PyObject *resultobj;
9270 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
9271 PyObject * obj0 = 0 ;
9272 char *kwnames[] = {
9273 (char *) "self", NULL
9274 };
9275
9276 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_UpperCase",kwnames,&obj0)) goto fail;
9277 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
9278 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9279 {
9280 PyThreadState* __tstate = wxPyBeginAllowThreads();
9281 (arg1)->UpperCase();
9282
9283 wxPyEndAllowThreads(__tstate);
9284 if (PyErr_Occurred()) SWIG_fail;
9285 }
9286 Py_INCREF(Py_None); resultobj = Py_None;
9287 return resultobj;
9288 fail:
9289 return NULL;
9290}
9291
9292
9293static PyObject *_wrap_StyledTextCtrl_LineScrollDown(PyObject *self, PyObject *args, PyObject *kwargs) {
9294 PyObject *resultobj;
9295 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
9296 PyObject * obj0 = 0 ;
9297 char *kwnames[] = {
9298 (char *) "self", NULL
9299 };
9300
9301 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_LineScrollDown",kwnames,&obj0)) goto fail;
9302 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
9303 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9304 {
9305 PyThreadState* __tstate = wxPyBeginAllowThreads();
9306 (arg1)->LineScrollDown();
9307
9308 wxPyEndAllowThreads(__tstate);
9309 if (PyErr_Occurred()) SWIG_fail;
9310 }
9311 Py_INCREF(Py_None); resultobj = Py_None;
9312 return resultobj;
9313 fail:
9314 return NULL;
9315}
9316
9317
9318static PyObject *_wrap_StyledTextCtrl_LineScrollUp(PyObject *self, PyObject *args, PyObject *kwargs) {
9319 PyObject *resultobj;
9320 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
9321 PyObject * obj0 = 0 ;
9322 char *kwnames[] = {
9323 (char *) "self", NULL
9324 };
9325
9326 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_LineScrollUp",kwnames,&obj0)) goto fail;
9327 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
9328 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9329 {
9330 PyThreadState* __tstate = wxPyBeginAllowThreads();
9331 (arg1)->LineScrollUp();
9332
9333 wxPyEndAllowThreads(__tstate);
9334 if (PyErr_Occurred()) SWIG_fail;
9335 }
9336 Py_INCREF(Py_None); resultobj = Py_None;
9337 return resultobj;
9338 fail:
9339 return NULL;
9340}
9341
9342
9343static PyObject *_wrap_StyledTextCtrl_DeleteBackNotLine(PyObject *self, PyObject *args, PyObject *kwargs) {
9344 PyObject *resultobj;
9345 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
9346 PyObject * obj0 = 0 ;
9347 char *kwnames[] = {
9348 (char *) "self", NULL
9349 };
9350
9351 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_DeleteBackNotLine",kwnames,&obj0)) goto fail;
9352 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
9353 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9354 {
9355 PyThreadState* __tstate = wxPyBeginAllowThreads();
9356 (arg1)->DeleteBackNotLine();
9357
9358 wxPyEndAllowThreads(__tstate);
9359 if (PyErr_Occurred()) SWIG_fail;
9360 }
9361 Py_INCREF(Py_None); resultobj = Py_None;
9362 return resultobj;
9363 fail:
9364 return NULL;
9365}
9366
9367
9368static PyObject *_wrap_StyledTextCtrl_HomeDisplay(PyObject *self, PyObject *args, PyObject *kwargs) {
9369 PyObject *resultobj;
9370 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
9371 PyObject * obj0 = 0 ;
9372 char *kwnames[] = {
9373 (char *) "self", NULL
9374 };
9375
9376 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_HomeDisplay",kwnames,&obj0)) goto fail;
9377 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
9378 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9379 {
9380 PyThreadState* __tstate = wxPyBeginAllowThreads();
9381 (arg1)->HomeDisplay();
9382
9383 wxPyEndAllowThreads(__tstate);
9384 if (PyErr_Occurred()) SWIG_fail;
9385 }
9386 Py_INCREF(Py_None); resultobj = Py_None;
9387 return resultobj;
9388 fail:
9389 return NULL;
9390}
9391
9392
9393static PyObject *_wrap_StyledTextCtrl_HomeDisplayExtend(PyObject *self, PyObject *args, PyObject *kwargs) {
9394 PyObject *resultobj;
9395 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
9396 PyObject * obj0 = 0 ;
9397 char *kwnames[] = {
9398 (char *) "self", NULL
9399 };
9400
9401 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_HomeDisplayExtend",kwnames,&obj0)) goto fail;
9402 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
9403 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9404 {
9405 PyThreadState* __tstate = wxPyBeginAllowThreads();
9406 (arg1)->HomeDisplayExtend();
9407
9408 wxPyEndAllowThreads(__tstate);
9409 if (PyErr_Occurred()) SWIG_fail;
9410 }
9411 Py_INCREF(Py_None); resultobj = Py_None;
9412 return resultobj;
9413 fail:
9414 return NULL;
9415}
9416
9417
9418static PyObject *_wrap_StyledTextCtrl_LineEndDisplay(PyObject *self, PyObject *args, PyObject *kwargs) {
9419 PyObject *resultobj;
9420 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
9421 PyObject * obj0 = 0 ;
9422 char *kwnames[] = {
9423 (char *) "self", NULL
9424 };
9425
9426 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_LineEndDisplay",kwnames,&obj0)) goto fail;
9427 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
9428 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9429 {
9430 PyThreadState* __tstate = wxPyBeginAllowThreads();
9431 (arg1)->LineEndDisplay();
9432
9433 wxPyEndAllowThreads(__tstate);
9434 if (PyErr_Occurred()) SWIG_fail;
9435 }
9436 Py_INCREF(Py_None); resultobj = Py_None;
9437 return resultobj;
9438 fail:
9439 return NULL;
9440}
9441
9442
9443static PyObject *_wrap_StyledTextCtrl_LineEndDisplayExtend(PyObject *self, PyObject *args, PyObject *kwargs) {
9444 PyObject *resultobj;
9445 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
9446 PyObject * obj0 = 0 ;
9447 char *kwnames[] = {
9448 (char *) "self", NULL
9449 };
9450
9451 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_LineEndDisplayExtend",kwnames,&obj0)) goto fail;
9452 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
9453 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9454 {
9455 PyThreadState* __tstate = wxPyBeginAllowThreads();
9456 (arg1)->LineEndDisplayExtend();
9457
9458 wxPyEndAllowThreads(__tstate);
9459 if (PyErr_Occurred()) SWIG_fail;
9460 }
9461 Py_INCREF(Py_None); resultobj = Py_None;
9462 return resultobj;
9463 fail:
9464 return NULL;
9465}
9466
9467
9468static PyObject *_wrap_StyledTextCtrl_HomeWrap(PyObject *self, PyObject *args, PyObject *kwargs) {
9469 PyObject *resultobj;
9470 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
9471 PyObject * obj0 = 0 ;
9472 char *kwnames[] = {
9473 (char *) "self", NULL
9474 };
9475
9476 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_HomeWrap",kwnames,&obj0)) goto fail;
9477 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
9478 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9479 {
9480 PyThreadState* __tstate = wxPyBeginAllowThreads();
9481 (arg1)->HomeWrap();
9482
9483 wxPyEndAllowThreads(__tstate);
9484 if (PyErr_Occurred()) SWIG_fail;
9485 }
9486 Py_INCREF(Py_None); resultobj = Py_None;
9487 return resultobj;
9488 fail:
9489 return NULL;
9490}
9491
9492
9493static PyObject *_wrap_StyledTextCtrl_HomeWrapExtend(PyObject *self, PyObject *args, PyObject *kwargs) {
9494 PyObject *resultobj;
9495 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
9496 PyObject * obj0 = 0 ;
9497 char *kwnames[] = {
9498 (char *) "self", NULL
9499 };
9500
9501 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_HomeWrapExtend",kwnames,&obj0)) goto fail;
9502 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
9503 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9504 {
9505 PyThreadState* __tstate = wxPyBeginAllowThreads();
9506 (arg1)->HomeWrapExtend();
9507
9508 wxPyEndAllowThreads(__tstate);
9509 if (PyErr_Occurred()) SWIG_fail;
9510 }
9511 Py_INCREF(Py_None); resultobj = Py_None;
9512 return resultobj;
9513 fail:
9514 return NULL;
9515}
9516
9517
9518static PyObject *_wrap_StyledTextCtrl_LineEndWrap(PyObject *self, PyObject *args, PyObject *kwargs) {
9519 PyObject *resultobj;
9520 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
9521 PyObject * obj0 = 0 ;
9522 char *kwnames[] = {
9523 (char *) "self", NULL
9524 };
9525
9526 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_LineEndWrap",kwnames,&obj0)) goto fail;
9527 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
9528 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9529 {
9530 PyThreadState* __tstate = wxPyBeginAllowThreads();
9531 (arg1)->LineEndWrap();
9532
9533 wxPyEndAllowThreads(__tstate);
9534 if (PyErr_Occurred()) SWIG_fail;
9535 }
9536 Py_INCREF(Py_None); resultobj = Py_None;
9537 return resultobj;
9538 fail:
9539 return NULL;
9540}
9541
9542
9543static PyObject *_wrap_StyledTextCtrl_LineEndWrapExtend(PyObject *self, PyObject *args, PyObject *kwargs) {
9544 PyObject *resultobj;
9545 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
9546 PyObject * obj0 = 0 ;
9547 char *kwnames[] = {
9548 (char *) "self", NULL
9549 };
9550
9551 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_LineEndWrapExtend",kwnames,&obj0)) goto fail;
9552 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
9553 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9554 {
9555 PyThreadState* __tstate = wxPyBeginAllowThreads();
9556 (arg1)->LineEndWrapExtend();
9557
9558 wxPyEndAllowThreads(__tstate);
9559 if (PyErr_Occurred()) SWIG_fail;
9560 }
9561 Py_INCREF(Py_None); resultobj = Py_None;
9562 return resultobj;
9563 fail:
9564 return NULL;
9565}
9566
9567
9568static PyObject *_wrap_StyledTextCtrl_VCHomeWrap(PyObject *self, PyObject *args, PyObject *kwargs) {
9569 PyObject *resultobj;
9570 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
9571 PyObject * obj0 = 0 ;
9572 char *kwnames[] = {
9573 (char *) "self", NULL
9574 };
9575
9576 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_VCHomeWrap",kwnames,&obj0)) goto fail;
9577 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
9578 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9579 {
9580 PyThreadState* __tstate = wxPyBeginAllowThreads();
9581 (arg1)->VCHomeWrap();
9582
9583 wxPyEndAllowThreads(__tstate);
9584 if (PyErr_Occurred()) SWIG_fail;
9585 }
9586 Py_INCREF(Py_None); resultobj = Py_None;
9587 return resultobj;
9588 fail:
9589 return NULL;
9590}
9591
9592
9593static PyObject *_wrap_StyledTextCtrl_VCHomeWrapExtend(PyObject *self, PyObject *args, PyObject *kwargs) {
9594 PyObject *resultobj;
9595 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
9596 PyObject * obj0 = 0 ;
9597 char *kwnames[] = {
9598 (char *) "self", NULL
9599 };
9600
9601 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_VCHomeWrapExtend",kwnames,&obj0)) goto fail;
9602 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
9603 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9604 {
9605 PyThreadState* __tstate = wxPyBeginAllowThreads();
9606 (arg1)->VCHomeWrapExtend();
9607
9608 wxPyEndAllowThreads(__tstate);
9609 if (PyErr_Occurred()) SWIG_fail;
9610 }
9611 Py_INCREF(Py_None); resultobj = Py_None;
9612 return resultobj;
9613 fail:
9614 return NULL;
9615}
9616
9617
9618static PyObject *_wrap_StyledTextCtrl_LineCopy(PyObject *self, PyObject *args, PyObject *kwargs) {
9619 PyObject *resultobj;
9620 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
9621 PyObject * obj0 = 0 ;
9622 char *kwnames[] = {
9623 (char *) "self", NULL
9624 };
9625
9626 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_LineCopy",kwnames,&obj0)) goto fail;
9627 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
9628 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9629 {
9630 PyThreadState* __tstate = wxPyBeginAllowThreads();
9631 (arg1)->LineCopy();
9632
9633 wxPyEndAllowThreads(__tstate);
9634 if (PyErr_Occurred()) SWIG_fail;
9635 }
9636 Py_INCREF(Py_None); resultobj = Py_None;
9637 return resultobj;
9638 fail:
9639 return NULL;
9640}
9641
9642
9643static PyObject *_wrap_StyledTextCtrl_MoveCaretInsideView(PyObject *self, PyObject *args, PyObject *kwargs) {
9644 PyObject *resultobj;
9645 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
9646 PyObject * obj0 = 0 ;
9647 char *kwnames[] = {
9648 (char *) "self", NULL
9649 };
9650
9651 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_MoveCaretInsideView",kwnames,&obj0)) goto fail;
9652 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
9653 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9654 {
9655 PyThreadState* __tstate = wxPyBeginAllowThreads();
9656 (arg1)->MoveCaretInsideView();
9657
9658 wxPyEndAllowThreads(__tstate);
9659 if (PyErr_Occurred()) SWIG_fail;
9660 }
9661 Py_INCREF(Py_None); resultobj = Py_None;
9662 return resultobj;
9663 fail:
9664 return NULL;
9665}
9666
9667
9668static PyObject *_wrap_StyledTextCtrl_LineLength(PyObject *self, PyObject *args, PyObject *kwargs) {
9669 PyObject *resultobj;
9670 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
9671 int arg2 ;
9672 int result;
9673 PyObject * obj0 = 0 ;
9674 PyObject * obj1 = 0 ;
9675 char *kwnames[] = {
9676 (char *) "self",(char *) "line", NULL
9677 };
9678
9679 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_LineLength",kwnames,&obj0,&obj1)) goto fail;
9680 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
9681 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9682 arg2 = (int) SWIG_AsInt(obj1);
9683 if (PyErr_Occurred()) SWIG_fail;
9684 {
9685 PyThreadState* __tstate = wxPyBeginAllowThreads();
9686 result = (int)(arg1)->LineLength(arg2);
9687
9688 wxPyEndAllowThreads(__tstate);
9689 if (PyErr_Occurred()) SWIG_fail;
9690 }
9691 resultobj = SWIG_FromInt((int)result);
9692 return resultobj;
9693 fail:
9694 return NULL;
9695}
9696
9697
9698static PyObject *_wrap_StyledTextCtrl_BraceHighlight(PyObject *self, PyObject *args, PyObject *kwargs) {
9699 PyObject *resultobj;
9700 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
9701 int arg2 ;
9702 int arg3 ;
9703 PyObject * obj0 = 0 ;
9704 PyObject * obj1 = 0 ;
9705 PyObject * obj2 = 0 ;
9706 char *kwnames[] = {
9707 (char *) "self",(char *) "pos1",(char *) "pos2", NULL
9708 };
9709
9710 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_BraceHighlight",kwnames,&obj0,&obj1,&obj2)) goto fail;
9711 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
9712 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9713 arg2 = (int) SWIG_AsInt(obj1);
9714 if (PyErr_Occurred()) SWIG_fail;
9715 arg3 = (int) SWIG_AsInt(obj2);
9716 if (PyErr_Occurred()) SWIG_fail;
9717 {
9718 PyThreadState* __tstate = wxPyBeginAllowThreads();
9719 (arg1)->BraceHighlight(arg2,arg3);
9720
9721 wxPyEndAllowThreads(__tstate);
9722 if (PyErr_Occurred()) SWIG_fail;
9723 }
9724 Py_INCREF(Py_None); resultobj = Py_None;
9725 return resultobj;
9726 fail:
9727 return NULL;
9728}
9729
9730
9731static PyObject *_wrap_StyledTextCtrl_BraceBadLight(PyObject *self, PyObject *args, PyObject *kwargs) {
9732 PyObject *resultobj;
9733 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
9734 int arg2 ;
9735 PyObject * obj0 = 0 ;
9736 PyObject * obj1 = 0 ;
9737 char *kwnames[] = {
9738 (char *) "self",(char *) "pos", NULL
9739 };
9740
9741 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_BraceBadLight",kwnames,&obj0,&obj1)) goto fail;
9742 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
9743 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9744 arg2 = (int) SWIG_AsInt(obj1);
9745 if (PyErr_Occurred()) SWIG_fail;
9746 {
9747 PyThreadState* __tstate = wxPyBeginAllowThreads();
9748 (arg1)->BraceBadLight(arg2);
9749
9750 wxPyEndAllowThreads(__tstate);
9751 if (PyErr_Occurred()) SWIG_fail;
9752 }
9753 Py_INCREF(Py_None); resultobj = Py_None;
9754 return resultobj;
9755 fail:
9756 return NULL;
9757}
9758
9759
9760static PyObject *_wrap_StyledTextCtrl_BraceMatch(PyObject *self, PyObject *args, PyObject *kwargs) {
9761 PyObject *resultobj;
9762 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
9763 int arg2 ;
9764 int result;
9765 PyObject * obj0 = 0 ;
9766 PyObject * obj1 = 0 ;
9767 char *kwnames[] = {
9768 (char *) "self",(char *) "pos", NULL
9769 };
9770
9771 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_BraceMatch",kwnames,&obj0,&obj1)) goto fail;
9772 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
9773 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9774 arg2 = (int) SWIG_AsInt(obj1);
9775 if (PyErr_Occurred()) SWIG_fail;
9776 {
9777 PyThreadState* __tstate = wxPyBeginAllowThreads();
9778 result = (int)(arg1)->BraceMatch(arg2);
9779
9780 wxPyEndAllowThreads(__tstate);
9781 if (PyErr_Occurred()) SWIG_fail;
9782 }
9783 resultobj = SWIG_FromInt((int)result);
9784 return resultobj;
9785 fail:
9786 return NULL;
9787}
9788
9789
9790static PyObject *_wrap_StyledTextCtrl_GetViewEOL(PyObject *self, PyObject *args, PyObject *kwargs) {
9791 PyObject *resultobj;
9792 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
9793 bool result;
9794 PyObject * obj0 = 0 ;
9795 char *kwnames[] = {
9796 (char *) "self", NULL
9797 };
9798
9799 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetViewEOL",kwnames,&obj0)) goto fail;
9800 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
9801 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9802 {
9803 PyThreadState* __tstate = wxPyBeginAllowThreads();
9804 result = (bool)(arg1)->GetViewEOL();
9805
9806 wxPyEndAllowThreads(__tstate);
9807 if (PyErr_Occurred()) SWIG_fail;
9808 }
9809 {
9810 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9811 }
9812 return resultobj;
9813 fail:
9814 return NULL;
9815}
9816
9817
9818static PyObject *_wrap_StyledTextCtrl_SetViewEOL(PyObject *self, PyObject *args, PyObject *kwargs) {
9819 PyObject *resultobj;
9820 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
9821 bool arg2 ;
9822 PyObject * obj0 = 0 ;
9823 PyObject * obj1 = 0 ;
9824 char *kwnames[] = {
9825 (char *) "self",(char *) "visible", NULL
9826 };
9827
9828 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetViewEOL",kwnames,&obj0,&obj1)) goto fail;
9829 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
9830 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9831 arg2 = (bool) SWIG_AsBool(obj1);
9832 if (PyErr_Occurred()) SWIG_fail;
9833 {
9834 PyThreadState* __tstate = wxPyBeginAllowThreads();
9835 (arg1)->SetViewEOL(arg2);
9836
9837 wxPyEndAllowThreads(__tstate);
9838 if (PyErr_Occurred()) SWIG_fail;
9839 }
9840 Py_INCREF(Py_None); resultobj = Py_None;
9841 return resultobj;
9842 fail:
9843 return NULL;
9844}
9845
9846
9847static PyObject *_wrap_StyledTextCtrl_GetDocPointer(PyObject *self, PyObject *args, PyObject *kwargs) {
9848 PyObject *resultobj;
9849 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
9850 void *result;
9851 PyObject * obj0 = 0 ;
9852 char *kwnames[] = {
9853 (char *) "self", NULL
9854 };
9855
9856 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetDocPointer",kwnames,&obj0)) goto fail;
9857 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
9858 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9859 {
9860 PyThreadState* __tstate = wxPyBeginAllowThreads();
9861 result = (void *)(arg1)->GetDocPointer();
9862
9863 wxPyEndAllowThreads(__tstate);
9864 if (PyErr_Occurred()) SWIG_fail;
9865 }
9866 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_void, 0);
9867 return resultobj;
9868 fail:
9869 return NULL;
9870}
9871
9872
9873static PyObject *_wrap_StyledTextCtrl_SetDocPointer(PyObject *self, PyObject *args, PyObject *kwargs) {
9874 PyObject *resultobj;
9875 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
9876 void *arg2 = (void *) 0 ;
9877 PyObject * obj0 = 0 ;
9878 PyObject * obj1 = 0 ;
9879 char *kwnames[] = {
9880 (char *) "self",(char *) "docPointer", NULL
9881 };
9882
9883 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetDocPointer",kwnames,&obj0,&obj1)) goto fail;
9884 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
9885 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9886 if ((SWIG_ConvertPtr(obj1,&arg2,0,SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9887 {
9888 PyThreadState* __tstate = wxPyBeginAllowThreads();
9889 (arg1)->SetDocPointer(arg2);
9890
9891 wxPyEndAllowThreads(__tstate);
9892 if (PyErr_Occurred()) SWIG_fail;
9893 }
9894 Py_INCREF(Py_None); resultobj = Py_None;
9895 return resultobj;
9896 fail:
9897 return NULL;
9898}
9899
9900
9901static PyObject *_wrap_StyledTextCtrl_SetModEventMask(PyObject *self, PyObject *args, PyObject *kwargs) {
9902 PyObject *resultobj;
9903 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
9904 int arg2 ;
9905 PyObject * obj0 = 0 ;
9906 PyObject * obj1 = 0 ;
9907 char *kwnames[] = {
9908 (char *) "self",(char *) "mask", NULL
9909 };
9910
9911 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetModEventMask",kwnames,&obj0,&obj1)) goto fail;
9912 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
9913 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9914 arg2 = (int) SWIG_AsInt(obj1);
9915 if (PyErr_Occurred()) SWIG_fail;
9916 {
9917 PyThreadState* __tstate = wxPyBeginAllowThreads();
9918 (arg1)->SetModEventMask(arg2);
9919
9920 wxPyEndAllowThreads(__tstate);
9921 if (PyErr_Occurred()) SWIG_fail;
9922 }
9923 Py_INCREF(Py_None); resultobj = Py_None;
9924 return resultobj;
9925 fail:
9926 return NULL;
9927}
9928
9929
9930static PyObject *_wrap_StyledTextCtrl_GetEdgeColumn(PyObject *self, PyObject *args, PyObject *kwargs) {
9931 PyObject *resultobj;
9932 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
9933 int result;
9934 PyObject * obj0 = 0 ;
9935 char *kwnames[] = {
9936 (char *) "self", NULL
9937 };
9938
9939 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetEdgeColumn",kwnames,&obj0)) goto fail;
9940 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
9941 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9942 {
9943 PyThreadState* __tstate = wxPyBeginAllowThreads();
9944 result = (int)(arg1)->GetEdgeColumn();
9945
9946 wxPyEndAllowThreads(__tstate);
9947 if (PyErr_Occurred()) SWIG_fail;
9948 }
9949 resultobj = SWIG_FromInt((int)result);
9950 return resultobj;
9951 fail:
9952 return NULL;
9953}
9954
9955
9956static PyObject *_wrap_StyledTextCtrl_SetEdgeColumn(PyObject *self, PyObject *args, PyObject *kwargs) {
9957 PyObject *resultobj;
9958 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
9959 int arg2 ;
9960 PyObject * obj0 = 0 ;
9961 PyObject * obj1 = 0 ;
9962 char *kwnames[] = {
9963 (char *) "self",(char *) "column", NULL
9964 };
9965
9966 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetEdgeColumn",kwnames,&obj0,&obj1)) goto fail;
9967 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
9968 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9969 arg2 = (int) SWIG_AsInt(obj1);
9970 if (PyErr_Occurred()) SWIG_fail;
9971 {
9972 PyThreadState* __tstate = wxPyBeginAllowThreads();
9973 (arg1)->SetEdgeColumn(arg2);
9974
9975 wxPyEndAllowThreads(__tstate);
9976 if (PyErr_Occurred()) SWIG_fail;
9977 }
9978 Py_INCREF(Py_None); resultobj = Py_None;
9979 return resultobj;
9980 fail:
9981 return NULL;
9982}
9983
9984
9985static PyObject *_wrap_StyledTextCtrl_GetEdgeMode(PyObject *self, PyObject *args, PyObject *kwargs) {
9986 PyObject *resultobj;
9987 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
9988 int result;
9989 PyObject * obj0 = 0 ;
9990 char *kwnames[] = {
9991 (char *) "self", NULL
9992 };
9993
9994 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetEdgeMode",kwnames,&obj0)) goto fail;
9995 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
9996 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9997 {
9998 PyThreadState* __tstate = wxPyBeginAllowThreads();
9999 result = (int)(arg1)->GetEdgeMode();
10000
10001 wxPyEndAllowThreads(__tstate);
10002 if (PyErr_Occurred()) SWIG_fail;
10003 }
10004 resultobj = SWIG_FromInt((int)result);
10005 return resultobj;
10006 fail:
10007 return NULL;
10008}
10009
10010
10011static PyObject *_wrap_StyledTextCtrl_SetEdgeMode(PyObject *self, PyObject *args, PyObject *kwargs) {
10012 PyObject *resultobj;
10013 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
10014 int arg2 ;
10015 PyObject * obj0 = 0 ;
10016 PyObject * obj1 = 0 ;
10017 char *kwnames[] = {
10018 (char *) "self",(char *) "mode", NULL
10019 };
10020
10021 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetEdgeMode",kwnames,&obj0,&obj1)) goto fail;
10022 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
10023 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10024 arg2 = (int) SWIG_AsInt(obj1);
10025 if (PyErr_Occurred()) SWIG_fail;
10026 {
10027 PyThreadState* __tstate = wxPyBeginAllowThreads();
10028 (arg1)->SetEdgeMode(arg2);
10029
10030 wxPyEndAllowThreads(__tstate);
10031 if (PyErr_Occurred()) SWIG_fail;
10032 }
10033 Py_INCREF(Py_None); resultobj = Py_None;
10034 return resultobj;
10035 fail:
10036 return NULL;
10037}
10038
10039
10040static PyObject *_wrap_StyledTextCtrl_GetEdgeColour(PyObject *self, PyObject *args, PyObject *kwargs) {
10041 PyObject *resultobj;
10042 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
10043 wxColour result;
10044 PyObject * obj0 = 0 ;
10045 char *kwnames[] = {
10046 (char *) "self", NULL
10047 };
10048
10049 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetEdgeColour",kwnames,&obj0)) goto fail;
10050 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
10051 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10052 {
10053 PyThreadState* __tstate = wxPyBeginAllowThreads();
10054 result = (arg1)->GetEdgeColour();
10055
10056 wxPyEndAllowThreads(__tstate);
10057 if (PyErr_Occurred()) SWIG_fail;
10058 }
10059 {
10060 wxColour * resultptr;
10061 resultptr = new wxColour((wxColour &) result);
10062 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
10063 }
10064 return resultobj;
10065 fail:
10066 return NULL;
10067}
10068
10069
10070static PyObject *_wrap_StyledTextCtrl_SetEdgeColour(PyObject *self, PyObject *args, PyObject *kwargs) {
10071 PyObject *resultobj;
10072 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
10073 wxColour *arg2 = 0 ;
10074 wxColour temp2 ;
10075 PyObject * obj0 = 0 ;
10076 PyObject * obj1 = 0 ;
10077 char *kwnames[] = {
10078 (char *) "self",(char *) "edgeColour", NULL
10079 };
10080
10081 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetEdgeColour",kwnames,&obj0,&obj1)) goto fail;
10082 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
10083 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10084 {
10085 arg2 = &temp2;
10086 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
10087 }
10088 {
10089 PyThreadState* __tstate = wxPyBeginAllowThreads();
10090 (arg1)->SetEdgeColour((wxColour const &)*arg2);
10091
10092 wxPyEndAllowThreads(__tstate);
10093 if (PyErr_Occurred()) SWIG_fail;
10094 }
10095 Py_INCREF(Py_None); resultobj = Py_None;
10096 return resultobj;
10097 fail:
10098 return NULL;
10099}
10100
10101
10102static PyObject *_wrap_StyledTextCtrl_SearchAnchor(PyObject *self, PyObject *args, PyObject *kwargs) {
10103 PyObject *resultobj;
10104 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
10105 PyObject * obj0 = 0 ;
10106 char *kwnames[] = {
10107 (char *) "self", NULL
10108 };
10109
10110 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_SearchAnchor",kwnames,&obj0)) goto fail;
10111 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
10112 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10113 {
10114 PyThreadState* __tstate = wxPyBeginAllowThreads();
10115 (arg1)->SearchAnchor();
10116
10117 wxPyEndAllowThreads(__tstate);
10118 if (PyErr_Occurred()) SWIG_fail;
10119 }
10120 Py_INCREF(Py_None); resultobj = Py_None;
10121 return resultobj;
10122 fail:
10123 return NULL;
10124}
10125
10126
10127static PyObject *_wrap_StyledTextCtrl_SearchNext(PyObject *self, PyObject *args, PyObject *kwargs) {
10128 PyObject *resultobj;
10129 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
10130 int arg2 ;
10131 wxString *arg3 = 0 ;
10132 int result;
10133 bool temp3 = False ;
10134 PyObject * obj0 = 0 ;
10135 PyObject * obj1 = 0 ;
10136 PyObject * obj2 = 0 ;
10137 char *kwnames[] = {
10138 (char *) "self",(char *) "flags",(char *) "text", NULL
10139 };
10140
10141 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SearchNext",kwnames,&obj0,&obj1,&obj2)) goto fail;
10142 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
10143 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10144 arg2 = (int) SWIG_AsInt(obj1);
10145 if (PyErr_Occurred()) SWIG_fail;
10146 {
10147 arg3 = wxString_in_helper(obj2);
10148 if (arg3 == NULL) SWIG_fail;
10149 temp3 = True;
10150 }
10151 {
10152 PyThreadState* __tstate = wxPyBeginAllowThreads();
10153 result = (int)(arg1)->SearchNext(arg2,(wxString const &)*arg3);
10154
10155 wxPyEndAllowThreads(__tstate);
10156 if (PyErr_Occurred()) SWIG_fail;
10157 }
10158 resultobj = SWIG_FromInt((int)result);
10159 {
10160 if (temp3)
10161 delete arg3;
10162 }
10163 return resultobj;
10164 fail:
10165 {
10166 if (temp3)
10167 delete arg3;
10168 }
10169 return NULL;
10170}
10171
10172
10173static PyObject *_wrap_StyledTextCtrl_SearchPrev(PyObject *self, PyObject *args, PyObject *kwargs) {
10174 PyObject *resultobj;
10175 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
10176 int arg2 ;
10177 wxString *arg3 = 0 ;
10178 int result;
10179 bool temp3 = False ;
10180 PyObject * obj0 = 0 ;
10181 PyObject * obj1 = 0 ;
10182 PyObject * obj2 = 0 ;
10183 char *kwnames[] = {
10184 (char *) "self",(char *) "flags",(char *) "text", NULL
10185 };
10186
10187 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SearchPrev",kwnames,&obj0,&obj1,&obj2)) goto fail;
10188 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
10189 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10190 arg2 = (int) SWIG_AsInt(obj1);
10191 if (PyErr_Occurred()) SWIG_fail;
10192 {
10193 arg3 = wxString_in_helper(obj2);
10194 if (arg3 == NULL) SWIG_fail;
10195 temp3 = True;
10196 }
10197 {
10198 PyThreadState* __tstate = wxPyBeginAllowThreads();
10199 result = (int)(arg1)->SearchPrev(arg2,(wxString const &)*arg3);
10200
10201 wxPyEndAllowThreads(__tstate);
10202 if (PyErr_Occurred()) SWIG_fail;
10203 }
10204 resultobj = SWIG_FromInt((int)result);
10205 {
10206 if (temp3)
10207 delete arg3;
10208 }
10209 return resultobj;
10210 fail:
10211 {
10212 if (temp3)
10213 delete arg3;
10214 }
10215 return NULL;
10216}
10217
10218
10219static PyObject *_wrap_StyledTextCtrl_LinesOnScreen(PyObject *self, PyObject *args, PyObject *kwargs) {
10220 PyObject *resultobj;
10221 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
10222 int result;
10223 PyObject * obj0 = 0 ;
10224 char *kwnames[] = {
10225 (char *) "self", NULL
10226 };
10227
10228 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_LinesOnScreen",kwnames,&obj0)) goto fail;
10229 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
10230 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10231 {
10232 PyThreadState* __tstate = wxPyBeginAllowThreads();
10233 result = (int)(arg1)->LinesOnScreen();
10234
10235 wxPyEndAllowThreads(__tstate);
10236 if (PyErr_Occurred()) SWIG_fail;
10237 }
10238 resultobj = SWIG_FromInt((int)result);
10239 return resultobj;
10240 fail:
10241 return NULL;
10242}
10243
10244
10245static PyObject *_wrap_StyledTextCtrl_UsePopUp(PyObject *self, PyObject *args, PyObject *kwargs) {
10246 PyObject *resultobj;
10247 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
10248 bool arg2 ;
10249 PyObject * obj0 = 0 ;
10250 PyObject * obj1 = 0 ;
10251 char *kwnames[] = {
10252 (char *) "self",(char *) "allowPopUp", NULL
10253 };
10254
10255 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_UsePopUp",kwnames,&obj0,&obj1)) goto fail;
10256 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
10257 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10258 arg2 = (bool) SWIG_AsBool(obj1);
10259 if (PyErr_Occurred()) SWIG_fail;
10260 {
10261 PyThreadState* __tstate = wxPyBeginAllowThreads();
10262 (arg1)->UsePopUp(arg2);
10263
10264 wxPyEndAllowThreads(__tstate);
10265 if (PyErr_Occurred()) SWIG_fail;
10266 }
10267 Py_INCREF(Py_None); resultobj = Py_None;
10268 return resultobj;
10269 fail:
10270 return NULL;
10271}
10272
10273
10274static PyObject *_wrap_StyledTextCtrl_SelectionIsRectangle(PyObject *self, PyObject *args, PyObject *kwargs) {
10275 PyObject *resultobj;
10276 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
10277 bool result;
10278 PyObject * obj0 = 0 ;
10279 char *kwnames[] = {
10280 (char *) "self", NULL
10281 };
10282
10283 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_SelectionIsRectangle",kwnames,&obj0)) goto fail;
10284 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
10285 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10286 {
10287 PyThreadState* __tstate = wxPyBeginAllowThreads();
10288 result = (bool)(arg1)->SelectionIsRectangle();
10289
10290 wxPyEndAllowThreads(__tstate);
10291 if (PyErr_Occurred()) SWIG_fail;
10292 }
10293 {
10294 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10295 }
10296 return resultobj;
10297 fail:
10298 return NULL;
10299}
10300
10301
10302static PyObject *_wrap_StyledTextCtrl_SetZoom(PyObject *self, PyObject *args, PyObject *kwargs) {
10303 PyObject *resultobj;
10304 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
10305 int arg2 ;
10306 PyObject * obj0 = 0 ;
10307 PyObject * obj1 = 0 ;
10308 char *kwnames[] = {
10309 (char *) "self",(char *) "zoom", NULL
10310 };
10311
10312 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetZoom",kwnames,&obj0,&obj1)) goto fail;
10313 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
10314 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10315 arg2 = (int) SWIG_AsInt(obj1);
10316 if (PyErr_Occurred()) SWIG_fail;
10317 {
10318 PyThreadState* __tstate = wxPyBeginAllowThreads();
10319 (arg1)->SetZoom(arg2);
10320
10321 wxPyEndAllowThreads(__tstate);
10322 if (PyErr_Occurred()) SWIG_fail;
10323 }
10324 Py_INCREF(Py_None); resultobj = Py_None;
10325 return resultobj;
10326 fail:
10327 return NULL;
10328}
10329
10330
10331static PyObject *_wrap_StyledTextCtrl_GetZoom(PyObject *self, PyObject *args, PyObject *kwargs) {
10332 PyObject *resultobj;
10333 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
10334 int result;
10335 PyObject * obj0 = 0 ;
10336 char *kwnames[] = {
10337 (char *) "self", NULL
10338 };
10339
10340 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetZoom",kwnames,&obj0)) goto fail;
10341 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
10342 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10343 {
10344 PyThreadState* __tstate = wxPyBeginAllowThreads();
10345 result = (int)(arg1)->GetZoom();
10346
10347 wxPyEndAllowThreads(__tstate);
10348 if (PyErr_Occurred()) SWIG_fail;
10349 }
10350 resultobj = SWIG_FromInt((int)result);
10351 return resultobj;
10352 fail:
10353 return NULL;
10354}
10355
10356
10357static PyObject *_wrap_StyledTextCtrl_CreateDocument(PyObject *self, PyObject *args, PyObject *kwargs) {
10358 PyObject *resultobj;
10359 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
10360 void *result;
10361 PyObject * obj0 = 0 ;
10362 char *kwnames[] = {
10363 (char *) "self", NULL
10364 };
10365
10366 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_CreateDocument",kwnames,&obj0)) goto fail;
10367 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
10368 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10369 {
10370 PyThreadState* __tstate = wxPyBeginAllowThreads();
10371 result = (void *)(arg1)->CreateDocument();
10372
10373 wxPyEndAllowThreads(__tstate);
10374 if (PyErr_Occurred()) SWIG_fail;
10375 }
10376 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_void, 0);
10377 return resultobj;
10378 fail:
10379 return NULL;
10380}
10381
10382
10383static PyObject *_wrap_StyledTextCtrl_AddRefDocument(PyObject *self, PyObject *args, PyObject *kwargs) {
10384 PyObject *resultobj;
10385 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
10386 void *arg2 = (void *) 0 ;
10387 PyObject * obj0 = 0 ;
10388 PyObject * obj1 = 0 ;
10389 char *kwnames[] = {
10390 (char *) "self",(char *) "docPointer", NULL
10391 };
10392
10393 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_AddRefDocument",kwnames,&obj0,&obj1)) goto fail;
10394 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
10395 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10396 if ((SWIG_ConvertPtr(obj1,&arg2,0,SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10397 {
10398 PyThreadState* __tstate = wxPyBeginAllowThreads();
10399 (arg1)->AddRefDocument(arg2);
10400
10401 wxPyEndAllowThreads(__tstate);
10402 if (PyErr_Occurred()) SWIG_fail;
10403 }
10404 Py_INCREF(Py_None); resultobj = Py_None;
10405 return resultobj;
10406 fail:
10407 return NULL;
10408}
10409
10410
10411static PyObject *_wrap_StyledTextCtrl_ReleaseDocument(PyObject *self, PyObject *args, PyObject *kwargs) {
10412 PyObject *resultobj;
10413 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
10414 void *arg2 = (void *) 0 ;
10415 PyObject * obj0 = 0 ;
10416 PyObject * obj1 = 0 ;
10417 char *kwnames[] = {
10418 (char *) "self",(char *) "docPointer", NULL
10419 };
10420
10421 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_ReleaseDocument",kwnames,&obj0,&obj1)) goto fail;
10422 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
10423 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10424 if ((SWIG_ConvertPtr(obj1,&arg2,0,SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10425 {
10426 PyThreadState* __tstate = wxPyBeginAllowThreads();
10427 (arg1)->ReleaseDocument(arg2);
10428
10429 wxPyEndAllowThreads(__tstate);
10430 if (PyErr_Occurred()) SWIG_fail;
10431 }
10432 Py_INCREF(Py_None); resultobj = Py_None;
10433 return resultobj;
10434 fail:
10435 return NULL;
10436}
10437
10438
10439static PyObject *_wrap_StyledTextCtrl_GetModEventMask(PyObject *self, PyObject *args, PyObject *kwargs) {
10440 PyObject *resultobj;
10441 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
10442 int result;
10443 PyObject * obj0 = 0 ;
10444 char *kwnames[] = {
10445 (char *) "self", NULL
10446 };
10447
10448 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetModEventMask",kwnames,&obj0)) goto fail;
10449 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
10450 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10451 {
10452 PyThreadState* __tstate = wxPyBeginAllowThreads();
10453 result = (int)(arg1)->GetModEventMask();
10454
10455 wxPyEndAllowThreads(__tstate);
10456 if (PyErr_Occurred()) SWIG_fail;
10457 }
10458 resultobj = SWIG_FromInt((int)result);
10459 return resultobj;
10460 fail:
10461 return NULL;
10462}
10463
10464
10465static PyObject *_wrap_StyledTextCtrl_SetSTCFocus(PyObject *self, PyObject *args, PyObject *kwargs) {
10466 PyObject *resultobj;
10467 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
10468 bool arg2 ;
10469 PyObject * obj0 = 0 ;
10470 PyObject * obj1 = 0 ;
10471 char *kwnames[] = {
10472 (char *) "self",(char *) "focus", NULL
10473 };
10474
10475 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetSTCFocus",kwnames,&obj0,&obj1)) goto fail;
10476 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
10477 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10478 arg2 = (bool) SWIG_AsBool(obj1);
10479 if (PyErr_Occurred()) SWIG_fail;
10480 {
10481 PyThreadState* __tstate = wxPyBeginAllowThreads();
10482 (arg1)->SetSTCFocus(arg2);
10483
10484 wxPyEndAllowThreads(__tstate);
10485 if (PyErr_Occurred()) SWIG_fail;
10486 }
10487 Py_INCREF(Py_None); resultobj = Py_None;
10488 return resultobj;
10489 fail:
10490 return NULL;
10491}
10492
10493
10494static PyObject *_wrap_StyledTextCtrl_GetSTCFocus(PyObject *self, PyObject *args, PyObject *kwargs) {
10495 PyObject *resultobj;
10496 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
10497 bool result;
10498 PyObject * obj0 = 0 ;
10499 char *kwnames[] = {
10500 (char *) "self", NULL
10501 };
10502
10503 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetSTCFocus",kwnames,&obj0)) goto fail;
10504 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
10505 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10506 {
10507 PyThreadState* __tstate = wxPyBeginAllowThreads();
10508 result = (bool)(arg1)->GetSTCFocus();
10509
10510 wxPyEndAllowThreads(__tstate);
10511 if (PyErr_Occurred()) SWIG_fail;
10512 }
10513 {
10514 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10515 }
10516 return resultobj;
10517 fail:
10518 return NULL;
10519}
10520
10521
10522static PyObject *_wrap_StyledTextCtrl_SetStatus(PyObject *self, PyObject *args, PyObject *kwargs) {
10523 PyObject *resultobj;
10524 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
10525 int arg2 ;
10526 PyObject * obj0 = 0 ;
10527 PyObject * obj1 = 0 ;
10528 char *kwnames[] = {
10529 (char *) "self",(char *) "statusCode", NULL
10530 };
10531
10532 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetStatus",kwnames,&obj0,&obj1)) goto fail;
10533 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
10534 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10535 arg2 = (int) SWIG_AsInt(obj1);
10536 if (PyErr_Occurred()) SWIG_fail;
10537 {
10538 PyThreadState* __tstate = wxPyBeginAllowThreads();
10539 (arg1)->SetStatus(arg2);
10540
10541 wxPyEndAllowThreads(__tstate);
10542 if (PyErr_Occurred()) SWIG_fail;
10543 }
10544 Py_INCREF(Py_None); resultobj = Py_None;
10545 return resultobj;
10546 fail:
10547 return NULL;
10548}
10549
10550
10551static PyObject *_wrap_StyledTextCtrl_GetStatus(PyObject *self, PyObject *args, PyObject *kwargs) {
10552 PyObject *resultobj;
10553 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
10554 int result;
10555 PyObject * obj0 = 0 ;
10556 char *kwnames[] = {
10557 (char *) "self", NULL
10558 };
10559
10560 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetStatus",kwnames,&obj0)) goto fail;
10561 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
10562 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10563 {
10564 PyThreadState* __tstate = wxPyBeginAllowThreads();
10565 result = (int)(arg1)->GetStatus();
10566
10567 wxPyEndAllowThreads(__tstate);
10568 if (PyErr_Occurred()) SWIG_fail;
10569 }
10570 resultobj = SWIG_FromInt((int)result);
10571 return resultobj;
10572 fail:
10573 return NULL;
10574}
10575
10576
10577static PyObject *_wrap_StyledTextCtrl_SetMouseDownCaptures(PyObject *self, PyObject *args, PyObject *kwargs) {
10578 PyObject *resultobj;
10579 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
10580 bool arg2 ;
10581 PyObject * obj0 = 0 ;
10582 PyObject * obj1 = 0 ;
10583 char *kwnames[] = {
10584 (char *) "self",(char *) "captures", NULL
10585 };
10586
10587 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetMouseDownCaptures",kwnames,&obj0,&obj1)) goto fail;
10588 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
10589 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10590 arg2 = (bool) SWIG_AsBool(obj1);
10591 if (PyErr_Occurred()) SWIG_fail;
10592 {
10593 PyThreadState* __tstate = wxPyBeginAllowThreads();
10594 (arg1)->SetMouseDownCaptures(arg2);
10595
10596 wxPyEndAllowThreads(__tstate);
10597 if (PyErr_Occurred()) SWIG_fail;
10598 }
10599 Py_INCREF(Py_None); resultobj = Py_None;
10600 return resultobj;
10601 fail:
10602 return NULL;
10603}
10604
10605
10606static PyObject *_wrap_StyledTextCtrl_GetMouseDownCaptures(PyObject *self, PyObject *args, PyObject *kwargs) {
10607 PyObject *resultobj;
10608 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
10609 bool result;
10610 PyObject * obj0 = 0 ;
10611 char *kwnames[] = {
10612 (char *) "self", NULL
10613 };
10614
10615 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetMouseDownCaptures",kwnames,&obj0)) goto fail;
10616 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
10617 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10618 {
10619 PyThreadState* __tstate = wxPyBeginAllowThreads();
10620 result = (bool)(arg1)->GetMouseDownCaptures();
10621
10622 wxPyEndAllowThreads(__tstate);
10623 if (PyErr_Occurred()) SWIG_fail;
10624 }
10625 {
10626 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10627 }
10628 return resultobj;
10629 fail:
10630 return NULL;
10631}
10632
10633
10634static PyObject *_wrap_StyledTextCtrl_SetSTCCursor(PyObject *self, PyObject *args, PyObject *kwargs) {
10635 PyObject *resultobj;
10636 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
10637 int arg2 ;
10638 PyObject * obj0 = 0 ;
10639 PyObject * obj1 = 0 ;
10640 char *kwnames[] = {
10641 (char *) "self",(char *) "cursorType", NULL
10642 };
10643
10644 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetSTCCursor",kwnames,&obj0,&obj1)) goto fail;
10645 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
10646 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10647 arg2 = (int) SWIG_AsInt(obj1);
10648 if (PyErr_Occurred()) SWIG_fail;
10649 {
10650 PyThreadState* __tstate = wxPyBeginAllowThreads();
10651 (arg1)->SetSTCCursor(arg2);
10652
10653 wxPyEndAllowThreads(__tstate);
10654 if (PyErr_Occurred()) SWIG_fail;
10655 }
10656 Py_INCREF(Py_None); resultobj = Py_None;
10657 return resultobj;
10658 fail:
10659 return NULL;
10660}
10661
10662
10663static PyObject *_wrap_StyledTextCtrl_GetSTCCursor(PyObject *self, PyObject *args, PyObject *kwargs) {
10664 PyObject *resultobj;
10665 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
10666 int result;
10667 PyObject * obj0 = 0 ;
10668 char *kwnames[] = {
10669 (char *) "self", NULL
10670 };
10671
10672 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetSTCCursor",kwnames,&obj0)) goto fail;
10673 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
10674 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10675 {
10676 PyThreadState* __tstate = wxPyBeginAllowThreads();
10677 result = (int)(arg1)->GetSTCCursor();
10678
10679 wxPyEndAllowThreads(__tstate);
10680 if (PyErr_Occurred()) SWIG_fail;
10681 }
10682 resultobj = SWIG_FromInt((int)result);
10683 return resultobj;
10684 fail:
10685 return NULL;
10686}
10687
10688
10689static PyObject *_wrap_StyledTextCtrl_SetControlCharSymbol(PyObject *self, PyObject *args, PyObject *kwargs) {
10690 PyObject *resultobj;
10691 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
10692 int arg2 ;
10693 PyObject * obj0 = 0 ;
10694 PyObject * obj1 = 0 ;
10695 char *kwnames[] = {
10696 (char *) "self",(char *) "symbol", NULL
10697 };
10698
10699 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetControlCharSymbol",kwnames,&obj0,&obj1)) goto fail;
10700 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
10701 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10702 arg2 = (int) SWIG_AsInt(obj1);
10703 if (PyErr_Occurred()) SWIG_fail;
10704 {
10705 PyThreadState* __tstate = wxPyBeginAllowThreads();
10706 (arg1)->SetControlCharSymbol(arg2);
10707
10708 wxPyEndAllowThreads(__tstate);
10709 if (PyErr_Occurred()) SWIG_fail;
10710 }
10711 Py_INCREF(Py_None); resultobj = Py_None;
10712 return resultobj;
10713 fail:
10714 return NULL;
10715}
10716
10717
10718static PyObject *_wrap_StyledTextCtrl_GetControlCharSymbol(PyObject *self, PyObject *args, PyObject *kwargs) {
10719 PyObject *resultobj;
10720 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
10721 int result;
10722 PyObject * obj0 = 0 ;
10723 char *kwnames[] = {
10724 (char *) "self", NULL
10725 };
10726
10727 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetControlCharSymbol",kwnames,&obj0)) goto fail;
10728 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
10729 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10730 {
10731 PyThreadState* __tstate = wxPyBeginAllowThreads();
10732 result = (int)(arg1)->GetControlCharSymbol();
10733
10734 wxPyEndAllowThreads(__tstate);
10735 if (PyErr_Occurred()) SWIG_fail;
10736 }
10737 resultobj = SWIG_FromInt((int)result);
10738 return resultobj;
10739 fail:
10740 return NULL;
10741}
10742
10743
10744static PyObject *_wrap_StyledTextCtrl_WordPartLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
10745 PyObject *resultobj;
10746 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
10747 PyObject * obj0 = 0 ;
10748 char *kwnames[] = {
10749 (char *) "self", NULL
10750 };
10751
10752 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_WordPartLeft",kwnames,&obj0)) goto fail;
10753 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
10754 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10755 {
10756 PyThreadState* __tstate = wxPyBeginAllowThreads();
10757 (arg1)->WordPartLeft();
10758
10759 wxPyEndAllowThreads(__tstate);
10760 if (PyErr_Occurred()) SWIG_fail;
10761 }
10762 Py_INCREF(Py_None); resultobj = Py_None;
10763 return resultobj;
10764 fail:
10765 return NULL;
10766}
10767
10768
10769static PyObject *_wrap_StyledTextCtrl_WordPartLeftExtend(PyObject *self, PyObject *args, PyObject *kwargs) {
10770 PyObject *resultobj;
10771 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
10772 PyObject * obj0 = 0 ;
10773 char *kwnames[] = {
10774 (char *) "self", NULL
10775 };
10776
10777 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_WordPartLeftExtend",kwnames,&obj0)) goto fail;
10778 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
10779 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10780 {
10781 PyThreadState* __tstate = wxPyBeginAllowThreads();
10782 (arg1)->WordPartLeftExtend();
10783
10784 wxPyEndAllowThreads(__tstate);
10785 if (PyErr_Occurred()) SWIG_fail;
10786 }
10787 Py_INCREF(Py_None); resultobj = Py_None;
10788 return resultobj;
10789 fail:
10790 return NULL;
10791}
10792
10793
10794static PyObject *_wrap_StyledTextCtrl_WordPartRight(PyObject *self, PyObject *args, PyObject *kwargs) {
10795 PyObject *resultobj;
10796 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
10797 PyObject * obj0 = 0 ;
10798 char *kwnames[] = {
10799 (char *) "self", NULL
10800 };
10801
10802 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_WordPartRight",kwnames,&obj0)) goto fail;
10803 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
10804 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10805 {
10806 PyThreadState* __tstate = wxPyBeginAllowThreads();
10807 (arg1)->WordPartRight();
10808
10809 wxPyEndAllowThreads(__tstate);
10810 if (PyErr_Occurred()) SWIG_fail;
10811 }
10812 Py_INCREF(Py_None); resultobj = Py_None;
10813 return resultobj;
10814 fail:
10815 return NULL;
10816}
10817
10818
10819static PyObject *_wrap_StyledTextCtrl_WordPartRightExtend(PyObject *self, PyObject *args, PyObject *kwargs) {
10820 PyObject *resultobj;
10821 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
10822 PyObject * obj0 = 0 ;
10823 char *kwnames[] = {
10824 (char *) "self", NULL
10825 };
10826
10827 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_WordPartRightExtend",kwnames,&obj0)) goto fail;
10828 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
10829 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10830 {
10831 PyThreadState* __tstate = wxPyBeginAllowThreads();
10832 (arg1)->WordPartRightExtend();
10833
10834 wxPyEndAllowThreads(__tstate);
10835 if (PyErr_Occurred()) SWIG_fail;
10836 }
10837 Py_INCREF(Py_None); resultobj = Py_None;
10838 return resultobj;
10839 fail:
10840 return NULL;
10841}
10842
10843
10844static PyObject *_wrap_StyledTextCtrl_SetVisiblePolicy(PyObject *self, PyObject *args, PyObject *kwargs) {
10845 PyObject *resultobj;
10846 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
10847 int arg2 ;
10848 int arg3 ;
10849 PyObject * obj0 = 0 ;
10850 PyObject * obj1 = 0 ;
10851 PyObject * obj2 = 0 ;
10852 char *kwnames[] = {
10853 (char *) "self",(char *) "visiblePolicy",(char *) "visibleSlop", NULL
10854 };
10855
10856 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetVisiblePolicy",kwnames,&obj0,&obj1,&obj2)) goto fail;
10857 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
10858 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10859 arg2 = (int) SWIG_AsInt(obj1);
10860 if (PyErr_Occurred()) SWIG_fail;
10861 arg3 = (int) SWIG_AsInt(obj2);
10862 if (PyErr_Occurred()) SWIG_fail;
10863 {
10864 PyThreadState* __tstate = wxPyBeginAllowThreads();
10865 (arg1)->SetVisiblePolicy(arg2,arg3);
10866
10867 wxPyEndAllowThreads(__tstate);
10868 if (PyErr_Occurred()) SWIG_fail;
10869 }
10870 Py_INCREF(Py_None); resultobj = Py_None;
10871 return resultobj;
10872 fail:
10873 return NULL;
10874}
10875
10876
10877static PyObject *_wrap_StyledTextCtrl_DelLineLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
10878 PyObject *resultobj;
10879 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
10880 PyObject * obj0 = 0 ;
10881 char *kwnames[] = {
10882 (char *) "self", NULL
10883 };
10884
10885 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_DelLineLeft",kwnames,&obj0)) goto fail;
10886 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
10887 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10888 {
10889 PyThreadState* __tstate = wxPyBeginAllowThreads();
10890 (arg1)->DelLineLeft();
10891
10892 wxPyEndAllowThreads(__tstate);
10893 if (PyErr_Occurred()) SWIG_fail;
10894 }
10895 Py_INCREF(Py_None); resultobj = Py_None;
10896 return resultobj;
10897 fail:
10898 return NULL;
10899}
10900
10901
10902static PyObject *_wrap_StyledTextCtrl_DelLineRight(PyObject *self, PyObject *args, PyObject *kwargs) {
10903 PyObject *resultobj;
10904 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
10905 PyObject * obj0 = 0 ;
10906 char *kwnames[] = {
10907 (char *) "self", NULL
10908 };
10909
10910 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_DelLineRight",kwnames,&obj0)) goto fail;
10911 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
10912 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10913 {
10914 PyThreadState* __tstate = wxPyBeginAllowThreads();
10915 (arg1)->DelLineRight();
10916
10917 wxPyEndAllowThreads(__tstate);
10918 if (PyErr_Occurred()) SWIG_fail;
10919 }
10920 Py_INCREF(Py_None); resultobj = Py_None;
10921 return resultobj;
10922 fail:
10923 return NULL;
10924}
10925
10926
10927static PyObject *_wrap_StyledTextCtrl_SetXOffset(PyObject *self, PyObject *args, PyObject *kwargs) {
10928 PyObject *resultobj;
10929 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
10930 int arg2 ;
10931 PyObject * obj0 = 0 ;
10932 PyObject * obj1 = 0 ;
10933 char *kwnames[] = {
10934 (char *) "self",(char *) "newOffset", NULL
10935 };
10936
10937 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetXOffset",kwnames,&obj0,&obj1)) goto fail;
10938 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
10939 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10940 arg2 = (int) SWIG_AsInt(obj1);
10941 if (PyErr_Occurred()) SWIG_fail;
10942 {
10943 PyThreadState* __tstate = wxPyBeginAllowThreads();
10944 (arg1)->SetXOffset(arg2);
10945
10946 wxPyEndAllowThreads(__tstate);
10947 if (PyErr_Occurred()) SWIG_fail;
10948 }
10949 Py_INCREF(Py_None); resultobj = Py_None;
10950 return resultobj;
10951 fail:
10952 return NULL;
10953}
10954
10955
10956static PyObject *_wrap_StyledTextCtrl_GetXOffset(PyObject *self, PyObject *args, PyObject *kwargs) {
10957 PyObject *resultobj;
10958 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
10959 int result;
10960 PyObject * obj0 = 0 ;
10961 char *kwnames[] = {
10962 (char *) "self", NULL
10963 };
10964
10965 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetXOffset",kwnames,&obj0)) goto fail;
10966 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
10967 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10968 {
10969 PyThreadState* __tstate = wxPyBeginAllowThreads();
10970 result = (int)(arg1)->GetXOffset();
10971
10972 wxPyEndAllowThreads(__tstate);
10973 if (PyErr_Occurred()) SWIG_fail;
10974 }
10975 resultobj = SWIG_FromInt((int)result);
10976 return resultobj;
10977 fail:
10978 return NULL;
10979}
10980
10981
10982static PyObject *_wrap_StyledTextCtrl_ChooseCaretX(PyObject *self, PyObject *args, PyObject *kwargs) {
10983 PyObject *resultobj;
10984 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
10985 PyObject * obj0 = 0 ;
10986 char *kwnames[] = {
10987 (char *) "self", NULL
10988 };
10989
10990 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_ChooseCaretX",kwnames,&obj0)) goto fail;
10991 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
10992 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10993 {
10994 PyThreadState* __tstate = wxPyBeginAllowThreads();
10995 (arg1)->ChooseCaretX();
10996
10997 wxPyEndAllowThreads(__tstate);
10998 if (PyErr_Occurred()) SWIG_fail;
10999 }
11000 Py_INCREF(Py_None); resultobj = Py_None;
11001 return resultobj;
11002 fail:
11003 return NULL;
11004}
11005
11006
11007static PyObject *_wrap_StyledTextCtrl_SetXCaretPolicy(PyObject *self, PyObject *args, PyObject *kwargs) {
11008 PyObject *resultobj;
11009 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
11010 int arg2 ;
11011 int arg3 ;
11012 PyObject * obj0 = 0 ;
11013 PyObject * obj1 = 0 ;
11014 PyObject * obj2 = 0 ;
11015 char *kwnames[] = {
11016 (char *) "self",(char *) "caretPolicy",(char *) "caretSlop", NULL
11017 };
11018
11019 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetXCaretPolicy",kwnames,&obj0,&obj1,&obj2)) goto fail;
11020 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
11021 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11022 arg2 = (int) SWIG_AsInt(obj1);
11023 if (PyErr_Occurred()) SWIG_fail;
11024 arg3 = (int) SWIG_AsInt(obj2);
11025 if (PyErr_Occurred()) SWIG_fail;
11026 {
11027 PyThreadState* __tstate = wxPyBeginAllowThreads();
11028 (arg1)->SetXCaretPolicy(arg2,arg3);
11029
11030 wxPyEndAllowThreads(__tstate);
11031 if (PyErr_Occurred()) SWIG_fail;
11032 }
11033 Py_INCREF(Py_None); resultobj = Py_None;
11034 return resultobj;
11035 fail:
11036 return NULL;
11037}
11038
11039
11040static PyObject *_wrap_StyledTextCtrl_SetYCaretPolicy(PyObject *self, PyObject *args, PyObject *kwargs) {
11041 PyObject *resultobj;
11042 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
11043 int arg2 ;
11044 int arg3 ;
11045 PyObject * obj0 = 0 ;
11046 PyObject * obj1 = 0 ;
11047 PyObject * obj2 = 0 ;
11048 char *kwnames[] = {
11049 (char *) "self",(char *) "caretPolicy",(char *) "caretSlop", NULL
11050 };
11051
11052 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetYCaretPolicy",kwnames,&obj0,&obj1,&obj2)) goto fail;
11053 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
11054 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11055 arg2 = (int) SWIG_AsInt(obj1);
11056 if (PyErr_Occurred()) SWIG_fail;
11057 arg3 = (int) SWIG_AsInt(obj2);
11058 if (PyErr_Occurred()) SWIG_fail;
11059 {
11060 PyThreadState* __tstate = wxPyBeginAllowThreads();
11061 (arg1)->SetYCaretPolicy(arg2,arg3);
11062
11063 wxPyEndAllowThreads(__tstate);
11064 if (PyErr_Occurred()) SWIG_fail;
11065 }
11066 Py_INCREF(Py_None); resultobj = Py_None;
11067 return resultobj;
11068 fail:
11069 return NULL;
11070}
11071
11072
11073static PyObject *_wrap_StyledTextCtrl_SetPrintWrapMode(PyObject *self, PyObject *args, PyObject *kwargs) {
11074 PyObject *resultobj;
11075 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
11076 int arg2 ;
11077 PyObject * obj0 = 0 ;
11078 PyObject * obj1 = 0 ;
11079 char *kwnames[] = {
11080 (char *) "self",(char *) "mode", NULL
11081 };
11082
11083 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetPrintWrapMode",kwnames,&obj0,&obj1)) goto fail;
11084 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
11085 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11086 arg2 = (int) SWIG_AsInt(obj1);
11087 if (PyErr_Occurred()) SWIG_fail;
11088 {
11089 PyThreadState* __tstate = wxPyBeginAllowThreads();
11090 (arg1)->SetPrintWrapMode(arg2);
11091
11092 wxPyEndAllowThreads(__tstate);
11093 if (PyErr_Occurred()) SWIG_fail;
11094 }
11095 Py_INCREF(Py_None); resultobj = Py_None;
11096 return resultobj;
11097 fail:
11098 return NULL;
11099}
11100
11101
11102static PyObject *_wrap_StyledTextCtrl_GetPrintWrapMode(PyObject *self, PyObject *args, PyObject *kwargs) {
11103 PyObject *resultobj;
11104 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
11105 int result;
11106 PyObject * obj0 = 0 ;
11107 char *kwnames[] = {
11108 (char *) "self", NULL
11109 };
11110
11111 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetPrintWrapMode",kwnames,&obj0)) goto fail;
11112 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
11113 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11114 {
11115 PyThreadState* __tstate = wxPyBeginAllowThreads();
11116 result = (int)(arg1)->GetPrintWrapMode();
11117
11118 wxPyEndAllowThreads(__tstate);
11119 if (PyErr_Occurred()) SWIG_fail;
11120 }
11121 resultobj = SWIG_FromInt((int)result);
11122 return resultobj;
11123 fail:
11124 return NULL;
11125}
11126
11127
11128static PyObject *_wrap_StyledTextCtrl_SetHotspotActiveForeground(PyObject *self, PyObject *args, PyObject *kwargs) {
11129 PyObject *resultobj;
11130 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
11131 bool arg2 ;
11132 wxColour *arg3 = 0 ;
11133 wxColour temp3 ;
11134 PyObject * obj0 = 0 ;
11135 PyObject * obj1 = 0 ;
11136 PyObject * obj2 = 0 ;
11137 char *kwnames[] = {
11138 (char *) "self",(char *) "useSetting",(char *) "fore", NULL
11139 };
11140
11141 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetHotspotActiveForeground",kwnames,&obj0,&obj1,&obj2)) goto fail;
11142 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
11143 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11144 arg2 = (bool) SWIG_AsBool(obj1);
11145 if (PyErr_Occurred()) SWIG_fail;
11146 {
11147 arg3 = &temp3;
11148 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
11149 }
11150 {
11151 PyThreadState* __tstate = wxPyBeginAllowThreads();
11152 (arg1)->SetHotspotActiveForeground(arg2,(wxColour const &)*arg3);
11153
11154 wxPyEndAllowThreads(__tstate);
11155 if (PyErr_Occurred()) SWIG_fail;
11156 }
11157 Py_INCREF(Py_None); resultobj = Py_None;
11158 return resultobj;
11159 fail:
11160 return NULL;
11161}
11162
11163
11164static PyObject *_wrap_StyledTextCtrl_SetHotspotActiveBackground(PyObject *self, PyObject *args, PyObject *kwargs) {
11165 PyObject *resultobj;
11166 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
11167 bool arg2 ;
11168 wxColour *arg3 = 0 ;
11169 wxColour temp3 ;
11170 PyObject * obj0 = 0 ;
11171 PyObject * obj1 = 0 ;
11172 PyObject * obj2 = 0 ;
11173 char *kwnames[] = {
11174 (char *) "self",(char *) "useSetting",(char *) "back", NULL
11175 };
11176
11177 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetHotspotActiveBackground",kwnames,&obj0,&obj1,&obj2)) goto fail;
11178 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
11179 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11180 arg2 = (bool) SWIG_AsBool(obj1);
11181 if (PyErr_Occurred()) SWIG_fail;
11182 {
11183 arg3 = &temp3;
11184 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
11185 }
11186 {
11187 PyThreadState* __tstate = wxPyBeginAllowThreads();
11188 (arg1)->SetHotspotActiveBackground(arg2,(wxColour const &)*arg3);
11189
11190 wxPyEndAllowThreads(__tstate);
11191 if (PyErr_Occurred()) SWIG_fail;
11192 }
11193 Py_INCREF(Py_None); resultobj = Py_None;
11194 return resultobj;
11195 fail:
11196 return NULL;
11197}
11198
11199
11200static PyObject *_wrap_StyledTextCtrl_SetHotspotActiveUnderline(PyObject *self, PyObject *args, PyObject *kwargs) {
11201 PyObject *resultobj;
11202 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
11203 bool arg2 ;
11204 PyObject * obj0 = 0 ;
11205 PyObject * obj1 = 0 ;
11206 char *kwnames[] = {
11207 (char *) "self",(char *) "underline", NULL
11208 };
11209
11210 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetHotspotActiveUnderline",kwnames,&obj0,&obj1)) goto fail;
11211 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
11212 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11213 arg2 = (bool) SWIG_AsBool(obj1);
11214 if (PyErr_Occurred()) SWIG_fail;
11215 {
11216 PyThreadState* __tstate = wxPyBeginAllowThreads();
11217 (arg1)->SetHotspotActiveUnderline(arg2);
11218
11219 wxPyEndAllowThreads(__tstate);
11220 if (PyErr_Occurred()) SWIG_fail;
11221 }
11222 Py_INCREF(Py_None); resultobj = Py_None;
11223 return resultobj;
11224 fail:
11225 return NULL;
11226}
11227
11228
11229static PyObject *_wrap_StyledTextCtrl_SetHotspotSingleLine(PyObject *self, PyObject *args, PyObject *kwargs) {
11230 PyObject *resultobj;
11231 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
11232 bool arg2 ;
11233 PyObject * obj0 = 0 ;
11234 PyObject * obj1 = 0 ;
11235 char *kwnames[] = {
11236 (char *) "self",(char *) "singleLine", NULL
11237 };
11238
11239 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetHotspotSingleLine",kwnames,&obj0,&obj1)) goto fail;
11240 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
11241 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11242 arg2 = (bool) SWIG_AsBool(obj1);
11243 if (PyErr_Occurred()) SWIG_fail;
11244 {
11245 PyThreadState* __tstate = wxPyBeginAllowThreads();
11246 (arg1)->SetHotspotSingleLine(arg2);
11247
11248 wxPyEndAllowThreads(__tstate);
11249 if (PyErr_Occurred()) SWIG_fail;
11250 }
11251 Py_INCREF(Py_None); resultobj = Py_None;
11252 return resultobj;
11253 fail:
11254 return NULL;
11255}
11256
11257
11258static PyObject *_wrap_StyledTextCtrl_ParaDown(PyObject *self, PyObject *args, PyObject *kwargs) {
11259 PyObject *resultobj;
11260 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
11261 PyObject * obj0 = 0 ;
11262 char *kwnames[] = {
11263 (char *) "self", NULL
11264 };
11265
11266 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_ParaDown",kwnames,&obj0)) goto fail;
11267 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
11268 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11269 {
11270 PyThreadState* __tstate = wxPyBeginAllowThreads();
11271 (arg1)->ParaDown();
11272
11273 wxPyEndAllowThreads(__tstate);
11274 if (PyErr_Occurred()) SWIG_fail;
11275 }
11276 Py_INCREF(Py_None); resultobj = Py_None;
11277 return resultobj;
11278 fail:
11279 return NULL;
11280}
11281
11282
11283static PyObject *_wrap_StyledTextCtrl_ParaDownExtend(PyObject *self, PyObject *args, PyObject *kwargs) {
11284 PyObject *resultobj;
11285 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
11286 PyObject * obj0 = 0 ;
11287 char *kwnames[] = {
11288 (char *) "self", NULL
11289 };
11290
11291 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_ParaDownExtend",kwnames,&obj0)) goto fail;
11292 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
11293 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11294 {
11295 PyThreadState* __tstate = wxPyBeginAllowThreads();
11296 (arg1)->ParaDownExtend();
11297
11298 wxPyEndAllowThreads(__tstate);
11299 if (PyErr_Occurred()) SWIG_fail;
11300 }
11301 Py_INCREF(Py_None); resultobj = Py_None;
11302 return resultobj;
11303 fail:
11304 return NULL;
11305}
11306
11307
11308static PyObject *_wrap_StyledTextCtrl_ParaUp(PyObject *self, PyObject *args, PyObject *kwargs) {
11309 PyObject *resultobj;
11310 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
11311 PyObject * obj0 = 0 ;
11312 char *kwnames[] = {
11313 (char *) "self", NULL
11314 };
11315
11316 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_ParaUp",kwnames,&obj0)) goto fail;
11317 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
11318 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11319 {
11320 PyThreadState* __tstate = wxPyBeginAllowThreads();
11321 (arg1)->ParaUp();
11322
11323 wxPyEndAllowThreads(__tstate);
11324 if (PyErr_Occurred()) SWIG_fail;
11325 }
11326 Py_INCREF(Py_None); resultobj = Py_None;
11327 return resultobj;
11328 fail:
11329 return NULL;
11330}
11331
11332
11333static PyObject *_wrap_StyledTextCtrl_ParaUpExtend(PyObject *self, PyObject *args, PyObject *kwargs) {
11334 PyObject *resultobj;
11335 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
11336 PyObject * obj0 = 0 ;
11337 char *kwnames[] = {
11338 (char *) "self", NULL
11339 };
11340
11341 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_ParaUpExtend",kwnames,&obj0)) goto fail;
11342 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
11343 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11344 {
11345 PyThreadState* __tstate = wxPyBeginAllowThreads();
11346 (arg1)->ParaUpExtend();
11347
11348 wxPyEndAllowThreads(__tstate);
11349 if (PyErr_Occurred()) SWIG_fail;
11350 }
11351 Py_INCREF(Py_None); resultobj = Py_None;
11352 return resultobj;
11353 fail:
11354 return NULL;
11355}
11356
11357
11358static PyObject *_wrap_StyledTextCtrl_PositionBefore(PyObject *self, PyObject *args, PyObject *kwargs) {
11359 PyObject *resultobj;
11360 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
11361 int arg2 ;
11362 int result;
11363 PyObject * obj0 = 0 ;
11364 PyObject * obj1 = 0 ;
11365 char *kwnames[] = {
11366 (char *) "self",(char *) "pos", NULL
11367 };
11368
11369 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_PositionBefore",kwnames,&obj0,&obj1)) goto fail;
11370 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
11371 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11372 arg2 = (int) SWIG_AsInt(obj1);
11373 if (PyErr_Occurred()) SWIG_fail;
11374 {
11375 PyThreadState* __tstate = wxPyBeginAllowThreads();
11376 result = (int)(arg1)->PositionBefore(arg2);
11377
11378 wxPyEndAllowThreads(__tstate);
11379 if (PyErr_Occurred()) SWIG_fail;
11380 }
11381 resultobj = SWIG_FromInt((int)result);
11382 return resultobj;
11383 fail:
11384 return NULL;
11385}
11386
11387
11388static PyObject *_wrap_StyledTextCtrl_PositionAfter(PyObject *self, PyObject *args, PyObject *kwargs) {
11389 PyObject *resultobj;
11390 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
11391 int arg2 ;
11392 int result;
11393 PyObject * obj0 = 0 ;
11394 PyObject * obj1 = 0 ;
11395 char *kwnames[] = {
11396 (char *) "self",(char *) "pos", NULL
11397 };
11398
11399 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_PositionAfter",kwnames,&obj0,&obj1)) goto fail;
11400 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
11401 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11402 arg2 = (int) SWIG_AsInt(obj1);
11403 if (PyErr_Occurred()) SWIG_fail;
11404 {
11405 PyThreadState* __tstate = wxPyBeginAllowThreads();
11406 result = (int)(arg1)->PositionAfter(arg2);
11407
11408 wxPyEndAllowThreads(__tstate);
11409 if (PyErr_Occurred()) SWIG_fail;
11410 }
11411 resultobj = SWIG_FromInt((int)result);
11412 return resultobj;
11413 fail:
11414 return NULL;
11415}
11416
11417
11418static PyObject *_wrap_StyledTextCtrl_CopyRange(PyObject *self, PyObject *args, PyObject *kwargs) {
11419 PyObject *resultobj;
11420 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
11421 int arg2 ;
11422 int arg3 ;
11423 PyObject * obj0 = 0 ;
11424 PyObject * obj1 = 0 ;
11425 PyObject * obj2 = 0 ;
11426 char *kwnames[] = {
11427 (char *) "self",(char *) "start",(char *) "end", NULL
11428 };
11429
11430 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_CopyRange",kwnames,&obj0,&obj1,&obj2)) goto fail;
11431 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
11432 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11433 arg2 = (int) SWIG_AsInt(obj1);
11434 if (PyErr_Occurred()) SWIG_fail;
11435 arg3 = (int) SWIG_AsInt(obj2);
11436 if (PyErr_Occurred()) SWIG_fail;
11437 {
11438 PyThreadState* __tstate = wxPyBeginAllowThreads();
11439 (arg1)->CopyRange(arg2,arg3);
11440
11441 wxPyEndAllowThreads(__tstate);
11442 if (PyErr_Occurred()) SWIG_fail;
11443 }
11444 Py_INCREF(Py_None); resultobj = Py_None;
11445 return resultobj;
11446 fail:
11447 return NULL;
11448}
11449
11450
11451static PyObject *_wrap_StyledTextCtrl_CopyText(PyObject *self, PyObject *args, PyObject *kwargs) {
11452 PyObject *resultobj;
11453 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
11454 int arg2 ;
11455 wxString *arg3 = 0 ;
11456 bool temp3 = False ;
11457 PyObject * obj0 = 0 ;
11458 PyObject * obj1 = 0 ;
11459 PyObject * obj2 = 0 ;
11460 char *kwnames[] = {
11461 (char *) "self",(char *) "length",(char *) "text", NULL
11462 };
11463
11464 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_CopyText",kwnames,&obj0,&obj1,&obj2)) goto fail;
11465 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
11466 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11467 arg2 = (int) SWIG_AsInt(obj1);
11468 if (PyErr_Occurred()) SWIG_fail;
11469 {
11470 arg3 = wxString_in_helper(obj2);
11471 if (arg3 == NULL) SWIG_fail;
11472 temp3 = True;
11473 }
11474 {
11475 PyThreadState* __tstate = wxPyBeginAllowThreads();
11476 (arg1)->CopyText(arg2,(wxString const &)*arg3);
11477
11478 wxPyEndAllowThreads(__tstate);
11479 if (PyErr_Occurred()) SWIG_fail;
11480 }
11481 Py_INCREF(Py_None); resultobj = Py_None;
11482 {
11483 if (temp3)
11484 delete arg3;
11485 }
11486 return resultobj;
11487 fail:
11488 {
11489 if (temp3)
11490 delete arg3;
11491 }
11492 return NULL;
11493}
11494
11495
11496static PyObject *_wrap_StyledTextCtrl_SetSelectionMode(PyObject *self, PyObject *args, PyObject *kwargs) {
11497 PyObject *resultobj;
11498 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
11499 int arg2 ;
11500 PyObject * obj0 = 0 ;
11501 PyObject * obj1 = 0 ;
11502 char *kwnames[] = {
11503 (char *) "self",(char *) "mode", NULL
11504 };
11505
11506 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetSelectionMode",kwnames,&obj0,&obj1)) goto fail;
11507 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
11508 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11509 arg2 = (int) SWIG_AsInt(obj1);
11510 if (PyErr_Occurred()) SWIG_fail;
11511 {
11512 PyThreadState* __tstate = wxPyBeginAllowThreads();
11513 (arg1)->SetSelectionMode(arg2);
11514
11515 wxPyEndAllowThreads(__tstate);
11516 if (PyErr_Occurred()) SWIG_fail;
11517 }
11518 Py_INCREF(Py_None); resultobj = Py_None;
11519 return resultobj;
11520 fail:
11521 return NULL;
11522}
11523
11524
11525static PyObject *_wrap_StyledTextCtrl_GetSelectionMode(PyObject *self, PyObject *args, PyObject *kwargs) {
11526 PyObject *resultobj;
11527 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
11528 int result;
11529 PyObject * obj0 = 0 ;
11530 char *kwnames[] = {
11531 (char *) "self", NULL
11532 };
11533
11534 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetSelectionMode",kwnames,&obj0)) goto fail;
11535 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
11536 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11537 {
11538 PyThreadState* __tstate = wxPyBeginAllowThreads();
11539 result = (int)(arg1)->GetSelectionMode();
11540
11541 wxPyEndAllowThreads(__tstate);
11542 if (PyErr_Occurred()) SWIG_fail;
11543 }
11544 resultobj = SWIG_FromInt((int)result);
11545 return resultobj;
11546 fail:
11547 return NULL;
11548}
11549
11550
11551static PyObject *_wrap_StyledTextCtrl_GetLineSelStartPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
11552 PyObject *resultobj;
11553 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
11554 int arg2 ;
11555 int result;
11556 PyObject * obj0 = 0 ;
11557 PyObject * obj1 = 0 ;
11558 char *kwnames[] = {
11559 (char *) "self",(char *) "line", NULL
11560 };
11561
11562 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GetLineSelStartPosition",kwnames,&obj0,&obj1)) goto fail;
11563 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
11564 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11565 arg2 = (int) SWIG_AsInt(obj1);
11566 if (PyErr_Occurred()) SWIG_fail;
11567 {
11568 PyThreadState* __tstate = wxPyBeginAllowThreads();
11569 result = (int)(arg1)->GetLineSelStartPosition(arg2);
11570
11571 wxPyEndAllowThreads(__tstate);
11572 if (PyErr_Occurred()) SWIG_fail;
11573 }
11574 resultobj = SWIG_FromInt((int)result);
11575 return resultobj;
11576 fail:
11577 return NULL;
11578}
11579
11580
11581static PyObject *_wrap_StyledTextCtrl_GetLineSelEndPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
11582 PyObject *resultobj;
11583 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
11584 int arg2 ;
11585 int result;
11586 PyObject * obj0 = 0 ;
11587 PyObject * obj1 = 0 ;
11588 char *kwnames[] = {
11589 (char *) "self",(char *) "line", NULL
11590 };
11591
11592 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GetLineSelEndPosition",kwnames,&obj0,&obj1)) goto fail;
11593 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
11594 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11595 arg2 = (int) SWIG_AsInt(obj1);
11596 if (PyErr_Occurred()) SWIG_fail;
11597 {
11598 PyThreadState* __tstate = wxPyBeginAllowThreads();
11599 result = (int)(arg1)->GetLineSelEndPosition(arg2);
11600
11601 wxPyEndAllowThreads(__tstate);
11602 if (PyErr_Occurred()) SWIG_fail;
11603 }
11604 resultobj = SWIG_FromInt((int)result);
11605 return resultobj;
11606 fail:
11607 return NULL;
11608}
11609
11610
11611static PyObject *_wrap_StyledTextCtrl_LineDownRectExtend(PyObject *self, PyObject *args, PyObject *kwargs) {
11612 PyObject *resultobj;
11613 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
11614 PyObject * obj0 = 0 ;
11615 char *kwnames[] = {
11616 (char *) "self", NULL
11617 };
11618
11619 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_LineDownRectExtend",kwnames,&obj0)) goto fail;
11620 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
11621 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11622 {
11623 PyThreadState* __tstate = wxPyBeginAllowThreads();
11624 (arg1)->LineDownRectExtend();
11625
11626 wxPyEndAllowThreads(__tstate);
11627 if (PyErr_Occurred()) SWIG_fail;
11628 }
11629 Py_INCREF(Py_None); resultobj = Py_None;
11630 return resultobj;
11631 fail:
11632 return NULL;
11633}
11634
11635
11636static PyObject *_wrap_StyledTextCtrl_LineUpRectExtend(PyObject *self, PyObject *args, PyObject *kwargs) {
11637 PyObject *resultobj;
11638 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
11639 PyObject * obj0 = 0 ;
11640 char *kwnames[] = {
11641 (char *) "self", NULL
11642 };
11643
11644 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_LineUpRectExtend",kwnames,&obj0)) goto fail;
11645 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
11646 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11647 {
11648 PyThreadState* __tstate = wxPyBeginAllowThreads();
11649 (arg1)->LineUpRectExtend();
11650
11651 wxPyEndAllowThreads(__tstate);
11652 if (PyErr_Occurred()) SWIG_fail;
11653 }
11654 Py_INCREF(Py_None); resultobj = Py_None;
11655 return resultobj;
11656 fail:
11657 return NULL;
11658}
11659
11660
11661static PyObject *_wrap_StyledTextCtrl_CharLeftRectExtend(PyObject *self, PyObject *args, PyObject *kwargs) {
11662 PyObject *resultobj;
11663 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
11664 PyObject * obj0 = 0 ;
11665 char *kwnames[] = {
11666 (char *) "self", NULL
11667 };
11668
11669 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_CharLeftRectExtend",kwnames,&obj0)) goto fail;
11670 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
11671 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11672 {
11673 PyThreadState* __tstate = wxPyBeginAllowThreads();
11674 (arg1)->CharLeftRectExtend();
11675
11676 wxPyEndAllowThreads(__tstate);
11677 if (PyErr_Occurred()) SWIG_fail;
11678 }
11679 Py_INCREF(Py_None); resultobj = Py_None;
11680 return resultobj;
11681 fail:
11682 return NULL;
11683}
11684
11685
11686static PyObject *_wrap_StyledTextCtrl_CharRightRectExtend(PyObject *self, PyObject *args, PyObject *kwargs) {
11687 PyObject *resultobj;
11688 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
11689 PyObject * obj0 = 0 ;
11690 char *kwnames[] = {
11691 (char *) "self", NULL
11692 };
11693
11694 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_CharRightRectExtend",kwnames,&obj0)) goto fail;
11695 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
11696 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11697 {
11698 PyThreadState* __tstate = wxPyBeginAllowThreads();
11699 (arg1)->CharRightRectExtend();
11700
11701 wxPyEndAllowThreads(__tstate);
11702 if (PyErr_Occurred()) SWIG_fail;
11703 }
11704 Py_INCREF(Py_None); resultobj = Py_None;
11705 return resultobj;
11706 fail:
11707 return NULL;
11708}
11709
11710
11711static PyObject *_wrap_StyledTextCtrl_HomeRectExtend(PyObject *self, PyObject *args, PyObject *kwargs) {
11712 PyObject *resultobj;
11713 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
11714 PyObject * obj0 = 0 ;
11715 char *kwnames[] = {
11716 (char *) "self", NULL
11717 };
11718
11719 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_HomeRectExtend",kwnames,&obj0)) goto fail;
11720 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
11721 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11722 {
11723 PyThreadState* __tstate = wxPyBeginAllowThreads();
11724 (arg1)->HomeRectExtend();
11725
11726 wxPyEndAllowThreads(__tstate);
11727 if (PyErr_Occurred()) SWIG_fail;
11728 }
11729 Py_INCREF(Py_None); resultobj = Py_None;
11730 return resultobj;
11731 fail:
11732 return NULL;
11733}
11734
11735
11736static PyObject *_wrap_StyledTextCtrl_VCHomeRectExtend(PyObject *self, PyObject *args, PyObject *kwargs) {
11737 PyObject *resultobj;
11738 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
11739 PyObject * obj0 = 0 ;
11740 char *kwnames[] = {
11741 (char *) "self", NULL
11742 };
11743
11744 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_VCHomeRectExtend",kwnames,&obj0)) goto fail;
11745 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
11746 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11747 {
11748 PyThreadState* __tstate = wxPyBeginAllowThreads();
11749 (arg1)->VCHomeRectExtend();
11750
11751 wxPyEndAllowThreads(__tstate);
11752 if (PyErr_Occurred()) SWIG_fail;
11753 }
11754 Py_INCREF(Py_None); resultobj = Py_None;
11755 return resultobj;
11756 fail:
11757 return NULL;
11758}
11759
11760
11761static PyObject *_wrap_StyledTextCtrl_LineEndRectExtend(PyObject *self, PyObject *args, PyObject *kwargs) {
11762 PyObject *resultobj;
11763 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
11764 PyObject * obj0 = 0 ;
11765 char *kwnames[] = {
11766 (char *) "self", NULL
11767 };
11768
11769 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_LineEndRectExtend",kwnames,&obj0)) goto fail;
11770 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
11771 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11772 {
11773 PyThreadState* __tstate = wxPyBeginAllowThreads();
11774 (arg1)->LineEndRectExtend();
11775
11776 wxPyEndAllowThreads(__tstate);
11777 if (PyErr_Occurred()) SWIG_fail;
11778 }
11779 Py_INCREF(Py_None); resultobj = Py_None;
11780 return resultobj;
11781 fail:
11782 return NULL;
11783}
11784
11785
11786static PyObject *_wrap_StyledTextCtrl_PageUpRectExtend(PyObject *self, PyObject *args, PyObject *kwargs) {
11787 PyObject *resultobj;
11788 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
11789 PyObject * obj0 = 0 ;
11790 char *kwnames[] = {
11791 (char *) "self", NULL
11792 };
11793
11794 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_PageUpRectExtend",kwnames,&obj0)) goto fail;
11795 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
11796 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11797 {
11798 PyThreadState* __tstate = wxPyBeginAllowThreads();
11799 (arg1)->PageUpRectExtend();
11800
11801 wxPyEndAllowThreads(__tstate);
11802 if (PyErr_Occurred()) SWIG_fail;
11803 }
11804 Py_INCREF(Py_None); resultobj = Py_None;
11805 return resultobj;
11806 fail:
11807 return NULL;
11808}
11809
11810
11811static PyObject *_wrap_StyledTextCtrl_PageDownRectExtend(PyObject *self, PyObject *args, PyObject *kwargs) {
11812 PyObject *resultobj;
11813 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
11814 PyObject * obj0 = 0 ;
11815 char *kwnames[] = {
11816 (char *) "self", NULL
11817 };
11818
11819 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_PageDownRectExtend",kwnames,&obj0)) goto fail;
11820 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
11821 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11822 {
11823 PyThreadState* __tstate = wxPyBeginAllowThreads();
11824 (arg1)->PageDownRectExtend();
11825
11826 wxPyEndAllowThreads(__tstate);
11827 if (PyErr_Occurred()) SWIG_fail;
11828 }
11829 Py_INCREF(Py_None); resultobj = Py_None;
11830 return resultobj;
11831 fail:
11832 return NULL;
11833}
11834
11835
11836static PyObject *_wrap_StyledTextCtrl_StutteredPageUp(PyObject *self, PyObject *args, PyObject *kwargs) {
11837 PyObject *resultobj;
11838 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
11839 PyObject * obj0 = 0 ;
11840 char *kwnames[] = {
11841 (char *) "self", NULL
11842 };
11843
11844 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_StutteredPageUp",kwnames,&obj0)) goto fail;
11845 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
11846 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11847 {
11848 PyThreadState* __tstate = wxPyBeginAllowThreads();
11849 (arg1)->StutteredPageUp();
11850
11851 wxPyEndAllowThreads(__tstate);
11852 if (PyErr_Occurred()) SWIG_fail;
11853 }
11854 Py_INCREF(Py_None); resultobj = Py_None;
11855 return resultobj;
11856 fail:
11857 return NULL;
11858}
11859
11860
11861static PyObject *_wrap_StyledTextCtrl_StutteredPageUpExtend(PyObject *self, PyObject *args, PyObject *kwargs) {
11862 PyObject *resultobj;
11863 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
11864 PyObject * obj0 = 0 ;
11865 char *kwnames[] = {
11866 (char *) "self", NULL
11867 };
11868
11869 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_StutteredPageUpExtend",kwnames,&obj0)) goto fail;
11870 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
11871 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11872 {
11873 PyThreadState* __tstate = wxPyBeginAllowThreads();
11874 (arg1)->StutteredPageUpExtend();
11875
11876 wxPyEndAllowThreads(__tstate);
11877 if (PyErr_Occurred()) SWIG_fail;
11878 }
11879 Py_INCREF(Py_None); resultobj = Py_None;
11880 return resultobj;
11881 fail:
11882 return NULL;
11883}
11884
11885
11886static PyObject *_wrap_StyledTextCtrl_StutteredPageDown(PyObject *self, PyObject *args, PyObject *kwargs) {
11887 PyObject *resultobj;
11888 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
11889 PyObject * obj0 = 0 ;
11890 char *kwnames[] = {
11891 (char *) "self", NULL
11892 };
11893
11894 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_StutteredPageDown",kwnames,&obj0)) goto fail;
11895 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
11896 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11897 {
11898 PyThreadState* __tstate = wxPyBeginAllowThreads();
11899 (arg1)->StutteredPageDown();
11900
11901 wxPyEndAllowThreads(__tstate);
11902 if (PyErr_Occurred()) SWIG_fail;
11903 }
11904 Py_INCREF(Py_None); resultobj = Py_None;
11905 return resultobj;
11906 fail:
11907 return NULL;
11908}
11909
11910
11911static PyObject *_wrap_StyledTextCtrl_StutteredPageDownExtend(PyObject *self, PyObject *args, PyObject *kwargs) {
11912 PyObject *resultobj;
11913 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
11914 PyObject * obj0 = 0 ;
11915 char *kwnames[] = {
11916 (char *) "self", NULL
11917 };
11918
11919 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_StutteredPageDownExtend",kwnames,&obj0)) goto fail;
11920 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
11921 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11922 {
11923 PyThreadState* __tstate = wxPyBeginAllowThreads();
11924 (arg1)->StutteredPageDownExtend();
11925
11926 wxPyEndAllowThreads(__tstate);
11927 if (PyErr_Occurred()) SWIG_fail;
11928 }
11929 Py_INCREF(Py_None); resultobj = Py_None;
11930 return resultobj;
11931 fail:
11932 return NULL;
11933}
11934
11935
11936static PyObject *_wrap_StyledTextCtrl_WordLeftEnd(PyObject *self, PyObject *args, PyObject *kwargs) {
11937 PyObject *resultobj;
11938 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
11939 PyObject * obj0 = 0 ;
11940 char *kwnames[] = {
11941 (char *) "self", NULL
11942 };
11943
11944 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_WordLeftEnd",kwnames,&obj0)) goto fail;
11945 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
11946 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11947 {
11948 PyThreadState* __tstate = wxPyBeginAllowThreads();
11949 (arg1)->WordLeftEnd();
11950
11951 wxPyEndAllowThreads(__tstate);
11952 if (PyErr_Occurred()) SWIG_fail;
11953 }
11954 Py_INCREF(Py_None); resultobj = Py_None;
11955 return resultobj;
11956 fail:
11957 return NULL;
11958}
11959
11960
11961static PyObject *_wrap_StyledTextCtrl_WordLeftEndExtend(PyObject *self, PyObject *args, PyObject *kwargs) {
11962 PyObject *resultobj;
11963 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
11964 PyObject * obj0 = 0 ;
11965 char *kwnames[] = {
11966 (char *) "self", NULL
11967 };
11968
11969 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_WordLeftEndExtend",kwnames,&obj0)) goto fail;
11970 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
11971 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11972 {
11973 PyThreadState* __tstate = wxPyBeginAllowThreads();
11974 (arg1)->WordLeftEndExtend();
11975
11976 wxPyEndAllowThreads(__tstate);
11977 if (PyErr_Occurred()) SWIG_fail;
11978 }
11979 Py_INCREF(Py_None); resultobj = Py_None;
11980 return resultobj;
11981 fail:
11982 return NULL;
11983}
11984
11985
11986static PyObject *_wrap_StyledTextCtrl_WordRightEnd(PyObject *self, PyObject *args, PyObject *kwargs) {
11987 PyObject *resultobj;
11988 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
11989 PyObject * obj0 = 0 ;
11990 char *kwnames[] = {
11991 (char *) "self", NULL
11992 };
11993
11994 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_WordRightEnd",kwnames,&obj0)) goto fail;
11995 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
11996 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11997 {
11998 PyThreadState* __tstate = wxPyBeginAllowThreads();
11999 (arg1)->WordRightEnd();
12000
12001 wxPyEndAllowThreads(__tstate);
12002 if (PyErr_Occurred()) SWIG_fail;
12003 }
12004 Py_INCREF(Py_None); resultobj = Py_None;
12005 return resultobj;
12006 fail:
12007 return NULL;
12008}
12009
12010
12011static PyObject *_wrap_StyledTextCtrl_WordRightEndExtend(PyObject *self, PyObject *args, PyObject *kwargs) {
12012 PyObject *resultobj;
12013 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
12014 PyObject * obj0 = 0 ;
12015 char *kwnames[] = {
12016 (char *) "self", NULL
12017 };
12018
12019 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_WordRightEndExtend",kwnames,&obj0)) goto fail;
12020 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
12021 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12022 {
12023 PyThreadState* __tstate = wxPyBeginAllowThreads();
12024 (arg1)->WordRightEndExtend();
12025
12026 wxPyEndAllowThreads(__tstate);
12027 if (PyErr_Occurred()) SWIG_fail;
12028 }
12029 Py_INCREF(Py_None); resultobj = Py_None;
12030 return resultobj;
12031 fail:
12032 return NULL;
12033}
12034
12035
12036static PyObject *_wrap_StyledTextCtrl_SetWhitespaceChars(PyObject *self, PyObject *args, PyObject *kwargs) {
12037 PyObject *resultobj;
12038 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
12039 wxString *arg2 = 0 ;
12040 bool temp2 = False ;
12041 PyObject * obj0 = 0 ;
12042 PyObject * obj1 = 0 ;
12043 char *kwnames[] = {
12044 (char *) "self",(char *) "characters", NULL
12045 };
12046
12047 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetWhitespaceChars",kwnames,&obj0,&obj1)) goto fail;
12048 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
12049 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12050 {
12051 arg2 = wxString_in_helper(obj1);
12052 if (arg2 == NULL) SWIG_fail;
12053 temp2 = True;
12054 }
12055 {
12056 PyThreadState* __tstate = wxPyBeginAllowThreads();
12057 (arg1)->SetWhitespaceChars((wxString const &)*arg2);
12058
12059 wxPyEndAllowThreads(__tstate);
12060 if (PyErr_Occurred()) SWIG_fail;
12061 }
12062 Py_INCREF(Py_None); resultobj = Py_None;
12063 {
12064 if (temp2)
12065 delete arg2;
12066 }
12067 return resultobj;
12068 fail:
12069 {
12070 if (temp2)
12071 delete arg2;
12072 }
12073 return NULL;
12074}
12075
12076
12077static PyObject *_wrap_StyledTextCtrl_SetCharsDefault(PyObject *self, PyObject *args, PyObject *kwargs) {
12078 PyObject *resultobj;
12079 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
12080 PyObject * obj0 = 0 ;
12081 char *kwnames[] = {
12082 (char *) "self", NULL
12083 };
12084
12085 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_SetCharsDefault",kwnames,&obj0)) goto fail;
12086 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
12087 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12088 {
12089 PyThreadState* __tstate = wxPyBeginAllowThreads();
12090 (arg1)->SetCharsDefault();
12091
12092 wxPyEndAllowThreads(__tstate);
12093 if (PyErr_Occurred()) SWIG_fail;
12094 }
12095 Py_INCREF(Py_None); resultobj = Py_None;
12096 return resultobj;
12097 fail:
12098 return NULL;
12099}
12100
12101
12102static PyObject *_wrap_StyledTextCtrl_AutoCompGetCurrent(PyObject *self, PyObject *args, PyObject *kwargs) {
12103 PyObject *resultobj;
12104 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
12105 int result;
12106 PyObject * obj0 = 0 ;
12107 char *kwnames[] = {
12108 (char *) "self", NULL
12109 };
12110
12111 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_AutoCompGetCurrent",kwnames,&obj0)) goto fail;
12112 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
12113 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12114 {
12115 PyThreadState* __tstate = wxPyBeginAllowThreads();
12116 result = (int)(arg1)->AutoCompGetCurrent();
12117
12118 wxPyEndAllowThreads(__tstate);
12119 if (PyErr_Occurred()) SWIG_fail;
12120 }
12121 resultobj = SWIG_FromInt((int)result);
12122 return resultobj;
12123 fail:
12124 return NULL;
12125}
12126
12127
12128static PyObject *_wrap_StyledTextCtrl_StartRecord(PyObject *self, PyObject *args, PyObject *kwargs) {
12129 PyObject *resultobj;
12130 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
12131 PyObject * obj0 = 0 ;
12132 char *kwnames[] = {
12133 (char *) "self", NULL
12134 };
12135
12136 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_StartRecord",kwnames,&obj0)) goto fail;
12137 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
12138 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12139 {
12140 PyThreadState* __tstate = wxPyBeginAllowThreads();
12141 (arg1)->StartRecord();
12142
12143 wxPyEndAllowThreads(__tstate);
12144 if (PyErr_Occurred()) SWIG_fail;
12145 }
12146 Py_INCREF(Py_None); resultobj = Py_None;
12147 return resultobj;
12148 fail:
12149 return NULL;
12150}
12151
12152
12153static PyObject *_wrap_StyledTextCtrl_StopRecord(PyObject *self, PyObject *args, PyObject *kwargs) {
12154 PyObject *resultobj;
12155 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
12156 PyObject * obj0 = 0 ;
12157 char *kwnames[] = {
12158 (char *) "self", NULL
12159 };
12160
12161 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_StopRecord",kwnames,&obj0)) goto fail;
12162 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
12163 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12164 {
12165 PyThreadState* __tstate = wxPyBeginAllowThreads();
12166 (arg1)->StopRecord();
12167
12168 wxPyEndAllowThreads(__tstate);
12169 if (PyErr_Occurred()) SWIG_fail;
12170 }
12171 Py_INCREF(Py_None); resultobj = Py_None;
12172 return resultobj;
12173 fail:
12174 return NULL;
12175}
12176
12177
12178static PyObject *_wrap_StyledTextCtrl_SetLexer(PyObject *self, PyObject *args, PyObject *kwargs) {
12179 PyObject *resultobj;
12180 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
12181 int arg2 ;
12182 PyObject * obj0 = 0 ;
12183 PyObject * obj1 = 0 ;
12184 char *kwnames[] = {
12185 (char *) "self",(char *) "lexer", NULL
12186 };
12187
12188 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetLexer",kwnames,&obj0,&obj1)) goto fail;
12189 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
12190 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12191 arg2 = (int) SWIG_AsInt(obj1);
12192 if (PyErr_Occurred()) SWIG_fail;
12193 {
12194 PyThreadState* __tstate = wxPyBeginAllowThreads();
12195 (arg1)->SetLexer(arg2);
12196
12197 wxPyEndAllowThreads(__tstate);
12198 if (PyErr_Occurred()) SWIG_fail;
12199 }
12200 Py_INCREF(Py_None); resultobj = Py_None;
12201 return resultobj;
12202 fail:
12203 return NULL;
12204}
12205
12206
12207static PyObject *_wrap_StyledTextCtrl_GetLexer(PyObject *self, PyObject *args, PyObject *kwargs) {
12208 PyObject *resultobj;
12209 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
12210 int result;
12211 PyObject * obj0 = 0 ;
12212 char *kwnames[] = {
12213 (char *) "self", NULL
12214 };
12215
12216 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetLexer",kwnames,&obj0)) goto fail;
12217 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
12218 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12219 {
12220 PyThreadState* __tstate = wxPyBeginAllowThreads();
12221 result = (int)(arg1)->GetLexer();
12222
12223 wxPyEndAllowThreads(__tstate);
12224 if (PyErr_Occurred()) SWIG_fail;
12225 }
12226 resultobj = SWIG_FromInt((int)result);
12227 return resultobj;
12228 fail:
12229 return NULL;
12230}
12231
12232
12233static PyObject *_wrap_StyledTextCtrl_Colourise(PyObject *self, PyObject *args, PyObject *kwargs) {
12234 PyObject *resultobj;
12235 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
12236 int arg2 ;
12237 int arg3 ;
12238 PyObject * obj0 = 0 ;
12239 PyObject * obj1 = 0 ;
12240 PyObject * obj2 = 0 ;
12241 char *kwnames[] = {
12242 (char *) "self",(char *) "start",(char *) "end", NULL
12243 };
12244
12245 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_Colourise",kwnames,&obj0,&obj1,&obj2)) goto fail;
12246 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
12247 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12248 arg2 = (int) SWIG_AsInt(obj1);
12249 if (PyErr_Occurred()) SWIG_fail;
12250 arg3 = (int) SWIG_AsInt(obj2);
12251 if (PyErr_Occurred()) SWIG_fail;
12252 {
12253 PyThreadState* __tstate = wxPyBeginAllowThreads();
12254 (arg1)->Colourise(arg2,arg3);
12255
12256 wxPyEndAllowThreads(__tstate);
12257 if (PyErr_Occurred()) SWIG_fail;
12258 }
12259 Py_INCREF(Py_None); resultobj = Py_None;
12260 return resultobj;
12261 fail:
12262 return NULL;
12263}
12264
12265
12266static PyObject *_wrap_StyledTextCtrl_SetProperty(PyObject *self, PyObject *args, PyObject *kwargs) {
12267 PyObject *resultobj;
12268 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
12269 wxString *arg2 = 0 ;
12270 wxString *arg3 = 0 ;
12271 bool temp2 = False ;
12272 bool temp3 = False ;
12273 PyObject * obj0 = 0 ;
12274 PyObject * obj1 = 0 ;
12275 PyObject * obj2 = 0 ;
12276 char *kwnames[] = {
12277 (char *) "self",(char *) "key",(char *) "value", NULL
12278 };
12279
12280 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetProperty",kwnames,&obj0,&obj1,&obj2)) goto fail;
12281 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
12282 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12283 {
12284 arg2 = wxString_in_helper(obj1);
12285 if (arg2 == NULL) SWIG_fail;
12286 temp2 = True;
12287 }
12288 {
12289 arg3 = wxString_in_helper(obj2);
12290 if (arg3 == NULL) SWIG_fail;
12291 temp3 = True;
12292 }
12293 {
12294 PyThreadState* __tstate = wxPyBeginAllowThreads();
12295 (arg1)->SetProperty((wxString const &)*arg2,(wxString const &)*arg3);
12296
12297 wxPyEndAllowThreads(__tstate);
12298 if (PyErr_Occurred()) SWIG_fail;
12299 }
12300 Py_INCREF(Py_None); resultobj = Py_None;
12301 {
12302 if (temp2)
12303 delete arg2;
12304 }
12305 {
12306 if (temp3)
12307 delete arg3;
12308 }
12309 return resultobj;
12310 fail:
12311 {
12312 if (temp2)
12313 delete arg2;
12314 }
12315 {
12316 if (temp3)
12317 delete arg3;
12318 }
12319 return NULL;
12320}
12321
12322
12323static PyObject *_wrap_StyledTextCtrl_SetKeyWords(PyObject *self, PyObject *args, PyObject *kwargs) {
12324 PyObject *resultobj;
12325 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
12326 int arg2 ;
12327 wxString *arg3 = 0 ;
12328 bool temp3 = False ;
12329 PyObject * obj0 = 0 ;
12330 PyObject * obj1 = 0 ;
12331 PyObject * obj2 = 0 ;
12332 char *kwnames[] = {
12333 (char *) "self",(char *) "keywordSet",(char *) "keyWords", NULL
12334 };
12335
12336 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetKeyWords",kwnames,&obj0,&obj1,&obj2)) goto fail;
12337 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
12338 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12339 arg2 = (int) SWIG_AsInt(obj1);
12340 if (PyErr_Occurred()) SWIG_fail;
12341 {
12342 arg3 = wxString_in_helper(obj2);
12343 if (arg3 == NULL) SWIG_fail;
12344 temp3 = True;
12345 }
12346 {
12347 PyThreadState* __tstate = wxPyBeginAllowThreads();
12348 (arg1)->SetKeyWords(arg2,(wxString const &)*arg3);
12349
12350 wxPyEndAllowThreads(__tstate);
12351 if (PyErr_Occurred()) SWIG_fail;
12352 }
12353 Py_INCREF(Py_None); resultobj = Py_None;
12354 {
12355 if (temp3)
12356 delete arg3;
12357 }
12358 return resultobj;
12359 fail:
12360 {
12361 if (temp3)
12362 delete arg3;
12363 }
12364 return NULL;
12365}
12366
12367
12368static PyObject *_wrap_StyledTextCtrl_SetLexerLanguage(PyObject *self, PyObject *args, PyObject *kwargs) {
12369 PyObject *resultobj;
12370 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
12371 wxString *arg2 = 0 ;
12372 bool temp2 = False ;
12373 PyObject * obj0 = 0 ;
12374 PyObject * obj1 = 0 ;
12375 char *kwnames[] = {
12376 (char *) "self",(char *) "language", NULL
12377 };
12378
12379 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetLexerLanguage",kwnames,&obj0,&obj1)) goto fail;
12380 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
12381 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12382 {
12383 arg2 = wxString_in_helper(obj1);
12384 if (arg2 == NULL) SWIG_fail;
12385 temp2 = True;
12386 }
12387 {
12388 PyThreadState* __tstate = wxPyBeginAllowThreads();
12389 (arg1)->SetLexerLanguage((wxString const &)*arg2);
12390
12391 wxPyEndAllowThreads(__tstate);
12392 if (PyErr_Occurred()) SWIG_fail;
12393 }
12394 Py_INCREF(Py_None); resultobj = Py_None;
12395 {
12396 if (temp2)
12397 delete arg2;
12398 }
12399 return resultobj;
12400 fail:
12401 {
12402 if (temp2)
12403 delete arg2;
12404 }
12405 return NULL;
12406}
12407
12408
12409static PyObject *_wrap_StyledTextCtrl_GetCurrentLine(PyObject *self, PyObject *args, PyObject *kwargs) {
12410 PyObject *resultobj;
12411 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
12412 int result;
12413 PyObject * obj0 = 0 ;
12414 char *kwnames[] = {
12415 (char *) "self", NULL
12416 };
12417
12418 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetCurrentLine",kwnames,&obj0)) goto fail;
12419 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
12420 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12421 {
12422 PyThreadState* __tstate = wxPyBeginAllowThreads();
12423 result = (int)(arg1)->GetCurrentLine();
12424
12425 wxPyEndAllowThreads(__tstate);
12426 if (PyErr_Occurred()) SWIG_fail;
12427 }
12428 resultobj = SWIG_FromInt((int)result);
12429 return resultobj;
12430 fail:
12431 return NULL;
12432}
12433
12434
12435static PyObject *_wrap_StyledTextCtrl_StyleSetSpec(PyObject *self, PyObject *args, PyObject *kwargs) {
12436 PyObject *resultobj;
12437 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
12438 int arg2 ;
12439 wxString *arg3 = 0 ;
12440 bool temp3 = False ;
12441 PyObject * obj0 = 0 ;
12442 PyObject * obj1 = 0 ;
12443 PyObject * obj2 = 0 ;
12444 char *kwnames[] = {
12445 (char *) "self",(char *) "styleNum",(char *) "spec", NULL
12446 };
12447
12448 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_StyleSetSpec",kwnames,&obj0,&obj1,&obj2)) goto fail;
12449 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
12450 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12451 arg2 = (int) SWIG_AsInt(obj1);
12452 if (PyErr_Occurred()) SWIG_fail;
12453 {
12454 arg3 = wxString_in_helper(obj2);
12455 if (arg3 == NULL) SWIG_fail;
12456 temp3 = True;
12457 }
12458 {
12459 PyThreadState* __tstate = wxPyBeginAllowThreads();
12460 (arg1)->StyleSetSpec(arg2,(wxString const &)*arg3);
12461
12462 wxPyEndAllowThreads(__tstate);
12463 if (PyErr_Occurred()) SWIG_fail;
12464 }
12465 Py_INCREF(Py_None); resultobj = Py_None;
12466 {
12467 if (temp3)
12468 delete arg3;
12469 }
12470 return resultobj;
12471 fail:
12472 {
12473 if (temp3)
12474 delete arg3;
12475 }
12476 return NULL;
12477}
12478
12479
12480static PyObject *_wrap_StyledTextCtrl_StyleSetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
12481 PyObject *resultobj;
12482 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
12483 int arg2 ;
12484 wxFont *arg3 = 0 ;
12485 PyObject * obj0 = 0 ;
12486 PyObject * obj1 = 0 ;
12487 PyObject * obj2 = 0 ;
12488 char *kwnames[] = {
12489 (char *) "self",(char *) "styleNum",(char *) "font", NULL
12490 };
12491
12492 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_StyleSetFont",kwnames,&obj0,&obj1,&obj2)) goto fail;
12493 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
12494 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12495 arg2 = (int) SWIG_AsInt(obj1);
12496 if (PyErr_Occurred()) SWIG_fail;
12497 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxFont,
12498 SWIG_POINTER_EXCEPTION | 0)) == -1)
12499 SWIG_fail;
12500 if (arg3 == NULL) {
12501 PyErr_SetString(PyExc_TypeError,"null reference");
12502 SWIG_fail;
12503 }
12504 {
12505 PyThreadState* __tstate = wxPyBeginAllowThreads();
12506 (arg1)->StyleSetFont(arg2,*arg3);
12507
12508 wxPyEndAllowThreads(__tstate);
12509 if (PyErr_Occurred()) SWIG_fail;
12510 }
12511 Py_INCREF(Py_None); resultobj = Py_None;
12512 return resultobj;
12513 fail:
12514 return NULL;
12515}
12516
12517
12518static PyObject *_wrap_StyledTextCtrl_StyleSetFontAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
12519 PyObject *resultobj;
12520 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
12521 int arg2 ;
12522 int arg3 ;
12523 wxString *arg4 = 0 ;
12524 bool arg5 ;
12525 bool arg6 ;
12526 bool arg7 ;
12527 bool temp4 = False ;
12528 PyObject * obj0 = 0 ;
12529 PyObject * obj1 = 0 ;
12530 PyObject * obj2 = 0 ;
12531 PyObject * obj3 = 0 ;
12532 PyObject * obj4 = 0 ;
12533 PyObject * obj5 = 0 ;
12534 PyObject * obj6 = 0 ;
12535 char *kwnames[] = {
12536 (char *) "self",(char *) "styleNum",(char *) "size",(char *) "faceName",(char *) "bold",(char *) "italic",(char *) "underline", NULL
12537 };
12538
12539 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOOO:StyledTextCtrl_StyleSetFontAttr",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
12540 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
12541 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12542 arg2 = (int) SWIG_AsInt(obj1);
12543 if (PyErr_Occurred()) SWIG_fail;
12544 arg3 = (int) SWIG_AsInt(obj2);
12545 if (PyErr_Occurred()) SWIG_fail;
12546 {
12547 arg4 = wxString_in_helper(obj3);
12548 if (arg4 == NULL) SWIG_fail;
12549 temp4 = True;
12550 }
12551 arg5 = (bool) SWIG_AsBool(obj4);
12552 if (PyErr_Occurred()) SWIG_fail;
12553 arg6 = (bool) SWIG_AsBool(obj5);
12554 if (PyErr_Occurred()) SWIG_fail;
12555 arg7 = (bool) SWIG_AsBool(obj6);
12556 if (PyErr_Occurred()) SWIG_fail;
12557 {
12558 PyThreadState* __tstate = wxPyBeginAllowThreads();
12559 (arg1)->StyleSetFontAttr(arg2,arg3,(wxString const &)*arg4,arg5,arg6,arg7);
12560
12561 wxPyEndAllowThreads(__tstate);
12562 if (PyErr_Occurred()) SWIG_fail;
12563 }
12564 Py_INCREF(Py_None); resultobj = Py_None;
12565 {
12566 if (temp4)
12567 delete arg4;
12568 }
12569 return resultobj;
12570 fail:
12571 {
12572 if (temp4)
12573 delete arg4;
12574 }
12575 return NULL;
12576}
12577
12578
12579static PyObject *_wrap_StyledTextCtrl_CmdKeyExecute(PyObject *self, PyObject *args, PyObject *kwargs) {
12580 PyObject *resultobj;
12581 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
12582 int arg2 ;
12583 PyObject * obj0 = 0 ;
12584 PyObject * obj1 = 0 ;
12585 char *kwnames[] = {
12586 (char *) "self",(char *) "cmd", NULL
12587 };
12588
12589 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_CmdKeyExecute",kwnames,&obj0,&obj1)) goto fail;
12590 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
12591 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12592 arg2 = (int) SWIG_AsInt(obj1);
12593 if (PyErr_Occurred()) SWIG_fail;
12594 {
12595 PyThreadState* __tstate = wxPyBeginAllowThreads();
12596 (arg1)->CmdKeyExecute(arg2);
12597
12598 wxPyEndAllowThreads(__tstate);
12599 if (PyErr_Occurred()) SWIG_fail;
12600 }
12601 Py_INCREF(Py_None); resultobj = Py_None;
12602 return resultobj;
12603 fail:
12604 return NULL;
12605}
12606
12607
12608static PyObject *_wrap_StyledTextCtrl_SetMargins(PyObject *self, PyObject *args, PyObject *kwargs) {
12609 PyObject *resultobj;
12610 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
12611 int arg2 ;
12612 int arg3 ;
12613 PyObject * obj0 = 0 ;
12614 PyObject * obj1 = 0 ;
12615 PyObject * obj2 = 0 ;
12616 char *kwnames[] = {
12617 (char *) "self",(char *) "left",(char *) "right", NULL
12618 };
12619
12620 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetMargins",kwnames,&obj0,&obj1,&obj2)) goto fail;
12621 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
12622 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12623 arg2 = (int) SWIG_AsInt(obj1);
12624 if (PyErr_Occurred()) SWIG_fail;
12625 arg3 = (int) SWIG_AsInt(obj2);
12626 if (PyErr_Occurred()) SWIG_fail;
12627 {
12628 PyThreadState* __tstate = wxPyBeginAllowThreads();
12629 (arg1)->SetMargins(arg2,arg3);
12630
12631 wxPyEndAllowThreads(__tstate);
12632 if (PyErr_Occurred()) SWIG_fail;
12633 }
12634 Py_INCREF(Py_None); resultobj = Py_None;
12635 return resultobj;
12636 fail:
12637 return NULL;
12638}
12639
12640
12641static PyObject *_wrap_StyledTextCtrl_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
12642 PyObject *resultobj;
12643 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
12644 int *arg2 = (int *) 0 ;
12645 int *arg3 = (int *) 0 ;
12646 int temp2 ;
12647 int temp3 ;
12648 PyObject * obj0 = 0 ;
12649 char *kwnames[] = {
12650 (char *) "self", NULL
12651 };
12652
12653 arg2 = &temp2;
12654 arg3 = &temp3;
12655 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetSelection",kwnames,&obj0)) goto fail;
12656 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
12657 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12658 {
12659 PyThreadState* __tstate = wxPyBeginAllowThreads();
12660 (arg1)->GetSelection(arg2,arg3);
12661
12662 wxPyEndAllowThreads(__tstate);
12663 if (PyErr_Occurred()) SWIG_fail;
12664 }
12665 Py_INCREF(Py_None); resultobj = Py_None;
12666 {
12667 PyObject *o = PyInt_FromLong((long) (*arg2));
12668 resultobj = t_output_helper(resultobj,o);
12669 }
12670 {
12671 PyObject *o = PyInt_FromLong((long) (*arg3));
12672 resultobj = t_output_helper(resultobj,o);
12673 }
12674 return resultobj;
12675 fail:
12676 return NULL;
12677}
12678
12679
12680static PyObject *_wrap_StyledTextCtrl_PointFromPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
12681 PyObject *resultobj;
12682 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
12683 int arg2 ;
12684 wxPoint result;
12685 PyObject * obj0 = 0 ;
12686 PyObject * obj1 = 0 ;
12687 char *kwnames[] = {
12688 (char *) "self",(char *) "pos", NULL
12689 };
12690
12691 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_PointFromPosition",kwnames,&obj0,&obj1)) goto fail;
12692 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
12693 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12694 arg2 = (int) SWIG_AsInt(obj1);
12695 if (PyErr_Occurred()) SWIG_fail;
12696 {
12697 PyThreadState* __tstate = wxPyBeginAllowThreads();
12698 result = (arg1)->PointFromPosition(arg2);
12699
12700 wxPyEndAllowThreads(__tstate);
12701 if (PyErr_Occurred()) SWIG_fail;
12702 }
12703 {
12704 wxPoint * resultptr;
12705 resultptr = new wxPoint((wxPoint &) result);
12706 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
12707 }
12708 return resultobj;
12709 fail:
12710 return NULL;
12711}
12712
12713
12714static PyObject *_wrap_StyledTextCtrl_ScrollToLine(PyObject *self, PyObject *args, PyObject *kwargs) {
12715 PyObject *resultobj;
12716 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
12717 int arg2 ;
12718 PyObject * obj0 = 0 ;
12719 PyObject * obj1 = 0 ;
12720 char *kwnames[] = {
12721 (char *) "self",(char *) "line", NULL
12722 };
12723
12724 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_ScrollToLine",kwnames,&obj0,&obj1)) goto fail;
12725 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
12726 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12727 arg2 = (int) SWIG_AsInt(obj1);
12728 if (PyErr_Occurred()) SWIG_fail;
12729 {
12730 PyThreadState* __tstate = wxPyBeginAllowThreads();
12731 (arg1)->ScrollToLine(arg2);
12732
12733 wxPyEndAllowThreads(__tstate);
12734 if (PyErr_Occurred()) SWIG_fail;
12735 }
12736 Py_INCREF(Py_None); resultobj = Py_None;
12737 return resultobj;
12738 fail:
12739 return NULL;
12740}
12741
12742
12743static PyObject *_wrap_StyledTextCtrl_ScrollToColumn(PyObject *self, PyObject *args, PyObject *kwargs) {
12744 PyObject *resultobj;
12745 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
12746 int arg2 ;
12747 PyObject * obj0 = 0 ;
12748 PyObject * obj1 = 0 ;
12749 char *kwnames[] = {
12750 (char *) "self",(char *) "column", NULL
12751 };
12752
12753 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_ScrollToColumn",kwnames,&obj0,&obj1)) goto fail;
12754 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
12755 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12756 arg2 = (int) SWIG_AsInt(obj1);
12757 if (PyErr_Occurred()) SWIG_fail;
12758 {
12759 PyThreadState* __tstate = wxPyBeginAllowThreads();
12760 (arg1)->ScrollToColumn(arg2);
12761
12762 wxPyEndAllowThreads(__tstate);
12763 if (PyErr_Occurred()) SWIG_fail;
12764 }
12765 Py_INCREF(Py_None); resultobj = Py_None;
12766 return resultobj;
12767 fail:
12768 return NULL;
12769}
12770
12771
12772static PyObject *_wrap_StyledTextCtrl_SendMsg(PyObject *self, PyObject *args, PyObject *kwargs) {
12773 PyObject *resultobj;
12774 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
12775 int arg2 ;
12776 long arg3 = (long) 0 ;
12777 long arg4 = (long) 0 ;
12778 long result;
12779 PyObject * obj0 = 0 ;
12780 PyObject * obj1 = 0 ;
12781 PyObject * obj2 = 0 ;
12782 PyObject * obj3 = 0 ;
12783 char *kwnames[] = {
12784 (char *) "self",(char *) "msg",(char *) "wp",(char *) "lp", NULL
12785 };
12786
12787 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:StyledTextCtrl_SendMsg",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
12788 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
12789 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12790 arg2 = (int) SWIG_AsInt(obj1);
12791 if (PyErr_Occurred()) SWIG_fail;
12792 if (obj2) {
12793 arg3 = (long) SWIG_AsLong(obj2);
12794 if (PyErr_Occurred()) SWIG_fail;
12795 }
12796 if (obj3) {
12797 arg4 = (long) SWIG_AsLong(obj3);
12798 if (PyErr_Occurred()) SWIG_fail;
12799 }
12800 {
12801 PyThreadState* __tstate = wxPyBeginAllowThreads();
12802 result = (long)(arg1)->SendMsg(arg2,arg3,arg4);
12803
12804 wxPyEndAllowThreads(__tstate);
12805 if (PyErr_Occurred()) SWIG_fail;
12806 }
12807 resultobj = SWIG_FromLong((long)result);
12808 return resultobj;
12809 fail:
12810 return NULL;
12811}
12812
12813
12814static PyObject *_wrap_StyledTextCtrl_SetVScrollBar(PyObject *self, PyObject *args, PyObject *kwargs) {
12815 PyObject *resultobj;
12816 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
12817 wxScrollBar *arg2 = (wxScrollBar *) 0 ;
12818 PyObject * obj0 = 0 ;
12819 PyObject * obj1 = 0 ;
12820 char *kwnames[] = {
12821 (char *) "self",(char *) "bar", NULL
12822 };
12823
12824 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetVScrollBar",kwnames,&obj0,&obj1)) goto fail;
12825 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
12826 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12827 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxScrollBar,
12828 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12829 {
12830 PyThreadState* __tstate = wxPyBeginAllowThreads();
12831 (arg1)->SetVScrollBar(arg2);
12832
12833 wxPyEndAllowThreads(__tstate);
12834 if (PyErr_Occurred()) SWIG_fail;
12835 }
12836 Py_INCREF(Py_None); resultobj = Py_None;
12837 return resultobj;
12838 fail:
12839 return NULL;
12840}
12841
12842
12843static PyObject *_wrap_StyledTextCtrl_SetHScrollBar(PyObject *self, PyObject *args, PyObject *kwargs) {
12844 PyObject *resultobj;
12845 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
12846 wxScrollBar *arg2 = (wxScrollBar *) 0 ;
12847 PyObject * obj0 = 0 ;
12848 PyObject * obj1 = 0 ;
12849 char *kwnames[] = {
12850 (char *) "self",(char *) "bar", NULL
12851 };
12852
12853 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetHScrollBar",kwnames,&obj0,&obj1)) goto fail;
12854 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
12855 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12856 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxScrollBar,
12857 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12858 {
12859 PyThreadState* __tstate = wxPyBeginAllowThreads();
12860 (arg1)->SetHScrollBar(arg2);
12861
12862 wxPyEndAllowThreads(__tstate);
12863 if (PyErr_Occurred()) SWIG_fail;
12864 }
12865 Py_INCREF(Py_None); resultobj = Py_None;
12866 return resultobj;
12867 fail:
12868 return NULL;
12869}
12870
12871
12872static PyObject *_wrap_StyledTextCtrl_GetLastKeydownProcessed(PyObject *self, PyObject *args, PyObject *kwargs) {
12873 PyObject *resultobj;
12874 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
12875 bool result;
12876 PyObject * obj0 = 0 ;
12877 char *kwnames[] = {
12878 (char *) "self", NULL
12879 };
12880
12881 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetLastKeydownProcessed",kwnames,&obj0)) goto fail;
12882 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
12883 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12884 {
12885 PyThreadState* __tstate = wxPyBeginAllowThreads();
12886 result = (bool)(arg1)->GetLastKeydownProcessed();
12887
12888 wxPyEndAllowThreads(__tstate);
12889 if (PyErr_Occurred()) SWIG_fail;
12890 }
12891 {
12892 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12893 }
12894 return resultobj;
12895 fail:
12896 return NULL;
12897}
12898
12899
12900static PyObject *_wrap_StyledTextCtrl_SetLastKeydownProcessed(PyObject *self, PyObject *args, PyObject *kwargs) {
12901 PyObject *resultobj;
12902 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
12903 bool arg2 ;
12904 PyObject * obj0 = 0 ;
12905 PyObject * obj1 = 0 ;
12906 char *kwnames[] = {
12907 (char *) "self",(char *) "val", NULL
12908 };
12909
12910 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetLastKeydownProcessed",kwnames,&obj0,&obj1)) goto fail;
12911 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
12912 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12913 arg2 = (bool) SWIG_AsBool(obj1);
12914 if (PyErr_Occurred()) SWIG_fail;
12915 {
12916 PyThreadState* __tstate = wxPyBeginAllowThreads();
12917 (arg1)->SetLastKeydownProcessed(arg2);
12918
12919 wxPyEndAllowThreads(__tstate);
12920 if (PyErr_Occurred()) SWIG_fail;
12921 }
12922 Py_INCREF(Py_None); resultobj = Py_None;
12923 return resultobj;
12924 fail:
12925 return NULL;
12926}
12927
12928
12929static PyObject *_wrap_StyledTextCtrl_SaveFile(PyObject *self, PyObject *args, PyObject *kwargs) {
12930 PyObject *resultobj;
12931 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
12932 wxString *arg2 = 0 ;
12933 bool result;
12934 bool temp2 = False ;
12935 PyObject * obj0 = 0 ;
12936 PyObject * obj1 = 0 ;
12937 char *kwnames[] = {
12938 (char *) "self",(char *) "filename", NULL
12939 };
12940
12941 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SaveFile",kwnames,&obj0,&obj1)) goto fail;
12942 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
12943 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12944 {
12945 arg2 = wxString_in_helper(obj1);
12946 if (arg2 == NULL) SWIG_fail;
12947 temp2 = True;
12948 }
12949 {
12950 PyThreadState* __tstate = wxPyBeginAllowThreads();
12951 result = (bool)(arg1)->SaveFile((wxString const &)*arg2);
12952
12953 wxPyEndAllowThreads(__tstate);
12954 if (PyErr_Occurred()) SWIG_fail;
12955 }
12956 {
12957 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12958 }
12959 {
12960 if (temp2)
12961 delete arg2;
12962 }
12963 return resultobj;
12964 fail:
12965 {
12966 if (temp2)
12967 delete arg2;
12968 }
12969 return NULL;
12970}
12971
12972
12973static PyObject *_wrap_StyledTextCtrl_LoadFile(PyObject *self, PyObject *args, PyObject *kwargs) {
12974 PyObject *resultobj;
12975 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
12976 wxString *arg2 = 0 ;
12977 bool result;
12978 bool temp2 = False ;
12979 PyObject * obj0 = 0 ;
12980 PyObject * obj1 = 0 ;
12981 char *kwnames[] = {
12982 (char *) "self",(char *) "filename", NULL
12983 };
12984
12985 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_LoadFile",kwnames,&obj0,&obj1)) goto fail;
12986 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
12987 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12988 {
12989 arg2 = wxString_in_helper(obj1);
12990 if (arg2 == NULL) SWIG_fail;
12991 temp2 = True;
12992 }
12993 {
12994 PyThreadState* __tstate = wxPyBeginAllowThreads();
12995 result = (bool)(arg1)->LoadFile((wxString const &)*arg2);
12996
12997 wxPyEndAllowThreads(__tstate);
12998 if (PyErr_Occurred()) SWIG_fail;
12999 }
13000 {
13001 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13002 }
13003 {
13004 if (temp2)
13005 delete arg2;
13006 }
13007 return resultobj;
13008 fail:
13009 {
13010 if (temp2)
13011 delete arg2;
13012 }
13013 return NULL;
13014}
13015
13016
13017static PyObject *_wrap_StyledTextCtrl_DoDragOver(PyObject *self, PyObject *args, PyObject *kwargs) {
13018 PyObject *resultobj;
13019 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
13020 int arg2 ;
13021 int arg3 ;
13022 int arg4 ;
13023 int result;
13024 PyObject * obj0 = 0 ;
13025 PyObject * obj1 = 0 ;
13026 PyObject * obj2 = 0 ;
13027 PyObject * obj3 = 0 ;
13028 char *kwnames[] = {
13029 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
13030 };
13031
13032 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:StyledTextCtrl_DoDragOver",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
13033 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
13034 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13035 arg2 = (int) SWIG_AsInt(obj1);
13036 if (PyErr_Occurred()) SWIG_fail;
13037 arg3 = (int) SWIG_AsInt(obj2);
13038 if (PyErr_Occurred()) SWIG_fail;
13039 arg4 = (wxDragResult) SWIG_AsInt(obj3);
13040 if (PyErr_Occurred()) SWIG_fail;
13041 {
13042 PyThreadState* __tstate = wxPyBeginAllowThreads();
13043 result = (int)(arg1)->DoDragOver(arg2,arg3,(wxDragResult )arg4);
13044
13045 wxPyEndAllowThreads(__tstate);
13046 if (PyErr_Occurred()) SWIG_fail;
13047 }
13048 resultobj = SWIG_FromInt((int)result);
13049 return resultobj;
13050 fail:
13051 return NULL;
13052}
13053
13054
13055static PyObject *_wrap_StyledTextCtrl_DoDropText(PyObject *self, PyObject *args, PyObject *kwargs) {
13056 PyObject *resultobj;
13057 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
13058 long arg2 ;
13059 long arg3 ;
13060 wxString *arg4 = 0 ;
13061 bool result;
13062 bool temp4 = False ;
13063 PyObject * obj0 = 0 ;
13064 PyObject * obj1 = 0 ;
13065 PyObject * obj2 = 0 ;
13066 PyObject * obj3 = 0 ;
13067 char *kwnames[] = {
13068 (char *) "self",(char *) "x",(char *) "y",(char *) "data", NULL
13069 };
13070
13071 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:StyledTextCtrl_DoDropText",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
13072 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
13073 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13074 arg2 = (long) SWIG_AsLong(obj1);
13075 if (PyErr_Occurred()) SWIG_fail;
13076 arg3 = (long) SWIG_AsLong(obj2);
13077 if (PyErr_Occurred()) SWIG_fail;
13078 {
13079 arg4 = wxString_in_helper(obj3);
13080 if (arg4 == NULL) SWIG_fail;
13081 temp4 = True;
13082 }
13083 {
13084 PyThreadState* __tstate = wxPyBeginAllowThreads();
13085 result = (bool)(arg1)->DoDropText(arg2,arg3,(wxString const &)*arg4);
13086
13087 wxPyEndAllowThreads(__tstate);
13088 if (PyErr_Occurred()) SWIG_fail;
13089 }
13090 {
13091 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13092 }
13093 {
13094 if (temp4)
13095 delete arg4;
13096 }
13097 return resultobj;
13098 fail:
13099 {
13100 if (temp4)
13101 delete arg4;
13102 }
13103 return NULL;
13104}
13105
13106
13107static PyObject *_wrap_StyledTextCtrl_SetUseAntiAliasing(PyObject *self, PyObject *args, PyObject *kwargs) {
13108 PyObject *resultobj;
13109 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
13110 bool arg2 ;
13111 PyObject * obj0 = 0 ;
13112 PyObject * obj1 = 0 ;
13113 char *kwnames[] = {
13114 (char *) "self",(char *) "useAA", NULL
13115 };
13116
13117 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetUseAntiAliasing",kwnames,&obj0,&obj1)) goto fail;
13118 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
13119 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13120 arg2 = (bool) SWIG_AsBool(obj1);
13121 if (PyErr_Occurred()) SWIG_fail;
13122 {
13123 PyThreadState* __tstate = wxPyBeginAllowThreads();
13124 (arg1)->SetUseAntiAliasing(arg2);
13125
13126 wxPyEndAllowThreads(__tstate);
13127 if (PyErr_Occurred()) SWIG_fail;
13128 }
13129 Py_INCREF(Py_None); resultobj = Py_None;
13130 return resultobj;
13131 fail:
13132 return NULL;
13133}
13134
13135
13136static PyObject *_wrap_StyledTextCtrl_GetUseAntiAliasing(PyObject *self, PyObject *args, PyObject *kwargs) {
13137 PyObject *resultobj;
13138 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
13139 bool result;
13140 PyObject * obj0 = 0 ;
13141 char *kwnames[] = {
13142 (char *) "self", NULL
13143 };
13144
13145 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetUseAntiAliasing",kwnames,&obj0)) goto fail;
13146 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
13147 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13148 {
13149 PyThreadState* __tstate = wxPyBeginAllowThreads();
13150 result = (bool)(arg1)->GetUseAntiAliasing();
13151
13152 wxPyEndAllowThreads(__tstate);
13153 if (PyErr_Occurred()) SWIG_fail;
13154 }
13155 {
13156 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13157 }
13158 return resultobj;
13159 fail:
13160 return NULL;
13161}
13162
13163
13164static PyObject * StyledTextCtrl_swigregister(PyObject *self, PyObject *args) {
13165 PyObject *obj;
13166 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13167 SWIG_TypeClientData(SWIGTYPE_p_wxStyledTextCtrl, obj);
13168 Py_INCREF(obj);
13169 return Py_BuildValue((char *)"");
13170}
13171static PyObject *_wrap_new_StyledTextEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
13172 PyObject *resultobj;
13173 wxEventType arg1 = (wxEventType) 0 ;
13174 int arg2 = (int) 0 ;
13175 wxStyledTextEvent *result;
13176 PyObject * obj0 = 0 ;
13177 PyObject * obj1 = 0 ;
13178 char *kwnames[] = {
13179 (char *) "commandType",(char *) "id", NULL
13180 };
13181
13182 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_StyledTextEvent",kwnames,&obj0,&obj1)) goto fail;
13183 if (obj0) {
13184 arg1 = (wxEventType) SWIG_AsInt(obj0);
13185 if (PyErr_Occurred()) SWIG_fail;
13186 }
13187 if (obj1) {
13188 arg2 = (int) SWIG_AsInt(obj1);
13189 if (PyErr_Occurred()) SWIG_fail;
13190 }
13191 {
13192 PyThreadState* __tstate = wxPyBeginAllowThreads();
13193 result = (wxStyledTextEvent *)new wxStyledTextEvent(arg1,arg2);
13194
13195 wxPyEndAllowThreads(__tstate);
13196 if (PyErr_Occurred()) SWIG_fail;
13197 }
13198 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStyledTextEvent, 1);
13199 return resultobj;
13200 fail:
13201 return NULL;
13202}
13203
13204
13205static PyObject *_wrap_delete_StyledTextEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
13206 PyObject *resultobj;
13207 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
13208 PyObject * obj0 = 0 ;
13209 char *kwnames[] = {
13210 (char *) "self", NULL
13211 };
13212
13213 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_StyledTextEvent",kwnames,&obj0)) goto fail;
13214 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextEvent,
13215 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13216 {
13217 PyThreadState* __tstate = wxPyBeginAllowThreads();
13218 delete arg1;
13219
13220 wxPyEndAllowThreads(__tstate);
13221 if (PyErr_Occurred()) SWIG_fail;
13222 }
13223 Py_INCREF(Py_None); resultobj = Py_None;
13224 return resultobj;
13225 fail:
13226 return NULL;
13227}
13228
13229
13230static PyObject *_wrap_StyledTextEvent_SetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
13231 PyObject *resultobj;
13232 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
13233 int arg2 ;
13234 PyObject * obj0 = 0 ;
13235 PyObject * obj1 = 0 ;
13236 char *kwnames[] = {
13237 (char *) "self",(char *) "pos", NULL
13238 };
13239
13240 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetPosition",kwnames,&obj0,&obj1)) goto fail;
13241 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextEvent,
13242 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13243 arg2 = (int) SWIG_AsInt(obj1);
13244 if (PyErr_Occurred()) SWIG_fail;
13245 {
13246 PyThreadState* __tstate = wxPyBeginAllowThreads();
13247 (arg1)->SetPosition(arg2);
13248
13249 wxPyEndAllowThreads(__tstate);
13250 if (PyErr_Occurred()) SWIG_fail;
13251 }
13252 Py_INCREF(Py_None); resultobj = Py_None;
13253 return resultobj;
13254 fail:
13255 return NULL;
13256}
13257
13258
13259static PyObject *_wrap_StyledTextEvent_SetKey(PyObject *self, PyObject *args, PyObject *kwargs) {
13260 PyObject *resultobj;
13261 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
13262 int arg2 ;
13263 PyObject * obj0 = 0 ;
13264 PyObject * obj1 = 0 ;
13265 char *kwnames[] = {
13266 (char *) "self",(char *) "k", NULL
13267 };
13268
13269 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetKey",kwnames,&obj0,&obj1)) goto fail;
13270 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextEvent,
13271 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13272 arg2 = (int) SWIG_AsInt(obj1);
13273 if (PyErr_Occurred()) SWIG_fail;
13274 {
13275 PyThreadState* __tstate = wxPyBeginAllowThreads();
13276 (arg1)->SetKey(arg2);
13277
13278 wxPyEndAllowThreads(__tstate);
13279 if (PyErr_Occurred()) SWIG_fail;
13280 }
13281 Py_INCREF(Py_None); resultobj = Py_None;
13282 return resultobj;
13283 fail:
13284 return NULL;
13285}
13286
13287
13288static PyObject *_wrap_StyledTextEvent_SetModifiers(PyObject *self, PyObject *args, PyObject *kwargs) {
13289 PyObject *resultobj;
13290 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
13291 int arg2 ;
13292 PyObject * obj0 = 0 ;
13293 PyObject * obj1 = 0 ;
13294 char *kwnames[] = {
13295 (char *) "self",(char *) "m", NULL
13296 };
13297
13298 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetModifiers",kwnames,&obj0,&obj1)) goto fail;
13299 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextEvent,
13300 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13301 arg2 = (int) SWIG_AsInt(obj1);
13302 if (PyErr_Occurred()) SWIG_fail;
13303 {
13304 PyThreadState* __tstate = wxPyBeginAllowThreads();
13305 (arg1)->SetModifiers(arg2);
13306
13307 wxPyEndAllowThreads(__tstate);
13308 if (PyErr_Occurred()) SWIG_fail;
13309 }
13310 Py_INCREF(Py_None); resultobj = Py_None;
13311 return resultobj;
13312 fail:
13313 return NULL;
13314}
13315
13316
13317static PyObject *_wrap_StyledTextEvent_SetModificationType(PyObject *self, PyObject *args, PyObject *kwargs) {
13318 PyObject *resultobj;
13319 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
13320 int arg2 ;
13321 PyObject * obj0 = 0 ;
13322 PyObject * obj1 = 0 ;
13323 char *kwnames[] = {
13324 (char *) "self",(char *) "t", NULL
13325 };
13326
13327 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetModificationType",kwnames,&obj0,&obj1)) goto fail;
13328 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextEvent,
13329 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13330 arg2 = (int) SWIG_AsInt(obj1);
13331 if (PyErr_Occurred()) SWIG_fail;
13332 {
13333 PyThreadState* __tstate = wxPyBeginAllowThreads();
13334 (arg1)->SetModificationType(arg2);
13335
13336 wxPyEndAllowThreads(__tstate);
13337 if (PyErr_Occurred()) SWIG_fail;
13338 }
13339 Py_INCREF(Py_None); resultobj = Py_None;
13340 return resultobj;
13341 fail:
13342 return NULL;
13343}
13344
13345
13346static PyObject *_wrap_StyledTextEvent_SetText(PyObject *self, PyObject *args, PyObject *kwargs) {
13347 PyObject *resultobj;
13348 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
13349 wxString *arg2 = 0 ;
13350 bool temp2 = False ;
13351 PyObject * obj0 = 0 ;
13352 PyObject * obj1 = 0 ;
13353 char *kwnames[] = {
13354 (char *) "self",(char *) "t", NULL
13355 };
13356
13357 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetText",kwnames,&obj0,&obj1)) goto fail;
13358 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextEvent,
13359 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13360 {
13361 arg2 = wxString_in_helper(obj1);
13362 if (arg2 == NULL) SWIG_fail;
13363 temp2 = True;
13364 }
13365 {
13366 PyThreadState* __tstate = wxPyBeginAllowThreads();
13367 (arg1)->SetText((wxString const &)*arg2);
13368
13369 wxPyEndAllowThreads(__tstate);
13370 if (PyErr_Occurred()) SWIG_fail;
13371 }
13372 Py_INCREF(Py_None); resultobj = Py_None;
13373 {
13374 if (temp2)
13375 delete arg2;
13376 }
13377 return resultobj;
13378 fail:
13379 {
13380 if (temp2)
13381 delete arg2;
13382 }
13383 return NULL;
13384}
13385
13386
13387static PyObject *_wrap_StyledTextEvent_SetLength(PyObject *self, PyObject *args, PyObject *kwargs) {
13388 PyObject *resultobj;
13389 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
13390 int arg2 ;
13391 PyObject * obj0 = 0 ;
13392 PyObject * obj1 = 0 ;
13393 char *kwnames[] = {
13394 (char *) "self",(char *) "len", NULL
13395 };
13396
13397 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetLength",kwnames,&obj0,&obj1)) goto fail;
13398 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextEvent,
13399 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13400 arg2 = (int) SWIG_AsInt(obj1);
13401 if (PyErr_Occurred()) SWIG_fail;
13402 {
13403 PyThreadState* __tstate = wxPyBeginAllowThreads();
13404 (arg1)->SetLength(arg2);
13405
13406 wxPyEndAllowThreads(__tstate);
13407 if (PyErr_Occurred()) SWIG_fail;
13408 }
13409 Py_INCREF(Py_None); resultobj = Py_None;
13410 return resultobj;
13411 fail:
13412 return NULL;
13413}
13414
13415
13416static PyObject *_wrap_StyledTextEvent_SetLinesAdded(PyObject *self, PyObject *args, PyObject *kwargs) {
13417 PyObject *resultobj;
13418 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
13419 int arg2 ;
13420 PyObject * obj0 = 0 ;
13421 PyObject * obj1 = 0 ;
13422 char *kwnames[] = {
13423 (char *) "self",(char *) "num", NULL
13424 };
13425
13426 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetLinesAdded",kwnames,&obj0,&obj1)) goto fail;
13427 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextEvent,
13428 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13429 arg2 = (int) SWIG_AsInt(obj1);
13430 if (PyErr_Occurred()) SWIG_fail;
13431 {
13432 PyThreadState* __tstate = wxPyBeginAllowThreads();
13433 (arg1)->SetLinesAdded(arg2);
13434
13435 wxPyEndAllowThreads(__tstate);
13436 if (PyErr_Occurred()) SWIG_fail;
13437 }
13438 Py_INCREF(Py_None); resultobj = Py_None;
13439 return resultobj;
13440 fail:
13441 return NULL;
13442}
13443
13444
13445static PyObject *_wrap_StyledTextEvent_SetLine(PyObject *self, PyObject *args, PyObject *kwargs) {
13446 PyObject *resultobj;
13447 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
13448 int arg2 ;
13449 PyObject * obj0 = 0 ;
13450 PyObject * obj1 = 0 ;
13451 char *kwnames[] = {
13452 (char *) "self",(char *) "val", NULL
13453 };
13454
13455 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetLine",kwnames,&obj0,&obj1)) goto fail;
13456 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextEvent,
13457 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13458 arg2 = (int) SWIG_AsInt(obj1);
13459 if (PyErr_Occurred()) SWIG_fail;
13460 {
13461 PyThreadState* __tstate = wxPyBeginAllowThreads();
13462 (arg1)->SetLine(arg2);
13463
13464 wxPyEndAllowThreads(__tstate);
13465 if (PyErr_Occurred()) SWIG_fail;
13466 }
13467 Py_INCREF(Py_None); resultobj = Py_None;
13468 return resultobj;
13469 fail:
13470 return NULL;
13471}
13472
13473
13474static PyObject *_wrap_StyledTextEvent_SetFoldLevelNow(PyObject *self, PyObject *args, PyObject *kwargs) {
13475 PyObject *resultobj;
13476 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
13477 int arg2 ;
13478 PyObject * obj0 = 0 ;
13479 PyObject * obj1 = 0 ;
13480 char *kwnames[] = {
13481 (char *) "self",(char *) "val", NULL
13482 };
13483
13484 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetFoldLevelNow",kwnames,&obj0,&obj1)) goto fail;
13485 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextEvent,
13486 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13487 arg2 = (int) SWIG_AsInt(obj1);
13488 if (PyErr_Occurred()) SWIG_fail;
13489 {
13490 PyThreadState* __tstate = wxPyBeginAllowThreads();
13491 (arg1)->SetFoldLevelNow(arg2);
13492
13493 wxPyEndAllowThreads(__tstate);
13494 if (PyErr_Occurred()) SWIG_fail;
13495 }
13496 Py_INCREF(Py_None); resultobj = Py_None;
13497 return resultobj;
13498 fail:
13499 return NULL;
13500}
13501
13502
13503static PyObject *_wrap_StyledTextEvent_SetFoldLevelPrev(PyObject *self, PyObject *args, PyObject *kwargs) {
13504 PyObject *resultobj;
13505 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
13506 int arg2 ;
13507 PyObject * obj0 = 0 ;
13508 PyObject * obj1 = 0 ;
13509 char *kwnames[] = {
13510 (char *) "self",(char *) "val", NULL
13511 };
13512
13513 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetFoldLevelPrev",kwnames,&obj0,&obj1)) goto fail;
13514 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextEvent,
13515 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13516 arg2 = (int) SWIG_AsInt(obj1);
13517 if (PyErr_Occurred()) SWIG_fail;
13518 {
13519 PyThreadState* __tstate = wxPyBeginAllowThreads();
13520 (arg1)->SetFoldLevelPrev(arg2);
13521
13522 wxPyEndAllowThreads(__tstate);
13523 if (PyErr_Occurred()) SWIG_fail;
13524 }
13525 Py_INCREF(Py_None); resultobj = Py_None;
13526 return resultobj;
13527 fail:
13528 return NULL;
13529}
13530
13531
13532static PyObject *_wrap_StyledTextEvent_SetMargin(PyObject *self, PyObject *args, PyObject *kwargs) {
13533 PyObject *resultobj;
13534 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
13535 int arg2 ;
13536 PyObject * obj0 = 0 ;
13537 PyObject * obj1 = 0 ;
13538 char *kwnames[] = {
13539 (char *) "self",(char *) "val", NULL
13540 };
13541
13542 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetMargin",kwnames,&obj0,&obj1)) goto fail;
13543 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextEvent,
13544 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13545 arg2 = (int) SWIG_AsInt(obj1);
13546 if (PyErr_Occurred()) SWIG_fail;
13547 {
13548 PyThreadState* __tstate = wxPyBeginAllowThreads();
13549 (arg1)->SetMargin(arg2);
13550
13551 wxPyEndAllowThreads(__tstate);
13552 if (PyErr_Occurred()) SWIG_fail;
13553 }
13554 Py_INCREF(Py_None); resultobj = Py_None;
13555 return resultobj;
13556 fail:
13557 return NULL;
13558}
13559
13560
13561static PyObject *_wrap_StyledTextEvent_SetMessage(PyObject *self, PyObject *args, PyObject *kwargs) {
13562 PyObject *resultobj;
13563 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
13564 int arg2 ;
13565 PyObject * obj0 = 0 ;
13566 PyObject * obj1 = 0 ;
13567 char *kwnames[] = {
13568 (char *) "self",(char *) "val", NULL
13569 };
13570
13571 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetMessage",kwnames,&obj0,&obj1)) goto fail;
13572 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextEvent,
13573 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13574 arg2 = (int) SWIG_AsInt(obj1);
13575 if (PyErr_Occurred()) SWIG_fail;
13576 {
13577 PyThreadState* __tstate = wxPyBeginAllowThreads();
13578 (arg1)->SetMessage(arg2);
13579
13580 wxPyEndAllowThreads(__tstate);
13581 if (PyErr_Occurred()) SWIG_fail;
13582 }
13583 Py_INCREF(Py_None); resultobj = Py_None;
13584 return resultobj;
13585 fail:
13586 return NULL;
13587}
13588
13589
13590static PyObject *_wrap_StyledTextEvent_SetWParam(PyObject *self, PyObject *args, PyObject *kwargs) {
13591 PyObject *resultobj;
13592 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
13593 int arg2 ;
13594 PyObject * obj0 = 0 ;
13595 PyObject * obj1 = 0 ;
13596 char *kwnames[] = {
13597 (char *) "self",(char *) "val", NULL
13598 };
13599
13600 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetWParam",kwnames,&obj0,&obj1)) goto fail;
13601 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextEvent,
13602 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13603 arg2 = (int) SWIG_AsInt(obj1);
13604 if (PyErr_Occurred()) SWIG_fail;
13605 {
13606 PyThreadState* __tstate = wxPyBeginAllowThreads();
13607 (arg1)->SetWParam(arg2);
13608
13609 wxPyEndAllowThreads(__tstate);
13610 if (PyErr_Occurred()) SWIG_fail;
13611 }
13612 Py_INCREF(Py_None); resultobj = Py_None;
13613 return resultobj;
13614 fail:
13615 return NULL;
13616}
13617
13618
13619static PyObject *_wrap_StyledTextEvent_SetLParam(PyObject *self, PyObject *args, PyObject *kwargs) {
13620 PyObject *resultobj;
13621 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
13622 int arg2 ;
13623 PyObject * obj0 = 0 ;
13624 PyObject * obj1 = 0 ;
13625 char *kwnames[] = {
13626 (char *) "self",(char *) "val", NULL
13627 };
13628
13629 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetLParam",kwnames,&obj0,&obj1)) goto fail;
13630 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextEvent,
13631 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13632 arg2 = (int) SWIG_AsInt(obj1);
13633 if (PyErr_Occurred()) SWIG_fail;
13634 {
13635 PyThreadState* __tstate = wxPyBeginAllowThreads();
13636 (arg1)->SetLParam(arg2);
13637
13638 wxPyEndAllowThreads(__tstate);
13639 if (PyErr_Occurred()) SWIG_fail;
13640 }
13641 Py_INCREF(Py_None); resultobj = Py_None;
13642 return resultobj;
13643 fail:
13644 return NULL;
13645}
13646
13647
13648static PyObject *_wrap_StyledTextEvent_SetListType(PyObject *self, PyObject *args, PyObject *kwargs) {
13649 PyObject *resultobj;
13650 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
13651 int arg2 ;
13652 PyObject * obj0 = 0 ;
13653 PyObject * obj1 = 0 ;
13654 char *kwnames[] = {
13655 (char *) "self",(char *) "val", NULL
13656 };
13657
13658 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetListType",kwnames,&obj0,&obj1)) goto fail;
13659 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextEvent,
13660 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13661 arg2 = (int) SWIG_AsInt(obj1);
13662 if (PyErr_Occurred()) SWIG_fail;
13663 {
13664 PyThreadState* __tstate = wxPyBeginAllowThreads();
13665 (arg1)->SetListType(arg2);
13666
13667 wxPyEndAllowThreads(__tstate);
13668 if (PyErr_Occurred()) SWIG_fail;
13669 }
13670 Py_INCREF(Py_None); resultobj = Py_None;
13671 return resultobj;
13672 fail:
13673 return NULL;
13674}
13675
13676
13677static PyObject *_wrap_StyledTextEvent_SetX(PyObject *self, PyObject *args, PyObject *kwargs) {
13678 PyObject *resultobj;
13679 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
13680 int arg2 ;
13681 PyObject * obj0 = 0 ;
13682 PyObject * obj1 = 0 ;
13683 char *kwnames[] = {
13684 (char *) "self",(char *) "val", NULL
13685 };
13686
13687 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetX",kwnames,&obj0,&obj1)) goto fail;
13688 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextEvent,
13689 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13690 arg2 = (int) SWIG_AsInt(obj1);
13691 if (PyErr_Occurred()) SWIG_fail;
13692 {
13693 PyThreadState* __tstate = wxPyBeginAllowThreads();
13694 (arg1)->SetX(arg2);
13695
13696 wxPyEndAllowThreads(__tstate);
13697 if (PyErr_Occurred()) SWIG_fail;
13698 }
13699 Py_INCREF(Py_None); resultobj = Py_None;
13700 return resultobj;
13701 fail:
13702 return NULL;
13703}
13704
13705
13706static PyObject *_wrap_StyledTextEvent_SetY(PyObject *self, PyObject *args, PyObject *kwargs) {
13707 PyObject *resultobj;
13708 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
13709 int arg2 ;
13710 PyObject * obj0 = 0 ;
13711 PyObject * obj1 = 0 ;
13712 char *kwnames[] = {
13713 (char *) "self",(char *) "val", NULL
13714 };
13715
13716 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetY",kwnames,&obj0,&obj1)) goto fail;
13717 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextEvent,
13718 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13719 arg2 = (int) SWIG_AsInt(obj1);
13720 if (PyErr_Occurred()) SWIG_fail;
13721 {
13722 PyThreadState* __tstate = wxPyBeginAllowThreads();
13723 (arg1)->SetY(arg2);
13724
13725 wxPyEndAllowThreads(__tstate);
13726 if (PyErr_Occurred()) SWIG_fail;
13727 }
13728 Py_INCREF(Py_None); resultobj = Py_None;
13729 return resultobj;
13730 fail:
13731 return NULL;
13732}
13733
13734
13735static PyObject *_wrap_StyledTextEvent_SetDragText(PyObject *self, PyObject *args, PyObject *kwargs) {
13736 PyObject *resultobj;
13737 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
13738 wxString *arg2 = 0 ;
13739 bool temp2 = False ;
13740 PyObject * obj0 = 0 ;
13741 PyObject * obj1 = 0 ;
13742 char *kwnames[] = {
13743 (char *) "self",(char *) "val", NULL
13744 };
13745
13746 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetDragText",kwnames,&obj0,&obj1)) goto fail;
13747 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextEvent,
13748 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13749 {
13750 arg2 = wxString_in_helper(obj1);
13751 if (arg2 == NULL) SWIG_fail;
13752 temp2 = True;
13753 }
13754 {
13755 PyThreadState* __tstate = wxPyBeginAllowThreads();
13756 (arg1)->SetDragText((wxString const &)*arg2);
13757
13758 wxPyEndAllowThreads(__tstate);
13759 if (PyErr_Occurred()) SWIG_fail;
13760 }
13761 Py_INCREF(Py_None); resultobj = Py_None;
13762 {
13763 if (temp2)
13764 delete arg2;
13765 }
13766 return resultobj;
13767 fail:
13768 {
13769 if (temp2)
13770 delete arg2;
13771 }
13772 return NULL;
13773}
13774
13775
13776static PyObject *_wrap_StyledTextEvent_SetDragAllowMove(PyObject *self, PyObject *args, PyObject *kwargs) {
13777 PyObject *resultobj;
13778 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
13779 bool arg2 ;
13780 PyObject * obj0 = 0 ;
13781 PyObject * obj1 = 0 ;
13782 char *kwnames[] = {
13783 (char *) "self",(char *) "val", NULL
13784 };
13785
13786 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetDragAllowMove",kwnames,&obj0,&obj1)) goto fail;
13787 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextEvent,
13788 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13789 arg2 = (bool) SWIG_AsBool(obj1);
13790 if (PyErr_Occurred()) SWIG_fail;
13791 {
13792 PyThreadState* __tstate = wxPyBeginAllowThreads();
13793 (arg1)->SetDragAllowMove(arg2);
13794
13795 wxPyEndAllowThreads(__tstate);
13796 if (PyErr_Occurred()) SWIG_fail;
13797 }
13798 Py_INCREF(Py_None); resultobj = Py_None;
13799 return resultobj;
13800 fail:
13801 return NULL;
13802}
13803
13804
13805static PyObject *_wrap_StyledTextEvent_SetDragResult(PyObject *self, PyObject *args, PyObject *kwargs) {
13806 PyObject *resultobj;
13807 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
13808 int arg2 ;
13809 PyObject * obj0 = 0 ;
13810 PyObject * obj1 = 0 ;
13811 char *kwnames[] = {
13812 (char *) "self",(char *) "val", NULL
13813 };
13814
13815 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetDragResult",kwnames,&obj0,&obj1)) goto fail;
13816 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextEvent,
13817 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13818 arg2 = (wxDragResult) SWIG_AsInt(obj1);
13819 if (PyErr_Occurred()) SWIG_fail;
13820 {
13821 PyThreadState* __tstate = wxPyBeginAllowThreads();
13822 (arg1)->SetDragResult((wxDragResult )arg2);
13823
13824 wxPyEndAllowThreads(__tstate);
13825 if (PyErr_Occurred()) SWIG_fail;
13826 }
13827 Py_INCREF(Py_None); resultobj = Py_None;
13828 return resultobj;
13829 fail:
13830 return NULL;
13831}
13832
13833
13834static PyObject *_wrap_StyledTextEvent_GetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
13835 PyObject *resultobj;
13836 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
13837 int result;
13838 PyObject * obj0 = 0 ;
13839 char *kwnames[] = {
13840 (char *) "self", NULL
13841 };
13842
13843 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetPosition",kwnames,&obj0)) goto fail;
13844 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextEvent,
13845 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13846 {
13847 PyThreadState* __tstate = wxPyBeginAllowThreads();
13848 result = (int)((wxStyledTextEvent const *)arg1)->GetPosition();
13849
13850 wxPyEndAllowThreads(__tstate);
13851 if (PyErr_Occurred()) SWIG_fail;
13852 }
13853 resultobj = SWIG_FromInt((int)result);
13854 return resultobj;
13855 fail:
13856 return NULL;
13857}
13858
13859
13860static PyObject *_wrap_StyledTextEvent_GetKey(PyObject *self, PyObject *args, PyObject *kwargs) {
13861 PyObject *resultobj;
13862 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
13863 int result;
13864 PyObject * obj0 = 0 ;
13865 char *kwnames[] = {
13866 (char *) "self", NULL
13867 };
13868
13869 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetKey",kwnames,&obj0)) goto fail;
13870 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextEvent,
13871 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13872 {
13873 PyThreadState* __tstate = wxPyBeginAllowThreads();
13874 result = (int)((wxStyledTextEvent const *)arg1)->GetKey();
13875
13876 wxPyEndAllowThreads(__tstate);
13877 if (PyErr_Occurred()) SWIG_fail;
13878 }
13879 resultobj = SWIG_FromInt((int)result);
13880 return resultobj;
13881 fail:
13882 return NULL;
13883}
13884
13885
13886static PyObject *_wrap_StyledTextEvent_GetModifiers(PyObject *self, PyObject *args, PyObject *kwargs) {
13887 PyObject *resultobj;
13888 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
13889 int result;
13890 PyObject * obj0 = 0 ;
13891 char *kwnames[] = {
13892 (char *) "self", NULL
13893 };
13894
13895 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetModifiers",kwnames,&obj0)) goto fail;
13896 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextEvent,
13897 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13898 {
13899 PyThreadState* __tstate = wxPyBeginAllowThreads();
13900 result = (int)((wxStyledTextEvent const *)arg1)->GetModifiers();
13901
13902 wxPyEndAllowThreads(__tstate);
13903 if (PyErr_Occurred()) SWIG_fail;
13904 }
13905 resultobj = SWIG_FromInt((int)result);
13906 return resultobj;
13907 fail:
13908 return NULL;
13909}
13910
13911
13912static PyObject *_wrap_StyledTextEvent_GetModificationType(PyObject *self, PyObject *args, PyObject *kwargs) {
13913 PyObject *resultobj;
13914 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
13915 int result;
13916 PyObject * obj0 = 0 ;
13917 char *kwnames[] = {
13918 (char *) "self", NULL
13919 };
13920
13921 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetModificationType",kwnames,&obj0)) goto fail;
13922 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextEvent,
13923 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13924 {
13925 PyThreadState* __tstate = wxPyBeginAllowThreads();
13926 result = (int)((wxStyledTextEvent const *)arg1)->GetModificationType();
13927
13928 wxPyEndAllowThreads(__tstate);
13929 if (PyErr_Occurred()) SWIG_fail;
13930 }
13931 resultobj = SWIG_FromInt((int)result);
13932 return resultobj;
13933 fail:
13934 return NULL;
13935}
13936
13937
13938static PyObject *_wrap_StyledTextEvent_GetText(PyObject *self, PyObject *args, PyObject *kwargs) {
13939 PyObject *resultobj;
13940 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
13941 wxString result;
13942 PyObject * obj0 = 0 ;
13943 char *kwnames[] = {
13944 (char *) "self", NULL
13945 };
13946
13947 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetText",kwnames,&obj0)) goto fail;
13948 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextEvent,
13949 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13950 {
13951 PyThreadState* __tstate = wxPyBeginAllowThreads();
13952 result = ((wxStyledTextEvent const *)arg1)->GetText();
13953
13954 wxPyEndAllowThreads(__tstate);
13955 if (PyErr_Occurred()) SWIG_fail;
13956 }
13957 {
13958#if wxUSE_UNICODE
13959 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
13960#else
13961 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
13962#endif
13963 }
13964 return resultobj;
13965 fail:
13966 return NULL;
13967}
13968
13969
13970static PyObject *_wrap_StyledTextEvent_GetLength(PyObject *self, PyObject *args, PyObject *kwargs) {
13971 PyObject *resultobj;
13972 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
13973 int result;
13974 PyObject * obj0 = 0 ;
13975 char *kwnames[] = {
13976 (char *) "self", NULL
13977 };
13978
13979 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetLength",kwnames,&obj0)) goto fail;
13980 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextEvent,
13981 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13982 {
13983 PyThreadState* __tstate = wxPyBeginAllowThreads();
13984 result = (int)((wxStyledTextEvent const *)arg1)->GetLength();
13985
13986 wxPyEndAllowThreads(__tstate);
13987 if (PyErr_Occurred()) SWIG_fail;
13988 }
13989 resultobj = SWIG_FromInt((int)result);
13990 return resultobj;
13991 fail:
13992 return NULL;
13993}
13994
13995
13996static PyObject *_wrap_StyledTextEvent_GetLinesAdded(PyObject *self, PyObject *args, PyObject *kwargs) {
13997 PyObject *resultobj;
13998 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
13999 int result;
14000 PyObject * obj0 = 0 ;
14001 char *kwnames[] = {
14002 (char *) "self", NULL
14003 };
14004
14005 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetLinesAdded",kwnames,&obj0)) goto fail;
14006 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextEvent,
14007 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14008 {
14009 PyThreadState* __tstate = wxPyBeginAllowThreads();
14010 result = (int)((wxStyledTextEvent const *)arg1)->GetLinesAdded();
14011
14012 wxPyEndAllowThreads(__tstate);
14013 if (PyErr_Occurred()) SWIG_fail;
14014 }
14015 resultobj = SWIG_FromInt((int)result);
14016 return resultobj;
14017 fail:
14018 return NULL;
14019}
14020
14021
14022static PyObject *_wrap_StyledTextEvent_GetLine(PyObject *self, PyObject *args, PyObject *kwargs) {
14023 PyObject *resultobj;
14024 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
14025 int result;
14026 PyObject * obj0 = 0 ;
14027 char *kwnames[] = {
14028 (char *) "self", NULL
14029 };
14030
14031 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetLine",kwnames,&obj0)) goto fail;
14032 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextEvent,
14033 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14034 {
14035 PyThreadState* __tstate = wxPyBeginAllowThreads();
14036 result = (int)((wxStyledTextEvent const *)arg1)->GetLine();
14037
14038 wxPyEndAllowThreads(__tstate);
14039 if (PyErr_Occurred()) SWIG_fail;
14040 }
14041 resultobj = SWIG_FromInt((int)result);
14042 return resultobj;
14043 fail:
14044 return NULL;
14045}
14046
14047
14048static PyObject *_wrap_StyledTextEvent_GetFoldLevelNow(PyObject *self, PyObject *args, PyObject *kwargs) {
14049 PyObject *resultobj;
14050 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
14051 int result;
14052 PyObject * obj0 = 0 ;
14053 char *kwnames[] = {
14054 (char *) "self", NULL
14055 };
14056
14057 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetFoldLevelNow",kwnames,&obj0)) goto fail;
14058 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextEvent,
14059 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14060 {
14061 PyThreadState* __tstate = wxPyBeginAllowThreads();
14062 result = (int)((wxStyledTextEvent const *)arg1)->GetFoldLevelNow();
14063
14064 wxPyEndAllowThreads(__tstate);
14065 if (PyErr_Occurred()) SWIG_fail;
14066 }
14067 resultobj = SWIG_FromInt((int)result);
14068 return resultobj;
14069 fail:
14070 return NULL;
14071}
14072
14073
14074static PyObject *_wrap_StyledTextEvent_GetFoldLevelPrev(PyObject *self, PyObject *args, PyObject *kwargs) {
14075 PyObject *resultobj;
14076 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
14077 int result;
14078 PyObject * obj0 = 0 ;
14079 char *kwnames[] = {
14080 (char *) "self", NULL
14081 };
14082
14083 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetFoldLevelPrev",kwnames,&obj0)) goto fail;
14084 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextEvent,
14085 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14086 {
14087 PyThreadState* __tstate = wxPyBeginAllowThreads();
14088 result = (int)((wxStyledTextEvent const *)arg1)->GetFoldLevelPrev();
14089
14090 wxPyEndAllowThreads(__tstate);
14091 if (PyErr_Occurred()) SWIG_fail;
14092 }
14093 resultobj = SWIG_FromInt((int)result);
14094 return resultobj;
14095 fail:
14096 return NULL;
14097}
14098
14099
14100static PyObject *_wrap_StyledTextEvent_GetMargin(PyObject *self, PyObject *args, PyObject *kwargs) {
14101 PyObject *resultobj;
14102 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
14103 int result;
14104 PyObject * obj0 = 0 ;
14105 char *kwnames[] = {
14106 (char *) "self", NULL
14107 };
14108
14109 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetMargin",kwnames,&obj0)) goto fail;
14110 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextEvent,
14111 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14112 {
14113 PyThreadState* __tstate = wxPyBeginAllowThreads();
14114 result = (int)((wxStyledTextEvent const *)arg1)->GetMargin();
14115
14116 wxPyEndAllowThreads(__tstate);
14117 if (PyErr_Occurred()) SWIG_fail;
14118 }
14119 resultobj = SWIG_FromInt((int)result);
14120 return resultobj;
14121 fail:
14122 return NULL;
14123}
14124
14125
14126static PyObject *_wrap_StyledTextEvent_GetMessage(PyObject *self, PyObject *args, PyObject *kwargs) {
14127 PyObject *resultobj;
14128 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
14129 int result;
14130 PyObject * obj0 = 0 ;
14131 char *kwnames[] = {
14132 (char *) "self", NULL
14133 };
14134
14135 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetMessage",kwnames,&obj0)) goto fail;
14136 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextEvent,
14137 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14138 {
14139 PyThreadState* __tstate = wxPyBeginAllowThreads();
14140 result = (int)((wxStyledTextEvent const *)arg1)->GetMessage();
14141
14142 wxPyEndAllowThreads(__tstate);
14143 if (PyErr_Occurred()) SWIG_fail;
14144 }
14145 resultobj = SWIG_FromInt((int)result);
14146 return resultobj;
14147 fail:
14148 return NULL;
14149}
14150
14151
14152static PyObject *_wrap_StyledTextEvent_GetWParam(PyObject *self, PyObject *args, PyObject *kwargs) {
14153 PyObject *resultobj;
14154 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
14155 int result;
14156 PyObject * obj0 = 0 ;
14157 char *kwnames[] = {
14158 (char *) "self", NULL
14159 };
14160
14161 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetWParam",kwnames,&obj0)) goto fail;
14162 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextEvent,
14163 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14164 {
14165 PyThreadState* __tstate = wxPyBeginAllowThreads();
14166 result = (int)((wxStyledTextEvent const *)arg1)->GetWParam();
14167
14168 wxPyEndAllowThreads(__tstate);
14169 if (PyErr_Occurred()) SWIG_fail;
14170 }
14171 resultobj = SWIG_FromInt((int)result);
14172 return resultobj;
14173 fail:
14174 return NULL;
14175}
14176
14177
14178static PyObject *_wrap_StyledTextEvent_GetLParam(PyObject *self, PyObject *args, PyObject *kwargs) {
14179 PyObject *resultobj;
14180 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
14181 int result;
14182 PyObject * obj0 = 0 ;
14183 char *kwnames[] = {
14184 (char *) "self", NULL
14185 };
14186
14187 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetLParam",kwnames,&obj0)) goto fail;
14188 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextEvent,
14189 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14190 {
14191 PyThreadState* __tstate = wxPyBeginAllowThreads();
14192 result = (int)((wxStyledTextEvent const *)arg1)->GetLParam();
14193
14194 wxPyEndAllowThreads(__tstate);
14195 if (PyErr_Occurred()) SWIG_fail;
14196 }
14197 resultobj = SWIG_FromInt((int)result);
14198 return resultobj;
14199 fail:
14200 return NULL;
14201}
14202
14203
14204static PyObject *_wrap_StyledTextEvent_GetListType(PyObject *self, PyObject *args, PyObject *kwargs) {
14205 PyObject *resultobj;
14206 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
14207 int result;
14208 PyObject * obj0 = 0 ;
14209 char *kwnames[] = {
14210 (char *) "self", NULL
14211 };
14212
14213 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetListType",kwnames,&obj0)) goto fail;
14214 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextEvent,
14215 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14216 {
14217 PyThreadState* __tstate = wxPyBeginAllowThreads();
14218 result = (int)((wxStyledTextEvent const *)arg1)->GetListType();
14219
14220 wxPyEndAllowThreads(__tstate);
14221 if (PyErr_Occurred()) SWIG_fail;
14222 }
14223 resultobj = SWIG_FromInt((int)result);
14224 return resultobj;
14225 fail:
14226 return NULL;
14227}
14228
14229
14230static PyObject *_wrap_StyledTextEvent_GetX(PyObject *self, PyObject *args, PyObject *kwargs) {
14231 PyObject *resultobj;
14232 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
14233 int result;
14234 PyObject * obj0 = 0 ;
14235 char *kwnames[] = {
14236 (char *) "self", NULL
14237 };
14238
14239 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetX",kwnames,&obj0)) goto fail;
14240 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextEvent,
14241 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14242 {
14243 PyThreadState* __tstate = wxPyBeginAllowThreads();
14244 result = (int)((wxStyledTextEvent const *)arg1)->GetX();
14245
14246 wxPyEndAllowThreads(__tstate);
14247 if (PyErr_Occurred()) SWIG_fail;
14248 }
14249 resultobj = SWIG_FromInt((int)result);
14250 return resultobj;
14251 fail:
14252 return NULL;
14253}
14254
14255
14256static PyObject *_wrap_StyledTextEvent_GetY(PyObject *self, PyObject *args, PyObject *kwargs) {
14257 PyObject *resultobj;
14258 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
14259 int result;
14260 PyObject * obj0 = 0 ;
14261 char *kwnames[] = {
14262 (char *) "self", NULL
14263 };
14264
14265 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetY",kwnames,&obj0)) goto fail;
14266 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextEvent,
14267 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14268 {
14269 PyThreadState* __tstate = wxPyBeginAllowThreads();
14270 result = (int)((wxStyledTextEvent const *)arg1)->GetY();
14271
14272 wxPyEndAllowThreads(__tstate);
14273 if (PyErr_Occurred()) SWIG_fail;
14274 }
14275 resultobj = SWIG_FromInt((int)result);
14276 return resultobj;
14277 fail:
14278 return NULL;
14279}
14280
14281
14282static PyObject *_wrap_StyledTextEvent_GetDragText(PyObject *self, PyObject *args, PyObject *kwargs) {
14283 PyObject *resultobj;
14284 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
14285 wxString result;
14286 PyObject * obj0 = 0 ;
14287 char *kwnames[] = {
14288 (char *) "self", NULL
14289 };
14290
14291 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetDragText",kwnames,&obj0)) goto fail;
14292 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextEvent,
14293 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14294 {
14295 PyThreadState* __tstate = wxPyBeginAllowThreads();
14296 result = (arg1)->GetDragText();
14297
14298 wxPyEndAllowThreads(__tstate);
14299 if (PyErr_Occurred()) SWIG_fail;
14300 }
14301 {
14302#if wxUSE_UNICODE
14303 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
14304#else
14305 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
14306#endif
14307 }
14308 return resultobj;
14309 fail:
14310 return NULL;
14311}
14312
14313
14314static PyObject *_wrap_StyledTextEvent_GetDragAllowMove(PyObject *self, PyObject *args, PyObject *kwargs) {
14315 PyObject *resultobj;
14316 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
14317 bool result;
14318 PyObject * obj0 = 0 ;
14319 char *kwnames[] = {
14320 (char *) "self", NULL
14321 };
14322
14323 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetDragAllowMove",kwnames,&obj0)) goto fail;
14324 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextEvent,
14325 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14326 {
14327 PyThreadState* __tstate = wxPyBeginAllowThreads();
14328 result = (bool)(arg1)->GetDragAllowMove();
14329
14330 wxPyEndAllowThreads(__tstate);
14331 if (PyErr_Occurred()) SWIG_fail;
14332 }
14333 {
14334 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14335 }
14336 return resultobj;
14337 fail:
14338 return NULL;
14339}
14340
14341
14342static PyObject *_wrap_StyledTextEvent_GetDragResult(PyObject *self, PyObject *args, PyObject *kwargs) {
14343 PyObject *resultobj;
14344 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
14345 int result;
14346 PyObject * obj0 = 0 ;
14347 char *kwnames[] = {
14348 (char *) "self", NULL
14349 };
14350
14351 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetDragResult",kwnames,&obj0)) goto fail;
14352 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextEvent,
14353 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14354 {
14355 PyThreadState* __tstate = wxPyBeginAllowThreads();
14356 result = (int)(arg1)->GetDragResult();
14357
14358 wxPyEndAllowThreads(__tstate);
14359 if (PyErr_Occurred()) SWIG_fail;
14360 }
14361 resultobj = SWIG_FromInt((int)result);
14362 return resultobj;
14363 fail:
14364 return NULL;
14365}
14366
14367
14368static PyObject *_wrap_StyledTextEvent_GetShift(PyObject *self, PyObject *args, PyObject *kwargs) {
14369 PyObject *resultobj;
14370 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
14371 bool result;
14372 PyObject * obj0 = 0 ;
14373 char *kwnames[] = {
14374 (char *) "self", NULL
14375 };
14376
14377 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetShift",kwnames,&obj0)) goto fail;
14378 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextEvent,
14379 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14380 {
14381 PyThreadState* __tstate = wxPyBeginAllowThreads();
14382 result = (bool)((wxStyledTextEvent const *)arg1)->GetShift();
14383
14384 wxPyEndAllowThreads(__tstate);
14385 if (PyErr_Occurred()) SWIG_fail;
14386 }
14387 {
14388 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14389 }
14390 return resultobj;
14391 fail:
14392 return NULL;
14393}
14394
14395
14396static PyObject *_wrap_StyledTextEvent_GetControl(PyObject *self, PyObject *args, PyObject *kwargs) {
14397 PyObject *resultobj;
14398 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
14399 bool result;
14400 PyObject * obj0 = 0 ;
14401 char *kwnames[] = {
14402 (char *) "self", NULL
14403 };
14404
14405 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetControl",kwnames,&obj0)) goto fail;
14406 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextEvent,
14407 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14408 {
14409 PyThreadState* __tstate = wxPyBeginAllowThreads();
14410 result = (bool)((wxStyledTextEvent const *)arg1)->GetControl();
14411
14412 wxPyEndAllowThreads(__tstate);
14413 if (PyErr_Occurred()) SWIG_fail;
14414 }
14415 {
14416 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14417 }
14418 return resultobj;
14419 fail:
14420 return NULL;
14421}
14422
14423
14424static PyObject *_wrap_StyledTextEvent_GetAlt(PyObject *self, PyObject *args, PyObject *kwargs) {
14425 PyObject *resultobj;
14426 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
14427 bool result;
14428 PyObject * obj0 = 0 ;
14429 char *kwnames[] = {
14430 (char *) "self", NULL
14431 };
14432
14433 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetAlt",kwnames,&obj0)) goto fail;
14434 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextEvent,
14435 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14436 {
14437 PyThreadState* __tstate = wxPyBeginAllowThreads();
14438 result = (bool)((wxStyledTextEvent const *)arg1)->GetAlt();
14439
14440 wxPyEndAllowThreads(__tstate);
14441 if (PyErr_Occurred()) SWIG_fail;
14442 }
14443 {
14444 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14445 }
14446 return resultobj;
14447 fail:
14448 return NULL;
14449}
14450
14451
14452static PyObject *_wrap_StyledTextEvent_Clone(PyObject *self, PyObject *args, PyObject *kwargs) {
14453 PyObject *resultobj;
14454 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
14455 wxEvent *result;
14456 PyObject * obj0 = 0 ;
14457 char *kwnames[] = {
14458 (char *) "self", NULL
14459 };
14460
14461 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_Clone",kwnames,&obj0)) goto fail;
14462 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextEvent,
14463 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14464 {
14465 PyThreadState* __tstate = wxPyBeginAllowThreads();
14466 result = (wxEvent *)((wxStyledTextEvent const *)arg1)->Clone();
14467
14468 wxPyEndAllowThreads(__tstate);
14469 if (PyErr_Occurred()) SWIG_fail;
14470 }
14471 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxEvent, 0);
14472 return resultobj;
14473 fail:
14474 return NULL;
14475}
14476
14477
14478static PyObject * StyledTextEvent_swigregister(PyObject *self, PyObject *args) {
14479 PyObject *obj;
14480 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14481 SWIG_TypeClientData(SWIGTYPE_p_wxStyledTextEvent, obj);
14482 Py_INCREF(obj);
14483 return Py_BuildValue((char *)"");
14484}
14485static PyMethodDef SwigMethods[] = {
14486 { (char *)"new_StyledTextCtrl", (PyCFunction) _wrap_new_StyledTextCtrl, METH_VARARGS | METH_KEYWORDS },
14487 { (char *)"new_PreStyledTextCtrl", (PyCFunction) _wrap_new_PreStyledTextCtrl, METH_VARARGS | METH_KEYWORDS },
14488 { (char *)"StyledTextCtrl_Create", (PyCFunction) _wrap_StyledTextCtrl_Create, METH_VARARGS | METH_KEYWORDS },
14489 { (char *)"StyledTextCtrl_AddText", (PyCFunction) _wrap_StyledTextCtrl_AddText, METH_VARARGS | METH_KEYWORDS },
14490 { (char *)"StyledTextCtrl_AddStyledText", (PyCFunction) _wrap_StyledTextCtrl_AddStyledText, METH_VARARGS | METH_KEYWORDS },
14491 { (char *)"StyledTextCtrl_InsertText", (PyCFunction) _wrap_StyledTextCtrl_InsertText, METH_VARARGS | METH_KEYWORDS },
14492 { (char *)"StyledTextCtrl_ClearAll", (PyCFunction) _wrap_StyledTextCtrl_ClearAll, METH_VARARGS | METH_KEYWORDS },
14493 { (char *)"StyledTextCtrl_ClearDocumentStyle", (PyCFunction) _wrap_StyledTextCtrl_ClearDocumentStyle, METH_VARARGS | METH_KEYWORDS },
14494 { (char *)"StyledTextCtrl_GetLength", (PyCFunction) _wrap_StyledTextCtrl_GetLength, METH_VARARGS | METH_KEYWORDS },
14495 { (char *)"StyledTextCtrl_GetCharAt", (PyCFunction) _wrap_StyledTextCtrl_GetCharAt, METH_VARARGS | METH_KEYWORDS },
14496 { (char *)"StyledTextCtrl_GetCurrentPos", (PyCFunction) _wrap_StyledTextCtrl_GetCurrentPos, METH_VARARGS | METH_KEYWORDS },
14497 { (char *)"StyledTextCtrl_GetAnchor", (PyCFunction) _wrap_StyledTextCtrl_GetAnchor, METH_VARARGS | METH_KEYWORDS },
14498 { (char *)"StyledTextCtrl_GetStyleAt", (PyCFunction) _wrap_StyledTextCtrl_GetStyleAt, METH_VARARGS | METH_KEYWORDS },
14499 { (char *)"StyledTextCtrl_Redo", (PyCFunction) _wrap_StyledTextCtrl_Redo, METH_VARARGS | METH_KEYWORDS },
14500 { (char *)"StyledTextCtrl_SetUndoCollection", (PyCFunction) _wrap_StyledTextCtrl_SetUndoCollection, METH_VARARGS | METH_KEYWORDS },
14501 { (char *)"StyledTextCtrl_SelectAll", (PyCFunction) _wrap_StyledTextCtrl_SelectAll, METH_VARARGS | METH_KEYWORDS },
14502 { (char *)"StyledTextCtrl_SetSavePoint", (PyCFunction) _wrap_StyledTextCtrl_SetSavePoint, METH_VARARGS | METH_KEYWORDS },
14503 { (char *)"StyledTextCtrl_GetStyledText", (PyCFunction) _wrap_StyledTextCtrl_GetStyledText, METH_VARARGS | METH_KEYWORDS },
14504 { (char *)"StyledTextCtrl_CanRedo", (PyCFunction) _wrap_StyledTextCtrl_CanRedo, METH_VARARGS | METH_KEYWORDS },
14505 { (char *)"StyledTextCtrl_MarkerLineFromHandle", (PyCFunction) _wrap_StyledTextCtrl_MarkerLineFromHandle, METH_VARARGS | METH_KEYWORDS },
14506 { (char *)"StyledTextCtrl_MarkerDeleteHandle", (PyCFunction) _wrap_StyledTextCtrl_MarkerDeleteHandle, METH_VARARGS | METH_KEYWORDS },
14507 { (char *)"StyledTextCtrl_GetUndoCollection", (PyCFunction) _wrap_StyledTextCtrl_GetUndoCollection, METH_VARARGS | METH_KEYWORDS },
14508 { (char *)"StyledTextCtrl_GetViewWhiteSpace", (PyCFunction) _wrap_StyledTextCtrl_GetViewWhiteSpace, METH_VARARGS | METH_KEYWORDS },
14509 { (char *)"StyledTextCtrl_SetViewWhiteSpace", (PyCFunction) _wrap_StyledTextCtrl_SetViewWhiteSpace, METH_VARARGS | METH_KEYWORDS },
14510 { (char *)"StyledTextCtrl_PositionFromPoint", (PyCFunction) _wrap_StyledTextCtrl_PositionFromPoint, METH_VARARGS | METH_KEYWORDS },
14511 { (char *)"StyledTextCtrl_PositionFromPointClose", (PyCFunction) _wrap_StyledTextCtrl_PositionFromPointClose, METH_VARARGS | METH_KEYWORDS },
14512 { (char *)"StyledTextCtrl_GotoLine", (PyCFunction) _wrap_StyledTextCtrl_GotoLine, METH_VARARGS | METH_KEYWORDS },
14513 { (char *)"StyledTextCtrl_GotoPos", (PyCFunction) _wrap_StyledTextCtrl_GotoPos, METH_VARARGS | METH_KEYWORDS },
14514 { (char *)"StyledTextCtrl_SetAnchor", (PyCFunction) _wrap_StyledTextCtrl_SetAnchor, METH_VARARGS | METH_KEYWORDS },
14515 { (char *)"StyledTextCtrl_GetCurLine", (PyCFunction) _wrap_StyledTextCtrl_GetCurLine, METH_VARARGS | METH_KEYWORDS },
14516 { (char *)"StyledTextCtrl_GetEndStyled", (PyCFunction) _wrap_StyledTextCtrl_GetEndStyled, METH_VARARGS | METH_KEYWORDS },
14517 { (char *)"StyledTextCtrl_ConvertEOLs", (PyCFunction) _wrap_StyledTextCtrl_ConvertEOLs, METH_VARARGS | METH_KEYWORDS },
14518 { (char *)"StyledTextCtrl_GetEOLMode", (PyCFunction) _wrap_StyledTextCtrl_GetEOLMode, METH_VARARGS | METH_KEYWORDS },
14519 { (char *)"StyledTextCtrl_SetEOLMode", (PyCFunction) _wrap_StyledTextCtrl_SetEOLMode, METH_VARARGS | METH_KEYWORDS },
14520 { (char *)"StyledTextCtrl_StartStyling", (PyCFunction) _wrap_StyledTextCtrl_StartStyling, METH_VARARGS | METH_KEYWORDS },
14521 { (char *)"StyledTextCtrl_SetStyling", (PyCFunction) _wrap_StyledTextCtrl_SetStyling, METH_VARARGS | METH_KEYWORDS },
14522 { (char *)"StyledTextCtrl_GetBufferedDraw", (PyCFunction) _wrap_StyledTextCtrl_GetBufferedDraw, METH_VARARGS | METH_KEYWORDS },
14523 { (char *)"StyledTextCtrl_SetBufferedDraw", (PyCFunction) _wrap_StyledTextCtrl_SetBufferedDraw, METH_VARARGS | METH_KEYWORDS },
14524 { (char *)"StyledTextCtrl_SetTabWidth", (PyCFunction) _wrap_StyledTextCtrl_SetTabWidth, METH_VARARGS | METH_KEYWORDS },
14525 { (char *)"StyledTextCtrl_GetTabWidth", (PyCFunction) _wrap_StyledTextCtrl_GetTabWidth, METH_VARARGS | METH_KEYWORDS },
14526 { (char *)"StyledTextCtrl_SetCodePage", (PyCFunction) _wrap_StyledTextCtrl_SetCodePage, METH_VARARGS | METH_KEYWORDS },
14527 { (char *)"StyledTextCtrl_MarkerDefine", (PyCFunction) _wrap_StyledTextCtrl_MarkerDefine, METH_VARARGS | METH_KEYWORDS },
14528 { (char *)"StyledTextCtrl_MarkerSetForeground", (PyCFunction) _wrap_StyledTextCtrl_MarkerSetForeground, METH_VARARGS | METH_KEYWORDS },
14529 { (char *)"StyledTextCtrl_MarkerSetBackground", (PyCFunction) _wrap_StyledTextCtrl_MarkerSetBackground, METH_VARARGS | METH_KEYWORDS },
14530 { (char *)"StyledTextCtrl_MarkerAdd", (PyCFunction) _wrap_StyledTextCtrl_MarkerAdd, METH_VARARGS | METH_KEYWORDS },
14531 { (char *)"StyledTextCtrl_MarkerDelete", (PyCFunction) _wrap_StyledTextCtrl_MarkerDelete, METH_VARARGS | METH_KEYWORDS },
14532 { (char *)"StyledTextCtrl_MarkerDeleteAll", (PyCFunction) _wrap_StyledTextCtrl_MarkerDeleteAll, METH_VARARGS | METH_KEYWORDS },
14533 { (char *)"StyledTextCtrl_MarkerGet", (PyCFunction) _wrap_StyledTextCtrl_MarkerGet, METH_VARARGS | METH_KEYWORDS },
14534 { (char *)"StyledTextCtrl_MarkerNext", (PyCFunction) _wrap_StyledTextCtrl_MarkerNext, METH_VARARGS | METH_KEYWORDS },
14535 { (char *)"StyledTextCtrl_MarkerPrevious", (PyCFunction) _wrap_StyledTextCtrl_MarkerPrevious, METH_VARARGS | METH_KEYWORDS },
14536 { (char *)"StyledTextCtrl_MarkerDefineBitmap", (PyCFunction) _wrap_StyledTextCtrl_MarkerDefineBitmap, METH_VARARGS | METH_KEYWORDS },
14537 { (char *)"StyledTextCtrl_SetMarginType", (PyCFunction) _wrap_StyledTextCtrl_SetMarginType, METH_VARARGS | METH_KEYWORDS },
14538 { (char *)"StyledTextCtrl_GetMarginType", (PyCFunction) _wrap_StyledTextCtrl_GetMarginType, METH_VARARGS | METH_KEYWORDS },
14539 { (char *)"StyledTextCtrl_SetMarginWidth", (PyCFunction) _wrap_StyledTextCtrl_SetMarginWidth, METH_VARARGS | METH_KEYWORDS },
14540 { (char *)"StyledTextCtrl_GetMarginWidth", (PyCFunction) _wrap_StyledTextCtrl_GetMarginWidth, METH_VARARGS | METH_KEYWORDS },
14541 { (char *)"StyledTextCtrl_SetMarginMask", (PyCFunction) _wrap_StyledTextCtrl_SetMarginMask, METH_VARARGS | METH_KEYWORDS },
14542 { (char *)"StyledTextCtrl_GetMarginMask", (PyCFunction) _wrap_StyledTextCtrl_GetMarginMask, METH_VARARGS | METH_KEYWORDS },
14543 { (char *)"StyledTextCtrl_SetMarginSensitive", (PyCFunction) _wrap_StyledTextCtrl_SetMarginSensitive, METH_VARARGS | METH_KEYWORDS },
14544 { (char *)"StyledTextCtrl_GetMarginSensitive", (PyCFunction) _wrap_StyledTextCtrl_GetMarginSensitive, METH_VARARGS | METH_KEYWORDS },
14545 { (char *)"StyledTextCtrl_StyleClearAll", (PyCFunction) _wrap_StyledTextCtrl_StyleClearAll, METH_VARARGS | METH_KEYWORDS },
14546 { (char *)"StyledTextCtrl_StyleSetForeground", (PyCFunction) _wrap_StyledTextCtrl_StyleSetForeground, METH_VARARGS | METH_KEYWORDS },
14547 { (char *)"StyledTextCtrl_StyleSetBackground", (PyCFunction) _wrap_StyledTextCtrl_StyleSetBackground, METH_VARARGS | METH_KEYWORDS },
14548 { (char *)"StyledTextCtrl_StyleSetBold", (PyCFunction) _wrap_StyledTextCtrl_StyleSetBold, METH_VARARGS | METH_KEYWORDS },
14549 { (char *)"StyledTextCtrl_StyleSetItalic", (PyCFunction) _wrap_StyledTextCtrl_StyleSetItalic, METH_VARARGS | METH_KEYWORDS },
14550 { (char *)"StyledTextCtrl_StyleSetSize", (PyCFunction) _wrap_StyledTextCtrl_StyleSetSize, METH_VARARGS | METH_KEYWORDS },
14551 { (char *)"StyledTextCtrl_StyleSetFaceName", (PyCFunction) _wrap_StyledTextCtrl_StyleSetFaceName, METH_VARARGS | METH_KEYWORDS },
14552 { (char *)"StyledTextCtrl_StyleSetEOLFilled", (PyCFunction) _wrap_StyledTextCtrl_StyleSetEOLFilled, METH_VARARGS | METH_KEYWORDS },
14553 { (char *)"StyledTextCtrl_StyleResetDefault", (PyCFunction) _wrap_StyledTextCtrl_StyleResetDefault, METH_VARARGS | METH_KEYWORDS },
14554 { (char *)"StyledTextCtrl_StyleSetUnderline", (PyCFunction) _wrap_StyledTextCtrl_StyleSetUnderline, METH_VARARGS | METH_KEYWORDS },
14555 { (char *)"StyledTextCtrl_StyleSetCase", (PyCFunction) _wrap_StyledTextCtrl_StyleSetCase, METH_VARARGS | METH_KEYWORDS },
14556 { (char *)"StyledTextCtrl_StyleSetCharacterSet", (PyCFunction) _wrap_StyledTextCtrl_StyleSetCharacterSet, METH_VARARGS | METH_KEYWORDS },
14557 { (char *)"StyledTextCtrl_StyleSetHotSpot", (PyCFunction) _wrap_StyledTextCtrl_StyleSetHotSpot, METH_VARARGS | METH_KEYWORDS },
14558 { (char *)"StyledTextCtrl_SetSelForeground", (PyCFunction) _wrap_StyledTextCtrl_SetSelForeground, METH_VARARGS | METH_KEYWORDS },
14559 { (char *)"StyledTextCtrl_SetSelBackground", (PyCFunction) _wrap_StyledTextCtrl_SetSelBackground, METH_VARARGS | METH_KEYWORDS },
14560 { (char *)"StyledTextCtrl_SetCaretForeground", (PyCFunction) _wrap_StyledTextCtrl_SetCaretForeground, METH_VARARGS | METH_KEYWORDS },
14561 { (char *)"StyledTextCtrl_CmdKeyAssign", (PyCFunction) _wrap_StyledTextCtrl_CmdKeyAssign, METH_VARARGS | METH_KEYWORDS },
14562 { (char *)"StyledTextCtrl_CmdKeyClear", (PyCFunction) _wrap_StyledTextCtrl_CmdKeyClear, METH_VARARGS | METH_KEYWORDS },
14563 { (char *)"StyledTextCtrl_CmdKeyClearAll", (PyCFunction) _wrap_StyledTextCtrl_CmdKeyClearAll, METH_VARARGS | METH_KEYWORDS },
14564 { (char *)"StyledTextCtrl_SetStyleBytes", (PyCFunction) _wrap_StyledTextCtrl_SetStyleBytes, METH_VARARGS | METH_KEYWORDS },
14565 { (char *)"StyledTextCtrl_StyleSetVisible", (PyCFunction) _wrap_StyledTextCtrl_StyleSetVisible, METH_VARARGS | METH_KEYWORDS },
14566 { (char *)"StyledTextCtrl_GetCaretPeriod", (PyCFunction) _wrap_StyledTextCtrl_GetCaretPeriod, METH_VARARGS | METH_KEYWORDS },
14567 { (char *)"StyledTextCtrl_SetCaretPeriod", (PyCFunction) _wrap_StyledTextCtrl_SetCaretPeriod, METH_VARARGS | METH_KEYWORDS },
14568 { (char *)"StyledTextCtrl_SetWordChars", (PyCFunction) _wrap_StyledTextCtrl_SetWordChars, METH_VARARGS | METH_KEYWORDS },
14569 { (char *)"StyledTextCtrl_BeginUndoAction", (PyCFunction) _wrap_StyledTextCtrl_BeginUndoAction, METH_VARARGS | METH_KEYWORDS },
14570 { (char *)"StyledTextCtrl_EndUndoAction", (PyCFunction) _wrap_StyledTextCtrl_EndUndoAction, METH_VARARGS | METH_KEYWORDS },
14571 { (char *)"StyledTextCtrl_IndicatorSetStyle", (PyCFunction) _wrap_StyledTextCtrl_IndicatorSetStyle, METH_VARARGS | METH_KEYWORDS },
14572 { (char *)"StyledTextCtrl_IndicatorGetStyle", (PyCFunction) _wrap_StyledTextCtrl_IndicatorGetStyle, METH_VARARGS | METH_KEYWORDS },
14573 { (char *)"StyledTextCtrl_IndicatorSetForeground", (PyCFunction) _wrap_StyledTextCtrl_IndicatorSetForeground, METH_VARARGS | METH_KEYWORDS },
14574 { (char *)"StyledTextCtrl_IndicatorGetForeground", (PyCFunction) _wrap_StyledTextCtrl_IndicatorGetForeground, METH_VARARGS | METH_KEYWORDS },
14575 { (char *)"StyledTextCtrl_SetWhitespaceForeground", (PyCFunction) _wrap_StyledTextCtrl_SetWhitespaceForeground, METH_VARARGS | METH_KEYWORDS },
14576 { (char *)"StyledTextCtrl_SetWhitespaceBackground", (PyCFunction) _wrap_StyledTextCtrl_SetWhitespaceBackground, METH_VARARGS | METH_KEYWORDS },
14577 { (char *)"StyledTextCtrl_SetStyleBits", (PyCFunction) _wrap_StyledTextCtrl_SetStyleBits, METH_VARARGS | METH_KEYWORDS },
14578 { (char *)"StyledTextCtrl_GetStyleBits", (PyCFunction) _wrap_StyledTextCtrl_GetStyleBits, METH_VARARGS | METH_KEYWORDS },
14579 { (char *)"StyledTextCtrl_SetLineState", (PyCFunction) _wrap_StyledTextCtrl_SetLineState, METH_VARARGS | METH_KEYWORDS },
14580 { (char *)"StyledTextCtrl_GetLineState", (PyCFunction) _wrap_StyledTextCtrl_GetLineState, METH_VARARGS | METH_KEYWORDS },
14581 { (char *)"StyledTextCtrl_GetMaxLineState", (PyCFunction) _wrap_StyledTextCtrl_GetMaxLineState, METH_VARARGS | METH_KEYWORDS },
14582 { (char *)"StyledTextCtrl_GetCaretLineVisible", (PyCFunction) _wrap_StyledTextCtrl_GetCaretLineVisible, METH_VARARGS | METH_KEYWORDS },
14583 { (char *)"StyledTextCtrl_SetCaretLineVisible", (PyCFunction) _wrap_StyledTextCtrl_SetCaretLineVisible, METH_VARARGS | METH_KEYWORDS },
14584 { (char *)"StyledTextCtrl_GetCaretLineBack", (PyCFunction) _wrap_StyledTextCtrl_GetCaretLineBack, METH_VARARGS | METH_KEYWORDS },
14585 { (char *)"StyledTextCtrl_SetCaretLineBack", (PyCFunction) _wrap_StyledTextCtrl_SetCaretLineBack, METH_VARARGS | METH_KEYWORDS },
14586 { (char *)"StyledTextCtrl_StyleSetChangeable", (PyCFunction) _wrap_StyledTextCtrl_StyleSetChangeable, METH_VARARGS | METH_KEYWORDS },
14587 { (char *)"StyledTextCtrl_AutoCompShow", (PyCFunction) _wrap_StyledTextCtrl_AutoCompShow, METH_VARARGS | METH_KEYWORDS },
14588 { (char *)"StyledTextCtrl_AutoCompCancel", (PyCFunction) _wrap_StyledTextCtrl_AutoCompCancel, METH_VARARGS | METH_KEYWORDS },
14589 { (char *)"StyledTextCtrl_AutoCompActive", (PyCFunction) _wrap_StyledTextCtrl_AutoCompActive, METH_VARARGS | METH_KEYWORDS },
14590 { (char *)"StyledTextCtrl_AutoCompPosStart", (PyCFunction) _wrap_StyledTextCtrl_AutoCompPosStart, METH_VARARGS | METH_KEYWORDS },
14591 { (char *)"StyledTextCtrl_AutoCompComplete", (PyCFunction) _wrap_StyledTextCtrl_AutoCompComplete, METH_VARARGS | METH_KEYWORDS },
14592 { (char *)"StyledTextCtrl_AutoCompStops", (PyCFunction) _wrap_StyledTextCtrl_AutoCompStops, METH_VARARGS | METH_KEYWORDS },
14593 { (char *)"StyledTextCtrl_AutoCompSetSeparator", (PyCFunction) _wrap_StyledTextCtrl_AutoCompSetSeparator, METH_VARARGS | METH_KEYWORDS },
14594 { (char *)"StyledTextCtrl_AutoCompGetSeparator", (PyCFunction) _wrap_StyledTextCtrl_AutoCompGetSeparator, METH_VARARGS | METH_KEYWORDS },
14595 { (char *)"StyledTextCtrl_AutoCompSelect", (PyCFunction) _wrap_StyledTextCtrl_AutoCompSelect, METH_VARARGS | METH_KEYWORDS },
14596 { (char *)"StyledTextCtrl_AutoCompSetCancelAtStart", (PyCFunction) _wrap_StyledTextCtrl_AutoCompSetCancelAtStart, METH_VARARGS | METH_KEYWORDS },
14597 { (char *)"StyledTextCtrl_AutoCompGetCancelAtStart", (PyCFunction) _wrap_StyledTextCtrl_AutoCompGetCancelAtStart, METH_VARARGS | METH_KEYWORDS },
14598 { (char *)"StyledTextCtrl_AutoCompSetFillUps", (PyCFunction) _wrap_StyledTextCtrl_AutoCompSetFillUps, METH_VARARGS | METH_KEYWORDS },
14599 { (char *)"StyledTextCtrl_AutoCompSetChooseSingle", (PyCFunction) _wrap_StyledTextCtrl_AutoCompSetChooseSingle, METH_VARARGS | METH_KEYWORDS },
14600 { (char *)"StyledTextCtrl_AutoCompGetChooseSingle", (PyCFunction) _wrap_StyledTextCtrl_AutoCompGetChooseSingle, METH_VARARGS | METH_KEYWORDS },
14601 { (char *)"StyledTextCtrl_AutoCompSetIgnoreCase", (PyCFunction) _wrap_StyledTextCtrl_AutoCompSetIgnoreCase, METH_VARARGS | METH_KEYWORDS },
14602 { (char *)"StyledTextCtrl_AutoCompGetIgnoreCase", (PyCFunction) _wrap_StyledTextCtrl_AutoCompGetIgnoreCase, METH_VARARGS | METH_KEYWORDS },
14603 { (char *)"StyledTextCtrl_UserListShow", (PyCFunction) _wrap_StyledTextCtrl_UserListShow, METH_VARARGS | METH_KEYWORDS },
14604 { (char *)"StyledTextCtrl_AutoCompSetAutoHide", (PyCFunction) _wrap_StyledTextCtrl_AutoCompSetAutoHide, METH_VARARGS | METH_KEYWORDS },
14605 { (char *)"StyledTextCtrl_AutoCompGetAutoHide", (PyCFunction) _wrap_StyledTextCtrl_AutoCompGetAutoHide, METH_VARARGS | METH_KEYWORDS },
14606 { (char *)"StyledTextCtrl_AutoCompSetDropRestOfWord", (PyCFunction) _wrap_StyledTextCtrl_AutoCompSetDropRestOfWord, METH_VARARGS | METH_KEYWORDS },
14607 { (char *)"StyledTextCtrl_AutoCompGetDropRestOfWord", (PyCFunction) _wrap_StyledTextCtrl_AutoCompGetDropRestOfWord, METH_VARARGS | METH_KEYWORDS },
14608 { (char *)"StyledTextCtrl_RegisterImage", (PyCFunction) _wrap_StyledTextCtrl_RegisterImage, METH_VARARGS | METH_KEYWORDS },
14609 { (char *)"StyledTextCtrl_ClearRegisteredImages", (PyCFunction) _wrap_StyledTextCtrl_ClearRegisteredImages, METH_VARARGS | METH_KEYWORDS },
14610 { (char *)"StyledTextCtrl_AutoCompGetTypeSeparator", (PyCFunction) _wrap_StyledTextCtrl_AutoCompGetTypeSeparator, METH_VARARGS | METH_KEYWORDS },
14611 { (char *)"StyledTextCtrl_AutoCompSetTypeSeparator", (PyCFunction) _wrap_StyledTextCtrl_AutoCompSetTypeSeparator, METH_VARARGS | METH_KEYWORDS },
14612 { (char *)"StyledTextCtrl_SetIndent", (PyCFunction) _wrap_StyledTextCtrl_SetIndent, METH_VARARGS | METH_KEYWORDS },
14613 { (char *)"StyledTextCtrl_GetIndent", (PyCFunction) _wrap_StyledTextCtrl_GetIndent, METH_VARARGS | METH_KEYWORDS },
14614 { (char *)"StyledTextCtrl_SetUseTabs", (PyCFunction) _wrap_StyledTextCtrl_SetUseTabs, METH_VARARGS | METH_KEYWORDS },
14615 { (char *)"StyledTextCtrl_GetUseTabs", (PyCFunction) _wrap_StyledTextCtrl_GetUseTabs, METH_VARARGS | METH_KEYWORDS },
14616 { (char *)"StyledTextCtrl_SetLineIndentation", (PyCFunction) _wrap_StyledTextCtrl_SetLineIndentation, METH_VARARGS | METH_KEYWORDS },
14617 { (char *)"StyledTextCtrl_GetLineIndentation", (PyCFunction) _wrap_StyledTextCtrl_GetLineIndentation, METH_VARARGS | METH_KEYWORDS },
14618 { (char *)"StyledTextCtrl_GetLineIndentPosition", (PyCFunction) _wrap_StyledTextCtrl_GetLineIndentPosition, METH_VARARGS | METH_KEYWORDS },
14619 { (char *)"StyledTextCtrl_GetColumn", (PyCFunction) _wrap_StyledTextCtrl_GetColumn, METH_VARARGS | METH_KEYWORDS },
14620 { (char *)"StyledTextCtrl_SetUseHorizontalScrollBar", (PyCFunction) _wrap_StyledTextCtrl_SetUseHorizontalScrollBar, METH_VARARGS | METH_KEYWORDS },
14621 { (char *)"StyledTextCtrl_GetUseHorizontalScrollBar", (PyCFunction) _wrap_StyledTextCtrl_GetUseHorizontalScrollBar, METH_VARARGS | METH_KEYWORDS },
14622 { (char *)"StyledTextCtrl_SetIndentationGuides", (PyCFunction) _wrap_StyledTextCtrl_SetIndentationGuides, METH_VARARGS | METH_KEYWORDS },
14623 { (char *)"StyledTextCtrl_GetIndentationGuides", (PyCFunction) _wrap_StyledTextCtrl_GetIndentationGuides, METH_VARARGS | METH_KEYWORDS },
14624 { (char *)"StyledTextCtrl_SetHighlightGuide", (PyCFunction) _wrap_StyledTextCtrl_SetHighlightGuide, METH_VARARGS | METH_KEYWORDS },
14625 { (char *)"StyledTextCtrl_GetHighlightGuide", (PyCFunction) _wrap_StyledTextCtrl_GetHighlightGuide, METH_VARARGS | METH_KEYWORDS },
14626 { (char *)"StyledTextCtrl_GetLineEndPosition", (PyCFunction) _wrap_StyledTextCtrl_GetLineEndPosition, METH_VARARGS | METH_KEYWORDS },
14627 { (char *)"StyledTextCtrl_GetCodePage", (PyCFunction) _wrap_StyledTextCtrl_GetCodePage, METH_VARARGS | METH_KEYWORDS },
14628 { (char *)"StyledTextCtrl_GetCaretForeground", (PyCFunction) _wrap_StyledTextCtrl_GetCaretForeground, METH_VARARGS | METH_KEYWORDS },
14629 { (char *)"StyledTextCtrl_GetReadOnly", (PyCFunction) _wrap_StyledTextCtrl_GetReadOnly, METH_VARARGS | METH_KEYWORDS },
14630 { (char *)"StyledTextCtrl_SetCurrentPos", (PyCFunction) _wrap_StyledTextCtrl_SetCurrentPos, METH_VARARGS | METH_KEYWORDS },
14631 { (char *)"StyledTextCtrl_SetSelectionStart", (PyCFunction) _wrap_StyledTextCtrl_SetSelectionStart, METH_VARARGS | METH_KEYWORDS },
14632 { (char *)"StyledTextCtrl_GetSelectionStart", (PyCFunction) _wrap_StyledTextCtrl_GetSelectionStart, METH_VARARGS | METH_KEYWORDS },
14633 { (char *)"StyledTextCtrl_SetSelectionEnd", (PyCFunction) _wrap_StyledTextCtrl_SetSelectionEnd, METH_VARARGS | METH_KEYWORDS },
14634 { (char *)"StyledTextCtrl_GetSelectionEnd", (PyCFunction) _wrap_StyledTextCtrl_GetSelectionEnd, METH_VARARGS | METH_KEYWORDS },
14635 { (char *)"StyledTextCtrl_SetPrintMagnification", (PyCFunction) _wrap_StyledTextCtrl_SetPrintMagnification, METH_VARARGS | METH_KEYWORDS },
14636 { (char *)"StyledTextCtrl_GetPrintMagnification", (PyCFunction) _wrap_StyledTextCtrl_GetPrintMagnification, METH_VARARGS | METH_KEYWORDS },
14637 { (char *)"StyledTextCtrl_SetPrintColourMode", (PyCFunction) _wrap_StyledTextCtrl_SetPrintColourMode, METH_VARARGS | METH_KEYWORDS },
14638 { (char *)"StyledTextCtrl_GetPrintColourMode", (PyCFunction) _wrap_StyledTextCtrl_GetPrintColourMode, METH_VARARGS | METH_KEYWORDS },
14639 { (char *)"StyledTextCtrl_FindText", (PyCFunction) _wrap_StyledTextCtrl_FindText, METH_VARARGS | METH_KEYWORDS },
14640 { (char *)"StyledTextCtrl_FormatRange", (PyCFunction) _wrap_StyledTextCtrl_FormatRange, METH_VARARGS | METH_KEYWORDS },
14641 { (char *)"StyledTextCtrl_GetFirstVisibleLine", (PyCFunction) _wrap_StyledTextCtrl_GetFirstVisibleLine, METH_VARARGS | METH_KEYWORDS },
14642 { (char *)"StyledTextCtrl_GetLine", (PyCFunction) _wrap_StyledTextCtrl_GetLine, METH_VARARGS | METH_KEYWORDS },
14643 { (char *)"StyledTextCtrl_GetLineCount", (PyCFunction) _wrap_StyledTextCtrl_GetLineCount, METH_VARARGS | METH_KEYWORDS },
14644 { (char *)"StyledTextCtrl_SetMarginLeft", (PyCFunction) _wrap_StyledTextCtrl_SetMarginLeft, METH_VARARGS | METH_KEYWORDS },
14645 { (char *)"StyledTextCtrl_GetMarginLeft", (PyCFunction) _wrap_StyledTextCtrl_GetMarginLeft, METH_VARARGS | METH_KEYWORDS },
14646 { (char *)"StyledTextCtrl_SetMarginRight", (PyCFunction) _wrap_StyledTextCtrl_SetMarginRight, METH_VARARGS | METH_KEYWORDS },
14647 { (char *)"StyledTextCtrl_GetMarginRight", (PyCFunction) _wrap_StyledTextCtrl_GetMarginRight, METH_VARARGS | METH_KEYWORDS },
14648 { (char *)"StyledTextCtrl_GetModify", (PyCFunction) _wrap_StyledTextCtrl_GetModify, METH_VARARGS | METH_KEYWORDS },
14649 { (char *)"StyledTextCtrl_SetSelection", (PyCFunction) _wrap_StyledTextCtrl_SetSelection, METH_VARARGS | METH_KEYWORDS },
14650 { (char *)"StyledTextCtrl_GetSelectedText", (PyCFunction) _wrap_StyledTextCtrl_GetSelectedText, METH_VARARGS | METH_KEYWORDS },
14651 { (char *)"StyledTextCtrl_GetTextRange", (PyCFunction) _wrap_StyledTextCtrl_GetTextRange, METH_VARARGS | METH_KEYWORDS },
14652 { (char *)"StyledTextCtrl_HideSelection", (PyCFunction) _wrap_StyledTextCtrl_HideSelection, METH_VARARGS | METH_KEYWORDS },
14653 { (char *)"StyledTextCtrl_LineFromPosition", (PyCFunction) _wrap_StyledTextCtrl_LineFromPosition, METH_VARARGS | METH_KEYWORDS },
14654 { (char *)"StyledTextCtrl_PositionFromLine", (PyCFunction) _wrap_StyledTextCtrl_PositionFromLine, METH_VARARGS | METH_KEYWORDS },
14655 { (char *)"StyledTextCtrl_LineScroll", (PyCFunction) _wrap_StyledTextCtrl_LineScroll, METH_VARARGS | METH_KEYWORDS },
14656 { (char *)"StyledTextCtrl_EnsureCaretVisible", (PyCFunction) _wrap_StyledTextCtrl_EnsureCaretVisible, METH_VARARGS | METH_KEYWORDS },
14657 { (char *)"StyledTextCtrl_ReplaceSelection", (PyCFunction) _wrap_StyledTextCtrl_ReplaceSelection, METH_VARARGS | METH_KEYWORDS },
14658 { (char *)"StyledTextCtrl_SetReadOnly", (PyCFunction) _wrap_StyledTextCtrl_SetReadOnly, METH_VARARGS | METH_KEYWORDS },
14659 { (char *)"StyledTextCtrl_CanPaste", (PyCFunction) _wrap_StyledTextCtrl_CanPaste, METH_VARARGS | METH_KEYWORDS },
14660 { (char *)"StyledTextCtrl_CanUndo", (PyCFunction) _wrap_StyledTextCtrl_CanUndo, METH_VARARGS | METH_KEYWORDS },
14661 { (char *)"StyledTextCtrl_EmptyUndoBuffer", (PyCFunction) _wrap_StyledTextCtrl_EmptyUndoBuffer, METH_VARARGS | METH_KEYWORDS },
14662 { (char *)"StyledTextCtrl_Undo", (PyCFunction) _wrap_StyledTextCtrl_Undo, METH_VARARGS | METH_KEYWORDS },
14663 { (char *)"StyledTextCtrl_Cut", (PyCFunction) _wrap_StyledTextCtrl_Cut, METH_VARARGS | METH_KEYWORDS },
14664 { (char *)"StyledTextCtrl_Copy", (PyCFunction) _wrap_StyledTextCtrl_Copy, METH_VARARGS | METH_KEYWORDS },
14665 { (char *)"StyledTextCtrl_Paste", (PyCFunction) _wrap_StyledTextCtrl_Paste, METH_VARARGS | METH_KEYWORDS },
14666 { (char *)"StyledTextCtrl_Clear", (PyCFunction) _wrap_StyledTextCtrl_Clear, METH_VARARGS | METH_KEYWORDS },
14667 { (char *)"StyledTextCtrl_SetText", (PyCFunction) _wrap_StyledTextCtrl_SetText, METH_VARARGS | METH_KEYWORDS },
14668 { (char *)"StyledTextCtrl_GetText", (PyCFunction) _wrap_StyledTextCtrl_GetText, METH_VARARGS | METH_KEYWORDS },
14669 { (char *)"StyledTextCtrl_GetTextLength", (PyCFunction) _wrap_StyledTextCtrl_GetTextLength, METH_VARARGS | METH_KEYWORDS },
14670 { (char *)"StyledTextCtrl_SetOvertype", (PyCFunction) _wrap_StyledTextCtrl_SetOvertype, METH_VARARGS | METH_KEYWORDS },
14671 { (char *)"StyledTextCtrl_GetOvertype", (PyCFunction) _wrap_StyledTextCtrl_GetOvertype, METH_VARARGS | METH_KEYWORDS },
14672 { (char *)"StyledTextCtrl_SetCaretWidth", (PyCFunction) _wrap_StyledTextCtrl_SetCaretWidth, METH_VARARGS | METH_KEYWORDS },
14673 { (char *)"StyledTextCtrl_GetCaretWidth", (PyCFunction) _wrap_StyledTextCtrl_GetCaretWidth, METH_VARARGS | METH_KEYWORDS },
14674 { (char *)"StyledTextCtrl_SetTargetStart", (PyCFunction) _wrap_StyledTextCtrl_SetTargetStart, METH_VARARGS | METH_KEYWORDS },
14675 { (char *)"StyledTextCtrl_GetTargetStart", (PyCFunction) _wrap_StyledTextCtrl_GetTargetStart, METH_VARARGS | METH_KEYWORDS },
14676 { (char *)"StyledTextCtrl_SetTargetEnd", (PyCFunction) _wrap_StyledTextCtrl_SetTargetEnd, METH_VARARGS | METH_KEYWORDS },
14677 { (char *)"StyledTextCtrl_GetTargetEnd", (PyCFunction) _wrap_StyledTextCtrl_GetTargetEnd, METH_VARARGS | METH_KEYWORDS },
14678 { (char *)"StyledTextCtrl_ReplaceTarget", (PyCFunction) _wrap_StyledTextCtrl_ReplaceTarget, METH_VARARGS | METH_KEYWORDS },
14679 { (char *)"StyledTextCtrl_ReplaceTargetRE", (PyCFunction) _wrap_StyledTextCtrl_ReplaceTargetRE, METH_VARARGS | METH_KEYWORDS },
14680 { (char *)"StyledTextCtrl_SearchInTarget", (PyCFunction) _wrap_StyledTextCtrl_SearchInTarget, METH_VARARGS | METH_KEYWORDS },
14681 { (char *)"StyledTextCtrl_SetSearchFlags", (PyCFunction) _wrap_StyledTextCtrl_SetSearchFlags, METH_VARARGS | METH_KEYWORDS },
14682 { (char *)"StyledTextCtrl_GetSearchFlags", (PyCFunction) _wrap_StyledTextCtrl_GetSearchFlags, METH_VARARGS | METH_KEYWORDS },
14683 { (char *)"StyledTextCtrl_CallTipShow", (PyCFunction) _wrap_StyledTextCtrl_CallTipShow, METH_VARARGS | METH_KEYWORDS },
14684 { (char *)"StyledTextCtrl_CallTipCancel", (PyCFunction) _wrap_StyledTextCtrl_CallTipCancel, METH_VARARGS | METH_KEYWORDS },
14685 { (char *)"StyledTextCtrl_CallTipActive", (PyCFunction) _wrap_StyledTextCtrl_CallTipActive, METH_VARARGS | METH_KEYWORDS },
14686 { (char *)"StyledTextCtrl_CallTipPosAtStart", (PyCFunction) _wrap_StyledTextCtrl_CallTipPosAtStart, METH_VARARGS | METH_KEYWORDS },
14687 { (char *)"StyledTextCtrl_CallTipSetHighlight", (PyCFunction) _wrap_StyledTextCtrl_CallTipSetHighlight, METH_VARARGS | METH_KEYWORDS },
14688 { (char *)"StyledTextCtrl_CallTipSetBackground", (PyCFunction) _wrap_StyledTextCtrl_CallTipSetBackground, METH_VARARGS | METH_KEYWORDS },
14689 { (char *)"StyledTextCtrl_CallTipSetForeground", (PyCFunction) _wrap_StyledTextCtrl_CallTipSetForeground, METH_VARARGS | METH_KEYWORDS },
14690 { (char *)"StyledTextCtrl_CallTipSetForegroundHighlight", (PyCFunction) _wrap_StyledTextCtrl_CallTipSetForegroundHighlight, METH_VARARGS | METH_KEYWORDS },
14691 { (char *)"StyledTextCtrl_VisibleFromDocLine", (PyCFunction) _wrap_StyledTextCtrl_VisibleFromDocLine, METH_VARARGS | METH_KEYWORDS },
14692 { (char *)"StyledTextCtrl_DocLineFromVisible", (PyCFunction) _wrap_StyledTextCtrl_DocLineFromVisible, METH_VARARGS | METH_KEYWORDS },
14693 { (char *)"StyledTextCtrl_SetFoldLevel", (PyCFunction) _wrap_StyledTextCtrl_SetFoldLevel, METH_VARARGS | METH_KEYWORDS },
14694 { (char *)"StyledTextCtrl_GetFoldLevel", (PyCFunction) _wrap_StyledTextCtrl_GetFoldLevel, METH_VARARGS | METH_KEYWORDS },
14695 { (char *)"StyledTextCtrl_GetLastChild", (PyCFunction) _wrap_StyledTextCtrl_GetLastChild, METH_VARARGS | METH_KEYWORDS },
14696 { (char *)"StyledTextCtrl_GetFoldParent", (PyCFunction) _wrap_StyledTextCtrl_GetFoldParent, METH_VARARGS | METH_KEYWORDS },
14697 { (char *)"StyledTextCtrl_ShowLines", (PyCFunction) _wrap_StyledTextCtrl_ShowLines, METH_VARARGS | METH_KEYWORDS },
14698 { (char *)"StyledTextCtrl_HideLines", (PyCFunction) _wrap_StyledTextCtrl_HideLines, METH_VARARGS | METH_KEYWORDS },
14699 { (char *)"StyledTextCtrl_GetLineVisible", (PyCFunction) _wrap_StyledTextCtrl_GetLineVisible, METH_VARARGS | METH_KEYWORDS },
14700 { (char *)"StyledTextCtrl_SetFoldExpanded", (PyCFunction) _wrap_StyledTextCtrl_SetFoldExpanded, METH_VARARGS | METH_KEYWORDS },
14701 { (char *)"StyledTextCtrl_GetFoldExpanded", (PyCFunction) _wrap_StyledTextCtrl_GetFoldExpanded, METH_VARARGS | METH_KEYWORDS },
14702 { (char *)"StyledTextCtrl_ToggleFold", (PyCFunction) _wrap_StyledTextCtrl_ToggleFold, METH_VARARGS | METH_KEYWORDS },
14703 { (char *)"StyledTextCtrl_EnsureVisible", (PyCFunction) _wrap_StyledTextCtrl_EnsureVisible, METH_VARARGS | METH_KEYWORDS },
14704 { (char *)"StyledTextCtrl_SetFoldFlags", (PyCFunction) _wrap_StyledTextCtrl_SetFoldFlags, METH_VARARGS | METH_KEYWORDS },
14705 { (char *)"StyledTextCtrl_EnsureVisibleEnforcePolicy", (PyCFunction) _wrap_StyledTextCtrl_EnsureVisibleEnforcePolicy, METH_VARARGS | METH_KEYWORDS },
14706 { (char *)"StyledTextCtrl_SetTabIndents", (PyCFunction) _wrap_StyledTextCtrl_SetTabIndents, METH_VARARGS | METH_KEYWORDS },
14707 { (char *)"StyledTextCtrl_GetTabIndents", (PyCFunction) _wrap_StyledTextCtrl_GetTabIndents, METH_VARARGS | METH_KEYWORDS },
14708 { (char *)"StyledTextCtrl_SetBackSpaceUnIndents", (PyCFunction) _wrap_StyledTextCtrl_SetBackSpaceUnIndents, METH_VARARGS | METH_KEYWORDS },
14709 { (char *)"StyledTextCtrl_GetBackSpaceUnIndents", (PyCFunction) _wrap_StyledTextCtrl_GetBackSpaceUnIndents, METH_VARARGS | METH_KEYWORDS },
14710 { (char *)"StyledTextCtrl_SetMouseDwellTime", (PyCFunction) _wrap_StyledTextCtrl_SetMouseDwellTime, METH_VARARGS | METH_KEYWORDS },
14711 { (char *)"StyledTextCtrl_GetMouseDwellTime", (PyCFunction) _wrap_StyledTextCtrl_GetMouseDwellTime, METH_VARARGS | METH_KEYWORDS },
14712 { (char *)"StyledTextCtrl_WordStartPosition", (PyCFunction) _wrap_StyledTextCtrl_WordStartPosition, METH_VARARGS | METH_KEYWORDS },
14713 { (char *)"StyledTextCtrl_WordEndPosition", (PyCFunction) _wrap_StyledTextCtrl_WordEndPosition, METH_VARARGS | METH_KEYWORDS },
14714 { (char *)"StyledTextCtrl_SetWrapMode", (PyCFunction) _wrap_StyledTextCtrl_SetWrapMode, METH_VARARGS | METH_KEYWORDS },
14715 { (char *)"StyledTextCtrl_GetWrapMode", (PyCFunction) _wrap_StyledTextCtrl_GetWrapMode, METH_VARARGS | METH_KEYWORDS },
14716 { (char *)"StyledTextCtrl_SetLayoutCache", (PyCFunction) _wrap_StyledTextCtrl_SetLayoutCache, METH_VARARGS | METH_KEYWORDS },
14717 { (char *)"StyledTextCtrl_GetLayoutCache", (PyCFunction) _wrap_StyledTextCtrl_GetLayoutCache, METH_VARARGS | METH_KEYWORDS },
14718 { (char *)"StyledTextCtrl_SetScrollWidth", (PyCFunction) _wrap_StyledTextCtrl_SetScrollWidth, METH_VARARGS | METH_KEYWORDS },
14719 { (char *)"StyledTextCtrl_GetScrollWidth", (PyCFunction) _wrap_StyledTextCtrl_GetScrollWidth, METH_VARARGS | METH_KEYWORDS },
14720 { (char *)"StyledTextCtrl_TextWidth", (PyCFunction) _wrap_StyledTextCtrl_TextWidth, METH_VARARGS | METH_KEYWORDS },
14721 { (char *)"StyledTextCtrl_SetEndAtLastLine", (PyCFunction) _wrap_StyledTextCtrl_SetEndAtLastLine, METH_VARARGS | METH_KEYWORDS },
14722 { (char *)"StyledTextCtrl_GetEndAtLastLine", (PyCFunction) _wrap_StyledTextCtrl_GetEndAtLastLine, METH_VARARGS | METH_KEYWORDS },
14723 { (char *)"StyledTextCtrl_TextHeight", (PyCFunction) _wrap_StyledTextCtrl_TextHeight, METH_VARARGS | METH_KEYWORDS },
14724 { (char *)"StyledTextCtrl_SetUseVerticalScrollBar", (PyCFunction) _wrap_StyledTextCtrl_SetUseVerticalScrollBar, METH_VARARGS | METH_KEYWORDS },
14725 { (char *)"StyledTextCtrl_GetUseVerticalScrollBar", (PyCFunction) _wrap_StyledTextCtrl_GetUseVerticalScrollBar, METH_VARARGS | METH_KEYWORDS },
14726 { (char *)"StyledTextCtrl_AppendText", (PyCFunction) _wrap_StyledTextCtrl_AppendText, METH_VARARGS | METH_KEYWORDS },
14727 { (char *)"StyledTextCtrl_GetTwoPhaseDraw", (PyCFunction) _wrap_StyledTextCtrl_GetTwoPhaseDraw, METH_VARARGS | METH_KEYWORDS },
14728 { (char *)"StyledTextCtrl_SetTwoPhaseDraw", (PyCFunction) _wrap_StyledTextCtrl_SetTwoPhaseDraw, METH_VARARGS | METH_KEYWORDS },
14729 { (char *)"StyledTextCtrl_TargetFromSelection", (PyCFunction) _wrap_StyledTextCtrl_TargetFromSelection, METH_VARARGS | METH_KEYWORDS },
14730 { (char *)"StyledTextCtrl_LinesJoin", (PyCFunction) _wrap_StyledTextCtrl_LinesJoin, METH_VARARGS | METH_KEYWORDS },
14731 { (char *)"StyledTextCtrl_LinesSplit", (PyCFunction) _wrap_StyledTextCtrl_LinesSplit, METH_VARARGS | METH_KEYWORDS },
14732 { (char *)"StyledTextCtrl_SetFoldMarginColour", (PyCFunction) _wrap_StyledTextCtrl_SetFoldMarginColour, METH_VARARGS | METH_KEYWORDS },
14733 { (char *)"StyledTextCtrl_SetFoldMarginHiColour", (PyCFunction) _wrap_StyledTextCtrl_SetFoldMarginHiColour, METH_VARARGS | METH_KEYWORDS },
14734 { (char *)"StyledTextCtrl_LineDown", (PyCFunction) _wrap_StyledTextCtrl_LineDown, METH_VARARGS | METH_KEYWORDS },
14735 { (char *)"StyledTextCtrl_LineDownExtend", (PyCFunction) _wrap_StyledTextCtrl_LineDownExtend, METH_VARARGS | METH_KEYWORDS },
14736 { (char *)"StyledTextCtrl_LineUp", (PyCFunction) _wrap_StyledTextCtrl_LineUp, METH_VARARGS | METH_KEYWORDS },
14737 { (char *)"StyledTextCtrl_LineUpExtend", (PyCFunction) _wrap_StyledTextCtrl_LineUpExtend, METH_VARARGS | METH_KEYWORDS },
14738 { (char *)"StyledTextCtrl_CharLeft", (PyCFunction) _wrap_StyledTextCtrl_CharLeft, METH_VARARGS | METH_KEYWORDS },
14739 { (char *)"StyledTextCtrl_CharLeftExtend", (PyCFunction) _wrap_StyledTextCtrl_CharLeftExtend, METH_VARARGS | METH_KEYWORDS },
14740 { (char *)"StyledTextCtrl_CharRight", (PyCFunction) _wrap_StyledTextCtrl_CharRight, METH_VARARGS | METH_KEYWORDS },
14741 { (char *)"StyledTextCtrl_CharRightExtend", (PyCFunction) _wrap_StyledTextCtrl_CharRightExtend, METH_VARARGS | METH_KEYWORDS },
14742 { (char *)"StyledTextCtrl_WordLeft", (PyCFunction) _wrap_StyledTextCtrl_WordLeft, METH_VARARGS | METH_KEYWORDS },
14743 { (char *)"StyledTextCtrl_WordLeftExtend", (PyCFunction) _wrap_StyledTextCtrl_WordLeftExtend, METH_VARARGS | METH_KEYWORDS },
14744 { (char *)"StyledTextCtrl_WordRight", (PyCFunction) _wrap_StyledTextCtrl_WordRight, METH_VARARGS | METH_KEYWORDS },
14745 { (char *)"StyledTextCtrl_WordRightExtend", (PyCFunction) _wrap_StyledTextCtrl_WordRightExtend, METH_VARARGS | METH_KEYWORDS },
14746 { (char *)"StyledTextCtrl_Home", (PyCFunction) _wrap_StyledTextCtrl_Home, METH_VARARGS | METH_KEYWORDS },
14747 { (char *)"StyledTextCtrl_HomeExtend", (PyCFunction) _wrap_StyledTextCtrl_HomeExtend, METH_VARARGS | METH_KEYWORDS },
14748 { (char *)"StyledTextCtrl_LineEnd", (PyCFunction) _wrap_StyledTextCtrl_LineEnd, METH_VARARGS | METH_KEYWORDS },
14749 { (char *)"StyledTextCtrl_LineEndExtend", (PyCFunction) _wrap_StyledTextCtrl_LineEndExtend, METH_VARARGS | METH_KEYWORDS },
14750 { (char *)"StyledTextCtrl_DocumentStart", (PyCFunction) _wrap_StyledTextCtrl_DocumentStart, METH_VARARGS | METH_KEYWORDS },
14751 { (char *)"StyledTextCtrl_DocumentStartExtend", (PyCFunction) _wrap_StyledTextCtrl_DocumentStartExtend, METH_VARARGS | METH_KEYWORDS },
14752 { (char *)"StyledTextCtrl_DocumentEnd", (PyCFunction) _wrap_StyledTextCtrl_DocumentEnd, METH_VARARGS | METH_KEYWORDS },
14753 { (char *)"StyledTextCtrl_DocumentEndExtend", (PyCFunction) _wrap_StyledTextCtrl_DocumentEndExtend, METH_VARARGS | METH_KEYWORDS },
14754 { (char *)"StyledTextCtrl_PageUp", (PyCFunction) _wrap_StyledTextCtrl_PageUp, METH_VARARGS | METH_KEYWORDS },
14755 { (char *)"StyledTextCtrl_PageUpExtend", (PyCFunction) _wrap_StyledTextCtrl_PageUpExtend, METH_VARARGS | METH_KEYWORDS },
14756 { (char *)"StyledTextCtrl_PageDown", (PyCFunction) _wrap_StyledTextCtrl_PageDown, METH_VARARGS | METH_KEYWORDS },
14757 { (char *)"StyledTextCtrl_PageDownExtend", (PyCFunction) _wrap_StyledTextCtrl_PageDownExtend, METH_VARARGS | METH_KEYWORDS },
14758 { (char *)"StyledTextCtrl_EditToggleOvertype", (PyCFunction) _wrap_StyledTextCtrl_EditToggleOvertype, METH_VARARGS | METH_KEYWORDS },
14759 { (char *)"StyledTextCtrl_Cancel", (PyCFunction) _wrap_StyledTextCtrl_Cancel, METH_VARARGS | METH_KEYWORDS },
14760 { (char *)"StyledTextCtrl_DeleteBack", (PyCFunction) _wrap_StyledTextCtrl_DeleteBack, METH_VARARGS | METH_KEYWORDS },
14761 { (char *)"StyledTextCtrl_Tab", (PyCFunction) _wrap_StyledTextCtrl_Tab, METH_VARARGS | METH_KEYWORDS },
14762 { (char *)"StyledTextCtrl_BackTab", (PyCFunction) _wrap_StyledTextCtrl_BackTab, METH_VARARGS | METH_KEYWORDS },
14763 { (char *)"StyledTextCtrl_NewLine", (PyCFunction) _wrap_StyledTextCtrl_NewLine, METH_VARARGS | METH_KEYWORDS },
14764 { (char *)"StyledTextCtrl_FormFeed", (PyCFunction) _wrap_StyledTextCtrl_FormFeed, METH_VARARGS | METH_KEYWORDS },
14765 { (char *)"StyledTextCtrl_VCHome", (PyCFunction) _wrap_StyledTextCtrl_VCHome, METH_VARARGS | METH_KEYWORDS },
14766 { (char *)"StyledTextCtrl_VCHomeExtend", (PyCFunction) _wrap_StyledTextCtrl_VCHomeExtend, METH_VARARGS | METH_KEYWORDS },
14767 { (char *)"StyledTextCtrl_ZoomIn", (PyCFunction) _wrap_StyledTextCtrl_ZoomIn, METH_VARARGS | METH_KEYWORDS },
14768 { (char *)"StyledTextCtrl_ZoomOut", (PyCFunction) _wrap_StyledTextCtrl_ZoomOut, METH_VARARGS | METH_KEYWORDS },
14769 { (char *)"StyledTextCtrl_DelWordLeft", (PyCFunction) _wrap_StyledTextCtrl_DelWordLeft, METH_VARARGS | METH_KEYWORDS },
14770 { (char *)"StyledTextCtrl_DelWordRight", (PyCFunction) _wrap_StyledTextCtrl_DelWordRight, METH_VARARGS | METH_KEYWORDS },
14771 { (char *)"StyledTextCtrl_LineCut", (PyCFunction) _wrap_StyledTextCtrl_LineCut, METH_VARARGS | METH_KEYWORDS },
14772 { (char *)"StyledTextCtrl_LineDelete", (PyCFunction) _wrap_StyledTextCtrl_LineDelete, METH_VARARGS | METH_KEYWORDS },
14773 { (char *)"StyledTextCtrl_LineTranspose", (PyCFunction) _wrap_StyledTextCtrl_LineTranspose, METH_VARARGS | METH_KEYWORDS },
14774 { (char *)"StyledTextCtrl_LineDuplicate", (PyCFunction) _wrap_StyledTextCtrl_LineDuplicate, METH_VARARGS | METH_KEYWORDS },
14775 { (char *)"StyledTextCtrl_LowerCase", (PyCFunction) _wrap_StyledTextCtrl_LowerCase, METH_VARARGS | METH_KEYWORDS },
14776 { (char *)"StyledTextCtrl_UpperCase", (PyCFunction) _wrap_StyledTextCtrl_UpperCase, METH_VARARGS | METH_KEYWORDS },
14777 { (char *)"StyledTextCtrl_LineScrollDown", (PyCFunction) _wrap_StyledTextCtrl_LineScrollDown, METH_VARARGS | METH_KEYWORDS },
14778 { (char *)"StyledTextCtrl_LineScrollUp", (PyCFunction) _wrap_StyledTextCtrl_LineScrollUp, METH_VARARGS | METH_KEYWORDS },
14779 { (char *)"StyledTextCtrl_DeleteBackNotLine", (PyCFunction) _wrap_StyledTextCtrl_DeleteBackNotLine, METH_VARARGS | METH_KEYWORDS },
14780 { (char *)"StyledTextCtrl_HomeDisplay", (PyCFunction) _wrap_StyledTextCtrl_HomeDisplay, METH_VARARGS | METH_KEYWORDS },
14781 { (char *)"StyledTextCtrl_HomeDisplayExtend", (PyCFunction) _wrap_StyledTextCtrl_HomeDisplayExtend, METH_VARARGS | METH_KEYWORDS },
14782 { (char *)"StyledTextCtrl_LineEndDisplay", (PyCFunction) _wrap_StyledTextCtrl_LineEndDisplay, METH_VARARGS | METH_KEYWORDS },
14783 { (char *)"StyledTextCtrl_LineEndDisplayExtend", (PyCFunction) _wrap_StyledTextCtrl_LineEndDisplayExtend, METH_VARARGS | METH_KEYWORDS },
14784 { (char *)"StyledTextCtrl_HomeWrap", (PyCFunction) _wrap_StyledTextCtrl_HomeWrap, METH_VARARGS | METH_KEYWORDS },
14785 { (char *)"StyledTextCtrl_HomeWrapExtend", (PyCFunction) _wrap_StyledTextCtrl_HomeWrapExtend, METH_VARARGS | METH_KEYWORDS },
14786 { (char *)"StyledTextCtrl_LineEndWrap", (PyCFunction) _wrap_StyledTextCtrl_LineEndWrap, METH_VARARGS | METH_KEYWORDS },
14787 { (char *)"StyledTextCtrl_LineEndWrapExtend", (PyCFunction) _wrap_StyledTextCtrl_LineEndWrapExtend, METH_VARARGS | METH_KEYWORDS },
14788 { (char *)"StyledTextCtrl_VCHomeWrap", (PyCFunction) _wrap_StyledTextCtrl_VCHomeWrap, METH_VARARGS | METH_KEYWORDS },
14789 { (char *)"StyledTextCtrl_VCHomeWrapExtend", (PyCFunction) _wrap_StyledTextCtrl_VCHomeWrapExtend, METH_VARARGS | METH_KEYWORDS },
14790 { (char *)"StyledTextCtrl_LineCopy", (PyCFunction) _wrap_StyledTextCtrl_LineCopy, METH_VARARGS | METH_KEYWORDS },
14791 { (char *)"StyledTextCtrl_MoveCaretInsideView", (PyCFunction) _wrap_StyledTextCtrl_MoveCaretInsideView, METH_VARARGS | METH_KEYWORDS },
14792 { (char *)"StyledTextCtrl_LineLength", (PyCFunction) _wrap_StyledTextCtrl_LineLength, METH_VARARGS | METH_KEYWORDS },
14793 { (char *)"StyledTextCtrl_BraceHighlight", (PyCFunction) _wrap_StyledTextCtrl_BraceHighlight, METH_VARARGS | METH_KEYWORDS },
14794 { (char *)"StyledTextCtrl_BraceBadLight", (PyCFunction) _wrap_StyledTextCtrl_BraceBadLight, METH_VARARGS | METH_KEYWORDS },
14795 { (char *)"StyledTextCtrl_BraceMatch", (PyCFunction) _wrap_StyledTextCtrl_BraceMatch, METH_VARARGS | METH_KEYWORDS },
14796 { (char *)"StyledTextCtrl_GetViewEOL", (PyCFunction) _wrap_StyledTextCtrl_GetViewEOL, METH_VARARGS | METH_KEYWORDS },
14797 { (char *)"StyledTextCtrl_SetViewEOL", (PyCFunction) _wrap_StyledTextCtrl_SetViewEOL, METH_VARARGS | METH_KEYWORDS },
14798 { (char *)"StyledTextCtrl_GetDocPointer", (PyCFunction) _wrap_StyledTextCtrl_GetDocPointer, METH_VARARGS | METH_KEYWORDS },
14799 { (char *)"StyledTextCtrl_SetDocPointer", (PyCFunction) _wrap_StyledTextCtrl_SetDocPointer, METH_VARARGS | METH_KEYWORDS },
14800 { (char *)"StyledTextCtrl_SetModEventMask", (PyCFunction) _wrap_StyledTextCtrl_SetModEventMask, METH_VARARGS | METH_KEYWORDS },
14801 { (char *)"StyledTextCtrl_GetEdgeColumn", (PyCFunction) _wrap_StyledTextCtrl_GetEdgeColumn, METH_VARARGS | METH_KEYWORDS },
14802 { (char *)"StyledTextCtrl_SetEdgeColumn", (PyCFunction) _wrap_StyledTextCtrl_SetEdgeColumn, METH_VARARGS | METH_KEYWORDS },
14803 { (char *)"StyledTextCtrl_GetEdgeMode", (PyCFunction) _wrap_StyledTextCtrl_GetEdgeMode, METH_VARARGS | METH_KEYWORDS },
14804 { (char *)"StyledTextCtrl_SetEdgeMode", (PyCFunction) _wrap_StyledTextCtrl_SetEdgeMode, METH_VARARGS | METH_KEYWORDS },
14805 { (char *)"StyledTextCtrl_GetEdgeColour", (PyCFunction) _wrap_StyledTextCtrl_GetEdgeColour, METH_VARARGS | METH_KEYWORDS },
14806 { (char *)"StyledTextCtrl_SetEdgeColour", (PyCFunction) _wrap_StyledTextCtrl_SetEdgeColour, METH_VARARGS | METH_KEYWORDS },
14807 { (char *)"StyledTextCtrl_SearchAnchor", (PyCFunction) _wrap_StyledTextCtrl_SearchAnchor, METH_VARARGS | METH_KEYWORDS },
14808 { (char *)"StyledTextCtrl_SearchNext", (PyCFunction) _wrap_StyledTextCtrl_SearchNext, METH_VARARGS | METH_KEYWORDS },
14809 { (char *)"StyledTextCtrl_SearchPrev", (PyCFunction) _wrap_StyledTextCtrl_SearchPrev, METH_VARARGS | METH_KEYWORDS },
14810 { (char *)"StyledTextCtrl_LinesOnScreen", (PyCFunction) _wrap_StyledTextCtrl_LinesOnScreen, METH_VARARGS | METH_KEYWORDS },
14811 { (char *)"StyledTextCtrl_UsePopUp", (PyCFunction) _wrap_StyledTextCtrl_UsePopUp, METH_VARARGS | METH_KEYWORDS },
14812 { (char *)"StyledTextCtrl_SelectionIsRectangle", (PyCFunction) _wrap_StyledTextCtrl_SelectionIsRectangle, METH_VARARGS | METH_KEYWORDS },
14813 { (char *)"StyledTextCtrl_SetZoom", (PyCFunction) _wrap_StyledTextCtrl_SetZoom, METH_VARARGS | METH_KEYWORDS },
14814 { (char *)"StyledTextCtrl_GetZoom", (PyCFunction) _wrap_StyledTextCtrl_GetZoom, METH_VARARGS | METH_KEYWORDS },
14815 { (char *)"StyledTextCtrl_CreateDocument", (PyCFunction) _wrap_StyledTextCtrl_CreateDocument, METH_VARARGS | METH_KEYWORDS },
14816 { (char *)"StyledTextCtrl_AddRefDocument", (PyCFunction) _wrap_StyledTextCtrl_AddRefDocument, METH_VARARGS | METH_KEYWORDS },
14817 { (char *)"StyledTextCtrl_ReleaseDocument", (PyCFunction) _wrap_StyledTextCtrl_ReleaseDocument, METH_VARARGS | METH_KEYWORDS },
14818 { (char *)"StyledTextCtrl_GetModEventMask", (PyCFunction) _wrap_StyledTextCtrl_GetModEventMask, METH_VARARGS | METH_KEYWORDS },
14819 { (char *)"StyledTextCtrl_SetSTCFocus", (PyCFunction) _wrap_StyledTextCtrl_SetSTCFocus, METH_VARARGS | METH_KEYWORDS },
14820 { (char *)"StyledTextCtrl_GetSTCFocus", (PyCFunction) _wrap_StyledTextCtrl_GetSTCFocus, METH_VARARGS | METH_KEYWORDS },
14821 { (char *)"StyledTextCtrl_SetStatus", (PyCFunction) _wrap_StyledTextCtrl_SetStatus, METH_VARARGS | METH_KEYWORDS },
14822 { (char *)"StyledTextCtrl_GetStatus", (PyCFunction) _wrap_StyledTextCtrl_GetStatus, METH_VARARGS | METH_KEYWORDS },
14823 { (char *)"StyledTextCtrl_SetMouseDownCaptures", (PyCFunction) _wrap_StyledTextCtrl_SetMouseDownCaptures, METH_VARARGS | METH_KEYWORDS },
14824 { (char *)"StyledTextCtrl_GetMouseDownCaptures", (PyCFunction) _wrap_StyledTextCtrl_GetMouseDownCaptures, METH_VARARGS | METH_KEYWORDS },
14825 { (char *)"StyledTextCtrl_SetSTCCursor", (PyCFunction) _wrap_StyledTextCtrl_SetSTCCursor, METH_VARARGS | METH_KEYWORDS },
14826 { (char *)"StyledTextCtrl_GetSTCCursor", (PyCFunction) _wrap_StyledTextCtrl_GetSTCCursor, METH_VARARGS | METH_KEYWORDS },
14827 { (char *)"StyledTextCtrl_SetControlCharSymbol", (PyCFunction) _wrap_StyledTextCtrl_SetControlCharSymbol, METH_VARARGS | METH_KEYWORDS },
14828 { (char *)"StyledTextCtrl_GetControlCharSymbol", (PyCFunction) _wrap_StyledTextCtrl_GetControlCharSymbol, METH_VARARGS | METH_KEYWORDS },
14829 { (char *)"StyledTextCtrl_WordPartLeft", (PyCFunction) _wrap_StyledTextCtrl_WordPartLeft, METH_VARARGS | METH_KEYWORDS },
14830 { (char *)"StyledTextCtrl_WordPartLeftExtend", (PyCFunction) _wrap_StyledTextCtrl_WordPartLeftExtend, METH_VARARGS | METH_KEYWORDS },
14831 { (char *)"StyledTextCtrl_WordPartRight", (PyCFunction) _wrap_StyledTextCtrl_WordPartRight, METH_VARARGS | METH_KEYWORDS },
14832 { (char *)"StyledTextCtrl_WordPartRightExtend", (PyCFunction) _wrap_StyledTextCtrl_WordPartRightExtend, METH_VARARGS | METH_KEYWORDS },
14833 { (char *)"StyledTextCtrl_SetVisiblePolicy", (PyCFunction) _wrap_StyledTextCtrl_SetVisiblePolicy, METH_VARARGS | METH_KEYWORDS },
14834 { (char *)"StyledTextCtrl_DelLineLeft", (PyCFunction) _wrap_StyledTextCtrl_DelLineLeft, METH_VARARGS | METH_KEYWORDS },
14835 { (char *)"StyledTextCtrl_DelLineRight", (PyCFunction) _wrap_StyledTextCtrl_DelLineRight, METH_VARARGS | METH_KEYWORDS },
14836 { (char *)"StyledTextCtrl_SetXOffset", (PyCFunction) _wrap_StyledTextCtrl_SetXOffset, METH_VARARGS | METH_KEYWORDS },
14837 { (char *)"StyledTextCtrl_GetXOffset", (PyCFunction) _wrap_StyledTextCtrl_GetXOffset, METH_VARARGS | METH_KEYWORDS },
14838 { (char *)"StyledTextCtrl_ChooseCaretX", (PyCFunction) _wrap_StyledTextCtrl_ChooseCaretX, METH_VARARGS | METH_KEYWORDS },
14839 { (char *)"StyledTextCtrl_SetXCaretPolicy", (PyCFunction) _wrap_StyledTextCtrl_SetXCaretPolicy, METH_VARARGS | METH_KEYWORDS },
14840 { (char *)"StyledTextCtrl_SetYCaretPolicy", (PyCFunction) _wrap_StyledTextCtrl_SetYCaretPolicy, METH_VARARGS | METH_KEYWORDS },
14841 { (char *)"StyledTextCtrl_SetPrintWrapMode", (PyCFunction) _wrap_StyledTextCtrl_SetPrintWrapMode, METH_VARARGS | METH_KEYWORDS },
14842 { (char *)"StyledTextCtrl_GetPrintWrapMode", (PyCFunction) _wrap_StyledTextCtrl_GetPrintWrapMode, METH_VARARGS | METH_KEYWORDS },
14843 { (char *)"StyledTextCtrl_SetHotspotActiveForeground", (PyCFunction) _wrap_StyledTextCtrl_SetHotspotActiveForeground, METH_VARARGS | METH_KEYWORDS },
14844 { (char *)"StyledTextCtrl_SetHotspotActiveBackground", (PyCFunction) _wrap_StyledTextCtrl_SetHotspotActiveBackground, METH_VARARGS | METH_KEYWORDS },
14845 { (char *)"StyledTextCtrl_SetHotspotActiveUnderline", (PyCFunction) _wrap_StyledTextCtrl_SetHotspotActiveUnderline, METH_VARARGS | METH_KEYWORDS },
14846 { (char *)"StyledTextCtrl_SetHotspotSingleLine", (PyCFunction) _wrap_StyledTextCtrl_SetHotspotSingleLine, METH_VARARGS | METH_KEYWORDS },
14847 { (char *)"StyledTextCtrl_ParaDown", (PyCFunction) _wrap_StyledTextCtrl_ParaDown, METH_VARARGS | METH_KEYWORDS },
14848 { (char *)"StyledTextCtrl_ParaDownExtend", (PyCFunction) _wrap_StyledTextCtrl_ParaDownExtend, METH_VARARGS | METH_KEYWORDS },
14849 { (char *)"StyledTextCtrl_ParaUp", (PyCFunction) _wrap_StyledTextCtrl_ParaUp, METH_VARARGS | METH_KEYWORDS },
14850 { (char *)"StyledTextCtrl_ParaUpExtend", (PyCFunction) _wrap_StyledTextCtrl_ParaUpExtend, METH_VARARGS | METH_KEYWORDS },
14851 { (char *)"StyledTextCtrl_PositionBefore", (PyCFunction) _wrap_StyledTextCtrl_PositionBefore, METH_VARARGS | METH_KEYWORDS },
14852 { (char *)"StyledTextCtrl_PositionAfter", (PyCFunction) _wrap_StyledTextCtrl_PositionAfter, METH_VARARGS | METH_KEYWORDS },
14853 { (char *)"StyledTextCtrl_CopyRange", (PyCFunction) _wrap_StyledTextCtrl_CopyRange, METH_VARARGS | METH_KEYWORDS },
14854 { (char *)"StyledTextCtrl_CopyText", (PyCFunction) _wrap_StyledTextCtrl_CopyText, METH_VARARGS | METH_KEYWORDS },
14855 { (char *)"StyledTextCtrl_SetSelectionMode", (PyCFunction) _wrap_StyledTextCtrl_SetSelectionMode, METH_VARARGS | METH_KEYWORDS },
14856 { (char *)"StyledTextCtrl_GetSelectionMode", (PyCFunction) _wrap_StyledTextCtrl_GetSelectionMode, METH_VARARGS | METH_KEYWORDS },
14857 { (char *)"StyledTextCtrl_GetLineSelStartPosition", (PyCFunction) _wrap_StyledTextCtrl_GetLineSelStartPosition, METH_VARARGS | METH_KEYWORDS },
14858 { (char *)"StyledTextCtrl_GetLineSelEndPosition", (PyCFunction) _wrap_StyledTextCtrl_GetLineSelEndPosition, METH_VARARGS | METH_KEYWORDS },
14859 { (char *)"StyledTextCtrl_LineDownRectExtend", (PyCFunction) _wrap_StyledTextCtrl_LineDownRectExtend, METH_VARARGS | METH_KEYWORDS },
14860 { (char *)"StyledTextCtrl_LineUpRectExtend", (PyCFunction) _wrap_StyledTextCtrl_LineUpRectExtend, METH_VARARGS | METH_KEYWORDS },
14861 { (char *)"StyledTextCtrl_CharLeftRectExtend", (PyCFunction) _wrap_StyledTextCtrl_CharLeftRectExtend, METH_VARARGS | METH_KEYWORDS },
14862 { (char *)"StyledTextCtrl_CharRightRectExtend", (PyCFunction) _wrap_StyledTextCtrl_CharRightRectExtend, METH_VARARGS | METH_KEYWORDS },
14863 { (char *)"StyledTextCtrl_HomeRectExtend", (PyCFunction) _wrap_StyledTextCtrl_HomeRectExtend, METH_VARARGS | METH_KEYWORDS },
14864 { (char *)"StyledTextCtrl_VCHomeRectExtend", (PyCFunction) _wrap_StyledTextCtrl_VCHomeRectExtend, METH_VARARGS | METH_KEYWORDS },
14865 { (char *)"StyledTextCtrl_LineEndRectExtend", (PyCFunction) _wrap_StyledTextCtrl_LineEndRectExtend, METH_VARARGS | METH_KEYWORDS },
14866 { (char *)"StyledTextCtrl_PageUpRectExtend", (PyCFunction) _wrap_StyledTextCtrl_PageUpRectExtend, METH_VARARGS | METH_KEYWORDS },
14867 { (char *)"StyledTextCtrl_PageDownRectExtend", (PyCFunction) _wrap_StyledTextCtrl_PageDownRectExtend, METH_VARARGS | METH_KEYWORDS },
14868 { (char *)"StyledTextCtrl_StutteredPageUp", (PyCFunction) _wrap_StyledTextCtrl_StutteredPageUp, METH_VARARGS | METH_KEYWORDS },
14869 { (char *)"StyledTextCtrl_StutteredPageUpExtend", (PyCFunction) _wrap_StyledTextCtrl_StutteredPageUpExtend, METH_VARARGS | METH_KEYWORDS },
14870 { (char *)"StyledTextCtrl_StutteredPageDown", (PyCFunction) _wrap_StyledTextCtrl_StutteredPageDown, METH_VARARGS | METH_KEYWORDS },
14871 { (char *)"StyledTextCtrl_StutteredPageDownExtend", (PyCFunction) _wrap_StyledTextCtrl_StutteredPageDownExtend, METH_VARARGS | METH_KEYWORDS },
14872 { (char *)"StyledTextCtrl_WordLeftEnd", (PyCFunction) _wrap_StyledTextCtrl_WordLeftEnd, METH_VARARGS | METH_KEYWORDS },
14873 { (char *)"StyledTextCtrl_WordLeftEndExtend", (PyCFunction) _wrap_StyledTextCtrl_WordLeftEndExtend, METH_VARARGS | METH_KEYWORDS },
14874 { (char *)"StyledTextCtrl_WordRightEnd", (PyCFunction) _wrap_StyledTextCtrl_WordRightEnd, METH_VARARGS | METH_KEYWORDS },
14875 { (char *)"StyledTextCtrl_WordRightEndExtend", (PyCFunction) _wrap_StyledTextCtrl_WordRightEndExtend, METH_VARARGS | METH_KEYWORDS },
14876 { (char *)"StyledTextCtrl_SetWhitespaceChars", (PyCFunction) _wrap_StyledTextCtrl_SetWhitespaceChars, METH_VARARGS | METH_KEYWORDS },
14877 { (char *)"StyledTextCtrl_SetCharsDefault", (PyCFunction) _wrap_StyledTextCtrl_SetCharsDefault, METH_VARARGS | METH_KEYWORDS },
14878 { (char *)"StyledTextCtrl_AutoCompGetCurrent", (PyCFunction) _wrap_StyledTextCtrl_AutoCompGetCurrent, METH_VARARGS | METH_KEYWORDS },
14879 { (char *)"StyledTextCtrl_StartRecord", (PyCFunction) _wrap_StyledTextCtrl_StartRecord, METH_VARARGS | METH_KEYWORDS },
14880 { (char *)"StyledTextCtrl_StopRecord", (PyCFunction) _wrap_StyledTextCtrl_StopRecord, METH_VARARGS | METH_KEYWORDS },
14881 { (char *)"StyledTextCtrl_SetLexer", (PyCFunction) _wrap_StyledTextCtrl_SetLexer, METH_VARARGS | METH_KEYWORDS },
14882 { (char *)"StyledTextCtrl_GetLexer", (PyCFunction) _wrap_StyledTextCtrl_GetLexer, METH_VARARGS | METH_KEYWORDS },
14883 { (char *)"StyledTextCtrl_Colourise", (PyCFunction) _wrap_StyledTextCtrl_Colourise, METH_VARARGS | METH_KEYWORDS },
14884 { (char *)"StyledTextCtrl_SetProperty", (PyCFunction) _wrap_StyledTextCtrl_SetProperty, METH_VARARGS | METH_KEYWORDS },
14885 { (char *)"StyledTextCtrl_SetKeyWords", (PyCFunction) _wrap_StyledTextCtrl_SetKeyWords, METH_VARARGS | METH_KEYWORDS },
14886 { (char *)"StyledTextCtrl_SetLexerLanguage", (PyCFunction) _wrap_StyledTextCtrl_SetLexerLanguage, METH_VARARGS | METH_KEYWORDS },
14887 { (char *)"StyledTextCtrl_GetCurrentLine", (PyCFunction) _wrap_StyledTextCtrl_GetCurrentLine, METH_VARARGS | METH_KEYWORDS },
14888 { (char *)"StyledTextCtrl_StyleSetSpec", (PyCFunction) _wrap_StyledTextCtrl_StyleSetSpec, METH_VARARGS | METH_KEYWORDS },
14889 { (char *)"StyledTextCtrl_StyleSetFont", (PyCFunction) _wrap_StyledTextCtrl_StyleSetFont, METH_VARARGS | METH_KEYWORDS },
14890 { (char *)"StyledTextCtrl_StyleSetFontAttr", (PyCFunction) _wrap_StyledTextCtrl_StyleSetFontAttr, METH_VARARGS | METH_KEYWORDS },
14891 { (char *)"StyledTextCtrl_CmdKeyExecute", (PyCFunction) _wrap_StyledTextCtrl_CmdKeyExecute, METH_VARARGS | METH_KEYWORDS },
14892 { (char *)"StyledTextCtrl_SetMargins", (PyCFunction) _wrap_StyledTextCtrl_SetMargins, METH_VARARGS | METH_KEYWORDS },
14893 { (char *)"StyledTextCtrl_GetSelection", (PyCFunction) _wrap_StyledTextCtrl_GetSelection, METH_VARARGS | METH_KEYWORDS },
14894 { (char *)"StyledTextCtrl_PointFromPosition", (PyCFunction) _wrap_StyledTextCtrl_PointFromPosition, METH_VARARGS | METH_KEYWORDS },
14895 { (char *)"StyledTextCtrl_ScrollToLine", (PyCFunction) _wrap_StyledTextCtrl_ScrollToLine, METH_VARARGS | METH_KEYWORDS },
14896 { (char *)"StyledTextCtrl_ScrollToColumn", (PyCFunction) _wrap_StyledTextCtrl_ScrollToColumn, METH_VARARGS | METH_KEYWORDS },
14897 { (char *)"StyledTextCtrl_SendMsg", (PyCFunction) _wrap_StyledTextCtrl_SendMsg, METH_VARARGS | METH_KEYWORDS },
14898 { (char *)"StyledTextCtrl_SetVScrollBar", (PyCFunction) _wrap_StyledTextCtrl_SetVScrollBar, METH_VARARGS | METH_KEYWORDS },
14899 { (char *)"StyledTextCtrl_SetHScrollBar", (PyCFunction) _wrap_StyledTextCtrl_SetHScrollBar, METH_VARARGS | METH_KEYWORDS },
14900 { (char *)"StyledTextCtrl_GetLastKeydownProcessed", (PyCFunction) _wrap_StyledTextCtrl_GetLastKeydownProcessed, METH_VARARGS | METH_KEYWORDS },
14901 { (char *)"StyledTextCtrl_SetLastKeydownProcessed", (PyCFunction) _wrap_StyledTextCtrl_SetLastKeydownProcessed, METH_VARARGS | METH_KEYWORDS },
14902 { (char *)"StyledTextCtrl_SaveFile", (PyCFunction) _wrap_StyledTextCtrl_SaveFile, METH_VARARGS | METH_KEYWORDS },
14903 { (char *)"StyledTextCtrl_LoadFile", (PyCFunction) _wrap_StyledTextCtrl_LoadFile, METH_VARARGS | METH_KEYWORDS },
14904 { (char *)"StyledTextCtrl_DoDragOver", (PyCFunction) _wrap_StyledTextCtrl_DoDragOver, METH_VARARGS | METH_KEYWORDS },
14905 { (char *)"StyledTextCtrl_DoDropText", (PyCFunction) _wrap_StyledTextCtrl_DoDropText, METH_VARARGS | METH_KEYWORDS },
14906 { (char *)"StyledTextCtrl_SetUseAntiAliasing", (PyCFunction) _wrap_StyledTextCtrl_SetUseAntiAliasing, METH_VARARGS | METH_KEYWORDS },
14907 { (char *)"StyledTextCtrl_GetUseAntiAliasing", (PyCFunction) _wrap_StyledTextCtrl_GetUseAntiAliasing, METH_VARARGS | METH_KEYWORDS },
14908 { (char *)"StyledTextCtrl_swigregister", StyledTextCtrl_swigregister, METH_VARARGS },
14909 { (char *)"new_StyledTextEvent", (PyCFunction) _wrap_new_StyledTextEvent, METH_VARARGS | METH_KEYWORDS },
14910 { (char *)"delete_StyledTextEvent", (PyCFunction) _wrap_delete_StyledTextEvent, METH_VARARGS | METH_KEYWORDS },
14911 { (char *)"StyledTextEvent_SetPosition", (PyCFunction) _wrap_StyledTextEvent_SetPosition, METH_VARARGS | METH_KEYWORDS },
14912 { (char *)"StyledTextEvent_SetKey", (PyCFunction) _wrap_StyledTextEvent_SetKey, METH_VARARGS | METH_KEYWORDS },
14913 { (char *)"StyledTextEvent_SetModifiers", (PyCFunction) _wrap_StyledTextEvent_SetModifiers, METH_VARARGS | METH_KEYWORDS },
14914 { (char *)"StyledTextEvent_SetModificationType", (PyCFunction) _wrap_StyledTextEvent_SetModificationType, METH_VARARGS | METH_KEYWORDS },
14915 { (char *)"StyledTextEvent_SetText", (PyCFunction) _wrap_StyledTextEvent_SetText, METH_VARARGS | METH_KEYWORDS },
14916 { (char *)"StyledTextEvent_SetLength", (PyCFunction) _wrap_StyledTextEvent_SetLength, METH_VARARGS | METH_KEYWORDS },
14917 { (char *)"StyledTextEvent_SetLinesAdded", (PyCFunction) _wrap_StyledTextEvent_SetLinesAdded, METH_VARARGS | METH_KEYWORDS },
14918 { (char *)"StyledTextEvent_SetLine", (PyCFunction) _wrap_StyledTextEvent_SetLine, METH_VARARGS | METH_KEYWORDS },
14919 { (char *)"StyledTextEvent_SetFoldLevelNow", (PyCFunction) _wrap_StyledTextEvent_SetFoldLevelNow, METH_VARARGS | METH_KEYWORDS },
14920 { (char *)"StyledTextEvent_SetFoldLevelPrev", (PyCFunction) _wrap_StyledTextEvent_SetFoldLevelPrev, METH_VARARGS | METH_KEYWORDS },
14921 { (char *)"StyledTextEvent_SetMargin", (PyCFunction) _wrap_StyledTextEvent_SetMargin, METH_VARARGS | METH_KEYWORDS },
14922 { (char *)"StyledTextEvent_SetMessage", (PyCFunction) _wrap_StyledTextEvent_SetMessage, METH_VARARGS | METH_KEYWORDS },
14923 { (char *)"StyledTextEvent_SetWParam", (PyCFunction) _wrap_StyledTextEvent_SetWParam, METH_VARARGS | METH_KEYWORDS },
14924 { (char *)"StyledTextEvent_SetLParam", (PyCFunction) _wrap_StyledTextEvent_SetLParam, METH_VARARGS | METH_KEYWORDS },
14925 { (char *)"StyledTextEvent_SetListType", (PyCFunction) _wrap_StyledTextEvent_SetListType, METH_VARARGS | METH_KEYWORDS },
14926 { (char *)"StyledTextEvent_SetX", (PyCFunction) _wrap_StyledTextEvent_SetX, METH_VARARGS | METH_KEYWORDS },
14927 { (char *)"StyledTextEvent_SetY", (PyCFunction) _wrap_StyledTextEvent_SetY, METH_VARARGS | METH_KEYWORDS },
14928 { (char *)"StyledTextEvent_SetDragText", (PyCFunction) _wrap_StyledTextEvent_SetDragText, METH_VARARGS | METH_KEYWORDS },
14929 { (char *)"StyledTextEvent_SetDragAllowMove", (PyCFunction) _wrap_StyledTextEvent_SetDragAllowMove, METH_VARARGS | METH_KEYWORDS },
14930 { (char *)"StyledTextEvent_SetDragResult", (PyCFunction) _wrap_StyledTextEvent_SetDragResult, METH_VARARGS | METH_KEYWORDS },
14931 { (char *)"StyledTextEvent_GetPosition", (PyCFunction) _wrap_StyledTextEvent_GetPosition, METH_VARARGS | METH_KEYWORDS },
14932 { (char *)"StyledTextEvent_GetKey", (PyCFunction) _wrap_StyledTextEvent_GetKey, METH_VARARGS | METH_KEYWORDS },
14933 { (char *)"StyledTextEvent_GetModifiers", (PyCFunction) _wrap_StyledTextEvent_GetModifiers, METH_VARARGS | METH_KEYWORDS },
14934 { (char *)"StyledTextEvent_GetModificationType", (PyCFunction) _wrap_StyledTextEvent_GetModificationType, METH_VARARGS | METH_KEYWORDS },
14935 { (char *)"StyledTextEvent_GetText", (PyCFunction) _wrap_StyledTextEvent_GetText, METH_VARARGS | METH_KEYWORDS },
14936 { (char *)"StyledTextEvent_GetLength", (PyCFunction) _wrap_StyledTextEvent_GetLength, METH_VARARGS | METH_KEYWORDS },
14937 { (char *)"StyledTextEvent_GetLinesAdded", (PyCFunction) _wrap_StyledTextEvent_GetLinesAdded, METH_VARARGS | METH_KEYWORDS },
14938 { (char *)"StyledTextEvent_GetLine", (PyCFunction) _wrap_StyledTextEvent_GetLine, METH_VARARGS | METH_KEYWORDS },
14939 { (char *)"StyledTextEvent_GetFoldLevelNow", (PyCFunction) _wrap_StyledTextEvent_GetFoldLevelNow, METH_VARARGS | METH_KEYWORDS },
14940 { (char *)"StyledTextEvent_GetFoldLevelPrev", (PyCFunction) _wrap_StyledTextEvent_GetFoldLevelPrev, METH_VARARGS | METH_KEYWORDS },
14941 { (char *)"StyledTextEvent_GetMargin", (PyCFunction) _wrap_StyledTextEvent_GetMargin, METH_VARARGS | METH_KEYWORDS },
14942 { (char *)"StyledTextEvent_GetMessage", (PyCFunction) _wrap_StyledTextEvent_GetMessage, METH_VARARGS | METH_KEYWORDS },
14943 { (char *)"StyledTextEvent_GetWParam", (PyCFunction) _wrap_StyledTextEvent_GetWParam, METH_VARARGS | METH_KEYWORDS },
14944 { (char *)"StyledTextEvent_GetLParam", (PyCFunction) _wrap_StyledTextEvent_GetLParam, METH_VARARGS | METH_KEYWORDS },
14945 { (char *)"StyledTextEvent_GetListType", (PyCFunction) _wrap_StyledTextEvent_GetListType, METH_VARARGS | METH_KEYWORDS },
14946 { (char *)"StyledTextEvent_GetX", (PyCFunction) _wrap_StyledTextEvent_GetX, METH_VARARGS | METH_KEYWORDS },
14947 { (char *)"StyledTextEvent_GetY", (PyCFunction) _wrap_StyledTextEvent_GetY, METH_VARARGS | METH_KEYWORDS },
14948 { (char *)"StyledTextEvent_GetDragText", (PyCFunction) _wrap_StyledTextEvent_GetDragText, METH_VARARGS | METH_KEYWORDS },
14949 { (char *)"StyledTextEvent_GetDragAllowMove", (PyCFunction) _wrap_StyledTextEvent_GetDragAllowMove, METH_VARARGS | METH_KEYWORDS },
14950 { (char *)"StyledTextEvent_GetDragResult", (PyCFunction) _wrap_StyledTextEvent_GetDragResult, METH_VARARGS | METH_KEYWORDS },
14951 { (char *)"StyledTextEvent_GetShift", (PyCFunction) _wrap_StyledTextEvent_GetShift, METH_VARARGS | METH_KEYWORDS },
14952 { (char *)"StyledTextEvent_GetControl", (PyCFunction) _wrap_StyledTextEvent_GetControl, METH_VARARGS | METH_KEYWORDS },
14953 { (char *)"StyledTextEvent_GetAlt", (PyCFunction) _wrap_StyledTextEvent_GetAlt, METH_VARARGS | METH_KEYWORDS },
14954 { (char *)"StyledTextEvent_Clone", (PyCFunction) _wrap_StyledTextEvent_Clone, METH_VARARGS | METH_KEYWORDS },
14955 { (char *)"StyledTextEvent_swigregister", StyledTextEvent_swigregister, METH_VARARGS },
14956 { NULL, NULL }
14957};
14958
14959
14960/* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
14961
14962static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x) {
14963 return (void *)((wxObject *) ((wxLayoutConstraints *) x));
14964}
14965static void *_p_wxGBSizerItemTo_p_wxObject(void *x) {
14966 return (void *)((wxObject *) (wxSizerItem *) ((wxGBSizerItem *) x));
14967}
14968static void *_p_wxSizerItemTo_p_wxObject(void *x) {
14969 return (void *)((wxObject *) ((wxSizerItem *) x));
14970}
14971static void *_p_wxScrollEventTo_p_wxObject(void *x) {
14972 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxScrollEvent *) x));
14973}
14974static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x) {
14975 return (void *)((wxObject *) ((wxIndividualLayoutConstraint *) x));
14976}
14977static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x) {
14978 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStaticBoxSizer *) x));
14979}
14980static void *_p_wxBoxSizerTo_p_wxObject(void *x) {
14981 return (void *)((wxObject *) (wxSizer *) ((wxBoxSizer *) x));
14982}
14983static void *_p_wxSizerTo_p_wxObject(void *x) {
14984 return (void *)((wxObject *) ((wxSizer *) x));
14985}
14986static void *_p_wxGridBagSizerTo_p_wxObject(void *x) {
14987 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x));
14988}
14989static void *_p_wxFileHistoryTo_p_wxObject(void *x) {
14990 return (void *)((wxObject *) ((wxFileHistory *) x));
14991}
14992static void *_p_wxUpdateUIEventTo_p_wxObject(void *x) {
14993 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxUpdateUIEvent *) x));
14994}
14995static void *_p_wxEventTo_p_wxObject(void *x) {
14996 return (void *)((wxObject *) ((wxEvent *) x));
14997}
14998static void *_p_wxFlexGridSizerTo_p_wxObject(void *x) {
14999 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *) ((wxFlexGridSizer *) x));
15000}
15001static void *_p_wxGridSizerTo_p_wxObject(void *x) {
15002 return (void *)((wxObject *) (wxSizer *) ((wxGridSizer *) x));
15003}
15004static void *_p_wxInitDialogEventTo_p_wxObject(void *x) {
15005 return (void *)((wxObject *) (wxEvent *) ((wxInitDialogEvent *) x));
15006}
15007static void *_p_wxPaintEventTo_p_wxObject(void *x) {
15008 return (void *)((wxObject *) (wxEvent *) ((wxPaintEvent *) x));
15009}
15010static void *_p_wxNcPaintEventTo_p_wxObject(void *x) {
15011 return (void *)((wxObject *) (wxEvent *) ((wxNcPaintEvent *) x));
15012}
15013static void *_p_wxStyledTextEventTo_p_wxObject(void *x) {
15014 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxStyledTextEvent *) x));
15015}
15016static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x) {
15017 return (void *)((wxObject *) (wxEvent *) ((wxPaletteChangedEvent *) x));
15018}
15019static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x) {
15020 return (void *)((wxObject *) (wxEvent *) ((wxDisplayChangedEvent *) x));
15021}
15022static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x) {
15023 return (void *)((wxObject *) (wxEvent *) ((wxMouseCaptureChangedEvent *) x));
15024}
15025static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x) {
15026 return (void *)((wxObject *) (wxEvent *) ((wxSysColourChangedEvent *) x));
15027}
15028static void *_p_wxControlTo_p_wxObject(void *x) {
15029 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxControl *) x));
15030}
15031static void *_p_wxSetCursorEventTo_p_wxObject(void *x) {
15032 return (void *)((wxObject *) (wxEvent *) ((wxSetCursorEvent *) x));
15033}
15034static void *_p_wxTimerEventTo_p_wxObject(void *x) {
15035 return (void *)((wxObject *) (wxEvent *) ((wxTimerEvent *) x));
15036}
15037static void *_p_wxFSFileTo_p_wxObject(void *x) {
15038 return (void *)((wxObject *) ((wxFSFile *) x));
15039}
15040static void *_p_wxClipboardTo_p_wxObject(void *x) {
15041 return (void *)((wxObject *) ((wxClipboard *) x));
15042}
15043static void *_p_wxPySizerTo_p_wxObject(void *x) {
15044 return (void *)((wxObject *) (wxSizer *) ((wxPySizer *) x));
15045}
15046static void *_p_wxStyledTextCtrlTo_p_wxObject(void *x) {
15047 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxStyledTextCtrl *) x));
15048}
15049static void *_p_wxPyEventTo_p_wxObject(void *x) {
15050 return (void *)((wxObject *) (wxEvent *) ((wxPyEvent *) x));
15051}
15052static void *_p_wxNotifyEventTo_p_wxObject(void *x) {
15053 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxNotifyEvent *) x));
15054}
15055static void *_p_wxShowEventTo_p_wxObject(void *x) {
15056 return (void *)((wxObject *) (wxEvent *) ((wxShowEvent *) x));
15057}
15058static void *_p_wxToolTipTo_p_wxObject(void *x) {
15059 return (void *)((wxObject *) ((wxToolTip *) x));
15060}
15061static void *_p_wxMenuItemTo_p_wxObject(void *x) {
15062 return (void *)((wxObject *) ((wxMenuItem *) x));
15063}
15064static void *_p_wxIdleEventTo_p_wxObject(void *x) {
15065 return (void *)((wxObject *) (wxEvent *) ((wxIdleEvent *) x));
15066}
15067static void *_p_wxWindowCreateEventTo_p_wxObject(void *x) {
15068 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowCreateEvent *) x));
15069}
15070static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x) {
15071 return (void *)((wxObject *) (wxEvent *) ((wxQueryNewPaletteEvent *) x));
15072}
15073static void *_p_wxMaximizeEventTo_p_wxObject(void *x) {
15074 return (void *)((wxObject *) (wxEvent *) ((wxMaximizeEvent *) x));
15075}
15076static void *_p_wxIconizeEventTo_p_wxObject(void *x) {
15077 return (void *)((wxObject *) (wxEvent *) ((wxIconizeEvent *) x));
15078}
15079static void *_p_wxSizeEventTo_p_wxObject(void *x) {
15080 return (void *)((wxObject *) (wxEvent *) ((wxSizeEvent *) x));
15081}
15082static void *_p_wxMoveEventTo_p_wxObject(void *x) {
15083 return (void *)((wxObject *) (wxEvent *) ((wxMoveEvent *) x));
15084}
15085static void *_p_wxActivateEventTo_p_wxObject(void *x) {
15086 return (void *)((wxObject *) (wxEvent *) ((wxActivateEvent *) x));
15087}
15088static void *_p_wxXPMHandlerTo_p_wxObject(void *x) {
15089 return (void *)((wxObject *) (wxImageHandler *) ((wxXPMHandler *) x));
15090}
15091static void *_p_wxPNMHandlerTo_p_wxObject(void *x) {
15092 return (void *)((wxObject *) (wxImageHandler *) ((wxPNMHandler *) x));
15093}
15094static void *_p_wxJPEGHandlerTo_p_wxObject(void *x) {
15095 return (void *)((wxObject *) (wxImageHandler *) ((wxJPEGHandler *) x));
15096}
15097static void *_p_wxPCXHandlerTo_p_wxObject(void *x) {
15098 return (void *)((wxObject *) (wxImageHandler *) ((wxPCXHandler *) x));
15099}
15100static void *_p_wxGIFHandlerTo_p_wxObject(void *x) {
15101 return (void *)((wxObject *) (wxImageHandler *) ((wxGIFHandler *) x));
15102}
15103static void *_p_wxPNGHandlerTo_p_wxObject(void *x) {
15104 return (void *)((wxObject *) (wxImageHandler *) ((wxPNGHandler *) x));
15105}
15106static void *_p_wxANIHandlerTo_p_wxObject(void *x) {
15107 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *)(wxCURHandler *) ((wxANIHandler *) x));
15108}
15109static void *_p_wxCURHandlerTo_p_wxObject(void *x) {
15110 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *) ((wxCURHandler *) x));
15111}
15112static void *_p_wxICOHandlerTo_p_wxObject(void *x) {
15113 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *) ((wxICOHandler *) x));
15114}
15115static void *_p_wxBMPHandlerTo_p_wxObject(void *x) {
15116 return (void *)((wxObject *) (wxImageHandler *) ((wxBMPHandler *) x));
15117}
15118static void *_p_wxImageHandlerTo_p_wxObject(void *x) {
15119 return (void *)((wxObject *) ((wxImageHandler *) x));
15120}
15121static void *_p_wxTIFFHandlerTo_p_wxObject(void *x) {
15122 return (void *)((wxObject *) (wxImageHandler *) ((wxTIFFHandler *) x));
15123}
15124static void *_p_wxEvtHandlerTo_p_wxObject(void *x) {
15125 return (void *)((wxObject *) ((wxEvtHandler *) x));
15126}
15127static void *_p_wxAcceleratorTableTo_p_wxObject(void *x) {
15128 return (void *)((wxObject *) ((wxAcceleratorTable *) x));
15129}
15130static void *_p_wxImageTo_p_wxObject(void *x) {
15131 return (void *)((wxObject *) ((wxImage *) x));
15132}
15133static void *_p_wxScrollWinEventTo_p_wxObject(void *x) {
15134 return (void *)((wxObject *) (wxEvent *) ((wxScrollWinEvent *) x));
15135}
15136static void *_p_wxSystemOptionsTo_p_wxObject(void *x) {
15137 return (void *)((wxObject *) ((wxSystemOptions *) x));
15138}
15139static void *_p_wxJoystickEventTo_p_wxObject(void *x) {
15140 return (void *)((wxObject *) (wxEvent *) ((wxJoystickEvent *) x));
15141}
15142static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x) {
15143 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowDestroyEvent *) x));
15144}
15145static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x) {
15146 return (void *)((wxObject *) (wxEvent *) ((wxNavigationKeyEvent *) x));
15147}
15148static void *_p_wxKeyEventTo_p_wxObject(void *x) {
15149 return (void *)((wxObject *) (wxEvent *) ((wxKeyEvent *) x));
15150}
15151static void *_p_wxWindowTo_p_wxObject(void *x) {
15152 return (void *)((wxObject *) (wxEvtHandler *) ((wxWindow *) x));
15153}
15154static void *_p_wxMenuTo_p_wxObject(void *x) {
15155 return (void *)((wxObject *) (wxEvtHandler *) ((wxMenu *) x));
15156}
15157static void *_p_wxMenuBarTo_p_wxObject(void *x) {
15158 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMenuBar *) x));
15159}
15160static void *_p_wxPyProcessTo_p_wxObject(void *x) {
15161 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyProcess *) x));
15162}
15163static void *_p_wxFileSystemTo_p_wxObject(void *x) {
15164 return (void *)((wxObject *) ((wxFileSystem *) x));
15165}
15166static void *_p_wxContextMenuEventTo_p_wxObject(void *x) {
15167 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxContextMenuEvent *) x));
15168}
15169static void *_p_wxMenuEventTo_p_wxObject(void *x) {
15170 return (void *)((wxObject *) (wxEvent *) ((wxMenuEvent *) x));
15171}
15172static void *_p_wxPyAppTo_p_wxObject(void *x) {
15173 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyApp *) x));
15174}
15175static void *_p_wxCloseEventTo_p_wxObject(void *x) {
15176 return (void *)((wxObject *) (wxEvent *) ((wxCloseEvent *) x));
15177}
15178static void *_p_wxMouseEventTo_p_wxObject(void *x) {
15179 return (void *)((wxObject *) (wxEvent *) ((wxMouseEvent *) x));
15180}
15181static void *_p_wxEraseEventTo_p_wxObject(void *x) {
15182 return (void *)((wxObject *) (wxEvent *) ((wxEraseEvent *) x));
15183}
15184static void *_p_wxBusyInfoTo_p_wxObject(void *x) {
15185 return (void *)((wxObject *) ((wxBusyInfo *) x));
15186}
15187static void *_p_wxPyCommandEventTo_p_wxObject(void *x) {
15188 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxPyCommandEvent *) x));
15189}
15190static void *_p_wxCommandEventTo_p_wxObject(void *x) {
15191 return (void *)((wxObject *) (wxEvent *) ((wxCommandEvent *) x));
15192}
15193static void *_p_wxDropFilesEventTo_p_wxObject(void *x) {
15194 return (void *)((wxObject *) (wxEvent *) ((wxDropFilesEvent *) x));
15195}
15196static void *_p_wxFocusEventTo_p_wxObject(void *x) {
15197 return (void *)((wxObject *) (wxEvent *) ((wxFocusEvent *) x));
15198}
15199static void *_p_wxChildFocusEventTo_p_wxObject(void *x) {
15200 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxChildFocusEvent *) x));
15201}
15202static void *_p_wxProcessEventTo_p_wxObject(void *x) {
15203 return (void *)((wxObject *) (wxEvent *) ((wxProcessEvent *) x));
15204}
15205static void *_p_wxControlWithItemsTo_p_wxObject(void *x) {
15206 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxControlWithItems *) x));
15207}
15208static void *_p_wxPyValidatorTo_p_wxObject(void *x) {
15209 return (void *)((wxObject *) (wxEvtHandler *)(wxValidator *) ((wxPyValidator *) x));
15210}
15211static void *_p_wxValidatorTo_p_wxObject(void *x) {
15212 return (void *)((wxObject *) (wxEvtHandler *) ((wxValidator *) x));
15213}
15214static void *_p_wxPyTimerTo_p_wxObject(void *x) {
15215 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyTimer *) x));
15216}
15217static void *_p_wxControlTo_p_wxWindow(void *x) {
15218 return (void *)((wxWindow *) ((wxControl *) x));
15219}
15220static void *_p_wxControlWithItemsTo_p_wxWindow(void *x) {
15221 return (void *)((wxWindow *) (wxControl *) ((wxControlWithItems *) x));
15222}
15223static void *_p_wxStyledTextCtrlTo_p_wxWindow(void *x) {
15224 return (void *)((wxWindow *) (wxControl *) ((wxStyledTextCtrl *) x));
15225}
15226static void *_p_wxMenuBarTo_p_wxWindow(void *x) {
15227 return (void *)((wxWindow *) ((wxMenuBar *) x));
15228}
15229static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x) {
15230 return (void *)((wxCommandEvent *) ((wxChildFocusEvent *) x));
15231}
15232static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x) {
15233 return (void *)((wxCommandEvent *) ((wxScrollEvent *) x));
15234}
15235static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x) {
15236 return (void *)((wxCommandEvent *) ((wxWindowCreateEvent *) x));
15237}
15238static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x) {
15239 return (void *)((wxCommandEvent *) ((wxUpdateUIEvent *) x));
15240}
15241static void *_p_wxStyledTextEventTo_p_wxCommandEvent(void *x) {
15242 return (void *)((wxCommandEvent *) ((wxStyledTextEvent *) x));
15243}
15244static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x) {
15245 return (void *)((wxCommandEvent *) ((wxWindowDestroyEvent *) x));
15246}
15247static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x) {
15248 return (void *)((wxCommandEvent *) ((wxContextMenuEvent *) x));
15249}
15250static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x) {
15251 return (void *)((wxCommandEvent *) ((wxNotifyEvent *) x));
15252}
15253static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x) {
15254 return (void *)((wxCommandEvent *) ((wxPyCommandEvent *) x));
15255}
15256static void *_p_wxControlTo_p_wxEvtHandler(void *x) {
15257 return (void *)((wxEvtHandler *) (wxWindow *) ((wxControl *) x));
15258}
15259static void *_p_wxWindowTo_p_wxEvtHandler(void *x) {
15260 return (void *)((wxEvtHandler *) ((wxWindow *) x));
15261}
15262static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x) {
15263 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxControlWithItems *) x));
15264}
15265static void *_p_wxPyAppTo_p_wxEvtHandler(void *x) {
15266 return (void *)((wxEvtHandler *) ((wxPyApp *) x));
15267}
15268static void *_p_wxPyTimerTo_p_wxEvtHandler(void *x) {
15269 return (void *)((wxEvtHandler *) ((wxPyTimer *) x));
15270}
15271static void *_p_wxStyledTextCtrlTo_p_wxEvtHandler(void *x) {
15272 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxStyledTextCtrl *) x));
15273}
15274static void *_p_wxValidatorTo_p_wxEvtHandler(void *x) {
15275 return (void *)((wxEvtHandler *) ((wxValidator *) x));
15276}
15277static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x) {
15278 return (void *)((wxEvtHandler *) (wxValidator *) ((wxPyValidator *) x));
15279}
15280static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x) {
15281 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMenuBar *) x));
15282}
15283static void *_p_wxMenuTo_p_wxEvtHandler(void *x) {
15284 return (void *)((wxEvtHandler *) ((wxMenu *) x));
15285}
15286static void *_p_wxPyProcessTo_p_wxEvtHandler(void *x) {
15287 return (void *)((wxEvtHandler *) ((wxPyProcess *) x));
15288}
15289static void *_p_wxControlWithItemsTo_p_wxControl(void *x) {
15290 return (void *)((wxControl *) ((wxControlWithItems *) x));
15291}
15292static void *_p_wxStyledTextCtrlTo_p_wxControl(void *x) {
15293 return (void *)((wxControl *) ((wxStyledTextCtrl *) x));
15294}
15295static void *_p_wxContextMenuEventTo_p_wxEvent(void *x) {
15296 return (void *)((wxEvent *) (wxCommandEvent *) ((wxContextMenuEvent *) x));
15297}
15298static void *_p_wxMenuEventTo_p_wxEvent(void *x) {
15299 return (void *)((wxEvent *) ((wxMenuEvent *) x));
15300}
15301static void *_p_wxCloseEventTo_p_wxEvent(void *x) {
15302 return (void *)((wxEvent *) ((wxCloseEvent *) x));
15303}
15304static void *_p_wxMouseEventTo_p_wxEvent(void *x) {
15305 return (void *)((wxEvent *) ((wxMouseEvent *) x));
15306}
15307static void *_p_wxEraseEventTo_p_wxEvent(void *x) {
15308 return (void *)((wxEvent *) ((wxEraseEvent *) x));
15309}
15310static void *_p_wxSetCursorEventTo_p_wxEvent(void *x) {
15311 return (void *)((wxEvent *) ((wxSetCursorEvent *) x));
15312}
15313static void *_p_wxTimerEventTo_p_wxEvent(void *x) {
15314 return (void *)((wxEvent *) ((wxTimerEvent *) x));
15315}
15316static void *_p_wxInitDialogEventTo_p_wxEvent(void *x) {
15317 return (void *)((wxEvent *) ((wxInitDialogEvent *) x));
15318}
15319static void *_p_wxScrollEventTo_p_wxEvent(void *x) {
15320 return (void *)((wxEvent *) (wxCommandEvent *) ((wxScrollEvent *) x));
15321}
15322static void *_p_wxPyEventTo_p_wxEvent(void *x) {
15323 return (void *)((wxEvent *) ((wxPyEvent *) x));
15324}
15325static void *_p_wxNotifyEventTo_p_wxEvent(void *x) {
15326 return (void *)((wxEvent *) (wxCommandEvent *) ((wxNotifyEvent *) x));
15327}
15328static void *_p_wxJoystickEventTo_p_wxEvent(void *x) {
15329 return (void *)((wxEvent *) ((wxJoystickEvent *) x));
15330}
15331static void *_p_wxIdleEventTo_p_wxEvent(void *x) {
15332 return (void *)((wxEvent *) ((wxIdleEvent *) x));
15333}
15334static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x) {
15335 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowCreateEvent *) x));
15336}
15337static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x) {
15338 return (void *)((wxEvent *) ((wxQueryNewPaletteEvent *) x));
15339}
15340static void *_p_wxMaximizeEventTo_p_wxEvent(void *x) {
15341 return (void *)((wxEvent *) ((wxMaximizeEvent *) x));
15342}
15343static void *_p_wxIconizeEventTo_p_wxEvent(void *x) {
15344 return (void *)((wxEvent *) ((wxIconizeEvent *) x));
15345}
15346static void *_p_wxActivateEventTo_p_wxEvent(void *x) {
15347 return (void *)((wxEvent *) ((wxActivateEvent *) x));
15348}
15349static void *_p_wxSizeEventTo_p_wxEvent(void *x) {
15350 return (void *)((wxEvent *) ((wxSizeEvent *) x));
15351}
15352static void *_p_wxMoveEventTo_p_wxEvent(void *x) {
15353 return (void *)((wxEvent *) ((wxMoveEvent *) x));
15354}
15355static void *_p_wxPaintEventTo_p_wxEvent(void *x) {
15356 return (void *)((wxEvent *) ((wxPaintEvent *) x));
15357}
15358static void *_p_wxNcPaintEventTo_p_wxEvent(void *x) {
15359 return (void *)((wxEvent *) ((wxNcPaintEvent *) x));
15360}
15361static void *_p_wxStyledTextEventTo_p_wxEvent(void *x) {
15362 return (void *)((wxEvent *) (wxCommandEvent *) ((wxStyledTextEvent *) x));
15363}
15364static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x) {
15365 return (void *)((wxEvent *) (wxCommandEvent *) ((wxUpdateUIEvent *) x));
15366}
15367static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x) {
15368 return (void *)((wxEvent *) ((wxPaletteChangedEvent *) x));
15369}
15370static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x) {
15371 return (void *)((wxEvent *) ((wxDisplayChangedEvent *) x));
15372}
15373static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x) {
15374 return (void *)((wxEvent *) ((wxMouseCaptureChangedEvent *) x));
15375}
15376static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x) {
15377 return (void *)((wxEvent *) ((wxSysColourChangedEvent *) x));
15378}
15379static void *_p_wxDropFilesEventTo_p_wxEvent(void *x) {
15380 return (void *)((wxEvent *) ((wxDropFilesEvent *) x));
15381}
15382static void *_p_wxFocusEventTo_p_wxEvent(void *x) {
15383 return (void *)((wxEvent *) ((wxFocusEvent *) x));
15384}
15385static void *_p_wxChildFocusEventTo_p_wxEvent(void *x) {
15386 return (void *)((wxEvent *) (wxCommandEvent *) ((wxChildFocusEvent *) x));
15387}
15388static void *_p_wxProcessEventTo_p_wxEvent(void *x) {
15389 return (void *)((wxEvent *) ((wxProcessEvent *) x));
15390}
15391static void *_p_wxShowEventTo_p_wxEvent(void *x) {
15392 return (void *)((wxEvent *) ((wxShowEvent *) x));
15393}
15394static void *_p_wxCommandEventTo_p_wxEvent(void *x) {
15395 return (void *)((wxEvent *) ((wxCommandEvent *) x));
15396}
15397static void *_p_wxPyCommandEventTo_p_wxEvent(void *x) {
15398 return (void *)((wxEvent *) (wxCommandEvent *) ((wxPyCommandEvent *) x));
15399}
15400static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x) {
15401 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowDestroyEvent *) x));
15402}
15403static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x) {
15404 return (void *)((wxEvent *) ((wxNavigationKeyEvent *) x));
15405}
15406static void *_p_wxKeyEventTo_p_wxEvent(void *x) {
15407 return (void *)((wxEvent *) ((wxKeyEvent *) x));
15408}
15409static void *_p_wxScrollWinEventTo_p_wxEvent(void *x) {
15410 return (void *)((wxEvent *) ((wxScrollWinEvent *) x));
15411}
15412static swig_type_info _swigt__p_wxRect[] = {{"_p_wxRect", 0, "wxRect *", 0, 0, 0, 0},{"_p_wxRect", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
15413static swig_type_info _swigt__p_wxColour[] = {{"_p_wxColour", 0, "wxColour *", 0, 0, 0, 0},{"_p_wxColour", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
15414static swig_type_info _swigt__p_wxObject[] = {{"_p_wxObject", 0, "wxObject *", 0, 0, 0, 0},{"_p_wxLayoutConstraints", _p_wxLayoutConstraintsTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxGBSizerItem", _p_wxGBSizerItemTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSizerItem", _p_wxSizerItemTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxScrollEvent", _p_wxScrollEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxIndividualLayoutConstraint", _p_wxIndividualLayoutConstraintTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxStaticBoxSizer", _p_wxStaticBoxSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxBoxSizer", _p_wxBoxSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSizer", _p_wxSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxGridBagSizer", _p_wxGridBagSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFileHistory", _p_wxFileHistoryTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxUpdateUIEvent", _p_wxUpdateUIEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMenu", _p_wxMenuTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxEvent", _p_wxEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxGridSizer", _p_wxGridSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFlexGridSizer", _p_wxFlexGridSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxInitDialogEvent", _p_wxInitDialogEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPaintEvent", _p_wxPaintEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxNcPaintEvent", _p_wxNcPaintEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxStyledTextEvent", _p_wxStyledTextEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPaletteChangedEvent", _p_wxPaletteChangedEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxDisplayChangedEvent", _p_wxDisplayChangedEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMouseCaptureChangedEvent", _p_wxMouseCaptureChangedEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSysColourChangedEvent", _p_wxSysColourChangedEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxControl", _p_wxControlTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSetCursorEvent", _p_wxSetCursorEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxTimerEvent", _p_wxTimerEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFSFile", _p_wxFSFileTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxClipboard", _p_wxClipboardTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPySizer", _p_wxPySizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxStyledTextCtrl", _p_wxStyledTextCtrlTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyEvent", _p_wxPyEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxNotifyEvent", _p_wxNotifyEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxShowEvent", _p_wxShowEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxToolTip", _p_wxToolTipTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMenuItem", _p_wxMenuItemTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMoveEvent", _p_wxMoveEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSizeEvent", _p_wxSizeEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxActivateEvent", _p_wxActivateEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxIconizeEvent", _p_wxIconizeEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMaximizeEvent", _p_wxMaximizeEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxQueryNewPaletteEvent", _p_wxQueryNewPaletteEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxWindowCreateEvent", _p_wxWindowCreateEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxIdleEvent", _p_wxIdleEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxCURHandler", _p_wxCURHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxICOHandler", _p_wxICOHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxBMPHandler", _p_wxBMPHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxImageHandler", _p_wxImageHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxTIFFHandler", _p_wxTIFFHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxEvtHandler", _p_wxEvtHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxANIHandler", _p_wxANIHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPNGHandler", _p_wxPNGHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxGIFHandler", _p_wxGIFHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPCXHandler", _p_wxPCXHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxJPEGHandler", _p_wxJPEGHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPNMHandler", _p_wxPNMHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxXPMHandler", _p_wxXPMHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxAcceleratorTable", _p_wxAcceleratorTableTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxImage", _p_wxImageTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxScrollWinEvent", _p_wxScrollWinEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSystemOptions", _p_wxSystemOptionsTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxJoystickEvent", _p_wxJoystickEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxObject", 0, 0, 0, 0, 0, 0},{"_p_wxKeyEvent", _p_wxKeyEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxNavigationKeyEvent", _p_wxNavigationKeyEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxWindowDestroyEvent", _p_wxWindowDestroyEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxWindow", _p_wxWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyProcess", _p_wxPyProcessTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFileSystem", _p_wxFileSystemTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxContextMenuEvent", _p_wxContextMenuEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMenuEvent", _p_wxMenuEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyApp", _p_wxPyAppTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxCloseEvent", _p_wxCloseEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMouseEvent", _p_wxMouseEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxEraseEvent", _p_wxEraseEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxBusyInfo", _p_wxBusyInfoTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyCommandEvent", _p_wxPyCommandEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxCommandEvent", _p_wxCommandEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxDropFilesEvent", _p_wxDropFilesEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFocusEvent", _p_wxFocusEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxChildFocusEvent", _p_wxChildFocusEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxProcessEvent", _p_wxProcessEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyValidator", _p_wxPyValidatorTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxValidator", _p_wxValidatorTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyTimer", _p_wxPyTimerTo_p_wxObject, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
15415static swig_type_info _swigt__p_wxScrollBar[] = {{"_p_wxScrollBar", 0, "wxScrollBar *", 0, 0, 0, 0},{"_p_wxScrollBar", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
15416static swig_type_info _swigt__p_wxStyledTextEvent[] = {{"_p_wxStyledTextEvent", 0, "wxStyledTextEvent *", 0, 0, 0, 0},{"_p_wxStyledTextEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
15417static swig_type_info _swigt__p_wxWindow[] = {{"_p_wxWindow", 0, "wxWindow *", 0, 0, 0, 0},{"_p_wxControl", _p_wxControlTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxWindow", 0, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxStyledTextCtrl", _p_wxStyledTextCtrlTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxWindow, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
15418static swig_type_info _swigt__p_wxCommandEvent[] = {{"_p_wxCommandEvent", 0, "wxCommandEvent *", 0, 0, 0, 0},{"_p_wxChildFocusEvent", _p_wxChildFocusEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxScrollEvent", _p_wxScrollEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxWindowCreateEvent", _p_wxWindowCreateEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxUpdateUIEvent", _p_wxUpdateUIEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxStyledTextEvent", _p_wxStyledTextEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxWindowDestroyEvent", _p_wxWindowDestroyEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxContextMenuEvent", _p_wxContextMenuEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxCommandEvent", 0, 0, 0, 0, 0, 0},{"_p_wxNotifyEvent", _p_wxNotifyEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxPyCommandEvent", _p_wxPyCommandEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
15419static swig_type_info _swigt__p_wxBitmap[] = {{"_p_wxBitmap", 0, "wxBitmap *", 0, 0, 0, 0},{"_p_wxBitmap", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
15420static swig_type_info _swigt__p_void[] = {{"_p_void", 0, "void *", 0, 0, 0, 0},{"_p_void", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
15421static swig_type_info _swigt__p_wxPoint[] = {{"_p_wxPoint", 0, "wxPoint *", 0, 0, 0, 0},{"_p_wxPoint", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
15422static swig_type_info _swigt__p_wxDC[] = {{"_p_wxDC", 0, "wxDC *", 0, 0, 0, 0},{"_p_wxDC", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
15423static swig_type_info _swigt__p_char[] = {{"_p_char", 0, "char *", 0, 0, 0, 0},{"_p_char", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
15424static swig_type_info _swigt__p_wxEvtHandler[] = {{"_p_wxEvtHandler", 0, "wxEvtHandler *", 0, 0, 0, 0},{"_p_wxControl", _p_wxControlTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxWindow", _p_wxWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxEvtHandler", 0, 0, 0, 0, 0, 0},{"_p_wxStyledTextCtrl", _p_wxStyledTextCtrlTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyApp", _p_wxPyAppTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyTimer", _p_wxPyTimerTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxValidator", _p_wxValidatorTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyValidator", _p_wxPyValidatorTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxMenu", _p_wxMenuTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyProcess", _p_wxPyProcessTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
15425static swig_type_info _swigt__p_wxStyledTextCtrl[] = {{"_p_wxStyledTextCtrl", 0, "wxStyledTextCtrl *", 0, 0, 0, 0},{"_p_wxStyledTextCtrl", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
15426static swig_type_info _swigt__p_wxFont[] = {{"_p_wxFont", 0, "wxFont *", 0, 0, 0, 0},{"_p_wxFont", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
15427static swig_type_info _swigt__p_wxControl[] = {{"_p_wxControl", 0, "wxControl *", 0, 0, 0, 0},{"_p_wxControl", 0, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxStyledTextCtrl", _p_wxStyledTextCtrlTo_p_wxControl, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
15428static swig_type_info _swigt__p_wxEvent[] = {{"_p_wxEvent", 0, "wxEvent *", 0, 0, 0, 0},{"_p_wxContextMenuEvent", _p_wxContextMenuEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxMenuEvent", _p_wxMenuEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxCloseEvent", _p_wxCloseEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxMouseEvent", _p_wxMouseEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxEraseEvent", _p_wxEraseEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxSetCursorEvent", _p_wxSetCursorEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxTimerEvent", _p_wxTimerEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxInitDialogEvent", _p_wxInitDialogEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxScrollEvent", _p_wxScrollEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxPyEvent", _p_wxPyEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxNotifyEvent", _p_wxNotifyEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxJoystickEvent", _p_wxJoystickEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxEvent", 0, 0, 0, 0, 0, 0},{"_p_wxIdleEvent", _p_wxIdleEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxWindowCreateEvent", _p_wxWindowCreateEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxQueryNewPaletteEvent", _p_wxQueryNewPaletteEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxMaximizeEvent", _p_wxMaximizeEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxIconizeEvent", _p_wxIconizeEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxActivateEvent", _p_wxActivateEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxSizeEvent", _p_wxSizeEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxMoveEvent", _p_wxMoveEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxPaintEvent", _p_wxPaintEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxNcPaintEvent", _p_wxNcPaintEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxStyledTextEvent", _p_wxStyledTextEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxUpdateUIEvent", _p_wxUpdateUIEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxPaletteChangedEvent", _p_wxPaletteChangedEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxDisplayChangedEvent", _p_wxDisplayChangedEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxMouseCaptureChangedEvent", _p_wxMouseCaptureChangedEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxSysColourChangedEvent", _p_wxSysColourChangedEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxDropFilesEvent", _p_wxDropFilesEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxFocusEvent", _p_wxFocusEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxChildFocusEvent", _p_wxChildFocusEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxProcessEvent", _p_wxProcessEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxShowEvent", _p_wxShowEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxCommandEvent", _p_wxCommandEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxPyCommandEvent", _p_wxPyCommandEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxWindowDestroyEvent", _p_wxWindowDestroyEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxNavigationKeyEvent", _p_wxNavigationKeyEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxKeyEvent", _p_wxKeyEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxScrollWinEvent", _p_wxScrollWinEventTo_p_wxEvent, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
15429static swig_type_info _swigt__p_int[] = {{"_p_int", 0, "int *", 0, 0, 0, 0},{"_p_int", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
15430static swig_type_info _swigt__p_wxMemoryBuffer[] = {{"_p_wxMemoryBuffer", 0, "wxMemoryBuffer *", 0, 0, 0, 0},{"_p_wxMemoryBuffer", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
15431
15432static swig_type_info *swig_types_initial[] = {
15433_swigt__p_wxRect,
15434_swigt__p_wxColour,
15435_swigt__p_wxObject,
15436_swigt__p_wxScrollBar,
15437_swigt__p_wxStyledTextEvent,
15438_swigt__p_wxWindow,
15439_swigt__p_wxCommandEvent,
15440_swigt__p_wxBitmap,
15441_swigt__p_void,
15442_swigt__p_wxPoint,
15443_swigt__p_wxDC,
15444_swigt__p_char,
15445_swigt__p_wxEvtHandler,
15446_swigt__p_wxStyledTextCtrl,
15447_swigt__p_wxFont,
15448_swigt__p_wxControl,
15449_swigt__p_wxEvent,
15450_swigt__p_int,
15451_swigt__p_wxMemoryBuffer,
154520
15453};
15454
15455
15456/* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
15457
15458static swig_const_info swig_const_table[] = {
15459{0}};
15460
15461#ifdef __cplusplus
15462}
15463#endif
15464
15465#ifdef __cplusplus
15466extern "C"
15467#endif
15468SWIGEXPORT(void) SWIG_init(void) {
15469 static PyObject *SWIG_globals = 0;
15470 static int typeinit = 0;
15471 PyObject *m, *d;
15472 int i;
15473 if (!SWIG_globals) SWIG_globals = SWIG_newvarlink();
15474 m = Py_InitModule((char *) SWIG_name, SwigMethods);
15475 d = PyModule_GetDict(m);
15476
15477 if (!typeinit) {
15478 for (i = 0; swig_types_initial[i]; i++) {
15479 swig_types[i] = SWIG_TypeRegister(swig_types_initial[i]);
15480 }
15481 typeinit = 1;
15482 }
15483 SWIG_InstallConstants(d,swig_const_table);
15484
15485 PyDict_SetItemString(d,(char*)"cvar", SWIG_globals);
15486 SWIG_addvarlink(SWIG_globals,(char*)"STCNameStr",_wrap_STCNameStr_get, _wrap_STCNameStr_set);
15487 PyDict_SetItemString(d,"STC_USE_DND", SWIG_FromInt((int)1));
15488 PyDict_SetItemString(d,"STC_USE_POPUP", SWIG_FromInt((int)1));
15489 PyDict_SetItemString(d,"STC_INVALID_POSITION", SWIG_FromInt((int)-1));
15490 PyDict_SetItemString(d,"STC_START", SWIG_FromInt((int)2000));
15491 PyDict_SetItemString(d,"STC_OPTIONAL_START", SWIG_FromInt((int)3000));
15492 PyDict_SetItemString(d,"STC_LEXER_START", SWIG_FromInt((int)4000));
15493 PyDict_SetItemString(d,"STC_WS_INVISIBLE", SWIG_FromInt((int)0));
15494 PyDict_SetItemString(d,"STC_WS_VISIBLEALWAYS", SWIG_FromInt((int)1));
15495 PyDict_SetItemString(d,"STC_WS_VISIBLEAFTERINDENT", SWIG_FromInt((int)2));
15496 PyDict_SetItemString(d,"STC_EOL_CRLF", SWIG_FromInt((int)0));
15497 PyDict_SetItemString(d,"STC_EOL_CR", SWIG_FromInt((int)1));
15498 PyDict_SetItemString(d,"STC_EOL_LF", SWIG_FromInt((int)2));
15499 PyDict_SetItemString(d,"STC_CP_UTF8", SWIG_FromInt((int)65001));
15500 PyDict_SetItemString(d,"STC_CP_DBCS", SWIG_FromInt((int)1));
15501 PyDict_SetItemString(d,"STC_MARKER_MAX", SWIG_FromInt((int)31));
15502 PyDict_SetItemString(d,"STC_MARK_CIRCLE", SWIG_FromInt((int)0));
15503 PyDict_SetItemString(d,"STC_MARK_ROUNDRECT", SWIG_FromInt((int)1));
15504 PyDict_SetItemString(d,"STC_MARK_ARROW", SWIG_FromInt((int)2));
15505 PyDict_SetItemString(d,"STC_MARK_SMALLRECT", SWIG_FromInt((int)3));
15506 PyDict_SetItemString(d,"STC_MARK_SHORTARROW", SWIG_FromInt((int)4));
15507 PyDict_SetItemString(d,"STC_MARK_EMPTY", SWIG_FromInt((int)5));
15508 PyDict_SetItemString(d,"STC_MARK_ARROWDOWN", SWIG_FromInt((int)6));
15509 PyDict_SetItemString(d,"STC_MARK_MINUS", SWIG_FromInt((int)7));
15510 PyDict_SetItemString(d,"STC_MARK_PLUS", SWIG_FromInt((int)8));
15511 PyDict_SetItemString(d,"STC_MARK_VLINE", SWIG_FromInt((int)9));
15512 PyDict_SetItemString(d,"STC_MARK_LCORNER", SWIG_FromInt((int)10));
15513 PyDict_SetItemString(d,"STC_MARK_TCORNER", SWIG_FromInt((int)11));
15514 PyDict_SetItemString(d,"STC_MARK_BOXPLUS", SWIG_FromInt((int)12));
15515 PyDict_SetItemString(d,"STC_MARK_BOXPLUSCONNECTED", SWIG_FromInt((int)13));
15516 PyDict_SetItemString(d,"STC_MARK_BOXMINUS", SWIG_FromInt((int)14));
15517 PyDict_SetItemString(d,"STC_MARK_BOXMINUSCONNECTED", SWIG_FromInt((int)15));
15518 PyDict_SetItemString(d,"STC_MARK_LCORNERCURVE", SWIG_FromInt((int)16));
15519 PyDict_SetItemString(d,"STC_MARK_TCORNERCURVE", SWIG_FromInt((int)17));
15520 PyDict_SetItemString(d,"STC_MARK_CIRCLEPLUS", SWIG_FromInt((int)18));
15521 PyDict_SetItemString(d,"STC_MARK_CIRCLEPLUSCONNECTED", SWIG_FromInt((int)19));
15522 PyDict_SetItemString(d,"STC_MARK_CIRCLEMINUS", SWIG_FromInt((int)20));
15523 PyDict_SetItemString(d,"STC_MARK_CIRCLEMINUSCONNECTED", SWIG_FromInt((int)21));
15524 PyDict_SetItemString(d,"STC_MARK_BACKGROUND", SWIG_FromInt((int)22));
15525 PyDict_SetItemString(d,"STC_MARK_DOTDOTDOT", SWIG_FromInt((int)23));
15526 PyDict_SetItemString(d,"STC_MARK_ARROWS", SWIG_FromInt((int)24));
15527 PyDict_SetItemString(d,"STC_MARK_PIXMAP", SWIG_FromInt((int)25));
15528 PyDict_SetItemString(d,"STC_MARK_CHARACTER", SWIG_FromInt((int)10000));
15529 PyDict_SetItemString(d,"STC_MARKNUM_FOLDEREND", SWIG_FromInt((int)25));
15530 PyDict_SetItemString(d,"STC_MARKNUM_FOLDEROPENMID", SWIG_FromInt((int)26));
15531 PyDict_SetItemString(d,"STC_MARKNUM_FOLDERMIDTAIL", SWIG_FromInt((int)27));
15532 PyDict_SetItemString(d,"STC_MARKNUM_FOLDERTAIL", SWIG_FromInt((int)28));
15533 PyDict_SetItemString(d,"STC_MARKNUM_FOLDERSUB", SWIG_FromInt((int)29));
15534 PyDict_SetItemString(d,"STC_MARKNUM_FOLDER", SWIG_FromInt((int)30));
15535 PyDict_SetItemString(d,"STC_MARKNUM_FOLDEROPEN", SWIG_FromInt((int)31));
15536 PyDict_SetItemString(d,"STC_MASK_FOLDERS", SWIG_FromInt((int)0xFE000000));
15537 PyDict_SetItemString(d,"STC_MARGIN_SYMBOL", SWIG_FromInt((int)0));
15538 PyDict_SetItemString(d,"STC_MARGIN_NUMBER", SWIG_FromInt((int)1));
15539 PyDict_SetItemString(d,"STC_STYLE_DEFAULT", SWIG_FromInt((int)32));
15540 PyDict_SetItemString(d,"STC_STYLE_LINENUMBER", SWIG_FromInt((int)33));
15541 PyDict_SetItemString(d,"STC_STYLE_BRACELIGHT", SWIG_FromInt((int)34));
15542 PyDict_SetItemString(d,"STC_STYLE_BRACEBAD", SWIG_FromInt((int)35));
15543 PyDict_SetItemString(d,"STC_STYLE_CONTROLCHAR", SWIG_FromInt((int)36));
15544 PyDict_SetItemString(d,"STC_STYLE_INDENTGUIDE", SWIG_FromInt((int)37));
15545 PyDict_SetItemString(d,"STC_STYLE_LASTPREDEFINED", SWIG_FromInt((int)39));
15546 PyDict_SetItemString(d,"STC_STYLE_MAX", SWIG_FromInt((int)127));
15547 PyDict_SetItemString(d,"STC_CHARSET_ANSI", SWIG_FromInt((int)0));
15548 PyDict_SetItemString(d,"STC_CHARSET_DEFAULT", SWIG_FromInt((int)1));
15549 PyDict_SetItemString(d,"STC_CHARSET_BALTIC", SWIG_FromInt((int)186));
15550 PyDict_SetItemString(d,"STC_CHARSET_CHINESEBIG5", SWIG_FromInt((int)136));
15551 PyDict_SetItemString(d,"STC_CHARSET_EASTEUROPE", SWIG_FromInt((int)238));
15552 PyDict_SetItemString(d,"STC_CHARSET_GB2312", SWIG_FromInt((int)134));
15553 PyDict_SetItemString(d,"STC_CHARSET_GREEK", SWIG_FromInt((int)161));
15554 PyDict_SetItemString(d,"STC_CHARSET_HANGUL", SWIG_FromInt((int)129));
15555 PyDict_SetItemString(d,"STC_CHARSET_MAC", SWIG_FromInt((int)77));
15556 PyDict_SetItemString(d,"STC_CHARSET_OEM", SWIG_FromInt((int)255));
15557 PyDict_SetItemString(d,"STC_CHARSET_RUSSIAN", SWIG_FromInt((int)204));
15558 PyDict_SetItemString(d,"STC_CHARSET_SHIFTJIS", SWIG_FromInt((int)128));
15559 PyDict_SetItemString(d,"STC_CHARSET_SYMBOL", SWIG_FromInt((int)2));
15560 PyDict_SetItemString(d,"STC_CHARSET_TURKISH", SWIG_FromInt((int)162));
15561 PyDict_SetItemString(d,"STC_CHARSET_JOHAB", SWIG_FromInt((int)130));
15562 PyDict_SetItemString(d,"STC_CHARSET_HEBREW", SWIG_FromInt((int)177));
15563 PyDict_SetItemString(d,"STC_CHARSET_ARABIC", SWIG_FromInt((int)178));
15564 PyDict_SetItemString(d,"STC_CHARSET_VIETNAMESE", SWIG_FromInt((int)163));
15565 PyDict_SetItemString(d,"STC_CHARSET_THAI", SWIG_FromInt((int)222));
15566 PyDict_SetItemString(d,"STC_CASE_MIXED", SWIG_FromInt((int)0));
15567 PyDict_SetItemString(d,"STC_CASE_UPPER", SWIG_FromInt((int)1));
15568 PyDict_SetItemString(d,"STC_CASE_LOWER", SWIG_FromInt((int)2));
15569 PyDict_SetItemString(d,"STC_INDIC_MAX", SWIG_FromInt((int)7));
15570 PyDict_SetItemString(d,"STC_INDIC_PLAIN", SWIG_FromInt((int)0));
15571 PyDict_SetItemString(d,"STC_INDIC_SQUIGGLE", SWIG_FromInt((int)1));
15572 PyDict_SetItemString(d,"STC_INDIC_TT", SWIG_FromInt((int)2));
15573 PyDict_SetItemString(d,"STC_INDIC_DIAGONAL", SWIG_FromInt((int)3));
15574 PyDict_SetItemString(d,"STC_INDIC_STRIKE", SWIG_FromInt((int)4));
15575 PyDict_SetItemString(d,"STC_INDIC_HIDDEN", SWIG_FromInt((int)5));
15576 PyDict_SetItemString(d,"STC_INDIC_BOX", SWIG_FromInt((int)6));
15577 PyDict_SetItemString(d,"STC_INDIC0_MASK", SWIG_FromInt((int)0x20));
15578 PyDict_SetItemString(d,"STC_INDIC1_MASK", SWIG_FromInt((int)0x40));
15579 PyDict_SetItemString(d,"STC_INDIC2_MASK", SWIG_FromInt((int)0x80));
15580 PyDict_SetItemString(d,"STC_INDICS_MASK", SWIG_FromInt((int)0xE0));
15581 PyDict_SetItemString(d,"STC_PRINT_NORMAL", SWIG_FromInt((int)0));
15582 PyDict_SetItemString(d,"STC_PRINT_INVERTLIGHT", SWIG_FromInt((int)1));
15583 PyDict_SetItemString(d,"STC_PRINT_BLACKONWHITE", SWIG_FromInt((int)2));
15584 PyDict_SetItemString(d,"STC_PRINT_COLOURONWHITE", SWIG_FromInt((int)3));
15585 PyDict_SetItemString(d,"STC_PRINT_COLOURONWHITEDEFAULTBG", SWIG_FromInt((int)4));
15586 PyDict_SetItemString(d,"STC_FIND_WHOLEWORD", SWIG_FromInt((int)2));
15587 PyDict_SetItemString(d,"STC_FIND_MATCHCASE", SWIG_FromInt((int)4));
15588 PyDict_SetItemString(d,"STC_FIND_WORDSTART", SWIG_FromInt((int)0x00100000));
15589 PyDict_SetItemString(d,"STC_FIND_REGEXP", SWIG_FromInt((int)0x00200000));
15590 PyDict_SetItemString(d,"STC_FIND_POSIX", SWIG_FromInt((int)0x00400000));
15591 PyDict_SetItemString(d,"STC_FOLDLEVELBASE", SWIG_FromInt((int)0x400));
15592 PyDict_SetItemString(d,"STC_FOLDLEVELWHITEFLAG", SWIG_FromInt((int)0x1000));
15593 PyDict_SetItemString(d,"STC_FOLDLEVELHEADERFLAG", SWIG_FromInt((int)0x2000));
15594 PyDict_SetItemString(d,"STC_FOLDLEVELBOXHEADERFLAG", SWIG_FromInt((int)0x4000));
15595 PyDict_SetItemString(d,"STC_FOLDLEVELBOXFOOTERFLAG", SWIG_FromInt((int)0x8000));
15596 PyDict_SetItemString(d,"STC_FOLDLEVELCONTRACTED", SWIG_FromInt((int)0x10000));
15597 PyDict_SetItemString(d,"STC_FOLDLEVELUNINDENT", SWIG_FromInt((int)0x20000));
15598 PyDict_SetItemString(d,"STC_FOLDLEVELNUMBERMASK", SWIG_FromInt((int)0x0FFF));
15599 PyDict_SetItemString(d,"STC_FOLDFLAG_LINEBEFORE_EXPANDED", SWIG_FromInt((int)0x0002));
15600 PyDict_SetItemString(d,"STC_FOLDFLAG_LINEBEFORE_CONTRACTED", SWIG_FromInt((int)0x0004));
15601 PyDict_SetItemString(d,"STC_FOLDFLAG_LINEAFTER_EXPANDED", SWIG_FromInt((int)0x0008));
15602 PyDict_SetItemString(d,"STC_FOLDFLAG_LINEAFTER_CONTRACTED", SWIG_FromInt((int)0x0010));
15603 PyDict_SetItemString(d,"STC_FOLDFLAG_LEVELNUMBERS", SWIG_FromInt((int)0x0040));
15604 PyDict_SetItemString(d,"STC_FOLDFLAG_BOX", SWIG_FromInt((int)0x0001));
15605 PyDict_SetItemString(d,"STC_TIME_FOREVER", SWIG_FromInt((int)10000000));
15606 PyDict_SetItemString(d,"STC_WRAP_NONE", SWIG_FromInt((int)0));
15607 PyDict_SetItemString(d,"STC_WRAP_WORD", SWIG_FromInt((int)1));
15608 PyDict_SetItemString(d,"STC_CACHE_NONE", SWIG_FromInt((int)0));
15609 PyDict_SetItemString(d,"STC_CACHE_CARET", SWIG_FromInt((int)1));
15610 PyDict_SetItemString(d,"STC_CACHE_PAGE", SWIG_FromInt((int)2));
15611 PyDict_SetItemString(d,"STC_CACHE_DOCUMENT", SWIG_FromInt((int)3));
15612 PyDict_SetItemString(d,"STC_EDGE_NONE", SWIG_FromInt((int)0));
15613 PyDict_SetItemString(d,"STC_EDGE_LINE", SWIG_FromInt((int)1));
15614 PyDict_SetItemString(d,"STC_EDGE_BACKGROUND", SWIG_FromInt((int)2));
15615 PyDict_SetItemString(d,"STC_CURSORNORMAL", SWIG_FromInt((int)-1));
15616 PyDict_SetItemString(d,"STC_CURSORWAIT", SWIG_FromInt((int)4));
15617 PyDict_SetItemString(d,"STC_VISIBLE_SLOP", SWIG_FromInt((int)0x01));
15618 PyDict_SetItemString(d,"STC_VISIBLE_STRICT", SWIG_FromInt((int)0x04));
15619 PyDict_SetItemString(d,"STC_CARET_SLOP", SWIG_FromInt((int)0x01));
15620 PyDict_SetItemString(d,"STC_CARET_STRICT", SWIG_FromInt((int)0x04));
15621 PyDict_SetItemString(d,"STC_CARET_JUMPS", SWIG_FromInt((int)0x10));
15622 PyDict_SetItemString(d,"STC_CARET_EVEN", SWIG_FromInt((int)0x08));
15623 PyDict_SetItemString(d,"STC_SEL_STREAM", SWIG_FromInt((int)0));
15624 PyDict_SetItemString(d,"STC_SEL_RECTANGLE", SWIG_FromInt((int)1));
15625 PyDict_SetItemString(d,"STC_SEL_LINES", SWIG_FromInt((int)2));
15626 PyDict_SetItemString(d,"STC_KEYWORDSET_MAX", SWIG_FromInt((int)8));
15627 PyDict_SetItemString(d,"STC_MOD_INSERTTEXT", SWIG_FromInt((int)0x1));
15628 PyDict_SetItemString(d,"STC_MOD_DELETETEXT", SWIG_FromInt((int)0x2));
15629 PyDict_SetItemString(d,"STC_MOD_CHANGESTYLE", SWIG_FromInt((int)0x4));
15630 PyDict_SetItemString(d,"STC_MOD_CHANGEFOLD", SWIG_FromInt((int)0x8));
15631 PyDict_SetItemString(d,"STC_PERFORMED_USER", SWIG_FromInt((int)0x10));
15632 PyDict_SetItemString(d,"STC_PERFORMED_UNDO", SWIG_FromInt((int)0x20));
15633 PyDict_SetItemString(d,"STC_PERFORMED_REDO", SWIG_FromInt((int)0x40));
15634 PyDict_SetItemString(d,"STC_LASTSTEPINUNDOREDO", SWIG_FromInt((int)0x100));
15635 PyDict_SetItemString(d,"STC_MOD_CHANGEMARKER", SWIG_FromInt((int)0x200));
15636 PyDict_SetItemString(d,"STC_MOD_BEFOREINSERT", SWIG_FromInt((int)0x400));
15637 PyDict_SetItemString(d,"STC_MOD_BEFOREDELETE", SWIG_FromInt((int)0x800));
15638 PyDict_SetItemString(d,"STC_MODEVENTMASKALL", SWIG_FromInt((int)0xF77));
15639 PyDict_SetItemString(d,"STC_KEY_DOWN", SWIG_FromInt((int)300));
15640 PyDict_SetItemString(d,"STC_KEY_UP", SWIG_FromInt((int)301));
15641 PyDict_SetItemString(d,"STC_KEY_LEFT", SWIG_FromInt((int)302));
15642 PyDict_SetItemString(d,"STC_KEY_RIGHT", SWIG_FromInt((int)303));
15643 PyDict_SetItemString(d,"STC_KEY_HOME", SWIG_FromInt((int)304));
15644 PyDict_SetItemString(d,"STC_KEY_END", SWIG_FromInt((int)305));
15645 PyDict_SetItemString(d,"STC_KEY_PRIOR", SWIG_FromInt((int)306));
15646 PyDict_SetItemString(d,"STC_KEY_NEXT", SWIG_FromInt((int)307));
15647 PyDict_SetItemString(d,"STC_KEY_DELETE", SWIG_FromInt((int)308));
15648 PyDict_SetItemString(d,"STC_KEY_INSERT", SWIG_FromInt((int)309));
15649 PyDict_SetItemString(d,"STC_KEY_ESCAPE", SWIG_FromInt((int)7));
15650 PyDict_SetItemString(d,"STC_KEY_BACK", SWIG_FromInt((int)8));
15651 PyDict_SetItemString(d,"STC_KEY_TAB", SWIG_FromInt((int)9));
15652 PyDict_SetItemString(d,"STC_KEY_RETURN", SWIG_FromInt((int)13));
15653 PyDict_SetItemString(d,"STC_KEY_ADD", SWIG_FromInt((int)310));
15654 PyDict_SetItemString(d,"STC_KEY_SUBTRACT", SWIG_FromInt((int)311));
15655 PyDict_SetItemString(d,"STC_KEY_DIVIDE", SWIG_FromInt((int)312));
15656 PyDict_SetItemString(d,"STC_SCMOD_SHIFT", SWIG_FromInt((int)1));
15657 PyDict_SetItemString(d,"STC_SCMOD_CTRL", SWIG_FromInt((int)2));
15658 PyDict_SetItemString(d,"STC_SCMOD_ALT", SWIG_FromInt((int)4));
15659 PyDict_SetItemString(d,"STC_LEX_CONTAINER", SWIG_FromInt((int)0));
15660 PyDict_SetItemString(d,"STC_LEX_NULL", SWIG_FromInt((int)1));
15661 PyDict_SetItemString(d,"STC_LEX_PYTHON", SWIG_FromInt((int)2));
15662 PyDict_SetItemString(d,"STC_LEX_CPP", SWIG_FromInt((int)3));
15663 PyDict_SetItemString(d,"STC_LEX_HTML", SWIG_FromInt((int)4));
15664 PyDict_SetItemString(d,"STC_LEX_XML", SWIG_FromInt((int)5));
15665 PyDict_SetItemString(d,"STC_LEX_PERL", SWIG_FromInt((int)6));
15666 PyDict_SetItemString(d,"STC_LEX_SQL", SWIG_FromInt((int)7));
15667 PyDict_SetItemString(d,"STC_LEX_VB", SWIG_FromInt((int)8));
15668 PyDict_SetItemString(d,"STC_LEX_PROPERTIES", SWIG_FromInt((int)9));
15669 PyDict_SetItemString(d,"STC_LEX_ERRORLIST", SWIG_FromInt((int)10));
15670 PyDict_SetItemString(d,"STC_LEX_MAKEFILE", SWIG_FromInt((int)11));
15671 PyDict_SetItemString(d,"STC_LEX_BATCH", SWIG_FromInt((int)12));
15672 PyDict_SetItemString(d,"STC_LEX_XCODE", SWIG_FromInt((int)13));
15673 PyDict_SetItemString(d,"STC_LEX_LATEX", SWIG_FromInt((int)14));
15674 PyDict_SetItemString(d,"STC_LEX_LUA", SWIG_FromInt((int)15));
15675 PyDict_SetItemString(d,"STC_LEX_DIFF", SWIG_FromInt((int)16));
15676 PyDict_SetItemString(d,"STC_LEX_CONF", SWIG_FromInt((int)17));
15677 PyDict_SetItemString(d,"STC_LEX_PASCAL", SWIG_FromInt((int)18));
15678 PyDict_SetItemString(d,"STC_LEX_AVE", SWIG_FromInt((int)19));
15679 PyDict_SetItemString(d,"STC_LEX_ADA", SWIG_FromInt((int)20));
15680 PyDict_SetItemString(d,"STC_LEX_LISP", SWIG_FromInt((int)21));
15681 PyDict_SetItemString(d,"STC_LEX_RUBY", SWIG_FromInt((int)22));
15682 PyDict_SetItemString(d,"STC_LEX_EIFFEL", SWIG_FromInt((int)23));
15683 PyDict_SetItemString(d,"STC_LEX_EIFFELKW", SWIG_FromInt((int)24));
15684 PyDict_SetItemString(d,"STC_LEX_TCL", SWIG_FromInt((int)25));
15685 PyDict_SetItemString(d,"STC_LEX_NNCRONTAB", SWIG_FromInt((int)26));
15686 PyDict_SetItemString(d,"STC_LEX_BULLANT", SWIG_FromInt((int)27));
15687 PyDict_SetItemString(d,"STC_LEX_VBSCRIPT", SWIG_FromInt((int)28));
15688 PyDict_SetItemString(d,"STC_LEX_ASP", SWIG_FromInt((int)29));
15689 PyDict_SetItemString(d,"STC_LEX_PHP", SWIG_FromInt((int)30));
15690 PyDict_SetItemString(d,"STC_LEX_BAAN", SWIG_FromInt((int)31));
15691 PyDict_SetItemString(d,"STC_LEX_MATLAB", SWIG_FromInt((int)32));
15692 PyDict_SetItemString(d,"STC_LEX_SCRIPTOL", SWIG_FromInt((int)33));
15693 PyDict_SetItemString(d,"STC_LEX_ASM", SWIG_FromInt((int)34));
15694 PyDict_SetItemString(d,"STC_LEX_CPPNOCASE", SWIG_FromInt((int)35));
15695 PyDict_SetItemString(d,"STC_LEX_FORTRAN", SWIG_FromInt((int)36));
15696 PyDict_SetItemString(d,"STC_LEX_F77", SWIG_FromInt((int)37));
15697 PyDict_SetItemString(d,"STC_LEX_CSS", SWIG_FromInt((int)38));
15698 PyDict_SetItemString(d,"STC_LEX_POV", SWIG_FromInt((int)39));
15699 PyDict_SetItemString(d,"STC_LEX_LOUT", SWIG_FromInt((int)40));
15700 PyDict_SetItemString(d,"STC_LEX_ESCRIPT", SWIG_FromInt((int)41));
15701 PyDict_SetItemString(d,"STC_LEX_PS", SWIG_FromInt((int)42));
15702 PyDict_SetItemString(d,"STC_LEX_NSIS", SWIG_FromInt((int)43));
15703 PyDict_SetItemString(d,"STC_LEX_MMIXAL", SWIG_FromInt((int)44));
15704 PyDict_SetItemString(d,"STC_LEX_CLW", SWIG_FromInt((int)45));
15705 PyDict_SetItemString(d,"STC_LEX_CLWNOCASE", SWIG_FromInt((int)46));
15706 PyDict_SetItemString(d,"STC_LEX_LOT", SWIG_FromInt((int)47));
15707 PyDict_SetItemString(d,"STC_LEX_YAML", SWIG_FromInt((int)48));
15708 PyDict_SetItemString(d,"STC_LEX_TEX", SWIG_FromInt((int)49));
15709 PyDict_SetItemString(d,"STC_LEX_METAPOST", SWIG_FromInt((int)50));
15710 PyDict_SetItemString(d,"STC_LEX_POWERBASIC", SWIG_FromInt((int)51));
15711 PyDict_SetItemString(d,"STC_LEX_FORTH", SWIG_FromInt((int)52));
15712 PyDict_SetItemString(d,"STC_LEX_ERLANG", SWIG_FromInt((int)53));
15713 PyDict_SetItemString(d,"STC_LEX_OCTAVE", SWIG_FromInt((int)54));
15714 PyDict_SetItemString(d,"STC_LEX_AUTOMATIC", SWIG_FromInt((int)1000));
15715 PyDict_SetItemString(d,"STC_P_DEFAULT", SWIG_FromInt((int)0));
15716 PyDict_SetItemString(d,"STC_P_COMMENTLINE", SWIG_FromInt((int)1));
15717 PyDict_SetItemString(d,"STC_P_NUMBER", SWIG_FromInt((int)2));
15718 PyDict_SetItemString(d,"STC_P_STRING", SWIG_FromInt((int)3));
15719 PyDict_SetItemString(d,"STC_P_CHARACTER", SWIG_FromInt((int)4));
15720 PyDict_SetItemString(d,"STC_P_WORD", SWIG_FromInt((int)5));
15721 PyDict_SetItemString(d,"STC_P_TRIPLE", SWIG_FromInt((int)6));
15722 PyDict_SetItemString(d,"STC_P_TRIPLEDOUBLE", SWIG_FromInt((int)7));
15723 PyDict_SetItemString(d,"STC_P_CLASSNAME", SWIG_FromInt((int)8));
15724 PyDict_SetItemString(d,"STC_P_DEFNAME", SWIG_FromInt((int)9));
15725 PyDict_SetItemString(d,"STC_P_OPERATOR", SWIG_FromInt((int)10));
15726 PyDict_SetItemString(d,"STC_P_IDENTIFIER", SWIG_FromInt((int)11));
15727 PyDict_SetItemString(d,"STC_P_COMMENTBLOCK", SWIG_FromInt((int)12));
15728 PyDict_SetItemString(d,"STC_P_STRINGEOL", SWIG_FromInt((int)13));
15729 PyDict_SetItemString(d,"STC_C_DEFAULT", SWIG_FromInt((int)0));
15730 PyDict_SetItemString(d,"STC_C_COMMENT", SWIG_FromInt((int)1));
15731 PyDict_SetItemString(d,"STC_C_COMMENTLINE", SWIG_FromInt((int)2));
15732 PyDict_SetItemString(d,"STC_C_COMMENTDOC", SWIG_FromInt((int)3));
15733 PyDict_SetItemString(d,"STC_C_NUMBER", SWIG_FromInt((int)4));
15734 PyDict_SetItemString(d,"STC_C_WORD", SWIG_FromInt((int)5));
15735 PyDict_SetItemString(d,"STC_C_STRING", SWIG_FromInt((int)6));
15736 PyDict_SetItemString(d,"STC_C_CHARACTER", SWIG_FromInt((int)7));
15737 PyDict_SetItemString(d,"STC_C_UUID", SWIG_FromInt((int)8));
15738 PyDict_SetItemString(d,"STC_C_PREPROCESSOR", SWIG_FromInt((int)9));
15739 PyDict_SetItemString(d,"STC_C_OPERATOR", SWIG_FromInt((int)10));
15740 PyDict_SetItemString(d,"STC_C_IDENTIFIER", SWIG_FromInt((int)11));
15741 PyDict_SetItemString(d,"STC_C_STRINGEOL", SWIG_FromInt((int)12));
15742 PyDict_SetItemString(d,"STC_C_VERBATIM", SWIG_FromInt((int)13));
15743 PyDict_SetItemString(d,"STC_C_REGEX", SWIG_FromInt((int)14));
15744 PyDict_SetItemString(d,"STC_C_COMMENTLINEDOC", SWIG_FromInt((int)15));
15745 PyDict_SetItemString(d,"STC_C_WORD2", SWIG_FromInt((int)16));
15746 PyDict_SetItemString(d,"STC_C_COMMENTDOCKEYWORD", SWIG_FromInt((int)17));
15747 PyDict_SetItemString(d,"STC_C_COMMENTDOCKEYWORDERROR", SWIG_FromInt((int)18));
15748 PyDict_SetItemString(d,"STC_C_GLOBALCLASS", SWIG_FromInt((int)19));
15749 PyDict_SetItemString(d,"STC_H_DEFAULT", SWIG_FromInt((int)0));
15750 PyDict_SetItemString(d,"STC_H_TAG", SWIG_FromInt((int)1));
15751 PyDict_SetItemString(d,"STC_H_TAGUNKNOWN", SWIG_FromInt((int)2));
15752 PyDict_SetItemString(d,"STC_H_ATTRIBUTE", SWIG_FromInt((int)3));
15753 PyDict_SetItemString(d,"STC_H_ATTRIBUTEUNKNOWN", SWIG_FromInt((int)4));
15754 PyDict_SetItemString(d,"STC_H_NUMBER", SWIG_FromInt((int)5));
15755 PyDict_SetItemString(d,"STC_H_DOUBLESTRING", SWIG_FromInt((int)6));
15756 PyDict_SetItemString(d,"STC_H_SINGLESTRING", SWIG_FromInt((int)7));
15757 PyDict_SetItemString(d,"STC_H_OTHER", SWIG_FromInt((int)8));
15758 PyDict_SetItemString(d,"STC_H_COMMENT", SWIG_FromInt((int)9));
15759 PyDict_SetItemString(d,"STC_H_ENTITY", SWIG_FromInt((int)10));
15760 PyDict_SetItemString(d,"STC_H_TAGEND", SWIG_FromInt((int)11));
15761 PyDict_SetItemString(d,"STC_H_XMLSTART", SWIG_FromInt((int)12));
15762 PyDict_SetItemString(d,"STC_H_XMLEND", SWIG_FromInt((int)13));
15763 PyDict_SetItemString(d,"STC_H_SCRIPT", SWIG_FromInt((int)14));
15764 PyDict_SetItemString(d,"STC_H_ASP", SWIG_FromInt((int)15));
15765 PyDict_SetItemString(d,"STC_H_ASPAT", SWIG_FromInt((int)16));
15766 PyDict_SetItemString(d,"STC_H_CDATA", SWIG_FromInt((int)17));
15767 PyDict_SetItemString(d,"STC_H_QUESTION", SWIG_FromInt((int)18));
15768 PyDict_SetItemString(d,"STC_H_VALUE", SWIG_FromInt((int)19));
15769 PyDict_SetItemString(d,"STC_H_XCCOMMENT", SWIG_FromInt((int)20));
15770 PyDict_SetItemString(d,"STC_H_SGML_DEFAULT", SWIG_FromInt((int)21));
15771 PyDict_SetItemString(d,"STC_H_SGML_COMMAND", SWIG_FromInt((int)22));
15772 PyDict_SetItemString(d,"STC_H_SGML_1ST_PARAM", SWIG_FromInt((int)23));
15773 PyDict_SetItemString(d,"STC_H_SGML_DOUBLESTRING", SWIG_FromInt((int)24));
15774 PyDict_SetItemString(d,"STC_H_SGML_SIMPLESTRING", SWIG_FromInt((int)25));
15775 PyDict_SetItemString(d,"STC_H_SGML_ERROR", SWIG_FromInt((int)26));
15776 PyDict_SetItemString(d,"STC_H_SGML_SPECIAL", SWIG_FromInt((int)27));
15777 PyDict_SetItemString(d,"STC_H_SGML_ENTITY", SWIG_FromInt((int)28));
15778 PyDict_SetItemString(d,"STC_H_SGML_COMMENT", SWIG_FromInt((int)29));
15779 PyDict_SetItemString(d,"STC_H_SGML_1ST_PARAM_COMMENT", SWIG_FromInt((int)30));
15780 PyDict_SetItemString(d,"STC_H_SGML_BLOCK_DEFAULT", SWIG_FromInt((int)31));
15781 PyDict_SetItemString(d,"STC_HJ_START", SWIG_FromInt((int)40));
15782 PyDict_SetItemString(d,"STC_HJ_DEFAULT", SWIG_FromInt((int)41));
15783 PyDict_SetItemString(d,"STC_HJ_COMMENT", SWIG_FromInt((int)42));
15784 PyDict_SetItemString(d,"STC_HJ_COMMENTLINE", SWIG_FromInt((int)43));
15785 PyDict_SetItemString(d,"STC_HJ_COMMENTDOC", SWIG_FromInt((int)44));
15786 PyDict_SetItemString(d,"STC_HJ_NUMBER", SWIG_FromInt((int)45));
15787 PyDict_SetItemString(d,"STC_HJ_WORD", SWIG_FromInt((int)46));
15788 PyDict_SetItemString(d,"STC_HJ_KEYWORD", SWIG_FromInt((int)47));
15789 PyDict_SetItemString(d,"STC_HJ_DOUBLESTRING", SWIG_FromInt((int)48));
15790 PyDict_SetItemString(d,"STC_HJ_SINGLESTRING", SWIG_FromInt((int)49));
15791 PyDict_SetItemString(d,"STC_HJ_SYMBOLS", SWIG_FromInt((int)50));
15792 PyDict_SetItemString(d,"STC_HJ_STRINGEOL", SWIG_FromInt((int)51));
15793 PyDict_SetItemString(d,"STC_HJ_REGEX", SWIG_FromInt((int)52));
15794 PyDict_SetItemString(d,"STC_HJA_START", SWIG_FromInt((int)55));
15795 PyDict_SetItemString(d,"STC_HJA_DEFAULT", SWIG_FromInt((int)56));
15796 PyDict_SetItemString(d,"STC_HJA_COMMENT", SWIG_FromInt((int)57));
15797 PyDict_SetItemString(d,"STC_HJA_COMMENTLINE", SWIG_FromInt((int)58));
15798 PyDict_SetItemString(d,"STC_HJA_COMMENTDOC", SWIG_FromInt((int)59));
15799 PyDict_SetItemString(d,"STC_HJA_NUMBER", SWIG_FromInt((int)60));
15800 PyDict_SetItemString(d,"STC_HJA_WORD", SWIG_FromInt((int)61));
15801 PyDict_SetItemString(d,"STC_HJA_KEYWORD", SWIG_FromInt((int)62));
15802 PyDict_SetItemString(d,"STC_HJA_DOUBLESTRING", SWIG_FromInt((int)63));
15803 PyDict_SetItemString(d,"STC_HJA_SINGLESTRING", SWIG_FromInt((int)64));
15804 PyDict_SetItemString(d,"STC_HJA_SYMBOLS", SWIG_FromInt((int)65));
15805 PyDict_SetItemString(d,"STC_HJA_STRINGEOL", SWIG_FromInt((int)66));
15806 PyDict_SetItemString(d,"STC_HJA_REGEX", SWIG_FromInt((int)67));
15807 PyDict_SetItemString(d,"STC_HB_START", SWIG_FromInt((int)70));
15808 PyDict_SetItemString(d,"STC_HB_DEFAULT", SWIG_FromInt((int)71));
15809 PyDict_SetItemString(d,"STC_HB_COMMENTLINE", SWIG_FromInt((int)72));
15810 PyDict_SetItemString(d,"STC_HB_NUMBER", SWIG_FromInt((int)73));
15811 PyDict_SetItemString(d,"STC_HB_WORD", SWIG_FromInt((int)74));
15812 PyDict_SetItemString(d,"STC_HB_STRING", SWIG_FromInt((int)75));
15813 PyDict_SetItemString(d,"STC_HB_IDENTIFIER", SWIG_FromInt((int)76));
15814 PyDict_SetItemString(d,"STC_HB_STRINGEOL", SWIG_FromInt((int)77));
15815 PyDict_SetItemString(d,"STC_HBA_START", SWIG_FromInt((int)80));
15816 PyDict_SetItemString(d,"STC_HBA_DEFAULT", SWIG_FromInt((int)81));
15817 PyDict_SetItemString(d,"STC_HBA_COMMENTLINE", SWIG_FromInt((int)82));
15818 PyDict_SetItemString(d,"STC_HBA_NUMBER", SWIG_FromInt((int)83));
15819 PyDict_SetItemString(d,"STC_HBA_WORD", SWIG_FromInt((int)84));
15820 PyDict_SetItemString(d,"STC_HBA_STRING", SWIG_FromInt((int)85));
15821 PyDict_SetItemString(d,"STC_HBA_IDENTIFIER", SWIG_FromInt((int)86));
15822 PyDict_SetItemString(d,"STC_HBA_STRINGEOL", SWIG_FromInt((int)87));
15823 PyDict_SetItemString(d,"STC_HP_START", SWIG_FromInt((int)90));
15824 PyDict_SetItemString(d,"STC_HP_DEFAULT", SWIG_FromInt((int)91));
15825 PyDict_SetItemString(d,"STC_HP_COMMENTLINE", SWIG_FromInt((int)92));
15826 PyDict_SetItemString(d,"STC_HP_NUMBER", SWIG_FromInt((int)93));
15827 PyDict_SetItemString(d,"STC_HP_STRING", SWIG_FromInt((int)94));
15828 PyDict_SetItemString(d,"STC_HP_CHARACTER", SWIG_FromInt((int)95));
15829 PyDict_SetItemString(d,"STC_HP_WORD", SWIG_FromInt((int)96));
15830 PyDict_SetItemString(d,"STC_HP_TRIPLE", SWIG_FromInt((int)97));
15831 PyDict_SetItemString(d,"STC_HP_TRIPLEDOUBLE", SWIG_FromInt((int)98));
15832 PyDict_SetItemString(d,"STC_HP_CLASSNAME", SWIG_FromInt((int)99));
15833 PyDict_SetItemString(d,"STC_HP_DEFNAME", SWIG_FromInt((int)100));
15834 PyDict_SetItemString(d,"STC_HP_OPERATOR", SWIG_FromInt((int)101));
15835 PyDict_SetItemString(d,"STC_HP_IDENTIFIER", SWIG_FromInt((int)102));
15836 PyDict_SetItemString(d,"STC_HPA_START", SWIG_FromInt((int)105));
15837 PyDict_SetItemString(d,"STC_HPA_DEFAULT", SWIG_FromInt((int)106));
15838 PyDict_SetItemString(d,"STC_HPA_COMMENTLINE", SWIG_FromInt((int)107));
15839 PyDict_SetItemString(d,"STC_HPA_NUMBER", SWIG_FromInt((int)108));
15840 PyDict_SetItemString(d,"STC_HPA_STRING", SWIG_FromInt((int)109));
15841 PyDict_SetItemString(d,"STC_HPA_CHARACTER", SWIG_FromInt((int)110));
15842 PyDict_SetItemString(d,"STC_HPA_WORD", SWIG_FromInt((int)111));
15843 PyDict_SetItemString(d,"STC_HPA_TRIPLE", SWIG_FromInt((int)112));
15844 PyDict_SetItemString(d,"STC_HPA_TRIPLEDOUBLE", SWIG_FromInt((int)113));
15845 PyDict_SetItemString(d,"STC_HPA_CLASSNAME", SWIG_FromInt((int)114));
15846 PyDict_SetItemString(d,"STC_HPA_DEFNAME", SWIG_FromInt((int)115));
15847 PyDict_SetItemString(d,"STC_HPA_OPERATOR", SWIG_FromInt((int)116));
15848 PyDict_SetItemString(d,"STC_HPA_IDENTIFIER", SWIG_FromInt((int)117));
15849 PyDict_SetItemString(d,"STC_HPHP_DEFAULT", SWIG_FromInt((int)118));
15850 PyDict_SetItemString(d,"STC_HPHP_HSTRING", SWIG_FromInt((int)119));
15851 PyDict_SetItemString(d,"STC_HPHP_SIMPLESTRING", SWIG_FromInt((int)120));
15852 PyDict_SetItemString(d,"STC_HPHP_WORD", SWIG_FromInt((int)121));
15853 PyDict_SetItemString(d,"STC_HPHP_NUMBER", SWIG_FromInt((int)122));
15854 PyDict_SetItemString(d,"STC_HPHP_VARIABLE", SWIG_FromInt((int)123));
15855 PyDict_SetItemString(d,"STC_HPHP_COMMENT", SWIG_FromInt((int)124));
15856 PyDict_SetItemString(d,"STC_HPHP_COMMENTLINE", SWIG_FromInt((int)125));
15857 PyDict_SetItemString(d,"STC_HPHP_HSTRING_VARIABLE", SWIG_FromInt((int)126));
15858 PyDict_SetItemString(d,"STC_HPHP_OPERATOR", SWIG_FromInt((int)127));
15859 PyDict_SetItemString(d,"STC_PL_DEFAULT", SWIG_FromInt((int)0));
15860 PyDict_SetItemString(d,"STC_PL_ERROR", SWIG_FromInt((int)1));
15861 PyDict_SetItemString(d,"STC_PL_COMMENTLINE", SWIG_FromInt((int)2));
15862 PyDict_SetItemString(d,"STC_PL_POD", SWIG_FromInt((int)3));
15863 PyDict_SetItemString(d,"STC_PL_NUMBER", SWIG_FromInt((int)4));
15864 PyDict_SetItemString(d,"STC_PL_WORD", SWIG_FromInt((int)5));
15865 PyDict_SetItemString(d,"STC_PL_STRING", SWIG_FromInt((int)6));
15866 PyDict_SetItemString(d,"STC_PL_CHARACTER", SWIG_FromInt((int)7));
15867 PyDict_SetItemString(d,"STC_PL_PUNCTUATION", SWIG_FromInt((int)8));
15868 PyDict_SetItemString(d,"STC_PL_PREPROCESSOR", SWIG_FromInt((int)9));
15869 PyDict_SetItemString(d,"STC_PL_OPERATOR", SWIG_FromInt((int)10));
15870 PyDict_SetItemString(d,"STC_PL_IDENTIFIER", SWIG_FromInt((int)11));
15871 PyDict_SetItemString(d,"STC_PL_SCALAR", SWIG_FromInt((int)12));
15872 PyDict_SetItemString(d,"STC_PL_ARRAY", SWIG_FromInt((int)13));
15873 PyDict_SetItemString(d,"STC_PL_HASH", SWIG_FromInt((int)14));
15874 PyDict_SetItemString(d,"STC_PL_SYMBOLTABLE", SWIG_FromInt((int)15));
15875 PyDict_SetItemString(d,"STC_PL_REGEX", SWIG_FromInt((int)17));
15876 PyDict_SetItemString(d,"STC_PL_REGSUBST", SWIG_FromInt((int)18));
15877 PyDict_SetItemString(d,"STC_PL_LONGQUOTE", SWIG_FromInt((int)19));
15878 PyDict_SetItemString(d,"STC_PL_BACKTICKS", SWIG_FromInt((int)20));
15879 PyDict_SetItemString(d,"STC_PL_DATASECTION", SWIG_FromInt((int)21));
15880 PyDict_SetItemString(d,"STC_PL_HERE_DELIM", SWIG_FromInt((int)22));
15881 PyDict_SetItemString(d,"STC_PL_HERE_Q", SWIG_FromInt((int)23));
15882 PyDict_SetItemString(d,"STC_PL_HERE_QQ", SWIG_FromInt((int)24));
15883 PyDict_SetItemString(d,"STC_PL_HERE_QX", SWIG_FromInt((int)25));
15884 PyDict_SetItemString(d,"STC_PL_STRING_Q", SWIG_FromInt((int)26));
15885 PyDict_SetItemString(d,"STC_PL_STRING_QQ", SWIG_FromInt((int)27));
15886 PyDict_SetItemString(d,"STC_PL_STRING_QX", SWIG_FromInt((int)28));
15887 PyDict_SetItemString(d,"STC_PL_STRING_QR", SWIG_FromInt((int)29));
15888 PyDict_SetItemString(d,"STC_PL_STRING_QW", SWIG_FromInt((int)30));
15889 PyDict_SetItemString(d,"STC_B_DEFAULT", SWIG_FromInt((int)0));
15890 PyDict_SetItemString(d,"STC_B_COMMENT", SWIG_FromInt((int)1));
15891 PyDict_SetItemString(d,"STC_B_NUMBER", SWIG_FromInt((int)2));
15892 PyDict_SetItemString(d,"STC_B_KEYWORD", SWIG_FromInt((int)3));
15893 PyDict_SetItemString(d,"STC_B_STRING", SWIG_FromInt((int)4));
15894 PyDict_SetItemString(d,"STC_B_PREPROCESSOR", SWIG_FromInt((int)5));
15895 PyDict_SetItemString(d,"STC_B_OPERATOR", SWIG_FromInt((int)6));
15896 PyDict_SetItemString(d,"STC_B_IDENTIFIER", SWIG_FromInt((int)7));
15897 PyDict_SetItemString(d,"STC_B_DATE", SWIG_FromInt((int)8));
15898 PyDict_SetItemString(d,"STC_B_STRINGEOL", SWIG_FromInt((int)9));
15899 PyDict_SetItemString(d,"STC_B_KEYWORD2", SWIG_FromInt((int)10));
15900 PyDict_SetItemString(d,"STC_B_KEYWORD3", SWIG_FromInt((int)11));
15901 PyDict_SetItemString(d,"STC_B_KEYWORD4", SWIG_FromInt((int)12));
15902 PyDict_SetItemString(d,"STC_PROPS_DEFAULT", SWIG_FromInt((int)0));
15903 PyDict_SetItemString(d,"STC_PROPS_COMMENT", SWIG_FromInt((int)1));
15904 PyDict_SetItemString(d,"STC_PROPS_SECTION", SWIG_FromInt((int)2));
15905 PyDict_SetItemString(d,"STC_PROPS_ASSIGNMENT", SWIG_FromInt((int)3));
15906 PyDict_SetItemString(d,"STC_PROPS_DEFVAL", SWIG_FromInt((int)4));
15907 PyDict_SetItemString(d,"STC_L_DEFAULT", SWIG_FromInt((int)0));
15908 PyDict_SetItemString(d,"STC_L_COMMAND", SWIG_FromInt((int)1));
15909 PyDict_SetItemString(d,"STC_L_TAG", SWIG_FromInt((int)2));
15910 PyDict_SetItemString(d,"STC_L_MATH", SWIG_FromInt((int)3));
15911 PyDict_SetItemString(d,"STC_L_COMMENT", SWIG_FromInt((int)4));
15912 PyDict_SetItemString(d,"STC_LUA_DEFAULT", SWIG_FromInt((int)0));
15913 PyDict_SetItemString(d,"STC_LUA_COMMENT", SWIG_FromInt((int)1));
15914 PyDict_SetItemString(d,"STC_LUA_COMMENTLINE", SWIG_FromInt((int)2));
15915 PyDict_SetItemString(d,"STC_LUA_COMMENTDOC", SWIG_FromInt((int)3));
15916 PyDict_SetItemString(d,"STC_LUA_NUMBER", SWIG_FromInt((int)4));
15917 PyDict_SetItemString(d,"STC_LUA_WORD", SWIG_FromInt((int)5));
15918 PyDict_SetItemString(d,"STC_LUA_STRING", SWIG_FromInt((int)6));
15919 PyDict_SetItemString(d,"STC_LUA_CHARACTER", SWIG_FromInt((int)7));
15920 PyDict_SetItemString(d,"STC_LUA_LITERALSTRING", SWIG_FromInt((int)8));
15921 PyDict_SetItemString(d,"STC_LUA_PREPROCESSOR", SWIG_FromInt((int)9));
15922 PyDict_SetItemString(d,"STC_LUA_OPERATOR", SWIG_FromInt((int)10));
15923 PyDict_SetItemString(d,"STC_LUA_IDENTIFIER", SWIG_FromInt((int)11));
15924 PyDict_SetItemString(d,"STC_LUA_STRINGEOL", SWIG_FromInt((int)12));
15925 PyDict_SetItemString(d,"STC_LUA_WORD2", SWIG_FromInt((int)13));
15926 PyDict_SetItemString(d,"STC_LUA_WORD3", SWIG_FromInt((int)14));
15927 PyDict_SetItemString(d,"STC_LUA_WORD4", SWIG_FromInt((int)15));
15928 PyDict_SetItemString(d,"STC_LUA_WORD5", SWIG_FromInt((int)16));
15929 PyDict_SetItemString(d,"STC_LUA_WORD6", SWIG_FromInt((int)17));
15930 PyDict_SetItemString(d,"STC_LUA_WORD7", SWIG_FromInt((int)18));
15931 PyDict_SetItemString(d,"STC_LUA_WORD8", SWIG_FromInt((int)19));
15932 PyDict_SetItemString(d,"STC_ERR_DEFAULT", SWIG_FromInt((int)0));
15933 PyDict_SetItemString(d,"STC_ERR_PYTHON", SWIG_FromInt((int)1));
15934 PyDict_SetItemString(d,"STC_ERR_GCC", SWIG_FromInt((int)2));
15935 PyDict_SetItemString(d,"STC_ERR_MS", SWIG_FromInt((int)3));
15936 PyDict_SetItemString(d,"STC_ERR_CMD", SWIG_FromInt((int)4));
15937 PyDict_SetItemString(d,"STC_ERR_BORLAND", SWIG_FromInt((int)5));
15938 PyDict_SetItemString(d,"STC_ERR_PERL", SWIG_FromInt((int)6));
15939 PyDict_SetItemString(d,"STC_ERR_NET", SWIG_FromInt((int)7));
15940 PyDict_SetItemString(d,"STC_ERR_LUA", SWIG_FromInt((int)8));
15941 PyDict_SetItemString(d,"STC_ERR_CTAG", SWIG_FromInt((int)9));
15942 PyDict_SetItemString(d,"STC_ERR_DIFF_CHANGED", SWIG_FromInt((int)10));
15943 PyDict_SetItemString(d,"STC_ERR_DIFF_ADDITION", SWIG_FromInt((int)11));
15944 PyDict_SetItemString(d,"STC_ERR_DIFF_DELETION", SWIG_FromInt((int)12));
15945 PyDict_SetItemString(d,"STC_ERR_DIFF_MESSAGE", SWIG_FromInt((int)13));
15946 PyDict_SetItemString(d,"STC_ERR_PHP", SWIG_FromInt((int)14));
15947 PyDict_SetItemString(d,"STC_ERR_ELF", SWIG_FromInt((int)15));
15948 PyDict_SetItemString(d,"STC_ERR_IFC", SWIG_FromInt((int)16));
15949 PyDict_SetItemString(d,"STC_ERR_IFORT", SWIG_FromInt((int)17));
15950 PyDict_SetItemString(d,"STC_ERR_ABSF", SWIG_FromInt((int)18));
15951 PyDict_SetItemString(d,"STC_BAT_DEFAULT", SWIG_FromInt((int)0));
15952 PyDict_SetItemString(d,"STC_BAT_COMMENT", SWIG_FromInt((int)1));
15953 PyDict_SetItemString(d,"STC_BAT_WORD", SWIG_FromInt((int)2));
15954 PyDict_SetItemString(d,"STC_BAT_LABEL", SWIG_FromInt((int)3));
15955 PyDict_SetItemString(d,"STC_BAT_HIDE", SWIG_FromInt((int)4));
15956 PyDict_SetItemString(d,"STC_BAT_COMMAND", SWIG_FromInt((int)5));
15957 PyDict_SetItemString(d,"STC_BAT_IDENTIFIER", SWIG_FromInt((int)6));
15958 PyDict_SetItemString(d,"STC_BAT_OPERATOR", SWIG_FromInt((int)7));
15959 PyDict_SetItemString(d,"STC_MAKE_DEFAULT", SWIG_FromInt((int)0));
15960 PyDict_SetItemString(d,"STC_MAKE_COMMENT", SWIG_FromInt((int)1));
15961 PyDict_SetItemString(d,"STC_MAKE_PREPROCESSOR", SWIG_FromInt((int)2));
15962 PyDict_SetItemString(d,"STC_MAKE_IDENTIFIER", SWIG_FromInt((int)3));
15963 PyDict_SetItemString(d,"STC_MAKE_OPERATOR", SWIG_FromInt((int)4));
15964 PyDict_SetItemString(d,"STC_MAKE_TARGET", SWIG_FromInt((int)5));
15965 PyDict_SetItemString(d,"STC_MAKE_IDEOL", SWIG_FromInt((int)9));
15966 PyDict_SetItemString(d,"STC_DIFF_DEFAULT", SWIG_FromInt((int)0));
15967 PyDict_SetItemString(d,"STC_DIFF_COMMENT", SWIG_FromInt((int)1));
15968 PyDict_SetItemString(d,"STC_DIFF_COMMAND", SWIG_FromInt((int)2));
15969 PyDict_SetItemString(d,"STC_DIFF_HEADER", SWIG_FromInt((int)3));
15970 PyDict_SetItemString(d,"STC_DIFF_POSITION", SWIG_FromInt((int)4));
15971 PyDict_SetItemString(d,"STC_DIFF_DELETED", SWIG_FromInt((int)5));
15972 PyDict_SetItemString(d,"STC_DIFF_ADDED", SWIG_FromInt((int)6));
15973 PyDict_SetItemString(d,"STC_CONF_DEFAULT", SWIG_FromInt((int)0));
15974 PyDict_SetItemString(d,"STC_CONF_COMMENT", SWIG_FromInt((int)1));
15975 PyDict_SetItemString(d,"STC_CONF_NUMBER", SWIG_FromInt((int)2));
15976 PyDict_SetItemString(d,"STC_CONF_IDENTIFIER", SWIG_FromInt((int)3));
15977 PyDict_SetItemString(d,"STC_CONF_EXTENSION", SWIG_FromInt((int)4));
15978 PyDict_SetItemString(d,"STC_CONF_PARAMETER", SWIG_FromInt((int)5));
15979 PyDict_SetItemString(d,"STC_CONF_STRING", SWIG_FromInt((int)6));
15980 PyDict_SetItemString(d,"STC_CONF_OPERATOR", SWIG_FromInt((int)7));
15981 PyDict_SetItemString(d,"STC_CONF_IP", SWIG_FromInt((int)8));
15982 PyDict_SetItemString(d,"STC_CONF_DIRECTIVE", SWIG_FromInt((int)9));
15983 PyDict_SetItemString(d,"STC_AVE_DEFAULT", SWIG_FromInt((int)0));
15984 PyDict_SetItemString(d,"STC_AVE_COMMENT", SWIG_FromInt((int)1));
15985 PyDict_SetItemString(d,"STC_AVE_NUMBER", SWIG_FromInt((int)2));
15986 PyDict_SetItemString(d,"STC_AVE_WORD", SWIG_FromInt((int)3));
15987 PyDict_SetItemString(d,"STC_AVE_STRING", SWIG_FromInt((int)6));
15988 PyDict_SetItemString(d,"STC_AVE_ENUM", SWIG_FromInt((int)7));
15989 PyDict_SetItemString(d,"STC_AVE_STRINGEOL", SWIG_FromInt((int)8));
15990 PyDict_SetItemString(d,"STC_AVE_IDENTIFIER", SWIG_FromInt((int)9));
15991 PyDict_SetItemString(d,"STC_AVE_OPERATOR", SWIG_FromInt((int)10));
15992 PyDict_SetItemString(d,"STC_AVE_WORD1", SWIG_FromInt((int)11));
15993 PyDict_SetItemString(d,"STC_AVE_WORD2", SWIG_FromInt((int)12));
15994 PyDict_SetItemString(d,"STC_AVE_WORD3", SWIG_FromInt((int)13));
15995 PyDict_SetItemString(d,"STC_AVE_WORD4", SWIG_FromInt((int)14));
15996 PyDict_SetItemString(d,"STC_AVE_WORD5", SWIG_FromInt((int)15));
15997 PyDict_SetItemString(d,"STC_AVE_WORD6", SWIG_FromInt((int)16));
15998 PyDict_SetItemString(d,"STC_ADA_DEFAULT", SWIG_FromInt((int)0));
15999 PyDict_SetItemString(d,"STC_ADA_WORD", SWIG_FromInt((int)1));
16000 PyDict_SetItemString(d,"STC_ADA_IDENTIFIER", SWIG_FromInt((int)2));
16001 PyDict_SetItemString(d,"STC_ADA_NUMBER", SWIG_FromInt((int)3));
16002 PyDict_SetItemString(d,"STC_ADA_DELIMITER", SWIG_FromInt((int)4));
16003 PyDict_SetItemString(d,"STC_ADA_CHARACTER", SWIG_FromInt((int)5));
16004 PyDict_SetItemString(d,"STC_ADA_CHARACTEREOL", SWIG_FromInt((int)6));
16005 PyDict_SetItemString(d,"STC_ADA_STRING", SWIG_FromInt((int)7));
16006 PyDict_SetItemString(d,"STC_ADA_STRINGEOL", SWIG_FromInt((int)8));
16007 PyDict_SetItemString(d,"STC_ADA_LABEL", SWIG_FromInt((int)9));
16008 PyDict_SetItemString(d,"STC_ADA_COMMENTLINE", SWIG_FromInt((int)10));
16009 PyDict_SetItemString(d,"STC_ADA_ILLEGAL", SWIG_FromInt((int)11));
16010 PyDict_SetItemString(d,"STC_BAAN_DEFAULT", SWIG_FromInt((int)0));
16011 PyDict_SetItemString(d,"STC_BAAN_COMMENT", SWIG_FromInt((int)1));
16012 PyDict_SetItemString(d,"STC_BAAN_COMMENTDOC", SWIG_FromInt((int)2));
16013 PyDict_SetItemString(d,"STC_BAAN_NUMBER", SWIG_FromInt((int)3));
16014 PyDict_SetItemString(d,"STC_BAAN_WORD", SWIG_FromInt((int)4));
16015 PyDict_SetItemString(d,"STC_BAAN_STRING", SWIG_FromInt((int)5));
16016 PyDict_SetItemString(d,"STC_BAAN_PREPROCESSOR", SWIG_FromInt((int)6));
16017 PyDict_SetItemString(d,"STC_BAAN_OPERATOR", SWIG_FromInt((int)7));
16018 PyDict_SetItemString(d,"STC_BAAN_IDENTIFIER", SWIG_FromInt((int)8));
16019 PyDict_SetItemString(d,"STC_BAAN_STRINGEOL", SWIG_FromInt((int)9));
16020 PyDict_SetItemString(d,"STC_BAAN_WORD2", SWIG_FromInt((int)10));
16021 PyDict_SetItemString(d,"STC_LISP_DEFAULT", SWIG_FromInt((int)0));
16022 PyDict_SetItemString(d,"STC_LISP_COMMENT", SWIG_FromInt((int)1));
16023 PyDict_SetItemString(d,"STC_LISP_NUMBER", SWIG_FromInt((int)2));
16024 PyDict_SetItemString(d,"STC_LISP_KEYWORD", SWIG_FromInt((int)3));
16025 PyDict_SetItemString(d,"STC_LISP_STRING", SWIG_FromInt((int)6));
16026 PyDict_SetItemString(d,"STC_LISP_STRINGEOL", SWIG_FromInt((int)8));
16027 PyDict_SetItemString(d,"STC_LISP_IDENTIFIER", SWIG_FromInt((int)9));
16028 PyDict_SetItemString(d,"STC_LISP_OPERATOR", SWIG_FromInt((int)10));
16029 PyDict_SetItemString(d,"STC_EIFFEL_DEFAULT", SWIG_FromInt((int)0));
16030 PyDict_SetItemString(d,"STC_EIFFEL_COMMENTLINE", SWIG_FromInt((int)1));
16031 PyDict_SetItemString(d,"STC_EIFFEL_NUMBER", SWIG_FromInt((int)2));
16032 PyDict_SetItemString(d,"STC_EIFFEL_WORD", SWIG_FromInt((int)3));
16033 PyDict_SetItemString(d,"STC_EIFFEL_STRING", SWIG_FromInt((int)4));
16034 PyDict_SetItemString(d,"STC_EIFFEL_CHARACTER", SWIG_FromInt((int)5));
16035 PyDict_SetItemString(d,"STC_EIFFEL_OPERATOR", SWIG_FromInt((int)6));
16036 PyDict_SetItemString(d,"STC_EIFFEL_IDENTIFIER", SWIG_FromInt((int)7));
16037 PyDict_SetItemString(d,"STC_EIFFEL_STRINGEOL", SWIG_FromInt((int)8));
16038 PyDict_SetItemString(d,"STC_NNCRONTAB_DEFAULT", SWIG_FromInt((int)0));
16039 PyDict_SetItemString(d,"STC_NNCRONTAB_COMMENT", SWIG_FromInt((int)1));
16040 PyDict_SetItemString(d,"STC_NNCRONTAB_TASK", SWIG_FromInt((int)2));
16041 PyDict_SetItemString(d,"STC_NNCRONTAB_SECTION", SWIG_FromInt((int)3));
16042 PyDict_SetItemString(d,"STC_NNCRONTAB_KEYWORD", SWIG_FromInt((int)4));
16043 PyDict_SetItemString(d,"STC_NNCRONTAB_MODIFIER", SWIG_FromInt((int)5));
16044 PyDict_SetItemString(d,"STC_NNCRONTAB_ASTERISK", SWIG_FromInt((int)6));
16045 PyDict_SetItemString(d,"STC_NNCRONTAB_NUMBER", SWIG_FromInt((int)7));
16046 PyDict_SetItemString(d,"STC_NNCRONTAB_STRING", SWIG_FromInt((int)8));
16047 PyDict_SetItemString(d,"STC_NNCRONTAB_ENVIRONMENT", SWIG_FromInt((int)9));
16048 PyDict_SetItemString(d,"STC_NNCRONTAB_IDENTIFIER", SWIG_FromInt((int)10));
16049 PyDict_SetItemString(d,"STC_FORTH_DEFAULT", SWIG_FromInt((int)0));
16050 PyDict_SetItemString(d,"STC_FORTH_COMMENT", SWIG_FromInt((int)1));
16051 PyDict_SetItemString(d,"STC_FORTH_COMMENT_ML", SWIG_FromInt((int)2));
16052 PyDict_SetItemString(d,"STC_FORTH_IDENTIFIER", SWIG_FromInt((int)3));
16053 PyDict_SetItemString(d,"STC_FORTH_CONTROL", SWIG_FromInt((int)4));
16054 PyDict_SetItemString(d,"STC_FORTH_KEYWORD", SWIG_FromInt((int)5));
16055 PyDict_SetItemString(d,"STC_FORTH_DEFWORD", SWIG_FromInt((int)6));
16056 PyDict_SetItemString(d,"STC_FORTH_PREWORD1", SWIG_FromInt((int)7));
16057 PyDict_SetItemString(d,"STC_FORTH_PREWORD2", SWIG_FromInt((int)8));
16058 PyDict_SetItemString(d,"STC_FORTH_NUMBER", SWIG_FromInt((int)9));
16059 PyDict_SetItemString(d,"STC_FORTH_STRING", SWIG_FromInt((int)10));
16060 PyDict_SetItemString(d,"STC_FORTH_LOCALE", SWIG_FromInt((int)11));
16061 PyDict_SetItemString(d,"STC_MATLAB_DEFAULT", SWIG_FromInt((int)0));
16062 PyDict_SetItemString(d,"STC_MATLAB_COMMENT", SWIG_FromInt((int)1));
16063 PyDict_SetItemString(d,"STC_MATLAB_COMMAND", SWIG_FromInt((int)2));
16064 PyDict_SetItemString(d,"STC_MATLAB_NUMBER", SWIG_FromInt((int)3));
16065 PyDict_SetItemString(d,"STC_MATLAB_KEYWORD", SWIG_FromInt((int)4));
16066 PyDict_SetItemString(d,"STC_MATLAB_STRING", SWIG_FromInt((int)5));
16067 PyDict_SetItemString(d,"STC_MATLAB_OPERATOR", SWIG_FromInt((int)6));
16068 PyDict_SetItemString(d,"STC_MATLAB_IDENTIFIER", SWIG_FromInt((int)7));
16069 PyDict_SetItemString(d,"STC_MATLAB_DOUBLEQUOTESTRING", SWIG_FromInt((int)8));
16070 PyDict_SetItemString(d,"STC_SCRIPTOL_DEFAULT", SWIG_FromInt((int)0));
16071 PyDict_SetItemString(d,"STC_SCRIPTOL_WHITE", SWIG_FromInt((int)1));
16072 PyDict_SetItemString(d,"STC_SCRIPTOL_COMMENTLINE", SWIG_FromInt((int)2));
16073 PyDict_SetItemString(d,"STC_SCRIPTOL_PERSISTENT", SWIG_FromInt((int)3));
16074 PyDict_SetItemString(d,"STC_SCRIPTOL_CSTYLE", SWIG_FromInt((int)4));
16075 PyDict_SetItemString(d,"STC_SCRIPTOL_COMMENTBLOCK", SWIG_FromInt((int)5));
16076 PyDict_SetItemString(d,"STC_SCRIPTOL_NUMBER", SWIG_FromInt((int)6));
16077 PyDict_SetItemString(d,"STC_SCRIPTOL_STRING", SWIG_FromInt((int)7));
16078 PyDict_SetItemString(d,"STC_SCRIPTOL_CHARACTER", SWIG_FromInt((int)8));
16079 PyDict_SetItemString(d,"STC_SCRIPTOL_STRINGEOL", SWIG_FromInt((int)9));
16080 PyDict_SetItemString(d,"STC_SCRIPTOL_KEYWORD", SWIG_FromInt((int)10));
16081 PyDict_SetItemString(d,"STC_SCRIPTOL_OPERATOR", SWIG_FromInt((int)11));
16082 PyDict_SetItemString(d,"STC_SCRIPTOL_IDENTIFIER", SWIG_FromInt((int)12));
16083 PyDict_SetItemString(d,"STC_SCRIPTOL_TRIPLE", SWIG_FromInt((int)13));
16084 PyDict_SetItemString(d,"STC_SCRIPTOL_CLASSNAME", SWIG_FromInt((int)14));
16085 PyDict_SetItemString(d,"STC_SCRIPTOL_PREPROCESSOR", SWIG_FromInt((int)15));
16086 PyDict_SetItemString(d,"STC_ASM_DEFAULT", SWIG_FromInt((int)0));
16087 PyDict_SetItemString(d,"STC_ASM_COMMENT", SWIG_FromInt((int)1));
16088 PyDict_SetItemString(d,"STC_ASM_NUMBER", SWIG_FromInt((int)2));
16089 PyDict_SetItemString(d,"STC_ASM_STRING", SWIG_FromInt((int)3));
16090 PyDict_SetItemString(d,"STC_ASM_OPERATOR", SWIG_FromInt((int)4));
16091 PyDict_SetItemString(d,"STC_ASM_IDENTIFIER", SWIG_FromInt((int)5));
16092 PyDict_SetItemString(d,"STC_ASM_CPUINSTRUCTION", SWIG_FromInt((int)6));
16093 PyDict_SetItemString(d,"STC_ASM_MATHINSTRUCTION", SWIG_FromInt((int)7));
16094 PyDict_SetItemString(d,"STC_ASM_REGISTER", SWIG_FromInt((int)8));
16095 PyDict_SetItemString(d,"STC_ASM_DIRECTIVE", SWIG_FromInt((int)9));
16096 PyDict_SetItemString(d,"STC_ASM_DIRECTIVEOPERAND", SWIG_FromInt((int)10));
16097 PyDict_SetItemString(d,"STC_ASM_COMMENTBLOCK", SWIG_FromInt((int)11));
16098 PyDict_SetItemString(d,"STC_ASM_CHARACTER", SWIG_FromInt((int)12));
16099 PyDict_SetItemString(d,"STC_ASM_STRINGEOL", SWIG_FromInt((int)13));
16100 PyDict_SetItemString(d,"STC_ASM_EXTINSTRUCTION", SWIG_FromInt((int)14));
16101 PyDict_SetItemString(d,"STC_F_DEFAULT", SWIG_FromInt((int)0));
16102 PyDict_SetItemString(d,"STC_F_COMMENT", SWIG_FromInt((int)1));
16103 PyDict_SetItemString(d,"STC_F_NUMBER", SWIG_FromInt((int)2));
16104 PyDict_SetItemString(d,"STC_F_STRING1", SWIG_FromInt((int)3));
16105 PyDict_SetItemString(d,"STC_F_STRING2", SWIG_FromInt((int)4));
16106 PyDict_SetItemString(d,"STC_F_STRINGEOL", SWIG_FromInt((int)5));
16107 PyDict_SetItemString(d,"STC_F_OPERATOR", SWIG_FromInt((int)6));
16108 PyDict_SetItemString(d,"STC_F_IDENTIFIER", SWIG_FromInt((int)7));
16109 PyDict_SetItemString(d,"STC_F_WORD", SWIG_FromInt((int)8));
16110 PyDict_SetItemString(d,"STC_F_WORD2", SWIG_FromInt((int)9));
16111 PyDict_SetItemString(d,"STC_F_WORD3", SWIG_FromInt((int)10));
16112 PyDict_SetItemString(d,"STC_F_PREPROCESSOR", SWIG_FromInt((int)11));
16113 PyDict_SetItemString(d,"STC_F_OPERATOR2", SWIG_FromInt((int)12));
16114 PyDict_SetItemString(d,"STC_F_LABEL", SWIG_FromInt((int)13));
16115 PyDict_SetItemString(d,"STC_F_CONTINUATION", SWIG_FromInt((int)14));
16116 PyDict_SetItemString(d,"STC_CSS_DEFAULT", SWIG_FromInt((int)0));
16117 PyDict_SetItemString(d,"STC_CSS_TAG", SWIG_FromInt((int)1));
16118 PyDict_SetItemString(d,"STC_CSS_CLASS", SWIG_FromInt((int)2));
16119 PyDict_SetItemString(d,"STC_CSS_PSEUDOCLASS", SWIG_FromInt((int)3));
16120 PyDict_SetItemString(d,"STC_CSS_UNKNOWN_PSEUDOCLASS", SWIG_FromInt((int)4));
16121 PyDict_SetItemString(d,"STC_CSS_OPERATOR", SWIG_FromInt((int)5));
16122 PyDict_SetItemString(d,"STC_CSS_IDENTIFIER", SWIG_FromInt((int)6));
16123 PyDict_SetItemString(d,"STC_CSS_UNKNOWN_IDENTIFIER", SWIG_FromInt((int)7));
16124 PyDict_SetItemString(d,"STC_CSS_VALUE", SWIG_FromInt((int)8));
16125 PyDict_SetItemString(d,"STC_CSS_COMMENT", SWIG_FromInt((int)9));
16126 PyDict_SetItemString(d,"STC_CSS_ID", SWIG_FromInt((int)10));
16127 PyDict_SetItemString(d,"STC_CSS_IMPORTANT", SWIG_FromInt((int)11));
16128 PyDict_SetItemString(d,"STC_CSS_DIRECTIVE", SWIG_FromInt((int)12));
16129 PyDict_SetItemString(d,"STC_CSS_DOUBLESTRING", SWIG_FromInt((int)13));
16130 PyDict_SetItemString(d,"STC_CSS_SINGLESTRING", SWIG_FromInt((int)14));
16131 PyDict_SetItemString(d,"STC_POV_DEFAULT", SWIG_FromInt((int)0));
16132 PyDict_SetItemString(d,"STC_POV_COMMENT", SWIG_FromInt((int)1));
16133 PyDict_SetItemString(d,"STC_POV_COMMENTLINE", SWIG_FromInt((int)2));
16134 PyDict_SetItemString(d,"STC_POV_NUMBER", SWIG_FromInt((int)3));
16135 PyDict_SetItemString(d,"STC_POV_OPERATOR", SWIG_FromInt((int)4));
16136 PyDict_SetItemString(d,"STC_POV_IDENTIFIER", SWIG_FromInt((int)5));
16137 PyDict_SetItemString(d,"STC_POV_STRING", SWIG_FromInt((int)6));
16138 PyDict_SetItemString(d,"STC_POV_STRINGEOL", SWIG_FromInt((int)7));
16139 PyDict_SetItemString(d,"STC_POV_DIRECTIVE", SWIG_FromInt((int)8));
16140 PyDict_SetItemString(d,"STC_POV_BADDIRECTIVE", SWIG_FromInt((int)9));
16141 PyDict_SetItemString(d,"STC_POV_WORD2", SWIG_FromInt((int)10));
16142 PyDict_SetItemString(d,"STC_POV_WORD3", SWIG_FromInt((int)11));
16143 PyDict_SetItemString(d,"STC_POV_WORD4", SWIG_FromInt((int)12));
16144 PyDict_SetItemString(d,"STC_POV_WORD5", SWIG_FromInt((int)13));
16145 PyDict_SetItemString(d,"STC_POV_WORD6", SWIG_FromInt((int)14));
16146 PyDict_SetItemString(d,"STC_POV_WORD7", SWIG_FromInt((int)15));
16147 PyDict_SetItemString(d,"STC_POV_WORD8", SWIG_FromInt((int)16));
16148 PyDict_SetItemString(d,"STC_LOUT_DEFAULT", SWIG_FromInt((int)0));
16149 PyDict_SetItemString(d,"STC_LOUT_COMMENT", SWIG_FromInt((int)1));
16150 PyDict_SetItemString(d,"STC_LOUT_NUMBER", SWIG_FromInt((int)2));
16151 PyDict_SetItemString(d,"STC_LOUT_WORD", SWIG_FromInt((int)3));
16152 PyDict_SetItemString(d,"STC_LOUT_WORD2", SWIG_FromInt((int)4));
16153 PyDict_SetItemString(d,"STC_LOUT_WORD3", SWIG_FromInt((int)5));
16154 PyDict_SetItemString(d,"STC_LOUT_WORD4", SWIG_FromInt((int)6));
16155 PyDict_SetItemString(d,"STC_LOUT_STRING", SWIG_FromInt((int)7));
16156 PyDict_SetItemString(d,"STC_LOUT_OPERATOR", SWIG_FromInt((int)8));
16157 PyDict_SetItemString(d,"STC_LOUT_IDENTIFIER", SWIG_FromInt((int)9));
16158 PyDict_SetItemString(d,"STC_LOUT_STRINGEOL", SWIG_FromInt((int)10));
16159 PyDict_SetItemString(d,"STC_ESCRIPT_DEFAULT", SWIG_FromInt((int)0));
16160 PyDict_SetItemString(d,"STC_ESCRIPT_COMMENT", SWIG_FromInt((int)1));
16161 PyDict_SetItemString(d,"STC_ESCRIPT_COMMENTLINE", SWIG_FromInt((int)2));
16162 PyDict_SetItemString(d,"STC_ESCRIPT_COMMENTDOC", SWIG_FromInt((int)3));
16163 PyDict_SetItemString(d,"STC_ESCRIPT_NUMBER", SWIG_FromInt((int)4));
16164 PyDict_SetItemString(d,"STC_ESCRIPT_WORD", SWIG_FromInt((int)5));
16165 PyDict_SetItemString(d,"STC_ESCRIPT_STRING", SWIG_FromInt((int)6));
16166 PyDict_SetItemString(d,"STC_ESCRIPT_OPERATOR", SWIG_FromInt((int)7));
16167 PyDict_SetItemString(d,"STC_ESCRIPT_IDENTIFIER", SWIG_FromInt((int)8));
16168 PyDict_SetItemString(d,"STC_ESCRIPT_BRACE", SWIG_FromInt((int)9));
16169 PyDict_SetItemString(d,"STC_ESCRIPT_WORD2", SWIG_FromInt((int)10));
16170 PyDict_SetItemString(d,"STC_ESCRIPT_WORD3", SWIG_FromInt((int)11));
16171 PyDict_SetItemString(d,"STC_PS_DEFAULT", SWIG_FromInt((int)0));
16172 PyDict_SetItemString(d,"STC_PS_COMMENT", SWIG_FromInt((int)1));
16173 PyDict_SetItemString(d,"STC_PS_DSC_COMMENT", SWIG_FromInt((int)2));
16174 PyDict_SetItemString(d,"STC_PS_DSC_VALUE", SWIG_FromInt((int)3));
16175 PyDict_SetItemString(d,"STC_PS_NUMBER", SWIG_FromInt((int)4));
16176 PyDict_SetItemString(d,"STC_PS_NAME", SWIG_FromInt((int)5));
16177 PyDict_SetItemString(d,"STC_PS_KEYWORD", SWIG_FromInt((int)6));
16178 PyDict_SetItemString(d,"STC_PS_LITERAL", SWIG_FromInt((int)7));
16179 PyDict_SetItemString(d,"STC_PS_IMMEVAL", SWIG_FromInt((int)8));
16180 PyDict_SetItemString(d,"STC_PS_PAREN_ARRAY", SWIG_FromInt((int)9));
16181 PyDict_SetItemString(d,"STC_PS_PAREN_DICT", SWIG_FromInt((int)10));
16182 PyDict_SetItemString(d,"STC_PS_PAREN_PROC", SWIG_FromInt((int)11));
16183 PyDict_SetItemString(d,"STC_PS_TEXT", SWIG_FromInt((int)12));
16184 PyDict_SetItemString(d,"STC_PS_HEXSTRING", SWIG_FromInt((int)13));
16185 PyDict_SetItemString(d,"STC_PS_BASE85STRING", SWIG_FromInt((int)14));
16186 PyDict_SetItemString(d,"STC_PS_BADSTRINGCHAR", SWIG_FromInt((int)15));
16187 PyDict_SetItemString(d,"STC_NSIS_DEFAULT", SWIG_FromInt((int)0));
16188 PyDict_SetItemString(d,"STC_NSIS_COMMENT", SWIG_FromInt((int)1));
16189 PyDict_SetItemString(d,"STC_NSIS_STRINGDQ", SWIG_FromInt((int)2));
16190 PyDict_SetItemString(d,"STC_NSIS_STRINGLQ", SWIG_FromInt((int)3));
16191 PyDict_SetItemString(d,"STC_NSIS_STRINGRQ", SWIG_FromInt((int)4));
16192 PyDict_SetItemString(d,"STC_NSIS_FUNCTION", SWIG_FromInt((int)5));
16193 PyDict_SetItemString(d,"STC_NSIS_VARIABLE", SWIG_FromInt((int)6));
16194 PyDict_SetItemString(d,"STC_NSIS_LABEL", SWIG_FromInt((int)7));
16195 PyDict_SetItemString(d,"STC_NSIS_USERDEFINED", SWIG_FromInt((int)8));
16196 PyDict_SetItemString(d,"STC_NSIS_SECTIONDEF", SWIG_FromInt((int)9));
16197 PyDict_SetItemString(d,"STC_NSIS_SUBSECTIONDEF", SWIG_FromInt((int)10));
16198 PyDict_SetItemString(d,"STC_NSIS_IFDEFINEDEF", SWIG_FromInt((int)11));
16199 PyDict_SetItemString(d,"STC_NSIS_MACRODEF", SWIG_FromInt((int)12));
16200 PyDict_SetItemString(d,"STC_NSIS_STRINGVAR", SWIG_FromInt((int)13));
16201 PyDict_SetItemString(d,"STC_MMIXAL_LEADWS", SWIG_FromInt((int)0));
16202 PyDict_SetItemString(d,"STC_MMIXAL_COMMENT", SWIG_FromInt((int)1));
16203 PyDict_SetItemString(d,"STC_MMIXAL_LABEL", SWIG_FromInt((int)2));
16204 PyDict_SetItemString(d,"STC_MMIXAL_OPCODE", SWIG_FromInt((int)3));
16205 PyDict_SetItemString(d,"STC_MMIXAL_OPCODE_PRE", SWIG_FromInt((int)4));
16206 PyDict_SetItemString(d,"STC_MMIXAL_OPCODE_VALID", SWIG_FromInt((int)5));
16207 PyDict_SetItemString(d,"STC_MMIXAL_OPCODE_UNKNOWN", SWIG_FromInt((int)6));
16208 PyDict_SetItemString(d,"STC_MMIXAL_OPCODE_POST", SWIG_FromInt((int)7));
16209 PyDict_SetItemString(d,"STC_MMIXAL_OPERANDS", SWIG_FromInt((int)8));
16210 PyDict_SetItemString(d,"STC_MMIXAL_NUMBER", SWIG_FromInt((int)9));
16211 PyDict_SetItemString(d,"STC_MMIXAL_REF", SWIG_FromInt((int)10));
16212 PyDict_SetItemString(d,"STC_MMIXAL_CHAR", SWIG_FromInt((int)11));
16213 PyDict_SetItemString(d,"STC_MMIXAL_STRING", SWIG_FromInt((int)12));
16214 PyDict_SetItemString(d,"STC_MMIXAL_REGISTER", SWIG_FromInt((int)13));
16215 PyDict_SetItemString(d,"STC_MMIXAL_HEX", SWIG_FromInt((int)14));
16216 PyDict_SetItemString(d,"STC_MMIXAL_OPERATOR", SWIG_FromInt((int)15));
16217 PyDict_SetItemString(d,"STC_MMIXAL_SYMBOL", SWIG_FromInt((int)16));
16218 PyDict_SetItemString(d,"STC_MMIXAL_INCLUDE", SWIG_FromInt((int)17));
16219 PyDict_SetItemString(d,"STC_CLW_DEFAULT", SWIG_FromInt((int)0));
16220 PyDict_SetItemString(d,"STC_CLW_LABEL", SWIG_FromInt((int)1));
16221 PyDict_SetItemString(d,"STC_CLW_COMMENT", SWIG_FromInt((int)2));
16222 PyDict_SetItemString(d,"STC_CLW_STRING", SWIG_FromInt((int)3));
16223 PyDict_SetItemString(d,"STC_CLW_USER_IDENTIFIER", SWIG_FromInt((int)4));
16224 PyDict_SetItemString(d,"STC_CLW_INTEGER_CONSTANT", SWIG_FromInt((int)5));
16225 PyDict_SetItemString(d,"STC_CLW_REAL_CONSTANT", SWIG_FromInt((int)6));
16226 PyDict_SetItemString(d,"STC_CLW_PICTURE_STRING", SWIG_FromInt((int)7));
16227 PyDict_SetItemString(d,"STC_CLW_KEYWORD", SWIG_FromInt((int)8));
16228 PyDict_SetItemString(d,"STC_CLW_COMPILER_DIRECTIVE", SWIG_FromInt((int)9));
16229 PyDict_SetItemString(d,"STC_CLW_BUILTIN_PROCEDURES_FUNCTION", SWIG_FromInt((int)10));
16230 PyDict_SetItemString(d,"STC_CLW_STRUCTURE_DATA_TYPE", SWIG_FromInt((int)11));
16231 PyDict_SetItemString(d,"STC_CLW_ATTRIBUTE", SWIG_FromInt((int)12));
16232 PyDict_SetItemString(d,"STC_CLW_STANDARD_EQUATE", SWIG_FromInt((int)13));
16233 PyDict_SetItemString(d,"STC_CLW_ERROR", SWIG_FromInt((int)14));
16234 PyDict_SetItemString(d,"STC_LOT_DEFAULT", SWIG_FromInt((int)0));
16235 PyDict_SetItemString(d,"STC_LOT_HEADER", SWIG_FromInt((int)1));
16236 PyDict_SetItemString(d,"STC_LOT_BREAK", SWIG_FromInt((int)2));
16237 PyDict_SetItemString(d,"STC_LOT_SET", SWIG_FromInt((int)3));
16238 PyDict_SetItemString(d,"STC_LOT_PASS", SWIG_FromInt((int)4));
16239 PyDict_SetItemString(d,"STC_LOT_FAIL", SWIG_FromInt((int)5));
16240 PyDict_SetItemString(d,"STC_LOT_ABORT", SWIG_FromInt((int)6));
16241 PyDict_SetItemString(d,"STC_YAML_DEFAULT", SWIG_FromInt((int)0));
16242 PyDict_SetItemString(d,"STC_YAML_COMMENT", SWIG_FromInt((int)1));
16243 PyDict_SetItemString(d,"STC_YAML_IDENTIFIER", SWIG_FromInt((int)2));
16244 PyDict_SetItemString(d,"STC_YAML_KEYWORD", SWIG_FromInt((int)3));
16245 PyDict_SetItemString(d,"STC_YAML_NUMBER", SWIG_FromInt((int)4));
16246 PyDict_SetItemString(d,"STC_YAML_REFERENCE", SWIG_FromInt((int)5));
16247 PyDict_SetItemString(d,"STC_YAML_DOCUMENT", SWIG_FromInt((int)6));
16248 PyDict_SetItemString(d,"STC_YAML_TEXT", SWIG_FromInt((int)7));
16249 PyDict_SetItemString(d,"STC_YAML_ERROR", SWIG_FromInt((int)8));
16250 PyDict_SetItemString(d,"STC_TEX_DEFAULT", SWIG_FromInt((int)0));
16251 PyDict_SetItemString(d,"STC_TEX_SPECIAL", SWIG_FromInt((int)1));
16252 PyDict_SetItemString(d,"STC_TEX_GROUP", SWIG_FromInt((int)2));
16253 PyDict_SetItemString(d,"STC_TEX_SYMBOL", SWIG_FromInt((int)3));
16254 PyDict_SetItemString(d,"STC_TEX_COMMAND", SWIG_FromInt((int)4));
16255 PyDict_SetItemString(d,"STC_TEX_TEXT", SWIG_FromInt((int)5));
16256 PyDict_SetItemString(d,"STC_METAPOST_DEFAULT", SWIG_FromInt((int)0));
16257 PyDict_SetItemString(d,"STC_METAPOST_SPECIAL", SWIG_FromInt((int)1));
16258 PyDict_SetItemString(d,"STC_METAPOST_GROUP", SWIG_FromInt((int)2));
16259 PyDict_SetItemString(d,"STC_METAPOST_SYMBOL", SWIG_FromInt((int)3));
16260 PyDict_SetItemString(d,"STC_METAPOST_COMMAND", SWIG_FromInt((int)4));
16261 PyDict_SetItemString(d,"STC_METAPOST_TEXT", SWIG_FromInt((int)5));
16262 PyDict_SetItemString(d,"STC_METAPOST_EXTRA", SWIG_FromInt((int)6));
16263 PyDict_SetItemString(d,"STC_ERLANG_DEFAULT", SWIG_FromInt((int)0));
16264 PyDict_SetItemString(d,"STC_ERLANG_COMMENT", SWIG_FromInt((int)1));
16265 PyDict_SetItemString(d,"STC_ERLANG_VARIABLE", SWIG_FromInt((int)2));
16266 PyDict_SetItemString(d,"STC_ERLANG_NUMBER", SWIG_FromInt((int)3));
16267 PyDict_SetItemString(d,"STC_ERLANG_KEYWORD", SWIG_FromInt((int)4));
16268 PyDict_SetItemString(d,"STC_ERLANG_STRING", SWIG_FromInt((int)5));
16269 PyDict_SetItemString(d,"STC_ERLANG_OPERATOR", SWIG_FromInt((int)6));
16270 PyDict_SetItemString(d,"STC_ERLANG_ATOM", SWIG_FromInt((int)7));
16271 PyDict_SetItemString(d,"STC_ERLANG_FUNCTION_NAME", SWIG_FromInt((int)8));
16272 PyDict_SetItemString(d,"STC_ERLANG_CHARACTER", SWIG_FromInt((int)9));
16273 PyDict_SetItemString(d,"STC_ERLANG_MACRO", SWIG_FromInt((int)10));
16274 PyDict_SetItemString(d,"STC_ERLANG_RECORD", SWIG_FromInt((int)11));
16275 PyDict_SetItemString(d,"STC_ERLANG_SEPARATOR", SWIG_FromInt((int)12));
16276 PyDict_SetItemString(d,"STC_ERLANG_NODE_NAME", SWIG_FromInt((int)13));
16277 PyDict_SetItemString(d,"STC_ERLANG_UNKNOWN", SWIG_FromInt((int)31));
16278 PyDict_SetItemString(d,"STC_CMD_REDO", SWIG_FromInt((int)2011));
16279 PyDict_SetItemString(d,"STC_CMD_SELECTALL", SWIG_FromInt((int)2013));
16280 PyDict_SetItemString(d,"STC_CMD_UNDO", SWIG_FromInt((int)2176));
16281 PyDict_SetItemString(d,"STC_CMD_CUT", SWIG_FromInt((int)2177));
16282 PyDict_SetItemString(d,"STC_CMD_COPY", SWIG_FromInt((int)2178));
16283 PyDict_SetItemString(d,"STC_CMD_PASTE", SWIG_FromInt((int)2179));
16284 PyDict_SetItemString(d,"STC_CMD_CLEAR", SWIG_FromInt((int)2180));
16285 PyDict_SetItemString(d,"STC_CMD_LINEDOWN", SWIG_FromInt((int)2300));
16286 PyDict_SetItemString(d,"STC_CMD_LINEDOWNEXTEND", SWIG_FromInt((int)2301));
16287 PyDict_SetItemString(d,"STC_CMD_LINEUP", SWIG_FromInt((int)2302));
16288 PyDict_SetItemString(d,"STC_CMD_LINEUPEXTEND", SWIG_FromInt((int)2303));
16289 PyDict_SetItemString(d,"STC_CMD_CHARLEFT", SWIG_FromInt((int)2304));
16290 PyDict_SetItemString(d,"STC_CMD_CHARLEFTEXTEND", SWIG_FromInt((int)2305));
16291 PyDict_SetItemString(d,"STC_CMD_CHARRIGHT", SWIG_FromInt((int)2306));
16292 PyDict_SetItemString(d,"STC_CMD_CHARRIGHTEXTEND", SWIG_FromInt((int)2307));
16293 PyDict_SetItemString(d,"STC_CMD_WORDLEFT", SWIG_FromInt((int)2308));
16294 PyDict_SetItemString(d,"STC_CMD_WORDLEFTEXTEND", SWIG_FromInt((int)2309));
16295 PyDict_SetItemString(d,"STC_CMD_WORDRIGHT", SWIG_FromInt((int)2310));
16296 PyDict_SetItemString(d,"STC_CMD_WORDRIGHTEXTEND", SWIG_FromInt((int)2311));
16297 PyDict_SetItemString(d,"STC_CMD_HOME", SWIG_FromInt((int)2312));
16298 PyDict_SetItemString(d,"STC_CMD_HOMEEXTEND", SWIG_FromInt((int)2313));
16299 PyDict_SetItemString(d,"STC_CMD_LINEEND", SWIG_FromInt((int)2314));
16300 PyDict_SetItemString(d,"STC_CMD_LINEENDEXTEND", SWIG_FromInt((int)2315));
16301 PyDict_SetItemString(d,"STC_CMD_DOCUMENTSTART", SWIG_FromInt((int)2316));
16302 PyDict_SetItemString(d,"STC_CMD_DOCUMENTSTARTEXTEND", SWIG_FromInt((int)2317));
16303 PyDict_SetItemString(d,"STC_CMD_DOCUMENTEND", SWIG_FromInt((int)2318));
16304 PyDict_SetItemString(d,"STC_CMD_DOCUMENTENDEXTEND", SWIG_FromInt((int)2319));
16305 PyDict_SetItemString(d,"STC_CMD_PAGEUP", SWIG_FromInt((int)2320));
16306 PyDict_SetItemString(d,"STC_CMD_PAGEUPEXTEND", SWIG_FromInt((int)2321));
16307 PyDict_SetItemString(d,"STC_CMD_PAGEDOWN", SWIG_FromInt((int)2322));
16308 PyDict_SetItemString(d,"STC_CMD_PAGEDOWNEXTEND", SWIG_FromInt((int)2323));
16309 PyDict_SetItemString(d,"STC_CMD_EDITTOGGLEOVERTYPE", SWIG_FromInt((int)2324));
16310 PyDict_SetItemString(d,"STC_CMD_CANCEL", SWIG_FromInt((int)2325));
16311 PyDict_SetItemString(d,"STC_CMD_DELETEBACK", SWIG_FromInt((int)2326));
16312 PyDict_SetItemString(d,"STC_CMD_TAB", SWIG_FromInt((int)2327));
16313 PyDict_SetItemString(d,"STC_CMD_BACKTAB", SWIG_FromInt((int)2328));
16314 PyDict_SetItemString(d,"STC_CMD_NEWLINE", SWIG_FromInt((int)2329));
16315 PyDict_SetItemString(d,"STC_CMD_FORMFEED", SWIG_FromInt((int)2330));
16316 PyDict_SetItemString(d,"STC_CMD_VCHOME", SWIG_FromInt((int)2331));
16317 PyDict_SetItemString(d,"STC_CMD_VCHOMEEXTEND", SWIG_FromInt((int)2332));
16318 PyDict_SetItemString(d,"STC_CMD_ZOOMIN", SWIG_FromInt((int)2333));
16319 PyDict_SetItemString(d,"STC_CMD_ZOOMOUT", SWIG_FromInt((int)2334));
16320 PyDict_SetItemString(d,"STC_CMD_DELWORDLEFT", SWIG_FromInt((int)2335));
16321 PyDict_SetItemString(d,"STC_CMD_DELWORDRIGHT", SWIG_FromInt((int)2336));
16322 PyDict_SetItemString(d,"STC_CMD_LINECUT", SWIG_FromInt((int)2337));
16323 PyDict_SetItemString(d,"STC_CMD_LINEDELETE", SWIG_FromInt((int)2338));
16324 PyDict_SetItemString(d,"STC_CMD_LINETRANSPOSE", SWIG_FromInt((int)2339));
16325 PyDict_SetItemString(d,"STC_CMD_LINEDUPLICATE", SWIG_FromInt((int)2404));
16326 PyDict_SetItemString(d,"STC_CMD_LOWERCASE", SWIG_FromInt((int)2340));
16327 PyDict_SetItemString(d,"STC_CMD_UPPERCASE", SWIG_FromInt((int)2341));
16328 PyDict_SetItemString(d,"STC_CMD_LINESCROLLDOWN", SWIG_FromInt((int)2342));
16329 PyDict_SetItemString(d,"STC_CMD_LINESCROLLUP", SWIG_FromInt((int)2343));
16330 PyDict_SetItemString(d,"STC_CMD_DELETEBACKNOTLINE", SWIG_FromInt((int)2344));
16331 PyDict_SetItemString(d,"STC_CMD_HOMEDISPLAY", SWIG_FromInt((int)2345));
16332 PyDict_SetItemString(d,"STC_CMD_HOMEDISPLAYEXTEND", SWIG_FromInt((int)2346));
16333 PyDict_SetItemString(d,"STC_CMD_LINEENDDISPLAY", SWIG_FromInt((int)2347));
16334 PyDict_SetItemString(d,"STC_CMD_LINEENDDISPLAYEXTEND", SWIG_FromInt((int)2348));
16335 PyDict_SetItemString(d,"STC_CMD_HOMEWRAP", SWIG_FromInt((int)2349));
16336 PyDict_SetItemString(d,"STC_CMD_HOMEWRAPEXTEND", SWIG_FromInt((int)2450));
16337 PyDict_SetItemString(d,"STC_CMD_LINEENDWRAP", SWIG_FromInt((int)2451));
16338 PyDict_SetItemString(d,"STC_CMD_LINEENDWRAPEXTEND", SWIG_FromInt((int)2452));
16339 PyDict_SetItemString(d,"STC_CMD_VCHOMEWRAP", SWIG_FromInt((int)2453));
16340 PyDict_SetItemString(d,"STC_CMD_VCHOMEWRAPEXTEND", SWIG_FromInt((int)2454));
16341 PyDict_SetItemString(d,"STC_CMD_LINECOPY", SWIG_FromInt((int)2455));
16342 PyDict_SetItemString(d,"STC_CMD_WORDPARTLEFT", SWIG_FromInt((int)2390));
16343 PyDict_SetItemString(d,"STC_CMD_WORDPARTLEFTEXTEND", SWIG_FromInt((int)2391));
16344 PyDict_SetItemString(d,"STC_CMD_WORDPARTRIGHT", SWIG_FromInt((int)2392));
16345 PyDict_SetItemString(d,"STC_CMD_WORDPARTRIGHTEXTEND", SWIG_FromInt((int)2393));
16346 PyDict_SetItemString(d,"STC_CMD_DELLINELEFT", SWIG_FromInt((int)2395));
16347 PyDict_SetItemString(d,"STC_CMD_DELLINERIGHT", SWIG_FromInt((int)2396));
16348 PyDict_SetItemString(d,"STC_CMD_PARADOWN", SWIG_FromInt((int)2413));
16349 PyDict_SetItemString(d,"STC_CMD_PARADOWNEXTEND", SWIG_FromInt((int)2414));
16350 PyDict_SetItemString(d,"STC_CMD_PARAUP", SWIG_FromInt((int)2415));
16351 PyDict_SetItemString(d,"STC_CMD_PARAUPEXTEND", SWIG_FromInt((int)2416));
16352 PyDict_SetItemString(d,"STC_CMD_LINEDOWNRECTEXTEND", SWIG_FromInt((int)2426));
16353 PyDict_SetItemString(d,"STC_CMD_LINEUPRECTEXTEND", SWIG_FromInt((int)2427));
16354 PyDict_SetItemString(d,"STC_CMD_CHARLEFTRECTEXTEND", SWIG_FromInt((int)2428));
16355 PyDict_SetItemString(d,"STC_CMD_CHARRIGHTRECTEXTEND", SWIG_FromInt((int)2429));
16356 PyDict_SetItemString(d,"STC_CMD_HOMERECTEXTEND", SWIG_FromInt((int)2430));
16357 PyDict_SetItemString(d,"STC_CMD_VCHOMERECTEXTEND", SWIG_FromInt((int)2431));
16358 PyDict_SetItemString(d,"STC_CMD_LINEENDRECTEXTEND", SWIG_FromInt((int)2432));
16359 PyDict_SetItemString(d,"STC_CMD_PAGEUPRECTEXTEND", SWIG_FromInt((int)2433));
16360 PyDict_SetItemString(d,"STC_CMD_PAGEDOWNRECTEXTEND", SWIG_FromInt((int)2434));
16361 PyDict_SetItemString(d,"STC_CMD_STUTTEREDPAGEUP", SWIG_FromInt((int)2435));
16362 PyDict_SetItemString(d,"STC_CMD_STUTTEREDPAGEUPEXTEND", SWIG_FromInt((int)2436));
16363 PyDict_SetItemString(d,"STC_CMD_STUTTEREDPAGEDOWN", SWIG_FromInt((int)2437));
16364 PyDict_SetItemString(d,"STC_CMD_STUTTEREDPAGEDOWNEXTEND", SWIG_FromInt((int)2438));
16365 PyDict_SetItemString(d,"STC_CMD_WORDLEFTEND", SWIG_FromInt((int)2439));
16366 PyDict_SetItemString(d,"STC_CMD_WORDLEFTENDEXTEND", SWIG_FromInt((int)2440));
16367 PyDict_SetItemString(d,"STC_CMD_WORDRIGHTEND", SWIG_FromInt((int)2441));
16368 PyDict_SetItemString(d,"STC_CMD_WORDRIGHTENDEXTEND", SWIG_FromInt((int)2442));
16369 PyDict_SetItemString(d,"wxEVT_STC_CHANGE", SWIG_FromInt((int)wxEVT_STC_CHANGE));
16370 PyDict_SetItemString(d,"wxEVT_STC_STYLENEEDED", SWIG_FromInt((int)wxEVT_STC_STYLENEEDED));
16371 PyDict_SetItemString(d,"wxEVT_STC_CHARADDED", SWIG_FromInt((int)wxEVT_STC_CHARADDED));
16372 PyDict_SetItemString(d,"wxEVT_STC_SAVEPOINTREACHED", SWIG_FromInt((int)wxEVT_STC_SAVEPOINTREACHED));
16373 PyDict_SetItemString(d,"wxEVT_STC_SAVEPOINTLEFT", SWIG_FromInt((int)wxEVT_STC_SAVEPOINTLEFT));
16374 PyDict_SetItemString(d,"wxEVT_STC_ROMODIFYATTEMPT", SWIG_FromInt((int)wxEVT_STC_ROMODIFYATTEMPT));
16375 PyDict_SetItemString(d,"wxEVT_STC_KEY", SWIG_FromInt((int)wxEVT_STC_KEY));
16376 PyDict_SetItemString(d,"wxEVT_STC_DOUBLECLICK", SWIG_FromInt((int)wxEVT_STC_DOUBLECLICK));
16377 PyDict_SetItemString(d,"wxEVT_STC_UPDATEUI", SWIG_FromInt((int)wxEVT_STC_UPDATEUI));
16378 PyDict_SetItemString(d,"wxEVT_STC_MODIFIED", SWIG_FromInt((int)wxEVT_STC_MODIFIED));
16379 PyDict_SetItemString(d,"wxEVT_STC_MACRORECORD", SWIG_FromInt((int)wxEVT_STC_MACRORECORD));
16380 PyDict_SetItemString(d,"wxEVT_STC_MARGINCLICK", SWIG_FromInt((int)wxEVT_STC_MARGINCLICK));
16381 PyDict_SetItemString(d,"wxEVT_STC_NEEDSHOWN", SWIG_FromInt((int)wxEVT_STC_NEEDSHOWN));
16382 PyDict_SetItemString(d,"wxEVT_STC_POSCHANGED", SWIG_FromInt((int)wxEVT_STC_POSCHANGED));
16383 PyDict_SetItemString(d,"wxEVT_STC_PAINTED", SWIG_FromInt((int)wxEVT_STC_PAINTED));
16384 PyDict_SetItemString(d,"wxEVT_STC_USERLISTSELECTION", SWIG_FromInt((int)wxEVT_STC_USERLISTSELECTION));
16385 PyDict_SetItemString(d,"wxEVT_STC_URIDROPPED", SWIG_FromInt((int)wxEVT_STC_URIDROPPED));
16386 PyDict_SetItemString(d,"wxEVT_STC_DWELLSTART", SWIG_FromInt((int)wxEVT_STC_DWELLSTART));
16387 PyDict_SetItemString(d,"wxEVT_STC_DWELLEND", SWIG_FromInt((int)wxEVT_STC_DWELLEND));
16388 PyDict_SetItemString(d,"wxEVT_STC_START_DRAG", SWIG_FromInt((int)wxEVT_STC_START_DRAG));
16389 PyDict_SetItemString(d,"wxEVT_STC_DRAG_OVER", SWIG_FromInt((int)wxEVT_STC_DRAG_OVER));
16390 PyDict_SetItemString(d,"wxEVT_STC_DO_DROP", SWIG_FromInt((int)wxEVT_STC_DO_DROP));
16391 PyDict_SetItemString(d,"wxEVT_STC_ZOOM", SWIG_FromInt((int)wxEVT_STC_ZOOM));
16392 PyDict_SetItemString(d,"wxEVT_STC_HOTSPOT_CLICK", SWIG_FromInt((int)wxEVT_STC_HOTSPOT_CLICK));
16393 PyDict_SetItemString(d,"wxEVT_STC_HOTSPOT_DCLICK", SWIG_FromInt((int)wxEVT_STC_HOTSPOT_DCLICK));
16394 PyDict_SetItemString(d,"wxEVT_STC_CALLTIP_CLICK", SWIG_FromInt((int)wxEVT_STC_CALLTIP_CLICK));
16395
16396
16397}
16398