]> git.saurik.com Git - wxWidgets.git/blame - wxPython/contrib/stc/stc_.cpp
some little fixes
[wxWidgets.git] / wxPython / contrib / stc / stc_.cpp
CommitLineData
f6bcfd97 1/*
ea7c631c 2 * FILE : contrib/stc/stc_.cpp
f6bcfd97
BP
3 *
4 * This file was automatically generated by :
5 * Simplified Wrapper and Interface Generator (SWIG)
185d7c3e 6 * Version 1.1 (Build 883)
f6bcfd97
BP
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__)
9c4165ad 30# define SWIGEXPORT(a) a _export
f6bcfd97 31# else
9c4165ad 32# define SWIGEXPORT(a) a
f6bcfd97
BP
33# endif
34# endif
35#else
9c4165ad 36# define SWIGEXPORT(a) a
f6bcfd97
BP
37#endif
38
39#ifdef __cplusplus
40extern "C" {
41#endif
9c4165ad 42#include "Python.h"
f6bcfd97
BP
43extern void SWIG_MakePtr(char *, void *, char *);
44extern void SWIG_RegisterMapping(char *, char *, void *(*)(void *));
45extern char *SWIG_GetPtr(char *, void **, char *);
46extern char *SWIG_GetPtrObj(PyObject *, void **, char *);
47extern void SWIG_addvarlink(PyObject *, char *, PyObject *(*)(void), int (*)(PyObject *));
48extern PyObject *SWIG_newvarlink(void);
49#ifdef __cplusplus
50}
51#endif
52#define SWIG_init initstc_c
53
54#define SWIG_name "stc_c"
55
1e7ecb7b 56#include "export.h"
f6bcfd97
BP
57#include "wx/stc/stc.h"
58
59static PyObject* l_output_helper(PyObject* target, PyObject* o) {
60 PyObject* o2;
185d7c3e 61 if (!target) {
f6bcfd97 62 target = o;
185d7c3e 63 } else if (target == Py_None) {
f6bcfd97
BP
64 Py_DECREF(Py_None);
65 target = o;
185d7c3e 66 } else {
f6bcfd97
BP
67 if (!PyList_Check(target)) {
68 o2 = target;
69 target = PyList_New(0);
70 PyList_Append(target, o2);
71 Py_XDECREF(o2);
72 }
73 PyList_Append(target,o);
74 Py_XDECREF(o);
75 }
76 return target;
77}
78
79static PyObject* t_output_helper(PyObject* target, PyObject* o) {
80 PyObject* o2;
81 PyObject* o3;
82
185d7c3e 83 if (!target) {
f6bcfd97 84 target = o;
185d7c3e 85 } else if (target == Py_None) {
f6bcfd97
BP
86 Py_DECREF(Py_None);
87 target = o;
185d7c3e 88 } else {
f6bcfd97
BP
89 if (!PyTuple_Check(target)) {
90 o2 = target;
91 target = PyTuple_New(1);
92 PyTuple_SetItem(target, 0, o2);
93 }
185d7c3e
RD
94 o3 = PyTuple_New(1);
95 PyTuple_SetItem(o3, 0, o);
f6bcfd97
BP
96
97 o2 = target;
185d7c3e
RD
98 target = PySequence_Concat(o2, o3);
99 Py_DECREF(o2);
f6bcfd97
BP
100 Py_DECREF(o3);
101 }
102 return target;
103}
104
105static char* wxStringErrorMsg = "string type is required for parameter";
106#ifdef __cplusplus
107extern "C" {
108#endif
109static void *SwigwxStyledTextCtrlTowxControl(void *ptr) {
110 wxStyledTextCtrl *src;
111 wxControl *dest;
112 src = (wxStyledTextCtrl *) ptr;
113 dest = (wxControl *) src;
114 return (void *) dest;
115}
116
117static void *SwigwxStyledTextCtrlTowxWindow(void *ptr) {
118 wxStyledTextCtrl *src;
119 wxWindow *dest;
120 src = (wxStyledTextCtrl *) ptr;
121 dest = (wxWindow *) src;
122 return (void *) dest;
123}
124
125static void *SwigwxStyledTextCtrlTowxEvtHandler(void *ptr) {
126 wxStyledTextCtrl *src;
127 wxEvtHandler *dest;
128 src = (wxStyledTextCtrl *) ptr;
129 dest = (wxEvtHandler *) src;
130 return (void *) dest;
131}
132
133#define new_wxStyledTextCtrl(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxStyledTextCtrl(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
134static PyObject *_wrap_new_wxStyledTextCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
135 PyObject * _resultobj;
136 wxStyledTextCtrl * _result;
137 wxWindow * _arg0;
138 wxWindowID _arg1;
139 wxPoint * _arg2 = (wxPoint *) &wxDefaultPosition;
140 wxSize * _arg3 = (wxSize *) &wxDefaultSize;
141 long _arg4 = (long ) 0;
142 char * _arg5 = (char *) "styledtext";
143 PyObject * _argo0 = 0;
144 wxPoint temp;
145 PyObject * _obj2 = 0;
146 wxSize temp0;
147 PyObject * _obj3 = 0;
148 char *_kwnames[] = { "parent","id","pos","size","style","name", NULL };
149 char _ptemp[128];
150
151 self = self;
152 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi|OOls:new_wxStyledTextCtrl",_kwnames,&_argo0,&_arg1,&_obj2,&_obj3,&_arg4,&_arg5))
153 return NULL;
154 if (_argo0) {
155 if (_argo0 == Py_None) { _arg0 = NULL; }
156 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
157 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxStyledTextCtrl. Expected _wxWindow_p.");
158 return NULL;
159 }
160 }
161 if (_obj2)
162{
163 _arg2 = &temp;
164 if (! wxPoint_helper(_obj2, &_arg2))
165 return NULL;
166}
167 if (_obj3)
168{
169 _arg3 = &temp0;
170 if (! wxSize_helper(_obj3, &_arg3))
171 return NULL;
172}
173{
174 wxPy_BEGIN_ALLOW_THREADS;
175 _result = (wxStyledTextCtrl *)new_wxStyledTextCtrl(_arg0,_arg1,*_arg2,*_arg3,_arg4,_arg5);
176
177 wxPy_END_ALLOW_THREADS;
178} if (_result) {
179 SWIG_MakePtr(_ptemp, (char *) _result,"_wxStyledTextCtrl_p");
180 _resultobj = Py_BuildValue("s",_ptemp);
181 } else {
182 Py_INCREF(Py_None);
183 _resultobj = Py_None;
184 }
185 return _resultobj;
186}
187
fe47ec10
RD
188#define wxStyledTextCtrl_AddText(_swigobj,_swigarg0) (_swigobj->AddText(_swigarg0))
189static PyObject *_wrap_wxStyledTextCtrl_AddText(PyObject *self, PyObject *args, PyObject *kwargs) {
f6bcfd97 190 PyObject * _resultobj;
f6bcfd97 191 wxStyledTextCtrl * _arg0;
fe47ec10 192 wxString * _arg1;
f6bcfd97 193 PyObject * _argo0 = 0;
fe47ec10
RD
194 PyObject * _obj1 = 0;
195 char *_kwnames[] = { "self","text", NULL };
f6bcfd97
BP
196
197 self = self;
fe47ec10 198 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxStyledTextCtrl_AddText",_kwnames,&_argo0,&_obj1))
f6bcfd97
BP
199 return NULL;
200 if (_argo0) {
201 if (_argo0 == Py_None) { _arg0 = NULL; }
202 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
fe47ec10 203 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_AddText. Expected _wxStyledTextCtrl_p.");
f6bcfd97
BP
204 return NULL;
205 }
206 }
fe47ec10 207{
185d7c3e
RD
208#if PYTHON_API_VERSION >= 1009
209 char* tmpPtr; int tmpSize;
210 if (!PyString_Check(_obj1) && !PyUnicode_Check(_obj1)) {
211 PyErr_SetString(PyExc_TypeError, "String or Unicode type required");
212 return NULL;
213 }
214 if (PyString_AsStringAndSize(_obj1, &tmpPtr, &tmpSize) == -1)
215 return NULL;
216 _arg1 = new wxString(tmpPtr, tmpSize);
217#else
fe47ec10
RD
218 if (!PyString_Check(_obj1)) {
219 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
220 return NULL;
221 }
185d7c3e
RD
222 _arg1 = new wxString(PyString_AS_STRING(_obj1), PyString_GET_SIZE(_obj1));
223#endif
fe47ec10 224}
f6bcfd97
BP
225{
226 wxPy_BEGIN_ALLOW_THREADS;
fe47ec10 227 wxStyledTextCtrl_AddText(_arg0,*_arg1);
f6bcfd97
BP
228
229 wxPy_END_ALLOW_THREADS;
fe47ec10
RD
230} Py_INCREF(Py_None);
231 _resultobj = Py_None;
f6bcfd97 232{
fe47ec10
RD
233 if (_obj1)
234 delete _arg1;
f6bcfd97
BP
235}
236 return _resultobj;
237}
238
fe47ec10
RD
239#define wxStyledTextCtrl_AddStyledText(_swigobj,_swigarg0) (_swigobj->AddStyledText(_swigarg0))
240static PyObject *_wrap_wxStyledTextCtrl_AddStyledText(PyObject *self, PyObject *args, PyObject *kwargs) {
f6bcfd97 241 PyObject * _resultobj;
f6bcfd97
BP
242 wxStyledTextCtrl * _arg0;
243 wxString * _arg1;
244 PyObject * _argo0 = 0;
245 PyObject * _obj1 = 0;
246 char *_kwnames[] = { "self","text", NULL };
247
248 self = self;
fe47ec10 249 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxStyledTextCtrl_AddStyledText",_kwnames,&_argo0,&_obj1))
f6bcfd97
BP
250 return NULL;
251 if (_argo0) {
252 if (_argo0 == Py_None) { _arg0 = NULL; }
253 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
fe47ec10 254 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_AddStyledText. Expected _wxStyledTextCtrl_p.");
f6bcfd97
BP
255 return NULL;
256 }
257 }
258{
185d7c3e
RD
259#if PYTHON_API_VERSION >= 1009
260 char* tmpPtr; int tmpSize;
261 if (!PyString_Check(_obj1) && !PyUnicode_Check(_obj1)) {
262 PyErr_SetString(PyExc_TypeError, "String or Unicode type required");
263 return NULL;
264 }
265 if (PyString_AsStringAndSize(_obj1, &tmpPtr, &tmpSize) == -1)
266 return NULL;
267 _arg1 = new wxString(tmpPtr, tmpSize);
268#else
f6bcfd97
BP
269 if (!PyString_Check(_obj1)) {
270 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
271 return NULL;
272 }
185d7c3e
RD
273 _arg1 = new wxString(PyString_AS_STRING(_obj1), PyString_GET_SIZE(_obj1));
274#endif
f6bcfd97
BP
275}
276{
277 wxPy_BEGIN_ALLOW_THREADS;
fe47ec10 278 wxStyledTextCtrl_AddStyledText(_arg0,*_arg1);
f6bcfd97
BP
279
280 wxPy_END_ALLOW_THREADS;
fe47ec10
RD
281} Py_INCREF(Py_None);
282 _resultobj = Py_None;
f6bcfd97
BP
283{
284 if (_obj1)
285 delete _arg1;
286}
287 return _resultobj;
288}
289
fe47ec10
RD
290#define wxStyledTextCtrl_InsertText(_swigobj,_swigarg0,_swigarg1) (_swigobj->InsertText(_swigarg0,_swigarg1))
291static PyObject *_wrap_wxStyledTextCtrl_InsertText(PyObject *self, PyObject *args, PyObject *kwargs) {
f6bcfd97 292 PyObject * _resultobj;
f6bcfd97
BP
293 wxStyledTextCtrl * _arg0;
294 int _arg1;
fe47ec10 295 wxString * _arg2;
f6bcfd97 296 PyObject * _argo0 = 0;
fe47ec10
RD
297 PyObject * _obj2 = 0;
298 char *_kwnames[] = { "self","pos","text", NULL };
f6bcfd97
BP
299
300 self = self;
fe47ec10 301 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxStyledTextCtrl_InsertText",_kwnames,&_argo0,&_arg1,&_obj2))
f6bcfd97
BP
302 return NULL;
303 if (_argo0) {
304 if (_argo0 == Py_None) { _arg0 = NULL; }
305 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
fe47ec10 306 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_InsertText. Expected _wxStyledTextCtrl_p.");
f6bcfd97
BP
307 return NULL;
308 }
309 }
fe47ec10 310{
185d7c3e
RD
311#if PYTHON_API_VERSION >= 1009
312 char* tmpPtr; int tmpSize;
313 if (!PyString_Check(_obj2) && !PyUnicode_Check(_obj2)) {
314 PyErr_SetString(PyExc_TypeError, "String or Unicode type required");
315 return NULL;
316 }
317 if (PyString_AsStringAndSize(_obj2, &tmpPtr, &tmpSize) == -1)
318 return NULL;
319 _arg2 = new wxString(tmpPtr, tmpSize);
320#else
fe47ec10
RD
321 if (!PyString_Check(_obj2)) {
322 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
323 return NULL;
324 }
185d7c3e
RD
325 _arg2 = new wxString(PyString_AS_STRING(_obj2), PyString_GET_SIZE(_obj2));
326#endif
fe47ec10 327}
f6bcfd97
BP
328{
329 wxPy_BEGIN_ALLOW_THREADS;
fe47ec10 330 wxStyledTextCtrl_InsertText(_arg0,_arg1,*_arg2);
f6bcfd97
BP
331
332 wxPy_END_ALLOW_THREADS;
fe47ec10
RD
333} Py_INCREF(Py_None);
334 _resultobj = Py_None;
f6bcfd97 335{
fe47ec10
RD
336 if (_obj2)
337 delete _arg2;
f6bcfd97
BP
338}
339 return _resultobj;
340}
341
fe47ec10
RD
342#define wxStyledTextCtrl_ClearAll(_swigobj) (_swigobj->ClearAll())
343static PyObject *_wrap_wxStyledTextCtrl_ClearAll(PyObject *self, PyObject *args, PyObject *kwargs) {
f6bcfd97
BP
344 PyObject * _resultobj;
345 wxStyledTextCtrl * _arg0;
f6bcfd97 346 PyObject * _argo0 = 0;
fe47ec10 347 char *_kwnames[] = { "self", NULL };
f6bcfd97
BP
348
349 self = self;
fe47ec10 350 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_ClearAll",_kwnames,&_argo0))
f6bcfd97
BP
351 return NULL;
352 if (_argo0) {
353 if (_argo0 == Py_None) { _arg0 = NULL; }
354 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
fe47ec10 355 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_ClearAll. Expected _wxStyledTextCtrl_p.");
f6bcfd97
BP
356 return NULL;
357 }
358 }
f6bcfd97
BP
359{
360 wxPy_BEGIN_ALLOW_THREADS;
fe47ec10 361 wxStyledTextCtrl_ClearAll(_arg0);
f6bcfd97
BP
362
363 wxPy_END_ALLOW_THREADS;
364} Py_INCREF(Py_None);
365 _resultobj = Py_None;
f6bcfd97
BP
366 return _resultobj;
367}
368
fe47ec10
RD
369#define wxStyledTextCtrl_ClearDocumentStyle(_swigobj) (_swigobj->ClearDocumentStyle())
370static PyObject *_wrap_wxStyledTextCtrl_ClearDocumentStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
f6bcfd97
BP
371 PyObject * _resultobj;
372 wxStyledTextCtrl * _arg0;
f6bcfd97 373 PyObject * _argo0 = 0;
fe47ec10 374 char *_kwnames[] = { "self", NULL };
f6bcfd97
BP
375
376 self = self;
fe47ec10 377 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_ClearDocumentStyle",_kwnames,&_argo0))
f6bcfd97
BP
378 return NULL;
379 if (_argo0) {
380 if (_argo0 == Py_None) { _arg0 = NULL; }
381 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
fe47ec10 382 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_ClearDocumentStyle. Expected _wxStyledTextCtrl_p.");
f6bcfd97
BP
383 return NULL;
384 }
385 }
f6bcfd97
BP
386{
387 wxPy_BEGIN_ALLOW_THREADS;
fe47ec10 388 wxStyledTextCtrl_ClearDocumentStyle(_arg0);
f6bcfd97
BP
389
390 wxPy_END_ALLOW_THREADS;
391} Py_INCREF(Py_None);
392 _resultobj = Py_None;
393 return _resultobj;
394}
395
fe47ec10
RD
396#define wxStyledTextCtrl_GetLength(_swigobj) (_swigobj->GetLength())
397static PyObject *_wrap_wxStyledTextCtrl_GetLength(PyObject *self, PyObject *args, PyObject *kwargs) {
f6bcfd97 398 PyObject * _resultobj;
fe47ec10 399 int _result;
f6bcfd97
BP
400 wxStyledTextCtrl * _arg0;
401 PyObject * _argo0 = 0;
402 char *_kwnames[] = { "self", NULL };
403
404 self = self;
fe47ec10 405 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetLength",_kwnames,&_argo0))
f6bcfd97
BP
406 return NULL;
407 if (_argo0) {
408 if (_argo0 == Py_None) { _arg0 = NULL; }
409 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
fe47ec10 410 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetLength. Expected _wxStyledTextCtrl_p.");
f6bcfd97
BP
411 return NULL;
412 }
413 }
414{
415 wxPy_BEGIN_ALLOW_THREADS;
fe47ec10 416 _result = (int )wxStyledTextCtrl_GetLength(_arg0);
f6bcfd97
BP
417
418 wxPy_END_ALLOW_THREADS;
419} _resultobj = Py_BuildValue("i",_result);
420 return _resultobj;
421}
422
fe47ec10
RD
423#define wxStyledTextCtrl_GetCharAt(_swigobj,_swigarg0) (_swigobj->GetCharAt(_swigarg0))
424static PyObject *_wrap_wxStyledTextCtrl_GetCharAt(PyObject *self, PyObject *args, PyObject *kwargs) {
f6bcfd97 425 PyObject * _resultobj;
fe47ec10 426 int _result;
f6bcfd97
BP
427 wxStyledTextCtrl * _arg0;
428 int _arg1;
f6bcfd97 429 PyObject * _argo0 = 0;
fe47ec10 430 char *_kwnames[] = { "self","pos", NULL };
f6bcfd97
BP
431
432 self = self;
fe47ec10 433 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_GetCharAt",_kwnames,&_argo0,&_arg1))
f6bcfd97
BP
434 return NULL;
435 if (_argo0) {
436 if (_argo0 == Py_None) { _arg0 = NULL; }
437 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
fe47ec10 438 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetCharAt. Expected _wxStyledTextCtrl_p.");
f6bcfd97
BP
439 return NULL;
440 }
441 }
442{
443 wxPy_BEGIN_ALLOW_THREADS;
fe47ec10 444 _result = (int )wxStyledTextCtrl_GetCharAt(_arg0,_arg1);
f6bcfd97
BP
445
446 wxPy_END_ALLOW_THREADS;
fe47ec10 447} _resultobj = Py_BuildValue("i",_result);
f6bcfd97
BP
448 return _resultobj;
449}
450
fe47ec10
RD
451#define wxStyledTextCtrl_GetCurrentPos(_swigobj) (_swigobj->GetCurrentPos())
452static PyObject *_wrap_wxStyledTextCtrl_GetCurrentPos(PyObject *self, PyObject *args, PyObject *kwargs) {
f6bcfd97 453 PyObject * _resultobj;
fe47ec10 454 int _result;
f6bcfd97 455 wxStyledTextCtrl * _arg0;
f6bcfd97 456 PyObject * _argo0 = 0;
fe47ec10 457 char *_kwnames[] = { "self", NULL };
f6bcfd97
BP
458
459 self = self;
fe47ec10 460 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetCurrentPos",_kwnames,&_argo0))
f6bcfd97
BP
461 return NULL;
462 if (_argo0) {
463 if (_argo0 == Py_None) { _arg0 = NULL; }
464 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
fe47ec10 465 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetCurrentPos. Expected _wxStyledTextCtrl_p.");
f6bcfd97
BP
466 return NULL;
467 }
468 }
469{
470 wxPy_BEGIN_ALLOW_THREADS;
fe47ec10 471 _result = (int )wxStyledTextCtrl_GetCurrentPos(_arg0);
f6bcfd97
BP
472
473 wxPy_END_ALLOW_THREADS;
fe47ec10 474} _resultobj = Py_BuildValue("i",_result);
f6bcfd97
BP
475 return _resultobj;
476}
477
fe47ec10
RD
478#define wxStyledTextCtrl_GetAnchor(_swigobj) (_swigobj->GetAnchor())
479static PyObject *_wrap_wxStyledTextCtrl_GetAnchor(PyObject *self, PyObject *args, PyObject *kwargs) {
f6bcfd97 480 PyObject * _resultobj;
fe47ec10 481 int _result;
f6bcfd97 482 wxStyledTextCtrl * _arg0;
f6bcfd97 483 PyObject * _argo0 = 0;
fe47ec10 484 char *_kwnames[] = { "self", NULL };
f6bcfd97
BP
485
486 self = self;
fe47ec10 487 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetAnchor",_kwnames,&_argo0))
f6bcfd97
BP
488 return NULL;
489 if (_argo0) {
490 if (_argo0 == Py_None) { _arg0 = NULL; }
491 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
fe47ec10 492 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetAnchor. Expected _wxStyledTextCtrl_p.");
f6bcfd97
BP
493 return NULL;
494 }
495 }
f6bcfd97
BP
496{
497 wxPy_BEGIN_ALLOW_THREADS;
fe47ec10 498 _result = (int )wxStyledTextCtrl_GetAnchor(_arg0);
f6bcfd97
BP
499
500 wxPy_END_ALLOW_THREADS;
fe47ec10 501} _resultobj = Py_BuildValue("i",_result);
f6bcfd97
BP
502 return _resultobj;
503}
504
fe47ec10
RD
505#define wxStyledTextCtrl_GetStyleAt(_swigobj,_swigarg0) (_swigobj->GetStyleAt(_swigarg0))
506static PyObject *_wrap_wxStyledTextCtrl_GetStyleAt(PyObject *self, PyObject *args, PyObject *kwargs) {
f6bcfd97 507 PyObject * _resultobj;
fe47ec10 508 int _result;
f6bcfd97 509 wxStyledTextCtrl * _arg0;
fe47ec10 510 int _arg1;
f6bcfd97 511 PyObject * _argo0 = 0;
fe47ec10 512 char *_kwnames[] = { "self","pos", NULL };
f6bcfd97
BP
513
514 self = self;
fe47ec10 515 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_GetStyleAt",_kwnames,&_argo0,&_arg1))
f6bcfd97
BP
516 return NULL;
517 if (_argo0) {
518 if (_argo0 == Py_None) { _arg0 = NULL; }
519 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
fe47ec10 520 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetStyleAt. Expected _wxStyledTextCtrl_p.");
f6bcfd97
BP
521 return NULL;
522 }
523 }
f6bcfd97
BP
524{
525 wxPy_BEGIN_ALLOW_THREADS;
fe47ec10 526 _result = (int )wxStyledTextCtrl_GetStyleAt(_arg0,_arg1);
f6bcfd97
BP
527
528 wxPy_END_ALLOW_THREADS;
fe47ec10 529} _resultobj = Py_BuildValue("i",_result);
f6bcfd97
BP
530 return _resultobj;
531}
532
fe47ec10
RD
533#define wxStyledTextCtrl_Redo(_swigobj) (_swigobj->Redo())
534static PyObject *_wrap_wxStyledTextCtrl_Redo(PyObject *self, PyObject *args, PyObject *kwargs) {
f6bcfd97
BP
535 PyObject * _resultobj;
536 wxStyledTextCtrl * _arg0;
f6bcfd97 537 PyObject * _argo0 = 0;
fe47ec10 538 char *_kwnames[] = { "self", NULL };
f6bcfd97
BP
539
540 self = self;
fe47ec10 541 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_Redo",_kwnames,&_argo0))
f6bcfd97
BP
542 return NULL;
543 if (_argo0) {
544 if (_argo0 == Py_None) { _arg0 = NULL; }
545 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
fe47ec10 546 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_Redo. Expected _wxStyledTextCtrl_p.");
f6bcfd97
BP
547 return NULL;
548 }
549 }
f6bcfd97
BP
550{
551 wxPy_BEGIN_ALLOW_THREADS;
fe47ec10 552 wxStyledTextCtrl_Redo(_arg0);
f6bcfd97
BP
553
554 wxPy_END_ALLOW_THREADS;
555} Py_INCREF(Py_None);
556 _resultobj = Py_None;
f6bcfd97
BP
557 return _resultobj;
558}
559
fe47ec10
RD
560#define wxStyledTextCtrl_SetUndoCollection(_swigobj,_swigarg0) (_swigobj->SetUndoCollection(_swigarg0))
561static PyObject *_wrap_wxStyledTextCtrl_SetUndoCollection(PyObject *self, PyObject *args, PyObject *kwargs) {
f6bcfd97
BP
562 PyObject * _resultobj;
563 wxStyledTextCtrl * _arg0;
fe47ec10 564 bool _arg1;
f6bcfd97 565 PyObject * _argo0 = 0;
fe47ec10
RD
566 int tempbool1;
567 char *_kwnames[] = { "self","collectUndo", NULL };
f6bcfd97
BP
568
569 self = self;
fe47ec10 570 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_SetUndoCollection",_kwnames,&_argo0,&tempbool1))
f6bcfd97
BP
571 return NULL;
572 if (_argo0) {
573 if (_argo0 == Py_None) { _arg0 = NULL; }
574 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
fe47ec10 575 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetUndoCollection. Expected _wxStyledTextCtrl_p.");
f6bcfd97
BP
576 return NULL;
577 }
578 }
fe47ec10 579 _arg1 = (bool ) tempbool1;
f6bcfd97
BP
580{
581 wxPy_BEGIN_ALLOW_THREADS;
fe47ec10 582 wxStyledTextCtrl_SetUndoCollection(_arg0,_arg1);
f6bcfd97
BP
583
584 wxPy_END_ALLOW_THREADS;
585} Py_INCREF(Py_None);
586 _resultobj = Py_None;
587 return _resultobj;
588}
589
fe47ec10
RD
590#define wxStyledTextCtrl_SelectAll(_swigobj) (_swigobj->SelectAll())
591static PyObject *_wrap_wxStyledTextCtrl_SelectAll(PyObject *self, PyObject *args, PyObject *kwargs) {
f6bcfd97 592 PyObject * _resultobj;
f6bcfd97 593 wxStyledTextCtrl * _arg0;
f6bcfd97 594 PyObject * _argo0 = 0;
fe47ec10 595 char *_kwnames[] = { "self", NULL };
f6bcfd97
BP
596
597 self = self;
fe47ec10 598 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_SelectAll",_kwnames,&_argo0))
f6bcfd97
BP
599 return NULL;
600 if (_argo0) {
601 if (_argo0 == Py_None) { _arg0 = NULL; }
602 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
fe47ec10 603 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SelectAll. Expected _wxStyledTextCtrl_p.");
f6bcfd97
BP
604 return NULL;
605 }
606 }
607{
608 wxPy_BEGIN_ALLOW_THREADS;
fe47ec10 609 wxStyledTextCtrl_SelectAll(_arg0);
f6bcfd97
BP
610
611 wxPy_END_ALLOW_THREADS;
fe47ec10
RD
612} Py_INCREF(Py_None);
613 _resultobj = Py_None;
f6bcfd97
BP
614 return _resultobj;
615}
616
fe47ec10
RD
617#define wxStyledTextCtrl_SetSavePoint(_swigobj) (_swigobj->SetSavePoint())
618static PyObject *_wrap_wxStyledTextCtrl_SetSavePoint(PyObject *self, PyObject *args, PyObject *kwargs) {
f6bcfd97 619 PyObject * _resultobj;
f6bcfd97 620 wxStyledTextCtrl * _arg0;
f6bcfd97 621 PyObject * _argo0 = 0;
fe47ec10 622 char *_kwnames[] = { "self", NULL };
f6bcfd97
BP
623
624 self = self;
fe47ec10 625 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_SetSavePoint",_kwnames,&_argo0))
f6bcfd97
BP
626 return NULL;
627 if (_argo0) {
628 if (_argo0 == Py_None) { _arg0 = NULL; }
629 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
fe47ec10 630 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetSavePoint. Expected _wxStyledTextCtrl_p.");
f6bcfd97
BP
631 return NULL;
632 }
633 }
634{
635 wxPy_BEGIN_ALLOW_THREADS;
fe47ec10 636 wxStyledTextCtrl_SetSavePoint(_arg0);
f6bcfd97
BP
637
638 wxPy_END_ALLOW_THREADS;
fe47ec10
RD
639} Py_INCREF(Py_None);
640 _resultobj = Py_None;
f6bcfd97
BP
641 return _resultobj;
642}
643
fe47ec10
RD
644#define wxStyledTextCtrl_GetStyledText(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetStyledText(_swigarg0,_swigarg1))
645static PyObject *_wrap_wxStyledTextCtrl_GetStyledText(PyObject *self, PyObject *args, PyObject *kwargs) {
f6bcfd97 646 PyObject * _resultobj;
fe47ec10 647 wxString * _result;
f6bcfd97
BP
648 wxStyledTextCtrl * _arg0;
649 int _arg1;
fe47ec10 650 int _arg2;
f6bcfd97 651 PyObject * _argo0 = 0;
fe47ec10 652 char *_kwnames[] = { "self","startPos","endPos", NULL };
f6bcfd97
BP
653
654 self = self;
fe47ec10 655 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxStyledTextCtrl_GetStyledText",_kwnames,&_argo0,&_arg1,&_arg2))
f6bcfd97
BP
656 return NULL;
657 if (_argo0) {
658 if (_argo0 == Py_None) { _arg0 = NULL; }
659 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
fe47ec10 660 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetStyledText. Expected _wxStyledTextCtrl_p.");
f6bcfd97
BP
661 return NULL;
662 }
663 }
664{
665 wxPy_BEGIN_ALLOW_THREADS;
fe47ec10 666 _result = new wxString (wxStyledTextCtrl_GetStyledText(_arg0,_arg1,_arg2));
f6bcfd97
BP
667
668 wxPy_END_ALLOW_THREADS;
fe47ec10
RD
669}{
670 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
671}
672{
673 delete _result;
674}
f6bcfd97
BP
675 return _resultobj;
676}
677
fe47ec10
RD
678#define wxStyledTextCtrl_CanRedo(_swigobj) (_swigobj->CanRedo())
679static PyObject *_wrap_wxStyledTextCtrl_CanRedo(PyObject *self, PyObject *args, PyObject *kwargs) {
f6bcfd97 680 PyObject * _resultobj;
fe47ec10 681 bool _result;
f6bcfd97
BP
682 wxStyledTextCtrl * _arg0;
683 PyObject * _argo0 = 0;
684 char *_kwnames[] = { "self", NULL };
685
686 self = self;
fe47ec10 687 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_CanRedo",_kwnames,&_argo0))
f6bcfd97
BP
688 return NULL;
689 if (_argo0) {
690 if (_argo0 == Py_None) { _arg0 = NULL; }
691 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
fe47ec10 692 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_CanRedo. Expected _wxStyledTextCtrl_p.");
f6bcfd97
BP
693 return NULL;
694 }
695 }
696{
697 wxPy_BEGIN_ALLOW_THREADS;
fe47ec10 698 _result = (bool )wxStyledTextCtrl_CanRedo(_arg0);
f6bcfd97
BP
699
700 wxPy_END_ALLOW_THREADS;
701} _resultobj = Py_BuildValue("i",_result);
702 return _resultobj;
703}
704
fe47ec10
RD
705#define wxStyledTextCtrl_MarkerLineFromHandle(_swigobj,_swigarg0) (_swigobj->MarkerLineFromHandle(_swigarg0))
706static PyObject *_wrap_wxStyledTextCtrl_MarkerLineFromHandle(PyObject *self, PyObject *args, PyObject *kwargs) {
f6bcfd97 707 PyObject * _resultobj;
fe47ec10 708 int _result;
f6bcfd97 709 wxStyledTextCtrl * _arg0;
fe47ec10 710 int _arg1;
f6bcfd97 711 PyObject * _argo0 = 0;
fe47ec10 712 char *_kwnames[] = { "self","handle", NULL };
f6bcfd97
BP
713
714 self = self;
fe47ec10 715 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_MarkerLineFromHandle",_kwnames,&_argo0,&_arg1))
f6bcfd97
BP
716 return NULL;
717 if (_argo0) {
718 if (_argo0 == Py_None) { _arg0 = NULL; }
719 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
fe47ec10 720 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_MarkerLineFromHandle. Expected _wxStyledTextCtrl_p.");
f6bcfd97
BP
721 return NULL;
722 }
723 }
724{
725 wxPy_BEGIN_ALLOW_THREADS;
fe47ec10 726 _result = (int )wxStyledTextCtrl_MarkerLineFromHandle(_arg0,_arg1);
f6bcfd97
BP
727
728 wxPy_END_ALLOW_THREADS;
fe47ec10 729} _resultobj = Py_BuildValue("i",_result);
f6bcfd97
BP
730 return _resultobj;
731}
732
fe47ec10
RD
733#define wxStyledTextCtrl_MarkerDeleteHandle(_swigobj,_swigarg0) (_swigobj->MarkerDeleteHandle(_swigarg0))
734static PyObject *_wrap_wxStyledTextCtrl_MarkerDeleteHandle(PyObject *self, PyObject *args, PyObject *kwargs) {
f6bcfd97
BP
735 PyObject * _resultobj;
736 wxStyledTextCtrl * _arg0;
fe47ec10 737 int _arg1;
f6bcfd97 738 PyObject * _argo0 = 0;
fe47ec10 739 char *_kwnames[] = { "self","handle", NULL };
f6bcfd97
BP
740
741 self = self;
fe47ec10 742 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_MarkerDeleteHandle",_kwnames,&_argo0,&_arg1))
f6bcfd97
BP
743 return NULL;
744 if (_argo0) {
745 if (_argo0 == Py_None) { _arg0 = NULL; }
746 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
fe47ec10 747 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_MarkerDeleteHandle. Expected _wxStyledTextCtrl_p.");
f6bcfd97
BP
748 return NULL;
749 }
750 }
751{
752 wxPy_BEGIN_ALLOW_THREADS;
fe47ec10 753 wxStyledTextCtrl_MarkerDeleteHandle(_arg0,_arg1);
f6bcfd97
BP
754
755 wxPy_END_ALLOW_THREADS;
756} Py_INCREF(Py_None);
757 _resultobj = Py_None;
758 return _resultobj;
759}
760
fe47ec10
RD
761#define wxStyledTextCtrl_GetUndoCollection(_swigobj) (_swigobj->GetUndoCollection())
762static PyObject *_wrap_wxStyledTextCtrl_GetUndoCollection(PyObject *self, PyObject *args, PyObject *kwargs) {
f6bcfd97 763 PyObject * _resultobj;
fe47ec10 764 bool _result;
f6bcfd97
BP
765 wxStyledTextCtrl * _arg0;
766 PyObject * _argo0 = 0;
767 char *_kwnames[] = { "self", NULL };
768
769 self = self;
fe47ec10 770 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetUndoCollection",_kwnames,&_argo0))
f6bcfd97
BP
771 return NULL;
772 if (_argo0) {
773 if (_argo0 == Py_None) { _arg0 = NULL; }
774 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
fe47ec10 775 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetUndoCollection. Expected _wxStyledTextCtrl_p.");
f6bcfd97
BP
776 return NULL;
777 }
778 }
779{
780 wxPy_BEGIN_ALLOW_THREADS;
fe47ec10 781 _result = (bool )wxStyledTextCtrl_GetUndoCollection(_arg0);
f6bcfd97
BP
782
783 wxPy_END_ALLOW_THREADS;
fe47ec10 784} _resultobj = Py_BuildValue("i",_result);
f6bcfd97
BP
785 return _resultobj;
786}
787
fe47ec10
RD
788#define wxStyledTextCtrl_GetViewWhiteSpace(_swigobj) (_swigobj->GetViewWhiteSpace())
789static PyObject *_wrap_wxStyledTextCtrl_GetViewWhiteSpace(PyObject *self, PyObject *args, PyObject *kwargs) {
f6bcfd97 790 PyObject * _resultobj;
fe47ec10 791 int _result;
f6bcfd97
BP
792 wxStyledTextCtrl * _arg0;
793 PyObject * _argo0 = 0;
794 char *_kwnames[] = { "self", NULL };
795
796 self = self;
fe47ec10 797 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetViewWhiteSpace",_kwnames,&_argo0))
f6bcfd97
BP
798 return NULL;
799 if (_argo0) {
800 if (_argo0 == Py_None) { _arg0 = NULL; }
801 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
fe47ec10 802 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetViewWhiteSpace. Expected _wxStyledTextCtrl_p.");
f6bcfd97
BP
803 return NULL;
804 }
805 }
806{
807 wxPy_BEGIN_ALLOW_THREADS;
fe47ec10 808 _result = (int )wxStyledTextCtrl_GetViewWhiteSpace(_arg0);
f6bcfd97
BP
809
810 wxPy_END_ALLOW_THREADS;
811} _resultobj = Py_BuildValue("i",_result);
812 return _resultobj;
813}
814
fe47ec10
RD
815#define wxStyledTextCtrl_SetViewWhiteSpace(_swigobj,_swigarg0) (_swigobj->SetViewWhiteSpace(_swigarg0))
816static PyObject *_wrap_wxStyledTextCtrl_SetViewWhiteSpace(PyObject *self, PyObject *args, PyObject *kwargs) {
f6bcfd97
BP
817 PyObject * _resultobj;
818 wxStyledTextCtrl * _arg0;
fe47ec10 819 int _arg1;
f6bcfd97 820 PyObject * _argo0 = 0;
fe47ec10 821 char *_kwnames[] = { "self","viewWS", NULL };
f6bcfd97
BP
822
823 self = self;
fe47ec10 824 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_SetViewWhiteSpace",_kwnames,&_argo0,&_arg1))
f6bcfd97
BP
825 return NULL;
826 if (_argo0) {
827 if (_argo0 == Py_None) { _arg0 = NULL; }
828 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
fe47ec10 829 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetViewWhiteSpace. Expected _wxStyledTextCtrl_p.");
f6bcfd97
BP
830 return NULL;
831 }
832 }
833{
834 wxPy_BEGIN_ALLOW_THREADS;
fe47ec10 835 wxStyledTextCtrl_SetViewWhiteSpace(_arg0,_arg1);
f6bcfd97
BP
836
837 wxPy_END_ALLOW_THREADS;
838} Py_INCREF(Py_None);
839 _resultobj = Py_None;
840 return _resultobj;
841}
842
fe47ec10
RD
843#define wxStyledTextCtrl_PositionFromPoint(_swigobj,_swigarg0) (_swigobj->PositionFromPoint(_swigarg0))
844static PyObject *_wrap_wxStyledTextCtrl_PositionFromPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
f6bcfd97 845 PyObject * _resultobj;
fe47ec10 846 int _result;
f6bcfd97 847 wxStyledTextCtrl * _arg0;
fe47ec10 848 wxPoint * _arg1;
f6bcfd97 849 PyObject * _argo0 = 0;
fe47ec10
RD
850 wxPoint temp;
851 PyObject * _obj1 = 0;
852 char *_kwnames[] = { "self","pt", NULL };
f6bcfd97
BP
853
854 self = self;
fe47ec10 855 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxStyledTextCtrl_PositionFromPoint",_kwnames,&_argo0,&_obj1))
f6bcfd97
BP
856 return NULL;
857 if (_argo0) {
858 if (_argo0 == Py_None) { _arg0 = NULL; }
859 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
fe47ec10 860 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_PositionFromPoint. Expected _wxStyledTextCtrl_p.");
f6bcfd97
BP
861 return NULL;
862 }
863 }
fe47ec10
RD
864{
865 _arg1 = &temp;
866 if (! wxPoint_helper(_obj1, &_arg1))
867 return NULL;
868}
f6bcfd97
BP
869{
870 wxPy_BEGIN_ALLOW_THREADS;
fe47ec10 871 _result = (int )wxStyledTextCtrl_PositionFromPoint(_arg0,*_arg1);
f6bcfd97
BP
872
873 wxPy_END_ALLOW_THREADS;
fe47ec10 874} _resultobj = Py_BuildValue("i",_result);
f6bcfd97
BP
875 return _resultobj;
876}
877
fe47ec10
RD
878#define wxStyledTextCtrl_GotoLine(_swigobj,_swigarg0) (_swigobj->GotoLine(_swigarg0))
879static PyObject *_wrap_wxStyledTextCtrl_GotoLine(PyObject *self, PyObject *args, PyObject *kwargs) {
f6bcfd97 880 PyObject * _resultobj;
f6bcfd97 881 wxStyledTextCtrl * _arg0;
fe47ec10 882 int _arg1;
f6bcfd97 883 PyObject * _argo0 = 0;
fe47ec10 884 char *_kwnames[] = { "self","line", NULL };
f6bcfd97
BP
885
886 self = self;
fe47ec10 887 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_GotoLine",_kwnames,&_argo0,&_arg1))
f6bcfd97
BP
888 return NULL;
889 if (_argo0) {
890 if (_argo0 == Py_None) { _arg0 = NULL; }
891 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
fe47ec10 892 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GotoLine. Expected _wxStyledTextCtrl_p.");
f6bcfd97
BP
893 return NULL;
894 }
895 }
896{
897 wxPy_BEGIN_ALLOW_THREADS;
fe47ec10 898 wxStyledTextCtrl_GotoLine(_arg0,_arg1);
f6bcfd97
BP
899
900 wxPy_END_ALLOW_THREADS;
fe47ec10
RD
901} Py_INCREF(Py_None);
902 _resultobj = Py_None;
f6bcfd97
BP
903 return _resultobj;
904}
905
fe47ec10
RD
906#define wxStyledTextCtrl_GotoPos(_swigobj,_swigarg0) (_swigobj->GotoPos(_swigarg0))
907static PyObject *_wrap_wxStyledTextCtrl_GotoPos(PyObject *self, PyObject *args, PyObject *kwargs) {
f6bcfd97
BP
908 PyObject * _resultobj;
909 wxStyledTextCtrl * _arg0;
fe47ec10 910 int _arg1;
f6bcfd97 911 PyObject * _argo0 = 0;
fe47ec10 912 char *_kwnames[] = { "self","pos", NULL };
f6bcfd97
BP
913
914 self = self;
fe47ec10 915 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_GotoPos",_kwnames,&_argo0,&_arg1))
f6bcfd97
BP
916 return NULL;
917 if (_argo0) {
918 if (_argo0 == Py_None) { _arg0 = NULL; }
919 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
fe47ec10 920 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GotoPos. Expected _wxStyledTextCtrl_p.");
f6bcfd97
BP
921 return NULL;
922 }
923 }
924{
925 wxPy_BEGIN_ALLOW_THREADS;
fe47ec10 926 wxStyledTextCtrl_GotoPos(_arg0,_arg1);
f6bcfd97
BP
927
928 wxPy_END_ALLOW_THREADS;
929} Py_INCREF(Py_None);
930 _resultobj = Py_None;
931 return _resultobj;
932}
933
fe47ec10
RD
934#define wxStyledTextCtrl_SetAnchor(_swigobj,_swigarg0) (_swigobj->SetAnchor(_swigarg0))
935static PyObject *_wrap_wxStyledTextCtrl_SetAnchor(PyObject *self, PyObject *args, PyObject *kwargs) {
f6bcfd97
BP
936 PyObject * _resultobj;
937 wxStyledTextCtrl * _arg0;
fe47ec10 938 int _arg1;
f6bcfd97 939 PyObject * _argo0 = 0;
fe47ec10 940 char *_kwnames[] = { "self","posAnchor", NULL };
f6bcfd97
BP
941
942 self = self;
fe47ec10 943 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_SetAnchor",_kwnames,&_argo0,&_arg1))
f6bcfd97
BP
944 return NULL;
945 if (_argo0) {
946 if (_argo0 == Py_None) { _arg0 = NULL; }
947 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
fe47ec10 948 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetAnchor. Expected _wxStyledTextCtrl_p.");
f6bcfd97
BP
949 return NULL;
950 }
951 }
952{
953 wxPy_BEGIN_ALLOW_THREADS;
fe47ec10 954 wxStyledTextCtrl_SetAnchor(_arg0,_arg1);
f6bcfd97
BP
955
956 wxPy_END_ALLOW_THREADS;
957} Py_INCREF(Py_None);
958 _resultobj = Py_None;
959 return _resultobj;
960}
961
fe47ec10
RD
962#define wxStyledTextCtrl_GetCurLine(_swigobj,_swigarg0) (_swigobj->GetCurLine(_swigarg0))
963static PyObject *_wrap_wxStyledTextCtrl_GetCurLine(PyObject *self, PyObject *args, PyObject *kwargs) {
f6bcfd97 964 PyObject * _resultobj;
fe47ec10 965 wxString * _result;
f6bcfd97 966 wxStyledTextCtrl * _arg0;
fe47ec10
RD
967 int * _arg1 = (int *) NULL;
968 int temp;
f6bcfd97
BP
969 PyObject * _argo0 = 0;
970 char *_kwnames[] = { "self", NULL };
971
972 self = self;
fe47ec10
RD
973{
974 _arg1 = &temp;
975}
976 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetCurLine",_kwnames,&_argo0))
f6bcfd97
BP
977 return NULL;
978 if (_argo0) {
979 if (_argo0 == Py_None) { _arg0 = NULL; }
980 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
fe47ec10 981 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetCurLine. Expected _wxStyledTextCtrl_p.");
f6bcfd97
BP
982 return NULL;
983 }
984 }
985{
986 wxPy_BEGIN_ALLOW_THREADS;
fe47ec10 987 _result = new wxString (wxStyledTextCtrl_GetCurLine(_arg0,_arg1));
f6bcfd97
BP
988
989 wxPy_END_ALLOW_THREADS;
fe47ec10
RD
990}{
991 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
992}
993{
994 PyObject *o;
995 o = PyInt_FromLong((long) (*_arg1));
996 _resultobj = t_output_helper(_resultobj, o);
997}
998{
999 delete _result;
1000}
f6bcfd97
BP
1001 return _resultobj;
1002}
1003
fe47ec10
RD
1004#define wxStyledTextCtrl_GetEndStyled(_swigobj) (_swigobj->GetEndStyled())
1005static PyObject *_wrap_wxStyledTextCtrl_GetEndStyled(PyObject *self, PyObject *args, PyObject *kwargs) {
f6bcfd97 1006 PyObject * _resultobj;
fe47ec10 1007 int _result;
f6bcfd97 1008 wxStyledTextCtrl * _arg0;
f6bcfd97 1009 PyObject * _argo0 = 0;
fe47ec10 1010 char *_kwnames[] = { "self", NULL };
f6bcfd97
BP
1011
1012 self = self;
fe47ec10 1013 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetEndStyled",_kwnames,&_argo0))
f6bcfd97
BP
1014 return NULL;
1015 if (_argo0) {
1016 if (_argo0 == Py_None) { _arg0 = NULL; }
1017 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
fe47ec10 1018 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetEndStyled. Expected _wxStyledTextCtrl_p.");
f6bcfd97
BP
1019 return NULL;
1020 }
1021 }
1022{
1023 wxPy_BEGIN_ALLOW_THREADS;
fe47ec10 1024 _result = (int )wxStyledTextCtrl_GetEndStyled(_arg0);
f6bcfd97
BP
1025
1026 wxPy_END_ALLOW_THREADS;
fe47ec10 1027} _resultobj = Py_BuildValue("i",_result);
f6bcfd97
BP
1028 return _resultobj;
1029}
1030
fe47ec10
RD
1031#define wxStyledTextCtrl_ConvertEOLs(_swigobj) (_swigobj->ConvertEOLs())
1032static PyObject *_wrap_wxStyledTextCtrl_ConvertEOLs(PyObject *self, PyObject *args, PyObject *kwargs) {
f6bcfd97 1033 PyObject * _resultobj;
f6bcfd97
BP
1034 wxStyledTextCtrl * _arg0;
1035 PyObject * _argo0 = 0;
1036 char *_kwnames[] = { "self", NULL };
1037
1038 self = self;
fe47ec10 1039 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_ConvertEOLs",_kwnames,&_argo0))
f6bcfd97
BP
1040 return NULL;
1041 if (_argo0) {
1042 if (_argo0 == Py_None) { _arg0 = NULL; }
1043 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
fe47ec10 1044 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_ConvertEOLs. Expected _wxStyledTextCtrl_p.");
f6bcfd97
BP
1045 return NULL;
1046 }
1047 }
1048{
1049 wxPy_BEGIN_ALLOW_THREADS;
fe47ec10 1050 wxStyledTextCtrl_ConvertEOLs(_arg0);
f6bcfd97
BP
1051
1052 wxPy_END_ALLOW_THREADS;
fe47ec10
RD
1053} Py_INCREF(Py_None);
1054 _resultobj = Py_None;
f6bcfd97
BP
1055 return _resultobj;
1056}
1057
fe47ec10
RD
1058#define wxStyledTextCtrl_GetEOLMode(_swigobj) (_swigobj->GetEOLMode())
1059static PyObject *_wrap_wxStyledTextCtrl_GetEOLMode(PyObject *self, PyObject *args, PyObject *kwargs) {
f6bcfd97 1060 PyObject * _resultobj;
fe47ec10 1061 int _result;
f6bcfd97
BP
1062 wxStyledTextCtrl * _arg0;
1063 PyObject * _argo0 = 0;
1064 char *_kwnames[] = { "self", NULL };
1065
1066 self = self;
fe47ec10 1067 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetEOLMode",_kwnames,&_argo0))
f6bcfd97
BP
1068 return NULL;
1069 if (_argo0) {
1070 if (_argo0 == Py_None) { _arg0 = NULL; }
1071 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
fe47ec10 1072 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetEOLMode. Expected _wxStyledTextCtrl_p.");
f6bcfd97
BP
1073 return NULL;
1074 }
1075 }
1076{
1077 wxPy_BEGIN_ALLOW_THREADS;
fe47ec10 1078 _result = (int )wxStyledTextCtrl_GetEOLMode(_arg0);
f6bcfd97
BP
1079
1080 wxPy_END_ALLOW_THREADS;
fe47ec10 1081} _resultobj = Py_BuildValue("i",_result);
f6bcfd97
BP
1082 return _resultobj;
1083}
1084
fe47ec10
RD
1085#define wxStyledTextCtrl_SetEOLMode(_swigobj,_swigarg0) (_swigobj->SetEOLMode(_swigarg0))
1086static PyObject *_wrap_wxStyledTextCtrl_SetEOLMode(PyObject *self, PyObject *args, PyObject *kwargs) {
f6bcfd97
BP
1087 PyObject * _resultobj;
1088 wxStyledTextCtrl * _arg0;
fe47ec10 1089 int _arg1;
f6bcfd97 1090 PyObject * _argo0 = 0;
fe47ec10 1091 char *_kwnames[] = { "self","eolMode", NULL };
f6bcfd97
BP
1092
1093 self = self;
fe47ec10 1094 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_SetEOLMode",_kwnames,&_argo0,&_arg1))
f6bcfd97
BP
1095 return NULL;
1096 if (_argo0) {
1097 if (_argo0 == Py_None) { _arg0 = NULL; }
1098 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
fe47ec10 1099 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetEOLMode. Expected _wxStyledTextCtrl_p.");
f6bcfd97
BP
1100 return NULL;
1101 }
1102 }
1103{
1104 wxPy_BEGIN_ALLOW_THREADS;
fe47ec10 1105 wxStyledTextCtrl_SetEOLMode(_arg0,_arg1);
f6bcfd97
BP
1106
1107 wxPy_END_ALLOW_THREADS;
1108} Py_INCREF(Py_None);
1109 _resultobj = Py_None;
1110 return _resultobj;
1111}
1112
fe47ec10
RD
1113#define wxStyledTextCtrl_StartStyling(_swigobj,_swigarg0,_swigarg1) (_swigobj->StartStyling(_swigarg0,_swigarg1))
1114static PyObject *_wrap_wxStyledTextCtrl_StartStyling(PyObject *self, PyObject *args, PyObject *kwargs) {
f6bcfd97
BP
1115 PyObject * _resultobj;
1116 wxStyledTextCtrl * _arg0;
fe47ec10
RD
1117 int _arg1;
1118 int _arg2;
f6bcfd97 1119 PyObject * _argo0 = 0;
fe47ec10 1120 char *_kwnames[] = { "self","pos","mask", NULL };
f6bcfd97
BP
1121
1122 self = self;
fe47ec10 1123 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxStyledTextCtrl_StartStyling",_kwnames,&_argo0,&_arg1,&_arg2))
f6bcfd97
BP
1124 return NULL;
1125 if (_argo0) {
1126 if (_argo0 == Py_None) { _arg0 = NULL; }
1127 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
fe47ec10 1128 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_StartStyling. Expected _wxStyledTextCtrl_p.");
f6bcfd97
BP
1129 return NULL;
1130 }
1131 }
1132{
1133 wxPy_BEGIN_ALLOW_THREADS;
fe47ec10 1134 wxStyledTextCtrl_StartStyling(_arg0,_arg1,_arg2);
f6bcfd97
BP
1135
1136 wxPy_END_ALLOW_THREADS;
1137} Py_INCREF(Py_None);
1138 _resultobj = Py_None;
f6bcfd97
BP
1139 return _resultobj;
1140}
1141
fe47ec10
RD
1142#define wxStyledTextCtrl_SetStyling(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetStyling(_swigarg0,_swigarg1))
1143static PyObject *_wrap_wxStyledTextCtrl_SetStyling(PyObject *self, PyObject *args, PyObject *kwargs) {
f6bcfd97
BP
1144 PyObject * _resultobj;
1145 wxStyledTextCtrl * _arg0;
1146 int _arg1;
1147 int _arg2;
1148 PyObject * _argo0 = 0;
fe47ec10 1149 char *_kwnames[] = { "self","length","style", NULL };
f6bcfd97
BP
1150
1151 self = self;
fe47ec10 1152 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxStyledTextCtrl_SetStyling",_kwnames,&_argo0,&_arg1,&_arg2))
f6bcfd97
BP
1153 return NULL;
1154 if (_argo0) {
1155 if (_argo0 == Py_None) { _arg0 = NULL; }
1156 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
fe47ec10 1157 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetStyling. Expected _wxStyledTextCtrl_p.");
f6bcfd97
BP
1158 return NULL;
1159 }
1160 }
1161{
1162 wxPy_BEGIN_ALLOW_THREADS;
fe47ec10 1163 wxStyledTextCtrl_SetStyling(_arg0,_arg1,_arg2);
f6bcfd97
BP
1164
1165 wxPy_END_ALLOW_THREADS;
1166} Py_INCREF(Py_None);
1167 _resultobj = Py_None;
1168 return _resultobj;
1169}
1170
fe47ec10
RD
1171#define wxStyledTextCtrl_GetBufferedDraw(_swigobj) (_swigobj->GetBufferedDraw())
1172static PyObject *_wrap_wxStyledTextCtrl_GetBufferedDraw(PyObject *self, PyObject *args, PyObject *kwargs) {
f6bcfd97 1173 PyObject * _resultobj;
fe47ec10 1174 bool _result;
f6bcfd97
BP
1175 wxStyledTextCtrl * _arg0;
1176 PyObject * _argo0 = 0;
1177 char *_kwnames[] = { "self", NULL };
1178
1179 self = self;
fe47ec10 1180 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetBufferedDraw",_kwnames,&_argo0))
f6bcfd97
BP
1181 return NULL;
1182 if (_argo0) {
1183 if (_argo0 == Py_None) { _arg0 = NULL; }
1184 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
fe47ec10 1185 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetBufferedDraw. Expected _wxStyledTextCtrl_p.");
f6bcfd97
BP
1186 return NULL;
1187 }
1188 }
1189{
1190 wxPy_BEGIN_ALLOW_THREADS;
fe47ec10 1191 _result = (bool )wxStyledTextCtrl_GetBufferedDraw(_arg0);
f6bcfd97
BP
1192
1193 wxPy_END_ALLOW_THREADS;
fe47ec10 1194} _resultobj = Py_BuildValue("i",_result);
f6bcfd97
BP
1195 return _resultobj;
1196}
1197
fe47ec10
RD
1198#define wxStyledTextCtrl_SetBufferedDraw(_swigobj,_swigarg0) (_swigobj->SetBufferedDraw(_swigarg0))
1199static PyObject *_wrap_wxStyledTextCtrl_SetBufferedDraw(PyObject *self, PyObject *args, PyObject *kwargs) {
f6bcfd97
BP
1200 PyObject * _resultobj;
1201 wxStyledTextCtrl * _arg0;
1202 bool _arg1;
1203 PyObject * _argo0 = 0;
1204 int tempbool1;
fe47ec10 1205 char *_kwnames[] = { "self","buffered", NULL };
f6bcfd97
BP
1206
1207 self = self;
fe47ec10 1208 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_SetBufferedDraw",_kwnames,&_argo0,&tempbool1))
f6bcfd97
BP
1209 return NULL;
1210 if (_argo0) {
1211 if (_argo0 == Py_None) { _arg0 = NULL; }
1212 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
fe47ec10 1213 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetBufferedDraw. Expected _wxStyledTextCtrl_p.");
f6bcfd97
BP
1214 return NULL;
1215 }
1216 }
1217 _arg1 = (bool ) tempbool1;
1218{
1219 wxPy_BEGIN_ALLOW_THREADS;
fe47ec10 1220 wxStyledTextCtrl_SetBufferedDraw(_arg0,_arg1);
f6bcfd97
BP
1221
1222 wxPy_END_ALLOW_THREADS;
1223} Py_INCREF(Py_None);
1224 _resultobj = Py_None;
1225 return _resultobj;
1226}
1227
fe47ec10
RD
1228#define wxStyledTextCtrl_SetTabWidth(_swigobj,_swigarg0) (_swigobj->SetTabWidth(_swigarg0))
1229static PyObject *_wrap_wxStyledTextCtrl_SetTabWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
f6bcfd97 1230 PyObject * _resultobj;
f6bcfd97 1231 wxStyledTextCtrl * _arg0;
fe47ec10 1232 int _arg1;
f6bcfd97 1233 PyObject * _argo0 = 0;
fe47ec10 1234 char *_kwnames[] = { "self","tabWidth", NULL };
f6bcfd97
BP
1235
1236 self = self;
fe47ec10 1237 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_SetTabWidth",_kwnames,&_argo0,&_arg1))
f6bcfd97
BP
1238 return NULL;
1239 if (_argo0) {
1240 if (_argo0 == Py_None) { _arg0 = NULL; }
1241 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
fe47ec10 1242 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetTabWidth. Expected _wxStyledTextCtrl_p.");
f6bcfd97
BP
1243 return NULL;
1244 }
1245 }
1246{
1247 wxPy_BEGIN_ALLOW_THREADS;
fe47ec10 1248 wxStyledTextCtrl_SetTabWidth(_arg0,_arg1);
f6bcfd97
BP
1249
1250 wxPy_END_ALLOW_THREADS;
fe47ec10
RD
1251} Py_INCREF(Py_None);
1252 _resultobj = Py_None;
f6bcfd97
BP
1253 return _resultobj;
1254}
1255
fe47ec10
RD
1256#define wxStyledTextCtrl_GetTabWidth(_swigobj) (_swigobj->GetTabWidth())
1257static PyObject *_wrap_wxStyledTextCtrl_GetTabWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
f6bcfd97
BP
1258 PyObject * _resultobj;
1259 int _result;
1260 wxStyledTextCtrl * _arg0;
1261 PyObject * _argo0 = 0;
1262 char *_kwnames[] = { "self", NULL };
1263
1264 self = self;
fe47ec10 1265 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetTabWidth",_kwnames,&_argo0))
f6bcfd97
BP
1266 return NULL;
1267 if (_argo0) {
1268 if (_argo0 == Py_None) { _arg0 = NULL; }
1269 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
fe47ec10 1270 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetTabWidth. Expected _wxStyledTextCtrl_p.");
f6bcfd97
BP
1271 return NULL;
1272 }
1273 }
1274{
1275 wxPy_BEGIN_ALLOW_THREADS;
fe47ec10 1276 _result = (int )wxStyledTextCtrl_GetTabWidth(_arg0);
f6bcfd97
BP
1277
1278 wxPy_END_ALLOW_THREADS;
1279} _resultobj = Py_BuildValue("i",_result);
1280 return _resultobj;
1281}
1282
fe47ec10
RD
1283#define wxStyledTextCtrl_SetCodePage(_swigobj,_swigarg0) (_swigobj->SetCodePage(_swigarg0))
1284static PyObject *_wrap_wxStyledTextCtrl_SetCodePage(PyObject *self, PyObject *args, PyObject *kwargs) {
f6bcfd97 1285 PyObject * _resultobj;
f6bcfd97 1286 wxStyledTextCtrl * _arg0;
fe47ec10 1287 int _arg1;
f6bcfd97 1288 PyObject * _argo0 = 0;
fe47ec10 1289 char *_kwnames[] = { "self","codePage", NULL };
f6bcfd97
BP
1290
1291 self = self;
fe47ec10 1292 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_SetCodePage",_kwnames,&_argo0,&_arg1))
f6bcfd97
BP
1293 return NULL;
1294 if (_argo0) {
1295 if (_argo0 == Py_None) { _arg0 = NULL; }
1296 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
fe47ec10 1297 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetCodePage. Expected _wxStyledTextCtrl_p.");
f6bcfd97
BP
1298 return NULL;
1299 }
1300 }
1301{
1302 wxPy_BEGIN_ALLOW_THREADS;
fe47ec10 1303 wxStyledTextCtrl_SetCodePage(_arg0,_arg1);
f6bcfd97
BP
1304
1305 wxPy_END_ALLOW_THREADS;
fe47ec10
RD
1306} Py_INCREF(Py_None);
1307 _resultobj = Py_None;
f6bcfd97
BP
1308 return _resultobj;
1309}
1310
fe47ec10
RD
1311#define wxStyledTextCtrl_MarkerDefine(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->MarkerDefine(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
1312static PyObject *_wrap_wxStyledTextCtrl_MarkerDefine(PyObject *self, PyObject *args, PyObject *kwargs) {
f6bcfd97 1313 PyObject * _resultobj;
f6bcfd97 1314 wxStyledTextCtrl * _arg0;
fe47ec10
RD
1315 int _arg1;
1316 int _arg2;
1317 wxColour * _arg3 = (wxColour *) &wxNullColour;
1318 wxColour * _arg4 = (wxColour *) &wxNullColour;
f6bcfd97 1319 PyObject * _argo0 = 0;
fe47ec10
RD
1320 wxColour temp;
1321 PyObject * _obj3 = 0;
1322 wxColour temp0;
1323 PyObject * _obj4 = 0;
1324 char *_kwnames[] = { "self","markerNumber","markerSymbol","foreground","background", NULL };
f6bcfd97
BP
1325
1326 self = self;
fe47ec10 1327 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii|OO:wxStyledTextCtrl_MarkerDefine",_kwnames,&_argo0,&_arg1,&_arg2,&_obj3,&_obj4))
f6bcfd97
BP
1328 return NULL;
1329 if (_argo0) {
1330 if (_argo0 == Py_None) { _arg0 = NULL; }
1331 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
fe47ec10 1332 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_MarkerDefine. Expected _wxStyledTextCtrl_p.");
f6bcfd97
BP
1333 return NULL;
1334 }
1335 }
fe47ec10
RD
1336 if (_obj3)
1337{
1338 _arg3 = &temp;
1339 if (! wxColour_helper(_obj3, &_arg3))
1340 return NULL;
1341}
1342 if (_obj4)
1343{
1344 _arg4 = &temp0;
1345 if (! wxColour_helper(_obj4, &_arg4))
1346 return NULL;
1347}
f6bcfd97
BP
1348{
1349 wxPy_BEGIN_ALLOW_THREADS;
fe47ec10 1350 wxStyledTextCtrl_MarkerDefine(_arg0,_arg1,_arg2,*_arg3,*_arg4);
f6bcfd97
BP
1351
1352 wxPy_END_ALLOW_THREADS;
fe47ec10
RD
1353} Py_INCREF(Py_None);
1354 _resultobj = Py_None;
f6bcfd97
BP
1355 return _resultobj;
1356}
1357
fe47ec10
RD
1358#define wxStyledTextCtrl_MarkerSetForeground(_swigobj,_swigarg0,_swigarg1) (_swigobj->MarkerSetForeground(_swigarg0,_swigarg1))
1359static PyObject *_wrap_wxStyledTextCtrl_MarkerSetForeground(PyObject *self, PyObject *args, PyObject *kwargs) {
f6bcfd97 1360 PyObject * _resultobj;
f6bcfd97 1361 wxStyledTextCtrl * _arg0;
fe47ec10
RD
1362 int _arg1;
1363 wxColour * _arg2;
f6bcfd97 1364 PyObject * _argo0 = 0;
fe47ec10
RD
1365 wxColour temp;
1366 PyObject * _obj2 = 0;
1367 char *_kwnames[] = { "self","markerNumber","fore", NULL };
f6bcfd97
BP
1368
1369 self = self;
fe47ec10 1370 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxStyledTextCtrl_MarkerSetForeground",_kwnames,&_argo0,&_arg1,&_obj2))
f6bcfd97
BP
1371 return NULL;
1372 if (_argo0) {
1373 if (_argo0 == Py_None) { _arg0 = NULL; }
1374 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
fe47ec10 1375 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_MarkerSetForeground. Expected _wxStyledTextCtrl_p.");
f6bcfd97
BP
1376 return NULL;
1377 }
1378 }
fe47ec10
RD
1379{
1380 _arg2 = &temp;
1381 if (! wxColour_helper(_obj2, &_arg2))
1382 return NULL;
1383}
f6bcfd97
BP
1384{
1385 wxPy_BEGIN_ALLOW_THREADS;
fe47ec10 1386 wxStyledTextCtrl_MarkerSetForeground(_arg0,_arg1,*_arg2);
f6bcfd97
BP
1387
1388 wxPy_END_ALLOW_THREADS;
fe47ec10
RD
1389} Py_INCREF(Py_None);
1390 _resultobj = Py_None;
f6bcfd97
BP
1391 return _resultobj;
1392}
1393
fe47ec10
RD
1394#define wxStyledTextCtrl_MarkerSetBackground(_swigobj,_swigarg0,_swigarg1) (_swigobj->MarkerSetBackground(_swigarg0,_swigarg1))
1395static PyObject *_wrap_wxStyledTextCtrl_MarkerSetBackground(PyObject *self, PyObject *args, PyObject *kwargs) {
f6bcfd97 1396 PyObject * _resultobj;
f6bcfd97 1397 wxStyledTextCtrl * _arg0;
fe47ec10
RD
1398 int _arg1;
1399 wxColour * _arg2;
f6bcfd97 1400 PyObject * _argo0 = 0;
fe47ec10
RD
1401 wxColour temp;
1402 PyObject * _obj2 = 0;
1403 char *_kwnames[] = { "self","markerNumber","back", NULL };
f6bcfd97
BP
1404
1405 self = self;
fe47ec10 1406 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxStyledTextCtrl_MarkerSetBackground",_kwnames,&_argo0,&_arg1,&_obj2))
f6bcfd97
BP
1407 return NULL;
1408 if (_argo0) {
1409 if (_argo0 == Py_None) { _arg0 = NULL; }
1410 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
fe47ec10 1411 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_MarkerSetBackground. Expected _wxStyledTextCtrl_p.");
f6bcfd97
BP
1412 return NULL;
1413 }
1414 }
fe47ec10
RD
1415{
1416 _arg2 = &temp;
1417 if (! wxColour_helper(_obj2, &_arg2))
1418 return NULL;
1419}
f6bcfd97
BP
1420{
1421 wxPy_BEGIN_ALLOW_THREADS;
fe47ec10 1422 wxStyledTextCtrl_MarkerSetBackground(_arg0,_arg1,*_arg2);
f6bcfd97
BP
1423
1424 wxPy_END_ALLOW_THREADS;
fe47ec10
RD
1425} Py_INCREF(Py_None);
1426 _resultobj = Py_None;
f6bcfd97
BP
1427 return _resultobj;
1428}
1429
fe47ec10
RD
1430#define wxStyledTextCtrl_MarkerAdd(_swigobj,_swigarg0,_swigarg1) (_swigobj->MarkerAdd(_swigarg0,_swigarg1))
1431static PyObject *_wrap_wxStyledTextCtrl_MarkerAdd(PyObject *self, PyObject *args, PyObject *kwargs) {
f6bcfd97 1432 PyObject * _resultobj;
f6bcfd97
BP
1433 wxStyledTextCtrl * _arg0;
1434 int _arg1;
fe47ec10 1435 int _arg2;
f6bcfd97 1436 PyObject * _argo0 = 0;
fe47ec10 1437 char *_kwnames[] = { "self","line","markerNumber", NULL };
f6bcfd97
BP
1438
1439 self = self;
fe47ec10 1440 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxStyledTextCtrl_MarkerAdd",_kwnames,&_argo0,&_arg1,&_arg2))
f6bcfd97
BP
1441 return NULL;
1442 if (_argo0) {
1443 if (_argo0 == Py_None) { _arg0 = NULL; }
1444 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
fe47ec10 1445 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_MarkerAdd. Expected _wxStyledTextCtrl_p.");
f6bcfd97
BP
1446 return NULL;
1447 }
1448 }
1449{
1450 wxPy_BEGIN_ALLOW_THREADS;
fe47ec10 1451 wxStyledTextCtrl_MarkerAdd(_arg0,_arg1,_arg2);
f6bcfd97
BP
1452
1453 wxPy_END_ALLOW_THREADS;
fe47ec10
RD
1454} Py_INCREF(Py_None);
1455 _resultobj = Py_None;
f6bcfd97
BP
1456 return _resultobj;
1457}
1458
fe47ec10
RD
1459#define wxStyledTextCtrl_MarkerDelete(_swigobj,_swigarg0,_swigarg1) (_swigobj->MarkerDelete(_swigarg0,_swigarg1))
1460static PyObject *_wrap_wxStyledTextCtrl_MarkerDelete(PyObject *self, PyObject *args, PyObject *kwargs) {
f6bcfd97 1461 PyObject * _resultobj;
f6bcfd97
BP
1462 wxStyledTextCtrl * _arg0;
1463 int _arg1;
fe47ec10 1464 int _arg2;
f6bcfd97 1465 PyObject * _argo0 = 0;
fe47ec10 1466 char *_kwnames[] = { "self","line","markerNumber", NULL };
f6bcfd97
BP
1467
1468 self = self;
fe47ec10 1469 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxStyledTextCtrl_MarkerDelete",_kwnames,&_argo0,&_arg1,&_arg2))
f6bcfd97
BP
1470 return NULL;
1471 if (_argo0) {
1472 if (_argo0 == Py_None) { _arg0 = NULL; }
1473 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
fe47ec10 1474 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_MarkerDelete. Expected _wxStyledTextCtrl_p.");
f6bcfd97
BP
1475 return NULL;
1476 }
1477 }
1478{
1479 wxPy_BEGIN_ALLOW_THREADS;
fe47ec10 1480 wxStyledTextCtrl_MarkerDelete(_arg0,_arg1,_arg2);
f6bcfd97
BP
1481
1482 wxPy_END_ALLOW_THREADS;
fe47ec10
RD
1483} Py_INCREF(Py_None);
1484 _resultobj = Py_None;
f6bcfd97
BP
1485 return _resultobj;
1486}
1487
fe47ec10
RD
1488#define wxStyledTextCtrl_MarkerDeleteAll(_swigobj,_swigarg0) (_swigobj->MarkerDeleteAll(_swigarg0))
1489static PyObject *_wrap_wxStyledTextCtrl_MarkerDeleteAll(PyObject *self, PyObject *args, PyObject *kwargs) {
f6bcfd97 1490 PyObject * _resultobj;
f6bcfd97
BP
1491 wxStyledTextCtrl * _arg0;
1492 int _arg1;
1493 PyObject * _argo0 = 0;
fe47ec10 1494 char *_kwnames[] = { "self","markerNumber", NULL };
f6bcfd97
BP
1495
1496 self = self;
fe47ec10 1497 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_MarkerDeleteAll",_kwnames,&_argo0,&_arg1))
f6bcfd97
BP
1498 return NULL;
1499 if (_argo0) {
1500 if (_argo0 == Py_None) { _arg0 = NULL; }
1501 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
fe47ec10 1502 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_MarkerDeleteAll. Expected _wxStyledTextCtrl_p.");
f6bcfd97
BP
1503 return NULL;
1504 }
1505 }
1506{
1507 wxPy_BEGIN_ALLOW_THREADS;
fe47ec10 1508 wxStyledTextCtrl_MarkerDeleteAll(_arg0,_arg1);
f6bcfd97
BP
1509
1510 wxPy_END_ALLOW_THREADS;
fe47ec10
RD
1511} Py_INCREF(Py_None);
1512 _resultobj = Py_None;
f6bcfd97
BP
1513 return _resultobj;
1514}
1515
fe47ec10
RD
1516#define wxStyledTextCtrl_MarkerGet(_swigobj,_swigarg0) (_swigobj->MarkerGet(_swigarg0))
1517static PyObject *_wrap_wxStyledTextCtrl_MarkerGet(PyObject *self, PyObject *args, PyObject *kwargs) {
f6bcfd97
BP
1518 PyObject * _resultobj;
1519 int _result;
1520 wxStyledTextCtrl * _arg0;
1521 int _arg1;
1522 PyObject * _argo0 = 0;
1523 char *_kwnames[] = { "self","line", NULL };
1524
1525 self = self;
fe47ec10 1526 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_MarkerGet",_kwnames,&_argo0,&_arg1))
f6bcfd97
BP
1527 return NULL;
1528 if (_argo0) {
1529 if (_argo0 == Py_None) { _arg0 = NULL; }
1530 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
fe47ec10 1531 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_MarkerGet. Expected _wxStyledTextCtrl_p.");
f6bcfd97
BP
1532 return NULL;
1533 }
1534 }
1535{
1536 wxPy_BEGIN_ALLOW_THREADS;
fe47ec10 1537 _result = (int )wxStyledTextCtrl_MarkerGet(_arg0,_arg1);
f6bcfd97
BP
1538
1539 wxPy_END_ALLOW_THREADS;
1540} _resultobj = Py_BuildValue("i",_result);
1541 return _resultobj;
1542}
1543
fe47ec10
RD
1544#define wxStyledTextCtrl_MarkerNext(_swigobj,_swigarg0,_swigarg1) (_swigobj->MarkerNext(_swigarg0,_swigarg1))
1545static PyObject *_wrap_wxStyledTextCtrl_MarkerNext(PyObject *self, PyObject *args, PyObject *kwargs) {
f6bcfd97 1546 PyObject * _resultobj;
fe47ec10 1547 int _result;
f6bcfd97 1548 wxStyledTextCtrl * _arg0;
fe47ec10
RD
1549 int _arg1;
1550 int _arg2;
f6bcfd97 1551 PyObject * _argo0 = 0;
fe47ec10 1552 char *_kwnames[] = { "self","lineStart","markerMask", NULL };
f6bcfd97
BP
1553
1554 self = self;
fe47ec10 1555 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxStyledTextCtrl_MarkerNext",_kwnames,&_argo0,&_arg1,&_arg2))
f6bcfd97
BP
1556 return NULL;
1557 if (_argo0) {
1558 if (_argo0 == Py_None) { _arg0 = NULL; }
1559 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
fe47ec10 1560 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_MarkerNext. Expected _wxStyledTextCtrl_p.");
f6bcfd97
BP
1561 return NULL;
1562 }
1563 }
1564{
1565 wxPy_BEGIN_ALLOW_THREADS;
fe47ec10 1566 _result = (int )wxStyledTextCtrl_MarkerNext(_arg0,_arg1,_arg2);
f6bcfd97
BP
1567
1568 wxPy_END_ALLOW_THREADS;
fe47ec10 1569} _resultobj = Py_BuildValue("i",_result);
f6bcfd97
BP
1570 return _resultobj;
1571}
1572
fe47ec10
RD
1573#define wxStyledTextCtrl_MarkerPrevious(_swigobj,_swigarg0,_swigarg1) (_swigobj->MarkerPrevious(_swigarg0,_swigarg1))
1574static PyObject *_wrap_wxStyledTextCtrl_MarkerPrevious(PyObject *self, PyObject *args, PyObject *kwargs) {
f6bcfd97
BP
1575 PyObject * _resultobj;
1576 int _result;
1577 wxStyledTextCtrl * _arg0;
fe47ec10
RD
1578 int _arg1;
1579 int _arg2;
f6bcfd97 1580 PyObject * _argo0 = 0;
fe47ec10 1581 char *_kwnames[] = { "self","lineStart","markerMask", NULL };
f6bcfd97
BP
1582
1583 self = self;
fe47ec10 1584 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxStyledTextCtrl_MarkerPrevious",_kwnames,&_argo0,&_arg1,&_arg2))
f6bcfd97
BP
1585 return NULL;
1586 if (_argo0) {
1587 if (_argo0 == Py_None) { _arg0 = NULL; }
1588 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
fe47ec10 1589 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_MarkerPrevious. Expected _wxStyledTextCtrl_p.");
f6bcfd97
BP
1590 return NULL;
1591 }
1592 }
1593{
1594 wxPy_BEGIN_ALLOW_THREADS;
fe47ec10 1595 _result = (int )wxStyledTextCtrl_MarkerPrevious(_arg0,_arg1,_arg2);
f6bcfd97
BP
1596
1597 wxPy_END_ALLOW_THREADS;
1598} _resultobj = Py_BuildValue("i",_result);
1599 return _resultobj;
1600}
1601
fe47ec10
RD
1602#define wxStyledTextCtrl_SetMarginType(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetMarginType(_swigarg0,_swigarg1))
1603static PyObject *_wrap_wxStyledTextCtrl_SetMarginType(PyObject *self, PyObject *args, PyObject *kwargs) {
f6bcfd97 1604 PyObject * _resultobj;
f6bcfd97 1605 wxStyledTextCtrl * _arg0;
fe47ec10
RD
1606 int _arg1;
1607 int _arg2;
f6bcfd97 1608 PyObject * _argo0 = 0;
fe47ec10 1609 char *_kwnames[] = { "self","margin","marginType", NULL };
f6bcfd97
BP
1610
1611 self = self;
fe47ec10 1612 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxStyledTextCtrl_SetMarginType",_kwnames,&_argo0,&_arg1,&_arg2))
f6bcfd97
BP
1613 return NULL;
1614 if (_argo0) {
1615 if (_argo0 == Py_None) { _arg0 = NULL; }
1616 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
fe47ec10 1617 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetMarginType. Expected _wxStyledTextCtrl_p.");
f6bcfd97
BP
1618 return NULL;
1619 }
1620 }
f6bcfd97
BP
1621{
1622 wxPy_BEGIN_ALLOW_THREADS;
fe47ec10 1623 wxStyledTextCtrl_SetMarginType(_arg0,_arg1,_arg2);
f6bcfd97
BP
1624
1625 wxPy_END_ALLOW_THREADS;
fe47ec10
RD
1626} Py_INCREF(Py_None);
1627 _resultobj = Py_None;
f6bcfd97
BP
1628 return _resultobj;
1629}
1630
fe47ec10
RD
1631#define wxStyledTextCtrl_GetMarginType(_swigobj,_swigarg0) (_swigobj->GetMarginType(_swigarg0))
1632static PyObject *_wrap_wxStyledTextCtrl_GetMarginType(PyObject *self, PyObject *args, PyObject *kwargs) {
f6bcfd97
BP
1633 PyObject * _resultobj;
1634 int _result;
1635 wxStyledTextCtrl * _arg0;
fe47ec10 1636 int _arg1;
f6bcfd97 1637 PyObject * _argo0 = 0;
fe47ec10 1638 char *_kwnames[] = { "self","margin", NULL };
f6bcfd97
BP
1639
1640 self = self;
fe47ec10 1641 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_GetMarginType",_kwnames,&_argo0,&_arg1))
f6bcfd97
BP
1642 return NULL;
1643 if (_argo0) {
1644 if (_argo0 == Py_None) { _arg0 = NULL; }
1645 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
fe47ec10 1646 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetMarginType. Expected _wxStyledTextCtrl_p.");
f6bcfd97
BP
1647 return NULL;
1648 }
1649 }
f6bcfd97
BP
1650{
1651 wxPy_BEGIN_ALLOW_THREADS;
fe47ec10 1652 _result = (int )wxStyledTextCtrl_GetMarginType(_arg0,_arg1);
f6bcfd97
BP
1653
1654 wxPy_END_ALLOW_THREADS;
1655} _resultobj = Py_BuildValue("i",_result);
1656 return _resultobj;
1657}
1658
fe47ec10
RD
1659#define wxStyledTextCtrl_SetMarginWidth(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetMarginWidth(_swigarg0,_swigarg1))
1660static PyObject *_wrap_wxStyledTextCtrl_SetMarginWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
f6bcfd97 1661 PyObject * _resultobj;
f6bcfd97
BP
1662 wxStyledTextCtrl * _arg0;
1663 int _arg1;
fe47ec10 1664 int _arg2;
f6bcfd97 1665 PyObject * _argo0 = 0;
fe47ec10 1666 char *_kwnames[] = { "self","margin","pixelWidth", NULL };
f6bcfd97
BP
1667
1668 self = self;
fe47ec10 1669 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxStyledTextCtrl_SetMarginWidth",_kwnames,&_argo0,&_arg1,&_arg2))
f6bcfd97
BP
1670 return NULL;
1671 if (_argo0) {
1672 if (_argo0 == Py_None) { _arg0 = NULL; }
1673 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
fe47ec10 1674 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetMarginWidth. Expected _wxStyledTextCtrl_p.");
f6bcfd97
BP
1675 return NULL;
1676 }
1677 }
1678{
1679 wxPy_BEGIN_ALLOW_THREADS;
fe47ec10 1680 wxStyledTextCtrl_SetMarginWidth(_arg0,_arg1,_arg2);
f6bcfd97
BP
1681
1682 wxPy_END_ALLOW_THREADS;
fe47ec10
RD
1683} Py_INCREF(Py_None);
1684 _resultobj = Py_None;
f6bcfd97
BP
1685 return _resultobj;
1686}
1687
fe47ec10
RD
1688#define wxStyledTextCtrl_GetMarginWidth(_swigobj,_swigarg0) (_swigobj->GetMarginWidth(_swigarg0))
1689static PyObject *_wrap_wxStyledTextCtrl_GetMarginWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
f6bcfd97
BP
1690 PyObject * _resultobj;
1691 int _result;
1692 wxStyledTextCtrl * _arg0;
fe47ec10 1693 int _arg1;
f6bcfd97 1694 PyObject * _argo0 = 0;
fe47ec10 1695 char *_kwnames[] = { "self","margin", NULL };
f6bcfd97
BP
1696
1697 self = self;
fe47ec10 1698 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_GetMarginWidth",_kwnames,&_argo0,&_arg1))
f6bcfd97
BP
1699 return NULL;
1700 if (_argo0) {
1701 if (_argo0 == Py_None) { _arg0 = NULL; }
1702 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
fe47ec10 1703 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetMarginWidth. Expected _wxStyledTextCtrl_p.");
f6bcfd97
BP
1704 return NULL;
1705 }
1706 }
1707{
1708 wxPy_BEGIN_ALLOW_THREADS;
fe47ec10 1709 _result = (int )wxStyledTextCtrl_GetMarginWidth(_arg0,_arg1);
f6bcfd97
BP
1710
1711 wxPy_END_ALLOW_THREADS;
1712} _resultobj = Py_BuildValue("i",_result);
1713 return _resultobj;
1714}
1715
fe47ec10
RD
1716#define wxStyledTextCtrl_SetMarginMask(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetMarginMask(_swigarg0,_swigarg1))
1717static PyObject *_wrap_wxStyledTextCtrl_SetMarginMask(PyObject *self, PyObject *args, PyObject *kwargs) {
f6bcfd97 1718 PyObject * _resultobj;
f6bcfd97 1719 wxStyledTextCtrl * _arg0;
fe47ec10
RD
1720 int _arg1;
1721 int _arg2;
f6bcfd97 1722 PyObject * _argo0 = 0;
fe47ec10 1723 char *_kwnames[] = { "self","margin","mask", NULL };
f6bcfd97
BP
1724
1725 self = self;
fe47ec10 1726 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxStyledTextCtrl_SetMarginMask",_kwnames,&_argo0,&_arg1,&_arg2))
f6bcfd97
BP
1727 return NULL;
1728 if (_argo0) {
1729 if (_argo0 == Py_None) { _arg0 = NULL; }
1730 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
fe47ec10 1731 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetMarginMask. Expected _wxStyledTextCtrl_p.");
f6bcfd97
BP
1732 return NULL;
1733 }
1734 }
1735{
1736 wxPy_BEGIN_ALLOW_THREADS;
fe47ec10 1737 wxStyledTextCtrl_SetMarginMask(_arg0,_arg1,_arg2);
f6bcfd97
BP
1738
1739 wxPy_END_ALLOW_THREADS;
fe47ec10
RD
1740} Py_INCREF(Py_None);
1741 _resultobj = Py_None;
f6bcfd97
BP
1742 return _resultobj;
1743}
1744
fe47ec10
RD
1745#define wxStyledTextCtrl_GetMarginMask(_swigobj,_swigarg0) (_swigobj->GetMarginMask(_swigarg0))
1746static PyObject *_wrap_wxStyledTextCtrl_GetMarginMask(PyObject *self, PyObject *args, PyObject *kwargs) {
f6bcfd97 1747 PyObject * _resultobj;
fe47ec10 1748 int _result;
f6bcfd97 1749 wxStyledTextCtrl * _arg0;
fe47ec10 1750 int _arg1;
f6bcfd97 1751 PyObject * _argo0 = 0;
fe47ec10 1752 char *_kwnames[] = { "self","margin", NULL };
f6bcfd97
BP
1753
1754 self = self;
fe47ec10 1755 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_GetMarginMask",_kwnames,&_argo0,&_arg1))
f6bcfd97
BP
1756 return NULL;
1757 if (_argo0) {
1758 if (_argo0 == Py_None) { _arg0 = NULL; }
1759 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
fe47ec10 1760 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetMarginMask. Expected _wxStyledTextCtrl_p.");
f6bcfd97
BP
1761 return NULL;
1762 }
1763 }
1764{
1765 wxPy_BEGIN_ALLOW_THREADS;
fe47ec10 1766 _result = (int )wxStyledTextCtrl_GetMarginMask(_arg0,_arg1);
f6bcfd97
BP
1767
1768 wxPy_END_ALLOW_THREADS;
fe47ec10 1769} _resultobj = Py_BuildValue("i",_result);
f6bcfd97
BP
1770 return _resultobj;
1771}
1772
fe47ec10
RD
1773#define wxStyledTextCtrl_SetMarginSensitive(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetMarginSensitive(_swigarg0,_swigarg1))
1774static PyObject *_wrap_wxStyledTextCtrl_SetMarginSensitive(PyObject *self, PyObject *args, PyObject *kwargs) {
f6bcfd97
BP
1775 PyObject * _resultobj;
1776 wxStyledTextCtrl * _arg0;
1777 int _arg1;
fe47ec10 1778 bool _arg2;
f6bcfd97 1779 PyObject * _argo0 = 0;
fe47ec10
RD
1780 int tempbool2;
1781 char *_kwnames[] = { "self","margin","sensitive", NULL };
f6bcfd97
BP
1782
1783 self = self;
fe47ec10 1784 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxStyledTextCtrl_SetMarginSensitive",_kwnames,&_argo0,&_arg1,&tempbool2))
f6bcfd97
BP
1785 return NULL;
1786 if (_argo0) {
1787 if (_argo0 == Py_None) { _arg0 = NULL; }
1788 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
fe47ec10 1789 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetMarginSensitive. Expected _wxStyledTextCtrl_p.");
f6bcfd97
BP
1790 return NULL;
1791 }
1792 }
fe47ec10 1793 _arg2 = (bool ) tempbool2;
f6bcfd97
BP
1794{
1795 wxPy_BEGIN_ALLOW_THREADS;
fe47ec10 1796 wxStyledTextCtrl_SetMarginSensitive(_arg0,_arg1,_arg2);
f6bcfd97
BP
1797
1798 wxPy_END_ALLOW_THREADS;
1799} Py_INCREF(Py_None);
1800 _resultobj = Py_None;
1801 return _resultobj;
1802}
1803
fe47ec10
RD
1804#define wxStyledTextCtrl_GetMarginSensitive(_swigobj,_swigarg0) (_swigobj->GetMarginSensitive(_swigarg0))
1805static PyObject *_wrap_wxStyledTextCtrl_GetMarginSensitive(PyObject *self, PyObject *args, PyObject *kwargs) {
f6bcfd97 1806 PyObject * _resultobj;
fe47ec10 1807 bool _result;
f6bcfd97
BP
1808 wxStyledTextCtrl * _arg0;
1809 int _arg1;
1810 PyObject * _argo0 = 0;
fe47ec10 1811 char *_kwnames[] = { "self","margin", NULL };
f6bcfd97
BP
1812
1813 self = self;
fe47ec10 1814 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_GetMarginSensitive",_kwnames,&_argo0,&_arg1))
f6bcfd97
BP
1815 return NULL;
1816 if (_argo0) {
1817 if (_argo0 == Py_None) { _arg0 = NULL; }
1818 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
fe47ec10 1819 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetMarginSensitive. Expected _wxStyledTextCtrl_p.");
f6bcfd97
BP
1820 return NULL;
1821 }
1822 }
1823{
1824 wxPy_BEGIN_ALLOW_THREADS;
fe47ec10 1825 _result = (bool )wxStyledTextCtrl_GetMarginSensitive(_arg0,_arg1);
f6bcfd97
BP
1826
1827 wxPy_END_ALLOW_THREADS;
fe47ec10 1828} _resultobj = Py_BuildValue("i",_result);
f6bcfd97
BP
1829 return _resultobj;
1830}
1831
fe47ec10
RD
1832#define wxStyledTextCtrl_StyleClearAll(_swigobj) (_swigobj->StyleClearAll())
1833static PyObject *_wrap_wxStyledTextCtrl_StyleClearAll(PyObject *self, PyObject *args, PyObject *kwargs) {
f6bcfd97
BP
1834 PyObject * _resultobj;
1835 wxStyledTextCtrl * _arg0;
f6bcfd97 1836 PyObject * _argo0 = 0;
fe47ec10 1837 char *_kwnames[] = { "self", NULL };
f6bcfd97
BP
1838
1839 self = self;
fe47ec10 1840 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_StyleClearAll",_kwnames,&_argo0))
f6bcfd97
BP
1841 return NULL;
1842 if (_argo0) {
1843 if (_argo0 == Py_None) { _arg0 = NULL; }
1844 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
fe47ec10 1845 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_StyleClearAll. Expected _wxStyledTextCtrl_p.");
f6bcfd97
BP
1846 return NULL;
1847 }
1848 }
1849{
1850 wxPy_BEGIN_ALLOW_THREADS;
fe47ec10 1851 wxStyledTextCtrl_StyleClearAll(_arg0);
f6bcfd97
BP
1852
1853 wxPy_END_ALLOW_THREADS;
1854} Py_INCREF(Py_None);
1855 _resultobj = Py_None;
1856 return _resultobj;
1857}
1858
fe47ec10
RD
1859#define wxStyledTextCtrl_StyleSetForeground(_swigobj,_swigarg0,_swigarg1) (_swigobj->StyleSetForeground(_swigarg0,_swigarg1))
1860static PyObject *_wrap_wxStyledTextCtrl_StyleSetForeground(PyObject *self, PyObject *args, PyObject *kwargs) {
f6bcfd97
BP
1861 PyObject * _resultobj;
1862 wxStyledTextCtrl * _arg0;
1863 int _arg1;
fe47ec10 1864 wxColour * _arg2;
f6bcfd97 1865 PyObject * _argo0 = 0;
fe47ec10
RD
1866 wxColour temp;
1867 PyObject * _obj2 = 0;
1868 char *_kwnames[] = { "self","style","fore", NULL };
f6bcfd97
BP
1869
1870 self = self;
fe47ec10 1871 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxStyledTextCtrl_StyleSetForeground",_kwnames,&_argo0,&_arg1,&_obj2))
f6bcfd97
BP
1872 return NULL;
1873 if (_argo0) {
1874 if (_argo0 == Py_None) { _arg0 = NULL; }
1875 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
fe47ec10 1876 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_StyleSetForeground. Expected _wxStyledTextCtrl_p.");
f6bcfd97
BP
1877 return NULL;
1878 }
1879 }
fe47ec10
RD
1880{
1881 _arg2 = &temp;
1882 if (! wxColour_helper(_obj2, &_arg2))
1883 return NULL;
1884}
f6bcfd97
BP
1885{
1886 wxPy_BEGIN_ALLOW_THREADS;
fe47ec10 1887 wxStyledTextCtrl_StyleSetForeground(_arg0,_arg1,*_arg2);
f6bcfd97
BP
1888
1889 wxPy_END_ALLOW_THREADS;
1890} Py_INCREF(Py_None);
1891 _resultobj = Py_None;
1892 return _resultobj;
1893}
1894
fe47ec10
RD
1895#define wxStyledTextCtrl_StyleSetBackground(_swigobj,_swigarg0,_swigarg1) (_swigobj->StyleSetBackground(_swigarg0,_swigarg1))
1896static PyObject *_wrap_wxStyledTextCtrl_StyleSetBackground(PyObject *self, PyObject *args, PyObject *kwargs) {
f6bcfd97
BP
1897 PyObject * _resultobj;
1898 wxStyledTextCtrl * _arg0;
1899 int _arg1;
fe47ec10 1900 wxColour * _arg2;
f6bcfd97 1901 PyObject * _argo0 = 0;
fe47ec10
RD
1902 wxColour temp;
1903 PyObject * _obj2 = 0;
1904 char *_kwnames[] = { "self","style","back", NULL };
f6bcfd97
BP
1905
1906 self = self;
fe47ec10 1907 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxStyledTextCtrl_StyleSetBackground",_kwnames,&_argo0,&_arg1,&_obj2))
f6bcfd97
BP
1908 return NULL;
1909 if (_argo0) {
1910 if (_argo0 == Py_None) { _arg0 = NULL; }
1911 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
fe47ec10 1912 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_StyleSetBackground. Expected _wxStyledTextCtrl_p.");
f6bcfd97
BP
1913 return NULL;
1914 }
1915 }
fe47ec10
RD
1916{
1917 _arg2 = &temp;
1918 if (! wxColour_helper(_obj2, &_arg2))
1919 return NULL;
1920}
f6bcfd97
BP
1921{
1922 wxPy_BEGIN_ALLOW_THREADS;
fe47ec10 1923 wxStyledTextCtrl_StyleSetBackground(_arg0,_arg1,*_arg2);
f6bcfd97
BP
1924
1925 wxPy_END_ALLOW_THREADS;
1926} Py_INCREF(Py_None);
1927 _resultobj = Py_None;
1928 return _resultobj;
1929}
1930
fe47ec10
RD
1931#define wxStyledTextCtrl_StyleSetBold(_swigobj,_swigarg0,_swigarg1) (_swigobj->StyleSetBold(_swigarg0,_swigarg1))
1932static PyObject *_wrap_wxStyledTextCtrl_StyleSetBold(PyObject *self, PyObject *args, PyObject *kwargs) {
f6bcfd97
BP
1933 PyObject * _resultobj;
1934 wxStyledTextCtrl * _arg0;
1935 int _arg1;
1936 bool _arg2;
1937 PyObject * _argo0 = 0;
1938 int tempbool2;
fe47ec10 1939 char *_kwnames[] = { "self","style","bold", NULL };
f6bcfd97
BP
1940
1941 self = self;
fe47ec10 1942 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxStyledTextCtrl_StyleSetBold",_kwnames,&_argo0,&_arg1,&tempbool2))
f6bcfd97
BP
1943 return NULL;
1944 if (_argo0) {
1945 if (_argo0 == Py_None) { _arg0 = NULL; }
1946 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
fe47ec10 1947 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_StyleSetBold. Expected _wxStyledTextCtrl_p.");
f6bcfd97
BP
1948 return NULL;
1949 }
1950 }
1951 _arg2 = (bool ) tempbool2;
1952{
1953 wxPy_BEGIN_ALLOW_THREADS;
fe47ec10 1954 wxStyledTextCtrl_StyleSetBold(_arg0,_arg1,_arg2);
f6bcfd97
BP
1955
1956 wxPy_END_ALLOW_THREADS;
1957} Py_INCREF(Py_None);
1958 _resultobj = Py_None;
1959 return _resultobj;
1960}
1961
fe47ec10
RD
1962#define wxStyledTextCtrl_StyleSetItalic(_swigobj,_swigarg0,_swigarg1) (_swigobj->StyleSetItalic(_swigarg0,_swigarg1))
1963static PyObject *_wrap_wxStyledTextCtrl_StyleSetItalic(PyObject *self, PyObject *args, PyObject *kwargs) {
f6bcfd97
BP
1964 PyObject * _resultobj;
1965 wxStyledTextCtrl * _arg0;
1966 int _arg1;
fe47ec10 1967 bool _arg2;
f6bcfd97 1968 PyObject * _argo0 = 0;
fe47ec10
RD
1969 int tempbool2;
1970 char *_kwnames[] = { "self","style","italic", NULL };
f6bcfd97
BP
1971
1972 self = self;
fe47ec10 1973 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxStyledTextCtrl_StyleSetItalic",_kwnames,&_argo0,&_arg1,&tempbool2))
f6bcfd97
BP
1974 return NULL;
1975 if (_argo0) {
1976 if (_argo0 == Py_None) { _arg0 = NULL; }
1977 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
fe47ec10 1978 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_StyleSetItalic. Expected _wxStyledTextCtrl_p.");
f6bcfd97
BP
1979 return NULL;
1980 }
1981 }
fe47ec10 1982 _arg2 = (bool ) tempbool2;
f6bcfd97
BP
1983{
1984 wxPy_BEGIN_ALLOW_THREADS;
fe47ec10 1985 wxStyledTextCtrl_StyleSetItalic(_arg0,_arg1,_arg2);
f6bcfd97
BP
1986
1987 wxPy_END_ALLOW_THREADS;
1988} Py_INCREF(Py_None);
1989 _resultobj = Py_None;
1990 return _resultobj;
1991}
1992
fe47ec10
RD
1993#define wxStyledTextCtrl_StyleSetSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->StyleSetSize(_swigarg0,_swigarg1))
1994static PyObject *_wrap_wxStyledTextCtrl_StyleSetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
f6bcfd97
BP
1995 PyObject * _resultobj;
1996 wxStyledTextCtrl * _arg0;
1997 int _arg1;
fe47ec10 1998 int _arg2;
f6bcfd97 1999 PyObject * _argo0 = 0;
fe47ec10 2000 char *_kwnames[] = { "self","style","sizePoints", NULL };
f6bcfd97
BP
2001
2002 self = self;
fe47ec10 2003 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxStyledTextCtrl_StyleSetSize",_kwnames,&_argo0,&_arg1,&_arg2))
f6bcfd97
BP
2004 return NULL;
2005 if (_argo0) {
2006 if (_argo0 == Py_None) { _arg0 = NULL; }
2007 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
fe47ec10 2008 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_StyleSetSize. Expected _wxStyledTextCtrl_p.");
f6bcfd97
BP
2009 return NULL;
2010 }
2011 }
2012{
2013 wxPy_BEGIN_ALLOW_THREADS;
fe47ec10 2014 wxStyledTextCtrl_StyleSetSize(_arg0,_arg1,_arg2);
f6bcfd97
BP
2015
2016 wxPy_END_ALLOW_THREADS;
2017} Py_INCREF(Py_None);
2018 _resultobj = Py_None;
2019 return _resultobj;
2020}
2021
fe47ec10
RD
2022#define wxStyledTextCtrl_StyleSetFaceName(_swigobj,_swigarg0,_swigarg1) (_swigobj->StyleSetFaceName(_swigarg0,_swigarg1))
2023static PyObject *_wrap_wxStyledTextCtrl_StyleSetFaceName(PyObject *self, PyObject *args, PyObject *kwargs) {
f6bcfd97
BP
2024 PyObject * _resultobj;
2025 wxStyledTextCtrl * _arg0;
2026 int _arg1;
fe47ec10 2027 wxString * _arg2;
f6bcfd97 2028 PyObject * _argo0 = 0;
fe47ec10
RD
2029 PyObject * _obj2 = 0;
2030 char *_kwnames[] = { "self","style","fontName", NULL };
f6bcfd97
BP
2031
2032 self = self;
fe47ec10 2033 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxStyledTextCtrl_StyleSetFaceName",_kwnames,&_argo0,&_arg1,&_obj2))
f6bcfd97
BP
2034 return NULL;
2035 if (_argo0) {
2036 if (_argo0 == Py_None) { _arg0 = NULL; }
2037 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
fe47ec10 2038 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_StyleSetFaceName. Expected _wxStyledTextCtrl_p.");
f6bcfd97
BP
2039 return NULL;
2040 }
2041 }
fe47ec10 2042{
185d7c3e
RD
2043#if PYTHON_API_VERSION >= 1009
2044 char* tmpPtr; int tmpSize;
2045 if (!PyString_Check(_obj2) && !PyUnicode_Check(_obj2)) {
2046 PyErr_SetString(PyExc_TypeError, "String or Unicode type required");
2047 return NULL;
2048 }
2049 if (PyString_AsStringAndSize(_obj2, &tmpPtr, &tmpSize) == -1)
2050 return NULL;
2051 _arg2 = new wxString(tmpPtr, tmpSize);
2052#else
fe47ec10
RD
2053 if (!PyString_Check(_obj2)) {
2054 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
2055 return NULL;
2056 }
185d7c3e
RD
2057 _arg2 = new wxString(PyString_AS_STRING(_obj2), PyString_GET_SIZE(_obj2));
2058#endif
fe47ec10 2059}
f6bcfd97
BP
2060{
2061 wxPy_BEGIN_ALLOW_THREADS;
fe47ec10 2062 wxStyledTextCtrl_StyleSetFaceName(_arg0,_arg1,*_arg2);
f6bcfd97
BP
2063
2064 wxPy_END_ALLOW_THREADS;
2065} Py_INCREF(Py_None);
2066 _resultobj = Py_None;
fe47ec10
RD
2067{
2068 if (_obj2)
2069 delete _arg2;
2070}
f6bcfd97
BP
2071 return _resultobj;
2072}
2073
fe47ec10
RD
2074#define wxStyledTextCtrl_StyleSetEOLFilled(_swigobj,_swigarg0,_swigarg1) (_swigobj->StyleSetEOLFilled(_swigarg0,_swigarg1))
2075static PyObject *_wrap_wxStyledTextCtrl_StyleSetEOLFilled(PyObject *self, PyObject *args, PyObject *kwargs) {
f6bcfd97
BP
2076 PyObject * _resultobj;
2077 wxStyledTextCtrl * _arg0;
fe47ec10
RD
2078 int _arg1;
2079 bool _arg2;
f6bcfd97 2080 PyObject * _argo0 = 0;
fe47ec10
RD
2081 int tempbool2;
2082 char *_kwnames[] = { "self","style","filled", NULL };
f6bcfd97
BP
2083
2084 self = self;
fe47ec10 2085 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxStyledTextCtrl_StyleSetEOLFilled",_kwnames,&_argo0,&_arg1,&tempbool2))
f6bcfd97
BP
2086 return NULL;
2087 if (_argo0) {
2088 if (_argo0 == Py_None) { _arg0 = NULL; }
2089 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
fe47ec10 2090 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_StyleSetEOLFilled. Expected _wxStyledTextCtrl_p.");
f6bcfd97
BP
2091 return NULL;
2092 }
2093 }
fe47ec10 2094 _arg2 = (bool ) tempbool2;
f6bcfd97
BP
2095{
2096 wxPy_BEGIN_ALLOW_THREADS;
fe47ec10 2097 wxStyledTextCtrl_StyleSetEOLFilled(_arg0,_arg1,_arg2);
f6bcfd97
BP
2098
2099 wxPy_END_ALLOW_THREADS;
2100} Py_INCREF(Py_None);
2101 _resultobj = Py_None;
2102 return _resultobj;
2103}
2104
fe47ec10
RD
2105#define wxStyledTextCtrl_StyleResetDefault(_swigobj) (_swigobj->StyleResetDefault())
2106static PyObject *_wrap_wxStyledTextCtrl_StyleResetDefault(PyObject *self, PyObject *args, PyObject *kwargs) {
f6bcfd97
BP
2107 PyObject * _resultobj;
2108 wxStyledTextCtrl * _arg0;
f6bcfd97 2109 PyObject * _argo0 = 0;
fe47ec10 2110 char *_kwnames[] = { "self", NULL };
f6bcfd97
BP
2111
2112 self = self;
fe47ec10 2113 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_StyleResetDefault",_kwnames,&_argo0))
f6bcfd97
BP
2114 return NULL;
2115 if (_argo0) {
2116 if (_argo0 == Py_None) { _arg0 = NULL; }
2117 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
fe47ec10 2118 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_StyleResetDefault. Expected _wxStyledTextCtrl_p.");
f6bcfd97
BP
2119 return NULL;
2120 }
2121 }
2122{
2123 wxPy_BEGIN_ALLOW_THREADS;
fe47ec10 2124 wxStyledTextCtrl_StyleResetDefault(_arg0);
f6bcfd97
BP
2125
2126 wxPy_END_ALLOW_THREADS;
2127} Py_INCREF(Py_None);
2128 _resultobj = Py_None;
2129 return _resultobj;
2130}
2131
fe47ec10
RD
2132#define wxStyledTextCtrl_StyleSetUnderline(_swigobj,_swigarg0,_swigarg1) (_swigobj->StyleSetUnderline(_swigarg0,_swigarg1))
2133static PyObject *_wrap_wxStyledTextCtrl_StyleSetUnderline(PyObject *self, PyObject *args, PyObject *kwargs) {
f6bcfd97 2134 PyObject * _resultobj;
f6bcfd97 2135 wxStyledTextCtrl * _arg0;
fe47ec10
RD
2136 int _arg1;
2137 bool _arg2;
f6bcfd97 2138 PyObject * _argo0 = 0;
fe47ec10
RD
2139 int tempbool2;
2140 char *_kwnames[] = { "self","style","underline", NULL };
f6bcfd97
BP
2141
2142 self = self;
fe47ec10 2143 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxStyledTextCtrl_StyleSetUnderline",_kwnames,&_argo0,&_arg1,&tempbool2))
f6bcfd97
BP
2144 return NULL;
2145 if (_argo0) {
2146 if (_argo0 == Py_None) { _arg0 = NULL; }
2147 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
fe47ec10 2148 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_StyleSetUnderline. Expected _wxStyledTextCtrl_p.");
f6bcfd97
BP
2149 return NULL;
2150 }
2151 }
fe47ec10 2152 _arg2 = (bool ) tempbool2;
f6bcfd97
BP
2153{
2154 wxPy_BEGIN_ALLOW_THREADS;
fe47ec10 2155 wxStyledTextCtrl_StyleSetUnderline(_arg0,_arg1,_arg2);
f6bcfd97
BP
2156
2157 wxPy_END_ALLOW_THREADS;
fe47ec10
RD
2158} Py_INCREF(Py_None);
2159 _resultobj = Py_None;
f6bcfd97
BP
2160 return _resultobj;
2161}
2162
fe47ec10
RD
2163#define wxStyledTextCtrl_SetSelForeground(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetSelForeground(_swigarg0,_swigarg1))
2164static PyObject *_wrap_wxStyledTextCtrl_SetSelForeground(PyObject *self, PyObject *args, PyObject *kwargs) {
f6bcfd97 2165 PyObject * _resultobj;
f6bcfd97 2166 wxStyledTextCtrl * _arg0;
fe47ec10
RD
2167 bool _arg1;
2168 wxColour * _arg2;
f6bcfd97 2169 PyObject * _argo0 = 0;
fe47ec10
RD
2170 int tempbool1;
2171 wxColour temp;
2172 PyObject * _obj2 = 0;
2173 char *_kwnames[] = { "self","useSetting","fore", NULL };
f6bcfd97
BP
2174
2175 self = self;
fe47ec10 2176 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxStyledTextCtrl_SetSelForeground",_kwnames,&_argo0,&tempbool1,&_obj2))
f6bcfd97
BP
2177 return NULL;
2178 if (_argo0) {
2179 if (_argo0 == Py_None) { _arg0 = NULL; }
2180 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
fe47ec10 2181 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetSelForeground. Expected _wxStyledTextCtrl_p.");
f6bcfd97
BP
2182 return NULL;
2183 }
2184 }
fe47ec10
RD
2185 _arg1 = (bool ) tempbool1;
2186{
2187 _arg2 = &temp;
2188 if (! wxColour_helper(_obj2, &_arg2))
2189 return NULL;
2190}
f6bcfd97
BP
2191{
2192 wxPy_BEGIN_ALLOW_THREADS;
fe47ec10 2193 wxStyledTextCtrl_SetSelForeground(_arg0,_arg1,*_arg2);
f6bcfd97
BP
2194
2195 wxPy_END_ALLOW_THREADS;
fe47ec10
RD
2196} Py_INCREF(Py_None);
2197 _resultobj = Py_None;
f6bcfd97
BP
2198 return _resultobj;
2199}
2200
fe47ec10
RD
2201#define wxStyledTextCtrl_SetSelBackground(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetSelBackground(_swigarg0,_swigarg1))
2202static PyObject *_wrap_wxStyledTextCtrl_SetSelBackground(PyObject *self, PyObject *args, PyObject *kwargs) {
f6bcfd97 2203 PyObject * _resultobj;
f6bcfd97 2204 wxStyledTextCtrl * _arg0;
fe47ec10
RD
2205 bool _arg1;
2206 wxColour * _arg2;
f6bcfd97 2207 PyObject * _argo0 = 0;
fe47ec10
RD
2208 int tempbool1;
2209 wxColour temp;
2210 PyObject * _obj2 = 0;
2211 char *_kwnames[] = { "self","useSetting","back", NULL };
f6bcfd97
BP
2212
2213 self = self;
fe47ec10 2214 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxStyledTextCtrl_SetSelBackground",_kwnames,&_argo0,&tempbool1,&_obj2))
f6bcfd97
BP
2215 return NULL;
2216 if (_argo0) {
2217 if (_argo0 == Py_None) { _arg0 = NULL; }
2218 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
fe47ec10 2219 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetSelBackground. Expected _wxStyledTextCtrl_p.");
f6bcfd97
BP
2220 return NULL;
2221 }
2222 }
fe47ec10
RD
2223 _arg1 = (bool ) tempbool1;
2224{
2225 _arg2 = &temp;
2226 if (! wxColour_helper(_obj2, &_arg2))
2227 return NULL;
2228}
f6bcfd97
BP
2229{
2230 wxPy_BEGIN_ALLOW_THREADS;
fe47ec10 2231 wxStyledTextCtrl_SetSelBackground(_arg0,_arg1,*_arg2);
f6bcfd97
BP
2232
2233 wxPy_END_ALLOW_THREADS;
fe47ec10
RD
2234} Py_INCREF(Py_None);
2235 _resultobj = Py_None;
f6bcfd97
BP
2236 return _resultobj;
2237}
2238
fe47ec10
RD
2239#define wxStyledTextCtrl_SetCaretForeground(_swigobj,_swigarg0) (_swigobj->SetCaretForeground(_swigarg0))
2240static PyObject *_wrap_wxStyledTextCtrl_SetCaretForeground(PyObject *self, PyObject *args, PyObject *kwargs) {
f6bcfd97
BP
2241 PyObject * _resultobj;
2242 wxStyledTextCtrl * _arg0;
fe47ec10 2243 wxColour * _arg1;
f6bcfd97 2244 PyObject * _argo0 = 0;
fe47ec10
RD
2245 wxColour temp;
2246 PyObject * _obj1 = 0;
2247 char *_kwnames[] = { "self","fore", NULL };
f6bcfd97
BP
2248
2249 self = self;
fe47ec10 2250 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxStyledTextCtrl_SetCaretForeground",_kwnames,&_argo0,&_obj1))
f6bcfd97
BP
2251 return NULL;
2252 if (_argo0) {
2253 if (_argo0 == Py_None) { _arg0 = NULL; }
2254 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
fe47ec10 2255 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetCaretForeground. Expected _wxStyledTextCtrl_p.");
f6bcfd97
BP
2256 return NULL;
2257 }
2258 }
fe47ec10
RD
2259{
2260 _arg1 = &temp;
2261 if (! wxColour_helper(_obj1, &_arg1))
2262 return NULL;
2263}
f6bcfd97
BP
2264{
2265 wxPy_BEGIN_ALLOW_THREADS;
fe47ec10 2266 wxStyledTextCtrl_SetCaretForeground(_arg0,*_arg1);
f6bcfd97
BP
2267
2268 wxPy_END_ALLOW_THREADS;
2269} Py_INCREF(Py_None);
2270 _resultobj = Py_None;
2271 return _resultobj;
2272}
2273
fe47ec10
RD
2274#define wxStyledTextCtrl_CmdKeyAssign(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->CmdKeyAssign(_swigarg0,_swigarg1,_swigarg2))
2275static PyObject *_wrap_wxStyledTextCtrl_CmdKeyAssign(PyObject *self, PyObject *args, PyObject *kwargs) {
f6bcfd97 2276 PyObject * _resultobj;
f6bcfd97 2277 wxStyledTextCtrl * _arg0;
fe47ec10
RD
2278 int _arg1;
2279 int _arg2;
2280 int _arg3;
f6bcfd97 2281 PyObject * _argo0 = 0;
fe47ec10 2282 char *_kwnames[] = { "self","key","modifiers","cmd", NULL };
f6bcfd97
BP
2283
2284 self = self;
fe47ec10 2285 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oiii:wxStyledTextCtrl_CmdKeyAssign",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3))
f6bcfd97
BP
2286 return NULL;
2287 if (_argo0) {
2288 if (_argo0 == Py_None) { _arg0 = NULL; }
2289 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
fe47ec10 2290 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_CmdKeyAssign. Expected _wxStyledTextCtrl_p.");
f6bcfd97
BP
2291 return NULL;
2292 }
2293 }
2294{
2295 wxPy_BEGIN_ALLOW_THREADS;
fe47ec10 2296 wxStyledTextCtrl_CmdKeyAssign(_arg0,_arg1,_arg2,_arg3);
f6bcfd97
BP
2297
2298 wxPy_END_ALLOW_THREADS;
fe47ec10
RD
2299} Py_INCREF(Py_None);
2300 _resultobj = Py_None;
f6bcfd97
BP
2301 return _resultobj;
2302}
2303
fe47ec10
RD
2304#define wxStyledTextCtrl_CmdKeyClear(_swigobj,_swigarg0,_swigarg1) (_swigobj->CmdKeyClear(_swigarg0,_swigarg1))
2305static PyObject *_wrap_wxStyledTextCtrl_CmdKeyClear(PyObject *self, PyObject *args, PyObject *kwargs) {
f6bcfd97 2306 PyObject * _resultobj;
f6bcfd97
BP
2307 wxStyledTextCtrl * _arg0;
2308 int _arg1;
2309 int _arg2;
f6bcfd97 2310 PyObject * _argo0 = 0;
fe47ec10 2311 char *_kwnames[] = { "self","key","modifiers", NULL };
f6bcfd97
BP
2312
2313 self = self;
fe47ec10 2314 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxStyledTextCtrl_CmdKeyClear",_kwnames,&_argo0,&_arg1,&_arg2))
f6bcfd97
BP
2315 return NULL;
2316 if (_argo0) {
2317 if (_argo0 == Py_None) { _arg0 = NULL; }
2318 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
fe47ec10 2319 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_CmdKeyClear. Expected _wxStyledTextCtrl_p.");
f6bcfd97
BP
2320 return NULL;
2321 }
2322 }
f6bcfd97
BP
2323{
2324 wxPy_BEGIN_ALLOW_THREADS;
fe47ec10 2325 wxStyledTextCtrl_CmdKeyClear(_arg0,_arg1,_arg2);
f6bcfd97
BP
2326
2327 wxPy_END_ALLOW_THREADS;
fe47ec10
RD
2328} Py_INCREF(Py_None);
2329 _resultobj = Py_None;
f6bcfd97
BP
2330 return _resultobj;
2331}
2332
fe47ec10
RD
2333#define wxStyledTextCtrl_CmdKeyClearAll(_swigobj) (_swigobj->CmdKeyClearAll())
2334static PyObject *_wrap_wxStyledTextCtrl_CmdKeyClearAll(PyObject *self, PyObject *args, PyObject *kwargs) {
f6bcfd97
BP
2335 PyObject * _resultobj;
2336 wxStyledTextCtrl * _arg0;
2337 PyObject * _argo0 = 0;
2338 char *_kwnames[] = { "self", NULL };
2339
2340 self = self;
fe47ec10 2341 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_CmdKeyClearAll",_kwnames,&_argo0))
f6bcfd97
BP
2342 return NULL;
2343 if (_argo0) {
2344 if (_argo0 == Py_None) { _arg0 = NULL; }
2345 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
fe47ec10 2346 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_CmdKeyClearAll. Expected _wxStyledTextCtrl_p.");
f6bcfd97
BP
2347 return NULL;
2348 }
2349 }
2350{
2351 wxPy_BEGIN_ALLOW_THREADS;
fe47ec10 2352 wxStyledTextCtrl_CmdKeyClearAll(_arg0);
f6bcfd97
BP
2353
2354 wxPy_END_ALLOW_THREADS;
2355} Py_INCREF(Py_None);
2356 _resultobj = Py_None;
2357 return _resultobj;
2358}
2359
fe47ec10
RD
2360#define wxStyledTextCtrl_SetStyleBytes(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetStyleBytes(_swigarg0,_swigarg1))
2361static PyObject *_wrap_wxStyledTextCtrl_SetStyleBytes(PyObject *self, PyObject *args, PyObject *kwargs) {
f6bcfd97 2362 PyObject * _resultobj;
f6bcfd97 2363 wxStyledTextCtrl * _arg0;
fe47ec10
RD
2364 int _arg1;
2365 char * _arg2;
f6bcfd97 2366 PyObject * _argo0 = 0;
fe47ec10 2367 char *_kwnames[] = { "self","length","styleBytes", NULL };
f6bcfd97
BP
2368
2369 self = self;
fe47ec10 2370 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ois:wxStyledTextCtrl_SetStyleBytes",_kwnames,&_argo0,&_arg1,&_arg2))
f6bcfd97
BP
2371 return NULL;
2372 if (_argo0) {
2373 if (_argo0 == Py_None) { _arg0 = NULL; }
2374 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
fe47ec10 2375 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetStyleBytes. Expected _wxStyledTextCtrl_p.");
f6bcfd97
BP
2376 return NULL;
2377 }
2378 }
f6bcfd97
BP
2379{
2380 wxPy_BEGIN_ALLOW_THREADS;
fe47ec10 2381 wxStyledTextCtrl_SetStyleBytes(_arg0,_arg1,_arg2);
f6bcfd97
BP
2382
2383 wxPy_END_ALLOW_THREADS;
fe47ec10
RD
2384} Py_INCREF(Py_None);
2385 _resultobj = Py_None;
f6bcfd97
BP
2386 return _resultobj;
2387}
2388
fe47ec10
RD
2389#define wxStyledTextCtrl_StyleSetVisible(_swigobj,_swigarg0,_swigarg1) (_swigobj->StyleSetVisible(_swigarg0,_swigarg1))
2390static PyObject *_wrap_wxStyledTextCtrl_StyleSetVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
f6bcfd97 2391 PyObject * _resultobj;
f6bcfd97 2392 wxStyledTextCtrl * _arg0;
fe47ec10 2393 int _arg1;
f6bcfd97 2394 bool _arg2;
f6bcfd97 2395 PyObject * _argo0 = 0;
f6bcfd97 2396 int tempbool2;
fe47ec10 2397 char *_kwnames[] = { "self","style","visible", NULL };
f6bcfd97
BP
2398
2399 self = self;
fe47ec10 2400 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxStyledTextCtrl_StyleSetVisible",_kwnames,&_argo0,&_arg1,&tempbool2))
f6bcfd97
BP
2401 return NULL;
2402 if (_argo0) {
2403 if (_argo0 == Py_None) { _arg0 = NULL; }
2404 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
fe47ec10 2405 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_StyleSetVisible. Expected _wxStyledTextCtrl_p.");
f6bcfd97
BP
2406 return NULL;
2407 }
2408 }
f6bcfd97 2409 _arg2 = (bool ) tempbool2;
f6bcfd97
BP
2410{
2411 wxPy_BEGIN_ALLOW_THREADS;
fe47ec10 2412 wxStyledTextCtrl_StyleSetVisible(_arg0,_arg1,_arg2);
f6bcfd97
BP
2413
2414 wxPy_END_ALLOW_THREADS;
fe47ec10
RD
2415} Py_INCREF(Py_None);
2416 _resultobj = Py_None;
f6bcfd97
BP
2417 return _resultobj;
2418}
2419
fe47ec10
RD
2420#define wxStyledTextCtrl_GetCaretPeriod(_swigobj) (_swigobj->GetCaretPeriod())
2421static PyObject *_wrap_wxStyledTextCtrl_GetCaretPeriod(PyObject *self, PyObject *args, PyObject *kwargs) {
f6bcfd97 2422 PyObject * _resultobj;
fe47ec10 2423 int _result;
f6bcfd97
BP
2424 wxStyledTextCtrl * _arg0;
2425 PyObject * _argo0 = 0;
2426 char *_kwnames[] = { "self", NULL };
2427
2428 self = self;
fe47ec10 2429 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetCaretPeriod",_kwnames,&_argo0))
f6bcfd97
BP
2430 return NULL;
2431 if (_argo0) {
2432 if (_argo0 == Py_None) { _arg0 = NULL; }
2433 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
fe47ec10 2434 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetCaretPeriod. Expected _wxStyledTextCtrl_p.");
f6bcfd97
BP
2435 return NULL;
2436 }
2437 }
2438{
2439 wxPy_BEGIN_ALLOW_THREADS;
fe47ec10 2440 _result = (int )wxStyledTextCtrl_GetCaretPeriod(_arg0);
f6bcfd97
BP
2441
2442 wxPy_END_ALLOW_THREADS;
2443} _resultobj = Py_BuildValue("i",_result);
2444 return _resultobj;
2445}
2446
fe47ec10
RD
2447#define wxStyledTextCtrl_SetCaretPeriod(_swigobj,_swigarg0) (_swigobj->SetCaretPeriod(_swigarg0))
2448static PyObject *_wrap_wxStyledTextCtrl_SetCaretPeriod(PyObject *self, PyObject *args, PyObject *kwargs) {
f6bcfd97
BP
2449 PyObject * _resultobj;
2450 wxStyledTextCtrl * _arg0;
fe47ec10 2451 int _arg1;
f6bcfd97 2452 PyObject * _argo0 = 0;
fe47ec10 2453 char *_kwnames[] = { "self","periodMilliseconds", NULL };
f6bcfd97
BP
2454
2455 self = self;
fe47ec10 2456 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_SetCaretPeriod",_kwnames,&_argo0,&_arg1))
f6bcfd97
BP
2457 return NULL;
2458 if (_argo0) {
2459 if (_argo0 == Py_None) { _arg0 = NULL; }
2460 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
fe47ec10 2461 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetCaretPeriod. Expected _wxStyledTextCtrl_p.");
f6bcfd97
BP
2462 return NULL;
2463 }
2464 }
f6bcfd97
BP
2465{
2466 wxPy_BEGIN_ALLOW_THREADS;
fe47ec10 2467 wxStyledTextCtrl_SetCaretPeriod(_arg0,_arg1);
f6bcfd97
BP
2468
2469 wxPy_END_ALLOW_THREADS;
2470} Py_INCREF(Py_None);
2471 _resultobj = Py_None;
2472 return _resultobj;
2473}
2474
fe47ec10
RD
2475#define wxStyledTextCtrl_SetWordChars(_swigobj,_swigarg0) (_swigobj->SetWordChars(_swigarg0))
2476static PyObject *_wrap_wxStyledTextCtrl_SetWordChars(PyObject *self, PyObject *args, PyObject *kwargs) {
f6bcfd97 2477 PyObject * _resultobj;
f6bcfd97 2478 wxStyledTextCtrl * _arg0;
fe47ec10 2479 wxString * _arg1;
f6bcfd97 2480 PyObject * _argo0 = 0;
fe47ec10
RD
2481 PyObject * _obj1 = 0;
2482 char *_kwnames[] = { "self","characters", NULL };
f6bcfd97
BP
2483
2484 self = self;
fe47ec10 2485 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxStyledTextCtrl_SetWordChars",_kwnames,&_argo0,&_obj1))
f6bcfd97
BP
2486 return NULL;
2487 if (_argo0) {
2488 if (_argo0 == Py_None) { _arg0 = NULL; }
2489 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
fe47ec10 2490 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetWordChars. Expected _wxStyledTextCtrl_p.");
f6bcfd97
BP
2491 return NULL;
2492 }
2493 }
fe47ec10 2494{
185d7c3e
RD
2495#if PYTHON_API_VERSION >= 1009
2496 char* tmpPtr; int tmpSize;
2497 if (!PyString_Check(_obj1) && !PyUnicode_Check(_obj1)) {
2498 PyErr_SetString(PyExc_TypeError, "String or Unicode type required");
2499 return NULL;
2500 }
2501 if (PyString_AsStringAndSize(_obj1, &tmpPtr, &tmpSize) == -1)
2502 return NULL;
2503 _arg1 = new wxString(tmpPtr, tmpSize);
2504#else
fe47ec10
RD
2505 if (!PyString_Check(_obj1)) {
2506 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
2507 return NULL;
2508 }
185d7c3e
RD
2509 _arg1 = new wxString(PyString_AS_STRING(_obj1), PyString_GET_SIZE(_obj1));
2510#endif
fe47ec10 2511}
f6bcfd97
BP
2512{
2513 wxPy_BEGIN_ALLOW_THREADS;
fe47ec10 2514 wxStyledTextCtrl_SetWordChars(_arg0,*_arg1);
f6bcfd97
BP
2515
2516 wxPy_END_ALLOW_THREADS;
fe47ec10
RD
2517} Py_INCREF(Py_None);
2518 _resultobj = Py_None;
2519{
2520 if (_obj1)
2521 delete _arg1;
2522}
f6bcfd97
BP
2523 return _resultobj;
2524}
2525
fe47ec10
RD
2526#define wxStyledTextCtrl_BeginUndoAction(_swigobj) (_swigobj->BeginUndoAction())
2527static PyObject *_wrap_wxStyledTextCtrl_BeginUndoAction(PyObject *self, PyObject *args, PyObject *kwargs) {
f6bcfd97
BP
2528 PyObject * _resultobj;
2529 wxStyledTextCtrl * _arg0;
f6bcfd97 2530 PyObject * _argo0 = 0;
fe47ec10 2531 char *_kwnames[] = { "self", NULL };
f6bcfd97
BP
2532
2533 self = self;
fe47ec10 2534 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_BeginUndoAction",_kwnames,&_argo0))
f6bcfd97
BP
2535 return NULL;
2536 if (_argo0) {
2537 if (_argo0 == Py_None) { _arg0 = NULL; }
2538 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
fe47ec10 2539 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_BeginUndoAction. Expected _wxStyledTextCtrl_p.");
f6bcfd97
BP
2540 return NULL;
2541 }
2542 }
2543{
2544 wxPy_BEGIN_ALLOW_THREADS;
fe47ec10 2545 wxStyledTextCtrl_BeginUndoAction(_arg0);
f6bcfd97
BP
2546
2547 wxPy_END_ALLOW_THREADS;
2548} Py_INCREF(Py_None);
2549 _resultobj = Py_None;
2550 return _resultobj;
2551}
2552
fe47ec10
RD
2553#define wxStyledTextCtrl_EndUndoAction(_swigobj) (_swigobj->EndUndoAction())
2554static PyObject *_wrap_wxStyledTextCtrl_EndUndoAction(PyObject *self, PyObject *args, PyObject *kwargs) {
f6bcfd97 2555 PyObject * _resultobj;
f6bcfd97
BP
2556 wxStyledTextCtrl * _arg0;
2557 PyObject * _argo0 = 0;
2558 char *_kwnames[] = { "self", NULL };
2559
2560 self = self;
fe47ec10 2561 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_EndUndoAction",_kwnames,&_argo0))
f6bcfd97
BP
2562 return NULL;
2563 if (_argo0) {
2564 if (_argo0 == Py_None) { _arg0 = NULL; }
2565 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
fe47ec10 2566 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_EndUndoAction. Expected _wxStyledTextCtrl_p.");
f6bcfd97
BP
2567 return NULL;
2568 }
2569 }
2570{
2571 wxPy_BEGIN_ALLOW_THREADS;
fe47ec10 2572 wxStyledTextCtrl_EndUndoAction(_arg0);
f6bcfd97
BP
2573
2574 wxPy_END_ALLOW_THREADS;
fe47ec10
RD
2575} Py_INCREF(Py_None);
2576 _resultobj = Py_None;
f6bcfd97
BP
2577 return _resultobj;
2578}
2579
fe47ec10
RD
2580#define wxStyledTextCtrl_IndicatorSetStyle(_swigobj,_swigarg0,_swigarg1) (_swigobj->IndicatorSetStyle(_swigarg0,_swigarg1))
2581static PyObject *_wrap_wxStyledTextCtrl_IndicatorSetStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
f6bcfd97
BP
2582 PyObject * _resultobj;
2583 wxStyledTextCtrl * _arg0;
fe47ec10
RD
2584 int _arg1;
2585 int _arg2;
f6bcfd97 2586 PyObject * _argo0 = 0;
fe47ec10 2587 char *_kwnames[] = { "self","indic","style", NULL };
f6bcfd97
BP
2588
2589 self = self;
fe47ec10 2590 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxStyledTextCtrl_IndicatorSetStyle",_kwnames,&_argo0,&_arg1,&_arg2))
f6bcfd97
BP
2591 return NULL;
2592 if (_argo0) {
2593 if (_argo0 == Py_None) { _arg0 = NULL; }
2594 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
fe47ec10 2595 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_IndicatorSetStyle. Expected _wxStyledTextCtrl_p.");
f6bcfd97
BP
2596 return NULL;
2597 }
2598 }
f6bcfd97
BP
2599{
2600 wxPy_BEGIN_ALLOW_THREADS;
fe47ec10 2601 wxStyledTextCtrl_IndicatorSetStyle(_arg0,_arg1,_arg2);
f6bcfd97
BP
2602
2603 wxPy_END_ALLOW_THREADS;
2604} Py_INCREF(Py_None);
2605 _resultobj = Py_None;
2606 return _resultobj;
2607}
2608
fe47ec10
RD
2609#define wxStyledTextCtrl_IndicatorGetStyle(_swigobj,_swigarg0) (_swigobj->IndicatorGetStyle(_swigarg0))
2610static PyObject *_wrap_wxStyledTextCtrl_IndicatorGetStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
f6bcfd97 2611 PyObject * _resultobj;
fe47ec10 2612 int _result;
f6bcfd97 2613 wxStyledTextCtrl * _arg0;
fe47ec10 2614 int _arg1;
f6bcfd97 2615 PyObject * _argo0 = 0;
fe47ec10 2616 char *_kwnames[] = { "self","indic", NULL };
f6bcfd97
BP
2617
2618 self = self;
fe47ec10 2619 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_IndicatorGetStyle",_kwnames,&_argo0,&_arg1))
f6bcfd97
BP
2620 return NULL;
2621 if (_argo0) {
2622 if (_argo0 == Py_None) { _arg0 = NULL; }
2623 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
fe47ec10 2624 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_IndicatorGetStyle. Expected _wxStyledTextCtrl_p.");
f6bcfd97
BP
2625 return NULL;
2626 }
2627 }
2628{
2629 wxPy_BEGIN_ALLOW_THREADS;
fe47ec10 2630 _result = (int )wxStyledTextCtrl_IndicatorGetStyle(_arg0,_arg1);
f6bcfd97
BP
2631
2632 wxPy_END_ALLOW_THREADS;
fe47ec10 2633} _resultobj = Py_BuildValue("i",_result);
f6bcfd97
BP
2634 return _resultobj;
2635}
2636
fe47ec10
RD
2637#define wxStyledTextCtrl_IndicatorSetForeground(_swigobj,_swigarg0,_swigarg1) (_swigobj->IndicatorSetForeground(_swigarg0,_swigarg1))
2638static PyObject *_wrap_wxStyledTextCtrl_IndicatorSetForeground(PyObject *self, PyObject *args, PyObject *kwargs) {
f6bcfd97 2639 PyObject * _resultobj;
f6bcfd97 2640 wxStyledTextCtrl * _arg0;
fe47ec10
RD
2641 int _arg1;
2642 wxColour * _arg2;
f6bcfd97 2643 PyObject * _argo0 = 0;
fe47ec10
RD
2644 wxColour temp;
2645 PyObject * _obj2 = 0;
2646 char *_kwnames[] = { "self","indic","fore", NULL };
f6bcfd97
BP
2647
2648 self = self;
fe47ec10 2649 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxStyledTextCtrl_IndicatorSetForeground",_kwnames,&_argo0,&_arg1,&_obj2))
f6bcfd97
BP
2650 return NULL;
2651 if (_argo0) {
2652 if (_argo0 == Py_None) { _arg0 = NULL; }
2653 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
fe47ec10 2654 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_IndicatorSetForeground. Expected _wxStyledTextCtrl_p.");
f6bcfd97
BP
2655 return NULL;
2656 }
2657 }
fe47ec10
RD
2658{
2659 _arg2 = &temp;
2660 if (! wxColour_helper(_obj2, &_arg2))
2661 return NULL;
2662}
f6bcfd97
BP
2663{
2664 wxPy_BEGIN_ALLOW_THREADS;
fe47ec10 2665 wxStyledTextCtrl_IndicatorSetForeground(_arg0,_arg1,*_arg2);
f6bcfd97
BP
2666
2667 wxPy_END_ALLOW_THREADS;
fe47ec10
RD
2668} Py_INCREF(Py_None);
2669 _resultobj = Py_None;
f6bcfd97
BP
2670 return _resultobj;
2671}
2672
fe47ec10
RD
2673#define wxStyledTextCtrl_IndicatorGetForeground(_swigobj,_swigarg0) (_swigobj->IndicatorGetForeground(_swigarg0))
2674static PyObject *_wrap_wxStyledTextCtrl_IndicatorGetForeground(PyObject *self, PyObject *args, PyObject *kwargs) {
f6bcfd97 2675 PyObject * _resultobj;
fe47ec10 2676 wxColour * _result;
f6bcfd97
BP
2677 wxStyledTextCtrl * _arg0;
2678 int _arg1;
f6bcfd97 2679 PyObject * _argo0 = 0;
fe47ec10
RD
2680 char *_kwnames[] = { "self","indic", NULL };
2681 char _ptemp[128];
f6bcfd97
BP
2682
2683 self = self;
fe47ec10 2684 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_IndicatorGetForeground",_kwnames,&_argo0,&_arg1))
f6bcfd97
BP
2685 return NULL;
2686 if (_argo0) {
2687 if (_argo0 == Py_None) { _arg0 = NULL; }
2688 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
fe47ec10 2689 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_IndicatorGetForeground. Expected _wxStyledTextCtrl_p.");
f6bcfd97
BP
2690 return NULL;
2691 }
2692 }
2693{
2694 wxPy_BEGIN_ALLOW_THREADS;
fe47ec10 2695 _result = new wxColour (wxStyledTextCtrl_IndicatorGetForeground(_arg0,_arg1));
f6bcfd97
BP
2696
2697 wxPy_END_ALLOW_THREADS;
fe47ec10
RD
2698} SWIG_MakePtr(_ptemp, (void *) _result,"_wxColour_p");
2699 _resultobj = Py_BuildValue("s",_ptemp);
f6bcfd97
BP
2700 return _resultobj;
2701}
2702
fe47ec10
RD
2703#define wxStyledTextCtrl_SetStyleBits(_swigobj,_swigarg0) (_swigobj->SetStyleBits(_swigarg0))
2704static PyObject *_wrap_wxStyledTextCtrl_SetStyleBits(PyObject *self, PyObject *args, PyObject *kwargs) {
f6bcfd97
BP
2705 PyObject * _resultobj;
2706 wxStyledTextCtrl * _arg0;
2707 int _arg1;
f6bcfd97 2708 PyObject * _argo0 = 0;
fe47ec10 2709 char *_kwnames[] = { "self","bits", NULL };
f6bcfd97
BP
2710
2711 self = self;
fe47ec10 2712 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_SetStyleBits",_kwnames,&_argo0,&_arg1))
f6bcfd97
BP
2713 return NULL;
2714 if (_argo0) {
2715 if (_argo0 == Py_None) { _arg0 = NULL; }
2716 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
fe47ec10 2717 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetStyleBits. Expected _wxStyledTextCtrl_p.");
f6bcfd97
BP
2718 return NULL;
2719 }
2720 }
2721{
2722 wxPy_BEGIN_ALLOW_THREADS;
fe47ec10 2723 wxStyledTextCtrl_SetStyleBits(_arg0,_arg1);
f6bcfd97
BP
2724
2725 wxPy_END_ALLOW_THREADS;
2726} Py_INCREF(Py_None);
2727 _resultobj = Py_None;
2728 return _resultobj;
2729}
2730
fe47ec10
RD
2731#define wxStyledTextCtrl_GetStyleBits(_swigobj) (_swigobj->GetStyleBits())
2732static PyObject *_wrap_wxStyledTextCtrl_GetStyleBits(PyObject *self, PyObject *args, PyObject *kwargs) {
f6bcfd97 2733 PyObject * _resultobj;
fe47ec10 2734 int _result;
f6bcfd97 2735 wxStyledTextCtrl * _arg0;
f6bcfd97 2736 PyObject * _argo0 = 0;
fe47ec10 2737 char *_kwnames[] = { "self", NULL };
f6bcfd97
BP
2738
2739 self = self;
fe47ec10 2740 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetStyleBits",_kwnames,&_argo0))
f6bcfd97
BP
2741 return NULL;
2742 if (_argo0) {
2743 if (_argo0 == Py_None) { _arg0 = NULL; }
2744 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
fe47ec10 2745 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetStyleBits. Expected _wxStyledTextCtrl_p.");
f6bcfd97
BP
2746 return NULL;
2747 }
2748 }
2749{
2750 wxPy_BEGIN_ALLOW_THREADS;
fe47ec10 2751 _result = (int )wxStyledTextCtrl_GetStyleBits(_arg0);
f6bcfd97
BP
2752
2753 wxPy_END_ALLOW_THREADS;
fe47ec10 2754} _resultobj = Py_BuildValue("i",_result);
f6bcfd97
BP
2755 return _resultobj;
2756}
2757
2758#define wxStyledTextCtrl_SetLineState(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetLineState(_swigarg0,_swigarg1))
2759static PyObject *_wrap_wxStyledTextCtrl_SetLineState(PyObject *self, PyObject *args, PyObject *kwargs) {
2760 PyObject * _resultobj;
2761 wxStyledTextCtrl * _arg0;
2762 int _arg1;
2763 int _arg2;
2764 PyObject * _argo0 = 0;
fe47ec10 2765 char *_kwnames[] = { "self","line","state", NULL };
f6bcfd97
BP
2766
2767 self = self;
2768 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxStyledTextCtrl_SetLineState",_kwnames,&_argo0,&_arg1,&_arg2))
2769 return NULL;
2770 if (_argo0) {
2771 if (_argo0 == Py_None) { _arg0 = NULL; }
2772 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
2773 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetLineState. Expected _wxStyledTextCtrl_p.");
2774 return NULL;
2775 }
2776 }
2777{
2778 wxPy_BEGIN_ALLOW_THREADS;
2779 wxStyledTextCtrl_SetLineState(_arg0,_arg1,_arg2);
2780
2781 wxPy_END_ALLOW_THREADS;
2782} Py_INCREF(Py_None);
2783 _resultobj = Py_None;
2784 return _resultobj;
2785}
2786
2787#define wxStyledTextCtrl_GetLineState(_swigobj,_swigarg0) (_swigobj->GetLineState(_swigarg0))
2788static PyObject *_wrap_wxStyledTextCtrl_GetLineState(PyObject *self, PyObject *args, PyObject *kwargs) {
2789 PyObject * _resultobj;
2790 int _result;
2791 wxStyledTextCtrl * _arg0;
2792 int _arg1;
2793 PyObject * _argo0 = 0;
2794 char *_kwnames[] = { "self","line", NULL };
2795
2796 self = self;
2797 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_GetLineState",_kwnames,&_argo0,&_arg1))
2798 return NULL;
2799 if (_argo0) {
2800 if (_argo0 == Py_None) { _arg0 = NULL; }
2801 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
2802 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetLineState. Expected _wxStyledTextCtrl_p.");
2803 return NULL;
2804 }
2805 }
2806{
2807 wxPy_BEGIN_ALLOW_THREADS;
2808 _result = (int )wxStyledTextCtrl_GetLineState(_arg0,_arg1);
2809
2810 wxPy_END_ALLOW_THREADS;
2811} _resultobj = Py_BuildValue("i",_result);
2812 return _resultobj;
2813}
2814
fe47ec10
RD
2815#define wxStyledTextCtrl_GetMaxLineState(_swigobj) (_swigobj->GetMaxLineState())
2816static PyObject *_wrap_wxStyledTextCtrl_GetMaxLineState(PyObject *self, PyObject *args, PyObject *kwargs) {
f6bcfd97 2817 PyObject * _resultobj;
fe47ec10 2818 int _result;
f6bcfd97
BP
2819 wxStyledTextCtrl * _arg0;
2820 PyObject * _argo0 = 0;
2821 char *_kwnames[] = { "self", NULL };
2822
2823 self = self;
fe47ec10 2824 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetMaxLineState",_kwnames,&_argo0))
f6bcfd97
BP
2825 return NULL;
2826 if (_argo0) {
2827 if (_argo0 == Py_None) { _arg0 = NULL; }
2828 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
fe47ec10 2829 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetMaxLineState. Expected _wxStyledTextCtrl_p.");
f6bcfd97
BP
2830 return NULL;
2831 }
2832 }
2833{
2834 wxPy_BEGIN_ALLOW_THREADS;
fe47ec10 2835 _result = (int )wxStyledTextCtrl_GetMaxLineState(_arg0);
f6bcfd97
BP
2836
2837 wxPy_END_ALLOW_THREADS;
fe47ec10 2838} _resultobj = Py_BuildValue("i",_result);
f6bcfd97
BP
2839 return _resultobj;
2840}
2841
fe47ec10
RD
2842#define wxStyledTextCtrl_AutoCompShow(_swigobj,_swigarg0,_swigarg1) (_swigobj->AutoCompShow(_swigarg0,_swigarg1))
2843static PyObject *_wrap_wxStyledTextCtrl_AutoCompShow(PyObject *self, PyObject *args, PyObject *kwargs) {
f6bcfd97
BP
2844 PyObject * _resultobj;
2845 wxStyledTextCtrl * _arg0;
fe47ec10
RD
2846 int _arg1;
2847 wxString * _arg2;
f6bcfd97 2848 PyObject * _argo0 = 0;
fe47ec10
RD
2849 PyObject * _obj2 = 0;
2850 char *_kwnames[] = { "self","lenEntered","itemList", NULL };
f6bcfd97
BP
2851
2852 self = self;
fe47ec10 2853 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxStyledTextCtrl_AutoCompShow",_kwnames,&_argo0,&_arg1,&_obj2))
f6bcfd97
BP
2854 return NULL;
2855 if (_argo0) {
2856 if (_argo0 == Py_None) { _arg0 = NULL; }
2857 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
fe47ec10 2858 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_AutoCompShow. Expected _wxStyledTextCtrl_p.");
f6bcfd97
BP
2859 return NULL;
2860 }
2861 }
fe47ec10 2862{
185d7c3e
RD
2863#if PYTHON_API_VERSION >= 1009
2864 char* tmpPtr; int tmpSize;
2865 if (!PyString_Check(_obj2) && !PyUnicode_Check(_obj2)) {
2866 PyErr_SetString(PyExc_TypeError, "String or Unicode type required");
2867 return NULL;
2868 }
2869 if (PyString_AsStringAndSize(_obj2, &tmpPtr, &tmpSize) == -1)
2870 return NULL;
2871 _arg2 = new wxString(tmpPtr, tmpSize);
2872#else
fe47ec10
RD
2873 if (!PyString_Check(_obj2)) {
2874 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
2875 return NULL;
2876 }
185d7c3e
RD
2877 _arg2 = new wxString(PyString_AS_STRING(_obj2), PyString_GET_SIZE(_obj2));
2878#endif
fe47ec10 2879}
f6bcfd97
BP
2880{
2881 wxPy_BEGIN_ALLOW_THREADS;
fe47ec10 2882 wxStyledTextCtrl_AutoCompShow(_arg0,_arg1,*_arg2);
f6bcfd97
BP
2883
2884 wxPy_END_ALLOW_THREADS;
2885} Py_INCREF(Py_None);
2886 _resultobj = Py_None;
fe47ec10
RD
2887{
2888 if (_obj2)
2889 delete _arg2;
2890}
f6bcfd97
BP
2891 return _resultobj;
2892}
2893
fe47ec10
RD
2894#define wxStyledTextCtrl_AutoCompCancel(_swigobj) (_swigobj->AutoCompCancel())
2895static PyObject *_wrap_wxStyledTextCtrl_AutoCompCancel(PyObject *self, PyObject *args, PyObject *kwargs) {
f6bcfd97
BP
2896 PyObject * _resultobj;
2897 wxStyledTextCtrl * _arg0;
f6bcfd97 2898 PyObject * _argo0 = 0;
fe47ec10 2899 char *_kwnames[] = { "self", NULL };
f6bcfd97
BP
2900
2901 self = self;
fe47ec10 2902 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_AutoCompCancel",_kwnames,&_argo0))
f6bcfd97
BP
2903 return NULL;
2904 if (_argo0) {
2905 if (_argo0 == Py_None) { _arg0 = NULL; }
2906 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
fe47ec10 2907 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_AutoCompCancel. Expected _wxStyledTextCtrl_p.");
f6bcfd97
BP
2908 return NULL;
2909 }
2910 }
f6bcfd97
BP
2911{
2912 wxPy_BEGIN_ALLOW_THREADS;
fe47ec10 2913 wxStyledTextCtrl_AutoCompCancel(_arg0);
f6bcfd97
BP
2914
2915 wxPy_END_ALLOW_THREADS;
2916} Py_INCREF(Py_None);
2917 _resultobj = Py_None;
f6bcfd97
BP
2918 return _resultobj;
2919}
2920
fe47ec10
RD
2921#define wxStyledTextCtrl_AutoCompActive(_swigobj) (_swigobj->AutoCompActive())
2922static PyObject *_wrap_wxStyledTextCtrl_AutoCompActive(PyObject *self, PyObject *args, PyObject *kwargs) {
f6bcfd97 2923 PyObject * _resultobj;
fe47ec10 2924 bool _result;
f6bcfd97 2925 wxStyledTextCtrl * _arg0;
f6bcfd97 2926 PyObject * _argo0 = 0;
fe47ec10 2927 char *_kwnames[] = { "self", NULL };
f6bcfd97
BP
2928
2929 self = self;
fe47ec10 2930 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_AutoCompActive",_kwnames,&_argo0))
f6bcfd97
BP
2931 return NULL;
2932 if (_argo0) {
2933 if (_argo0 == Py_None) { _arg0 = NULL; }
2934 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
fe47ec10 2935 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_AutoCompActive. Expected _wxStyledTextCtrl_p.");
f6bcfd97
BP
2936 return NULL;
2937 }
2938 }
f6bcfd97
BP
2939{
2940 wxPy_BEGIN_ALLOW_THREADS;
fe47ec10 2941 _result = (bool )wxStyledTextCtrl_AutoCompActive(_arg0);
f6bcfd97
BP
2942
2943 wxPy_END_ALLOW_THREADS;
fe47ec10 2944} _resultobj = Py_BuildValue("i",_result);
f6bcfd97
BP
2945 return _resultobj;
2946}
2947
fe47ec10
RD
2948#define wxStyledTextCtrl_AutoCompPosStart(_swigobj) (_swigobj->AutoCompPosStart())
2949static PyObject *_wrap_wxStyledTextCtrl_AutoCompPosStart(PyObject *self, PyObject *args, PyObject *kwargs) {
f6bcfd97 2950 PyObject * _resultobj;
fe47ec10 2951 int _result;
f6bcfd97 2952 wxStyledTextCtrl * _arg0;
f6bcfd97 2953 PyObject * _argo0 = 0;
fe47ec10 2954 char *_kwnames[] = { "self", NULL };
f6bcfd97
BP
2955
2956 self = self;
fe47ec10 2957 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_AutoCompPosStart",_kwnames,&_argo0))
f6bcfd97
BP
2958 return NULL;
2959 if (_argo0) {
2960 if (_argo0 == Py_None) { _arg0 = NULL; }
2961 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
fe47ec10 2962 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_AutoCompPosStart. Expected _wxStyledTextCtrl_p.");
f6bcfd97
BP
2963 return NULL;
2964 }
2965 }
f6bcfd97
BP
2966{
2967 wxPy_BEGIN_ALLOW_THREADS;
fe47ec10 2968 _result = (int )wxStyledTextCtrl_AutoCompPosStart(_arg0);
f6bcfd97
BP
2969
2970 wxPy_END_ALLOW_THREADS;
fe47ec10 2971} _resultobj = Py_BuildValue("i",_result);
f6bcfd97
BP
2972 return _resultobj;
2973}
2974
fe47ec10
RD
2975#define wxStyledTextCtrl_AutoCompComplete(_swigobj) (_swigobj->AutoCompComplete())
2976static PyObject *_wrap_wxStyledTextCtrl_AutoCompComplete(PyObject *self, PyObject *args, PyObject *kwargs) {
f6bcfd97
BP
2977 PyObject * _resultobj;
2978 wxStyledTextCtrl * _arg0;
f6bcfd97 2979 PyObject * _argo0 = 0;
fe47ec10 2980 char *_kwnames[] = { "self", NULL };
f6bcfd97
BP
2981
2982 self = self;
fe47ec10 2983 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_AutoCompComplete",_kwnames,&_argo0))
f6bcfd97
BP
2984 return NULL;
2985 if (_argo0) {
2986 if (_argo0 == Py_None) { _arg0 = NULL; }
2987 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
fe47ec10 2988 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_AutoCompComplete. Expected _wxStyledTextCtrl_p.");
f6bcfd97
BP
2989 return NULL;
2990 }
2991 }
2992{
2993 wxPy_BEGIN_ALLOW_THREADS;
fe47ec10 2994 wxStyledTextCtrl_AutoCompComplete(_arg0);
f6bcfd97
BP
2995
2996 wxPy_END_ALLOW_THREADS;
2997} Py_INCREF(Py_None);
2998 _resultobj = Py_None;
2999 return _resultobj;
3000}
3001
fe47ec10
RD
3002#define wxStyledTextCtrl_AutoCompStops(_swigobj,_swigarg0) (_swigobj->AutoCompStops(_swigarg0))
3003static PyObject *_wrap_wxStyledTextCtrl_AutoCompStops(PyObject *self, PyObject *args, PyObject *kwargs) {
f6bcfd97
BP
3004 PyObject * _resultobj;
3005 wxStyledTextCtrl * _arg0;
fe47ec10 3006 wxString * _arg1;
f6bcfd97 3007 PyObject * _argo0 = 0;
fe47ec10
RD
3008 PyObject * _obj1 = 0;
3009 char *_kwnames[] = { "self","characterSet", NULL };
f6bcfd97
BP
3010
3011 self = self;
fe47ec10 3012 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxStyledTextCtrl_AutoCompStops",_kwnames,&_argo0,&_obj1))
f6bcfd97
BP
3013 return NULL;
3014 if (_argo0) {
3015 if (_argo0 == Py_None) { _arg0 = NULL; }
3016 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
fe47ec10 3017 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_AutoCompStops. Expected _wxStyledTextCtrl_p.");
f6bcfd97
BP
3018 return NULL;
3019 }
3020 }
3021{
185d7c3e
RD
3022#if PYTHON_API_VERSION >= 1009
3023 char* tmpPtr; int tmpSize;
3024 if (!PyString_Check(_obj1) && !PyUnicode_Check(_obj1)) {
3025 PyErr_SetString(PyExc_TypeError, "String or Unicode type required");
3026 return NULL;
3027 }
3028 if (PyString_AsStringAndSize(_obj1, &tmpPtr, &tmpSize) == -1)
3029 return NULL;
3030 _arg1 = new wxString(tmpPtr, tmpSize);
3031#else
fe47ec10 3032 if (!PyString_Check(_obj1)) {
f6bcfd97
BP
3033 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
3034 return NULL;
3035 }
185d7c3e
RD
3036 _arg1 = new wxString(PyString_AS_STRING(_obj1), PyString_GET_SIZE(_obj1));
3037#endif
f6bcfd97 3038}
f6bcfd97
BP
3039{
3040 wxPy_BEGIN_ALLOW_THREADS;
fe47ec10 3041 wxStyledTextCtrl_AutoCompStops(_arg0,*_arg1);
f6bcfd97
BP
3042
3043 wxPy_END_ALLOW_THREADS;
3044} Py_INCREF(Py_None);
3045 _resultobj = Py_None;
3046{
fe47ec10
RD
3047 if (_obj1)
3048 delete _arg1;
f6bcfd97
BP
3049}
3050 return _resultobj;
3051}
3052
fe47ec10
RD
3053#define wxStyledTextCtrl_AutoCompSetSeparator(_swigobj,_swigarg0) (_swigobj->AutoCompSetSeparator(_swigarg0))
3054static PyObject *_wrap_wxStyledTextCtrl_AutoCompSetSeparator(PyObject *self, PyObject *args, PyObject *kwargs) {
f6bcfd97
BP
3055 PyObject * _resultobj;
3056 wxStyledTextCtrl * _arg0;
3057 int _arg1;
f6bcfd97 3058 PyObject * _argo0 = 0;
fe47ec10 3059 char *_kwnames[] = { "self","separatorCharacter", NULL };
f6bcfd97
BP
3060
3061 self = self;
fe47ec10 3062 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_AutoCompSetSeparator",_kwnames,&_argo0,&_arg1))
f6bcfd97
BP
3063 return NULL;
3064 if (_argo0) {
3065 if (_argo0 == Py_None) { _arg0 = NULL; }
3066 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
fe47ec10 3067 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_AutoCompSetSeparator. Expected _wxStyledTextCtrl_p.");
f6bcfd97
BP
3068 return NULL;
3069 }
3070 }
f6bcfd97
BP
3071{
3072 wxPy_BEGIN_ALLOW_THREADS;
fe47ec10 3073 wxStyledTextCtrl_AutoCompSetSeparator(_arg0,_arg1);
f6bcfd97
BP
3074
3075 wxPy_END_ALLOW_THREADS;
3076} Py_INCREF(Py_None);
3077 _resultobj = Py_None;
3078 return _resultobj;
3079}
3080
fe47ec10
RD
3081#define wxStyledTextCtrl_AutoCompGetSeparator(_swigobj) (_swigobj->AutoCompGetSeparator())
3082static PyObject *_wrap_wxStyledTextCtrl_AutoCompGetSeparator(PyObject *self, PyObject *args, PyObject *kwargs) {
f6bcfd97 3083 PyObject * _resultobj;
fe47ec10 3084 int _result;
f6bcfd97 3085 wxStyledTextCtrl * _arg0;
f6bcfd97 3086 PyObject * _argo0 = 0;
fe47ec10 3087 char *_kwnames[] = { "self", NULL };
f6bcfd97
BP
3088
3089 self = self;
fe47ec10 3090 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_AutoCompGetSeparator",_kwnames,&_argo0))
f6bcfd97
BP
3091 return NULL;
3092 if (_argo0) {
3093 if (_argo0 == Py_None) { _arg0 = NULL; }
3094 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
fe47ec10 3095 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_AutoCompGetSeparator. Expected _wxStyledTextCtrl_p.");
f6bcfd97
BP
3096 return NULL;
3097 }
3098 }
f6bcfd97
BP
3099{
3100 wxPy_BEGIN_ALLOW_THREADS;
fe47ec10 3101 _result = (int )wxStyledTextCtrl_AutoCompGetSeparator(_arg0);
f6bcfd97
BP
3102
3103 wxPy_END_ALLOW_THREADS;
fe47ec10 3104} _resultobj = Py_BuildValue("i",_result);
f6bcfd97
BP
3105 return _resultobj;
3106}
3107
fe47ec10
RD
3108#define wxStyledTextCtrl_AutoCompSelect(_swigobj,_swigarg0) (_swigobj->AutoCompSelect(_swigarg0))
3109static PyObject *_wrap_wxStyledTextCtrl_AutoCompSelect(PyObject *self, PyObject *args, PyObject *kwargs) {
f6bcfd97
BP
3110 PyObject * _resultobj;
3111 wxStyledTextCtrl * _arg0;
fe47ec10 3112 wxString * _arg1;
f6bcfd97 3113 PyObject * _argo0 = 0;
fe47ec10
RD
3114 PyObject * _obj1 = 0;
3115 char *_kwnames[] = { "self","text", NULL };
f6bcfd97
BP
3116
3117 self = self;
fe47ec10 3118 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxStyledTextCtrl_AutoCompSelect",_kwnames,&_argo0,&_obj1))
f6bcfd97
BP
3119 return NULL;
3120 if (_argo0) {
3121 if (_argo0 == Py_None) { _arg0 = NULL; }
3122 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
fe47ec10 3123 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_AutoCompSelect. Expected _wxStyledTextCtrl_p.");
f6bcfd97
BP
3124 return NULL;
3125 }
3126 }
3127{
185d7c3e
RD
3128#if PYTHON_API_VERSION >= 1009
3129 char* tmpPtr; int tmpSize;
3130 if (!PyString_Check(_obj1) && !PyUnicode_Check(_obj1)) {
3131 PyErr_SetString(PyExc_TypeError, "String or Unicode type required");
3132 return NULL;
3133 }
3134 if (PyString_AsStringAndSize(_obj1, &tmpPtr, &tmpSize) == -1)
3135 return NULL;
3136 _arg1 = new wxString(tmpPtr, tmpSize);
3137#else
fe47ec10 3138 if (!PyString_Check(_obj1)) {
f6bcfd97
BP
3139 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
3140 return NULL;
3141 }
185d7c3e
RD
3142 _arg1 = new wxString(PyString_AS_STRING(_obj1), PyString_GET_SIZE(_obj1));
3143#endif
f6bcfd97
BP
3144}
3145{
3146 wxPy_BEGIN_ALLOW_THREADS;
fe47ec10 3147 wxStyledTextCtrl_AutoCompSelect(_arg0,*_arg1);
f6bcfd97
BP
3148
3149 wxPy_END_ALLOW_THREADS;
3150} Py_INCREF(Py_None);
3151 _resultobj = Py_None;
3152{
fe47ec10
RD
3153 if (_obj1)
3154 delete _arg1;
f6bcfd97
BP
3155}
3156 return _resultobj;
3157}
3158
fe47ec10
RD
3159#define wxStyledTextCtrl_AutoCompSetCancelAtStart(_swigobj,_swigarg0) (_swigobj->AutoCompSetCancelAtStart(_swigarg0))
3160static PyObject *_wrap_wxStyledTextCtrl_AutoCompSetCancelAtStart(PyObject *self, PyObject *args, PyObject *kwargs) {
f6bcfd97
BP
3161 PyObject * _resultobj;
3162 wxStyledTextCtrl * _arg0;
fe47ec10 3163 bool _arg1;
f6bcfd97 3164 PyObject * _argo0 = 0;
fe47ec10
RD
3165 int tempbool1;
3166 char *_kwnames[] = { "self","cancel", NULL };
f6bcfd97
BP
3167
3168 self = self;
fe47ec10 3169 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_AutoCompSetCancelAtStart",_kwnames,&_argo0,&tempbool1))
f6bcfd97
BP
3170 return NULL;
3171 if (_argo0) {
3172 if (_argo0 == Py_None) { _arg0 = NULL; }
3173 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
fe47ec10 3174 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_AutoCompSetCancelAtStart. Expected _wxStyledTextCtrl_p.");
f6bcfd97
BP
3175 return NULL;
3176 }
3177 }
fe47ec10 3178 _arg1 = (bool ) tempbool1;
f6bcfd97
BP
3179{
3180 wxPy_BEGIN_ALLOW_THREADS;
fe47ec10 3181 wxStyledTextCtrl_AutoCompSetCancelAtStart(_arg0,_arg1);
f6bcfd97
BP
3182
3183 wxPy_END_ALLOW_THREADS;
3184} Py_INCREF(Py_None);
3185 _resultobj = Py_None;
3186 return _resultobj;
3187}
3188
fe47ec10
RD
3189#define wxStyledTextCtrl_AutoCompGetCancelAtStart(_swigobj) (_swigobj->AutoCompGetCancelAtStart())
3190static PyObject *_wrap_wxStyledTextCtrl_AutoCompGetCancelAtStart(PyObject *self, PyObject *args, PyObject *kwargs) {
f6bcfd97 3191 PyObject * _resultobj;
fe47ec10 3192 bool _result;
f6bcfd97 3193 wxStyledTextCtrl * _arg0;
f6bcfd97 3194 PyObject * _argo0 = 0;
fe47ec10 3195 char *_kwnames[] = { "self", NULL };
f6bcfd97
BP
3196
3197 self = self;
fe47ec10 3198 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_AutoCompGetCancelAtStart",_kwnames,&_argo0))
f6bcfd97
BP
3199 return NULL;
3200 if (_argo0) {
3201 if (_argo0 == Py_None) { _arg0 = NULL; }
3202 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
fe47ec10 3203 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_AutoCompGetCancelAtStart. Expected _wxStyledTextCtrl_p.");
f6bcfd97
BP
3204 return NULL;
3205 }
3206 }
f6bcfd97
BP
3207{
3208 wxPy_BEGIN_ALLOW_THREADS;
fe47ec10 3209 _result = (bool )wxStyledTextCtrl_AutoCompGetCancelAtStart(_arg0);
f6bcfd97
BP
3210
3211 wxPy_END_ALLOW_THREADS;
fe47ec10 3212} _resultobj = Py_BuildValue("i",_result);
f6bcfd97
BP
3213 return _resultobj;
3214}
3215
fe47ec10
RD
3216#define wxStyledTextCtrl_AutoCompSetFillUps(_swigobj,_swigarg0) (_swigobj->AutoCompSetFillUps(_swigarg0))
3217static PyObject *_wrap_wxStyledTextCtrl_AutoCompSetFillUps(PyObject *self, PyObject *args, PyObject *kwargs) {
f6bcfd97
BP
3218 PyObject * _resultobj;
3219 wxStyledTextCtrl * _arg0;
fe47ec10 3220 wxString * _arg1;
f6bcfd97 3221 PyObject * _argo0 = 0;
fe47ec10
RD
3222 PyObject * _obj1 = 0;
3223 char *_kwnames[] = { "self","characterSet", NULL };
f6bcfd97
BP
3224
3225 self = self;
fe47ec10 3226 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxStyledTextCtrl_AutoCompSetFillUps",_kwnames,&_argo0,&_obj1))
f6bcfd97
BP
3227 return NULL;
3228 if (_argo0) {
3229 if (_argo0 == Py_None) { _arg0 = NULL; }
3230 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
fe47ec10 3231 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_AutoCompSetFillUps. Expected _wxStyledTextCtrl_p.");
f6bcfd97
BP
3232 return NULL;
3233 }
3234 }
fe47ec10 3235{
185d7c3e
RD
3236#if PYTHON_API_VERSION >= 1009
3237 char* tmpPtr; int tmpSize;
3238 if (!PyString_Check(_obj1) && !PyUnicode_Check(_obj1)) {
3239 PyErr_SetString(PyExc_TypeError, "String or Unicode type required");
3240 return NULL;
3241 }
3242 if (PyString_AsStringAndSize(_obj1, &tmpPtr, &tmpSize) == -1)
3243 return NULL;
3244 _arg1 = new wxString(tmpPtr, tmpSize);
3245#else
fe47ec10
RD
3246 if (!PyString_Check(_obj1)) {
3247 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
3248 return NULL;
3249 }
185d7c3e
RD
3250 _arg1 = new wxString(PyString_AS_STRING(_obj1), PyString_GET_SIZE(_obj1));
3251#endif
fe47ec10 3252}
f6bcfd97
BP
3253{
3254 wxPy_BEGIN_ALLOW_THREADS;
fe47ec10 3255 wxStyledTextCtrl_AutoCompSetFillUps(_arg0,*_arg1);
f6bcfd97
BP
3256
3257 wxPy_END_ALLOW_THREADS;
3258} Py_INCREF(Py_None);
3259 _resultobj = Py_None;
fe47ec10
RD
3260{
3261 if (_obj1)
3262 delete _arg1;
3263}
f6bcfd97
BP
3264 return _resultobj;
3265}
3266
fe47ec10
RD
3267#define wxStyledTextCtrl_AutoCompSetChooseSingle(_swigobj,_swigarg0) (_swigobj->AutoCompSetChooseSingle(_swigarg0))
3268static PyObject *_wrap_wxStyledTextCtrl_AutoCompSetChooseSingle(PyObject *self, PyObject *args, PyObject *kwargs) {
f6bcfd97 3269 PyObject * _resultobj;
f6bcfd97 3270 wxStyledTextCtrl * _arg0;
fe47ec10 3271 bool _arg1;
f6bcfd97 3272 PyObject * _argo0 = 0;
fe47ec10
RD
3273 int tempbool1;
3274 char *_kwnames[] = { "self","chooseSingle", NULL };
f6bcfd97
BP
3275
3276 self = self;
fe47ec10 3277 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_AutoCompSetChooseSingle",_kwnames,&_argo0,&tempbool1))
f6bcfd97
BP
3278 return NULL;
3279 if (_argo0) {
3280 if (_argo0 == Py_None) { _arg0 = NULL; }
3281 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
fe47ec10 3282 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_AutoCompSetChooseSingle. Expected _wxStyledTextCtrl_p.");
f6bcfd97
BP
3283 return NULL;
3284 }
3285 }
fe47ec10 3286 _arg1 = (bool ) tempbool1;
f6bcfd97
BP
3287{
3288 wxPy_BEGIN_ALLOW_THREADS;
fe47ec10 3289 wxStyledTextCtrl_AutoCompSetChooseSingle(_arg0,_arg1);
f6bcfd97
BP
3290
3291 wxPy_END_ALLOW_THREADS;
fe47ec10
RD
3292} Py_INCREF(Py_None);
3293 _resultobj = Py_None;
f6bcfd97
BP
3294 return _resultobj;
3295}
3296
fe47ec10
RD
3297#define wxStyledTextCtrl_AutoCompGetChooseSingle(_swigobj) (_swigobj->AutoCompGetChooseSingle())
3298static PyObject *_wrap_wxStyledTextCtrl_AutoCompGetChooseSingle(PyObject *self, PyObject *args, PyObject *kwargs) {
f6bcfd97 3299 PyObject * _resultobj;
fe47ec10 3300 bool _result;
f6bcfd97
BP
3301 wxStyledTextCtrl * _arg0;
3302 PyObject * _argo0 = 0;
3303 char *_kwnames[] = { "self", NULL };
3304
3305 self = self;
fe47ec10 3306 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_AutoCompGetChooseSingle",_kwnames,&_argo0))
f6bcfd97
BP
3307 return NULL;
3308 if (_argo0) {
3309 if (_argo0 == Py_None) { _arg0 = NULL; }
3310 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
fe47ec10 3311 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_AutoCompGetChooseSingle. Expected _wxStyledTextCtrl_p.");
f6bcfd97
BP
3312 return NULL;
3313 }
3314 }
3315{
3316 wxPy_BEGIN_ALLOW_THREADS;
fe47ec10 3317 _result = (bool )wxStyledTextCtrl_AutoCompGetChooseSingle(_arg0);
f6bcfd97
BP
3318
3319 wxPy_END_ALLOW_THREADS;
3320} _resultobj = Py_BuildValue("i",_result);
3321 return _resultobj;
3322}
3323
fe47ec10
RD
3324#define wxStyledTextCtrl_AutoCompSetIgnoreCase(_swigobj,_swigarg0) (_swigobj->AutoCompSetIgnoreCase(_swigarg0))
3325static PyObject *_wrap_wxStyledTextCtrl_AutoCompSetIgnoreCase(PyObject *self, PyObject *args, PyObject *kwargs) {
f6bcfd97
BP
3326 PyObject * _resultobj;
3327 wxStyledTextCtrl * _arg0;
fe47ec10 3328 bool _arg1;
f6bcfd97 3329 PyObject * _argo0 = 0;
fe47ec10
RD
3330 int tempbool1;
3331 char *_kwnames[] = { "self","ignoreCase", NULL };
f6bcfd97
BP
3332
3333 self = self;
fe47ec10 3334 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_AutoCompSetIgnoreCase",_kwnames,&_argo0,&tempbool1))
f6bcfd97
BP
3335 return NULL;
3336 if (_argo0) {
3337 if (_argo0 == Py_None) { _arg0 = NULL; }
3338 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
fe47ec10 3339 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_AutoCompSetIgnoreCase. Expected _wxStyledTextCtrl_p.");
f6bcfd97
BP
3340 return NULL;
3341 }
3342 }
fe47ec10 3343 _arg1 = (bool ) tempbool1;
f6bcfd97
BP
3344{
3345 wxPy_BEGIN_ALLOW_THREADS;
fe47ec10 3346 wxStyledTextCtrl_AutoCompSetIgnoreCase(_arg0,_arg1);
f6bcfd97
BP
3347
3348 wxPy_END_ALLOW_THREADS;
3349} Py_INCREF(Py_None);
3350 _resultobj = Py_None;
3351 return _resultobj;
3352}
3353
fe47ec10
RD
3354#define wxStyledTextCtrl_AutoCompGetIgnoreCase(_swigobj) (_swigobj->AutoCompGetIgnoreCase())
3355static PyObject *_wrap_wxStyledTextCtrl_AutoCompGetIgnoreCase(PyObject *self, PyObject *args, PyObject *kwargs) {
3356 PyObject * _resultobj;
3357 bool _result;
3358 wxStyledTextCtrl * _arg0;
3359 PyObject * _argo0 = 0;
3360 char *_kwnames[] = { "self", NULL };
3361
3362 self = self;
3363 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_AutoCompGetIgnoreCase",_kwnames,&_argo0))
3364 return NULL;
3365 if (_argo0) {
3366 if (_argo0 == Py_None) { _arg0 = NULL; }
3367 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
3368 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_AutoCompGetIgnoreCase. Expected _wxStyledTextCtrl_p.");
3369 return NULL;
3370 }
3371 }
3372{
3373 wxPy_BEGIN_ALLOW_THREADS;
3374 _result = (bool )wxStyledTextCtrl_AutoCompGetIgnoreCase(_arg0);
3375
3376 wxPy_END_ALLOW_THREADS;
3377} _resultobj = Py_BuildValue("i",_result);
3378 return _resultobj;
3379}
3380
3381#define wxStyledTextCtrl_SetIndent(_swigobj,_swigarg0) (_swigobj->SetIndent(_swigarg0))
3382static PyObject *_wrap_wxStyledTextCtrl_SetIndent(PyObject *self, PyObject *args, PyObject *kwargs) {
f6bcfd97
BP
3383 PyObject * _resultobj;
3384 wxStyledTextCtrl * _arg0;
3385 int _arg1;
f6bcfd97 3386 PyObject * _argo0 = 0;
fe47ec10 3387 char *_kwnames[] = { "self","indentSize", NULL };
f6bcfd97
BP
3388
3389 self = self;
fe47ec10 3390 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_SetIndent",_kwnames,&_argo0,&_arg1))
f6bcfd97
BP
3391 return NULL;
3392 if (_argo0) {
3393 if (_argo0 == Py_None) { _arg0 = NULL; }
3394 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
fe47ec10 3395 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetIndent. Expected _wxStyledTextCtrl_p.");
f6bcfd97
BP
3396 return NULL;
3397 }
3398 }
3399{
3400 wxPy_BEGIN_ALLOW_THREADS;
fe47ec10 3401 wxStyledTextCtrl_SetIndent(_arg0,_arg1);
f6bcfd97
BP
3402
3403 wxPy_END_ALLOW_THREADS;
3404} Py_INCREF(Py_None);
3405 _resultobj = Py_None;
3406 return _resultobj;
3407}
3408
fe47ec10
RD
3409#define wxStyledTextCtrl_GetIndent(_swigobj) (_swigobj->GetIndent())
3410static PyObject *_wrap_wxStyledTextCtrl_GetIndent(PyObject *self, PyObject *args, PyObject *kwargs) {
f6bcfd97
BP
3411 PyObject * _resultobj;
3412 int _result;
3413 wxStyledTextCtrl * _arg0;
f6bcfd97 3414 PyObject * _argo0 = 0;
fe47ec10 3415 char *_kwnames[] = { "self", NULL };
f6bcfd97
BP
3416
3417 self = self;
fe47ec10 3418 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetIndent",_kwnames,&_argo0))
f6bcfd97
BP
3419 return NULL;
3420 if (_argo0) {
3421 if (_argo0 == Py_None) { _arg0 = NULL; }
3422 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
fe47ec10 3423 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetIndent. Expected _wxStyledTextCtrl_p.");
f6bcfd97
BP
3424 return NULL;
3425 }
3426 }
3427{
3428 wxPy_BEGIN_ALLOW_THREADS;
fe47ec10 3429 _result = (int )wxStyledTextCtrl_GetIndent(_arg0);
f6bcfd97
BP
3430
3431 wxPy_END_ALLOW_THREADS;
3432} _resultobj = Py_BuildValue("i",_result);
3433 return _resultobj;
3434}
3435
fe47ec10
RD
3436#define wxStyledTextCtrl_SetUseTabs(_swigobj,_swigarg0) (_swigobj->SetUseTabs(_swigarg0))
3437static PyObject *_wrap_wxStyledTextCtrl_SetUseTabs(PyObject *self, PyObject *args, PyObject *kwargs) {
f6bcfd97
BP
3438 PyObject * _resultobj;
3439 wxStyledTextCtrl * _arg0;
fe47ec10 3440 bool _arg1;
f6bcfd97 3441 PyObject * _argo0 = 0;
fe47ec10
RD
3442 int tempbool1;
3443 char *_kwnames[] = { "self","useTabs", NULL };
f6bcfd97
BP
3444
3445 self = self;
fe47ec10 3446 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_SetUseTabs",_kwnames,&_argo0,&tempbool1))
f6bcfd97
BP
3447 return NULL;
3448 if (_argo0) {
3449 if (_argo0 == Py_None) { _arg0 = NULL; }
3450 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
fe47ec10 3451 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetUseTabs. Expected _wxStyledTextCtrl_p.");
f6bcfd97
BP
3452 return NULL;
3453 }
3454 }
fe47ec10 3455 _arg1 = (bool ) tempbool1;
f6bcfd97
BP
3456{
3457 wxPy_BEGIN_ALLOW_THREADS;
fe47ec10 3458 wxStyledTextCtrl_SetUseTabs(_arg0,_arg1);
f6bcfd97
BP
3459
3460 wxPy_END_ALLOW_THREADS;
3461} Py_INCREF(Py_None);
3462 _resultobj = Py_None;
3463 return _resultobj;
3464}
3465
fe47ec10
RD
3466#define wxStyledTextCtrl_GetUseTabs(_swigobj) (_swigobj->GetUseTabs())
3467static PyObject *_wrap_wxStyledTextCtrl_GetUseTabs(PyObject *self, PyObject *args, PyObject *kwargs) {
f6bcfd97 3468 PyObject * _resultobj;
fe47ec10 3469 bool _result;
f6bcfd97 3470 wxStyledTextCtrl * _arg0;
f6bcfd97 3471 PyObject * _argo0 = 0;
fe47ec10 3472 char *_kwnames[] = { "self", NULL };
f6bcfd97
BP
3473
3474 self = self;
fe47ec10 3475 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetUseTabs",_kwnames,&_argo0))
f6bcfd97
BP
3476 return NULL;
3477 if (_argo0) {
3478 if (_argo0 == Py_None) { _arg0 = NULL; }
3479 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
fe47ec10 3480 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetUseTabs. Expected _wxStyledTextCtrl_p.");
f6bcfd97
BP
3481 return NULL;
3482 }
3483 }
3484{
3485 wxPy_BEGIN_ALLOW_THREADS;
fe47ec10 3486 _result = (bool )wxStyledTextCtrl_GetUseTabs(_arg0);
f6bcfd97
BP
3487
3488 wxPy_END_ALLOW_THREADS;
3489} _resultobj = Py_BuildValue("i",_result);
3490 return _resultobj;
3491}
3492
fe47ec10
RD
3493#define wxStyledTextCtrl_SetLineIndentation(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetLineIndentation(_swigarg0,_swigarg1))
3494static PyObject *_wrap_wxStyledTextCtrl_SetLineIndentation(PyObject *self, PyObject *args, PyObject *kwargs) {
f6bcfd97
BP
3495 PyObject * _resultobj;
3496 wxStyledTextCtrl * _arg0;
3497 int _arg1;
3498 int _arg2;
3499 PyObject * _argo0 = 0;
fe47ec10 3500 char *_kwnames[] = { "self","line","indentSize", NULL };
f6bcfd97
BP
3501
3502 self = self;
fe47ec10 3503 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxStyledTextCtrl_SetLineIndentation",_kwnames,&_argo0,&_arg1,&_arg2))
f6bcfd97
BP
3504 return NULL;
3505 if (_argo0) {
3506 if (_argo0 == Py_None) { _arg0 = NULL; }
3507 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
fe47ec10 3508 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetLineIndentation. Expected _wxStyledTextCtrl_p.");
f6bcfd97
BP
3509 return NULL;
3510 }
3511 }
3512{
3513 wxPy_BEGIN_ALLOW_THREADS;
fe47ec10 3514 wxStyledTextCtrl_SetLineIndentation(_arg0,_arg1,_arg2);
f6bcfd97
BP
3515
3516 wxPy_END_ALLOW_THREADS;
3517} Py_INCREF(Py_None);
3518 _resultobj = Py_None;
3519 return _resultobj;
3520}
3521
fe47ec10
RD
3522#define wxStyledTextCtrl_GetLineIndentation(_swigobj,_swigarg0) (_swigobj->GetLineIndentation(_swigarg0))
3523static PyObject *_wrap_wxStyledTextCtrl_GetLineIndentation(PyObject *self, PyObject *args, PyObject *kwargs) {
f6bcfd97
BP
3524 PyObject * _resultobj;
3525 int _result;
3526 wxStyledTextCtrl * _arg0;
3527 int _arg1;
3528 PyObject * _argo0 = 0;
fe47ec10 3529 char *_kwnames[] = { "self","line", NULL };
f6bcfd97
BP
3530
3531 self = self;
fe47ec10 3532 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_GetLineIndentation",_kwnames,&_argo0,&_arg1))
f6bcfd97
BP
3533 return NULL;
3534 if (_argo0) {
3535 if (_argo0 == Py_None) { _arg0 = NULL; }
3536 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
fe47ec10 3537 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetLineIndentation. Expected _wxStyledTextCtrl_p.");
f6bcfd97
BP
3538 return NULL;
3539 }
3540 }
3541{
3542 wxPy_BEGIN_ALLOW_THREADS;
fe47ec10 3543 _result = (int )wxStyledTextCtrl_GetLineIndentation(_arg0,_arg1);
f6bcfd97
BP
3544
3545 wxPy_END_ALLOW_THREADS;
3546} _resultobj = Py_BuildValue("i",_result);
3547 return _resultobj;
3548}
3549
fe47ec10
RD
3550#define wxStyledTextCtrl_GetLineIndentPosition(_swigobj,_swigarg0) (_swigobj->GetLineIndentPosition(_swigarg0))
3551static PyObject *_wrap_wxStyledTextCtrl_GetLineIndentPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
f6bcfd97 3552 PyObject * _resultobj;
fe47ec10 3553 int _result;
f6bcfd97
BP
3554 wxStyledTextCtrl * _arg0;
3555 int _arg1;
f6bcfd97 3556 PyObject * _argo0 = 0;
fe47ec10 3557 char *_kwnames[] = { "self","line", NULL };
f6bcfd97
BP
3558
3559 self = self;
fe47ec10 3560 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_GetLineIndentPosition",_kwnames,&_argo0,&_arg1))
f6bcfd97
BP
3561 return NULL;
3562 if (_argo0) {
3563 if (_argo0 == Py_None) { _arg0 = NULL; }
3564 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
fe47ec10 3565 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetLineIndentPosition. Expected _wxStyledTextCtrl_p.");
f6bcfd97
BP
3566 return NULL;
3567 }
3568 }
f6bcfd97
BP
3569{
3570 wxPy_BEGIN_ALLOW_THREADS;
fe47ec10 3571 _result = (int )wxStyledTextCtrl_GetLineIndentPosition(_arg0,_arg1);
f6bcfd97
BP
3572
3573 wxPy_END_ALLOW_THREADS;
fe47ec10 3574} _resultobj = Py_BuildValue("i",_result);
f6bcfd97
BP
3575 return _resultobj;
3576}
3577
fe47ec10
RD
3578#define wxStyledTextCtrl_GetColumn(_swigobj,_swigarg0) (_swigobj->GetColumn(_swigarg0))
3579static PyObject *_wrap_wxStyledTextCtrl_GetColumn(PyObject *self, PyObject *args, PyObject *kwargs) {
f6bcfd97 3580 PyObject * _resultobj;
fe47ec10 3581 int _result;
f6bcfd97
BP
3582 wxStyledTextCtrl * _arg0;
3583 int _arg1;
3584 PyObject * _argo0 = 0;
fe47ec10 3585 char *_kwnames[] = { "self","pos", NULL };
f6bcfd97
BP
3586
3587 self = self;
fe47ec10 3588 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_GetColumn",_kwnames,&_argo0,&_arg1))
f6bcfd97
BP
3589 return NULL;
3590 if (_argo0) {
3591 if (_argo0 == Py_None) { _arg0 = NULL; }
3592 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
fe47ec10 3593 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetColumn. Expected _wxStyledTextCtrl_p.");
f6bcfd97
BP
3594 return NULL;
3595 }
3596 }
3597{
3598 wxPy_BEGIN_ALLOW_THREADS;
fe47ec10 3599 _result = (int )wxStyledTextCtrl_GetColumn(_arg0,_arg1);
f6bcfd97
BP
3600
3601 wxPy_END_ALLOW_THREADS;
3602} _resultobj = Py_BuildValue("i",_result);
3603 return _resultobj;
3604}
3605
fe47ec10
RD
3606#define wxStyledTextCtrl_SetUseHorizontalScrollBar(_swigobj,_swigarg0) (_swigobj->SetUseHorizontalScrollBar(_swigarg0))
3607static PyObject *_wrap_wxStyledTextCtrl_SetUseHorizontalScrollBar(PyObject *self, PyObject *args, PyObject *kwargs) {
f6bcfd97
BP
3608 PyObject * _resultobj;
3609 wxStyledTextCtrl * _arg0;
fe47ec10 3610 bool _arg1;
f6bcfd97 3611 PyObject * _argo0 = 0;
fe47ec10
RD
3612 int tempbool1;
3613 char *_kwnames[] = { "self","show", NULL };
f6bcfd97
BP
3614
3615 self = self;
fe47ec10 3616 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_SetUseHorizontalScrollBar",_kwnames,&_argo0,&tempbool1))
f6bcfd97
BP
3617 return NULL;
3618 if (_argo0) {
3619 if (_argo0 == Py_None) { _arg0 = NULL; }
3620 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
fe47ec10 3621 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetUseHorizontalScrollBar. Expected _wxStyledTextCtrl_p.");
f6bcfd97
BP
3622 return NULL;
3623 }
3624 }
fe47ec10 3625 _arg1 = (bool ) tempbool1;
f6bcfd97
BP
3626{
3627 wxPy_BEGIN_ALLOW_THREADS;
fe47ec10 3628 wxStyledTextCtrl_SetUseHorizontalScrollBar(_arg0,_arg1);
f6bcfd97
BP
3629
3630 wxPy_END_ALLOW_THREADS;
3631} Py_INCREF(Py_None);
3632 _resultobj = Py_None;
3633 return _resultobj;
3634}
3635
fe47ec10
RD
3636#define wxStyledTextCtrl_GetUseHorizontalScrollBar(_swigobj) (_swigobj->GetUseHorizontalScrollBar())
3637static PyObject *_wrap_wxStyledTextCtrl_GetUseHorizontalScrollBar(PyObject *self, PyObject *args, PyObject *kwargs) {
f6bcfd97 3638 PyObject * _resultobj;
fe47ec10 3639 bool _result;
f6bcfd97 3640 wxStyledTextCtrl * _arg0;
f6bcfd97 3641 PyObject * _argo0 = 0;
fe47ec10 3642 char *_kwnames[] = { "self", NULL };
f6bcfd97
BP
3643
3644 self = self;
fe47ec10 3645 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetUseHorizontalScrollBar",_kwnames,&_argo0))
f6bcfd97
BP
3646 return NULL;
3647 if (_argo0) {
3648 if (_argo0 == Py_None) { _arg0 = NULL; }
3649 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
fe47ec10 3650 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetUseHorizontalScrollBar. Expected _wxStyledTextCtrl_p.");
f6bcfd97
BP
3651 return NULL;
3652 }
3653 }
f6bcfd97
BP
3654{
3655 wxPy_BEGIN_ALLOW_THREADS;
fe47ec10 3656 _result = (bool )wxStyledTextCtrl_GetUseHorizontalScrollBar(_arg0);
f6bcfd97
BP
3657
3658 wxPy_END_ALLOW_THREADS;
fe47ec10 3659} _resultobj = Py_BuildValue("i",_result);
f6bcfd97
BP
3660 return _resultobj;
3661}
3662
fe47ec10
RD
3663#define wxStyledTextCtrl_SetIndentationGuides(_swigobj,_swigarg0) (_swigobj->SetIndentationGuides(_swigarg0))
3664static PyObject *_wrap_wxStyledTextCtrl_SetIndentationGuides(PyObject *self, PyObject *args, PyObject *kwargs) {
f6bcfd97
BP
3665 PyObject * _resultobj;
3666 wxStyledTextCtrl * _arg0;
fe47ec10 3667 bool _arg1;
f6bcfd97 3668 PyObject * _argo0 = 0;
fe47ec10
RD
3669 int tempbool1;
3670 char *_kwnames[] = { "self","show", NULL };
f6bcfd97
BP
3671
3672 self = self;
fe47ec10 3673 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_SetIndentationGuides",_kwnames,&_argo0,&tempbool1))
f6bcfd97
BP
3674 return NULL;
3675 if (_argo0) {
3676 if (_argo0 == Py_None) { _arg0 = NULL; }
3677 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
fe47ec10 3678 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetIndentationGuides. Expected _wxStyledTextCtrl_p.");
f6bcfd97
BP
3679 return NULL;
3680 }
3681 }
fe47ec10 3682 _arg1 = (bool ) tempbool1;
f6bcfd97
BP
3683{
3684 wxPy_BEGIN_ALLOW_THREADS;
fe47ec10 3685 wxStyledTextCtrl_SetIndentationGuides(_arg0,_arg1);
f6bcfd97
BP
3686
3687 wxPy_END_ALLOW_THREADS;
3688} Py_INCREF(Py_None);
3689 _resultobj = Py_None;
3690 return _resultobj;
3691}
3692
fe47ec10
RD
3693#define wxStyledTextCtrl_GetIndentationGuides(_swigobj) (_swigobj->GetIndentationGuides())
3694static PyObject *_wrap_wxStyledTextCtrl_GetIndentationGuides(PyObject *self, PyObject *args, PyObject *kwargs) {
f6bcfd97 3695 PyObject * _resultobj;
fe47ec10 3696 bool _result;
f6bcfd97
BP
3697 wxStyledTextCtrl * _arg0;
3698 PyObject * _argo0 = 0;
3699 char *_kwnames[] = { "self", NULL };
3700
3701 self = self;
fe47ec10 3702 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetIndentationGuides",_kwnames,&_argo0))
f6bcfd97
BP
3703 return NULL;
3704 if (_argo0) {
3705 if (_argo0 == Py_None) { _arg0 = NULL; }
3706 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
fe47ec10 3707 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetIndentationGuides. Expected _wxStyledTextCtrl_p.");
f6bcfd97
BP
3708 return NULL;
3709 }
3710 }
3711{
3712 wxPy_BEGIN_ALLOW_THREADS;
fe47ec10 3713 _result = (bool )wxStyledTextCtrl_GetIndentationGuides(_arg0);
f6bcfd97
BP
3714
3715 wxPy_END_ALLOW_THREADS;
3716} _resultobj = Py_BuildValue("i",_result);
3717 return _resultobj;
3718}
3719
fe47ec10
RD
3720#define wxStyledTextCtrl_SetHighlightGuide(_swigobj,_swigarg0) (_swigobj->SetHighlightGuide(_swigarg0))
3721static PyObject *_wrap_wxStyledTextCtrl_SetHighlightGuide(PyObject *self, PyObject *args, PyObject *kwargs) {
f6bcfd97
BP
3722 PyObject * _resultobj;
3723 wxStyledTextCtrl * _arg0;
3724 int _arg1;
3725 PyObject * _argo0 = 0;
fe47ec10 3726 char *_kwnames[] = { "self","column", NULL };
f6bcfd97
BP
3727
3728 self = self;
fe47ec10 3729 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_SetHighlightGuide",_kwnames,&_argo0,&_arg1))
f6bcfd97
BP
3730 return NULL;
3731 if (_argo0) {
3732 if (_argo0 == Py_None) { _arg0 = NULL; }
3733 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
fe47ec10 3734 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetHighlightGuide. Expected _wxStyledTextCtrl_p.");
f6bcfd97
BP
3735 return NULL;
3736 }
3737 }
3738{
3739 wxPy_BEGIN_ALLOW_THREADS;
fe47ec10 3740 wxStyledTextCtrl_SetHighlightGuide(_arg0,_arg1);
f6bcfd97
BP
3741
3742 wxPy_END_ALLOW_THREADS;
3743} Py_INCREF(Py_None);
3744 _resultobj = Py_None;
3745 return _resultobj;
3746}
3747
fe47ec10
RD
3748#define wxStyledTextCtrl_GetHighlightGuide(_swigobj) (_swigobj->GetHighlightGuide())
3749static PyObject *_wrap_wxStyledTextCtrl_GetHighlightGuide(PyObject *self, PyObject *args, PyObject *kwargs) {
f6bcfd97 3750 PyObject * _resultobj;
fe47ec10 3751 int _result;
f6bcfd97 3752 wxStyledTextCtrl * _arg0;
f6bcfd97 3753 PyObject * _argo0 = 0;
fe47ec10 3754 char *_kwnames[] = { "self", NULL };
f6bcfd97
BP
3755
3756 self = self;
fe47ec10 3757 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetHighlightGuide",_kwnames,&_argo0))
f6bcfd97
BP
3758 return NULL;
3759 if (_argo0) {
3760 if (_argo0 == Py_None) { _arg0 = NULL; }
3761 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
fe47ec10 3762 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetHighlightGuide. Expected _wxStyledTextCtrl_p.");
f6bcfd97
BP
3763 return NULL;
3764 }
3765 }
f6bcfd97
BP
3766{
3767 wxPy_BEGIN_ALLOW_THREADS;
fe47ec10 3768 _result = (int )wxStyledTextCtrl_GetHighlightGuide(_arg0);
f6bcfd97
BP
3769
3770 wxPy_END_ALLOW_THREADS;
fe47ec10 3771} _resultobj = Py_BuildValue("i",_result);
f6bcfd97
BP
3772 return _resultobj;
3773}
3774
fe47ec10
RD
3775#define wxStyledTextCtrl_GetLineEndPosition(_swigobj,_swigarg0) (_swigobj->GetLineEndPosition(_swigarg0))
3776static PyObject *_wrap_wxStyledTextCtrl_GetLineEndPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
f6bcfd97 3777 PyObject * _resultobj;
fe47ec10 3778 int _result;
f6bcfd97
BP
3779 wxStyledTextCtrl * _arg0;
3780 int _arg1;
3781 PyObject * _argo0 = 0;
fe47ec10 3782 char *_kwnames[] = { "self","line", NULL };
f6bcfd97
BP
3783
3784 self = self;
fe47ec10 3785 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_GetLineEndPosition",_kwnames,&_argo0,&_arg1))
f6bcfd97
BP
3786 return NULL;
3787 if (_argo0) {
3788 if (_argo0 == Py_None) { _arg0 = NULL; }
3789 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
fe47ec10 3790 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetLineEndPosition. Expected _wxStyledTextCtrl_p.");
f6bcfd97
BP
3791 return NULL;
3792 }
3793 }
3794{
3795 wxPy_BEGIN_ALLOW_THREADS;
fe47ec10 3796 _result = (int )wxStyledTextCtrl_GetLineEndPosition(_arg0,_arg1);
f6bcfd97
BP
3797
3798 wxPy_END_ALLOW_THREADS;
fe47ec10 3799} _resultobj = Py_BuildValue("i",_result);
f6bcfd97
BP
3800 return _resultobj;
3801}
3802
fe47ec10
RD
3803#define wxStyledTextCtrl_GetCodePage(_swigobj) (_swigobj->GetCodePage())
3804static PyObject *_wrap_wxStyledTextCtrl_GetCodePage(PyObject *self, PyObject *args, PyObject *kwargs) {
f6bcfd97 3805 PyObject * _resultobj;
fe47ec10 3806 int _result;
f6bcfd97 3807 wxStyledTextCtrl * _arg0;
f6bcfd97 3808 PyObject * _argo0 = 0;
fe47ec10 3809 char *_kwnames[] = { "self", NULL };
f6bcfd97
BP
3810
3811 self = self;
fe47ec10 3812 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetCodePage",_kwnames,&_argo0))
f6bcfd97
BP
3813 return NULL;
3814 if (_argo0) {
3815 if (_argo0 == Py_None) { _arg0 = NULL; }
3816 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
fe47ec10 3817 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetCodePage. Expected _wxStyledTextCtrl_p.");
f6bcfd97
BP
3818 return NULL;
3819 }
3820 }
3821{
3822 wxPy_BEGIN_ALLOW_THREADS;
fe47ec10 3823 _result = (int )wxStyledTextCtrl_GetCodePage(_arg0);
f6bcfd97
BP
3824
3825 wxPy_END_ALLOW_THREADS;
fe47ec10 3826} _resultobj = Py_BuildValue("i",_result);
f6bcfd97
BP
3827 return _resultobj;
3828}
3829
fe47ec10
RD
3830#define wxStyledTextCtrl_GetCaretForeground(_swigobj) (_swigobj->GetCaretForeground())
3831static PyObject *_wrap_wxStyledTextCtrl_GetCaretForeground(PyObject *self, PyObject *args, PyObject *kwargs) {
f6bcfd97 3832 PyObject * _resultobj;
fe47ec10 3833 wxColour * _result;
f6bcfd97 3834 wxStyledTextCtrl * _arg0;
f6bcfd97 3835 PyObject * _argo0 = 0;
fe47ec10
RD
3836 char *_kwnames[] = { "self", NULL };
3837 char _ptemp[128];
f6bcfd97
BP
3838
3839 self = self;
fe47ec10 3840 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetCaretForeground",_kwnames,&_argo0))
f6bcfd97
BP
3841 return NULL;
3842 if (_argo0) {
3843 if (_argo0 == Py_None) { _arg0 = NULL; }
3844 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
fe47ec10 3845 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetCaretForeground. Expected _wxStyledTextCtrl_p.");
f6bcfd97
BP
3846 return NULL;
3847 }
3848 }
f6bcfd97
BP
3849{
3850 wxPy_BEGIN_ALLOW_THREADS;
fe47ec10 3851 _result = new wxColour (wxStyledTextCtrl_GetCaretForeground(_arg0));
f6bcfd97
BP
3852
3853 wxPy_END_ALLOW_THREADS;
fe47ec10
RD
3854} SWIG_MakePtr(_ptemp, (void *) _result,"_wxColour_p");
3855 _resultobj = Py_BuildValue("s",_ptemp);
f6bcfd97
BP
3856 return _resultobj;
3857}
3858
fe47ec10
RD
3859#define wxStyledTextCtrl_GetReadOnly(_swigobj) (_swigobj->GetReadOnly())
3860static PyObject *_wrap_wxStyledTextCtrl_GetReadOnly(PyObject *self, PyObject *args, PyObject *kwargs) {
f6bcfd97 3861 PyObject * _resultobj;
fe47ec10 3862 bool _result;
f6bcfd97 3863 wxStyledTextCtrl * _arg0;
f6bcfd97 3864 PyObject * _argo0 = 0;
fe47ec10 3865 char *_kwnames[] = { "self", NULL };
f6bcfd97
BP
3866
3867 self = self;
fe47ec10 3868 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetReadOnly",_kwnames,&_argo0))
f6bcfd97
BP
3869 return NULL;
3870 if (_argo0) {
3871 if (_argo0 == Py_None) { _arg0 = NULL; }
3872 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
fe47ec10 3873 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetReadOnly. Expected _wxStyledTextCtrl_p.");
f6bcfd97
BP
3874 return NULL;
3875 }
3876 }
3877{
3878 wxPy_BEGIN_ALLOW_THREADS;
fe47ec10 3879 _result = (bool )wxStyledTextCtrl_GetReadOnly(_arg0);
f6bcfd97
BP
3880
3881 wxPy_END_ALLOW_THREADS;
fe47ec10 3882} _resultobj = Py_BuildValue("i",_result);
f6bcfd97
BP
3883 return _resultobj;
3884}
3885
fe47ec10
RD
3886#define wxStyledTextCtrl_SetCurrentPos(_swigobj,_swigarg0) (_swigobj->SetCurrentPos(_swigarg0))
3887static PyObject *_wrap_wxStyledTextCtrl_SetCurrentPos(PyObject *self, PyObject *args, PyObject *kwargs) {
f6bcfd97 3888 PyObject * _resultobj;
f6bcfd97
BP
3889 wxStyledTextCtrl * _arg0;
3890 int _arg1;
3891 PyObject * _argo0 = 0;
fe47ec10 3892 char *_kwnames[] = { "self","pos", NULL };
f6bcfd97
BP
3893
3894 self = self;
fe47ec10 3895 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_SetCurrentPos",_kwnames,&_argo0,&_arg1))
f6bcfd97
BP
3896 return NULL;
3897 if (_argo0) {
3898 if (_argo0 == Py_None) { _arg0 = NULL; }
3899 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
fe47ec10 3900 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetCurrentPos. Expected _wxStyledTextCtrl_p.");
f6bcfd97
BP
3901 return NULL;
3902 }
3903 }
3904{
3905 wxPy_BEGIN_ALLOW_THREADS;
fe47ec10 3906 wxStyledTextCtrl_SetCurrentPos(_arg0,_arg1);
f6bcfd97
BP
3907
3908 wxPy_END_ALLOW_THREADS;
fe47ec10
RD
3909} Py_INCREF(Py_None);
3910 _resultobj = Py_None;
f6bcfd97
BP
3911 return _resultobj;
3912}
3913
fe47ec10
RD
3914#define wxStyledTextCtrl_SetSelectionStart(_swigobj,_swigarg0) (_swigobj->SetSelectionStart(_swigarg0))
3915static PyObject *_wrap_wxStyledTextCtrl_SetSelectionStart(PyObject *self, PyObject *args, PyObject *kwargs) {
f6bcfd97 3916 PyObject * _resultobj;
f6bcfd97
BP
3917 wxStyledTextCtrl * _arg0;
3918 int _arg1;
3919 PyObject * _argo0 = 0;
fe47ec10 3920 char *_kwnames[] = { "self","pos", NULL };
f6bcfd97
BP
3921
3922 self = self;
fe47ec10 3923 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_SetSelectionStart",_kwnames,&_argo0,&_arg1))
f6bcfd97
BP
3924 return NULL;
3925 if (_argo0) {
3926 if (_argo0 == Py_None) { _arg0 = NULL; }
3927 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
fe47ec10 3928 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetSelectionStart. Expected _wxStyledTextCtrl_p.");
f6bcfd97
BP
3929 return NULL;
3930 }
3931 }
3932{
3933 wxPy_BEGIN_ALLOW_THREADS;
fe47ec10 3934 wxStyledTextCtrl_SetSelectionStart(_arg0,_arg1);
f6bcfd97
BP
3935
3936 wxPy_END_ALLOW_THREADS;
fe47ec10
RD
3937} Py_INCREF(Py_None);
3938 _resultobj = Py_None;
f6bcfd97
BP
3939 return _resultobj;
3940}
3941
fe47ec10
RD
3942#define wxStyledTextCtrl_GetSelectionStart(_swigobj) (_swigobj->GetSelectionStart())
3943static PyObject *_wrap_wxStyledTextCtrl_GetSelectionStart(PyObject *self, PyObject *args, PyObject *kwargs) {
f6bcfd97 3944 PyObject * _resultobj;
fe47ec10 3945 int _result;
f6bcfd97 3946 wxStyledTextCtrl * _arg0;
f6bcfd97 3947 PyObject * _argo0 = 0;
fe47ec10 3948 char *_kwnames[] = { "self", NULL };
f6bcfd97
BP
3949
3950 self = self;
fe47ec10 3951 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetSelectionStart",_kwnames,&_argo0))
f6bcfd97
BP
3952 return NULL;
3953 if (_argo0) {
3954 if (_argo0 == Py_None) { _arg0 = NULL; }
3955 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
fe47ec10 3956 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetSelectionStart. Expected _wxStyledTextCtrl_p.");
f6bcfd97
BP
3957 return NULL;
3958 }
3959 }
f6bcfd97
BP
3960{
3961 wxPy_BEGIN_ALLOW_THREADS;
fe47ec10 3962 _result = (int )wxStyledTextCtrl_GetSelectionStart(_arg0);
f6bcfd97
BP
3963
3964 wxPy_END_ALLOW_THREADS;
fe47ec10 3965} _resultobj = Py_BuildValue("i",_result);
f6bcfd97
BP
3966 return _resultobj;
3967}
3968
fe47ec10
RD
3969#define wxStyledTextCtrl_SetSelectionEnd(_swigobj,_swigarg0) (_swigobj->SetSelectionEnd(_swigarg0))
3970static PyObject *_wrap_wxStyledTextCtrl_SetSelectionEnd(PyObject *self, PyObject *args, PyObject *kwargs) {
f6bcfd97
BP
3971 PyObject * _resultobj;
3972 wxStyledTextCtrl * _arg0;
fe47ec10 3973 int _arg1;
f6bcfd97 3974 PyObject * _argo0 = 0;
fe47ec10 3975 char *_kwnames[] = { "self","pos", NULL };
f6bcfd97
BP
3976
3977 self = self;
fe47ec10 3978 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_SetSelectionEnd",_kwnames,&_argo0,&_arg1))
f6bcfd97
BP
3979 return NULL;
3980 if (_argo0) {
3981 if (_argo0 == Py_None) { _arg0 = NULL; }
3982 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
fe47ec10 3983 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetSelectionEnd. Expected _wxStyledTextCtrl_p.");
f6bcfd97
BP
3984 return NULL;
3985 }
3986 }
f6bcfd97
BP
3987{
3988 wxPy_BEGIN_ALLOW_THREADS;
fe47ec10 3989 wxStyledTextCtrl_SetSelectionEnd(_arg0,_arg1);
f6bcfd97
BP
3990
3991 wxPy_END_ALLOW_THREADS;
3992} Py_INCREF(Py_None);
3993 _resultobj = Py_None;
3994 return _resultobj;
3995}
3996
fe47ec10
RD
3997#define wxStyledTextCtrl_GetSelectionEnd(_swigobj) (_swigobj->GetSelectionEnd())
3998static PyObject *_wrap_wxStyledTextCtrl_GetSelectionEnd(PyObject *self, PyObject *args, PyObject *kwargs) {
f6bcfd97 3999 PyObject * _resultobj;
fe47ec10 4000 int _result;
f6bcfd97 4001 wxStyledTextCtrl * _arg0;
f6bcfd97 4002 PyObject * _argo0 = 0;
fe47ec10 4003 char *_kwnames[] = { "self", NULL };
f6bcfd97
BP
4004
4005 self = self;
fe47ec10 4006 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetSelectionEnd",_kwnames,&_argo0))
f6bcfd97
BP
4007 return NULL;
4008 if (_argo0) {
4009 if (_argo0 == Py_None) { _arg0 = NULL; }
4010 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
fe47ec10 4011 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetSelectionEnd. Expected _wxStyledTextCtrl_p.");
f6bcfd97
BP
4012 return NULL;
4013 }
4014 }
4015{
4016 wxPy_BEGIN_ALLOW_THREADS;
fe47ec10 4017 _result = (int )wxStyledTextCtrl_GetSelectionEnd(_arg0);
f6bcfd97
BP
4018
4019 wxPy_END_ALLOW_THREADS;
fe47ec10 4020} _resultobj = Py_BuildValue("i",_result);
f6bcfd97
BP
4021 return _resultobj;
4022}
4023
fe47ec10
RD
4024#define wxStyledTextCtrl_SetPrintMagnification(_swigobj,_swigarg0) (_swigobj->SetPrintMagnification(_swigarg0))
4025static PyObject *_wrap_wxStyledTextCtrl_SetPrintMagnification(PyObject *self, PyObject *args, PyObject *kwargs) {
f6bcfd97
BP
4026 PyObject * _resultobj;
4027 wxStyledTextCtrl * _arg0;
4028 int _arg1;
4029 PyObject * _argo0 = 0;
fe47ec10 4030 char *_kwnames[] = { "self","magnification", NULL };
f6bcfd97
BP
4031
4032 self = self;
fe47ec10 4033 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_SetPrintMagnification",_kwnames,&_argo0,&_arg1))
f6bcfd97
BP
4034 return NULL;
4035 if (_argo0) {
4036 if (_argo0 == Py_None) { _arg0 = NULL; }
4037 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
fe47ec10 4038 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetPrintMagnification. Expected _wxStyledTextCtrl_p.");
f6bcfd97
BP
4039 return NULL;
4040 }
4041 }
4042{
4043 wxPy_BEGIN_ALLOW_THREADS;
fe47ec10 4044 wxStyledTextCtrl_SetPrintMagnification(_arg0,_arg1);
f6bcfd97
BP
4045
4046 wxPy_END_ALLOW_THREADS;
4047} Py_INCREF(Py_None);
4048 _resultobj = Py_None;
4049 return _resultobj;
4050}
4051
fe47ec10
RD
4052#define wxStyledTextCtrl_GetPrintMagnification(_swigobj) (_swigobj->GetPrintMagnification())
4053static PyObject *_wrap_wxStyledTextCtrl_GetPrintMagnification(PyObject *self, PyObject *args, PyObject *kwargs) {
f6bcfd97
BP
4054 PyObject * _resultobj;
4055 int _result;
4056 wxStyledTextCtrl * _arg0;
f6bcfd97 4057 PyObject * _argo0 = 0;
fe47ec10 4058 char *_kwnames[] = { "self", NULL };
f6bcfd97
BP
4059
4060 self = self;
fe47ec10 4061 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetPrintMagnification",_kwnames,&_argo0))
f6bcfd97
BP
4062 return NULL;
4063 if (_argo0) {
4064 if (_argo0 == Py_None) { _arg0 = NULL; }
4065 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
fe47ec10 4066 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetPrintMagnification. Expected _wxStyledTextCtrl_p.");
f6bcfd97
BP
4067 return NULL;
4068 }
4069 }
4070{
4071 wxPy_BEGIN_ALLOW_THREADS;
fe47ec10 4072 _result = (int )wxStyledTextCtrl_GetPrintMagnification(_arg0);
f6bcfd97
BP
4073
4074 wxPy_END_ALLOW_THREADS;
4075} _resultobj = Py_BuildValue("i",_result);
4076 return _resultobj;
4077}
4078
fe47ec10
RD
4079#define wxStyledTextCtrl_SetPrintColourMode(_swigobj,_swigarg0) (_swigobj->SetPrintColourMode(_swigarg0))
4080static PyObject *_wrap_wxStyledTextCtrl_SetPrintColourMode(PyObject *self, PyObject *args, PyObject *kwargs) {
f6bcfd97
BP
4081 PyObject * _resultobj;
4082 wxStyledTextCtrl * _arg0;
4083 int _arg1;
f6bcfd97 4084 PyObject * _argo0 = 0;
fe47ec10 4085 char *_kwnames[] = { "self","mode", NULL };
f6bcfd97
BP
4086
4087 self = self;
fe47ec10 4088 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_SetPrintColourMode",_kwnames,&_argo0,&_arg1))
f6bcfd97
BP
4089 return NULL;
4090 if (_argo0) {
4091 if (_argo0 == Py_None) { _arg0 = NULL; }
4092 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
fe47ec10 4093 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetPrintColourMode. Expected _wxStyledTextCtrl_p.");
f6bcfd97
BP
4094 return NULL;
4095 }
4096 }
f6bcfd97
BP
4097{
4098 wxPy_BEGIN_ALLOW_THREADS;
fe47ec10 4099 wxStyledTextCtrl_SetPrintColourMode(_arg0,_arg1);
f6bcfd97
BP
4100
4101 wxPy_END_ALLOW_THREADS;
4102} Py_INCREF(Py_None);
4103 _resultobj = Py_None;
4104 return _resultobj;
4105}
4106
fe47ec10
RD
4107#define wxStyledTextCtrl_GetPrintColourMode(_swigobj) (_swigobj->GetPrintColourMode())
4108static PyObject *_wrap_wxStyledTextCtrl_GetPrintColourMode(PyObject *self, PyObject *args, PyObject *kwargs) {
f6bcfd97 4109 PyObject * _resultobj;
fe47ec10 4110 int _result;
f6bcfd97 4111 wxStyledTextCtrl * _arg0;
f6bcfd97 4112 PyObject * _argo0 = 0;
fe47ec10 4113 char *_kwnames[] = { "self", NULL };
f6bcfd97
BP
4114
4115 self = self;
fe47ec10 4116 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetPrintColourMode",_kwnames,&_argo0))
f6bcfd97
BP
4117 return NULL;
4118 if (_argo0) {
4119 if (_argo0 == Py_None) { _arg0 = NULL; }
4120 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
fe47ec10 4121 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetPrintColourMode. Expected _wxStyledTextCtrl_p.");
f6bcfd97
BP
4122 return NULL;
4123 }
4124 }
4125{
4126 wxPy_BEGIN_ALLOW_THREADS;
fe47ec10 4127 _result = (int )wxStyledTextCtrl_GetPrintColourMode(_arg0);
f6bcfd97
BP
4128
4129 wxPy_END_ALLOW_THREADS;
fe47ec10 4130} _resultobj = Py_BuildValue("i",_result);
f6bcfd97
BP
4131 return _resultobj;
4132}
4133
fe47ec10
RD
4134#define wxStyledTextCtrl_FindText(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->FindText(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
4135static PyObject *_wrap_wxStyledTextCtrl_FindText(PyObject *self, PyObject *args, PyObject *kwargs) {
f6bcfd97 4136 PyObject * _resultobj;
fe47ec10 4137 int _result;
f6bcfd97
BP
4138 wxStyledTextCtrl * _arg0;
4139 int _arg1;
fe47ec10
RD
4140 int _arg2;
4141 wxString * _arg3;
4142 bool _arg4;
4143 bool _arg5;
f6bcfd97 4144 PyObject * _argo0 = 0;
fe47ec10
RD
4145 PyObject * _obj3 = 0;
4146 int tempbool4;
4147 int tempbool5;
4148 char *_kwnames[] = { "self","minPos","maxPos","text","caseSensitive","wholeWord", NULL };
f6bcfd97
BP
4149
4150 self = self;
fe47ec10 4151 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiiOii:wxStyledTextCtrl_FindText",_kwnames,&_argo0,&_arg1,&_arg2,&_obj3,&tempbool4,&tempbool5))
f6bcfd97
BP
4152 return NULL;
4153 if (_argo0) {
4154 if (_argo0 == Py_None) { _arg0 = NULL; }
4155 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
fe47ec10 4156 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_FindText. Expected _wxStyledTextCtrl_p.");
f6bcfd97
BP
4157 return NULL;
4158 }
4159 }
4160{
185d7c3e
RD
4161#if PYTHON_API_VERSION >= 1009
4162 char* tmpPtr; int tmpSize;
4163 if (!PyString_Check(_obj3) && !PyUnicode_Check(_obj3)) {
4164 PyErr_SetString(PyExc_TypeError, "String or Unicode type required");
4165 return NULL;
4166 }
4167 if (PyString_AsStringAndSize(_obj3, &tmpPtr, &tmpSize) == -1)
4168 return NULL;
4169 _arg3 = new wxString(tmpPtr, tmpSize);
4170#else
fe47ec10
RD
4171 if (!PyString_Check(_obj3)) {
4172 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
f6bcfd97 4173 return NULL;
fe47ec10 4174 }
185d7c3e
RD
4175 _arg3 = new wxString(PyString_AS_STRING(_obj3), PyString_GET_SIZE(_obj3));
4176#endif
f6bcfd97 4177}
fe47ec10
RD
4178 _arg4 = (bool ) tempbool4;
4179 _arg5 = (bool ) tempbool5;
f6bcfd97
BP
4180{
4181 wxPy_BEGIN_ALLOW_THREADS;
fe47ec10 4182 _result = (int )wxStyledTextCtrl_FindText(_arg0,_arg1,_arg2,*_arg3,_arg4,_arg5);
f6bcfd97
BP
4183
4184 wxPy_END_ALLOW_THREADS;
fe47ec10
RD
4185} _resultobj = Py_BuildValue("i",_result);
4186{
4187 if (_obj3)
4188 delete _arg3;
4189}
f6bcfd97
BP
4190 return _resultobj;
4191}
4192
fe47ec10
RD
4193#define wxStyledTextCtrl_FormatRange(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (_swigobj->FormatRange(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
4194static PyObject *_wrap_wxStyledTextCtrl_FormatRange(PyObject *self, PyObject *args, PyObject *kwargs) {
f6bcfd97 4195 PyObject * _resultobj;
fe47ec10 4196 int _result;
f6bcfd97 4197 wxStyledTextCtrl * _arg0;
fe47ec10
RD
4198 bool _arg1;
4199 int _arg2;
4200 int _arg3;
4201 wxDC * _arg4;
4202 wxDC * _arg5;
4203 wxRect * _arg6;
4204 wxRect * _arg7;
f6bcfd97 4205 PyObject * _argo0 = 0;
fe47ec10
RD
4206 int tempbool1;
4207 PyObject * _argo4 = 0;
4208 PyObject * _argo5 = 0;
4209 wxRect temp;
4210 PyObject * _obj6 = 0;
4211 wxRect temp0;
4212 PyObject * _obj7 = 0;
4213 char *_kwnames[] = { "self","doDraw","startPos","endPos","draw","target","renderRect","pageRect", NULL };
f6bcfd97
BP
4214
4215 self = self;
fe47ec10 4216 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiiiOOOO:wxStyledTextCtrl_FormatRange",_kwnames,&_argo0,&tempbool1,&_arg2,&_arg3,&_argo4,&_argo5,&_obj6,&_obj7))
f6bcfd97
BP
4217 return NULL;
4218 if (_argo0) {
4219 if (_argo0 == Py_None) { _arg0 = NULL; }
4220 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
fe47ec10
RD
4221 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_FormatRange. Expected _wxStyledTextCtrl_p.");
4222 return NULL;
4223 }
4224 }
4225 _arg1 = (bool ) tempbool1;
4226 if (_argo4) {
4227 if (_argo4 == Py_None) { _arg4 = NULL; }
4228 else if (SWIG_GetPtrObj(_argo4,(void **) &_arg4,"_wxDC_p")) {
4229 PyErr_SetString(PyExc_TypeError,"Type error in argument 5 of wxStyledTextCtrl_FormatRange. Expected _wxDC_p.");
4230 return NULL;
4231 }
4232 }
4233 if (_argo5) {
4234 if (_argo5 == Py_None) { _arg5 = NULL; }
4235 else if (SWIG_GetPtrObj(_argo5,(void **) &_arg5,"_wxDC_p")) {
4236 PyErr_SetString(PyExc_TypeError,"Type error in argument 6 of wxStyledTextCtrl_FormatRange. Expected _wxDC_p.");
f6bcfd97
BP
4237 return NULL;
4238 }
4239 }
4240{
fe47ec10
RD
4241 _arg6 = &temp;
4242 if (! wxRect_helper(_obj6, &_arg6))
4243 return NULL;
4244}
4245{
4246 _arg7 = &temp0;
4247 if (! wxRect_helper(_obj7, &_arg7))
f6bcfd97
BP
4248 return NULL;
4249}
4250{
4251 wxPy_BEGIN_ALLOW_THREADS;
fe47ec10 4252 _result = (int )wxStyledTextCtrl_FormatRange(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5,*_arg6,*_arg7);
f6bcfd97
BP
4253
4254 wxPy_END_ALLOW_THREADS;
fe47ec10 4255} _resultobj = Py_BuildValue("i",_result);
f6bcfd97
BP
4256 return _resultobj;
4257}
4258
fe47ec10
RD
4259#define wxStyledTextCtrl_GetFirstVisibleLine(_swigobj) (_swigobj->GetFirstVisibleLine())
4260static PyObject *_wrap_wxStyledTextCtrl_GetFirstVisibleLine(PyObject *self, PyObject *args, PyObject *kwargs) {
f6bcfd97
BP
4261 PyObject * _resultobj;
4262 int _result;
4263 wxStyledTextCtrl * _arg0;
f6bcfd97 4264 PyObject * _argo0 = 0;
fe47ec10 4265 char *_kwnames[] = { "self", NULL };
f6bcfd97
BP
4266
4267 self = self;
fe47ec10 4268 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetFirstVisibleLine",_kwnames,&_argo0))
f6bcfd97
BP
4269 return NULL;
4270 if (_argo0) {
4271 if (_argo0 == Py_None) { _arg0 = NULL; }
4272 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
fe47ec10 4273 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetFirstVisibleLine. Expected _wxStyledTextCtrl_p.");
f6bcfd97
BP
4274 return NULL;
4275 }
4276 }
4277{
4278 wxPy_BEGIN_ALLOW_THREADS;
fe47ec10 4279 _result = (int )wxStyledTextCtrl_GetFirstVisibleLine(_arg0);
f6bcfd97
BP
4280
4281 wxPy_END_ALLOW_THREADS;
4282} _resultobj = Py_BuildValue("i",_result);
4283 return _resultobj;
4284}
4285
fe47ec10
RD
4286#define wxStyledTextCtrl_GetLine(_swigobj,_swigarg0) (_swigobj->GetLine(_swigarg0))
4287static PyObject *_wrap_wxStyledTextCtrl_GetLine(PyObject *self, PyObject *args, PyObject *kwargs) {
f6bcfd97 4288 PyObject * _resultobj;
fe47ec10 4289 wxString * _result;
f6bcfd97
BP
4290 wxStyledTextCtrl * _arg0;
4291 int _arg1;
f6bcfd97 4292 PyObject * _argo0 = 0;
fe47ec10 4293 char *_kwnames[] = { "self","line", NULL };
f6bcfd97
BP
4294
4295 self = self;
fe47ec10 4296 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_GetLine",_kwnames,&_argo0,&_arg1))
f6bcfd97
BP
4297 return NULL;
4298 if (_argo0) {
4299 if (_argo0 == Py_None) { _arg0 = NULL; }
4300 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
fe47ec10 4301 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetLine. Expected _wxStyledTextCtrl_p.");
f6bcfd97
BP
4302 return NULL;
4303 }
4304 }
4305{
4306 wxPy_BEGIN_ALLOW_THREADS;
fe47ec10 4307 _result = new wxString (wxStyledTextCtrl_GetLine(_arg0,_arg1));
f6bcfd97
BP
4308
4309 wxPy_END_ALLOW_THREADS;
fe47ec10
RD
4310}{
4311 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
4312}
4313{
4314 delete _result;
4315}
f6bcfd97
BP
4316 return _resultobj;
4317}
4318
fe47ec10
RD
4319#define wxStyledTextCtrl_GetLineCount(_swigobj) (_swigobj->GetLineCount())
4320static PyObject *_wrap_wxStyledTextCtrl_GetLineCount(PyObject *self, PyObject *args, PyObject *kwargs) {
f6bcfd97 4321 PyObject * _resultobj;
fe47ec10 4322 int _result;
f6bcfd97 4323 wxStyledTextCtrl * _arg0;
f6bcfd97 4324 PyObject * _argo0 = 0;
fe47ec10 4325 char *_kwnames[] = { "self", NULL };
f6bcfd97
BP
4326
4327 self = self;
fe47ec10 4328 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetLineCount",_kwnames,&_argo0))
f6bcfd97
BP
4329 return NULL;
4330 if (_argo0) {
4331 if (_argo0 == Py_None) { _arg0 = NULL; }
4332 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
fe47ec10 4333 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetLineCount. Expected _wxStyledTextCtrl_p.");
f6bcfd97
BP
4334 return NULL;
4335 }
4336 }
4337{
4338 wxPy_BEGIN_ALLOW_THREADS;
fe47ec10 4339 _result = (int )wxStyledTextCtrl_GetLineCount(_arg0);
f6bcfd97
BP
4340
4341 wxPy_END_ALLOW_THREADS;
fe47ec10 4342} _resultobj = Py_BuildValue("i",_result);
f6bcfd97
BP
4343 return _resultobj;
4344}
4345
fe47ec10
RD
4346#define wxStyledTextCtrl_SetMarginLeft(_swigobj,_swigarg0) (_swigobj->SetMarginLeft(_swigarg0))
4347static PyObject *_wrap_wxStyledTextCtrl_SetMarginLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
f6bcfd97 4348 PyObject * _resultobj;
f6bcfd97
BP
4349 wxStyledTextCtrl * _arg0;
4350 int _arg1;
4351 PyObject * _argo0 = 0;
fe47ec10 4352 char *_kwnames[] = { "self","width", NULL };
f6bcfd97
BP
4353
4354 self = self;
fe47ec10 4355 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_SetMarginLeft",_kwnames,&_argo0,&_arg1))
f6bcfd97
BP
4356 return NULL;
4357 if (_argo0) {
4358 if (_argo0 == Py_None) { _arg0 = NULL; }
4359 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
fe47ec10 4360 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetMarginLeft. Expected _wxStyledTextCtrl_p.");
f6bcfd97
BP
4361 return NULL;
4362 }
4363 }
4364{
4365 wxPy_BEGIN_ALLOW_THREADS;
fe47ec10 4366 wxStyledTextCtrl_SetMarginLeft(_arg0,_arg1);
f6bcfd97
BP
4367
4368 wxPy_END_ALLOW_THREADS;
fe47ec10
RD
4369} Py_INCREF(Py_None);
4370 _resultobj = Py_None;
f6bcfd97
BP
4371 return _resultobj;
4372}
4373
fe47ec10
RD
4374#define wxStyledTextCtrl_GetMarginLeft(_swigobj) (_swigobj->GetMarginLeft())
4375static PyObject *_wrap_wxStyledTextCtrl_GetMarginLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
f6bcfd97
BP
4376 PyObject * _resultobj;
4377 int _result;
4378 wxStyledTextCtrl * _arg0;
f6bcfd97 4379 PyObject * _argo0 = 0;
fe47ec10 4380 char *_kwnames[] = { "self", NULL };
f6bcfd97
BP
4381
4382 self = self;
fe47ec10 4383 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetMarginLeft",_kwnames,&_argo0))
f6bcfd97
BP
4384 return NULL;
4385 if (_argo0) {
4386 if (_argo0 == Py_None) { _arg0 = NULL; }
4387 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
fe47ec10 4388 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetMarginLeft. Expected _wxStyledTextCtrl_p.");
f6bcfd97
BP
4389 return NULL;
4390 }
4391 }
4392{
4393 wxPy_BEGIN_ALLOW_THREADS;
fe47ec10 4394 _result = (int )wxStyledTextCtrl_GetMarginLeft(_arg0);
f6bcfd97
BP
4395
4396 wxPy_END_ALLOW_THREADS;
4397} _resultobj = Py_BuildValue("i",_result);
4398 return _resultobj;
4399}
4400
fe47ec10
RD
4401#define wxStyledTextCtrl_SetMarginRight(_swigobj,_swigarg0) (_swigobj->SetMarginRight(_swigarg0))
4402static PyObject *_wrap_wxStyledTextCtrl_SetMarginRight(PyObject *self, PyObject *args, PyObject *kwargs) {
f6bcfd97 4403 PyObject * _resultobj;
f6bcfd97
BP
4404 wxStyledTextCtrl * _arg0;
4405 int _arg1;
f6bcfd97 4406 PyObject * _argo0 = 0;
fe47ec10 4407 char *_kwnames[] = { "self","width", NULL };
f6bcfd97
BP
4408
4409 self = self;
fe47ec10 4410 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_SetMarginRight",_kwnames,&_argo0,&_arg1))
f6bcfd97
BP
4411 return NULL;
4412 if (_argo0) {
4413 if (_argo0 == Py_None) { _arg0 = NULL; }
4414 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
fe47ec10 4415 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetMarginRight. Expected _wxStyledTextCtrl_p.");
f6bcfd97
BP
4416 return NULL;
4417 }
4418 }
4419{
4420 wxPy_BEGIN_ALLOW_THREADS;
fe47ec10 4421 wxStyledTextCtrl_SetMarginRight(_arg0,_arg1);
f6bcfd97
BP
4422
4423 wxPy_END_ALLOW_THREADS;
fe47ec10
RD
4424} Py_INCREF(Py_None);
4425 _resultobj = Py_None;
f6bcfd97
BP
4426 return _resultobj;
4427}
4428
fe47ec10
RD
4429#define wxStyledTextCtrl_GetMarginRight(_swigobj) (_swigobj->GetMarginRight())
4430static PyObject *_wrap_wxStyledTextCtrl_GetMarginRight(PyObject *self, PyObject *args, PyObject *kwargs) {
f6bcfd97
BP
4431 PyObject * _resultobj;
4432 int _result;
4433 wxStyledTextCtrl * _arg0;
f6bcfd97 4434 PyObject * _argo0 = 0;
fe47ec10 4435 char *_kwnames[] = { "self", NULL };
f6bcfd97
BP
4436
4437 self = self;
fe47ec10 4438 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetMarginRight",_kwnames,&_argo0))
f6bcfd97
BP
4439 return NULL;
4440 if (_argo0) {
4441 if (_argo0 == Py_None) { _arg0 = NULL; }
4442 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
fe47ec10 4443 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetMarginRight. Expected _wxStyledTextCtrl_p.");
f6bcfd97
BP
4444 return NULL;
4445 }
4446 }
4447{
4448 wxPy_BEGIN_ALLOW_THREADS;
fe47ec10 4449 _result = (int )wxStyledTextCtrl_GetMarginRight(_arg0);
f6bcfd97
BP
4450
4451 wxPy_END_ALLOW_THREADS;
4452} _resultobj = Py_BuildValue("i",_result);
4453 return _resultobj;
4454}
4455
fe47ec10
RD
4456#define wxStyledTextCtrl_GetModify(_swigobj) (_swigobj->GetModify())
4457static PyObject *_wrap_wxStyledTextCtrl_GetModify(PyObject *self, PyObject *args, PyObject *kwargs) {
f6bcfd97 4458 PyObject * _resultobj;
fe47ec10 4459 bool _result;
f6bcfd97 4460 wxStyledTextCtrl * _arg0;
f6bcfd97 4461 PyObject * _argo0 = 0;
fe47ec10 4462 char *_kwnames[] = { "self", NULL };
f6bcfd97
BP
4463
4464 self = self;
fe47ec10 4465 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetModify",_kwnames,&_argo0))
f6bcfd97
BP
4466 return NULL;
4467 if (_argo0) {
4468 if (_argo0 == Py_None) { _arg0 = NULL; }
4469 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
fe47ec10 4470 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetModify. Expected _wxStyledTextCtrl_p.");
f6bcfd97
BP
4471 return NULL;
4472 }
4473 }
4474{
4475 wxPy_BEGIN_ALLOW_THREADS;
fe47ec10 4476 _result = (bool )wxStyledTextCtrl_GetModify(_arg0);
f6bcfd97
BP
4477
4478 wxPy_END_ALLOW_THREADS;
fe47ec10 4479} _resultobj = Py_BuildValue("i",_result);
f6bcfd97
BP
4480 return _resultobj;
4481}
4482
fe47ec10
RD
4483#define wxStyledTextCtrl_SetSelection(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetSelection(_swigarg0,_swigarg1))
4484static PyObject *_wrap_wxStyledTextCtrl_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
f6bcfd97
BP
4485 PyObject * _resultobj;
4486 wxStyledTextCtrl * _arg0;
4487 int _arg1;
4488 int _arg2;
4489 PyObject * _argo0 = 0;
fe47ec10 4490 char *_kwnames[] = { "self","start","end", NULL };
f6bcfd97
BP
4491
4492 self = self;
fe47ec10 4493 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxStyledTextCtrl_SetSelection",_kwnames,&_argo0,&_arg1,&_arg2))
f6bcfd97
BP
4494 return NULL;
4495 if (_argo0) {
4496 if (_argo0 == Py_None) { _arg0 = NULL; }
4497 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
fe47ec10 4498 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetSelection. Expected _wxStyledTextCtrl_p.");
f6bcfd97
BP
4499 return NULL;
4500 }
4501 }
4502{
4503 wxPy_BEGIN_ALLOW_THREADS;
fe47ec10 4504 wxStyledTextCtrl_SetSelection(_arg0,_arg1,_arg2);
f6bcfd97
BP
4505
4506 wxPy_END_ALLOW_THREADS;
4507} Py_INCREF(Py_None);
4508 _resultobj = Py_None;
4509 return _resultobj;
4510}
4511
fe47ec10
RD
4512#define wxStyledTextCtrl_GetSelectedText(_swigobj) (_swigobj->GetSelectedText())
4513static PyObject *_wrap_wxStyledTextCtrl_GetSelectedText(PyObject *self, PyObject *args, PyObject *kwargs) {
f6bcfd97 4514 PyObject * _resultobj;
fe47ec10 4515 wxString * _result;
f6bcfd97 4516 wxStyledTextCtrl * _arg0;
f6bcfd97 4517 PyObject * _argo0 = 0;
fe47ec10 4518 char *_kwnames[] = { "self", NULL };
f6bcfd97
BP
4519
4520 self = self;
fe47ec10 4521 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetSelectedText",_kwnames,&_argo0))
f6bcfd97
BP
4522 return NULL;
4523 if (_argo0) {
4524 if (_argo0 == Py_None) { _arg0 = NULL; }
4525 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
fe47ec10 4526 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetSelectedText. Expected _wxStyledTextCtrl_p.");
f6bcfd97
BP
4527 return NULL;
4528 }
4529 }
4530{
4531 wxPy_BEGIN_ALLOW_THREADS;
fe47ec10 4532 _result = new wxString (wxStyledTextCtrl_GetSelectedText(_arg0));
f6bcfd97
BP
4533
4534 wxPy_END_ALLOW_THREADS;
fe47ec10
RD
4535}{
4536 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
4537}
4538{
4539 delete _result;
4540}
f6bcfd97
BP
4541 return _resultobj;
4542}
4543
fe47ec10
RD
4544#define wxStyledTextCtrl_GetTextRange(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetTextRange(_swigarg0,_swigarg1))
4545static PyObject *_wrap_wxStyledTextCtrl_GetTextRange(PyObject *self, PyObject *args, PyObject *kwargs) {
f6bcfd97 4546 PyObject * _resultobj;
fe47ec10 4547 wxString * _result;
f6bcfd97
BP
4548 wxStyledTextCtrl * _arg0;
4549 int _arg1;
fe47ec10 4550 int _arg2;
f6bcfd97 4551 PyObject * _argo0 = 0;
fe47ec10 4552 char *_kwnames[] = { "self","startPos","endPos", NULL };
f6bcfd97
BP
4553
4554 self = self;
fe47ec10 4555 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxStyledTextCtrl_GetTextRange",_kwnames,&_argo0,&_arg1,&_arg2))
f6bcfd97
BP
4556 return NULL;
4557 if (_argo0) {
4558 if (_argo0 == Py_None) { _arg0 = NULL; }
4559 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
fe47ec10 4560 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetTextRange. Expected _wxStyledTextCtrl_p.");
f6bcfd97
BP
4561 return NULL;
4562 }
4563 }
f6bcfd97
BP
4564{
4565 wxPy_BEGIN_ALLOW_THREADS;
fe47ec10 4566 _result = new wxString (wxStyledTextCtrl_GetTextRange(_arg0,_arg1,_arg2));
f6bcfd97
BP
4567
4568 wxPy_END_ALLOW_THREADS;
fe47ec10
RD
4569}{
4570 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
4571}
4572{
4573 delete _result;
4574}
f6bcfd97
BP
4575 return _resultobj;
4576}
4577
fe47ec10
RD
4578#define wxStyledTextCtrl_HideSelection(_swigobj,_swigarg0) (_swigobj->HideSelection(_swigarg0))
4579static PyObject *_wrap_wxStyledTextCtrl_HideSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
f6bcfd97
BP
4580 PyObject * _resultobj;
4581 wxStyledTextCtrl * _arg0;
fe47ec10 4582 bool _arg1;
f6bcfd97 4583 PyObject * _argo0 = 0;
fe47ec10
RD
4584 int tempbool1;
4585 char *_kwnames[] = { "self","normal", NULL };
f6bcfd97
BP
4586
4587 self = self;
fe47ec10 4588 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_HideSelection",_kwnames,&_argo0,&tempbool1))
f6bcfd97
BP
4589 return NULL;
4590 if (_argo0) {
4591 if (_argo0 == Py_None) { _arg0 = NULL; }
4592 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
fe47ec10 4593 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_HideSelection. Expected _wxStyledTextCtrl_p.");
f6bcfd97
BP
4594 return NULL;
4595 }
4596 }
fe47ec10 4597 _arg1 = (bool ) tempbool1;
f6bcfd97
BP
4598{
4599 wxPy_BEGIN_ALLOW_THREADS;
fe47ec10 4600 wxStyledTextCtrl_HideSelection(_arg0,_arg1);
f6bcfd97
BP
4601
4602 wxPy_END_ALLOW_THREADS;
4603} Py_INCREF(Py_None);
4604 _resultobj = Py_None;
f6bcfd97
BP
4605 return _resultobj;
4606}
4607
fe47ec10
RD
4608#define wxStyledTextCtrl_LineFromPosition(_swigobj,_swigarg0) (_swigobj->LineFromPosition(_swigarg0))
4609static PyObject *_wrap_wxStyledTextCtrl_LineFromPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
f6bcfd97 4610 PyObject * _resultobj;
fe47ec10 4611 int _result;
f6bcfd97 4612 wxStyledTextCtrl * _arg0;
fe47ec10 4613 int _arg1;
f6bcfd97 4614 PyObject * _argo0 = 0;
fe47ec10 4615 char *_kwnames[] = { "self","pos", NULL };
f6bcfd97
BP
4616
4617 self = self;
fe47ec10 4618 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_LineFromPosition",_kwnames,&_argo0,&_arg1))
f6bcfd97
BP
4619 return NULL;
4620 if (_argo0) {
4621 if (_argo0 == Py_None) { _arg0 = NULL; }
4622 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
fe47ec10 4623 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_LineFromPosition. Expected _wxStyledTextCtrl_p.");
f6bcfd97
BP
4624 return NULL;
4625 }
4626 }
4627{
4628 wxPy_BEGIN_ALLOW_THREADS;
fe47ec10 4629 _result = (int )wxStyledTextCtrl_LineFromPosition(_arg0,_arg1);
f6bcfd97
BP
4630
4631 wxPy_END_ALLOW_THREADS;
fe47ec10 4632} _resultobj = Py_BuildValue("i",_result);
f6bcfd97
BP
4633 return _resultobj;
4634}
4635
fe47ec10
RD
4636#define wxStyledTextCtrl_PositionFromLine(_swigobj,_swigarg0) (_swigobj->PositionFromLine(_swigarg0))
4637static PyObject *_wrap_wxStyledTextCtrl_PositionFromLine(PyObject *self, PyObject *args, PyObject *kwargs) {
f6bcfd97 4638 PyObject * _resultobj;
fe47ec10 4639 int _result;
f6bcfd97 4640 wxStyledTextCtrl * _arg0;
fe47ec10 4641 int _arg1;
f6bcfd97 4642 PyObject * _argo0 = 0;
fe47ec10 4643 char *_kwnames[] = { "self","line", NULL };
f6bcfd97
BP
4644
4645 self = self;
fe47ec10 4646 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_PositionFromLine",_kwnames,&_argo0,&_arg1))
f6bcfd97
BP
4647 return NULL;
4648 if (_argo0) {
4649 if (_argo0 == Py_None) { _arg0 = NULL; }
4650 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
fe47ec10 4651 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_PositionFromLine. Expected _wxStyledTextCtrl_p.");
f6bcfd97
BP
4652 return NULL;
4653 }
4654 }
4655{
4656 wxPy_BEGIN_ALLOW_THREADS;
fe47ec10 4657 _result = (int )wxStyledTextCtrl_PositionFromLine(_arg0,_arg1);
f6bcfd97
BP
4658
4659 wxPy_END_ALLOW_THREADS;
4660} _resultobj = Py_BuildValue("i",_result);
4661 return _resultobj;
4662}
4663
fe47ec10
RD
4664#define wxStyledTextCtrl_LineScroll(_swigobj,_swigarg0,_swigarg1) (_swigobj->LineScroll(_swigarg0,_swigarg1))
4665static PyObject *_wrap_wxStyledTextCtrl_LineScroll(PyObject *self, PyObject *args, PyObject *kwargs) {
f6bcfd97 4666 PyObject * _resultobj;
f6bcfd97 4667 wxStyledTextCtrl * _arg0;
fe47ec10
RD
4668 int _arg1;
4669 int _arg2;
f6bcfd97 4670 PyObject * _argo0 = 0;
fe47ec10 4671 char *_kwnames[] = { "self","columns","lines", NULL };
f6bcfd97
BP
4672
4673 self = self;
fe47ec10 4674 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxStyledTextCtrl_LineScroll",_kwnames,&_argo0,&_arg1,&_arg2))
f6bcfd97
BP
4675 return NULL;
4676 if (_argo0) {
4677 if (_argo0 == Py_None) { _arg0 = NULL; }
4678 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
fe47ec10 4679 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_LineScroll. Expected _wxStyledTextCtrl_p.");
f6bcfd97
BP
4680 return NULL;
4681 }
4682 }
4683{
4684 wxPy_BEGIN_ALLOW_THREADS;
fe47ec10 4685 wxStyledTextCtrl_LineScroll(_arg0,_arg1,_arg2);
f6bcfd97
BP
4686
4687 wxPy_END_ALLOW_THREADS;
fe47ec10
RD
4688} Py_INCREF(Py_None);
4689 _resultobj = Py_None;
f6bcfd97
BP
4690 return _resultobj;
4691}
4692
fe47ec10
RD
4693#define wxStyledTextCtrl_EnsureCaretVisible(_swigobj) (_swigobj->EnsureCaretVisible())
4694static PyObject *_wrap_wxStyledTextCtrl_EnsureCaretVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
f6bcfd97
BP
4695 PyObject * _resultobj;
4696 wxStyledTextCtrl * _arg0;
4697 PyObject * _argo0 = 0;
4698 char *_kwnames[] = { "self", NULL };
4699
4700 self = self;
fe47ec10 4701 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_EnsureCaretVisible",_kwnames,&_argo0))
f6bcfd97
BP
4702 return NULL;
4703 if (_argo0) {
4704 if (_argo0 == Py_None) { _arg0 = NULL; }
4705 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
fe47ec10 4706 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_EnsureCaretVisible. Expected _wxStyledTextCtrl_p.");
f6bcfd97
BP
4707 return NULL;
4708 }
4709 }
4710{
4711 wxPy_BEGIN_ALLOW_THREADS;
fe47ec10 4712 wxStyledTextCtrl_EnsureCaretVisible(_arg0);
f6bcfd97
BP
4713
4714 wxPy_END_ALLOW_THREADS;
4715} Py_INCREF(Py_None);
4716 _resultobj = Py_None;
4717 return _resultobj;
4718}
4719
fe47ec10
RD
4720#define wxStyledTextCtrl_ReplaceSelection(_swigobj,_swigarg0) (_swigobj->ReplaceSelection(_swigarg0))
4721static PyObject *_wrap_wxStyledTextCtrl_ReplaceSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
f6bcfd97
BP
4722 PyObject * _resultobj;
4723 wxStyledTextCtrl * _arg0;
4724 wxString * _arg1;
4725 PyObject * _argo0 = 0;
4726 PyObject * _obj1 = 0;
fe47ec10 4727 char *_kwnames[] = { "self","text", NULL };
f6bcfd97
BP
4728
4729 self = self;
fe47ec10 4730 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxStyledTextCtrl_ReplaceSelection",_kwnames,&_argo0,&_obj1))
f6bcfd97
BP
4731 return NULL;
4732 if (_argo0) {
4733 if (_argo0 == Py_None) { _arg0 = NULL; }
4734 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
fe47ec10 4735 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_ReplaceSelection. Expected _wxStyledTextCtrl_p.");
f6bcfd97
BP
4736 return NULL;
4737 }
4738 }
4739{
185d7c3e
RD
4740#if PYTHON_API_VERSION >= 1009
4741 char* tmpPtr; int tmpSize;
4742 if (!PyString_Check(_obj1) && !PyUnicode_Check(_obj1)) {
4743 PyErr_SetString(PyExc_TypeError, "String or Unicode type required");
4744 return NULL;
4745 }
4746 if (PyString_AsStringAndSize(_obj1, &tmpPtr, &tmpSize) == -1)
4747 return NULL;
4748 _arg1 = new wxString(tmpPtr, tmpSize);
4749#else
f6bcfd97
BP
4750 if (!PyString_Check(_obj1)) {
4751 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
4752 return NULL;
4753 }
185d7c3e
RD
4754 _arg1 = new wxString(PyString_AS_STRING(_obj1), PyString_GET_SIZE(_obj1));
4755#endif
f6bcfd97
BP
4756}
4757{
4758 wxPy_BEGIN_ALLOW_THREADS;
fe47ec10 4759 wxStyledTextCtrl_ReplaceSelection(_arg0,*_arg1);
f6bcfd97
BP
4760
4761 wxPy_END_ALLOW_THREADS;
4762} Py_INCREF(Py_None);
4763 _resultobj = Py_None;
4764{
4765 if (_obj1)
4766 delete _arg1;
4767}
4768 return _resultobj;
4769}
4770
fe47ec10
RD
4771#define wxStyledTextCtrl_SetReadOnly(_swigobj,_swigarg0) (_swigobj->SetReadOnly(_swigarg0))
4772static PyObject *_wrap_wxStyledTextCtrl_SetReadOnly(PyObject *self, PyObject *args, PyObject *kwargs) {
f6bcfd97
BP
4773 PyObject * _resultobj;
4774 wxStyledTextCtrl * _arg0;
fe47ec10 4775 bool _arg1;
f6bcfd97 4776 PyObject * _argo0 = 0;
fe47ec10
RD
4777 int tempbool1;
4778 char *_kwnames[] = { "self","readOnly", NULL };
f6bcfd97
BP
4779
4780 self = self;
fe47ec10 4781 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_SetReadOnly",_kwnames,&_argo0,&tempbool1))
f6bcfd97
BP
4782 return NULL;
4783 if (_argo0) {
4784 if (_argo0 == Py_None) { _arg0 = NULL; }
4785 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
fe47ec10 4786 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetReadOnly. Expected _wxStyledTextCtrl_p.");
f6bcfd97
BP
4787 return NULL;
4788 }
4789 }
fe47ec10 4790 _arg1 = (bool ) tempbool1;
f6bcfd97
BP
4791{
4792 wxPy_BEGIN_ALLOW_THREADS;
fe47ec10 4793 wxStyledTextCtrl_SetReadOnly(_arg0,_arg1);
f6bcfd97
BP
4794
4795 wxPy_END_ALLOW_THREADS;
4796} Py_INCREF(Py_None);
4797 _resultobj = Py_None;
4798 return _resultobj;
4799}
4800
fe47ec10
RD
4801#define wxStyledTextCtrl_CanPaste(_swigobj) (_swigobj->CanPaste())
4802static PyObject *_wrap_wxStyledTextCtrl_CanPaste(PyObject *self, PyObject *args, PyObject *kwargs) {
f6bcfd97 4803 PyObject * _resultobj;
fe47ec10 4804 bool _result;
f6bcfd97
BP
4805 wxStyledTextCtrl * _arg0;
4806 PyObject * _argo0 = 0;
4807 char *_kwnames[] = { "self", NULL };
4808
4809 self = self;
fe47ec10 4810 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_CanPaste",_kwnames,&_argo0))
f6bcfd97
BP
4811 return NULL;
4812 if (_argo0) {
4813 if (_argo0 == Py_None) { _arg0 = NULL; }
4814 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
fe47ec10 4815 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_CanPaste. Expected _wxStyledTextCtrl_p.");
f6bcfd97
BP
4816 return NULL;
4817 }
4818 }
4819{
4820 wxPy_BEGIN_ALLOW_THREADS;
fe47ec10 4821 _result = (bool )wxStyledTextCtrl_CanPaste(_arg0);
f6bcfd97
BP
4822
4823 wxPy_END_ALLOW_THREADS;
fe47ec10 4824} _resultobj = Py_BuildValue("i",_result);
f6bcfd97
BP
4825 return _resultobj;
4826}
4827
fe47ec10
RD
4828#define wxStyledTextCtrl_CanUndo(_swigobj) (_swigobj->CanUndo())
4829static PyObject *_wrap_wxStyledTextCtrl_CanUndo(PyObject *self, PyObject *args, PyObject *kwargs) {
f6bcfd97 4830 PyObject * _resultobj;
fe47ec10 4831 bool _result;
f6bcfd97 4832 wxStyledTextCtrl * _arg0;
f6bcfd97 4833 PyObject * _argo0 = 0;
fe47ec10 4834 char *_kwnames[] = { "self", NULL };
f6bcfd97
BP
4835
4836 self = self;
fe47ec10 4837 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_CanUndo",_kwnames,&_argo0))
f6bcfd97
BP
4838 return NULL;
4839 if (_argo0) {
4840 if (_argo0 == Py_None) { _arg0 = NULL; }
4841 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
fe47ec10 4842 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_CanUndo. Expected _wxStyledTextCtrl_p.");
f6bcfd97
BP
4843 return NULL;
4844 }
4845 }
f6bcfd97
BP
4846{
4847 wxPy_BEGIN_ALLOW_THREADS;
fe47ec10 4848 _result = (bool )wxStyledTextCtrl_CanUndo(_arg0);
f6bcfd97
BP
4849
4850 wxPy_END_ALLOW_THREADS;
fe47ec10 4851} _resultobj = Py_BuildValue("i",_result);
f6bcfd97
BP
4852 return _resultobj;
4853}
4854
fe47ec10
RD
4855#define wxStyledTextCtrl_EmptyUndoBuffer(_swigobj) (_swigobj->EmptyUndoBuffer())
4856static PyObject *_wrap_wxStyledTextCtrl_EmptyUndoBuffer(PyObject *self, PyObject *args, PyObject *kwargs) {
f6bcfd97
BP
4857 PyObject * _resultobj;
4858 wxStyledTextCtrl * _arg0;
f6bcfd97 4859 PyObject * _argo0 = 0;
fe47ec10 4860 char *_kwnames[] = { "self", NULL };
f6bcfd97
BP
4861
4862 self = self;
fe47ec10 4863 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_EmptyUndoBuffer",_kwnames,&_argo0))
f6bcfd97
BP
4864 return NULL;
4865 if (_argo0) {
4866 if (_argo0 == Py_None) { _arg0 = NULL; }
4867 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
fe47ec10 4868 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_EmptyUndoBuffer. Expected _wxStyledTextCtrl_p.");
f6bcfd97
BP
4869 return NULL;
4870 }
4871 }
f6bcfd97
BP
4872{
4873 wxPy_BEGIN_ALLOW_THREADS;
fe47ec10 4874 wxStyledTextCtrl_EmptyUndoBuffer(_arg0);
f6bcfd97
BP
4875
4876 wxPy_END_ALLOW_THREADS;
4877} Py_INCREF(Py_None);
4878 _resultobj = Py_None;
f6bcfd97
BP
4879 return _resultobj;
4880}
4881
fe47ec10
RD
4882#define wxStyledTextCtrl_Undo(_swigobj) (_swigobj->Undo())
4883static PyObject *_wrap_wxStyledTextCtrl_Undo(PyObject *self, PyObject *args, PyObject *kwargs) {
f6bcfd97
BP
4884 PyObject * _resultobj;
4885 wxStyledTextCtrl * _arg0;
4886 PyObject * _argo0 = 0;
4887 char *_kwnames[] = { "self", NULL };
4888
4889 self = self;
fe47ec10 4890 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_Undo",_kwnames,&_argo0))
f6bcfd97
BP
4891 return NULL;
4892 if (_argo0) {
4893 if (_argo0 == Py_None) { _arg0 = NULL; }
4894 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
fe47ec10 4895 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_Undo. Expected _wxStyledTextCtrl_p.");
f6bcfd97
BP
4896 return NULL;
4897 }
4898 }
4899{
4900 wxPy_BEGIN_ALLOW_THREADS;
fe47ec10 4901 wxStyledTextCtrl_Undo(_arg0);
f6bcfd97
BP
4902
4903 wxPy_END_ALLOW_THREADS;
4904} Py_INCREF(Py_None);
4905 _resultobj = Py_None;
4906 return _resultobj;
4907}
4908
fe47ec10
RD
4909#define wxStyledTextCtrl_Cut(_swigobj) (_swigobj->Cut())
4910static PyObject *_wrap_wxStyledTextCtrl_Cut(PyObject *self, PyObject *args, PyObject *kwargs) {
f6bcfd97 4911 PyObject * _resultobj;
f6bcfd97
BP
4912 wxStyledTextCtrl * _arg0;
4913 PyObject * _argo0 = 0;
4914 char *_kwnames[] = { "self", NULL };
4915
4916 self = self;
fe47ec10 4917 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_Cut",_kwnames,&_argo0))
f6bcfd97
BP
4918 return NULL;
4919 if (_argo0) {
4920 if (_argo0 == Py_None) { _arg0 = NULL; }
4921 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
fe47ec10 4922 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_Cut. Expected _wxStyledTextCtrl_p.");
f6bcfd97
BP
4923 return NULL;
4924 }
4925 }
4926{
4927 wxPy_BEGIN_ALLOW_THREADS;
fe47ec10 4928 wxStyledTextCtrl_Cut(_arg0);
f6bcfd97
BP
4929
4930 wxPy_END_ALLOW_THREADS;
fe47ec10
RD
4931} Py_INCREF(Py_None);
4932 _resultobj = Py_None;
f6bcfd97
BP
4933 return _resultobj;
4934}
4935
fe47ec10
RD
4936#define wxStyledTextCtrl_Copy(_swigobj) (_swigobj->Copy())
4937static PyObject *_wrap_wxStyledTextCtrl_Copy(PyObject *self, PyObject *args, PyObject *kwargs) {
f6bcfd97 4938 PyObject * _resultobj;
f6bcfd97
BP
4939 wxStyledTextCtrl * _arg0;
4940 PyObject * _argo0 = 0;
4941 char *_kwnames[] = { "self", NULL };
4942
4943 self = self;
fe47ec10 4944 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_Copy",_kwnames,&_argo0))
f6bcfd97
BP
4945 return NULL;
4946 if (_argo0) {
4947 if (_argo0 == Py_None) { _arg0 = NULL; }
4948 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
fe47ec10 4949 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_Copy. Expected _wxStyledTextCtrl_p.");
f6bcfd97
BP
4950 return NULL;
4951 }
4952 }
4953{
4954 wxPy_BEGIN_ALLOW_THREADS;
fe47ec10 4955 wxStyledTextCtrl_Copy(_arg0);
f6bcfd97
BP
4956
4957 wxPy_END_ALLOW_THREADS;
fe47ec10
RD
4958} Py_INCREF(Py_None);
4959 _resultobj = Py_None;
f6bcfd97
BP
4960 return _resultobj;
4961}
4962
fe47ec10
RD
4963#define wxStyledTextCtrl_Paste(_swigobj) (_swigobj->Paste())
4964static PyObject *_wrap_wxStyledTextCtrl_Paste(PyObject *self, PyObject *args, PyObject *kwargs) {
f6bcfd97
BP
4965 PyObject * _resultobj;
4966 wxStyledTextCtrl * _arg0;
f6bcfd97 4967 PyObject * _argo0 = 0;
fe47ec10 4968 char *_kwnames[] = { "self", NULL };
f6bcfd97
BP
4969
4970 self = self;
fe47ec10 4971 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_Paste",_kwnames,&_argo0))
f6bcfd97
BP
4972 return NULL;
4973 if (_argo0) {
4974 if (_argo0 == Py_None) { _arg0 = NULL; }
4975 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
fe47ec10 4976 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_Paste. Expected _wxStyledTextCtrl_p.");
f6bcfd97
BP
4977 return NULL;
4978 }
4979 }
4980{
4981 wxPy_BEGIN_ALLOW_THREADS;
fe47ec10 4982 wxStyledTextCtrl_Paste(_arg0);
f6bcfd97
BP
4983
4984 wxPy_END_ALLOW_THREADS;
4985} Py_INCREF(Py_None);
4986 _resultobj = Py_None;
4987 return _resultobj;
4988}
4989
fe47ec10
RD
4990#define wxStyledTextCtrl_Clear(_swigobj) (_swigobj->Clear())
4991static PyObject *_wrap_wxStyledTextCtrl_Clear(PyObject *self, PyObject *args, PyObject *kwargs) {
f6bcfd97
BP
4992 PyObject * _resultobj;
4993 wxStyledTextCtrl * _arg0;
f6bcfd97 4994 PyObject * _argo0 = 0;
fe47ec10 4995 char *_kwnames[] = { "self", NULL };
f6bcfd97
BP
4996
4997 self = self;
fe47ec10 4998 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_Clear",_kwnames,&_argo0))
f6bcfd97
BP
4999 return NULL;
5000 if (_argo0) {
5001 if (_argo0 == Py_None) { _arg0 = NULL; }
5002 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
fe47ec10 5003 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_Clear. Expected _wxStyledTextCtrl_p.");
f6bcfd97
BP
5004 return NULL;
5005 }
5006 }
f6bcfd97
BP
5007{
5008 wxPy_BEGIN_ALLOW_THREADS;
fe47ec10 5009 wxStyledTextCtrl_Clear(_arg0);
f6bcfd97
BP
5010
5011 wxPy_END_ALLOW_THREADS;
5012} Py_INCREF(Py_None);
5013 _resultobj = Py_None;
5014 return _resultobj;
5015}
5016
fe47ec10
RD
5017#define wxStyledTextCtrl_SetText(_swigobj,_swigarg0) (_swigobj->SetText(_swigarg0))
5018static PyObject *_wrap_wxStyledTextCtrl_SetText(PyObject *self, PyObject *args, PyObject *kwargs) {
f6bcfd97
BP
5019 PyObject * _resultobj;
5020 wxStyledTextCtrl * _arg0;
fe47ec10 5021 wxString * _arg1;
f6bcfd97 5022 PyObject * _argo0 = 0;
fe47ec10
RD
5023 PyObject * _obj1 = 0;
5024 char *_kwnames[] = { "self","text", NULL };
f6bcfd97
BP
5025
5026 self = self;
fe47ec10 5027 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxStyledTextCtrl_SetText",_kwnames,&_argo0,&_obj1))
f6bcfd97
BP
5028 return NULL;
5029 if (_argo0) {
5030 if (_argo0 == Py_None) { _arg0 = NULL; }
5031 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
fe47ec10 5032 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetText. Expected _wxStyledTextCtrl_p.");
f6bcfd97
BP
5033 return NULL;
5034 }
5035 }
fe47ec10 5036{
185d7c3e
RD
5037#if PYTHON_API_VERSION >= 1009
5038 char* tmpPtr; int tmpSize;
5039 if (!PyString_Check(_obj1) && !PyUnicode_Check(_obj1)) {
5040 PyErr_SetString(PyExc_TypeError, "String or Unicode type required");
5041 return NULL;
5042 }
5043 if (PyString_AsStringAndSize(_obj1, &tmpPtr, &tmpSize) == -1)
5044 return NULL;
5045 _arg1 = new wxString(tmpPtr, tmpSize);
5046#else
fe47ec10
RD
5047 if (!PyString_Check(_obj1)) {
5048 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
5049 return NULL;
5050 }
185d7c3e
RD
5051 _arg1 = new wxString(PyString_AS_STRING(_obj1), PyString_GET_SIZE(_obj1));
5052#endif
fe47ec10 5053}
f6bcfd97
BP
5054{
5055 wxPy_BEGIN_ALLOW_THREADS;
fe47ec10 5056 wxStyledTextCtrl_SetText(_arg0,*_arg1);
f6bcfd97
BP
5057
5058 wxPy_END_ALLOW_THREADS;
5059} Py_INCREF(Py_None);
5060 _resultobj = Py_None;
fe47ec10
RD
5061{
5062 if (_obj1)
5063 delete _arg1;
5064}
f6bcfd97
BP
5065 return _resultobj;
5066}
5067
fe47ec10
RD
5068#define wxStyledTextCtrl_GetText(_swigobj) (_swigobj->GetText())
5069static PyObject *_wrap_wxStyledTextCtrl_GetText(PyObject *self, PyObject *args, PyObject *kwargs) {
f6bcfd97 5070 PyObject * _resultobj;
fe47ec10 5071 wxString * _result;
f6bcfd97 5072 wxStyledTextCtrl * _arg0;
f6bcfd97 5073 PyObject * _argo0 = 0;
fe47ec10 5074 char *_kwnames[] = { "self", NULL };
f6bcfd97
BP
5075
5076 self = self;
fe47ec10 5077 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetText",_kwnames,&_argo0))
f6bcfd97
BP
5078 return NULL;
5079 if (_argo0) {
5080 if (_argo0 == Py_None) { _arg0 = NULL; }
5081 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
fe47ec10 5082 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetText. Expected _wxStyledTextCtrl_p.");
f6bcfd97
BP
5083 return NULL;
5084 }
5085 }
5086{
5087 wxPy_BEGIN_ALLOW_THREADS;
fe47ec10 5088 _result = new wxString (wxStyledTextCtrl_GetText(_arg0));
f6bcfd97
BP
5089
5090 wxPy_END_ALLOW_THREADS;
fe47ec10
RD
5091}{
5092 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
5093}
5094{
5095 delete _result;
5096}
f6bcfd97
BP
5097 return _resultobj;
5098}
5099
fe47ec10
RD
5100#define wxStyledTextCtrl_GetTextLength(_swigobj) (_swigobj->GetTextLength())
5101static PyObject *_wrap_wxStyledTextCtrl_GetTextLength(PyObject *self, PyObject *args, PyObject *kwargs) {
f6bcfd97 5102 PyObject * _resultobj;
fe47ec10 5103 int _result;
f6bcfd97
BP
5104 wxStyledTextCtrl * _arg0;
5105 PyObject * _argo0 = 0;
5106 char *_kwnames[] = { "self", NULL };
5107
5108 self = self;
fe47ec10 5109 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetTextLength",_kwnames,&_argo0))
f6bcfd97
BP
5110 return NULL;
5111 if (_argo0) {
5112 if (_argo0 == Py_None) { _arg0 = NULL; }
5113 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
fe47ec10 5114 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetTextLength. Expected _wxStyledTextCtrl_p.");
f6bcfd97
BP
5115 return NULL;
5116 }
5117 }
5118{
5119 wxPy_BEGIN_ALLOW_THREADS;
fe47ec10 5120 _result = (int )wxStyledTextCtrl_GetTextLength(_arg0);
f6bcfd97
BP
5121
5122 wxPy_END_ALLOW_THREADS;
fe47ec10 5123} _resultobj = Py_BuildValue("i",_result);
f6bcfd97
BP
5124 return _resultobj;
5125}
5126
fe47ec10
RD
5127#define wxStyledTextCtrl_SetOvertype(_swigobj,_swigarg0) (_swigobj->SetOvertype(_swigarg0))
5128static PyObject *_wrap_wxStyledTextCtrl_SetOvertype(PyObject *self, PyObject *args, PyObject *kwargs) {
f6bcfd97
BP
5129 PyObject * _resultobj;
5130 wxStyledTextCtrl * _arg0;
fe47ec10 5131 bool _arg1;
f6bcfd97 5132 PyObject * _argo0 = 0;
fe47ec10
RD
5133 int tempbool1;
5134 char *_kwnames[] = { "self","overtype", NULL };
f6bcfd97
BP
5135
5136 self = self;
fe47ec10 5137 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_SetOvertype",_kwnames,&_argo0,&tempbool1))
f6bcfd97
BP
5138 return NULL;
5139 if (_argo0) {
5140 if (_argo0 == Py_None) { _arg0 = NULL; }
5141 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
fe47ec10 5142 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetOvertype. Expected _wxStyledTextCtrl_p.");
f6bcfd97
BP
5143 return NULL;
5144 }
5145 }
fe47ec10 5146 _arg1 = (bool ) tempbool1;
f6bcfd97
BP
5147{
5148 wxPy_BEGIN_ALLOW_THREADS;
fe47ec10 5149 wxStyledTextCtrl_SetOvertype(_arg0,_arg1);
f6bcfd97
BP
5150
5151 wxPy_END_ALLOW_THREADS;
5152} Py_INCREF(Py_None);
5153 _resultobj = Py_None;
5154 return _resultobj;
5155}
5156
fe47ec10
RD
5157#define wxStyledTextCtrl_GetOvertype(_swigobj) (_swigobj->GetOvertype())
5158static PyObject *_wrap_wxStyledTextCtrl_GetOvertype(PyObject *self, PyObject *args, PyObject *kwargs) {
f6bcfd97 5159 PyObject * _resultobj;
fe47ec10 5160 bool _result;
f6bcfd97 5161 wxStyledTextCtrl * _arg0;
f6bcfd97 5162 PyObject * _argo0 = 0;
fe47ec10 5163 char *_kwnames[] = { "self", NULL };
f6bcfd97
BP
5164
5165 self = self;
fe47ec10 5166 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetOvertype",_kwnames,&_argo0))
f6bcfd97
BP
5167 return NULL;
5168 if (_argo0) {
5169 if (_argo0 == Py_None) { _arg0 = NULL; }
5170 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
fe47ec10 5171 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetOvertype. Expected _wxStyledTextCtrl_p.");
f6bcfd97
BP
5172 return NULL;
5173 }
5174 }
f6bcfd97
BP
5175{
5176 wxPy_BEGIN_ALLOW_THREADS;
fe47ec10 5177 _result = (bool )wxStyledTextCtrl_GetOvertype(_arg0);
f6bcfd97
BP
5178
5179 wxPy_END_ALLOW_THREADS;
5180} _resultobj = Py_BuildValue("i",_result);
5181 return _resultobj;
5182}
5183
fe47ec10
RD
5184#define wxStyledTextCtrl_CallTipShow(_swigobj,_swigarg0,_swigarg1) (_swigobj->CallTipShow(_swigarg0,_swigarg1))
5185static PyObject *_wrap_wxStyledTextCtrl_CallTipShow(PyObject *self, PyObject *args, PyObject *kwargs) {
f6bcfd97 5186 PyObject * _resultobj;
f6bcfd97 5187 wxStyledTextCtrl * _arg0;
fe47ec10
RD
5188 int _arg1;
5189 wxString * _arg2;
f6bcfd97 5190 PyObject * _argo0 = 0;
fe47ec10
RD
5191 PyObject * _obj2 = 0;
5192 char *_kwnames[] = { "self","pos","definition", NULL };
f6bcfd97
BP
5193
5194 self = self;
fe47ec10 5195 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxStyledTextCtrl_CallTipShow",_kwnames,&_argo0,&_arg1,&_obj2))
f6bcfd97
BP
5196 return NULL;
5197 if (_argo0) {
5198 if (_argo0 == Py_None) { _arg0 = NULL; }
5199 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
fe47ec10 5200 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_CallTipShow. Expected _wxStyledTextCtrl_p.");
f6bcfd97
BP
5201 return NULL;
5202 }
5203 }
fe47ec10 5204{
185d7c3e
RD
5205#if PYTHON_API_VERSION >= 1009
5206 char* tmpPtr; int tmpSize;
5207 if (!PyString_Check(_obj2) && !PyUnicode_Check(_obj2)) {
5208 PyErr_SetString(PyExc_TypeError, "String or Unicode type required");
5209 return NULL;
5210 }
5211 if (PyString_AsStringAndSize(_obj2, &tmpPtr, &tmpSize) == -1)
5212 return NULL;
5213 _arg2 = new wxString(tmpPtr, tmpSize);
5214#else
fe47ec10
RD
5215 if (!PyString_Check(_obj2)) {
5216 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
5217 return NULL;
5218 }
185d7c3e
RD
5219 _arg2 = new wxString(PyString_AS_STRING(_obj2), PyString_GET_SIZE(_obj2));
5220#endif
fe47ec10 5221}
f6bcfd97
BP
5222{
5223 wxPy_BEGIN_ALLOW_THREADS;
fe47ec10 5224 wxStyledTextCtrl_CallTipShow(_arg0,_arg1,*_arg2);
f6bcfd97
BP
5225
5226 wxPy_END_ALLOW_THREADS;
fe47ec10
RD
5227} Py_INCREF(Py_None);
5228 _resultobj = Py_None;
5229{
5230 if (_obj2)
5231 delete _arg2;
5232}
f6bcfd97
BP
5233 return _resultobj;
5234}
5235
fe47ec10
RD
5236#define wxStyledTextCtrl_CallTipCancel(_swigobj) (_swigobj->CallTipCancel())
5237static PyObject *_wrap_wxStyledTextCtrl_CallTipCancel(PyObject *self, PyObject *args, PyObject *kwargs) {
f6bcfd97
BP
5238 PyObject * _resultobj;
5239 wxStyledTextCtrl * _arg0;
f6bcfd97 5240 PyObject * _argo0 = 0;
fe47ec10 5241 char *_kwnames[] = { "self", NULL };
f6bcfd97
BP
5242
5243 self = self;
fe47ec10 5244 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_CallTipCancel",_kwnames,&_argo0))
f6bcfd97
BP
5245 return NULL;
5246 if (_argo0) {
5247 if (_argo0 == Py_None) { _arg0 = NULL; }
5248 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
fe47ec10 5249 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_CallTipCancel. Expected _wxStyledTextCtrl_p.");
f6bcfd97
BP
5250 return NULL;
5251 }
5252 }
5253{
5254 wxPy_BEGIN_ALLOW_THREADS;
fe47ec10 5255 wxStyledTextCtrl_CallTipCancel(_arg0);
f6bcfd97
BP
5256
5257 wxPy_END_ALLOW_THREADS;
5258} Py_INCREF(Py_None);
5259 _resultobj = Py_None;
5260 return _resultobj;
5261}
5262
fe47ec10
RD
5263#define wxStyledTextCtrl_CallTipActive(_swigobj) (_swigobj->CallTipActive())
5264static PyObject *_wrap_wxStyledTextCtrl_CallTipActive(PyObject *self, PyObject *args, PyObject *kwargs) {
f6bcfd97 5265 PyObject * _resultobj;
fe47ec10 5266 bool _result;
f6bcfd97 5267 wxStyledTextCtrl * _arg0;
f6bcfd97 5268 PyObject * _argo0 = 0;
fe47ec10 5269 char *_kwnames[] = { "self", NULL };
f6bcfd97
BP
5270
5271 self = self;
fe47ec10 5272 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_CallTipActive",_kwnames,&_argo0))
f6bcfd97
BP
5273 return NULL;
5274 if (_argo0) {
5275 if (_argo0 == Py_None) { _arg0 = NULL; }
5276 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
fe47ec10 5277 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_CallTipActive. Expected _wxStyledTextCtrl_p.");
f6bcfd97
BP
5278 return NULL;
5279 }
5280 }
5281{
5282 wxPy_BEGIN_ALLOW_THREADS;
fe47ec10 5283 _result = (bool )wxStyledTextCtrl_CallTipActive(_arg0);
f6bcfd97
BP
5284
5285 wxPy_END_ALLOW_THREADS;
5286} _resultobj = Py_BuildValue("i",_result);
5287 return _resultobj;
5288}
5289
fe47ec10
RD
5290#define wxStyledTextCtrl_CallTipPosAtStart(_swigobj) (_swigobj->CallTipPosAtStart())
5291static PyObject *_wrap_wxStyledTextCtrl_CallTipPosAtStart(PyObject *self, PyObject *args, PyObject *kwargs) {
f6bcfd97
BP
5292 PyObject * _resultobj;
5293 int _result;
5294 wxStyledTextCtrl * _arg0;
f6bcfd97 5295 PyObject * _argo0 = 0;
fe47ec10 5296 char *_kwnames[] = { "self", NULL };
f6bcfd97
BP
5297
5298 self = self;
fe47ec10 5299 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_CallTipPosAtStart",_kwnames,&_argo0))
f6bcfd97
BP
5300 return NULL;
5301 if (_argo0) {
5302 if (_argo0 == Py_None) { _arg0 = NULL; }
5303 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
fe47ec10 5304 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_CallTipPosAtStart. Expected _wxStyledTextCtrl_p.");
f6bcfd97
BP
5305 return NULL;
5306 }
5307 }
5308{
5309 wxPy_BEGIN_ALLOW_THREADS;
fe47ec10 5310 _result = (int )wxStyledTextCtrl_CallTipPosAtStart(_arg0);
f6bcfd97
BP
5311
5312 wxPy_END_ALLOW_THREADS;
5313} _resultobj = Py_BuildValue("i",_result);
5314 return _resultobj;
5315}
5316
fe47ec10
RD
5317#define wxStyledTextCtrl_CallTipSetHighlight(_swigobj,_swigarg0,_swigarg1) (_swigobj->CallTipSetHighlight(_swigarg0,_swigarg1))
5318static PyObject *_wrap_wxStyledTextCtrl_CallTipSetHighlight(PyObject *self, PyObject *args, PyObject *kwargs) {
5319 PyObject * _resultobj;
5320 wxStyledTextCtrl * _arg0;
5321 int _arg1;
5322 int _arg2;
5323 PyObject * _argo0 = 0;
5324 char *_kwnames[] = { "self","start","end", NULL };
5325
5326 self = self;
5327 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxStyledTextCtrl_CallTipSetHighlight",_kwnames,&_argo0,&_arg1,&_arg2))
5328 return NULL;
5329 if (_argo0) {
5330 if (_argo0 == Py_None) { _arg0 = NULL; }
5331 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
5332 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_CallTipSetHighlight. Expected _wxStyledTextCtrl_p.");
5333 return NULL;
5334 }
5335 }
5336{
5337 wxPy_BEGIN_ALLOW_THREADS;
5338 wxStyledTextCtrl_CallTipSetHighlight(_arg0,_arg1,_arg2);
5339
5340 wxPy_END_ALLOW_THREADS;
5341} Py_INCREF(Py_None);
5342 _resultobj = Py_None;
5343 return _resultobj;
5344}
5345
5346#define wxStyledTextCtrl_CallTipSetBackground(_swigobj,_swigarg0) (_swigobj->CallTipSetBackground(_swigarg0))
5347static PyObject *_wrap_wxStyledTextCtrl_CallTipSetBackground(PyObject *self, PyObject *args, PyObject *kwargs) {
5348 PyObject * _resultobj;
5349 wxStyledTextCtrl * _arg0;
5350 wxColour * _arg1;
5351 PyObject * _argo0 = 0;
5352 wxColour temp;
5353 PyObject * _obj1 = 0;
5354 char *_kwnames[] = { "self","back", NULL };
5355
5356 self = self;
5357 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxStyledTextCtrl_CallTipSetBackground",_kwnames,&_argo0,&_obj1))
5358 return NULL;
5359 if (_argo0) {
5360 if (_argo0 == Py_None) { _arg0 = NULL; }
5361 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
5362 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_CallTipSetBackground. Expected _wxStyledTextCtrl_p.");
5363 return NULL;
5364 }
5365 }
5366{
5367 _arg1 = &temp;
5368 if (! wxColour_helper(_obj1, &_arg1))
5369 return NULL;
5370}
5371{
5372 wxPy_BEGIN_ALLOW_THREADS;
5373 wxStyledTextCtrl_CallTipSetBackground(_arg0,*_arg1);
5374
5375 wxPy_END_ALLOW_THREADS;
5376} Py_INCREF(Py_None);
5377 _resultobj = Py_None;
5378 return _resultobj;
5379}
5380
5381#define wxStyledTextCtrl_VisibleFromDocLine(_swigobj,_swigarg0) (_swigobj->VisibleFromDocLine(_swigarg0))
5382static PyObject *_wrap_wxStyledTextCtrl_VisibleFromDocLine(PyObject *self, PyObject *args, PyObject *kwargs) {
5383 PyObject * _resultobj;
5384 int _result;
5385 wxStyledTextCtrl * _arg0;
5386 int _arg1;
5387 PyObject * _argo0 = 0;
5388 char *_kwnames[] = { "self","line", NULL };
5389
5390 self = self;
5391 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_VisibleFromDocLine",_kwnames,&_argo0,&_arg1))
5392 return NULL;
5393 if (_argo0) {
5394 if (_argo0 == Py_None) { _arg0 = NULL; }
5395 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
5396 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_VisibleFromDocLine. Expected _wxStyledTextCtrl_p.");
5397 return NULL;
5398 }
5399 }
5400{
5401 wxPy_BEGIN_ALLOW_THREADS;
5402 _result = (int )wxStyledTextCtrl_VisibleFromDocLine(_arg0,_arg1);
5403
5404 wxPy_END_ALLOW_THREADS;
5405} _resultobj = Py_BuildValue("i",_result);
5406 return _resultobj;
5407}
5408
5409#define wxStyledTextCtrl_DocLineFromVisible(_swigobj,_swigarg0) (_swigobj->DocLineFromVisible(_swigarg0))
5410static PyObject *_wrap_wxStyledTextCtrl_DocLineFromVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
5411 PyObject * _resultobj;
f6bcfd97
BP
5412 int _result;
5413 wxStyledTextCtrl * _arg0;
5414 int _arg1;
fe47ec10
RD
5415 PyObject * _argo0 = 0;
5416 char *_kwnames[] = { "self","lineDisplay", NULL };
5417
5418 self = self;
5419 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_DocLineFromVisible",_kwnames,&_argo0,&_arg1))
5420 return NULL;
5421 if (_argo0) {
5422 if (_argo0 == Py_None) { _arg0 = NULL; }
5423 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
5424 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_DocLineFromVisible. Expected _wxStyledTextCtrl_p.");
5425 return NULL;
5426 }
5427 }
5428{
5429 wxPy_BEGIN_ALLOW_THREADS;
5430 _result = (int )wxStyledTextCtrl_DocLineFromVisible(_arg0,_arg1);
5431
5432 wxPy_END_ALLOW_THREADS;
5433} _resultobj = Py_BuildValue("i",_result);
5434 return _resultobj;
5435}
5436
5437#define wxStyledTextCtrl_SetFoldLevel(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetFoldLevel(_swigarg0,_swigarg1))
5438static PyObject *_wrap_wxStyledTextCtrl_SetFoldLevel(PyObject *self, PyObject *args, PyObject *kwargs) {
5439 PyObject * _resultobj;
5440 wxStyledTextCtrl * _arg0;
5441 int _arg1;
f6bcfd97
BP
5442 int _arg2;
5443 PyObject * _argo0 = 0;
5444 char *_kwnames[] = { "self","line","level", NULL };
5445
5446 self = self;
5447 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxStyledTextCtrl_SetFoldLevel",_kwnames,&_argo0,&_arg1,&_arg2))
5448 return NULL;
5449 if (_argo0) {
5450 if (_argo0 == Py_None) { _arg0 = NULL; }
5451 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
5452 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetFoldLevel. Expected _wxStyledTextCtrl_p.");
5453 return NULL;
5454 }
5455 }
5456{
5457 wxPy_BEGIN_ALLOW_THREADS;
fe47ec10 5458 wxStyledTextCtrl_SetFoldLevel(_arg0,_arg1,_arg2);
f6bcfd97
BP
5459
5460 wxPy_END_ALLOW_THREADS;
fe47ec10
RD
5461} Py_INCREF(Py_None);
5462 _resultobj = Py_None;
f6bcfd97
BP
5463 return _resultobj;
5464}
5465
5466#define wxStyledTextCtrl_GetFoldLevel(_swigobj,_swigarg0) (_swigobj->GetFoldLevel(_swigarg0))
5467static PyObject *_wrap_wxStyledTextCtrl_GetFoldLevel(PyObject *self, PyObject *args, PyObject *kwargs) {
5468 PyObject * _resultobj;
5469 int _result;
5470 wxStyledTextCtrl * _arg0;
5471 int _arg1;
5472 PyObject * _argo0 = 0;
5473 char *_kwnames[] = { "self","line", NULL };
5474
5475 self = self;
5476 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_GetFoldLevel",_kwnames,&_argo0,&_arg1))
5477 return NULL;
5478 if (_argo0) {
5479 if (_argo0 == Py_None) { _arg0 = NULL; }
5480 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
5481 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetFoldLevel. Expected _wxStyledTextCtrl_p.");
5482 return NULL;
5483 }
5484 }
5485{
5486 wxPy_BEGIN_ALLOW_THREADS;
5487 _result = (int )wxStyledTextCtrl_GetFoldLevel(_arg0,_arg1);
5488
5489 wxPy_END_ALLOW_THREADS;
5490} _resultobj = Py_BuildValue("i",_result);
5491 return _resultobj;
5492}
5493
5494#define wxStyledTextCtrl_GetLastChild(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetLastChild(_swigarg0,_swigarg1))
5495static PyObject *_wrap_wxStyledTextCtrl_GetLastChild(PyObject *self, PyObject *args, PyObject *kwargs) {
5496 PyObject * _resultobj;
5497 int _result;
5498 wxStyledTextCtrl * _arg0;
5499 int _arg1;
5500 int _arg2;
5501 PyObject * _argo0 = 0;
5502 char *_kwnames[] = { "self","line","level", NULL };
5503
5504 self = self;
5505 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxStyledTextCtrl_GetLastChild",_kwnames,&_argo0,&_arg1,&_arg2))
5506 return NULL;
5507 if (_argo0) {
5508 if (_argo0 == Py_None) { _arg0 = NULL; }
5509 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
5510 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetLastChild. Expected _wxStyledTextCtrl_p.");
5511 return NULL;
5512 }
5513 }
5514{
5515 wxPy_BEGIN_ALLOW_THREADS;
5516 _result = (int )wxStyledTextCtrl_GetLastChild(_arg0,_arg1,_arg2);
5517
5518 wxPy_END_ALLOW_THREADS;
5519} _resultobj = Py_BuildValue("i",_result);
5520 return _resultobj;
5521}
5522
5523#define wxStyledTextCtrl_GetFoldParent(_swigobj,_swigarg0) (_swigobj->GetFoldParent(_swigarg0))
5524static PyObject *_wrap_wxStyledTextCtrl_GetFoldParent(PyObject *self, PyObject *args, PyObject *kwargs) {
5525 PyObject * _resultobj;
5526 int _result;
5527 wxStyledTextCtrl * _arg0;
5528 int _arg1;
5529 PyObject * _argo0 = 0;
5530 char *_kwnames[] = { "self","line", NULL };
5531
5532 self = self;
5533 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_GetFoldParent",_kwnames,&_argo0,&_arg1))
5534 return NULL;
5535 if (_argo0) {
5536 if (_argo0 == Py_None) { _arg0 = NULL; }
5537 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
5538 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetFoldParent. Expected _wxStyledTextCtrl_p.");
5539 return NULL;
5540 }
5541 }
5542{
5543 wxPy_BEGIN_ALLOW_THREADS;
5544 _result = (int )wxStyledTextCtrl_GetFoldParent(_arg0,_arg1);
5545
5546 wxPy_END_ALLOW_THREADS;
5547} _resultobj = Py_BuildValue("i",_result);
5548 return _resultobj;
5549}
5550
5551#define wxStyledTextCtrl_ShowLines(_swigobj,_swigarg0,_swigarg1) (_swigobj->ShowLines(_swigarg0,_swigarg1))
5552static PyObject *_wrap_wxStyledTextCtrl_ShowLines(PyObject *self, PyObject *args, PyObject *kwargs) {
5553 PyObject * _resultobj;
5554 wxStyledTextCtrl * _arg0;
5555 int _arg1;
5556 int _arg2;
5557 PyObject * _argo0 = 0;
5558 char *_kwnames[] = { "self","lineStart","lineEnd", NULL };
5559
5560 self = self;
5561 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxStyledTextCtrl_ShowLines",_kwnames,&_argo0,&_arg1,&_arg2))
5562 return NULL;
5563 if (_argo0) {
5564 if (_argo0 == Py_None) { _arg0 = NULL; }
5565 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
5566 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_ShowLines. Expected _wxStyledTextCtrl_p.");
5567 return NULL;
5568 }
5569 }
5570{
5571 wxPy_BEGIN_ALLOW_THREADS;
5572 wxStyledTextCtrl_ShowLines(_arg0,_arg1,_arg2);
5573
5574 wxPy_END_ALLOW_THREADS;
5575} Py_INCREF(Py_None);
5576 _resultobj = Py_None;
5577 return _resultobj;
5578}
5579
5580#define wxStyledTextCtrl_HideLines(_swigobj,_swigarg0,_swigarg1) (_swigobj->HideLines(_swigarg0,_swigarg1))
5581static PyObject *_wrap_wxStyledTextCtrl_HideLines(PyObject *self, PyObject *args, PyObject *kwargs) {
5582 PyObject * _resultobj;
5583 wxStyledTextCtrl * _arg0;
5584 int _arg1;
5585 int _arg2;
5586 PyObject * _argo0 = 0;
5587 char *_kwnames[] = { "self","lineStart","lineEnd", NULL };
5588
5589 self = self;
5590 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxStyledTextCtrl_HideLines",_kwnames,&_argo0,&_arg1,&_arg2))
5591 return NULL;
5592 if (_argo0) {
5593 if (_argo0 == Py_None) { _arg0 = NULL; }
5594 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
5595 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_HideLines. Expected _wxStyledTextCtrl_p.");
5596 return NULL;
5597 }
5598 }
5599{
5600 wxPy_BEGIN_ALLOW_THREADS;
5601 wxStyledTextCtrl_HideLines(_arg0,_arg1,_arg2);
5602
5603 wxPy_END_ALLOW_THREADS;
5604} Py_INCREF(Py_None);
5605 _resultobj = Py_None;
5606 return _resultobj;
5607}
5608
5609#define wxStyledTextCtrl_GetLineVisible(_swigobj,_swigarg0) (_swigobj->GetLineVisible(_swigarg0))
5610static PyObject *_wrap_wxStyledTextCtrl_GetLineVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
5611 PyObject * _resultobj;
5612 bool _result;
5613 wxStyledTextCtrl * _arg0;
5614 int _arg1;
5615 PyObject * _argo0 = 0;
5616 char *_kwnames[] = { "self","line", NULL };
5617
5618 self = self;
5619 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_GetLineVisible",_kwnames,&_argo0,&_arg1))
5620 return NULL;
5621 if (_argo0) {
5622 if (_argo0 == Py_None) { _arg0 = NULL; }
5623 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
5624 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetLineVisible. Expected _wxStyledTextCtrl_p.");
5625 return NULL;
5626 }
5627 }
5628{
5629 wxPy_BEGIN_ALLOW_THREADS;
5630 _result = (bool )wxStyledTextCtrl_GetLineVisible(_arg0,_arg1);
5631
5632 wxPy_END_ALLOW_THREADS;
5633} _resultobj = Py_BuildValue("i",_result);
5634 return _resultobj;
5635}
5636
5637#define wxStyledTextCtrl_SetFoldExpanded(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetFoldExpanded(_swigarg0,_swigarg1))
5638static PyObject *_wrap_wxStyledTextCtrl_SetFoldExpanded(PyObject *self, PyObject *args, PyObject *kwargs) {
5639 PyObject * _resultobj;
5640 wxStyledTextCtrl * _arg0;
5641 int _arg1;
5642 bool _arg2;
5643 PyObject * _argo0 = 0;
5644 int tempbool2;
5645 char *_kwnames[] = { "self","line","expanded", NULL };
5646
5647 self = self;
5648 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxStyledTextCtrl_SetFoldExpanded",_kwnames,&_argo0,&_arg1,&tempbool2))
5649 return NULL;
5650 if (_argo0) {
5651 if (_argo0 == Py_None) { _arg0 = NULL; }
5652 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
5653 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetFoldExpanded. Expected _wxStyledTextCtrl_p.");
5654 return NULL;
5655 }
5656 }
5657 _arg2 = (bool ) tempbool2;
5658{
5659 wxPy_BEGIN_ALLOW_THREADS;
5660 wxStyledTextCtrl_SetFoldExpanded(_arg0,_arg1,_arg2);
5661
5662 wxPy_END_ALLOW_THREADS;
5663} Py_INCREF(Py_None);
5664 _resultobj = Py_None;
5665 return _resultobj;
5666}
5667
5668#define wxStyledTextCtrl_GetFoldExpanded(_swigobj,_swigarg0) (_swigobj->GetFoldExpanded(_swigarg0))
5669static PyObject *_wrap_wxStyledTextCtrl_GetFoldExpanded(PyObject *self, PyObject *args, PyObject *kwargs) {
5670 PyObject * _resultobj;
5671 bool _result;
5672 wxStyledTextCtrl * _arg0;
5673 int _arg1;
5674 PyObject * _argo0 = 0;
5675 char *_kwnames[] = { "self","line", NULL };
5676
5677 self = self;
5678 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_GetFoldExpanded",_kwnames,&_argo0,&_arg1))
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_GetFoldExpanded. Expected _wxStyledTextCtrl_p.");
5684 return NULL;
5685 }
5686 }
5687{
5688 wxPy_BEGIN_ALLOW_THREADS;
5689 _result = (bool )wxStyledTextCtrl_GetFoldExpanded(_arg0,_arg1);
5690
5691 wxPy_END_ALLOW_THREADS;
5692} _resultobj = Py_BuildValue("i",_result);
5693 return _resultobj;
5694}
5695
5696#define wxStyledTextCtrl_ToggleFold(_swigobj,_swigarg0) (_swigobj->ToggleFold(_swigarg0))
5697static PyObject *_wrap_wxStyledTextCtrl_ToggleFold(PyObject *self, PyObject *args, PyObject *kwargs) {
5698 PyObject * _resultobj;
5699 wxStyledTextCtrl * _arg0;
5700 int _arg1;
5701 PyObject * _argo0 = 0;
5702 char *_kwnames[] = { "self","line", NULL };
5703
5704 self = self;
5705 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_ToggleFold",_kwnames,&_argo0,&_arg1))
5706 return NULL;
5707 if (_argo0) {
5708 if (_argo0 == Py_None) { _arg0 = NULL; }
5709 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
5710 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_ToggleFold. Expected _wxStyledTextCtrl_p.");
5711 return NULL;
5712 }
5713 }
5714{
5715 wxPy_BEGIN_ALLOW_THREADS;
5716 wxStyledTextCtrl_ToggleFold(_arg0,_arg1);
5717
5718 wxPy_END_ALLOW_THREADS;
5719} Py_INCREF(Py_None);
5720 _resultobj = Py_None;
5721 return _resultobj;
5722}
5723
5724#define wxStyledTextCtrl_EnsureVisible(_swigobj,_swigarg0) (_swigobj->EnsureVisible(_swigarg0))
5725static PyObject *_wrap_wxStyledTextCtrl_EnsureVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
5726 PyObject * _resultobj;
5727 wxStyledTextCtrl * _arg0;
5728 int _arg1;
5729 PyObject * _argo0 = 0;
5730 char *_kwnames[] = { "self","line", NULL };
5731
5732 self = self;
5733 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_EnsureVisible",_kwnames,&_argo0,&_arg1))
5734 return NULL;
5735 if (_argo0) {
5736 if (_argo0 == Py_None) { _arg0 = NULL; }
5737 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
5738 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_EnsureVisible. Expected _wxStyledTextCtrl_p.");
5739 return NULL;
5740 }
5741 }
5742{
5743 wxPy_BEGIN_ALLOW_THREADS;
5744 wxStyledTextCtrl_EnsureVisible(_arg0,_arg1);
5745
5746 wxPy_END_ALLOW_THREADS;
5747} Py_INCREF(Py_None);
5748 _resultobj = Py_None;
5749 return _resultobj;
5750}
5751
5752#define wxStyledTextCtrl_SetFoldFlags(_swigobj,_swigarg0) (_swigobj->SetFoldFlags(_swigarg0))
5753static PyObject *_wrap_wxStyledTextCtrl_SetFoldFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
5754 PyObject * _resultobj;
5755 wxStyledTextCtrl * _arg0;
5756 int _arg1;
5757 PyObject * _argo0 = 0;
5758 char *_kwnames[] = { "self","flags", NULL };
5759
5760 self = self;
5761 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_SetFoldFlags",_kwnames,&_argo0,&_arg1))
5762 return NULL;
5763 if (_argo0) {
5764 if (_argo0 == Py_None) { _arg0 = NULL; }
5765 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
5766 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetFoldFlags. Expected _wxStyledTextCtrl_p.");
5767 return NULL;
5768 }
5769 }
5770{
5771 wxPy_BEGIN_ALLOW_THREADS;
5772 wxStyledTextCtrl_SetFoldFlags(_arg0,_arg1);
5773
5774 wxPy_END_ALLOW_THREADS;
5775} Py_INCREF(Py_None);
5776 _resultobj = Py_None;
5777 return _resultobj;
5778}
5779
fe47ec10
RD
5780#define wxStyledTextCtrl_LineLength(_swigobj,_swigarg0) (_swigobj->LineLength(_swigarg0))
5781static PyObject *_wrap_wxStyledTextCtrl_LineLength(PyObject *self, PyObject *args, PyObject *kwargs) {
f6bcfd97 5782 PyObject * _resultobj;
fe47ec10 5783 int _result;
f6bcfd97 5784 wxStyledTextCtrl * _arg0;
fe47ec10 5785 int _arg1;
f6bcfd97 5786 PyObject * _argo0 = 0;
fe47ec10 5787 char *_kwnames[] = { "self","line", NULL };
f6bcfd97
BP
5788
5789 self = self;
fe47ec10 5790 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_LineLength",_kwnames,&_argo0,&_arg1))
f6bcfd97
BP
5791 return NULL;
5792 if (_argo0) {
5793 if (_argo0 == Py_None) { _arg0 = NULL; }
5794 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
fe47ec10 5795 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_LineLength. Expected _wxStyledTextCtrl_p.");
f6bcfd97
BP
5796 return NULL;
5797 }
5798 }
5799{
5800 wxPy_BEGIN_ALLOW_THREADS;
fe47ec10 5801 _result = (int )wxStyledTextCtrl_LineLength(_arg0,_arg1);
f6bcfd97
BP
5802
5803 wxPy_END_ALLOW_THREADS;
fe47ec10 5804} _resultobj = Py_BuildValue("i",_result);
f6bcfd97
BP
5805 return _resultobj;
5806}
5807
fe47ec10
RD
5808#define wxStyledTextCtrl_BraceHighlight(_swigobj,_swigarg0,_swigarg1) (_swigobj->BraceHighlight(_swigarg0,_swigarg1))
5809static PyObject *_wrap_wxStyledTextCtrl_BraceHighlight(PyObject *self, PyObject *args, PyObject *kwargs) {
f6bcfd97
BP
5810 PyObject * _resultobj;
5811 wxStyledTextCtrl * _arg0;
fe47ec10
RD
5812 int _arg1;
5813 int _arg2;
f6bcfd97 5814 PyObject * _argo0 = 0;
fe47ec10 5815 char *_kwnames[] = { "self","pos1","pos2", NULL };
f6bcfd97
BP
5816
5817 self = self;
fe47ec10 5818 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxStyledTextCtrl_BraceHighlight",_kwnames,&_argo0,&_arg1,&_arg2))
f6bcfd97
BP
5819 return NULL;
5820 if (_argo0) {
5821 if (_argo0 == Py_None) { _arg0 = NULL; }
5822 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
fe47ec10 5823 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_BraceHighlight. Expected _wxStyledTextCtrl_p.");
f6bcfd97
BP
5824 return NULL;
5825 }
5826 }
5827{
5828 wxPy_BEGIN_ALLOW_THREADS;
fe47ec10 5829 wxStyledTextCtrl_BraceHighlight(_arg0,_arg1,_arg2);
f6bcfd97
BP
5830
5831 wxPy_END_ALLOW_THREADS;
5832} Py_INCREF(Py_None);
5833 _resultobj = Py_None;
5834 return _resultobj;
5835}
5836
fe47ec10
RD
5837#define wxStyledTextCtrl_BraceBadLight(_swigobj,_swigarg0) (_swigobj->BraceBadLight(_swigarg0))
5838static PyObject *_wrap_wxStyledTextCtrl_BraceBadLight(PyObject *self, PyObject *args, PyObject *kwargs) {
f6bcfd97
BP
5839 PyObject * _resultobj;
5840 wxStyledTextCtrl * _arg0;
5841 int _arg1;
5842 PyObject * _argo0 = 0;
fe47ec10 5843 char *_kwnames[] = { "self","pos", NULL };
f6bcfd97
BP
5844
5845 self = self;
fe47ec10 5846 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_BraceBadLight",_kwnames,&_argo0,&_arg1))
f6bcfd97
BP
5847 return NULL;
5848 if (_argo0) {
5849 if (_argo0 == Py_None) { _arg0 = NULL; }
5850 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
fe47ec10 5851 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_BraceBadLight. Expected _wxStyledTextCtrl_p.");
f6bcfd97
BP
5852 return NULL;
5853 }
5854 }
5855{
5856 wxPy_BEGIN_ALLOW_THREADS;
fe47ec10 5857 wxStyledTextCtrl_BraceBadLight(_arg0,_arg1);
f6bcfd97
BP
5858
5859 wxPy_END_ALLOW_THREADS;
5860} Py_INCREF(Py_None);
5861 _resultobj = Py_None;
5862 return _resultobj;
5863}
5864
fe47ec10
RD
5865#define wxStyledTextCtrl_BraceMatch(_swigobj,_swigarg0) (_swigobj->BraceMatch(_swigarg0))
5866static PyObject *_wrap_wxStyledTextCtrl_BraceMatch(PyObject *self, PyObject *args, PyObject *kwargs) {
f6bcfd97
BP
5867 PyObject * _resultobj;
5868 int _result;
5869 wxStyledTextCtrl * _arg0;
fe47ec10 5870 int _arg1;
f6bcfd97 5871 PyObject * _argo0 = 0;
fe47ec10 5872 char *_kwnames[] = { "self","pos", NULL };
f6bcfd97
BP
5873
5874 self = self;
fe47ec10 5875 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_BraceMatch",_kwnames,&_argo0,&_arg1))
f6bcfd97
BP
5876 return NULL;
5877 if (_argo0) {
5878 if (_argo0 == Py_None) { _arg0 = NULL; }
5879 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
fe47ec10 5880 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_BraceMatch. Expected _wxStyledTextCtrl_p.");
f6bcfd97
BP
5881 return NULL;
5882 }
5883 }
5884{
5885 wxPy_BEGIN_ALLOW_THREADS;
fe47ec10 5886 _result = (int )wxStyledTextCtrl_BraceMatch(_arg0,_arg1);
f6bcfd97
BP
5887
5888 wxPy_END_ALLOW_THREADS;
5889} _resultobj = Py_BuildValue("i",_result);
5890 return _resultobj;
5891}
5892
fe47ec10
RD
5893#define wxStyledTextCtrl_GetViewEOL(_swigobj) (_swigobj->GetViewEOL())
5894static PyObject *_wrap_wxStyledTextCtrl_GetViewEOL(PyObject *self, PyObject *args, PyObject *kwargs) {
f6bcfd97 5895 PyObject * _resultobj;
fe47ec10 5896 bool _result;
f6bcfd97
BP
5897 wxStyledTextCtrl * _arg0;
5898 PyObject * _argo0 = 0;
5899 char *_kwnames[] = { "self", NULL };
5900
5901 self = self;
fe47ec10 5902 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetViewEOL",_kwnames,&_argo0))
f6bcfd97
BP
5903 return NULL;
5904 if (_argo0) {
5905 if (_argo0 == Py_None) { _arg0 = NULL; }
5906 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
fe47ec10 5907 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetViewEOL. Expected _wxStyledTextCtrl_p.");
f6bcfd97
BP
5908 return NULL;
5909 }
5910 }
5911{
5912 wxPy_BEGIN_ALLOW_THREADS;
fe47ec10 5913 _result = (bool )wxStyledTextCtrl_GetViewEOL(_arg0);
f6bcfd97
BP
5914
5915 wxPy_END_ALLOW_THREADS;
5916} _resultobj = Py_BuildValue("i",_result);
5917 return _resultobj;
5918}
5919
fe47ec10
RD
5920#define wxStyledTextCtrl_SetViewEOL(_swigobj,_swigarg0) (_swigobj->SetViewEOL(_swigarg0))
5921static PyObject *_wrap_wxStyledTextCtrl_SetViewEOL(PyObject *self, PyObject *args, PyObject *kwargs) {
f6bcfd97
BP
5922 PyObject * _resultobj;
5923 wxStyledTextCtrl * _arg0;
fe47ec10 5924 bool _arg1;
f6bcfd97 5925 PyObject * _argo0 = 0;
fe47ec10
RD
5926 int tempbool1;
5927 char *_kwnames[] = { "self","visible", NULL };
f6bcfd97
BP
5928
5929 self = self;
fe47ec10 5930 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_SetViewEOL",_kwnames,&_argo0,&tempbool1))
f6bcfd97
BP
5931 return NULL;
5932 if (_argo0) {
5933 if (_argo0 == Py_None) { _arg0 = NULL; }
5934 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
fe47ec10 5935 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetViewEOL. Expected _wxStyledTextCtrl_p.");
f6bcfd97
BP
5936 return NULL;
5937 }
5938 }
fe47ec10 5939 _arg1 = (bool ) tempbool1;
f6bcfd97
BP
5940{
5941 wxPy_BEGIN_ALLOW_THREADS;
fe47ec10 5942 wxStyledTextCtrl_SetViewEOL(_arg0,_arg1);
f6bcfd97
BP
5943
5944 wxPy_END_ALLOW_THREADS;
5945} Py_INCREF(Py_None);
5946 _resultobj = Py_None;
5947 return _resultobj;
5948}
5949
fe47ec10
RD
5950#define wxStyledTextCtrl_GetDocPointer(_swigobj) (_swigobj->GetDocPointer())
5951static PyObject *_wrap_wxStyledTextCtrl_GetDocPointer(PyObject *self, PyObject *args, PyObject *kwargs) {
f6bcfd97 5952 PyObject * _resultobj;
fe47ec10 5953 void * _result;
f6bcfd97
BP
5954 wxStyledTextCtrl * _arg0;
5955 PyObject * _argo0 = 0;
5956 char *_kwnames[] = { "self", NULL };
fe47ec10 5957 char _ptemp[128];
f6bcfd97
BP
5958
5959 self = self;
fe47ec10 5960 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetDocPointer",_kwnames,&_argo0))
f6bcfd97
BP
5961 return NULL;
5962 if (_argo0) {
5963 if (_argo0 == Py_None) { _arg0 = NULL; }
5964 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
fe47ec10 5965 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetDocPointer. Expected _wxStyledTextCtrl_p.");
f6bcfd97
BP
5966 return NULL;
5967 }
5968 }
5969{
5970 wxPy_BEGIN_ALLOW_THREADS;
fe47ec10 5971 _result = (void *)wxStyledTextCtrl_GetDocPointer(_arg0);
f6bcfd97
BP
5972
5973 wxPy_END_ALLOW_THREADS;
fe47ec10
RD
5974} if (_result) {
5975 SWIG_MakePtr(_ptemp, (char *) _result,"_void_p");
5976 _resultobj = Py_BuildValue("s",_ptemp);
5977 } else {
5978 Py_INCREF(Py_None);
5979 _resultobj = Py_None;
5980 }
f6bcfd97
BP
5981 return _resultobj;
5982}
5983
fe47ec10
RD
5984#define wxStyledTextCtrl_SetDocPointer(_swigobj,_swigarg0) (_swigobj->SetDocPointer(_swigarg0))
5985static PyObject *_wrap_wxStyledTextCtrl_SetDocPointer(PyObject *self, PyObject *args, PyObject *kwargs) {
f6bcfd97
BP
5986 PyObject * _resultobj;
5987 wxStyledTextCtrl * _arg0;
fe47ec10 5988 void * _arg1;
f6bcfd97 5989 PyObject * _argo0 = 0;
fe47ec10
RD
5990 PyObject * _argo1 = 0;
5991 char *_kwnames[] = { "self","docPointer", NULL };
f6bcfd97
BP
5992
5993 self = self;
fe47ec10 5994 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxStyledTextCtrl_SetDocPointer",_kwnames,&_argo0,&_argo1))
f6bcfd97
BP
5995 return NULL;
5996 if (_argo0) {
5997 if (_argo0 == Py_None) { _arg0 = NULL; }
5998 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
fe47ec10
RD
5999 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetDocPointer. Expected _wxStyledTextCtrl_p.");
6000 return NULL;
6001 }
6002 }
6003 if (_argo1) {
6004 if (_argo1 == Py_None) { _arg1 = NULL; }
6005 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,(char *) 0 )) {
6006 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxStyledTextCtrl_SetDocPointer. Expected _void_p.");
f6bcfd97
BP
6007 return NULL;
6008 }
6009 }
6010{
6011 wxPy_BEGIN_ALLOW_THREADS;
fe47ec10 6012 wxStyledTextCtrl_SetDocPointer(_arg0,_arg1);
f6bcfd97
BP
6013
6014 wxPy_END_ALLOW_THREADS;
6015} Py_INCREF(Py_None);
6016 _resultobj = Py_None;
6017 return _resultobj;
6018}
6019
fe47ec10
RD
6020#define wxStyledTextCtrl_SetModEventMask(_swigobj,_swigarg0) (_swigobj->SetModEventMask(_swigarg0))
6021static PyObject *_wrap_wxStyledTextCtrl_SetModEventMask(PyObject *self, PyObject *args, PyObject *kwargs) {
f6bcfd97 6022 PyObject * _resultobj;
f6bcfd97 6023 wxStyledTextCtrl * _arg0;
fe47ec10 6024 int _arg1;
f6bcfd97 6025 PyObject * _argo0 = 0;
fe47ec10 6026 char *_kwnames[] = { "self","mask", NULL };
f6bcfd97
BP
6027
6028 self = self;
fe47ec10 6029 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_SetModEventMask",_kwnames,&_argo0,&_arg1))
f6bcfd97
BP
6030 return NULL;
6031 if (_argo0) {
6032 if (_argo0 == Py_None) { _arg0 = NULL; }
6033 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
fe47ec10 6034 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetModEventMask. Expected _wxStyledTextCtrl_p.");
f6bcfd97
BP
6035 return NULL;
6036 }
6037 }
6038{
6039 wxPy_BEGIN_ALLOW_THREADS;
fe47ec10 6040 wxStyledTextCtrl_SetModEventMask(_arg0,_arg1);
f6bcfd97
BP
6041
6042 wxPy_END_ALLOW_THREADS;
fe47ec10
RD
6043} Py_INCREF(Py_None);
6044 _resultobj = Py_None;
f6bcfd97
BP
6045 return _resultobj;
6046}
6047
fe47ec10
RD
6048#define wxStyledTextCtrl_GetEdgeColumn(_swigobj) (_swigobj->GetEdgeColumn())
6049static PyObject *_wrap_wxStyledTextCtrl_GetEdgeColumn(PyObject *self, PyObject *args, PyObject *kwargs) {
f6bcfd97 6050 PyObject * _resultobj;
fe47ec10 6051 int _result;
f6bcfd97 6052 wxStyledTextCtrl * _arg0;
f6bcfd97 6053 PyObject * _argo0 = 0;
fe47ec10 6054 char *_kwnames[] = { "self", NULL };
f6bcfd97
BP
6055
6056 self = self;
fe47ec10 6057 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetEdgeColumn",_kwnames,&_argo0))
f6bcfd97
BP
6058 return NULL;
6059 if (_argo0) {
6060 if (_argo0 == Py_None) { _arg0 = NULL; }
6061 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
fe47ec10 6062 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetEdgeColumn. Expected _wxStyledTextCtrl_p.");
f6bcfd97
BP
6063 return NULL;
6064 }
6065 }
f6bcfd97
BP
6066{
6067 wxPy_BEGIN_ALLOW_THREADS;
fe47ec10 6068 _result = (int )wxStyledTextCtrl_GetEdgeColumn(_arg0);
f6bcfd97
BP
6069
6070 wxPy_END_ALLOW_THREADS;
fe47ec10 6071} _resultobj = Py_BuildValue("i",_result);
f6bcfd97
BP
6072 return _resultobj;
6073}
6074
fe47ec10
RD
6075#define wxStyledTextCtrl_SetEdgeColumn(_swigobj,_swigarg0) (_swigobj->SetEdgeColumn(_swigarg0))
6076static PyObject *_wrap_wxStyledTextCtrl_SetEdgeColumn(PyObject *self, PyObject *args, PyObject *kwargs) {
6077 PyObject * _resultobj;
6078 wxStyledTextCtrl * _arg0;
6079 int _arg1;
6080 PyObject * _argo0 = 0;
6081 char *_kwnames[] = { "self","column", NULL };
6082
6083 self = self;
6084 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_SetEdgeColumn",_kwnames,&_argo0,&_arg1))
6085 return NULL;
6086 if (_argo0) {
6087 if (_argo0 == Py_None) { _arg0 = NULL; }
6088 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
6089 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetEdgeColumn. Expected _wxStyledTextCtrl_p.");
6090 return NULL;
6091 }
6092 }
6093{
6094 wxPy_BEGIN_ALLOW_THREADS;
6095 wxStyledTextCtrl_SetEdgeColumn(_arg0,_arg1);
6096
6097 wxPy_END_ALLOW_THREADS;
6098} Py_INCREF(Py_None);
6099 _resultobj = Py_None;
6100 return _resultobj;
6101}
6102
6103#define wxStyledTextCtrl_GetEdgeMode(_swigobj) (_swigobj->GetEdgeMode())
6104static PyObject *_wrap_wxStyledTextCtrl_GetEdgeMode(PyObject *self, PyObject *args, PyObject *kwargs) {
6105 PyObject * _resultobj;
6106 int _result;
6107 wxStyledTextCtrl * _arg0;
6108 PyObject * _argo0 = 0;
6109 char *_kwnames[] = { "self", NULL };
6110
6111 self = self;
6112 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetEdgeMode",_kwnames,&_argo0))
6113 return NULL;
6114 if (_argo0) {
6115 if (_argo0 == Py_None) { _arg0 = NULL; }
6116 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
6117 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetEdgeMode. Expected _wxStyledTextCtrl_p.");
6118 return NULL;
6119 }
6120 }
6121{
6122 wxPy_BEGIN_ALLOW_THREADS;
6123 _result = (int )wxStyledTextCtrl_GetEdgeMode(_arg0);
6124
6125 wxPy_END_ALLOW_THREADS;
6126} _resultobj = Py_BuildValue("i",_result);
6127 return _resultobj;
6128}
6129
6130#define wxStyledTextCtrl_SetEdgeMode(_swigobj,_swigarg0) (_swigobj->SetEdgeMode(_swigarg0))
6131static PyObject *_wrap_wxStyledTextCtrl_SetEdgeMode(PyObject *self, PyObject *args, PyObject *kwargs) {
6132 PyObject * _resultobj;
6133 wxStyledTextCtrl * _arg0;
6134 int _arg1;
6135 PyObject * _argo0 = 0;
6136 char *_kwnames[] = { "self","mode", NULL };
6137
6138 self = self;
6139 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_SetEdgeMode",_kwnames,&_argo0,&_arg1))
6140 return NULL;
6141 if (_argo0) {
6142 if (_argo0 == Py_None) { _arg0 = NULL; }
6143 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
6144 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetEdgeMode. Expected _wxStyledTextCtrl_p.");
6145 return NULL;
6146 }
6147 }
6148{
6149 wxPy_BEGIN_ALLOW_THREADS;
6150 wxStyledTextCtrl_SetEdgeMode(_arg0,_arg1);
6151
6152 wxPy_END_ALLOW_THREADS;
6153} Py_INCREF(Py_None);
6154 _resultobj = Py_None;
6155 return _resultobj;
6156}
6157
6158#define wxStyledTextCtrl_GetEdgeColour(_swigobj) (_swigobj->GetEdgeColour())
6159static PyObject *_wrap_wxStyledTextCtrl_GetEdgeColour(PyObject *self, PyObject *args, PyObject *kwargs) {
6160 PyObject * _resultobj;
6161 wxColour * _result;
6162 wxStyledTextCtrl * _arg0;
6163 PyObject * _argo0 = 0;
6164 char *_kwnames[] = { "self", NULL };
6165 char _ptemp[128];
6166
6167 self = self;
6168 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetEdgeColour",_kwnames,&_argo0))
6169 return NULL;
6170 if (_argo0) {
6171 if (_argo0 == Py_None) { _arg0 = NULL; }
6172 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
6173 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetEdgeColour. Expected _wxStyledTextCtrl_p.");
6174 return NULL;
6175 }
6176 }
6177{
6178 wxPy_BEGIN_ALLOW_THREADS;
6179 _result = new wxColour (wxStyledTextCtrl_GetEdgeColour(_arg0));
6180
6181 wxPy_END_ALLOW_THREADS;
6182} SWIG_MakePtr(_ptemp, (void *) _result,"_wxColour_p");
6183 _resultobj = Py_BuildValue("s",_ptemp);
6184 return _resultobj;
6185}
6186
6187#define wxStyledTextCtrl_SetEdgeColour(_swigobj,_swigarg0) (_swigobj->SetEdgeColour(_swigarg0))
6188static PyObject *_wrap_wxStyledTextCtrl_SetEdgeColour(PyObject *self, PyObject *args, PyObject *kwargs) {
6189 PyObject * _resultobj;
6190 wxStyledTextCtrl * _arg0;
6191 wxColour * _arg1;
6192 PyObject * _argo0 = 0;
6193 wxColour temp;
6194 PyObject * _obj1 = 0;
6195 char *_kwnames[] = { "self","edgeColour", NULL };
6196
6197 self = self;
6198 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxStyledTextCtrl_SetEdgeColour",_kwnames,&_argo0,&_obj1))
6199 return NULL;
6200 if (_argo0) {
6201 if (_argo0 == Py_None) { _arg0 = NULL; }
6202 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
6203 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetEdgeColour. Expected _wxStyledTextCtrl_p.");
6204 return NULL;
6205 }
6206 }
6207{
6208 _arg1 = &temp;
6209 if (! wxColour_helper(_obj1, &_arg1))
6210 return NULL;
6211}
6212{
6213 wxPy_BEGIN_ALLOW_THREADS;
6214 wxStyledTextCtrl_SetEdgeColour(_arg0,*_arg1);
6215
6216 wxPy_END_ALLOW_THREADS;
6217} Py_INCREF(Py_None);
6218 _resultobj = Py_None;
6219 return _resultobj;
6220}
6221
6222#define wxStyledTextCtrl_SearchAnchor(_swigobj) (_swigobj->SearchAnchor())
6223static PyObject *_wrap_wxStyledTextCtrl_SearchAnchor(PyObject *self, PyObject *args, PyObject *kwargs) {
6224 PyObject * _resultobj;
6225 wxStyledTextCtrl * _arg0;
6226 PyObject * _argo0 = 0;
6227 char *_kwnames[] = { "self", NULL };
6228
6229 self = self;
6230 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_SearchAnchor",_kwnames,&_argo0))
6231 return NULL;
6232 if (_argo0) {
6233 if (_argo0 == Py_None) { _arg0 = NULL; }
6234 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
6235 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SearchAnchor. Expected _wxStyledTextCtrl_p.");
6236 return NULL;
6237 }
6238 }
6239{
6240 wxPy_BEGIN_ALLOW_THREADS;
6241 wxStyledTextCtrl_SearchAnchor(_arg0);
6242
6243 wxPy_END_ALLOW_THREADS;
6244} Py_INCREF(Py_None);
6245 _resultobj = Py_None;
6246 return _resultobj;
6247}
6248
6249#define wxStyledTextCtrl_SearchNext(_swigobj,_swigarg0,_swigarg1) (_swigobj->SearchNext(_swigarg0,_swigarg1))
6250static PyObject *_wrap_wxStyledTextCtrl_SearchNext(PyObject *self, PyObject *args, PyObject *kwargs) {
6251 PyObject * _resultobj;
6252 int _result;
6253 wxStyledTextCtrl * _arg0;
6254 int _arg1;
6255 wxString * _arg2;
6256 PyObject * _argo0 = 0;
6257 PyObject * _obj2 = 0;
6258 char *_kwnames[] = { "self","flags","text", NULL };
6259
6260 self = self;
6261 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxStyledTextCtrl_SearchNext",_kwnames,&_argo0,&_arg1,&_obj2))
6262 return NULL;
6263 if (_argo0) {
6264 if (_argo0 == Py_None) { _arg0 = NULL; }
6265 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
6266 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SearchNext. Expected _wxStyledTextCtrl_p.");
6267 return NULL;
6268 }
6269 }
6270{
185d7c3e
RD
6271#if PYTHON_API_VERSION >= 1009
6272 char* tmpPtr; int tmpSize;
6273 if (!PyString_Check(_obj2) && !PyUnicode_Check(_obj2)) {
6274 PyErr_SetString(PyExc_TypeError, "String or Unicode type required");
6275 return NULL;
6276 }
6277 if (PyString_AsStringAndSize(_obj2, &tmpPtr, &tmpSize) == -1)
6278 return NULL;
6279 _arg2 = new wxString(tmpPtr, tmpSize);
6280#else
fe47ec10
RD
6281 if (!PyString_Check(_obj2)) {
6282 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
6283 return NULL;
6284 }
185d7c3e
RD
6285 _arg2 = new wxString(PyString_AS_STRING(_obj2), PyString_GET_SIZE(_obj2));
6286#endif
fe47ec10
RD
6287}
6288{
6289 wxPy_BEGIN_ALLOW_THREADS;
6290 _result = (int )wxStyledTextCtrl_SearchNext(_arg0,_arg1,*_arg2);
6291
6292 wxPy_END_ALLOW_THREADS;
6293} _resultobj = Py_BuildValue("i",_result);
6294{
6295 if (_obj2)
6296 delete _arg2;
6297}
6298 return _resultobj;
6299}
6300
6301#define wxStyledTextCtrl_SearchPrev(_swigobj,_swigarg0,_swigarg1) (_swigobj->SearchPrev(_swigarg0,_swigarg1))
6302static PyObject *_wrap_wxStyledTextCtrl_SearchPrev(PyObject *self, PyObject *args, PyObject *kwargs) {
6303 PyObject * _resultobj;
6304 int _result;
6305 wxStyledTextCtrl * _arg0;
6306 int _arg1;
6307 wxString * _arg2;
6308 PyObject * _argo0 = 0;
6309 PyObject * _obj2 = 0;
6310 char *_kwnames[] = { "self","flags","text", NULL };
6311
6312 self = self;
6313 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxStyledTextCtrl_SearchPrev",_kwnames,&_argo0,&_arg1,&_obj2))
6314 return NULL;
6315 if (_argo0) {
6316 if (_argo0 == Py_None) { _arg0 = NULL; }
6317 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
6318 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SearchPrev. Expected _wxStyledTextCtrl_p.");
6319 return NULL;
6320 }
6321 }
6322{
185d7c3e
RD
6323#if PYTHON_API_VERSION >= 1009
6324 char* tmpPtr; int tmpSize;
6325 if (!PyString_Check(_obj2) && !PyUnicode_Check(_obj2)) {
6326 PyErr_SetString(PyExc_TypeError, "String or Unicode type required");
6327 return NULL;
6328 }
6329 if (PyString_AsStringAndSize(_obj2, &tmpPtr, &tmpSize) == -1)
6330 return NULL;
6331 _arg2 = new wxString(tmpPtr, tmpSize);
6332#else
fe47ec10
RD
6333 if (!PyString_Check(_obj2)) {
6334 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
6335 return NULL;
6336 }
185d7c3e
RD
6337 _arg2 = new wxString(PyString_AS_STRING(_obj2), PyString_GET_SIZE(_obj2));
6338#endif
fe47ec10
RD
6339}
6340{
6341 wxPy_BEGIN_ALLOW_THREADS;
6342 _result = (int )wxStyledTextCtrl_SearchPrev(_arg0,_arg1,*_arg2);
6343
6344 wxPy_END_ALLOW_THREADS;
6345} _resultobj = Py_BuildValue("i",_result);
6346{
6347 if (_obj2)
6348 delete _arg2;
6349}
6350 return _resultobj;
6351}
6352
6353#define wxStyledTextCtrl_SetCaretPolicy(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetCaretPolicy(_swigarg0,_swigarg1))
6354static PyObject *_wrap_wxStyledTextCtrl_SetCaretPolicy(PyObject *self, PyObject *args, PyObject *kwargs) {
6355 PyObject * _resultobj;
6356 wxStyledTextCtrl * _arg0;
6357 int _arg1;
6358 int _arg2;
6359 PyObject * _argo0 = 0;
6360 char *_kwnames[] = { "self","caretPolicy","caretSlop", NULL };
6361
6362 self = self;
6363 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxStyledTextCtrl_SetCaretPolicy",_kwnames,&_argo0,&_arg1,&_arg2))
6364 return NULL;
6365 if (_argo0) {
6366 if (_argo0 == Py_None) { _arg0 = NULL; }
6367 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
6368 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetCaretPolicy. Expected _wxStyledTextCtrl_p.");
6369 return NULL;
6370 }
6371 }
6372{
6373 wxPy_BEGIN_ALLOW_THREADS;
6374 wxStyledTextCtrl_SetCaretPolicy(_arg0,_arg1,_arg2);
6375
6376 wxPy_END_ALLOW_THREADS;
6377} Py_INCREF(Py_None);
6378 _resultobj = Py_None;
6379 return _resultobj;
6380}
6381
6382#define wxStyledTextCtrl_LinesOnScreen(_swigobj) (_swigobj->LinesOnScreen())
6383static PyObject *_wrap_wxStyledTextCtrl_LinesOnScreen(PyObject *self, PyObject *args, PyObject *kwargs) {
6384 PyObject * _resultobj;
6385 int _result;
6386 wxStyledTextCtrl * _arg0;
6387 PyObject * _argo0 = 0;
6388 char *_kwnames[] = { "self", NULL };
6389
6390 self = self;
6391 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_LinesOnScreen",_kwnames,&_argo0))
6392 return NULL;
6393 if (_argo0) {
6394 if (_argo0 == Py_None) { _arg0 = NULL; }
6395 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
6396 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_LinesOnScreen. Expected _wxStyledTextCtrl_p.");
6397 return NULL;
6398 }
6399 }
6400{
6401 wxPy_BEGIN_ALLOW_THREADS;
6402 _result = (int )wxStyledTextCtrl_LinesOnScreen(_arg0);
6403
6404 wxPy_END_ALLOW_THREADS;
6405} _resultobj = Py_BuildValue("i",_result);
6406 return _resultobj;
6407}
6408
6409#define wxStyledTextCtrl_UsePopUp(_swigobj,_swigarg0) (_swigobj->UsePopUp(_swigarg0))
6410static PyObject *_wrap_wxStyledTextCtrl_UsePopUp(PyObject *self, PyObject *args, PyObject *kwargs) {
6411 PyObject * _resultobj;
6412 wxStyledTextCtrl * _arg0;
6413 bool _arg1;
6414 PyObject * _argo0 = 0;
6415 int tempbool1;
6416 char *_kwnames[] = { "self","allowPopUp", NULL };
6417
6418 self = self;
6419 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_UsePopUp",_kwnames,&_argo0,&tempbool1))
6420 return NULL;
6421 if (_argo0) {
6422 if (_argo0 == Py_None) { _arg0 = NULL; }
6423 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
6424 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_UsePopUp. Expected _wxStyledTextCtrl_p.");
6425 return NULL;
6426 }
6427 }
6428 _arg1 = (bool ) tempbool1;
6429{
6430 wxPy_BEGIN_ALLOW_THREADS;
6431 wxStyledTextCtrl_UsePopUp(_arg0,_arg1);
6432
6433 wxPy_END_ALLOW_THREADS;
6434} Py_INCREF(Py_None);
6435 _resultobj = Py_None;
6436 return _resultobj;
6437}
6438
6439#define wxStyledTextCtrl_SelectionIsRectangle(_swigobj) (_swigobj->SelectionIsRectangle())
6440static PyObject *_wrap_wxStyledTextCtrl_SelectionIsRectangle(PyObject *self, PyObject *args, PyObject *kwargs) {
6441 PyObject * _resultobj;
6442 bool _result;
6443 wxStyledTextCtrl * _arg0;
6444 PyObject * _argo0 = 0;
6445 char *_kwnames[] = { "self", NULL };
6446
6447 self = self;
6448 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_SelectionIsRectangle",_kwnames,&_argo0))
6449 return NULL;
6450 if (_argo0) {
6451 if (_argo0 == Py_None) { _arg0 = NULL; }
6452 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
6453 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SelectionIsRectangle. Expected _wxStyledTextCtrl_p.");
6454 return NULL;
6455 }
6456 }
6457{
6458 wxPy_BEGIN_ALLOW_THREADS;
6459 _result = (bool )wxStyledTextCtrl_SelectionIsRectangle(_arg0);
6460
6461 wxPy_END_ALLOW_THREADS;
6462} _resultobj = Py_BuildValue("i",_result);
6463 return _resultobj;
6464}
6465
6466#define wxStyledTextCtrl_SetZoom(_swigobj,_swigarg0) (_swigobj->SetZoom(_swigarg0))
6467static PyObject *_wrap_wxStyledTextCtrl_SetZoom(PyObject *self, PyObject *args, PyObject *kwargs) {
6468 PyObject * _resultobj;
6469 wxStyledTextCtrl * _arg0;
6470 int _arg1;
6471 PyObject * _argo0 = 0;
6472 char *_kwnames[] = { "self","zoom", NULL };
6473
6474 self = self;
6475 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_SetZoom",_kwnames,&_argo0,&_arg1))
6476 return NULL;
6477 if (_argo0) {
6478 if (_argo0 == Py_None) { _arg0 = NULL; }
6479 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
6480 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetZoom. Expected _wxStyledTextCtrl_p.");
6481 return NULL;
6482 }
6483 }
6484{
6485 wxPy_BEGIN_ALLOW_THREADS;
6486 wxStyledTextCtrl_SetZoom(_arg0,_arg1);
6487
6488 wxPy_END_ALLOW_THREADS;
6489} Py_INCREF(Py_None);
6490 _resultobj = Py_None;
6491 return _resultobj;
6492}
6493
6494#define wxStyledTextCtrl_GetZoom(_swigobj) (_swigobj->GetZoom())
6495static PyObject *_wrap_wxStyledTextCtrl_GetZoom(PyObject *self, PyObject *args, PyObject *kwargs) {
6496 PyObject * _resultobj;
6497 int _result;
6498 wxStyledTextCtrl * _arg0;
6499 PyObject * _argo0 = 0;
6500 char *_kwnames[] = { "self", NULL };
6501
6502 self = self;
6503 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetZoom",_kwnames,&_argo0))
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_GetZoom. Expected _wxStyledTextCtrl_p.");
6509 return NULL;
6510 }
6511 }
6512{
6513 wxPy_BEGIN_ALLOW_THREADS;
6514 _result = (int )wxStyledTextCtrl_GetZoom(_arg0);
6515
6516 wxPy_END_ALLOW_THREADS;
6517} _resultobj = Py_BuildValue("i",_result);
6518 return _resultobj;
6519}
6520
6521#define wxStyledTextCtrl_CreateDocument(_swigobj) (_swigobj->CreateDocument())
6522static PyObject *_wrap_wxStyledTextCtrl_CreateDocument(PyObject *self, PyObject *args, PyObject *kwargs) {
6523 PyObject * _resultobj;
6524 void * _result;
6525 wxStyledTextCtrl * _arg0;
6526 PyObject * _argo0 = 0;
6527 char *_kwnames[] = { "self", NULL };
6528 char _ptemp[128];
6529
6530 self = self;
6531 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_CreateDocument",_kwnames,&_argo0))
6532 return NULL;
6533 if (_argo0) {
6534 if (_argo0 == Py_None) { _arg0 = NULL; }
6535 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
6536 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_CreateDocument. Expected _wxStyledTextCtrl_p.");
6537 return NULL;
6538 }
6539 }
6540{
6541 wxPy_BEGIN_ALLOW_THREADS;
6542 _result = (void *)wxStyledTextCtrl_CreateDocument(_arg0);
6543
6544 wxPy_END_ALLOW_THREADS;
6545} if (_result) {
6546 SWIG_MakePtr(_ptemp, (char *) _result,"_void_p");
6547 _resultobj = Py_BuildValue("s",_ptemp);
6548 } else {
6549 Py_INCREF(Py_None);
6550 _resultobj = Py_None;
6551 }
6552 return _resultobj;
6553}
6554
6555#define wxStyledTextCtrl_AddRefDocument(_swigobj,_swigarg0) (_swigobj->AddRefDocument(_swigarg0))
6556static PyObject *_wrap_wxStyledTextCtrl_AddRefDocument(PyObject *self, PyObject *args, PyObject *kwargs) {
6557 PyObject * _resultobj;
6558 wxStyledTextCtrl * _arg0;
6559 void * _arg1;
6560 PyObject * _argo0 = 0;
6561 PyObject * _argo1 = 0;
6562 char *_kwnames[] = { "self","docPointer", NULL };
6563
6564 self = self;
6565 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxStyledTextCtrl_AddRefDocument",_kwnames,&_argo0,&_argo1))
6566 return NULL;
6567 if (_argo0) {
6568 if (_argo0 == Py_None) { _arg0 = NULL; }
6569 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
6570 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_AddRefDocument. Expected _wxStyledTextCtrl_p.");
6571 return NULL;
6572 }
6573 }
6574 if (_argo1) {
6575 if (_argo1 == Py_None) { _arg1 = NULL; }
6576 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,(char *) 0 )) {
6577 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxStyledTextCtrl_AddRefDocument. Expected _void_p.");
6578 return NULL;
6579 }
6580 }
6581{
6582 wxPy_BEGIN_ALLOW_THREADS;
6583 wxStyledTextCtrl_AddRefDocument(_arg0,_arg1);
6584
6585 wxPy_END_ALLOW_THREADS;
6586} Py_INCREF(Py_None);
6587 _resultobj = Py_None;
6588 return _resultobj;
6589}
6590
6591#define wxStyledTextCtrl_ReleaseDocument(_swigobj,_swigarg0) (_swigobj->ReleaseDocument(_swigarg0))
6592static PyObject *_wrap_wxStyledTextCtrl_ReleaseDocument(PyObject *self, PyObject *args, PyObject *kwargs) {
6593 PyObject * _resultobj;
6594 wxStyledTextCtrl * _arg0;
6595 void * _arg1;
6596 PyObject * _argo0 = 0;
6597 PyObject * _argo1 = 0;
6598 char *_kwnames[] = { "self","docPointer", NULL };
6599
6600 self = self;
6601 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxStyledTextCtrl_ReleaseDocument",_kwnames,&_argo0,&_argo1))
6602 return NULL;
6603 if (_argo0) {
6604 if (_argo0 == Py_None) { _arg0 = NULL; }
6605 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
6606 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_ReleaseDocument. Expected _wxStyledTextCtrl_p.");
6607 return NULL;
6608 }
6609 }
6610 if (_argo1) {
6611 if (_argo1 == Py_None) { _arg1 = NULL; }
6612 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,(char *) 0 )) {
6613 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxStyledTextCtrl_ReleaseDocument. Expected _void_p.");
6614 return NULL;
6615 }
6616 }
6617{
6618 wxPy_BEGIN_ALLOW_THREADS;
6619 wxStyledTextCtrl_ReleaseDocument(_arg0,_arg1);
6620
6621 wxPy_END_ALLOW_THREADS;
6622} Py_INCREF(Py_None);
6623 _resultobj = Py_None;
6624 return _resultobj;
6625}
6626
6627#define wxStyledTextCtrl_GetModEventMask(_swigobj) (_swigobj->GetModEventMask())
6628static PyObject *_wrap_wxStyledTextCtrl_GetModEventMask(PyObject *self, PyObject *args, PyObject *kwargs) {
6629 PyObject * _resultobj;
6630 int _result;
6631 wxStyledTextCtrl * _arg0;
6632 PyObject * _argo0 = 0;
6633 char *_kwnames[] = { "self", NULL };
6634
6635 self = self;
6636 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetModEventMask",_kwnames,&_argo0))
6637 return NULL;
6638 if (_argo0) {
6639 if (_argo0 == Py_None) { _arg0 = NULL; }
6640 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
6641 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetModEventMask. Expected _wxStyledTextCtrl_p.");
6642 return NULL;
6643 }
6644 }
6645{
6646 wxPy_BEGIN_ALLOW_THREADS;
6647 _result = (int )wxStyledTextCtrl_GetModEventMask(_arg0);
6648
6649 wxPy_END_ALLOW_THREADS;
6650} _resultobj = Py_BuildValue("i",_result);
6651 return _resultobj;
6652}
6653
6654#define wxStyledTextCtrl_StartRecord(_swigobj) (_swigobj->StartRecord())
6655static PyObject *_wrap_wxStyledTextCtrl_StartRecord(PyObject *self, PyObject *args, PyObject *kwargs) {
6656 PyObject * _resultobj;
6657 wxStyledTextCtrl * _arg0;
6658 PyObject * _argo0 = 0;
6659 char *_kwnames[] = { "self", NULL };
6660
6661 self = self;
6662 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_StartRecord",_kwnames,&_argo0))
6663 return NULL;
6664 if (_argo0) {
6665 if (_argo0 == Py_None) { _arg0 = NULL; }
6666 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
6667 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_StartRecord. Expected _wxStyledTextCtrl_p.");
6668 return NULL;
6669 }
6670 }
6671{
6672 wxPy_BEGIN_ALLOW_THREADS;
6673 wxStyledTextCtrl_StartRecord(_arg0);
6674
6675 wxPy_END_ALLOW_THREADS;
6676} Py_INCREF(Py_None);
6677 _resultobj = Py_None;
6678 return _resultobj;
6679}
6680
6681#define wxStyledTextCtrl_StopRecord(_swigobj) (_swigobj->StopRecord())
6682static PyObject *_wrap_wxStyledTextCtrl_StopRecord(PyObject *self, PyObject *args, PyObject *kwargs) {
6683 PyObject * _resultobj;
6684 wxStyledTextCtrl * _arg0;
6685 PyObject * _argo0 = 0;
6686 char *_kwnames[] = { "self", NULL };
6687
6688 self = self;
6689 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_StopRecord",_kwnames,&_argo0))
6690 return NULL;
6691 if (_argo0) {
6692 if (_argo0 == Py_None) { _arg0 = NULL; }
6693 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
6694 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_StopRecord. Expected _wxStyledTextCtrl_p.");
6695 return NULL;
6696 }
6697 }
6698{
6699 wxPy_BEGIN_ALLOW_THREADS;
6700 wxStyledTextCtrl_StopRecord(_arg0);
6701
6702 wxPy_END_ALLOW_THREADS;
6703} Py_INCREF(Py_None);
6704 _resultobj = Py_None;
6705 return _resultobj;
6706}
6707
6708#define wxStyledTextCtrl_SetLexer(_swigobj,_swigarg0) (_swigobj->SetLexer(_swigarg0))
6709static PyObject *_wrap_wxStyledTextCtrl_SetLexer(PyObject *self, PyObject *args, PyObject *kwargs) {
f6bcfd97
BP
6710 PyObject * _resultobj;
6711 wxStyledTextCtrl * _arg0;
fe47ec10 6712 int _arg1;
f6bcfd97
BP
6713 PyObject * _argo0 = 0;
6714 char *_kwnames[] = { "self","lexer", NULL };
6715
6716 self = self;
6717 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_SetLexer",_kwnames,&_argo0,&_arg1))
6718 return NULL;
6719 if (_argo0) {
6720 if (_argo0 == Py_None) { _arg0 = NULL; }
6721 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
6722 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetLexer. Expected _wxStyledTextCtrl_p.");
6723 return NULL;
6724 }
6725 }
6726{
6727 wxPy_BEGIN_ALLOW_THREADS;
6728 wxStyledTextCtrl_SetLexer(_arg0,_arg1);
6729
6730 wxPy_END_ALLOW_THREADS;
6731} Py_INCREF(Py_None);
6732 _resultobj = Py_None;
6733 return _resultobj;
6734}
6735
6736#define wxStyledTextCtrl_GetLexer(_swigobj) (_swigobj->GetLexer())
6737static PyObject *_wrap_wxStyledTextCtrl_GetLexer(PyObject *self, PyObject *args, PyObject *kwargs) {
6738 PyObject * _resultobj;
fe47ec10 6739 int _result;
f6bcfd97
BP
6740 wxStyledTextCtrl * _arg0;
6741 PyObject * _argo0 = 0;
6742 char *_kwnames[] = { "self", NULL };
6743
6744 self = self;
6745 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetLexer",_kwnames,&_argo0))
6746 return NULL;
6747 if (_argo0) {
6748 if (_argo0 == Py_None) { _arg0 = NULL; }
6749 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
6750 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetLexer. Expected _wxStyledTextCtrl_p.");
6751 return NULL;
6752 }
6753 }
6754{
6755 wxPy_BEGIN_ALLOW_THREADS;
fe47ec10 6756 _result = (int )wxStyledTextCtrl_GetLexer(_arg0);
f6bcfd97
BP
6757
6758 wxPy_END_ALLOW_THREADS;
6759} _resultobj = Py_BuildValue("i",_result);
6760 return _resultobj;
6761}
6762
6763#define wxStyledTextCtrl_Colourise(_swigobj,_swigarg0,_swigarg1) (_swigobj->Colourise(_swigarg0,_swigarg1))
6764static PyObject *_wrap_wxStyledTextCtrl_Colourise(PyObject *self, PyObject *args, PyObject *kwargs) {
6765 PyObject * _resultobj;
6766 wxStyledTextCtrl * _arg0;
6767 int _arg1;
6768 int _arg2;
6769 PyObject * _argo0 = 0;
6770 char *_kwnames[] = { "self","start","end", NULL };
6771
6772 self = self;
6773 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxStyledTextCtrl_Colourise",_kwnames,&_argo0,&_arg1,&_arg2))
6774 return NULL;
6775 if (_argo0) {
6776 if (_argo0 == Py_None) { _arg0 = NULL; }
6777 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
6778 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_Colourise. Expected _wxStyledTextCtrl_p.");
6779 return NULL;
6780 }
6781 }
6782{
6783 wxPy_BEGIN_ALLOW_THREADS;
6784 wxStyledTextCtrl_Colourise(_arg0,_arg1,_arg2);
6785
6786 wxPy_END_ALLOW_THREADS;
6787} Py_INCREF(Py_None);
6788 _resultobj = Py_None;
6789 return _resultobj;
6790}
6791
6792#define wxStyledTextCtrl_SetProperty(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetProperty(_swigarg0,_swigarg1))
6793static PyObject *_wrap_wxStyledTextCtrl_SetProperty(PyObject *self, PyObject *args, PyObject *kwargs) {
6794 PyObject * _resultobj;
6795 wxStyledTextCtrl * _arg0;
6796 wxString * _arg1;
6797 wxString * _arg2;
6798 PyObject * _argo0 = 0;
6799 PyObject * _obj1 = 0;
6800 PyObject * _obj2 = 0;
6801 char *_kwnames[] = { "self","key","value", NULL };
6802
6803 self = self;
6804 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxStyledTextCtrl_SetProperty",_kwnames,&_argo0,&_obj1,&_obj2))
6805 return NULL;
6806 if (_argo0) {
6807 if (_argo0 == Py_None) { _arg0 = NULL; }
6808 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
6809 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetProperty. Expected _wxStyledTextCtrl_p.");
6810 return NULL;
6811 }
6812 }
6813{
185d7c3e
RD
6814#if PYTHON_API_VERSION >= 1009
6815 char* tmpPtr; int tmpSize;
6816 if (!PyString_Check(_obj1) && !PyUnicode_Check(_obj1)) {
6817 PyErr_SetString(PyExc_TypeError, "String or Unicode type required");
6818 return NULL;
6819 }
6820 if (PyString_AsStringAndSize(_obj1, &tmpPtr, &tmpSize) == -1)
6821 return NULL;
6822 _arg1 = new wxString(tmpPtr, tmpSize);
6823#else
f6bcfd97
BP
6824 if (!PyString_Check(_obj1)) {
6825 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
6826 return NULL;
6827 }
185d7c3e
RD
6828 _arg1 = new wxString(PyString_AS_STRING(_obj1), PyString_GET_SIZE(_obj1));
6829#endif
f6bcfd97
BP
6830}
6831{
185d7c3e
RD
6832#if PYTHON_API_VERSION >= 1009
6833 char* tmpPtr; int tmpSize;
6834 if (!PyString_Check(_obj2) && !PyUnicode_Check(_obj2)) {
6835 PyErr_SetString(PyExc_TypeError, "String or Unicode type required");
6836 return NULL;
6837 }
6838 if (PyString_AsStringAndSize(_obj2, &tmpPtr, &tmpSize) == -1)
6839 return NULL;
6840 _arg2 = new wxString(tmpPtr, tmpSize);
6841#else
f6bcfd97
BP
6842 if (!PyString_Check(_obj2)) {
6843 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
6844 return NULL;
6845 }
185d7c3e
RD
6846 _arg2 = new wxString(PyString_AS_STRING(_obj2), PyString_GET_SIZE(_obj2));
6847#endif
f6bcfd97
BP
6848}
6849{
6850 wxPy_BEGIN_ALLOW_THREADS;
6851 wxStyledTextCtrl_SetProperty(_arg0,*_arg1,*_arg2);
6852
6853 wxPy_END_ALLOW_THREADS;
6854} Py_INCREF(Py_None);
6855 _resultobj = Py_None;
6856{
6857 if (_obj1)
6858 delete _arg1;
6859}
6860{
6861 if (_obj2)
6862 delete _arg2;
6863}
6864 return _resultobj;
6865}
6866
fe47ec10
RD
6867#define wxStyledTextCtrl_SetKeyWords(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetKeyWords(_swigarg0,_swigarg1))
6868static PyObject *_wrap_wxStyledTextCtrl_SetKeyWords(PyObject *self, PyObject *args, PyObject *kwargs) {
6869 PyObject * _resultobj;
6870 wxStyledTextCtrl * _arg0;
6871 int _arg1;
6872 wxString * _arg2;
6873 PyObject * _argo0 = 0;
6874 PyObject * _obj2 = 0;
6875 char *_kwnames[] = { "self","keywordSet","keyWords", NULL };
6876
6877 self = self;
6878 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxStyledTextCtrl_SetKeyWords",_kwnames,&_argo0,&_arg1,&_obj2))
6879 return NULL;
6880 if (_argo0) {
6881 if (_argo0 == Py_None) { _arg0 = NULL; }
6882 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
6883 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetKeyWords. Expected _wxStyledTextCtrl_p.");
6884 return NULL;
6885 }
6886 }
6887{
185d7c3e
RD
6888#if PYTHON_API_VERSION >= 1009
6889 char* tmpPtr; int tmpSize;
6890 if (!PyString_Check(_obj2) && !PyUnicode_Check(_obj2)) {
6891 PyErr_SetString(PyExc_TypeError, "String or Unicode type required");
6892 return NULL;
6893 }
6894 if (PyString_AsStringAndSize(_obj2, &tmpPtr, &tmpSize) == -1)
6895 return NULL;
6896 _arg2 = new wxString(tmpPtr, tmpSize);
6897#else
fe47ec10
RD
6898 if (!PyString_Check(_obj2)) {
6899 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
6900 return NULL;
6901 }
185d7c3e
RD
6902 _arg2 = new wxString(PyString_AS_STRING(_obj2), PyString_GET_SIZE(_obj2));
6903#endif
fe47ec10
RD
6904}
6905{
6906 wxPy_BEGIN_ALLOW_THREADS;
6907 wxStyledTextCtrl_SetKeyWords(_arg0,_arg1,*_arg2);
6908
6909 wxPy_END_ALLOW_THREADS;
6910} Py_INCREF(Py_None);
6911 _resultobj = Py_None;
6912{
6913 if (_obj2)
6914 delete _arg2;
6915}
6916 return _resultobj;
6917}
6918
6919#define wxStyledTextCtrl_GetCurrentLine(_swigobj) (_swigobj->GetCurrentLine())
6920static PyObject *_wrap_wxStyledTextCtrl_GetCurrentLine(PyObject *self, PyObject *args, PyObject *kwargs) {
6921 PyObject * _resultobj;
6922 int _result;
6923 wxStyledTextCtrl * _arg0;
6924 PyObject * _argo0 = 0;
6925 char *_kwnames[] = { "self", NULL };
6926
6927 self = self;
6928 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetCurrentLine",_kwnames,&_argo0))
6929 return NULL;
6930 if (_argo0) {
6931 if (_argo0 == Py_None) { _arg0 = NULL; }
6932 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
6933 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetCurrentLine. Expected _wxStyledTextCtrl_p.");
6934 return NULL;
6935 }
6936 }
6937{
6938 wxPy_BEGIN_ALLOW_THREADS;
6939 _result = (int )wxStyledTextCtrl_GetCurrentLine(_arg0);
6940
6941 wxPy_END_ALLOW_THREADS;
6942} _resultobj = Py_BuildValue("i",_result);
6943 return _resultobj;
6944}
6945
6946#define wxStyledTextCtrl_StyleSetSpec(_swigobj,_swigarg0,_swigarg1) (_swigobj->StyleSetSpec(_swigarg0,_swigarg1))
6947static PyObject *_wrap_wxStyledTextCtrl_StyleSetSpec(PyObject *self, PyObject *args, PyObject *kwargs) {
f6bcfd97
BP
6948 PyObject * _resultobj;
6949 wxStyledTextCtrl * _arg0;
6950 int _arg1;
6951 wxString * _arg2;
6952 PyObject * _argo0 = 0;
6953 PyObject * _obj2 = 0;
fe47ec10
RD
6954 char *_kwnames[] = { "self","styleNum","spec", NULL };
6955
6956 self = self;
6957 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxStyledTextCtrl_StyleSetSpec",_kwnames,&_argo0,&_arg1,&_obj2))
6958 return NULL;
6959 if (_argo0) {
6960 if (_argo0 == Py_None) { _arg0 = NULL; }
6961 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
6962 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_StyleSetSpec. Expected _wxStyledTextCtrl_p.");
6963 return NULL;
6964 }
6965 }
6966{
185d7c3e
RD
6967#if PYTHON_API_VERSION >= 1009
6968 char* tmpPtr; int tmpSize;
6969 if (!PyString_Check(_obj2) && !PyUnicode_Check(_obj2)) {
6970 PyErr_SetString(PyExc_TypeError, "String or Unicode type required");
6971 return NULL;
6972 }
6973 if (PyString_AsStringAndSize(_obj2, &tmpPtr, &tmpSize) == -1)
6974 return NULL;
6975 _arg2 = new wxString(tmpPtr, tmpSize);
6976#else
fe47ec10
RD
6977 if (!PyString_Check(_obj2)) {
6978 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
6979 return NULL;
6980 }
185d7c3e
RD
6981 _arg2 = new wxString(PyString_AS_STRING(_obj2), PyString_GET_SIZE(_obj2));
6982#endif
fe47ec10
RD
6983}
6984{
6985 wxPy_BEGIN_ALLOW_THREADS;
6986 wxStyledTextCtrl_StyleSetSpec(_arg0,_arg1,*_arg2);
6987
6988 wxPy_END_ALLOW_THREADS;
6989} Py_INCREF(Py_None);
6990 _resultobj = Py_None;
6991{
6992 if (_obj2)
6993 delete _arg2;
6994}
6995 return _resultobj;
6996}
6997
6998#define wxStyledTextCtrl_StyleSetFont(_swigobj,_swigarg0,_swigarg1) (_swigobj->StyleSetFont(_swigarg0,_swigarg1))
6999static PyObject *_wrap_wxStyledTextCtrl_StyleSetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
7000 PyObject * _resultobj;
7001 wxStyledTextCtrl * _arg0;
7002 int _arg1;
7003 wxFont * _arg2;
7004 PyObject * _argo0 = 0;
7005 PyObject * _argo2 = 0;
7006 char *_kwnames[] = { "self","styleNum","font", NULL };
7007
7008 self = self;
7009 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxStyledTextCtrl_StyleSetFont",_kwnames,&_argo0,&_arg1,&_argo2))
7010 return NULL;
7011 if (_argo0) {
7012 if (_argo0 == Py_None) { _arg0 = NULL; }
7013 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
7014 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_StyleSetFont. Expected _wxStyledTextCtrl_p.");
7015 return NULL;
7016 }
7017 }
7018 if (_argo2) {
7019 if (_argo2 == Py_None) { _arg2 = NULL; }
7020 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxFont_p")) {
7021 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxStyledTextCtrl_StyleSetFont. Expected _wxFont_p.");
7022 return NULL;
7023 }
7024 }
7025{
7026 wxPy_BEGIN_ALLOW_THREADS;
7027 wxStyledTextCtrl_StyleSetFont(_arg0,_arg1,*_arg2);
7028
7029 wxPy_END_ALLOW_THREADS;
7030} Py_INCREF(Py_None);
7031 _resultobj = Py_None;
7032 return _resultobj;
7033}
7034
7035#define wxStyledTextCtrl_StyleSetFontAttr(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->StyleSetFontAttr(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
7036static PyObject *_wrap_wxStyledTextCtrl_StyleSetFontAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
7037 PyObject * _resultobj;
7038 wxStyledTextCtrl * _arg0;
7039 int _arg1;
7040 int _arg2;
7041 wxString * _arg3;
7042 bool _arg4;
7043 bool _arg5;
7044 bool _arg6;
7045 PyObject * _argo0 = 0;
7046 PyObject * _obj3 = 0;
7047 int tempbool4;
7048 int tempbool5;
7049 int tempbool6;
7050 char *_kwnames[] = { "self","styleNum","size","faceName","bold","italic","underline", NULL };
7051
7052 self = self;
7053 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiiOiii:wxStyledTextCtrl_StyleSetFontAttr",_kwnames,&_argo0,&_arg1,&_arg2,&_obj3,&tempbool4,&tempbool5,&tempbool6))
7054 return NULL;
7055 if (_argo0) {
7056 if (_argo0 == Py_None) { _arg0 = NULL; }
7057 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
7058 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_StyleSetFontAttr. Expected _wxStyledTextCtrl_p.");
7059 return NULL;
7060 }
7061 }
7062{
185d7c3e
RD
7063#if PYTHON_API_VERSION >= 1009
7064 char* tmpPtr; int tmpSize;
7065 if (!PyString_Check(_obj3) && !PyUnicode_Check(_obj3)) {
7066 PyErr_SetString(PyExc_TypeError, "String or Unicode type required");
7067 return NULL;
7068 }
7069 if (PyString_AsStringAndSize(_obj3, &tmpPtr, &tmpSize) == -1)
7070 return NULL;
7071 _arg3 = new wxString(tmpPtr, tmpSize);
7072#else
fe47ec10
RD
7073 if (!PyString_Check(_obj3)) {
7074 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
7075 return NULL;
7076 }
185d7c3e
RD
7077 _arg3 = new wxString(PyString_AS_STRING(_obj3), PyString_GET_SIZE(_obj3));
7078#endif
fe47ec10
RD
7079}
7080 _arg4 = (bool ) tempbool4;
7081 _arg5 = (bool ) tempbool5;
7082 _arg6 = (bool ) tempbool6;
7083{
7084 wxPy_BEGIN_ALLOW_THREADS;
7085 wxStyledTextCtrl_StyleSetFontAttr(_arg0,_arg1,_arg2,*_arg3,_arg4,_arg5,_arg6);
7086
7087 wxPy_END_ALLOW_THREADS;
7088} Py_INCREF(Py_None);
7089 _resultobj = Py_None;
7090{
7091 if (_obj3)
7092 delete _arg3;
7093}
7094 return _resultobj;
7095}
7096
7097#define wxStyledTextCtrl_CmdKeyExecute(_swigobj,_swigarg0) (_swigobj->CmdKeyExecute(_swigarg0))
7098static PyObject *_wrap_wxStyledTextCtrl_CmdKeyExecute(PyObject *self, PyObject *args, PyObject *kwargs) {
7099 PyObject * _resultobj;
7100 wxStyledTextCtrl * _arg0;
7101 int _arg1;
7102 PyObject * _argo0 = 0;
7103 char *_kwnames[] = { "self","cmd", NULL };
7104
7105 self = self;
7106 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_CmdKeyExecute",_kwnames,&_argo0,&_arg1))
7107 return NULL;
7108 if (_argo0) {
7109 if (_argo0 == Py_None) { _arg0 = NULL; }
7110 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
7111 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_CmdKeyExecute. Expected _wxStyledTextCtrl_p.");
7112 return NULL;
7113 }
7114 }
7115{
7116 wxPy_BEGIN_ALLOW_THREADS;
7117 wxStyledTextCtrl_CmdKeyExecute(_arg0,_arg1);
7118
7119 wxPy_END_ALLOW_THREADS;
7120} Py_INCREF(Py_None);
7121 _resultobj = Py_None;
7122 return _resultobj;
7123}
7124
7125#define wxStyledTextCtrl_SetMargins(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetMargins(_swigarg0,_swigarg1))
7126static PyObject *_wrap_wxStyledTextCtrl_SetMargins(PyObject *self, PyObject *args, PyObject *kwargs) {
7127 PyObject * _resultobj;
7128 wxStyledTextCtrl * _arg0;
7129 int _arg1;
7130 int _arg2;
7131 PyObject * _argo0 = 0;
7132 char *_kwnames[] = { "self","left","right", NULL };
7133
7134 self = self;
7135 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxStyledTextCtrl_SetMargins",_kwnames,&_argo0,&_arg1,&_arg2))
7136 return NULL;
7137 if (_argo0) {
7138 if (_argo0 == Py_None) { _arg0 = NULL; }
7139 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
7140 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetMargins. Expected _wxStyledTextCtrl_p.");
7141 return NULL;
7142 }
7143 }
7144{
7145 wxPy_BEGIN_ALLOW_THREADS;
7146 wxStyledTextCtrl_SetMargins(_arg0,_arg1,_arg2);
7147
7148 wxPy_END_ALLOW_THREADS;
7149} Py_INCREF(Py_None);
7150 _resultobj = Py_None;
7151 return _resultobj;
7152}
7153
7154#define wxStyledTextCtrl_GetSelection(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetSelection(_swigarg0,_swigarg1))
7155static PyObject *_wrap_wxStyledTextCtrl_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
7156 PyObject * _resultobj;
7157 wxStyledTextCtrl * _arg0;
7158 int * _arg1;
7159 int temp;
7160 int * _arg2;
7161 int temp0;
7162 PyObject * _argo0 = 0;
7163 char *_kwnames[] = { "self", NULL };
f6bcfd97
BP
7164
7165 self = self;
fe47ec10
RD
7166{
7167 _arg1 = &temp;
7168}
7169{
7170 _arg2 = &temp0;
7171}
7172 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetSelection",_kwnames,&_argo0))
f6bcfd97
BP
7173 return NULL;
7174 if (_argo0) {
7175 if (_argo0 == Py_None) { _arg0 = NULL; }
7176 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
fe47ec10 7177 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetSelection. Expected _wxStyledTextCtrl_p.");
f6bcfd97
BP
7178 return NULL;
7179 }
7180 }
f6bcfd97
BP
7181{
7182 wxPy_BEGIN_ALLOW_THREADS;
fe47ec10 7183 wxStyledTextCtrl_GetSelection(_arg0,_arg1,_arg2);
f6bcfd97
BP
7184
7185 wxPy_END_ALLOW_THREADS;
7186} Py_INCREF(Py_None);
7187 _resultobj = Py_None;
7188{
fe47ec10
RD
7189 PyObject *o;
7190 o = PyInt_FromLong((long) (*_arg1));
7191 _resultobj = t_output_helper(_resultobj, o);
7192}
7193{
7194 PyObject *o;
7195 o = PyInt_FromLong((long) (*_arg2));
7196 _resultobj = t_output_helper(_resultobj, o);
f6bcfd97
BP
7197}
7198 return _resultobj;
7199}
7200
fe47ec10
RD
7201#define wxStyledTextCtrl_PointFromPosition(_swigobj,_swigarg0) (_swigobj->PointFromPosition(_swigarg0))
7202static PyObject *_wrap_wxStyledTextCtrl_PointFromPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
f6bcfd97 7203 PyObject * _resultobj;
fe47ec10 7204 wxPoint * _result;
f6bcfd97
BP
7205 wxStyledTextCtrl * _arg0;
7206 int _arg1;
7207 PyObject * _argo0 = 0;
fe47ec10
RD
7208 char *_kwnames[] = { "self","pos", NULL };
7209 char _ptemp[128];
f6bcfd97
BP
7210
7211 self = self;
fe47ec10 7212 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_PointFromPosition",_kwnames,&_argo0,&_arg1))
f6bcfd97
BP
7213 return NULL;
7214 if (_argo0) {
7215 if (_argo0 == Py_None) { _arg0 = NULL; }
7216 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
fe47ec10 7217 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_PointFromPosition. Expected _wxStyledTextCtrl_p.");
f6bcfd97
BP
7218 return NULL;
7219 }
7220 }
7221{
7222 wxPy_BEGIN_ALLOW_THREADS;
fe47ec10 7223 _result = new wxPoint (wxStyledTextCtrl_PointFromPosition(_arg0,_arg1));
f6bcfd97
BP
7224
7225 wxPy_END_ALLOW_THREADS;
fe47ec10
RD
7226} SWIG_MakePtr(_ptemp, (void *) _result,"_wxPoint_p");
7227 _resultobj = Py_BuildValue("s",_ptemp);
f6bcfd97
BP
7228 return _resultobj;
7229}
7230
ea7c631c
RD
7231#define wxStyledTextCtrl_ScrollToLine(_swigobj,_swigarg0) (_swigobj->ScrollToLine(_swigarg0))
7232static PyObject *_wrap_wxStyledTextCtrl_ScrollToLine(PyObject *self, PyObject *args, PyObject *kwargs) {
7233 PyObject * _resultobj;
7234 wxStyledTextCtrl * _arg0;
7235 int _arg1;
7236 PyObject * _argo0 = 0;
7237 char *_kwnames[] = { "self","line", NULL };
7238
7239 self = self;
7240 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_ScrollToLine",_kwnames,&_argo0,&_arg1))
7241 return NULL;
7242 if (_argo0) {
7243 if (_argo0 == Py_None) { _arg0 = NULL; }
7244 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
7245 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_ScrollToLine. Expected _wxStyledTextCtrl_p.");
7246 return NULL;
7247 }
7248 }
7249{
7250 wxPy_BEGIN_ALLOW_THREADS;
7251 wxStyledTextCtrl_ScrollToLine(_arg0,_arg1);
7252
7253 wxPy_END_ALLOW_THREADS;
7254} Py_INCREF(Py_None);
7255 _resultobj = Py_None;
7256 return _resultobj;
7257}
7258
7259#define wxStyledTextCtrl_ScrollToColumn(_swigobj,_swigarg0) (_swigobj->ScrollToColumn(_swigarg0))
7260static PyObject *_wrap_wxStyledTextCtrl_ScrollToColumn(PyObject *self, PyObject *args, PyObject *kwargs) {
7261 PyObject * _resultobj;
7262 wxStyledTextCtrl * _arg0;
7263 int _arg1;
7264 PyObject * _argo0 = 0;
7265 char *_kwnames[] = { "self","column", NULL };
7266
7267 self = self;
7268 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_ScrollToColumn",_kwnames,&_argo0,&_arg1))
7269 return NULL;
7270 if (_argo0) {
7271 if (_argo0 == Py_None) { _arg0 = NULL; }
7272 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
7273 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_ScrollToColumn. Expected _wxStyledTextCtrl_p.");
7274 return NULL;
7275 }
7276 }
7277{
7278 wxPy_BEGIN_ALLOW_THREADS;
7279 wxStyledTextCtrl_ScrollToColumn(_arg0,_arg1);
7280
7281 wxPy_END_ALLOW_THREADS;
7282} Py_INCREF(Py_None);
7283 _resultobj = Py_None;
7284 return _resultobj;
7285}
7286
f6bcfd97
BP
7287static void *SwigwxStyledTextEventTowxCommandEvent(void *ptr) {
7288 wxStyledTextEvent *src;
7289 wxCommandEvent *dest;
7290 src = (wxStyledTextEvent *) ptr;
7291 dest = (wxCommandEvent *) src;
7292 return (void *) dest;
7293}
7294
7295static void *SwigwxStyledTextEventTowxEvent(void *ptr) {
7296 wxStyledTextEvent *src;
7297 wxEvent *dest;
7298 src = (wxStyledTextEvent *) ptr;
7299 dest = (wxEvent *) src;
7300 return (void *) dest;
7301}
7302
7303#define new_wxStyledTextEvent(_swigarg0,_swigarg1) (new wxStyledTextEvent(_swigarg0,_swigarg1))
7304static PyObject *_wrap_new_wxStyledTextEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
7305 PyObject * _resultobj;
7306 wxStyledTextEvent * _result;
7307 wxEventType _arg0 = (wxEventType ) 0;
7308 int _arg1 = (int ) 0;
7309 char *_kwnames[] = { "commandType","id", NULL };
7310 char _ptemp[128];
7311
7312 self = self;
7313 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"|ii:new_wxStyledTextEvent",_kwnames,&_arg0,&_arg1))
7314 return NULL;
7315{
7316 wxPy_BEGIN_ALLOW_THREADS;
7317 _result = (wxStyledTextEvent *)new_wxStyledTextEvent(_arg0,_arg1);
7318
7319 wxPy_END_ALLOW_THREADS;
7320} if (_result) {
7321 SWIG_MakePtr(_ptemp, (char *) _result,"_wxStyledTextEvent_p");
7322 _resultobj = Py_BuildValue("s",_ptemp);
7323 } else {
7324 Py_INCREF(Py_None);
7325 _resultobj = Py_None;
7326 }
7327 return _resultobj;
7328}
7329
7330#define delete_wxStyledTextEvent(_swigobj) (delete _swigobj)
7331static PyObject *_wrap_delete_wxStyledTextEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
7332 PyObject * _resultobj;
7333 wxStyledTextEvent * _arg0;
7334 PyObject * _argo0 = 0;
7335 char *_kwnames[] = { "self", NULL };
7336
7337 self = self;
7338 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:delete_wxStyledTextEvent",_kwnames,&_argo0))
7339 return NULL;
7340 if (_argo0) {
7341 if (_argo0 == Py_None) { _arg0 = NULL; }
7342 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextEvent_p")) {
7343 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of delete_wxStyledTextEvent. Expected _wxStyledTextEvent_p.");
7344 return NULL;
7345 }
7346 }
7347{
7348 wxPy_BEGIN_ALLOW_THREADS;
7349 delete_wxStyledTextEvent(_arg0);
7350
7351 wxPy_END_ALLOW_THREADS;
7352} Py_INCREF(Py_None);
7353 _resultobj = Py_None;
7354 return _resultobj;
7355}
7356
7357#define wxStyledTextEvent_SetPosition(_swigobj,_swigarg0) (_swigobj->SetPosition(_swigarg0))
7358static PyObject *_wrap_wxStyledTextEvent_SetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
7359 PyObject * _resultobj;
7360 wxStyledTextEvent * _arg0;
7361 int _arg1;
7362 PyObject * _argo0 = 0;
7363 char *_kwnames[] = { "self","pos", NULL };
7364
7365 self = self;
7366 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextEvent_SetPosition",_kwnames,&_argo0,&_arg1))
7367 return NULL;
7368 if (_argo0) {
7369 if (_argo0 == Py_None) { _arg0 = NULL; }
7370 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextEvent_p")) {
7371 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextEvent_SetPosition. Expected _wxStyledTextEvent_p.");
7372 return NULL;
7373 }
7374 }
7375{
7376 wxPy_BEGIN_ALLOW_THREADS;
7377 wxStyledTextEvent_SetPosition(_arg0,_arg1);
7378
7379 wxPy_END_ALLOW_THREADS;
7380} Py_INCREF(Py_None);
7381 _resultobj = Py_None;
7382 return _resultobj;
7383}
7384
7385#define wxStyledTextEvent_SetKey(_swigobj,_swigarg0) (_swigobj->SetKey(_swigarg0))
7386static PyObject *_wrap_wxStyledTextEvent_SetKey(PyObject *self, PyObject *args, PyObject *kwargs) {
7387 PyObject * _resultobj;
7388 wxStyledTextEvent * _arg0;
7389 int _arg1;
7390 PyObject * _argo0 = 0;
7391 char *_kwnames[] = { "self","k", NULL };
7392
7393 self = self;
7394 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextEvent_SetKey",_kwnames,&_argo0,&_arg1))
7395 return NULL;
7396 if (_argo0) {
7397 if (_argo0 == Py_None) { _arg0 = NULL; }
7398 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextEvent_p")) {
7399 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextEvent_SetKey. Expected _wxStyledTextEvent_p.");
7400 return NULL;
7401 }
7402 }
7403{
7404 wxPy_BEGIN_ALLOW_THREADS;
7405 wxStyledTextEvent_SetKey(_arg0,_arg1);
7406
7407 wxPy_END_ALLOW_THREADS;
7408} Py_INCREF(Py_None);
7409 _resultobj = Py_None;
7410 return _resultobj;
7411}
7412
7413#define wxStyledTextEvent_SetModifiers(_swigobj,_swigarg0) (_swigobj->SetModifiers(_swigarg0))
7414static PyObject *_wrap_wxStyledTextEvent_SetModifiers(PyObject *self, PyObject *args, PyObject *kwargs) {
7415 PyObject * _resultobj;
7416 wxStyledTextEvent * _arg0;
7417 int _arg1;
7418 PyObject * _argo0 = 0;
7419 char *_kwnames[] = { "self","m", NULL };
7420
7421 self = self;
7422 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextEvent_SetModifiers",_kwnames,&_argo0,&_arg1))
7423 return NULL;
7424 if (_argo0) {
7425 if (_argo0 == Py_None) { _arg0 = NULL; }
7426 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextEvent_p")) {
7427 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextEvent_SetModifiers. Expected _wxStyledTextEvent_p.");
7428 return NULL;
7429 }
7430 }
7431{
7432 wxPy_BEGIN_ALLOW_THREADS;
7433 wxStyledTextEvent_SetModifiers(_arg0,_arg1);
7434
7435 wxPy_END_ALLOW_THREADS;
7436} Py_INCREF(Py_None);
7437 _resultobj = Py_None;
7438 return _resultobj;
7439}
7440
7441#define wxStyledTextEvent_SetModificationType(_swigobj,_swigarg0) (_swigobj->SetModificationType(_swigarg0))
7442static PyObject *_wrap_wxStyledTextEvent_SetModificationType(PyObject *self, PyObject *args, PyObject *kwargs) {
7443 PyObject * _resultobj;
7444 wxStyledTextEvent * _arg0;
7445 int _arg1;
7446 PyObject * _argo0 = 0;
7447 char *_kwnames[] = { "self","t", NULL };
7448
7449 self = self;
7450 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextEvent_SetModificationType",_kwnames,&_argo0,&_arg1))
7451 return NULL;
7452 if (_argo0) {
7453 if (_argo0 == Py_None) { _arg0 = NULL; }
7454 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextEvent_p")) {
7455 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextEvent_SetModificationType. Expected _wxStyledTextEvent_p.");
7456 return NULL;
7457 }
7458 }
7459{
7460 wxPy_BEGIN_ALLOW_THREADS;
7461 wxStyledTextEvent_SetModificationType(_arg0,_arg1);
7462
7463 wxPy_END_ALLOW_THREADS;
7464} Py_INCREF(Py_None);
7465 _resultobj = Py_None;
7466 return _resultobj;
7467}
7468
7469#define wxStyledTextEvent_SetText(_swigobj,_swigarg0) (_swigobj->SetText(_swigarg0))
7470static PyObject *_wrap_wxStyledTextEvent_SetText(PyObject *self, PyObject *args, PyObject *kwargs) {
7471 PyObject * _resultobj;
7472 wxStyledTextEvent * _arg0;
7473 char * _arg1;
7474 PyObject * _argo0 = 0;
7475 char *_kwnames[] = { "self","t", NULL };
7476
7477 self = self;
7478 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Os:wxStyledTextEvent_SetText",_kwnames,&_argo0,&_arg1))
7479 return NULL;
7480 if (_argo0) {
7481 if (_argo0 == Py_None) { _arg0 = NULL; }
7482 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextEvent_p")) {
7483 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextEvent_SetText. Expected _wxStyledTextEvent_p.");
7484 return NULL;
7485 }
7486 }
7487{
7488 wxPy_BEGIN_ALLOW_THREADS;
7489 wxStyledTextEvent_SetText(_arg0,_arg1);
7490
7491 wxPy_END_ALLOW_THREADS;
7492} Py_INCREF(Py_None);
7493 _resultobj = Py_None;
7494 return _resultobj;
7495}
7496
7497#define wxStyledTextEvent_SetLength(_swigobj,_swigarg0) (_swigobj->SetLength(_swigarg0))
7498static PyObject *_wrap_wxStyledTextEvent_SetLength(PyObject *self, PyObject *args, PyObject *kwargs) {
7499 PyObject * _resultobj;
7500 wxStyledTextEvent * _arg0;
7501 int _arg1;
7502 PyObject * _argo0 = 0;
7503 char *_kwnames[] = { "self","len", NULL };
7504
7505 self = self;
7506 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextEvent_SetLength",_kwnames,&_argo0,&_arg1))
7507 return NULL;
7508 if (_argo0) {
7509 if (_argo0 == Py_None) { _arg0 = NULL; }
7510 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextEvent_p")) {
7511 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextEvent_SetLength. Expected _wxStyledTextEvent_p.");
7512 return NULL;
7513 }
7514 }
7515{
7516 wxPy_BEGIN_ALLOW_THREADS;
7517 wxStyledTextEvent_SetLength(_arg0,_arg1);
7518
7519 wxPy_END_ALLOW_THREADS;
7520} Py_INCREF(Py_None);
7521 _resultobj = Py_None;
7522 return _resultobj;
7523}
7524
7525#define wxStyledTextEvent_SetLinesAdded(_swigobj,_swigarg0) (_swigobj->SetLinesAdded(_swigarg0))
7526static PyObject *_wrap_wxStyledTextEvent_SetLinesAdded(PyObject *self, PyObject *args, PyObject *kwargs) {
7527 PyObject * _resultobj;
7528 wxStyledTextEvent * _arg0;
7529 int _arg1;
7530 PyObject * _argo0 = 0;
7531 char *_kwnames[] = { "self","num", NULL };
7532
7533 self = self;
7534 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextEvent_SetLinesAdded",_kwnames,&_argo0,&_arg1))
7535 return NULL;
7536 if (_argo0) {
7537 if (_argo0 == Py_None) { _arg0 = NULL; }
7538 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextEvent_p")) {
7539 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextEvent_SetLinesAdded. Expected _wxStyledTextEvent_p.");
7540 return NULL;
7541 }
7542 }
7543{
7544 wxPy_BEGIN_ALLOW_THREADS;
7545 wxStyledTextEvent_SetLinesAdded(_arg0,_arg1);
7546
7547 wxPy_END_ALLOW_THREADS;
7548} Py_INCREF(Py_None);
7549 _resultobj = Py_None;
7550 return _resultobj;
7551}
7552
7553#define wxStyledTextEvent_SetLine(_swigobj,_swigarg0) (_swigobj->SetLine(_swigarg0))
7554static PyObject *_wrap_wxStyledTextEvent_SetLine(PyObject *self, PyObject *args, PyObject *kwargs) {
7555 PyObject * _resultobj;
7556 wxStyledTextEvent * _arg0;
7557 int _arg1;
7558 PyObject * _argo0 = 0;
7559 char *_kwnames[] = { "self","val", NULL };
7560
7561 self = self;
7562 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextEvent_SetLine",_kwnames,&_argo0,&_arg1))
7563 return NULL;
7564 if (_argo0) {
7565 if (_argo0 == Py_None) { _arg0 = NULL; }
7566 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextEvent_p")) {
7567 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextEvent_SetLine. Expected _wxStyledTextEvent_p.");
7568 return NULL;
7569 }
7570 }
7571{
7572 wxPy_BEGIN_ALLOW_THREADS;
7573 wxStyledTextEvent_SetLine(_arg0,_arg1);
7574
7575 wxPy_END_ALLOW_THREADS;
7576} Py_INCREF(Py_None);
7577 _resultobj = Py_None;
7578 return _resultobj;
7579}
7580
7581#define wxStyledTextEvent_SetFoldLevelNow(_swigobj,_swigarg0) (_swigobj->SetFoldLevelNow(_swigarg0))
7582static PyObject *_wrap_wxStyledTextEvent_SetFoldLevelNow(PyObject *self, PyObject *args, PyObject *kwargs) {
7583 PyObject * _resultobj;
7584 wxStyledTextEvent * _arg0;
7585 int _arg1;
7586 PyObject * _argo0 = 0;
7587 char *_kwnames[] = { "self","val", NULL };
7588
7589 self = self;
7590 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextEvent_SetFoldLevelNow",_kwnames,&_argo0,&_arg1))
7591 return NULL;
7592 if (_argo0) {
7593 if (_argo0 == Py_None) { _arg0 = NULL; }
7594 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextEvent_p")) {
7595 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextEvent_SetFoldLevelNow. Expected _wxStyledTextEvent_p.");
7596 return NULL;
7597 }
7598 }
7599{
7600 wxPy_BEGIN_ALLOW_THREADS;
7601 wxStyledTextEvent_SetFoldLevelNow(_arg0,_arg1);
7602
7603 wxPy_END_ALLOW_THREADS;
7604} Py_INCREF(Py_None);
7605 _resultobj = Py_None;
7606 return _resultobj;
7607}
7608
7609#define wxStyledTextEvent_SetFoldLevelPrev(_swigobj,_swigarg0) (_swigobj->SetFoldLevelPrev(_swigarg0))
7610static PyObject *_wrap_wxStyledTextEvent_SetFoldLevelPrev(PyObject *self, PyObject *args, PyObject *kwargs) {
7611 PyObject * _resultobj;
7612 wxStyledTextEvent * _arg0;
7613 int _arg1;
7614 PyObject * _argo0 = 0;
7615 char *_kwnames[] = { "self","val", NULL };
7616
7617 self = self;
7618 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextEvent_SetFoldLevelPrev",_kwnames,&_argo0,&_arg1))
7619 return NULL;
7620 if (_argo0) {
7621 if (_argo0 == Py_None) { _arg0 = NULL; }
7622 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextEvent_p")) {
7623 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextEvent_SetFoldLevelPrev. Expected _wxStyledTextEvent_p.");
7624 return NULL;
7625 }
7626 }
7627{
7628 wxPy_BEGIN_ALLOW_THREADS;
7629 wxStyledTextEvent_SetFoldLevelPrev(_arg0,_arg1);
7630
7631 wxPy_END_ALLOW_THREADS;
7632} Py_INCREF(Py_None);
7633 _resultobj = Py_None;
7634 return _resultobj;
7635}
7636
7637#define wxStyledTextEvent_SetMargin(_swigobj,_swigarg0) (_swigobj->SetMargin(_swigarg0))
7638static PyObject *_wrap_wxStyledTextEvent_SetMargin(PyObject *self, PyObject *args, PyObject *kwargs) {
7639 PyObject * _resultobj;
7640 wxStyledTextEvent * _arg0;
7641 int _arg1;
7642 PyObject * _argo0 = 0;
7643 char *_kwnames[] = { "self","val", NULL };
7644
7645 self = self;
7646 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextEvent_SetMargin",_kwnames,&_argo0,&_arg1))
7647 return NULL;
7648 if (_argo0) {
7649 if (_argo0 == Py_None) { _arg0 = NULL; }
7650 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextEvent_p")) {
7651 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextEvent_SetMargin. Expected _wxStyledTextEvent_p.");
7652 return NULL;
7653 }
7654 }
7655{
7656 wxPy_BEGIN_ALLOW_THREADS;
7657 wxStyledTextEvent_SetMargin(_arg0,_arg1);
7658
7659 wxPy_END_ALLOW_THREADS;
7660} Py_INCREF(Py_None);
7661 _resultobj = Py_None;
7662 return _resultobj;
7663}
7664
7665#define wxStyledTextEvent_SetMessage(_swigobj,_swigarg0) (_swigobj->SetMessage(_swigarg0))
7666static PyObject *_wrap_wxStyledTextEvent_SetMessage(PyObject *self, PyObject *args, PyObject *kwargs) {
7667 PyObject * _resultobj;
7668 wxStyledTextEvent * _arg0;
7669 int _arg1;
7670 PyObject * _argo0 = 0;
7671 char *_kwnames[] = { "self","val", NULL };
7672
7673 self = self;
7674 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextEvent_SetMessage",_kwnames,&_argo0,&_arg1))
7675 return NULL;
7676 if (_argo0) {
7677 if (_argo0 == Py_None) { _arg0 = NULL; }
7678 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextEvent_p")) {
7679 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextEvent_SetMessage. Expected _wxStyledTextEvent_p.");
7680 return NULL;
7681 }
7682 }
7683{
7684 wxPy_BEGIN_ALLOW_THREADS;
7685 wxStyledTextEvent_SetMessage(_arg0,_arg1);
7686
7687 wxPy_END_ALLOW_THREADS;
7688} Py_INCREF(Py_None);
7689 _resultobj = Py_None;
7690 return _resultobj;
7691}
7692
7693#define wxStyledTextEvent_SetWParam(_swigobj,_swigarg0) (_swigobj->SetWParam(_swigarg0))
7694static PyObject *_wrap_wxStyledTextEvent_SetWParam(PyObject *self, PyObject *args, PyObject *kwargs) {
7695 PyObject * _resultobj;
7696 wxStyledTextEvent * _arg0;
7697 int _arg1;
7698 PyObject * _argo0 = 0;
7699 char *_kwnames[] = { "self","val", NULL };
7700
7701 self = self;
7702 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextEvent_SetWParam",_kwnames,&_argo0,&_arg1))
7703 return NULL;
7704 if (_argo0) {
7705 if (_argo0 == Py_None) { _arg0 = NULL; }
7706 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextEvent_p")) {
7707 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextEvent_SetWParam. Expected _wxStyledTextEvent_p.");
7708 return NULL;
7709 }
7710 }
7711{
7712 wxPy_BEGIN_ALLOW_THREADS;
7713 wxStyledTextEvent_SetWParam(_arg0,_arg1);
7714
7715 wxPy_END_ALLOW_THREADS;
7716} Py_INCREF(Py_None);
7717 _resultobj = Py_None;
7718 return _resultobj;
7719}
7720
7721#define wxStyledTextEvent_SetLParam(_swigobj,_swigarg0) (_swigobj->SetLParam(_swigarg0))
7722static PyObject *_wrap_wxStyledTextEvent_SetLParam(PyObject *self, PyObject *args, PyObject *kwargs) {
7723 PyObject * _resultobj;
7724 wxStyledTextEvent * _arg0;
7725 int _arg1;
7726 PyObject * _argo0 = 0;
7727 char *_kwnames[] = { "self","val", NULL };
7728
7729 self = self;
7730 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextEvent_SetLParam",_kwnames,&_argo0,&_arg1))
7731 return NULL;
7732 if (_argo0) {
7733 if (_argo0 == Py_None) { _arg0 = NULL; }
7734 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextEvent_p")) {
7735 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextEvent_SetLParam. Expected _wxStyledTextEvent_p.");
7736 return NULL;
7737 }
7738 }
7739{
7740 wxPy_BEGIN_ALLOW_THREADS;
7741 wxStyledTextEvent_SetLParam(_arg0,_arg1);
7742
7743 wxPy_END_ALLOW_THREADS;
7744} Py_INCREF(Py_None);
7745 _resultobj = Py_None;
7746 return _resultobj;
7747}
7748
7749#define wxStyledTextEvent_GetPosition(_swigobj) (_swigobj->GetPosition())
7750static PyObject *_wrap_wxStyledTextEvent_GetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
7751 PyObject * _resultobj;
7752 int _result;
7753 wxStyledTextEvent * _arg0;
7754 PyObject * _argo0 = 0;
7755 char *_kwnames[] = { "self", NULL };
7756
7757 self = self;
7758 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextEvent_GetPosition",_kwnames,&_argo0))
7759 return NULL;
7760 if (_argo0) {
7761 if (_argo0 == Py_None) { _arg0 = NULL; }
7762 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextEvent_p")) {
7763 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextEvent_GetPosition. Expected _wxStyledTextEvent_p.");
7764 return NULL;
7765 }
7766 }
7767{
7768 wxPy_BEGIN_ALLOW_THREADS;
7769 _result = (int )wxStyledTextEvent_GetPosition(_arg0);
7770
7771 wxPy_END_ALLOW_THREADS;
7772} _resultobj = Py_BuildValue("i",_result);
7773 return _resultobj;
7774}
7775
7776#define wxStyledTextEvent_GetKey(_swigobj) (_swigobj->GetKey())
7777static PyObject *_wrap_wxStyledTextEvent_GetKey(PyObject *self, PyObject *args, PyObject *kwargs) {
7778 PyObject * _resultobj;
7779 int _result;
7780 wxStyledTextEvent * _arg0;
7781 PyObject * _argo0 = 0;
7782 char *_kwnames[] = { "self", NULL };
7783
7784 self = self;
7785 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextEvent_GetKey",_kwnames,&_argo0))
7786 return NULL;
7787 if (_argo0) {
7788 if (_argo0 == Py_None) { _arg0 = NULL; }
7789 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextEvent_p")) {
7790 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextEvent_GetKey. Expected _wxStyledTextEvent_p.");
7791 return NULL;
7792 }
7793 }
7794{
7795 wxPy_BEGIN_ALLOW_THREADS;
7796 _result = (int )wxStyledTextEvent_GetKey(_arg0);
7797
7798 wxPy_END_ALLOW_THREADS;
7799} _resultobj = Py_BuildValue("i",_result);
7800 return _resultobj;
7801}
7802
7803#define wxStyledTextEvent_GetModifiers(_swigobj) (_swigobj->GetModifiers())
7804static PyObject *_wrap_wxStyledTextEvent_GetModifiers(PyObject *self, PyObject *args, PyObject *kwargs) {
7805 PyObject * _resultobj;
7806 int _result;
7807 wxStyledTextEvent * _arg0;
7808 PyObject * _argo0 = 0;
7809 char *_kwnames[] = { "self", NULL };
7810
7811 self = self;
7812 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextEvent_GetModifiers",_kwnames,&_argo0))
7813 return NULL;
7814 if (_argo0) {
7815 if (_argo0 == Py_None) { _arg0 = NULL; }
7816 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextEvent_p")) {
7817 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextEvent_GetModifiers. Expected _wxStyledTextEvent_p.");
7818 return NULL;
7819 }
7820 }
7821{
7822 wxPy_BEGIN_ALLOW_THREADS;
7823 _result = (int )wxStyledTextEvent_GetModifiers(_arg0);
7824
7825 wxPy_END_ALLOW_THREADS;
7826} _resultobj = Py_BuildValue("i",_result);
7827 return _resultobj;
7828}
7829
7830#define wxStyledTextEvent_GetModificationType(_swigobj) (_swigobj->GetModificationType())
7831static PyObject *_wrap_wxStyledTextEvent_GetModificationType(PyObject *self, PyObject *args, PyObject *kwargs) {
7832 PyObject * _resultobj;
7833 int _result;
7834 wxStyledTextEvent * _arg0;
7835 PyObject * _argo0 = 0;
7836 char *_kwnames[] = { "self", NULL };
7837
7838 self = self;
7839 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextEvent_GetModificationType",_kwnames,&_argo0))
7840 return NULL;
7841 if (_argo0) {
7842 if (_argo0 == Py_None) { _arg0 = NULL; }
7843 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextEvent_p")) {
7844 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextEvent_GetModificationType. Expected _wxStyledTextEvent_p.");
7845 return NULL;
7846 }
7847 }
7848{
7849 wxPy_BEGIN_ALLOW_THREADS;
7850 _result = (int )wxStyledTextEvent_GetModificationType(_arg0);
7851
7852 wxPy_END_ALLOW_THREADS;
7853} _resultobj = Py_BuildValue("i",_result);
7854 return _resultobj;
7855}
7856
7857#define wxStyledTextEvent_GetText(_swigobj) (_swigobj->GetText())
7858static PyObject *_wrap_wxStyledTextEvent_GetText(PyObject *self, PyObject *args, PyObject *kwargs) {
7859 PyObject * _resultobj;
7860 wxString * _result;
7861 wxStyledTextEvent * _arg0;
7862 PyObject * _argo0 = 0;
7863 char *_kwnames[] = { "self", NULL };
7864
7865 self = self;
7866 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextEvent_GetText",_kwnames,&_argo0))
7867 return NULL;
7868 if (_argo0) {
7869 if (_argo0 == Py_None) { _arg0 = NULL; }
7870 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextEvent_p")) {
7871 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextEvent_GetText. Expected _wxStyledTextEvent_p.");
7872 return NULL;
7873 }
7874 }
7875{
7876 wxPy_BEGIN_ALLOW_THREADS;
7877 _result = new wxString (wxStyledTextEvent_GetText(_arg0));
7878
7879 wxPy_END_ALLOW_THREADS;
7880}{
7881 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
7882}
7883{
7884 delete _result;
7885}
7886 return _resultobj;
7887}
7888
7889#define wxStyledTextEvent_GetLength(_swigobj) (_swigobj->GetLength())
7890static PyObject *_wrap_wxStyledTextEvent_GetLength(PyObject *self, PyObject *args, PyObject *kwargs) {
7891 PyObject * _resultobj;
7892 int _result;
7893 wxStyledTextEvent * _arg0;
7894 PyObject * _argo0 = 0;
7895 char *_kwnames[] = { "self", NULL };
7896
7897 self = self;
7898 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextEvent_GetLength",_kwnames,&_argo0))
7899 return NULL;
7900 if (_argo0) {
7901 if (_argo0 == Py_None) { _arg0 = NULL; }
7902 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextEvent_p")) {
7903 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextEvent_GetLength. Expected _wxStyledTextEvent_p.");
7904 return NULL;
7905 }
7906 }
7907{
7908 wxPy_BEGIN_ALLOW_THREADS;
7909 _result = (int )wxStyledTextEvent_GetLength(_arg0);
7910
7911 wxPy_END_ALLOW_THREADS;
7912} _resultobj = Py_BuildValue("i",_result);
7913 return _resultobj;
7914}
7915
7916#define wxStyledTextEvent_GetLinesAdded(_swigobj) (_swigobj->GetLinesAdded())
7917static PyObject *_wrap_wxStyledTextEvent_GetLinesAdded(PyObject *self, PyObject *args, PyObject *kwargs) {
7918 PyObject * _resultobj;
7919 int _result;
7920 wxStyledTextEvent * _arg0;
7921 PyObject * _argo0 = 0;
7922 char *_kwnames[] = { "self", NULL };
7923
7924 self = self;
7925 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextEvent_GetLinesAdded",_kwnames,&_argo0))
7926 return NULL;
7927 if (_argo0) {
7928 if (_argo0 == Py_None) { _arg0 = NULL; }
7929 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextEvent_p")) {
7930 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextEvent_GetLinesAdded. Expected _wxStyledTextEvent_p.");
7931 return NULL;
7932 }
7933 }
7934{
7935 wxPy_BEGIN_ALLOW_THREADS;
7936 _result = (int )wxStyledTextEvent_GetLinesAdded(_arg0);
7937
7938 wxPy_END_ALLOW_THREADS;
7939} _resultobj = Py_BuildValue("i",_result);
7940 return _resultobj;
7941}
7942
7943#define wxStyledTextEvent_GetLine(_swigobj) (_swigobj->GetLine())
7944static PyObject *_wrap_wxStyledTextEvent_GetLine(PyObject *self, PyObject *args, PyObject *kwargs) {
7945 PyObject * _resultobj;
7946 int _result;
7947 wxStyledTextEvent * _arg0;
7948 PyObject * _argo0 = 0;
7949 char *_kwnames[] = { "self", NULL };
7950
7951 self = self;
7952 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextEvent_GetLine",_kwnames,&_argo0))
7953 return NULL;
7954 if (_argo0) {
7955 if (_argo0 == Py_None) { _arg0 = NULL; }
7956 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextEvent_p")) {
7957 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextEvent_GetLine. Expected _wxStyledTextEvent_p.");
7958 return NULL;
7959 }
7960 }
7961{
7962 wxPy_BEGIN_ALLOW_THREADS;
7963 _result = (int )wxStyledTextEvent_GetLine(_arg0);
7964
7965 wxPy_END_ALLOW_THREADS;
7966} _resultobj = Py_BuildValue("i",_result);
7967 return _resultobj;
7968}
7969
7970#define wxStyledTextEvent_GetFoldLevelNow(_swigobj) (_swigobj->GetFoldLevelNow())
7971static PyObject *_wrap_wxStyledTextEvent_GetFoldLevelNow(PyObject *self, PyObject *args, PyObject *kwargs) {
7972 PyObject * _resultobj;
7973 int _result;
7974 wxStyledTextEvent * _arg0;
7975 PyObject * _argo0 = 0;
7976 char *_kwnames[] = { "self", NULL };
7977
7978 self = self;
7979 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextEvent_GetFoldLevelNow",_kwnames,&_argo0))
7980 return NULL;
7981 if (_argo0) {
7982 if (_argo0 == Py_None) { _arg0 = NULL; }
7983 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextEvent_p")) {
7984 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextEvent_GetFoldLevelNow. Expected _wxStyledTextEvent_p.");
7985 return NULL;
7986 }
7987 }
7988{
7989 wxPy_BEGIN_ALLOW_THREADS;
7990 _result = (int )wxStyledTextEvent_GetFoldLevelNow(_arg0);
7991
7992 wxPy_END_ALLOW_THREADS;
7993} _resultobj = Py_BuildValue("i",_result);
7994 return _resultobj;
7995}
7996
7997#define wxStyledTextEvent_GetFoldLevelPrev(_swigobj) (_swigobj->GetFoldLevelPrev())
7998static PyObject *_wrap_wxStyledTextEvent_GetFoldLevelPrev(PyObject *self, PyObject *args, PyObject *kwargs) {
7999 PyObject * _resultobj;
8000 int _result;
8001 wxStyledTextEvent * _arg0;
8002 PyObject * _argo0 = 0;
8003 char *_kwnames[] = { "self", NULL };
8004
8005 self = self;
8006 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextEvent_GetFoldLevelPrev",_kwnames,&_argo0))
8007 return NULL;
8008 if (_argo0) {
8009 if (_argo0 == Py_None) { _arg0 = NULL; }
8010 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextEvent_p")) {
8011 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextEvent_GetFoldLevelPrev. Expected _wxStyledTextEvent_p.");
8012 return NULL;
8013 }
8014 }
8015{
8016 wxPy_BEGIN_ALLOW_THREADS;
8017 _result = (int )wxStyledTextEvent_GetFoldLevelPrev(_arg0);
8018
8019 wxPy_END_ALLOW_THREADS;
8020} _resultobj = Py_BuildValue("i",_result);
8021 return _resultobj;
8022}
8023
8024#define wxStyledTextEvent_GetMargin(_swigobj) (_swigobj->GetMargin())
8025static PyObject *_wrap_wxStyledTextEvent_GetMargin(PyObject *self, PyObject *args, PyObject *kwargs) {
8026 PyObject * _resultobj;
8027 int _result;
8028 wxStyledTextEvent * _arg0;
8029 PyObject * _argo0 = 0;
8030 char *_kwnames[] = { "self", NULL };
8031
8032 self = self;
8033 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextEvent_GetMargin",_kwnames,&_argo0))
8034 return NULL;
8035 if (_argo0) {
8036 if (_argo0 == Py_None) { _arg0 = NULL; }
8037 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextEvent_p")) {
8038 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextEvent_GetMargin. Expected _wxStyledTextEvent_p.");
8039 return NULL;
8040 }
8041 }
8042{
8043 wxPy_BEGIN_ALLOW_THREADS;
8044 _result = (int )wxStyledTextEvent_GetMargin(_arg0);
8045
8046 wxPy_END_ALLOW_THREADS;
8047} _resultobj = Py_BuildValue("i",_result);
8048 return _resultobj;
8049}
8050
8051#define wxStyledTextEvent_GetMessage(_swigobj) (_swigobj->GetMessage())
8052static PyObject *_wrap_wxStyledTextEvent_GetMessage(PyObject *self, PyObject *args, PyObject *kwargs) {
8053 PyObject * _resultobj;
8054 int _result;
8055 wxStyledTextEvent * _arg0;
8056 PyObject * _argo0 = 0;
8057 char *_kwnames[] = { "self", NULL };
8058
8059 self = self;
8060 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextEvent_GetMessage",_kwnames,&_argo0))
8061 return NULL;
8062 if (_argo0) {
8063 if (_argo0 == Py_None) { _arg0 = NULL; }
8064 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextEvent_p")) {
8065 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextEvent_GetMessage. Expected _wxStyledTextEvent_p.");
8066 return NULL;
8067 }
8068 }
8069{
8070 wxPy_BEGIN_ALLOW_THREADS;
8071 _result = (int )wxStyledTextEvent_GetMessage(_arg0);
8072
8073 wxPy_END_ALLOW_THREADS;
8074} _resultobj = Py_BuildValue("i",_result);
8075 return _resultobj;
8076}
8077
8078#define wxStyledTextEvent_GetWParam(_swigobj) (_swigobj->GetWParam())
8079static PyObject *_wrap_wxStyledTextEvent_GetWParam(PyObject *self, PyObject *args, PyObject *kwargs) {
8080 PyObject * _resultobj;
8081 int _result;
8082 wxStyledTextEvent * _arg0;
8083 PyObject * _argo0 = 0;
8084 char *_kwnames[] = { "self", NULL };
8085
8086 self = self;
8087 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextEvent_GetWParam",_kwnames,&_argo0))
8088 return NULL;
8089 if (_argo0) {
8090 if (_argo0 == Py_None) { _arg0 = NULL; }
8091 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextEvent_p")) {
8092 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextEvent_GetWParam. Expected _wxStyledTextEvent_p.");
8093 return NULL;
8094 }
8095 }
8096{
8097 wxPy_BEGIN_ALLOW_THREADS;
8098 _result = (int )wxStyledTextEvent_GetWParam(_arg0);
8099
8100 wxPy_END_ALLOW_THREADS;
8101} _resultobj = Py_BuildValue("i",_result);
8102 return _resultobj;
8103}
8104
8105#define wxStyledTextEvent_GetLParam(_swigobj) (_swigobj->GetLParam())
8106static PyObject *_wrap_wxStyledTextEvent_GetLParam(PyObject *self, PyObject *args, PyObject *kwargs) {
8107 PyObject * _resultobj;
8108 int _result;
8109 wxStyledTextEvent * _arg0;
8110 PyObject * _argo0 = 0;
8111 char *_kwnames[] = { "self", NULL };
8112
8113 self = self;
8114 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextEvent_GetLParam",_kwnames,&_argo0))
8115 return NULL;
8116 if (_argo0) {
8117 if (_argo0 == Py_None) { _arg0 = NULL; }
8118 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextEvent_p")) {
8119 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextEvent_GetLParam. Expected _wxStyledTextEvent_p.");
8120 return NULL;
8121 }
8122 }
8123{
8124 wxPy_BEGIN_ALLOW_THREADS;
8125 _result = (int )wxStyledTextEvent_GetLParam(_arg0);
8126
8127 wxPy_END_ALLOW_THREADS;
8128} _resultobj = Py_BuildValue("i",_result);
8129 return _resultobj;
8130}
8131
8132#define wxStyledTextEvent_GetShift(_swigobj) (_swigobj->GetShift())
8133static PyObject *_wrap_wxStyledTextEvent_GetShift(PyObject *self, PyObject *args, PyObject *kwargs) {
8134 PyObject * _resultobj;
8135 bool _result;
8136 wxStyledTextEvent * _arg0;
8137 PyObject * _argo0 = 0;
8138 char *_kwnames[] = { "self", NULL };
8139
8140 self = self;
8141 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextEvent_GetShift",_kwnames,&_argo0))
8142 return NULL;
8143 if (_argo0) {
8144 if (_argo0 == Py_None) { _arg0 = NULL; }
8145 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextEvent_p")) {
8146 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextEvent_GetShift. Expected _wxStyledTextEvent_p.");
8147 return NULL;
8148 }
8149 }
8150{
8151 wxPy_BEGIN_ALLOW_THREADS;
8152 _result = (bool )wxStyledTextEvent_GetShift(_arg0);
8153
8154 wxPy_END_ALLOW_THREADS;
8155} _resultobj = Py_BuildValue("i",_result);
8156 return _resultobj;
8157}
8158
8159#define wxStyledTextEvent_GetControl(_swigobj) (_swigobj->GetControl())
8160static PyObject *_wrap_wxStyledTextEvent_GetControl(PyObject *self, PyObject *args, PyObject *kwargs) {
8161 PyObject * _resultobj;
8162 bool _result;
8163 wxStyledTextEvent * _arg0;
8164 PyObject * _argo0 = 0;
8165 char *_kwnames[] = { "self", NULL };
8166
8167 self = self;
8168 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextEvent_GetControl",_kwnames,&_argo0))
8169 return NULL;
8170 if (_argo0) {
8171 if (_argo0 == Py_None) { _arg0 = NULL; }
8172 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextEvent_p")) {
8173 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextEvent_GetControl. Expected _wxStyledTextEvent_p.");
8174 return NULL;
8175 }
8176 }
8177{
8178 wxPy_BEGIN_ALLOW_THREADS;
8179 _result = (bool )wxStyledTextEvent_GetControl(_arg0);
8180
8181 wxPy_END_ALLOW_THREADS;
8182} _resultobj = Py_BuildValue("i",_result);
8183 return _resultobj;
8184}
8185
8186#define wxStyledTextEvent_GetAlt(_swigobj) (_swigobj->GetAlt())
8187static PyObject *_wrap_wxStyledTextEvent_GetAlt(PyObject *self, PyObject *args, PyObject *kwargs) {
8188 PyObject * _resultobj;
8189 bool _result;
8190 wxStyledTextEvent * _arg0;
8191 PyObject * _argo0 = 0;
8192 char *_kwnames[] = { "self", NULL };
8193
8194 self = self;
8195 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextEvent_GetAlt",_kwnames,&_argo0))
8196 return NULL;
8197 if (_argo0) {
8198 if (_argo0 == Py_None) { _arg0 = NULL; }
8199 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextEvent_p")) {
8200 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextEvent_GetAlt. Expected _wxStyledTextEvent_p.");
8201 return NULL;
8202 }
8203 }
8204{
8205 wxPy_BEGIN_ALLOW_THREADS;
8206 _result = (bool )wxStyledTextEvent_GetAlt(_arg0);
8207
8208 wxPy_END_ALLOW_THREADS;
8209} _resultobj = Py_BuildValue("i",_result);
8210 return _resultobj;
8211}
8212
8213#define wxStyledTextEvent_CopyObject(_swigobj,_swigarg0) (_swigobj->CopyObject(_swigarg0))
8214static PyObject *_wrap_wxStyledTextEvent_CopyObject(PyObject *self, PyObject *args, PyObject *kwargs) {
8215 PyObject * _resultobj;
8216 wxStyledTextEvent * _arg0;
8217 wxObject * _arg1;
8218 PyObject * _argo0 = 0;
8219 PyObject * _argo1 = 0;
8220 char *_kwnames[] = { "self","obj", NULL };
8221
8222 self = self;
8223 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxStyledTextEvent_CopyObject",_kwnames,&_argo0,&_argo1))
8224 return NULL;
8225 if (_argo0) {
8226 if (_argo0 == Py_None) { _arg0 = NULL; }
8227 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextEvent_p")) {
8228 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextEvent_CopyObject. Expected _wxStyledTextEvent_p.");
8229 return NULL;
8230 }
8231 }
8232 if (_argo1) {
8233 if (_argo1 == Py_None) { _arg1 = NULL; }
8234 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxObject_p")) {
8235 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxStyledTextEvent_CopyObject. Expected _wxObject_p.");
8236 return NULL;
8237 }
8238 }
8239{
8240 wxPy_BEGIN_ALLOW_THREADS;
8241 wxStyledTextEvent_CopyObject(_arg0,*_arg1);
8242
8243 wxPy_END_ALLOW_THREADS;
8244} Py_INCREF(Py_None);
8245 _resultobj = Py_None;
8246 return _resultobj;
8247}
8248
8249static PyMethodDef stc_cMethods[] = {
8250 { "wxStyledTextEvent_CopyObject", (PyCFunction) _wrap_wxStyledTextEvent_CopyObject, METH_VARARGS | METH_KEYWORDS },
8251 { "wxStyledTextEvent_GetAlt", (PyCFunction) _wrap_wxStyledTextEvent_GetAlt, METH_VARARGS | METH_KEYWORDS },
8252 { "wxStyledTextEvent_GetControl", (PyCFunction) _wrap_wxStyledTextEvent_GetControl, METH_VARARGS | METH_KEYWORDS },
8253 { "wxStyledTextEvent_GetShift", (PyCFunction) _wrap_wxStyledTextEvent_GetShift, METH_VARARGS | METH_KEYWORDS },
8254 { "wxStyledTextEvent_GetLParam", (PyCFunction) _wrap_wxStyledTextEvent_GetLParam, METH_VARARGS | METH_KEYWORDS },
8255 { "wxStyledTextEvent_GetWParam", (PyCFunction) _wrap_wxStyledTextEvent_GetWParam, METH_VARARGS | METH_KEYWORDS },
8256 { "wxStyledTextEvent_GetMessage", (PyCFunction) _wrap_wxStyledTextEvent_GetMessage, METH_VARARGS | METH_KEYWORDS },
8257 { "wxStyledTextEvent_GetMargin", (PyCFunction) _wrap_wxStyledTextEvent_GetMargin, METH_VARARGS | METH_KEYWORDS },
8258 { "wxStyledTextEvent_GetFoldLevelPrev", (PyCFunction) _wrap_wxStyledTextEvent_GetFoldLevelPrev, METH_VARARGS | METH_KEYWORDS },
8259 { "wxStyledTextEvent_GetFoldLevelNow", (PyCFunction) _wrap_wxStyledTextEvent_GetFoldLevelNow, METH_VARARGS | METH_KEYWORDS },
8260 { "wxStyledTextEvent_GetLine", (PyCFunction) _wrap_wxStyledTextEvent_GetLine, METH_VARARGS | METH_KEYWORDS },
8261 { "wxStyledTextEvent_GetLinesAdded", (PyCFunction) _wrap_wxStyledTextEvent_GetLinesAdded, METH_VARARGS | METH_KEYWORDS },
8262 { "wxStyledTextEvent_GetLength", (PyCFunction) _wrap_wxStyledTextEvent_GetLength, METH_VARARGS | METH_KEYWORDS },
8263 { "wxStyledTextEvent_GetText", (PyCFunction) _wrap_wxStyledTextEvent_GetText, METH_VARARGS | METH_KEYWORDS },
8264 { "wxStyledTextEvent_GetModificationType", (PyCFunction) _wrap_wxStyledTextEvent_GetModificationType, METH_VARARGS | METH_KEYWORDS },
8265 { "wxStyledTextEvent_GetModifiers", (PyCFunction) _wrap_wxStyledTextEvent_GetModifiers, METH_VARARGS | METH_KEYWORDS },
8266 { "wxStyledTextEvent_GetKey", (PyCFunction) _wrap_wxStyledTextEvent_GetKey, METH_VARARGS | METH_KEYWORDS },
8267 { "wxStyledTextEvent_GetPosition", (PyCFunction) _wrap_wxStyledTextEvent_GetPosition, METH_VARARGS | METH_KEYWORDS },
8268 { "wxStyledTextEvent_SetLParam", (PyCFunction) _wrap_wxStyledTextEvent_SetLParam, METH_VARARGS | METH_KEYWORDS },
8269 { "wxStyledTextEvent_SetWParam", (PyCFunction) _wrap_wxStyledTextEvent_SetWParam, METH_VARARGS | METH_KEYWORDS },
8270 { "wxStyledTextEvent_SetMessage", (PyCFunction) _wrap_wxStyledTextEvent_SetMessage, METH_VARARGS | METH_KEYWORDS },
8271 { "wxStyledTextEvent_SetMargin", (PyCFunction) _wrap_wxStyledTextEvent_SetMargin, METH_VARARGS | METH_KEYWORDS },
8272 { "wxStyledTextEvent_SetFoldLevelPrev", (PyCFunction) _wrap_wxStyledTextEvent_SetFoldLevelPrev, METH_VARARGS | METH_KEYWORDS },
8273 { "wxStyledTextEvent_SetFoldLevelNow", (PyCFunction) _wrap_wxStyledTextEvent_SetFoldLevelNow, METH_VARARGS | METH_KEYWORDS },
8274 { "wxStyledTextEvent_SetLine", (PyCFunction) _wrap_wxStyledTextEvent_SetLine, METH_VARARGS | METH_KEYWORDS },
8275 { "wxStyledTextEvent_SetLinesAdded", (PyCFunction) _wrap_wxStyledTextEvent_SetLinesAdded, METH_VARARGS | METH_KEYWORDS },
8276 { "wxStyledTextEvent_SetLength", (PyCFunction) _wrap_wxStyledTextEvent_SetLength, METH_VARARGS | METH_KEYWORDS },
8277 { "wxStyledTextEvent_SetText", (PyCFunction) _wrap_wxStyledTextEvent_SetText, METH_VARARGS | METH_KEYWORDS },
8278 { "wxStyledTextEvent_SetModificationType", (PyCFunction) _wrap_wxStyledTextEvent_SetModificationType, METH_VARARGS | METH_KEYWORDS },
8279 { "wxStyledTextEvent_SetModifiers", (PyCFunction) _wrap_wxStyledTextEvent_SetModifiers, METH_VARARGS | METH_KEYWORDS },
8280 { "wxStyledTextEvent_SetKey", (PyCFunction) _wrap_wxStyledTextEvent_SetKey, METH_VARARGS | METH_KEYWORDS },
8281 { "wxStyledTextEvent_SetPosition", (PyCFunction) _wrap_wxStyledTextEvent_SetPosition, METH_VARARGS | METH_KEYWORDS },
8282 { "delete_wxStyledTextEvent", (PyCFunction) _wrap_delete_wxStyledTextEvent, METH_VARARGS | METH_KEYWORDS },
8283 { "new_wxStyledTextEvent", (PyCFunction) _wrap_new_wxStyledTextEvent, METH_VARARGS | METH_KEYWORDS },
ea7c631c
RD
8284 { "wxStyledTextCtrl_ScrollToColumn", (PyCFunction) _wrap_wxStyledTextCtrl_ScrollToColumn, METH_VARARGS | METH_KEYWORDS },
8285 { "wxStyledTextCtrl_ScrollToLine", (PyCFunction) _wrap_wxStyledTextCtrl_ScrollToLine, METH_VARARGS | METH_KEYWORDS },
fe47ec10
RD
8286 { "wxStyledTextCtrl_PointFromPosition", (PyCFunction) _wrap_wxStyledTextCtrl_PointFromPosition, METH_VARARGS | METH_KEYWORDS },
8287 { "wxStyledTextCtrl_GetSelection", (PyCFunction) _wrap_wxStyledTextCtrl_GetSelection, METH_VARARGS | METH_KEYWORDS },
8288 { "wxStyledTextCtrl_SetMargins", (PyCFunction) _wrap_wxStyledTextCtrl_SetMargins, METH_VARARGS | METH_KEYWORDS },
8289 { "wxStyledTextCtrl_CmdKeyExecute", (PyCFunction) _wrap_wxStyledTextCtrl_CmdKeyExecute, METH_VARARGS | METH_KEYWORDS },
8290 { "wxStyledTextCtrl_StyleSetFontAttr", (PyCFunction) _wrap_wxStyledTextCtrl_StyleSetFontAttr, METH_VARARGS | METH_KEYWORDS },
8291 { "wxStyledTextCtrl_StyleSetFont", (PyCFunction) _wrap_wxStyledTextCtrl_StyleSetFont, METH_VARARGS | METH_KEYWORDS },
8292 { "wxStyledTextCtrl_StyleSetSpec", (PyCFunction) _wrap_wxStyledTextCtrl_StyleSetSpec, METH_VARARGS | METH_KEYWORDS },
8293 { "wxStyledTextCtrl_GetCurrentLine", (PyCFunction) _wrap_wxStyledTextCtrl_GetCurrentLine, METH_VARARGS | METH_KEYWORDS },
8294 { "wxStyledTextCtrl_SetKeyWords", (PyCFunction) _wrap_wxStyledTextCtrl_SetKeyWords, METH_VARARGS | METH_KEYWORDS },
f6bcfd97
BP
8295 { "wxStyledTextCtrl_SetProperty", (PyCFunction) _wrap_wxStyledTextCtrl_SetProperty, METH_VARARGS | METH_KEYWORDS },
8296 { "wxStyledTextCtrl_Colourise", (PyCFunction) _wrap_wxStyledTextCtrl_Colourise, METH_VARARGS | METH_KEYWORDS },
8297 { "wxStyledTextCtrl_GetLexer", (PyCFunction) _wrap_wxStyledTextCtrl_GetLexer, METH_VARARGS | METH_KEYWORDS },
8298 { "wxStyledTextCtrl_SetLexer", (PyCFunction) _wrap_wxStyledTextCtrl_SetLexer, METH_VARARGS | METH_KEYWORDS },
fe47ec10
RD
8299 { "wxStyledTextCtrl_StopRecord", (PyCFunction) _wrap_wxStyledTextCtrl_StopRecord, METH_VARARGS | METH_KEYWORDS },
8300 { "wxStyledTextCtrl_StartRecord", (PyCFunction) _wrap_wxStyledTextCtrl_StartRecord, METH_VARARGS | METH_KEYWORDS },
8301 { "wxStyledTextCtrl_GetModEventMask", (PyCFunction) _wrap_wxStyledTextCtrl_GetModEventMask, METH_VARARGS | METH_KEYWORDS },
8302 { "wxStyledTextCtrl_ReleaseDocument", (PyCFunction) _wrap_wxStyledTextCtrl_ReleaseDocument, METH_VARARGS | METH_KEYWORDS },
8303 { "wxStyledTextCtrl_AddRefDocument", (PyCFunction) _wrap_wxStyledTextCtrl_AddRefDocument, METH_VARARGS | METH_KEYWORDS },
8304 { "wxStyledTextCtrl_CreateDocument", (PyCFunction) _wrap_wxStyledTextCtrl_CreateDocument, METH_VARARGS | METH_KEYWORDS },
8305 { "wxStyledTextCtrl_GetZoom", (PyCFunction) _wrap_wxStyledTextCtrl_GetZoom, METH_VARARGS | METH_KEYWORDS },
8306 { "wxStyledTextCtrl_SetZoom", (PyCFunction) _wrap_wxStyledTextCtrl_SetZoom, METH_VARARGS | METH_KEYWORDS },
8307 { "wxStyledTextCtrl_SelectionIsRectangle", (PyCFunction) _wrap_wxStyledTextCtrl_SelectionIsRectangle, METH_VARARGS | METH_KEYWORDS },
8308 { "wxStyledTextCtrl_UsePopUp", (PyCFunction) _wrap_wxStyledTextCtrl_UsePopUp, METH_VARARGS | METH_KEYWORDS },
8309 { "wxStyledTextCtrl_LinesOnScreen", (PyCFunction) _wrap_wxStyledTextCtrl_LinesOnScreen, METH_VARARGS | METH_KEYWORDS },
8310 { "wxStyledTextCtrl_SetCaretPolicy", (PyCFunction) _wrap_wxStyledTextCtrl_SetCaretPolicy, METH_VARARGS | METH_KEYWORDS },
8311 { "wxStyledTextCtrl_SearchPrev", (PyCFunction) _wrap_wxStyledTextCtrl_SearchPrev, METH_VARARGS | METH_KEYWORDS },
8312 { "wxStyledTextCtrl_SearchNext", (PyCFunction) _wrap_wxStyledTextCtrl_SearchNext, METH_VARARGS | METH_KEYWORDS },
8313 { "wxStyledTextCtrl_SearchAnchor", (PyCFunction) _wrap_wxStyledTextCtrl_SearchAnchor, METH_VARARGS | METH_KEYWORDS },
f6bcfd97
BP
8314 { "wxStyledTextCtrl_SetEdgeColour", (PyCFunction) _wrap_wxStyledTextCtrl_SetEdgeColour, METH_VARARGS | METH_KEYWORDS },
8315 { "wxStyledTextCtrl_GetEdgeColour", (PyCFunction) _wrap_wxStyledTextCtrl_GetEdgeColour, METH_VARARGS | METH_KEYWORDS },
8316 { "wxStyledTextCtrl_SetEdgeMode", (PyCFunction) _wrap_wxStyledTextCtrl_SetEdgeMode, METH_VARARGS | METH_KEYWORDS },
8317 { "wxStyledTextCtrl_GetEdgeMode", (PyCFunction) _wrap_wxStyledTextCtrl_GetEdgeMode, METH_VARARGS | METH_KEYWORDS },
8318 { "wxStyledTextCtrl_SetEdgeColumn", (PyCFunction) _wrap_wxStyledTextCtrl_SetEdgeColumn, METH_VARARGS | METH_KEYWORDS },
8319 { "wxStyledTextCtrl_GetEdgeColumn", (PyCFunction) _wrap_wxStyledTextCtrl_GetEdgeColumn, METH_VARARGS | METH_KEYWORDS },
fe47ec10
RD
8320 { "wxStyledTextCtrl_SetModEventMask", (PyCFunction) _wrap_wxStyledTextCtrl_SetModEventMask, METH_VARARGS | METH_KEYWORDS },
8321 { "wxStyledTextCtrl_SetDocPointer", (PyCFunction) _wrap_wxStyledTextCtrl_SetDocPointer, METH_VARARGS | METH_KEYWORDS },
8322 { "wxStyledTextCtrl_GetDocPointer", (PyCFunction) _wrap_wxStyledTextCtrl_GetDocPointer, METH_VARARGS | METH_KEYWORDS },
8323 { "wxStyledTextCtrl_SetViewEOL", (PyCFunction) _wrap_wxStyledTextCtrl_SetViewEOL, METH_VARARGS | METH_KEYWORDS },
8324 { "wxStyledTextCtrl_GetViewEOL", (PyCFunction) _wrap_wxStyledTextCtrl_GetViewEOL, METH_VARARGS | METH_KEYWORDS },
8325 { "wxStyledTextCtrl_BraceMatch", (PyCFunction) _wrap_wxStyledTextCtrl_BraceMatch, METH_VARARGS | METH_KEYWORDS },
8326 { "wxStyledTextCtrl_BraceBadLight", (PyCFunction) _wrap_wxStyledTextCtrl_BraceBadLight, METH_VARARGS | METH_KEYWORDS },
8327 { "wxStyledTextCtrl_BraceHighlight", (PyCFunction) _wrap_wxStyledTextCtrl_BraceHighlight, METH_VARARGS | METH_KEYWORDS },
8328 { "wxStyledTextCtrl_LineLength", (PyCFunction) _wrap_wxStyledTextCtrl_LineLength, METH_VARARGS | METH_KEYWORDS },
f6bcfd97
BP
8329 { "wxStyledTextCtrl_SetFoldFlags", (PyCFunction) _wrap_wxStyledTextCtrl_SetFoldFlags, METH_VARARGS | METH_KEYWORDS },
8330 { "wxStyledTextCtrl_EnsureVisible", (PyCFunction) _wrap_wxStyledTextCtrl_EnsureVisible, METH_VARARGS | METH_KEYWORDS },
8331 { "wxStyledTextCtrl_ToggleFold", (PyCFunction) _wrap_wxStyledTextCtrl_ToggleFold, METH_VARARGS | METH_KEYWORDS },
8332 { "wxStyledTextCtrl_GetFoldExpanded", (PyCFunction) _wrap_wxStyledTextCtrl_GetFoldExpanded, METH_VARARGS | METH_KEYWORDS },
8333 { "wxStyledTextCtrl_SetFoldExpanded", (PyCFunction) _wrap_wxStyledTextCtrl_SetFoldExpanded, METH_VARARGS | METH_KEYWORDS },
8334 { "wxStyledTextCtrl_GetLineVisible", (PyCFunction) _wrap_wxStyledTextCtrl_GetLineVisible, METH_VARARGS | METH_KEYWORDS },
8335 { "wxStyledTextCtrl_HideLines", (PyCFunction) _wrap_wxStyledTextCtrl_HideLines, METH_VARARGS | METH_KEYWORDS },
8336 { "wxStyledTextCtrl_ShowLines", (PyCFunction) _wrap_wxStyledTextCtrl_ShowLines, METH_VARARGS | METH_KEYWORDS },
8337 { "wxStyledTextCtrl_GetFoldParent", (PyCFunction) _wrap_wxStyledTextCtrl_GetFoldParent, METH_VARARGS | METH_KEYWORDS },
8338 { "wxStyledTextCtrl_GetLastChild", (PyCFunction) _wrap_wxStyledTextCtrl_GetLastChild, METH_VARARGS | METH_KEYWORDS },
8339 { "wxStyledTextCtrl_GetFoldLevel", (PyCFunction) _wrap_wxStyledTextCtrl_GetFoldLevel, METH_VARARGS | METH_KEYWORDS },
8340 { "wxStyledTextCtrl_SetFoldLevel", (PyCFunction) _wrap_wxStyledTextCtrl_SetFoldLevel, METH_VARARGS | METH_KEYWORDS },
8341 { "wxStyledTextCtrl_DocLineFromVisible", (PyCFunction) _wrap_wxStyledTextCtrl_DocLineFromVisible, METH_VARARGS | METH_KEYWORDS },
8342 { "wxStyledTextCtrl_VisibleFromDocLine", (PyCFunction) _wrap_wxStyledTextCtrl_VisibleFromDocLine, METH_VARARGS | METH_KEYWORDS },
f6bcfd97
BP
8343 { "wxStyledTextCtrl_CallTipSetBackground", (PyCFunction) _wrap_wxStyledTextCtrl_CallTipSetBackground, METH_VARARGS | METH_KEYWORDS },
8344 { "wxStyledTextCtrl_CallTipSetHighlight", (PyCFunction) _wrap_wxStyledTextCtrl_CallTipSetHighlight, METH_VARARGS | METH_KEYWORDS },
8345 { "wxStyledTextCtrl_CallTipPosAtStart", (PyCFunction) _wrap_wxStyledTextCtrl_CallTipPosAtStart, METH_VARARGS | METH_KEYWORDS },
8346 { "wxStyledTextCtrl_CallTipActive", (PyCFunction) _wrap_wxStyledTextCtrl_CallTipActive, METH_VARARGS | METH_KEYWORDS },
8347 { "wxStyledTextCtrl_CallTipCancel", (PyCFunction) _wrap_wxStyledTextCtrl_CallTipCancel, METH_VARARGS | METH_KEYWORDS },
8348 { "wxStyledTextCtrl_CallTipShow", (PyCFunction) _wrap_wxStyledTextCtrl_CallTipShow, METH_VARARGS | METH_KEYWORDS },
fe47ec10
RD
8349 { "wxStyledTextCtrl_GetOvertype", (PyCFunction) _wrap_wxStyledTextCtrl_GetOvertype, METH_VARARGS | METH_KEYWORDS },
8350 { "wxStyledTextCtrl_SetOvertype", (PyCFunction) _wrap_wxStyledTextCtrl_SetOvertype, METH_VARARGS | METH_KEYWORDS },
8351 { "wxStyledTextCtrl_GetTextLength", (PyCFunction) _wrap_wxStyledTextCtrl_GetTextLength, METH_VARARGS | METH_KEYWORDS },
8352 { "wxStyledTextCtrl_GetText", (PyCFunction) _wrap_wxStyledTextCtrl_GetText, METH_VARARGS | METH_KEYWORDS },
8353 { "wxStyledTextCtrl_SetText", (PyCFunction) _wrap_wxStyledTextCtrl_SetText, METH_VARARGS | METH_KEYWORDS },
8354 { "wxStyledTextCtrl_Clear", (PyCFunction) _wrap_wxStyledTextCtrl_Clear, METH_VARARGS | METH_KEYWORDS },
8355 { "wxStyledTextCtrl_Paste", (PyCFunction) _wrap_wxStyledTextCtrl_Paste, METH_VARARGS | METH_KEYWORDS },
8356 { "wxStyledTextCtrl_Copy", (PyCFunction) _wrap_wxStyledTextCtrl_Copy, METH_VARARGS | METH_KEYWORDS },
8357 { "wxStyledTextCtrl_Cut", (PyCFunction) _wrap_wxStyledTextCtrl_Cut, METH_VARARGS | METH_KEYWORDS },
8358 { "wxStyledTextCtrl_Undo", (PyCFunction) _wrap_wxStyledTextCtrl_Undo, METH_VARARGS | METH_KEYWORDS },
8359 { "wxStyledTextCtrl_EmptyUndoBuffer", (PyCFunction) _wrap_wxStyledTextCtrl_EmptyUndoBuffer, METH_VARARGS | METH_KEYWORDS },
8360 { "wxStyledTextCtrl_CanUndo", (PyCFunction) _wrap_wxStyledTextCtrl_CanUndo, METH_VARARGS | METH_KEYWORDS },
8361 { "wxStyledTextCtrl_CanPaste", (PyCFunction) _wrap_wxStyledTextCtrl_CanPaste, METH_VARARGS | METH_KEYWORDS },
8362 { "wxStyledTextCtrl_SetReadOnly", (PyCFunction) _wrap_wxStyledTextCtrl_SetReadOnly, METH_VARARGS | METH_KEYWORDS },
8363 { "wxStyledTextCtrl_ReplaceSelection", (PyCFunction) _wrap_wxStyledTextCtrl_ReplaceSelection, METH_VARARGS | METH_KEYWORDS },
8364 { "wxStyledTextCtrl_EnsureCaretVisible", (PyCFunction) _wrap_wxStyledTextCtrl_EnsureCaretVisible, METH_VARARGS | METH_KEYWORDS },
8365 { "wxStyledTextCtrl_LineScroll", (PyCFunction) _wrap_wxStyledTextCtrl_LineScroll, METH_VARARGS | METH_KEYWORDS },
8366 { "wxStyledTextCtrl_PositionFromLine", (PyCFunction) _wrap_wxStyledTextCtrl_PositionFromLine, METH_VARARGS | METH_KEYWORDS },
8367 { "wxStyledTextCtrl_LineFromPosition", (PyCFunction) _wrap_wxStyledTextCtrl_LineFromPosition, METH_VARARGS | METH_KEYWORDS },
8368 { "wxStyledTextCtrl_HideSelection", (PyCFunction) _wrap_wxStyledTextCtrl_HideSelection, METH_VARARGS | METH_KEYWORDS },
8369 { "wxStyledTextCtrl_GetTextRange", (PyCFunction) _wrap_wxStyledTextCtrl_GetTextRange, METH_VARARGS | METH_KEYWORDS },
8370 { "wxStyledTextCtrl_GetSelectedText", (PyCFunction) _wrap_wxStyledTextCtrl_GetSelectedText, METH_VARARGS | METH_KEYWORDS },
8371 { "wxStyledTextCtrl_SetSelection", (PyCFunction) _wrap_wxStyledTextCtrl_SetSelection, METH_VARARGS | METH_KEYWORDS },
8372 { "wxStyledTextCtrl_GetModify", (PyCFunction) _wrap_wxStyledTextCtrl_GetModify, METH_VARARGS | METH_KEYWORDS },
8373 { "wxStyledTextCtrl_GetMarginRight", (PyCFunction) _wrap_wxStyledTextCtrl_GetMarginRight, METH_VARARGS | METH_KEYWORDS },
8374 { "wxStyledTextCtrl_SetMarginRight", (PyCFunction) _wrap_wxStyledTextCtrl_SetMarginRight, METH_VARARGS | METH_KEYWORDS },
8375 { "wxStyledTextCtrl_GetMarginLeft", (PyCFunction) _wrap_wxStyledTextCtrl_GetMarginLeft, METH_VARARGS | METH_KEYWORDS },
8376 { "wxStyledTextCtrl_SetMarginLeft", (PyCFunction) _wrap_wxStyledTextCtrl_SetMarginLeft, METH_VARARGS | METH_KEYWORDS },
8377 { "wxStyledTextCtrl_GetLineCount", (PyCFunction) _wrap_wxStyledTextCtrl_GetLineCount, METH_VARARGS | METH_KEYWORDS },
8378 { "wxStyledTextCtrl_GetLine", (PyCFunction) _wrap_wxStyledTextCtrl_GetLine, METH_VARARGS | METH_KEYWORDS },
8379 { "wxStyledTextCtrl_GetFirstVisibleLine", (PyCFunction) _wrap_wxStyledTextCtrl_GetFirstVisibleLine, METH_VARARGS | METH_KEYWORDS },
8380 { "wxStyledTextCtrl_FormatRange", (PyCFunction) _wrap_wxStyledTextCtrl_FormatRange, METH_VARARGS | METH_KEYWORDS },
8381 { "wxStyledTextCtrl_FindText", (PyCFunction) _wrap_wxStyledTextCtrl_FindText, METH_VARARGS | METH_KEYWORDS },
8382 { "wxStyledTextCtrl_GetPrintColourMode", (PyCFunction) _wrap_wxStyledTextCtrl_GetPrintColourMode, METH_VARARGS | METH_KEYWORDS },
8383 { "wxStyledTextCtrl_SetPrintColourMode", (PyCFunction) _wrap_wxStyledTextCtrl_SetPrintColourMode, METH_VARARGS | METH_KEYWORDS },
8384 { "wxStyledTextCtrl_GetPrintMagnification", (PyCFunction) _wrap_wxStyledTextCtrl_GetPrintMagnification, METH_VARARGS | METH_KEYWORDS },
8385 { "wxStyledTextCtrl_SetPrintMagnification", (PyCFunction) _wrap_wxStyledTextCtrl_SetPrintMagnification, METH_VARARGS | METH_KEYWORDS },
8386 { "wxStyledTextCtrl_GetSelectionEnd", (PyCFunction) _wrap_wxStyledTextCtrl_GetSelectionEnd, METH_VARARGS | METH_KEYWORDS },
8387 { "wxStyledTextCtrl_SetSelectionEnd", (PyCFunction) _wrap_wxStyledTextCtrl_SetSelectionEnd, METH_VARARGS | METH_KEYWORDS },
8388 { "wxStyledTextCtrl_GetSelectionStart", (PyCFunction) _wrap_wxStyledTextCtrl_GetSelectionStart, METH_VARARGS | METH_KEYWORDS },
8389 { "wxStyledTextCtrl_SetSelectionStart", (PyCFunction) _wrap_wxStyledTextCtrl_SetSelectionStart, METH_VARARGS | METH_KEYWORDS },
8390 { "wxStyledTextCtrl_SetCurrentPos", (PyCFunction) _wrap_wxStyledTextCtrl_SetCurrentPos, METH_VARARGS | METH_KEYWORDS },
8391 { "wxStyledTextCtrl_GetReadOnly", (PyCFunction) _wrap_wxStyledTextCtrl_GetReadOnly, METH_VARARGS | METH_KEYWORDS },
8392 { "wxStyledTextCtrl_GetCaretForeground", (PyCFunction) _wrap_wxStyledTextCtrl_GetCaretForeground, METH_VARARGS | METH_KEYWORDS },
8393 { "wxStyledTextCtrl_GetCodePage", (PyCFunction) _wrap_wxStyledTextCtrl_GetCodePage, METH_VARARGS | METH_KEYWORDS },
8394 { "wxStyledTextCtrl_GetLineEndPosition", (PyCFunction) _wrap_wxStyledTextCtrl_GetLineEndPosition, METH_VARARGS | METH_KEYWORDS },
8395 { "wxStyledTextCtrl_GetHighlightGuide", (PyCFunction) _wrap_wxStyledTextCtrl_GetHighlightGuide, METH_VARARGS | METH_KEYWORDS },
8396 { "wxStyledTextCtrl_SetHighlightGuide", (PyCFunction) _wrap_wxStyledTextCtrl_SetHighlightGuide, METH_VARARGS | METH_KEYWORDS },
8397 { "wxStyledTextCtrl_GetIndentationGuides", (PyCFunction) _wrap_wxStyledTextCtrl_GetIndentationGuides, METH_VARARGS | METH_KEYWORDS },
8398 { "wxStyledTextCtrl_SetIndentationGuides", (PyCFunction) _wrap_wxStyledTextCtrl_SetIndentationGuides, METH_VARARGS | METH_KEYWORDS },
8399 { "wxStyledTextCtrl_GetUseHorizontalScrollBar", (PyCFunction) _wrap_wxStyledTextCtrl_GetUseHorizontalScrollBar, METH_VARARGS | METH_KEYWORDS },
8400 { "wxStyledTextCtrl_SetUseHorizontalScrollBar", (PyCFunction) _wrap_wxStyledTextCtrl_SetUseHorizontalScrollBar, METH_VARARGS | METH_KEYWORDS },
8401 { "wxStyledTextCtrl_GetColumn", (PyCFunction) _wrap_wxStyledTextCtrl_GetColumn, METH_VARARGS | METH_KEYWORDS },
8402 { "wxStyledTextCtrl_GetLineIndentPosition", (PyCFunction) _wrap_wxStyledTextCtrl_GetLineIndentPosition, METH_VARARGS | METH_KEYWORDS },
8403 { "wxStyledTextCtrl_GetLineIndentation", (PyCFunction) _wrap_wxStyledTextCtrl_GetLineIndentation, METH_VARARGS | METH_KEYWORDS },
8404 { "wxStyledTextCtrl_SetLineIndentation", (PyCFunction) _wrap_wxStyledTextCtrl_SetLineIndentation, METH_VARARGS | METH_KEYWORDS },
8405 { "wxStyledTextCtrl_GetUseTabs", (PyCFunction) _wrap_wxStyledTextCtrl_GetUseTabs, METH_VARARGS | METH_KEYWORDS },
8406 { "wxStyledTextCtrl_SetUseTabs", (PyCFunction) _wrap_wxStyledTextCtrl_SetUseTabs, METH_VARARGS | METH_KEYWORDS },
8407 { "wxStyledTextCtrl_GetIndent", (PyCFunction) _wrap_wxStyledTextCtrl_GetIndent, METH_VARARGS | METH_KEYWORDS },
8408 { "wxStyledTextCtrl_SetIndent", (PyCFunction) _wrap_wxStyledTextCtrl_SetIndent, METH_VARARGS | METH_KEYWORDS },
8409 { "wxStyledTextCtrl_AutoCompGetIgnoreCase", (PyCFunction) _wrap_wxStyledTextCtrl_AutoCompGetIgnoreCase, METH_VARARGS | METH_KEYWORDS },
8410 { "wxStyledTextCtrl_AutoCompSetIgnoreCase", (PyCFunction) _wrap_wxStyledTextCtrl_AutoCompSetIgnoreCase, METH_VARARGS | METH_KEYWORDS },
8411 { "wxStyledTextCtrl_AutoCompGetChooseSingle", (PyCFunction) _wrap_wxStyledTextCtrl_AutoCompGetChooseSingle, METH_VARARGS | METH_KEYWORDS },
8412 { "wxStyledTextCtrl_AutoCompSetChooseSingle", (PyCFunction) _wrap_wxStyledTextCtrl_AutoCompSetChooseSingle, METH_VARARGS | METH_KEYWORDS },
8413 { "wxStyledTextCtrl_AutoCompSetFillUps", (PyCFunction) _wrap_wxStyledTextCtrl_AutoCompSetFillUps, METH_VARARGS | METH_KEYWORDS },
8414 { "wxStyledTextCtrl_AutoCompGetCancelAtStart", (PyCFunction) _wrap_wxStyledTextCtrl_AutoCompGetCancelAtStart, METH_VARARGS | METH_KEYWORDS },
8415 { "wxStyledTextCtrl_AutoCompSetCancelAtStart", (PyCFunction) _wrap_wxStyledTextCtrl_AutoCompSetCancelAtStart, METH_VARARGS | METH_KEYWORDS },
f6bcfd97
BP
8416 { "wxStyledTextCtrl_AutoCompSelect", (PyCFunction) _wrap_wxStyledTextCtrl_AutoCompSelect, METH_VARARGS | METH_KEYWORDS },
8417 { "wxStyledTextCtrl_AutoCompGetSeparator", (PyCFunction) _wrap_wxStyledTextCtrl_AutoCompGetSeparator, METH_VARARGS | METH_KEYWORDS },
8418 { "wxStyledTextCtrl_AutoCompSetSeparator", (PyCFunction) _wrap_wxStyledTextCtrl_AutoCompSetSeparator, METH_VARARGS | METH_KEYWORDS },
fe47ec10 8419 { "wxStyledTextCtrl_AutoCompStops", (PyCFunction) _wrap_wxStyledTextCtrl_AutoCompStops, METH_VARARGS | METH_KEYWORDS },
f6bcfd97 8420 { "wxStyledTextCtrl_AutoCompComplete", (PyCFunction) _wrap_wxStyledTextCtrl_AutoCompComplete, METH_VARARGS | METH_KEYWORDS },
fe47ec10 8421 { "wxStyledTextCtrl_AutoCompPosStart", (PyCFunction) _wrap_wxStyledTextCtrl_AutoCompPosStart, METH_VARARGS | METH_KEYWORDS },
f6bcfd97
BP
8422 { "wxStyledTextCtrl_AutoCompActive", (PyCFunction) _wrap_wxStyledTextCtrl_AutoCompActive, METH_VARARGS | METH_KEYWORDS },
8423 { "wxStyledTextCtrl_AutoCompCancel", (PyCFunction) _wrap_wxStyledTextCtrl_AutoCompCancel, METH_VARARGS | METH_KEYWORDS },
8424 { "wxStyledTextCtrl_AutoCompShow", (PyCFunction) _wrap_wxStyledTextCtrl_AutoCompShow, METH_VARARGS | METH_KEYWORDS },
fe47ec10
RD
8425 { "wxStyledTextCtrl_GetMaxLineState", (PyCFunction) _wrap_wxStyledTextCtrl_GetMaxLineState, METH_VARARGS | METH_KEYWORDS },
8426 { "wxStyledTextCtrl_GetLineState", (PyCFunction) _wrap_wxStyledTextCtrl_GetLineState, METH_VARARGS | METH_KEYWORDS },
8427 { "wxStyledTextCtrl_SetLineState", (PyCFunction) _wrap_wxStyledTextCtrl_SetLineState, METH_VARARGS | METH_KEYWORDS },
8428 { "wxStyledTextCtrl_GetStyleBits", (PyCFunction) _wrap_wxStyledTextCtrl_GetStyleBits, METH_VARARGS | METH_KEYWORDS },
8429 { "wxStyledTextCtrl_SetStyleBits", (PyCFunction) _wrap_wxStyledTextCtrl_SetStyleBits, METH_VARARGS | METH_KEYWORDS },
8430 { "wxStyledTextCtrl_IndicatorGetForeground", (PyCFunction) _wrap_wxStyledTextCtrl_IndicatorGetForeground, METH_VARARGS | METH_KEYWORDS },
8431 { "wxStyledTextCtrl_IndicatorSetForeground", (PyCFunction) _wrap_wxStyledTextCtrl_IndicatorSetForeground, METH_VARARGS | METH_KEYWORDS },
f6bcfd97
BP
8432 { "wxStyledTextCtrl_IndicatorGetStyle", (PyCFunction) _wrap_wxStyledTextCtrl_IndicatorGetStyle, METH_VARARGS | METH_KEYWORDS },
8433 { "wxStyledTextCtrl_IndicatorSetStyle", (PyCFunction) _wrap_wxStyledTextCtrl_IndicatorSetStyle, METH_VARARGS | METH_KEYWORDS },
fe47ec10
RD
8434 { "wxStyledTextCtrl_EndUndoAction", (PyCFunction) _wrap_wxStyledTextCtrl_EndUndoAction, METH_VARARGS | METH_KEYWORDS },
8435 { "wxStyledTextCtrl_BeginUndoAction", (PyCFunction) _wrap_wxStyledTextCtrl_BeginUndoAction, METH_VARARGS | METH_KEYWORDS },
f6bcfd97 8436 { "wxStyledTextCtrl_SetWordChars", (PyCFunction) _wrap_wxStyledTextCtrl_SetWordChars, METH_VARARGS | METH_KEYWORDS },
f6bcfd97
BP
8437 { "wxStyledTextCtrl_SetCaretPeriod", (PyCFunction) _wrap_wxStyledTextCtrl_SetCaretPeriod, METH_VARARGS | METH_KEYWORDS },
8438 { "wxStyledTextCtrl_GetCaretPeriod", (PyCFunction) _wrap_wxStyledTextCtrl_GetCaretPeriod, METH_VARARGS | METH_KEYWORDS },
fe47ec10
RD
8439 { "wxStyledTextCtrl_StyleSetVisible", (PyCFunction) _wrap_wxStyledTextCtrl_StyleSetVisible, METH_VARARGS | METH_KEYWORDS },
8440 { "wxStyledTextCtrl_SetStyleBytes", (PyCFunction) _wrap_wxStyledTextCtrl_SetStyleBytes, METH_VARARGS | METH_KEYWORDS },
8441 { "wxStyledTextCtrl_CmdKeyClearAll", (PyCFunction) _wrap_wxStyledTextCtrl_CmdKeyClearAll, METH_VARARGS | METH_KEYWORDS },
8442 { "wxStyledTextCtrl_CmdKeyClear", (PyCFunction) _wrap_wxStyledTextCtrl_CmdKeyClear, METH_VARARGS | METH_KEYWORDS },
8443 { "wxStyledTextCtrl_CmdKeyAssign", (PyCFunction) _wrap_wxStyledTextCtrl_CmdKeyAssign, METH_VARARGS | METH_KEYWORDS },
f6bcfd97 8444 { "wxStyledTextCtrl_SetCaretForeground", (PyCFunction) _wrap_wxStyledTextCtrl_SetCaretForeground, METH_VARARGS | METH_KEYWORDS },
fe47ec10
RD
8445 { "wxStyledTextCtrl_SetSelBackground", (PyCFunction) _wrap_wxStyledTextCtrl_SetSelBackground, METH_VARARGS | METH_KEYWORDS },
8446 { "wxStyledTextCtrl_SetSelForeground", (PyCFunction) _wrap_wxStyledTextCtrl_SetSelForeground, METH_VARARGS | METH_KEYWORDS },
f6bcfd97 8447 { "wxStyledTextCtrl_StyleSetUnderline", (PyCFunction) _wrap_wxStyledTextCtrl_StyleSetUnderline, METH_VARARGS | METH_KEYWORDS },
fe47ec10 8448 { "wxStyledTextCtrl_StyleResetDefault", (PyCFunction) _wrap_wxStyledTextCtrl_StyleResetDefault, METH_VARARGS | METH_KEYWORDS },
f6bcfd97 8449 { "wxStyledTextCtrl_StyleSetEOLFilled", (PyCFunction) _wrap_wxStyledTextCtrl_StyleSetEOLFilled, METH_VARARGS | METH_KEYWORDS },
f6bcfd97 8450 { "wxStyledTextCtrl_StyleSetFaceName", (PyCFunction) _wrap_wxStyledTextCtrl_StyleSetFaceName, METH_VARARGS | METH_KEYWORDS },
fe47ec10 8451 { "wxStyledTextCtrl_StyleSetSize", (PyCFunction) _wrap_wxStyledTextCtrl_StyleSetSize, METH_VARARGS | METH_KEYWORDS },
f6bcfd97
BP
8452 { "wxStyledTextCtrl_StyleSetItalic", (PyCFunction) _wrap_wxStyledTextCtrl_StyleSetItalic, METH_VARARGS | METH_KEYWORDS },
8453 { "wxStyledTextCtrl_StyleSetBold", (PyCFunction) _wrap_wxStyledTextCtrl_StyleSetBold, METH_VARARGS | METH_KEYWORDS },
f6bcfd97
BP
8454 { "wxStyledTextCtrl_StyleSetBackground", (PyCFunction) _wrap_wxStyledTextCtrl_StyleSetBackground, METH_VARARGS | METH_KEYWORDS },
8455 { "wxStyledTextCtrl_StyleSetForeground", (PyCFunction) _wrap_wxStyledTextCtrl_StyleSetForeground, METH_VARARGS | METH_KEYWORDS },
f6bcfd97 8456 { "wxStyledTextCtrl_StyleClearAll", (PyCFunction) _wrap_wxStyledTextCtrl_StyleClearAll, METH_VARARGS | METH_KEYWORDS },
fe47ec10
RD
8457 { "wxStyledTextCtrl_GetMarginSensitive", (PyCFunction) _wrap_wxStyledTextCtrl_GetMarginSensitive, METH_VARARGS | METH_KEYWORDS },
8458 { "wxStyledTextCtrl_SetMarginSensitive", (PyCFunction) _wrap_wxStyledTextCtrl_SetMarginSensitive, METH_VARARGS | METH_KEYWORDS },
8459 { "wxStyledTextCtrl_GetMarginMask", (PyCFunction) _wrap_wxStyledTextCtrl_GetMarginMask, METH_VARARGS | METH_KEYWORDS },
8460 { "wxStyledTextCtrl_SetMarginMask", (PyCFunction) _wrap_wxStyledTextCtrl_SetMarginMask, METH_VARARGS | METH_KEYWORDS },
8461 { "wxStyledTextCtrl_GetMarginWidth", (PyCFunction) _wrap_wxStyledTextCtrl_GetMarginWidth, METH_VARARGS | METH_KEYWORDS },
8462 { "wxStyledTextCtrl_SetMarginWidth", (PyCFunction) _wrap_wxStyledTextCtrl_SetMarginWidth, METH_VARARGS | METH_KEYWORDS },
8463 { "wxStyledTextCtrl_GetMarginType", (PyCFunction) _wrap_wxStyledTextCtrl_GetMarginType, METH_VARARGS | METH_KEYWORDS },
8464 { "wxStyledTextCtrl_SetMarginType", (PyCFunction) _wrap_wxStyledTextCtrl_SetMarginType, METH_VARARGS | METH_KEYWORDS },
8465 { "wxStyledTextCtrl_MarkerPrevious", (PyCFunction) _wrap_wxStyledTextCtrl_MarkerPrevious, METH_VARARGS | METH_KEYWORDS },
8466 { "wxStyledTextCtrl_MarkerNext", (PyCFunction) _wrap_wxStyledTextCtrl_MarkerNext, METH_VARARGS | METH_KEYWORDS },
8467 { "wxStyledTextCtrl_MarkerGet", (PyCFunction) _wrap_wxStyledTextCtrl_MarkerGet, METH_VARARGS | METH_KEYWORDS },
8468 { "wxStyledTextCtrl_MarkerDeleteAll", (PyCFunction) _wrap_wxStyledTextCtrl_MarkerDeleteAll, METH_VARARGS | METH_KEYWORDS },
8469 { "wxStyledTextCtrl_MarkerDelete", (PyCFunction) _wrap_wxStyledTextCtrl_MarkerDelete, METH_VARARGS | METH_KEYWORDS },
8470 { "wxStyledTextCtrl_MarkerAdd", (PyCFunction) _wrap_wxStyledTextCtrl_MarkerAdd, METH_VARARGS | METH_KEYWORDS },
8471 { "wxStyledTextCtrl_MarkerSetBackground", (PyCFunction) _wrap_wxStyledTextCtrl_MarkerSetBackground, METH_VARARGS | METH_KEYWORDS },
8472 { "wxStyledTextCtrl_MarkerSetForeground", (PyCFunction) _wrap_wxStyledTextCtrl_MarkerSetForeground, METH_VARARGS | METH_KEYWORDS },
8473 { "wxStyledTextCtrl_MarkerDefine", (PyCFunction) _wrap_wxStyledTextCtrl_MarkerDefine, METH_VARARGS | METH_KEYWORDS },
8474 { "wxStyledTextCtrl_SetCodePage", (PyCFunction) _wrap_wxStyledTextCtrl_SetCodePage, METH_VARARGS | METH_KEYWORDS },
8475 { "wxStyledTextCtrl_GetTabWidth", (PyCFunction) _wrap_wxStyledTextCtrl_GetTabWidth, METH_VARARGS | METH_KEYWORDS },
8476 { "wxStyledTextCtrl_SetTabWidth", (PyCFunction) _wrap_wxStyledTextCtrl_SetTabWidth, METH_VARARGS | METH_KEYWORDS },
8477 { "wxStyledTextCtrl_SetBufferedDraw", (PyCFunction) _wrap_wxStyledTextCtrl_SetBufferedDraw, METH_VARARGS | METH_KEYWORDS },
8478 { "wxStyledTextCtrl_GetBufferedDraw", (PyCFunction) _wrap_wxStyledTextCtrl_GetBufferedDraw, METH_VARARGS | METH_KEYWORDS },
8479 { "wxStyledTextCtrl_SetStyling", (PyCFunction) _wrap_wxStyledTextCtrl_SetStyling, METH_VARARGS | METH_KEYWORDS },
f6bcfd97 8480 { "wxStyledTextCtrl_StartStyling", (PyCFunction) _wrap_wxStyledTextCtrl_StartStyling, METH_VARARGS | METH_KEYWORDS },
f6bcfd97
BP
8481 { "wxStyledTextCtrl_SetEOLMode", (PyCFunction) _wrap_wxStyledTextCtrl_SetEOLMode, METH_VARARGS | METH_KEYWORDS },
8482 { "wxStyledTextCtrl_GetEOLMode", (PyCFunction) _wrap_wxStyledTextCtrl_GetEOLMode, METH_VARARGS | METH_KEYWORDS },
fe47ec10
RD
8483 { "wxStyledTextCtrl_ConvertEOLs", (PyCFunction) _wrap_wxStyledTextCtrl_ConvertEOLs, METH_VARARGS | METH_KEYWORDS },
8484 { "wxStyledTextCtrl_GetEndStyled", (PyCFunction) _wrap_wxStyledTextCtrl_GetEndStyled, METH_VARARGS | METH_KEYWORDS },
8485 { "wxStyledTextCtrl_GetCurLine", (PyCFunction) _wrap_wxStyledTextCtrl_GetCurLine, METH_VARARGS | METH_KEYWORDS },
f6bcfd97 8486 { "wxStyledTextCtrl_SetAnchor", (PyCFunction) _wrap_wxStyledTextCtrl_SetAnchor, METH_VARARGS | METH_KEYWORDS },
fe47ec10
RD
8487 { "wxStyledTextCtrl_GotoPos", (PyCFunction) _wrap_wxStyledTextCtrl_GotoPos, METH_VARARGS | METH_KEYWORDS },
8488 { "wxStyledTextCtrl_GotoLine", (PyCFunction) _wrap_wxStyledTextCtrl_GotoLine, METH_VARARGS | METH_KEYWORDS },
f6bcfd97 8489 { "wxStyledTextCtrl_PositionFromPoint", (PyCFunction) _wrap_wxStyledTextCtrl_PositionFromPoint, METH_VARARGS | METH_KEYWORDS },
fe47ec10
RD
8490 { "wxStyledTextCtrl_SetViewWhiteSpace", (PyCFunction) _wrap_wxStyledTextCtrl_SetViewWhiteSpace, METH_VARARGS | METH_KEYWORDS },
8491 { "wxStyledTextCtrl_GetViewWhiteSpace", (PyCFunction) _wrap_wxStyledTextCtrl_GetViewWhiteSpace, METH_VARARGS | METH_KEYWORDS },
f6bcfd97 8492 { "wxStyledTextCtrl_GetUndoCollection", (PyCFunction) _wrap_wxStyledTextCtrl_GetUndoCollection, METH_VARARGS | METH_KEYWORDS },
fe47ec10
RD
8493 { "wxStyledTextCtrl_MarkerDeleteHandle", (PyCFunction) _wrap_wxStyledTextCtrl_MarkerDeleteHandle, METH_VARARGS | METH_KEYWORDS },
8494 { "wxStyledTextCtrl_MarkerLineFromHandle", (PyCFunction) _wrap_wxStyledTextCtrl_MarkerLineFromHandle, METH_VARARGS | METH_KEYWORDS },
f6bcfd97 8495 { "wxStyledTextCtrl_CanRedo", (PyCFunction) _wrap_wxStyledTextCtrl_CanRedo, METH_VARARGS | METH_KEYWORDS },
fe47ec10
RD
8496 { "wxStyledTextCtrl_GetStyledText", (PyCFunction) _wrap_wxStyledTextCtrl_GetStyledText, METH_VARARGS | METH_KEYWORDS },
8497 { "wxStyledTextCtrl_SetSavePoint", (PyCFunction) _wrap_wxStyledTextCtrl_SetSavePoint, METH_VARARGS | METH_KEYWORDS },
8498 { "wxStyledTextCtrl_SelectAll", (PyCFunction) _wrap_wxStyledTextCtrl_SelectAll, METH_VARARGS | METH_KEYWORDS },
8499 { "wxStyledTextCtrl_SetUndoCollection", (PyCFunction) _wrap_wxStyledTextCtrl_SetUndoCollection, METH_VARARGS | METH_KEYWORDS },
f6bcfd97 8500 { "wxStyledTextCtrl_Redo", (PyCFunction) _wrap_wxStyledTextCtrl_Redo, METH_VARARGS | METH_KEYWORDS },
f6bcfd97 8501 { "wxStyledTextCtrl_GetStyleAt", (PyCFunction) _wrap_wxStyledTextCtrl_GetStyleAt, METH_VARARGS | METH_KEYWORDS },
fe47ec10
RD
8502 { "wxStyledTextCtrl_GetAnchor", (PyCFunction) _wrap_wxStyledTextCtrl_GetAnchor, METH_VARARGS | METH_KEYWORDS },
8503 { "wxStyledTextCtrl_GetCurrentPos", (PyCFunction) _wrap_wxStyledTextCtrl_GetCurrentPos, METH_VARARGS | METH_KEYWORDS },
f6bcfd97 8504 { "wxStyledTextCtrl_GetCharAt", (PyCFunction) _wrap_wxStyledTextCtrl_GetCharAt, METH_VARARGS | METH_KEYWORDS },
fe47ec10
RD
8505 { "wxStyledTextCtrl_GetLength", (PyCFunction) _wrap_wxStyledTextCtrl_GetLength, METH_VARARGS | METH_KEYWORDS },
8506 { "wxStyledTextCtrl_ClearDocumentStyle", (PyCFunction) _wrap_wxStyledTextCtrl_ClearDocumentStyle, METH_VARARGS | METH_KEYWORDS },
f6bcfd97
BP
8507 { "wxStyledTextCtrl_ClearAll", (PyCFunction) _wrap_wxStyledTextCtrl_ClearAll, METH_VARARGS | METH_KEYWORDS },
8508 { "wxStyledTextCtrl_InsertText", (PyCFunction) _wrap_wxStyledTextCtrl_InsertText, METH_VARARGS | METH_KEYWORDS },
8509 { "wxStyledTextCtrl_AddStyledText", (PyCFunction) _wrap_wxStyledTextCtrl_AddStyledText, METH_VARARGS | METH_KEYWORDS },
8510 { "wxStyledTextCtrl_AddText", (PyCFunction) _wrap_wxStyledTextCtrl_AddText, METH_VARARGS | METH_KEYWORDS },
f6bcfd97
BP
8511 { "new_wxStyledTextCtrl", (PyCFunction) _wrap_new_wxStyledTextCtrl, METH_VARARGS | METH_KEYWORDS },
8512 { NULL, NULL }
8513};
8514#ifdef __cplusplus
8515}
8516#endif
8517/*
8518 * This table is used by the pointer type-checker
8519 */
8520static struct { char *n1; char *n2; void *(*pcnv)(void *); } _swig_mapping[] = {
8521 { "_wxAcceleratorTable","_class_wxAcceleratorTable",0},
8522 { "_wxEvent","_class_wxStyledTextEvent",SwigwxStyledTextEventTowxEvent},
8523 { "_wxEvent","_wxStyledTextEvent",SwigwxStyledTextEventTowxEvent},
8524 { "_wxEvent","_class_wxEvent",0},
8525 { "_class_wxActivateEvent","_wxActivateEvent",0},
8526 { "_signed_long","_long",0},
8527 { "_wxMenuEvent","_class_wxMenuEvent",0},
ea7c631c 8528 { "_class_wxProcessEvent","_wxProcessEvent",0},
f6bcfd97 8529 { "_class_wxJPEGHandler","_wxJPEGHandler",0},
ea7c631c 8530 { "_class_wxFSFile","_wxFSFile",0},
f6bcfd97
BP
8531 { "_wxPyBitmapDataObject","_class_wxPyBitmapDataObject",0},
8532 { "_wxBitmapDataObject","_class_wxBitmapDataObject",0},
8533 { "_class_wxPyCommandEvent","_wxPyCommandEvent",0},
8534 { "_wxBMPHandler","_class_wxBMPHandler",0},
8535 { "_wxImage","_class_wxImage",0},
8536 { "_wxFlexGridSizer","_class_wxFlexGridSizer",0},
ea7c631c
RD
8537 { "_wxWindowDisabler","_class_wxWindowDisabler",0},
8538 { "_class_wxDateTime","_wxDateTime",0},
f6bcfd97
BP
8539 { "_wxPrintQuality","_wxCoord",0},
8540 { "_wxPrintQuality","_int",0},
8541 { "_wxPrintQuality","_signed_int",0},
8542 { "_wxPrintQuality","_unsigned_int",0},
8543 { "_wxPrintQuality","_wxWindowID",0},
8544 { "_wxPrintQuality","_uint",0},
8545 { "_wxPrintQuality","_EBool",0},
8546 { "_wxPrintQuality","_size_t",0},
fe47ec10 8547 { "_wxPrintQuality","_time_t",0},
f6bcfd97
BP
8548 { "_class_wxCustomDataObject","_wxCustomDataObject",0},
8549 { "_wxSpinCtrl","_class_wxSpinCtrl",0},
8550 { "_wxFontData","_class_wxFontData",0},
8551 { "_class_wxRegionIterator","_wxRegionIterator",0},
8552 { "_class_wxPyTextDropTarget","_wxPyTextDropTarget",0},
8553 { "_class_wxMenuBar","_wxMenuBar",0},
8554 { "_class_wxPyTreeItemData","_wxPyTreeItemData",0},
8555 { "_class_wxStaticBoxSizer","_wxStaticBoxSizer",0},
8556 { "_class_wxEvtHandler","_class_wxStyledTextCtrl",SwigwxStyledTextCtrlTowxEvtHandler},
8557 { "_class_wxEvtHandler","_wxStyledTextCtrl",SwigwxStyledTextCtrlTowxEvtHandler},
8558 { "_class_wxEvtHandler","_wxEvtHandler",0},
8559 { "_wxPaintEvent","_class_wxPaintEvent",0},
8560 { "_wxGIFHandler","_class_wxGIFHandler",0},
8561 { "_wxPySizer","_class_wxPySizer",0},
ea7c631c 8562 { "_wxInternetFSHandler","_class_wxInternetFSHandler",0},
f6bcfd97
BP
8563 { "_wxIndividualLayoutConstraint","_class_wxIndividualLayoutConstraint",0},
8564 { "_wxCursor","_class_wxCursor",0},
8565 { "_wxNotifyEvent","_class_wxNotifyEvent",0},
ea7c631c 8566 { "_wxPyProcess","_class_wxPyProcess",0},
f6bcfd97
BP
8567 { "_wxPyTreeCtrl","_class_wxPyTreeCtrl",0},
8568 { "_wxImageHandler","_class_wxImageHandler",0},
8569 { "_wxLog","_class_wxLog",0},
8570 { "_class_wxToolBarBase","_wxToolBarBase",0},
8571 { "_wxMask","_class_wxMask",0},
8572 { "_wxToolTip","_class_wxToolTip",0},
8573 { "_wxPNGHandler","_class_wxPNGHandler",0},
8574 { "_class_wxStyledTextCtrl","_wxStyledTextCtrl",0},
8575 { "_class_wxColourData","_wxColourData",0},
8576 { "_class_wxPageSetupDialogData","_wxPageSetupDialogData",0},
8577 { "_wxPrinter","_class_wxPrinter",0},
8578 { "_wxPen","_class_wxPen",0},
8579 { "_wxUpdateUIEvent","_class_wxUpdateUIEvent",0},
8580 { "_class_wxNotebookSizer","_wxNotebookSizer",0},
8581 { "_byte","_unsigned_char",0},
8582 { "_wxDataObject","_class_wxDataObject",0},
8583 { "_class_wxPyFontEnumerator","_wxPyFontEnumerator",0},
8584 { "_wxStaticBox","_class_wxStaticBox",0},
8585 { "_wxPyDataObjectSimple","_class_wxPyDataObjectSimple",0},
8586 { "_wxPyDropSource","_class_wxPyDropSource",0},
8587 { "_wxChoice","_class_wxChoice",0},
8588 { "_wxSlider","_class_wxSlider",0},
8589 { "_wxNotebookEvent","_class_wxNotebookEvent",0},
8590 { "_wxPyPrintout","_class_wxPyPrintout",0},
8591 { "_long","_unsigned_long",0},
8592 { "_long","_signed_long",0},
8593 { "_wxImageList","_class_wxImageList",0},
8594 { "_wxDataObjectSimple","_class_wxDataObjectSimple",0},
8595 { "_wxDropFilesEvent","_class_wxDropFilesEvent",0},
8596 { "_wxBitmapButton","_class_wxBitmapButton",0},
8597 { "_wxSashWindow","_class_wxSashWindow",0},
8598 { "_class_wxSizer","_wxSizer",0},
8599 { "_class_wxTIFFHandler","_wxTIFFHandler",0},
8600 { "_class_wxPrintDialogData","_wxPrintDialogData",0},
8601 { "_wxGridSizer","_class_wxGridSizer",0},
8602 { "_class_wxAcceleratorTable","_wxAcceleratorTable",0},
8603 { "_class_wxClipboard","_wxClipboard",0},
8604 { "_class_wxGauge","_wxGauge",0},
8605 { "_class_wxSashEvent","_wxSashEvent",0},
8606 { "_wxDC","_class_wxDC",0},
8607 { "_wxSizerItem","_class_wxSizerItem",0},
8608 { "_class_wxBitmapDataObject","_wxBitmapDataObject",0},
8609 { "_wxListEvent","_class_wxListEvent",0},
8610 { "_class_wxSingleChoiceDialog","_wxSingleChoiceDialog",0},
8611 { "_wxProgressDialog","_class_wxProgressDialog",0},
8612 { "_class_wxBMPHandler","_wxBMPHandler",0},
8613 { "_wxPrintPreview","_class_wxPrintPreview",0},
8614 { "_class_wxFlexGridSizer","_wxFlexGridSizer",0},
8615 { "_wxSpinEvent","_class_wxSpinEvent",0},
8616 { "_wxSashLayoutWindow","_class_wxSashLayoutWindow",0},
8617 { "_size_t","_wxCoord",0},
8618 { "_size_t","_wxPrintQuality",0},
fe47ec10 8619 { "_size_t","_time_t",0},
f6bcfd97
BP
8620 { "_size_t","_unsigned_int",0},
8621 { "_size_t","_int",0},
8622 { "_size_t","_wxWindowID",0},
8623 { "_size_t","_uint",0},
8624 { "_class_wxRealPoint","_wxRealPoint",0},
8625 { "_wxNavigationKeyEvent","_class_wxNavigationKeyEvent",0},
8626 { "_wxPNMHandler","_class_wxPNMHandler",0},
8627 { "_wxWindowCreateEvent","_class_wxWindowCreateEvent",0},
8628 { "_wxLogGui","_class_wxLogGui",0},
8629 { "_class_wxMenuItem","_wxMenuItem",0},
8630 { "_class_wxPaintEvent","_wxPaintEvent",0},
8631 { "_wxSysColourChangedEvent","_class_wxSysColourChangedEvent",0},
8632 { "_class_wxStatusBar","_wxStatusBar",0},
8633 { "_class_wxGIFHandler","_wxGIFHandler",0},
8634 { "_class_wxPySizer","_wxPySizer",0},
3a70a282 8635 { "_class_wxPostScriptDC","_wxPostScriptDC",0},
f6bcfd97
BP
8636 { "_wxPanel","_class_wxPanel",0},
8637 { "_wxInitDialogEvent","_class_wxInitDialogEvent",0},
8638 { "_wxCheckBox","_class_wxCheckBox",0},
8639 { "_class_wxPyTreeCtrl","_wxPyTreeCtrl",0},
8640 { "_wxPyEvent","_class_wxPyEvent",0},
8641 { "_wxTextCtrl","_class_wxTextCtrl",0},
8642 { "_class_wxMask","_wxMask",0},
8643 { "_wxTextDataObject","_class_wxTextDataObject",0},
8644 { "_class_wxKeyEvent","_wxKeyEvent",0},
8645 { "_class_wxToolTip","_wxToolTip",0},
8646 { "_class_wxPNGHandler","_wxPNGHandler",0},
ea7c631c 8647 { "_wxFileConfig","_class_wxFileConfig",0},
f6bcfd97
BP
8648 { "_wxColour","_class_wxColour",0},
8649 { "_class_wxDialog","_wxDialog",0},
8650 { "_wxBusyCursor","_class_wxBusyCursor",0},
8651 { "_wxPageSetupDialog","_class_wxPageSetupDialog",0},
8652 { "_class_wxPrinter","_wxPrinter",0},
8653 { "_class_wxFileDataObject","_wxFileDataObject",0},
8654 { "_wxIdleEvent","_class_wxIdleEvent",0},
8655 { "_class_wxUpdateUIEvent","_wxUpdateUIEvent",0},
8656 { "_wxToolBar","_class_wxToolBar",0},
8657 { "_class_wxDataObject","_wxDataObject",0},
8658 { "_wxCaret","_class_wxCaret",0},
8659 { "_wxStaticLine","_class_wxStaticLine",0},
8660 { "_class_wxLayoutAlgorithm","_wxLayoutAlgorithm",0},
8661 { "_wxBrush","_class_wxBrush",0},
8662 { "_wxMiniFrame","_class_wxMiniFrame",0},
8663 { "_class_wxNotebookEvent","_wxNotebookEvent",0},
8664 { "_class_wxPyPrintout","_wxPyPrintout",0},
8665 { "_wxDataFormat","_class_wxDataFormat",0},
8666 { "_class_wxDataObjectSimple","_wxDataObjectSimple",0},
8667 { "_class_wxSashWindow","_wxSashWindow",0},
8668 { "_wxShowEvent","_class_wxShowEvent",0},
8669 { "_uint","_wxCoord",0},
8670 { "_uint","_wxPrintQuality",0},
fe47ec10 8671 { "_uint","_time_t",0},
f6bcfd97
BP
8672 { "_uint","_size_t",0},
8673 { "_uint","_unsigned_int",0},
8674 { "_uint","_int",0},
8675 { "_uint","_wxWindowID",0},
8676 { "_wxChar","_char",0},
8677 { "_wxPyValidator","_class_wxPyValidator",0},
8678 { "_class_wxEvent","_class_wxStyledTextEvent",SwigwxStyledTextEventTowxEvent},
8679 { "_class_wxEvent","_wxStyledTextEvent",SwigwxStyledTextEventTowxEvent},
8680 { "_class_wxEvent","_wxEvent",0},
8681 { "_wxCheckListBox","_class_wxCheckListBox",0},
8682 { "_wxSplitterEvent","_class_wxSplitterEvent",0},
8683 { "_wxRect","_class_wxRect",0},
8684 { "_wxCommandEvent","_class_wxStyledTextEvent",SwigwxStyledTextEventTowxCommandEvent},
8685 { "_wxCommandEvent","_wxStyledTextEvent",SwigwxStyledTextEventTowxCommandEvent},
8686 { "_wxCommandEvent","_class_wxCommandEvent",0},
8687 { "_wxSizeEvent","_class_wxSizeEvent",0},
8688 { "_class_wxLogWindow","_wxLogWindow",0},
8689 { "_class_wxImage","_wxImage",0},
8690 { "_wxPoint","_class_wxPoint",0},
ea7c631c 8691 { "_class_wxWindowDisabler","_wxWindowDisabler",0},
f6bcfd97
BP
8692 { "_class_wxSashLayoutWindow","_wxSashLayoutWindow",0},
8693 { "_class_wxButton","_wxButton",0},
8694 { "_wxRadioBox","_class_wxRadioBox",0},
8695 { "_class_wxSpinCtrl","_wxSpinCtrl",0},
8696 { "_class_wxFontData","_wxFontData",0},
8697 { "_class_wxPNMHandler","_wxPNMHandler",0},
8698 { "_wxBoxSizer","_class_wxBoxSizer",0},
ea7c631c 8699 { "_class_wxZipFSHandler","_wxZipFSHandler",0},
f6bcfd97
BP
8700 { "_char","_wxChar",0},
8701 { "_wxBitmap","_class_wxBitmap",0},
8702 { "_wxPrintDialog","_class_wxPrintDialog",0},
8703 { "_wxWindowDC","_class_wxWindowDC",0},
8704 { "_wxTimerEvent","_class_wxTimerEvent",0},
8705 { "_wxPyTimer","_class_wxPyTimer",0},
8706 { "_wxScrollBar","_class_wxScrollBar",0},
8707 { "_wxSpinButton","_class_wxSpinButton",0},
8708 { "_wxColourDialog","_class_wxColourDialog",0},
8709 { "_wxPrintData","_class_wxPrintData",0},
ea7c631c 8710 { "_class_wxInternetFSHandler","_wxInternetFSHandler",0},
f6bcfd97
BP
8711 { "_class_wxIndividualLayoutConstraint","_wxIndividualLayoutConstraint",0},
8712 { "_class_wxNotifyEvent","_wxNotifyEvent",0},
8713 { "_wxMessageDialog","_class_wxMessageDialog",0},
8714 { "_class_wxValidator","_wxValidator",0},
8715 { "_class_wxPyEvent","_wxPyEvent",0},
8716 { "_wxTextEntryDialog","_class_wxTextEntryDialog",0},
ea7c631c 8717 { "_wxConfig","_class_wxConfig",0},
f6bcfd97
BP
8718 { "_class_wxIconizeEvent","_wxIconizeEvent",0},
8719 { "_class_wxStaticBitmap","_wxStaticBitmap",0},
ea7c631c 8720 { "_class_wxFileConfig","_wxFileConfig",0},
f6bcfd97
BP
8721 { "_class_wxBusyCursor","_wxBusyCursor",0},
8722 { "_wxToolBarSimple","_class_wxToolBarSimple",0},
8723 { "_wxMDIChildFrame","_class_wxMDIChildFrame",0},
8724 { "_wxListItem","_class_wxListItem",0},
8725 { "_class_wxToolBar","_wxToolBar",0},
8726 { "_wxDropTarget","_class_wxDropTarget",0},
8727 { "_class_wxStaticLine","_wxStaticLine",0},
8728 { "_wxScrollEvent","_class_wxScrollEvent",0},
8729 { "_wxToolBarToolBase","_class_wxToolBarToolBase",0},
8730 { "_wxCalculateLayoutEvent","_class_wxCalculateLayoutEvent",0},
ea7c631c 8731 { "_class_wxMemoryFSHandler","_wxMemoryFSHandler",0},
f6bcfd97
BP
8732 { "_EBool","_wxCoord",0},
8733 { "_EBool","_wxPrintQuality",0},
8734 { "_EBool","_signed_int",0},
8735 { "_EBool","_int",0},
8736 { "_EBool","_wxWindowID",0},
8737 { "_class_wxRegion","_wxRegion",0},
8738 { "_class_wxDataFormat","_wxDataFormat",0},
8739 { "_class_wxDropFilesEvent","_wxDropFilesEvent",0},
8740 { "_wxWindowDestroyEvent","_class_wxWindowDestroyEvent",0},
8741 { "_class_wxPreviewFrame","_wxPreviewFrame",0},
8742 { "_wxStaticText","_class_wxStaticText",0},
8743 { "_wxFont","_class_wxFont",0},
8744 { "_class_wxPyDropTarget","_wxPyDropTarget",0},
8745 { "_wxCloseEvent","_class_wxCloseEvent",0},
8746 { "_class_wxSplitterEvent","_wxSplitterEvent",0},
ea7c631c 8747 { "_wxProcessEvent","_class_wxProcessEvent",0},
f6bcfd97 8748 { "_wxNotebook","_class_wxNotebook",0},
ea7c631c 8749 { "_wxFSFile","_class_wxFSFile",0},
f6bcfd97
BP
8750 { "_unsigned_long","_long",0},
8751 { "_class_wxRect","_wxRect",0},
8752 { "_class_wxDC","_wxDC",0},
8753 { "_wxScrollWinEvent","_class_wxScrollWinEvent",0},
8754 { "_wxGenericDragImage","_class_wxGenericDragImage",0},
8755 { "_class_wxProgressDialog","_wxProgressDialog",0},
8756 { "_wxQueryNewPaletteEvent","_class_wxQueryNewPaletteEvent",0},
ea7c631c 8757 { "_wxPyInputStream","_class_wxPyInputStream",0},
f6bcfd97
BP
8758 { "_wxPyApp","_class_wxPyApp",0},
8759 { "_class_wxWindowCreateEvent","_wxWindowCreateEvent",0},
ea7c631c 8760 { "_class_wxOutputStream","_wxOutputStream",0},
f6bcfd97
BP
8761 { "_wxLogTextCtrl","_class_wxLogTextCtrl",0},
8762 { "_wxMDIParentFrame","_class_wxMDIParentFrame",0},
8763 { "_class_wxTreeEvent","_wxTreeEvent",0},
8764 { "_class_wxDirDialog","_wxDirDialog",0},
ea7c631c 8765 { "_wxTimeSpan","_class_wxTimeSpan",0},
f6bcfd97
BP
8766 { "_wxFocusEvent","_class_wxFocusEvent",0},
8767 { "_wxMaximizeEvent","_class_wxMaximizeEvent",0},
8768 { "_class_wxTimerEvent","_wxTimerEvent",0},
8769 { "_class_wxPyTimer","_wxPyTimer",0},
8770 { "_class_wxSpinButton","_wxSpinButton",0},
8771 { "_wxAcceleratorEntry","_class_wxAcceleratorEntry",0},
8772 { "_class_wxPanel","_wxPanel",0},
8773 { "_class_wxCheckBox","_wxCheckBox",0},
8774 { "_wxComboBox","_class_wxComboBox",0},
8775 { "_wxRadioButton","_class_wxRadioButton",0},
8776 { "_class_wxMessageDialog","_wxMessageDialog",0},
8777 { "_signed_int","_wxCoord",0},
8778 { "_signed_int","_wxPrintQuality",0},
8779 { "_signed_int","_EBool",0},
8780 { "_signed_int","_wxWindowID",0},
8781 { "_signed_int","_int",0},
8782 { "_class_wxTextCtrl","_wxTextCtrl",0},
8783 { "_class_wxListItemAttr","_wxListItemAttr",0},
8784 { "_wxLayoutConstraints","_class_wxLayoutConstraints",0},
8785 { "_class_wxTextDataObject","_wxTextDataObject",0},
8786 { "_wxMenu","_class_wxMenu",0},
8787 { "_class_wxMoveEvent","_wxMoveEvent",0},
8788 { "_wxListBox","_class_wxListBox",0},
8789 { "_wxScreenDC","_class_wxScreenDC",0},
8790 { "_class_wxToolBarSimple","_wxToolBarSimple",0},
8791 { "_class_wxMDIChildFrame","_wxMDIChildFrame",0},
ea7c631c 8792 { "_WXTYPE","_wxDateTime_t",0},
f6bcfd97
BP
8793 { "_WXTYPE","_short",0},
8794 { "_WXTYPE","_signed_short",0},
8795 { "_WXTYPE","_unsigned_short",0},
8796 { "_wxFileDialog","_class_wxFileDialog",0},
8797 { "_class_wxDropTarget","_wxDropTarget",0},
8798 { "_class_wxCaret","_wxCaret",0},
8799 { "_class_wxMDIClientWindow","_wxMDIClientWindow",0},
8800 { "_class_wxBrush","_wxBrush",0},
8801 { "_wxTipProvider","_class_wxTipProvider",0},
ea7c631c 8802 { "_unsigned_short","_wxDateTime_t",0},
f6bcfd97
BP
8803 { "_unsigned_short","_WXTYPE",0},
8804 { "_unsigned_short","_short",0},
8805 { "_class_wxWindow","_class_wxStyledTextCtrl",SwigwxStyledTextCtrlTowxWindow},
8806 { "_class_wxWindow","_wxStyledTextCtrl",SwigwxStyledTextCtrlTowxWindow},
8807 { "_class_wxWindow","_wxWindow",0},
8808 { "_class_wxLogStderr","_wxLogStderr",0},
8809 { "_wxSplitterWindow","_class_wxSplitterWindow",0},
ea7c631c 8810 { "_wxDateSpan","_class_wxDateSpan",0},
f6bcfd97
BP
8811 { "_class_wxStyledTextEvent","_wxStyledTextEvent",0},
8812 { "_class_wxStaticText","_wxStaticText",0},
8813 { "_wxPrintDialogData","_class_wxPrintDialogData",0},
8814 { "_class_wxFont","_wxFont",0},
8815 { "_wxClipboard","_class_wxClipboard",0},
8816 { "_class_wxPyValidator","_wxPyValidator",0},
8817 { "_class_wxCloseEvent","_wxCloseEvent",0},
8818 { "_wxSashEvent","_class_wxSashEvent",0},
8819 { "_wxBusyInfo","_class_wxBusyInfo",0},
8820 { "_class_wxMenuEvent","_wxMenuEvent",0},
8821 { "_wxPaletteChangedEvent","_class_wxPaletteChangedEvent",0},
8822 { "_class_wxPyBitmapDataObject","_wxPyBitmapDataObject",0},
8823 { "_wxClientDC","_class_wxClientDC",0},
8824 { "_wxMouseEvent","_class_wxMouseEvent",0},
8825 { "_class_wxGenericDragImage","_wxGenericDragImage",0},
8826 { "_wxListCtrl","_class_wxListCtrl",0},
8827 { "_wxSingleChoiceDialog","_class_wxSingleChoiceDialog",0},
8828 { "_class_wxPoint","_wxPoint",0},
ea7c631c 8829 { "_class_wxPyInputStream","_wxPyInputStream",0},
f6bcfd97
BP
8830 { "_wxRealPoint","_class_wxRealPoint",0},
8831 { "_class_wxRadioBox","_wxRadioBox",0},
8832 { "_class_wxBoxSizer","_wxBoxSizer",0},
8833 { "_signed_short","_WXTYPE",0},
8834 { "_signed_short","_short",0},
8835 { "_wxMemoryDC","_class_wxMemoryDC",0},
8836 { "_wxPyTextDataObject","_class_wxPyTextDataObject",0},
8837 { "_class_wxPrintDialog","_wxPrintDialog",0},
ea7c631c 8838 { "_wxPyFileSystemHandler","_class_wxPyFileSystemHandler",0},
f6bcfd97
BP
8839 { "_wxPaintDC","_class_wxPaintDC",0},
8840 { "_class_wxWindowDC","_wxWindowDC",0},
8841 { "_class_wxFocusEvent","_wxFocusEvent",0},
8842 { "_class_wxMaximizeEvent","_wxMaximizeEvent",0},
8843 { "_wxStatusBar","_class_wxStatusBar",0},
8844 { "_class_wxAcceleratorEntry","_wxAcceleratorEntry",0},
8845 { "_class_wxCursor","_wxCursor",0},
3a70a282 8846 { "_wxPostScriptDC","_class_wxPostScriptDC",0},
f6bcfd97 8847 { "_wxPyFileDropTarget","_class_wxPyFileDropTarget",0},
ea7c631c 8848 { "_class_wxPyProcess","_wxPyProcess",0},
f6bcfd97
BP
8849 { "_class_wxImageHandler","_wxImageHandler",0},
8850 { "_wxScrolledWindow","_class_wxScrolledWindow",0},
8851 { "_class_wxLog","_wxLog",0},
8852 { "_wxTreeItemId","_class_wxTreeItemId",0},
8853 { "_unsigned_char","_byte",0},
8854 { "_class_wxMenu","_wxMenu",0},
8855 { "_wxControl","_class_wxStyledTextCtrl",SwigwxStyledTextCtrlTowxControl},
8856 { "_wxControl","_wxStyledTextCtrl",SwigwxStyledTextCtrlTowxControl},
8857 { "_wxControl","_class_wxControl",0},
8858 { "_class_wxListBox","_wxListBox",0},
8859 { "_unsigned_int","_wxCoord",0},
8860 { "_unsigned_int","_wxPrintQuality",0},
fe47ec10 8861 { "_unsigned_int","_time_t",0},
f6bcfd97
BP
8862 { "_unsigned_int","_size_t",0},
8863 { "_unsigned_int","_uint",0},
8864 { "_unsigned_int","_wxWindowID",0},
8865 { "_unsigned_int","_int",0},
8866 { "_wxIcon","_class_wxIcon",0},
8867 { "_wxDialog","_class_wxDialog",0},
8868 { "_class_wxListItem","_wxListItem",0},
8869 { "_class_wxPen","_wxPen",0},
8870 { "_class_wxFileDialog","_wxFileDialog",0},
8871 { "_wxQueryLayoutInfoEvent","_class_wxQueryLayoutInfoEvent",0},
ea7c631c
RD
8872 { "_wxConfigBase","_class_wxConfigBase",0},
8873 { "_short","_wxDateTime_t",0},
f6bcfd97
BP
8874 { "_short","_WXTYPE",0},
8875 { "_short","_unsigned_short",0},
8876 { "_short","_signed_short",0},
8877 { "_class_wxStaticBox","_wxStaticBox",0},
8878 { "_wxLayoutAlgorithm","_class_wxLayoutAlgorithm",0},
8879 { "_class_wxPyDataObjectSimple","_wxPyDataObjectSimple",0},
8880 { "_class_wxPyDropSource","_wxPyDropSource",0},
8881 { "_class_wxScrollEvent","_wxScrollEvent",0},
8882 { "_wxJoystickEvent","_class_wxJoystickEvent",0},
8883 { "_class_wxChoice","_wxChoice",0},
8884 { "_class_wxSlider","_wxSlider",0},
8885 { "_class_wxCalculateLayoutEvent","_wxCalculateLayoutEvent",0},
8886 { "_class_wxImageList","_wxImageList",0},
8887 { "_class_wxBitmapButton","_wxBitmapButton",0},
ea7c631c 8888 { "_wxFileSystemHandler","_class_wxFileSystemHandler",0},
f6bcfd97
BP
8889 { "_wxPyTipProvider","_class_wxPyTipProvider",0},
8890 { "_wxFrame","_class_wxFrame",0},
8891 { "_wxPCXHandler","_class_wxPCXHandler",0},
8892 { "_class_wxGridSizer","_wxGridSizer",0},
8893 { "_class_wxPaletteChangedEvent","_wxPaletteChangedEvent",0},
8894 { "_class_wxNotebook","_wxNotebook",0},
8895 { "_wxJPEGHandler","_class_wxJPEGHandler",0},
8896 { "_wxWindowID","_wxCoord",0},
8897 { "_wxWindowID","_wxPrintQuality",0},
fe47ec10 8898 { "_wxWindowID","_time_t",0},
f6bcfd97
BP
8899 { "_wxWindowID","_size_t",0},
8900 { "_wxWindowID","_EBool",0},
8901 { "_wxWindowID","_uint",0},
8902 { "_wxWindowID","_int",0},
8903 { "_wxWindowID","_signed_int",0},
8904 { "_wxWindowID","_unsigned_int",0},
8905 { "_class_wxScrollWinEvent","_wxScrollWinEvent",0},
8906 { "_class_wxSizerItem","_wxSizerItem",0},
8907 { "_int","_wxCoord",0},
8908 { "_int","_wxPrintQuality",0},
fe47ec10 8909 { "_int","_time_t",0},
f6bcfd97
BP
8910 { "_int","_size_t",0},
8911 { "_int","_EBool",0},
8912 { "_int","_uint",0},
8913 { "_int","_wxWindowID",0},
8914 { "_int","_unsigned_int",0},
8915 { "_int","_signed_int",0},
8916 { "_class_wxMouseEvent","_wxMouseEvent",0},
8917 { "_wxPyCommandEvent","_class_wxPyCommandEvent",0},
8918 { "_wxLogWindow","_class_wxLogWindow",0},
8919 { "_class_wxListEvent","_wxListEvent",0},
8920 { "_class_wxPrintPreview","_wxPrintPreview",0},
ea7c631c
RD
8921 { "_wxDateTime_t","_unsigned_short",0},
8922 { "_wxDateTime_t","_short",0},
8923 { "_wxDateTime_t","_WXTYPE",0},
f6bcfd97
BP
8924 { "_class_wxSpinEvent","_wxSpinEvent",0},
8925 { "_class_wxQueryNewPaletteEvent","_wxQueryNewPaletteEvent",0},
ea7c631c 8926 { "_wxDateTime","_class_wxDateTime",0},
fe47ec10
RD
8927 { "_time_t","_wxCoord",0},
8928 { "_time_t","_wxPrintQuality",0},
8929 { "_time_t","_unsigned_int",0},
8930 { "_time_t","_int",0},
8931 { "_time_t","_wxWindowID",0},
8932 { "_time_t","_uint",0},
8933 { "_time_t","_size_t",0},
f6bcfd97
BP
8934 { "_class_wxNavigationKeyEvent","_wxNavigationKeyEvent",0},
8935 { "_wxLogNull","_class_wxLogNull",0},
8936 { "_wxButton","_class_wxButton",0},
ea7c631c 8937 { "_wxZipFSHandler","_class_wxZipFSHandler",0},
f6bcfd97
BP
8938 { "_class_wxPyApp","_wxPyApp",0},
8939 { "_wxSize","_class_wxSize",0},
8940 { "_wxRegionIterator","_class_wxRegionIterator",0},
8941 { "_class_wxPyTextDataObject","_wxPyTextDataObject",0},
8942 { "_class_wxLogTextCtrl","_wxLogTextCtrl",0},
8943 { "_class_wxLogGui","_wxLogGui",0},
8944 { "_class_wxMDIParentFrame","_wxMDIParentFrame",0},
8945 { "_wxPyTreeItemData","_class_wxPyTreeItemData",0},
8946 { "_wxStaticBoxSizer","_class_wxStaticBoxSizer",0},
ea7c631c
RD
8947 { "_class_wxTimeSpan","_wxTimeSpan",0},
8948 { "_class_wxPyFileSystemHandler","_wxPyFileSystemHandler",0},
f6bcfd97
BP
8949 { "_class_wxPaintDC","_wxPaintDC",0},
8950 { "_class_wxSysColourChangedEvent","_wxSysColourChangedEvent",0},
8951 { "_class_wxPyFileDropTarget","_wxPyFileDropTarget",0},
8952 { "_class_wxInitDialogEvent","_wxInitDialogEvent",0},
8953 { "_class_wxComboBox","_wxComboBox",0},
8954 { "_class_wxRadioButton","_wxRadioButton",0},
8955 { "_wxValidator","_class_wxValidator",0},
8956 { "_wxToolBarBase","_class_wxToolBarBase",0},
8957 { "_class_wxTreeItemId","_wxTreeItemId",0},
8958 { "_class_wxLayoutConstraints","_wxLayoutConstraints",0},
8959 { "_wxIconizeEvent","_class_wxIconizeEvent",0},
8960 { "_class_wxControl","_class_wxStyledTextCtrl",SwigwxStyledTextCtrlTowxControl},
8961 { "_class_wxControl","_wxStyledTextCtrl",SwigwxStyledTextCtrlTowxControl},
8962 { "_class_wxControl","_wxControl",0},
8963 { "_wxStaticBitmap","_class_wxStaticBitmap",0},
8964 { "_wxStyledTextCtrl","_class_wxStyledTextCtrl",0},
8965 { "_class_wxIcon","_wxIcon",0},
8966 { "_class_wxColour","_wxColour",0},
8967 { "_class_wxScreenDC","_wxScreenDC",0},
8968 { "_class_wxPageSetupDialog","_wxPageSetupDialog",0},
8969 { "_wxPalette","_class_wxPalette",0},
8970 { "_class_wxIdleEvent","_wxIdleEvent",0},
ea7c631c 8971 { "_class_wxConfigBase","_wxConfigBase",0},
f6bcfd97
BP
8972 { "_wxCoord","_int",0},
8973 { "_wxCoord","_signed_int",0},
8974 { "_wxCoord","_unsigned_int",0},
8975 { "_wxCoord","_wxWindowID",0},
8976 { "_wxCoord","_uint",0},
8977 { "_wxCoord","_EBool",0},
8978 { "_wxCoord","_size_t",0},
fe47ec10 8979 { "_wxCoord","_time_t",0},
f6bcfd97
BP
8980 { "_wxCoord","_wxPrintQuality",0},
8981 { "_wxEraseEvent","_class_wxEraseEvent",0},
8982 { "_wxDataObjectComposite","_class_wxDataObjectComposite",0},
8983 { "_class_wxJoystickEvent","_wxJoystickEvent",0},
8984 { "_class_wxTipProvider","_wxTipProvider",0},
8985 { "_class_wxMiniFrame","_wxMiniFrame",0},
8986 { "_wxFontDialog","_class_wxFontDialog",0},
ea7c631c 8987 { "_wxMemoryFSHandler","_class_wxMemoryFSHandler",0},
f6bcfd97
BP
8988 { "_wxRegion","_class_wxRegion",0},
8989 { "_class_wxSplitterWindow","_wxSplitterWindow",0},
8990 { "_wxPreviewFrame","_class_wxPreviewFrame",0},
8991 { "_wxSizer","_class_wxSizer",0},
ea7c631c
RD
8992 { "_class_wxDateSpan","_wxDateSpan",0},
8993 { "_wxFileSystem","_class_wxFileSystem",0},
f6bcfd97
BP
8994 { "_class_wxShowEvent","_wxShowEvent",0},
8995 { "_class_wxPyTipProvider","_wxPyTipProvider",0},
8996 { "_class_wxPCXHandler","_wxPCXHandler",0},
8997 { "_wxTIFFHandler","_class_wxTIFFHandler",0},
8998 { "_wxPyDropTarget","_class_wxPyDropTarget",0},
8999 { "_wxActivateEvent","_class_wxActivateEvent",0},
9000 { "_wxGauge","_class_wxGauge",0},
9001 { "_class_wxCheckListBox","_wxCheckListBox",0},
9002 { "_class_wxBusyInfo","_wxBusyInfo",0},
9003 { "_class_wxCommandEvent","_class_wxStyledTextEvent",SwigwxStyledTextEventTowxCommandEvent},
9004 { "_class_wxCommandEvent","_wxStyledTextEvent",SwigwxStyledTextEventTowxCommandEvent},
9005 { "_class_wxCommandEvent","_wxCommandEvent",0},
9006 { "_class_wxClientDC","_wxClientDC",0},
9007 { "_class_wxSizeEvent","_wxSizeEvent",0},
9008 { "_class_wxListCtrl","_wxListCtrl",0},
9009 { "_wxCustomDataObject","_class_wxCustomDataObject",0},
9010 { "_class_wxLogNull","_wxLogNull",0},
9011 { "_class_wxSize","_wxSize",0},
9012 { "_class_wxBitmap","_wxBitmap",0},
9013 { "_class_wxMemoryDC","_wxMemoryDC",0},
9014 { "_wxPyTextDropTarget","_class_wxPyTextDropTarget",0},
9015 { "_wxMenuBar","_class_wxMenuBar",0},
ea7c631c 9016 { "_wxOutputStream","_class_wxOutputStream",0},
f6bcfd97
BP
9017 { "_wxTreeEvent","_class_wxTreeEvent",0},
9018 { "_wxDirDialog","_class_wxDirDialog",0},
9019 { "_wxEvtHandler","_class_wxStyledTextCtrl",SwigwxStyledTextCtrlTowxEvtHandler},
9020 { "_wxEvtHandler","_wxStyledTextCtrl",SwigwxStyledTextCtrlTowxEvtHandler},
9021 { "_wxEvtHandler","_class_wxEvtHandler",0},
9022 { "_wxMenuItem","_class_wxMenuItem",0},
9023 { "_class_wxScrollBar","_wxScrollBar",0},
9024 { "_class_wxColourDialog","_wxColourDialog",0},
9025 { "_class_wxPrintData","_wxPrintData",0},
9026 { "_class_wxScrolledWindow","_wxScrolledWindow",0},
9027 { "_wxListItemAttr","_class_wxListItemAttr",0},
9028 { "_class_wxTextEntryDialog","_wxTextEntryDialog",0},
ea7c631c 9029 { "_class_wxConfig","_wxConfig",0},
f6bcfd97
BP
9030 { "_wxKeyEvent","_class_wxKeyEvent",0},
9031 { "_wxMoveEvent","_class_wxMoveEvent",0},
9032 { "_wxColourData","_class_wxColourData",0},
9033 { "_wxPageSetupDialogData","_class_wxPageSetupDialogData",0},
9034 { "_class_wxPalette","_wxPalette",0},
9035 { "_wxFileDataObject","_class_wxFileDataObject",0},
9036 { "_class_wxQueryLayoutInfoEvent","_wxQueryLayoutInfoEvent",0},
9037 { "_wxNotebookSizer","_class_wxNotebookSizer",0},
9038 { "_class_wxEraseEvent","_wxEraseEvent",0},
9039 { "_wxPyFontEnumerator","_class_wxPyFontEnumerator",0},
9040 { "_wxMDIClientWindow","_class_wxMDIClientWindow",0},
9041 { "_class_wxDataObjectComposite","_wxDataObjectComposite",0},
9042 { "_class_wxToolBarToolBase","_wxToolBarToolBase",0},
9043 { "_class_wxFontDialog","_wxFontDialog",0},
9044 { "_wxWindow","_class_wxStyledTextCtrl",SwigwxStyledTextCtrlTowxWindow},
9045 { "_wxWindow","_wxStyledTextCtrl",SwigwxStyledTextCtrlTowxWindow},
9046 { "_wxWindow","_class_wxWindow",0},
9047 { "_class_wxWindowDestroyEvent","_wxWindowDestroyEvent",0},
9048 { "_wxLogStderr","_class_wxLogStderr",0},
ea7c631c
RD
9049 { "_class_wxFileSystemHandler","_wxFileSystemHandler",0},
9050 { "_class_wxFileSystem","_wxFileSystem",0},
f6bcfd97
BP
9051 { "_wxStyledTextEvent","_class_wxStyledTextEvent",0},
9052 { "_class_wxFrame","_wxFrame",0},
9053{0,0,0}};
9054
9055static PyObject *SWIG_globals;
9056#ifdef __cplusplus
9057extern "C"
9058#endif
9059SWIGEXPORT(void) initstc_c() {
9060 PyObject *m, *d;
9061 SWIG_globals = SWIG_newvarlink();
9062 m = Py_InitModule("stc_c", stc_cMethods);
9063 d = PyModule_GetDict(m);
fe47ec10
RD
9064 PyDict_SetItemString(d,"wxSTC_INVALID_POSITION", PyInt_FromLong((long) -1));
9065 PyDict_SetItemString(d,"wxSTC_START", PyInt_FromLong((long) 2000));
9066 PyDict_SetItemString(d,"wxSTC_OPTIONAL_START", PyInt_FromLong((long) 3000));
9067 PyDict_SetItemString(d,"wxSTC_LEXER_START", PyInt_FromLong((long) 4000));
9068 PyDict_SetItemString(d,"wxSTC_CMD_REDO", PyInt_FromLong((long) 2011));
9069 PyDict_SetItemString(d,"wxSTC_CMD_SELECTALL", PyInt_FromLong((long) 2013));
9070 PyDict_SetItemString(d,"wxSTC_WS_INVISIBLE", PyInt_FromLong((long) 0));
9071 PyDict_SetItemString(d,"wxSTC_WS_VISIBLEALWAYS", PyInt_FromLong((long) 1));
9072 PyDict_SetItemString(d,"wxSTC_WS_VISIBLEAFTERINDENT", PyInt_FromLong((long) 2));
9073 PyDict_SetItemString(d,"wxSTC_EOL_CRLF", PyInt_FromLong((long) 0));
9074 PyDict_SetItemString(d,"wxSTC_EOL_CR", PyInt_FromLong((long) 1));
9075 PyDict_SetItemString(d,"wxSTC_EOL_LF", PyInt_FromLong((long) 2));
9076 PyDict_SetItemString(d,"wxSTC_CP_UTF8", PyInt_FromLong((long) 65001));
f6bcfd97
BP
9077 PyDict_SetItemString(d,"wxSTC_MARKER_MAX", PyInt_FromLong((long) 31));
9078 PyDict_SetItemString(d,"wxSTC_MARK_CIRCLE", PyInt_FromLong((long) 0));
9079 PyDict_SetItemString(d,"wxSTC_MARK_ROUNDRECT", PyInt_FromLong((long) 1));
9080 PyDict_SetItemString(d,"wxSTC_MARK_ARROW", PyInt_FromLong((long) 2));
9081 PyDict_SetItemString(d,"wxSTC_MARK_SMALLRECT", PyInt_FromLong((long) 3));
9082 PyDict_SetItemString(d,"wxSTC_MARK_SHORTARROW", PyInt_FromLong((long) 4));
9083 PyDict_SetItemString(d,"wxSTC_MARK_EMPTY", PyInt_FromLong((long) 5));
9084 PyDict_SetItemString(d,"wxSTC_MARK_ARROWDOWN", PyInt_FromLong((long) 6));
9085 PyDict_SetItemString(d,"wxSTC_MARK_MINUS", PyInt_FromLong((long) 7));
9086 PyDict_SetItemString(d,"wxSTC_MARK_PLUS", PyInt_FromLong((long) 8));
9087 PyDict_SetItemString(d,"wxSTC_MARKNUM_FOLDER", PyInt_FromLong((long) 30));
9088 PyDict_SetItemString(d,"wxSTC_MARKNUM_FOLDEROPEN", PyInt_FromLong((long) 31));
fe47ec10
RD
9089 PyDict_SetItemString(d,"wxSTC_MARGIN_SYMBOL", PyInt_FromLong((long) 0));
9090 PyDict_SetItemString(d,"wxSTC_MARGIN_NUMBER", PyInt_FromLong((long) 1));
9091 PyDict_SetItemString(d,"wxSTC_STYLE_DEFAULT", PyInt_FromLong((long) 32));
9092 PyDict_SetItemString(d,"wxSTC_STYLE_LINENUMBER", PyInt_FromLong((long) 33));
9093 PyDict_SetItemString(d,"wxSTC_STYLE_BRACELIGHT", PyInt_FromLong((long) 34));
9094 PyDict_SetItemString(d,"wxSTC_STYLE_BRACEBAD", PyInt_FromLong((long) 35));
9095 PyDict_SetItemString(d,"wxSTC_STYLE_CONTROLCHAR", PyInt_FromLong((long) 36));
9096 PyDict_SetItemString(d,"wxSTC_STYLE_INDENTGUIDE", PyInt_FromLong((long) 37));
9097 PyDict_SetItemString(d,"wxSTC_STYLE_MAX", PyInt_FromLong((long) 127));
9098 PyDict_SetItemString(d,"wxSTC_CHARSET_ANSI", PyInt_FromLong((long) 0));
9099 PyDict_SetItemString(d,"wxSTC_CHARSET_DEFAULT", PyInt_FromLong((long) 1));
9100 PyDict_SetItemString(d,"wxSTC_CHARSET_BALTIC", PyInt_FromLong((long) 186));
9101 PyDict_SetItemString(d,"wxSTC_CHARSET_CHINESEBIG5", PyInt_FromLong((long) 136));
9102 PyDict_SetItemString(d,"wxSTC_CHARSET_EASTEUROPE", PyInt_FromLong((long) 238));
9103 PyDict_SetItemString(d,"wxSTC_CHARSET_GB2312", PyInt_FromLong((long) 134));
9104 PyDict_SetItemString(d,"wxSTC_CHARSET_GREEK", PyInt_FromLong((long) 161));
9105 PyDict_SetItemString(d,"wxSTC_CHARSET_HANGUL", PyInt_FromLong((long) 129));
9106 PyDict_SetItemString(d,"wxSTC_CHARSET_MAC", PyInt_FromLong((long) 77));
9107 PyDict_SetItemString(d,"wxSTC_CHARSET_OEM", PyInt_FromLong((long) 255));
9108 PyDict_SetItemString(d,"wxSTC_CHARSET_RUSSIAN", PyInt_FromLong((long) 204));
9109 PyDict_SetItemString(d,"wxSTC_CHARSET_SHIFTJIS", PyInt_FromLong((long) 128));
9110 PyDict_SetItemString(d,"wxSTC_CHARSET_SYMBOL", PyInt_FromLong((long) 2));
9111 PyDict_SetItemString(d,"wxSTC_CHARSET_TURKISH", PyInt_FromLong((long) 162));
9112 PyDict_SetItemString(d,"wxSTC_CHARSET_JOHAB", PyInt_FromLong((long) 130));
9113 PyDict_SetItemString(d,"wxSTC_CHARSET_HEBREW", PyInt_FromLong((long) 177));
9114 PyDict_SetItemString(d,"wxSTC_CHARSET_ARABIC", PyInt_FromLong((long) 178));
9115 PyDict_SetItemString(d,"wxSTC_CHARSET_VIETNAMESE", PyInt_FromLong((long) 163));
9116 PyDict_SetItemString(d,"wxSTC_CHARSET_THAI", PyInt_FromLong((long) 222));
f6bcfd97
BP
9117 PyDict_SetItemString(d,"wxSTC_INDIC_MAX", PyInt_FromLong((long) 7));
9118 PyDict_SetItemString(d,"wxSTC_INDIC_PLAIN", PyInt_FromLong((long) 0));
9119 PyDict_SetItemString(d,"wxSTC_INDIC_SQUIGGLE", PyInt_FromLong((long) 1));
9120 PyDict_SetItemString(d,"wxSTC_INDIC_TT", PyInt_FromLong((long) 2));
9121 PyDict_SetItemString(d,"wxSTC_INDIC_DIAGONAL", PyInt_FromLong((long) 3));
9122 PyDict_SetItemString(d,"wxSTC_INDIC_STRIKE", PyInt_FromLong((long) 4));
9123 PyDict_SetItemString(d,"wxSTC_INDIC0_MASK", PyInt_FromLong((long) 32));
9124 PyDict_SetItemString(d,"wxSTC_INDIC1_MASK", PyInt_FromLong((long) 64));
9125 PyDict_SetItemString(d,"wxSTC_INDIC2_MASK", PyInt_FromLong((long) 128));
fe47ec10
RD
9126 PyDict_SetItemString(d,"wxSTC_INDICS_MASK", PyInt_FromLong((long) 32|64|128));
9127 PyDict_SetItemString(d,"wxSTC_PRINT_NORMAL", PyInt_FromLong((long) 0));
9128 PyDict_SetItemString(d,"wxSTC_PRINT_INVERTLIGHT", PyInt_FromLong((long) 1));
9129 PyDict_SetItemString(d,"wxSTC_PRINT_BLACKONWHITE", PyInt_FromLong((long) 2));
9130 PyDict_SetItemString(d,"wxSTC_FIND_DOWN", PyInt_FromLong((long) 1));
9131 PyDict_SetItemString(d,"wxSTC_FIND_WHOLEWORD", PyInt_FromLong((long) 2));
9132 PyDict_SetItemString(d,"wxSTC_FIND_MATCHCASE", PyInt_FromLong((long) 4));
9133 PyDict_SetItemString(d,"wxSTC_FIND_WORDSTART", PyInt_FromLong((long) 0x00100000));
9134 PyDict_SetItemString(d,"wxSTC_FIND_REGEXP", PyInt_FromLong((long) 0x00200000));
9135 PyDict_SetItemString(d,"wxSTC_CMD_UNDO", PyInt_FromLong((long) 2176));
9136 PyDict_SetItemString(d,"wxSTC_CMD_CUT", PyInt_FromLong((long) 2177));
9137 PyDict_SetItemString(d,"wxSTC_CMD_COPY", PyInt_FromLong((long) 2178));
9138 PyDict_SetItemString(d,"wxSTC_CMD_PASTE", PyInt_FromLong((long) 2179));
9139 PyDict_SetItemString(d,"wxSTC_FOLDLEVELBASE", PyInt_FromLong((long) 0x400));
f6bcfd97
BP
9140 PyDict_SetItemString(d,"wxSTC_FOLDLEVELWHITEFLAG", PyInt_FromLong((long) 0x1000));
9141 PyDict_SetItemString(d,"wxSTC_FOLDLEVELHEADERFLAG", PyInt_FromLong((long) 0x2000));
9142 PyDict_SetItemString(d,"wxSTC_FOLDLEVELNUMBERMASK", PyInt_FromLong((long) 0x0FFF));
fe47ec10
RD
9143 PyDict_SetItemString(d,"wxSTC_CMD_LINEDOWN", PyInt_FromLong((long) 2300));
9144 PyDict_SetItemString(d,"wxSTC_CMD_LINEDOWNEXTEND", PyInt_FromLong((long) 2301));
9145 PyDict_SetItemString(d,"wxSTC_CMD_LINEUP", PyInt_FromLong((long) 2302));
9146 PyDict_SetItemString(d,"wxSTC_CMD_LINEUPEXTEND", PyInt_FromLong((long) 2303));
9147 PyDict_SetItemString(d,"wxSTC_CMD_CHARLEFT", PyInt_FromLong((long) 2304));
9148 PyDict_SetItemString(d,"wxSTC_CMD_CHARLEFTEXTEND", PyInt_FromLong((long) 2305));
9149 PyDict_SetItemString(d,"wxSTC_CMD_CHARRIGHT", PyInt_FromLong((long) 2306));
9150 PyDict_SetItemString(d,"wxSTC_CMD_CHARRIGHTEXTEND", PyInt_FromLong((long) 2307));
9151 PyDict_SetItemString(d,"wxSTC_CMD_WORDLEFT", PyInt_FromLong((long) 2308));
9152 PyDict_SetItemString(d,"wxSTC_CMD_WORDLEFTEXTEND", PyInt_FromLong((long) 2309));
9153 PyDict_SetItemString(d,"wxSTC_CMD_WORDRIGHT", PyInt_FromLong((long) 2310));
9154 PyDict_SetItemString(d,"wxSTC_CMD_WORDRIGHTEXTEND", PyInt_FromLong((long) 2311));
9155 PyDict_SetItemString(d,"wxSTC_CMD_HOME", PyInt_FromLong((long) 2312));
9156 PyDict_SetItemString(d,"wxSTC_CMD_HOMEEXTEND", PyInt_FromLong((long) 2313));
9157 PyDict_SetItemString(d,"wxSTC_CMD_LINEEND", PyInt_FromLong((long) 2314));
9158 PyDict_SetItemString(d,"wxSTC_CMD_LINEENDEXTEND", PyInt_FromLong((long) 2315));
9159 PyDict_SetItemString(d,"wxSTC_CMD_DOCUMENTSTART", PyInt_FromLong((long) 2316));
9160 PyDict_SetItemString(d,"wxSTC_CMD_DOCUMENTSTARTEXTEND", PyInt_FromLong((long) 2317));
9161 PyDict_SetItemString(d,"wxSTC_CMD_DOCUMENTEND", PyInt_FromLong((long) 2318));
9162 PyDict_SetItemString(d,"wxSTC_CMD_DOCUMENTENDEXTEND", PyInt_FromLong((long) 2319));
9163 PyDict_SetItemString(d,"wxSTC_CMD_PAGEUP", PyInt_FromLong((long) 2320));
9164 PyDict_SetItemString(d,"wxSTC_CMD_PAGEUPEXTEND", PyInt_FromLong((long) 2321));
9165 PyDict_SetItemString(d,"wxSTC_CMD_PAGEDOWN", PyInt_FromLong((long) 2322));
9166 PyDict_SetItemString(d,"wxSTC_CMD_PAGEDOWNEXTEND", PyInt_FromLong((long) 2323));
9167 PyDict_SetItemString(d,"wxSTC_CMD_EDITTOGGLEOVERTYPE", PyInt_FromLong((long) 2324));
9168 PyDict_SetItemString(d,"wxSTC_CMD_CANCEL", PyInt_FromLong((long) 2325));
9169 PyDict_SetItemString(d,"wxSTC_CMD_DELETEBACK", PyInt_FromLong((long) 2326));
9170 PyDict_SetItemString(d,"wxSTC_CMD_TAB", PyInt_FromLong((long) 2327));
9171 PyDict_SetItemString(d,"wxSTC_CMD_BACKTAB", PyInt_FromLong((long) 2328));
9172 PyDict_SetItemString(d,"wxSTC_CMD_NEWLINE", PyInt_FromLong((long) 2329));
9173 PyDict_SetItemString(d,"wxSTC_CMD_FORMFEED", PyInt_FromLong((long) 2330));
9174 PyDict_SetItemString(d,"wxSTC_CMD_VCHOME", PyInt_FromLong((long) 2331));
9175 PyDict_SetItemString(d,"wxSTC_CMD_VCHOMEEXTEND", PyInt_FromLong((long) 2332));
9176 PyDict_SetItemString(d,"wxSTC_CMD_ZOOMIN", PyInt_FromLong((long) 2333));
9177 PyDict_SetItemString(d,"wxSTC_CMD_ZOOMOUT", PyInt_FromLong((long) 2334));
9178 PyDict_SetItemString(d,"wxSTC_CMD_DELWORDLEFT", PyInt_FromLong((long) 2335));
9179 PyDict_SetItemString(d,"wxSTC_CMD_DELWORDRIGHT", PyInt_FromLong((long) 2336));
9180 PyDict_SetItemString(d,"wxSTC_CMD_LINECUT", PyInt_FromLong((long) 2337));
9181 PyDict_SetItemString(d,"wxSTC_CMD_LINEDELETE", PyInt_FromLong((long) 2338));
9182 PyDict_SetItemString(d,"wxSTC_CMD_LINETRANSPOSE", PyInt_FromLong((long) 2339));
9183 PyDict_SetItemString(d,"wxSTC_CMD_LOWERCASE", PyInt_FromLong((long) 2340));
9184 PyDict_SetItemString(d,"wxSTC_CMD_UPPERCASE", PyInt_FromLong((long) 2341));
9185 PyDict_SetItemString(d,"wxSTC_CMD_LINESCROLLDOWN", PyInt_FromLong((long) 2342));
9186 PyDict_SetItemString(d,"wxSTC_CMD_LINESCROLLUP", PyInt_FromLong((long) 2343));
9187 PyDict_SetItemString(d,"wxSTC_EDGE_NONE", PyInt_FromLong((long) 0));
9188 PyDict_SetItemString(d,"wxSTC_EDGE_LINE", PyInt_FromLong((long) 1));
9189 PyDict_SetItemString(d,"wxSTC_EDGE_BACKGROUND", PyInt_FromLong((long) 2));
f6bcfd97 9190 PyDict_SetItemString(d,"wxSTC_CARET_SLOP", PyInt_FromLong((long) 0x01));
fe47ec10 9191 PyDict_SetItemString(d,"wxSTC_CARET_CENTER", PyInt_FromLong((long) 0x02));
f6bcfd97 9192 PyDict_SetItemString(d,"wxSTC_CARET_STRICT", PyInt_FromLong((long) 0x04));
fe47ec10
RD
9193 PyDict_SetItemString(d,"wxSTC_MOD_INSERTTEXT", PyInt_FromLong((long) 0x1));
9194 PyDict_SetItemString(d,"wxSTC_MOD_DELETETEXT", PyInt_FromLong((long) 0x2));
9195 PyDict_SetItemString(d,"wxSTC_MOD_CHANGESTYLE", PyInt_FromLong((long) 0x4));
9196 PyDict_SetItemString(d,"wxSTC_MOD_CHANGEFOLD", PyInt_FromLong((long) 0x8));
9197 PyDict_SetItemString(d,"wxSTC_PERFORMED_USER", PyInt_FromLong((long) 0x10));
9198 PyDict_SetItemString(d,"wxSTC_PERFORMED_UNDO", PyInt_FromLong((long) 0x20));
9199 PyDict_SetItemString(d,"wxSTC_PERFORMED_REDO", PyInt_FromLong((long) 0x40));
9200 PyDict_SetItemString(d,"wxSTC_LASTSTEPINUNDOREDO", PyInt_FromLong((long) 0x100));
9201 PyDict_SetItemString(d,"wxSTC_MOD_CHANGEMARKER", PyInt_FromLong((long) 0x200));
9202 PyDict_SetItemString(d,"wxSTC_MOD_BEFOREINSERT", PyInt_FromLong((long) 0x400));
9203 PyDict_SetItemString(d,"wxSTC_MOD_BEFOREDELETE", PyInt_FromLong((long) 0x800));
9204 PyDict_SetItemString(d,"wxSTC_MODEVENTMASKALL", PyInt_FromLong((long) 0xF77));
9205 PyDict_SetItemString(d,"wxSTC_KEY_DOWN", PyInt_FromLong((long) 300));
9206 PyDict_SetItemString(d,"wxSTC_KEY_UP", PyInt_FromLong((long) 301));
9207 PyDict_SetItemString(d,"wxSTC_KEY_LEFT", PyInt_FromLong((long) 302));
9208 PyDict_SetItemString(d,"wxSTC_KEY_RIGHT", PyInt_FromLong((long) 303));
9209 PyDict_SetItemString(d,"wxSTC_KEY_HOME", PyInt_FromLong((long) 304));
9210 PyDict_SetItemString(d,"wxSTC_KEY_END", PyInt_FromLong((long) 305));
9211 PyDict_SetItemString(d,"wxSTC_KEY_PRIOR", PyInt_FromLong((long) 306));
9212 PyDict_SetItemString(d,"wxSTC_KEY_NEXT", PyInt_FromLong((long) 307));
9213 PyDict_SetItemString(d,"wxSTC_KEY_DELETE", PyInt_FromLong((long) 308));
9214 PyDict_SetItemString(d,"wxSTC_KEY_INSERT", PyInt_FromLong((long) 309));
9215 PyDict_SetItemString(d,"wxSTC_KEY_ESCAPE", PyInt_FromLong((long) 7));
9216 PyDict_SetItemString(d,"wxSTC_KEY_BACK", PyInt_FromLong((long) 8));
9217 PyDict_SetItemString(d,"wxSTC_KEY_TAB", PyInt_FromLong((long) 9));
9218 PyDict_SetItemString(d,"wxSTC_KEY_RETURN", PyInt_FromLong((long) 13));
9219 PyDict_SetItemString(d,"wxSTC_KEY_ADD", PyInt_FromLong((long) 310));
9220 PyDict_SetItemString(d,"wxSTC_KEY_SUBTRACT", PyInt_FromLong((long) 311));
9221 PyDict_SetItemString(d,"wxSTC_KEY_DIVIDE", PyInt_FromLong((long) 312));
9222 PyDict_SetItemString(d,"wxSTC_SCMOD_SHIFT", PyInt_FromLong((long) 1));
9223 PyDict_SetItemString(d,"wxSTC_SCMOD_CTRL", PyInt_FromLong((long) 2));
9224 PyDict_SetItemString(d,"wxSTC_SCMOD_ALT", PyInt_FromLong((long) 4));
9225 PyDict_SetItemString(d,"wxSTC_LEX_CONTAINER", PyInt_FromLong((long) 0));
9226 PyDict_SetItemString(d,"wxSTC_LEX_NULL", PyInt_FromLong((long) 1));
9227 PyDict_SetItemString(d,"wxSTC_LEX_PYTHON", PyInt_FromLong((long) 2));
9228 PyDict_SetItemString(d,"wxSTC_LEX_CPP", PyInt_FromLong((long) 3));
9229 PyDict_SetItemString(d,"wxSTC_LEX_HTML", PyInt_FromLong((long) 4));
9230 PyDict_SetItemString(d,"wxSTC_LEX_XML", PyInt_FromLong((long) 5));
9231 PyDict_SetItemString(d,"wxSTC_LEX_PERL", PyInt_FromLong((long) 6));
9232 PyDict_SetItemString(d,"wxSTC_LEX_SQL", PyInt_FromLong((long) 7));
9233 PyDict_SetItemString(d,"wxSTC_LEX_VB", PyInt_FromLong((long) 8));
9234 PyDict_SetItemString(d,"wxSTC_LEX_PROPERTIES", PyInt_FromLong((long) 9));
9235 PyDict_SetItemString(d,"wxSTC_LEX_ERRORLIST", PyInt_FromLong((long) 10));
9236 PyDict_SetItemString(d,"wxSTC_LEX_MAKEFILE", PyInt_FromLong((long) 11));
9237 PyDict_SetItemString(d,"wxSTC_LEX_BATCH", PyInt_FromLong((long) 12));
9238 PyDict_SetItemString(d,"wxSTC_LEX_XCODE", PyInt_FromLong((long) 13));
9239 PyDict_SetItemString(d,"wxSTC_LEX_LATEX", PyInt_FromLong((long) 14));
9240 PyDict_SetItemString(d,"wxSTC_LEX_LUA", PyInt_FromLong((long) 15));
9241 PyDict_SetItemString(d,"wxSTC_LEX_DIFF", PyInt_FromLong((long) 16));
9242 PyDict_SetItemString(d,"wxSTC_P_DEFAULT", PyInt_FromLong((long) 0));
9243 PyDict_SetItemString(d,"wxSTC_P_COMMENTLINE", PyInt_FromLong((long) 1));
9244 PyDict_SetItemString(d,"wxSTC_P_NUMBER", PyInt_FromLong((long) 2));
9245 PyDict_SetItemString(d,"wxSTC_P_STRING", PyInt_FromLong((long) 3));
9246 PyDict_SetItemString(d,"wxSTC_P_CHARACTER", PyInt_FromLong((long) 4));
9247 PyDict_SetItemString(d,"wxSTC_P_WORD", PyInt_FromLong((long) 5));
9248 PyDict_SetItemString(d,"wxSTC_P_TRIPLE", PyInt_FromLong((long) 6));
9249 PyDict_SetItemString(d,"wxSTC_P_TRIPLEDOUBLE", PyInt_FromLong((long) 7));
9250 PyDict_SetItemString(d,"wxSTC_P_CLASSNAME", PyInt_FromLong((long) 8));
9251 PyDict_SetItemString(d,"wxSTC_P_DEFNAME", PyInt_FromLong((long) 9));
9252 PyDict_SetItemString(d,"wxSTC_P_OPERATOR", PyInt_FromLong((long) 10));
9253 PyDict_SetItemString(d,"wxSTC_P_IDENTIFIER", PyInt_FromLong((long) 11));
9254 PyDict_SetItemString(d,"wxSTC_P_COMMENTBLOCK", PyInt_FromLong((long) 12));
9255 PyDict_SetItemString(d,"wxSTC_P_STRINGEOL", PyInt_FromLong((long) 13));
9256 PyDict_SetItemString(d,"wxSTC_C_DEFAULT", PyInt_FromLong((long) 0));
9257 PyDict_SetItemString(d,"wxSTC_C_COMMENT", PyInt_FromLong((long) 1));
9258 PyDict_SetItemString(d,"wxSTC_C_COMMENTLINE", PyInt_FromLong((long) 2));
9259 PyDict_SetItemString(d,"wxSTC_C_COMMENTDOC", PyInt_FromLong((long) 3));
9260 PyDict_SetItemString(d,"wxSTC_C_NUMBER", PyInt_FromLong((long) 4));
9261 PyDict_SetItemString(d,"wxSTC_C_WORD", PyInt_FromLong((long) 5));
9262 PyDict_SetItemString(d,"wxSTC_C_STRING", PyInt_FromLong((long) 6));
9263 PyDict_SetItemString(d,"wxSTC_C_CHARACTER", PyInt_FromLong((long) 7));
9264 PyDict_SetItemString(d,"wxSTC_C_UUID", PyInt_FromLong((long) 8));
9265 PyDict_SetItemString(d,"wxSTC_C_PREPROCESSOR", PyInt_FromLong((long) 9));
9266 PyDict_SetItemString(d,"wxSTC_C_OPERATOR", PyInt_FromLong((long) 10));
9267 PyDict_SetItemString(d,"wxSTC_C_IDENTIFIER", PyInt_FromLong((long) 11));
9268 PyDict_SetItemString(d,"wxSTC_C_STRINGEOL", PyInt_FromLong((long) 12));
9269 PyDict_SetItemString(d,"wxSTC_C_VERBATIM", PyInt_FromLong((long) 13));
9270 PyDict_SetItemString(d,"wxSTC_H_DEFAULT", PyInt_FromLong((long) 0));
9271 PyDict_SetItemString(d,"wxSTC_H_TAG", PyInt_FromLong((long) 1));
9272 PyDict_SetItemString(d,"wxSTC_H_TAGUNKNOWN", PyInt_FromLong((long) 2));
9273 PyDict_SetItemString(d,"wxSTC_H_ATTRIBUTE", PyInt_FromLong((long) 3));
9274 PyDict_SetItemString(d,"wxSTC_H_ATTRIBUTEUNKNOWN", PyInt_FromLong((long) 4));
9275 PyDict_SetItemString(d,"wxSTC_H_NUMBER", PyInt_FromLong((long) 5));
9276 PyDict_SetItemString(d,"wxSTC_H_DOUBLESTRING", PyInt_FromLong((long) 6));
9277 PyDict_SetItemString(d,"wxSTC_H_SINGLESTRING", PyInt_FromLong((long) 7));
9278 PyDict_SetItemString(d,"wxSTC_H_OTHER", PyInt_FromLong((long) 8));
9279 PyDict_SetItemString(d,"wxSTC_H_COMMENT", PyInt_FromLong((long) 9));
9280 PyDict_SetItemString(d,"wxSTC_H_ENTITY", PyInt_FromLong((long) 10));
9281 PyDict_SetItemString(d,"wxSTC_H_TAGEND", PyInt_FromLong((long) 11));
9282 PyDict_SetItemString(d,"wxSTC_H_XMLSTART", PyInt_FromLong((long) 12));
9283 PyDict_SetItemString(d,"wxSTC_H_XMLEND", PyInt_FromLong((long) 13));
9284 PyDict_SetItemString(d,"wxSTC_H_SCRIPT", PyInt_FromLong((long) 14));
9285 PyDict_SetItemString(d,"wxSTC_H_ASP", PyInt_FromLong((long) 15));
9286 PyDict_SetItemString(d,"wxSTC_H_ASPAT", PyInt_FromLong((long) 16));
9287 PyDict_SetItemString(d,"wxSTC_H_CDATA", PyInt_FromLong((long) 17));
9288 PyDict_SetItemString(d,"wxSTC_H_QUESTION", PyInt_FromLong((long) 18));
9289 PyDict_SetItemString(d,"wxSTC_H_VALUE", PyInt_FromLong((long) 19));
9290 PyDict_SetItemString(d,"wxSTC_HJ_START", PyInt_FromLong((long) 40));
9291 PyDict_SetItemString(d,"wxSTC_HJ_DEFAULT", PyInt_FromLong((long) 41));
9292 PyDict_SetItemString(d,"wxSTC_HJ_COMMENT", PyInt_FromLong((long) 42));
9293 PyDict_SetItemString(d,"wxSTC_HJ_COMMENTLINE", PyInt_FromLong((long) 43));
9294 PyDict_SetItemString(d,"wxSTC_HJ_COMMENTDOC", PyInt_FromLong((long) 44));
9295 PyDict_SetItemString(d,"wxSTC_HJ_NUMBER", PyInt_FromLong((long) 45));
9296 PyDict_SetItemString(d,"wxSTC_HJ_WORD", PyInt_FromLong((long) 46));
9297 PyDict_SetItemString(d,"wxSTC_HJ_KEYWORD", PyInt_FromLong((long) 47));
9298 PyDict_SetItemString(d,"wxSTC_HJ_DOUBLESTRING", PyInt_FromLong((long) 48));
9299 PyDict_SetItemString(d,"wxSTC_HJ_SINGLESTRING", PyInt_FromLong((long) 49));
9300 PyDict_SetItemString(d,"wxSTC_HJ_SYMBOLS", PyInt_FromLong((long) 50));
9301 PyDict_SetItemString(d,"wxSTC_HJ_STRINGEOL", PyInt_FromLong((long) 51));
9302 PyDict_SetItemString(d,"wxSTC_HJA_START", PyInt_FromLong((long) 55));
9303 PyDict_SetItemString(d,"wxSTC_HJA_DEFAULT", PyInt_FromLong((long) 56));
9304 PyDict_SetItemString(d,"wxSTC_HJA_COMMENT", PyInt_FromLong((long) 57));
9305 PyDict_SetItemString(d,"wxSTC_HJA_COMMENTLINE", PyInt_FromLong((long) 58));
9306 PyDict_SetItemString(d,"wxSTC_HJA_COMMENTDOC", PyInt_FromLong((long) 59));
9307 PyDict_SetItemString(d,"wxSTC_HJA_NUMBER", PyInt_FromLong((long) 60));
9308 PyDict_SetItemString(d,"wxSTC_HJA_WORD", PyInt_FromLong((long) 61));
9309 PyDict_SetItemString(d,"wxSTC_HJA_KEYWORD", PyInt_FromLong((long) 62));
9310 PyDict_SetItemString(d,"wxSTC_HJA_DOUBLESTRING", PyInt_FromLong((long) 63));
9311 PyDict_SetItemString(d,"wxSTC_HJA_SINGLESTRING", PyInt_FromLong((long) 64));
9312 PyDict_SetItemString(d,"wxSTC_HJA_SYMBOLS", PyInt_FromLong((long) 65));
9313 PyDict_SetItemString(d,"wxSTC_HJA_STRINGEOL", PyInt_FromLong((long) 66));
9314 PyDict_SetItemString(d,"wxSTC_HB_START", PyInt_FromLong((long) 70));
9315 PyDict_SetItemString(d,"wxSTC_HB_DEFAULT", PyInt_FromLong((long) 71));
9316 PyDict_SetItemString(d,"wxSTC_HB_COMMENTLINE", PyInt_FromLong((long) 72));
9317 PyDict_SetItemString(d,"wxSTC_HB_NUMBER", PyInt_FromLong((long) 73));
9318 PyDict_SetItemString(d,"wxSTC_HB_WORD", PyInt_FromLong((long) 74));
9319 PyDict_SetItemString(d,"wxSTC_HB_STRING", PyInt_FromLong((long) 75));
9320 PyDict_SetItemString(d,"wxSTC_HB_IDENTIFIER", PyInt_FromLong((long) 76));
9321 PyDict_SetItemString(d,"wxSTC_HB_STRINGEOL", PyInt_FromLong((long) 77));
9322 PyDict_SetItemString(d,"wxSTC_HBA_START", PyInt_FromLong((long) 80));
9323 PyDict_SetItemString(d,"wxSTC_HBA_DEFAULT", PyInt_FromLong((long) 81));
9324 PyDict_SetItemString(d,"wxSTC_HBA_COMMENTLINE", PyInt_FromLong((long) 82));
9325 PyDict_SetItemString(d,"wxSTC_HBA_NUMBER", PyInt_FromLong((long) 83));
9326 PyDict_SetItemString(d,"wxSTC_HBA_WORD", PyInt_FromLong((long) 84));
9327 PyDict_SetItemString(d,"wxSTC_HBA_STRING", PyInt_FromLong((long) 85));
9328 PyDict_SetItemString(d,"wxSTC_HBA_IDENTIFIER", PyInt_FromLong((long) 86));
9329 PyDict_SetItemString(d,"wxSTC_HBA_STRINGEOL", PyInt_FromLong((long) 87));
9330 PyDict_SetItemString(d,"wxSTC_HP_START", PyInt_FromLong((long) 90));
9331 PyDict_SetItemString(d,"wxSTC_HP_DEFAULT", PyInt_FromLong((long) 91));
9332 PyDict_SetItemString(d,"wxSTC_HP_COMMENTLINE", PyInt_FromLong((long) 92));
9333 PyDict_SetItemString(d,"wxSTC_HP_NUMBER", PyInt_FromLong((long) 93));
9334 PyDict_SetItemString(d,"wxSTC_HP_STRING", PyInt_FromLong((long) 94));
9335 PyDict_SetItemString(d,"wxSTC_HP_CHARACTER", PyInt_FromLong((long) 95));
9336 PyDict_SetItemString(d,"wxSTC_HP_WORD", PyInt_FromLong((long) 96));
9337 PyDict_SetItemString(d,"wxSTC_HP_TRIPLE", PyInt_FromLong((long) 97));
9338 PyDict_SetItemString(d,"wxSTC_HP_TRIPLEDOUBLE", PyInt_FromLong((long) 98));
9339 PyDict_SetItemString(d,"wxSTC_HP_CLASSNAME", PyInt_FromLong((long) 99));
9340 PyDict_SetItemString(d,"wxSTC_HP_DEFNAME", PyInt_FromLong((long) 100));
9341 PyDict_SetItemString(d,"wxSTC_HP_OPERATOR", PyInt_FromLong((long) 101));
9342 PyDict_SetItemString(d,"wxSTC_HP_IDENTIFIER", PyInt_FromLong((long) 102));
9343 PyDict_SetItemString(d,"wxSTC_HPA_START", PyInt_FromLong((long) 105));
9344 PyDict_SetItemString(d,"wxSTC_HPA_DEFAULT", PyInt_FromLong((long) 106));
9345 PyDict_SetItemString(d,"wxSTC_HPA_COMMENTLINE", PyInt_FromLong((long) 107));
9346 PyDict_SetItemString(d,"wxSTC_HPA_NUMBER", PyInt_FromLong((long) 108));
9347 PyDict_SetItemString(d,"wxSTC_HPA_STRING", PyInt_FromLong((long) 109));
9348 PyDict_SetItemString(d,"wxSTC_HPA_CHARACTER", PyInt_FromLong((long) 110));
9349 PyDict_SetItemString(d,"wxSTC_HPA_WORD", PyInt_FromLong((long) 111));
9350 PyDict_SetItemString(d,"wxSTC_HPA_TRIPLE", PyInt_FromLong((long) 112));
9351 PyDict_SetItemString(d,"wxSTC_HPA_TRIPLEDOUBLE", PyInt_FromLong((long) 113));
9352 PyDict_SetItemString(d,"wxSTC_HPA_CLASSNAME", PyInt_FromLong((long) 114));
9353 PyDict_SetItemString(d,"wxSTC_HPA_DEFNAME", PyInt_FromLong((long) 115));
9354 PyDict_SetItemString(d,"wxSTC_HPA_OPERATOR", PyInt_FromLong((long) 116));
9355 PyDict_SetItemString(d,"wxSTC_HPA_IDENTIFIER", PyInt_FromLong((long) 117));
9356 PyDict_SetItemString(d,"wxSTC_HPHP_DEFAULT", PyInt_FromLong((long) 118));
9357 PyDict_SetItemString(d,"wxSTC_HPHP_HSTRING", PyInt_FromLong((long) 119));
9358 PyDict_SetItemString(d,"wxSTC_HPHP_SIMPLESTRING", PyInt_FromLong((long) 120));
9359 PyDict_SetItemString(d,"wxSTC_HPHP_WORD", PyInt_FromLong((long) 121));
9360 PyDict_SetItemString(d,"wxSTC_HPHP_NUMBER", PyInt_FromLong((long) 122));
9361 PyDict_SetItemString(d,"wxSTC_HPHP_VARIABLE", PyInt_FromLong((long) 123));
9362 PyDict_SetItemString(d,"wxSTC_HPHP_COMMENT", PyInt_FromLong((long) 124));
9363 PyDict_SetItemString(d,"wxSTC_HPHP_COMMENTLINE", PyInt_FromLong((long) 125));
9364 PyDict_SetItemString(d,"wxSTC_HPHP_STRINGEOL", PyInt_FromLong((long) 126));
9365 PyDict_SetItemString(d,"wxSTC_PL_DEFAULT", PyInt_FromLong((long) 0));
9366 PyDict_SetItemString(d,"wxSTC_PL_HERE", PyInt_FromLong((long) 1));
9367 PyDict_SetItemString(d,"wxSTC_PL_COMMENTLINE", PyInt_FromLong((long) 2));
9368 PyDict_SetItemString(d,"wxSTC_PL_POD", PyInt_FromLong((long) 3));
9369 PyDict_SetItemString(d,"wxSTC_PL_NUMBER", PyInt_FromLong((long) 4));
9370 PyDict_SetItemString(d,"wxSTC_PL_WORD", PyInt_FromLong((long) 5));
9371 PyDict_SetItemString(d,"wxSTC_PL_STRING", PyInt_FromLong((long) 6));
9372 PyDict_SetItemString(d,"wxSTC_PL_CHARACTER", PyInt_FromLong((long) 7));
9373 PyDict_SetItemString(d,"wxSTC_PL_PUNCTUATION", PyInt_FromLong((long) 8));
9374 PyDict_SetItemString(d,"wxSTC_PL_PREPROCESSOR", PyInt_FromLong((long) 9));
9375 PyDict_SetItemString(d,"wxSTC_PL_OPERATOR", PyInt_FromLong((long) 10));
9376 PyDict_SetItemString(d,"wxSTC_PL_IDENTIFIER", PyInt_FromLong((long) 11));
9377 PyDict_SetItemString(d,"wxSTC_PL_SCALAR", PyInt_FromLong((long) 12));
9378 PyDict_SetItemString(d,"wxSTC_PL_ARRAY", PyInt_FromLong((long) 13));
9379 PyDict_SetItemString(d,"wxSTC_PL_HASH", PyInt_FromLong((long) 14));
9380 PyDict_SetItemString(d,"wxSTC_PL_SYMBOLTABLE", PyInt_FromLong((long) 15));
9381 PyDict_SetItemString(d,"wxSTC_PL_REF", PyInt_FromLong((long) 16));
9382 PyDict_SetItemString(d,"wxSTC_PL_REGEX", PyInt_FromLong((long) 17));
9383 PyDict_SetItemString(d,"wxSTC_PL_REGSUBST", PyInt_FromLong((long) 18));
9384 PyDict_SetItemString(d,"wxSTC_PL_LONGQUOTE", PyInt_FromLong((long) 19));
9385 PyDict_SetItemString(d,"wxSTC_PL_BACKTICKS", PyInt_FromLong((long) 20));
9386 PyDict_SetItemString(d,"wxSTC_PL_DATASECTION", PyInt_FromLong((long) 21));
9387 PyDict_SetItemString(d,"wxSTC_L_DEFAULT", PyInt_FromLong((long) 0));
9388 PyDict_SetItemString(d,"wxSTC_L_COMMAND", PyInt_FromLong((long) 1));
9389 PyDict_SetItemString(d,"wxSTC_L_TAG", PyInt_FromLong((long) 2));
9390 PyDict_SetItemString(d,"wxSTC_L_MATH", PyInt_FromLong((long) 3));
9391 PyDict_SetItemString(d,"wxSTC_L_COMMENT", PyInt_FromLong((long) 4));
9392 PyDict_SetItemString(d,"wxSTC_LUA_DEFAULT", PyInt_FromLong((long) 0));
9393 PyDict_SetItemString(d,"wxSTC_LUA_COMMENT", PyInt_FromLong((long) 1));
9394 PyDict_SetItemString(d,"wxSTC_LUA_COMMENTLINE", PyInt_FromLong((long) 2));
9395 PyDict_SetItemString(d,"wxSTC_LUA_COMMENTDOC", PyInt_FromLong((long) 3));
9396 PyDict_SetItemString(d,"wxSTC_LUA_NUMBER", PyInt_FromLong((long) 4));
9397 PyDict_SetItemString(d,"wxSTC_LUA_WORD", PyInt_FromLong((long) 5));
9398 PyDict_SetItemString(d,"wxSTC_LUA_STRING", PyInt_FromLong((long) 6));
9399 PyDict_SetItemString(d,"wxSTC_LUA_CHARACTER", PyInt_FromLong((long) 7));
9400 PyDict_SetItemString(d,"wxSTC_LUA_LITERALSTRING", PyInt_FromLong((long) 8));
9401 PyDict_SetItemString(d,"wxSTC_LUA_PREPROCESSOR", PyInt_FromLong((long) 9));
9402 PyDict_SetItemString(d,"wxSTC_LUA_OPERATOR", PyInt_FromLong((long) 10));
9403 PyDict_SetItemString(d,"wxSTC_LUA_IDENTIFIER", PyInt_FromLong((long) 11));
9404 PyDict_SetItemString(d,"wxSTC_LUA_STRINGEOL", PyInt_FromLong((long) 12));
9405 PyDict_SetItemString(d,"wxSTC_ERR_DEFAULT", PyInt_FromLong((long) 0));
9406 PyDict_SetItemString(d,"wxSTC_ERR_PYTHON", PyInt_FromLong((long) 1));
9407 PyDict_SetItemString(d,"wxSTC_ERR_GCC", PyInt_FromLong((long) 2));
9408 PyDict_SetItemString(d,"wxSTC_ERR_MS", PyInt_FromLong((long) 3));
9409 PyDict_SetItemString(d,"wxSTC_ERR_CMD", PyInt_FromLong((long) 4));
9410 PyDict_SetItemString(d,"wxSTC_ERR_BORLAND", PyInt_FromLong((long) 5));
9411 PyDict_SetItemString(d,"wxSTC_ERR_PERL", PyInt_FromLong((long) 6));
9412 PyDict_SetItemString(d,"wxSTC_MASK_FOLDERS", PyInt_FromLong((long) ((1<<(30))|(1<<(31)))));
f6bcfd97
BP
9413 PyDict_SetItemString(d,"wxSTCNameStr", PyString_FromString("wxSTCNameStr"));
9414 PyDict_SetItemString(d,"wxEVT_STC_CHANGE", PyInt_FromLong((long) wxEVT_STC_CHANGE));
9415 PyDict_SetItemString(d,"wxEVT_STC_STYLENEEDED", PyInt_FromLong((long) wxEVT_STC_STYLENEEDED));
9416 PyDict_SetItemString(d,"wxEVT_STC_CHARADDED", PyInt_FromLong((long) wxEVT_STC_CHARADDED));
9417 PyDict_SetItemString(d,"wxEVT_STC_UPDATEUI", PyInt_FromLong((long) wxEVT_STC_UPDATEUI));
9418 PyDict_SetItemString(d,"wxEVT_STC_SAVEPOINTREACHED", PyInt_FromLong((long) wxEVT_STC_SAVEPOINTREACHED));
9419 PyDict_SetItemString(d,"wxEVT_STC_SAVEPOINTLEFT", PyInt_FromLong((long) wxEVT_STC_SAVEPOINTLEFT));
9420 PyDict_SetItemString(d,"wxEVT_STC_ROMODIFYATTEMPT", PyInt_FromLong((long) wxEVT_STC_ROMODIFYATTEMPT));
9421 PyDict_SetItemString(d,"wxEVT_STC_DOUBLECLICK", PyInt_FromLong((long) wxEVT_STC_DOUBLECLICK));
9422 PyDict_SetItemString(d,"wxEVT_STC_MODIFIED", PyInt_FromLong((long) wxEVT_STC_MODIFIED));
9423 PyDict_SetItemString(d,"wxEVT_STC_KEY", PyInt_FromLong((long) wxEVT_STC_KEY));
9424 PyDict_SetItemString(d,"wxEVT_STC_MACRORECORD", PyInt_FromLong((long) wxEVT_STC_MACRORECORD));
9425 PyDict_SetItemString(d,"wxEVT_STC_MARGINCLICK", PyInt_FromLong((long) wxEVT_STC_MARGINCLICK));
9426 PyDict_SetItemString(d,"wxEVT_STC_NEEDSHOWN", PyInt_FromLong((long) wxEVT_STC_NEEDSHOWN));
fe47ec10 9427 PyDict_SetItemString(d,"wxEVT_STC_POSCHANGED", PyInt_FromLong((long) wxEVT_STC_POSCHANGED));
f6bcfd97
BP
9428
9429
e508a2b6
RD
9430 wxClassInfo::CleanUpClasses();
9431 wxClassInfo::InitializeClasses();
f6bcfd97
BP
9432
9433{
9434 int i;
9435 for (i = 0; _swig_mapping[i].n1; i++)
9436 SWIG_RegisterMapping(_swig_mapping[i].n1,_swig_mapping[i].n2,_swig_mapping[i].pcnv);
9437}
9438}