]> git.saurik.com Git - wxWidgets.git/blob - wxPython/contrib/stc/stc_wrap.cpp
Remove #!
[wxWidgets.git] / wxPython / contrib / stc / stc_wrap.cpp
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
15 template<class T> class SwigValueWrapper {
16 T *tt;
17 public:
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; }
25 private:
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
94 extern "C" {
95 #endif
96
97 typedef void *(*swig_converter_func)(void *);
98 typedef struct swig_type_info *(*swig_dycast_func)(void **);
99
100 typedef 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
111 SWIGIMPORT(swig_type_info *) SWIG_TypeRegister(swig_type_info *);
112 SWIGIMPORT(swig_type_info *) SWIG_TypeCheck(char *c, swig_type_info *);
113 SWIGIMPORT(void *) SWIG_TypeCast(swig_type_info *, void *);
114 SWIGIMPORT(swig_type_info *) SWIG_TypeDynamicCast(swig_type_info *, void **);
115 SWIGIMPORT(const char *) SWIG_TypeName(const swig_type_info *);
116 SWIGIMPORT(swig_type_info *) SWIG_TypeQuery(const char *);
117 SWIGIMPORT(void) SWIG_TypeClientData(swig_type_info *, void *);
118 SWIGIMPORT(char *) SWIG_PackData(char *, void *, int);
119 SWIGIMPORT(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
139 extern "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 */
157 typedef 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
186 typedef double (*py_objasdbl_conv)(PyObject *obj);
187
188 SWIGIMPORT(int) SWIG_Python_ConvertPtr(PyObject *, void **, swig_type_info *, int);
189 SWIGIMPORT(PyObject *) SWIG_Python_NewPointerObj(void *, swig_type_info *,int own);
190 SWIGIMPORT(void *) SWIG_Python_MustGetPtr(PyObject *, swig_type_info *, int, int);
191 SWIGIMPORT(PyObject *) SWIG_Python_newvarlink(void);
192 SWIGIMPORT(void) SWIG_Python_addvarlink(PyObject *, char *, PyObject *(*)(void), int (*)(PyObject *));
193 SWIGIMPORT(int) SWIG_Python_ConvertPacked(PyObject *, void *, int sz, swig_type_info *, int);
194 SWIGIMPORT(PyObject *) SWIG_Python_NewPackedObj(void *, int sz, swig_type_info *);
195 SWIGIMPORT(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]
228 static 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
293 SWIGSTATICINLINE(long)
294 SWIG_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
317 SWIGSTATICINLINE(long)
318 SWIG_AsLong(PyObject * obj)
319 {
320 return PyInt_Check(obj) ? PyInt_AsLong(obj) : PyLong_AsLong(obj);
321 }
322
323
324 #if INT_MAX != LONG_MAX
325 SWIGSTATICINLINE(int)
326 SWIG_AsInt(PyObject *obj)
327 {
328 return swig_numeric_cast(int,
329 SWIG_CheckLongInRange(SWIG_AsLong(obj),
330 "int", INT_MIN, INT_MAX));
331 }
332 #else
333 #define SWIG_AsInt SWIG_AsLong
334 #endif
335
336
337 SWIGSTATICINLINE(int)
338 SWIG_CheckInt(PyObject* obj)
339 {
340 SWIG_AsInt(obj);
341 if (PyErr_Occurred()) {
342 PyErr_Clear();
343 return 0;
344 } else {
345 return 1;
346 }
347 }
348
349
350 SWIGSTATICINLINE(int)
351 SWIG_CheckLong(PyObject* obj)
352 {
353 SWIG_AsLong(obj);
354 if (PyErr_Occurred()) {
355 PyErr_Clear();
356 return 0;
357 } else {
358 return 1;
359 }
360 }
361
362
363 SWIGSTATICINLINE(bool)
364 SWIG_AsBool(PyObject *obj)
365 {
366 return PyObject_IsTrue(obj) ? true : false;
367 }
368
369
370 SWIGSTATICINLINE(int)
371 SWIG_CheckBool(PyObject* obj)
372 {
373 SWIG_AsBool(obj);
374 if (PyErr_Occurred()) {
375 PyErr_Clear();
376 return 0;
377 } else {
378 return 1;
379 }
380 }
381
382
383 static PyObject* t_output_helper(PyObject* target, PyObject* o) {
384 PyObject* o2;
385 PyObject* o3;
386
387 if (!target) {
388 target = o;
389 } else if (target == Py_None) {
390 Py_DECREF(Py_None);
391 target = o;
392 } else {
393 if (!PyTuple_Check(target)) {
394 o2 = target;
395 target = PyTuple_New(1);
396 PyTuple_SetItem(target, 0, o2);
397 }
398 o3 = PyTuple_New(1);
399 PyTuple_SetItem(o3, 0, o);
400
401 o2 = target;
402 target = PySequence_Concat(o2, o3);
403 Py_DECREF(o2);
404 Py_DECREF(o3);
405 }
406 return target;
407 }
408
409
410 /* returns '1' if the input is a raw char*, '0' if is a PyString */
411 SWIGSTATIC(int)
412 SWIG_AsCharPtrAndSize(PyObject *obj, char** cptr, size_t* size)
413 {
414 static swig_type_info* pchar_info = 0;
415 int psize = 0;
416 if (!pchar_info) pchar_info = SWIG_TypeQuery("char *");
417
418 if (SWIG_ConvertPtr(obj, swig_reinterpret_cast(void **,cptr), pchar_info, 0) == -1) {
419 PyErr_Clear();
420 PyString_AsStringAndSize(obj, cptr, &psize);
421 if (PyErr_Occurred()) {
422 PyErr_Clear();
423 PyErr_SetString(PyExc_TypeError,"a string is expected");
424 }
425 if (size) *size = psize;
426 return 0;
427 } else {
428 if (size) *size = (*cptr) ? (strlen(*cptr) + 1) : 0;
429 return 1;
430 }
431 }
432
433
434 SWIGSTATICINLINE(char* )
435 SWIG_AsCharPtr(PyObject *obj)
436 {
437 char* cptr;
438 SWIG_AsCharPtrAndSize(obj, &cptr, 0);
439 if (PyErr_Occurred()) {
440 PyErr_Clear();
441 PyErr_SetString(PyExc_TypeError, "a char* is expected");
442 }
443 return cptr;
444 }
445
446 #ifdef __cplusplus
447 extern "C" {
448 #endif
449 static int _wrap_STCNameStr_set(PyObject *_val) {
450 PyErr_SetString(PyExc_TypeError,"Variable STCNameStr is read-only.");
451 return 1;
452 }
453
454
455 static PyObject *_wrap_STCNameStr_get() {
456 PyObject *pyobj;
457
458 {
459 #if wxUSE_UNICODE
460 pyobj = PyUnicode_FromWideChar((&wxPySTCNameStr)->c_str(), (&wxPySTCNameStr)->Len());
461 #else
462 pyobj = PyString_FromStringAndSize((&wxPySTCNameStr)->c_str(), (&wxPySTCNameStr)->Len());
463 #endif
464 }
465 return pyobj;
466 }
467
468
469 static PyObject *_wrap_new_StyledTextCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
470 PyObject *resultobj;
471 wxWindow *arg1 = (wxWindow *) 0 ;
472 int arg2 ;
473 wxPoint const &arg3_defvalue = wxDefaultPosition ;
474 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
475 wxSize const &arg4_defvalue = wxDefaultSize ;
476 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
477 long arg5 = (long) 0 ;
478 wxString const &arg6_defvalue = wxPySTCNameStr ;
479 wxString *arg6 = (wxString *) &arg6_defvalue ;
480 wxStyledTextCtrl *result;
481 wxPoint temp3 ;
482 wxSize temp4 ;
483 bool temp6 = False ;
484 PyObject * obj0 = 0 ;
485 PyObject * obj1 = 0 ;
486 PyObject * obj2 = 0 ;
487 PyObject * obj3 = 0 ;
488 PyObject * obj4 = 0 ;
489 PyObject * obj5 = 0 ;
490 char *kwnames[] = {
491 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
492 };
493
494 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_StyledTextCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
495 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
496 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
497 arg2 = (int) SWIG_AsInt(obj1);
498 if (PyErr_Occurred()) SWIG_fail;
499 if (obj2) {
500 {
501 arg3 = &temp3;
502 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
503 }
504 }
505 if (obj3) {
506 {
507 arg4 = &temp4;
508 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
509 }
510 }
511 if (obj4) {
512 arg5 = (long) SWIG_AsLong(obj4);
513 if (PyErr_Occurred()) SWIG_fail;
514 }
515 if (obj5) {
516 {
517 arg6 = wxString_in_helper(obj5);
518 if (arg6 == NULL) SWIG_fail;
519 temp6 = True;
520 }
521 }
522 {
523 PyThreadState* __tstate = wxPyBeginAllowThreads();
524 result = (wxStyledTextCtrl *)new wxStyledTextCtrl(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
525
526 wxPyEndAllowThreads(__tstate);
527 if (PyErr_Occurred()) SWIG_fail;
528 }
529 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStyledTextCtrl, 1);
530 {
531 if (temp6)
532 delete arg6;
533 }
534 return resultobj;
535 fail:
536 {
537 if (temp6)
538 delete arg6;
539 }
540 return NULL;
541 }
542
543
544 static PyObject *_wrap_new_PreStyledTextCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
545 PyObject *resultobj;
546 wxStyledTextCtrl *result;
547 char *kwnames[] = {
548 NULL
549 };
550
551 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreStyledTextCtrl",kwnames)) goto fail;
552 {
553 PyThreadState* __tstate = wxPyBeginAllowThreads();
554 result = (wxStyledTextCtrl *)new wxStyledTextCtrl();
555
556 wxPyEndAllowThreads(__tstate);
557 if (PyErr_Occurred()) SWIG_fail;
558 }
559 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStyledTextCtrl, 1);
560 return resultobj;
561 fail:
562 return NULL;
563 }
564
565
566 static PyObject *_wrap_StyledTextCtrl_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
567 PyObject *resultobj;
568 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
569 wxWindow *arg2 = (wxWindow *) 0 ;
570 int arg3 ;
571 wxPoint const &arg4_defvalue = wxDefaultPosition ;
572 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
573 wxSize const &arg5_defvalue = wxDefaultSize ;
574 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
575 long arg6 = (long) 0 ;
576 wxString const &arg7_defvalue = wxSTCNameStr ;
577 wxString *arg7 = (wxString *) &arg7_defvalue ;
578 wxPoint temp4 ;
579 wxSize temp5 ;
580 bool temp7 = False ;
581 PyObject * obj0 = 0 ;
582 PyObject * obj1 = 0 ;
583 PyObject * obj2 = 0 ;
584 PyObject * obj3 = 0 ;
585 PyObject * obj4 = 0 ;
586 PyObject * obj5 = 0 ;
587 PyObject * obj6 = 0 ;
588 char *kwnames[] = {
589 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
590 };
591
592 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:StyledTextCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
593 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
594 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
595 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
596 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
597 arg3 = (int) SWIG_AsInt(obj2);
598 if (PyErr_Occurred()) SWIG_fail;
599 if (obj3) {
600 {
601 arg4 = &temp4;
602 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
603 }
604 }
605 if (obj4) {
606 {
607 arg5 = &temp5;
608 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
609 }
610 }
611 if (obj5) {
612 arg6 = (long) SWIG_AsLong(obj5);
613 if (PyErr_Occurred()) SWIG_fail;
614 }
615 if (obj6) {
616 {
617 arg7 = wxString_in_helper(obj6);
618 if (arg7 == NULL) SWIG_fail;
619 temp7 = True;
620 }
621 }
622 {
623 PyThreadState* __tstate = wxPyBeginAllowThreads();
624 (arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
625
626 wxPyEndAllowThreads(__tstate);
627 if (PyErr_Occurred()) SWIG_fail;
628 }
629 Py_INCREF(Py_None); resultobj = Py_None;
630 {
631 if (temp7)
632 delete arg7;
633 }
634 return resultobj;
635 fail:
636 {
637 if (temp7)
638 delete arg7;
639 }
640 return NULL;
641 }
642
643
644 static PyObject *_wrap_StyledTextCtrl_AddText(PyObject *self, PyObject *args, PyObject *kwargs) {
645 PyObject *resultobj;
646 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
647 wxString *arg2 = 0 ;
648 bool temp2 = False ;
649 PyObject * obj0 = 0 ;
650 PyObject * obj1 = 0 ;
651 char *kwnames[] = {
652 (char *) "self",(char *) "text", NULL
653 };
654
655 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_AddText",kwnames,&obj0,&obj1)) goto fail;
656 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
657 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
658 {
659 arg2 = wxString_in_helper(obj1);
660 if (arg2 == NULL) SWIG_fail;
661 temp2 = True;
662 }
663 {
664 PyThreadState* __tstate = wxPyBeginAllowThreads();
665 (arg1)->AddText((wxString const &)*arg2);
666
667 wxPyEndAllowThreads(__tstate);
668 if (PyErr_Occurred()) SWIG_fail;
669 }
670 Py_INCREF(Py_None); resultobj = Py_None;
671 {
672 if (temp2)
673 delete arg2;
674 }
675 return resultobj;
676 fail:
677 {
678 if (temp2)
679 delete arg2;
680 }
681 return NULL;
682 }
683
684
685 static PyObject *_wrap_StyledTextCtrl_AddStyledText(PyObject *self, PyObject *args, PyObject *kwargs) {
686 PyObject *resultobj;
687 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
688 wxMemoryBuffer *arg2 = 0 ;
689 bool temp2 = False ;
690 PyObject * obj0 = 0 ;
691 PyObject * obj1 = 0 ;
692 char *kwnames[] = {
693 (char *) "self",(char *) "data", NULL
694 };
695
696 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_AddStyledText",kwnames,&obj0,&obj1)) goto fail;
697 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
698 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
699 {
700 if (!PyString_Check(obj1)) {
701 PyErr_SetString(PyExc_TypeError, "String buffer expected");
702 SWIG_fail;
703 }
704 char* str = PyString_AS_STRING(obj1);
705 int len = PyString_GET_SIZE(obj1);
706 arg2 = new wxMemoryBuffer(len);
707 temp2 = True;
708 memcpy(arg2->GetData(), str, len);
709 }
710 {
711 PyThreadState* __tstate = wxPyBeginAllowThreads();
712 (arg1)->AddStyledText((wxMemoryBuffer const &)*arg2);
713
714 wxPyEndAllowThreads(__tstate);
715 if (PyErr_Occurred()) SWIG_fail;
716 }
717 Py_INCREF(Py_None); resultobj = Py_None;
718 {
719 if (temp2) delete arg2;
720 }
721 return resultobj;
722 fail:
723 {
724 if (temp2) delete arg2;
725 }
726 return NULL;
727 }
728
729
730 static PyObject *_wrap_StyledTextCtrl_InsertText(PyObject *self, PyObject *args, PyObject *kwargs) {
731 PyObject *resultobj;
732 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
733 int arg2 ;
734 wxString *arg3 = 0 ;
735 bool temp3 = False ;
736 PyObject * obj0 = 0 ;
737 PyObject * obj1 = 0 ;
738 PyObject * obj2 = 0 ;
739 char *kwnames[] = {
740 (char *) "self",(char *) "pos",(char *) "text", NULL
741 };
742
743 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_InsertText",kwnames,&obj0,&obj1,&obj2)) goto fail;
744 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
745 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
746 arg2 = (int) SWIG_AsInt(obj1);
747 if (PyErr_Occurred()) SWIG_fail;
748 {
749 arg3 = wxString_in_helper(obj2);
750 if (arg3 == NULL) SWIG_fail;
751 temp3 = True;
752 }
753 {
754 PyThreadState* __tstate = wxPyBeginAllowThreads();
755 (arg1)->InsertText(arg2,(wxString const &)*arg3);
756
757 wxPyEndAllowThreads(__tstate);
758 if (PyErr_Occurred()) SWIG_fail;
759 }
760 Py_INCREF(Py_None); resultobj = Py_None;
761 {
762 if (temp3)
763 delete arg3;
764 }
765 return resultobj;
766 fail:
767 {
768 if (temp3)
769 delete arg3;
770 }
771 return NULL;
772 }
773
774
775 static PyObject *_wrap_StyledTextCtrl_ClearAll(PyObject *self, PyObject *args, PyObject *kwargs) {
776 PyObject *resultobj;
777 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
778 PyObject * obj0 = 0 ;
779 char *kwnames[] = {
780 (char *) "self", NULL
781 };
782
783 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_ClearAll",kwnames,&obj0)) goto fail;
784 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
785 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
786 {
787 PyThreadState* __tstate = wxPyBeginAllowThreads();
788 (arg1)->ClearAll();
789
790 wxPyEndAllowThreads(__tstate);
791 if (PyErr_Occurred()) SWIG_fail;
792 }
793 Py_INCREF(Py_None); resultobj = Py_None;
794 return resultobj;
795 fail:
796 return NULL;
797 }
798
799
800 static PyObject *_wrap_StyledTextCtrl_ClearDocumentStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
801 PyObject *resultobj;
802 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
803 PyObject * obj0 = 0 ;
804 char *kwnames[] = {
805 (char *) "self", NULL
806 };
807
808 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_ClearDocumentStyle",kwnames,&obj0)) goto fail;
809 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
810 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
811 {
812 PyThreadState* __tstate = wxPyBeginAllowThreads();
813 (arg1)->ClearDocumentStyle();
814
815 wxPyEndAllowThreads(__tstate);
816 if (PyErr_Occurred()) SWIG_fail;
817 }
818 Py_INCREF(Py_None); resultobj = Py_None;
819 return resultobj;
820 fail:
821 return NULL;
822 }
823
824
825 static PyObject *_wrap_StyledTextCtrl_GetLength(PyObject *self, PyObject *args, PyObject *kwargs) {
826 PyObject *resultobj;
827 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
828 int result;
829 PyObject * obj0 = 0 ;
830 char *kwnames[] = {
831 (char *) "self", NULL
832 };
833
834 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetLength",kwnames,&obj0)) goto fail;
835 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
836 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
837 {
838 PyThreadState* __tstate = wxPyBeginAllowThreads();
839 result = (int)(arg1)->GetLength();
840
841 wxPyEndAllowThreads(__tstate);
842 if (PyErr_Occurred()) SWIG_fail;
843 }
844 resultobj = SWIG_FromInt((int)result);
845 return resultobj;
846 fail:
847 return NULL;
848 }
849
850
851 static PyObject *_wrap_StyledTextCtrl_GetCharAt(PyObject *self, PyObject *args, PyObject *kwargs) {
852 PyObject *resultobj;
853 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
854 int arg2 ;
855 int result;
856 PyObject * obj0 = 0 ;
857 PyObject * obj1 = 0 ;
858 char *kwnames[] = {
859 (char *) "self",(char *) "pos", NULL
860 };
861
862 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GetCharAt",kwnames,&obj0,&obj1)) goto fail;
863 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
864 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
865 arg2 = (int) SWIG_AsInt(obj1);
866 if (PyErr_Occurred()) SWIG_fail;
867 {
868 PyThreadState* __tstate = wxPyBeginAllowThreads();
869 result = (int)(arg1)->GetCharAt(arg2);
870
871 wxPyEndAllowThreads(__tstate);
872 if (PyErr_Occurred()) SWIG_fail;
873 }
874 resultobj = SWIG_FromInt((int)result);
875 return resultobj;
876 fail:
877 return NULL;
878 }
879
880
881 static PyObject *_wrap_StyledTextCtrl_GetCurrentPos(PyObject *self, PyObject *args, PyObject *kwargs) {
882 PyObject *resultobj;
883 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
884 int result;
885 PyObject * obj0 = 0 ;
886 char *kwnames[] = {
887 (char *) "self", NULL
888 };
889
890 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetCurrentPos",kwnames,&obj0)) goto fail;
891 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
892 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
893 {
894 PyThreadState* __tstate = wxPyBeginAllowThreads();
895 result = (int)(arg1)->GetCurrentPos();
896
897 wxPyEndAllowThreads(__tstate);
898 if (PyErr_Occurred()) SWIG_fail;
899 }
900 resultobj = SWIG_FromInt((int)result);
901 return resultobj;
902 fail:
903 return NULL;
904 }
905
906
907 static PyObject *_wrap_StyledTextCtrl_GetAnchor(PyObject *self, PyObject *args, PyObject *kwargs) {
908 PyObject *resultobj;
909 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
910 int result;
911 PyObject * obj0 = 0 ;
912 char *kwnames[] = {
913 (char *) "self", NULL
914 };
915
916 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetAnchor",kwnames,&obj0)) goto fail;
917 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
918 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
919 {
920 PyThreadState* __tstate = wxPyBeginAllowThreads();
921 result = (int)(arg1)->GetAnchor();
922
923 wxPyEndAllowThreads(__tstate);
924 if (PyErr_Occurred()) SWIG_fail;
925 }
926 resultobj = SWIG_FromInt((int)result);
927 return resultobj;
928 fail:
929 return NULL;
930 }
931
932
933 static PyObject *_wrap_StyledTextCtrl_GetStyleAt(PyObject *self, PyObject *args, PyObject *kwargs) {
934 PyObject *resultobj;
935 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
936 int arg2 ;
937 int result;
938 PyObject * obj0 = 0 ;
939 PyObject * obj1 = 0 ;
940 char *kwnames[] = {
941 (char *) "self",(char *) "pos", NULL
942 };
943
944 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GetStyleAt",kwnames,&obj0,&obj1)) goto fail;
945 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
946 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
947 arg2 = (int) SWIG_AsInt(obj1);
948 if (PyErr_Occurred()) SWIG_fail;
949 {
950 PyThreadState* __tstate = wxPyBeginAllowThreads();
951 result = (int)(arg1)->GetStyleAt(arg2);
952
953 wxPyEndAllowThreads(__tstate);
954 if (PyErr_Occurred()) SWIG_fail;
955 }
956 resultobj = SWIG_FromInt((int)result);
957 return resultobj;
958 fail:
959 return NULL;
960 }
961
962
963 static PyObject *_wrap_StyledTextCtrl_Redo(PyObject *self, PyObject *args, PyObject *kwargs) {
964 PyObject *resultobj;
965 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
966 PyObject * obj0 = 0 ;
967 char *kwnames[] = {
968 (char *) "self", NULL
969 };
970
971 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_Redo",kwnames,&obj0)) goto fail;
972 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
973 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
974 {
975 PyThreadState* __tstate = wxPyBeginAllowThreads();
976 (arg1)->Redo();
977
978 wxPyEndAllowThreads(__tstate);
979 if (PyErr_Occurred()) SWIG_fail;
980 }
981 Py_INCREF(Py_None); resultobj = Py_None;
982 return resultobj;
983 fail:
984 return NULL;
985 }
986
987
988 static PyObject *_wrap_StyledTextCtrl_SetUndoCollection(PyObject *self, PyObject *args, PyObject *kwargs) {
989 PyObject *resultobj;
990 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
991 bool arg2 ;
992 PyObject * obj0 = 0 ;
993 PyObject * obj1 = 0 ;
994 char *kwnames[] = {
995 (char *) "self",(char *) "collectUndo", NULL
996 };
997
998 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetUndoCollection",kwnames,&obj0,&obj1)) goto fail;
999 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
1000 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1001 arg2 = (bool) SWIG_AsBool(obj1);
1002 if (PyErr_Occurred()) SWIG_fail;
1003 {
1004 PyThreadState* __tstate = wxPyBeginAllowThreads();
1005 (arg1)->SetUndoCollection(arg2);
1006
1007 wxPyEndAllowThreads(__tstate);
1008 if (PyErr_Occurred()) SWIG_fail;
1009 }
1010 Py_INCREF(Py_None); resultobj = Py_None;
1011 return resultobj;
1012 fail:
1013 return NULL;
1014 }
1015
1016
1017 static PyObject *_wrap_StyledTextCtrl_SelectAll(PyObject *self, PyObject *args, PyObject *kwargs) {
1018 PyObject *resultobj;
1019 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
1020 PyObject * obj0 = 0 ;
1021 char *kwnames[] = {
1022 (char *) "self", NULL
1023 };
1024
1025 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_SelectAll",kwnames,&obj0)) goto fail;
1026 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
1027 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1028 {
1029 PyThreadState* __tstate = wxPyBeginAllowThreads();
1030 (arg1)->SelectAll();
1031
1032 wxPyEndAllowThreads(__tstate);
1033 if (PyErr_Occurred()) SWIG_fail;
1034 }
1035 Py_INCREF(Py_None); resultobj = Py_None;
1036 return resultobj;
1037 fail:
1038 return NULL;
1039 }
1040
1041
1042 static PyObject *_wrap_StyledTextCtrl_SetSavePoint(PyObject *self, PyObject *args, PyObject *kwargs) {
1043 PyObject *resultobj;
1044 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
1045 PyObject * obj0 = 0 ;
1046 char *kwnames[] = {
1047 (char *) "self", NULL
1048 };
1049
1050 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_SetSavePoint",kwnames,&obj0)) goto fail;
1051 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
1052 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1053 {
1054 PyThreadState* __tstate = wxPyBeginAllowThreads();
1055 (arg1)->SetSavePoint();
1056
1057 wxPyEndAllowThreads(__tstate);
1058 if (PyErr_Occurred()) SWIG_fail;
1059 }
1060 Py_INCREF(Py_None); resultobj = Py_None;
1061 return resultobj;
1062 fail:
1063 return NULL;
1064 }
1065
1066
1067 static PyObject *_wrap_StyledTextCtrl_GetStyledText(PyObject *self, PyObject *args, PyObject *kwargs) {
1068 PyObject *resultobj;
1069 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
1070 int arg2 ;
1071 int arg3 ;
1072 wxMemoryBuffer result;
1073 PyObject * obj0 = 0 ;
1074 PyObject * obj1 = 0 ;
1075 PyObject * obj2 = 0 ;
1076 char *kwnames[] = {
1077 (char *) "self",(char *) "startPos",(char *) "endPos", NULL
1078 };
1079
1080 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_GetStyledText",kwnames,&obj0,&obj1,&obj2)) goto fail;
1081 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
1082 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1083 arg2 = (int) SWIG_AsInt(obj1);
1084 if (PyErr_Occurred()) SWIG_fail;
1085 arg3 = (int) SWIG_AsInt(obj2);
1086 if (PyErr_Occurred()) SWIG_fail;
1087 {
1088 PyThreadState* __tstate = wxPyBeginAllowThreads();
1089 result = (arg1)->GetStyledText(arg2,arg3);
1090
1091 wxPyEndAllowThreads(__tstate);
1092 if (PyErr_Occurred()) SWIG_fail;
1093 }
1094 {
1095 resultobj = PyString_FromStringAndSize((char*)(&result)->GetData(), (&result)->GetDataLen());
1096 }
1097 return resultobj;
1098 fail:
1099 return NULL;
1100 }
1101
1102
1103 static PyObject *_wrap_StyledTextCtrl_CanRedo(PyObject *self, PyObject *args, PyObject *kwargs) {
1104 PyObject *resultobj;
1105 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
1106 bool result;
1107 PyObject * obj0 = 0 ;
1108 char *kwnames[] = {
1109 (char *) "self", NULL
1110 };
1111
1112 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_CanRedo",kwnames,&obj0)) goto fail;
1113 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
1114 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1115 {
1116 PyThreadState* __tstate = wxPyBeginAllowThreads();
1117 result = (bool)(arg1)->CanRedo();
1118
1119 wxPyEndAllowThreads(__tstate);
1120 if (PyErr_Occurred()) SWIG_fail;
1121 }
1122 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
1123 return resultobj;
1124 fail:
1125 return NULL;
1126 }
1127
1128
1129 static PyObject *_wrap_StyledTextCtrl_MarkerLineFromHandle(PyObject *self, PyObject *args, PyObject *kwargs) {
1130 PyObject *resultobj;
1131 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
1132 int arg2 ;
1133 int result;
1134 PyObject * obj0 = 0 ;
1135 PyObject * obj1 = 0 ;
1136 char *kwnames[] = {
1137 (char *) "self",(char *) "handle", NULL
1138 };
1139
1140 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_MarkerLineFromHandle",kwnames,&obj0,&obj1)) goto fail;
1141 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
1142 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1143 arg2 = (int) SWIG_AsInt(obj1);
1144 if (PyErr_Occurred()) SWIG_fail;
1145 {
1146 PyThreadState* __tstate = wxPyBeginAllowThreads();
1147 result = (int)(arg1)->MarkerLineFromHandle(arg2);
1148
1149 wxPyEndAllowThreads(__tstate);
1150 if (PyErr_Occurred()) SWIG_fail;
1151 }
1152 resultobj = SWIG_FromInt((int)result);
1153 return resultobj;
1154 fail:
1155 return NULL;
1156 }
1157
1158
1159 static PyObject *_wrap_StyledTextCtrl_MarkerDeleteHandle(PyObject *self, PyObject *args, PyObject *kwargs) {
1160 PyObject *resultobj;
1161 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
1162 int arg2 ;
1163 PyObject * obj0 = 0 ;
1164 PyObject * obj1 = 0 ;
1165 char *kwnames[] = {
1166 (char *) "self",(char *) "handle", NULL
1167 };
1168
1169 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_MarkerDeleteHandle",kwnames,&obj0,&obj1)) goto fail;
1170 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
1171 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1172 arg2 = (int) SWIG_AsInt(obj1);
1173 if (PyErr_Occurred()) SWIG_fail;
1174 {
1175 PyThreadState* __tstate = wxPyBeginAllowThreads();
1176 (arg1)->MarkerDeleteHandle(arg2);
1177
1178 wxPyEndAllowThreads(__tstate);
1179 if (PyErr_Occurred()) SWIG_fail;
1180 }
1181 Py_INCREF(Py_None); resultobj = Py_None;
1182 return resultobj;
1183 fail:
1184 return NULL;
1185 }
1186
1187
1188 static PyObject *_wrap_StyledTextCtrl_GetUndoCollection(PyObject *self, PyObject *args, PyObject *kwargs) {
1189 PyObject *resultobj;
1190 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
1191 bool result;
1192 PyObject * obj0 = 0 ;
1193 char *kwnames[] = {
1194 (char *) "self", NULL
1195 };
1196
1197 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetUndoCollection",kwnames,&obj0)) goto fail;
1198 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
1199 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1200 {
1201 PyThreadState* __tstate = wxPyBeginAllowThreads();
1202 result = (bool)(arg1)->GetUndoCollection();
1203
1204 wxPyEndAllowThreads(__tstate);
1205 if (PyErr_Occurred()) SWIG_fail;
1206 }
1207 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
1208 return resultobj;
1209 fail:
1210 return NULL;
1211 }
1212
1213
1214 static PyObject *_wrap_StyledTextCtrl_GetViewWhiteSpace(PyObject *self, PyObject *args, PyObject *kwargs) {
1215 PyObject *resultobj;
1216 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
1217 int result;
1218 PyObject * obj0 = 0 ;
1219 char *kwnames[] = {
1220 (char *) "self", NULL
1221 };
1222
1223 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetViewWhiteSpace",kwnames,&obj0)) goto fail;
1224 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
1225 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1226 {
1227 PyThreadState* __tstate = wxPyBeginAllowThreads();
1228 result = (int)(arg1)->GetViewWhiteSpace();
1229
1230 wxPyEndAllowThreads(__tstate);
1231 if (PyErr_Occurred()) SWIG_fail;
1232 }
1233 resultobj = SWIG_FromInt((int)result);
1234 return resultobj;
1235 fail:
1236 return NULL;
1237 }
1238
1239
1240 static PyObject *_wrap_StyledTextCtrl_SetViewWhiteSpace(PyObject *self, PyObject *args, PyObject *kwargs) {
1241 PyObject *resultobj;
1242 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
1243 int arg2 ;
1244 PyObject * obj0 = 0 ;
1245 PyObject * obj1 = 0 ;
1246 char *kwnames[] = {
1247 (char *) "self",(char *) "viewWS", NULL
1248 };
1249
1250 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetViewWhiteSpace",kwnames,&obj0,&obj1)) goto fail;
1251 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
1252 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1253 arg2 = (int) SWIG_AsInt(obj1);
1254 if (PyErr_Occurred()) SWIG_fail;
1255 {
1256 PyThreadState* __tstate = wxPyBeginAllowThreads();
1257 (arg1)->SetViewWhiteSpace(arg2);
1258
1259 wxPyEndAllowThreads(__tstate);
1260 if (PyErr_Occurred()) SWIG_fail;
1261 }
1262 Py_INCREF(Py_None); resultobj = Py_None;
1263 return resultobj;
1264 fail:
1265 return NULL;
1266 }
1267
1268
1269 static PyObject *_wrap_StyledTextCtrl_PositionFromPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
1270 PyObject *resultobj;
1271 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
1272 wxPoint arg2 ;
1273 int result;
1274 wxPoint *argp2 ;
1275 PyObject * obj0 = 0 ;
1276 PyObject * obj1 = 0 ;
1277 char *kwnames[] = {
1278 (char *) "self",(char *) "pt", NULL
1279 };
1280
1281 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_PositionFromPoint",kwnames,&obj0,&obj1)) goto fail;
1282 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
1283 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1284 if ((SWIG_ConvertPtr(obj1,(void **)(&argp2),SWIGTYPE_p_wxPoint,
1285 SWIG_POINTER_EXCEPTION) == -1)) SWIG_fail;
1286 arg2 = *argp2;
1287 {
1288 PyThreadState* __tstate = wxPyBeginAllowThreads();
1289 result = (int)(arg1)->PositionFromPoint(arg2);
1290
1291 wxPyEndAllowThreads(__tstate);
1292 if (PyErr_Occurred()) SWIG_fail;
1293 }
1294 resultobj = SWIG_FromInt((int)result);
1295 return resultobj;
1296 fail:
1297 return NULL;
1298 }
1299
1300
1301 static PyObject *_wrap_StyledTextCtrl_PositionFromPointClose(PyObject *self, PyObject *args, PyObject *kwargs) {
1302 PyObject *resultobj;
1303 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
1304 int arg2 ;
1305 int arg3 ;
1306 int result;
1307 PyObject * obj0 = 0 ;
1308 PyObject * obj1 = 0 ;
1309 PyObject * obj2 = 0 ;
1310 char *kwnames[] = {
1311 (char *) "self",(char *) "x",(char *) "y", NULL
1312 };
1313
1314 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_PositionFromPointClose",kwnames,&obj0,&obj1,&obj2)) goto fail;
1315 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
1316 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1317 arg2 = (int) SWIG_AsInt(obj1);
1318 if (PyErr_Occurred()) SWIG_fail;
1319 arg3 = (int) SWIG_AsInt(obj2);
1320 if (PyErr_Occurred()) SWIG_fail;
1321 {
1322 PyThreadState* __tstate = wxPyBeginAllowThreads();
1323 result = (int)(arg1)->PositionFromPointClose(arg2,arg3);
1324
1325 wxPyEndAllowThreads(__tstate);
1326 if (PyErr_Occurred()) SWIG_fail;
1327 }
1328 resultobj = SWIG_FromInt((int)result);
1329 return resultobj;
1330 fail:
1331 return NULL;
1332 }
1333
1334
1335 static PyObject *_wrap_StyledTextCtrl_GotoLine(PyObject *self, PyObject *args, PyObject *kwargs) {
1336 PyObject *resultobj;
1337 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
1338 int arg2 ;
1339 PyObject * obj0 = 0 ;
1340 PyObject * obj1 = 0 ;
1341 char *kwnames[] = {
1342 (char *) "self",(char *) "line", NULL
1343 };
1344
1345 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GotoLine",kwnames,&obj0,&obj1)) goto fail;
1346 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
1347 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1348 arg2 = (int) SWIG_AsInt(obj1);
1349 if (PyErr_Occurred()) SWIG_fail;
1350 {
1351 PyThreadState* __tstate = wxPyBeginAllowThreads();
1352 (arg1)->GotoLine(arg2);
1353
1354 wxPyEndAllowThreads(__tstate);
1355 if (PyErr_Occurred()) SWIG_fail;
1356 }
1357 Py_INCREF(Py_None); resultobj = Py_None;
1358 return resultobj;
1359 fail:
1360 return NULL;
1361 }
1362
1363
1364 static PyObject *_wrap_StyledTextCtrl_GotoPos(PyObject *self, PyObject *args, PyObject *kwargs) {
1365 PyObject *resultobj;
1366 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
1367 int arg2 ;
1368 PyObject * obj0 = 0 ;
1369 PyObject * obj1 = 0 ;
1370 char *kwnames[] = {
1371 (char *) "self",(char *) "pos", NULL
1372 };
1373
1374 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GotoPos",kwnames,&obj0,&obj1)) goto fail;
1375 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
1376 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1377 arg2 = (int) SWIG_AsInt(obj1);
1378 if (PyErr_Occurred()) SWIG_fail;
1379 {
1380 PyThreadState* __tstate = wxPyBeginAllowThreads();
1381 (arg1)->GotoPos(arg2);
1382
1383 wxPyEndAllowThreads(__tstate);
1384 if (PyErr_Occurred()) SWIG_fail;
1385 }
1386 Py_INCREF(Py_None); resultobj = Py_None;
1387 return resultobj;
1388 fail:
1389 return NULL;
1390 }
1391
1392
1393 static PyObject *_wrap_StyledTextCtrl_SetAnchor(PyObject *self, PyObject *args, PyObject *kwargs) {
1394 PyObject *resultobj;
1395 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
1396 int arg2 ;
1397 PyObject * obj0 = 0 ;
1398 PyObject * obj1 = 0 ;
1399 char *kwnames[] = {
1400 (char *) "self",(char *) "posAnchor", NULL
1401 };
1402
1403 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetAnchor",kwnames,&obj0,&obj1)) goto fail;
1404 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
1405 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1406 arg2 = (int) SWIG_AsInt(obj1);
1407 if (PyErr_Occurred()) SWIG_fail;
1408 {
1409 PyThreadState* __tstate = wxPyBeginAllowThreads();
1410 (arg1)->SetAnchor(arg2);
1411
1412 wxPyEndAllowThreads(__tstate);
1413 if (PyErr_Occurred()) SWIG_fail;
1414 }
1415 Py_INCREF(Py_None); resultobj = Py_None;
1416 return resultobj;
1417 fail:
1418 return NULL;
1419 }
1420
1421
1422 static PyObject *_wrap_StyledTextCtrl_GetCurLine(PyObject *self, PyObject *args, PyObject *kwargs) {
1423 PyObject *resultobj;
1424 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
1425 int *arg2 = (int *) 0 ;
1426 wxString result;
1427 int temp2 ;
1428 PyObject * obj0 = 0 ;
1429 char *kwnames[] = {
1430 (char *) "self", NULL
1431 };
1432
1433 arg2 = &temp2;
1434 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetCurLine",kwnames,&obj0)) goto fail;
1435 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
1436 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1437 {
1438 PyThreadState* __tstate = wxPyBeginAllowThreads();
1439 result = (arg1)->GetCurLine(arg2);
1440
1441 wxPyEndAllowThreads(__tstate);
1442 if (PyErr_Occurred()) SWIG_fail;
1443 }
1444 {
1445 #if wxUSE_UNICODE
1446 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
1447 #else
1448 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
1449 #endif
1450 }
1451 {
1452 PyObject *o = PyInt_FromLong((long) (*arg2));
1453 resultobj = t_output_helper(resultobj,o);
1454 }
1455 return resultobj;
1456 fail:
1457 return NULL;
1458 }
1459
1460
1461 static PyObject *_wrap_StyledTextCtrl_GetEndStyled(PyObject *self, PyObject *args, PyObject *kwargs) {
1462 PyObject *resultobj;
1463 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
1464 int result;
1465 PyObject * obj0 = 0 ;
1466 char *kwnames[] = {
1467 (char *) "self", NULL
1468 };
1469
1470 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetEndStyled",kwnames,&obj0)) goto fail;
1471 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
1472 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1473 {
1474 PyThreadState* __tstate = wxPyBeginAllowThreads();
1475 result = (int)(arg1)->GetEndStyled();
1476
1477 wxPyEndAllowThreads(__tstate);
1478 if (PyErr_Occurred()) SWIG_fail;
1479 }
1480 resultobj = SWIG_FromInt((int)result);
1481 return resultobj;
1482 fail:
1483 return NULL;
1484 }
1485
1486
1487 static PyObject *_wrap_StyledTextCtrl_ConvertEOLs(PyObject *self, PyObject *args, PyObject *kwargs) {
1488 PyObject *resultobj;
1489 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
1490 int arg2 ;
1491 PyObject * obj0 = 0 ;
1492 PyObject * obj1 = 0 ;
1493 char *kwnames[] = {
1494 (char *) "self",(char *) "eolMode", NULL
1495 };
1496
1497 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_ConvertEOLs",kwnames,&obj0,&obj1)) goto fail;
1498 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
1499 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1500 arg2 = (int) SWIG_AsInt(obj1);
1501 if (PyErr_Occurred()) SWIG_fail;
1502 {
1503 PyThreadState* __tstate = wxPyBeginAllowThreads();
1504 (arg1)->ConvertEOLs(arg2);
1505
1506 wxPyEndAllowThreads(__tstate);
1507 if (PyErr_Occurred()) SWIG_fail;
1508 }
1509 Py_INCREF(Py_None); resultobj = Py_None;
1510 return resultobj;
1511 fail:
1512 return NULL;
1513 }
1514
1515
1516 static PyObject *_wrap_StyledTextCtrl_GetEOLMode(PyObject *self, PyObject *args, PyObject *kwargs) {
1517 PyObject *resultobj;
1518 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
1519 int result;
1520 PyObject * obj0 = 0 ;
1521 char *kwnames[] = {
1522 (char *) "self", NULL
1523 };
1524
1525 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetEOLMode",kwnames,&obj0)) goto fail;
1526 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
1527 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1528 {
1529 PyThreadState* __tstate = wxPyBeginAllowThreads();
1530 result = (int)(arg1)->GetEOLMode();
1531
1532 wxPyEndAllowThreads(__tstate);
1533 if (PyErr_Occurred()) SWIG_fail;
1534 }
1535 resultobj = SWIG_FromInt((int)result);
1536 return resultobj;
1537 fail:
1538 return NULL;
1539 }
1540
1541
1542 static PyObject *_wrap_StyledTextCtrl_SetEOLMode(PyObject *self, PyObject *args, PyObject *kwargs) {
1543 PyObject *resultobj;
1544 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
1545 int arg2 ;
1546 PyObject * obj0 = 0 ;
1547 PyObject * obj1 = 0 ;
1548 char *kwnames[] = {
1549 (char *) "self",(char *) "eolMode", NULL
1550 };
1551
1552 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetEOLMode",kwnames,&obj0,&obj1)) goto fail;
1553 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
1554 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1555 arg2 = (int) SWIG_AsInt(obj1);
1556 if (PyErr_Occurred()) SWIG_fail;
1557 {
1558 PyThreadState* __tstate = wxPyBeginAllowThreads();
1559 (arg1)->SetEOLMode(arg2);
1560
1561 wxPyEndAllowThreads(__tstate);
1562 if (PyErr_Occurred()) SWIG_fail;
1563 }
1564 Py_INCREF(Py_None); resultobj = Py_None;
1565 return resultobj;
1566 fail:
1567 return NULL;
1568 }
1569
1570
1571 static PyObject *_wrap_StyledTextCtrl_StartStyling(PyObject *self, PyObject *args, PyObject *kwargs) {
1572 PyObject *resultobj;
1573 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
1574 int arg2 ;
1575 int arg3 ;
1576 PyObject * obj0 = 0 ;
1577 PyObject * obj1 = 0 ;
1578 PyObject * obj2 = 0 ;
1579 char *kwnames[] = {
1580 (char *) "self",(char *) "pos",(char *) "mask", NULL
1581 };
1582
1583 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_StartStyling",kwnames,&obj0,&obj1,&obj2)) goto fail;
1584 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
1585 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1586 arg2 = (int) SWIG_AsInt(obj1);
1587 if (PyErr_Occurred()) SWIG_fail;
1588 arg3 = (int) SWIG_AsInt(obj2);
1589 if (PyErr_Occurred()) SWIG_fail;
1590 {
1591 PyThreadState* __tstate = wxPyBeginAllowThreads();
1592 (arg1)->StartStyling(arg2,arg3);
1593
1594 wxPyEndAllowThreads(__tstate);
1595 if (PyErr_Occurred()) SWIG_fail;
1596 }
1597 Py_INCREF(Py_None); resultobj = Py_None;
1598 return resultobj;
1599 fail:
1600 return NULL;
1601 }
1602
1603
1604 static PyObject *_wrap_StyledTextCtrl_SetStyling(PyObject *self, PyObject *args, PyObject *kwargs) {
1605 PyObject *resultobj;
1606 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
1607 int arg2 ;
1608 int arg3 ;
1609 PyObject * obj0 = 0 ;
1610 PyObject * obj1 = 0 ;
1611 PyObject * obj2 = 0 ;
1612 char *kwnames[] = {
1613 (char *) "self",(char *) "length",(char *) "style", NULL
1614 };
1615
1616 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetStyling",kwnames,&obj0,&obj1,&obj2)) goto fail;
1617 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
1618 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1619 arg2 = (int) SWIG_AsInt(obj1);
1620 if (PyErr_Occurred()) SWIG_fail;
1621 arg3 = (int) SWIG_AsInt(obj2);
1622 if (PyErr_Occurred()) SWIG_fail;
1623 {
1624 PyThreadState* __tstate = wxPyBeginAllowThreads();
1625 (arg1)->SetStyling(arg2,arg3);
1626
1627 wxPyEndAllowThreads(__tstate);
1628 if (PyErr_Occurred()) SWIG_fail;
1629 }
1630 Py_INCREF(Py_None); resultobj = Py_None;
1631 return resultobj;
1632 fail:
1633 return NULL;
1634 }
1635
1636
1637 static PyObject *_wrap_StyledTextCtrl_GetBufferedDraw(PyObject *self, PyObject *args, PyObject *kwargs) {
1638 PyObject *resultobj;
1639 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
1640 bool result;
1641 PyObject * obj0 = 0 ;
1642 char *kwnames[] = {
1643 (char *) "self", NULL
1644 };
1645
1646 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetBufferedDraw",kwnames,&obj0)) goto fail;
1647 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
1648 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1649 {
1650 PyThreadState* __tstate = wxPyBeginAllowThreads();
1651 result = (bool)(arg1)->GetBufferedDraw();
1652
1653 wxPyEndAllowThreads(__tstate);
1654 if (PyErr_Occurred()) SWIG_fail;
1655 }
1656 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
1657 return resultobj;
1658 fail:
1659 return NULL;
1660 }
1661
1662
1663 static PyObject *_wrap_StyledTextCtrl_SetBufferedDraw(PyObject *self, PyObject *args, PyObject *kwargs) {
1664 PyObject *resultobj;
1665 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
1666 bool arg2 ;
1667 PyObject * obj0 = 0 ;
1668 PyObject * obj1 = 0 ;
1669 char *kwnames[] = {
1670 (char *) "self",(char *) "buffered", NULL
1671 };
1672
1673 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetBufferedDraw",kwnames,&obj0,&obj1)) goto fail;
1674 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
1675 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1676 arg2 = (bool) SWIG_AsBool(obj1);
1677 if (PyErr_Occurred()) SWIG_fail;
1678 {
1679 PyThreadState* __tstate = wxPyBeginAllowThreads();
1680 (arg1)->SetBufferedDraw(arg2);
1681
1682 wxPyEndAllowThreads(__tstate);
1683 if (PyErr_Occurred()) SWIG_fail;
1684 }
1685 Py_INCREF(Py_None); resultobj = Py_None;
1686 return resultobj;
1687 fail:
1688 return NULL;
1689 }
1690
1691
1692 static PyObject *_wrap_StyledTextCtrl_SetTabWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
1693 PyObject *resultobj;
1694 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
1695 int arg2 ;
1696 PyObject * obj0 = 0 ;
1697 PyObject * obj1 = 0 ;
1698 char *kwnames[] = {
1699 (char *) "self",(char *) "tabWidth", NULL
1700 };
1701
1702 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetTabWidth",kwnames,&obj0,&obj1)) goto fail;
1703 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
1704 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1705 arg2 = (int) SWIG_AsInt(obj1);
1706 if (PyErr_Occurred()) SWIG_fail;
1707 {
1708 PyThreadState* __tstate = wxPyBeginAllowThreads();
1709 (arg1)->SetTabWidth(arg2);
1710
1711 wxPyEndAllowThreads(__tstate);
1712 if (PyErr_Occurred()) SWIG_fail;
1713 }
1714 Py_INCREF(Py_None); resultobj = Py_None;
1715 return resultobj;
1716 fail:
1717 return NULL;
1718 }
1719
1720
1721 static PyObject *_wrap_StyledTextCtrl_GetTabWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
1722 PyObject *resultobj;
1723 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
1724 int result;
1725 PyObject * obj0 = 0 ;
1726 char *kwnames[] = {
1727 (char *) "self", NULL
1728 };
1729
1730 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetTabWidth",kwnames,&obj0)) goto fail;
1731 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
1732 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1733 {
1734 PyThreadState* __tstate = wxPyBeginAllowThreads();
1735 result = (int)(arg1)->GetTabWidth();
1736
1737 wxPyEndAllowThreads(__tstate);
1738 if (PyErr_Occurred()) SWIG_fail;
1739 }
1740 resultobj = SWIG_FromInt((int)result);
1741 return resultobj;
1742 fail:
1743 return NULL;
1744 }
1745
1746
1747 static PyObject *_wrap_StyledTextCtrl_SetCodePage(PyObject *self, PyObject *args, PyObject *kwargs) {
1748 PyObject *resultobj;
1749 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
1750 int arg2 ;
1751 PyObject * obj0 = 0 ;
1752 PyObject * obj1 = 0 ;
1753 char *kwnames[] = {
1754 (char *) "self",(char *) "codePage", NULL
1755 };
1756
1757 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetCodePage",kwnames,&obj0,&obj1)) goto fail;
1758 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
1759 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1760 arg2 = (int) SWIG_AsInt(obj1);
1761 if (PyErr_Occurred()) SWIG_fail;
1762 {
1763 PyThreadState* __tstate = wxPyBeginAllowThreads();
1764 (arg1)->SetCodePage(arg2);
1765
1766 wxPyEndAllowThreads(__tstate);
1767 if (PyErr_Occurred()) SWIG_fail;
1768 }
1769 Py_INCREF(Py_None); resultobj = Py_None;
1770 return resultobj;
1771 fail:
1772 return NULL;
1773 }
1774
1775
1776 static PyObject *_wrap_StyledTextCtrl_MarkerDefine(PyObject *self, PyObject *args, PyObject *kwargs) {
1777 PyObject *resultobj;
1778 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
1779 int arg2 ;
1780 int arg3 ;
1781 wxColour const &arg4_defvalue = wxNullColour ;
1782 wxColour *arg4 = (wxColour *) &arg4_defvalue ;
1783 wxColour const &arg5_defvalue = wxNullColour ;
1784 wxColour *arg5 = (wxColour *) &arg5_defvalue ;
1785 wxColour temp4 ;
1786 wxColour temp5 ;
1787 PyObject * obj0 = 0 ;
1788 PyObject * obj1 = 0 ;
1789 PyObject * obj2 = 0 ;
1790 PyObject * obj3 = 0 ;
1791 PyObject * obj4 = 0 ;
1792 char *kwnames[] = {
1793 (char *) "self",(char *) "markerNumber",(char *) "markerSymbol",(char *) "foreground",(char *) "background", NULL
1794 };
1795
1796 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:StyledTextCtrl_MarkerDefine",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
1797 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
1798 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1799 arg2 = (int) SWIG_AsInt(obj1);
1800 if (PyErr_Occurred()) SWIG_fail;
1801 arg3 = (int) SWIG_AsInt(obj2);
1802 if (PyErr_Occurred()) SWIG_fail;
1803 if (obj3) {
1804 {
1805 arg4 = &temp4;
1806 if ( ! wxColour_helper(obj3, &arg4)) SWIG_fail;
1807 }
1808 }
1809 if (obj4) {
1810 {
1811 arg5 = &temp5;
1812 if ( ! wxColour_helper(obj4, &arg5)) SWIG_fail;
1813 }
1814 }
1815 {
1816 PyThreadState* __tstate = wxPyBeginAllowThreads();
1817 (arg1)->MarkerDefine(arg2,arg3,(wxColour const &)*arg4,(wxColour const &)*arg5);
1818
1819 wxPyEndAllowThreads(__tstate);
1820 if (PyErr_Occurred()) SWIG_fail;
1821 }
1822 Py_INCREF(Py_None); resultobj = Py_None;
1823 return resultobj;
1824 fail:
1825 return NULL;
1826 }
1827
1828
1829 static PyObject *_wrap_StyledTextCtrl_MarkerSetForeground(PyObject *self, PyObject *args, PyObject *kwargs) {
1830 PyObject *resultobj;
1831 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
1832 int arg2 ;
1833 wxColour *arg3 = 0 ;
1834 wxColour temp3 ;
1835 PyObject * obj0 = 0 ;
1836 PyObject * obj1 = 0 ;
1837 PyObject * obj2 = 0 ;
1838 char *kwnames[] = {
1839 (char *) "self",(char *) "markerNumber",(char *) "fore", NULL
1840 };
1841
1842 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_MarkerSetForeground",kwnames,&obj0,&obj1,&obj2)) goto fail;
1843 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
1844 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1845 arg2 = (int) SWIG_AsInt(obj1);
1846 if (PyErr_Occurred()) SWIG_fail;
1847 {
1848 arg3 = &temp3;
1849 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
1850 }
1851 {
1852 PyThreadState* __tstate = wxPyBeginAllowThreads();
1853 (arg1)->MarkerSetForeground(arg2,(wxColour const &)*arg3);
1854
1855 wxPyEndAllowThreads(__tstate);
1856 if (PyErr_Occurred()) SWIG_fail;
1857 }
1858 Py_INCREF(Py_None); resultobj = Py_None;
1859 return resultobj;
1860 fail:
1861 return NULL;
1862 }
1863
1864
1865 static PyObject *_wrap_StyledTextCtrl_MarkerSetBackground(PyObject *self, PyObject *args, PyObject *kwargs) {
1866 PyObject *resultobj;
1867 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
1868 int arg2 ;
1869 wxColour *arg3 = 0 ;
1870 wxColour temp3 ;
1871 PyObject * obj0 = 0 ;
1872 PyObject * obj1 = 0 ;
1873 PyObject * obj2 = 0 ;
1874 char *kwnames[] = {
1875 (char *) "self",(char *) "markerNumber",(char *) "back", NULL
1876 };
1877
1878 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_MarkerSetBackground",kwnames,&obj0,&obj1,&obj2)) goto fail;
1879 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
1880 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1881 arg2 = (int) SWIG_AsInt(obj1);
1882 if (PyErr_Occurred()) SWIG_fail;
1883 {
1884 arg3 = &temp3;
1885 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
1886 }
1887 {
1888 PyThreadState* __tstate = wxPyBeginAllowThreads();
1889 (arg1)->MarkerSetBackground(arg2,(wxColour const &)*arg3);
1890
1891 wxPyEndAllowThreads(__tstate);
1892 if (PyErr_Occurred()) SWIG_fail;
1893 }
1894 Py_INCREF(Py_None); resultobj = Py_None;
1895 return resultobj;
1896 fail:
1897 return NULL;
1898 }
1899
1900
1901 static PyObject *_wrap_StyledTextCtrl_MarkerAdd(PyObject *self, PyObject *args, PyObject *kwargs) {
1902 PyObject *resultobj;
1903 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
1904 int arg2 ;
1905 int arg3 ;
1906 int result;
1907 PyObject * obj0 = 0 ;
1908 PyObject * obj1 = 0 ;
1909 PyObject * obj2 = 0 ;
1910 char *kwnames[] = {
1911 (char *) "self",(char *) "line",(char *) "markerNumber", NULL
1912 };
1913
1914 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_MarkerAdd",kwnames,&obj0,&obj1,&obj2)) goto fail;
1915 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
1916 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1917 arg2 = (int) SWIG_AsInt(obj1);
1918 if (PyErr_Occurred()) SWIG_fail;
1919 arg3 = (int) SWIG_AsInt(obj2);
1920 if (PyErr_Occurred()) SWIG_fail;
1921 {
1922 PyThreadState* __tstate = wxPyBeginAllowThreads();
1923 result = (int)(arg1)->MarkerAdd(arg2,arg3);
1924
1925 wxPyEndAllowThreads(__tstate);
1926 if (PyErr_Occurred()) SWIG_fail;
1927 }
1928 resultobj = SWIG_FromInt((int)result);
1929 return resultobj;
1930 fail:
1931 return NULL;
1932 }
1933
1934
1935 static PyObject *_wrap_StyledTextCtrl_MarkerDelete(PyObject *self, PyObject *args, PyObject *kwargs) {
1936 PyObject *resultobj;
1937 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
1938 int arg2 ;
1939 int arg3 ;
1940 PyObject * obj0 = 0 ;
1941 PyObject * obj1 = 0 ;
1942 PyObject * obj2 = 0 ;
1943 char *kwnames[] = {
1944 (char *) "self",(char *) "line",(char *) "markerNumber", NULL
1945 };
1946
1947 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_MarkerDelete",kwnames,&obj0,&obj1,&obj2)) goto fail;
1948 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
1949 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1950 arg2 = (int) SWIG_AsInt(obj1);
1951 if (PyErr_Occurred()) SWIG_fail;
1952 arg3 = (int) SWIG_AsInt(obj2);
1953 if (PyErr_Occurred()) SWIG_fail;
1954 {
1955 PyThreadState* __tstate = wxPyBeginAllowThreads();
1956 (arg1)->MarkerDelete(arg2,arg3);
1957
1958 wxPyEndAllowThreads(__tstate);
1959 if (PyErr_Occurred()) SWIG_fail;
1960 }
1961 Py_INCREF(Py_None); resultobj = Py_None;
1962 return resultobj;
1963 fail:
1964 return NULL;
1965 }
1966
1967
1968 static PyObject *_wrap_StyledTextCtrl_MarkerDeleteAll(PyObject *self, PyObject *args, PyObject *kwargs) {
1969 PyObject *resultobj;
1970 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
1971 int arg2 ;
1972 PyObject * obj0 = 0 ;
1973 PyObject * obj1 = 0 ;
1974 char *kwnames[] = {
1975 (char *) "self",(char *) "markerNumber", NULL
1976 };
1977
1978 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_MarkerDeleteAll",kwnames,&obj0,&obj1)) goto fail;
1979 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
1980 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1981 arg2 = (int) SWIG_AsInt(obj1);
1982 if (PyErr_Occurred()) SWIG_fail;
1983 {
1984 PyThreadState* __tstate = wxPyBeginAllowThreads();
1985 (arg1)->MarkerDeleteAll(arg2);
1986
1987 wxPyEndAllowThreads(__tstate);
1988 if (PyErr_Occurred()) SWIG_fail;
1989 }
1990 Py_INCREF(Py_None); resultobj = Py_None;
1991 return resultobj;
1992 fail:
1993 return NULL;
1994 }
1995
1996
1997 static PyObject *_wrap_StyledTextCtrl_MarkerGet(PyObject *self, PyObject *args, PyObject *kwargs) {
1998 PyObject *resultobj;
1999 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
2000 int arg2 ;
2001 int result;
2002 PyObject * obj0 = 0 ;
2003 PyObject * obj1 = 0 ;
2004 char *kwnames[] = {
2005 (char *) "self",(char *) "line", NULL
2006 };
2007
2008 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_MarkerGet",kwnames,&obj0,&obj1)) goto fail;
2009 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
2010 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2011 arg2 = (int) SWIG_AsInt(obj1);
2012 if (PyErr_Occurred()) SWIG_fail;
2013 {
2014 PyThreadState* __tstate = wxPyBeginAllowThreads();
2015 result = (int)(arg1)->MarkerGet(arg2);
2016
2017 wxPyEndAllowThreads(__tstate);
2018 if (PyErr_Occurred()) SWIG_fail;
2019 }
2020 resultobj = SWIG_FromInt((int)result);
2021 return resultobj;
2022 fail:
2023 return NULL;
2024 }
2025
2026
2027 static PyObject *_wrap_StyledTextCtrl_MarkerNext(PyObject *self, PyObject *args, PyObject *kwargs) {
2028 PyObject *resultobj;
2029 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
2030 int arg2 ;
2031 int arg3 ;
2032 int result;
2033 PyObject * obj0 = 0 ;
2034 PyObject * obj1 = 0 ;
2035 PyObject * obj2 = 0 ;
2036 char *kwnames[] = {
2037 (char *) "self",(char *) "lineStart",(char *) "markerMask", NULL
2038 };
2039
2040 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_MarkerNext",kwnames,&obj0,&obj1,&obj2)) goto fail;
2041 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
2042 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2043 arg2 = (int) SWIG_AsInt(obj1);
2044 if (PyErr_Occurred()) SWIG_fail;
2045 arg3 = (int) SWIG_AsInt(obj2);
2046 if (PyErr_Occurred()) SWIG_fail;
2047 {
2048 PyThreadState* __tstate = wxPyBeginAllowThreads();
2049 result = (int)(arg1)->MarkerNext(arg2,arg3);
2050
2051 wxPyEndAllowThreads(__tstate);
2052 if (PyErr_Occurred()) SWIG_fail;
2053 }
2054 resultobj = SWIG_FromInt((int)result);
2055 return resultobj;
2056 fail:
2057 return NULL;
2058 }
2059
2060
2061 static PyObject *_wrap_StyledTextCtrl_MarkerPrevious(PyObject *self, PyObject *args, PyObject *kwargs) {
2062 PyObject *resultobj;
2063 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
2064 int arg2 ;
2065 int arg3 ;
2066 int result;
2067 PyObject * obj0 = 0 ;
2068 PyObject * obj1 = 0 ;
2069 PyObject * obj2 = 0 ;
2070 char *kwnames[] = {
2071 (char *) "self",(char *) "lineStart",(char *) "markerMask", NULL
2072 };
2073
2074 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_MarkerPrevious",kwnames,&obj0,&obj1,&obj2)) goto fail;
2075 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
2076 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2077 arg2 = (int) SWIG_AsInt(obj1);
2078 if (PyErr_Occurred()) SWIG_fail;
2079 arg3 = (int) SWIG_AsInt(obj2);
2080 if (PyErr_Occurred()) SWIG_fail;
2081 {
2082 PyThreadState* __tstate = wxPyBeginAllowThreads();
2083 result = (int)(arg1)->MarkerPrevious(arg2,arg3);
2084
2085 wxPyEndAllowThreads(__tstate);
2086 if (PyErr_Occurred()) SWIG_fail;
2087 }
2088 resultobj = SWIG_FromInt((int)result);
2089 return resultobj;
2090 fail:
2091 return NULL;
2092 }
2093
2094
2095 static PyObject *_wrap_StyledTextCtrl_MarkerDefineBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
2096 PyObject *resultobj;
2097 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
2098 int arg2 ;
2099 wxBitmap *arg3 = 0 ;
2100 PyObject * obj0 = 0 ;
2101 PyObject * obj1 = 0 ;
2102 PyObject * obj2 = 0 ;
2103 char *kwnames[] = {
2104 (char *) "self",(char *) "markerNumber",(char *) "bmp", NULL
2105 };
2106
2107 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_MarkerDefineBitmap",kwnames,&obj0,&obj1,&obj2)) goto fail;
2108 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
2109 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2110 arg2 = (int) SWIG_AsInt(obj1);
2111 if (PyErr_Occurred()) SWIG_fail;
2112 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxBitmap,
2113 SWIG_POINTER_EXCEPTION | 0)) == -1)
2114 SWIG_fail;
2115 if (arg3 == NULL) {
2116 PyErr_SetString(PyExc_TypeError,"null reference");
2117 SWIG_fail;
2118 }
2119 {
2120 PyThreadState* __tstate = wxPyBeginAllowThreads();
2121 (arg1)->MarkerDefineBitmap(arg2,(wxBitmap const &)*arg3);
2122
2123 wxPyEndAllowThreads(__tstate);
2124 if (PyErr_Occurred()) SWIG_fail;
2125 }
2126 Py_INCREF(Py_None); resultobj = Py_None;
2127 return resultobj;
2128 fail:
2129 return NULL;
2130 }
2131
2132
2133 static PyObject *_wrap_StyledTextCtrl_SetMarginType(PyObject *self, PyObject *args, PyObject *kwargs) {
2134 PyObject *resultobj;
2135 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
2136 int arg2 ;
2137 int arg3 ;
2138 PyObject * obj0 = 0 ;
2139 PyObject * obj1 = 0 ;
2140 PyObject * obj2 = 0 ;
2141 char *kwnames[] = {
2142 (char *) "self",(char *) "margin",(char *) "marginType", NULL
2143 };
2144
2145 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetMarginType",kwnames,&obj0,&obj1,&obj2)) goto fail;
2146 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
2147 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2148 arg2 = (int) SWIG_AsInt(obj1);
2149 if (PyErr_Occurred()) SWIG_fail;
2150 arg3 = (int) SWIG_AsInt(obj2);
2151 if (PyErr_Occurred()) SWIG_fail;
2152 {
2153 PyThreadState* __tstate = wxPyBeginAllowThreads();
2154 (arg1)->SetMarginType(arg2,arg3);
2155
2156 wxPyEndAllowThreads(__tstate);
2157 if (PyErr_Occurred()) SWIG_fail;
2158 }
2159 Py_INCREF(Py_None); resultobj = Py_None;
2160 return resultobj;
2161 fail:
2162 return NULL;
2163 }
2164
2165
2166 static PyObject *_wrap_StyledTextCtrl_GetMarginType(PyObject *self, PyObject *args, PyObject *kwargs) {
2167 PyObject *resultobj;
2168 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
2169 int arg2 ;
2170 int result;
2171 PyObject * obj0 = 0 ;
2172 PyObject * obj1 = 0 ;
2173 char *kwnames[] = {
2174 (char *) "self",(char *) "margin", NULL
2175 };
2176
2177 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GetMarginType",kwnames,&obj0,&obj1)) goto fail;
2178 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
2179 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2180 arg2 = (int) SWIG_AsInt(obj1);
2181 if (PyErr_Occurred()) SWIG_fail;
2182 {
2183 PyThreadState* __tstate = wxPyBeginAllowThreads();
2184 result = (int)(arg1)->GetMarginType(arg2);
2185
2186 wxPyEndAllowThreads(__tstate);
2187 if (PyErr_Occurred()) SWIG_fail;
2188 }
2189 resultobj = SWIG_FromInt((int)result);
2190 return resultobj;
2191 fail:
2192 return NULL;
2193 }
2194
2195
2196 static PyObject *_wrap_StyledTextCtrl_SetMarginWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
2197 PyObject *resultobj;
2198 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
2199 int arg2 ;
2200 int arg3 ;
2201 PyObject * obj0 = 0 ;
2202 PyObject * obj1 = 0 ;
2203 PyObject * obj2 = 0 ;
2204 char *kwnames[] = {
2205 (char *) "self",(char *) "margin",(char *) "pixelWidth", NULL
2206 };
2207
2208 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetMarginWidth",kwnames,&obj0,&obj1,&obj2)) goto fail;
2209 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
2210 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2211 arg2 = (int) SWIG_AsInt(obj1);
2212 if (PyErr_Occurred()) SWIG_fail;
2213 arg3 = (int) SWIG_AsInt(obj2);
2214 if (PyErr_Occurred()) SWIG_fail;
2215 {
2216 PyThreadState* __tstate = wxPyBeginAllowThreads();
2217 (arg1)->SetMarginWidth(arg2,arg3);
2218
2219 wxPyEndAllowThreads(__tstate);
2220 if (PyErr_Occurred()) SWIG_fail;
2221 }
2222 Py_INCREF(Py_None); resultobj = Py_None;
2223 return resultobj;
2224 fail:
2225 return NULL;
2226 }
2227
2228
2229 static PyObject *_wrap_StyledTextCtrl_GetMarginWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
2230 PyObject *resultobj;
2231 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
2232 int arg2 ;
2233 int result;
2234 PyObject * obj0 = 0 ;
2235 PyObject * obj1 = 0 ;
2236 char *kwnames[] = {
2237 (char *) "self",(char *) "margin", NULL
2238 };
2239
2240 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GetMarginWidth",kwnames,&obj0,&obj1)) goto fail;
2241 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
2242 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2243 arg2 = (int) SWIG_AsInt(obj1);
2244 if (PyErr_Occurred()) SWIG_fail;
2245 {
2246 PyThreadState* __tstate = wxPyBeginAllowThreads();
2247 result = (int)(arg1)->GetMarginWidth(arg2);
2248
2249 wxPyEndAllowThreads(__tstate);
2250 if (PyErr_Occurred()) SWIG_fail;
2251 }
2252 resultobj = SWIG_FromInt((int)result);
2253 return resultobj;
2254 fail:
2255 return NULL;
2256 }
2257
2258
2259 static PyObject *_wrap_StyledTextCtrl_SetMarginMask(PyObject *self, PyObject *args, PyObject *kwargs) {
2260 PyObject *resultobj;
2261 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
2262 int arg2 ;
2263 int arg3 ;
2264 PyObject * obj0 = 0 ;
2265 PyObject * obj1 = 0 ;
2266 PyObject * obj2 = 0 ;
2267 char *kwnames[] = {
2268 (char *) "self",(char *) "margin",(char *) "mask", NULL
2269 };
2270
2271 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetMarginMask",kwnames,&obj0,&obj1,&obj2)) goto fail;
2272 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
2273 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2274 arg2 = (int) SWIG_AsInt(obj1);
2275 if (PyErr_Occurred()) SWIG_fail;
2276 arg3 = (int) SWIG_AsInt(obj2);
2277 if (PyErr_Occurred()) SWIG_fail;
2278 {
2279 PyThreadState* __tstate = wxPyBeginAllowThreads();
2280 (arg1)->SetMarginMask(arg2,arg3);
2281
2282 wxPyEndAllowThreads(__tstate);
2283 if (PyErr_Occurred()) SWIG_fail;
2284 }
2285 Py_INCREF(Py_None); resultobj = Py_None;
2286 return resultobj;
2287 fail:
2288 return NULL;
2289 }
2290
2291
2292 static PyObject *_wrap_StyledTextCtrl_GetMarginMask(PyObject *self, PyObject *args, PyObject *kwargs) {
2293 PyObject *resultobj;
2294 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
2295 int arg2 ;
2296 int result;
2297 PyObject * obj0 = 0 ;
2298 PyObject * obj1 = 0 ;
2299 char *kwnames[] = {
2300 (char *) "self",(char *) "margin", NULL
2301 };
2302
2303 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GetMarginMask",kwnames,&obj0,&obj1)) goto fail;
2304 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
2305 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2306 arg2 = (int) SWIG_AsInt(obj1);
2307 if (PyErr_Occurred()) SWIG_fail;
2308 {
2309 PyThreadState* __tstate = wxPyBeginAllowThreads();
2310 result = (int)(arg1)->GetMarginMask(arg2);
2311
2312 wxPyEndAllowThreads(__tstate);
2313 if (PyErr_Occurred()) SWIG_fail;
2314 }
2315 resultobj = SWIG_FromInt((int)result);
2316 return resultobj;
2317 fail:
2318 return NULL;
2319 }
2320
2321
2322 static PyObject *_wrap_StyledTextCtrl_SetMarginSensitive(PyObject *self, PyObject *args, PyObject *kwargs) {
2323 PyObject *resultobj;
2324 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
2325 int arg2 ;
2326 bool arg3 ;
2327 PyObject * obj0 = 0 ;
2328 PyObject * obj1 = 0 ;
2329 PyObject * obj2 = 0 ;
2330 char *kwnames[] = {
2331 (char *) "self",(char *) "margin",(char *) "sensitive", NULL
2332 };
2333
2334 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetMarginSensitive",kwnames,&obj0,&obj1,&obj2)) goto fail;
2335 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
2336 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2337 arg2 = (int) SWIG_AsInt(obj1);
2338 if (PyErr_Occurred()) SWIG_fail;
2339 arg3 = (bool) SWIG_AsBool(obj2);
2340 if (PyErr_Occurred()) SWIG_fail;
2341 {
2342 PyThreadState* __tstate = wxPyBeginAllowThreads();
2343 (arg1)->SetMarginSensitive(arg2,arg3);
2344
2345 wxPyEndAllowThreads(__tstate);
2346 if (PyErr_Occurred()) SWIG_fail;
2347 }
2348 Py_INCREF(Py_None); resultobj = Py_None;
2349 return resultobj;
2350 fail:
2351 return NULL;
2352 }
2353
2354
2355 static PyObject *_wrap_StyledTextCtrl_GetMarginSensitive(PyObject *self, PyObject *args, PyObject *kwargs) {
2356 PyObject *resultobj;
2357 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
2358 int arg2 ;
2359 bool result;
2360 PyObject * obj0 = 0 ;
2361 PyObject * obj1 = 0 ;
2362 char *kwnames[] = {
2363 (char *) "self",(char *) "margin", NULL
2364 };
2365
2366 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GetMarginSensitive",kwnames,&obj0,&obj1)) goto fail;
2367 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
2368 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2369 arg2 = (int) SWIG_AsInt(obj1);
2370 if (PyErr_Occurred()) SWIG_fail;
2371 {
2372 PyThreadState* __tstate = wxPyBeginAllowThreads();
2373 result = (bool)(arg1)->GetMarginSensitive(arg2);
2374
2375 wxPyEndAllowThreads(__tstate);
2376 if (PyErr_Occurred()) SWIG_fail;
2377 }
2378 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2379 return resultobj;
2380 fail:
2381 return NULL;
2382 }
2383
2384
2385 static PyObject *_wrap_StyledTextCtrl_StyleClearAll(PyObject *self, PyObject *args, PyObject *kwargs) {
2386 PyObject *resultobj;
2387 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
2388 PyObject * obj0 = 0 ;
2389 char *kwnames[] = {
2390 (char *) "self", NULL
2391 };
2392
2393 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_StyleClearAll",kwnames,&obj0)) goto fail;
2394 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
2395 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2396 {
2397 PyThreadState* __tstate = wxPyBeginAllowThreads();
2398 (arg1)->StyleClearAll();
2399
2400 wxPyEndAllowThreads(__tstate);
2401 if (PyErr_Occurred()) SWIG_fail;
2402 }
2403 Py_INCREF(Py_None); resultobj = Py_None;
2404 return resultobj;
2405 fail:
2406 return NULL;
2407 }
2408
2409
2410 static PyObject *_wrap_StyledTextCtrl_StyleSetForeground(PyObject *self, PyObject *args, PyObject *kwargs) {
2411 PyObject *resultobj;
2412 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
2413 int arg2 ;
2414 wxColour *arg3 = 0 ;
2415 wxColour temp3 ;
2416 PyObject * obj0 = 0 ;
2417 PyObject * obj1 = 0 ;
2418 PyObject * obj2 = 0 ;
2419 char *kwnames[] = {
2420 (char *) "self",(char *) "style",(char *) "fore", NULL
2421 };
2422
2423 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_StyleSetForeground",kwnames,&obj0,&obj1,&obj2)) goto fail;
2424 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
2425 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2426 arg2 = (int) SWIG_AsInt(obj1);
2427 if (PyErr_Occurred()) SWIG_fail;
2428 {
2429 arg3 = &temp3;
2430 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
2431 }
2432 {
2433 PyThreadState* __tstate = wxPyBeginAllowThreads();
2434 (arg1)->StyleSetForeground(arg2,(wxColour const &)*arg3);
2435
2436 wxPyEndAllowThreads(__tstate);
2437 if (PyErr_Occurred()) SWIG_fail;
2438 }
2439 Py_INCREF(Py_None); resultobj = Py_None;
2440 return resultobj;
2441 fail:
2442 return NULL;
2443 }
2444
2445
2446 static PyObject *_wrap_StyledTextCtrl_StyleSetBackground(PyObject *self, PyObject *args, PyObject *kwargs) {
2447 PyObject *resultobj;
2448 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
2449 int arg2 ;
2450 wxColour *arg3 = 0 ;
2451 wxColour temp3 ;
2452 PyObject * obj0 = 0 ;
2453 PyObject * obj1 = 0 ;
2454 PyObject * obj2 = 0 ;
2455 char *kwnames[] = {
2456 (char *) "self",(char *) "style",(char *) "back", NULL
2457 };
2458
2459 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_StyleSetBackground",kwnames,&obj0,&obj1,&obj2)) goto fail;
2460 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
2461 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2462 arg2 = (int) SWIG_AsInt(obj1);
2463 if (PyErr_Occurred()) SWIG_fail;
2464 {
2465 arg3 = &temp3;
2466 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
2467 }
2468 {
2469 PyThreadState* __tstate = wxPyBeginAllowThreads();
2470 (arg1)->StyleSetBackground(arg2,(wxColour const &)*arg3);
2471
2472 wxPyEndAllowThreads(__tstate);
2473 if (PyErr_Occurred()) SWIG_fail;
2474 }
2475 Py_INCREF(Py_None); resultobj = Py_None;
2476 return resultobj;
2477 fail:
2478 return NULL;
2479 }
2480
2481
2482 static PyObject *_wrap_StyledTextCtrl_StyleSetBold(PyObject *self, PyObject *args, PyObject *kwargs) {
2483 PyObject *resultobj;
2484 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
2485 int arg2 ;
2486 bool arg3 ;
2487 PyObject * obj0 = 0 ;
2488 PyObject * obj1 = 0 ;
2489 PyObject * obj2 = 0 ;
2490 char *kwnames[] = {
2491 (char *) "self",(char *) "style",(char *) "bold", NULL
2492 };
2493
2494 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_StyleSetBold",kwnames,&obj0,&obj1,&obj2)) goto fail;
2495 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
2496 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2497 arg2 = (int) SWIG_AsInt(obj1);
2498 if (PyErr_Occurred()) SWIG_fail;
2499 arg3 = (bool) SWIG_AsBool(obj2);
2500 if (PyErr_Occurred()) SWIG_fail;
2501 {
2502 PyThreadState* __tstate = wxPyBeginAllowThreads();
2503 (arg1)->StyleSetBold(arg2,arg3);
2504
2505 wxPyEndAllowThreads(__tstate);
2506 if (PyErr_Occurred()) SWIG_fail;
2507 }
2508 Py_INCREF(Py_None); resultobj = Py_None;
2509 return resultobj;
2510 fail:
2511 return NULL;
2512 }
2513
2514
2515 static PyObject *_wrap_StyledTextCtrl_StyleSetItalic(PyObject *self, PyObject *args, PyObject *kwargs) {
2516 PyObject *resultobj;
2517 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
2518 int arg2 ;
2519 bool arg3 ;
2520 PyObject * obj0 = 0 ;
2521 PyObject * obj1 = 0 ;
2522 PyObject * obj2 = 0 ;
2523 char *kwnames[] = {
2524 (char *) "self",(char *) "style",(char *) "italic", NULL
2525 };
2526
2527 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_StyleSetItalic",kwnames,&obj0,&obj1,&obj2)) goto fail;
2528 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
2529 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2530 arg2 = (int) SWIG_AsInt(obj1);
2531 if (PyErr_Occurred()) SWIG_fail;
2532 arg3 = (bool) SWIG_AsBool(obj2);
2533 if (PyErr_Occurred()) SWIG_fail;
2534 {
2535 PyThreadState* __tstate = wxPyBeginAllowThreads();
2536 (arg1)->StyleSetItalic(arg2,arg3);
2537
2538 wxPyEndAllowThreads(__tstate);
2539 if (PyErr_Occurred()) SWIG_fail;
2540 }
2541 Py_INCREF(Py_None); resultobj = Py_None;
2542 return resultobj;
2543 fail:
2544 return NULL;
2545 }
2546
2547
2548 static PyObject *_wrap_StyledTextCtrl_StyleSetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
2549 PyObject *resultobj;
2550 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
2551 int arg2 ;
2552 int arg3 ;
2553 PyObject * obj0 = 0 ;
2554 PyObject * obj1 = 0 ;
2555 PyObject * obj2 = 0 ;
2556 char *kwnames[] = {
2557 (char *) "self",(char *) "style",(char *) "sizePoints", NULL
2558 };
2559
2560 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_StyleSetSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
2561 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
2562 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2563 arg2 = (int) SWIG_AsInt(obj1);
2564 if (PyErr_Occurred()) SWIG_fail;
2565 arg3 = (int) SWIG_AsInt(obj2);
2566 if (PyErr_Occurred()) SWIG_fail;
2567 {
2568 PyThreadState* __tstate = wxPyBeginAllowThreads();
2569 (arg1)->StyleSetSize(arg2,arg3);
2570
2571 wxPyEndAllowThreads(__tstate);
2572 if (PyErr_Occurred()) SWIG_fail;
2573 }
2574 Py_INCREF(Py_None); resultobj = Py_None;
2575 return resultobj;
2576 fail:
2577 return NULL;
2578 }
2579
2580
2581 static PyObject *_wrap_StyledTextCtrl_StyleSetFaceName(PyObject *self, PyObject *args, PyObject *kwargs) {
2582 PyObject *resultobj;
2583 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
2584 int arg2 ;
2585 wxString *arg3 = 0 ;
2586 bool temp3 = False ;
2587 PyObject * obj0 = 0 ;
2588 PyObject * obj1 = 0 ;
2589 PyObject * obj2 = 0 ;
2590 char *kwnames[] = {
2591 (char *) "self",(char *) "style",(char *) "fontName", NULL
2592 };
2593
2594 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_StyleSetFaceName",kwnames,&obj0,&obj1,&obj2)) goto fail;
2595 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
2596 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2597 arg2 = (int) SWIG_AsInt(obj1);
2598 if (PyErr_Occurred()) SWIG_fail;
2599 {
2600 arg3 = wxString_in_helper(obj2);
2601 if (arg3 == NULL) SWIG_fail;
2602 temp3 = True;
2603 }
2604 {
2605 PyThreadState* __tstate = wxPyBeginAllowThreads();
2606 (arg1)->StyleSetFaceName(arg2,(wxString const &)*arg3);
2607
2608 wxPyEndAllowThreads(__tstate);
2609 if (PyErr_Occurred()) SWIG_fail;
2610 }
2611 Py_INCREF(Py_None); resultobj = Py_None;
2612 {
2613 if (temp3)
2614 delete arg3;
2615 }
2616 return resultobj;
2617 fail:
2618 {
2619 if (temp3)
2620 delete arg3;
2621 }
2622 return NULL;
2623 }
2624
2625
2626 static PyObject *_wrap_StyledTextCtrl_StyleSetEOLFilled(PyObject *self, PyObject *args, PyObject *kwargs) {
2627 PyObject *resultobj;
2628 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
2629 int arg2 ;
2630 bool arg3 ;
2631 PyObject * obj0 = 0 ;
2632 PyObject * obj1 = 0 ;
2633 PyObject * obj2 = 0 ;
2634 char *kwnames[] = {
2635 (char *) "self",(char *) "style",(char *) "filled", NULL
2636 };
2637
2638 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_StyleSetEOLFilled",kwnames,&obj0,&obj1,&obj2)) goto fail;
2639 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
2640 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2641 arg2 = (int) SWIG_AsInt(obj1);
2642 if (PyErr_Occurred()) SWIG_fail;
2643 arg3 = (bool) SWIG_AsBool(obj2);
2644 if (PyErr_Occurred()) SWIG_fail;
2645 {
2646 PyThreadState* __tstate = wxPyBeginAllowThreads();
2647 (arg1)->StyleSetEOLFilled(arg2,arg3);
2648
2649 wxPyEndAllowThreads(__tstate);
2650 if (PyErr_Occurred()) SWIG_fail;
2651 }
2652 Py_INCREF(Py_None); resultobj = Py_None;
2653 return resultobj;
2654 fail:
2655 return NULL;
2656 }
2657
2658
2659 static PyObject *_wrap_StyledTextCtrl_StyleResetDefault(PyObject *self, PyObject *args, PyObject *kwargs) {
2660 PyObject *resultobj;
2661 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
2662 PyObject * obj0 = 0 ;
2663 char *kwnames[] = {
2664 (char *) "self", NULL
2665 };
2666
2667 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_StyleResetDefault",kwnames,&obj0)) goto fail;
2668 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
2669 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2670 {
2671 PyThreadState* __tstate = wxPyBeginAllowThreads();
2672 (arg1)->StyleResetDefault();
2673
2674 wxPyEndAllowThreads(__tstate);
2675 if (PyErr_Occurred()) SWIG_fail;
2676 }
2677 Py_INCREF(Py_None); resultobj = Py_None;
2678 return resultobj;
2679 fail:
2680 return NULL;
2681 }
2682
2683
2684 static PyObject *_wrap_StyledTextCtrl_StyleSetUnderline(PyObject *self, PyObject *args, PyObject *kwargs) {
2685 PyObject *resultobj;
2686 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
2687 int arg2 ;
2688 bool arg3 ;
2689 PyObject * obj0 = 0 ;
2690 PyObject * obj1 = 0 ;
2691 PyObject * obj2 = 0 ;
2692 char *kwnames[] = {
2693 (char *) "self",(char *) "style",(char *) "underline", NULL
2694 };
2695
2696 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_StyleSetUnderline",kwnames,&obj0,&obj1,&obj2)) goto fail;
2697 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
2698 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2699 arg2 = (int) SWIG_AsInt(obj1);
2700 if (PyErr_Occurred()) SWIG_fail;
2701 arg3 = (bool) SWIG_AsBool(obj2);
2702 if (PyErr_Occurred()) SWIG_fail;
2703 {
2704 PyThreadState* __tstate = wxPyBeginAllowThreads();
2705 (arg1)->StyleSetUnderline(arg2,arg3);
2706
2707 wxPyEndAllowThreads(__tstate);
2708 if (PyErr_Occurred()) SWIG_fail;
2709 }
2710 Py_INCREF(Py_None); resultobj = Py_None;
2711 return resultobj;
2712 fail:
2713 return NULL;
2714 }
2715
2716
2717 static PyObject *_wrap_StyledTextCtrl_StyleSetCase(PyObject *self, PyObject *args, PyObject *kwargs) {
2718 PyObject *resultobj;
2719 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
2720 int arg2 ;
2721 int arg3 ;
2722 PyObject * obj0 = 0 ;
2723 PyObject * obj1 = 0 ;
2724 PyObject * obj2 = 0 ;
2725 char *kwnames[] = {
2726 (char *) "self",(char *) "style",(char *) "caseForce", NULL
2727 };
2728
2729 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_StyleSetCase",kwnames,&obj0,&obj1,&obj2)) goto fail;
2730 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
2731 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2732 arg2 = (int) SWIG_AsInt(obj1);
2733 if (PyErr_Occurred()) SWIG_fail;
2734 arg3 = (int) SWIG_AsInt(obj2);
2735 if (PyErr_Occurred()) SWIG_fail;
2736 {
2737 PyThreadState* __tstate = wxPyBeginAllowThreads();
2738 (arg1)->StyleSetCase(arg2,arg3);
2739
2740 wxPyEndAllowThreads(__tstate);
2741 if (PyErr_Occurred()) SWIG_fail;
2742 }
2743 Py_INCREF(Py_None); resultobj = Py_None;
2744 return resultobj;
2745 fail:
2746 return NULL;
2747 }
2748
2749
2750 static PyObject *_wrap_StyledTextCtrl_StyleSetCharacterSet(PyObject *self, PyObject *args, PyObject *kwargs) {
2751 PyObject *resultobj;
2752 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
2753 int arg2 ;
2754 int arg3 ;
2755 PyObject * obj0 = 0 ;
2756 PyObject * obj1 = 0 ;
2757 PyObject * obj2 = 0 ;
2758 char *kwnames[] = {
2759 (char *) "self",(char *) "style",(char *) "characterSet", NULL
2760 };
2761
2762 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_StyleSetCharacterSet",kwnames,&obj0,&obj1,&obj2)) goto fail;
2763 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
2764 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2765 arg2 = (int) SWIG_AsInt(obj1);
2766 if (PyErr_Occurred()) SWIG_fail;
2767 arg3 = (int) SWIG_AsInt(obj2);
2768 if (PyErr_Occurred()) SWIG_fail;
2769 {
2770 PyThreadState* __tstate = wxPyBeginAllowThreads();
2771 (arg1)->StyleSetCharacterSet(arg2,arg3);
2772
2773 wxPyEndAllowThreads(__tstate);
2774 if (PyErr_Occurred()) SWIG_fail;
2775 }
2776 Py_INCREF(Py_None); resultobj = Py_None;
2777 return resultobj;
2778 fail:
2779 return NULL;
2780 }
2781
2782
2783 static PyObject *_wrap_StyledTextCtrl_StyleSetHotSpot(PyObject *self, PyObject *args, PyObject *kwargs) {
2784 PyObject *resultobj;
2785 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
2786 int arg2 ;
2787 bool arg3 ;
2788 PyObject * obj0 = 0 ;
2789 PyObject * obj1 = 0 ;
2790 PyObject * obj2 = 0 ;
2791 char *kwnames[] = {
2792 (char *) "self",(char *) "style",(char *) "hotspot", NULL
2793 };
2794
2795 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_StyleSetHotSpot",kwnames,&obj0,&obj1,&obj2)) goto fail;
2796 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
2797 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2798 arg2 = (int) SWIG_AsInt(obj1);
2799 if (PyErr_Occurred()) SWIG_fail;
2800 arg3 = (bool) SWIG_AsBool(obj2);
2801 if (PyErr_Occurred()) SWIG_fail;
2802 {
2803 PyThreadState* __tstate = wxPyBeginAllowThreads();
2804 (arg1)->StyleSetHotSpot(arg2,arg3);
2805
2806 wxPyEndAllowThreads(__tstate);
2807 if (PyErr_Occurred()) SWIG_fail;
2808 }
2809 Py_INCREF(Py_None); resultobj = Py_None;
2810 return resultobj;
2811 fail:
2812 return NULL;
2813 }
2814
2815
2816 static PyObject *_wrap_StyledTextCtrl_SetSelForeground(PyObject *self, PyObject *args, PyObject *kwargs) {
2817 PyObject *resultobj;
2818 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
2819 bool arg2 ;
2820 wxColour *arg3 = 0 ;
2821 wxColour temp3 ;
2822 PyObject * obj0 = 0 ;
2823 PyObject * obj1 = 0 ;
2824 PyObject * obj2 = 0 ;
2825 char *kwnames[] = {
2826 (char *) "self",(char *) "useSetting",(char *) "fore", NULL
2827 };
2828
2829 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetSelForeground",kwnames,&obj0,&obj1,&obj2)) goto fail;
2830 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
2831 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2832 arg2 = (bool) SWIG_AsBool(obj1);
2833 if (PyErr_Occurred()) SWIG_fail;
2834 {
2835 arg3 = &temp3;
2836 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
2837 }
2838 {
2839 PyThreadState* __tstate = wxPyBeginAllowThreads();
2840 (arg1)->SetSelForeground(arg2,(wxColour const &)*arg3);
2841
2842 wxPyEndAllowThreads(__tstate);
2843 if (PyErr_Occurred()) SWIG_fail;
2844 }
2845 Py_INCREF(Py_None); resultobj = Py_None;
2846 return resultobj;
2847 fail:
2848 return NULL;
2849 }
2850
2851
2852 static PyObject *_wrap_StyledTextCtrl_SetSelBackground(PyObject *self, PyObject *args, PyObject *kwargs) {
2853 PyObject *resultobj;
2854 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
2855 bool arg2 ;
2856 wxColour *arg3 = 0 ;
2857 wxColour temp3 ;
2858 PyObject * obj0 = 0 ;
2859 PyObject * obj1 = 0 ;
2860 PyObject * obj2 = 0 ;
2861 char *kwnames[] = {
2862 (char *) "self",(char *) "useSetting",(char *) "back", NULL
2863 };
2864
2865 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetSelBackground",kwnames,&obj0,&obj1,&obj2)) goto fail;
2866 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
2867 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2868 arg2 = (bool) SWIG_AsBool(obj1);
2869 if (PyErr_Occurred()) SWIG_fail;
2870 {
2871 arg3 = &temp3;
2872 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
2873 }
2874 {
2875 PyThreadState* __tstate = wxPyBeginAllowThreads();
2876 (arg1)->SetSelBackground(arg2,(wxColour const &)*arg3);
2877
2878 wxPyEndAllowThreads(__tstate);
2879 if (PyErr_Occurred()) SWIG_fail;
2880 }
2881 Py_INCREF(Py_None); resultobj = Py_None;
2882 return resultobj;
2883 fail:
2884 return NULL;
2885 }
2886
2887
2888 static PyObject *_wrap_StyledTextCtrl_SetCaretForeground(PyObject *self, PyObject *args, PyObject *kwargs) {
2889 PyObject *resultobj;
2890 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
2891 wxColour *arg2 = 0 ;
2892 wxColour temp2 ;
2893 PyObject * obj0 = 0 ;
2894 PyObject * obj1 = 0 ;
2895 char *kwnames[] = {
2896 (char *) "self",(char *) "fore", NULL
2897 };
2898
2899 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetCaretForeground",kwnames,&obj0,&obj1)) goto fail;
2900 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
2901 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2902 {
2903 arg2 = &temp2;
2904 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
2905 }
2906 {
2907 PyThreadState* __tstate = wxPyBeginAllowThreads();
2908 (arg1)->SetCaretForeground((wxColour const &)*arg2);
2909
2910 wxPyEndAllowThreads(__tstate);
2911 if (PyErr_Occurred()) SWIG_fail;
2912 }
2913 Py_INCREF(Py_None); resultobj = Py_None;
2914 return resultobj;
2915 fail:
2916 return NULL;
2917 }
2918
2919
2920 static PyObject *_wrap_StyledTextCtrl_CmdKeyAssign(PyObject *self, PyObject *args, PyObject *kwargs) {
2921 PyObject *resultobj;
2922 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
2923 int arg2 ;
2924 int arg3 ;
2925 int arg4 ;
2926 PyObject * obj0 = 0 ;
2927 PyObject * obj1 = 0 ;
2928 PyObject * obj2 = 0 ;
2929 PyObject * obj3 = 0 ;
2930 char *kwnames[] = {
2931 (char *) "self",(char *) "key",(char *) "modifiers",(char *) "cmd", NULL
2932 };
2933
2934 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:StyledTextCtrl_CmdKeyAssign",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
2935 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
2936 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2937 arg2 = (int) SWIG_AsInt(obj1);
2938 if (PyErr_Occurred()) SWIG_fail;
2939 arg3 = (int) SWIG_AsInt(obj2);
2940 if (PyErr_Occurred()) SWIG_fail;
2941 arg4 = (int) SWIG_AsInt(obj3);
2942 if (PyErr_Occurred()) SWIG_fail;
2943 {
2944 PyThreadState* __tstate = wxPyBeginAllowThreads();
2945 (arg1)->CmdKeyAssign(arg2,arg3,arg4);
2946
2947 wxPyEndAllowThreads(__tstate);
2948 if (PyErr_Occurred()) SWIG_fail;
2949 }
2950 Py_INCREF(Py_None); resultobj = Py_None;
2951 return resultobj;
2952 fail:
2953 return NULL;
2954 }
2955
2956
2957 static PyObject *_wrap_StyledTextCtrl_CmdKeyClear(PyObject *self, PyObject *args, PyObject *kwargs) {
2958 PyObject *resultobj;
2959 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
2960 int arg2 ;
2961 int arg3 ;
2962 PyObject * obj0 = 0 ;
2963 PyObject * obj1 = 0 ;
2964 PyObject * obj2 = 0 ;
2965 char *kwnames[] = {
2966 (char *) "self",(char *) "key",(char *) "modifiers", NULL
2967 };
2968
2969 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_CmdKeyClear",kwnames,&obj0,&obj1,&obj2)) goto fail;
2970 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
2971 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2972 arg2 = (int) SWIG_AsInt(obj1);
2973 if (PyErr_Occurred()) SWIG_fail;
2974 arg3 = (int) SWIG_AsInt(obj2);
2975 if (PyErr_Occurred()) SWIG_fail;
2976 {
2977 PyThreadState* __tstate = wxPyBeginAllowThreads();
2978 (arg1)->CmdKeyClear(arg2,arg3);
2979
2980 wxPyEndAllowThreads(__tstate);
2981 if (PyErr_Occurred()) SWIG_fail;
2982 }
2983 Py_INCREF(Py_None); resultobj = Py_None;
2984 return resultobj;
2985 fail:
2986 return NULL;
2987 }
2988
2989
2990 static PyObject *_wrap_StyledTextCtrl_CmdKeyClearAll(PyObject *self, PyObject *args, PyObject *kwargs) {
2991 PyObject *resultobj;
2992 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
2993 PyObject * obj0 = 0 ;
2994 char *kwnames[] = {
2995 (char *) "self", NULL
2996 };
2997
2998 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_CmdKeyClearAll",kwnames,&obj0)) goto fail;
2999 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
3000 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3001 {
3002 PyThreadState* __tstate = wxPyBeginAllowThreads();
3003 (arg1)->CmdKeyClearAll();
3004
3005 wxPyEndAllowThreads(__tstate);
3006 if (PyErr_Occurred()) SWIG_fail;
3007 }
3008 Py_INCREF(Py_None); resultobj = Py_None;
3009 return resultobj;
3010 fail:
3011 return NULL;
3012 }
3013
3014
3015 static PyObject *_wrap_StyledTextCtrl_SetStyleBytes(PyObject *self, PyObject *args, PyObject *kwargs) {
3016 PyObject *resultobj;
3017 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3018 int arg2 ;
3019 char *arg3 ;
3020 PyObject * obj0 = 0 ;
3021 PyObject * obj1 = 0 ;
3022 PyObject * obj2 = 0 ;
3023 char *kwnames[] = {
3024 (char *) "self",(char *) "length",(char *) "styleBytes", NULL
3025 };
3026
3027 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetStyleBytes",kwnames,&obj0,&obj1,&obj2)) goto fail;
3028 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
3029 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3030 arg2 = (int) SWIG_AsInt(obj1);
3031 if (PyErr_Occurred()) SWIG_fail;
3032 arg3 = SWIG_AsCharPtr(obj2);
3033 if (PyErr_Occurred()) SWIG_fail;
3034 {
3035 PyThreadState* __tstate = wxPyBeginAllowThreads();
3036 (arg1)->SetStyleBytes(arg2,arg3);
3037
3038 wxPyEndAllowThreads(__tstate);
3039 if (PyErr_Occurred()) SWIG_fail;
3040 }
3041 Py_INCREF(Py_None); resultobj = Py_None;
3042 return resultobj;
3043 fail:
3044 return NULL;
3045 }
3046
3047
3048 static PyObject *_wrap_StyledTextCtrl_StyleSetVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
3049 PyObject *resultobj;
3050 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3051 int arg2 ;
3052 bool arg3 ;
3053 PyObject * obj0 = 0 ;
3054 PyObject * obj1 = 0 ;
3055 PyObject * obj2 = 0 ;
3056 char *kwnames[] = {
3057 (char *) "self",(char *) "style",(char *) "visible", NULL
3058 };
3059
3060 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_StyleSetVisible",kwnames,&obj0,&obj1,&obj2)) goto fail;
3061 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
3062 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3063 arg2 = (int) SWIG_AsInt(obj1);
3064 if (PyErr_Occurred()) SWIG_fail;
3065 arg3 = (bool) SWIG_AsBool(obj2);
3066 if (PyErr_Occurred()) SWIG_fail;
3067 {
3068 PyThreadState* __tstate = wxPyBeginAllowThreads();
3069 (arg1)->StyleSetVisible(arg2,arg3);
3070
3071 wxPyEndAllowThreads(__tstate);
3072 if (PyErr_Occurred()) SWIG_fail;
3073 }
3074 Py_INCREF(Py_None); resultobj = Py_None;
3075 return resultobj;
3076 fail:
3077 return NULL;
3078 }
3079
3080
3081 static PyObject *_wrap_StyledTextCtrl_GetCaretPeriod(PyObject *self, PyObject *args, PyObject *kwargs) {
3082 PyObject *resultobj;
3083 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3084 int result;
3085 PyObject * obj0 = 0 ;
3086 char *kwnames[] = {
3087 (char *) "self", NULL
3088 };
3089
3090 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetCaretPeriod",kwnames,&obj0)) goto fail;
3091 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
3092 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3093 {
3094 PyThreadState* __tstate = wxPyBeginAllowThreads();
3095 result = (int)(arg1)->GetCaretPeriod();
3096
3097 wxPyEndAllowThreads(__tstate);
3098 if (PyErr_Occurred()) SWIG_fail;
3099 }
3100 resultobj = SWIG_FromInt((int)result);
3101 return resultobj;
3102 fail:
3103 return NULL;
3104 }
3105
3106
3107 static PyObject *_wrap_StyledTextCtrl_SetCaretPeriod(PyObject *self, PyObject *args, PyObject *kwargs) {
3108 PyObject *resultobj;
3109 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3110 int arg2 ;
3111 PyObject * obj0 = 0 ;
3112 PyObject * obj1 = 0 ;
3113 char *kwnames[] = {
3114 (char *) "self",(char *) "periodMilliseconds", NULL
3115 };
3116
3117 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetCaretPeriod",kwnames,&obj0,&obj1)) goto fail;
3118 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
3119 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3120 arg2 = (int) SWIG_AsInt(obj1);
3121 if (PyErr_Occurred()) SWIG_fail;
3122 {
3123 PyThreadState* __tstate = wxPyBeginAllowThreads();
3124 (arg1)->SetCaretPeriod(arg2);
3125
3126 wxPyEndAllowThreads(__tstate);
3127 if (PyErr_Occurred()) SWIG_fail;
3128 }
3129 Py_INCREF(Py_None); resultobj = Py_None;
3130 return resultobj;
3131 fail:
3132 return NULL;
3133 }
3134
3135
3136 static PyObject *_wrap_StyledTextCtrl_SetWordChars(PyObject *self, PyObject *args, PyObject *kwargs) {
3137 PyObject *resultobj;
3138 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3139 wxString *arg2 = 0 ;
3140 bool temp2 = False ;
3141 PyObject * obj0 = 0 ;
3142 PyObject * obj1 = 0 ;
3143 char *kwnames[] = {
3144 (char *) "self",(char *) "characters", NULL
3145 };
3146
3147 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetWordChars",kwnames,&obj0,&obj1)) goto fail;
3148 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
3149 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3150 {
3151 arg2 = wxString_in_helper(obj1);
3152 if (arg2 == NULL) SWIG_fail;
3153 temp2 = True;
3154 }
3155 {
3156 PyThreadState* __tstate = wxPyBeginAllowThreads();
3157 (arg1)->SetWordChars((wxString const &)*arg2);
3158
3159 wxPyEndAllowThreads(__tstate);
3160 if (PyErr_Occurred()) SWIG_fail;
3161 }
3162 Py_INCREF(Py_None); resultobj = Py_None;
3163 {
3164 if (temp2)
3165 delete arg2;
3166 }
3167 return resultobj;
3168 fail:
3169 {
3170 if (temp2)
3171 delete arg2;
3172 }
3173 return NULL;
3174 }
3175
3176
3177 static PyObject *_wrap_StyledTextCtrl_BeginUndoAction(PyObject *self, PyObject *args, PyObject *kwargs) {
3178 PyObject *resultobj;
3179 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3180 PyObject * obj0 = 0 ;
3181 char *kwnames[] = {
3182 (char *) "self", NULL
3183 };
3184
3185 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_BeginUndoAction",kwnames,&obj0)) goto fail;
3186 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
3187 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3188 {
3189 PyThreadState* __tstate = wxPyBeginAllowThreads();
3190 (arg1)->BeginUndoAction();
3191
3192 wxPyEndAllowThreads(__tstate);
3193 if (PyErr_Occurred()) SWIG_fail;
3194 }
3195 Py_INCREF(Py_None); resultobj = Py_None;
3196 return resultobj;
3197 fail:
3198 return NULL;
3199 }
3200
3201
3202 static PyObject *_wrap_StyledTextCtrl_EndUndoAction(PyObject *self, PyObject *args, PyObject *kwargs) {
3203 PyObject *resultobj;
3204 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3205 PyObject * obj0 = 0 ;
3206 char *kwnames[] = {
3207 (char *) "self", NULL
3208 };
3209
3210 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_EndUndoAction",kwnames,&obj0)) goto fail;
3211 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
3212 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3213 {
3214 PyThreadState* __tstate = wxPyBeginAllowThreads();
3215 (arg1)->EndUndoAction();
3216
3217 wxPyEndAllowThreads(__tstate);
3218 if (PyErr_Occurred()) SWIG_fail;
3219 }
3220 Py_INCREF(Py_None); resultobj = Py_None;
3221 return resultobj;
3222 fail:
3223 return NULL;
3224 }
3225
3226
3227 static PyObject *_wrap_StyledTextCtrl_IndicatorSetStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
3228 PyObject *resultobj;
3229 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3230 int arg2 ;
3231 int arg3 ;
3232 PyObject * obj0 = 0 ;
3233 PyObject * obj1 = 0 ;
3234 PyObject * obj2 = 0 ;
3235 char *kwnames[] = {
3236 (char *) "self",(char *) "indic",(char *) "style", NULL
3237 };
3238
3239 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_IndicatorSetStyle",kwnames,&obj0,&obj1,&obj2)) goto fail;
3240 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
3241 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3242 arg2 = (int) SWIG_AsInt(obj1);
3243 if (PyErr_Occurred()) SWIG_fail;
3244 arg3 = (int) SWIG_AsInt(obj2);
3245 if (PyErr_Occurred()) SWIG_fail;
3246 {
3247 PyThreadState* __tstate = wxPyBeginAllowThreads();
3248 (arg1)->IndicatorSetStyle(arg2,arg3);
3249
3250 wxPyEndAllowThreads(__tstate);
3251 if (PyErr_Occurred()) SWIG_fail;
3252 }
3253 Py_INCREF(Py_None); resultobj = Py_None;
3254 return resultobj;
3255 fail:
3256 return NULL;
3257 }
3258
3259
3260 static PyObject *_wrap_StyledTextCtrl_IndicatorGetStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
3261 PyObject *resultobj;
3262 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3263 int arg2 ;
3264 int result;
3265 PyObject * obj0 = 0 ;
3266 PyObject * obj1 = 0 ;
3267 char *kwnames[] = {
3268 (char *) "self",(char *) "indic", NULL
3269 };
3270
3271 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_IndicatorGetStyle",kwnames,&obj0,&obj1)) goto fail;
3272 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
3273 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3274 arg2 = (int) SWIG_AsInt(obj1);
3275 if (PyErr_Occurred()) SWIG_fail;
3276 {
3277 PyThreadState* __tstate = wxPyBeginAllowThreads();
3278 result = (int)(arg1)->IndicatorGetStyle(arg2);
3279
3280 wxPyEndAllowThreads(__tstate);
3281 if (PyErr_Occurred()) SWIG_fail;
3282 }
3283 resultobj = SWIG_FromInt((int)result);
3284 return resultobj;
3285 fail:
3286 return NULL;
3287 }
3288
3289
3290 static PyObject *_wrap_StyledTextCtrl_IndicatorSetForeground(PyObject *self, PyObject *args, PyObject *kwargs) {
3291 PyObject *resultobj;
3292 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3293 int arg2 ;
3294 wxColour *arg3 = 0 ;
3295 wxColour temp3 ;
3296 PyObject * obj0 = 0 ;
3297 PyObject * obj1 = 0 ;
3298 PyObject * obj2 = 0 ;
3299 char *kwnames[] = {
3300 (char *) "self",(char *) "indic",(char *) "fore", NULL
3301 };
3302
3303 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_IndicatorSetForeground",kwnames,&obj0,&obj1,&obj2)) goto fail;
3304 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
3305 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3306 arg2 = (int) SWIG_AsInt(obj1);
3307 if (PyErr_Occurred()) SWIG_fail;
3308 {
3309 arg3 = &temp3;
3310 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
3311 }
3312 {
3313 PyThreadState* __tstate = wxPyBeginAllowThreads();
3314 (arg1)->IndicatorSetForeground(arg2,(wxColour const &)*arg3);
3315
3316 wxPyEndAllowThreads(__tstate);
3317 if (PyErr_Occurred()) SWIG_fail;
3318 }
3319 Py_INCREF(Py_None); resultobj = Py_None;
3320 return resultobj;
3321 fail:
3322 return NULL;
3323 }
3324
3325
3326 static PyObject *_wrap_StyledTextCtrl_IndicatorGetForeground(PyObject *self, PyObject *args, PyObject *kwargs) {
3327 PyObject *resultobj;
3328 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3329 int arg2 ;
3330 wxColour result;
3331 PyObject * obj0 = 0 ;
3332 PyObject * obj1 = 0 ;
3333 char *kwnames[] = {
3334 (char *) "self",(char *) "indic", NULL
3335 };
3336
3337 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_IndicatorGetForeground",kwnames,&obj0,&obj1)) goto fail;
3338 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
3339 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3340 arg2 = (int) SWIG_AsInt(obj1);
3341 if (PyErr_Occurred()) SWIG_fail;
3342 {
3343 PyThreadState* __tstate = wxPyBeginAllowThreads();
3344 result = (arg1)->IndicatorGetForeground(arg2);
3345
3346 wxPyEndAllowThreads(__tstate);
3347 if (PyErr_Occurred()) SWIG_fail;
3348 }
3349 {
3350 wxColour * resultptr;
3351 resultptr = new wxColour((wxColour &) result);
3352 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
3353 }
3354 return resultobj;
3355 fail:
3356 return NULL;
3357 }
3358
3359
3360 static PyObject *_wrap_StyledTextCtrl_SetWhitespaceForeground(PyObject *self, PyObject *args, PyObject *kwargs) {
3361 PyObject *resultobj;
3362 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3363 bool arg2 ;
3364 wxColour *arg3 = 0 ;
3365 wxColour temp3 ;
3366 PyObject * obj0 = 0 ;
3367 PyObject * obj1 = 0 ;
3368 PyObject * obj2 = 0 ;
3369 char *kwnames[] = {
3370 (char *) "self",(char *) "useSetting",(char *) "fore", NULL
3371 };
3372
3373 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetWhitespaceForeground",kwnames,&obj0,&obj1,&obj2)) goto fail;
3374 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
3375 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3376 arg2 = (bool) SWIG_AsBool(obj1);
3377 if (PyErr_Occurred()) SWIG_fail;
3378 {
3379 arg3 = &temp3;
3380 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
3381 }
3382 {
3383 PyThreadState* __tstate = wxPyBeginAllowThreads();
3384 (arg1)->SetWhitespaceForeground(arg2,(wxColour const &)*arg3);
3385
3386 wxPyEndAllowThreads(__tstate);
3387 if (PyErr_Occurred()) SWIG_fail;
3388 }
3389 Py_INCREF(Py_None); resultobj = Py_None;
3390 return resultobj;
3391 fail:
3392 return NULL;
3393 }
3394
3395
3396 static PyObject *_wrap_StyledTextCtrl_SetWhitespaceBackground(PyObject *self, PyObject *args, PyObject *kwargs) {
3397 PyObject *resultobj;
3398 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3399 bool arg2 ;
3400 wxColour *arg3 = 0 ;
3401 wxColour temp3 ;
3402 PyObject * obj0 = 0 ;
3403 PyObject * obj1 = 0 ;
3404 PyObject * obj2 = 0 ;
3405 char *kwnames[] = {
3406 (char *) "self",(char *) "useSetting",(char *) "back", NULL
3407 };
3408
3409 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetWhitespaceBackground",kwnames,&obj0,&obj1,&obj2)) goto fail;
3410 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
3411 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3412 arg2 = (bool) SWIG_AsBool(obj1);
3413 if (PyErr_Occurred()) SWIG_fail;
3414 {
3415 arg3 = &temp3;
3416 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
3417 }
3418 {
3419 PyThreadState* __tstate = wxPyBeginAllowThreads();
3420 (arg1)->SetWhitespaceBackground(arg2,(wxColour const &)*arg3);
3421
3422 wxPyEndAllowThreads(__tstate);
3423 if (PyErr_Occurred()) SWIG_fail;
3424 }
3425 Py_INCREF(Py_None); resultobj = Py_None;
3426 return resultobj;
3427 fail:
3428 return NULL;
3429 }
3430
3431
3432 static PyObject *_wrap_StyledTextCtrl_SetStyleBits(PyObject *self, PyObject *args, PyObject *kwargs) {
3433 PyObject *resultobj;
3434 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3435 int arg2 ;
3436 PyObject * obj0 = 0 ;
3437 PyObject * obj1 = 0 ;
3438 char *kwnames[] = {
3439 (char *) "self",(char *) "bits", NULL
3440 };
3441
3442 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetStyleBits",kwnames,&obj0,&obj1)) goto fail;
3443 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
3444 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3445 arg2 = (int) SWIG_AsInt(obj1);
3446 if (PyErr_Occurred()) SWIG_fail;
3447 {
3448 PyThreadState* __tstate = wxPyBeginAllowThreads();
3449 (arg1)->SetStyleBits(arg2);
3450
3451 wxPyEndAllowThreads(__tstate);
3452 if (PyErr_Occurred()) SWIG_fail;
3453 }
3454 Py_INCREF(Py_None); resultobj = Py_None;
3455 return resultobj;
3456 fail:
3457 return NULL;
3458 }
3459
3460
3461 static PyObject *_wrap_StyledTextCtrl_GetStyleBits(PyObject *self, PyObject *args, PyObject *kwargs) {
3462 PyObject *resultobj;
3463 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3464 int result;
3465 PyObject * obj0 = 0 ;
3466 char *kwnames[] = {
3467 (char *) "self", NULL
3468 };
3469
3470 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetStyleBits",kwnames,&obj0)) goto fail;
3471 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
3472 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3473 {
3474 PyThreadState* __tstate = wxPyBeginAllowThreads();
3475 result = (int)(arg1)->GetStyleBits();
3476
3477 wxPyEndAllowThreads(__tstate);
3478 if (PyErr_Occurred()) SWIG_fail;
3479 }
3480 resultobj = SWIG_FromInt((int)result);
3481 return resultobj;
3482 fail:
3483 return NULL;
3484 }
3485
3486
3487 static PyObject *_wrap_StyledTextCtrl_SetLineState(PyObject *self, PyObject *args, PyObject *kwargs) {
3488 PyObject *resultobj;
3489 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3490 int arg2 ;
3491 int arg3 ;
3492 PyObject * obj0 = 0 ;
3493 PyObject * obj1 = 0 ;
3494 PyObject * obj2 = 0 ;
3495 char *kwnames[] = {
3496 (char *) "self",(char *) "line",(char *) "state", NULL
3497 };
3498
3499 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetLineState",kwnames,&obj0,&obj1,&obj2)) goto fail;
3500 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
3501 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3502 arg2 = (int) SWIG_AsInt(obj1);
3503 if (PyErr_Occurred()) SWIG_fail;
3504 arg3 = (int) SWIG_AsInt(obj2);
3505 if (PyErr_Occurred()) SWIG_fail;
3506 {
3507 PyThreadState* __tstate = wxPyBeginAllowThreads();
3508 (arg1)->SetLineState(arg2,arg3);
3509
3510 wxPyEndAllowThreads(__tstate);
3511 if (PyErr_Occurred()) SWIG_fail;
3512 }
3513 Py_INCREF(Py_None); resultobj = Py_None;
3514 return resultobj;
3515 fail:
3516 return NULL;
3517 }
3518
3519
3520 static PyObject *_wrap_StyledTextCtrl_GetLineState(PyObject *self, PyObject *args, PyObject *kwargs) {
3521 PyObject *resultobj;
3522 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3523 int arg2 ;
3524 int result;
3525 PyObject * obj0 = 0 ;
3526 PyObject * obj1 = 0 ;
3527 char *kwnames[] = {
3528 (char *) "self",(char *) "line", NULL
3529 };
3530
3531 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GetLineState",kwnames,&obj0,&obj1)) goto fail;
3532 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
3533 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3534 arg2 = (int) SWIG_AsInt(obj1);
3535 if (PyErr_Occurred()) SWIG_fail;
3536 {
3537 PyThreadState* __tstate = wxPyBeginAllowThreads();
3538 result = (int)(arg1)->GetLineState(arg2);
3539
3540 wxPyEndAllowThreads(__tstate);
3541 if (PyErr_Occurred()) SWIG_fail;
3542 }
3543 resultobj = SWIG_FromInt((int)result);
3544 return resultobj;
3545 fail:
3546 return NULL;
3547 }
3548
3549
3550 static PyObject *_wrap_StyledTextCtrl_GetMaxLineState(PyObject *self, PyObject *args, PyObject *kwargs) {
3551 PyObject *resultobj;
3552 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3553 int result;
3554 PyObject * obj0 = 0 ;
3555 char *kwnames[] = {
3556 (char *) "self", NULL
3557 };
3558
3559 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetMaxLineState",kwnames,&obj0)) goto fail;
3560 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
3561 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3562 {
3563 PyThreadState* __tstate = wxPyBeginAllowThreads();
3564 result = (int)(arg1)->GetMaxLineState();
3565
3566 wxPyEndAllowThreads(__tstate);
3567 if (PyErr_Occurred()) SWIG_fail;
3568 }
3569 resultobj = SWIG_FromInt((int)result);
3570 return resultobj;
3571 fail:
3572 return NULL;
3573 }
3574
3575
3576 static PyObject *_wrap_StyledTextCtrl_GetCaretLineVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
3577 PyObject *resultobj;
3578 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3579 bool result;
3580 PyObject * obj0 = 0 ;
3581 char *kwnames[] = {
3582 (char *) "self", NULL
3583 };
3584
3585 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetCaretLineVisible",kwnames,&obj0)) goto fail;
3586 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
3587 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3588 {
3589 PyThreadState* __tstate = wxPyBeginAllowThreads();
3590 result = (bool)(arg1)->GetCaretLineVisible();
3591
3592 wxPyEndAllowThreads(__tstate);
3593 if (PyErr_Occurred()) SWIG_fail;
3594 }
3595 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3596 return resultobj;
3597 fail:
3598 return NULL;
3599 }
3600
3601
3602 static PyObject *_wrap_StyledTextCtrl_SetCaretLineVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
3603 PyObject *resultobj;
3604 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3605 bool arg2 ;
3606 PyObject * obj0 = 0 ;
3607 PyObject * obj1 = 0 ;
3608 char *kwnames[] = {
3609 (char *) "self",(char *) "show", NULL
3610 };
3611
3612 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetCaretLineVisible",kwnames,&obj0,&obj1)) goto fail;
3613 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
3614 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3615 arg2 = (bool) SWIG_AsBool(obj1);
3616 if (PyErr_Occurred()) SWIG_fail;
3617 {
3618 PyThreadState* __tstate = wxPyBeginAllowThreads();
3619 (arg1)->SetCaretLineVisible(arg2);
3620
3621 wxPyEndAllowThreads(__tstate);
3622 if (PyErr_Occurred()) SWIG_fail;
3623 }
3624 Py_INCREF(Py_None); resultobj = Py_None;
3625 return resultobj;
3626 fail:
3627 return NULL;
3628 }
3629
3630
3631 static PyObject *_wrap_StyledTextCtrl_GetCaretLineBack(PyObject *self, PyObject *args, PyObject *kwargs) {
3632 PyObject *resultobj;
3633 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3634 wxColour result;
3635 PyObject * obj0 = 0 ;
3636 char *kwnames[] = {
3637 (char *) "self", NULL
3638 };
3639
3640 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetCaretLineBack",kwnames,&obj0)) goto fail;
3641 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
3642 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3643 {
3644 PyThreadState* __tstate = wxPyBeginAllowThreads();
3645 result = (arg1)->GetCaretLineBack();
3646
3647 wxPyEndAllowThreads(__tstate);
3648 if (PyErr_Occurred()) SWIG_fail;
3649 }
3650 {
3651 wxColour * resultptr;
3652 resultptr = new wxColour((wxColour &) result);
3653 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
3654 }
3655 return resultobj;
3656 fail:
3657 return NULL;
3658 }
3659
3660
3661 static PyObject *_wrap_StyledTextCtrl_SetCaretLineBack(PyObject *self, PyObject *args, PyObject *kwargs) {
3662 PyObject *resultobj;
3663 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3664 wxColour *arg2 = 0 ;
3665 wxColour temp2 ;
3666 PyObject * obj0 = 0 ;
3667 PyObject * obj1 = 0 ;
3668 char *kwnames[] = {
3669 (char *) "self",(char *) "back", NULL
3670 };
3671
3672 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetCaretLineBack",kwnames,&obj0,&obj1)) goto fail;
3673 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
3674 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3675 {
3676 arg2 = &temp2;
3677 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
3678 }
3679 {
3680 PyThreadState* __tstate = wxPyBeginAllowThreads();
3681 (arg1)->SetCaretLineBack((wxColour const &)*arg2);
3682
3683 wxPyEndAllowThreads(__tstate);
3684 if (PyErr_Occurred()) SWIG_fail;
3685 }
3686 Py_INCREF(Py_None); resultobj = Py_None;
3687 return resultobj;
3688 fail:
3689 return NULL;
3690 }
3691
3692
3693 static PyObject *_wrap_StyledTextCtrl_StyleSetChangeable(PyObject *self, PyObject *args, PyObject *kwargs) {
3694 PyObject *resultobj;
3695 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3696 int arg2 ;
3697 bool arg3 ;
3698 PyObject * obj0 = 0 ;
3699 PyObject * obj1 = 0 ;
3700 PyObject * obj2 = 0 ;
3701 char *kwnames[] = {
3702 (char *) "self",(char *) "style",(char *) "changeable", NULL
3703 };
3704
3705 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_StyleSetChangeable",kwnames,&obj0,&obj1,&obj2)) goto fail;
3706 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
3707 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3708 arg2 = (int) SWIG_AsInt(obj1);
3709 if (PyErr_Occurred()) SWIG_fail;
3710 arg3 = (bool) SWIG_AsBool(obj2);
3711 if (PyErr_Occurred()) SWIG_fail;
3712 {
3713 PyThreadState* __tstate = wxPyBeginAllowThreads();
3714 (arg1)->StyleSetChangeable(arg2,arg3);
3715
3716 wxPyEndAllowThreads(__tstate);
3717 if (PyErr_Occurred()) SWIG_fail;
3718 }
3719 Py_INCREF(Py_None); resultobj = Py_None;
3720 return resultobj;
3721 fail:
3722 return NULL;
3723 }
3724
3725
3726 static PyObject *_wrap_StyledTextCtrl_AutoCompShow(PyObject *self, PyObject *args, PyObject *kwargs) {
3727 PyObject *resultobj;
3728 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3729 int arg2 ;
3730 wxString *arg3 = 0 ;
3731 bool temp3 = False ;
3732 PyObject * obj0 = 0 ;
3733 PyObject * obj1 = 0 ;
3734 PyObject * obj2 = 0 ;
3735 char *kwnames[] = {
3736 (char *) "self",(char *) "lenEntered",(char *) "itemList", NULL
3737 };
3738
3739 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_AutoCompShow",kwnames,&obj0,&obj1,&obj2)) goto fail;
3740 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
3741 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3742 arg2 = (int) SWIG_AsInt(obj1);
3743 if (PyErr_Occurred()) SWIG_fail;
3744 {
3745 arg3 = wxString_in_helper(obj2);
3746 if (arg3 == NULL) SWIG_fail;
3747 temp3 = True;
3748 }
3749 {
3750 PyThreadState* __tstate = wxPyBeginAllowThreads();
3751 (arg1)->AutoCompShow(arg2,(wxString const &)*arg3);
3752
3753 wxPyEndAllowThreads(__tstate);
3754 if (PyErr_Occurred()) SWIG_fail;
3755 }
3756 Py_INCREF(Py_None); resultobj = Py_None;
3757 {
3758 if (temp3)
3759 delete arg3;
3760 }
3761 return resultobj;
3762 fail:
3763 {
3764 if (temp3)
3765 delete arg3;
3766 }
3767 return NULL;
3768 }
3769
3770
3771 static PyObject *_wrap_StyledTextCtrl_AutoCompCancel(PyObject *self, PyObject *args, PyObject *kwargs) {
3772 PyObject *resultobj;
3773 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3774 PyObject * obj0 = 0 ;
3775 char *kwnames[] = {
3776 (char *) "self", NULL
3777 };
3778
3779 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_AutoCompCancel",kwnames,&obj0)) goto fail;
3780 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
3781 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3782 {
3783 PyThreadState* __tstate = wxPyBeginAllowThreads();
3784 (arg1)->AutoCompCancel();
3785
3786 wxPyEndAllowThreads(__tstate);
3787 if (PyErr_Occurred()) SWIG_fail;
3788 }
3789 Py_INCREF(Py_None); resultobj = Py_None;
3790 return resultobj;
3791 fail:
3792 return NULL;
3793 }
3794
3795
3796 static PyObject *_wrap_StyledTextCtrl_AutoCompActive(PyObject *self, PyObject *args, PyObject *kwargs) {
3797 PyObject *resultobj;
3798 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3799 bool result;
3800 PyObject * obj0 = 0 ;
3801 char *kwnames[] = {
3802 (char *) "self", NULL
3803 };
3804
3805 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_AutoCompActive",kwnames,&obj0)) goto fail;
3806 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
3807 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3808 {
3809 PyThreadState* __tstate = wxPyBeginAllowThreads();
3810 result = (bool)(arg1)->AutoCompActive();
3811
3812 wxPyEndAllowThreads(__tstate);
3813 if (PyErr_Occurred()) SWIG_fail;
3814 }
3815 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3816 return resultobj;
3817 fail:
3818 return NULL;
3819 }
3820
3821
3822 static PyObject *_wrap_StyledTextCtrl_AutoCompPosStart(PyObject *self, PyObject *args, PyObject *kwargs) {
3823 PyObject *resultobj;
3824 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3825 int result;
3826 PyObject * obj0 = 0 ;
3827 char *kwnames[] = {
3828 (char *) "self", NULL
3829 };
3830
3831 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_AutoCompPosStart",kwnames,&obj0)) goto fail;
3832 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
3833 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3834 {
3835 PyThreadState* __tstate = wxPyBeginAllowThreads();
3836 result = (int)(arg1)->AutoCompPosStart();
3837
3838 wxPyEndAllowThreads(__tstate);
3839 if (PyErr_Occurred()) SWIG_fail;
3840 }
3841 resultobj = SWIG_FromInt((int)result);
3842 return resultobj;
3843 fail:
3844 return NULL;
3845 }
3846
3847
3848 static PyObject *_wrap_StyledTextCtrl_AutoCompComplete(PyObject *self, PyObject *args, PyObject *kwargs) {
3849 PyObject *resultobj;
3850 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3851 PyObject * obj0 = 0 ;
3852 char *kwnames[] = {
3853 (char *) "self", NULL
3854 };
3855
3856 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_AutoCompComplete",kwnames,&obj0)) goto fail;
3857 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
3858 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3859 {
3860 PyThreadState* __tstate = wxPyBeginAllowThreads();
3861 (arg1)->AutoCompComplete();
3862
3863 wxPyEndAllowThreads(__tstate);
3864 if (PyErr_Occurred()) SWIG_fail;
3865 }
3866 Py_INCREF(Py_None); resultobj = Py_None;
3867 return resultobj;
3868 fail:
3869 return NULL;
3870 }
3871
3872
3873 static PyObject *_wrap_StyledTextCtrl_AutoCompStops(PyObject *self, PyObject *args, PyObject *kwargs) {
3874 PyObject *resultobj;
3875 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3876 wxString *arg2 = 0 ;
3877 bool temp2 = False ;
3878 PyObject * obj0 = 0 ;
3879 PyObject * obj1 = 0 ;
3880 char *kwnames[] = {
3881 (char *) "self",(char *) "characterSet", NULL
3882 };
3883
3884 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_AutoCompStops",kwnames,&obj0,&obj1)) goto fail;
3885 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
3886 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3887 {
3888 arg2 = wxString_in_helper(obj1);
3889 if (arg2 == NULL) SWIG_fail;
3890 temp2 = True;
3891 }
3892 {
3893 PyThreadState* __tstate = wxPyBeginAllowThreads();
3894 (arg1)->AutoCompStops((wxString const &)*arg2);
3895
3896 wxPyEndAllowThreads(__tstate);
3897 if (PyErr_Occurred()) SWIG_fail;
3898 }
3899 Py_INCREF(Py_None); resultobj = Py_None;
3900 {
3901 if (temp2)
3902 delete arg2;
3903 }
3904 return resultobj;
3905 fail:
3906 {
3907 if (temp2)
3908 delete arg2;
3909 }
3910 return NULL;
3911 }
3912
3913
3914 static PyObject *_wrap_StyledTextCtrl_AutoCompSetSeparator(PyObject *self, PyObject *args, PyObject *kwargs) {
3915 PyObject *resultobj;
3916 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3917 int arg2 ;
3918 PyObject * obj0 = 0 ;
3919 PyObject * obj1 = 0 ;
3920 char *kwnames[] = {
3921 (char *) "self",(char *) "separatorCharacter", NULL
3922 };
3923
3924 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_AutoCompSetSeparator",kwnames,&obj0,&obj1)) goto fail;
3925 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
3926 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3927 arg2 = (int) SWIG_AsInt(obj1);
3928 if (PyErr_Occurred()) SWIG_fail;
3929 {
3930 PyThreadState* __tstate = wxPyBeginAllowThreads();
3931 (arg1)->AutoCompSetSeparator(arg2);
3932
3933 wxPyEndAllowThreads(__tstate);
3934 if (PyErr_Occurred()) SWIG_fail;
3935 }
3936 Py_INCREF(Py_None); resultobj = Py_None;
3937 return resultobj;
3938 fail:
3939 return NULL;
3940 }
3941
3942
3943 static PyObject *_wrap_StyledTextCtrl_AutoCompGetSeparator(PyObject *self, PyObject *args, PyObject *kwargs) {
3944 PyObject *resultobj;
3945 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3946 int result;
3947 PyObject * obj0 = 0 ;
3948 char *kwnames[] = {
3949 (char *) "self", NULL
3950 };
3951
3952 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_AutoCompGetSeparator",kwnames,&obj0)) goto fail;
3953 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
3954 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3955 {
3956 PyThreadState* __tstate = wxPyBeginAllowThreads();
3957 result = (int)(arg1)->AutoCompGetSeparator();
3958
3959 wxPyEndAllowThreads(__tstate);
3960 if (PyErr_Occurred()) SWIG_fail;
3961 }
3962 resultobj = SWIG_FromInt((int)result);
3963 return resultobj;
3964 fail:
3965 return NULL;
3966 }
3967
3968
3969 static PyObject *_wrap_StyledTextCtrl_AutoCompSelect(PyObject *self, PyObject *args, PyObject *kwargs) {
3970 PyObject *resultobj;
3971 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
3972 wxString *arg2 = 0 ;
3973 bool temp2 = False ;
3974 PyObject * obj0 = 0 ;
3975 PyObject * obj1 = 0 ;
3976 char *kwnames[] = {
3977 (char *) "self",(char *) "text", NULL
3978 };
3979
3980 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_AutoCompSelect",kwnames,&obj0,&obj1)) goto fail;
3981 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
3982 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3983 {
3984 arg2 = wxString_in_helper(obj1);
3985 if (arg2 == NULL) SWIG_fail;
3986 temp2 = True;
3987 }
3988 {
3989 PyThreadState* __tstate = wxPyBeginAllowThreads();
3990 (arg1)->AutoCompSelect((wxString const &)*arg2);
3991
3992 wxPyEndAllowThreads(__tstate);
3993 if (PyErr_Occurred()) SWIG_fail;
3994 }
3995 Py_INCREF(Py_None); resultobj = Py_None;
3996 {
3997 if (temp2)
3998 delete arg2;
3999 }
4000 return resultobj;
4001 fail:
4002 {
4003 if (temp2)
4004 delete arg2;
4005 }
4006 return NULL;
4007 }
4008
4009
4010 static PyObject *_wrap_StyledTextCtrl_AutoCompSetCancelAtStart(PyObject *self, PyObject *args, PyObject *kwargs) {
4011 PyObject *resultobj;
4012 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4013 bool arg2 ;
4014 PyObject * obj0 = 0 ;
4015 PyObject * obj1 = 0 ;
4016 char *kwnames[] = {
4017 (char *) "self",(char *) "cancel", NULL
4018 };
4019
4020 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_AutoCompSetCancelAtStart",kwnames,&obj0,&obj1)) goto fail;
4021 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
4022 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4023 arg2 = (bool) SWIG_AsBool(obj1);
4024 if (PyErr_Occurred()) SWIG_fail;
4025 {
4026 PyThreadState* __tstate = wxPyBeginAllowThreads();
4027 (arg1)->AutoCompSetCancelAtStart(arg2);
4028
4029 wxPyEndAllowThreads(__tstate);
4030 if (PyErr_Occurred()) SWIG_fail;
4031 }
4032 Py_INCREF(Py_None); resultobj = Py_None;
4033 return resultobj;
4034 fail:
4035 return NULL;
4036 }
4037
4038
4039 static PyObject *_wrap_StyledTextCtrl_AutoCompGetCancelAtStart(PyObject *self, PyObject *args, PyObject *kwargs) {
4040 PyObject *resultobj;
4041 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4042 bool result;
4043 PyObject * obj0 = 0 ;
4044 char *kwnames[] = {
4045 (char *) "self", NULL
4046 };
4047
4048 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_AutoCompGetCancelAtStart",kwnames,&obj0)) goto fail;
4049 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
4050 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4051 {
4052 PyThreadState* __tstate = wxPyBeginAllowThreads();
4053 result = (bool)(arg1)->AutoCompGetCancelAtStart();
4054
4055 wxPyEndAllowThreads(__tstate);
4056 if (PyErr_Occurred()) SWIG_fail;
4057 }
4058 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4059 return resultobj;
4060 fail:
4061 return NULL;
4062 }
4063
4064
4065 static PyObject *_wrap_StyledTextCtrl_AutoCompSetFillUps(PyObject *self, PyObject *args, PyObject *kwargs) {
4066 PyObject *resultobj;
4067 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4068 wxString *arg2 = 0 ;
4069 bool temp2 = False ;
4070 PyObject * obj0 = 0 ;
4071 PyObject * obj1 = 0 ;
4072 char *kwnames[] = {
4073 (char *) "self",(char *) "characterSet", NULL
4074 };
4075
4076 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_AutoCompSetFillUps",kwnames,&obj0,&obj1)) goto fail;
4077 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
4078 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4079 {
4080 arg2 = wxString_in_helper(obj1);
4081 if (arg2 == NULL) SWIG_fail;
4082 temp2 = True;
4083 }
4084 {
4085 PyThreadState* __tstate = wxPyBeginAllowThreads();
4086 (arg1)->AutoCompSetFillUps((wxString const &)*arg2);
4087
4088 wxPyEndAllowThreads(__tstate);
4089 if (PyErr_Occurred()) SWIG_fail;
4090 }
4091 Py_INCREF(Py_None); resultobj = Py_None;
4092 {
4093 if (temp2)
4094 delete arg2;
4095 }
4096 return resultobj;
4097 fail:
4098 {
4099 if (temp2)
4100 delete arg2;
4101 }
4102 return NULL;
4103 }
4104
4105
4106 static PyObject *_wrap_StyledTextCtrl_AutoCompSetChooseSingle(PyObject *self, PyObject *args, PyObject *kwargs) {
4107 PyObject *resultobj;
4108 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4109 bool arg2 ;
4110 PyObject * obj0 = 0 ;
4111 PyObject * obj1 = 0 ;
4112 char *kwnames[] = {
4113 (char *) "self",(char *) "chooseSingle", NULL
4114 };
4115
4116 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_AutoCompSetChooseSingle",kwnames,&obj0,&obj1)) goto fail;
4117 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
4118 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4119 arg2 = (bool) SWIG_AsBool(obj1);
4120 if (PyErr_Occurred()) SWIG_fail;
4121 {
4122 PyThreadState* __tstate = wxPyBeginAllowThreads();
4123 (arg1)->AutoCompSetChooseSingle(arg2);
4124
4125 wxPyEndAllowThreads(__tstate);
4126 if (PyErr_Occurred()) SWIG_fail;
4127 }
4128 Py_INCREF(Py_None); resultobj = Py_None;
4129 return resultobj;
4130 fail:
4131 return NULL;
4132 }
4133
4134
4135 static PyObject *_wrap_StyledTextCtrl_AutoCompGetChooseSingle(PyObject *self, PyObject *args, PyObject *kwargs) {
4136 PyObject *resultobj;
4137 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4138 bool result;
4139 PyObject * obj0 = 0 ;
4140 char *kwnames[] = {
4141 (char *) "self", NULL
4142 };
4143
4144 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_AutoCompGetChooseSingle",kwnames,&obj0)) goto fail;
4145 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
4146 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4147 {
4148 PyThreadState* __tstate = wxPyBeginAllowThreads();
4149 result = (bool)(arg1)->AutoCompGetChooseSingle();
4150
4151 wxPyEndAllowThreads(__tstate);
4152 if (PyErr_Occurred()) SWIG_fail;
4153 }
4154 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4155 return resultobj;
4156 fail:
4157 return NULL;
4158 }
4159
4160
4161 static PyObject *_wrap_StyledTextCtrl_AutoCompSetIgnoreCase(PyObject *self, PyObject *args, PyObject *kwargs) {
4162 PyObject *resultobj;
4163 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4164 bool arg2 ;
4165 PyObject * obj0 = 0 ;
4166 PyObject * obj1 = 0 ;
4167 char *kwnames[] = {
4168 (char *) "self",(char *) "ignoreCase", NULL
4169 };
4170
4171 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_AutoCompSetIgnoreCase",kwnames,&obj0,&obj1)) goto fail;
4172 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
4173 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4174 arg2 = (bool) SWIG_AsBool(obj1);
4175 if (PyErr_Occurred()) SWIG_fail;
4176 {
4177 PyThreadState* __tstate = wxPyBeginAllowThreads();
4178 (arg1)->AutoCompSetIgnoreCase(arg2);
4179
4180 wxPyEndAllowThreads(__tstate);
4181 if (PyErr_Occurred()) SWIG_fail;
4182 }
4183 Py_INCREF(Py_None); resultobj = Py_None;
4184 return resultobj;
4185 fail:
4186 return NULL;
4187 }
4188
4189
4190 static PyObject *_wrap_StyledTextCtrl_AutoCompGetIgnoreCase(PyObject *self, PyObject *args, PyObject *kwargs) {
4191 PyObject *resultobj;
4192 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4193 bool result;
4194 PyObject * obj0 = 0 ;
4195 char *kwnames[] = {
4196 (char *) "self", NULL
4197 };
4198
4199 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_AutoCompGetIgnoreCase",kwnames,&obj0)) goto fail;
4200 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
4201 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4202 {
4203 PyThreadState* __tstate = wxPyBeginAllowThreads();
4204 result = (bool)(arg1)->AutoCompGetIgnoreCase();
4205
4206 wxPyEndAllowThreads(__tstate);
4207 if (PyErr_Occurred()) SWIG_fail;
4208 }
4209 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4210 return resultobj;
4211 fail:
4212 return NULL;
4213 }
4214
4215
4216 static PyObject *_wrap_StyledTextCtrl_UserListShow(PyObject *self, PyObject *args, PyObject *kwargs) {
4217 PyObject *resultobj;
4218 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4219 int arg2 ;
4220 wxString *arg3 = 0 ;
4221 bool temp3 = False ;
4222 PyObject * obj0 = 0 ;
4223 PyObject * obj1 = 0 ;
4224 PyObject * obj2 = 0 ;
4225 char *kwnames[] = {
4226 (char *) "self",(char *) "listType",(char *) "itemList", NULL
4227 };
4228
4229 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_UserListShow",kwnames,&obj0,&obj1,&obj2)) goto fail;
4230 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
4231 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4232 arg2 = (int) SWIG_AsInt(obj1);
4233 if (PyErr_Occurred()) SWIG_fail;
4234 {
4235 arg3 = wxString_in_helper(obj2);
4236 if (arg3 == NULL) SWIG_fail;
4237 temp3 = True;
4238 }
4239 {
4240 PyThreadState* __tstate = wxPyBeginAllowThreads();
4241 (arg1)->UserListShow(arg2,(wxString const &)*arg3);
4242
4243 wxPyEndAllowThreads(__tstate);
4244 if (PyErr_Occurred()) SWIG_fail;
4245 }
4246 Py_INCREF(Py_None); resultobj = Py_None;
4247 {
4248 if (temp3)
4249 delete arg3;
4250 }
4251 return resultobj;
4252 fail:
4253 {
4254 if (temp3)
4255 delete arg3;
4256 }
4257 return NULL;
4258 }
4259
4260
4261 static PyObject *_wrap_StyledTextCtrl_AutoCompSetAutoHide(PyObject *self, PyObject *args, PyObject *kwargs) {
4262 PyObject *resultobj;
4263 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4264 bool arg2 ;
4265 PyObject * obj0 = 0 ;
4266 PyObject * obj1 = 0 ;
4267 char *kwnames[] = {
4268 (char *) "self",(char *) "autoHide", NULL
4269 };
4270
4271 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_AutoCompSetAutoHide",kwnames,&obj0,&obj1)) goto fail;
4272 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
4273 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4274 arg2 = (bool) SWIG_AsBool(obj1);
4275 if (PyErr_Occurred()) SWIG_fail;
4276 {
4277 PyThreadState* __tstate = wxPyBeginAllowThreads();
4278 (arg1)->AutoCompSetAutoHide(arg2);
4279
4280 wxPyEndAllowThreads(__tstate);
4281 if (PyErr_Occurred()) SWIG_fail;
4282 }
4283 Py_INCREF(Py_None); resultobj = Py_None;
4284 return resultobj;
4285 fail:
4286 return NULL;
4287 }
4288
4289
4290 static PyObject *_wrap_StyledTextCtrl_AutoCompGetAutoHide(PyObject *self, PyObject *args, PyObject *kwargs) {
4291 PyObject *resultobj;
4292 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4293 bool result;
4294 PyObject * obj0 = 0 ;
4295 char *kwnames[] = {
4296 (char *) "self", NULL
4297 };
4298
4299 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_AutoCompGetAutoHide",kwnames,&obj0)) goto fail;
4300 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
4301 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4302 {
4303 PyThreadState* __tstate = wxPyBeginAllowThreads();
4304 result = (bool)(arg1)->AutoCompGetAutoHide();
4305
4306 wxPyEndAllowThreads(__tstate);
4307 if (PyErr_Occurred()) SWIG_fail;
4308 }
4309 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4310 return resultobj;
4311 fail:
4312 return NULL;
4313 }
4314
4315
4316 static PyObject *_wrap_StyledTextCtrl_AutoCompSetDropRestOfWord(PyObject *self, PyObject *args, PyObject *kwargs) {
4317 PyObject *resultobj;
4318 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4319 bool arg2 ;
4320 PyObject * obj0 = 0 ;
4321 PyObject * obj1 = 0 ;
4322 char *kwnames[] = {
4323 (char *) "self",(char *) "dropRestOfWord", NULL
4324 };
4325
4326 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_AutoCompSetDropRestOfWord",kwnames,&obj0,&obj1)) goto fail;
4327 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
4328 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4329 arg2 = (bool) SWIG_AsBool(obj1);
4330 if (PyErr_Occurred()) SWIG_fail;
4331 {
4332 PyThreadState* __tstate = wxPyBeginAllowThreads();
4333 (arg1)->AutoCompSetDropRestOfWord(arg2);
4334
4335 wxPyEndAllowThreads(__tstate);
4336 if (PyErr_Occurred()) SWIG_fail;
4337 }
4338 Py_INCREF(Py_None); resultobj = Py_None;
4339 return resultobj;
4340 fail:
4341 return NULL;
4342 }
4343
4344
4345 static PyObject *_wrap_StyledTextCtrl_AutoCompGetDropRestOfWord(PyObject *self, PyObject *args, PyObject *kwargs) {
4346 PyObject *resultobj;
4347 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4348 bool result;
4349 PyObject * obj0 = 0 ;
4350 char *kwnames[] = {
4351 (char *) "self", NULL
4352 };
4353
4354 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_AutoCompGetDropRestOfWord",kwnames,&obj0)) goto fail;
4355 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
4356 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4357 {
4358 PyThreadState* __tstate = wxPyBeginAllowThreads();
4359 result = (bool)(arg1)->AutoCompGetDropRestOfWord();
4360
4361 wxPyEndAllowThreads(__tstate);
4362 if (PyErr_Occurred()) SWIG_fail;
4363 }
4364 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4365 return resultobj;
4366 fail:
4367 return NULL;
4368 }
4369
4370
4371 static PyObject *_wrap_StyledTextCtrl_RegisterImage(PyObject *self, PyObject *args, PyObject *kwargs) {
4372 PyObject *resultobj;
4373 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4374 int arg2 ;
4375 wxBitmap *arg3 = 0 ;
4376 PyObject * obj0 = 0 ;
4377 PyObject * obj1 = 0 ;
4378 PyObject * obj2 = 0 ;
4379 char *kwnames[] = {
4380 (char *) "self",(char *) "type",(char *) "bmp", NULL
4381 };
4382
4383 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_RegisterImage",kwnames,&obj0,&obj1,&obj2)) goto fail;
4384 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
4385 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4386 arg2 = (int) SWIG_AsInt(obj1);
4387 if (PyErr_Occurred()) SWIG_fail;
4388 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxBitmap,
4389 SWIG_POINTER_EXCEPTION | 0)) == -1)
4390 SWIG_fail;
4391 if (arg3 == NULL) {
4392 PyErr_SetString(PyExc_TypeError,"null reference");
4393 SWIG_fail;
4394 }
4395 {
4396 PyThreadState* __tstate = wxPyBeginAllowThreads();
4397 (arg1)->RegisterImage(arg2,(wxBitmap const &)*arg3);
4398
4399 wxPyEndAllowThreads(__tstate);
4400 if (PyErr_Occurred()) SWIG_fail;
4401 }
4402 Py_INCREF(Py_None); resultobj = Py_None;
4403 return resultobj;
4404 fail:
4405 return NULL;
4406 }
4407
4408
4409 static PyObject *_wrap_StyledTextCtrl_ClearRegisteredImages(PyObject *self, PyObject *args, PyObject *kwargs) {
4410 PyObject *resultobj;
4411 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4412 PyObject * obj0 = 0 ;
4413 char *kwnames[] = {
4414 (char *) "self", NULL
4415 };
4416
4417 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_ClearRegisteredImages",kwnames,&obj0)) goto fail;
4418 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
4419 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4420 {
4421 PyThreadState* __tstate = wxPyBeginAllowThreads();
4422 (arg1)->ClearRegisteredImages();
4423
4424 wxPyEndAllowThreads(__tstate);
4425 if (PyErr_Occurred()) SWIG_fail;
4426 }
4427 Py_INCREF(Py_None); resultobj = Py_None;
4428 return resultobj;
4429 fail:
4430 return NULL;
4431 }
4432
4433
4434 static PyObject *_wrap_StyledTextCtrl_AutoCompGetTypeSeparator(PyObject *self, PyObject *args, PyObject *kwargs) {
4435 PyObject *resultobj;
4436 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4437 int result;
4438 PyObject * obj0 = 0 ;
4439 char *kwnames[] = {
4440 (char *) "self", NULL
4441 };
4442
4443 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_AutoCompGetTypeSeparator",kwnames,&obj0)) goto fail;
4444 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
4445 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4446 {
4447 PyThreadState* __tstate = wxPyBeginAllowThreads();
4448 result = (int)(arg1)->AutoCompGetTypeSeparator();
4449
4450 wxPyEndAllowThreads(__tstate);
4451 if (PyErr_Occurred()) SWIG_fail;
4452 }
4453 resultobj = SWIG_FromInt((int)result);
4454 return resultobj;
4455 fail:
4456 return NULL;
4457 }
4458
4459
4460 static PyObject *_wrap_StyledTextCtrl_AutoCompSetTypeSeparator(PyObject *self, PyObject *args, PyObject *kwargs) {
4461 PyObject *resultobj;
4462 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4463 int arg2 ;
4464 PyObject * obj0 = 0 ;
4465 PyObject * obj1 = 0 ;
4466 char *kwnames[] = {
4467 (char *) "self",(char *) "separatorCharacter", NULL
4468 };
4469
4470 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_AutoCompSetTypeSeparator",kwnames,&obj0,&obj1)) goto fail;
4471 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
4472 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4473 arg2 = (int) SWIG_AsInt(obj1);
4474 if (PyErr_Occurred()) SWIG_fail;
4475 {
4476 PyThreadState* __tstate = wxPyBeginAllowThreads();
4477 (arg1)->AutoCompSetTypeSeparator(arg2);
4478
4479 wxPyEndAllowThreads(__tstate);
4480 if (PyErr_Occurred()) SWIG_fail;
4481 }
4482 Py_INCREF(Py_None); resultobj = Py_None;
4483 return resultobj;
4484 fail:
4485 return NULL;
4486 }
4487
4488
4489 static PyObject *_wrap_StyledTextCtrl_SetIndent(PyObject *self, PyObject *args, PyObject *kwargs) {
4490 PyObject *resultobj;
4491 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4492 int arg2 ;
4493 PyObject * obj0 = 0 ;
4494 PyObject * obj1 = 0 ;
4495 char *kwnames[] = {
4496 (char *) "self",(char *) "indentSize", NULL
4497 };
4498
4499 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetIndent",kwnames,&obj0,&obj1)) goto fail;
4500 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
4501 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4502 arg2 = (int) SWIG_AsInt(obj1);
4503 if (PyErr_Occurred()) SWIG_fail;
4504 {
4505 PyThreadState* __tstate = wxPyBeginAllowThreads();
4506 (arg1)->SetIndent(arg2);
4507
4508 wxPyEndAllowThreads(__tstate);
4509 if (PyErr_Occurred()) SWIG_fail;
4510 }
4511 Py_INCREF(Py_None); resultobj = Py_None;
4512 return resultobj;
4513 fail:
4514 return NULL;
4515 }
4516
4517
4518 static PyObject *_wrap_StyledTextCtrl_GetIndent(PyObject *self, PyObject *args, PyObject *kwargs) {
4519 PyObject *resultobj;
4520 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4521 int result;
4522 PyObject * obj0 = 0 ;
4523 char *kwnames[] = {
4524 (char *) "self", NULL
4525 };
4526
4527 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetIndent",kwnames,&obj0)) goto fail;
4528 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
4529 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4530 {
4531 PyThreadState* __tstate = wxPyBeginAllowThreads();
4532 result = (int)(arg1)->GetIndent();
4533
4534 wxPyEndAllowThreads(__tstate);
4535 if (PyErr_Occurred()) SWIG_fail;
4536 }
4537 resultobj = SWIG_FromInt((int)result);
4538 return resultobj;
4539 fail:
4540 return NULL;
4541 }
4542
4543
4544 static PyObject *_wrap_StyledTextCtrl_SetUseTabs(PyObject *self, PyObject *args, PyObject *kwargs) {
4545 PyObject *resultobj;
4546 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4547 bool arg2 ;
4548 PyObject * obj0 = 0 ;
4549 PyObject * obj1 = 0 ;
4550 char *kwnames[] = {
4551 (char *) "self",(char *) "useTabs", NULL
4552 };
4553
4554 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetUseTabs",kwnames,&obj0,&obj1)) goto fail;
4555 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
4556 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4557 arg2 = (bool) SWIG_AsBool(obj1);
4558 if (PyErr_Occurred()) SWIG_fail;
4559 {
4560 PyThreadState* __tstate = wxPyBeginAllowThreads();
4561 (arg1)->SetUseTabs(arg2);
4562
4563 wxPyEndAllowThreads(__tstate);
4564 if (PyErr_Occurred()) SWIG_fail;
4565 }
4566 Py_INCREF(Py_None); resultobj = Py_None;
4567 return resultobj;
4568 fail:
4569 return NULL;
4570 }
4571
4572
4573 static PyObject *_wrap_StyledTextCtrl_GetUseTabs(PyObject *self, PyObject *args, PyObject *kwargs) {
4574 PyObject *resultobj;
4575 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4576 bool result;
4577 PyObject * obj0 = 0 ;
4578 char *kwnames[] = {
4579 (char *) "self", NULL
4580 };
4581
4582 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetUseTabs",kwnames,&obj0)) goto fail;
4583 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
4584 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4585 {
4586 PyThreadState* __tstate = wxPyBeginAllowThreads();
4587 result = (bool)(arg1)->GetUseTabs();
4588
4589 wxPyEndAllowThreads(__tstate);
4590 if (PyErr_Occurred()) SWIG_fail;
4591 }
4592 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4593 return resultobj;
4594 fail:
4595 return NULL;
4596 }
4597
4598
4599 static PyObject *_wrap_StyledTextCtrl_SetLineIndentation(PyObject *self, PyObject *args, PyObject *kwargs) {
4600 PyObject *resultobj;
4601 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4602 int arg2 ;
4603 int arg3 ;
4604 PyObject * obj0 = 0 ;
4605 PyObject * obj1 = 0 ;
4606 PyObject * obj2 = 0 ;
4607 char *kwnames[] = {
4608 (char *) "self",(char *) "line",(char *) "indentSize", NULL
4609 };
4610
4611 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetLineIndentation",kwnames,&obj0,&obj1,&obj2)) goto fail;
4612 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
4613 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4614 arg2 = (int) SWIG_AsInt(obj1);
4615 if (PyErr_Occurred()) SWIG_fail;
4616 arg3 = (int) SWIG_AsInt(obj2);
4617 if (PyErr_Occurred()) SWIG_fail;
4618 {
4619 PyThreadState* __tstate = wxPyBeginAllowThreads();
4620 (arg1)->SetLineIndentation(arg2,arg3);
4621
4622 wxPyEndAllowThreads(__tstate);
4623 if (PyErr_Occurred()) SWIG_fail;
4624 }
4625 Py_INCREF(Py_None); resultobj = Py_None;
4626 return resultobj;
4627 fail:
4628 return NULL;
4629 }
4630
4631
4632 static PyObject *_wrap_StyledTextCtrl_GetLineIndentation(PyObject *self, PyObject *args, PyObject *kwargs) {
4633 PyObject *resultobj;
4634 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4635 int arg2 ;
4636 int result;
4637 PyObject * obj0 = 0 ;
4638 PyObject * obj1 = 0 ;
4639 char *kwnames[] = {
4640 (char *) "self",(char *) "line", NULL
4641 };
4642
4643 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GetLineIndentation",kwnames,&obj0,&obj1)) 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 {
4649 PyThreadState* __tstate = wxPyBeginAllowThreads();
4650 result = (int)(arg1)->GetLineIndentation(arg2);
4651
4652 wxPyEndAllowThreads(__tstate);
4653 if (PyErr_Occurred()) SWIG_fail;
4654 }
4655 resultobj = SWIG_FromInt((int)result);
4656 return resultobj;
4657 fail:
4658 return NULL;
4659 }
4660
4661
4662 static PyObject *_wrap_StyledTextCtrl_GetLineIndentPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
4663 PyObject *resultobj;
4664 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4665 int arg2 ;
4666 int result;
4667 PyObject * obj0 = 0 ;
4668 PyObject * obj1 = 0 ;
4669 char *kwnames[] = {
4670 (char *) "self",(char *) "line", NULL
4671 };
4672
4673 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GetLineIndentPosition",kwnames,&obj0,&obj1)) goto fail;
4674 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
4675 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4676 arg2 = (int) SWIG_AsInt(obj1);
4677 if (PyErr_Occurred()) SWIG_fail;
4678 {
4679 PyThreadState* __tstate = wxPyBeginAllowThreads();
4680 result = (int)(arg1)->GetLineIndentPosition(arg2);
4681
4682 wxPyEndAllowThreads(__tstate);
4683 if (PyErr_Occurred()) SWIG_fail;
4684 }
4685 resultobj = SWIG_FromInt((int)result);
4686 return resultobj;
4687 fail:
4688 return NULL;
4689 }
4690
4691
4692 static PyObject *_wrap_StyledTextCtrl_GetColumn(PyObject *self, PyObject *args, PyObject *kwargs) {
4693 PyObject *resultobj;
4694 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4695 int arg2 ;
4696 int result;
4697 PyObject * obj0 = 0 ;
4698 PyObject * obj1 = 0 ;
4699 char *kwnames[] = {
4700 (char *) "self",(char *) "pos", NULL
4701 };
4702
4703 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GetColumn",kwnames,&obj0,&obj1)) goto fail;
4704 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
4705 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4706 arg2 = (int) SWIG_AsInt(obj1);
4707 if (PyErr_Occurred()) SWIG_fail;
4708 {
4709 PyThreadState* __tstate = wxPyBeginAllowThreads();
4710 result = (int)(arg1)->GetColumn(arg2);
4711
4712 wxPyEndAllowThreads(__tstate);
4713 if (PyErr_Occurred()) SWIG_fail;
4714 }
4715 resultobj = SWIG_FromInt((int)result);
4716 return resultobj;
4717 fail:
4718 return NULL;
4719 }
4720
4721
4722 static PyObject *_wrap_StyledTextCtrl_SetUseHorizontalScrollBar(PyObject *self, PyObject *args, PyObject *kwargs) {
4723 PyObject *resultobj;
4724 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4725 bool arg2 ;
4726 PyObject * obj0 = 0 ;
4727 PyObject * obj1 = 0 ;
4728 char *kwnames[] = {
4729 (char *) "self",(char *) "show", NULL
4730 };
4731
4732 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetUseHorizontalScrollBar",kwnames,&obj0,&obj1)) goto fail;
4733 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
4734 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4735 arg2 = (bool) SWIG_AsBool(obj1);
4736 if (PyErr_Occurred()) SWIG_fail;
4737 {
4738 PyThreadState* __tstate = wxPyBeginAllowThreads();
4739 (arg1)->SetUseHorizontalScrollBar(arg2);
4740
4741 wxPyEndAllowThreads(__tstate);
4742 if (PyErr_Occurred()) SWIG_fail;
4743 }
4744 Py_INCREF(Py_None); resultobj = Py_None;
4745 return resultobj;
4746 fail:
4747 return NULL;
4748 }
4749
4750
4751 static PyObject *_wrap_StyledTextCtrl_GetUseHorizontalScrollBar(PyObject *self, PyObject *args, PyObject *kwargs) {
4752 PyObject *resultobj;
4753 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4754 bool result;
4755 PyObject * obj0 = 0 ;
4756 char *kwnames[] = {
4757 (char *) "self", NULL
4758 };
4759
4760 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetUseHorizontalScrollBar",kwnames,&obj0)) goto fail;
4761 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
4762 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4763 {
4764 PyThreadState* __tstate = wxPyBeginAllowThreads();
4765 result = (bool)(arg1)->GetUseHorizontalScrollBar();
4766
4767 wxPyEndAllowThreads(__tstate);
4768 if (PyErr_Occurred()) SWIG_fail;
4769 }
4770 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4771 return resultobj;
4772 fail:
4773 return NULL;
4774 }
4775
4776
4777 static PyObject *_wrap_StyledTextCtrl_SetIndentationGuides(PyObject *self, PyObject *args, PyObject *kwargs) {
4778 PyObject *resultobj;
4779 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4780 bool arg2 ;
4781 PyObject * obj0 = 0 ;
4782 PyObject * obj1 = 0 ;
4783 char *kwnames[] = {
4784 (char *) "self",(char *) "show", NULL
4785 };
4786
4787 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetIndentationGuides",kwnames,&obj0,&obj1)) goto fail;
4788 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
4789 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4790 arg2 = (bool) SWIG_AsBool(obj1);
4791 if (PyErr_Occurred()) SWIG_fail;
4792 {
4793 PyThreadState* __tstate = wxPyBeginAllowThreads();
4794 (arg1)->SetIndentationGuides(arg2);
4795
4796 wxPyEndAllowThreads(__tstate);
4797 if (PyErr_Occurred()) SWIG_fail;
4798 }
4799 Py_INCREF(Py_None); resultobj = Py_None;
4800 return resultobj;
4801 fail:
4802 return NULL;
4803 }
4804
4805
4806 static PyObject *_wrap_StyledTextCtrl_GetIndentationGuides(PyObject *self, PyObject *args, PyObject *kwargs) {
4807 PyObject *resultobj;
4808 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4809 bool result;
4810 PyObject * obj0 = 0 ;
4811 char *kwnames[] = {
4812 (char *) "self", NULL
4813 };
4814
4815 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetIndentationGuides",kwnames,&obj0)) goto fail;
4816 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
4817 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4818 {
4819 PyThreadState* __tstate = wxPyBeginAllowThreads();
4820 result = (bool)(arg1)->GetIndentationGuides();
4821
4822 wxPyEndAllowThreads(__tstate);
4823 if (PyErr_Occurred()) SWIG_fail;
4824 }
4825 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4826 return resultobj;
4827 fail:
4828 return NULL;
4829 }
4830
4831
4832 static PyObject *_wrap_StyledTextCtrl_SetHighlightGuide(PyObject *self, PyObject *args, PyObject *kwargs) {
4833 PyObject *resultobj;
4834 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4835 int arg2 ;
4836 PyObject * obj0 = 0 ;
4837 PyObject * obj1 = 0 ;
4838 char *kwnames[] = {
4839 (char *) "self",(char *) "column", NULL
4840 };
4841
4842 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetHighlightGuide",kwnames,&obj0,&obj1)) goto fail;
4843 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
4844 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4845 arg2 = (int) SWIG_AsInt(obj1);
4846 if (PyErr_Occurred()) SWIG_fail;
4847 {
4848 PyThreadState* __tstate = wxPyBeginAllowThreads();
4849 (arg1)->SetHighlightGuide(arg2);
4850
4851 wxPyEndAllowThreads(__tstate);
4852 if (PyErr_Occurred()) SWIG_fail;
4853 }
4854 Py_INCREF(Py_None); resultobj = Py_None;
4855 return resultobj;
4856 fail:
4857 return NULL;
4858 }
4859
4860
4861 static PyObject *_wrap_StyledTextCtrl_GetHighlightGuide(PyObject *self, PyObject *args, PyObject *kwargs) {
4862 PyObject *resultobj;
4863 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4864 int result;
4865 PyObject * obj0 = 0 ;
4866 char *kwnames[] = {
4867 (char *) "self", NULL
4868 };
4869
4870 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetHighlightGuide",kwnames,&obj0)) goto fail;
4871 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
4872 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4873 {
4874 PyThreadState* __tstate = wxPyBeginAllowThreads();
4875 result = (int)(arg1)->GetHighlightGuide();
4876
4877 wxPyEndAllowThreads(__tstate);
4878 if (PyErr_Occurred()) SWIG_fail;
4879 }
4880 resultobj = SWIG_FromInt((int)result);
4881 return resultobj;
4882 fail:
4883 return NULL;
4884 }
4885
4886
4887 static PyObject *_wrap_StyledTextCtrl_GetLineEndPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
4888 PyObject *resultobj;
4889 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4890 int arg2 ;
4891 int result;
4892 PyObject * obj0 = 0 ;
4893 PyObject * obj1 = 0 ;
4894 char *kwnames[] = {
4895 (char *) "self",(char *) "line", NULL
4896 };
4897
4898 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GetLineEndPosition",kwnames,&obj0,&obj1)) goto fail;
4899 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
4900 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4901 arg2 = (int) SWIG_AsInt(obj1);
4902 if (PyErr_Occurred()) SWIG_fail;
4903 {
4904 PyThreadState* __tstate = wxPyBeginAllowThreads();
4905 result = (int)(arg1)->GetLineEndPosition(arg2);
4906
4907 wxPyEndAllowThreads(__tstate);
4908 if (PyErr_Occurred()) SWIG_fail;
4909 }
4910 resultobj = SWIG_FromInt((int)result);
4911 return resultobj;
4912 fail:
4913 return NULL;
4914 }
4915
4916
4917 static PyObject *_wrap_StyledTextCtrl_GetCodePage(PyObject *self, PyObject *args, PyObject *kwargs) {
4918 PyObject *resultobj;
4919 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4920 int result;
4921 PyObject * obj0 = 0 ;
4922 char *kwnames[] = {
4923 (char *) "self", NULL
4924 };
4925
4926 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetCodePage",kwnames,&obj0)) goto fail;
4927 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
4928 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4929 {
4930 PyThreadState* __tstate = wxPyBeginAllowThreads();
4931 result = (int)(arg1)->GetCodePage();
4932
4933 wxPyEndAllowThreads(__tstate);
4934 if (PyErr_Occurred()) SWIG_fail;
4935 }
4936 resultobj = SWIG_FromInt((int)result);
4937 return resultobj;
4938 fail:
4939 return NULL;
4940 }
4941
4942
4943 static PyObject *_wrap_StyledTextCtrl_GetCaretForeground(PyObject *self, PyObject *args, PyObject *kwargs) {
4944 PyObject *resultobj;
4945 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4946 wxColour result;
4947 PyObject * obj0 = 0 ;
4948 char *kwnames[] = {
4949 (char *) "self", NULL
4950 };
4951
4952 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetCaretForeground",kwnames,&obj0)) goto fail;
4953 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
4954 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4955 {
4956 PyThreadState* __tstate = wxPyBeginAllowThreads();
4957 result = (arg1)->GetCaretForeground();
4958
4959 wxPyEndAllowThreads(__tstate);
4960 if (PyErr_Occurred()) SWIG_fail;
4961 }
4962 {
4963 wxColour * resultptr;
4964 resultptr = new wxColour((wxColour &) result);
4965 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
4966 }
4967 return resultobj;
4968 fail:
4969 return NULL;
4970 }
4971
4972
4973 static PyObject *_wrap_StyledTextCtrl_GetReadOnly(PyObject *self, PyObject *args, PyObject *kwargs) {
4974 PyObject *resultobj;
4975 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
4976 bool result;
4977 PyObject * obj0 = 0 ;
4978 char *kwnames[] = {
4979 (char *) "self", NULL
4980 };
4981
4982 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetReadOnly",kwnames,&obj0)) goto fail;
4983 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
4984 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4985 {
4986 PyThreadState* __tstate = wxPyBeginAllowThreads();
4987 result = (bool)(arg1)->GetReadOnly();
4988
4989 wxPyEndAllowThreads(__tstate);
4990 if (PyErr_Occurred()) SWIG_fail;
4991 }
4992 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4993 return resultobj;
4994 fail:
4995 return NULL;
4996 }
4997
4998
4999 static PyObject *_wrap_StyledTextCtrl_SetCurrentPos(PyObject *self, PyObject *args, PyObject *kwargs) {
5000 PyObject *resultobj;
5001 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5002 int arg2 ;
5003 PyObject * obj0 = 0 ;
5004 PyObject * obj1 = 0 ;
5005 char *kwnames[] = {
5006 (char *) "self",(char *) "pos", NULL
5007 };
5008
5009 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetCurrentPos",kwnames,&obj0,&obj1)) goto fail;
5010 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
5011 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5012 arg2 = (int) SWIG_AsInt(obj1);
5013 if (PyErr_Occurred()) SWIG_fail;
5014 {
5015 PyThreadState* __tstate = wxPyBeginAllowThreads();
5016 (arg1)->SetCurrentPos(arg2);
5017
5018 wxPyEndAllowThreads(__tstate);
5019 if (PyErr_Occurred()) SWIG_fail;
5020 }
5021 Py_INCREF(Py_None); resultobj = Py_None;
5022 return resultobj;
5023 fail:
5024 return NULL;
5025 }
5026
5027
5028 static PyObject *_wrap_StyledTextCtrl_SetSelectionStart(PyObject *self, PyObject *args, PyObject *kwargs) {
5029 PyObject *resultobj;
5030 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5031 int arg2 ;
5032 PyObject * obj0 = 0 ;
5033 PyObject * obj1 = 0 ;
5034 char *kwnames[] = {
5035 (char *) "self",(char *) "pos", NULL
5036 };
5037
5038 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetSelectionStart",kwnames,&obj0,&obj1)) goto fail;
5039 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
5040 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5041 arg2 = (int) SWIG_AsInt(obj1);
5042 if (PyErr_Occurred()) SWIG_fail;
5043 {
5044 PyThreadState* __tstate = wxPyBeginAllowThreads();
5045 (arg1)->SetSelectionStart(arg2);
5046
5047 wxPyEndAllowThreads(__tstate);
5048 if (PyErr_Occurred()) SWIG_fail;
5049 }
5050 Py_INCREF(Py_None); resultobj = Py_None;
5051 return resultobj;
5052 fail:
5053 return NULL;
5054 }
5055
5056
5057 static PyObject *_wrap_StyledTextCtrl_GetSelectionStart(PyObject *self, PyObject *args, PyObject *kwargs) {
5058 PyObject *resultobj;
5059 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5060 int result;
5061 PyObject * obj0 = 0 ;
5062 char *kwnames[] = {
5063 (char *) "self", NULL
5064 };
5065
5066 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetSelectionStart",kwnames,&obj0)) goto fail;
5067 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
5068 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5069 {
5070 PyThreadState* __tstate = wxPyBeginAllowThreads();
5071 result = (int)(arg1)->GetSelectionStart();
5072
5073 wxPyEndAllowThreads(__tstate);
5074 if (PyErr_Occurred()) SWIG_fail;
5075 }
5076 resultobj = SWIG_FromInt((int)result);
5077 return resultobj;
5078 fail:
5079 return NULL;
5080 }
5081
5082
5083 static PyObject *_wrap_StyledTextCtrl_SetSelectionEnd(PyObject *self, PyObject *args, PyObject *kwargs) {
5084 PyObject *resultobj;
5085 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5086 int arg2 ;
5087 PyObject * obj0 = 0 ;
5088 PyObject * obj1 = 0 ;
5089 char *kwnames[] = {
5090 (char *) "self",(char *) "pos", NULL
5091 };
5092
5093 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetSelectionEnd",kwnames,&obj0,&obj1)) goto fail;
5094 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
5095 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5096 arg2 = (int) SWIG_AsInt(obj1);
5097 if (PyErr_Occurred()) SWIG_fail;
5098 {
5099 PyThreadState* __tstate = wxPyBeginAllowThreads();
5100 (arg1)->SetSelectionEnd(arg2);
5101
5102 wxPyEndAllowThreads(__tstate);
5103 if (PyErr_Occurred()) SWIG_fail;
5104 }
5105 Py_INCREF(Py_None); resultobj = Py_None;
5106 return resultobj;
5107 fail:
5108 return NULL;
5109 }
5110
5111
5112 static PyObject *_wrap_StyledTextCtrl_GetSelectionEnd(PyObject *self, PyObject *args, PyObject *kwargs) {
5113 PyObject *resultobj;
5114 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5115 int result;
5116 PyObject * obj0 = 0 ;
5117 char *kwnames[] = {
5118 (char *) "self", NULL
5119 };
5120
5121 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetSelectionEnd",kwnames,&obj0)) goto fail;
5122 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
5123 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5124 {
5125 PyThreadState* __tstate = wxPyBeginAllowThreads();
5126 result = (int)(arg1)->GetSelectionEnd();
5127
5128 wxPyEndAllowThreads(__tstate);
5129 if (PyErr_Occurred()) SWIG_fail;
5130 }
5131 resultobj = SWIG_FromInt((int)result);
5132 return resultobj;
5133 fail:
5134 return NULL;
5135 }
5136
5137
5138 static PyObject *_wrap_StyledTextCtrl_SetPrintMagnification(PyObject *self, PyObject *args, PyObject *kwargs) {
5139 PyObject *resultobj;
5140 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5141 int arg2 ;
5142 PyObject * obj0 = 0 ;
5143 PyObject * obj1 = 0 ;
5144 char *kwnames[] = {
5145 (char *) "self",(char *) "magnification", NULL
5146 };
5147
5148 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetPrintMagnification",kwnames,&obj0,&obj1)) goto fail;
5149 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
5150 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5151 arg2 = (int) SWIG_AsInt(obj1);
5152 if (PyErr_Occurred()) SWIG_fail;
5153 {
5154 PyThreadState* __tstate = wxPyBeginAllowThreads();
5155 (arg1)->SetPrintMagnification(arg2);
5156
5157 wxPyEndAllowThreads(__tstate);
5158 if (PyErr_Occurred()) SWIG_fail;
5159 }
5160 Py_INCREF(Py_None); resultobj = Py_None;
5161 return resultobj;
5162 fail:
5163 return NULL;
5164 }
5165
5166
5167 static PyObject *_wrap_StyledTextCtrl_GetPrintMagnification(PyObject *self, PyObject *args, PyObject *kwargs) {
5168 PyObject *resultobj;
5169 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5170 int result;
5171 PyObject * obj0 = 0 ;
5172 char *kwnames[] = {
5173 (char *) "self", NULL
5174 };
5175
5176 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetPrintMagnification",kwnames,&obj0)) goto fail;
5177 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
5178 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5179 {
5180 PyThreadState* __tstate = wxPyBeginAllowThreads();
5181 result = (int)(arg1)->GetPrintMagnification();
5182
5183 wxPyEndAllowThreads(__tstate);
5184 if (PyErr_Occurred()) SWIG_fail;
5185 }
5186 resultobj = SWIG_FromInt((int)result);
5187 return resultobj;
5188 fail:
5189 return NULL;
5190 }
5191
5192
5193 static PyObject *_wrap_StyledTextCtrl_SetPrintColourMode(PyObject *self, PyObject *args, PyObject *kwargs) {
5194 PyObject *resultobj;
5195 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5196 int arg2 ;
5197 PyObject * obj0 = 0 ;
5198 PyObject * obj1 = 0 ;
5199 char *kwnames[] = {
5200 (char *) "self",(char *) "mode", NULL
5201 };
5202
5203 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetPrintColourMode",kwnames,&obj0,&obj1)) goto fail;
5204 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
5205 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5206 arg2 = (int) SWIG_AsInt(obj1);
5207 if (PyErr_Occurred()) SWIG_fail;
5208 {
5209 PyThreadState* __tstate = wxPyBeginAllowThreads();
5210 (arg1)->SetPrintColourMode(arg2);
5211
5212 wxPyEndAllowThreads(__tstate);
5213 if (PyErr_Occurred()) SWIG_fail;
5214 }
5215 Py_INCREF(Py_None); resultobj = Py_None;
5216 return resultobj;
5217 fail:
5218 return NULL;
5219 }
5220
5221
5222 static PyObject *_wrap_StyledTextCtrl_GetPrintColourMode(PyObject *self, PyObject *args, PyObject *kwargs) {
5223 PyObject *resultobj;
5224 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5225 int result;
5226 PyObject * obj0 = 0 ;
5227 char *kwnames[] = {
5228 (char *) "self", NULL
5229 };
5230
5231 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetPrintColourMode",kwnames,&obj0)) goto fail;
5232 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
5233 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5234 {
5235 PyThreadState* __tstate = wxPyBeginAllowThreads();
5236 result = (int)(arg1)->GetPrintColourMode();
5237
5238 wxPyEndAllowThreads(__tstate);
5239 if (PyErr_Occurred()) SWIG_fail;
5240 }
5241 resultobj = SWIG_FromInt((int)result);
5242 return resultobj;
5243 fail:
5244 return NULL;
5245 }
5246
5247
5248 static PyObject *_wrap_StyledTextCtrl_FindText(PyObject *self, PyObject *args, PyObject *kwargs) {
5249 PyObject *resultobj;
5250 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5251 int arg2 ;
5252 int arg3 ;
5253 wxString *arg4 = 0 ;
5254 int arg5 = (int) 0 ;
5255 int result;
5256 bool temp4 = False ;
5257 PyObject * obj0 = 0 ;
5258 PyObject * obj1 = 0 ;
5259 PyObject * obj2 = 0 ;
5260 PyObject * obj3 = 0 ;
5261 PyObject * obj4 = 0 ;
5262 char *kwnames[] = {
5263 (char *) "self",(char *) "minPos",(char *) "maxPos",(char *) "text",(char *) "flags", NULL
5264 };
5265
5266 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|O:StyledTextCtrl_FindText",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
5267 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
5268 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5269 arg2 = (int) SWIG_AsInt(obj1);
5270 if (PyErr_Occurred()) SWIG_fail;
5271 arg3 = (int) SWIG_AsInt(obj2);
5272 if (PyErr_Occurred()) SWIG_fail;
5273 {
5274 arg4 = wxString_in_helper(obj3);
5275 if (arg4 == NULL) SWIG_fail;
5276 temp4 = True;
5277 }
5278 if (obj4) {
5279 arg5 = (int) SWIG_AsInt(obj4);
5280 if (PyErr_Occurred()) SWIG_fail;
5281 }
5282 {
5283 PyThreadState* __tstate = wxPyBeginAllowThreads();
5284 result = (int)(arg1)->FindText(arg2,arg3,(wxString const &)*arg4,arg5);
5285
5286 wxPyEndAllowThreads(__tstate);
5287 if (PyErr_Occurred()) SWIG_fail;
5288 }
5289 resultobj = SWIG_FromInt((int)result);
5290 {
5291 if (temp4)
5292 delete arg4;
5293 }
5294 return resultobj;
5295 fail:
5296 {
5297 if (temp4)
5298 delete arg4;
5299 }
5300 return NULL;
5301 }
5302
5303
5304 static PyObject *_wrap_StyledTextCtrl_FormatRange(PyObject *self, PyObject *args, PyObject *kwargs) {
5305 PyObject *resultobj;
5306 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5307 bool arg2 ;
5308 int arg3 ;
5309 int arg4 ;
5310 wxDC *arg5 = (wxDC *) 0 ;
5311 wxDC *arg6 = (wxDC *) 0 ;
5312 wxRect arg7 ;
5313 wxRect arg8 ;
5314 int result;
5315 wxRect *argp7 ;
5316 wxRect *argp8 ;
5317 PyObject * obj0 = 0 ;
5318 PyObject * obj1 = 0 ;
5319 PyObject * obj2 = 0 ;
5320 PyObject * obj3 = 0 ;
5321 PyObject * obj4 = 0 ;
5322 PyObject * obj5 = 0 ;
5323 PyObject * obj6 = 0 ;
5324 PyObject * obj7 = 0 ;
5325 char *kwnames[] = {
5326 (char *) "self",(char *) "doDraw",(char *) "startPos",(char *) "endPos",(char *) "draw",(char *) "target",(char *) "renderRect",(char *) "pageRect", NULL
5327 };
5328
5329 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOOOO:StyledTextCtrl_FormatRange",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
5330 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
5331 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5332 arg2 = (bool) SWIG_AsBool(obj1);
5333 if (PyErr_Occurred()) SWIG_fail;
5334 arg3 = (int) SWIG_AsInt(obj2);
5335 if (PyErr_Occurred()) SWIG_fail;
5336 arg4 = (int) SWIG_AsInt(obj3);
5337 if (PyErr_Occurred()) SWIG_fail;
5338 if ((SWIG_ConvertPtr(obj4,(void **)(&arg5),SWIGTYPE_p_wxDC,
5339 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5340 if ((SWIG_ConvertPtr(obj5,(void **)(&arg6),SWIGTYPE_p_wxDC,
5341 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5342 if ((SWIG_ConvertPtr(obj6,(void **)(&argp7),SWIGTYPE_p_wxRect,
5343 SWIG_POINTER_EXCEPTION) == -1)) SWIG_fail;
5344 arg7 = *argp7;
5345 if ((SWIG_ConvertPtr(obj7,(void **)(&argp8),SWIGTYPE_p_wxRect,
5346 SWIG_POINTER_EXCEPTION) == -1)) SWIG_fail;
5347 arg8 = *argp8;
5348 {
5349 PyThreadState* __tstate = wxPyBeginAllowThreads();
5350 result = (int)(arg1)->FormatRange(arg2,arg3,arg4,arg5,arg6,arg7,arg8);
5351
5352 wxPyEndAllowThreads(__tstate);
5353 if (PyErr_Occurred()) SWIG_fail;
5354 }
5355 resultobj = SWIG_FromInt((int)result);
5356 return resultobj;
5357 fail:
5358 return NULL;
5359 }
5360
5361
5362 static PyObject *_wrap_StyledTextCtrl_GetFirstVisibleLine(PyObject *self, PyObject *args, PyObject *kwargs) {
5363 PyObject *resultobj;
5364 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5365 int result;
5366 PyObject * obj0 = 0 ;
5367 char *kwnames[] = {
5368 (char *) "self", NULL
5369 };
5370
5371 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetFirstVisibleLine",kwnames,&obj0)) goto fail;
5372 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
5373 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5374 {
5375 PyThreadState* __tstate = wxPyBeginAllowThreads();
5376 result = (int)(arg1)->GetFirstVisibleLine();
5377
5378 wxPyEndAllowThreads(__tstate);
5379 if (PyErr_Occurred()) SWIG_fail;
5380 }
5381 resultobj = SWIG_FromInt((int)result);
5382 return resultobj;
5383 fail:
5384 return NULL;
5385 }
5386
5387
5388 static PyObject *_wrap_StyledTextCtrl_GetLine(PyObject *self, PyObject *args, PyObject *kwargs) {
5389 PyObject *resultobj;
5390 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5391 int arg2 ;
5392 wxString result;
5393 PyObject * obj0 = 0 ;
5394 PyObject * obj1 = 0 ;
5395 char *kwnames[] = {
5396 (char *) "self",(char *) "line", NULL
5397 };
5398
5399 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GetLine",kwnames,&obj0,&obj1)) goto fail;
5400 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
5401 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5402 arg2 = (int) SWIG_AsInt(obj1);
5403 if (PyErr_Occurred()) SWIG_fail;
5404 {
5405 PyThreadState* __tstate = wxPyBeginAllowThreads();
5406 result = (arg1)->GetLine(arg2);
5407
5408 wxPyEndAllowThreads(__tstate);
5409 if (PyErr_Occurred()) SWIG_fail;
5410 }
5411 {
5412 #if wxUSE_UNICODE
5413 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
5414 #else
5415 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
5416 #endif
5417 }
5418 return resultobj;
5419 fail:
5420 return NULL;
5421 }
5422
5423
5424 static PyObject *_wrap_StyledTextCtrl_GetLineCount(PyObject *self, PyObject *args, PyObject *kwargs) {
5425 PyObject *resultobj;
5426 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5427 int result;
5428 PyObject * obj0 = 0 ;
5429 char *kwnames[] = {
5430 (char *) "self", NULL
5431 };
5432
5433 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetLineCount",kwnames,&obj0)) goto fail;
5434 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
5435 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5436 {
5437 PyThreadState* __tstate = wxPyBeginAllowThreads();
5438 result = (int)(arg1)->GetLineCount();
5439
5440 wxPyEndAllowThreads(__tstate);
5441 if (PyErr_Occurred()) SWIG_fail;
5442 }
5443 resultobj = SWIG_FromInt((int)result);
5444 return resultobj;
5445 fail:
5446 return NULL;
5447 }
5448
5449
5450 static PyObject *_wrap_StyledTextCtrl_SetMarginLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
5451 PyObject *resultobj;
5452 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5453 int arg2 ;
5454 PyObject * obj0 = 0 ;
5455 PyObject * obj1 = 0 ;
5456 char *kwnames[] = {
5457 (char *) "self",(char *) "pixelWidth", NULL
5458 };
5459
5460 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetMarginLeft",kwnames,&obj0,&obj1)) goto fail;
5461 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
5462 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5463 arg2 = (int) SWIG_AsInt(obj1);
5464 if (PyErr_Occurred()) SWIG_fail;
5465 {
5466 PyThreadState* __tstate = wxPyBeginAllowThreads();
5467 (arg1)->SetMarginLeft(arg2);
5468
5469 wxPyEndAllowThreads(__tstate);
5470 if (PyErr_Occurred()) SWIG_fail;
5471 }
5472 Py_INCREF(Py_None); resultobj = Py_None;
5473 return resultobj;
5474 fail:
5475 return NULL;
5476 }
5477
5478
5479 static PyObject *_wrap_StyledTextCtrl_GetMarginLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
5480 PyObject *resultobj;
5481 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5482 int result;
5483 PyObject * obj0 = 0 ;
5484 char *kwnames[] = {
5485 (char *) "self", NULL
5486 };
5487
5488 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetMarginLeft",kwnames,&obj0)) goto fail;
5489 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
5490 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5491 {
5492 PyThreadState* __tstate = wxPyBeginAllowThreads();
5493 result = (int)(arg1)->GetMarginLeft();
5494
5495 wxPyEndAllowThreads(__tstate);
5496 if (PyErr_Occurred()) SWIG_fail;
5497 }
5498 resultobj = SWIG_FromInt((int)result);
5499 return resultobj;
5500 fail:
5501 return NULL;
5502 }
5503
5504
5505 static PyObject *_wrap_StyledTextCtrl_SetMarginRight(PyObject *self, PyObject *args, PyObject *kwargs) {
5506 PyObject *resultobj;
5507 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5508 int arg2 ;
5509 PyObject * obj0 = 0 ;
5510 PyObject * obj1 = 0 ;
5511 char *kwnames[] = {
5512 (char *) "self",(char *) "pixelWidth", NULL
5513 };
5514
5515 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetMarginRight",kwnames,&obj0,&obj1)) goto fail;
5516 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
5517 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5518 arg2 = (int) SWIG_AsInt(obj1);
5519 if (PyErr_Occurred()) SWIG_fail;
5520 {
5521 PyThreadState* __tstate = wxPyBeginAllowThreads();
5522 (arg1)->SetMarginRight(arg2);
5523
5524 wxPyEndAllowThreads(__tstate);
5525 if (PyErr_Occurred()) SWIG_fail;
5526 }
5527 Py_INCREF(Py_None); resultobj = Py_None;
5528 return resultobj;
5529 fail:
5530 return NULL;
5531 }
5532
5533
5534 static PyObject *_wrap_StyledTextCtrl_GetMarginRight(PyObject *self, PyObject *args, PyObject *kwargs) {
5535 PyObject *resultobj;
5536 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5537 int result;
5538 PyObject * obj0 = 0 ;
5539 char *kwnames[] = {
5540 (char *) "self", NULL
5541 };
5542
5543 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetMarginRight",kwnames,&obj0)) goto fail;
5544 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
5545 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5546 {
5547 PyThreadState* __tstate = wxPyBeginAllowThreads();
5548 result = (int)(arg1)->GetMarginRight();
5549
5550 wxPyEndAllowThreads(__tstate);
5551 if (PyErr_Occurred()) SWIG_fail;
5552 }
5553 resultobj = SWIG_FromInt((int)result);
5554 return resultobj;
5555 fail:
5556 return NULL;
5557 }
5558
5559
5560 static PyObject *_wrap_StyledTextCtrl_GetModify(PyObject *self, PyObject *args, PyObject *kwargs) {
5561 PyObject *resultobj;
5562 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5563 bool result;
5564 PyObject * obj0 = 0 ;
5565 char *kwnames[] = {
5566 (char *) "self", NULL
5567 };
5568
5569 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetModify",kwnames,&obj0)) goto fail;
5570 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
5571 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5572 {
5573 PyThreadState* __tstate = wxPyBeginAllowThreads();
5574 result = (bool)(arg1)->GetModify();
5575
5576 wxPyEndAllowThreads(__tstate);
5577 if (PyErr_Occurred()) SWIG_fail;
5578 }
5579 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5580 return resultobj;
5581 fail:
5582 return NULL;
5583 }
5584
5585
5586 static PyObject *_wrap_StyledTextCtrl_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
5587 PyObject *resultobj;
5588 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5589 int arg2 ;
5590 int arg3 ;
5591 PyObject * obj0 = 0 ;
5592 PyObject * obj1 = 0 ;
5593 PyObject * obj2 = 0 ;
5594 char *kwnames[] = {
5595 (char *) "self",(char *) "start",(char *) "end", NULL
5596 };
5597
5598 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetSelection",kwnames,&obj0,&obj1,&obj2)) goto fail;
5599 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
5600 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5601 arg2 = (int) SWIG_AsInt(obj1);
5602 if (PyErr_Occurred()) SWIG_fail;
5603 arg3 = (int) SWIG_AsInt(obj2);
5604 if (PyErr_Occurred()) SWIG_fail;
5605 {
5606 PyThreadState* __tstate = wxPyBeginAllowThreads();
5607 (arg1)->SetSelection(arg2,arg3);
5608
5609 wxPyEndAllowThreads(__tstate);
5610 if (PyErr_Occurred()) SWIG_fail;
5611 }
5612 Py_INCREF(Py_None); resultobj = Py_None;
5613 return resultobj;
5614 fail:
5615 return NULL;
5616 }
5617
5618
5619 static PyObject *_wrap_StyledTextCtrl_GetSelectedText(PyObject *self, PyObject *args, PyObject *kwargs) {
5620 PyObject *resultobj;
5621 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5622 wxString result;
5623 PyObject * obj0 = 0 ;
5624 char *kwnames[] = {
5625 (char *) "self", NULL
5626 };
5627
5628 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetSelectedText",kwnames,&obj0)) goto fail;
5629 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
5630 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5631 {
5632 PyThreadState* __tstate = wxPyBeginAllowThreads();
5633 result = (arg1)->GetSelectedText();
5634
5635 wxPyEndAllowThreads(__tstate);
5636 if (PyErr_Occurred()) SWIG_fail;
5637 }
5638 {
5639 #if wxUSE_UNICODE
5640 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
5641 #else
5642 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
5643 #endif
5644 }
5645 return resultobj;
5646 fail:
5647 return NULL;
5648 }
5649
5650
5651 static PyObject *_wrap_StyledTextCtrl_GetTextRange(PyObject *self, PyObject *args, PyObject *kwargs) {
5652 PyObject *resultobj;
5653 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5654 int arg2 ;
5655 int arg3 ;
5656 wxString result;
5657 PyObject * obj0 = 0 ;
5658 PyObject * obj1 = 0 ;
5659 PyObject * obj2 = 0 ;
5660 char *kwnames[] = {
5661 (char *) "self",(char *) "startPos",(char *) "endPos", NULL
5662 };
5663
5664 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_GetTextRange",kwnames,&obj0,&obj1,&obj2)) goto fail;
5665 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
5666 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5667 arg2 = (int) SWIG_AsInt(obj1);
5668 if (PyErr_Occurred()) SWIG_fail;
5669 arg3 = (int) SWIG_AsInt(obj2);
5670 if (PyErr_Occurred()) SWIG_fail;
5671 {
5672 PyThreadState* __tstate = wxPyBeginAllowThreads();
5673 result = (arg1)->GetTextRange(arg2,arg3);
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
5691 static PyObject *_wrap_StyledTextCtrl_HideSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
5692 PyObject *resultobj;
5693 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5694 bool arg2 ;
5695 PyObject * obj0 = 0 ;
5696 PyObject * obj1 = 0 ;
5697 char *kwnames[] = {
5698 (char *) "self",(char *) "normal", NULL
5699 };
5700
5701 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_HideSelection",kwnames,&obj0,&obj1)) goto fail;
5702 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
5703 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5704 arg2 = (bool) SWIG_AsBool(obj1);
5705 if (PyErr_Occurred()) SWIG_fail;
5706 {
5707 PyThreadState* __tstate = wxPyBeginAllowThreads();
5708 (arg1)->HideSelection(arg2);
5709
5710 wxPyEndAllowThreads(__tstate);
5711 if (PyErr_Occurred()) SWIG_fail;
5712 }
5713 Py_INCREF(Py_None); resultobj = Py_None;
5714 return resultobj;
5715 fail:
5716 return NULL;
5717 }
5718
5719
5720 static PyObject *_wrap_StyledTextCtrl_LineFromPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
5721 PyObject *resultobj;
5722 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5723 int arg2 ;
5724 int result;
5725 PyObject * obj0 = 0 ;
5726 PyObject * obj1 = 0 ;
5727 char *kwnames[] = {
5728 (char *) "self",(char *) "pos", NULL
5729 };
5730
5731 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_LineFromPosition",kwnames,&obj0,&obj1)) goto fail;
5732 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
5733 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5734 arg2 = (int) SWIG_AsInt(obj1);
5735 if (PyErr_Occurred()) SWIG_fail;
5736 {
5737 PyThreadState* __tstate = wxPyBeginAllowThreads();
5738 result = (int)(arg1)->LineFromPosition(arg2);
5739
5740 wxPyEndAllowThreads(__tstate);
5741 if (PyErr_Occurred()) SWIG_fail;
5742 }
5743 resultobj = SWIG_FromInt((int)result);
5744 return resultobj;
5745 fail:
5746 return NULL;
5747 }
5748
5749
5750 static PyObject *_wrap_StyledTextCtrl_PositionFromLine(PyObject *self, PyObject *args, PyObject *kwargs) {
5751 PyObject *resultobj;
5752 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5753 int arg2 ;
5754 int result;
5755 PyObject * obj0 = 0 ;
5756 PyObject * obj1 = 0 ;
5757 char *kwnames[] = {
5758 (char *) "self",(char *) "line", NULL
5759 };
5760
5761 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_PositionFromLine",kwnames,&obj0,&obj1)) goto fail;
5762 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
5763 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5764 arg2 = (int) SWIG_AsInt(obj1);
5765 if (PyErr_Occurred()) SWIG_fail;
5766 {
5767 PyThreadState* __tstate = wxPyBeginAllowThreads();
5768 result = (int)(arg1)->PositionFromLine(arg2);
5769
5770 wxPyEndAllowThreads(__tstate);
5771 if (PyErr_Occurred()) SWIG_fail;
5772 }
5773 resultobj = SWIG_FromInt((int)result);
5774 return resultobj;
5775 fail:
5776 return NULL;
5777 }
5778
5779
5780 static PyObject *_wrap_StyledTextCtrl_LineScroll(PyObject *self, PyObject *args, PyObject *kwargs) {
5781 PyObject *resultobj;
5782 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5783 int arg2 ;
5784 int arg3 ;
5785 PyObject * obj0 = 0 ;
5786 PyObject * obj1 = 0 ;
5787 PyObject * obj2 = 0 ;
5788 char *kwnames[] = {
5789 (char *) "self",(char *) "columns",(char *) "lines", NULL
5790 };
5791
5792 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_LineScroll",kwnames,&obj0,&obj1,&obj2)) goto fail;
5793 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
5794 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5795 arg2 = (int) SWIG_AsInt(obj1);
5796 if (PyErr_Occurred()) SWIG_fail;
5797 arg3 = (int) SWIG_AsInt(obj2);
5798 if (PyErr_Occurred()) SWIG_fail;
5799 {
5800 PyThreadState* __tstate = wxPyBeginAllowThreads();
5801 (arg1)->LineScroll(arg2,arg3);
5802
5803 wxPyEndAllowThreads(__tstate);
5804 if (PyErr_Occurred()) SWIG_fail;
5805 }
5806 Py_INCREF(Py_None); resultobj = Py_None;
5807 return resultobj;
5808 fail:
5809 return NULL;
5810 }
5811
5812
5813 static PyObject *_wrap_StyledTextCtrl_EnsureCaretVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
5814 PyObject *resultobj;
5815 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5816 PyObject * obj0 = 0 ;
5817 char *kwnames[] = {
5818 (char *) "self", NULL
5819 };
5820
5821 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_EnsureCaretVisible",kwnames,&obj0)) goto fail;
5822 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
5823 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5824 {
5825 PyThreadState* __tstate = wxPyBeginAllowThreads();
5826 (arg1)->EnsureCaretVisible();
5827
5828 wxPyEndAllowThreads(__tstate);
5829 if (PyErr_Occurred()) SWIG_fail;
5830 }
5831 Py_INCREF(Py_None); resultobj = Py_None;
5832 return resultobj;
5833 fail:
5834 return NULL;
5835 }
5836
5837
5838 static PyObject *_wrap_StyledTextCtrl_ReplaceSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
5839 PyObject *resultobj;
5840 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5841 wxString *arg2 = 0 ;
5842 bool temp2 = False ;
5843 PyObject * obj0 = 0 ;
5844 PyObject * obj1 = 0 ;
5845 char *kwnames[] = {
5846 (char *) "self",(char *) "text", NULL
5847 };
5848
5849 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_ReplaceSelection",kwnames,&obj0,&obj1)) goto fail;
5850 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
5851 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5852 {
5853 arg2 = wxString_in_helper(obj1);
5854 if (arg2 == NULL) SWIG_fail;
5855 temp2 = True;
5856 }
5857 {
5858 PyThreadState* __tstate = wxPyBeginAllowThreads();
5859 (arg1)->ReplaceSelection((wxString const &)*arg2);
5860
5861 wxPyEndAllowThreads(__tstate);
5862 if (PyErr_Occurred()) SWIG_fail;
5863 }
5864 Py_INCREF(Py_None); resultobj = Py_None;
5865 {
5866 if (temp2)
5867 delete arg2;
5868 }
5869 return resultobj;
5870 fail:
5871 {
5872 if (temp2)
5873 delete arg2;
5874 }
5875 return NULL;
5876 }
5877
5878
5879 static PyObject *_wrap_StyledTextCtrl_SetReadOnly(PyObject *self, PyObject *args, PyObject *kwargs) {
5880 PyObject *resultobj;
5881 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5882 bool arg2 ;
5883 PyObject * obj0 = 0 ;
5884 PyObject * obj1 = 0 ;
5885 char *kwnames[] = {
5886 (char *) "self",(char *) "readOnly", NULL
5887 };
5888
5889 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetReadOnly",kwnames,&obj0,&obj1)) goto fail;
5890 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
5891 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5892 arg2 = (bool) SWIG_AsBool(obj1);
5893 if (PyErr_Occurred()) SWIG_fail;
5894 {
5895 PyThreadState* __tstate = wxPyBeginAllowThreads();
5896 (arg1)->SetReadOnly(arg2);
5897
5898 wxPyEndAllowThreads(__tstate);
5899 if (PyErr_Occurred()) SWIG_fail;
5900 }
5901 Py_INCREF(Py_None); resultobj = Py_None;
5902 return resultobj;
5903 fail:
5904 return NULL;
5905 }
5906
5907
5908 static PyObject *_wrap_StyledTextCtrl_CanPaste(PyObject *self, PyObject *args, PyObject *kwargs) {
5909 PyObject *resultobj;
5910 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5911 bool result;
5912 PyObject * obj0 = 0 ;
5913 char *kwnames[] = {
5914 (char *) "self", NULL
5915 };
5916
5917 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_CanPaste",kwnames,&obj0)) goto fail;
5918 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
5919 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5920 {
5921 PyThreadState* __tstate = wxPyBeginAllowThreads();
5922 result = (bool)(arg1)->CanPaste();
5923
5924 wxPyEndAllowThreads(__tstate);
5925 if (PyErr_Occurred()) SWIG_fail;
5926 }
5927 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5928 return resultobj;
5929 fail:
5930 return NULL;
5931 }
5932
5933
5934 static PyObject *_wrap_StyledTextCtrl_CanUndo(PyObject *self, PyObject *args, PyObject *kwargs) {
5935 PyObject *resultobj;
5936 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5937 bool result;
5938 PyObject * obj0 = 0 ;
5939 char *kwnames[] = {
5940 (char *) "self", NULL
5941 };
5942
5943 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_CanUndo",kwnames,&obj0)) goto fail;
5944 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
5945 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5946 {
5947 PyThreadState* __tstate = wxPyBeginAllowThreads();
5948 result = (bool)(arg1)->CanUndo();
5949
5950 wxPyEndAllowThreads(__tstate);
5951 if (PyErr_Occurred()) SWIG_fail;
5952 }
5953 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5954 return resultobj;
5955 fail:
5956 return NULL;
5957 }
5958
5959
5960 static PyObject *_wrap_StyledTextCtrl_EmptyUndoBuffer(PyObject *self, PyObject *args, PyObject *kwargs) {
5961 PyObject *resultobj;
5962 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5963 PyObject * obj0 = 0 ;
5964 char *kwnames[] = {
5965 (char *) "self", NULL
5966 };
5967
5968 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_EmptyUndoBuffer",kwnames,&obj0)) goto fail;
5969 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
5970 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5971 {
5972 PyThreadState* __tstate = wxPyBeginAllowThreads();
5973 (arg1)->EmptyUndoBuffer();
5974
5975 wxPyEndAllowThreads(__tstate);
5976 if (PyErr_Occurred()) SWIG_fail;
5977 }
5978 Py_INCREF(Py_None); resultobj = Py_None;
5979 return resultobj;
5980 fail:
5981 return NULL;
5982 }
5983
5984
5985 static PyObject *_wrap_StyledTextCtrl_Undo(PyObject *self, PyObject *args, PyObject *kwargs) {
5986 PyObject *resultobj;
5987 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
5988 PyObject * obj0 = 0 ;
5989 char *kwnames[] = {
5990 (char *) "self", NULL
5991 };
5992
5993 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_Undo",kwnames,&obj0)) goto fail;
5994 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
5995 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5996 {
5997 PyThreadState* __tstate = wxPyBeginAllowThreads();
5998 (arg1)->Undo();
5999
6000 wxPyEndAllowThreads(__tstate);
6001 if (PyErr_Occurred()) SWIG_fail;
6002 }
6003 Py_INCREF(Py_None); resultobj = Py_None;
6004 return resultobj;
6005 fail:
6006 return NULL;
6007 }
6008
6009
6010 static PyObject *_wrap_StyledTextCtrl_Cut(PyObject *self, PyObject *args, PyObject *kwargs) {
6011 PyObject *resultobj;
6012 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6013 PyObject * obj0 = 0 ;
6014 char *kwnames[] = {
6015 (char *) "self", NULL
6016 };
6017
6018 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_Cut",kwnames,&obj0)) goto fail;
6019 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
6020 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6021 {
6022 PyThreadState* __tstate = wxPyBeginAllowThreads();
6023 (arg1)->Cut();
6024
6025 wxPyEndAllowThreads(__tstate);
6026 if (PyErr_Occurred()) SWIG_fail;
6027 }
6028 Py_INCREF(Py_None); resultobj = Py_None;
6029 return resultobj;
6030 fail:
6031 return NULL;
6032 }
6033
6034
6035 static PyObject *_wrap_StyledTextCtrl_Copy(PyObject *self, PyObject *args, PyObject *kwargs) {
6036 PyObject *resultobj;
6037 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6038 PyObject * obj0 = 0 ;
6039 char *kwnames[] = {
6040 (char *) "self", NULL
6041 };
6042
6043 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_Copy",kwnames,&obj0)) goto fail;
6044 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
6045 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6046 {
6047 PyThreadState* __tstate = wxPyBeginAllowThreads();
6048 (arg1)->Copy();
6049
6050 wxPyEndAllowThreads(__tstate);
6051 if (PyErr_Occurred()) SWIG_fail;
6052 }
6053 Py_INCREF(Py_None); resultobj = Py_None;
6054 return resultobj;
6055 fail:
6056 return NULL;
6057 }
6058
6059
6060 static PyObject *_wrap_StyledTextCtrl_Paste(PyObject *self, PyObject *args, PyObject *kwargs) {
6061 PyObject *resultobj;
6062 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6063 PyObject * obj0 = 0 ;
6064 char *kwnames[] = {
6065 (char *) "self", NULL
6066 };
6067
6068 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_Paste",kwnames,&obj0)) goto fail;
6069 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
6070 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6071 {
6072 PyThreadState* __tstate = wxPyBeginAllowThreads();
6073 (arg1)->Paste();
6074
6075 wxPyEndAllowThreads(__tstate);
6076 if (PyErr_Occurred()) SWIG_fail;
6077 }
6078 Py_INCREF(Py_None); resultobj = Py_None;
6079 return resultobj;
6080 fail:
6081 return NULL;
6082 }
6083
6084
6085 static PyObject *_wrap_StyledTextCtrl_Clear(PyObject *self, PyObject *args, PyObject *kwargs) {
6086 PyObject *resultobj;
6087 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6088 PyObject * obj0 = 0 ;
6089 char *kwnames[] = {
6090 (char *) "self", NULL
6091 };
6092
6093 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_Clear",kwnames,&obj0)) goto fail;
6094 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
6095 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6096 {
6097 PyThreadState* __tstate = wxPyBeginAllowThreads();
6098 (arg1)->Clear();
6099
6100 wxPyEndAllowThreads(__tstate);
6101 if (PyErr_Occurred()) SWIG_fail;
6102 }
6103 Py_INCREF(Py_None); resultobj = Py_None;
6104 return resultobj;
6105 fail:
6106 return NULL;
6107 }
6108
6109
6110 static PyObject *_wrap_StyledTextCtrl_SetText(PyObject *self, PyObject *args, PyObject *kwargs) {
6111 PyObject *resultobj;
6112 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6113 wxString *arg2 = 0 ;
6114 bool temp2 = False ;
6115 PyObject * obj0 = 0 ;
6116 PyObject * obj1 = 0 ;
6117 char *kwnames[] = {
6118 (char *) "self",(char *) "text", NULL
6119 };
6120
6121 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetText",kwnames,&obj0,&obj1)) goto fail;
6122 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
6123 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6124 {
6125 arg2 = wxString_in_helper(obj1);
6126 if (arg2 == NULL) SWIG_fail;
6127 temp2 = True;
6128 }
6129 {
6130 PyThreadState* __tstate = wxPyBeginAllowThreads();
6131 (arg1)->SetText((wxString const &)*arg2);
6132
6133 wxPyEndAllowThreads(__tstate);
6134 if (PyErr_Occurred()) SWIG_fail;
6135 }
6136 Py_INCREF(Py_None); resultobj = Py_None;
6137 {
6138 if (temp2)
6139 delete arg2;
6140 }
6141 return resultobj;
6142 fail:
6143 {
6144 if (temp2)
6145 delete arg2;
6146 }
6147 return NULL;
6148 }
6149
6150
6151 static PyObject *_wrap_StyledTextCtrl_GetText(PyObject *self, PyObject *args, PyObject *kwargs) {
6152 PyObject *resultobj;
6153 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6154 wxString result;
6155 PyObject * obj0 = 0 ;
6156 char *kwnames[] = {
6157 (char *) "self", NULL
6158 };
6159
6160 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetText",kwnames,&obj0)) goto fail;
6161 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
6162 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6163 {
6164 PyThreadState* __tstate = wxPyBeginAllowThreads();
6165 result = (arg1)->GetText();
6166
6167 wxPyEndAllowThreads(__tstate);
6168 if (PyErr_Occurred()) SWIG_fail;
6169 }
6170 {
6171 #if wxUSE_UNICODE
6172 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
6173 #else
6174 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
6175 #endif
6176 }
6177 return resultobj;
6178 fail:
6179 return NULL;
6180 }
6181
6182
6183 static PyObject *_wrap_StyledTextCtrl_GetTextLength(PyObject *self, PyObject *args, PyObject *kwargs) {
6184 PyObject *resultobj;
6185 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6186 int result;
6187 PyObject * obj0 = 0 ;
6188 char *kwnames[] = {
6189 (char *) "self", NULL
6190 };
6191
6192 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetTextLength",kwnames,&obj0)) goto fail;
6193 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
6194 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6195 {
6196 PyThreadState* __tstate = wxPyBeginAllowThreads();
6197 result = (int)(arg1)->GetTextLength();
6198
6199 wxPyEndAllowThreads(__tstate);
6200 if (PyErr_Occurred()) SWIG_fail;
6201 }
6202 resultobj = SWIG_FromInt((int)result);
6203 return resultobj;
6204 fail:
6205 return NULL;
6206 }
6207
6208
6209 static PyObject *_wrap_StyledTextCtrl_SetOvertype(PyObject *self, PyObject *args, PyObject *kwargs) {
6210 PyObject *resultobj;
6211 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6212 bool arg2 ;
6213 PyObject * obj0 = 0 ;
6214 PyObject * obj1 = 0 ;
6215 char *kwnames[] = {
6216 (char *) "self",(char *) "overtype", NULL
6217 };
6218
6219 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetOvertype",kwnames,&obj0,&obj1)) goto fail;
6220 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
6221 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6222 arg2 = (bool) SWIG_AsBool(obj1);
6223 if (PyErr_Occurred()) SWIG_fail;
6224 {
6225 PyThreadState* __tstate = wxPyBeginAllowThreads();
6226 (arg1)->SetOvertype(arg2);
6227
6228 wxPyEndAllowThreads(__tstate);
6229 if (PyErr_Occurred()) SWIG_fail;
6230 }
6231 Py_INCREF(Py_None); resultobj = Py_None;
6232 return resultobj;
6233 fail:
6234 return NULL;
6235 }
6236
6237
6238 static PyObject *_wrap_StyledTextCtrl_GetOvertype(PyObject *self, PyObject *args, PyObject *kwargs) {
6239 PyObject *resultobj;
6240 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6241 bool result;
6242 PyObject * obj0 = 0 ;
6243 char *kwnames[] = {
6244 (char *) "self", NULL
6245 };
6246
6247 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetOvertype",kwnames,&obj0)) goto fail;
6248 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
6249 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6250 {
6251 PyThreadState* __tstate = wxPyBeginAllowThreads();
6252 result = (bool)(arg1)->GetOvertype();
6253
6254 wxPyEndAllowThreads(__tstate);
6255 if (PyErr_Occurred()) SWIG_fail;
6256 }
6257 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6258 return resultobj;
6259 fail:
6260 return NULL;
6261 }
6262
6263
6264 static PyObject *_wrap_StyledTextCtrl_SetCaretWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
6265 PyObject *resultobj;
6266 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6267 int arg2 ;
6268 PyObject * obj0 = 0 ;
6269 PyObject * obj1 = 0 ;
6270 char *kwnames[] = {
6271 (char *) "self",(char *) "pixelWidth", NULL
6272 };
6273
6274 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetCaretWidth",kwnames,&obj0,&obj1)) goto fail;
6275 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
6276 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6277 arg2 = (int) SWIG_AsInt(obj1);
6278 if (PyErr_Occurred()) SWIG_fail;
6279 {
6280 PyThreadState* __tstate = wxPyBeginAllowThreads();
6281 (arg1)->SetCaretWidth(arg2);
6282
6283 wxPyEndAllowThreads(__tstate);
6284 if (PyErr_Occurred()) SWIG_fail;
6285 }
6286 Py_INCREF(Py_None); resultobj = Py_None;
6287 return resultobj;
6288 fail:
6289 return NULL;
6290 }
6291
6292
6293 static PyObject *_wrap_StyledTextCtrl_GetCaretWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
6294 PyObject *resultobj;
6295 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6296 int result;
6297 PyObject * obj0 = 0 ;
6298 char *kwnames[] = {
6299 (char *) "self", NULL
6300 };
6301
6302 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetCaretWidth",kwnames,&obj0)) goto fail;
6303 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
6304 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6305 {
6306 PyThreadState* __tstate = wxPyBeginAllowThreads();
6307 result = (int)(arg1)->GetCaretWidth();
6308
6309 wxPyEndAllowThreads(__tstate);
6310 if (PyErr_Occurred()) SWIG_fail;
6311 }
6312 resultobj = SWIG_FromInt((int)result);
6313 return resultobj;
6314 fail:
6315 return NULL;
6316 }
6317
6318
6319 static PyObject *_wrap_StyledTextCtrl_SetTargetStart(PyObject *self, PyObject *args, PyObject *kwargs) {
6320 PyObject *resultobj;
6321 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6322 int arg2 ;
6323 PyObject * obj0 = 0 ;
6324 PyObject * obj1 = 0 ;
6325 char *kwnames[] = {
6326 (char *) "self",(char *) "pos", NULL
6327 };
6328
6329 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetTargetStart",kwnames,&obj0,&obj1)) goto fail;
6330 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
6331 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6332 arg2 = (int) SWIG_AsInt(obj1);
6333 if (PyErr_Occurred()) SWIG_fail;
6334 {
6335 PyThreadState* __tstate = wxPyBeginAllowThreads();
6336 (arg1)->SetTargetStart(arg2);
6337
6338 wxPyEndAllowThreads(__tstate);
6339 if (PyErr_Occurred()) SWIG_fail;
6340 }
6341 Py_INCREF(Py_None); resultobj = Py_None;
6342 return resultobj;
6343 fail:
6344 return NULL;
6345 }
6346
6347
6348 static PyObject *_wrap_StyledTextCtrl_GetTargetStart(PyObject *self, PyObject *args, PyObject *kwargs) {
6349 PyObject *resultobj;
6350 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6351 int result;
6352 PyObject * obj0 = 0 ;
6353 char *kwnames[] = {
6354 (char *) "self", NULL
6355 };
6356
6357 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetTargetStart",kwnames,&obj0)) goto fail;
6358 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
6359 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6360 {
6361 PyThreadState* __tstate = wxPyBeginAllowThreads();
6362 result = (int)(arg1)->GetTargetStart();
6363
6364 wxPyEndAllowThreads(__tstate);
6365 if (PyErr_Occurred()) SWIG_fail;
6366 }
6367 resultobj = SWIG_FromInt((int)result);
6368 return resultobj;
6369 fail:
6370 return NULL;
6371 }
6372
6373
6374 static PyObject *_wrap_StyledTextCtrl_SetTargetEnd(PyObject *self, PyObject *args, PyObject *kwargs) {
6375 PyObject *resultobj;
6376 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6377 int arg2 ;
6378 PyObject * obj0 = 0 ;
6379 PyObject * obj1 = 0 ;
6380 char *kwnames[] = {
6381 (char *) "self",(char *) "pos", NULL
6382 };
6383
6384 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetTargetEnd",kwnames,&obj0,&obj1)) goto fail;
6385 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
6386 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6387 arg2 = (int) SWIG_AsInt(obj1);
6388 if (PyErr_Occurred()) SWIG_fail;
6389 {
6390 PyThreadState* __tstate = wxPyBeginAllowThreads();
6391 (arg1)->SetTargetEnd(arg2);
6392
6393 wxPyEndAllowThreads(__tstate);
6394 if (PyErr_Occurred()) SWIG_fail;
6395 }
6396 Py_INCREF(Py_None); resultobj = Py_None;
6397 return resultobj;
6398 fail:
6399 return NULL;
6400 }
6401
6402
6403 static PyObject *_wrap_StyledTextCtrl_GetTargetEnd(PyObject *self, PyObject *args, PyObject *kwargs) {
6404 PyObject *resultobj;
6405 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6406 int result;
6407 PyObject * obj0 = 0 ;
6408 char *kwnames[] = {
6409 (char *) "self", NULL
6410 };
6411
6412 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetTargetEnd",kwnames,&obj0)) goto fail;
6413 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
6414 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6415 {
6416 PyThreadState* __tstate = wxPyBeginAllowThreads();
6417 result = (int)(arg1)->GetTargetEnd();
6418
6419 wxPyEndAllowThreads(__tstate);
6420 if (PyErr_Occurred()) SWIG_fail;
6421 }
6422 resultobj = SWIG_FromInt((int)result);
6423 return resultobj;
6424 fail:
6425 return NULL;
6426 }
6427
6428
6429 static PyObject *_wrap_StyledTextCtrl_ReplaceTarget(PyObject *self, PyObject *args, PyObject *kwargs) {
6430 PyObject *resultobj;
6431 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6432 wxString *arg2 = 0 ;
6433 int result;
6434 bool temp2 = False ;
6435 PyObject * obj0 = 0 ;
6436 PyObject * obj1 = 0 ;
6437 char *kwnames[] = {
6438 (char *) "self",(char *) "text", NULL
6439 };
6440
6441 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_ReplaceTarget",kwnames,&obj0,&obj1)) goto fail;
6442 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
6443 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6444 {
6445 arg2 = wxString_in_helper(obj1);
6446 if (arg2 == NULL) SWIG_fail;
6447 temp2 = True;
6448 }
6449 {
6450 PyThreadState* __tstate = wxPyBeginAllowThreads();
6451 result = (int)(arg1)->ReplaceTarget((wxString const &)*arg2);
6452
6453 wxPyEndAllowThreads(__tstate);
6454 if (PyErr_Occurred()) SWIG_fail;
6455 }
6456 resultobj = SWIG_FromInt((int)result);
6457 {
6458 if (temp2)
6459 delete arg2;
6460 }
6461 return resultobj;
6462 fail:
6463 {
6464 if (temp2)
6465 delete arg2;
6466 }
6467 return NULL;
6468 }
6469
6470
6471 static PyObject *_wrap_StyledTextCtrl_ReplaceTargetRE(PyObject *self, PyObject *args, PyObject *kwargs) {
6472 PyObject *resultobj;
6473 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6474 wxString *arg2 = 0 ;
6475 int result;
6476 bool temp2 = False ;
6477 PyObject * obj0 = 0 ;
6478 PyObject * obj1 = 0 ;
6479 char *kwnames[] = {
6480 (char *) "self",(char *) "text", NULL
6481 };
6482
6483 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_ReplaceTargetRE",kwnames,&obj0,&obj1)) goto fail;
6484 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
6485 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6486 {
6487 arg2 = wxString_in_helper(obj1);
6488 if (arg2 == NULL) SWIG_fail;
6489 temp2 = True;
6490 }
6491 {
6492 PyThreadState* __tstate = wxPyBeginAllowThreads();
6493 result = (int)(arg1)->ReplaceTargetRE((wxString const &)*arg2);
6494
6495 wxPyEndAllowThreads(__tstate);
6496 if (PyErr_Occurred()) SWIG_fail;
6497 }
6498 resultobj = SWIG_FromInt((int)result);
6499 {
6500 if (temp2)
6501 delete arg2;
6502 }
6503 return resultobj;
6504 fail:
6505 {
6506 if (temp2)
6507 delete arg2;
6508 }
6509 return NULL;
6510 }
6511
6512
6513 static PyObject *_wrap_StyledTextCtrl_SearchInTarget(PyObject *self, PyObject *args, PyObject *kwargs) {
6514 PyObject *resultobj;
6515 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6516 wxString *arg2 = 0 ;
6517 int result;
6518 bool temp2 = False ;
6519 PyObject * obj0 = 0 ;
6520 PyObject * obj1 = 0 ;
6521 char *kwnames[] = {
6522 (char *) "self",(char *) "text", NULL
6523 };
6524
6525 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SearchInTarget",kwnames,&obj0,&obj1)) goto fail;
6526 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
6527 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6528 {
6529 arg2 = wxString_in_helper(obj1);
6530 if (arg2 == NULL) SWIG_fail;
6531 temp2 = True;
6532 }
6533 {
6534 PyThreadState* __tstate = wxPyBeginAllowThreads();
6535 result = (int)(arg1)->SearchInTarget((wxString const &)*arg2);
6536
6537 wxPyEndAllowThreads(__tstate);
6538 if (PyErr_Occurred()) SWIG_fail;
6539 }
6540 resultobj = SWIG_FromInt((int)result);
6541 {
6542 if (temp2)
6543 delete arg2;
6544 }
6545 return resultobj;
6546 fail:
6547 {
6548 if (temp2)
6549 delete arg2;
6550 }
6551 return NULL;
6552 }
6553
6554
6555 static PyObject *_wrap_StyledTextCtrl_SetSearchFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
6556 PyObject *resultobj;
6557 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6558 int arg2 ;
6559 PyObject * obj0 = 0 ;
6560 PyObject * obj1 = 0 ;
6561 char *kwnames[] = {
6562 (char *) "self",(char *) "flags", NULL
6563 };
6564
6565 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetSearchFlags",kwnames,&obj0,&obj1)) goto fail;
6566 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
6567 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6568 arg2 = (int) SWIG_AsInt(obj1);
6569 if (PyErr_Occurred()) SWIG_fail;
6570 {
6571 PyThreadState* __tstate = wxPyBeginAllowThreads();
6572 (arg1)->SetSearchFlags(arg2);
6573
6574 wxPyEndAllowThreads(__tstate);
6575 if (PyErr_Occurred()) SWIG_fail;
6576 }
6577 Py_INCREF(Py_None); resultobj = Py_None;
6578 return resultobj;
6579 fail:
6580 return NULL;
6581 }
6582
6583
6584 static PyObject *_wrap_StyledTextCtrl_GetSearchFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
6585 PyObject *resultobj;
6586 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6587 int result;
6588 PyObject * obj0 = 0 ;
6589 char *kwnames[] = {
6590 (char *) "self", NULL
6591 };
6592
6593 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetSearchFlags",kwnames,&obj0)) goto fail;
6594 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
6595 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6596 {
6597 PyThreadState* __tstate = wxPyBeginAllowThreads();
6598 result = (int)(arg1)->GetSearchFlags();
6599
6600 wxPyEndAllowThreads(__tstate);
6601 if (PyErr_Occurred()) SWIG_fail;
6602 }
6603 resultobj = SWIG_FromInt((int)result);
6604 return resultobj;
6605 fail:
6606 return NULL;
6607 }
6608
6609
6610 static PyObject *_wrap_StyledTextCtrl_CallTipShow(PyObject *self, PyObject *args, PyObject *kwargs) {
6611 PyObject *resultobj;
6612 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6613 int arg2 ;
6614 wxString *arg3 = 0 ;
6615 bool temp3 = False ;
6616 PyObject * obj0 = 0 ;
6617 PyObject * obj1 = 0 ;
6618 PyObject * obj2 = 0 ;
6619 char *kwnames[] = {
6620 (char *) "self",(char *) "pos",(char *) "definition", NULL
6621 };
6622
6623 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_CallTipShow",kwnames,&obj0,&obj1,&obj2)) goto fail;
6624 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
6625 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6626 arg2 = (int) SWIG_AsInt(obj1);
6627 if (PyErr_Occurred()) SWIG_fail;
6628 {
6629 arg3 = wxString_in_helper(obj2);
6630 if (arg3 == NULL) SWIG_fail;
6631 temp3 = True;
6632 }
6633 {
6634 PyThreadState* __tstate = wxPyBeginAllowThreads();
6635 (arg1)->CallTipShow(arg2,(wxString const &)*arg3);
6636
6637 wxPyEndAllowThreads(__tstate);
6638 if (PyErr_Occurred()) SWIG_fail;
6639 }
6640 Py_INCREF(Py_None); resultobj = Py_None;
6641 {
6642 if (temp3)
6643 delete arg3;
6644 }
6645 return resultobj;
6646 fail:
6647 {
6648 if (temp3)
6649 delete arg3;
6650 }
6651 return NULL;
6652 }
6653
6654
6655 static PyObject *_wrap_StyledTextCtrl_CallTipCancel(PyObject *self, PyObject *args, PyObject *kwargs) {
6656 PyObject *resultobj;
6657 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6658 PyObject * obj0 = 0 ;
6659 char *kwnames[] = {
6660 (char *) "self", NULL
6661 };
6662
6663 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_CallTipCancel",kwnames,&obj0)) goto fail;
6664 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
6665 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6666 {
6667 PyThreadState* __tstate = wxPyBeginAllowThreads();
6668 (arg1)->CallTipCancel();
6669
6670 wxPyEndAllowThreads(__tstate);
6671 if (PyErr_Occurred()) SWIG_fail;
6672 }
6673 Py_INCREF(Py_None); resultobj = Py_None;
6674 return resultobj;
6675 fail:
6676 return NULL;
6677 }
6678
6679
6680 static PyObject *_wrap_StyledTextCtrl_CallTipActive(PyObject *self, PyObject *args, PyObject *kwargs) {
6681 PyObject *resultobj;
6682 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6683 bool result;
6684 PyObject * obj0 = 0 ;
6685 char *kwnames[] = {
6686 (char *) "self", NULL
6687 };
6688
6689 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_CallTipActive",kwnames,&obj0)) goto fail;
6690 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
6691 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6692 {
6693 PyThreadState* __tstate = wxPyBeginAllowThreads();
6694 result = (bool)(arg1)->CallTipActive();
6695
6696 wxPyEndAllowThreads(__tstate);
6697 if (PyErr_Occurred()) SWIG_fail;
6698 }
6699 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6700 return resultobj;
6701 fail:
6702 return NULL;
6703 }
6704
6705
6706 static PyObject *_wrap_StyledTextCtrl_CallTipPosAtStart(PyObject *self, PyObject *args, PyObject *kwargs) {
6707 PyObject *resultobj;
6708 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6709 int result;
6710 PyObject * obj0 = 0 ;
6711 char *kwnames[] = {
6712 (char *) "self", NULL
6713 };
6714
6715 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_CallTipPosAtStart",kwnames,&obj0)) goto fail;
6716 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
6717 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6718 {
6719 PyThreadState* __tstate = wxPyBeginAllowThreads();
6720 result = (int)(arg1)->CallTipPosAtStart();
6721
6722 wxPyEndAllowThreads(__tstate);
6723 if (PyErr_Occurred()) SWIG_fail;
6724 }
6725 resultobj = SWIG_FromInt((int)result);
6726 return resultobj;
6727 fail:
6728 return NULL;
6729 }
6730
6731
6732 static PyObject *_wrap_StyledTextCtrl_CallTipSetHighlight(PyObject *self, PyObject *args, PyObject *kwargs) {
6733 PyObject *resultobj;
6734 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6735 int arg2 ;
6736 int arg3 ;
6737 PyObject * obj0 = 0 ;
6738 PyObject * obj1 = 0 ;
6739 PyObject * obj2 = 0 ;
6740 char *kwnames[] = {
6741 (char *) "self",(char *) "start",(char *) "end", NULL
6742 };
6743
6744 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_CallTipSetHighlight",kwnames,&obj0,&obj1,&obj2)) goto fail;
6745 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
6746 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6747 arg2 = (int) SWIG_AsInt(obj1);
6748 if (PyErr_Occurred()) SWIG_fail;
6749 arg3 = (int) SWIG_AsInt(obj2);
6750 if (PyErr_Occurred()) SWIG_fail;
6751 {
6752 PyThreadState* __tstate = wxPyBeginAllowThreads();
6753 (arg1)->CallTipSetHighlight(arg2,arg3);
6754
6755 wxPyEndAllowThreads(__tstate);
6756 if (PyErr_Occurred()) SWIG_fail;
6757 }
6758 Py_INCREF(Py_None); resultobj = Py_None;
6759 return resultobj;
6760 fail:
6761 return NULL;
6762 }
6763
6764
6765 static PyObject *_wrap_StyledTextCtrl_CallTipSetBackground(PyObject *self, PyObject *args, PyObject *kwargs) {
6766 PyObject *resultobj;
6767 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6768 wxColour *arg2 = 0 ;
6769 wxColour temp2 ;
6770 PyObject * obj0 = 0 ;
6771 PyObject * obj1 = 0 ;
6772 char *kwnames[] = {
6773 (char *) "self",(char *) "back", NULL
6774 };
6775
6776 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_CallTipSetBackground",kwnames,&obj0,&obj1)) goto fail;
6777 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
6778 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6779 {
6780 arg2 = &temp2;
6781 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
6782 }
6783 {
6784 PyThreadState* __tstate = wxPyBeginAllowThreads();
6785 (arg1)->CallTipSetBackground((wxColour const &)*arg2);
6786
6787 wxPyEndAllowThreads(__tstate);
6788 if (PyErr_Occurred()) SWIG_fail;
6789 }
6790 Py_INCREF(Py_None); resultobj = Py_None;
6791 return resultobj;
6792 fail:
6793 return NULL;
6794 }
6795
6796
6797 static PyObject *_wrap_StyledTextCtrl_CallTipSetForeground(PyObject *self, PyObject *args, PyObject *kwargs) {
6798 PyObject *resultobj;
6799 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6800 wxColour *arg2 = 0 ;
6801 wxColour temp2 ;
6802 PyObject * obj0 = 0 ;
6803 PyObject * obj1 = 0 ;
6804 char *kwnames[] = {
6805 (char *) "self",(char *) "fore", NULL
6806 };
6807
6808 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_CallTipSetForeground",kwnames,&obj0,&obj1)) goto fail;
6809 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
6810 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6811 {
6812 arg2 = &temp2;
6813 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
6814 }
6815 {
6816 PyThreadState* __tstate = wxPyBeginAllowThreads();
6817 (arg1)->CallTipSetForeground((wxColour const &)*arg2);
6818
6819 wxPyEndAllowThreads(__tstate);
6820 if (PyErr_Occurred()) SWIG_fail;
6821 }
6822 Py_INCREF(Py_None); resultobj = Py_None;
6823 return resultobj;
6824 fail:
6825 return NULL;
6826 }
6827
6828
6829 static PyObject *_wrap_StyledTextCtrl_CallTipSetForegroundHighlight(PyObject *self, PyObject *args, PyObject *kwargs) {
6830 PyObject *resultobj;
6831 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6832 wxColour *arg2 = 0 ;
6833 wxColour temp2 ;
6834 PyObject * obj0 = 0 ;
6835 PyObject * obj1 = 0 ;
6836 char *kwnames[] = {
6837 (char *) "self",(char *) "fore", NULL
6838 };
6839
6840 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_CallTipSetForegroundHighlight",kwnames,&obj0,&obj1)) goto fail;
6841 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
6842 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6843 {
6844 arg2 = &temp2;
6845 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
6846 }
6847 {
6848 PyThreadState* __tstate = wxPyBeginAllowThreads();
6849 (arg1)->CallTipSetForegroundHighlight((wxColour const &)*arg2);
6850
6851 wxPyEndAllowThreads(__tstate);
6852 if (PyErr_Occurred()) SWIG_fail;
6853 }
6854 Py_INCREF(Py_None); resultobj = Py_None;
6855 return resultobj;
6856 fail:
6857 return NULL;
6858 }
6859
6860
6861 static PyObject *_wrap_StyledTextCtrl_VisibleFromDocLine(PyObject *self, PyObject *args, PyObject *kwargs) {
6862 PyObject *resultobj;
6863 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6864 int arg2 ;
6865 int result;
6866 PyObject * obj0 = 0 ;
6867 PyObject * obj1 = 0 ;
6868 char *kwnames[] = {
6869 (char *) "self",(char *) "line", NULL
6870 };
6871
6872 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_VisibleFromDocLine",kwnames,&obj0,&obj1)) goto fail;
6873 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
6874 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6875 arg2 = (int) SWIG_AsInt(obj1);
6876 if (PyErr_Occurred()) SWIG_fail;
6877 {
6878 PyThreadState* __tstate = wxPyBeginAllowThreads();
6879 result = (int)(arg1)->VisibleFromDocLine(arg2);
6880
6881 wxPyEndAllowThreads(__tstate);
6882 if (PyErr_Occurred()) SWIG_fail;
6883 }
6884 resultobj = SWIG_FromInt((int)result);
6885 return resultobj;
6886 fail:
6887 return NULL;
6888 }
6889
6890
6891 static PyObject *_wrap_StyledTextCtrl_DocLineFromVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
6892 PyObject *resultobj;
6893 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6894 int arg2 ;
6895 int result;
6896 PyObject * obj0 = 0 ;
6897 PyObject * obj1 = 0 ;
6898 char *kwnames[] = {
6899 (char *) "self",(char *) "lineDisplay", NULL
6900 };
6901
6902 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_DocLineFromVisible",kwnames,&obj0,&obj1)) goto fail;
6903 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
6904 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6905 arg2 = (int) SWIG_AsInt(obj1);
6906 if (PyErr_Occurred()) SWIG_fail;
6907 {
6908 PyThreadState* __tstate = wxPyBeginAllowThreads();
6909 result = (int)(arg1)->DocLineFromVisible(arg2);
6910
6911 wxPyEndAllowThreads(__tstate);
6912 if (PyErr_Occurred()) SWIG_fail;
6913 }
6914 resultobj = SWIG_FromInt((int)result);
6915 return resultobj;
6916 fail:
6917 return NULL;
6918 }
6919
6920
6921 static PyObject *_wrap_StyledTextCtrl_SetFoldLevel(PyObject *self, PyObject *args, PyObject *kwargs) {
6922 PyObject *resultobj;
6923 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6924 int arg2 ;
6925 int arg3 ;
6926 PyObject * obj0 = 0 ;
6927 PyObject * obj1 = 0 ;
6928 PyObject * obj2 = 0 ;
6929 char *kwnames[] = {
6930 (char *) "self",(char *) "line",(char *) "level", NULL
6931 };
6932
6933 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetFoldLevel",kwnames,&obj0,&obj1,&obj2)) goto fail;
6934 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
6935 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6936 arg2 = (int) SWIG_AsInt(obj1);
6937 if (PyErr_Occurred()) SWIG_fail;
6938 arg3 = (int) SWIG_AsInt(obj2);
6939 if (PyErr_Occurred()) SWIG_fail;
6940 {
6941 PyThreadState* __tstate = wxPyBeginAllowThreads();
6942 (arg1)->SetFoldLevel(arg2,arg3);
6943
6944 wxPyEndAllowThreads(__tstate);
6945 if (PyErr_Occurred()) SWIG_fail;
6946 }
6947 Py_INCREF(Py_None); resultobj = Py_None;
6948 return resultobj;
6949 fail:
6950 return NULL;
6951 }
6952
6953
6954 static PyObject *_wrap_StyledTextCtrl_GetFoldLevel(PyObject *self, PyObject *args, PyObject *kwargs) {
6955 PyObject *resultobj;
6956 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6957 int arg2 ;
6958 int result;
6959 PyObject * obj0 = 0 ;
6960 PyObject * obj1 = 0 ;
6961 char *kwnames[] = {
6962 (char *) "self",(char *) "line", NULL
6963 };
6964
6965 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GetFoldLevel",kwnames,&obj0,&obj1)) goto fail;
6966 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
6967 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6968 arg2 = (int) SWIG_AsInt(obj1);
6969 if (PyErr_Occurred()) SWIG_fail;
6970 {
6971 PyThreadState* __tstate = wxPyBeginAllowThreads();
6972 result = (int)(arg1)->GetFoldLevel(arg2);
6973
6974 wxPyEndAllowThreads(__tstate);
6975 if (PyErr_Occurred()) SWIG_fail;
6976 }
6977 resultobj = SWIG_FromInt((int)result);
6978 return resultobj;
6979 fail:
6980 return NULL;
6981 }
6982
6983
6984 static PyObject *_wrap_StyledTextCtrl_GetLastChild(PyObject *self, PyObject *args, PyObject *kwargs) {
6985 PyObject *resultobj;
6986 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
6987 int arg2 ;
6988 int arg3 ;
6989 int result;
6990 PyObject * obj0 = 0 ;
6991 PyObject * obj1 = 0 ;
6992 PyObject * obj2 = 0 ;
6993 char *kwnames[] = {
6994 (char *) "self",(char *) "line",(char *) "level", NULL
6995 };
6996
6997 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_GetLastChild",kwnames,&obj0,&obj1,&obj2)) goto fail;
6998 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
6999 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7000 arg2 = (int) SWIG_AsInt(obj1);
7001 if (PyErr_Occurred()) SWIG_fail;
7002 arg3 = (int) SWIG_AsInt(obj2);
7003 if (PyErr_Occurred()) SWIG_fail;
7004 {
7005 PyThreadState* __tstate = wxPyBeginAllowThreads();
7006 result = (int)(arg1)->GetLastChild(arg2,arg3);
7007
7008 wxPyEndAllowThreads(__tstate);
7009 if (PyErr_Occurred()) SWIG_fail;
7010 }
7011 resultobj = SWIG_FromInt((int)result);
7012 return resultobj;
7013 fail:
7014 return NULL;
7015 }
7016
7017
7018 static PyObject *_wrap_StyledTextCtrl_GetFoldParent(PyObject *self, PyObject *args, PyObject *kwargs) {
7019 PyObject *resultobj;
7020 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7021 int arg2 ;
7022 int result;
7023 PyObject * obj0 = 0 ;
7024 PyObject * obj1 = 0 ;
7025 char *kwnames[] = {
7026 (char *) "self",(char *) "line", NULL
7027 };
7028
7029 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GetFoldParent",kwnames,&obj0,&obj1)) goto fail;
7030 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
7031 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7032 arg2 = (int) SWIG_AsInt(obj1);
7033 if (PyErr_Occurred()) SWIG_fail;
7034 {
7035 PyThreadState* __tstate = wxPyBeginAllowThreads();
7036 result = (int)(arg1)->GetFoldParent(arg2);
7037
7038 wxPyEndAllowThreads(__tstate);
7039 if (PyErr_Occurred()) SWIG_fail;
7040 }
7041 resultobj = SWIG_FromInt((int)result);
7042 return resultobj;
7043 fail:
7044 return NULL;
7045 }
7046
7047
7048 static PyObject *_wrap_StyledTextCtrl_ShowLines(PyObject *self, PyObject *args, PyObject *kwargs) {
7049 PyObject *resultobj;
7050 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7051 int arg2 ;
7052 int arg3 ;
7053 PyObject * obj0 = 0 ;
7054 PyObject * obj1 = 0 ;
7055 PyObject * obj2 = 0 ;
7056 char *kwnames[] = {
7057 (char *) "self",(char *) "lineStart",(char *) "lineEnd", NULL
7058 };
7059
7060 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_ShowLines",kwnames,&obj0,&obj1,&obj2)) goto fail;
7061 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
7062 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7063 arg2 = (int) SWIG_AsInt(obj1);
7064 if (PyErr_Occurred()) SWIG_fail;
7065 arg3 = (int) SWIG_AsInt(obj2);
7066 if (PyErr_Occurred()) SWIG_fail;
7067 {
7068 PyThreadState* __tstate = wxPyBeginAllowThreads();
7069 (arg1)->ShowLines(arg2,arg3);
7070
7071 wxPyEndAllowThreads(__tstate);
7072 if (PyErr_Occurred()) SWIG_fail;
7073 }
7074 Py_INCREF(Py_None); resultobj = Py_None;
7075 return resultobj;
7076 fail:
7077 return NULL;
7078 }
7079
7080
7081 static PyObject *_wrap_StyledTextCtrl_HideLines(PyObject *self, PyObject *args, PyObject *kwargs) {
7082 PyObject *resultobj;
7083 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7084 int arg2 ;
7085 int arg3 ;
7086 PyObject * obj0 = 0 ;
7087 PyObject * obj1 = 0 ;
7088 PyObject * obj2 = 0 ;
7089 char *kwnames[] = {
7090 (char *) "self",(char *) "lineStart",(char *) "lineEnd", NULL
7091 };
7092
7093 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_HideLines",kwnames,&obj0,&obj1,&obj2)) goto fail;
7094 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
7095 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7096 arg2 = (int) SWIG_AsInt(obj1);
7097 if (PyErr_Occurred()) SWIG_fail;
7098 arg3 = (int) SWIG_AsInt(obj2);
7099 if (PyErr_Occurred()) SWIG_fail;
7100 {
7101 PyThreadState* __tstate = wxPyBeginAllowThreads();
7102 (arg1)->HideLines(arg2,arg3);
7103
7104 wxPyEndAllowThreads(__tstate);
7105 if (PyErr_Occurred()) SWIG_fail;
7106 }
7107 Py_INCREF(Py_None); resultobj = Py_None;
7108 return resultobj;
7109 fail:
7110 return NULL;
7111 }
7112
7113
7114 static PyObject *_wrap_StyledTextCtrl_GetLineVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
7115 PyObject *resultobj;
7116 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7117 int arg2 ;
7118 bool result;
7119 PyObject * obj0 = 0 ;
7120 PyObject * obj1 = 0 ;
7121 char *kwnames[] = {
7122 (char *) "self",(char *) "line", NULL
7123 };
7124
7125 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GetLineVisible",kwnames,&obj0,&obj1)) goto fail;
7126 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
7127 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7128 arg2 = (int) SWIG_AsInt(obj1);
7129 if (PyErr_Occurred()) SWIG_fail;
7130 {
7131 PyThreadState* __tstate = wxPyBeginAllowThreads();
7132 result = (bool)(arg1)->GetLineVisible(arg2);
7133
7134 wxPyEndAllowThreads(__tstate);
7135 if (PyErr_Occurred()) SWIG_fail;
7136 }
7137 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7138 return resultobj;
7139 fail:
7140 return NULL;
7141 }
7142
7143
7144 static PyObject *_wrap_StyledTextCtrl_SetFoldExpanded(PyObject *self, PyObject *args, PyObject *kwargs) {
7145 PyObject *resultobj;
7146 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7147 int arg2 ;
7148 bool arg3 ;
7149 PyObject * obj0 = 0 ;
7150 PyObject * obj1 = 0 ;
7151 PyObject * obj2 = 0 ;
7152 char *kwnames[] = {
7153 (char *) "self",(char *) "line",(char *) "expanded", NULL
7154 };
7155
7156 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetFoldExpanded",kwnames,&obj0,&obj1,&obj2)) goto fail;
7157 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
7158 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7159 arg2 = (int) SWIG_AsInt(obj1);
7160 if (PyErr_Occurred()) SWIG_fail;
7161 arg3 = (bool) SWIG_AsBool(obj2);
7162 if (PyErr_Occurred()) SWIG_fail;
7163 {
7164 PyThreadState* __tstate = wxPyBeginAllowThreads();
7165 (arg1)->SetFoldExpanded(arg2,arg3);
7166
7167 wxPyEndAllowThreads(__tstate);
7168 if (PyErr_Occurred()) SWIG_fail;
7169 }
7170 Py_INCREF(Py_None); resultobj = Py_None;
7171 return resultobj;
7172 fail:
7173 return NULL;
7174 }
7175
7176
7177 static PyObject *_wrap_StyledTextCtrl_GetFoldExpanded(PyObject *self, PyObject *args, PyObject *kwargs) {
7178 PyObject *resultobj;
7179 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7180 int arg2 ;
7181 bool result;
7182 PyObject * obj0 = 0 ;
7183 PyObject * obj1 = 0 ;
7184 char *kwnames[] = {
7185 (char *) "self",(char *) "line", NULL
7186 };
7187
7188 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GetFoldExpanded",kwnames,&obj0,&obj1)) goto fail;
7189 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
7190 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7191 arg2 = (int) SWIG_AsInt(obj1);
7192 if (PyErr_Occurred()) SWIG_fail;
7193 {
7194 PyThreadState* __tstate = wxPyBeginAllowThreads();
7195 result = (bool)(arg1)->GetFoldExpanded(arg2);
7196
7197 wxPyEndAllowThreads(__tstate);
7198 if (PyErr_Occurred()) SWIG_fail;
7199 }
7200 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7201 return resultobj;
7202 fail:
7203 return NULL;
7204 }
7205
7206
7207 static PyObject *_wrap_StyledTextCtrl_ToggleFold(PyObject *self, PyObject *args, PyObject *kwargs) {
7208 PyObject *resultobj;
7209 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7210 int arg2 ;
7211 PyObject * obj0 = 0 ;
7212 PyObject * obj1 = 0 ;
7213 char *kwnames[] = {
7214 (char *) "self",(char *) "line", NULL
7215 };
7216
7217 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_ToggleFold",kwnames,&obj0,&obj1)) goto fail;
7218 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
7219 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7220 arg2 = (int) SWIG_AsInt(obj1);
7221 if (PyErr_Occurred()) SWIG_fail;
7222 {
7223 PyThreadState* __tstate = wxPyBeginAllowThreads();
7224 (arg1)->ToggleFold(arg2);
7225
7226 wxPyEndAllowThreads(__tstate);
7227 if (PyErr_Occurred()) SWIG_fail;
7228 }
7229 Py_INCREF(Py_None); resultobj = Py_None;
7230 return resultobj;
7231 fail:
7232 return NULL;
7233 }
7234
7235
7236 static PyObject *_wrap_StyledTextCtrl_EnsureVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
7237 PyObject *resultobj;
7238 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7239 int arg2 ;
7240 PyObject * obj0 = 0 ;
7241 PyObject * obj1 = 0 ;
7242 char *kwnames[] = {
7243 (char *) "self",(char *) "line", NULL
7244 };
7245
7246 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_EnsureVisible",kwnames,&obj0,&obj1)) goto fail;
7247 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
7248 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7249 arg2 = (int) SWIG_AsInt(obj1);
7250 if (PyErr_Occurred()) SWIG_fail;
7251 {
7252 PyThreadState* __tstate = wxPyBeginAllowThreads();
7253 (arg1)->EnsureVisible(arg2);
7254
7255 wxPyEndAllowThreads(__tstate);
7256 if (PyErr_Occurred()) SWIG_fail;
7257 }
7258 Py_INCREF(Py_None); resultobj = Py_None;
7259 return resultobj;
7260 fail:
7261 return NULL;
7262 }
7263
7264
7265 static PyObject *_wrap_StyledTextCtrl_SetFoldFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
7266 PyObject *resultobj;
7267 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7268 int arg2 ;
7269 PyObject * obj0 = 0 ;
7270 PyObject * obj1 = 0 ;
7271 char *kwnames[] = {
7272 (char *) "self",(char *) "flags", NULL
7273 };
7274
7275 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetFoldFlags",kwnames,&obj0,&obj1)) goto fail;
7276 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
7277 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7278 arg2 = (int) SWIG_AsInt(obj1);
7279 if (PyErr_Occurred()) SWIG_fail;
7280 {
7281 PyThreadState* __tstate = wxPyBeginAllowThreads();
7282 (arg1)->SetFoldFlags(arg2);
7283
7284 wxPyEndAllowThreads(__tstate);
7285 if (PyErr_Occurred()) SWIG_fail;
7286 }
7287 Py_INCREF(Py_None); resultobj = Py_None;
7288 return resultobj;
7289 fail:
7290 return NULL;
7291 }
7292
7293
7294 static PyObject *_wrap_StyledTextCtrl_EnsureVisibleEnforcePolicy(PyObject *self, PyObject *args, PyObject *kwargs) {
7295 PyObject *resultobj;
7296 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7297 int arg2 ;
7298 PyObject * obj0 = 0 ;
7299 PyObject * obj1 = 0 ;
7300 char *kwnames[] = {
7301 (char *) "self",(char *) "line", NULL
7302 };
7303
7304 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_EnsureVisibleEnforcePolicy",kwnames,&obj0,&obj1)) goto fail;
7305 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
7306 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7307 arg2 = (int) SWIG_AsInt(obj1);
7308 if (PyErr_Occurred()) SWIG_fail;
7309 {
7310 PyThreadState* __tstate = wxPyBeginAllowThreads();
7311 (arg1)->EnsureVisibleEnforcePolicy(arg2);
7312
7313 wxPyEndAllowThreads(__tstate);
7314 if (PyErr_Occurred()) SWIG_fail;
7315 }
7316 Py_INCREF(Py_None); resultobj = Py_None;
7317 return resultobj;
7318 fail:
7319 return NULL;
7320 }
7321
7322
7323 static PyObject *_wrap_StyledTextCtrl_SetTabIndents(PyObject *self, PyObject *args, PyObject *kwargs) {
7324 PyObject *resultobj;
7325 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7326 bool arg2 ;
7327 PyObject * obj0 = 0 ;
7328 PyObject * obj1 = 0 ;
7329 char *kwnames[] = {
7330 (char *) "self",(char *) "tabIndents", NULL
7331 };
7332
7333 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetTabIndents",kwnames,&obj0,&obj1)) goto fail;
7334 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
7335 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7336 arg2 = (bool) SWIG_AsBool(obj1);
7337 if (PyErr_Occurred()) SWIG_fail;
7338 {
7339 PyThreadState* __tstate = wxPyBeginAllowThreads();
7340 (arg1)->SetTabIndents(arg2);
7341
7342 wxPyEndAllowThreads(__tstate);
7343 if (PyErr_Occurred()) SWIG_fail;
7344 }
7345 Py_INCREF(Py_None); resultobj = Py_None;
7346 return resultobj;
7347 fail:
7348 return NULL;
7349 }
7350
7351
7352 static PyObject *_wrap_StyledTextCtrl_GetTabIndents(PyObject *self, PyObject *args, PyObject *kwargs) {
7353 PyObject *resultobj;
7354 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7355 bool result;
7356 PyObject * obj0 = 0 ;
7357 char *kwnames[] = {
7358 (char *) "self", NULL
7359 };
7360
7361 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetTabIndents",kwnames,&obj0)) goto fail;
7362 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
7363 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7364 {
7365 PyThreadState* __tstate = wxPyBeginAllowThreads();
7366 result = (bool)(arg1)->GetTabIndents();
7367
7368 wxPyEndAllowThreads(__tstate);
7369 if (PyErr_Occurred()) SWIG_fail;
7370 }
7371 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7372 return resultobj;
7373 fail:
7374 return NULL;
7375 }
7376
7377
7378 static PyObject *_wrap_StyledTextCtrl_SetBackSpaceUnIndents(PyObject *self, PyObject *args, PyObject *kwargs) {
7379 PyObject *resultobj;
7380 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7381 bool arg2 ;
7382 PyObject * obj0 = 0 ;
7383 PyObject * obj1 = 0 ;
7384 char *kwnames[] = {
7385 (char *) "self",(char *) "bsUnIndents", NULL
7386 };
7387
7388 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetBackSpaceUnIndents",kwnames,&obj0,&obj1)) goto fail;
7389 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
7390 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7391 arg2 = (bool) SWIG_AsBool(obj1);
7392 if (PyErr_Occurred()) SWIG_fail;
7393 {
7394 PyThreadState* __tstate = wxPyBeginAllowThreads();
7395 (arg1)->SetBackSpaceUnIndents(arg2);
7396
7397 wxPyEndAllowThreads(__tstate);
7398 if (PyErr_Occurred()) SWIG_fail;
7399 }
7400 Py_INCREF(Py_None); resultobj = Py_None;
7401 return resultobj;
7402 fail:
7403 return NULL;
7404 }
7405
7406
7407 static PyObject *_wrap_StyledTextCtrl_GetBackSpaceUnIndents(PyObject *self, PyObject *args, PyObject *kwargs) {
7408 PyObject *resultobj;
7409 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7410 bool result;
7411 PyObject * obj0 = 0 ;
7412 char *kwnames[] = {
7413 (char *) "self", NULL
7414 };
7415
7416 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetBackSpaceUnIndents",kwnames,&obj0)) goto fail;
7417 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
7418 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7419 {
7420 PyThreadState* __tstate = wxPyBeginAllowThreads();
7421 result = (bool)(arg1)->GetBackSpaceUnIndents();
7422
7423 wxPyEndAllowThreads(__tstate);
7424 if (PyErr_Occurred()) SWIG_fail;
7425 }
7426 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7427 return resultobj;
7428 fail:
7429 return NULL;
7430 }
7431
7432
7433 static PyObject *_wrap_StyledTextCtrl_SetMouseDwellTime(PyObject *self, PyObject *args, PyObject *kwargs) {
7434 PyObject *resultobj;
7435 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7436 int arg2 ;
7437 PyObject * obj0 = 0 ;
7438 PyObject * obj1 = 0 ;
7439 char *kwnames[] = {
7440 (char *) "self",(char *) "periodMilliseconds", NULL
7441 };
7442
7443 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetMouseDwellTime",kwnames,&obj0,&obj1)) goto fail;
7444 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
7445 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7446 arg2 = (int) SWIG_AsInt(obj1);
7447 if (PyErr_Occurred()) SWIG_fail;
7448 {
7449 PyThreadState* __tstate = wxPyBeginAllowThreads();
7450 (arg1)->SetMouseDwellTime(arg2);
7451
7452 wxPyEndAllowThreads(__tstate);
7453 if (PyErr_Occurred()) SWIG_fail;
7454 }
7455 Py_INCREF(Py_None); resultobj = Py_None;
7456 return resultobj;
7457 fail:
7458 return NULL;
7459 }
7460
7461
7462 static PyObject *_wrap_StyledTextCtrl_GetMouseDwellTime(PyObject *self, PyObject *args, PyObject *kwargs) {
7463 PyObject *resultobj;
7464 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7465 int result;
7466 PyObject * obj0 = 0 ;
7467 char *kwnames[] = {
7468 (char *) "self", NULL
7469 };
7470
7471 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetMouseDwellTime",kwnames,&obj0)) goto fail;
7472 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
7473 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7474 {
7475 PyThreadState* __tstate = wxPyBeginAllowThreads();
7476 result = (int)(arg1)->GetMouseDwellTime();
7477
7478 wxPyEndAllowThreads(__tstate);
7479 if (PyErr_Occurred()) SWIG_fail;
7480 }
7481 resultobj = SWIG_FromInt((int)result);
7482 return resultobj;
7483 fail:
7484 return NULL;
7485 }
7486
7487
7488 static PyObject *_wrap_StyledTextCtrl_WordStartPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
7489 PyObject *resultobj;
7490 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7491 int arg2 ;
7492 bool arg3 ;
7493 int result;
7494 PyObject * obj0 = 0 ;
7495 PyObject * obj1 = 0 ;
7496 PyObject * obj2 = 0 ;
7497 char *kwnames[] = {
7498 (char *) "self",(char *) "pos",(char *) "onlyWordCharacters", NULL
7499 };
7500
7501 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_WordStartPosition",kwnames,&obj0,&obj1,&obj2)) goto fail;
7502 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
7503 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7504 arg2 = (int) SWIG_AsInt(obj1);
7505 if (PyErr_Occurred()) SWIG_fail;
7506 arg3 = (bool) SWIG_AsBool(obj2);
7507 if (PyErr_Occurred()) SWIG_fail;
7508 {
7509 PyThreadState* __tstate = wxPyBeginAllowThreads();
7510 result = (int)(arg1)->WordStartPosition(arg2,arg3);
7511
7512 wxPyEndAllowThreads(__tstate);
7513 if (PyErr_Occurred()) SWIG_fail;
7514 }
7515 resultobj = SWIG_FromInt((int)result);
7516 return resultobj;
7517 fail:
7518 return NULL;
7519 }
7520
7521
7522 static PyObject *_wrap_StyledTextCtrl_WordEndPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
7523 PyObject *resultobj;
7524 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7525 int arg2 ;
7526 bool arg3 ;
7527 int result;
7528 PyObject * obj0 = 0 ;
7529 PyObject * obj1 = 0 ;
7530 PyObject * obj2 = 0 ;
7531 char *kwnames[] = {
7532 (char *) "self",(char *) "pos",(char *) "onlyWordCharacters", NULL
7533 };
7534
7535 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_WordEndPosition",kwnames,&obj0,&obj1,&obj2)) goto fail;
7536 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
7537 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7538 arg2 = (int) SWIG_AsInt(obj1);
7539 if (PyErr_Occurred()) SWIG_fail;
7540 arg3 = (bool) SWIG_AsBool(obj2);
7541 if (PyErr_Occurred()) SWIG_fail;
7542 {
7543 PyThreadState* __tstate = wxPyBeginAllowThreads();
7544 result = (int)(arg1)->WordEndPosition(arg2,arg3);
7545
7546 wxPyEndAllowThreads(__tstate);
7547 if (PyErr_Occurred()) SWIG_fail;
7548 }
7549 resultobj = SWIG_FromInt((int)result);
7550 return resultobj;
7551 fail:
7552 return NULL;
7553 }
7554
7555
7556 static PyObject *_wrap_StyledTextCtrl_SetWrapMode(PyObject *self, PyObject *args, PyObject *kwargs) {
7557 PyObject *resultobj;
7558 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7559 int arg2 ;
7560 PyObject * obj0 = 0 ;
7561 PyObject * obj1 = 0 ;
7562 char *kwnames[] = {
7563 (char *) "self",(char *) "mode", NULL
7564 };
7565
7566 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetWrapMode",kwnames,&obj0,&obj1)) goto fail;
7567 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
7568 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7569 arg2 = (int) SWIG_AsInt(obj1);
7570 if (PyErr_Occurred()) SWIG_fail;
7571 {
7572 PyThreadState* __tstate = wxPyBeginAllowThreads();
7573 (arg1)->SetWrapMode(arg2);
7574
7575 wxPyEndAllowThreads(__tstate);
7576 if (PyErr_Occurred()) SWIG_fail;
7577 }
7578 Py_INCREF(Py_None); resultobj = Py_None;
7579 return resultobj;
7580 fail:
7581 return NULL;
7582 }
7583
7584
7585 static PyObject *_wrap_StyledTextCtrl_GetWrapMode(PyObject *self, PyObject *args, PyObject *kwargs) {
7586 PyObject *resultobj;
7587 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7588 int result;
7589 PyObject * obj0 = 0 ;
7590 char *kwnames[] = {
7591 (char *) "self", NULL
7592 };
7593
7594 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetWrapMode",kwnames,&obj0)) goto fail;
7595 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
7596 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7597 {
7598 PyThreadState* __tstate = wxPyBeginAllowThreads();
7599 result = (int)(arg1)->GetWrapMode();
7600
7601 wxPyEndAllowThreads(__tstate);
7602 if (PyErr_Occurred()) SWIG_fail;
7603 }
7604 resultobj = SWIG_FromInt((int)result);
7605 return resultobj;
7606 fail:
7607 return NULL;
7608 }
7609
7610
7611 static PyObject *_wrap_StyledTextCtrl_SetLayoutCache(PyObject *self, PyObject *args, PyObject *kwargs) {
7612 PyObject *resultobj;
7613 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7614 int arg2 ;
7615 PyObject * obj0 = 0 ;
7616 PyObject * obj1 = 0 ;
7617 char *kwnames[] = {
7618 (char *) "self",(char *) "mode", NULL
7619 };
7620
7621 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetLayoutCache",kwnames,&obj0,&obj1)) goto fail;
7622 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
7623 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7624 arg2 = (int) SWIG_AsInt(obj1);
7625 if (PyErr_Occurred()) SWIG_fail;
7626 {
7627 PyThreadState* __tstate = wxPyBeginAllowThreads();
7628 (arg1)->SetLayoutCache(arg2);
7629
7630 wxPyEndAllowThreads(__tstate);
7631 if (PyErr_Occurred()) SWIG_fail;
7632 }
7633 Py_INCREF(Py_None); resultobj = Py_None;
7634 return resultobj;
7635 fail:
7636 return NULL;
7637 }
7638
7639
7640 static PyObject *_wrap_StyledTextCtrl_GetLayoutCache(PyObject *self, PyObject *args, PyObject *kwargs) {
7641 PyObject *resultobj;
7642 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7643 int result;
7644 PyObject * obj0 = 0 ;
7645 char *kwnames[] = {
7646 (char *) "self", NULL
7647 };
7648
7649 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetLayoutCache",kwnames,&obj0)) goto fail;
7650 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
7651 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7652 {
7653 PyThreadState* __tstate = wxPyBeginAllowThreads();
7654 result = (int)(arg1)->GetLayoutCache();
7655
7656 wxPyEndAllowThreads(__tstate);
7657 if (PyErr_Occurred()) SWIG_fail;
7658 }
7659 resultobj = SWIG_FromInt((int)result);
7660 return resultobj;
7661 fail:
7662 return NULL;
7663 }
7664
7665
7666 static PyObject *_wrap_StyledTextCtrl_SetScrollWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
7667 PyObject *resultobj;
7668 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7669 int arg2 ;
7670 PyObject * obj0 = 0 ;
7671 PyObject * obj1 = 0 ;
7672 char *kwnames[] = {
7673 (char *) "self",(char *) "pixelWidth", NULL
7674 };
7675
7676 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetScrollWidth",kwnames,&obj0,&obj1)) goto fail;
7677 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
7678 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7679 arg2 = (int) SWIG_AsInt(obj1);
7680 if (PyErr_Occurred()) SWIG_fail;
7681 {
7682 PyThreadState* __tstate = wxPyBeginAllowThreads();
7683 (arg1)->SetScrollWidth(arg2);
7684
7685 wxPyEndAllowThreads(__tstate);
7686 if (PyErr_Occurred()) SWIG_fail;
7687 }
7688 Py_INCREF(Py_None); resultobj = Py_None;
7689 return resultobj;
7690 fail:
7691 return NULL;
7692 }
7693
7694
7695 static PyObject *_wrap_StyledTextCtrl_GetScrollWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
7696 PyObject *resultobj;
7697 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7698 int result;
7699 PyObject * obj0 = 0 ;
7700 char *kwnames[] = {
7701 (char *) "self", NULL
7702 };
7703
7704 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetScrollWidth",kwnames,&obj0)) goto fail;
7705 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
7706 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7707 {
7708 PyThreadState* __tstate = wxPyBeginAllowThreads();
7709 result = (int)(arg1)->GetScrollWidth();
7710
7711 wxPyEndAllowThreads(__tstate);
7712 if (PyErr_Occurred()) SWIG_fail;
7713 }
7714 resultobj = SWIG_FromInt((int)result);
7715 return resultobj;
7716 fail:
7717 return NULL;
7718 }
7719
7720
7721 static PyObject *_wrap_StyledTextCtrl_TextWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
7722 PyObject *resultobj;
7723 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7724 int arg2 ;
7725 wxString *arg3 = 0 ;
7726 int result;
7727 bool temp3 = False ;
7728 PyObject * obj0 = 0 ;
7729 PyObject * obj1 = 0 ;
7730 PyObject * obj2 = 0 ;
7731 char *kwnames[] = {
7732 (char *) "self",(char *) "style",(char *) "text", NULL
7733 };
7734
7735 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_TextWidth",kwnames,&obj0,&obj1,&obj2)) goto fail;
7736 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
7737 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7738 arg2 = (int) SWIG_AsInt(obj1);
7739 if (PyErr_Occurred()) SWIG_fail;
7740 {
7741 arg3 = wxString_in_helper(obj2);
7742 if (arg3 == NULL) SWIG_fail;
7743 temp3 = True;
7744 }
7745 {
7746 PyThreadState* __tstate = wxPyBeginAllowThreads();
7747 result = (int)(arg1)->TextWidth(arg2,(wxString const &)*arg3);
7748
7749 wxPyEndAllowThreads(__tstate);
7750 if (PyErr_Occurred()) SWIG_fail;
7751 }
7752 resultobj = SWIG_FromInt((int)result);
7753 {
7754 if (temp3)
7755 delete arg3;
7756 }
7757 return resultobj;
7758 fail:
7759 {
7760 if (temp3)
7761 delete arg3;
7762 }
7763 return NULL;
7764 }
7765
7766
7767 static PyObject *_wrap_StyledTextCtrl_SetEndAtLastLine(PyObject *self, PyObject *args, PyObject *kwargs) {
7768 PyObject *resultobj;
7769 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7770 bool arg2 ;
7771 PyObject * obj0 = 0 ;
7772 PyObject * obj1 = 0 ;
7773 char *kwnames[] = {
7774 (char *) "self",(char *) "endAtLastLine", NULL
7775 };
7776
7777 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetEndAtLastLine",kwnames,&obj0,&obj1)) goto fail;
7778 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
7779 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7780 arg2 = (bool) SWIG_AsBool(obj1);
7781 if (PyErr_Occurred()) SWIG_fail;
7782 {
7783 PyThreadState* __tstate = wxPyBeginAllowThreads();
7784 (arg1)->SetEndAtLastLine(arg2);
7785
7786 wxPyEndAllowThreads(__tstate);
7787 if (PyErr_Occurred()) SWIG_fail;
7788 }
7789 Py_INCREF(Py_None); resultobj = Py_None;
7790 return resultobj;
7791 fail:
7792 return NULL;
7793 }
7794
7795
7796 static PyObject *_wrap_StyledTextCtrl_GetEndAtLastLine(PyObject *self, PyObject *args, PyObject *kwargs) {
7797 PyObject *resultobj;
7798 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7799 int result;
7800 PyObject * obj0 = 0 ;
7801 char *kwnames[] = {
7802 (char *) "self", NULL
7803 };
7804
7805 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetEndAtLastLine",kwnames,&obj0)) goto fail;
7806 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
7807 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7808 {
7809 PyThreadState* __tstate = wxPyBeginAllowThreads();
7810 result = (int)(arg1)->GetEndAtLastLine();
7811
7812 wxPyEndAllowThreads(__tstate);
7813 if (PyErr_Occurred()) SWIG_fail;
7814 }
7815 resultobj = SWIG_FromInt((int)result);
7816 return resultobj;
7817 fail:
7818 return NULL;
7819 }
7820
7821
7822 static PyObject *_wrap_StyledTextCtrl_TextHeight(PyObject *self, PyObject *args, PyObject *kwargs) {
7823 PyObject *resultobj;
7824 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7825 int arg2 ;
7826 int result;
7827 PyObject * obj0 = 0 ;
7828 PyObject * obj1 = 0 ;
7829 char *kwnames[] = {
7830 (char *) "self",(char *) "line", NULL
7831 };
7832
7833 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_TextHeight",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 = (int) SWIG_AsInt(obj1);
7837 if (PyErr_Occurred()) SWIG_fail;
7838 {
7839 PyThreadState* __tstate = wxPyBeginAllowThreads();
7840 result = (int)(arg1)->TextHeight(arg2);
7841
7842 wxPyEndAllowThreads(__tstate);
7843 if (PyErr_Occurred()) SWIG_fail;
7844 }
7845 resultobj = SWIG_FromInt((int)result);
7846 return resultobj;
7847 fail:
7848 return NULL;
7849 }
7850
7851
7852 static PyObject *_wrap_StyledTextCtrl_SetUseVerticalScrollBar(PyObject *self, PyObject *args, PyObject *kwargs) {
7853 PyObject *resultobj;
7854 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7855 bool arg2 ;
7856 PyObject * obj0 = 0 ;
7857 PyObject * obj1 = 0 ;
7858 char *kwnames[] = {
7859 (char *) "self",(char *) "show", NULL
7860 };
7861
7862 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetUseVerticalScrollBar",kwnames,&obj0,&obj1)) goto fail;
7863 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
7864 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7865 arg2 = (bool) SWIG_AsBool(obj1);
7866 if (PyErr_Occurred()) SWIG_fail;
7867 {
7868 PyThreadState* __tstate = wxPyBeginAllowThreads();
7869 (arg1)->SetUseVerticalScrollBar(arg2);
7870
7871 wxPyEndAllowThreads(__tstate);
7872 if (PyErr_Occurred()) SWIG_fail;
7873 }
7874 Py_INCREF(Py_None); resultobj = Py_None;
7875 return resultobj;
7876 fail:
7877 return NULL;
7878 }
7879
7880
7881 static PyObject *_wrap_StyledTextCtrl_GetUseVerticalScrollBar(PyObject *self, PyObject *args, PyObject *kwargs) {
7882 PyObject *resultobj;
7883 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7884 bool result;
7885 PyObject * obj0 = 0 ;
7886 char *kwnames[] = {
7887 (char *) "self", NULL
7888 };
7889
7890 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetUseVerticalScrollBar",kwnames,&obj0)) goto fail;
7891 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
7892 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7893 {
7894 PyThreadState* __tstate = wxPyBeginAllowThreads();
7895 result = (bool)(arg1)->GetUseVerticalScrollBar();
7896
7897 wxPyEndAllowThreads(__tstate);
7898 if (PyErr_Occurred()) SWIG_fail;
7899 }
7900 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7901 return resultobj;
7902 fail:
7903 return NULL;
7904 }
7905
7906
7907 static PyObject *_wrap_StyledTextCtrl_AppendText(PyObject *self, PyObject *args, PyObject *kwargs) {
7908 PyObject *resultobj;
7909 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7910 int arg2 ;
7911 wxString *arg3 = 0 ;
7912 bool temp3 = False ;
7913 PyObject * obj0 = 0 ;
7914 PyObject * obj1 = 0 ;
7915 PyObject * obj2 = 0 ;
7916 char *kwnames[] = {
7917 (char *) "self",(char *) "length",(char *) "text", NULL
7918 };
7919
7920 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_AppendText",kwnames,&obj0,&obj1,&obj2)) goto fail;
7921 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
7922 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7923 arg2 = (int) SWIG_AsInt(obj1);
7924 if (PyErr_Occurred()) SWIG_fail;
7925 {
7926 arg3 = wxString_in_helper(obj2);
7927 if (arg3 == NULL) SWIG_fail;
7928 temp3 = True;
7929 }
7930 {
7931 PyThreadState* __tstate = wxPyBeginAllowThreads();
7932 (arg1)->AppendText(arg2,(wxString const &)*arg3);
7933
7934 wxPyEndAllowThreads(__tstate);
7935 if (PyErr_Occurred()) SWIG_fail;
7936 }
7937 Py_INCREF(Py_None); resultobj = Py_None;
7938 {
7939 if (temp3)
7940 delete arg3;
7941 }
7942 return resultobj;
7943 fail:
7944 {
7945 if (temp3)
7946 delete arg3;
7947 }
7948 return NULL;
7949 }
7950
7951
7952 static PyObject *_wrap_StyledTextCtrl_GetTwoPhaseDraw(PyObject *self, PyObject *args, PyObject *kwargs) {
7953 PyObject *resultobj;
7954 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7955 bool result;
7956 PyObject * obj0 = 0 ;
7957 char *kwnames[] = {
7958 (char *) "self", NULL
7959 };
7960
7961 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetTwoPhaseDraw",kwnames,&obj0)) goto fail;
7962 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
7963 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7964 {
7965 PyThreadState* __tstate = wxPyBeginAllowThreads();
7966 result = (bool)(arg1)->GetTwoPhaseDraw();
7967
7968 wxPyEndAllowThreads(__tstate);
7969 if (PyErr_Occurred()) SWIG_fail;
7970 }
7971 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7972 return resultobj;
7973 fail:
7974 return NULL;
7975 }
7976
7977
7978 static PyObject *_wrap_StyledTextCtrl_SetTwoPhaseDraw(PyObject *self, PyObject *args, PyObject *kwargs) {
7979 PyObject *resultobj;
7980 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
7981 bool arg2 ;
7982 PyObject * obj0 = 0 ;
7983 PyObject * obj1 = 0 ;
7984 char *kwnames[] = {
7985 (char *) "self",(char *) "twoPhase", NULL
7986 };
7987
7988 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetTwoPhaseDraw",kwnames,&obj0,&obj1)) goto fail;
7989 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
7990 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7991 arg2 = (bool) SWIG_AsBool(obj1);
7992 if (PyErr_Occurred()) SWIG_fail;
7993 {
7994 PyThreadState* __tstate = wxPyBeginAllowThreads();
7995 (arg1)->SetTwoPhaseDraw(arg2);
7996
7997 wxPyEndAllowThreads(__tstate);
7998 if (PyErr_Occurred()) SWIG_fail;
7999 }
8000 Py_INCREF(Py_None); resultobj = Py_None;
8001 return resultobj;
8002 fail:
8003 return NULL;
8004 }
8005
8006
8007 static PyObject *_wrap_StyledTextCtrl_TargetFromSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
8008 PyObject *resultobj;
8009 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8010 PyObject * obj0 = 0 ;
8011 char *kwnames[] = {
8012 (char *) "self", NULL
8013 };
8014
8015 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_TargetFromSelection",kwnames,&obj0)) goto fail;
8016 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
8017 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8018 {
8019 PyThreadState* __tstate = wxPyBeginAllowThreads();
8020 (arg1)->TargetFromSelection();
8021
8022 wxPyEndAllowThreads(__tstate);
8023 if (PyErr_Occurred()) SWIG_fail;
8024 }
8025 Py_INCREF(Py_None); resultobj = Py_None;
8026 return resultobj;
8027 fail:
8028 return NULL;
8029 }
8030
8031
8032 static PyObject *_wrap_StyledTextCtrl_LinesJoin(PyObject *self, PyObject *args, PyObject *kwargs) {
8033 PyObject *resultobj;
8034 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8035 PyObject * obj0 = 0 ;
8036 char *kwnames[] = {
8037 (char *) "self", NULL
8038 };
8039
8040 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_LinesJoin",kwnames,&obj0)) goto fail;
8041 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
8042 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8043 {
8044 PyThreadState* __tstate = wxPyBeginAllowThreads();
8045 (arg1)->LinesJoin();
8046
8047 wxPyEndAllowThreads(__tstate);
8048 if (PyErr_Occurred()) SWIG_fail;
8049 }
8050 Py_INCREF(Py_None); resultobj = Py_None;
8051 return resultobj;
8052 fail:
8053 return NULL;
8054 }
8055
8056
8057 static PyObject *_wrap_StyledTextCtrl_LinesSplit(PyObject *self, PyObject *args, PyObject *kwargs) {
8058 PyObject *resultobj;
8059 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8060 int arg2 ;
8061 PyObject * obj0 = 0 ;
8062 PyObject * obj1 = 0 ;
8063 char *kwnames[] = {
8064 (char *) "self",(char *) "pixelWidth", NULL
8065 };
8066
8067 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_LinesSplit",kwnames,&obj0,&obj1)) goto fail;
8068 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
8069 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8070 arg2 = (int) SWIG_AsInt(obj1);
8071 if (PyErr_Occurred()) SWIG_fail;
8072 {
8073 PyThreadState* __tstate = wxPyBeginAllowThreads();
8074 (arg1)->LinesSplit(arg2);
8075
8076 wxPyEndAllowThreads(__tstate);
8077 if (PyErr_Occurred()) SWIG_fail;
8078 }
8079 Py_INCREF(Py_None); resultobj = Py_None;
8080 return resultobj;
8081 fail:
8082 return NULL;
8083 }
8084
8085
8086 static PyObject *_wrap_StyledTextCtrl_SetFoldMarginColour(PyObject *self, PyObject *args, PyObject *kwargs) {
8087 PyObject *resultobj;
8088 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8089 bool arg2 ;
8090 wxColour *arg3 = 0 ;
8091 wxColour temp3 ;
8092 PyObject * obj0 = 0 ;
8093 PyObject * obj1 = 0 ;
8094 PyObject * obj2 = 0 ;
8095 char *kwnames[] = {
8096 (char *) "self",(char *) "useSetting",(char *) "back", NULL
8097 };
8098
8099 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetFoldMarginColour",kwnames,&obj0,&obj1,&obj2)) goto fail;
8100 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
8101 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8102 arg2 = (bool) SWIG_AsBool(obj1);
8103 if (PyErr_Occurred()) SWIG_fail;
8104 {
8105 arg3 = &temp3;
8106 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
8107 }
8108 {
8109 PyThreadState* __tstate = wxPyBeginAllowThreads();
8110 (arg1)->SetFoldMarginColour(arg2,(wxColour const &)*arg3);
8111
8112 wxPyEndAllowThreads(__tstate);
8113 if (PyErr_Occurred()) SWIG_fail;
8114 }
8115 Py_INCREF(Py_None); resultobj = Py_None;
8116 return resultobj;
8117 fail:
8118 return NULL;
8119 }
8120
8121
8122 static PyObject *_wrap_StyledTextCtrl_SetFoldMarginHiColour(PyObject *self, PyObject *args, PyObject *kwargs) {
8123 PyObject *resultobj;
8124 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8125 bool arg2 ;
8126 wxColour *arg3 = 0 ;
8127 wxColour temp3 ;
8128 PyObject * obj0 = 0 ;
8129 PyObject * obj1 = 0 ;
8130 PyObject * obj2 = 0 ;
8131 char *kwnames[] = {
8132 (char *) "self",(char *) "useSetting",(char *) "fore", NULL
8133 };
8134
8135 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetFoldMarginHiColour",kwnames,&obj0,&obj1,&obj2)) goto fail;
8136 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
8137 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8138 arg2 = (bool) SWIG_AsBool(obj1);
8139 if (PyErr_Occurred()) SWIG_fail;
8140 {
8141 arg3 = &temp3;
8142 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
8143 }
8144 {
8145 PyThreadState* __tstate = wxPyBeginAllowThreads();
8146 (arg1)->SetFoldMarginHiColour(arg2,(wxColour const &)*arg3);
8147
8148 wxPyEndAllowThreads(__tstate);
8149 if (PyErr_Occurred()) SWIG_fail;
8150 }
8151 Py_INCREF(Py_None); resultobj = Py_None;
8152 return resultobj;
8153 fail:
8154 return NULL;
8155 }
8156
8157
8158 static PyObject *_wrap_StyledTextCtrl_LineDuplicate(PyObject *self, PyObject *args, PyObject *kwargs) {
8159 PyObject *resultobj;
8160 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8161 PyObject * obj0 = 0 ;
8162 char *kwnames[] = {
8163 (char *) "self", NULL
8164 };
8165
8166 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_LineDuplicate",kwnames,&obj0)) goto fail;
8167 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
8168 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8169 {
8170 PyThreadState* __tstate = wxPyBeginAllowThreads();
8171 (arg1)->LineDuplicate();
8172
8173 wxPyEndAllowThreads(__tstate);
8174 if (PyErr_Occurred()) SWIG_fail;
8175 }
8176 Py_INCREF(Py_None); resultobj = Py_None;
8177 return resultobj;
8178 fail:
8179 return NULL;
8180 }
8181
8182
8183 static PyObject *_wrap_StyledTextCtrl_HomeDisplay(PyObject *self, PyObject *args, PyObject *kwargs) {
8184 PyObject *resultobj;
8185 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8186 PyObject * obj0 = 0 ;
8187 char *kwnames[] = {
8188 (char *) "self", NULL
8189 };
8190
8191 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_HomeDisplay",kwnames,&obj0)) goto fail;
8192 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
8193 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8194 {
8195 PyThreadState* __tstate = wxPyBeginAllowThreads();
8196 (arg1)->HomeDisplay();
8197
8198 wxPyEndAllowThreads(__tstate);
8199 if (PyErr_Occurred()) SWIG_fail;
8200 }
8201 Py_INCREF(Py_None); resultobj = Py_None;
8202 return resultobj;
8203 fail:
8204 return NULL;
8205 }
8206
8207
8208 static PyObject *_wrap_StyledTextCtrl_HomeDisplayExtend(PyObject *self, PyObject *args, PyObject *kwargs) {
8209 PyObject *resultobj;
8210 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8211 PyObject * obj0 = 0 ;
8212 char *kwnames[] = {
8213 (char *) "self", NULL
8214 };
8215
8216 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_HomeDisplayExtend",kwnames,&obj0)) goto fail;
8217 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
8218 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8219 {
8220 PyThreadState* __tstate = wxPyBeginAllowThreads();
8221 (arg1)->HomeDisplayExtend();
8222
8223 wxPyEndAllowThreads(__tstate);
8224 if (PyErr_Occurred()) SWIG_fail;
8225 }
8226 Py_INCREF(Py_None); resultobj = Py_None;
8227 return resultobj;
8228 fail:
8229 return NULL;
8230 }
8231
8232
8233 static PyObject *_wrap_StyledTextCtrl_LineEndDisplay(PyObject *self, PyObject *args, PyObject *kwargs) {
8234 PyObject *resultobj;
8235 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8236 PyObject * obj0 = 0 ;
8237 char *kwnames[] = {
8238 (char *) "self", NULL
8239 };
8240
8241 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_LineEndDisplay",kwnames,&obj0)) goto fail;
8242 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
8243 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8244 {
8245 PyThreadState* __tstate = wxPyBeginAllowThreads();
8246 (arg1)->LineEndDisplay();
8247
8248 wxPyEndAllowThreads(__tstate);
8249 if (PyErr_Occurred()) SWIG_fail;
8250 }
8251 Py_INCREF(Py_None); resultobj = Py_None;
8252 return resultobj;
8253 fail:
8254 return NULL;
8255 }
8256
8257
8258 static PyObject *_wrap_StyledTextCtrl_LineEndDisplayExtend(PyObject *self, PyObject *args, PyObject *kwargs) {
8259 PyObject *resultobj;
8260 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8261 PyObject * obj0 = 0 ;
8262 char *kwnames[] = {
8263 (char *) "self", NULL
8264 };
8265
8266 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_LineEndDisplayExtend",kwnames,&obj0)) goto fail;
8267 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
8268 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8269 {
8270 PyThreadState* __tstate = wxPyBeginAllowThreads();
8271 (arg1)->LineEndDisplayExtend();
8272
8273 wxPyEndAllowThreads(__tstate);
8274 if (PyErr_Occurred()) SWIG_fail;
8275 }
8276 Py_INCREF(Py_None); resultobj = Py_None;
8277 return resultobj;
8278 fail:
8279 return NULL;
8280 }
8281
8282
8283 static PyObject *_wrap_StyledTextCtrl_LineCopy(PyObject *self, PyObject *args, PyObject *kwargs) {
8284 PyObject *resultobj;
8285 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8286 PyObject * obj0 = 0 ;
8287 char *kwnames[] = {
8288 (char *) "self", NULL
8289 };
8290
8291 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_LineCopy",kwnames,&obj0)) goto fail;
8292 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
8293 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8294 {
8295 PyThreadState* __tstate = wxPyBeginAllowThreads();
8296 (arg1)->LineCopy();
8297
8298 wxPyEndAllowThreads(__tstate);
8299 if (PyErr_Occurred()) SWIG_fail;
8300 }
8301 Py_INCREF(Py_None); resultobj = Py_None;
8302 return resultobj;
8303 fail:
8304 return NULL;
8305 }
8306
8307
8308 static PyObject *_wrap_StyledTextCtrl_MoveCaretInsideView(PyObject *self, PyObject *args, PyObject *kwargs) {
8309 PyObject *resultobj;
8310 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8311 PyObject * obj0 = 0 ;
8312 char *kwnames[] = {
8313 (char *) "self", NULL
8314 };
8315
8316 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_MoveCaretInsideView",kwnames,&obj0)) goto fail;
8317 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
8318 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8319 {
8320 PyThreadState* __tstate = wxPyBeginAllowThreads();
8321 (arg1)->MoveCaretInsideView();
8322
8323 wxPyEndAllowThreads(__tstate);
8324 if (PyErr_Occurred()) SWIG_fail;
8325 }
8326 Py_INCREF(Py_None); resultobj = Py_None;
8327 return resultobj;
8328 fail:
8329 return NULL;
8330 }
8331
8332
8333 static PyObject *_wrap_StyledTextCtrl_LineLength(PyObject *self, PyObject *args, PyObject *kwargs) {
8334 PyObject *resultobj;
8335 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8336 int arg2 ;
8337 int result;
8338 PyObject * obj0 = 0 ;
8339 PyObject * obj1 = 0 ;
8340 char *kwnames[] = {
8341 (char *) "self",(char *) "line", NULL
8342 };
8343
8344 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_LineLength",kwnames,&obj0,&obj1)) goto fail;
8345 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
8346 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8347 arg2 = (int) SWIG_AsInt(obj1);
8348 if (PyErr_Occurred()) SWIG_fail;
8349 {
8350 PyThreadState* __tstate = wxPyBeginAllowThreads();
8351 result = (int)(arg1)->LineLength(arg2);
8352
8353 wxPyEndAllowThreads(__tstate);
8354 if (PyErr_Occurred()) SWIG_fail;
8355 }
8356 resultobj = SWIG_FromInt((int)result);
8357 return resultobj;
8358 fail:
8359 return NULL;
8360 }
8361
8362
8363 static PyObject *_wrap_StyledTextCtrl_BraceHighlight(PyObject *self, PyObject *args, PyObject *kwargs) {
8364 PyObject *resultobj;
8365 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8366 int arg2 ;
8367 int arg3 ;
8368 PyObject * obj0 = 0 ;
8369 PyObject * obj1 = 0 ;
8370 PyObject * obj2 = 0 ;
8371 char *kwnames[] = {
8372 (char *) "self",(char *) "pos1",(char *) "pos2", NULL
8373 };
8374
8375 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_BraceHighlight",kwnames,&obj0,&obj1,&obj2)) goto fail;
8376 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
8377 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8378 arg2 = (int) SWIG_AsInt(obj1);
8379 if (PyErr_Occurred()) SWIG_fail;
8380 arg3 = (int) SWIG_AsInt(obj2);
8381 if (PyErr_Occurred()) SWIG_fail;
8382 {
8383 PyThreadState* __tstate = wxPyBeginAllowThreads();
8384 (arg1)->BraceHighlight(arg2,arg3);
8385
8386 wxPyEndAllowThreads(__tstate);
8387 if (PyErr_Occurred()) SWIG_fail;
8388 }
8389 Py_INCREF(Py_None); resultobj = Py_None;
8390 return resultobj;
8391 fail:
8392 return NULL;
8393 }
8394
8395
8396 static PyObject *_wrap_StyledTextCtrl_BraceBadLight(PyObject *self, PyObject *args, PyObject *kwargs) {
8397 PyObject *resultobj;
8398 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8399 int arg2 ;
8400 PyObject * obj0 = 0 ;
8401 PyObject * obj1 = 0 ;
8402 char *kwnames[] = {
8403 (char *) "self",(char *) "pos", NULL
8404 };
8405
8406 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_BraceBadLight",kwnames,&obj0,&obj1)) goto fail;
8407 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
8408 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8409 arg2 = (int) SWIG_AsInt(obj1);
8410 if (PyErr_Occurred()) SWIG_fail;
8411 {
8412 PyThreadState* __tstate = wxPyBeginAllowThreads();
8413 (arg1)->BraceBadLight(arg2);
8414
8415 wxPyEndAllowThreads(__tstate);
8416 if (PyErr_Occurred()) SWIG_fail;
8417 }
8418 Py_INCREF(Py_None); resultobj = Py_None;
8419 return resultobj;
8420 fail:
8421 return NULL;
8422 }
8423
8424
8425 static PyObject *_wrap_StyledTextCtrl_BraceMatch(PyObject *self, PyObject *args, PyObject *kwargs) {
8426 PyObject *resultobj;
8427 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8428 int arg2 ;
8429 int result;
8430 PyObject * obj0 = 0 ;
8431 PyObject * obj1 = 0 ;
8432 char *kwnames[] = {
8433 (char *) "self",(char *) "pos", NULL
8434 };
8435
8436 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_BraceMatch",kwnames,&obj0,&obj1)) goto fail;
8437 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
8438 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8439 arg2 = (int) SWIG_AsInt(obj1);
8440 if (PyErr_Occurred()) SWIG_fail;
8441 {
8442 PyThreadState* __tstate = wxPyBeginAllowThreads();
8443 result = (int)(arg1)->BraceMatch(arg2);
8444
8445 wxPyEndAllowThreads(__tstate);
8446 if (PyErr_Occurred()) SWIG_fail;
8447 }
8448 resultobj = SWIG_FromInt((int)result);
8449 return resultobj;
8450 fail:
8451 return NULL;
8452 }
8453
8454
8455 static PyObject *_wrap_StyledTextCtrl_GetViewEOL(PyObject *self, PyObject *args, PyObject *kwargs) {
8456 PyObject *resultobj;
8457 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8458 bool result;
8459 PyObject * obj0 = 0 ;
8460 char *kwnames[] = {
8461 (char *) "self", NULL
8462 };
8463
8464 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetViewEOL",kwnames,&obj0)) goto fail;
8465 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
8466 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8467 {
8468 PyThreadState* __tstate = wxPyBeginAllowThreads();
8469 result = (bool)(arg1)->GetViewEOL();
8470
8471 wxPyEndAllowThreads(__tstate);
8472 if (PyErr_Occurred()) SWIG_fail;
8473 }
8474 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8475 return resultobj;
8476 fail:
8477 return NULL;
8478 }
8479
8480
8481 static PyObject *_wrap_StyledTextCtrl_SetViewEOL(PyObject *self, PyObject *args, PyObject *kwargs) {
8482 PyObject *resultobj;
8483 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8484 bool arg2 ;
8485 PyObject * obj0 = 0 ;
8486 PyObject * obj1 = 0 ;
8487 char *kwnames[] = {
8488 (char *) "self",(char *) "visible", NULL
8489 };
8490
8491 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetViewEOL",kwnames,&obj0,&obj1)) goto fail;
8492 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
8493 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8494 arg2 = (bool) SWIG_AsBool(obj1);
8495 if (PyErr_Occurred()) SWIG_fail;
8496 {
8497 PyThreadState* __tstate = wxPyBeginAllowThreads();
8498 (arg1)->SetViewEOL(arg2);
8499
8500 wxPyEndAllowThreads(__tstate);
8501 if (PyErr_Occurred()) SWIG_fail;
8502 }
8503 Py_INCREF(Py_None); resultobj = Py_None;
8504 return resultobj;
8505 fail:
8506 return NULL;
8507 }
8508
8509
8510 static PyObject *_wrap_StyledTextCtrl_GetDocPointer(PyObject *self, PyObject *args, PyObject *kwargs) {
8511 PyObject *resultobj;
8512 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8513 void *result;
8514 PyObject * obj0 = 0 ;
8515 char *kwnames[] = {
8516 (char *) "self", NULL
8517 };
8518
8519 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetDocPointer",kwnames,&obj0)) goto fail;
8520 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
8521 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8522 {
8523 PyThreadState* __tstate = wxPyBeginAllowThreads();
8524 result = (void *)(arg1)->GetDocPointer();
8525
8526 wxPyEndAllowThreads(__tstate);
8527 if (PyErr_Occurred()) SWIG_fail;
8528 }
8529 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_void, 0);
8530 return resultobj;
8531 fail:
8532 return NULL;
8533 }
8534
8535
8536 static PyObject *_wrap_StyledTextCtrl_SetDocPointer(PyObject *self, PyObject *args, PyObject *kwargs) {
8537 PyObject *resultobj;
8538 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8539 void *arg2 = (void *) 0 ;
8540 PyObject * obj0 = 0 ;
8541 PyObject * obj1 = 0 ;
8542 char *kwnames[] = {
8543 (char *) "self",(char *) "docPointer", NULL
8544 };
8545
8546 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetDocPointer",kwnames,&obj0,&obj1)) goto fail;
8547 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
8548 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8549 if ((SWIG_ConvertPtr(obj1,&arg2,0,SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8550 {
8551 PyThreadState* __tstate = wxPyBeginAllowThreads();
8552 (arg1)->SetDocPointer(arg2);
8553
8554 wxPyEndAllowThreads(__tstate);
8555 if (PyErr_Occurred()) SWIG_fail;
8556 }
8557 Py_INCREF(Py_None); resultobj = Py_None;
8558 return resultobj;
8559 fail:
8560 return NULL;
8561 }
8562
8563
8564 static PyObject *_wrap_StyledTextCtrl_SetModEventMask(PyObject *self, PyObject *args, PyObject *kwargs) {
8565 PyObject *resultobj;
8566 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8567 int arg2 ;
8568 PyObject * obj0 = 0 ;
8569 PyObject * obj1 = 0 ;
8570 char *kwnames[] = {
8571 (char *) "self",(char *) "mask", NULL
8572 };
8573
8574 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetModEventMask",kwnames,&obj0,&obj1)) goto fail;
8575 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
8576 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8577 arg2 = (int) SWIG_AsInt(obj1);
8578 if (PyErr_Occurred()) SWIG_fail;
8579 {
8580 PyThreadState* __tstate = wxPyBeginAllowThreads();
8581 (arg1)->SetModEventMask(arg2);
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
8593 static PyObject *_wrap_StyledTextCtrl_GetEdgeColumn(PyObject *self, PyObject *args, PyObject *kwargs) {
8594 PyObject *resultobj;
8595 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8596 int result;
8597 PyObject * obj0 = 0 ;
8598 char *kwnames[] = {
8599 (char *) "self", NULL
8600 };
8601
8602 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetEdgeColumn",kwnames,&obj0)) goto fail;
8603 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
8604 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8605 {
8606 PyThreadState* __tstate = wxPyBeginAllowThreads();
8607 result = (int)(arg1)->GetEdgeColumn();
8608
8609 wxPyEndAllowThreads(__tstate);
8610 if (PyErr_Occurred()) SWIG_fail;
8611 }
8612 resultobj = SWIG_FromInt((int)result);
8613 return resultobj;
8614 fail:
8615 return NULL;
8616 }
8617
8618
8619 static PyObject *_wrap_StyledTextCtrl_SetEdgeColumn(PyObject *self, PyObject *args, PyObject *kwargs) {
8620 PyObject *resultobj;
8621 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8622 int arg2 ;
8623 PyObject * obj0 = 0 ;
8624 PyObject * obj1 = 0 ;
8625 char *kwnames[] = {
8626 (char *) "self",(char *) "column", NULL
8627 };
8628
8629 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetEdgeColumn",kwnames,&obj0,&obj1)) goto fail;
8630 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
8631 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8632 arg2 = (int) SWIG_AsInt(obj1);
8633 if (PyErr_Occurred()) SWIG_fail;
8634 {
8635 PyThreadState* __tstate = wxPyBeginAllowThreads();
8636 (arg1)->SetEdgeColumn(arg2);
8637
8638 wxPyEndAllowThreads(__tstate);
8639 if (PyErr_Occurred()) SWIG_fail;
8640 }
8641 Py_INCREF(Py_None); resultobj = Py_None;
8642 return resultobj;
8643 fail:
8644 return NULL;
8645 }
8646
8647
8648 static PyObject *_wrap_StyledTextCtrl_GetEdgeMode(PyObject *self, PyObject *args, PyObject *kwargs) {
8649 PyObject *resultobj;
8650 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8651 int result;
8652 PyObject * obj0 = 0 ;
8653 char *kwnames[] = {
8654 (char *) "self", NULL
8655 };
8656
8657 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetEdgeMode",kwnames,&obj0)) goto fail;
8658 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
8659 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8660 {
8661 PyThreadState* __tstate = wxPyBeginAllowThreads();
8662 result = (int)(arg1)->GetEdgeMode();
8663
8664 wxPyEndAllowThreads(__tstate);
8665 if (PyErr_Occurred()) SWIG_fail;
8666 }
8667 resultobj = SWIG_FromInt((int)result);
8668 return resultobj;
8669 fail:
8670 return NULL;
8671 }
8672
8673
8674 static PyObject *_wrap_StyledTextCtrl_SetEdgeMode(PyObject *self, PyObject *args, PyObject *kwargs) {
8675 PyObject *resultobj;
8676 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8677 int arg2 ;
8678 PyObject * obj0 = 0 ;
8679 PyObject * obj1 = 0 ;
8680 char *kwnames[] = {
8681 (char *) "self",(char *) "mode", NULL
8682 };
8683
8684 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetEdgeMode",kwnames,&obj0,&obj1)) goto fail;
8685 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
8686 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8687 arg2 = (int) SWIG_AsInt(obj1);
8688 if (PyErr_Occurred()) SWIG_fail;
8689 {
8690 PyThreadState* __tstate = wxPyBeginAllowThreads();
8691 (arg1)->SetEdgeMode(arg2);
8692
8693 wxPyEndAllowThreads(__tstate);
8694 if (PyErr_Occurred()) SWIG_fail;
8695 }
8696 Py_INCREF(Py_None); resultobj = Py_None;
8697 return resultobj;
8698 fail:
8699 return NULL;
8700 }
8701
8702
8703 static PyObject *_wrap_StyledTextCtrl_GetEdgeColour(PyObject *self, PyObject *args, PyObject *kwargs) {
8704 PyObject *resultobj;
8705 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8706 wxColour result;
8707 PyObject * obj0 = 0 ;
8708 char *kwnames[] = {
8709 (char *) "self", NULL
8710 };
8711
8712 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetEdgeColour",kwnames,&obj0)) goto fail;
8713 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
8714 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8715 {
8716 PyThreadState* __tstate = wxPyBeginAllowThreads();
8717 result = (arg1)->GetEdgeColour();
8718
8719 wxPyEndAllowThreads(__tstate);
8720 if (PyErr_Occurred()) SWIG_fail;
8721 }
8722 {
8723 wxColour * resultptr;
8724 resultptr = new wxColour((wxColour &) result);
8725 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
8726 }
8727 return resultobj;
8728 fail:
8729 return NULL;
8730 }
8731
8732
8733 static PyObject *_wrap_StyledTextCtrl_SetEdgeColour(PyObject *self, PyObject *args, PyObject *kwargs) {
8734 PyObject *resultobj;
8735 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8736 wxColour *arg2 = 0 ;
8737 wxColour temp2 ;
8738 PyObject * obj0 = 0 ;
8739 PyObject * obj1 = 0 ;
8740 char *kwnames[] = {
8741 (char *) "self",(char *) "edgeColour", NULL
8742 };
8743
8744 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetEdgeColour",kwnames,&obj0,&obj1)) goto fail;
8745 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
8746 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8747 {
8748 arg2 = &temp2;
8749 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
8750 }
8751 {
8752 PyThreadState* __tstate = wxPyBeginAllowThreads();
8753 (arg1)->SetEdgeColour((wxColour const &)*arg2);
8754
8755 wxPyEndAllowThreads(__tstate);
8756 if (PyErr_Occurred()) SWIG_fail;
8757 }
8758 Py_INCREF(Py_None); resultobj = Py_None;
8759 return resultobj;
8760 fail:
8761 return NULL;
8762 }
8763
8764
8765 static PyObject *_wrap_StyledTextCtrl_SearchAnchor(PyObject *self, PyObject *args, PyObject *kwargs) {
8766 PyObject *resultobj;
8767 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8768 PyObject * obj0 = 0 ;
8769 char *kwnames[] = {
8770 (char *) "self", NULL
8771 };
8772
8773 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_SearchAnchor",kwnames,&obj0)) goto fail;
8774 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
8775 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8776 {
8777 PyThreadState* __tstate = wxPyBeginAllowThreads();
8778 (arg1)->SearchAnchor();
8779
8780 wxPyEndAllowThreads(__tstate);
8781 if (PyErr_Occurred()) SWIG_fail;
8782 }
8783 Py_INCREF(Py_None); resultobj = Py_None;
8784 return resultobj;
8785 fail:
8786 return NULL;
8787 }
8788
8789
8790 static PyObject *_wrap_StyledTextCtrl_SearchNext(PyObject *self, PyObject *args, PyObject *kwargs) {
8791 PyObject *resultobj;
8792 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8793 int arg2 ;
8794 wxString *arg3 = 0 ;
8795 int result;
8796 bool temp3 = False ;
8797 PyObject * obj0 = 0 ;
8798 PyObject * obj1 = 0 ;
8799 PyObject * obj2 = 0 ;
8800 char *kwnames[] = {
8801 (char *) "self",(char *) "flags",(char *) "text", NULL
8802 };
8803
8804 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SearchNext",kwnames,&obj0,&obj1,&obj2)) goto fail;
8805 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
8806 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8807 arg2 = (int) SWIG_AsInt(obj1);
8808 if (PyErr_Occurred()) SWIG_fail;
8809 {
8810 arg3 = wxString_in_helper(obj2);
8811 if (arg3 == NULL) SWIG_fail;
8812 temp3 = True;
8813 }
8814 {
8815 PyThreadState* __tstate = wxPyBeginAllowThreads();
8816 result = (int)(arg1)->SearchNext(arg2,(wxString const &)*arg3);
8817
8818 wxPyEndAllowThreads(__tstate);
8819 if (PyErr_Occurred()) SWIG_fail;
8820 }
8821 resultobj = SWIG_FromInt((int)result);
8822 {
8823 if (temp3)
8824 delete arg3;
8825 }
8826 return resultobj;
8827 fail:
8828 {
8829 if (temp3)
8830 delete arg3;
8831 }
8832 return NULL;
8833 }
8834
8835
8836 static PyObject *_wrap_StyledTextCtrl_SearchPrev(PyObject *self, PyObject *args, PyObject *kwargs) {
8837 PyObject *resultobj;
8838 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8839 int arg2 ;
8840 wxString *arg3 = 0 ;
8841 int result;
8842 bool temp3 = False ;
8843 PyObject * obj0 = 0 ;
8844 PyObject * obj1 = 0 ;
8845 PyObject * obj2 = 0 ;
8846 char *kwnames[] = {
8847 (char *) "self",(char *) "flags",(char *) "text", NULL
8848 };
8849
8850 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SearchPrev",kwnames,&obj0,&obj1,&obj2)) goto fail;
8851 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
8852 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8853 arg2 = (int) SWIG_AsInt(obj1);
8854 if (PyErr_Occurred()) SWIG_fail;
8855 {
8856 arg3 = wxString_in_helper(obj2);
8857 if (arg3 == NULL) SWIG_fail;
8858 temp3 = True;
8859 }
8860 {
8861 PyThreadState* __tstate = wxPyBeginAllowThreads();
8862 result = (int)(arg1)->SearchPrev(arg2,(wxString const &)*arg3);
8863
8864 wxPyEndAllowThreads(__tstate);
8865 if (PyErr_Occurred()) SWIG_fail;
8866 }
8867 resultobj = SWIG_FromInt((int)result);
8868 {
8869 if (temp3)
8870 delete arg3;
8871 }
8872 return resultobj;
8873 fail:
8874 {
8875 if (temp3)
8876 delete arg3;
8877 }
8878 return NULL;
8879 }
8880
8881
8882 static PyObject *_wrap_StyledTextCtrl_LinesOnScreen(PyObject *self, PyObject *args, PyObject *kwargs) {
8883 PyObject *resultobj;
8884 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8885 int result;
8886 PyObject * obj0 = 0 ;
8887 char *kwnames[] = {
8888 (char *) "self", NULL
8889 };
8890
8891 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_LinesOnScreen",kwnames,&obj0)) goto fail;
8892 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
8893 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8894 {
8895 PyThreadState* __tstate = wxPyBeginAllowThreads();
8896 result = (int)(arg1)->LinesOnScreen();
8897
8898 wxPyEndAllowThreads(__tstate);
8899 if (PyErr_Occurred()) SWIG_fail;
8900 }
8901 resultobj = SWIG_FromInt((int)result);
8902 return resultobj;
8903 fail:
8904 return NULL;
8905 }
8906
8907
8908 static PyObject *_wrap_StyledTextCtrl_UsePopUp(PyObject *self, PyObject *args, PyObject *kwargs) {
8909 PyObject *resultobj;
8910 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8911 bool arg2 ;
8912 PyObject * obj0 = 0 ;
8913 PyObject * obj1 = 0 ;
8914 char *kwnames[] = {
8915 (char *) "self",(char *) "allowPopUp", NULL
8916 };
8917
8918 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_UsePopUp",kwnames,&obj0,&obj1)) goto fail;
8919 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
8920 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8921 arg2 = (bool) SWIG_AsBool(obj1);
8922 if (PyErr_Occurred()) SWIG_fail;
8923 {
8924 PyThreadState* __tstate = wxPyBeginAllowThreads();
8925 (arg1)->UsePopUp(arg2);
8926
8927 wxPyEndAllowThreads(__tstate);
8928 if (PyErr_Occurred()) SWIG_fail;
8929 }
8930 Py_INCREF(Py_None); resultobj = Py_None;
8931 return resultobj;
8932 fail:
8933 return NULL;
8934 }
8935
8936
8937 static PyObject *_wrap_StyledTextCtrl_SelectionIsRectangle(PyObject *self, PyObject *args, PyObject *kwargs) {
8938 PyObject *resultobj;
8939 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8940 bool result;
8941 PyObject * obj0 = 0 ;
8942 char *kwnames[] = {
8943 (char *) "self", NULL
8944 };
8945
8946 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_SelectionIsRectangle",kwnames,&obj0)) goto fail;
8947 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
8948 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8949 {
8950 PyThreadState* __tstate = wxPyBeginAllowThreads();
8951 result = (bool)(arg1)->SelectionIsRectangle();
8952
8953 wxPyEndAllowThreads(__tstate);
8954 if (PyErr_Occurred()) SWIG_fail;
8955 }
8956 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8957 return resultobj;
8958 fail:
8959 return NULL;
8960 }
8961
8962
8963 static PyObject *_wrap_StyledTextCtrl_SetZoom(PyObject *self, PyObject *args, PyObject *kwargs) {
8964 PyObject *resultobj;
8965 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8966 int arg2 ;
8967 PyObject * obj0 = 0 ;
8968 PyObject * obj1 = 0 ;
8969 char *kwnames[] = {
8970 (char *) "self",(char *) "zoom", NULL
8971 };
8972
8973 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetZoom",kwnames,&obj0,&obj1)) goto fail;
8974 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
8975 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8976 arg2 = (int) SWIG_AsInt(obj1);
8977 if (PyErr_Occurred()) SWIG_fail;
8978 {
8979 PyThreadState* __tstate = wxPyBeginAllowThreads();
8980 (arg1)->SetZoom(arg2);
8981
8982 wxPyEndAllowThreads(__tstate);
8983 if (PyErr_Occurred()) SWIG_fail;
8984 }
8985 Py_INCREF(Py_None); resultobj = Py_None;
8986 return resultobj;
8987 fail:
8988 return NULL;
8989 }
8990
8991
8992 static PyObject *_wrap_StyledTextCtrl_GetZoom(PyObject *self, PyObject *args, PyObject *kwargs) {
8993 PyObject *resultobj;
8994 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
8995 int result;
8996 PyObject * obj0 = 0 ;
8997 char *kwnames[] = {
8998 (char *) "self", NULL
8999 };
9000
9001 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetZoom",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 result = (int)(arg1)->GetZoom();
9007
9008 wxPyEndAllowThreads(__tstate);
9009 if (PyErr_Occurred()) SWIG_fail;
9010 }
9011 resultobj = SWIG_FromInt((int)result);
9012 return resultobj;
9013 fail:
9014 return NULL;
9015 }
9016
9017
9018 static PyObject *_wrap_StyledTextCtrl_CreateDocument(PyObject *self, PyObject *args, PyObject *kwargs) {
9019 PyObject *resultobj;
9020 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
9021 void *result;
9022 PyObject * obj0 = 0 ;
9023 char *kwnames[] = {
9024 (char *) "self", NULL
9025 };
9026
9027 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_CreateDocument",kwnames,&obj0)) goto fail;
9028 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
9029 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9030 {
9031 PyThreadState* __tstate = wxPyBeginAllowThreads();
9032 result = (void *)(arg1)->CreateDocument();
9033
9034 wxPyEndAllowThreads(__tstate);
9035 if (PyErr_Occurred()) SWIG_fail;
9036 }
9037 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_void, 0);
9038 return resultobj;
9039 fail:
9040 return NULL;
9041 }
9042
9043
9044 static PyObject *_wrap_StyledTextCtrl_AddRefDocument(PyObject *self, PyObject *args, PyObject *kwargs) {
9045 PyObject *resultobj;
9046 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
9047 void *arg2 = (void *) 0 ;
9048 PyObject * obj0 = 0 ;
9049 PyObject * obj1 = 0 ;
9050 char *kwnames[] = {
9051 (char *) "self",(char *) "docPointer", NULL
9052 };
9053
9054 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_AddRefDocument",kwnames,&obj0,&obj1)) goto fail;
9055 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
9056 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9057 if ((SWIG_ConvertPtr(obj1,&arg2,0,SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9058 {
9059 PyThreadState* __tstate = wxPyBeginAllowThreads();
9060 (arg1)->AddRefDocument(arg2);
9061
9062 wxPyEndAllowThreads(__tstate);
9063 if (PyErr_Occurred()) SWIG_fail;
9064 }
9065 Py_INCREF(Py_None); resultobj = Py_None;
9066 return resultobj;
9067 fail:
9068 return NULL;
9069 }
9070
9071
9072 static PyObject *_wrap_StyledTextCtrl_ReleaseDocument(PyObject *self, PyObject *args, PyObject *kwargs) {
9073 PyObject *resultobj;
9074 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
9075 void *arg2 = (void *) 0 ;
9076 PyObject * obj0 = 0 ;
9077 PyObject * obj1 = 0 ;
9078 char *kwnames[] = {
9079 (char *) "self",(char *) "docPointer", NULL
9080 };
9081
9082 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_ReleaseDocument",kwnames,&obj0,&obj1)) goto fail;
9083 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
9084 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9085 if ((SWIG_ConvertPtr(obj1,&arg2,0,SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9086 {
9087 PyThreadState* __tstate = wxPyBeginAllowThreads();
9088 (arg1)->ReleaseDocument(arg2);
9089
9090 wxPyEndAllowThreads(__tstate);
9091 if (PyErr_Occurred()) SWIG_fail;
9092 }
9093 Py_INCREF(Py_None); resultobj = Py_None;
9094 return resultobj;
9095 fail:
9096 return NULL;
9097 }
9098
9099
9100 static PyObject *_wrap_StyledTextCtrl_GetModEventMask(PyObject *self, PyObject *args, PyObject *kwargs) {
9101 PyObject *resultobj;
9102 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
9103 int result;
9104 PyObject * obj0 = 0 ;
9105 char *kwnames[] = {
9106 (char *) "self", NULL
9107 };
9108
9109 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetModEventMask",kwnames,&obj0)) goto fail;
9110 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
9111 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9112 {
9113 PyThreadState* __tstate = wxPyBeginAllowThreads();
9114 result = (int)(arg1)->GetModEventMask();
9115
9116 wxPyEndAllowThreads(__tstate);
9117 if (PyErr_Occurred()) SWIG_fail;
9118 }
9119 resultobj = SWIG_FromInt((int)result);
9120 return resultobj;
9121 fail:
9122 return NULL;
9123 }
9124
9125
9126 static PyObject *_wrap_StyledTextCtrl_SetSTCFocus(PyObject *self, PyObject *args, PyObject *kwargs) {
9127 PyObject *resultobj;
9128 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
9129 bool arg2 ;
9130 PyObject * obj0 = 0 ;
9131 PyObject * obj1 = 0 ;
9132 char *kwnames[] = {
9133 (char *) "self",(char *) "focus", NULL
9134 };
9135
9136 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetSTCFocus",kwnames,&obj0,&obj1)) goto fail;
9137 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
9138 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9139 arg2 = (bool) SWIG_AsBool(obj1);
9140 if (PyErr_Occurred()) SWIG_fail;
9141 {
9142 PyThreadState* __tstate = wxPyBeginAllowThreads();
9143 (arg1)->SetSTCFocus(arg2);
9144
9145 wxPyEndAllowThreads(__tstate);
9146 if (PyErr_Occurred()) SWIG_fail;
9147 }
9148 Py_INCREF(Py_None); resultobj = Py_None;
9149 return resultobj;
9150 fail:
9151 return NULL;
9152 }
9153
9154
9155 static PyObject *_wrap_StyledTextCtrl_GetSTCFocus(PyObject *self, PyObject *args, PyObject *kwargs) {
9156 PyObject *resultobj;
9157 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
9158 bool result;
9159 PyObject * obj0 = 0 ;
9160 char *kwnames[] = {
9161 (char *) "self", NULL
9162 };
9163
9164 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetSTCFocus",kwnames,&obj0)) goto fail;
9165 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
9166 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9167 {
9168 PyThreadState* __tstate = wxPyBeginAllowThreads();
9169 result = (bool)(arg1)->GetSTCFocus();
9170
9171 wxPyEndAllowThreads(__tstate);
9172 if (PyErr_Occurred()) SWIG_fail;
9173 }
9174 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9175 return resultobj;
9176 fail:
9177 return NULL;
9178 }
9179
9180
9181 static PyObject *_wrap_StyledTextCtrl_SetStatus(PyObject *self, PyObject *args, PyObject *kwargs) {
9182 PyObject *resultobj;
9183 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
9184 int arg2 ;
9185 PyObject * obj0 = 0 ;
9186 PyObject * obj1 = 0 ;
9187 char *kwnames[] = {
9188 (char *) "self",(char *) "statusCode", NULL
9189 };
9190
9191 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetStatus",kwnames,&obj0,&obj1)) goto fail;
9192 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
9193 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9194 arg2 = (int) SWIG_AsInt(obj1);
9195 if (PyErr_Occurred()) SWIG_fail;
9196 {
9197 PyThreadState* __tstate = wxPyBeginAllowThreads();
9198 (arg1)->SetStatus(arg2);
9199
9200 wxPyEndAllowThreads(__tstate);
9201 if (PyErr_Occurred()) SWIG_fail;
9202 }
9203 Py_INCREF(Py_None); resultobj = Py_None;
9204 return resultobj;
9205 fail:
9206 return NULL;
9207 }
9208
9209
9210 static PyObject *_wrap_StyledTextCtrl_GetStatus(PyObject *self, PyObject *args, PyObject *kwargs) {
9211 PyObject *resultobj;
9212 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
9213 int result;
9214 PyObject * obj0 = 0 ;
9215 char *kwnames[] = {
9216 (char *) "self", NULL
9217 };
9218
9219 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetStatus",kwnames,&obj0)) goto fail;
9220 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
9221 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9222 {
9223 PyThreadState* __tstate = wxPyBeginAllowThreads();
9224 result = (int)(arg1)->GetStatus();
9225
9226 wxPyEndAllowThreads(__tstate);
9227 if (PyErr_Occurred()) SWIG_fail;
9228 }
9229 resultobj = SWIG_FromInt((int)result);
9230 return resultobj;
9231 fail:
9232 return NULL;
9233 }
9234
9235
9236 static PyObject *_wrap_StyledTextCtrl_SetMouseDownCaptures(PyObject *self, PyObject *args, PyObject *kwargs) {
9237 PyObject *resultobj;
9238 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
9239 bool arg2 ;
9240 PyObject * obj0 = 0 ;
9241 PyObject * obj1 = 0 ;
9242 char *kwnames[] = {
9243 (char *) "self",(char *) "captures", NULL
9244 };
9245
9246 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetMouseDownCaptures",kwnames,&obj0,&obj1)) goto fail;
9247 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
9248 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9249 arg2 = (bool) SWIG_AsBool(obj1);
9250 if (PyErr_Occurred()) SWIG_fail;
9251 {
9252 PyThreadState* __tstate = wxPyBeginAllowThreads();
9253 (arg1)->SetMouseDownCaptures(arg2);
9254
9255 wxPyEndAllowThreads(__tstate);
9256 if (PyErr_Occurred()) SWIG_fail;
9257 }
9258 Py_INCREF(Py_None); resultobj = Py_None;
9259 return resultobj;
9260 fail:
9261 return NULL;
9262 }
9263
9264
9265 static PyObject *_wrap_StyledTextCtrl_GetMouseDownCaptures(PyObject *self, PyObject *args, PyObject *kwargs) {
9266 PyObject *resultobj;
9267 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
9268 bool result;
9269 PyObject * obj0 = 0 ;
9270 char *kwnames[] = {
9271 (char *) "self", NULL
9272 };
9273
9274 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetMouseDownCaptures",kwnames,&obj0)) goto fail;
9275 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
9276 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9277 {
9278 PyThreadState* __tstate = wxPyBeginAllowThreads();
9279 result = (bool)(arg1)->GetMouseDownCaptures();
9280
9281 wxPyEndAllowThreads(__tstate);
9282 if (PyErr_Occurred()) SWIG_fail;
9283 }
9284 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9285 return resultobj;
9286 fail:
9287 return NULL;
9288 }
9289
9290
9291 static PyObject *_wrap_StyledTextCtrl_SetSTCCursor(PyObject *self, PyObject *args, PyObject *kwargs) {
9292 PyObject *resultobj;
9293 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
9294 int arg2 ;
9295 PyObject * obj0 = 0 ;
9296 PyObject * obj1 = 0 ;
9297 char *kwnames[] = {
9298 (char *) "self",(char *) "cursorType", NULL
9299 };
9300
9301 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetSTCCursor",kwnames,&obj0,&obj1)) goto fail;
9302 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
9303 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9304 arg2 = (int) SWIG_AsInt(obj1);
9305 if (PyErr_Occurred()) SWIG_fail;
9306 {
9307 PyThreadState* __tstate = wxPyBeginAllowThreads();
9308 (arg1)->SetSTCCursor(arg2);
9309
9310 wxPyEndAllowThreads(__tstate);
9311 if (PyErr_Occurred()) SWIG_fail;
9312 }
9313 Py_INCREF(Py_None); resultobj = Py_None;
9314 return resultobj;
9315 fail:
9316 return NULL;
9317 }
9318
9319
9320 static PyObject *_wrap_StyledTextCtrl_GetSTCCursor(PyObject *self, PyObject *args, PyObject *kwargs) {
9321 PyObject *resultobj;
9322 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
9323 int result;
9324 PyObject * obj0 = 0 ;
9325 char *kwnames[] = {
9326 (char *) "self", NULL
9327 };
9328
9329 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetSTCCursor",kwnames,&obj0)) goto fail;
9330 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
9331 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9332 {
9333 PyThreadState* __tstate = wxPyBeginAllowThreads();
9334 result = (int)(arg1)->GetSTCCursor();
9335
9336 wxPyEndAllowThreads(__tstate);
9337 if (PyErr_Occurred()) SWIG_fail;
9338 }
9339 resultobj = SWIG_FromInt((int)result);
9340 return resultobj;
9341 fail:
9342 return NULL;
9343 }
9344
9345
9346 static PyObject *_wrap_StyledTextCtrl_SetControlCharSymbol(PyObject *self, PyObject *args, PyObject *kwargs) {
9347 PyObject *resultobj;
9348 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
9349 int arg2 ;
9350 PyObject * obj0 = 0 ;
9351 PyObject * obj1 = 0 ;
9352 char *kwnames[] = {
9353 (char *) "self",(char *) "symbol", NULL
9354 };
9355
9356 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetControlCharSymbol",kwnames,&obj0,&obj1)) goto fail;
9357 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
9358 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9359 arg2 = (int) SWIG_AsInt(obj1);
9360 if (PyErr_Occurred()) SWIG_fail;
9361 {
9362 PyThreadState* __tstate = wxPyBeginAllowThreads();
9363 (arg1)->SetControlCharSymbol(arg2);
9364
9365 wxPyEndAllowThreads(__tstate);
9366 if (PyErr_Occurred()) SWIG_fail;
9367 }
9368 Py_INCREF(Py_None); resultobj = Py_None;
9369 return resultobj;
9370 fail:
9371 return NULL;
9372 }
9373
9374
9375 static PyObject *_wrap_StyledTextCtrl_GetControlCharSymbol(PyObject *self, PyObject *args, PyObject *kwargs) {
9376 PyObject *resultobj;
9377 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
9378 int result;
9379 PyObject * obj0 = 0 ;
9380 char *kwnames[] = {
9381 (char *) "self", NULL
9382 };
9383
9384 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetControlCharSymbol",kwnames,&obj0)) goto fail;
9385 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
9386 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9387 {
9388 PyThreadState* __tstate = wxPyBeginAllowThreads();
9389 result = (int)(arg1)->GetControlCharSymbol();
9390
9391 wxPyEndAllowThreads(__tstate);
9392 if (PyErr_Occurred()) SWIG_fail;
9393 }
9394 resultobj = SWIG_FromInt((int)result);
9395 return resultobj;
9396 fail:
9397 return NULL;
9398 }
9399
9400
9401 static PyObject *_wrap_StyledTextCtrl_WordPartLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
9402 PyObject *resultobj;
9403 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
9404 PyObject * obj0 = 0 ;
9405 char *kwnames[] = {
9406 (char *) "self", NULL
9407 };
9408
9409 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_WordPartLeft",kwnames,&obj0)) goto fail;
9410 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
9411 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9412 {
9413 PyThreadState* __tstate = wxPyBeginAllowThreads();
9414 (arg1)->WordPartLeft();
9415
9416 wxPyEndAllowThreads(__tstate);
9417 if (PyErr_Occurred()) SWIG_fail;
9418 }
9419 Py_INCREF(Py_None); resultobj = Py_None;
9420 return resultobj;
9421 fail:
9422 return NULL;
9423 }
9424
9425
9426 static PyObject *_wrap_StyledTextCtrl_WordPartLeftExtend(PyObject *self, PyObject *args, PyObject *kwargs) {
9427 PyObject *resultobj;
9428 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
9429 PyObject * obj0 = 0 ;
9430 char *kwnames[] = {
9431 (char *) "self", NULL
9432 };
9433
9434 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_WordPartLeftExtend",kwnames,&obj0)) goto fail;
9435 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
9436 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9437 {
9438 PyThreadState* __tstate = wxPyBeginAllowThreads();
9439 (arg1)->WordPartLeftExtend();
9440
9441 wxPyEndAllowThreads(__tstate);
9442 if (PyErr_Occurred()) SWIG_fail;
9443 }
9444 Py_INCREF(Py_None); resultobj = Py_None;
9445 return resultobj;
9446 fail:
9447 return NULL;
9448 }
9449
9450
9451 static PyObject *_wrap_StyledTextCtrl_WordPartRight(PyObject *self, PyObject *args, PyObject *kwargs) {
9452 PyObject *resultobj;
9453 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
9454 PyObject * obj0 = 0 ;
9455 char *kwnames[] = {
9456 (char *) "self", NULL
9457 };
9458
9459 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_WordPartRight",kwnames,&obj0)) goto fail;
9460 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
9461 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9462 {
9463 PyThreadState* __tstate = wxPyBeginAllowThreads();
9464 (arg1)->WordPartRight();
9465
9466 wxPyEndAllowThreads(__tstate);
9467 if (PyErr_Occurred()) SWIG_fail;
9468 }
9469 Py_INCREF(Py_None); resultobj = Py_None;
9470 return resultobj;
9471 fail:
9472 return NULL;
9473 }
9474
9475
9476 static PyObject *_wrap_StyledTextCtrl_WordPartRightExtend(PyObject *self, PyObject *args, PyObject *kwargs) {
9477 PyObject *resultobj;
9478 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
9479 PyObject * obj0 = 0 ;
9480 char *kwnames[] = {
9481 (char *) "self", NULL
9482 };
9483
9484 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_WordPartRightExtend",kwnames,&obj0)) goto fail;
9485 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
9486 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9487 {
9488 PyThreadState* __tstate = wxPyBeginAllowThreads();
9489 (arg1)->WordPartRightExtend();
9490
9491 wxPyEndAllowThreads(__tstate);
9492 if (PyErr_Occurred()) SWIG_fail;
9493 }
9494 Py_INCREF(Py_None); resultobj = Py_None;
9495 return resultobj;
9496 fail:
9497 return NULL;
9498 }
9499
9500
9501 static PyObject *_wrap_StyledTextCtrl_SetVisiblePolicy(PyObject *self, PyObject *args, PyObject *kwargs) {
9502 PyObject *resultobj;
9503 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
9504 int arg2 ;
9505 int arg3 ;
9506 PyObject * obj0 = 0 ;
9507 PyObject * obj1 = 0 ;
9508 PyObject * obj2 = 0 ;
9509 char *kwnames[] = {
9510 (char *) "self",(char *) "visiblePolicy",(char *) "visibleSlop", NULL
9511 };
9512
9513 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetVisiblePolicy",kwnames,&obj0,&obj1,&obj2)) goto fail;
9514 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
9515 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9516 arg2 = (int) SWIG_AsInt(obj1);
9517 if (PyErr_Occurred()) SWIG_fail;
9518 arg3 = (int) SWIG_AsInt(obj2);
9519 if (PyErr_Occurred()) SWIG_fail;
9520 {
9521 PyThreadState* __tstate = wxPyBeginAllowThreads();
9522 (arg1)->SetVisiblePolicy(arg2,arg3);
9523
9524 wxPyEndAllowThreads(__tstate);
9525 if (PyErr_Occurred()) SWIG_fail;
9526 }
9527 Py_INCREF(Py_None); resultobj = Py_None;
9528 return resultobj;
9529 fail:
9530 return NULL;
9531 }
9532
9533
9534 static PyObject *_wrap_StyledTextCtrl_DelLineLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
9535 PyObject *resultobj;
9536 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
9537 PyObject * obj0 = 0 ;
9538 char *kwnames[] = {
9539 (char *) "self", NULL
9540 };
9541
9542 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_DelLineLeft",kwnames,&obj0)) goto fail;
9543 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
9544 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9545 {
9546 PyThreadState* __tstate = wxPyBeginAllowThreads();
9547 (arg1)->DelLineLeft();
9548
9549 wxPyEndAllowThreads(__tstate);
9550 if (PyErr_Occurred()) SWIG_fail;
9551 }
9552 Py_INCREF(Py_None); resultobj = Py_None;
9553 return resultobj;
9554 fail:
9555 return NULL;
9556 }
9557
9558
9559 static PyObject *_wrap_StyledTextCtrl_DelLineRight(PyObject *self, PyObject *args, PyObject *kwargs) {
9560 PyObject *resultobj;
9561 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
9562 PyObject * obj0 = 0 ;
9563 char *kwnames[] = {
9564 (char *) "self", NULL
9565 };
9566
9567 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_DelLineRight",kwnames,&obj0)) goto fail;
9568 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
9569 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9570 {
9571 PyThreadState* __tstate = wxPyBeginAllowThreads();
9572 (arg1)->DelLineRight();
9573
9574 wxPyEndAllowThreads(__tstate);
9575 if (PyErr_Occurred()) SWIG_fail;
9576 }
9577 Py_INCREF(Py_None); resultobj = Py_None;
9578 return resultobj;
9579 fail:
9580 return NULL;
9581 }
9582
9583
9584 static PyObject *_wrap_StyledTextCtrl_SetXOffset(PyObject *self, PyObject *args, PyObject *kwargs) {
9585 PyObject *resultobj;
9586 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
9587 int arg2 ;
9588 PyObject * obj0 = 0 ;
9589 PyObject * obj1 = 0 ;
9590 char *kwnames[] = {
9591 (char *) "self",(char *) "newOffset", NULL
9592 };
9593
9594 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetXOffset",kwnames,&obj0,&obj1)) goto fail;
9595 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
9596 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9597 arg2 = (int) SWIG_AsInt(obj1);
9598 if (PyErr_Occurred()) SWIG_fail;
9599 {
9600 PyThreadState* __tstate = wxPyBeginAllowThreads();
9601 (arg1)->SetXOffset(arg2);
9602
9603 wxPyEndAllowThreads(__tstate);
9604 if (PyErr_Occurred()) SWIG_fail;
9605 }
9606 Py_INCREF(Py_None); resultobj = Py_None;
9607 return resultobj;
9608 fail:
9609 return NULL;
9610 }
9611
9612
9613 static PyObject *_wrap_StyledTextCtrl_GetXOffset(PyObject *self, PyObject *args, PyObject *kwargs) {
9614 PyObject *resultobj;
9615 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
9616 int result;
9617 PyObject * obj0 = 0 ;
9618 char *kwnames[] = {
9619 (char *) "self", NULL
9620 };
9621
9622 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetXOffset",kwnames,&obj0)) goto fail;
9623 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
9624 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9625 {
9626 PyThreadState* __tstate = wxPyBeginAllowThreads();
9627 result = (int)(arg1)->GetXOffset();
9628
9629 wxPyEndAllowThreads(__tstate);
9630 if (PyErr_Occurred()) SWIG_fail;
9631 }
9632 resultobj = SWIG_FromInt((int)result);
9633 return resultobj;
9634 fail:
9635 return NULL;
9636 }
9637
9638
9639 static PyObject *_wrap_StyledTextCtrl_ChooseCaretX(PyObject *self, PyObject *args, PyObject *kwargs) {
9640 PyObject *resultobj;
9641 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
9642 PyObject * obj0 = 0 ;
9643 char *kwnames[] = {
9644 (char *) "self", NULL
9645 };
9646
9647 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_ChooseCaretX",kwnames,&obj0)) goto fail;
9648 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
9649 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9650 {
9651 PyThreadState* __tstate = wxPyBeginAllowThreads();
9652 (arg1)->ChooseCaretX();
9653
9654 wxPyEndAllowThreads(__tstate);
9655 if (PyErr_Occurred()) SWIG_fail;
9656 }
9657 Py_INCREF(Py_None); resultobj = Py_None;
9658 return resultobj;
9659 fail:
9660 return NULL;
9661 }
9662
9663
9664 static PyObject *_wrap_StyledTextCtrl_SetXCaretPolicy(PyObject *self, PyObject *args, PyObject *kwargs) {
9665 PyObject *resultobj;
9666 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
9667 int arg2 ;
9668 int arg3 ;
9669 PyObject * obj0 = 0 ;
9670 PyObject * obj1 = 0 ;
9671 PyObject * obj2 = 0 ;
9672 char *kwnames[] = {
9673 (char *) "self",(char *) "caretPolicy",(char *) "caretSlop", NULL
9674 };
9675
9676 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetXCaretPolicy",kwnames,&obj0,&obj1,&obj2)) goto fail;
9677 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
9678 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9679 arg2 = (int) SWIG_AsInt(obj1);
9680 if (PyErr_Occurred()) SWIG_fail;
9681 arg3 = (int) SWIG_AsInt(obj2);
9682 if (PyErr_Occurred()) SWIG_fail;
9683 {
9684 PyThreadState* __tstate = wxPyBeginAllowThreads();
9685 (arg1)->SetXCaretPolicy(arg2,arg3);
9686
9687 wxPyEndAllowThreads(__tstate);
9688 if (PyErr_Occurred()) SWIG_fail;
9689 }
9690 Py_INCREF(Py_None); resultobj = Py_None;
9691 return resultobj;
9692 fail:
9693 return NULL;
9694 }
9695
9696
9697 static PyObject *_wrap_StyledTextCtrl_SetYCaretPolicy(PyObject *self, PyObject *args, PyObject *kwargs) {
9698 PyObject *resultobj;
9699 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
9700 int arg2 ;
9701 int arg3 ;
9702 PyObject * obj0 = 0 ;
9703 PyObject * obj1 = 0 ;
9704 PyObject * obj2 = 0 ;
9705 char *kwnames[] = {
9706 (char *) "self",(char *) "caretPolicy",(char *) "caretSlop", NULL
9707 };
9708
9709 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetYCaretPolicy",kwnames,&obj0,&obj1,&obj2)) goto fail;
9710 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
9711 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9712 arg2 = (int) SWIG_AsInt(obj1);
9713 if (PyErr_Occurred()) SWIG_fail;
9714 arg3 = (int) SWIG_AsInt(obj2);
9715 if (PyErr_Occurred()) SWIG_fail;
9716 {
9717 PyThreadState* __tstate = wxPyBeginAllowThreads();
9718 (arg1)->SetYCaretPolicy(arg2,arg3);
9719
9720 wxPyEndAllowThreads(__tstate);
9721 if (PyErr_Occurred()) SWIG_fail;
9722 }
9723 Py_INCREF(Py_None); resultobj = Py_None;
9724 return resultobj;
9725 fail:
9726 return NULL;
9727 }
9728
9729
9730 static PyObject *_wrap_StyledTextCtrl_SetPrintWrapMode(PyObject *self, PyObject *args, PyObject *kwargs) {
9731 PyObject *resultobj;
9732 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
9733 int arg2 ;
9734 PyObject * obj0 = 0 ;
9735 PyObject * obj1 = 0 ;
9736 char *kwnames[] = {
9737 (char *) "self",(char *) "mode", NULL
9738 };
9739
9740 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetPrintWrapMode",kwnames,&obj0,&obj1)) goto fail;
9741 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
9742 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9743 arg2 = (int) SWIG_AsInt(obj1);
9744 if (PyErr_Occurred()) SWIG_fail;
9745 {
9746 PyThreadState* __tstate = wxPyBeginAllowThreads();
9747 (arg1)->SetPrintWrapMode(arg2);
9748
9749 wxPyEndAllowThreads(__tstate);
9750 if (PyErr_Occurred()) SWIG_fail;
9751 }
9752 Py_INCREF(Py_None); resultobj = Py_None;
9753 return resultobj;
9754 fail:
9755 return NULL;
9756 }
9757
9758
9759 static PyObject *_wrap_StyledTextCtrl_GetPrintWrapMode(PyObject *self, PyObject *args, PyObject *kwargs) {
9760 PyObject *resultobj;
9761 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
9762 int result;
9763 PyObject * obj0 = 0 ;
9764 char *kwnames[] = {
9765 (char *) "self", NULL
9766 };
9767
9768 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetPrintWrapMode",kwnames,&obj0)) goto fail;
9769 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
9770 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9771 {
9772 PyThreadState* __tstate = wxPyBeginAllowThreads();
9773 result = (int)(arg1)->GetPrintWrapMode();
9774
9775 wxPyEndAllowThreads(__tstate);
9776 if (PyErr_Occurred()) SWIG_fail;
9777 }
9778 resultobj = SWIG_FromInt((int)result);
9779 return resultobj;
9780 fail:
9781 return NULL;
9782 }
9783
9784
9785 static PyObject *_wrap_StyledTextCtrl_SetHotspotActiveForeground(PyObject *self, PyObject *args, PyObject *kwargs) {
9786 PyObject *resultobj;
9787 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
9788 bool arg2 ;
9789 wxColour *arg3 = 0 ;
9790 wxColour temp3 ;
9791 PyObject * obj0 = 0 ;
9792 PyObject * obj1 = 0 ;
9793 PyObject * obj2 = 0 ;
9794 char *kwnames[] = {
9795 (char *) "self",(char *) "useSetting",(char *) "fore", NULL
9796 };
9797
9798 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetHotspotActiveForeground",kwnames,&obj0,&obj1,&obj2)) goto fail;
9799 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
9800 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9801 arg2 = (bool) SWIG_AsBool(obj1);
9802 if (PyErr_Occurred()) SWIG_fail;
9803 {
9804 arg3 = &temp3;
9805 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
9806 }
9807 {
9808 PyThreadState* __tstate = wxPyBeginAllowThreads();
9809 (arg1)->SetHotspotActiveForeground(arg2,(wxColour const &)*arg3);
9810
9811 wxPyEndAllowThreads(__tstate);
9812 if (PyErr_Occurred()) SWIG_fail;
9813 }
9814 Py_INCREF(Py_None); resultobj = Py_None;
9815 return resultobj;
9816 fail:
9817 return NULL;
9818 }
9819
9820
9821 static PyObject *_wrap_StyledTextCtrl_SetHotspotActiveBackground(PyObject *self, PyObject *args, PyObject *kwargs) {
9822 PyObject *resultobj;
9823 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
9824 bool arg2 ;
9825 wxColour *arg3 = 0 ;
9826 wxColour temp3 ;
9827 PyObject * obj0 = 0 ;
9828 PyObject * obj1 = 0 ;
9829 PyObject * obj2 = 0 ;
9830 char *kwnames[] = {
9831 (char *) "self",(char *) "useSetting",(char *) "back", NULL
9832 };
9833
9834 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetHotspotActiveBackground",kwnames,&obj0,&obj1,&obj2)) goto fail;
9835 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
9836 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9837 arg2 = (bool) SWIG_AsBool(obj1);
9838 if (PyErr_Occurred()) SWIG_fail;
9839 {
9840 arg3 = &temp3;
9841 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
9842 }
9843 {
9844 PyThreadState* __tstate = wxPyBeginAllowThreads();
9845 (arg1)->SetHotspotActiveBackground(arg2,(wxColour const &)*arg3);
9846
9847 wxPyEndAllowThreads(__tstate);
9848 if (PyErr_Occurred()) SWIG_fail;
9849 }
9850 Py_INCREF(Py_None); resultobj = Py_None;
9851 return resultobj;
9852 fail:
9853 return NULL;
9854 }
9855
9856
9857 static PyObject *_wrap_StyledTextCtrl_SetHotspotActiveUnderline(PyObject *self, PyObject *args, PyObject *kwargs) {
9858 PyObject *resultobj;
9859 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
9860 bool arg2 ;
9861 PyObject * obj0 = 0 ;
9862 PyObject * obj1 = 0 ;
9863 char *kwnames[] = {
9864 (char *) "self",(char *) "underline", NULL
9865 };
9866
9867 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetHotspotActiveUnderline",kwnames,&obj0,&obj1)) goto fail;
9868 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
9869 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9870 arg2 = (bool) SWIG_AsBool(obj1);
9871 if (PyErr_Occurred()) SWIG_fail;
9872 {
9873 PyThreadState* __tstate = wxPyBeginAllowThreads();
9874 (arg1)->SetHotspotActiveUnderline(arg2);
9875
9876 wxPyEndAllowThreads(__tstate);
9877 if (PyErr_Occurred()) SWIG_fail;
9878 }
9879 Py_INCREF(Py_None); resultobj = Py_None;
9880 return resultobj;
9881 fail:
9882 return NULL;
9883 }
9884
9885
9886 static PyObject *_wrap_StyledTextCtrl_SetHotspotSingleLine(PyObject *self, PyObject *args, PyObject *kwargs) {
9887 PyObject *resultobj;
9888 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
9889 bool arg2 ;
9890 PyObject * obj0 = 0 ;
9891 PyObject * obj1 = 0 ;
9892 char *kwnames[] = {
9893 (char *) "self",(char *) "singleLine", NULL
9894 };
9895
9896 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetHotspotSingleLine",kwnames,&obj0,&obj1)) goto fail;
9897 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
9898 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9899 arg2 = (bool) SWIG_AsBool(obj1);
9900 if (PyErr_Occurred()) SWIG_fail;
9901 {
9902 PyThreadState* __tstate = wxPyBeginAllowThreads();
9903 (arg1)->SetHotspotSingleLine(arg2);
9904
9905 wxPyEndAllowThreads(__tstate);
9906 if (PyErr_Occurred()) SWIG_fail;
9907 }
9908 Py_INCREF(Py_None); resultobj = Py_None;
9909 return resultobj;
9910 fail:
9911 return NULL;
9912 }
9913
9914
9915 static PyObject *_wrap_StyledTextCtrl_PositionBefore(PyObject *self, PyObject *args, PyObject *kwargs) {
9916 PyObject *resultobj;
9917 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
9918 int arg2 ;
9919 int result;
9920 PyObject * obj0 = 0 ;
9921 PyObject * obj1 = 0 ;
9922 char *kwnames[] = {
9923 (char *) "self",(char *) "pos", NULL
9924 };
9925
9926 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_PositionBefore",kwnames,&obj0,&obj1)) goto fail;
9927 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
9928 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9929 arg2 = (int) SWIG_AsInt(obj1);
9930 if (PyErr_Occurred()) SWIG_fail;
9931 {
9932 PyThreadState* __tstate = wxPyBeginAllowThreads();
9933 result = (int)(arg1)->PositionBefore(arg2);
9934
9935 wxPyEndAllowThreads(__tstate);
9936 if (PyErr_Occurred()) SWIG_fail;
9937 }
9938 resultobj = SWIG_FromInt((int)result);
9939 return resultobj;
9940 fail:
9941 return NULL;
9942 }
9943
9944
9945 static PyObject *_wrap_StyledTextCtrl_PositionAfter(PyObject *self, PyObject *args, PyObject *kwargs) {
9946 PyObject *resultobj;
9947 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
9948 int arg2 ;
9949 int result;
9950 PyObject * obj0 = 0 ;
9951 PyObject * obj1 = 0 ;
9952 char *kwnames[] = {
9953 (char *) "self",(char *) "pos", NULL
9954 };
9955
9956 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_PositionAfter",kwnames,&obj0,&obj1)) goto fail;
9957 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
9958 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9959 arg2 = (int) SWIG_AsInt(obj1);
9960 if (PyErr_Occurred()) SWIG_fail;
9961 {
9962 PyThreadState* __tstate = wxPyBeginAllowThreads();
9963 result = (int)(arg1)->PositionAfter(arg2);
9964
9965 wxPyEndAllowThreads(__tstate);
9966 if (PyErr_Occurred()) SWIG_fail;
9967 }
9968 resultobj = SWIG_FromInt((int)result);
9969 return resultobj;
9970 fail:
9971 return NULL;
9972 }
9973
9974
9975 static PyObject *_wrap_StyledTextCtrl_CopyRange(PyObject *self, PyObject *args, PyObject *kwargs) {
9976 PyObject *resultobj;
9977 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
9978 int arg2 ;
9979 int arg3 ;
9980 PyObject * obj0 = 0 ;
9981 PyObject * obj1 = 0 ;
9982 PyObject * obj2 = 0 ;
9983 char *kwnames[] = {
9984 (char *) "self",(char *) "start",(char *) "end", NULL
9985 };
9986
9987 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_CopyRange",kwnames,&obj0,&obj1,&obj2)) goto fail;
9988 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
9989 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9990 arg2 = (int) SWIG_AsInt(obj1);
9991 if (PyErr_Occurred()) SWIG_fail;
9992 arg3 = (int) SWIG_AsInt(obj2);
9993 if (PyErr_Occurred()) SWIG_fail;
9994 {
9995 PyThreadState* __tstate = wxPyBeginAllowThreads();
9996 (arg1)->CopyRange(arg2,arg3);
9997
9998 wxPyEndAllowThreads(__tstate);
9999 if (PyErr_Occurred()) SWIG_fail;
10000 }
10001 Py_INCREF(Py_None); resultobj = Py_None;
10002 return resultobj;
10003 fail:
10004 return NULL;
10005 }
10006
10007
10008 static PyObject *_wrap_StyledTextCtrl_CopyText(PyObject *self, PyObject *args, PyObject *kwargs) {
10009 PyObject *resultobj;
10010 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
10011 int arg2 ;
10012 wxString *arg3 = 0 ;
10013 bool temp3 = False ;
10014 PyObject * obj0 = 0 ;
10015 PyObject * obj1 = 0 ;
10016 PyObject * obj2 = 0 ;
10017 char *kwnames[] = {
10018 (char *) "self",(char *) "length",(char *) "text", NULL
10019 };
10020
10021 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_CopyText",kwnames,&obj0,&obj1,&obj2)) 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 arg3 = wxString_in_helper(obj2);
10028 if (arg3 == NULL) SWIG_fail;
10029 temp3 = True;
10030 }
10031 {
10032 PyThreadState* __tstate = wxPyBeginAllowThreads();
10033 (arg1)->CopyText(arg2,(wxString const &)*arg3);
10034
10035 wxPyEndAllowThreads(__tstate);
10036 if (PyErr_Occurred()) SWIG_fail;
10037 }
10038 Py_INCREF(Py_None); resultobj = Py_None;
10039 {
10040 if (temp3)
10041 delete arg3;
10042 }
10043 return resultobj;
10044 fail:
10045 {
10046 if (temp3)
10047 delete arg3;
10048 }
10049 return NULL;
10050 }
10051
10052
10053 static PyObject *_wrap_StyledTextCtrl_SetSelectionMode(PyObject *self, PyObject *args, PyObject *kwargs) {
10054 PyObject *resultobj;
10055 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
10056 int arg2 ;
10057 PyObject * obj0 = 0 ;
10058 PyObject * obj1 = 0 ;
10059 char *kwnames[] = {
10060 (char *) "self",(char *) "mode", NULL
10061 };
10062
10063 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetSelectionMode",kwnames,&obj0,&obj1)) goto fail;
10064 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
10065 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10066 arg2 = (int) SWIG_AsInt(obj1);
10067 if (PyErr_Occurred()) SWIG_fail;
10068 {
10069 PyThreadState* __tstate = wxPyBeginAllowThreads();
10070 (arg1)->SetSelectionMode(arg2);
10071
10072 wxPyEndAllowThreads(__tstate);
10073 if (PyErr_Occurred()) SWIG_fail;
10074 }
10075 Py_INCREF(Py_None); resultobj = Py_None;
10076 return resultobj;
10077 fail:
10078 return NULL;
10079 }
10080
10081
10082 static PyObject *_wrap_StyledTextCtrl_GetSelectionMode(PyObject *self, PyObject *args, PyObject *kwargs) {
10083 PyObject *resultobj;
10084 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
10085 int result;
10086 PyObject * obj0 = 0 ;
10087 char *kwnames[] = {
10088 (char *) "self", NULL
10089 };
10090
10091 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetSelectionMode",kwnames,&obj0)) goto fail;
10092 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
10093 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10094 {
10095 PyThreadState* __tstate = wxPyBeginAllowThreads();
10096 result = (int)(arg1)->GetSelectionMode();
10097
10098 wxPyEndAllowThreads(__tstate);
10099 if (PyErr_Occurred()) SWIG_fail;
10100 }
10101 resultobj = SWIG_FromInt((int)result);
10102 return resultobj;
10103 fail:
10104 return NULL;
10105 }
10106
10107
10108 static PyObject *_wrap_StyledTextCtrl_GetLineSelStartPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
10109 PyObject *resultobj;
10110 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
10111 int arg2 ;
10112 int result;
10113 PyObject * obj0 = 0 ;
10114 PyObject * obj1 = 0 ;
10115 char *kwnames[] = {
10116 (char *) "self",(char *) "line", NULL
10117 };
10118
10119 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GetLineSelStartPosition",kwnames,&obj0,&obj1)) goto fail;
10120 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
10121 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10122 arg2 = (int) SWIG_AsInt(obj1);
10123 if (PyErr_Occurred()) SWIG_fail;
10124 {
10125 PyThreadState* __tstate = wxPyBeginAllowThreads();
10126 result = (int)(arg1)->GetLineSelStartPosition(arg2);
10127
10128 wxPyEndAllowThreads(__tstate);
10129 if (PyErr_Occurred()) SWIG_fail;
10130 }
10131 resultobj = SWIG_FromInt((int)result);
10132 return resultobj;
10133 fail:
10134 return NULL;
10135 }
10136
10137
10138 static PyObject *_wrap_StyledTextCtrl_GetLineSelEndPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
10139 PyObject *resultobj;
10140 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
10141 int arg2 ;
10142 int result;
10143 PyObject * obj0 = 0 ;
10144 PyObject * obj1 = 0 ;
10145 char *kwnames[] = {
10146 (char *) "self",(char *) "line", NULL
10147 };
10148
10149 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_GetLineSelEndPosition",kwnames,&obj0,&obj1)) goto fail;
10150 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
10151 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10152 arg2 = (int) SWIG_AsInt(obj1);
10153 if (PyErr_Occurred()) SWIG_fail;
10154 {
10155 PyThreadState* __tstate = wxPyBeginAllowThreads();
10156 result = (int)(arg1)->GetLineSelEndPosition(arg2);
10157
10158 wxPyEndAllowThreads(__tstate);
10159 if (PyErr_Occurred()) SWIG_fail;
10160 }
10161 resultobj = SWIG_FromInt((int)result);
10162 return resultobj;
10163 fail:
10164 return NULL;
10165 }
10166
10167
10168 static PyObject *_wrap_StyledTextCtrl_SetWhitespaceChars(PyObject *self, PyObject *args, PyObject *kwargs) {
10169 PyObject *resultobj;
10170 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
10171 wxString *arg2 = 0 ;
10172 bool temp2 = False ;
10173 PyObject * obj0 = 0 ;
10174 PyObject * obj1 = 0 ;
10175 char *kwnames[] = {
10176 (char *) "self",(char *) "characters", NULL
10177 };
10178
10179 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetWhitespaceChars",kwnames,&obj0,&obj1)) goto fail;
10180 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
10181 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10182 {
10183 arg2 = wxString_in_helper(obj1);
10184 if (arg2 == NULL) SWIG_fail;
10185 temp2 = True;
10186 }
10187 {
10188 PyThreadState* __tstate = wxPyBeginAllowThreads();
10189 (arg1)->SetWhitespaceChars((wxString const &)*arg2);
10190
10191 wxPyEndAllowThreads(__tstate);
10192 if (PyErr_Occurred()) SWIG_fail;
10193 }
10194 Py_INCREF(Py_None); resultobj = Py_None;
10195 {
10196 if (temp2)
10197 delete arg2;
10198 }
10199 return resultobj;
10200 fail:
10201 {
10202 if (temp2)
10203 delete arg2;
10204 }
10205 return NULL;
10206 }
10207
10208
10209 static PyObject *_wrap_StyledTextCtrl_SetCharsDefault(PyObject *self, PyObject *args, PyObject *kwargs) {
10210 PyObject *resultobj;
10211 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
10212 PyObject * obj0 = 0 ;
10213 char *kwnames[] = {
10214 (char *) "self", NULL
10215 };
10216
10217 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_SetCharsDefault",kwnames,&obj0)) goto fail;
10218 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
10219 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10220 {
10221 PyThreadState* __tstate = wxPyBeginAllowThreads();
10222 (arg1)->SetCharsDefault();
10223
10224 wxPyEndAllowThreads(__tstate);
10225 if (PyErr_Occurred()) SWIG_fail;
10226 }
10227 Py_INCREF(Py_None); resultobj = Py_None;
10228 return resultobj;
10229 fail:
10230 return NULL;
10231 }
10232
10233
10234 static PyObject *_wrap_StyledTextCtrl_AutoCompGetCurrent(PyObject *self, PyObject *args, PyObject *kwargs) {
10235 PyObject *resultobj;
10236 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
10237 int result;
10238 PyObject * obj0 = 0 ;
10239 char *kwnames[] = {
10240 (char *) "self", NULL
10241 };
10242
10243 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_AutoCompGetCurrent",kwnames,&obj0)) goto fail;
10244 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
10245 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10246 {
10247 PyThreadState* __tstate = wxPyBeginAllowThreads();
10248 result = (int)(arg1)->AutoCompGetCurrent();
10249
10250 wxPyEndAllowThreads(__tstate);
10251 if (PyErr_Occurred()) SWIG_fail;
10252 }
10253 resultobj = SWIG_FromInt((int)result);
10254 return resultobj;
10255 fail:
10256 return NULL;
10257 }
10258
10259
10260 static PyObject *_wrap_StyledTextCtrl_StartRecord(PyObject *self, PyObject *args, PyObject *kwargs) {
10261 PyObject *resultobj;
10262 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
10263 PyObject * obj0 = 0 ;
10264 char *kwnames[] = {
10265 (char *) "self", NULL
10266 };
10267
10268 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_StartRecord",kwnames,&obj0)) goto fail;
10269 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
10270 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10271 {
10272 PyThreadState* __tstate = wxPyBeginAllowThreads();
10273 (arg1)->StartRecord();
10274
10275 wxPyEndAllowThreads(__tstate);
10276 if (PyErr_Occurred()) SWIG_fail;
10277 }
10278 Py_INCREF(Py_None); resultobj = Py_None;
10279 return resultobj;
10280 fail:
10281 return NULL;
10282 }
10283
10284
10285 static PyObject *_wrap_StyledTextCtrl_StopRecord(PyObject *self, PyObject *args, PyObject *kwargs) {
10286 PyObject *resultobj;
10287 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
10288 PyObject * obj0 = 0 ;
10289 char *kwnames[] = {
10290 (char *) "self", NULL
10291 };
10292
10293 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_StopRecord",kwnames,&obj0)) goto fail;
10294 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
10295 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10296 {
10297 PyThreadState* __tstate = wxPyBeginAllowThreads();
10298 (arg1)->StopRecord();
10299
10300 wxPyEndAllowThreads(__tstate);
10301 if (PyErr_Occurred()) SWIG_fail;
10302 }
10303 Py_INCREF(Py_None); resultobj = Py_None;
10304 return resultobj;
10305 fail:
10306 return NULL;
10307 }
10308
10309
10310 static PyObject *_wrap_StyledTextCtrl_SetLexer(PyObject *self, PyObject *args, PyObject *kwargs) {
10311 PyObject *resultobj;
10312 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
10313 int arg2 ;
10314 PyObject * obj0 = 0 ;
10315 PyObject * obj1 = 0 ;
10316 char *kwnames[] = {
10317 (char *) "self",(char *) "lexer", NULL
10318 };
10319
10320 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetLexer",kwnames,&obj0,&obj1)) goto fail;
10321 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
10322 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10323 arg2 = (int) SWIG_AsInt(obj1);
10324 if (PyErr_Occurred()) SWIG_fail;
10325 {
10326 PyThreadState* __tstate = wxPyBeginAllowThreads();
10327 (arg1)->SetLexer(arg2);
10328
10329 wxPyEndAllowThreads(__tstate);
10330 if (PyErr_Occurred()) SWIG_fail;
10331 }
10332 Py_INCREF(Py_None); resultobj = Py_None;
10333 return resultobj;
10334 fail:
10335 return NULL;
10336 }
10337
10338
10339 static PyObject *_wrap_StyledTextCtrl_GetLexer(PyObject *self, PyObject *args, PyObject *kwargs) {
10340 PyObject *resultobj;
10341 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
10342 int result;
10343 PyObject * obj0 = 0 ;
10344 char *kwnames[] = {
10345 (char *) "self", NULL
10346 };
10347
10348 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetLexer",kwnames,&obj0)) goto fail;
10349 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
10350 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10351 {
10352 PyThreadState* __tstate = wxPyBeginAllowThreads();
10353 result = (int)(arg1)->GetLexer();
10354
10355 wxPyEndAllowThreads(__tstate);
10356 if (PyErr_Occurred()) SWIG_fail;
10357 }
10358 resultobj = SWIG_FromInt((int)result);
10359 return resultobj;
10360 fail:
10361 return NULL;
10362 }
10363
10364
10365 static PyObject *_wrap_StyledTextCtrl_Colourise(PyObject *self, PyObject *args, PyObject *kwargs) {
10366 PyObject *resultobj;
10367 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
10368 int arg2 ;
10369 int arg3 ;
10370 PyObject * obj0 = 0 ;
10371 PyObject * obj1 = 0 ;
10372 PyObject * obj2 = 0 ;
10373 char *kwnames[] = {
10374 (char *) "self",(char *) "start",(char *) "end", NULL
10375 };
10376
10377 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_Colourise",kwnames,&obj0,&obj1,&obj2)) goto fail;
10378 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
10379 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10380 arg2 = (int) SWIG_AsInt(obj1);
10381 if (PyErr_Occurred()) SWIG_fail;
10382 arg3 = (int) SWIG_AsInt(obj2);
10383 if (PyErr_Occurred()) SWIG_fail;
10384 {
10385 PyThreadState* __tstate = wxPyBeginAllowThreads();
10386 (arg1)->Colourise(arg2,arg3);
10387
10388 wxPyEndAllowThreads(__tstate);
10389 if (PyErr_Occurred()) SWIG_fail;
10390 }
10391 Py_INCREF(Py_None); resultobj = Py_None;
10392 return resultobj;
10393 fail:
10394 return NULL;
10395 }
10396
10397
10398 static PyObject *_wrap_StyledTextCtrl_SetProperty(PyObject *self, PyObject *args, PyObject *kwargs) {
10399 PyObject *resultobj;
10400 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
10401 wxString *arg2 = 0 ;
10402 wxString *arg3 = 0 ;
10403 bool temp2 = False ;
10404 bool temp3 = False ;
10405 PyObject * obj0 = 0 ;
10406 PyObject * obj1 = 0 ;
10407 PyObject * obj2 = 0 ;
10408 char *kwnames[] = {
10409 (char *) "self",(char *) "key",(char *) "value", NULL
10410 };
10411
10412 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetProperty",kwnames,&obj0,&obj1,&obj2)) goto fail;
10413 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
10414 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10415 {
10416 arg2 = wxString_in_helper(obj1);
10417 if (arg2 == NULL) SWIG_fail;
10418 temp2 = True;
10419 }
10420 {
10421 arg3 = wxString_in_helper(obj2);
10422 if (arg3 == NULL) SWIG_fail;
10423 temp3 = True;
10424 }
10425 {
10426 PyThreadState* __tstate = wxPyBeginAllowThreads();
10427 (arg1)->SetProperty((wxString const &)*arg2,(wxString const &)*arg3);
10428
10429 wxPyEndAllowThreads(__tstate);
10430 if (PyErr_Occurred()) SWIG_fail;
10431 }
10432 Py_INCREF(Py_None); resultobj = Py_None;
10433 {
10434 if (temp2)
10435 delete arg2;
10436 }
10437 {
10438 if (temp3)
10439 delete arg3;
10440 }
10441 return resultobj;
10442 fail:
10443 {
10444 if (temp2)
10445 delete arg2;
10446 }
10447 {
10448 if (temp3)
10449 delete arg3;
10450 }
10451 return NULL;
10452 }
10453
10454
10455 static PyObject *_wrap_StyledTextCtrl_SetKeyWords(PyObject *self, PyObject *args, PyObject *kwargs) {
10456 PyObject *resultobj;
10457 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
10458 int arg2 ;
10459 wxString *arg3 = 0 ;
10460 bool temp3 = False ;
10461 PyObject * obj0 = 0 ;
10462 PyObject * obj1 = 0 ;
10463 PyObject * obj2 = 0 ;
10464 char *kwnames[] = {
10465 (char *) "self",(char *) "keywordSet",(char *) "keyWords", NULL
10466 };
10467
10468 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetKeyWords",kwnames,&obj0,&obj1,&obj2)) goto fail;
10469 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
10470 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10471 arg2 = (int) SWIG_AsInt(obj1);
10472 if (PyErr_Occurred()) SWIG_fail;
10473 {
10474 arg3 = wxString_in_helper(obj2);
10475 if (arg3 == NULL) SWIG_fail;
10476 temp3 = True;
10477 }
10478 {
10479 PyThreadState* __tstate = wxPyBeginAllowThreads();
10480 (arg1)->SetKeyWords(arg2,(wxString const &)*arg3);
10481
10482 wxPyEndAllowThreads(__tstate);
10483 if (PyErr_Occurred()) SWIG_fail;
10484 }
10485 Py_INCREF(Py_None); resultobj = Py_None;
10486 {
10487 if (temp3)
10488 delete arg3;
10489 }
10490 return resultobj;
10491 fail:
10492 {
10493 if (temp3)
10494 delete arg3;
10495 }
10496 return NULL;
10497 }
10498
10499
10500 static PyObject *_wrap_StyledTextCtrl_SetLexerLanguage(PyObject *self, PyObject *args, PyObject *kwargs) {
10501 PyObject *resultobj;
10502 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
10503 wxString *arg2 = 0 ;
10504 bool temp2 = False ;
10505 PyObject * obj0 = 0 ;
10506 PyObject * obj1 = 0 ;
10507 char *kwnames[] = {
10508 (char *) "self",(char *) "language", NULL
10509 };
10510
10511 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetLexerLanguage",kwnames,&obj0,&obj1)) goto fail;
10512 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
10513 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10514 {
10515 arg2 = wxString_in_helper(obj1);
10516 if (arg2 == NULL) SWIG_fail;
10517 temp2 = True;
10518 }
10519 {
10520 PyThreadState* __tstate = wxPyBeginAllowThreads();
10521 (arg1)->SetLexerLanguage((wxString const &)*arg2);
10522
10523 wxPyEndAllowThreads(__tstate);
10524 if (PyErr_Occurred()) SWIG_fail;
10525 }
10526 Py_INCREF(Py_None); resultobj = Py_None;
10527 {
10528 if (temp2)
10529 delete arg2;
10530 }
10531 return resultobj;
10532 fail:
10533 {
10534 if (temp2)
10535 delete arg2;
10536 }
10537 return NULL;
10538 }
10539
10540
10541 static PyObject *_wrap_StyledTextCtrl_GetCurrentLine(PyObject *self, PyObject *args, PyObject *kwargs) {
10542 PyObject *resultobj;
10543 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
10544 int result;
10545 PyObject * obj0 = 0 ;
10546 char *kwnames[] = {
10547 (char *) "self", NULL
10548 };
10549
10550 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetCurrentLine",kwnames,&obj0)) goto fail;
10551 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
10552 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10553 {
10554 PyThreadState* __tstate = wxPyBeginAllowThreads();
10555 result = (int)(arg1)->GetCurrentLine();
10556
10557 wxPyEndAllowThreads(__tstate);
10558 if (PyErr_Occurred()) SWIG_fail;
10559 }
10560 resultobj = SWIG_FromInt((int)result);
10561 return resultobj;
10562 fail:
10563 return NULL;
10564 }
10565
10566
10567 static PyObject *_wrap_StyledTextCtrl_StyleSetSpec(PyObject *self, PyObject *args, PyObject *kwargs) {
10568 PyObject *resultobj;
10569 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
10570 int arg2 ;
10571 wxString *arg3 = 0 ;
10572 bool temp3 = False ;
10573 PyObject * obj0 = 0 ;
10574 PyObject * obj1 = 0 ;
10575 PyObject * obj2 = 0 ;
10576 char *kwnames[] = {
10577 (char *) "self",(char *) "styleNum",(char *) "spec", NULL
10578 };
10579
10580 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_StyleSetSpec",kwnames,&obj0,&obj1,&obj2)) goto fail;
10581 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
10582 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10583 arg2 = (int) SWIG_AsInt(obj1);
10584 if (PyErr_Occurred()) SWIG_fail;
10585 {
10586 arg3 = wxString_in_helper(obj2);
10587 if (arg3 == NULL) SWIG_fail;
10588 temp3 = True;
10589 }
10590 {
10591 PyThreadState* __tstate = wxPyBeginAllowThreads();
10592 (arg1)->StyleSetSpec(arg2,(wxString const &)*arg3);
10593
10594 wxPyEndAllowThreads(__tstate);
10595 if (PyErr_Occurred()) SWIG_fail;
10596 }
10597 Py_INCREF(Py_None); resultobj = Py_None;
10598 {
10599 if (temp3)
10600 delete arg3;
10601 }
10602 return resultobj;
10603 fail:
10604 {
10605 if (temp3)
10606 delete arg3;
10607 }
10608 return NULL;
10609 }
10610
10611
10612 static PyObject *_wrap_StyledTextCtrl_StyleSetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
10613 PyObject *resultobj;
10614 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
10615 int arg2 ;
10616 wxFont *arg3 = 0 ;
10617 PyObject * obj0 = 0 ;
10618 PyObject * obj1 = 0 ;
10619 PyObject * obj2 = 0 ;
10620 char *kwnames[] = {
10621 (char *) "self",(char *) "styleNum",(char *) "font", NULL
10622 };
10623
10624 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_StyleSetFont",kwnames,&obj0,&obj1,&obj2)) goto fail;
10625 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
10626 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10627 arg2 = (int) SWIG_AsInt(obj1);
10628 if (PyErr_Occurred()) SWIG_fail;
10629 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxFont,
10630 SWIG_POINTER_EXCEPTION | 0)) == -1)
10631 SWIG_fail;
10632 if (arg3 == NULL) {
10633 PyErr_SetString(PyExc_TypeError,"null reference");
10634 SWIG_fail;
10635 }
10636 {
10637 PyThreadState* __tstate = wxPyBeginAllowThreads();
10638 (arg1)->StyleSetFont(arg2,*arg3);
10639
10640 wxPyEndAllowThreads(__tstate);
10641 if (PyErr_Occurred()) SWIG_fail;
10642 }
10643 Py_INCREF(Py_None); resultobj = Py_None;
10644 return resultobj;
10645 fail:
10646 return NULL;
10647 }
10648
10649
10650 static PyObject *_wrap_StyledTextCtrl_StyleSetFontAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
10651 PyObject *resultobj;
10652 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
10653 int arg2 ;
10654 int arg3 ;
10655 wxString *arg4 = 0 ;
10656 bool arg5 ;
10657 bool arg6 ;
10658 bool arg7 ;
10659 bool temp4 = False ;
10660 PyObject * obj0 = 0 ;
10661 PyObject * obj1 = 0 ;
10662 PyObject * obj2 = 0 ;
10663 PyObject * obj3 = 0 ;
10664 PyObject * obj4 = 0 ;
10665 PyObject * obj5 = 0 ;
10666 PyObject * obj6 = 0 ;
10667 char *kwnames[] = {
10668 (char *) "self",(char *) "styleNum",(char *) "size",(char *) "faceName",(char *) "bold",(char *) "italic",(char *) "underline", NULL
10669 };
10670
10671 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOOO:StyledTextCtrl_StyleSetFontAttr",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
10672 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
10673 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10674 arg2 = (int) SWIG_AsInt(obj1);
10675 if (PyErr_Occurred()) SWIG_fail;
10676 arg3 = (int) SWIG_AsInt(obj2);
10677 if (PyErr_Occurred()) SWIG_fail;
10678 {
10679 arg4 = wxString_in_helper(obj3);
10680 if (arg4 == NULL) SWIG_fail;
10681 temp4 = True;
10682 }
10683 arg5 = (bool) SWIG_AsBool(obj4);
10684 if (PyErr_Occurred()) SWIG_fail;
10685 arg6 = (bool) SWIG_AsBool(obj5);
10686 if (PyErr_Occurred()) SWIG_fail;
10687 arg7 = (bool) SWIG_AsBool(obj6);
10688 if (PyErr_Occurred()) SWIG_fail;
10689 {
10690 PyThreadState* __tstate = wxPyBeginAllowThreads();
10691 (arg1)->StyleSetFontAttr(arg2,arg3,(wxString const &)*arg4,arg5,arg6,arg7);
10692
10693 wxPyEndAllowThreads(__tstate);
10694 if (PyErr_Occurred()) SWIG_fail;
10695 }
10696 Py_INCREF(Py_None); resultobj = Py_None;
10697 {
10698 if (temp4)
10699 delete arg4;
10700 }
10701 return resultobj;
10702 fail:
10703 {
10704 if (temp4)
10705 delete arg4;
10706 }
10707 return NULL;
10708 }
10709
10710
10711 static PyObject *_wrap_StyledTextCtrl_CmdKeyExecute(PyObject *self, PyObject *args, PyObject *kwargs) {
10712 PyObject *resultobj;
10713 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
10714 int arg2 ;
10715 PyObject * obj0 = 0 ;
10716 PyObject * obj1 = 0 ;
10717 char *kwnames[] = {
10718 (char *) "self",(char *) "cmd", NULL
10719 };
10720
10721 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_CmdKeyExecute",kwnames,&obj0,&obj1)) goto fail;
10722 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
10723 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10724 arg2 = (int) SWIG_AsInt(obj1);
10725 if (PyErr_Occurred()) SWIG_fail;
10726 {
10727 PyThreadState* __tstate = wxPyBeginAllowThreads();
10728 (arg1)->CmdKeyExecute(arg2);
10729
10730 wxPyEndAllowThreads(__tstate);
10731 if (PyErr_Occurred()) SWIG_fail;
10732 }
10733 Py_INCREF(Py_None); resultobj = Py_None;
10734 return resultobj;
10735 fail:
10736 return NULL;
10737 }
10738
10739
10740 static PyObject *_wrap_StyledTextCtrl_SetMargins(PyObject *self, PyObject *args, PyObject *kwargs) {
10741 PyObject *resultobj;
10742 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
10743 int arg2 ;
10744 int arg3 ;
10745 PyObject * obj0 = 0 ;
10746 PyObject * obj1 = 0 ;
10747 PyObject * obj2 = 0 ;
10748 char *kwnames[] = {
10749 (char *) "self",(char *) "left",(char *) "right", NULL
10750 };
10751
10752 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StyledTextCtrl_SetMargins",kwnames,&obj0,&obj1,&obj2)) goto fail;
10753 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
10754 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10755 arg2 = (int) SWIG_AsInt(obj1);
10756 if (PyErr_Occurred()) SWIG_fail;
10757 arg3 = (int) SWIG_AsInt(obj2);
10758 if (PyErr_Occurred()) SWIG_fail;
10759 {
10760 PyThreadState* __tstate = wxPyBeginAllowThreads();
10761 (arg1)->SetMargins(arg2,arg3);
10762
10763 wxPyEndAllowThreads(__tstate);
10764 if (PyErr_Occurred()) SWIG_fail;
10765 }
10766 Py_INCREF(Py_None); resultobj = Py_None;
10767 return resultobj;
10768 fail:
10769 return NULL;
10770 }
10771
10772
10773 static PyObject *_wrap_StyledTextCtrl_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
10774 PyObject *resultobj;
10775 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
10776 int *arg2 = (int *) 0 ;
10777 int *arg3 = (int *) 0 ;
10778 int temp2 ;
10779 int temp3 ;
10780 PyObject * obj0 = 0 ;
10781 char *kwnames[] = {
10782 (char *) "self", NULL
10783 };
10784
10785 arg2 = &temp2;
10786 arg3 = &temp3;
10787 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetSelection",kwnames,&obj0)) goto fail;
10788 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
10789 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10790 {
10791 PyThreadState* __tstate = wxPyBeginAllowThreads();
10792 (arg1)->GetSelection(arg2,arg3);
10793
10794 wxPyEndAllowThreads(__tstate);
10795 if (PyErr_Occurred()) SWIG_fail;
10796 }
10797 Py_INCREF(Py_None); resultobj = Py_None;
10798 {
10799 PyObject *o = PyInt_FromLong((long) (*arg2));
10800 resultobj = t_output_helper(resultobj,o);
10801 }
10802 {
10803 PyObject *o = PyInt_FromLong((long) (*arg3));
10804 resultobj = t_output_helper(resultobj,o);
10805 }
10806 return resultobj;
10807 fail:
10808 return NULL;
10809 }
10810
10811
10812 static PyObject *_wrap_StyledTextCtrl_PointFromPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
10813 PyObject *resultobj;
10814 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
10815 int arg2 ;
10816 wxPoint result;
10817 PyObject * obj0 = 0 ;
10818 PyObject * obj1 = 0 ;
10819 char *kwnames[] = {
10820 (char *) "self",(char *) "pos", NULL
10821 };
10822
10823 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_PointFromPosition",kwnames,&obj0,&obj1)) goto fail;
10824 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
10825 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10826 arg2 = (int) SWIG_AsInt(obj1);
10827 if (PyErr_Occurred()) SWIG_fail;
10828 {
10829 PyThreadState* __tstate = wxPyBeginAllowThreads();
10830 result = (arg1)->PointFromPosition(arg2);
10831
10832 wxPyEndAllowThreads(__tstate);
10833 if (PyErr_Occurred()) SWIG_fail;
10834 }
10835 {
10836 wxPoint * resultptr;
10837 resultptr = new wxPoint((wxPoint &) result);
10838 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
10839 }
10840 return resultobj;
10841 fail:
10842 return NULL;
10843 }
10844
10845
10846 static PyObject *_wrap_StyledTextCtrl_ScrollToLine(PyObject *self, PyObject *args, PyObject *kwargs) {
10847 PyObject *resultobj;
10848 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
10849 int arg2 ;
10850 PyObject * obj0 = 0 ;
10851 PyObject * obj1 = 0 ;
10852 char *kwnames[] = {
10853 (char *) "self",(char *) "line", NULL
10854 };
10855
10856 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_ScrollToLine",kwnames,&obj0,&obj1)) 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 {
10862 PyThreadState* __tstate = wxPyBeginAllowThreads();
10863 (arg1)->ScrollToLine(arg2);
10864
10865 wxPyEndAllowThreads(__tstate);
10866 if (PyErr_Occurred()) SWIG_fail;
10867 }
10868 Py_INCREF(Py_None); resultobj = Py_None;
10869 return resultobj;
10870 fail:
10871 return NULL;
10872 }
10873
10874
10875 static PyObject *_wrap_StyledTextCtrl_ScrollToColumn(PyObject *self, PyObject *args, PyObject *kwargs) {
10876 PyObject *resultobj;
10877 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
10878 int arg2 ;
10879 PyObject * obj0 = 0 ;
10880 PyObject * obj1 = 0 ;
10881 char *kwnames[] = {
10882 (char *) "self",(char *) "column", NULL
10883 };
10884
10885 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_ScrollToColumn",kwnames,&obj0,&obj1)) goto fail;
10886 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
10887 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10888 arg2 = (int) SWIG_AsInt(obj1);
10889 if (PyErr_Occurred()) SWIG_fail;
10890 {
10891 PyThreadState* __tstate = wxPyBeginAllowThreads();
10892 (arg1)->ScrollToColumn(arg2);
10893
10894 wxPyEndAllowThreads(__tstate);
10895 if (PyErr_Occurred()) SWIG_fail;
10896 }
10897 Py_INCREF(Py_None); resultobj = Py_None;
10898 return resultobj;
10899 fail:
10900 return NULL;
10901 }
10902
10903
10904 static PyObject *_wrap_StyledTextCtrl_SendMsg(PyObject *self, PyObject *args, PyObject *kwargs) {
10905 PyObject *resultobj;
10906 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
10907 int arg2 ;
10908 long arg3 = (long) 0 ;
10909 long arg4 = (long) 0 ;
10910 long result;
10911 PyObject * obj0 = 0 ;
10912 PyObject * obj1 = 0 ;
10913 PyObject * obj2 = 0 ;
10914 PyObject * obj3 = 0 ;
10915 char *kwnames[] = {
10916 (char *) "self",(char *) "msg",(char *) "wp",(char *) "lp", NULL
10917 };
10918
10919 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:StyledTextCtrl_SendMsg",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
10920 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
10921 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10922 arg2 = (int) SWIG_AsInt(obj1);
10923 if (PyErr_Occurred()) SWIG_fail;
10924 if (obj2) {
10925 arg3 = (long) SWIG_AsLong(obj2);
10926 if (PyErr_Occurred()) SWIG_fail;
10927 }
10928 if (obj3) {
10929 arg4 = (long) SWIG_AsLong(obj3);
10930 if (PyErr_Occurred()) SWIG_fail;
10931 }
10932 {
10933 PyThreadState* __tstate = wxPyBeginAllowThreads();
10934 result = (long)(arg1)->SendMsg(arg2,arg3,arg4);
10935
10936 wxPyEndAllowThreads(__tstate);
10937 if (PyErr_Occurred()) SWIG_fail;
10938 }
10939 resultobj = SWIG_FromLong((long)result);
10940 return resultobj;
10941 fail:
10942 return NULL;
10943 }
10944
10945
10946 static PyObject *_wrap_StyledTextCtrl_SetVScrollBar(PyObject *self, PyObject *args, PyObject *kwargs) {
10947 PyObject *resultobj;
10948 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
10949 wxScrollBar *arg2 = (wxScrollBar *) 0 ;
10950 PyObject * obj0 = 0 ;
10951 PyObject * obj1 = 0 ;
10952 char *kwnames[] = {
10953 (char *) "self",(char *) "bar", NULL
10954 };
10955
10956 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetVScrollBar",kwnames,&obj0,&obj1)) goto fail;
10957 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
10958 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10959 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxScrollBar,
10960 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10961 {
10962 PyThreadState* __tstate = wxPyBeginAllowThreads();
10963 (arg1)->SetVScrollBar(arg2);
10964
10965 wxPyEndAllowThreads(__tstate);
10966 if (PyErr_Occurred()) SWIG_fail;
10967 }
10968 Py_INCREF(Py_None); resultobj = Py_None;
10969 return resultobj;
10970 fail:
10971 return NULL;
10972 }
10973
10974
10975 static PyObject *_wrap_StyledTextCtrl_SetHScrollBar(PyObject *self, PyObject *args, PyObject *kwargs) {
10976 PyObject *resultobj;
10977 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
10978 wxScrollBar *arg2 = (wxScrollBar *) 0 ;
10979 PyObject * obj0 = 0 ;
10980 PyObject * obj1 = 0 ;
10981 char *kwnames[] = {
10982 (char *) "self",(char *) "bar", NULL
10983 };
10984
10985 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetHScrollBar",kwnames,&obj0,&obj1)) goto fail;
10986 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
10987 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10988 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxScrollBar,
10989 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10990 {
10991 PyThreadState* __tstate = wxPyBeginAllowThreads();
10992 (arg1)->SetHScrollBar(arg2);
10993
10994 wxPyEndAllowThreads(__tstate);
10995 if (PyErr_Occurred()) SWIG_fail;
10996 }
10997 Py_INCREF(Py_None); resultobj = Py_None;
10998 return resultobj;
10999 fail:
11000 return NULL;
11001 }
11002
11003
11004 static PyObject *_wrap_StyledTextCtrl_GetLastKeydownProcessed(PyObject *self, PyObject *args, PyObject *kwargs) {
11005 PyObject *resultobj;
11006 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
11007 bool result;
11008 PyObject * obj0 = 0 ;
11009 char *kwnames[] = {
11010 (char *) "self", NULL
11011 };
11012
11013 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetLastKeydownProcessed",kwnames,&obj0)) goto fail;
11014 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
11015 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11016 {
11017 PyThreadState* __tstate = wxPyBeginAllowThreads();
11018 result = (bool)(arg1)->GetLastKeydownProcessed();
11019
11020 wxPyEndAllowThreads(__tstate);
11021 if (PyErr_Occurred()) SWIG_fail;
11022 }
11023 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11024 return resultobj;
11025 fail:
11026 return NULL;
11027 }
11028
11029
11030 static PyObject *_wrap_StyledTextCtrl_SetLastKeydownProcessed(PyObject *self, PyObject *args, PyObject *kwargs) {
11031 PyObject *resultobj;
11032 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
11033 bool arg2 ;
11034 PyObject * obj0 = 0 ;
11035 PyObject * obj1 = 0 ;
11036 char *kwnames[] = {
11037 (char *) "self",(char *) "val", NULL
11038 };
11039
11040 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetLastKeydownProcessed",kwnames,&obj0,&obj1)) goto fail;
11041 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
11042 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11043 arg2 = (bool) SWIG_AsBool(obj1);
11044 if (PyErr_Occurred()) SWIG_fail;
11045 {
11046 PyThreadState* __tstate = wxPyBeginAllowThreads();
11047 (arg1)->SetLastKeydownProcessed(arg2);
11048
11049 wxPyEndAllowThreads(__tstate);
11050 if (PyErr_Occurred()) SWIG_fail;
11051 }
11052 Py_INCREF(Py_None); resultobj = Py_None;
11053 return resultobj;
11054 fail:
11055 return NULL;
11056 }
11057
11058
11059 static PyObject *_wrap_StyledTextCtrl_SaveFile(PyObject *self, PyObject *args, PyObject *kwargs) {
11060 PyObject *resultobj;
11061 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
11062 wxString *arg2 = 0 ;
11063 bool result;
11064 bool temp2 = False ;
11065 PyObject * obj0 = 0 ;
11066 PyObject * obj1 = 0 ;
11067 char *kwnames[] = {
11068 (char *) "self",(char *) "filename", NULL
11069 };
11070
11071 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SaveFile",kwnames,&obj0,&obj1)) goto fail;
11072 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
11073 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11074 {
11075 arg2 = wxString_in_helper(obj1);
11076 if (arg2 == NULL) SWIG_fail;
11077 temp2 = True;
11078 }
11079 {
11080 PyThreadState* __tstate = wxPyBeginAllowThreads();
11081 result = (bool)(arg1)->SaveFile((wxString const &)*arg2);
11082
11083 wxPyEndAllowThreads(__tstate);
11084 if (PyErr_Occurred()) SWIG_fail;
11085 }
11086 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11087 {
11088 if (temp2)
11089 delete arg2;
11090 }
11091 return resultobj;
11092 fail:
11093 {
11094 if (temp2)
11095 delete arg2;
11096 }
11097 return NULL;
11098 }
11099
11100
11101 static PyObject *_wrap_StyledTextCtrl_LoadFile(PyObject *self, PyObject *args, PyObject *kwargs) {
11102 PyObject *resultobj;
11103 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
11104 wxString *arg2 = 0 ;
11105 bool result;
11106 bool temp2 = False ;
11107 PyObject * obj0 = 0 ;
11108 PyObject * obj1 = 0 ;
11109 char *kwnames[] = {
11110 (char *) "self",(char *) "filename", NULL
11111 };
11112
11113 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_LoadFile",kwnames,&obj0,&obj1)) goto fail;
11114 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
11115 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11116 {
11117 arg2 = wxString_in_helper(obj1);
11118 if (arg2 == NULL) SWIG_fail;
11119 temp2 = True;
11120 }
11121 {
11122 PyThreadState* __tstate = wxPyBeginAllowThreads();
11123 result = (bool)(arg1)->LoadFile((wxString const &)*arg2);
11124
11125 wxPyEndAllowThreads(__tstate);
11126 if (PyErr_Occurred()) SWIG_fail;
11127 }
11128 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11129 {
11130 if (temp2)
11131 delete arg2;
11132 }
11133 return resultobj;
11134 fail:
11135 {
11136 if (temp2)
11137 delete arg2;
11138 }
11139 return NULL;
11140 }
11141
11142
11143 static PyObject *_wrap_StyledTextCtrl_DoDragOver(PyObject *self, PyObject *args, PyObject *kwargs) {
11144 PyObject *resultobj;
11145 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
11146 int arg2 ;
11147 int arg3 ;
11148 int arg4 ;
11149 int result;
11150 PyObject * obj0 = 0 ;
11151 PyObject * obj1 = 0 ;
11152 PyObject * obj2 = 0 ;
11153 PyObject * obj3 = 0 ;
11154 char *kwnames[] = {
11155 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
11156 };
11157
11158 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:StyledTextCtrl_DoDragOver",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
11159 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
11160 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11161 arg2 = (int) SWIG_AsInt(obj1);
11162 if (PyErr_Occurred()) SWIG_fail;
11163 arg3 = (int) SWIG_AsInt(obj2);
11164 if (PyErr_Occurred()) SWIG_fail;
11165 arg4 = (wxDragResult) SWIG_AsInt(obj3);
11166 if (PyErr_Occurred()) SWIG_fail;
11167 {
11168 PyThreadState* __tstate = wxPyBeginAllowThreads();
11169 result = (int)(arg1)->DoDragOver(arg2,arg3,(wxDragResult )arg4);
11170
11171 wxPyEndAllowThreads(__tstate);
11172 if (PyErr_Occurred()) SWIG_fail;
11173 }
11174 resultobj = SWIG_FromInt((int)result);
11175 return resultobj;
11176 fail:
11177 return NULL;
11178 }
11179
11180
11181 static PyObject *_wrap_StyledTextCtrl_DoDropText(PyObject *self, PyObject *args, PyObject *kwargs) {
11182 PyObject *resultobj;
11183 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
11184 long arg2 ;
11185 long arg3 ;
11186 wxString *arg4 = 0 ;
11187 bool result;
11188 bool temp4 = False ;
11189 PyObject * obj0 = 0 ;
11190 PyObject * obj1 = 0 ;
11191 PyObject * obj2 = 0 ;
11192 PyObject * obj3 = 0 ;
11193 char *kwnames[] = {
11194 (char *) "self",(char *) "x",(char *) "y",(char *) "data", NULL
11195 };
11196
11197 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:StyledTextCtrl_DoDropText",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
11198 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
11199 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11200 arg2 = (long) SWIG_AsLong(obj1);
11201 if (PyErr_Occurred()) SWIG_fail;
11202 arg3 = (long) SWIG_AsLong(obj2);
11203 if (PyErr_Occurred()) SWIG_fail;
11204 {
11205 arg4 = wxString_in_helper(obj3);
11206 if (arg4 == NULL) SWIG_fail;
11207 temp4 = True;
11208 }
11209 {
11210 PyThreadState* __tstate = wxPyBeginAllowThreads();
11211 result = (bool)(arg1)->DoDropText(arg2,arg3,(wxString const &)*arg4);
11212
11213 wxPyEndAllowThreads(__tstate);
11214 if (PyErr_Occurred()) SWIG_fail;
11215 }
11216 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11217 {
11218 if (temp4)
11219 delete arg4;
11220 }
11221 return resultobj;
11222 fail:
11223 {
11224 if (temp4)
11225 delete arg4;
11226 }
11227 return NULL;
11228 }
11229
11230
11231 static PyObject *_wrap_StyledTextCtrl_SetUseAntiAliasing(PyObject *self, PyObject *args, PyObject *kwargs) {
11232 PyObject *resultobj;
11233 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
11234 bool arg2 ;
11235 PyObject * obj0 = 0 ;
11236 PyObject * obj1 = 0 ;
11237 char *kwnames[] = {
11238 (char *) "self",(char *) "useAA", NULL
11239 };
11240
11241 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextCtrl_SetUseAntiAliasing",kwnames,&obj0,&obj1)) goto fail;
11242 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
11243 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11244 arg2 = (bool) SWIG_AsBool(obj1);
11245 if (PyErr_Occurred()) SWIG_fail;
11246 {
11247 PyThreadState* __tstate = wxPyBeginAllowThreads();
11248 (arg1)->SetUseAntiAliasing(arg2);
11249
11250 wxPyEndAllowThreads(__tstate);
11251 if (PyErr_Occurred()) SWIG_fail;
11252 }
11253 Py_INCREF(Py_None); resultobj = Py_None;
11254 return resultobj;
11255 fail:
11256 return NULL;
11257 }
11258
11259
11260 static PyObject *_wrap_StyledTextCtrl_GetUseAntiAliasing(PyObject *self, PyObject *args, PyObject *kwargs) {
11261 PyObject *resultobj;
11262 wxStyledTextCtrl *arg1 = (wxStyledTextCtrl *) 0 ;
11263 bool result;
11264 PyObject * obj0 = 0 ;
11265 char *kwnames[] = {
11266 (char *) "self", NULL
11267 };
11268
11269 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextCtrl_GetUseAntiAliasing",kwnames,&obj0)) goto fail;
11270 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextCtrl,
11271 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11272 {
11273 PyThreadState* __tstate = wxPyBeginAllowThreads();
11274 result = (bool)(arg1)->GetUseAntiAliasing();
11275
11276 wxPyEndAllowThreads(__tstate);
11277 if (PyErr_Occurred()) SWIG_fail;
11278 }
11279 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11280 return resultobj;
11281 fail:
11282 return NULL;
11283 }
11284
11285
11286 static PyObject * StyledTextCtrl_swigregister(PyObject *self, PyObject *args) {
11287 PyObject *obj;
11288 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11289 SWIG_TypeClientData(SWIGTYPE_p_wxStyledTextCtrl, obj);
11290 Py_INCREF(obj);
11291 return Py_BuildValue((char *)"");
11292 }
11293 static PyObject *_wrap_new_StyledTextEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
11294 PyObject *resultobj;
11295 wxEventType arg1 = (wxEventType) 0 ;
11296 int arg2 = (int) 0 ;
11297 wxStyledTextEvent *result;
11298 PyObject * obj0 = 0 ;
11299 PyObject * obj1 = 0 ;
11300 char *kwnames[] = {
11301 (char *) "commandType",(char *) "id", NULL
11302 };
11303
11304 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_StyledTextEvent",kwnames,&obj0,&obj1)) goto fail;
11305 if (obj0) {
11306 arg1 = (wxEventType) SWIG_AsInt(obj0);
11307 if (PyErr_Occurred()) SWIG_fail;
11308 }
11309 if (obj1) {
11310 arg2 = (int) SWIG_AsInt(obj1);
11311 if (PyErr_Occurred()) SWIG_fail;
11312 }
11313 {
11314 PyThreadState* __tstate = wxPyBeginAllowThreads();
11315 result = (wxStyledTextEvent *)new wxStyledTextEvent(arg1,arg2);
11316
11317 wxPyEndAllowThreads(__tstate);
11318 if (PyErr_Occurred()) SWIG_fail;
11319 }
11320 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStyledTextEvent, 1);
11321 return resultobj;
11322 fail:
11323 return NULL;
11324 }
11325
11326
11327 static PyObject *_wrap_delete_StyledTextEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
11328 PyObject *resultobj;
11329 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
11330 PyObject * obj0 = 0 ;
11331 char *kwnames[] = {
11332 (char *) "self", NULL
11333 };
11334
11335 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_StyledTextEvent",kwnames,&obj0)) goto fail;
11336 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextEvent,
11337 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11338 {
11339 PyThreadState* __tstate = wxPyBeginAllowThreads();
11340 delete arg1;
11341
11342 wxPyEndAllowThreads(__tstate);
11343 if (PyErr_Occurred()) SWIG_fail;
11344 }
11345 Py_INCREF(Py_None); resultobj = Py_None;
11346 return resultobj;
11347 fail:
11348 return NULL;
11349 }
11350
11351
11352 static PyObject *_wrap_StyledTextEvent_SetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
11353 PyObject *resultobj;
11354 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
11355 int arg2 ;
11356 PyObject * obj0 = 0 ;
11357 PyObject * obj1 = 0 ;
11358 char *kwnames[] = {
11359 (char *) "self",(char *) "pos", NULL
11360 };
11361
11362 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetPosition",kwnames,&obj0,&obj1)) goto fail;
11363 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextEvent,
11364 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11365 arg2 = (int) SWIG_AsInt(obj1);
11366 if (PyErr_Occurred()) SWIG_fail;
11367 {
11368 PyThreadState* __tstate = wxPyBeginAllowThreads();
11369 (arg1)->SetPosition(arg2);
11370
11371 wxPyEndAllowThreads(__tstate);
11372 if (PyErr_Occurred()) SWIG_fail;
11373 }
11374 Py_INCREF(Py_None); resultobj = Py_None;
11375 return resultobj;
11376 fail:
11377 return NULL;
11378 }
11379
11380
11381 static PyObject *_wrap_StyledTextEvent_SetKey(PyObject *self, PyObject *args, PyObject *kwargs) {
11382 PyObject *resultobj;
11383 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
11384 int arg2 ;
11385 PyObject * obj0 = 0 ;
11386 PyObject * obj1 = 0 ;
11387 char *kwnames[] = {
11388 (char *) "self",(char *) "k", NULL
11389 };
11390
11391 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetKey",kwnames,&obj0,&obj1)) goto fail;
11392 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextEvent,
11393 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11394 arg2 = (int) SWIG_AsInt(obj1);
11395 if (PyErr_Occurred()) SWIG_fail;
11396 {
11397 PyThreadState* __tstate = wxPyBeginAllowThreads();
11398 (arg1)->SetKey(arg2);
11399
11400 wxPyEndAllowThreads(__tstate);
11401 if (PyErr_Occurred()) SWIG_fail;
11402 }
11403 Py_INCREF(Py_None); resultobj = Py_None;
11404 return resultobj;
11405 fail:
11406 return NULL;
11407 }
11408
11409
11410 static PyObject *_wrap_StyledTextEvent_SetModifiers(PyObject *self, PyObject *args, PyObject *kwargs) {
11411 PyObject *resultobj;
11412 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
11413 int arg2 ;
11414 PyObject * obj0 = 0 ;
11415 PyObject * obj1 = 0 ;
11416 char *kwnames[] = {
11417 (char *) "self",(char *) "m", NULL
11418 };
11419
11420 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetModifiers",kwnames,&obj0,&obj1)) goto fail;
11421 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextEvent,
11422 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11423 arg2 = (int) SWIG_AsInt(obj1);
11424 if (PyErr_Occurred()) SWIG_fail;
11425 {
11426 PyThreadState* __tstate = wxPyBeginAllowThreads();
11427 (arg1)->SetModifiers(arg2);
11428
11429 wxPyEndAllowThreads(__tstate);
11430 if (PyErr_Occurred()) SWIG_fail;
11431 }
11432 Py_INCREF(Py_None); resultobj = Py_None;
11433 return resultobj;
11434 fail:
11435 return NULL;
11436 }
11437
11438
11439 static PyObject *_wrap_StyledTextEvent_SetModificationType(PyObject *self, PyObject *args, PyObject *kwargs) {
11440 PyObject *resultobj;
11441 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
11442 int arg2 ;
11443 PyObject * obj0 = 0 ;
11444 PyObject * obj1 = 0 ;
11445 char *kwnames[] = {
11446 (char *) "self",(char *) "t", NULL
11447 };
11448
11449 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetModificationType",kwnames,&obj0,&obj1)) goto fail;
11450 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextEvent,
11451 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11452 arg2 = (int) SWIG_AsInt(obj1);
11453 if (PyErr_Occurred()) SWIG_fail;
11454 {
11455 PyThreadState* __tstate = wxPyBeginAllowThreads();
11456 (arg1)->SetModificationType(arg2);
11457
11458 wxPyEndAllowThreads(__tstate);
11459 if (PyErr_Occurred()) SWIG_fail;
11460 }
11461 Py_INCREF(Py_None); resultobj = Py_None;
11462 return resultobj;
11463 fail:
11464 return NULL;
11465 }
11466
11467
11468 static PyObject *_wrap_StyledTextEvent_SetText(PyObject *self, PyObject *args, PyObject *kwargs) {
11469 PyObject *resultobj;
11470 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
11471 wxString *arg2 = 0 ;
11472 bool temp2 = False ;
11473 PyObject * obj0 = 0 ;
11474 PyObject * obj1 = 0 ;
11475 char *kwnames[] = {
11476 (char *) "self",(char *) "t", NULL
11477 };
11478
11479 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetText",kwnames,&obj0,&obj1)) goto fail;
11480 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextEvent,
11481 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11482 {
11483 arg2 = wxString_in_helper(obj1);
11484 if (arg2 == NULL) SWIG_fail;
11485 temp2 = True;
11486 }
11487 {
11488 PyThreadState* __tstate = wxPyBeginAllowThreads();
11489 (arg1)->SetText((wxString const &)*arg2);
11490
11491 wxPyEndAllowThreads(__tstate);
11492 if (PyErr_Occurred()) SWIG_fail;
11493 }
11494 Py_INCREF(Py_None); resultobj = Py_None;
11495 {
11496 if (temp2)
11497 delete arg2;
11498 }
11499 return resultobj;
11500 fail:
11501 {
11502 if (temp2)
11503 delete arg2;
11504 }
11505 return NULL;
11506 }
11507
11508
11509 static PyObject *_wrap_StyledTextEvent_SetLength(PyObject *self, PyObject *args, PyObject *kwargs) {
11510 PyObject *resultobj;
11511 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
11512 int arg2 ;
11513 PyObject * obj0 = 0 ;
11514 PyObject * obj1 = 0 ;
11515 char *kwnames[] = {
11516 (char *) "self",(char *) "len", NULL
11517 };
11518
11519 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetLength",kwnames,&obj0,&obj1)) goto fail;
11520 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextEvent,
11521 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11522 arg2 = (int) SWIG_AsInt(obj1);
11523 if (PyErr_Occurred()) SWIG_fail;
11524 {
11525 PyThreadState* __tstate = wxPyBeginAllowThreads();
11526 (arg1)->SetLength(arg2);
11527
11528 wxPyEndAllowThreads(__tstate);
11529 if (PyErr_Occurred()) SWIG_fail;
11530 }
11531 Py_INCREF(Py_None); resultobj = Py_None;
11532 return resultobj;
11533 fail:
11534 return NULL;
11535 }
11536
11537
11538 static PyObject *_wrap_StyledTextEvent_SetLinesAdded(PyObject *self, PyObject *args, PyObject *kwargs) {
11539 PyObject *resultobj;
11540 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
11541 int arg2 ;
11542 PyObject * obj0 = 0 ;
11543 PyObject * obj1 = 0 ;
11544 char *kwnames[] = {
11545 (char *) "self",(char *) "num", NULL
11546 };
11547
11548 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetLinesAdded",kwnames,&obj0,&obj1)) goto fail;
11549 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextEvent,
11550 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11551 arg2 = (int) SWIG_AsInt(obj1);
11552 if (PyErr_Occurred()) SWIG_fail;
11553 {
11554 PyThreadState* __tstate = wxPyBeginAllowThreads();
11555 (arg1)->SetLinesAdded(arg2);
11556
11557 wxPyEndAllowThreads(__tstate);
11558 if (PyErr_Occurred()) SWIG_fail;
11559 }
11560 Py_INCREF(Py_None); resultobj = Py_None;
11561 return resultobj;
11562 fail:
11563 return NULL;
11564 }
11565
11566
11567 static PyObject *_wrap_StyledTextEvent_SetLine(PyObject *self, PyObject *args, PyObject *kwargs) {
11568 PyObject *resultobj;
11569 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
11570 int arg2 ;
11571 PyObject * obj0 = 0 ;
11572 PyObject * obj1 = 0 ;
11573 char *kwnames[] = {
11574 (char *) "self",(char *) "val", NULL
11575 };
11576
11577 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetLine",kwnames,&obj0,&obj1)) goto fail;
11578 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextEvent,
11579 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11580 arg2 = (int) SWIG_AsInt(obj1);
11581 if (PyErr_Occurred()) SWIG_fail;
11582 {
11583 PyThreadState* __tstate = wxPyBeginAllowThreads();
11584 (arg1)->SetLine(arg2);
11585
11586 wxPyEndAllowThreads(__tstate);
11587 if (PyErr_Occurred()) SWIG_fail;
11588 }
11589 Py_INCREF(Py_None); resultobj = Py_None;
11590 return resultobj;
11591 fail:
11592 return NULL;
11593 }
11594
11595
11596 static PyObject *_wrap_StyledTextEvent_SetFoldLevelNow(PyObject *self, PyObject *args, PyObject *kwargs) {
11597 PyObject *resultobj;
11598 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
11599 int arg2 ;
11600 PyObject * obj0 = 0 ;
11601 PyObject * obj1 = 0 ;
11602 char *kwnames[] = {
11603 (char *) "self",(char *) "val", NULL
11604 };
11605
11606 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetFoldLevelNow",kwnames,&obj0,&obj1)) goto fail;
11607 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextEvent,
11608 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11609 arg2 = (int) SWIG_AsInt(obj1);
11610 if (PyErr_Occurred()) SWIG_fail;
11611 {
11612 PyThreadState* __tstate = wxPyBeginAllowThreads();
11613 (arg1)->SetFoldLevelNow(arg2);
11614
11615 wxPyEndAllowThreads(__tstate);
11616 if (PyErr_Occurred()) SWIG_fail;
11617 }
11618 Py_INCREF(Py_None); resultobj = Py_None;
11619 return resultobj;
11620 fail:
11621 return NULL;
11622 }
11623
11624
11625 static PyObject *_wrap_StyledTextEvent_SetFoldLevelPrev(PyObject *self, PyObject *args, PyObject *kwargs) {
11626 PyObject *resultobj;
11627 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
11628 int arg2 ;
11629 PyObject * obj0 = 0 ;
11630 PyObject * obj1 = 0 ;
11631 char *kwnames[] = {
11632 (char *) "self",(char *) "val", NULL
11633 };
11634
11635 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetFoldLevelPrev",kwnames,&obj0,&obj1)) goto fail;
11636 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextEvent,
11637 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11638 arg2 = (int) SWIG_AsInt(obj1);
11639 if (PyErr_Occurred()) SWIG_fail;
11640 {
11641 PyThreadState* __tstate = wxPyBeginAllowThreads();
11642 (arg1)->SetFoldLevelPrev(arg2);
11643
11644 wxPyEndAllowThreads(__tstate);
11645 if (PyErr_Occurred()) SWIG_fail;
11646 }
11647 Py_INCREF(Py_None); resultobj = Py_None;
11648 return resultobj;
11649 fail:
11650 return NULL;
11651 }
11652
11653
11654 static PyObject *_wrap_StyledTextEvent_SetMargin(PyObject *self, PyObject *args, PyObject *kwargs) {
11655 PyObject *resultobj;
11656 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
11657 int arg2 ;
11658 PyObject * obj0 = 0 ;
11659 PyObject * obj1 = 0 ;
11660 char *kwnames[] = {
11661 (char *) "self",(char *) "val", NULL
11662 };
11663
11664 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetMargin",kwnames,&obj0,&obj1)) goto fail;
11665 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextEvent,
11666 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11667 arg2 = (int) SWIG_AsInt(obj1);
11668 if (PyErr_Occurred()) SWIG_fail;
11669 {
11670 PyThreadState* __tstate = wxPyBeginAllowThreads();
11671 (arg1)->SetMargin(arg2);
11672
11673 wxPyEndAllowThreads(__tstate);
11674 if (PyErr_Occurred()) SWIG_fail;
11675 }
11676 Py_INCREF(Py_None); resultobj = Py_None;
11677 return resultobj;
11678 fail:
11679 return NULL;
11680 }
11681
11682
11683 static PyObject *_wrap_StyledTextEvent_SetMessage(PyObject *self, PyObject *args, PyObject *kwargs) {
11684 PyObject *resultobj;
11685 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
11686 int arg2 ;
11687 PyObject * obj0 = 0 ;
11688 PyObject * obj1 = 0 ;
11689 char *kwnames[] = {
11690 (char *) "self",(char *) "val", NULL
11691 };
11692
11693 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetMessage",kwnames,&obj0,&obj1)) goto fail;
11694 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextEvent,
11695 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11696 arg2 = (int) SWIG_AsInt(obj1);
11697 if (PyErr_Occurred()) SWIG_fail;
11698 {
11699 PyThreadState* __tstate = wxPyBeginAllowThreads();
11700 (arg1)->SetMessage(arg2);
11701
11702 wxPyEndAllowThreads(__tstate);
11703 if (PyErr_Occurred()) SWIG_fail;
11704 }
11705 Py_INCREF(Py_None); resultobj = Py_None;
11706 return resultobj;
11707 fail:
11708 return NULL;
11709 }
11710
11711
11712 static PyObject *_wrap_StyledTextEvent_SetWParam(PyObject *self, PyObject *args, PyObject *kwargs) {
11713 PyObject *resultobj;
11714 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
11715 int arg2 ;
11716 PyObject * obj0 = 0 ;
11717 PyObject * obj1 = 0 ;
11718 char *kwnames[] = {
11719 (char *) "self",(char *) "val", NULL
11720 };
11721
11722 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetWParam",kwnames,&obj0,&obj1)) goto fail;
11723 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextEvent,
11724 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11725 arg2 = (int) SWIG_AsInt(obj1);
11726 if (PyErr_Occurred()) SWIG_fail;
11727 {
11728 PyThreadState* __tstate = wxPyBeginAllowThreads();
11729 (arg1)->SetWParam(arg2);
11730
11731 wxPyEndAllowThreads(__tstate);
11732 if (PyErr_Occurred()) SWIG_fail;
11733 }
11734 Py_INCREF(Py_None); resultobj = Py_None;
11735 return resultobj;
11736 fail:
11737 return NULL;
11738 }
11739
11740
11741 static PyObject *_wrap_StyledTextEvent_SetLParam(PyObject *self, PyObject *args, PyObject *kwargs) {
11742 PyObject *resultobj;
11743 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
11744 int arg2 ;
11745 PyObject * obj0 = 0 ;
11746 PyObject * obj1 = 0 ;
11747 char *kwnames[] = {
11748 (char *) "self",(char *) "val", NULL
11749 };
11750
11751 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetLParam",kwnames,&obj0,&obj1)) goto fail;
11752 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextEvent,
11753 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11754 arg2 = (int) SWIG_AsInt(obj1);
11755 if (PyErr_Occurred()) SWIG_fail;
11756 {
11757 PyThreadState* __tstate = wxPyBeginAllowThreads();
11758 (arg1)->SetLParam(arg2);
11759
11760 wxPyEndAllowThreads(__tstate);
11761 if (PyErr_Occurred()) SWIG_fail;
11762 }
11763 Py_INCREF(Py_None); resultobj = Py_None;
11764 return resultobj;
11765 fail:
11766 return NULL;
11767 }
11768
11769
11770 static PyObject *_wrap_StyledTextEvent_SetListType(PyObject *self, PyObject *args, PyObject *kwargs) {
11771 PyObject *resultobj;
11772 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
11773 int arg2 ;
11774 PyObject * obj0 = 0 ;
11775 PyObject * obj1 = 0 ;
11776 char *kwnames[] = {
11777 (char *) "self",(char *) "val", NULL
11778 };
11779
11780 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetListType",kwnames,&obj0,&obj1)) goto fail;
11781 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextEvent,
11782 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11783 arg2 = (int) SWIG_AsInt(obj1);
11784 if (PyErr_Occurred()) SWIG_fail;
11785 {
11786 PyThreadState* __tstate = wxPyBeginAllowThreads();
11787 (arg1)->SetListType(arg2);
11788
11789 wxPyEndAllowThreads(__tstate);
11790 if (PyErr_Occurred()) SWIG_fail;
11791 }
11792 Py_INCREF(Py_None); resultobj = Py_None;
11793 return resultobj;
11794 fail:
11795 return NULL;
11796 }
11797
11798
11799 static PyObject *_wrap_StyledTextEvent_SetX(PyObject *self, PyObject *args, PyObject *kwargs) {
11800 PyObject *resultobj;
11801 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
11802 int arg2 ;
11803 PyObject * obj0 = 0 ;
11804 PyObject * obj1 = 0 ;
11805 char *kwnames[] = {
11806 (char *) "self",(char *) "val", NULL
11807 };
11808
11809 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetX",kwnames,&obj0,&obj1)) goto fail;
11810 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextEvent,
11811 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11812 arg2 = (int) SWIG_AsInt(obj1);
11813 if (PyErr_Occurred()) SWIG_fail;
11814 {
11815 PyThreadState* __tstate = wxPyBeginAllowThreads();
11816 (arg1)->SetX(arg2);
11817
11818 wxPyEndAllowThreads(__tstate);
11819 if (PyErr_Occurred()) SWIG_fail;
11820 }
11821 Py_INCREF(Py_None); resultobj = Py_None;
11822 return resultobj;
11823 fail:
11824 return NULL;
11825 }
11826
11827
11828 static PyObject *_wrap_StyledTextEvent_SetY(PyObject *self, PyObject *args, PyObject *kwargs) {
11829 PyObject *resultobj;
11830 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
11831 int arg2 ;
11832 PyObject * obj0 = 0 ;
11833 PyObject * obj1 = 0 ;
11834 char *kwnames[] = {
11835 (char *) "self",(char *) "val", NULL
11836 };
11837
11838 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetY",kwnames,&obj0,&obj1)) goto fail;
11839 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextEvent,
11840 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11841 arg2 = (int) SWIG_AsInt(obj1);
11842 if (PyErr_Occurred()) SWIG_fail;
11843 {
11844 PyThreadState* __tstate = wxPyBeginAllowThreads();
11845 (arg1)->SetY(arg2);
11846
11847 wxPyEndAllowThreads(__tstate);
11848 if (PyErr_Occurred()) SWIG_fail;
11849 }
11850 Py_INCREF(Py_None); resultobj = Py_None;
11851 return resultobj;
11852 fail:
11853 return NULL;
11854 }
11855
11856
11857 static PyObject *_wrap_StyledTextEvent_SetDragText(PyObject *self, PyObject *args, PyObject *kwargs) {
11858 PyObject *resultobj;
11859 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
11860 wxString *arg2 = 0 ;
11861 bool temp2 = False ;
11862 PyObject * obj0 = 0 ;
11863 PyObject * obj1 = 0 ;
11864 char *kwnames[] = {
11865 (char *) "self",(char *) "val", NULL
11866 };
11867
11868 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetDragText",kwnames,&obj0,&obj1)) goto fail;
11869 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextEvent,
11870 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11871 {
11872 arg2 = wxString_in_helper(obj1);
11873 if (arg2 == NULL) SWIG_fail;
11874 temp2 = True;
11875 }
11876 {
11877 PyThreadState* __tstate = wxPyBeginAllowThreads();
11878 (arg1)->SetDragText((wxString const &)*arg2);
11879
11880 wxPyEndAllowThreads(__tstate);
11881 if (PyErr_Occurred()) SWIG_fail;
11882 }
11883 Py_INCREF(Py_None); resultobj = Py_None;
11884 {
11885 if (temp2)
11886 delete arg2;
11887 }
11888 return resultobj;
11889 fail:
11890 {
11891 if (temp2)
11892 delete arg2;
11893 }
11894 return NULL;
11895 }
11896
11897
11898 static PyObject *_wrap_StyledTextEvent_SetDragAllowMove(PyObject *self, PyObject *args, PyObject *kwargs) {
11899 PyObject *resultobj;
11900 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
11901 bool arg2 ;
11902 PyObject * obj0 = 0 ;
11903 PyObject * obj1 = 0 ;
11904 char *kwnames[] = {
11905 (char *) "self",(char *) "val", NULL
11906 };
11907
11908 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetDragAllowMove",kwnames,&obj0,&obj1)) goto fail;
11909 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextEvent,
11910 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11911 arg2 = (bool) SWIG_AsBool(obj1);
11912 if (PyErr_Occurred()) SWIG_fail;
11913 {
11914 PyThreadState* __tstate = wxPyBeginAllowThreads();
11915 (arg1)->SetDragAllowMove(arg2);
11916
11917 wxPyEndAllowThreads(__tstate);
11918 if (PyErr_Occurred()) SWIG_fail;
11919 }
11920 Py_INCREF(Py_None); resultobj = Py_None;
11921 return resultobj;
11922 fail:
11923 return NULL;
11924 }
11925
11926
11927 static PyObject *_wrap_StyledTextEvent_SetDragResult(PyObject *self, PyObject *args, PyObject *kwargs) {
11928 PyObject *resultobj;
11929 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
11930 int arg2 ;
11931 PyObject * obj0 = 0 ;
11932 PyObject * obj1 = 0 ;
11933 char *kwnames[] = {
11934 (char *) "self",(char *) "val", NULL
11935 };
11936
11937 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StyledTextEvent_SetDragResult",kwnames,&obj0,&obj1)) goto fail;
11938 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextEvent,
11939 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11940 arg2 = (wxDragResult) SWIG_AsInt(obj1);
11941 if (PyErr_Occurred()) SWIG_fail;
11942 {
11943 PyThreadState* __tstate = wxPyBeginAllowThreads();
11944 (arg1)->SetDragResult((wxDragResult )arg2);
11945
11946 wxPyEndAllowThreads(__tstate);
11947 if (PyErr_Occurred()) SWIG_fail;
11948 }
11949 Py_INCREF(Py_None); resultobj = Py_None;
11950 return resultobj;
11951 fail:
11952 return NULL;
11953 }
11954
11955
11956 static PyObject *_wrap_StyledTextEvent_GetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
11957 PyObject *resultobj;
11958 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
11959 int result;
11960 PyObject * obj0 = 0 ;
11961 char *kwnames[] = {
11962 (char *) "self", NULL
11963 };
11964
11965 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetPosition",kwnames,&obj0)) goto fail;
11966 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextEvent,
11967 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11968 {
11969 PyThreadState* __tstate = wxPyBeginAllowThreads();
11970 result = (int)((wxStyledTextEvent const *)arg1)->GetPosition();
11971
11972 wxPyEndAllowThreads(__tstate);
11973 if (PyErr_Occurred()) SWIG_fail;
11974 }
11975 resultobj = SWIG_FromInt((int)result);
11976 return resultobj;
11977 fail:
11978 return NULL;
11979 }
11980
11981
11982 static PyObject *_wrap_StyledTextEvent_GetKey(PyObject *self, PyObject *args, PyObject *kwargs) {
11983 PyObject *resultobj;
11984 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
11985 int result;
11986 PyObject * obj0 = 0 ;
11987 char *kwnames[] = {
11988 (char *) "self", NULL
11989 };
11990
11991 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetKey",kwnames,&obj0)) goto fail;
11992 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextEvent,
11993 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11994 {
11995 PyThreadState* __tstate = wxPyBeginAllowThreads();
11996 result = (int)((wxStyledTextEvent const *)arg1)->GetKey();
11997
11998 wxPyEndAllowThreads(__tstate);
11999 if (PyErr_Occurred()) SWIG_fail;
12000 }
12001 resultobj = SWIG_FromInt((int)result);
12002 return resultobj;
12003 fail:
12004 return NULL;
12005 }
12006
12007
12008 static PyObject *_wrap_StyledTextEvent_GetModifiers(PyObject *self, PyObject *args, PyObject *kwargs) {
12009 PyObject *resultobj;
12010 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
12011 int result;
12012 PyObject * obj0 = 0 ;
12013 char *kwnames[] = {
12014 (char *) "self", NULL
12015 };
12016
12017 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetModifiers",kwnames,&obj0)) goto fail;
12018 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextEvent,
12019 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12020 {
12021 PyThreadState* __tstate = wxPyBeginAllowThreads();
12022 result = (int)((wxStyledTextEvent const *)arg1)->GetModifiers();
12023
12024 wxPyEndAllowThreads(__tstate);
12025 if (PyErr_Occurred()) SWIG_fail;
12026 }
12027 resultobj = SWIG_FromInt((int)result);
12028 return resultobj;
12029 fail:
12030 return NULL;
12031 }
12032
12033
12034 static PyObject *_wrap_StyledTextEvent_GetModificationType(PyObject *self, PyObject *args, PyObject *kwargs) {
12035 PyObject *resultobj;
12036 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
12037 int result;
12038 PyObject * obj0 = 0 ;
12039 char *kwnames[] = {
12040 (char *) "self", NULL
12041 };
12042
12043 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetModificationType",kwnames,&obj0)) goto fail;
12044 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextEvent,
12045 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12046 {
12047 PyThreadState* __tstate = wxPyBeginAllowThreads();
12048 result = (int)((wxStyledTextEvent const *)arg1)->GetModificationType();
12049
12050 wxPyEndAllowThreads(__tstate);
12051 if (PyErr_Occurred()) SWIG_fail;
12052 }
12053 resultobj = SWIG_FromInt((int)result);
12054 return resultobj;
12055 fail:
12056 return NULL;
12057 }
12058
12059
12060 static PyObject *_wrap_StyledTextEvent_GetText(PyObject *self, PyObject *args, PyObject *kwargs) {
12061 PyObject *resultobj;
12062 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
12063 wxString result;
12064 PyObject * obj0 = 0 ;
12065 char *kwnames[] = {
12066 (char *) "self", NULL
12067 };
12068
12069 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetText",kwnames,&obj0)) goto fail;
12070 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextEvent,
12071 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12072 {
12073 PyThreadState* __tstate = wxPyBeginAllowThreads();
12074 result = ((wxStyledTextEvent const *)arg1)->GetText();
12075
12076 wxPyEndAllowThreads(__tstate);
12077 if (PyErr_Occurred()) SWIG_fail;
12078 }
12079 {
12080 #if wxUSE_UNICODE
12081 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
12082 #else
12083 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
12084 #endif
12085 }
12086 return resultobj;
12087 fail:
12088 return NULL;
12089 }
12090
12091
12092 static PyObject *_wrap_StyledTextEvent_GetLength(PyObject *self, PyObject *args, PyObject *kwargs) {
12093 PyObject *resultobj;
12094 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
12095 int result;
12096 PyObject * obj0 = 0 ;
12097 char *kwnames[] = {
12098 (char *) "self", NULL
12099 };
12100
12101 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetLength",kwnames,&obj0)) goto fail;
12102 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextEvent,
12103 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12104 {
12105 PyThreadState* __tstate = wxPyBeginAllowThreads();
12106 result = (int)((wxStyledTextEvent const *)arg1)->GetLength();
12107
12108 wxPyEndAllowThreads(__tstate);
12109 if (PyErr_Occurred()) SWIG_fail;
12110 }
12111 resultobj = SWIG_FromInt((int)result);
12112 return resultobj;
12113 fail:
12114 return NULL;
12115 }
12116
12117
12118 static PyObject *_wrap_StyledTextEvent_GetLinesAdded(PyObject *self, PyObject *args, PyObject *kwargs) {
12119 PyObject *resultobj;
12120 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
12121 int result;
12122 PyObject * obj0 = 0 ;
12123 char *kwnames[] = {
12124 (char *) "self", NULL
12125 };
12126
12127 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetLinesAdded",kwnames,&obj0)) goto fail;
12128 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextEvent,
12129 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12130 {
12131 PyThreadState* __tstate = wxPyBeginAllowThreads();
12132 result = (int)((wxStyledTextEvent const *)arg1)->GetLinesAdded();
12133
12134 wxPyEndAllowThreads(__tstate);
12135 if (PyErr_Occurred()) SWIG_fail;
12136 }
12137 resultobj = SWIG_FromInt((int)result);
12138 return resultobj;
12139 fail:
12140 return NULL;
12141 }
12142
12143
12144 static PyObject *_wrap_StyledTextEvent_GetLine(PyObject *self, PyObject *args, PyObject *kwargs) {
12145 PyObject *resultobj;
12146 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
12147 int result;
12148 PyObject * obj0 = 0 ;
12149 char *kwnames[] = {
12150 (char *) "self", NULL
12151 };
12152
12153 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetLine",kwnames,&obj0)) goto fail;
12154 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextEvent,
12155 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12156 {
12157 PyThreadState* __tstate = wxPyBeginAllowThreads();
12158 result = (int)((wxStyledTextEvent const *)arg1)->GetLine();
12159
12160 wxPyEndAllowThreads(__tstate);
12161 if (PyErr_Occurred()) SWIG_fail;
12162 }
12163 resultobj = SWIG_FromInt((int)result);
12164 return resultobj;
12165 fail:
12166 return NULL;
12167 }
12168
12169
12170 static PyObject *_wrap_StyledTextEvent_GetFoldLevelNow(PyObject *self, PyObject *args, PyObject *kwargs) {
12171 PyObject *resultobj;
12172 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
12173 int result;
12174 PyObject * obj0 = 0 ;
12175 char *kwnames[] = {
12176 (char *) "self", NULL
12177 };
12178
12179 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetFoldLevelNow",kwnames,&obj0)) goto fail;
12180 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextEvent,
12181 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12182 {
12183 PyThreadState* __tstate = wxPyBeginAllowThreads();
12184 result = (int)((wxStyledTextEvent const *)arg1)->GetFoldLevelNow();
12185
12186 wxPyEndAllowThreads(__tstate);
12187 if (PyErr_Occurred()) SWIG_fail;
12188 }
12189 resultobj = SWIG_FromInt((int)result);
12190 return resultobj;
12191 fail:
12192 return NULL;
12193 }
12194
12195
12196 static PyObject *_wrap_StyledTextEvent_GetFoldLevelPrev(PyObject *self, PyObject *args, PyObject *kwargs) {
12197 PyObject *resultobj;
12198 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
12199 int result;
12200 PyObject * obj0 = 0 ;
12201 char *kwnames[] = {
12202 (char *) "self", NULL
12203 };
12204
12205 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetFoldLevelPrev",kwnames,&obj0)) goto fail;
12206 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextEvent,
12207 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12208 {
12209 PyThreadState* __tstate = wxPyBeginAllowThreads();
12210 result = (int)((wxStyledTextEvent const *)arg1)->GetFoldLevelPrev();
12211
12212 wxPyEndAllowThreads(__tstate);
12213 if (PyErr_Occurred()) SWIG_fail;
12214 }
12215 resultobj = SWIG_FromInt((int)result);
12216 return resultobj;
12217 fail:
12218 return NULL;
12219 }
12220
12221
12222 static PyObject *_wrap_StyledTextEvent_GetMargin(PyObject *self, PyObject *args, PyObject *kwargs) {
12223 PyObject *resultobj;
12224 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
12225 int result;
12226 PyObject * obj0 = 0 ;
12227 char *kwnames[] = {
12228 (char *) "self", NULL
12229 };
12230
12231 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetMargin",kwnames,&obj0)) goto fail;
12232 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextEvent,
12233 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12234 {
12235 PyThreadState* __tstate = wxPyBeginAllowThreads();
12236 result = (int)((wxStyledTextEvent const *)arg1)->GetMargin();
12237
12238 wxPyEndAllowThreads(__tstate);
12239 if (PyErr_Occurred()) SWIG_fail;
12240 }
12241 resultobj = SWIG_FromInt((int)result);
12242 return resultobj;
12243 fail:
12244 return NULL;
12245 }
12246
12247
12248 static PyObject *_wrap_StyledTextEvent_GetMessage(PyObject *self, PyObject *args, PyObject *kwargs) {
12249 PyObject *resultobj;
12250 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
12251 int result;
12252 PyObject * obj0 = 0 ;
12253 char *kwnames[] = {
12254 (char *) "self", NULL
12255 };
12256
12257 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetMessage",kwnames,&obj0)) goto fail;
12258 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextEvent,
12259 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12260 {
12261 PyThreadState* __tstate = wxPyBeginAllowThreads();
12262 result = (int)((wxStyledTextEvent const *)arg1)->GetMessage();
12263
12264 wxPyEndAllowThreads(__tstate);
12265 if (PyErr_Occurred()) SWIG_fail;
12266 }
12267 resultobj = SWIG_FromInt((int)result);
12268 return resultobj;
12269 fail:
12270 return NULL;
12271 }
12272
12273
12274 static PyObject *_wrap_StyledTextEvent_GetWParam(PyObject *self, PyObject *args, PyObject *kwargs) {
12275 PyObject *resultobj;
12276 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
12277 int result;
12278 PyObject * obj0 = 0 ;
12279 char *kwnames[] = {
12280 (char *) "self", NULL
12281 };
12282
12283 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetWParam",kwnames,&obj0)) goto fail;
12284 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextEvent,
12285 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12286 {
12287 PyThreadState* __tstate = wxPyBeginAllowThreads();
12288 result = (int)((wxStyledTextEvent const *)arg1)->GetWParam();
12289
12290 wxPyEndAllowThreads(__tstate);
12291 if (PyErr_Occurred()) SWIG_fail;
12292 }
12293 resultobj = SWIG_FromInt((int)result);
12294 return resultobj;
12295 fail:
12296 return NULL;
12297 }
12298
12299
12300 static PyObject *_wrap_StyledTextEvent_GetLParam(PyObject *self, PyObject *args, PyObject *kwargs) {
12301 PyObject *resultobj;
12302 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
12303 int result;
12304 PyObject * obj0 = 0 ;
12305 char *kwnames[] = {
12306 (char *) "self", NULL
12307 };
12308
12309 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetLParam",kwnames,&obj0)) goto fail;
12310 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextEvent,
12311 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12312 {
12313 PyThreadState* __tstate = wxPyBeginAllowThreads();
12314 result = (int)((wxStyledTextEvent const *)arg1)->GetLParam();
12315
12316 wxPyEndAllowThreads(__tstate);
12317 if (PyErr_Occurred()) SWIG_fail;
12318 }
12319 resultobj = SWIG_FromInt((int)result);
12320 return resultobj;
12321 fail:
12322 return NULL;
12323 }
12324
12325
12326 static PyObject *_wrap_StyledTextEvent_GetListType(PyObject *self, PyObject *args, PyObject *kwargs) {
12327 PyObject *resultobj;
12328 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
12329 int result;
12330 PyObject * obj0 = 0 ;
12331 char *kwnames[] = {
12332 (char *) "self", NULL
12333 };
12334
12335 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetListType",kwnames,&obj0)) goto fail;
12336 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextEvent,
12337 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12338 {
12339 PyThreadState* __tstate = wxPyBeginAllowThreads();
12340 result = (int)((wxStyledTextEvent const *)arg1)->GetListType();
12341
12342 wxPyEndAllowThreads(__tstate);
12343 if (PyErr_Occurred()) SWIG_fail;
12344 }
12345 resultobj = SWIG_FromInt((int)result);
12346 return resultobj;
12347 fail:
12348 return NULL;
12349 }
12350
12351
12352 static PyObject *_wrap_StyledTextEvent_GetX(PyObject *self, PyObject *args, PyObject *kwargs) {
12353 PyObject *resultobj;
12354 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
12355 int result;
12356 PyObject * obj0 = 0 ;
12357 char *kwnames[] = {
12358 (char *) "self", NULL
12359 };
12360
12361 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetX",kwnames,&obj0)) goto fail;
12362 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextEvent,
12363 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12364 {
12365 PyThreadState* __tstate = wxPyBeginAllowThreads();
12366 result = (int)((wxStyledTextEvent const *)arg1)->GetX();
12367
12368 wxPyEndAllowThreads(__tstate);
12369 if (PyErr_Occurred()) SWIG_fail;
12370 }
12371 resultobj = SWIG_FromInt((int)result);
12372 return resultobj;
12373 fail:
12374 return NULL;
12375 }
12376
12377
12378 static PyObject *_wrap_StyledTextEvent_GetY(PyObject *self, PyObject *args, PyObject *kwargs) {
12379 PyObject *resultobj;
12380 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
12381 int result;
12382 PyObject * obj0 = 0 ;
12383 char *kwnames[] = {
12384 (char *) "self", NULL
12385 };
12386
12387 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetY",kwnames,&obj0)) goto fail;
12388 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextEvent,
12389 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12390 {
12391 PyThreadState* __tstate = wxPyBeginAllowThreads();
12392 result = (int)((wxStyledTextEvent const *)arg1)->GetY();
12393
12394 wxPyEndAllowThreads(__tstate);
12395 if (PyErr_Occurred()) SWIG_fail;
12396 }
12397 resultobj = SWIG_FromInt((int)result);
12398 return resultobj;
12399 fail:
12400 return NULL;
12401 }
12402
12403
12404 static PyObject *_wrap_StyledTextEvent_GetDragText(PyObject *self, PyObject *args, PyObject *kwargs) {
12405 PyObject *resultobj;
12406 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
12407 wxString result;
12408 PyObject * obj0 = 0 ;
12409 char *kwnames[] = {
12410 (char *) "self", NULL
12411 };
12412
12413 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetDragText",kwnames,&obj0)) goto fail;
12414 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextEvent,
12415 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12416 {
12417 PyThreadState* __tstate = wxPyBeginAllowThreads();
12418 result = (arg1)->GetDragText();
12419
12420 wxPyEndAllowThreads(__tstate);
12421 if (PyErr_Occurred()) SWIG_fail;
12422 }
12423 {
12424 #if wxUSE_UNICODE
12425 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
12426 #else
12427 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
12428 #endif
12429 }
12430 return resultobj;
12431 fail:
12432 return NULL;
12433 }
12434
12435
12436 static PyObject *_wrap_StyledTextEvent_GetDragAllowMove(PyObject *self, PyObject *args, PyObject *kwargs) {
12437 PyObject *resultobj;
12438 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
12439 bool result;
12440 PyObject * obj0 = 0 ;
12441 char *kwnames[] = {
12442 (char *) "self", NULL
12443 };
12444
12445 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetDragAllowMove",kwnames,&obj0)) goto fail;
12446 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextEvent,
12447 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12448 {
12449 PyThreadState* __tstate = wxPyBeginAllowThreads();
12450 result = (bool)(arg1)->GetDragAllowMove();
12451
12452 wxPyEndAllowThreads(__tstate);
12453 if (PyErr_Occurred()) SWIG_fail;
12454 }
12455 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12456 return resultobj;
12457 fail:
12458 return NULL;
12459 }
12460
12461
12462 static PyObject *_wrap_StyledTextEvent_GetDragResult(PyObject *self, PyObject *args, PyObject *kwargs) {
12463 PyObject *resultobj;
12464 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
12465 int result;
12466 PyObject * obj0 = 0 ;
12467 char *kwnames[] = {
12468 (char *) "self", NULL
12469 };
12470
12471 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetDragResult",kwnames,&obj0)) goto fail;
12472 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextEvent,
12473 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12474 {
12475 PyThreadState* __tstate = wxPyBeginAllowThreads();
12476 result = (int)(arg1)->GetDragResult();
12477
12478 wxPyEndAllowThreads(__tstate);
12479 if (PyErr_Occurred()) SWIG_fail;
12480 }
12481 resultobj = SWIG_FromInt((int)result);
12482 return resultobj;
12483 fail:
12484 return NULL;
12485 }
12486
12487
12488 static PyObject *_wrap_StyledTextEvent_GetShift(PyObject *self, PyObject *args, PyObject *kwargs) {
12489 PyObject *resultobj;
12490 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
12491 bool result;
12492 PyObject * obj0 = 0 ;
12493 char *kwnames[] = {
12494 (char *) "self", NULL
12495 };
12496
12497 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetShift",kwnames,&obj0)) goto fail;
12498 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextEvent,
12499 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12500 {
12501 PyThreadState* __tstate = wxPyBeginAllowThreads();
12502 result = (bool)((wxStyledTextEvent const *)arg1)->GetShift();
12503
12504 wxPyEndAllowThreads(__tstate);
12505 if (PyErr_Occurred()) SWIG_fail;
12506 }
12507 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12508 return resultobj;
12509 fail:
12510 return NULL;
12511 }
12512
12513
12514 static PyObject *_wrap_StyledTextEvent_GetControl(PyObject *self, PyObject *args, PyObject *kwargs) {
12515 PyObject *resultobj;
12516 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
12517 bool result;
12518 PyObject * obj0 = 0 ;
12519 char *kwnames[] = {
12520 (char *) "self", NULL
12521 };
12522
12523 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetControl",kwnames,&obj0)) goto fail;
12524 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextEvent,
12525 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12526 {
12527 PyThreadState* __tstate = wxPyBeginAllowThreads();
12528 result = (bool)((wxStyledTextEvent const *)arg1)->GetControl();
12529
12530 wxPyEndAllowThreads(__tstate);
12531 if (PyErr_Occurred()) SWIG_fail;
12532 }
12533 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12534 return resultobj;
12535 fail:
12536 return NULL;
12537 }
12538
12539
12540 static PyObject *_wrap_StyledTextEvent_GetAlt(PyObject *self, PyObject *args, PyObject *kwargs) {
12541 PyObject *resultobj;
12542 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
12543 bool result;
12544 PyObject * obj0 = 0 ;
12545 char *kwnames[] = {
12546 (char *) "self", NULL
12547 };
12548
12549 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_GetAlt",kwnames,&obj0)) goto fail;
12550 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextEvent,
12551 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12552 {
12553 PyThreadState* __tstate = wxPyBeginAllowThreads();
12554 result = (bool)((wxStyledTextEvent const *)arg1)->GetAlt();
12555
12556 wxPyEndAllowThreads(__tstate);
12557 if (PyErr_Occurred()) SWIG_fail;
12558 }
12559 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12560 return resultobj;
12561 fail:
12562 return NULL;
12563 }
12564
12565
12566 static PyObject *_wrap_StyledTextEvent_Clone(PyObject *self, PyObject *args, PyObject *kwargs) {
12567 PyObject *resultobj;
12568 wxStyledTextEvent *arg1 = (wxStyledTextEvent *) 0 ;
12569 wxEvent *result;
12570 PyObject * obj0 = 0 ;
12571 char *kwnames[] = {
12572 (char *) "self", NULL
12573 };
12574
12575 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StyledTextEvent_Clone",kwnames,&obj0)) goto fail;
12576 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStyledTextEvent,
12577 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12578 {
12579 PyThreadState* __tstate = wxPyBeginAllowThreads();
12580 result = (wxEvent *)((wxStyledTextEvent const *)arg1)->Clone();
12581
12582 wxPyEndAllowThreads(__tstate);
12583 if (PyErr_Occurred()) SWIG_fail;
12584 }
12585 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxEvent, 0);
12586 return resultobj;
12587 fail:
12588 return NULL;
12589 }
12590
12591
12592 static PyObject * StyledTextEvent_swigregister(PyObject *self, PyObject *args) {
12593 PyObject *obj;
12594 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12595 SWIG_TypeClientData(SWIGTYPE_p_wxStyledTextEvent, obj);
12596 Py_INCREF(obj);
12597 return Py_BuildValue((char *)"");
12598 }
12599 static PyMethodDef SwigMethods[] = {
12600 { (char *)"new_StyledTextCtrl", (PyCFunction) _wrap_new_StyledTextCtrl, METH_VARARGS | METH_KEYWORDS },
12601 { (char *)"new_PreStyledTextCtrl", (PyCFunction) _wrap_new_PreStyledTextCtrl, METH_VARARGS | METH_KEYWORDS },
12602 { (char *)"StyledTextCtrl_Create", (PyCFunction) _wrap_StyledTextCtrl_Create, METH_VARARGS | METH_KEYWORDS },
12603 { (char *)"StyledTextCtrl_AddText", (PyCFunction) _wrap_StyledTextCtrl_AddText, METH_VARARGS | METH_KEYWORDS },
12604 { (char *)"StyledTextCtrl_AddStyledText", (PyCFunction) _wrap_StyledTextCtrl_AddStyledText, METH_VARARGS | METH_KEYWORDS },
12605 { (char *)"StyledTextCtrl_InsertText", (PyCFunction) _wrap_StyledTextCtrl_InsertText, METH_VARARGS | METH_KEYWORDS },
12606 { (char *)"StyledTextCtrl_ClearAll", (PyCFunction) _wrap_StyledTextCtrl_ClearAll, METH_VARARGS | METH_KEYWORDS },
12607 { (char *)"StyledTextCtrl_ClearDocumentStyle", (PyCFunction) _wrap_StyledTextCtrl_ClearDocumentStyle, METH_VARARGS | METH_KEYWORDS },
12608 { (char *)"StyledTextCtrl_GetLength", (PyCFunction) _wrap_StyledTextCtrl_GetLength, METH_VARARGS | METH_KEYWORDS },
12609 { (char *)"StyledTextCtrl_GetCharAt", (PyCFunction) _wrap_StyledTextCtrl_GetCharAt, METH_VARARGS | METH_KEYWORDS },
12610 { (char *)"StyledTextCtrl_GetCurrentPos", (PyCFunction) _wrap_StyledTextCtrl_GetCurrentPos, METH_VARARGS | METH_KEYWORDS },
12611 { (char *)"StyledTextCtrl_GetAnchor", (PyCFunction) _wrap_StyledTextCtrl_GetAnchor, METH_VARARGS | METH_KEYWORDS },
12612 { (char *)"StyledTextCtrl_GetStyleAt", (PyCFunction) _wrap_StyledTextCtrl_GetStyleAt, METH_VARARGS | METH_KEYWORDS },
12613 { (char *)"StyledTextCtrl_Redo", (PyCFunction) _wrap_StyledTextCtrl_Redo, METH_VARARGS | METH_KEYWORDS },
12614 { (char *)"StyledTextCtrl_SetUndoCollection", (PyCFunction) _wrap_StyledTextCtrl_SetUndoCollection, METH_VARARGS | METH_KEYWORDS },
12615 { (char *)"StyledTextCtrl_SelectAll", (PyCFunction) _wrap_StyledTextCtrl_SelectAll, METH_VARARGS | METH_KEYWORDS },
12616 { (char *)"StyledTextCtrl_SetSavePoint", (PyCFunction) _wrap_StyledTextCtrl_SetSavePoint, METH_VARARGS | METH_KEYWORDS },
12617 { (char *)"StyledTextCtrl_GetStyledText", (PyCFunction) _wrap_StyledTextCtrl_GetStyledText, METH_VARARGS | METH_KEYWORDS },
12618 { (char *)"StyledTextCtrl_CanRedo", (PyCFunction) _wrap_StyledTextCtrl_CanRedo, METH_VARARGS | METH_KEYWORDS },
12619 { (char *)"StyledTextCtrl_MarkerLineFromHandle", (PyCFunction) _wrap_StyledTextCtrl_MarkerLineFromHandle, METH_VARARGS | METH_KEYWORDS },
12620 { (char *)"StyledTextCtrl_MarkerDeleteHandle", (PyCFunction) _wrap_StyledTextCtrl_MarkerDeleteHandle, METH_VARARGS | METH_KEYWORDS },
12621 { (char *)"StyledTextCtrl_GetUndoCollection", (PyCFunction) _wrap_StyledTextCtrl_GetUndoCollection, METH_VARARGS | METH_KEYWORDS },
12622 { (char *)"StyledTextCtrl_GetViewWhiteSpace", (PyCFunction) _wrap_StyledTextCtrl_GetViewWhiteSpace, METH_VARARGS | METH_KEYWORDS },
12623 { (char *)"StyledTextCtrl_SetViewWhiteSpace", (PyCFunction) _wrap_StyledTextCtrl_SetViewWhiteSpace, METH_VARARGS | METH_KEYWORDS },
12624 { (char *)"StyledTextCtrl_PositionFromPoint", (PyCFunction) _wrap_StyledTextCtrl_PositionFromPoint, METH_VARARGS | METH_KEYWORDS },
12625 { (char *)"StyledTextCtrl_PositionFromPointClose", (PyCFunction) _wrap_StyledTextCtrl_PositionFromPointClose, METH_VARARGS | METH_KEYWORDS },
12626 { (char *)"StyledTextCtrl_GotoLine", (PyCFunction) _wrap_StyledTextCtrl_GotoLine, METH_VARARGS | METH_KEYWORDS },
12627 { (char *)"StyledTextCtrl_GotoPos", (PyCFunction) _wrap_StyledTextCtrl_GotoPos, METH_VARARGS | METH_KEYWORDS },
12628 { (char *)"StyledTextCtrl_SetAnchor", (PyCFunction) _wrap_StyledTextCtrl_SetAnchor, METH_VARARGS | METH_KEYWORDS },
12629 { (char *)"StyledTextCtrl_GetCurLine", (PyCFunction) _wrap_StyledTextCtrl_GetCurLine, METH_VARARGS | METH_KEYWORDS },
12630 { (char *)"StyledTextCtrl_GetEndStyled", (PyCFunction) _wrap_StyledTextCtrl_GetEndStyled, METH_VARARGS | METH_KEYWORDS },
12631 { (char *)"StyledTextCtrl_ConvertEOLs", (PyCFunction) _wrap_StyledTextCtrl_ConvertEOLs, METH_VARARGS | METH_KEYWORDS },
12632 { (char *)"StyledTextCtrl_GetEOLMode", (PyCFunction) _wrap_StyledTextCtrl_GetEOLMode, METH_VARARGS | METH_KEYWORDS },
12633 { (char *)"StyledTextCtrl_SetEOLMode", (PyCFunction) _wrap_StyledTextCtrl_SetEOLMode, METH_VARARGS | METH_KEYWORDS },
12634 { (char *)"StyledTextCtrl_StartStyling", (PyCFunction) _wrap_StyledTextCtrl_StartStyling, METH_VARARGS | METH_KEYWORDS },
12635 { (char *)"StyledTextCtrl_SetStyling", (PyCFunction) _wrap_StyledTextCtrl_SetStyling, METH_VARARGS | METH_KEYWORDS },
12636 { (char *)"StyledTextCtrl_GetBufferedDraw", (PyCFunction) _wrap_StyledTextCtrl_GetBufferedDraw, METH_VARARGS | METH_KEYWORDS },
12637 { (char *)"StyledTextCtrl_SetBufferedDraw", (PyCFunction) _wrap_StyledTextCtrl_SetBufferedDraw, METH_VARARGS | METH_KEYWORDS },
12638 { (char *)"StyledTextCtrl_SetTabWidth", (PyCFunction) _wrap_StyledTextCtrl_SetTabWidth, METH_VARARGS | METH_KEYWORDS },
12639 { (char *)"StyledTextCtrl_GetTabWidth", (PyCFunction) _wrap_StyledTextCtrl_GetTabWidth, METH_VARARGS | METH_KEYWORDS },
12640 { (char *)"StyledTextCtrl_SetCodePage", (PyCFunction) _wrap_StyledTextCtrl_SetCodePage, METH_VARARGS | METH_KEYWORDS },
12641 { (char *)"StyledTextCtrl_MarkerDefine", (PyCFunction) _wrap_StyledTextCtrl_MarkerDefine, METH_VARARGS | METH_KEYWORDS },
12642 { (char *)"StyledTextCtrl_MarkerSetForeground", (PyCFunction) _wrap_StyledTextCtrl_MarkerSetForeground, METH_VARARGS | METH_KEYWORDS },
12643 { (char *)"StyledTextCtrl_MarkerSetBackground", (PyCFunction) _wrap_StyledTextCtrl_MarkerSetBackground, METH_VARARGS | METH_KEYWORDS },
12644 { (char *)"StyledTextCtrl_MarkerAdd", (PyCFunction) _wrap_StyledTextCtrl_MarkerAdd, METH_VARARGS | METH_KEYWORDS },
12645 { (char *)"StyledTextCtrl_MarkerDelete", (PyCFunction) _wrap_StyledTextCtrl_MarkerDelete, METH_VARARGS | METH_KEYWORDS },
12646 { (char *)"StyledTextCtrl_MarkerDeleteAll", (PyCFunction) _wrap_StyledTextCtrl_MarkerDeleteAll, METH_VARARGS | METH_KEYWORDS },
12647 { (char *)"StyledTextCtrl_MarkerGet", (PyCFunction) _wrap_StyledTextCtrl_MarkerGet, METH_VARARGS | METH_KEYWORDS },
12648 { (char *)"StyledTextCtrl_MarkerNext", (PyCFunction) _wrap_StyledTextCtrl_MarkerNext, METH_VARARGS | METH_KEYWORDS },
12649 { (char *)"StyledTextCtrl_MarkerPrevious", (PyCFunction) _wrap_StyledTextCtrl_MarkerPrevious, METH_VARARGS | METH_KEYWORDS },
12650 { (char *)"StyledTextCtrl_MarkerDefineBitmap", (PyCFunction) _wrap_StyledTextCtrl_MarkerDefineBitmap, METH_VARARGS | METH_KEYWORDS },
12651 { (char *)"StyledTextCtrl_SetMarginType", (PyCFunction) _wrap_StyledTextCtrl_SetMarginType, METH_VARARGS | METH_KEYWORDS },
12652 { (char *)"StyledTextCtrl_GetMarginType", (PyCFunction) _wrap_StyledTextCtrl_GetMarginType, METH_VARARGS | METH_KEYWORDS },
12653 { (char *)"StyledTextCtrl_SetMarginWidth", (PyCFunction) _wrap_StyledTextCtrl_SetMarginWidth, METH_VARARGS | METH_KEYWORDS },
12654 { (char *)"StyledTextCtrl_GetMarginWidth", (PyCFunction) _wrap_StyledTextCtrl_GetMarginWidth, METH_VARARGS | METH_KEYWORDS },
12655 { (char *)"StyledTextCtrl_SetMarginMask", (PyCFunction) _wrap_StyledTextCtrl_SetMarginMask, METH_VARARGS | METH_KEYWORDS },
12656 { (char *)"StyledTextCtrl_GetMarginMask", (PyCFunction) _wrap_StyledTextCtrl_GetMarginMask, METH_VARARGS | METH_KEYWORDS },
12657 { (char *)"StyledTextCtrl_SetMarginSensitive", (PyCFunction) _wrap_StyledTextCtrl_SetMarginSensitive, METH_VARARGS | METH_KEYWORDS },
12658 { (char *)"StyledTextCtrl_GetMarginSensitive", (PyCFunction) _wrap_StyledTextCtrl_GetMarginSensitive, METH_VARARGS | METH_KEYWORDS },
12659 { (char *)"StyledTextCtrl_StyleClearAll", (PyCFunction) _wrap_StyledTextCtrl_StyleClearAll, METH_VARARGS | METH_KEYWORDS },
12660 { (char *)"StyledTextCtrl_StyleSetForeground", (PyCFunction) _wrap_StyledTextCtrl_StyleSetForeground, METH_VARARGS | METH_KEYWORDS },
12661 { (char *)"StyledTextCtrl_StyleSetBackground", (PyCFunction) _wrap_StyledTextCtrl_StyleSetBackground, METH_VARARGS | METH_KEYWORDS },
12662 { (char *)"StyledTextCtrl_StyleSetBold", (PyCFunction) _wrap_StyledTextCtrl_StyleSetBold, METH_VARARGS | METH_KEYWORDS },
12663 { (char *)"StyledTextCtrl_StyleSetItalic", (PyCFunction) _wrap_StyledTextCtrl_StyleSetItalic, METH_VARARGS | METH_KEYWORDS },
12664 { (char *)"StyledTextCtrl_StyleSetSize", (PyCFunction) _wrap_StyledTextCtrl_StyleSetSize, METH_VARARGS | METH_KEYWORDS },
12665 { (char *)"StyledTextCtrl_StyleSetFaceName", (PyCFunction) _wrap_StyledTextCtrl_StyleSetFaceName, METH_VARARGS | METH_KEYWORDS },
12666 { (char *)"StyledTextCtrl_StyleSetEOLFilled", (PyCFunction) _wrap_StyledTextCtrl_StyleSetEOLFilled, METH_VARARGS | METH_KEYWORDS },
12667 { (char *)"StyledTextCtrl_StyleResetDefault", (PyCFunction) _wrap_StyledTextCtrl_StyleResetDefault, METH_VARARGS | METH_KEYWORDS },
12668 { (char *)"StyledTextCtrl_StyleSetUnderline", (PyCFunction) _wrap_StyledTextCtrl_StyleSetUnderline, METH_VARARGS | METH_KEYWORDS },
12669 { (char *)"StyledTextCtrl_StyleSetCase", (PyCFunction) _wrap_StyledTextCtrl_StyleSetCase, METH_VARARGS | METH_KEYWORDS },
12670 { (char *)"StyledTextCtrl_StyleSetCharacterSet", (PyCFunction) _wrap_StyledTextCtrl_StyleSetCharacterSet, METH_VARARGS | METH_KEYWORDS },
12671 { (char *)"StyledTextCtrl_StyleSetHotSpot", (PyCFunction) _wrap_StyledTextCtrl_StyleSetHotSpot, METH_VARARGS | METH_KEYWORDS },
12672 { (char *)"StyledTextCtrl_SetSelForeground", (PyCFunction) _wrap_StyledTextCtrl_SetSelForeground, METH_VARARGS | METH_KEYWORDS },
12673 { (char *)"StyledTextCtrl_SetSelBackground", (PyCFunction) _wrap_StyledTextCtrl_SetSelBackground, METH_VARARGS | METH_KEYWORDS },
12674 { (char *)"StyledTextCtrl_SetCaretForeground", (PyCFunction) _wrap_StyledTextCtrl_SetCaretForeground, METH_VARARGS | METH_KEYWORDS },
12675 { (char *)"StyledTextCtrl_CmdKeyAssign", (PyCFunction) _wrap_StyledTextCtrl_CmdKeyAssign, METH_VARARGS | METH_KEYWORDS },
12676 { (char *)"StyledTextCtrl_CmdKeyClear", (PyCFunction) _wrap_StyledTextCtrl_CmdKeyClear, METH_VARARGS | METH_KEYWORDS },
12677 { (char *)"StyledTextCtrl_CmdKeyClearAll", (PyCFunction) _wrap_StyledTextCtrl_CmdKeyClearAll, METH_VARARGS | METH_KEYWORDS },
12678 { (char *)"StyledTextCtrl_SetStyleBytes", (PyCFunction) _wrap_StyledTextCtrl_SetStyleBytes, METH_VARARGS | METH_KEYWORDS },
12679 { (char *)"StyledTextCtrl_StyleSetVisible", (PyCFunction) _wrap_StyledTextCtrl_StyleSetVisible, METH_VARARGS | METH_KEYWORDS },
12680 { (char *)"StyledTextCtrl_GetCaretPeriod", (PyCFunction) _wrap_StyledTextCtrl_GetCaretPeriod, METH_VARARGS | METH_KEYWORDS },
12681 { (char *)"StyledTextCtrl_SetCaretPeriod", (PyCFunction) _wrap_StyledTextCtrl_SetCaretPeriod, METH_VARARGS | METH_KEYWORDS },
12682 { (char *)"StyledTextCtrl_SetWordChars", (PyCFunction) _wrap_StyledTextCtrl_SetWordChars, METH_VARARGS | METH_KEYWORDS },
12683 { (char *)"StyledTextCtrl_BeginUndoAction", (PyCFunction) _wrap_StyledTextCtrl_BeginUndoAction, METH_VARARGS | METH_KEYWORDS },
12684 { (char *)"StyledTextCtrl_EndUndoAction", (PyCFunction) _wrap_StyledTextCtrl_EndUndoAction, METH_VARARGS | METH_KEYWORDS },
12685 { (char *)"StyledTextCtrl_IndicatorSetStyle", (PyCFunction) _wrap_StyledTextCtrl_IndicatorSetStyle, METH_VARARGS | METH_KEYWORDS },
12686 { (char *)"StyledTextCtrl_IndicatorGetStyle", (PyCFunction) _wrap_StyledTextCtrl_IndicatorGetStyle, METH_VARARGS | METH_KEYWORDS },
12687 { (char *)"StyledTextCtrl_IndicatorSetForeground", (PyCFunction) _wrap_StyledTextCtrl_IndicatorSetForeground, METH_VARARGS | METH_KEYWORDS },
12688 { (char *)"StyledTextCtrl_IndicatorGetForeground", (PyCFunction) _wrap_StyledTextCtrl_IndicatorGetForeground, METH_VARARGS | METH_KEYWORDS },
12689 { (char *)"StyledTextCtrl_SetWhitespaceForeground", (PyCFunction) _wrap_StyledTextCtrl_SetWhitespaceForeground, METH_VARARGS | METH_KEYWORDS },
12690 { (char *)"StyledTextCtrl_SetWhitespaceBackground", (PyCFunction) _wrap_StyledTextCtrl_SetWhitespaceBackground, METH_VARARGS | METH_KEYWORDS },
12691 { (char *)"StyledTextCtrl_SetStyleBits", (PyCFunction) _wrap_StyledTextCtrl_SetStyleBits, METH_VARARGS | METH_KEYWORDS },
12692 { (char *)"StyledTextCtrl_GetStyleBits", (PyCFunction) _wrap_StyledTextCtrl_GetStyleBits, METH_VARARGS | METH_KEYWORDS },
12693 { (char *)"StyledTextCtrl_SetLineState", (PyCFunction) _wrap_StyledTextCtrl_SetLineState, METH_VARARGS | METH_KEYWORDS },
12694 { (char *)"StyledTextCtrl_GetLineState", (PyCFunction) _wrap_StyledTextCtrl_GetLineState, METH_VARARGS | METH_KEYWORDS },
12695 { (char *)"StyledTextCtrl_GetMaxLineState", (PyCFunction) _wrap_StyledTextCtrl_GetMaxLineState, METH_VARARGS | METH_KEYWORDS },
12696 { (char *)"StyledTextCtrl_GetCaretLineVisible", (PyCFunction) _wrap_StyledTextCtrl_GetCaretLineVisible, METH_VARARGS | METH_KEYWORDS },
12697 { (char *)"StyledTextCtrl_SetCaretLineVisible", (PyCFunction) _wrap_StyledTextCtrl_SetCaretLineVisible, METH_VARARGS | METH_KEYWORDS },
12698 { (char *)"StyledTextCtrl_GetCaretLineBack", (PyCFunction) _wrap_StyledTextCtrl_GetCaretLineBack, METH_VARARGS | METH_KEYWORDS },
12699 { (char *)"StyledTextCtrl_SetCaretLineBack", (PyCFunction) _wrap_StyledTextCtrl_SetCaretLineBack, METH_VARARGS | METH_KEYWORDS },
12700 { (char *)"StyledTextCtrl_StyleSetChangeable", (PyCFunction) _wrap_StyledTextCtrl_StyleSetChangeable, METH_VARARGS | METH_KEYWORDS },
12701 { (char *)"StyledTextCtrl_AutoCompShow", (PyCFunction) _wrap_StyledTextCtrl_AutoCompShow, METH_VARARGS | METH_KEYWORDS },
12702 { (char *)"StyledTextCtrl_AutoCompCancel", (PyCFunction) _wrap_StyledTextCtrl_AutoCompCancel, METH_VARARGS | METH_KEYWORDS },
12703 { (char *)"StyledTextCtrl_AutoCompActive", (PyCFunction) _wrap_StyledTextCtrl_AutoCompActive, METH_VARARGS | METH_KEYWORDS },
12704 { (char *)"StyledTextCtrl_AutoCompPosStart", (PyCFunction) _wrap_StyledTextCtrl_AutoCompPosStart, METH_VARARGS | METH_KEYWORDS },
12705 { (char *)"StyledTextCtrl_AutoCompComplete", (PyCFunction) _wrap_StyledTextCtrl_AutoCompComplete, METH_VARARGS | METH_KEYWORDS },
12706 { (char *)"StyledTextCtrl_AutoCompStops", (PyCFunction) _wrap_StyledTextCtrl_AutoCompStops, METH_VARARGS | METH_KEYWORDS },
12707 { (char *)"StyledTextCtrl_AutoCompSetSeparator", (PyCFunction) _wrap_StyledTextCtrl_AutoCompSetSeparator, METH_VARARGS | METH_KEYWORDS },
12708 { (char *)"StyledTextCtrl_AutoCompGetSeparator", (PyCFunction) _wrap_StyledTextCtrl_AutoCompGetSeparator, METH_VARARGS | METH_KEYWORDS },
12709 { (char *)"StyledTextCtrl_AutoCompSelect", (PyCFunction) _wrap_StyledTextCtrl_AutoCompSelect, METH_VARARGS | METH_KEYWORDS },
12710 { (char *)"StyledTextCtrl_AutoCompSetCancelAtStart", (PyCFunction) _wrap_StyledTextCtrl_AutoCompSetCancelAtStart, METH_VARARGS | METH_KEYWORDS },
12711 { (char *)"StyledTextCtrl_AutoCompGetCancelAtStart", (PyCFunction) _wrap_StyledTextCtrl_AutoCompGetCancelAtStart, METH_VARARGS | METH_KEYWORDS },
12712 { (char *)"StyledTextCtrl_AutoCompSetFillUps", (PyCFunction) _wrap_StyledTextCtrl_AutoCompSetFillUps, METH_VARARGS | METH_KEYWORDS },
12713 { (char *)"StyledTextCtrl_AutoCompSetChooseSingle", (PyCFunction) _wrap_StyledTextCtrl_AutoCompSetChooseSingle, METH_VARARGS | METH_KEYWORDS },
12714 { (char *)"StyledTextCtrl_AutoCompGetChooseSingle", (PyCFunction) _wrap_StyledTextCtrl_AutoCompGetChooseSingle, METH_VARARGS | METH_KEYWORDS },
12715 { (char *)"StyledTextCtrl_AutoCompSetIgnoreCase", (PyCFunction) _wrap_StyledTextCtrl_AutoCompSetIgnoreCase, METH_VARARGS | METH_KEYWORDS },
12716 { (char *)"StyledTextCtrl_AutoCompGetIgnoreCase", (PyCFunction) _wrap_StyledTextCtrl_AutoCompGetIgnoreCase, METH_VARARGS | METH_KEYWORDS },
12717 { (char *)"StyledTextCtrl_UserListShow", (PyCFunction) _wrap_StyledTextCtrl_UserListShow, METH_VARARGS | METH_KEYWORDS },
12718 { (char *)"StyledTextCtrl_AutoCompSetAutoHide", (PyCFunction) _wrap_StyledTextCtrl_AutoCompSetAutoHide, METH_VARARGS | METH_KEYWORDS },
12719 { (char *)"StyledTextCtrl_AutoCompGetAutoHide", (PyCFunction) _wrap_StyledTextCtrl_AutoCompGetAutoHide, METH_VARARGS | METH_KEYWORDS },
12720 { (char *)"StyledTextCtrl_AutoCompSetDropRestOfWord", (PyCFunction) _wrap_StyledTextCtrl_AutoCompSetDropRestOfWord, METH_VARARGS | METH_KEYWORDS },
12721 { (char *)"StyledTextCtrl_AutoCompGetDropRestOfWord", (PyCFunction) _wrap_StyledTextCtrl_AutoCompGetDropRestOfWord, METH_VARARGS | METH_KEYWORDS },
12722 { (char *)"StyledTextCtrl_RegisterImage", (PyCFunction) _wrap_StyledTextCtrl_RegisterImage, METH_VARARGS | METH_KEYWORDS },
12723 { (char *)"StyledTextCtrl_ClearRegisteredImages", (PyCFunction) _wrap_StyledTextCtrl_ClearRegisteredImages, METH_VARARGS | METH_KEYWORDS },
12724 { (char *)"StyledTextCtrl_AutoCompGetTypeSeparator", (PyCFunction) _wrap_StyledTextCtrl_AutoCompGetTypeSeparator, METH_VARARGS | METH_KEYWORDS },
12725 { (char *)"StyledTextCtrl_AutoCompSetTypeSeparator", (PyCFunction) _wrap_StyledTextCtrl_AutoCompSetTypeSeparator, METH_VARARGS | METH_KEYWORDS },
12726 { (char *)"StyledTextCtrl_SetIndent", (PyCFunction) _wrap_StyledTextCtrl_SetIndent, METH_VARARGS | METH_KEYWORDS },
12727 { (char *)"StyledTextCtrl_GetIndent", (PyCFunction) _wrap_StyledTextCtrl_GetIndent, METH_VARARGS | METH_KEYWORDS },
12728 { (char *)"StyledTextCtrl_SetUseTabs", (PyCFunction) _wrap_StyledTextCtrl_SetUseTabs, METH_VARARGS | METH_KEYWORDS },
12729 { (char *)"StyledTextCtrl_GetUseTabs", (PyCFunction) _wrap_StyledTextCtrl_GetUseTabs, METH_VARARGS | METH_KEYWORDS },
12730 { (char *)"StyledTextCtrl_SetLineIndentation", (PyCFunction) _wrap_StyledTextCtrl_SetLineIndentation, METH_VARARGS | METH_KEYWORDS },
12731 { (char *)"StyledTextCtrl_GetLineIndentation", (PyCFunction) _wrap_StyledTextCtrl_GetLineIndentation, METH_VARARGS | METH_KEYWORDS },
12732 { (char *)"StyledTextCtrl_GetLineIndentPosition", (PyCFunction) _wrap_StyledTextCtrl_GetLineIndentPosition, METH_VARARGS | METH_KEYWORDS },
12733 { (char *)"StyledTextCtrl_GetColumn", (PyCFunction) _wrap_StyledTextCtrl_GetColumn, METH_VARARGS | METH_KEYWORDS },
12734 { (char *)"StyledTextCtrl_SetUseHorizontalScrollBar", (PyCFunction) _wrap_StyledTextCtrl_SetUseHorizontalScrollBar, METH_VARARGS | METH_KEYWORDS },
12735 { (char *)"StyledTextCtrl_GetUseHorizontalScrollBar", (PyCFunction) _wrap_StyledTextCtrl_GetUseHorizontalScrollBar, METH_VARARGS | METH_KEYWORDS },
12736 { (char *)"StyledTextCtrl_SetIndentationGuides", (PyCFunction) _wrap_StyledTextCtrl_SetIndentationGuides, METH_VARARGS | METH_KEYWORDS },
12737 { (char *)"StyledTextCtrl_GetIndentationGuides", (PyCFunction) _wrap_StyledTextCtrl_GetIndentationGuides, METH_VARARGS | METH_KEYWORDS },
12738 { (char *)"StyledTextCtrl_SetHighlightGuide", (PyCFunction) _wrap_StyledTextCtrl_SetHighlightGuide, METH_VARARGS | METH_KEYWORDS },
12739 { (char *)"StyledTextCtrl_GetHighlightGuide", (PyCFunction) _wrap_StyledTextCtrl_GetHighlightGuide, METH_VARARGS | METH_KEYWORDS },
12740 { (char *)"StyledTextCtrl_GetLineEndPosition", (PyCFunction) _wrap_StyledTextCtrl_GetLineEndPosition, METH_VARARGS | METH_KEYWORDS },
12741 { (char *)"StyledTextCtrl_GetCodePage", (PyCFunction) _wrap_StyledTextCtrl_GetCodePage, METH_VARARGS | METH_KEYWORDS },
12742 { (char *)"StyledTextCtrl_GetCaretForeground", (PyCFunction) _wrap_StyledTextCtrl_GetCaretForeground, METH_VARARGS | METH_KEYWORDS },
12743 { (char *)"StyledTextCtrl_GetReadOnly", (PyCFunction) _wrap_StyledTextCtrl_GetReadOnly, METH_VARARGS | METH_KEYWORDS },
12744 { (char *)"StyledTextCtrl_SetCurrentPos", (PyCFunction) _wrap_StyledTextCtrl_SetCurrentPos, METH_VARARGS | METH_KEYWORDS },
12745 { (char *)"StyledTextCtrl_SetSelectionStart", (PyCFunction) _wrap_StyledTextCtrl_SetSelectionStart, METH_VARARGS | METH_KEYWORDS },
12746 { (char *)"StyledTextCtrl_GetSelectionStart", (PyCFunction) _wrap_StyledTextCtrl_GetSelectionStart, METH_VARARGS | METH_KEYWORDS },
12747 { (char *)"StyledTextCtrl_SetSelectionEnd", (PyCFunction) _wrap_StyledTextCtrl_SetSelectionEnd, METH_VARARGS | METH_KEYWORDS },
12748 { (char *)"StyledTextCtrl_GetSelectionEnd", (PyCFunction) _wrap_StyledTextCtrl_GetSelectionEnd, METH_VARARGS | METH_KEYWORDS },
12749 { (char *)"StyledTextCtrl_SetPrintMagnification", (PyCFunction) _wrap_StyledTextCtrl_SetPrintMagnification, METH_VARARGS | METH_KEYWORDS },
12750 { (char *)"StyledTextCtrl_GetPrintMagnification", (PyCFunction) _wrap_StyledTextCtrl_GetPrintMagnification, METH_VARARGS | METH_KEYWORDS },
12751 { (char *)"StyledTextCtrl_SetPrintColourMode", (PyCFunction) _wrap_StyledTextCtrl_SetPrintColourMode, METH_VARARGS | METH_KEYWORDS },
12752 { (char *)"StyledTextCtrl_GetPrintColourMode", (PyCFunction) _wrap_StyledTextCtrl_GetPrintColourMode, METH_VARARGS | METH_KEYWORDS },
12753 { (char *)"StyledTextCtrl_FindText", (PyCFunction) _wrap_StyledTextCtrl_FindText, METH_VARARGS | METH_KEYWORDS },
12754 { (char *)"StyledTextCtrl_FormatRange", (PyCFunction) _wrap_StyledTextCtrl_FormatRange, METH_VARARGS | METH_KEYWORDS },
12755 { (char *)"StyledTextCtrl_GetFirstVisibleLine", (PyCFunction) _wrap_StyledTextCtrl_GetFirstVisibleLine, METH_VARARGS | METH_KEYWORDS },
12756 { (char *)"StyledTextCtrl_GetLine", (PyCFunction) _wrap_StyledTextCtrl_GetLine, METH_VARARGS | METH_KEYWORDS },
12757 { (char *)"StyledTextCtrl_GetLineCount", (PyCFunction) _wrap_StyledTextCtrl_GetLineCount, METH_VARARGS | METH_KEYWORDS },
12758 { (char *)"StyledTextCtrl_SetMarginLeft", (PyCFunction) _wrap_StyledTextCtrl_SetMarginLeft, METH_VARARGS | METH_KEYWORDS },
12759 { (char *)"StyledTextCtrl_GetMarginLeft", (PyCFunction) _wrap_StyledTextCtrl_GetMarginLeft, METH_VARARGS | METH_KEYWORDS },
12760 { (char *)"StyledTextCtrl_SetMarginRight", (PyCFunction) _wrap_StyledTextCtrl_SetMarginRight, METH_VARARGS | METH_KEYWORDS },
12761 { (char *)"StyledTextCtrl_GetMarginRight", (PyCFunction) _wrap_StyledTextCtrl_GetMarginRight, METH_VARARGS | METH_KEYWORDS },
12762 { (char *)"StyledTextCtrl_GetModify", (PyCFunction) _wrap_StyledTextCtrl_GetModify, METH_VARARGS | METH_KEYWORDS },
12763 { (char *)"StyledTextCtrl_SetSelection", (PyCFunction) _wrap_StyledTextCtrl_SetSelection, METH_VARARGS | METH_KEYWORDS },
12764 { (char *)"StyledTextCtrl_GetSelectedText", (PyCFunction) _wrap_StyledTextCtrl_GetSelectedText, METH_VARARGS | METH_KEYWORDS },
12765 { (char *)"StyledTextCtrl_GetTextRange", (PyCFunction) _wrap_StyledTextCtrl_GetTextRange, METH_VARARGS | METH_KEYWORDS },
12766 { (char *)"StyledTextCtrl_HideSelection", (PyCFunction) _wrap_StyledTextCtrl_HideSelection, METH_VARARGS | METH_KEYWORDS },
12767 { (char *)"StyledTextCtrl_LineFromPosition", (PyCFunction) _wrap_StyledTextCtrl_LineFromPosition, METH_VARARGS | METH_KEYWORDS },
12768 { (char *)"StyledTextCtrl_PositionFromLine", (PyCFunction) _wrap_StyledTextCtrl_PositionFromLine, METH_VARARGS | METH_KEYWORDS },
12769 { (char *)"StyledTextCtrl_LineScroll", (PyCFunction) _wrap_StyledTextCtrl_LineScroll, METH_VARARGS | METH_KEYWORDS },
12770 { (char *)"StyledTextCtrl_EnsureCaretVisible", (PyCFunction) _wrap_StyledTextCtrl_EnsureCaretVisible, METH_VARARGS | METH_KEYWORDS },
12771 { (char *)"StyledTextCtrl_ReplaceSelection", (PyCFunction) _wrap_StyledTextCtrl_ReplaceSelection, METH_VARARGS | METH_KEYWORDS },
12772 { (char *)"StyledTextCtrl_SetReadOnly", (PyCFunction) _wrap_StyledTextCtrl_SetReadOnly, METH_VARARGS | METH_KEYWORDS },
12773 { (char *)"StyledTextCtrl_CanPaste", (PyCFunction) _wrap_StyledTextCtrl_CanPaste, METH_VARARGS | METH_KEYWORDS },
12774 { (char *)"StyledTextCtrl_CanUndo", (PyCFunction) _wrap_StyledTextCtrl_CanUndo, METH_VARARGS | METH_KEYWORDS },
12775 { (char *)"StyledTextCtrl_EmptyUndoBuffer", (PyCFunction) _wrap_StyledTextCtrl_EmptyUndoBuffer, METH_VARARGS | METH_KEYWORDS },
12776 { (char *)"StyledTextCtrl_Undo", (PyCFunction) _wrap_StyledTextCtrl_Undo, METH_VARARGS | METH_KEYWORDS },
12777 { (char *)"StyledTextCtrl_Cut", (PyCFunction) _wrap_StyledTextCtrl_Cut, METH_VARARGS | METH_KEYWORDS },
12778 { (char *)"StyledTextCtrl_Copy", (PyCFunction) _wrap_StyledTextCtrl_Copy, METH_VARARGS | METH_KEYWORDS },
12779 { (char *)"StyledTextCtrl_Paste", (PyCFunction) _wrap_StyledTextCtrl_Paste, METH_VARARGS | METH_KEYWORDS },
12780 { (char *)"StyledTextCtrl_Clear", (PyCFunction) _wrap_StyledTextCtrl_Clear, METH_VARARGS | METH_KEYWORDS },
12781 { (char *)"StyledTextCtrl_SetText", (PyCFunction) _wrap_StyledTextCtrl_SetText, METH_VARARGS | METH_KEYWORDS },
12782 { (char *)"StyledTextCtrl_GetText", (PyCFunction) _wrap_StyledTextCtrl_GetText, METH_VARARGS | METH_KEYWORDS },
12783 { (char *)"StyledTextCtrl_GetTextLength", (PyCFunction) _wrap_StyledTextCtrl_GetTextLength, METH_VARARGS | METH_KEYWORDS },
12784 { (char *)"StyledTextCtrl_SetOvertype", (PyCFunction) _wrap_StyledTextCtrl_SetOvertype, METH_VARARGS | METH_KEYWORDS },
12785 { (char *)"StyledTextCtrl_GetOvertype", (PyCFunction) _wrap_StyledTextCtrl_GetOvertype, METH_VARARGS | METH_KEYWORDS },
12786 { (char *)"StyledTextCtrl_SetCaretWidth", (PyCFunction) _wrap_StyledTextCtrl_SetCaretWidth, METH_VARARGS | METH_KEYWORDS },
12787 { (char *)"StyledTextCtrl_GetCaretWidth", (PyCFunction) _wrap_StyledTextCtrl_GetCaretWidth, METH_VARARGS | METH_KEYWORDS },
12788 { (char *)"StyledTextCtrl_SetTargetStart", (PyCFunction) _wrap_StyledTextCtrl_SetTargetStart, METH_VARARGS | METH_KEYWORDS },
12789 { (char *)"StyledTextCtrl_GetTargetStart", (PyCFunction) _wrap_StyledTextCtrl_GetTargetStart, METH_VARARGS | METH_KEYWORDS },
12790 { (char *)"StyledTextCtrl_SetTargetEnd", (PyCFunction) _wrap_StyledTextCtrl_SetTargetEnd, METH_VARARGS | METH_KEYWORDS },
12791 { (char *)"StyledTextCtrl_GetTargetEnd", (PyCFunction) _wrap_StyledTextCtrl_GetTargetEnd, METH_VARARGS | METH_KEYWORDS },
12792 { (char *)"StyledTextCtrl_ReplaceTarget", (PyCFunction) _wrap_StyledTextCtrl_ReplaceTarget, METH_VARARGS | METH_KEYWORDS },
12793 { (char *)"StyledTextCtrl_ReplaceTargetRE", (PyCFunction) _wrap_StyledTextCtrl_ReplaceTargetRE, METH_VARARGS | METH_KEYWORDS },
12794 { (char *)"StyledTextCtrl_SearchInTarget", (PyCFunction) _wrap_StyledTextCtrl_SearchInTarget, METH_VARARGS | METH_KEYWORDS },
12795 { (char *)"StyledTextCtrl_SetSearchFlags", (PyCFunction) _wrap_StyledTextCtrl_SetSearchFlags, METH_VARARGS | METH_KEYWORDS },
12796 { (char *)"StyledTextCtrl_GetSearchFlags", (PyCFunction) _wrap_StyledTextCtrl_GetSearchFlags, METH_VARARGS | METH_KEYWORDS },
12797 { (char *)"StyledTextCtrl_CallTipShow", (PyCFunction) _wrap_StyledTextCtrl_CallTipShow, METH_VARARGS | METH_KEYWORDS },
12798 { (char *)"StyledTextCtrl_CallTipCancel", (PyCFunction) _wrap_StyledTextCtrl_CallTipCancel, METH_VARARGS | METH_KEYWORDS },
12799 { (char *)"StyledTextCtrl_CallTipActive", (PyCFunction) _wrap_StyledTextCtrl_CallTipActive, METH_VARARGS | METH_KEYWORDS },
12800 { (char *)"StyledTextCtrl_CallTipPosAtStart", (PyCFunction) _wrap_StyledTextCtrl_CallTipPosAtStart, METH_VARARGS | METH_KEYWORDS },
12801 { (char *)"StyledTextCtrl_CallTipSetHighlight", (PyCFunction) _wrap_StyledTextCtrl_CallTipSetHighlight, METH_VARARGS | METH_KEYWORDS },
12802 { (char *)"StyledTextCtrl_CallTipSetBackground", (PyCFunction) _wrap_StyledTextCtrl_CallTipSetBackground, METH_VARARGS | METH_KEYWORDS },
12803 { (char *)"StyledTextCtrl_CallTipSetForeground", (PyCFunction) _wrap_StyledTextCtrl_CallTipSetForeground, METH_VARARGS | METH_KEYWORDS },
12804 { (char *)"StyledTextCtrl_CallTipSetForegroundHighlight", (PyCFunction) _wrap_StyledTextCtrl_CallTipSetForegroundHighlight, METH_VARARGS | METH_KEYWORDS },
12805 { (char *)"StyledTextCtrl_VisibleFromDocLine", (PyCFunction) _wrap_StyledTextCtrl_VisibleFromDocLine, METH_VARARGS | METH_KEYWORDS },
12806 { (char *)"StyledTextCtrl_DocLineFromVisible", (PyCFunction) _wrap_StyledTextCtrl_DocLineFromVisible, METH_VARARGS | METH_KEYWORDS },
12807 { (char *)"StyledTextCtrl_SetFoldLevel", (PyCFunction) _wrap_StyledTextCtrl_SetFoldLevel, METH_VARARGS | METH_KEYWORDS },
12808 { (char *)"StyledTextCtrl_GetFoldLevel", (PyCFunction) _wrap_StyledTextCtrl_GetFoldLevel, METH_VARARGS | METH_KEYWORDS },
12809 { (char *)"StyledTextCtrl_GetLastChild", (PyCFunction) _wrap_StyledTextCtrl_GetLastChild, METH_VARARGS | METH_KEYWORDS },
12810 { (char *)"StyledTextCtrl_GetFoldParent", (PyCFunction) _wrap_StyledTextCtrl_GetFoldParent, METH_VARARGS | METH_KEYWORDS },
12811 { (char *)"StyledTextCtrl_ShowLines", (PyCFunction) _wrap_StyledTextCtrl_ShowLines, METH_VARARGS | METH_KEYWORDS },
12812 { (char *)"StyledTextCtrl_HideLines", (PyCFunction) _wrap_StyledTextCtrl_HideLines, METH_VARARGS | METH_KEYWORDS },
12813 { (char *)"StyledTextCtrl_GetLineVisible", (PyCFunction) _wrap_StyledTextCtrl_GetLineVisible, METH_VARARGS | METH_KEYWORDS },
12814 { (char *)"StyledTextCtrl_SetFoldExpanded", (PyCFunction) _wrap_StyledTextCtrl_SetFoldExpanded, METH_VARARGS | METH_KEYWORDS },
12815 { (char *)"StyledTextCtrl_GetFoldExpanded", (PyCFunction) _wrap_StyledTextCtrl_GetFoldExpanded, METH_VARARGS | METH_KEYWORDS },
12816 { (char *)"StyledTextCtrl_ToggleFold", (PyCFunction) _wrap_StyledTextCtrl_ToggleFold, METH_VARARGS | METH_KEYWORDS },
12817 { (char *)"StyledTextCtrl_EnsureVisible", (PyCFunction) _wrap_StyledTextCtrl_EnsureVisible, METH_VARARGS | METH_KEYWORDS },
12818 { (char *)"StyledTextCtrl_SetFoldFlags", (PyCFunction) _wrap_StyledTextCtrl_SetFoldFlags, METH_VARARGS | METH_KEYWORDS },
12819 { (char *)"StyledTextCtrl_EnsureVisibleEnforcePolicy", (PyCFunction) _wrap_StyledTextCtrl_EnsureVisibleEnforcePolicy, METH_VARARGS | METH_KEYWORDS },
12820 { (char *)"StyledTextCtrl_SetTabIndents", (PyCFunction) _wrap_StyledTextCtrl_SetTabIndents, METH_VARARGS | METH_KEYWORDS },
12821 { (char *)"StyledTextCtrl_GetTabIndents", (PyCFunction) _wrap_StyledTextCtrl_GetTabIndents, METH_VARARGS | METH_KEYWORDS },
12822 { (char *)"StyledTextCtrl_SetBackSpaceUnIndents", (PyCFunction) _wrap_StyledTextCtrl_SetBackSpaceUnIndents, METH_VARARGS | METH_KEYWORDS },
12823 { (char *)"StyledTextCtrl_GetBackSpaceUnIndents", (PyCFunction) _wrap_StyledTextCtrl_GetBackSpaceUnIndents, METH_VARARGS | METH_KEYWORDS },
12824 { (char *)"StyledTextCtrl_SetMouseDwellTime", (PyCFunction) _wrap_StyledTextCtrl_SetMouseDwellTime, METH_VARARGS | METH_KEYWORDS },
12825 { (char *)"StyledTextCtrl_GetMouseDwellTime", (PyCFunction) _wrap_StyledTextCtrl_GetMouseDwellTime, METH_VARARGS | METH_KEYWORDS },
12826 { (char *)"StyledTextCtrl_WordStartPosition", (PyCFunction) _wrap_StyledTextCtrl_WordStartPosition, METH_VARARGS | METH_KEYWORDS },
12827 { (char *)"StyledTextCtrl_WordEndPosition", (PyCFunction) _wrap_StyledTextCtrl_WordEndPosition, METH_VARARGS | METH_KEYWORDS },
12828 { (char *)"StyledTextCtrl_SetWrapMode", (PyCFunction) _wrap_StyledTextCtrl_SetWrapMode, METH_VARARGS | METH_KEYWORDS },
12829 { (char *)"StyledTextCtrl_GetWrapMode", (PyCFunction) _wrap_StyledTextCtrl_GetWrapMode, METH_VARARGS | METH_KEYWORDS },
12830 { (char *)"StyledTextCtrl_SetLayoutCache", (PyCFunction) _wrap_StyledTextCtrl_SetLayoutCache, METH_VARARGS | METH_KEYWORDS },
12831 { (char *)"StyledTextCtrl_GetLayoutCache", (PyCFunction) _wrap_StyledTextCtrl_GetLayoutCache, METH_VARARGS | METH_KEYWORDS },
12832 { (char *)"StyledTextCtrl_SetScrollWidth", (PyCFunction) _wrap_StyledTextCtrl_SetScrollWidth, METH_VARARGS | METH_KEYWORDS },
12833 { (char *)"StyledTextCtrl_GetScrollWidth", (PyCFunction) _wrap_StyledTextCtrl_GetScrollWidth, METH_VARARGS | METH_KEYWORDS },
12834 { (char *)"StyledTextCtrl_TextWidth", (PyCFunction) _wrap_StyledTextCtrl_TextWidth, METH_VARARGS | METH_KEYWORDS },
12835 { (char *)"StyledTextCtrl_SetEndAtLastLine", (PyCFunction) _wrap_StyledTextCtrl_SetEndAtLastLine, METH_VARARGS | METH_KEYWORDS },
12836 { (char *)"StyledTextCtrl_GetEndAtLastLine", (PyCFunction) _wrap_StyledTextCtrl_GetEndAtLastLine, METH_VARARGS | METH_KEYWORDS },
12837 { (char *)"StyledTextCtrl_TextHeight", (PyCFunction) _wrap_StyledTextCtrl_TextHeight, METH_VARARGS | METH_KEYWORDS },
12838 { (char *)"StyledTextCtrl_SetUseVerticalScrollBar", (PyCFunction) _wrap_StyledTextCtrl_SetUseVerticalScrollBar, METH_VARARGS | METH_KEYWORDS },
12839 { (char *)"StyledTextCtrl_GetUseVerticalScrollBar", (PyCFunction) _wrap_StyledTextCtrl_GetUseVerticalScrollBar, METH_VARARGS | METH_KEYWORDS },
12840 { (char *)"StyledTextCtrl_AppendText", (PyCFunction) _wrap_StyledTextCtrl_AppendText, METH_VARARGS | METH_KEYWORDS },
12841 { (char *)"StyledTextCtrl_GetTwoPhaseDraw", (PyCFunction) _wrap_StyledTextCtrl_GetTwoPhaseDraw, METH_VARARGS | METH_KEYWORDS },
12842 { (char *)"StyledTextCtrl_SetTwoPhaseDraw", (PyCFunction) _wrap_StyledTextCtrl_SetTwoPhaseDraw, METH_VARARGS | METH_KEYWORDS },
12843 { (char *)"StyledTextCtrl_TargetFromSelection", (PyCFunction) _wrap_StyledTextCtrl_TargetFromSelection, METH_VARARGS | METH_KEYWORDS },
12844 { (char *)"StyledTextCtrl_LinesJoin", (PyCFunction) _wrap_StyledTextCtrl_LinesJoin, METH_VARARGS | METH_KEYWORDS },
12845 { (char *)"StyledTextCtrl_LinesSplit", (PyCFunction) _wrap_StyledTextCtrl_LinesSplit, METH_VARARGS | METH_KEYWORDS },
12846 { (char *)"StyledTextCtrl_SetFoldMarginColour", (PyCFunction) _wrap_StyledTextCtrl_SetFoldMarginColour, METH_VARARGS | METH_KEYWORDS },
12847 { (char *)"StyledTextCtrl_SetFoldMarginHiColour", (PyCFunction) _wrap_StyledTextCtrl_SetFoldMarginHiColour, METH_VARARGS | METH_KEYWORDS },
12848 { (char *)"StyledTextCtrl_LineDuplicate", (PyCFunction) _wrap_StyledTextCtrl_LineDuplicate, METH_VARARGS | METH_KEYWORDS },
12849 { (char *)"StyledTextCtrl_HomeDisplay", (PyCFunction) _wrap_StyledTextCtrl_HomeDisplay, METH_VARARGS | METH_KEYWORDS },
12850 { (char *)"StyledTextCtrl_HomeDisplayExtend", (PyCFunction) _wrap_StyledTextCtrl_HomeDisplayExtend, METH_VARARGS | METH_KEYWORDS },
12851 { (char *)"StyledTextCtrl_LineEndDisplay", (PyCFunction) _wrap_StyledTextCtrl_LineEndDisplay, METH_VARARGS | METH_KEYWORDS },
12852 { (char *)"StyledTextCtrl_LineEndDisplayExtend", (PyCFunction) _wrap_StyledTextCtrl_LineEndDisplayExtend, METH_VARARGS | METH_KEYWORDS },
12853 { (char *)"StyledTextCtrl_LineCopy", (PyCFunction) _wrap_StyledTextCtrl_LineCopy, METH_VARARGS | METH_KEYWORDS },
12854 { (char *)"StyledTextCtrl_MoveCaretInsideView", (PyCFunction) _wrap_StyledTextCtrl_MoveCaretInsideView, METH_VARARGS | METH_KEYWORDS },
12855 { (char *)"StyledTextCtrl_LineLength", (PyCFunction) _wrap_StyledTextCtrl_LineLength, METH_VARARGS | METH_KEYWORDS },
12856 { (char *)"StyledTextCtrl_BraceHighlight", (PyCFunction) _wrap_StyledTextCtrl_BraceHighlight, METH_VARARGS | METH_KEYWORDS },
12857 { (char *)"StyledTextCtrl_BraceBadLight", (PyCFunction) _wrap_StyledTextCtrl_BraceBadLight, METH_VARARGS | METH_KEYWORDS },
12858 { (char *)"StyledTextCtrl_BraceMatch", (PyCFunction) _wrap_StyledTextCtrl_BraceMatch, METH_VARARGS | METH_KEYWORDS },
12859 { (char *)"StyledTextCtrl_GetViewEOL", (PyCFunction) _wrap_StyledTextCtrl_GetViewEOL, METH_VARARGS | METH_KEYWORDS },
12860 { (char *)"StyledTextCtrl_SetViewEOL", (PyCFunction) _wrap_StyledTextCtrl_SetViewEOL, METH_VARARGS | METH_KEYWORDS },
12861 { (char *)"StyledTextCtrl_GetDocPointer", (PyCFunction) _wrap_StyledTextCtrl_GetDocPointer, METH_VARARGS | METH_KEYWORDS },
12862 { (char *)"StyledTextCtrl_SetDocPointer", (PyCFunction) _wrap_StyledTextCtrl_SetDocPointer, METH_VARARGS | METH_KEYWORDS },
12863 { (char *)"StyledTextCtrl_SetModEventMask", (PyCFunction) _wrap_StyledTextCtrl_SetModEventMask, METH_VARARGS | METH_KEYWORDS },
12864 { (char *)"StyledTextCtrl_GetEdgeColumn", (PyCFunction) _wrap_StyledTextCtrl_GetEdgeColumn, METH_VARARGS | METH_KEYWORDS },
12865 { (char *)"StyledTextCtrl_SetEdgeColumn", (PyCFunction) _wrap_StyledTextCtrl_SetEdgeColumn, METH_VARARGS | METH_KEYWORDS },
12866 { (char *)"StyledTextCtrl_GetEdgeMode", (PyCFunction) _wrap_StyledTextCtrl_GetEdgeMode, METH_VARARGS | METH_KEYWORDS },
12867 { (char *)"StyledTextCtrl_SetEdgeMode", (PyCFunction) _wrap_StyledTextCtrl_SetEdgeMode, METH_VARARGS | METH_KEYWORDS },
12868 { (char *)"StyledTextCtrl_GetEdgeColour", (PyCFunction) _wrap_StyledTextCtrl_GetEdgeColour, METH_VARARGS | METH_KEYWORDS },
12869 { (char *)"StyledTextCtrl_SetEdgeColour", (PyCFunction) _wrap_StyledTextCtrl_SetEdgeColour, METH_VARARGS | METH_KEYWORDS },
12870 { (char *)"StyledTextCtrl_SearchAnchor", (PyCFunction) _wrap_StyledTextCtrl_SearchAnchor, METH_VARARGS | METH_KEYWORDS },
12871 { (char *)"StyledTextCtrl_SearchNext", (PyCFunction) _wrap_StyledTextCtrl_SearchNext, METH_VARARGS | METH_KEYWORDS },
12872 { (char *)"StyledTextCtrl_SearchPrev", (PyCFunction) _wrap_StyledTextCtrl_SearchPrev, METH_VARARGS | METH_KEYWORDS },
12873 { (char *)"StyledTextCtrl_LinesOnScreen", (PyCFunction) _wrap_StyledTextCtrl_LinesOnScreen, METH_VARARGS | METH_KEYWORDS },
12874 { (char *)"StyledTextCtrl_UsePopUp", (PyCFunction) _wrap_StyledTextCtrl_UsePopUp, METH_VARARGS | METH_KEYWORDS },
12875 { (char *)"StyledTextCtrl_SelectionIsRectangle", (PyCFunction) _wrap_StyledTextCtrl_SelectionIsRectangle, METH_VARARGS | METH_KEYWORDS },
12876 { (char *)"StyledTextCtrl_SetZoom", (PyCFunction) _wrap_StyledTextCtrl_SetZoom, METH_VARARGS | METH_KEYWORDS },
12877 { (char *)"StyledTextCtrl_GetZoom", (PyCFunction) _wrap_StyledTextCtrl_GetZoom, METH_VARARGS | METH_KEYWORDS },
12878 { (char *)"StyledTextCtrl_CreateDocument", (PyCFunction) _wrap_StyledTextCtrl_CreateDocument, METH_VARARGS | METH_KEYWORDS },
12879 { (char *)"StyledTextCtrl_AddRefDocument", (PyCFunction) _wrap_StyledTextCtrl_AddRefDocument, METH_VARARGS | METH_KEYWORDS },
12880 { (char *)"StyledTextCtrl_ReleaseDocument", (PyCFunction) _wrap_StyledTextCtrl_ReleaseDocument, METH_VARARGS | METH_KEYWORDS },
12881 { (char *)"StyledTextCtrl_GetModEventMask", (PyCFunction) _wrap_StyledTextCtrl_GetModEventMask, METH_VARARGS | METH_KEYWORDS },
12882 { (char *)"StyledTextCtrl_SetSTCFocus", (PyCFunction) _wrap_StyledTextCtrl_SetSTCFocus, METH_VARARGS | METH_KEYWORDS },
12883 { (char *)"StyledTextCtrl_GetSTCFocus", (PyCFunction) _wrap_StyledTextCtrl_GetSTCFocus, METH_VARARGS | METH_KEYWORDS },
12884 { (char *)"StyledTextCtrl_SetStatus", (PyCFunction) _wrap_StyledTextCtrl_SetStatus, METH_VARARGS | METH_KEYWORDS },
12885 { (char *)"StyledTextCtrl_GetStatus", (PyCFunction) _wrap_StyledTextCtrl_GetStatus, METH_VARARGS | METH_KEYWORDS },
12886 { (char *)"StyledTextCtrl_SetMouseDownCaptures", (PyCFunction) _wrap_StyledTextCtrl_SetMouseDownCaptures, METH_VARARGS | METH_KEYWORDS },
12887 { (char *)"StyledTextCtrl_GetMouseDownCaptures", (PyCFunction) _wrap_StyledTextCtrl_GetMouseDownCaptures, METH_VARARGS | METH_KEYWORDS },
12888 { (char *)"StyledTextCtrl_SetSTCCursor", (PyCFunction) _wrap_StyledTextCtrl_SetSTCCursor, METH_VARARGS | METH_KEYWORDS },
12889 { (char *)"StyledTextCtrl_GetSTCCursor", (PyCFunction) _wrap_StyledTextCtrl_GetSTCCursor, METH_VARARGS | METH_KEYWORDS },
12890 { (char *)"StyledTextCtrl_SetControlCharSymbol", (PyCFunction) _wrap_StyledTextCtrl_SetControlCharSymbol, METH_VARARGS | METH_KEYWORDS },
12891 { (char *)"StyledTextCtrl_GetControlCharSymbol", (PyCFunction) _wrap_StyledTextCtrl_GetControlCharSymbol, METH_VARARGS | METH_KEYWORDS },
12892 { (char *)"StyledTextCtrl_WordPartLeft", (PyCFunction) _wrap_StyledTextCtrl_WordPartLeft, METH_VARARGS | METH_KEYWORDS },
12893 { (char *)"StyledTextCtrl_WordPartLeftExtend", (PyCFunction) _wrap_StyledTextCtrl_WordPartLeftExtend, METH_VARARGS | METH_KEYWORDS },
12894 { (char *)"StyledTextCtrl_WordPartRight", (PyCFunction) _wrap_StyledTextCtrl_WordPartRight, METH_VARARGS | METH_KEYWORDS },
12895 { (char *)"StyledTextCtrl_WordPartRightExtend", (PyCFunction) _wrap_StyledTextCtrl_WordPartRightExtend, METH_VARARGS | METH_KEYWORDS },
12896 { (char *)"StyledTextCtrl_SetVisiblePolicy", (PyCFunction) _wrap_StyledTextCtrl_SetVisiblePolicy, METH_VARARGS | METH_KEYWORDS },
12897 { (char *)"StyledTextCtrl_DelLineLeft", (PyCFunction) _wrap_StyledTextCtrl_DelLineLeft, METH_VARARGS | METH_KEYWORDS },
12898 { (char *)"StyledTextCtrl_DelLineRight", (PyCFunction) _wrap_StyledTextCtrl_DelLineRight, METH_VARARGS | METH_KEYWORDS },
12899 { (char *)"StyledTextCtrl_SetXOffset", (PyCFunction) _wrap_StyledTextCtrl_SetXOffset, METH_VARARGS | METH_KEYWORDS },
12900 { (char *)"StyledTextCtrl_GetXOffset", (PyCFunction) _wrap_StyledTextCtrl_GetXOffset, METH_VARARGS | METH_KEYWORDS },
12901 { (char *)"StyledTextCtrl_ChooseCaretX", (PyCFunction) _wrap_StyledTextCtrl_ChooseCaretX, METH_VARARGS | METH_KEYWORDS },
12902 { (char *)"StyledTextCtrl_SetXCaretPolicy", (PyCFunction) _wrap_StyledTextCtrl_SetXCaretPolicy, METH_VARARGS | METH_KEYWORDS },
12903 { (char *)"StyledTextCtrl_SetYCaretPolicy", (PyCFunction) _wrap_StyledTextCtrl_SetYCaretPolicy, METH_VARARGS | METH_KEYWORDS },
12904 { (char *)"StyledTextCtrl_SetPrintWrapMode", (PyCFunction) _wrap_StyledTextCtrl_SetPrintWrapMode, METH_VARARGS | METH_KEYWORDS },
12905 { (char *)"StyledTextCtrl_GetPrintWrapMode", (PyCFunction) _wrap_StyledTextCtrl_GetPrintWrapMode, METH_VARARGS | METH_KEYWORDS },
12906 { (char *)"StyledTextCtrl_SetHotspotActiveForeground", (PyCFunction) _wrap_StyledTextCtrl_SetHotspotActiveForeground, METH_VARARGS | METH_KEYWORDS },
12907 { (char *)"StyledTextCtrl_SetHotspotActiveBackground", (PyCFunction) _wrap_StyledTextCtrl_SetHotspotActiveBackground, METH_VARARGS | METH_KEYWORDS },
12908 { (char *)"StyledTextCtrl_SetHotspotActiveUnderline", (PyCFunction) _wrap_StyledTextCtrl_SetHotspotActiveUnderline, METH_VARARGS | METH_KEYWORDS },
12909 { (char *)"StyledTextCtrl_SetHotspotSingleLine", (PyCFunction) _wrap_StyledTextCtrl_SetHotspotSingleLine, METH_VARARGS | METH_KEYWORDS },
12910 { (char *)"StyledTextCtrl_PositionBefore", (PyCFunction) _wrap_StyledTextCtrl_PositionBefore, METH_VARARGS | METH_KEYWORDS },
12911 { (char *)"StyledTextCtrl_PositionAfter", (PyCFunction) _wrap_StyledTextCtrl_PositionAfter, METH_VARARGS | METH_KEYWORDS },
12912 { (char *)"StyledTextCtrl_CopyRange", (PyCFunction) _wrap_StyledTextCtrl_CopyRange, METH_VARARGS | METH_KEYWORDS },
12913 { (char *)"StyledTextCtrl_CopyText", (PyCFunction) _wrap_StyledTextCtrl_CopyText, METH_VARARGS | METH_KEYWORDS },
12914 { (char *)"StyledTextCtrl_SetSelectionMode", (PyCFunction) _wrap_StyledTextCtrl_SetSelectionMode, METH_VARARGS | METH_KEYWORDS },
12915 { (char *)"StyledTextCtrl_GetSelectionMode", (PyCFunction) _wrap_StyledTextCtrl_GetSelectionMode, METH_VARARGS | METH_KEYWORDS },
12916 { (char *)"StyledTextCtrl_GetLineSelStartPosition", (PyCFunction) _wrap_StyledTextCtrl_GetLineSelStartPosition, METH_VARARGS | METH_KEYWORDS },
12917 { (char *)"StyledTextCtrl_GetLineSelEndPosition", (PyCFunction) _wrap_StyledTextCtrl_GetLineSelEndPosition, METH_VARARGS | METH_KEYWORDS },
12918 { (char *)"StyledTextCtrl_SetWhitespaceChars", (PyCFunction) _wrap_StyledTextCtrl_SetWhitespaceChars, METH_VARARGS | METH_KEYWORDS },
12919 { (char *)"StyledTextCtrl_SetCharsDefault", (PyCFunction) _wrap_StyledTextCtrl_SetCharsDefault, METH_VARARGS | METH_KEYWORDS },
12920 { (char *)"StyledTextCtrl_AutoCompGetCurrent", (PyCFunction) _wrap_StyledTextCtrl_AutoCompGetCurrent, METH_VARARGS | METH_KEYWORDS },
12921 { (char *)"StyledTextCtrl_StartRecord", (PyCFunction) _wrap_StyledTextCtrl_StartRecord, METH_VARARGS | METH_KEYWORDS },
12922 { (char *)"StyledTextCtrl_StopRecord", (PyCFunction) _wrap_StyledTextCtrl_StopRecord, METH_VARARGS | METH_KEYWORDS },
12923 { (char *)"StyledTextCtrl_SetLexer", (PyCFunction) _wrap_StyledTextCtrl_SetLexer, METH_VARARGS | METH_KEYWORDS },
12924 { (char *)"StyledTextCtrl_GetLexer", (PyCFunction) _wrap_StyledTextCtrl_GetLexer, METH_VARARGS | METH_KEYWORDS },
12925 { (char *)"StyledTextCtrl_Colourise", (PyCFunction) _wrap_StyledTextCtrl_Colourise, METH_VARARGS | METH_KEYWORDS },
12926 { (char *)"StyledTextCtrl_SetProperty", (PyCFunction) _wrap_StyledTextCtrl_SetProperty, METH_VARARGS | METH_KEYWORDS },
12927 { (char *)"StyledTextCtrl_SetKeyWords", (PyCFunction) _wrap_StyledTextCtrl_SetKeyWords, METH_VARARGS | METH_KEYWORDS },
12928 { (char *)"StyledTextCtrl_SetLexerLanguage", (PyCFunction) _wrap_StyledTextCtrl_SetLexerLanguage, METH_VARARGS | METH_KEYWORDS },
12929 { (char *)"StyledTextCtrl_GetCurrentLine", (PyCFunction) _wrap_StyledTextCtrl_GetCurrentLine, METH_VARARGS | METH_KEYWORDS },
12930 { (char *)"StyledTextCtrl_StyleSetSpec", (PyCFunction) _wrap_StyledTextCtrl_StyleSetSpec, METH_VARARGS | METH_KEYWORDS },
12931 { (char *)"StyledTextCtrl_StyleSetFont", (PyCFunction) _wrap_StyledTextCtrl_StyleSetFont, METH_VARARGS | METH_KEYWORDS },
12932 { (char *)"StyledTextCtrl_StyleSetFontAttr", (PyCFunction) _wrap_StyledTextCtrl_StyleSetFontAttr, METH_VARARGS | METH_KEYWORDS },
12933 { (char *)"StyledTextCtrl_CmdKeyExecute", (PyCFunction) _wrap_StyledTextCtrl_CmdKeyExecute, METH_VARARGS | METH_KEYWORDS },
12934 { (char *)"StyledTextCtrl_SetMargins", (PyCFunction) _wrap_StyledTextCtrl_SetMargins, METH_VARARGS | METH_KEYWORDS },
12935 { (char *)"StyledTextCtrl_GetSelection", (PyCFunction) _wrap_StyledTextCtrl_GetSelection, METH_VARARGS | METH_KEYWORDS },
12936 { (char *)"StyledTextCtrl_PointFromPosition", (PyCFunction) _wrap_StyledTextCtrl_PointFromPosition, METH_VARARGS | METH_KEYWORDS },
12937 { (char *)"StyledTextCtrl_ScrollToLine", (PyCFunction) _wrap_StyledTextCtrl_ScrollToLine, METH_VARARGS | METH_KEYWORDS },
12938 { (char *)"StyledTextCtrl_ScrollToColumn", (PyCFunction) _wrap_StyledTextCtrl_ScrollToColumn, METH_VARARGS | METH_KEYWORDS },
12939 { (char *)"StyledTextCtrl_SendMsg", (PyCFunction) _wrap_StyledTextCtrl_SendMsg, METH_VARARGS | METH_KEYWORDS },
12940 { (char *)"StyledTextCtrl_SetVScrollBar", (PyCFunction) _wrap_StyledTextCtrl_SetVScrollBar, METH_VARARGS | METH_KEYWORDS },
12941 { (char *)"StyledTextCtrl_SetHScrollBar", (PyCFunction) _wrap_StyledTextCtrl_SetHScrollBar, METH_VARARGS | METH_KEYWORDS },
12942 { (char *)"StyledTextCtrl_GetLastKeydownProcessed", (PyCFunction) _wrap_StyledTextCtrl_GetLastKeydownProcessed, METH_VARARGS | METH_KEYWORDS },
12943 { (char *)"StyledTextCtrl_SetLastKeydownProcessed", (PyCFunction) _wrap_StyledTextCtrl_SetLastKeydownProcessed, METH_VARARGS | METH_KEYWORDS },
12944 { (char *)"StyledTextCtrl_SaveFile", (PyCFunction) _wrap_StyledTextCtrl_SaveFile, METH_VARARGS | METH_KEYWORDS },
12945 { (char *)"StyledTextCtrl_LoadFile", (PyCFunction) _wrap_StyledTextCtrl_LoadFile, METH_VARARGS | METH_KEYWORDS },
12946 { (char *)"StyledTextCtrl_DoDragOver", (PyCFunction) _wrap_StyledTextCtrl_DoDragOver, METH_VARARGS | METH_KEYWORDS },
12947 { (char *)"StyledTextCtrl_DoDropText", (PyCFunction) _wrap_StyledTextCtrl_DoDropText, METH_VARARGS | METH_KEYWORDS },
12948 { (char *)"StyledTextCtrl_SetUseAntiAliasing", (PyCFunction) _wrap_StyledTextCtrl_SetUseAntiAliasing, METH_VARARGS | METH_KEYWORDS },
12949 { (char *)"StyledTextCtrl_GetUseAntiAliasing", (PyCFunction) _wrap_StyledTextCtrl_GetUseAntiAliasing, METH_VARARGS | METH_KEYWORDS },
12950 { (char *)"StyledTextCtrl_swigregister", StyledTextCtrl_swigregister, METH_VARARGS },
12951 { (char *)"new_StyledTextEvent", (PyCFunction) _wrap_new_StyledTextEvent, METH_VARARGS | METH_KEYWORDS },
12952 { (char *)"delete_StyledTextEvent", (PyCFunction) _wrap_delete_StyledTextEvent, METH_VARARGS | METH_KEYWORDS },
12953 { (char *)"StyledTextEvent_SetPosition", (PyCFunction) _wrap_StyledTextEvent_SetPosition, METH_VARARGS | METH_KEYWORDS },
12954 { (char *)"StyledTextEvent_SetKey", (PyCFunction) _wrap_StyledTextEvent_SetKey, METH_VARARGS | METH_KEYWORDS },
12955 { (char *)"StyledTextEvent_SetModifiers", (PyCFunction) _wrap_StyledTextEvent_SetModifiers, METH_VARARGS | METH_KEYWORDS },
12956 { (char *)"StyledTextEvent_SetModificationType", (PyCFunction) _wrap_StyledTextEvent_SetModificationType, METH_VARARGS | METH_KEYWORDS },
12957 { (char *)"StyledTextEvent_SetText", (PyCFunction) _wrap_StyledTextEvent_SetText, METH_VARARGS | METH_KEYWORDS },
12958 { (char *)"StyledTextEvent_SetLength", (PyCFunction) _wrap_StyledTextEvent_SetLength, METH_VARARGS | METH_KEYWORDS },
12959 { (char *)"StyledTextEvent_SetLinesAdded", (PyCFunction) _wrap_StyledTextEvent_SetLinesAdded, METH_VARARGS | METH_KEYWORDS },
12960 { (char *)"StyledTextEvent_SetLine", (PyCFunction) _wrap_StyledTextEvent_SetLine, METH_VARARGS | METH_KEYWORDS },
12961 { (char *)"StyledTextEvent_SetFoldLevelNow", (PyCFunction) _wrap_StyledTextEvent_SetFoldLevelNow, METH_VARARGS | METH_KEYWORDS },
12962 { (char *)"StyledTextEvent_SetFoldLevelPrev", (PyCFunction) _wrap_StyledTextEvent_SetFoldLevelPrev, METH_VARARGS | METH_KEYWORDS },
12963 { (char *)"StyledTextEvent_SetMargin", (PyCFunction) _wrap_StyledTextEvent_SetMargin, METH_VARARGS | METH_KEYWORDS },
12964 { (char *)"StyledTextEvent_SetMessage", (PyCFunction) _wrap_StyledTextEvent_SetMessage, METH_VARARGS | METH_KEYWORDS },
12965 { (char *)"StyledTextEvent_SetWParam", (PyCFunction) _wrap_StyledTextEvent_SetWParam, METH_VARARGS | METH_KEYWORDS },
12966 { (char *)"StyledTextEvent_SetLParam", (PyCFunction) _wrap_StyledTextEvent_SetLParam, METH_VARARGS | METH_KEYWORDS },
12967 { (char *)"StyledTextEvent_SetListType", (PyCFunction) _wrap_StyledTextEvent_SetListType, METH_VARARGS | METH_KEYWORDS },
12968 { (char *)"StyledTextEvent_SetX", (PyCFunction) _wrap_StyledTextEvent_SetX, METH_VARARGS | METH_KEYWORDS },
12969 { (char *)"StyledTextEvent_SetY", (PyCFunction) _wrap_StyledTextEvent_SetY, METH_VARARGS | METH_KEYWORDS },
12970 { (char *)"StyledTextEvent_SetDragText", (PyCFunction) _wrap_StyledTextEvent_SetDragText, METH_VARARGS | METH_KEYWORDS },
12971 { (char *)"StyledTextEvent_SetDragAllowMove", (PyCFunction) _wrap_StyledTextEvent_SetDragAllowMove, METH_VARARGS | METH_KEYWORDS },
12972 { (char *)"StyledTextEvent_SetDragResult", (PyCFunction) _wrap_StyledTextEvent_SetDragResult, METH_VARARGS | METH_KEYWORDS },
12973 { (char *)"StyledTextEvent_GetPosition", (PyCFunction) _wrap_StyledTextEvent_GetPosition, METH_VARARGS | METH_KEYWORDS },
12974 { (char *)"StyledTextEvent_GetKey", (PyCFunction) _wrap_StyledTextEvent_GetKey, METH_VARARGS | METH_KEYWORDS },
12975 { (char *)"StyledTextEvent_GetModifiers", (PyCFunction) _wrap_StyledTextEvent_GetModifiers, METH_VARARGS | METH_KEYWORDS },
12976 { (char *)"StyledTextEvent_GetModificationType", (PyCFunction) _wrap_StyledTextEvent_GetModificationType, METH_VARARGS | METH_KEYWORDS },
12977 { (char *)"StyledTextEvent_GetText", (PyCFunction) _wrap_StyledTextEvent_GetText, METH_VARARGS | METH_KEYWORDS },
12978 { (char *)"StyledTextEvent_GetLength", (PyCFunction) _wrap_StyledTextEvent_GetLength, METH_VARARGS | METH_KEYWORDS },
12979 { (char *)"StyledTextEvent_GetLinesAdded", (PyCFunction) _wrap_StyledTextEvent_GetLinesAdded, METH_VARARGS | METH_KEYWORDS },
12980 { (char *)"StyledTextEvent_GetLine", (PyCFunction) _wrap_StyledTextEvent_GetLine, METH_VARARGS | METH_KEYWORDS },
12981 { (char *)"StyledTextEvent_GetFoldLevelNow", (PyCFunction) _wrap_StyledTextEvent_GetFoldLevelNow, METH_VARARGS | METH_KEYWORDS },
12982 { (char *)"StyledTextEvent_GetFoldLevelPrev", (PyCFunction) _wrap_StyledTextEvent_GetFoldLevelPrev, METH_VARARGS | METH_KEYWORDS },
12983 { (char *)"StyledTextEvent_GetMargin", (PyCFunction) _wrap_StyledTextEvent_GetMargin, METH_VARARGS | METH_KEYWORDS },
12984 { (char *)"StyledTextEvent_GetMessage", (PyCFunction) _wrap_StyledTextEvent_GetMessage, METH_VARARGS | METH_KEYWORDS },
12985 { (char *)"StyledTextEvent_GetWParam", (PyCFunction) _wrap_StyledTextEvent_GetWParam, METH_VARARGS | METH_KEYWORDS },
12986 { (char *)"StyledTextEvent_GetLParam", (PyCFunction) _wrap_StyledTextEvent_GetLParam, METH_VARARGS | METH_KEYWORDS },
12987 { (char *)"StyledTextEvent_GetListType", (PyCFunction) _wrap_StyledTextEvent_GetListType, METH_VARARGS | METH_KEYWORDS },
12988 { (char *)"StyledTextEvent_GetX", (PyCFunction) _wrap_StyledTextEvent_GetX, METH_VARARGS | METH_KEYWORDS },
12989 { (char *)"StyledTextEvent_GetY", (PyCFunction) _wrap_StyledTextEvent_GetY, METH_VARARGS | METH_KEYWORDS },
12990 { (char *)"StyledTextEvent_GetDragText", (PyCFunction) _wrap_StyledTextEvent_GetDragText, METH_VARARGS | METH_KEYWORDS },
12991 { (char *)"StyledTextEvent_GetDragAllowMove", (PyCFunction) _wrap_StyledTextEvent_GetDragAllowMove, METH_VARARGS | METH_KEYWORDS },
12992 { (char *)"StyledTextEvent_GetDragResult", (PyCFunction) _wrap_StyledTextEvent_GetDragResult, METH_VARARGS | METH_KEYWORDS },
12993 { (char *)"StyledTextEvent_GetShift", (PyCFunction) _wrap_StyledTextEvent_GetShift, METH_VARARGS | METH_KEYWORDS },
12994 { (char *)"StyledTextEvent_GetControl", (PyCFunction) _wrap_StyledTextEvent_GetControl, METH_VARARGS | METH_KEYWORDS },
12995 { (char *)"StyledTextEvent_GetAlt", (PyCFunction) _wrap_StyledTextEvent_GetAlt, METH_VARARGS | METH_KEYWORDS },
12996 { (char *)"StyledTextEvent_Clone", (PyCFunction) _wrap_StyledTextEvent_Clone, METH_VARARGS | METH_KEYWORDS },
12997 { (char *)"StyledTextEvent_swigregister", StyledTextEvent_swigregister, METH_VARARGS },
12998 { NULL, NULL }
12999 };
13000
13001
13002 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
13003
13004 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x) {
13005 return (void *)((wxObject *) ((wxLayoutConstraints *) x));
13006 }
13007 static void *_p_wxGBSizerItemTo_p_wxObject(void *x) {
13008 return (void *)((wxObject *) (wxSizerItem *) ((wxGBSizerItem *) x));
13009 }
13010 static void *_p_wxSizerItemTo_p_wxObject(void *x) {
13011 return (void *)((wxObject *) ((wxSizerItem *) x));
13012 }
13013 static void *_p_wxScrollEventTo_p_wxObject(void *x) {
13014 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxScrollEvent *) x));
13015 }
13016 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x) {
13017 return (void *)((wxObject *) ((wxIndividualLayoutConstraint *) x));
13018 }
13019 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x) {
13020 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStaticBoxSizer *) x));
13021 }
13022 static void *_p_wxBoxSizerTo_p_wxObject(void *x) {
13023 return (void *)((wxObject *) (wxSizer *) ((wxBoxSizer *) x));
13024 }
13025 static void *_p_wxSizerTo_p_wxObject(void *x) {
13026 return (void *)((wxObject *) ((wxSizer *) x));
13027 }
13028 static void *_p_wxGridBagSizerTo_p_wxObject(void *x) {
13029 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x));
13030 }
13031 static void *_p_wxFileHistoryTo_p_wxObject(void *x) {
13032 return (void *)((wxObject *) ((wxFileHistory *) x));
13033 }
13034 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x) {
13035 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxUpdateUIEvent *) x));
13036 }
13037 static void *_p_wxEventTo_p_wxObject(void *x) {
13038 return (void *)((wxObject *) ((wxEvent *) x));
13039 }
13040 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x) {
13041 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *) ((wxFlexGridSizer *) x));
13042 }
13043 static void *_p_wxGridSizerTo_p_wxObject(void *x) {
13044 return (void *)((wxObject *) (wxSizer *) ((wxGridSizer *) x));
13045 }
13046 static void *_p_wxInitDialogEventTo_p_wxObject(void *x) {
13047 return (void *)((wxObject *) (wxEvent *) ((wxInitDialogEvent *) x));
13048 }
13049 static void *_p_wxPaintEventTo_p_wxObject(void *x) {
13050 return (void *)((wxObject *) (wxEvent *) ((wxPaintEvent *) x));
13051 }
13052 static void *_p_wxNcPaintEventTo_p_wxObject(void *x) {
13053 return (void *)((wxObject *) (wxEvent *) ((wxNcPaintEvent *) x));
13054 }
13055 static void *_p_wxStyledTextEventTo_p_wxObject(void *x) {
13056 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxStyledTextEvent *) x));
13057 }
13058 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x) {
13059 return (void *)((wxObject *) (wxEvent *) ((wxPaletteChangedEvent *) x));
13060 }
13061 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x) {
13062 return (void *)((wxObject *) (wxEvent *) ((wxDisplayChangedEvent *) x));
13063 }
13064 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x) {
13065 return (void *)((wxObject *) (wxEvent *) ((wxMouseCaptureChangedEvent *) x));
13066 }
13067 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x) {
13068 return (void *)((wxObject *) (wxEvent *) ((wxSysColourChangedEvent *) x));
13069 }
13070 static void *_p_wxControlTo_p_wxObject(void *x) {
13071 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxControl *) x));
13072 }
13073 static void *_p_wxSetCursorEventTo_p_wxObject(void *x) {
13074 return (void *)((wxObject *) (wxEvent *) ((wxSetCursorEvent *) x));
13075 }
13076 static void *_p_wxTimerEventTo_p_wxObject(void *x) {
13077 return (void *)((wxObject *) (wxEvent *) ((wxTimerEvent *) x));
13078 }
13079 static void *_p_wxFSFileTo_p_wxObject(void *x) {
13080 return (void *)((wxObject *) ((wxFSFile *) x));
13081 }
13082 static void *_p_wxClipboardTo_p_wxObject(void *x) {
13083 return (void *)((wxObject *) ((wxClipboard *) x));
13084 }
13085 static void *_p_wxPySizerTo_p_wxObject(void *x) {
13086 return (void *)((wxObject *) (wxSizer *) ((wxPySizer *) x));
13087 }
13088 static void *_p_wxStyledTextCtrlTo_p_wxObject(void *x) {
13089 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxStyledTextCtrl *) x));
13090 }
13091 static void *_p_wxPyEventTo_p_wxObject(void *x) {
13092 return (void *)((wxObject *) (wxEvent *) ((wxPyEvent *) x));
13093 }
13094 static void *_p_wxNotifyEventTo_p_wxObject(void *x) {
13095 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxNotifyEvent *) x));
13096 }
13097 static void *_p_wxShowEventTo_p_wxObject(void *x) {
13098 return (void *)((wxObject *) (wxEvent *) ((wxShowEvent *) x));
13099 }
13100 static void *_p_wxToolTipTo_p_wxObject(void *x) {
13101 return (void *)((wxObject *) ((wxToolTip *) x));
13102 }
13103 static void *_p_wxMenuItemTo_p_wxObject(void *x) {
13104 return (void *)((wxObject *) ((wxMenuItem *) x));
13105 }
13106 static void *_p_wxIdleEventTo_p_wxObject(void *x) {
13107 return (void *)((wxObject *) (wxEvent *) ((wxIdleEvent *) x));
13108 }
13109 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x) {
13110 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowCreateEvent *) x));
13111 }
13112 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x) {
13113 return (void *)((wxObject *) (wxEvent *) ((wxQueryNewPaletteEvent *) x));
13114 }
13115 static void *_p_wxMaximizeEventTo_p_wxObject(void *x) {
13116 return (void *)((wxObject *) (wxEvent *) ((wxMaximizeEvent *) x));
13117 }
13118 static void *_p_wxIconizeEventTo_p_wxObject(void *x) {
13119 return (void *)((wxObject *) (wxEvent *) ((wxIconizeEvent *) x));
13120 }
13121 static void *_p_wxSizeEventTo_p_wxObject(void *x) {
13122 return (void *)((wxObject *) (wxEvent *) ((wxSizeEvent *) x));
13123 }
13124 static void *_p_wxMoveEventTo_p_wxObject(void *x) {
13125 return (void *)((wxObject *) (wxEvent *) ((wxMoveEvent *) x));
13126 }
13127 static void *_p_wxActivateEventTo_p_wxObject(void *x) {
13128 return (void *)((wxObject *) (wxEvent *) ((wxActivateEvent *) x));
13129 }
13130 static void *_p_wxXPMHandlerTo_p_wxObject(void *x) {
13131 return (void *)((wxObject *) (wxImageHandler *) ((wxXPMHandler *) x));
13132 }
13133 static void *_p_wxPNMHandlerTo_p_wxObject(void *x) {
13134 return (void *)((wxObject *) (wxImageHandler *) ((wxPNMHandler *) x));
13135 }
13136 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x) {
13137 return (void *)((wxObject *) (wxImageHandler *) ((wxJPEGHandler *) x));
13138 }
13139 static void *_p_wxPCXHandlerTo_p_wxObject(void *x) {
13140 return (void *)((wxObject *) (wxImageHandler *) ((wxPCXHandler *) x));
13141 }
13142 static void *_p_wxGIFHandlerTo_p_wxObject(void *x) {
13143 return (void *)((wxObject *) (wxImageHandler *) ((wxGIFHandler *) x));
13144 }
13145 static void *_p_wxPNGHandlerTo_p_wxObject(void *x) {
13146 return (void *)((wxObject *) (wxImageHandler *) ((wxPNGHandler *) x));
13147 }
13148 static void *_p_wxANIHandlerTo_p_wxObject(void *x) {
13149 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *)(wxCURHandler *) ((wxANIHandler *) x));
13150 }
13151 static void *_p_wxCURHandlerTo_p_wxObject(void *x) {
13152 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *) ((wxCURHandler *) x));
13153 }
13154 static void *_p_wxICOHandlerTo_p_wxObject(void *x) {
13155 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *) ((wxICOHandler *) x));
13156 }
13157 static void *_p_wxBMPHandlerTo_p_wxObject(void *x) {
13158 return (void *)((wxObject *) (wxImageHandler *) ((wxBMPHandler *) x));
13159 }
13160 static void *_p_wxImageHandlerTo_p_wxObject(void *x) {
13161 return (void *)((wxObject *) ((wxImageHandler *) x));
13162 }
13163 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x) {
13164 return (void *)((wxObject *) (wxImageHandler *) ((wxTIFFHandler *) x));
13165 }
13166 static void *_p_wxEvtHandlerTo_p_wxObject(void *x) {
13167 return (void *)((wxObject *) ((wxEvtHandler *) x));
13168 }
13169 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x) {
13170 return (void *)((wxObject *) ((wxAcceleratorTable *) x));
13171 }
13172 static void *_p_wxImageTo_p_wxObject(void *x) {
13173 return (void *)((wxObject *) ((wxImage *) x));
13174 }
13175 static void *_p_wxScrollWinEventTo_p_wxObject(void *x) {
13176 return (void *)((wxObject *) (wxEvent *) ((wxScrollWinEvent *) x));
13177 }
13178 static void *_p_wxSystemOptionsTo_p_wxObject(void *x) {
13179 return (void *)((wxObject *) ((wxSystemOptions *) x));
13180 }
13181 static void *_p_wxJoystickEventTo_p_wxObject(void *x) {
13182 return (void *)((wxObject *) (wxEvent *) ((wxJoystickEvent *) x));
13183 }
13184 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x) {
13185 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowDestroyEvent *) x));
13186 }
13187 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x) {
13188 return (void *)((wxObject *) (wxEvent *) ((wxNavigationKeyEvent *) x));
13189 }
13190 static void *_p_wxKeyEventTo_p_wxObject(void *x) {
13191 return (void *)((wxObject *) (wxEvent *) ((wxKeyEvent *) x));
13192 }
13193 static void *_p_wxWindowTo_p_wxObject(void *x) {
13194 return (void *)((wxObject *) (wxEvtHandler *) ((wxWindow *) x));
13195 }
13196 static void *_p_wxMenuTo_p_wxObject(void *x) {
13197 return (void *)((wxObject *) (wxEvtHandler *) ((wxMenu *) x));
13198 }
13199 static void *_p_wxMenuBarTo_p_wxObject(void *x) {
13200 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMenuBar *) x));
13201 }
13202 static void *_p_wxPyProcessTo_p_wxObject(void *x) {
13203 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyProcess *) x));
13204 }
13205 static void *_p_wxFileSystemTo_p_wxObject(void *x) {
13206 return (void *)((wxObject *) ((wxFileSystem *) x));
13207 }
13208 static void *_p_wxContextMenuEventTo_p_wxObject(void *x) {
13209 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxContextMenuEvent *) x));
13210 }
13211 static void *_p_wxMenuEventTo_p_wxObject(void *x) {
13212 return (void *)((wxObject *) (wxEvent *) ((wxMenuEvent *) x));
13213 }
13214 static void *_p_wxPyAppTo_p_wxObject(void *x) {
13215 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyApp *) x));
13216 }
13217 static void *_p_wxCloseEventTo_p_wxObject(void *x) {
13218 return (void *)((wxObject *) (wxEvent *) ((wxCloseEvent *) x));
13219 }
13220 static void *_p_wxMouseEventTo_p_wxObject(void *x) {
13221 return (void *)((wxObject *) (wxEvent *) ((wxMouseEvent *) x));
13222 }
13223 static void *_p_wxEraseEventTo_p_wxObject(void *x) {
13224 return (void *)((wxObject *) (wxEvent *) ((wxEraseEvent *) x));
13225 }
13226 static void *_p_wxBusyInfoTo_p_wxObject(void *x) {
13227 return (void *)((wxObject *) ((wxBusyInfo *) x));
13228 }
13229 static void *_p_wxPyCommandEventTo_p_wxObject(void *x) {
13230 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxPyCommandEvent *) x));
13231 }
13232 static void *_p_wxCommandEventTo_p_wxObject(void *x) {
13233 return (void *)((wxObject *) (wxEvent *) ((wxCommandEvent *) x));
13234 }
13235 static void *_p_wxDropFilesEventTo_p_wxObject(void *x) {
13236 return (void *)((wxObject *) (wxEvent *) ((wxDropFilesEvent *) x));
13237 }
13238 static void *_p_wxFocusEventTo_p_wxObject(void *x) {
13239 return (void *)((wxObject *) (wxEvent *) ((wxFocusEvent *) x));
13240 }
13241 static void *_p_wxChildFocusEventTo_p_wxObject(void *x) {
13242 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxChildFocusEvent *) x));
13243 }
13244 static void *_p_wxProcessEventTo_p_wxObject(void *x) {
13245 return (void *)((wxObject *) (wxEvent *) ((wxProcessEvent *) x));
13246 }
13247 static void *_p_wxControlWithItemsTo_p_wxObject(void *x) {
13248 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxControlWithItems *) x));
13249 }
13250 static void *_p_wxPyValidatorTo_p_wxObject(void *x) {
13251 return (void *)((wxObject *) (wxEvtHandler *)(wxValidator *) ((wxPyValidator *) x));
13252 }
13253 static void *_p_wxValidatorTo_p_wxObject(void *x) {
13254 return (void *)((wxObject *) (wxEvtHandler *) ((wxValidator *) x));
13255 }
13256 static void *_p_wxPyTimerTo_p_wxObject(void *x) {
13257 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyTimer *) x));
13258 }
13259 static void *_p_wxControlTo_p_wxWindow(void *x) {
13260 return (void *)((wxWindow *) ((wxControl *) x));
13261 }
13262 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x) {
13263 return (void *)((wxWindow *) (wxControl *) ((wxControlWithItems *) x));
13264 }
13265 static void *_p_wxStyledTextCtrlTo_p_wxWindow(void *x) {
13266 return (void *)((wxWindow *) (wxControl *) ((wxStyledTextCtrl *) x));
13267 }
13268 static void *_p_wxMenuBarTo_p_wxWindow(void *x) {
13269 return (void *)((wxWindow *) ((wxMenuBar *) x));
13270 }
13271 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x) {
13272 return (void *)((wxCommandEvent *) ((wxChildFocusEvent *) x));
13273 }
13274 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x) {
13275 return (void *)((wxCommandEvent *) ((wxScrollEvent *) x));
13276 }
13277 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x) {
13278 return (void *)((wxCommandEvent *) ((wxWindowCreateEvent *) x));
13279 }
13280 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x) {
13281 return (void *)((wxCommandEvent *) ((wxUpdateUIEvent *) x));
13282 }
13283 static void *_p_wxStyledTextEventTo_p_wxCommandEvent(void *x) {
13284 return (void *)((wxCommandEvent *) ((wxStyledTextEvent *) x));
13285 }
13286 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x) {
13287 return (void *)((wxCommandEvent *) ((wxWindowDestroyEvent *) x));
13288 }
13289 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x) {
13290 return (void *)((wxCommandEvent *) ((wxContextMenuEvent *) x));
13291 }
13292 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x) {
13293 return (void *)((wxCommandEvent *) ((wxNotifyEvent *) x));
13294 }
13295 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x) {
13296 return (void *)((wxCommandEvent *) ((wxPyCommandEvent *) x));
13297 }
13298 static void *_p_wxControlTo_p_wxEvtHandler(void *x) {
13299 return (void *)((wxEvtHandler *) (wxWindow *) ((wxControl *) x));
13300 }
13301 static void *_p_wxWindowTo_p_wxEvtHandler(void *x) {
13302 return (void *)((wxEvtHandler *) ((wxWindow *) x));
13303 }
13304 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x) {
13305 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxControlWithItems *) x));
13306 }
13307 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x) {
13308 return (void *)((wxEvtHandler *) ((wxPyApp *) x));
13309 }
13310 static void *_p_wxPyTimerTo_p_wxEvtHandler(void *x) {
13311 return (void *)((wxEvtHandler *) ((wxPyTimer *) x));
13312 }
13313 static void *_p_wxStyledTextCtrlTo_p_wxEvtHandler(void *x) {
13314 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxStyledTextCtrl *) x));
13315 }
13316 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x) {
13317 return (void *)((wxEvtHandler *) ((wxValidator *) x));
13318 }
13319 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x) {
13320 return (void *)((wxEvtHandler *) (wxValidator *) ((wxPyValidator *) x));
13321 }
13322 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x) {
13323 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMenuBar *) x));
13324 }
13325 static void *_p_wxMenuTo_p_wxEvtHandler(void *x) {
13326 return (void *)((wxEvtHandler *) ((wxMenu *) x));
13327 }
13328 static void *_p_wxPyProcessTo_p_wxEvtHandler(void *x) {
13329 return (void *)((wxEvtHandler *) ((wxPyProcess *) x));
13330 }
13331 static void *_p_wxControlWithItemsTo_p_wxControl(void *x) {
13332 return (void *)((wxControl *) ((wxControlWithItems *) x));
13333 }
13334 static void *_p_wxStyledTextCtrlTo_p_wxControl(void *x) {
13335 return (void *)((wxControl *) ((wxStyledTextCtrl *) x));
13336 }
13337 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x) {
13338 return (void *)((wxEvent *) (wxCommandEvent *) ((wxContextMenuEvent *) x));
13339 }
13340 static void *_p_wxMenuEventTo_p_wxEvent(void *x) {
13341 return (void *)((wxEvent *) ((wxMenuEvent *) x));
13342 }
13343 static void *_p_wxCloseEventTo_p_wxEvent(void *x) {
13344 return (void *)((wxEvent *) ((wxCloseEvent *) x));
13345 }
13346 static void *_p_wxMouseEventTo_p_wxEvent(void *x) {
13347 return (void *)((wxEvent *) ((wxMouseEvent *) x));
13348 }
13349 static void *_p_wxEraseEventTo_p_wxEvent(void *x) {
13350 return (void *)((wxEvent *) ((wxEraseEvent *) x));
13351 }
13352 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x) {
13353 return (void *)((wxEvent *) ((wxSetCursorEvent *) x));
13354 }
13355 static void *_p_wxTimerEventTo_p_wxEvent(void *x) {
13356 return (void *)((wxEvent *) ((wxTimerEvent *) x));
13357 }
13358 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x) {
13359 return (void *)((wxEvent *) ((wxInitDialogEvent *) x));
13360 }
13361 static void *_p_wxScrollEventTo_p_wxEvent(void *x) {
13362 return (void *)((wxEvent *) (wxCommandEvent *) ((wxScrollEvent *) x));
13363 }
13364 static void *_p_wxPyEventTo_p_wxEvent(void *x) {
13365 return (void *)((wxEvent *) ((wxPyEvent *) x));
13366 }
13367 static void *_p_wxNotifyEventTo_p_wxEvent(void *x) {
13368 return (void *)((wxEvent *) (wxCommandEvent *) ((wxNotifyEvent *) x));
13369 }
13370 static void *_p_wxJoystickEventTo_p_wxEvent(void *x) {
13371 return (void *)((wxEvent *) ((wxJoystickEvent *) x));
13372 }
13373 static void *_p_wxIdleEventTo_p_wxEvent(void *x) {
13374 return (void *)((wxEvent *) ((wxIdleEvent *) x));
13375 }
13376 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x) {
13377 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowCreateEvent *) x));
13378 }
13379 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x) {
13380 return (void *)((wxEvent *) ((wxQueryNewPaletteEvent *) x));
13381 }
13382 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x) {
13383 return (void *)((wxEvent *) ((wxMaximizeEvent *) x));
13384 }
13385 static void *_p_wxIconizeEventTo_p_wxEvent(void *x) {
13386 return (void *)((wxEvent *) ((wxIconizeEvent *) x));
13387 }
13388 static void *_p_wxActivateEventTo_p_wxEvent(void *x) {
13389 return (void *)((wxEvent *) ((wxActivateEvent *) x));
13390 }
13391 static void *_p_wxSizeEventTo_p_wxEvent(void *x) {
13392 return (void *)((wxEvent *) ((wxSizeEvent *) x));
13393 }
13394 static void *_p_wxMoveEventTo_p_wxEvent(void *x) {
13395 return (void *)((wxEvent *) ((wxMoveEvent *) x));
13396 }
13397 static void *_p_wxPaintEventTo_p_wxEvent(void *x) {
13398 return (void *)((wxEvent *) ((wxPaintEvent *) x));
13399 }
13400 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x) {
13401 return (void *)((wxEvent *) ((wxNcPaintEvent *) x));
13402 }
13403 static void *_p_wxStyledTextEventTo_p_wxEvent(void *x) {
13404 return (void *)((wxEvent *) (wxCommandEvent *) ((wxStyledTextEvent *) x));
13405 }
13406 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x) {
13407 return (void *)((wxEvent *) (wxCommandEvent *) ((wxUpdateUIEvent *) x));
13408 }
13409 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x) {
13410 return (void *)((wxEvent *) ((wxPaletteChangedEvent *) x));
13411 }
13412 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x) {
13413 return (void *)((wxEvent *) ((wxDisplayChangedEvent *) x));
13414 }
13415 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x) {
13416 return (void *)((wxEvent *) ((wxMouseCaptureChangedEvent *) x));
13417 }
13418 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x) {
13419 return (void *)((wxEvent *) ((wxSysColourChangedEvent *) x));
13420 }
13421 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x) {
13422 return (void *)((wxEvent *) ((wxDropFilesEvent *) x));
13423 }
13424 static void *_p_wxFocusEventTo_p_wxEvent(void *x) {
13425 return (void *)((wxEvent *) ((wxFocusEvent *) x));
13426 }
13427 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x) {
13428 return (void *)((wxEvent *) (wxCommandEvent *) ((wxChildFocusEvent *) x));
13429 }
13430 static void *_p_wxProcessEventTo_p_wxEvent(void *x) {
13431 return (void *)((wxEvent *) ((wxProcessEvent *) x));
13432 }
13433 static void *_p_wxShowEventTo_p_wxEvent(void *x) {
13434 return (void *)((wxEvent *) ((wxShowEvent *) x));
13435 }
13436 static void *_p_wxCommandEventTo_p_wxEvent(void *x) {
13437 return (void *)((wxEvent *) ((wxCommandEvent *) x));
13438 }
13439 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x) {
13440 return (void *)((wxEvent *) (wxCommandEvent *) ((wxPyCommandEvent *) x));
13441 }
13442 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x) {
13443 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowDestroyEvent *) x));
13444 }
13445 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x) {
13446 return (void *)((wxEvent *) ((wxNavigationKeyEvent *) x));
13447 }
13448 static void *_p_wxKeyEventTo_p_wxEvent(void *x) {
13449 return (void *)((wxEvent *) ((wxKeyEvent *) x));
13450 }
13451 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x) {
13452 return (void *)((wxEvent *) ((wxScrollWinEvent *) x));
13453 }
13454 static 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}};
13455 static 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}};
13456 static 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}};
13457 static 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}};
13458 static 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}};
13459 static 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}};
13460 static 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}};
13461 static 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}};
13462 static 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}};
13463 static 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}};
13464 static 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}};
13465 static 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}};
13466 static 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}};
13467 static 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}};
13468 static 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}};
13469 static 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}};
13470 static 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}};
13471 static 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}};
13472 static 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}};
13473
13474 static swig_type_info *swig_types_initial[] = {
13475 _swigt__p_wxRect,
13476 _swigt__p_wxColour,
13477 _swigt__p_wxObject,
13478 _swigt__p_wxScrollBar,
13479 _swigt__p_wxStyledTextEvent,
13480 _swigt__p_wxWindow,
13481 _swigt__p_wxCommandEvent,
13482 _swigt__p_wxBitmap,
13483 _swigt__p_void,
13484 _swigt__p_wxPoint,
13485 _swigt__p_wxDC,
13486 _swigt__p_char,
13487 _swigt__p_wxEvtHandler,
13488 _swigt__p_wxStyledTextCtrl,
13489 _swigt__p_wxFont,
13490 _swigt__p_wxControl,
13491 _swigt__p_wxEvent,
13492 _swigt__p_int,
13493 _swigt__p_wxMemoryBuffer,
13494 0
13495 };
13496
13497
13498 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
13499
13500 static swig_const_info swig_const_table[] = {
13501 {0}};
13502
13503 #ifdef __cplusplus
13504 }
13505 #endif
13506
13507 #ifdef __cplusplus
13508 extern "C"
13509 #endif
13510 SWIGEXPORT(void) SWIG_init(void) {
13511 static PyObject *SWIG_globals = 0;
13512 static int typeinit = 0;
13513 PyObject *m, *d;
13514 int i;
13515 if (!SWIG_globals) SWIG_globals = SWIG_newvarlink();
13516 m = Py_InitModule((char *) SWIG_name, SwigMethods);
13517 d = PyModule_GetDict(m);
13518
13519 if (!typeinit) {
13520 for (i = 0; swig_types_initial[i]; i++) {
13521 swig_types[i] = SWIG_TypeRegister(swig_types_initial[i]);
13522 }
13523 typeinit = 1;
13524 }
13525 SWIG_InstallConstants(d,swig_const_table);
13526
13527 PyDict_SetItemString(d,(char*)"cvar", SWIG_globals);
13528 SWIG_addvarlink(SWIG_globals,(char*)"STCNameStr",_wrap_STCNameStr_get, _wrap_STCNameStr_set);
13529 PyDict_SetItemString(d,"STC_USE_DND", SWIG_FromInt((int)1));
13530 PyDict_SetItemString(d,"STC_USE_POPUP", SWIG_FromInt((int)1));
13531 PyDict_SetItemString(d,"STC_INVALID_POSITION", SWIG_FromInt((int)-1));
13532 PyDict_SetItemString(d,"STC_START", SWIG_FromInt((int)2000));
13533 PyDict_SetItemString(d,"STC_OPTIONAL_START", SWIG_FromInt((int)3000));
13534 PyDict_SetItemString(d,"STC_LEXER_START", SWIG_FromInt((int)4000));
13535 PyDict_SetItemString(d,"STC_WS_INVISIBLE", SWIG_FromInt((int)0));
13536 PyDict_SetItemString(d,"STC_WS_VISIBLEALWAYS", SWIG_FromInt((int)1));
13537 PyDict_SetItemString(d,"STC_WS_VISIBLEAFTERINDENT", SWIG_FromInt((int)2));
13538 PyDict_SetItemString(d,"STC_EOL_CRLF", SWIG_FromInt((int)0));
13539 PyDict_SetItemString(d,"STC_EOL_CR", SWIG_FromInt((int)1));
13540 PyDict_SetItemString(d,"STC_EOL_LF", SWIG_FromInt((int)2));
13541 PyDict_SetItemString(d,"STC_CP_UTF8", SWIG_FromInt((int)65001));
13542 PyDict_SetItemString(d,"STC_CP_DBCS", SWIG_FromInt((int)1));
13543 PyDict_SetItemString(d,"STC_MARKER_MAX", SWIG_FromInt((int)31));
13544 PyDict_SetItemString(d,"STC_MARK_CIRCLE", SWIG_FromInt((int)0));
13545 PyDict_SetItemString(d,"STC_MARK_ROUNDRECT", SWIG_FromInt((int)1));
13546 PyDict_SetItemString(d,"STC_MARK_ARROW", SWIG_FromInt((int)2));
13547 PyDict_SetItemString(d,"STC_MARK_SMALLRECT", SWIG_FromInt((int)3));
13548 PyDict_SetItemString(d,"STC_MARK_SHORTARROW", SWIG_FromInt((int)4));
13549 PyDict_SetItemString(d,"STC_MARK_EMPTY", SWIG_FromInt((int)5));
13550 PyDict_SetItemString(d,"STC_MARK_ARROWDOWN", SWIG_FromInt((int)6));
13551 PyDict_SetItemString(d,"STC_MARK_MINUS", SWIG_FromInt((int)7));
13552 PyDict_SetItemString(d,"STC_MARK_PLUS", SWIG_FromInt((int)8));
13553 PyDict_SetItemString(d,"STC_MARK_VLINE", SWIG_FromInt((int)9));
13554 PyDict_SetItemString(d,"STC_MARK_LCORNER", SWIG_FromInt((int)10));
13555 PyDict_SetItemString(d,"STC_MARK_TCORNER", SWIG_FromInt((int)11));
13556 PyDict_SetItemString(d,"STC_MARK_BOXPLUS", SWIG_FromInt((int)12));
13557 PyDict_SetItemString(d,"STC_MARK_BOXPLUSCONNECTED", SWIG_FromInt((int)13));
13558 PyDict_SetItemString(d,"STC_MARK_BOXMINUS", SWIG_FromInt((int)14));
13559 PyDict_SetItemString(d,"STC_MARK_BOXMINUSCONNECTED", SWIG_FromInt((int)15));
13560 PyDict_SetItemString(d,"STC_MARK_LCORNERCURVE", SWIG_FromInt((int)16));
13561 PyDict_SetItemString(d,"STC_MARK_TCORNERCURVE", SWIG_FromInt((int)17));
13562 PyDict_SetItemString(d,"STC_MARK_CIRCLEPLUS", SWIG_FromInt((int)18));
13563 PyDict_SetItemString(d,"STC_MARK_CIRCLEPLUSCONNECTED", SWIG_FromInt((int)19));
13564 PyDict_SetItemString(d,"STC_MARK_CIRCLEMINUS", SWIG_FromInt((int)20));
13565 PyDict_SetItemString(d,"STC_MARK_CIRCLEMINUSCONNECTED", SWIG_FromInt((int)21));
13566 PyDict_SetItemString(d,"STC_MARK_BACKGROUND", SWIG_FromInt((int)22));
13567 PyDict_SetItemString(d,"STC_MARK_DOTDOTDOT", SWIG_FromInt((int)23));
13568 PyDict_SetItemString(d,"STC_MARK_ARROWS", SWIG_FromInt((int)24));
13569 PyDict_SetItemString(d,"STC_MARK_PIXMAP", SWIG_FromInt((int)25));
13570 PyDict_SetItemString(d,"STC_MARK_CHARACTER", SWIG_FromInt((int)10000));
13571 PyDict_SetItemString(d,"STC_MARKNUM_FOLDEREND", SWIG_FromInt((int)25));
13572 PyDict_SetItemString(d,"STC_MARKNUM_FOLDEROPENMID", SWIG_FromInt((int)26));
13573 PyDict_SetItemString(d,"STC_MARKNUM_FOLDERMIDTAIL", SWIG_FromInt((int)27));
13574 PyDict_SetItemString(d,"STC_MARKNUM_FOLDERTAIL", SWIG_FromInt((int)28));
13575 PyDict_SetItemString(d,"STC_MARKNUM_FOLDERSUB", SWIG_FromInt((int)29));
13576 PyDict_SetItemString(d,"STC_MARKNUM_FOLDER", SWIG_FromInt((int)30));
13577 PyDict_SetItemString(d,"STC_MARKNUM_FOLDEROPEN", SWIG_FromInt((int)31));
13578 PyDict_SetItemString(d,"STC_MASK_FOLDERS", SWIG_FromInt((int)0xFE000000));
13579 PyDict_SetItemString(d,"STC_MARGIN_SYMBOL", SWIG_FromInt((int)0));
13580 PyDict_SetItemString(d,"STC_MARGIN_NUMBER", SWIG_FromInt((int)1));
13581 PyDict_SetItemString(d,"STC_STYLE_DEFAULT", SWIG_FromInt((int)32));
13582 PyDict_SetItemString(d,"STC_STYLE_LINENUMBER", SWIG_FromInt((int)33));
13583 PyDict_SetItemString(d,"STC_STYLE_BRACELIGHT", SWIG_FromInt((int)34));
13584 PyDict_SetItemString(d,"STC_STYLE_BRACEBAD", SWIG_FromInt((int)35));
13585 PyDict_SetItemString(d,"STC_STYLE_CONTROLCHAR", SWIG_FromInt((int)36));
13586 PyDict_SetItemString(d,"STC_STYLE_INDENTGUIDE", SWIG_FromInt((int)37));
13587 PyDict_SetItemString(d,"STC_STYLE_LASTPREDEFINED", SWIG_FromInt((int)39));
13588 PyDict_SetItemString(d,"STC_STYLE_MAX", SWIG_FromInt((int)127));
13589 PyDict_SetItemString(d,"STC_CHARSET_ANSI", SWIG_FromInt((int)0));
13590 PyDict_SetItemString(d,"STC_CHARSET_DEFAULT", SWIG_FromInt((int)1));
13591 PyDict_SetItemString(d,"STC_CHARSET_BALTIC", SWIG_FromInt((int)186));
13592 PyDict_SetItemString(d,"STC_CHARSET_CHINESEBIG5", SWIG_FromInt((int)136));
13593 PyDict_SetItemString(d,"STC_CHARSET_EASTEUROPE", SWIG_FromInt((int)238));
13594 PyDict_SetItemString(d,"STC_CHARSET_GB2312", SWIG_FromInt((int)134));
13595 PyDict_SetItemString(d,"STC_CHARSET_GREEK", SWIG_FromInt((int)161));
13596 PyDict_SetItemString(d,"STC_CHARSET_HANGUL", SWIG_FromInt((int)129));
13597 PyDict_SetItemString(d,"STC_CHARSET_MAC", SWIG_FromInt((int)77));
13598 PyDict_SetItemString(d,"STC_CHARSET_OEM", SWIG_FromInt((int)255));
13599 PyDict_SetItemString(d,"STC_CHARSET_RUSSIAN", SWIG_FromInt((int)204));
13600 PyDict_SetItemString(d,"STC_CHARSET_SHIFTJIS", SWIG_FromInt((int)128));
13601 PyDict_SetItemString(d,"STC_CHARSET_SYMBOL", SWIG_FromInt((int)2));
13602 PyDict_SetItemString(d,"STC_CHARSET_TURKISH", SWIG_FromInt((int)162));
13603 PyDict_SetItemString(d,"STC_CHARSET_JOHAB", SWIG_FromInt((int)130));
13604 PyDict_SetItemString(d,"STC_CHARSET_HEBREW", SWIG_FromInt((int)177));
13605 PyDict_SetItemString(d,"STC_CHARSET_ARABIC", SWIG_FromInt((int)178));
13606 PyDict_SetItemString(d,"STC_CHARSET_VIETNAMESE", SWIG_FromInt((int)163));
13607 PyDict_SetItemString(d,"STC_CHARSET_THAI", SWIG_FromInt((int)222));
13608 PyDict_SetItemString(d,"STC_CASE_MIXED", SWIG_FromInt((int)0));
13609 PyDict_SetItemString(d,"STC_CASE_UPPER", SWIG_FromInt((int)1));
13610 PyDict_SetItemString(d,"STC_CASE_LOWER", SWIG_FromInt((int)2));
13611 PyDict_SetItemString(d,"STC_INDIC_MAX", SWIG_FromInt((int)7));
13612 PyDict_SetItemString(d,"STC_INDIC_PLAIN", SWIG_FromInt((int)0));
13613 PyDict_SetItemString(d,"STC_INDIC_SQUIGGLE", SWIG_FromInt((int)1));
13614 PyDict_SetItemString(d,"STC_INDIC_TT", SWIG_FromInt((int)2));
13615 PyDict_SetItemString(d,"STC_INDIC_DIAGONAL", SWIG_FromInt((int)3));
13616 PyDict_SetItemString(d,"STC_INDIC_STRIKE", SWIG_FromInt((int)4));
13617 PyDict_SetItemString(d,"STC_INDIC_HIDDEN", SWIG_FromInt((int)5));
13618 PyDict_SetItemString(d,"STC_INDIC_BOX", SWIG_FromInt((int)6));
13619 PyDict_SetItemString(d,"STC_INDIC0_MASK", SWIG_FromInt((int)0x20));
13620 PyDict_SetItemString(d,"STC_INDIC1_MASK", SWIG_FromInt((int)0x40));
13621 PyDict_SetItemString(d,"STC_INDIC2_MASK", SWIG_FromInt((int)0x80));
13622 PyDict_SetItemString(d,"STC_INDICS_MASK", SWIG_FromInt((int)0xE0));
13623 PyDict_SetItemString(d,"STC_PRINT_NORMAL", SWIG_FromInt((int)0));
13624 PyDict_SetItemString(d,"STC_PRINT_INVERTLIGHT", SWIG_FromInt((int)1));
13625 PyDict_SetItemString(d,"STC_PRINT_BLACKONWHITE", SWIG_FromInt((int)2));
13626 PyDict_SetItemString(d,"STC_PRINT_COLOURONWHITE", SWIG_FromInt((int)3));
13627 PyDict_SetItemString(d,"STC_PRINT_COLOURONWHITEDEFAULTBG", SWIG_FromInt((int)4));
13628 PyDict_SetItemString(d,"STC_FIND_WHOLEWORD", SWIG_FromInt((int)2));
13629 PyDict_SetItemString(d,"STC_FIND_MATCHCASE", SWIG_FromInt((int)4));
13630 PyDict_SetItemString(d,"STC_FIND_WORDSTART", SWIG_FromInt((int)0x00100000));
13631 PyDict_SetItemString(d,"STC_FIND_REGEXP", SWIG_FromInt((int)0x00200000));
13632 PyDict_SetItemString(d,"STC_FIND_POSIX", SWIG_FromInt((int)0x00400000));
13633 PyDict_SetItemString(d,"STC_FOLDLEVELBASE", SWIG_FromInt((int)0x400));
13634 PyDict_SetItemString(d,"STC_FOLDLEVELWHITEFLAG", SWIG_FromInt((int)0x1000));
13635 PyDict_SetItemString(d,"STC_FOLDLEVELHEADERFLAG", SWIG_FromInt((int)0x2000));
13636 PyDict_SetItemString(d,"STC_FOLDLEVELBOXHEADERFLAG", SWIG_FromInt((int)0x4000));
13637 PyDict_SetItemString(d,"STC_FOLDLEVELBOXFOOTERFLAG", SWIG_FromInt((int)0x8000));
13638 PyDict_SetItemString(d,"STC_FOLDLEVELCONTRACTED", SWIG_FromInt((int)0x10000));
13639 PyDict_SetItemString(d,"STC_FOLDLEVELUNINDENT", SWIG_FromInt((int)0x20000));
13640 PyDict_SetItemString(d,"STC_FOLDLEVELNUMBERMASK", SWIG_FromInt((int)0x0FFF));
13641 PyDict_SetItemString(d,"STC_FOLDFLAG_LINEBEFORE_EXPANDED", SWIG_FromInt((int)0x0002));
13642 PyDict_SetItemString(d,"STC_FOLDFLAG_LINEBEFORE_CONTRACTED", SWIG_FromInt((int)0x0004));
13643 PyDict_SetItemString(d,"STC_FOLDFLAG_LINEAFTER_EXPANDED", SWIG_FromInt((int)0x0008));
13644 PyDict_SetItemString(d,"STC_FOLDFLAG_LINEAFTER_CONTRACTED", SWIG_FromInt((int)0x0010));
13645 PyDict_SetItemString(d,"STC_FOLDFLAG_LEVELNUMBERS", SWIG_FromInt((int)0x0040));
13646 PyDict_SetItemString(d,"STC_FOLDFLAG_BOX", SWIG_FromInt((int)0x0001));
13647 PyDict_SetItemString(d,"STC_TIME_FOREVER", SWIG_FromInt((int)10000000));
13648 PyDict_SetItemString(d,"STC_WRAP_NONE", SWIG_FromInt((int)0));
13649 PyDict_SetItemString(d,"STC_WRAP_WORD", SWIG_FromInt((int)1));
13650 PyDict_SetItemString(d,"STC_CACHE_NONE", SWIG_FromInt((int)0));
13651 PyDict_SetItemString(d,"STC_CACHE_CARET", SWIG_FromInt((int)1));
13652 PyDict_SetItemString(d,"STC_CACHE_PAGE", SWIG_FromInt((int)2));
13653 PyDict_SetItemString(d,"STC_CACHE_DOCUMENT", SWIG_FromInt((int)3));
13654 PyDict_SetItemString(d,"STC_EDGE_NONE", SWIG_FromInt((int)0));
13655 PyDict_SetItemString(d,"STC_EDGE_LINE", SWIG_FromInt((int)1));
13656 PyDict_SetItemString(d,"STC_EDGE_BACKGROUND", SWIG_FromInt((int)2));
13657 PyDict_SetItemString(d,"STC_CURSORNORMAL", SWIG_FromInt((int)-1));
13658 PyDict_SetItemString(d,"STC_CURSORWAIT", SWIG_FromInt((int)4));
13659 PyDict_SetItemString(d,"STC_VISIBLE_SLOP", SWIG_FromInt((int)0x01));
13660 PyDict_SetItemString(d,"STC_VISIBLE_STRICT", SWIG_FromInt((int)0x04));
13661 PyDict_SetItemString(d,"STC_CARET_SLOP", SWIG_FromInt((int)0x01));
13662 PyDict_SetItemString(d,"STC_CARET_STRICT", SWIG_FromInt((int)0x04));
13663 PyDict_SetItemString(d,"STC_CARET_JUMPS", SWIG_FromInt((int)0x10));
13664 PyDict_SetItemString(d,"STC_CARET_EVEN", SWIG_FromInt((int)0x08));
13665 PyDict_SetItemString(d,"STC_SEL_STREAM", SWIG_FromInt((int)0));
13666 PyDict_SetItemString(d,"STC_SEL_RECTANGLE", SWIG_FromInt((int)1));
13667 PyDict_SetItemString(d,"STC_SEL_LINES", SWIG_FromInt((int)2));
13668 PyDict_SetItemString(d,"STC_KEYWORDSET_MAX", SWIG_FromInt((int)8));
13669 PyDict_SetItemString(d,"STC_MOD_INSERTTEXT", SWIG_FromInt((int)0x1));
13670 PyDict_SetItemString(d,"STC_MOD_DELETETEXT", SWIG_FromInt((int)0x2));
13671 PyDict_SetItemString(d,"STC_MOD_CHANGESTYLE", SWIG_FromInt((int)0x4));
13672 PyDict_SetItemString(d,"STC_MOD_CHANGEFOLD", SWIG_FromInt((int)0x8));
13673 PyDict_SetItemString(d,"STC_PERFORMED_USER", SWIG_FromInt((int)0x10));
13674 PyDict_SetItemString(d,"STC_PERFORMED_UNDO", SWIG_FromInt((int)0x20));
13675 PyDict_SetItemString(d,"STC_PERFORMED_REDO", SWIG_FromInt((int)0x40));
13676 PyDict_SetItemString(d,"STC_LASTSTEPINUNDOREDO", SWIG_FromInt((int)0x100));
13677 PyDict_SetItemString(d,"STC_MOD_CHANGEMARKER", SWIG_FromInt((int)0x200));
13678 PyDict_SetItemString(d,"STC_MOD_BEFOREINSERT", SWIG_FromInt((int)0x400));
13679 PyDict_SetItemString(d,"STC_MOD_BEFOREDELETE", SWIG_FromInt((int)0x800));
13680 PyDict_SetItemString(d,"STC_MODEVENTMASKALL", SWIG_FromInt((int)0xF77));
13681 PyDict_SetItemString(d,"STC_KEY_DOWN", SWIG_FromInt((int)300));
13682 PyDict_SetItemString(d,"STC_KEY_UP", SWIG_FromInt((int)301));
13683 PyDict_SetItemString(d,"STC_KEY_LEFT", SWIG_FromInt((int)302));
13684 PyDict_SetItemString(d,"STC_KEY_RIGHT", SWIG_FromInt((int)303));
13685 PyDict_SetItemString(d,"STC_KEY_HOME", SWIG_FromInt((int)304));
13686 PyDict_SetItemString(d,"STC_KEY_END", SWIG_FromInt((int)305));
13687 PyDict_SetItemString(d,"STC_KEY_PRIOR", SWIG_FromInt((int)306));
13688 PyDict_SetItemString(d,"STC_KEY_NEXT", SWIG_FromInt((int)307));
13689 PyDict_SetItemString(d,"STC_KEY_DELETE", SWIG_FromInt((int)308));
13690 PyDict_SetItemString(d,"STC_KEY_INSERT", SWIG_FromInt((int)309));
13691 PyDict_SetItemString(d,"STC_KEY_ESCAPE", SWIG_FromInt((int)7));
13692 PyDict_SetItemString(d,"STC_KEY_BACK", SWIG_FromInt((int)8));
13693 PyDict_SetItemString(d,"STC_KEY_TAB", SWIG_FromInt((int)9));
13694 PyDict_SetItemString(d,"STC_KEY_RETURN", SWIG_FromInt((int)13));
13695 PyDict_SetItemString(d,"STC_KEY_ADD", SWIG_FromInt((int)310));
13696 PyDict_SetItemString(d,"STC_KEY_SUBTRACT", SWIG_FromInt((int)311));
13697 PyDict_SetItemString(d,"STC_KEY_DIVIDE", SWIG_FromInt((int)312));
13698 PyDict_SetItemString(d,"STC_SCMOD_SHIFT", SWIG_FromInt((int)1));
13699 PyDict_SetItemString(d,"STC_SCMOD_CTRL", SWIG_FromInt((int)2));
13700 PyDict_SetItemString(d,"STC_SCMOD_ALT", SWIG_FromInt((int)4));
13701 PyDict_SetItemString(d,"STC_LEX_CONTAINER", SWIG_FromInt((int)0));
13702 PyDict_SetItemString(d,"STC_LEX_NULL", SWIG_FromInt((int)1));
13703 PyDict_SetItemString(d,"STC_LEX_PYTHON", SWIG_FromInt((int)2));
13704 PyDict_SetItemString(d,"STC_LEX_CPP", SWIG_FromInt((int)3));
13705 PyDict_SetItemString(d,"STC_LEX_HTML", SWIG_FromInt((int)4));
13706 PyDict_SetItemString(d,"STC_LEX_XML", SWIG_FromInt((int)5));
13707 PyDict_SetItemString(d,"STC_LEX_PERL", SWIG_FromInt((int)6));
13708 PyDict_SetItemString(d,"STC_LEX_SQL", SWIG_FromInt((int)7));
13709 PyDict_SetItemString(d,"STC_LEX_VB", SWIG_FromInt((int)8));
13710 PyDict_SetItemString(d,"STC_LEX_PROPERTIES", SWIG_FromInt((int)9));
13711 PyDict_SetItemString(d,"STC_LEX_ERRORLIST", SWIG_FromInt((int)10));
13712 PyDict_SetItemString(d,"STC_LEX_MAKEFILE", SWIG_FromInt((int)11));
13713 PyDict_SetItemString(d,"STC_LEX_BATCH", SWIG_FromInt((int)12));
13714 PyDict_SetItemString(d,"STC_LEX_XCODE", SWIG_FromInt((int)13));
13715 PyDict_SetItemString(d,"STC_LEX_LATEX", SWIG_FromInt((int)14));
13716 PyDict_SetItemString(d,"STC_LEX_LUA", SWIG_FromInt((int)15));
13717 PyDict_SetItemString(d,"STC_LEX_DIFF", SWIG_FromInt((int)16));
13718 PyDict_SetItemString(d,"STC_LEX_CONF", SWIG_FromInt((int)17));
13719 PyDict_SetItemString(d,"STC_LEX_PASCAL", SWIG_FromInt((int)18));
13720 PyDict_SetItemString(d,"STC_LEX_AVE", SWIG_FromInt((int)19));
13721 PyDict_SetItemString(d,"STC_LEX_ADA", SWIG_FromInt((int)20));
13722 PyDict_SetItemString(d,"STC_LEX_LISP", SWIG_FromInt((int)21));
13723 PyDict_SetItemString(d,"STC_LEX_RUBY", SWIG_FromInt((int)22));
13724 PyDict_SetItemString(d,"STC_LEX_EIFFEL", SWIG_FromInt((int)23));
13725 PyDict_SetItemString(d,"STC_LEX_EIFFELKW", SWIG_FromInt((int)24));
13726 PyDict_SetItemString(d,"STC_LEX_TCL", SWIG_FromInt((int)25));
13727 PyDict_SetItemString(d,"STC_LEX_NNCRONTAB", SWIG_FromInt((int)26));
13728 PyDict_SetItemString(d,"STC_LEX_BULLANT", SWIG_FromInt((int)27));
13729 PyDict_SetItemString(d,"STC_LEX_VBSCRIPT", SWIG_FromInt((int)28));
13730 PyDict_SetItemString(d,"STC_LEX_ASP", SWIG_FromInt((int)29));
13731 PyDict_SetItemString(d,"STC_LEX_PHP", SWIG_FromInt((int)30));
13732 PyDict_SetItemString(d,"STC_LEX_BAAN", SWIG_FromInt((int)31));
13733 PyDict_SetItemString(d,"STC_LEX_MATLAB", SWIG_FromInt((int)32));
13734 PyDict_SetItemString(d,"STC_LEX_SCRIPTOL", SWIG_FromInt((int)33));
13735 PyDict_SetItemString(d,"STC_LEX_ASM", SWIG_FromInt((int)34));
13736 PyDict_SetItemString(d,"STC_LEX_CPPNOCASE", SWIG_FromInt((int)35));
13737 PyDict_SetItemString(d,"STC_LEX_FORTRAN", SWIG_FromInt((int)36));
13738 PyDict_SetItemString(d,"STC_LEX_F77", SWIG_FromInt((int)37));
13739 PyDict_SetItemString(d,"STC_LEX_CSS", SWIG_FromInt((int)38));
13740 PyDict_SetItemString(d,"STC_LEX_POV", SWIG_FromInt((int)39));
13741 PyDict_SetItemString(d,"STC_LEX_LOUT", SWIG_FromInt((int)40));
13742 PyDict_SetItemString(d,"STC_LEX_ESCRIPT", SWIG_FromInt((int)41));
13743 PyDict_SetItemString(d,"STC_LEX_PS", SWIG_FromInt((int)42));
13744 PyDict_SetItemString(d,"STC_LEX_NSIS", SWIG_FromInt((int)43));
13745 PyDict_SetItemString(d,"STC_LEX_MMIXAL", SWIG_FromInt((int)44));
13746 PyDict_SetItemString(d,"STC_LEX_CLW", SWIG_FromInt((int)45));
13747 PyDict_SetItemString(d,"STC_LEX_CLWNOCASE", SWIG_FromInt((int)46));
13748 PyDict_SetItemString(d,"STC_LEX_LOT", SWIG_FromInt((int)47));
13749 PyDict_SetItemString(d,"STC_LEX_YAML", SWIG_FromInt((int)48));
13750 PyDict_SetItemString(d,"STC_LEX_TEX", SWIG_FromInt((int)49));
13751 PyDict_SetItemString(d,"STC_LEX_METAPOST", SWIG_FromInt((int)50));
13752 PyDict_SetItemString(d,"STC_LEX_POWERBASIC", SWIG_FromInt((int)51));
13753 PyDict_SetItemString(d,"STC_LEX_FORTH", SWIG_FromInt((int)52));
13754 PyDict_SetItemString(d,"STC_LEX_ERLANG", SWIG_FromInt((int)53));
13755 PyDict_SetItemString(d,"STC_LEX_OCTAVE", SWIG_FromInt((int)54));
13756 PyDict_SetItemString(d,"STC_LEX_AUTOMATIC", SWIG_FromInt((int)1000));
13757 PyDict_SetItemString(d,"STC_P_DEFAULT", SWIG_FromInt((int)0));
13758 PyDict_SetItemString(d,"STC_P_COMMENTLINE", SWIG_FromInt((int)1));
13759 PyDict_SetItemString(d,"STC_P_NUMBER", SWIG_FromInt((int)2));
13760 PyDict_SetItemString(d,"STC_P_STRING", SWIG_FromInt((int)3));
13761 PyDict_SetItemString(d,"STC_P_CHARACTER", SWIG_FromInt((int)4));
13762 PyDict_SetItemString(d,"STC_P_WORD", SWIG_FromInt((int)5));
13763 PyDict_SetItemString(d,"STC_P_TRIPLE", SWIG_FromInt((int)6));
13764 PyDict_SetItemString(d,"STC_P_TRIPLEDOUBLE", SWIG_FromInt((int)7));
13765 PyDict_SetItemString(d,"STC_P_CLASSNAME", SWIG_FromInt((int)8));
13766 PyDict_SetItemString(d,"STC_P_DEFNAME", SWIG_FromInt((int)9));
13767 PyDict_SetItemString(d,"STC_P_OPERATOR", SWIG_FromInt((int)10));
13768 PyDict_SetItemString(d,"STC_P_IDENTIFIER", SWIG_FromInt((int)11));
13769 PyDict_SetItemString(d,"STC_P_COMMENTBLOCK", SWIG_FromInt((int)12));
13770 PyDict_SetItemString(d,"STC_P_STRINGEOL", SWIG_FromInt((int)13));
13771 PyDict_SetItemString(d,"STC_C_DEFAULT", SWIG_FromInt((int)0));
13772 PyDict_SetItemString(d,"STC_C_COMMENT", SWIG_FromInt((int)1));
13773 PyDict_SetItemString(d,"STC_C_COMMENTLINE", SWIG_FromInt((int)2));
13774 PyDict_SetItemString(d,"STC_C_COMMENTDOC", SWIG_FromInt((int)3));
13775 PyDict_SetItemString(d,"STC_C_NUMBER", SWIG_FromInt((int)4));
13776 PyDict_SetItemString(d,"STC_C_WORD", SWIG_FromInt((int)5));
13777 PyDict_SetItemString(d,"STC_C_STRING", SWIG_FromInt((int)6));
13778 PyDict_SetItemString(d,"STC_C_CHARACTER", SWIG_FromInt((int)7));
13779 PyDict_SetItemString(d,"STC_C_UUID", SWIG_FromInt((int)8));
13780 PyDict_SetItemString(d,"STC_C_PREPROCESSOR", SWIG_FromInt((int)9));
13781 PyDict_SetItemString(d,"STC_C_OPERATOR", SWIG_FromInt((int)10));
13782 PyDict_SetItemString(d,"STC_C_IDENTIFIER", SWIG_FromInt((int)11));
13783 PyDict_SetItemString(d,"STC_C_STRINGEOL", SWIG_FromInt((int)12));
13784 PyDict_SetItemString(d,"STC_C_VERBATIM", SWIG_FromInt((int)13));
13785 PyDict_SetItemString(d,"STC_C_REGEX", SWIG_FromInt((int)14));
13786 PyDict_SetItemString(d,"STC_C_COMMENTLINEDOC", SWIG_FromInt((int)15));
13787 PyDict_SetItemString(d,"STC_C_WORD2", SWIG_FromInt((int)16));
13788 PyDict_SetItemString(d,"STC_C_COMMENTDOCKEYWORD", SWIG_FromInt((int)17));
13789 PyDict_SetItemString(d,"STC_C_COMMENTDOCKEYWORDERROR", SWIG_FromInt((int)18));
13790 PyDict_SetItemString(d,"STC_C_GLOBALCLASS", SWIG_FromInt((int)19));
13791 PyDict_SetItemString(d,"STC_H_DEFAULT", SWIG_FromInt((int)0));
13792 PyDict_SetItemString(d,"STC_H_TAG", SWIG_FromInt((int)1));
13793 PyDict_SetItemString(d,"STC_H_TAGUNKNOWN", SWIG_FromInt((int)2));
13794 PyDict_SetItemString(d,"STC_H_ATTRIBUTE", SWIG_FromInt((int)3));
13795 PyDict_SetItemString(d,"STC_H_ATTRIBUTEUNKNOWN", SWIG_FromInt((int)4));
13796 PyDict_SetItemString(d,"STC_H_NUMBER", SWIG_FromInt((int)5));
13797 PyDict_SetItemString(d,"STC_H_DOUBLESTRING", SWIG_FromInt((int)6));
13798 PyDict_SetItemString(d,"STC_H_SINGLESTRING", SWIG_FromInt((int)7));
13799 PyDict_SetItemString(d,"STC_H_OTHER", SWIG_FromInt((int)8));
13800 PyDict_SetItemString(d,"STC_H_COMMENT", SWIG_FromInt((int)9));
13801 PyDict_SetItemString(d,"STC_H_ENTITY", SWIG_FromInt((int)10));
13802 PyDict_SetItemString(d,"STC_H_TAGEND", SWIG_FromInt((int)11));
13803 PyDict_SetItemString(d,"STC_H_XMLSTART", SWIG_FromInt((int)12));
13804 PyDict_SetItemString(d,"STC_H_XMLEND", SWIG_FromInt((int)13));
13805 PyDict_SetItemString(d,"STC_H_SCRIPT", SWIG_FromInt((int)14));
13806 PyDict_SetItemString(d,"STC_H_ASP", SWIG_FromInt((int)15));
13807 PyDict_SetItemString(d,"STC_H_ASPAT", SWIG_FromInt((int)16));
13808 PyDict_SetItemString(d,"STC_H_CDATA", SWIG_FromInt((int)17));
13809 PyDict_SetItemString(d,"STC_H_QUESTION", SWIG_FromInt((int)18));
13810 PyDict_SetItemString(d,"STC_H_VALUE", SWIG_FromInt((int)19));
13811 PyDict_SetItemString(d,"STC_H_XCCOMMENT", SWIG_FromInt((int)20));
13812 PyDict_SetItemString(d,"STC_H_SGML_DEFAULT", SWIG_FromInt((int)21));
13813 PyDict_SetItemString(d,"STC_H_SGML_COMMAND", SWIG_FromInt((int)22));
13814 PyDict_SetItemString(d,"STC_H_SGML_1ST_PARAM", SWIG_FromInt((int)23));
13815 PyDict_SetItemString(d,"STC_H_SGML_DOUBLESTRING", SWIG_FromInt((int)24));
13816 PyDict_SetItemString(d,"STC_H_SGML_SIMPLESTRING", SWIG_FromInt((int)25));
13817 PyDict_SetItemString(d,"STC_H_SGML_ERROR", SWIG_FromInt((int)26));
13818 PyDict_SetItemString(d,"STC_H_SGML_SPECIAL", SWIG_FromInt((int)27));
13819 PyDict_SetItemString(d,"STC_H_SGML_ENTITY", SWIG_FromInt((int)28));
13820 PyDict_SetItemString(d,"STC_H_SGML_COMMENT", SWIG_FromInt((int)29));
13821 PyDict_SetItemString(d,"STC_H_SGML_1ST_PARAM_COMMENT", SWIG_FromInt((int)30));
13822 PyDict_SetItemString(d,"STC_H_SGML_BLOCK_DEFAULT", SWIG_FromInt((int)31));
13823 PyDict_SetItemString(d,"STC_HJ_START", SWIG_FromInt((int)40));
13824 PyDict_SetItemString(d,"STC_HJ_DEFAULT", SWIG_FromInt((int)41));
13825 PyDict_SetItemString(d,"STC_HJ_COMMENT", SWIG_FromInt((int)42));
13826 PyDict_SetItemString(d,"STC_HJ_COMMENTLINE", SWIG_FromInt((int)43));
13827 PyDict_SetItemString(d,"STC_HJ_COMMENTDOC", SWIG_FromInt((int)44));
13828 PyDict_SetItemString(d,"STC_HJ_NUMBER", SWIG_FromInt((int)45));
13829 PyDict_SetItemString(d,"STC_HJ_WORD", SWIG_FromInt((int)46));
13830 PyDict_SetItemString(d,"STC_HJ_KEYWORD", SWIG_FromInt((int)47));
13831 PyDict_SetItemString(d,"STC_HJ_DOUBLESTRING", SWIG_FromInt((int)48));
13832 PyDict_SetItemString(d,"STC_HJ_SINGLESTRING", SWIG_FromInt((int)49));
13833 PyDict_SetItemString(d,"STC_HJ_SYMBOLS", SWIG_FromInt((int)50));
13834 PyDict_SetItemString(d,"STC_HJ_STRINGEOL", SWIG_FromInt((int)51));
13835 PyDict_SetItemString(d,"STC_HJ_REGEX", SWIG_FromInt((int)52));
13836 PyDict_SetItemString(d,"STC_HJA_START", SWIG_FromInt((int)55));
13837 PyDict_SetItemString(d,"STC_HJA_DEFAULT", SWIG_FromInt((int)56));
13838 PyDict_SetItemString(d,"STC_HJA_COMMENT", SWIG_FromInt((int)57));
13839 PyDict_SetItemString(d,"STC_HJA_COMMENTLINE", SWIG_FromInt((int)58));
13840 PyDict_SetItemString(d,"STC_HJA_COMMENTDOC", SWIG_FromInt((int)59));
13841 PyDict_SetItemString(d,"STC_HJA_NUMBER", SWIG_FromInt((int)60));
13842 PyDict_SetItemString(d,"STC_HJA_WORD", SWIG_FromInt((int)61));
13843 PyDict_SetItemString(d,"STC_HJA_KEYWORD", SWIG_FromInt((int)62));
13844 PyDict_SetItemString(d,"STC_HJA_DOUBLESTRING", SWIG_FromInt((int)63));
13845 PyDict_SetItemString(d,"STC_HJA_SINGLESTRING", SWIG_FromInt((int)64));
13846 PyDict_SetItemString(d,"STC_HJA_SYMBOLS", SWIG_FromInt((int)65));
13847 PyDict_SetItemString(d,"STC_HJA_STRINGEOL", SWIG_FromInt((int)66));
13848 PyDict_SetItemString(d,"STC_HJA_REGEX", SWIG_FromInt((int)67));
13849 PyDict_SetItemString(d,"STC_HB_START", SWIG_FromInt((int)70));
13850 PyDict_SetItemString(d,"STC_HB_DEFAULT", SWIG_FromInt((int)71));
13851 PyDict_SetItemString(d,"STC_HB_COMMENTLINE", SWIG_FromInt((int)72));
13852 PyDict_SetItemString(d,"STC_HB_NUMBER", SWIG_FromInt((int)73));
13853 PyDict_SetItemString(d,"STC_HB_WORD", SWIG_FromInt((int)74));
13854 PyDict_SetItemString(d,"STC_HB_STRING", SWIG_FromInt((int)75));
13855 PyDict_SetItemString(d,"STC_HB_IDENTIFIER", SWIG_FromInt((int)76));
13856 PyDict_SetItemString(d,"STC_HB_STRINGEOL", SWIG_FromInt((int)77));
13857 PyDict_SetItemString(d,"STC_HBA_START", SWIG_FromInt((int)80));
13858 PyDict_SetItemString(d,"STC_HBA_DEFAULT", SWIG_FromInt((int)81));
13859 PyDict_SetItemString(d,"STC_HBA_COMMENTLINE", SWIG_FromInt((int)82));
13860 PyDict_SetItemString(d,"STC_HBA_NUMBER", SWIG_FromInt((int)83));
13861 PyDict_SetItemString(d,"STC_HBA_WORD", SWIG_FromInt((int)84));
13862 PyDict_SetItemString(d,"STC_HBA_STRING", SWIG_FromInt((int)85));
13863 PyDict_SetItemString(d,"STC_HBA_IDENTIFIER", SWIG_FromInt((int)86));
13864 PyDict_SetItemString(d,"STC_HBA_STRINGEOL", SWIG_FromInt((int)87));
13865 PyDict_SetItemString(d,"STC_HP_START", SWIG_FromInt((int)90));
13866 PyDict_SetItemString(d,"STC_HP_DEFAULT", SWIG_FromInt((int)91));
13867 PyDict_SetItemString(d,"STC_HP_COMMENTLINE", SWIG_FromInt((int)92));
13868 PyDict_SetItemString(d,"STC_HP_NUMBER", SWIG_FromInt((int)93));
13869 PyDict_SetItemString(d,"STC_HP_STRING", SWIG_FromInt((int)94));
13870 PyDict_SetItemString(d,"STC_HP_CHARACTER", SWIG_FromInt((int)95));
13871 PyDict_SetItemString(d,"STC_HP_WORD", SWIG_FromInt((int)96));
13872 PyDict_SetItemString(d,"STC_HP_TRIPLE", SWIG_FromInt((int)97));
13873 PyDict_SetItemString(d,"STC_HP_TRIPLEDOUBLE", SWIG_FromInt((int)98));
13874 PyDict_SetItemString(d,"STC_HP_CLASSNAME", SWIG_FromInt((int)99));
13875 PyDict_SetItemString(d,"STC_HP_DEFNAME", SWIG_FromInt((int)100));
13876 PyDict_SetItemString(d,"STC_HP_OPERATOR", SWIG_FromInt((int)101));
13877 PyDict_SetItemString(d,"STC_HP_IDENTIFIER", SWIG_FromInt((int)102));
13878 PyDict_SetItemString(d,"STC_HPA_START", SWIG_FromInt((int)105));
13879 PyDict_SetItemString(d,"STC_HPA_DEFAULT", SWIG_FromInt((int)106));
13880 PyDict_SetItemString(d,"STC_HPA_COMMENTLINE", SWIG_FromInt((int)107));
13881 PyDict_SetItemString(d,"STC_HPA_NUMBER", SWIG_FromInt((int)108));
13882 PyDict_SetItemString(d,"STC_HPA_STRING", SWIG_FromInt((int)109));
13883 PyDict_SetItemString(d,"STC_HPA_CHARACTER", SWIG_FromInt((int)110));
13884 PyDict_SetItemString(d,"STC_HPA_WORD", SWIG_FromInt((int)111));
13885 PyDict_SetItemString(d,"STC_HPA_TRIPLE", SWIG_FromInt((int)112));
13886 PyDict_SetItemString(d,"STC_HPA_TRIPLEDOUBLE", SWIG_FromInt((int)113));
13887 PyDict_SetItemString(d,"STC_HPA_CLASSNAME", SWIG_FromInt((int)114));
13888 PyDict_SetItemString(d,"STC_HPA_DEFNAME", SWIG_FromInt((int)115));
13889 PyDict_SetItemString(d,"STC_HPA_OPERATOR", SWIG_FromInt((int)116));
13890 PyDict_SetItemString(d,"STC_HPA_IDENTIFIER", SWIG_FromInt((int)117));
13891 PyDict_SetItemString(d,"STC_HPHP_DEFAULT", SWIG_FromInt((int)118));
13892 PyDict_SetItemString(d,"STC_HPHP_HSTRING", SWIG_FromInt((int)119));
13893 PyDict_SetItemString(d,"STC_HPHP_SIMPLESTRING", SWIG_FromInt((int)120));
13894 PyDict_SetItemString(d,"STC_HPHP_WORD", SWIG_FromInt((int)121));
13895 PyDict_SetItemString(d,"STC_HPHP_NUMBER", SWIG_FromInt((int)122));
13896 PyDict_SetItemString(d,"STC_HPHP_VARIABLE", SWIG_FromInt((int)123));
13897 PyDict_SetItemString(d,"STC_HPHP_COMMENT", SWIG_FromInt((int)124));
13898 PyDict_SetItemString(d,"STC_HPHP_COMMENTLINE", SWIG_FromInt((int)125));
13899 PyDict_SetItemString(d,"STC_HPHP_HSTRING_VARIABLE", SWIG_FromInt((int)126));
13900 PyDict_SetItemString(d,"STC_HPHP_OPERATOR", SWIG_FromInt((int)127));
13901 PyDict_SetItemString(d,"STC_PL_DEFAULT", SWIG_FromInt((int)0));
13902 PyDict_SetItemString(d,"STC_PL_ERROR", SWIG_FromInt((int)1));
13903 PyDict_SetItemString(d,"STC_PL_COMMENTLINE", SWIG_FromInt((int)2));
13904 PyDict_SetItemString(d,"STC_PL_POD", SWIG_FromInt((int)3));
13905 PyDict_SetItemString(d,"STC_PL_NUMBER", SWIG_FromInt((int)4));
13906 PyDict_SetItemString(d,"STC_PL_WORD", SWIG_FromInt((int)5));
13907 PyDict_SetItemString(d,"STC_PL_STRING", SWIG_FromInt((int)6));
13908 PyDict_SetItemString(d,"STC_PL_CHARACTER", SWIG_FromInt((int)7));
13909 PyDict_SetItemString(d,"STC_PL_PUNCTUATION", SWIG_FromInt((int)8));
13910 PyDict_SetItemString(d,"STC_PL_PREPROCESSOR", SWIG_FromInt((int)9));
13911 PyDict_SetItemString(d,"STC_PL_OPERATOR", SWIG_FromInt((int)10));
13912 PyDict_SetItemString(d,"STC_PL_IDENTIFIER", SWIG_FromInt((int)11));
13913 PyDict_SetItemString(d,"STC_PL_SCALAR", SWIG_FromInt((int)12));
13914 PyDict_SetItemString(d,"STC_PL_ARRAY", SWIG_FromInt((int)13));
13915 PyDict_SetItemString(d,"STC_PL_HASH", SWIG_FromInt((int)14));
13916 PyDict_SetItemString(d,"STC_PL_SYMBOLTABLE", SWIG_FromInt((int)15));
13917 PyDict_SetItemString(d,"STC_PL_REGEX", SWIG_FromInt((int)17));
13918 PyDict_SetItemString(d,"STC_PL_REGSUBST", SWIG_FromInt((int)18));
13919 PyDict_SetItemString(d,"STC_PL_LONGQUOTE", SWIG_FromInt((int)19));
13920 PyDict_SetItemString(d,"STC_PL_BACKTICKS", SWIG_FromInt((int)20));
13921 PyDict_SetItemString(d,"STC_PL_DATASECTION", SWIG_FromInt((int)21));
13922 PyDict_SetItemString(d,"STC_PL_HERE_DELIM", SWIG_FromInt((int)22));
13923 PyDict_SetItemString(d,"STC_PL_HERE_Q", SWIG_FromInt((int)23));
13924 PyDict_SetItemString(d,"STC_PL_HERE_QQ", SWIG_FromInt((int)24));
13925 PyDict_SetItemString(d,"STC_PL_HERE_QX", SWIG_FromInt((int)25));
13926 PyDict_SetItemString(d,"STC_PL_STRING_Q", SWIG_FromInt((int)26));
13927 PyDict_SetItemString(d,"STC_PL_STRING_QQ", SWIG_FromInt((int)27));
13928 PyDict_SetItemString(d,"STC_PL_STRING_QX", SWIG_FromInt((int)28));
13929 PyDict_SetItemString(d,"STC_PL_STRING_QR", SWIG_FromInt((int)29));
13930 PyDict_SetItemString(d,"STC_PL_STRING_QW", SWIG_FromInt((int)30));
13931 PyDict_SetItemString(d,"STC_B_DEFAULT", SWIG_FromInt((int)0));
13932 PyDict_SetItemString(d,"STC_B_COMMENT", SWIG_FromInt((int)1));
13933 PyDict_SetItemString(d,"STC_B_NUMBER", SWIG_FromInt((int)2));
13934 PyDict_SetItemString(d,"STC_B_KEYWORD", SWIG_FromInt((int)3));
13935 PyDict_SetItemString(d,"STC_B_STRING", SWIG_FromInt((int)4));
13936 PyDict_SetItemString(d,"STC_B_PREPROCESSOR", SWIG_FromInt((int)5));
13937 PyDict_SetItemString(d,"STC_B_OPERATOR", SWIG_FromInt((int)6));
13938 PyDict_SetItemString(d,"STC_B_IDENTIFIER", SWIG_FromInt((int)7));
13939 PyDict_SetItemString(d,"STC_B_DATE", SWIG_FromInt((int)8));
13940 PyDict_SetItemString(d,"STC_B_STRINGEOL", SWIG_FromInt((int)9));
13941 PyDict_SetItemString(d,"STC_B_KEYWORD2", SWIG_FromInt((int)10));
13942 PyDict_SetItemString(d,"STC_B_KEYWORD3", SWIG_FromInt((int)11));
13943 PyDict_SetItemString(d,"STC_B_KEYWORD4", SWIG_FromInt((int)12));
13944 PyDict_SetItemString(d,"STC_PROPS_DEFAULT", SWIG_FromInt((int)0));
13945 PyDict_SetItemString(d,"STC_PROPS_COMMENT", SWIG_FromInt((int)1));
13946 PyDict_SetItemString(d,"STC_PROPS_SECTION", SWIG_FromInt((int)2));
13947 PyDict_SetItemString(d,"STC_PROPS_ASSIGNMENT", SWIG_FromInt((int)3));
13948 PyDict_SetItemString(d,"STC_PROPS_DEFVAL", SWIG_FromInt((int)4));
13949 PyDict_SetItemString(d,"STC_L_DEFAULT", SWIG_FromInt((int)0));
13950 PyDict_SetItemString(d,"STC_L_COMMAND", SWIG_FromInt((int)1));
13951 PyDict_SetItemString(d,"STC_L_TAG", SWIG_FromInt((int)2));
13952 PyDict_SetItemString(d,"STC_L_MATH", SWIG_FromInt((int)3));
13953 PyDict_SetItemString(d,"STC_L_COMMENT", SWIG_FromInt((int)4));
13954 PyDict_SetItemString(d,"STC_LUA_DEFAULT", SWIG_FromInt((int)0));
13955 PyDict_SetItemString(d,"STC_LUA_COMMENT", SWIG_FromInt((int)1));
13956 PyDict_SetItemString(d,"STC_LUA_COMMENTLINE", SWIG_FromInt((int)2));
13957 PyDict_SetItemString(d,"STC_LUA_COMMENTDOC", SWIG_FromInt((int)3));
13958 PyDict_SetItemString(d,"STC_LUA_NUMBER", SWIG_FromInt((int)4));
13959 PyDict_SetItemString(d,"STC_LUA_WORD", SWIG_FromInt((int)5));
13960 PyDict_SetItemString(d,"STC_LUA_STRING", SWIG_FromInt((int)6));
13961 PyDict_SetItemString(d,"STC_LUA_CHARACTER", SWIG_FromInt((int)7));
13962 PyDict_SetItemString(d,"STC_LUA_LITERALSTRING", SWIG_FromInt((int)8));
13963 PyDict_SetItemString(d,"STC_LUA_PREPROCESSOR", SWIG_FromInt((int)9));
13964 PyDict_SetItemString(d,"STC_LUA_OPERATOR", SWIG_FromInt((int)10));
13965 PyDict_SetItemString(d,"STC_LUA_IDENTIFIER", SWIG_FromInt((int)11));
13966 PyDict_SetItemString(d,"STC_LUA_STRINGEOL", SWIG_FromInt((int)12));
13967 PyDict_SetItemString(d,"STC_LUA_WORD2", SWIG_FromInt((int)13));
13968 PyDict_SetItemString(d,"STC_LUA_WORD3", SWIG_FromInt((int)14));
13969 PyDict_SetItemString(d,"STC_LUA_WORD4", SWIG_FromInt((int)15));
13970 PyDict_SetItemString(d,"STC_LUA_WORD5", SWIG_FromInt((int)16));
13971 PyDict_SetItemString(d,"STC_LUA_WORD6", SWIG_FromInt((int)17));
13972 PyDict_SetItemString(d,"STC_LUA_WORD7", SWIG_FromInt((int)18));
13973 PyDict_SetItemString(d,"STC_LUA_WORD8", SWIG_FromInt((int)19));
13974 PyDict_SetItemString(d,"STC_ERR_DEFAULT", SWIG_FromInt((int)0));
13975 PyDict_SetItemString(d,"STC_ERR_PYTHON", SWIG_FromInt((int)1));
13976 PyDict_SetItemString(d,"STC_ERR_GCC", SWIG_FromInt((int)2));
13977 PyDict_SetItemString(d,"STC_ERR_MS", SWIG_FromInt((int)3));
13978 PyDict_SetItemString(d,"STC_ERR_CMD", SWIG_FromInt((int)4));
13979 PyDict_SetItemString(d,"STC_ERR_BORLAND", SWIG_FromInt((int)5));
13980 PyDict_SetItemString(d,"STC_ERR_PERL", SWIG_FromInt((int)6));
13981 PyDict_SetItemString(d,"STC_ERR_NET", SWIG_FromInt((int)7));
13982 PyDict_SetItemString(d,"STC_ERR_LUA", SWIG_FromInt((int)8));
13983 PyDict_SetItemString(d,"STC_ERR_CTAG", SWIG_FromInt((int)9));
13984 PyDict_SetItemString(d,"STC_ERR_DIFF_CHANGED", SWIG_FromInt((int)10));
13985 PyDict_SetItemString(d,"STC_ERR_DIFF_ADDITION", SWIG_FromInt((int)11));
13986 PyDict_SetItemString(d,"STC_ERR_DIFF_DELETION", SWIG_FromInt((int)12));
13987 PyDict_SetItemString(d,"STC_ERR_DIFF_MESSAGE", SWIG_FromInt((int)13));
13988 PyDict_SetItemString(d,"STC_ERR_PHP", SWIG_FromInt((int)14));
13989 PyDict_SetItemString(d,"STC_ERR_ELF", SWIG_FromInt((int)15));
13990 PyDict_SetItemString(d,"STC_ERR_IFC", SWIG_FromInt((int)16));
13991 PyDict_SetItemString(d,"STC_ERR_IFORT", SWIG_FromInt((int)17));
13992 PyDict_SetItemString(d,"STC_ERR_ABSF", SWIG_FromInt((int)18));
13993 PyDict_SetItemString(d,"STC_BAT_DEFAULT", SWIG_FromInt((int)0));
13994 PyDict_SetItemString(d,"STC_BAT_COMMENT", SWIG_FromInt((int)1));
13995 PyDict_SetItemString(d,"STC_BAT_WORD", SWIG_FromInt((int)2));
13996 PyDict_SetItemString(d,"STC_BAT_LABEL", SWIG_FromInt((int)3));
13997 PyDict_SetItemString(d,"STC_BAT_HIDE", SWIG_FromInt((int)4));
13998 PyDict_SetItemString(d,"STC_BAT_COMMAND", SWIG_FromInt((int)5));
13999 PyDict_SetItemString(d,"STC_BAT_IDENTIFIER", SWIG_FromInt((int)6));
14000 PyDict_SetItemString(d,"STC_BAT_OPERATOR", SWIG_FromInt((int)7));
14001 PyDict_SetItemString(d,"STC_MAKE_DEFAULT", SWIG_FromInt((int)0));
14002 PyDict_SetItemString(d,"STC_MAKE_COMMENT", SWIG_FromInt((int)1));
14003 PyDict_SetItemString(d,"STC_MAKE_PREPROCESSOR", SWIG_FromInt((int)2));
14004 PyDict_SetItemString(d,"STC_MAKE_IDENTIFIER", SWIG_FromInt((int)3));
14005 PyDict_SetItemString(d,"STC_MAKE_OPERATOR", SWIG_FromInt((int)4));
14006 PyDict_SetItemString(d,"STC_MAKE_TARGET", SWIG_FromInt((int)5));
14007 PyDict_SetItemString(d,"STC_MAKE_IDEOL", SWIG_FromInt((int)9));
14008 PyDict_SetItemString(d,"STC_DIFF_DEFAULT", SWIG_FromInt((int)0));
14009 PyDict_SetItemString(d,"STC_DIFF_COMMENT", SWIG_FromInt((int)1));
14010 PyDict_SetItemString(d,"STC_DIFF_COMMAND", SWIG_FromInt((int)2));
14011 PyDict_SetItemString(d,"STC_DIFF_HEADER", SWIG_FromInt((int)3));
14012 PyDict_SetItemString(d,"STC_DIFF_POSITION", SWIG_FromInt((int)4));
14013 PyDict_SetItemString(d,"STC_DIFF_DELETED", SWIG_FromInt((int)5));
14014 PyDict_SetItemString(d,"STC_DIFF_ADDED", SWIG_FromInt((int)6));
14015 PyDict_SetItemString(d,"STC_CONF_DEFAULT", SWIG_FromInt((int)0));
14016 PyDict_SetItemString(d,"STC_CONF_COMMENT", SWIG_FromInt((int)1));
14017 PyDict_SetItemString(d,"STC_CONF_NUMBER", SWIG_FromInt((int)2));
14018 PyDict_SetItemString(d,"STC_CONF_IDENTIFIER", SWIG_FromInt((int)3));
14019 PyDict_SetItemString(d,"STC_CONF_EXTENSION", SWIG_FromInt((int)4));
14020 PyDict_SetItemString(d,"STC_CONF_PARAMETER", SWIG_FromInt((int)5));
14021 PyDict_SetItemString(d,"STC_CONF_STRING", SWIG_FromInt((int)6));
14022 PyDict_SetItemString(d,"STC_CONF_OPERATOR", SWIG_FromInt((int)7));
14023 PyDict_SetItemString(d,"STC_CONF_IP", SWIG_FromInt((int)8));
14024 PyDict_SetItemString(d,"STC_CONF_DIRECTIVE", SWIG_FromInt((int)9));
14025 PyDict_SetItemString(d,"STC_AVE_DEFAULT", SWIG_FromInt((int)0));
14026 PyDict_SetItemString(d,"STC_AVE_COMMENT", SWIG_FromInt((int)1));
14027 PyDict_SetItemString(d,"STC_AVE_NUMBER", SWIG_FromInt((int)2));
14028 PyDict_SetItemString(d,"STC_AVE_WORD", SWIG_FromInt((int)3));
14029 PyDict_SetItemString(d,"STC_AVE_STRING", SWIG_FromInt((int)6));
14030 PyDict_SetItemString(d,"STC_AVE_ENUM", SWIG_FromInt((int)7));
14031 PyDict_SetItemString(d,"STC_AVE_STRINGEOL", SWIG_FromInt((int)8));
14032 PyDict_SetItemString(d,"STC_AVE_IDENTIFIER", SWIG_FromInt((int)9));
14033 PyDict_SetItemString(d,"STC_AVE_OPERATOR", SWIG_FromInt((int)10));
14034 PyDict_SetItemString(d,"STC_AVE_WORD1", SWIG_FromInt((int)11));
14035 PyDict_SetItemString(d,"STC_AVE_WORD2", SWIG_FromInt((int)12));
14036 PyDict_SetItemString(d,"STC_AVE_WORD3", SWIG_FromInt((int)13));
14037 PyDict_SetItemString(d,"STC_AVE_WORD4", SWIG_FromInt((int)14));
14038 PyDict_SetItemString(d,"STC_AVE_WORD5", SWIG_FromInt((int)15));
14039 PyDict_SetItemString(d,"STC_AVE_WORD6", SWIG_FromInt((int)16));
14040 PyDict_SetItemString(d,"STC_ADA_DEFAULT", SWIG_FromInt((int)0));
14041 PyDict_SetItemString(d,"STC_ADA_WORD", SWIG_FromInt((int)1));
14042 PyDict_SetItemString(d,"STC_ADA_IDENTIFIER", SWIG_FromInt((int)2));
14043 PyDict_SetItemString(d,"STC_ADA_NUMBER", SWIG_FromInt((int)3));
14044 PyDict_SetItemString(d,"STC_ADA_DELIMITER", SWIG_FromInt((int)4));
14045 PyDict_SetItemString(d,"STC_ADA_CHARACTER", SWIG_FromInt((int)5));
14046 PyDict_SetItemString(d,"STC_ADA_CHARACTEREOL", SWIG_FromInt((int)6));
14047 PyDict_SetItemString(d,"STC_ADA_STRING", SWIG_FromInt((int)7));
14048 PyDict_SetItemString(d,"STC_ADA_STRINGEOL", SWIG_FromInt((int)8));
14049 PyDict_SetItemString(d,"STC_ADA_LABEL", SWIG_FromInt((int)9));
14050 PyDict_SetItemString(d,"STC_ADA_COMMENTLINE", SWIG_FromInt((int)10));
14051 PyDict_SetItemString(d,"STC_ADA_ILLEGAL", SWIG_FromInt((int)11));
14052 PyDict_SetItemString(d,"STC_BAAN_DEFAULT", SWIG_FromInt((int)0));
14053 PyDict_SetItemString(d,"STC_BAAN_COMMENT", SWIG_FromInt((int)1));
14054 PyDict_SetItemString(d,"STC_BAAN_COMMENTDOC", SWIG_FromInt((int)2));
14055 PyDict_SetItemString(d,"STC_BAAN_NUMBER", SWIG_FromInt((int)3));
14056 PyDict_SetItemString(d,"STC_BAAN_WORD", SWIG_FromInt((int)4));
14057 PyDict_SetItemString(d,"STC_BAAN_STRING", SWIG_FromInt((int)5));
14058 PyDict_SetItemString(d,"STC_BAAN_PREPROCESSOR", SWIG_FromInt((int)6));
14059 PyDict_SetItemString(d,"STC_BAAN_OPERATOR", SWIG_FromInt((int)7));
14060 PyDict_SetItemString(d,"STC_BAAN_IDENTIFIER", SWIG_FromInt((int)8));
14061 PyDict_SetItemString(d,"STC_BAAN_STRINGEOL", SWIG_FromInt((int)9));
14062 PyDict_SetItemString(d,"STC_BAAN_WORD2", SWIG_FromInt((int)10));
14063 PyDict_SetItemString(d,"STC_LISP_DEFAULT", SWIG_FromInt((int)0));
14064 PyDict_SetItemString(d,"STC_LISP_COMMENT", SWIG_FromInt((int)1));
14065 PyDict_SetItemString(d,"STC_LISP_NUMBER", SWIG_FromInt((int)2));
14066 PyDict_SetItemString(d,"STC_LISP_KEYWORD", SWIG_FromInt((int)3));
14067 PyDict_SetItemString(d,"STC_LISP_STRING", SWIG_FromInt((int)6));
14068 PyDict_SetItemString(d,"STC_LISP_STRINGEOL", SWIG_FromInt((int)8));
14069 PyDict_SetItemString(d,"STC_LISP_IDENTIFIER", SWIG_FromInt((int)9));
14070 PyDict_SetItemString(d,"STC_LISP_OPERATOR", SWIG_FromInt((int)10));
14071 PyDict_SetItemString(d,"STC_EIFFEL_DEFAULT", SWIG_FromInt((int)0));
14072 PyDict_SetItemString(d,"STC_EIFFEL_COMMENTLINE", SWIG_FromInt((int)1));
14073 PyDict_SetItemString(d,"STC_EIFFEL_NUMBER", SWIG_FromInt((int)2));
14074 PyDict_SetItemString(d,"STC_EIFFEL_WORD", SWIG_FromInt((int)3));
14075 PyDict_SetItemString(d,"STC_EIFFEL_STRING", SWIG_FromInt((int)4));
14076 PyDict_SetItemString(d,"STC_EIFFEL_CHARACTER", SWIG_FromInt((int)5));
14077 PyDict_SetItemString(d,"STC_EIFFEL_OPERATOR", SWIG_FromInt((int)6));
14078 PyDict_SetItemString(d,"STC_EIFFEL_IDENTIFIER", SWIG_FromInt((int)7));
14079 PyDict_SetItemString(d,"STC_EIFFEL_STRINGEOL", SWIG_FromInt((int)8));
14080 PyDict_SetItemString(d,"STC_NNCRONTAB_DEFAULT", SWIG_FromInt((int)0));
14081 PyDict_SetItemString(d,"STC_NNCRONTAB_COMMENT", SWIG_FromInt((int)1));
14082 PyDict_SetItemString(d,"STC_NNCRONTAB_TASK", SWIG_FromInt((int)2));
14083 PyDict_SetItemString(d,"STC_NNCRONTAB_SECTION", SWIG_FromInt((int)3));
14084 PyDict_SetItemString(d,"STC_NNCRONTAB_KEYWORD", SWIG_FromInt((int)4));
14085 PyDict_SetItemString(d,"STC_NNCRONTAB_MODIFIER", SWIG_FromInt((int)5));
14086 PyDict_SetItemString(d,"STC_NNCRONTAB_ASTERISK", SWIG_FromInt((int)6));
14087 PyDict_SetItemString(d,"STC_NNCRONTAB_NUMBER", SWIG_FromInt((int)7));
14088 PyDict_SetItemString(d,"STC_NNCRONTAB_STRING", SWIG_FromInt((int)8));
14089 PyDict_SetItemString(d,"STC_NNCRONTAB_ENVIRONMENT", SWIG_FromInt((int)9));
14090 PyDict_SetItemString(d,"STC_NNCRONTAB_IDENTIFIER", SWIG_FromInt((int)10));
14091 PyDict_SetItemString(d,"STC_FORTH_DEFAULT", SWIG_FromInt((int)0));
14092 PyDict_SetItemString(d,"STC_FORTH_COMMENT", SWIG_FromInt((int)1));
14093 PyDict_SetItemString(d,"STC_FORTH_COMMENT_ML", SWIG_FromInt((int)2));
14094 PyDict_SetItemString(d,"STC_FORTH_IDENTIFIER", SWIG_FromInt((int)3));
14095 PyDict_SetItemString(d,"STC_FORTH_CONTROL", SWIG_FromInt((int)4));
14096 PyDict_SetItemString(d,"STC_FORTH_KEYWORD", SWIG_FromInt((int)5));
14097 PyDict_SetItemString(d,"STC_FORTH_DEFWORD", SWIG_FromInt((int)6));
14098 PyDict_SetItemString(d,"STC_FORTH_PREWORD1", SWIG_FromInt((int)7));
14099 PyDict_SetItemString(d,"STC_FORTH_PREWORD2", SWIG_FromInt((int)8));
14100 PyDict_SetItemString(d,"STC_FORTH_NUMBER", SWIG_FromInt((int)9));
14101 PyDict_SetItemString(d,"STC_FORTH_STRING", SWIG_FromInt((int)10));
14102 PyDict_SetItemString(d,"STC_FORTH_LOCALE", SWIG_FromInt((int)11));
14103 PyDict_SetItemString(d,"STC_MATLAB_DEFAULT", SWIG_FromInt((int)0));
14104 PyDict_SetItemString(d,"STC_MATLAB_COMMENT", SWIG_FromInt((int)1));
14105 PyDict_SetItemString(d,"STC_MATLAB_COMMAND", SWIG_FromInt((int)2));
14106 PyDict_SetItemString(d,"STC_MATLAB_NUMBER", SWIG_FromInt((int)3));
14107 PyDict_SetItemString(d,"STC_MATLAB_KEYWORD", SWIG_FromInt((int)4));
14108 PyDict_SetItemString(d,"STC_MATLAB_STRING", SWIG_FromInt((int)5));
14109 PyDict_SetItemString(d,"STC_MATLAB_OPERATOR", SWIG_FromInt((int)6));
14110 PyDict_SetItemString(d,"STC_MATLAB_IDENTIFIER", SWIG_FromInt((int)7));
14111 PyDict_SetItemString(d,"STC_MATLAB_DOUBLEQUOTESTRING", SWIG_FromInt((int)8));
14112 PyDict_SetItemString(d,"STC_SCRIPTOL_DEFAULT", SWIG_FromInt((int)0));
14113 PyDict_SetItemString(d,"STC_SCRIPTOL_WHITE", SWIG_FromInt((int)1));
14114 PyDict_SetItemString(d,"STC_SCRIPTOL_COMMENTLINE", SWIG_FromInt((int)2));
14115 PyDict_SetItemString(d,"STC_SCRIPTOL_PERSISTENT", SWIG_FromInt((int)3));
14116 PyDict_SetItemString(d,"STC_SCRIPTOL_CSTYLE", SWIG_FromInt((int)4));
14117 PyDict_SetItemString(d,"STC_SCRIPTOL_COMMENTBLOCK", SWIG_FromInt((int)5));
14118 PyDict_SetItemString(d,"STC_SCRIPTOL_NUMBER", SWIG_FromInt((int)6));
14119 PyDict_SetItemString(d,"STC_SCRIPTOL_STRING", SWIG_FromInt((int)7));
14120 PyDict_SetItemString(d,"STC_SCRIPTOL_CHARACTER", SWIG_FromInt((int)8));
14121 PyDict_SetItemString(d,"STC_SCRIPTOL_STRINGEOL", SWIG_FromInt((int)9));
14122 PyDict_SetItemString(d,"STC_SCRIPTOL_KEYWORD", SWIG_FromInt((int)10));
14123 PyDict_SetItemString(d,"STC_SCRIPTOL_OPERATOR", SWIG_FromInt((int)11));
14124 PyDict_SetItemString(d,"STC_SCRIPTOL_IDENTIFIER", SWIG_FromInt((int)12));
14125 PyDict_SetItemString(d,"STC_SCRIPTOL_TRIPLE", SWIG_FromInt((int)13));
14126 PyDict_SetItemString(d,"STC_SCRIPTOL_CLASSNAME", SWIG_FromInt((int)14));
14127 PyDict_SetItemString(d,"STC_SCRIPTOL_PREPROCESSOR", SWIG_FromInt((int)15));
14128 PyDict_SetItemString(d,"STC_ASM_DEFAULT", SWIG_FromInt((int)0));
14129 PyDict_SetItemString(d,"STC_ASM_COMMENT", SWIG_FromInt((int)1));
14130 PyDict_SetItemString(d,"STC_ASM_NUMBER", SWIG_FromInt((int)2));
14131 PyDict_SetItemString(d,"STC_ASM_STRING", SWIG_FromInt((int)3));
14132 PyDict_SetItemString(d,"STC_ASM_OPERATOR", SWIG_FromInt((int)4));
14133 PyDict_SetItemString(d,"STC_ASM_IDENTIFIER", SWIG_FromInt((int)5));
14134 PyDict_SetItemString(d,"STC_ASM_CPUINSTRUCTION", SWIG_FromInt((int)6));
14135 PyDict_SetItemString(d,"STC_ASM_MATHINSTRUCTION", SWIG_FromInt((int)7));
14136 PyDict_SetItemString(d,"STC_ASM_REGISTER", SWIG_FromInt((int)8));
14137 PyDict_SetItemString(d,"STC_ASM_DIRECTIVE", SWIG_FromInt((int)9));
14138 PyDict_SetItemString(d,"STC_ASM_DIRECTIVEOPERAND", SWIG_FromInt((int)10));
14139 PyDict_SetItemString(d,"STC_ASM_COMMENTBLOCK", SWIG_FromInt((int)11));
14140 PyDict_SetItemString(d,"STC_ASM_CHARACTER", SWIG_FromInt((int)12));
14141 PyDict_SetItemString(d,"STC_ASM_STRINGEOL", SWIG_FromInt((int)13));
14142 PyDict_SetItemString(d,"STC_ASM_EXTINSTRUCTION", SWIG_FromInt((int)14));
14143 PyDict_SetItemString(d,"STC_F_DEFAULT", SWIG_FromInt((int)0));
14144 PyDict_SetItemString(d,"STC_F_COMMENT", SWIG_FromInt((int)1));
14145 PyDict_SetItemString(d,"STC_F_NUMBER", SWIG_FromInt((int)2));
14146 PyDict_SetItemString(d,"STC_F_STRING1", SWIG_FromInt((int)3));
14147 PyDict_SetItemString(d,"STC_F_STRING2", SWIG_FromInt((int)4));
14148 PyDict_SetItemString(d,"STC_F_STRINGEOL", SWIG_FromInt((int)5));
14149 PyDict_SetItemString(d,"STC_F_OPERATOR", SWIG_FromInt((int)6));
14150 PyDict_SetItemString(d,"STC_F_IDENTIFIER", SWIG_FromInt((int)7));
14151 PyDict_SetItemString(d,"STC_F_WORD", SWIG_FromInt((int)8));
14152 PyDict_SetItemString(d,"STC_F_WORD2", SWIG_FromInt((int)9));
14153 PyDict_SetItemString(d,"STC_F_WORD3", SWIG_FromInt((int)10));
14154 PyDict_SetItemString(d,"STC_F_PREPROCESSOR", SWIG_FromInt((int)11));
14155 PyDict_SetItemString(d,"STC_F_OPERATOR2", SWIG_FromInt((int)12));
14156 PyDict_SetItemString(d,"STC_F_LABEL", SWIG_FromInt((int)13));
14157 PyDict_SetItemString(d,"STC_F_CONTINUATION", SWIG_FromInt((int)14));
14158 PyDict_SetItemString(d,"STC_CSS_DEFAULT", SWIG_FromInt((int)0));
14159 PyDict_SetItemString(d,"STC_CSS_TAG", SWIG_FromInt((int)1));
14160 PyDict_SetItemString(d,"STC_CSS_CLASS", SWIG_FromInt((int)2));
14161 PyDict_SetItemString(d,"STC_CSS_PSEUDOCLASS", SWIG_FromInt((int)3));
14162 PyDict_SetItemString(d,"STC_CSS_UNKNOWN_PSEUDOCLASS", SWIG_FromInt((int)4));
14163 PyDict_SetItemString(d,"STC_CSS_OPERATOR", SWIG_FromInt((int)5));
14164 PyDict_SetItemString(d,"STC_CSS_IDENTIFIER", SWIG_FromInt((int)6));
14165 PyDict_SetItemString(d,"STC_CSS_UNKNOWN_IDENTIFIER", SWIG_FromInt((int)7));
14166 PyDict_SetItemString(d,"STC_CSS_VALUE", SWIG_FromInt((int)8));
14167 PyDict_SetItemString(d,"STC_CSS_COMMENT", SWIG_FromInt((int)9));
14168 PyDict_SetItemString(d,"STC_CSS_ID", SWIG_FromInt((int)10));
14169 PyDict_SetItemString(d,"STC_CSS_IMPORTANT", SWIG_FromInt((int)11));
14170 PyDict_SetItemString(d,"STC_CSS_DIRECTIVE", SWIG_FromInt((int)12));
14171 PyDict_SetItemString(d,"STC_CSS_DOUBLESTRING", SWIG_FromInt((int)13));
14172 PyDict_SetItemString(d,"STC_CSS_SINGLESTRING", SWIG_FromInt((int)14));
14173 PyDict_SetItemString(d,"STC_POV_DEFAULT", SWIG_FromInt((int)0));
14174 PyDict_SetItemString(d,"STC_POV_COMMENT", SWIG_FromInt((int)1));
14175 PyDict_SetItemString(d,"STC_POV_COMMENTLINE", SWIG_FromInt((int)2));
14176 PyDict_SetItemString(d,"STC_POV_NUMBER", SWIG_FromInt((int)3));
14177 PyDict_SetItemString(d,"STC_POV_OPERATOR", SWIG_FromInt((int)4));
14178 PyDict_SetItemString(d,"STC_POV_IDENTIFIER", SWIG_FromInt((int)5));
14179 PyDict_SetItemString(d,"STC_POV_STRING", SWIG_FromInt((int)6));
14180 PyDict_SetItemString(d,"STC_POV_STRINGEOL", SWIG_FromInt((int)7));
14181 PyDict_SetItemString(d,"STC_POV_DIRECTIVE", SWIG_FromInt((int)8));
14182 PyDict_SetItemString(d,"STC_POV_BADDIRECTIVE", SWIG_FromInt((int)9));
14183 PyDict_SetItemString(d,"STC_POV_WORD2", SWIG_FromInt((int)10));
14184 PyDict_SetItemString(d,"STC_POV_WORD3", SWIG_FromInt((int)11));
14185 PyDict_SetItemString(d,"STC_POV_WORD4", SWIG_FromInt((int)12));
14186 PyDict_SetItemString(d,"STC_POV_WORD5", SWIG_FromInt((int)13));
14187 PyDict_SetItemString(d,"STC_POV_WORD6", SWIG_FromInt((int)14));
14188 PyDict_SetItemString(d,"STC_POV_WORD7", SWIG_FromInt((int)15));
14189 PyDict_SetItemString(d,"STC_POV_WORD8", SWIG_FromInt((int)16));
14190 PyDict_SetItemString(d,"STC_LOUT_DEFAULT", SWIG_FromInt((int)0));
14191 PyDict_SetItemString(d,"STC_LOUT_COMMENT", SWIG_FromInt((int)1));
14192 PyDict_SetItemString(d,"STC_LOUT_NUMBER", SWIG_FromInt((int)2));
14193 PyDict_SetItemString(d,"STC_LOUT_WORD", SWIG_FromInt((int)3));
14194 PyDict_SetItemString(d,"STC_LOUT_WORD2", SWIG_FromInt((int)4));
14195 PyDict_SetItemString(d,"STC_LOUT_WORD3", SWIG_FromInt((int)5));
14196 PyDict_SetItemString(d,"STC_LOUT_WORD4", SWIG_FromInt((int)6));
14197 PyDict_SetItemString(d,"STC_LOUT_STRING", SWIG_FromInt((int)7));
14198 PyDict_SetItemString(d,"STC_LOUT_OPERATOR", SWIG_FromInt((int)8));
14199 PyDict_SetItemString(d,"STC_LOUT_IDENTIFIER", SWIG_FromInt((int)9));
14200 PyDict_SetItemString(d,"STC_LOUT_STRINGEOL", SWIG_FromInt((int)10));
14201 PyDict_SetItemString(d,"STC_ESCRIPT_DEFAULT", SWIG_FromInt((int)0));
14202 PyDict_SetItemString(d,"STC_ESCRIPT_COMMENT", SWIG_FromInt((int)1));
14203 PyDict_SetItemString(d,"STC_ESCRIPT_COMMENTLINE", SWIG_FromInt((int)2));
14204 PyDict_SetItemString(d,"STC_ESCRIPT_COMMENTDOC", SWIG_FromInt((int)3));
14205 PyDict_SetItemString(d,"STC_ESCRIPT_NUMBER", SWIG_FromInt((int)4));
14206 PyDict_SetItemString(d,"STC_ESCRIPT_WORD", SWIG_FromInt((int)5));
14207 PyDict_SetItemString(d,"STC_ESCRIPT_STRING", SWIG_FromInt((int)6));
14208 PyDict_SetItemString(d,"STC_ESCRIPT_OPERATOR", SWIG_FromInt((int)7));
14209 PyDict_SetItemString(d,"STC_ESCRIPT_IDENTIFIER", SWIG_FromInt((int)8));
14210 PyDict_SetItemString(d,"STC_ESCRIPT_BRACE", SWIG_FromInt((int)9));
14211 PyDict_SetItemString(d,"STC_ESCRIPT_WORD2", SWIG_FromInt((int)10));
14212 PyDict_SetItemString(d,"STC_ESCRIPT_WORD3", SWIG_FromInt((int)11));
14213 PyDict_SetItemString(d,"STC_PS_DEFAULT", SWIG_FromInt((int)0));
14214 PyDict_SetItemString(d,"STC_PS_COMMENT", SWIG_FromInt((int)1));
14215 PyDict_SetItemString(d,"STC_PS_DSC_COMMENT", SWIG_FromInt((int)2));
14216 PyDict_SetItemString(d,"STC_PS_DSC_VALUE", SWIG_FromInt((int)3));
14217 PyDict_SetItemString(d,"STC_PS_NUMBER", SWIG_FromInt((int)4));
14218 PyDict_SetItemString(d,"STC_PS_NAME", SWIG_FromInt((int)5));
14219 PyDict_SetItemString(d,"STC_PS_KEYWORD", SWIG_FromInt((int)6));
14220 PyDict_SetItemString(d,"STC_PS_LITERAL", SWIG_FromInt((int)7));
14221 PyDict_SetItemString(d,"STC_PS_IMMEVAL", SWIG_FromInt((int)8));
14222 PyDict_SetItemString(d,"STC_PS_PAREN_ARRAY", SWIG_FromInt((int)9));
14223 PyDict_SetItemString(d,"STC_PS_PAREN_DICT", SWIG_FromInt((int)10));
14224 PyDict_SetItemString(d,"STC_PS_PAREN_PROC", SWIG_FromInt((int)11));
14225 PyDict_SetItemString(d,"STC_PS_TEXT", SWIG_FromInt((int)12));
14226 PyDict_SetItemString(d,"STC_PS_HEXSTRING", SWIG_FromInt((int)13));
14227 PyDict_SetItemString(d,"STC_PS_BASE85STRING", SWIG_FromInt((int)14));
14228 PyDict_SetItemString(d,"STC_PS_BADSTRINGCHAR", SWIG_FromInt((int)15));
14229 PyDict_SetItemString(d,"STC_NSIS_DEFAULT", SWIG_FromInt((int)0));
14230 PyDict_SetItemString(d,"STC_NSIS_COMMENT", SWIG_FromInt((int)1));
14231 PyDict_SetItemString(d,"STC_NSIS_STRINGDQ", SWIG_FromInt((int)2));
14232 PyDict_SetItemString(d,"STC_NSIS_STRINGLQ", SWIG_FromInt((int)3));
14233 PyDict_SetItemString(d,"STC_NSIS_STRINGRQ", SWIG_FromInt((int)4));
14234 PyDict_SetItemString(d,"STC_NSIS_FUNCTION", SWIG_FromInt((int)5));
14235 PyDict_SetItemString(d,"STC_NSIS_VARIABLE", SWIG_FromInt((int)6));
14236 PyDict_SetItemString(d,"STC_NSIS_LABEL", SWIG_FromInt((int)7));
14237 PyDict_SetItemString(d,"STC_NSIS_USERDEFINED", SWIG_FromInt((int)8));
14238 PyDict_SetItemString(d,"STC_NSIS_SECTIONDEF", SWIG_FromInt((int)9));
14239 PyDict_SetItemString(d,"STC_NSIS_SUBSECTIONDEF", SWIG_FromInt((int)10));
14240 PyDict_SetItemString(d,"STC_NSIS_IFDEFINEDEF", SWIG_FromInt((int)11));
14241 PyDict_SetItemString(d,"STC_NSIS_MACRODEF", SWIG_FromInt((int)12));
14242 PyDict_SetItemString(d,"STC_NSIS_STRINGVAR", SWIG_FromInt((int)13));
14243 PyDict_SetItemString(d,"STC_MMIXAL_LEADWS", SWIG_FromInt((int)0));
14244 PyDict_SetItemString(d,"STC_MMIXAL_COMMENT", SWIG_FromInt((int)1));
14245 PyDict_SetItemString(d,"STC_MMIXAL_LABEL", SWIG_FromInt((int)2));
14246 PyDict_SetItemString(d,"STC_MMIXAL_OPCODE", SWIG_FromInt((int)3));
14247 PyDict_SetItemString(d,"STC_MMIXAL_OPCODE_PRE", SWIG_FromInt((int)4));
14248 PyDict_SetItemString(d,"STC_MMIXAL_OPCODE_VALID", SWIG_FromInt((int)5));
14249 PyDict_SetItemString(d,"STC_MMIXAL_OPCODE_UNKNOWN", SWIG_FromInt((int)6));
14250 PyDict_SetItemString(d,"STC_MMIXAL_OPCODE_POST", SWIG_FromInt((int)7));
14251 PyDict_SetItemString(d,"STC_MMIXAL_OPERANDS", SWIG_FromInt((int)8));
14252 PyDict_SetItemString(d,"STC_MMIXAL_NUMBER", SWIG_FromInt((int)9));
14253 PyDict_SetItemString(d,"STC_MMIXAL_REF", SWIG_FromInt((int)10));
14254 PyDict_SetItemString(d,"STC_MMIXAL_CHAR", SWIG_FromInt((int)11));
14255 PyDict_SetItemString(d,"STC_MMIXAL_STRING", SWIG_FromInt((int)12));
14256 PyDict_SetItemString(d,"STC_MMIXAL_REGISTER", SWIG_FromInt((int)13));
14257 PyDict_SetItemString(d,"STC_MMIXAL_HEX", SWIG_FromInt((int)14));
14258 PyDict_SetItemString(d,"STC_MMIXAL_OPERATOR", SWIG_FromInt((int)15));
14259 PyDict_SetItemString(d,"STC_MMIXAL_SYMBOL", SWIG_FromInt((int)16));
14260 PyDict_SetItemString(d,"STC_MMIXAL_INCLUDE", SWIG_FromInt((int)17));
14261 PyDict_SetItemString(d,"STC_CLW_DEFAULT", SWIG_FromInt((int)0));
14262 PyDict_SetItemString(d,"STC_CLW_LABEL", SWIG_FromInt((int)1));
14263 PyDict_SetItemString(d,"STC_CLW_COMMENT", SWIG_FromInt((int)2));
14264 PyDict_SetItemString(d,"STC_CLW_STRING", SWIG_FromInt((int)3));
14265 PyDict_SetItemString(d,"STC_CLW_USER_IDENTIFIER", SWIG_FromInt((int)4));
14266 PyDict_SetItemString(d,"STC_CLW_INTEGER_CONSTANT", SWIG_FromInt((int)5));
14267 PyDict_SetItemString(d,"STC_CLW_REAL_CONSTANT", SWIG_FromInt((int)6));
14268 PyDict_SetItemString(d,"STC_CLW_PICTURE_STRING", SWIG_FromInt((int)7));
14269 PyDict_SetItemString(d,"STC_CLW_KEYWORD", SWIG_FromInt((int)8));
14270 PyDict_SetItemString(d,"STC_CLW_COMPILER_DIRECTIVE", SWIG_FromInt((int)9));
14271 PyDict_SetItemString(d,"STC_CLW_BUILTIN_PROCEDURES_FUNCTION", SWIG_FromInt((int)10));
14272 PyDict_SetItemString(d,"STC_CLW_STRUCTURE_DATA_TYPE", SWIG_FromInt((int)11));
14273 PyDict_SetItemString(d,"STC_CLW_ATTRIBUTE", SWIG_FromInt((int)12));
14274 PyDict_SetItemString(d,"STC_CLW_STANDARD_EQUATE", SWIG_FromInt((int)13));
14275 PyDict_SetItemString(d,"STC_CLW_ERROR", SWIG_FromInt((int)14));
14276 PyDict_SetItemString(d,"STC_LOT_DEFAULT", SWIG_FromInt((int)0));
14277 PyDict_SetItemString(d,"STC_LOT_HEADER", SWIG_FromInt((int)1));
14278 PyDict_SetItemString(d,"STC_LOT_BREAK", SWIG_FromInt((int)2));
14279 PyDict_SetItemString(d,"STC_LOT_SET", SWIG_FromInt((int)3));
14280 PyDict_SetItemString(d,"STC_LOT_PASS", SWIG_FromInt((int)4));
14281 PyDict_SetItemString(d,"STC_LOT_FAIL", SWIG_FromInt((int)5));
14282 PyDict_SetItemString(d,"STC_LOT_ABORT", SWIG_FromInt((int)6));
14283 PyDict_SetItemString(d,"STC_YAML_DEFAULT", SWIG_FromInt((int)0));
14284 PyDict_SetItemString(d,"STC_YAML_COMMENT", SWIG_FromInt((int)1));
14285 PyDict_SetItemString(d,"STC_YAML_IDENTIFIER", SWIG_FromInt((int)2));
14286 PyDict_SetItemString(d,"STC_YAML_KEYWORD", SWIG_FromInt((int)3));
14287 PyDict_SetItemString(d,"STC_YAML_NUMBER", SWIG_FromInt((int)4));
14288 PyDict_SetItemString(d,"STC_YAML_REFERENCE", SWIG_FromInt((int)5));
14289 PyDict_SetItemString(d,"STC_YAML_DOCUMENT", SWIG_FromInt((int)6));
14290 PyDict_SetItemString(d,"STC_YAML_TEXT", SWIG_FromInt((int)7));
14291 PyDict_SetItemString(d,"STC_YAML_ERROR", SWIG_FromInt((int)8));
14292 PyDict_SetItemString(d,"STC_TEX_DEFAULT", SWIG_FromInt((int)0));
14293 PyDict_SetItemString(d,"STC_TEX_SPECIAL", SWIG_FromInt((int)1));
14294 PyDict_SetItemString(d,"STC_TEX_GROUP", SWIG_FromInt((int)2));
14295 PyDict_SetItemString(d,"STC_TEX_SYMBOL", SWIG_FromInt((int)3));
14296 PyDict_SetItemString(d,"STC_TEX_COMMAND", SWIG_FromInt((int)4));
14297 PyDict_SetItemString(d,"STC_TEX_TEXT", SWIG_FromInt((int)5));
14298 PyDict_SetItemString(d,"STC_METAPOST_DEFAULT", SWIG_FromInt((int)0));
14299 PyDict_SetItemString(d,"STC_METAPOST_SPECIAL", SWIG_FromInt((int)1));
14300 PyDict_SetItemString(d,"STC_METAPOST_GROUP", SWIG_FromInt((int)2));
14301 PyDict_SetItemString(d,"STC_METAPOST_SYMBOL", SWIG_FromInt((int)3));
14302 PyDict_SetItemString(d,"STC_METAPOST_COMMAND", SWIG_FromInt((int)4));
14303 PyDict_SetItemString(d,"STC_METAPOST_TEXT", SWIG_FromInt((int)5));
14304 PyDict_SetItemString(d,"STC_METAPOST_EXTRA", SWIG_FromInt((int)6));
14305 PyDict_SetItemString(d,"STC_ERLANG_DEFAULT", SWIG_FromInt((int)0));
14306 PyDict_SetItemString(d,"STC_ERLANG_COMMENT", SWIG_FromInt((int)1));
14307 PyDict_SetItemString(d,"STC_ERLANG_VARIABLE", SWIG_FromInt((int)2));
14308 PyDict_SetItemString(d,"STC_ERLANG_NUMBER", SWIG_FromInt((int)3));
14309 PyDict_SetItemString(d,"STC_ERLANG_KEYWORD", SWIG_FromInt((int)4));
14310 PyDict_SetItemString(d,"STC_ERLANG_STRING", SWIG_FromInt((int)5));
14311 PyDict_SetItemString(d,"STC_ERLANG_OPERATOR", SWIG_FromInt((int)6));
14312 PyDict_SetItemString(d,"STC_ERLANG_ATOM", SWIG_FromInt((int)7));
14313 PyDict_SetItemString(d,"STC_ERLANG_FUNCTION_NAME", SWIG_FromInt((int)8));
14314 PyDict_SetItemString(d,"STC_ERLANG_CHARACTER", SWIG_FromInt((int)9));
14315 PyDict_SetItemString(d,"STC_ERLANG_MACRO", SWIG_FromInt((int)10));
14316 PyDict_SetItemString(d,"STC_ERLANG_RECORD", SWIG_FromInt((int)11));
14317 PyDict_SetItemString(d,"STC_ERLANG_SEPARATOR", SWIG_FromInt((int)12));
14318 PyDict_SetItemString(d,"STC_ERLANG_NODE_NAME", SWIG_FromInt((int)13));
14319 PyDict_SetItemString(d,"STC_ERLANG_UNKNOWN", SWIG_FromInt((int)31));
14320 PyDict_SetItemString(d,"STC_CMD_REDO", SWIG_FromInt((int)2011));
14321 PyDict_SetItemString(d,"STC_CMD_SELECTALL", SWIG_FromInt((int)2013));
14322 PyDict_SetItemString(d,"STC_CMD_UNDO", SWIG_FromInt((int)2176));
14323 PyDict_SetItemString(d,"STC_CMD_CUT", SWIG_FromInt((int)2177));
14324 PyDict_SetItemString(d,"STC_CMD_COPY", SWIG_FromInt((int)2178));
14325 PyDict_SetItemString(d,"STC_CMD_PASTE", SWIG_FromInt((int)2179));
14326 PyDict_SetItemString(d,"STC_CMD_CLEAR", SWIG_FromInt((int)2180));
14327 PyDict_SetItemString(d,"STC_CMD_LINEDOWN", SWIG_FromInt((int)2300));
14328 PyDict_SetItemString(d,"STC_CMD_LINEDOWNEXTEND", SWIG_FromInt((int)2301));
14329 PyDict_SetItemString(d,"STC_CMD_LINEUP", SWIG_FromInt((int)2302));
14330 PyDict_SetItemString(d,"STC_CMD_LINEUPEXTEND", SWIG_FromInt((int)2303));
14331 PyDict_SetItemString(d,"STC_CMD_CHARLEFT", SWIG_FromInt((int)2304));
14332 PyDict_SetItemString(d,"STC_CMD_CHARLEFTEXTEND", SWIG_FromInt((int)2305));
14333 PyDict_SetItemString(d,"STC_CMD_CHARRIGHT", SWIG_FromInt((int)2306));
14334 PyDict_SetItemString(d,"STC_CMD_CHARRIGHTEXTEND", SWIG_FromInt((int)2307));
14335 PyDict_SetItemString(d,"STC_CMD_WORDLEFT", SWIG_FromInt((int)2308));
14336 PyDict_SetItemString(d,"STC_CMD_WORDLEFTEXTEND", SWIG_FromInt((int)2309));
14337 PyDict_SetItemString(d,"STC_CMD_WORDRIGHT", SWIG_FromInt((int)2310));
14338 PyDict_SetItemString(d,"STC_CMD_WORDRIGHTEXTEND", SWIG_FromInt((int)2311));
14339 PyDict_SetItemString(d,"STC_CMD_HOME", SWIG_FromInt((int)2312));
14340 PyDict_SetItemString(d,"STC_CMD_HOMEEXTEND", SWIG_FromInt((int)2313));
14341 PyDict_SetItemString(d,"STC_CMD_LINEEND", SWIG_FromInt((int)2314));
14342 PyDict_SetItemString(d,"STC_CMD_LINEENDEXTEND", SWIG_FromInt((int)2315));
14343 PyDict_SetItemString(d,"STC_CMD_DOCUMENTSTART", SWIG_FromInt((int)2316));
14344 PyDict_SetItemString(d,"STC_CMD_DOCUMENTSTARTEXTEND", SWIG_FromInt((int)2317));
14345 PyDict_SetItemString(d,"STC_CMD_DOCUMENTEND", SWIG_FromInt((int)2318));
14346 PyDict_SetItemString(d,"STC_CMD_DOCUMENTENDEXTEND", SWIG_FromInt((int)2319));
14347 PyDict_SetItemString(d,"STC_CMD_PAGEUP", SWIG_FromInt((int)2320));
14348 PyDict_SetItemString(d,"STC_CMD_PAGEUPEXTEND", SWIG_FromInt((int)2321));
14349 PyDict_SetItemString(d,"STC_CMD_PAGEDOWN", SWIG_FromInt((int)2322));
14350 PyDict_SetItemString(d,"STC_CMD_PAGEDOWNEXTEND", SWIG_FromInt((int)2323));
14351 PyDict_SetItemString(d,"STC_CMD_EDITTOGGLEOVERTYPE", SWIG_FromInt((int)2324));
14352 PyDict_SetItemString(d,"STC_CMD_CANCEL", SWIG_FromInt((int)2325));
14353 PyDict_SetItemString(d,"STC_CMD_DELETEBACK", SWIG_FromInt((int)2326));
14354 PyDict_SetItemString(d,"STC_CMD_TAB", SWIG_FromInt((int)2327));
14355 PyDict_SetItemString(d,"STC_CMD_BACKTAB", SWIG_FromInt((int)2328));
14356 PyDict_SetItemString(d,"STC_CMD_NEWLINE", SWIG_FromInt((int)2329));
14357 PyDict_SetItemString(d,"STC_CMD_FORMFEED", SWIG_FromInt((int)2330));
14358 PyDict_SetItemString(d,"STC_CMD_VCHOME", SWIG_FromInt((int)2331));
14359 PyDict_SetItemString(d,"STC_CMD_VCHOMEEXTEND", SWIG_FromInt((int)2332));
14360 PyDict_SetItemString(d,"STC_CMD_ZOOMIN", SWIG_FromInt((int)2333));
14361 PyDict_SetItemString(d,"STC_CMD_ZOOMOUT", SWIG_FromInt((int)2334));
14362 PyDict_SetItemString(d,"STC_CMD_DELWORDLEFT", SWIG_FromInt((int)2335));
14363 PyDict_SetItemString(d,"STC_CMD_DELWORDRIGHT", SWIG_FromInt((int)2336));
14364 PyDict_SetItemString(d,"STC_CMD_LINECUT", SWIG_FromInt((int)2337));
14365 PyDict_SetItemString(d,"STC_CMD_LINEDELETE", SWIG_FromInt((int)2338));
14366 PyDict_SetItemString(d,"STC_CMD_LINETRANSPOSE", SWIG_FromInt((int)2339));
14367 PyDict_SetItemString(d,"STC_CMD_LINEDUPLICATE", SWIG_FromInt((int)2404));
14368 PyDict_SetItemString(d,"STC_CMD_LOWERCASE", SWIG_FromInt((int)2340));
14369 PyDict_SetItemString(d,"STC_CMD_UPPERCASE", SWIG_FromInt((int)2341));
14370 PyDict_SetItemString(d,"STC_CMD_LINESCROLLDOWN", SWIG_FromInt((int)2342));
14371 PyDict_SetItemString(d,"STC_CMD_LINESCROLLUP", SWIG_FromInt((int)2343));
14372 PyDict_SetItemString(d,"STC_CMD_DELETEBACKNOTLINE", SWIG_FromInt((int)2344));
14373 PyDict_SetItemString(d,"STC_CMD_HOMEDISPLAY", SWIG_FromInt((int)2345));
14374 PyDict_SetItemString(d,"STC_CMD_HOMEDISPLAYEXTEND", SWIG_FromInt((int)2346));
14375 PyDict_SetItemString(d,"STC_CMD_LINEENDDISPLAY", SWIG_FromInt((int)2347));
14376 PyDict_SetItemString(d,"STC_CMD_LINEENDDISPLAYEXTEND", SWIG_FromInt((int)2348));
14377 PyDict_SetItemString(d,"STC_CMD_HOMEWRAP", SWIG_FromInt((int)2349));
14378 PyDict_SetItemString(d,"STC_CMD_HOMEWRAPEXTEND", SWIG_FromInt((int)2450));
14379 PyDict_SetItemString(d,"STC_CMD_LINEENDWRAP", SWIG_FromInt((int)2451));
14380 PyDict_SetItemString(d,"STC_CMD_LINEENDWRAPEXTEND", SWIG_FromInt((int)2452));
14381 PyDict_SetItemString(d,"STC_CMD_VCHOMEWRAP", SWIG_FromInt((int)2453));
14382 PyDict_SetItemString(d,"STC_CMD_VCHOMEWRAPEXTEND", SWIG_FromInt((int)2454));
14383 PyDict_SetItemString(d,"STC_CMD_WORDPARTLEFT", SWIG_FromInt((int)2390));
14384 PyDict_SetItemString(d,"STC_CMD_WORDPARTLEFTEXTEND", SWIG_FromInt((int)2391));
14385 PyDict_SetItemString(d,"STC_CMD_WORDPARTRIGHT", SWIG_FromInt((int)2392));
14386 PyDict_SetItemString(d,"STC_CMD_WORDPARTRIGHTEXTEND", SWIG_FromInt((int)2393));
14387 PyDict_SetItemString(d,"STC_CMD_DELLINELEFT", SWIG_FromInt((int)2395));
14388 PyDict_SetItemString(d,"STC_CMD_DELLINERIGHT", SWIG_FromInt((int)2396));
14389 PyDict_SetItemString(d,"STC_CMD_PARADOWN", SWIG_FromInt((int)2413));
14390 PyDict_SetItemString(d,"STC_CMD_PARADOWNEXTEND", SWIG_FromInt((int)2414));
14391 PyDict_SetItemString(d,"STC_CMD_PARAUP", SWIG_FromInt((int)2415));
14392 PyDict_SetItemString(d,"STC_CMD_PARAUPEXTEND", SWIG_FromInt((int)2416));
14393 PyDict_SetItemString(d,"STC_CMD_LINEDOWNRECTEXTEND", SWIG_FromInt((int)2426));
14394 PyDict_SetItemString(d,"STC_CMD_LINEUPRECTEXTEND", SWIG_FromInt((int)2427));
14395 PyDict_SetItemString(d,"STC_CMD_CHARLEFTRECTEXTEND", SWIG_FromInt((int)2428));
14396 PyDict_SetItemString(d,"STC_CMD_CHARRIGHTRECTEXTEND", SWIG_FromInt((int)2429));
14397 PyDict_SetItemString(d,"STC_CMD_HOMERECTEXTEND", SWIG_FromInt((int)2430));
14398 PyDict_SetItemString(d,"STC_CMD_VCHOMERECTEXTEND", SWIG_FromInt((int)2431));
14399 PyDict_SetItemString(d,"STC_CMD_LINEENDRECTEXTEND", SWIG_FromInt((int)2432));
14400 PyDict_SetItemString(d,"STC_CMD_PAGEUPRECTEXTEND", SWIG_FromInt((int)2433));
14401 PyDict_SetItemString(d,"STC_CMD_PAGEDOWNRECTEXTEND", SWIG_FromInt((int)2434));
14402 PyDict_SetItemString(d,"STC_CMD_STUTTEREDPAGEUP", SWIG_FromInt((int)2435));
14403 PyDict_SetItemString(d,"STC_CMD_STUTTEREDPAGEUPEXTEND", SWIG_FromInt((int)2436));
14404 PyDict_SetItemString(d,"STC_CMD_STUTTEREDPAGEDOWN", SWIG_FromInt((int)2437));
14405 PyDict_SetItemString(d,"STC_CMD_STUTTEREDPAGEDOWNEXTEND", SWIG_FromInt((int)2438));
14406 PyDict_SetItemString(d,"STC_CMD_WORDLEFTEND", SWIG_FromInt((int)2439));
14407 PyDict_SetItemString(d,"STC_CMD_WORDLEFTENDEXTEND", SWIG_FromInt((int)2440));
14408 PyDict_SetItemString(d,"STC_CMD_WORDRIGHTEND", SWIG_FromInt((int)2441));
14409 PyDict_SetItemString(d,"STC_CMD_WORDRIGHTENDEXTEND", SWIG_FromInt((int)2442));
14410 PyDict_SetItemString(d,"wxEVT_STC_CHANGE", SWIG_FromInt((int)wxEVT_STC_CHANGE));
14411 PyDict_SetItemString(d,"wxEVT_STC_STYLENEEDED", SWIG_FromInt((int)wxEVT_STC_STYLENEEDED));
14412 PyDict_SetItemString(d,"wxEVT_STC_CHARADDED", SWIG_FromInt((int)wxEVT_STC_CHARADDED));
14413 PyDict_SetItemString(d,"wxEVT_STC_SAVEPOINTREACHED", SWIG_FromInt((int)wxEVT_STC_SAVEPOINTREACHED));
14414 PyDict_SetItemString(d,"wxEVT_STC_SAVEPOINTLEFT", SWIG_FromInt((int)wxEVT_STC_SAVEPOINTLEFT));
14415 PyDict_SetItemString(d,"wxEVT_STC_ROMODIFYATTEMPT", SWIG_FromInt((int)wxEVT_STC_ROMODIFYATTEMPT));
14416 PyDict_SetItemString(d,"wxEVT_STC_KEY", SWIG_FromInt((int)wxEVT_STC_KEY));
14417 PyDict_SetItemString(d,"wxEVT_STC_DOUBLECLICK", SWIG_FromInt((int)wxEVT_STC_DOUBLECLICK));
14418 PyDict_SetItemString(d,"wxEVT_STC_UPDATEUI", SWIG_FromInt((int)wxEVT_STC_UPDATEUI));
14419 PyDict_SetItemString(d,"wxEVT_STC_MODIFIED", SWIG_FromInt((int)wxEVT_STC_MODIFIED));
14420 PyDict_SetItemString(d,"wxEVT_STC_MACRORECORD", SWIG_FromInt((int)wxEVT_STC_MACRORECORD));
14421 PyDict_SetItemString(d,"wxEVT_STC_MARGINCLICK", SWIG_FromInt((int)wxEVT_STC_MARGINCLICK));
14422 PyDict_SetItemString(d,"wxEVT_STC_NEEDSHOWN", SWIG_FromInt((int)wxEVT_STC_NEEDSHOWN));
14423 PyDict_SetItemString(d,"wxEVT_STC_POSCHANGED", SWIG_FromInt((int)wxEVT_STC_POSCHANGED));
14424 PyDict_SetItemString(d,"wxEVT_STC_PAINTED", SWIG_FromInt((int)wxEVT_STC_PAINTED));
14425 PyDict_SetItemString(d,"wxEVT_STC_USERLISTSELECTION", SWIG_FromInt((int)wxEVT_STC_USERLISTSELECTION));
14426 PyDict_SetItemString(d,"wxEVT_STC_URIDROPPED", SWIG_FromInt((int)wxEVT_STC_URIDROPPED));
14427 PyDict_SetItemString(d,"wxEVT_STC_DWELLSTART", SWIG_FromInt((int)wxEVT_STC_DWELLSTART));
14428 PyDict_SetItemString(d,"wxEVT_STC_DWELLEND", SWIG_FromInt((int)wxEVT_STC_DWELLEND));
14429 PyDict_SetItemString(d,"wxEVT_STC_START_DRAG", SWIG_FromInt((int)wxEVT_STC_START_DRAG));
14430 PyDict_SetItemString(d,"wxEVT_STC_DRAG_OVER", SWIG_FromInt((int)wxEVT_STC_DRAG_OVER));
14431 PyDict_SetItemString(d,"wxEVT_STC_DO_DROP", SWIG_FromInt((int)wxEVT_STC_DO_DROP));
14432 PyDict_SetItemString(d,"wxEVT_STC_ZOOM", SWIG_FromInt((int)wxEVT_STC_ZOOM));
14433 PyDict_SetItemString(d,"wxEVT_STC_HOTSPOT_CLICK", SWIG_FromInt((int)wxEVT_STC_HOTSPOT_CLICK));
14434 PyDict_SetItemString(d,"wxEVT_STC_HOTSPOT_DCLICK", SWIG_FromInt((int)wxEVT_STC_HOTSPOT_DCLICK));
14435 PyDict_SetItemString(d,"wxEVT_STC_CALLTIP_CLICK", SWIG_FromInt((int)wxEVT_STC_CALLTIP_CLICK));
14436
14437
14438 }
14439