]> git.saurik.com Git - wxWidgets.git/blame - wxPython/contrib/stc/gtk/stc_.cpp
htmlhelp.h no longer needed -> removed test in configure
[wxWidgets.git] / wxPython / contrib / stc / gtk / stc_.cpp
CommitLineData
89c8ea73
RD
1/*
2 * FILE : contrib/stc/gtk/stc_.cpp
3 *
4 * This file was automatically generated by :
5 * Simplified Wrapper and Interface Generator (SWIG)
6 * Version 1.1 (Build 883)
7 *
8 * Portions Copyright (c) 1995-1998
9 * The University of Utah and The Regents of the University of California.
10 * Permission is granted to distribute this file in any manner provided
11 * this notice remains intact.
12 *
13 * Do not make changes to this file--changes will be lost!
14 *
15 */
16
17
18#define SWIGCODE
19/* Implementation : PYTHON */
20
21#define SWIGPYTHON
22#include <string.h>
23#include <stdlib.h>
24/* Definitions for Windows/Unix exporting */
25#if defined(__WIN32__)
26# if defined(_MSC_VER)
27# define SWIGEXPORT(a) __declspec(dllexport) a
28# else
29# if defined(__BORLANDC__)
30# define SWIGEXPORT(a) a _export
31# else
32# define SWIGEXPORT(a) a
33# endif
34# endif
35#else
36# define SWIGEXPORT(a) a
37#endif
38
39#include "Python.h"
40
41#ifdef __cplusplus
42extern "C" {
43#endif
44
45extern void SWIG_MakePtr(char *, void *, char *);
46extern void SWIG_RegisterMapping(char *, char *, void *(*)(void *));
47extern char *SWIG_GetPtr(char *, void **, char *);
48extern char *SWIG_GetPtrObj(PyObject *, void **, char *);
49extern void SWIG_addvarlink(PyObject *, char *, PyObject *(*)(void), int (*)(PyObject *));
50extern PyObject *SWIG_newvarlink(void);
51#ifdef __cplusplus
52}
53#endif
54#define SWIG_init initstc_c
55
56#define SWIG_name "stc_c"
57
58#include "export.h"
59#include "wx/stc/stc.h"
60
61
62static PyObject* t_output_helper(PyObject* target, PyObject* o) {
63 PyObject* o2;
64 PyObject* o3;
65
66 if (!target) {
67 target = o;
68 } else if (target == Py_None) {
69 Py_DECREF(Py_None);
70 target = o;
71 } else {
72 if (!PyTuple_Check(target)) {
73 o2 = target;
74 target = PyTuple_New(1);
75 PyTuple_SetItem(target, 0, o2);
76 }
77 o3 = PyTuple_New(1);
78 PyTuple_SetItem(o3, 0, o);
79
80 o2 = target;
81 target = PySequence_Concat(o2, o3);
82 Py_DECREF(o2);
83 Py_DECREF(o3);
84 }
85 return target;
86}
87
88#if PYTHON_API_VERSION >= 1009
89 static char* wxStringErrorMsg = "String or Unicode type required";
90#else
91 static char* wxStringErrorMsg = "String type required";
92#endif
93#ifdef __cplusplus
94extern "C" {
95#endif
96static void *SwigwxStyledTextCtrlTowxControl(void *ptr) {
97 wxStyledTextCtrl *src;
98 wxControl *dest;
99 src = (wxStyledTextCtrl *) ptr;
100 dest = (wxControl *) src;
101 return (void *) dest;
102}
103
104static void *SwigwxStyledTextCtrlTowxWindow(void *ptr) {
105 wxStyledTextCtrl *src;
106 wxWindow *dest;
107 src = (wxStyledTextCtrl *) ptr;
108 dest = (wxWindow *) src;
109 return (void *) dest;
110}
111
112static void *SwigwxStyledTextCtrlTowxEvtHandler(void *ptr) {
113 wxStyledTextCtrl *src;
114 wxEvtHandler *dest;
115 src = (wxStyledTextCtrl *) ptr;
116 dest = (wxEvtHandler *) src;
117 return (void *) dest;
118}
119
120static void *SwigwxStyledTextCtrlTowxObject(void *ptr) {
121 wxStyledTextCtrl *src;
122 wxObject *dest;
123 src = (wxStyledTextCtrl *) ptr;
124 dest = (wxObject *) src;
125 return (void *) dest;
126}
127
128#define new_wxStyledTextCtrl(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxStyledTextCtrl(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
129static PyObject *_wrap_new_wxStyledTextCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
130 PyObject * _resultobj;
131 wxStyledTextCtrl * _result;
132 wxWindow * _arg0;
133 wxWindowID _arg1;
134 wxPoint * _arg2 = (wxPoint *) &wxDefaultPosition;
135 wxSize * _arg3 = (wxSize *) &wxDefaultSize;
136 long _arg4 = (long ) 0;
137 char * _arg5 = (char *) "styledtext";
138 PyObject * _argo0 = 0;
139 wxPoint temp;
140 PyObject * _obj2 = 0;
141 wxSize temp0;
142 PyObject * _obj3 = 0;
143 char *_kwnames[] = { "parent","id","pos","size","style","name", NULL };
144 char _ptemp[128];
145
146 self = self;
147 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi|OOls:new_wxStyledTextCtrl",_kwnames,&_argo0,&_arg1,&_obj2,&_obj3,&_arg4,&_arg5))
148 return NULL;
149 if (_argo0) {
150 if (_argo0 == Py_None) { _arg0 = NULL; }
151 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
152 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxStyledTextCtrl. Expected _wxWindow_p.");
153 return NULL;
154 }
155 }
156 if (_obj2)
157{
158 _arg2 = &temp;
159 if (! wxPoint_helper(_obj2, &_arg2))
160 return NULL;
161}
162 if (_obj3)
163{
164 _arg3 = &temp0;
165 if (! wxSize_helper(_obj3, &_arg3))
166 return NULL;
167}
168{
474c48f9 169 PyThreadState* __tstate = wxPyBeginAllowThreads();
89c8ea73
RD
170 _result = (wxStyledTextCtrl *)new_wxStyledTextCtrl(_arg0,_arg1,*_arg2,*_arg3,_arg4,_arg5);
171
474c48f9
RD
172 wxPyEndAllowThreads(__tstate);
173 if (PyErr_Occurred()) return NULL;
89c8ea73
RD
174} if (_result) {
175 SWIG_MakePtr(_ptemp, (char *) _result,"_wxStyledTextCtrl_p");
176 _resultobj = Py_BuildValue("s",_ptemp);
177 } else {
178 Py_INCREF(Py_None);
179 _resultobj = Py_None;
180 }
181 return _resultobj;
182}
183
184#define wxStyledTextCtrl_AddText(_swigobj,_swigarg0) (_swigobj->AddText(_swigarg0))
185static PyObject *_wrap_wxStyledTextCtrl_AddText(PyObject *self, PyObject *args, PyObject *kwargs) {
186 PyObject * _resultobj;
187 wxStyledTextCtrl * _arg0;
188 wxString * _arg1;
189 PyObject * _argo0 = 0;
190 PyObject * _obj1 = 0;
191 char *_kwnames[] = { "self","text", NULL };
192
193 self = self;
194 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxStyledTextCtrl_AddText",_kwnames,&_argo0,&_obj1))
195 return NULL;
196 if (_argo0) {
197 if (_argo0 == Py_None) { _arg0 = NULL; }
198 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
199 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_AddText. Expected _wxStyledTextCtrl_p.");
200 return NULL;
201 }
202 }
203{
204#if PYTHON_API_VERSION >= 1009
205 char* tmpPtr; int tmpSize;
206 if (!PyString_Check(_obj1) && !PyUnicode_Check(_obj1)) {
207 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
208 return NULL;
209 }
210 if (PyString_AsStringAndSize(_obj1, &tmpPtr, &tmpSize) == -1)
211 return NULL;
212 _arg1 = new wxString(tmpPtr, tmpSize);
213#else
214 if (!PyString_Check(_obj1)) {
215 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
216 return NULL;
217 }
218 _arg1 = new wxString(PyString_AS_STRING(_obj1), PyString_GET_SIZE(_obj1));
219#endif
220}
221{
474c48f9 222 PyThreadState* __tstate = wxPyBeginAllowThreads();
89c8ea73
RD
223 wxStyledTextCtrl_AddText(_arg0,*_arg1);
224
474c48f9
RD
225 wxPyEndAllowThreads(__tstate);
226 if (PyErr_Occurred()) return NULL;
89c8ea73
RD
227} Py_INCREF(Py_None);
228 _resultobj = Py_None;
229{
230 if (_obj1)
231 delete _arg1;
232}
233 return _resultobj;
234}
235
236#define wxStyledTextCtrl_AddStyledText(_swigobj,_swigarg0) (_swigobj->AddStyledText(_swigarg0))
237static PyObject *_wrap_wxStyledTextCtrl_AddStyledText(PyObject *self, PyObject *args, PyObject *kwargs) {
238 PyObject * _resultobj;
239 wxStyledTextCtrl * _arg0;
240 wxString * _arg1;
241 PyObject * _argo0 = 0;
242 PyObject * _obj1 = 0;
243 char *_kwnames[] = { "self","text", NULL };
244
245 self = self;
246 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxStyledTextCtrl_AddStyledText",_kwnames,&_argo0,&_obj1))
247 return NULL;
248 if (_argo0) {
249 if (_argo0 == Py_None) { _arg0 = NULL; }
250 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
251 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_AddStyledText. Expected _wxStyledTextCtrl_p.");
252 return NULL;
253 }
254 }
255{
256#if PYTHON_API_VERSION >= 1009
257 char* tmpPtr; int tmpSize;
258 if (!PyString_Check(_obj1) && !PyUnicode_Check(_obj1)) {
259 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
260 return NULL;
261 }
262 if (PyString_AsStringAndSize(_obj1, &tmpPtr, &tmpSize) == -1)
263 return NULL;
264 _arg1 = new wxString(tmpPtr, tmpSize);
265#else
266 if (!PyString_Check(_obj1)) {
267 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
268 return NULL;
269 }
270 _arg1 = new wxString(PyString_AS_STRING(_obj1), PyString_GET_SIZE(_obj1));
271#endif
272}
273{
474c48f9 274 PyThreadState* __tstate = wxPyBeginAllowThreads();
89c8ea73
RD
275 wxStyledTextCtrl_AddStyledText(_arg0,*_arg1);
276
474c48f9
RD
277 wxPyEndAllowThreads(__tstate);
278 if (PyErr_Occurred()) return NULL;
89c8ea73
RD
279} Py_INCREF(Py_None);
280 _resultobj = Py_None;
281{
282 if (_obj1)
283 delete _arg1;
284}
285 return _resultobj;
286}
287
288#define wxStyledTextCtrl_InsertText(_swigobj,_swigarg0,_swigarg1) (_swigobj->InsertText(_swigarg0,_swigarg1))
289static PyObject *_wrap_wxStyledTextCtrl_InsertText(PyObject *self, PyObject *args, PyObject *kwargs) {
290 PyObject * _resultobj;
291 wxStyledTextCtrl * _arg0;
292 int _arg1;
293 wxString * _arg2;
294 PyObject * _argo0 = 0;
295 PyObject * _obj2 = 0;
296 char *_kwnames[] = { "self","pos","text", NULL };
297
298 self = self;
299 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxStyledTextCtrl_InsertText",_kwnames,&_argo0,&_arg1,&_obj2))
300 return NULL;
301 if (_argo0) {
302 if (_argo0 == Py_None) { _arg0 = NULL; }
303 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
304 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_InsertText. Expected _wxStyledTextCtrl_p.");
305 return NULL;
306 }
307 }
308{
309#if PYTHON_API_VERSION >= 1009
310 char* tmpPtr; int tmpSize;
311 if (!PyString_Check(_obj2) && !PyUnicode_Check(_obj2)) {
312 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
313 return NULL;
314 }
315 if (PyString_AsStringAndSize(_obj2, &tmpPtr, &tmpSize) == -1)
316 return NULL;
317 _arg2 = new wxString(tmpPtr, tmpSize);
318#else
319 if (!PyString_Check(_obj2)) {
320 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
321 return NULL;
322 }
323 _arg2 = new wxString(PyString_AS_STRING(_obj2), PyString_GET_SIZE(_obj2));
324#endif
325}
326{
474c48f9 327 PyThreadState* __tstate = wxPyBeginAllowThreads();
89c8ea73
RD
328 wxStyledTextCtrl_InsertText(_arg0,_arg1,*_arg2);
329
474c48f9
RD
330 wxPyEndAllowThreads(__tstate);
331 if (PyErr_Occurred()) return NULL;
89c8ea73
RD
332} Py_INCREF(Py_None);
333 _resultobj = Py_None;
334{
335 if (_obj2)
336 delete _arg2;
337}
338 return _resultobj;
339}
340
341#define wxStyledTextCtrl_ClearAll(_swigobj) (_swigobj->ClearAll())
342static PyObject *_wrap_wxStyledTextCtrl_ClearAll(PyObject *self, PyObject *args, PyObject *kwargs) {
343 PyObject * _resultobj;
344 wxStyledTextCtrl * _arg0;
345 PyObject * _argo0 = 0;
346 char *_kwnames[] = { "self", NULL };
347
348 self = self;
349 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_ClearAll",_kwnames,&_argo0))
350 return NULL;
351 if (_argo0) {
352 if (_argo0 == Py_None) { _arg0 = NULL; }
353 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
354 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_ClearAll. Expected _wxStyledTextCtrl_p.");
355 return NULL;
356 }
357 }
358{
474c48f9 359 PyThreadState* __tstate = wxPyBeginAllowThreads();
89c8ea73
RD
360 wxStyledTextCtrl_ClearAll(_arg0);
361
474c48f9
RD
362 wxPyEndAllowThreads(__tstate);
363 if (PyErr_Occurred()) return NULL;
89c8ea73
RD
364} Py_INCREF(Py_None);
365 _resultobj = Py_None;
366 return _resultobj;
367}
368
369#define wxStyledTextCtrl_ClearDocumentStyle(_swigobj) (_swigobj->ClearDocumentStyle())
370static PyObject *_wrap_wxStyledTextCtrl_ClearDocumentStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
371 PyObject * _resultobj;
372 wxStyledTextCtrl * _arg0;
373 PyObject * _argo0 = 0;
374 char *_kwnames[] = { "self", NULL };
375
376 self = self;
377 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_ClearDocumentStyle",_kwnames,&_argo0))
378 return NULL;
379 if (_argo0) {
380 if (_argo0 == Py_None) { _arg0 = NULL; }
381 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
382 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_ClearDocumentStyle. Expected _wxStyledTextCtrl_p.");
383 return NULL;
384 }
385 }
386{
474c48f9 387 PyThreadState* __tstate = wxPyBeginAllowThreads();
89c8ea73
RD
388 wxStyledTextCtrl_ClearDocumentStyle(_arg0);
389
474c48f9
RD
390 wxPyEndAllowThreads(__tstate);
391 if (PyErr_Occurred()) return NULL;
89c8ea73
RD
392} Py_INCREF(Py_None);
393 _resultobj = Py_None;
394 return _resultobj;
395}
396
397#define wxStyledTextCtrl_GetLength(_swigobj) (_swigobj->GetLength())
398static PyObject *_wrap_wxStyledTextCtrl_GetLength(PyObject *self, PyObject *args, PyObject *kwargs) {
399 PyObject * _resultobj;
400 int _result;
401 wxStyledTextCtrl * _arg0;
402 PyObject * _argo0 = 0;
403 char *_kwnames[] = { "self", NULL };
404
405 self = self;
406 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetLength",_kwnames,&_argo0))
407 return NULL;
408 if (_argo0) {
409 if (_argo0 == Py_None) { _arg0 = NULL; }
410 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
411 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetLength. Expected _wxStyledTextCtrl_p.");
412 return NULL;
413 }
414 }
415{
474c48f9 416 PyThreadState* __tstate = wxPyBeginAllowThreads();
89c8ea73
RD
417 _result = (int )wxStyledTextCtrl_GetLength(_arg0);
418
474c48f9
RD
419 wxPyEndAllowThreads(__tstate);
420 if (PyErr_Occurred()) return NULL;
89c8ea73
RD
421} _resultobj = Py_BuildValue("i",_result);
422 return _resultobj;
423}
424
425#define wxStyledTextCtrl_GetCharAt(_swigobj,_swigarg0) (_swigobj->GetCharAt(_swigarg0))
426static PyObject *_wrap_wxStyledTextCtrl_GetCharAt(PyObject *self, PyObject *args, PyObject *kwargs) {
427 PyObject * _resultobj;
428 int _result;
429 wxStyledTextCtrl * _arg0;
430 int _arg1;
431 PyObject * _argo0 = 0;
432 char *_kwnames[] = { "self","pos", NULL };
433
434 self = self;
435 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_GetCharAt",_kwnames,&_argo0,&_arg1))
436 return NULL;
437 if (_argo0) {
438 if (_argo0 == Py_None) { _arg0 = NULL; }
439 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
440 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetCharAt. Expected _wxStyledTextCtrl_p.");
441 return NULL;
442 }
443 }
444{
474c48f9 445 PyThreadState* __tstate = wxPyBeginAllowThreads();
89c8ea73
RD
446 _result = (int )wxStyledTextCtrl_GetCharAt(_arg0,_arg1);
447
474c48f9
RD
448 wxPyEndAllowThreads(__tstate);
449 if (PyErr_Occurred()) return NULL;
89c8ea73
RD
450} _resultobj = Py_BuildValue("i",_result);
451 return _resultobj;
452}
453
454#define wxStyledTextCtrl_GetCurrentPos(_swigobj) (_swigobj->GetCurrentPos())
455static PyObject *_wrap_wxStyledTextCtrl_GetCurrentPos(PyObject *self, PyObject *args, PyObject *kwargs) {
456 PyObject * _resultobj;
457 int _result;
458 wxStyledTextCtrl * _arg0;
459 PyObject * _argo0 = 0;
460 char *_kwnames[] = { "self", NULL };
461
462 self = self;
463 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetCurrentPos",_kwnames,&_argo0))
464 return NULL;
465 if (_argo0) {
466 if (_argo0 == Py_None) { _arg0 = NULL; }
467 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
468 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetCurrentPos. Expected _wxStyledTextCtrl_p.");
469 return NULL;
470 }
471 }
472{
474c48f9 473 PyThreadState* __tstate = wxPyBeginAllowThreads();
89c8ea73
RD
474 _result = (int )wxStyledTextCtrl_GetCurrentPos(_arg0);
475
474c48f9
RD
476 wxPyEndAllowThreads(__tstate);
477 if (PyErr_Occurred()) return NULL;
89c8ea73
RD
478} _resultobj = Py_BuildValue("i",_result);
479 return _resultobj;
480}
481
482#define wxStyledTextCtrl_GetAnchor(_swigobj) (_swigobj->GetAnchor())
483static PyObject *_wrap_wxStyledTextCtrl_GetAnchor(PyObject *self, PyObject *args, PyObject *kwargs) {
484 PyObject * _resultobj;
485 int _result;
486 wxStyledTextCtrl * _arg0;
487 PyObject * _argo0 = 0;
488 char *_kwnames[] = { "self", NULL };
489
490 self = self;
491 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetAnchor",_kwnames,&_argo0))
492 return NULL;
493 if (_argo0) {
494 if (_argo0 == Py_None) { _arg0 = NULL; }
495 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
496 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetAnchor. Expected _wxStyledTextCtrl_p.");
497 return NULL;
498 }
499 }
500{
474c48f9 501 PyThreadState* __tstate = wxPyBeginAllowThreads();
89c8ea73
RD
502 _result = (int )wxStyledTextCtrl_GetAnchor(_arg0);
503
474c48f9
RD
504 wxPyEndAllowThreads(__tstate);
505 if (PyErr_Occurred()) return NULL;
89c8ea73
RD
506} _resultobj = Py_BuildValue("i",_result);
507 return _resultobj;
508}
509
510#define wxStyledTextCtrl_GetStyleAt(_swigobj,_swigarg0) (_swigobj->GetStyleAt(_swigarg0))
511static PyObject *_wrap_wxStyledTextCtrl_GetStyleAt(PyObject *self, PyObject *args, PyObject *kwargs) {
512 PyObject * _resultobj;
513 int _result;
514 wxStyledTextCtrl * _arg0;
515 int _arg1;
516 PyObject * _argo0 = 0;
517 char *_kwnames[] = { "self","pos", NULL };
518
519 self = self;
520 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_GetStyleAt",_kwnames,&_argo0,&_arg1))
521 return NULL;
522 if (_argo0) {
523 if (_argo0 == Py_None) { _arg0 = NULL; }
524 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
525 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetStyleAt. Expected _wxStyledTextCtrl_p.");
526 return NULL;
527 }
528 }
529{
474c48f9 530 PyThreadState* __tstate = wxPyBeginAllowThreads();
89c8ea73
RD
531 _result = (int )wxStyledTextCtrl_GetStyleAt(_arg0,_arg1);
532
474c48f9
RD
533 wxPyEndAllowThreads(__tstate);
534 if (PyErr_Occurred()) return NULL;
89c8ea73
RD
535} _resultobj = Py_BuildValue("i",_result);
536 return _resultobj;
537}
538
539#define wxStyledTextCtrl_Redo(_swigobj) (_swigobj->Redo())
540static PyObject *_wrap_wxStyledTextCtrl_Redo(PyObject *self, PyObject *args, PyObject *kwargs) {
541 PyObject * _resultobj;
542 wxStyledTextCtrl * _arg0;
543 PyObject * _argo0 = 0;
544 char *_kwnames[] = { "self", NULL };
545
546 self = self;
547 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_Redo",_kwnames,&_argo0))
548 return NULL;
549 if (_argo0) {
550 if (_argo0 == Py_None) { _arg0 = NULL; }
551 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
552 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_Redo. Expected _wxStyledTextCtrl_p.");
553 return NULL;
554 }
555 }
556{
474c48f9 557 PyThreadState* __tstate = wxPyBeginAllowThreads();
89c8ea73
RD
558 wxStyledTextCtrl_Redo(_arg0);
559
474c48f9
RD
560 wxPyEndAllowThreads(__tstate);
561 if (PyErr_Occurred()) return NULL;
89c8ea73
RD
562} Py_INCREF(Py_None);
563 _resultobj = Py_None;
564 return _resultobj;
565}
566
567#define wxStyledTextCtrl_SetUndoCollection(_swigobj,_swigarg0) (_swigobj->SetUndoCollection(_swigarg0))
568static PyObject *_wrap_wxStyledTextCtrl_SetUndoCollection(PyObject *self, PyObject *args, PyObject *kwargs) {
569 PyObject * _resultobj;
570 wxStyledTextCtrl * _arg0;
571 bool _arg1;
572 PyObject * _argo0 = 0;
573 int tempbool1;
574 char *_kwnames[] = { "self","collectUndo", NULL };
575
576 self = self;
577 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_SetUndoCollection",_kwnames,&_argo0,&tempbool1))
578 return NULL;
579 if (_argo0) {
580 if (_argo0 == Py_None) { _arg0 = NULL; }
581 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
582 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetUndoCollection. Expected _wxStyledTextCtrl_p.");
583 return NULL;
584 }
585 }
586 _arg1 = (bool ) tempbool1;
587{
474c48f9 588 PyThreadState* __tstate = wxPyBeginAllowThreads();
89c8ea73
RD
589 wxStyledTextCtrl_SetUndoCollection(_arg0,_arg1);
590
474c48f9
RD
591 wxPyEndAllowThreads(__tstate);
592 if (PyErr_Occurred()) return NULL;
89c8ea73
RD
593} Py_INCREF(Py_None);
594 _resultobj = Py_None;
595 return _resultobj;
596}
597
598#define wxStyledTextCtrl_SelectAll(_swigobj) (_swigobj->SelectAll())
599static PyObject *_wrap_wxStyledTextCtrl_SelectAll(PyObject *self, PyObject *args, PyObject *kwargs) {
600 PyObject * _resultobj;
601 wxStyledTextCtrl * _arg0;
602 PyObject * _argo0 = 0;
603 char *_kwnames[] = { "self", NULL };
604
605 self = self;
606 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_SelectAll",_kwnames,&_argo0))
607 return NULL;
608 if (_argo0) {
609 if (_argo0 == Py_None) { _arg0 = NULL; }
610 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
611 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SelectAll. Expected _wxStyledTextCtrl_p.");
612 return NULL;
613 }
614 }
615{
474c48f9 616 PyThreadState* __tstate = wxPyBeginAllowThreads();
89c8ea73
RD
617 wxStyledTextCtrl_SelectAll(_arg0);
618
474c48f9
RD
619 wxPyEndAllowThreads(__tstate);
620 if (PyErr_Occurred()) return NULL;
89c8ea73
RD
621} Py_INCREF(Py_None);
622 _resultobj = Py_None;
623 return _resultobj;
624}
625
626#define wxStyledTextCtrl_SetSavePoint(_swigobj) (_swigobj->SetSavePoint())
627static PyObject *_wrap_wxStyledTextCtrl_SetSavePoint(PyObject *self, PyObject *args, PyObject *kwargs) {
628 PyObject * _resultobj;
629 wxStyledTextCtrl * _arg0;
630 PyObject * _argo0 = 0;
631 char *_kwnames[] = { "self", NULL };
632
633 self = self;
634 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_SetSavePoint",_kwnames,&_argo0))
635 return NULL;
636 if (_argo0) {
637 if (_argo0 == Py_None) { _arg0 = NULL; }
638 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
639 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetSavePoint. Expected _wxStyledTextCtrl_p.");
640 return NULL;
641 }
642 }
643{
474c48f9 644 PyThreadState* __tstate = wxPyBeginAllowThreads();
89c8ea73
RD
645 wxStyledTextCtrl_SetSavePoint(_arg0);
646
474c48f9
RD
647 wxPyEndAllowThreads(__tstate);
648 if (PyErr_Occurred()) return NULL;
89c8ea73
RD
649} Py_INCREF(Py_None);
650 _resultobj = Py_None;
651 return _resultobj;
652}
653
654#define wxStyledTextCtrl_GetStyledText(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetStyledText(_swigarg0,_swigarg1))
655static PyObject *_wrap_wxStyledTextCtrl_GetStyledText(PyObject *self, PyObject *args, PyObject *kwargs) {
656 PyObject * _resultobj;
657 wxString * _result;
658 wxStyledTextCtrl * _arg0;
659 int _arg1;
660 int _arg2;
661 PyObject * _argo0 = 0;
662 char *_kwnames[] = { "self","startPos","endPos", NULL };
663
664 self = self;
665 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxStyledTextCtrl_GetStyledText",_kwnames,&_argo0,&_arg1,&_arg2))
666 return NULL;
667 if (_argo0) {
668 if (_argo0 == Py_None) { _arg0 = NULL; }
669 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
670 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetStyledText. Expected _wxStyledTextCtrl_p.");
671 return NULL;
672 }
673 }
674{
474c48f9 675 PyThreadState* __tstate = wxPyBeginAllowThreads();
89c8ea73
RD
676 _result = new wxString (wxStyledTextCtrl_GetStyledText(_arg0,_arg1,_arg2));
677
474c48f9
RD
678 wxPyEndAllowThreads(__tstate);
679 if (PyErr_Occurred()) return NULL;
89c8ea73
RD
680}{
681 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
682}
683{
684 delete _result;
685}
686 return _resultobj;
687}
688
689#define wxStyledTextCtrl_CanRedo(_swigobj) (_swigobj->CanRedo())
690static PyObject *_wrap_wxStyledTextCtrl_CanRedo(PyObject *self, PyObject *args, PyObject *kwargs) {
691 PyObject * _resultobj;
692 bool _result;
693 wxStyledTextCtrl * _arg0;
694 PyObject * _argo0 = 0;
695 char *_kwnames[] = { "self", NULL };
696
697 self = self;
698 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_CanRedo",_kwnames,&_argo0))
699 return NULL;
700 if (_argo0) {
701 if (_argo0 == Py_None) { _arg0 = NULL; }
702 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
703 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_CanRedo. Expected _wxStyledTextCtrl_p.");
704 return NULL;
705 }
706 }
707{
474c48f9 708 PyThreadState* __tstate = wxPyBeginAllowThreads();
89c8ea73
RD
709 _result = (bool )wxStyledTextCtrl_CanRedo(_arg0);
710
474c48f9
RD
711 wxPyEndAllowThreads(__tstate);
712 if (PyErr_Occurred()) return NULL;
89c8ea73
RD
713} _resultobj = Py_BuildValue("i",_result);
714 return _resultobj;
715}
716
717#define wxStyledTextCtrl_MarkerLineFromHandle(_swigobj,_swigarg0) (_swigobj->MarkerLineFromHandle(_swigarg0))
718static PyObject *_wrap_wxStyledTextCtrl_MarkerLineFromHandle(PyObject *self, PyObject *args, PyObject *kwargs) {
719 PyObject * _resultobj;
720 int _result;
721 wxStyledTextCtrl * _arg0;
722 int _arg1;
723 PyObject * _argo0 = 0;
724 char *_kwnames[] = { "self","handle", NULL };
725
726 self = self;
727 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_MarkerLineFromHandle",_kwnames,&_argo0,&_arg1))
728 return NULL;
729 if (_argo0) {
730 if (_argo0 == Py_None) { _arg0 = NULL; }
731 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
732 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_MarkerLineFromHandle. Expected _wxStyledTextCtrl_p.");
733 return NULL;
734 }
735 }
736{
474c48f9 737 PyThreadState* __tstate = wxPyBeginAllowThreads();
89c8ea73
RD
738 _result = (int )wxStyledTextCtrl_MarkerLineFromHandle(_arg0,_arg1);
739
474c48f9
RD
740 wxPyEndAllowThreads(__tstate);
741 if (PyErr_Occurred()) return NULL;
89c8ea73
RD
742} _resultobj = Py_BuildValue("i",_result);
743 return _resultobj;
744}
745
746#define wxStyledTextCtrl_MarkerDeleteHandle(_swigobj,_swigarg0) (_swigobj->MarkerDeleteHandle(_swigarg0))
747static PyObject *_wrap_wxStyledTextCtrl_MarkerDeleteHandle(PyObject *self, PyObject *args, PyObject *kwargs) {
748 PyObject * _resultobj;
749 wxStyledTextCtrl * _arg0;
750 int _arg1;
751 PyObject * _argo0 = 0;
752 char *_kwnames[] = { "self","handle", NULL };
753
754 self = self;
755 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_MarkerDeleteHandle",_kwnames,&_argo0,&_arg1))
756 return NULL;
757 if (_argo0) {
758 if (_argo0 == Py_None) { _arg0 = NULL; }
759 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
760 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_MarkerDeleteHandle. Expected _wxStyledTextCtrl_p.");
761 return NULL;
762 }
763 }
764{
474c48f9 765 PyThreadState* __tstate = wxPyBeginAllowThreads();
89c8ea73
RD
766 wxStyledTextCtrl_MarkerDeleteHandle(_arg0,_arg1);
767
474c48f9
RD
768 wxPyEndAllowThreads(__tstate);
769 if (PyErr_Occurred()) return NULL;
89c8ea73
RD
770} Py_INCREF(Py_None);
771 _resultobj = Py_None;
772 return _resultobj;
773}
774
775#define wxStyledTextCtrl_GetUndoCollection(_swigobj) (_swigobj->GetUndoCollection())
776static PyObject *_wrap_wxStyledTextCtrl_GetUndoCollection(PyObject *self, PyObject *args, PyObject *kwargs) {
777 PyObject * _resultobj;
778 bool _result;
779 wxStyledTextCtrl * _arg0;
780 PyObject * _argo0 = 0;
781 char *_kwnames[] = { "self", NULL };
782
783 self = self;
784 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetUndoCollection",_kwnames,&_argo0))
785 return NULL;
786 if (_argo0) {
787 if (_argo0 == Py_None) { _arg0 = NULL; }
788 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
789 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetUndoCollection. Expected _wxStyledTextCtrl_p.");
790 return NULL;
791 }
792 }
793{
474c48f9 794 PyThreadState* __tstate = wxPyBeginAllowThreads();
89c8ea73
RD
795 _result = (bool )wxStyledTextCtrl_GetUndoCollection(_arg0);
796
474c48f9
RD
797 wxPyEndAllowThreads(__tstate);
798 if (PyErr_Occurred()) return NULL;
89c8ea73
RD
799} _resultobj = Py_BuildValue("i",_result);
800 return _resultobj;
801}
802
803#define wxStyledTextCtrl_GetViewWhiteSpace(_swigobj) (_swigobj->GetViewWhiteSpace())
804static PyObject *_wrap_wxStyledTextCtrl_GetViewWhiteSpace(PyObject *self, PyObject *args, PyObject *kwargs) {
805 PyObject * _resultobj;
806 int _result;
807 wxStyledTextCtrl * _arg0;
808 PyObject * _argo0 = 0;
809 char *_kwnames[] = { "self", NULL };
810
811 self = self;
812 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetViewWhiteSpace",_kwnames,&_argo0))
813 return NULL;
814 if (_argo0) {
815 if (_argo0 == Py_None) { _arg0 = NULL; }
816 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
817 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetViewWhiteSpace. Expected _wxStyledTextCtrl_p.");
818 return NULL;
819 }
820 }
821{
474c48f9 822 PyThreadState* __tstate = wxPyBeginAllowThreads();
89c8ea73
RD
823 _result = (int )wxStyledTextCtrl_GetViewWhiteSpace(_arg0);
824
474c48f9
RD
825 wxPyEndAllowThreads(__tstate);
826 if (PyErr_Occurred()) return NULL;
89c8ea73
RD
827} _resultobj = Py_BuildValue("i",_result);
828 return _resultobj;
829}
830
831#define wxStyledTextCtrl_SetViewWhiteSpace(_swigobj,_swigarg0) (_swigobj->SetViewWhiteSpace(_swigarg0))
832static PyObject *_wrap_wxStyledTextCtrl_SetViewWhiteSpace(PyObject *self, PyObject *args, PyObject *kwargs) {
833 PyObject * _resultobj;
834 wxStyledTextCtrl * _arg0;
835 int _arg1;
836 PyObject * _argo0 = 0;
837 char *_kwnames[] = { "self","viewWS", NULL };
838
839 self = self;
840 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_SetViewWhiteSpace",_kwnames,&_argo0,&_arg1))
841 return NULL;
842 if (_argo0) {
843 if (_argo0 == Py_None) { _arg0 = NULL; }
844 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
845 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetViewWhiteSpace. Expected _wxStyledTextCtrl_p.");
846 return NULL;
847 }
848 }
849{
474c48f9 850 PyThreadState* __tstate = wxPyBeginAllowThreads();
89c8ea73
RD
851 wxStyledTextCtrl_SetViewWhiteSpace(_arg0,_arg1);
852
474c48f9
RD
853 wxPyEndAllowThreads(__tstate);
854 if (PyErr_Occurred()) return NULL;
89c8ea73
RD
855} Py_INCREF(Py_None);
856 _resultobj = Py_None;
857 return _resultobj;
858}
859
860#define wxStyledTextCtrl_PositionFromPoint(_swigobj,_swigarg0) (_swigobj->PositionFromPoint(_swigarg0))
861static PyObject *_wrap_wxStyledTextCtrl_PositionFromPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
862 PyObject * _resultobj;
863 int _result;
864 wxStyledTextCtrl * _arg0;
865 wxPoint * _arg1;
866 PyObject * _argo0 = 0;
867 wxPoint temp;
868 PyObject * _obj1 = 0;
869 char *_kwnames[] = { "self","pt", NULL };
870
871 self = self;
872 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxStyledTextCtrl_PositionFromPoint",_kwnames,&_argo0,&_obj1))
873 return NULL;
874 if (_argo0) {
875 if (_argo0 == Py_None) { _arg0 = NULL; }
876 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
877 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_PositionFromPoint. Expected _wxStyledTextCtrl_p.");
878 return NULL;
879 }
880 }
881{
882 _arg1 = &temp;
883 if (! wxPoint_helper(_obj1, &_arg1))
884 return NULL;
885}
886{
474c48f9 887 PyThreadState* __tstate = wxPyBeginAllowThreads();
89c8ea73
RD
888 _result = (int )wxStyledTextCtrl_PositionFromPoint(_arg0,*_arg1);
889
474c48f9
RD
890 wxPyEndAllowThreads(__tstate);
891 if (PyErr_Occurred()) return NULL;
89c8ea73
RD
892} _resultobj = Py_BuildValue("i",_result);
893 return _resultobj;
894}
895
896#define wxStyledTextCtrl_PositionFromPointClose(_swigobj,_swigarg0,_swigarg1) (_swigobj->PositionFromPointClose(_swigarg0,_swigarg1))
897static PyObject *_wrap_wxStyledTextCtrl_PositionFromPointClose(PyObject *self, PyObject *args, PyObject *kwargs) {
898 PyObject * _resultobj;
899 int _result;
900 wxStyledTextCtrl * _arg0;
901 int _arg1;
902 int _arg2;
903 PyObject * _argo0 = 0;
904 char *_kwnames[] = { "self","x","y", NULL };
905
906 self = self;
907 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxStyledTextCtrl_PositionFromPointClose",_kwnames,&_argo0,&_arg1,&_arg2))
908 return NULL;
909 if (_argo0) {
910 if (_argo0 == Py_None) { _arg0 = NULL; }
911 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
912 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_PositionFromPointClose. Expected _wxStyledTextCtrl_p.");
913 return NULL;
914 }
915 }
916{
474c48f9 917 PyThreadState* __tstate = wxPyBeginAllowThreads();
89c8ea73
RD
918 _result = (int )wxStyledTextCtrl_PositionFromPointClose(_arg0,_arg1,_arg2);
919
474c48f9
RD
920 wxPyEndAllowThreads(__tstate);
921 if (PyErr_Occurred()) return NULL;
89c8ea73
RD
922} _resultobj = Py_BuildValue("i",_result);
923 return _resultobj;
924}
925
926#define wxStyledTextCtrl_GotoLine(_swigobj,_swigarg0) (_swigobj->GotoLine(_swigarg0))
927static PyObject *_wrap_wxStyledTextCtrl_GotoLine(PyObject *self, PyObject *args, PyObject *kwargs) {
928 PyObject * _resultobj;
929 wxStyledTextCtrl * _arg0;
930 int _arg1;
931 PyObject * _argo0 = 0;
932 char *_kwnames[] = { "self","line", NULL };
933
934 self = self;
935 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_GotoLine",_kwnames,&_argo0,&_arg1))
936 return NULL;
937 if (_argo0) {
938 if (_argo0 == Py_None) { _arg0 = NULL; }
939 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
940 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GotoLine. Expected _wxStyledTextCtrl_p.");
941 return NULL;
942 }
943 }
944{
474c48f9 945 PyThreadState* __tstate = wxPyBeginAllowThreads();
89c8ea73
RD
946 wxStyledTextCtrl_GotoLine(_arg0,_arg1);
947
474c48f9
RD
948 wxPyEndAllowThreads(__tstate);
949 if (PyErr_Occurred()) return NULL;
89c8ea73
RD
950} Py_INCREF(Py_None);
951 _resultobj = Py_None;
952 return _resultobj;
953}
954
955#define wxStyledTextCtrl_GotoPos(_swigobj,_swigarg0) (_swigobj->GotoPos(_swigarg0))
956static PyObject *_wrap_wxStyledTextCtrl_GotoPos(PyObject *self, PyObject *args, PyObject *kwargs) {
957 PyObject * _resultobj;
958 wxStyledTextCtrl * _arg0;
959 int _arg1;
960 PyObject * _argo0 = 0;
961 char *_kwnames[] = { "self","pos", NULL };
962
963 self = self;
964 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_GotoPos",_kwnames,&_argo0,&_arg1))
965 return NULL;
966 if (_argo0) {
967 if (_argo0 == Py_None) { _arg0 = NULL; }
968 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
969 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GotoPos. Expected _wxStyledTextCtrl_p.");
970 return NULL;
971 }
972 }
973{
474c48f9 974 PyThreadState* __tstate = wxPyBeginAllowThreads();
89c8ea73
RD
975 wxStyledTextCtrl_GotoPos(_arg0,_arg1);
976
474c48f9
RD
977 wxPyEndAllowThreads(__tstate);
978 if (PyErr_Occurred()) return NULL;
89c8ea73
RD
979} Py_INCREF(Py_None);
980 _resultobj = Py_None;
981 return _resultobj;
982}
983
984#define wxStyledTextCtrl_SetAnchor(_swigobj,_swigarg0) (_swigobj->SetAnchor(_swigarg0))
985static PyObject *_wrap_wxStyledTextCtrl_SetAnchor(PyObject *self, PyObject *args, PyObject *kwargs) {
986 PyObject * _resultobj;
987 wxStyledTextCtrl * _arg0;
988 int _arg1;
989 PyObject * _argo0 = 0;
990 char *_kwnames[] = { "self","posAnchor", NULL };
991
992 self = self;
993 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_SetAnchor",_kwnames,&_argo0,&_arg1))
994 return NULL;
995 if (_argo0) {
996 if (_argo0 == Py_None) { _arg0 = NULL; }
997 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
998 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetAnchor. Expected _wxStyledTextCtrl_p.");
999 return NULL;
1000 }
1001 }
1002{
474c48f9 1003 PyThreadState* __tstate = wxPyBeginAllowThreads();
89c8ea73
RD
1004 wxStyledTextCtrl_SetAnchor(_arg0,_arg1);
1005
474c48f9
RD
1006 wxPyEndAllowThreads(__tstate);
1007 if (PyErr_Occurred()) return NULL;
89c8ea73
RD
1008} Py_INCREF(Py_None);
1009 _resultobj = Py_None;
1010 return _resultobj;
1011}
1012
1013#define wxStyledTextCtrl_GetCurLine(_swigobj,_swigarg0) (_swigobj->GetCurLine(_swigarg0))
1014static PyObject *_wrap_wxStyledTextCtrl_GetCurLine(PyObject *self, PyObject *args, PyObject *kwargs) {
1015 PyObject * _resultobj;
1016 wxString * _result;
1017 wxStyledTextCtrl * _arg0;
1018 int * _arg1;
1019 int temp;
1020 PyObject * _argo0 = 0;
1021 char *_kwnames[] = { "self", NULL };
1022
1023 self = self;
1024{
1025 _arg1 = &temp;
1026}
1027 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetCurLine",_kwnames,&_argo0))
1028 return NULL;
1029 if (_argo0) {
1030 if (_argo0 == Py_None) { _arg0 = NULL; }
1031 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
1032 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetCurLine. Expected _wxStyledTextCtrl_p.");
1033 return NULL;
1034 }
1035 }
1036{
474c48f9 1037 PyThreadState* __tstate = wxPyBeginAllowThreads();
89c8ea73
RD
1038 _result = new wxString (wxStyledTextCtrl_GetCurLine(_arg0,_arg1));
1039
474c48f9
RD
1040 wxPyEndAllowThreads(__tstate);
1041 if (PyErr_Occurred()) return NULL;
89c8ea73
RD
1042}{
1043 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
1044}
1045{
1046 PyObject *o;
1047 o = PyInt_FromLong((long) (*_arg1));
1048 _resultobj = t_output_helper(_resultobj, o);
1049}
1050{
1051 delete _result;
1052}
1053 return _resultobj;
1054}
1055
1056#define wxStyledTextCtrl_GetEndStyled(_swigobj) (_swigobj->GetEndStyled())
1057static PyObject *_wrap_wxStyledTextCtrl_GetEndStyled(PyObject *self, PyObject *args, PyObject *kwargs) {
1058 PyObject * _resultobj;
1059 int _result;
1060 wxStyledTextCtrl * _arg0;
1061 PyObject * _argo0 = 0;
1062 char *_kwnames[] = { "self", NULL };
1063
1064 self = self;
1065 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetEndStyled",_kwnames,&_argo0))
1066 return NULL;
1067 if (_argo0) {
1068 if (_argo0 == Py_None) { _arg0 = NULL; }
1069 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
1070 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetEndStyled. Expected _wxStyledTextCtrl_p.");
1071 return NULL;
1072 }
1073 }
1074{
474c48f9 1075 PyThreadState* __tstate = wxPyBeginAllowThreads();
89c8ea73
RD
1076 _result = (int )wxStyledTextCtrl_GetEndStyled(_arg0);
1077
474c48f9
RD
1078 wxPyEndAllowThreads(__tstate);
1079 if (PyErr_Occurred()) return NULL;
89c8ea73
RD
1080} _resultobj = Py_BuildValue("i",_result);
1081 return _resultobj;
1082}
1083
1084#define wxStyledTextCtrl_ConvertEOLs(_swigobj,_swigarg0) (_swigobj->ConvertEOLs(_swigarg0))
1085static PyObject *_wrap_wxStyledTextCtrl_ConvertEOLs(PyObject *self, PyObject *args, PyObject *kwargs) {
1086 PyObject * _resultobj;
1087 wxStyledTextCtrl * _arg0;
1088 int _arg1;
1089 PyObject * _argo0 = 0;
1090 char *_kwnames[] = { "self","eolMode", NULL };
1091
1092 self = self;
1093 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_ConvertEOLs",_kwnames,&_argo0,&_arg1))
1094 return NULL;
1095 if (_argo0) {
1096 if (_argo0 == Py_None) { _arg0 = NULL; }
1097 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
1098 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_ConvertEOLs. Expected _wxStyledTextCtrl_p.");
1099 return NULL;
1100 }
1101 }
1102{
474c48f9 1103 PyThreadState* __tstate = wxPyBeginAllowThreads();
89c8ea73
RD
1104 wxStyledTextCtrl_ConvertEOLs(_arg0,_arg1);
1105
474c48f9
RD
1106 wxPyEndAllowThreads(__tstate);
1107 if (PyErr_Occurred()) return NULL;
89c8ea73
RD
1108} Py_INCREF(Py_None);
1109 _resultobj = Py_None;
1110 return _resultobj;
1111}
1112
1113#define wxStyledTextCtrl_GetEOLMode(_swigobj) (_swigobj->GetEOLMode())
1114static PyObject *_wrap_wxStyledTextCtrl_GetEOLMode(PyObject *self, PyObject *args, PyObject *kwargs) {
1115 PyObject * _resultobj;
1116 int _result;
1117 wxStyledTextCtrl * _arg0;
1118 PyObject * _argo0 = 0;
1119 char *_kwnames[] = { "self", NULL };
1120
1121 self = self;
1122 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetEOLMode",_kwnames,&_argo0))
1123 return NULL;
1124 if (_argo0) {
1125 if (_argo0 == Py_None) { _arg0 = NULL; }
1126 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
1127 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetEOLMode. Expected _wxStyledTextCtrl_p.");
1128 return NULL;
1129 }
1130 }
1131{
474c48f9 1132 PyThreadState* __tstate = wxPyBeginAllowThreads();
89c8ea73
RD
1133 _result = (int )wxStyledTextCtrl_GetEOLMode(_arg0);
1134
474c48f9
RD
1135 wxPyEndAllowThreads(__tstate);
1136 if (PyErr_Occurred()) return NULL;
89c8ea73
RD
1137} _resultobj = Py_BuildValue("i",_result);
1138 return _resultobj;
1139}
1140
1141#define wxStyledTextCtrl_SetEOLMode(_swigobj,_swigarg0) (_swigobj->SetEOLMode(_swigarg0))
1142static PyObject *_wrap_wxStyledTextCtrl_SetEOLMode(PyObject *self, PyObject *args, PyObject *kwargs) {
1143 PyObject * _resultobj;
1144 wxStyledTextCtrl * _arg0;
1145 int _arg1;
1146 PyObject * _argo0 = 0;
1147 char *_kwnames[] = { "self","eolMode", NULL };
1148
1149 self = self;
1150 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_SetEOLMode",_kwnames,&_argo0,&_arg1))
1151 return NULL;
1152 if (_argo0) {
1153 if (_argo0 == Py_None) { _arg0 = NULL; }
1154 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
1155 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetEOLMode. Expected _wxStyledTextCtrl_p.");
1156 return NULL;
1157 }
1158 }
1159{
474c48f9 1160 PyThreadState* __tstate = wxPyBeginAllowThreads();
89c8ea73
RD
1161 wxStyledTextCtrl_SetEOLMode(_arg0,_arg1);
1162
474c48f9
RD
1163 wxPyEndAllowThreads(__tstate);
1164 if (PyErr_Occurred()) return NULL;
89c8ea73
RD
1165} Py_INCREF(Py_None);
1166 _resultobj = Py_None;
1167 return _resultobj;
1168}
1169
1170#define wxStyledTextCtrl_StartStyling(_swigobj,_swigarg0,_swigarg1) (_swigobj->StartStyling(_swigarg0,_swigarg1))
1171static PyObject *_wrap_wxStyledTextCtrl_StartStyling(PyObject *self, PyObject *args, PyObject *kwargs) {
1172 PyObject * _resultobj;
1173 wxStyledTextCtrl * _arg0;
1174 int _arg1;
1175 int _arg2;
1176 PyObject * _argo0 = 0;
1177 char *_kwnames[] = { "self","pos","mask", NULL };
1178
1179 self = self;
1180 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxStyledTextCtrl_StartStyling",_kwnames,&_argo0,&_arg1,&_arg2))
1181 return NULL;
1182 if (_argo0) {
1183 if (_argo0 == Py_None) { _arg0 = NULL; }
1184 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
1185 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_StartStyling. Expected _wxStyledTextCtrl_p.");
1186 return NULL;
1187 }
1188 }
1189{
474c48f9 1190 PyThreadState* __tstate = wxPyBeginAllowThreads();
89c8ea73
RD
1191 wxStyledTextCtrl_StartStyling(_arg0,_arg1,_arg2);
1192
474c48f9
RD
1193 wxPyEndAllowThreads(__tstate);
1194 if (PyErr_Occurred()) return NULL;
89c8ea73
RD
1195} Py_INCREF(Py_None);
1196 _resultobj = Py_None;
1197 return _resultobj;
1198}
1199
1200#define wxStyledTextCtrl_SetStyling(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetStyling(_swigarg0,_swigarg1))
1201static PyObject *_wrap_wxStyledTextCtrl_SetStyling(PyObject *self, PyObject *args, PyObject *kwargs) {
1202 PyObject * _resultobj;
1203 wxStyledTextCtrl * _arg0;
1204 int _arg1;
1205 int _arg2;
1206 PyObject * _argo0 = 0;
1207 char *_kwnames[] = { "self","length","style", NULL };
1208
1209 self = self;
1210 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxStyledTextCtrl_SetStyling",_kwnames,&_argo0,&_arg1,&_arg2))
1211 return NULL;
1212 if (_argo0) {
1213 if (_argo0 == Py_None) { _arg0 = NULL; }
1214 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
1215 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetStyling. Expected _wxStyledTextCtrl_p.");
1216 return NULL;
1217 }
1218 }
1219{
474c48f9 1220 PyThreadState* __tstate = wxPyBeginAllowThreads();
89c8ea73
RD
1221 wxStyledTextCtrl_SetStyling(_arg0,_arg1,_arg2);
1222
474c48f9
RD
1223 wxPyEndAllowThreads(__tstate);
1224 if (PyErr_Occurred()) return NULL;
89c8ea73
RD
1225} Py_INCREF(Py_None);
1226 _resultobj = Py_None;
1227 return _resultobj;
1228}
1229
1230#define wxStyledTextCtrl_GetBufferedDraw(_swigobj) (_swigobj->GetBufferedDraw())
1231static PyObject *_wrap_wxStyledTextCtrl_GetBufferedDraw(PyObject *self, PyObject *args, PyObject *kwargs) {
1232 PyObject * _resultobj;
1233 bool _result;
1234 wxStyledTextCtrl * _arg0;
1235 PyObject * _argo0 = 0;
1236 char *_kwnames[] = { "self", NULL };
1237
1238 self = self;
1239 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetBufferedDraw",_kwnames,&_argo0))
1240 return NULL;
1241 if (_argo0) {
1242 if (_argo0 == Py_None) { _arg0 = NULL; }
1243 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
1244 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetBufferedDraw. Expected _wxStyledTextCtrl_p.");
1245 return NULL;
1246 }
1247 }
1248{
474c48f9 1249 PyThreadState* __tstate = wxPyBeginAllowThreads();
89c8ea73
RD
1250 _result = (bool )wxStyledTextCtrl_GetBufferedDraw(_arg0);
1251
474c48f9
RD
1252 wxPyEndAllowThreads(__tstate);
1253 if (PyErr_Occurred()) return NULL;
89c8ea73
RD
1254} _resultobj = Py_BuildValue("i",_result);
1255 return _resultobj;
1256}
1257
1258#define wxStyledTextCtrl_SetBufferedDraw(_swigobj,_swigarg0) (_swigobj->SetBufferedDraw(_swigarg0))
1259static PyObject *_wrap_wxStyledTextCtrl_SetBufferedDraw(PyObject *self, PyObject *args, PyObject *kwargs) {
1260 PyObject * _resultobj;
1261 wxStyledTextCtrl * _arg0;
1262 bool _arg1;
1263 PyObject * _argo0 = 0;
1264 int tempbool1;
1265 char *_kwnames[] = { "self","buffered", NULL };
1266
1267 self = self;
1268 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_SetBufferedDraw",_kwnames,&_argo0,&tempbool1))
1269 return NULL;
1270 if (_argo0) {
1271 if (_argo0 == Py_None) { _arg0 = NULL; }
1272 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
1273 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetBufferedDraw. Expected _wxStyledTextCtrl_p.");
1274 return NULL;
1275 }
1276 }
1277 _arg1 = (bool ) tempbool1;
1278{
474c48f9 1279 PyThreadState* __tstate = wxPyBeginAllowThreads();
89c8ea73
RD
1280 wxStyledTextCtrl_SetBufferedDraw(_arg0,_arg1);
1281
474c48f9
RD
1282 wxPyEndAllowThreads(__tstate);
1283 if (PyErr_Occurred()) return NULL;
89c8ea73
RD
1284} Py_INCREF(Py_None);
1285 _resultobj = Py_None;
1286 return _resultobj;
1287}
1288
1289#define wxStyledTextCtrl_SetTabWidth(_swigobj,_swigarg0) (_swigobj->SetTabWidth(_swigarg0))
1290static PyObject *_wrap_wxStyledTextCtrl_SetTabWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
1291 PyObject * _resultobj;
1292 wxStyledTextCtrl * _arg0;
1293 int _arg1;
1294 PyObject * _argo0 = 0;
1295 char *_kwnames[] = { "self","tabWidth", NULL };
1296
1297 self = self;
1298 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_SetTabWidth",_kwnames,&_argo0,&_arg1))
1299 return NULL;
1300 if (_argo0) {
1301 if (_argo0 == Py_None) { _arg0 = NULL; }
1302 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
1303 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetTabWidth. Expected _wxStyledTextCtrl_p.");
1304 return NULL;
1305 }
1306 }
1307{
474c48f9 1308 PyThreadState* __tstate = wxPyBeginAllowThreads();
89c8ea73
RD
1309 wxStyledTextCtrl_SetTabWidth(_arg0,_arg1);
1310
474c48f9
RD
1311 wxPyEndAllowThreads(__tstate);
1312 if (PyErr_Occurred()) return NULL;
89c8ea73
RD
1313} Py_INCREF(Py_None);
1314 _resultobj = Py_None;
1315 return _resultobj;
1316}
1317
1318#define wxStyledTextCtrl_GetTabWidth(_swigobj) (_swigobj->GetTabWidth())
1319static PyObject *_wrap_wxStyledTextCtrl_GetTabWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
1320 PyObject * _resultobj;
1321 int _result;
1322 wxStyledTextCtrl * _arg0;
1323 PyObject * _argo0 = 0;
1324 char *_kwnames[] = { "self", NULL };
1325
1326 self = self;
1327 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetTabWidth",_kwnames,&_argo0))
1328 return NULL;
1329 if (_argo0) {
1330 if (_argo0 == Py_None) { _arg0 = NULL; }
1331 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
1332 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetTabWidth. Expected _wxStyledTextCtrl_p.");
1333 return NULL;
1334 }
1335 }
1336{
474c48f9 1337 PyThreadState* __tstate = wxPyBeginAllowThreads();
89c8ea73
RD
1338 _result = (int )wxStyledTextCtrl_GetTabWidth(_arg0);
1339
474c48f9
RD
1340 wxPyEndAllowThreads(__tstate);
1341 if (PyErr_Occurred()) return NULL;
89c8ea73
RD
1342} _resultobj = Py_BuildValue("i",_result);
1343 return _resultobj;
1344}
1345
1346#define wxStyledTextCtrl_SetCodePage(_swigobj,_swigarg0) (_swigobj->SetCodePage(_swigarg0))
1347static PyObject *_wrap_wxStyledTextCtrl_SetCodePage(PyObject *self, PyObject *args, PyObject *kwargs) {
1348 PyObject * _resultobj;
1349 wxStyledTextCtrl * _arg0;
1350 int _arg1;
1351 PyObject * _argo0 = 0;
1352 char *_kwnames[] = { "self","codePage", NULL };
1353
1354 self = self;
1355 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_SetCodePage",_kwnames,&_argo0,&_arg1))
1356 return NULL;
1357 if (_argo0) {
1358 if (_argo0 == Py_None) { _arg0 = NULL; }
1359 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
1360 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetCodePage. Expected _wxStyledTextCtrl_p.");
1361 return NULL;
1362 }
1363 }
1364{
474c48f9 1365 PyThreadState* __tstate = wxPyBeginAllowThreads();
89c8ea73
RD
1366 wxStyledTextCtrl_SetCodePage(_arg0,_arg1);
1367
474c48f9
RD
1368 wxPyEndAllowThreads(__tstate);
1369 if (PyErr_Occurred()) return NULL;
89c8ea73
RD
1370} Py_INCREF(Py_None);
1371 _resultobj = Py_None;
1372 return _resultobj;
1373}
1374
1375#define wxStyledTextCtrl_MarkerDefine(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->MarkerDefine(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
1376static PyObject *_wrap_wxStyledTextCtrl_MarkerDefine(PyObject *self, PyObject *args, PyObject *kwargs) {
1377 PyObject * _resultobj;
1378 wxStyledTextCtrl * _arg0;
1379 int _arg1;
1380 int _arg2;
1381 wxColour * _arg3 = (wxColour *) &wxNullColour;
1382 wxColour * _arg4 = (wxColour *) &wxNullColour;
1383 PyObject * _argo0 = 0;
1384 wxColour temp;
1385 PyObject * _obj3 = 0;
1386 wxColour temp0;
1387 PyObject * _obj4 = 0;
1388 char *_kwnames[] = { "self","markerNumber","markerSymbol","foreground","background", NULL };
1389
1390 self = self;
1391 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii|OO:wxStyledTextCtrl_MarkerDefine",_kwnames,&_argo0,&_arg1,&_arg2,&_obj3,&_obj4))
1392 return NULL;
1393 if (_argo0) {
1394 if (_argo0 == Py_None) { _arg0 = NULL; }
1395 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
1396 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_MarkerDefine. Expected _wxStyledTextCtrl_p.");
1397 return NULL;
1398 }
1399 }
1400 if (_obj3)
1401{
1402 _arg3 = &temp;
1403 if (! wxColour_helper(_obj3, &_arg3))
1404 return NULL;
1405}
1406 if (_obj4)
1407{
1408 _arg4 = &temp0;
1409 if (! wxColour_helper(_obj4, &_arg4))
1410 return NULL;
1411}
1412{
474c48f9 1413 PyThreadState* __tstate = wxPyBeginAllowThreads();
89c8ea73
RD
1414 wxStyledTextCtrl_MarkerDefine(_arg0,_arg1,_arg2,*_arg3,*_arg4);
1415
474c48f9
RD
1416 wxPyEndAllowThreads(__tstate);
1417 if (PyErr_Occurred()) return NULL;
89c8ea73
RD
1418} Py_INCREF(Py_None);
1419 _resultobj = Py_None;
1420 return _resultobj;
1421}
1422
1423#define wxStyledTextCtrl_MarkerSetForeground(_swigobj,_swigarg0,_swigarg1) (_swigobj->MarkerSetForeground(_swigarg0,_swigarg1))
1424static PyObject *_wrap_wxStyledTextCtrl_MarkerSetForeground(PyObject *self, PyObject *args, PyObject *kwargs) {
1425 PyObject * _resultobj;
1426 wxStyledTextCtrl * _arg0;
1427 int _arg1;
1428 wxColour * _arg2;
1429 PyObject * _argo0 = 0;
1430 wxColour temp;
1431 PyObject * _obj2 = 0;
1432 char *_kwnames[] = { "self","markerNumber","fore", NULL };
1433
1434 self = self;
1435 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxStyledTextCtrl_MarkerSetForeground",_kwnames,&_argo0,&_arg1,&_obj2))
1436 return NULL;
1437 if (_argo0) {
1438 if (_argo0 == Py_None) { _arg0 = NULL; }
1439 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
1440 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_MarkerSetForeground. Expected _wxStyledTextCtrl_p.");
1441 return NULL;
1442 }
1443 }
1444{
1445 _arg2 = &temp;
1446 if (! wxColour_helper(_obj2, &_arg2))
1447 return NULL;
1448}
1449{
474c48f9 1450 PyThreadState* __tstate = wxPyBeginAllowThreads();
89c8ea73
RD
1451 wxStyledTextCtrl_MarkerSetForeground(_arg0,_arg1,*_arg2);
1452
474c48f9
RD
1453 wxPyEndAllowThreads(__tstate);
1454 if (PyErr_Occurred()) return NULL;
89c8ea73
RD
1455} Py_INCREF(Py_None);
1456 _resultobj = Py_None;
1457 return _resultobj;
1458}
1459
1460#define wxStyledTextCtrl_MarkerSetBackground(_swigobj,_swigarg0,_swigarg1) (_swigobj->MarkerSetBackground(_swigarg0,_swigarg1))
1461static PyObject *_wrap_wxStyledTextCtrl_MarkerSetBackground(PyObject *self, PyObject *args, PyObject *kwargs) {
1462 PyObject * _resultobj;
1463 wxStyledTextCtrl * _arg0;
1464 int _arg1;
1465 wxColour * _arg2;
1466 PyObject * _argo0 = 0;
1467 wxColour temp;
1468 PyObject * _obj2 = 0;
1469 char *_kwnames[] = { "self","markerNumber","back", NULL };
1470
1471 self = self;
1472 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxStyledTextCtrl_MarkerSetBackground",_kwnames,&_argo0,&_arg1,&_obj2))
1473 return NULL;
1474 if (_argo0) {
1475 if (_argo0 == Py_None) { _arg0 = NULL; }
1476 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
1477 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_MarkerSetBackground. Expected _wxStyledTextCtrl_p.");
1478 return NULL;
1479 }
1480 }
1481{
1482 _arg2 = &temp;
1483 if (! wxColour_helper(_obj2, &_arg2))
1484 return NULL;
1485}
1486{
474c48f9 1487 PyThreadState* __tstate = wxPyBeginAllowThreads();
89c8ea73
RD
1488 wxStyledTextCtrl_MarkerSetBackground(_arg0,_arg1,*_arg2);
1489
474c48f9
RD
1490 wxPyEndAllowThreads(__tstate);
1491 if (PyErr_Occurred()) return NULL;
89c8ea73
RD
1492} Py_INCREF(Py_None);
1493 _resultobj = Py_None;
1494 return _resultobj;
1495}
1496
1497#define wxStyledTextCtrl_MarkerAdd(_swigobj,_swigarg0,_swigarg1) (_swigobj->MarkerAdd(_swigarg0,_swigarg1))
1498static PyObject *_wrap_wxStyledTextCtrl_MarkerAdd(PyObject *self, PyObject *args, PyObject *kwargs) {
1499 PyObject * _resultobj;
1500 wxStyledTextCtrl * _arg0;
1501 int _arg1;
1502 int _arg2;
1503 PyObject * _argo0 = 0;
1504 char *_kwnames[] = { "self","line","markerNumber", NULL };
1505
1506 self = self;
1507 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxStyledTextCtrl_MarkerAdd",_kwnames,&_argo0,&_arg1,&_arg2))
1508 return NULL;
1509 if (_argo0) {
1510 if (_argo0 == Py_None) { _arg0 = NULL; }
1511 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
1512 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_MarkerAdd. Expected _wxStyledTextCtrl_p.");
1513 return NULL;
1514 }
1515 }
1516{
474c48f9 1517 PyThreadState* __tstate = wxPyBeginAllowThreads();
89c8ea73
RD
1518 wxStyledTextCtrl_MarkerAdd(_arg0,_arg1,_arg2);
1519
474c48f9
RD
1520 wxPyEndAllowThreads(__tstate);
1521 if (PyErr_Occurred()) return NULL;
89c8ea73
RD
1522} Py_INCREF(Py_None);
1523 _resultobj = Py_None;
1524 return _resultobj;
1525}
1526
1527#define wxStyledTextCtrl_MarkerDelete(_swigobj,_swigarg0,_swigarg1) (_swigobj->MarkerDelete(_swigarg0,_swigarg1))
1528static PyObject *_wrap_wxStyledTextCtrl_MarkerDelete(PyObject *self, PyObject *args, PyObject *kwargs) {
1529 PyObject * _resultobj;
1530 wxStyledTextCtrl * _arg0;
1531 int _arg1;
1532 int _arg2;
1533 PyObject * _argo0 = 0;
1534 char *_kwnames[] = { "self","line","markerNumber", NULL };
1535
1536 self = self;
1537 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxStyledTextCtrl_MarkerDelete",_kwnames,&_argo0,&_arg1,&_arg2))
1538 return NULL;
1539 if (_argo0) {
1540 if (_argo0 == Py_None) { _arg0 = NULL; }
1541 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
1542 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_MarkerDelete. Expected _wxStyledTextCtrl_p.");
1543 return NULL;
1544 }
1545 }
1546{
474c48f9 1547 PyThreadState* __tstate = wxPyBeginAllowThreads();
89c8ea73
RD
1548 wxStyledTextCtrl_MarkerDelete(_arg0,_arg1,_arg2);
1549
474c48f9
RD
1550 wxPyEndAllowThreads(__tstate);
1551 if (PyErr_Occurred()) return NULL;
89c8ea73
RD
1552} Py_INCREF(Py_None);
1553 _resultobj = Py_None;
1554 return _resultobj;
1555}
1556
1557#define wxStyledTextCtrl_MarkerDeleteAll(_swigobj,_swigarg0) (_swigobj->MarkerDeleteAll(_swigarg0))
1558static PyObject *_wrap_wxStyledTextCtrl_MarkerDeleteAll(PyObject *self, PyObject *args, PyObject *kwargs) {
1559 PyObject * _resultobj;
1560 wxStyledTextCtrl * _arg0;
1561 int _arg1;
1562 PyObject * _argo0 = 0;
1563 char *_kwnames[] = { "self","markerNumber", NULL };
1564
1565 self = self;
1566 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_MarkerDeleteAll",_kwnames,&_argo0,&_arg1))
1567 return NULL;
1568 if (_argo0) {
1569 if (_argo0 == Py_None) { _arg0 = NULL; }
1570 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
1571 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_MarkerDeleteAll. Expected _wxStyledTextCtrl_p.");
1572 return NULL;
1573 }
1574 }
1575{
474c48f9 1576 PyThreadState* __tstate = wxPyBeginAllowThreads();
89c8ea73
RD
1577 wxStyledTextCtrl_MarkerDeleteAll(_arg0,_arg1);
1578
474c48f9
RD
1579 wxPyEndAllowThreads(__tstate);
1580 if (PyErr_Occurred()) return NULL;
89c8ea73
RD
1581} Py_INCREF(Py_None);
1582 _resultobj = Py_None;
1583 return _resultobj;
1584}
1585
1586#define wxStyledTextCtrl_MarkerGet(_swigobj,_swigarg0) (_swigobj->MarkerGet(_swigarg0))
1587static PyObject *_wrap_wxStyledTextCtrl_MarkerGet(PyObject *self, PyObject *args, PyObject *kwargs) {
1588 PyObject * _resultobj;
1589 int _result;
1590 wxStyledTextCtrl * _arg0;
1591 int _arg1;
1592 PyObject * _argo0 = 0;
1593 char *_kwnames[] = { "self","line", NULL };
1594
1595 self = self;
1596 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_MarkerGet",_kwnames,&_argo0,&_arg1))
1597 return NULL;
1598 if (_argo0) {
1599 if (_argo0 == Py_None) { _arg0 = NULL; }
1600 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
1601 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_MarkerGet. Expected _wxStyledTextCtrl_p.");
1602 return NULL;
1603 }
1604 }
1605{
474c48f9 1606 PyThreadState* __tstate = wxPyBeginAllowThreads();
89c8ea73
RD
1607 _result = (int )wxStyledTextCtrl_MarkerGet(_arg0,_arg1);
1608
474c48f9
RD
1609 wxPyEndAllowThreads(__tstate);
1610 if (PyErr_Occurred()) return NULL;
89c8ea73
RD
1611} _resultobj = Py_BuildValue("i",_result);
1612 return _resultobj;
1613}
1614
1615#define wxStyledTextCtrl_MarkerNext(_swigobj,_swigarg0,_swigarg1) (_swigobj->MarkerNext(_swigarg0,_swigarg1))
1616static PyObject *_wrap_wxStyledTextCtrl_MarkerNext(PyObject *self, PyObject *args, PyObject *kwargs) {
1617 PyObject * _resultobj;
1618 int _result;
1619 wxStyledTextCtrl * _arg0;
1620 int _arg1;
1621 int _arg2;
1622 PyObject * _argo0 = 0;
1623 char *_kwnames[] = { "self","lineStart","markerMask", NULL };
1624
1625 self = self;
1626 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxStyledTextCtrl_MarkerNext",_kwnames,&_argo0,&_arg1,&_arg2))
1627 return NULL;
1628 if (_argo0) {
1629 if (_argo0 == Py_None) { _arg0 = NULL; }
1630 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
1631 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_MarkerNext. Expected _wxStyledTextCtrl_p.");
1632 return NULL;
1633 }
1634 }
1635{
474c48f9 1636 PyThreadState* __tstate = wxPyBeginAllowThreads();
89c8ea73
RD
1637 _result = (int )wxStyledTextCtrl_MarkerNext(_arg0,_arg1,_arg2);
1638
474c48f9
RD
1639 wxPyEndAllowThreads(__tstate);
1640 if (PyErr_Occurred()) return NULL;
89c8ea73
RD
1641} _resultobj = Py_BuildValue("i",_result);
1642 return _resultobj;
1643}
1644
1645#define wxStyledTextCtrl_MarkerPrevious(_swigobj,_swigarg0,_swigarg1) (_swigobj->MarkerPrevious(_swigarg0,_swigarg1))
1646static PyObject *_wrap_wxStyledTextCtrl_MarkerPrevious(PyObject *self, PyObject *args, PyObject *kwargs) {
1647 PyObject * _resultobj;
1648 int _result;
1649 wxStyledTextCtrl * _arg0;
1650 int _arg1;
1651 int _arg2;
1652 PyObject * _argo0 = 0;
1653 char *_kwnames[] = { "self","lineStart","markerMask", NULL };
1654
1655 self = self;
1656 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxStyledTextCtrl_MarkerPrevious",_kwnames,&_argo0,&_arg1,&_arg2))
1657 return NULL;
1658 if (_argo0) {
1659 if (_argo0 == Py_None) { _arg0 = NULL; }
1660 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
1661 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_MarkerPrevious. Expected _wxStyledTextCtrl_p.");
1662 return NULL;
1663 }
1664 }
1665{
474c48f9 1666 PyThreadState* __tstate = wxPyBeginAllowThreads();
89c8ea73
RD
1667 _result = (int )wxStyledTextCtrl_MarkerPrevious(_arg0,_arg1,_arg2);
1668
474c48f9
RD
1669 wxPyEndAllowThreads(__tstate);
1670 if (PyErr_Occurred()) return NULL;
89c8ea73
RD
1671} _resultobj = Py_BuildValue("i",_result);
1672 return _resultobj;
1673}
1674
1675#define wxStyledTextCtrl_SetMarginType(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetMarginType(_swigarg0,_swigarg1))
1676static PyObject *_wrap_wxStyledTextCtrl_SetMarginType(PyObject *self, PyObject *args, PyObject *kwargs) {
1677 PyObject * _resultobj;
1678 wxStyledTextCtrl * _arg0;
1679 int _arg1;
1680 int _arg2;
1681 PyObject * _argo0 = 0;
1682 char *_kwnames[] = { "self","margin","marginType", NULL };
1683
1684 self = self;
1685 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxStyledTextCtrl_SetMarginType",_kwnames,&_argo0,&_arg1,&_arg2))
1686 return NULL;
1687 if (_argo0) {
1688 if (_argo0 == Py_None) { _arg0 = NULL; }
1689 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
1690 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetMarginType. Expected _wxStyledTextCtrl_p.");
1691 return NULL;
1692 }
1693 }
1694{
474c48f9 1695 PyThreadState* __tstate = wxPyBeginAllowThreads();
89c8ea73
RD
1696 wxStyledTextCtrl_SetMarginType(_arg0,_arg1,_arg2);
1697
474c48f9
RD
1698 wxPyEndAllowThreads(__tstate);
1699 if (PyErr_Occurred()) return NULL;
89c8ea73
RD
1700} Py_INCREF(Py_None);
1701 _resultobj = Py_None;
1702 return _resultobj;
1703}
1704
1705#define wxStyledTextCtrl_GetMarginType(_swigobj,_swigarg0) (_swigobj->GetMarginType(_swigarg0))
1706static PyObject *_wrap_wxStyledTextCtrl_GetMarginType(PyObject *self, PyObject *args, PyObject *kwargs) {
1707 PyObject * _resultobj;
1708 int _result;
1709 wxStyledTextCtrl * _arg0;
1710 int _arg1;
1711 PyObject * _argo0 = 0;
1712 char *_kwnames[] = { "self","margin", NULL };
1713
1714 self = self;
1715 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_GetMarginType",_kwnames,&_argo0,&_arg1))
1716 return NULL;
1717 if (_argo0) {
1718 if (_argo0 == Py_None) { _arg0 = NULL; }
1719 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
1720 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetMarginType. Expected _wxStyledTextCtrl_p.");
1721 return NULL;
1722 }
1723 }
1724{
474c48f9 1725 PyThreadState* __tstate = wxPyBeginAllowThreads();
89c8ea73
RD
1726 _result = (int )wxStyledTextCtrl_GetMarginType(_arg0,_arg1);
1727
474c48f9
RD
1728 wxPyEndAllowThreads(__tstate);
1729 if (PyErr_Occurred()) return NULL;
89c8ea73
RD
1730} _resultobj = Py_BuildValue("i",_result);
1731 return _resultobj;
1732}
1733
1734#define wxStyledTextCtrl_SetMarginWidth(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetMarginWidth(_swigarg0,_swigarg1))
1735static PyObject *_wrap_wxStyledTextCtrl_SetMarginWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
1736 PyObject * _resultobj;
1737 wxStyledTextCtrl * _arg0;
1738 int _arg1;
1739 int _arg2;
1740 PyObject * _argo0 = 0;
1741 char *_kwnames[] = { "self","margin","pixelWidth", NULL };
1742
1743 self = self;
1744 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxStyledTextCtrl_SetMarginWidth",_kwnames,&_argo0,&_arg1,&_arg2))
1745 return NULL;
1746 if (_argo0) {
1747 if (_argo0 == Py_None) { _arg0 = NULL; }
1748 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
1749 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetMarginWidth. Expected _wxStyledTextCtrl_p.");
1750 return NULL;
1751 }
1752 }
1753{
474c48f9 1754 PyThreadState* __tstate = wxPyBeginAllowThreads();
89c8ea73
RD
1755 wxStyledTextCtrl_SetMarginWidth(_arg0,_arg1,_arg2);
1756
474c48f9
RD
1757 wxPyEndAllowThreads(__tstate);
1758 if (PyErr_Occurred()) return NULL;
89c8ea73
RD
1759} Py_INCREF(Py_None);
1760 _resultobj = Py_None;
1761 return _resultobj;
1762}
1763
1764#define wxStyledTextCtrl_GetMarginWidth(_swigobj,_swigarg0) (_swigobj->GetMarginWidth(_swigarg0))
1765static PyObject *_wrap_wxStyledTextCtrl_GetMarginWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
1766 PyObject * _resultobj;
1767 int _result;
1768 wxStyledTextCtrl * _arg0;
1769 int _arg1;
1770 PyObject * _argo0 = 0;
1771 char *_kwnames[] = { "self","margin", NULL };
1772
1773 self = self;
1774 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_GetMarginWidth",_kwnames,&_argo0,&_arg1))
1775 return NULL;
1776 if (_argo0) {
1777 if (_argo0 == Py_None) { _arg0 = NULL; }
1778 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
1779 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetMarginWidth. Expected _wxStyledTextCtrl_p.");
1780 return NULL;
1781 }
1782 }
1783{
474c48f9 1784 PyThreadState* __tstate = wxPyBeginAllowThreads();
89c8ea73
RD
1785 _result = (int )wxStyledTextCtrl_GetMarginWidth(_arg0,_arg1);
1786
474c48f9
RD
1787 wxPyEndAllowThreads(__tstate);
1788 if (PyErr_Occurred()) return NULL;
89c8ea73
RD
1789} _resultobj = Py_BuildValue("i",_result);
1790 return _resultobj;
1791}
1792
1793#define wxStyledTextCtrl_SetMarginMask(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetMarginMask(_swigarg0,_swigarg1))
1794static PyObject *_wrap_wxStyledTextCtrl_SetMarginMask(PyObject *self, PyObject *args, PyObject *kwargs) {
1795 PyObject * _resultobj;
1796 wxStyledTextCtrl * _arg0;
1797 int _arg1;
1798 int _arg2;
1799 PyObject * _argo0 = 0;
1800 char *_kwnames[] = { "self","margin","mask", NULL };
1801
1802 self = self;
1803 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxStyledTextCtrl_SetMarginMask",_kwnames,&_argo0,&_arg1,&_arg2))
1804 return NULL;
1805 if (_argo0) {
1806 if (_argo0 == Py_None) { _arg0 = NULL; }
1807 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
1808 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetMarginMask. Expected _wxStyledTextCtrl_p.");
1809 return NULL;
1810 }
1811 }
1812{
474c48f9 1813 PyThreadState* __tstate = wxPyBeginAllowThreads();
89c8ea73
RD
1814 wxStyledTextCtrl_SetMarginMask(_arg0,_arg1,_arg2);
1815
474c48f9
RD
1816 wxPyEndAllowThreads(__tstate);
1817 if (PyErr_Occurred()) return NULL;
89c8ea73
RD
1818} Py_INCREF(Py_None);
1819 _resultobj = Py_None;
1820 return _resultobj;
1821}
1822
1823#define wxStyledTextCtrl_GetMarginMask(_swigobj,_swigarg0) (_swigobj->GetMarginMask(_swigarg0))
1824static PyObject *_wrap_wxStyledTextCtrl_GetMarginMask(PyObject *self, PyObject *args, PyObject *kwargs) {
1825 PyObject * _resultobj;
1826 int _result;
1827 wxStyledTextCtrl * _arg0;
1828 int _arg1;
1829 PyObject * _argo0 = 0;
1830 char *_kwnames[] = { "self","margin", NULL };
1831
1832 self = self;
1833 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_GetMarginMask",_kwnames,&_argo0,&_arg1))
1834 return NULL;
1835 if (_argo0) {
1836 if (_argo0 == Py_None) { _arg0 = NULL; }
1837 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
1838 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetMarginMask. Expected _wxStyledTextCtrl_p.");
1839 return NULL;
1840 }
1841 }
1842{
474c48f9 1843 PyThreadState* __tstate = wxPyBeginAllowThreads();
89c8ea73
RD
1844 _result = (int )wxStyledTextCtrl_GetMarginMask(_arg0,_arg1);
1845
474c48f9
RD
1846 wxPyEndAllowThreads(__tstate);
1847 if (PyErr_Occurred()) return NULL;
89c8ea73
RD
1848} _resultobj = Py_BuildValue("i",_result);
1849 return _resultobj;
1850}
1851
1852#define wxStyledTextCtrl_SetMarginSensitive(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetMarginSensitive(_swigarg0,_swigarg1))
1853static PyObject *_wrap_wxStyledTextCtrl_SetMarginSensitive(PyObject *self, PyObject *args, PyObject *kwargs) {
1854 PyObject * _resultobj;
1855 wxStyledTextCtrl * _arg0;
1856 int _arg1;
1857 bool _arg2;
1858 PyObject * _argo0 = 0;
1859 int tempbool2;
1860 char *_kwnames[] = { "self","margin","sensitive", NULL };
1861
1862 self = self;
1863 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxStyledTextCtrl_SetMarginSensitive",_kwnames,&_argo0,&_arg1,&tempbool2))
1864 return NULL;
1865 if (_argo0) {
1866 if (_argo0 == Py_None) { _arg0 = NULL; }
1867 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
1868 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetMarginSensitive. Expected _wxStyledTextCtrl_p.");
1869 return NULL;
1870 }
1871 }
1872 _arg2 = (bool ) tempbool2;
1873{
474c48f9 1874 PyThreadState* __tstate = wxPyBeginAllowThreads();
89c8ea73
RD
1875 wxStyledTextCtrl_SetMarginSensitive(_arg0,_arg1,_arg2);
1876
474c48f9
RD
1877 wxPyEndAllowThreads(__tstate);
1878 if (PyErr_Occurred()) return NULL;
89c8ea73
RD
1879} Py_INCREF(Py_None);
1880 _resultobj = Py_None;
1881 return _resultobj;
1882}
1883
1884#define wxStyledTextCtrl_GetMarginSensitive(_swigobj,_swigarg0) (_swigobj->GetMarginSensitive(_swigarg0))
1885static PyObject *_wrap_wxStyledTextCtrl_GetMarginSensitive(PyObject *self, PyObject *args, PyObject *kwargs) {
1886 PyObject * _resultobj;
1887 bool _result;
1888 wxStyledTextCtrl * _arg0;
1889 int _arg1;
1890 PyObject * _argo0 = 0;
1891 char *_kwnames[] = { "self","margin", NULL };
1892
1893 self = self;
1894 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_GetMarginSensitive",_kwnames,&_argo0,&_arg1))
1895 return NULL;
1896 if (_argo0) {
1897 if (_argo0 == Py_None) { _arg0 = NULL; }
1898 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
1899 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetMarginSensitive. Expected _wxStyledTextCtrl_p.");
1900 return NULL;
1901 }
1902 }
1903{
474c48f9 1904 PyThreadState* __tstate = wxPyBeginAllowThreads();
89c8ea73
RD
1905 _result = (bool )wxStyledTextCtrl_GetMarginSensitive(_arg0,_arg1);
1906
474c48f9
RD
1907 wxPyEndAllowThreads(__tstate);
1908 if (PyErr_Occurred()) return NULL;
89c8ea73
RD
1909} _resultobj = Py_BuildValue("i",_result);
1910 return _resultobj;
1911}
1912
1913#define wxStyledTextCtrl_StyleClearAll(_swigobj) (_swigobj->StyleClearAll())
1914static PyObject *_wrap_wxStyledTextCtrl_StyleClearAll(PyObject *self, PyObject *args, PyObject *kwargs) {
1915 PyObject * _resultobj;
1916 wxStyledTextCtrl * _arg0;
1917 PyObject * _argo0 = 0;
1918 char *_kwnames[] = { "self", NULL };
1919
1920 self = self;
1921 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_StyleClearAll",_kwnames,&_argo0))
1922 return NULL;
1923 if (_argo0) {
1924 if (_argo0 == Py_None) { _arg0 = NULL; }
1925 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
1926 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_StyleClearAll. Expected _wxStyledTextCtrl_p.");
1927 return NULL;
1928 }
1929 }
1930{
474c48f9 1931 PyThreadState* __tstate = wxPyBeginAllowThreads();
89c8ea73
RD
1932 wxStyledTextCtrl_StyleClearAll(_arg0);
1933
474c48f9
RD
1934 wxPyEndAllowThreads(__tstate);
1935 if (PyErr_Occurred()) return NULL;
89c8ea73
RD
1936} Py_INCREF(Py_None);
1937 _resultobj = Py_None;
1938 return _resultobj;
1939}
1940
1941#define wxStyledTextCtrl_StyleSetForeground(_swigobj,_swigarg0,_swigarg1) (_swigobj->StyleSetForeground(_swigarg0,_swigarg1))
1942static PyObject *_wrap_wxStyledTextCtrl_StyleSetForeground(PyObject *self, PyObject *args, PyObject *kwargs) {
1943 PyObject * _resultobj;
1944 wxStyledTextCtrl * _arg0;
1945 int _arg1;
1946 wxColour * _arg2;
1947 PyObject * _argo0 = 0;
1948 wxColour temp;
1949 PyObject * _obj2 = 0;
1950 char *_kwnames[] = { "self","style","fore", NULL };
1951
1952 self = self;
1953 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxStyledTextCtrl_StyleSetForeground",_kwnames,&_argo0,&_arg1,&_obj2))
1954 return NULL;
1955 if (_argo0) {
1956 if (_argo0 == Py_None) { _arg0 = NULL; }
1957 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
1958 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_StyleSetForeground. Expected _wxStyledTextCtrl_p.");
1959 return NULL;
1960 }
1961 }
1962{
1963 _arg2 = &temp;
1964 if (! wxColour_helper(_obj2, &_arg2))
1965 return NULL;
1966}
1967{
474c48f9 1968 PyThreadState* __tstate = wxPyBeginAllowThreads();
89c8ea73
RD
1969 wxStyledTextCtrl_StyleSetForeground(_arg0,_arg1,*_arg2);
1970
474c48f9
RD
1971 wxPyEndAllowThreads(__tstate);
1972 if (PyErr_Occurred()) return NULL;
89c8ea73
RD
1973} Py_INCREF(Py_None);
1974 _resultobj = Py_None;
1975 return _resultobj;
1976}
1977
1978#define wxStyledTextCtrl_StyleSetBackground(_swigobj,_swigarg0,_swigarg1) (_swigobj->StyleSetBackground(_swigarg0,_swigarg1))
1979static PyObject *_wrap_wxStyledTextCtrl_StyleSetBackground(PyObject *self, PyObject *args, PyObject *kwargs) {
1980 PyObject * _resultobj;
1981 wxStyledTextCtrl * _arg0;
1982 int _arg1;
1983 wxColour * _arg2;
1984 PyObject * _argo0 = 0;
1985 wxColour temp;
1986 PyObject * _obj2 = 0;
1987 char *_kwnames[] = { "self","style","back", NULL };
1988
1989 self = self;
1990 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxStyledTextCtrl_StyleSetBackground",_kwnames,&_argo0,&_arg1,&_obj2))
1991 return NULL;
1992 if (_argo0) {
1993 if (_argo0 == Py_None) { _arg0 = NULL; }
1994 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
1995 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_StyleSetBackground. Expected _wxStyledTextCtrl_p.");
1996 return NULL;
1997 }
1998 }
1999{
2000 _arg2 = &temp;
2001 if (! wxColour_helper(_obj2, &_arg2))
2002 return NULL;
2003}
2004{
474c48f9 2005 PyThreadState* __tstate = wxPyBeginAllowThreads();
89c8ea73
RD
2006 wxStyledTextCtrl_StyleSetBackground(_arg0,_arg1,*_arg2);
2007
474c48f9
RD
2008 wxPyEndAllowThreads(__tstate);
2009 if (PyErr_Occurred()) return NULL;
89c8ea73
RD
2010} Py_INCREF(Py_None);
2011 _resultobj = Py_None;
2012 return _resultobj;
2013}
2014
2015#define wxStyledTextCtrl_StyleSetBold(_swigobj,_swigarg0,_swigarg1) (_swigobj->StyleSetBold(_swigarg0,_swigarg1))
2016static PyObject *_wrap_wxStyledTextCtrl_StyleSetBold(PyObject *self, PyObject *args, PyObject *kwargs) {
2017 PyObject * _resultobj;
2018 wxStyledTextCtrl * _arg0;
2019 int _arg1;
2020 bool _arg2;
2021 PyObject * _argo0 = 0;
2022 int tempbool2;
2023 char *_kwnames[] = { "self","style","bold", NULL };
2024
2025 self = self;
2026 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxStyledTextCtrl_StyleSetBold",_kwnames,&_argo0,&_arg1,&tempbool2))
2027 return NULL;
2028 if (_argo0) {
2029 if (_argo0 == Py_None) { _arg0 = NULL; }
2030 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
2031 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_StyleSetBold. Expected _wxStyledTextCtrl_p.");
2032 return NULL;
2033 }
2034 }
2035 _arg2 = (bool ) tempbool2;
2036{
474c48f9 2037 PyThreadState* __tstate = wxPyBeginAllowThreads();
89c8ea73
RD
2038 wxStyledTextCtrl_StyleSetBold(_arg0,_arg1,_arg2);
2039
474c48f9
RD
2040 wxPyEndAllowThreads(__tstate);
2041 if (PyErr_Occurred()) return NULL;
89c8ea73
RD
2042} Py_INCREF(Py_None);
2043 _resultobj = Py_None;
2044 return _resultobj;
2045}
2046
2047#define wxStyledTextCtrl_StyleSetItalic(_swigobj,_swigarg0,_swigarg1) (_swigobj->StyleSetItalic(_swigarg0,_swigarg1))
2048static PyObject *_wrap_wxStyledTextCtrl_StyleSetItalic(PyObject *self, PyObject *args, PyObject *kwargs) {
2049 PyObject * _resultobj;
2050 wxStyledTextCtrl * _arg0;
2051 int _arg1;
2052 bool _arg2;
2053 PyObject * _argo0 = 0;
2054 int tempbool2;
2055 char *_kwnames[] = { "self","style","italic", NULL };
2056
2057 self = self;
2058 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxStyledTextCtrl_StyleSetItalic",_kwnames,&_argo0,&_arg1,&tempbool2))
2059 return NULL;
2060 if (_argo0) {
2061 if (_argo0 == Py_None) { _arg0 = NULL; }
2062 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
2063 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_StyleSetItalic. Expected _wxStyledTextCtrl_p.");
2064 return NULL;
2065 }
2066 }
2067 _arg2 = (bool ) tempbool2;
2068{
474c48f9 2069 PyThreadState* __tstate = wxPyBeginAllowThreads();
89c8ea73
RD
2070 wxStyledTextCtrl_StyleSetItalic(_arg0,_arg1,_arg2);
2071
474c48f9
RD
2072 wxPyEndAllowThreads(__tstate);
2073 if (PyErr_Occurred()) return NULL;
89c8ea73
RD
2074} Py_INCREF(Py_None);
2075 _resultobj = Py_None;
2076 return _resultobj;
2077}
2078
2079#define wxStyledTextCtrl_StyleSetSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->StyleSetSize(_swigarg0,_swigarg1))
2080static PyObject *_wrap_wxStyledTextCtrl_StyleSetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
2081 PyObject * _resultobj;
2082 wxStyledTextCtrl * _arg0;
2083 int _arg1;
2084 int _arg2;
2085 PyObject * _argo0 = 0;
2086 char *_kwnames[] = { "self","style","sizePoints", NULL };
2087
2088 self = self;
2089 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxStyledTextCtrl_StyleSetSize",_kwnames,&_argo0,&_arg1,&_arg2))
2090 return NULL;
2091 if (_argo0) {
2092 if (_argo0 == Py_None) { _arg0 = NULL; }
2093 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
2094 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_StyleSetSize. Expected _wxStyledTextCtrl_p.");
2095 return NULL;
2096 }
2097 }
2098{
474c48f9 2099 PyThreadState* __tstate = wxPyBeginAllowThreads();
89c8ea73
RD
2100 wxStyledTextCtrl_StyleSetSize(_arg0,_arg1,_arg2);
2101
474c48f9
RD
2102 wxPyEndAllowThreads(__tstate);
2103 if (PyErr_Occurred()) return NULL;
89c8ea73
RD
2104} Py_INCREF(Py_None);
2105 _resultobj = Py_None;
2106 return _resultobj;
2107}
2108
2109#define wxStyledTextCtrl_StyleSetFaceName(_swigobj,_swigarg0,_swigarg1) (_swigobj->StyleSetFaceName(_swigarg0,_swigarg1))
2110static PyObject *_wrap_wxStyledTextCtrl_StyleSetFaceName(PyObject *self, PyObject *args, PyObject *kwargs) {
2111 PyObject * _resultobj;
2112 wxStyledTextCtrl * _arg0;
2113 int _arg1;
2114 wxString * _arg2;
2115 PyObject * _argo0 = 0;
2116 PyObject * _obj2 = 0;
2117 char *_kwnames[] = { "self","style","fontName", NULL };
2118
2119 self = self;
2120 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxStyledTextCtrl_StyleSetFaceName",_kwnames,&_argo0,&_arg1,&_obj2))
2121 return NULL;
2122 if (_argo0) {
2123 if (_argo0 == Py_None) { _arg0 = NULL; }
2124 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
2125 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_StyleSetFaceName. Expected _wxStyledTextCtrl_p.");
2126 return NULL;
2127 }
2128 }
2129{
2130#if PYTHON_API_VERSION >= 1009
2131 char* tmpPtr; int tmpSize;
2132 if (!PyString_Check(_obj2) && !PyUnicode_Check(_obj2)) {
2133 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
2134 return NULL;
2135 }
2136 if (PyString_AsStringAndSize(_obj2, &tmpPtr, &tmpSize) == -1)
2137 return NULL;
2138 _arg2 = new wxString(tmpPtr, tmpSize);
2139#else
2140 if (!PyString_Check(_obj2)) {
2141 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
2142 return NULL;
2143 }
2144 _arg2 = new wxString(PyString_AS_STRING(_obj2), PyString_GET_SIZE(_obj2));
2145#endif
2146}
2147{
474c48f9 2148 PyThreadState* __tstate = wxPyBeginAllowThreads();
89c8ea73
RD
2149 wxStyledTextCtrl_StyleSetFaceName(_arg0,_arg1,*_arg2);
2150
474c48f9
RD
2151 wxPyEndAllowThreads(__tstate);
2152 if (PyErr_Occurred()) return NULL;
89c8ea73
RD
2153} Py_INCREF(Py_None);
2154 _resultobj = Py_None;
2155{
2156 if (_obj2)
2157 delete _arg2;
2158}
2159 return _resultobj;
2160}
2161
2162#define wxStyledTextCtrl_StyleSetEOLFilled(_swigobj,_swigarg0,_swigarg1) (_swigobj->StyleSetEOLFilled(_swigarg0,_swigarg1))
2163static PyObject *_wrap_wxStyledTextCtrl_StyleSetEOLFilled(PyObject *self, PyObject *args, PyObject *kwargs) {
2164 PyObject * _resultobj;
2165 wxStyledTextCtrl * _arg0;
2166 int _arg1;
2167 bool _arg2;
2168 PyObject * _argo0 = 0;
2169 int tempbool2;
2170 char *_kwnames[] = { "self","style","filled", NULL };
2171
2172 self = self;
2173 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxStyledTextCtrl_StyleSetEOLFilled",_kwnames,&_argo0,&_arg1,&tempbool2))
2174 return NULL;
2175 if (_argo0) {
2176 if (_argo0 == Py_None) { _arg0 = NULL; }
2177 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
2178 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_StyleSetEOLFilled. Expected _wxStyledTextCtrl_p.");
2179 return NULL;
2180 }
2181 }
2182 _arg2 = (bool ) tempbool2;
2183{
474c48f9 2184 PyThreadState* __tstate = wxPyBeginAllowThreads();
89c8ea73
RD
2185 wxStyledTextCtrl_StyleSetEOLFilled(_arg0,_arg1,_arg2);
2186
474c48f9
RD
2187 wxPyEndAllowThreads(__tstate);
2188 if (PyErr_Occurred()) return NULL;
89c8ea73
RD
2189} Py_INCREF(Py_None);
2190 _resultobj = Py_None;
2191 return _resultobj;
2192}
2193
2194#define wxStyledTextCtrl_StyleResetDefault(_swigobj) (_swigobj->StyleResetDefault())
2195static PyObject *_wrap_wxStyledTextCtrl_StyleResetDefault(PyObject *self, PyObject *args, PyObject *kwargs) {
2196 PyObject * _resultobj;
2197 wxStyledTextCtrl * _arg0;
2198 PyObject * _argo0 = 0;
2199 char *_kwnames[] = { "self", NULL };
2200
2201 self = self;
2202 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_StyleResetDefault",_kwnames,&_argo0))
2203 return NULL;
2204 if (_argo0) {
2205 if (_argo0 == Py_None) { _arg0 = NULL; }
2206 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
2207 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_StyleResetDefault. Expected _wxStyledTextCtrl_p.");
2208 return NULL;
2209 }
2210 }
2211{
474c48f9 2212 PyThreadState* __tstate = wxPyBeginAllowThreads();
89c8ea73
RD
2213 wxStyledTextCtrl_StyleResetDefault(_arg0);
2214
474c48f9
RD
2215 wxPyEndAllowThreads(__tstate);
2216 if (PyErr_Occurred()) return NULL;
89c8ea73
RD
2217} Py_INCREF(Py_None);
2218 _resultobj = Py_None;
2219 return _resultobj;
2220}
2221
2222#define wxStyledTextCtrl_StyleSetUnderline(_swigobj,_swigarg0,_swigarg1) (_swigobj->StyleSetUnderline(_swigarg0,_swigarg1))
2223static PyObject *_wrap_wxStyledTextCtrl_StyleSetUnderline(PyObject *self, PyObject *args, PyObject *kwargs) {
2224 PyObject * _resultobj;
2225 wxStyledTextCtrl * _arg0;
2226 int _arg1;
2227 bool _arg2;
2228 PyObject * _argo0 = 0;
2229 int tempbool2;
2230 char *_kwnames[] = { "self","style","underline", NULL };
2231
2232 self = self;
2233 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxStyledTextCtrl_StyleSetUnderline",_kwnames,&_argo0,&_arg1,&tempbool2))
2234 return NULL;
2235 if (_argo0) {
2236 if (_argo0 == Py_None) { _arg0 = NULL; }
2237 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
2238 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_StyleSetUnderline. Expected _wxStyledTextCtrl_p.");
2239 return NULL;
2240 }
2241 }
2242 _arg2 = (bool ) tempbool2;
2243{
474c48f9 2244 PyThreadState* __tstate = wxPyBeginAllowThreads();
89c8ea73
RD
2245 wxStyledTextCtrl_StyleSetUnderline(_arg0,_arg1,_arg2);
2246
474c48f9
RD
2247 wxPyEndAllowThreads(__tstate);
2248 if (PyErr_Occurred()) return NULL;
89c8ea73
RD
2249} Py_INCREF(Py_None);
2250 _resultobj = Py_None;
2251 return _resultobj;
2252}
2253
2254#define wxStyledTextCtrl_StyleSetCase(_swigobj,_swigarg0,_swigarg1) (_swigobj->StyleSetCase(_swigarg0,_swigarg1))
2255static PyObject *_wrap_wxStyledTextCtrl_StyleSetCase(PyObject *self, PyObject *args, PyObject *kwargs) {
2256 PyObject * _resultobj;
2257 wxStyledTextCtrl * _arg0;
2258 int _arg1;
2259 int _arg2;
2260 PyObject * _argo0 = 0;
2261 char *_kwnames[] = { "self","style","caseForce", NULL };
2262
2263 self = self;
2264 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxStyledTextCtrl_StyleSetCase",_kwnames,&_argo0,&_arg1,&_arg2))
2265 return NULL;
2266 if (_argo0) {
2267 if (_argo0 == Py_None) { _arg0 = NULL; }
2268 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
2269 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_StyleSetCase. Expected _wxStyledTextCtrl_p.");
2270 return NULL;
2271 }
2272 }
2273{
474c48f9 2274 PyThreadState* __tstate = wxPyBeginAllowThreads();
89c8ea73
RD
2275 wxStyledTextCtrl_StyleSetCase(_arg0,_arg1,_arg2);
2276
474c48f9
RD
2277 wxPyEndAllowThreads(__tstate);
2278 if (PyErr_Occurred()) return NULL;
89c8ea73
RD
2279} Py_INCREF(Py_None);
2280 _resultobj = Py_None;
2281 return _resultobj;
2282}
2283
2284#define wxStyledTextCtrl_SetSelForeground(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetSelForeground(_swigarg0,_swigarg1))
2285static PyObject *_wrap_wxStyledTextCtrl_SetSelForeground(PyObject *self, PyObject *args, PyObject *kwargs) {
2286 PyObject * _resultobj;
2287 wxStyledTextCtrl * _arg0;
2288 bool _arg1;
2289 wxColour * _arg2;
2290 PyObject * _argo0 = 0;
2291 int tempbool1;
2292 wxColour temp;
2293 PyObject * _obj2 = 0;
2294 char *_kwnames[] = { "self","useSetting","fore", NULL };
2295
2296 self = self;
2297 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxStyledTextCtrl_SetSelForeground",_kwnames,&_argo0,&tempbool1,&_obj2))
2298 return NULL;
2299 if (_argo0) {
2300 if (_argo0 == Py_None) { _arg0 = NULL; }
2301 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
2302 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetSelForeground. Expected _wxStyledTextCtrl_p.");
2303 return NULL;
2304 }
2305 }
2306 _arg1 = (bool ) tempbool1;
2307{
2308 _arg2 = &temp;
2309 if (! wxColour_helper(_obj2, &_arg2))
2310 return NULL;
2311}
2312{
474c48f9 2313 PyThreadState* __tstate = wxPyBeginAllowThreads();
89c8ea73
RD
2314 wxStyledTextCtrl_SetSelForeground(_arg0,_arg1,*_arg2);
2315
474c48f9
RD
2316 wxPyEndAllowThreads(__tstate);
2317 if (PyErr_Occurred()) return NULL;
89c8ea73
RD
2318} Py_INCREF(Py_None);
2319 _resultobj = Py_None;
2320 return _resultobj;
2321}
2322
2323#define wxStyledTextCtrl_SetSelBackground(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetSelBackground(_swigarg0,_swigarg1))
2324static PyObject *_wrap_wxStyledTextCtrl_SetSelBackground(PyObject *self, PyObject *args, PyObject *kwargs) {
2325 PyObject * _resultobj;
2326 wxStyledTextCtrl * _arg0;
2327 bool _arg1;
2328 wxColour * _arg2;
2329 PyObject * _argo0 = 0;
2330 int tempbool1;
2331 wxColour temp;
2332 PyObject * _obj2 = 0;
2333 char *_kwnames[] = { "self","useSetting","back", NULL };
2334
2335 self = self;
2336 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxStyledTextCtrl_SetSelBackground",_kwnames,&_argo0,&tempbool1,&_obj2))
2337 return NULL;
2338 if (_argo0) {
2339 if (_argo0 == Py_None) { _arg0 = NULL; }
2340 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
2341 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetSelBackground. Expected _wxStyledTextCtrl_p.");
2342 return NULL;
2343 }
2344 }
2345 _arg1 = (bool ) tempbool1;
2346{
2347 _arg2 = &temp;
2348 if (! wxColour_helper(_obj2, &_arg2))
2349 return NULL;
2350}
2351{
474c48f9 2352 PyThreadState* __tstate = wxPyBeginAllowThreads();
89c8ea73
RD
2353 wxStyledTextCtrl_SetSelBackground(_arg0,_arg1,*_arg2);
2354
474c48f9
RD
2355 wxPyEndAllowThreads(__tstate);
2356 if (PyErr_Occurred()) return NULL;
89c8ea73
RD
2357} Py_INCREF(Py_None);
2358 _resultobj = Py_None;
2359 return _resultobj;
2360}
2361
2362#define wxStyledTextCtrl_SetCaretForeground(_swigobj,_swigarg0) (_swigobj->SetCaretForeground(_swigarg0))
2363static PyObject *_wrap_wxStyledTextCtrl_SetCaretForeground(PyObject *self, PyObject *args, PyObject *kwargs) {
2364 PyObject * _resultobj;
2365 wxStyledTextCtrl * _arg0;
2366 wxColour * _arg1;
2367 PyObject * _argo0 = 0;
2368 wxColour temp;
2369 PyObject * _obj1 = 0;
2370 char *_kwnames[] = { "self","fore", NULL };
2371
2372 self = self;
2373 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxStyledTextCtrl_SetCaretForeground",_kwnames,&_argo0,&_obj1))
2374 return NULL;
2375 if (_argo0) {
2376 if (_argo0 == Py_None) { _arg0 = NULL; }
2377 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
2378 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetCaretForeground. Expected _wxStyledTextCtrl_p.");
2379 return NULL;
2380 }
2381 }
2382{
2383 _arg1 = &temp;
2384 if (! wxColour_helper(_obj1, &_arg1))
2385 return NULL;
2386}
2387{
474c48f9 2388 PyThreadState* __tstate = wxPyBeginAllowThreads();
89c8ea73
RD
2389 wxStyledTextCtrl_SetCaretForeground(_arg0,*_arg1);
2390
474c48f9
RD
2391 wxPyEndAllowThreads(__tstate);
2392 if (PyErr_Occurred()) return NULL;
89c8ea73
RD
2393} Py_INCREF(Py_None);
2394 _resultobj = Py_None;
2395 return _resultobj;
2396}
2397
2398#define wxStyledTextCtrl_CmdKeyAssign(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->CmdKeyAssign(_swigarg0,_swigarg1,_swigarg2))
2399static PyObject *_wrap_wxStyledTextCtrl_CmdKeyAssign(PyObject *self, PyObject *args, PyObject *kwargs) {
2400 PyObject * _resultobj;
2401 wxStyledTextCtrl * _arg0;
2402 int _arg1;
2403 int _arg2;
2404 int _arg3;
2405 PyObject * _argo0 = 0;
2406 char *_kwnames[] = { "self","key","modifiers","cmd", NULL };
2407
2408 self = self;
2409 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oiii:wxStyledTextCtrl_CmdKeyAssign",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3))
2410 return NULL;
2411 if (_argo0) {
2412 if (_argo0 == Py_None) { _arg0 = NULL; }
2413 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
2414 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_CmdKeyAssign. Expected _wxStyledTextCtrl_p.");
2415 return NULL;
2416 }
2417 }
2418{
474c48f9 2419 PyThreadState* __tstate = wxPyBeginAllowThreads();
89c8ea73
RD
2420 wxStyledTextCtrl_CmdKeyAssign(_arg0,_arg1,_arg2,_arg3);
2421
474c48f9
RD
2422 wxPyEndAllowThreads(__tstate);
2423 if (PyErr_Occurred()) return NULL;
89c8ea73
RD
2424} Py_INCREF(Py_None);
2425 _resultobj = Py_None;
2426 return _resultobj;
2427}
2428
2429#define wxStyledTextCtrl_CmdKeyClear(_swigobj,_swigarg0,_swigarg1) (_swigobj->CmdKeyClear(_swigarg0,_swigarg1))
2430static PyObject *_wrap_wxStyledTextCtrl_CmdKeyClear(PyObject *self, PyObject *args, PyObject *kwargs) {
2431 PyObject * _resultobj;
2432 wxStyledTextCtrl * _arg0;
2433 int _arg1;
2434 int _arg2;
2435 PyObject * _argo0 = 0;
2436 char *_kwnames[] = { "self","key","modifiers", NULL };
2437
2438 self = self;
2439 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxStyledTextCtrl_CmdKeyClear",_kwnames,&_argo0,&_arg1,&_arg2))
2440 return NULL;
2441 if (_argo0) {
2442 if (_argo0 == Py_None) { _arg0 = NULL; }
2443 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
2444 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_CmdKeyClear. Expected _wxStyledTextCtrl_p.");
2445 return NULL;
2446 }
2447 }
2448{
474c48f9 2449 PyThreadState* __tstate = wxPyBeginAllowThreads();
89c8ea73
RD
2450 wxStyledTextCtrl_CmdKeyClear(_arg0,_arg1,_arg2);
2451
474c48f9
RD
2452 wxPyEndAllowThreads(__tstate);
2453 if (PyErr_Occurred()) return NULL;
89c8ea73
RD
2454} Py_INCREF(Py_None);
2455 _resultobj = Py_None;
2456 return _resultobj;
2457}
2458
2459#define wxStyledTextCtrl_CmdKeyClearAll(_swigobj) (_swigobj->CmdKeyClearAll())
2460static PyObject *_wrap_wxStyledTextCtrl_CmdKeyClearAll(PyObject *self, PyObject *args, PyObject *kwargs) {
2461 PyObject * _resultobj;
2462 wxStyledTextCtrl * _arg0;
2463 PyObject * _argo0 = 0;
2464 char *_kwnames[] = { "self", NULL };
2465
2466 self = self;
2467 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_CmdKeyClearAll",_kwnames,&_argo0))
2468 return NULL;
2469 if (_argo0) {
2470 if (_argo0 == Py_None) { _arg0 = NULL; }
2471 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
2472 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_CmdKeyClearAll. Expected _wxStyledTextCtrl_p.");
2473 return NULL;
2474 }
2475 }
2476{
474c48f9 2477 PyThreadState* __tstate = wxPyBeginAllowThreads();
89c8ea73
RD
2478 wxStyledTextCtrl_CmdKeyClearAll(_arg0);
2479
474c48f9
RD
2480 wxPyEndAllowThreads(__tstate);
2481 if (PyErr_Occurred()) return NULL;
89c8ea73
RD
2482} Py_INCREF(Py_None);
2483 _resultobj = Py_None;
2484 return _resultobj;
2485}
2486
2487#define wxStyledTextCtrl_SetStyleBytes(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetStyleBytes(_swigarg0,_swigarg1))
2488static PyObject *_wrap_wxStyledTextCtrl_SetStyleBytes(PyObject *self, PyObject *args, PyObject *kwargs) {
2489 PyObject * _resultobj;
2490 wxStyledTextCtrl * _arg0;
2491 int _arg1;
2492 char * _arg2;
2493 PyObject * _argo0 = 0;
2494 char *_kwnames[] = { "self","length","styleBytes", NULL };
2495
2496 self = self;
2497 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ois:wxStyledTextCtrl_SetStyleBytes",_kwnames,&_argo0,&_arg1,&_arg2))
2498 return NULL;
2499 if (_argo0) {
2500 if (_argo0 == Py_None) { _arg0 = NULL; }
2501 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
2502 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetStyleBytes. Expected _wxStyledTextCtrl_p.");
2503 return NULL;
2504 }
2505 }
2506{
474c48f9 2507 PyThreadState* __tstate = wxPyBeginAllowThreads();
89c8ea73
RD
2508 wxStyledTextCtrl_SetStyleBytes(_arg0,_arg1,_arg2);
2509
474c48f9
RD
2510 wxPyEndAllowThreads(__tstate);
2511 if (PyErr_Occurred()) return NULL;
89c8ea73
RD
2512} Py_INCREF(Py_None);
2513 _resultobj = Py_None;
2514 return _resultobj;
2515}
2516
2517#define wxStyledTextCtrl_StyleSetVisible(_swigobj,_swigarg0,_swigarg1) (_swigobj->StyleSetVisible(_swigarg0,_swigarg1))
2518static PyObject *_wrap_wxStyledTextCtrl_StyleSetVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
2519 PyObject * _resultobj;
2520 wxStyledTextCtrl * _arg0;
2521 int _arg1;
2522 bool _arg2;
2523 PyObject * _argo0 = 0;
2524 int tempbool2;
2525 char *_kwnames[] = { "self","style","visible", NULL };
2526
2527 self = self;
2528 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxStyledTextCtrl_StyleSetVisible",_kwnames,&_argo0,&_arg1,&tempbool2))
2529 return NULL;
2530 if (_argo0) {
2531 if (_argo0 == Py_None) { _arg0 = NULL; }
2532 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
2533 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_StyleSetVisible. Expected _wxStyledTextCtrl_p.");
2534 return NULL;
2535 }
2536 }
2537 _arg2 = (bool ) tempbool2;
2538{
474c48f9 2539 PyThreadState* __tstate = wxPyBeginAllowThreads();
89c8ea73
RD
2540 wxStyledTextCtrl_StyleSetVisible(_arg0,_arg1,_arg2);
2541
474c48f9
RD
2542 wxPyEndAllowThreads(__tstate);
2543 if (PyErr_Occurred()) return NULL;
89c8ea73
RD
2544} Py_INCREF(Py_None);
2545 _resultobj = Py_None;
2546 return _resultobj;
2547}
2548
2549#define wxStyledTextCtrl_GetCaretPeriod(_swigobj) (_swigobj->GetCaretPeriod())
2550static PyObject *_wrap_wxStyledTextCtrl_GetCaretPeriod(PyObject *self, PyObject *args, PyObject *kwargs) {
2551 PyObject * _resultobj;
2552 int _result;
2553 wxStyledTextCtrl * _arg0;
2554 PyObject * _argo0 = 0;
2555 char *_kwnames[] = { "self", NULL };
2556
2557 self = self;
2558 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetCaretPeriod",_kwnames,&_argo0))
2559 return NULL;
2560 if (_argo0) {
2561 if (_argo0 == Py_None) { _arg0 = NULL; }
2562 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
2563 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetCaretPeriod. Expected _wxStyledTextCtrl_p.");
2564 return NULL;
2565 }
2566 }
2567{
474c48f9 2568 PyThreadState* __tstate = wxPyBeginAllowThreads();
89c8ea73
RD
2569 _result = (int )wxStyledTextCtrl_GetCaretPeriod(_arg0);
2570
474c48f9
RD
2571 wxPyEndAllowThreads(__tstate);
2572 if (PyErr_Occurred()) return NULL;
89c8ea73
RD
2573} _resultobj = Py_BuildValue("i",_result);
2574 return _resultobj;
2575}
2576
2577#define wxStyledTextCtrl_SetCaretPeriod(_swigobj,_swigarg0) (_swigobj->SetCaretPeriod(_swigarg0))
2578static PyObject *_wrap_wxStyledTextCtrl_SetCaretPeriod(PyObject *self, PyObject *args, PyObject *kwargs) {
2579 PyObject * _resultobj;
2580 wxStyledTextCtrl * _arg0;
2581 int _arg1;
2582 PyObject * _argo0 = 0;
2583 char *_kwnames[] = { "self","periodMilliseconds", NULL };
2584
2585 self = self;
2586 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_SetCaretPeriod",_kwnames,&_argo0,&_arg1))
2587 return NULL;
2588 if (_argo0) {
2589 if (_argo0 == Py_None) { _arg0 = NULL; }
2590 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
2591 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetCaretPeriod. Expected _wxStyledTextCtrl_p.");
2592 return NULL;
2593 }
2594 }
2595{
474c48f9 2596 PyThreadState* __tstate = wxPyBeginAllowThreads();
89c8ea73
RD
2597 wxStyledTextCtrl_SetCaretPeriod(_arg0,_arg1);
2598
474c48f9
RD
2599 wxPyEndAllowThreads(__tstate);
2600 if (PyErr_Occurred()) return NULL;
89c8ea73
RD
2601} Py_INCREF(Py_None);
2602 _resultobj = Py_None;
2603 return _resultobj;
2604}
2605
2606#define wxStyledTextCtrl_SetWordChars(_swigobj,_swigarg0) (_swigobj->SetWordChars(_swigarg0))
2607static PyObject *_wrap_wxStyledTextCtrl_SetWordChars(PyObject *self, PyObject *args, PyObject *kwargs) {
2608 PyObject * _resultobj;
2609 wxStyledTextCtrl * _arg0;
2610 wxString * _arg1;
2611 PyObject * _argo0 = 0;
2612 PyObject * _obj1 = 0;
2613 char *_kwnames[] = { "self","characters", NULL };
2614
2615 self = self;
2616 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxStyledTextCtrl_SetWordChars",_kwnames,&_argo0,&_obj1))
2617 return NULL;
2618 if (_argo0) {
2619 if (_argo0 == Py_None) { _arg0 = NULL; }
2620 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
2621 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetWordChars. Expected _wxStyledTextCtrl_p.");
2622 return NULL;
2623 }
2624 }
2625{
2626#if PYTHON_API_VERSION >= 1009
2627 char* tmpPtr; int tmpSize;
2628 if (!PyString_Check(_obj1) && !PyUnicode_Check(_obj1)) {
2629 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
2630 return NULL;
2631 }
2632 if (PyString_AsStringAndSize(_obj1, &tmpPtr, &tmpSize) == -1)
2633 return NULL;
2634 _arg1 = new wxString(tmpPtr, tmpSize);
2635#else
2636 if (!PyString_Check(_obj1)) {
2637 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
2638 return NULL;
2639 }
2640 _arg1 = new wxString(PyString_AS_STRING(_obj1), PyString_GET_SIZE(_obj1));
2641#endif
2642}
2643{
474c48f9 2644 PyThreadState* __tstate = wxPyBeginAllowThreads();
89c8ea73
RD
2645 wxStyledTextCtrl_SetWordChars(_arg0,*_arg1);
2646
474c48f9
RD
2647 wxPyEndAllowThreads(__tstate);
2648 if (PyErr_Occurred()) return NULL;
89c8ea73
RD
2649} Py_INCREF(Py_None);
2650 _resultobj = Py_None;
2651{
2652 if (_obj1)
2653 delete _arg1;
2654}
2655 return _resultobj;
2656}
2657
2658#define wxStyledTextCtrl_BeginUndoAction(_swigobj) (_swigobj->BeginUndoAction())
2659static PyObject *_wrap_wxStyledTextCtrl_BeginUndoAction(PyObject *self, PyObject *args, PyObject *kwargs) {
2660 PyObject * _resultobj;
2661 wxStyledTextCtrl * _arg0;
2662 PyObject * _argo0 = 0;
2663 char *_kwnames[] = { "self", NULL };
2664
2665 self = self;
2666 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_BeginUndoAction",_kwnames,&_argo0))
2667 return NULL;
2668 if (_argo0) {
2669 if (_argo0 == Py_None) { _arg0 = NULL; }
2670 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
2671 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_BeginUndoAction. Expected _wxStyledTextCtrl_p.");
2672 return NULL;
2673 }
2674 }
2675{
474c48f9 2676 PyThreadState* __tstate = wxPyBeginAllowThreads();
89c8ea73
RD
2677 wxStyledTextCtrl_BeginUndoAction(_arg0);
2678
474c48f9
RD
2679 wxPyEndAllowThreads(__tstate);
2680 if (PyErr_Occurred()) return NULL;
89c8ea73
RD
2681} Py_INCREF(Py_None);
2682 _resultobj = Py_None;
2683 return _resultobj;
2684}
2685
2686#define wxStyledTextCtrl_EndUndoAction(_swigobj) (_swigobj->EndUndoAction())
2687static PyObject *_wrap_wxStyledTextCtrl_EndUndoAction(PyObject *self, PyObject *args, PyObject *kwargs) {
2688 PyObject * _resultobj;
2689 wxStyledTextCtrl * _arg0;
2690 PyObject * _argo0 = 0;
2691 char *_kwnames[] = { "self", NULL };
2692
2693 self = self;
2694 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_EndUndoAction",_kwnames,&_argo0))
2695 return NULL;
2696 if (_argo0) {
2697 if (_argo0 == Py_None) { _arg0 = NULL; }
2698 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
2699 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_EndUndoAction. Expected _wxStyledTextCtrl_p.");
2700 return NULL;
2701 }
2702 }
2703{
474c48f9 2704 PyThreadState* __tstate = wxPyBeginAllowThreads();
89c8ea73
RD
2705 wxStyledTextCtrl_EndUndoAction(_arg0);
2706
474c48f9
RD
2707 wxPyEndAllowThreads(__tstate);
2708 if (PyErr_Occurred()) return NULL;
89c8ea73
RD
2709} Py_INCREF(Py_None);
2710 _resultobj = Py_None;
2711 return _resultobj;
2712}
2713
2714#define wxStyledTextCtrl_IndicatorSetStyle(_swigobj,_swigarg0,_swigarg1) (_swigobj->IndicatorSetStyle(_swigarg0,_swigarg1))
2715static PyObject *_wrap_wxStyledTextCtrl_IndicatorSetStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
2716 PyObject * _resultobj;
2717 wxStyledTextCtrl * _arg0;
2718 int _arg1;
2719 int _arg2;
2720 PyObject * _argo0 = 0;
2721 char *_kwnames[] = { "self","indic","style", NULL };
2722
2723 self = self;
2724 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxStyledTextCtrl_IndicatorSetStyle",_kwnames,&_argo0,&_arg1,&_arg2))
2725 return NULL;
2726 if (_argo0) {
2727 if (_argo0 == Py_None) { _arg0 = NULL; }
2728 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
2729 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_IndicatorSetStyle. Expected _wxStyledTextCtrl_p.");
2730 return NULL;
2731 }
2732 }
2733{
474c48f9 2734 PyThreadState* __tstate = wxPyBeginAllowThreads();
89c8ea73
RD
2735 wxStyledTextCtrl_IndicatorSetStyle(_arg0,_arg1,_arg2);
2736
474c48f9
RD
2737 wxPyEndAllowThreads(__tstate);
2738 if (PyErr_Occurred()) return NULL;
89c8ea73
RD
2739} Py_INCREF(Py_None);
2740 _resultobj = Py_None;
2741 return _resultobj;
2742}
2743
2744#define wxStyledTextCtrl_IndicatorGetStyle(_swigobj,_swigarg0) (_swigobj->IndicatorGetStyle(_swigarg0))
2745static PyObject *_wrap_wxStyledTextCtrl_IndicatorGetStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
2746 PyObject * _resultobj;
2747 int _result;
2748 wxStyledTextCtrl * _arg0;
2749 int _arg1;
2750 PyObject * _argo0 = 0;
2751 char *_kwnames[] = { "self","indic", NULL };
2752
2753 self = self;
2754 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_IndicatorGetStyle",_kwnames,&_argo0,&_arg1))
2755 return NULL;
2756 if (_argo0) {
2757 if (_argo0 == Py_None) { _arg0 = NULL; }
2758 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
2759 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_IndicatorGetStyle. Expected _wxStyledTextCtrl_p.");
2760 return NULL;
2761 }
2762 }
2763{
474c48f9 2764 PyThreadState* __tstate = wxPyBeginAllowThreads();
89c8ea73
RD
2765 _result = (int )wxStyledTextCtrl_IndicatorGetStyle(_arg0,_arg1);
2766
474c48f9
RD
2767 wxPyEndAllowThreads(__tstate);
2768 if (PyErr_Occurred()) return NULL;
89c8ea73
RD
2769} _resultobj = Py_BuildValue("i",_result);
2770 return _resultobj;
2771}
2772
2773#define wxStyledTextCtrl_IndicatorSetForeground(_swigobj,_swigarg0,_swigarg1) (_swigobj->IndicatorSetForeground(_swigarg0,_swigarg1))
2774static PyObject *_wrap_wxStyledTextCtrl_IndicatorSetForeground(PyObject *self, PyObject *args, PyObject *kwargs) {
2775 PyObject * _resultobj;
2776 wxStyledTextCtrl * _arg0;
2777 int _arg1;
2778 wxColour * _arg2;
2779 PyObject * _argo0 = 0;
2780 wxColour temp;
2781 PyObject * _obj2 = 0;
2782 char *_kwnames[] = { "self","indic","fore", NULL };
2783
2784 self = self;
2785 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxStyledTextCtrl_IndicatorSetForeground",_kwnames,&_argo0,&_arg1,&_obj2))
2786 return NULL;
2787 if (_argo0) {
2788 if (_argo0 == Py_None) { _arg0 = NULL; }
2789 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
2790 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_IndicatorSetForeground. Expected _wxStyledTextCtrl_p.");
2791 return NULL;
2792 }
2793 }
2794{
2795 _arg2 = &temp;
2796 if (! wxColour_helper(_obj2, &_arg2))
2797 return NULL;
2798}
2799{
474c48f9 2800 PyThreadState* __tstate = wxPyBeginAllowThreads();
89c8ea73
RD
2801 wxStyledTextCtrl_IndicatorSetForeground(_arg0,_arg1,*_arg2);
2802
474c48f9
RD
2803 wxPyEndAllowThreads(__tstate);
2804 if (PyErr_Occurred()) return NULL;
89c8ea73
RD
2805} Py_INCREF(Py_None);
2806 _resultobj = Py_None;
2807 return _resultobj;
2808}
2809
2810#define wxStyledTextCtrl_IndicatorGetForeground(_swigobj,_swigarg0) (_swigobj->IndicatorGetForeground(_swigarg0))
2811static PyObject *_wrap_wxStyledTextCtrl_IndicatorGetForeground(PyObject *self, PyObject *args, PyObject *kwargs) {
2812 PyObject * _resultobj;
2813 wxColour * _result;
2814 wxStyledTextCtrl * _arg0;
2815 int _arg1;
2816 PyObject * _argo0 = 0;
2817 char *_kwnames[] = { "self","indic", NULL };
2818 char _ptemp[128];
2819
2820 self = self;
2821 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_IndicatorGetForeground",_kwnames,&_argo0,&_arg1))
2822 return NULL;
2823 if (_argo0) {
2824 if (_argo0 == Py_None) { _arg0 = NULL; }
2825 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
2826 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_IndicatorGetForeground. Expected _wxStyledTextCtrl_p.");
2827 return NULL;
2828 }
2829 }
2830{
474c48f9 2831 PyThreadState* __tstate = wxPyBeginAllowThreads();
89c8ea73
RD
2832 _result = new wxColour (wxStyledTextCtrl_IndicatorGetForeground(_arg0,_arg1));
2833
474c48f9
RD
2834 wxPyEndAllowThreads(__tstate);
2835 if (PyErr_Occurred()) return NULL;
89c8ea73
RD
2836} SWIG_MakePtr(_ptemp, (void *) _result,"_wxColour_p");
2837 _resultobj = Py_BuildValue("s",_ptemp);
2838 return _resultobj;
2839}
2840
2841#define wxStyledTextCtrl_SetStyleBits(_swigobj,_swigarg0) (_swigobj->SetStyleBits(_swigarg0))
2842static PyObject *_wrap_wxStyledTextCtrl_SetStyleBits(PyObject *self, PyObject *args, PyObject *kwargs) {
2843 PyObject * _resultobj;
2844 wxStyledTextCtrl * _arg0;
2845 int _arg1;
2846 PyObject * _argo0 = 0;
2847 char *_kwnames[] = { "self","bits", NULL };
2848
2849 self = self;
2850 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_SetStyleBits",_kwnames,&_argo0,&_arg1))
2851 return NULL;
2852 if (_argo0) {
2853 if (_argo0 == Py_None) { _arg0 = NULL; }
2854 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
2855 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetStyleBits. Expected _wxStyledTextCtrl_p.");
2856 return NULL;
2857 }
2858 }
2859{
474c48f9 2860 PyThreadState* __tstate = wxPyBeginAllowThreads();
89c8ea73
RD
2861 wxStyledTextCtrl_SetStyleBits(_arg0,_arg1);
2862
474c48f9
RD
2863 wxPyEndAllowThreads(__tstate);
2864 if (PyErr_Occurred()) return NULL;
89c8ea73
RD
2865} Py_INCREF(Py_None);
2866 _resultobj = Py_None;
2867 return _resultobj;
2868}
2869
2870#define wxStyledTextCtrl_GetStyleBits(_swigobj) (_swigobj->GetStyleBits())
2871static PyObject *_wrap_wxStyledTextCtrl_GetStyleBits(PyObject *self, PyObject *args, PyObject *kwargs) {
2872 PyObject * _resultobj;
2873 int _result;
2874 wxStyledTextCtrl * _arg0;
2875 PyObject * _argo0 = 0;
2876 char *_kwnames[] = { "self", NULL };
2877
2878 self = self;
2879 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetStyleBits",_kwnames,&_argo0))
2880 return NULL;
2881 if (_argo0) {
2882 if (_argo0 == Py_None) { _arg0 = NULL; }
2883 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
2884 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetStyleBits. Expected _wxStyledTextCtrl_p.");
2885 return NULL;
2886 }
2887 }
2888{
474c48f9 2889 PyThreadState* __tstate = wxPyBeginAllowThreads();
89c8ea73
RD
2890 _result = (int )wxStyledTextCtrl_GetStyleBits(_arg0);
2891
474c48f9
RD
2892 wxPyEndAllowThreads(__tstate);
2893 if (PyErr_Occurred()) return NULL;
89c8ea73
RD
2894} _resultobj = Py_BuildValue("i",_result);
2895 return _resultobj;
2896}
2897
2898#define wxStyledTextCtrl_SetLineState(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetLineState(_swigarg0,_swigarg1))
2899static PyObject *_wrap_wxStyledTextCtrl_SetLineState(PyObject *self, PyObject *args, PyObject *kwargs) {
2900 PyObject * _resultobj;
2901 wxStyledTextCtrl * _arg0;
2902 int _arg1;
2903 int _arg2;
2904 PyObject * _argo0 = 0;
2905 char *_kwnames[] = { "self","line","state", NULL };
2906
2907 self = self;
2908 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxStyledTextCtrl_SetLineState",_kwnames,&_argo0,&_arg1,&_arg2))
2909 return NULL;
2910 if (_argo0) {
2911 if (_argo0 == Py_None) { _arg0 = NULL; }
2912 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
2913 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetLineState. Expected _wxStyledTextCtrl_p.");
2914 return NULL;
2915 }
2916 }
2917{
474c48f9 2918 PyThreadState* __tstate = wxPyBeginAllowThreads();
89c8ea73
RD
2919 wxStyledTextCtrl_SetLineState(_arg0,_arg1,_arg2);
2920
474c48f9
RD
2921 wxPyEndAllowThreads(__tstate);
2922 if (PyErr_Occurred()) return NULL;
89c8ea73
RD
2923} Py_INCREF(Py_None);
2924 _resultobj = Py_None;
2925 return _resultobj;
2926}
2927
2928#define wxStyledTextCtrl_GetLineState(_swigobj,_swigarg0) (_swigobj->GetLineState(_swigarg0))
2929static PyObject *_wrap_wxStyledTextCtrl_GetLineState(PyObject *self, PyObject *args, PyObject *kwargs) {
2930 PyObject * _resultobj;
2931 int _result;
2932 wxStyledTextCtrl * _arg0;
2933 int _arg1;
2934 PyObject * _argo0 = 0;
2935 char *_kwnames[] = { "self","line", NULL };
2936
2937 self = self;
2938 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_GetLineState",_kwnames,&_argo0,&_arg1))
2939 return NULL;
2940 if (_argo0) {
2941 if (_argo0 == Py_None) { _arg0 = NULL; }
2942 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
2943 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetLineState. Expected _wxStyledTextCtrl_p.");
2944 return NULL;
2945 }
2946 }
2947{
474c48f9 2948 PyThreadState* __tstate = wxPyBeginAllowThreads();
89c8ea73
RD
2949 _result = (int )wxStyledTextCtrl_GetLineState(_arg0,_arg1);
2950
474c48f9
RD
2951 wxPyEndAllowThreads(__tstate);
2952 if (PyErr_Occurred()) return NULL;
89c8ea73
RD
2953} _resultobj = Py_BuildValue("i",_result);
2954 return _resultobj;
2955}
2956
2957#define wxStyledTextCtrl_GetMaxLineState(_swigobj) (_swigobj->GetMaxLineState())
2958static PyObject *_wrap_wxStyledTextCtrl_GetMaxLineState(PyObject *self, PyObject *args, PyObject *kwargs) {
2959 PyObject * _resultobj;
2960 int _result;
2961 wxStyledTextCtrl * _arg0;
2962 PyObject * _argo0 = 0;
2963 char *_kwnames[] = { "self", NULL };
2964
2965 self = self;
2966 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetMaxLineState",_kwnames,&_argo0))
2967 return NULL;
2968 if (_argo0) {
2969 if (_argo0 == Py_None) { _arg0 = NULL; }
2970 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
2971 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetMaxLineState. Expected _wxStyledTextCtrl_p.");
2972 return NULL;
2973 }
2974 }
2975{
474c48f9 2976 PyThreadState* __tstate = wxPyBeginAllowThreads();
89c8ea73
RD
2977 _result = (int )wxStyledTextCtrl_GetMaxLineState(_arg0);
2978
474c48f9
RD
2979 wxPyEndAllowThreads(__tstate);
2980 if (PyErr_Occurred()) return NULL;
89c8ea73
RD
2981} _resultobj = Py_BuildValue("i",_result);
2982 return _resultobj;
2983}
2984
2985#define wxStyledTextCtrl_GetCaretLineVisible(_swigobj) (_swigobj->GetCaretLineVisible())
2986static PyObject *_wrap_wxStyledTextCtrl_GetCaretLineVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
2987 PyObject * _resultobj;
2988 bool _result;
2989 wxStyledTextCtrl * _arg0;
2990 PyObject * _argo0 = 0;
2991 char *_kwnames[] = { "self", NULL };
2992
2993 self = self;
2994 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetCaretLineVisible",_kwnames,&_argo0))
2995 return NULL;
2996 if (_argo0) {
2997 if (_argo0 == Py_None) { _arg0 = NULL; }
2998 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
2999 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetCaretLineVisible. Expected _wxStyledTextCtrl_p.");
3000 return NULL;
3001 }
3002 }
3003{
474c48f9 3004 PyThreadState* __tstate = wxPyBeginAllowThreads();
89c8ea73
RD
3005 _result = (bool )wxStyledTextCtrl_GetCaretLineVisible(_arg0);
3006
474c48f9
RD
3007 wxPyEndAllowThreads(__tstate);
3008 if (PyErr_Occurred()) return NULL;
89c8ea73
RD
3009} _resultobj = Py_BuildValue("i",_result);
3010 return _resultobj;
3011}
3012
3013#define wxStyledTextCtrl_SetCaretLineVisible(_swigobj,_swigarg0) (_swigobj->SetCaretLineVisible(_swigarg0))
3014static PyObject *_wrap_wxStyledTextCtrl_SetCaretLineVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
3015 PyObject * _resultobj;
3016 wxStyledTextCtrl * _arg0;
3017 bool _arg1;
3018 PyObject * _argo0 = 0;
3019 int tempbool1;
3020 char *_kwnames[] = { "self","show", NULL };
3021
3022 self = self;
3023 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_SetCaretLineVisible",_kwnames,&_argo0,&tempbool1))
3024 return NULL;
3025 if (_argo0) {
3026 if (_argo0 == Py_None) { _arg0 = NULL; }
3027 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
3028 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetCaretLineVisible. Expected _wxStyledTextCtrl_p.");
3029 return NULL;
3030 }
3031 }
3032 _arg1 = (bool ) tempbool1;
3033{
474c48f9 3034 PyThreadState* __tstate = wxPyBeginAllowThreads();
89c8ea73
RD
3035 wxStyledTextCtrl_SetCaretLineVisible(_arg0,_arg1);
3036
474c48f9
RD
3037 wxPyEndAllowThreads(__tstate);
3038 if (PyErr_Occurred()) return NULL;
89c8ea73
RD
3039} Py_INCREF(Py_None);
3040 _resultobj = Py_None;
3041 return _resultobj;
3042}
3043
3044#define wxStyledTextCtrl_GetCaretLineBack(_swigobj) (_swigobj->GetCaretLineBack())
3045static PyObject *_wrap_wxStyledTextCtrl_GetCaretLineBack(PyObject *self, PyObject *args, PyObject *kwargs) {
3046 PyObject * _resultobj;
3047 wxColour * _result;
3048 wxStyledTextCtrl * _arg0;
3049 PyObject * _argo0 = 0;
3050 char *_kwnames[] = { "self", NULL };
3051 char _ptemp[128];
3052
3053 self = self;
3054 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetCaretLineBack",_kwnames,&_argo0))
3055 return NULL;
3056 if (_argo0) {
3057 if (_argo0 == Py_None) { _arg0 = NULL; }
3058 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
3059 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetCaretLineBack. Expected _wxStyledTextCtrl_p.");
3060 return NULL;
3061 }
3062 }
3063{
474c48f9 3064 PyThreadState* __tstate = wxPyBeginAllowThreads();
89c8ea73
RD
3065 _result = new wxColour (wxStyledTextCtrl_GetCaretLineBack(_arg0));
3066
474c48f9
RD
3067 wxPyEndAllowThreads(__tstate);
3068 if (PyErr_Occurred()) return NULL;
89c8ea73
RD
3069} SWIG_MakePtr(_ptemp, (void *) _result,"_wxColour_p");
3070 _resultobj = Py_BuildValue("s",_ptemp);
3071 return _resultobj;
3072}
3073
3074#define wxStyledTextCtrl_SetCaretLineBack(_swigobj,_swigarg0) (_swigobj->SetCaretLineBack(_swigarg0))
3075static PyObject *_wrap_wxStyledTextCtrl_SetCaretLineBack(PyObject *self, PyObject *args, PyObject *kwargs) {
3076 PyObject * _resultobj;
3077 wxStyledTextCtrl * _arg0;
3078 wxColour * _arg1;
3079 PyObject * _argo0 = 0;
3080 wxColour temp;
3081 PyObject * _obj1 = 0;
3082 char *_kwnames[] = { "self","back", NULL };
3083
3084 self = self;
3085 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxStyledTextCtrl_SetCaretLineBack",_kwnames,&_argo0,&_obj1))
3086 return NULL;
3087 if (_argo0) {
3088 if (_argo0 == Py_None) { _arg0 = NULL; }
3089 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
3090 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetCaretLineBack. Expected _wxStyledTextCtrl_p.");
3091 return NULL;
3092 }
3093 }
3094{
3095 _arg1 = &temp;
3096 if (! wxColour_helper(_obj1, &_arg1))
3097 return NULL;
3098}
3099{
474c48f9 3100 PyThreadState* __tstate = wxPyBeginAllowThreads();
89c8ea73
RD
3101 wxStyledTextCtrl_SetCaretLineBack(_arg0,*_arg1);
3102
474c48f9
RD
3103 wxPyEndAllowThreads(__tstate);
3104 if (PyErr_Occurred()) return NULL;
89c8ea73
RD
3105} Py_INCREF(Py_None);
3106 _resultobj = Py_None;
3107 return _resultobj;
3108}
3109
3110#define wxStyledTextCtrl_AutoCompShow(_swigobj,_swigarg0,_swigarg1) (_swigobj->AutoCompShow(_swigarg0,_swigarg1))
3111static PyObject *_wrap_wxStyledTextCtrl_AutoCompShow(PyObject *self, PyObject *args, PyObject *kwargs) {
3112 PyObject * _resultobj;
3113 wxStyledTextCtrl * _arg0;
3114 int _arg1;
3115 wxString * _arg2;
3116 PyObject * _argo0 = 0;
3117 PyObject * _obj2 = 0;
3118 char *_kwnames[] = { "self","lenEntered","itemList", NULL };
3119
3120 self = self;
3121 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxStyledTextCtrl_AutoCompShow",_kwnames,&_argo0,&_arg1,&_obj2))
3122 return NULL;
3123 if (_argo0) {
3124 if (_argo0 == Py_None) { _arg0 = NULL; }
3125 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
3126 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_AutoCompShow. Expected _wxStyledTextCtrl_p.");
3127 return NULL;
3128 }
3129 }
3130{
3131#if PYTHON_API_VERSION >= 1009
3132 char* tmpPtr; int tmpSize;
3133 if (!PyString_Check(_obj2) && !PyUnicode_Check(_obj2)) {
3134 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
3135 return NULL;
3136 }
3137 if (PyString_AsStringAndSize(_obj2, &tmpPtr, &tmpSize) == -1)
3138 return NULL;
3139 _arg2 = new wxString(tmpPtr, tmpSize);
3140#else
3141 if (!PyString_Check(_obj2)) {
3142 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
3143 return NULL;
3144 }
3145 _arg2 = new wxString(PyString_AS_STRING(_obj2), PyString_GET_SIZE(_obj2));
3146#endif
3147}
3148{
474c48f9 3149 PyThreadState* __tstate = wxPyBeginAllowThreads();
89c8ea73
RD
3150 wxStyledTextCtrl_AutoCompShow(_arg0,_arg1,*_arg2);
3151
474c48f9
RD
3152 wxPyEndAllowThreads(__tstate);
3153 if (PyErr_Occurred()) return NULL;
89c8ea73
RD
3154} Py_INCREF(Py_None);
3155 _resultobj = Py_None;
3156{
3157 if (_obj2)
3158 delete _arg2;
3159}
3160 return _resultobj;
3161}
3162
3163#define wxStyledTextCtrl_AutoCompCancel(_swigobj) (_swigobj->AutoCompCancel())
3164static PyObject *_wrap_wxStyledTextCtrl_AutoCompCancel(PyObject *self, PyObject *args, PyObject *kwargs) {
3165 PyObject * _resultobj;
3166 wxStyledTextCtrl * _arg0;
3167 PyObject * _argo0 = 0;
3168 char *_kwnames[] = { "self", NULL };
3169
3170 self = self;
3171 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_AutoCompCancel",_kwnames,&_argo0))
3172 return NULL;
3173 if (_argo0) {
3174 if (_argo0 == Py_None) { _arg0 = NULL; }
3175 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
3176 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_AutoCompCancel. Expected _wxStyledTextCtrl_p.");
3177 return NULL;
3178 }
3179 }
3180{
474c48f9 3181 PyThreadState* __tstate = wxPyBeginAllowThreads();
89c8ea73
RD
3182 wxStyledTextCtrl_AutoCompCancel(_arg0);
3183
474c48f9
RD
3184 wxPyEndAllowThreads(__tstate);
3185 if (PyErr_Occurred()) return NULL;
89c8ea73
RD
3186} Py_INCREF(Py_None);
3187 _resultobj = Py_None;
3188 return _resultobj;
3189}
3190
3191#define wxStyledTextCtrl_AutoCompActive(_swigobj) (_swigobj->AutoCompActive())
3192static PyObject *_wrap_wxStyledTextCtrl_AutoCompActive(PyObject *self, PyObject *args, PyObject *kwargs) {
3193 PyObject * _resultobj;
3194 bool _result;
3195 wxStyledTextCtrl * _arg0;
3196 PyObject * _argo0 = 0;
3197 char *_kwnames[] = { "self", NULL };
3198
3199 self = self;
3200 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_AutoCompActive",_kwnames,&_argo0))
3201 return NULL;
3202 if (_argo0) {
3203 if (_argo0 == Py_None) { _arg0 = NULL; }
3204 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
3205 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_AutoCompActive. Expected _wxStyledTextCtrl_p.");
3206 return NULL;
3207 }
3208 }
3209{
474c48f9 3210 PyThreadState* __tstate = wxPyBeginAllowThreads();
89c8ea73
RD
3211 _result = (bool )wxStyledTextCtrl_AutoCompActive(_arg0);
3212
474c48f9
RD
3213 wxPyEndAllowThreads(__tstate);
3214 if (PyErr_Occurred()) return NULL;
89c8ea73
RD
3215} _resultobj = Py_BuildValue("i",_result);
3216 return _resultobj;
3217}
3218
3219#define wxStyledTextCtrl_AutoCompPosStart(_swigobj) (_swigobj->AutoCompPosStart())
3220static PyObject *_wrap_wxStyledTextCtrl_AutoCompPosStart(PyObject *self, PyObject *args, PyObject *kwargs) {
3221 PyObject * _resultobj;
3222 int _result;
3223 wxStyledTextCtrl * _arg0;
3224 PyObject * _argo0 = 0;
3225 char *_kwnames[] = { "self", NULL };
3226
3227 self = self;
3228 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_AutoCompPosStart",_kwnames,&_argo0))
3229 return NULL;
3230 if (_argo0) {
3231 if (_argo0 == Py_None) { _arg0 = NULL; }
3232 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
3233 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_AutoCompPosStart. Expected _wxStyledTextCtrl_p.");
3234 return NULL;
3235 }
3236 }
3237{
474c48f9 3238 PyThreadState* __tstate = wxPyBeginAllowThreads();
89c8ea73
RD
3239 _result = (int )wxStyledTextCtrl_AutoCompPosStart(_arg0);
3240
474c48f9
RD
3241 wxPyEndAllowThreads(__tstate);
3242 if (PyErr_Occurred()) return NULL;
89c8ea73
RD
3243} _resultobj = Py_BuildValue("i",_result);
3244 return _resultobj;
3245}
3246
3247#define wxStyledTextCtrl_AutoCompComplete(_swigobj) (_swigobj->AutoCompComplete())
3248static PyObject *_wrap_wxStyledTextCtrl_AutoCompComplete(PyObject *self, PyObject *args, PyObject *kwargs) {
3249 PyObject * _resultobj;
3250 wxStyledTextCtrl * _arg0;
3251 PyObject * _argo0 = 0;
3252 char *_kwnames[] = { "self", NULL };
3253
3254 self = self;
3255 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_AutoCompComplete",_kwnames,&_argo0))
3256 return NULL;
3257 if (_argo0) {
3258 if (_argo0 == Py_None) { _arg0 = NULL; }
3259 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
3260 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_AutoCompComplete. Expected _wxStyledTextCtrl_p.");
3261 return NULL;
3262 }
3263 }
3264{
474c48f9 3265 PyThreadState* __tstate = wxPyBeginAllowThreads();
89c8ea73
RD
3266 wxStyledTextCtrl_AutoCompComplete(_arg0);
3267
474c48f9
RD
3268 wxPyEndAllowThreads(__tstate);
3269 if (PyErr_Occurred()) return NULL;
89c8ea73
RD
3270} Py_INCREF(Py_None);
3271 _resultobj = Py_None;
3272 return _resultobj;
3273}
3274
3275#define wxStyledTextCtrl_AutoCompStops(_swigobj,_swigarg0) (_swigobj->AutoCompStops(_swigarg0))
3276static PyObject *_wrap_wxStyledTextCtrl_AutoCompStops(PyObject *self, PyObject *args, PyObject *kwargs) {
3277 PyObject * _resultobj;
3278 wxStyledTextCtrl * _arg0;
3279 wxString * _arg1;
3280 PyObject * _argo0 = 0;
3281 PyObject * _obj1 = 0;
3282 char *_kwnames[] = { "self","characterSet", NULL };
3283
3284 self = self;
3285 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxStyledTextCtrl_AutoCompStops",_kwnames,&_argo0,&_obj1))
3286 return NULL;
3287 if (_argo0) {
3288 if (_argo0 == Py_None) { _arg0 = NULL; }
3289 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
3290 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_AutoCompStops. Expected _wxStyledTextCtrl_p.");
3291 return NULL;
3292 }
3293 }
3294{
3295#if PYTHON_API_VERSION >= 1009
3296 char* tmpPtr; int tmpSize;
3297 if (!PyString_Check(_obj1) && !PyUnicode_Check(_obj1)) {
3298 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
3299 return NULL;
3300 }
3301 if (PyString_AsStringAndSize(_obj1, &tmpPtr, &tmpSize) == -1)
3302 return NULL;
3303 _arg1 = new wxString(tmpPtr, tmpSize);
3304#else
3305 if (!PyString_Check(_obj1)) {
3306 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
3307 return NULL;
3308 }
3309 _arg1 = new wxString(PyString_AS_STRING(_obj1), PyString_GET_SIZE(_obj1));
3310#endif
3311}
3312{
474c48f9 3313 PyThreadState* __tstate = wxPyBeginAllowThreads();
89c8ea73
RD
3314 wxStyledTextCtrl_AutoCompStops(_arg0,*_arg1);
3315
474c48f9
RD
3316 wxPyEndAllowThreads(__tstate);
3317 if (PyErr_Occurred()) return NULL;
89c8ea73
RD
3318} Py_INCREF(Py_None);
3319 _resultobj = Py_None;
3320{
3321 if (_obj1)
3322 delete _arg1;
3323}
3324 return _resultobj;
3325}
3326
3327#define wxStyledTextCtrl_AutoCompSetSeparator(_swigobj,_swigarg0) (_swigobj->AutoCompSetSeparator(_swigarg0))
3328static PyObject *_wrap_wxStyledTextCtrl_AutoCompSetSeparator(PyObject *self, PyObject *args, PyObject *kwargs) {
3329 PyObject * _resultobj;
3330 wxStyledTextCtrl * _arg0;
3331 int _arg1;
3332 PyObject * _argo0 = 0;
3333 char *_kwnames[] = { "self","separatorCharacter", NULL };
3334
3335 self = self;
3336 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_AutoCompSetSeparator",_kwnames,&_argo0,&_arg1))
3337 return NULL;
3338 if (_argo0) {
3339 if (_argo0 == Py_None) { _arg0 = NULL; }
3340 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
3341 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_AutoCompSetSeparator. Expected _wxStyledTextCtrl_p.");
3342 return NULL;
3343 }
3344 }
3345{
474c48f9 3346 PyThreadState* __tstate = wxPyBeginAllowThreads();
89c8ea73
RD
3347 wxStyledTextCtrl_AutoCompSetSeparator(_arg0,_arg1);
3348
474c48f9
RD
3349 wxPyEndAllowThreads(__tstate);
3350 if (PyErr_Occurred()) return NULL;
89c8ea73
RD
3351} Py_INCREF(Py_None);
3352 _resultobj = Py_None;
3353 return _resultobj;
3354}
3355
3356#define wxStyledTextCtrl_AutoCompGetSeparator(_swigobj) (_swigobj->AutoCompGetSeparator())
3357static PyObject *_wrap_wxStyledTextCtrl_AutoCompGetSeparator(PyObject *self, PyObject *args, PyObject *kwargs) {
3358 PyObject * _resultobj;
3359 int _result;
3360 wxStyledTextCtrl * _arg0;
3361 PyObject * _argo0 = 0;
3362 char *_kwnames[] = { "self", NULL };
3363
3364 self = self;
3365 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_AutoCompGetSeparator",_kwnames,&_argo0))
3366 return NULL;
3367 if (_argo0) {
3368 if (_argo0 == Py_None) { _arg0 = NULL; }
3369 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
3370 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_AutoCompGetSeparator. Expected _wxStyledTextCtrl_p.");
3371 return NULL;
3372 }
3373 }
3374{
474c48f9 3375 PyThreadState* __tstate = wxPyBeginAllowThreads();
89c8ea73
RD
3376 _result = (int )wxStyledTextCtrl_AutoCompGetSeparator(_arg0);
3377
474c48f9
RD
3378 wxPyEndAllowThreads(__tstate);
3379 if (PyErr_Occurred()) return NULL;
89c8ea73
RD
3380} _resultobj = Py_BuildValue("i",_result);
3381 return _resultobj;
3382}
3383
3384#define wxStyledTextCtrl_AutoCompSelect(_swigobj,_swigarg0) (_swigobj->AutoCompSelect(_swigarg0))
3385static PyObject *_wrap_wxStyledTextCtrl_AutoCompSelect(PyObject *self, PyObject *args, PyObject *kwargs) {
3386 PyObject * _resultobj;
3387 wxStyledTextCtrl * _arg0;
3388 wxString * _arg1;
3389 PyObject * _argo0 = 0;
3390 PyObject * _obj1 = 0;
3391 char *_kwnames[] = { "self","text", NULL };
3392
3393 self = self;
3394 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxStyledTextCtrl_AutoCompSelect",_kwnames,&_argo0,&_obj1))
3395 return NULL;
3396 if (_argo0) {
3397 if (_argo0 == Py_None) { _arg0 = NULL; }
3398 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
3399 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_AutoCompSelect. Expected _wxStyledTextCtrl_p.");
3400 return NULL;
3401 }
3402 }
3403{
3404#if PYTHON_API_VERSION >= 1009
3405 char* tmpPtr; int tmpSize;
3406 if (!PyString_Check(_obj1) && !PyUnicode_Check(_obj1)) {
3407 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
3408 return NULL;
3409 }
3410 if (PyString_AsStringAndSize(_obj1, &tmpPtr, &tmpSize) == -1)
3411 return NULL;
3412 _arg1 = new wxString(tmpPtr, tmpSize);
3413#else
3414 if (!PyString_Check(_obj1)) {
3415 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
3416 return NULL;
3417 }
3418 _arg1 = new wxString(PyString_AS_STRING(_obj1), PyString_GET_SIZE(_obj1));
3419#endif
3420}
3421{
474c48f9 3422 PyThreadState* __tstate = wxPyBeginAllowThreads();
89c8ea73
RD
3423 wxStyledTextCtrl_AutoCompSelect(_arg0,*_arg1);
3424
474c48f9
RD
3425 wxPyEndAllowThreads(__tstate);
3426 if (PyErr_Occurred()) return NULL;
89c8ea73
RD
3427} Py_INCREF(Py_None);
3428 _resultobj = Py_None;
3429{
3430 if (_obj1)
3431 delete _arg1;
3432}
3433 return _resultobj;
3434}
3435
3436#define wxStyledTextCtrl_AutoCompSetCancelAtStart(_swigobj,_swigarg0) (_swigobj->AutoCompSetCancelAtStart(_swigarg0))
3437static PyObject *_wrap_wxStyledTextCtrl_AutoCompSetCancelAtStart(PyObject *self, PyObject *args, PyObject *kwargs) {
3438 PyObject * _resultobj;
3439 wxStyledTextCtrl * _arg0;
3440 bool _arg1;
3441 PyObject * _argo0 = 0;
3442 int tempbool1;
3443 char *_kwnames[] = { "self","cancel", NULL };
3444
3445 self = self;
3446 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_AutoCompSetCancelAtStart",_kwnames,&_argo0,&tempbool1))
3447 return NULL;
3448 if (_argo0) {
3449 if (_argo0 == Py_None) { _arg0 = NULL; }
3450 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
3451 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_AutoCompSetCancelAtStart. Expected _wxStyledTextCtrl_p.");
3452 return NULL;
3453 }
3454 }
3455 _arg1 = (bool ) tempbool1;
3456{
474c48f9 3457 PyThreadState* __tstate = wxPyBeginAllowThreads();
89c8ea73
RD
3458 wxStyledTextCtrl_AutoCompSetCancelAtStart(_arg0,_arg1);
3459
474c48f9
RD
3460 wxPyEndAllowThreads(__tstate);
3461 if (PyErr_Occurred()) return NULL;
89c8ea73
RD
3462} Py_INCREF(Py_None);
3463 _resultobj = Py_None;
3464 return _resultobj;
3465}
3466
3467#define wxStyledTextCtrl_AutoCompGetCancelAtStart(_swigobj) (_swigobj->AutoCompGetCancelAtStart())
3468static PyObject *_wrap_wxStyledTextCtrl_AutoCompGetCancelAtStart(PyObject *self, PyObject *args, PyObject *kwargs) {
3469 PyObject * _resultobj;
3470 bool _result;
3471 wxStyledTextCtrl * _arg0;
3472 PyObject * _argo0 = 0;
3473 char *_kwnames[] = { "self", NULL };
3474
3475 self = self;
3476 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_AutoCompGetCancelAtStart",_kwnames,&_argo0))
3477 return NULL;
3478 if (_argo0) {
3479 if (_argo0 == Py_None) { _arg0 = NULL; }
3480 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
3481 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_AutoCompGetCancelAtStart. Expected _wxStyledTextCtrl_p.");
3482 return NULL;
3483 }
3484 }
3485{
474c48f9 3486 PyThreadState* __tstate = wxPyBeginAllowThreads();
89c8ea73
RD
3487 _result = (bool )wxStyledTextCtrl_AutoCompGetCancelAtStart(_arg0);
3488
474c48f9
RD
3489 wxPyEndAllowThreads(__tstate);
3490 if (PyErr_Occurred()) return NULL;
89c8ea73
RD
3491} _resultobj = Py_BuildValue("i",_result);
3492 return _resultobj;
3493}
3494
3495#define wxStyledTextCtrl_AutoCompSetFillUps(_swigobj,_swigarg0) (_swigobj->AutoCompSetFillUps(_swigarg0))
3496static PyObject *_wrap_wxStyledTextCtrl_AutoCompSetFillUps(PyObject *self, PyObject *args, PyObject *kwargs) {
3497 PyObject * _resultobj;
3498 wxStyledTextCtrl * _arg0;
3499 wxString * _arg1;
3500 PyObject * _argo0 = 0;
3501 PyObject * _obj1 = 0;
3502 char *_kwnames[] = { "self","characterSet", NULL };
3503
3504 self = self;
3505 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxStyledTextCtrl_AutoCompSetFillUps",_kwnames,&_argo0,&_obj1))
3506 return NULL;
3507 if (_argo0) {
3508 if (_argo0 == Py_None) { _arg0 = NULL; }
3509 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
3510 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_AutoCompSetFillUps. Expected _wxStyledTextCtrl_p.");
3511 return NULL;
3512 }
3513 }
3514{
3515#if PYTHON_API_VERSION >= 1009
3516 char* tmpPtr; int tmpSize;
3517 if (!PyString_Check(_obj1) && !PyUnicode_Check(_obj1)) {
3518 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
3519 return NULL;
3520 }
3521 if (PyString_AsStringAndSize(_obj1, &tmpPtr, &tmpSize) == -1)
3522 return NULL;
3523 _arg1 = new wxString(tmpPtr, tmpSize);
3524#else
3525 if (!PyString_Check(_obj1)) {
3526 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
3527 return NULL;
3528 }
3529 _arg1 = new wxString(PyString_AS_STRING(_obj1), PyString_GET_SIZE(_obj1));
3530#endif
3531}
3532{
474c48f9 3533 PyThreadState* __tstate = wxPyBeginAllowThreads();
89c8ea73
RD
3534 wxStyledTextCtrl_AutoCompSetFillUps(_arg0,*_arg1);
3535
474c48f9
RD
3536 wxPyEndAllowThreads(__tstate);
3537 if (PyErr_Occurred()) return NULL;
89c8ea73
RD
3538} Py_INCREF(Py_None);
3539 _resultobj = Py_None;
3540{
3541 if (_obj1)
3542 delete _arg1;
3543}
3544 return _resultobj;
3545}
3546
3547#define wxStyledTextCtrl_AutoCompSetChooseSingle(_swigobj,_swigarg0) (_swigobj->AutoCompSetChooseSingle(_swigarg0))
3548static PyObject *_wrap_wxStyledTextCtrl_AutoCompSetChooseSingle(PyObject *self, PyObject *args, PyObject *kwargs) {
3549 PyObject * _resultobj;
3550 wxStyledTextCtrl * _arg0;
3551 bool _arg1;
3552 PyObject * _argo0 = 0;
3553 int tempbool1;
3554 char *_kwnames[] = { "self","chooseSingle", NULL };
3555
3556 self = self;
3557 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_AutoCompSetChooseSingle",_kwnames,&_argo0,&tempbool1))
3558 return NULL;
3559 if (_argo0) {
3560 if (_argo0 == Py_None) { _arg0 = NULL; }
3561 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
3562 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_AutoCompSetChooseSingle. Expected _wxStyledTextCtrl_p.");
3563 return NULL;
3564 }
3565 }
3566 _arg1 = (bool ) tempbool1;
3567{
474c48f9 3568 PyThreadState* __tstate = wxPyBeginAllowThreads();
89c8ea73
RD
3569 wxStyledTextCtrl_AutoCompSetChooseSingle(_arg0,_arg1);
3570
474c48f9
RD
3571 wxPyEndAllowThreads(__tstate);
3572 if (PyErr_Occurred()) return NULL;
89c8ea73
RD
3573} Py_INCREF(Py_None);
3574 _resultobj = Py_None;
3575 return _resultobj;
3576}
3577
3578#define wxStyledTextCtrl_AutoCompGetChooseSingle(_swigobj) (_swigobj->AutoCompGetChooseSingle())
3579static PyObject *_wrap_wxStyledTextCtrl_AutoCompGetChooseSingle(PyObject *self, PyObject *args, PyObject *kwargs) {
3580 PyObject * _resultobj;
3581 bool _result;
3582 wxStyledTextCtrl * _arg0;
3583 PyObject * _argo0 = 0;
3584 char *_kwnames[] = { "self", NULL };
3585
3586 self = self;
3587 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_AutoCompGetChooseSingle",_kwnames,&_argo0))
3588 return NULL;
3589 if (_argo0) {
3590 if (_argo0 == Py_None) { _arg0 = NULL; }
3591 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
3592 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_AutoCompGetChooseSingle. Expected _wxStyledTextCtrl_p.");
3593 return NULL;
3594 }
3595 }
3596{
474c48f9 3597 PyThreadState* __tstate = wxPyBeginAllowThreads();
89c8ea73
RD
3598 _result = (bool )wxStyledTextCtrl_AutoCompGetChooseSingle(_arg0);
3599
474c48f9
RD
3600 wxPyEndAllowThreads(__tstate);
3601 if (PyErr_Occurred()) return NULL;
89c8ea73
RD
3602} _resultobj = Py_BuildValue("i",_result);
3603 return _resultobj;
3604}
3605
3606#define wxStyledTextCtrl_AutoCompSetIgnoreCase(_swigobj,_swigarg0) (_swigobj->AutoCompSetIgnoreCase(_swigarg0))
3607static PyObject *_wrap_wxStyledTextCtrl_AutoCompSetIgnoreCase(PyObject *self, PyObject *args, PyObject *kwargs) {
3608 PyObject * _resultobj;
3609 wxStyledTextCtrl * _arg0;
3610 bool _arg1;
3611 PyObject * _argo0 = 0;
3612 int tempbool1;
3613 char *_kwnames[] = { "self","ignoreCase", NULL };
3614
3615 self = self;
3616 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_AutoCompSetIgnoreCase",_kwnames,&_argo0,&tempbool1))
3617 return NULL;
3618 if (_argo0) {
3619 if (_argo0 == Py_None) { _arg0 = NULL; }
3620 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
3621 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_AutoCompSetIgnoreCase. Expected _wxStyledTextCtrl_p.");
3622 return NULL;
3623 }
3624 }
3625 _arg1 = (bool ) tempbool1;
3626{
474c48f9 3627 PyThreadState* __tstate = wxPyBeginAllowThreads();
89c8ea73
RD
3628 wxStyledTextCtrl_AutoCompSetIgnoreCase(_arg0,_arg1);
3629
474c48f9
RD
3630 wxPyEndAllowThreads(__tstate);
3631 if (PyErr_Occurred()) return NULL;
89c8ea73
RD
3632} Py_INCREF(Py_None);
3633 _resultobj = Py_None;
3634 return _resultobj;
3635}
3636
3637#define wxStyledTextCtrl_AutoCompGetIgnoreCase(_swigobj) (_swigobj->AutoCompGetIgnoreCase())
3638static PyObject *_wrap_wxStyledTextCtrl_AutoCompGetIgnoreCase(PyObject *self, PyObject *args, PyObject *kwargs) {
3639 PyObject * _resultobj;
3640 bool _result;
3641 wxStyledTextCtrl * _arg0;
3642 PyObject * _argo0 = 0;
3643 char *_kwnames[] = { "self", NULL };
3644
3645 self = self;
3646 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_AutoCompGetIgnoreCase",_kwnames,&_argo0))
3647 return NULL;
3648 if (_argo0) {
3649 if (_argo0 == Py_None) { _arg0 = NULL; }
3650 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
3651 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_AutoCompGetIgnoreCase. Expected _wxStyledTextCtrl_p.");
3652 return NULL;
3653 }
3654 }
3655{
474c48f9 3656 PyThreadState* __tstate = wxPyBeginAllowThreads();
89c8ea73
RD
3657 _result = (bool )wxStyledTextCtrl_AutoCompGetIgnoreCase(_arg0);
3658
474c48f9
RD
3659 wxPyEndAllowThreads(__tstate);
3660 if (PyErr_Occurred()) return NULL;
89c8ea73
RD
3661} _resultobj = Py_BuildValue("i",_result);
3662 return _resultobj;
3663}
3664
3665#define wxStyledTextCtrl_UserListShow(_swigobj,_swigarg0,_swigarg1) (_swigobj->UserListShow(_swigarg0,_swigarg1))
3666static PyObject *_wrap_wxStyledTextCtrl_UserListShow(PyObject *self, PyObject *args, PyObject *kwargs) {
3667 PyObject * _resultobj;
3668 wxStyledTextCtrl * _arg0;
3669 int _arg1;
3670 wxString * _arg2;
3671 PyObject * _argo0 = 0;
3672 PyObject * _obj2 = 0;
3673 char *_kwnames[] = { "self","listType","itemList", NULL };
3674
3675 self = self;
3676 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxStyledTextCtrl_UserListShow",_kwnames,&_argo0,&_arg1,&_obj2))
3677 return NULL;
3678 if (_argo0) {
3679 if (_argo0 == Py_None) { _arg0 = NULL; }
3680 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
3681 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_UserListShow. Expected _wxStyledTextCtrl_p.");
3682 return NULL;
3683 }
3684 }
3685{
3686#if PYTHON_API_VERSION >= 1009
3687 char* tmpPtr; int tmpSize;
3688 if (!PyString_Check(_obj2) && !PyUnicode_Check(_obj2)) {
3689 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
3690 return NULL;
3691 }
3692 if (PyString_AsStringAndSize(_obj2, &tmpPtr, &tmpSize) == -1)
3693 return NULL;
3694 _arg2 = new wxString(tmpPtr, tmpSize);
3695#else
3696 if (!PyString_Check(_obj2)) {
3697 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
3698 return NULL;
3699 }
3700 _arg2 = new wxString(PyString_AS_STRING(_obj2), PyString_GET_SIZE(_obj2));
3701#endif
3702}
3703{
474c48f9 3704 PyThreadState* __tstate = wxPyBeginAllowThreads();
89c8ea73
RD
3705 wxStyledTextCtrl_UserListShow(_arg0,_arg1,*_arg2);
3706
474c48f9
RD
3707 wxPyEndAllowThreads(__tstate);
3708 if (PyErr_Occurred()) return NULL;
89c8ea73
RD
3709} Py_INCREF(Py_None);
3710 _resultobj = Py_None;
3711{
3712 if (_obj2)
3713 delete _arg2;
3714}
3715 return _resultobj;
3716}
3717
3718#define wxStyledTextCtrl_AutoCompSetAutoHide(_swigobj,_swigarg0) (_swigobj->AutoCompSetAutoHide(_swigarg0))
3719static PyObject *_wrap_wxStyledTextCtrl_AutoCompSetAutoHide(PyObject *self, PyObject *args, PyObject *kwargs) {
3720 PyObject * _resultobj;
3721 wxStyledTextCtrl * _arg0;
3722 bool _arg1;
3723 PyObject * _argo0 = 0;
3724 int tempbool1;
3725 char *_kwnames[] = { "self","autoHide", NULL };
3726
3727 self = self;
3728 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_AutoCompSetAutoHide",_kwnames,&_argo0,&tempbool1))
3729 return NULL;
3730 if (_argo0) {
3731 if (_argo0 == Py_None) { _arg0 = NULL; }
3732 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
3733 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_AutoCompSetAutoHide. Expected _wxStyledTextCtrl_p.");
3734 return NULL;
3735 }
3736 }
3737 _arg1 = (bool ) tempbool1;
3738{
474c48f9 3739 PyThreadState* __tstate = wxPyBeginAllowThreads();
89c8ea73
RD
3740 wxStyledTextCtrl_AutoCompSetAutoHide(_arg0,_arg1);
3741
474c48f9
RD
3742 wxPyEndAllowThreads(__tstate);
3743 if (PyErr_Occurred()) return NULL;
89c8ea73
RD
3744} Py_INCREF(Py_None);
3745 _resultobj = Py_None;
3746 return _resultobj;
3747}
3748
3749#define wxStyledTextCtrl_AutoCompGetAutoHide(_swigobj) (_swigobj->AutoCompGetAutoHide())
3750static PyObject *_wrap_wxStyledTextCtrl_AutoCompGetAutoHide(PyObject *self, PyObject *args, PyObject *kwargs) {
3751 PyObject * _resultobj;
3752 bool _result;
3753 wxStyledTextCtrl * _arg0;
3754 PyObject * _argo0 = 0;
3755 char *_kwnames[] = { "self", NULL };
3756
3757 self = self;
3758 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_AutoCompGetAutoHide",_kwnames,&_argo0))
3759 return NULL;
3760 if (_argo0) {
3761 if (_argo0 == Py_None) { _arg0 = NULL; }
3762 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
3763 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_AutoCompGetAutoHide. Expected _wxStyledTextCtrl_p.");
3764 return NULL;
3765 }
3766 }
3767{
474c48f9 3768 PyThreadState* __tstate = wxPyBeginAllowThreads();
89c8ea73
RD
3769 _result = (bool )wxStyledTextCtrl_AutoCompGetAutoHide(_arg0);
3770
474c48f9
RD
3771 wxPyEndAllowThreads(__tstate);
3772 if (PyErr_Occurred()) return NULL;
89c8ea73
RD
3773} _resultobj = Py_BuildValue("i",_result);
3774 return _resultobj;
3775}
3776
3777#define wxStyledTextCtrl_SetIndent(_swigobj,_swigarg0) (_swigobj->SetIndent(_swigarg0))
3778static PyObject *_wrap_wxStyledTextCtrl_SetIndent(PyObject *self, PyObject *args, PyObject *kwargs) {
3779 PyObject * _resultobj;
3780 wxStyledTextCtrl * _arg0;
3781 int _arg1;
3782 PyObject * _argo0 = 0;
3783 char *_kwnames[] = { "self","indentSize", NULL };
3784
3785 self = self;
3786 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_SetIndent",_kwnames,&_argo0,&_arg1))
3787 return NULL;
3788 if (_argo0) {
3789 if (_argo0 == Py_None) { _arg0 = NULL; }
3790 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
3791 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetIndent. Expected _wxStyledTextCtrl_p.");
3792 return NULL;
3793 }
3794 }
3795{
474c48f9 3796 PyThreadState* __tstate = wxPyBeginAllowThreads();
89c8ea73
RD
3797 wxStyledTextCtrl_SetIndent(_arg0,_arg1);
3798
474c48f9
RD
3799 wxPyEndAllowThreads(__tstate);
3800 if (PyErr_Occurred()) return NULL;
89c8ea73
RD
3801} Py_INCREF(Py_None);
3802 _resultobj = Py_None;
3803 return _resultobj;
3804}
3805
3806#define wxStyledTextCtrl_GetIndent(_swigobj) (_swigobj->GetIndent())
3807static PyObject *_wrap_wxStyledTextCtrl_GetIndent(PyObject *self, PyObject *args, PyObject *kwargs) {
3808 PyObject * _resultobj;
3809 int _result;
3810 wxStyledTextCtrl * _arg0;
3811 PyObject * _argo0 = 0;
3812 char *_kwnames[] = { "self", NULL };
3813
3814 self = self;
3815 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetIndent",_kwnames,&_argo0))
3816 return NULL;
3817 if (_argo0) {
3818 if (_argo0 == Py_None) { _arg0 = NULL; }
3819 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
3820 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetIndent. Expected _wxStyledTextCtrl_p.");
3821 return NULL;
3822 }
3823 }
3824{
474c48f9 3825 PyThreadState* __tstate = wxPyBeginAllowThreads();
89c8ea73
RD
3826 _result = (int )wxStyledTextCtrl_GetIndent(_arg0);
3827
474c48f9
RD
3828 wxPyEndAllowThreads(__tstate);
3829 if (PyErr_Occurred()) return NULL;
89c8ea73
RD
3830} _resultobj = Py_BuildValue("i",_result);
3831 return _resultobj;
3832}
3833
3834#define wxStyledTextCtrl_SetUseTabs(_swigobj,_swigarg0) (_swigobj->SetUseTabs(_swigarg0))
3835static PyObject *_wrap_wxStyledTextCtrl_SetUseTabs(PyObject *self, PyObject *args, PyObject *kwargs) {
3836 PyObject * _resultobj;
3837 wxStyledTextCtrl * _arg0;
3838 bool _arg1;
3839 PyObject * _argo0 = 0;
3840 int tempbool1;
3841 char *_kwnames[] = { "self","useTabs", NULL };
3842
3843 self = self;
3844 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_SetUseTabs",_kwnames,&_argo0,&tempbool1))
3845 return NULL;
3846 if (_argo0) {
3847 if (_argo0 == Py_None) { _arg0 = NULL; }
3848 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
3849 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetUseTabs. Expected _wxStyledTextCtrl_p.");
3850 return NULL;
3851 }
3852 }
3853 _arg1 = (bool ) tempbool1;
3854{
474c48f9 3855 PyThreadState* __tstate = wxPyBeginAllowThreads();
89c8ea73
RD
3856 wxStyledTextCtrl_SetUseTabs(_arg0,_arg1);
3857
474c48f9
RD
3858 wxPyEndAllowThreads(__tstate);
3859 if (PyErr_Occurred()) return NULL;
89c8ea73
RD
3860} Py_INCREF(Py_None);
3861 _resultobj = Py_None;
3862 return _resultobj;
3863}
3864
3865#define wxStyledTextCtrl_GetUseTabs(_swigobj) (_swigobj->GetUseTabs())
3866static PyObject *_wrap_wxStyledTextCtrl_GetUseTabs(PyObject *self, PyObject *args, PyObject *kwargs) {
3867 PyObject * _resultobj;
3868 bool _result;
3869 wxStyledTextCtrl * _arg0;
3870 PyObject * _argo0 = 0;
3871 char *_kwnames[] = { "self", NULL };
3872
3873 self = self;
3874 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetUseTabs",_kwnames,&_argo0))
3875 return NULL;
3876 if (_argo0) {
3877 if (_argo0 == Py_None) { _arg0 = NULL; }
3878 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
3879 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetUseTabs. Expected _wxStyledTextCtrl_p.");
3880 return NULL;
3881 }
3882 }
3883{
474c48f9 3884 PyThreadState* __tstate = wxPyBeginAllowThreads();
89c8ea73
RD
3885 _result = (bool )wxStyledTextCtrl_GetUseTabs(_arg0);
3886
474c48f9
RD
3887 wxPyEndAllowThreads(__tstate);
3888 if (PyErr_Occurred()) return NULL;
89c8ea73
RD
3889} _resultobj = Py_BuildValue("i",_result);
3890 return _resultobj;
3891}
3892
3893#define wxStyledTextCtrl_SetLineIndentation(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetLineIndentation(_swigarg0,_swigarg1))
3894static PyObject *_wrap_wxStyledTextCtrl_SetLineIndentation(PyObject *self, PyObject *args, PyObject *kwargs) {
3895 PyObject * _resultobj;
3896 wxStyledTextCtrl * _arg0;
3897 int _arg1;
3898 int _arg2;
3899 PyObject * _argo0 = 0;
3900 char *_kwnames[] = { "self","line","indentSize", NULL };
3901
3902 self = self;
3903 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxStyledTextCtrl_SetLineIndentation",_kwnames,&_argo0,&_arg1,&_arg2))
3904 return NULL;
3905 if (_argo0) {
3906 if (_argo0 == Py_None) { _arg0 = NULL; }
3907 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
3908 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetLineIndentation. Expected _wxStyledTextCtrl_p.");
3909 return NULL;
3910 }
3911 }
3912{
474c48f9 3913 PyThreadState* __tstate = wxPyBeginAllowThreads();
89c8ea73
RD
3914 wxStyledTextCtrl_SetLineIndentation(_arg0,_arg1,_arg2);
3915
474c48f9
RD
3916 wxPyEndAllowThreads(__tstate);
3917 if (PyErr_Occurred()) return NULL;
89c8ea73
RD
3918} Py_INCREF(Py_None);
3919 _resultobj = Py_None;
3920 return _resultobj;
3921}
3922
3923#define wxStyledTextCtrl_GetLineIndentation(_swigobj,_swigarg0) (_swigobj->GetLineIndentation(_swigarg0))
3924static PyObject *_wrap_wxStyledTextCtrl_GetLineIndentation(PyObject *self, PyObject *args, PyObject *kwargs) {
3925 PyObject * _resultobj;
3926 int _result;
3927 wxStyledTextCtrl * _arg0;
3928 int _arg1;
3929 PyObject * _argo0 = 0;
3930 char *_kwnames[] = { "self","line", NULL };
3931
3932 self = self;
3933 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_GetLineIndentation",_kwnames,&_argo0,&_arg1))
3934 return NULL;
3935 if (_argo0) {
3936 if (_argo0 == Py_None) { _arg0 = NULL; }
3937 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
3938 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetLineIndentation. Expected _wxStyledTextCtrl_p.");
3939 return NULL;
3940 }
3941 }
3942{
474c48f9 3943 PyThreadState* __tstate = wxPyBeginAllowThreads();
89c8ea73
RD
3944 _result = (int )wxStyledTextCtrl_GetLineIndentation(_arg0,_arg1);
3945
474c48f9
RD
3946 wxPyEndAllowThreads(__tstate);
3947 if (PyErr_Occurred()) return NULL;
89c8ea73
RD
3948} _resultobj = Py_BuildValue("i",_result);
3949 return _resultobj;
3950}
3951
3952#define wxStyledTextCtrl_GetLineIndentPosition(_swigobj,_swigarg0) (_swigobj->GetLineIndentPosition(_swigarg0))
3953static PyObject *_wrap_wxStyledTextCtrl_GetLineIndentPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
3954 PyObject * _resultobj;
3955 int _result;
3956 wxStyledTextCtrl * _arg0;
3957 int _arg1;
3958 PyObject * _argo0 = 0;
3959 char *_kwnames[] = { "self","line", NULL };
3960
3961 self = self;
3962 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_GetLineIndentPosition",_kwnames,&_argo0,&_arg1))
3963 return NULL;
3964 if (_argo0) {
3965 if (_argo0 == Py_None) { _arg0 = NULL; }
3966 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
3967 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetLineIndentPosition. Expected _wxStyledTextCtrl_p.");
3968 return NULL;
3969 }
3970 }
3971{
474c48f9 3972 PyThreadState* __tstate = wxPyBeginAllowThreads();
89c8ea73
RD
3973 _result = (int )wxStyledTextCtrl_GetLineIndentPosition(_arg0,_arg1);
3974
474c48f9
RD
3975 wxPyEndAllowThreads(__tstate);
3976 if (PyErr_Occurred()) return NULL;
89c8ea73
RD
3977} _resultobj = Py_BuildValue("i",_result);
3978 return _resultobj;
3979}
3980
3981#define wxStyledTextCtrl_GetColumn(_swigobj,_swigarg0) (_swigobj->GetColumn(_swigarg0))
3982static PyObject *_wrap_wxStyledTextCtrl_GetColumn(PyObject *self, PyObject *args, PyObject *kwargs) {
3983 PyObject * _resultobj;
3984 int _result;
3985 wxStyledTextCtrl * _arg0;
3986 int _arg1;
3987 PyObject * _argo0 = 0;
3988 char *_kwnames[] = { "self","pos", NULL };
3989
3990 self = self;
3991 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_GetColumn",_kwnames,&_argo0,&_arg1))
3992 return NULL;
3993 if (_argo0) {
3994 if (_argo0 == Py_None) { _arg0 = NULL; }
3995 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
3996 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetColumn. Expected _wxStyledTextCtrl_p.");
3997 return NULL;
3998 }
3999 }
4000{
474c48f9 4001 PyThreadState* __tstate = wxPyBeginAllowThreads();
89c8ea73
RD
4002 _result = (int )wxStyledTextCtrl_GetColumn(_arg0,_arg1);
4003
474c48f9
RD
4004 wxPyEndAllowThreads(__tstate);
4005 if (PyErr_Occurred()) return NULL;
89c8ea73
RD
4006} _resultobj = Py_BuildValue("i",_result);
4007 return _resultobj;
4008}
4009
4010#define wxStyledTextCtrl_SetUseHorizontalScrollBar(_swigobj,_swigarg0) (_swigobj->SetUseHorizontalScrollBar(_swigarg0))
4011static PyObject *_wrap_wxStyledTextCtrl_SetUseHorizontalScrollBar(PyObject *self, PyObject *args, PyObject *kwargs) {
4012 PyObject * _resultobj;
4013 wxStyledTextCtrl * _arg0;
4014 bool _arg1;
4015 PyObject * _argo0 = 0;
4016 int tempbool1;
4017 char *_kwnames[] = { "self","show", NULL };
4018
4019 self = self;
4020 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_SetUseHorizontalScrollBar",_kwnames,&_argo0,&tempbool1))
4021 return NULL;
4022 if (_argo0) {
4023 if (_argo0 == Py_None) { _arg0 = NULL; }
4024 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
4025 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetUseHorizontalScrollBar. Expected _wxStyledTextCtrl_p.");
4026 return NULL;
4027 }
4028 }
4029 _arg1 = (bool ) tempbool1;
4030{
474c48f9 4031 PyThreadState* __tstate = wxPyBeginAllowThreads();
89c8ea73
RD
4032 wxStyledTextCtrl_SetUseHorizontalScrollBar(_arg0,_arg1);
4033
474c48f9
RD
4034 wxPyEndAllowThreads(__tstate);
4035 if (PyErr_Occurred()) return NULL;
89c8ea73
RD
4036} Py_INCREF(Py_None);
4037 _resultobj = Py_None;
4038 return _resultobj;
4039}
4040
4041#define wxStyledTextCtrl_GetUseHorizontalScrollBar(_swigobj) (_swigobj->GetUseHorizontalScrollBar())
4042static PyObject *_wrap_wxStyledTextCtrl_GetUseHorizontalScrollBar(PyObject *self, PyObject *args, PyObject *kwargs) {
4043 PyObject * _resultobj;
4044 bool _result;
4045 wxStyledTextCtrl * _arg0;
4046 PyObject * _argo0 = 0;
4047 char *_kwnames[] = { "self", NULL };
4048
4049 self = self;
4050 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetUseHorizontalScrollBar",_kwnames,&_argo0))
4051 return NULL;
4052 if (_argo0) {
4053 if (_argo0 == Py_None) { _arg0 = NULL; }
4054 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
4055 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetUseHorizontalScrollBar. Expected _wxStyledTextCtrl_p.");
4056 return NULL;
4057 }
4058 }
4059{
474c48f9 4060 PyThreadState* __tstate = wxPyBeginAllowThreads();
89c8ea73
RD
4061 _result = (bool )wxStyledTextCtrl_GetUseHorizontalScrollBar(_arg0);
4062
474c48f9
RD
4063 wxPyEndAllowThreads(__tstate);
4064 if (PyErr_Occurred()) return NULL;
89c8ea73
RD
4065} _resultobj = Py_BuildValue("i",_result);
4066 return _resultobj;
4067}
4068
4069#define wxStyledTextCtrl_SetIndentationGuides(_swigobj,_swigarg0) (_swigobj->SetIndentationGuides(_swigarg0))
4070static PyObject *_wrap_wxStyledTextCtrl_SetIndentationGuides(PyObject *self, PyObject *args, PyObject *kwargs) {
4071 PyObject * _resultobj;
4072 wxStyledTextCtrl * _arg0;
4073 bool _arg1;
4074 PyObject * _argo0 = 0;
4075 int tempbool1;
4076 char *_kwnames[] = { "self","show", NULL };
4077
4078 self = self;
4079 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_SetIndentationGuides",_kwnames,&_argo0,&tempbool1))
4080 return NULL;
4081 if (_argo0) {
4082 if (_argo0 == Py_None) { _arg0 = NULL; }
4083 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
4084 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetIndentationGuides. Expected _wxStyledTextCtrl_p.");
4085 return NULL;
4086 }
4087 }
4088 _arg1 = (bool ) tempbool1;
4089{
474c48f9 4090 PyThreadState* __tstate = wxPyBeginAllowThreads();
89c8ea73
RD
4091 wxStyledTextCtrl_SetIndentationGuides(_arg0,_arg1);
4092
474c48f9
RD
4093 wxPyEndAllowThreads(__tstate);
4094 if (PyErr_Occurred()) return NULL;
89c8ea73
RD
4095} Py_INCREF(Py_None);
4096 _resultobj = Py_None;
4097 return _resultobj;
4098}
4099
4100#define wxStyledTextCtrl_GetIndentationGuides(_swigobj) (_swigobj->GetIndentationGuides())
4101static PyObject *_wrap_wxStyledTextCtrl_GetIndentationGuides(PyObject *self, PyObject *args, PyObject *kwargs) {
4102 PyObject * _resultobj;
4103 bool _result;
4104 wxStyledTextCtrl * _arg0;
4105 PyObject * _argo0 = 0;
4106 char *_kwnames[] = { "self", NULL };
4107
4108 self = self;
4109 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetIndentationGuides",_kwnames,&_argo0))
4110 return NULL;
4111 if (_argo0) {
4112 if (_argo0 == Py_None) { _arg0 = NULL; }
4113 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
4114 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetIndentationGuides. Expected _wxStyledTextCtrl_p.");
4115 return NULL;
4116 }
4117 }
4118{
474c48f9 4119 PyThreadState* __tstate = wxPyBeginAllowThreads();
89c8ea73
RD
4120 _result = (bool )wxStyledTextCtrl_GetIndentationGuides(_arg0);
4121
474c48f9
RD
4122 wxPyEndAllowThreads(__tstate);
4123 if (PyErr_Occurred()) return NULL;
89c8ea73
RD
4124} _resultobj = Py_BuildValue("i",_result);
4125 return _resultobj;
4126}
4127
4128#define wxStyledTextCtrl_SetHighlightGuide(_swigobj,_swigarg0) (_swigobj->SetHighlightGuide(_swigarg0))
4129static PyObject *_wrap_wxStyledTextCtrl_SetHighlightGuide(PyObject *self, PyObject *args, PyObject *kwargs) {
4130 PyObject * _resultobj;
4131 wxStyledTextCtrl * _arg0;
4132 int _arg1;
4133 PyObject * _argo0 = 0;
4134 char *_kwnames[] = { "self","column", NULL };
4135
4136 self = self;
4137 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_SetHighlightGuide",_kwnames,&_argo0,&_arg1))
4138 return NULL;
4139 if (_argo0) {
4140 if (_argo0 == Py_None) { _arg0 = NULL; }
4141 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
4142 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetHighlightGuide. Expected _wxStyledTextCtrl_p.");
4143 return NULL;
4144 }
4145 }
4146{
474c48f9 4147 PyThreadState* __tstate = wxPyBeginAllowThreads();
89c8ea73
RD
4148 wxStyledTextCtrl_SetHighlightGuide(_arg0,_arg1);
4149
474c48f9
RD
4150 wxPyEndAllowThreads(__tstate);
4151 if (PyErr_Occurred()) return NULL;
89c8ea73
RD
4152} Py_INCREF(Py_None);
4153 _resultobj = Py_None;
4154 return _resultobj;
4155}
4156
4157#define wxStyledTextCtrl_GetHighlightGuide(_swigobj) (_swigobj->GetHighlightGuide())
4158static PyObject *_wrap_wxStyledTextCtrl_GetHighlightGuide(PyObject *self, PyObject *args, PyObject *kwargs) {
4159 PyObject * _resultobj;
4160 int _result;
4161 wxStyledTextCtrl * _arg0;
4162 PyObject * _argo0 = 0;
4163 char *_kwnames[] = { "self", NULL };
4164
4165 self = self;
4166 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetHighlightGuide",_kwnames,&_argo0))
4167 return NULL;
4168 if (_argo0) {
4169 if (_argo0 == Py_None) { _arg0 = NULL; }
4170 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
4171 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetHighlightGuide. Expected _wxStyledTextCtrl_p.");
4172 return NULL;
4173 }
4174 }
4175{
474c48f9 4176 PyThreadState* __tstate = wxPyBeginAllowThreads();
89c8ea73
RD
4177 _result = (int )wxStyledTextCtrl_GetHighlightGuide(_arg0);
4178
474c48f9
RD
4179 wxPyEndAllowThreads(__tstate);
4180 if (PyErr_Occurred()) return NULL;
89c8ea73
RD
4181} _resultobj = Py_BuildValue("i",_result);
4182 return _resultobj;
4183}
4184
4185#define wxStyledTextCtrl_GetLineEndPosition(_swigobj,_swigarg0) (_swigobj->GetLineEndPosition(_swigarg0))
4186static PyObject *_wrap_wxStyledTextCtrl_GetLineEndPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
4187 PyObject * _resultobj;
4188 int _result;
4189 wxStyledTextCtrl * _arg0;
4190 int _arg1;
4191 PyObject * _argo0 = 0;
4192 char *_kwnames[] = { "self","line", NULL };
4193
4194 self = self;
4195 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_GetLineEndPosition",_kwnames,&_argo0,&_arg1))
4196 return NULL;
4197 if (_argo0) {
4198 if (_argo0 == Py_None) { _arg0 = NULL; }
4199 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
4200 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetLineEndPosition. Expected _wxStyledTextCtrl_p.");
4201 return NULL;
4202 }
4203 }
4204{
474c48f9 4205 PyThreadState* __tstate = wxPyBeginAllowThreads();
89c8ea73
RD
4206 _result = (int )wxStyledTextCtrl_GetLineEndPosition(_arg0,_arg1);
4207
474c48f9
RD
4208 wxPyEndAllowThreads(__tstate);
4209 if (PyErr_Occurred()) return NULL;
89c8ea73
RD
4210} _resultobj = Py_BuildValue("i",_result);
4211 return _resultobj;
4212}
4213
4214#define wxStyledTextCtrl_GetCodePage(_swigobj) (_swigobj->GetCodePage())
4215static PyObject *_wrap_wxStyledTextCtrl_GetCodePage(PyObject *self, PyObject *args, PyObject *kwargs) {
4216 PyObject * _resultobj;
4217 int _result;
4218 wxStyledTextCtrl * _arg0;
4219 PyObject * _argo0 = 0;
4220 char *_kwnames[] = { "self", NULL };
4221
4222 self = self;
4223 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetCodePage",_kwnames,&_argo0))
4224 return NULL;
4225 if (_argo0) {
4226 if (_argo0 == Py_None) { _arg0 = NULL; }
4227 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
4228 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetCodePage. Expected _wxStyledTextCtrl_p.");
4229 return NULL;
4230 }
4231 }
4232{
474c48f9 4233 PyThreadState* __tstate = wxPyBeginAllowThreads();
89c8ea73
RD
4234 _result = (int )wxStyledTextCtrl_GetCodePage(_arg0);
4235
474c48f9
RD
4236 wxPyEndAllowThreads(__tstate);
4237 if (PyErr_Occurred()) return NULL;
89c8ea73
RD
4238} _resultobj = Py_BuildValue("i",_result);
4239 return _resultobj;
4240}
4241
4242#define wxStyledTextCtrl_GetCaretForeground(_swigobj) (_swigobj->GetCaretForeground())
4243static PyObject *_wrap_wxStyledTextCtrl_GetCaretForeground(PyObject *self, PyObject *args, PyObject *kwargs) {
4244 PyObject * _resultobj;
4245 wxColour * _result;
4246 wxStyledTextCtrl * _arg0;
4247 PyObject * _argo0 = 0;
4248 char *_kwnames[] = { "self", NULL };
4249 char _ptemp[128];
4250
4251 self = self;
4252 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetCaretForeground",_kwnames,&_argo0))
4253 return NULL;
4254 if (_argo0) {
4255 if (_argo0 == Py_None) { _arg0 = NULL; }
4256 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
4257 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetCaretForeground. Expected _wxStyledTextCtrl_p.");
4258 return NULL;
4259 }
4260 }
4261{
474c48f9 4262 PyThreadState* __tstate = wxPyBeginAllowThreads();
89c8ea73
RD
4263 _result = new wxColour (wxStyledTextCtrl_GetCaretForeground(_arg0));
4264
474c48f9
RD
4265 wxPyEndAllowThreads(__tstate);
4266 if (PyErr_Occurred()) return NULL;
89c8ea73
RD
4267} SWIG_MakePtr(_ptemp, (void *) _result,"_wxColour_p");
4268 _resultobj = Py_BuildValue("s",_ptemp);
4269 return _resultobj;
4270}
4271
4272#define wxStyledTextCtrl_GetReadOnly(_swigobj) (_swigobj->GetReadOnly())
4273static PyObject *_wrap_wxStyledTextCtrl_GetReadOnly(PyObject *self, PyObject *args, PyObject *kwargs) {
4274 PyObject * _resultobj;
4275 bool _result;
4276 wxStyledTextCtrl * _arg0;
4277 PyObject * _argo0 = 0;
4278 char *_kwnames[] = { "self", NULL };
4279
4280 self = self;
4281 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetReadOnly",_kwnames,&_argo0))
4282 return NULL;
4283 if (_argo0) {
4284 if (_argo0 == Py_None) { _arg0 = NULL; }
4285 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
4286 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetReadOnly. Expected _wxStyledTextCtrl_p.");
4287 return NULL;
4288 }
4289 }
4290{
474c48f9 4291 PyThreadState* __tstate = wxPyBeginAllowThreads();
89c8ea73
RD
4292 _result = (bool )wxStyledTextCtrl_GetReadOnly(_arg0);
4293
474c48f9
RD
4294 wxPyEndAllowThreads(__tstate);
4295 if (PyErr_Occurred()) return NULL;
89c8ea73
RD
4296} _resultobj = Py_BuildValue("i",_result);
4297 return _resultobj;
4298}
4299
4300#define wxStyledTextCtrl_SetCurrentPos(_swigobj,_swigarg0) (_swigobj->SetCurrentPos(_swigarg0))
4301static PyObject *_wrap_wxStyledTextCtrl_SetCurrentPos(PyObject *self, PyObject *args, PyObject *kwargs) {
4302 PyObject * _resultobj;
4303 wxStyledTextCtrl * _arg0;
4304 int _arg1;
4305 PyObject * _argo0 = 0;
4306 char *_kwnames[] = { "self","pos", NULL };
4307
4308 self = self;
4309 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_SetCurrentPos",_kwnames,&_argo0,&_arg1))
4310 return NULL;
4311 if (_argo0) {
4312 if (_argo0 == Py_None) { _arg0 = NULL; }
4313 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
4314 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetCurrentPos. Expected _wxStyledTextCtrl_p.");
4315 return NULL;
4316 }
4317 }
4318{
474c48f9 4319 PyThreadState* __tstate = wxPyBeginAllowThreads();
89c8ea73
RD
4320 wxStyledTextCtrl_SetCurrentPos(_arg0,_arg1);
4321
474c48f9
RD
4322 wxPyEndAllowThreads(__tstate);
4323 if (PyErr_Occurred()) return NULL;
89c8ea73
RD
4324} Py_INCREF(Py_None);
4325 _resultobj = Py_None;
4326 return _resultobj;
4327}
4328
4329#define wxStyledTextCtrl_SetSelectionStart(_swigobj,_swigarg0) (_swigobj->SetSelectionStart(_swigarg0))
4330static PyObject *_wrap_wxStyledTextCtrl_SetSelectionStart(PyObject *self, PyObject *args, PyObject *kwargs) {
4331 PyObject * _resultobj;
4332 wxStyledTextCtrl * _arg0;
4333 int _arg1;
4334 PyObject * _argo0 = 0;
4335 char *_kwnames[] = { "self","pos", NULL };
4336
4337 self = self;
4338 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_SetSelectionStart",_kwnames,&_argo0,&_arg1))
4339 return NULL;
4340 if (_argo0) {
4341 if (_argo0 == Py_None) { _arg0 = NULL; }
4342 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
4343 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetSelectionStart. Expected _wxStyledTextCtrl_p.");
4344 return NULL;
4345 }
4346 }
4347{
474c48f9 4348 PyThreadState* __tstate = wxPyBeginAllowThreads();
89c8ea73
RD
4349 wxStyledTextCtrl_SetSelectionStart(_arg0,_arg1);
4350
474c48f9
RD
4351 wxPyEndAllowThreads(__tstate);
4352 if (PyErr_Occurred()) return NULL;
89c8ea73
RD
4353} Py_INCREF(Py_None);
4354 _resultobj = Py_None;
4355 return _resultobj;
4356}
4357
4358#define wxStyledTextCtrl_GetSelectionStart(_swigobj) (_swigobj->GetSelectionStart())
4359static PyObject *_wrap_wxStyledTextCtrl_GetSelectionStart(PyObject *self, PyObject *args, PyObject *kwargs) {
4360 PyObject * _resultobj;
4361 int _result;
4362 wxStyledTextCtrl * _arg0;
4363 PyObject * _argo0 = 0;
4364 char *_kwnames[] = { "self", NULL };
4365
4366 self = self;
4367 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetSelectionStart",_kwnames,&_argo0))
4368 return NULL;
4369 if (_argo0) {
4370 if (_argo0 == Py_None) { _arg0 = NULL; }
4371 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
4372 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetSelectionStart. Expected _wxStyledTextCtrl_p.");
4373 return NULL;
4374 }
4375 }
4376{
474c48f9 4377 PyThreadState* __tstate = wxPyBeginAllowThreads();
89c8ea73
RD
4378 _result = (int )wxStyledTextCtrl_GetSelectionStart(_arg0);
4379
474c48f9
RD
4380 wxPyEndAllowThreads(__tstate);
4381 if (PyErr_Occurred()) return NULL;
89c8ea73
RD
4382} _resultobj = Py_BuildValue("i",_result);
4383 return _resultobj;
4384}
4385
4386#define wxStyledTextCtrl_SetSelectionEnd(_swigobj,_swigarg0) (_swigobj->SetSelectionEnd(_swigarg0))
4387static PyObject *_wrap_wxStyledTextCtrl_SetSelectionEnd(PyObject *self, PyObject *args, PyObject *kwargs) {
4388 PyObject * _resultobj;
4389 wxStyledTextCtrl * _arg0;
4390 int _arg1;
4391 PyObject * _argo0 = 0;
4392 char *_kwnames[] = { "self","pos", NULL };
4393
4394 self = self;
4395 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_SetSelectionEnd",_kwnames,&_argo0,&_arg1))
4396 return NULL;
4397 if (_argo0) {
4398 if (_argo0 == Py_None) { _arg0 = NULL; }
4399 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
4400 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetSelectionEnd. Expected _wxStyledTextCtrl_p.");
4401 return NULL;
4402 }
4403 }
4404{
474c48f9 4405 PyThreadState* __tstate = wxPyBeginAllowThreads();
89c8ea73
RD
4406 wxStyledTextCtrl_SetSelectionEnd(_arg0,_arg1);
4407
474c48f9
RD
4408 wxPyEndAllowThreads(__tstate);
4409 if (PyErr_Occurred()) return NULL;
89c8ea73
RD
4410} Py_INCREF(Py_None);
4411 _resultobj = Py_None;
4412 return _resultobj;
4413}
4414
4415#define wxStyledTextCtrl_GetSelectionEnd(_swigobj) (_swigobj->GetSelectionEnd())
4416static PyObject *_wrap_wxStyledTextCtrl_GetSelectionEnd(PyObject *self, PyObject *args, PyObject *kwargs) {
4417 PyObject * _resultobj;
4418 int _result;
4419 wxStyledTextCtrl * _arg0;
4420 PyObject * _argo0 = 0;
4421 char *_kwnames[] = { "self", NULL };
4422
4423 self = self;
4424 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetSelectionEnd",_kwnames,&_argo0))
4425 return NULL;
4426 if (_argo0) {
4427 if (_argo0 == Py_None) { _arg0 = NULL; }
4428 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
4429 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetSelectionEnd. Expected _wxStyledTextCtrl_p.");
4430 return NULL;
4431 }
4432 }
4433{
474c48f9 4434 PyThreadState* __tstate = wxPyBeginAllowThreads();
89c8ea73
RD
4435 _result = (int )wxStyledTextCtrl_GetSelectionEnd(_arg0);
4436
474c48f9
RD
4437 wxPyEndAllowThreads(__tstate);
4438 if (PyErr_Occurred()) return NULL;
89c8ea73
RD
4439} _resultobj = Py_BuildValue("i",_result);
4440 return _resultobj;
4441}
4442
4443#define wxStyledTextCtrl_SetPrintMagnification(_swigobj,_swigarg0) (_swigobj->SetPrintMagnification(_swigarg0))
4444static PyObject *_wrap_wxStyledTextCtrl_SetPrintMagnification(PyObject *self, PyObject *args, PyObject *kwargs) {
4445 PyObject * _resultobj;
4446 wxStyledTextCtrl * _arg0;
4447 int _arg1;
4448 PyObject * _argo0 = 0;
4449 char *_kwnames[] = { "self","magnification", NULL };
4450
4451 self = self;
4452 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_SetPrintMagnification",_kwnames,&_argo0,&_arg1))
4453 return NULL;
4454 if (_argo0) {
4455 if (_argo0 == Py_None) { _arg0 = NULL; }
4456 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
4457 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetPrintMagnification. Expected _wxStyledTextCtrl_p.");
4458 return NULL;
4459 }
4460 }
4461{
474c48f9 4462 PyThreadState* __tstate = wxPyBeginAllowThreads();
89c8ea73
RD
4463 wxStyledTextCtrl_SetPrintMagnification(_arg0,_arg1);
4464
474c48f9
RD
4465 wxPyEndAllowThreads(__tstate);
4466 if (PyErr_Occurred()) return NULL;
89c8ea73
RD
4467} Py_INCREF(Py_None);
4468 _resultobj = Py_None;
4469 return _resultobj;
4470}
4471
4472#define wxStyledTextCtrl_GetPrintMagnification(_swigobj) (_swigobj->GetPrintMagnification())
4473static PyObject *_wrap_wxStyledTextCtrl_GetPrintMagnification(PyObject *self, PyObject *args, PyObject *kwargs) {
4474 PyObject * _resultobj;
4475 int _result;
4476 wxStyledTextCtrl * _arg0;
4477 PyObject * _argo0 = 0;
4478 char *_kwnames[] = { "self", NULL };
4479
4480 self = self;
4481 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetPrintMagnification",_kwnames,&_argo0))
4482 return NULL;
4483 if (_argo0) {
4484 if (_argo0 == Py_None) { _arg0 = NULL; }
4485 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
4486 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetPrintMagnification. Expected _wxStyledTextCtrl_p.");
4487 return NULL;
4488 }
4489 }
4490{
474c48f9 4491 PyThreadState* __tstate = wxPyBeginAllowThreads();
89c8ea73
RD
4492 _result = (int )wxStyledTextCtrl_GetPrintMagnification(_arg0);
4493
474c48f9
RD
4494 wxPyEndAllowThreads(__tstate);
4495 if (PyErr_Occurred()) return NULL;
89c8ea73
RD
4496} _resultobj = Py_BuildValue("i",_result);
4497 return _resultobj;
4498}
4499
4500#define wxStyledTextCtrl_SetPrintColourMode(_swigobj,_swigarg0) (_swigobj->SetPrintColourMode(_swigarg0))
4501static PyObject *_wrap_wxStyledTextCtrl_SetPrintColourMode(PyObject *self, PyObject *args, PyObject *kwargs) {
4502 PyObject * _resultobj;
4503 wxStyledTextCtrl * _arg0;
4504 int _arg1;
4505 PyObject * _argo0 = 0;
4506 char *_kwnames[] = { "self","mode", NULL };
4507
4508 self = self;
4509 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_SetPrintColourMode",_kwnames,&_argo0,&_arg1))
4510 return NULL;
4511 if (_argo0) {
4512 if (_argo0 == Py_None) { _arg0 = NULL; }
4513 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
4514 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetPrintColourMode. Expected _wxStyledTextCtrl_p.");
4515 return NULL;
4516 }
4517 }
4518{
474c48f9 4519 PyThreadState* __tstate = wxPyBeginAllowThreads();
89c8ea73
RD
4520 wxStyledTextCtrl_SetPrintColourMode(_arg0,_arg1);
4521
474c48f9
RD
4522 wxPyEndAllowThreads(__tstate);
4523 if (PyErr_Occurred()) return NULL;
89c8ea73
RD
4524} Py_INCREF(Py_None);
4525 _resultobj = Py_None;
4526 return _resultobj;
4527}
4528
4529#define wxStyledTextCtrl_GetPrintColourMode(_swigobj) (_swigobj->GetPrintColourMode())
4530static PyObject *_wrap_wxStyledTextCtrl_GetPrintColourMode(PyObject *self, PyObject *args, PyObject *kwargs) {
4531 PyObject * _resultobj;
4532 int _result;
4533 wxStyledTextCtrl * _arg0;
4534 PyObject * _argo0 = 0;
4535 char *_kwnames[] = { "self", NULL };
4536
4537 self = self;
4538 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetPrintColourMode",_kwnames,&_argo0))
4539 return NULL;
4540 if (_argo0) {
4541 if (_argo0 == Py_None) { _arg0 = NULL; }
4542 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
4543 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetPrintColourMode. Expected _wxStyledTextCtrl_p.");
4544 return NULL;
4545 }
4546 }
4547{
474c48f9 4548 PyThreadState* __tstate = wxPyBeginAllowThreads();
89c8ea73
RD
4549 _result = (int )wxStyledTextCtrl_GetPrintColourMode(_arg0);
4550
474c48f9
RD
4551 wxPyEndAllowThreads(__tstate);
4552 if (PyErr_Occurred()) return NULL;
89c8ea73
RD
4553} _resultobj = Py_BuildValue("i",_result);
4554 return _resultobj;
4555}
4556
4557#define wxStyledTextCtrl_FindText(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->FindText(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
4558static PyObject *_wrap_wxStyledTextCtrl_FindText(PyObject *self, PyObject *args, PyObject *kwargs) {
4559 PyObject * _resultobj;
4560 int _result;
4561 wxStyledTextCtrl * _arg0;
4562 int _arg1;
4563 int _arg2;
4564 wxString * _arg3;
4565 bool _arg4;
4566 bool _arg5;
4567 PyObject * _argo0 = 0;
4568 PyObject * _obj3 = 0;
4569 int tempbool4;
4570 int tempbool5;
4571 char *_kwnames[] = { "self","minPos","maxPos","text","caseSensitive","wholeWord", NULL };
4572
4573 self = self;
4574 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiiOii:wxStyledTextCtrl_FindText",_kwnames,&_argo0,&_arg1,&_arg2,&_obj3,&tempbool4,&tempbool5))
4575 return NULL;
4576 if (_argo0) {
4577 if (_argo0 == Py_None) { _arg0 = NULL; }
4578 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
4579 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_FindText. Expected _wxStyledTextCtrl_p.");
4580 return NULL;
4581 }
4582 }
4583{
4584#if PYTHON_API_VERSION >= 1009
4585 char* tmpPtr; int tmpSize;
4586 if (!PyString_Check(_obj3) && !PyUnicode_Check(_obj3)) {
4587 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
4588 return NULL;
4589 }
4590 if (PyString_AsStringAndSize(_obj3, &tmpPtr, &tmpSize) == -1)
4591 return NULL;
4592 _arg3 = new wxString(tmpPtr, tmpSize);
4593#else
4594 if (!PyString_Check(_obj3)) {
4595 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
4596 return NULL;
4597 }
4598 _arg3 = new wxString(PyString_AS_STRING(_obj3), PyString_GET_SIZE(_obj3));
4599#endif
4600}
4601 _arg4 = (bool ) tempbool4;
4602 _arg5 = (bool ) tempbool5;
4603{
474c48f9 4604 PyThreadState* __tstate = wxPyBeginAllowThreads();
89c8ea73
RD
4605 _result = (int )wxStyledTextCtrl_FindText(_arg0,_arg1,_arg2,*_arg3,_arg4,_arg5);
4606
474c48f9
RD
4607 wxPyEndAllowThreads(__tstate);
4608 if (PyErr_Occurred()) return NULL;
89c8ea73
RD
4609} _resultobj = Py_BuildValue("i",_result);
4610{
4611 if (_obj3)
4612 delete _arg3;
4613}
4614 return _resultobj;
4615}
4616
4617#define wxStyledTextCtrl_FormatRange(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (_swigobj->FormatRange(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
4618static PyObject *_wrap_wxStyledTextCtrl_FormatRange(PyObject *self, PyObject *args, PyObject *kwargs) {
4619 PyObject * _resultobj;
4620 int _result;
4621 wxStyledTextCtrl * _arg0;
4622 bool _arg1;
4623 int _arg2;
4624 int _arg3;
4625 wxDC * _arg4;
4626 wxDC * _arg5;
4627 wxRect * _arg6;
4628 wxRect * _arg7;
4629 PyObject * _argo0 = 0;
4630 int tempbool1;
4631 PyObject * _argo4 = 0;
4632 PyObject * _argo5 = 0;
4633 wxRect temp;
4634 PyObject * _obj6 = 0;
4635 wxRect temp0;
4636 PyObject * _obj7 = 0;
4637 char *_kwnames[] = { "self","doDraw","startPos","endPos","draw","target","renderRect","pageRect", NULL };
4638
4639 self = self;
4640 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiiiOOOO:wxStyledTextCtrl_FormatRange",_kwnames,&_argo0,&tempbool1,&_arg2,&_arg3,&_argo4,&_argo5,&_obj6,&_obj7))
4641 return NULL;
4642 if (_argo0) {
4643 if (_argo0 == Py_None) { _arg0 = NULL; }
4644 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
4645 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_FormatRange. Expected _wxStyledTextCtrl_p.");
4646 return NULL;
4647 }
4648 }
4649 _arg1 = (bool ) tempbool1;
4650 if (_argo4) {
4651 if (_argo4 == Py_None) { _arg4 = NULL; }
4652 else if (SWIG_GetPtrObj(_argo4,(void **) &_arg4,"_wxDC_p")) {
4653 PyErr_SetString(PyExc_TypeError,"Type error in argument 5 of wxStyledTextCtrl_FormatRange. Expected _wxDC_p.");
4654 return NULL;
4655 }
4656 }
4657 if (_argo5) {
4658 if (_argo5 == Py_None) { _arg5 = NULL; }
4659 else if (SWIG_GetPtrObj(_argo5,(void **) &_arg5,"_wxDC_p")) {
4660 PyErr_SetString(PyExc_TypeError,"Type error in argument 6 of wxStyledTextCtrl_FormatRange. Expected _wxDC_p.");
4661 return NULL;
4662 }
4663 }
4664{
4665 _arg6 = &temp;
4666 if (! wxRect_helper(_obj6, &_arg6))
4667 return NULL;
4668}
4669{
4670 _arg7 = &temp0;
4671 if (! wxRect_helper(_obj7, &_arg7))
4672 return NULL;
4673}
4674{
474c48f9 4675 PyThreadState* __tstate = wxPyBeginAllowThreads();
89c8ea73
RD
4676 _result = (int )wxStyledTextCtrl_FormatRange(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5,*_arg6,*_arg7);
4677
474c48f9
RD
4678 wxPyEndAllowThreads(__tstate);
4679 if (PyErr_Occurred()) return NULL;
89c8ea73
RD
4680} _resultobj = Py_BuildValue("i",_result);
4681 return _resultobj;
4682}
4683
4684#define wxStyledTextCtrl_GetFirstVisibleLine(_swigobj) (_swigobj->GetFirstVisibleLine())
4685static PyObject *_wrap_wxStyledTextCtrl_GetFirstVisibleLine(PyObject *self, PyObject *args, PyObject *kwargs) {
4686 PyObject * _resultobj;
4687 int _result;
4688 wxStyledTextCtrl * _arg0;
4689 PyObject * _argo0 = 0;
4690 char *_kwnames[] = { "self", NULL };
4691
4692 self = self;
4693 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetFirstVisibleLine",_kwnames,&_argo0))
4694 return NULL;
4695 if (_argo0) {
4696 if (_argo0 == Py_None) { _arg0 = NULL; }
4697 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
4698 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetFirstVisibleLine. Expected _wxStyledTextCtrl_p.");
4699 return NULL;
4700 }
4701 }
4702{
474c48f9 4703 PyThreadState* __tstate = wxPyBeginAllowThreads();
89c8ea73
RD
4704 _result = (int )wxStyledTextCtrl_GetFirstVisibleLine(_arg0);
4705
474c48f9
RD
4706 wxPyEndAllowThreads(__tstate);
4707 if (PyErr_Occurred()) return NULL;
89c8ea73
RD
4708} _resultobj = Py_BuildValue("i",_result);
4709 return _resultobj;
4710}
4711
4712#define wxStyledTextCtrl_GetLine(_swigobj,_swigarg0) (_swigobj->GetLine(_swigarg0))
4713static PyObject *_wrap_wxStyledTextCtrl_GetLine(PyObject *self, PyObject *args, PyObject *kwargs) {
4714 PyObject * _resultobj;
4715 wxString * _result;
4716 wxStyledTextCtrl * _arg0;
4717 int _arg1;
4718 PyObject * _argo0 = 0;
4719 char *_kwnames[] = { "self","line", NULL };
4720
4721 self = self;
4722 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_GetLine",_kwnames,&_argo0,&_arg1))
4723 return NULL;
4724 if (_argo0) {
4725 if (_argo0 == Py_None) { _arg0 = NULL; }
4726 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
4727 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetLine. Expected _wxStyledTextCtrl_p.");
4728 return NULL;
4729 }
4730 }
4731{
474c48f9 4732 PyThreadState* __tstate = wxPyBeginAllowThreads();
89c8ea73
RD
4733 _result = new wxString (wxStyledTextCtrl_GetLine(_arg0,_arg1));
4734
474c48f9
RD
4735 wxPyEndAllowThreads(__tstate);
4736 if (PyErr_Occurred()) return NULL;
89c8ea73
RD
4737}{
4738 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
4739}
4740{
4741 delete _result;
4742}
4743 return _resultobj;
4744}
4745
4746#define wxStyledTextCtrl_GetLineCount(_swigobj) (_swigobj->GetLineCount())
4747static PyObject *_wrap_wxStyledTextCtrl_GetLineCount(PyObject *self, PyObject *args, PyObject *kwargs) {
4748 PyObject * _resultobj;
4749 int _result;
4750 wxStyledTextCtrl * _arg0;
4751 PyObject * _argo0 = 0;
4752 char *_kwnames[] = { "self", NULL };
4753
4754 self = self;
4755 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetLineCount",_kwnames,&_argo0))
4756 return NULL;
4757 if (_argo0) {
4758 if (_argo0 == Py_None) { _arg0 = NULL; }
4759 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
4760 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetLineCount. Expected _wxStyledTextCtrl_p.");
4761 return NULL;
4762 }
4763 }
4764{
474c48f9 4765 PyThreadState* __tstate = wxPyBeginAllowThreads();
89c8ea73
RD
4766 _result = (int )wxStyledTextCtrl_GetLineCount(_arg0);
4767
474c48f9
RD
4768 wxPyEndAllowThreads(__tstate);
4769 if (PyErr_Occurred()) return NULL;
89c8ea73
RD
4770} _resultobj = Py_BuildValue("i",_result);
4771 return _resultobj;
4772}
4773
4774#define wxStyledTextCtrl_SetMarginLeft(_swigobj,_swigarg0) (_swigobj->SetMarginLeft(_swigarg0))
4775static PyObject *_wrap_wxStyledTextCtrl_SetMarginLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
4776 PyObject * _resultobj;
4777 wxStyledTextCtrl * _arg0;
4778 int _arg1;
4779 PyObject * _argo0 = 0;
4780 char *_kwnames[] = { "self","pixelWidth", NULL };
4781
4782 self = self;
4783 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_SetMarginLeft",_kwnames,&_argo0,&_arg1))
4784 return NULL;
4785 if (_argo0) {
4786 if (_argo0 == Py_None) { _arg0 = NULL; }
4787 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
4788 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetMarginLeft. Expected _wxStyledTextCtrl_p.");
4789 return NULL;
4790 }
4791 }
4792{
474c48f9 4793 PyThreadState* __tstate = wxPyBeginAllowThreads();
89c8ea73
RD
4794 wxStyledTextCtrl_SetMarginLeft(_arg0,_arg1);
4795
474c48f9
RD
4796 wxPyEndAllowThreads(__tstate);
4797 if (PyErr_Occurred()) return NULL;
89c8ea73
RD
4798} Py_INCREF(Py_None);
4799 _resultobj = Py_None;
4800 return _resultobj;
4801}
4802
4803#define wxStyledTextCtrl_GetMarginLeft(_swigobj) (_swigobj->GetMarginLeft())
4804static PyObject *_wrap_wxStyledTextCtrl_GetMarginLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
4805 PyObject * _resultobj;
4806 int _result;
4807 wxStyledTextCtrl * _arg0;
4808 PyObject * _argo0 = 0;
4809 char *_kwnames[] = { "self", NULL };
4810
4811 self = self;
4812 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetMarginLeft",_kwnames,&_argo0))
4813 return NULL;
4814 if (_argo0) {
4815 if (_argo0 == Py_None) { _arg0 = NULL; }
4816 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
4817 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetMarginLeft. Expected _wxStyledTextCtrl_p.");
4818 return NULL;
4819 }
4820 }
4821{
474c48f9 4822 PyThreadState* __tstate = wxPyBeginAllowThreads();
89c8ea73
RD
4823 _result = (int )wxStyledTextCtrl_GetMarginLeft(_arg0);
4824
474c48f9
RD
4825 wxPyEndAllowThreads(__tstate);
4826 if (PyErr_Occurred()) return NULL;
89c8ea73
RD
4827} _resultobj = Py_BuildValue("i",_result);
4828 return _resultobj;
4829}
4830
4831#define wxStyledTextCtrl_SetMarginRight(_swigobj,_swigarg0) (_swigobj->SetMarginRight(_swigarg0))
4832static PyObject *_wrap_wxStyledTextCtrl_SetMarginRight(PyObject *self, PyObject *args, PyObject *kwargs) {
4833 PyObject * _resultobj;
4834 wxStyledTextCtrl * _arg0;
4835 int _arg1;
4836 PyObject * _argo0 = 0;
4837 char *_kwnames[] = { "self","pixelWidth", NULL };
4838
4839 self = self;
4840 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_SetMarginRight",_kwnames,&_argo0,&_arg1))
4841 return NULL;
4842 if (_argo0) {
4843 if (_argo0 == Py_None) { _arg0 = NULL; }
4844 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
4845 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetMarginRight. Expected _wxStyledTextCtrl_p.");
4846 return NULL;
4847 }
4848 }
4849{
474c48f9 4850 PyThreadState* __tstate = wxPyBeginAllowThreads();
89c8ea73
RD
4851 wxStyledTextCtrl_SetMarginRight(_arg0,_arg1);
4852
474c48f9
RD
4853 wxPyEndAllowThreads(__tstate);
4854 if (PyErr_Occurred()) return NULL;
89c8ea73
RD
4855} Py_INCREF(Py_None);
4856 _resultobj = Py_None;
4857 return _resultobj;
4858}
4859
4860#define wxStyledTextCtrl_GetMarginRight(_swigobj) (_swigobj->GetMarginRight())
4861static PyObject *_wrap_wxStyledTextCtrl_GetMarginRight(PyObject *self, PyObject *args, PyObject *kwargs) {
4862 PyObject * _resultobj;
4863 int _result;
4864 wxStyledTextCtrl * _arg0;
4865 PyObject * _argo0 = 0;
4866 char *_kwnames[] = { "self", NULL };
4867
4868 self = self;
4869 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetMarginRight",_kwnames,&_argo0))
4870 return NULL;
4871 if (_argo0) {
4872 if (_argo0 == Py_None) { _arg0 = NULL; }
4873 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
4874 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetMarginRight. Expected _wxStyledTextCtrl_p.");
4875 return NULL;
4876 }
4877 }
4878{
474c48f9 4879 PyThreadState* __tstate = wxPyBeginAllowThreads();
89c8ea73
RD
4880 _result = (int )wxStyledTextCtrl_GetMarginRight(_arg0);
4881
474c48f9
RD
4882 wxPyEndAllowThreads(__tstate);
4883 if (PyErr_Occurred()) return NULL;
89c8ea73
RD
4884} _resultobj = Py_BuildValue("i",_result);
4885 return _resultobj;
4886}
4887
4888#define wxStyledTextCtrl_GetModify(_swigobj) (_swigobj->GetModify())
4889static PyObject *_wrap_wxStyledTextCtrl_GetModify(PyObject *self, PyObject *args, PyObject *kwargs) {
4890 PyObject * _resultobj;
4891 bool _result;
4892 wxStyledTextCtrl * _arg0;
4893 PyObject * _argo0 = 0;
4894 char *_kwnames[] = { "self", NULL };
4895
4896 self = self;
4897 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetModify",_kwnames,&_argo0))
4898 return NULL;
4899 if (_argo0) {
4900 if (_argo0 == Py_None) { _arg0 = NULL; }
4901 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
4902 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetModify. Expected _wxStyledTextCtrl_p.");
4903 return NULL;
4904 }
4905 }
4906{
474c48f9 4907 PyThreadState* __tstate = wxPyBeginAllowThreads();
89c8ea73
RD
4908 _result = (bool )wxStyledTextCtrl_GetModify(_arg0);
4909
474c48f9
RD
4910 wxPyEndAllowThreads(__tstate);
4911 if (PyErr_Occurred()) return NULL;
89c8ea73
RD
4912} _resultobj = Py_BuildValue("i",_result);
4913 return _resultobj;
4914}
4915
4916#define wxStyledTextCtrl_SetSelection(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetSelection(_swigarg0,_swigarg1))
4917static PyObject *_wrap_wxStyledTextCtrl_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
4918 PyObject * _resultobj;
4919 wxStyledTextCtrl * _arg0;
4920 int _arg1;
4921 int _arg2;
4922 PyObject * _argo0 = 0;
4923 char *_kwnames[] = { "self","start","end", NULL };
4924
4925 self = self;
4926 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxStyledTextCtrl_SetSelection",_kwnames,&_argo0,&_arg1,&_arg2))
4927 return NULL;
4928 if (_argo0) {
4929 if (_argo0 == Py_None) { _arg0 = NULL; }
4930 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
4931 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetSelection. Expected _wxStyledTextCtrl_p.");
4932 return NULL;
4933 }
4934 }
4935{
474c48f9 4936 PyThreadState* __tstate = wxPyBeginAllowThreads();
89c8ea73
RD
4937 wxStyledTextCtrl_SetSelection(_arg0,_arg1,_arg2);
4938
474c48f9
RD
4939 wxPyEndAllowThreads(__tstate);
4940 if (PyErr_Occurred()) return NULL;
89c8ea73
RD
4941} Py_INCREF(Py_None);
4942 _resultobj = Py_None;
4943 return _resultobj;
4944}
4945
4946#define wxStyledTextCtrl_GetSelectedText(_swigobj) (_swigobj->GetSelectedText())
4947static PyObject *_wrap_wxStyledTextCtrl_GetSelectedText(PyObject *self, PyObject *args, PyObject *kwargs) {
4948 PyObject * _resultobj;
4949 wxString * _result;
4950 wxStyledTextCtrl * _arg0;
4951 PyObject * _argo0 = 0;
4952 char *_kwnames[] = { "self", NULL };
4953
4954 self = self;
4955 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetSelectedText",_kwnames,&_argo0))
4956 return NULL;
4957 if (_argo0) {
4958 if (_argo0 == Py_None) { _arg0 = NULL; }
4959 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
4960 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetSelectedText. Expected _wxStyledTextCtrl_p.");
4961 return NULL;
4962 }
4963 }
4964{
474c48f9 4965 PyThreadState* __tstate = wxPyBeginAllowThreads();
89c8ea73
RD
4966 _result = new wxString (wxStyledTextCtrl_GetSelectedText(_arg0));
4967
474c48f9
RD
4968 wxPyEndAllowThreads(__tstate);
4969 if (PyErr_Occurred()) return NULL;
89c8ea73
RD
4970}{
4971 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
4972}
4973{
4974 delete _result;
4975}
4976 return _resultobj;
4977}
4978
4979#define wxStyledTextCtrl_GetTextRange(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetTextRange(_swigarg0,_swigarg1))
4980static PyObject *_wrap_wxStyledTextCtrl_GetTextRange(PyObject *self, PyObject *args, PyObject *kwargs) {
4981 PyObject * _resultobj;
4982 wxString * _result;
4983 wxStyledTextCtrl * _arg0;
4984 int _arg1;
4985 int _arg2;
4986 PyObject * _argo0 = 0;
4987 char *_kwnames[] = { "self","startPos","endPos", NULL };
4988
4989 self = self;
4990 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxStyledTextCtrl_GetTextRange",_kwnames,&_argo0,&_arg1,&_arg2))
4991 return NULL;
4992 if (_argo0) {
4993 if (_argo0 == Py_None) { _arg0 = NULL; }
4994 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
4995 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetTextRange. Expected _wxStyledTextCtrl_p.");
4996 return NULL;
4997 }
4998 }
4999{
474c48f9 5000 PyThreadState* __tstate = wxPyBeginAllowThreads();
89c8ea73
RD
5001 _result = new wxString (wxStyledTextCtrl_GetTextRange(_arg0,_arg1,_arg2));
5002
474c48f9
RD
5003 wxPyEndAllowThreads(__tstate);
5004 if (PyErr_Occurred()) return NULL;
89c8ea73
RD
5005}{
5006 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
5007}
5008{
5009 delete _result;
5010}
5011 return _resultobj;
5012}
5013
5014#define wxStyledTextCtrl_HideSelection(_swigobj,_swigarg0) (_swigobj->HideSelection(_swigarg0))
5015static PyObject *_wrap_wxStyledTextCtrl_HideSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
5016 PyObject * _resultobj;
5017 wxStyledTextCtrl * _arg0;
5018 bool _arg1;
5019 PyObject * _argo0 = 0;
5020 int tempbool1;
5021 char *_kwnames[] = { "self","normal", NULL };
5022
5023 self = self;
5024 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_HideSelection",_kwnames,&_argo0,&tempbool1))
5025 return NULL;
5026 if (_argo0) {
5027 if (_argo0 == Py_None) { _arg0 = NULL; }
5028 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
5029 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_HideSelection. Expected _wxStyledTextCtrl_p.");
5030 return NULL;
5031 }
5032 }
5033 _arg1 = (bool ) tempbool1;
5034{
474c48f9 5035 PyThreadState* __tstate = wxPyBeginAllowThreads();
89c8ea73
RD
5036 wxStyledTextCtrl_HideSelection(_arg0,_arg1);
5037
474c48f9
RD
5038 wxPyEndAllowThreads(__tstate);
5039 if (PyErr_Occurred()) return NULL;
89c8ea73
RD
5040} Py_INCREF(Py_None);
5041 _resultobj = Py_None;
5042 return _resultobj;
5043}
5044
5045#define wxStyledTextCtrl_LineFromPosition(_swigobj,_swigarg0) (_swigobj->LineFromPosition(_swigarg0))
5046static PyObject *_wrap_wxStyledTextCtrl_LineFromPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
5047 PyObject * _resultobj;
5048 int _result;
5049 wxStyledTextCtrl * _arg0;
5050 int _arg1;
5051 PyObject * _argo0 = 0;
5052 char *_kwnames[] = { "self","pos", NULL };
5053
5054 self = self;
5055 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_LineFromPosition",_kwnames,&_argo0,&_arg1))
5056 return NULL;
5057 if (_argo0) {
5058 if (_argo0 == Py_None) { _arg0 = NULL; }
5059 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
5060 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_LineFromPosition. Expected _wxStyledTextCtrl_p.");
5061 return NULL;
5062 }
5063 }
5064{
474c48f9 5065 PyThreadState* __tstate = wxPyBeginAllowThreads();
89c8ea73
RD
5066 _result = (int )wxStyledTextCtrl_LineFromPosition(_arg0,_arg1);
5067
474c48f9
RD
5068 wxPyEndAllowThreads(__tstate);
5069 if (PyErr_Occurred()) return NULL;
89c8ea73
RD
5070} _resultobj = Py_BuildValue("i",_result);
5071 return _resultobj;
5072}
5073
5074#define wxStyledTextCtrl_PositionFromLine(_swigobj,_swigarg0) (_swigobj->PositionFromLine(_swigarg0))
5075static PyObject *_wrap_wxStyledTextCtrl_PositionFromLine(PyObject *self, PyObject *args, PyObject *kwargs) {
5076 PyObject * _resultobj;
5077 int _result;
5078 wxStyledTextCtrl * _arg0;
5079 int _arg1;
5080 PyObject * _argo0 = 0;
5081 char *_kwnames[] = { "self","line", NULL };
5082
5083 self = self;
5084 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_PositionFromLine",_kwnames,&_argo0,&_arg1))
5085 return NULL;
5086 if (_argo0) {
5087 if (_argo0 == Py_None) { _arg0 = NULL; }
5088 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
5089 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_PositionFromLine. Expected _wxStyledTextCtrl_p.");
5090 return NULL;
5091 }
5092 }
5093{
474c48f9 5094 PyThreadState* __tstate = wxPyBeginAllowThreads();
89c8ea73
RD
5095 _result = (int )wxStyledTextCtrl_PositionFromLine(_arg0,_arg1);
5096
474c48f9
RD
5097 wxPyEndAllowThreads(__tstate);
5098 if (PyErr_Occurred()) return NULL;
89c8ea73
RD
5099} _resultobj = Py_BuildValue("i",_result);
5100 return _resultobj;
5101}
5102
5103#define wxStyledTextCtrl_LineScroll(_swigobj,_swigarg0,_swigarg1) (_swigobj->LineScroll(_swigarg0,_swigarg1))
5104static PyObject *_wrap_wxStyledTextCtrl_LineScroll(PyObject *self, PyObject *args, PyObject *kwargs) {
5105 PyObject * _resultobj;
5106 wxStyledTextCtrl * _arg0;
5107 int _arg1;
5108 int _arg2;
5109 PyObject * _argo0 = 0;
5110 char *_kwnames[] = { "self","columns","lines", NULL };
5111
5112 self = self;
5113 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxStyledTextCtrl_LineScroll",_kwnames,&_argo0,&_arg1,&_arg2))
5114 return NULL;
5115 if (_argo0) {
5116 if (_argo0 == Py_None) { _arg0 = NULL; }
5117 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
5118 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_LineScroll. Expected _wxStyledTextCtrl_p.");
5119 return NULL;
5120 }
5121 }
5122{
474c48f9 5123 PyThreadState* __tstate = wxPyBeginAllowThreads();
89c8ea73
RD
5124 wxStyledTextCtrl_LineScroll(_arg0,_arg1,_arg2);
5125
474c48f9
RD
5126 wxPyEndAllowThreads(__tstate);
5127 if (PyErr_Occurred()) return NULL;
89c8ea73
RD
5128} Py_INCREF(Py_None);
5129 _resultobj = Py_None;
5130 return _resultobj;
5131}
5132
5133#define wxStyledTextCtrl_EnsureCaretVisible(_swigobj) (_swigobj->EnsureCaretVisible())
5134static PyObject *_wrap_wxStyledTextCtrl_EnsureCaretVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
5135 PyObject * _resultobj;
5136 wxStyledTextCtrl * _arg0;
5137 PyObject * _argo0 = 0;
5138 char *_kwnames[] = { "self", NULL };
5139
5140 self = self;
5141 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_EnsureCaretVisible",_kwnames,&_argo0))
5142 return NULL;
5143 if (_argo0) {
5144 if (_argo0 == Py_None) { _arg0 = NULL; }
5145 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
5146 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_EnsureCaretVisible. Expected _wxStyledTextCtrl_p.");
5147 return NULL;
5148 }
5149 }
5150{
474c48f9 5151 PyThreadState* __tstate = wxPyBeginAllowThreads();
89c8ea73
RD
5152 wxStyledTextCtrl_EnsureCaretVisible(_arg0);
5153
474c48f9
RD
5154 wxPyEndAllowThreads(__tstate);
5155 if (PyErr_Occurred()) return NULL;
89c8ea73
RD
5156} Py_INCREF(Py_None);
5157 _resultobj = Py_None;
5158 return _resultobj;
5159}
5160
5161#define wxStyledTextCtrl_ReplaceSelection(_swigobj,_swigarg0) (_swigobj->ReplaceSelection(_swigarg0))
5162static PyObject *_wrap_wxStyledTextCtrl_ReplaceSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
5163 PyObject * _resultobj;
5164 wxStyledTextCtrl * _arg0;
5165 wxString * _arg1;
5166 PyObject * _argo0 = 0;
5167 PyObject * _obj1 = 0;
5168 char *_kwnames[] = { "self","text", NULL };
5169
5170 self = self;
5171 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxStyledTextCtrl_ReplaceSelection",_kwnames,&_argo0,&_obj1))
5172 return NULL;
5173 if (_argo0) {
5174 if (_argo0 == Py_None) { _arg0 = NULL; }
5175 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
5176 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_ReplaceSelection. Expected _wxStyledTextCtrl_p.");
5177 return NULL;
5178 }
5179 }
5180{
5181#if PYTHON_API_VERSION >= 1009
5182 char* tmpPtr; int tmpSize;
5183 if (!PyString_Check(_obj1) && !PyUnicode_Check(_obj1)) {
5184 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
5185 return NULL;
5186 }
5187 if (PyString_AsStringAndSize(_obj1, &tmpPtr, &tmpSize) == -1)
5188 return NULL;
5189 _arg1 = new wxString(tmpPtr, tmpSize);
5190#else
5191 if (!PyString_Check(_obj1)) {
5192 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
5193 return NULL;
5194 }
5195 _arg1 = new wxString(PyString_AS_STRING(_obj1), PyString_GET_SIZE(_obj1));
5196#endif
5197}
5198{
474c48f9 5199 PyThreadState* __tstate = wxPyBeginAllowThreads();
89c8ea73
RD
5200 wxStyledTextCtrl_ReplaceSelection(_arg0,*_arg1);
5201
474c48f9
RD
5202 wxPyEndAllowThreads(__tstate);
5203 if (PyErr_Occurred()) return NULL;
89c8ea73
RD
5204} Py_INCREF(Py_None);
5205 _resultobj = Py_None;
5206{
5207 if (_obj1)
5208 delete _arg1;
5209}
5210 return _resultobj;
5211}
5212
5213#define wxStyledTextCtrl_SetReadOnly(_swigobj,_swigarg0) (_swigobj->SetReadOnly(_swigarg0))
5214static PyObject *_wrap_wxStyledTextCtrl_SetReadOnly(PyObject *self, PyObject *args, PyObject *kwargs) {
5215 PyObject * _resultobj;
5216 wxStyledTextCtrl * _arg0;
5217 bool _arg1;
5218 PyObject * _argo0 = 0;
5219 int tempbool1;
5220 char *_kwnames[] = { "self","readOnly", NULL };
5221
5222 self = self;
5223 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_SetReadOnly",_kwnames,&_argo0,&tempbool1))
5224 return NULL;
5225 if (_argo0) {
5226 if (_argo0 == Py_None) { _arg0 = NULL; }
5227 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
5228 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetReadOnly. Expected _wxStyledTextCtrl_p.");
5229 return NULL;
5230 }
5231 }
5232 _arg1 = (bool ) tempbool1;
5233{
474c48f9 5234 PyThreadState* __tstate = wxPyBeginAllowThreads();
89c8ea73
RD
5235 wxStyledTextCtrl_SetReadOnly(_arg0,_arg1);
5236
474c48f9
RD
5237 wxPyEndAllowThreads(__tstate);
5238 if (PyErr_Occurred()) return NULL;
89c8ea73
RD
5239} Py_INCREF(Py_None);
5240 _resultobj = Py_None;
5241 return _resultobj;
5242}
5243
5244#define wxStyledTextCtrl_CanPaste(_swigobj) (_swigobj->CanPaste())
5245static PyObject *_wrap_wxStyledTextCtrl_CanPaste(PyObject *self, PyObject *args, PyObject *kwargs) {
5246 PyObject * _resultobj;
5247 bool _result;
5248 wxStyledTextCtrl * _arg0;
5249 PyObject * _argo0 = 0;
5250 char *_kwnames[] = { "self", NULL };
5251
5252 self = self;
5253 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_CanPaste",_kwnames,&_argo0))
5254 return NULL;
5255 if (_argo0) {
5256 if (_argo0 == Py_None) { _arg0 = NULL; }
5257 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
5258 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_CanPaste. Expected _wxStyledTextCtrl_p.");
5259 return NULL;
5260 }
5261 }
5262{
474c48f9 5263 PyThreadState* __tstate = wxPyBeginAllowThreads();
89c8ea73
RD
5264 _result = (bool )wxStyledTextCtrl_CanPaste(_arg0);
5265
474c48f9
RD
5266 wxPyEndAllowThreads(__tstate);
5267 if (PyErr_Occurred()) return NULL;
89c8ea73
RD
5268} _resultobj = Py_BuildValue("i",_result);
5269 return _resultobj;
5270}
5271
5272#define wxStyledTextCtrl_CanUndo(_swigobj) (_swigobj->CanUndo())
5273static PyObject *_wrap_wxStyledTextCtrl_CanUndo(PyObject *self, PyObject *args, PyObject *kwargs) {
5274 PyObject * _resultobj;
5275 bool _result;
5276 wxStyledTextCtrl * _arg0;
5277 PyObject * _argo0 = 0;
5278 char *_kwnames[] = { "self", NULL };
5279
5280 self = self;
5281 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_CanUndo",_kwnames,&_argo0))
5282 return NULL;
5283 if (_argo0) {
5284 if (_argo0 == Py_None) { _arg0 = NULL; }
5285 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
5286 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_CanUndo. Expected _wxStyledTextCtrl_p.");
5287 return NULL;
5288 }
5289 }
5290{
474c48f9 5291 PyThreadState* __tstate = wxPyBeginAllowThreads();
89c8ea73
RD
5292 _result = (bool )wxStyledTextCtrl_CanUndo(_arg0);
5293
474c48f9
RD
5294 wxPyEndAllowThreads(__tstate);
5295 if (PyErr_Occurred()) return NULL;
89c8ea73
RD
5296} _resultobj = Py_BuildValue("i",_result);
5297 return _resultobj;
5298}
5299
5300#define wxStyledTextCtrl_EmptyUndoBuffer(_swigobj) (_swigobj->EmptyUndoBuffer())
5301static PyObject *_wrap_wxStyledTextCtrl_EmptyUndoBuffer(PyObject *self, PyObject *args, PyObject *kwargs) {
5302 PyObject * _resultobj;
5303 wxStyledTextCtrl * _arg0;
5304 PyObject * _argo0 = 0;
5305 char *_kwnames[] = { "self", NULL };
5306
5307 self = self;
5308 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_EmptyUndoBuffer",_kwnames,&_argo0))
5309 return NULL;
5310 if (_argo0) {
5311 if (_argo0 == Py_None) { _arg0 = NULL; }
5312 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
5313 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_EmptyUndoBuffer. Expected _wxStyledTextCtrl_p.");
5314 return NULL;
5315 }
5316 }
5317{
474c48f9 5318 PyThreadState* __tstate = wxPyBeginAllowThreads();
89c8ea73
RD
5319 wxStyledTextCtrl_EmptyUndoBuffer(_arg0);
5320
474c48f9
RD
5321 wxPyEndAllowThreads(__tstate);
5322 if (PyErr_Occurred()) return NULL;
89c8ea73
RD
5323} Py_INCREF(Py_None);
5324 _resultobj = Py_None;
5325 return _resultobj;
5326}
5327
5328#define wxStyledTextCtrl_Undo(_swigobj) (_swigobj->Undo())
5329static PyObject *_wrap_wxStyledTextCtrl_Undo(PyObject *self, PyObject *args, PyObject *kwargs) {
5330 PyObject * _resultobj;
5331 wxStyledTextCtrl * _arg0;
5332 PyObject * _argo0 = 0;
5333 char *_kwnames[] = { "self", NULL };
5334
5335 self = self;
5336 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_Undo",_kwnames,&_argo0))
5337 return NULL;
5338 if (_argo0) {
5339 if (_argo0 == Py_None) { _arg0 = NULL; }
5340 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
5341 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_Undo. Expected _wxStyledTextCtrl_p.");
5342 return NULL;
5343 }
5344 }
5345{
474c48f9 5346 PyThreadState* __tstate = wxPyBeginAllowThreads();
89c8ea73
RD
5347 wxStyledTextCtrl_Undo(_arg0);
5348
474c48f9
RD
5349 wxPyEndAllowThreads(__tstate);
5350 if (PyErr_Occurred()) return NULL;
89c8ea73
RD
5351} Py_INCREF(Py_None);
5352 _resultobj = Py_None;
5353 return _resultobj;
5354}
5355
5356#define wxStyledTextCtrl_Cut(_swigobj) (_swigobj->Cut())
5357static PyObject *_wrap_wxStyledTextCtrl_Cut(PyObject *self, PyObject *args, PyObject *kwargs) {
5358 PyObject * _resultobj;
5359 wxStyledTextCtrl * _arg0;
5360 PyObject * _argo0 = 0;
5361 char *_kwnames[] = { "self", NULL };
5362
5363 self = self;
5364 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_Cut",_kwnames,&_argo0))
5365 return NULL;
5366 if (_argo0) {
5367 if (_argo0 == Py_None) { _arg0 = NULL; }
5368 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
5369 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_Cut. Expected _wxStyledTextCtrl_p.");
5370 return NULL;
5371 }
5372 }
5373{
474c48f9 5374 PyThreadState* __tstate = wxPyBeginAllowThreads();
89c8ea73
RD
5375 wxStyledTextCtrl_Cut(_arg0);
5376
474c48f9
RD
5377 wxPyEndAllowThreads(__tstate);
5378 if (PyErr_Occurred()) return NULL;
89c8ea73
RD
5379} Py_INCREF(Py_None);
5380 _resultobj = Py_None;
5381 return _resultobj;
5382}
5383
5384#define wxStyledTextCtrl_Copy(_swigobj) (_swigobj->Copy())
5385static PyObject *_wrap_wxStyledTextCtrl_Copy(PyObject *self, PyObject *args, PyObject *kwargs) {
5386 PyObject * _resultobj;
5387 wxStyledTextCtrl * _arg0;
5388 PyObject * _argo0 = 0;
5389 char *_kwnames[] = { "self", NULL };
5390
5391 self = self;
5392 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_Copy",_kwnames,&_argo0))
5393 return NULL;
5394 if (_argo0) {
5395 if (_argo0 == Py_None) { _arg0 = NULL; }
5396 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
5397 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_Copy. Expected _wxStyledTextCtrl_p.");
5398 return NULL;
5399 }
5400 }
5401{
474c48f9 5402 PyThreadState* __tstate = wxPyBeginAllowThreads();
89c8ea73
RD
5403 wxStyledTextCtrl_Copy(_arg0);
5404
474c48f9
RD
5405 wxPyEndAllowThreads(__tstate);
5406 if (PyErr_Occurred()) return NULL;
89c8ea73
RD
5407} Py_INCREF(Py_None);
5408 _resultobj = Py_None;
5409 return _resultobj;
5410}
5411
5412#define wxStyledTextCtrl_Paste(_swigobj) (_swigobj->Paste())
5413static PyObject *_wrap_wxStyledTextCtrl_Paste(PyObject *self, PyObject *args, PyObject *kwargs) {
5414 PyObject * _resultobj;
5415 wxStyledTextCtrl * _arg0;
5416 PyObject * _argo0 = 0;
5417 char *_kwnames[] = { "self", NULL };
5418
5419 self = self;
5420 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_Paste",_kwnames,&_argo0))
5421 return NULL;
5422 if (_argo0) {
5423 if (_argo0 == Py_None) { _arg0 = NULL; }
5424 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
5425 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_Paste. Expected _wxStyledTextCtrl_p.");
5426 return NULL;
5427 }
5428 }
5429{
474c48f9 5430 PyThreadState* __tstate = wxPyBeginAllowThreads();
89c8ea73
RD
5431 wxStyledTextCtrl_Paste(_arg0);
5432
474c48f9
RD
5433 wxPyEndAllowThreads(__tstate);
5434 if (PyErr_Occurred()) return NULL;
89c8ea73
RD
5435} Py_INCREF(Py_None);
5436 _resultobj = Py_None;
5437 return _resultobj;
5438}
5439
5440#define wxStyledTextCtrl_Clear(_swigobj) (_swigobj->Clear())
5441static PyObject *_wrap_wxStyledTextCtrl_Clear(PyObject *self, PyObject *args, PyObject *kwargs) {
5442 PyObject * _resultobj;
5443 wxStyledTextCtrl * _arg0;
5444 PyObject * _argo0 = 0;
5445 char *_kwnames[] = { "self", NULL };
5446
5447 self = self;
5448 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_Clear",_kwnames,&_argo0))
5449 return NULL;
5450 if (_argo0) {
5451 if (_argo0 == Py_None) { _arg0 = NULL; }
5452 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
5453 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_Clear. Expected _wxStyledTextCtrl_p.");
5454 return NULL;
5455 }
5456 }
5457{
474c48f9 5458 PyThreadState* __tstate = wxPyBeginAllowThreads();
89c8ea73
RD
5459 wxStyledTextCtrl_Clear(_arg0);
5460
474c48f9
RD
5461 wxPyEndAllowThreads(__tstate);
5462 if (PyErr_Occurred()) return NULL;
89c8ea73
RD
5463} Py_INCREF(Py_None);
5464 _resultobj = Py_None;
5465 return _resultobj;
5466}
5467
5468#define wxStyledTextCtrl_SetText(_swigobj,_swigarg0) (_swigobj->SetText(_swigarg0))
5469static PyObject *_wrap_wxStyledTextCtrl_SetText(PyObject *self, PyObject *args, PyObject *kwargs) {
5470 PyObject * _resultobj;
5471 wxStyledTextCtrl * _arg0;
5472 wxString * _arg1;
5473 PyObject * _argo0 = 0;
5474 PyObject * _obj1 = 0;
5475 char *_kwnames[] = { "self","text", NULL };
5476
5477 self = self;
5478 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxStyledTextCtrl_SetText",_kwnames,&_argo0,&_obj1))
5479 return NULL;
5480 if (_argo0) {
5481 if (_argo0 == Py_None) { _arg0 = NULL; }
5482 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
5483 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetText. Expected _wxStyledTextCtrl_p.");
5484 return NULL;
5485 }
5486 }
5487{
5488#if PYTHON_API_VERSION >= 1009
5489 char* tmpPtr; int tmpSize;
5490 if (!PyString_Check(_obj1) && !PyUnicode_Check(_obj1)) {
5491 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
5492 return NULL;
5493 }
5494 if (PyString_AsStringAndSize(_obj1, &tmpPtr, &tmpSize) == -1)
5495 return NULL;
5496 _arg1 = new wxString(tmpPtr, tmpSize);
5497#else
5498 if (!PyString_Check(_obj1)) {
5499 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
5500 return NULL;
5501 }
5502 _arg1 = new wxString(PyString_AS_STRING(_obj1), PyString_GET_SIZE(_obj1));
5503#endif
5504}
5505{
474c48f9 5506 PyThreadState* __tstate = wxPyBeginAllowThreads();
89c8ea73
RD
5507 wxStyledTextCtrl_SetText(_arg0,*_arg1);
5508
474c48f9
RD
5509 wxPyEndAllowThreads(__tstate);
5510 if (PyErr_Occurred()) return NULL;
89c8ea73
RD
5511} Py_INCREF(Py_None);
5512 _resultobj = Py_None;
5513{
5514 if (_obj1)
5515 delete _arg1;
5516}
5517 return _resultobj;
5518}
5519
5520#define wxStyledTextCtrl_GetText(_swigobj) (_swigobj->GetText())
5521static PyObject *_wrap_wxStyledTextCtrl_GetText(PyObject *self, PyObject *args, PyObject *kwargs) {
5522 PyObject * _resultobj;
5523 wxString * _result;
5524 wxStyledTextCtrl * _arg0;
5525 PyObject * _argo0 = 0;
5526 char *_kwnames[] = { "self", NULL };
5527
5528 self = self;
5529 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetText",_kwnames,&_argo0))
5530 return NULL;
5531 if (_argo0) {
5532 if (_argo0 == Py_None) { _arg0 = NULL; }
5533 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
5534 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetText. Expected _wxStyledTextCtrl_p.");
5535 return NULL;
5536 }
5537 }
5538{
474c48f9 5539 PyThreadState* __tstate = wxPyBeginAllowThreads();
89c8ea73
RD
5540 _result = new wxString (wxStyledTextCtrl_GetText(_arg0));
5541
474c48f9
RD
5542 wxPyEndAllowThreads(__tstate);
5543 if (PyErr_Occurred()) return NULL;
89c8ea73
RD
5544}{
5545 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
5546}
5547{
5548 delete _result;
5549}
5550 return _resultobj;
5551}
5552
5553#define wxStyledTextCtrl_GetTextLength(_swigobj) (_swigobj->GetTextLength())
5554static PyObject *_wrap_wxStyledTextCtrl_GetTextLength(PyObject *self, PyObject *args, PyObject *kwargs) {
5555 PyObject * _resultobj;
5556 int _result;
5557 wxStyledTextCtrl * _arg0;
5558 PyObject * _argo0 = 0;
5559 char *_kwnames[] = { "self", NULL };
5560
5561 self = self;
5562 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetTextLength",_kwnames,&_argo0))
5563 return NULL;
5564 if (_argo0) {
5565 if (_argo0 == Py_None) { _arg0 = NULL; }
5566 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
5567 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetTextLength. Expected _wxStyledTextCtrl_p.");
5568 return NULL;
5569 }
5570 }
5571{
474c48f9 5572 PyThreadState* __tstate = wxPyBeginAllowThreads();
89c8ea73
RD
5573 _result = (int )wxStyledTextCtrl_GetTextLength(_arg0);
5574
474c48f9
RD
5575 wxPyEndAllowThreads(__tstate);
5576 if (PyErr_Occurred()) return NULL;
89c8ea73
RD
5577} _resultobj = Py_BuildValue("i",_result);
5578 return _resultobj;
5579}
5580
5581#define wxStyledTextCtrl_SetOvertype(_swigobj,_swigarg0) (_swigobj->SetOvertype(_swigarg0))
5582static PyObject *_wrap_wxStyledTextCtrl_SetOvertype(PyObject *self, PyObject *args, PyObject *kwargs) {
5583 PyObject * _resultobj;
5584 wxStyledTextCtrl * _arg0;
5585 bool _arg1;
5586 PyObject * _argo0 = 0;
5587 int tempbool1;
5588 char *_kwnames[] = { "self","overtype", NULL };
5589
5590 self = self;
5591 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_SetOvertype",_kwnames,&_argo0,&tempbool1))
5592 return NULL;
5593 if (_argo0) {
5594 if (_argo0 == Py_None) { _arg0 = NULL; }
5595 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
5596 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetOvertype. Expected _wxStyledTextCtrl_p.");
5597 return NULL;
5598 }
5599 }
5600 _arg1 = (bool ) tempbool1;
5601{
474c48f9 5602 PyThreadState* __tstate = wxPyBeginAllowThreads();
89c8ea73
RD
5603 wxStyledTextCtrl_SetOvertype(_arg0,_arg1);
5604
474c48f9
RD
5605 wxPyEndAllowThreads(__tstate);
5606 if (PyErr_Occurred()) return NULL;
89c8ea73
RD
5607} Py_INCREF(Py_None);
5608 _resultobj = Py_None;
5609 return _resultobj;
5610}
5611
5612#define wxStyledTextCtrl_GetOvertype(_swigobj) (_swigobj->GetOvertype())
5613static PyObject *_wrap_wxStyledTextCtrl_GetOvertype(PyObject *self, PyObject *args, PyObject *kwargs) {
5614 PyObject * _resultobj;
5615 bool _result;
5616 wxStyledTextCtrl * _arg0;
5617 PyObject * _argo0 = 0;
5618 char *_kwnames[] = { "self", NULL };
5619
5620 self = self;
5621 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetOvertype",_kwnames,&_argo0))
5622 return NULL;
5623 if (_argo0) {
5624 if (_argo0 == Py_None) { _arg0 = NULL; }
5625 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
5626 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetOvertype. Expected _wxStyledTextCtrl_p.");
5627 return NULL;
5628 }
5629 }
5630{
474c48f9 5631 PyThreadState* __tstate = wxPyBeginAllowThreads();
89c8ea73
RD
5632 _result = (bool )wxStyledTextCtrl_GetOvertype(_arg0);
5633
474c48f9
RD
5634 wxPyEndAllowThreads(__tstate);
5635 if (PyErr_Occurred()) return NULL;
89c8ea73
RD
5636} _resultobj = Py_BuildValue("i",_result);
5637 return _resultobj;
5638}
5639
5640#define wxStyledTextCtrl_SetCaretWidth(_swigobj,_swigarg0) (_swigobj->SetCaretWidth(_swigarg0))
5641static PyObject *_wrap_wxStyledTextCtrl_SetCaretWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
5642 PyObject * _resultobj;
5643 wxStyledTextCtrl * _arg0;
5644 int _arg1;
5645 PyObject * _argo0 = 0;
5646 char *_kwnames[] = { "self","pixelWidth", NULL };
5647
5648 self = self;
5649 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_SetCaretWidth",_kwnames,&_argo0,&_arg1))
5650 return NULL;
5651 if (_argo0) {
5652 if (_argo0 == Py_None) { _arg0 = NULL; }
5653 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
5654 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetCaretWidth. Expected _wxStyledTextCtrl_p.");
5655 return NULL;
5656 }
5657 }
5658{
474c48f9 5659 PyThreadState* __tstate = wxPyBeginAllowThreads();
89c8ea73
RD
5660 wxStyledTextCtrl_SetCaretWidth(_arg0,_arg1);
5661
474c48f9
RD
5662 wxPyEndAllowThreads(__tstate);
5663 if (PyErr_Occurred()) return NULL;
89c8ea73
RD
5664} Py_INCREF(Py_None);
5665 _resultobj = Py_None;
5666 return _resultobj;
5667}
5668
5669#define wxStyledTextCtrl_GetCaretWidth(_swigobj) (_swigobj->GetCaretWidth())
5670static PyObject *_wrap_wxStyledTextCtrl_GetCaretWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
5671 PyObject * _resultobj;
5672 int _result;
5673 wxStyledTextCtrl * _arg0;
5674 PyObject * _argo0 = 0;
5675 char *_kwnames[] = { "self", NULL };
5676
5677 self = self;
5678 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetCaretWidth",_kwnames,&_argo0))
5679 return NULL;
5680 if (_argo0) {
5681 if (_argo0 == Py_None) { _arg0 = NULL; }
5682 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
5683 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetCaretWidth. Expected _wxStyledTextCtrl_p.");
5684 return NULL;
5685 }
5686 }
5687{
474c48f9 5688 PyThreadState* __tstate = wxPyBeginAllowThreads();
89c8ea73
RD
5689 _result = (int )wxStyledTextCtrl_GetCaretWidth(_arg0);
5690
474c48f9
RD
5691 wxPyEndAllowThreads(__tstate);
5692 if (PyErr_Occurred()) return NULL;
89c8ea73
RD
5693} _resultobj = Py_BuildValue("i",_result);
5694 return _resultobj;
5695}
5696
5697#define wxStyledTextCtrl_SetTargetStart(_swigobj,_swigarg0) (_swigobj->SetTargetStart(_swigarg0))
5698static PyObject *_wrap_wxStyledTextCtrl_SetTargetStart(PyObject *self, PyObject *args, PyObject *kwargs) {
5699 PyObject * _resultobj;
5700 wxStyledTextCtrl * _arg0;
5701 int _arg1;
5702 PyObject * _argo0 = 0;
5703 char *_kwnames[] = { "self","pos", NULL };
5704
5705 self = self;
5706 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_SetTargetStart",_kwnames,&_argo0,&_arg1))
5707 return NULL;
5708 if (_argo0) {
5709 if (_argo0 == Py_None) { _arg0 = NULL; }
5710 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
5711 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetTargetStart. Expected _wxStyledTextCtrl_p.");
5712 return NULL;
5713 }
5714 }
5715{
474c48f9 5716 PyThreadState* __tstate = wxPyBeginAllowThreads();
89c8ea73
RD
5717 wxStyledTextCtrl_SetTargetStart(_arg0,_arg1);
5718
474c48f9
RD
5719 wxPyEndAllowThreads(__tstate);
5720 if (PyErr_Occurred()) return NULL;
89c8ea73
RD
5721} Py_INCREF(Py_None);
5722 _resultobj = Py_None;
5723 return _resultobj;
5724}
5725
5726#define wxStyledTextCtrl_GetTargetStart(_swigobj) (_swigobj->GetTargetStart())
5727static PyObject *_wrap_wxStyledTextCtrl_GetTargetStart(PyObject *self, PyObject *args, PyObject *kwargs) {
5728 PyObject * _resultobj;
5729 int _result;
5730 wxStyledTextCtrl * _arg0;
5731 PyObject * _argo0 = 0;
5732 char *_kwnames[] = { "self", NULL };
5733
5734 self = self;
5735 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetTargetStart",_kwnames,&_argo0))
5736 return NULL;
5737 if (_argo0) {
5738 if (_argo0 == Py_None) { _arg0 = NULL; }
5739 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
5740 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetTargetStart. Expected _wxStyledTextCtrl_p.");
5741 return NULL;
5742 }
5743 }
5744{
474c48f9 5745 PyThreadState* __tstate = wxPyBeginAllowThreads();
89c8ea73
RD
5746 _result = (int )wxStyledTextCtrl_GetTargetStart(_arg0);
5747
474c48f9
RD
5748 wxPyEndAllowThreads(__tstate);
5749 if (PyErr_Occurred()) return NULL;
89c8ea73
RD
5750} _resultobj = Py_BuildValue("i",_result);
5751 return _resultobj;
5752}
5753
5754#define wxStyledTextCtrl_SetTargetEnd(_swigobj,_swigarg0) (_swigobj->SetTargetEnd(_swigarg0))
5755static PyObject *_wrap_wxStyledTextCtrl_SetTargetEnd(PyObject *self, PyObject *args, PyObject *kwargs) {
5756 PyObject * _resultobj;
5757 wxStyledTextCtrl * _arg0;
5758 int _arg1;
5759 PyObject * _argo0 = 0;
5760 char *_kwnames[] = { "self","pos", NULL };
5761
5762 self = self;
5763 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_SetTargetEnd",_kwnames,&_argo0,&_arg1))
5764 return NULL;
5765 if (_argo0) {
5766 if (_argo0 == Py_None) { _arg0 = NULL; }
5767 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
5768 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetTargetEnd. Expected _wxStyledTextCtrl_p.");
5769 return NULL;
5770 }
5771 }
5772{
474c48f9 5773 PyThreadState* __tstate = wxPyBeginAllowThreads();
89c8ea73
RD
5774 wxStyledTextCtrl_SetTargetEnd(_arg0,_arg1);
5775
474c48f9
RD
5776 wxPyEndAllowThreads(__tstate);
5777 if (PyErr_Occurred()) return NULL;
89c8ea73
RD
5778} Py_INCREF(Py_None);
5779 _resultobj = Py_None;
5780 return _resultobj;
5781}
5782
5783#define wxStyledTextCtrl_GetTargetEnd(_swigobj) (_swigobj->GetTargetEnd())
5784static PyObject *_wrap_wxStyledTextCtrl_GetTargetEnd(PyObject *self, PyObject *args, PyObject *kwargs) {
5785 PyObject * _resultobj;
5786 int _result;
5787 wxStyledTextCtrl * _arg0;
5788 PyObject * _argo0 = 0;
5789 char *_kwnames[] = { "self", NULL };
5790
5791 self = self;
5792 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetTargetEnd",_kwnames,&_argo0))
5793 return NULL;
5794 if (_argo0) {
5795 if (_argo0 == Py_None) { _arg0 = NULL; }
5796 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
5797 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetTargetEnd. Expected _wxStyledTextCtrl_p.");
5798 return NULL;
5799 }
5800 }
5801{
474c48f9 5802 PyThreadState* __tstate = wxPyBeginAllowThreads();
89c8ea73
RD
5803 _result = (int )wxStyledTextCtrl_GetTargetEnd(_arg0);
5804
474c48f9
RD
5805 wxPyEndAllowThreads(__tstate);
5806 if (PyErr_Occurred()) return NULL;
89c8ea73
RD
5807} _resultobj = Py_BuildValue("i",_result);
5808 return _resultobj;
5809}
5810
5811#define wxStyledTextCtrl_ReplaceTarget(_swigobj,_swigarg0) (_swigobj->ReplaceTarget(_swigarg0))
5812static PyObject *_wrap_wxStyledTextCtrl_ReplaceTarget(PyObject *self, PyObject *args, PyObject *kwargs) {
5813 PyObject * _resultobj;
5814 int _result;
5815 wxStyledTextCtrl * _arg0;
5816 wxString * _arg1;
5817 PyObject * _argo0 = 0;
5818 PyObject * _obj1 = 0;
5819 char *_kwnames[] = { "self","text", NULL };
5820
5821 self = self;
5822 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxStyledTextCtrl_ReplaceTarget",_kwnames,&_argo0,&_obj1))
5823 return NULL;
5824 if (_argo0) {
5825 if (_argo0 == Py_None) { _arg0 = NULL; }
5826 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
5827 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_ReplaceTarget. Expected _wxStyledTextCtrl_p.");
5828 return NULL;
5829 }
5830 }
5831{
5832#if PYTHON_API_VERSION >= 1009
5833 char* tmpPtr; int tmpSize;
5834 if (!PyString_Check(_obj1) && !PyUnicode_Check(_obj1)) {
5835 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
5836 return NULL;
5837 }
5838 if (PyString_AsStringAndSize(_obj1, &tmpPtr, &tmpSize) == -1)
5839 return NULL;
5840 _arg1 = new wxString(tmpPtr, tmpSize);
5841#else
5842 if (!PyString_Check(_obj1)) {
5843 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
5844 return NULL;
5845 }
5846 _arg1 = new wxString(PyString_AS_STRING(_obj1), PyString_GET_SIZE(_obj1));
5847#endif
5848}
5849{
474c48f9 5850 PyThreadState* __tstate = wxPyBeginAllowThreads();
89c8ea73
RD
5851 _result = (int )wxStyledTextCtrl_ReplaceTarget(_arg0,*_arg1);
5852
474c48f9
RD
5853 wxPyEndAllowThreads(__tstate);
5854 if (PyErr_Occurred()) return NULL;
89c8ea73
RD
5855} _resultobj = Py_BuildValue("i",_result);
5856{
5857 if (_obj1)
5858 delete _arg1;
5859}
5860 return _resultobj;
5861}
5862
5863#define wxStyledTextCtrl_ReplaceTargetRE(_swigobj,_swigarg0) (_swigobj->ReplaceTargetRE(_swigarg0))
5864static PyObject *_wrap_wxStyledTextCtrl_ReplaceTargetRE(PyObject *self, PyObject *args, PyObject *kwargs) {
5865 PyObject * _resultobj;
5866 int _result;
5867 wxStyledTextCtrl * _arg0;
5868 wxString * _arg1;
5869 PyObject * _argo0 = 0;
5870 PyObject * _obj1 = 0;
5871 char *_kwnames[] = { "self","text", NULL };
5872
5873 self = self;
5874 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxStyledTextCtrl_ReplaceTargetRE",_kwnames,&_argo0,&_obj1))
5875 return NULL;
5876 if (_argo0) {
5877 if (_argo0 == Py_None) { _arg0 = NULL; }
5878 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
5879 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_ReplaceTargetRE. Expected _wxStyledTextCtrl_p.");
5880 return NULL;
5881 }
5882 }
5883{
5884#if PYTHON_API_VERSION >= 1009
5885 char* tmpPtr; int tmpSize;
5886 if (!PyString_Check(_obj1) && !PyUnicode_Check(_obj1)) {
5887 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
5888 return NULL;
5889 }
5890 if (PyString_AsStringAndSize(_obj1, &tmpPtr, &tmpSize) == -1)
5891 return NULL;
5892 _arg1 = new wxString(tmpPtr, tmpSize);
5893#else
5894 if (!PyString_Check(_obj1)) {
5895 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
5896 return NULL;
5897 }
5898 _arg1 = new wxString(PyString_AS_STRING(_obj1), PyString_GET_SIZE(_obj1));
5899#endif
5900}
5901{
474c48f9 5902 PyThreadState* __tstate = wxPyBeginAllowThreads();
89c8ea73
RD
5903 _result = (int )wxStyledTextCtrl_ReplaceTargetRE(_arg0,*_arg1);
5904
474c48f9
RD
5905 wxPyEndAllowThreads(__tstate);
5906 if (PyErr_Occurred()) return NULL;
89c8ea73
RD
5907} _resultobj = Py_BuildValue("i",_result);
5908{
5909 if (_obj1)
5910 delete _arg1;
5911}
5912 return _resultobj;
5913}
5914
5915#define wxStyledTextCtrl_SearchInTarget(_swigobj,_swigarg0) (_swigobj->SearchInTarget(_swigarg0))
5916static PyObject *_wrap_wxStyledTextCtrl_SearchInTarget(PyObject *self, PyObject *args, PyObject *kwargs) {
5917 PyObject * _resultobj;
5918 int _result;
5919 wxStyledTextCtrl * _arg0;
5920 wxString * _arg1;
5921 PyObject * _argo0 = 0;
5922 PyObject * _obj1 = 0;
5923 char *_kwnames[] = { "self","text", NULL };
5924
5925 self = self;
5926 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxStyledTextCtrl_SearchInTarget",_kwnames,&_argo0,&_obj1))
5927 return NULL;
5928 if (_argo0) {
5929 if (_argo0 == Py_None) { _arg0 = NULL; }
5930 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
5931 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SearchInTarget. Expected _wxStyledTextCtrl_p.");
5932 return NULL;
5933 }
5934 }
5935{
5936#if PYTHON_API_VERSION >= 1009
5937 char* tmpPtr; int tmpSize;
5938 if (!PyString_Check(_obj1) && !PyUnicode_Check(_obj1)) {
5939 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
5940 return NULL;
5941 }
5942 if (PyString_AsStringAndSize(_obj1, &tmpPtr, &tmpSize) == -1)
5943 return NULL;
5944 _arg1 = new wxString(tmpPtr, tmpSize);
5945#else
5946 if (!PyString_Check(_obj1)) {
5947 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
5948 return NULL;
5949 }
5950 _arg1 = new wxString(PyString_AS_STRING(_obj1), PyString_GET_SIZE(_obj1));
5951#endif
5952}
5953{
474c48f9 5954 PyThreadState* __tstate = wxPyBeginAllowThreads();
89c8ea73
RD
5955 _result = (int )wxStyledTextCtrl_SearchInTarget(_arg0,*_arg1);
5956
474c48f9
RD
5957 wxPyEndAllowThreads(__tstate);
5958 if (PyErr_Occurred()) return NULL;
89c8ea73
RD
5959} _resultobj = Py_BuildValue("i",_result);
5960{
5961 if (_obj1)
5962 delete _arg1;
5963}
5964 return _resultobj;
5965}
5966
5967#define wxStyledTextCtrl_SetSearchFlags(_swigobj,_swigarg0) (_swigobj->SetSearchFlags(_swigarg0))
5968static PyObject *_wrap_wxStyledTextCtrl_SetSearchFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
5969 PyObject * _resultobj;
5970 wxStyledTextCtrl * _arg0;
5971 int _arg1;
5972 PyObject * _argo0 = 0;
5973 char *_kwnames[] = { "self","flags", NULL };
5974
5975 self = self;
5976 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_SetSearchFlags",_kwnames,&_argo0,&_arg1))
5977 return NULL;
5978 if (_argo0) {
5979 if (_argo0 == Py_None) { _arg0 = NULL; }
5980 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
5981 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetSearchFlags. Expected _wxStyledTextCtrl_p.");
5982 return NULL;
5983 }
5984 }
5985{
474c48f9 5986 PyThreadState* __tstate = wxPyBeginAllowThreads();
89c8ea73
RD
5987 wxStyledTextCtrl_SetSearchFlags(_arg0,_arg1);
5988
474c48f9
RD
5989 wxPyEndAllowThreads(__tstate);
5990 if (PyErr_Occurred()) return NULL;
89c8ea73
RD
5991} Py_INCREF(Py_None);
5992 _resultobj = Py_None;
5993 return _resultobj;
5994}
5995
5996#define wxStyledTextCtrl_GetSearchFlags(_swigobj) (_swigobj->GetSearchFlags())
5997static PyObject *_wrap_wxStyledTextCtrl_GetSearchFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
5998 PyObject * _resultobj;
5999 int _result;
6000 wxStyledTextCtrl * _arg0;
6001 PyObject * _argo0 = 0;
6002 char *_kwnames[] = { "self", NULL };
6003
6004 self = self;
6005 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetSearchFlags",_kwnames,&_argo0))
6006 return NULL;
6007 if (_argo0) {
6008 if (_argo0 == Py_None) { _arg0 = NULL; }
6009 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
6010 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetSearchFlags. Expected _wxStyledTextCtrl_p.");
6011 return NULL;
6012 }
6013 }
6014{
474c48f9 6015 PyThreadState* __tstate = wxPyBeginAllowThreads();
89c8ea73
RD
6016 _result = (int )wxStyledTextCtrl_GetSearchFlags(_arg0);
6017
474c48f9
RD
6018 wxPyEndAllowThreads(__tstate);
6019 if (PyErr_Occurred()) return NULL;
89c8ea73
RD
6020} _resultobj = Py_BuildValue("i",_result);
6021 return _resultobj;
6022}
6023
6024#define wxStyledTextCtrl_CallTipShow(_swigobj,_swigarg0,_swigarg1) (_swigobj->CallTipShow(_swigarg0,_swigarg1))
6025static PyObject *_wrap_wxStyledTextCtrl_CallTipShow(PyObject *self, PyObject *args, PyObject *kwargs) {
6026 PyObject * _resultobj;
6027 wxStyledTextCtrl * _arg0;
6028 int _arg1;
6029 wxString * _arg2;
6030 PyObject * _argo0 = 0;
6031 PyObject * _obj2 = 0;
6032 char *_kwnames[] = { "self","pos","definition", NULL };
6033
6034 self = self;
6035 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxStyledTextCtrl_CallTipShow",_kwnames,&_argo0,&_arg1,&_obj2))
6036 return NULL;
6037 if (_argo0) {
6038 if (_argo0 == Py_None) { _arg0 = NULL; }
6039 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
6040 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_CallTipShow. Expected _wxStyledTextCtrl_p.");
6041 return NULL;
6042 }
6043 }
6044{
6045#if PYTHON_API_VERSION >= 1009
6046 char* tmpPtr; int tmpSize;
6047 if (!PyString_Check(_obj2) && !PyUnicode_Check(_obj2)) {
6048 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
6049 return NULL;
6050 }
6051 if (PyString_AsStringAndSize(_obj2, &tmpPtr, &tmpSize) == -1)
6052 return NULL;
6053 _arg2 = new wxString(tmpPtr, tmpSize);
6054#else
6055 if (!PyString_Check(_obj2)) {
6056 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
6057 return NULL;
6058 }
6059 _arg2 = new wxString(PyString_AS_STRING(_obj2), PyString_GET_SIZE(_obj2));
6060#endif
6061}
6062{
474c48f9 6063 PyThreadState* __tstate = wxPyBeginAllowThreads();
89c8ea73
RD
6064 wxStyledTextCtrl_CallTipShow(_arg0,_arg1,*_arg2);
6065
474c48f9
RD
6066 wxPyEndAllowThreads(__tstate);
6067 if (PyErr_Occurred()) return NULL;
89c8ea73
RD
6068} Py_INCREF(Py_None);
6069 _resultobj = Py_None;
6070{
6071 if (_obj2)
6072 delete _arg2;
6073}
6074 return _resultobj;
6075}
6076
6077#define wxStyledTextCtrl_CallTipCancel(_swigobj) (_swigobj->CallTipCancel())
6078static PyObject *_wrap_wxStyledTextCtrl_CallTipCancel(PyObject *self, PyObject *args, PyObject *kwargs) {
6079 PyObject * _resultobj;
6080 wxStyledTextCtrl * _arg0;
6081 PyObject * _argo0 = 0;
6082 char *_kwnames[] = { "self", NULL };
6083
6084 self = self;
6085 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_CallTipCancel",_kwnames,&_argo0))
6086 return NULL;
6087 if (_argo0) {
6088 if (_argo0 == Py_None) { _arg0 = NULL; }
6089 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
6090 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_CallTipCancel. Expected _wxStyledTextCtrl_p.");
6091 return NULL;
6092 }
6093 }
6094{
474c48f9 6095 PyThreadState* __tstate = wxPyBeginAllowThreads();
89c8ea73
RD
6096 wxStyledTextCtrl_CallTipCancel(_arg0);
6097
474c48f9
RD
6098 wxPyEndAllowThreads(__tstate);
6099 if (PyErr_Occurred()) return NULL;
89c8ea73
RD
6100} Py_INCREF(Py_None);
6101 _resultobj = Py_None;
6102 return _resultobj;
6103}
6104
6105#define wxStyledTextCtrl_CallTipActive(_swigobj) (_swigobj->CallTipActive())
6106static PyObject *_wrap_wxStyledTextCtrl_CallTipActive(PyObject *self, PyObject *args, PyObject *kwargs) {
6107 PyObject * _resultobj;
6108 bool _result;
6109 wxStyledTextCtrl * _arg0;
6110 PyObject * _argo0 = 0;
6111 char *_kwnames[] = { "self", NULL };
6112
6113 self = self;
6114 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_CallTipActive",_kwnames,&_argo0))
6115 return NULL;
6116 if (_argo0) {
6117 if (_argo0 == Py_None) { _arg0 = NULL; }
6118 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
6119 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_CallTipActive. Expected _wxStyledTextCtrl_p.");
6120 return NULL;
6121 }
6122 }
6123{
474c48f9 6124 PyThreadState* __tstate = wxPyBeginAllowThreads();
89c8ea73
RD
6125 _result = (bool )wxStyledTextCtrl_CallTipActive(_arg0);
6126
474c48f9
RD
6127 wxPyEndAllowThreads(__tstate);
6128 if (PyErr_Occurred()) return NULL;
89c8ea73
RD
6129} _resultobj = Py_BuildValue("i",_result);
6130 return _resultobj;
6131}
6132
6133#define wxStyledTextCtrl_CallTipPosAtStart(_swigobj) (_swigobj->CallTipPosAtStart())
6134static PyObject *_wrap_wxStyledTextCtrl_CallTipPosAtStart(PyObject *self, PyObject *args, PyObject *kwargs) {
6135 PyObject * _resultobj;
6136 int _result;
6137 wxStyledTextCtrl * _arg0;
6138 PyObject * _argo0 = 0;
6139 char *_kwnames[] = { "self", NULL };
6140
6141 self = self;
6142 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_CallTipPosAtStart",_kwnames,&_argo0))
6143 return NULL;
6144 if (_argo0) {
6145 if (_argo0 == Py_None) { _arg0 = NULL; }
6146 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
6147 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_CallTipPosAtStart. Expected _wxStyledTextCtrl_p.");
6148 return NULL;
6149 }
6150 }
6151{
474c48f9 6152 PyThreadState* __tstate = wxPyBeginAllowThreads();
89c8ea73
RD
6153 _result = (int )wxStyledTextCtrl_CallTipPosAtStart(_arg0);
6154
474c48f9
RD
6155 wxPyEndAllowThreads(__tstate);
6156 if (PyErr_Occurred()) return NULL;
89c8ea73
RD
6157} _resultobj = Py_BuildValue("i",_result);
6158 return _resultobj;
6159}
6160
6161#define wxStyledTextCtrl_CallTipSetHighlight(_swigobj,_swigarg0,_swigarg1) (_swigobj->CallTipSetHighlight(_swigarg0,_swigarg1))
6162static PyObject *_wrap_wxStyledTextCtrl_CallTipSetHighlight(PyObject *self, PyObject *args, PyObject *kwargs) {
6163 PyObject * _resultobj;
6164 wxStyledTextCtrl * _arg0;
6165 int _arg1;
6166 int _arg2;
6167 PyObject * _argo0 = 0;
6168 char *_kwnames[] = { "self","start","end", NULL };
6169
6170 self = self;
6171 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxStyledTextCtrl_CallTipSetHighlight",_kwnames,&_argo0,&_arg1,&_arg2))
6172 return NULL;
6173 if (_argo0) {
6174 if (_argo0 == Py_None) { _arg0 = NULL; }
6175 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
6176 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_CallTipSetHighlight. Expected _wxStyledTextCtrl_p.");
6177 return NULL;
6178 }
6179 }
6180{
474c48f9 6181 PyThreadState* __tstate = wxPyBeginAllowThreads();
89c8ea73
RD
6182 wxStyledTextCtrl_CallTipSetHighlight(_arg0,_arg1,_arg2);
6183
474c48f9
RD
6184 wxPyEndAllowThreads(__tstate);
6185 if (PyErr_Occurred()) return NULL;
89c8ea73
RD
6186} Py_INCREF(Py_None);
6187 _resultobj = Py_None;
6188 return _resultobj;
6189}
6190
6191#define wxStyledTextCtrl_CallTipSetBackground(_swigobj,_swigarg0) (_swigobj->CallTipSetBackground(_swigarg0))
6192static PyObject *_wrap_wxStyledTextCtrl_CallTipSetBackground(PyObject *self, PyObject *args, PyObject *kwargs) {
6193 PyObject * _resultobj;
6194 wxStyledTextCtrl * _arg0;
6195 wxColour * _arg1;
6196 PyObject * _argo0 = 0;
6197 wxColour temp;
6198 PyObject * _obj1 = 0;
6199 char *_kwnames[] = { "self","back", NULL };
6200
6201 self = self;
6202 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxStyledTextCtrl_CallTipSetBackground",_kwnames,&_argo0,&_obj1))
6203 return NULL;
6204 if (_argo0) {
6205 if (_argo0 == Py_None) { _arg0 = NULL; }
6206 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
6207 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_CallTipSetBackground. Expected _wxStyledTextCtrl_p.");
6208 return NULL;
6209 }
6210 }
6211{
6212 _arg1 = &temp;
6213 if (! wxColour_helper(_obj1, &_arg1))
6214 return NULL;
6215}
6216{
474c48f9 6217 PyThreadState* __tstate = wxPyBeginAllowThreads();
89c8ea73
RD
6218 wxStyledTextCtrl_CallTipSetBackground(_arg0,*_arg1);
6219
474c48f9
RD
6220 wxPyEndAllowThreads(__tstate);
6221 if (PyErr_Occurred()) return NULL;
89c8ea73
RD
6222} Py_INCREF(Py_None);
6223 _resultobj = Py_None;
6224 return _resultobj;
6225}
6226
6227#define wxStyledTextCtrl_VisibleFromDocLine(_swigobj,_swigarg0) (_swigobj->VisibleFromDocLine(_swigarg0))
6228static PyObject *_wrap_wxStyledTextCtrl_VisibleFromDocLine(PyObject *self, PyObject *args, PyObject *kwargs) {
6229 PyObject * _resultobj;
6230 int _result;
6231 wxStyledTextCtrl * _arg0;
6232 int _arg1;
6233 PyObject * _argo0 = 0;
6234 char *_kwnames[] = { "self","line", NULL };
6235
6236 self = self;
6237 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_VisibleFromDocLine",_kwnames,&_argo0,&_arg1))
6238 return NULL;
6239 if (_argo0) {
6240 if (_argo0 == Py_None) { _arg0 = NULL; }
6241 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
6242 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_VisibleFromDocLine. Expected _wxStyledTextCtrl_p.");
6243 return NULL;
6244 }
6245 }
6246{
474c48f9 6247 PyThreadState* __tstate = wxPyBeginAllowThreads();
89c8ea73
RD
6248 _result = (int )wxStyledTextCtrl_VisibleFromDocLine(_arg0,_arg1);
6249
474c48f9
RD
6250 wxPyEndAllowThreads(__tstate);
6251 if (PyErr_Occurred()) return NULL;
89c8ea73
RD
6252} _resultobj = Py_BuildValue("i",_result);
6253 return _resultobj;
6254}
6255
6256#define wxStyledTextCtrl_DocLineFromVisible(_swigobj,_swigarg0) (_swigobj->DocLineFromVisible(_swigarg0))
6257static PyObject *_wrap_wxStyledTextCtrl_DocLineFromVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
6258 PyObject * _resultobj;
6259 int _result;
6260 wxStyledTextCtrl * _arg0;
6261 int _arg1;
6262 PyObject * _argo0 = 0;
6263 char *_kwnames[] = { "self","lineDisplay", NULL };
6264
6265 self = self;
6266 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_DocLineFromVisible",_kwnames,&_argo0,&_arg1))
6267 return NULL;
6268 if (_argo0) {
6269 if (_argo0 == Py_None) { _arg0 = NULL; }
6270 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
6271 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_DocLineFromVisible. Expected _wxStyledTextCtrl_p.");
6272 return NULL;
6273 }
6274 }
6275{
474c48f9 6276 PyThreadState* __tstate = wxPyBeginAllowThreads();
89c8ea73
RD
6277 _result = (int )wxStyledTextCtrl_DocLineFromVisible(_arg0,_arg1);
6278
474c48f9
RD
6279 wxPyEndAllowThreads(__tstate);
6280 if (PyErr_Occurred()) return NULL;
89c8ea73
RD
6281} _resultobj = Py_BuildValue("i",_result);
6282 return _resultobj;
6283}
6284
6285#define wxStyledTextCtrl_SetFoldLevel(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetFoldLevel(_swigarg0,_swigarg1))
6286static PyObject *_wrap_wxStyledTextCtrl_SetFoldLevel(PyObject *self, PyObject *args, PyObject *kwargs) {
6287 PyObject * _resultobj;
6288 wxStyledTextCtrl * _arg0;
6289 int _arg1;
6290 int _arg2;
6291 PyObject * _argo0 = 0;
6292 char *_kwnames[] = { "self","line","level", NULL };
6293
6294 self = self;
6295 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxStyledTextCtrl_SetFoldLevel",_kwnames,&_argo0,&_arg1,&_arg2))
6296 return NULL;
6297 if (_argo0) {
6298 if (_argo0 == Py_None) { _arg0 = NULL; }
6299 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
6300 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetFoldLevel. Expected _wxStyledTextCtrl_p.");
6301 return NULL;
6302 }
6303 }
6304{
474c48f9 6305 PyThreadState* __tstate = wxPyBeginAllowThreads();
89c8ea73
RD
6306 wxStyledTextCtrl_SetFoldLevel(_arg0,_arg1,_arg2);
6307
474c48f9
RD
6308 wxPyEndAllowThreads(__tstate);
6309 if (PyErr_Occurred()) return NULL;
89c8ea73
RD
6310} Py_INCREF(Py_None);
6311 _resultobj = Py_None;
6312 return _resultobj;
6313}
6314
6315#define wxStyledTextCtrl_GetFoldLevel(_swigobj,_swigarg0) (_swigobj->GetFoldLevel(_swigarg0))
6316static PyObject *_wrap_wxStyledTextCtrl_GetFoldLevel(PyObject *self, PyObject *args, PyObject *kwargs) {
6317 PyObject * _resultobj;
6318 int _result;
6319 wxStyledTextCtrl * _arg0;
6320 int _arg1;
6321 PyObject * _argo0 = 0;
6322 char *_kwnames[] = { "self","line", NULL };
6323
6324 self = self;
6325 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_GetFoldLevel",_kwnames,&_argo0,&_arg1))
6326 return NULL;
6327 if (_argo0) {
6328 if (_argo0 == Py_None) { _arg0 = NULL; }
6329 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
6330 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetFoldLevel. Expected _wxStyledTextCtrl_p.");
6331 return NULL;
6332 }
6333 }
6334{
474c48f9 6335 PyThreadState* __tstate = wxPyBeginAllowThreads();
89c8ea73
RD
6336 _result = (int )wxStyledTextCtrl_GetFoldLevel(_arg0,_arg1);
6337
474c48f9
RD
6338 wxPyEndAllowThreads(__tstate);
6339 if (PyErr_Occurred()) return NULL;
89c8ea73
RD
6340} _resultobj = Py_BuildValue("i",_result);
6341 return _resultobj;
6342}
6343
6344#define wxStyledTextCtrl_GetLastChild(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetLastChild(_swigarg0,_swigarg1))
6345static PyObject *_wrap_wxStyledTextCtrl_GetLastChild(PyObject *self, PyObject *args, PyObject *kwargs) {
6346 PyObject * _resultobj;
6347 int _result;
6348 wxStyledTextCtrl * _arg0;
6349 int _arg1;
6350 int _arg2;
6351 PyObject * _argo0 = 0;
6352 char *_kwnames[] = { "self","line","level", NULL };
6353
6354 self = self;
6355 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxStyledTextCtrl_GetLastChild",_kwnames,&_argo0,&_arg1,&_arg2))
6356 return NULL;
6357 if (_argo0) {
6358 if (_argo0 == Py_None) { _arg0 = NULL; }
6359 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
6360 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetLastChild. Expected _wxStyledTextCtrl_p.");
6361 return NULL;
6362 }
6363 }
6364{
474c48f9 6365 PyThreadState* __tstate = wxPyBeginAllowThreads();
89c8ea73
RD
6366 _result = (int )wxStyledTextCtrl_GetLastChild(_arg0,_arg1,_arg2);
6367
474c48f9
RD
6368 wxPyEndAllowThreads(__tstate);
6369 if (PyErr_Occurred()) return NULL;
89c8ea73
RD
6370} _resultobj = Py_BuildValue("i",_result);
6371 return _resultobj;
6372}
6373
6374#define wxStyledTextCtrl_GetFoldParent(_swigobj,_swigarg0) (_swigobj->GetFoldParent(_swigarg0))
6375static PyObject *_wrap_wxStyledTextCtrl_GetFoldParent(PyObject *self, PyObject *args, PyObject *kwargs) {
6376 PyObject * _resultobj;
6377 int _result;
6378 wxStyledTextCtrl * _arg0;
6379 int _arg1;
6380 PyObject * _argo0 = 0;
6381 char *_kwnames[] = { "self","line", NULL };
6382
6383 self = self;
6384 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_GetFoldParent",_kwnames,&_argo0,&_arg1))
6385 return NULL;
6386 if (_argo0) {
6387 if (_argo0 == Py_None) { _arg0 = NULL; }
6388 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
6389 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetFoldParent. Expected _wxStyledTextCtrl_p.");
6390 return NULL;
6391 }
6392 }
6393{
474c48f9 6394 PyThreadState* __tstate = wxPyBeginAllowThreads();
89c8ea73
RD
6395 _result = (int )wxStyledTextCtrl_GetFoldParent(_arg0,_arg1);
6396
474c48f9
RD
6397 wxPyEndAllowThreads(__tstate);
6398 if (PyErr_Occurred()) return NULL;
89c8ea73
RD
6399} _resultobj = Py_BuildValue("i",_result);
6400 return _resultobj;
6401}
6402
6403#define wxStyledTextCtrl_ShowLines(_swigobj,_swigarg0,_swigarg1) (_swigobj->ShowLines(_swigarg0,_swigarg1))
6404static PyObject *_wrap_wxStyledTextCtrl_ShowLines(PyObject *self, PyObject *args, PyObject *kwargs) {
6405 PyObject * _resultobj;
6406 wxStyledTextCtrl * _arg0;
6407 int _arg1;
6408 int _arg2;
6409 PyObject * _argo0 = 0;
6410 char *_kwnames[] = { "self","lineStart","lineEnd", NULL };
6411
6412 self = self;
6413 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxStyledTextCtrl_ShowLines",_kwnames,&_argo0,&_arg1,&_arg2))
6414 return NULL;
6415 if (_argo0) {
6416 if (_argo0 == Py_None) { _arg0 = NULL; }
6417 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
6418 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_ShowLines. Expected _wxStyledTextCtrl_p.");
6419 return NULL;
6420 }
6421 }
6422{
474c48f9 6423 PyThreadState* __tstate = wxPyBeginAllowThreads();
89c8ea73
RD
6424 wxStyledTextCtrl_ShowLines(_arg0,_arg1,_arg2);
6425
474c48f9
RD
6426 wxPyEndAllowThreads(__tstate);
6427 if (PyErr_Occurred()) return NULL;
89c8ea73
RD
6428} Py_INCREF(Py_None);
6429 _resultobj = Py_None;
6430 return _resultobj;
6431}
6432
6433#define wxStyledTextCtrl_HideLines(_swigobj,_swigarg0,_swigarg1) (_swigobj->HideLines(_swigarg0,_swigarg1))
6434static PyObject *_wrap_wxStyledTextCtrl_HideLines(PyObject *self, PyObject *args, PyObject *kwargs) {
6435 PyObject * _resultobj;
6436 wxStyledTextCtrl * _arg0;
6437 int _arg1;
6438 int _arg2;
6439 PyObject * _argo0 = 0;
6440 char *_kwnames[] = { "self","lineStart","lineEnd", NULL };
6441
6442 self = self;
6443 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxStyledTextCtrl_HideLines",_kwnames,&_argo0,&_arg1,&_arg2))
6444 return NULL;
6445 if (_argo0) {
6446 if (_argo0 == Py_None) { _arg0 = NULL; }
6447 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
6448 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_HideLines. Expected _wxStyledTextCtrl_p.");
6449 return NULL;
6450 }
6451 }
6452{
474c48f9 6453 PyThreadState* __tstate = wxPyBeginAllowThreads();
89c8ea73
RD
6454 wxStyledTextCtrl_HideLines(_arg0,_arg1,_arg2);
6455
474c48f9
RD
6456 wxPyEndAllowThreads(__tstate);
6457 if (PyErr_Occurred()) return NULL;
89c8ea73
RD
6458} Py_INCREF(Py_None);
6459 _resultobj = Py_None;
6460 return _resultobj;
6461}
6462
6463#define wxStyledTextCtrl_GetLineVisible(_swigobj,_swigarg0) (_swigobj->GetLineVisible(_swigarg0))
6464static PyObject *_wrap_wxStyledTextCtrl_GetLineVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
6465 PyObject * _resultobj;
6466 bool _result;
6467 wxStyledTextCtrl * _arg0;
6468 int _arg1;
6469 PyObject * _argo0 = 0;
6470 char *_kwnames[] = { "self","line", NULL };
6471
6472 self = self;
6473 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_GetLineVisible",_kwnames,&_argo0,&_arg1))
6474 return NULL;
6475 if (_argo0) {
6476 if (_argo0 == Py_None) { _arg0 = NULL; }
6477 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
6478 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetLineVisible. Expected _wxStyledTextCtrl_p.");
6479 return NULL;
6480 }
6481 }
6482{
474c48f9 6483 PyThreadState* __tstate = wxPyBeginAllowThreads();
89c8ea73
RD
6484 _result = (bool )wxStyledTextCtrl_GetLineVisible(_arg0,_arg1);
6485
474c48f9
RD
6486 wxPyEndAllowThreads(__tstate);
6487 if (PyErr_Occurred()) return NULL;
89c8ea73
RD
6488} _resultobj = Py_BuildValue("i",_result);
6489 return _resultobj;
6490}
6491
6492#define wxStyledTextCtrl_SetFoldExpanded(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetFoldExpanded(_swigarg0,_swigarg1))
6493static PyObject *_wrap_wxStyledTextCtrl_SetFoldExpanded(PyObject *self, PyObject *args, PyObject *kwargs) {
6494 PyObject * _resultobj;
6495 wxStyledTextCtrl * _arg0;
6496 int _arg1;
6497 bool _arg2;
6498 PyObject * _argo0 = 0;
6499 int tempbool2;
6500 char *_kwnames[] = { "self","line","expanded", NULL };
6501
6502 self = self;
6503 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxStyledTextCtrl_SetFoldExpanded",_kwnames,&_argo0,&_arg1,&tempbool2))
6504 return NULL;
6505 if (_argo0) {
6506 if (_argo0 == Py_None) { _arg0 = NULL; }
6507 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
6508 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetFoldExpanded. Expected _wxStyledTextCtrl_p.");
6509 return NULL;
6510 }
6511 }
6512 _arg2 = (bool ) tempbool2;
6513{
474c48f9 6514 PyThreadState* __tstate = wxPyBeginAllowThreads();
89c8ea73
RD
6515 wxStyledTextCtrl_SetFoldExpanded(_arg0,_arg1,_arg2);
6516
474c48f9
RD
6517 wxPyEndAllowThreads(__tstate);
6518 if (PyErr_Occurred()) return NULL;
89c8ea73
RD
6519} Py_INCREF(Py_None);
6520 _resultobj = Py_None;
6521 return _resultobj;
6522}
6523
6524#define wxStyledTextCtrl_GetFoldExpanded(_swigobj,_swigarg0) (_swigobj->GetFoldExpanded(_swigarg0))
6525static PyObject *_wrap_wxStyledTextCtrl_GetFoldExpanded(PyObject *self, PyObject *args, PyObject *kwargs) {
6526 PyObject * _resultobj;
6527 bool _result;
6528 wxStyledTextCtrl * _arg0;
6529 int _arg1;
6530 PyObject * _argo0 = 0;
6531 char *_kwnames[] = { "self","line", NULL };
6532
6533 self = self;
6534 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_GetFoldExpanded",_kwnames,&_argo0,&_arg1))
6535 return NULL;
6536 if (_argo0) {
6537 if (_argo0 == Py_None) { _arg0 = NULL; }
6538 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
6539 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetFoldExpanded. Expected _wxStyledTextCtrl_p.");
6540 return NULL;
6541 }
6542 }
6543{
474c48f9 6544 PyThreadState* __tstate = wxPyBeginAllowThreads();
89c8ea73
RD
6545 _result = (bool )wxStyledTextCtrl_GetFoldExpanded(_arg0,_arg1);
6546
474c48f9
RD
6547 wxPyEndAllowThreads(__tstate);
6548 if (PyErr_Occurred()) return NULL;
89c8ea73
RD
6549} _resultobj = Py_BuildValue("i",_result);
6550 return _resultobj;
6551}
6552
6553#define wxStyledTextCtrl_ToggleFold(_swigobj,_swigarg0) (_swigobj->ToggleFold(_swigarg0))
6554static PyObject *_wrap_wxStyledTextCtrl_ToggleFold(PyObject *self, PyObject *args, PyObject *kwargs) {
6555 PyObject * _resultobj;
6556 wxStyledTextCtrl * _arg0;
6557 int _arg1;
6558 PyObject * _argo0 = 0;
6559 char *_kwnames[] = { "self","line", NULL };
6560
6561 self = self;
6562 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_ToggleFold",_kwnames,&_argo0,&_arg1))
6563 return NULL;
6564 if (_argo0) {
6565 if (_argo0 == Py_None) { _arg0 = NULL; }
6566 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
6567 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_ToggleFold. Expected _wxStyledTextCtrl_p.");
6568 return NULL;
6569 }
6570 }
6571{
474c48f9 6572 PyThreadState* __tstate = wxPyBeginAllowThreads();
89c8ea73
RD
6573 wxStyledTextCtrl_ToggleFold(_arg0,_arg1);
6574
474c48f9
RD
6575 wxPyEndAllowThreads(__tstate);
6576 if (PyErr_Occurred()) return NULL;
89c8ea73
RD
6577} Py_INCREF(Py_None);
6578 _resultobj = Py_None;
6579 return _resultobj;
6580}
6581
6582#define wxStyledTextCtrl_EnsureVisible(_swigobj,_swigarg0) (_swigobj->EnsureVisible(_swigarg0))
6583static PyObject *_wrap_wxStyledTextCtrl_EnsureVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
6584 PyObject * _resultobj;
6585 wxStyledTextCtrl * _arg0;
6586 int _arg1;
6587 PyObject * _argo0 = 0;
6588 char *_kwnames[] = { "self","line", NULL };
6589
6590 self = self;
6591 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_EnsureVisible",_kwnames,&_argo0,&_arg1))
6592 return NULL;
6593 if (_argo0) {
6594 if (_argo0 == Py_None) { _arg0 = NULL; }
6595 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
6596 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_EnsureVisible. Expected _wxStyledTextCtrl_p.");
6597 return NULL;
6598 }
6599 }
6600{
474c48f9 6601 PyThreadState* __tstate = wxPyBeginAllowThreads();
89c8ea73
RD
6602 wxStyledTextCtrl_EnsureVisible(_arg0,_arg1);
6603
474c48f9
RD
6604 wxPyEndAllowThreads(__tstate);
6605 if (PyErr_Occurred()) return NULL;
89c8ea73
RD
6606} Py_INCREF(Py_None);
6607 _resultobj = Py_None;
6608 return _resultobj;
6609}
6610
6611#define wxStyledTextCtrl_SetFoldFlags(_swigobj,_swigarg0) (_swigobj->SetFoldFlags(_swigarg0))
6612static PyObject *_wrap_wxStyledTextCtrl_SetFoldFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
6613 PyObject * _resultobj;
6614 wxStyledTextCtrl * _arg0;
6615 int _arg1;
6616 PyObject * _argo0 = 0;
6617 char *_kwnames[] = { "self","flags", NULL };
6618
6619 self = self;
6620 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_SetFoldFlags",_kwnames,&_argo0,&_arg1))
6621 return NULL;
6622 if (_argo0) {
6623 if (_argo0 == Py_None) { _arg0 = NULL; }
6624 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
6625 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetFoldFlags. Expected _wxStyledTextCtrl_p.");
6626 return NULL;
6627 }
6628 }
6629{
474c48f9 6630 PyThreadState* __tstate = wxPyBeginAllowThreads();
89c8ea73
RD
6631 wxStyledTextCtrl_SetFoldFlags(_arg0,_arg1);
6632
474c48f9
RD
6633 wxPyEndAllowThreads(__tstate);
6634 if (PyErr_Occurred()) return NULL;
89c8ea73
RD
6635} Py_INCREF(Py_None);
6636 _resultobj = Py_None;
6637 return _resultobj;
6638}
6639
6640#define wxStyledTextCtrl_EnsureVisibleEnforcePolicy(_swigobj,_swigarg0) (_swigobj->EnsureVisibleEnforcePolicy(_swigarg0))
6641static PyObject *_wrap_wxStyledTextCtrl_EnsureVisibleEnforcePolicy(PyObject *self, PyObject *args, PyObject *kwargs) {
6642 PyObject * _resultobj;
6643 wxStyledTextCtrl * _arg0;
6644 int _arg1;
6645 PyObject * _argo0 = 0;
6646 char *_kwnames[] = { "self","line", NULL };
6647
6648 self = self;
6649 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_EnsureVisibleEnforcePolicy",_kwnames,&_argo0,&_arg1))
6650 return NULL;
6651 if (_argo0) {
6652 if (_argo0 == Py_None) { _arg0 = NULL; }
6653 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
6654 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_EnsureVisibleEnforcePolicy. Expected _wxStyledTextCtrl_p.");
6655 return NULL;
6656 }
6657 }
6658{
474c48f9 6659 PyThreadState* __tstate = wxPyBeginAllowThreads();
89c8ea73
RD
6660 wxStyledTextCtrl_EnsureVisibleEnforcePolicy(_arg0,_arg1);
6661
474c48f9
RD
6662 wxPyEndAllowThreads(__tstate);
6663 if (PyErr_Occurred()) return NULL;
89c8ea73
RD
6664} Py_INCREF(Py_None);
6665 _resultobj = Py_None;
6666 return _resultobj;
6667}
6668
6669#define wxStyledTextCtrl_SetTabIndents(_swigobj,_swigarg0) (_swigobj->SetTabIndents(_swigarg0))
6670static PyObject *_wrap_wxStyledTextCtrl_SetTabIndents(PyObject *self, PyObject *args, PyObject *kwargs) {
6671 PyObject * _resultobj;
6672 wxStyledTextCtrl * _arg0;
6673 bool _arg1;
6674 PyObject * _argo0 = 0;
6675 int tempbool1;
6676 char *_kwnames[] = { "self","tabIndents", NULL };
6677
6678 self = self;
6679 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_SetTabIndents",_kwnames,&_argo0,&tempbool1))
6680 return NULL;
6681 if (_argo0) {
6682 if (_argo0 == Py_None) { _arg0 = NULL; }
6683 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
6684 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetTabIndents. Expected _wxStyledTextCtrl_p.");
6685 return NULL;
6686 }
6687 }
6688 _arg1 = (bool ) tempbool1;
6689{
474c48f9 6690 PyThreadState* __tstate = wxPyBeginAllowThreads();
89c8ea73
RD
6691 wxStyledTextCtrl_SetTabIndents(_arg0,_arg1);
6692
474c48f9
RD
6693 wxPyEndAllowThreads(__tstate);
6694 if (PyErr_Occurred()) return NULL;
89c8ea73
RD
6695} Py_INCREF(Py_None);
6696 _resultobj = Py_None;
6697 return _resultobj;
6698}
6699
6700#define wxStyledTextCtrl_GetTabIndents(_swigobj) (_swigobj->GetTabIndents())
6701static PyObject *_wrap_wxStyledTextCtrl_GetTabIndents(PyObject *self, PyObject *args, PyObject *kwargs) {
6702 PyObject * _resultobj;
6703 bool _result;
6704 wxStyledTextCtrl * _arg0;
6705 PyObject * _argo0 = 0;
6706 char *_kwnames[] = { "self", NULL };
6707
6708 self = self;
6709 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetTabIndents",_kwnames,&_argo0))
6710 return NULL;
6711 if (_argo0) {
6712 if (_argo0 == Py_None) { _arg0 = NULL; }
6713 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
6714 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetTabIndents. Expected _wxStyledTextCtrl_p.");
6715 return NULL;
6716 }
6717 }
6718{
474c48f9 6719 PyThreadState* __tstate = wxPyBeginAllowThreads();
89c8ea73
RD
6720 _result = (bool )wxStyledTextCtrl_GetTabIndents(_arg0);
6721
474c48f9
RD
6722 wxPyEndAllowThreads(__tstate);
6723 if (PyErr_Occurred()) return NULL;
89c8ea73
RD
6724} _resultobj = Py_BuildValue("i",_result);
6725 return _resultobj;
6726}
6727
6728#define wxStyledTextCtrl_SetBackSpaceUnIndents(_swigobj,_swigarg0) (_swigobj->SetBackSpaceUnIndents(_swigarg0))
6729static PyObject *_wrap_wxStyledTextCtrl_SetBackSpaceUnIndents(PyObject *self, PyObject *args, PyObject *kwargs) {
6730 PyObject * _resultobj;
6731 wxStyledTextCtrl * _arg0;
6732 bool _arg1;
6733 PyObject * _argo0 = 0;
6734 int tempbool1;
6735 char *_kwnames[] = { "self","bsUnIndents", NULL };
6736
6737 self = self;
6738 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_SetBackSpaceUnIndents",_kwnames,&_argo0,&tempbool1))
6739 return NULL;
6740 if (_argo0) {
6741 if (_argo0 == Py_None) { _arg0 = NULL; }
6742 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
6743 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetBackSpaceUnIndents. Expected _wxStyledTextCtrl_p.");
6744 return NULL;
6745 }
6746 }
6747 _arg1 = (bool ) tempbool1;
6748{
474c48f9 6749 PyThreadState* __tstate = wxPyBeginAllowThreads();
89c8ea73
RD
6750 wxStyledTextCtrl_SetBackSpaceUnIndents(_arg0,_arg1);
6751
474c48f9
RD
6752 wxPyEndAllowThreads(__tstate);
6753 if (PyErr_Occurred()) return NULL;
89c8ea73
RD
6754} Py_INCREF(Py_None);
6755 _resultobj = Py_None;
6756 return _resultobj;
6757}
6758
6759#define wxStyledTextCtrl_GetBackSpaceUnIndents(_swigobj) (_swigobj->GetBackSpaceUnIndents())
6760static PyObject *_wrap_wxStyledTextCtrl_GetBackSpaceUnIndents(PyObject *self, PyObject *args, PyObject *kwargs) {
6761 PyObject * _resultobj;
6762 bool _result;
6763 wxStyledTextCtrl * _arg0;
6764 PyObject * _argo0 = 0;
6765 char *_kwnames[] = { "self", NULL };
6766
6767 self = self;
6768 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetBackSpaceUnIndents",_kwnames,&_argo0))
6769 return NULL;
6770 if (_argo0) {
6771 if (_argo0 == Py_None) { _arg0 = NULL; }
6772 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
6773 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetBackSpaceUnIndents. Expected _wxStyledTextCtrl_p.");
6774 return NULL;
6775 }
6776 }
6777{
474c48f9 6778 PyThreadState* __tstate = wxPyBeginAllowThreads();
89c8ea73
RD
6779 _result = (bool )wxStyledTextCtrl_GetBackSpaceUnIndents(_arg0);
6780
474c48f9
RD
6781 wxPyEndAllowThreads(__tstate);
6782 if (PyErr_Occurred()) return NULL;
89c8ea73
RD
6783} _resultobj = Py_BuildValue("i",_result);
6784 return _resultobj;
6785}
6786
6787#define wxStyledTextCtrl_SetMouseDwellTime(_swigobj,_swigarg0) (_swigobj->SetMouseDwellTime(_swigarg0))
6788static PyObject *_wrap_wxStyledTextCtrl_SetMouseDwellTime(PyObject *self, PyObject *args, PyObject *kwargs) {
6789 PyObject * _resultobj;
6790 wxStyledTextCtrl * _arg0;
6791 int _arg1;
6792 PyObject * _argo0 = 0;
6793 char *_kwnames[] = { "self","periodMilliseconds", NULL };
6794
6795 self = self;
6796 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_SetMouseDwellTime",_kwnames,&_argo0,&_arg1))
6797 return NULL;
6798 if (_argo0) {
6799 if (_argo0 == Py_None) { _arg0 = NULL; }
6800 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
6801 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetMouseDwellTime. Expected _wxStyledTextCtrl_p.");
6802 return NULL;
6803 }
6804 }
6805{
474c48f9 6806 PyThreadState* __tstate = wxPyBeginAllowThreads();
89c8ea73
RD
6807 wxStyledTextCtrl_SetMouseDwellTime(_arg0,_arg1);
6808
474c48f9
RD
6809 wxPyEndAllowThreads(__tstate);
6810 if (PyErr_Occurred()) return NULL;
89c8ea73
RD
6811} Py_INCREF(Py_None);
6812 _resultobj = Py_None;
6813 return _resultobj;
6814}
6815
6816#define wxStyledTextCtrl_GetMouseDwellTime(_swigobj) (_swigobj->GetMouseDwellTime())
6817static PyObject *_wrap_wxStyledTextCtrl_GetMouseDwellTime(PyObject *self, PyObject *args, PyObject *kwargs) {
6818 PyObject * _resultobj;
6819 int _result;
6820 wxStyledTextCtrl * _arg0;
6821 PyObject * _argo0 = 0;
6822 char *_kwnames[] = { "self", NULL };
6823
6824 self = self;
6825 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetMouseDwellTime",_kwnames,&_argo0))
6826 return NULL;
6827 if (_argo0) {
6828 if (_argo0 == Py_None) { _arg0 = NULL; }
6829 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
6830 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetMouseDwellTime. Expected _wxStyledTextCtrl_p.");
6831 return NULL;
6832 }
6833 }
6834{
474c48f9 6835 PyThreadState* __tstate = wxPyBeginAllowThreads();
89c8ea73
RD
6836 _result = (int )wxStyledTextCtrl_GetMouseDwellTime(_arg0);
6837
474c48f9
RD
6838 wxPyEndAllowThreads(__tstate);
6839 if (PyErr_Occurred()) return NULL;
89c8ea73
RD
6840} _resultobj = Py_BuildValue("i",_result);
6841 return _resultobj;
6842}
6843
6844#define wxStyledTextCtrl_MoveCaretInsideView(_swigobj) (_swigobj->MoveCaretInsideView())
6845static PyObject *_wrap_wxStyledTextCtrl_MoveCaretInsideView(PyObject *self, PyObject *args, PyObject *kwargs) {
6846 PyObject * _resultobj;
6847 wxStyledTextCtrl * _arg0;
6848 PyObject * _argo0 = 0;
6849 char *_kwnames[] = { "self", NULL };
6850
6851 self = self;
6852 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_MoveCaretInsideView",_kwnames,&_argo0))
6853 return NULL;
6854 if (_argo0) {
6855 if (_argo0 == Py_None) { _arg0 = NULL; }
6856 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
6857 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_MoveCaretInsideView. Expected _wxStyledTextCtrl_p.");
6858 return NULL;
6859 }
6860 }
6861{
474c48f9 6862 PyThreadState* __tstate = wxPyBeginAllowThreads();
89c8ea73
RD
6863 wxStyledTextCtrl_MoveCaretInsideView(_arg0);
6864
474c48f9
RD
6865 wxPyEndAllowThreads(__tstate);
6866 if (PyErr_Occurred()) return NULL;
89c8ea73
RD
6867} Py_INCREF(Py_None);
6868 _resultobj = Py_None;
6869 return _resultobj;
6870}
6871
6872#define wxStyledTextCtrl_LineLength(_swigobj,_swigarg0) (_swigobj->LineLength(_swigarg0))
6873static PyObject *_wrap_wxStyledTextCtrl_LineLength(PyObject *self, PyObject *args, PyObject *kwargs) {
6874 PyObject * _resultobj;
6875 int _result;
6876 wxStyledTextCtrl * _arg0;
6877 int _arg1;
6878 PyObject * _argo0 = 0;
6879 char *_kwnames[] = { "self","line", NULL };
6880
6881 self = self;
6882 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_LineLength",_kwnames,&_argo0,&_arg1))
6883 return NULL;
6884 if (_argo0) {
6885 if (_argo0 == Py_None) { _arg0 = NULL; }
6886 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
6887 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_LineLength. Expected _wxStyledTextCtrl_p.");
6888 return NULL;
6889 }
6890 }
6891{
474c48f9 6892 PyThreadState* __tstate = wxPyBeginAllowThreads();
89c8ea73
RD
6893 _result = (int )wxStyledTextCtrl_LineLength(_arg0,_arg1);
6894
474c48f9
RD
6895 wxPyEndAllowThreads(__tstate);
6896 if (PyErr_Occurred()) return NULL;
89c8ea73
RD
6897} _resultobj = Py_BuildValue("i",_result);
6898 return _resultobj;
6899}
6900
6901#define wxStyledTextCtrl_BraceHighlight(_swigobj,_swigarg0,_swigarg1) (_swigobj->BraceHighlight(_swigarg0,_swigarg1))
6902static PyObject *_wrap_wxStyledTextCtrl_BraceHighlight(PyObject *self, PyObject *args, PyObject *kwargs) {
6903 PyObject * _resultobj;
6904 wxStyledTextCtrl * _arg0;
6905 int _arg1;
6906 int _arg2;
6907 PyObject * _argo0 = 0;
6908 char *_kwnames[] = { "self","pos1","pos2", NULL };
6909
6910 self = self;
6911 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxStyledTextCtrl_BraceHighlight",_kwnames,&_argo0,&_arg1,&_arg2))
6912 return NULL;
6913 if (_argo0) {
6914 if (_argo0 == Py_None) { _arg0 = NULL; }
6915 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
6916 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_BraceHighlight. Expected _wxStyledTextCtrl_p.");
6917 return NULL;
6918 }
6919 }
6920{
474c48f9 6921 PyThreadState* __tstate = wxPyBeginAllowThreads();
89c8ea73
RD
6922 wxStyledTextCtrl_BraceHighlight(_arg0,_arg1,_arg2);
6923
474c48f9
RD
6924 wxPyEndAllowThreads(__tstate);
6925 if (PyErr_Occurred()) return NULL;
89c8ea73
RD
6926} Py_INCREF(Py_None);
6927 _resultobj = Py_None;
6928 return _resultobj;
6929}
6930
6931#define wxStyledTextCtrl_BraceBadLight(_swigobj,_swigarg0) (_swigobj->BraceBadLight(_swigarg0))
6932static PyObject *_wrap_wxStyledTextCtrl_BraceBadLight(PyObject *self, PyObject *args, PyObject *kwargs) {
6933 PyObject * _resultobj;
6934 wxStyledTextCtrl * _arg0;
6935 int _arg1;
6936 PyObject * _argo0 = 0;
6937 char *_kwnames[] = { "self","pos", NULL };
6938
6939 self = self;
6940 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_BraceBadLight",_kwnames,&_argo0,&_arg1))
6941 return NULL;
6942 if (_argo0) {
6943 if (_argo0 == Py_None) { _arg0 = NULL; }
6944 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
6945 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_BraceBadLight. Expected _wxStyledTextCtrl_p.");
6946 return NULL;
6947 }
6948 }
6949{
474c48f9 6950 PyThreadState* __tstate = wxPyBeginAllowThreads();
89c8ea73
RD
6951 wxStyledTextCtrl_BraceBadLight(_arg0,_arg1);
6952
474c48f9
RD
6953 wxPyEndAllowThreads(__tstate);
6954 if (PyErr_Occurred()) return NULL;
89c8ea73
RD
6955} Py_INCREF(Py_None);
6956 _resultobj = Py_None;
6957 return _resultobj;
6958}
6959
6960#define wxStyledTextCtrl_BraceMatch(_swigobj,_swigarg0) (_swigobj->BraceMatch(_swigarg0))
6961static PyObject *_wrap_wxStyledTextCtrl_BraceMatch(PyObject *self, PyObject *args, PyObject *kwargs) {
6962 PyObject * _resultobj;
6963 int _result;
6964 wxStyledTextCtrl * _arg0;
6965 int _arg1;
6966 PyObject * _argo0 = 0;
6967 char *_kwnames[] = { "self","pos", NULL };
6968
6969 self = self;
6970 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_BraceMatch",_kwnames,&_argo0,&_arg1))
6971 return NULL;
6972 if (_argo0) {
6973 if (_argo0 == Py_None) { _arg0 = NULL; }
6974 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
6975 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_BraceMatch. Expected _wxStyledTextCtrl_p.");
6976 return NULL;
6977 }
6978 }
6979{
474c48f9 6980 PyThreadState* __tstate = wxPyBeginAllowThreads();
89c8ea73
RD
6981 _result = (int )wxStyledTextCtrl_BraceMatch(_arg0,_arg1);
6982
474c48f9
RD
6983 wxPyEndAllowThreads(__tstate);
6984 if (PyErr_Occurred()) return NULL;
89c8ea73
RD
6985} _resultobj = Py_BuildValue("i",_result);
6986 return _resultobj;
6987}
6988
6989#define wxStyledTextCtrl_GetViewEOL(_swigobj) (_swigobj->GetViewEOL())
6990static PyObject *_wrap_wxStyledTextCtrl_GetViewEOL(PyObject *self, PyObject *args, PyObject *kwargs) {
6991 PyObject * _resultobj;
6992 bool _result;
6993 wxStyledTextCtrl * _arg0;
6994 PyObject * _argo0 = 0;
6995 char *_kwnames[] = { "self", NULL };
6996
6997 self = self;
6998 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetViewEOL",_kwnames,&_argo0))
6999 return NULL;
7000 if (_argo0) {
7001 if (_argo0 == Py_None) { _arg0 = NULL; }
7002 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
7003 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetViewEOL. Expected _wxStyledTextCtrl_p.");
7004 return NULL;
7005 }
7006 }
7007{
474c48f9 7008 PyThreadState* __tstate = wxPyBeginAllowThreads();
89c8ea73
RD
7009 _result = (bool )wxStyledTextCtrl_GetViewEOL(_arg0);
7010
474c48f9
RD
7011 wxPyEndAllowThreads(__tstate);
7012 if (PyErr_Occurred()) return NULL;
89c8ea73
RD
7013} _resultobj = Py_BuildValue("i",_result);
7014 return _resultobj;
7015}
7016
7017#define wxStyledTextCtrl_SetViewEOL(_swigobj,_swigarg0) (_swigobj->SetViewEOL(_swigarg0))
7018static PyObject *_wrap_wxStyledTextCtrl_SetViewEOL(PyObject *self, PyObject *args, PyObject *kwargs) {
7019 PyObject * _resultobj;
7020 wxStyledTextCtrl * _arg0;
7021 bool _arg1;
7022 PyObject * _argo0 = 0;
7023 int tempbool1;
7024 char *_kwnames[] = { "self","visible", NULL };
7025
7026 self = self;
7027 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_SetViewEOL",_kwnames,&_argo0,&tempbool1))
7028 return NULL;
7029 if (_argo0) {
7030 if (_argo0 == Py_None) { _arg0 = NULL; }
7031 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
7032 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetViewEOL. Expected _wxStyledTextCtrl_p.");
7033 return NULL;
7034 }
7035 }
7036 _arg1 = (bool ) tempbool1;
7037{
474c48f9 7038 PyThreadState* __tstate = wxPyBeginAllowThreads();
89c8ea73
RD
7039 wxStyledTextCtrl_SetViewEOL(_arg0,_arg1);
7040
474c48f9
RD
7041 wxPyEndAllowThreads(__tstate);
7042 if (PyErr_Occurred()) return NULL;
89c8ea73
RD
7043} Py_INCREF(Py_None);
7044 _resultobj = Py_None;
7045 return _resultobj;
7046}
7047
7048#define wxStyledTextCtrl_GetDocPointer(_swigobj) (_swigobj->GetDocPointer())
7049static PyObject *_wrap_wxStyledTextCtrl_GetDocPointer(PyObject *self, PyObject *args, PyObject *kwargs) {
7050 PyObject * _resultobj;
7051 void * _result;
7052 wxStyledTextCtrl * _arg0;
7053 PyObject * _argo0 = 0;
7054 char *_kwnames[] = { "self", NULL };
7055 char _ptemp[128];
7056
7057 self = self;
7058 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetDocPointer",_kwnames,&_argo0))
7059 return NULL;
7060 if (_argo0) {
7061 if (_argo0 == Py_None) { _arg0 = NULL; }
7062 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
7063 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetDocPointer. Expected _wxStyledTextCtrl_p.");
7064 return NULL;
7065 }
7066 }
7067{
474c48f9 7068 PyThreadState* __tstate = wxPyBeginAllowThreads();
89c8ea73
RD
7069 _result = (void *)wxStyledTextCtrl_GetDocPointer(_arg0);
7070
474c48f9
RD
7071 wxPyEndAllowThreads(__tstate);
7072 if (PyErr_Occurred()) return NULL;
89c8ea73
RD
7073} if (_result) {
7074 SWIG_MakePtr(_ptemp, (char *) _result,"_void_p");
7075 _resultobj = Py_BuildValue("s",_ptemp);
7076 } else {
7077 Py_INCREF(Py_None);
7078 _resultobj = Py_None;
7079 }
7080 return _resultobj;
7081}
7082
7083#define wxStyledTextCtrl_SetDocPointer(_swigobj,_swigarg0) (_swigobj->SetDocPointer(_swigarg0))
7084static PyObject *_wrap_wxStyledTextCtrl_SetDocPointer(PyObject *self, PyObject *args, PyObject *kwargs) {
7085 PyObject * _resultobj;
7086 wxStyledTextCtrl * _arg0;
7087 void * _arg1;
7088 PyObject * _argo0 = 0;
7089 PyObject * _argo1 = 0;
7090 char *_kwnames[] = { "self","docPointer", NULL };
7091
7092 self = self;
7093 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxStyledTextCtrl_SetDocPointer",_kwnames,&_argo0,&_argo1))
7094 return NULL;
7095 if (_argo0) {
7096 if (_argo0 == Py_None) { _arg0 = NULL; }
7097 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
7098 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetDocPointer. Expected _wxStyledTextCtrl_p.");
7099 return NULL;
7100 }
7101 }
7102 if (_argo1) {
7103 if (_argo1 == Py_None) { _arg1 = NULL; }
7104 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,(char *) 0 )) {
7105 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxStyledTextCtrl_SetDocPointer. Expected _void_p.");
7106 return NULL;
7107 }
7108 }
7109{
474c48f9 7110 PyThreadState* __tstate = wxPyBeginAllowThreads();
89c8ea73
RD
7111 wxStyledTextCtrl_SetDocPointer(_arg0,_arg1);
7112
474c48f9
RD
7113 wxPyEndAllowThreads(__tstate);
7114 if (PyErr_Occurred()) return NULL;
89c8ea73
RD
7115} Py_INCREF(Py_None);
7116 _resultobj = Py_None;
7117 return _resultobj;
7118}
7119
7120#define wxStyledTextCtrl_SetModEventMask(_swigobj,_swigarg0) (_swigobj->SetModEventMask(_swigarg0))
7121static PyObject *_wrap_wxStyledTextCtrl_SetModEventMask(PyObject *self, PyObject *args, PyObject *kwargs) {
7122 PyObject * _resultobj;
7123 wxStyledTextCtrl * _arg0;
7124 int _arg1;
7125 PyObject * _argo0 = 0;
7126 char *_kwnames[] = { "self","mask", NULL };
7127
7128 self = self;
7129 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_SetModEventMask",_kwnames,&_argo0,&_arg1))
7130 return NULL;
7131 if (_argo0) {
7132 if (_argo0 == Py_None) { _arg0 = NULL; }
7133 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
7134 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetModEventMask. Expected _wxStyledTextCtrl_p.");
7135 return NULL;
7136 }
7137 }
7138{
474c48f9 7139 PyThreadState* __tstate = wxPyBeginAllowThreads();
89c8ea73
RD
7140 wxStyledTextCtrl_SetModEventMask(_arg0,_arg1);
7141
474c48f9
RD
7142 wxPyEndAllowThreads(__tstate);
7143 if (PyErr_Occurred()) return NULL;
89c8ea73
RD
7144} Py_INCREF(Py_None);
7145 _resultobj = Py_None;
7146 return _resultobj;
7147}
7148
7149#define wxStyledTextCtrl_GetEdgeColumn(_swigobj) (_swigobj->GetEdgeColumn())
7150static PyObject *_wrap_wxStyledTextCtrl_GetEdgeColumn(PyObject *self, PyObject *args, PyObject *kwargs) {
7151 PyObject * _resultobj;
7152 int _result;
7153 wxStyledTextCtrl * _arg0;
7154 PyObject * _argo0 = 0;
7155 char *_kwnames[] = { "self", NULL };
7156
7157 self = self;
7158 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetEdgeColumn",_kwnames,&_argo0))
7159 return NULL;
7160 if (_argo0) {
7161 if (_argo0 == Py_None) { _arg0 = NULL; }
7162 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
7163 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetEdgeColumn. Expected _wxStyledTextCtrl_p.");
7164 return NULL;
7165 }
7166 }
7167{
474c48f9 7168 PyThreadState* __tstate = wxPyBeginAllowThreads();
89c8ea73
RD
7169 _result = (int )wxStyledTextCtrl_GetEdgeColumn(_arg0);
7170
474c48f9
RD
7171 wxPyEndAllowThreads(__tstate);
7172 if (PyErr_Occurred()) return NULL;
89c8ea73
RD
7173} _resultobj = Py_BuildValue("i",_result);
7174 return _resultobj;
7175}
7176
7177#define wxStyledTextCtrl_SetEdgeColumn(_swigobj,_swigarg0) (_swigobj->SetEdgeColumn(_swigarg0))
7178static PyObject *_wrap_wxStyledTextCtrl_SetEdgeColumn(PyObject *self, PyObject *args, PyObject *kwargs) {
7179 PyObject * _resultobj;
7180 wxStyledTextCtrl * _arg0;
7181 int _arg1;
7182 PyObject * _argo0 = 0;
7183 char *_kwnames[] = { "self","column", NULL };
7184
7185 self = self;
7186 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_SetEdgeColumn",_kwnames,&_argo0,&_arg1))
7187 return NULL;
7188 if (_argo0) {
7189 if (_argo0 == Py_None) { _arg0 = NULL; }
7190 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
7191 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetEdgeColumn. Expected _wxStyledTextCtrl_p.");
7192 return NULL;
7193 }
7194 }
7195{
474c48f9 7196 PyThreadState* __tstate = wxPyBeginAllowThreads();
89c8ea73
RD
7197 wxStyledTextCtrl_SetEdgeColumn(_arg0,_arg1);
7198
474c48f9
RD
7199 wxPyEndAllowThreads(__tstate);
7200 if (PyErr_Occurred()) return NULL;
89c8ea73
RD
7201} Py_INCREF(Py_None);
7202 _resultobj = Py_None;
7203 return _resultobj;
7204}
7205
7206#define wxStyledTextCtrl_GetEdgeMode(_swigobj) (_swigobj->GetEdgeMode())
7207static PyObject *_wrap_wxStyledTextCtrl_GetEdgeMode(PyObject *self, PyObject *args, PyObject *kwargs) {
7208 PyObject * _resultobj;
7209 int _result;
7210 wxStyledTextCtrl * _arg0;
7211 PyObject * _argo0 = 0;
7212 char *_kwnames[] = { "self", NULL };
7213
7214 self = self;
7215 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetEdgeMode",_kwnames,&_argo0))
7216 return NULL;
7217 if (_argo0) {
7218 if (_argo0 == Py_None) { _arg0 = NULL; }
7219 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
7220 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetEdgeMode. Expected _wxStyledTextCtrl_p.");
7221 return NULL;
7222 }
7223 }
7224{
474c48f9 7225 PyThreadState* __tstate = wxPyBeginAllowThreads();
89c8ea73
RD
7226 _result = (int )wxStyledTextCtrl_GetEdgeMode(_arg0);
7227
474c48f9
RD
7228 wxPyEndAllowThreads(__tstate);
7229 if (PyErr_Occurred()) return NULL;
89c8ea73
RD
7230} _resultobj = Py_BuildValue("i",_result);
7231 return _resultobj;
7232}
7233
7234#define wxStyledTextCtrl_SetEdgeMode(_swigobj,_swigarg0) (_swigobj->SetEdgeMode(_swigarg0))
7235static PyObject *_wrap_wxStyledTextCtrl_SetEdgeMode(PyObject *self, PyObject *args, PyObject *kwargs) {
7236 PyObject * _resultobj;
7237 wxStyledTextCtrl * _arg0;
7238 int _arg1;
7239 PyObject * _argo0 = 0;
7240 char *_kwnames[] = { "self","mode", NULL };
7241
7242 self = self;
7243 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_SetEdgeMode",_kwnames,&_argo0,&_arg1))
7244 return NULL;
7245 if (_argo0) {
7246 if (_argo0 == Py_None) { _arg0 = NULL; }
7247 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
7248 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetEdgeMode. Expected _wxStyledTextCtrl_p.");
7249 return NULL;
7250 }
7251 }
7252{
474c48f9 7253 PyThreadState* __tstate = wxPyBeginAllowThreads();
89c8ea73
RD
7254 wxStyledTextCtrl_SetEdgeMode(_arg0,_arg1);
7255
474c48f9
RD
7256 wxPyEndAllowThreads(__tstate);
7257 if (PyErr_Occurred()) return NULL;
89c8ea73
RD
7258} Py_INCREF(Py_None);
7259 _resultobj = Py_None;
7260 return _resultobj;
7261}
7262
7263#define wxStyledTextCtrl_GetEdgeColour(_swigobj) (_swigobj->GetEdgeColour())
7264static PyObject *_wrap_wxStyledTextCtrl_GetEdgeColour(PyObject *self, PyObject *args, PyObject *kwargs) {
7265 PyObject * _resultobj;
7266 wxColour * _result;
7267 wxStyledTextCtrl * _arg0;
7268 PyObject * _argo0 = 0;
7269 char *_kwnames[] = { "self", NULL };
7270 char _ptemp[128];
7271
7272 self = self;
7273 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetEdgeColour",_kwnames,&_argo0))
7274 return NULL;
7275 if (_argo0) {
7276 if (_argo0 == Py_None) { _arg0 = NULL; }
7277 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
7278 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetEdgeColour. Expected _wxStyledTextCtrl_p.");
7279 return NULL;
7280 }
7281 }
7282{
474c48f9 7283 PyThreadState* __tstate = wxPyBeginAllowThreads();
89c8ea73
RD
7284 _result = new wxColour (wxStyledTextCtrl_GetEdgeColour(_arg0));
7285
474c48f9
RD
7286 wxPyEndAllowThreads(__tstate);
7287 if (PyErr_Occurred()) return NULL;
89c8ea73
RD
7288} SWIG_MakePtr(_ptemp, (void *) _result,"_wxColour_p");
7289 _resultobj = Py_BuildValue("s",_ptemp);
7290 return _resultobj;
7291}
7292
7293#define wxStyledTextCtrl_SetEdgeColour(_swigobj,_swigarg0) (_swigobj->SetEdgeColour(_swigarg0))
7294static PyObject *_wrap_wxStyledTextCtrl_SetEdgeColour(PyObject *self, PyObject *args, PyObject *kwargs) {
7295 PyObject * _resultobj;
7296 wxStyledTextCtrl * _arg0;
7297 wxColour * _arg1;
7298 PyObject * _argo0 = 0;
7299 wxColour temp;
7300 PyObject * _obj1 = 0;
7301 char *_kwnames[] = { "self","edgeColour", NULL };
7302
7303 self = self;
7304 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxStyledTextCtrl_SetEdgeColour",_kwnames,&_argo0,&_obj1))
7305 return NULL;
7306 if (_argo0) {
7307 if (_argo0 == Py_None) { _arg0 = NULL; }
7308 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
7309 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetEdgeColour. Expected _wxStyledTextCtrl_p.");
7310 return NULL;
7311 }
7312 }
7313{
7314 _arg1 = &temp;
7315 if (! wxColour_helper(_obj1, &_arg1))
7316 return NULL;
7317}
7318{
474c48f9 7319 PyThreadState* __tstate = wxPyBeginAllowThreads();
89c8ea73
RD
7320 wxStyledTextCtrl_SetEdgeColour(_arg0,*_arg1);
7321
474c48f9
RD
7322 wxPyEndAllowThreads(__tstate);
7323 if (PyErr_Occurred()) return NULL;
89c8ea73
RD
7324} Py_INCREF(Py_None);
7325 _resultobj = Py_None;
7326 return _resultobj;
7327}
7328
7329#define wxStyledTextCtrl_SearchAnchor(_swigobj) (_swigobj->SearchAnchor())
7330static PyObject *_wrap_wxStyledTextCtrl_SearchAnchor(PyObject *self, PyObject *args, PyObject *kwargs) {
7331 PyObject * _resultobj;
7332 wxStyledTextCtrl * _arg0;
7333 PyObject * _argo0 = 0;
7334 char *_kwnames[] = { "self", NULL };
7335
7336 self = self;
7337 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_SearchAnchor",_kwnames,&_argo0))
7338 return NULL;
7339 if (_argo0) {
7340 if (_argo0 == Py_None) { _arg0 = NULL; }
7341 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
7342 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SearchAnchor. Expected _wxStyledTextCtrl_p.");
7343 return NULL;
7344 }
7345 }
7346{
474c48f9 7347 PyThreadState* __tstate = wxPyBeginAllowThreads();
89c8ea73
RD
7348 wxStyledTextCtrl_SearchAnchor(_arg0);
7349
474c48f9
RD
7350 wxPyEndAllowThreads(__tstate);
7351 if (PyErr_Occurred()) return NULL;
89c8ea73
RD
7352} Py_INCREF(Py_None);
7353 _resultobj = Py_None;
7354 return _resultobj;
7355}
7356
7357#define wxStyledTextCtrl_SearchNext(_swigobj,_swigarg0,_swigarg1) (_swigobj->SearchNext(_swigarg0,_swigarg1))
7358static PyObject *_wrap_wxStyledTextCtrl_SearchNext(PyObject *self, PyObject *args, PyObject *kwargs) {
7359 PyObject * _resultobj;
7360 int _result;
7361 wxStyledTextCtrl * _arg0;
7362 int _arg1;
7363 wxString * _arg2;
7364 PyObject * _argo0 = 0;
7365 PyObject * _obj2 = 0;
7366 char *_kwnames[] = { "self","flags","text", NULL };
7367
7368 self = self;
7369 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxStyledTextCtrl_SearchNext",_kwnames,&_argo0,&_arg1,&_obj2))
7370 return NULL;
7371 if (_argo0) {
7372 if (_argo0 == Py_None) { _arg0 = NULL; }
7373 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
7374 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SearchNext. Expected _wxStyledTextCtrl_p.");
7375 return NULL;
7376 }
7377 }
7378{
7379#if PYTHON_API_VERSION >= 1009
7380 char* tmpPtr; int tmpSize;
7381 if (!PyString_Check(_obj2) && !PyUnicode_Check(_obj2)) {
7382 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
7383 return NULL;
7384 }
7385 if (PyString_AsStringAndSize(_obj2, &tmpPtr, &tmpSize) == -1)
7386 return NULL;
7387 _arg2 = new wxString(tmpPtr, tmpSize);
7388#else
7389 if (!PyString_Check(_obj2)) {
7390 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
7391 return NULL;
7392 }
7393 _arg2 = new wxString(PyString_AS_STRING(_obj2), PyString_GET_SIZE(_obj2));
7394#endif
7395}
7396{
474c48f9 7397 PyThreadState* __tstate = wxPyBeginAllowThreads();
89c8ea73
RD
7398 _result = (int )wxStyledTextCtrl_SearchNext(_arg0,_arg1,*_arg2);
7399
474c48f9
RD
7400 wxPyEndAllowThreads(__tstate);
7401 if (PyErr_Occurred()) return NULL;
89c8ea73
RD
7402} _resultobj = Py_BuildValue("i",_result);
7403{
7404 if (_obj2)
7405 delete _arg2;
7406}
7407 return _resultobj;
7408}
7409
7410#define wxStyledTextCtrl_SearchPrev(_swigobj,_swigarg0,_swigarg1) (_swigobj->SearchPrev(_swigarg0,_swigarg1))
7411static PyObject *_wrap_wxStyledTextCtrl_SearchPrev(PyObject *self, PyObject *args, PyObject *kwargs) {
7412 PyObject * _resultobj;
7413 int _result;
7414 wxStyledTextCtrl * _arg0;
7415 int _arg1;
7416 wxString * _arg2;
7417 PyObject * _argo0 = 0;
7418 PyObject * _obj2 = 0;
7419 char *_kwnames[] = { "self","flags","text", NULL };
7420
7421 self = self;
7422 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxStyledTextCtrl_SearchPrev",_kwnames,&_argo0,&_arg1,&_obj2))
7423 return NULL;
7424 if (_argo0) {
7425 if (_argo0 == Py_None) { _arg0 = NULL; }
7426 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
7427 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SearchPrev. Expected _wxStyledTextCtrl_p.");
7428 return NULL;
7429 }
7430 }
7431{
7432#if PYTHON_API_VERSION >= 1009
7433 char* tmpPtr; int tmpSize;
7434 if (!PyString_Check(_obj2) && !PyUnicode_Check(_obj2)) {
7435 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
7436 return NULL;
7437 }
7438 if (PyString_AsStringAndSize(_obj2, &tmpPtr, &tmpSize) == -1)
7439 return NULL;
7440 _arg2 = new wxString(tmpPtr, tmpSize);
7441#else
7442 if (!PyString_Check(_obj2)) {
7443 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
7444 return NULL;
7445 }
7446 _arg2 = new wxString(PyString_AS_STRING(_obj2), PyString_GET_SIZE(_obj2));
7447#endif
7448}
7449{
474c48f9 7450 PyThreadState* __tstate = wxPyBeginAllowThreads();
89c8ea73
RD
7451 _result = (int )wxStyledTextCtrl_SearchPrev(_arg0,_arg1,*_arg2);
7452
474c48f9
RD
7453 wxPyEndAllowThreads(__tstate);
7454 if (PyErr_Occurred()) return NULL;
89c8ea73
RD
7455} _resultobj = Py_BuildValue("i",_result);
7456{
7457 if (_obj2)
7458 delete _arg2;
7459}
7460 return _resultobj;
7461}
7462
7463#define wxStyledTextCtrl_SetCaretPolicy(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetCaretPolicy(_swigarg0,_swigarg1))
7464static PyObject *_wrap_wxStyledTextCtrl_SetCaretPolicy(PyObject *self, PyObject *args, PyObject *kwargs) {
7465 PyObject * _resultobj;
7466 wxStyledTextCtrl * _arg0;
7467 int _arg1;
7468 int _arg2;
7469 PyObject * _argo0 = 0;
7470 char *_kwnames[] = { "self","caretPolicy","caretSlop", NULL };
7471
7472 self = self;
7473 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxStyledTextCtrl_SetCaretPolicy",_kwnames,&_argo0,&_arg1,&_arg2))
7474 return NULL;
7475 if (_argo0) {
7476 if (_argo0 == Py_None) { _arg0 = NULL; }
7477 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
7478 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetCaretPolicy. Expected _wxStyledTextCtrl_p.");
7479 return NULL;
7480 }
7481 }
7482{
474c48f9 7483 PyThreadState* __tstate = wxPyBeginAllowThreads();
89c8ea73
RD
7484 wxStyledTextCtrl_SetCaretPolicy(_arg0,_arg1,_arg2);
7485
474c48f9
RD
7486 wxPyEndAllowThreads(__tstate);
7487 if (PyErr_Occurred()) return NULL;
89c8ea73
RD
7488} Py_INCREF(Py_None);
7489 _resultobj = Py_None;
7490 return _resultobj;
7491}
7492
7493#define wxStyledTextCtrl_LinesOnScreen(_swigobj) (_swigobj->LinesOnScreen())
7494static PyObject *_wrap_wxStyledTextCtrl_LinesOnScreen(PyObject *self, PyObject *args, PyObject *kwargs) {
7495 PyObject * _resultobj;
7496 int _result;
7497 wxStyledTextCtrl * _arg0;
7498 PyObject * _argo0 = 0;
7499 char *_kwnames[] = { "self", NULL };
7500
7501 self = self;
7502 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_LinesOnScreen",_kwnames,&_argo0))
7503 return NULL;
7504 if (_argo0) {
7505 if (_argo0 == Py_None) { _arg0 = NULL; }
7506 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
7507 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_LinesOnScreen. Expected _wxStyledTextCtrl_p.");
7508 return NULL;
7509 }
7510 }
7511{
474c48f9 7512 PyThreadState* __tstate = wxPyBeginAllowThreads();
89c8ea73
RD
7513 _result = (int )wxStyledTextCtrl_LinesOnScreen(_arg0);
7514
474c48f9
RD
7515 wxPyEndAllowThreads(__tstate);
7516 if (PyErr_Occurred()) return NULL;
89c8ea73
RD
7517} _resultobj = Py_BuildValue("i",_result);
7518 return _resultobj;
7519}
7520
7521#define wxStyledTextCtrl_UsePopUp(_swigobj,_swigarg0) (_swigobj->UsePopUp(_swigarg0))
7522static PyObject *_wrap_wxStyledTextCtrl_UsePopUp(PyObject *self, PyObject *args, PyObject *kwargs) {
7523 PyObject * _resultobj;
7524 wxStyledTextCtrl * _arg0;
7525 bool _arg1;
7526 PyObject * _argo0 = 0;
7527 int tempbool1;
7528 char *_kwnames[] = { "self","allowPopUp", NULL };
7529
7530 self = self;
7531 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_UsePopUp",_kwnames,&_argo0,&tempbool1))
7532 return NULL;
7533 if (_argo0) {
7534 if (_argo0 == Py_None) { _arg0 = NULL; }
7535 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
7536 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_UsePopUp. Expected _wxStyledTextCtrl_p.");
7537 return NULL;
7538 }
7539 }
7540 _arg1 = (bool ) tempbool1;
7541{
474c48f9 7542 PyThreadState* __tstate = wxPyBeginAllowThreads();
89c8ea73
RD
7543 wxStyledTextCtrl_UsePopUp(_arg0,_arg1);
7544
474c48f9
RD
7545 wxPyEndAllowThreads(__tstate);
7546 if (PyErr_Occurred()) return NULL;
89c8ea73
RD
7547} Py_INCREF(Py_None);
7548 _resultobj = Py_None;
7549 return _resultobj;
7550}
7551
7552#define wxStyledTextCtrl_SelectionIsRectangle(_swigobj) (_swigobj->SelectionIsRectangle())
7553static PyObject *_wrap_wxStyledTextCtrl_SelectionIsRectangle(PyObject *self, PyObject *args, PyObject *kwargs) {
7554 PyObject * _resultobj;
7555 bool _result;
7556 wxStyledTextCtrl * _arg0;
7557 PyObject * _argo0 = 0;
7558 char *_kwnames[] = { "self", NULL };
7559
7560 self = self;
7561 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_SelectionIsRectangle",_kwnames,&_argo0))
7562 return NULL;
7563 if (_argo0) {
7564 if (_argo0 == Py_None) { _arg0 = NULL; }
7565 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
7566 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SelectionIsRectangle. Expected _wxStyledTextCtrl_p.");
7567 return NULL;
7568 }
7569 }
7570{
474c48f9 7571 PyThreadState* __tstate = wxPyBeginAllowThreads();
89c8ea73
RD
7572 _result = (bool )wxStyledTextCtrl_SelectionIsRectangle(_arg0);
7573
474c48f9
RD
7574 wxPyEndAllowThreads(__tstate);
7575 if (PyErr_Occurred()) return NULL;
89c8ea73
RD
7576} _resultobj = Py_BuildValue("i",_result);
7577 return _resultobj;
7578}
7579
7580#define wxStyledTextCtrl_SetZoom(_swigobj,_swigarg0) (_swigobj->SetZoom(_swigarg0))
7581static PyObject *_wrap_wxStyledTextCtrl_SetZoom(PyObject *self, PyObject *args, PyObject *kwargs) {
7582 PyObject * _resultobj;
7583 wxStyledTextCtrl * _arg0;
7584 int _arg1;
7585 PyObject * _argo0 = 0;
7586 char *_kwnames[] = { "self","zoom", NULL };
7587
7588 self = self;
7589 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_SetZoom",_kwnames,&_argo0,&_arg1))
7590 return NULL;
7591 if (_argo0) {
7592 if (_argo0 == Py_None) { _arg0 = NULL; }
7593 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
7594 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetZoom. Expected _wxStyledTextCtrl_p.");
7595 return NULL;
7596 }
7597 }
7598{
474c48f9 7599 PyThreadState* __tstate = wxPyBeginAllowThreads();
89c8ea73
RD
7600 wxStyledTextCtrl_SetZoom(_arg0,_arg1);
7601
474c48f9
RD
7602 wxPyEndAllowThreads(__tstate);
7603 if (PyErr_Occurred()) return NULL;
89c8ea73
RD
7604} Py_INCREF(Py_None);
7605 _resultobj = Py_None;
7606 return _resultobj;
7607}
7608
7609#define wxStyledTextCtrl_GetZoom(_swigobj) (_swigobj->GetZoom())
7610static PyObject *_wrap_wxStyledTextCtrl_GetZoom(PyObject *self, PyObject *args, PyObject *kwargs) {
7611 PyObject * _resultobj;
7612 int _result;
7613 wxStyledTextCtrl * _arg0;
7614 PyObject * _argo0 = 0;
7615 char *_kwnames[] = { "self", NULL };
7616
7617 self = self;
7618 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetZoom",_kwnames,&_argo0))
7619 return NULL;
7620 if (_argo0) {
7621 if (_argo0 == Py_None) { _arg0 = NULL; }
7622 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
7623 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetZoom. Expected _wxStyledTextCtrl_p.");
7624 return NULL;
7625 }
7626 }
7627{
474c48f9 7628 PyThreadState* __tstate = wxPyBeginAllowThreads();
89c8ea73
RD
7629 _result = (int )wxStyledTextCtrl_GetZoom(_arg0);
7630
474c48f9
RD
7631 wxPyEndAllowThreads(__tstate);
7632 if (PyErr_Occurred()) return NULL;
89c8ea73
RD
7633} _resultobj = Py_BuildValue("i",_result);
7634 return _resultobj;
7635}
7636
7637#define wxStyledTextCtrl_CreateDocument(_swigobj) (_swigobj->CreateDocument())
7638static PyObject *_wrap_wxStyledTextCtrl_CreateDocument(PyObject *self, PyObject *args, PyObject *kwargs) {
7639 PyObject * _resultobj;
7640 void * _result;
7641 wxStyledTextCtrl * _arg0;
7642 PyObject * _argo0 = 0;
7643 char *_kwnames[] = { "self", NULL };
7644 char _ptemp[128];
7645
7646 self = self;
7647 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_CreateDocument",_kwnames,&_argo0))
7648 return NULL;
7649 if (_argo0) {
7650 if (_argo0 == Py_None) { _arg0 = NULL; }
7651 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
7652 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_CreateDocument. Expected _wxStyledTextCtrl_p.");
7653 return NULL;
7654 }
7655 }
7656{
474c48f9 7657 PyThreadState* __tstate = wxPyBeginAllowThreads();
89c8ea73
RD
7658 _result = (void *)wxStyledTextCtrl_CreateDocument(_arg0);
7659
474c48f9
RD
7660 wxPyEndAllowThreads(__tstate);
7661 if (PyErr_Occurred()) return NULL;
89c8ea73
RD
7662} if (_result) {
7663 SWIG_MakePtr(_ptemp, (char *) _result,"_void_p");
7664 _resultobj = Py_BuildValue("s",_ptemp);
7665 } else {
7666 Py_INCREF(Py_None);
7667 _resultobj = Py_None;
7668 }
7669 return _resultobj;
7670}
7671
7672#define wxStyledTextCtrl_AddRefDocument(_swigobj,_swigarg0) (_swigobj->AddRefDocument(_swigarg0))
7673static PyObject *_wrap_wxStyledTextCtrl_AddRefDocument(PyObject *self, PyObject *args, PyObject *kwargs) {
7674 PyObject * _resultobj;
7675 wxStyledTextCtrl * _arg0;
7676 void * _arg1;
7677 PyObject * _argo0 = 0;
7678 PyObject * _argo1 = 0;
7679 char *_kwnames[] = { "self","docPointer", NULL };
7680
7681 self = self;
7682 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxStyledTextCtrl_AddRefDocument",_kwnames,&_argo0,&_argo1))
7683 return NULL;
7684 if (_argo0) {
7685 if (_argo0 == Py_None) { _arg0 = NULL; }
7686 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
7687 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_AddRefDocument. Expected _wxStyledTextCtrl_p.");
7688 return NULL;
7689 }
7690 }
7691 if (_argo1) {
7692 if (_argo1 == Py_None) { _arg1 = NULL; }
7693 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,(char *) 0 )) {
7694 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxStyledTextCtrl_AddRefDocument. Expected _void_p.");
7695 return NULL;
7696 }
7697 }
7698{
474c48f9 7699 PyThreadState* __tstate = wxPyBeginAllowThreads();
89c8ea73
RD
7700 wxStyledTextCtrl_AddRefDocument(_arg0,_arg1);
7701
474c48f9
RD
7702 wxPyEndAllowThreads(__tstate);
7703 if (PyErr_Occurred()) return NULL;
89c8ea73
RD
7704} Py_INCREF(Py_None);
7705 _resultobj = Py_None;
7706 return _resultobj;
7707}
7708
7709#define wxStyledTextCtrl_ReleaseDocument(_swigobj,_swigarg0) (_swigobj->ReleaseDocument(_swigarg0))
7710static PyObject *_wrap_wxStyledTextCtrl_ReleaseDocument(PyObject *self, PyObject *args, PyObject *kwargs) {
7711 PyObject * _resultobj;
7712 wxStyledTextCtrl * _arg0;
7713 void * _arg1;
7714 PyObject * _argo0 = 0;
7715 PyObject * _argo1 = 0;
7716 char *_kwnames[] = { "self","docPointer", NULL };
7717
7718 self = self;
7719 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxStyledTextCtrl_ReleaseDocument",_kwnames,&_argo0,&_argo1))
7720 return NULL;
7721 if (_argo0) {
7722 if (_argo0 == Py_None) { _arg0 = NULL; }
7723 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
7724 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_ReleaseDocument. Expected _wxStyledTextCtrl_p.");
7725 return NULL;
7726 }
7727 }
7728 if (_argo1) {
7729 if (_argo1 == Py_None) { _arg1 = NULL; }
7730 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,(char *) 0 )) {
7731 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxStyledTextCtrl_ReleaseDocument. Expected _void_p.");
7732 return NULL;
7733 }
7734 }
7735{
474c48f9 7736 PyThreadState* __tstate = wxPyBeginAllowThreads();
89c8ea73
RD
7737 wxStyledTextCtrl_ReleaseDocument(_arg0,_arg1);
7738
474c48f9
RD
7739 wxPyEndAllowThreads(__tstate);
7740 if (PyErr_Occurred()) return NULL;
89c8ea73
RD
7741} Py_INCREF(Py_None);
7742 _resultobj = Py_None;
7743 return _resultobj;
7744}
7745
7746#define wxStyledTextCtrl_GetModEventMask(_swigobj) (_swigobj->GetModEventMask())
7747static PyObject *_wrap_wxStyledTextCtrl_GetModEventMask(PyObject *self, PyObject *args, PyObject *kwargs) {
7748 PyObject * _resultobj;
7749 int _result;
7750 wxStyledTextCtrl * _arg0;
7751 PyObject * _argo0 = 0;
7752 char *_kwnames[] = { "self", NULL };
7753
7754 self = self;
7755 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetModEventMask",_kwnames,&_argo0))
7756 return NULL;
7757 if (_argo0) {
7758 if (_argo0 == Py_None) { _arg0 = NULL; }
7759 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
7760 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetModEventMask. Expected _wxStyledTextCtrl_p.");
7761 return NULL;
7762 }
7763 }
7764{
474c48f9 7765 PyThreadState* __tstate = wxPyBeginAllowThreads();
89c8ea73
RD
7766 _result = (int )wxStyledTextCtrl_GetModEventMask(_arg0);
7767
474c48f9
RD
7768 wxPyEndAllowThreads(__tstate);
7769 if (PyErr_Occurred()) return NULL;
89c8ea73
RD
7770} _resultobj = Py_BuildValue("i",_result);
7771 return _resultobj;
7772}
7773
7774#define wxStyledTextCtrl_SetSTCFocus(_swigobj,_swigarg0) (_swigobj->SetSTCFocus(_swigarg0))
7775static PyObject *_wrap_wxStyledTextCtrl_SetSTCFocus(PyObject *self, PyObject *args, PyObject *kwargs) {
7776 PyObject * _resultobj;
7777 wxStyledTextCtrl * _arg0;
7778 bool _arg1;
7779 PyObject * _argo0 = 0;
7780 int tempbool1;
7781 char *_kwnames[] = { "self","focus", NULL };
7782
7783 self = self;
7784 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_SetSTCFocus",_kwnames,&_argo0,&tempbool1))
7785 return NULL;
7786 if (_argo0) {
7787 if (_argo0 == Py_None) { _arg0 = NULL; }
7788 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
7789 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetSTCFocus. Expected _wxStyledTextCtrl_p.");
7790 return NULL;
7791 }
7792 }
7793 _arg1 = (bool ) tempbool1;
7794{
474c48f9 7795 PyThreadState* __tstate = wxPyBeginAllowThreads();
89c8ea73
RD
7796 wxStyledTextCtrl_SetSTCFocus(_arg0,_arg1);
7797
474c48f9
RD
7798 wxPyEndAllowThreads(__tstate);
7799 if (PyErr_Occurred()) return NULL;
89c8ea73
RD
7800} Py_INCREF(Py_None);
7801 _resultobj = Py_None;
7802 return _resultobj;
7803}
7804
7805#define wxStyledTextCtrl_GetSTCFocus(_swigobj) (_swigobj->GetSTCFocus())
7806static PyObject *_wrap_wxStyledTextCtrl_GetSTCFocus(PyObject *self, PyObject *args, PyObject *kwargs) {
7807 PyObject * _resultobj;
7808 bool _result;
7809 wxStyledTextCtrl * _arg0;
7810 PyObject * _argo0 = 0;
7811 char *_kwnames[] = { "self", NULL };
7812
7813 self = self;
7814 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetSTCFocus",_kwnames,&_argo0))
7815 return NULL;
7816 if (_argo0) {
7817 if (_argo0 == Py_None) { _arg0 = NULL; }
7818 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
7819 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetSTCFocus. Expected _wxStyledTextCtrl_p.");
7820 return NULL;
7821 }
7822 }
7823{
474c48f9 7824 PyThreadState* __tstate = wxPyBeginAllowThreads();
89c8ea73
RD
7825 _result = (bool )wxStyledTextCtrl_GetSTCFocus(_arg0);
7826
474c48f9
RD
7827 wxPyEndAllowThreads(__tstate);
7828 if (PyErr_Occurred()) return NULL;
89c8ea73
RD
7829} _resultobj = Py_BuildValue("i",_result);
7830 return _resultobj;
7831}
7832
7833#define wxStyledTextCtrl_SetStatus(_swigobj,_swigarg0) (_swigobj->SetStatus(_swigarg0))
7834static PyObject *_wrap_wxStyledTextCtrl_SetStatus(PyObject *self, PyObject *args, PyObject *kwargs) {
7835 PyObject * _resultobj;
7836 wxStyledTextCtrl * _arg0;
7837 int _arg1;
7838 PyObject * _argo0 = 0;
7839 char *_kwnames[] = { "self","statusCode", NULL };
7840
7841 self = self;
7842 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_SetStatus",_kwnames,&_argo0,&_arg1))
7843 return NULL;
7844 if (_argo0) {
7845 if (_argo0 == Py_None) { _arg0 = NULL; }
7846 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
7847 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetStatus. Expected _wxStyledTextCtrl_p.");
7848 return NULL;
7849 }
7850 }
7851{
474c48f9 7852 PyThreadState* __tstate = wxPyBeginAllowThreads();
89c8ea73
RD
7853 wxStyledTextCtrl_SetStatus(_arg0,_arg1);
7854
474c48f9
RD
7855 wxPyEndAllowThreads(__tstate);
7856 if (PyErr_Occurred()) return NULL;
89c8ea73
RD
7857} Py_INCREF(Py_None);
7858 _resultobj = Py_None;
7859 return _resultobj;
7860}
7861
7862#define wxStyledTextCtrl_GetStatus(_swigobj) (_swigobj->GetStatus())
7863static PyObject *_wrap_wxStyledTextCtrl_GetStatus(PyObject *self, PyObject *args, PyObject *kwargs) {
7864 PyObject * _resultobj;
7865 int _result;
7866 wxStyledTextCtrl * _arg0;
7867 PyObject * _argo0 = 0;
7868 char *_kwnames[] = { "self", NULL };
7869
7870 self = self;
7871 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetStatus",_kwnames,&_argo0))
7872 return NULL;
7873 if (_argo0) {
7874 if (_argo0 == Py_None) { _arg0 = NULL; }
7875 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
7876 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetStatus. Expected _wxStyledTextCtrl_p.");
7877 return NULL;
7878 }
7879 }
7880{
474c48f9 7881 PyThreadState* __tstate = wxPyBeginAllowThreads();
89c8ea73
RD
7882 _result = (int )wxStyledTextCtrl_GetStatus(_arg0);
7883
474c48f9
RD
7884 wxPyEndAllowThreads(__tstate);
7885 if (PyErr_Occurred()) return NULL;
89c8ea73
RD
7886} _resultobj = Py_BuildValue("i",_result);
7887 return _resultobj;
7888}
7889
7890#define wxStyledTextCtrl_SetMouseDownCaptures(_swigobj,_swigarg0) (_swigobj->SetMouseDownCaptures(_swigarg0))
7891static PyObject *_wrap_wxStyledTextCtrl_SetMouseDownCaptures(PyObject *self, PyObject *args, PyObject *kwargs) {
7892 PyObject * _resultobj;
7893 wxStyledTextCtrl * _arg0;
7894 bool _arg1;
7895 PyObject * _argo0 = 0;
7896 int tempbool1;
7897 char *_kwnames[] = { "self","captures", NULL };
7898
7899 self = self;
7900 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_SetMouseDownCaptures",_kwnames,&_argo0,&tempbool1))
7901 return NULL;
7902 if (_argo0) {
7903 if (_argo0 == Py_None) { _arg0 = NULL; }
7904 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
7905 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetMouseDownCaptures. Expected _wxStyledTextCtrl_p.");
7906 return NULL;
7907 }
7908 }
7909 _arg1 = (bool ) tempbool1;
7910{
474c48f9 7911 PyThreadState* __tstate = wxPyBeginAllowThreads();
89c8ea73
RD
7912 wxStyledTextCtrl_SetMouseDownCaptures(_arg0,_arg1);
7913
474c48f9
RD
7914 wxPyEndAllowThreads(__tstate);
7915 if (PyErr_Occurred()) return NULL;
89c8ea73
RD
7916} Py_INCREF(Py_None);
7917 _resultobj = Py_None;
7918 return _resultobj;
7919}
7920
7921#define wxStyledTextCtrl_GetMouseDownCaptures(_swigobj) (_swigobj->GetMouseDownCaptures())
7922static PyObject *_wrap_wxStyledTextCtrl_GetMouseDownCaptures(PyObject *self, PyObject *args, PyObject *kwargs) {
7923 PyObject * _resultobj;
7924 bool _result;
7925 wxStyledTextCtrl * _arg0;
7926 PyObject * _argo0 = 0;
7927 char *_kwnames[] = { "self", NULL };
7928
7929 self = self;
7930 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetMouseDownCaptures",_kwnames,&_argo0))
7931 return NULL;
7932 if (_argo0) {
7933 if (_argo0 == Py_None) { _arg0 = NULL; }
7934 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
7935 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetMouseDownCaptures. Expected _wxStyledTextCtrl_p.");
7936 return NULL;
7937 }
7938 }
7939{
474c48f9 7940 PyThreadState* __tstate = wxPyBeginAllowThreads();
89c8ea73
RD
7941 _result = (bool )wxStyledTextCtrl_GetMouseDownCaptures(_arg0);
7942
474c48f9
RD
7943 wxPyEndAllowThreads(__tstate);
7944 if (PyErr_Occurred()) return NULL;
89c8ea73
RD
7945} _resultobj = Py_BuildValue("i",_result);
7946 return _resultobj;
7947}
7948
7949#define wxStyledTextCtrl_SetCursor(_swigobj,_swigarg0) (_swigobj->SetCursor(_swigarg0))
7950static PyObject *_wrap_wxStyledTextCtrl_SetCursor(PyObject *self, PyObject *args, PyObject *kwargs) {
7951 PyObject * _resultobj;
7952 wxStyledTextCtrl * _arg0;
7953 int _arg1;
7954 PyObject * _argo0 = 0;
7955 char *_kwnames[] = { "self","cursorType", NULL };
7956
7957 self = self;
7958 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_SetCursor",_kwnames,&_argo0,&_arg1))
7959 return NULL;
7960 if (_argo0) {
7961 if (_argo0 == Py_None) { _arg0 = NULL; }
7962 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
7963 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetCursor. Expected _wxStyledTextCtrl_p.");
7964 return NULL;
7965 }
7966 }
7967{
474c48f9 7968 PyThreadState* __tstate = wxPyBeginAllowThreads();
89c8ea73
RD
7969 wxStyledTextCtrl_SetCursor(_arg0,_arg1);
7970
474c48f9
RD
7971 wxPyEndAllowThreads(__tstate);
7972 if (PyErr_Occurred()) return NULL;
89c8ea73
RD
7973} Py_INCREF(Py_None);
7974 _resultobj = Py_None;
7975 return _resultobj;
7976}
7977
7978#define wxStyledTextCtrl_GetCursor(_swigobj) (_swigobj->GetCursor())
7979static PyObject *_wrap_wxStyledTextCtrl_GetCursor(PyObject *self, PyObject *args, PyObject *kwargs) {
7980 PyObject * _resultobj;
7981 int _result;
7982 wxStyledTextCtrl * _arg0;
7983 PyObject * _argo0 = 0;
7984 char *_kwnames[] = { "self", NULL };
7985
7986 self = self;
7987 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetCursor",_kwnames,&_argo0))
7988 return NULL;
7989 if (_argo0) {
7990 if (_argo0 == Py_None) { _arg0 = NULL; }
7991 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
7992 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetCursor. Expected _wxStyledTextCtrl_p.");
7993 return NULL;
7994 }
7995 }
7996{
474c48f9 7997 PyThreadState* __tstate = wxPyBeginAllowThreads();
89c8ea73
RD
7998 _result = (int )wxStyledTextCtrl_GetCursor(_arg0);
7999
474c48f9
RD
8000 wxPyEndAllowThreads(__tstate);
8001 if (PyErr_Occurred()) return NULL;
89c8ea73
RD
8002} _resultobj = Py_BuildValue("i",_result);
8003 return _resultobj;
8004}
8005
8006#define wxStyledTextCtrl_WordPartLeft(_swigobj) (_swigobj->WordPartLeft())
8007static PyObject *_wrap_wxStyledTextCtrl_WordPartLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
8008 PyObject * _resultobj;
8009 wxStyledTextCtrl * _arg0;
8010 PyObject * _argo0 = 0;
8011 char *_kwnames[] = { "self", NULL };
8012
8013 self = self;
8014 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_WordPartLeft",_kwnames,&_argo0))
8015 return NULL;
8016 if (_argo0) {
8017 if (_argo0 == Py_None) { _arg0 = NULL; }
8018 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
8019 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_WordPartLeft. Expected _wxStyledTextCtrl_p.");
8020 return NULL;
8021 }
8022 }
8023{
474c48f9 8024 PyThreadState* __tstate = wxPyBeginAllowThreads();
89c8ea73
RD
8025 wxStyledTextCtrl_WordPartLeft(_arg0);
8026
474c48f9
RD
8027 wxPyEndAllowThreads(__tstate);
8028 if (PyErr_Occurred()) return NULL;
89c8ea73
RD
8029} Py_INCREF(Py_None);
8030 _resultobj = Py_None;
8031 return _resultobj;
8032}
8033
8034#define wxStyledTextCtrl_WordPartLeftExtend(_swigobj) (_swigobj->WordPartLeftExtend())
8035static PyObject *_wrap_wxStyledTextCtrl_WordPartLeftExtend(PyObject *self, PyObject *args, PyObject *kwargs) {
8036 PyObject * _resultobj;
8037 wxStyledTextCtrl * _arg0;
8038 PyObject * _argo0 = 0;
8039 char *_kwnames[] = { "self", NULL };
8040
8041 self = self;
8042 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_WordPartLeftExtend",_kwnames,&_argo0))
8043 return NULL;
8044 if (_argo0) {
8045 if (_argo0 == Py_None) { _arg0 = NULL; }
8046 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
8047 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_WordPartLeftExtend. Expected _wxStyledTextCtrl_p.");
8048 return NULL;
8049 }
8050 }
8051{
474c48f9 8052 PyThreadState* __tstate = wxPyBeginAllowThreads();
89c8ea73
RD
8053 wxStyledTextCtrl_WordPartLeftExtend(_arg0);
8054
474c48f9
RD
8055 wxPyEndAllowThreads(__tstate);
8056 if (PyErr_Occurred()) return NULL;
89c8ea73
RD
8057} Py_INCREF(Py_None);
8058 _resultobj = Py_None;
8059 return _resultobj;
8060}
8061
8062#define wxStyledTextCtrl_WordPartRight(_swigobj) (_swigobj->WordPartRight())
8063static PyObject *_wrap_wxStyledTextCtrl_WordPartRight(PyObject *self, PyObject *args, PyObject *kwargs) {
8064 PyObject * _resultobj;
8065 wxStyledTextCtrl * _arg0;
8066 PyObject * _argo0 = 0;
8067 char *_kwnames[] = { "self", NULL };
8068
8069 self = self;
8070 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_WordPartRight",_kwnames,&_argo0))
8071 return NULL;
8072 if (_argo0) {
8073 if (_argo0 == Py_None) { _arg0 = NULL; }
8074 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
8075 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_WordPartRight. Expected _wxStyledTextCtrl_p.");
8076 return NULL;
8077 }
8078 }
8079{
474c48f9 8080 PyThreadState* __tstate = wxPyBeginAllowThreads();
89c8ea73
RD
8081 wxStyledTextCtrl_WordPartRight(_arg0);
8082
474c48f9
RD
8083 wxPyEndAllowThreads(__tstate);
8084 if (PyErr_Occurred()) return NULL;
89c8ea73
RD
8085} Py_INCREF(Py_None);
8086 _resultobj = Py_None;
8087 return _resultobj;
8088}
8089
8090#define wxStyledTextCtrl_WordPartRightExtend(_swigobj) (_swigobj->WordPartRightExtend())
8091static PyObject *_wrap_wxStyledTextCtrl_WordPartRightExtend(PyObject *self, PyObject *args, PyObject *kwargs) {
8092 PyObject * _resultobj;
8093 wxStyledTextCtrl * _arg0;
8094 PyObject * _argo0 = 0;
8095 char *_kwnames[] = { "self", NULL };
8096
8097 self = self;
8098 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_WordPartRightExtend",_kwnames,&_argo0))
8099 return NULL;
8100 if (_argo0) {
8101 if (_argo0 == Py_None) { _arg0 = NULL; }
8102 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
8103 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_WordPartRightExtend. Expected _wxStyledTextCtrl_p.");
8104 return NULL;
8105 }
8106 }
8107{
474c48f9 8108 PyThreadState* __tstate = wxPyBeginAllowThreads();
89c8ea73
RD
8109 wxStyledTextCtrl_WordPartRightExtend(_arg0);
8110
474c48f9
RD
8111 wxPyEndAllowThreads(__tstate);
8112 if (PyErr_Occurred()) return NULL;
89c8ea73
RD
8113} Py_INCREF(Py_None);
8114 _resultobj = Py_None;
8115 return _resultobj;
8116}
8117
8118#define wxStyledTextCtrl_SetVisiblePolicy(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetVisiblePolicy(_swigarg0,_swigarg1))
8119static PyObject *_wrap_wxStyledTextCtrl_SetVisiblePolicy(PyObject *self, PyObject *args, PyObject *kwargs) {
8120 PyObject * _resultobj;
8121 wxStyledTextCtrl * _arg0;
8122 int _arg1;
8123 int _arg2;
8124 PyObject * _argo0 = 0;
8125 char *_kwnames[] = { "self","visiblePolicy","visibleSlop", NULL };
8126
8127 self = self;
8128 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxStyledTextCtrl_SetVisiblePolicy",_kwnames,&_argo0,&_arg1,&_arg2))
8129 return NULL;
8130 if (_argo0) {
8131 if (_argo0 == Py_None) { _arg0 = NULL; }
8132 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
8133 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetVisiblePolicy. Expected _wxStyledTextCtrl_p.");
8134 return NULL;
8135 }
8136 }
8137{
474c48f9 8138 PyThreadState* __tstate = wxPyBeginAllowThreads();
89c8ea73
RD
8139 wxStyledTextCtrl_SetVisiblePolicy(_arg0,_arg1,_arg2);
8140
474c48f9
RD
8141 wxPyEndAllowThreads(__tstate);
8142 if (PyErr_Occurred()) return NULL;
89c8ea73
RD
8143} Py_INCREF(Py_None);
8144 _resultobj = Py_None;
8145 return _resultobj;
8146}
8147
8148#define wxStyledTextCtrl_DelLineLeft(_swigobj) (_swigobj->DelLineLeft())
8149static PyObject *_wrap_wxStyledTextCtrl_DelLineLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
8150 PyObject * _resultobj;
8151 wxStyledTextCtrl * _arg0;
8152 PyObject * _argo0 = 0;
8153 char *_kwnames[] = { "self", NULL };
8154
8155 self = self;
8156 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_DelLineLeft",_kwnames,&_argo0))
8157 return NULL;
8158 if (_argo0) {
8159 if (_argo0 == Py_None) { _arg0 = NULL; }
8160 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
8161 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_DelLineLeft. Expected _wxStyledTextCtrl_p.");
8162 return NULL;
8163 }
8164 }
8165{
474c48f9 8166 PyThreadState* __tstate = wxPyBeginAllowThreads();
89c8ea73
RD
8167 wxStyledTextCtrl_DelLineLeft(_arg0);
8168
474c48f9
RD
8169 wxPyEndAllowThreads(__tstate);
8170 if (PyErr_Occurred()) return NULL;
89c8ea73
RD
8171} Py_INCREF(Py_None);
8172 _resultobj = Py_None;
8173 return _resultobj;
8174}
8175
8176#define wxStyledTextCtrl_DelLineRight(_swigobj) (_swigobj->DelLineRight())
8177static PyObject *_wrap_wxStyledTextCtrl_DelLineRight(PyObject *self, PyObject *args, PyObject *kwargs) {
8178 PyObject * _resultobj;
8179 wxStyledTextCtrl * _arg0;
8180 PyObject * _argo0 = 0;
8181 char *_kwnames[] = { "self", NULL };
8182
8183 self = self;
8184 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_DelLineRight",_kwnames,&_argo0))
8185 return NULL;
8186 if (_argo0) {
8187 if (_argo0 == Py_None) { _arg0 = NULL; }
8188 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
8189 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_DelLineRight. Expected _wxStyledTextCtrl_p.");
8190 return NULL;
8191 }
8192 }
8193{
474c48f9 8194 PyThreadState* __tstate = wxPyBeginAllowThreads();
89c8ea73
RD
8195 wxStyledTextCtrl_DelLineRight(_arg0);
8196
474c48f9
RD
8197 wxPyEndAllowThreads(__tstate);
8198 if (PyErr_Occurred()) return NULL;
89c8ea73
RD
8199} Py_INCREF(Py_None);
8200 _resultobj = Py_None;
8201 return _resultobj;
8202}
8203
8204#define wxStyledTextCtrl_StartRecord(_swigobj) (_swigobj->StartRecord())
8205static PyObject *_wrap_wxStyledTextCtrl_StartRecord(PyObject *self, PyObject *args, PyObject *kwargs) {
8206 PyObject * _resultobj;
8207 wxStyledTextCtrl * _arg0;
8208 PyObject * _argo0 = 0;
8209 char *_kwnames[] = { "self", NULL };
8210
8211 self = self;
8212 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_StartRecord",_kwnames,&_argo0))
8213 return NULL;
8214 if (_argo0) {
8215 if (_argo0 == Py_None) { _arg0 = NULL; }
8216 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
8217 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_StartRecord. Expected _wxStyledTextCtrl_p.");
8218 return NULL;
8219 }
8220 }
8221{
474c48f9 8222 PyThreadState* __tstate = wxPyBeginAllowThreads();
89c8ea73
RD
8223 wxStyledTextCtrl_StartRecord(_arg0);
8224
474c48f9
RD
8225 wxPyEndAllowThreads(__tstate);
8226 if (PyErr_Occurred()) return NULL;
89c8ea73
RD
8227} Py_INCREF(Py_None);
8228 _resultobj = Py_None;
8229 return _resultobj;
8230}
8231
8232#define wxStyledTextCtrl_StopRecord(_swigobj) (_swigobj->StopRecord())
8233static PyObject *_wrap_wxStyledTextCtrl_StopRecord(PyObject *self, PyObject *args, PyObject *kwargs) {
8234 PyObject * _resultobj;
8235 wxStyledTextCtrl * _arg0;
8236 PyObject * _argo0 = 0;
8237 char *_kwnames[] = { "self", NULL };
8238
8239 self = self;
8240 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_StopRecord",_kwnames,&_argo0))
8241 return NULL;
8242 if (_argo0) {
8243 if (_argo0 == Py_None) { _arg0 = NULL; }
8244 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
8245 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_StopRecord. Expected _wxStyledTextCtrl_p.");
8246 return NULL;
8247 }
8248 }
8249{
474c48f9 8250 PyThreadState* __tstate = wxPyBeginAllowThreads();
89c8ea73
RD
8251 wxStyledTextCtrl_StopRecord(_arg0);
8252
474c48f9
RD
8253 wxPyEndAllowThreads(__tstate);
8254 if (PyErr_Occurred()) return NULL;
89c8ea73
RD
8255} Py_INCREF(Py_None);
8256 _resultobj = Py_None;
8257 return _resultobj;
8258}
8259
8260#define wxStyledTextCtrl_SetLexer(_swigobj,_swigarg0) (_swigobj->SetLexer(_swigarg0))
8261static PyObject *_wrap_wxStyledTextCtrl_SetLexer(PyObject *self, PyObject *args, PyObject *kwargs) {
8262 PyObject * _resultobj;
8263 wxStyledTextCtrl * _arg0;
8264 int _arg1;
8265 PyObject * _argo0 = 0;
8266 char *_kwnames[] = { "self","lexer", NULL };
8267
8268 self = self;
8269 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_SetLexer",_kwnames,&_argo0,&_arg1))
8270 return NULL;
8271 if (_argo0) {
8272 if (_argo0 == Py_None) { _arg0 = NULL; }
8273 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
8274 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetLexer. Expected _wxStyledTextCtrl_p.");
8275 return NULL;
8276 }
8277 }
8278{
474c48f9 8279 PyThreadState* __tstate = wxPyBeginAllowThreads();
89c8ea73
RD
8280 wxStyledTextCtrl_SetLexer(_arg0,_arg1);
8281
474c48f9
RD
8282 wxPyEndAllowThreads(__tstate);
8283 if (PyErr_Occurred()) return NULL;
89c8ea73
RD
8284} Py_INCREF(Py_None);
8285 _resultobj = Py_None;
8286 return _resultobj;
8287}
8288
8289#define wxStyledTextCtrl_GetLexer(_swigobj) (_swigobj->GetLexer())
8290static PyObject *_wrap_wxStyledTextCtrl_GetLexer(PyObject *self, PyObject *args, PyObject *kwargs) {
8291 PyObject * _resultobj;
8292 int _result;
8293 wxStyledTextCtrl * _arg0;
8294 PyObject * _argo0 = 0;
8295 char *_kwnames[] = { "self", NULL };
8296
8297 self = self;
8298 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetLexer",_kwnames,&_argo0))
8299 return NULL;
8300 if (_argo0) {
8301 if (_argo0 == Py_None) { _arg0 = NULL; }
8302 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
8303 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetLexer. Expected _wxStyledTextCtrl_p.");
8304 return NULL;
8305 }
8306 }
8307{
474c48f9 8308 PyThreadState* __tstate = wxPyBeginAllowThreads();
89c8ea73
RD
8309 _result = (int )wxStyledTextCtrl_GetLexer(_arg0);
8310
474c48f9
RD
8311 wxPyEndAllowThreads(__tstate);
8312 if (PyErr_Occurred()) return NULL;
89c8ea73
RD
8313} _resultobj = Py_BuildValue("i",_result);
8314 return _resultobj;
8315}
8316
8317#define wxStyledTextCtrl_Colourise(_swigobj,_swigarg0,_swigarg1) (_swigobj->Colourise(_swigarg0,_swigarg1))
8318static PyObject *_wrap_wxStyledTextCtrl_Colourise(PyObject *self, PyObject *args, PyObject *kwargs) {
8319 PyObject * _resultobj;
8320 wxStyledTextCtrl * _arg0;
8321 int _arg1;
8322 int _arg2;
8323 PyObject * _argo0 = 0;
8324 char *_kwnames[] = { "self","start","end", NULL };
8325
8326 self = self;
8327 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxStyledTextCtrl_Colourise",_kwnames,&_argo0,&_arg1,&_arg2))
8328 return NULL;
8329 if (_argo0) {
8330 if (_argo0 == Py_None) { _arg0 = NULL; }
8331 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
8332 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_Colourise. Expected _wxStyledTextCtrl_p.");
8333 return NULL;
8334 }
8335 }
8336{
474c48f9 8337 PyThreadState* __tstate = wxPyBeginAllowThreads();
89c8ea73
RD
8338 wxStyledTextCtrl_Colourise(_arg0,_arg1,_arg2);
8339
474c48f9
RD
8340 wxPyEndAllowThreads(__tstate);
8341 if (PyErr_Occurred()) return NULL;
89c8ea73
RD
8342} Py_INCREF(Py_None);
8343 _resultobj = Py_None;
8344 return _resultobj;
8345}
8346
8347#define wxStyledTextCtrl_SetProperty(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetProperty(_swigarg0,_swigarg1))
8348static PyObject *_wrap_wxStyledTextCtrl_SetProperty(PyObject *self, PyObject *args, PyObject *kwargs) {
8349 PyObject * _resultobj;
8350 wxStyledTextCtrl * _arg0;
8351 wxString * _arg1;
8352 wxString * _arg2;
8353 PyObject * _argo0 = 0;
8354 PyObject * _obj1 = 0;
8355 PyObject * _obj2 = 0;
8356 char *_kwnames[] = { "self","key","value", NULL };
8357
8358 self = self;
8359 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxStyledTextCtrl_SetProperty",_kwnames,&_argo0,&_obj1,&_obj2))
8360 return NULL;
8361 if (_argo0) {
8362 if (_argo0 == Py_None) { _arg0 = NULL; }
8363 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
8364 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetProperty. Expected _wxStyledTextCtrl_p.");
8365 return NULL;
8366 }
8367 }
8368{
8369#if PYTHON_API_VERSION >= 1009
8370 char* tmpPtr; int tmpSize;
8371 if (!PyString_Check(_obj1) && !PyUnicode_Check(_obj1)) {
8372 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
8373 return NULL;
8374 }
8375 if (PyString_AsStringAndSize(_obj1, &tmpPtr, &tmpSize) == -1)
8376 return NULL;
8377 _arg1 = new wxString(tmpPtr, tmpSize);
8378#else
8379 if (!PyString_Check(_obj1)) {
8380 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
8381 return NULL;
8382 }
8383 _arg1 = new wxString(PyString_AS_STRING(_obj1), PyString_GET_SIZE(_obj1));
8384#endif
8385}
8386{
8387#if PYTHON_API_VERSION >= 1009
8388 char* tmpPtr; int tmpSize;
8389 if (!PyString_Check(_obj2) && !PyUnicode_Check(_obj2)) {
8390 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
8391 return NULL;
8392 }
8393 if (PyString_AsStringAndSize(_obj2, &tmpPtr, &tmpSize) == -1)
8394 return NULL;
8395 _arg2 = new wxString(tmpPtr, tmpSize);
8396#else
8397 if (!PyString_Check(_obj2)) {
8398 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
8399 return NULL;
8400 }
8401 _arg2 = new wxString(PyString_AS_STRING(_obj2), PyString_GET_SIZE(_obj2));
8402#endif
8403}
8404{
474c48f9 8405 PyThreadState* __tstate = wxPyBeginAllowThreads();
89c8ea73
RD
8406 wxStyledTextCtrl_SetProperty(_arg0,*_arg1,*_arg2);
8407
474c48f9
RD
8408 wxPyEndAllowThreads(__tstate);
8409 if (PyErr_Occurred()) return NULL;
89c8ea73
RD
8410} Py_INCREF(Py_None);
8411 _resultobj = Py_None;
8412{
8413 if (_obj1)
8414 delete _arg1;
8415}
8416{
8417 if (_obj2)
8418 delete _arg2;
8419}
8420 return _resultobj;
8421}
8422
8423#define wxStyledTextCtrl_SetKeyWords(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetKeyWords(_swigarg0,_swigarg1))
8424static PyObject *_wrap_wxStyledTextCtrl_SetKeyWords(PyObject *self, PyObject *args, PyObject *kwargs) {
8425 PyObject * _resultobj;
8426 wxStyledTextCtrl * _arg0;
8427 int _arg1;
8428 wxString * _arg2;
8429 PyObject * _argo0 = 0;
8430 PyObject * _obj2 = 0;
8431 char *_kwnames[] = { "self","keywordSet","keyWords", NULL };
8432
8433 self = self;
8434 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxStyledTextCtrl_SetKeyWords",_kwnames,&_argo0,&_arg1,&_obj2))
8435 return NULL;
8436 if (_argo0) {
8437 if (_argo0 == Py_None) { _arg0 = NULL; }
8438 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
8439 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetKeyWords. Expected _wxStyledTextCtrl_p.");
8440 return NULL;
8441 }
8442 }
8443{
8444#if PYTHON_API_VERSION >= 1009
8445 char* tmpPtr; int tmpSize;
8446 if (!PyString_Check(_obj2) && !PyUnicode_Check(_obj2)) {
8447 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
8448 return NULL;
8449 }
8450 if (PyString_AsStringAndSize(_obj2, &tmpPtr, &tmpSize) == -1)
8451 return NULL;
8452 _arg2 = new wxString(tmpPtr, tmpSize);
8453#else
8454 if (!PyString_Check(_obj2)) {
8455 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
8456 return NULL;
8457 }
8458 _arg2 = new wxString(PyString_AS_STRING(_obj2), PyString_GET_SIZE(_obj2));
8459#endif
8460}
8461{
474c48f9 8462 PyThreadState* __tstate = wxPyBeginAllowThreads();
89c8ea73
RD
8463 wxStyledTextCtrl_SetKeyWords(_arg0,_arg1,*_arg2);
8464
474c48f9
RD
8465 wxPyEndAllowThreads(__tstate);
8466 if (PyErr_Occurred()) return NULL;
89c8ea73
RD
8467} Py_INCREF(Py_None);
8468 _resultobj = Py_None;
8469{
8470 if (_obj2)
8471 delete _arg2;
8472}
8473 return _resultobj;
8474}
8475
8476#define wxStyledTextCtrl_SetLexerLanguage(_swigobj,_swigarg0) (_swigobj->SetLexerLanguage(_swigarg0))
8477static PyObject *_wrap_wxStyledTextCtrl_SetLexerLanguage(PyObject *self, PyObject *args, PyObject *kwargs) {
8478 PyObject * _resultobj;
8479 wxStyledTextCtrl * _arg0;
8480 wxString * _arg1;
8481 PyObject * _argo0 = 0;
8482 PyObject * _obj1 = 0;
8483 char *_kwnames[] = { "self","language", NULL };
8484
8485 self = self;
8486 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxStyledTextCtrl_SetLexerLanguage",_kwnames,&_argo0,&_obj1))
8487 return NULL;
8488 if (_argo0) {
8489 if (_argo0 == Py_None) { _arg0 = NULL; }
8490 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
8491 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetLexerLanguage. Expected _wxStyledTextCtrl_p.");
8492 return NULL;
8493 }
8494 }
8495{
8496#if PYTHON_API_VERSION >= 1009
8497 char* tmpPtr; int tmpSize;
8498 if (!PyString_Check(_obj1) && !PyUnicode_Check(_obj1)) {
8499 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
8500 return NULL;
8501 }
8502 if (PyString_AsStringAndSize(_obj1, &tmpPtr, &tmpSize) == -1)
8503 return NULL;
8504 _arg1 = new wxString(tmpPtr, tmpSize);
8505#else
8506 if (!PyString_Check(_obj1)) {
8507 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
8508 return NULL;
8509 }
8510 _arg1 = new wxString(PyString_AS_STRING(_obj1), PyString_GET_SIZE(_obj1));
8511#endif
8512}
8513{
474c48f9 8514 PyThreadState* __tstate = wxPyBeginAllowThreads();
89c8ea73
RD
8515 wxStyledTextCtrl_SetLexerLanguage(_arg0,*_arg1);
8516
474c48f9
RD
8517 wxPyEndAllowThreads(__tstate);
8518 if (PyErr_Occurred()) return NULL;
89c8ea73
RD
8519} Py_INCREF(Py_None);
8520 _resultobj = Py_None;
8521{
8522 if (_obj1)
8523 delete _arg1;
8524}
8525 return _resultobj;
8526}
8527
8528#define wxStyledTextCtrl_GetCurrentLine(_swigobj) (_swigobj->GetCurrentLine())
8529static PyObject *_wrap_wxStyledTextCtrl_GetCurrentLine(PyObject *self, PyObject *args, PyObject *kwargs) {
8530 PyObject * _resultobj;
8531 int _result;
8532 wxStyledTextCtrl * _arg0;
8533 PyObject * _argo0 = 0;
8534 char *_kwnames[] = { "self", NULL };
8535
8536 self = self;
8537 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetCurrentLine",_kwnames,&_argo0))
8538 return NULL;
8539 if (_argo0) {
8540 if (_argo0 == Py_None) { _arg0 = NULL; }
8541 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
8542 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetCurrentLine. Expected _wxStyledTextCtrl_p.");
8543 return NULL;
8544 }
8545 }
8546{
474c48f9 8547 PyThreadState* __tstate = wxPyBeginAllowThreads();
89c8ea73
RD
8548 _result = (int )wxStyledTextCtrl_GetCurrentLine(_arg0);
8549
474c48f9
RD
8550 wxPyEndAllowThreads(__tstate);
8551 if (PyErr_Occurred()) return NULL;
89c8ea73
RD
8552} _resultobj = Py_BuildValue("i",_result);
8553 return _resultobj;
8554}
8555
8556#define wxStyledTextCtrl_StyleSetSpec(_swigobj,_swigarg0,_swigarg1) (_swigobj->StyleSetSpec(_swigarg0,_swigarg1))
8557static PyObject *_wrap_wxStyledTextCtrl_StyleSetSpec(PyObject *self, PyObject *args, PyObject *kwargs) {
8558 PyObject * _resultobj;
8559 wxStyledTextCtrl * _arg0;
8560 int _arg1;
8561 wxString * _arg2;
8562 PyObject * _argo0 = 0;
8563 PyObject * _obj2 = 0;
8564 char *_kwnames[] = { "self","styleNum","spec", NULL };
8565
8566 self = self;
8567 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxStyledTextCtrl_StyleSetSpec",_kwnames,&_argo0,&_arg1,&_obj2))
8568 return NULL;
8569 if (_argo0) {
8570 if (_argo0 == Py_None) { _arg0 = NULL; }
8571 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
8572 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_StyleSetSpec. Expected _wxStyledTextCtrl_p.");
8573 return NULL;
8574 }
8575 }
8576{
8577#if PYTHON_API_VERSION >= 1009
8578 char* tmpPtr; int tmpSize;
8579 if (!PyString_Check(_obj2) && !PyUnicode_Check(_obj2)) {
8580 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
8581 return NULL;
8582 }
8583 if (PyString_AsStringAndSize(_obj2, &tmpPtr, &tmpSize) == -1)
8584 return NULL;
8585 _arg2 = new wxString(tmpPtr, tmpSize);
8586#else
8587 if (!PyString_Check(_obj2)) {
8588 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
8589 return NULL;
8590 }
8591 _arg2 = new wxString(PyString_AS_STRING(_obj2), PyString_GET_SIZE(_obj2));
8592#endif
8593}
8594{
474c48f9 8595 PyThreadState* __tstate = wxPyBeginAllowThreads();
89c8ea73
RD
8596 wxStyledTextCtrl_StyleSetSpec(_arg0,_arg1,*_arg2);
8597
474c48f9
RD
8598 wxPyEndAllowThreads(__tstate);
8599 if (PyErr_Occurred()) return NULL;
89c8ea73
RD
8600} Py_INCREF(Py_None);
8601 _resultobj = Py_None;
8602{
8603 if (_obj2)
8604 delete _arg2;
8605}
8606 return _resultobj;
8607}
8608
8609#define wxStyledTextCtrl_StyleSetFont(_swigobj,_swigarg0,_swigarg1) (_swigobj->StyleSetFont(_swigarg0,_swigarg1))
8610static PyObject *_wrap_wxStyledTextCtrl_StyleSetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
8611 PyObject * _resultobj;
8612 wxStyledTextCtrl * _arg0;
8613 int _arg1;
8614 wxFont * _arg2;
8615 PyObject * _argo0 = 0;
8616 PyObject * _argo2 = 0;
8617 char *_kwnames[] = { "self","styleNum","font", NULL };
8618
8619 self = self;
8620 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxStyledTextCtrl_StyleSetFont",_kwnames,&_argo0,&_arg1,&_argo2))
8621 return NULL;
8622 if (_argo0) {
8623 if (_argo0 == Py_None) { _arg0 = NULL; }
8624 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
8625 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_StyleSetFont. Expected _wxStyledTextCtrl_p.");
8626 return NULL;
8627 }
8628 }
8629 if (_argo2) {
8630 if (_argo2 == Py_None) { _arg2 = NULL; }
8631 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxFont_p")) {
8632 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxStyledTextCtrl_StyleSetFont. Expected _wxFont_p.");
8633 return NULL;
8634 }
8635 }
8636{
474c48f9 8637 PyThreadState* __tstate = wxPyBeginAllowThreads();
89c8ea73
RD
8638 wxStyledTextCtrl_StyleSetFont(_arg0,_arg1,*_arg2);
8639
474c48f9
RD
8640 wxPyEndAllowThreads(__tstate);
8641 if (PyErr_Occurred()) return NULL;
89c8ea73
RD
8642} Py_INCREF(Py_None);
8643 _resultobj = Py_None;
8644 return _resultobj;
8645}
8646
8647#define wxStyledTextCtrl_StyleSetFontAttr(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->StyleSetFontAttr(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
8648static PyObject *_wrap_wxStyledTextCtrl_StyleSetFontAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
8649 PyObject * _resultobj;
8650 wxStyledTextCtrl * _arg0;
8651 int _arg1;
8652 int _arg2;
8653 wxString * _arg3;
8654 bool _arg4;
8655 bool _arg5;
8656 bool _arg6;
8657 PyObject * _argo0 = 0;
8658 PyObject * _obj3 = 0;
8659 int tempbool4;
8660 int tempbool5;
8661 int tempbool6;
8662 char *_kwnames[] = { "self","styleNum","size","faceName","bold","italic","underline", NULL };
8663
8664 self = self;
8665 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiiOiii:wxStyledTextCtrl_StyleSetFontAttr",_kwnames,&_argo0,&_arg1,&_arg2,&_obj3,&tempbool4,&tempbool5,&tempbool6))
8666 return NULL;
8667 if (_argo0) {
8668 if (_argo0 == Py_None) { _arg0 = NULL; }
8669 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
8670 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_StyleSetFontAttr. Expected _wxStyledTextCtrl_p.");
8671 return NULL;
8672 }
8673 }
8674{
8675#if PYTHON_API_VERSION >= 1009
8676 char* tmpPtr; int tmpSize;
8677 if (!PyString_Check(_obj3) && !PyUnicode_Check(_obj3)) {
8678 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
8679 return NULL;
8680 }
8681 if (PyString_AsStringAndSize(_obj3, &tmpPtr, &tmpSize) == -1)
8682 return NULL;
8683 _arg3 = new wxString(tmpPtr, tmpSize);
8684#else
8685 if (!PyString_Check(_obj3)) {
8686 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
8687 return NULL;
8688 }
8689 _arg3 = new wxString(PyString_AS_STRING(_obj3), PyString_GET_SIZE(_obj3));
8690#endif
8691}
8692 _arg4 = (bool ) tempbool4;
8693 _arg5 = (bool ) tempbool5;
8694 _arg6 = (bool ) tempbool6;
8695{
474c48f9 8696 PyThreadState* __tstate = wxPyBeginAllowThreads();
89c8ea73
RD
8697 wxStyledTextCtrl_StyleSetFontAttr(_arg0,_arg1,_arg2,*_arg3,_arg4,_arg5,_arg6);
8698
474c48f9
RD
8699 wxPyEndAllowThreads(__tstate);
8700 if (PyErr_Occurred()) return NULL;
89c8ea73
RD
8701} Py_INCREF(Py_None);
8702 _resultobj = Py_None;
8703{
8704 if (_obj3)
8705 delete _arg3;
8706}
8707 return _resultobj;
8708}
8709
8710#define wxStyledTextCtrl_CmdKeyExecute(_swigobj,_swigarg0) (_swigobj->CmdKeyExecute(_swigarg0))
8711static PyObject *_wrap_wxStyledTextCtrl_CmdKeyExecute(PyObject *self, PyObject *args, PyObject *kwargs) {
8712 PyObject * _resultobj;
8713 wxStyledTextCtrl * _arg0;
8714 int _arg1;
8715 PyObject * _argo0 = 0;
8716 char *_kwnames[] = { "self","cmd", NULL };
8717
8718 self = self;
8719 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_CmdKeyExecute",_kwnames,&_argo0,&_arg1))
8720 return NULL;
8721 if (_argo0) {
8722 if (_argo0 == Py_None) { _arg0 = NULL; }
8723 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
8724 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_CmdKeyExecute. Expected _wxStyledTextCtrl_p.");
8725 return NULL;
8726 }
8727 }
8728{
474c48f9 8729 PyThreadState* __tstate = wxPyBeginAllowThreads();
89c8ea73
RD
8730 wxStyledTextCtrl_CmdKeyExecute(_arg0,_arg1);
8731
474c48f9
RD
8732 wxPyEndAllowThreads(__tstate);
8733 if (PyErr_Occurred()) return NULL;
89c8ea73
RD
8734} Py_INCREF(Py_None);
8735 _resultobj = Py_None;
8736 return _resultobj;
8737}
8738
8739#define wxStyledTextCtrl_SetMargins(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetMargins(_swigarg0,_swigarg1))
8740static PyObject *_wrap_wxStyledTextCtrl_SetMargins(PyObject *self, PyObject *args, PyObject *kwargs) {
8741 PyObject * _resultobj;
8742 wxStyledTextCtrl * _arg0;
8743 int _arg1;
8744 int _arg2;
8745 PyObject * _argo0 = 0;
8746 char *_kwnames[] = { "self","left","right", NULL };
8747
8748 self = self;
8749 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxStyledTextCtrl_SetMargins",_kwnames,&_argo0,&_arg1,&_arg2))
8750 return NULL;
8751 if (_argo0) {
8752 if (_argo0 == Py_None) { _arg0 = NULL; }
8753 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
8754 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetMargins. Expected _wxStyledTextCtrl_p.");
8755 return NULL;
8756 }
8757 }
8758{
474c48f9 8759 PyThreadState* __tstate = wxPyBeginAllowThreads();
89c8ea73
RD
8760 wxStyledTextCtrl_SetMargins(_arg0,_arg1,_arg2);
8761
474c48f9
RD
8762 wxPyEndAllowThreads(__tstate);
8763 if (PyErr_Occurred()) return NULL;
89c8ea73
RD
8764} Py_INCREF(Py_None);
8765 _resultobj = Py_None;
8766 return _resultobj;
8767}
8768
8769#define wxStyledTextCtrl_GetSelection(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetSelection(_swigarg0,_swigarg1))
8770static PyObject *_wrap_wxStyledTextCtrl_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
8771 PyObject * _resultobj;
8772 wxStyledTextCtrl * _arg0;
8773 int * _arg1;
8774 int temp;
8775 int * _arg2;
8776 int temp0;
8777 PyObject * _argo0 = 0;
8778 char *_kwnames[] = { "self", NULL };
8779
8780 self = self;
8781{
8782 _arg1 = &temp;
8783}
8784{
8785 _arg2 = &temp0;
8786}
8787 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetSelection",_kwnames,&_argo0))
8788 return NULL;
8789 if (_argo0) {
8790 if (_argo0 == Py_None) { _arg0 = NULL; }
8791 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
8792 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetSelection. Expected _wxStyledTextCtrl_p.");
8793 return NULL;
8794 }
8795 }
8796{
474c48f9 8797 PyThreadState* __tstate = wxPyBeginAllowThreads();
89c8ea73
RD
8798 wxStyledTextCtrl_GetSelection(_arg0,_arg1,_arg2);
8799
474c48f9
RD
8800 wxPyEndAllowThreads(__tstate);
8801 if (PyErr_Occurred()) return NULL;
89c8ea73
RD
8802} Py_INCREF(Py_None);
8803 _resultobj = Py_None;
8804{
8805 PyObject *o;
8806 o = PyInt_FromLong((long) (*_arg1));
8807 _resultobj = t_output_helper(_resultobj, o);
8808}
8809{
8810 PyObject *o;
8811 o = PyInt_FromLong((long) (*_arg2));
8812 _resultobj = t_output_helper(_resultobj, o);
8813}
8814 return _resultobj;
8815}
8816
8817#define wxStyledTextCtrl_PointFromPosition(_swigobj,_swigarg0) (_swigobj->PointFromPosition(_swigarg0))
8818static PyObject *_wrap_wxStyledTextCtrl_PointFromPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
8819 PyObject * _resultobj;
8820 wxPoint * _result;
8821 wxStyledTextCtrl * _arg0;
8822 int _arg1;
8823 PyObject * _argo0 = 0;
8824 char *_kwnames[] = { "self","pos", NULL };
8825 char _ptemp[128];
8826
8827 self = self;
8828 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_PointFromPosition",_kwnames,&_argo0,&_arg1))
8829 return NULL;
8830 if (_argo0) {
8831 if (_argo0 == Py_None) { _arg0 = NULL; }
8832 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
8833 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_PointFromPosition. Expected _wxStyledTextCtrl_p.");
8834 return NULL;
8835 }
8836 }
8837{
474c48f9 8838 PyThreadState* __tstate = wxPyBeginAllowThreads();
89c8ea73
RD
8839 _result = new wxPoint (wxStyledTextCtrl_PointFromPosition(_arg0,_arg1));
8840
474c48f9
RD
8841 wxPyEndAllowThreads(__tstate);
8842 if (PyErr_Occurred()) return NULL;
89c8ea73
RD
8843} SWIG_MakePtr(_ptemp, (void *) _result,"_wxPoint_p");
8844 _resultobj = Py_BuildValue("s",_ptemp);
8845 return _resultobj;
8846}
8847
8848#define wxStyledTextCtrl_ScrollToLine(_swigobj,_swigarg0) (_swigobj->ScrollToLine(_swigarg0))
8849static PyObject *_wrap_wxStyledTextCtrl_ScrollToLine(PyObject *self, PyObject *args, PyObject *kwargs) {
8850 PyObject * _resultobj;
8851 wxStyledTextCtrl * _arg0;
8852 int _arg1;
8853 PyObject * _argo0 = 0;
8854 char *_kwnames[] = { "self","line", NULL };
8855
8856 self = self;
8857 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_ScrollToLine",_kwnames,&_argo0,&_arg1))
8858 return NULL;
8859 if (_argo0) {
8860 if (_argo0 == Py_None) { _arg0 = NULL; }
8861 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
8862 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_ScrollToLine. Expected _wxStyledTextCtrl_p.");
8863 return NULL;
8864 }
8865 }
8866{
474c48f9 8867 PyThreadState* __tstate = wxPyBeginAllowThreads();
89c8ea73
RD
8868 wxStyledTextCtrl_ScrollToLine(_arg0,_arg1);
8869
474c48f9
RD
8870 wxPyEndAllowThreads(__tstate);
8871 if (PyErr_Occurred()) return NULL;
89c8ea73
RD
8872} Py_INCREF(Py_None);
8873 _resultobj = Py_None;
8874 return _resultobj;
8875}
8876
8877#define wxStyledTextCtrl_ScrollToColumn(_swigobj,_swigarg0) (_swigobj->ScrollToColumn(_swigarg0))
8878static PyObject *_wrap_wxStyledTextCtrl_ScrollToColumn(PyObject *self, PyObject *args, PyObject *kwargs) {
8879 PyObject * _resultobj;
8880 wxStyledTextCtrl * _arg0;
8881 int _arg1;
8882 PyObject * _argo0 = 0;
8883 char *_kwnames[] = { "self","column", NULL };
8884
8885 self = self;
8886 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_ScrollToColumn",_kwnames,&_argo0,&_arg1))
8887 return NULL;
8888 if (_argo0) {
8889 if (_argo0 == Py_None) { _arg0 = NULL; }
8890 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
8891 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_ScrollToColumn. Expected _wxStyledTextCtrl_p.");
8892 return NULL;
8893 }
8894 }
8895{
474c48f9 8896 PyThreadState* __tstate = wxPyBeginAllowThreads();
89c8ea73
RD
8897 wxStyledTextCtrl_ScrollToColumn(_arg0,_arg1);
8898
474c48f9
RD
8899 wxPyEndAllowThreads(__tstate);
8900 if (PyErr_Occurred()) return NULL;
89c8ea73
RD
8901} Py_INCREF(Py_None);
8902 _resultobj = Py_None;
8903 return _resultobj;
8904}
8905
8906#define wxStyledTextCtrl_SendMsg(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SendMsg(_swigarg0,_swigarg1,_swigarg2))
8907static PyObject *_wrap_wxStyledTextCtrl_SendMsg(PyObject *self, PyObject *args, PyObject *kwargs) {
8908 PyObject * _resultobj;
8909 long _result;
8910 wxStyledTextCtrl * _arg0;
8911 int _arg1;
8912 long _arg2 = (long ) 0;
8913 long _arg3 = (long ) 0;
8914 PyObject * _argo0 = 0;
8915 char *_kwnames[] = { "self","msg","wp","lp", NULL };
8916
8917 self = self;
8918 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi|ll:wxStyledTextCtrl_SendMsg",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3))
8919 return NULL;
8920 if (_argo0) {
8921 if (_argo0 == Py_None) { _arg0 = NULL; }
8922 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
8923 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SendMsg. Expected _wxStyledTextCtrl_p.");
8924 return NULL;
8925 }
8926 }
8927{
474c48f9 8928 PyThreadState* __tstate = wxPyBeginAllowThreads();
89c8ea73
RD
8929 _result = (long )wxStyledTextCtrl_SendMsg(_arg0,_arg1,_arg2,_arg3);
8930
474c48f9
RD
8931 wxPyEndAllowThreads(__tstate);
8932 if (PyErr_Occurred()) return NULL;
89c8ea73
RD
8933} _resultobj = Py_BuildValue("l",_result);
8934 return _resultobj;
8935}
8936
6e8a778a
RD
8937#define wxStyledTextCtrl_SetVScrollBar(_swigobj,_swigarg0) (_swigobj->SetVScrollBar(_swigarg0))
8938static PyObject *_wrap_wxStyledTextCtrl_SetVScrollBar(PyObject *self, PyObject *args, PyObject *kwargs) {
8939 PyObject * _resultobj;
8940 wxStyledTextCtrl * _arg0;
8941 wxScrollBar * _arg1;
8942 PyObject * _argo0 = 0;
8943 PyObject * _argo1 = 0;
8944 char *_kwnames[] = { "self","bar", NULL };
8945
8946 self = self;
8947 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxStyledTextCtrl_SetVScrollBar",_kwnames,&_argo0,&_argo1))
8948 return NULL;
8949 if (_argo0) {
8950 if (_argo0 == Py_None) { _arg0 = NULL; }
8951 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
8952 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetVScrollBar. Expected _wxStyledTextCtrl_p.");
8953 return NULL;
8954 }
8955 }
8956 if (_argo1) {
8957 if (_argo1 == Py_None) { _arg1 = NULL; }
8958 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxScrollBar_p")) {
8959 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxStyledTextCtrl_SetVScrollBar. Expected _wxScrollBar_p.");
8960 return NULL;
8961 }
8962 }
8963{
474c48f9 8964 PyThreadState* __tstate = wxPyBeginAllowThreads();
6e8a778a
RD
8965 wxStyledTextCtrl_SetVScrollBar(_arg0,_arg1);
8966
474c48f9
RD
8967 wxPyEndAllowThreads(__tstate);
8968 if (PyErr_Occurred()) return NULL;
6e8a778a
RD
8969} Py_INCREF(Py_None);
8970 _resultobj = Py_None;
8971 return _resultobj;
8972}
8973
8974#define wxStyledTextCtrl_SetHScrollBar(_swigobj,_swigarg0) (_swigobj->SetHScrollBar(_swigarg0))
8975static PyObject *_wrap_wxStyledTextCtrl_SetHScrollBar(PyObject *self, PyObject *args, PyObject *kwargs) {
8976 PyObject * _resultobj;
8977 wxStyledTextCtrl * _arg0;
8978 wxScrollBar * _arg1;
8979 PyObject * _argo0 = 0;
8980 PyObject * _argo1 = 0;
8981 char *_kwnames[] = { "self","bar", NULL };
8982
8983 self = self;
8984 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxStyledTextCtrl_SetHScrollBar",_kwnames,&_argo0,&_argo1))
8985 return NULL;
8986 if (_argo0) {
8987 if (_argo0 == Py_None) { _arg0 = NULL; }
8988 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
8989 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetHScrollBar. Expected _wxStyledTextCtrl_p.");
8990 return NULL;
8991 }
8992 }
8993 if (_argo1) {
8994 if (_argo1 == Py_None) { _arg1 = NULL; }
8995 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxScrollBar_p")) {
8996 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxStyledTextCtrl_SetHScrollBar. Expected _wxScrollBar_p.");
8997 return NULL;
8998 }
8999 }
9000{
474c48f9 9001 PyThreadState* __tstate = wxPyBeginAllowThreads();
6e8a778a
RD
9002 wxStyledTextCtrl_SetHScrollBar(_arg0,_arg1);
9003
474c48f9
RD
9004 wxPyEndAllowThreads(__tstate);
9005 if (PyErr_Occurred()) return NULL;
6e8a778a
RD
9006} Py_INCREF(Py_None);
9007 _resultobj = Py_None;
9008 return _resultobj;
9009}
9010
89c8ea73
RD
9011static void *SwigwxStyledTextEventTowxCommandEvent(void *ptr) {
9012 wxStyledTextEvent *src;
9013 wxCommandEvent *dest;
9014 src = (wxStyledTextEvent *) ptr;
9015 dest = (wxCommandEvent *) src;
9016 return (void *) dest;
9017}
9018
9019static void *SwigwxStyledTextEventTowxEvent(void *ptr) {
9020 wxStyledTextEvent *src;
9021 wxEvent *dest;
9022 src = (wxStyledTextEvent *) ptr;
9023 dest = (wxEvent *) src;
9024 return (void *) dest;
9025}
9026
9027static void *SwigwxStyledTextEventTowxObject(void *ptr) {
9028 wxStyledTextEvent *src;
9029 wxObject *dest;
9030 src = (wxStyledTextEvent *) ptr;
9031 dest = (wxObject *) src;
9032 return (void *) dest;
9033}
9034
3e212503 9035#define new_wxStyledTextEvent(_swigarg0,_swigarg1) (new wxStyledTextEvent(_swigarg0,_swigarg1))
89c8ea73
RD
9036static PyObject *_wrap_new_wxStyledTextEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
9037 PyObject * _resultobj;
9038 wxStyledTextEvent * _result;
3e212503
RD
9039 wxEventType _arg0 = (wxEventType ) 0;
9040 int _arg1 = (int ) 0;
9041 char *_kwnames[] = { "commandType","id", NULL };
89c8ea73
RD
9042 char _ptemp[128];
9043
9044 self = self;
3e212503 9045 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"|ii:new_wxStyledTextEvent",_kwnames,&_arg0,&_arg1))
89c8ea73
RD
9046 return NULL;
9047{
474c48f9 9048 PyThreadState* __tstate = wxPyBeginAllowThreads();
3e212503 9049 _result = (wxStyledTextEvent *)new_wxStyledTextEvent(_arg0,_arg1);
89c8ea73 9050
474c48f9
RD
9051 wxPyEndAllowThreads(__tstate);
9052 if (PyErr_Occurred()) return NULL;
89c8ea73
RD
9053} if (_result) {
9054 SWIG_MakePtr(_ptemp, (char *) _result,"_wxStyledTextEvent_p");
9055 _resultobj = Py_BuildValue("s",_ptemp);
9056 } else {
9057 Py_INCREF(Py_None);
9058 _resultobj = Py_None;
9059 }
9060 return _resultobj;
9061}
9062
9063#define delete_wxStyledTextEvent(_swigobj) (delete _swigobj)
9064static PyObject *_wrap_delete_wxStyledTextEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
9065 PyObject * _resultobj;
9066 wxStyledTextEvent * _arg0;
9067 PyObject * _argo0 = 0;
9068 char *_kwnames[] = { "self", NULL };
9069
9070 self = self;
9071 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:delete_wxStyledTextEvent",_kwnames,&_argo0))
9072 return NULL;
9073 if (_argo0) {
9074 if (_argo0 == Py_None) { _arg0 = NULL; }
9075 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextEvent_p")) {
9076 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of delete_wxStyledTextEvent. Expected _wxStyledTextEvent_p.");
9077 return NULL;
9078 }
9079 }
9080{
474c48f9 9081 PyThreadState* __tstate = wxPyBeginAllowThreads();
89c8ea73
RD
9082 delete_wxStyledTextEvent(_arg0);
9083
474c48f9
RD
9084 wxPyEndAllowThreads(__tstate);
9085 if (PyErr_Occurred()) return NULL;
89c8ea73
RD
9086} Py_INCREF(Py_None);
9087 _resultobj = Py_None;
9088 return _resultobj;
9089}
9090
9091#define wxStyledTextEvent_SetPosition(_swigobj,_swigarg0) (_swigobj->SetPosition(_swigarg0))
9092static PyObject *_wrap_wxStyledTextEvent_SetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
9093 PyObject * _resultobj;
9094 wxStyledTextEvent * _arg0;
9095 int _arg1;
9096 PyObject * _argo0 = 0;
9097 char *_kwnames[] = { "self","pos", NULL };
9098
9099 self = self;
9100 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextEvent_SetPosition",_kwnames,&_argo0,&_arg1))
9101 return NULL;
9102 if (_argo0) {
9103 if (_argo0 == Py_None) { _arg0 = NULL; }
9104 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextEvent_p")) {
9105 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextEvent_SetPosition. Expected _wxStyledTextEvent_p.");
9106 return NULL;
9107 }
9108 }
9109{
474c48f9 9110 PyThreadState* __tstate = wxPyBeginAllowThreads();
89c8ea73
RD
9111 wxStyledTextEvent_SetPosition(_arg0,_arg1);
9112
474c48f9
RD
9113 wxPyEndAllowThreads(__tstate);
9114 if (PyErr_Occurred()) return NULL;
89c8ea73
RD
9115} Py_INCREF(Py_None);
9116 _resultobj = Py_None;
9117 return _resultobj;
9118}
9119
9120#define wxStyledTextEvent_SetKey(_swigobj,_swigarg0) (_swigobj->SetKey(_swigarg0))
9121static PyObject *_wrap_wxStyledTextEvent_SetKey(PyObject *self, PyObject *args, PyObject *kwargs) {
9122 PyObject * _resultobj;
9123 wxStyledTextEvent * _arg0;
9124 int _arg1;
9125 PyObject * _argo0 = 0;
9126 char *_kwnames[] = { "self","k", NULL };
9127
9128 self = self;
9129 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextEvent_SetKey",_kwnames,&_argo0,&_arg1))
9130 return NULL;
9131 if (_argo0) {
9132 if (_argo0 == Py_None) { _arg0 = NULL; }
9133 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextEvent_p")) {
9134 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextEvent_SetKey. Expected _wxStyledTextEvent_p.");
9135 return NULL;
9136 }
9137 }
9138{
474c48f9 9139 PyThreadState* __tstate = wxPyBeginAllowThreads();
89c8ea73
RD
9140 wxStyledTextEvent_SetKey(_arg0,_arg1);
9141
474c48f9
RD
9142 wxPyEndAllowThreads(__tstate);
9143 if (PyErr_Occurred()) return NULL;
89c8ea73
RD
9144} Py_INCREF(Py_None);
9145 _resultobj = Py_None;
9146 return _resultobj;
9147}
9148
9149#define wxStyledTextEvent_SetModifiers(_swigobj,_swigarg0) (_swigobj->SetModifiers(_swigarg0))
9150static PyObject *_wrap_wxStyledTextEvent_SetModifiers(PyObject *self, PyObject *args, PyObject *kwargs) {
9151 PyObject * _resultobj;
9152 wxStyledTextEvent * _arg0;
9153 int _arg1;
9154 PyObject * _argo0 = 0;
9155 char *_kwnames[] = { "self","m", NULL };
9156
9157 self = self;
9158 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextEvent_SetModifiers",_kwnames,&_argo0,&_arg1))
9159 return NULL;
9160 if (_argo0) {
9161 if (_argo0 == Py_None) { _arg0 = NULL; }
9162 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextEvent_p")) {
9163 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextEvent_SetModifiers. Expected _wxStyledTextEvent_p.");
9164 return NULL;
9165 }
9166 }
9167{
474c48f9 9168 PyThreadState* __tstate = wxPyBeginAllowThreads();
89c8ea73
RD
9169 wxStyledTextEvent_SetModifiers(_arg0,_arg1);
9170
474c48f9
RD
9171 wxPyEndAllowThreads(__tstate);
9172 if (PyErr_Occurred()) return NULL;
89c8ea73
RD
9173} Py_INCREF(Py_None);
9174 _resultobj = Py_None;
9175 return _resultobj;
9176}
9177
9178#define wxStyledTextEvent_SetModificationType(_swigobj,_swigarg0) (_swigobj->SetModificationType(_swigarg0))
9179static PyObject *_wrap_wxStyledTextEvent_SetModificationType(PyObject *self, PyObject *args, PyObject *kwargs) {
9180 PyObject * _resultobj;
9181 wxStyledTextEvent * _arg0;
9182 int _arg1;
9183 PyObject * _argo0 = 0;
9184 char *_kwnames[] = { "self","t", NULL };
9185
9186 self = self;
9187 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextEvent_SetModificationType",_kwnames,&_argo0,&_arg1))
9188 return NULL;
9189 if (_argo0) {
9190 if (_argo0 == Py_None) { _arg0 = NULL; }
9191 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextEvent_p")) {
9192 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextEvent_SetModificationType. Expected _wxStyledTextEvent_p.");
9193 return NULL;
9194 }
9195 }
9196{
474c48f9 9197 PyThreadState* __tstate = wxPyBeginAllowThreads();
89c8ea73
RD
9198 wxStyledTextEvent_SetModificationType(_arg0,_arg1);
9199
474c48f9
RD
9200 wxPyEndAllowThreads(__tstate);
9201 if (PyErr_Occurred()) return NULL;
89c8ea73
RD
9202} Py_INCREF(Py_None);
9203 _resultobj = Py_None;
9204 return _resultobj;
9205}
9206
9207#define wxStyledTextEvent_SetText(_swigobj,_swigarg0) (_swigobj->SetText(_swigarg0))
9208static PyObject *_wrap_wxStyledTextEvent_SetText(PyObject *self, PyObject *args, PyObject *kwargs) {
9209 PyObject * _resultobj;
9210 wxStyledTextEvent * _arg0;
9211 char * _arg1;
9212 PyObject * _argo0 = 0;
9213 char *_kwnames[] = { "self","t", NULL };
9214
9215 self = self;
9216 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Os:wxStyledTextEvent_SetText",_kwnames,&_argo0,&_arg1))
9217 return NULL;
9218 if (_argo0) {
9219 if (_argo0 == Py_None) { _arg0 = NULL; }
9220 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextEvent_p")) {
9221 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextEvent_SetText. Expected _wxStyledTextEvent_p.");
9222 return NULL;
9223 }
9224 }
9225{
474c48f9 9226 PyThreadState* __tstate = wxPyBeginAllowThreads();
89c8ea73
RD
9227 wxStyledTextEvent_SetText(_arg0,_arg1);
9228
474c48f9
RD
9229 wxPyEndAllowThreads(__tstate);
9230 if (PyErr_Occurred()) return NULL;
89c8ea73
RD
9231} Py_INCREF(Py_None);
9232 _resultobj = Py_None;
9233 return _resultobj;
9234}
9235
9236#define wxStyledTextEvent_SetLength(_swigobj,_swigarg0) (_swigobj->SetLength(_swigarg0))
9237static PyObject *_wrap_wxStyledTextEvent_SetLength(PyObject *self, PyObject *args, PyObject *kwargs) {
9238 PyObject * _resultobj;
9239 wxStyledTextEvent * _arg0;
9240 int _arg1;
9241 PyObject * _argo0 = 0;
9242 char *_kwnames[] = { "self","len", NULL };
9243
9244 self = self;
9245 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextEvent_SetLength",_kwnames,&_argo0,&_arg1))
9246 return NULL;
9247 if (_argo0) {
9248 if (_argo0 == Py_None) { _arg0 = NULL; }
9249 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextEvent_p")) {
9250 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextEvent_SetLength. Expected _wxStyledTextEvent_p.");
9251 return NULL;
9252 }
9253 }
9254{
474c48f9 9255 PyThreadState* __tstate = wxPyBeginAllowThreads();
89c8ea73
RD
9256 wxStyledTextEvent_SetLength(_arg0,_arg1);
9257
474c48f9
RD
9258 wxPyEndAllowThreads(__tstate);
9259 if (PyErr_Occurred()) return NULL;
89c8ea73
RD
9260} Py_INCREF(Py_None);
9261 _resultobj = Py_None;
9262 return _resultobj;
9263}
9264
9265#define wxStyledTextEvent_SetLinesAdded(_swigobj,_swigarg0) (_swigobj->SetLinesAdded(_swigarg0))
9266static PyObject *_wrap_wxStyledTextEvent_SetLinesAdded(PyObject *self, PyObject *args, PyObject *kwargs) {
9267 PyObject * _resultobj;
9268 wxStyledTextEvent * _arg0;
9269 int _arg1;
9270 PyObject * _argo0 = 0;
9271 char *_kwnames[] = { "self","num", NULL };
9272
9273 self = self;
9274 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextEvent_SetLinesAdded",_kwnames,&_argo0,&_arg1))
9275 return NULL;
9276 if (_argo0) {
9277 if (_argo0 == Py_None) { _arg0 = NULL; }
9278 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextEvent_p")) {
9279 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextEvent_SetLinesAdded. Expected _wxStyledTextEvent_p.");
9280 return NULL;
9281 }
9282 }
9283{
474c48f9 9284 PyThreadState* __tstate = wxPyBeginAllowThreads();
89c8ea73
RD
9285 wxStyledTextEvent_SetLinesAdded(_arg0,_arg1);
9286
474c48f9
RD
9287 wxPyEndAllowThreads(__tstate);
9288 if (PyErr_Occurred()) return NULL;
89c8ea73
RD
9289} Py_INCREF(Py_None);
9290 _resultobj = Py_None;
9291 return _resultobj;
9292}
9293
9294#define wxStyledTextEvent_SetLine(_swigobj,_swigarg0) (_swigobj->SetLine(_swigarg0))
9295static PyObject *_wrap_wxStyledTextEvent_SetLine(PyObject *self, PyObject *args, PyObject *kwargs) {
9296 PyObject * _resultobj;
9297 wxStyledTextEvent * _arg0;
9298 int _arg1;
9299 PyObject * _argo0 = 0;
9300 char *_kwnames[] = { "self","val", NULL };
9301
9302 self = self;
9303 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextEvent_SetLine",_kwnames,&_argo0,&_arg1))
9304 return NULL;
9305 if (_argo0) {
9306 if (_argo0 == Py_None) { _arg0 = NULL; }
9307 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextEvent_p")) {
9308 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextEvent_SetLine. Expected _wxStyledTextEvent_p.");
9309 return NULL;
9310 }
9311 }
9312{
474c48f9 9313 PyThreadState* __tstate = wxPyBeginAllowThreads();
89c8ea73
RD
9314 wxStyledTextEvent_SetLine(_arg0,_arg1);
9315
474c48f9
RD
9316 wxPyEndAllowThreads(__tstate);
9317 if (PyErr_Occurred()) return NULL;
89c8ea73
RD
9318} Py_INCREF(Py_None);
9319 _resultobj = Py_None;
9320 return _resultobj;
9321}
9322
9323#define wxStyledTextEvent_SetFoldLevelNow(_swigobj,_swigarg0) (_swigobj->SetFoldLevelNow(_swigarg0))
9324static PyObject *_wrap_wxStyledTextEvent_SetFoldLevelNow(PyObject *self, PyObject *args, PyObject *kwargs) {
9325 PyObject * _resultobj;
9326 wxStyledTextEvent * _arg0;
9327 int _arg1;
9328 PyObject * _argo0 = 0;
9329 char *_kwnames[] = { "self","val", NULL };
9330
9331 self = self;
9332 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextEvent_SetFoldLevelNow",_kwnames,&_argo0,&_arg1))
9333 return NULL;
9334 if (_argo0) {
9335 if (_argo0 == Py_None) { _arg0 = NULL; }
9336 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextEvent_p")) {
9337 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextEvent_SetFoldLevelNow. Expected _wxStyledTextEvent_p.");
9338 return NULL;
9339 }
9340 }
9341{
474c48f9 9342 PyThreadState* __tstate = wxPyBeginAllowThreads();
89c8ea73
RD
9343 wxStyledTextEvent_SetFoldLevelNow(_arg0,_arg1);
9344
474c48f9
RD
9345 wxPyEndAllowThreads(__tstate);
9346 if (PyErr_Occurred()) return NULL;
89c8ea73
RD
9347} Py_INCREF(Py_None);
9348 _resultobj = Py_None;
9349 return _resultobj;
9350}
9351
9352#define wxStyledTextEvent_SetFoldLevelPrev(_swigobj,_swigarg0) (_swigobj->SetFoldLevelPrev(_swigarg0))
9353static PyObject *_wrap_wxStyledTextEvent_SetFoldLevelPrev(PyObject *self, PyObject *args, PyObject *kwargs) {
9354 PyObject * _resultobj;
9355 wxStyledTextEvent * _arg0;
9356 int _arg1;
9357 PyObject * _argo0 = 0;
9358 char *_kwnames[] = { "self","val", NULL };
9359
9360 self = self;
9361 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextEvent_SetFoldLevelPrev",_kwnames,&_argo0,&_arg1))
9362 return NULL;
9363 if (_argo0) {
9364 if (_argo0 == Py_None) { _arg0 = NULL; }
9365 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextEvent_p")) {
9366 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextEvent_SetFoldLevelPrev. Expected _wxStyledTextEvent_p.");
9367 return NULL;
9368 }
9369 }
9370{
474c48f9 9371 PyThreadState* __tstate = wxPyBeginAllowThreads();
89c8ea73
RD
9372 wxStyledTextEvent_SetFoldLevelPrev(_arg0,_arg1);
9373
474c48f9
RD
9374 wxPyEndAllowThreads(__tstate);
9375 if (PyErr_Occurred()) return NULL;
89c8ea73
RD
9376} Py_INCREF(Py_None);
9377 _resultobj = Py_None;
9378 return _resultobj;
9379}
9380
9381#define wxStyledTextEvent_SetMargin(_swigobj,_swigarg0) (_swigobj->SetMargin(_swigarg0))
9382static PyObject *_wrap_wxStyledTextEvent_SetMargin(PyObject *self, PyObject *args, PyObject *kwargs) {
9383 PyObject * _resultobj;
9384 wxStyledTextEvent * _arg0;
9385 int _arg1;
9386 PyObject * _argo0 = 0;
9387 char *_kwnames[] = { "self","val", NULL };
9388
9389 self = self;
9390 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextEvent_SetMargin",_kwnames,&_argo0,&_arg1))
9391 return NULL;
9392 if (_argo0) {
9393 if (_argo0 == Py_None) { _arg0 = NULL; }
9394 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextEvent_p")) {
9395 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextEvent_SetMargin. Expected _wxStyledTextEvent_p.");
9396 return NULL;
9397 }
9398 }
9399{
474c48f9 9400 PyThreadState* __tstate = wxPyBeginAllowThreads();
89c8ea73
RD
9401 wxStyledTextEvent_SetMargin(_arg0,_arg1);
9402
474c48f9
RD
9403 wxPyEndAllowThreads(__tstate);
9404 if (PyErr_Occurred()) return NULL;
89c8ea73
RD
9405} Py_INCREF(Py_None);
9406 _resultobj = Py_None;
9407 return _resultobj;
9408}
9409
9410#define wxStyledTextEvent_SetMessage(_swigobj,_swigarg0) (_swigobj->SetMessage(_swigarg0))
9411static PyObject *_wrap_wxStyledTextEvent_SetMessage(PyObject *self, PyObject *args, PyObject *kwargs) {
9412 PyObject * _resultobj;
9413 wxStyledTextEvent * _arg0;
9414 int _arg1;
9415 PyObject * _argo0 = 0;
9416 char *_kwnames[] = { "self","val", NULL };
9417
9418 self = self;
9419 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextEvent_SetMessage",_kwnames,&_argo0,&_arg1))
9420 return NULL;
9421 if (_argo0) {
9422 if (_argo0 == Py_None) { _arg0 = NULL; }
9423 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextEvent_p")) {
9424 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextEvent_SetMessage. Expected _wxStyledTextEvent_p.");
9425 return NULL;
9426 }
9427 }
9428{
474c48f9 9429 PyThreadState* __tstate = wxPyBeginAllowThreads();
89c8ea73
RD
9430 wxStyledTextEvent_SetMessage(_arg0,_arg1);
9431
474c48f9
RD
9432 wxPyEndAllowThreads(__tstate);
9433 if (PyErr_Occurred()) return NULL;
89c8ea73
RD
9434} Py_INCREF(Py_None);
9435 _resultobj = Py_None;
9436 return _resultobj;
9437}
9438
9439#define wxStyledTextEvent_SetWParam(_swigobj,_swigarg0) (_swigobj->SetWParam(_swigarg0))
9440static PyObject *_wrap_wxStyledTextEvent_SetWParam(PyObject *self, PyObject *args, PyObject *kwargs) {
9441 PyObject * _resultobj;
9442 wxStyledTextEvent * _arg0;
9443 int _arg1;
9444 PyObject * _argo0 = 0;
9445 char *_kwnames[] = { "self","val", NULL };
9446
9447 self = self;
9448 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextEvent_SetWParam",_kwnames,&_argo0,&_arg1))
9449 return NULL;
9450 if (_argo0) {
9451 if (_argo0 == Py_None) { _arg0 = NULL; }
9452 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextEvent_p")) {
9453 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextEvent_SetWParam. Expected _wxStyledTextEvent_p.");
9454 return NULL;
9455 }
9456 }
9457{
474c48f9 9458 PyThreadState* __tstate = wxPyBeginAllowThreads();
89c8ea73
RD
9459 wxStyledTextEvent_SetWParam(_arg0,_arg1);
9460
474c48f9
RD
9461 wxPyEndAllowThreads(__tstate);
9462 if (PyErr_Occurred()) return NULL;
89c8ea73
RD
9463} Py_INCREF(Py_None);
9464 _resultobj = Py_None;
9465 return _resultobj;
9466}
9467
9468#define wxStyledTextEvent_SetLParam(_swigobj,_swigarg0) (_swigobj->SetLParam(_swigarg0))
9469static PyObject *_wrap_wxStyledTextEvent_SetLParam(PyObject *self, PyObject *args, PyObject *kwargs) {
9470 PyObject * _resultobj;
9471 wxStyledTextEvent * _arg0;
9472 int _arg1;
9473 PyObject * _argo0 = 0;
9474 char *_kwnames[] = { "self","val", NULL };
9475
9476 self = self;
9477 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextEvent_SetLParam",_kwnames,&_argo0,&_arg1))
9478 return NULL;
9479 if (_argo0) {
9480 if (_argo0 == Py_None) { _arg0 = NULL; }
9481 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextEvent_p")) {
9482 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextEvent_SetLParam. Expected _wxStyledTextEvent_p.");
9483 return NULL;
9484 }
9485 }
9486{
474c48f9 9487 PyThreadState* __tstate = wxPyBeginAllowThreads();
89c8ea73
RD
9488 wxStyledTextEvent_SetLParam(_arg0,_arg1);
9489
474c48f9
RD
9490 wxPyEndAllowThreads(__tstate);
9491 if (PyErr_Occurred()) return NULL;
89c8ea73
RD
9492} Py_INCREF(Py_None);
9493 _resultobj = Py_None;
9494 return _resultobj;
9495}
9496
9497#define wxStyledTextEvent_SetListType(_swigobj,_swigarg0) (_swigobj->SetListType(_swigarg0))
9498static PyObject *_wrap_wxStyledTextEvent_SetListType(PyObject *self, PyObject *args, PyObject *kwargs) {
9499 PyObject * _resultobj;
9500 wxStyledTextEvent * _arg0;
9501 int _arg1;
9502 PyObject * _argo0 = 0;
9503 char *_kwnames[] = { "self","val", NULL };
9504
9505 self = self;
9506 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextEvent_SetListType",_kwnames,&_argo0,&_arg1))
9507 return NULL;
9508 if (_argo0) {
9509 if (_argo0 == Py_None) { _arg0 = NULL; }
9510 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextEvent_p")) {
9511 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextEvent_SetListType. Expected _wxStyledTextEvent_p.");
9512 return NULL;
9513 }
9514 }
9515{
474c48f9 9516 PyThreadState* __tstate = wxPyBeginAllowThreads();
89c8ea73
RD
9517 wxStyledTextEvent_SetListType(_arg0,_arg1);
9518
474c48f9
RD
9519 wxPyEndAllowThreads(__tstate);
9520 if (PyErr_Occurred()) return NULL;
89c8ea73
RD
9521} Py_INCREF(Py_None);
9522 _resultobj = Py_None;
9523 return _resultobj;
9524}
9525
9526#define wxStyledTextEvent_SetX(_swigobj,_swigarg0) (_swigobj->SetX(_swigarg0))
9527static PyObject *_wrap_wxStyledTextEvent_SetX(PyObject *self, PyObject *args, PyObject *kwargs) {
9528 PyObject * _resultobj;
9529 wxStyledTextEvent * _arg0;
9530 int _arg1;
9531 PyObject * _argo0 = 0;
9532 char *_kwnames[] = { "self","val", NULL };
9533
9534 self = self;
9535 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextEvent_SetX",_kwnames,&_argo0,&_arg1))
9536 return NULL;
9537 if (_argo0) {
9538 if (_argo0 == Py_None) { _arg0 = NULL; }
9539 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextEvent_p")) {
9540 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextEvent_SetX. Expected _wxStyledTextEvent_p.");
9541 return NULL;
9542 }
9543 }
9544{
474c48f9 9545 PyThreadState* __tstate = wxPyBeginAllowThreads();
89c8ea73
RD
9546 wxStyledTextEvent_SetX(_arg0,_arg1);
9547
474c48f9
RD
9548 wxPyEndAllowThreads(__tstate);
9549 if (PyErr_Occurred()) return NULL;
89c8ea73
RD
9550} Py_INCREF(Py_None);
9551 _resultobj = Py_None;
9552 return _resultobj;
9553}
9554
9555#define wxStyledTextEvent_SetY(_swigobj,_swigarg0) (_swigobj->SetY(_swigarg0))
9556static PyObject *_wrap_wxStyledTextEvent_SetY(PyObject *self, PyObject *args, PyObject *kwargs) {
9557 PyObject * _resultobj;
9558 wxStyledTextEvent * _arg0;
9559 int _arg1;
9560 PyObject * _argo0 = 0;
9561 char *_kwnames[] = { "self","val", NULL };
9562
9563 self = self;
9564 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextEvent_SetY",_kwnames,&_argo0,&_arg1))
9565 return NULL;
9566 if (_argo0) {
9567 if (_argo0 == Py_None) { _arg0 = NULL; }
9568 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextEvent_p")) {
9569 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextEvent_SetY. Expected _wxStyledTextEvent_p.");
9570 return NULL;
9571 }
9572 }
9573{
474c48f9 9574 PyThreadState* __tstate = wxPyBeginAllowThreads();
89c8ea73
RD
9575 wxStyledTextEvent_SetY(_arg0,_arg1);
9576
474c48f9
RD
9577 wxPyEndAllowThreads(__tstate);
9578 if (PyErr_Occurred()) return NULL;
89c8ea73
RD
9579} Py_INCREF(Py_None);
9580 _resultobj = Py_None;
9581 return _resultobj;
9582}
9583
9584#define wxStyledTextEvent_SetDragText(_swigobj,_swigarg0) (_swigobj->SetDragText(_swigarg0))
9585static PyObject *_wrap_wxStyledTextEvent_SetDragText(PyObject *self, PyObject *args, PyObject *kwargs) {
9586 PyObject * _resultobj;
9587 wxStyledTextEvent * _arg0;
9588 wxString * _arg1;
9589 PyObject * _argo0 = 0;
9590 PyObject * _obj1 = 0;
9591 char *_kwnames[] = { "self","val", NULL };
9592
9593 self = self;
9594 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxStyledTextEvent_SetDragText",_kwnames,&_argo0,&_obj1))
9595 return NULL;
9596 if (_argo0) {
9597 if (_argo0 == Py_None) { _arg0 = NULL; }
9598 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextEvent_p")) {
9599 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextEvent_SetDragText. Expected _wxStyledTextEvent_p.");
9600 return NULL;
9601 }
9602 }
9603{
9604#if PYTHON_API_VERSION >= 1009
9605 char* tmpPtr; int tmpSize;
9606 if (!PyString_Check(_obj1) && !PyUnicode_Check(_obj1)) {
9607 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
9608 return NULL;
9609 }
9610 if (PyString_AsStringAndSize(_obj1, &tmpPtr, &tmpSize) == -1)
9611 return NULL;
9612 _arg1 = new wxString(tmpPtr, tmpSize);
9613#else
9614 if (!PyString_Check(_obj1)) {
9615 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
9616 return NULL;
9617 }
9618 _arg1 = new wxString(PyString_AS_STRING(_obj1), PyString_GET_SIZE(_obj1));
9619#endif
9620}
9621{
474c48f9 9622 PyThreadState* __tstate = wxPyBeginAllowThreads();
89c8ea73
RD
9623 wxStyledTextEvent_SetDragText(_arg0,*_arg1);
9624
474c48f9
RD
9625 wxPyEndAllowThreads(__tstate);
9626 if (PyErr_Occurred()) return NULL;
89c8ea73
RD
9627} Py_INCREF(Py_None);
9628 _resultobj = Py_None;
9629{
9630 if (_obj1)
9631 delete _arg1;
9632}
9633 return _resultobj;
9634}
9635
9636#define wxStyledTextEvent_SetDragAllowMove(_swigobj,_swigarg0) (_swigobj->SetDragAllowMove(_swigarg0))
9637static PyObject *_wrap_wxStyledTextEvent_SetDragAllowMove(PyObject *self, PyObject *args, PyObject *kwargs) {
9638 PyObject * _resultobj;
9639 wxStyledTextEvent * _arg0;
9640 bool _arg1;
9641 PyObject * _argo0 = 0;
9642 int tempbool1;
9643 char *_kwnames[] = { "self","val", NULL };
9644
9645 self = self;
9646 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextEvent_SetDragAllowMove",_kwnames,&_argo0,&tempbool1))
9647 return NULL;
9648 if (_argo0) {
9649 if (_argo0 == Py_None) { _arg0 = NULL; }
9650 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextEvent_p")) {
9651 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextEvent_SetDragAllowMove. Expected _wxStyledTextEvent_p.");
9652 return NULL;
9653 }
9654 }
9655 _arg1 = (bool ) tempbool1;
9656{
474c48f9 9657 PyThreadState* __tstate = wxPyBeginAllowThreads();
89c8ea73
RD
9658 wxStyledTextEvent_SetDragAllowMove(_arg0,_arg1);
9659
474c48f9
RD
9660 wxPyEndAllowThreads(__tstate);
9661 if (PyErr_Occurred()) return NULL;
89c8ea73
RD
9662} Py_INCREF(Py_None);
9663 _resultobj = Py_None;
9664 return _resultobj;
9665}
9666
9667#define wxStyledTextEvent_SetDragResult(_swigobj,_swigarg0) (_swigobj->SetDragResult(_swigarg0))
9668static PyObject *_wrap_wxStyledTextEvent_SetDragResult(PyObject *self, PyObject *args, PyObject *kwargs) {
9669 PyObject * _resultobj;
9670 wxStyledTextEvent * _arg0;
9671 wxDragResult _arg1;
9672 PyObject * _argo0 = 0;
9673 char *_kwnames[] = { "self","val", NULL };
9674
9675 self = self;
9676 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextEvent_SetDragResult",_kwnames,&_argo0,&_arg1))
9677 return NULL;
9678 if (_argo0) {
9679 if (_argo0 == Py_None) { _arg0 = NULL; }
9680 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextEvent_p")) {
9681 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextEvent_SetDragResult. Expected _wxStyledTextEvent_p.");
9682 return NULL;
9683 }
9684 }
9685{
474c48f9 9686 PyThreadState* __tstate = wxPyBeginAllowThreads();
89c8ea73
RD
9687 wxStyledTextEvent_SetDragResult(_arg0,_arg1);
9688
474c48f9
RD
9689 wxPyEndAllowThreads(__tstate);
9690 if (PyErr_Occurred()) return NULL;
89c8ea73
RD
9691} Py_INCREF(Py_None);
9692 _resultobj = Py_None;
9693 return _resultobj;
9694}
9695
9696#define wxStyledTextEvent_GetPosition(_swigobj) (_swigobj->GetPosition())
9697static PyObject *_wrap_wxStyledTextEvent_GetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
9698 PyObject * _resultobj;
9699 int _result;
9700 wxStyledTextEvent * _arg0;
9701 PyObject * _argo0 = 0;
9702 char *_kwnames[] = { "self", NULL };
9703
9704 self = self;
9705 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextEvent_GetPosition",_kwnames,&_argo0))
9706 return NULL;
9707 if (_argo0) {
9708 if (_argo0 == Py_None) { _arg0 = NULL; }
9709 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextEvent_p")) {
9710 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextEvent_GetPosition. Expected _wxStyledTextEvent_p.");
9711 return NULL;
9712 }
9713 }
9714{
474c48f9 9715 PyThreadState* __tstate = wxPyBeginAllowThreads();
89c8ea73
RD
9716 _result = (int )wxStyledTextEvent_GetPosition(_arg0);
9717
474c48f9
RD
9718 wxPyEndAllowThreads(__tstate);
9719 if (PyErr_Occurred()) return NULL;
89c8ea73
RD
9720} _resultobj = Py_BuildValue("i",_result);
9721 return _resultobj;
9722}
9723
9724#define wxStyledTextEvent_GetKey(_swigobj) (_swigobj->GetKey())
9725static PyObject *_wrap_wxStyledTextEvent_GetKey(PyObject *self, PyObject *args, PyObject *kwargs) {
9726 PyObject * _resultobj;
9727 int _result;
9728 wxStyledTextEvent * _arg0;
9729 PyObject * _argo0 = 0;
9730 char *_kwnames[] = { "self", NULL };
9731
9732 self = self;
9733 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextEvent_GetKey",_kwnames,&_argo0))
9734 return NULL;
9735 if (_argo0) {
9736 if (_argo0 == Py_None) { _arg0 = NULL; }
9737 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextEvent_p")) {
9738 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextEvent_GetKey. Expected _wxStyledTextEvent_p.");
9739 return NULL;
9740 }
9741 }
9742{
474c48f9 9743 PyThreadState* __tstate = wxPyBeginAllowThreads();
89c8ea73
RD
9744 _result = (int )wxStyledTextEvent_GetKey(_arg0);
9745
474c48f9
RD
9746 wxPyEndAllowThreads(__tstate);
9747 if (PyErr_Occurred()) return NULL;
89c8ea73
RD
9748} _resultobj = Py_BuildValue("i",_result);
9749 return _resultobj;
9750}
9751
9752#define wxStyledTextEvent_GetModifiers(_swigobj) (_swigobj->GetModifiers())
9753static PyObject *_wrap_wxStyledTextEvent_GetModifiers(PyObject *self, PyObject *args, PyObject *kwargs) {
9754 PyObject * _resultobj;
9755 int _result;
9756 wxStyledTextEvent * _arg0;
9757 PyObject * _argo0 = 0;
9758 char *_kwnames[] = { "self", NULL };
9759
9760 self = self;
9761 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextEvent_GetModifiers",_kwnames,&_argo0))
9762 return NULL;
9763 if (_argo0) {
9764 if (_argo0 == Py_None) { _arg0 = NULL; }
9765 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextEvent_p")) {
9766 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextEvent_GetModifiers. Expected _wxStyledTextEvent_p.");
9767 return NULL;
9768 }
9769 }
9770{
474c48f9 9771 PyThreadState* __tstate = wxPyBeginAllowThreads();
89c8ea73
RD
9772 _result = (int )wxStyledTextEvent_GetModifiers(_arg0);
9773
474c48f9
RD
9774 wxPyEndAllowThreads(__tstate);
9775 if (PyErr_Occurred()) return NULL;
89c8ea73
RD
9776} _resultobj = Py_BuildValue("i",_result);
9777 return _resultobj;
9778}
9779
9780#define wxStyledTextEvent_GetModificationType(_swigobj) (_swigobj->GetModificationType())
9781static PyObject *_wrap_wxStyledTextEvent_GetModificationType(PyObject *self, PyObject *args, PyObject *kwargs) {
9782 PyObject * _resultobj;
9783 int _result;
9784 wxStyledTextEvent * _arg0;
9785 PyObject * _argo0 = 0;
9786 char *_kwnames[] = { "self", NULL };
9787
9788 self = self;
9789 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextEvent_GetModificationType",_kwnames,&_argo0))
9790 return NULL;
9791 if (_argo0) {
9792 if (_argo0 == Py_None) { _arg0 = NULL; }
9793 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextEvent_p")) {
9794 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextEvent_GetModificationType. Expected _wxStyledTextEvent_p.");
9795 return NULL;
9796 }
9797 }
9798{
474c48f9 9799 PyThreadState* __tstate = wxPyBeginAllowThreads();
89c8ea73
RD
9800 _result = (int )wxStyledTextEvent_GetModificationType(_arg0);
9801
474c48f9
RD
9802 wxPyEndAllowThreads(__tstate);
9803 if (PyErr_Occurred()) return NULL;
89c8ea73
RD
9804} _resultobj = Py_BuildValue("i",_result);
9805 return _resultobj;
9806}
9807
9808#define wxStyledTextEvent_GetText(_swigobj) (_swigobj->GetText())
9809static PyObject *_wrap_wxStyledTextEvent_GetText(PyObject *self, PyObject *args, PyObject *kwargs) {
9810 PyObject * _resultobj;
9811 wxString * _result;
9812 wxStyledTextEvent * _arg0;
9813 PyObject * _argo0 = 0;
9814 char *_kwnames[] = { "self", NULL };
9815
9816 self = self;
9817 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextEvent_GetText",_kwnames,&_argo0))
9818 return NULL;
9819 if (_argo0) {
9820 if (_argo0 == Py_None) { _arg0 = NULL; }
9821 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextEvent_p")) {
9822 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextEvent_GetText. Expected _wxStyledTextEvent_p.");
9823 return NULL;
9824 }
9825 }
9826{
474c48f9 9827 PyThreadState* __tstate = wxPyBeginAllowThreads();
89c8ea73
RD
9828 _result = new wxString (wxStyledTextEvent_GetText(_arg0));
9829
474c48f9
RD
9830 wxPyEndAllowThreads(__tstate);
9831 if (PyErr_Occurred()) return NULL;
89c8ea73
RD
9832}{
9833 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
9834}
9835{
9836 delete _result;
9837}
9838 return _resultobj;
9839}
9840
9841#define wxStyledTextEvent_GetLength(_swigobj) (_swigobj->GetLength())
9842static PyObject *_wrap_wxStyledTextEvent_GetLength(PyObject *self, PyObject *args, PyObject *kwargs) {
9843 PyObject * _resultobj;
9844 int _result;
9845 wxStyledTextEvent * _arg0;
9846 PyObject * _argo0 = 0;
9847 char *_kwnames[] = { "self", NULL };
9848
9849 self = self;
9850 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextEvent_GetLength",_kwnames,&_argo0))
9851 return NULL;
9852 if (_argo0) {
9853 if (_argo0 == Py_None) { _arg0 = NULL; }
9854 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextEvent_p")) {
9855 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextEvent_GetLength. Expected _wxStyledTextEvent_p.");
9856 return NULL;
9857 }
9858 }
9859{
474c48f9 9860 PyThreadState* __tstate = wxPyBeginAllowThreads();
89c8ea73
RD
9861 _result = (int )wxStyledTextEvent_GetLength(_arg0);
9862
474c48f9
RD
9863 wxPyEndAllowThreads(__tstate);
9864 if (PyErr_Occurred()) return NULL;
89c8ea73
RD
9865} _resultobj = Py_BuildValue("i",_result);
9866 return _resultobj;
9867}
9868
9869#define wxStyledTextEvent_GetLinesAdded(_swigobj) (_swigobj->GetLinesAdded())
9870static PyObject *_wrap_wxStyledTextEvent_GetLinesAdded(PyObject *self, PyObject *args, PyObject *kwargs) {
9871 PyObject * _resultobj;
9872 int _result;
9873 wxStyledTextEvent * _arg0;
9874 PyObject * _argo0 = 0;
9875 char *_kwnames[] = { "self", NULL };
9876
9877 self = self;
9878 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextEvent_GetLinesAdded",_kwnames,&_argo0))
9879 return NULL;
9880 if (_argo0) {
9881 if (_argo0 == Py_None) { _arg0 = NULL; }
9882 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextEvent_p")) {
9883 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextEvent_GetLinesAdded. Expected _wxStyledTextEvent_p.");
9884 return NULL;
9885 }
9886 }
9887{
474c48f9 9888 PyThreadState* __tstate = wxPyBeginAllowThreads();
89c8ea73
RD
9889 _result = (int )wxStyledTextEvent_GetLinesAdded(_arg0);
9890
474c48f9
RD
9891 wxPyEndAllowThreads(__tstate);
9892 if (PyErr_Occurred()) return NULL;
89c8ea73
RD
9893} _resultobj = Py_BuildValue("i",_result);
9894 return _resultobj;
9895}
9896
9897#define wxStyledTextEvent_GetLine(_swigobj) (_swigobj->GetLine())
9898static PyObject *_wrap_wxStyledTextEvent_GetLine(PyObject *self, PyObject *args, PyObject *kwargs) {
9899 PyObject * _resultobj;
9900 int _result;
9901 wxStyledTextEvent * _arg0;
9902 PyObject * _argo0 = 0;
9903 char *_kwnames[] = { "self", NULL };
9904
9905 self = self;
9906 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextEvent_GetLine",_kwnames,&_argo0))
9907 return NULL;
9908 if (_argo0) {
9909 if (_argo0 == Py_None) { _arg0 = NULL; }
9910 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextEvent_p")) {
9911 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextEvent_GetLine. Expected _wxStyledTextEvent_p.");
9912 return NULL;
9913 }
9914 }
9915{
474c48f9 9916 PyThreadState* __tstate = wxPyBeginAllowThreads();
89c8ea73
RD
9917 _result = (int )wxStyledTextEvent_GetLine(_arg0);
9918
474c48f9
RD
9919 wxPyEndAllowThreads(__tstate);
9920 if (PyErr_Occurred()) return NULL;
89c8ea73
RD
9921} _resultobj = Py_BuildValue("i",_result);
9922 return _resultobj;
9923}
9924
9925#define wxStyledTextEvent_GetFoldLevelNow(_swigobj) (_swigobj->GetFoldLevelNow())
9926static PyObject *_wrap_wxStyledTextEvent_GetFoldLevelNow(PyObject *self, PyObject *args, PyObject *kwargs) {
9927 PyObject * _resultobj;
9928 int _result;
9929 wxStyledTextEvent * _arg0;
9930 PyObject * _argo0 = 0;
9931 char *_kwnames[] = { "self", NULL };
9932
9933 self = self;
9934 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextEvent_GetFoldLevelNow",_kwnames,&_argo0))
9935 return NULL;
9936 if (_argo0) {
9937 if (_argo0 == Py_None) { _arg0 = NULL; }
9938 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextEvent_p")) {
9939 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextEvent_GetFoldLevelNow. Expected _wxStyledTextEvent_p.");
9940 return NULL;
9941 }
9942 }
9943{
474c48f9 9944 PyThreadState* __tstate = wxPyBeginAllowThreads();
89c8ea73
RD
9945 _result = (int )wxStyledTextEvent_GetFoldLevelNow(_arg0);
9946
474c48f9
RD
9947 wxPyEndAllowThreads(__tstate);
9948 if (PyErr_Occurred()) return NULL;
89c8ea73
RD
9949} _resultobj = Py_BuildValue("i",_result);
9950 return _resultobj;
9951}
9952
9953#define wxStyledTextEvent_GetFoldLevelPrev(_swigobj) (_swigobj->GetFoldLevelPrev())
9954static PyObject *_wrap_wxStyledTextEvent_GetFoldLevelPrev(PyObject *self, PyObject *args, PyObject *kwargs) {
9955 PyObject * _resultobj;
9956 int _result;
9957 wxStyledTextEvent * _arg0;
9958 PyObject * _argo0 = 0;
9959 char *_kwnames[] = { "self", NULL };
9960
9961 self = self;
9962 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextEvent_GetFoldLevelPrev",_kwnames,&_argo0))
9963 return NULL;
9964 if (_argo0) {
9965 if (_argo0 == Py_None) { _arg0 = NULL; }
9966 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextEvent_p")) {
9967 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextEvent_GetFoldLevelPrev. Expected _wxStyledTextEvent_p.");
9968 return NULL;
9969 }
9970 }
9971{
474c48f9 9972 PyThreadState* __tstate = wxPyBeginAllowThreads();
89c8ea73
RD
9973 _result = (int )wxStyledTextEvent_GetFoldLevelPrev(_arg0);
9974
474c48f9
RD
9975 wxPyEndAllowThreads(__tstate);
9976 if (PyErr_Occurred()) return NULL;
89c8ea73
RD
9977} _resultobj = Py_BuildValue("i",_result);
9978 return _resultobj;
9979}
9980
9981#define wxStyledTextEvent_GetMargin(_swigobj) (_swigobj->GetMargin())
9982static PyObject *_wrap_wxStyledTextEvent_GetMargin(PyObject *self, PyObject *args, PyObject *kwargs) {
9983 PyObject * _resultobj;
9984 int _result;
9985 wxStyledTextEvent * _arg0;
9986 PyObject * _argo0 = 0;
9987 char *_kwnames[] = { "self", NULL };
9988
9989 self = self;
9990 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextEvent_GetMargin",_kwnames,&_argo0))
9991 return NULL;
9992 if (_argo0) {
9993 if (_argo0 == Py_None) { _arg0 = NULL; }
9994 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextEvent_p")) {
9995 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextEvent_GetMargin. Expected _wxStyledTextEvent_p.");
9996 return NULL;
9997 }
9998 }
9999{
474c48f9 10000 PyThreadState* __tstate = wxPyBeginAllowThreads();
89c8ea73
RD
10001 _result = (int )wxStyledTextEvent_GetMargin(_arg0);
10002
474c48f9
RD
10003 wxPyEndAllowThreads(__tstate);
10004 if (PyErr_Occurred()) return NULL;
89c8ea73
RD
10005} _resultobj = Py_BuildValue("i",_result);
10006 return _resultobj;
10007}
10008
10009#define wxStyledTextEvent_GetMessage(_swigobj) (_swigobj->GetMessage())
10010static PyObject *_wrap_wxStyledTextEvent_GetMessage(PyObject *self, PyObject *args, PyObject *kwargs) {
10011 PyObject * _resultobj;
10012 int _result;
10013 wxStyledTextEvent * _arg0;
10014 PyObject * _argo0 = 0;
10015 char *_kwnames[] = { "self", NULL };
10016
10017 self = self;
10018 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextEvent_GetMessage",_kwnames,&_argo0))
10019 return NULL;
10020 if (_argo0) {
10021 if (_argo0 == Py_None) { _arg0 = NULL; }
10022 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextEvent_p")) {
10023 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextEvent_GetMessage. Expected _wxStyledTextEvent_p.");
10024 return NULL;
10025 }
10026 }
10027{
474c48f9 10028 PyThreadState* __tstate = wxPyBeginAllowThreads();
89c8ea73
RD
10029 _result = (int )wxStyledTextEvent_GetMessage(_arg0);
10030
474c48f9
RD
10031 wxPyEndAllowThreads(__tstate);
10032 if (PyErr_Occurred()) return NULL;
89c8ea73
RD
10033} _resultobj = Py_BuildValue("i",_result);
10034 return _resultobj;
10035}
10036
10037#define wxStyledTextEvent_GetWParam(_swigobj) (_swigobj->GetWParam())
10038static PyObject *_wrap_wxStyledTextEvent_GetWParam(PyObject *self, PyObject *args, PyObject *kwargs) {
10039 PyObject * _resultobj;
10040 int _result;
10041 wxStyledTextEvent * _arg0;
10042 PyObject * _argo0 = 0;
10043 char *_kwnames[] = { "self", NULL };
10044
10045 self = self;
10046 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextEvent_GetWParam",_kwnames,&_argo0))
10047 return NULL;
10048 if (_argo0) {
10049 if (_argo0 == Py_None) { _arg0 = NULL; }
10050 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextEvent_p")) {
10051 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextEvent_GetWParam. Expected _wxStyledTextEvent_p.");
10052 return NULL;
10053 }
10054 }
10055{
474c48f9 10056 PyThreadState* __tstate = wxPyBeginAllowThreads();
89c8ea73
RD
10057 _result = (int )wxStyledTextEvent_GetWParam(_arg0);
10058
474c48f9
RD
10059 wxPyEndAllowThreads(__tstate);
10060 if (PyErr_Occurred()) return NULL;
89c8ea73
RD
10061} _resultobj = Py_BuildValue("i",_result);
10062 return _resultobj;
10063}
10064
10065#define wxStyledTextEvent_GetLParam(_swigobj) (_swigobj->GetLParam())
10066static PyObject *_wrap_wxStyledTextEvent_GetLParam(PyObject *self, PyObject *args, PyObject *kwargs) {
10067 PyObject * _resultobj;
10068 int _result;
10069 wxStyledTextEvent * _arg0;
10070 PyObject * _argo0 = 0;
10071 char *_kwnames[] = { "self", NULL };
10072
10073 self = self;
10074 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextEvent_GetLParam",_kwnames,&_argo0))
10075 return NULL;
10076 if (_argo0) {
10077 if (_argo0 == Py_None) { _arg0 = NULL; }
10078 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextEvent_p")) {
10079 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextEvent_GetLParam. Expected _wxStyledTextEvent_p.");
10080 return NULL;
10081 }
10082 }
10083{
474c48f9 10084 PyThreadState* __tstate = wxPyBeginAllowThreads();
89c8ea73
RD
10085 _result = (int )wxStyledTextEvent_GetLParam(_arg0);
10086
474c48f9
RD
10087 wxPyEndAllowThreads(__tstate);
10088 if (PyErr_Occurred()) return NULL;
89c8ea73
RD
10089} _resultobj = Py_BuildValue("i",_result);
10090 return _resultobj;
10091}
10092
10093#define wxStyledTextEvent_GetListType(_swigobj) (_swigobj->GetListType())
10094static PyObject *_wrap_wxStyledTextEvent_GetListType(PyObject *self, PyObject *args, PyObject *kwargs) {
10095 PyObject * _resultobj;
10096 int _result;
10097 wxStyledTextEvent * _arg0;
10098 PyObject * _argo0 = 0;
10099 char *_kwnames[] = { "self", NULL };
10100
10101 self = self;
10102 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextEvent_GetListType",_kwnames,&_argo0))
10103 return NULL;
10104 if (_argo0) {
10105 if (_argo0 == Py_None) { _arg0 = NULL; }
10106 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextEvent_p")) {
10107 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextEvent_GetListType. Expected _wxStyledTextEvent_p.");
10108 return NULL;
10109 }
10110 }
10111{
474c48f9 10112 PyThreadState* __tstate = wxPyBeginAllowThreads();
89c8ea73
RD
10113 _result = (int )wxStyledTextEvent_GetListType(_arg0);
10114
474c48f9
RD
10115 wxPyEndAllowThreads(__tstate);
10116 if (PyErr_Occurred()) return NULL;
89c8ea73
RD
10117} _resultobj = Py_BuildValue("i",_result);
10118 return _resultobj;
10119}
10120
10121#define wxStyledTextEvent_GetX(_swigobj) (_swigobj->GetX())
10122static PyObject *_wrap_wxStyledTextEvent_GetX(PyObject *self, PyObject *args, PyObject *kwargs) {
10123 PyObject * _resultobj;
10124 int _result;
10125 wxStyledTextEvent * _arg0;
10126 PyObject * _argo0 = 0;
10127 char *_kwnames[] = { "self", NULL };
10128
10129 self = self;
10130 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextEvent_GetX",_kwnames,&_argo0))
10131 return NULL;
10132 if (_argo0) {
10133 if (_argo0 == Py_None) { _arg0 = NULL; }
10134 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextEvent_p")) {
10135 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextEvent_GetX. Expected _wxStyledTextEvent_p.");
10136 return NULL;
10137 }
10138 }
10139{
474c48f9 10140 PyThreadState* __tstate = wxPyBeginAllowThreads();
89c8ea73
RD
10141 _result = (int )wxStyledTextEvent_GetX(_arg0);
10142
474c48f9
RD
10143 wxPyEndAllowThreads(__tstate);
10144 if (PyErr_Occurred()) return NULL;
89c8ea73
RD
10145} _resultobj = Py_BuildValue("i",_result);
10146 return _resultobj;
10147}
10148
10149#define wxStyledTextEvent_GetY(_swigobj) (_swigobj->GetY())
10150static PyObject *_wrap_wxStyledTextEvent_GetY(PyObject *self, PyObject *args, PyObject *kwargs) {
10151 PyObject * _resultobj;
10152 int _result;
10153 wxStyledTextEvent * _arg0;
10154 PyObject * _argo0 = 0;
10155 char *_kwnames[] = { "self", NULL };
10156
10157 self = self;
10158 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextEvent_GetY",_kwnames,&_argo0))
10159 return NULL;
10160 if (_argo0) {
10161 if (_argo0 == Py_None) { _arg0 = NULL; }
10162 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextEvent_p")) {
10163 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextEvent_GetY. Expected _wxStyledTextEvent_p.");
10164 return NULL;
10165 }
10166 }
10167{
474c48f9 10168 PyThreadState* __tstate = wxPyBeginAllowThreads();
89c8ea73
RD
10169 _result = (int )wxStyledTextEvent_GetY(_arg0);
10170
474c48f9
RD
10171 wxPyEndAllowThreads(__tstate);
10172 if (PyErr_Occurred()) return NULL;
89c8ea73
RD
10173} _resultobj = Py_BuildValue("i",_result);
10174 return _resultobj;
10175}
10176
10177#define wxStyledTextEvent_GetDragText(_swigobj) (_swigobj->GetDragText())
10178static PyObject *_wrap_wxStyledTextEvent_GetDragText(PyObject *self, PyObject *args, PyObject *kwargs) {
10179 PyObject * _resultobj;
10180 wxString * _result;
10181 wxStyledTextEvent * _arg0;
10182 PyObject * _argo0 = 0;
10183 char *_kwnames[] = { "self", NULL };
10184
10185 self = self;
10186 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextEvent_GetDragText",_kwnames,&_argo0))
10187 return NULL;
10188 if (_argo0) {
10189 if (_argo0 == Py_None) { _arg0 = NULL; }
10190 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextEvent_p")) {
10191 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextEvent_GetDragText. Expected _wxStyledTextEvent_p.");
10192 return NULL;
10193 }
10194 }
10195{
474c48f9 10196 PyThreadState* __tstate = wxPyBeginAllowThreads();
89c8ea73
RD
10197 _result = new wxString (wxStyledTextEvent_GetDragText(_arg0));
10198
474c48f9
RD
10199 wxPyEndAllowThreads(__tstate);
10200 if (PyErr_Occurred()) return NULL;
89c8ea73
RD
10201}{
10202 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
10203}
10204{
10205 delete _result;
10206}
10207 return _resultobj;
10208}
10209
10210#define wxStyledTextEvent_GetDragAllowMove(_swigobj) (_swigobj->GetDragAllowMove())
10211static PyObject *_wrap_wxStyledTextEvent_GetDragAllowMove(PyObject *self, PyObject *args, PyObject *kwargs) {
10212 PyObject * _resultobj;
10213 bool _result;
10214 wxStyledTextEvent * _arg0;
10215 PyObject * _argo0 = 0;
10216 char *_kwnames[] = { "self", NULL };
10217
10218 self = self;
10219 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextEvent_GetDragAllowMove",_kwnames,&_argo0))
10220 return NULL;
10221 if (_argo0) {
10222 if (_argo0 == Py_None) { _arg0 = NULL; }
10223 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextEvent_p")) {
10224 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextEvent_GetDragAllowMove. Expected _wxStyledTextEvent_p.");
10225 return NULL;
10226 }
10227 }
10228{
474c48f9 10229 PyThreadState* __tstate = wxPyBeginAllowThreads();
89c8ea73
RD
10230 _result = (bool )wxStyledTextEvent_GetDragAllowMove(_arg0);
10231
474c48f9
RD
10232 wxPyEndAllowThreads(__tstate);
10233 if (PyErr_Occurred()) return NULL;
89c8ea73
RD
10234} _resultobj = Py_BuildValue("i",_result);
10235 return _resultobj;
10236}
10237
10238#define wxStyledTextEvent_GetDragResult(_swigobj) (_swigobj->GetDragResult())
10239static PyObject *_wrap_wxStyledTextEvent_GetDragResult(PyObject *self, PyObject *args, PyObject *kwargs) {
10240 PyObject * _resultobj;
10241 wxDragResult _result;
10242 wxStyledTextEvent * _arg0;
10243 PyObject * _argo0 = 0;
10244 char *_kwnames[] = { "self", NULL };
10245
10246 self = self;
10247 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextEvent_GetDragResult",_kwnames,&_argo0))
10248 return NULL;
10249 if (_argo0) {
10250 if (_argo0 == Py_None) { _arg0 = NULL; }
10251 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextEvent_p")) {
10252 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextEvent_GetDragResult. Expected _wxStyledTextEvent_p.");
10253 return NULL;
10254 }
10255 }
10256{
474c48f9 10257 PyThreadState* __tstate = wxPyBeginAllowThreads();
89c8ea73
RD
10258 _result = (wxDragResult )wxStyledTextEvent_GetDragResult(_arg0);
10259
474c48f9
RD
10260 wxPyEndAllowThreads(__tstate);
10261 if (PyErr_Occurred()) return NULL;
89c8ea73
RD
10262} _resultobj = Py_BuildValue("i",_result);
10263 return _resultobj;
10264}
10265
10266#define wxStyledTextEvent_GetShift(_swigobj) (_swigobj->GetShift())
10267static PyObject *_wrap_wxStyledTextEvent_GetShift(PyObject *self, PyObject *args, PyObject *kwargs) {
10268 PyObject * _resultobj;
10269 bool _result;
10270 wxStyledTextEvent * _arg0;
10271 PyObject * _argo0 = 0;
10272 char *_kwnames[] = { "self", NULL };
10273
10274 self = self;
10275 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextEvent_GetShift",_kwnames,&_argo0))
10276 return NULL;
10277 if (_argo0) {
10278 if (_argo0 == Py_None) { _arg0 = NULL; }
10279 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextEvent_p")) {
10280 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextEvent_GetShift. Expected _wxStyledTextEvent_p.");
10281 return NULL;
10282 }
10283 }
10284{
474c48f9 10285 PyThreadState* __tstate = wxPyBeginAllowThreads();
89c8ea73
RD
10286 _result = (bool )wxStyledTextEvent_GetShift(_arg0);
10287
474c48f9
RD
10288 wxPyEndAllowThreads(__tstate);
10289 if (PyErr_Occurred()) return NULL;
89c8ea73
RD
10290} _resultobj = Py_BuildValue("i",_result);
10291 return _resultobj;
10292}
10293
10294#define wxStyledTextEvent_GetControl(_swigobj) (_swigobj->GetControl())
10295static PyObject *_wrap_wxStyledTextEvent_GetControl(PyObject *self, PyObject *args, PyObject *kwargs) {
10296 PyObject * _resultobj;
10297 bool _result;
10298 wxStyledTextEvent * _arg0;
10299 PyObject * _argo0 = 0;
10300 char *_kwnames[] = { "self", NULL };
10301
10302 self = self;
10303 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextEvent_GetControl",_kwnames,&_argo0))
10304 return NULL;
10305 if (_argo0) {
10306 if (_argo0 == Py_None) { _arg0 = NULL; }
10307 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextEvent_p")) {
10308 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextEvent_GetControl. Expected _wxStyledTextEvent_p.");
10309 return NULL;
10310 }
10311 }
10312{
474c48f9 10313 PyThreadState* __tstate = wxPyBeginAllowThreads();
89c8ea73
RD
10314 _result = (bool )wxStyledTextEvent_GetControl(_arg0);
10315
474c48f9
RD
10316 wxPyEndAllowThreads(__tstate);
10317 if (PyErr_Occurred()) return NULL;
89c8ea73
RD
10318} _resultobj = Py_BuildValue("i",_result);
10319 return _resultobj;
10320}
10321
10322#define wxStyledTextEvent_GetAlt(_swigobj) (_swigobj->GetAlt())
10323static PyObject *_wrap_wxStyledTextEvent_GetAlt(PyObject *self, PyObject *args, PyObject *kwargs) {
10324 PyObject * _resultobj;
10325 bool _result;
10326 wxStyledTextEvent * _arg0;
10327 PyObject * _argo0 = 0;
10328 char *_kwnames[] = { "self", NULL };
10329
10330 self = self;
10331 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextEvent_GetAlt",_kwnames,&_argo0))
10332 return NULL;
10333 if (_argo0) {
10334 if (_argo0 == Py_None) { _arg0 = NULL; }
10335 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextEvent_p")) {
10336 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextEvent_GetAlt. Expected _wxStyledTextEvent_p.");
10337 return NULL;
10338 }
10339 }
10340{
474c48f9 10341 PyThreadState* __tstate = wxPyBeginAllowThreads();
89c8ea73
RD
10342 _result = (bool )wxStyledTextEvent_GetAlt(_arg0);
10343
474c48f9
RD
10344 wxPyEndAllowThreads(__tstate);
10345 if (PyErr_Occurred()) return NULL;
89c8ea73
RD
10346} _resultobj = Py_BuildValue("i",_result);
10347 return _resultobj;
10348}
10349
6e8a778a
RD
10350#define wxStyledTextEvent_Clone(_swigobj) (_swigobj->Clone())
10351static PyObject *_wrap_wxStyledTextEvent_Clone(PyObject *self, PyObject *args, PyObject *kwargs) {
89c8ea73 10352 PyObject * _resultobj;
6e8a778a 10353 wxEvent * _result;
89c8ea73 10354 wxStyledTextEvent * _arg0;
89c8ea73 10355 PyObject * _argo0 = 0;
6e8a778a
RD
10356 char *_kwnames[] = { "self", NULL };
10357 char _ptemp[128];
89c8ea73
RD
10358
10359 self = self;
6e8a778a 10360 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextEvent_Clone",_kwnames,&_argo0))
89c8ea73
RD
10361 return NULL;
10362 if (_argo0) {
10363 if (_argo0 == Py_None) { _arg0 = NULL; }
10364 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextEvent_p")) {
6e8a778a 10365 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextEvent_Clone. Expected _wxStyledTextEvent_p.");
89c8ea73
RD
10366 return NULL;
10367 }
10368 }
10369{
474c48f9 10370 PyThreadState* __tstate = wxPyBeginAllowThreads();
6e8a778a 10371 _result = (wxEvent *)wxStyledTextEvent_Clone(_arg0);
89c8ea73 10372
474c48f9
RD
10373 wxPyEndAllowThreads(__tstate);
10374 if (PyErr_Occurred()) return NULL;
6e8a778a
RD
10375} if (_result) {
10376 SWIG_MakePtr(_ptemp, (char *) _result,"_wxEvent_p");
10377 _resultobj = Py_BuildValue("s",_ptemp);
10378 } else {
10379 Py_INCREF(Py_None);
10380 _resultobj = Py_None;
10381 }
89c8ea73
RD
10382 return _resultobj;
10383}
10384
10385static PyMethodDef stc_cMethods[] = {
6e8a778a 10386 { "wxStyledTextEvent_Clone", (PyCFunction) _wrap_wxStyledTextEvent_Clone, METH_VARARGS | METH_KEYWORDS },
89c8ea73
RD
10387 { "wxStyledTextEvent_GetAlt", (PyCFunction) _wrap_wxStyledTextEvent_GetAlt, METH_VARARGS | METH_KEYWORDS },
10388 { "wxStyledTextEvent_GetControl", (PyCFunction) _wrap_wxStyledTextEvent_GetControl, METH_VARARGS | METH_KEYWORDS },
10389 { "wxStyledTextEvent_GetShift", (PyCFunction) _wrap_wxStyledTextEvent_GetShift, METH_VARARGS | METH_KEYWORDS },
10390 { "wxStyledTextEvent_GetDragResult", (PyCFunction) _wrap_wxStyledTextEvent_GetDragResult, METH_VARARGS | METH_KEYWORDS },
10391 { "wxStyledTextEvent_GetDragAllowMove", (PyCFunction) _wrap_wxStyledTextEvent_GetDragAllowMove, METH_VARARGS | METH_KEYWORDS },
10392 { "wxStyledTextEvent_GetDragText", (PyCFunction) _wrap_wxStyledTextEvent_GetDragText, METH_VARARGS | METH_KEYWORDS },
10393 { "wxStyledTextEvent_GetY", (PyCFunction) _wrap_wxStyledTextEvent_GetY, METH_VARARGS | METH_KEYWORDS },
10394 { "wxStyledTextEvent_GetX", (PyCFunction) _wrap_wxStyledTextEvent_GetX, METH_VARARGS | METH_KEYWORDS },
10395 { "wxStyledTextEvent_GetListType", (PyCFunction) _wrap_wxStyledTextEvent_GetListType, METH_VARARGS | METH_KEYWORDS },
10396 { "wxStyledTextEvent_GetLParam", (PyCFunction) _wrap_wxStyledTextEvent_GetLParam, METH_VARARGS | METH_KEYWORDS },
10397 { "wxStyledTextEvent_GetWParam", (PyCFunction) _wrap_wxStyledTextEvent_GetWParam, METH_VARARGS | METH_KEYWORDS },
10398 { "wxStyledTextEvent_GetMessage", (PyCFunction) _wrap_wxStyledTextEvent_GetMessage, METH_VARARGS | METH_KEYWORDS },
10399 { "wxStyledTextEvent_GetMargin", (PyCFunction) _wrap_wxStyledTextEvent_GetMargin, METH_VARARGS | METH_KEYWORDS },
10400 { "wxStyledTextEvent_GetFoldLevelPrev", (PyCFunction) _wrap_wxStyledTextEvent_GetFoldLevelPrev, METH_VARARGS | METH_KEYWORDS },
10401 { "wxStyledTextEvent_GetFoldLevelNow", (PyCFunction) _wrap_wxStyledTextEvent_GetFoldLevelNow, METH_VARARGS | METH_KEYWORDS },
10402 { "wxStyledTextEvent_GetLine", (PyCFunction) _wrap_wxStyledTextEvent_GetLine, METH_VARARGS | METH_KEYWORDS },
10403 { "wxStyledTextEvent_GetLinesAdded", (PyCFunction) _wrap_wxStyledTextEvent_GetLinesAdded, METH_VARARGS | METH_KEYWORDS },
10404 { "wxStyledTextEvent_GetLength", (PyCFunction) _wrap_wxStyledTextEvent_GetLength, METH_VARARGS | METH_KEYWORDS },
10405 { "wxStyledTextEvent_GetText", (PyCFunction) _wrap_wxStyledTextEvent_GetText, METH_VARARGS | METH_KEYWORDS },
10406 { "wxStyledTextEvent_GetModificationType", (PyCFunction) _wrap_wxStyledTextEvent_GetModificationType, METH_VARARGS | METH_KEYWORDS },
10407 { "wxStyledTextEvent_GetModifiers", (PyCFunction) _wrap_wxStyledTextEvent_GetModifiers, METH_VARARGS | METH_KEYWORDS },
10408 { "wxStyledTextEvent_GetKey", (PyCFunction) _wrap_wxStyledTextEvent_GetKey, METH_VARARGS | METH_KEYWORDS },
10409 { "wxStyledTextEvent_GetPosition", (PyCFunction) _wrap_wxStyledTextEvent_GetPosition, METH_VARARGS | METH_KEYWORDS },
10410 { "wxStyledTextEvent_SetDragResult", (PyCFunction) _wrap_wxStyledTextEvent_SetDragResult, METH_VARARGS | METH_KEYWORDS },
10411 { "wxStyledTextEvent_SetDragAllowMove", (PyCFunction) _wrap_wxStyledTextEvent_SetDragAllowMove, METH_VARARGS | METH_KEYWORDS },
10412 { "wxStyledTextEvent_SetDragText", (PyCFunction) _wrap_wxStyledTextEvent_SetDragText, METH_VARARGS | METH_KEYWORDS },
10413 { "wxStyledTextEvent_SetY", (PyCFunction) _wrap_wxStyledTextEvent_SetY, METH_VARARGS | METH_KEYWORDS },
10414 { "wxStyledTextEvent_SetX", (PyCFunction) _wrap_wxStyledTextEvent_SetX, METH_VARARGS | METH_KEYWORDS },
10415 { "wxStyledTextEvent_SetListType", (PyCFunction) _wrap_wxStyledTextEvent_SetListType, METH_VARARGS | METH_KEYWORDS },
10416 { "wxStyledTextEvent_SetLParam", (PyCFunction) _wrap_wxStyledTextEvent_SetLParam, METH_VARARGS | METH_KEYWORDS },
10417 { "wxStyledTextEvent_SetWParam", (PyCFunction) _wrap_wxStyledTextEvent_SetWParam, METH_VARARGS | METH_KEYWORDS },
10418 { "wxStyledTextEvent_SetMessage", (PyCFunction) _wrap_wxStyledTextEvent_SetMessage, METH_VARARGS | METH_KEYWORDS },
10419 { "wxStyledTextEvent_SetMargin", (PyCFunction) _wrap_wxStyledTextEvent_SetMargin, METH_VARARGS | METH_KEYWORDS },
10420 { "wxStyledTextEvent_SetFoldLevelPrev", (PyCFunction) _wrap_wxStyledTextEvent_SetFoldLevelPrev, METH_VARARGS | METH_KEYWORDS },
10421 { "wxStyledTextEvent_SetFoldLevelNow", (PyCFunction) _wrap_wxStyledTextEvent_SetFoldLevelNow, METH_VARARGS | METH_KEYWORDS },
10422 { "wxStyledTextEvent_SetLine", (PyCFunction) _wrap_wxStyledTextEvent_SetLine, METH_VARARGS | METH_KEYWORDS },
10423 { "wxStyledTextEvent_SetLinesAdded", (PyCFunction) _wrap_wxStyledTextEvent_SetLinesAdded, METH_VARARGS | METH_KEYWORDS },
10424 { "wxStyledTextEvent_SetLength", (PyCFunction) _wrap_wxStyledTextEvent_SetLength, METH_VARARGS | METH_KEYWORDS },
10425 { "wxStyledTextEvent_SetText", (PyCFunction) _wrap_wxStyledTextEvent_SetText, METH_VARARGS | METH_KEYWORDS },
10426 { "wxStyledTextEvent_SetModificationType", (PyCFunction) _wrap_wxStyledTextEvent_SetModificationType, METH_VARARGS | METH_KEYWORDS },
10427 { "wxStyledTextEvent_SetModifiers", (PyCFunction) _wrap_wxStyledTextEvent_SetModifiers, METH_VARARGS | METH_KEYWORDS },
10428 { "wxStyledTextEvent_SetKey", (PyCFunction) _wrap_wxStyledTextEvent_SetKey, METH_VARARGS | METH_KEYWORDS },
10429 { "wxStyledTextEvent_SetPosition", (PyCFunction) _wrap_wxStyledTextEvent_SetPosition, METH_VARARGS | METH_KEYWORDS },
10430 { "delete_wxStyledTextEvent", (PyCFunction) _wrap_delete_wxStyledTextEvent, METH_VARARGS | METH_KEYWORDS },
10431 { "new_wxStyledTextEvent", (PyCFunction) _wrap_new_wxStyledTextEvent, METH_VARARGS | METH_KEYWORDS },
6e8a778a
RD
10432 { "wxStyledTextCtrl_SetHScrollBar", (PyCFunction) _wrap_wxStyledTextCtrl_SetHScrollBar, METH_VARARGS | METH_KEYWORDS },
10433 { "wxStyledTextCtrl_SetVScrollBar", (PyCFunction) _wrap_wxStyledTextCtrl_SetVScrollBar, METH_VARARGS | METH_KEYWORDS },
89c8ea73
RD
10434 { "wxStyledTextCtrl_SendMsg", (PyCFunction) _wrap_wxStyledTextCtrl_SendMsg, METH_VARARGS | METH_KEYWORDS },
10435 { "wxStyledTextCtrl_ScrollToColumn", (PyCFunction) _wrap_wxStyledTextCtrl_ScrollToColumn, METH_VARARGS | METH_KEYWORDS },
10436 { "wxStyledTextCtrl_ScrollToLine", (PyCFunction) _wrap_wxStyledTextCtrl_ScrollToLine, METH_VARARGS | METH_KEYWORDS },
10437 { "wxStyledTextCtrl_PointFromPosition", (PyCFunction) _wrap_wxStyledTextCtrl_PointFromPosition, METH_VARARGS | METH_KEYWORDS },
10438 { "wxStyledTextCtrl_GetSelection", (PyCFunction) _wrap_wxStyledTextCtrl_GetSelection, METH_VARARGS | METH_KEYWORDS },
10439 { "wxStyledTextCtrl_SetMargins", (PyCFunction) _wrap_wxStyledTextCtrl_SetMargins, METH_VARARGS | METH_KEYWORDS },
10440 { "wxStyledTextCtrl_CmdKeyExecute", (PyCFunction) _wrap_wxStyledTextCtrl_CmdKeyExecute, METH_VARARGS | METH_KEYWORDS },
10441 { "wxStyledTextCtrl_StyleSetFontAttr", (PyCFunction) _wrap_wxStyledTextCtrl_StyleSetFontAttr, METH_VARARGS | METH_KEYWORDS },
10442 { "wxStyledTextCtrl_StyleSetFont", (PyCFunction) _wrap_wxStyledTextCtrl_StyleSetFont, METH_VARARGS | METH_KEYWORDS },
10443 { "wxStyledTextCtrl_StyleSetSpec", (PyCFunction) _wrap_wxStyledTextCtrl_StyleSetSpec, METH_VARARGS | METH_KEYWORDS },
10444 { "wxStyledTextCtrl_GetCurrentLine", (PyCFunction) _wrap_wxStyledTextCtrl_GetCurrentLine, METH_VARARGS | METH_KEYWORDS },
10445 { "wxStyledTextCtrl_SetLexerLanguage", (PyCFunction) _wrap_wxStyledTextCtrl_SetLexerLanguage, METH_VARARGS | METH_KEYWORDS },
10446 { "wxStyledTextCtrl_SetKeyWords", (PyCFunction) _wrap_wxStyledTextCtrl_SetKeyWords, METH_VARARGS | METH_KEYWORDS },
10447 { "wxStyledTextCtrl_SetProperty", (PyCFunction) _wrap_wxStyledTextCtrl_SetProperty, METH_VARARGS | METH_KEYWORDS },
10448 { "wxStyledTextCtrl_Colourise", (PyCFunction) _wrap_wxStyledTextCtrl_Colourise, METH_VARARGS | METH_KEYWORDS },
10449 { "wxStyledTextCtrl_GetLexer", (PyCFunction) _wrap_wxStyledTextCtrl_GetLexer, METH_VARARGS | METH_KEYWORDS },
10450 { "wxStyledTextCtrl_SetLexer", (PyCFunction) _wrap_wxStyledTextCtrl_SetLexer, METH_VARARGS | METH_KEYWORDS },
10451 { "wxStyledTextCtrl_StopRecord", (PyCFunction) _wrap_wxStyledTextCtrl_StopRecord, METH_VARARGS | METH_KEYWORDS },
10452 { "wxStyledTextCtrl_StartRecord", (PyCFunction) _wrap_wxStyledTextCtrl_StartRecord, METH_VARARGS | METH_KEYWORDS },
10453 { "wxStyledTextCtrl_DelLineRight", (PyCFunction) _wrap_wxStyledTextCtrl_DelLineRight, METH_VARARGS | METH_KEYWORDS },
10454 { "wxStyledTextCtrl_DelLineLeft", (PyCFunction) _wrap_wxStyledTextCtrl_DelLineLeft, METH_VARARGS | METH_KEYWORDS },
10455 { "wxStyledTextCtrl_SetVisiblePolicy", (PyCFunction) _wrap_wxStyledTextCtrl_SetVisiblePolicy, METH_VARARGS | METH_KEYWORDS },
10456 { "wxStyledTextCtrl_WordPartRightExtend", (PyCFunction) _wrap_wxStyledTextCtrl_WordPartRightExtend, METH_VARARGS | METH_KEYWORDS },
10457 { "wxStyledTextCtrl_WordPartRight", (PyCFunction) _wrap_wxStyledTextCtrl_WordPartRight, METH_VARARGS | METH_KEYWORDS },
10458 { "wxStyledTextCtrl_WordPartLeftExtend", (PyCFunction) _wrap_wxStyledTextCtrl_WordPartLeftExtend, METH_VARARGS | METH_KEYWORDS },
10459 { "wxStyledTextCtrl_WordPartLeft", (PyCFunction) _wrap_wxStyledTextCtrl_WordPartLeft, METH_VARARGS | METH_KEYWORDS },
10460 { "wxStyledTextCtrl_GetCursor", (PyCFunction) _wrap_wxStyledTextCtrl_GetCursor, METH_VARARGS | METH_KEYWORDS },
10461 { "wxStyledTextCtrl_SetCursor", (PyCFunction) _wrap_wxStyledTextCtrl_SetCursor, METH_VARARGS | METH_KEYWORDS },
10462 { "wxStyledTextCtrl_GetMouseDownCaptures", (PyCFunction) _wrap_wxStyledTextCtrl_GetMouseDownCaptures, METH_VARARGS | METH_KEYWORDS },
10463 { "wxStyledTextCtrl_SetMouseDownCaptures", (PyCFunction) _wrap_wxStyledTextCtrl_SetMouseDownCaptures, METH_VARARGS | METH_KEYWORDS },
10464 { "wxStyledTextCtrl_GetStatus", (PyCFunction) _wrap_wxStyledTextCtrl_GetStatus, METH_VARARGS | METH_KEYWORDS },
10465 { "wxStyledTextCtrl_SetStatus", (PyCFunction) _wrap_wxStyledTextCtrl_SetStatus, METH_VARARGS | METH_KEYWORDS },
10466 { "wxStyledTextCtrl_GetSTCFocus", (PyCFunction) _wrap_wxStyledTextCtrl_GetSTCFocus, METH_VARARGS | METH_KEYWORDS },
10467 { "wxStyledTextCtrl_SetSTCFocus", (PyCFunction) _wrap_wxStyledTextCtrl_SetSTCFocus, METH_VARARGS | METH_KEYWORDS },
10468 { "wxStyledTextCtrl_GetModEventMask", (PyCFunction) _wrap_wxStyledTextCtrl_GetModEventMask, METH_VARARGS | METH_KEYWORDS },
10469 { "wxStyledTextCtrl_ReleaseDocument", (PyCFunction) _wrap_wxStyledTextCtrl_ReleaseDocument, METH_VARARGS | METH_KEYWORDS },
10470 { "wxStyledTextCtrl_AddRefDocument", (PyCFunction) _wrap_wxStyledTextCtrl_AddRefDocument, METH_VARARGS | METH_KEYWORDS },
10471 { "wxStyledTextCtrl_CreateDocument", (PyCFunction) _wrap_wxStyledTextCtrl_CreateDocument, METH_VARARGS | METH_KEYWORDS },
10472 { "wxStyledTextCtrl_GetZoom", (PyCFunction) _wrap_wxStyledTextCtrl_GetZoom, METH_VARARGS | METH_KEYWORDS },
10473 { "wxStyledTextCtrl_SetZoom", (PyCFunction) _wrap_wxStyledTextCtrl_SetZoom, METH_VARARGS | METH_KEYWORDS },
10474 { "wxStyledTextCtrl_SelectionIsRectangle", (PyCFunction) _wrap_wxStyledTextCtrl_SelectionIsRectangle, METH_VARARGS | METH_KEYWORDS },
10475 { "wxStyledTextCtrl_UsePopUp", (PyCFunction) _wrap_wxStyledTextCtrl_UsePopUp, METH_VARARGS | METH_KEYWORDS },
10476 { "wxStyledTextCtrl_LinesOnScreen", (PyCFunction) _wrap_wxStyledTextCtrl_LinesOnScreen, METH_VARARGS | METH_KEYWORDS },
10477 { "wxStyledTextCtrl_SetCaretPolicy", (PyCFunction) _wrap_wxStyledTextCtrl_SetCaretPolicy, METH_VARARGS | METH_KEYWORDS },
10478 { "wxStyledTextCtrl_SearchPrev", (PyCFunction) _wrap_wxStyledTextCtrl_SearchPrev, METH_VARARGS | METH_KEYWORDS },
10479 { "wxStyledTextCtrl_SearchNext", (PyCFunction) _wrap_wxStyledTextCtrl_SearchNext, METH_VARARGS | METH_KEYWORDS },
10480 { "wxStyledTextCtrl_SearchAnchor", (PyCFunction) _wrap_wxStyledTextCtrl_SearchAnchor, METH_VARARGS | METH_KEYWORDS },
10481 { "wxStyledTextCtrl_SetEdgeColour", (PyCFunction) _wrap_wxStyledTextCtrl_SetEdgeColour, METH_VARARGS | METH_KEYWORDS },
10482 { "wxStyledTextCtrl_GetEdgeColour", (PyCFunction) _wrap_wxStyledTextCtrl_GetEdgeColour, METH_VARARGS | METH_KEYWORDS },
10483 { "wxStyledTextCtrl_SetEdgeMode", (PyCFunction) _wrap_wxStyledTextCtrl_SetEdgeMode, METH_VARARGS | METH_KEYWORDS },
10484 { "wxStyledTextCtrl_GetEdgeMode", (PyCFunction) _wrap_wxStyledTextCtrl_GetEdgeMode, METH_VARARGS | METH_KEYWORDS },
10485 { "wxStyledTextCtrl_SetEdgeColumn", (PyCFunction) _wrap_wxStyledTextCtrl_SetEdgeColumn, METH_VARARGS | METH_KEYWORDS },
10486 { "wxStyledTextCtrl_GetEdgeColumn", (PyCFunction) _wrap_wxStyledTextCtrl_GetEdgeColumn, METH_VARARGS | METH_KEYWORDS },
10487 { "wxStyledTextCtrl_SetModEventMask", (PyCFunction) _wrap_wxStyledTextCtrl_SetModEventMask, METH_VARARGS | METH_KEYWORDS },
10488 { "wxStyledTextCtrl_SetDocPointer", (PyCFunction) _wrap_wxStyledTextCtrl_SetDocPointer, METH_VARARGS | METH_KEYWORDS },
10489 { "wxStyledTextCtrl_GetDocPointer", (PyCFunction) _wrap_wxStyledTextCtrl_GetDocPointer, METH_VARARGS | METH_KEYWORDS },
10490 { "wxStyledTextCtrl_SetViewEOL", (PyCFunction) _wrap_wxStyledTextCtrl_SetViewEOL, METH_VARARGS | METH_KEYWORDS },
10491 { "wxStyledTextCtrl_GetViewEOL", (PyCFunction) _wrap_wxStyledTextCtrl_GetViewEOL, METH_VARARGS | METH_KEYWORDS },
10492 { "wxStyledTextCtrl_BraceMatch", (PyCFunction) _wrap_wxStyledTextCtrl_BraceMatch, METH_VARARGS | METH_KEYWORDS },
10493 { "wxStyledTextCtrl_BraceBadLight", (PyCFunction) _wrap_wxStyledTextCtrl_BraceBadLight, METH_VARARGS | METH_KEYWORDS },
10494 { "wxStyledTextCtrl_BraceHighlight", (PyCFunction) _wrap_wxStyledTextCtrl_BraceHighlight, METH_VARARGS | METH_KEYWORDS },
10495 { "wxStyledTextCtrl_LineLength", (PyCFunction) _wrap_wxStyledTextCtrl_LineLength, METH_VARARGS | METH_KEYWORDS },
10496 { "wxStyledTextCtrl_MoveCaretInsideView", (PyCFunction) _wrap_wxStyledTextCtrl_MoveCaretInsideView, METH_VARARGS | METH_KEYWORDS },
10497 { "wxStyledTextCtrl_GetMouseDwellTime", (PyCFunction) _wrap_wxStyledTextCtrl_GetMouseDwellTime, METH_VARARGS | METH_KEYWORDS },
10498 { "wxStyledTextCtrl_SetMouseDwellTime", (PyCFunction) _wrap_wxStyledTextCtrl_SetMouseDwellTime, METH_VARARGS | METH_KEYWORDS },
10499 { "wxStyledTextCtrl_GetBackSpaceUnIndents", (PyCFunction) _wrap_wxStyledTextCtrl_GetBackSpaceUnIndents, METH_VARARGS | METH_KEYWORDS },
10500 { "wxStyledTextCtrl_SetBackSpaceUnIndents", (PyCFunction) _wrap_wxStyledTextCtrl_SetBackSpaceUnIndents, METH_VARARGS | METH_KEYWORDS },
10501 { "wxStyledTextCtrl_GetTabIndents", (PyCFunction) _wrap_wxStyledTextCtrl_GetTabIndents, METH_VARARGS | METH_KEYWORDS },
10502 { "wxStyledTextCtrl_SetTabIndents", (PyCFunction) _wrap_wxStyledTextCtrl_SetTabIndents, METH_VARARGS | METH_KEYWORDS },
10503 { "wxStyledTextCtrl_EnsureVisibleEnforcePolicy", (PyCFunction) _wrap_wxStyledTextCtrl_EnsureVisibleEnforcePolicy, METH_VARARGS | METH_KEYWORDS },
10504 { "wxStyledTextCtrl_SetFoldFlags", (PyCFunction) _wrap_wxStyledTextCtrl_SetFoldFlags, METH_VARARGS | METH_KEYWORDS },
10505 { "wxStyledTextCtrl_EnsureVisible", (PyCFunction) _wrap_wxStyledTextCtrl_EnsureVisible, METH_VARARGS | METH_KEYWORDS },
10506 { "wxStyledTextCtrl_ToggleFold", (PyCFunction) _wrap_wxStyledTextCtrl_ToggleFold, METH_VARARGS | METH_KEYWORDS },
10507 { "wxStyledTextCtrl_GetFoldExpanded", (PyCFunction) _wrap_wxStyledTextCtrl_GetFoldExpanded, METH_VARARGS | METH_KEYWORDS },
10508 { "wxStyledTextCtrl_SetFoldExpanded", (PyCFunction) _wrap_wxStyledTextCtrl_SetFoldExpanded, METH_VARARGS | METH_KEYWORDS },
10509 { "wxStyledTextCtrl_GetLineVisible", (PyCFunction) _wrap_wxStyledTextCtrl_GetLineVisible, METH_VARARGS | METH_KEYWORDS },
10510 { "wxStyledTextCtrl_HideLines", (PyCFunction) _wrap_wxStyledTextCtrl_HideLines, METH_VARARGS | METH_KEYWORDS },
10511 { "wxStyledTextCtrl_ShowLines", (PyCFunction) _wrap_wxStyledTextCtrl_ShowLines, METH_VARARGS | METH_KEYWORDS },
10512 { "wxStyledTextCtrl_GetFoldParent", (PyCFunction) _wrap_wxStyledTextCtrl_GetFoldParent, METH_VARARGS | METH_KEYWORDS },
10513 { "wxStyledTextCtrl_GetLastChild", (PyCFunction) _wrap_wxStyledTextCtrl_GetLastChild, METH_VARARGS | METH_KEYWORDS },
10514 { "wxStyledTextCtrl_GetFoldLevel", (PyCFunction) _wrap_wxStyledTextCtrl_GetFoldLevel, METH_VARARGS | METH_KEYWORDS },
10515 { "wxStyledTextCtrl_SetFoldLevel", (PyCFunction) _wrap_wxStyledTextCtrl_SetFoldLevel, METH_VARARGS | METH_KEYWORDS },
10516 { "wxStyledTextCtrl_DocLineFromVisible", (PyCFunction) _wrap_wxStyledTextCtrl_DocLineFromVisible, METH_VARARGS | METH_KEYWORDS },
10517 { "wxStyledTextCtrl_VisibleFromDocLine", (PyCFunction) _wrap_wxStyledTextCtrl_VisibleFromDocLine, METH_VARARGS | METH_KEYWORDS },
10518 { "wxStyledTextCtrl_CallTipSetBackground", (PyCFunction) _wrap_wxStyledTextCtrl_CallTipSetBackground, METH_VARARGS | METH_KEYWORDS },
10519 { "wxStyledTextCtrl_CallTipSetHighlight", (PyCFunction) _wrap_wxStyledTextCtrl_CallTipSetHighlight, METH_VARARGS | METH_KEYWORDS },
10520 { "wxStyledTextCtrl_CallTipPosAtStart", (PyCFunction) _wrap_wxStyledTextCtrl_CallTipPosAtStart, METH_VARARGS | METH_KEYWORDS },
10521 { "wxStyledTextCtrl_CallTipActive", (PyCFunction) _wrap_wxStyledTextCtrl_CallTipActive, METH_VARARGS | METH_KEYWORDS },
10522 { "wxStyledTextCtrl_CallTipCancel", (PyCFunction) _wrap_wxStyledTextCtrl_CallTipCancel, METH_VARARGS | METH_KEYWORDS },
10523 { "wxStyledTextCtrl_CallTipShow", (PyCFunction) _wrap_wxStyledTextCtrl_CallTipShow, METH_VARARGS | METH_KEYWORDS },
10524 { "wxStyledTextCtrl_GetSearchFlags", (PyCFunction) _wrap_wxStyledTextCtrl_GetSearchFlags, METH_VARARGS | METH_KEYWORDS },
10525 { "wxStyledTextCtrl_SetSearchFlags", (PyCFunction) _wrap_wxStyledTextCtrl_SetSearchFlags, METH_VARARGS | METH_KEYWORDS },
10526 { "wxStyledTextCtrl_SearchInTarget", (PyCFunction) _wrap_wxStyledTextCtrl_SearchInTarget, METH_VARARGS | METH_KEYWORDS },
10527 { "wxStyledTextCtrl_ReplaceTargetRE", (PyCFunction) _wrap_wxStyledTextCtrl_ReplaceTargetRE, METH_VARARGS | METH_KEYWORDS },
10528 { "wxStyledTextCtrl_ReplaceTarget", (PyCFunction) _wrap_wxStyledTextCtrl_ReplaceTarget, METH_VARARGS | METH_KEYWORDS },
10529 { "wxStyledTextCtrl_GetTargetEnd", (PyCFunction) _wrap_wxStyledTextCtrl_GetTargetEnd, METH_VARARGS | METH_KEYWORDS },
10530 { "wxStyledTextCtrl_SetTargetEnd", (PyCFunction) _wrap_wxStyledTextCtrl_SetTargetEnd, METH_VARARGS | METH_KEYWORDS },
10531 { "wxStyledTextCtrl_GetTargetStart", (PyCFunction) _wrap_wxStyledTextCtrl_GetTargetStart, METH_VARARGS | METH_KEYWORDS },
10532 { "wxStyledTextCtrl_SetTargetStart", (PyCFunction) _wrap_wxStyledTextCtrl_SetTargetStart, METH_VARARGS | METH_KEYWORDS },
10533 { "wxStyledTextCtrl_GetCaretWidth", (PyCFunction) _wrap_wxStyledTextCtrl_GetCaretWidth, METH_VARARGS | METH_KEYWORDS },
10534 { "wxStyledTextCtrl_SetCaretWidth", (PyCFunction) _wrap_wxStyledTextCtrl_SetCaretWidth, METH_VARARGS | METH_KEYWORDS },
10535 { "wxStyledTextCtrl_GetOvertype", (PyCFunction) _wrap_wxStyledTextCtrl_GetOvertype, METH_VARARGS | METH_KEYWORDS },
10536 { "wxStyledTextCtrl_SetOvertype", (PyCFunction) _wrap_wxStyledTextCtrl_SetOvertype, METH_VARARGS | METH_KEYWORDS },
10537 { "wxStyledTextCtrl_GetTextLength", (PyCFunction) _wrap_wxStyledTextCtrl_GetTextLength, METH_VARARGS | METH_KEYWORDS },
10538 { "wxStyledTextCtrl_GetText", (PyCFunction) _wrap_wxStyledTextCtrl_GetText, METH_VARARGS | METH_KEYWORDS },
10539 { "wxStyledTextCtrl_SetText", (PyCFunction) _wrap_wxStyledTextCtrl_SetText, METH_VARARGS | METH_KEYWORDS },
10540 { "wxStyledTextCtrl_Clear", (PyCFunction) _wrap_wxStyledTextCtrl_Clear, METH_VARARGS | METH_KEYWORDS },
10541 { "wxStyledTextCtrl_Paste", (PyCFunction) _wrap_wxStyledTextCtrl_Paste, METH_VARARGS | METH_KEYWORDS },
10542 { "wxStyledTextCtrl_Copy", (PyCFunction) _wrap_wxStyledTextCtrl_Copy, METH_VARARGS | METH_KEYWORDS },
10543 { "wxStyledTextCtrl_Cut", (PyCFunction) _wrap_wxStyledTextCtrl_Cut, METH_VARARGS | METH_KEYWORDS },
10544 { "wxStyledTextCtrl_Undo", (PyCFunction) _wrap_wxStyledTextCtrl_Undo, METH_VARARGS | METH_KEYWORDS },
10545 { "wxStyledTextCtrl_EmptyUndoBuffer", (PyCFunction) _wrap_wxStyledTextCtrl_EmptyUndoBuffer, METH_VARARGS | METH_KEYWORDS },
10546 { "wxStyledTextCtrl_CanUndo", (PyCFunction) _wrap_wxStyledTextCtrl_CanUndo, METH_VARARGS | METH_KEYWORDS },
10547 { "wxStyledTextCtrl_CanPaste", (PyCFunction) _wrap_wxStyledTextCtrl_CanPaste, METH_VARARGS | METH_KEYWORDS },
10548 { "wxStyledTextCtrl_SetReadOnly", (PyCFunction) _wrap_wxStyledTextCtrl_SetReadOnly, METH_VARARGS | METH_KEYWORDS },
10549 { "wxStyledTextCtrl_ReplaceSelection", (PyCFunction) _wrap_wxStyledTextCtrl_ReplaceSelection, METH_VARARGS | METH_KEYWORDS },
10550 { "wxStyledTextCtrl_EnsureCaretVisible", (PyCFunction) _wrap_wxStyledTextCtrl_EnsureCaretVisible, METH_VARARGS | METH_KEYWORDS },
10551 { "wxStyledTextCtrl_LineScroll", (PyCFunction) _wrap_wxStyledTextCtrl_LineScroll, METH_VARARGS | METH_KEYWORDS },
10552 { "wxStyledTextCtrl_PositionFromLine", (PyCFunction) _wrap_wxStyledTextCtrl_PositionFromLine, METH_VARARGS | METH_KEYWORDS },
10553 { "wxStyledTextCtrl_LineFromPosition", (PyCFunction) _wrap_wxStyledTextCtrl_LineFromPosition, METH_VARARGS | METH_KEYWORDS },
10554 { "wxStyledTextCtrl_HideSelection", (PyCFunction) _wrap_wxStyledTextCtrl_HideSelection, METH_VARARGS | METH_KEYWORDS },
10555 { "wxStyledTextCtrl_GetTextRange", (PyCFunction) _wrap_wxStyledTextCtrl_GetTextRange, METH_VARARGS | METH_KEYWORDS },
10556 { "wxStyledTextCtrl_GetSelectedText", (PyCFunction) _wrap_wxStyledTextCtrl_GetSelectedText, METH_VARARGS | METH_KEYWORDS },
10557 { "wxStyledTextCtrl_SetSelection", (PyCFunction) _wrap_wxStyledTextCtrl_SetSelection, METH_VARARGS | METH_KEYWORDS },
10558 { "wxStyledTextCtrl_GetModify", (PyCFunction) _wrap_wxStyledTextCtrl_GetModify, METH_VARARGS | METH_KEYWORDS },
10559 { "wxStyledTextCtrl_GetMarginRight", (PyCFunction) _wrap_wxStyledTextCtrl_GetMarginRight, METH_VARARGS | METH_KEYWORDS },
10560 { "wxStyledTextCtrl_SetMarginRight", (PyCFunction) _wrap_wxStyledTextCtrl_SetMarginRight, METH_VARARGS | METH_KEYWORDS },
10561 { "wxStyledTextCtrl_GetMarginLeft", (PyCFunction) _wrap_wxStyledTextCtrl_GetMarginLeft, METH_VARARGS | METH_KEYWORDS },
10562 { "wxStyledTextCtrl_SetMarginLeft", (PyCFunction) _wrap_wxStyledTextCtrl_SetMarginLeft, METH_VARARGS | METH_KEYWORDS },
10563 { "wxStyledTextCtrl_GetLineCount", (PyCFunction) _wrap_wxStyledTextCtrl_GetLineCount, METH_VARARGS | METH_KEYWORDS },
10564 { "wxStyledTextCtrl_GetLine", (PyCFunction) _wrap_wxStyledTextCtrl_GetLine, METH_VARARGS | METH_KEYWORDS },
10565 { "wxStyledTextCtrl_GetFirstVisibleLine", (PyCFunction) _wrap_wxStyledTextCtrl_GetFirstVisibleLine, METH_VARARGS | METH_KEYWORDS },
10566 { "wxStyledTextCtrl_FormatRange", (PyCFunction) _wrap_wxStyledTextCtrl_FormatRange, METH_VARARGS | METH_KEYWORDS },
10567 { "wxStyledTextCtrl_FindText", (PyCFunction) _wrap_wxStyledTextCtrl_FindText, METH_VARARGS | METH_KEYWORDS },
10568 { "wxStyledTextCtrl_GetPrintColourMode", (PyCFunction) _wrap_wxStyledTextCtrl_GetPrintColourMode, METH_VARARGS | METH_KEYWORDS },
10569 { "wxStyledTextCtrl_SetPrintColourMode", (PyCFunction) _wrap_wxStyledTextCtrl_SetPrintColourMode, METH_VARARGS | METH_KEYWORDS },
10570 { "wxStyledTextCtrl_GetPrintMagnification", (PyCFunction) _wrap_wxStyledTextCtrl_GetPrintMagnification, METH_VARARGS | METH_KEYWORDS },
10571 { "wxStyledTextCtrl_SetPrintMagnification", (PyCFunction) _wrap_wxStyledTextCtrl_SetPrintMagnification, METH_VARARGS | METH_KEYWORDS },
10572 { "wxStyledTextCtrl_GetSelectionEnd", (PyCFunction) _wrap_wxStyledTextCtrl_GetSelectionEnd, METH_VARARGS | METH_KEYWORDS },
10573 { "wxStyledTextCtrl_SetSelectionEnd", (PyCFunction) _wrap_wxStyledTextCtrl_SetSelectionEnd, METH_VARARGS | METH_KEYWORDS },
10574 { "wxStyledTextCtrl_GetSelectionStart", (PyCFunction) _wrap_wxStyledTextCtrl_GetSelectionStart, METH_VARARGS | METH_KEYWORDS },
10575 { "wxStyledTextCtrl_SetSelectionStart", (PyCFunction) _wrap_wxStyledTextCtrl_SetSelectionStart, METH_VARARGS | METH_KEYWORDS },
10576 { "wxStyledTextCtrl_SetCurrentPos", (PyCFunction) _wrap_wxStyledTextCtrl_SetCurrentPos, METH_VARARGS | METH_KEYWORDS },
10577 { "wxStyledTextCtrl_GetReadOnly", (PyCFunction) _wrap_wxStyledTextCtrl_GetReadOnly, METH_VARARGS | METH_KEYWORDS },
10578 { "wxStyledTextCtrl_GetCaretForeground", (PyCFunction) _wrap_wxStyledTextCtrl_GetCaretForeground, METH_VARARGS | METH_KEYWORDS },
10579 { "wxStyledTextCtrl_GetCodePage", (PyCFunction) _wrap_wxStyledTextCtrl_GetCodePage, METH_VARARGS | METH_KEYWORDS },
10580 { "wxStyledTextCtrl_GetLineEndPosition", (PyCFunction) _wrap_wxStyledTextCtrl_GetLineEndPosition, METH_VARARGS | METH_KEYWORDS },
10581 { "wxStyledTextCtrl_GetHighlightGuide", (PyCFunction) _wrap_wxStyledTextCtrl_GetHighlightGuide, METH_VARARGS | METH_KEYWORDS },
10582 { "wxStyledTextCtrl_SetHighlightGuide", (PyCFunction) _wrap_wxStyledTextCtrl_SetHighlightGuide, METH_VARARGS | METH_KEYWORDS },
10583 { "wxStyledTextCtrl_GetIndentationGuides", (PyCFunction) _wrap_wxStyledTextCtrl_GetIndentationGuides, METH_VARARGS | METH_KEYWORDS },
10584 { "wxStyledTextCtrl_SetIndentationGuides", (PyCFunction) _wrap_wxStyledTextCtrl_SetIndentationGuides, METH_VARARGS | METH_KEYWORDS },
10585 { "wxStyledTextCtrl_GetUseHorizontalScrollBar", (PyCFunction) _wrap_wxStyledTextCtrl_GetUseHorizontalScrollBar, METH_VARARGS | METH_KEYWORDS },
10586 { "wxStyledTextCtrl_SetUseHorizontalScrollBar", (PyCFunction) _wrap_wxStyledTextCtrl_SetUseHorizontalScrollBar, METH_VARARGS | METH_KEYWORDS },
10587 { "wxStyledTextCtrl_GetColumn", (PyCFunction) _wrap_wxStyledTextCtrl_GetColumn, METH_VARARGS | METH_KEYWORDS },
10588 { "wxStyledTextCtrl_GetLineIndentPosition", (PyCFunction) _wrap_wxStyledTextCtrl_GetLineIndentPosition, METH_VARARGS | METH_KEYWORDS },
10589 { "wxStyledTextCtrl_GetLineIndentation", (PyCFunction) _wrap_wxStyledTextCtrl_GetLineIndentation, METH_VARARGS | METH_KEYWORDS },
10590 { "wxStyledTextCtrl_SetLineIndentation", (PyCFunction) _wrap_wxStyledTextCtrl_SetLineIndentation, METH_VARARGS | METH_KEYWORDS },
10591 { "wxStyledTextCtrl_GetUseTabs", (PyCFunction) _wrap_wxStyledTextCtrl_GetUseTabs, METH_VARARGS | METH_KEYWORDS },
10592 { "wxStyledTextCtrl_SetUseTabs", (PyCFunction) _wrap_wxStyledTextCtrl_SetUseTabs, METH_VARARGS | METH_KEYWORDS },
10593 { "wxStyledTextCtrl_GetIndent", (PyCFunction) _wrap_wxStyledTextCtrl_GetIndent, METH_VARARGS | METH_KEYWORDS },
10594 { "wxStyledTextCtrl_SetIndent", (PyCFunction) _wrap_wxStyledTextCtrl_SetIndent, METH_VARARGS | METH_KEYWORDS },
10595 { "wxStyledTextCtrl_AutoCompGetAutoHide", (PyCFunction) _wrap_wxStyledTextCtrl_AutoCompGetAutoHide, METH_VARARGS | METH_KEYWORDS },
10596 { "wxStyledTextCtrl_AutoCompSetAutoHide", (PyCFunction) _wrap_wxStyledTextCtrl_AutoCompSetAutoHide, METH_VARARGS | METH_KEYWORDS },
10597 { "wxStyledTextCtrl_UserListShow", (PyCFunction) _wrap_wxStyledTextCtrl_UserListShow, METH_VARARGS | METH_KEYWORDS },
10598 { "wxStyledTextCtrl_AutoCompGetIgnoreCase", (PyCFunction) _wrap_wxStyledTextCtrl_AutoCompGetIgnoreCase, METH_VARARGS | METH_KEYWORDS },
10599 { "wxStyledTextCtrl_AutoCompSetIgnoreCase", (PyCFunction) _wrap_wxStyledTextCtrl_AutoCompSetIgnoreCase, METH_VARARGS | METH_KEYWORDS },
10600 { "wxStyledTextCtrl_AutoCompGetChooseSingle", (PyCFunction) _wrap_wxStyledTextCtrl_AutoCompGetChooseSingle, METH_VARARGS | METH_KEYWORDS },
10601 { "wxStyledTextCtrl_AutoCompSetChooseSingle", (PyCFunction) _wrap_wxStyledTextCtrl_AutoCompSetChooseSingle, METH_VARARGS | METH_KEYWORDS },
10602 { "wxStyledTextCtrl_AutoCompSetFillUps", (PyCFunction) _wrap_wxStyledTextCtrl_AutoCompSetFillUps, METH_VARARGS | METH_KEYWORDS },
10603 { "wxStyledTextCtrl_AutoCompGetCancelAtStart", (PyCFunction) _wrap_wxStyledTextCtrl_AutoCompGetCancelAtStart, METH_VARARGS | METH_KEYWORDS },
10604 { "wxStyledTextCtrl_AutoCompSetCancelAtStart", (PyCFunction) _wrap_wxStyledTextCtrl_AutoCompSetCancelAtStart, METH_VARARGS | METH_KEYWORDS },
10605 { "wxStyledTextCtrl_AutoCompSelect", (PyCFunction) _wrap_wxStyledTextCtrl_AutoCompSelect, METH_VARARGS | METH_KEYWORDS },
10606 { "wxStyledTextCtrl_AutoCompGetSeparator", (PyCFunction) _wrap_wxStyledTextCtrl_AutoCompGetSeparator, METH_VARARGS | METH_KEYWORDS },
10607 { "wxStyledTextCtrl_AutoCompSetSeparator", (PyCFunction) _wrap_wxStyledTextCtrl_AutoCompSetSeparator, METH_VARARGS | METH_KEYWORDS },
10608 { "wxStyledTextCtrl_AutoCompStops", (PyCFunction) _wrap_wxStyledTextCtrl_AutoCompStops, METH_VARARGS | METH_KEYWORDS },
10609 { "wxStyledTextCtrl_AutoCompComplete", (PyCFunction) _wrap_wxStyledTextCtrl_AutoCompComplete, METH_VARARGS | METH_KEYWORDS },
10610 { "wxStyledTextCtrl_AutoCompPosStart", (PyCFunction) _wrap_wxStyledTextCtrl_AutoCompPosStart, METH_VARARGS | METH_KEYWORDS },
10611 { "wxStyledTextCtrl_AutoCompActive", (PyCFunction) _wrap_wxStyledTextCtrl_AutoCompActive, METH_VARARGS | METH_KEYWORDS },
10612 { "wxStyledTextCtrl_AutoCompCancel", (PyCFunction) _wrap_wxStyledTextCtrl_AutoCompCancel, METH_VARARGS | METH_KEYWORDS },
10613 { "wxStyledTextCtrl_AutoCompShow", (PyCFunction) _wrap_wxStyledTextCtrl_AutoCompShow, METH_VARARGS | METH_KEYWORDS },
10614 { "wxStyledTextCtrl_SetCaretLineBack", (PyCFunction) _wrap_wxStyledTextCtrl_SetCaretLineBack, METH_VARARGS | METH_KEYWORDS },
10615 { "wxStyledTextCtrl_GetCaretLineBack", (PyCFunction) _wrap_wxStyledTextCtrl_GetCaretLineBack, METH_VARARGS | METH_KEYWORDS },
10616 { "wxStyledTextCtrl_SetCaretLineVisible", (PyCFunction) _wrap_wxStyledTextCtrl_SetCaretLineVisible, METH_VARARGS | METH_KEYWORDS },
10617 { "wxStyledTextCtrl_GetCaretLineVisible", (PyCFunction) _wrap_wxStyledTextCtrl_GetCaretLineVisible, METH_VARARGS | METH_KEYWORDS },
10618 { "wxStyledTextCtrl_GetMaxLineState", (PyCFunction) _wrap_wxStyledTextCtrl_GetMaxLineState, METH_VARARGS | METH_KEYWORDS },
10619 { "wxStyledTextCtrl_GetLineState", (PyCFunction) _wrap_wxStyledTextCtrl_GetLineState, METH_VARARGS | METH_KEYWORDS },
10620 { "wxStyledTextCtrl_SetLineState", (PyCFunction) _wrap_wxStyledTextCtrl_SetLineState, METH_VARARGS | METH_KEYWORDS },
10621 { "wxStyledTextCtrl_GetStyleBits", (PyCFunction) _wrap_wxStyledTextCtrl_GetStyleBits, METH_VARARGS | METH_KEYWORDS },
10622 { "wxStyledTextCtrl_SetStyleBits", (PyCFunction) _wrap_wxStyledTextCtrl_SetStyleBits, METH_VARARGS | METH_KEYWORDS },
10623 { "wxStyledTextCtrl_IndicatorGetForeground", (PyCFunction) _wrap_wxStyledTextCtrl_IndicatorGetForeground, METH_VARARGS | METH_KEYWORDS },
10624 { "wxStyledTextCtrl_IndicatorSetForeground", (PyCFunction) _wrap_wxStyledTextCtrl_IndicatorSetForeground, METH_VARARGS | METH_KEYWORDS },
10625 { "wxStyledTextCtrl_IndicatorGetStyle", (PyCFunction) _wrap_wxStyledTextCtrl_IndicatorGetStyle, METH_VARARGS | METH_KEYWORDS },
10626 { "wxStyledTextCtrl_IndicatorSetStyle", (PyCFunction) _wrap_wxStyledTextCtrl_IndicatorSetStyle, METH_VARARGS | METH_KEYWORDS },
10627 { "wxStyledTextCtrl_EndUndoAction", (PyCFunction) _wrap_wxStyledTextCtrl_EndUndoAction, METH_VARARGS | METH_KEYWORDS },
10628 { "wxStyledTextCtrl_BeginUndoAction", (PyCFunction) _wrap_wxStyledTextCtrl_BeginUndoAction, METH_VARARGS | METH_KEYWORDS },
10629 { "wxStyledTextCtrl_SetWordChars", (PyCFunction) _wrap_wxStyledTextCtrl_SetWordChars, METH_VARARGS | METH_KEYWORDS },
10630 { "wxStyledTextCtrl_SetCaretPeriod", (PyCFunction) _wrap_wxStyledTextCtrl_SetCaretPeriod, METH_VARARGS | METH_KEYWORDS },
10631 { "wxStyledTextCtrl_GetCaretPeriod", (PyCFunction) _wrap_wxStyledTextCtrl_GetCaretPeriod, METH_VARARGS | METH_KEYWORDS },
10632 { "wxStyledTextCtrl_StyleSetVisible", (PyCFunction) _wrap_wxStyledTextCtrl_StyleSetVisible, METH_VARARGS | METH_KEYWORDS },
10633 { "wxStyledTextCtrl_SetStyleBytes", (PyCFunction) _wrap_wxStyledTextCtrl_SetStyleBytes, METH_VARARGS | METH_KEYWORDS },
10634 { "wxStyledTextCtrl_CmdKeyClearAll", (PyCFunction) _wrap_wxStyledTextCtrl_CmdKeyClearAll, METH_VARARGS | METH_KEYWORDS },
10635 { "wxStyledTextCtrl_CmdKeyClear", (PyCFunction) _wrap_wxStyledTextCtrl_CmdKeyClear, METH_VARARGS | METH_KEYWORDS },
10636 { "wxStyledTextCtrl_CmdKeyAssign", (PyCFunction) _wrap_wxStyledTextCtrl_CmdKeyAssign, METH_VARARGS | METH_KEYWORDS },
10637 { "wxStyledTextCtrl_SetCaretForeground", (PyCFunction) _wrap_wxStyledTextCtrl_SetCaretForeground, METH_VARARGS | METH_KEYWORDS },
10638 { "wxStyledTextCtrl_SetSelBackground", (PyCFunction) _wrap_wxStyledTextCtrl_SetSelBackground, METH_VARARGS | METH_KEYWORDS },
10639 { "wxStyledTextCtrl_SetSelForeground", (PyCFunction) _wrap_wxStyledTextCtrl_SetSelForeground, METH_VARARGS | METH_KEYWORDS },
10640 { "wxStyledTextCtrl_StyleSetCase", (PyCFunction) _wrap_wxStyledTextCtrl_StyleSetCase, METH_VARARGS | METH_KEYWORDS },
10641 { "wxStyledTextCtrl_StyleSetUnderline", (PyCFunction) _wrap_wxStyledTextCtrl_StyleSetUnderline, METH_VARARGS | METH_KEYWORDS },
10642 { "wxStyledTextCtrl_StyleResetDefault", (PyCFunction) _wrap_wxStyledTextCtrl_StyleResetDefault, METH_VARARGS | METH_KEYWORDS },
10643 { "wxStyledTextCtrl_StyleSetEOLFilled", (PyCFunction) _wrap_wxStyledTextCtrl_StyleSetEOLFilled, METH_VARARGS | METH_KEYWORDS },
10644 { "wxStyledTextCtrl_StyleSetFaceName", (PyCFunction) _wrap_wxStyledTextCtrl_StyleSetFaceName, METH_VARARGS | METH_KEYWORDS },
10645 { "wxStyledTextCtrl_StyleSetSize", (PyCFunction) _wrap_wxStyledTextCtrl_StyleSetSize, METH_VARARGS | METH_KEYWORDS },
10646 { "wxStyledTextCtrl_StyleSetItalic", (PyCFunction) _wrap_wxStyledTextCtrl_StyleSetItalic, METH_VARARGS | METH_KEYWORDS },
10647 { "wxStyledTextCtrl_StyleSetBold", (PyCFunction) _wrap_wxStyledTextCtrl_StyleSetBold, METH_VARARGS | METH_KEYWORDS },
10648 { "wxStyledTextCtrl_StyleSetBackground", (PyCFunction) _wrap_wxStyledTextCtrl_StyleSetBackground, METH_VARARGS | METH_KEYWORDS },
10649 { "wxStyledTextCtrl_StyleSetForeground", (PyCFunction) _wrap_wxStyledTextCtrl_StyleSetForeground, METH_VARARGS | METH_KEYWORDS },
10650 { "wxStyledTextCtrl_StyleClearAll", (PyCFunction) _wrap_wxStyledTextCtrl_StyleClearAll, METH_VARARGS | METH_KEYWORDS },
10651 { "wxStyledTextCtrl_GetMarginSensitive", (PyCFunction) _wrap_wxStyledTextCtrl_GetMarginSensitive, METH_VARARGS | METH_KEYWORDS },
10652 { "wxStyledTextCtrl_SetMarginSensitive", (PyCFunction) _wrap_wxStyledTextCtrl_SetMarginSensitive, METH_VARARGS | METH_KEYWORDS },
10653 { "wxStyledTextCtrl_GetMarginMask", (PyCFunction) _wrap_wxStyledTextCtrl_GetMarginMask, METH_VARARGS | METH_KEYWORDS },
10654 { "wxStyledTextCtrl_SetMarginMask", (PyCFunction) _wrap_wxStyledTextCtrl_SetMarginMask, METH_VARARGS | METH_KEYWORDS },
10655 { "wxStyledTextCtrl_GetMarginWidth", (PyCFunction) _wrap_wxStyledTextCtrl_GetMarginWidth, METH_VARARGS | METH_KEYWORDS },
10656 { "wxStyledTextCtrl_SetMarginWidth", (PyCFunction) _wrap_wxStyledTextCtrl_SetMarginWidth, METH_VARARGS | METH_KEYWORDS },
10657 { "wxStyledTextCtrl_GetMarginType", (PyCFunction) _wrap_wxStyledTextCtrl_GetMarginType, METH_VARARGS | METH_KEYWORDS },
10658 { "wxStyledTextCtrl_SetMarginType", (PyCFunction) _wrap_wxStyledTextCtrl_SetMarginType, METH_VARARGS | METH_KEYWORDS },
10659 { "wxStyledTextCtrl_MarkerPrevious", (PyCFunction) _wrap_wxStyledTextCtrl_MarkerPrevious, METH_VARARGS | METH_KEYWORDS },
10660 { "wxStyledTextCtrl_MarkerNext", (PyCFunction) _wrap_wxStyledTextCtrl_MarkerNext, METH_VARARGS | METH_KEYWORDS },
10661 { "wxStyledTextCtrl_MarkerGet", (PyCFunction) _wrap_wxStyledTextCtrl_MarkerGet, METH_VARARGS | METH_KEYWORDS },
10662 { "wxStyledTextCtrl_MarkerDeleteAll", (PyCFunction) _wrap_wxStyledTextCtrl_MarkerDeleteAll, METH_VARARGS | METH_KEYWORDS },
10663 { "wxStyledTextCtrl_MarkerDelete", (PyCFunction) _wrap_wxStyledTextCtrl_MarkerDelete, METH_VARARGS | METH_KEYWORDS },
10664 { "wxStyledTextCtrl_MarkerAdd", (PyCFunction) _wrap_wxStyledTextCtrl_MarkerAdd, METH_VARARGS | METH_KEYWORDS },
10665 { "wxStyledTextCtrl_MarkerSetBackground", (PyCFunction) _wrap_wxStyledTextCtrl_MarkerSetBackground, METH_VARARGS | METH_KEYWORDS },
10666 { "wxStyledTextCtrl_MarkerSetForeground", (PyCFunction) _wrap_wxStyledTextCtrl_MarkerSetForeground, METH_VARARGS | METH_KEYWORDS },
10667 { "wxStyledTextCtrl_MarkerDefine", (PyCFunction) _wrap_wxStyledTextCtrl_MarkerDefine, METH_VARARGS | METH_KEYWORDS },
10668 { "wxStyledTextCtrl_SetCodePage", (PyCFunction) _wrap_wxStyledTextCtrl_SetCodePage, METH_VARARGS | METH_KEYWORDS },
10669 { "wxStyledTextCtrl_GetTabWidth", (PyCFunction) _wrap_wxStyledTextCtrl_GetTabWidth, METH_VARARGS | METH_KEYWORDS },
10670 { "wxStyledTextCtrl_SetTabWidth", (PyCFunction) _wrap_wxStyledTextCtrl_SetTabWidth, METH_VARARGS | METH_KEYWORDS },
10671 { "wxStyledTextCtrl_SetBufferedDraw", (PyCFunction) _wrap_wxStyledTextCtrl_SetBufferedDraw, METH_VARARGS | METH_KEYWORDS },
10672 { "wxStyledTextCtrl_GetBufferedDraw", (PyCFunction) _wrap_wxStyledTextCtrl_GetBufferedDraw, METH_VARARGS | METH_KEYWORDS },
10673 { "wxStyledTextCtrl_SetStyling", (PyCFunction) _wrap_wxStyledTextCtrl_SetStyling, METH_VARARGS | METH_KEYWORDS },
10674 { "wxStyledTextCtrl_StartStyling", (PyCFunction) _wrap_wxStyledTextCtrl_StartStyling, METH_VARARGS | METH_KEYWORDS },
10675 { "wxStyledTextCtrl_SetEOLMode", (PyCFunction) _wrap_wxStyledTextCtrl_SetEOLMode, METH_VARARGS | METH_KEYWORDS },
10676 { "wxStyledTextCtrl_GetEOLMode", (PyCFunction) _wrap_wxStyledTextCtrl_GetEOLMode, METH_VARARGS | METH_KEYWORDS },
10677 { "wxStyledTextCtrl_ConvertEOLs", (PyCFunction) _wrap_wxStyledTextCtrl_ConvertEOLs, METH_VARARGS | METH_KEYWORDS },
10678 { "wxStyledTextCtrl_GetEndStyled", (PyCFunction) _wrap_wxStyledTextCtrl_GetEndStyled, METH_VARARGS | METH_KEYWORDS },
10679 { "wxStyledTextCtrl_GetCurLine", (PyCFunction) _wrap_wxStyledTextCtrl_GetCurLine, METH_VARARGS | METH_KEYWORDS },
10680 { "wxStyledTextCtrl_SetAnchor", (PyCFunction) _wrap_wxStyledTextCtrl_SetAnchor, METH_VARARGS | METH_KEYWORDS },
10681 { "wxStyledTextCtrl_GotoPos", (PyCFunction) _wrap_wxStyledTextCtrl_GotoPos, METH_VARARGS | METH_KEYWORDS },
10682 { "wxStyledTextCtrl_GotoLine", (PyCFunction) _wrap_wxStyledTextCtrl_GotoLine, METH_VARARGS | METH_KEYWORDS },
10683 { "wxStyledTextCtrl_PositionFromPointClose", (PyCFunction) _wrap_wxStyledTextCtrl_PositionFromPointClose, METH_VARARGS | METH_KEYWORDS },
10684 { "wxStyledTextCtrl_PositionFromPoint", (PyCFunction) _wrap_wxStyledTextCtrl_PositionFromPoint, METH_VARARGS | METH_KEYWORDS },
10685 { "wxStyledTextCtrl_SetViewWhiteSpace", (PyCFunction) _wrap_wxStyledTextCtrl_SetViewWhiteSpace, METH_VARARGS | METH_KEYWORDS },
10686 { "wxStyledTextCtrl_GetViewWhiteSpace", (PyCFunction) _wrap_wxStyledTextCtrl_GetViewWhiteSpace, METH_VARARGS | METH_KEYWORDS },
10687 { "wxStyledTextCtrl_GetUndoCollection", (PyCFunction) _wrap_wxStyledTextCtrl_GetUndoCollection, METH_VARARGS | METH_KEYWORDS },
10688 { "wxStyledTextCtrl_MarkerDeleteHandle", (PyCFunction) _wrap_wxStyledTextCtrl_MarkerDeleteHandle, METH_VARARGS | METH_KEYWORDS },
10689 { "wxStyledTextCtrl_MarkerLineFromHandle", (PyCFunction) _wrap_wxStyledTextCtrl_MarkerLineFromHandle, METH_VARARGS | METH_KEYWORDS },
10690 { "wxStyledTextCtrl_CanRedo", (PyCFunction) _wrap_wxStyledTextCtrl_CanRedo, METH_VARARGS | METH_KEYWORDS },
10691 { "wxStyledTextCtrl_GetStyledText", (PyCFunction) _wrap_wxStyledTextCtrl_GetStyledText, METH_VARARGS | METH_KEYWORDS },
10692 { "wxStyledTextCtrl_SetSavePoint", (PyCFunction) _wrap_wxStyledTextCtrl_SetSavePoint, METH_VARARGS | METH_KEYWORDS },
10693 { "wxStyledTextCtrl_SelectAll", (PyCFunction) _wrap_wxStyledTextCtrl_SelectAll, METH_VARARGS | METH_KEYWORDS },
10694 { "wxStyledTextCtrl_SetUndoCollection", (PyCFunction) _wrap_wxStyledTextCtrl_SetUndoCollection, METH_VARARGS | METH_KEYWORDS },
10695 { "wxStyledTextCtrl_Redo", (PyCFunction) _wrap_wxStyledTextCtrl_Redo, METH_VARARGS | METH_KEYWORDS },
10696 { "wxStyledTextCtrl_GetStyleAt", (PyCFunction) _wrap_wxStyledTextCtrl_GetStyleAt, METH_VARARGS | METH_KEYWORDS },
10697 { "wxStyledTextCtrl_GetAnchor", (PyCFunction) _wrap_wxStyledTextCtrl_GetAnchor, METH_VARARGS | METH_KEYWORDS },
10698 { "wxStyledTextCtrl_GetCurrentPos", (PyCFunction) _wrap_wxStyledTextCtrl_GetCurrentPos, METH_VARARGS | METH_KEYWORDS },
10699 { "wxStyledTextCtrl_GetCharAt", (PyCFunction) _wrap_wxStyledTextCtrl_GetCharAt, METH_VARARGS | METH_KEYWORDS },
10700 { "wxStyledTextCtrl_GetLength", (PyCFunction) _wrap_wxStyledTextCtrl_GetLength, METH_VARARGS | METH_KEYWORDS },
10701 { "wxStyledTextCtrl_ClearDocumentStyle", (PyCFunction) _wrap_wxStyledTextCtrl_ClearDocumentStyle, METH_VARARGS | METH_KEYWORDS },
10702 { "wxStyledTextCtrl_ClearAll", (PyCFunction) _wrap_wxStyledTextCtrl_ClearAll, METH_VARARGS | METH_KEYWORDS },
10703 { "wxStyledTextCtrl_InsertText", (PyCFunction) _wrap_wxStyledTextCtrl_InsertText, METH_VARARGS | METH_KEYWORDS },
10704 { "wxStyledTextCtrl_AddStyledText", (PyCFunction) _wrap_wxStyledTextCtrl_AddStyledText, METH_VARARGS | METH_KEYWORDS },
10705 { "wxStyledTextCtrl_AddText", (PyCFunction) _wrap_wxStyledTextCtrl_AddText, METH_VARARGS | METH_KEYWORDS },
10706 { "new_wxStyledTextCtrl", (PyCFunction) _wrap_new_wxStyledTextCtrl, METH_VARARGS | METH_KEYWORDS },
10707 { NULL, NULL }
10708};
10709#ifdef __cplusplus
10710}
10711#endif
10712/*
10713 * This table is used by the pointer type-checker
10714 */
10715static struct { char *n1; char *n2; void *(*pcnv)(void *); } _swig_mapping[] = {
10716 { "_wxEvent","_wxStyledTextEvent",SwigwxStyledTextEventTowxEvent},
10717 { "_signed_long","_long",0},
10718 { "_wxPrintQuality","_wxCoord",0},
10719 { "_wxPrintQuality","_int",0},
10720 { "_wxPrintQuality","_signed_int",0},
10721 { "_wxPrintQuality","_unsigned_int",0},
10722 { "_wxPrintQuality","_wxWindowID",0},
10723 { "_wxPrintQuality","_uint",0},
10724 { "_wxPrintQuality","_EBool",0},
10725 { "_wxPrintQuality","_size_t",0},
10726 { "_wxPrintQuality","_time_t",0},
10727 { "_byte","_unsigned_char",0},
10728 { "_long","_unsigned_long",0},
10729 { "_long","_signed_long",0},
10730 { "_size_t","_wxCoord",0},
10731 { "_size_t","_wxPrintQuality",0},
10732 { "_size_t","_time_t",0},
10733 { "_size_t","_unsigned_int",0},
10734 { "_size_t","_int",0},
10735 { "_size_t","_wxWindowID",0},
10736 { "_size_t","_uint",0},
10737 { "_uint","_wxCoord",0},
10738 { "_uint","_wxPrintQuality",0},
10739 { "_uint","_time_t",0},
10740 { "_uint","_size_t",0},
10741 { "_uint","_unsigned_int",0},
10742 { "_uint","_int",0},
10743 { "_uint","_wxWindowID",0},
10744 { "_wxChar","_char",0},
10745 { "_wxCommandEvent","_wxStyledTextEvent",SwigwxStyledTextEventTowxCommandEvent},
10746 { "_char","_wxChar",0},
10747 { "_struct_wxNativeFontInfo","_wxNativeFontInfo",0},
10748 { "_EBool","_wxCoord",0},
10749 { "_EBool","_wxPrintQuality",0},
10750 { "_EBool","_signed_int",0},
10751 { "_EBool","_int",0},
10752 { "_EBool","_wxWindowID",0},
10753 { "_unsigned_long","_long",0},
10754 { "_wxNativeFontInfo","_struct_wxNativeFontInfo",0},
10755 { "_signed_int","_wxCoord",0},
10756 { "_signed_int","_wxPrintQuality",0},
10757 { "_signed_int","_EBool",0},
10758 { "_signed_int","_wxWindowID",0},
10759 { "_signed_int","_int",0},
10760 { "_WXTYPE","_wxDateTime_t",0},
10761 { "_WXTYPE","_short",0},
10762 { "_WXTYPE","_signed_short",0},
10763 { "_WXTYPE","_unsigned_short",0},
10764 { "_unsigned_short","_wxDateTime_t",0},
10765 { "_unsigned_short","_WXTYPE",0},
10766 { "_unsigned_short","_short",0},
10767 { "_wxObject","_wxStyledTextEvent",SwigwxStyledTextEventTowxObject},
10768 { "_wxObject","_wxStyledTextCtrl",SwigwxStyledTextCtrlTowxObject},
10769 { "_signed_short","_WXTYPE",0},
10770 { "_signed_short","_short",0},
10771 { "_unsigned_char","_byte",0},
10772 { "_wxControl","_wxStyledTextCtrl",SwigwxStyledTextCtrlTowxControl},
10773 { "_unsigned_int","_wxCoord",0},
10774 { "_unsigned_int","_wxPrintQuality",0},
10775 { "_unsigned_int","_time_t",0},
10776 { "_unsigned_int","_size_t",0},
10777 { "_unsigned_int","_uint",0},
10778 { "_unsigned_int","_wxWindowID",0},
10779 { "_unsigned_int","_int",0},
10780 { "_short","_wxDateTime_t",0},
10781 { "_short","_WXTYPE",0},
10782 { "_short","_unsigned_short",0},
10783 { "_short","_signed_short",0},
10784 { "_wxWindowID","_wxCoord",0},
10785 { "_wxWindowID","_wxPrintQuality",0},
10786 { "_wxWindowID","_time_t",0},
10787 { "_wxWindowID","_size_t",0},
10788 { "_wxWindowID","_EBool",0},
10789 { "_wxWindowID","_uint",0},
10790 { "_wxWindowID","_int",0},
10791 { "_wxWindowID","_signed_int",0},
10792 { "_wxWindowID","_unsigned_int",0},
10793 { "_int","_wxCoord",0},
10794 { "_int","_wxPrintQuality",0},
10795 { "_int","_time_t",0},
10796 { "_int","_size_t",0},
10797 { "_int","_EBool",0},
10798 { "_int","_uint",0},
10799 { "_int","_wxWindowID",0},
10800 { "_int","_unsigned_int",0},
10801 { "_int","_signed_int",0},
10802 { "_wxDateTime_t","_unsigned_short",0},
10803 { "_wxDateTime_t","_short",0},
10804 { "_wxDateTime_t","_WXTYPE",0},
10805 { "_time_t","_wxCoord",0},
10806 { "_time_t","_wxPrintQuality",0},
10807 { "_time_t","_unsigned_int",0},
10808 { "_time_t","_int",0},
10809 { "_time_t","_wxWindowID",0},
10810 { "_time_t","_uint",0},
10811 { "_time_t","_size_t",0},
10812 { "_wxCoord","_int",0},
10813 { "_wxCoord","_signed_int",0},
10814 { "_wxCoord","_unsigned_int",0},
10815 { "_wxCoord","_wxWindowID",0},
10816 { "_wxCoord","_uint",0},
10817 { "_wxCoord","_EBool",0},
10818 { "_wxCoord","_size_t",0},
10819 { "_wxCoord","_time_t",0},
10820 { "_wxCoord","_wxPrintQuality",0},
10821 { "_wxEvtHandler","_wxStyledTextCtrl",SwigwxStyledTextCtrlTowxEvtHandler},
10822 { "_wxWindow","_wxStyledTextCtrl",SwigwxStyledTextCtrlTowxWindow},
10823{0,0,0}};
10824
10825static PyObject *SWIG_globals;
10826#ifdef __cplusplus
10827extern "C"
10828#endif
10829SWIGEXPORT(void) initstc_c() {
10830 PyObject *m, *d;
10831 SWIG_globals = SWIG_newvarlink();
10832 m = Py_InitModule("stc_c", stc_cMethods);
10833 d = PyModule_GetDict(m);
10834 PyDict_SetItemString(d,"wxSTC_INVALID_POSITION", PyInt_FromLong((long) -1));
10835 PyDict_SetItemString(d,"wxSTC_START", PyInt_FromLong((long) 2000));
10836 PyDict_SetItemString(d,"wxSTC_OPTIONAL_START", PyInt_FromLong((long) 3000));
10837 PyDict_SetItemString(d,"wxSTC_LEXER_START", PyInt_FromLong((long) 4000));
10838 PyDict_SetItemString(d,"wxSTC_CMD_REDO", PyInt_FromLong((long) 2011));
10839 PyDict_SetItemString(d,"wxSTC_CMD_SELECTALL", PyInt_FromLong((long) 2013));
10840 PyDict_SetItemString(d,"wxSTC_WS_INVISIBLE", PyInt_FromLong((long) 0));
10841 PyDict_SetItemString(d,"wxSTC_WS_VISIBLEALWAYS", PyInt_FromLong((long) 1));
10842 PyDict_SetItemString(d,"wxSTC_WS_VISIBLEAFTERINDENT", PyInt_FromLong((long) 2));
10843 PyDict_SetItemString(d,"wxSTC_EOL_CRLF", PyInt_FromLong((long) 0));
10844 PyDict_SetItemString(d,"wxSTC_EOL_CR", PyInt_FromLong((long) 1));
10845 PyDict_SetItemString(d,"wxSTC_EOL_LF", PyInt_FromLong((long) 2));
10846 PyDict_SetItemString(d,"wxSTC_CP_UTF8", PyInt_FromLong((long) 65001));
10847 PyDict_SetItemString(d,"wxSTC_MARKER_MAX", PyInt_FromLong((long) 31));
10848 PyDict_SetItemString(d,"wxSTC_MARK_CIRCLE", PyInt_FromLong((long) 0));
10849 PyDict_SetItemString(d,"wxSTC_MARK_ROUNDRECT", PyInt_FromLong((long) 1));
10850 PyDict_SetItemString(d,"wxSTC_MARK_ARROW", PyInt_FromLong((long) 2));
10851 PyDict_SetItemString(d,"wxSTC_MARK_SMALLRECT", PyInt_FromLong((long) 3));
10852 PyDict_SetItemString(d,"wxSTC_MARK_SHORTARROW", PyInt_FromLong((long) 4));
10853 PyDict_SetItemString(d,"wxSTC_MARK_EMPTY", PyInt_FromLong((long) 5));
10854 PyDict_SetItemString(d,"wxSTC_MARK_ARROWDOWN", PyInt_FromLong((long) 6));
10855 PyDict_SetItemString(d,"wxSTC_MARK_MINUS", PyInt_FromLong((long) 7));
10856 PyDict_SetItemString(d,"wxSTC_MARK_PLUS", PyInt_FromLong((long) 8));
10857 PyDict_SetItemString(d,"wxSTC_MARK_VLINE", PyInt_FromLong((long) 9));
10858 PyDict_SetItemString(d,"wxSTC_MARK_LCORNER", PyInt_FromLong((long) 10));
10859 PyDict_SetItemString(d,"wxSTC_MARK_TCORNER", PyInt_FromLong((long) 11));
10860 PyDict_SetItemString(d,"wxSTC_MARK_BOXPLUS", PyInt_FromLong((long) 12));
10861 PyDict_SetItemString(d,"wxSTC_MARK_BOXPLUSCONNECTED", PyInt_FromLong((long) 13));
10862 PyDict_SetItemString(d,"wxSTC_MARK_BOXMINUS", PyInt_FromLong((long) 14));
10863 PyDict_SetItemString(d,"wxSTC_MARK_BOXMINUSCONNECTED", PyInt_FromLong((long) 15));
10864 PyDict_SetItemString(d,"wxSTC_MARK_LCORNERCURVE", PyInt_FromLong((long) 16));
10865 PyDict_SetItemString(d,"wxSTC_MARK_TCORNERCURVE", PyInt_FromLong((long) 17));
10866 PyDict_SetItemString(d,"wxSTC_MARK_CIRCLEPLUS", PyInt_FromLong((long) 18));
10867 PyDict_SetItemString(d,"wxSTC_MARK_CIRCLEPLUSCONNECTED", PyInt_FromLong((long) 19));
10868 PyDict_SetItemString(d,"wxSTC_MARK_CIRCLEMINUS", PyInt_FromLong((long) 20));
10869 PyDict_SetItemString(d,"wxSTC_MARK_CIRCLEMINUSCONNECTED", PyInt_FromLong((long) 21));
10870 PyDict_SetItemString(d,"wxSTC_MARK_CHARACTER", PyInt_FromLong((long) 10000));
10871 PyDict_SetItemString(d,"wxSTC_MARKNUM_FOLDEREND", PyInt_FromLong((long) 25));
10872 PyDict_SetItemString(d,"wxSTC_MARKNUM_FOLDEROPENMID", PyInt_FromLong((long) 26));
10873 PyDict_SetItemString(d,"wxSTC_MARKNUM_FOLDERMIDTAIL", PyInt_FromLong((long) 27));
10874 PyDict_SetItemString(d,"wxSTC_MARKNUM_FOLDERTAIL", PyInt_FromLong((long) 28));
10875 PyDict_SetItemString(d,"wxSTC_MARKNUM_FOLDERSUB", PyInt_FromLong((long) 29));
10876 PyDict_SetItemString(d,"wxSTC_MARKNUM_FOLDER", PyInt_FromLong((long) 30));
10877 PyDict_SetItemString(d,"wxSTC_MARKNUM_FOLDEROPEN", PyInt_FromLong((long) 31));
10878 PyDict_SetItemString(d,"wxSTC_MARGIN_SYMBOL", PyInt_FromLong((long) 0));
10879 PyDict_SetItemString(d,"wxSTC_MARGIN_NUMBER", PyInt_FromLong((long) 1));
10880 PyDict_SetItemString(d,"wxSTC_STYLE_DEFAULT", PyInt_FromLong((long) 32));
10881 PyDict_SetItemString(d,"wxSTC_STYLE_LINENUMBER", PyInt_FromLong((long) 33));
10882 PyDict_SetItemString(d,"wxSTC_STYLE_BRACELIGHT", PyInt_FromLong((long) 34));
10883 PyDict_SetItemString(d,"wxSTC_STYLE_BRACEBAD", PyInt_FromLong((long) 35));
10884 PyDict_SetItemString(d,"wxSTC_STYLE_CONTROLCHAR", PyInt_FromLong((long) 36));
10885 PyDict_SetItemString(d,"wxSTC_STYLE_INDENTGUIDE", PyInt_FromLong((long) 37));
10886 PyDict_SetItemString(d,"wxSTC_STYLE_LASTPREDEFINED", PyInt_FromLong((long) 39));
10887 PyDict_SetItemString(d,"wxSTC_STYLE_MAX", PyInt_FromLong((long) 127));
10888 PyDict_SetItemString(d,"wxSTC_CHARSET_ANSI", PyInt_FromLong((long) 0));
10889 PyDict_SetItemString(d,"wxSTC_CHARSET_DEFAULT", PyInt_FromLong((long) 1));
10890 PyDict_SetItemString(d,"wxSTC_CHARSET_BALTIC", PyInt_FromLong((long) 186));
10891 PyDict_SetItemString(d,"wxSTC_CHARSET_CHINESEBIG5", PyInt_FromLong((long) 136));
10892 PyDict_SetItemString(d,"wxSTC_CHARSET_EASTEUROPE", PyInt_FromLong((long) 238));
10893 PyDict_SetItemString(d,"wxSTC_CHARSET_GB2312", PyInt_FromLong((long) 134));
10894 PyDict_SetItemString(d,"wxSTC_CHARSET_GREEK", PyInt_FromLong((long) 161));
10895 PyDict_SetItemString(d,"wxSTC_CHARSET_HANGUL", PyInt_FromLong((long) 129));
10896 PyDict_SetItemString(d,"wxSTC_CHARSET_MAC", PyInt_FromLong((long) 77));
10897 PyDict_SetItemString(d,"wxSTC_CHARSET_OEM", PyInt_FromLong((long) 255));
10898 PyDict_SetItemString(d,"wxSTC_CHARSET_RUSSIAN", PyInt_FromLong((long) 204));
10899 PyDict_SetItemString(d,"wxSTC_CHARSET_SHIFTJIS", PyInt_FromLong((long) 128));
10900 PyDict_SetItemString(d,"wxSTC_CHARSET_SYMBOL", PyInt_FromLong((long) 2));
10901 PyDict_SetItemString(d,"wxSTC_CHARSET_TURKISH", PyInt_FromLong((long) 162));
10902 PyDict_SetItemString(d,"wxSTC_CHARSET_JOHAB", PyInt_FromLong((long) 130));
10903 PyDict_SetItemString(d,"wxSTC_CHARSET_HEBREW", PyInt_FromLong((long) 177));
10904 PyDict_SetItemString(d,"wxSTC_CHARSET_ARABIC", PyInt_FromLong((long) 178));
10905 PyDict_SetItemString(d,"wxSTC_CHARSET_VIETNAMESE", PyInt_FromLong((long) 163));
10906 PyDict_SetItemString(d,"wxSTC_CHARSET_THAI", PyInt_FromLong((long) 222));
10907 PyDict_SetItemString(d,"wxSTC_CASE_MIXED", PyInt_FromLong((long) 0));
10908 PyDict_SetItemString(d,"wxSTC_CASE_UPPER", PyInt_FromLong((long) 1));
10909 PyDict_SetItemString(d,"wxSTC_CASE_LOWER", PyInt_FromLong((long) 2));
10910 PyDict_SetItemString(d,"wxSTC_INDIC_MAX", PyInt_FromLong((long) 7));
10911 PyDict_SetItemString(d,"wxSTC_INDIC_PLAIN", PyInt_FromLong((long) 0));
10912 PyDict_SetItemString(d,"wxSTC_INDIC_SQUIGGLE", PyInt_FromLong((long) 1));
10913 PyDict_SetItemString(d,"wxSTC_INDIC_TT", PyInt_FromLong((long) 2));
10914 PyDict_SetItemString(d,"wxSTC_INDIC_DIAGONAL", PyInt_FromLong((long) 3));
10915 PyDict_SetItemString(d,"wxSTC_INDIC_STRIKE", PyInt_FromLong((long) 4));
10916 PyDict_SetItemString(d,"wxSTC_INDIC0_MASK", PyInt_FromLong((long) 32));
10917 PyDict_SetItemString(d,"wxSTC_INDIC1_MASK", PyInt_FromLong((long) 64));
10918 PyDict_SetItemString(d,"wxSTC_INDIC2_MASK", PyInt_FromLong((long) 128));
10919 PyDict_SetItemString(d,"wxSTC_INDICS_MASK", PyInt_FromLong((long) 224));
10920 PyDict_SetItemString(d,"wxSTC_PRINT_NORMAL", PyInt_FromLong((long) 0));
10921 PyDict_SetItemString(d,"wxSTC_PRINT_INVERTLIGHT", PyInt_FromLong((long) 1));
10922 PyDict_SetItemString(d,"wxSTC_PRINT_BLACKONWHITE", PyInt_FromLong((long) 2));
10923 PyDict_SetItemString(d,"wxSTC_PRINT_COLOURONWHITE", PyInt_FromLong((long) 3));
10924 PyDict_SetItemString(d,"wxSTC_PRINT_COLOURONWHITEDEFAULTBG", PyInt_FromLong((long) 4));
10925 PyDict_SetItemString(d,"wxSTC_FIND_WHOLEWORD", PyInt_FromLong((long) 2));
10926 PyDict_SetItemString(d,"wxSTC_FIND_MATCHCASE", PyInt_FromLong((long) 4));
10927 PyDict_SetItemString(d,"wxSTC_FIND_WORDSTART", PyInt_FromLong((long) 0x00100000));
10928 PyDict_SetItemString(d,"wxSTC_FIND_REGEXP", PyInt_FromLong((long) 0x00200000));
10929 PyDict_SetItemString(d,"wxSTC_CMD_UNDO", PyInt_FromLong((long) 2176));
10930 PyDict_SetItemString(d,"wxSTC_CMD_CUT", PyInt_FromLong((long) 2177));
10931 PyDict_SetItemString(d,"wxSTC_CMD_COPY", PyInt_FromLong((long) 2178));
10932 PyDict_SetItemString(d,"wxSTC_CMD_PASTE", PyInt_FromLong((long) 2179));
10933 PyDict_SetItemString(d,"wxSTC_FOLDLEVELBASE", PyInt_FromLong((long) 0x400));
10934 PyDict_SetItemString(d,"wxSTC_FOLDLEVELWHITEFLAG", PyInt_FromLong((long) 0x1000));
10935 PyDict_SetItemString(d,"wxSTC_FOLDLEVELHEADERFLAG", PyInt_FromLong((long) 0x2000));
10936 PyDict_SetItemString(d,"wxSTC_FOLDLEVELNUMBERMASK", PyInt_FromLong((long) 0x0FFF));
10937 PyDict_SetItemString(d,"wxSTC_TIME_FOREVER", PyInt_FromLong((long) 10000000));
10938 PyDict_SetItemString(d,"wxSTC_CMD_LINEDOWN", PyInt_FromLong((long) 2300));
10939 PyDict_SetItemString(d,"wxSTC_CMD_LINEDOWNEXTEND", PyInt_FromLong((long) 2301));
10940 PyDict_SetItemString(d,"wxSTC_CMD_LINEUP", PyInt_FromLong((long) 2302));
10941 PyDict_SetItemString(d,"wxSTC_CMD_LINEUPEXTEND", PyInt_FromLong((long) 2303));
10942 PyDict_SetItemString(d,"wxSTC_CMD_CHARLEFT", PyInt_FromLong((long) 2304));
10943 PyDict_SetItemString(d,"wxSTC_CMD_CHARLEFTEXTEND", PyInt_FromLong((long) 2305));
10944 PyDict_SetItemString(d,"wxSTC_CMD_CHARRIGHT", PyInt_FromLong((long) 2306));
10945 PyDict_SetItemString(d,"wxSTC_CMD_CHARRIGHTEXTEND", PyInt_FromLong((long) 2307));
10946 PyDict_SetItemString(d,"wxSTC_CMD_WORDLEFT", PyInt_FromLong((long) 2308));
10947 PyDict_SetItemString(d,"wxSTC_CMD_WORDLEFTEXTEND", PyInt_FromLong((long) 2309));
10948 PyDict_SetItemString(d,"wxSTC_CMD_WORDRIGHT", PyInt_FromLong((long) 2310));
10949 PyDict_SetItemString(d,"wxSTC_CMD_WORDRIGHTEXTEND", PyInt_FromLong((long) 2311));
10950 PyDict_SetItemString(d,"wxSTC_CMD_HOME", PyInt_FromLong((long) 2312));
10951 PyDict_SetItemString(d,"wxSTC_CMD_HOMEEXTEND", PyInt_FromLong((long) 2313));
10952 PyDict_SetItemString(d,"wxSTC_CMD_LINEEND", PyInt_FromLong((long) 2314));
10953 PyDict_SetItemString(d,"wxSTC_CMD_LINEENDEXTEND", PyInt_FromLong((long) 2315));
10954 PyDict_SetItemString(d,"wxSTC_CMD_DOCUMENTSTART", PyInt_FromLong((long) 2316));
10955 PyDict_SetItemString(d,"wxSTC_CMD_DOCUMENTSTARTEXTEND", PyInt_FromLong((long) 2317));
10956 PyDict_SetItemString(d,"wxSTC_CMD_DOCUMENTEND", PyInt_FromLong((long) 2318));
10957 PyDict_SetItemString(d,"wxSTC_CMD_DOCUMENTENDEXTEND", PyInt_FromLong((long) 2319));
10958 PyDict_SetItemString(d,"wxSTC_CMD_PAGEUP", PyInt_FromLong((long) 2320));
10959 PyDict_SetItemString(d,"wxSTC_CMD_PAGEUPEXTEND", PyInt_FromLong((long) 2321));
10960 PyDict_SetItemString(d,"wxSTC_CMD_PAGEDOWN", PyInt_FromLong((long) 2322));
10961 PyDict_SetItemString(d,"wxSTC_CMD_PAGEDOWNEXTEND", PyInt_FromLong((long) 2323));
10962 PyDict_SetItemString(d,"wxSTC_CMD_EDITTOGGLEOVERTYPE", PyInt_FromLong((long) 2324));
10963 PyDict_SetItemString(d,"wxSTC_CMD_CANCEL", PyInt_FromLong((long) 2325));
10964 PyDict_SetItemString(d,"wxSTC_CMD_DELETEBACK", PyInt_FromLong((long) 2326));
10965 PyDict_SetItemString(d,"wxSTC_CMD_TAB", PyInt_FromLong((long) 2327));
10966 PyDict_SetItemString(d,"wxSTC_CMD_BACKTAB", PyInt_FromLong((long) 2328));
10967 PyDict_SetItemString(d,"wxSTC_CMD_NEWLINE", PyInt_FromLong((long) 2329));
10968 PyDict_SetItemString(d,"wxSTC_CMD_FORMFEED", PyInt_FromLong((long) 2330));
10969 PyDict_SetItemString(d,"wxSTC_CMD_VCHOME", PyInt_FromLong((long) 2331));
10970 PyDict_SetItemString(d,"wxSTC_CMD_VCHOMEEXTEND", PyInt_FromLong((long) 2332));
10971 PyDict_SetItemString(d,"wxSTC_CMD_ZOOMIN", PyInt_FromLong((long) 2333));
10972 PyDict_SetItemString(d,"wxSTC_CMD_ZOOMOUT", PyInt_FromLong((long) 2334));
10973 PyDict_SetItemString(d,"wxSTC_CMD_DELWORDLEFT", PyInt_FromLong((long) 2335));
10974 PyDict_SetItemString(d,"wxSTC_CMD_DELWORDRIGHT", PyInt_FromLong((long) 2336));
10975 PyDict_SetItemString(d,"wxSTC_CMD_LINECUT", PyInt_FromLong((long) 2337));
10976 PyDict_SetItemString(d,"wxSTC_CMD_LINEDELETE", PyInt_FromLong((long) 2338));
10977 PyDict_SetItemString(d,"wxSTC_CMD_LINETRANSPOSE", PyInt_FromLong((long) 2339));
10978 PyDict_SetItemString(d,"wxSTC_CMD_LOWERCASE", PyInt_FromLong((long) 2340));
10979 PyDict_SetItemString(d,"wxSTC_CMD_UPPERCASE", PyInt_FromLong((long) 2341));
10980 PyDict_SetItemString(d,"wxSTC_CMD_LINESCROLLDOWN", PyInt_FromLong((long) 2342));
10981 PyDict_SetItemString(d,"wxSTC_CMD_LINESCROLLUP", PyInt_FromLong((long) 2343));
10982 PyDict_SetItemString(d,"wxSTC_EDGE_NONE", PyInt_FromLong((long) 0));
10983 PyDict_SetItemString(d,"wxSTC_EDGE_LINE", PyInt_FromLong((long) 1));
10984 PyDict_SetItemString(d,"wxSTC_EDGE_BACKGROUND", PyInt_FromLong((long) 2));
10985 PyDict_SetItemString(d,"wxSTC_CARET_SLOP", PyInt_FromLong((long) 0x01));
10986 PyDict_SetItemString(d,"wxSTC_CARET_CENTER", PyInt_FromLong((long) 0x02));
10987 PyDict_SetItemString(d,"wxSTC_CARET_STRICT", PyInt_FromLong((long) 0x04));
10988 PyDict_SetItemString(d,"wxSTC_CARET_XEVEN", PyInt_FromLong((long) 0x08));
10989 PyDict_SetItemString(d,"wxSTC_CARET_XJUMPS", PyInt_FromLong((long) 0x10));
10990 PyDict_SetItemString(d,"wxSTC_CURSORNORMAL", PyInt_FromLong((long) -1));
10991 PyDict_SetItemString(d,"wxSTC_CURSORWAIT", PyInt_FromLong((long) 3));
10992 PyDict_SetItemString(d,"wxSTC_VISIBLE_SLOP", PyInt_FromLong((long) 0x01));
10993 PyDict_SetItemString(d,"wxSTC_VISIBLE_STRICT", PyInt_FromLong((long) 0x04));
10994 PyDict_SetItemString(d,"wxSTC_MOD_INSERTTEXT", PyInt_FromLong((long) 0x1));
10995 PyDict_SetItemString(d,"wxSTC_MOD_DELETETEXT", PyInt_FromLong((long) 0x2));
10996 PyDict_SetItemString(d,"wxSTC_MOD_CHANGESTYLE", PyInt_FromLong((long) 0x4));
10997 PyDict_SetItemString(d,"wxSTC_MOD_CHANGEFOLD", PyInt_FromLong((long) 0x8));
10998 PyDict_SetItemString(d,"wxSTC_PERFORMED_USER", PyInt_FromLong((long) 0x10));
10999 PyDict_SetItemString(d,"wxSTC_PERFORMED_UNDO", PyInt_FromLong((long) 0x20));
11000 PyDict_SetItemString(d,"wxSTC_PERFORMED_REDO", PyInt_FromLong((long) 0x40));
11001 PyDict_SetItemString(d,"wxSTC_LASTSTEPINUNDOREDO", PyInt_FromLong((long) 0x100));
11002 PyDict_SetItemString(d,"wxSTC_MOD_CHANGEMARKER", PyInt_FromLong((long) 0x200));
11003 PyDict_SetItemString(d,"wxSTC_MOD_BEFOREINSERT", PyInt_FromLong((long) 0x400));
11004 PyDict_SetItemString(d,"wxSTC_MOD_BEFOREDELETE", PyInt_FromLong((long) 0x800));
11005 PyDict_SetItemString(d,"wxSTC_MODEVENTMASKALL", PyInt_FromLong((long) 0xF77));
11006 PyDict_SetItemString(d,"wxSTC_KEY_DOWN", PyInt_FromLong((long) 300));
11007 PyDict_SetItemString(d,"wxSTC_KEY_UP", PyInt_FromLong((long) 301));
11008 PyDict_SetItemString(d,"wxSTC_KEY_LEFT", PyInt_FromLong((long) 302));
11009 PyDict_SetItemString(d,"wxSTC_KEY_RIGHT", PyInt_FromLong((long) 303));
11010 PyDict_SetItemString(d,"wxSTC_KEY_HOME", PyInt_FromLong((long) 304));
11011 PyDict_SetItemString(d,"wxSTC_KEY_END", PyInt_FromLong((long) 305));
11012 PyDict_SetItemString(d,"wxSTC_KEY_PRIOR", PyInt_FromLong((long) 306));
11013 PyDict_SetItemString(d,"wxSTC_KEY_NEXT", PyInt_FromLong((long) 307));
11014 PyDict_SetItemString(d,"wxSTC_KEY_DELETE", PyInt_FromLong((long) 308));
11015 PyDict_SetItemString(d,"wxSTC_KEY_INSERT", PyInt_FromLong((long) 309));
11016 PyDict_SetItemString(d,"wxSTC_KEY_ESCAPE", PyInt_FromLong((long) 7));
11017 PyDict_SetItemString(d,"wxSTC_KEY_BACK", PyInt_FromLong((long) 8));
11018 PyDict_SetItemString(d,"wxSTC_KEY_TAB", PyInt_FromLong((long) 9));
11019 PyDict_SetItemString(d,"wxSTC_KEY_RETURN", PyInt_FromLong((long) 13));
11020 PyDict_SetItemString(d,"wxSTC_KEY_ADD", PyInt_FromLong((long) 310));
11021 PyDict_SetItemString(d,"wxSTC_KEY_SUBTRACT", PyInt_FromLong((long) 311));
11022 PyDict_SetItemString(d,"wxSTC_KEY_DIVIDE", PyInt_FromLong((long) 312));
11023 PyDict_SetItemString(d,"wxSTC_SCMOD_SHIFT", PyInt_FromLong((long) 1));
11024 PyDict_SetItemString(d,"wxSTC_SCMOD_CTRL", PyInt_FromLong((long) 2));
11025 PyDict_SetItemString(d,"wxSTC_SCMOD_ALT", PyInt_FromLong((long) 4));
11026 PyDict_SetItemString(d,"wxSTC_LEX_CONTAINER", PyInt_FromLong((long) 0));
11027 PyDict_SetItemString(d,"wxSTC_LEX_NULL", PyInt_FromLong((long) 1));
11028 PyDict_SetItemString(d,"wxSTC_LEX_PYTHON", PyInt_FromLong((long) 2));
11029 PyDict_SetItemString(d,"wxSTC_LEX_CPP", PyInt_FromLong((long) 3));
11030 PyDict_SetItemString(d,"wxSTC_LEX_HTML", PyInt_FromLong((long) 4));
11031 PyDict_SetItemString(d,"wxSTC_LEX_XML", PyInt_FromLong((long) 5));
11032 PyDict_SetItemString(d,"wxSTC_LEX_PERL", PyInt_FromLong((long) 6));
11033 PyDict_SetItemString(d,"wxSTC_LEX_SQL", PyInt_FromLong((long) 7));
11034 PyDict_SetItemString(d,"wxSTC_LEX_VB", PyInt_FromLong((long) 8));
11035 PyDict_SetItemString(d,"wxSTC_LEX_PROPERTIES", PyInt_FromLong((long) 9));
11036 PyDict_SetItemString(d,"wxSTC_LEX_ERRORLIST", PyInt_FromLong((long) 10));
11037 PyDict_SetItemString(d,"wxSTC_LEX_MAKEFILE", PyInt_FromLong((long) 11));
11038 PyDict_SetItemString(d,"wxSTC_LEX_BATCH", PyInt_FromLong((long) 12));
11039 PyDict_SetItemString(d,"wxSTC_LEX_XCODE", PyInt_FromLong((long) 13));
11040 PyDict_SetItemString(d,"wxSTC_LEX_LATEX", PyInt_FromLong((long) 14));
11041 PyDict_SetItemString(d,"wxSTC_LEX_LUA", PyInt_FromLong((long) 15));
11042 PyDict_SetItemString(d,"wxSTC_LEX_DIFF", PyInt_FromLong((long) 16));
11043 PyDict_SetItemString(d,"wxSTC_LEX_CONF", PyInt_FromLong((long) 17));
11044 PyDict_SetItemString(d,"wxSTC_LEX_PASCAL", PyInt_FromLong((long) 18));
11045 PyDict_SetItemString(d,"wxSTC_LEX_AVE", PyInt_FromLong((long) 19));
11046 PyDict_SetItemString(d,"wxSTC_LEX_ADA", PyInt_FromLong((long) 20));
11047 PyDict_SetItemString(d,"wxSTC_LEX_LISP", PyInt_FromLong((long) 21));
11048 PyDict_SetItemString(d,"wxSTC_LEX_RUBY", PyInt_FromLong((long) 22));
11049 PyDict_SetItemString(d,"wxSTC_LEX_EIFFEL", PyInt_FromLong((long) 23));
11050 PyDict_SetItemString(d,"wxSTC_LEX_EIFFELKW", PyInt_FromLong((long) 24));
11051 PyDict_SetItemString(d,"wxSTC_LEX_TCL", PyInt_FromLong((long) 25));
11052 PyDict_SetItemString(d,"wxSTC_LEX_NNCRONTAB", PyInt_FromLong((long) 26));
11053 PyDict_SetItemString(d,"wxSTC_LEX_AUTOMATIC", PyInt_FromLong((long) 1000));
11054 PyDict_SetItemString(d,"wxSTC_P_DEFAULT", PyInt_FromLong((long) 0));
11055 PyDict_SetItemString(d,"wxSTC_P_COMMENTLINE", PyInt_FromLong((long) 1));
11056 PyDict_SetItemString(d,"wxSTC_P_NUMBER", PyInt_FromLong((long) 2));
11057 PyDict_SetItemString(d,"wxSTC_P_STRING", PyInt_FromLong((long) 3));
11058 PyDict_SetItemString(d,"wxSTC_P_CHARACTER", PyInt_FromLong((long) 4));
11059 PyDict_SetItemString(d,"wxSTC_P_WORD", PyInt_FromLong((long) 5));
11060 PyDict_SetItemString(d,"wxSTC_P_TRIPLE", PyInt_FromLong((long) 6));
11061 PyDict_SetItemString(d,"wxSTC_P_TRIPLEDOUBLE", PyInt_FromLong((long) 7));
11062 PyDict_SetItemString(d,"wxSTC_P_CLASSNAME", PyInt_FromLong((long) 8));
11063 PyDict_SetItemString(d,"wxSTC_P_DEFNAME", PyInt_FromLong((long) 9));
11064 PyDict_SetItemString(d,"wxSTC_P_OPERATOR", PyInt_FromLong((long) 10));
11065 PyDict_SetItemString(d,"wxSTC_P_IDENTIFIER", PyInt_FromLong((long) 11));
11066 PyDict_SetItemString(d,"wxSTC_P_COMMENTBLOCK", PyInt_FromLong((long) 12));
11067 PyDict_SetItemString(d,"wxSTC_P_STRINGEOL", PyInt_FromLong((long) 13));
11068 PyDict_SetItemString(d,"wxSTC_C_DEFAULT", PyInt_FromLong((long) 0));
11069 PyDict_SetItemString(d,"wxSTC_C_COMMENT", PyInt_FromLong((long) 1));
11070 PyDict_SetItemString(d,"wxSTC_C_COMMENTLINE", PyInt_FromLong((long) 2));
11071 PyDict_SetItemString(d,"wxSTC_C_COMMENTDOC", PyInt_FromLong((long) 3));
11072 PyDict_SetItemString(d,"wxSTC_C_NUMBER", PyInt_FromLong((long) 4));
11073 PyDict_SetItemString(d,"wxSTC_C_WORD", PyInt_FromLong((long) 5));
11074 PyDict_SetItemString(d,"wxSTC_C_STRING", PyInt_FromLong((long) 6));
11075 PyDict_SetItemString(d,"wxSTC_C_CHARACTER", PyInt_FromLong((long) 7));
11076 PyDict_SetItemString(d,"wxSTC_C_UUID", PyInt_FromLong((long) 8));
11077 PyDict_SetItemString(d,"wxSTC_C_PREPROCESSOR", PyInt_FromLong((long) 9));
11078 PyDict_SetItemString(d,"wxSTC_C_OPERATOR", PyInt_FromLong((long) 10));
11079 PyDict_SetItemString(d,"wxSTC_C_IDENTIFIER", PyInt_FromLong((long) 11));
11080 PyDict_SetItemString(d,"wxSTC_C_STRINGEOL", PyInt_FromLong((long) 12));
11081 PyDict_SetItemString(d,"wxSTC_C_VERBATIM", PyInt_FromLong((long) 13));
11082 PyDict_SetItemString(d,"wxSTC_C_REGEX", PyInt_FromLong((long) 14));
11083 PyDict_SetItemString(d,"wxSTC_C_COMMENTLINEDOC", PyInt_FromLong((long) 15));
11084 PyDict_SetItemString(d,"wxSTC_C_WORD2", PyInt_FromLong((long) 16));
11085 PyDict_SetItemString(d,"wxSTC_C_COMMENTDOCKEYWORD", PyInt_FromLong((long) 17));
11086 PyDict_SetItemString(d,"wxSTC_C_COMMENTDOCKEYWORDERROR", PyInt_FromLong((long) 18));
11087 PyDict_SetItemString(d,"wxSTC_H_DEFAULT", PyInt_FromLong((long) 0));
11088 PyDict_SetItemString(d,"wxSTC_H_TAG", PyInt_FromLong((long) 1));
11089 PyDict_SetItemString(d,"wxSTC_H_TAGUNKNOWN", PyInt_FromLong((long) 2));
11090 PyDict_SetItemString(d,"wxSTC_H_ATTRIBUTE", PyInt_FromLong((long) 3));
11091 PyDict_SetItemString(d,"wxSTC_H_ATTRIBUTEUNKNOWN", PyInt_FromLong((long) 4));
11092 PyDict_SetItemString(d,"wxSTC_H_NUMBER", PyInt_FromLong((long) 5));
11093 PyDict_SetItemString(d,"wxSTC_H_DOUBLESTRING", PyInt_FromLong((long) 6));
11094 PyDict_SetItemString(d,"wxSTC_H_SINGLESTRING", PyInt_FromLong((long) 7));
11095 PyDict_SetItemString(d,"wxSTC_H_OTHER", PyInt_FromLong((long) 8));
11096 PyDict_SetItemString(d,"wxSTC_H_COMMENT", PyInt_FromLong((long) 9));
11097 PyDict_SetItemString(d,"wxSTC_H_ENTITY", PyInt_FromLong((long) 10));
11098 PyDict_SetItemString(d,"wxSTC_H_TAGEND", PyInt_FromLong((long) 11));
11099 PyDict_SetItemString(d,"wxSTC_H_XMLSTART", PyInt_FromLong((long) 12));
11100 PyDict_SetItemString(d,"wxSTC_H_XMLEND", PyInt_FromLong((long) 13));
11101 PyDict_SetItemString(d,"wxSTC_H_SCRIPT", PyInt_FromLong((long) 14));
11102 PyDict_SetItemString(d,"wxSTC_H_ASP", PyInt_FromLong((long) 15));
11103 PyDict_SetItemString(d,"wxSTC_H_ASPAT", PyInt_FromLong((long) 16));
11104 PyDict_SetItemString(d,"wxSTC_H_CDATA", PyInt_FromLong((long) 17));
11105 PyDict_SetItemString(d,"wxSTC_H_QUESTION", PyInt_FromLong((long) 18));
11106 PyDict_SetItemString(d,"wxSTC_H_VALUE", PyInt_FromLong((long) 19));
11107 PyDict_SetItemString(d,"wxSTC_H_XCCOMMENT", PyInt_FromLong((long) 20));
11108 PyDict_SetItemString(d,"wxSTC_H_SGML_DEFAULT", PyInt_FromLong((long) 21));
11109 PyDict_SetItemString(d,"wxSTC_H_SGML_COMMAND", PyInt_FromLong((long) 22));
11110 PyDict_SetItemString(d,"wxSTC_H_SGML_1ST_PARAM", PyInt_FromLong((long) 23));
11111 PyDict_SetItemString(d,"wxSTC_H_SGML_DOUBLESTRING", PyInt_FromLong((long) 24));
11112 PyDict_SetItemString(d,"wxSTC_H_SGML_SIMPLESTRING", PyInt_FromLong((long) 25));
11113 PyDict_SetItemString(d,"wxSTC_H_SGML_ERROR", PyInt_FromLong((long) 26));
11114 PyDict_SetItemString(d,"wxSTC_H_SGML_SPECIAL", PyInt_FromLong((long) 27));
11115 PyDict_SetItemString(d,"wxSTC_H_SGML_ENTITY", PyInt_FromLong((long) 28));
11116 PyDict_SetItemString(d,"wxSTC_H_SGML_COMMENT", PyInt_FromLong((long) 29));
11117 PyDict_SetItemString(d,"wxSTC_H_SGML_1ST_PARAM_COMMENT", PyInt_FromLong((long) 30));
11118 PyDict_SetItemString(d,"wxSTC_H_SGML_BLOCK_DEFAULT", PyInt_FromLong((long) 31));
11119 PyDict_SetItemString(d,"wxSTC_HJ_START", PyInt_FromLong((long) 40));
11120 PyDict_SetItemString(d,"wxSTC_HJ_DEFAULT", PyInt_FromLong((long) 41));
11121 PyDict_SetItemString(d,"wxSTC_HJ_COMMENT", PyInt_FromLong((long) 42));
11122 PyDict_SetItemString(d,"wxSTC_HJ_COMMENTLINE", PyInt_FromLong((long) 43));
11123 PyDict_SetItemString(d,"wxSTC_HJ_COMMENTDOC", PyInt_FromLong((long) 44));
11124 PyDict_SetItemString(d,"wxSTC_HJ_NUMBER", PyInt_FromLong((long) 45));
11125 PyDict_SetItemString(d,"wxSTC_HJ_WORD", PyInt_FromLong((long) 46));
11126 PyDict_SetItemString(d,"wxSTC_HJ_KEYWORD", PyInt_FromLong((long) 47));
11127 PyDict_SetItemString(d,"wxSTC_HJ_DOUBLESTRING", PyInt_FromLong((long) 48));
11128 PyDict_SetItemString(d,"wxSTC_HJ_SINGLESTRING", PyInt_FromLong((long) 49));
11129 PyDict_SetItemString(d,"wxSTC_HJ_SYMBOLS", PyInt_FromLong((long) 50));
11130 PyDict_SetItemString(d,"wxSTC_HJ_STRINGEOL", PyInt_FromLong((long) 51));
11131 PyDict_SetItemString(d,"wxSTC_HJ_REGEX", PyInt_FromLong((long) 52));
11132 PyDict_SetItemString(d,"wxSTC_HJA_START", PyInt_FromLong((long) 55));
11133 PyDict_SetItemString(d,"wxSTC_HJA_DEFAULT", PyInt_FromLong((long) 56));
11134 PyDict_SetItemString(d,"wxSTC_HJA_COMMENT", PyInt_FromLong((long) 57));
11135 PyDict_SetItemString(d,"wxSTC_HJA_COMMENTLINE", PyInt_FromLong((long) 58));
11136 PyDict_SetItemString(d,"wxSTC_HJA_COMMENTDOC", PyInt_FromLong((long) 59));
11137 PyDict_SetItemString(d,"wxSTC_HJA_NUMBER", PyInt_FromLong((long) 60));
11138 PyDict_SetItemString(d,"wxSTC_HJA_WORD", PyInt_FromLong((long) 61));
11139 PyDict_SetItemString(d,"wxSTC_HJA_KEYWORD", PyInt_FromLong((long) 62));
11140 PyDict_SetItemString(d,"wxSTC_HJA_DOUBLESTRING", PyInt_FromLong((long) 63));
11141 PyDict_SetItemString(d,"wxSTC_HJA_SINGLESTRING", PyInt_FromLong((long) 64));
11142 PyDict_SetItemString(d,"wxSTC_HJA_SYMBOLS", PyInt_FromLong((long) 65));
11143 PyDict_SetItemString(d,"wxSTC_HJA_STRINGEOL", PyInt_FromLong((long) 66));
11144 PyDict_SetItemString(d,"wxSTC_HJA_REGEX", PyInt_FromLong((long) 67));
11145 PyDict_SetItemString(d,"wxSTC_HB_START", PyInt_FromLong((long) 70));
11146 PyDict_SetItemString(d,"wxSTC_HB_DEFAULT", PyInt_FromLong((long) 71));
11147 PyDict_SetItemString(d,"wxSTC_HB_COMMENTLINE", PyInt_FromLong((long) 72));
11148 PyDict_SetItemString(d,"wxSTC_HB_NUMBER", PyInt_FromLong((long) 73));
11149 PyDict_SetItemString(d,"wxSTC_HB_WORD", PyInt_FromLong((long) 74));
11150 PyDict_SetItemString(d,"wxSTC_HB_STRING", PyInt_FromLong((long) 75));
11151 PyDict_SetItemString(d,"wxSTC_HB_IDENTIFIER", PyInt_FromLong((long) 76));
11152 PyDict_SetItemString(d,"wxSTC_HB_STRINGEOL", PyInt_FromLong((long) 77));
11153 PyDict_SetItemString(d,"wxSTC_HBA_START", PyInt_FromLong((long) 80));
11154 PyDict_SetItemString(d,"wxSTC_HBA_DEFAULT", PyInt_FromLong((long) 81));
11155 PyDict_SetItemString(d,"wxSTC_HBA_COMMENTLINE", PyInt_FromLong((long) 82));
11156 PyDict_SetItemString(d,"wxSTC_HBA_NUMBER", PyInt_FromLong((long) 83));
11157 PyDict_SetItemString(d,"wxSTC_HBA_WORD", PyInt_FromLong((long) 84));
11158 PyDict_SetItemString(d,"wxSTC_HBA_STRING", PyInt_FromLong((long) 85));
11159 PyDict_SetItemString(d,"wxSTC_HBA_IDENTIFIER", PyInt_FromLong((long) 86));
11160 PyDict_SetItemString(d,"wxSTC_HBA_STRINGEOL", PyInt_FromLong((long) 87));
11161 PyDict_SetItemString(d,"wxSTC_HP_START", PyInt_FromLong((long) 90));
11162 PyDict_SetItemString(d,"wxSTC_HP_DEFAULT", PyInt_FromLong((long) 91));
11163 PyDict_SetItemString(d,"wxSTC_HP_COMMENTLINE", PyInt_FromLong((long) 92));
11164 PyDict_SetItemString(d,"wxSTC_HP_NUMBER", PyInt_FromLong((long) 93));
11165 PyDict_SetItemString(d,"wxSTC_HP_STRING", PyInt_FromLong((long) 94));
11166 PyDict_SetItemString(d,"wxSTC_HP_CHARACTER", PyInt_FromLong((long) 95));
11167 PyDict_SetItemString(d,"wxSTC_HP_WORD", PyInt_FromLong((long) 96));
11168 PyDict_SetItemString(d,"wxSTC_HP_TRIPLE", PyInt_FromLong((long) 97));
11169 PyDict_SetItemString(d,"wxSTC_HP_TRIPLEDOUBLE", PyInt_FromLong((long) 98));
11170 PyDict_SetItemString(d,"wxSTC_HP_CLASSNAME", PyInt_FromLong((long) 99));
11171 PyDict_SetItemString(d,"wxSTC_HP_DEFNAME", PyInt_FromLong((long) 100));
11172 PyDict_SetItemString(d,"wxSTC_HP_OPERATOR", PyInt_FromLong((long) 101));
11173 PyDict_SetItemString(d,"wxSTC_HP_IDENTIFIER", PyInt_FromLong((long) 102));
11174 PyDict_SetItemString(d,"wxSTC_HPA_START", PyInt_FromLong((long) 105));
11175 PyDict_SetItemString(d,"wxSTC_HPA_DEFAULT", PyInt_FromLong((long) 106));
11176 PyDict_SetItemString(d,"wxSTC_HPA_COMMENTLINE", PyInt_FromLong((long) 107));
11177 PyDict_SetItemString(d,"wxSTC_HPA_NUMBER", PyInt_FromLong((long) 108));
11178 PyDict_SetItemString(d,"wxSTC_HPA_STRING", PyInt_FromLong((long) 109));
11179 PyDict_SetItemString(d,"wxSTC_HPA_CHARACTER", PyInt_FromLong((long) 110));
11180 PyDict_SetItemString(d,"wxSTC_HPA_WORD", PyInt_FromLong((long) 111));
11181 PyDict_SetItemString(d,"wxSTC_HPA_TRIPLE", PyInt_FromLong((long) 112));
11182 PyDict_SetItemString(d,"wxSTC_HPA_TRIPLEDOUBLE", PyInt_FromLong((long) 113));
11183 PyDict_SetItemString(d,"wxSTC_HPA_CLASSNAME", PyInt_FromLong((long) 114));
11184 PyDict_SetItemString(d,"wxSTC_HPA_DEFNAME", PyInt_FromLong((long) 115));
11185 PyDict_SetItemString(d,"wxSTC_HPA_OPERATOR", PyInt_FromLong((long) 116));
11186 PyDict_SetItemString(d,"wxSTC_HPA_IDENTIFIER", PyInt_FromLong((long) 117));
11187 PyDict_SetItemString(d,"wxSTC_HPHP_DEFAULT", PyInt_FromLong((long) 118));
11188 PyDict_SetItemString(d,"wxSTC_HPHP_HSTRING", PyInt_FromLong((long) 119));
11189 PyDict_SetItemString(d,"wxSTC_HPHP_SIMPLESTRING", PyInt_FromLong((long) 120));
11190 PyDict_SetItemString(d,"wxSTC_HPHP_WORD", PyInt_FromLong((long) 121));
11191 PyDict_SetItemString(d,"wxSTC_HPHP_NUMBER", PyInt_FromLong((long) 122));
11192 PyDict_SetItemString(d,"wxSTC_HPHP_VARIABLE", PyInt_FromLong((long) 123));
11193 PyDict_SetItemString(d,"wxSTC_HPHP_COMMENT", PyInt_FromLong((long) 124));
11194 PyDict_SetItemString(d,"wxSTC_HPHP_COMMENTLINE", PyInt_FromLong((long) 125));
11195 PyDict_SetItemString(d,"wxSTC_HPHP_HSTRING_VARIABLE", PyInt_FromLong((long) 126));
11196 PyDict_SetItemString(d,"wxSTC_HPHP_OPERATOR", PyInt_FromLong((long) 127));
11197 PyDict_SetItemString(d,"wxSTC_PL_DEFAULT", PyInt_FromLong((long) 0));
11198 PyDict_SetItemString(d,"wxSTC_PL_ERROR", PyInt_FromLong((long) 1));
11199 PyDict_SetItemString(d,"wxSTC_PL_COMMENTLINE", PyInt_FromLong((long) 2));
11200 PyDict_SetItemString(d,"wxSTC_PL_POD", PyInt_FromLong((long) 3));
11201 PyDict_SetItemString(d,"wxSTC_PL_NUMBER", PyInt_FromLong((long) 4));
11202 PyDict_SetItemString(d,"wxSTC_PL_WORD", PyInt_FromLong((long) 5));
11203 PyDict_SetItemString(d,"wxSTC_PL_STRING", PyInt_FromLong((long) 6));
11204 PyDict_SetItemString(d,"wxSTC_PL_CHARACTER", PyInt_FromLong((long) 7));
11205 PyDict_SetItemString(d,"wxSTC_PL_PUNCTUATION", PyInt_FromLong((long) 8));
11206 PyDict_SetItemString(d,"wxSTC_PL_PREPROCESSOR", PyInt_FromLong((long) 9));
11207 PyDict_SetItemString(d,"wxSTC_PL_OPERATOR", PyInt_FromLong((long) 10));
11208 PyDict_SetItemString(d,"wxSTC_PL_IDENTIFIER", PyInt_FromLong((long) 11));
11209 PyDict_SetItemString(d,"wxSTC_PL_SCALAR", PyInt_FromLong((long) 12));
11210 PyDict_SetItemString(d,"wxSTC_PL_ARRAY", PyInt_FromLong((long) 13));
11211 PyDict_SetItemString(d,"wxSTC_PL_HASH", PyInt_FromLong((long) 14));
11212 PyDict_SetItemString(d,"wxSTC_PL_SYMBOLTABLE", PyInt_FromLong((long) 15));
11213 PyDict_SetItemString(d,"wxSTC_PL_REGEX", PyInt_FromLong((long) 17));
11214 PyDict_SetItemString(d,"wxSTC_PL_REGSUBST", PyInt_FromLong((long) 18));
11215 PyDict_SetItemString(d,"wxSTC_PL_LONGQUOTE", PyInt_FromLong((long) 19));
11216 PyDict_SetItemString(d,"wxSTC_PL_BACKTICKS", PyInt_FromLong((long) 20));
11217 PyDict_SetItemString(d,"wxSTC_PL_DATASECTION", PyInt_FromLong((long) 21));
11218 PyDict_SetItemString(d,"wxSTC_PL_HERE_DELIM", PyInt_FromLong((long) 22));
11219 PyDict_SetItemString(d,"wxSTC_PL_HERE_Q", PyInt_FromLong((long) 23));
11220 PyDict_SetItemString(d,"wxSTC_PL_HERE_QQ", PyInt_FromLong((long) 24));
11221 PyDict_SetItemString(d,"wxSTC_PL_HERE_QX", PyInt_FromLong((long) 25));
11222 PyDict_SetItemString(d,"wxSTC_PL_STRING_Q", PyInt_FromLong((long) 26));
11223 PyDict_SetItemString(d,"wxSTC_PL_STRING_QQ", PyInt_FromLong((long) 27));
11224 PyDict_SetItemString(d,"wxSTC_PL_STRING_QX", PyInt_FromLong((long) 28));
11225 PyDict_SetItemString(d,"wxSTC_PL_STRING_QR", PyInt_FromLong((long) 29));
11226 PyDict_SetItemString(d,"wxSTC_PL_STRING_QW", PyInt_FromLong((long) 30));
11227 PyDict_SetItemString(d,"wxSTC_L_DEFAULT", PyInt_FromLong((long) 0));
11228 PyDict_SetItemString(d,"wxSTC_L_COMMAND", PyInt_FromLong((long) 1));
11229 PyDict_SetItemString(d,"wxSTC_L_TAG", PyInt_FromLong((long) 2));
11230 PyDict_SetItemString(d,"wxSTC_L_MATH", PyInt_FromLong((long) 3));
11231 PyDict_SetItemString(d,"wxSTC_L_COMMENT", PyInt_FromLong((long) 4));
11232 PyDict_SetItemString(d,"wxSTC_LUA_DEFAULT", PyInt_FromLong((long) 0));
11233 PyDict_SetItemString(d,"wxSTC_LUA_COMMENT", PyInt_FromLong((long) 1));
11234 PyDict_SetItemString(d,"wxSTC_LUA_COMMENTLINE", PyInt_FromLong((long) 2));
11235 PyDict_SetItemString(d,"wxSTC_LUA_COMMENTDOC", PyInt_FromLong((long) 3));
11236 PyDict_SetItemString(d,"wxSTC_LUA_NUMBER", PyInt_FromLong((long) 4));
11237 PyDict_SetItemString(d,"wxSTC_LUA_WORD", PyInt_FromLong((long) 5));
11238 PyDict_SetItemString(d,"wxSTC_LUA_STRING", PyInt_FromLong((long) 6));
11239 PyDict_SetItemString(d,"wxSTC_LUA_CHARACTER", PyInt_FromLong((long) 7));
11240 PyDict_SetItemString(d,"wxSTC_LUA_LITERALSTRING", PyInt_FromLong((long) 8));
11241 PyDict_SetItemString(d,"wxSTC_LUA_PREPROCESSOR", PyInt_FromLong((long) 9));
11242 PyDict_SetItemString(d,"wxSTC_LUA_OPERATOR", PyInt_FromLong((long) 10));
11243 PyDict_SetItemString(d,"wxSTC_LUA_IDENTIFIER", PyInt_FromLong((long) 11));
11244 PyDict_SetItemString(d,"wxSTC_LUA_STRINGEOL", PyInt_FromLong((long) 12));
11245 PyDict_SetItemString(d,"wxSTC_ERR_DEFAULT", PyInt_FromLong((long) 0));
11246 PyDict_SetItemString(d,"wxSTC_ERR_PYTHON", PyInt_FromLong((long) 1));
11247 PyDict_SetItemString(d,"wxSTC_ERR_GCC", PyInt_FromLong((long) 2));
11248 PyDict_SetItemString(d,"wxSTC_ERR_MS", PyInt_FromLong((long) 3));
11249 PyDict_SetItemString(d,"wxSTC_ERR_CMD", PyInt_FromLong((long) 4));
11250 PyDict_SetItemString(d,"wxSTC_ERR_BORLAND", PyInt_FromLong((long) 5));
11251 PyDict_SetItemString(d,"wxSTC_ERR_PERL", PyInt_FromLong((long) 6));
11252 PyDict_SetItemString(d,"wxSTC_ERR_NET", PyInt_FromLong((long) 7));
11253 PyDict_SetItemString(d,"wxSTC_ERR_LUA", PyInt_FromLong((long) 8));
11254 PyDict_SetItemString(d,"wxSTC_ERR_DIFF_CHANGED", PyInt_FromLong((long) 10));
11255 PyDict_SetItemString(d,"wxSTC_ERR_DIFF_ADDITION", PyInt_FromLong((long) 11));
11256 PyDict_SetItemString(d,"wxSTC_ERR_DIFF_DELETION", PyInt_FromLong((long) 12));
11257 PyDict_SetItemString(d,"wxSTC_ERR_DIFF_MESSAGE", PyInt_FromLong((long) 13));
11258 PyDict_SetItemString(d,"wxSTC_BAT_DEFAULT", PyInt_FromLong((long) 0));
11259 PyDict_SetItemString(d,"wxSTC_BAT_COMMENT", PyInt_FromLong((long) 1));
11260 PyDict_SetItemString(d,"wxSTC_BAT_WORD", PyInt_FromLong((long) 2));
11261 PyDict_SetItemString(d,"wxSTC_BAT_LABEL", PyInt_FromLong((long) 3));
11262 PyDict_SetItemString(d,"wxSTC_BAT_HIDE", PyInt_FromLong((long) 4));
11263 PyDict_SetItemString(d,"wxSTC_BAT_COMMAND", PyInt_FromLong((long) 5));
11264 PyDict_SetItemString(d,"wxSTC_BAT_IDENTIFIER", PyInt_FromLong((long) 6));
11265 PyDict_SetItemString(d,"wxSTC_BAT_OPERATOR", PyInt_FromLong((long) 7));
11266 PyDict_SetItemString(d,"wxSTC_MAKE_DEFAULT", PyInt_FromLong((long) 0));
11267 PyDict_SetItemString(d,"wxSTC_MAKE_COMMENT", PyInt_FromLong((long) 1));
11268 PyDict_SetItemString(d,"wxSTC_MAKE_PREPROCESSOR", PyInt_FromLong((long) 2));
11269 PyDict_SetItemString(d,"wxSTC_MAKE_IDENTIFIER", PyInt_FromLong((long) 3));
11270 PyDict_SetItemString(d,"wxSTC_MAKE_OPERATOR", PyInt_FromLong((long) 4));
11271 PyDict_SetItemString(d,"wxSTC_MAKE_TARGET", PyInt_FromLong((long) 5));
11272 PyDict_SetItemString(d,"wxSTC_MAKE_IDEOL", PyInt_FromLong((long) 9));
11273 PyDict_SetItemString(d,"wxSTC_CONF_DEFAULT", PyInt_FromLong((long) 0));
11274 PyDict_SetItemString(d,"wxSTC_CONF_COMMENT", PyInt_FromLong((long) 1));
11275 PyDict_SetItemString(d,"wxSTC_CONF_NUMBER", PyInt_FromLong((long) 2));
11276 PyDict_SetItemString(d,"wxSTC_CONF_IDENTIFIER", PyInt_FromLong((long) 3));
11277 PyDict_SetItemString(d,"wxSTC_CONF_EXTENSION", PyInt_FromLong((long) 4));
11278 PyDict_SetItemString(d,"wxSTC_CONF_PARAMETER", PyInt_FromLong((long) 5));
11279 PyDict_SetItemString(d,"wxSTC_CONF_STRING", PyInt_FromLong((long) 6));
11280 PyDict_SetItemString(d,"wxSTC_CONF_OPERATOR", PyInt_FromLong((long) 7));
11281 PyDict_SetItemString(d,"wxSTC_CONF_IP", PyInt_FromLong((long) 8));
11282 PyDict_SetItemString(d,"wxSTC_CONF_DIRECTIVE", PyInt_FromLong((long) 9));
11283 PyDict_SetItemString(d,"wxSTC_AVE_DEFAULT", PyInt_FromLong((long) 0));
11284 PyDict_SetItemString(d,"wxSTC_AVE_COMMENT", PyInt_FromLong((long) 1));
11285 PyDict_SetItemString(d,"wxSTC_AVE_NUMBER", PyInt_FromLong((long) 2));
11286 PyDict_SetItemString(d,"wxSTC_AVE_WORD", PyInt_FromLong((long) 3));
11287 PyDict_SetItemString(d,"wxSTC_AVE_KEYWORD", PyInt_FromLong((long) 4));
11288 PyDict_SetItemString(d,"wxSTC_AVE_STATEMENT", PyInt_FromLong((long) 5));
11289 PyDict_SetItemString(d,"wxSTC_AVE_STRING", PyInt_FromLong((long) 6));
11290 PyDict_SetItemString(d,"wxSTC_AVE_ENUM", PyInt_FromLong((long) 7));
11291 PyDict_SetItemString(d,"wxSTC_AVE_STRINGEOL", PyInt_FromLong((long) 8));
11292 PyDict_SetItemString(d,"wxSTC_AVE_IDENTIFIER", PyInt_FromLong((long) 9));
11293 PyDict_SetItemString(d,"wxSTC_AVE_OPERATOR", PyInt_FromLong((long) 10));
11294 PyDict_SetItemString(d,"wxSTC_ADA_DEFAULT", PyInt_FromLong((long) 0));
11295 PyDict_SetItemString(d,"wxSTC_ADA_COMMENT", PyInt_FromLong((long) 1));
11296 PyDict_SetItemString(d,"wxSTC_ADA_NUMBER", PyInt_FromLong((long) 2));
11297 PyDict_SetItemString(d,"wxSTC_ADA_WORD", PyInt_FromLong((long) 3));
11298 PyDict_SetItemString(d,"wxSTC_ADA_STRING", PyInt_FromLong((long) 4));
11299 PyDict_SetItemString(d,"wxSTC_ADA_CHARACTER", PyInt_FromLong((long) 5));
11300 PyDict_SetItemString(d,"wxSTC_ADA_OPERATOR", PyInt_FromLong((long) 6));
11301 PyDict_SetItemString(d,"wxSTC_ADA_IDENTIFIER", PyInt_FromLong((long) 7));
11302 PyDict_SetItemString(d,"wxSTC_ADA_STRINGEOL", PyInt_FromLong((long) 8));
11303 PyDict_SetItemString(d,"wxSTC_LISP_DEFAULT", PyInt_FromLong((long) 0));
11304 PyDict_SetItemString(d,"wxSTC_LISP_COMMENT", PyInt_FromLong((long) 1));
11305 PyDict_SetItemString(d,"wxSTC_LISP_NUMBER", PyInt_FromLong((long) 2));
11306 PyDict_SetItemString(d,"wxSTC_LISP_KEYWORD", PyInt_FromLong((long) 3));
11307 PyDict_SetItemString(d,"wxSTC_LISP_STRING", PyInt_FromLong((long) 6));
11308 PyDict_SetItemString(d,"wxSTC_LISP_STRINGEOL", PyInt_FromLong((long) 8));
11309 PyDict_SetItemString(d,"wxSTC_LISP_IDENTIFIER", PyInt_FromLong((long) 9));
11310 PyDict_SetItemString(d,"wxSTC_LISP_OPERATOR", PyInt_FromLong((long) 10));
11311 PyDict_SetItemString(d,"wxSTC_EIFFEL_DEFAULT", PyInt_FromLong((long) 0));
11312 PyDict_SetItemString(d,"wxSTC_EIFFEL_COMMENTLINE", PyInt_FromLong((long) 1));
11313 PyDict_SetItemString(d,"wxSTC_EIFFEL_NUMBER", PyInt_FromLong((long) 2));
11314 PyDict_SetItemString(d,"wxSTC_EIFFEL_WORD", PyInt_FromLong((long) 3));
11315 PyDict_SetItemString(d,"wxSTC_EIFFEL_STRING", PyInt_FromLong((long) 4));
11316 PyDict_SetItemString(d,"wxSTC_EIFFEL_CHARACTER", PyInt_FromLong((long) 5));
11317 PyDict_SetItemString(d,"wxSTC_EIFFEL_OPERATOR", PyInt_FromLong((long) 6));
11318 PyDict_SetItemString(d,"wxSTC_EIFFEL_IDENTIFIER", PyInt_FromLong((long) 7));
11319 PyDict_SetItemString(d,"wxSTC_EIFFEL_STRINGEOL", PyInt_FromLong((long) 8));
11320 PyDict_SetItemString(d,"wxSTC_NNCRONTAB_DEFAULT", PyInt_FromLong((long) 0));
11321 PyDict_SetItemString(d,"wxSTC_NNCRONTAB_COMMENT", PyInt_FromLong((long) 1));
11322 PyDict_SetItemString(d,"wxSTC_NNCRONTAB_TASK", PyInt_FromLong((long) 2));
11323 PyDict_SetItemString(d,"wxSTC_NNCRONTAB_SECTION", PyInt_FromLong((long) 3));
11324 PyDict_SetItemString(d,"wxSTC_NNCRONTAB_KEYWORD", PyInt_FromLong((long) 4));
11325 PyDict_SetItemString(d,"wxSTC_NNCRONTAB_MODIFIER", PyInt_FromLong((long) 5));
11326 PyDict_SetItemString(d,"wxSTC_NNCRONTAB_ASTERISK", PyInt_FromLong((long) 6));
11327 PyDict_SetItemString(d,"wxSTC_NNCRONTAB_NUMBER", PyInt_FromLong((long) 7));
11328 PyDict_SetItemString(d,"wxSTC_NNCRONTAB_STRING", PyInt_FromLong((long) 8));
11329 PyDict_SetItemString(d,"wxSTC_NNCRONTAB_ENVIRONMENT", PyInt_FromLong((long) 9));
11330 PyDict_SetItemString(d,"wxSTC_NNCRONTAB_IDENTIFIER", PyInt_FromLong((long) 10));
db34b2d4 11331 PyDict_SetItemString(d,"wxSTC_MASK_FOLDERS", PyInt_FromLong((long) ((1<<(30))|(1<<(31))|(1<<(29))|(1<<(28))|(1<<(27))|(1<<(26))|(1<<(25)))));
89c8ea73
RD
11332 PyDict_SetItemString(d,"wxSTCNameStr", PyString_FromString("wxSTCNameStr"));
11333 PyDict_SetItemString(d,"wxEVT_STC_CHANGE", PyInt_FromLong((long) wxEVT_STC_CHANGE));
11334 PyDict_SetItemString(d,"wxEVT_STC_STYLENEEDED", PyInt_FromLong((long) wxEVT_STC_STYLENEEDED));
11335 PyDict_SetItemString(d,"wxEVT_STC_CHARADDED", PyInt_FromLong((long) wxEVT_STC_CHARADDED));
11336 PyDict_SetItemString(d,"wxEVT_STC_SAVEPOINTREACHED", PyInt_FromLong((long) wxEVT_STC_SAVEPOINTREACHED));
11337 PyDict_SetItemString(d,"wxEVT_STC_SAVEPOINTLEFT", PyInt_FromLong((long) wxEVT_STC_SAVEPOINTLEFT));
11338 PyDict_SetItemString(d,"wxEVT_STC_ROMODIFYATTEMPT", PyInt_FromLong((long) wxEVT_STC_ROMODIFYATTEMPT));
11339 PyDict_SetItemString(d,"wxEVT_STC_KEY", PyInt_FromLong((long) wxEVT_STC_KEY));
11340 PyDict_SetItemString(d,"wxEVT_STC_DOUBLECLICK", PyInt_FromLong((long) wxEVT_STC_DOUBLECLICK));
11341 PyDict_SetItemString(d,"wxEVT_STC_UPDATEUI", PyInt_FromLong((long) wxEVT_STC_UPDATEUI));
11342 PyDict_SetItemString(d,"wxEVT_STC_MODIFIED", PyInt_FromLong((long) wxEVT_STC_MODIFIED));
11343 PyDict_SetItemString(d,"wxEVT_STC_MACRORECORD", PyInt_FromLong((long) wxEVT_STC_MACRORECORD));
11344 PyDict_SetItemString(d,"wxEVT_STC_MARGINCLICK", PyInt_FromLong((long) wxEVT_STC_MARGINCLICK));
11345 PyDict_SetItemString(d,"wxEVT_STC_NEEDSHOWN", PyInt_FromLong((long) wxEVT_STC_NEEDSHOWN));
11346 PyDict_SetItemString(d,"wxEVT_STC_POSCHANGED", PyInt_FromLong((long) wxEVT_STC_POSCHANGED));
11347 PyDict_SetItemString(d,"wxEVT_STC_PAINTED", PyInt_FromLong((long) wxEVT_STC_PAINTED));
11348 PyDict_SetItemString(d,"wxEVT_STC_USERLISTSELECTION", PyInt_FromLong((long) wxEVT_STC_USERLISTSELECTION));
11349 PyDict_SetItemString(d,"wxEVT_STC_URIDROPPED", PyInt_FromLong((long) wxEVT_STC_URIDROPPED));
11350 PyDict_SetItemString(d,"wxEVT_STC_DWELLSTART", PyInt_FromLong((long) wxEVT_STC_DWELLSTART));
11351 PyDict_SetItemString(d,"wxEVT_STC_DWELLEND", PyInt_FromLong((long) wxEVT_STC_DWELLEND));
11352 PyDict_SetItemString(d,"wxEVT_STC_START_DRAG", PyInt_FromLong((long) wxEVT_STC_START_DRAG));
11353 PyDict_SetItemString(d,"wxEVT_STC_DRAG_OVER", PyInt_FromLong((long) wxEVT_STC_DRAG_OVER));
11354 PyDict_SetItemString(d,"wxEVT_STC_DO_DROP", PyInt_FromLong((long) wxEVT_STC_DO_DROP));
11355
11356
11357 wxClassInfo::CleanUpClasses();
11358 wxClassInfo::InitializeClasses();
11359
11360{
11361 int i;
11362 for (i = 0; _swig_mapping[i].n1; i++)
11363 SWIG_RegisterMapping(_swig_mapping[i].n1,_swig_mapping[i].n2,_swig_mapping[i].pcnv);
11364}
11365}