]> git.saurik.com Git - wxWidgets.git/blob - wxPython/contrib/stc/msw/stc_.cpp
Patches, updates from contributors, etc.
[wxWidgets.git] / wxPython / contrib / stc / msw / stc_.cpp
1 /*
2 * FILE : contrib/stc/msw/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 required";
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;
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_SetSTCFocus(_swigobj,_swigarg0) (_swigobj->SetSTCFocus(_swigarg0))
7536 static PyObject *_wrap_wxStyledTextCtrl_SetSTCFocus(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_SetSTCFocus",_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_SetSTCFocus. Expected _wxStyledTextCtrl_p.");
7551 return NULL;
7552 }
7553 }
7554 _arg1 = (bool ) tempbool1;
7555 {
7556 wxPy_BEGIN_ALLOW_THREADS;
7557 wxStyledTextCtrl_SetSTCFocus(_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_GetSTCFocus(_swigobj) (_swigobj->GetSTCFocus())
7566 static PyObject *_wrap_wxStyledTextCtrl_GetSTCFocus(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_GetSTCFocus",_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_GetSTCFocus. Expected _wxStyledTextCtrl_p.");
7580 return NULL;
7581 }
7582 }
7583 {
7584 wxPy_BEGIN_ALLOW_THREADS;
7585 _result = (bool )wxStyledTextCtrl_GetSTCFocus(_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 #define wxStyledTextCtrl_SetVScrollBar(_swigobj,_swigarg0) (_swigobj->SetVScrollBar(_swigarg0))
8665 static PyObject *_wrap_wxStyledTextCtrl_SetVScrollBar(PyObject *self, PyObject *args, PyObject *kwargs) {
8666 PyObject * _resultobj;
8667 wxStyledTextCtrl * _arg0;
8668 wxScrollBar * _arg1;
8669 PyObject * _argo0 = 0;
8670 PyObject * _argo1 = 0;
8671 char *_kwnames[] = { "self","bar", NULL };
8672
8673 self = self;
8674 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxStyledTextCtrl_SetVScrollBar",_kwnames,&_argo0,&_argo1))
8675 return NULL;
8676 if (_argo0) {
8677 if (_argo0 == Py_None) { _arg0 = NULL; }
8678 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
8679 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetVScrollBar. Expected _wxStyledTextCtrl_p.");
8680 return NULL;
8681 }
8682 }
8683 if (_argo1) {
8684 if (_argo1 == Py_None) { _arg1 = NULL; }
8685 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxScrollBar_p")) {
8686 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxStyledTextCtrl_SetVScrollBar. Expected _wxScrollBar_p.");
8687 return NULL;
8688 }
8689 }
8690 {
8691 wxPy_BEGIN_ALLOW_THREADS;
8692 wxStyledTextCtrl_SetVScrollBar(_arg0,_arg1);
8693
8694 wxPy_END_ALLOW_THREADS;
8695 } Py_INCREF(Py_None);
8696 _resultobj = Py_None;
8697 return _resultobj;
8698 }
8699
8700 #define wxStyledTextCtrl_SetHScrollBar(_swigobj,_swigarg0) (_swigobj->SetHScrollBar(_swigarg0))
8701 static PyObject *_wrap_wxStyledTextCtrl_SetHScrollBar(PyObject *self, PyObject *args, PyObject *kwargs) {
8702 PyObject * _resultobj;
8703 wxStyledTextCtrl * _arg0;
8704 wxScrollBar * _arg1;
8705 PyObject * _argo0 = 0;
8706 PyObject * _argo1 = 0;
8707 char *_kwnames[] = { "self","bar", NULL };
8708
8709 self = self;
8710 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxStyledTextCtrl_SetHScrollBar",_kwnames,&_argo0,&_argo1))
8711 return NULL;
8712 if (_argo0) {
8713 if (_argo0 == Py_None) { _arg0 = NULL; }
8714 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
8715 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetHScrollBar. Expected _wxStyledTextCtrl_p.");
8716 return NULL;
8717 }
8718 }
8719 if (_argo1) {
8720 if (_argo1 == Py_None) { _arg1 = NULL; }
8721 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxScrollBar_p")) {
8722 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxStyledTextCtrl_SetHScrollBar. Expected _wxScrollBar_p.");
8723 return NULL;
8724 }
8725 }
8726 {
8727 wxPy_BEGIN_ALLOW_THREADS;
8728 wxStyledTextCtrl_SetHScrollBar(_arg0,_arg1);
8729
8730 wxPy_END_ALLOW_THREADS;
8731 } Py_INCREF(Py_None);
8732 _resultobj = Py_None;
8733 return _resultobj;
8734 }
8735
8736 static void *SwigwxStyledTextEventTowxCommandEvent(void *ptr) {
8737 wxStyledTextEvent *src;
8738 wxCommandEvent *dest;
8739 src = (wxStyledTextEvent *) ptr;
8740 dest = (wxCommandEvent *) src;
8741 return (void *) dest;
8742 }
8743
8744 static void *SwigwxStyledTextEventTowxEvent(void *ptr) {
8745 wxStyledTextEvent *src;
8746 wxEvent *dest;
8747 src = (wxStyledTextEvent *) ptr;
8748 dest = (wxEvent *) src;
8749 return (void *) dest;
8750 }
8751
8752 static void *SwigwxStyledTextEventTowxObject(void *ptr) {
8753 wxStyledTextEvent *src;
8754 wxObject *dest;
8755 src = (wxStyledTextEvent *) ptr;
8756 dest = (wxObject *) src;
8757 return (void *) dest;
8758 }
8759
8760 #define new_wxStyledTextEvent(_swigarg0,_swigarg1) (new wxStyledTextEvent(_swigarg0,_swigarg1))
8761 static PyObject *_wrap_new_wxStyledTextEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
8762 PyObject * _resultobj;
8763 wxStyledTextEvent * _result;
8764 wxEventType _arg0 = (wxEventType ) 0;
8765 int _arg1 = (int ) 0;
8766 char *_kwnames[] = { "commandType","id", NULL };
8767 char _ptemp[128];
8768
8769 self = self;
8770 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"|ii:new_wxStyledTextEvent",_kwnames,&_arg0,&_arg1))
8771 return NULL;
8772 {
8773 wxPy_BEGIN_ALLOW_THREADS;
8774 _result = (wxStyledTextEvent *)new_wxStyledTextEvent(_arg0,_arg1);
8775
8776 wxPy_END_ALLOW_THREADS;
8777 } if (_result) {
8778 SWIG_MakePtr(_ptemp, (char *) _result,"_wxStyledTextEvent_p");
8779 _resultobj = Py_BuildValue("s",_ptemp);
8780 } else {
8781 Py_INCREF(Py_None);
8782 _resultobj = Py_None;
8783 }
8784 return _resultobj;
8785 }
8786
8787 #define delete_wxStyledTextEvent(_swigobj) (delete _swigobj)
8788 static PyObject *_wrap_delete_wxStyledTextEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
8789 PyObject * _resultobj;
8790 wxStyledTextEvent * _arg0;
8791 PyObject * _argo0 = 0;
8792 char *_kwnames[] = { "self", NULL };
8793
8794 self = self;
8795 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:delete_wxStyledTextEvent",_kwnames,&_argo0))
8796 return NULL;
8797 if (_argo0) {
8798 if (_argo0 == Py_None) { _arg0 = NULL; }
8799 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextEvent_p")) {
8800 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of delete_wxStyledTextEvent. Expected _wxStyledTextEvent_p.");
8801 return NULL;
8802 }
8803 }
8804 {
8805 wxPy_BEGIN_ALLOW_THREADS;
8806 delete_wxStyledTextEvent(_arg0);
8807
8808 wxPy_END_ALLOW_THREADS;
8809 } Py_INCREF(Py_None);
8810 _resultobj = Py_None;
8811 return _resultobj;
8812 }
8813
8814 #define wxStyledTextEvent_SetPosition(_swigobj,_swigarg0) (_swigobj->SetPosition(_swigarg0))
8815 static PyObject *_wrap_wxStyledTextEvent_SetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
8816 PyObject * _resultobj;
8817 wxStyledTextEvent * _arg0;
8818 int _arg1;
8819 PyObject * _argo0 = 0;
8820 char *_kwnames[] = { "self","pos", NULL };
8821
8822 self = self;
8823 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextEvent_SetPosition",_kwnames,&_argo0,&_arg1))
8824 return NULL;
8825 if (_argo0) {
8826 if (_argo0 == Py_None) { _arg0 = NULL; }
8827 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextEvent_p")) {
8828 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextEvent_SetPosition. Expected _wxStyledTextEvent_p.");
8829 return NULL;
8830 }
8831 }
8832 {
8833 wxPy_BEGIN_ALLOW_THREADS;
8834 wxStyledTextEvent_SetPosition(_arg0,_arg1);
8835
8836 wxPy_END_ALLOW_THREADS;
8837 } Py_INCREF(Py_None);
8838 _resultobj = Py_None;
8839 return _resultobj;
8840 }
8841
8842 #define wxStyledTextEvent_SetKey(_swigobj,_swigarg0) (_swigobj->SetKey(_swigarg0))
8843 static PyObject *_wrap_wxStyledTextEvent_SetKey(PyObject *self, PyObject *args, PyObject *kwargs) {
8844 PyObject * _resultobj;
8845 wxStyledTextEvent * _arg0;
8846 int _arg1;
8847 PyObject * _argo0 = 0;
8848 char *_kwnames[] = { "self","k", NULL };
8849
8850 self = self;
8851 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextEvent_SetKey",_kwnames,&_argo0,&_arg1))
8852 return NULL;
8853 if (_argo0) {
8854 if (_argo0 == Py_None) { _arg0 = NULL; }
8855 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextEvent_p")) {
8856 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextEvent_SetKey. Expected _wxStyledTextEvent_p.");
8857 return NULL;
8858 }
8859 }
8860 {
8861 wxPy_BEGIN_ALLOW_THREADS;
8862 wxStyledTextEvent_SetKey(_arg0,_arg1);
8863
8864 wxPy_END_ALLOW_THREADS;
8865 } Py_INCREF(Py_None);
8866 _resultobj = Py_None;
8867 return _resultobj;
8868 }
8869
8870 #define wxStyledTextEvent_SetModifiers(_swigobj,_swigarg0) (_swigobj->SetModifiers(_swigarg0))
8871 static PyObject *_wrap_wxStyledTextEvent_SetModifiers(PyObject *self, PyObject *args, PyObject *kwargs) {
8872 PyObject * _resultobj;
8873 wxStyledTextEvent * _arg0;
8874 int _arg1;
8875 PyObject * _argo0 = 0;
8876 char *_kwnames[] = { "self","m", NULL };
8877
8878 self = self;
8879 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextEvent_SetModifiers",_kwnames,&_argo0,&_arg1))
8880 return NULL;
8881 if (_argo0) {
8882 if (_argo0 == Py_None) { _arg0 = NULL; }
8883 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextEvent_p")) {
8884 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextEvent_SetModifiers. Expected _wxStyledTextEvent_p.");
8885 return NULL;
8886 }
8887 }
8888 {
8889 wxPy_BEGIN_ALLOW_THREADS;
8890 wxStyledTextEvent_SetModifiers(_arg0,_arg1);
8891
8892 wxPy_END_ALLOW_THREADS;
8893 } Py_INCREF(Py_None);
8894 _resultobj = Py_None;
8895 return _resultobj;
8896 }
8897
8898 #define wxStyledTextEvent_SetModificationType(_swigobj,_swigarg0) (_swigobj->SetModificationType(_swigarg0))
8899 static PyObject *_wrap_wxStyledTextEvent_SetModificationType(PyObject *self, PyObject *args, PyObject *kwargs) {
8900 PyObject * _resultobj;
8901 wxStyledTextEvent * _arg0;
8902 int _arg1;
8903 PyObject * _argo0 = 0;
8904 char *_kwnames[] = { "self","t", NULL };
8905
8906 self = self;
8907 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextEvent_SetModificationType",_kwnames,&_argo0,&_arg1))
8908 return NULL;
8909 if (_argo0) {
8910 if (_argo0 == Py_None) { _arg0 = NULL; }
8911 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextEvent_p")) {
8912 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextEvent_SetModificationType. Expected _wxStyledTextEvent_p.");
8913 return NULL;
8914 }
8915 }
8916 {
8917 wxPy_BEGIN_ALLOW_THREADS;
8918 wxStyledTextEvent_SetModificationType(_arg0,_arg1);
8919
8920 wxPy_END_ALLOW_THREADS;
8921 } Py_INCREF(Py_None);
8922 _resultobj = Py_None;
8923 return _resultobj;
8924 }
8925
8926 #define wxStyledTextEvent_SetText(_swigobj,_swigarg0) (_swigobj->SetText(_swigarg0))
8927 static PyObject *_wrap_wxStyledTextEvent_SetText(PyObject *self, PyObject *args, PyObject *kwargs) {
8928 PyObject * _resultobj;
8929 wxStyledTextEvent * _arg0;
8930 char * _arg1;
8931 PyObject * _argo0 = 0;
8932 char *_kwnames[] = { "self","t", NULL };
8933
8934 self = self;
8935 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Os:wxStyledTextEvent_SetText",_kwnames,&_argo0,&_arg1))
8936 return NULL;
8937 if (_argo0) {
8938 if (_argo0 == Py_None) { _arg0 = NULL; }
8939 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextEvent_p")) {
8940 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextEvent_SetText. Expected _wxStyledTextEvent_p.");
8941 return NULL;
8942 }
8943 }
8944 {
8945 wxPy_BEGIN_ALLOW_THREADS;
8946 wxStyledTextEvent_SetText(_arg0,_arg1);
8947
8948 wxPy_END_ALLOW_THREADS;
8949 } Py_INCREF(Py_None);
8950 _resultobj = Py_None;
8951 return _resultobj;
8952 }
8953
8954 #define wxStyledTextEvent_SetLength(_swigobj,_swigarg0) (_swigobj->SetLength(_swigarg0))
8955 static PyObject *_wrap_wxStyledTextEvent_SetLength(PyObject *self, PyObject *args, PyObject *kwargs) {
8956 PyObject * _resultobj;
8957 wxStyledTextEvent * _arg0;
8958 int _arg1;
8959 PyObject * _argo0 = 0;
8960 char *_kwnames[] = { "self","len", NULL };
8961
8962 self = self;
8963 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextEvent_SetLength",_kwnames,&_argo0,&_arg1))
8964 return NULL;
8965 if (_argo0) {
8966 if (_argo0 == Py_None) { _arg0 = NULL; }
8967 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextEvent_p")) {
8968 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextEvent_SetLength. Expected _wxStyledTextEvent_p.");
8969 return NULL;
8970 }
8971 }
8972 {
8973 wxPy_BEGIN_ALLOW_THREADS;
8974 wxStyledTextEvent_SetLength(_arg0,_arg1);
8975
8976 wxPy_END_ALLOW_THREADS;
8977 } Py_INCREF(Py_None);
8978 _resultobj = Py_None;
8979 return _resultobj;
8980 }
8981
8982 #define wxStyledTextEvent_SetLinesAdded(_swigobj,_swigarg0) (_swigobj->SetLinesAdded(_swigarg0))
8983 static PyObject *_wrap_wxStyledTextEvent_SetLinesAdded(PyObject *self, PyObject *args, PyObject *kwargs) {
8984 PyObject * _resultobj;
8985 wxStyledTextEvent * _arg0;
8986 int _arg1;
8987 PyObject * _argo0 = 0;
8988 char *_kwnames[] = { "self","num", NULL };
8989
8990 self = self;
8991 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextEvent_SetLinesAdded",_kwnames,&_argo0,&_arg1))
8992 return NULL;
8993 if (_argo0) {
8994 if (_argo0 == Py_None) { _arg0 = NULL; }
8995 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextEvent_p")) {
8996 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextEvent_SetLinesAdded. Expected _wxStyledTextEvent_p.");
8997 return NULL;
8998 }
8999 }
9000 {
9001 wxPy_BEGIN_ALLOW_THREADS;
9002 wxStyledTextEvent_SetLinesAdded(_arg0,_arg1);
9003
9004 wxPy_END_ALLOW_THREADS;
9005 } Py_INCREF(Py_None);
9006 _resultobj = Py_None;
9007 return _resultobj;
9008 }
9009
9010 #define wxStyledTextEvent_SetLine(_swigobj,_swigarg0) (_swigobj->SetLine(_swigarg0))
9011 static PyObject *_wrap_wxStyledTextEvent_SetLine(PyObject *self, PyObject *args, PyObject *kwargs) {
9012 PyObject * _resultobj;
9013 wxStyledTextEvent * _arg0;
9014 int _arg1;
9015 PyObject * _argo0 = 0;
9016 char *_kwnames[] = { "self","val", NULL };
9017
9018 self = self;
9019 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextEvent_SetLine",_kwnames,&_argo0,&_arg1))
9020 return NULL;
9021 if (_argo0) {
9022 if (_argo0 == Py_None) { _arg0 = NULL; }
9023 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextEvent_p")) {
9024 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextEvent_SetLine. Expected _wxStyledTextEvent_p.");
9025 return NULL;
9026 }
9027 }
9028 {
9029 wxPy_BEGIN_ALLOW_THREADS;
9030 wxStyledTextEvent_SetLine(_arg0,_arg1);
9031
9032 wxPy_END_ALLOW_THREADS;
9033 } Py_INCREF(Py_None);
9034 _resultobj = Py_None;
9035 return _resultobj;
9036 }
9037
9038 #define wxStyledTextEvent_SetFoldLevelNow(_swigobj,_swigarg0) (_swigobj->SetFoldLevelNow(_swigarg0))
9039 static PyObject *_wrap_wxStyledTextEvent_SetFoldLevelNow(PyObject *self, PyObject *args, PyObject *kwargs) {
9040 PyObject * _resultobj;
9041 wxStyledTextEvent * _arg0;
9042 int _arg1;
9043 PyObject * _argo0 = 0;
9044 char *_kwnames[] = { "self","val", NULL };
9045
9046 self = self;
9047 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextEvent_SetFoldLevelNow",_kwnames,&_argo0,&_arg1))
9048 return NULL;
9049 if (_argo0) {
9050 if (_argo0 == Py_None) { _arg0 = NULL; }
9051 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextEvent_p")) {
9052 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextEvent_SetFoldLevelNow. Expected _wxStyledTextEvent_p.");
9053 return NULL;
9054 }
9055 }
9056 {
9057 wxPy_BEGIN_ALLOW_THREADS;
9058 wxStyledTextEvent_SetFoldLevelNow(_arg0,_arg1);
9059
9060 wxPy_END_ALLOW_THREADS;
9061 } Py_INCREF(Py_None);
9062 _resultobj = Py_None;
9063 return _resultobj;
9064 }
9065
9066 #define wxStyledTextEvent_SetFoldLevelPrev(_swigobj,_swigarg0) (_swigobj->SetFoldLevelPrev(_swigarg0))
9067 static PyObject *_wrap_wxStyledTextEvent_SetFoldLevelPrev(PyObject *self, PyObject *args, PyObject *kwargs) {
9068 PyObject * _resultobj;
9069 wxStyledTextEvent * _arg0;
9070 int _arg1;
9071 PyObject * _argo0 = 0;
9072 char *_kwnames[] = { "self","val", NULL };
9073
9074 self = self;
9075 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextEvent_SetFoldLevelPrev",_kwnames,&_argo0,&_arg1))
9076 return NULL;
9077 if (_argo0) {
9078 if (_argo0 == Py_None) { _arg0 = NULL; }
9079 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextEvent_p")) {
9080 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextEvent_SetFoldLevelPrev. Expected _wxStyledTextEvent_p.");
9081 return NULL;
9082 }
9083 }
9084 {
9085 wxPy_BEGIN_ALLOW_THREADS;
9086 wxStyledTextEvent_SetFoldLevelPrev(_arg0,_arg1);
9087
9088 wxPy_END_ALLOW_THREADS;
9089 } Py_INCREF(Py_None);
9090 _resultobj = Py_None;
9091 return _resultobj;
9092 }
9093
9094 #define wxStyledTextEvent_SetMargin(_swigobj,_swigarg0) (_swigobj->SetMargin(_swigarg0))
9095 static PyObject *_wrap_wxStyledTextEvent_SetMargin(PyObject *self, PyObject *args, PyObject *kwargs) {
9096 PyObject * _resultobj;
9097 wxStyledTextEvent * _arg0;
9098 int _arg1;
9099 PyObject * _argo0 = 0;
9100 char *_kwnames[] = { "self","val", NULL };
9101
9102 self = self;
9103 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextEvent_SetMargin",_kwnames,&_argo0,&_arg1))
9104 return NULL;
9105 if (_argo0) {
9106 if (_argo0 == Py_None) { _arg0 = NULL; }
9107 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextEvent_p")) {
9108 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextEvent_SetMargin. Expected _wxStyledTextEvent_p.");
9109 return NULL;
9110 }
9111 }
9112 {
9113 wxPy_BEGIN_ALLOW_THREADS;
9114 wxStyledTextEvent_SetMargin(_arg0,_arg1);
9115
9116 wxPy_END_ALLOW_THREADS;
9117 } Py_INCREF(Py_None);
9118 _resultobj = Py_None;
9119 return _resultobj;
9120 }
9121
9122 #define wxStyledTextEvent_SetMessage(_swigobj,_swigarg0) (_swigobj->SetMessage(_swigarg0))
9123 static PyObject *_wrap_wxStyledTextEvent_SetMessage(PyObject *self, PyObject *args, PyObject *kwargs) {
9124 PyObject * _resultobj;
9125 wxStyledTextEvent * _arg0;
9126 int _arg1;
9127 PyObject * _argo0 = 0;
9128 char *_kwnames[] = { "self","val", NULL };
9129
9130 self = self;
9131 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextEvent_SetMessage",_kwnames,&_argo0,&_arg1))
9132 return NULL;
9133 if (_argo0) {
9134 if (_argo0 == Py_None) { _arg0 = NULL; }
9135 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextEvent_p")) {
9136 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextEvent_SetMessage. Expected _wxStyledTextEvent_p.");
9137 return NULL;
9138 }
9139 }
9140 {
9141 wxPy_BEGIN_ALLOW_THREADS;
9142 wxStyledTextEvent_SetMessage(_arg0,_arg1);
9143
9144 wxPy_END_ALLOW_THREADS;
9145 } Py_INCREF(Py_None);
9146 _resultobj = Py_None;
9147 return _resultobj;
9148 }
9149
9150 #define wxStyledTextEvent_SetWParam(_swigobj,_swigarg0) (_swigobj->SetWParam(_swigarg0))
9151 static PyObject *_wrap_wxStyledTextEvent_SetWParam(PyObject *self, PyObject *args, PyObject *kwargs) {
9152 PyObject * _resultobj;
9153 wxStyledTextEvent * _arg0;
9154 int _arg1;
9155 PyObject * _argo0 = 0;
9156 char *_kwnames[] = { "self","val", NULL };
9157
9158 self = self;
9159 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextEvent_SetWParam",_kwnames,&_argo0,&_arg1))
9160 return NULL;
9161 if (_argo0) {
9162 if (_argo0 == Py_None) { _arg0 = NULL; }
9163 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextEvent_p")) {
9164 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextEvent_SetWParam. Expected _wxStyledTextEvent_p.");
9165 return NULL;
9166 }
9167 }
9168 {
9169 wxPy_BEGIN_ALLOW_THREADS;
9170 wxStyledTextEvent_SetWParam(_arg0,_arg1);
9171
9172 wxPy_END_ALLOW_THREADS;
9173 } Py_INCREF(Py_None);
9174 _resultobj = Py_None;
9175 return _resultobj;
9176 }
9177
9178 #define wxStyledTextEvent_SetLParam(_swigobj,_swigarg0) (_swigobj->SetLParam(_swigarg0))
9179 static PyObject *_wrap_wxStyledTextEvent_SetLParam(PyObject *self, PyObject *args, PyObject *kwargs) {
9180 PyObject * _resultobj;
9181 wxStyledTextEvent * _arg0;
9182 int _arg1;
9183 PyObject * _argo0 = 0;
9184 char *_kwnames[] = { "self","val", NULL };
9185
9186 self = self;
9187 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextEvent_SetLParam",_kwnames,&_argo0,&_arg1))
9188 return NULL;
9189 if (_argo0) {
9190 if (_argo0 == Py_None) { _arg0 = NULL; }
9191 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextEvent_p")) {
9192 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextEvent_SetLParam. Expected _wxStyledTextEvent_p.");
9193 return NULL;
9194 }
9195 }
9196 {
9197 wxPy_BEGIN_ALLOW_THREADS;
9198 wxStyledTextEvent_SetLParam(_arg0,_arg1);
9199
9200 wxPy_END_ALLOW_THREADS;
9201 } Py_INCREF(Py_None);
9202 _resultobj = Py_None;
9203 return _resultobj;
9204 }
9205
9206 #define wxStyledTextEvent_SetListType(_swigobj,_swigarg0) (_swigobj->SetListType(_swigarg0))
9207 static PyObject *_wrap_wxStyledTextEvent_SetListType(PyObject *self, PyObject *args, PyObject *kwargs) {
9208 PyObject * _resultobj;
9209 wxStyledTextEvent * _arg0;
9210 int _arg1;
9211 PyObject * _argo0 = 0;
9212 char *_kwnames[] = { "self","val", NULL };
9213
9214 self = self;
9215 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextEvent_SetListType",_kwnames,&_argo0,&_arg1))
9216 return NULL;
9217 if (_argo0) {
9218 if (_argo0 == Py_None) { _arg0 = NULL; }
9219 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextEvent_p")) {
9220 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextEvent_SetListType. Expected _wxStyledTextEvent_p.");
9221 return NULL;
9222 }
9223 }
9224 {
9225 wxPy_BEGIN_ALLOW_THREADS;
9226 wxStyledTextEvent_SetListType(_arg0,_arg1);
9227
9228 wxPy_END_ALLOW_THREADS;
9229 } Py_INCREF(Py_None);
9230 _resultobj = Py_None;
9231 return _resultobj;
9232 }
9233
9234 #define wxStyledTextEvent_SetX(_swigobj,_swigarg0) (_swigobj->SetX(_swigarg0))
9235 static PyObject *_wrap_wxStyledTextEvent_SetX(PyObject *self, PyObject *args, PyObject *kwargs) {
9236 PyObject * _resultobj;
9237 wxStyledTextEvent * _arg0;
9238 int _arg1;
9239 PyObject * _argo0 = 0;
9240 char *_kwnames[] = { "self","val", NULL };
9241
9242 self = self;
9243 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextEvent_SetX",_kwnames,&_argo0,&_arg1))
9244 return NULL;
9245 if (_argo0) {
9246 if (_argo0 == Py_None) { _arg0 = NULL; }
9247 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextEvent_p")) {
9248 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextEvent_SetX. Expected _wxStyledTextEvent_p.");
9249 return NULL;
9250 }
9251 }
9252 {
9253 wxPy_BEGIN_ALLOW_THREADS;
9254 wxStyledTextEvent_SetX(_arg0,_arg1);
9255
9256 wxPy_END_ALLOW_THREADS;
9257 } Py_INCREF(Py_None);
9258 _resultobj = Py_None;
9259 return _resultobj;
9260 }
9261
9262 #define wxStyledTextEvent_SetY(_swigobj,_swigarg0) (_swigobj->SetY(_swigarg0))
9263 static PyObject *_wrap_wxStyledTextEvent_SetY(PyObject *self, PyObject *args, PyObject *kwargs) {
9264 PyObject * _resultobj;
9265 wxStyledTextEvent * _arg0;
9266 int _arg1;
9267 PyObject * _argo0 = 0;
9268 char *_kwnames[] = { "self","val", NULL };
9269
9270 self = self;
9271 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextEvent_SetY",_kwnames,&_argo0,&_arg1))
9272 return NULL;
9273 if (_argo0) {
9274 if (_argo0 == Py_None) { _arg0 = NULL; }
9275 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextEvent_p")) {
9276 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextEvent_SetY. Expected _wxStyledTextEvent_p.");
9277 return NULL;
9278 }
9279 }
9280 {
9281 wxPy_BEGIN_ALLOW_THREADS;
9282 wxStyledTextEvent_SetY(_arg0,_arg1);
9283
9284 wxPy_END_ALLOW_THREADS;
9285 } Py_INCREF(Py_None);
9286 _resultobj = Py_None;
9287 return _resultobj;
9288 }
9289
9290 #define wxStyledTextEvent_SetDragText(_swigobj,_swigarg0) (_swigobj->SetDragText(_swigarg0))
9291 static PyObject *_wrap_wxStyledTextEvent_SetDragText(PyObject *self, PyObject *args, PyObject *kwargs) {
9292 PyObject * _resultobj;
9293 wxStyledTextEvent * _arg0;
9294 wxString * _arg1;
9295 PyObject * _argo0 = 0;
9296 PyObject * _obj1 = 0;
9297 char *_kwnames[] = { "self","val", NULL };
9298
9299 self = self;
9300 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxStyledTextEvent_SetDragText",_kwnames,&_argo0,&_obj1))
9301 return NULL;
9302 if (_argo0) {
9303 if (_argo0 == Py_None) { _arg0 = NULL; }
9304 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextEvent_p")) {
9305 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextEvent_SetDragText. Expected _wxStyledTextEvent_p.");
9306 return NULL;
9307 }
9308 }
9309 {
9310 #if PYTHON_API_VERSION >= 1009
9311 char* tmpPtr; int tmpSize;
9312 if (!PyString_Check(_obj1) && !PyUnicode_Check(_obj1)) {
9313 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
9314 return NULL;
9315 }
9316 if (PyString_AsStringAndSize(_obj1, &tmpPtr, &tmpSize) == -1)
9317 return NULL;
9318 _arg1 = new wxString(tmpPtr, tmpSize);
9319 #else
9320 if (!PyString_Check(_obj1)) {
9321 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
9322 return NULL;
9323 }
9324 _arg1 = new wxString(PyString_AS_STRING(_obj1), PyString_GET_SIZE(_obj1));
9325 #endif
9326 }
9327 {
9328 wxPy_BEGIN_ALLOW_THREADS;
9329 wxStyledTextEvent_SetDragText(_arg0,*_arg1);
9330
9331 wxPy_END_ALLOW_THREADS;
9332 } Py_INCREF(Py_None);
9333 _resultobj = Py_None;
9334 {
9335 if (_obj1)
9336 delete _arg1;
9337 }
9338 return _resultobj;
9339 }
9340
9341 #define wxStyledTextEvent_SetDragAllowMove(_swigobj,_swigarg0) (_swigobj->SetDragAllowMove(_swigarg0))
9342 static PyObject *_wrap_wxStyledTextEvent_SetDragAllowMove(PyObject *self, PyObject *args, PyObject *kwargs) {
9343 PyObject * _resultobj;
9344 wxStyledTextEvent * _arg0;
9345 bool _arg1;
9346 PyObject * _argo0 = 0;
9347 int tempbool1;
9348 char *_kwnames[] = { "self","val", NULL };
9349
9350 self = self;
9351 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextEvent_SetDragAllowMove",_kwnames,&_argo0,&tempbool1))
9352 return NULL;
9353 if (_argo0) {
9354 if (_argo0 == Py_None) { _arg0 = NULL; }
9355 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextEvent_p")) {
9356 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextEvent_SetDragAllowMove. Expected _wxStyledTextEvent_p.");
9357 return NULL;
9358 }
9359 }
9360 _arg1 = (bool ) tempbool1;
9361 {
9362 wxPy_BEGIN_ALLOW_THREADS;
9363 wxStyledTextEvent_SetDragAllowMove(_arg0,_arg1);
9364
9365 wxPy_END_ALLOW_THREADS;
9366 } Py_INCREF(Py_None);
9367 _resultobj = Py_None;
9368 return _resultobj;
9369 }
9370
9371 #define wxStyledTextEvent_SetDragResult(_swigobj,_swigarg0) (_swigobj->SetDragResult(_swigarg0))
9372 static PyObject *_wrap_wxStyledTextEvent_SetDragResult(PyObject *self, PyObject *args, PyObject *kwargs) {
9373 PyObject * _resultobj;
9374 wxStyledTextEvent * _arg0;
9375 wxDragResult _arg1;
9376 PyObject * _argo0 = 0;
9377 char *_kwnames[] = { "self","val", NULL };
9378
9379 self = self;
9380 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextEvent_SetDragResult",_kwnames,&_argo0,&_arg1))
9381 return NULL;
9382 if (_argo0) {
9383 if (_argo0 == Py_None) { _arg0 = NULL; }
9384 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextEvent_p")) {
9385 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextEvent_SetDragResult. Expected _wxStyledTextEvent_p.");
9386 return NULL;
9387 }
9388 }
9389 {
9390 wxPy_BEGIN_ALLOW_THREADS;
9391 wxStyledTextEvent_SetDragResult(_arg0,_arg1);
9392
9393 wxPy_END_ALLOW_THREADS;
9394 } Py_INCREF(Py_None);
9395 _resultobj = Py_None;
9396 return _resultobj;
9397 }
9398
9399 #define wxStyledTextEvent_GetPosition(_swigobj) (_swigobj->GetPosition())
9400 static PyObject *_wrap_wxStyledTextEvent_GetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
9401 PyObject * _resultobj;
9402 int _result;
9403 wxStyledTextEvent * _arg0;
9404 PyObject * _argo0 = 0;
9405 char *_kwnames[] = { "self", NULL };
9406
9407 self = self;
9408 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextEvent_GetPosition",_kwnames,&_argo0))
9409 return NULL;
9410 if (_argo0) {
9411 if (_argo0 == Py_None) { _arg0 = NULL; }
9412 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextEvent_p")) {
9413 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextEvent_GetPosition. Expected _wxStyledTextEvent_p.");
9414 return NULL;
9415 }
9416 }
9417 {
9418 wxPy_BEGIN_ALLOW_THREADS;
9419 _result = (int )wxStyledTextEvent_GetPosition(_arg0);
9420
9421 wxPy_END_ALLOW_THREADS;
9422 } _resultobj = Py_BuildValue("i",_result);
9423 return _resultobj;
9424 }
9425
9426 #define wxStyledTextEvent_GetKey(_swigobj) (_swigobj->GetKey())
9427 static PyObject *_wrap_wxStyledTextEvent_GetKey(PyObject *self, PyObject *args, PyObject *kwargs) {
9428 PyObject * _resultobj;
9429 int _result;
9430 wxStyledTextEvent * _arg0;
9431 PyObject * _argo0 = 0;
9432 char *_kwnames[] = { "self", NULL };
9433
9434 self = self;
9435 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextEvent_GetKey",_kwnames,&_argo0))
9436 return NULL;
9437 if (_argo0) {
9438 if (_argo0 == Py_None) { _arg0 = NULL; }
9439 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextEvent_p")) {
9440 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextEvent_GetKey. Expected _wxStyledTextEvent_p.");
9441 return NULL;
9442 }
9443 }
9444 {
9445 wxPy_BEGIN_ALLOW_THREADS;
9446 _result = (int )wxStyledTextEvent_GetKey(_arg0);
9447
9448 wxPy_END_ALLOW_THREADS;
9449 } _resultobj = Py_BuildValue("i",_result);
9450 return _resultobj;
9451 }
9452
9453 #define wxStyledTextEvent_GetModifiers(_swigobj) (_swigobj->GetModifiers())
9454 static PyObject *_wrap_wxStyledTextEvent_GetModifiers(PyObject *self, PyObject *args, PyObject *kwargs) {
9455 PyObject * _resultobj;
9456 int _result;
9457 wxStyledTextEvent * _arg0;
9458 PyObject * _argo0 = 0;
9459 char *_kwnames[] = { "self", NULL };
9460
9461 self = self;
9462 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextEvent_GetModifiers",_kwnames,&_argo0))
9463 return NULL;
9464 if (_argo0) {
9465 if (_argo0 == Py_None) { _arg0 = NULL; }
9466 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextEvent_p")) {
9467 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextEvent_GetModifiers. Expected _wxStyledTextEvent_p.");
9468 return NULL;
9469 }
9470 }
9471 {
9472 wxPy_BEGIN_ALLOW_THREADS;
9473 _result = (int )wxStyledTextEvent_GetModifiers(_arg0);
9474
9475 wxPy_END_ALLOW_THREADS;
9476 } _resultobj = Py_BuildValue("i",_result);
9477 return _resultobj;
9478 }
9479
9480 #define wxStyledTextEvent_GetModificationType(_swigobj) (_swigobj->GetModificationType())
9481 static PyObject *_wrap_wxStyledTextEvent_GetModificationType(PyObject *self, PyObject *args, PyObject *kwargs) {
9482 PyObject * _resultobj;
9483 int _result;
9484 wxStyledTextEvent * _arg0;
9485 PyObject * _argo0 = 0;
9486 char *_kwnames[] = { "self", NULL };
9487
9488 self = self;
9489 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextEvent_GetModificationType",_kwnames,&_argo0))
9490 return NULL;
9491 if (_argo0) {
9492 if (_argo0 == Py_None) { _arg0 = NULL; }
9493 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextEvent_p")) {
9494 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextEvent_GetModificationType. Expected _wxStyledTextEvent_p.");
9495 return NULL;
9496 }
9497 }
9498 {
9499 wxPy_BEGIN_ALLOW_THREADS;
9500 _result = (int )wxStyledTextEvent_GetModificationType(_arg0);
9501
9502 wxPy_END_ALLOW_THREADS;
9503 } _resultobj = Py_BuildValue("i",_result);
9504 return _resultobj;
9505 }
9506
9507 #define wxStyledTextEvent_GetText(_swigobj) (_swigobj->GetText())
9508 static PyObject *_wrap_wxStyledTextEvent_GetText(PyObject *self, PyObject *args, PyObject *kwargs) {
9509 PyObject * _resultobj;
9510 wxString * _result;
9511 wxStyledTextEvent * _arg0;
9512 PyObject * _argo0 = 0;
9513 char *_kwnames[] = { "self", NULL };
9514
9515 self = self;
9516 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextEvent_GetText",_kwnames,&_argo0))
9517 return NULL;
9518 if (_argo0) {
9519 if (_argo0 == Py_None) { _arg0 = NULL; }
9520 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextEvent_p")) {
9521 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextEvent_GetText. Expected _wxStyledTextEvent_p.");
9522 return NULL;
9523 }
9524 }
9525 {
9526 wxPy_BEGIN_ALLOW_THREADS;
9527 _result = new wxString (wxStyledTextEvent_GetText(_arg0));
9528
9529 wxPy_END_ALLOW_THREADS;
9530 }{
9531 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
9532 }
9533 {
9534 delete _result;
9535 }
9536 return _resultobj;
9537 }
9538
9539 #define wxStyledTextEvent_GetLength(_swigobj) (_swigobj->GetLength())
9540 static PyObject *_wrap_wxStyledTextEvent_GetLength(PyObject *self, PyObject *args, PyObject *kwargs) {
9541 PyObject * _resultobj;
9542 int _result;
9543 wxStyledTextEvent * _arg0;
9544 PyObject * _argo0 = 0;
9545 char *_kwnames[] = { "self", NULL };
9546
9547 self = self;
9548 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextEvent_GetLength",_kwnames,&_argo0))
9549 return NULL;
9550 if (_argo0) {
9551 if (_argo0 == Py_None) { _arg0 = NULL; }
9552 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextEvent_p")) {
9553 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextEvent_GetLength. Expected _wxStyledTextEvent_p.");
9554 return NULL;
9555 }
9556 }
9557 {
9558 wxPy_BEGIN_ALLOW_THREADS;
9559 _result = (int )wxStyledTextEvent_GetLength(_arg0);
9560
9561 wxPy_END_ALLOW_THREADS;
9562 } _resultobj = Py_BuildValue("i",_result);
9563 return _resultobj;
9564 }
9565
9566 #define wxStyledTextEvent_GetLinesAdded(_swigobj) (_swigobj->GetLinesAdded())
9567 static PyObject *_wrap_wxStyledTextEvent_GetLinesAdded(PyObject *self, PyObject *args, PyObject *kwargs) {
9568 PyObject * _resultobj;
9569 int _result;
9570 wxStyledTextEvent * _arg0;
9571 PyObject * _argo0 = 0;
9572 char *_kwnames[] = { "self", NULL };
9573
9574 self = self;
9575 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextEvent_GetLinesAdded",_kwnames,&_argo0))
9576 return NULL;
9577 if (_argo0) {
9578 if (_argo0 == Py_None) { _arg0 = NULL; }
9579 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextEvent_p")) {
9580 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextEvent_GetLinesAdded. Expected _wxStyledTextEvent_p.");
9581 return NULL;
9582 }
9583 }
9584 {
9585 wxPy_BEGIN_ALLOW_THREADS;
9586 _result = (int )wxStyledTextEvent_GetLinesAdded(_arg0);
9587
9588 wxPy_END_ALLOW_THREADS;
9589 } _resultobj = Py_BuildValue("i",_result);
9590 return _resultobj;
9591 }
9592
9593 #define wxStyledTextEvent_GetLine(_swigobj) (_swigobj->GetLine())
9594 static PyObject *_wrap_wxStyledTextEvent_GetLine(PyObject *self, PyObject *args, PyObject *kwargs) {
9595 PyObject * _resultobj;
9596 int _result;
9597 wxStyledTextEvent * _arg0;
9598 PyObject * _argo0 = 0;
9599 char *_kwnames[] = { "self", NULL };
9600
9601 self = self;
9602 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextEvent_GetLine",_kwnames,&_argo0))
9603 return NULL;
9604 if (_argo0) {
9605 if (_argo0 == Py_None) { _arg0 = NULL; }
9606 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextEvent_p")) {
9607 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextEvent_GetLine. Expected _wxStyledTextEvent_p.");
9608 return NULL;
9609 }
9610 }
9611 {
9612 wxPy_BEGIN_ALLOW_THREADS;
9613 _result = (int )wxStyledTextEvent_GetLine(_arg0);
9614
9615 wxPy_END_ALLOW_THREADS;
9616 } _resultobj = Py_BuildValue("i",_result);
9617 return _resultobj;
9618 }
9619
9620 #define wxStyledTextEvent_GetFoldLevelNow(_swigobj) (_swigobj->GetFoldLevelNow())
9621 static PyObject *_wrap_wxStyledTextEvent_GetFoldLevelNow(PyObject *self, PyObject *args, PyObject *kwargs) {
9622 PyObject * _resultobj;
9623 int _result;
9624 wxStyledTextEvent * _arg0;
9625 PyObject * _argo0 = 0;
9626 char *_kwnames[] = { "self", NULL };
9627
9628 self = self;
9629 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextEvent_GetFoldLevelNow",_kwnames,&_argo0))
9630 return NULL;
9631 if (_argo0) {
9632 if (_argo0 == Py_None) { _arg0 = NULL; }
9633 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextEvent_p")) {
9634 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextEvent_GetFoldLevelNow. Expected _wxStyledTextEvent_p.");
9635 return NULL;
9636 }
9637 }
9638 {
9639 wxPy_BEGIN_ALLOW_THREADS;
9640 _result = (int )wxStyledTextEvent_GetFoldLevelNow(_arg0);
9641
9642 wxPy_END_ALLOW_THREADS;
9643 } _resultobj = Py_BuildValue("i",_result);
9644 return _resultobj;
9645 }
9646
9647 #define wxStyledTextEvent_GetFoldLevelPrev(_swigobj) (_swigobj->GetFoldLevelPrev())
9648 static PyObject *_wrap_wxStyledTextEvent_GetFoldLevelPrev(PyObject *self, PyObject *args, PyObject *kwargs) {
9649 PyObject * _resultobj;
9650 int _result;
9651 wxStyledTextEvent * _arg0;
9652 PyObject * _argo0 = 0;
9653 char *_kwnames[] = { "self", NULL };
9654
9655 self = self;
9656 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextEvent_GetFoldLevelPrev",_kwnames,&_argo0))
9657 return NULL;
9658 if (_argo0) {
9659 if (_argo0 == Py_None) { _arg0 = NULL; }
9660 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextEvent_p")) {
9661 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextEvent_GetFoldLevelPrev. Expected _wxStyledTextEvent_p.");
9662 return NULL;
9663 }
9664 }
9665 {
9666 wxPy_BEGIN_ALLOW_THREADS;
9667 _result = (int )wxStyledTextEvent_GetFoldLevelPrev(_arg0);
9668
9669 wxPy_END_ALLOW_THREADS;
9670 } _resultobj = Py_BuildValue("i",_result);
9671 return _resultobj;
9672 }
9673
9674 #define wxStyledTextEvent_GetMargin(_swigobj) (_swigobj->GetMargin())
9675 static PyObject *_wrap_wxStyledTextEvent_GetMargin(PyObject *self, PyObject *args, PyObject *kwargs) {
9676 PyObject * _resultobj;
9677 int _result;
9678 wxStyledTextEvent * _arg0;
9679 PyObject * _argo0 = 0;
9680 char *_kwnames[] = { "self", NULL };
9681
9682 self = self;
9683 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextEvent_GetMargin",_kwnames,&_argo0))
9684 return NULL;
9685 if (_argo0) {
9686 if (_argo0 == Py_None) { _arg0 = NULL; }
9687 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextEvent_p")) {
9688 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextEvent_GetMargin. Expected _wxStyledTextEvent_p.");
9689 return NULL;
9690 }
9691 }
9692 {
9693 wxPy_BEGIN_ALLOW_THREADS;
9694 _result = (int )wxStyledTextEvent_GetMargin(_arg0);
9695
9696 wxPy_END_ALLOW_THREADS;
9697 } _resultobj = Py_BuildValue("i",_result);
9698 return _resultobj;
9699 }
9700
9701 #define wxStyledTextEvent_GetMessage(_swigobj) (_swigobj->GetMessage())
9702 static PyObject *_wrap_wxStyledTextEvent_GetMessage(PyObject *self, PyObject *args, PyObject *kwargs) {
9703 PyObject * _resultobj;
9704 int _result;
9705 wxStyledTextEvent * _arg0;
9706 PyObject * _argo0 = 0;
9707 char *_kwnames[] = { "self", NULL };
9708
9709 self = self;
9710 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextEvent_GetMessage",_kwnames,&_argo0))
9711 return NULL;
9712 if (_argo0) {
9713 if (_argo0 == Py_None) { _arg0 = NULL; }
9714 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextEvent_p")) {
9715 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextEvent_GetMessage. Expected _wxStyledTextEvent_p.");
9716 return NULL;
9717 }
9718 }
9719 {
9720 wxPy_BEGIN_ALLOW_THREADS;
9721 _result = (int )wxStyledTextEvent_GetMessage(_arg0);
9722
9723 wxPy_END_ALLOW_THREADS;
9724 } _resultobj = Py_BuildValue("i",_result);
9725 return _resultobj;
9726 }
9727
9728 #define wxStyledTextEvent_GetWParam(_swigobj) (_swigobj->GetWParam())
9729 static PyObject *_wrap_wxStyledTextEvent_GetWParam(PyObject *self, PyObject *args, PyObject *kwargs) {
9730 PyObject * _resultobj;
9731 int _result;
9732 wxStyledTextEvent * _arg0;
9733 PyObject * _argo0 = 0;
9734 char *_kwnames[] = { "self", NULL };
9735
9736 self = self;
9737 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextEvent_GetWParam",_kwnames,&_argo0))
9738 return NULL;
9739 if (_argo0) {
9740 if (_argo0 == Py_None) { _arg0 = NULL; }
9741 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextEvent_p")) {
9742 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextEvent_GetWParam. Expected _wxStyledTextEvent_p.");
9743 return NULL;
9744 }
9745 }
9746 {
9747 wxPy_BEGIN_ALLOW_THREADS;
9748 _result = (int )wxStyledTextEvent_GetWParam(_arg0);
9749
9750 wxPy_END_ALLOW_THREADS;
9751 } _resultobj = Py_BuildValue("i",_result);
9752 return _resultobj;
9753 }
9754
9755 #define wxStyledTextEvent_GetLParam(_swigobj) (_swigobj->GetLParam())
9756 static PyObject *_wrap_wxStyledTextEvent_GetLParam(PyObject *self, PyObject *args, PyObject *kwargs) {
9757 PyObject * _resultobj;
9758 int _result;
9759 wxStyledTextEvent * _arg0;
9760 PyObject * _argo0 = 0;
9761 char *_kwnames[] = { "self", NULL };
9762
9763 self = self;
9764 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextEvent_GetLParam",_kwnames,&_argo0))
9765 return NULL;
9766 if (_argo0) {
9767 if (_argo0 == Py_None) { _arg0 = NULL; }
9768 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextEvent_p")) {
9769 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextEvent_GetLParam. Expected _wxStyledTextEvent_p.");
9770 return NULL;
9771 }
9772 }
9773 {
9774 wxPy_BEGIN_ALLOW_THREADS;
9775 _result = (int )wxStyledTextEvent_GetLParam(_arg0);
9776
9777 wxPy_END_ALLOW_THREADS;
9778 } _resultobj = Py_BuildValue("i",_result);
9779 return _resultobj;
9780 }
9781
9782 #define wxStyledTextEvent_GetListType(_swigobj) (_swigobj->GetListType())
9783 static PyObject *_wrap_wxStyledTextEvent_GetListType(PyObject *self, PyObject *args, PyObject *kwargs) {
9784 PyObject * _resultobj;
9785 int _result;
9786 wxStyledTextEvent * _arg0;
9787 PyObject * _argo0 = 0;
9788 char *_kwnames[] = { "self", NULL };
9789
9790 self = self;
9791 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextEvent_GetListType",_kwnames,&_argo0))
9792 return NULL;
9793 if (_argo0) {
9794 if (_argo0 == Py_None) { _arg0 = NULL; }
9795 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextEvent_p")) {
9796 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextEvent_GetListType. Expected _wxStyledTextEvent_p.");
9797 return NULL;
9798 }
9799 }
9800 {
9801 wxPy_BEGIN_ALLOW_THREADS;
9802 _result = (int )wxStyledTextEvent_GetListType(_arg0);
9803
9804 wxPy_END_ALLOW_THREADS;
9805 } _resultobj = Py_BuildValue("i",_result);
9806 return _resultobj;
9807 }
9808
9809 #define wxStyledTextEvent_GetX(_swigobj) (_swigobj->GetX())
9810 static PyObject *_wrap_wxStyledTextEvent_GetX(PyObject *self, PyObject *args, PyObject *kwargs) {
9811 PyObject * _resultobj;
9812 int _result;
9813 wxStyledTextEvent * _arg0;
9814 PyObject * _argo0 = 0;
9815 char *_kwnames[] = { "self", NULL };
9816
9817 self = self;
9818 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextEvent_GetX",_kwnames,&_argo0))
9819 return NULL;
9820 if (_argo0) {
9821 if (_argo0 == Py_None) { _arg0 = NULL; }
9822 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextEvent_p")) {
9823 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextEvent_GetX. Expected _wxStyledTextEvent_p.");
9824 return NULL;
9825 }
9826 }
9827 {
9828 wxPy_BEGIN_ALLOW_THREADS;
9829 _result = (int )wxStyledTextEvent_GetX(_arg0);
9830
9831 wxPy_END_ALLOW_THREADS;
9832 } _resultobj = Py_BuildValue("i",_result);
9833 return _resultobj;
9834 }
9835
9836 #define wxStyledTextEvent_GetY(_swigobj) (_swigobj->GetY())
9837 static PyObject *_wrap_wxStyledTextEvent_GetY(PyObject *self, PyObject *args, PyObject *kwargs) {
9838 PyObject * _resultobj;
9839 int _result;
9840 wxStyledTextEvent * _arg0;
9841 PyObject * _argo0 = 0;
9842 char *_kwnames[] = { "self", NULL };
9843
9844 self = self;
9845 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextEvent_GetY",_kwnames,&_argo0))
9846 return NULL;
9847 if (_argo0) {
9848 if (_argo0 == Py_None) { _arg0 = NULL; }
9849 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextEvent_p")) {
9850 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextEvent_GetY. Expected _wxStyledTextEvent_p.");
9851 return NULL;
9852 }
9853 }
9854 {
9855 wxPy_BEGIN_ALLOW_THREADS;
9856 _result = (int )wxStyledTextEvent_GetY(_arg0);
9857
9858 wxPy_END_ALLOW_THREADS;
9859 } _resultobj = Py_BuildValue("i",_result);
9860 return _resultobj;
9861 }
9862
9863 #define wxStyledTextEvent_GetDragText(_swigobj) (_swigobj->GetDragText())
9864 static PyObject *_wrap_wxStyledTextEvent_GetDragText(PyObject *self, PyObject *args, PyObject *kwargs) {
9865 PyObject * _resultobj;
9866 wxString * _result;
9867 wxStyledTextEvent * _arg0;
9868 PyObject * _argo0 = 0;
9869 char *_kwnames[] = { "self", NULL };
9870
9871 self = self;
9872 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextEvent_GetDragText",_kwnames,&_argo0))
9873 return NULL;
9874 if (_argo0) {
9875 if (_argo0 == Py_None) { _arg0 = NULL; }
9876 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextEvent_p")) {
9877 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextEvent_GetDragText. Expected _wxStyledTextEvent_p.");
9878 return NULL;
9879 }
9880 }
9881 {
9882 wxPy_BEGIN_ALLOW_THREADS;
9883 _result = new wxString (wxStyledTextEvent_GetDragText(_arg0));
9884
9885 wxPy_END_ALLOW_THREADS;
9886 }{
9887 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
9888 }
9889 {
9890 delete _result;
9891 }
9892 return _resultobj;
9893 }
9894
9895 #define wxStyledTextEvent_GetDragAllowMove(_swigobj) (_swigobj->GetDragAllowMove())
9896 static PyObject *_wrap_wxStyledTextEvent_GetDragAllowMove(PyObject *self, PyObject *args, PyObject *kwargs) {
9897 PyObject * _resultobj;
9898 bool _result;
9899 wxStyledTextEvent * _arg0;
9900 PyObject * _argo0 = 0;
9901 char *_kwnames[] = { "self", NULL };
9902
9903 self = self;
9904 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextEvent_GetDragAllowMove",_kwnames,&_argo0))
9905 return NULL;
9906 if (_argo0) {
9907 if (_argo0 == Py_None) { _arg0 = NULL; }
9908 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextEvent_p")) {
9909 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextEvent_GetDragAllowMove. Expected _wxStyledTextEvent_p.");
9910 return NULL;
9911 }
9912 }
9913 {
9914 wxPy_BEGIN_ALLOW_THREADS;
9915 _result = (bool )wxStyledTextEvent_GetDragAllowMove(_arg0);
9916
9917 wxPy_END_ALLOW_THREADS;
9918 } _resultobj = Py_BuildValue("i",_result);
9919 return _resultobj;
9920 }
9921
9922 #define wxStyledTextEvent_GetDragResult(_swigobj) (_swigobj->GetDragResult())
9923 static PyObject *_wrap_wxStyledTextEvent_GetDragResult(PyObject *self, PyObject *args, PyObject *kwargs) {
9924 PyObject * _resultobj;
9925 wxDragResult _result;
9926 wxStyledTextEvent * _arg0;
9927 PyObject * _argo0 = 0;
9928 char *_kwnames[] = { "self", NULL };
9929
9930 self = self;
9931 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextEvent_GetDragResult",_kwnames,&_argo0))
9932 return NULL;
9933 if (_argo0) {
9934 if (_argo0 == Py_None) { _arg0 = NULL; }
9935 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextEvent_p")) {
9936 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextEvent_GetDragResult. Expected _wxStyledTextEvent_p.");
9937 return NULL;
9938 }
9939 }
9940 {
9941 wxPy_BEGIN_ALLOW_THREADS;
9942 _result = (wxDragResult )wxStyledTextEvent_GetDragResult(_arg0);
9943
9944 wxPy_END_ALLOW_THREADS;
9945 } _resultobj = Py_BuildValue("i",_result);
9946 return _resultobj;
9947 }
9948
9949 #define wxStyledTextEvent_GetShift(_swigobj) (_swigobj->GetShift())
9950 static PyObject *_wrap_wxStyledTextEvent_GetShift(PyObject *self, PyObject *args, PyObject *kwargs) {
9951 PyObject * _resultobj;
9952 bool _result;
9953 wxStyledTextEvent * _arg0;
9954 PyObject * _argo0 = 0;
9955 char *_kwnames[] = { "self", NULL };
9956
9957 self = self;
9958 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextEvent_GetShift",_kwnames,&_argo0))
9959 return NULL;
9960 if (_argo0) {
9961 if (_argo0 == Py_None) { _arg0 = NULL; }
9962 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextEvent_p")) {
9963 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextEvent_GetShift. Expected _wxStyledTextEvent_p.");
9964 return NULL;
9965 }
9966 }
9967 {
9968 wxPy_BEGIN_ALLOW_THREADS;
9969 _result = (bool )wxStyledTextEvent_GetShift(_arg0);
9970
9971 wxPy_END_ALLOW_THREADS;
9972 } _resultobj = Py_BuildValue("i",_result);
9973 return _resultobj;
9974 }
9975
9976 #define wxStyledTextEvent_GetControl(_swigobj) (_swigobj->GetControl())
9977 static PyObject *_wrap_wxStyledTextEvent_GetControl(PyObject *self, PyObject *args, PyObject *kwargs) {
9978 PyObject * _resultobj;
9979 bool _result;
9980 wxStyledTextEvent * _arg0;
9981 PyObject * _argo0 = 0;
9982 char *_kwnames[] = { "self", NULL };
9983
9984 self = self;
9985 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextEvent_GetControl",_kwnames,&_argo0))
9986 return NULL;
9987 if (_argo0) {
9988 if (_argo0 == Py_None) { _arg0 = NULL; }
9989 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextEvent_p")) {
9990 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextEvent_GetControl. Expected _wxStyledTextEvent_p.");
9991 return NULL;
9992 }
9993 }
9994 {
9995 wxPy_BEGIN_ALLOW_THREADS;
9996 _result = (bool )wxStyledTextEvent_GetControl(_arg0);
9997
9998 wxPy_END_ALLOW_THREADS;
9999 } _resultobj = Py_BuildValue("i",_result);
10000 return _resultobj;
10001 }
10002
10003 #define wxStyledTextEvent_GetAlt(_swigobj) (_swigobj->GetAlt())
10004 static PyObject *_wrap_wxStyledTextEvent_GetAlt(PyObject *self, PyObject *args, PyObject *kwargs) {
10005 PyObject * _resultobj;
10006 bool _result;
10007 wxStyledTextEvent * _arg0;
10008 PyObject * _argo0 = 0;
10009 char *_kwnames[] = { "self", NULL };
10010
10011 self = self;
10012 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextEvent_GetAlt",_kwnames,&_argo0))
10013 return NULL;
10014 if (_argo0) {
10015 if (_argo0 == Py_None) { _arg0 = NULL; }
10016 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextEvent_p")) {
10017 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextEvent_GetAlt. Expected _wxStyledTextEvent_p.");
10018 return NULL;
10019 }
10020 }
10021 {
10022 wxPy_BEGIN_ALLOW_THREADS;
10023 _result = (bool )wxStyledTextEvent_GetAlt(_arg0);
10024
10025 wxPy_END_ALLOW_THREADS;
10026 } _resultobj = Py_BuildValue("i",_result);
10027 return _resultobj;
10028 }
10029
10030 #define wxStyledTextEvent_Clone(_swigobj) (_swigobj->Clone())
10031 static PyObject *_wrap_wxStyledTextEvent_Clone(PyObject *self, PyObject *args, PyObject *kwargs) {
10032 PyObject * _resultobj;
10033 wxEvent * _result;
10034 wxStyledTextEvent * _arg0;
10035 PyObject * _argo0 = 0;
10036 char *_kwnames[] = { "self", NULL };
10037 char _ptemp[128];
10038
10039 self = self;
10040 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextEvent_Clone",_kwnames,&_argo0))
10041 return NULL;
10042 if (_argo0) {
10043 if (_argo0 == Py_None) { _arg0 = NULL; }
10044 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextEvent_p")) {
10045 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextEvent_Clone. Expected _wxStyledTextEvent_p.");
10046 return NULL;
10047 }
10048 }
10049 {
10050 wxPy_BEGIN_ALLOW_THREADS;
10051 _result = (wxEvent *)wxStyledTextEvent_Clone(_arg0);
10052
10053 wxPy_END_ALLOW_THREADS;
10054 } if (_result) {
10055 SWIG_MakePtr(_ptemp, (char *) _result,"_wxEvent_p");
10056 _resultobj = Py_BuildValue("s",_ptemp);
10057 } else {
10058 Py_INCREF(Py_None);
10059 _resultobj = Py_None;
10060 }
10061 return _resultobj;
10062 }
10063
10064 static PyMethodDef stc_cMethods[] = {
10065 { "wxStyledTextEvent_Clone", (PyCFunction) _wrap_wxStyledTextEvent_Clone, METH_VARARGS | METH_KEYWORDS },
10066 { "wxStyledTextEvent_GetAlt", (PyCFunction) _wrap_wxStyledTextEvent_GetAlt, METH_VARARGS | METH_KEYWORDS },
10067 { "wxStyledTextEvent_GetControl", (PyCFunction) _wrap_wxStyledTextEvent_GetControl, METH_VARARGS | METH_KEYWORDS },
10068 { "wxStyledTextEvent_GetShift", (PyCFunction) _wrap_wxStyledTextEvent_GetShift, METH_VARARGS | METH_KEYWORDS },
10069 { "wxStyledTextEvent_GetDragResult", (PyCFunction) _wrap_wxStyledTextEvent_GetDragResult, METH_VARARGS | METH_KEYWORDS },
10070 { "wxStyledTextEvent_GetDragAllowMove", (PyCFunction) _wrap_wxStyledTextEvent_GetDragAllowMove, METH_VARARGS | METH_KEYWORDS },
10071 { "wxStyledTextEvent_GetDragText", (PyCFunction) _wrap_wxStyledTextEvent_GetDragText, METH_VARARGS | METH_KEYWORDS },
10072 { "wxStyledTextEvent_GetY", (PyCFunction) _wrap_wxStyledTextEvent_GetY, METH_VARARGS | METH_KEYWORDS },
10073 { "wxStyledTextEvent_GetX", (PyCFunction) _wrap_wxStyledTextEvent_GetX, METH_VARARGS | METH_KEYWORDS },
10074 { "wxStyledTextEvent_GetListType", (PyCFunction) _wrap_wxStyledTextEvent_GetListType, METH_VARARGS | METH_KEYWORDS },
10075 { "wxStyledTextEvent_GetLParam", (PyCFunction) _wrap_wxStyledTextEvent_GetLParam, METH_VARARGS | METH_KEYWORDS },
10076 { "wxStyledTextEvent_GetWParam", (PyCFunction) _wrap_wxStyledTextEvent_GetWParam, METH_VARARGS | METH_KEYWORDS },
10077 { "wxStyledTextEvent_GetMessage", (PyCFunction) _wrap_wxStyledTextEvent_GetMessage, METH_VARARGS | METH_KEYWORDS },
10078 { "wxStyledTextEvent_GetMargin", (PyCFunction) _wrap_wxStyledTextEvent_GetMargin, METH_VARARGS | METH_KEYWORDS },
10079 { "wxStyledTextEvent_GetFoldLevelPrev", (PyCFunction) _wrap_wxStyledTextEvent_GetFoldLevelPrev, METH_VARARGS | METH_KEYWORDS },
10080 { "wxStyledTextEvent_GetFoldLevelNow", (PyCFunction) _wrap_wxStyledTextEvent_GetFoldLevelNow, METH_VARARGS | METH_KEYWORDS },
10081 { "wxStyledTextEvent_GetLine", (PyCFunction) _wrap_wxStyledTextEvent_GetLine, METH_VARARGS | METH_KEYWORDS },
10082 { "wxStyledTextEvent_GetLinesAdded", (PyCFunction) _wrap_wxStyledTextEvent_GetLinesAdded, METH_VARARGS | METH_KEYWORDS },
10083 { "wxStyledTextEvent_GetLength", (PyCFunction) _wrap_wxStyledTextEvent_GetLength, METH_VARARGS | METH_KEYWORDS },
10084 { "wxStyledTextEvent_GetText", (PyCFunction) _wrap_wxStyledTextEvent_GetText, METH_VARARGS | METH_KEYWORDS },
10085 { "wxStyledTextEvent_GetModificationType", (PyCFunction) _wrap_wxStyledTextEvent_GetModificationType, METH_VARARGS | METH_KEYWORDS },
10086 { "wxStyledTextEvent_GetModifiers", (PyCFunction) _wrap_wxStyledTextEvent_GetModifiers, METH_VARARGS | METH_KEYWORDS },
10087 { "wxStyledTextEvent_GetKey", (PyCFunction) _wrap_wxStyledTextEvent_GetKey, METH_VARARGS | METH_KEYWORDS },
10088 { "wxStyledTextEvent_GetPosition", (PyCFunction) _wrap_wxStyledTextEvent_GetPosition, METH_VARARGS | METH_KEYWORDS },
10089 { "wxStyledTextEvent_SetDragResult", (PyCFunction) _wrap_wxStyledTextEvent_SetDragResult, METH_VARARGS | METH_KEYWORDS },
10090 { "wxStyledTextEvent_SetDragAllowMove", (PyCFunction) _wrap_wxStyledTextEvent_SetDragAllowMove, METH_VARARGS | METH_KEYWORDS },
10091 { "wxStyledTextEvent_SetDragText", (PyCFunction) _wrap_wxStyledTextEvent_SetDragText, METH_VARARGS | METH_KEYWORDS },
10092 { "wxStyledTextEvent_SetY", (PyCFunction) _wrap_wxStyledTextEvent_SetY, METH_VARARGS | METH_KEYWORDS },
10093 { "wxStyledTextEvent_SetX", (PyCFunction) _wrap_wxStyledTextEvent_SetX, METH_VARARGS | METH_KEYWORDS },
10094 { "wxStyledTextEvent_SetListType", (PyCFunction) _wrap_wxStyledTextEvent_SetListType, METH_VARARGS | METH_KEYWORDS },
10095 { "wxStyledTextEvent_SetLParam", (PyCFunction) _wrap_wxStyledTextEvent_SetLParam, METH_VARARGS | METH_KEYWORDS },
10096 { "wxStyledTextEvent_SetWParam", (PyCFunction) _wrap_wxStyledTextEvent_SetWParam, METH_VARARGS | METH_KEYWORDS },
10097 { "wxStyledTextEvent_SetMessage", (PyCFunction) _wrap_wxStyledTextEvent_SetMessage, METH_VARARGS | METH_KEYWORDS },
10098 { "wxStyledTextEvent_SetMargin", (PyCFunction) _wrap_wxStyledTextEvent_SetMargin, METH_VARARGS | METH_KEYWORDS },
10099 { "wxStyledTextEvent_SetFoldLevelPrev", (PyCFunction) _wrap_wxStyledTextEvent_SetFoldLevelPrev, METH_VARARGS | METH_KEYWORDS },
10100 { "wxStyledTextEvent_SetFoldLevelNow", (PyCFunction) _wrap_wxStyledTextEvent_SetFoldLevelNow, METH_VARARGS | METH_KEYWORDS },
10101 { "wxStyledTextEvent_SetLine", (PyCFunction) _wrap_wxStyledTextEvent_SetLine, METH_VARARGS | METH_KEYWORDS },
10102 { "wxStyledTextEvent_SetLinesAdded", (PyCFunction) _wrap_wxStyledTextEvent_SetLinesAdded, METH_VARARGS | METH_KEYWORDS },
10103 { "wxStyledTextEvent_SetLength", (PyCFunction) _wrap_wxStyledTextEvent_SetLength, METH_VARARGS | METH_KEYWORDS },
10104 { "wxStyledTextEvent_SetText", (PyCFunction) _wrap_wxStyledTextEvent_SetText, METH_VARARGS | METH_KEYWORDS },
10105 { "wxStyledTextEvent_SetModificationType", (PyCFunction) _wrap_wxStyledTextEvent_SetModificationType, METH_VARARGS | METH_KEYWORDS },
10106 { "wxStyledTextEvent_SetModifiers", (PyCFunction) _wrap_wxStyledTextEvent_SetModifiers, METH_VARARGS | METH_KEYWORDS },
10107 { "wxStyledTextEvent_SetKey", (PyCFunction) _wrap_wxStyledTextEvent_SetKey, METH_VARARGS | METH_KEYWORDS },
10108 { "wxStyledTextEvent_SetPosition", (PyCFunction) _wrap_wxStyledTextEvent_SetPosition, METH_VARARGS | METH_KEYWORDS },
10109 { "delete_wxStyledTextEvent", (PyCFunction) _wrap_delete_wxStyledTextEvent, METH_VARARGS | METH_KEYWORDS },
10110 { "new_wxStyledTextEvent", (PyCFunction) _wrap_new_wxStyledTextEvent, METH_VARARGS | METH_KEYWORDS },
10111 { "wxStyledTextCtrl_SetHScrollBar", (PyCFunction) _wrap_wxStyledTextCtrl_SetHScrollBar, METH_VARARGS | METH_KEYWORDS },
10112 { "wxStyledTextCtrl_SetVScrollBar", (PyCFunction) _wrap_wxStyledTextCtrl_SetVScrollBar, METH_VARARGS | METH_KEYWORDS },
10113 { "wxStyledTextCtrl_SendMsg", (PyCFunction) _wrap_wxStyledTextCtrl_SendMsg, METH_VARARGS | METH_KEYWORDS },
10114 { "wxStyledTextCtrl_ScrollToColumn", (PyCFunction) _wrap_wxStyledTextCtrl_ScrollToColumn, METH_VARARGS | METH_KEYWORDS },
10115 { "wxStyledTextCtrl_ScrollToLine", (PyCFunction) _wrap_wxStyledTextCtrl_ScrollToLine, METH_VARARGS | METH_KEYWORDS },
10116 { "wxStyledTextCtrl_PointFromPosition", (PyCFunction) _wrap_wxStyledTextCtrl_PointFromPosition, METH_VARARGS | METH_KEYWORDS },
10117 { "wxStyledTextCtrl_GetSelection", (PyCFunction) _wrap_wxStyledTextCtrl_GetSelection, METH_VARARGS | METH_KEYWORDS },
10118 { "wxStyledTextCtrl_SetMargins", (PyCFunction) _wrap_wxStyledTextCtrl_SetMargins, METH_VARARGS | METH_KEYWORDS },
10119 { "wxStyledTextCtrl_CmdKeyExecute", (PyCFunction) _wrap_wxStyledTextCtrl_CmdKeyExecute, METH_VARARGS | METH_KEYWORDS },
10120 { "wxStyledTextCtrl_StyleSetFontAttr", (PyCFunction) _wrap_wxStyledTextCtrl_StyleSetFontAttr, METH_VARARGS | METH_KEYWORDS },
10121 { "wxStyledTextCtrl_StyleSetFont", (PyCFunction) _wrap_wxStyledTextCtrl_StyleSetFont, METH_VARARGS | METH_KEYWORDS },
10122 { "wxStyledTextCtrl_StyleSetSpec", (PyCFunction) _wrap_wxStyledTextCtrl_StyleSetSpec, METH_VARARGS | METH_KEYWORDS },
10123 { "wxStyledTextCtrl_GetCurrentLine", (PyCFunction) _wrap_wxStyledTextCtrl_GetCurrentLine, METH_VARARGS | METH_KEYWORDS },
10124 { "wxStyledTextCtrl_SetLexerLanguage", (PyCFunction) _wrap_wxStyledTextCtrl_SetLexerLanguage, METH_VARARGS | METH_KEYWORDS },
10125 { "wxStyledTextCtrl_SetKeyWords", (PyCFunction) _wrap_wxStyledTextCtrl_SetKeyWords, METH_VARARGS | METH_KEYWORDS },
10126 { "wxStyledTextCtrl_SetProperty", (PyCFunction) _wrap_wxStyledTextCtrl_SetProperty, METH_VARARGS | METH_KEYWORDS },
10127 { "wxStyledTextCtrl_Colourise", (PyCFunction) _wrap_wxStyledTextCtrl_Colourise, METH_VARARGS | METH_KEYWORDS },
10128 { "wxStyledTextCtrl_GetLexer", (PyCFunction) _wrap_wxStyledTextCtrl_GetLexer, METH_VARARGS | METH_KEYWORDS },
10129 { "wxStyledTextCtrl_SetLexer", (PyCFunction) _wrap_wxStyledTextCtrl_SetLexer, METH_VARARGS | METH_KEYWORDS },
10130 { "wxStyledTextCtrl_StopRecord", (PyCFunction) _wrap_wxStyledTextCtrl_StopRecord, METH_VARARGS | METH_KEYWORDS },
10131 { "wxStyledTextCtrl_StartRecord", (PyCFunction) _wrap_wxStyledTextCtrl_StartRecord, METH_VARARGS | METH_KEYWORDS },
10132 { "wxStyledTextCtrl_DelLineRight", (PyCFunction) _wrap_wxStyledTextCtrl_DelLineRight, METH_VARARGS | METH_KEYWORDS },
10133 { "wxStyledTextCtrl_DelLineLeft", (PyCFunction) _wrap_wxStyledTextCtrl_DelLineLeft, METH_VARARGS | METH_KEYWORDS },
10134 { "wxStyledTextCtrl_SetVisiblePolicy", (PyCFunction) _wrap_wxStyledTextCtrl_SetVisiblePolicy, METH_VARARGS | METH_KEYWORDS },
10135 { "wxStyledTextCtrl_WordPartRightExtend", (PyCFunction) _wrap_wxStyledTextCtrl_WordPartRightExtend, METH_VARARGS | METH_KEYWORDS },
10136 { "wxStyledTextCtrl_WordPartRight", (PyCFunction) _wrap_wxStyledTextCtrl_WordPartRight, METH_VARARGS | METH_KEYWORDS },
10137 { "wxStyledTextCtrl_WordPartLeftExtend", (PyCFunction) _wrap_wxStyledTextCtrl_WordPartLeftExtend, METH_VARARGS | METH_KEYWORDS },
10138 { "wxStyledTextCtrl_WordPartLeft", (PyCFunction) _wrap_wxStyledTextCtrl_WordPartLeft, METH_VARARGS | METH_KEYWORDS },
10139 { "wxStyledTextCtrl_GetCursor", (PyCFunction) _wrap_wxStyledTextCtrl_GetCursor, METH_VARARGS | METH_KEYWORDS },
10140 { "wxStyledTextCtrl_SetCursor", (PyCFunction) _wrap_wxStyledTextCtrl_SetCursor, METH_VARARGS | METH_KEYWORDS },
10141 { "wxStyledTextCtrl_GetMouseDownCaptures", (PyCFunction) _wrap_wxStyledTextCtrl_GetMouseDownCaptures, METH_VARARGS | METH_KEYWORDS },
10142 { "wxStyledTextCtrl_SetMouseDownCaptures", (PyCFunction) _wrap_wxStyledTextCtrl_SetMouseDownCaptures, METH_VARARGS | METH_KEYWORDS },
10143 { "wxStyledTextCtrl_GetStatus", (PyCFunction) _wrap_wxStyledTextCtrl_GetStatus, METH_VARARGS | METH_KEYWORDS },
10144 { "wxStyledTextCtrl_SetStatus", (PyCFunction) _wrap_wxStyledTextCtrl_SetStatus, METH_VARARGS | METH_KEYWORDS },
10145 { "wxStyledTextCtrl_GetSTCFocus", (PyCFunction) _wrap_wxStyledTextCtrl_GetSTCFocus, METH_VARARGS | METH_KEYWORDS },
10146 { "wxStyledTextCtrl_SetSTCFocus", (PyCFunction) _wrap_wxStyledTextCtrl_SetSTCFocus, METH_VARARGS | METH_KEYWORDS },
10147 { "wxStyledTextCtrl_GetModEventMask", (PyCFunction) _wrap_wxStyledTextCtrl_GetModEventMask, METH_VARARGS | METH_KEYWORDS },
10148 { "wxStyledTextCtrl_ReleaseDocument", (PyCFunction) _wrap_wxStyledTextCtrl_ReleaseDocument, METH_VARARGS | METH_KEYWORDS },
10149 { "wxStyledTextCtrl_AddRefDocument", (PyCFunction) _wrap_wxStyledTextCtrl_AddRefDocument, METH_VARARGS | METH_KEYWORDS },
10150 { "wxStyledTextCtrl_CreateDocument", (PyCFunction) _wrap_wxStyledTextCtrl_CreateDocument, METH_VARARGS | METH_KEYWORDS },
10151 { "wxStyledTextCtrl_GetZoom", (PyCFunction) _wrap_wxStyledTextCtrl_GetZoom, METH_VARARGS | METH_KEYWORDS },
10152 { "wxStyledTextCtrl_SetZoom", (PyCFunction) _wrap_wxStyledTextCtrl_SetZoom, METH_VARARGS | METH_KEYWORDS },
10153 { "wxStyledTextCtrl_SelectionIsRectangle", (PyCFunction) _wrap_wxStyledTextCtrl_SelectionIsRectangle, METH_VARARGS | METH_KEYWORDS },
10154 { "wxStyledTextCtrl_UsePopUp", (PyCFunction) _wrap_wxStyledTextCtrl_UsePopUp, METH_VARARGS | METH_KEYWORDS },
10155 { "wxStyledTextCtrl_LinesOnScreen", (PyCFunction) _wrap_wxStyledTextCtrl_LinesOnScreen, METH_VARARGS | METH_KEYWORDS },
10156 { "wxStyledTextCtrl_SetCaretPolicy", (PyCFunction) _wrap_wxStyledTextCtrl_SetCaretPolicy, METH_VARARGS | METH_KEYWORDS },
10157 { "wxStyledTextCtrl_SearchPrev", (PyCFunction) _wrap_wxStyledTextCtrl_SearchPrev, METH_VARARGS | METH_KEYWORDS },
10158 { "wxStyledTextCtrl_SearchNext", (PyCFunction) _wrap_wxStyledTextCtrl_SearchNext, METH_VARARGS | METH_KEYWORDS },
10159 { "wxStyledTextCtrl_SearchAnchor", (PyCFunction) _wrap_wxStyledTextCtrl_SearchAnchor, METH_VARARGS | METH_KEYWORDS },
10160 { "wxStyledTextCtrl_SetEdgeColour", (PyCFunction) _wrap_wxStyledTextCtrl_SetEdgeColour, METH_VARARGS | METH_KEYWORDS },
10161 { "wxStyledTextCtrl_GetEdgeColour", (PyCFunction) _wrap_wxStyledTextCtrl_GetEdgeColour, METH_VARARGS | METH_KEYWORDS },
10162 { "wxStyledTextCtrl_SetEdgeMode", (PyCFunction) _wrap_wxStyledTextCtrl_SetEdgeMode, METH_VARARGS | METH_KEYWORDS },
10163 { "wxStyledTextCtrl_GetEdgeMode", (PyCFunction) _wrap_wxStyledTextCtrl_GetEdgeMode, METH_VARARGS | METH_KEYWORDS },
10164 { "wxStyledTextCtrl_SetEdgeColumn", (PyCFunction) _wrap_wxStyledTextCtrl_SetEdgeColumn, METH_VARARGS | METH_KEYWORDS },
10165 { "wxStyledTextCtrl_GetEdgeColumn", (PyCFunction) _wrap_wxStyledTextCtrl_GetEdgeColumn, METH_VARARGS | METH_KEYWORDS },
10166 { "wxStyledTextCtrl_SetModEventMask", (PyCFunction) _wrap_wxStyledTextCtrl_SetModEventMask, METH_VARARGS | METH_KEYWORDS },
10167 { "wxStyledTextCtrl_SetDocPointer", (PyCFunction) _wrap_wxStyledTextCtrl_SetDocPointer, METH_VARARGS | METH_KEYWORDS },
10168 { "wxStyledTextCtrl_GetDocPointer", (PyCFunction) _wrap_wxStyledTextCtrl_GetDocPointer, METH_VARARGS | METH_KEYWORDS },
10169 { "wxStyledTextCtrl_SetViewEOL", (PyCFunction) _wrap_wxStyledTextCtrl_SetViewEOL, METH_VARARGS | METH_KEYWORDS },
10170 { "wxStyledTextCtrl_GetViewEOL", (PyCFunction) _wrap_wxStyledTextCtrl_GetViewEOL, METH_VARARGS | METH_KEYWORDS },
10171 { "wxStyledTextCtrl_BraceMatch", (PyCFunction) _wrap_wxStyledTextCtrl_BraceMatch, METH_VARARGS | METH_KEYWORDS },
10172 { "wxStyledTextCtrl_BraceBadLight", (PyCFunction) _wrap_wxStyledTextCtrl_BraceBadLight, METH_VARARGS | METH_KEYWORDS },
10173 { "wxStyledTextCtrl_BraceHighlight", (PyCFunction) _wrap_wxStyledTextCtrl_BraceHighlight, METH_VARARGS | METH_KEYWORDS },
10174 { "wxStyledTextCtrl_LineLength", (PyCFunction) _wrap_wxStyledTextCtrl_LineLength, METH_VARARGS | METH_KEYWORDS },
10175 { "wxStyledTextCtrl_MoveCaretInsideView", (PyCFunction) _wrap_wxStyledTextCtrl_MoveCaretInsideView, METH_VARARGS | METH_KEYWORDS },
10176 { "wxStyledTextCtrl_GetMouseDwellTime", (PyCFunction) _wrap_wxStyledTextCtrl_GetMouseDwellTime, METH_VARARGS | METH_KEYWORDS },
10177 { "wxStyledTextCtrl_SetMouseDwellTime", (PyCFunction) _wrap_wxStyledTextCtrl_SetMouseDwellTime, METH_VARARGS | METH_KEYWORDS },
10178 { "wxStyledTextCtrl_GetBackSpaceUnIndents", (PyCFunction) _wrap_wxStyledTextCtrl_GetBackSpaceUnIndents, METH_VARARGS | METH_KEYWORDS },
10179 { "wxStyledTextCtrl_SetBackSpaceUnIndents", (PyCFunction) _wrap_wxStyledTextCtrl_SetBackSpaceUnIndents, METH_VARARGS | METH_KEYWORDS },
10180 { "wxStyledTextCtrl_GetTabIndents", (PyCFunction) _wrap_wxStyledTextCtrl_GetTabIndents, METH_VARARGS | METH_KEYWORDS },
10181 { "wxStyledTextCtrl_SetTabIndents", (PyCFunction) _wrap_wxStyledTextCtrl_SetTabIndents, METH_VARARGS | METH_KEYWORDS },
10182 { "wxStyledTextCtrl_EnsureVisibleEnforcePolicy", (PyCFunction) _wrap_wxStyledTextCtrl_EnsureVisibleEnforcePolicy, METH_VARARGS | METH_KEYWORDS },
10183 { "wxStyledTextCtrl_SetFoldFlags", (PyCFunction) _wrap_wxStyledTextCtrl_SetFoldFlags, METH_VARARGS | METH_KEYWORDS },
10184 { "wxStyledTextCtrl_EnsureVisible", (PyCFunction) _wrap_wxStyledTextCtrl_EnsureVisible, METH_VARARGS | METH_KEYWORDS },
10185 { "wxStyledTextCtrl_ToggleFold", (PyCFunction) _wrap_wxStyledTextCtrl_ToggleFold, METH_VARARGS | METH_KEYWORDS },
10186 { "wxStyledTextCtrl_GetFoldExpanded", (PyCFunction) _wrap_wxStyledTextCtrl_GetFoldExpanded, METH_VARARGS | METH_KEYWORDS },
10187 { "wxStyledTextCtrl_SetFoldExpanded", (PyCFunction) _wrap_wxStyledTextCtrl_SetFoldExpanded, METH_VARARGS | METH_KEYWORDS },
10188 { "wxStyledTextCtrl_GetLineVisible", (PyCFunction) _wrap_wxStyledTextCtrl_GetLineVisible, METH_VARARGS | METH_KEYWORDS },
10189 { "wxStyledTextCtrl_HideLines", (PyCFunction) _wrap_wxStyledTextCtrl_HideLines, METH_VARARGS | METH_KEYWORDS },
10190 { "wxStyledTextCtrl_ShowLines", (PyCFunction) _wrap_wxStyledTextCtrl_ShowLines, METH_VARARGS | METH_KEYWORDS },
10191 { "wxStyledTextCtrl_GetFoldParent", (PyCFunction) _wrap_wxStyledTextCtrl_GetFoldParent, METH_VARARGS | METH_KEYWORDS },
10192 { "wxStyledTextCtrl_GetLastChild", (PyCFunction) _wrap_wxStyledTextCtrl_GetLastChild, METH_VARARGS | METH_KEYWORDS },
10193 { "wxStyledTextCtrl_GetFoldLevel", (PyCFunction) _wrap_wxStyledTextCtrl_GetFoldLevel, METH_VARARGS | METH_KEYWORDS },
10194 { "wxStyledTextCtrl_SetFoldLevel", (PyCFunction) _wrap_wxStyledTextCtrl_SetFoldLevel, METH_VARARGS | METH_KEYWORDS },
10195 { "wxStyledTextCtrl_DocLineFromVisible", (PyCFunction) _wrap_wxStyledTextCtrl_DocLineFromVisible, METH_VARARGS | METH_KEYWORDS },
10196 { "wxStyledTextCtrl_VisibleFromDocLine", (PyCFunction) _wrap_wxStyledTextCtrl_VisibleFromDocLine, METH_VARARGS | METH_KEYWORDS },
10197 { "wxStyledTextCtrl_CallTipSetBackground", (PyCFunction) _wrap_wxStyledTextCtrl_CallTipSetBackground, METH_VARARGS | METH_KEYWORDS },
10198 { "wxStyledTextCtrl_CallTipSetHighlight", (PyCFunction) _wrap_wxStyledTextCtrl_CallTipSetHighlight, METH_VARARGS | METH_KEYWORDS },
10199 { "wxStyledTextCtrl_CallTipPosAtStart", (PyCFunction) _wrap_wxStyledTextCtrl_CallTipPosAtStart, METH_VARARGS | METH_KEYWORDS },
10200 { "wxStyledTextCtrl_CallTipActive", (PyCFunction) _wrap_wxStyledTextCtrl_CallTipActive, METH_VARARGS | METH_KEYWORDS },
10201 { "wxStyledTextCtrl_CallTipCancel", (PyCFunction) _wrap_wxStyledTextCtrl_CallTipCancel, METH_VARARGS | METH_KEYWORDS },
10202 { "wxStyledTextCtrl_CallTipShow", (PyCFunction) _wrap_wxStyledTextCtrl_CallTipShow, METH_VARARGS | METH_KEYWORDS },
10203 { "wxStyledTextCtrl_GetSearchFlags", (PyCFunction) _wrap_wxStyledTextCtrl_GetSearchFlags, METH_VARARGS | METH_KEYWORDS },
10204 { "wxStyledTextCtrl_SetSearchFlags", (PyCFunction) _wrap_wxStyledTextCtrl_SetSearchFlags, METH_VARARGS | METH_KEYWORDS },
10205 { "wxStyledTextCtrl_SearchInTarget", (PyCFunction) _wrap_wxStyledTextCtrl_SearchInTarget, METH_VARARGS | METH_KEYWORDS },
10206 { "wxStyledTextCtrl_ReplaceTargetRE", (PyCFunction) _wrap_wxStyledTextCtrl_ReplaceTargetRE, METH_VARARGS | METH_KEYWORDS },
10207 { "wxStyledTextCtrl_ReplaceTarget", (PyCFunction) _wrap_wxStyledTextCtrl_ReplaceTarget, METH_VARARGS | METH_KEYWORDS },
10208 { "wxStyledTextCtrl_GetTargetEnd", (PyCFunction) _wrap_wxStyledTextCtrl_GetTargetEnd, METH_VARARGS | METH_KEYWORDS },
10209 { "wxStyledTextCtrl_SetTargetEnd", (PyCFunction) _wrap_wxStyledTextCtrl_SetTargetEnd, METH_VARARGS | METH_KEYWORDS },
10210 { "wxStyledTextCtrl_GetTargetStart", (PyCFunction) _wrap_wxStyledTextCtrl_GetTargetStart, METH_VARARGS | METH_KEYWORDS },
10211 { "wxStyledTextCtrl_SetTargetStart", (PyCFunction) _wrap_wxStyledTextCtrl_SetTargetStart, METH_VARARGS | METH_KEYWORDS },
10212 { "wxStyledTextCtrl_GetCaretWidth", (PyCFunction) _wrap_wxStyledTextCtrl_GetCaretWidth, METH_VARARGS | METH_KEYWORDS },
10213 { "wxStyledTextCtrl_SetCaretWidth", (PyCFunction) _wrap_wxStyledTextCtrl_SetCaretWidth, METH_VARARGS | METH_KEYWORDS },
10214 { "wxStyledTextCtrl_GetOvertype", (PyCFunction) _wrap_wxStyledTextCtrl_GetOvertype, METH_VARARGS | METH_KEYWORDS },
10215 { "wxStyledTextCtrl_SetOvertype", (PyCFunction) _wrap_wxStyledTextCtrl_SetOvertype, METH_VARARGS | METH_KEYWORDS },
10216 { "wxStyledTextCtrl_GetTextLength", (PyCFunction) _wrap_wxStyledTextCtrl_GetTextLength, METH_VARARGS | METH_KEYWORDS },
10217 { "wxStyledTextCtrl_GetText", (PyCFunction) _wrap_wxStyledTextCtrl_GetText, METH_VARARGS | METH_KEYWORDS },
10218 { "wxStyledTextCtrl_SetText", (PyCFunction) _wrap_wxStyledTextCtrl_SetText, METH_VARARGS | METH_KEYWORDS },
10219 { "wxStyledTextCtrl_Clear", (PyCFunction) _wrap_wxStyledTextCtrl_Clear, METH_VARARGS | METH_KEYWORDS },
10220 { "wxStyledTextCtrl_Paste", (PyCFunction) _wrap_wxStyledTextCtrl_Paste, METH_VARARGS | METH_KEYWORDS },
10221 { "wxStyledTextCtrl_Copy", (PyCFunction) _wrap_wxStyledTextCtrl_Copy, METH_VARARGS | METH_KEYWORDS },
10222 { "wxStyledTextCtrl_Cut", (PyCFunction) _wrap_wxStyledTextCtrl_Cut, METH_VARARGS | METH_KEYWORDS },
10223 { "wxStyledTextCtrl_Undo", (PyCFunction) _wrap_wxStyledTextCtrl_Undo, METH_VARARGS | METH_KEYWORDS },
10224 { "wxStyledTextCtrl_EmptyUndoBuffer", (PyCFunction) _wrap_wxStyledTextCtrl_EmptyUndoBuffer, METH_VARARGS | METH_KEYWORDS },
10225 { "wxStyledTextCtrl_CanUndo", (PyCFunction) _wrap_wxStyledTextCtrl_CanUndo, METH_VARARGS | METH_KEYWORDS },
10226 { "wxStyledTextCtrl_CanPaste", (PyCFunction) _wrap_wxStyledTextCtrl_CanPaste, METH_VARARGS | METH_KEYWORDS },
10227 { "wxStyledTextCtrl_SetReadOnly", (PyCFunction) _wrap_wxStyledTextCtrl_SetReadOnly, METH_VARARGS | METH_KEYWORDS },
10228 { "wxStyledTextCtrl_ReplaceSelection", (PyCFunction) _wrap_wxStyledTextCtrl_ReplaceSelection, METH_VARARGS | METH_KEYWORDS },
10229 { "wxStyledTextCtrl_EnsureCaretVisible", (PyCFunction) _wrap_wxStyledTextCtrl_EnsureCaretVisible, METH_VARARGS | METH_KEYWORDS },
10230 { "wxStyledTextCtrl_LineScroll", (PyCFunction) _wrap_wxStyledTextCtrl_LineScroll, METH_VARARGS | METH_KEYWORDS },
10231 { "wxStyledTextCtrl_PositionFromLine", (PyCFunction) _wrap_wxStyledTextCtrl_PositionFromLine, METH_VARARGS | METH_KEYWORDS },
10232 { "wxStyledTextCtrl_LineFromPosition", (PyCFunction) _wrap_wxStyledTextCtrl_LineFromPosition, METH_VARARGS | METH_KEYWORDS },
10233 { "wxStyledTextCtrl_HideSelection", (PyCFunction) _wrap_wxStyledTextCtrl_HideSelection, METH_VARARGS | METH_KEYWORDS },
10234 { "wxStyledTextCtrl_GetTextRange", (PyCFunction) _wrap_wxStyledTextCtrl_GetTextRange, METH_VARARGS | METH_KEYWORDS },
10235 { "wxStyledTextCtrl_GetSelectedText", (PyCFunction) _wrap_wxStyledTextCtrl_GetSelectedText, METH_VARARGS | METH_KEYWORDS },
10236 { "wxStyledTextCtrl_SetSelection", (PyCFunction) _wrap_wxStyledTextCtrl_SetSelection, METH_VARARGS | METH_KEYWORDS },
10237 { "wxStyledTextCtrl_GetModify", (PyCFunction) _wrap_wxStyledTextCtrl_GetModify, METH_VARARGS | METH_KEYWORDS },
10238 { "wxStyledTextCtrl_GetMarginRight", (PyCFunction) _wrap_wxStyledTextCtrl_GetMarginRight, METH_VARARGS | METH_KEYWORDS },
10239 { "wxStyledTextCtrl_SetMarginRight", (PyCFunction) _wrap_wxStyledTextCtrl_SetMarginRight, METH_VARARGS | METH_KEYWORDS },
10240 { "wxStyledTextCtrl_GetMarginLeft", (PyCFunction) _wrap_wxStyledTextCtrl_GetMarginLeft, METH_VARARGS | METH_KEYWORDS },
10241 { "wxStyledTextCtrl_SetMarginLeft", (PyCFunction) _wrap_wxStyledTextCtrl_SetMarginLeft, METH_VARARGS | METH_KEYWORDS },
10242 { "wxStyledTextCtrl_GetLineCount", (PyCFunction) _wrap_wxStyledTextCtrl_GetLineCount, METH_VARARGS | METH_KEYWORDS },
10243 { "wxStyledTextCtrl_GetLine", (PyCFunction) _wrap_wxStyledTextCtrl_GetLine, METH_VARARGS | METH_KEYWORDS },
10244 { "wxStyledTextCtrl_GetFirstVisibleLine", (PyCFunction) _wrap_wxStyledTextCtrl_GetFirstVisibleLine, METH_VARARGS | METH_KEYWORDS },
10245 { "wxStyledTextCtrl_FormatRange", (PyCFunction) _wrap_wxStyledTextCtrl_FormatRange, METH_VARARGS | METH_KEYWORDS },
10246 { "wxStyledTextCtrl_FindText", (PyCFunction) _wrap_wxStyledTextCtrl_FindText, METH_VARARGS | METH_KEYWORDS },
10247 { "wxStyledTextCtrl_GetPrintColourMode", (PyCFunction) _wrap_wxStyledTextCtrl_GetPrintColourMode, METH_VARARGS | METH_KEYWORDS },
10248 { "wxStyledTextCtrl_SetPrintColourMode", (PyCFunction) _wrap_wxStyledTextCtrl_SetPrintColourMode, METH_VARARGS | METH_KEYWORDS },
10249 { "wxStyledTextCtrl_GetPrintMagnification", (PyCFunction) _wrap_wxStyledTextCtrl_GetPrintMagnification, METH_VARARGS | METH_KEYWORDS },
10250 { "wxStyledTextCtrl_SetPrintMagnification", (PyCFunction) _wrap_wxStyledTextCtrl_SetPrintMagnification, METH_VARARGS | METH_KEYWORDS },
10251 { "wxStyledTextCtrl_GetSelectionEnd", (PyCFunction) _wrap_wxStyledTextCtrl_GetSelectionEnd, METH_VARARGS | METH_KEYWORDS },
10252 { "wxStyledTextCtrl_SetSelectionEnd", (PyCFunction) _wrap_wxStyledTextCtrl_SetSelectionEnd, METH_VARARGS | METH_KEYWORDS },
10253 { "wxStyledTextCtrl_GetSelectionStart", (PyCFunction) _wrap_wxStyledTextCtrl_GetSelectionStart, METH_VARARGS | METH_KEYWORDS },
10254 { "wxStyledTextCtrl_SetSelectionStart", (PyCFunction) _wrap_wxStyledTextCtrl_SetSelectionStart, METH_VARARGS | METH_KEYWORDS },
10255 { "wxStyledTextCtrl_SetCurrentPos", (PyCFunction) _wrap_wxStyledTextCtrl_SetCurrentPos, METH_VARARGS | METH_KEYWORDS },
10256 { "wxStyledTextCtrl_GetReadOnly", (PyCFunction) _wrap_wxStyledTextCtrl_GetReadOnly, METH_VARARGS | METH_KEYWORDS },
10257 { "wxStyledTextCtrl_GetCaretForeground", (PyCFunction) _wrap_wxStyledTextCtrl_GetCaretForeground, METH_VARARGS | METH_KEYWORDS },
10258 { "wxStyledTextCtrl_GetCodePage", (PyCFunction) _wrap_wxStyledTextCtrl_GetCodePage, METH_VARARGS | METH_KEYWORDS },
10259 { "wxStyledTextCtrl_GetLineEndPosition", (PyCFunction) _wrap_wxStyledTextCtrl_GetLineEndPosition, METH_VARARGS | METH_KEYWORDS },
10260 { "wxStyledTextCtrl_GetHighlightGuide", (PyCFunction) _wrap_wxStyledTextCtrl_GetHighlightGuide, METH_VARARGS | METH_KEYWORDS },
10261 { "wxStyledTextCtrl_SetHighlightGuide", (PyCFunction) _wrap_wxStyledTextCtrl_SetHighlightGuide, METH_VARARGS | METH_KEYWORDS },
10262 { "wxStyledTextCtrl_GetIndentationGuides", (PyCFunction) _wrap_wxStyledTextCtrl_GetIndentationGuides, METH_VARARGS | METH_KEYWORDS },
10263 { "wxStyledTextCtrl_SetIndentationGuides", (PyCFunction) _wrap_wxStyledTextCtrl_SetIndentationGuides, METH_VARARGS | METH_KEYWORDS },
10264 { "wxStyledTextCtrl_GetUseHorizontalScrollBar", (PyCFunction) _wrap_wxStyledTextCtrl_GetUseHorizontalScrollBar, METH_VARARGS | METH_KEYWORDS },
10265 { "wxStyledTextCtrl_SetUseHorizontalScrollBar", (PyCFunction) _wrap_wxStyledTextCtrl_SetUseHorizontalScrollBar, METH_VARARGS | METH_KEYWORDS },
10266 { "wxStyledTextCtrl_GetColumn", (PyCFunction) _wrap_wxStyledTextCtrl_GetColumn, METH_VARARGS | METH_KEYWORDS },
10267 { "wxStyledTextCtrl_GetLineIndentPosition", (PyCFunction) _wrap_wxStyledTextCtrl_GetLineIndentPosition, METH_VARARGS | METH_KEYWORDS },
10268 { "wxStyledTextCtrl_GetLineIndentation", (PyCFunction) _wrap_wxStyledTextCtrl_GetLineIndentation, METH_VARARGS | METH_KEYWORDS },
10269 { "wxStyledTextCtrl_SetLineIndentation", (PyCFunction) _wrap_wxStyledTextCtrl_SetLineIndentation, METH_VARARGS | METH_KEYWORDS },
10270 { "wxStyledTextCtrl_GetUseTabs", (PyCFunction) _wrap_wxStyledTextCtrl_GetUseTabs, METH_VARARGS | METH_KEYWORDS },
10271 { "wxStyledTextCtrl_SetUseTabs", (PyCFunction) _wrap_wxStyledTextCtrl_SetUseTabs, METH_VARARGS | METH_KEYWORDS },
10272 { "wxStyledTextCtrl_GetIndent", (PyCFunction) _wrap_wxStyledTextCtrl_GetIndent, METH_VARARGS | METH_KEYWORDS },
10273 { "wxStyledTextCtrl_SetIndent", (PyCFunction) _wrap_wxStyledTextCtrl_SetIndent, METH_VARARGS | METH_KEYWORDS },
10274 { "wxStyledTextCtrl_AutoCompGetAutoHide", (PyCFunction) _wrap_wxStyledTextCtrl_AutoCompGetAutoHide, METH_VARARGS | METH_KEYWORDS },
10275 { "wxStyledTextCtrl_AutoCompSetAutoHide", (PyCFunction) _wrap_wxStyledTextCtrl_AutoCompSetAutoHide, METH_VARARGS | METH_KEYWORDS },
10276 { "wxStyledTextCtrl_UserListShow", (PyCFunction) _wrap_wxStyledTextCtrl_UserListShow, METH_VARARGS | METH_KEYWORDS },
10277 { "wxStyledTextCtrl_AutoCompGetIgnoreCase", (PyCFunction) _wrap_wxStyledTextCtrl_AutoCompGetIgnoreCase, METH_VARARGS | METH_KEYWORDS },
10278 { "wxStyledTextCtrl_AutoCompSetIgnoreCase", (PyCFunction) _wrap_wxStyledTextCtrl_AutoCompSetIgnoreCase, METH_VARARGS | METH_KEYWORDS },
10279 { "wxStyledTextCtrl_AutoCompGetChooseSingle", (PyCFunction) _wrap_wxStyledTextCtrl_AutoCompGetChooseSingle, METH_VARARGS | METH_KEYWORDS },
10280 { "wxStyledTextCtrl_AutoCompSetChooseSingle", (PyCFunction) _wrap_wxStyledTextCtrl_AutoCompSetChooseSingle, METH_VARARGS | METH_KEYWORDS },
10281 { "wxStyledTextCtrl_AutoCompSetFillUps", (PyCFunction) _wrap_wxStyledTextCtrl_AutoCompSetFillUps, METH_VARARGS | METH_KEYWORDS },
10282 { "wxStyledTextCtrl_AutoCompGetCancelAtStart", (PyCFunction) _wrap_wxStyledTextCtrl_AutoCompGetCancelAtStart, METH_VARARGS | METH_KEYWORDS },
10283 { "wxStyledTextCtrl_AutoCompSetCancelAtStart", (PyCFunction) _wrap_wxStyledTextCtrl_AutoCompSetCancelAtStart, METH_VARARGS | METH_KEYWORDS },
10284 { "wxStyledTextCtrl_AutoCompSelect", (PyCFunction) _wrap_wxStyledTextCtrl_AutoCompSelect, METH_VARARGS | METH_KEYWORDS },
10285 { "wxStyledTextCtrl_AutoCompGetSeparator", (PyCFunction) _wrap_wxStyledTextCtrl_AutoCompGetSeparator, METH_VARARGS | METH_KEYWORDS },
10286 { "wxStyledTextCtrl_AutoCompSetSeparator", (PyCFunction) _wrap_wxStyledTextCtrl_AutoCompSetSeparator, METH_VARARGS | METH_KEYWORDS },
10287 { "wxStyledTextCtrl_AutoCompStops", (PyCFunction) _wrap_wxStyledTextCtrl_AutoCompStops, METH_VARARGS | METH_KEYWORDS },
10288 { "wxStyledTextCtrl_AutoCompComplete", (PyCFunction) _wrap_wxStyledTextCtrl_AutoCompComplete, METH_VARARGS | METH_KEYWORDS },
10289 { "wxStyledTextCtrl_AutoCompPosStart", (PyCFunction) _wrap_wxStyledTextCtrl_AutoCompPosStart, METH_VARARGS | METH_KEYWORDS },
10290 { "wxStyledTextCtrl_AutoCompActive", (PyCFunction) _wrap_wxStyledTextCtrl_AutoCompActive, METH_VARARGS | METH_KEYWORDS },
10291 { "wxStyledTextCtrl_AutoCompCancel", (PyCFunction) _wrap_wxStyledTextCtrl_AutoCompCancel, METH_VARARGS | METH_KEYWORDS },
10292 { "wxStyledTextCtrl_AutoCompShow", (PyCFunction) _wrap_wxStyledTextCtrl_AutoCompShow, METH_VARARGS | METH_KEYWORDS },
10293 { "wxStyledTextCtrl_SetCaretLineBack", (PyCFunction) _wrap_wxStyledTextCtrl_SetCaretLineBack, METH_VARARGS | METH_KEYWORDS },
10294 { "wxStyledTextCtrl_GetCaretLineBack", (PyCFunction) _wrap_wxStyledTextCtrl_GetCaretLineBack, METH_VARARGS | METH_KEYWORDS },
10295 { "wxStyledTextCtrl_SetCaretLineVisible", (PyCFunction) _wrap_wxStyledTextCtrl_SetCaretLineVisible, METH_VARARGS | METH_KEYWORDS },
10296 { "wxStyledTextCtrl_GetCaretLineVisible", (PyCFunction) _wrap_wxStyledTextCtrl_GetCaretLineVisible, METH_VARARGS | METH_KEYWORDS },
10297 { "wxStyledTextCtrl_GetMaxLineState", (PyCFunction) _wrap_wxStyledTextCtrl_GetMaxLineState, METH_VARARGS | METH_KEYWORDS },
10298 { "wxStyledTextCtrl_GetLineState", (PyCFunction) _wrap_wxStyledTextCtrl_GetLineState, METH_VARARGS | METH_KEYWORDS },
10299 { "wxStyledTextCtrl_SetLineState", (PyCFunction) _wrap_wxStyledTextCtrl_SetLineState, METH_VARARGS | METH_KEYWORDS },
10300 { "wxStyledTextCtrl_GetStyleBits", (PyCFunction) _wrap_wxStyledTextCtrl_GetStyleBits, METH_VARARGS | METH_KEYWORDS },
10301 { "wxStyledTextCtrl_SetStyleBits", (PyCFunction) _wrap_wxStyledTextCtrl_SetStyleBits, METH_VARARGS | METH_KEYWORDS },
10302 { "wxStyledTextCtrl_IndicatorGetForeground", (PyCFunction) _wrap_wxStyledTextCtrl_IndicatorGetForeground, METH_VARARGS | METH_KEYWORDS },
10303 { "wxStyledTextCtrl_IndicatorSetForeground", (PyCFunction) _wrap_wxStyledTextCtrl_IndicatorSetForeground, METH_VARARGS | METH_KEYWORDS },
10304 { "wxStyledTextCtrl_IndicatorGetStyle", (PyCFunction) _wrap_wxStyledTextCtrl_IndicatorGetStyle, METH_VARARGS | METH_KEYWORDS },
10305 { "wxStyledTextCtrl_IndicatorSetStyle", (PyCFunction) _wrap_wxStyledTextCtrl_IndicatorSetStyle, METH_VARARGS | METH_KEYWORDS },
10306 { "wxStyledTextCtrl_EndUndoAction", (PyCFunction) _wrap_wxStyledTextCtrl_EndUndoAction, METH_VARARGS | METH_KEYWORDS },
10307 { "wxStyledTextCtrl_BeginUndoAction", (PyCFunction) _wrap_wxStyledTextCtrl_BeginUndoAction, METH_VARARGS | METH_KEYWORDS },
10308 { "wxStyledTextCtrl_SetWordChars", (PyCFunction) _wrap_wxStyledTextCtrl_SetWordChars, METH_VARARGS | METH_KEYWORDS },
10309 { "wxStyledTextCtrl_SetCaretPeriod", (PyCFunction) _wrap_wxStyledTextCtrl_SetCaretPeriod, METH_VARARGS | METH_KEYWORDS },
10310 { "wxStyledTextCtrl_GetCaretPeriod", (PyCFunction) _wrap_wxStyledTextCtrl_GetCaretPeriod, METH_VARARGS | METH_KEYWORDS },
10311 { "wxStyledTextCtrl_StyleSetVisible", (PyCFunction) _wrap_wxStyledTextCtrl_StyleSetVisible, METH_VARARGS | METH_KEYWORDS },
10312 { "wxStyledTextCtrl_SetStyleBytes", (PyCFunction) _wrap_wxStyledTextCtrl_SetStyleBytes, METH_VARARGS | METH_KEYWORDS },
10313 { "wxStyledTextCtrl_CmdKeyClearAll", (PyCFunction) _wrap_wxStyledTextCtrl_CmdKeyClearAll, METH_VARARGS | METH_KEYWORDS },
10314 { "wxStyledTextCtrl_CmdKeyClear", (PyCFunction) _wrap_wxStyledTextCtrl_CmdKeyClear, METH_VARARGS | METH_KEYWORDS },
10315 { "wxStyledTextCtrl_CmdKeyAssign", (PyCFunction) _wrap_wxStyledTextCtrl_CmdKeyAssign, METH_VARARGS | METH_KEYWORDS },
10316 { "wxStyledTextCtrl_SetCaretForeground", (PyCFunction) _wrap_wxStyledTextCtrl_SetCaretForeground, METH_VARARGS | METH_KEYWORDS },
10317 { "wxStyledTextCtrl_SetSelBackground", (PyCFunction) _wrap_wxStyledTextCtrl_SetSelBackground, METH_VARARGS | METH_KEYWORDS },
10318 { "wxStyledTextCtrl_SetSelForeground", (PyCFunction) _wrap_wxStyledTextCtrl_SetSelForeground, METH_VARARGS | METH_KEYWORDS },
10319 { "wxStyledTextCtrl_StyleSetCase", (PyCFunction) _wrap_wxStyledTextCtrl_StyleSetCase, METH_VARARGS | METH_KEYWORDS },
10320 { "wxStyledTextCtrl_StyleSetUnderline", (PyCFunction) _wrap_wxStyledTextCtrl_StyleSetUnderline, METH_VARARGS | METH_KEYWORDS },
10321 { "wxStyledTextCtrl_StyleResetDefault", (PyCFunction) _wrap_wxStyledTextCtrl_StyleResetDefault, METH_VARARGS | METH_KEYWORDS },
10322 { "wxStyledTextCtrl_StyleSetEOLFilled", (PyCFunction) _wrap_wxStyledTextCtrl_StyleSetEOLFilled, METH_VARARGS | METH_KEYWORDS },
10323 { "wxStyledTextCtrl_StyleSetFaceName", (PyCFunction) _wrap_wxStyledTextCtrl_StyleSetFaceName, METH_VARARGS | METH_KEYWORDS },
10324 { "wxStyledTextCtrl_StyleSetSize", (PyCFunction) _wrap_wxStyledTextCtrl_StyleSetSize, METH_VARARGS | METH_KEYWORDS },
10325 { "wxStyledTextCtrl_StyleSetItalic", (PyCFunction) _wrap_wxStyledTextCtrl_StyleSetItalic, METH_VARARGS | METH_KEYWORDS },
10326 { "wxStyledTextCtrl_StyleSetBold", (PyCFunction) _wrap_wxStyledTextCtrl_StyleSetBold, METH_VARARGS | METH_KEYWORDS },
10327 { "wxStyledTextCtrl_StyleSetBackground", (PyCFunction) _wrap_wxStyledTextCtrl_StyleSetBackground, METH_VARARGS | METH_KEYWORDS },
10328 { "wxStyledTextCtrl_StyleSetForeground", (PyCFunction) _wrap_wxStyledTextCtrl_StyleSetForeground, METH_VARARGS | METH_KEYWORDS },
10329 { "wxStyledTextCtrl_StyleClearAll", (PyCFunction) _wrap_wxStyledTextCtrl_StyleClearAll, METH_VARARGS | METH_KEYWORDS },
10330 { "wxStyledTextCtrl_GetMarginSensitive", (PyCFunction) _wrap_wxStyledTextCtrl_GetMarginSensitive, METH_VARARGS | METH_KEYWORDS },
10331 { "wxStyledTextCtrl_SetMarginSensitive", (PyCFunction) _wrap_wxStyledTextCtrl_SetMarginSensitive, METH_VARARGS | METH_KEYWORDS },
10332 { "wxStyledTextCtrl_GetMarginMask", (PyCFunction) _wrap_wxStyledTextCtrl_GetMarginMask, METH_VARARGS | METH_KEYWORDS },
10333 { "wxStyledTextCtrl_SetMarginMask", (PyCFunction) _wrap_wxStyledTextCtrl_SetMarginMask, METH_VARARGS | METH_KEYWORDS },
10334 { "wxStyledTextCtrl_GetMarginWidth", (PyCFunction) _wrap_wxStyledTextCtrl_GetMarginWidth, METH_VARARGS | METH_KEYWORDS },
10335 { "wxStyledTextCtrl_SetMarginWidth", (PyCFunction) _wrap_wxStyledTextCtrl_SetMarginWidth, METH_VARARGS | METH_KEYWORDS },
10336 { "wxStyledTextCtrl_GetMarginType", (PyCFunction) _wrap_wxStyledTextCtrl_GetMarginType, METH_VARARGS | METH_KEYWORDS },
10337 { "wxStyledTextCtrl_SetMarginType", (PyCFunction) _wrap_wxStyledTextCtrl_SetMarginType, METH_VARARGS | METH_KEYWORDS },
10338 { "wxStyledTextCtrl_MarkerPrevious", (PyCFunction) _wrap_wxStyledTextCtrl_MarkerPrevious, METH_VARARGS | METH_KEYWORDS },
10339 { "wxStyledTextCtrl_MarkerNext", (PyCFunction) _wrap_wxStyledTextCtrl_MarkerNext, METH_VARARGS | METH_KEYWORDS },
10340 { "wxStyledTextCtrl_MarkerGet", (PyCFunction) _wrap_wxStyledTextCtrl_MarkerGet, METH_VARARGS | METH_KEYWORDS },
10341 { "wxStyledTextCtrl_MarkerDeleteAll", (PyCFunction) _wrap_wxStyledTextCtrl_MarkerDeleteAll, METH_VARARGS | METH_KEYWORDS },
10342 { "wxStyledTextCtrl_MarkerDelete", (PyCFunction) _wrap_wxStyledTextCtrl_MarkerDelete, METH_VARARGS | METH_KEYWORDS },
10343 { "wxStyledTextCtrl_MarkerAdd", (PyCFunction) _wrap_wxStyledTextCtrl_MarkerAdd, METH_VARARGS | METH_KEYWORDS },
10344 { "wxStyledTextCtrl_MarkerSetBackground", (PyCFunction) _wrap_wxStyledTextCtrl_MarkerSetBackground, METH_VARARGS | METH_KEYWORDS },
10345 { "wxStyledTextCtrl_MarkerSetForeground", (PyCFunction) _wrap_wxStyledTextCtrl_MarkerSetForeground, METH_VARARGS | METH_KEYWORDS },
10346 { "wxStyledTextCtrl_MarkerDefine", (PyCFunction) _wrap_wxStyledTextCtrl_MarkerDefine, METH_VARARGS | METH_KEYWORDS },
10347 { "wxStyledTextCtrl_SetCodePage", (PyCFunction) _wrap_wxStyledTextCtrl_SetCodePage, METH_VARARGS | METH_KEYWORDS },
10348 { "wxStyledTextCtrl_GetTabWidth", (PyCFunction) _wrap_wxStyledTextCtrl_GetTabWidth, METH_VARARGS | METH_KEYWORDS },
10349 { "wxStyledTextCtrl_SetTabWidth", (PyCFunction) _wrap_wxStyledTextCtrl_SetTabWidth, METH_VARARGS | METH_KEYWORDS },
10350 { "wxStyledTextCtrl_SetBufferedDraw", (PyCFunction) _wrap_wxStyledTextCtrl_SetBufferedDraw, METH_VARARGS | METH_KEYWORDS },
10351 { "wxStyledTextCtrl_GetBufferedDraw", (PyCFunction) _wrap_wxStyledTextCtrl_GetBufferedDraw, METH_VARARGS | METH_KEYWORDS },
10352 { "wxStyledTextCtrl_SetStyling", (PyCFunction) _wrap_wxStyledTextCtrl_SetStyling, METH_VARARGS | METH_KEYWORDS },
10353 { "wxStyledTextCtrl_StartStyling", (PyCFunction) _wrap_wxStyledTextCtrl_StartStyling, METH_VARARGS | METH_KEYWORDS },
10354 { "wxStyledTextCtrl_SetEOLMode", (PyCFunction) _wrap_wxStyledTextCtrl_SetEOLMode, METH_VARARGS | METH_KEYWORDS },
10355 { "wxStyledTextCtrl_GetEOLMode", (PyCFunction) _wrap_wxStyledTextCtrl_GetEOLMode, METH_VARARGS | METH_KEYWORDS },
10356 { "wxStyledTextCtrl_ConvertEOLs", (PyCFunction) _wrap_wxStyledTextCtrl_ConvertEOLs, METH_VARARGS | METH_KEYWORDS },
10357 { "wxStyledTextCtrl_GetEndStyled", (PyCFunction) _wrap_wxStyledTextCtrl_GetEndStyled, METH_VARARGS | METH_KEYWORDS },
10358 { "wxStyledTextCtrl_GetCurLine", (PyCFunction) _wrap_wxStyledTextCtrl_GetCurLine, METH_VARARGS | METH_KEYWORDS },
10359 { "wxStyledTextCtrl_SetAnchor", (PyCFunction) _wrap_wxStyledTextCtrl_SetAnchor, METH_VARARGS | METH_KEYWORDS },
10360 { "wxStyledTextCtrl_GotoPos", (PyCFunction) _wrap_wxStyledTextCtrl_GotoPos, METH_VARARGS | METH_KEYWORDS },
10361 { "wxStyledTextCtrl_GotoLine", (PyCFunction) _wrap_wxStyledTextCtrl_GotoLine, METH_VARARGS | METH_KEYWORDS },
10362 { "wxStyledTextCtrl_PositionFromPointClose", (PyCFunction) _wrap_wxStyledTextCtrl_PositionFromPointClose, METH_VARARGS | METH_KEYWORDS },
10363 { "wxStyledTextCtrl_PositionFromPoint", (PyCFunction) _wrap_wxStyledTextCtrl_PositionFromPoint, METH_VARARGS | METH_KEYWORDS },
10364 { "wxStyledTextCtrl_SetViewWhiteSpace", (PyCFunction) _wrap_wxStyledTextCtrl_SetViewWhiteSpace, METH_VARARGS | METH_KEYWORDS },
10365 { "wxStyledTextCtrl_GetViewWhiteSpace", (PyCFunction) _wrap_wxStyledTextCtrl_GetViewWhiteSpace, METH_VARARGS | METH_KEYWORDS },
10366 { "wxStyledTextCtrl_GetUndoCollection", (PyCFunction) _wrap_wxStyledTextCtrl_GetUndoCollection, METH_VARARGS | METH_KEYWORDS },
10367 { "wxStyledTextCtrl_MarkerDeleteHandle", (PyCFunction) _wrap_wxStyledTextCtrl_MarkerDeleteHandle, METH_VARARGS | METH_KEYWORDS },
10368 { "wxStyledTextCtrl_MarkerLineFromHandle", (PyCFunction) _wrap_wxStyledTextCtrl_MarkerLineFromHandle, METH_VARARGS | METH_KEYWORDS },
10369 { "wxStyledTextCtrl_CanRedo", (PyCFunction) _wrap_wxStyledTextCtrl_CanRedo, METH_VARARGS | METH_KEYWORDS },
10370 { "wxStyledTextCtrl_GetStyledText", (PyCFunction) _wrap_wxStyledTextCtrl_GetStyledText, METH_VARARGS | METH_KEYWORDS },
10371 { "wxStyledTextCtrl_SetSavePoint", (PyCFunction) _wrap_wxStyledTextCtrl_SetSavePoint, METH_VARARGS | METH_KEYWORDS },
10372 { "wxStyledTextCtrl_SelectAll", (PyCFunction) _wrap_wxStyledTextCtrl_SelectAll, METH_VARARGS | METH_KEYWORDS },
10373 { "wxStyledTextCtrl_SetUndoCollection", (PyCFunction) _wrap_wxStyledTextCtrl_SetUndoCollection, METH_VARARGS | METH_KEYWORDS },
10374 { "wxStyledTextCtrl_Redo", (PyCFunction) _wrap_wxStyledTextCtrl_Redo, METH_VARARGS | METH_KEYWORDS },
10375 { "wxStyledTextCtrl_GetStyleAt", (PyCFunction) _wrap_wxStyledTextCtrl_GetStyleAt, METH_VARARGS | METH_KEYWORDS },
10376 { "wxStyledTextCtrl_GetAnchor", (PyCFunction) _wrap_wxStyledTextCtrl_GetAnchor, METH_VARARGS | METH_KEYWORDS },
10377 { "wxStyledTextCtrl_GetCurrentPos", (PyCFunction) _wrap_wxStyledTextCtrl_GetCurrentPos, METH_VARARGS | METH_KEYWORDS },
10378 { "wxStyledTextCtrl_GetCharAt", (PyCFunction) _wrap_wxStyledTextCtrl_GetCharAt, METH_VARARGS | METH_KEYWORDS },
10379 { "wxStyledTextCtrl_GetLength", (PyCFunction) _wrap_wxStyledTextCtrl_GetLength, METH_VARARGS | METH_KEYWORDS },
10380 { "wxStyledTextCtrl_ClearDocumentStyle", (PyCFunction) _wrap_wxStyledTextCtrl_ClearDocumentStyle, METH_VARARGS | METH_KEYWORDS },
10381 { "wxStyledTextCtrl_ClearAll", (PyCFunction) _wrap_wxStyledTextCtrl_ClearAll, METH_VARARGS | METH_KEYWORDS },
10382 { "wxStyledTextCtrl_InsertText", (PyCFunction) _wrap_wxStyledTextCtrl_InsertText, METH_VARARGS | METH_KEYWORDS },
10383 { "wxStyledTextCtrl_AddStyledText", (PyCFunction) _wrap_wxStyledTextCtrl_AddStyledText, METH_VARARGS | METH_KEYWORDS },
10384 { "wxStyledTextCtrl_AddText", (PyCFunction) _wrap_wxStyledTextCtrl_AddText, METH_VARARGS | METH_KEYWORDS },
10385 { "new_wxStyledTextCtrl", (PyCFunction) _wrap_new_wxStyledTextCtrl, METH_VARARGS | METH_KEYWORDS },
10386 { NULL, NULL }
10387 };
10388 #ifdef __cplusplus
10389 }
10390 #endif
10391 /*
10392 * This table is used by the pointer type-checker
10393 */
10394 static struct { char *n1; char *n2; void *(*pcnv)(void *); } _swig_mapping[] = {
10395 { "_wxEvent","_wxStyledTextEvent",SwigwxStyledTextEventTowxEvent},
10396 { "_signed_long","_long",0},
10397 { "_wxPrintQuality","_wxCoord",0},
10398 { "_wxPrintQuality","_int",0},
10399 { "_wxPrintQuality","_signed_int",0},
10400 { "_wxPrintQuality","_unsigned_int",0},
10401 { "_wxPrintQuality","_wxWindowID",0},
10402 { "_wxPrintQuality","_uint",0},
10403 { "_wxPrintQuality","_EBool",0},
10404 { "_wxPrintQuality","_size_t",0},
10405 { "_wxPrintQuality","_time_t",0},
10406 { "_byte","_unsigned_char",0},
10407 { "_long","_unsigned_long",0},
10408 { "_long","_signed_long",0},
10409 { "_size_t","_wxCoord",0},
10410 { "_size_t","_wxPrintQuality",0},
10411 { "_size_t","_time_t",0},
10412 { "_size_t","_unsigned_int",0},
10413 { "_size_t","_int",0},
10414 { "_size_t","_wxWindowID",0},
10415 { "_size_t","_uint",0},
10416 { "_uint","_wxCoord",0},
10417 { "_uint","_wxPrintQuality",0},
10418 { "_uint","_time_t",0},
10419 { "_uint","_size_t",0},
10420 { "_uint","_unsigned_int",0},
10421 { "_uint","_int",0},
10422 { "_uint","_wxWindowID",0},
10423 { "_wxChar","_char",0},
10424 { "_wxCommandEvent","_wxStyledTextEvent",SwigwxStyledTextEventTowxCommandEvent},
10425 { "_char","_wxChar",0},
10426 { "_struct_wxNativeFontInfo","_wxNativeFontInfo",0},
10427 { "_EBool","_wxCoord",0},
10428 { "_EBool","_wxPrintQuality",0},
10429 { "_EBool","_signed_int",0},
10430 { "_EBool","_int",0},
10431 { "_EBool","_wxWindowID",0},
10432 { "_unsigned_long","_long",0},
10433 { "_wxNativeFontInfo","_struct_wxNativeFontInfo",0},
10434 { "_signed_int","_wxCoord",0},
10435 { "_signed_int","_wxPrintQuality",0},
10436 { "_signed_int","_EBool",0},
10437 { "_signed_int","_wxWindowID",0},
10438 { "_signed_int","_int",0},
10439 { "_WXTYPE","_wxDateTime_t",0},
10440 { "_WXTYPE","_short",0},
10441 { "_WXTYPE","_signed_short",0},
10442 { "_WXTYPE","_unsigned_short",0},
10443 { "_unsigned_short","_wxDateTime_t",0},
10444 { "_unsigned_short","_WXTYPE",0},
10445 { "_unsigned_short","_short",0},
10446 { "_wxObject","_wxStyledTextEvent",SwigwxStyledTextEventTowxObject},
10447 { "_wxObject","_wxStyledTextCtrl",SwigwxStyledTextCtrlTowxObject},
10448 { "_signed_short","_WXTYPE",0},
10449 { "_signed_short","_short",0},
10450 { "_unsigned_char","_byte",0},
10451 { "_wxControl","_wxStyledTextCtrl",SwigwxStyledTextCtrlTowxControl},
10452 { "_unsigned_int","_wxCoord",0},
10453 { "_unsigned_int","_wxPrintQuality",0},
10454 { "_unsigned_int","_time_t",0},
10455 { "_unsigned_int","_size_t",0},
10456 { "_unsigned_int","_uint",0},
10457 { "_unsigned_int","_wxWindowID",0},
10458 { "_unsigned_int","_int",0},
10459 { "_short","_wxDateTime_t",0},
10460 { "_short","_WXTYPE",0},
10461 { "_short","_unsigned_short",0},
10462 { "_short","_signed_short",0},
10463 { "_wxWindowID","_wxCoord",0},
10464 { "_wxWindowID","_wxPrintQuality",0},
10465 { "_wxWindowID","_time_t",0},
10466 { "_wxWindowID","_size_t",0},
10467 { "_wxWindowID","_EBool",0},
10468 { "_wxWindowID","_uint",0},
10469 { "_wxWindowID","_int",0},
10470 { "_wxWindowID","_signed_int",0},
10471 { "_wxWindowID","_unsigned_int",0},
10472 { "_int","_wxCoord",0},
10473 { "_int","_wxPrintQuality",0},
10474 { "_int","_time_t",0},
10475 { "_int","_size_t",0},
10476 { "_int","_EBool",0},
10477 { "_int","_uint",0},
10478 { "_int","_wxWindowID",0},
10479 { "_int","_unsigned_int",0},
10480 { "_int","_signed_int",0},
10481 { "_wxDateTime_t","_unsigned_short",0},
10482 { "_wxDateTime_t","_short",0},
10483 { "_wxDateTime_t","_WXTYPE",0},
10484 { "_time_t","_wxCoord",0},
10485 { "_time_t","_wxPrintQuality",0},
10486 { "_time_t","_unsigned_int",0},
10487 { "_time_t","_int",0},
10488 { "_time_t","_wxWindowID",0},
10489 { "_time_t","_uint",0},
10490 { "_time_t","_size_t",0},
10491 { "_wxCoord","_int",0},
10492 { "_wxCoord","_signed_int",0},
10493 { "_wxCoord","_unsigned_int",0},
10494 { "_wxCoord","_wxWindowID",0},
10495 { "_wxCoord","_uint",0},
10496 { "_wxCoord","_EBool",0},
10497 { "_wxCoord","_size_t",0},
10498 { "_wxCoord","_time_t",0},
10499 { "_wxCoord","_wxPrintQuality",0},
10500 { "_wxEvtHandler","_wxStyledTextCtrl",SwigwxStyledTextCtrlTowxEvtHandler},
10501 { "_wxWindow","_wxStyledTextCtrl",SwigwxStyledTextCtrlTowxWindow},
10502 {0,0,0}};
10503
10504 static PyObject *SWIG_globals;
10505 #ifdef __cplusplus
10506 extern "C"
10507 #endif
10508 SWIGEXPORT(void) initstc_c() {
10509 PyObject *m, *d;
10510 SWIG_globals = SWIG_newvarlink();
10511 m = Py_InitModule("stc_c", stc_cMethods);
10512 d = PyModule_GetDict(m);
10513 PyDict_SetItemString(d,"wxSTC_INVALID_POSITION", PyInt_FromLong((long) -1));
10514 PyDict_SetItemString(d,"wxSTC_START", PyInt_FromLong((long) 2000));
10515 PyDict_SetItemString(d,"wxSTC_OPTIONAL_START", PyInt_FromLong((long) 3000));
10516 PyDict_SetItemString(d,"wxSTC_LEXER_START", PyInt_FromLong((long) 4000));
10517 PyDict_SetItemString(d,"wxSTC_CMD_REDO", PyInt_FromLong((long) 2011));
10518 PyDict_SetItemString(d,"wxSTC_CMD_SELECTALL", PyInt_FromLong((long) 2013));
10519 PyDict_SetItemString(d,"wxSTC_WS_INVISIBLE", PyInt_FromLong((long) 0));
10520 PyDict_SetItemString(d,"wxSTC_WS_VISIBLEALWAYS", PyInt_FromLong((long) 1));
10521 PyDict_SetItemString(d,"wxSTC_WS_VISIBLEAFTERINDENT", PyInt_FromLong((long) 2));
10522 PyDict_SetItemString(d,"wxSTC_EOL_CRLF", PyInt_FromLong((long) 0));
10523 PyDict_SetItemString(d,"wxSTC_EOL_CR", PyInt_FromLong((long) 1));
10524 PyDict_SetItemString(d,"wxSTC_EOL_LF", PyInt_FromLong((long) 2));
10525 PyDict_SetItemString(d,"wxSTC_CP_UTF8", PyInt_FromLong((long) 65001));
10526 PyDict_SetItemString(d,"wxSTC_MARKER_MAX", PyInt_FromLong((long) 31));
10527 PyDict_SetItemString(d,"wxSTC_MARK_CIRCLE", PyInt_FromLong((long) 0));
10528 PyDict_SetItemString(d,"wxSTC_MARK_ROUNDRECT", PyInt_FromLong((long) 1));
10529 PyDict_SetItemString(d,"wxSTC_MARK_ARROW", PyInt_FromLong((long) 2));
10530 PyDict_SetItemString(d,"wxSTC_MARK_SMALLRECT", PyInt_FromLong((long) 3));
10531 PyDict_SetItemString(d,"wxSTC_MARK_SHORTARROW", PyInt_FromLong((long) 4));
10532 PyDict_SetItemString(d,"wxSTC_MARK_EMPTY", PyInt_FromLong((long) 5));
10533 PyDict_SetItemString(d,"wxSTC_MARK_ARROWDOWN", PyInt_FromLong((long) 6));
10534 PyDict_SetItemString(d,"wxSTC_MARK_MINUS", PyInt_FromLong((long) 7));
10535 PyDict_SetItemString(d,"wxSTC_MARK_PLUS", PyInt_FromLong((long) 8));
10536 PyDict_SetItemString(d,"wxSTC_MARK_VLINE", PyInt_FromLong((long) 9));
10537 PyDict_SetItemString(d,"wxSTC_MARK_LCORNER", PyInt_FromLong((long) 10));
10538 PyDict_SetItemString(d,"wxSTC_MARK_TCORNER", PyInt_FromLong((long) 11));
10539 PyDict_SetItemString(d,"wxSTC_MARK_BOXPLUS", PyInt_FromLong((long) 12));
10540 PyDict_SetItemString(d,"wxSTC_MARK_BOXPLUSCONNECTED", PyInt_FromLong((long) 13));
10541 PyDict_SetItemString(d,"wxSTC_MARK_BOXMINUS", PyInt_FromLong((long) 14));
10542 PyDict_SetItemString(d,"wxSTC_MARK_BOXMINUSCONNECTED", PyInt_FromLong((long) 15));
10543 PyDict_SetItemString(d,"wxSTC_MARK_LCORNERCURVE", PyInt_FromLong((long) 16));
10544 PyDict_SetItemString(d,"wxSTC_MARK_TCORNERCURVE", PyInt_FromLong((long) 17));
10545 PyDict_SetItemString(d,"wxSTC_MARK_CIRCLEPLUS", PyInt_FromLong((long) 18));
10546 PyDict_SetItemString(d,"wxSTC_MARK_CIRCLEPLUSCONNECTED", PyInt_FromLong((long) 19));
10547 PyDict_SetItemString(d,"wxSTC_MARK_CIRCLEMINUS", PyInt_FromLong((long) 20));
10548 PyDict_SetItemString(d,"wxSTC_MARK_CIRCLEMINUSCONNECTED", PyInt_FromLong((long) 21));
10549 PyDict_SetItemString(d,"wxSTC_MARK_CHARACTER", PyInt_FromLong((long) 10000));
10550 PyDict_SetItemString(d,"wxSTC_MARKNUM_FOLDEREND", PyInt_FromLong((long) 25));
10551 PyDict_SetItemString(d,"wxSTC_MARKNUM_FOLDEROPENMID", PyInt_FromLong((long) 26));
10552 PyDict_SetItemString(d,"wxSTC_MARKNUM_FOLDERMIDTAIL", PyInt_FromLong((long) 27));
10553 PyDict_SetItemString(d,"wxSTC_MARKNUM_FOLDERTAIL", PyInt_FromLong((long) 28));
10554 PyDict_SetItemString(d,"wxSTC_MARKNUM_FOLDERSUB", PyInt_FromLong((long) 29));
10555 PyDict_SetItemString(d,"wxSTC_MARKNUM_FOLDER", PyInt_FromLong((long) 30));
10556 PyDict_SetItemString(d,"wxSTC_MARKNUM_FOLDEROPEN", PyInt_FromLong((long) 31));
10557 PyDict_SetItemString(d,"wxSTC_MARGIN_SYMBOL", PyInt_FromLong((long) 0));
10558 PyDict_SetItemString(d,"wxSTC_MARGIN_NUMBER", PyInt_FromLong((long) 1));
10559 PyDict_SetItemString(d,"wxSTC_STYLE_DEFAULT", PyInt_FromLong((long) 32));
10560 PyDict_SetItemString(d,"wxSTC_STYLE_LINENUMBER", PyInt_FromLong((long) 33));
10561 PyDict_SetItemString(d,"wxSTC_STYLE_BRACELIGHT", PyInt_FromLong((long) 34));
10562 PyDict_SetItemString(d,"wxSTC_STYLE_BRACEBAD", PyInt_FromLong((long) 35));
10563 PyDict_SetItemString(d,"wxSTC_STYLE_CONTROLCHAR", PyInt_FromLong((long) 36));
10564 PyDict_SetItemString(d,"wxSTC_STYLE_INDENTGUIDE", PyInt_FromLong((long) 37));
10565 PyDict_SetItemString(d,"wxSTC_STYLE_LASTPREDEFINED", PyInt_FromLong((long) 39));
10566 PyDict_SetItemString(d,"wxSTC_STYLE_MAX", PyInt_FromLong((long) 127));
10567 PyDict_SetItemString(d,"wxSTC_CHARSET_ANSI", PyInt_FromLong((long) 0));
10568 PyDict_SetItemString(d,"wxSTC_CHARSET_DEFAULT", PyInt_FromLong((long) 1));
10569 PyDict_SetItemString(d,"wxSTC_CHARSET_BALTIC", PyInt_FromLong((long) 186));
10570 PyDict_SetItemString(d,"wxSTC_CHARSET_CHINESEBIG5", PyInt_FromLong((long) 136));
10571 PyDict_SetItemString(d,"wxSTC_CHARSET_EASTEUROPE", PyInt_FromLong((long) 238));
10572 PyDict_SetItemString(d,"wxSTC_CHARSET_GB2312", PyInt_FromLong((long) 134));
10573 PyDict_SetItemString(d,"wxSTC_CHARSET_GREEK", PyInt_FromLong((long) 161));
10574 PyDict_SetItemString(d,"wxSTC_CHARSET_HANGUL", PyInt_FromLong((long) 129));
10575 PyDict_SetItemString(d,"wxSTC_CHARSET_MAC", PyInt_FromLong((long) 77));
10576 PyDict_SetItemString(d,"wxSTC_CHARSET_OEM", PyInt_FromLong((long) 255));
10577 PyDict_SetItemString(d,"wxSTC_CHARSET_RUSSIAN", PyInt_FromLong((long) 204));
10578 PyDict_SetItemString(d,"wxSTC_CHARSET_SHIFTJIS", PyInt_FromLong((long) 128));
10579 PyDict_SetItemString(d,"wxSTC_CHARSET_SYMBOL", PyInt_FromLong((long) 2));
10580 PyDict_SetItemString(d,"wxSTC_CHARSET_TURKISH", PyInt_FromLong((long) 162));
10581 PyDict_SetItemString(d,"wxSTC_CHARSET_JOHAB", PyInt_FromLong((long) 130));
10582 PyDict_SetItemString(d,"wxSTC_CHARSET_HEBREW", PyInt_FromLong((long) 177));
10583 PyDict_SetItemString(d,"wxSTC_CHARSET_ARABIC", PyInt_FromLong((long) 178));
10584 PyDict_SetItemString(d,"wxSTC_CHARSET_VIETNAMESE", PyInt_FromLong((long) 163));
10585 PyDict_SetItemString(d,"wxSTC_CHARSET_THAI", PyInt_FromLong((long) 222));
10586 PyDict_SetItemString(d,"wxSTC_CASE_MIXED", PyInt_FromLong((long) 0));
10587 PyDict_SetItemString(d,"wxSTC_CASE_UPPER", PyInt_FromLong((long) 1));
10588 PyDict_SetItemString(d,"wxSTC_CASE_LOWER", PyInt_FromLong((long) 2));
10589 PyDict_SetItemString(d,"wxSTC_INDIC_MAX", PyInt_FromLong((long) 7));
10590 PyDict_SetItemString(d,"wxSTC_INDIC_PLAIN", PyInt_FromLong((long) 0));
10591 PyDict_SetItemString(d,"wxSTC_INDIC_SQUIGGLE", PyInt_FromLong((long) 1));
10592 PyDict_SetItemString(d,"wxSTC_INDIC_TT", PyInt_FromLong((long) 2));
10593 PyDict_SetItemString(d,"wxSTC_INDIC_DIAGONAL", PyInt_FromLong((long) 3));
10594 PyDict_SetItemString(d,"wxSTC_INDIC_STRIKE", PyInt_FromLong((long) 4));
10595 PyDict_SetItemString(d,"wxSTC_INDIC0_MASK", PyInt_FromLong((long) 32));
10596 PyDict_SetItemString(d,"wxSTC_INDIC1_MASK", PyInt_FromLong((long) 64));
10597 PyDict_SetItemString(d,"wxSTC_INDIC2_MASK", PyInt_FromLong((long) 128));
10598 PyDict_SetItemString(d,"wxSTC_INDICS_MASK", PyInt_FromLong((long) 224));
10599 PyDict_SetItemString(d,"wxSTC_PRINT_NORMAL", PyInt_FromLong((long) 0));
10600 PyDict_SetItemString(d,"wxSTC_PRINT_INVERTLIGHT", PyInt_FromLong((long) 1));
10601 PyDict_SetItemString(d,"wxSTC_PRINT_BLACKONWHITE", PyInt_FromLong((long) 2));
10602 PyDict_SetItemString(d,"wxSTC_PRINT_COLOURONWHITE", PyInt_FromLong((long) 3));
10603 PyDict_SetItemString(d,"wxSTC_PRINT_COLOURONWHITEDEFAULTBG", PyInt_FromLong((long) 4));
10604 PyDict_SetItemString(d,"wxSTC_FIND_WHOLEWORD", PyInt_FromLong((long) 2));
10605 PyDict_SetItemString(d,"wxSTC_FIND_MATCHCASE", PyInt_FromLong((long) 4));
10606 PyDict_SetItemString(d,"wxSTC_FIND_WORDSTART", PyInt_FromLong((long) 0x00100000));
10607 PyDict_SetItemString(d,"wxSTC_FIND_REGEXP", PyInt_FromLong((long) 0x00200000));
10608 PyDict_SetItemString(d,"wxSTC_CMD_UNDO", PyInt_FromLong((long) 2176));
10609 PyDict_SetItemString(d,"wxSTC_CMD_CUT", PyInt_FromLong((long) 2177));
10610 PyDict_SetItemString(d,"wxSTC_CMD_COPY", PyInt_FromLong((long) 2178));
10611 PyDict_SetItemString(d,"wxSTC_CMD_PASTE", PyInt_FromLong((long) 2179));
10612 PyDict_SetItemString(d,"wxSTC_FOLDLEVELBASE", PyInt_FromLong((long) 0x400));
10613 PyDict_SetItemString(d,"wxSTC_FOLDLEVELWHITEFLAG", PyInt_FromLong((long) 0x1000));
10614 PyDict_SetItemString(d,"wxSTC_FOLDLEVELHEADERFLAG", PyInt_FromLong((long) 0x2000));
10615 PyDict_SetItemString(d,"wxSTC_FOLDLEVELNUMBERMASK", PyInt_FromLong((long) 0x0FFF));
10616 PyDict_SetItemString(d,"wxSTC_TIME_FOREVER", PyInt_FromLong((long) 10000000));
10617 PyDict_SetItemString(d,"wxSTC_CMD_LINEDOWN", PyInt_FromLong((long) 2300));
10618 PyDict_SetItemString(d,"wxSTC_CMD_LINEDOWNEXTEND", PyInt_FromLong((long) 2301));
10619 PyDict_SetItemString(d,"wxSTC_CMD_LINEUP", PyInt_FromLong((long) 2302));
10620 PyDict_SetItemString(d,"wxSTC_CMD_LINEUPEXTEND", PyInt_FromLong((long) 2303));
10621 PyDict_SetItemString(d,"wxSTC_CMD_CHARLEFT", PyInt_FromLong((long) 2304));
10622 PyDict_SetItemString(d,"wxSTC_CMD_CHARLEFTEXTEND", PyInt_FromLong((long) 2305));
10623 PyDict_SetItemString(d,"wxSTC_CMD_CHARRIGHT", PyInt_FromLong((long) 2306));
10624 PyDict_SetItemString(d,"wxSTC_CMD_CHARRIGHTEXTEND", PyInt_FromLong((long) 2307));
10625 PyDict_SetItemString(d,"wxSTC_CMD_WORDLEFT", PyInt_FromLong((long) 2308));
10626 PyDict_SetItemString(d,"wxSTC_CMD_WORDLEFTEXTEND", PyInt_FromLong((long) 2309));
10627 PyDict_SetItemString(d,"wxSTC_CMD_WORDRIGHT", PyInt_FromLong((long) 2310));
10628 PyDict_SetItemString(d,"wxSTC_CMD_WORDRIGHTEXTEND", PyInt_FromLong((long) 2311));
10629 PyDict_SetItemString(d,"wxSTC_CMD_HOME", PyInt_FromLong((long) 2312));
10630 PyDict_SetItemString(d,"wxSTC_CMD_HOMEEXTEND", PyInt_FromLong((long) 2313));
10631 PyDict_SetItemString(d,"wxSTC_CMD_LINEEND", PyInt_FromLong((long) 2314));
10632 PyDict_SetItemString(d,"wxSTC_CMD_LINEENDEXTEND", PyInt_FromLong((long) 2315));
10633 PyDict_SetItemString(d,"wxSTC_CMD_DOCUMENTSTART", PyInt_FromLong((long) 2316));
10634 PyDict_SetItemString(d,"wxSTC_CMD_DOCUMENTSTARTEXTEND", PyInt_FromLong((long) 2317));
10635 PyDict_SetItemString(d,"wxSTC_CMD_DOCUMENTEND", PyInt_FromLong((long) 2318));
10636 PyDict_SetItemString(d,"wxSTC_CMD_DOCUMENTENDEXTEND", PyInt_FromLong((long) 2319));
10637 PyDict_SetItemString(d,"wxSTC_CMD_PAGEUP", PyInt_FromLong((long) 2320));
10638 PyDict_SetItemString(d,"wxSTC_CMD_PAGEUPEXTEND", PyInt_FromLong((long) 2321));
10639 PyDict_SetItemString(d,"wxSTC_CMD_PAGEDOWN", PyInt_FromLong((long) 2322));
10640 PyDict_SetItemString(d,"wxSTC_CMD_PAGEDOWNEXTEND", PyInt_FromLong((long) 2323));
10641 PyDict_SetItemString(d,"wxSTC_CMD_EDITTOGGLEOVERTYPE", PyInt_FromLong((long) 2324));
10642 PyDict_SetItemString(d,"wxSTC_CMD_CANCEL", PyInt_FromLong((long) 2325));
10643 PyDict_SetItemString(d,"wxSTC_CMD_DELETEBACK", PyInt_FromLong((long) 2326));
10644 PyDict_SetItemString(d,"wxSTC_CMD_TAB", PyInt_FromLong((long) 2327));
10645 PyDict_SetItemString(d,"wxSTC_CMD_BACKTAB", PyInt_FromLong((long) 2328));
10646 PyDict_SetItemString(d,"wxSTC_CMD_NEWLINE", PyInt_FromLong((long) 2329));
10647 PyDict_SetItemString(d,"wxSTC_CMD_FORMFEED", PyInt_FromLong((long) 2330));
10648 PyDict_SetItemString(d,"wxSTC_CMD_VCHOME", PyInt_FromLong((long) 2331));
10649 PyDict_SetItemString(d,"wxSTC_CMD_VCHOMEEXTEND", PyInt_FromLong((long) 2332));
10650 PyDict_SetItemString(d,"wxSTC_CMD_ZOOMIN", PyInt_FromLong((long) 2333));
10651 PyDict_SetItemString(d,"wxSTC_CMD_ZOOMOUT", PyInt_FromLong((long) 2334));
10652 PyDict_SetItemString(d,"wxSTC_CMD_DELWORDLEFT", PyInt_FromLong((long) 2335));
10653 PyDict_SetItemString(d,"wxSTC_CMD_DELWORDRIGHT", PyInt_FromLong((long) 2336));
10654 PyDict_SetItemString(d,"wxSTC_CMD_LINECUT", PyInt_FromLong((long) 2337));
10655 PyDict_SetItemString(d,"wxSTC_CMD_LINEDELETE", PyInt_FromLong((long) 2338));
10656 PyDict_SetItemString(d,"wxSTC_CMD_LINETRANSPOSE", PyInt_FromLong((long) 2339));
10657 PyDict_SetItemString(d,"wxSTC_CMD_LOWERCASE", PyInt_FromLong((long) 2340));
10658 PyDict_SetItemString(d,"wxSTC_CMD_UPPERCASE", PyInt_FromLong((long) 2341));
10659 PyDict_SetItemString(d,"wxSTC_CMD_LINESCROLLDOWN", PyInt_FromLong((long) 2342));
10660 PyDict_SetItemString(d,"wxSTC_CMD_LINESCROLLUP", PyInt_FromLong((long) 2343));
10661 PyDict_SetItemString(d,"wxSTC_EDGE_NONE", PyInt_FromLong((long) 0));
10662 PyDict_SetItemString(d,"wxSTC_EDGE_LINE", PyInt_FromLong((long) 1));
10663 PyDict_SetItemString(d,"wxSTC_EDGE_BACKGROUND", PyInt_FromLong((long) 2));
10664 PyDict_SetItemString(d,"wxSTC_CARET_SLOP", PyInt_FromLong((long) 0x01));
10665 PyDict_SetItemString(d,"wxSTC_CARET_CENTER", PyInt_FromLong((long) 0x02));
10666 PyDict_SetItemString(d,"wxSTC_CARET_STRICT", PyInt_FromLong((long) 0x04));
10667 PyDict_SetItemString(d,"wxSTC_CARET_XEVEN", PyInt_FromLong((long) 0x08));
10668 PyDict_SetItemString(d,"wxSTC_CARET_XJUMPS", PyInt_FromLong((long) 0x10));
10669 PyDict_SetItemString(d,"wxSTC_CURSORNORMAL", PyInt_FromLong((long) -1));
10670 PyDict_SetItemString(d,"wxSTC_CURSORWAIT", PyInt_FromLong((long) 3));
10671 PyDict_SetItemString(d,"wxSTC_VISIBLE_SLOP", PyInt_FromLong((long) 0x01));
10672 PyDict_SetItemString(d,"wxSTC_VISIBLE_STRICT", PyInt_FromLong((long) 0x04));
10673 PyDict_SetItemString(d,"wxSTC_MOD_INSERTTEXT", PyInt_FromLong((long) 0x1));
10674 PyDict_SetItemString(d,"wxSTC_MOD_DELETETEXT", PyInt_FromLong((long) 0x2));
10675 PyDict_SetItemString(d,"wxSTC_MOD_CHANGESTYLE", PyInt_FromLong((long) 0x4));
10676 PyDict_SetItemString(d,"wxSTC_MOD_CHANGEFOLD", PyInt_FromLong((long) 0x8));
10677 PyDict_SetItemString(d,"wxSTC_PERFORMED_USER", PyInt_FromLong((long) 0x10));
10678 PyDict_SetItemString(d,"wxSTC_PERFORMED_UNDO", PyInt_FromLong((long) 0x20));
10679 PyDict_SetItemString(d,"wxSTC_PERFORMED_REDO", PyInt_FromLong((long) 0x40));
10680 PyDict_SetItemString(d,"wxSTC_LASTSTEPINUNDOREDO", PyInt_FromLong((long) 0x100));
10681 PyDict_SetItemString(d,"wxSTC_MOD_CHANGEMARKER", PyInt_FromLong((long) 0x200));
10682 PyDict_SetItemString(d,"wxSTC_MOD_BEFOREINSERT", PyInt_FromLong((long) 0x400));
10683 PyDict_SetItemString(d,"wxSTC_MOD_BEFOREDELETE", PyInt_FromLong((long) 0x800));
10684 PyDict_SetItemString(d,"wxSTC_MODEVENTMASKALL", PyInt_FromLong((long) 0xF77));
10685 PyDict_SetItemString(d,"wxSTC_KEY_DOWN", PyInt_FromLong((long) 300));
10686 PyDict_SetItemString(d,"wxSTC_KEY_UP", PyInt_FromLong((long) 301));
10687 PyDict_SetItemString(d,"wxSTC_KEY_LEFT", PyInt_FromLong((long) 302));
10688 PyDict_SetItemString(d,"wxSTC_KEY_RIGHT", PyInt_FromLong((long) 303));
10689 PyDict_SetItemString(d,"wxSTC_KEY_HOME", PyInt_FromLong((long) 304));
10690 PyDict_SetItemString(d,"wxSTC_KEY_END", PyInt_FromLong((long) 305));
10691 PyDict_SetItemString(d,"wxSTC_KEY_PRIOR", PyInt_FromLong((long) 306));
10692 PyDict_SetItemString(d,"wxSTC_KEY_NEXT", PyInt_FromLong((long) 307));
10693 PyDict_SetItemString(d,"wxSTC_KEY_DELETE", PyInt_FromLong((long) 308));
10694 PyDict_SetItemString(d,"wxSTC_KEY_INSERT", PyInt_FromLong((long) 309));
10695 PyDict_SetItemString(d,"wxSTC_KEY_ESCAPE", PyInt_FromLong((long) 7));
10696 PyDict_SetItemString(d,"wxSTC_KEY_BACK", PyInt_FromLong((long) 8));
10697 PyDict_SetItemString(d,"wxSTC_KEY_TAB", PyInt_FromLong((long) 9));
10698 PyDict_SetItemString(d,"wxSTC_KEY_RETURN", PyInt_FromLong((long) 13));
10699 PyDict_SetItemString(d,"wxSTC_KEY_ADD", PyInt_FromLong((long) 310));
10700 PyDict_SetItemString(d,"wxSTC_KEY_SUBTRACT", PyInt_FromLong((long) 311));
10701 PyDict_SetItemString(d,"wxSTC_KEY_DIVIDE", PyInt_FromLong((long) 312));
10702 PyDict_SetItemString(d,"wxSTC_SCMOD_SHIFT", PyInt_FromLong((long) 1));
10703 PyDict_SetItemString(d,"wxSTC_SCMOD_CTRL", PyInt_FromLong((long) 2));
10704 PyDict_SetItemString(d,"wxSTC_SCMOD_ALT", PyInt_FromLong((long) 4));
10705 PyDict_SetItemString(d,"wxSTC_LEX_CONTAINER", PyInt_FromLong((long) 0));
10706 PyDict_SetItemString(d,"wxSTC_LEX_NULL", PyInt_FromLong((long) 1));
10707 PyDict_SetItemString(d,"wxSTC_LEX_PYTHON", PyInt_FromLong((long) 2));
10708 PyDict_SetItemString(d,"wxSTC_LEX_CPP", PyInt_FromLong((long) 3));
10709 PyDict_SetItemString(d,"wxSTC_LEX_HTML", PyInt_FromLong((long) 4));
10710 PyDict_SetItemString(d,"wxSTC_LEX_XML", PyInt_FromLong((long) 5));
10711 PyDict_SetItemString(d,"wxSTC_LEX_PERL", PyInt_FromLong((long) 6));
10712 PyDict_SetItemString(d,"wxSTC_LEX_SQL", PyInt_FromLong((long) 7));
10713 PyDict_SetItemString(d,"wxSTC_LEX_VB", PyInt_FromLong((long) 8));
10714 PyDict_SetItemString(d,"wxSTC_LEX_PROPERTIES", PyInt_FromLong((long) 9));
10715 PyDict_SetItemString(d,"wxSTC_LEX_ERRORLIST", PyInt_FromLong((long) 10));
10716 PyDict_SetItemString(d,"wxSTC_LEX_MAKEFILE", PyInt_FromLong((long) 11));
10717 PyDict_SetItemString(d,"wxSTC_LEX_BATCH", PyInt_FromLong((long) 12));
10718 PyDict_SetItemString(d,"wxSTC_LEX_XCODE", PyInt_FromLong((long) 13));
10719 PyDict_SetItemString(d,"wxSTC_LEX_LATEX", PyInt_FromLong((long) 14));
10720 PyDict_SetItemString(d,"wxSTC_LEX_LUA", PyInt_FromLong((long) 15));
10721 PyDict_SetItemString(d,"wxSTC_LEX_DIFF", PyInt_FromLong((long) 16));
10722 PyDict_SetItemString(d,"wxSTC_LEX_CONF", PyInt_FromLong((long) 17));
10723 PyDict_SetItemString(d,"wxSTC_LEX_PASCAL", PyInt_FromLong((long) 18));
10724 PyDict_SetItemString(d,"wxSTC_LEX_AVE", PyInt_FromLong((long) 19));
10725 PyDict_SetItemString(d,"wxSTC_LEX_ADA", PyInt_FromLong((long) 20));
10726 PyDict_SetItemString(d,"wxSTC_LEX_LISP", PyInt_FromLong((long) 21));
10727 PyDict_SetItemString(d,"wxSTC_LEX_RUBY", PyInt_FromLong((long) 22));
10728 PyDict_SetItemString(d,"wxSTC_LEX_EIFFEL", PyInt_FromLong((long) 23));
10729 PyDict_SetItemString(d,"wxSTC_LEX_EIFFELKW", PyInt_FromLong((long) 24));
10730 PyDict_SetItemString(d,"wxSTC_LEX_TCL", PyInt_FromLong((long) 25));
10731 PyDict_SetItemString(d,"wxSTC_LEX_NNCRONTAB", PyInt_FromLong((long) 26));
10732 PyDict_SetItemString(d,"wxSTC_LEX_AUTOMATIC", PyInt_FromLong((long) 1000));
10733 PyDict_SetItemString(d,"wxSTC_P_DEFAULT", PyInt_FromLong((long) 0));
10734 PyDict_SetItemString(d,"wxSTC_P_COMMENTLINE", PyInt_FromLong((long) 1));
10735 PyDict_SetItemString(d,"wxSTC_P_NUMBER", PyInt_FromLong((long) 2));
10736 PyDict_SetItemString(d,"wxSTC_P_STRING", PyInt_FromLong((long) 3));
10737 PyDict_SetItemString(d,"wxSTC_P_CHARACTER", PyInt_FromLong((long) 4));
10738 PyDict_SetItemString(d,"wxSTC_P_WORD", PyInt_FromLong((long) 5));
10739 PyDict_SetItemString(d,"wxSTC_P_TRIPLE", PyInt_FromLong((long) 6));
10740 PyDict_SetItemString(d,"wxSTC_P_TRIPLEDOUBLE", PyInt_FromLong((long) 7));
10741 PyDict_SetItemString(d,"wxSTC_P_CLASSNAME", PyInt_FromLong((long) 8));
10742 PyDict_SetItemString(d,"wxSTC_P_DEFNAME", PyInt_FromLong((long) 9));
10743 PyDict_SetItemString(d,"wxSTC_P_OPERATOR", PyInt_FromLong((long) 10));
10744 PyDict_SetItemString(d,"wxSTC_P_IDENTIFIER", PyInt_FromLong((long) 11));
10745 PyDict_SetItemString(d,"wxSTC_P_COMMENTBLOCK", PyInt_FromLong((long) 12));
10746 PyDict_SetItemString(d,"wxSTC_P_STRINGEOL", PyInt_FromLong((long) 13));
10747 PyDict_SetItemString(d,"wxSTC_C_DEFAULT", PyInt_FromLong((long) 0));
10748 PyDict_SetItemString(d,"wxSTC_C_COMMENT", PyInt_FromLong((long) 1));
10749 PyDict_SetItemString(d,"wxSTC_C_COMMENTLINE", PyInt_FromLong((long) 2));
10750 PyDict_SetItemString(d,"wxSTC_C_COMMENTDOC", PyInt_FromLong((long) 3));
10751 PyDict_SetItemString(d,"wxSTC_C_NUMBER", PyInt_FromLong((long) 4));
10752 PyDict_SetItemString(d,"wxSTC_C_WORD", PyInt_FromLong((long) 5));
10753 PyDict_SetItemString(d,"wxSTC_C_STRING", PyInt_FromLong((long) 6));
10754 PyDict_SetItemString(d,"wxSTC_C_CHARACTER", PyInt_FromLong((long) 7));
10755 PyDict_SetItemString(d,"wxSTC_C_UUID", PyInt_FromLong((long) 8));
10756 PyDict_SetItemString(d,"wxSTC_C_PREPROCESSOR", PyInt_FromLong((long) 9));
10757 PyDict_SetItemString(d,"wxSTC_C_OPERATOR", PyInt_FromLong((long) 10));
10758 PyDict_SetItemString(d,"wxSTC_C_IDENTIFIER", PyInt_FromLong((long) 11));
10759 PyDict_SetItemString(d,"wxSTC_C_STRINGEOL", PyInt_FromLong((long) 12));
10760 PyDict_SetItemString(d,"wxSTC_C_VERBATIM", PyInt_FromLong((long) 13));
10761 PyDict_SetItemString(d,"wxSTC_C_REGEX", PyInt_FromLong((long) 14));
10762 PyDict_SetItemString(d,"wxSTC_C_COMMENTLINEDOC", PyInt_FromLong((long) 15));
10763 PyDict_SetItemString(d,"wxSTC_C_WORD2", PyInt_FromLong((long) 16));
10764 PyDict_SetItemString(d,"wxSTC_C_COMMENTDOCKEYWORD", PyInt_FromLong((long) 17));
10765 PyDict_SetItemString(d,"wxSTC_C_COMMENTDOCKEYWORDERROR", PyInt_FromLong((long) 18));
10766 PyDict_SetItemString(d,"wxSTC_H_DEFAULT", PyInt_FromLong((long) 0));
10767 PyDict_SetItemString(d,"wxSTC_H_TAG", PyInt_FromLong((long) 1));
10768 PyDict_SetItemString(d,"wxSTC_H_TAGUNKNOWN", PyInt_FromLong((long) 2));
10769 PyDict_SetItemString(d,"wxSTC_H_ATTRIBUTE", PyInt_FromLong((long) 3));
10770 PyDict_SetItemString(d,"wxSTC_H_ATTRIBUTEUNKNOWN", PyInt_FromLong((long) 4));
10771 PyDict_SetItemString(d,"wxSTC_H_NUMBER", PyInt_FromLong((long) 5));
10772 PyDict_SetItemString(d,"wxSTC_H_DOUBLESTRING", PyInt_FromLong((long) 6));
10773 PyDict_SetItemString(d,"wxSTC_H_SINGLESTRING", PyInt_FromLong((long) 7));
10774 PyDict_SetItemString(d,"wxSTC_H_OTHER", PyInt_FromLong((long) 8));
10775 PyDict_SetItemString(d,"wxSTC_H_COMMENT", PyInt_FromLong((long) 9));
10776 PyDict_SetItemString(d,"wxSTC_H_ENTITY", PyInt_FromLong((long) 10));
10777 PyDict_SetItemString(d,"wxSTC_H_TAGEND", PyInt_FromLong((long) 11));
10778 PyDict_SetItemString(d,"wxSTC_H_XMLSTART", PyInt_FromLong((long) 12));
10779 PyDict_SetItemString(d,"wxSTC_H_XMLEND", PyInt_FromLong((long) 13));
10780 PyDict_SetItemString(d,"wxSTC_H_SCRIPT", PyInt_FromLong((long) 14));
10781 PyDict_SetItemString(d,"wxSTC_H_ASP", PyInt_FromLong((long) 15));
10782 PyDict_SetItemString(d,"wxSTC_H_ASPAT", PyInt_FromLong((long) 16));
10783 PyDict_SetItemString(d,"wxSTC_H_CDATA", PyInt_FromLong((long) 17));
10784 PyDict_SetItemString(d,"wxSTC_H_QUESTION", PyInt_FromLong((long) 18));
10785 PyDict_SetItemString(d,"wxSTC_H_VALUE", PyInt_FromLong((long) 19));
10786 PyDict_SetItemString(d,"wxSTC_H_XCCOMMENT", PyInt_FromLong((long) 20));
10787 PyDict_SetItemString(d,"wxSTC_H_SGML_DEFAULT", PyInt_FromLong((long) 21));
10788 PyDict_SetItemString(d,"wxSTC_H_SGML_COMMAND", PyInt_FromLong((long) 22));
10789 PyDict_SetItemString(d,"wxSTC_H_SGML_1ST_PARAM", PyInt_FromLong((long) 23));
10790 PyDict_SetItemString(d,"wxSTC_H_SGML_DOUBLESTRING", PyInt_FromLong((long) 24));
10791 PyDict_SetItemString(d,"wxSTC_H_SGML_SIMPLESTRING", PyInt_FromLong((long) 25));
10792 PyDict_SetItemString(d,"wxSTC_H_SGML_ERROR", PyInt_FromLong((long) 26));
10793 PyDict_SetItemString(d,"wxSTC_H_SGML_SPECIAL", PyInt_FromLong((long) 27));
10794 PyDict_SetItemString(d,"wxSTC_H_SGML_ENTITY", PyInt_FromLong((long) 28));
10795 PyDict_SetItemString(d,"wxSTC_H_SGML_COMMENT", PyInt_FromLong((long) 29));
10796 PyDict_SetItemString(d,"wxSTC_H_SGML_1ST_PARAM_COMMENT", PyInt_FromLong((long) 30));
10797 PyDict_SetItemString(d,"wxSTC_H_SGML_BLOCK_DEFAULT", PyInt_FromLong((long) 31));
10798 PyDict_SetItemString(d,"wxSTC_HJ_START", PyInt_FromLong((long) 40));
10799 PyDict_SetItemString(d,"wxSTC_HJ_DEFAULT", PyInt_FromLong((long) 41));
10800 PyDict_SetItemString(d,"wxSTC_HJ_COMMENT", PyInt_FromLong((long) 42));
10801 PyDict_SetItemString(d,"wxSTC_HJ_COMMENTLINE", PyInt_FromLong((long) 43));
10802 PyDict_SetItemString(d,"wxSTC_HJ_COMMENTDOC", PyInt_FromLong((long) 44));
10803 PyDict_SetItemString(d,"wxSTC_HJ_NUMBER", PyInt_FromLong((long) 45));
10804 PyDict_SetItemString(d,"wxSTC_HJ_WORD", PyInt_FromLong((long) 46));
10805 PyDict_SetItemString(d,"wxSTC_HJ_KEYWORD", PyInt_FromLong((long) 47));
10806 PyDict_SetItemString(d,"wxSTC_HJ_DOUBLESTRING", PyInt_FromLong((long) 48));
10807 PyDict_SetItemString(d,"wxSTC_HJ_SINGLESTRING", PyInt_FromLong((long) 49));
10808 PyDict_SetItemString(d,"wxSTC_HJ_SYMBOLS", PyInt_FromLong((long) 50));
10809 PyDict_SetItemString(d,"wxSTC_HJ_STRINGEOL", PyInt_FromLong((long) 51));
10810 PyDict_SetItemString(d,"wxSTC_HJ_REGEX", PyInt_FromLong((long) 52));
10811 PyDict_SetItemString(d,"wxSTC_HJA_START", PyInt_FromLong((long) 55));
10812 PyDict_SetItemString(d,"wxSTC_HJA_DEFAULT", PyInt_FromLong((long) 56));
10813 PyDict_SetItemString(d,"wxSTC_HJA_COMMENT", PyInt_FromLong((long) 57));
10814 PyDict_SetItemString(d,"wxSTC_HJA_COMMENTLINE", PyInt_FromLong((long) 58));
10815 PyDict_SetItemString(d,"wxSTC_HJA_COMMENTDOC", PyInt_FromLong((long) 59));
10816 PyDict_SetItemString(d,"wxSTC_HJA_NUMBER", PyInt_FromLong((long) 60));
10817 PyDict_SetItemString(d,"wxSTC_HJA_WORD", PyInt_FromLong((long) 61));
10818 PyDict_SetItemString(d,"wxSTC_HJA_KEYWORD", PyInt_FromLong((long) 62));
10819 PyDict_SetItemString(d,"wxSTC_HJA_DOUBLESTRING", PyInt_FromLong((long) 63));
10820 PyDict_SetItemString(d,"wxSTC_HJA_SINGLESTRING", PyInt_FromLong((long) 64));
10821 PyDict_SetItemString(d,"wxSTC_HJA_SYMBOLS", PyInt_FromLong((long) 65));
10822 PyDict_SetItemString(d,"wxSTC_HJA_STRINGEOL", PyInt_FromLong((long) 66));
10823 PyDict_SetItemString(d,"wxSTC_HJA_REGEX", PyInt_FromLong((long) 67));
10824 PyDict_SetItemString(d,"wxSTC_HB_START", PyInt_FromLong((long) 70));
10825 PyDict_SetItemString(d,"wxSTC_HB_DEFAULT", PyInt_FromLong((long) 71));
10826 PyDict_SetItemString(d,"wxSTC_HB_COMMENTLINE", PyInt_FromLong((long) 72));
10827 PyDict_SetItemString(d,"wxSTC_HB_NUMBER", PyInt_FromLong((long) 73));
10828 PyDict_SetItemString(d,"wxSTC_HB_WORD", PyInt_FromLong((long) 74));
10829 PyDict_SetItemString(d,"wxSTC_HB_STRING", PyInt_FromLong((long) 75));
10830 PyDict_SetItemString(d,"wxSTC_HB_IDENTIFIER", PyInt_FromLong((long) 76));
10831 PyDict_SetItemString(d,"wxSTC_HB_STRINGEOL", PyInt_FromLong((long) 77));
10832 PyDict_SetItemString(d,"wxSTC_HBA_START", PyInt_FromLong((long) 80));
10833 PyDict_SetItemString(d,"wxSTC_HBA_DEFAULT", PyInt_FromLong((long) 81));
10834 PyDict_SetItemString(d,"wxSTC_HBA_COMMENTLINE", PyInt_FromLong((long) 82));
10835 PyDict_SetItemString(d,"wxSTC_HBA_NUMBER", PyInt_FromLong((long) 83));
10836 PyDict_SetItemString(d,"wxSTC_HBA_WORD", PyInt_FromLong((long) 84));
10837 PyDict_SetItemString(d,"wxSTC_HBA_STRING", PyInt_FromLong((long) 85));
10838 PyDict_SetItemString(d,"wxSTC_HBA_IDENTIFIER", PyInt_FromLong((long) 86));
10839 PyDict_SetItemString(d,"wxSTC_HBA_STRINGEOL", PyInt_FromLong((long) 87));
10840 PyDict_SetItemString(d,"wxSTC_HP_START", PyInt_FromLong((long) 90));
10841 PyDict_SetItemString(d,"wxSTC_HP_DEFAULT", PyInt_FromLong((long) 91));
10842 PyDict_SetItemString(d,"wxSTC_HP_COMMENTLINE", PyInt_FromLong((long) 92));
10843 PyDict_SetItemString(d,"wxSTC_HP_NUMBER", PyInt_FromLong((long) 93));
10844 PyDict_SetItemString(d,"wxSTC_HP_STRING", PyInt_FromLong((long) 94));
10845 PyDict_SetItemString(d,"wxSTC_HP_CHARACTER", PyInt_FromLong((long) 95));
10846 PyDict_SetItemString(d,"wxSTC_HP_WORD", PyInt_FromLong((long) 96));
10847 PyDict_SetItemString(d,"wxSTC_HP_TRIPLE", PyInt_FromLong((long) 97));
10848 PyDict_SetItemString(d,"wxSTC_HP_TRIPLEDOUBLE", PyInt_FromLong((long) 98));
10849 PyDict_SetItemString(d,"wxSTC_HP_CLASSNAME", PyInt_FromLong((long) 99));
10850 PyDict_SetItemString(d,"wxSTC_HP_DEFNAME", PyInt_FromLong((long) 100));
10851 PyDict_SetItemString(d,"wxSTC_HP_OPERATOR", PyInt_FromLong((long) 101));
10852 PyDict_SetItemString(d,"wxSTC_HP_IDENTIFIER", PyInt_FromLong((long) 102));
10853 PyDict_SetItemString(d,"wxSTC_HPA_START", PyInt_FromLong((long) 105));
10854 PyDict_SetItemString(d,"wxSTC_HPA_DEFAULT", PyInt_FromLong((long) 106));
10855 PyDict_SetItemString(d,"wxSTC_HPA_COMMENTLINE", PyInt_FromLong((long) 107));
10856 PyDict_SetItemString(d,"wxSTC_HPA_NUMBER", PyInt_FromLong((long) 108));
10857 PyDict_SetItemString(d,"wxSTC_HPA_STRING", PyInt_FromLong((long) 109));
10858 PyDict_SetItemString(d,"wxSTC_HPA_CHARACTER", PyInt_FromLong((long) 110));
10859 PyDict_SetItemString(d,"wxSTC_HPA_WORD", PyInt_FromLong((long) 111));
10860 PyDict_SetItemString(d,"wxSTC_HPA_TRIPLE", PyInt_FromLong((long) 112));
10861 PyDict_SetItemString(d,"wxSTC_HPA_TRIPLEDOUBLE", PyInt_FromLong((long) 113));
10862 PyDict_SetItemString(d,"wxSTC_HPA_CLASSNAME", PyInt_FromLong((long) 114));
10863 PyDict_SetItemString(d,"wxSTC_HPA_DEFNAME", PyInt_FromLong((long) 115));
10864 PyDict_SetItemString(d,"wxSTC_HPA_OPERATOR", PyInt_FromLong((long) 116));
10865 PyDict_SetItemString(d,"wxSTC_HPA_IDENTIFIER", PyInt_FromLong((long) 117));
10866 PyDict_SetItemString(d,"wxSTC_HPHP_DEFAULT", PyInt_FromLong((long) 118));
10867 PyDict_SetItemString(d,"wxSTC_HPHP_HSTRING", PyInt_FromLong((long) 119));
10868 PyDict_SetItemString(d,"wxSTC_HPHP_SIMPLESTRING", PyInt_FromLong((long) 120));
10869 PyDict_SetItemString(d,"wxSTC_HPHP_WORD", PyInt_FromLong((long) 121));
10870 PyDict_SetItemString(d,"wxSTC_HPHP_NUMBER", PyInt_FromLong((long) 122));
10871 PyDict_SetItemString(d,"wxSTC_HPHP_VARIABLE", PyInt_FromLong((long) 123));
10872 PyDict_SetItemString(d,"wxSTC_HPHP_COMMENT", PyInt_FromLong((long) 124));
10873 PyDict_SetItemString(d,"wxSTC_HPHP_COMMENTLINE", PyInt_FromLong((long) 125));
10874 PyDict_SetItemString(d,"wxSTC_HPHP_HSTRING_VARIABLE", PyInt_FromLong((long) 126));
10875 PyDict_SetItemString(d,"wxSTC_HPHP_OPERATOR", PyInt_FromLong((long) 127));
10876 PyDict_SetItemString(d,"wxSTC_PL_DEFAULT", PyInt_FromLong((long) 0));
10877 PyDict_SetItemString(d,"wxSTC_PL_ERROR", PyInt_FromLong((long) 1));
10878 PyDict_SetItemString(d,"wxSTC_PL_COMMENTLINE", PyInt_FromLong((long) 2));
10879 PyDict_SetItemString(d,"wxSTC_PL_POD", PyInt_FromLong((long) 3));
10880 PyDict_SetItemString(d,"wxSTC_PL_NUMBER", PyInt_FromLong((long) 4));
10881 PyDict_SetItemString(d,"wxSTC_PL_WORD", PyInt_FromLong((long) 5));
10882 PyDict_SetItemString(d,"wxSTC_PL_STRING", PyInt_FromLong((long) 6));
10883 PyDict_SetItemString(d,"wxSTC_PL_CHARACTER", PyInt_FromLong((long) 7));
10884 PyDict_SetItemString(d,"wxSTC_PL_PUNCTUATION", PyInt_FromLong((long) 8));
10885 PyDict_SetItemString(d,"wxSTC_PL_PREPROCESSOR", PyInt_FromLong((long) 9));
10886 PyDict_SetItemString(d,"wxSTC_PL_OPERATOR", PyInt_FromLong((long) 10));
10887 PyDict_SetItemString(d,"wxSTC_PL_IDENTIFIER", PyInt_FromLong((long) 11));
10888 PyDict_SetItemString(d,"wxSTC_PL_SCALAR", PyInt_FromLong((long) 12));
10889 PyDict_SetItemString(d,"wxSTC_PL_ARRAY", PyInt_FromLong((long) 13));
10890 PyDict_SetItemString(d,"wxSTC_PL_HASH", PyInt_FromLong((long) 14));
10891 PyDict_SetItemString(d,"wxSTC_PL_SYMBOLTABLE", PyInt_FromLong((long) 15));
10892 PyDict_SetItemString(d,"wxSTC_PL_REGEX", PyInt_FromLong((long) 17));
10893 PyDict_SetItemString(d,"wxSTC_PL_REGSUBST", PyInt_FromLong((long) 18));
10894 PyDict_SetItemString(d,"wxSTC_PL_LONGQUOTE", PyInt_FromLong((long) 19));
10895 PyDict_SetItemString(d,"wxSTC_PL_BACKTICKS", PyInt_FromLong((long) 20));
10896 PyDict_SetItemString(d,"wxSTC_PL_DATASECTION", PyInt_FromLong((long) 21));
10897 PyDict_SetItemString(d,"wxSTC_PL_HERE_DELIM", PyInt_FromLong((long) 22));
10898 PyDict_SetItemString(d,"wxSTC_PL_HERE_Q", PyInt_FromLong((long) 23));
10899 PyDict_SetItemString(d,"wxSTC_PL_HERE_QQ", PyInt_FromLong((long) 24));
10900 PyDict_SetItemString(d,"wxSTC_PL_HERE_QX", PyInt_FromLong((long) 25));
10901 PyDict_SetItemString(d,"wxSTC_PL_STRING_Q", PyInt_FromLong((long) 26));
10902 PyDict_SetItemString(d,"wxSTC_PL_STRING_QQ", PyInt_FromLong((long) 27));
10903 PyDict_SetItemString(d,"wxSTC_PL_STRING_QX", PyInt_FromLong((long) 28));
10904 PyDict_SetItemString(d,"wxSTC_PL_STRING_QR", PyInt_FromLong((long) 29));
10905 PyDict_SetItemString(d,"wxSTC_PL_STRING_QW", PyInt_FromLong((long) 30));
10906 PyDict_SetItemString(d,"wxSTC_L_DEFAULT", PyInt_FromLong((long) 0));
10907 PyDict_SetItemString(d,"wxSTC_L_COMMAND", PyInt_FromLong((long) 1));
10908 PyDict_SetItemString(d,"wxSTC_L_TAG", PyInt_FromLong((long) 2));
10909 PyDict_SetItemString(d,"wxSTC_L_MATH", PyInt_FromLong((long) 3));
10910 PyDict_SetItemString(d,"wxSTC_L_COMMENT", PyInt_FromLong((long) 4));
10911 PyDict_SetItemString(d,"wxSTC_LUA_DEFAULT", PyInt_FromLong((long) 0));
10912 PyDict_SetItemString(d,"wxSTC_LUA_COMMENT", PyInt_FromLong((long) 1));
10913 PyDict_SetItemString(d,"wxSTC_LUA_COMMENTLINE", PyInt_FromLong((long) 2));
10914 PyDict_SetItemString(d,"wxSTC_LUA_COMMENTDOC", PyInt_FromLong((long) 3));
10915 PyDict_SetItemString(d,"wxSTC_LUA_NUMBER", PyInt_FromLong((long) 4));
10916 PyDict_SetItemString(d,"wxSTC_LUA_WORD", PyInt_FromLong((long) 5));
10917 PyDict_SetItemString(d,"wxSTC_LUA_STRING", PyInt_FromLong((long) 6));
10918 PyDict_SetItemString(d,"wxSTC_LUA_CHARACTER", PyInt_FromLong((long) 7));
10919 PyDict_SetItemString(d,"wxSTC_LUA_LITERALSTRING", PyInt_FromLong((long) 8));
10920 PyDict_SetItemString(d,"wxSTC_LUA_PREPROCESSOR", PyInt_FromLong((long) 9));
10921 PyDict_SetItemString(d,"wxSTC_LUA_OPERATOR", PyInt_FromLong((long) 10));
10922 PyDict_SetItemString(d,"wxSTC_LUA_IDENTIFIER", PyInt_FromLong((long) 11));
10923 PyDict_SetItemString(d,"wxSTC_LUA_STRINGEOL", PyInt_FromLong((long) 12));
10924 PyDict_SetItemString(d,"wxSTC_ERR_DEFAULT", PyInt_FromLong((long) 0));
10925 PyDict_SetItemString(d,"wxSTC_ERR_PYTHON", PyInt_FromLong((long) 1));
10926 PyDict_SetItemString(d,"wxSTC_ERR_GCC", PyInt_FromLong((long) 2));
10927 PyDict_SetItemString(d,"wxSTC_ERR_MS", PyInt_FromLong((long) 3));
10928 PyDict_SetItemString(d,"wxSTC_ERR_CMD", PyInt_FromLong((long) 4));
10929 PyDict_SetItemString(d,"wxSTC_ERR_BORLAND", PyInt_FromLong((long) 5));
10930 PyDict_SetItemString(d,"wxSTC_ERR_PERL", PyInt_FromLong((long) 6));
10931 PyDict_SetItemString(d,"wxSTC_ERR_NET", PyInt_FromLong((long) 7));
10932 PyDict_SetItemString(d,"wxSTC_ERR_LUA", PyInt_FromLong((long) 8));
10933 PyDict_SetItemString(d,"wxSTC_ERR_DIFF_CHANGED", PyInt_FromLong((long) 10));
10934 PyDict_SetItemString(d,"wxSTC_ERR_DIFF_ADDITION", PyInt_FromLong((long) 11));
10935 PyDict_SetItemString(d,"wxSTC_ERR_DIFF_DELETION", PyInt_FromLong((long) 12));
10936 PyDict_SetItemString(d,"wxSTC_ERR_DIFF_MESSAGE", PyInt_FromLong((long) 13));
10937 PyDict_SetItemString(d,"wxSTC_BAT_DEFAULT", PyInt_FromLong((long) 0));
10938 PyDict_SetItemString(d,"wxSTC_BAT_COMMENT", PyInt_FromLong((long) 1));
10939 PyDict_SetItemString(d,"wxSTC_BAT_WORD", PyInt_FromLong((long) 2));
10940 PyDict_SetItemString(d,"wxSTC_BAT_LABEL", PyInt_FromLong((long) 3));
10941 PyDict_SetItemString(d,"wxSTC_BAT_HIDE", PyInt_FromLong((long) 4));
10942 PyDict_SetItemString(d,"wxSTC_BAT_COMMAND", PyInt_FromLong((long) 5));
10943 PyDict_SetItemString(d,"wxSTC_BAT_IDENTIFIER", PyInt_FromLong((long) 6));
10944 PyDict_SetItemString(d,"wxSTC_BAT_OPERATOR", PyInt_FromLong((long) 7));
10945 PyDict_SetItemString(d,"wxSTC_MAKE_DEFAULT", PyInt_FromLong((long) 0));
10946 PyDict_SetItemString(d,"wxSTC_MAKE_COMMENT", PyInt_FromLong((long) 1));
10947 PyDict_SetItemString(d,"wxSTC_MAKE_PREPROCESSOR", PyInt_FromLong((long) 2));
10948 PyDict_SetItemString(d,"wxSTC_MAKE_IDENTIFIER", PyInt_FromLong((long) 3));
10949 PyDict_SetItemString(d,"wxSTC_MAKE_OPERATOR", PyInt_FromLong((long) 4));
10950 PyDict_SetItemString(d,"wxSTC_MAKE_TARGET", PyInt_FromLong((long) 5));
10951 PyDict_SetItemString(d,"wxSTC_MAKE_IDEOL", PyInt_FromLong((long) 9));
10952 PyDict_SetItemString(d,"wxSTC_CONF_DEFAULT", PyInt_FromLong((long) 0));
10953 PyDict_SetItemString(d,"wxSTC_CONF_COMMENT", PyInt_FromLong((long) 1));
10954 PyDict_SetItemString(d,"wxSTC_CONF_NUMBER", PyInt_FromLong((long) 2));
10955 PyDict_SetItemString(d,"wxSTC_CONF_IDENTIFIER", PyInt_FromLong((long) 3));
10956 PyDict_SetItemString(d,"wxSTC_CONF_EXTENSION", PyInt_FromLong((long) 4));
10957 PyDict_SetItemString(d,"wxSTC_CONF_PARAMETER", PyInt_FromLong((long) 5));
10958 PyDict_SetItemString(d,"wxSTC_CONF_STRING", PyInt_FromLong((long) 6));
10959 PyDict_SetItemString(d,"wxSTC_CONF_OPERATOR", PyInt_FromLong((long) 7));
10960 PyDict_SetItemString(d,"wxSTC_CONF_IP", PyInt_FromLong((long) 8));
10961 PyDict_SetItemString(d,"wxSTC_CONF_DIRECTIVE", PyInt_FromLong((long) 9));
10962 PyDict_SetItemString(d,"wxSTC_AVE_DEFAULT", PyInt_FromLong((long) 0));
10963 PyDict_SetItemString(d,"wxSTC_AVE_COMMENT", PyInt_FromLong((long) 1));
10964 PyDict_SetItemString(d,"wxSTC_AVE_NUMBER", PyInt_FromLong((long) 2));
10965 PyDict_SetItemString(d,"wxSTC_AVE_WORD", PyInt_FromLong((long) 3));
10966 PyDict_SetItemString(d,"wxSTC_AVE_KEYWORD", PyInt_FromLong((long) 4));
10967 PyDict_SetItemString(d,"wxSTC_AVE_STATEMENT", PyInt_FromLong((long) 5));
10968 PyDict_SetItemString(d,"wxSTC_AVE_STRING", PyInt_FromLong((long) 6));
10969 PyDict_SetItemString(d,"wxSTC_AVE_ENUM", PyInt_FromLong((long) 7));
10970 PyDict_SetItemString(d,"wxSTC_AVE_STRINGEOL", PyInt_FromLong((long) 8));
10971 PyDict_SetItemString(d,"wxSTC_AVE_IDENTIFIER", PyInt_FromLong((long) 9));
10972 PyDict_SetItemString(d,"wxSTC_AVE_OPERATOR", PyInt_FromLong((long) 10));
10973 PyDict_SetItemString(d,"wxSTC_ADA_DEFAULT", PyInt_FromLong((long) 0));
10974 PyDict_SetItemString(d,"wxSTC_ADA_COMMENT", PyInt_FromLong((long) 1));
10975 PyDict_SetItemString(d,"wxSTC_ADA_NUMBER", PyInt_FromLong((long) 2));
10976 PyDict_SetItemString(d,"wxSTC_ADA_WORD", PyInt_FromLong((long) 3));
10977 PyDict_SetItemString(d,"wxSTC_ADA_STRING", PyInt_FromLong((long) 4));
10978 PyDict_SetItemString(d,"wxSTC_ADA_CHARACTER", PyInt_FromLong((long) 5));
10979 PyDict_SetItemString(d,"wxSTC_ADA_OPERATOR", PyInt_FromLong((long) 6));
10980 PyDict_SetItemString(d,"wxSTC_ADA_IDENTIFIER", PyInt_FromLong((long) 7));
10981 PyDict_SetItemString(d,"wxSTC_ADA_STRINGEOL", PyInt_FromLong((long) 8));
10982 PyDict_SetItemString(d,"wxSTC_LISP_DEFAULT", PyInt_FromLong((long) 0));
10983 PyDict_SetItemString(d,"wxSTC_LISP_COMMENT", PyInt_FromLong((long) 1));
10984 PyDict_SetItemString(d,"wxSTC_LISP_NUMBER", PyInt_FromLong((long) 2));
10985 PyDict_SetItemString(d,"wxSTC_LISP_KEYWORD", PyInt_FromLong((long) 3));
10986 PyDict_SetItemString(d,"wxSTC_LISP_STRING", PyInt_FromLong((long) 6));
10987 PyDict_SetItemString(d,"wxSTC_LISP_STRINGEOL", PyInt_FromLong((long) 8));
10988 PyDict_SetItemString(d,"wxSTC_LISP_IDENTIFIER", PyInt_FromLong((long) 9));
10989 PyDict_SetItemString(d,"wxSTC_LISP_OPERATOR", PyInt_FromLong((long) 10));
10990 PyDict_SetItemString(d,"wxSTC_EIFFEL_DEFAULT", PyInt_FromLong((long) 0));
10991 PyDict_SetItemString(d,"wxSTC_EIFFEL_COMMENTLINE", PyInt_FromLong((long) 1));
10992 PyDict_SetItemString(d,"wxSTC_EIFFEL_NUMBER", PyInt_FromLong((long) 2));
10993 PyDict_SetItemString(d,"wxSTC_EIFFEL_WORD", PyInt_FromLong((long) 3));
10994 PyDict_SetItemString(d,"wxSTC_EIFFEL_STRING", PyInt_FromLong((long) 4));
10995 PyDict_SetItemString(d,"wxSTC_EIFFEL_CHARACTER", PyInt_FromLong((long) 5));
10996 PyDict_SetItemString(d,"wxSTC_EIFFEL_OPERATOR", PyInt_FromLong((long) 6));
10997 PyDict_SetItemString(d,"wxSTC_EIFFEL_IDENTIFIER", PyInt_FromLong((long) 7));
10998 PyDict_SetItemString(d,"wxSTC_EIFFEL_STRINGEOL", PyInt_FromLong((long) 8));
10999 PyDict_SetItemString(d,"wxSTC_NNCRONTAB_DEFAULT", PyInt_FromLong((long) 0));
11000 PyDict_SetItemString(d,"wxSTC_NNCRONTAB_COMMENT", PyInt_FromLong((long) 1));
11001 PyDict_SetItemString(d,"wxSTC_NNCRONTAB_TASK", PyInt_FromLong((long) 2));
11002 PyDict_SetItemString(d,"wxSTC_NNCRONTAB_SECTION", PyInt_FromLong((long) 3));
11003 PyDict_SetItemString(d,"wxSTC_NNCRONTAB_KEYWORD", PyInt_FromLong((long) 4));
11004 PyDict_SetItemString(d,"wxSTC_NNCRONTAB_MODIFIER", PyInt_FromLong((long) 5));
11005 PyDict_SetItemString(d,"wxSTC_NNCRONTAB_ASTERISK", PyInt_FromLong((long) 6));
11006 PyDict_SetItemString(d,"wxSTC_NNCRONTAB_NUMBER", PyInt_FromLong((long) 7));
11007 PyDict_SetItemString(d,"wxSTC_NNCRONTAB_STRING", PyInt_FromLong((long) 8));
11008 PyDict_SetItemString(d,"wxSTC_NNCRONTAB_ENVIRONMENT", PyInt_FromLong((long) 9));
11009 PyDict_SetItemString(d,"wxSTC_NNCRONTAB_IDENTIFIER", PyInt_FromLong((long) 10));
11010 PyDict_SetItemString(d,"wxSTC_MASK_FOLDERS", PyInt_FromLong((long) ((1<<(30))|(1<<(31)))));
11011 PyDict_SetItemString(d,"wxSTCNameStr", PyString_FromString("wxSTCNameStr"));
11012 PyDict_SetItemString(d,"wxEVT_STC_CHANGE", PyInt_FromLong((long) wxEVT_STC_CHANGE));
11013 PyDict_SetItemString(d,"wxEVT_STC_STYLENEEDED", PyInt_FromLong((long) wxEVT_STC_STYLENEEDED));
11014 PyDict_SetItemString(d,"wxEVT_STC_CHARADDED", PyInt_FromLong((long) wxEVT_STC_CHARADDED));
11015 PyDict_SetItemString(d,"wxEVT_STC_SAVEPOINTREACHED", PyInt_FromLong((long) wxEVT_STC_SAVEPOINTREACHED));
11016 PyDict_SetItemString(d,"wxEVT_STC_SAVEPOINTLEFT", PyInt_FromLong((long) wxEVT_STC_SAVEPOINTLEFT));
11017 PyDict_SetItemString(d,"wxEVT_STC_ROMODIFYATTEMPT", PyInt_FromLong((long) wxEVT_STC_ROMODIFYATTEMPT));
11018 PyDict_SetItemString(d,"wxEVT_STC_KEY", PyInt_FromLong((long) wxEVT_STC_KEY));
11019 PyDict_SetItemString(d,"wxEVT_STC_DOUBLECLICK", PyInt_FromLong((long) wxEVT_STC_DOUBLECLICK));
11020 PyDict_SetItemString(d,"wxEVT_STC_UPDATEUI", PyInt_FromLong((long) wxEVT_STC_UPDATEUI));
11021 PyDict_SetItemString(d,"wxEVT_STC_MODIFIED", PyInt_FromLong((long) wxEVT_STC_MODIFIED));
11022 PyDict_SetItemString(d,"wxEVT_STC_MACRORECORD", PyInt_FromLong((long) wxEVT_STC_MACRORECORD));
11023 PyDict_SetItemString(d,"wxEVT_STC_MARGINCLICK", PyInt_FromLong((long) wxEVT_STC_MARGINCLICK));
11024 PyDict_SetItemString(d,"wxEVT_STC_NEEDSHOWN", PyInt_FromLong((long) wxEVT_STC_NEEDSHOWN));
11025 PyDict_SetItemString(d,"wxEVT_STC_POSCHANGED", PyInt_FromLong((long) wxEVT_STC_POSCHANGED));
11026 PyDict_SetItemString(d,"wxEVT_STC_PAINTED", PyInt_FromLong((long) wxEVT_STC_PAINTED));
11027 PyDict_SetItemString(d,"wxEVT_STC_USERLISTSELECTION", PyInt_FromLong((long) wxEVT_STC_USERLISTSELECTION));
11028 PyDict_SetItemString(d,"wxEVT_STC_URIDROPPED", PyInt_FromLong((long) wxEVT_STC_URIDROPPED));
11029 PyDict_SetItemString(d,"wxEVT_STC_DWELLSTART", PyInt_FromLong((long) wxEVT_STC_DWELLSTART));
11030 PyDict_SetItemString(d,"wxEVT_STC_DWELLEND", PyInt_FromLong((long) wxEVT_STC_DWELLEND));
11031 PyDict_SetItemString(d,"wxEVT_STC_START_DRAG", PyInt_FromLong((long) wxEVT_STC_START_DRAG));
11032 PyDict_SetItemString(d,"wxEVT_STC_DRAG_OVER", PyInt_FromLong((long) wxEVT_STC_DRAG_OVER));
11033 PyDict_SetItemString(d,"wxEVT_STC_DO_DROP", PyInt_FromLong((long) wxEVT_STC_DO_DROP));
11034
11035
11036 wxClassInfo::CleanUpClasses();
11037 wxClassInfo::InitializeClasses();
11038
11039 {
11040 int i;
11041 for (i = 0; _swig_mapping[i].n1; i++)
11042 SWIG_RegisterMapping(_swig_mapping[i].n1,_swig_mapping[i].n2,_swig_mapping[i].pcnv);
11043 }
11044 }