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