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