]> git.saurik.com Git - wxWidgets.git/blob - wxPython/contrib/stc/msw/stc_.cpp
compilation fixc
[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 "wxPython.h"
59 #include "wx/stc/stc.h"
60
61
62 static PyObject* t_output_helper(PyObject* target, PyObject* o) {
63 PyObject* o2;
64 PyObject* o3;
65
66 if (!target) {
67 target = o;
68 } else if (target == Py_None) {
69 Py_DECREF(Py_None);
70 target = o;
71 } else {
72 if (!PyTuple_Check(target)) {
73 o2 = target;
74 target = PyTuple_New(1);
75 PyTuple_SetItem(target, 0, o2);
76 }
77 o3 = PyTuple_New(1);
78 PyTuple_SetItem(o3, 0, o);
79
80 o2 = target;
81 target = PySequence_Concat(o2, o3);
82 Py_DECREF(o2);
83 Py_DECREF(o3);
84 }
85 return target;
86 }
87
88 // Put some wx default wxChar* values into wxStrings.
89 DECLARE_DEF_STRING(STCNameStr);
90 #ifdef __cplusplus
91 extern "C" {
92 #endif
93 static void *SwigwxStyledTextCtrlTowxControl(void *ptr) {
94 wxStyledTextCtrl *src;
95 wxControl *dest;
96 src = (wxStyledTextCtrl *) ptr;
97 dest = (wxControl *) src;
98 return (void *) dest;
99 }
100
101 static void *SwigwxStyledTextCtrlTowxWindow(void *ptr) {
102 wxStyledTextCtrl *src;
103 wxWindow *dest;
104 src = (wxStyledTextCtrl *) ptr;
105 dest = (wxWindow *) src;
106 return (void *) dest;
107 }
108
109 static void *SwigwxStyledTextCtrlTowxEvtHandler(void *ptr) {
110 wxStyledTextCtrl *src;
111 wxEvtHandler *dest;
112 src = (wxStyledTextCtrl *) ptr;
113 dest = (wxEvtHandler *) src;
114 return (void *) dest;
115 }
116
117 static void *SwigwxStyledTextCtrlTowxObject(void *ptr) {
118 wxStyledTextCtrl *src;
119 wxObject *dest;
120 src = (wxStyledTextCtrl *) ptr;
121 dest = (wxObject *) src;
122 return (void *) dest;
123 }
124
125 #define new_wxStyledTextCtrl(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxStyledTextCtrl(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
126 static PyObject *_wrap_new_wxStyledTextCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
127 PyObject * _resultobj;
128 wxStyledTextCtrl * _result;
129 wxWindow * _arg0;
130 wxWindowID _arg1;
131 wxPoint * _arg2 = (wxPoint *) &wxDefaultPosition;
132 wxSize * _arg3 = (wxSize *) &wxDefaultSize;
133 long _arg4 = (long ) 0;
134 wxString * _arg5 = (wxString *) &wxPySTCNameStr;
135 PyObject * _argo0 = 0;
136 wxPoint temp;
137 PyObject * _obj2 = 0;
138 wxSize temp0;
139 PyObject * _obj3 = 0;
140 PyObject * _obj5 = 0;
141 char *_kwnames[] = { "parent","id","pos","size","style","name", NULL };
142 char _ptemp[128];
143
144 self = self;
145 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi|OOlO:new_wxStyledTextCtrl",_kwnames,&_argo0,&_arg1,&_obj2,&_obj3,&_arg4,&_obj5))
146 return NULL;
147 if (_argo0) {
148 if (_argo0 == Py_None) { _arg0 = NULL; }
149 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
150 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxStyledTextCtrl. Expected _wxWindow_p.");
151 return NULL;
152 }
153 }
154 if (_obj2)
155 {
156 _arg2 = &temp;
157 if (! wxPoint_helper(_obj2, &_arg2))
158 return NULL;
159 }
160 if (_obj3)
161 {
162 _arg3 = &temp0;
163 if (! wxSize_helper(_obj3, &_arg3))
164 return NULL;
165 }
166 if (_obj5)
167 {
168 _arg5 = wxString_in_helper(_obj5);
169 if (_arg5 == NULL)
170 return NULL;
171 }
172 {
173 PyThreadState* __tstate = wxPyBeginAllowThreads();
174 _result = (wxStyledTextCtrl *)new_wxStyledTextCtrl(_arg0,_arg1,*_arg2,*_arg3,_arg4,*_arg5);
175
176 wxPyEndAllowThreads(__tstate);
177 if (PyErr_Occurred()) return NULL;
178 } if (_result) {
179 SWIG_MakePtr(_ptemp, (char *) _result,"_wxStyledTextCtrl_p");
180 _resultobj = Py_BuildValue("s",_ptemp);
181 } else {
182 Py_INCREF(Py_None);
183 _resultobj = Py_None;
184 }
185 {
186 if (_obj5)
187 delete _arg5;
188 }
189 return _resultobj;
190 }
191
192 #define wxStyledTextCtrl_AddText(_swigobj,_swigarg0) (_swigobj->AddText(_swigarg0))
193 static PyObject *_wrap_wxStyledTextCtrl_AddText(PyObject *self, PyObject *args, PyObject *kwargs) {
194 PyObject * _resultobj;
195 wxStyledTextCtrl * _arg0;
196 wxString * _arg1;
197 PyObject * _argo0 = 0;
198 PyObject * _obj1 = 0;
199 char *_kwnames[] = { "self","text", NULL };
200
201 self = self;
202 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxStyledTextCtrl_AddText",_kwnames,&_argo0,&_obj1))
203 return NULL;
204 if (_argo0) {
205 if (_argo0 == Py_None) { _arg0 = NULL; }
206 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
207 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_AddText. Expected _wxStyledTextCtrl_p.");
208 return NULL;
209 }
210 }
211 {
212 _arg1 = wxString_in_helper(_obj1);
213 if (_arg1 == NULL)
214 return NULL;
215 }
216 {
217 PyThreadState* __tstate = wxPyBeginAllowThreads();
218 wxStyledTextCtrl_AddText(_arg0,*_arg1);
219
220 wxPyEndAllowThreads(__tstate);
221 if (PyErr_Occurred()) return NULL;
222 } Py_INCREF(Py_None);
223 _resultobj = Py_None;
224 {
225 if (_obj1)
226 delete _arg1;
227 }
228 return _resultobj;
229 }
230
231 #define wxStyledTextCtrl_AddStyledText(_swigobj,_swigarg0) (_swigobj->AddStyledText(_swigarg0))
232 static PyObject *_wrap_wxStyledTextCtrl_AddStyledText(PyObject *self, PyObject *args, PyObject *kwargs) {
233 PyObject * _resultobj;
234 wxStyledTextCtrl * _arg0;
235 wxMemoryBuffer * _arg1;
236 PyObject * _argo0 = 0;
237 PyObject * _obj1 = 0;
238 char *_kwnames[] = { "self","data", NULL };
239
240 self = self;
241 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxStyledTextCtrl_AddStyledText",_kwnames,&_argo0,&_obj1))
242 return NULL;
243 if (_argo0) {
244 if (_argo0 == Py_None) { _arg0 = NULL; }
245 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
246 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_AddStyledText. Expected _wxStyledTextCtrl_p.");
247 return NULL;
248 }
249 }
250 {
251 if (!PyString_Check(_obj1)) {
252 PyErr_SetString(PyExc_TypeError, "String buffer expected");
253 return NULL;
254 }
255 char* str = PyString_AS_STRING(_obj1);
256 int len = PyString_GET_SIZE(_obj1);
257 _arg1 = new wxMemoryBuffer(len);
258 memcpy(_arg1->GetData(), str, len);
259 }
260 {
261 PyThreadState* __tstate = wxPyBeginAllowThreads();
262 wxStyledTextCtrl_AddStyledText(_arg0,*_arg1);
263
264 wxPyEndAllowThreads(__tstate);
265 if (PyErr_Occurred()) return NULL;
266 } Py_INCREF(Py_None);
267 _resultobj = Py_None;
268 {
269 if (_obj1)
270 delete _arg1;
271 }
272 return _resultobj;
273 }
274
275 #define wxStyledTextCtrl_InsertText(_swigobj,_swigarg0,_swigarg1) (_swigobj->InsertText(_swigarg0,_swigarg1))
276 static PyObject *_wrap_wxStyledTextCtrl_InsertText(PyObject *self, PyObject *args, PyObject *kwargs) {
277 PyObject * _resultobj;
278 wxStyledTextCtrl * _arg0;
279 int _arg1;
280 wxString * _arg2;
281 PyObject * _argo0 = 0;
282 PyObject * _obj2 = 0;
283 char *_kwnames[] = { "self","pos","text", NULL };
284
285 self = self;
286 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxStyledTextCtrl_InsertText",_kwnames,&_argo0,&_arg1,&_obj2))
287 return NULL;
288 if (_argo0) {
289 if (_argo0 == Py_None) { _arg0 = NULL; }
290 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
291 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_InsertText. Expected _wxStyledTextCtrl_p.");
292 return NULL;
293 }
294 }
295 {
296 _arg2 = wxString_in_helper(_obj2);
297 if (_arg2 == NULL)
298 return NULL;
299 }
300 {
301 PyThreadState* __tstate = wxPyBeginAllowThreads();
302 wxStyledTextCtrl_InsertText(_arg0,_arg1,*_arg2);
303
304 wxPyEndAllowThreads(__tstate);
305 if (PyErr_Occurred()) return NULL;
306 } Py_INCREF(Py_None);
307 _resultobj = Py_None;
308 {
309 if (_obj2)
310 delete _arg2;
311 }
312 return _resultobj;
313 }
314
315 #define wxStyledTextCtrl_ClearAll(_swigobj) (_swigobj->ClearAll())
316 static PyObject *_wrap_wxStyledTextCtrl_ClearAll(PyObject *self, PyObject *args, PyObject *kwargs) {
317 PyObject * _resultobj;
318 wxStyledTextCtrl * _arg0;
319 PyObject * _argo0 = 0;
320 char *_kwnames[] = { "self", NULL };
321
322 self = self;
323 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_ClearAll",_kwnames,&_argo0))
324 return NULL;
325 if (_argo0) {
326 if (_argo0 == Py_None) { _arg0 = NULL; }
327 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
328 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_ClearAll. Expected _wxStyledTextCtrl_p.");
329 return NULL;
330 }
331 }
332 {
333 PyThreadState* __tstate = wxPyBeginAllowThreads();
334 wxStyledTextCtrl_ClearAll(_arg0);
335
336 wxPyEndAllowThreads(__tstate);
337 if (PyErr_Occurred()) return NULL;
338 } Py_INCREF(Py_None);
339 _resultobj = Py_None;
340 return _resultobj;
341 }
342
343 #define wxStyledTextCtrl_ClearDocumentStyle(_swigobj) (_swigobj->ClearDocumentStyle())
344 static PyObject *_wrap_wxStyledTextCtrl_ClearDocumentStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
345 PyObject * _resultobj;
346 wxStyledTextCtrl * _arg0;
347 PyObject * _argo0 = 0;
348 char *_kwnames[] = { "self", NULL };
349
350 self = self;
351 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_ClearDocumentStyle",_kwnames,&_argo0))
352 return NULL;
353 if (_argo0) {
354 if (_argo0 == Py_None) { _arg0 = NULL; }
355 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
356 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_ClearDocumentStyle. Expected _wxStyledTextCtrl_p.");
357 return NULL;
358 }
359 }
360 {
361 PyThreadState* __tstate = wxPyBeginAllowThreads();
362 wxStyledTextCtrl_ClearDocumentStyle(_arg0);
363
364 wxPyEndAllowThreads(__tstate);
365 if (PyErr_Occurred()) return NULL;
366 } Py_INCREF(Py_None);
367 _resultobj = Py_None;
368 return _resultobj;
369 }
370
371 #define wxStyledTextCtrl_GetLength(_swigobj) (_swigobj->GetLength())
372 static PyObject *_wrap_wxStyledTextCtrl_GetLength(PyObject *self, PyObject *args, PyObject *kwargs) {
373 PyObject * _resultobj;
374 int _result;
375 wxStyledTextCtrl * _arg0;
376 PyObject * _argo0 = 0;
377 char *_kwnames[] = { "self", NULL };
378
379 self = self;
380 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetLength",_kwnames,&_argo0))
381 return NULL;
382 if (_argo0) {
383 if (_argo0 == Py_None) { _arg0 = NULL; }
384 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
385 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetLength. Expected _wxStyledTextCtrl_p.");
386 return NULL;
387 }
388 }
389 {
390 PyThreadState* __tstate = wxPyBeginAllowThreads();
391 _result = (int )wxStyledTextCtrl_GetLength(_arg0);
392
393 wxPyEndAllowThreads(__tstate);
394 if (PyErr_Occurred()) return NULL;
395 } _resultobj = Py_BuildValue("i",_result);
396 return _resultobj;
397 }
398
399 #define wxStyledTextCtrl_GetCharAt(_swigobj,_swigarg0) (_swigobj->GetCharAt(_swigarg0))
400 static PyObject *_wrap_wxStyledTextCtrl_GetCharAt(PyObject *self, PyObject *args, PyObject *kwargs) {
401 PyObject * _resultobj;
402 int _result;
403 wxStyledTextCtrl * _arg0;
404 int _arg1;
405 PyObject * _argo0 = 0;
406 char *_kwnames[] = { "self","pos", NULL };
407
408 self = self;
409 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_GetCharAt",_kwnames,&_argo0,&_arg1))
410 return NULL;
411 if (_argo0) {
412 if (_argo0 == Py_None) { _arg0 = NULL; }
413 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
414 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetCharAt. Expected _wxStyledTextCtrl_p.");
415 return NULL;
416 }
417 }
418 {
419 PyThreadState* __tstate = wxPyBeginAllowThreads();
420 _result = (int )wxStyledTextCtrl_GetCharAt(_arg0,_arg1);
421
422 wxPyEndAllowThreads(__tstate);
423 if (PyErr_Occurred()) return NULL;
424 } _resultobj = Py_BuildValue("i",_result);
425 return _resultobj;
426 }
427
428 #define wxStyledTextCtrl_GetCurrentPos(_swigobj) (_swigobj->GetCurrentPos())
429 static PyObject *_wrap_wxStyledTextCtrl_GetCurrentPos(PyObject *self, PyObject *args, PyObject *kwargs) {
430 PyObject * _resultobj;
431 int _result;
432 wxStyledTextCtrl * _arg0;
433 PyObject * _argo0 = 0;
434 char *_kwnames[] = { "self", NULL };
435
436 self = self;
437 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetCurrentPos",_kwnames,&_argo0))
438 return NULL;
439 if (_argo0) {
440 if (_argo0 == Py_None) { _arg0 = NULL; }
441 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
442 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetCurrentPos. Expected _wxStyledTextCtrl_p.");
443 return NULL;
444 }
445 }
446 {
447 PyThreadState* __tstate = wxPyBeginAllowThreads();
448 _result = (int )wxStyledTextCtrl_GetCurrentPos(_arg0);
449
450 wxPyEndAllowThreads(__tstate);
451 if (PyErr_Occurred()) return NULL;
452 } _resultobj = Py_BuildValue("i",_result);
453 return _resultobj;
454 }
455
456 #define wxStyledTextCtrl_GetAnchor(_swigobj) (_swigobj->GetAnchor())
457 static PyObject *_wrap_wxStyledTextCtrl_GetAnchor(PyObject *self, PyObject *args, PyObject *kwargs) {
458 PyObject * _resultobj;
459 int _result;
460 wxStyledTextCtrl * _arg0;
461 PyObject * _argo0 = 0;
462 char *_kwnames[] = { "self", NULL };
463
464 self = self;
465 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetAnchor",_kwnames,&_argo0))
466 return NULL;
467 if (_argo0) {
468 if (_argo0 == Py_None) { _arg0 = NULL; }
469 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
470 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetAnchor. Expected _wxStyledTextCtrl_p.");
471 return NULL;
472 }
473 }
474 {
475 PyThreadState* __tstate = wxPyBeginAllowThreads();
476 _result = (int )wxStyledTextCtrl_GetAnchor(_arg0);
477
478 wxPyEndAllowThreads(__tstate);
479 if (PyErr_Occurred()) return NULL;
480 } _resultobj = Py_BuildValue("i",_result);
481 return _resultobj;
482 }
483
484 #define wxStyledTextCtrl_GetStyleAt(_swigobj,_swigarg0) (_swigobj->GetStyleAt(_swigarg0))
485 static PyObject *_wrap_wxStyledTextCtrl_GetStyleAt(PyObject *self, PyObject *args, PyObject *kwargs) {
486 PyObject * _resultobj;
487 int _result;
488 wxStyledTextCtrl * _arg0;
489 int _arg1;
490 PyObject * _argo0 = 0;
491 char *_kwnames[] = { "self","pos", NULL };
492
493 self = self;
494 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_GetStyleAt",_kwnames,&_argo0,&_arg1))
495 return NULL;
496 if (_argo0) {
497 if (_argo0 == Py_None) { _arg0 = NULL; }
498 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
499 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetStyleAt. Expected _wxStyledTextCtrl_p.");
500 return NULL;
501 }
502 }
503 {
504 PyThreadState* __tstate = wxPyBeginAllowThreads();
505 _result = (int )wxStyledTextCtrl_GetStyleAt(_arg0,_arg1);
506
507 wxPyEndAllowThreads(__tstate);
508 if (PyErr_Occurred()) return NULL;
509 } _resultobj = Py_BuildValue("i",_result);
510 return _resultobj;
511 }
512
513 #define wxStyledTextCtrl_Redo(_swigobj) (_swigobj->Redo())
514 static PyObject *_wrap_wxStyledTextCtrl_Redo(PyObject *self, PyObject *args, PyObject *kwargs) {
515 PyObject * _resultobj;
516 wxStyledTextCtrl * _arg0;
517 PyObject * _argo0 = 0;
518 char *_kwnames[] = { "self", NULL };
519
520 self = self;
521 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_Redo",_kwnames,&_argo0))
522 return NULL;
523 if (_argo0) {
524 if (_argo0 == Py_None) { _arg0 = NULL; }
525 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
526 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_Redo. Expected _wxStyledTextCtrl_p.");
527 return NULL;
528 }
529 }
530 {
531 PyThreadState* __tstate = wxPyBeginAllowThreads();
532 wxStyledTextCtrl_Redo(_arg0);
533
534 wxPyEndAllowThreads(__tstate);
535 if (PyErr_Occurred()) return NULL;
536 } Py_INCREF(Py_None);
537 _resultobj = Py_None;
538 return _resultobj;
539 }
540
541 #define wxStyledTextCtrl_SetUndoCollection(_swigobj,_swigarg0) (_swigobj->SetUndoCollection(_swigarg0))
542 static PyObject *_wrap_wxStyledTextCtrl_SetUndoCollection(PyObject *self, PyObject *args, PyObject *kwargs) {
543 PyObject * _resultobj;
544 wxStyledTextCtrl * _arg0;
545 bool _arg1;
546 PyObject * _argo0 = 0;
547 int tempbool1;
548 char *_kwnames[] = { "self","collectUndo", NULL };
549
550 self = self;
551 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_SetUndoCollection",_kwnames,&_argo0,&tempbool1))
552 return NULL;
553 if (_argo0) {
554 if (_argo0 == Py_None) { _arg0 = NULL; }
555 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
556 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetUndoCollection. Expected _wxStyledTextCtrl_p.");
557 return NULL;
558 }
559 }
560 _arg1 = (bool ) tempbool1;
561 {
562 PyThreadState* __tstate = wxPyBeginAllowThreads();
563 wxStyledTextCtrl_SetUndoCollection(_arg0,_arg1);
564
565 wxPyEndAllowThreads(__tstate);
566 if (PyErr_Occurred()) return NULL;
567 } Py_INCREF(Py_None);
568 _resultobj = Py_None;
569 return _resultobj;
570 }
571
572 #define wxStyledTextCtrl_SelectAll(_swigobj) (_swigobj->SelectAll())
573 static PyObject *_wrap_wxStyledTextCtrl_SelectAll(PyObject *self, PyObject *args, PyObject *kwargs) {
574 PyObject * _resultobj;
575 wxStyledTextCtrl * _arg0;
576 PyObject * _argo0 = 0;
577 char *_kwnames[] = { "self", NULL };
578
579 self = self;
580 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_SelectAll",_kwnames,&_argo0))
581 return NULL;
582 if (_argo0) {
583 if (_argo0 == Py_None) { _arg0 = NULL; }
584 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
585 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SelectAll. Expected _wxStyledTextCtrl_p.");
586 return NULL;
587 }
588 }
589 {
590 PyThreadState* __tstate = wxPyBeginAllowThreads();
591 wxStyledTextCtrl_SelectAll(_arg0);
592
593 wxPyEndAllowThreads(__tstate);
594 if (PyErr_Occurred()) return NULL;
595 } Py_INCREF(Py_None);
596 _resultobj = Py_None;
597 return _resultobj;
598 }
599
600 #define wxStyledTextCtrl_SetSavePoint(_swigobj) (_swigobj->SetSavePoint())
601 static PyObject *_wrap_wxStyledTextCtrl_SetSavePoint(PyObject *self, PyObject *args, PyObject *kwargs) {
602 PyObject * _resultobj;
603 wxStyledTextCtrl * _arg0;
604 PyObject * _argo0 = 0;
605 char *_kwnames[] = { "self", NULL };
606
607 self = self;
608 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_SetSavePoint",_kwnames,&_argo0))
609 return NULL;
610 if (_argo0) {
611 if (_argo0 == Py_None) { _arg0 = NULL; }
612 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
613 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetSavePoint. Expected _wxStyledTextCtrl_p.");
614 return NULL;
615 }
616 }
617 {
618 PyThreadState* __tstate = wxPyBeginAllowThreads();
619 wxStyledTextCtrl_SetSavePoint(_arg0);
620
621 wxPyEndAllowThreads(__tstate);
622 if (PyErr_Occurred()) return NULL;
623 } Py_INCREF(Py_None);
624 _resultobj = Py_None;
625 return _resultobj;
626 }
627
628 #define wxStyledTextCtrl_GetStyledText(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetStyledText(_swigarg0,_swigarg1))
629 static PyObject *_wrap_wxStyledTextCtrl_GetStyledText(PyObject *self, PyObject *args, PyObject *kwargs) {
630 PyObject * _resultobj;
631 wxMemoryBuffer * _result;
632 wxStyledTextCtrl * _arg0;
633 int _arg1;
634 int _arg2;
635 PyObject * _argo0 = 0;
636 char *_kwnames[] = { "self","startPos","endPos", NULL };
637
638 self = self;
639 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxStyledTextCtrl_GetStyledText",_kwnames,&_argo0,&_arg1,&_arg2))
640 return NULL;
641 if (_argo0) {
642 if (_argo0 == Py_None) { _arg0 = NULL; }
643 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
644 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetStyledText. Expected _wxStyledTextCtrl_p.");
645 return NULL;
646 }
647 }
648 {
649 PyThreadState* __tstate = wxPyBeginAllowThreads();
650 _result = new wxMemoryBuffer (wxStyledTextCtrl_GetStyledText(_arg0,_arg1,_arg2));
651
652 wxPyEndAllowThreads(__tstate);
653 if (PyErr_Occurred()) return NULL;
654 }{
655 _resultobj = PyString_FromStringAndSize((char*)_result->GetData(), _result->GetDataLen());
656 }
657 {
658 delete _result;
659 }
660 return _resultobj;
661 }
662
663 #define wxStyledTextCtrl_CanRedo(_swigobj) (_swigobj->CanRedo())
664 static PyObject *_wrap_wxStyledTextCtrl_CanRedo(PyObject *self, PyObject *args, PyObject *kwargs) {
665 PyObject * _resultobj;
666 bool _result;
667 wxStyledTextCtrl * _arg0;
668 PyObject * _argo0 = 0;
669 char *_kwnames[] = { "self", NULL };
670
671 self = self;
672 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_CanRedo",_kwnames,&_argo0))
673 return NULL;
674 if (_argo0) {
675 if (_argo0 == Py_None) { _arg0 = NULL; }
676 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
677 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_CanRedo. Expected _wxStyledTextCtrl_p.");
678 return NULL;
679 }
680 }
681 {
682 PyThreadState* __tstate = wxPyBeginAllowThreads();
683 _result = (bool )wxStyledTextCtrl_CanRedo(_arg0);
684
685 wxPyEndAllowThreads(__tstate);
686 if (PyErr_Occurred()) return NULL;
687 } _resultobj = Py_BuildValue("i",_result);
688 return _resultobj;
689 }
690
691 #define wxStyledTextCtrl_MarkerLineFromHandle(_swigobj,_swigarg0) (_swigobj->MarkerLineFromHandle(_swigarg0))
692 static PyObject *_wrap_wxStyledTextCtrl_MarkerLineFromHandle(PyObject *self, PyObject *args, PyObject *kwargs) {
693 PyObject * _resultobj;
694 int _result;
695 wxStyledTextCtrl * _arg0;
696 int _arg1;
697 PyObject * _argo0 = 0;
698 char *_kwnames[] = { "self","handle", NULL };
699
700 self = self;
701 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_MarkerLineFromHandle",_kwnames,&_argo0,&_arg1))
702 return NULL;
703 if (_argo0) {
704 if (_argo0 == Py_None) { _arg0 = NULL; }
705 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
706 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_MarkerLineFromHandle. Expected _wxStyledTextCtrl_p.");
707 return NULL;
708 }
709 }
710 {
711 PyThreadState* __tstate = wxPyBeginAllowThreads();
712 _result = (int )wxStyledTextCtrl_MarkerLineFromHandle(_arg0,_arg1);
713
714 wxPyEndAllowThreads(__tstate);
715 if (PyErr_Occurred()) return NULL;
716 } _resultobj = Py_BuildValue("i",_result);
717 return _resultobj;
718 }
719
720 #define wxStyledTextCtrl_MarkerDeleteHandle(_swigobj,_swigarg0) (_swigobj->MarkerDeleteHandle(_swigarg0))
721 static PyObject *_wrap_wxStyledTextCtrl_MarkerDeleteHandle(PyObject *self, PyObject *args, PyObject *kwargs) {
722 PyObject * _resultobj;
723 wxStyledTextCtrl * _arg0;
724 int _arg1;
725 PyObject * _argo0 = 0;
726 char *_kwnames[] = { "self","handle", NULL };
727
728 self = self;
729 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_MarkerDeleteHandle",_kwnames,&_argo0,&_arg1))
730 return NULL;
731 if (_argo0) {
732 if (_argo0 == Py_None) { _arg0 = NULL; }
733 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
734 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_MarkerDeleteHandle. Expected _wxStyledTextCtrl_p.");
735 return NULL;
736 }
737 }
738 {
739 PyThreadState* __tstate = wxPyBeginAllowThreads();
740 wxStyledTextCtrl_MarkerDeleteHandle(_arg0,_arg1);
741
742 wxPyEndAllowThreads(__tstate);
743 if (PyErr_Occurred()) return NULL;
744 } Py_INCREF(Py_None);
745 _resultobj = Py_None;
746 return _resultobj;
747 }
748
749 #define wxStyledTextCtrl_GetUndoCollection(_swigobj) (_swigobj->GetUndoCollection())
750 static PyObject *_wrap_wxStyledTextCtrl_GetUndoCollection(PyObject *self, PyObject *args, PyObject *kwargs) {
751 PyObject * _resultobj;
752 bool _result;
753 wxStyledTextCtrl * _arg0;
754 PyObject * _argo0 = 0;
755 char *_kwnames[] = { "self", NULL };
756
757 self = self;
758 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetUndoCollection",_kwnames,&_argo0))
759 return NULL;
760 if (_argo0) {
761 if (_argo0 == Py_None) { _arg0 = NULL; }
762 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
763 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetUndoCollection. Expected _wxStyledTextCtrl_p.");
764 return NULL;
765 }
766 }
767 {
768 PyThreadState* __tstate = wxPyBeginAllowThreads();
769 _result = (bool )wxStyledTextCtrl_GetUndoCollection(_arg0);
770
771 wxPyEndAllowThreads(__tstate);
772 if (PyErr_Occurred()) return NULL;
773 } _resultobj = Py_BuildValue("i",_result);
774 return _resultobj;
775 }
776
777 #define wxStyledTextCtrl_GetViewWhiteSpace(_swigobj) (_swigobj->GetViewWhiteSpace())
778 static PyObject *_wrap_wxStyledTextCtrl_GetViewWhiteSpace(PyObject *self, PyObject *args, PyObject *kwargs) {
779 PyObject * _resultobj;
780 int _result;
781 wxStyledTextCtrl * _arg0;
782 PyObject * _argo0 = 0;
783 char *_kwnames[] = { "self", NULL };
784
785 self = self;
786 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetViewWhiteSpace",_kwnames,&_argo0))
787 return NULL;
788 if (_argo0) {
789 if (_argo0 == Py_None) { _arg0 = NULL; }
790 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
791 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetViewWhiteSpace. Expected _wxStyledTextCtrl_p.");
792 return NULL;
793 }
794 }
795 {
796 PyThreadState* __tstate = wxPyBeginAllowThreads();
797 _result = (int )wxStyledTextCtrl_GetViewWhiteSpace(_arg0);
798
799 wxPyEndAllowThreads(__tstate);
800 if (PyErr_Occurred()) return NULL;
801 } _resultobj = Py_BuildValue("i",_result);
802 return _resultobj;
803 }
804
805 #define wxStyledTextCtrl_SetViewWhiteSpace(_swigobj,_swigarg0) (_swigobj->SetViewWhiteSpace(_swigarg0))
806 static PyObject *_wrap_wxStyledTextCtrl_SetViewWhiteSpace(PyObject *self, PyObject *args, PyObject *kwargs) {
807 PyObject * _resultobj;
808 wxStyledTextCtrl * _arg0;
809 int _arg1;
810 PyObject * _argo0 = 0;
811 char *_kwnames[] = { "self","viewWS", NULL };
812
813 self = self;
814 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_SetViewWhiteSpace",_kwnames,&_argo0,&_arg1))
815 return NULL;
816 if (_argo0) {
817 if (_argo0 == Py_None) { _arg0 = NULL; }
818 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
819 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetViewWhiteSpace. Expected _wxStyledTextCtrl_p.");
820 return NULL;
821 }
822 }
823 {
824 PyThreadState* __tstate = wxPyBeginAllowThreads();
825 wxStyledTextCtrl_SetViewWhiteSpace(_arg0,_arg1);
826
827 wxPyEndAllowThreads(__tstate);
828 if (PyErr_Occurred()) return NULL;
829 } Py_INCREF(Py_None);
830 _resultobj = Py_None;
831 return _resultobj;
832 }
833
834 #define wxStyledTextCtrl_PositionFromPoint(_swigobj,_swigarg0) (_swigobj->PositionFromPoint(_swigarg0))
835 static PyObject *_wrap_wxStyledTextCtrl_PositionFromPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
836 PyObject * _resultobj;
837 int _result;
838 wxStyledTextCtrl * _arg0;
839 wxPoint * _arg1;
840 PyObject * _argo0 = 0;
841 wxPoint temp;
842 PyObject * _obj1 = 0;
843 char *_kwnames[] = { "self","pt", NULL };
844
845 self = self;
846 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxStyledTextCtrl_PositionFromPoint",_kwnames,&_argo0,&_obj1))
847 return NULL;
848 if (_argo0) {
849 if (_argo0 == Py_None) { _arg0 = NULL; }
850 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
851 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_PositionFromPoint. Expected _wxStyledTextCtrl_p.");
852 return NULL;
853 }
854 }
855 {
856 _arg1 = &temp;
857 if (! wxPoint_helper(_obj1, &_arg1))
858 return NULL;
859 }
860 {
861 PyThreadState* __tstate = wxPyBeginAllowThreads();
862 _result = (int )wxStyledTextCtrl_PositionFromPoint(_arg0,*_arg1);
863
864 wxPyEndAllowThreads(__tstate);
865 if (PyErr_Occurred()) return NULL;
866 } _resultobj = Py_BuildValue("i",_result);
867 return _resultobj;
868 }
869
870 #define wxStyledTextCtrl_PositionFromPointClose(_swigobj,_swigarg0,_swigarg1) (_swigobj->PositionFromPointClose(_swigarg0,_swigarg1))
871 static PyObject *_wrap_wxStyledTextCtrl_PositionFromPointClose(PyObject *self, PyObject *args, PyObject *kwargs) {
872 PyObject * _resultobj;
873 int _result;
874 wxStyledTextCtrl * _arg0;
875 int _arg1;
876 int _arg2;
877 PyObject * _argo0 = 0;
878 char *_kwnames[] = { "self","x","y", NULL };
879
880 self = self;
881 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxStyledTextCtrl_PositionFromPointClose",_kwnames,&_argo0,&_arg1,&_arg2))
882 return NULL;
883 if (_argo0) {
884 if (_argo0 == Py_None) { _arg0 = NULL; }
885 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
886 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_PositionFromPointClose. Expected _wxStyledTextCtrl_p.");
887 return NULL;
888 }
889 }
890 {
891 PyThreadState* __tstate = wxPyBeginAllowThreads();
892 _result = (int )wxStyledTextCtrl_PositionFromPointClose(_arg0,_arg1,_arg2);
893
894 wxPyEndAllowThreads(__tstate);
895 if (PyErr_Occurred()) return NULL;
896 } _resultobj = Py_BuildValue("i",_result);
897 return _resultobj;
898 }
899
900 #define wxStyledTextCtrl_GotoLine(_swigobj,_swigarg0) (_swigobj->GotoLine(_swigarg0))
901 static PyObject *_wrap_wxStyledTextCtrl_GotoLine(PyObject *self, PyObject *args, PyObject *kwargs) {
902 PyObject * _resultobj;
903 wxStyledTextCtrl * _arg0;
904 int _arg1;
905 PyObject * _argo0 = 0;
906 char *_kwnames[] = { "self","line", NULL };
907
908 self = self;
909 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_GotoLine",_kwnames,&_argo0,&_arg1))
910 return NULL;
911 if (_argo0) {
912 if (_argo0 == Py_None) { _arg0 = NULL; }
913 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
914 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GotoLine. Expected _wxStyledTextCtrl_p.");
915 return NULL;
916 }
917 }
918 {
919 PyThreadState* __tstate = wxPyBeginAllowThreads();
920 wxStyledTextCtrl_GotoLine(_arg0,_arg1);
921
922 wxPyEndAllowThreads(__tstate);
923 if (PyErr_Occurred()) return NULL;
924 } Py_INCREF(Py_None);
925 _resultobj = Py_None;
926 return _resultobj;
927 }
928
929 #define wxStyledTextCtrl_GotoPos(_swigobj,_swigarg0) (_swigobj->GotoPos(_swigarg0))
930 static PyObject *_wrap_wxStyledTextCtrl_GotoPos(PyObject *self, PyObject *args, PyObject *kwargs) {
931 PyObject * _resultobj;
932 wxStyledTextCtrl * _arg0;
933 int _arg1;
934 PyObject * _argo0 = 0;
935 char *_kwnames[] = { "self","pos", NULL };
936
937 self = self;
938 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_GotoPos",_kwnames,&_argo0,&_arg1))
939 return NULL;
940 if (_argo0) {
941 if (_argo0 == Py_None) { _arg0 = NULL; }
942 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
943 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GotoPos. Expected _wxStyledTextCtrl_p.");
944 return NULL;
945 }
946 }
947 {
948 PyThreadState* __tstate = wxPyBeginAllowThreads();
949 wxStyledTextCtrl_GotoPos(_arg0,_arg1);
950
951 wxPyEndAllowThreads(__tstate);
952 if (PyErr_Occurred()) return NULL;
953 } Py_INCREF(Py_None);
954 _resultobj = Py_None;
955 return _resultobj;
956 }
957
958 #define wxStyledTextCtrl_SetAnchor(_swigobj,_swigarg0) (_swigobj->SetAnchor(_swigarg0))
959 static PyObject *_wrap_wxStyledTextCtrl_SetAnchor(PyObject *self, PyObject *args, PyObject *kwargs) {
960 PyObject * _resultobj;
961 wxStyledTextCtrl * _arg0;
962 int _arg1;
963 PyObject * _argo0 = 0;
964 char *_kwnames[] = { "self","posAnchor", NULL };
965
966 self = self;
967 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_SetAnchor",_kwnames,&_argo0,&_arg1))
968 return NULL;
969 if (_argo0) {
970 if (_argo0 == Py_None) { _arg0 = NULL; }
971 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
972 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetAnchor. Expected _wxStyledTextCtrl_p.");
973 return NULL;
974 }
975 }
976 {
977 PyThreadState* __tstate = wxPyBeginAllowThreads();
978 wxStyledTextCtrl_SetAnchor(_arg0,_arg1);
979
980 wxPyEndAllowThreads(__tstate);
981 if (PyErr_Occurred()) return NULL;
982 } Py_INCREF(Py_None);
983 _resultobj = Py_None;
984 return _resultobj;
985 }
986
987 #define wxStyledTextCtrl_GetCurLine(_swigobj,_swigarg0) (_swigobj->GetCurLine(_swigarg0))
988 static PyObject *_wrap_wxStyledTextCtrl_GetCurLine(PyObject *self, PyObject *args, PyObject *kwargs) {
989 PyObject * _resultobj;
990 wxString * _result;
991 wxStyledTextCtrl * _arg0;
992 int * _arg1;
993 int temp;
994 PyObject * _argo0 = 0;
995 char *_kwnames[] = { "self", NULL };
996
997 self = self;
998 {
999 _arg1 = &temp;
1000 }
1001 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetCurLine",_kwnames,&_argo0))
1002 return NULL;
1003 if (_argo0) {
1004 if (_argo0 == Py_None) { _arg0 = NULL; }
1005 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
1006 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetCurLine. Expected _wxStyledTextCtrl_p.");
1007 return NULL;
1008 }
1009 }
1010 {
1011 PyThreadState* __tstate = wxPyBeginAllowThreads();
1012 _result = new wxString (wxStyledTextCtrl_GetCurLine(_arg0,_arg1));
1013
1014 wxPyEndAllowThreads(__tstate);
1015 if (PyErr_Occurred()) return NULL;
1016 }{
1017 #if wxUSE_UNICODE
1018 _resultobj = PyUnicode_FromUnicode(_result->c_str(), _result->Len());
1019 #else
1020 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
1021 #endif
1022 }
1023 {
1024 PyObject *o;
1025 o = PyInt_FromLong((long) (*_arg1));
1026 _resultobj = t_output_helper(_resultobj, o);
1027 }
1028 {
1029 delete _result;
1030 }
1031 return _resultobj;
1032 }
1033
1034 #define wxStyledTextCtrl_GetEndStyled(_swigobj) (_swigobj->GetEndStyled())
1035 static PyObject *_wrap_wxStyledTextCtrl_GetEndStyled(PyObject *self, PyObject *args, PyObject *kwargs) {
1036 PyObject * _resultobj;
1037 int _result;
1038 wxStyledTextCtrl * _arg0;
1039 PyObject * _argo0 = 0;
1040 char *_kwnames[] = { "self", NULL };
1041
1042 self = self;
1043 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetEndStyled",_kwnames,&_argo0))
1044 return NULL;
1045 if (_argo0) {
1046 if (_argo0 == Py_None) { _arg0 = NULL; }
1047 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
1048 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetEndStyled. Expected _wxStyledTextCtrl_p.");
1049 return NULL;
1050 }
1051 }
1052 {
1053 PyThreadState* __tstate = wxPyBeginAllowThreads();
1054 _result = (int )wxStyledTextCtrl_GetEndStyled(_arg0);
1055
1056 wxPyEndAllowThreads(__tstate);
1057 if (PyErr_Occurred()) return NULL;
1058 } _resultobj = Py_BuildValue("i",_result);
1059 return _resultobj;
1060 }
1061
1062 #define wxStyledTextCtrl_ConvertEOLs(_swigobj,_swigarg0) (_swigobj->ConvertEOLs(_swigarg0))
1063 static PyObject *_wrap_wxStyledTextCtrl_ConvertEOLs(PyObject *self, PyObject *args, PyObject *kwargs) {
1064 PyObject * _resultobj;
1065 wxStyledTextCtrl * _arg0;
1066 int _arg1;
1067 PyObject * _argo0 = 0;
1068 char *_kwnames[] = { "self","eolMode", NULL };
1069
1070 self = self;
1071 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_ConvertEOLs",_kwnames,&_argo0,&_arg1))
1072 return NULL;
1073 if (_argo0) {
1074 if (_argo0 == Py_None) { _arg0 = NULL; }
1075 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
1076 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_ConvertEOLs. Expected _wxStyledTextCtrl_p.");
1077 return NULL;
1078 }
1079 }
1080 {
1081 PyThreadState* __tstate = wxPyBeginAllowThreads();
1082 wxStyledTextCtrl_ConvertEOLs(_arg0,_arg1);
1083
1084 wxPyEndAllowThreads(__tstate);
1085 if (PyErr_Occurred()) return NULL;
1086 } Py_INCREF(Py_None);
1087 _resultobj = Py_None;
1088 return _resultobj;
1089 }
1090
1091 #define wxStyledTextCtrl_GetEOLMode(_swigobj) (_swigobj->GetEOLMode())
1092 static PyObject *_wrap_wxStyledTextCtrl_GetEOLMode(PyObject *self, PyObject *args, PyObject *kwargs) {
1093 PyObject * _resultobj;
1094 int _result;
1095 wxStyledTextCtrl * _arg0;
1096 PyObject * _argo0 = 0;
1097 char *_kwnames[] = { "self", NULL };
1098
1099 self = self;
1100 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetEOLMode",_kwnames,&_argo0))
1101 return NULL;
1102 if (_argo0) {
1103 if (_argo0 == Py_None) { _arg0 = NULL; }
1104 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
1105 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetEOLMode. Expected _wxStyledTextCtrl_p.");
1106 return NULL;
1107 }
1108 }
1109 {
1110 PyThreadState* __tstate = wxPyBeginAllowThreads();
1111 _result = (int )wxStyledTextCtrl_GetEOLMode(_arg0);
1112
1113 wxPyEndAllowThreads(__tstate);
1114 if (PyErr_Occurred()) return NULL;
1115 } _resultobj = Py_BuildValue("i",_result);
1116 return _resultobj;
1117 }
1118
1119 #define wxStyledTextCtrl_SetEOLMode(_swigobj,_swigarg0) (_swigobj->SetEOLMode(_swigarg0))
1120 static PyObject *_wrap_wxStyledTextCtrl_SetEOLMode(PyObject *self, PyObject *args, PyObject *kwargs) {
1121 PyObject * _resultobj;
1122 wxStyledTextCtrl * _arg0;
1123 int _arg1;
1124 PyObject * _argo0 = 0;
1125 char *_kwnames[] = { "self","eolMode", NULL };
1126
1127 self = self;
1128 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_SetEOLMode",_kwnames,&_argo0,&_arg1))
1129 return NULL;
1130 if (_argo0) {
1131 if (_argo0 == Py_None) { _arg0 = NULL; }
1132 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
1133 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetEOLMode. Expected _wxStyledTextCtrl_p.");
1134 return NULL;
1135 }
1136 }
1137 {
1138 PyThreadState* __tstate = wxPyBeginAllowThreads();
1139 wxStyledTextCtrl_SetEOLMode(_arg0,_arg1);
1140
1141 wxPyEndAllowThreads(__tstate);
1142 if (PyErr_Occurred()) return NULL;
1143 } Py_INCREF(Py_None);
1144 _resultobj = Py_None;
1145 return _resultobj;
1146 }
1147
1148 #define wxStyledTextCtrl_StartStyling(_swigobj,_swigarg0,_swigarg1) (_swigobj->StartStyling(_swigarg0,_swigarg1))
1149 static PyObject *_wrap_wxStyledTextCtrl_StartStyling(PyObject *self, PyObject *args, PyObject *kwargs) {
1150 PyObject * _resultobj;
1151 wxStyledTextCtrl * _arg0;
1152 int _arg1;
1153 int _arg2;
1154 PyObject * _argo0 = 0;
1155 char *_kwnames[] = { "self","pos","mask", NULL };
1156
1157 self = self;
1158 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxStyledTextCtrl_StartStyling",_kwnames,&_argo0,&_arg1,&_arg2))
1159 return NULL;
1160 if (_argo0) {
1161 if (_argo0 == Py_None) { _arg0 = NULL; }
1162 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
1163 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_StartStyling. Expected _wxStyledTextCtrl_p.");
1164 return NULL;
1165 }
1166 }
1167 {
1168 PyThreadState* __tstate = wxPyBeginAllowThreads();
1169 wxStyledTextCtrl_StartStyling(_arg0,_arg1,_arg2);
1170
1171 wxPyEndAllowThreads(__tstate);
1172 if (PyErr_Occurred()) return NULL;
1173 } Py_INCREF(Py_None);
1174 _resultobj = Py_None;
1175 return _resultobj;
1176 }
1177
1178 #define wxStyledTextCtrl_SetStyling(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetStyling(_swigarg0,_swigarg1))
1179 static PyObject *_wrap_wxStyledTextCtrl_SetStyling(PyObject *self, PyObject *args, PyObject *kwargs) {
1180 PyObject * _resultobj;
1181 wxStyledTextCtrl * _arg0;
1182 int _arg1;
1183 int _arg2;
1184 PyObject * _argo0 = 0;
1185 char *_kwnames[] = { "self","length","style", NULL };
1186
1187 self = self;
1188 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxStyledTextCtrl_SetStyling",_kwnames,&_argo0,&_arg1,&_arg2))
1189 return NULL;
1190 if (_argo0) {
1191 if (_argo0 == Py_None) { _arg0 = NULL; }
1192 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
1193 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetStyling. Expected _wxStyledTextCtrl_p.");
1194 return NULL;
1195 }
1196 }
1197 {
1198 PyThreadState* __tstate = wxPyBeginAllowThreads();
1199 wxStyledTextCtrl_SetStyling(_arg0,_arg1,_arg2);
1200
1201 wxPyEndAllowThreads(__tstate);
1202 if (PyErr_Occurred()) return NULL;
1203 } Py_INCREF(Py_None);
1204 _resultobj = Py_None;
1205 return _resultobj;
1206 }
1207
1208 #define wxStyledTextCtrl_GetBufferedDraw(_swigobj) (_swigobj->GetBufferedDraw())
1209 static PyObject *_wrap_wxStyledTextCtrl_GetBufferedDraw(PyObject *self, PyObject *args, PyObject *kwargs) {
1210 PyObject * _resultobj;
1211 bool _result;
1212 wxStyledTextCtrl * _arg0;
1213 PyObject * _argo0 = 0;
1214 char *_kwnames[] = { "self", NULL };
1215
1216 self = self;
1217 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetBufferedDraw",_kwnames,&_argo0))
1218 return NULL;
1219 if (_argo0) {
1220 if (_argo0 == Py_None) { _arg0 = NULL; }
1221 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
1222 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetBufferedDraw. Expected _wxStyledTextCtrl_p.");
1223 return NULL;
1224 }
1225 }
1226 {
1227 PyThreadState* __tstate = wxPyBeginAllowThreads();
1228 _result = (bool )wxStyledTextCtrl_GetBufferedDraw(_arg0);
1229
1230 wxPyEndAllowThreads(__tstate);
1231 if (PyErr_Occurred()) return NULL;
1232 } _resultobj = Py_BuildValue("i",_result);
1233 return _resultobj;
1234 }
1235
1236 #define wxStyledTextCtrl_SetBufferedDraw(_swigobj,_swigarg0) (_swigobj->SetBufferedDraw(_swigarg0))
1237 static PyObject *_wrap_wxStyledTextCtrl_SetBufferedDraw(PyObject *self, PyObject *args, PyObject *kwargs) {
1238 PyObject * _resultobj;
1239 wxStyledTextCtrl * _arg0;
1240 bool _arg1;
1241 PyObject * _argo0 = 0;
1242 int tempbool1;
1243 char *_kwnames[] = { "self","buffered", NULL };
1244
1245 self = self;
1246 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_SetBufferedDraw",_kwnames,&_argo0,&tempbool1))
1247 return NULL;
1248 if (_argo0) {
1249 if (_argo0 == Py_None) { _arg0 = NULL; }
1250 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
1251 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetBufferedDraw. Expected _wxStyledTextCtrl_p.");
1252 return NULL;
1253 }
1254 }
1255 _arg1 = (bool ) tempbool1;
1256 {
1257 PyThreadState* __tstate = wxPyBeginAllowThreads();
1258 wxStyledTextCtrl_SetBufferedDraw(_arg0,_arg1);
1259
1260 wxPyEndAllowThreads(__tstate);
1261 if (PyErr_Occurred()) return NULL;
1262 } Py_INCREF(Py_None);
1263 _resultobj = Py_None;
1264 return _resultobj;
1265 }
1266
1267 #define wxStyledTextCtrl_SetTabWidth(_swigobj,_swigarg0) (_swigobj->SetTabWidth(_swigarg0))
1268 static PyObject *_wrap_wxStyledTextCtrl_SetTabWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
1269 PyObject * _resultobj;
1270 wxStyledTextCtrl * _arg0;
1271 int _arg1;
1272 PyObject * _argo0 = 0;
1273 char *_kwnames[] = { "self","tabWidth", NULL };
1274
1275 self = self;
1276 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_SetTabWidth",_kwnames,&_argo0,&_arg1))
1277 return NULL;
1278 if (_argo0) {
1279 if (_argo0 == Py_None) { _arg0 = NULL; }
1280 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
1281 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetTabWidth. Expected _wxStyledTextCtrl_p.");
1282 return NULL;
1283 }
1284 }
1285 {
1286 PyThreadState* __tstate = wxPyBeginAllowThreads();
1287 wxStyledTextCtrl_SetTabWidth(_arg0,_arg1);
1288
1289 wxPyEndAllowThreads(__tstate);
1290 if (PyErr_Occurred()) return NULL;
1291 } Py_INCREF(Py_None);
1292 _resultobj = Py_None;
1293 return _resultobj;
1294 }
1295
1296 #define wxStyledTextCtrl_GetTabWidth(_swigobj) (_swigobj->GetTabWidth())
1297 static PyObject *_wrap_wxStyledTextCtrl_GetTabWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
1298 PyObject * _resultobj;
1299 int _result;
1300 wxStyledTextCtrl * _arg0;
1301 PyObject * _argo0 = 0;
1302 char *_kwnames[] = { "self", NULL };
1303
1304 self = self;
1305 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetTabWidth",_kwnames,&_argo0))
1306 return NULL;
1307 if (_argo0) {
1308 if (_argo0 == Py_None) { _arg0 = NULL; }
1309 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
1310 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetTabWidth. Expected _wxStyledTextCtrl_p.");
1311 return NULL;
1312 }
1313 }
1314 {
1315 PyThreadState* __tstate = wxPyBeginAllowThreads();
1316 _result = (int )wxStyledTextCtrl_GetTabWidth(_arg0);
1317
1318 wxPyEndAllowThreads(__tstate);
1319 if (PyErr_Occurred()) return NULL;
1320 } _resultobj = Py_BuildValue("i",_result);
1321 return _resultobj;
1322 }
1323
1324 #define wxStyledTextCtrl_SetCodePage(_swigobj,_swigarg0) (_swigobj->SetCodePage(_swigarg0))
1325 static PyObject *_wrap_wxStyledTextCtrl_SetCodePage(PyObject *self, PyObject *args, PyObject *kwargs) {
1326 PyObject * _resultobj;
1327 wxStyledTextCtrl * _arg0;
1328 int _arg1;
1329 PyObject * _argo0 = 0;
1330 char *_kwnames[] = { "self","codePage", NULL };
1331
1332 self = self;
1333 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_SetCodePage",_kwnames,&_argo0,&_arg1))
1334 return NULL;
1335 if (_argo0) {
1336 if (_argo0 == Py_None) { _arg0 = NULL; }
1337 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
1338 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetCodePage. Expected _wxStyledTextCtrl_p.");
1339 return NULL;
1340 }
1341 }
1342 {
1343 PyThreadState* __tstate = wxPyBeginAllowThreads();
1344 wxStyledTextCtrl_SetCodePage(_arg0,_arg1);
1345
1346 wxPyEndAllowThreads(__tstate);
1347 if (PyErr_Occurred()) return NULL;
1348 } Py_INCREF(Py_None);
1349 _resultobj = Py_None;
1350 return _resultobj;
1351 }
1352
1353 #define wxStyledTextCtrl_MarkerDefine(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->MarkerDefine(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
1354 static PyObject *_wrap_wxStyledTextCtrl_MarkerDefine(PyObject *self, PyObject *args, PyObject *kwargs) {
1355 PyObject * _resultobj;
1356 wxStyledTextCtrl * _arg0;
1357 int _arg1;
1358 int _arg2;
1359 wxColour * _arg3 = (wxColour *) &wxNullColour;
1360 wxColour * _arg4 = (wxColour *) &wxNullColour;
1361 PyObject * _argo0 = 0;
1362 wxColour temp;
1363 PyObject * _obj3 = 0;
1364 wxColour temp0;
1365 PyObject * _obj4 = 0;
1366 char *_kwnames[] = { "self","markerNumber","markerSymbol","foreground","background", NULL };
1367
1368 self = self;
1369 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii|OO:wxStyledTextCtrl_MarkerDefine",_kwnames,&_argo0,&_arg1,&_arg2,&_obj3,&_obj4))
1370 return NULL;
1371 if (_argo0) {
1372 if (_argo0 == Py_None) { _arg0 = NULL; }
1373 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
1374 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_MarkerDefine. Expected _wxStyledTextCtrl_p.");
1375 return NULL;
1376 }
1377 }
1378 if (_obj3)
1379 {
1380 _arg3 = &temp;
1381 if (! wxColour_helper(_obj3, &_arg3))
1382 return NULL;
1383 }
1384 if (_obj4)
1385 {
1386 _arg4 = &temp0;
1387 if (! wxColour_helper(_obj4, &_arg4))
1388 return NULL;
1389 }
1390 {
1391 PyThreadState* __tstate = wxPyBeginAllowThreads();
1392 wxStyledTextCtrl_MarkerDefine(_arg0,_arg1,_arg2,*_arg3,*_arg4);
1393
1394 wxPyEndAllowThreads(__tstate);
1395 if (PyErr_Occurred()) return NULL;
1396 } Py_INCREF(Py_None);
1397 _resultobj = Py_None;
1398 return _resultobj;
1399 }
1400
1401 #define wxStyledTextCtrl_MarkerSetForeground(_swigobj,_swigarg0,_swigarg1) (_swigobj->MarkerSetForeground(_swigarg0,_swigarg1))
1402 static PyObject *_wrap_wxStyledTextCtrl_MarkerSetForeground(PyObject *self, PyObject *args, PyObject *kwargs) {
1403 PyObject * _resultobj;
1404 wxStyledTextCtrl * _arg0;
1405 int _arg1;
1406 wxColour * _arg2;
1407 PyObject * _argo0 = 0;
1408 wxColour temp;
1409 PyObject * _obj2 = 0;
1410 char *_kwnames[] = { "self","markerNumber","fore", NULL };
1411
1412 self = self;
1413 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxStyledTextCtrl_MarkerSetForeground",_kwnames,&_argo0,&_arg1,&_obj2))
1414 return NULL;
1415 if (_argo0) {
1416 if (_argo0 == Py_None) { _arg0 = NULL; }
1417 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
1418 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_MarkerSetForeground. Expected _wxStyledTextCtrl_p.");
1419 return NULL;
1420 }
1421 }
1422 {
1423 _arg2 = &temp;
1424 if (! wxColour_helper(_obj2, &_arg2))
1425 return NULL;
1426 }
1427 {
1428 PyThreadState* __tstate = wxPyBeginAllowThreads();
1429 wxStyledTextCtrl_MarkerSetForeground(_arg0,_arg1,*_arg2);
1430
1431 wxPyEndAllowThreads(__tstate);
1432 if (PyErr_Occurred()) return NULL;
1433 } Py_INCREF(Py_None);
1434 _resultobj = Py_None;
1435 return _resultobj;
1436 }
1437
1438 #define wxStyledTextCtrl_MarkerSetBackground(_swigobj,_swigarg0,_swigarg1) (_swigobj->MarkerSetBackground(_swigarg0,_swigarg1))
1439 static PyObject *_wrap_wxStyledTextCtrl_MarkerSetBackground(PyObject *self, PyObject *args, PyObject *kwargs) {
1440 PyObject * _resultobj;
1441 wxStyledTextCtrl * _arg0;
1442 int _arg1;
1443 wxColour * _arg2;
1444 PyObject * _argo0 = 0;
1445 wxColour temp;
1446 PyObject * _obj2 = 0;
1447 char *_kwnames[] = { "self","markerNumber","back", NULL };
1448
1449 self = self;
1450 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxStyledTextCtrl_MarkerSetBackground",_kwnames,&_argo0,&_arg1,&_obj2))
1451 return NULL;
1452 if (_argo0) {
1453 if (_argo0 == Py_None) { _arg0 = NULL; }
1454 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
1455 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_MarkerSetBackground. Expected _wxStyledTextCtrl_p.");
1456 return NULL;
1457 }
1458 }
1459 {
1460 _arg2 = &temp;
1461 if (! wxColour_helper(_obj2, &_arg2))
1462 return NULL;
1463 }
1464 {
1465 PyThreadState* __tstate = wxPyBeginAllowThreads();
1466 wxStyledTextCtrl_MarkerSetBackground(_arg0,_arg1,*_arg2);
1467
1468 wxPyEndAllowThreads(__tstate);
1469 if (PyErr_Occurred()) return NULL;
1470 } Py_INCREF(Py_None);
1471 _resultobj = Py_None;
1472 return _resultobj;
1473 }
1474
1475 #define wxStyledTextCtrl_MarkerAdd(_swigobj,_swigarg0,_swigarg1) (_swigobj->MarkerAdd(_swigarg0,_swigarg1))
1476 static PyObject *_wrap_wxStyledTextCtrl_MarkerAdd(PyObject *self, PyObject *args, PyObject *kwargs) {
1477 PyObject * _resultobj;
1478 int _result;
1479 wxStyledTextCtrl * _arg0;
1480 int _arg1;
1481 int _arg2;
1482 PyObject * _argo0 = 0;
1483 char *_kwnames[] = { "self","line","markerNumber", NULL };
1484
1485 self = self;
1486 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxStyledTextCtrl_MarkerAdd",_kwnames,&_argo0,&_arg1,&_arg2))
1487 return NULL;
1488 if (_argo0) {
1489 if (_argo0 == Py_None) { _arg0 = NULL; }
1490 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
1491 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_MarkerAdd. Expected _wxStyledTextCtrl_p.");
1492 return NULL;
1493 }
1494 }
1495 {
1496 PyThreadState* __tstate = wxPyBeginAllowThreads();
1497 _result = (int )wxStyledTextCtrl_MarkerAdd(_arg0,_arg1,_arg2);
1498
1499 wxPyEndAllowThreads(__tstate);
1500 if (PyErr_Occurred()) return NULL;
1501 } _resultobj = Py_BuildValue("i",_result);
1502 return _resultobj;
1503 }
1504
1505 #define wxStyledTextCtrl_MarkerDelete(_swigobj,_swigarg0,_swigarg1) (_swigobj->MarkerDelete(_swigarg0,_swigarg1))
1506 static PyObject *_wrap_wxStyledTextCtrl_MarkerDelete(PyObject *self, PyObject *args, PyObject *kwargs) {
1507 PyObject * _resultobj;
1508 wxStyledTextCtrl * _arg0;
1509 int _arg1;
1510 int _arg2;
1511 PyObject * _argo0 = 0;
1512 char *_kwnames[] = { "self","line","markerNumber", NULL };
1513
1514 self = self;
1515 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxStyledTextCtrl_MarkerDelete",_kwnames,&_argo0,&_arg1,&_arg2))
1516 return NULL;
1517 if (_argo0) {
1518 if (_argo0 == Py_None) { _arg0 = NULL; }
1519 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
1520 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_MarkerDelete. Expected _wxStyledTextCtrl_p.");
1521 return NULL;
1522 }
1523 }
1524 {
1525 PyThreadState* __tstate = wxPyBeginAllowThreads();
1526 wxStyledTextCtrl_MarkerDelete(_arg0,_arg1,_arg2);
1527
1528 wxPyEndAllowThreads(__tstate);
1529 if (PyErr_Occurred()) return NULL;
1530 } Py_INCREF(Py_None);
1531 _resultobj = Py_None;
1532 return _resultobj;
1533 }
1534
1535 #define wxStyledTextCtrl_MarkerDeleteAll(_swigobj,_swigarg0) (_swigobj->MarkerDeleteAll(_swigarg0))
1536 static PyObject *_wrap_wxStyledTextCtrl_MarkerDeleteAll(PyObject *self, PyObject *args, PyObject *kwargs) {
1537 PyObject * _resultobj;
1538 wxStyledTextCtrl * _arg0;
1539 int _arg1;
1540 PyObject * _argo0 = 0;
1541 char *_kwnames[] = { "self","markerNumber", NULL };
1542
1543 self = self;
1544 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_MarkerDeleteAll",_kwnames,&_argo0,&_arg1))
1545 return NULL;
1546 if (_argo0) {
1547 if (_argo0 == Py_None) { _arg0 = NULL; }
1548 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
1549 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_MarkerDeleteAll. Expected _wxStyledTextCtrl_p.");
1550 return NULL;
1551 }
1552 }
1553 {
1554 PyThreadState* __tstate = wxPyBeginAllowThreads();
1555 wxStyledTextCtrl_MarkerDeleteAll(_arg0,_arg1);
1556
1557 wxPyEndAllowThreads(__tstate);
1558 if (PyErr_Occurred()) return NULL;
1559 } Py_INCREF(Py_None);
1560 _resultobj = Py_None;
1561 return _resultobj;
1562 }
1563
1564 #define wxStyledTextCtrl_MarkerGet(_swigobj,_swigarg0) (_swigobj->MarkerGet(_swigarg0))
1565 static PyObject *_wrap_wxStyledTextCtrl_MarkerGet(PyObject *self, PyObject *args, PyObject *kwargs) {
1566 PyObject * _resultobj;
1567 int _result;
1568 wxStyledTextCtrl * _arg0;
1569 int _arg1;
1570 PyObject * _argo0 = 0;
1571 char *_kwnames[] = { "self","line", NULL };
1572
1573 self = self;
1574 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_MarkerGet",_kwnames,&_argo0,&_arg1))
1575 return NULL;
1576 if (_argo0) {
1577 if (_argo0 == Py_None) { _arg0 = NULL; }
1578 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
1579 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_MarkerGet. Expected _wxStyledTextCtrl_p.");
1580 return NULL;
1581 }
1582 }
1583 {
1584 PyThreadState* __tstate = wxPyBeginAllowThreads();
1585 _result = (int )wxStyledTextCtrl_MarkerGet(_arg0,_arg1);
1586
1587 wxPyEndAllowThreads(__tstate);
1588 if (PyErr_Occurred()) return NULL;
1589 } _resultobj = Py_BuildValue("i",_result);
1590 return _resultobj;
1591 }
1592
1593 #define wxStyledTextCtrl_MarkerNext(_swigobj,_swigarg0,_swigarg1) (_swigobj->MarkerNext(_swigarg0,_swigarg1))
1594 static PyObject *_wrap_wxStyledTextCtrl_MarkerNext(PyObject *self, PyObject *args, PyObject *kwargs) {
1595 PyObject * _resultobj;
1596 int _result;
1597 wxStyledTextCtrl * _arg0;
1598 int _arg1;
1599 int _arg2;
1600 PyObject * _argo0 = 0;
1601 char *_kwnames[] = { "self","lineStart","markerMask", NULL };
1602
1603 self = self;
1604 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxStyledTextCtrl_MarkerNext",_kwnames,&_argo0,&_arg1,&_arg2))
1605 return NULL;
1606 if (_argo0) {
1607 if (_argo0 == Py_None) { _arg0 = NULL; }
1608 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
1609 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_MarkerNext. Expected _wxStyledTextCtrl_p.");
1610 return NULL;
1611 }
1612 }
1613 {
1614 PyThreadState* __tstate = wxPyBeginAllowThreads();
1615 _result = (int )wxStyledTextCtrl_MarkerNext(_arg0,_arg1,_arg2);
1616
1617 wxPyEndAllowThreads(__tstate);
1618 if (PyErr_Occurred()) return NULL;
1619 } _resultobj = Py_BuildValue("i",_result);
1620 return _resultobj;
1621 }
1622
1623 #define wxStyledTextCtrl_MarkerPrevious(_swigobj,_swigarg0,_swigarg1) (_swigobj->MarkerPrevious(_swigarg0,_swigarg1))
1624 static PyObject *_wrap_wxStyledTextCtrl_MarkerPrevious(PyObject *self, PyObject *args, PyObject *kwargs) {
1625 PyObject * _resultobj;
1626 int _result;
1627 wxStyledTextCtrl * _arg0;
1628 int _arg1;
1629 int _arg2;
1630 PyObject * _argo0 = 0;
1631 char *_kwnames[] = { "self","lineStart","markerMask", NULL };
1632
1633 self = self;
1634 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxStyledTextCtrl_MarkerPrevious",_kwnames,&_argo0,&_arg1,&_arg2))
1635 return NULL;
1636 if (_argo0) {
1637 if (_argo0 == Py_None) { _arg0 = NULL; }
1638 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
1639 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_MarkerPrevious. Expected _wxStyledTextCtrl_p.");
1640 return NULL;
1641 }
1642 }
1643 {
1644 PyThreadState* __tstate = wxPyBeginAllowThreads();
1645 _result = (int )wxStyledTextCtrl_MarkerPrevious(_arg0,_arg1,_arg2);
1646
1647 wxPyEndAllowThreads(__tstate);
1648 if (PyErr_Occurred()) return NULL;
1649 } _resultobj = Py_BuildValue("i",_result);
1650 return _resultobj;
1651 }
1652
1653 #define wxStyledTextCtrl_SetMarginType(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetMarginType(_swigarg0,_swigarg1))
1654 static PyObject *_wrap_wxStyledTextCtrl_SetMarginType(PyObject *self, PyObject *args, PyObject *kwargs) {
1655 PyObject * _resultobj;
1656 wxStyledTextCtrl * _arg0;
1657 int _arg1;
1658 int _arg2;
1659 PyObject * _argo0 = 0;
1660 char *_kwnames[] = { "self","margin","marginType", NULL };
1661
1662 self = self;
1663 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxStyledTextCtrl_SetMarginType",_kwnames,&_argo0,&_arg1,&_arg2))
1664 return NULL;
1665 if (_argo0) {
1666 if (_argo0 == Py_None) { _arg0 = NULL; }
1667 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
1668 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetMarginType. Expected _wxStyledTextCtrl_p.");
1669 return NULL;
1670 }
1671 }
1672 {
1673 PyThreadState* __tstate = wxPyBeginAllowThreads();
1674 wxStyledTextCtrl_SetMarginType(_arg0,_arg1,_arg2);
1675
1676 wxPyEndAllowThreads(__tstate);
1677 if (PyErr_Occurred()) return NULL;
1678 } Py_INCREF(Py_None);
1679 _resultobj = Py_None;
1680 return _resultobj;
1681 }
1682
1683 #define wxStyledTextCtrl_GetMarginType(_swigobj,_swigarg0) (_swigobj->GetMarginType(_swigarg0))
1684 static PyObject *_wrap_wxStyledTextCtrl_GetMarginType(PyObject *self, PyObject *args, PyObject *kwargs) {
1685 PyObject * _resultobj;
1686 int _result;
1687 wxStyledTextCtrl * _arg0;
1688 int _arg1;
1689 PyObject * _argo0 = 0;
1690 char *_kwnames[] = { "self","margin", NULL };
1691
1692 self = self;
1693 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_GetMarginType",_kwnames,&_argo0,&_arg1))
1694 return NULL;
1695 if (_argo0) {
1696 if (_argo0 == Py_None) { _arg0 = NULL; }
1697 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
1698 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetMarginType. Expected _wxStyledTextCtrl_p.");
1699 return NULL;
1700 }
1701 }
1702 {
1703 PyThreadState* __tstate = wxPyBeginAllowThreads();
1704 _result = (int )wxStyledTextCtrl_GetMarginType(_arg0,_arg1);
1705
1706 wxPyEndAllowThreads(__tstate);
1707 if (PyErr_Occurred()) return NULL;
1708 } _resultobj = Py_BuildValue("i",_result);
1709 return _resultobj;
1710 }
1711
1712 #define wxStyledTextCtrl_SetMarginWidth(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetMarginWidth(_swigarg0,_swigarg1))
1713 static PyObject *_wrap_wxStyledTextCtrl_SetMarginWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
1714 PyObject * _resultobj;
1715 wxStyledTextCtrl * _arg0;
1716 int _arg1;
1717 int _arg2;
1718 PyObject * _argo0 = 0;
1719 char *_kwnames[] = { "self","margin","pixelWidth", NULL };
1720
1721 self = self;
1722 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxStyledTextCtrl_SetMarginWidth",_kwnames,&_argo0,&_arg1,&_arg2))
1723 return NULL;
1724 if (_argo0) {
1725 if (_argo0 == Py_None) { _arg0 = NULL; }
1726 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
1727 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetMarginWidth. Expected _wxStyledTextCtrl_p.");
1728 return NULL;
1729 }
1730 }
1731 {
1732 PyThreadState* __tstate = wxPyBeginAllowThreads();
1733 wxStyledTextCtrl_SetMarginWidth(_arg0,_arg1,_arg2);
1734
1735 wxPyEndAllowThreads(__tstate);
1736 if (PyErr_Occurred()) return NULL;
1737 } Py_INCREF(Py_None);
1738 _resultobj = Py_None;
1739 return _resultobj;
1740 }
1741
1742 #define wxStyledTextCtrl_GetMarginWidth(_swigobj,_swigarg0) (_swigobj->GetMarginWidth(_swigarg0))
1743 static PyObject *_wrap_wxStyledTextCtrl_GetMarginWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
1744 PyObject * _resultobj;
1745 int _result;
1746 wxStyledTextCtrl * _arg0;
1747 int _arg1;
1748 PyObject * _argo0 = 0;
1749 char *_kwnames[] = { "self","margin", NULL };
1750
1751 self = self;
1752 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_GetMarginWidth",_kwnames,&_argo0,&_arg1))
1753 return NULL;
1754 if (_argo0) {
1755 if (_argo0 == Py_None) { _arg0 = NULL; }
1756 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
1757 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetMarginWidth. Expected _wxStyledTextCtrl_p.");
1758 return NULL;
1759 }
1760 }
1761 {
1762 PyThreadState* __tstate = wxPyBeginAllowThreads();
1763 _result = (int )wxStyledTextCtrl_GetMarginWidth(_arg0,_arg1);
1764
1765 wxPyEndAllowThreads(__tstate);
1766 if (PyErr_Occurred()) return NULL;
1767 } _resultobj = Py_BuildValue("i",_result);
1768 return _resultobj;
1769 }
1770
1771 #define wxStyledTextCtrl_SetMarginMask(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetMarginMask(_swigarg0,_swigarg1))
1772 static PyObject *_wrap_wxStyledTextCtrl_SetMarginMask(PyObject *self, PyObject *args, PyObject *kwargs) {
1773 PyObject * _resultobj;
1774 wxStyledTextCtrl * _arg0;
1775 int _arg1;
1776 int _arg2;
1777 PyObject * _argo0 = 0;
1778 char *_kwnames[] = { "self","margin","mask", NULL };
1779
1780 self = self;
1781 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxStyledTextCtrl_SetMarginMask",_kwnames,&_argo0,&_arg1,&_arg2))
1782 return NULL;
1783 if (_argo0) {
1784 if (_argo0 == Py_None) { _arg0 = NULL; }
1785 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
1786 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetMarginMask. Expected _wxStyledTextCtrl_p.");
1787 return NULL;
1788 }
1789 }
1790 {
1791 PyThreadState* __tstate = wxPyBeginAllowThreads();
1792 wxStyledTextCtrl_SetMarginMask(_arg0,_arg1,_arg2);
1793
1794 wxPyEndAllowThreads(__tstate);
1795 if (PyErr_Occurred()) return NULL;
1796 } Py_INCREF(Py_None);
1797 _resultobj = Py_None;
1798 return _resultobj;
1799 }
1800
1801 #define wxStyledTextCtrl_GetMarginMask(_swigobj,_swigarg0) (_swigobj->GetMarginMask(_swigarg0))
1802 static PyObject *_wrap_wxStyledTextCtrl_GetMarginMask(PyObject *self, PyObject *args, PyObject *kwargs) {
1803 PyObject * _resultobj;
1804 int _result;
1805 wxStyledTextCtrl * _arg0;
1806 int _arg1;
1807 PyObject * _argo0 = 0;
1808 char *_kwnames[] = { "self","margin", NULL };
1809
1810 self = self;
1811 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_GetMarginMask",_kwnames,&_argo0,&_arg1))
1812 return NULL;
1813 if (_argo0) {
1814 if (_argo0 == Py_None) { _arg0 = NULL; }
1815 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
1816 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetMarginMask. Expected _wxStyledTextCtrl_p.");
1817 return NULL;
1818 }
1819 }
1820 {
1821 PyThreadState* __tstate = wxPyBeginAllowThreads();
1822 _result = (int )wxStyledTextCtrl_GetMarginMask(_arg0,_arg1);
1823
1824 wxPyEndAllowThreads(__tstate);
1825 if (PyErr_Occurred()) return NULL;
1826 } _resultobj = Py_BuildValue("i",_result);
1827 return _resultobj;
1828 }
1829
1830 #define wxStyledTextCtrl_SetMarginSensitive(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetMarginSensitive(_swigarg0,_swigarg1))
1831 static PyObject *_wrap_wxStyledTextCtrl_SetMarginSensitive(PyObject *self, PyObject *args, PyObject *kwargs) {
1832 PyObject * _resultobj;
1833 wxStyledTextCtrl * _arg0;
1834 int _arg1;
1835 bool _arg2;
1836 PyObject * _argo0 = 0;
1837 int tempbool2;
1838 char *_kwnames[] = { "self","margin","sensitive", NULL };
1839
1840 self = self;
1841 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxStyledTextCtrl_SetMarginSensitive",_kwnames,&_argo0,&_arg1,&tempbool2))
1842 return NULL;
1843 if (_argo0) {
1844 if (_argo0 == Py_None) { _arg0 = NULL; }
1845 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
1846 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetMarginSensitive. Expected _wxStyledTextCtrl_p.");
1847 return NULL;
1848 }
1849 }
1850 _arg2 = (bool ) tempbool2;
1851 {
1852 PyThreadState* __tstate = wxPyBeginAllowThreads();
1853 wxStyledTextCtrl_SetMarginSensitive(_arg0,_arg1,_arg2);
1854
1855 wxPyEndAllowThreads(__tstate);
1856 if (PyErr_Occurred()) return NULL;
1857 } Py_INCREF(Py_None);
1858 _resultobj = Py_None;
1859 return _resultobj;
1860 }
1861
1862 #define wxStyledTextCtrl_GetMarginSensitive(_swigobj,_swigarg0) (_swigobj->GetMarginSensitive(_swigarg0))
1863 static PyObject *_wrap_wxStyledTextCtrl_GetMarginSensitive(PyObject *self, PyObject *args, PyObject *kwargs) {
1864 PyObject * _resultobj;
1865 bool _result;
1866 wxStyledTextCtrl * _arg0;
1867 int _arg1;
1868 PyObject * _argo0 = 0;
1869 char *_kwnames[] = { "self","margin", NULL };
1870
1871 self = self;
1872 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_GetMarginSensitive",_kwnames,&_argo0,&_arg1))
1873 return NULL;
1874 if (_argo0) {
1875 if (_argo0 == Py_None) { _arg0 = NULL; }
1876 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
1877 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetMarginSensitive. Expected _wxStyledTextCtrl_p.");
1878 return NULL;
1879 }
1880 }
1881 {
1882 PyThreadState* __tstate = wxPyBeginAllowThreads();
1883 _result = (bool )wxStyledTextCtrl_GetMarginSensitive(_arg0,_arg1);
1884
1885 wxPyEndAllowThreads(__tstate);
1886 if (PyErr_Occurred()) return NULL;
1887 } _resultobj = Py_BuildValue("i",_result);
1888 return _resultobj;
1889 }
1890
1891 #define wxStyledTextCtrl_StyleClearAll(_swigobj) (_swigobj->StyleClearAll())
1892 static PyObject *_wrap_wxStyledTextCtrl_StyleClearAll(PyObject *self, PyObject *args, PyObject *kwargs) {
1893 PyObject * _resultobj;
1894 wxStyledTextCtrl * _arg0;
1895 PyObject * _argo0 = 0;
1896 char *_kwnames[] = { "self", NULL };
1897
1898 self = self;
1899 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_StyleClearAll",_kwnames,&_argo0))
1900 return NULL;
1901 if (_argo0) {
1902 if (_argo0 == Py_None) { _arg0 = NULL; }
1903 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
1904 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_StyleClearAll. Expected _wxStyledTextCtrl_p.");
1905 return NULL;
1906 }
1907 }
1908 {
1909 PyThreadState* __tstate = wxPyBeginAllowThreads();
1910 wxStyledTextCtrl_StyleClearAll(_arg0);
1911
1912 wxPyEndAllowThreads(__tstate);
1913 if (PyErr_Occurred()) return NULL;
1914 } Py_INCREF(Py_None);
1915 _resultobj = Py_None;
1916 return _resultobj;
1917 }
1918
1919 #define wxStyledTextCtrl_StyleSetForeground(_swigobj,_swigarg0,_swigarg1) (_swigobj->StyleSetForeground(_swigarg0,_swigarg1))
1920 static PyObject *_wrap_wxStyledTextCtrl_StyleSetForeground(PyObject *self, PyObject *args, PyObject *kwargs) {
1921 PyObject * _resultobj;
1922 wxStyledTextCtrl * _arg0;
1923 int _arg1;
1924 wxColour * _arg2;
1925 PyObject * _argo0 = 0;
1926 wxColour temp;
1927 PyObject * _obj2 = 0;
1928 char *_kwnames[] = { "self","style","fore", NULL };
1929
1930 self = self;
1931 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxStyledTextCtrl_StyleSetForeground",_kwnames,&_argo0,&_arg1,&_obj2))
1932 return NULL;
1933 if (_argo0) {
1934 if (_argo0 == Py_None) { _arg0 = NULL; }
1935 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
1936 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_StyleSetForeground. Expected _wxStyledTextCtrl_p.");
1937 return NULL;
1938 }
1939 }
1940 {
1941 _arg2 = &temp;
1942 if (! wxColour_helper(_obj2, &_arg2))
1943 return NULL;
1944 }
1945 {
1946 PyThreadState* __tstate = wxPyBeginAllowThreads();
1947 wxStyledTextCtrl_StyleSetForeground(_arg0,_arg1,*_arg2);
1948
1949 wxPyEndAllowThreads(__tstate);
1950 if (PyErr_Occurred()) return NULL;
1951 } Py_INCREF(Py_None);
1952 _resultobj = Py_None;
1953 return _resultobj;
1954 }
1955
1956 #define wxStyledTextCtrl_StyleSetBackground(_swigobj,_swigarg0,_swigarg1) (_swigobj->StyleSetBackground(_swigarg0,_swigarg1))
1957 static PyObject *_wrap_wxStyledTextCtrl_StyleSetBackground(PyObject *self, PyObject *args, PyObject *kwargs) {
1958 PyObject * _resultobj;
1959 wxStyledTextCtrl * _arg0;
1960 int _arg1;
1961 wxColour * _arg2;
1962 PyObject * _argo0 = 0;
1963 wxColour temp;
1964 PyObject * _obj2 = 0;
1965 char *_kwnames[] = { "self","style","back", NULL };
1966
1967 self = self;
1968 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxStyledTextCtrl_StyleSetBackground",_kwnames,&_argo0,&_arg1,&_obj2))
1969 return NULL;
1970 if (_argo0) {
1971 if (_argo0 == Py_None) { _arg0 = NULL; }
1972 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
1973 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_StyleSetBackground. Expected _wxStyledTextCtrl_p.");
1974 return NULL;
1975 }
1976 }
1977 {
1978 _arg2 = &temp;
1979 if (! wxColour_helper(_obj2, &_arg2))
1980 return NULL;
1981 }
1982 {
1983 PyThreadState* __tstate = wxPyBeginAllowThreads();
1984 wxStyledTextCtrl_StyleSetBackground(_arg0,_arg1,*_arg2);
1985
1986 wxPyEndAllowThreads(__tstate);
1987 if (PyErr_Occurred()) return NULL;
1988 } Py_INCREF(Py_None);
1989 _resultobj = Py_None;
1990 return _resultobj;
1991 }
1992
1993 #define wxStyledTextCtrl_StyleSetBold(_swigobj,_swigarg0,_swigarg1) (_swigobj->StyleSetBold(_swigarg0,_swigarg1))
1994 static PyObject *_wrap_wxStyledTextCtrl_StyleSetBold(PyObject *self, PyObject *args, PyObject *kwargs) {
1995 PyObject * _resultobj;
1996 wxStyledTextCtrl * _arg0;
1997 int _arg1;
1998 bool _arg2;
1999 PyObject * _argo0 = 0;
2000 int tempbool2;
2001 char *_kwnames[] = { "self","style","bold", NULL };
2002
2003 self = self;
2004 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxStyledTextCtrl_StyleSetBold",_kwnames,&_argo0,&_arg1,&tempbool2))
2005 return NULL;
2006 if (_argo0) {
2007 if (_argo0 == Py_None) { _arg0 = NULL; }
2008 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
2009 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_StyleSetBold. Expected _wxStyledTextCtrl_p.");
2010 return NULL;
2011 }
2012 }
2013 _arg2 = (bool ) tempbool2;
2014 {
2015 PyThreadState* __tstate = wxPyBeginAllowThreads();
2016 wxStyledTextCtrl_StyleSetBold(_arg0,_arg1,_arg2);
2017
2018 wxPyEndAllowThreads(__tstate);
2019 if (PyErr_Occurred()) return NULL;
2020 } Py_INCREF(Py_None);
2021 _resultobj = Py_None;
2022 return _resultobj;
2023 }
2024
2025 #define wxStyledTextCtrl_StyleSetItalic(_swigobj,_swigarg0,_swigarg1) (_swigobj->StyleSetItalic(_swigarg0,_swigarg1))
2026 static PyObject *_wrap_wxStyledTextCtrl_StyleSetItalic(PyObject *self, PyObject *args, PyObject *kwargs) {
2027 PyObject * _resultobj;
2028 wxStyledTextCtrl * _arg0;
2029 int _arg1;
2030 bool _arg2;
2031 PyObject * _argo0 = 0;
2032 int tempbool2;
2033 char *_kwnames[] = { "self","style","italic", NULL };
2034
2035 self = self;
2036 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxStyledTextCtrl_StyleSetItalic",_kwnames,&_argo0,&_arg1,&tempbool2))
2037 return NULL;
2038 if (_argo0) {
2039 if (_argo0 == Py_None) { _arg0 = NULL; }
2040 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
2041 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_StyleSetItalic. Expected _wxStyledTextCtrl_p.");
2042 return NULL;
2043 }
2044 }
2045 _arg2 = (bool ) tempbool2;
2046 {
2047 PyThreadState* __tstate = wxPyBeginAllowThreads();
2048 wxStyledTextCtrl_StyleSetItalic(_arg0,_arg1,_arg2);
2049
2050 wxPyEndAllowThreads(__tstate);
2051 if (PyErr_Occurred()) return NULL;
2052 } Py_INCREF(Py_None);
2053 _resultobj = Py_None;
2054 return _resultobj;
2055 }
2056
2057 #define wxStyledTextCtrl_StyleSetSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->StyleSetSize(_swigarg0,_swigarg1))
2058 static PyObject *_wrap_wxStyledTextCtrl_StyleSetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
2059 PyObject * _resultobj;
2060 wxStyledTextCtrl * _arg0;
2061 int _arg1;
2062 int _arg2;
2063 PyObject * _argo0 = 0;
2064 char *_kwnames[] = { "self","style","sizePoints", NULL };
2065
2066 self = self;
2067 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxStyledTextCtrl_StyleSetSize",_kwnames,&_argo0,&_arg1,&_arg2))
2068 return NULL;
2069 if (_argo0) {
2070 if (_argo0 == Py_None) { _arg0 = NULL; }
2071 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
2072 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_StyleSetSize. Expected _wxStyledTextCtrl_p.");
2073 return NULL;
2074 }
2075 }
2076 {
2077 PyThreadState* __tstate = wxPyBeginAllowThreads();
2078 wxStyledTextCtrl_StyleSetSize(_arg0,_arg1,_arg2);
2079
2080 wxPyEndAllowThreads(__tstate);
2081 if (PyErr_Occurred()) return NULL;
2082 } Py_INCREF(Py_None);
2083 _resultobj = Py_None;
2084 return _resultobj;
2085 }
2086
2087 #define wxStyledTextCtrl_StyleSetFaceName(_swigobj,_swigarg0,_swigarg1) (_swigobj->StyleSetFaceName(_swigarg0,_swigarg1))
2088 static PyObject *_wrap_wxStyledTextCtrl_StyleSetFaceName(PyObject *self, PyObject *args, PyObject *kwargs) {
2089 PyObject * _resultobj;
2090 wxStyledTextCtrl * _arg0;
2091 int _arg1;
2092 wxString * _arg2;
2093 PyObject * _argo0 = 0;
2094 PyObject * _obj2 = 0;
2095 char *_kwnames[] = { "self","style","fontName", NULL };
2096
2097 self = self;
2098 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxStyledTextCtrl_StyleSetFaceName",_kwnames,&_argo0,&_arg1,&_obj2))
2099 return NULL;
2100 if (_argo0) {
2101 if (_argo0 == Py_None) { _arg0 = NULL; }
2102 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
2103 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_StyleSetFaceName. Expected _wxStyledTextCtrl_p.");
2104 return NULL;
2105 }
2106 }
2107 {
2108 _arg2 = wxString_in_helper(_obj2);
2109 if (_arg2 == NULL)
2110 return NULL;
2111 }
2112 {
2113 PyThreadState* __tstate = wxPyBeginAllowThreads();
2114 wxStyledTextCtrl_StyleSetFaceName(_arg0,_arg1,*_arg2);
2115
2116 wxPyEndAllowThreads(__tstate);
2117 if (PyErr_Occurred()) return NULL;
2118 } Py_INCREF(Py_None);
2119 _resultobj = Py_None;
2120 {
2121 if (_obj2)
2122 delete _arg2;
2123 }
2124 return _resultobj;
2125 }
2126
2127 #define wxStyledTextCtrl_StyleSetEOLFilled(_swigobj,_swigarg0,_swigarg1) (_swigobj->StyleSetEOLFilled(_swigarg0,_swigarg1))
2128 static PyObject *_wrap_wxStyledTextCtrl_StyleSetEOLFilled(PyObject *self, PyObject *args, PyObject *kwargs) {
2129 PyObject * _resultobj;
2130 wxStyledTextCtrl * _arg0;
2131 int _arg1;
2132 bool _arg2;
2133 PyObject * _argo0 = 0;
2134 int tempbool2;
2135 char *_kwnames[] = { "self","style","filled", NULL };
2136
2137 self = self;
2138 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxStyledTextCtrl_StyleSetEOLFilled",_kwnames,&_argo0,&_arg1,&tempbool2))
2139 return NULL;
2140 if (_argo0) {
2141 if (_argo0 == Py_None) { _arg0 = NULL; }
2142 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
2143 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_StyleSetEOLFilled. Expected _wxStyledTextCtrl_p.");
2144 return NULL;
2145 }
2146 }
2147 _arg2 = (bool ) tempbool2;
2148 {
2149 PyThreadState* __tstate = wxPyBeginAllowThreads();
2150 wxStyledTextCtrl_StyleSetEOLFilled(_arg0,_arg1,_arg2);
2151
2152 wxPyEndAllowThreads(__tstate);
2153 if (PyErr_Occurred()) return NULL;
2154 } Py_INCREF(Py_None);
2155 _resultobj = Py_None;
2156 return _resultobj;
2157 }
2158
2159 #define wxStyledTextCtrl_StyleResetDefault(_swigobj) (_swigobj->StyleResetDefault())
2160 static PyObject *_wrap_wxStyledTextCtrl_StyleResetDefault(PyObject *self, PyObject *args, PyObject *kwargs) {
2161 PyObject * _resultobj;
2162 wxStyledTextCtrl * _arg0;
2163 PyObject * _argo0 = 0;
2164 char *_kwnames[] = { "self", NULL };
2165
2166 self = self;
2167 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_StyleResetDefault",_kwnames,&_argo0))
2168 return NULL;
2169 if (_argo0) {
2170 if (_argo0 == Py_None) { _arg0 = NULL; }
2171 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
2172 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_StyleResetDefault. Expected _wxStyledTextCtrl_p.");
2173 return NULL;
2174 }
2175 }
2176 {
2177 PyThreadState* __tstate = wxPyBeginAllowThreads();
2178 wxStyledTextCtrl_StyleResetDefault(_arg0);
2179
2180 wxPyEndAllowThreads(__tstate);
2181 if (PyErr_Occurred()) return NULL;
2182 } Py_INCREF(Py_None);
2183 _resultobj = Py_None;
2184 return _resultobj;
2185 }
2186
2187 #define wxStyledTextCtrl_StyleSetUnderline(_swigobj,_swigarg0,_swigarg1) (_swigobj->StyleSetUnderline(_swigarg0,_swigarg1))
2188 static PyObject *_wrap_wxStyledTextCtrl_StyleSetUnderline(PyObject *self, PyObject *args, PyObject *kwargs) {
2189 PyObject * _resultobj;
2190 wxStyledTextCtrl * _arg0;
2191 int _arg1;
2192 bool _arg2;
2193 PyObject * _argo0 = 0;
2194 int tempbool2;
2195 char *_kwnames[] = { "self","style","underline", NULL };
2196
2197 self = self;
2198 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxStyledTextCtrl_StyleSetUnderline",_kwnames,&_argo0,&_arg1,&tempbool2))
2199 return NULL;
2200 if (_argo0) {
2201 if (_argo0 == Py_None) { _arg0 = NULL; }
2202 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
2203 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_StyleSetUnderline. Expected _wxStyledTextCtrl_p.");
2204 return NULL;
2205 }
2206 }
2207 _arg2 = (bool ) tempbool2;
2208 {
2209 PyThreadState* __tstate = wxPyBeginAllowThreads();
2210 wxStyledTextCtrl_StyleSetUnderline(_arg0,_arg1,_arg2);
2211
2212 wxPyEndAllowThreads(__tstate);
2213 if (PyErr_Occurred()) return NULL;
2214 } Py_INCREF(Py_None);
2215 _resultobj = Py_None;
2216 return _resultobj;
2217 }
2218
2219 #define wxStyledTextCtrl_StyleSetCase(_swigobj,_swigarg0,_swigarg1) (_swigobj->StyleSetCase(_swigarg0,_swigarg1))
2220 static PyObject *_wrap_wxStyledTextCtrl_StyleSetCase(PyObject *self, PyObject *args, PyObject *kwargs) {
2221 PyObject * _resultobj;
2222 wxStyledTextCtrl * _arg0;
2223 int _arg1;
2224 int _arg2;
2225 PyObject * _argo0 = 0;
2226 char *_kwnames[] = { "self","style","caseForce", NULL };
2227
2228 self = self;
2229 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxStyledTextCtrl_StyleSetCase",_kwnames,&_argo0,&_arg1,&_arg2))
2230 return NULL;
2231 if (_argo0) {
2232 if (_argo0 == Py_None) { _arg0 = NULL; }
2233 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
2234 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_StyleSetCase. Expected _wxStyledTextCtrl_p.");
2235 return NULL;
2236 }
2237 }
2238 {
2239 PyThreadState* __tstate = wxPyBeginAllowThreads();
2240 wxStyledTextCtrl_StyleSetCase(_arg0,_arg1,_arg2);
2241
2242 wxPyEndAllowThreads(__tstate);
2243 if (PyErr_Occurred()) return NULL;
2244 } Py_INCREF(Py_None);
2245 _resultobj = Py_None;
2246 return _resultobj;
2247 }
2248
2249 #define wxStyledTextCtrl_StyleSetCharacterSet(_swigobj,_swigarg0,_swigarg1) (_swigobj->StyleSetCharacterSet(_swigarg0,_swigarg1))
2250 static PyObject *_wrap_wxStyledTextCtrl_StyleSetCharacterSet(PyObject *self, PyObject *args, PyObject *kwargs) {
2251 PyObject * _resultobj;
2252 wxStyledTextCtrl * _arg0;
2253 int _arg1;
2254 int _arg2;
2255 PyObject * _argo0 = 0;
2256 char *_kwnames[] = { "self","style","characterSet", NULL };
2257
2258 self = self;
2259 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxStyledTextCtrl_StyleSetCharacterSet",_kwnames,&_argo0,&_arg1,&_arg2))
2260 return NULL;
2261 if (_argo0) {
2262 if (_argo0 == Py_None) { _arg0 = NULL; }
2263 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
2264 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_StyleSetCharacterSet. Expected _wxStyledTextCtrl_p.");
2265 return NULL;
2266 }
2267 }
2268 {
2269 PyThreadState* __tstate = wxPyBeginAllowThreads();
2270 wxStyledTextCtrl_StyleSetCharacterSet(_arg0,_arg1,_arg2);
2271
2272 wxPyEndAllowThreads(__tstate);
2273 if (PyErr_Occurred()) return NULL;
2274 } Py_INCREF(Py_None);
2275 _resultobj = Py_None;
2276 return _resultobj;
2277 }
2278
2279 #define wxStyledTextCtrl_SetSelForeground(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetSelForeground(_swigarg0,_swigarg1))
2280 static PyObject *_wrap_wxStyledTextCtrl_SetSelForeground(PyObject *self, PyObject *args, PyObject *kwargs) {
2281 PyObject * _resultobj;
2282 wxStyledTextCtrl * _arg0;
2283 bool _arg1;
2284 wxColour * _arg2;
2285 PyObject * _argo0 = 0;
2286 int tempbool1;
2287 wxColour temp;
2288 PyObject * _obj2 = 0;
2289 char *_kwnames[] = { "self","useSetting","fore", NULL };
2290
2291 self = self;
2292 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxStyledTextCtrl_SetSelForeground",_kwnames,&_argo0,&tempbool1,&_obj2))
2293 return NULL;
2294 if (_argo0) {
2295 if (_argo0 == Py_None) { _arg0 = NULL; }
2296 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
2297 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetSelForeground. Expected _wxStyledTextCtrl_p.");
2298 return NULL;
2299 }
2300 }
2301 _arg1 = (bool ) tempbool1;
2302 {
2303 _arg2 = &temp;
2304 if (! wxColour_helper(_obj2, &_arg2))
2305 return NULL;
2306 }
2307 {
2308 PyThreadState* __tstate = wxPyBeginAllowThreads();
2309 wxStyledTextCtrl_SetSelForeground(_arg0,_arg1,*_arg2);
2310
2311 wxPyEndAllowThreads(__tstate);
2312 if (PyErr_Occurred()) return NULL;
2313 } Py_INCREF(Py_None);
2314 _resultobj = Py_None;
2315 return _resultobj;
2316 }
2317
2318 #define wxStyledTextCtrl_SetSelBackground(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetSelBackground(_swigarg0,_swigarg1))
2319 static PyObject *_wrap_wxStyledTextCtrl_SetSelBackground(PyObject *self, PyObject *args, PyObject *kwargs) {
2320 PyObject * _resultobj;
2321 wxStyledTextCtrl * _arg0;
2322 bool _arg1;
2323 wxColour * _arg2;
2324 PyObject * _argo0 = 0;
2325 int tempbool1;
2326 wxColour temp;
2327 PyObject * _obj2 = 0;
2328 char *_kwnames[] = { "self","useSetting","back", NULL };
2329
2330 self = self;
2331 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxStyledTextCtrl_SetSelBackground",_kwnames,&_argo0,&tempbool1,&_obj2))
2332 return NULL;
2333 if (_argo0) {
2334 if (_argo0 == Py_None) { _arg0 = NULL; }
2335 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
2336 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetSelBackground. Expected _wxStyledTextCtrl_p.");
2337 return NULL;
2338 }
2339 }
2340 _arg1 = (bool ) tempbool1;
2341 {
2342 _arg2 = &temp;
2343 if (! wxColour_helper(_obj2, &_arg2))
2344 return NULL;
2345 }
2346 {
2347 PyThreadState* __tstate = wxPyBeginAllowThreads();
2348 wxStyledTextCtrl_SetSelBackground(_arg0,_arg1,*_arg2);
2349
2350 wxPyEndAllowThreads(__tstate);
2351 if (PyErr_Occurred()) return NULL;
2352 } Py_INCREF(Py_None);
2353 _resultobj = Py_None;
2354 return _resultobj;
2355 }
2356
2357 #define wxStyledTextCtrl_SetCaretForeground(_swigobj,_swigarg0) (_swigobj->SetCaretForeground(_swigarg0))
2358 static PyObject *_wrap_wxStyledTextCtrl_SetCaretForeground(PyObject *self, PyObject *args, PyObject *kwargs) {
2359 PyObject * _resultobj;
2360 wxStyledTextCtrl * _arg0;
2361 wxColour * _arg1;
2362 PyObject * _argo0 = 0;
2363 wxColour temp;
2364 PyObject * _obj1 = 0;
2365 char *_kwnames[] = { "self","fore", NULL };
2366
2367 self = self;
2368 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxStyledTextCtrl_SetCaretForeground",_kwnames,&_argo0,&_obj1))
2369 return NULL;
2370 if (_argo0) {
2371 if (_argo0 == Py_None) { _arg0 = NULL; }
2372 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
2373 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetCaretForeground. Expected _wxStyledTextCtrl_p.");
2374 return NULL;
2375 }
2376 }
2377 {
2378 _arg1 = &temp;
2379 if (! wxColour_helper(_obj1, &_arg1))
2380 return NULL;
2381 }
2382 {
2383 PyThreadState* __tstate = wxPyBeginAllowThreads();
2384 wxStyledTextCtrl_SetCaretForeground(_arg0,*_arg1);
2385
2386 wxPyEndAllowThreads(__tstate);
2387 if (PyErr_Occurred()) return NULL;
2388 } Py_INCREF(Py_None);
2389 _resultobj = Py_None;
2390 return _resultobj;
2391 }
2392
2393 #define wxStyledTextCtrl_CmdKeyAssign(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->CmdKeyAssign(_swigarg0,_swigarg1,_swigarg2))
2394 static PyObject *_wrap_wxStyledTextCtrl_CmdKeyAssign(PyObject *self, PyObject *args, PyObject *kwargs) {
2395 PyObject * _resultobj;
2396 wxStyledTextCtrl * _arg0;
2397 int _arg1;
2398 int _arg2;
2399 int _arg3;
2400 PyObject * _argo0 = 0;
2401 char *_kwnames[] = { "self","key","modifiers","cmd", NULL };
2402
2403 self = self;
2404 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oiii:wxStyledTextCtrl_CmdKeyAssign",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3))
2405 return NULL;
2406 if (_argo0) {
2407 if (_argo0 == Py_None) { _arg0 = NULL; }
2408 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
2409 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_CmdKeyAssign. Expected _wxStyledTextCtrl_p.");
2410 return NULL;
2411 }
2412 }
2413 {
2414 PyThreadState* __tstate = wxPyBeginAllowThreads();
2415 wxStyledTextCtrl_CmdKeyAssign(_arg0,_arg1,_arg2,_arg3);
2416
2417 wxPyEndAllowThreads(__tstate);
2418 if (PyErr_Occurred()) return NULL;
2419 } Py_INCREF(Py_None);
2420 _resultobj = Py_None;
2421 return _resultobj;
2422 }
2423
2424 #define wxStyledTextCtrl_CmdKeyClear(_swigobj,_swigarg0,_swigarg1) (_swigobj->CmdKeyClear(_swigarg0,_swigarg1))
2425 static PyObject *_wrap_wxStyledTextCtrl_CmdKeyClear(PyObject *self, PyObject *args, PyObject *kwargs) {
2426 PyObject * _resultobj;
2427 wxStyledTextCtrl * _arg0;
2428 int _arg1;
2429 int _arg2;
2430 PyObject * _argo0 = 0;
2431 char *_kwnames[] = { "self","key","modifiers", NULL };
2432
2433 self = self;
2434 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxStyledTextCtrl_CmdKeyClear",_kwnames,&_argo0,&_arg1,&_arg2))
2435 return NULL;
2436 if (_argo0) {
2437 if (_argo0 == Py_None) { _arg0 = NULL; }
2438 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
2439 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_CmdKeyClear. Expected _wxStyledTextCtrl_p.");
2440 return NULL;
2441 }
2442 }
2443 {
2444 PyThreadState* __tstate = wxPyBeginAllowThreads();
2445 wxStyledTextCtrl_CmdKeyClear(_arg0,_arg1,_arg2);
2446
2447 wxPyEndAllowThreads(__tstate);
2448 if (PyErr_Occurred()) return NULL;
2449 } Py_INCREF(Py_None);
2450 _resultobj = Py_None;
2451 return _resultobj;
2452 }
2453
2454 #define wxStyledTextCtrl_CmdKeyClearAll(_swigobj) (_swigobj->CmdKeyClearAll())
2455 static PyObject *_wrap_wxStyledTextCtrl_CmdKeyClearAll(PyObject *self, PyObject *args, PyObject *kwargs) {
2456 PyObject * _resultobj;
2457 wxStyledTextCtrl * _arg0;
2458 PyObject * _argo0 = 0;
2459 char *_kwnames[] = { "self", NULL };
2460
2461 self = self;
2462 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_CmdKeyClearAll",_kwnames,&_argo0))
2463 return NULL;
2464 if (_argo0) {
2465 if (_argo0 == Py_None) { _arg0 = NULL; }
2466 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
2467 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_CmdKeyClearAll. Expected _wxStyledTextCtrl_p.");
2468 return NULL;
2469 }
2470 }
2471 {
2472 PyThreadState* __tstate = wxPyBeginAllowThreads();
2473 wxStyledTextCtrl_CmdKeyClearAll(_arg0);
2474
2475 wxPyEndAllowThreads(__tstate);
2476 if (PyErr_Occurred()) return NULL;
2477 } Py_INCREF(Py_None);
2478 _resultobj = Py_None;
2479 return _resultobj;
2480 }
2481
2482 #define wxStyledTextCtrl_SetStyleBytes(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetStyleBytes(_swigarg0,_swigarg1))
2483 static PyObject *_wrap_wxStyledTextCtrl_SetStyleBytes(PyObject *self, PyObject *args, PyObject *kwargs) {
2484 PyObject * _resultobj;
2485 wxStyledTextCtrl * _arg0;
2486 int _arg1;
2487 char * _arg2;
2488 PyObject * _argo0 = 0;
2489 char *_kwnames[] = { "self","length","styleBytes", NULL };
2490
2491 self = self;
2492 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ois:wxStyledTextCtrl_SetStyleBytes",_kwnames,&_argo0,&_arg1,&_arg2))
2493 return NULL;
2494 if (_argo0) {
2495 if (_argo0 == Py_None) { _arg0 = NULL; }
2496 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
2497 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetStyleBytes. Expected _wxStyledTextCtrl_p.");
2498 return NULL;
2499 }
2500 }
2501 {
2502 PyThreadState* __tstate = wxPyBeginAllowThreads();
2503 wxStyledTextCtrl_SetStyleBytes(_arg0,_arg1,_arg2);
2504
2505 wxPyEndAllowThreads(__tstate);
2506 if (PyErr_Occurred()) return NULL;
2507 } Py_INCREF(Py_None);
2508 _resultobj = Py_None;
2509 return _resultobj;
2510 }
2511
2512 #define wxStyledTextCtrl_StyleSetVisible(_swigobj,_swigarg0,_swigarg1) (_swigobj->StyleSetVisible(_swigarg0,_swigarg1))
2513 static PyObject *_wrap_wxStyledTextCtrl_StyleSetVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
2514 PyObject * _resultobj;
2515 wxStyledTextCtrl * _arg0;
2516 int _arg1;
2517 bool _arg2;
2518 PyObject * _argo0 = 0;
2519 int tempbool2;
2520 char *_kwnames[] = { "self","style","visible", NULL };
2521
2522 self = self;
2523 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxStyledTextCtrl_StyleSetVisible",_kwnames,&_argo0,&_arg1,&tempbool2))
2524 return NULL;
2525 if (_argo0) {
2526 if (_argo0 == Py_None) { _arg0 = NULL; }
2527 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
2528 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_StyleSetVisible. Expected _wxStyledTextCtrl_p.");
2529 return NULL;
2530 }
2531 }
2532 _arg2 = (bool ) tempbool2;
2533 {
2534 PyThreadState* __tstate = wxPyBeginAllowThreads();
2535 wxStyledTextCtrl_StyleSetVisible(_arg0,_arg1,_arg2);
2536
2537 wxPyEndAllowThreads(__tstate);
2538 if (PyErr_Occurred()) return NULL;
2539 } Py_INCREF(Py_None);
2540 _resultobj = Py_None;
2541 return _resultobj;
2542 }
2543
2544 #define wxStyledTextCtrl_GetCaretPeriod(_swigobj) (_swigobj->GetCaretPeriod())
2545 static PyObject *_wrap_wxStyledTextCtrl_GetCaretPeriod(PyObject *self, PyObject *args, PyObject *kwargs) {
2546 PyObject * _resultobj;
2547 int _result;
2548 wxStyledTextCtrl * _arg0;
2549 PyObject * _argo0 = 0;
2550 char *_kwnames[] = { "self", NULL };
2551
2552 self = self;
2553 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetCaretPeriod",_kwnames,&_argo0))
2554 return NULL;
2555 if (_argo0) {
2556 if (_argo0 == Py_None) { _arg0 = NULL; }
2557 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
2558 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetCaretPeriod. Expected _wxStyledTextCtrl_p.");
2559 return NULL;
2560 }
2561 }
2562 {
2563 PyThreadState* __tstate = wxPyBeginAllowThreads();
2564 _result = (int )wxStyledTextCtrl_GetCaretPeriod(_arg0);
2565
2566 wxPyEndAllowThreads(__tstate);
2567 if (PyErr_Occurred()) return NULL;
2568 } _resultobj = Py_BuildValue("i",_result);
2569 return _resultobj;
2570 }
2571
2572 #define wxStyledTextCtrl_SetCaretPeriod(_swigobj,_swigarg0) (_swigobj->SetCaretPeriod(_swigarg0))
2573 static PyObject *_wrap_wxStyledTextCtrl_SetCaretPeriod(PyObject *self, PyObject *args, PyObject *kwargs) {
2574 PyObject * _resultobj;
2575 wxStyledTextCtrl * _arg0;
2576 int _arg1;
2577 PyObject * _argo0 = 0;
2578 char *_kwnames[] = { "self","periodMilliseconds", NULL };
2579
2580 self = self;
2581 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_SetCaretPeriod",_kwnames,&_argo0,&_arg1))
2582 return NULL;
2583 if (_argo0) {
2584 if (_argo0 == Py_None) { _arg0 = NULL; }
2585 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
2586 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetCaretPeriod. Expected _wxStyledTextCtrl_p.");
2587 return NULL;
2588 }
2589 }
2590 {
2591 PyThreadState* __tstate = wxPyBeginAllowThreads();
2592 wxStyledTextCtrl_SetCaretPeriod(_arg0,_arg1);
2593
2594 wxPyEndAllowThreads(__tstate);
2595 if (PyErr_Occurred()) return NULL;
2596 } Py_INCREF(Py_None);
2597 _resultobj = Py_None;
2598 return _resultobj;
2599 }
2600
2601 #define wxStyledTextCtrl_SetWordChars(_swigobj,_swigarg0) (_swigobj->SetWordChars(_swigarg0))
2602 static PyObject *_wrap_wxStyledTextCtrl_SetWordChars(PyObject *self, PyObject *args, PyObject *kwargs) {
2603 PyObject * _resultobj;
2604 wxStyledTextCtrl * _arg0;
2605 wxString * _arg1;
2606 PyObject * _argo0 = 0;
2607 PyObject * _obj1 = 0;
2608 char *_kwnames[] = { "self","characters", NULL };
2609
2610 self = self;
2611 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxStyledTextCtrl_SetWordChars",_kwnames,&_argo0,&_obj1))
2612 return NULL;
2613 if (_argo0) {
2614 if (_argo0 == Py_None) { _arg0 = NULL; }
2615 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
2616 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetWordChars. Expected _wxStyledTextCtrl_p.");
2617 return NULL;
2618 }
2619 }
2620 {
2621 _arg1 = wxString_in_helper(_obj1);
2622 if (_arg1 == NULL)
2623 return NULL;
2624 }
2625 {
2626 PyThreadState* __tstate = wxPyBeginAllowThreads();
2627 wxStyledTextCtrl_SetWordChars(_arg0,*_arg1);
2628
2629 wxPyEndAllowThreads(__tstate);
2630 if (PyErr_Occurred()) return NULL;
2631 } Py_INCREF(Py_None);
2632 _resultobj = Py_None;
2633 {
2634 if (_obj1)
2635 delete _arg1;
2636 }
2637 return _resultobj;
2638 }
2639
2640 #define wxStyledTextCtrl_BeginUndoAction(_swigobj) (_swigobj->BeginUndoAction())
2641 static PyObject *_wrap_wxStyledTextCtrl_BeginUndoAction(PyObject *self, PyObject *args, PyObject *kwargs) {
2642 PyObject * _resultobj;
2643 wxStyledTextCtrl * _arg0;
2644 PyObject * _argo0 = 0;
2645 char *_kwnames[] = { "self", NULL };
2646
2647 self = self;
2648 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_BeginUndoAction",_kwnames,&_argo0))
2649 return NULL;
2650 if (_argo0) {
2651 if (_argo0 == Py_None) { _arg0 = NULL; }
2652 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
2653 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_BeginUndoAction. Expected _wxStyledTextCtrl_p.");
2654 return NULL;
2655 }
2656 }
2657 {
2658 PyThreadState* __tstate = wxPyBeginAllowThreads();
2659 wxStyledTextCtrl_BeginUndoAction(_arg0);
2660
2661 wxPyEndAllowThreads(__tstate);
2662 if (PyErr_Occurred()) return NULL;
2663 } Py_INCREF(Py_None);
2664 _resultobj = Py_None;
2665 return _resultobj;
2666 }
2667
2668 #define wxStyledTextCtrl_EndUndoAction(_swigobj) (_swigobj->EndUndoAction())
2669 static PyObject *_wrap_wxStyledTextCtrl_EndUndoAction(PyObject *self, PyObject *args, PyObject *kwargs) {
2670 PyObject * _resultobj;
2671 wxStyledTextCtrl * _arg0;
2672 PyObject * _argo0 = 0;
2673 char *_kwnames[] = { "self", NULL };
2674
2675 self = self;
2676 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_EndUndoAction",_kwnames,&_argo0))
2677 return NULL;
2678 if (_argo0) {
2679 if (_argo0 == Py_None) { _arg0 = NULL; }
2680 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
2681 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_EndUndoAction. Expected _wxStyledTextCtrl_p.");
2682 return NULL;
2683 }
2684 }
2685 {
2686 PyThreadState* __tstate = wxPyBeginAllowThreads();
2687 wxStyledTextCtrl_EndUndoAction(_arg0);
2688
2689 wxPyEndAllowThreads(__tstate);
2690 if (PyErr_Occurred()) return NULL;
2691 } Py_INCREF(Py_None);
2692 _resultobj = Py_None;
2693 return _resultobj;
2694 }
2695
2696 #define wxStyledTextCtrl_IndicatorSetStyle(_swigobj,_swigarg0,_swigarg1) (_swigobj->IndicatorSetStyle(_swigarg0,_swigarg1))
2697 static PyObject *_wrap_wxStyledTextCtrl_IndicatorSetStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
2698 PyObject * _resultobj;
2699 wxStyledTextCtrl * _arg0;
2700 int _arg1;
2701 int _arg2;
2702 PyObject * _argo0 = 0;
2703 char *_kwnames[] = { "self","indic","style", NULL };
2704
2705 self = self;
2706 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxStyledTextCtrl_IndicatorSetStyle",_kwnames,&_argo0,&_arg1,&_arg2))
2707 return NULL;
2708 if (_argo0) {
2709 if (_argo0 == Py_None) { _arg0 = NULL; }
2710 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
2711 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_IndicatorSetStyle. Expected _wxStyledTextCtrl_p.");
2712 return NULL;
2713 }
2714 }
2715 {
2716 PyThreadState* __tstate = wxPyBeginAllowThreads();
2717 wxStyledTextCtrl_IndicatorSetStyle(_arg0,_arg1,_arg2);
2718
2719 wxPyEndAllowThreads(__tstate);
2720 if (PyErr_Occurred()) return NULL;
2721 } Py_INCREF(Py_None);
2722 _resultobj = Py_None;
2723 return _resultobj;
2724 }
2725
2726 #define wxStyledTextCtrl_IndicatorGetStyle(_swigobj,_swigarg0) (_swigobj->IndicatorGetStyle(_swigarg0))
2727 static PyObject *_wrap_wxStyledTextCtrl_IndicatorGetStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
2728 PyObject * _resultobj;
2729 int _result;
2730 wxStyledTextCtrl * _arg0;
2731 int _arg1;
2732 PyObject * _argo0 = 0;
2733 char *_kwnames[] = { "self","indic", NULL };
2734
2735 self = self;
2736 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_IndicatorGetStyle",_kwnames,&_argo0,&_arg1))
2737 return NULL;
2738 if (_argo0) {
2739 if (_argo0 == Py_None) { _arg0 = NULL; }
2740 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
2741 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_IndicatorGetStyle. Expected _wxStyledTextCtrl_p.");
2742 return NULL;
2743 }
2744 }
2745 {
2746 PyThreadState* __tstate = wxPyBeginAllowThreads();
2747 _result = (int )wxStyledTextCtrl_IndicatorGetStyle(_arg0,_arg1);
2748
2749 wxPyEndAllowThreads(__tstate);
2750 if (PyErr_Occurred()) return NULL;
2751 } _resultobj = Py_BuildValue("i",_result);
2752 return _resultobj;
2753 }
2754
2755 #define wxStyledTextCtrl_IndicatorSetForeground(_swigobj,_swigarg0,_swigarg1) (_swigobj->IndicatorSetForeground(_swigarg0,_swigarg1))
2756 static PyObject *_wrap_wxStyledTextCtrl_IndicatorSetForeground(PyObject *self, PyObject *args, PyObject *kwargs) {
2757 PyObject * _resultobj;
2758 wxStyledTextCtrl * _arg0;
2759 int _arg1;
2760 wxColour * _arg2;
2761 PyObject * _argo0 = 0;
2762 wxColour temp;
2763 PyObject * _obj2 = 0;
2764 char *_kwnames[] = { "self","indic","fore", NULL };
2765
2766 self = self;
2767 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxStyledTextCtrl_IndicatorSetForeground",_kwnames,&_argo0,&_arg1,&_obj2))
2768 return NULL;
2769 if (_argo0) {
2770 if (_argo0 == Py_None) { _arg0 = NULL; }
2771 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
2772 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_IndicatorSetForeground. Expected _wxStyledTextCtrl_p.");
2773 return NULL;
2774 }
2775 }
2776 {
2777 _arg2 = &temp;
2778 if (! wxColour_helper(_obj2, &_arg2))
2779 return NULL;
2780 }
2781 {
2782 PyThreadState* __tstate = wxPyBeginAllowThreads();
2783 wxStyledTextCtrl_IndicatorSetForeground(_arg0,_arg1,*_arg2);
2784
2785 wxPyEndAllowThreads(__tstate);
2786 if (PyErr_Occurred()) return NULL;
2787 } Py_INCREF(Py_None);
2788 _resultobj = Py_None;
2789 return _resultobj;
2790 }
2791
2792 #define wxStyledTextCtrl_IndicatorGetForeground(_swigobj,_swigarg0) (_swigobj->IndicatorGetForeground(_swigarg0))
2793 static PyObject *_wrap_wxStyledTextCtrl_IndicatorGetForeground(PyObject *self, PyObject *args, PyObject *kwargs) {
2794 PyObject * _resultobj;
2795 wxColour * _result;
2796 wxStyledTextCtrl * _arg0;
2797 int _arg1;
2798 PyObject * _argo0 = 0;
2799 char *_kwnames[] = { "self","indic", NULL };
2800 char _ptemp[128];
2801
2802 self = self;
2803 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_IndicatorGetForeground",_kwnames,&_argo0,&_arg1))
2804 return NULL;
2805 if (_argo0) {
2806 if (_argo0 == Py_None) { _arg0 = NULL; }
2807 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
2808 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_IndicatorGetForeground. Expected _wxStyledTextCtrl_p.");
2809 return NULL;
2810 }
2811 }
2812 {
2813 PyThreadState* __tstate = wxPyBeginAllowThreads();
2814 _result = new wxColour (wxStyledTextCtrl_IndicatorGetForeground(_arg0,_arg1));
2815
2816 wxPyEndAllowThreads(__tstate);
2817 if (PyErr_Occurred()) return NULL;
2818 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxColour_p");
2819 _resultobj = Py_BuildValue("s",_ptemp);
2820 return _resultobj;
2821 }
2822
2823 #define wxStyledTextCtrl_SetStyleBits(_swigobj,_swigarg0) (_swigobj->SetStyleBits(_swigarg0))
2824 static PyObject *_wrap_wxStyledTextCtrl_SetStyleBits(PyObject *self, PyObject *args, PyObject *kwargs) {
2825 PyObject * _resultobj;
2826 wxStyledTextCtrl * _arg0;
2827 int _arg1;
2828 PyObject * _argo0 = 0;
2829 char *_kwnames[] = { "self","bits", NULL };
2830
2831 self = self;
2832 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_SetStyleBits",_kwnames,&_argo0,&_arg1))
2833 return NULL;
2834 if (_argo0) {
2835 if (_argo0 == Py_None) { _arg0 = NULL; }
2836 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
2837 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetStyleBits. Expected _wxStyledTextCtrl_p.");
2838 return NULL;
2839 }
2840 }
2841 {
2842 PyThreadState* __tstate = wxPyBeginAllowThreads();
2843 wxStyledTextCtrl_SetStyleBits(_arg0,_arg1);
2844
2845 wxPyEndAllowThreads(__tstate);
2846 if (PyErr_Occurred()) return NULL;
2847 } Py_INCREF(Py_None);
2848 _resultobj = Py_None;
2849 return _resultobj;
2850 }
2851
2852 #define wxStyledTextCtrl_GetStyleBits(_swigobj) (_swigobj->GetStyleBits())
2853 static PyObject *_wrap_wxStyledTextCtrl_GetStyleBits(PyObject *self, PyObject *args, PyObject *kwargs) {
2854 PyObject * _resultobj;
2855 int _result;
2856 wxStyledTextCtrl * _arg0;
2857 PyObject * _argo0 = 0;
2858 char *_kwnames[] = { "self", NULL };
2859
2860 self = self;
2861 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetStyleBits",_kwnames,&_argo0))
2862 return NULL;
2863 if (_argo0) {
2864 if (_argo0 == Py_None) { _arg0 = NULL; }
2865 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
2866 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetStyleBits. Expected _wxStyledTextCtrl_p.");
2867 return NULL;
2868 }
2869 }
2870 {
2871 PyThreadState* __tstate = wxPyBeginAllowThreads();
2872 _result = (int )wxStyledTextCtrl_GetStyleBits(_arg0);
2873
2874 wxPyEndAllowThreads(__tstate);
2875 if (PyErr_Occurred()) return NULL;
2876 } _resultobj = Py_BuildValue("i",_result);
2877 return _resultobj;
2878 }
2879
2880 #define wxStyledTextCtrl_SetLineState(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetLineState(_swigarg0,_swigarg1))
2881 static PyObject *_wrap_wxStyledTextCtrl_SetLineState(PyObject *self, PyObject *args, PyObject *kwargs) {
2882 PyObject * _resultobj;
2883 wxStyledTextCtrl * _arg0;
2884 int _arg1;
2885 int _arg2;
2886 PyObject * _argo0 = 0;
2887 char *_kwnames[] = { "self","line","state", NULL };
2888
2889 self = self;
2890 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxStyledTextCtrl_SetLineState",_kwnames,&_argo0,&_arg1,&_arg2))
2891 return NULL;
2892 if (_argo0) {
2893 if (_argo0 == Py_None) { _arg0 = NULL; }
2894 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
2895 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetLineState. Expected _wxStyledTextCtrl_p.");
2896 return NULL;
2897 }
2898 }
2899 {
2900 PyThreadState* __tstate = wxPyBeginAllowThreads();
2901 wxStyledTextCtrl_SetLineState(_arg0,_arg1,_arg2);
2902
2903 wxPyEndAllowThreads(__tstate);
2904 if (PyErr_Occurred()) return NULL;
2905 } Py_INCREF(Py_None);
2906 _resultobj = Py_None;
2907 return _resultobj;
2908 }
2909
2910 #define wxStyledTextCtrl_GetLineState(_swigobj,_swigarg0) (_swigobj->GetLineState(_swigarg0))
2911 static PyObject *_wrap_wxStyledTextCtrl_GetLineState(PyObject *self, PyObject *args, PyObject *kwargs) {
2912 PyObject * _resultobj;
2913 int _result;
2914 wxStyledTextCtrl * _arg0;
2915 int _arg1;
2916 PyObject * _argo0 = 0;
2917 char *_kwnames[] = { "self","line", NULL };
2918
2919 self = self;
2920 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_GetLineState",_kwnames,&_argo0,&_arg1))
2921 return NULL;
2922 if (_argo0) {
2923 if (_argo0 == Py_None) { _arg0 = NULL; }
2924 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
2925 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetLineState. Expected _wxStyledTextCtrl_p.");
2926 return NULL;
2927 }
2928 }
2929 {
2930 PyThreadState* __tstate = wxPyBeginAllowThreads();
2931 _result = (int )wxStyledTextCtrl_GetLineState(_arg0,_arg1);
2932
2933 wxPyEndAllowThreads(__tstate);
2934 if (PyErr_Occurred()) return NULL;
2935 } _resultobj = Py_BuildValue("i",_result);
2936 return _resultobj;
2937 }
2938
2939 #define wxStyledTextCtrl_GetMaxLineState(_swigobj) (_swigobj->GetMaxLineState())
2940 static PyObject *_wrap_wxStyledTextCtrl_GetMaxLineState(PyObject *self, PyObject *args, PyObject *kwargs) {
2941 PyObject * _resultobj;
2942 int _result;
2943 wxStyledTextCtrl * _arg0;
2944 PyObject * _argo0 = 0;
2945 char *_kwnames[] = { "self", NULL };
2946
2947 self = self;
2948 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetMaxLineState",_kwnames,&_argo0))
2949 return NULL;
2950 if (_argo0) {
2951 if (_argo0 == Py_None) { _arg0 = NULL; }
2952 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
2953 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetMaxLineState. Expected _wxStyledTextCtrl_p.");
2954 return NULL;
2955 }
2956 }
2957 {
2958 PyThreadState* __tstate = wxPyBeginAllowThreads();
2959 _result = (int )wxStyledTextCtrl_GetMaxLineState(_arg0);
2960
2961 wxPyEndAllowThreads(__tstate);
2962 if (PyErr_Occurred()) return NULL;
2963 } _resultobj = Py_BuildValue("i",_result);
2964 return _resultobj;
2965 }
2966
2967 #define wxStyledTextCtrl_GetCaretLineVisible(_swigobj) (_swigobj->GetCaretLineVisible())
2968 static PyObject *_wrap_wxStyledTextCtrl_GetCaretLineVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
2969 PyObject * _resultobj;
2970 bool _result;
2971 wxStyledTextCtrl * _arg0;
2972 PyObject * _argo0 = 0;
2973 char *_kwnames[] = { "self", NULL };
2974
2975 self = self;
2976 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetCaretLineVisible",_kwnames,&_argo0))
2977 return NULL;
2978 if (_argo0) {
2979 if (_argo0 == Py_None) { _arg0 = NULL; }
2980 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
2981 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetCaretLineVisible. Expected _wxStyledTextCtrl_p.");
2982 return NULL;
2983 }
2984 }
2985 {
2986 PyThreadState* __tstate = wxPyBeginAllowThreads();
2987 _result = (bool )wxStyledTextCtrl_GetCaretLineVisible(_arg0);
2988
2989 wxPyEndAllowThreads(__tstate);
2990 if (PyErr_Occurred()) return NULL;
2991 } _resultobj = Py_BuildValue("i",_result);
2992 return _resultobj;
2993 }
2994
2995 #define wxStyledTextCtrl_SetCaretLineVisible(_swigobj,_swigarg0) (_swigobj->SetCaretLineVisible(_swigarg0))
2996 static PyObject *_wrap_wxStyledTextCtrl_SetCaretLineVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
2997 PyObject * _resultobj;
2998 wxStyledTextCtrl * _arg0;
2999 bool _arg1;
3000 PyObject * _argo0 = 0;
3001 int tempbool1;
3002 char *_kwnames[] = { "self","show", NULL };
3003
3004 self = self;
3005 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_SetCaretLineVisible",_kwnames,&_argo0,&tempbool1))
3006 return NULL;
3007 if (_argo0) {
3008 if (_argo0 == Py_None) { _arg0 = NULL; }
3009 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
3010 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetCaretLineVisible. Expected _wxStyledTextCtrl_p.");
3011 return NULL;
3012 }
3013 }
3014 _arg1 = (bool ) tempbool1;
3015 {
3016 PyThreadState* __tstate = wxPyBeginAllowThreads();
3017 wxStyledTextCtrl_SetCaretLineVisible(_arg0,_arg1);
3018
3019 wxPyEndAllowThreads(__tstate);
3020 if (PyErr_Occurred()) return NULL;
3021 } Py_INCREF(Py_None);
3022 _resultobj = Py_None;
3023 return _resultobj;
3024 }
3025
3026 #define wxStyledTextCtrl_GetCaretLineBack(_swigobj) (_swigobj->GetCaretLineBack())
3027 static PyObject *_wrap_wxStyledTextCtrl_GetCaretLineBack(PyObject *self, PyObject *args, PyObject *kwargs) {
3028 PyObject * _resultobj;
3029 wxColour * _result;
3030 wxStyledTextCtrl * _arg0;
3031 PyObject * _argo0 = 0;
3032 char *_kwnames[] = { "self", NULL };
3033 char _ptemp[128];
3034
3035 self = self;
3036 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetCaretLineBack",_kwnames,&_argo0))
3037 return NULL;
3038 if (_argo0) {
3039 if (_argo0 == Py_None) { _arg0 = NULL; }
3040 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
3041 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetCaretLineBack. Expected _wxStyledTextCtrl_p.");
3042 return NULL;
3043 }
3044 }
3045 {
3046 PyThreadState* __tstate = wxPyBeginAllowThreads();
3047 _result = new wxColour (wxStyledTextCtrl_GetCaretLineBack(_arg0));
3048
3049 wxPyEndAllowThreads(__tstate);
3050 if (PyErr_Occurred()) return NULL;
3051 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxColour_p");
3052 _resultobj = Py_BuildValue("s",_ptemp);
3053 return _resultobj;
3054 }
3055
3056 #define wxStyledTextCtrl_SetCaretLineBack(_swigobj,_swigarg0) (_swigobj->SetCaretLineBack(_swigarg0))
3057 static PyObject *_wrap_wxStyledTextCtrl_SetCaretLineBack(PyObject *self, PyObject *args, PyObject *kwargs) {
3058 PyObject * _resultobj;
3059 wxStyledTextCtrl * _arg0;
3060 wxColour * _arg1;
3061 PyObject * _argo0 = 0;
3062 wxColour temp;
3063 PyObject * _obj1 = 0;
3064 char *_kwnames[] = { "self","back", NULL };
3065
3066 self = self;
3067 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxStyledTextCtrl_SetCaretLineBack",_kwnames,&_argo0,&_obj1))
3068 return NULL;
3069 if (_argo0) {
3070 if (_argo0 == Py_None) { _arg0 = NULL; }
3071 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
3072 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetCaretLineBack. Expected _wxStyledTextCtrl_p.");
3073 return NULL;
3074 }
3075 }
3076 {
3077 _arg1 = &temp;
3078 if (! wxColour_helper(_obj1, &_arg1))
3079 return NULL;
3080 }
3081 {
3082 PyThreadState* __tstate = wxPyBeginAllowThreads();
3083 wxStyledTextCtrl_SetCaretLineBack(_arg0,*_arg1);
3084
3085 wxPyEndAllowThreads(__tstate);
3086 if (PyErr_Occurred()) return NULL;
3087 } Py_INCREF(Py_None);
3088 _resultobj = Py_None;
3089 return _resultobj;
3090 }
3091
3092 #define wxStyledTextCtrl_StyleSetChangeable(_swigobj,_swigarg0,_swigarg1) (_swigobj->StyleSetChangeable(_swigarg0,_swigarg1))
3093 static PyObject *_wrap_wxStyledTextCtrl_StyleSetChangeable(PyObject *self, PyObject *args, PyObject *kwargs) {
3094 PyObject * _resultobj;
3095 wxStyledTextCtrl * _arg0;
3096 int _arg1;
3097 bool _arg2;
3098 PyObject * _argo0 = 0;
3099 int tempbool2;
3100 char *_kwnames[] = { "self","style","changeable", NULL };
3101
3102 self = self;
3103 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxStyledTextCtrl_StyleSetChangeable",_kwnames,&_argo0,&_arg1,&tempbool2))
3104 return NULL;
3105 if (_argo0) {
3106 if (_argo0 == Py_None) { _arg0 = NULL; }
3107 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
3108 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_StyleSetChangeable. Expected _wxStyledTextCtrl_p.");
3109 return NULL;
3110 }
3111 }
3112 _arg2 = (bool ) tempbool2;
3113 {
3114 PyThreadState* __tstate = wxPyBeginAllowThreads();
3115 wxStyledTextCtrl_StyleSetChangeable(_arg0,_arg1,_arg2);
3116
3117 wxPyEndAllowThreads(__tstate);
3118 if (PyErr_Occurred()) return NULL;
3119 } Py_INCREF(Py_None);
3120 _resultobj = Py_None;
3121 return _resultobj;
3122 }
3123
3124 #define wxStyledTextCtrl_AutoCompShow(_swigobj,_swigarg0,_swigarg1) (_swigobj->AutoCompShow(_swigarg0,_swigarg1))
3125 static PyObject *_wrap_wxStyledTextCtrl_AutoCompShow(PyObject *self, PyObject *args, PyObject *kwargs) {
3126 PyObject * _resultobj;
3127 wxStyledTextCtrl * _arg0;
3128 int _arg1;
3129 wxString * _arg2;
3130 PyObject * _argo0 = 0;
3131 PyObject * _obj2 = 0;
3132 char *_kwnames[] = { "self","lenEntered","itemList", NULL };
3133
3134 self = self;
3135 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxStyledTextCtrl_AutoCompShow",_kwnames,&_argo0,&_arg1,&_obj2))
3136 return NULL;
3137 if (_argo0) {
3138 if (_argo0 == Py_None) { _arg0 = NULL; }
3139 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
3140 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_AutoCompShow. Expected _wxStyledTextCtrl_p.");
3141 return NULL;
3142 }
3143 }
3144 {
3145 _arg2 = wxString_in_helper(_obj2);
3146 if (_arg2 == NULL)
3147 return NULL;
3148 }
3149 {
3150 PyThreadState* __tstate = wxPyBeginAllowThreads();
3151 wxStyledTextCtrl_AutoCompShow(_arg0,_arg1,*_arg2);
3152
3153 wxPyEndAllowThreads(__tstate);
3154 if (PyErr_Occurred()) return NULL;
3155 } Py_INCREF(Py_None);
3156 _resultobj = Py_None;
3157 {
3158 if (_obj2)
3159 delete _arg2;
3160 }
3161 return _resultobj;
3162 }
3163
3164 #define wxStyledTextCtrl_AutoCompCancel(_swigobj) (_swigobj->AutoCompCancel())
3165 static PyObject *_wrap_wxStyledTextCtrl_AutoCompCancel(PyObject *self, PyObject *args, PyObject *kwargs) {
3166 PyObject * _resultobj;
3167 wxStyledTextCtrl * _arg0;
3168 PyObject * _argo0 = 0;
3169 char *_kwnames[] = { "self", NULL };
3170
3171 self = self;
3172 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_AutoCompCancel",_kwnames,&_argo0))
3173 return NULL;
3174 if (_argo0) {
3175 if (_argo0 == Py_None) { _arg0 = NULL; }
3176 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
3177 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_AutoCompCancel. Expected _wxStyledTextCtrl_p.");
3178 return NULL;
3179 }
3180 }
3181 {
3182 PyThreadState* __tstate = wxPyBeginAllowThreads();
3183 wxStyledTextCtrl_AutoCompCancel(_arg0);
3184
3185 wxPyEndAllowThreads(__tstate);
3186 if (PyErr_Occurred()) return NULL;
3187 } Py_INCREF(Py_None);
3188 _resultobj = Py_None;
3189 return _resultobj;
3190 }
3191
3192 #define wxStyledTextCtrl_AutoCompActive(_swigobj) (_swigobj->AutoCompActive())
3193 static PyObject *_wrap_wxStyledTextCtrl_AutoCompActive(PyObject *self, PyObject *args, PyObject *kwargs) {
3194 PyObject * _resultobj;
3195 bool _result;
3196 wxStyledTextCtrl * _arg0;
3197 PyObject * _argo0 = 0;
3198 char *_kwnames[] = { "self", NULL };
3199
3200 self = self;
3201 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_AutoCompActive",_kwnames,&_argo0))
3202 return NULL;
3203 if (_argo0) {
3204 if (_argo0 == Py_None) { _arg0 = NULL; }
3205 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
3206 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_AutoCompActive. Expected _wxStyledTextCtrl_p.");
3207 return NULL;
3208 }
3209 }
3210 {
3211 PyThreadState* __tstate = wxPyBeginAllowThreads();
3212 _result = (bool )wxStyledTextCtrl_AutoCompActive(_arg0);
3213
3214 wxPyEndAllowThreads(__tstate);
3215 if (PyErr_Occurred()) return NULL;
3216 } _resultobj = Py_BuildValue("i",_result);
3217 return _resultobj;
3218 }
3219
3220 #define wxStyledTextCtrl_AutoCompPosStart(_swigobj) (_swigobj->AutoCompPosStart())
3221 static PyObject *_wrap_wxStyledTextCtrl_AutoCompPosStart(PyObject *self, PyObject *args, PyObject *kwargs) {
3222 PyObject * _resultobj;
3223 int _result;
3224 wxStyledTextCtrl * _arg0;
3225 PyObject * _argo0 = 0;
3226 char *_kwnames[] = { "self", NULL };
3227
3228 self = self;
3229 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_AutoCompPosStart",_kwnames,&_argo0))
3230 return NULL;
3231 if (_argo0) {
3232 if (_argo0 == Py_None) { _arg0 = NULL; }
3233 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
3234 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_AutoCompPosStart. Expected _wxStyledTextCtrl_p.");
3235 return NULL;
3236 }
3237 }
3238 {
3239 PyThreadState* __tstate = wxPyBeginAllowThreads();
3240 _result = (int )wxStyledTextCtrl_AutoCompPosStart(_arg0);
3241
3242 wxPyEndAllowThreads(__tstate);
3243 if (PyErr_Occurred()) return NULL;
3244 } _resultobj = Py_BuildValue("i",_result);
3245 return _resultobj;
3246 }
3247
3248 #define wxStyledTextCtrl_AutoCompComplete(_swigobj) (_swigobj->AutoCompComplete())
3249 static PyObject *_wrap_wxStyledTextCtrl_AutoCompComplete(PyObject *self, PyObject *args, PyObject *kwargs) {
3250 PyObject * _resultobj;
3251 wxStyledTextCtrl * _arg0;
3252 PyObject * _argo0 = 0;
3253 char *_kwnames[] = { "self", NULL };
3254
3255 self = self;
3256 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_AutoCompComplete",_kwnames,&_argo0))
3257 return NULL;
3258 if (_argo0) {
3259 if (_argo0 == Py_None) { _arg0 = NULL; }
3260 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
3261 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_AutoCompComplete. Expected _wxStyledTextCtrl_p.");
3262 return NULL;
3263 }
3264 }
3265 {
3266 PyThreadState* __tstate = wxPyBeginAllowThreads();
3267 wxStyledTextCtrl_AutoCompComplete(_arg0);
3268
3269 wxPyEndAllowThreads(__tstate);
3270 if (PyErr_Occurred()) return NULL;
3271 } Py_INCREF(Py_None);
3272 _resultobj = Py_None;
3273 return _resultobj;
3274 }
3275
3276 #define wxStyledTextCtrl_AutoCompStops(_swigobj,_swigarg0) (_swigobj->AutoCompStops(_swigarg0))
3277 static PyObject *_wrap_wxStyledTextCtrl_AutoCompStops(PyObject *self, PyObject *args, PyObject *kwargs) {
3278 PyObject * _resultobj;
3279 wxStyledTextCtrl * _arg0;
3280 wxString * _arg1;
3281 PyObject * _argo0 = 0;
3282 PyObject * _obj1 = 0;
3283 char *_kwnames[] = { "self","characterSet", NULL };
3284
3285 self = self;
3286 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxStyledTextCtrl_AutoCompStops",_kwnames,&_argo0,&_obj1))
3287 return NULL;
3288 if (_argo0) {
3289 if (_argo0 == Py_None) { _arg0 = NULL; }
3290 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
3291 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_AutoCompStops. Expected _wxStyledTextCtrl_p.");
3292 return NULL;
3293 }
3294 }
3295 {
3296 _arg1 = wxString_in_helper(_obj1);
3297 if (_arg1 == NULL)
3298 return NULL;
3299 }
3300 {
3301 PyThreadState* __tstate = wxPyBeginAllowThreads();
3302 wxStyledTextCtrl_AutoCompStops(_arg0,*_arg1);
3303
3304 wxPyEndAllowThreads(__tstate);
3305 if (PyErr_Occurred()) return NULL;
3306 } Py_INCREF(Py_None);
3307 _resultobj = Py_None;
3308 {
3309 if (_obj1)
3310 delete _arg1;
3311 }
3312 return _resultobj;
3313 }
3314
3315 #define wxStyledTextCtrl_AutoCompSetSeparator(_swigobj,_swigarg0) (_swigobj->AutoCompSetSeparator(_swigarg0))
3316 static PyObject *_wrap_wxStyledTextCtrl_AutoCompSetSeparator(PyObject *self, PyObject *args, PyObject *kwargs) {
3317 PyObject * _resultobj;
3318 wxStyledTextCtrl * _arg0;
3319 int _arg1;
3320 PyObject * _argo0 = 0;
3321 char *_kwnames[] = { "self","separatorCharacter", NULL };
3322
3323 self = self;
3324 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_AutoCompSetSeparator",_kwnames,&_argo0,&_arg1))
3325 return NULL;
3326 if (_argo0) {
3327 if (_argo0 == Py_None) { _arg0 = NULL; }
3328 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
3329 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_AutoCompSetSeparator. Expected _wxStyledTextCtrl_p.");
3330 return NULL;
3331 }
3332 }
3333 {
3334 PyThreadState* __tstate = wxPyBeginAllowThreads();
3335 wxStyledTextCtrl_AutoCompSetSeparator(_arg0,_arg1);
3336
3337 wxPyEndAllowThreads(__tstate);
3338 if (PyErr_Occurred()) return NULL;
3339 } Py_INCREF(Py_None);
3340 _resultobj = Py_None;
3341 return _resultobj;
3342 }
3343
3344 #define wxStyledTextCtrl_AutoCompGetSeparator(_swigobj) (_swigobj->AutoCompGetSeparator())
3345 static PyObject *_wrap_wxStyledTextCtrl_AutoCompGetSeparator(PyObject *self, PyObject *args, PyObject *kwargs) {
3346 PyObject * _resultobj;
3347 int _result;
3348 wxStyledTextCtrl * _arg0;
3349 PyObject * _argo0 = 0;
3350 char *_kwnames[] = { "self", NULL };
3351
3352 self = self;
3353 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_AutoCompGetSeparator",_kwnames,&_argo0))
3354 return NULL;
3355 if (_argo0) {
3356 if (_argo0 == Py_None) { _arg0 = NULL; }
3357 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
3358 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_AutoCompGetSeparator. Expected _wxStyledTextCtrl_p.");
3359 return NULL;
3360 }
3361 }
3362 {
3363 PyThreadState* __tstate = wxPyBeginAllowThreads();
3364 _result = (int )wxStyledTextCtrl_AutoCompGetSeparator(_arg0);
3365
3366 wxPyEndAllowThreads(__tstate);
3367 if (PyErr_Occurred()) return NULL;
3368 } _resultobj = Py_BuildValue("i",_result);
3369 return _resultobj;
3370 }
3371
3372 #define wxStyledTextCtrl_AutoCompSelect(_swigobj,_swigarg0) (_swigobj->AutoCompSelect(_swigarg0))
3373 static PyObject *_wrap_wxStyledTextCtrl_AutoCompSelect(PyObject *self, PyObject *args, PyObject *kwargs) {
3374 PyObject * _resultobj;
3375 wxStyledTextCtrl * _arg0;
3376 wxString * _arg1;
3377 PyObject * _argo0 = 0;
3378 PyObject * _obj1 = 0;
3379 char *_kwnames[] = { "self","text", NULL };
3380
3381 self = self;
3382 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxStyledTextCtrl_AutoCompSelect",_kwnames,&_argo0,&_obj1))
3383 return NULL;
3384 if (_argo0) {
3385 if (_argo0 == Py_None) { _arg0 = NULL; }
3386 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
3387 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_AutoCompSelect. Expected _wxStyledTextCtrl_p.");
3388 return NULL;
3389 }
3390 }
3391 {
3392 _arg1 = wxString_in_helper(_obj1);
3393 if (_arg1 == NULL)
3394 return NULL;
3395 }
3396 {
3397 PyThreadState* __tstate = wxPyBeginAllowThreads();
3398 wxStyledTextCtrl_AutoCompSelect(_arg0,*_arg1);
3399
3400 wxPyEndAllowThreads(__tstate);
3401 if (PyErr_Occurred()) return NULL;
3402 } Py_INCREF(Py_None);
3403 _resultobj = Py_None;
3404 {
3405 if (_obj1)
3406 delete _arg1;
3407 }
3408 return _resultobj;
3409 }
3410
3411 #define wxStyledTextCtrl_AutoCompSetCancelAtStart(_swigobj,_swigarg0) (_swigobj->AutoCompSetCancelAtStart(_swigarg0))
3412 static PyObject *_wrap_wxStyledTextCtrl_AutoCompSetCancelAtStart(PyObject *self, PyObject *args, PyObject *kwargs) {
3413 PyObject * _resultobj;
3414 wxStyledTextCtrl * _arg0;
3415 bool _arg1;
3416 PyObject * _argo0 = 0;
3417 int tempbool1;
3418 char *_kwnames[] = { "self","cancel", NULL };
3419
3420 self = self;
3421 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_AutoCompSetCancelAtStart",_kwnames,&_argo0,&tempbool1))
3422 return NULL;
3423 if (_argo0) {
3424 if (_argo0 == Py_None) { _arg0 = NULL; }
3425 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
3426 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_AutoCompSetCancelAtStart. Expected _wxStyledTextCtrl_p.");
3427 return NULL;
3428 }
3429 }
3430 _arg1 = (bool ) tempbool1;
3431 {
3432 PyThreadState* __tstate = wxPyBeginAllowThreads();
3433 wxStyledTextCtrl_AutoCompSetCancelAtStart(_arg0,_arg1);
3434
3435 wxPyEndAllowThreads(__tstate);
3436 if (PyErr_Occurred()) return NULL;
3437 } Py_INCREF(Py_None);
3438 _resultobj = Py_None;
3439 return _resultobj;
3440 }
3441
3442 #define wxStyledTextCtrl_AutoCompGetCancelAtStart(_swigobj) (_swigobj->AutoCompGetCancelAtStart())
3443 static PyObject *_wrap_wxStyledTextCtrl_AutoCompGetCancelAtStart(PyObject *self, PyObject *args, PyObject *kwargs) {
3444 PyObject * _resultobj;
3445 bool _result;
3446 wxStyledTextCtrl * _arg0;
3447 PyObject * _argo0 = 0;
3448 char *_kwnames[] = { "self", NULL };
3449
3450 self = self;
3451 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_AutoCompGetCancelAtStart",_kwnames,&_argo0))
3452 return NULL;
3453 if (_argo0) {
3454 if (_argo0 == Py_None) { _arg0 = NULL; }
3455 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
3456 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_AutoCompGetCancelAtStart. Expected _wxStyledTextCtrl_p.");
3457 return NULL;
3458 }
3459 }
3460 {
3461 PyThreadState* __tstate = wxPyBeginAllowThreads();
3462 _result = (bool )wxStyledTextCtrl_AutoCompGetCancelAtStart(_arg0);
3463
3464 wxPyEndAllowThreads(__tstate);
3465 if (PyErr_Occurred()) return NULL;
3466 } _resultobj = Py_BuildValue("i",_result);
3467 return _resultobj;
3468 }
3469
3470 #define wxStyledTextCtrl_AutoCompSetFillUps(_swigobj,_swigarg0) (_swigobj->AutoCompSetFillUps(_swigarg0))
3471 static PyObject *_wrap_wxStyledTextCtrl_AutoCompSetFillUps(PyObject *self, PyObject *args, PyObject *kwargs) {
3472 PyObject * _resultobj;
3473 wxStyledTextCtrl * _arg0;
3474 wxString * _arg1;
3475 PyObject * _argo0 = 0;
3476 PyObject * _obj1 = 0;
3477 char *_kwnames[] = { "self","characterSet", NULL };
3478
3479 self = self;
3480 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxStyledTextCtrl_AutoCompSetFillUps",_kwnames,&_argo0,&_obj1))
3481 return NULL;
3482 if (_argo0) {
3483 if (_argo0 == Py_None) { _arg0 = NULL; }
3484 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
3485 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_AutoCompSetFillUps. Expected _wxStyledTextCtrl_p.");
3486 return NULL;
3487 }
3488 }
3489 {
3490 _arg1 = wxString_in_helper(_obj1);
3491 if (_arg1 == NULL)
3492 return NULL;
3493 }
3494 {
3495 PyThreadState* __tstate = wxPyBeginAllowThreads();
3496 wxStyledTextCtrl_AutoCompSetFillUps(_arg0,*_arg1);
3497
3498 wxPyEndAllowThreads(__tstate);
3499 if (PyErr_Occurred()) return NULL;
3500 } Py_INCREF(Py_None);
3501 _resultobj = Py_None;
3502 {
3503 if (_obj1)
3504 delete _arg1;
3505 }
3506 return _resultobj;
3507 }
3508
3509 #define wxStyledTextCtrl_AutoCompSetChooseSingle(_swigobj,_swigarg0) (_swigobj->AutoCompSetChooseSingle(_swigarg0))
3510 static PyObject *_wrap_wxStyledTextCtrl_AutoCompSetChooseSingle(PyObject *self, PyObject *args, PyObject *kwargs) {
3511 PyObject * _resultobj;
3512 wxStyledTextCtrl * _arg0;
3513 bool _arg1;
3514 PyObject * _argo0 = 0;
3515 int tempbool1;
3516 char *_kwnames[] = { "self","chooseSingle", NULL };
3517
3518 self = self;
3519 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_AutoCompSetChooseSingle",_kwnames,&_argo0,&tempbool1))
3520 return NULL;
3521 if (_argo0) {
3522 if (_argo0 == Py_None) { _arg0 = NULL; }
3523 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
3524 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_AutoCompSetChooseSingle. Expected _wxStyledTextCtrl_p.");
3525 return NULL;
3526 }
3527 }
3528 _arg1 = (bool ) tempbool1;
3529 {
3530 PyThreadState* __tstate = wxPyBeginAllowThreads();
3531 wxStyledTextCtrl_AutoCompSetChooseSingle(_arg0,_arg1);
3532
3533 wxPyEndAllowThreads(__tstate);
3534 if (PyErr_Occurred()) return NULL;
3535 } Py_INCREF(Py_None);
3536 _resultobj = Py_None;
3537 return _resultobj;
3538 }
3539
3540 #define wxStyledTextCtrl_AutoCompGetChooseSingle(_swigobj) (_swigobj->AutoCompGetChooseSingle())
3541 static PyObject *_wrap_wxStyledTextCtrl_AutoCompGetChooseSingle(PyObject *self, PyObject *args, PyObject *kwargs) {
3542 PyObject * _resultobj;
3543 bool _result;
3544 wxStyledTextCtrl * _arg0;
3545 PyObject * _argo0 = 0;
3546 char *_kwnames[] = { "self", NULL };
3547
3548 self = self;
3549 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_AutoCompGetChooseSingle",_kwnames,&_argo0))
3550 return NULL;
3551 if (_argo0) {
3552 if (_argo0 == Py_None) { _arg0 = NULL; }
3553 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
3554 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_AutoCompGetChooseSingle. Expected _wxStyledTextCtrl_p.");
3555 return NULL;
3556 }
3557 }
3558 {
3559 PyThreadState* __tstate = wxPyBeginAllowThreads();
3560 _result = (bool )wxStyledTextCtrl_AutoCompGetChooseSingle(_arg0);
3561
3562 wxPyEndAllowThreads(__tstate);
3563 if (PyErr_Occurred()) return NULL;
3564 } _resultobj = Py_BuildValue("i",_result);
3565 return _resultobj;
3566 }
3567
3568 #define wxStyledTextCtrl_AutoCompSetIgnoreCase(_swigobj,_swigarg0) (_swigobj->AutoCompSetIgnoreCase(_swigarg0))
3569 static PyObject *_wrap_wxStyledTextCtrl_AutoCompSetIgnoreCase(PyObject *self, PyObject *args, PyObject *kwargs) {
3570 PyObject * _resultobj;
3571 wxStyledTextCtrl * _arg0;
3572 bool _arg1;
3573 PyObject * _argo0 = 0;
3574 int tempbool1;
3575 char *_kwnames[] = { "self","ignoreCase", NULL };
3576
3577 self = self;
3578 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_AutoCompSetIgnoreCase",_kwnames,&_argo0,&tempbool1))
3579 return NULL;
3580 if (_argo0) {
3581 if (_argo0 == Py_None) { _arg0 = NULL; }
3582 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
3583 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_AutoCompSetIgnoreCase. Expected _wxStyledTextCtrl_p.");
3584 return NULL;
3585 }
3586 }
3587 _arg1 = (bool ) tempbool1;
3588 {
3589 PyThreadState* __tstate = wxPyBeginAllowThreads();
3590 wxStyledTextCtrl_AutoCompSetIgnoreCase(_arg0,_arg1);
3591
3592 wxPyEndAllowThreads(__tstate);
3593 if (PyErr_Occurred()) return NULL;
3594 } Py_INCREF(Py_None);
3595 _resultobj = Py_None;
3596 return _resultobj;
3597 }
3598
3599 #define wxStyledTextCtrl_AutoCompGetIgnoreCase(_swigobj) (_swigobj->AutoCompGetIgnoreCase())
3600 static PyObject *_wrap_wxStyledTextCtrl_AutoCompGetIgnoreCase(PyObject *self, PyObject *args, PyObject *kwargs) {
3601 PyObject * _resultobj;
3602 bool _result;
3603 wxStyledTextCtrl * _arg0;
3604 PyObject * _argo0 = 0;
3605 char *_kwnames[] = { "self", NULL };
3606
3607 self = self;
3608 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_AutoCompGetIgnoreCase",_kwnames,&_argo0))
3609 return NULL;
3610 if (_argo0) {
3611 if (_argo0 == Py_None) { _arg0 = NULL; }
3612 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
3613 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_AutoCompGetIgnoreCase. Expected _wxStyledTextCtrl_p.");
3614 return NULL;
3615 }
3616 }
3617 {
3618 PyThreadState* __tstate = wxPyBeginAllowThreads();
3619 _result = (bool )wxStyledTextCtrl_AutoCompGetIgnoreCase(_arg0);
3620
3621 wxPyEndAllowThreads(__tstate);
3622 if (PyErr_Occurred()) return NULL;
3623 } _resultobj = Py_BuildValue("i",_result);
3624 return _resultobj;
3625 }
3626
3627 #define wxStyledTextCtrl_UserListShow(_swigobj,_swigarg0,_swigarg1) (_swigobj->UserListShow(_swigarg0,_swigarg1))
3628 static PyObject *_wrap_wxStyledTextCtrl_UserListShow(PyObject *self, PyObject *args, PyObject *kwargs) {
3629 PyObject * _resultobj;
3630 wxStyledTextCtrl * _arg0;
3631 int _arg1;
3632 wxString * _arg2;
3633 PyObject * _argo0 = 0;
3634 PyObject * _obj2 = 0;
3635 char *_kwnames[] = { "self","listType","itemList", NULL };
3636
3637 self = self;
3638 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxStyledTextCtrl_UserListShow",_kwnames,&_argo0,&_arg1,&_obj2))
3639 return NULL;
3640 if (_argo0) {
3641 if (_argo0 == Py_None) { _arg0 = NULL; }
3642 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
3643 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_UserListShow. Expected _wxStyledTextCtrl_p.");
3644 return NULL;
3645 }
3646 }
3647 {
3648 _arg2 = wxString_in_helper(_obj2);
3649 if (_arg2 == NULL)
3650 return NULL;
3651 }
3652 {
3653 PyThreadState* __tstate = wxPyBeginAllowThreads();
3654 wxStyledTextCtrl_UserListShow(_arg0,_arg1,*_arg2);
3655
3656 wxPyEndAllowThreads(__tstate);
3657 if (PyErr_Occurred()) return NULL;
3658 } Py_INCREF(Py_None);
3659 _resultobj = Py_None;
3660 {
3661 if (_obj2)
3662 delete _arg2;
3663 }
3664 return _resultobj;
3665 }
3666
3667 #define wxStyledTextCtrl_AutoCompSetAutoHide(_swigobj,_swigarg0) (_swigobj->AutoCompSetAutoHide(_swigarg0))
3668 static PyObject *_wrap_wxStyledTextCtrl_AutoCompSetAutoHide(PyObject *self, PyObject *args, PyObject *kwargs) {
3669 PyObject * _resultobj;
3670 wxStyledTextCtrl * _arg0;
3671 bool _arg1;
3672 PyObject * _argo0 = 0;
3673 int tempbool1;
3674 char *_kwnames[] = { "self","autoHide", NULL };
3675
3676 self = self;
3677 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_AutoCompSetAutoHide",_kwnames,&_argo0,&tempbool1))
3678 return NULL;
3679 if (_argo0) {
3680 if (_argo0 == Py_None) { _arg0 = NULL; }
3681 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
3682 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_AutoCompSetAutoHide. Expected _wxStyledTextCtrl_p.");
3683 return NULL;
3684 }
3685 }
3686 _arg1 = (bool ) tempbool1;
3687 {
3688 PyThreadState* __tstate = wxPyBeginAllowThreads();
3689 wxStyledTextCtrl_AutoCompSetAutoHide(_arg0,_arg1);
3690
3691 wxPyEndAllowThreads(__tstate);
3692 if (PyErr_Occurred()) return NULL;
3693 } Py_INCREF(Py_None);
3694 _resultobj = Py_None;
3695 return _resultobj;
3696 }
3697
3698 #define wxStyledTextCtrl_AutoCompGetAutoHide(_swigobj) (_swigobj->AutoCompGetAutoHide())
3699 static PyObject *_wrap_wxStyledTextCtrl_AutoCompGetAutoHide(PyObject *self, PyObject *args, PyObject *kwargs) {
3700 PyObject * _resultobj;
3701 bool _result;
3702 wxStyledTextCtrl * _arg0;
3703 PyObject * _argo0 = 0;
3704 char *_kwnames[] = { "self", NULL };
3705
3706 self = self;
3707 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_AutoCompGetAutoHide",_kwnames,&_argo0))
3708 return NULL;
3709 if (_argo0) {
3710 if (_argo0 == Py_None) { _arg0 = NULL; }
3711 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
3712 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_AutoCompGetAutoHide. Expected _wxStyledTextCtrl_p.");
3713 return NULL;
3714 }
3715 }
3716 {
3717 PyThreadState* __tstate = wxPyBeginAllowThreads();
3718 _result = (bool )wxStyledTextCtrl_AutoCompGetAutoHide(_arg0);
3719
3720 wxPyEndAllowThreads(__tstate);
3721 if (PyErr_Occurred()) return NULL;
3722 } _resultobj = Py_BuildValue("i",_result);
3723 return _resultobj;
3724 }
3725
3726 #define wxStyledTextCtrl_AutoCompSetDropRestOfWord(_swigobj,_swigarg0) (_swigobj->AutoCompSetDropRestOfWord(_swigarg0))
3727 static PyObject *_wrap_wxStyledTextCtrl_AutoCompSetDropRestOfWord(PyObject *self, PyObject *args, PyObject *kwargs) {
3728 PyObject * _resultobj;
3729 wxStyledTextCtrl * _arg0;
3730 bool _arg1;
3731 PyObject * _argo0 = 0;
3732 int tempbool1;
3733 char *_kwnames[] = { "self","dropRestOfWord", NULL };
3734
3735 self = self;
3736 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_AutoCompSetDropRestOfWord",_kwnames,&_argo0,&tempbool1))
3737 return NULL;
3738 if (_argo0) {
3739 if (_argo0 == Py_None) { _arg0 = NULL; }
3740 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
3741 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_AutoCompSetDropRestOfWord. Expected _wxStyledTextCtrl_p.");
3742 return NULL;
3743 }
3744 }
3745 _arg1 = (bool ) tempbool1;
3746 {
3747 PyThreadState* __tstate = wxPyBeginAllowThreads();
3748 wxStyledTextCtrl_AutoCompSetDropRestOfWord(_arg0,_arg1);
3749
3750 wxPyEndAllowThreads(__tstate);
3751 if (PyErr_Occurred()) return NULL;
3752 } Py_INCREF(Py_None);
3753 _resultobj = Py_None;
3754 return _resultobj;
3755 }
3756
3757 #define wxStyledTextCtrl_AutoCompGetDropRestOfWord(_swigobj) (_swigobj->AutoCompGetDropRestOfWord())
3758 static PyObject *_wrap_wxStyledTextCtrl_AutoCompGetDropRestOfWord(PyObject *self, PyObject *args, PyObject *kwargs) {
3759 PyObject * _resultobj;
3760 bool _result;
3761 wxStyledTextCtrl * _arg0;
3762 PyObject * _argo0 = 0;
3763 char *_kwnames[] = { "self", NULL };
3764
3765 self = self;
3766 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_AutoCompGetDropRestOfWord",_kwnames,&_argo0))
3767 return NULL;
3768 if (_argo0) {
3769 if (_argo0 == Py_None) { _arg0 = NULL; }
3770 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
3771 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_AutoCompGetDropRestOfWord. Expected _wxStyledTextCtrl_p.");
3772 return NULL;
3773 }
3774 }
3775 {
3776 PyThreadState* __tstate = wxPyBeginAllowThreads();
3777 _result = (bool )wxStyledTextCtrl_AutoCompGetDropRestOfWord(_arg0);
3778
3779 wxPyEndAllowThreads(__tstate);
3780 if (PyErr_Occurred()) return NULL;
3781 } _resultobj = Py_BuildValue("i",_result);
3782 return _resultobj;
3783 }
3784
3785 #define wxStyledTextCtrl_SetIndent(_swigobj,_swigarg0) (_swigobj->SetIndent(_swigarg0))
3786 static PyObject *_wrap_wxStyledTextCtrl_SetIndent(PyObject *self, PyObject *args, PyObject *kwargs) {
3787 PyObject * _resultobj;
3788 wxStyledTextCtrl * _arg0;
3789 int _arg1;
3790 PyObject * _argo0 = 0;
3791 char *_kwnames[] = { "self","indentSize", NULL };
3792
3793 self = self;
3794 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_SetIndent",_kwnames,&_argo0,&_arg1))
3795 return NULL;
3796 if (_argo0) {
3797 if (_argo0 == Py_None) { _arg0 = NULL; }
3798 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
3799 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetIndent. Expected _wxStyledTextCtrl_p.");
3800 return NULL;
3801 }
3802 }
3803 {
3804 PyThreadState* __tstate = wxPyBeginAllowThreads();
3805 wxStyledTextCtrl_SetIndent(_arg0,_arg1);
3806
3807 wxPyEndAllowThreads(__tstate);
3808 if (PyErr_Occurred()) return NULL;
3809 } Py_INCREF(Py_None);
3810 _resultobj = Py_None;
3811 return _resultobj;
3812 }
3813
3814 #define wxStyledTextCtrl_GetIndent(_swigobj) (_swigobj->GetIndent())
3815 static PyObject *_wrap_wxStyledTextCtrl_GetIndent(PyObject *self, PyObject *args, PyObject *kwargs) {
3816 PyObject * _resultobj;
3817 int _result;
3818 wxStyledTextCtrl * _arg0;
3819 PyObject * _argo0 = 0;
3820 char *_kwnames[] = { "self", NULL };
3821
3822 self = self;
3823 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetIndent",_kwnames,&_argo0))
3824 return NULL;
3825 if (_argo0) {
3826 if (_argo0 == Py_None) { _arg0 = NULL; }
3827 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
3828 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetIndent. Expected _wxStyledTextCtrl_p.");
3829 return NULL;
3830 }
3831 }
3832 {
3833 PyThreadState* __tstate = wxPyBeginAllowThreads();
3834 _result = (int )wxStyledTextCtrl_GetIndent(_arg0);
3835
3836 wxPyEndAllowThreads(__tstate);
3837 if (PyErr_Occurred()) return NULL;
3838 } _resultobj = Py_BuildValue("i",_result);
3839 return _resultobj;
3840 }
3841
3842 #define wxStyledTextCtrl_SetUseTabs(_swigobj,_swigarg0) (_swigobj->SetUseTabs(_swigarg0))
3843 static PyObject *_wrap_wxStyledTextCtrl_SetUseTabs(PyObject *self, PyObject *args, PyObject *kwargs) {
3844 PyObject * _resultobj;
3845 wxStyledTextCtrl * _arg0;
3846 bool _arg1;
3847 PyObject * _argo0 = 0;
3848 int tempbool1;
3849 char *_kwnames[] = { "self","useTabs", NULL };
3850
3851 self = self;
3852 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_SetUseTabs",_kwnames,&_argo0,&tempbool1))
3853 return NULL;
3854 if (_argo0) {
3855 if (_argo0 == Py_None) { _arg0 = NULL; }
3856 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
3857 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetUseTabs. Expected _wxStyledTextCtrl_p.");
3858 return NULL;
3859 }
3860 }
3861 _arg1 = (bool ) tempbool1;
3862 {
3863 PyThreadState* __tstate = wxPyBeginAllowThreads();
3864 wxStyledTextCtrl_SetUseTabs(_arg0,_arg1);
3865
3866 wxPyEndAllowThreads(__tstate);
3867 if (PyErr_Occurred()) return NULL;
3868 } Py_INCREF(Py_None);
3869 _resultobj = Py_None;
3870 return _resultobj;
3871 }
3872
3873 #define wxStyledTextCtrl_GetUseTabs(_swigobj) (_swigobj->GetUseTabs())
3874 static PyObject *_wrap_wxStyledTextCtrl_GetUseTabs(PyObject *self, PyObject *args, PyObject *kwargs) {
3875 PyObject * _resultobj;
3876 bool _result;
3877 wxStyledTextCtrl * _arg0;
3878 PyObject * _argo0 = 0;
3879 char *_kwnames[] = { "self", NULL };
3880
3881 self = self;
3882 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetUseTabs",_kwnames,&_argo0))
3883 return NULL;
3884 if (_argo0) {
3885 if (_argo0 == Py_None) { _arg0 = NULL; }
3886 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
3887 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetUseTabs. Expected _wxStyledTextCtrl_p.");
3888 return NULL;
3889 }
3890 }
3891 {
3892 PyThreadState* __tstate = wxPyBeginAllowThreads();
3893 _result = (bool )wxStyledTextCtrl_GetUseTabs(_arg0);
3894
3895 wxPyEndAllowThreads(__tstate);
3896 if (PyErr_Occurred()) return NULL;
3897 } _resultobj = Py_BuildValue("i",_result);
3898 return _resultobj;
3899 }
3900
3901 #define wxStyledTextCtrl_SetLineIndentation(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetLineIndentation(_swigarg0,_swigarg1))
3902 static PyObject *_wrap_wxStyledTextCtrl_SetLineIndentation(PyObject *self, PyObject *args, PyObject *kwargs) {
3903 PyObject * _resultobj;
3904 wxStyledTextCtrl * _arg0;
3905 int _arg1;
3906 int _arg2;
3907 PyObject * _argo0 = 0;
3908 char *_kwnames[] = { "self","line","indentSize", NULL };
3909
3910 self = self;
3911 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxStyledTextCtrl_SetLineIndentation",_kwnames,&_argo0,&_arg1,&_arg2))
3912 return NULL;
3913 if (_argo0) {
3914 if (_argo0 == Py_None) { _arg0 = NULL; }
3915 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
3916 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetLineIndentation. Expected _wxStyledTextCtrl_p.");
3917 return NULL;
3918 }
3919 }
3920 {
3921 PyThreadState* __tstate = wxPyBeginAllowThreads();
3922 wxStyledTextCtrl_SetLineIndentation(_arg0,_arg1,_arg2);
3923
3924 wxPyEndAllowThreads(__tstate);
3925 if (PyErr_Occurred()) return NULL;
3926 } Py_INCREF(Py_None);
3927 _resultobj = Py_None;
3928 return _resultobj;
3929 }
3930
3931 #define wxStyledTextCtrl_GetLineIndentation(_swigobj,_swigarg0) (_swigobj->GetLineIndentation(_swigarg0))
3932 static PyObject *_wrap_wxStyledTextCtrl_GetLineIndentation(PyObject *self, PyObject *args, PyObject *kwargs) {
3933 PyObject * _resultobj;
3934 int _result;
3935 wxStyledTextCtrl * _arg0;
3936 int _arg1;
3937 PyObject * _argo0 = 0;
3938 char *_kwnames[] = { "self","line", NULL };
3939
3940 self = self;
3941 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_GetLineIndentation",_kwnames,&_argo0,&_arg1))
3942 return NULL;
3943 if (_argo0) {
3944 if (_argo0 == Py_None) { _arg0 = NULL; }
3945 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
3946 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetLineIndentation. Expected _wxStyledTextCtrl_p.");
3947 return NULL;
3948 }
3949 }
3950 {
3951 PyThreadState* __tstate = wxPyBeginAllowThreads();
3952 _result = (int )wxStyledTextCtrl_GetLineIndentation(_arg0,_arg1);
3953
3954 wxPyEndAllowThreads(__tstate);
3955 if (PyErr_Occurred()) return NULL;
3956 } _resultobj = Py_BuildValue("i",_result);
3957 return _resultobj;
3958 }
3959
3960 #define wxStyledTextCtrl_GetLineIndentPosition(_swigobj,_swigarg0) (_swigobj->GetLineIndentPosition(_swigarg0))
3961 static PyObject *_wrap_wxStyledTextCtrl_GetLineIndentPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
3962 PyObject * _resultobj;
3963 int _result;
3964 wxStyledTextCtrl * _arg0;
3965 int _arg1;
3966 PyObject * _argo0 = 0;
3967 char *_kwnames[] = { "self","line", NULL };
3968
3969 self = self;
3970 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_GetLineIndentPosition",_kwnames,&_argo0,&_arg1))
3971 return NULL;
3972 if (_argo0) {
3973 if (_argo0 == Py_None) { _arg0 = NULL; }
3974 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
3975 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetLineIndentPosition. Expected _wxStyledTextCtrl_p.");
3976 return NULL;
3977 }
3978 }
3979 {
3980 PyThreadState* __tstate = wxPyBeginAllowThreads();
3981 _result = (int )wxStyledTextCtrl_GetLineIndentPosition(_arg0,_arg1);
3982
3983 wxPyEndAllowThreads(__tstate);
3984 if (PyErr_Occurred()) return NULL;
3985 } _resultobj = Py_BuildValue("i",_result);
3986 return _resultobj;
3987 }
3988
3989 #define wxStyledTextCtrl_GetColumn(_swigobj,_swigarg0) (_swigobj->GetColumn(_swigarg0))
3990 static PyObject *_wrap_wxStyledTextCtrl_GetColumn(PyObject *self, PyObject *args, PyObject *kwargs) {
3991 PyObject * _resultobj;
3992 int _result;
3993 wxStyledTextCtrl * _arg0;
3994 int _arg1;
3995 PyObject * _argo0 = 0;
3996 char *_kwnames[] = { "self","pos", NULL };
3997
3998 self = self;
3999 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_GetColumn",_kwnames,&_argo0,&_arg1))
4000 return NULL;
4001 if (_argo0) {
4002 if (_argo0 == Py_None) { _arg0 = NULL; }
4003 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
4004 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetColumn. Expected _wxStyledTextCtrl_p.");
4005 return NULL;
4006 }
4007 }
4008 {
4009 PyThreadState* __tstate = wxPyBeginAllowThreads();
4010 _result = (int )wxStyledTextCtrl_GetColumn(_arg0,_arg1);
4011
4012 wxPyEndAllowThreads(__tstate);
4013 if (PyErr_Occurred()) return NULL;
4014 } _resultobj = Py_BuildValue("i",_result);
4015 return _resultobj;
4016 }
4017
4018 #define wxStyledTextCtrl_SetUseHorizontalScrollBar(_swigobj,_swigarg0) (_swigobj->SetUseHorizontalScrollBar(_swigarg0))
4019 static PyObject *_wrap_wxStyledTextCtrl_SetUseHorizontalScrollBar(PyObject *self, PyObject *args, PyObject *kwargs) {
4020 PyObject * _resultobj;
4021 wxStyledTextCtrl * _arg0;
4022 bool _arg1;
4023 PyObject * _argo0 = 0;
4024 int tempbool1;
4025 char *_kwnames[] = { "self","show", NULL };
4026
4027 self = self;
4028 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_SetUseHorizontalScrollBar",_kwnames,&_argo0,&tempbool1))
4029 return NULL;
4030 if (_argo0) {
4031 if (_argo0 == Py_None) { _arg0 = NULL; }
4032 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
4033 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetUseHorizontalScrollBar. Expected _wxStyledTextCtrl_p.");
4034 return NULL;
4035 }
4036 }
4037 _arg1 = (bool ) tempbool1;
4038 {
4039 PyThreadState* __tstate = wxPyBeginAllowThreads();
4040 wxStyledTextCtrl_SetUseHorizontalScrollBar(_arg0,_arg1);
4041
4042 wxPyEndAllowThreads(__tstate);
4043 if (PyErr_Occurred()) return NULL;
4044 } Py_INCREF(Py_None);
4045 _resultobj = Py_None;
4046 return _resultobj;
4047 }
4048
4049 #define wxStyledTextCtrl_GetUseHorizontalScrollBar(_swigobj) (_swigobj->GetUseHorizontalScrollBar())
4050 static PyObject *_wrap_wxStyledTextCtrl_GetUseHorizontalScrollBar(PyObject *self, PyObject *args, PyObject *kwargs) {
4051 PyObject * _resultobj;
4052 bool _result;
4053 wxStyledTextCtrl * _arg0;
4054 PyObject * _argo0 = 0;
4055 char *_kwnames[] = { "self", NULL };
4056
4057 self = self;
4058 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetUseHorizontalScrollBar",_kwnames,&_argo0))
4059 return NULL;
4060 if (_argo0) {
4061 if (_argo0 == Py_None) { _arg0 = NULL; }
4062 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
4063 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetUseHorizontalScrollBar. Expected _wxStyledTextCtrl_p.");
4064 return NULL;
4065 }
4066 }
4067 {
4068 PyThreadState* __tstate = wxPyBeginAllowThreads();
4069 _result = (bool )wxStyledTextCtrl_GetUseHorizontalScrollBar(_arg0);
4070
4071 wxPyEndAllowThreads(__tstate);
4072 if (PyErr_Occurred()) return NULL;
4073 } _resultobj = Py_BuildValue("i",_result);
4074 return _resultobj;
4075 }
4076
4077 #define wxStyledTextCtrl_SetIndentationGuides(_swigobj,_swigarg0) (_swigobj->SetIndentationGuides(_swigarg0))
4078 static PyObject *_wrap_wxStyledTextCtrl_SetIndentationGuides(PyObject *self, PyObject *args, PyObject *kwargs) {
4079 PyObject * _resultobj;
4080 wxStyledTextCtrl * _arg0;
4081 bool _arg1;
4082 PyObject * _argo0 = 0;
4083 int tempbool1;
4084 char *_kwnames[] = { "self","show", NULL };
4085
4086 self = self;
4087 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_SetIndentationGuides",_kwnames,&_argo0,&tempbool1))
4088 return NULL;
4089 if (_argo0) {
4090 if (_argo0 == Py_None) { _arg0 = NULL; }
4091 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
4092 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetIndentationGuides. Expected _wxStyledTextCtrl_p.");
4093 return NULL;
4094 }
4095 }
4096 _arg1 = (bool ) tempbool1;
4097 {
4098 PyThreadState* __tstate = wxPyBeginAllowThreads();
4099 wxStyledTextCtrl_SetIndentationGuides(_arg0,_arg1);
4100
4101 wxPyEndAllowThreads(__tstate);
4102 if (PyErr_Occurred()) return NULL;
4103 } Py_INCREF(Py_None);
4104 _resultobj = Py_None;
4105 return _resultobj;
4106 }
4107
4108 #define wxStyledTextCtrl_GetIndentationGuides(_swigobj) (_swigobj->GetIndentationGuides())
4109 static PyObject *_wrap_wxStyledTextCtrl_GetIndentationGuides(PyObject *self, PyObject *args, PyObject *kwargs) {
4110 PyObject * _resultobj;
4111 bool _result;
4112 wxStyledTextCtrl * _arg0;
4113 PyObject * _argo0 = 0;
4114 char *_kwnames[] = { "self", NULL };
4115
4116 self = self;
4117 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetIndentationGuides",_kwnames,&_argo0))
4118 return NULL;
4119 if (_argo0) {
4120 if (_argo0 == Py_None) { _arg0 = NULL; }
4121 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
4122 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetIndentationGuides. Expected _wxStyledTextCtrl_p.");
4123 return NULL;
4124 }
4125 }
4126 {
4127 PyThreadState* __tstate = wxPyBeginAllowThreads();
4128 _result = (bool )wxStyledTextCtrl_GetIndentationGuides(_arg0);
4129
4130 wxPyEndAllowThreads(__tstate);
4131 if (PyErr_Occurred()) return NULL;
4132 } _resultobj = Py_BuildValue("i",_result);
4133 return _resultobj;
4134 }
4135
4136 #define wxStyledTextCtrl_SetHighlightGuide(_swigobj,_swigarg0) (_swigobj->SetHighlightGuide(_swigarg0))
4137 static PyObject *_wrap_wxStyledTextCtrl_SetHighlightGuide(PyObject *self, PyObject *args, PyObject *kwargs) {
4138 PyObject * _resultobj;
4139 wxStyledTextCtrl * _arg0;
4140 int _arg1;
4141 PyObject * _argo0 = 0;
4142 char *_kwnames[] = { "self","column", NULL };
4143
4144 self = self;
4145 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_SetHighlightGuide",_kwnames,&_argo0,&_arg1))
4146 return NULL;
4147 if (_argo0) {
4148 if (_argo0 == Py_None) { _arg0 = NULL; }
4149 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
4150 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetHighlightGuide. Expected _wxStyledTextCtrl_p.");
4151 return NULL;
4152 }
4153 }
4154 {
4155 PyThreadState* __tstate = wxPyBeginAllowThreads();
4156 wxStyledTextCtrl_SetHighlightGuide(_arg0,_arg1);
4157
4158 wxPyEndAllowThreads(__tstate);
4159 if (PyErr_Occurred()) return NULL;
4160 } Py_INCREF(Py_None);
4161 _resultobj = Py_None;
4162 return _resultobj;
4163 }
4164
4165 #define wxStyledTextCtrl_GetHighlightGuide(_swigobj) (_swigobj->GetHighlightGuide())
4166 static PyObject *_wrap_wxStyledTextCtrl_GetHighlightGuide(PyObject *self, PyObject *args, PyObject *kwargs) {
4167 PyObject * _resultobj;
4168 int _result;
4169 wxStyledTextCtrl * _arg0;
4170 PyObject * _argo0 = 0;
4171 char *_kwnames[] = { "self", NULL };
4172
4173 self = self;
4174 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetHighlightGuide",_kwnames,&_argo0))
4175 return NULL;
4176 if (_argo0) {
4177 if (_argo0 == Py_None) { _arg0 = NULL; }
4178 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
4179 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetHighlightGuide. Expected _wxStyledTextCtrl_p.");
4180 return NULL;
4181 }
4182 }
4183 {
4184 PyThreadState* __tstate = wxPyBeginAllowThreads();
4185 _result = (int )wxStyledTextCtrl_GetHighlightGuide(_arg0);
4186
4187 wxPyEndAllowThreads(__tstate);
4188 if (PyErr_Occurred()) return NULL;
4189 } _resultobj = Py_BuildValue("i",_result);
4190 return _resultobj;
4191 }
4192
4193 #define wxStyledTextCtrl_GetLineEndPosition(_swigobj,_swigarg0) (_swigobj->GetLineEndPosition(_swigarg0))
4194 static PyObject *_wrap_wxStyledTextCtrl_GetLineEndPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
4195 PyObject * _resultobj;
4196 int _result;
4197 wxStyledTextCtrl * _arg0;
4198 int _arg1;
4199 PyObject * _argo0 = 0;
4200 char *_kwnames[] = { "self","line", NULL };
4201
4202 self = self;
4203 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_GetLineEndPosition",_kwnames,&_argo0,&_arg1))
4204 return NULL;
4205 if (_argo0) {
4206 if (_argo0 == Py_None) { _arg0 = NULL; }
4207 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
4208 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetLineEndPosition. Expected _wxStyledTextCtrl_p.");
4209 return NULL;
4210 }
4211 }
4212 {
4213 PyThreadState* __tstate = wxPyBeginAllowThreads();
4214 _result = (int )wxStyledTextCtrl_GetLineEndPosition(_arg0,_arg1);
4215
4216 wxPyEndAllowThreads(__tstate);
4217 if (PyErr_Occurred()) return NULL;
4218 } _resultobj = Py_BuildValue("i",_result);
4219 return _resultobj;
4220 }
4221
4222 #define wxStyledTextCtrl_GetCodePage(_swigobj) (_swigobj->GetCodePage())
4223 static PyObject *_wrap_wxStyledTextCtrl_GetCodePage(PyObject *self, PyObject *args, PyObject *kwargs) {
4224 PyObject * _resultobj;
4225 int _result;
4226 wxStyledTextCtrl * _arg0;
4227 PyObject * _argo0 = 0;
4228 char *_kwnames[] = { "self", NULL };
4229
4230 self = self;
4231 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetCodePage",_kwnames,&_argo0))
4232 return NULL;
4233 if (_argo0) {
4234 if (_argo0 == Py_None) { _arg0 = NULL; }
4235 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
4236 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetCodePage. Expected _wxStyledTextCtrl_p.");
4237 return NULL;
4238 }
4239 }
4240 {
4241 PyThreadState* __tstate = wxPyBeginAllowThreads();
4242 _result = (int )wxStyledTextCtrl_GetCodePage(_arg0);
4243
4244 wxPyEndAllowThreads(__tstate);
4245 if (PyErr_Occurred()) return NULL;
4246 } _resultobj = Py_BuildValue("i",_result);
4247 return _resultobj;
4248 }
4249
4250 #define wxStyledTextCtrl_GetCaretForeground(_swigobj) (_swigobj->GetCaretForeground())
4251 static PyObject *_wrap_wxStyledTextCtrl_GetCaretForeground(PyObject *self, PyObject *args, PyObject *kwargs) {
4252 PyObject * _resultobj;
4253 wxColour * _result;
4254 wxStyledTextCtrl * _arg0;
4255 PyObject * _argo0 = 0;
4256 char *_kwnames[] = { "self", NULL };
4257 char _ptemp[128];
4258
4259 self = self;
4260 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetCaretForeground",_kwnames,&_argo0))
4261 return NULL;
4262 if (_argo0) {
4263 if (_argo0 == Py_None) { _arg0 = NULL; }
4264 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
4265 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetCaretForeground. Expected _wxStyledTextCtrl_p.");
4266 return NULL;
4267 }
4268 }
4269 {
4270 PyThreadState* __tstate = wxPyBeginAllowThreads();
4271 _result = new wxColour (wxStyledTextCtrl_GetCaretForeground(_arg0));
4272
4273 wxPyEndAllowThreads(__tstate);
4274 if (PyErr_Occurred()) return NULL;
4275 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxColour_p");
4276 _resultobj = Py_BuildValue("s",_ptemp);
4277 return _resultobj;
4278 }
4279
4280 #define wxStyledTextCtrl_GetReadOnly(_swigobj) (_swigobj->GetReadOnly())
4281 static PyObject *_wrap_wxStyledTextCtrl_GetReadOnly(PyObject *self, PyObject *args, PyObject *kwargs) {
4282 PyObject * _resultobj;
4283 bool _result;
4284 wxStyledTextCtrl * _arg0;
4285 PyObject * _argo0 = 0;
4286 char *_kwnames[] = { "self", NULL };
4287
4288 self = self;
4289 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetReadOnly",_kwnames,&_argo0))
4290 return NULL;
4291 if (_argo0) {
4292 if (_argo0 == Py_None) { _arg0 = NULL; }
4293 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
4294 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetReadOnly. Expected _wxStyledTextCtrl_p.");
4295 return NULL;
4296 }
4297 }
4298 {
4299 PyThreadState* __tstate = wxPyBeginAllowThreads();
4300 _result = (bool )wxStyledTextCtrl_GetReadOnly(_arg0);
4301
4302 wxPyEndAllowThreads(__tstate);
4303 if (PyErr_Occurred()) return NULL;
4304 } _resultobj = Py_BuildValue("i",_result);
4305 return _resultobj;
4306 }
4307
4308 #define wxStyledTextCtrl_SetCurrentPos(_swigobj,_swigarg0) (_swigobj->SetCurrentPos(_swigarg0))
4309 static PyObject *_wrap_wxStyledTextCtrl_SetCurrentPos(PyObject *self, PyObject *args, PyObject *kwargs) {
4310 PyObject * _resultobj;
4311 wxStyledTextCtrl * _arg0;
4312 int _arg1;
4313 PyObject * _argo0 = 0;
4314 char *_kwnames[] = { "self","pos", NULL };
4315
4316 self = self;
4317 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_SetCurrentPos",_kwnames,&_argo0,&_arg1))
4318 return NULL;
4319 if (_argo0) {
4320 if (_argo0 == Py_None) { _arg0 = NULL; }
4321 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
4322 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetCurrentPos. Expected _wxStyledTextCtrl_p.");
4323 return NULL;
4324 }
4325 }
4326 {
4327 PyThreadState* __tstate = wxPyBeginAllowThreads();
4328 wxStyledTextCtrl_SetCurrentPos(_arg0,_arg1);
4329
4330 wxPyEndAllowThreads(__tstate);
4331 if (PyErr_Occurred()) return NULL;
4332 } Py_INCREF(Py_None);
4333 _resultobj = Py_None;
4334 return _resultobj;
4335 }
4336
4337 #define wxStyledTextCtrl_SetSelectionStart(_swigobj,_swigarg0) (_swigobj->SetSelectionStart(_swigarg0))
4338 static PyObject *_wrap_wxStyledTextCtrl_SetSelectionStart(PyObject *self, PyObject *args, PyObject *kwargs) {
4339 PyObject * _resultobj;
4340 wxStyledTextCtrl * _arg0;
4341 int _arg1;
4342 PyObject * _argo0 = 0;
4343 char *_kwnames[] = { "self","pos", NULL };
4344
4345 self = self;
4346 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_SetSelectionStart",_kwnames,&_argo0,&_arg1))
4347 return NULL;
4348 if (_argo0) {
4349 if (_argo0 == Py_None) { _arg0 = NULL; }
4350 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
4351 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetSelectionStart. Expected _wxStyledTextCtrl_p.");
4352 return NULL;
4353 }
4354 }
4355 {
4356 PyThreadState* __tstate = wxPyBeginAllowThreads();
4357 wxStyledTextCtrl_SetSelectionStart(_arg0,_arg1);
4358
4359 wxPyEndAllowThreads(__tstate);
4360 if (PyErr_Occurred()) return NULL;
4361 } Py_INCREF(Py_None);
4362 _resultobj = Py_None;
4363 return _resultobj;
4364 }
4365
4366 #define wxStyledTextCtrl_GetSelectionStart(_swigobj) (_swigobj->GetSelectionStart())
4367 static PyObject *_wrap_wxStyledTextCtrl_GetSelectionStart(PyObject *self, PyObject *args, PyObject *kwargs) {
4368 PyObject * _resultobj;
4369 int _result;
4370 wxStyledTextCtrl * _arg0;
4371 PyObject * _argo0 = 0;
4372 char *_kwnames[] = { "self", NULL };
4373
4374 self = self;
4375 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetSelectionStart",_kwnames,&_argo0))
4376 return NULL;
4377 if (_argo0) {
4378 if (_argo0 == Py_None) { _arg0 = NULL; }
4379 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
4380 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetSelectionStart. Expected _wxStyledTextCtrl_p.");
4381 return NULL;
4382 }
4383 }
4384 {
4385 PyThreadState* __tstate = wxPyBeginAllowThreads();
4386 _result = (int )wxStyledTextCtrl_GetSelectionStart(_arg0);
4387
4388 wxPyEndAllowThreads(__tstate);
4389 if (PyErr_Occurred()) return NULL;
4390 } _resultobj = Py_BuildValue("i",_result);
4391 return _resultobj;
4392 }
4393
4394 #define wxStyledTextCtrl_SetSelectionEnd(_swigobj,_swigarg0) (_swigobj->SetSelectionEnd(_swigarg0))
4395 static PyObject *_wrap_wxStyledTextCtrl_SetSelectionEnd(PyObject *self, PyObject *args, PyObject *kwargs) {
4396 PyObject * _resultobj;
4397 wxStyledTextCtrl * _arg0;
4398 int _arg1;
4399 PyObject * _argo0 = 0;
4400 char *_kwnames[] = { "self","pos", NULL };
4401
4402 self = self;
4403 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_SetSelectionEnd",_kwnames,&_argo0,&_arg1))
4404 return NULL;
4405 if (_argo0) {
4406 if (_argo0 == Py_None) { _arg0 = NULL; }
4407 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
4408 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetSelectionEnd. Expected _wxStyledTextCtrl_p.");
4409 return NULL;
4410 }
4411 }
4412 {
4413 PyThreadState* __tstate = wxPyBeginAllowThreads();
4414 wxStyledTextCtrl_SetSelectionEnd(_arg0,_arg1);
4415
4416 wxPyEndAllowThreads(__tstate);
4417 if (PyErr_Occurred()) return NULL;
4418 } Py_INCREF(Py_None);
4419 _resultobj = Py_None;
4420 return _resultobj;
4421 }
4422
4423 #define wxStyledTextCtrl_GetSelectionEnd(_swigobj) (_swigobj->GetSelectionEnd())
4424 static PyObject *_wrap_wxStyledTextCtrl_GetSelectionEnd(PyObject *self, PyObject *args, PyObject *kwargs) {
4425 PyObject * _resultobj;
4426 int _result;
4427 wxStyledTextCtrl * _arg0;
4428 PyObject * _argo0 = 0;
4429 char *_kwnames[] = { "self", NULL };
4430
4431 self = self;
4432 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetSelectionEnd",_kwnames,&_argo0))
4433 return NULL;
4434 if (_argo0) {
4435 if (_argo0 == Py_None) { _arg0 = NULL; }
4436 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
4437 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetSelectionEnd. Expected _wxStyledTextCtrl_p.");
4438 return NULL;
4439 }
4440 }
4441 {
4442 PyThreadState* __tstate = wxPyBeginAllowThreads();
4443 _result = (int )wxStyledTextCtrl_GetSelectionEnd(_arg0);
4444
4445 wxPyEndAllowThreads(__tstate);
4446 if (PyErr_Occurred()) return NULL;
4447 } _resultobj = Py_BuildValue("i",_result);
4448 return _resultobj;
4449 }
4450
4451 #define wxStyledTextCtrl_SetPrintMagnification(_swigobj,_swigarg0) (_swigobj->SetPrintMagnification(_swigarg0))
4452 static PyObject *_wrap_wxStyledTextCtrl_SetPrintMagnification(PyObject *self, PyObject *args, PyObject *kwargs) {
4453 PyObject * _resultobj;
4454 wxStyledTextCtrl * _arg0;
4455 int _arg1;
4456 PyObject * _argo0 = 0;
4457 char *_kwnames[] = { "self","magnification", NULL };
4458
4459 self = self;
4460 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_SetPrintMagnification",_kwnames,&_argo0,&_arg1))
4461 return NULL;
4462 if (_argo0) {
4463 if (_argo0 == Py_None) { _arg0 = NULL; }
4464 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
4465 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetPrintMagnification. Expected _wxStyledTextCtrl_p.");
4466 return NULL;
4467 }
4468 }
4469 {
4470 PyThreadState* __tstate = wxPyBeginAllowThreads();
4471 wxStyledTextCtrl_SetPrintMagnification(_arg0,_arg1);
4472
4473 wxPyEndAllowThreads(__tstate);
4474 if (PyErr_Occurred()) return NULL;
4475 } Py_INCREF(Py_None);
4476 _resultobj = Py_None;
4477 return _resultobj;
4478 }
4479
4480 #define wxStyledTextCtrl_GetPrintMagnification(_swigobj) (_swigobj->GetPrintMagnification())
4481 static PyObject *_wrap_wxStyledTextCtrl_GetPrintMagnification(PyObject *self, PyObject *args, PyObject *kwargs) {
4482 PyObject * _resultobj;
4483 int _result;
4484 wxStyledTextCtrl * _arg0;
4485 PyObject * _argo0 = 0;
4486 char *_kwnames[] = { "self", NULL };
4487
4488 self = self;
4489 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetPrintMagnification",_kwnames,&_argo0))
4490 return NULL;
4491 if (_argo0) {
4492 if (_argo0 == Py_None) { _arg0 = NULL; }
4493 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
4494 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetPrintMagnification. Expected _wxStyledTextCtrl_p.");
4495 return NULL;
4496 }
4497 }
4498 {
4499 PyThreadState* __tstate = wxPyBeginAllowThreads();
4500 _result = (int )wxStyledTextCtrl_GetPrintMagnification(_arg0);
4501
4502 wxPyEndAllowThreads(__tstate);
4503 if (PyErr_Occurred()) return NULL;
4504 } _resultobj = Py_BuildValue("i",_result);
4505 return _resultobj;
4506 }
4507
4508 #define wxStyledTextCtrl_SetPrintColourMode(_swigobj,_swigarg0) (_swigobj->SetPrintColourMode(_swigarg0))
4509 static PyObject *_wrap_wxStyledTextCtrl_SetPrintColourMode(PyObject *self, PyObject *args, PyObject *kwargs) {
4510 PyObject * _resultobj;
4511 wxStyledTextCtrl * _arg0;
4512 int _arg1;
4513 PyObject * _argo0 = 0;
4514 char *_kwnames[] = { "self","mode", NULL };
4515
4516 self = self;
4517 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_SetPrintColourMode",_kwnames,&_argo0,&_arg1))
4518 return NULL;
4519 if (_argo0) {
4520 if (_argo0 == Py_None) { _arg0 = NULL; }
4521 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
4522 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetPrintColourMode. Expected _wxStyledTextCtrl_p.");
4523 return NULL;
4524 }
4525 }
4526 {
4527 PyThreadState* __tstate = wxPyBeginAllowThreads();
4528 wxStyledTextCtrl_SetPrintColourMode(_arg0,_arg1);
4529
4530 wxPyEndAllowThreads(__tstate);
4531 if (PyErr_Occurred()) return NULL;
4532 } Py_INCREF(Py_None);
4533 _resultobj = Py_None;
4534 return _resultobj;
4535 }
4536
4537 #define wxStyledTextCtrl_GetPrintColourMode(_swigobj) (_swigobj->GetPrintColourMode())
4538 static PyObject *_wrap_wxStyledTextCtrl_GetPrintColourMode(PyObject *self, PyObject *args, PyObject *kwargs) {
4539 PyObject * _resultobj;
4540 int _result;
4541 wxStyledTextCtrl * _arg0;
4542 PyObject * _argo0 = 0;
4543 char *_kwnames[] = { "self", NULL };
4544
4545 self = self;
4546 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetPrintColourMode",_kwnames,&_argo0))
4547 return NULL;
4548 if (_argo0) {
4549 if (_argo0 == Py_None) { _arg0 = NULL; }
4550 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
4551 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetPrintColourMode. Expected _wxStyledTextCtrl_p.");
4552 return NULL;
4553 }
4554 }
4555 {
4556 PyThreadState* __tstate = wxPyBeginAllowThreads();
4557 _result = (int )wxStyledTextCtrl_GetPrintColourMode(_arg0);
4558
4559 wxPyEndAllowThreads(__tstate);
4560 if (PyErr_Occurred()) return NULL;
4561 } _resultobj = Py_BuildValue("i",_result);
4562 return _resultobj;
4563 }
4564
4565 #define wxStyledTextCtrl_FindText(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->FindText(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
4566 static PyObject *_wrap_wxStyledTextCtrl_FindText(PyObject *self, PyObject *args, PyObject *kwargs) {
4567 PyObject * _resultobj;
4568 int _result;
4569 wxStyledTextCtrl * _arg0;
4570 int _arg1;
4571 int _arg2;
4572 wxString * _arg3;
4573 int _arg4 = (int ) 0;
4574 PyObject * _argo0 = 0;
4575 PyObject * _obj3 = 0;
4576 char *_kwnames[] = { "self","minPos","maxPos","text","flags", NULL };
4577
4578 self = self;
4579 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiiO|i:wxStyledTextCtrl_FindText",_kwnames,&_argo0,&_arg1,&_arg2,&_obj3,&_arg4))
4580 return NULL;
4581 if (_argo0) {
4582 if (_argo0 == Py_None) { _arg0 = NULL; }
4583 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
4584 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_FindText. Expected _wxStyledTextCtrl_p.");
4585 return NULL;
4586 }
4587 }
4588 {
4589 _arg3 = wxString_in_helper(_obj3);
4590 if (_arg3 == NULL)
4591 return NULL;
4592 }
4593 {
4594 PyThreadState* __tstate = wxPyBeginAllowThreads();
4595 _result = (int )wxStyledTextCtrl_FindText(_arg0,_arg1,_arg2,*_arg3,_arg4);
4596
4597 wxPyEndAllowThreads(__tstate);
4598 if (PyErr_Occurred()) return NULL;
4599 } _resultobj = Py_BuildValue("i",_result);
4600 {
4601 if (_obj3)
4602 delete _arg3;
4603 }
4604 return _resultobj;
4605 }
4606
4607 #define wxStyledTextCtrl_FormatRange(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (_swigobj->FormatRange(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
4608 static PyObject *_wrap_wxStyledTextCtrl_FormatRange(PyObject *self, PyObject *args, PyObject *kwargs) {
4609 PyObject * _resultobj;
4610 int _result;
4611 wxStyledTextCtrl * _arg0;
4612 bool _arg1;
4613 int _arg2;
4614 int _arg3;
4615 wxDC * _arg4;
4616 wxDC * _arg5;
4617 wxRect * _arg6;
4618 wxRect * _arg7;
4619 PyObject * _argo0 = 0;
4620 int tempbool1;
4621 PyObject * _argo4 = 0;
4622 PyObject * _argo5 = 0;
4623 wxRect temp;
4624 PyObject * _obj6 = 0;
4625 wxRect temp0;
4626 PyObject * _obj7 = 0;
4627 char *_kwnames[] = { "self","doDraw","startPos","endPos","draw","target","renderRect","pageRect", NULL };
4628
4629 self = self;
4630 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiiiOOOO:wxStyledTextCtrl_FormatRange",_kwnames,&_argo0,&tempbool1,&_arg2,&_arg3,&_argo4,&_argo5,&_obj6,&_obj7))
4631 return NULL;
4632 if (_argo0) {
4633 if (_argo0 == Py_None) { _arg0 = NULL; }
4634 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
4635 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_FormatRange. Expected _wxStyledTextCtrl_p.");
4636 return NULL;
4637 }
4638 }
4639 _arg1 = (bool ) tempbool1;
4640 if (_argo4) {
4641 if (_argo4 == Py_None) { _arg4 = NULL; }
4642 else if (SWIG_GetPtrObj(_argo4,(void **) &_arg4,"_wxDC_p")) {
4643 PyErr_SetString(PyExc_TypeError,"Type error in argument 5 of wxStyledTextCtrl_FormatRange. Expected _wxDC_p.");
4644 return NULL;
4645 }
4646 }
4647 if (_argo5) {
4648 if (_argo5 == Py_None) { _arg5 = NULL; }
4649 else if (SWIG_GetPtrObj(_argo5,(void **) &_arg5,"_wxDC_p")) {
4650 PyErr_SetString(PyExc_TypeError,"Type error in argument 6 of wxStyledTextCtrl_FormatRange. Expected _wxDC_p.");
4651 return NULL;
4652 }
4653 }
4654 {
4655 _arg6 = &temp;
4656 if (! wxRect_helper(_obj6, &_arg6))
4657 return NULL;
4658 }
4659 {
4660 _arg7 = &temp0;
4661 if (! wxRect_helper(_obj7, &_arg7))
4662 return NULL;
4663 }
4664 {
4665 PyThreadState* __tstate = wxPyBeginAllowThreads();
4666 _result = (int )wxStyledTextCtrl_FormatRange(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5,*_arg6,*_arg7);
4667
4668 wxPyEndAllowThreads(__tstate);
4669 if (PyErr_Occurred()) return NULL;
4670 } _resultobj = Py_BuildValue("i",_result);
4671 return _resultobj;
4672 }
4673
4674 #define wxStyledTextCtrl_GetFirstVisibleLine(_swigobj) (_swigobj->GetFirstVisibleLine())
4675 static PyObject *_wrap_wxStyledTextCtrl_GetFirstVisibleLine(PyObject *self, PyObject *args, PyObject *kwargs) {
4676 PyObject * _resultobj;
4677 int _result;
4678 wxStyledTextCtrl * _arg0;
4679 PyObject * _argo0 = 0;
4680 char *_kwnames[] = { "self", NULL };
4681
4682 self = self;
4683 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetFirstVisibleLine",_kwnames,&_argo0))
4684 return NULL;
4685 if (_argo0) {
4686 if (_argo0 == Py_None) { _arg0 = NULL; }
4687 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
4688 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetFirstVisibleLine. Expected _wxStyledTextCtrl_p.");
4689 return NULL;
4690 }
4691 }
4692 {
4693 PyThreadState* __tstate = wxPyBeginAllowThreads();
4694 _result = (int )wxStyledTextCtrl_GetFirstVisibleLine(_arg0);
4695
4696 wxPyEndAllowThreads(__tstate);
4697 if (PyErr_Occurred()) return NULL;
4698 } _resultobj = Py_BuildValue("i",_result);
4699 return _resultobj;
4700 }
4701
4702 #define wxStyledTextCtrl_GetLine(_swigobj,_swigarg0) (_swigobj->GetLine(_swigarg0))
4703 static PyObject *_wrap_wxStyledTextCtrl_GetLine(PyObject *self, PyObject *args, PyObject *kwargs) {
4704 PyObject * _resultobj;
4705 wxString * _result;
4706 wxStyledTextCtrl * _arg0;
4707 int _arg1;
4708 PyObject * _argo0 = 0;
4709 char *_kwnames[] = { "self","line", NULL };
4710
4711 self = self;
4712 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_GetLine",_kwnames,&_argo0,&_arg1))
4713 return NULL;
4714 if (_argo0) {
4715 if (_argo0 == Py_None) { _arg0 = NULL; }
4716 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
4717 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetLine. Expected _wxStyledTextCtrl_p.");
4718 return NULL;
4719 }
4720 }
4721 {
4722 PyThreadState* __tstate = wxPyBeginAllowThreads();
4723 _result = new wxString (wxStyledTextCtrl_GetLine(_arg0,_arg1));
4724
4725 wxPyEndAllowThreads(__tstate);
4726 if (PyErr_Occurred()) return NULL;
4727 }{
4728 #if wxUSE_UNICODE
4729 _resultobj = PyUnicode_FromUnicode(_result->c_str(), _result->Len());
4730 #else
4731 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
4732 #endif
4733 }
4734 {
4735 delete _result;
4736 }
4737 return _resultobj;
4738 }
4739
4740 #define wxStyledTextCtrl_GetLineCount(_swigobj) (_swigobj->GetLineCount())
4741 static PyObject *_wrap_wxStyledTextCtrl_GetLineCount(PyObject *self, PyObject *args, PyObject *kwargs) {
4742 PyObject * _resultobj;
4743 int _result;
4744 wxStyledTextCtrl * _arg0;
4745 PyObject * _argo0 = 0;
4746 char *_kwnames[] = { "self", NULL };
4747
4748 self = self;
4749 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetLineCount",_kwnames,&_argo0))
4750 return NULL;
4751 if (_argo0) {
4752 if (_argo0 == Py_None) { _arg0 = NULL; }
4753 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
4754 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetLineCount. Expected _wxStyledTextCtrl_p.");
4755 return NULL;
4756 }
4757 }
4758 {
4759 PyThreadState* __tstate = wxPyBeginAllowThreads();
4760 _result = (int )wxStyledTextCtrl_GetLineCount(_arg0);
4761
4762 wxPyEndAllowThreads(__tstate);
4763 if (PyErr_Occurred()) return NULL;
4764 } _resultobj = Py_BuildValue("i",_result);
4765 return _resultobj;
4766 }
4767
4768 #define wxStyledTextCtrl_SetMarginLeft(_swigobj,_swigarg0) (_swigobj->SetMarginLeft(_swigarg0))
4769 static PyObject *_wrap_wxStyledTextCtrl_SetMarginLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
4770 PyObject * _resultobj;
4771 wxStyledTextCtrl * _arg0;
4772 int _arg1;
4773 PyObject * _argo0 = 0;
4774 char *_kwnames[] = { "self","pixelWidth", NULL };
4775
4776 self = self;
4777 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_SetMarginLeft",_kwnames,&_argo0,&_arg1))
4778 return NULL;
4779 if (_argo0) {
4780 if (_argo0 == Py_None) { _arg0 = NULL; }
4781 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
4782 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetMarginLeft. Expected _wxStyledTextCtrl_p.");
4783 return NULL;
4784 }
4785 }
4786 {
4787 PyThreadState* __tstate = wxPyBeginAllowThreads();
4788 wxStyledTextCtrl_SetMarginLeft(_arg0,_arg1);
4789
4790 wxPyEndAllowThreads(__tstate);
4791 if (PyErr_Occurred()) return NULL;
4792 } Py_INCREF(Py_None);
4793 _resultobj = Py_None;
4794 return _resultobj;
4795 }
4796
4797 #define wxStyledTextCtrl_GetMarginLeft(_swigobj) (_swigobj->GetMarginLeft())
4798 static PyObject *_wrap_wxStyledTextCtrl_GetMarginLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
4799 PyObject * _resultobj;
4800 int _result;
4801 wxStyledTextCtrl * _arg0;
4802 PyObject * _argo0 = 0;
4803 char *_kwnames[] = { "self", NULL };
4804
4805 self = self;
4806 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetMarginLeft",_kwnames,&_argo0))
4807 return NULL;
4808 if (_argo0) {
4809 if (_argo0 == Py_None) { _arg0 = NULL; }
4810 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
4811 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetMarginLeft. Expected _wxStyledTextCtrl_p.");
4812 return NULL;
4813 }
4814 }
4815 {
4816 PyThreadState* __tstate = wxPyBeginAllowThreads();
4817 _result = (int )wxStyledTextCtrl_GetMarginLeft(_arg0);
4818
4819 wxPyEndAllowThreads(__tstate);
4820 if (PyErr_Occurred()) return NULL;
4821 } _resultobj = Py_BuildValue("i",_result);
4822 return _resultobj;
4823 }
4824
4825 #define wxStyledTextCtrl_SetMarginRight(_swigobj,_swigarg0) (_swigobj->SetMarginRight(_swigarg0))
4826 static PyObject *_wrap_wxStyledTextCtrl_SetMarginRight(PyObject *self, PyObject *args, PyObject *kwargs) {
4827 PyObject * _resultobj;
4828 wxStyledTextCtrl * _arg0;
4829 int _arg1;
4830 PyObject * _argo0 = 0;
4831 char *_kwnames[] = { "self","pixelWidth", NULL };
4832
4833 self = self;
4834 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_SetMarginRight",_kwnames,&_argo0,&_arg1))
4835 return NULL;
4836 if (_argo0) {
4837 if (_argo0 == Py_None) { _arg0 = NULL; }
4838 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
4839 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetMarginRight. Expected _wxStyledTextCtrl_p.");
4840 return NULL;
4841 }
4842 }
4843 {
4844 PyThreadState* __tstate = wxPyBeginAllowThreads();
4845 wxStyledTextCtrl_SetMarginRight(_arg0,_arg1);
4846
4847 wxPyEndAllowThreads(__tstate);
4848 if (PyErr_Occurred()) return NULL;
4849 } Py_INCREF(Py_None);
4850 _resultobj = Py_None;
4851 return _resultobj;
4852 }
4853
4854 #define wxStyledTextCtrl_GetMarginRight(_swigobj) (_swigobj->GetMarginRight())
4855 static PyObject *_wrap_wxStyledTextCtrl_GetMarginRight(PyObject *self, PyObject *args, PyObject *kwargs) {
4856 PyObject * _resultobj;
4857 int _result;
4858 wxStyledTextCtrl * _arg0;
4859 PyObject * _argo0 = 0;
4860 char *_kwnames[] = { "self", NULL };
4861
4862 self = self;
4863 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetMarginRight",_kwnames,&_argo0))
4864 return NULL;
4865 if (_argo0) {
4866 if (_argo0 == Py_None) { _arg0 = NULL; }
4867 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
4868 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetMarginRight. Expected _wxStyledTextCtrl_p.");
4869 return NULL;
4870 }
4871 }
4872 {
4873 PyThreadState* __tstate = wxPyBeginAllowThreads();
4874 _result = (int )wxStyledTextCtrl_GetMarginRight(_arg0);
4875
4876 wxPyEndAllowThreads(__tstate);
4877 if (PyErr_Occurred()) return NULL;
4878 } _resultobj = Py_BuildValue("i",_result);
4879 return _resultobj;
4880 }
4881
4882 #define wxStyledTextCtrl_GetModify(_swigobj) (_swigobj->GetModify())
4883 static PyObject *_wrap_wxStyledTextCtrl_GetModify(PyObject *self, PyObject *args, PyObject *kwargs) {
4884 PyObject * _resultobj;
4885 bool _result;
4886 wxStyledTextCtrl * _arg0;
4887 PyObject * _argo0 = 0;
4888 char *_kwnames[] = { "self", NULL };
4889
4890 self = self;
4891 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetModify",_kwnames,&_argo0))
4892 return NULL;
4893 if (_argo0) {
4894 if (_argo0 == Py_None) { _arg0 = NULL; }
4895 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
4896 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetModify. Expected _wxStyledTextCtrl_p.");
4897 return NULL;
4898 }
4899 }
4900 {
4901 PyThreadState* __tstate = wxPyBeginAllowThreads();
4902 _result = (bool )wxStyledTextCtrl_GetModify(_arg0);
4903
4904 wxPyEndAllowThreads(__tstate);
4905 if (PyErr_Occurred()) return NULL;
4906 } _resultobj = Py_BuildValue("i",_result);
4907 return _resultobj;
4908 }
4909
4910 #define wxStyledTextCtrl_SetSelection(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetSelection(_swigarg0,_swigarg1))
4911 static PyObject *_wrap_wxStyledTextCtrl_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
4912 PyObject * _resultobj;
4913 wxStyledTextCtrl * _arg0;
4914 int _arg1;
4915 int _arg2;
4916 PyObject * _argo0 = 0;
4917 char *_kwnames[] = { "self","start","end", NULL };
4918
4919 self = self;
4920 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxStyledTextCtrl_SetSelection",_kwnames,&_argo0,&_arg1,&_arg2))
4921 return NULL;
4922 if (_argo0) {
4923 if (_argo0 == Py_None) { _arg0 = NULL; }
4924 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
4925 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetSelection. Expected _wxStyledTextCtrl_p.");
4926 return NULL;
4927 }
4928 }
4929 {
4930 PyThreadState* __tstate = wxPyBeginAllowThreads();
4931 wxStyledTextCtrl_SetSelection(_arg0,_arg1,_arg2);
4932
4933 wxPyEndAllowThreads(__tstate);
4934 if (PyErr_Occurred()) return NULL;
4935 } Py_INCREF(Py_None);
4936 _resultobj = Py_None;
4937 return _resultobj;
4938 }
4939
4940 #define wxStyledTextCtrl_GetSelectedText(_swigobj) (_swigobj->GetSelectedText())
4941 static PyObject *_wrap_wxStyledTextCtrl_GetSelectedText(PyObject *self, PyObject *args, PyObject *kwargs) {
4942 PyObject * _resultobj;
4943 wxString * _result;
4944 wxStyledTextCtrl * _arg0;
4945 PyObject * _argo0 = 0;
4946 char *_kwnames[] = { "self", NULL };
4947
4948 self = self;
4949 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetSelectedText",_kwnames,&_argo0))
4950 return NULL;
4951 if (_argo0) {
4952 if (_argo0 == Py_None) { _arg0 = NULL; }
4953 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
4954 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetSelectedText. Expected _wxStyledTextCtrl_p.");
4955 return NULL;
4956 }
4957 }
4958 {
4959 PyThreadState* __tstate = wxPyBeginAllowThreads();
4960 _result = new wxString (wxStyledTextCtrl_GetSelectedText(_arg0));
4961
4962 wxPyEndAllowThreads(__tstate);
4963 if (PyErr_Occurred()) return NULL;
4964 }{
4965 #if wxUSE_UNICODE
4966 _resultobj = PyUnicode_FromUnicode(_result->c_str(), _result->Len());
4967 #else
4968 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
4969 #endif
4970 }
4971 {
4972 delete _result;
4973 }
4974 return _resultobj;
4975 }
4976
4977 #define wxStyledTextCtrl_GetTextRange(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetTextRange(_swigarg0,_swigarg1))
4978 static PyObject *_wrap_wxStyledTextCtrl_GetTextRange(PyObject *self, PyObject *args, PyObject *kwargs) {
4979 PyObject * _resultobj;
4980 wxString * _result;
4981 wxStyledTextCtrl * _arg0;
4982 int _arg1;
4983 int _arg2;
4984 PyObject * _argo0 = 0;
4985 char *_kwnames[] = { "self","startPos","endPos", NULL };
4986
4987 self = self;
4988 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxStyledTextCtrl_GetTextRange",_kwnames,&_argo0,&_arg1,&_arg2))
4989 return NULL;
4990 if (_argo0) {
4991 if (_argo0 == Py_None) { _arg0 = NULL; }
4992 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
4993 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetTextRange. Expected _wxStyledTextCtrl_p.");
4994 return NULL;
4995 }
4996 }
4997 {
4998 PyThreadState* __tstate = wxPyBeginAllowThreads();
4999 _result = new wxString (wxStyledTextCtrl_GetTextRange(_arg0,_arg1,_arg2));
5000
5001 wxPyEndAllowThreads(__tstate);
5002 if (PyErr_Occurred()) return NULL;
5003 }{
5004 #if wxUSE_UNICODE
5005 _resultobj = PyUnicode_FromUnicode(_result->c_str(), _result->Len());
5006 #else
5007 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
5008 #endif
5009 }
5010 {
5011 delete _result;
5012 }
5013 return _resultobj;
5014 }
5015
5016 #define wxStyledTextCtrl_HideSelection(_swigobj,_swigarg0) (_swigobj->HideSelection(_swigarg0))
5017 static PyObject *_wrap_wxStyledTextCtrl_HideSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
5018 PyObject * _resultobj;
5019 wxStyledTextCtrl * _arg0;
5020 bool _arg1;
5021 PyObject * _argo0 = 0;
5022 int tempbool1;
5023 char *_kwnames[] = { "self","normal", NULL };
5024
5025 self = self;
5026 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_HideSelection",_kwnames,&_argo0,&tempbool1))
5027 return NULL;
5028 if (_argo0) {
5029 if (_argo0 == Py_None) { _arg0 = NULL; }
5030 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
5031 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_HideSelection. Expected _wxStyledTextCtrl_p.");
5032 return NULL;
5033 }
5034 }
5035 _arg1 = (bool ) tempbool1;
5036 {
5037 PyThreadState* __tstate = wxPyBeginAllowThreads();
5038 wxStyledTextCtrl_HideSelection(_arg0,_arg1);
5039
5040 wxPyEndAllowThreads(__tstate);
5041 if (PyErr_Occurred()) return NULL;
5042 } Py_INCREF(Py_None);
5043 _resultobj = Py_None;
5044 return _resultobj;
5045 }
5046
5047 #define wxStyledTextCtrl_LineFromPosition(_swigobj,_swigarg0) (_swigobj->LineFromPosition(_swigarg0))
5048 static PyObject *_wrap_wxStyledTextCtrl_LineFromPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
5049 PyObject * _resultobj;
5050 int _result;
5051 wxStyledTextCtrl * _arg0;
5052 int _arg1;
5053 PyObject * _argo0 = 0;
5054 char *_kwnames[] = { "self","pos", NULL };
5055
5056 self = self;
5057 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_LineFromPosition",_kwnames,&_argo0,&_arg1))
5058 return NULL;
5059 if (_argo0) {
5060 if (_argo0 == Py_None) { _arg0 = NULL; }
5061 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
5062 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_LineFromPosition. Expected _wxStyledTextCtrl_p.");
5063 return NULL;
5064 }
5065 }
5066 {
5067 PyThreadState* __tstate = wxPyBeginAllowThreads();
5068 _result = (int )wxStyledTextCtrl_LineFromPosition(_arg0,_arg1);
5069
5070 wxPyEndAllowThreads(__tstate);
5071 if (PyErr_Occurred()) return NULL;
5072 } _resultobj = Py_BuildValue("i",_result);
5073 return _resultobj;
5074 }
5075
5076 #define wxStyledTextCtrl_PositionFromLine(_swigobj,_swigarg0) (_swigobj->PositionFromLine(_swigarg0))
5077 static PyObject *_wrap_wxStyledTextCtrl_PositionFromLine(PyObject *self, PyObject *args, PyObject *kwargs) {
5078 PyObject * _resultobj;
5079 int _result;
5080 wxStyledTextCtrl * _arg0;
5081 int _arg1;
5082 PyObject * _argo0 = 0;
5083 char *_kwnames[] = { "self","line", NULL };
5084
5085 self = self;
5086 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_PositionFromLine",_kwnames,&_argo0,&_arg1))
5087 return NULL;
5088 if (_argo0) {
5089 if (_argo0 == Py_None) { _arg0 = NULL; }
5090 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
5091 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_PositionFromLine. Expected _wxStyledTextCtrl_p.");
5092 return NULL;
5093 }
5094 }
5095 {
5096 PyThreadState* __tstate = wxPyBeginAllowThreads();
5097 _result = (int )wxStyledTextCtrl_PositionFromLine(_arg0,_arg1);
5098
5099 wxPyEndAllowThreads(__tstate);
5100 if (PyErr_Occurred()) return NULL;
5101 } _resultobj = Py_BuildValue("i",_result);
5102 return _resultobj;
5103 }
5104
5105 #define wxStyledTextCtrl_LineScroll(_swigobj,_swigarg0,_swigarg1) (_swigobj->LineScroll(_swigarg0,_swigarg1))
5106 static PyObject *_wrap_wxStyledTextCtrl_LineScroll(PyObject *self, PyObject *args, PyObject *kwargs) {
5107 PyObject * _resultobj;
5108 wxStyledTextCtrl * _arg0;
5109 int _arg1;
5110 int _arg2;
5111 PyObject * _argo0 = 0;
5112 char *_kwnames[] = { "self","columns","lines", NULL };
5113
5114 self = self;
5115 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxStyledTextCtrl_LineScroll",_kwnames,&_argo0,&_arg1,&_arg2))
5116 return NULL;
5117 if (_argo0) {
5118 if (_argo0 == Py_None) { _arg0 = NULL; }
5119 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
5120 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_LineScroll. Expected _wxStyledTextCtrl_p.");
5121 return NULL;
5122 }
5123 }
5124 {
5125 PyThreadState* __tstate = wxPyBeginAllowThreads();
5126 wxStyledTextCtrl_LineScroll(_arg0,_arg1,_arg2);
5127
5128 wxPyEndAllowThreads(__tstate);
5129 if (PyErr_Occurred()) return NULL;
5130 } Py_INCREF(Py_None);
5131 _resultobj = Py_None;
5132 return _resultobj;
5133 }
5134
5135 #define wxStyledTextCtrl_EnsureCaretVisible(_swigobj) (_swigobj->EnsureCaretVisible())
5136 static PyObject *_wrap_wxStyledTextCtrl_EnsureCaretVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
5137 PyObject * _resultobj;
5138 wxStyledTextCtrl * _arg0;
5139 PyObject * _argo0 = 0;
5140 char *_kwnames[] = { "self", NULL };
5141
5142 self = self;
5143 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_EnsureCaretVisible",_kwnames,&_argo0))
5144 return NULL;
5145 if (_argo0) {
5146 if (_argo0 == Py_None) { _arg0 = NULL; }
5147 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
5148 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_EnsureCaretVisible. Expected _wxStyledTextCtrl_p.");
5149 return NULL;
5150 }
5151 }
5152 {
5153 PyThreadState* __tstate = wxPyBeginAllowThreads();
5154 wxStyledTextCtrl_EnsureCaretVisible(_arg0);
5155
5156 wxPyEndAllowThreads(__tstate);
5157 if (PyErr_Occurred()) return NULL;
5158 } Py_INCREF(Py_None);
5159 _resultobj = Py_None;
5160 return _resultobj;
5161 }
5162
5163 #define wxStyledTextCtrl_ReplaceSelection(_swigobj,_swigarg0) (_swigobj->ReplaceSelection(_swigarg0))
5164 static PyObject *_wrap_wxStyledTextCtrl_ReplaceSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
5165 PyObject * _resultobj;
5166 wxStyledTextCtrl * _arg0;
5167 wxString * _arg1;
5168 PyObject * _argo0 = 0;
5169 PyObject * _obj1 = 0;
5170 char *_kwnames[] = { "self","text", NULL };
5171
5172 self = self;
5173 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxStyledTextCtrl_ReplaceSelection",_kwnames,&_argo0,&_obj1))
5174 return NULL;
5175 if (_argo0) {
5176 if (_argo0 == Py_None) { _arg0 = NULL; }
5177 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
5178 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_ReplaceSelection. Expected _wxStyledTextCtrl_p.");
5179 return NULL;
5180 }
5181 }
5182 {
5183 _arg1 = wxString_in_helper(_obj1);
5184 if (_arg1 == NULL)
5185 return NULL;
5186 }
5187 {
5188 PyThreadState* __tstate = wxPyBeginAllowThreads();
5189 wxStyledTextCtrl_ReplaceSelection(_arg0,*_arg1);
5190
5191 wxPyEndAllowThreads(__tstate);
5192 if (PyErr_Occurred()) return NULL;
5193 } Py_INCREF(Py_None);
5194 _resultobj = Py_None;
5195 {
5196 if (_obj1)
5197 delete _arg1;
5198 }
5199 return _resultobj;
5200 }
5201
5202 #define wxStyledTextCtrl_SetReadOnly(_swigobj,_swigarg0) (_swigobj->SetReadOnly(_swigarg0))
5203 static PyObject *_wrap_wxStyledTextCtrl_SetReadOnly(PyObject *self, PyObject *args, PyObject *kwargs) {
5204 PyObject * _resultobj;
5205 wxStyledTextCtrl * _arg0;
5206 bool _arg1;
5207 PyObject * _argo0 = 0;
5208 int tempbool1;
5209 char *_kwnames[] = { "self","readOnly", NULL };
5210
5211 self = self;
5212 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_SetReadOnly",_kwnames,&_argo0,&tempbool1))
5213 return NULL;
5214 if (_argo0) {
5215 if (_argo0 == Py_None) { _arg0 = NULL; }
5216 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
5217 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetReadOnly. Expected _wxStyledTextCtrl_p.");
5218 return NULL;
5219 }
5220 }
5221 _arg1 = (bool ) tempbool1;
5222 {
5223 PyThreadState* __tstate = wxPyBeginAllowThreads();
5224 wxStyledTextCtrl_SetReadOnly(_arg0,_arg1);
5225
5226 wxPyEndAllowThreads(__tstate);
5227 if (PyErr_Occurred()) return NULL;
5228 } Py_INCREF(Py_None);
5229 _resultobj = Py_None;
5230 return _resultobj;
5231 }
5232
5233 #define wxStyledTextCtrl_CanPaste(_swigobj) (_swigobj->CanPaste())
5234 static PyObject *_wrap_wxStyledTextCtrl_CanPaste(PyObject *self, PyObject *args, PyObject *kwargs) {
5235 PyObject * _resultobj;
5236 bool _result;
5237 wxStyledTextCtrl * _arg0;
5238 PyObject * _argo0 = 0;
5239 char *_kwnames[] = { "self", NULL };
5240
5241 self = self;
5242 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_CanPaste",_kwnames,&_argo0))
5243 return NULL;
5244 if (_argo0) {
5245 if (_argo0 == Py_None) { _arg0 = NULL; }
5246 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
5247 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_CanPaste. Expected _wxStyledTextCtrl_p.");
5248 return NULL;
5249 }
5250 }
5251 {
5252 PyThreadState* __tstate = wxPyBeginAllowThreads();
5253 _result = (bool )wxStyledTextCtrl_CanPaste(_arg0);
5254
5255 wxPyEndAllowThreads(__tstate);
5256 if (PyErr_Occurred()) return NULL;
5257 } _resultobj = Py_BuildValue("i",_result);
5258 return _resultobj;
5259 }
5260
5261 #define wxStyledTextCtrl_CanUndo(_swigobj) (_swigobj->CanUndo())
5262 static PyObject *_wrap_wxStyledTextCtrl_CanUndo(PyObject *self, PyObject *args, PyObject *kwargs) {
5263 PyObject * _resultobj;
5264 bool _result;
5265 wxStyledTextCtrl * _arg0;
5266 PyObject * _argo0 = 0;
5267 char *_kwnames[] = { "self", NULL };
5268
5269 self = self;
5270 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_CanUndo",_kwnames,&_argo0))
5271 return NULL;
5272 if (_argo0) {
5273 if (_argo0 == Py_None) { _arg0 = NULL; }
5274 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
5275 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_CanUndo. Expected _wxStyledTextCtrl_p.");
5276 return NULL;
5277 }
5278 }
5279 {
5280 PyThreadState* __tstate = wxPyBeginAllowThreads();
5281 _result = (bool )wxStyledTextCtrl_CanUndo(_arg0);
5282
5283 wxPyEndAllowThreads(__tstate);
5284 if (PyErr_Occurred()) return NULL;
5285 } _resultobj = Py_BuildValue("i",_result);
5286 return _resultobj;
5287 }
5288
5289 #define wxStyledTextCtrl_EmptyUndoBuffer(_swigobj) (_swigobj->EmptyUndoBuffer())
5290 static PyObject *_wrap_wxStyledTextCtrl_EmptyUndoBuffer(PyObject *self, PyObject *args, PyObject *kwargs) {
5291 PyObject * _resultobj;
5292 wxStyledTextCtrl * _arg0;
5293 PyObject * _argo0 = 0;
5294 char *_kwnames[] = { "self", NULL };
5295
5296 self = self;
5297 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_EmptyUndoBuffer",_kwnames,&_argo0))
5298 return NULL;
5299 if (_argo0) {
5300 if (_argo0 == Py_None) { _arg0 = NULL; }
5301 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
5302 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_EmptyUndoBuffer. Expected _wxStyledTextCtrl_p.");
5303 return NULL;
5304 }
5305 }
5306 {
5307 PyThreadState* __tstate = wxPyBeginAllowThreads();
5308 wxStyledTextCtrl_EmptyUndoBuffer(_arg0);
5309
5310 wxPyEndAllowThreads(__tstate);
5311 if (PyErr_Occurred()) return NULL;
5312 } Py_INCREF(Py_None);
5313 _resultobj = Py_None;
5314 return _resultobj;
5315 }
5316
5317 #define wxStyledTextCtrl_Undo(_swigobj) (_swigobj->Undo())
5318 static PyObject *_wrap_wxStyledTextCtrl_Undo(PyObject *self, PyObject *args, PyObject *kwargs) {
5319 PyObject * _resultobj;
5320 wxStyledTextCtrl * _arg0;
5321 PyObject * _argo0 = 0;
5322 char *_kwnames[] = { "self", NULL };
5323
5324 self = self;
5325 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_Undo",_kwnames,&_argo0))
5326 return NULL;
5327 if (_argo0) {
5328 if (_argo0 == Py_None) { _arg0 = NULL; }
5329 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
5330 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_Undo. Expected _wxStyledTextCtrl_p.");
5331 return NULL;
5332 }
5333 }
5334 {
5335 PyThreadState* __tstate = wxPyBeginAllowThreads();
5336 wxStyledTextCtrl_Undo(_arg0);
5337
5338 wxPyEndAllowThreads(__tstate);
5339 if (PyErr_Occurred()) return NULL;
5340 } Py_INCREF(Py_None);
5341 _resultobj = Py_None;
5342 return _resultobj;
5343 }
5344
5345 #define wxStyledTextCtrl_Cut(_swigobj) (_swigobj->Cut())
5346 static PyObject *_wrap_wxStyledTextCtrl_Cut(PyObject *self, PyObject *args, PyObject *kwargs) {
5347 PyObject * _resultobj;
5348 wxStyledTextCtrl * _arg0;
5349 PyObject * _argo0 = 0;
5350 char *_kwnames[] = { "self", NULL };
5351
5352 self = self;
5353 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_Cut",_kwnames,&_argo0))
5354 return NULL;
5355 if (_argo0) {
5356 if (_argo0 == Py_None) { _arg0 = NULL; }
5357 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
5358 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_Cut. Expected _wxStyledTextCtrl_p.");
5359 return NULL;
5360 }
5361 }
5362 {
5363 PyThreadState* __tstate = wxPyBeginAllowThreads();
5364 wxStyledTextCtrl_Cut(_arg0);
5365
5366 wxPyEndAllowThreads(__tstate);
5367 if (PyErr_Occurred()) return NULL;
5368 } Py_INCREF(Py_None);
5369 _resultobj = Py_None;
5370 return _resultobj;
5371 }
5372
5373 #define wxStyledTextCtrl_Copy(_swigobj) (_swigobj->Copy())
5374 static PyObject *_wrap_wxStyledTextCtrl_Copy(PyObject *self, PyObject *args, PyObject *kwargs) {
5375 PyObject * _resultobj;
5376 wxStyledTextCtrl * _arg0;
5377 PyObject * _argo0 = 0;
5378 char *_kwnames[] = { "self", NULL };
5379
5380 self = self;
5381 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_Copy",_kwnames,&_argo0))
5382 return NULL;
5383 if (_argo0) {
5384 if (_argo0 == Py_None) { _arg0 = NULL; }
5385 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
5386 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_Copy. Expected _wxStyledTextCtrl_p.");
5387 return NULL;
5388 }
5389 }
5390 {
5391 PyThreadState* __tstate = wxPyBeginAllowThreads();
5392 wxStyledTextCtrl_Copy(_arg0);
5393
5394 wxPyEndAllowThreads(__tstate);
5395 if (PyErr_Occurred()) return NULL;
5396 } Py_INCREF(Py_None);
5397 _resultobj = Py_None;
5398 return _resultobj;
5399 }
5400
5401 #define wxStyledTextCtrl_Paste(_swigobj) (_swigobj->Paste())
5402 static PyObject *_wrap_wxStyledTextCtrl_Paste(PyObject *self, PyObject *args, PyObject *kwargs) {
5403 PyObject * _resultobj;
5404 wxStyledTextCtrl * _arg0;
5405 PyObject * _argo0 = 0;
5406 char *_kwnames[] = { "self", NULL };
5407
5408 self = self;
5409 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_Paste",_kwnames,&_argo0))
5410 return NULL;
5411 if (_argo0) {
5412 if (_argo0 == Py_None) { _arg0 = NULL; }
5413 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
5414 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_Paste. Expected _wxStyledTextCtrl_p.");
5415 return NULL;
5416 }
5417 }
5418 {
5419 PyThreadState* __tstate = wxPyBeginAllowThreads();
5420 wxStyledTextCtrl_Paste(_arg0);
5421
5422 wxPyEndAllowThreads(__tstate);
5423 if (PyErr_Occurred()) return NULL;
5424 } Py_INCREF(Py_None);
5425 _resultobj = Py_None;
5426 return _resultobj;
5427 }
5428
5429 #define wxStyledTextCtrl_Clear(_swigobj) (_swigobj->Clear())
5430 static PyObject *_wrap_wxStyledTextCtrl_Clear(PyObject *self, PyObject *args, PyObject *kwargs) {
5431 PyObject * _resultobj;
5432 wxStyledTextCtrl * _arg0;
5433 PyObject * _argo0 = 0;
5434 char *_kwnames[] = { "self", NULL };
5435
5436 self = self;
5437 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_Clear",_kwnames,&_argo0))
5438 return NULL;
5439 if (_argo0) {
5440 if (_argo0 == Py_None) { _arg0 = NULL; }
5441 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
5442 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_Clear. Expected _wxStyledTextCtrl_p.");
5443 return NULL;
5444 }
5445 }
5446 {
5447 PyThreadState* __tstate = wxPyBeginAllowThreads();
5448 wxStyledTextCtrl_Clear(_arg0);
5449
5450 wxPyEndAllowThreads(__tstate);
5451 if (PyErr_Occurred()) return NULL;
5452 } Py_INCREF(Py_None);
5453 _resultobj = Py_None;
5454 return _resultobj;
5455 }
5456
5457 #define wxStyledTextCtrl_SetText(_swigobj,_swigarg0) (_swigobj->SetText(_swigarg0))
5458 static PyObject *_wrap_wxStyledTextCtrl_SetText(PyObject *self, PyObject *args, PyObject *kwargs) {
5459 PyObject * _resultobj;
5460 wxStyledTextCtrl * _arg0;
5461 wxString * _arg1;
5462 PyObject * _argo0 = 0;
5463 PyObject * _obj1 = 0;
5464 char *_kwnames[] = { "self","text", NULL };
5465
5466 self = self;
5467 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxStyledTextCtrl_SetText",_kwnames,&_argo0,&_obj1))
5468 return NULL;
5469 if (_argo0) {
5470 if (_argo0 == Py_None) { _arg0 = NULL; }
5471 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
5472 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetText. Expected _wxStyledTextCtrl_p.");
5473 return NULL;
5474 }
5475 }
5476 {
5477 _arg1 = wxString_in_helper(_obj1);
5478 if (_arg1 == NULL)
5479 return NULL;
5480 }
5481 {
5482 PyThreadState* __tstate = wxPyBeginAllowThreads();
5483 wxStyledTextCtrl_SetText(_arg0,*_arg1);
5484
5485 wxPyEndAllowThreads(__tstate);
5486 if (PyErr_Occurred()) return NULL;
5487 } Py_INCREF(Py_None);
5488 _resultobj = Py_None;
5489 {
5490 if (_obj1)
5491 delete _arg1;
5492 }
5493 return _resultobj;
5494 }
5495
5496 #define wxStyledTextCtrl_GetText(_swigobj) (_swigobj->GetText())
5497 static PyObject *_wrap_wxStyledTextCtrl_GetText(PyObject *self, PyObject *args, PyObject *kwargs) {
5498 PyObject * _resultobj;
5499 wxString * _result;
5500 wxStyledTextCtrl * _arg0;
5501 PyObject * _argo0 = 0;
5502 char *_kwnames[] = { "self", NULL };
5503
5504 self = self;
5505 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetText",_kwnames,&_argo0))
5506 return NULL;
5507 if (_argo0) {
5508 if (_argo0 == Py_None) { _arg0 = NULL; }
5509 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
5510 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetText. Expected _wxStyledTextCtrl_p.");
5511 return NULL;
5512 }
5513 }
5514 {
5515 PyThreadState* __tstate = wxPyBeginAllowThreads();
5516 _result = new wxString (wxStyledTextCtrl_GetText(_arg0));
5517
5518 wxPyEndAllowThreads(__tstate);
5519 if (PyErr_Occurred()) return NULL;
5520 }{
5521 #if wxUSE_UNICODE
5522 _resultobj = PyUnicode_FromUnicode(_result->c_str(), _result->Len());
5523 #else
5524 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
5525 #endif
5526 }
5527 {
5528 delete _result;
5529 }
5530 return _resultobj;
5531 }
5532
5533 #define wxStyledTextCtrl_GetTextLength(_swigobj) (_swigobj->GetTextLength())
5534 static PyObject *_wrap_wxStyledTextCtrl_GetTextLength(PyObject *self, PyObject *args, PyObject *kwargs) {
5535 PyObject * _resultobj;
5536 int _result;
5537 wxStyledTextCtrl * _arg0;
5538 PyObject * _argo0 = 0;
5539 char *_kwnames[] = { "self", NULL };
5540
5541 self = self;
5542 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetTextLength",_kwnames,&_argo0))
5543 return NULL;
5544 if (_argo0) {
5545 if (_argo0 == Py_None) { _arg0 = NULL; }
5546 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
5547 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetTextLength. Expected _wxStyledTextCtrl_p.");
5548 return NULL;
5549 }
5550 }
5551 {
5552 PyThreadState* __tstate = wxPyBeginAllowThreads();
5553 _result = (int )wxStyledTextCtrl_GetTextLength(_arg0);
5554
5555 wxPyEndAllowThreads(__tstate);
5556 if (PyErr_Occurred()) return NULL;
5557 } _resultobj = Py_BuildValue("i",_result);
5558 return _resultobj;
5559 }
5560
5561 #define wxStyledTextCtrl_SetOvertype(_swigobj,_swigarg0) (_swigobj->SetOvertype(_swigarg0))
5562 static PyObject *_wrap_wxStyledTextCtrl_SetOvertype(PyObject *self, PyObject *args, PyObject *kwargs) {
5563 PyObject * _resultobj;
5564 wxStyledTextCtrl * _arg0;
5565 bool _arg1;
5566 PyObject * _argo0 = 0;
5567 int tempbool1;
5568 char *_kwnames[] = { "self","overtype", NULL };
5569
5570 self = self;
5571 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_SetOvertype",_kwnames,&_argo0,&tempbool1))
5572 return NULL;
5573 if (_argo0) {
5574 if (_argo0 == Py_None) { _arg0 = NULL; }
5575 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
5576 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetOvertype. Expected _wxStyledTextCtrl_p.");
5577 return NULL;
5578 }
5579 }
5580 _arg1 = (bool ) tempbool1;
5581 {
5582 PyThreadState* __tstate = wxPyBeginAllowThreads();
5583 wxStyledTextCtrl_SetOvertype(_arg0,_arg1);
5584
5585 wxPyEndAllowThreads(__tstate);
5586 if (PyErr_Occurred()) return NULL;
5587 } Py_INCREF(Py_None);
5588 _resultobj = Py_None;
5589 return _resultobj;
5590 }
5591
5592 #define wxStyledTextCtrl_GetOvertype(_swigobj) (_swigobj->GetOvertype())
5593 static PyObject *_wrap_wxStyledTextCtrl_GetOvertype(PyObject *self, PyObject *args, PyObject *kwargs) {
5594 PyObject * _resultobj;
5595 bool _result;
5596 wxStyledTextCtrl * _arg0;
5597 PyObject * _argo0 = 0;
5598 char *_kwnames[] = { "self", NULL };
5599
5600 self = self;
5601 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetOvertype",_kwnames,&_argo0))
5602 return NULL;
5603 if (_argo0) {
5604 if (_argo0 == Py_None) { _arg0 = NULL; }
5605 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
5606 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetOvertype. Expected _wxStyledTextCtrl_p.");
5607 return NULL;
5608 }
5609 }
5610 {
5611 PyThreadState* __tstate = wxPyBeginAllowThreads();
5612 _result = (bool )wxStyledTextCtrl_GetOvertype(_arg0);
5613
5614 wxPyEndAllowThreads(__tstate);
5615 if (PyErr_Occurred()) return NULL;
5616 } _resultobj = Py_BuildValue("i",_result);
5617 return _resultobj;
5618 }
5619
5620 #define wxStyledTextCtrl_SetCaretWidth(_swigobj,_swigarg0) (_swigobj->SetCaretWidth(_swigarg0))
5621 static PyObject *_wrap_wxStyledTextCtrl_SetCaretWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
5622 PyObject * _resultobj;
5623 wxStyledTextCtrl * _arg0;
5624 int _arg1;
5625 PyObject * _argo0 = 0;
5626 char *_kwnames[] = { "self","pixelWidth", NULL };
5627
5628 self = self;
5629 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_SetCaretWidth",_kwnames,&_argo0,&_arg1))
5630 return NULL;
5631 if (_argo0) {
5632 if (_argo0 == Py_None) { _arg0 = NULL; }
5633 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
5634 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetCaretWidth. Expected _wxStyledTextCtrl_p.");
5635 return NULL;
5636 }
5637 }
5638 {
5639 PyThreadState* __tstate = wxPyBeginAllowThreads();
5640 wxStyledTextCtrl_SetCaretWidth(_arg0,_arg1);
5641
5642 wxPyEndAllowThreads(__tstate);
5643 if (PyErr_Occurred()) return NULL;
5644 } Py_INCREF(Py_None);
5645 _resultobj = Py_None;
5646 return _resultobj;
5647 }
5648
5649 #define wxStyledTextCtrl_GetCaretWidth(_swigobj) (_swigobj->GetCaretWidth())
5650 static PyObject *_wrap_wxStyledTextCtrl_GetCaretWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
5651 PyObject * _resultobj;
5652 int _result;
5653 wxStyledTextCtrl * _arg0;
5654 PyObject * _argo0 = 0;
5655 char *_kwnames[] = { "self", NULL };
5656
5657 self = self;
5658 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetCaretWidth",_kwnames,&_argo0))
5659 return NULL;
5660 if (_argo0) {
5661 if (_argo0 == Py_None) { _arg0 = NULL; }
5662 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
5663 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetCaretWidth. Expected _wxStyledTextCtrl_p.");
5664 return NULL;
5665 }
5666 }
5667 {
5668 PyThreadState* __tstate = wxPyBeginAllowThreads();
5669 _result = (int )wxStyledTextCtrl_GetCaretWidth(_arg0);
5670
5671 wxPyEndAllowThreads(__tstate);
5672 if (PyErr_Occurred()) return NULL;
5673 } _resultobj = Py_BuildValue("i",_result);
5674 return _resultobj;
5675 }
5676
5677 #define wxStyledTextCtrl_SetTargetStart(_swigobj,_swigarg0) (_swigobj->SetTargetStart(_swigarg0))
5678 static PyObject *_wrap_wxStyledTextCtrl_SetTargetStart(PyObject *self, PyObject *args, PyObject *kwargs) {
5679 PyObject * _resultobj;
5680 wxStyledTextCtrl * _arg0;
5681 int _arg1;
5682 PyObject * _argo0 = 0;
5683 char *_kwnames[] = { "self","pos", NULL };
5684
5685 self = self;
5686 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_SetTargetStart",_kwnames,&_argo0,&_arg1))
5687 return NULL;
5688 if (_argo0) {
5689 if (_argo0 == Py_None) { _arg0 = NULL; }
5690 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
5691 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetTargetStart. Expected _wxStyledTextCtrl_p.");
5692 return NULL;
5693 }
5694 }
5695 {
5696 PyThreadState* __tstate = wxPyBeginAllowThreads();
5697 wxStyledTextCtrl_SetTargetStart(_arg0,_arg1);
5698
5699 wxPyEndAllowThreads(__tstate);
5700 if (PyErr_Occurred()) return NULL;
5701 } Py_INCREF(Py_None);
5702 _resultobj = Py_None;
5703 return _resultobj;
5704 }
5705
5706 #define wxStyledTextCtrl_GetTargetStart(_swigobj) (_swigobj->GetTargetStart())
5707 static PyObject *_wrap_wxStyledTextCtrl_GetTargetStart(PyObject *self, PyObject *args, PyObject *kwargs) {
5708 PyObject * _resultobj;
5709 int _result;
5710 wxStyledTextCtrl * _arg0;
5711 PyObject * _argo0 = 0;
5712 char *_kwnames[] = { "self", NULL };
5713
5714 self = self;
5715 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetTargetStart",_kwnames,&_argo0))
5716 return NULL;
5717 if (_argo0) {
5718 if (_argo0 == Py_None) { _arg0 = NULL; }
5719 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
5720 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetTargetStart. Expected _wxStyledTextCtrl_p.");
5721 return NULL;
5722 }
5723 }
5724 {
5725 PyThreadState* __tstate = wxPyBeginAllowThreads();
5726 _result = (int )wxStyledTextCtrl_GetTargetStart(_arg0);
5727
5728 wxPyEndAllowThreads(__tstate);
5729 if (PyErr_Occurred()) return NULL;
5730 } _resultobj = Py_BuildValue("i",_result);
5731 return _resultobj;
5732 }
5733
5734 #define wxStyledTextCtrl_SetTargetEnd(_swigobj,_swigarg0) (_swigobj->SetTargetEnd(_swigarg0))
5735 static PyObject *_wrap_wxStyledTextCtrl_SetTargetEnd(PyObject *self, PyObject *args, PyObject *kwargs) {
5736 PyObject * _resultobj;
5737 wxStyledTextCtrl * _arg0;
5738 int _arg1;
5739 PyObject * _argo0 = 0;
5740 char *_kwnames[] = { "self","pos", NULL };
5741
5742 self = self;
5743 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_SetTargetEnd",_kwnames,&_argo0,&_arg1))
5744 return NULL;
5745 if (_argo0) {
5746 if (_argo0 == Py_None) { _arg0 = NULL; }
5747 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
5748 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetTargetEnd. Expected _wxStyledTextCtrl_p.");
5749 return NULL;
5750 }
5751 }
5752 {
5753 PyThreadState* __tstate = wxPyBeginAllowThreads();
5754 wxStyledTextCtrl_SetTargetEnd(_arg0,_arg1);
5755
5756 wxPyEndAllowThreads(__tstate);
5757 if (PyErr_Occurred()) return NULL;
5758 } Py_INCREF(Py_None);
5759 _resultobj = Py_None;
5760 return _resultobj;
5761 }
5762
5763 #define wxStyledTextCtrl_GetTargetEnd(_swigobj) (_swigobj->GetTargetEnd())
5764 static PyObject *_wrap_wxStyledTextCtrl_GetTargetEnd(PyObject *self, PyObject *args, PyObject *kwargs) {
5765 PyObject * _resultobj;
5766 int _result;
5767 wxStyledTextCtrl * _arg0;
5768 PyObject * _argo0 = 0;
5769 char *_kwnames[] = { "self", NULL };
5770
5771 self = self;
5772 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetTargetEnd",_kwnames,&_argo0))
5773 return NULL;
5774 if (_argo0) {
5775 if (_argo0 == Py_None) { _arg0 = NULL; }
5776 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
5777 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetTargetEnd. Expected _wxStyledTextCtrl_p.");
5778 return NULL;
5779 }
5780 }
5781 {
5782 PyThreadState* __tstate = wxPyBeginAllowThreads();
5783 _result = (int )wxStyledTextCtrl_GetTargetEnd(_arg0);
5784
5785 wxPyEndAllowThreads(__tstate);
5786 if (PyErr_Occurred()) return NULL;
5787 } _resultobj = Py_BuildValue("i",_result);
5788 return _resultobj;
5789 }
5790
5791 #define wxStyledTextCtrl_ReplaceTarget(_swigobj,_swigarg0) (_swigobj->ReplaceTarget(_swigarg0))
5792 static PyObject *_wrap_wxStyledTextCtrl_ReplaceTarget(PyObject *self, PyObject *args, PyObject *kwargs) {
5793 PyObject * _resultobj;
5794 int _result;
5795 wxStyledTextCtrl * _arg0;
5796 wxString * _arg1;
5797 PyObject * _argo0 = 0;
5798 PyObject * _obj1 = 0;
5799 char *_kwnames[] = { "self","text", NULL };
5800
5801 self = self;
5802 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxStyledTextCtrl_ReplaceTarget",_kwnames,&_argo0,&_obj1))
5803 return NULL;
5804 if (_argo0) {
5805 if (_argo0 == Py_None) { _arg0 = NULL; }
5806 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
5807 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_ReplaceTarget. Expected _wxStyledTextCtrl_p.");
5808 return NULL;
5809 }
5810 }
5811 {
5812 _arg1 = wxString_in_helper(_obj1);
5813 if (_arg1 == NULL)
5814 return NULL;
5815 }
5816 {
5817 PyThreadState* __tstate = wxPyBeginAllowThreads();
5818 _result = (int )wxStyledTextCtrl_ReplaceTarget(_arg0,*_arg1);
5819
5820 wxPyEndAllowThreads(__tstate);
5821 if (PyErr_Occurred()) return NULL;
5822 } _resultobj = Py_BuildValue("i",_result);
5823 {
5824 if (_obj1)
5825 delete _arg1;
5826 }
5827 return _resultobj;
5828 }
5829
5830 #define wxStyledTextCtrl_ReplaceTargetRE(_swigobj,_swigarg0) (_swigobj->ReplaceTargetRE(_swigarg0))
5831 static PyObject *_wrap_wxStyledTextCtrl_ReplaceTargetRE(PyObject *self, PyObject *args, PyObject *kwargs) {
5832 PyObject * _resultobj;
5833 int _result;
5834 wxStyledTextCtrl * _arg0;
5835 wxString * _arg1;
5836 PyObject * _argo0 = 0;
5837 PyObject * _obj1 = 0;
5838 char *_kwnames[] = { "self","text", NULL };
5839
5840 self = self;
5841 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxStyledTextCtrl_ReplaceTargetRE",_kwnames,&_argo0,&_obj1))
5842 return NULL;
5843 if (_argo0) {
5844 if (_argo0 == Py_None) { _arg0 = NULL; }
5845 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
5846 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_ReplaceTargetRE. Expected _wxStyledTextCtrl_p.");
5847 return NULL;
5848 }
5849 }
5850 {
5851 _arg1 = wxString_in_helper(_obj1);
5852 if (_arg1 == NULL)
5853 return NULL;
5854 }
5855 {
5856 PyThreadState* __tstate = wxPyBeginAllowThreads();
5857 _result = (int )wxStyledTextCtrl_ReplaceTargetRE(_arg0,*_arg1);
5858
5859 wxPyEndAllowThreads(__tstate);
5860 if (PyErr_Occurred()) return NULL;
5861 } _resultobj = Py_BuildValue("i",_result);
5862 {
5863 if (_obj1)
5864 delete _arg1;
5865 }
5866 return _resultobj;
5867 }
5868
5869 #define wxStyledTextCtrl_SearchInTarget(_swigobj,_swigarg0) (_swigobj->SearchInTarget(_swigarg0))
5870 static PyObject *_wrap_wxStyledTextCtrl_SearchInTarget(PyObject *self, PyObject *args, PyObject *kwargs) {
5871 PyObject * _resultobj;
5872 int _result;
5873 wxStyledTextCtrl * _arg0;
5874 wxString * _arg1;
5875 PyObject * _argo0 = 0;
5876 PyObject * _obj1 = 0;
5877 char *_kwnames[] = { "self","text", NULL };
5878
5879 self = self;
5880 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxStyledTextCtrl_SearchInTarget",_kwnames,&_argo0,&_obj1))
5881 return NULL;
5882 if (_argo0) {
5883 if (_argo0 == Py_None) { _arg0 = NULL; }
5884 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
5885 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SearchInTarget. Expected _wxStyledTextCtrl_p.");
5886 return NULL;
5887 }
5888 }
5889 {
5890 _arg1 = wxString_in_helper(_obj1);
5891 if (_arg1 == NULL)
5892 return NULL;
5893 }
5894 {
5895 PyThreadState* __tstate = wxPyBeginAllowThreads();
5896 _result = (int )wxStyledTextCtrl_SearchInTarget(_arg0,*_arg1);
5897
5898 wxPyEndAllowThreads(__tstate);
5899 if (PyErr_Occurred()) return NULL;
5900 } _resultobj = Py_BuildValue("i",_result);
5901 {
5902 if (_obj1)
5903 delete _arg1;
5904 }
5905 return _resultobj;
5906 }
5907
5908 #define wxStyledTextCtrl_SetSearchFlags(_swigobj,_swigarg0) (_swigobj->SetSearchFlags(_swigarg0))
5909 static PyObject *_wrap_wxStyledTextCtrl_SetSearchFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
5910 PyObject * _resultobj;
5911 wxStyledTextCtrl * _arg0;
5912 int _arg1;
5913 PyObject * _argo0 = 0;
5914 char *_kwnames[] = { "self","flags", NULL };
5915
5916 self = self;
5917 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_SetSearchFlags",_kwnames,&_argo0,&_arg1))
5918 return NULL;
5919 if (_argo0) {
5920 if (_argo0 == Py_None) { _arg0 = NULL; }
5921 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
5922 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetSearchFlags. Expected _wxStyledTextCtrl_p.");
5923 return NULL;
5924 }
5925 }
5926 {
5927 PyThreadState* __tstate = wxPyBeginAllowThreads();
5928 wxStyledTextCtrl_SetSearchFlags(_arg0,_arg1);
5929
5930 wxPyEndAllowThreads(__tstate);
5931 if (PyErr_Occurred()) return NULL;
5932 } Py_INCREF(Py_None);
5933 _resultobj = Py_None;
5934 return _resultobj;
5935 }
5936
5937 #define wxStyledTextCtrl_GetSearchFlags(_swigobj) (_swigobj->GetSearchFlags())
5938 static PyObject *_wrap_wxStyledTextCtrl_GetSearchFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
5939 PyObject * _resultobj;
5940 int _result;
5941 wxStyledTextCtrl * _arg0;
5942 PyObject * _argo0 = 0;
5943 char *_kwnames[] = { "self", NULL };
5944
5945 self = self;
5946 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetSearchFlags",_kwnames,&_argo0))
5947 return NULL;
5948 if (_argo0) {
5949 if (_argo0 == Py_None) { _arg0 = NULL; }
5950 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
5951 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetSearchFlags. Expected _wxStyledTextCtrl_p.");
5952 return NULL;
5953 }
5954 }
5955 {
5956 PyThreadState* __tstate = wxPyBeginAllowThreads();
5957 _result = (int )wxStyledTextCtrl_GetSearchFlags(_arg0);
5958
5959 wxPyEndAllowThreads(__tstate);
5960 if (PyErr_Occurred()) return NULL;
5961 } _resultobj = Py_BuildValue("i",_result);
5962 return _resultobj;
5963 }
5964
5965 #define wxStyledTextCtrl_CallTipShow(_swigobj,_swigarg0,_swigarg1) (_swigobj->CallTipShow(_swigarg0,_swigarg1))
5966 static PyObject *_wrap_wxStyledTextCtrl_CallTipShow(PyObject *self, PyObject *args, PyObject *kwargs) {
5967 PyObject * _resultobj;
5968 wxStyledTextCtrl * _arg0;
5969 int _arg1;
5970 wxString * _arg2;
5971 PyObject * _argo0 = 0;
5972 PyObject * _obj2 = 0;
5973 char *_kwnames[] = { "self","pos","definition", NULL };
5974
5975 self = self;
5976 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxStyledTextCtrl_CallTipShow",_kwnames,&_argo0,&_arg1,&_obj2))
5977 return NULL;
5978 if (_argo0) {
5979 if (_argo0 == Py_None) { _arg0 = NULL; }
5980 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
5981 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_CallTipShow. Expected _wxStyledTextCtrl_p.");
5982 return NULL;
5983 }
5984 }
5985 {
5986 _arg2 = wxString_in_helper(_obj2);
5987 if (_arg2 == NULL)
5988 return NULL;
5989 }
5990 {
5991 PyThreadState* __tstate = wxPyBeginAllowThreads();
5992 wxStyledTextCtrl_CallTipShow(_arg0,_arg1,*_arg2);
5993
5994 wxPyEndAllowThreads(__tstate);
5995 if (PyErr_Occurred()) return NULL;
5996 } Py_INCREF(Py_None);
5997 _resultobj = Py_None;
5998 {
5999 if (_obj2)
6000 delete _arg2;
6001 }
6002 return _resultobj;
6003 }
6004
6005 #define wxStyledTextCtrl_CallTipCancel(_swigobj) (_swigobj->CallTipCancel())
6006 static PyObject *_wrap_wxStyledTextCtrl_CallTipCancel(PyObject *self, PyObject *args, PyObject *kwargs) {
6007 PyObject * _resultobj;
6008 wxStyledTextCtrl * _arg0;
6009 PyObject * _argo0 = 0;
6010 char *_kwnames[] = { "self", NULL };
6011
6012 self = self;
6013 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_CallTipCancel",_kwnames,&_argo0))
6014 return NULL;
6015 if (_argo0) {
6016 if (_argo0 == Py_None) { _arg0 = NULL; }
6017 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
6018 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_CallTipCancel. Expected _wxStyledTextCtrl_p.");
6019 return NULL;
6020 }
6021 }
6022 {
6023 PyThreadState* __tstate = wxPyBeginAllowThreads();
6024 wxStyledTextCtrl_CallTipCancel(_arg0);
6025
6026 wxPyEndAllowThreads(__tstate);
6027 if (PyErr_Occurred()) return NULL;
6028 } Py_INCREF(Py_None);
6029 _resultobj = Py_None;
6030 return _resultobj;
6031 }
6032
6033 #define wxStyledTextCtrl_CallTipActive(_swigobj) (_swigobj->CallTipActive())
6034 static PyObject *_wrap_wxStyledTextCtrl_CallTipActive(PyObject *self, PyObject *args, PyObject *kwargs) {
6035 PyObject * _resultobj;
6036 bool _result;
6037 wxStyledTextCtrl * _arg0;
6038 PyObject * _argo0 = 0;
6039 char *_kwnames[] = { "self", NULL };
6040
6041 self = self;
6042 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_CallTipActive",_kwnames,&_argo0))
6043 return NULL;
6044 if (_argo0) {
6045 if (_argo0 == Py_None) { _arg0 = NULL; }
6046 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
6047 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_CallTipActive. Expected _wxStyledTextCtrl_p.");
6048 return NULL;
6049 }
6050 }
6051 {
6052 PyThreadState* __tstate = wxPyBeginAllowThreads();
6053 _result = (bool )wxStyledTextCtrl_CallTipActive(_arg0);
6054
6055 wxPyEndAllowThreads(__tstate);
6056 if (PyErr_Occurred()) return NULL;
6057 } _resultobj = Py_BuildValue("i",_result);
6058 return _resultobj;
6059 }
6060
6061 #define wxStyledTextCtrl_CallTipPosAtStart(_swigobj) (_swigobj->CallTipPosAtStart())
6062 static PyObject *_wrap_wxStyledTextCtrl_CallTipPosAtStart(PyObject *self, PyObject *args, PyObject *kwargs) {
6063 PyObject * _resultobj;
6064 int _result;
6065 wxStyledTextCtrl * _arg0;
6066 PyObject * _argo0 = 0;
6067 char *_kwnames[] = { "self", NULL };
6068
6069 self = self;
6070 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_CallTipPosAtStart",_kwnames,&_argo0))
6071 return NULL;
6072 if (_argo0) {
6073 if (_argo0 == Py_None) { _arg0 = NULL; }
6074 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
6075 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_CallTipPosAtStart. Expected _wxStyledTextCtrl_p.");
6076 return NULL;
6077 }
6078 }
6079 {
6080 PyThreadState* __tstate = wxPyBeginAllowThreads();
6081 _result = (int )wxStyledTextCtrl_CallTipPosAtStart(_arg0);
6082
6083 wxPyEndAllowThreads(__tstate);
6084 if (PyErr_Occurred()) return NULL;
6085 } _resultobj = Py_BuildValue("i",_result);
6086 return _resultobj;
6087 }
6088
6089 #define wxStyledTextCtrl_CallTipSetHighlight(_swigobj,_swigarg0,_swigarg1) (_swigobj->CallTipSetHighlight(_swigarg0,_swigarg1))
6090 static PyObject *_wrap_wxStyledTextCtrl_CallTipSetHighlight(PyObject *self, PyObject *args, PyObject *kwargs) {
6091 PyObject * _resultobj;
6092 wxStyledTextCtrl * _arg0;
6093 int _arg1;
6094 int _arg2;
6095 PyObject * _argo0 = 0;
6096 char *_kwnames[] = { "self","start","end", NULL };
6097
6098 self = self;
6099 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxStyledTextCtrl_CallTipSetHighlight",_kwnames,&_argo0,&_arg1,&_arg2))
6100 return NULL;
6101 if (_argo0) {
6102 if (_argo0 == Py_None) { _arg0 = NULL; }
6103 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
6104 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_CallTipSetHighlight. Expected _wxStyledTextCtrl_p.");
6105 return NULL;
6106 }
6107 }
6108 {
6109 PyThreadState* __tstate = wxPyBeginAllowThreads();
6110 wxStyledTextCtrl_CallTipSetHighlight(_arg0,_arg1,_arg2);
6111
6112 wxPyEndAllowThreads(__tstate);
6113 if (PyErr_Occurred()) return NULL;
6114 } Py_INCREF(Py_None);
6115 _resultobj = Py_None;
6116 return _resultobj;
6117 }
6118
6119 #define wxStyledTextCtrl_CallTipSetBackground(_swigobj,_swigarg0) (_swigobj->CallTipSetBackground(_swigarg0))
6120 static PyObject *_wrap_wxStyledTextCtrl_CallTipSetBackground(PyObject *self, PyObject *args, PyObject *kwargs) {
6121 PyObject * _resultobj;
6122 wxStyledTextCtrl * _arg0;
6123 wxColour * _arg1;
6124 PyObject * _argo0 = 0;
6125 wxColour temp;
6126 PyObject * _obj1 = 0;
6127 char *_kwnames[] = { "self","back", NULL };
6128
6129 self = self;
6130 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxStyledTextCtrl_CallTipSetBackground",_kwnames,&_argo0,&_obj1))
6131 return NULL;
6132 if (_argo0) {
6133 if (_argo0 == Py_None) { _arg0 = NULL; }
6134 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
6135 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_CallTipSetBackground. Expected _wxStyledTextCtrl_p.");
6136 return NULL;
6137 }
6138 }
6139 {
6140 _arg1 = &temp;
6141 if (! wxColour_helper(_obj1, &_arg1))
6142 return NULL;
6143 }
6144 {
6145 PyThreadState* __tstate = wxPyBeginAllowThreads();
6146 wxStyledTextCtrl_CallTipSetBackground(_arg0,*_arg1);
6147
6148 wxPyEndAllowThreads(__tstate);
6149 if (PyErr_Occurred()) return NULL;
6150 } Py_INCREF(Py_None);
6151 _resultobj = Py_None;
6152 return _resultobj;
6153 }
6154
6155 #define wxStyledTextCtrl_VisibleFromDocLine(_swigobj,_swigarg0) (_swigobj->VisibleFromDocLine(_swigarg0))
6156 static PyObject *_wrap_wxStyledTextCtrl_VisibleFromDocLine(PyObject *self, PyObject *args, PyObject *kwargs) {
6157 PyObject * _resultobj;
6158 int _result;
6159 wxStyledTextCtrl * _arg0;
6160 int _arg1;
6161 PyObject * _argo0 = 0;
6162 char *_kwnames[] = { "self","line", NULL };
6163
6164 self = self;
6165 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_VisibleFromDocLine",_kwnames,&_argo0,&_arg1))
6166 return NULL;
6167 if (_argo0) {
6168 if (_argo0 == Py_None) { _arg0 = NULL; }
6169 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
6170 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_VisibleFromDocLine. Expected _wxStyledTextCtrl_p.");
6171 return NULL;
6172 }
6173 }
6174 {
6175 PyThreadState* __tstate = wxPyBeginAllowThreads();
6176 _result = (int )wxStyledTextCtrl_VisibleFromDocLine(_arg0,_arg1);
6177
6178 wxPyEndAllowThreads(__tstate);
6179 if (PyErr_Occurred()) return NULL;
6180 } _resultobj = Py_BuildValue("i",_result);
6181 return _resultobj;
6182 }
6183
6184 #define wxStyledTextCtrl_DocLineFromVisible(_swigobj,_swigarg0) (_swigobj->DocLineFromVisible(_swigarg0))
6185 static PyObject *_wrap_wxStyledTextCtrl_DocLineFromVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
6186 PyObject * _resultobj;
6187 int _result;
6188 wxStyledTextCtrl * _arg0;
6189 int _arg1;
6190 PyObject * _argo0 = 0;
6191 char *_kwnames[] = { "self","lineDisplay", NULL };
6192
6193 self = self;
6194 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_DocLineFromVisible",_kwnames,&_argo0,&_arg1))
6195 return NULL;
6196 if (_argo0) {
6197 if (_argo0 == Py_None) { _arg0 = NULL; }
6198 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
6199 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_DocLineFromVisible. Expected _wxStyledTextCtrl_p.");
6200 return NULL;
6201 }
6202 }
6203 {
6204 PyThreadState* __tstate = wxPyBeginAllowThreads();
6205 _result = (int )wxStyledTextCtrl_DocLineFromVisible(_arg0,_arg1);
6206
6207 wxPyEndAllowThreads(__tstate);
6208 if (PyErr_Occurred()) return NULL;
6209 } _resultobj = Py_BuildValue("i",_result);
6210 return _resultobj;
6211 }
6212
6213 #define wxStyledTextCtrl_SetFoldLevel(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetFoldLevel(_swigarg0,_swigarg1))
6214 static PyObject *_wrap_wxStyledTextCtrl_SetFoldLevel(PyObject *self, PyObject *args, PyObject *kwargs) {
6215 PyObject * _resultobj;
6216 wxStyledTextCtrl * _arg0;
6217 int _arg1;
6218 int _arg2;
6219 PyObject * _argo0 = 0;
6220 char *_kwnames[] = { "self","line","level", NULL };
6221
6222 self = self;
6223 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxStyledTextCtrl_SetFoldLevel",_kwnames,&_argo0,&_arg1,&_arg2))
6224 return NULL;
6225 if (_argo0) {
6226 if (_argo0 == Py_None) { _arg0 = NULL; }
6227 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
6228 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetFoldLevel. Expected _wxStyledTextCtrl_p.");
6229 return NULL;
6230 }
6231 }
6232 {
6233 PyThreadState* __tstate = wxPyBeginAllowThreads();
6234 wxStyledTextCtrl_SetFoldLevel(_arg0,_arg1,_arg2);
6235
6236 wxPyEndAllowThreads(__tstate);
6237 if (PyErr_Occurred()) return NULL;
6238 } Py_INCREF(Py_None);
6239 _resultobj = Py_None;
6240 return _resultobj;
6241 }
6242
6243 #define wxStyledTextCtrl_GetFoldLevel(_swigobj,_swigarg0) (_swigobj->GetFoldLevel(_swigarg0))
6244 static PyObject *_wrap_wxStyledTextCtrl_GetFoldLevel(PyObject *self, PyObject *args, PyObject *kwargs) {
6245 PyObject * _resultobj;
6246 int _result;
6247 wxStyledTextCtrl * _arg0;
6248 int _arg1;
6249 PyObject * _argo0 = 0;
6250 char *_kwnames[] = { "self","line", NULL };
6251
6252 self = self;
6253 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_GetFoldLevel",_kwnames,&_argo0,&_arg1))
6254 return NULL;
6255 if (_argo0) {
6256 if (_argo0 == Py_None) { _arg0 = NULL; }
6257 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
6258 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetFoldLevel. Expected _wxStyledTextCtrl_p.");
6259 return NULL;
6260 }
6261 }
6262 {
6263 PyThreadState* __tstate = wxPyBeginAllowThreads();
6264 _result = (int )wxStyledTextCtrl_GetFoldLevel(_arg0,_arg1);
6265
6266 wxPyEndAllowThreads(__tstate);
6267 if (PyErr_Occurred()) return NULL;
6268 } _resultobj = Py_BuildValue("i",_result);
6269 return _resultobj;
6270 }
6271
6272 #define wxStyledTextCtrl_GetLastChild(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetLastChild(_swigarg0,_swigarg1))
6273 static PyObject *_wrap_wxStyledTextCtrl_GetLastChild(PyObject *self, PyObject *args, PyObject *kwargs) {
6274 PyObject * _resultobj;
6275 int _result;
6276 wxStyledTextCtrl * _arg0;
6277 int _arg1;
6278 int _arg2;
6279 PyObject * _argo0 = 0;
6280 char *_kwnames[] = { "self","line","level", NULL };
6281
6282 self = self;
6283 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxStyledTextCtrl_GetLastChild",_kwnames,&_argo0,&_arg1,&_arg2))
6284 return NULL;
6285 if (_argo0) {
6286 if (_argo0 == Py_None) { _arg0 = NULL; }
6287 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
6288 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetLastChild. Expected _wxStyledTextCtrl_p.");
6289 return NULL;
6290 }
6291 }
6292 {
6293 PyThreadState* __tstate = wxPyBeginAllowThreads();
6294 _result = (int )wxStyledTextCtrl_GetLastChild(_arg0,_arg1,_arg2);
6295
6296 wxPyEndAllowThreads(__tstate);
6297 if (PyErr_Occurred()) return NULL;
6298 } _resultobj = Py_BuildValue("i",_result);
6299 return _resultobj;
6300 }
6301
6302 #define wxStyledTextCtrl_GetFoldParent(_swigobj,_swigarg0) (_swigobj->GetFoldParent(_swigarg0))
6303 static PyObject *_wrap_wxStyledTextCtrl_GetFoldParent(PyObject *self, PyObject *args, PyObject *kwargs) {
6304 PyObject * _resultobj;
6305 int _result;
6306 wxStyledTextCtrl * _arg0;
6307 int _arg1;
6308 PyObject * _argo0 = 0;
6309 char *_kwnames[] = { "self","line", NULL };
6310
6311 self = self;
6312 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_GetFoldParent",_kwnames,&_argo0,&_arg1))
6313 return NULL;
6314 if (_argo0) {
6315 if (_argo0 == Py_None) { _arg0 = NULL; }
6316 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
6317 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetFoldParent. Expected _wxStyledTextCtrl_p.");
6318 return NULL;
6319 }
6320 }
6321 {
6322 PyThreadState* __tstate = wxPyBeginAllowThreads();
6323 _result = (int )wxStyledTextCtrl_GetFoldParent(_arg0,_arg1);
6324
6325 wxPyEndAllowThreads(__tstate);
6326 if (PyErr_Occurred()) return NULL;
6327 } _resultobj = Py_BuildValue("i",_result);
6328 return _resultobj;
6329 }
6330
6331 #define wxStyledTextCtrl_ShowLines(_swigobj,_swigarg0,_swigarg1) (_swigobj->ShowLines(_swigarg0,_swigarg1))
6332 static PyObject *_wrap_wxStyledTextCtrl_ShowLines(PyObject *self, PyObject *args, PyObject *kwargs) {
6333 PyObject * _resultobj;
6334 wxStyledTextCtrl * _arg0;
6335 int _arg1;
6336 int _arg2;
6337 PyObject * _argo0 = 0;
6338 char *_kwnames[] = { "self","lineStart","lineEnd", NULL };
6339
6340 self = self;
6341 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxStyledTextCtrl_ShowLines",_kwnames,&_argo0,&_arg1,&_arg2))
6342 return NULL;
6343 if (_argo0) {
6344 if (_argo0 == Py_None) { _arg0 = NULL; }
6345 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
6346 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_ShowLines. Expected _wxStyledTextCtrl_p.");
6347 return NULL;
6348 }
6349 }
6350 {
6351 PyThreadState* __tstate = wxPyBeginAllowThreads();
6352 wxStyledTextCtrl_ShowLines(_arg0,_arg1,_arg2);
6353
6354 wxPyEndAllowThreads(__tstate);
6355 if (PyErr_Occurred()) return NULL;
6356 } Py_INCREF(Py_None);
6357 _resultobj = Py_None;
6358 return _resultobj;
6359 }
6360
6361 #define wxStyledTextCtrl_HideLines(_swigobj,_swigarg0,_swigarg1) (_swigobj->HideLines(_swigarg0,_swigarg1))
6362 static PyObject *_wrap_wxStyledTextCtrl_HideLines(PyObject *self, PyObject *args, PyObject *kwargs) {
6363 PyObject * _resultobj;
6364 wxStyledTextCtrl * _arg0;
6365 int _arg1;
6366 int _arg2;
6367 PyObject * _argo0 = 0;
6368 char *_kwnames[] = { "self","lineStart","lineEnd", NULL };
6369
6370 self = self;
6371 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxStyledTextCtrl_HideLines",_kwnames,&_argo0,&_arg1,&_arg2))
6372 return NULL;
6373 if (_argo0) {
6374 if (_argo0 == Py_None) { _arg0 = NULL; }
6375 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
6376 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_HideLines. Expected _wxStyledTextCtrl_p.");
6377 return NULL;
6378 }
6379 }
6380 {
6381 PyThreadState* __tstate = wxPyBeginAllowThreads();
6382 wxStyledTextCtrl_HideLines(_arg0,_arg1,_arg2);
6383
6384 wxPyEndAllowThreads(__tstate);
6385 if (PyErr_Occurred()) return NULL;
6386 } Py_INCREF(Py_None);
6387 _resultobj = Py_None;
6388 return _resultobj;
6389 }
6390
6391 #define wxStyledTextCtrl_GetLineVisible(_swigobj,_swigarg0) (_swigobj->GetLineVisible(_swigarg0))
6392 static PyObject *_wrap_wxStyledTextCtrl_GetLineVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
6393 PyObject * _resultobj;
6394 bool _result;
6395 wxStyledTextCtrl * _arg0;
6396 int _arg1;
6397 PyObject * _argo0 = 0;
6398 char *_kwnames[] = { "self","line", NULL };
6399
6400 self = self;
6401 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_GetLineVisible",_kwnames,&_argo0,&_arg1))
6402 return NULL;
6403 if (_argo0) {
6404 if (_argo0 == Py_None) { _arg0 = NULL; }
6405 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
6406 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetLineVisible. Expected _wxStyledTextCtrl_p.");
6407 return NULL;
6408 }
6409 }
6410 {
6411 PyThreadState* __tstate = wxPyBeginAllowThreads();
6412 _result = (bool )wxStyledTextCtrl_GetLineVisible(_arg0,_arg1);
6413
6414 wxPyEndAllowThreads(__tstate);
6415 if (PyErr_Occurred()) return NULL;
6416 } _resultobj = Py_BuildValue("i",_result);
6417 return _resultobj;
6418 }
6419
6420 #define wxStyledTextCtrl_SetFoldExpanded(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetFoldExpanded(_swigarg0,_swigarg1))
6421 static PyObject *_wrap_wxStyledTextCtrl_SetFoldExpanded(PyObject *self, PyObject *args, PyObject *kwargs) {
6422 PyObject * _resultobj;
6423 wxStyledTextCtrl * _arg0;
6424 int _arg1;
6425 bool _arg2;
6426 PyObject * _argo0 = 0;
6427 int tempbool2;
6428 char *_kwnames[] = { "self","line","expanded", NULL };
6429
6430 self = self;
6431 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxStyledTextCtrl_SetFoldExpanded",_kwnames,&_argo0,&_arg1,&tempbool2))
6432 return NULL;
6433 if (_argo0) {
6434 if (_argo0 == Py_None) { _arg0 = NULL; }
6435 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
6436 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetFoldExpanded. Expected _wxStyledTextCtrl_p.");
6437 return NULL;
6438 }
6439 }
6440 _arg2 = (bool ) tempbool2;
6441 {
6442 PyThreadState* __tstate = wxPyBeginAllowThreads();
6443 wxStyledTextCtrl_SetFoldExpanded(_arg0,_arg1,_arg2);
6444
6445 wxPyEndAllowThreads(__tstate);
6446 if (PyErr_Occurred()) return NULL;
6447 } Py_INCREF(Py_None);
6448 _resultobj = Py_None;
6449 return _resultobj;
6450 }
6451
6452 #define wxStyledTextCtrl_GetFoldExpanded(_swigobj,_swigarg0) (_swigobj->GetFoldExpanded(_swigarg0))
6453 static PyObject *_wrap_wxStyledTextCtrl_GetFoldExpanded(PyObject *self, PyObject *args, PyObject *kwargs) {
6454 PyObject * _resultobj;
6455 bool _result;
6456 wxStyledTextCtrl * _arg0;
6457 int _arg1;
6458 PyObject * _argo0 = 0;
6459 char *_kwnames[] = { "self","line", NULL };
6460
6461 self = self;
6462 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_GetFoldExpanded",_kwnames,&_argo0,&_arg1))
6463 return NULL;
6464 if (_argo0) {
6465 if (_argo0 == Py_None) { _arg0 = NULL; }
6466 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
6467 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetFoldExpanded. Expected _wxStyledTextCtrl_p.");
6468 return NULL;
6469 }
6470 }
6471 {
6472 PyThreadState* __tstate = wxPyBeginAllowThreads();
6473 _result = (bool )wxStyledTextCtrl_GetFoldExpanded(_arg0,_arg1);
6474
6475 wxPyEndAllowThreads(__tstate);
6476 if (PyErr_Occurred()) return NULL;
6477 } _resultobj = Py_BuildValue("i",_result);
6478 return _resultobj;
6479 }
6480
6481 #define wxStyledTextCtrl_ToggleFold(_swigobj,_swigarg0) (_swigobj->ToggleFold(_swigarg0))
6482 static PyObject *_wrap_wxStyledTextCtrl_ToggleFold(PyObject *self, PyObject *args, PyObject *kwargs) {
6483 PyObject * _resultobj;
6484 wxStyledTextCtrl * _arg0;
6485 int _arg1;
6486 PyObject * _argo0 = 0;
6487 char *_kwnames[] = { "self","line", NULL };
6488
6489 self = self;
6490 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_ToggleFold",_kwnames,&_argo0,&_arg1))
6491 return NULL;
6492 if (_argo0) {
6493 if (_argo0 == Py_None) { _arg0 = NULL; }
6494 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
6495 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_ToggleFold. Expected _wxStyledTextCtrl_p.");
6496 return NULL;
6497 }
6498 }
6499 {
6500 PyThreadState* __tstate = wxPyBeginAllowThreads();
6501 wxStyledTextCtrl_ToggleFold(_arg0,_arg1);
6502
6503 wxPyEndAllowThreads(__tstate);
6504 if (PyErr_Occurred()) return NULL;
6505 } Py_INCREF(Py_None);
6506 _resultobj = Py_None;
6507 return _resultobj;
6508 }
6509
6510 #define wxStyledTextCtrl_EnsureVisible(_swigobj,_swigarg0) (_swigobj->EnsureVisible(_swigarg0))
6511 static PyObject *_wrap_wxStyledTextCtrl_EnsureVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
6512 PyObject * _resultobj;
6513 wxStyledTextCtrl * _arg0;
6514 int _arg1;
6515 PyObject * _argo0 = 0;
6516 char *_kwnames[] = { "self","line", NULL };
6517
6518 self = self;
6519 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_EnsureVisible",_kwnames,&_argo0,&_arg1))
6520 return NULL;
6521 if (_argo0) {
6522 if (_argo0 == Py_None) { _arg0 = NULL; }
6523 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
6524 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_EnsureVisible. Expected _wxStyledTextCtrl_p.");
6525 return NULL;
6526 }
6527 }
6528 {
6529 PyThreadState* __tstate = wxPyBeginAllowThreads();
6530 wxStyledTextCtrl_EnsureVisible(_arg0,_arg1);
6531
6532 wxPyEndAllowThreads(__tstate);
6533 if (PyErr_Occurred()) return NULL;
6534 } Py_INCREF(Py_None);
6535 _resultobj = Py_None;
6536 return _resultobj;
6537 }
6538
6539 #define wxStyledTextCtrl_SetFoldFlags(_swigobj,_swigarg0) (_swigobj->SetFoldFlags(_swigarg0))
6540 static PyObject *_wrap_wxStyledTextCtrl_SetFoldFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
6541 PyObject * _resultobj;
6542 wxStyledTextCtrl * _arg0;
6543 int _arg1;
6544 PyObject * _argo0 = 0;
6545 char *_kwnames[] = { "self","flags", NULL };
6546
6547 self = self;
6548 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_SetFoldFlags",_kwnames,&_argo0,&_arg1))
6549 return NULL;
6550 if (_argo0) {
6551 if (_argo0 == Py_None) { _arg0 = NULL; }
6552 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
6553 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetFoldFlags. Expected _wxStyledTextCtrl_p.");
6554 return NULL;
6555 }
6556 }
6557 {
6558 PyThreadState* __tstate = wxPyBeginAllowThreads();
6559 wxStyledTextCtrl_SetFoldFlags(_arg0,_arg1);
6560
6561 wxPyEndAllowThreads(__tstate);
6562 if (PyErr_Occurred()) return NULL;
6563 } Py_INCREF(Py_None);
6564 _resultobj = Py_None;
6565 return _resultobj;
6566 }
6567
6568 #define wxStyledTextCtrl_EnsureVisibleEnforcePolicy(_swigobj,_swigarg0) (_swigobj->EnsureVisibleEnforcePolicy(_swigarg0))
6569 static PyObject *_wrap_wxStyledTextCtrl_EnsureVisibleEnforcePolicy(PyObject *self, PyObject *args, PyObject *kwargs) {
6570 PyObject * _resultobj;
6571 wxStyledTextCtrl * _arg0;
6572 int _arg1;
6573 PyObject * _argo0 = 0;
6574 char *_kwnames[] = { "self","line", NULL };
6575
6576 self = self;
6577 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_EnsureVisibleEnforcePolicy",_kwnames,&_argo0,&_arg1))
6578 return NULL;
6579 if (_argo0) {
6580 if (_argo0 == Py_None) { _arg0 = NULL; }
6581 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
6582 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_EnsureVisibleEnforcePolicy. Expected _wxStyledTextCtrl_p.");
6583 return NULL;
6584 }
6585 }
6586 {
6587 PyThreadState* __tstate = wxPyBeginAllowThreads();
6588 wxStyledTextCtrl_EnsureVisibleEnforcePolicy(_arg0,_arg1);
6589
6590 wxPyEndAllowThreads(__tstate);
6591 if (PyErr_Occurred()) return NULL;
6592 } Py_INCREF(Py_None);
6593 _resultobj = Py_None;
6594 return _resultobj;
6595 }
6596
6597 #define wxStyledTextCtrl_SetTabIndents(_swigobj,_swigarg0) (_swigobj->SetTabIndents(_swigarg0))
6598 static PyObject *_wrap_wxStyledTextCtrl_SetTabIndents(PyObject *self, PyObject *args, PyObject *kwargs) {
6599 PyObject * _resultobj;
6600 wxStyledTextCtrl * _arg0;
6601 bool _arg1;
6602 PyObject * _argo0 = 0;
6603 int tempbool1;
6604 char *_kwnames[] = { "self","tabIndents", NULL };
6605
6606 self = self;
6607 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_SetTabIndents",_kwnames,&_argo0,&tempbool1))
6608 return NULL;
6609 if (_argo0) {
6610 if (_argo0 == Py_None) { _arg0 = NULL; }
6611 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
6612 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetTabIndents. Expected _wxStyledTextCtrl_p.");
6613 return NULL;
6614 }
6615 }
6616 _arg1 = (bool ) tempbool1;
6617 {
6618 PyThreadState* __tstate = wxPyBeginAllowThreads();
6619 wxStyledTextCtrl_SetTabIndents(_arg0,_arg1);
6620
6621 wxPyEndAllowThreads(__tstate);
6622 if (PyErr_Occurred()) return NULL;
6623 } Py_INCREF(Py_None);
6624 _resultobj = Py_None;
6625 return _resultobj;
6626 }
6627
6628 #define wxStyledTextCtrl_GetTabIndents(_swigobj) (_swigobj->GetTabIndents())
6629 static PyObject *_wrap_wxStyledTextCtrl_GetTabIndents(PyObject *self, PyObject *args, PyObject *kwargs) {
6630 PyObject * _resultobj;
6631 bool _result;
6632 wxStyledTextCtrl * _arg0;
6633 PyObject * _argo0 = 0;
6634 char *_kwnames[] = { "self", NULL };
6635
6636 self = self;
6637 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetTabIndents",_kwnames,&_argo0))
6638 return NULL;
6639 if (_argo0) {
6640 if (_argo0 == Py_None) { _arg0 = NULL; }
6641 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
6642 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetTabIndents. Expected _wxStyledTextCtrl_p.");
6643 return NULL;
6644 }
6645 }
6646 {
6647 PyThreadState* __tstate = wxPyBeginAllowThreads();
6648 _result = (bool )wxStyledTextCtrl_GetTabIndents(_arg0);
6649
6650 wxPyEndAllowThreads(__tstate);
6651 if (PyErr_Occurred()) return NULL;
6652 } _resultobj = Py_BuildValue("i",_result);
6653 return _resultobj;
6654 }
6655
6656 #define wxStyledTextCtrl_SetBackSpaceUnIndents(_swigobj,_swigarg0) (_swigobj->SetBackSpaceUnIndents(_swigarg0))
6657 static PyObject *_wrap_wxStyledTextCtrl_SetBackSpaceUnIndents(PyObject *self, PyObject *args, PyObject *kwargs) {
6658 PyObject * _resultobj;
6659 wxStyledTextCtrl * _arg0;
6660 bool _arg1;
6661 PyObject * _argo0 = 0;
6662 int tempbool1;
6663 char *_kwnames[] = { "self","bsUnIndents", NULL };
6664
6665 self = self;
6666 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_SetBackSpaceUnIndents",_kwnames,&_argo0,&tempbool1))
6667 return NULL;
6668 if (_argo0) {
6669 if (_argo0 == Py_None) { _arg0 = NULL; }
6670 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
6671 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetBackSpaceUnIndents. Expected _wxStyledTextCtrl_p.");
6672 return NULL;
6673 }
6674 }
6675 _arg1 = (bool ) tempbool1;
6676 {
6677 PyThreadState* __tstate = wxPyBeginAllowThreads();
6678 wxStyledTextCtrl_SetBackSpaceUnIndents(_arg0,_arg1);
6679
6680 wxPyEndAllowThreads(__tstate);
6681 if (PyErr_Occurred()) return NULL;
6682 } Py_INCREF(Py_None);
6683 _resultobj = Py_None;
6684 return _resultobj;
6685 }
6686
6687 #define wxStyledTextCtrl_GetBackSpaceUnIndents(_swigobj) (_swigobj->GetBackSpaceUnIndents())
6688 static PyObject *_wrap_wxStyledTextCtrl_GetBackSpaceUnIndents(PyObject *self, PyObject *args, PyObject *kwargs) {
6689 PyObject * _resultobj;
6690 bool _result;
6691 wxStyledTextCtrl * _arg0;
6692 PyObject * _argo0 = 0;
6693 char *_kwnames[] = { "self", NULL };
6694
6695 self = self;
6696 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetBackSpaceUnIndents",_kwnames,&_argo0))
6697 return NULL;
6698 if (_argo0) {
6699 if (_argo0 == Py_None) { _arg0 = NULL; }
6700 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
6701 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetBackSpaceUnIndents. Expected _wxStyledTextCtrl_p.");
6702 return NULL;
6703 }
6704 }
6705 {
6706 PyThreadState* __tstate = wxPyBeginAllowThreads();
6707 _result = (bool )wxStyledTextCtrl_GetBackSpaceUnIndents(_arg0);
6708
6709 wxPyEndAllowThreads(__tstate);
6710 if (PyErr_Occurred()) return NULL;
6711 } _resultobj = Py_BuildValue("i",_result);
6712 return _resultobj;
6713 }
6714
6715 #define wxStyledTextCtrl_SetMouseDwellTime(_swigobj,_swigarg0) (_swigobj->SetMouseDwellTime(_swigarg0))
6716 static PyObject *_wrap_wxStyledTextCtrl_SetMouseDwellTime(PyObject *self, PyObject *args, PyObject *kwargs) {
6717 PyObject * _resultobj;
6718 wxStyledTextCtrl * _arg0;
6719 int _arg1;
6720 PyObject * _argo0 = 0;
6721 char *_kwnames[] = { "self","periodMilliseconds", NULL };
6722
6723 self = self;
6724 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_SetMouseDwellTime",_kwnames,&_argo0,&_arg1))
6725 return NULL;
6726 if (_argo0) {
6727 if (_argo0 == Py_None) { _arg0 = NULL; }
6728 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
6729 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetMouseDwellTime. Expected _wxStyledTextCtrl_p.");
6730 return NULL;
6731 }
6732 }
6733 {
6734 PyThreadState* __tstate = wxPyBeginAllowThreads();
6735 wxStyledTextCtrl_SetMouseDwellTime(_arg0,_arg1);
6736
6737 wxPyEndAllowThreads(__tstate);
6738 if (PyErr_Occurred()) return NULL;
6739 } Py_INCREF(Py_None);
6740 _resultobj = Py_None;
6741 return _resultobj;
6742 }
6743
6744 #define wxStyledTextCtrl_GetMouseDwellTime(_swigobj) (_swigobj->GetMouseDwellTime())
6745 static PyObject *_wrap_wxStyledTextCtrl_GetMouseDwellTime(PyObject *self, PyObject *args, PyObject *kwargs) {
6746 PyObject * _resultobj;
6747 int _result;
6748 wxStyledTextCtrl * _arg0;
6749 PyObject * _argo0 = 0;
6750 char *_kwnames[] = { "self", NULL };
6751
6752 self = self;
6753 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetMouseDwellTime",_kwnames,&_argo0))
6754 return NULL;
6755 if (_argo0) {
6756 if (_argo0 == Py_None) { _arg0 = NULL; }
6757 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
6758 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetMouseDwellTime. Expected _wxStyledTextCtrl_p.");
6759 return NULL;
6760 }
6761 }
6762 {
6763 PyThreadState* __tstate = wxPyBeginAllowThreads();
6764 _result = (int )wxStyledTextCtrl_GetMouseDwellTime(_arg0);
6765
6766 wxPyEndAllowThreads(__tstate);
6767 if (PyErr_Occurred()) return NULL;
6768 } _resultobj = Py_BuildValue("i",_result);
6769 return _resultobj;
6770 }
6771
6772 #define wxStyledTextCtrl_WordStartPosition(_swigobj,_swigarg0,_swigarg1) (_swigobj->WordStartPosition(_swigarg0,_swigarg1))
6773 static PyObject *_wrap_wxStyledTextCtrl_WordStartPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
6774 PyObject * _resultobj;
6775 int _result;
6776 wxStyledTextCtrl * _arg0;
6777 int _arg1;
6778 bool _arg2;
6779 PyObject * _argo0 = 0;
6780 int tempbool2;
6781 char *_kwnames[] = { "self","pos","onlyWordCharacters", NULL };
6782
6783 self = self;
6784 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxStyledTextCtrl_WordStartPosition",_kwnames,&_argo0,&_arg1,&tempbool2))
6785 return NULL;
6786 if (_argo0) {
6787 if (_argo0 == Py_None) { _arg0 = NULL; }
6788 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
6789 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_WordStartPosition. Expected _wxStyledTextCtrl_p.");
6790 return NULL;
6791 }
6792 }
6793 _arg2 = (bool ) tempbool2;
6794 {
6795 PyThreadState* __tstate = wxPyBeginAllowThreads();
6796 _result = (int )wxStyledTextCtrl_WordStartPosition(_arg0,_arg1,_arg2);
6797
6798 wxPyEndAllowThreads(__tstate);
6799 if (PyErr_Occurred()) return NULL;
6800 } _resultobj = Py_BuildValue("i",_result);
6801 return _resultobj;
6802 }
6803
6804 #define wxStyledTextCtrl_WordEndPosition(_swigobj,_swigarg0,_swigarg1) (_swigobj->WordEndPosition(_swigarg0,_swigarg1))
6805 static PyObject *_wrap_wxStyledTextCtrl_WordEndPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
6806 PyObject * _resultobj;
6807 int _result;
6808 wxStyledTextCtrl * _arg0;
6809 int _arg1;
6810 bool _arg2;
6811 PyObject * _argo0 = 0;
6812 int tempbool2;
6813 char *_kwnames[] = { "self","pos","onlyWordCharacters", NULL };
6814
6815 self = self;
6816 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxStyledTextCtrl_WordEndPosition",_kwnames,&_argo0,&_arg1,&tempbool2))
6817 return NULL;
6818 if (_argo0) {
6819 if (_argo0 == Py_None) { _arg0 = NULL; }
6820 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
6821 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_WordEndPosition. Expected _wxStyledTextCtrl_p.");
6822 return NULL;
6823 }
6824 }
6825 _arg2 = (bool ) tempbool2;
6826 {
6827 PyThreadState* __tstate = wxPyBeginAllowThreads();
6828 _result = (int )wxStyledTextCtrl_WordEndPosition(_arg0,_arg1,_arg2);
6829
6830 wxPyEndAllowThreads(__tstate);
6831 if (PyErr_Occurred()) return NULL;
6832 } _resultobj = Py_BuildValue("i",_result);
6833 return _resultobj;
6834 }
6835
6836 #define wxStyledTextCtrl_SetWrapMode(_swigobj,_swigarg0) (_swigobj->SetWrapMode(_swigarg0))
6837 static PyObject *_wrap_wxStyledTextCtrl_SetWrapMode(PyObject *self, PyObject *args, PyObject *kwargs) {
6838 PyObject * _resultobj;
6839 wxStyledTextCtrl * _arg0;
6840 int _arg1;
6841 PyObject * _argo0 = 0;
6842 char *_kwnames[] = { "self","mode", NULL };
6843
6844 self = self;
6845 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_SetWrapMode",_kwnames,&_argo0,&_arg1))
6846 return NULL;
6847 if (_argo0) {
6848 if (_argo0 == Py_None) { _arg0 = NULL; }
6849 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
6850 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetWrapMode. Expected _wxStyledTextCtrl_p.");
6851 return NULL;
6852 }
6853 }
6854 {
6855 PyThreadState* __tstate = wxPyBeginAllowThreads();
6856 wxStyledTextCtrl_SetWrapMode(_arg0,_arg1);
6857
6858 wxPyEndAllowThreads(__tstate);
6859 if (PyErr_Occurred()) return NULL;
6860 } Py_INCREF(Py_None);
6861 _resultobj = Py_None;
6862 return _resultobj;
6863 }
6864
6865 #define wxStyledTextCtrl_GetWrapMode(_swigobj) (_swigobj->GetWrapMode())
6866 static PyObject *_wrap_wxStyledTextCtrl_GetWrapMode(PyObject *self, PyObject *args, PyObject *kwargs) {
6867 PyObject * _resultobj;
6868 int _result;
6869 wxStyledTextCtrl * _arg0;
6870 PyObject * _argo0 = 0;
6871 char *_kwnames[] = { "self", NULL };
6872
6873 self = self;
6874 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetWrapMode",_kwnames,&_argo0))
6875 return NULL;
6876 if (_argo0) {
6877 if (_argo0 == Py_None) { _arg0 = NULL; }
6878 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
6879 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetWrapMode. Expected _wxStyledTextCtrl_p.");
6880 return NULL;
6881 }
6882 }
6883 {
6884 PyThreadState* __tstate = wxPyBeginAllowThreads();
6885 _result = (int )wxStyledTextCtrl_GetWrapMode(_arg0);
6886
6887 wxPyEndAllowThreads(__tstate);
6888 if (PyErr_Occurred()) return NULL;
6889 } _resultobj = Py_BuildValue("i",_result);
6890 return _resultobj;
6891 }
6892
6893 #define wxStyledTextCtrl_SetLayoutCache(_swigobj,_swigarg0) (_swigobj->SetLayoutCache(_swigarg0))
6894 static PyObject *_wrap_wxStyledTextCtrl_SetLayoutCache(PyObject *self, PyObject *args, PyObject *kwargs) {
6895 PyObject * _resultobj;
6896 wxStyledTextCtrl * _arg0;
6897 int _arg1;
6898 PyObject * _argo0 = 0;
6899 char *_kwnames[] = { "self","mode", NULL };
6900
6901 self = self;
6902 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_SetLayoutCache",_kwnames,&_argo0,&_arg1))
6903 return NULL;
6904 if (_argo0) {
6905 if (_argo0 == Py_None) { _arg0 = NULL; }
6906 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
6907 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetLayoutCache. Expected _wxStyledTextCtrl_p.");
6908 return NULL;
6909 }
6910 }
6911 {
6912 PyThreadState* __tstate = wxPyBeginAllowThreads();
6913 wxStyledTextCtrl_SetLayoutCache(_arg0,_arg1);
6914
6915 wxPyEndAllowThreads(__tstate);
6916 if (PyErr_Occurred()) return NULL;
6917 } Py_INCREF(Py_None);
6918 _resultobj = Py_None;
6919 return _resultobj;
6920 }
6921
6922 #define wxStyledTextCtrl_GetLayoutCache(_swigobj) (_swigobj->GetLayoutCache())
6923 static PyObject *_wrap_wxStyledTextCtrl_GetLayoutCache(PyObject *self, PyObject *args, PyObject *kwargs) {
6924 PyObject * _resultobj;
6925 int _result;
6926 wxStyledTextCtrl * _arg0;
6927 PyObject * _argo0 = 0;
6928 char *_kwnames[] = { "self", NULL };
6929
6930 self = self;
6931 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetLayoutCache",_kwnames,&_argo0))
6932 return NULL;
6933 if (_argo0) {
6934 if (_argo0 == Py_None) { _arg0 = NULL; }
6935 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
6936 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetLayoutCache. Expected _wxStyledTextCtrl_p.");
6937 return NULL;
6938 }
6939 }
6940 {
6941 PyThreadState* __tstate = wxPyBeginAllowThreads();
6942 _result = (int )wxStyledTextCtrl_GetLayoutCache(_arg0);
6943
6944 wxPyEndAllowThreads(__tstate);
6945 if (PyErr_Occurred()) return NULL;
6946 } _resultobj = Py_BuildValue("i",_result);
6947 return _resultobj;
6948 }
6949
6950 #define wxStyledTextCtrl_SetScrollWidth(_swigobj,_swigarg0) (_swigobj->SetScrollWidth(_swigarg0))
6951 static PyObject *_wrap_wxStyledTextCtrl_SetScrollWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
6952 PyObject * _resultobj;
6953 wxStyledTextCtrl * _arg0;
6954 int _arg1;
6955 PyObject * _argo0 = 0;
6956 char *_kwnames[] = { "self","pixelWidth", NULL };
6957
6958 self = self;
6959 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_SetScrollWidth",_kwnames,&_argo0,&_arg1))
6960 return NULL;
6961 if (_argo0) {
6962 if (_argo0 == Py_None) { _arg0 = NULL; }
6963 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
6964 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetScrollWidth. Expected _wxStyledTextCtrl_p.");
6965 return NULL;
6966 }
6967 }
6968 {
6969 PyThreadState* __tstate = wxPyBeginAllowThreads();
6970 wxStyledTextCtrl_SetScrollWidth(_arg0,_arg1);
6971
6972 wxPyEndAllowThreads(__tstate);
6973 if (PyErr_Occurred()) return NULL;
6974 } Py_INCREF(Py_None);
6975 _resultobj = Py_None;
6976 return _resultobj;
6977 }
6978
6979 #define wxStyledTextCtrl_GetScrollWidth(_swigobj) (_swigobj->GetScrollWidth())
6980 static PyObject *_wrap_wxStyledTextCtrl_GetScrollWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
6981 PyObject * _resultobj;
6982 int _result;
6983 wxStyledTextCtrl * _arg0;
6984 PyObject * _argo0 = 0;
6985 char *_kwnames[] = { "self", NULL };
6986
6987 self = self;
6988 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetScrollWidth",_kwnames,&_argo0))
6989 return NULL;
6990 if (_argo0) {
6991 if (_argo0 == Py_None) { _arg0 = NULL; }
6992 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
6993 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetScrollWidth. Expected _wxStyledTextCtrl_p.");
6994 return NULL;
6995 }
6996 }
6997 {
6998 PyThreadState* __tstate = wxPyBeginAllowThreads();
6999 _result = (int )wxStyledTextCtrl_GetScrollWidth(_arg0);
7000
7001 wxPyEndAllowThreads(__tstate);
7002 if (PyErr_Occurred()) return NULL;
7003 } _resultobj = Py_BuildValue("i",_result);
7004 return _resultobj;
7005 }
7006
7007 #define wxStyledTextCtrl_TextWidth(_swigobj,_swigarg0,_swigarg1) (_swigobj->TextWidth(_swigarg0,_swigarg1))
7008 static PyObject *_wrap_wxStyledTextCtrl_TextWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
7009 PyObject * _resultobj;
7010 int _result;
7011 wxStyledTextCtrl * _arg0;
7012 int _arg1;
7013 wxString * _arg2;
7014 PyObject * _argo0 = 0;
7015 PyObject * _obj2 = 0;
7016 char *_kwnames[] = { "self","style","text", NULL };
7017
7018 self = self;
7019 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxStyledTextCtrl_TextWidth",_kwnames,&_argo0,&_arg1,&_obj2))
7020 return NULL;
7021 if (_argo0) {
7022 if (_argo0 == Py_None) { _arg0 = NULL; }
7023 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
7024 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_TextWidth. Expected _wxStyledTextCtrl_p.");
7025 return NULL;
7026 }
7027 }
7028 {
7029 _arg2 = wxString_in_helper(_obj2);
7030 if (_arg2 == NULL)
7031 return NULL;
7032 }
7033 {
7034 PyThreadState* __tstate = wxPyBeginAllowThreads();
7035 _result = (int )wxStyledTextCtrl_TextWidth(_arg0,_arg1,*_arg2);
7036
7037 wxPyEndAllowThreads(__tstate);
7038 if (PyErr_Occurred()) return NULL;
7039 } _resultobj = Py_BuildValue("i",_result);
7040 {
7041 if (_obj2)
7042 delete _arg2;
7043 }
7044 return _resultobj;
7045 }
7046
7047 #define wxStyledTextCtrl_SetEndAtLastLine(_swigobj,_swigarg0) (_swigobj->SetEndAtLastLine(_swigarg0))
7048 static PyObject *_wrap_wxStyledTextCtrl_SetEndAtLastLine(PyObject *self, PyObject *args, PyObject *kwargs) {
7049 PyObject * _resultobj;
7050 wxStyledTextCtrl * _arg0;
7051 bool _arg1;
7052 PyObject * _argo0 = 0;
7053 int tempbool1;
7054 char *_kwnames[] = { "self","endAtLastLine", NULL };
7055
7056 self = self;
7057 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_SetEndAtLastLine",_kwnames,&_argo0,&tempbool1))
7058 return NULL;
7059 if (_argo0) {
7060 if (_argo0 == Py_None) { _arg0 = NULL; }
7061 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
7062 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetEndAtLastLine. Expected _wxStyledTextCtrl_p.");
7063 return NULL;
7064 }
7065 }
7066 _arg1 = (bool ) tempbool1;
7067 {
7068 PyThreadState* __tstate = wxPyBeginAllowThreads();
7069 wxStyledTextCtrl_SetEndAtLastLine(_arg0,_arg1);
7070
7071 wxPyEndAllowThreads(__tstate);
7072 if (PyErr_Occurred()) return NULL;
7073 } Py_INCREF(Py_None);
7074 _resultobj = Py_None;
7075 return _resultobj;
7076 }
7077
7078 #define wxStyledTextCtrl_GetEndAtLastLine(_swigobj) (_swigobj->GetEndAtLastLine())
7079 static PyObject *_wrap_wxStyledTextCtrl_GetEndAtLastLine(PyObject *self, PyObject *args, PyObject *kwargs) {
7080 PyObject * _resultobj;
7081 int _result;
7082 wxStyledTextCtrl * _arg0;
7083 PyObject * _argo0 = 0;
7084 char *_kwnames[] = { "self", NULL };
7085
7086 self = self;
7087 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetEndAtLastLine",_kwnames,&_argo0))
7088 return NULL;
7089 if (_argo0) {
7090 if (_argo0 == Py_None) { _arg0 = NULL; }
7091 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
7092 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetEndAtLastLine. Expected _wxStyledTextCtrl_p.");
7093 return NULL;
7094 }
7095 }
7096 {
7097 PyThreadState* __tstate = wxPyBeginAllowThreads();
7098 _result = (int )wxStyledTextCtrl_GetEndAtLastLine(_arg0);
7099
7100 wxPyEndAllowThreads(__tstate);
7101 if (PyErr_Occurred()) return NULL;
7102 } _resultobj = Py_BuildValue("i",_result);
7103 return _resultobj;
7104 }
7105
7106 #define wxStyledTextCtrl_TextHeight(_swigobj,_swigarg0) (_swigobj->TextHeight(_swigarg0))
7107 static PyObject *_wrap_wxStyledTextCtrl_TextHeight(PyObject *self, PyObject *args, PyObject *kwargs) {
7108 PyObject * _resultobj;
7109 int _result;
7110 wxStyledTextCtrl * _arg0;
7111 int _arg1;
7112 PyObject * _argo0 = 0;
7113 char *_kwnames[] = { "self","line", NULL };
7114
7115 self = self;
7116 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_TextHeight",_kwnames,&_argo0,&_arg1))
7117 return NULL;
7118 if (_argo0) {
7119 if (_argo0 == Py_None) { _arg0 = NULL; }
7120 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
7121 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_TextHeight. Expected _wxStyledTextCtrl_p.");
7122 return NULL;
7123 }
7124 }
7125 {
7126 PyThreadState* __tstate = wxPyBeginAllowThreads();
7127 _result = (int )wxStyledTextCtrl_TextHeight(_arg0,_arg1);
7128
7129 wxPyEndAllowThreads(__tstate);
7130 if (PyErr_Occurred()) return NULL;
7131 } _resultobj = Py_BuildValue("i",_result);
7132 return _resultobj;
7133 }
7134
7135 #define wxStyledTextCtrl_MoveCaretInsideView(_swigobj) (_swigobj->MoveCaretInsideView())
7136 static PyObject *_wrap_wxStyledTextCtrl_MoveCaretInsideView(PyObject *self, PyObject *args, PyObject *kwargs) {
7137 PyObject * _resultobj;
7138 wxStyledTextCtrl * _arg0;
7139 PyObject * _argo0 = 0;
7140 char *_kwnames[] = { "self", NULL };
7141
7142 self = self;
7143 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_MoveCaretInsideView",_kwnames,&_argo0))
7144 return NULL;
7145 if (_argo0) {
7146 if (_argo0 == Py_None) { _arg0 = NULL; }
7147 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
7148 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_MoveCaretInsideView. Expected _wxStyledTextCtrl_p.");
7149 return NULL;
7150 }
7151 }
7152 {
7153 PyThreadState* __tstate = wxPyBeginAllowThreads();
7154 wxStyledTextCtrl_MoveCaretInsideView(_arg0);
7155
7156 wxPyEndAllowThreads(__tstate);
7157 if (PyErr_Occurred()) return NULL;
7158 } Py_INCREF(Py_None);
7159 _resultobj = Py_None;
7160 return _resultobj;
7161 }
7162
7163 #define wxStyledTextCtrl_LineLength(_swigobj,_swigarg0) (_swigobj->LineLength(_swigarg0))
7164 static PyObject *_wrap_wxStyledTextCtrl_LineLength(PyObject *self, PyObject *args, PyObject *kwargs) {
7165 PyObject * _resultobj;
7166 int _result;
7167 wxStyledTextCtrl * _arg0;
7168 int _arg1;
7169 PyObject * _argo0 = 0;
7170 char *_kwnames[] = { "self","line", NULL };
7171
7172 self = self;
7173 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_LineLength",_kwnames,&_argo0,&_arg1))
7174 return NULL;
7175 if (_argo0) {
7176 if (_argo0 == Py_None) { _arg0 = NULL; }
7177 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
7178 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_LineLength. Expected _wxStyledTextCtrl_p.");
7179 return NULL;
7180 }
7181 }
7182 {
7183 PyThreadState* __tstate = wxPyBeginAllowThreads();
7184 _result = (int )wxStyledTextCtrl_LineLength(_arg0,_arg1);
7185
7186 wxPyEndAllowThreads(__tstate);
7187 if (PyErr_Occurred()) return NULL;
7188 } _resultobj = Py_BuildValue("i",_result);
7189 return _resultobj;
7190 }
7191
7192 #define wxStyledTextCtrl_BraceHighlight(_swigobj,_swigarg0,_swigarg1) (_swigobj->BraceHighlight(_swigarg0,_swigarg1))
7193 static PyObject *_wrap_wxStyledTextCtrl_BraceHighlight(PyObject *self, PyObject *args, PyObject *kwargs) {
7194 PyObject * _resultobj;
7195 wxStyledTextCtrl * _arg0;
7196 int _arg1;
7197 int _arg2;
7198 PyObject * _argo0 = 0;
7199 char *_kwnames[] = { "self","pos1","pos2", NULL };
7200
7201 self = self;
7202 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxStyledTextCtrl_BraceHighlight",_kwnames,&_argo0,&_arg1,&_arg2))
7203 return NULL;
7204 if (_argo0) {
7205 if (_argo0 == Py_None) { _arg0 = NULL; }
7206 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
7207 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_BraceHighlight. Expected _wxStyledTextCtrl_p.");
7208 return NULL;
7209 }
7210 }
7211 {
7212 PyThreadState* __tstate = wxPyBeginAllowThreads();
7213 wxStyledTextCtrl_BraceHighlight(_arg0,_arg1,_arg2);
7214
7215 wxPyEndAllowThreads(__tstate);
7216 if (PyErr_Occurred()) return NULL;
7217 } Py_INCREF(Py_None);
7218 _resultobj = Py_None;
7219 return _resultobj;
7220 }
7221
7222 #define wxStyledTextCtrl_BraceBadLight(_swigobj,_swigarg0) (_swigobj->BraceBadLight(_swigarg0))
7223 static PyObject *_wrap_wxStyledTextCtrl_BraceBadLight(PyObject *self, PyObject *args, PyObject *kwargs) {
7224 PyObject * _resultobj;
7225 wxStyledTextCtrl * _arg0;
7226 int _arg1;
7227 PyObject * _argo0 = 0;
7228 char *_kwnames[] = { "self","pos", NULL };
7229
7230 self = self;
7231 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_BraceBadLight",_kwnames,&_argo0,&_arg1))
7232 return NULL;
7233 if (_argo0) {
7234 if (_argo0 == Py_None) { _arg0 = NULL; }
7235 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
7236 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_BraceBadLight. Expected _wxStyledTextCtrl_p.");
7237 return NULL;
7238 }
7239 }
7240 {
7241 PyThreadState* __tstate = wxPyBeginAllowThreads();
7242 wxStyledTextCtrl_BraceBadLight(_arg0,_arg1);
7243
7244 wxPyEndAllowThreads(__tstate);
7245 if (PyErr_Occurred()) return NULL;
7246 } Py_INCREF(Py_None);
7247 _resultobj = Py_None;
7248 return _resultobj;
7249 }
7250
7251 #define wxStyledTextCtrl_BraceMatch(_swigobj,_swigarg0) (_swigobj->BraceMatch(_swigarg0))
7252 static PyObject *_wrap_wxStyledTextCtrl_BraceMatch(PyObject *self, PyObject *args, PyObject *kwargs) {
7253 PyObject * _resultobj;
7254 int _result;
7255 wxStyledTextCtrl * _arg0;
7256 int _arg1;
7257 PyObject * _argo0 = 0;
7258 char *_kwnames[] = { "self","pos", NULL };
7259
7260 self = self;
7261 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_BraceMatch",_kwnames,&_argo0,&_arg1))
7262 return NULL;
7263 if (_argo0) {
7264 if (_argo0 == Py_None) { _arg0 = NULL; }
7265 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
7266 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_BraceMatch. Expected _wxStyledTextCtrl_p.");
7267 return NULL;
7268 }
7269 }
7270 {
7271 PyThreadState* __tstate = wxPyBeginAllowThreads();
7272 _result = (int )wxStyledTextCtrl_BraceMatch(_arg0,_arg1);
7273
7274 wxPyEndAllowThreads(__tstate);
7275 if (PyErr_Occurred()) return NULL;
7276 } _resultobj = Py_BuildValue("i",_result);
7277 return _resultobj;
7278 }
7279
7280 #define wxStyledTextCtrl_GetViewEOL(_swigobj) (_swigobj->GetViewEOL())
7281 static PyObject *_wrap_wxStyledTextCtrl_GetViewEOL(PyObject *self, PyObject *args, PyObject *kwargs) {
7282 PyObject * _resultobj;
7283 bool _result;
7284 wxStyledTextCtrl * _arg0;
7285 PyObject * _argo0 = 0;
7286 char *_kwnames[] = { "self", NULL };
7287
7288 self = self;
7289 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetViewEOL",_kwnames,&_argo0))
7290 return NULL;
7291 if (_argo0) {
7292 if (_argo0 == Py_None) { _arg0 = NULL; }
7293 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
7294 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetViewEOL. Expected _wxStyledTextCtrl_p.");
7295 return NULL;
7296 }
7297 }
7298 {
7299 PyThreadState* __tstate = wxPyBeginAllowThreads();
7300 _result = (bool )wxStyledTextCtrl_GetViewEOL(_arg0);
7301
7302 wxPyEndAllowThreads(__tstate);
7303 if (PyErr_Occurred()) return NULL;
7304 } _resultobj = Py_BuildValue("i",_result);
7305 return _resultobj;
7306 }
7307
7308 #define wxStyledTextCtrl_SetViewEOL(_swigobj,_swigarg0) (_swigobj->SetViewEOL(_swigarg0))
7309 static PyObject *_wrap_wxStyledTextCtrl_SetViewEOL(PyObject *self, PyObject *args, PyObject *kwargs) {
7310 PyObject * _resultobj;
7311 wxStyledTextCtrl * _arg0;
7312 bool _arg1;
7313 PyObject * _argo0 = 0;
7314 int tempbool1;
7315 char *_kwnames[] = { "self","visible", NULL };
7316
7317 self = self;
7318 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_SetViewEOL",_kwnames,&_argo0,&tempbool1))
7319 return NULL;
7320 if (_argo0) {
7321 if (_argo0 == Py_None) { _arg0 = NULL; }
7322 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
7323 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetViewEOL. Expected _wxStyledTextCtrl_p.");
7324 return NULL;
7325 }
7326 }
7327 _arg1 = (bool ) tempbool1;
7328 {
7329 PyThreadState* __tstate = wxPyBeginAllowThreads();
7330 wxStyledTextCtrl_SetViewEOL(_arg0,_arg1);
7331
7332 wxPyEndAllowThreads(__tstate);
7333 if (PyErr_Occurred()) return NULL;
7334 } Py_INCREF(Py_None);
7335 _resultobj = Py_None;
7336 return _resultobj;
7337 }
7338
7339 #define wxStyledTextCtrl_GetDocPointer(_swigobj) (_swigobj->GetDocPointer())
7340 static PyObject *_wrap_wxStyledTextCtrl_GetDocPointer(PyObject *self, PyObject *args, PyObject *kwargs) {
7341 PyObject * _resultobj;
7342 void * _result;
7343 wxStyledTextCtrl * _arg0;
7344 PyObject * _argo0 = 0;
7345 char *_kwnames[] = { "self", NULL };
7346 char _ptemp[128];
7347
7348 self = self;
7349 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetDocPointer",_kwnames,&_argo0))
7350 return NULL;
7351 if (_argo0) {
7352 if (_argo0 == Py_None) { _arg0 = NULL; }
7353 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
7354 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetDocPointer. Expected _wxStyledTextCtrl_p.");
7355 return NULL;
7356 }
7357 }
7358 {
7359 PyThreadState* __tstate = wxPyBeginAllowThreads();
7360 _result = (void *)wxStyledTextCtrl_GetDocPointer(_arg0);
7361
7362 wxPyEndAllowThreads(__tstate);
7363 if (PyErr_Occurred()) return NULL;
7364 } if (_result) {
7365 SWIG_MakePtr(_ptemp, (char *) _result,"_void_p");
7366 _resultobj = Py_BuildValue("s",_ptemp);
7367 } else {
7368 Py_INCREF(Py_None);
7369 _resultobj = Py_None;
7370 }
7371 return _resultobj;
7372 }
7373
7374 #define wxStyledTextCtrl_SetDocPointer(_swigobj,_swigarg0) (_swigobj->SetDocPointer(_swigarg0))
7375 static PyObject *_wrap_wxStyledTextCtrl_SetDocPointer(PyObject *self, PyObject *args, PyObject *kwargs) {
7376 PyObject * _resultobj;
7377 wxStyledTextCtrl * _arg0;
7378 void * _arg1;
7379 PyObject * _argo0 = 0;
7380 PyObject * _argo1 = 0;
7381 char *_kwnames[] = { "self","docPointer", NULL };
7382
7383 self = self;
7384 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxStyledTextCtrl_SetDocPointer",_kwnames,&_argo0,&_argo1))
7385 return NULL;
7386 if (_argo0) {
7387 if (_argo0 == Py_None) { _arg0 = NULL; }
7388 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
7389 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetDocPointer. Expected _wxStyledTextCtrl_p.");
7390 return NULL;
7391 }
7392 }
7393 if (_argo1) {
7394 if (_argo1 == Py_None) { _arg1 = NULL; }
7395 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,(char *) 0 )) {
7396 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxStyledTextCtrl_SetDocPointer. Expected _void_p.");
7397 return NULL;
7398 }
7399 }
7400 {
7401 PyThreadState* __tstate = wxPyBeginAllowThreads();
7402 wxStyledTextCtrl_SetDocPointer(_arg0,_arg1);
7403
7404 wxPyEndAllowThreads(__tstate);
7405 if (PyErr_Occurred()) return NULL;
7406 } Py_INCREF(Py_None);
7407 _resultobj = Py_None;
7408 return _resultobj;
7409 }
7410
7411 #define wxStyledTextCtrl_SetModEventMask(_swigobj,_swigarg0) (_swigobj->SetModEventMask(_swigarg0))
7412 static PyObject *_wrap_wxStyledTextCtrl_SetModEventMask(PyObject *self, PyObject *args, PyObject *kwargs) {
7413 PyObject * _resultobj;
7414 wxStyledTextCtrl * _arg0;
7415 int _arg1;
7416 PyObject * _argo0 = 0;
7417 char *_kwnames[] = { "self","mask", NULL };
7418
7419 self = self;
7420 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_SetModEventMask",_kwnames,&_argo0,&_arg1))
7421 return NULL;
7422 if (_argo0) {
7423 if (_argo0 == Py_None) { _arg0 = NULL; }
7424 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
7425 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetModEventMask. Expected _wxStyledTextCtrl_p.");
7426 return NULL;
7427 }
7428 }
7429 {
7430 PyThreadState* __tstate = wxPyBeginAllowThreads();
7431 wxStyledTextCtrl_SetModEventMask(_arg0,_arg1);
7432
7433 wxPyEndAllowThreads(__tstate);
7434 if (PyErr_Occurred()) return NULL;
7435 } Py_INCREF(Py_None);
7436 _resultobj = Py_None;
7437 return _resultobj;
7438 }
7439
7440 #define wxStyledTextCtrl_GetEdgeColumn(_swigobj) (_swigobj->GetEdgeColumn())
7441 static PyObject *_wrap_wxStyledTextCtrl_GetEdgeColumn(PyObject *self, PyObject *args, PyObject *kwargs) {
7442 PyObject * _resultobj;
7443 int _result;
7444 wxStyledTextCtrl * _arg0;
7445 PyObject * _argo0 = 0;
7446 char *_kwnames[] = { "self", NULL };
7447
7448 self = self;
7449 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetEdgeColumn",_kwnames,&_argo0))
7450 return NULL;
7451 if (_argo0) {
7452 if (_argo0 == Py_None) { _arg0 = NULL; }
7453 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
7454 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetEdgeColumn. Expected _wxStyledTextCtrl_p.");
7455 return NULL;
7456 }
7457 }
7458 {
7459 PyThreadState* __tstate = wxPyBeginAllowThreads();
7460 _result = (int )wxStyledTextCtrl_GetEdgeColumn(_arg0);
7461
7462 wxPyEndAllowThreads(__tstate);
7463 if (PyErr_Occurred()) return NULL;
7464 } _resultobj = Py_BuildValue("i",_result);
7465 return _resultobj;
7466 }
7467
7468 #define wxStyledTextCtrl_SetEdgeColumn(_swigobj,_swigarg0) (_swigobj->SetEdgeColumn(_swigarg0))
7469 static PyObject *_wrap_wxStyledTextCtrl_SetEdgeColumn(PyObject *self, PyObject *args, PyObject *kwargs) {
7470 PyObject * _resultobj;
7471 wxStyledTextCtrl * _arg0;
7472 int _arg1;
7473 PyObject * _argo0 = 0;
7474 char *_kwnames[] = { "self","column", NULL };
7475
7476 self = self;
7477 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_SetEdgeColumn",_kwnames,&_argo0,&_arg1))
7478 return NULL;
7479 if (_argo0) {
7480 if (_argo0 == Py_None) { _arg0 = NULL; }
7481 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
7482 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetEdgeColumn. Expected _wxStyledTextCtrl_p.");
7483 return NULL;
7484 }
7485 }
7486 {
7487 PyThreadState* __tstate = wxPyBeginAllowThreads();
7488 wxStyledTextCtrl_SetEdgeColumn(_arg0,_arg1);
7489
7490 wxPyEndAllowThreads(__tstate);
7491 if (PyErr_Occurred()) return NULL;
7492 } Py_INCREF(Py_None);
7493 _resultobj = Py_None;
7494 return _resultobj;
7495 }
7496
7497 #define wxStyledTextCtrl_GetEdgeMode(_swigobj) (_swigobj->GetEdgeMode())
7498 static PyObject *_wrap_wxStyledTextCtrl_GetEdgeMode(PyObject *self, PyObject *args, PyObject *kwargs) {
7499 PyObject * _resultobj;
7500 int _result;
7501 wxStyledTextCtrl * _arg0;
7502 PyObject * _argo0 = 0;
7503 char *_kwnames[] = { "self", NULL };
7504
7505 self = self;
7506 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetEdgeMode",_kwnames,&_argo0))
7507 return NULL;
7508 if (_argo0) {
7509 if (_argo0 == Py_None) { _arg0 = NULL; }
7510 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
7511 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetEdgeMode. Expected _wxStyledTextCtrl_p.");
7512 return NULL;
7513 }
7514 }
7515 {
7516 PyThreadState* __tstate = wxPyBeginAllowThreads();
7517 _result = (int )wxStyledTextCtrl_GetEdgeMode(_arg0);
7518
7519 wxPyEndAllowThreads(__tstate);
7520 if (PyErr_Occurred()) return NULL;
7521 } _resultobj = Py_BuildValue("i",_result);
7522 return _resultobj;
7523 }
7524
7525 #define wxStyledTextCtrl_SetEdgeMode(_swigobj,_swigarg0) (_swigobj->SetEdgeMode(_swigarg0))
7526 static PyObject *_wrap_wxStyledTextCtrl_SetEdgeMode(PyObject *self, PyObject *args, PyObject *kwargs) {
7527 PyObject * _resultobj;
7528 wxStyledTextCtrl * _arg0;
7529 int _arg1;
7530 PyObject * _argo0 = 0;
7531 char *_kwnames[] = { "self","mode", NULL };
7532
7533 self = self;
7534 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_SetEdgeMode",_kwnames,&_argo0,&_arg1))
7535 return NULL;
7536 if (_argo0) {
7537 if (_argo0 == Py_None) { _arg0 = NULL; }
7538 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
7539 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetEdgeMode. Expected _wxStyledTextCtrl_p.");
7540 return NULL;
7541 }
7542 }
7543 {
7544 PyThreadState* __tstate = wxPyBeginAllowThreads();
7545 wxStyledTextCtrl_SetEdgeMode(_arg0,_arg1);
7546
7547 wxPyEndAllowThreads(__tstate);
7548 if (PyErr_Occurred()) return NULL;
7549 } Py_INCREF(Py_None);
7550 _resultobj = Py_None;
7551 return _resultobj;
7552 }
7553
7554 #define wxStyledTextCtrl_GetEdgeColour(_swigobj) (_swigobj->GetEdgeColour())
7555 static PyObject *_wrap_wxStyledTextCtrl_GetEdgeColour(PyObject *self, PyObject *args, PyObject *kwargs) {
7556 PyObject * _resultobj;
7557 wxColour * _result;
7558 wxStyledTextCtrl * _arg0;
7559 PyObject * _argo0 = 0;
7560 char *_kwnames[] = { "self", NULL };
7561 char _ptemp[128];
7562
7563 self = self;
7564 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetEdgeColour",_kwnames,&_argo0))
7565 return NULL;
7566 if (_argo0) {
7567 if (_argo0 == Py_None) { _arg0 = NULL; }
7568 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
7569 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetEdgeColour. Expected _wxStyledTextCtrl_p.");
7570 return NULL;
7571 }
7572 }
7573 {
7574 PyThreadState* __tstate = wxPyBeginAllowThreads();
7575 _result = new wxColour (wxStyledTextCtrl_GetEdgeColour(_arg0));
7576
7577 wxPyEndAllowThreads(__tstate);
7578 if (PyErr_Occurred()) return NULL;
7579 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxColour_p");
7580 _resultobj = Py_BuildValue("s",_ptemp);
7581 return _resultobj;
7582 }
7583
7584 #define wxStyledTextCtrl_SetEdgeColour(_swigobj,_swigarg0) (_swigobj->SetEdgeColour(_swigarg0))
7585 static PyObject *_wrap_wxStyledTextCtrl_SetEdgeColour(PyObject *self, PyObject *args, PyObject *kwargs) {
7586 PyObject * _resultobj;
7587 wxStyledTextCtrl * _arg0;
7588 wxColour * _arg1;
7589 PyObject * _argo0 = 0;
7590 wxColour temp;
7591 PyObject * _obj1 = 0;
7592 char *_kwnames[] = { "self","edgeColour", NULL };
7593
7594 self = self;
7595 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxStyledTextCtrl_SetEdgeColour",_kwnames,&_argo0,&_obj1))
7596 return NULL;
7597 if (_argo0) {
7598 if (_argo0 == Py_None) { _arg0 = NULL; }
7599 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
7600 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetEdgeColour. Expected _wxStyledTextCtrl_p.");
7601 return NULL;
7602 }
7603 }
7604 {
7605 _arg1 = &temp;
7606 if (! wxColour_helper(_obj1, &_arg1))
7607 return NULL;
7608 }
7609 {
7610 PyThreadState* __tstate = wxPyBeginAllowThreads();
7611 wxStyledTextCtrl_SetEdgeColour(_arg0,*_arg1);
7612
7613 wxPyEndAllowThreads(__tstate);
7614 if (PyErr_Occurred()) return NULL;
7615 } Py_INCREF(Py_None);
7616 _resultobj = Py_None;
7617 return _resultobj;
7618 }
7619
7620 #define wxStyledTextCtrl_SearchAnchor(_swigobj) (_swigobj->SearchAnchor())
7621 static PyObject *_wrap_wxStyledTextCtrl_SearchAnchor(PyObject *self, PyObject *args, PyObject *kwargs) {
7622 PyObject * _resultobj;
7623 wxStyledTextCtrl * _arg0;
7624 PyObject * _argo0 = 0;
7625 char *_kwnames[] = { "self", NULL };
7626
7627 self = self;
7628 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_SearchAnchor",_kwnames,&_argo0))
7629 return NULL;
7630 if (_argo0) {
7631 if (_argo0 == Py_None) { _arg0 = NULL; }
7632 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
7633 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SearchAnchor. Expected _wxStyledTextCtrl_p.");
7634 return NULL;
7635 }
7636 }
7637 {
7638 PyThreadState* __tstate = wxPyBeginAllowThreads();
7639 wxStyledTextCtrl_SearchAnchor(_arg0);
7640
7641 wxPyEndAllowThreads(__tstate);
7642 if (PyErr_Occurred()) return NULL;
7643 } Py_INCREF(Py_None);
7644 _resultobj = Py_None;
7645 return _resultobj;
7646 }
7647
7648 #define wxStyledTextCtrl_SearchNext(_swigobj,_swigarg0,_swigarg1) (_swigobj->SearchNext(_swigarg0,_swigarg1))
7649 static PyObject *_wrap_wxStyledTextCtrl_SearchNext(PyObject *self, PyObject *args, PyObject *kwargs) {
7650 PyObject * _resultobj;
7651 int _result;
7652 wxStyledTextCtrl * _arg0;
7653 int _arg1;
7654 wxString * _arg2;
7655 PyObject * _argo0 = 0;
7656 PyObject * _obj2 = 0;
7657 char *_kwnames[] = { "self","flags","text", NULL };
7658
7659 self = self;
7660 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxStyledTextCtrl_SearchNext",_kwnames,&_argo0,&_arg1,&_obj2))
7661 return NULL;
7662 if (_argo0) {
7663 if (_argo0 == Py_None) { _arg0 = NULL; }
7664 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
7665 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SearchNext. Expected _wxStyledTextCtrl_p.");
7666 return NULL;
7667 }
7668 }
7669 {
7670 _arg2 = wxString_in_helper(_obj2);
7671 if (_arg2 == NULL)
7672 return NULL;
7673 }
7674 {
7675 PyThreadState* __tstate = wxPyBeginAllowThreads();
7676 _result = (int )wxStyledTextCtrl_SearchNext(_arg0,_arg1,*_arg2);
7677
7678 wxPyEndAllowThreads(__tstate);
7679 if (PyErr_Occurred()) return NULL;
7680 } _resultobj = Py_BuildValue("i",_result);
7681 {
7682 if (_obj2)
7683 delete _arg2;
7684 }
7685 return _resultobj;
7686 }
7687
7688 #define wxStyledTextCtrl_SearchPrev(_swigobj,_swigarg0,_swigarg1) (_swigobj->SearchPrev(_swigarg0,_swigarg1))
7689 static PyObject *_wrap_wxStyledTextCtrl_SearchPrev(PyObject *self, PyObject *args, PyObject *kwargs) {
7690 PyObject * _resultobj;
7691 int _result;
7692 wxStyledTextCtrl * _arg0;
7693 int _arg1;
7694 wxString * _arg2;
7695 PyObject * _argo0 = 0;
7696 PyObject * _obj2 = 0;
7697 char *_kwnames[] = { "self","flags","text", NULL };
7698
7699 self = self;
7700 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxStyledTextCtrl_SearchPrev",_kwnames,&_argo0,&_arg1,&_obj2))
7701 return NULL;
7702 if (_argo0) {
7703 if (_argo0 == Py_None) { _arg0 = NULL; }
7704 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
7705 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SearchPrev. Expected _wxStyledTextCtrl_p.");
7706 return NULL;
7707 }
7708 }
7709 {
7710 _arg2 = wxString_in_helper(_obj2);
7711 if (_arg2 == NULL)
7712 return NULL;
7713 }
7714 {
7715 PyThreadState* __tstate = wxPyBeginAllowThreads();
7716 _result = (int )wxStyledTextCtrl_SearchPrev(_arg0,_arg1,*_arg2);
7717
7718 wxPyEndAllowThreads(__tstate);
7719 if (PyErr_Occurred()) return NULL;
7720 } _resultobj = Py_BuildValue("i",_result);
7721 {
7722 if (_obj2)
7723 delete _arg2;
7724 }
7725 return _resultobj;
7726 }
7727
7728 #define wxStyledTextCtrl_LinesOnScreen(_swigobj) (_swigobj->LinesOnScreen())
7729 static PyObject *_wrap_wxStyledTextCtrl_LinesOnScreen(PyObject *self, PyObject *args, PyObject *kwargs) {
7730 PyObject * _resultobj;
7731 int _result;
7732 wxStyledTextCtrl * _arg0;
7733 PyObject * _argo0 = 0;
7734 char *_kwnames[] = { "self", NULL };
7735
7736 self = self;
7737 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_LinesOnScreen",_kwnames,&_argo0))
7738 return NULL;
7739 if (_argo0) {
7740 if (_argo0 == Py_None) { _arg0 = NULL; }
7741 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
7742 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_LinesOnScreen. Expected _wxStyledTextCtrl_p.");
7743 return NULL;
7744 }
7745 }
7746 {
7747 PyThreadState* __tstate = wxPyBeginAllowThreads();
7748 _result = (int )wxStyledTextCtrl_LinesOnScreen(_arg0);
7749
7750 wxPyEndAllowThreads(__tstate);
7751 if (PyErr_Occurred()) return NULL;
7752 } _resultobj = Py_BuildValue("i",_result);
7753 return _resultobj;
7754 }
7755
7756 #define wxStyledTextCtrl_UsePopUp(_swigobj,_swigarg0) (_swigobj->UsePopUp(_swigarg0))
7757 static PyObject *_wrap_wxStyledTextCtrl_UsePopUp(PyObject *self, PyObject *args, PyObject *kwargs) {
7758 PyObject * _resultobj;
7759 wxStyledTextCtrl * _arg0;
7760 bool _arg1;
7761 PyObject * _argo0 = 0;
7762 int tempbool1;
7763 char *_kwnames[] = { "self","allowPopUp", NULL };
7764
7765 self = self;
7766 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_UsePopUp",_kwnames,&_argo0,&tempbool1))
7767 return NULL;
7768 if (_argo0) {
7769 if (_argo0 == Py_None) { _arg0 = NULL; }
7770 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
7771 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_UsePopUp. Expected _wxStyledTextCtrl_p.");
7772 return NULL;
7773 }
7774 }
7775 _arg1 = (bool ) tempbool1;
7776 {
7777 PyThreadState* __tstate = wxPyBeginAllowThreads();
7778 wxStyledTextCtrl_UsePopUp(_arg0,_arg1);
7779
7780 wxPyEndAllowThreads(__tstate);
7781 if (PyErr_Occurred()) return NULL;
7782 } Py_INCREF(Py_None);
7783 _resultobj = Py_None;
7784 return _resultobj;
7785 }
7786
7787 #define wxStyledTextCtrl_SelectionIsRectangle(_swigobj) (_swigobj->SelectionIsRectangle())
7788 static PyObject *_wrap_wxStyledTextCtrl_SelectionIsRectangle(PyObject *self, PyObject *args, PyObject *kwargs) {
7789 PyObject * _resultobj;
7790 bool _result;
7791 wxStyledTextCtrl * _arg0;
7792 PyObject * _argo0 = 0;
7793 char *_kwnames[] = { "self", NULL };
7794
7795 self = self;
7796 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_SelectionIsRectangle",_kwnames,&_argo0))
7797 return NULL;
7798 if (_argo0) {
7799 if (_argo0 == Py_None) { _arg0 = NULL; }
7800 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
7801 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SelectionIsRectangle. Expected _wxStyledTextCtrl_p.");
7802 return NULL;
7803 }
7804 }
7805 {
7806 PyThreadState* __tstate = wxPyBeginAllowThreads();
7807 _result = (bool )wxStyledTextCtrl_SelectionIsRectangle(_arg0);
7808
7809 wxPyEndAllowThreads(__tstate);
7810 if (PyErr_Occurred()) return NULL;
7811 } _resultobj = Py_BuildValue("i",_result);
7812 return _resultobj;
7813 }
7814
7815 #define wxStyledTextCtrl_SetZoom(_swigobj,_swigarg0) (_swigobj->SetZoom(_swigarg0))
7816 static PyObject *_wrap_wxStyledTextCtrl_SetZoom(PyObject *self, PyObject *args, PyObject *kwargs) {
7817 PyObject * _resultobj;
7818 wxStyledTextCtrl * _arg0;
7819 int _arg1;
7820 PyObject * _argo0 = 0;
7821 char *_kwnames[] = { "self","zoom", NULL };
7822
7823 self = self;
7824 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_SetZoom",_kwnames,&_argo0,&_arg1))
7825 return NULL;
7826 if (_argo0) {
7827 if (_argo0 == Py_None) { _arg0 = NULL; }
7828 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
7829 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetZoom. Expected _wxStyledTextCtrl_p.");
7830 return NULL;
7831 }
7832 }
7833 {
7834 PyThreadState* __tstate = wxPyBeginAllowThreads();
7835 wxStyledTextCtrl_SetZoom(_arg0,_arg1);
7836
7837 wxPyEndAllowThreads(__tstate);
7838 if (PyErr_Occurred()) return NULL;
7839 } Py_INCREF(Py_None);
7840 _resultobj = Py_None;
7841 return _resultobj;
7842 }
7843
7844 #define wxStyledTextCtrl_GetZoom(_swigobj) (_swigobj->GetZoom())
7845 static PyObject *_wrap_wxStyledTextCtrl_GetZoom(PyObject *self, PyObject *args, PyObject *kwargs) {
7846 PyObject * _resultobj;
7847 int _result;
7848 wxStyledTextCtrl * _arg0;
7849 PyObject * _argo0 = 0;
7850 char *_kwnames[] = { "self", NULL };
7851
7852 self = self;
7853 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetZoom",_kwnames,&_argo0))
7854 return NULL;
7855 if (_argo0) {
7856 if (_argo0 == Py_None) { _arg0 = NULL; }
7857 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
7858 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetZoom. Expected _wxStyledTextCtrl_p.");
7859 return NULL;
7860 }
7861 }
7862 {
7863 PyThreadState* __tstate = wxPyBeginAllowThreads();
7864 _result = (int )wxStyledTextCtrl_GetZoom(_arg0);
7865
7866 wxPyEndAllowThreads(__tstate);
7867 if (PyErr_Occurred()) return NULL;
7868 } _resultobj = Py_BuildValue("i",_result);
7869 return _resultobj;
7870 }
7871
7872 #define wxStyledTextCtrl_CreateDocument(_swigobj) (_swigobj->CreateDocument())
7873 static PyObject *_wrap_wxStyledTextCtrl_CreateDocument(PyObject *self, PyObject *args, PyObject *kwargs) {
7874 PyObject * _resultobj;
7875 void * _result;
7876 wxStyledTextCtrl * _arg0;
7877 PyObject * _argo0 = 0;
7878 char *_kwnames[] = { "self", NULL };
7879 char _ptemp[128];
7880
7881 self = self;
7882 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_CreateDocument",_kwnames,&_argo0))
7883 return NULL;
7884 if (_argo0) {
7885 if (_argo0 == Py_None) { _arg0 = NULL; }
7886 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
7887 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_CreateDocument. Expected _wxStyledTextCtrl_p.");
7888 return NULL;
7889 }
7890 }
7891 {
7892 PyThreadState* __tstate = wxPyBeginAllowThreads();
7893 _result = (void *)wxStyledTextCtrl_CreateDocument(_arg0);
7894
7895 wxPyEndAllowThreads(__tstate);
7896 if (PyErr_Occurred()) return NULL;
7897 } if (_result) {
7898 SWIG_MakePtr(_ptemp, (char *) _result,"_void_p");
7899 _resultobj = Py_BuildValue("s",_ptemp);
7900 } else {
7901 Py_INCREF(Py_None);
7902 _resultobj = Py_None;
7903 }
7904 return _resultobj;
7905 }
7906
7907 #define wxStyledTextCtrl_AddRefDocument(_swigobj,_swigarg0) (_swigobj->AddRefDocument(_swigarg0))
7908 static PyObject *_wrap_wxStyledTextCtrl_AddRefDocument(PyObject *self, PyObject *args, PyObject *kwargs) {
7909 PyObject * _resultobj;
7910 wxStyledTextCtrl * _arg0;
7911 void * _arg1;
7912 PyObject * _argo0 = 0;
7913 PyObject * _argo1 = 0;
7914 char *_kwnames[] = { "self","docPointer", NULL };
7915
7916 self = self;
7917 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxStyledTextCtrl_AddRefDocument",_kwnames,&_argo0,&_argo1))
7918 return NULL;
7919 if (_argo0) {
7920 if (_argo0 == Py_None) { _arg0 = NULL; }
7921 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
7922 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_AddRefDocument. Expected _wxStyledTextCtrl_p.");
7923 return NULL;
7924 }
7925 }
7926 if (_argo1) {
7927 if (_argo1 == Py_None) { _arg1 = NULL; }
7928 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,(char *) 0 )) {
7929 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxStyledTextCtrl_AddRefDocument. Expected _void_p.");
7930 return NULL;
7931 }
7932 }
7933 {
7934 PyThreadState* __tstate = wxPyBeginAllowThreads();
7935 wxStyledTextCtrl_AddRefDocument(_arg0,_arg1);
7936
7937 wxPyEndAllowThreads(__tstate);
7938 if (PyErr_Occurred()) return NULL;
7939 } Py_INCREF(Py_None);
7940 _resultobj = Py_None;
7941 return _resultobj;
7942 }
7943
7944 #define wxStyledTextCtrl_ReleaseDocument(_swigobj,_swigarg0) (_swigobj->ReleaseDocument(_swigarg0))
7945 static PyObject *_wrap_wxStyledTextCtrl_ReleaseDocument(PyObject *self, PyObject *args, PyObject *kwargs) {
7946 PyObject * _resultobj;
7947 wxStyledTextCtrl * _arg0;
7948 void * _arg1;
7949 PyObject * _argo0 = 0;
7950 PyObject * _argo1 = 0;
7951 char *_kwnames[] = { "self","docPointer", NULL };
7952
7953 self = self;
7954 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxStyledTextCtrl_ReleaseDocument",_kwnames,&_argo0,&_argo1))
7955 return NULL;
7956 if (_argo0) {
7957 if (_argo0 == Py_None) { _arg0 = NULL; }
7958 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
7959 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_ReleaseDocument. Expected _wxStyledTextCtrl_p.");
7960 return NULL;
7961 }
7962 }
7963 if (_argo1) {
7964 if (_argo1 == Py_None) { _arg1 = NULL; }
7965 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,(char *) 0 )) {
7966 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxStyledTextCtrl_ReleaseDocument. Expected _void_p.");
7967 return NULL;
7968 }
7969 }
7970 {
7971 PyThreadState* __tstate = wxPyBeginAllowThreads();
7972 wxStyledTextCtrl_ReleaseDocument(_arg0,_arg1);
7973
7974 wxPyEndAllowThreads(__tstate);
7975 if (PyErr_Occurred()) return NULL;
7976 } Py_INCREF(Py_None);
7977 _resultobj = Py_None;
7978 return _resultobj;
7979 }
7980
7981 #define wxStyledTextCtrl_GetModEventMask(_swigobj) (_swigobj->GetModEventMask())
7982 static PyObject *_wrap_wxStyledTextCtrl_GetModEventMask(PyObject *self, PyObject *args, PyObject *kwargs) {
7983 PyObject * _resultobj;
7984 int _result;
7985 wxStyledTextCtrl * _arg0;
7986 PyObject * _argo0 = 0;
7987 char *_kwnames[] = { "self", NULL };
7988
7989 self = self;
7990 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetModEventMask",_kwnames,&_argo0))
7991 return NULL;
7992 if (_argo0) {
7993 if (_argo0 == Py_None) { _arg0 = NULL; }
7994 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
7995 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetModEventMask. Expected _wxStyledTextCtrl_p.");
7996 return NULL;
7997 }
7998 }
7999 {
8000 PyThreadState* __tstate = wxPyBeginAllowThreads();
8001 _result = (int )wxStyledTextCtrl_GetModEventMask(_arg0);
8002
8003 wxPyEndAllowThreads(__tstate);
8004 if (PyErr_Occurred()) return NULL;
8005 } _resultobj = Py_BuildValue("i",_result);
8006 return _resultobj;
8007 }
8008
8009 #define wxStyledTextCtrl_SetSTCFocus(_swigobj,_swigarg0) (_swigobj->SetSTCFocus(_swigarg0))
8010 static PyObject *_wrap_wxStyledTextCtrl_SetSTCFocus(PyObject *self, PyObject *args, PyObject *kwargs) {
8011 PyObject * _resultobj;
8012 wxStyledTextCtrl * _arg0;
8013 bool _arg1;
8014 PyObject * _argo0 = 0;
8015 int tempbool1;
8016 char *_kwnames[] = { "self","focus", NULL };
8017
8018 self = self;
8019 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_SetSTCFocus",_kwnames,&_argo0,&tempbool1))
8020 return NULL;
8021 if (_argo0) {
8022 if (_argo0 == Py_None) { _arg0 = NULL; }
8023 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
8024 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetSTCFocus. Expected _wxStyledTextCtrl_p.");
8025 return NULL;
8026 }
8027 }
8028 _arg1 = (bool ) tempbool1;
8029 {
8030 PyThreadState* __tstate = wxPyBeginAllowThreads();
8031 wxStyledTextCtrl_SetSTCFocus(_arg0,_arg1);
8032
8033 wxPyEndAllowThreads(__tstate);
8034 if (PyErr_Occurred()) return NULL;
8035 } Py_INCREF(Py_None);
8036 _resultobj = Py_None;
8037 return _resultobj;
8038 }
8039
8040 #define wxStyledTextCtrl_GetSTCFocus(_swigobj) (_swigobj->GetSTCFocus())
8041 static PyObject *_wrap_wxStyledTextCtrl_GetSTCFocus(PyObject *self, PyObject *args, PyObject *kwargs) {
8042 PyObject * _resultobj;
8043 bool _result;
8044 wxStyledTextCtrl * _arg0;
8045 PyObject * _argo0 = 0;
8046 char *_kwnames[] = { "self", NULL };
8047
8048 self = self;
8049 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetSTCFocus",_kwnames,&_argo0))
8050 return NULL;
8051 if (_argo0) {
8052 if (_argo0 == Py_None) { _arg0 = NULL; }
8053 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
8054 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetSTCFocus. Expected _wxStyledTextCtrl_p.");
8055 return NULL;
8056 }
8057 }
8058 {
8059 PyThreadState* __tstate = wxPyBeginAllowThreads();
8060 _result = (bool )wxStyledTextCtrl_GetSTCFocus(_arg0);
8061
8062 wxPyEndAllowThreads(__tstate);
8063 if (PyErr_Occurred()) return NULL;
8064 } _resultobj = Py_BuildValue("i",_result);
8065 return _resultobj;
8066 }
8067
8068 #define wxStyledTextCtrl_SetStatus(_swigobj,_swigarg0) (_swigobj->SetStatus(_swigarg0))
8069 static PyObject *_wrap_wxStyledTextCtrl_SetStatus(PyObject *self, PyObject *args, PyObject *kwargs) {
8070 PyObject * _resultobj;
8071 wxStyledTextCtrl * _arg0;
8072 int _arg1;
8073 PyObject * _argo0 = 0;
8074 char *_kwnames[] = { "self","statusCode", NULL };
8075
8076 self = self;
8077 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_SetStatus",_kwnames,&_argo0,&_arg1))
8078 return NULL;
8079 if (_argo0) {
8080 if (_argo0 == Py_None) { _arg0 = NULL; }
8081 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
8082 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetStatus. Expected _wxStyledTextCtrl_p.");
8083 return NULL;
8084 }
8085 }
8086 {
8087 PyThreadState* __tstate = wxPyBeginAllowThreads();
8088 wxStyledTextCtrl_SetStatus(_arg0,_arg1);
8089
8090 wxPyEndAllowThreads(__tstate);
8091 if (PyErr_Occurred()) return NULL;
8092 } Py_INCREF(Py_None);
8093 _resultobj = Py_None;
8094 return _resultobj;
8095 }
8096
8097 #define wxStyledTextCtrl_GetStatus(_swigobj) (_swigobj->GetStatus())
8098 static PyObject *_wrap_wxStyledTextCtrl_GetStatus(PyObject *self, PyObject *args, PyObject *kwargs) {
8099 PyObject * _resultobj;
8100 int _result;
8101 wxStyledTextCtrl * _arg0;
8102 PyObject * _argo0 = 0;
8103 char *_kwnames[] = { "self", NULL };
8104
8105 self = self;
8106 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetStatus",_kwnames,&_argo0))
8107 return NULL;
8108 if (_argo0) {
8109 if (_argo0 == Py_None) { _arg0 = NULL; }
8110 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
8111 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetStatus. Expected _wxStyledTextCtrl_p.");
8112 return NULL;
8113 }
8114 }
8115 {
8116 PyThreadState* __tstate = wxPyBeginAllowThreads();
8117 _result = (int )wxStyledTextCtrl_GetStatus(_arg0);
8118
8119 wxPyEndAllowThreads(__tstate);
8120 if (PyErr_Occurred()) return NULL;
8121 } _resultobj = Py_BuildValue("i",_result);
8122 return _resultobj;
8123 }
8124
8125 #define wxStyledTextCtrl_SetMouseDownCaptures(_swigobj,_swigarg0) (_swigobj->SetMouseDownCaptures(_swigarg0))
8126 static PyObject *_wrap_wxStyledTextCtrl_SetMouseDownCaptures(PyObject *self, PyObject *args, PyObject *kwargs) {
8127 PyObject * _resultobj;
8128 wxStyledTextCtrl * _arg0;
8129 bool _arg1;
8130 PyObject * _argo0 = 0;
8131 int tempbool1;
8132 char *_kwnames[] = { "self","captures", NULL };
8133
8134 self = self;
8135 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_SetMouseDownCaptures",_kwnames,&_argo0,&tempbool1))
8136 return NULL;
8137 if (_argo0) {
8138 if (_argo0 == Py_None) { _arg0 = NULL; }
8139 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
8140 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetMouseDownCaptures. Expected _wxStyledTextCtrl_p.");
8141 return NULL;
8142 }
8143 }
8144 _arg1 = (bool ) tempbool1;
8145 {
8146 PyThreadState* __tstate = wxPyBeginAllowThreads();
8147 wxStyledTextCtrl_SetMouseDownCaptures(_arg0,_arg1);
8148
8149 wxPyEndAllowThreads(__tstate);
8150 if (PyErr_Occurred()) return NULL;
8151 } Py_INCREF(Py_None);
8152 _resultobj = Py_None;
8153 return _resultobj;
8154 }
8155
8156 #define wxStyledTextCtrl_GetMouseDownCaptures(_swigobj) (_swigobj->GetMouseDownCaptures())
8157 static PyObject *_wrap_wxStyledTextCtrl_GetMouseDownCaptures(PyObject *self, PyObject *args, PyObject *kwargs) {
8158 PyObject * _resultobj;
8159 bool _result;
8160 wxStyledTextCtrl * _arg0;
8161 PyObject * _argo0 = 0;
8162 char *_kwnames[] = { "self", NULL };
8163
8164 self = self;
8165 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetMouseDownCaptures",_kwnames,&_argo0))
8166 return NULL;
8167 if (_argo0) {
8168 if (_argo0 == Py_None) { _arg0 = NULL; }
8169 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
8170 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetMouseDownCaptures. Expected _wxStyledTextCtrl_p.");
8171 return NULL;
8172 }
8173 }
8174 {
8175 PyThreadState* __tstate = wxPyBeginAllowThreads();
8176 _result = (bool )wxStyledTextCtrl_GetMouseDownCaptures(_arg0);
8177
8178 wxPyEndAllowThreads(__tstate);
8179 if (PyErr_Occurred()) return NULL;
8180 } _resultobj = Py_BuildValue("i",_result);
8181 return _resultobj;
8182 }
8183
8184 #define wxStyledTextCtrl_SetCursor(_swigobj,_swigarg0) (_swigobj->SetCursor(_swigarg0))
8185 static PyObject *_wrap_wxStyledTextCtrl_SetCursor(PyObject *self, PyObject *args, PyObject *kwargs) {
8186 PyObject * _resultobj;
8187 wxStyledTextCtrl * _arg0;
8188 int _arg1;
8189 PyObject * _argo0 = 0;
8190 char *_kwnames[] = { "self","cursorType", NULL };
8191
8192 self = self;
8193 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_SetCursor",_kwnames,&_argo0,&_arg1))
8194 return NULL;
8195 if (_argo0) {
8196 if (_argo0 == Py_None) { _arg0 = NULL; }
8197 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
8198 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetCursor. Expected _wxStyledTextCtrl_p.");
8199 return NULL;
8200 }
8201 }
8202 {
8203 PyThreadState* __tstate = wxPyBeginAllowThreads();
8204 wxStyledTextCtrl_SetCursor(_arg0,_arg1);
8205
8206 wxPyEndAllowThreads(__tstate);
8207 if (PyErr_Occurred()) return NULL;
8208 } Py_INCREF(Py_None);
8209 _resultobj = Py_None;
8210 return _resultobj;
8211 }
8212
8213 #define wxStyledTextCtrl_GetCursor(_swigobj) (_swigobj->GetCursor())
8214 static PyObject *_wrap_wxStyledTextCtrl_GetCursor(PyObject *self, PyObject *args, PyObject *kwargs) {
8215 PyObject * _resultobj;
8216 int _result;
8217 wxStyledTextCtrl * _arg0;
8218 PyObject * _argo0 = 0;
8219 char *_kwnames[] = { "self", NULL };
8220
8221 self = self;
8222 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetCursor",_kwnames,&_argo0))
8223 return NULL;
8224 if (_argo0) {
8225 if (_argo0 == Py_None) { _arg0 = NULL; }
8226 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
8227 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetCursor. Expected _wxStyledTextCtrl_p.");
8228 return NULL;
8229 }
8230 }
8231 {
8232 PyThreadState* __tstate = wxPyBeginAllowThreads();
8233 _result = (int )wxStyledTextCtrl_GetCursor(_arg0);
8234
8235 wxPyEndAllowThreads(__tstate);
8236 if (PyErr_Occurred()) return NULL;
8237 } _resultobj = Py_BuildValue("i",_result);
8238 return _resultobj;
8239 }
8240
8241 #define wxStyledTextCtrl_SetControlCharSymbol(_swigobj,_swigarg0) (_swigobj->SetControlCharSymbol(_swigarg0))
8242 static PyObject *_wrap_wxStyledTextCtrl_SetControlCharSymbol(PyObject *self, PyObject *args, PyObject *kwargs) {
8243 PyObject * _resultobj;
8244 wxStyledTextCtrl * _arg0;
8245 int _arg1;
8246 PyObject * _argo0 = 0;
8247 char *_kwnames[] = { "self","symbol", NULL };
8248
8249 self = self;
8250 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_SetControlCharSymbol",_kwnames,&_argo0,&_arg1))
8251 return NULL;
8252 if (_argo0) {
8253 if (_argo0 == Py_None) { _arg0 = NULL; }
8254 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
8255 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetControlCharSymbol. Expected _wxStyledTextCtrl_p.");
8256 return NULL;
8257 }
8258 }
8259 {
8260 PyThreadState* __tstate = wxPyBeginAllowThreads();
8261 wxStyledTextCtrl_SetControlCharSymbol(_arg0,_arg1);
8262
8263 wxPyEndAllowThreads(__tstate);
8264 if (PyErr_Occurred()) return NULL;
8265 } Py_INCREF(Py_None);
8266 _resultobj = Py_None;
8267 return _resultobj;
8268 }
8269
8270 #define wxStyledTextCtrl_GetControlCharSymbol(_swigobj) (_swigobj->GetControlCharSymbol())
8271 static PyObject *_wrap_wxStyledTextCtrl_GetControlCharSymbol(PyObject *self, PyObject *args, PyObject *kwargs) {
8272 PyObject * _resultobj;
8273 int _result;
8274 wxStyledTextCtrl * _arg0;
8275 PyObject * _argo0 = 0;
8276 char *_kwnames[] = { "self", NULL };
8277
8278 self = self;
8279 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetControlCharSymbol",_kwnames,&_argo0))
8280 return NULL;
8281 if (_argo0) {
8282 if (_argo0 == Py_None) { _arg0 = NULL; }
8283 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
8284 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetControlCharSymbol. Expected _wxStyledTextCtrl_p.");
8285 return NULL;
8286 }
8287 }
8288 {
8289 PyThreadState* __tstate = wxPyBeginAllowThreads();
8290 _result = (int )wxStyledTextCtrl_GetControlCharSymbol(_arg0);
8291
8292 wxPyEndAllowThreads(__tstate);
8293 if (PyErr_Occurred()) return NULL;
8294 } _resultobj = Py_BuildValue("i",_result);
8295 return _resultobj;
8296 }
8297
8298 #define wxStyledTextCtrl_WordPartLeft(_swigobj) (_swigobj->WordPartLeft())
8299 static PyObject *_wrap_wxStyledTextCtrl_WordPartLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
8300 PyObject * _resultobj;
8301 wxStyledTextCtrl * _arg0;
8302 PyObject * _argo0 = 0;
8303 char *_kwnames[] = { "self", NULL };
8304
8305 self = self;
8306 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_WordPartLeft",_kwnames,&_argo0))
8307 return NULL;
8308 if (_argo0) {
8309 if (_argo0 == Py_None) { _arg0 = NULL; }
8310 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
8311 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_WordPartLeft. Expected _wxStyledTextCtrl_p.");
8312 return NULL;
8313 }
8314 }
8315 {
8316 PyThreadState* __tstate = wxPyBeginAllowThreads();
8317 wxStyledTextCtrl_WordPartLeft(_arg0);
8318
8319 wxPyEndAllowThreads(__tstate);
8320 if (PyErr_Occurred()) return NULL;
8321 } Py_INCREF(Py_None);
8322 _resultobj = Py_None;
8323 return _resultobj;
8324 }
8325
8326 #define wxStyledTextCtrl_WordPartLeftExtend(_swigobj) (_swigobj->WordPartLeftExtend())
8327 static PyObject *_wrap_wxStyledTextCtrl_WordPartLeftExtend(PyObject *self, PyObject *args, PyObject *kwargs) {
8328 PyObject * _resultobj;
8329 wxStyledTextCtrl * _arg0;
8330 PyObject * _argo0 = 0;
8331 char *_kwnames[] = { "self", NULL };
8332
8333 self = self;
8334 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_WordPartLeftExtend",_kwnames,&_argo0))
8335 return NULL;
8336 if (_argo0) {
8337 if (_argo0 == Py_None) { _arg0 = NULL; }
8338 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
8339 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_WordPartLeftExtend. Expected _wxStyledTextCtrl_p.");
8340 return NULL;
8341 }
8342 }
8343 {
8344 PyThreadState* __tstate = wxPyBeginAllowThreads();
8345 wxStyledTextCtrl_WordPartLeftExtend(_arg0);
8346
8347 wxPyEndAllowThreads(__tstate);
8348 if (PyErr_Occurred()) return NULL;
8349 } Py_INCREF(Py_None);
8350 _resultobj = Py_None;
8351 return _resultobj;
8352 }
8353
8354 #define wxStyledTextCtrl_WordPartRight(_swigobj) (_swigobj->WordPartRight())
8355 static PyObject *_wrap_wxStyledTextCtrl_WordPartRight(PyObject *self, PyObject *args, PyObject *kwargs) {
8356 PyObject * _resultobj;
8357 wxStyledTextCtrl * _arg0;
8358 PyObject * _argo0 = 0;
8359 char *_kwnames[] = { "self", NULL };
8360
8361 self = self;
8362 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_WordPartRight",_kwnames,&_argo0))
8363 return NULL;
8364 if (_argo0) {
8365 if (_argo0 == Py_None) { _arg0 = NULL; }
8366 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
8367 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_WordPartRight. Expected _wxStyledTextCtrl_p.");
8368 return NULL;
8369 }
8370 }
8371 {
8372 PyThreadState* __tstate = wxPyBeginAllowThreads();
8373 wxStyledTextCtrl_WordPartRight(_arg0);
8374
8375 wxPyEndAllowThreads(__tstate);
8376 if (PyErr_Occurred()) return NULL;
8377 } Py_INCREF(Py_None);
8378 _resultobj = Py_None;
8379 return _resultobj;
8380 }
8381
8382 #define wxStyledTextCtrl_WordPartRightExtend(_swigobj) (_swigobj->WordPartRightExtend())
8383 static PyObject *_wrap_wxStyledTextCtrl_WordPartRightExtend(PyObject *self, PyObject *args, PyObject *kwargs) {
8384 PyObject * _resultobj;
8385 wxStyledTextCtrl * _arg0;
8386 PyObject * _argo0 = 0;
8387 char *_kwnames[] = { "self", NULL };
8388
8389 self = self;
8390 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_WordPartRightExtend",_kwnames,&_argo0))
8391 return NULL;
8392 if (_argo0) {
8393 if (_argo0 == Py_None) { _arg0 = NULL; }
8394 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
8395 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_WordPartRightExtend. Expected _wxStyledTextCtrl_p.");
8396 return NULL;
8397 }
8398 }
8399 {
8400 PyThreadState* __tstate = wxPyBeginAllowThreads();
8401 wxStyledTextCtrl_WordPartRightExtend(_arg0);
8402
8403 wxPyEndAllowThreads(__tstate);
8404 if (PyErr_Occurred()) return NULL;
8405 } Py_INCREF(Py_None);
8406 _resultobj = Py_None;
8407 return _resultobj;
8408 }
8409
8410 #define wxStyledTextCtrl_SetVisiblePolicy(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetVisiblePolicy(_swigarg0,_swigarg1))
8411 static PyObject *_wrap_wxStyledTextCtrl_SetVisiblePolicy(PyObject *self, PyObject *args, PyObject *kwargs) {
8412 PyObject * _resultobj;
8413 wxStyledTextCtrl * _arg0;
8414 int _arg1;
8415 int _arg2;
8416 PyObject * _argo0 = 0;
8417 char *_kwnames[] = { "self","visiblePolicy","visibleSlop", NULL };
8418
8419 self = self;
8420 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxStyledTextCtrl_SetVisiblePolicy",_kwnames,&_argo0,&_arg1,&_arg2))
8421 return NULL;
8422 if (_argo0) {
8423 if (_argo0 == Py_None) { _arg0 = NULL; }
8424 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
8425 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetVisiblePolicy. Expected _wxStyledTextCtrl_p.");
8426 return NULL;
8427 }
8428 }
8429 {
8430 PyThreadState* __tstate = wxPyBeginAllowThreads();
8431 wxStyledTextCtrl_SetVisiblePolicy(_arg0,_arg1,_arg2);
8432
8433 wxPyEndAllowThreads(__tstate);
8434 if (PyErr_Occurred()) return NULL;
8435 } Py_INCREF(Py_None);
8436 _resultobj = Py_None;
8437 return _resultobj;
8438 }
8439
8440 #define wxStyledTextCtrl_DelLineLeft(_swigobj) (_swigobj->DelLineLeft())
8441 static PyObject *_wrap_wxStyledTextCtrl_DelLineLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
8442 PyObject * _resultobj;
8443 wxStyledTextCtrl * _arg0;
8444 PyObject * _argo0 = 0;
8445 char *_kwnames[] = { "self", NULL };
8446
8447 self = self;
8448 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_DelLineLeft",_kwnames,&_argo0))
8449 return NULL;
8450 if (_argo0) {
8451 if (_argo0 == Py_None) { _arg0 = NULL; }
8452 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
8453 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_DelLineLeft. Expected _wxStyledTextCtrl_p.");
8454 return NULL;
8455 }
8456 }
8457 {
8458 PyThreadState* __tstate = wxPyBeginAllowThreads();
8459 wxStyledTextCtrl_DelLineLeft(_arg0);
8460
8461 wxPyEndAllowThreads(__tstate);
8462 if (PyErr_Occurred()) return NULL;
8463 } Py_INCREF(Py_None);
8464 _resultobj = Py_None;
8465 return _resultobj;
8466 }
8467
8468 #define wxStyledTextCtrl_DelLineRight(_swigobj) (_swigobj->DelLineRight())
8469 static PyObject *_wrap_wxStyledTextCtrl_DelLineRight(PyObject *self, PyObject *args, PyObject *kwargs) {
8470 PyObject * _resultobj;
8471 wxStyledTextCtrl * _arg0;
8472 PyObject * _argo0 = 0;
8473 char *_kwnames[] = { "self", NULL };
8474
8475 self = self;
8476 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_DelLineRight",_kwnames,&_argo0))
8477 return NULL;
8478 if (_argo0) {
8479 if (_argo0 == Py_None) { _arg0 = NULL; }
8480 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
8481 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_DelLineRight. Expected _wxStyledTextCtrl_p.");
8482 return NULL;
8483 }
8484 }
8485 {
8486 PyThreadState* __tstate = wxPyBeginAllowThreads();
8487 wxStyledTextCtrl_DelLineRight(_arg0);
8488
8489 wxPyEndAllowThreads(__tstate);
8490 if (PyErr_Occurred()) return NULL;
8491 } Py_INCREF(Py_None);
8492 _resultobj = Py_None;
8493 return _resultobj;
8494 }
8495
8496 #define wxStyledTextCtrl_SetXOffset(_swigobj,_swigarg0) (_swigobj->SetXOffset(_swigarg0))
8497 static PyObject *_wrap_wxStyledTextCtrl_SetXOffset(PyObject *self, PyObject *args, PyObject *kwargs) {
8498 PyObject * _resultobj;
8499 wxStyledTextCtrl * _arg0;
8500 int _arg1;
8501 PyObject * _argo0 = 0;
8502 char *_kwnames[] = { "self","newOffset", NULL };
8503
8504 self = self;
8505 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_SetXOffset",_kwnames,&_argo0,&_arg1))
8506 return NULL;
8507 if (_argo0) {
8508 if (_argo0 == Py_None) { _arg0 = NULL; }
8509 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
8510 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetXOffset. Expected _wxStyledTextCtrl_p.");
8511 return NULL;
8512 }
8513 }
8514 {
8515 PyThreadState* __tstate = wxPyBeginAllowThreads();
8516 wxStyledTextCtrl_SetXOffset(_arg0,_arg1);
8517
8518 wxPyEndAllowThreads(__tstate);
8519 if (PyErr_Occurred()) return NULL;
8520 } Py_INCREF(Py_None);
8521 _resultobj = Py_None;
8522 return _resultobj;
8523 }
8524
8525 #define wxStyledTextCtrl_GetXOffset(_swigobj) (_swigobj->GetXOffset())
8526 static PyObject *_wrap_wxStyledTextCtrl_GetXOffset(PyObject *self, PyObject *args, PyObject *kwargs) {
8527 PyObject * _resultobj;
8528 int _result;
8529 wxStyledTextCtrl * _arg0;
8530 PyObject * _argo0 = 0;
8531 char *_kwnames[] = { "self", NULL };
8532
8533 self = self;
8534 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetXOffset",_kwnames,&_argo0))
8535 return NULL;
8536 if (_argo0) {
8537 if (_argo0 == Py_None) { _arg0 = NULL; }
8538 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
8539 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetXOffset. Expected _wxStyledTextCtrl_p.");
8540 return NULL;
8541 }
8542 }
8543 {
8544 PyThreadState* __tstate = wxPyBeginAllowThreads();
8545 _result = (int )wxStyledTextCtrl_GetXOffset(_arg0);
8546
8547 wxPyEndAllowThreads(__tstate);
8548 if (PyErr_Occurred()) return NULL;
8549 } _resultobj = Py_BuildValue("i",_result);
8550 return _resultobj;
8551 }
8552
8553 #define wxStyledTextCtrl_SetXCaretPolicy(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetXCaretPolicy(_swigarg0,_swigarg1))
8554 static PyObject *_wrap_wxStyledTextCtrl_SetXCaretPolicy(PyObject *self, PyObject *args, PyObject *kwargs) {
8555 PyObject * _resultobj;
8556 wxStyledTextCtrl * _arg0;
8557 int _arg1;
8558 int _arg2;
8559 PyObject * _argo0 = 0;
8560 char *_kwnames[] = { "self","caretPolicy","caretSlop", NULL };
8561
8562 self = self;
8563 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxStyledTextCtrl_SetXCaretPolicy",_kwnames,&_argo0,&_arg1,&_arg2))
8564 return NULL;
8565 if (_argo0) {
8566 if (_argo0 == Py_None) { _arg0 = NULL; }
8567 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
8568 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetXCaretPolicy. Expected _wxStyledTextCtrl_p.");
8569 return NULL;
8570 }
8571 }
8572 {
8573 PyThreadState* __tstate = wxPyBeginAllowThreads();
8574 wxStyledTextCtrl_SetXCaretPolicy(_arg0,_arg1,_arg2);
8575
8576 wxPyEndAllowThreads(__tstate);
8577 if (PyErr_Occurred()) return NULL;
8578 } Py_INCREF(Py_None);
8579 _resultobj = Py_None;
8580 return _resultobj;
8581 }
8582
8583 #define wxStyledTextCtrl_SetYCaretPolicy(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetYCaretPolicy(_swigarg0,_swigarg1))
8584 static PyObject *_wrap_wxStyledTextCtrl_SetYCaretPolicy(PyObject *self, PyObject *args, PyObject *kwargs) {
8585 PyObject * _resultobj;
8586 wxStyledTextCtrl * _arg0;
8587 int _arg1;
8588 int _arg2;
8589 PyObject * _argo0 = 0;
8590 char *_kwnames[] = { "self","caretPolicy","caretSlop", NULL };
8591
8592 self = self;
8593 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxStyledTextCtrl_SetYCaretPolicy",_kwnames,&_argo0,&_arg1,&_arg2))
8594 return NULL;
8595 if (_argo0) {
8596 if (_argo0 == Py_None) { _arg0 = NULL; }
8597 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
8598 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetYCaretPolicy. Expected _wxStyledTextCtrl_p.");
8599 return NULL;
8600 }
8601 }
8602 {
8603 PyThreadState* __tstate = wxPyBeginAllowThreads();
8604 wxStyledTextCtrl_SetYCaretPolicy(_arg0,_arg1,_arg2);
8605
8606 wxPyEndAllowThreads(__tstate);
8607 if (PyErr_Occurred()) return NULL;
8608 } Py_INCREF(Py_None);
8609 _resultobj = Py_None;
8610 return _resultobj;
8611 }
8612
8613 #define wxStyledTextCtrl_StartRecord(_swigobj) (_swigobj->StartRecord())
8614 static PyObject *_wrap_wxStyledTextCtrl_StartRecord(PyObject *self, PyObject *args, PyObject *kwargs) {
8615 PyObject * _resultobj;
8616 wxStyledTextCtrl * _arg0;
8617 PyObject * _argo0 = 0;
8618 char *_kwnames[] = { "self", NULL };
8619
8620 self = self;
8621 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_StartRecord",_kwnames,&_argo0))
8622 return NULL;
8623 if (_argo0) {
8624 if (_argo0 == Py_None) { _arg0 = NULL; }
8625 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
8626 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_StartRecord. Expected _wxStyledTextCtrl_p.");
8627 return NULL;
8628 }
8629 }
8630 {
8631 PyThreadState* __tstate = wxPyBeginAllowThreads();
8632 wxStyledTextCtrl_StartRecord(_arg0);
8633
8634 wxPyEndAllowThreads(__tstate);
8635 if (PyErr_Occurred()) return NULL;
8636 } Py_INCREF(Py_None);
8637 _resultobj = Py_None;
8638 return _resultobj;
8639 }
8640
8641 #define wxStyledTextCtrl_StopRecord(_swigobj) (_swigobj->StopRecord())
8642 static PyObject *_wrap_wxStyledTextCtrl_StopRecord(PyObject *self, PyObject *args, PyObject *kwargs) {
8643 PyObject * _resultobj;
8644 wxStyledTextCtrl * _arg0;
8645 PyObject * _argo0 = 0;
8646 char *_kwnames[] = { "self", NULL };
8647
8648 self = self;
8649 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_StopRecord",_kwnames,&_argo0))
8650 return NULL;
8651 if (_argo0) {
8652 if (_argo0 == Py_None) { _arg0 = NULL; }
8653 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
8654 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_StopRecord. Expected _wxStyledTextCtrl_p.");
8655 return NULL;
8656 }
8657 }
8658 {
8659 PyThreadState* __tstate = wxPyBeginAllowThreads();
8660 wxStyledTextCtrl_StopRecord(_arg0);
8661
8662 wxPyEndAllowThreads(__tstate);
8663 if (PyErr_Occurred()) return NULL;
8664 } Py_INCREF(Py_None);
8665 _resultobj = Py_None;
8666 return _resultobj;
8667 }
8668
8669 #define wxStyledTextCtrl_SetLexer(_swigobj,_swigarg0) (_swigobj->SetLexer(_swigarg0))
8670 static PyObject *_wrap_wxStyledTextCtrl_SetLexer(PyObject *self, PyObject *args, PyObject *kwargs) {
8671 PyObject * _resultobj;
8672 wxStyledTextCtrl * _arg0;
8673 int _arg1;
8674 PyObject * _argo0 = 0;
8675 char *_kwnames[] = { "self","lexer", NULL };
8676
8677 self = self;
8678 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_SetLexer",_kwnames,&_argo0,&_arg1))
8679 return NULL;
8680 if (_argo0) {
8681 if (_argo0 == Py_None) { _arg0 = NULL; }
8682 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
8683 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetLexer. Expected _wxStyledTextCtrl_p.");
8684 return NULL;
8685 }
8686 }
8687 {
8688 PyThreadState* __tstate = wxPyBeginAllowThreads();
8689 wxStyledTextCtrl_SetLexer(_arg0,_arg1);
8690
8691 wxPyEndAllowThreads(__tstate);
8692 if (PyErr_Occurred()) return NULL;
8693 } Py_INCREF(Py_None);
8694 _resultobj = Py_None;
8695 return _resultobj;
8696 }
8697
8698 #define wxStyledTextCtrl_GetLexer(_swigobj) (_swigobj->GetLexer())
8699 static PyObject *_wrap_wxStyledTextCtrl_GetLexer(PyObject *self, PyObject *args, PyObject *kwargs) {
8700 PyObject * _resultobj;
8701 int _result;
8702 wxStyledTextCtrl * _arg0;
8703 PyObject * _argo0 = 0;
8704 char *_kwnames[] = { "self", NULL };
8705
8706 self = self;
8707 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetLexer",_kwnames,&_argo0))
8708 return NULL;
8709 if (_argo0) {
8710 if (_argo0 == Py_None) { _arg0 = NULL; }
8711 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
8712 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetLexer. Expected _wxStyledTextCtrl_p.");
8713 return NULL;
8714 }
8715 }
8716 {
8717 PyThreadState* __tstate = wxPyBeginAllowThreads();
8718 _result = (int )wxStyledTextCtrl_GetLexer(_arg0);
8719
8720 wxPyEndAllowThreads(__tstate);
8721 if (PyErr_Occurred()) return NULL;
8722 } _resultobj = Py_BuildValue("i",_result);
8723 return _resultobj;
8724 }
8725
8726 #define wxStyledTextCtrl_Colourise(_swigobj,_swigarg0,_swigarg1) (_swigobj->Colourise(_swigarg0,_swigarg1))
8727 static PyObject *_wrap_wxStyledTextCtrl_Colourise(PyObject *self, PyObject *args, PyObject *kwargs) {
8728 PyObject * _resultobj;
8729 wxStyledTextCtrl * _arg0;
8730 int _arg1;
8731 int _arg2;
8732 PyObject * _argo0 = 0;
8733 char *_kwnames[] = { "self","start","end", NULL };
8734
8735 self = self;
8736 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxStyledTextCtrl_Colourise",_kwnames,&_argo0,&_arg1,&_arg2))
8737 return NULL;
8738 if (_argo0) {
8739 if (_argo0 == Py_None) { _arg0 = NULL; }
8740 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
8741 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_Colourise. Expected _wxStyledTextCtrl_p.");
8742 return NULL;
8743 }
8744 }
8745 {
8746 PyThreadState* __tstate = wxPyBeginAllowThreads();
8747 wxStyledTextCtrl_Colourise(_arg0,_arg1,_arg2);
8748
8749 wxPyEndAllowThreads(__tstate);
8750 if (PyErr_Occurred()) return NULL;
8751 } Py_INCREF(Py_None);
8752 _resultobj = Py_None;
8753 return _resultobj;
8754 }
8755
8756 #define wxStyledTextCtrl_SetProperty(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetProperty(_swigarg0,_swigarg1))
8757 static PyObject *_wrap_wxStyledTextCtrl_SetProperty(PyObject *self, PyObject *args, PyObject *kwargs) {
8758 PyObject * _resultobj;
8759 wxStyledTextCtrl * _arg0;
8760 wxString * _arg1;
8761 wxString * _arg2;
8762 PyObject * _argo0 = 0;
8763 PyObject * _obj1 = 0;
8764 PyObject * _obj2 = 0;
8765 char *_kwnames[] = { "self","key","value", NULL };
8766
8767 self = self;
8768 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxStyledTextCtrl_SetProperty",_kwnames,&_argo0,&_obj1,&_obj2))
8769 return NULL;
8770 if (_argo0) {
8771 if (_argo0 == Py_None) { _arg0 = NULL; }
8772 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
8773 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetProperty. Expected _wxStyledTextCtrl_p.");
8774 return NULL;
8775 }
8776 }
8777 {
8778 _arg1 = wxString_in_helper(_obj1);
8779 if (_arg1 == NULL)
8780 return NULL;
8781 }
8782 {
8783 _arg2 = wxString_in_helper(_obj2);
8784 if (_arg2 == NULL)
8785 return NULL;
8786 }
8787 {
8788 PyThreadState* __tstate = wxPyBeginAllowThreads();
8789 wxStyledTextCtrl_SetProperty(_arg0,*_arg1,*_arg2);
8790
8791 wxPyEndAllowThreads(__tstate);
8792 if (PyErr_Occurred()) return NULL;
8793 } Py_INCREF(Py_None);
8794 _resultobj = Py_None;
8795 {
8796 if (_obj1)
8797 delete _arg1;
8798 }
8799 {
8800 if (_obj2)
8801 delete _arg2;
8802 }
8803 return _resultobj;
8804 }
8805
8806 #define wxStyledTextCtrl_SetKeyWords(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetKeyWords(_swigarg0,_swigarg1))
8807 static PyObject *_wrap_wxStyledTextCtrl_SetKeyWords(PyObject *self, PyObject *args, PyObject *kwargs) {
8808 PyObject * _resultobj;
8809 wxStyledTextCtrl * _arg0;
8810 int _arg1;
8811 wxString * _arg2;
8812 PyObject * _argo0 = 0;
8813 PyObject * _obj2 = 0;
8814 char *_kwnames[] = { "self","keywordSet","keyWords", NULL };
8815
8816 self = self;
8817 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxStyledTextCtrl_SetKeyWords",_kwnames,&_argo0,&_arg1,&_obj2))
8818 return NULL;
8819 if (_argo0) {
8820 if (_argo0 == Py_None) { _arg0 = NULL; }
8821 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
8822 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetKeyWords. Expected _wxStyledTextCtrl_p.");
8823 return NULL;
8824 }
8825 }
8826 {
8827 _arg2 = wxString_in_helper(_obj2);
8828 if (_arg2 == NULL)
8829 return NULL;
8830 }
8831 {
8832 PyThreadState* __tstate = wxPyBeginAllowThreads();
8833 wxStyledTextCtrl_SetKeyWords(_arg0,_arg1,*_arg2);
8834
8835 wxPyEndAllowThreads(__tstate);
8836 if (PyErr_Occurred()) return NULL;
8837 } Py_INCREF(Py_None);
8838 _resultobj = Py_None;
8839 {
8840 if (_obj2)
8841 delete _arg2;
8842 }
8843 return _resultobj;
8844 }
8845
8846 #define wxStyledTextCtrl_SetLexerLanguage(_swigobj,_swigarg0) (_swigobj->SetLexerLanguage(_swigarg0))
8847 static PyObject *_wrap_wxStyledTextCtrl_SetLexerLanguage(PyObject *self, PyObject *args, PyObject *kwargs) {
8848 PyObject * _resultobj;
8849 wxStyledTextCtrl * _arg0;
8850 wxString * _arg1;
8851 PyObject * _argo0 = 0;
8852 PyObject * _obj1 = 0;
8853 char *_kwnames[] = { "self","language", NULL };
8854
8855 self = self;
8856 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxStyledTextCtrl_SetLexerLanguage",_kwnames,&_argo0,&_obj1))
8857 return NULL;
8858 if (_argo0) {
8859 if (_argo0 == Py_None) { _arg0 = NULL; }
8860 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
8861 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetLexerLanguage. Expected _wxStyledTextCtrl_p.");
8862 return NULL;
8863 }
8864 }
8865 {
8866 _arg1 = wxString_in_helper(_obj1);
8867 if (_arg1 == NULL)
8868 return NULL;
8869 }
8870 {
8871 PyThreadState* __tstate = wxPyBeginAllowThreads();
8872 wxStyledTextCtrl_SetLexerLanguage(_arg0,*_arg1);
8873
8874 wxPyEndAllowThreads(__tstate);
8875 if (PyErr_Occurred()) return NULL;
8876 } Py_INCREF(Py_None);
8877 _resultobj = Py_None;
8878 {
8879 if (_obj1)
8880 delete _arg1;
8881 }
8882 return _resultobj;
8883 }
8884
8885 #define wxStyledTextCtrl_GetCurrentLine(_swigobj) (_swigobj->GetCurrentLine())
8886 static PyObject *_wrap_wxStyledTextCtrl_GetCurrentLine(PyObject *self, PyObject *args, PyObject *kwargs) {
8887 PyObject * _resultobj;
8888 int _result;
8889 wxStyledTextCtrl * _arg0;
8890 PyObject * _argo0 = 0;
8891 char *_kwnames[] = { "self", NULL };
8892
8893 self = self;
8894 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetCurrentLine",_kwnames,&_argo0))
8895 return NULL;
8896 if (_argo0) {
8897 if (_argo0 == Py_None) { _arg0 = NULL; }
8898 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
8899 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetCurrentLine. Expected _wxStyledTextCtrl_p.");
8900 return NULL;
8901 }
8902 }
8903 {
8904 PyThreadState* __tstate = wxPyBeginAllowThreads();
8905 _result = (int )wxStyledTextCtrl_GetCurrentLine(_arg0);
8906
8907 wxPyEndAllowThreads(__tstate);
8908 if (PyErr_Occurred()) return NULL;
8909 } _resultobj = Py_BuildValue("i",_result);
8910 return _resultobj;
8911 }
8912
8913 #define wxStyledTextCtrl_StyleSetSpec(_swigobj,_swigarg0,_swigarg1) (_swigobj->StyleSetSpec(_swigarg0,_swigarg1))
8914 static PyObject *_wrap_wxStyledTextCtrl_StyleSetSpec(PyObject *self, PyObject *args, PyObject *kwargs) {
8915 PyObject * _resultobj;
8916 wxStyledTextCtrl * _arg0;
8917 int _arg1;
8918 wxString * _arg2;
8919 PyObject * _argo0 = 0;
8920 PyObject * _obj2 = 0;
8921 char *_kwnames[] = { "self","styleNum","spec", NULL };
8922
8923 self = self;
8924 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxStyledTextCtrl_StyleSetSpec",_kwnames,&_argo0,&_arg1,&_obj2))
8925 return NULL;
8926 if (_argo0) {
8927 if (_argo0 == Py_None) { _arg0 = NULL; }
8928 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
8929 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_StyleSetSpec. Expected _wxStyledTextCtrl_p.");
8930 return NULL;
8931 }
8932 }
8933 {
8934 _arg2 = wxString_in_helper(_obj2);
8935 if (_arg2 == NULL)
8936 return NULL;
8937 }
8938 {
8939 PyThreadState* __tstate = wxPyBeginAllowThreads();
8940 wxStyledTextCtrl_StyleSetSpec(_arg0,_arg1,*_arg2);
8941
8942 wxPyEndAllowThreads(__tstate);
8943 if (PyErr_Occurred()) return NULL;
8944 } Py_INCREF(Py_None);
8945 _resultobj = Py_None;
8946 {
8947 if (_obj2)
8948 delete _arg2;
8949 }
8950 return _resultobj;
8951 }
8952
8953 #define wxStyledTextCtrl_StyleSetFont(_swigobj,_swigarg0,_swigarg1) (_swigobj->StyleSetFont(_swigarg0,_swigarg1))
8954 static PyObject *_wrap_wxStyledTextCtrl_StyleSetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
8955 PyObject * _resultobj;
8956 wxStyledTextCtrl * _arg0;
8957 int _arg1;
8958 wxFont * _arg2;
8959 PyObject * _argo0 = 0;
8960 PyObject * _argo2 = 0;
8961 char *_kwnames[] = { "self","styleNum","font", NULL };
8962
8963 self = self;
8964 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxStyledTextCtrl_StyleSetFont",_kwnames,&_argo0,&_arg1,&_argo2))
8965 return NULL;
8966 if (_argo0) {
8967 if (_argo0 == Py_None) { _arg0 = NULL; }
8968 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
8969 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_StyleSetFont. Expected _wxStyledTextCtrl_p.");
8970 return NULL;
8971 }
8972 }
8973 if (_argo2) {
8974 if (_argo2 == Py_None) { _arg2 = NULL; }
8975 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxFont_p")) {
8976 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxStyledTextCtrl_StyleSetFont. Expected _wxFont_p.");
8977 return NULL;
8978 }
8979 }
8980 {
8981 PyThreadState* __tstate = wxPyBeginAllowThreads();
8982 wxStyledTextCtrl_StyleSetFont(_arg0,_arg1,*_arg2);
8983
8984 wxPyEndAllowThreads(__tstate);
8985 if (PyErr_Occurred()) return NULL;
8986 } Py_INCREF(Py_None);
8987 _resultobj = Py_None;
8988 return _resultobj;
8989 }
8990
8991 #define wxStyledTextCtrl_StyleSetFontAttr(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->StyleSetFontAttr(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
8992 static PyObject *_wrap_wxStyledTextCtrl_StyleSetFontAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
8993 PyObject * _resultobj;
8994 wxStyledTextCtrl * _arg0;
8995 int _arg1;
8996 int _arg2;
8997 wxString * _arg3;
8998 bool _arg4;
8999 bool _arg5;
9000 bool _arg6;
9001 PyObject * _argo0 = 0;
9002 PyObject * _obj3 = 0;
9003 int tempbool4;
9004 int tempbool5;
9005 int tempbool6;
9006 char *_kwnames[] = { "self","styleNum","size","faceName","bold","italic","underline", NULL };
9007
9008 self = self;
9009 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiiOiii:wxStyledTextCtrl_StyleSetFontAttr",_kwnames,&_argo0,&_arg1,&_arg2,&_obj3,&tempbool4,&tempbool5,&tempbool6))
9010 return NULL;
9011 if (_argo0) {
9012 if (_argo0 == Py_None) { _arg0 = NULL; }
9013 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
9014 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_StyleSetFontAttr. Expected _wxStyledTextCtrl_p.");
9015 return NULL;
9016 }
9017 }
9018 {
9019 _arg3 = wxString_in_helper(_obj3);
9020 if (_arg3 == NULL)
9021 return NULL;
9022 }
9023 _arg4 = (bool ) tempbool4;
9024 _arg5 = (bool ) tempbool5;
9025 _arg6 = (bool ) tempbool6;
9026 {
9027 PyThreadState* __tstate = wxPyBeginAllowThreads();
9028 wxStyledTextCtrl_StyleSetFontAttr(_arg0,_arg1,_arg2,*_arg3,_arg4,_arg5,_arg6);
9029
9030 wxPyEndAllowThreads(__tstate);
9031 if (PyErr_Occurred()) return NULL;
9032 } Py_INCREF(Py_None);
9033 _resultobj = Py_None;
9034 {
9035 if (_obj3)
9036 delete _arg3;
9037 }
9038 return _resultobj;
9039 }
9040
9041 #define wxStyledTextCtrl_CmdKeyExecute(_swigobj,_swigarg0) (_swigobj->CmdKeyExecute(_swigarg0))
9042 static PyObject *_wrap_wxStyledTextCtrl_CmdKeyExecute(PyObject *self, PyObject *args, PyObject *kwargs) {
9043 PyObject * _resultobj;
9044 wxStyledTextCtrl * _arg0;
9045 int _arg1;
9046 PyObject * _argo0 = 0;
9047 char *_kwnames[] = { "self","cmd", NULL };
9048
9049 self = self;
9050 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_CmdKeyExecute",_kwnames,&_argo0,&_arg1))
9051 return NULL;
9052 if (_argo0) {
9053 if (_argo0 == Py_None) { _arg0 = NULL; }
9054 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
9055 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_CmdKeyExecute. Expected _wxStyledTextCtrl_p.");
9056 return NULL;
9057 }
9058 }
9059 {
9060 PyThreadState* __tstate = wxPyBeginAllowThreads();
9061 wxStyledTextCtrl_CmdKeyExecute(_arg0,_arg1);
9062
9063 wxPyEndAllowThreads(__tstate);
9064 if (PyErr_Occurred()) return NULL;
9065 } Py_INCREF(Py_None);
9066 _resultobj = Py_None;
9067 return _resultobj;
9068 }
9069
9070 #define wxStyledTextCtrl_SetMargins(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetMargins(_swigarg0,_swigarg1))
9071 static PyObject *_wrap_wxStyledTextCtrl_SetMargins(PyObject *self, PyObject *args, PyObject *kwargs) {
9072 PyObject * _resultobj;
9073 wxStyledTextCtrl * _arg0;
9074 int _arg1;
9075 int _arg2;
9076 PyObject * _argo0 = 0;
9077 char *_kwnames[] = { "self","left","right", NULL };
9078
9079 self = self;
9080 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxStyledTextCtrl_SetMargins",_kwnames,&_argo0,&_arg1,&_arg2))
9081 return NULL;
9082 if (_argo0) {
9083 if (_argo0 == Py_None) { _arg0 = NULL; }
9084 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
9085 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetMargins. Expected _wxStyledTextCtrl_p.");
9086 return NULL;
9087 }
9088 }
9089 {
9090 PyThreadState* __tstate = wxPyBeginAllowThreads();
9091 wxStyledTextCtrl_SetMargins(_arg0,_arg1,_arg2);
9092
9093 wxPyEndAllowThreads(__tstate);
9094 if (PyErr_Occurred()) return NULL;
9095 } Py_INCREF(Py_None);
9096 _resultobj = Py_None;
9097 return _resultobj;
9098 }
9099
9100 #define wxStyledTextCtrl_GetSelection(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetSelection(_swigarg0,_swigarg1))
9101 static PyObject *_wrap_wxStyledTextCtrl_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
9102 PyObject * _resultobj;
9103 wxStyledTextCtrl * _arg0;
9104 int * _arg1;
9105 int temp;
9106 int * _arg2;
9107 int temp0;
9108 PyObject * _argo0 = 0;
9109 char *_kwnames[] = { "self", NULL };
9110
9111 self = self;
9112 {
9113 _arg1 = &temp;
9114 }
9115 {
9116 _arg2 = &temp0;
9117 }
9118 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetSelection",_kwnames,&_argo0))
9119 return NULL;
9120 if (_argo0) {
9121 if (_argo0 == Py_None) { _arg0 = NULL; }
9122 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
9123 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetSelection. Expected _wxStyledTextCtrl_p.");
9124 return NULL;
9125 }
9126 }
9127 {
9128 PyThreadState* __tstate = wxPyBeginAllowThreads();
9129 wxStyledTextCtrl_GetSelection(_arg0,_arg1,_arg2);
9130
9131 wxPyEndAllowThreads(__tstate);
9132 if (PyErr_Occurred()) return NULL;
9133 } Py_INCREF(Py_None);
9134 _resultobj = Py_None;
9135 {
9136 PyObject *o;
9137 o = PyInt_FromLong((long) (*_arg1));
9138 _resultobj = t_output_helper(_resultobj, o);
9139 }
9140 {
9141 PyObject *o;
9142 o = PyInt_FromLong((long) (*_arg2));
9143 _resultobj = t_output_helper(_resultobj, o);
9144 }
9145 return _resultobj;
9146 }
9147
9148 #define wxStyledTextCtrl_PointFromPosition(_swigobj,_swigarg0) (_swigobj->PointFromPosition(_swigarg0))
9149 static PyObject *_wrap_wxStyledTextCtrl_PointFromPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
9150 PyObject * _resultobj;
9151 wxPoint * _result;
9152 wxStyledTextCtrl * _arg0;
9153 int _arg1;
9154 PyObject * _argo0 = 0;
9155 char *_kwnames[] = { "self","pos", NULL };
9156 char _ptemp[128];
9157
9158 self = self;
9159 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_PointFromPosition",_kwnames,&_argo0,&_arg1))
9160 return NULL;
9161 if (_argo0) {
9162 if (_argo0 == Py_None) { _arg0 = NULL; }
9163 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
9164 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_PointFromPosition. Expected _wxStyledTextCtrl_p.");
9165 return NULL;
9166 }
9167 }
9168 {
9169 PyThreadState* __tstate = wxPyBeginAllowThreads();
9170 _result = new wxPoint (wxStyledTextCtrl_PointFromPosition(_arg0,_arg1));
9171
9172 wxPyEndAllowThreads(__tstate);
9173 if (PyErr_Occurred()) return NULL;
9174 } SWIG_MakePtr(_ptemp, (void *) _result,"_wxPoint_p");
9175 _resultobj = Py_BuildValue("s",_ptemp);
9176 return _resultobj;
9177 }
9178
9179 #define wxStyledTextCtrl_ScrollToLine(_swigobj,_swigarg0) (_swigobj->ScrollToLine(_swigarg0))
9180 static PyObject *_wrap_wxStyledTextCtrl_ScrollToLine(PyObject *self, PyObject *args, PyObject *kwargs) {
9181 PyObject * _resultobj;
9182 wxStyledTextCtrl * _arg0;
9183 int _arg1;
9184 PyObject * _argo0 = 0;
9185 char *_kwnames[] = { "self","line", NULL };
9186
9187 self = self;
9188 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_ScrollToLine",_kwnames,&_argo0,&_arg1))
9189 return NULL;
9190 if (_argo0) {
9191 if (_argo0 == Py_None) { _arg0 = NULL; }
9192 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
9193 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_ScrollToLine. Expected _wxStyledTextCtrl_p.");
9194 return NULL;
9195 }
9196 }
9197 {
9198 PyThreadState* __tstate = wxPyBeginAllowThreads();
9199 wxStyledTextCtrl_ScrollToLine(_arg0,_arg1);
9200
9201 wxPyEndAllowThreads(__tstate);
9202 if (PyErr_Occurred()) return NULL;
9203 } Py_INCREF(Py_None);
9204 _resultobj = Py_None;
9205 return _resultobj;
9206 }
9207
9208 #define wxStyledTextCtrl_ScrollToColumn(_swigobj,_swigarg0) (_swigobj->ScrollToColumn(_swigarg0))
9209 static PyObject *_wrap_wxStyledTextCtrl_ScrollToColumn(PyObject *self, PyObject *args, PyObject *kwargs) {
9210 PyObject * _resultobj;
9211 wxStyledTextCtrl * _arg0;
9212 int _arg1;
9213 PyObject * _argo0 = 0;
9214 char *_kwnames[] = { "self","column", NULL };
9215
9216 self = self;
9217 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_ScrollToColumn",_kwnames,&_argo0,&_arg1))
9218 return NULL;
9219 if (_argo0) {
9220 if (_argo0 == Py_None) { _arg0 = NULL; }
9221 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
9222 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_ScrollToColumn. Expected _wxStyledTextCtrl_p.");
9223 return NULL;
9224 }
9225 }
9226 {
9227 PyThreadState* __tstate = wxPyBeginAllowThreads();
9228 wxStyledTextCtrl_ScrollToColumn(_arg0,_arg1);
9229
9230 wxPyEndAllowThreads(__tstate);
9231 if (PyErr_Occurred()) return NULL;
9232 } Py_INCREF(Py_None);
9233 _resultobj = Py_None;
9234 return _resultobj;
9235 }
9236
9237 #define wxStyledTextCtrl_SendMsg(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SendMsg(_swigarg0,_swigarg1,_swigarg2))
9238 static PyObject *_wrap_wxStyledTextCtrl_SendMsg(PyObject *self, PyObject *args, PyObject *kwargs) {
9239 PyObject * _resultobj;
9240 long _result;
9241 wxStyledTextCtrl * _arg0;
9242 int _arg1;
9243 long _arg2 = (long ) 0;
9244 long _arg3 = (long ) 0;
9245 PyObject * _argo0 = 0;
9246 char *_kwnames[] = { "self","msg","wp","lp", NULL };
9247
9248 self = self;
9249 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi|ll:wxStyledTextCtrl_SendMsg",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3))
9250 return NULL;
9251 if (_argo0) {
9252 if (_argo0 == Py_None) { _arg0 = NULL; }
9253 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
9254 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SendMsg. Expected _wxStyledTextCtrl_p.");
9255 return NULL;
9256 }
9257 }
9258 {
9259 PyThreadState* __tstate = wxPyBeginAllowThreads();
9260 _result = (long )wxStyledTextCtrl_SendMsg(_arg0,_arg1,_arg2,_arg3);
9261
9262 wxPyEndAllowThreads(__tstate);
9263 if (PyErr_Occurred()) return NULL;
9264 } _resultobj = Py_BuildValue("l",_result);
9265 return _resultobj;
9266 }
9267
9268 #define wxStyledTextCtrl_SetVScrollBar(_swigobj,_swigarg0) (_swigobj->SetVScrollBar(_swigarg0))
9269 static PyObject *_wrap_wxStyledTextCtrl_SetVScrollBar(PyObject *self, PyObject *args, PyObject *kwargs) {
9270 PyObject * _resultobj;
9271 wxStyledTextCtrl * _arg0;
9272 wxScrollBar * _arg1;
9273 PyObject * _argo0 = 0;
9274 PyObject * _argo1 = 0;
9275 char *_kwnames[] = { "self","bar", NULL };
9276
9277 self = self;
9278 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxStyledTextCtrl_SetVScrollBar",_kwnames,&_argo0,&_argo1))
9279 return NULL;
9280 if (_argo0) {
9281 if (_argo0 == Py_None) { _arg0 = NULL; }
9282 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
9283 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetVScrollBar. Expected _wxStyledTextCtrl_p.");
9284 return NULL;
9285 }
9286 }
9287 if (_argo1) {
9288 if (_argo1 == Py_None) { _arg1 = NULL; }
9289 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxScrollBar_p")) {
9290 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxStyledTextCtrl_SetVScrollBar. Expected _wxScrollBar_p.");
9291 return NULL;
9292 }
9293 }
9294 {
9295 PyThreadState* __tstate = wxPyBeginAllowThreads();
9296 wxStyledTextCtrl_SetVScrollBar(_arg0,_arg1);
9297
9298 wxPyEndAllowThreads(__tstate);
9299 if (PyErr_Occurred()) return NULL;
9300 } Py_INCREF(Py_None);
9301 _resultobj = Py_None;
9302 return _resultobj;
9303 }
9304
9305 #define wxStyledTextCtrl_SetHScrollBar(_swigobj,_swigarg0) (_swigobj->SetHScrollBar(_swigarg0))
9306 static PyObject *_wrap_wxStyledTextCtrl_SetHScrollBar(PyObject *self, PyObject *args, PyObject *kwargs) {
9307 PyObject * _resultobj;
9308 wxStyledTextCtrl * _arg0;
9309 wxScrollBar * _arg1;
9310 PyObject * _argo0 = 0;
9311 PyObject * _argo1 = 0;
9312 char *_kwnames[] = { "self","bar", NULL };
9313
9314 self = self;
9315 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxStyledTextCtrl_SetHScrollBar",_kwnames,&_argo0,&_argo1))
9316 return NULL;
9317 if (_argo0) {
9318 if (_argo0 == Py_None) { _arg0 = NULL; }
9319 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
9320 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetHScrollBar. Expected _wxStyledTextCtrl_p.");
9321 return NULL;
9322 }
9323 }
9324 if (_argo1) {
9325 if (_argo1 == Py_None) { _arg1 = NULL; }
9326 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxScrollBar_p")) {
9327 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxStyledTextCtrl_SetHScrollBar. Expected _wxScrollBar_p.");
9328 return NULL;
9329 }
9330 }
9331 {
9332 PyThreadState* __tstate = wxPyBeginAllowThreads();
9333 wxStyledTextCtrl_SetHScrollBar(_arg0,_arg1);
9334
9335 wxPyEndAllowThreads(__tstate);
9336 if (PyErr_Occurred()) return NULL;
9337 } Py_INCREF(Py_None);
9338 _resultobj = Py_None;
9339 return _resultobj;
9340 }
9341
9342 #define wxStyledTextCtrl_GetLastKeydownProcessed(_swigobj) (_swigobj->GetLastKeydownProcessed())
9343 static PyObject *_wrap_wxStyledTextCtrl_GetLastKeydownProcessed(PyObject *self, PyObject *args, PyObject *kwargs) {
9344 PyObject * _resultobj;
9345 bool _result;
9346 wxStyledTextCtrl * _arg0;
9347 PyObject * _argo0 = 0;
9348 char *_kwnames[] = { "self", NULL };
9349
9350 self = self;
9351 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetLastKeydownProcessed",_kwnames,&_argo0))
9352 return NULL;
9353 if (_argo0) {
9354 if (_argo0 == Py_None) { _arg0 = NULL; }
9355 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
9356 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetLastKeydownProcessed. Expected _wxStyledTextCtrl_p.");
9357 return NULL;
9358 }
9359 }
9360 {
9361 PyThreadState* __tstate = wxPyBeginAllowThreads();
9362 _result = (bool )wxStyledTextCtrl_GetLastKeydownProcessed(_arg0);
9363
9364 wxPyEndAllowThreads(__tstate);
9365 if (PyErr_Occurred()) return NULL;
9366 } _resultobj = Py_BuildValue("i",_result);
9367 return _resultobj;
9368 }
9369
9370 #define wxStyledTextCtrl_SetLastKeydownProcessed(_swigobj,_swigarg0) (_swigobj->SetLastKeydownProcessed(_swigarg0))
9371 static PyObject *_wrap_wxStyledTextCtrl_SetLastKeydownProcessed(PyObject *self, PyObject *args, PyObject *kwargs) {
9372 PyObject * _resultobj;
9373 wxStyledTextCtrl * _arg0;
9374 bool _arg1;
9375 PyObject * _argo0 = 0;
9376 int tempbool1;
9377 char *_kwnames[] = { "self","val", NULL };
9378
9379 self = self;
9380 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_SetLastKeydownProcessed",_kwnames,&_argo0,&tempbool1))
9381 return NULL;
9382 if (_argo0) {
9383 if (_argo0 == Py_None) { _arg0 = NULL; }
9384 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) {
9385 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetLastKeydownProcessed. Expected _wxStyledTextCtrl_p.");
9386 return NULL;
9387 }
9388 }
9389 _arg1 = (bool ) tempbool1;
9390 {
9391 PyThreadState* __tstate = wxPyBeginAllowThreads();
9392 wxStyledTextCtrl_SetLastKeydownProcessed(_arg0,_arg1);
9393
9394 wxPyEndAllowThreads(__tstate);
9395 if (PyErr_Occurred()) return NULL;
9396 } Py_INCREF(Py_None);
9397 _resultobj = Py_None;
9398 return _resultobj;
9399 }
9400
9401 static void *SwigwxStyledTextEventTowxCommandEvent(void *ptr) {
9402 wxStyledTextEvent *src;
9403 wxCommandEvent *dest;
9404 src = (wxStyledTextEvent *) ptr;
9405 dest = (wxCommandEvent *) src;
9406 return (void *) dest;
9407 }
9408
9409 static void *SwigwxStyledTextEventTowxEvent(void *ptr) {
9410 wxStyledTextEvent *src;
9411 wxEvent *dest;
9412 src = (wxStyledTextEvent *) ptr;
9413 dest = (wxEvent *) src;
9414 return (void *) dest;
9415 }
9416
9417 static void *SwigwxStyledTextEventTowxObject(void *ptr) {
9418 wxStyledTextEvent *src;
9419 wxObject *dest;
9420 src = (wxStyledTextEvent *) ptr;
9421 dest = (wxObject *) src;
9422 return (void *) dest;
9423 }
9424
9425 #define new_wxStyledTextEvent(_swigarg0,_swigarg1) (new wxStyledTextEvent(_swigarg0,_swigarg1))
9426 static PyObject *_wrap_new_wxStyledTextEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
9427 PyObject * _resultobj;
9428 wxStyledTextEvent * _result;
9429 wxEventType _arg0 = (wxEventType ) 0;
9430 int _arg1 = (int ) 0;
9431 char *_kwnames[] = { "commandType","id", NULL };
9432 char _ptemp[128];
9433
9434 self = self;
9435 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"|ii:new_wxStyledTextEvent",_kwnames,&_arg0,&_arg1))
9436 return NULL;
9437 {
9438 PyThreadState* __tstate = wxPyBeginAllowThreads();
9439 _result = (wxStyledTextEvent *)new_wxStyledTextEvent(_arg0,_arg1);
9440
9441 wxPyEndAllowThreads(__tstate);
9442 if (PyErr_Occurred()) return NULL;
9443 } if (_result) {
9444 SWIG_MakePtr(_ptemp, (char *) _result,"_wxStyledTextEvent_p");
9445 _resultobj = Py_BuildValue("s",_ptemp);
9446 } else {
9447 Py_INCREF(Py_None);
9448 _resultobj = Py_None;
9449 }
9450 return _resultobj;
9451 }
9452
9453 #define delete_wxStyledTextEvent(_swigobj) (delete _swigobj)
9454 static PyObject *_wrap_delete_wxStyledTextEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
9455 PyObject * _resultobj;
9456 wxStyledTextEvent * _arg0;
9457 PyObject * _argo0 = 0;
9458 char *_kwnames[] = { "self", NULL };
9459
9460 self = self;
9461 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:delete_wxStyledTextEvent",_kwnames,&_argo0))
9462 return NULL;
9463 if (_argo0) {
9464 if (_argo0 == Py_None) { _arg0 = NULL; }
9465 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextEvent_p")) {
9466 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of delete_wxStyledTextEvent. Expected _wxStyledTextEvent_p.");
9467 return NULL;
9468 }
9469 }
9470 {
9471 PyThreadState* __tstate = wxPyBeginAllowThreads();
9472 delete_wxStyledTextEvent(_arg0);
9473
9474 wxPyEndAllowThreads(__tstate);
9475 if (PyErr_Occurred()) return NULL;
9476 } Py_INCREF(Py_None);
9477 _resultobj = Py_None;
9478 return _resultobj;
9479 }
9480
9481 #define wxStyledTextEvent_SetPosition(_swigobj,_swigarg0) (_swigobj->SetPosition(_swigarg0))
9482 static PyObject *_wrap_wxStyledTextEvent_SetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
9483 PyObject * _resultobj;
9484 wxStyledTextEvent * _arg0;
9485 int _arg1;
9486 PyObject * _argo0 = 0;
9487 char *_kwnames[] = { "self","pos", NULL };
9488
9489 self = self;
9490 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextEvent_SetPosition",_kwnames,&_argo0,&_arg1))
9491 return NULL;
9492 if (_argo0) {
9493 if (_argo0 == Py_None) { _arg0 = NULL; }
9494 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextEvent_p")) {
9495 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextEvent_SetPosition. Expected _wxStyledTextEvent_p.");
9496 return NULL;
9497 }
9498 }
9499 {
9500 PyThreadState* __tstate = wxPyBeginAllowThreads();
9501 wxStyledTextEvent_SetPosition(_arg0,_arg1);
9502
9503 wxPyEndAllowThreads(__tstate);
9504 if (PyErr_Occurred()) return NULL;
9505 } Py_INCREF(Py_None);
9506 _resultobj = Py_None;
9507 return _resultobj;
9508 }
9509
9510 #define wxStyledTextEvent_SetKey(_swigobj,_swigarg0) (_swigobj->SetKey(_swigarg0))
9511 static PyObject *_wrap_wxStyledTextEvent_SetKey(PyObject *self, PyObject *args, PyObject *kwargs) {
9512 PyObject * _resultobj;
9513 wxStyledTextEvent * _arg0;
9514 int _arg1;
9515 PyObject * _argo0 = 0;
9516 char *_kwnames[] = { "self","k", NULL };
9517
9518 self = self;
9519 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextEvent_SetKey",_kwnames,&_argo0,&_arg1))
9520 return NULL;
9521 if (_argo0) {
9522 if (_argo0 == Py_None) { _arg0 = NULL; }
9523 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextEvent_p")) {
9524 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextEvent_SetKey. Expected _wxStyledTextEvent_p.");
9525 return NULL;
9526 }
9527 }
9528 {
9529 PyThreadState* __tstate = wxPyBeginAllowThreads();
9530 wxStyledTextEvent_SetKey(_arg0,_arg1);
9531
9532 wxPyEndAllowThreads(__tstate);
9533 if (PyErr_Occurred()) return NULL;
9534 } Py_INCREF(Py_None);
9535 _resultobj = Py_None;
9536 return _resultobj;
9537 }
9538
9539 #define wxStyledTextEvent_SetModifiers(_swigobj,_swigarg0) (_swigobj->SetModifiers(_swigarg0))
9540 static PyObject *_wrap_wxStyledTextEvent_SetModifiers(PyObject *self, PyObject *args, PyObject *kwargs) {
9541 PyObject * _resultobj;
9542 wxStyledTextEvent * _arg0;
9543 int _arg1;
9544 PyObject * _argo0 = 0;
9545 char *_kwnames[] = { "self","m", NULL };
9546
9547 self = self;
9548 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextEvent_SetModifiers",_kwnames,&_argo0,&_arg1))
9549 return NULL;
9550 if (_argo0) {
9551 if (_argo0 == Py_None) { _arg0 = NULL; }
9552 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextEvent_p")) {
9553 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextEvent_SetModifiers. Expected _wxStyledTextEvent_p.");
9554 return NULL;
9555 }
9556 }
9557 {
9558 PyThreadState* __tstate = wxPyBeginAllowThreads();
9559 wxStyledTextEvent_SetModifiers(_arg0,_arg1);
9560
9561 wxPyEndAllowThreads(__tstate);
9562 if (PyErr_Occurred()) return NULL;
9563 } Py_INCREF(Py_None);
9564 _resultobj = Py_None;
9565 return _resultobj;
9566 }
9567
9568 #define wxStyledTextEvent_SetModificationType(_swigobj,_swigarg0) (_swigobj->SetModificationType(_swigarg0))
9569 static PyObject *_wrap_wxStyledTextEvent_SetModificationType(PyObject *self, PyObject *args, PyObject *kwargs) {
9570 PyObject * _resultobj;
9571 wxStyledTextEvent * _arg0;
9572 int _arg1;
9573 PyObject * _argo0 = 0;
9574 char *_kwnames[] = { "self","t", NULL };
9575
9576 self = self;
9577 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextEvent_SetModificationType",_kwnames,&_argo0,&_arg1))
9578 return NULL;
9579 if (_argo0) {
9580 if (_argo0 == Py_None) { _arg0 = NULL; }
9581 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextEvent_p")) {
9582 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextEvent_SetModificationType. Expected _wxStyledTextEvent_p.");
9583 return NULL;
9584 }
9585 }
9586 {
9587 PyThreadState* __tstate = wxPyBeginAllowThreads();
9588 wxStyledTextEvent_SetModificationType(_arg0,_arg1);
9589
9590 wxPyEndAllowThreads(__tstate);
9591 if (PyErr_Occurred()) return NULL;
9592 } Py_INCREF(Py_None);
9593 _resultobj = Py_None;
9594 return _resultobj;
9595 }
9596
9597 #define wxStyledTextEvent_SetText(_swigobj,_swigarg0) (_swigobj->SetText(_swigarg0))
9598 static PyObject *_wrap_wxStyledTextEvent_SetText(PyObject *self, PyObject *args, PyObject *kwargs) {
9599 PyObject * _resultobj;
9600 wxStyledTextEvent * _arg0;
9601 wxString * _arg1;
9602 PyObject * _argo0 = 0;
9603 PyObject * _obj1 = 0;
9604 char *_kwnames[] = { "self","t", NULL };
9605
9606 self = self;
9607 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxStyledTextEvent_SetText",_kwnames,&_argo0,&_obj1))
9608 return NULL;
9609 if (_argo0) {
9610 if (_argo0 == Py_None) { _arg0 = NULL; }
9611 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextEvent_p")) {
9612 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextEvent_SetText. Expected _wxStyledTextEvent_p.");
9613 return NULL;
9614 }
9615 }
9616 {
9617 _arg1 = wxString_in_helper(_obj1);
9618 if (_arg1 == NULL)
9619 return NULL;
9620 }
9621 {
9622 PyThreadState* __tstate = wxPyBeginAllowThreads();
9623 wxStyledTextEvent_SetText(_arg0,*_arg1);
9624
9625 wxPyEndAllowThreads(__tstate);
9626 if (PyErr_Occurred()) return NULL;
9627 } Py_INCREF(Py_None);
9628 _resultobj = Py_None;
9629 {
9630 if (_obj1)
9631 delete _arg1;
9632 }
9633 return _resultobj;
9634 }
9635
9636 #define wxStyledTextEvent_SetLength(_swigobj,_swigarg0) (_swigobj->SetLength(_swigarg0))
9637 static PyObject *_wrap_wxStyledTextEvent_SetLength(PyObject *self, PyObject *args, PyObject *kwargs) {
9638 PyObject * _resultobj;
9639 wxStyledTextEvent * _arg0;
9640 int _arg1;
9641 PyObject * _argo0 = 0;
9642 char *_kwnames[] = { "self","len", NULL };
9643
9644 self = self;
9645 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextEvent_SetLength",_kwnames,&_argo0,&_arg1))
9646 return NULL;
9647 if (_argo0) {
9648 if (_argo0 == Py_None) { _arg0 = NULL; }
9649 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextEvent_p")) {
9650 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextEvent_SetLength. Expected _wxStyledTextEvent_p.");
9651 return NULL;
9652 }
9653 }
9654 {
9655 PyThreadState* __tstate = wxPyBeginAllowThreads();
9656 wxStyledTextEvent_SetLength(_arg0,_arg1);
9657
9658 wxPyEndAllowThreads(__tstate);
9659 if (PyErr_Occurred()) return NULL;
9660 } Py_INCREF(Py_None);
9661 _resultobj = Py_None;
9662 return _resultobj;
9663 }
9664
9665 #define wxStyledTextEvent_SetLinesAdded(_swigobj,_swigarg0) (_swigobj->SetLinesAdded(_swigarg0))
9666 static PyObject *_wrap_wxStyledTextEvent_SetLinesAdded(PyObject *self, PyObject *args, PyObject *kwargs) {
9667 PyObject * _resultobj;
9668 wxStyledTextEvent * _arg0;
9669 int _arg1;
9670 PyObject * _argo0 = 0;
9671 char *_kwnames[] = { "self","num", NULL };
9672
9673 self = self;
9674 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextEvent_SetLinesAdded",_kwnames,&_argo0,&_arg1))
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_SetLinesAdded. Expected _wxStyledTextEvent_p.");
9680 return NULL;
9681 }
9682 }
9683 {
9684 PyThreadState* __tstate = wxPyBeginAllowThreads();
9685 wxStyledTextEvent_SetLinesAdded(_arg0,_arg1);
9686
9687 wxPyEndAllowThreads(__tstate);
9688 if (PyErr_Occurred()) return NULL;
9689 } Py_INCREF(Py_None);
9690 _resultobj = Py_None;
9691 return _resultobj;
9692 }
9693
9694 #define wxStyledTextEvent_SetLine(_swigobj,_swigarg0) (_swigobj->SetLine(_swigarg0))
9695 static PyObject *_wrap_wxStyledTextEvent_SetLine(PyObject *self, PyObject *args, PyObject *kwargs) {
9696 PyObject * _resultobj;
9697 wxStyledTextEvent * _arg0;
9698 int _arg1;
9699 PyObject * _argo0 = 0;
9700 char *_kwnames[] = { "self","val", NULL };
9701
9702 self = self;
9703 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextEvent_SetLine",_kwnames,&_argo0,&_arg1))
9704 return NULL;
9705 if (_argo0) {
9706 if (_argo0 == Py_None) { _arg0 = NULL; }
9707 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextEvent_p")) {
9708 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextEvent_SetLine. Expected _wxStyledTextEvent_p.");
9709 return NULL;
9710 }
9711 }
9712 {
9713 PyThreadState* __tstate = wxPyBeginAllowThreads();
9714 wxStyledTextEvent_SetLine(_arg0,_arg1);
9715
9716 wxPyEndAllowThreads(__tstate);
9717 if (PyErr_Occurred()) return NULL;
9718 } Py_INCREF(Py_None);
9719 _resultobj = Py_None;
9720 return _resultobj;
9721 }
9722
9723 #define wxStyledTextEvent_SetFoldLevelNow(_swigobj,_swigarg0) (_swigobj->SetFoldLevelNow(_swigarg0))
9724 static PyObject *_wrap_wxStyledTextEvent_SetFoldLevelNow(PyObject *self, PyObject *args, PyObject *kwargs) {
9725 PyObject * _resultobj;
9726 wxStyledTextEvent * _arg0;
9727 int _arg1;
9728 PyObject * _argo0 = 0;
9729 char *_kwnames[] = { "self","val", NULL };
9730
9731 self = self;
9732 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextEvent_SetFoldLevelNow",_kwnames,&_argo0,&_arg1))
9733 return NULL;
9734 if (_argo0) {
9735 if (_argo0 == Py_None) { _arg0 = NULL; }
9736 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextEvent_p")) {
9737 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextEvent_SetFoldLevelNow. Expected _wxStyledTextEvent_p.");
9738 return NULL;
9739 }
9740 }
9741 {
9742 PyThreadState* __tstate = wxPyBeginAllowThreads();
9743 wxStyledTextEvent_SetFoldLevelNow(_arg0,_arg1);
9744
9745 wxPyEndAllowThreads(__tstate);
9746 if (PyErr_Occurred()) return NULL;
9747 } Py_INCREF(Py_None);
9748 _resultobj = Py_None;
9749 return _resultobj;
9750 }
9751
9752 #define wxStyledTextEvent_SetFoldLevelPrev(_swigobj,_swigarg0) (_swigobj->SetFoldLevelPrev(_swigarg0))
9753 static PyObject *_wrap_wxStyledTextEvent_SetFoldLevelPrev(PyObject *self, PyObject *args, PyObject *kwargs) {
9754 PyObject * _resultobj;
9755 wxStyledTextEvent * _arg0;
9756 int _arg1;
9757 PyObject * _argo0 = 0;
9758 char *_kwnames[] = { "self","val", NULL };
9759
9760 self = self;
9761 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextEvent_SetFoldLevelPrev",_kwnames,&_argo0,&_arg1))
9762 return NULL;
9763 if (_argo0) {
9764 if (_argo0 == Py_None) { _arg0 = NULL; }
9765 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextEvent_p")) {
9766 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextEvent_SetFoldLevelPrev. Expected _wxStyledTextEvent_p.");
9767 return NULL;
9768 }
9769 }
9770 {
9771 PyThreadState* __tstate = wxPyBeginAllowThreads();
9772 wxStyledTextEvent_SetFoldLevelPrev(_arg0,_arg1);
9773
9774 wxPyEndAllowThreads(__tstate);
9775 if (PyErr_Occurred()) return NULL;
9776 } Py_INCREF(Py_None);
9777 _resultobj = Py_None;
9778 return _resultobj;
9779 }
9780
9781 #define wxStyledTextEvent_SetMargin(_swigobj,_swigarg0) (_swigobj->SetMargin(_swigarg0))
9782 static PyObject *_wrap_wxStyledTextEvent_SetMargin(PyObject *self, PyObject *args, PyObject *kwargs) {
9783 PyObject * _resultobj;
9784 wxStyledTextEvent * _arg0;
9785 int _arg1;
9786 PyObject * _argo0 = 0;
9787 char *_kwnames[] = { "self","val", NULL };
9788
9789 self = self;
9790 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextEvent_SetMargin",_kwnames,&_argo0,&_arg1))
9791 return NULL;
9792 if (_argo0) {
9793 if (_argo0 == Py_None) { _arg0 = NULL; }
9794 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextEvent_p")) {
9795 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextEvent_SetMargin. Expected _wxStyledTextEvent_p.");
9796 return NULL;
9797 }
9798 }
9799 {
9800 PyThreadState* __tstate = wxPyBeginAllowThreads();
9801 wxStyledTextEvent_SetMargin(_arg0,_arg1);
9802
9803 wxPyEndAllowThreads(__tstate);
9804 if (PyErr_Occurred()) return NULL;
9805 } Py_INCREF(Py_None);
9806 _resultobj = Py_None;
9807 return _resultobj;
9808 }
9809
9810 #define wxStyledTextEvent_SetMessage(_swigobj,_swigarg0) (_swigobj->SetMessage(_swigarg0))
9811 static PyObject *_wrap_wxStyledTextEvent_SetMessage(PyObject *self, PyObject *args, PyObject *kwargs) {
9812 PyObject * _resultobj;
9813 wxStyledTextEvent * _arg0;
9814 int _arg1;
9815 PyObject * _argo0 = 0;
9816 char *_kwnames[] = { "self","val", NULL };
9817
9818 self = self;
9819 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextEvent_SetMessage",_kwnames,&_argo0,&_arg1))
9820 return NULL;
9821 if (_argo0) {
9822 if (_argo0 == Py_None) { _arg0 = NULL; }
9823 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextEvent_p")) {
9824 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextEvent_SetMessage. Expected _wxStyledTextEvent_p.");
9825 return NULL;
9826 }
9827 }
9828 {
9829 PyThreadState* __tstate = wxPyBeginAllowThreads();
9830 wxStyledTextEvent_SetMessage(_arg0,_arg1);
9831
9832 wxPyEndAllowThreads(__tstate);
9833 if (PyErr_Occurred()) return NULL;
9834 } Py_INCREF(Py_None);
9835 _resultobj = Py_None;
9836 return _resultobj;
9837 }
9838
9839 #define wxStyledTextEvent_SetWParam(_swigobj,_swigarg0) (_swigobj->SetWParam(_swigarg0))
9840 static PyObject *_wrap_wxStyledTextEvent_SetWParam(PyObject *self, PyObject *args, PyObject *kwargs) {
9841 PyObject * _resultobj;
9842 wxStyledTextEvent * _arg0;
9843 int _arg1;
9844 PyObject * _argo0 = 0;
9845 char *_kwnames[] = { "self","val", NULL };
9846
9847 self = self;
9848 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextEvent_SetWParam",_kwnames,&_argo0,&_arg1))
9849 return NULL;
9850 if (_argo0) {
9851 if (_argo0 == Py_None) { _arg0 = NULL; }
9852 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextEvent_p")) {
9853 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextEvent_SetWParam. Expected _wxStyledTextEvent_p.");
9854 return NULL;
9855 }
9856 }
9857 {
9858 PyThreadState* __tstate = wxPyBeginAllowThreads();
9859 wxStyledTextEvent_SetWParam(_arg0,_arg1);
9860
9861 wxPyEndAllowThreads(__tstate);
9862 if (PyErr_Occurred()) return NULL;
9863 } Py_INCREF(Py_None);
9864 _resultobj = Py_None;
9865 return _resultobj;
9866 }
9867
9868 #define wxStyledTextEvent_SetLParam(_swigobj,_swigarg0) (_swigobj->SetLParam(_swigarg0))
9869 static PyObject *_wrap_wxStyledTextEvent_SetLParam(PyObject *self, PyObject *args, PyObject *kwargs) {
9870 PyObject * _resultobj;
9871 wxStyledTextEvent * _arg0;
9872 int _arg1;
9873 PyObject * _argo0 = 0;
9874 char *_kwnames[] = { "self","val", NULL };
9875
9876 self = self;
9877 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextEvent_SetLParam",_kwnames,&_argo0,&_arg1))
9878 return NULL;
9879 if (_argo0) {
9880 if (_argo0 == Py_None) { _arg0 = NULL; }
9881 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextEvent_p")) {
9882 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextEvent_SetLParam. Expected _wxStyledTextEvent_p.");
9883 return NULL;
9884 }
9885 }
9886 {
9887 PyThreadState* __tstate = wxPyBeginAllowThreads();
9888 wxStyledTextEvent_SetLParam(_arg0,_arg1);
9889
9890 wxPyEndAllowThreads(__tstate);
9891 if (PyErr_Occurred()) return NULL;
9892 } Py_INCREF(Py_None);
9893 _resultobj = Py_None;
9894 return _resultobj;
9895 }
9896
9897 #define wxStyledTextEvent_SetListType(_swigobj,_swigarg0) (_swigobj->SetListType(_swigarg0))
9898 static PyObject *_wrap_wxStyledTextEvent_SetListType(PyObject *self, PyObject *args, PyObject *kwargs) {
9899 PyObject * _resultobj;
9900 wxStyledTextEvent * _arg0;
9901 int _arg1;
9902 PyObject * _argo0 = 0;
9903 char *_kwnames[] = { "self","val", NULL };
9904
9905 self = self;
9906 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextEvent_SetListType",_kwnames,&_argo0,&_arg1))
9907 return NULL;
9908 if (_argo0) {
9909 if (_argo0 == Py_None) { _arg0 = NULL; }
9910 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextEvent_p")) {
9911 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextEvent_SetListType. Expected _wxStyledTextEvent_p.");
9912 return NULL;
9913 }
9914 }
9915 {
9916 PyThreadState* __tstate = wxPyBeginAllowThreads();
9917 wxStyledTextEvent_SetListType(_arg0,_arg1);
9918
9919 wxPyEndAllowThreads(__tstate);
9920 if (PyErr_Occurred()) return NULL;
9921 } Py_INCREF(Py_None);
9922 _resultobj = Py_None;
9923 return _resultobj;
9924 }
9925
9926 #define wxStyledTextEvent_SetX(_swigobj,_swigarg0) (_swigobj->SetX(_swigarg0))
9927 static PyObject *_wrap_wxStyledTextEvent_SetX(PyObject *self, PyObject *args, PyObject *kwargs) {
9928 PyObject * _resultobj;
9929 wxStyledTextEvent * _arg0;
9930 int _arg1;
9931 PyObject * _argo0 = 0;
9932 char *_kwnames[] = { "self","val", NULL };
9933
9934 self = self;
9935 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextEvent_SetX",_kwnames,&_argo0,&_arg1))
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_SetX. Expected _wxStyledTextEvent_p.");
9941 return NULL;
9942 }
9943 }
9944 {
9945 PyThreadState* __tstate = wxPyBeginAllowThreads();
9946 wxStyledTextEvent_SetX(_arg0,_arg1);
9947
9948 wxPyEndAllowThreads(__tstate);
9949 if (PyErr_Occurred()) return NULL;
9950 } Py_INCREF(Py_None);
9951 _resultobj = Py_None;
9952 return _resultobj;
9953 }
9954
9955 #define wxStyledTextEvent_SetY(_swigobj,_swigarg0) (_swigobj->SetY(_swigarg0))
9956 static PyObject *_wrap_wxStyledTextEvent_SetY(PyObject *self, PyObject *args, PyObject *kwargs) {
9957 PyObject * _resultobj;
9958 wxStyledTextEvent * _arg0;
9959 int _arg1;
9960 PyObject * _argo0 = 0;
9961 char *_kwnames[] = { "self","val", NULL };
9962
9963 self = self;
9964 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextEvent_SetY",_kwnames,&_argo0,&_arg1))
9965 return NULL;
9966 if (_argo0) {
9967 if (_argo0 == Py_None) { _arg0 = NULL; }
9968 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextEvent_p")) {
9969 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextEvent_SetY. Expected _wxStyledTextEvent_p.");
9970 return NULL;
9971 }
9972 }
9973 {
9974 PyThreadState* __tstate = wxPyBeginAllowThreads();
9975 wxStyledTextEvent_SetY(_arg0,_arg1);
9976
9977 wxPyEndAllowThreads(__tstate);
9978 if (PyErr_Occurred()) return NULL;
9979 } Py_INCREF(Py_None);
9980 _resultobj = Py_None;
9981 return _resultobj;
9982 }
9983
9984 #define wxStyledTextEvent_SetDragText(_swigobj,_swigarg0) (_swigobj->SetDragText(_swigarg0))
9985 static PyObject *_wrap_wxStyledTextEvent_SetDragText(PyObject *self, PyObject *args, PyObject *kwargs) {
9986 PyObject * _resultobj;
9987 wxStyledTextEvent * _arg0;
9988 wxString * _arg1;
9989 PyObject * _argo0 = 0;
9990 PyObject * _obj1 = 0;
9991 char *_kwnames[] = { "self","val", NULL };
9992
9993 self = self;
9994 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxStyledTextEvent_SetDragText",_kwnames,&_argo0,&_obj1))
9995 return NULL;
9996 if (_argo0) {
9997 if (_argo0 == Py_None) { _arg0 = NULL; }
9998 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextEvent_p")) {
9999 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextEvent_SetDragText. Expected _wxStyledTextEvent_p.");
10000 return NULL;
10001 }
10002 }
10003 {
10004 _arg1 = wxString_in_helper(_obj1);
10005 if (_arg1 == NULL)
10006 return NULL;
10007 }
10008 {
10009 PyThreadState* __tstate = wxPyBeginAllowThreads();
10010 wxStyledTextEvent_SetDragText(_arg0,*_arg1);
10011
10012 wxPyEndAllowThreads(__tstate);
10013 if (PyErr_Occurred()) return NULL;
10014 } Py_INCREF(Py_None);
10015 _resultobj = Py_None;
10016 {
10017 if (_obj1)
10018 delete _arg1;
10019 }
10020 return _resultobj;
10021 }
10022
10023 #define wxStyledTextEvent_SetDragAllowMove(_swigobj,_swigarg0) (_swigobj->SetDragAllowMove(_swigarg0))
10024 static PyObject *_wrap_wxStyledTextEvent_SetDragAllowMove(PyObject *self, PyObject *args, PyObject *kwargs) {
10025 PyObject * _resultobj;
10026 wxStyledTextEvent * _arg0;
10027 bool _arg1;
10028 PyObject * _argo0 = 0;
10029 int tempbool1;
10030 char *_kwnames[] = { "self","val", NULL };
10031
10032 self = self;
10033 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextEvent_SetDragAllowMove",_kwnames,&_argo0,&tempbool1))
10034 return NULL;
10035 if (_argo0) {
10036 if (_argo0 == Py_None) { _arg0 = NULL; }
10037 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextEvent_p")) {
10038 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextEvent_SetDragAllowMove. Expected _wxStyledTextEvent_p.");
10039 return NULL;
10040 }
10041 }
10042 _arg1 = (bool ) tempbool1;
10043 {
10044 PyThreadState* __tstate = wxPyBeginAllowThreads();
10045 wxStyledTextEvent_SetDragAllowMove(_arg0,_arg1);
10046
10047 wxPyEndAllowThreads(__tstate);
10048 if (PyErr_Occurred()) return NULL;
10049 } Py_INCREF(Py_None);
10050 _resultobj = Py_None;
10051 return _resultobj;
10052 }
10053
10054 #define wxStyledTextEvent_SetDragResult(_swigobj,_swigarg0) (_swigobj->SetDragResult(_swigarg0))
10055 static PyObject *_wrap_wxStyledTextEvent_SetDragResult(PyObject *self, PyObject *args, PyObject *kwargs) {
10056 PyObject * _resultobj;
10057 wxStyledTextEvent * _arg0;
10058 wxDragResult _arg1;
10059 PyObject * _argo0 = 0;
10060 char *_kwnames[] = { "self","val", NULL };
10061
10062 self = self;
10063 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextEvent_SetDragResult",_kwnames,&_argo0,&_arg1))
10064 return NULL;
10065 if (_argo0) {
10066 if (_argo0 == Py_None) { _arg0 = NULL; }
10067 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextEvent_p")) {
10068 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextEvent_SetDragResult. Expected _wxStyledTextEvent_p.");
10069 return NULL;
10070 }
10071 }
10072 {
10073 PyThreadState* __tstate = wxPyBeginAllowThreads();
10074 wxStyledTextEvent_SetDragResult(_arg0,_arg1);
10075
10076 wxPyEndAllowThreads(__tstate);
10077 if (PyErr_Occurred()) return NULL;
10078 } Py_INCREF(Py_None);
10079 _resultobj = Py_None;
10080 return _resultobj;
10081 }
10082
10083 #define wxStyledTextEvent_GetPosition(_swigobj) (_swigobj->GetPosition())
10084 static PyObject *_wrap_wxStyledTextEvent_GetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
10085 PyObject * _resultobj;
10086 int _result;
10087 wxStyledTextEvent * _arg0;
10088 PyObject * _argo0 = 0;
10089 char *_kwnames[] = { "self", NULL };
10090
10091 self = self;
10092 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextEvent_GetPosition",_kwnames,&_argo0))
10093 return NULL;
10094 if (_argo0) {
10095 if (_argo0 == Py_None) { _arg0 = NULL; }
10096 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextEvent_p")) {
10097 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextEvent_GetPosition. Expected _wxStyledTextEvent_p.");
10098 return NULL;
10099 }
10100 }
10101 {
10102 PyThreadState* __tstate = wxPyBeginAllowThreads();
10103 _result = (int )wxStyledTextEvent_GetPosition(_arg0);
10104
10105 wxPyEndAllowThreads(__tstate);
10106 if (PyErr_Occurred()) return NULL;
10107 } _resultobj = Py_BuildValue("i",_result);
10108 return _resultobj;
10109 }
10110
10111 #define wxStyledTextEvent_GetKey(_swigobj) (_swigobj->GetKey())
10112 static PyObject *_wrap_wxStyledTextEvent_GetKey(PyObject *self, PyObject *args, PyObject *kwargs) {
10113 PyObject * _resultobj;
10114 int _result;
10115 wxStyledTextEvent * _arg0;
10116 PyObject * _argo0 = 0;
10117 char *_kwnames[] = { "self", NULL };
10118
10119 self = self;
10120 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextEvent_GetKey",_kwnames,&_argo0))
10121 return NULL;
10122 if (_argo0) {
10123 if (_argo0 == Py_None) { _arg0 = NULL; }
10124 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextEvent_p")) {
10125 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextEvent_GetKey. Expected _wxStyledTextEvent_p.");
10126 return NULL;
10127 }
10128 }
10129 {
10130 PyThreadState* __tstate = wxPyBeginAllowThreads();
10131 _result = (int )wxStyledTextEvent_GetKey(_arg0);
10132
10133 wxPyEndAllowThreads(__tstate);
10134 if (PyErr_Occurred()) return NULL;
10135 } _resultobj = Py_BuildValue("i",_result);
10136 return _resultobj;
10137 }
10138
10139 #define wxStyledTextEvent_GetModifiers(_swigobj) (_swigobj->GetModifiers())
10140 static PyObject *_wrap_wxStyledTextEvent_GetModifiers(PyObject *self, PyObject *args, PyObject *kwargs) {
10141 PyObject * _resultobj;
10142 int _result;
10143 wxStyledTextEvent * _arg0;
10144 PyObject * _argo0 = 0;
10145 char *_kwnames[] = { "self", NULL };
10146
10147 self = self;
10148 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextEvent_GetModifiers",_kwnames,&_argo0))
10149 return NULL;
10150 if (_argo0) {
10151 if (_argo0 == Py_None) { _arg0 = NULL; }
10152 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextEvent_p")) {
10153 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextEvent_GetModifiers. Expected _wxStyledTextEvent_p.");
10154 return NULL;
10155 }
10156 }
10157 {
10158 PyThreadState* __tstate = wxPyBeginAllowThreads();
10159 _result = (int )wxStyledTextEvent_GetModifiers(_arg0);
10160
10161 wxPyEndAllowThreads(__tstate);
10162 if (PyErr_Occurred()) return NULL;
10163 } _resultobj = Py_BuildValue("i",_result);
10164 return _resultobj;
10165 }
10166
10167 #define wxStyledTextEvent_GetModificationType(_swigobj) (_swigobj->GetModificationType())
10168 static PyObject *_wrap_wxStyledTextEvent_GetModificationType(PyObject *self, PyObject *args, PyObject *kwargs) {
10169 PyObject * _resultobj;
10170 int _result;
10171 wxStyledTextEvent * _arg0;
10172 PyObject * _argo0 = 0;
10173 char *_kwnames[] = { "self", NULL };
10174
10175 self = self;
10176 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextEvent_GetModificationType",_kwnames,&_argo0))
10177 return NULL;
10178 if (_argo0) {
10179 if (_argo0 == Py_None) { _arg0 = NULL; }
10180 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextEvent_p")) {
10181 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextEvent_GetModificationType. Expected _wxStyledTextEvent_p.");
10182 return NULL;
10183 }
10184 }
10185 {
10186 PyThreadState* __tstate = wxPyBeginAllowThreads();
10187 _result = (int )wxStyledTextEvent_GetModificationType(_arg0);
10188
10189 wxPyEndAllowThreads(__tstate);
10190 if (PyErr_Occurred()) return NULL;
10191 } _resultobj = Py_BuildValue("i",_result);
10192 return _resultobj;
10193 }
10194
10195 #define wxStyledTextEvent_GetText(_swigobj) (_swigobj->GetText())
10196 static PyObject *_wrap_wxStyledTextEvent_GetText(PyObject *self, PyObject *args, PyObject *kwargs) {
10197 PyObject * _resultobj;
10198 wxString * _result;
10199 wxStyledTextEvent * _arg0;
10200 PyObject * _argo0 = 0;
10201 char *_kwnames[] = { "self", NULL };
10202
10203 self = self;
10204 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextEvent_GetText",_kwnames,&_argo0))
10205 return NULL;
10206 if (_argo0) {
10207 if (_argo0 == Py_None) { _arg0 = NULL; }
10208 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextEvent_p")) {
10209 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextEvent_GetText. Expected _wxStyledTextEvent_p.");
10210 return NULL;
10211 }
10212 }
10213 {
10214 PyThreadState* __tstate = wxPyBeginAllowThreads();
10215 _result = new wxString (wxStyledTextEvent_GetText(_arg0));
10216
10217 wxPyEndAllowThreads(__tstate);
10218 if (PyErr_Occurred()) return NULL;
10219 }{
10220 #if wxUSE_UNICODE
10221 _resultobj = PyUnicode_FromUnicode(_result->c_str(), _result->Len());
10222 #else
10223 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
10224 #endif
10225 }
10226 {
10227 delete _result;
10228 }
10229 return _resultobj;
10230 }
10231
10232 #define wxStyledTextEvent_GetLength(_swigobj) (_swigobj->GetLength())
10233 static PyObject *_wrap_wxStyledTextEvent_GetLength(PyObject *self, PyObject *args, PyObject *kwargs) {
10234 PyObject * _resultobj;
10235 int _result;
10236 wxStyledTextEvent * _arg0;
10237 PyObject * _argo0 = 0;
10238 char *_kwnames[] = { "self", NULL };
10239
10240 self = self;
10241 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextEvent_GetLength",_kwnames,&_argo0))
10242 return NULL;
10243 if (_argo0) {
10244 if (_argo0 == Py_None) { _arg0 = NULL; }
10245 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextEvent_p")) {
10246 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextEvent_GetLength. Expected _wxStyledTextEvent_p.");
10247 return NULL;
10248 }
10249 }
10250 {
10251 PyThreadState* __tstate = wxPyBeginAllowThreads();
10252 _result = (int )wxStyledTextEvent_GetLength(_arg0);
10253
10254 wxPyEndAllowThreads(__tstate);
10255 if (PyErr_Occurred()) return NULL;
10256 } _resultobj = Py_BuildValue("i",_result);
10257 return _resultobj;
10258 }
10259
10260 #define wxStyledTextEvent_GetLinesAdded(_swigobj) (_swigobj->GetLinesAdded())
10261 static PyObject *_wrap_wxStyledTextEvent_GetLinesAdded(PyObject *self, PyObject *args, PyObject *kwargs) {
10262 PyObject * _resultobj;
10263 int _result;
10264 wxStyledTextEvent * _arg0;
10265 PyObject * _argo0 = 0;
10266 char *_kwnames[] = { "self", NULL };
10267
10268 self = self;
10269 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextEvent_GetLinesAdded",_kwnames,&_argo0))
10270 return NULL;
10271 if (_argo0) {
10272 if (_argo0 == Py_None) { _arg0 = NULL; }
10273 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextEvent_p")) {
10274 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextEvent_GetLinesAdded. Expected _wxStyledTextEvent_p.");
10275 return NULL;
10276 }
10277 }
10278 {
10279 PyThreadState* __tstate = wxPyBeginAllowThreads();
10280 _result = (int )wxStyledTextEvent_GetLinesAdded(_arg0);
10281
10282 wxPyEndAllowThreads(__tstate);
10283 if (PyErr_Occurred()) return NULL;
10284 } _resultobj = Py_BuildValue("i",_result);
10285 return _resultobj;
10286 }
10287
10288 #define wxStyledTextEvent_GetLine(_swigobj) (_swigobj->GetLine())
10289 static PyObject *_wrap_wxStyledTextEvent_GetLine(PyObject *self, PyObject *args, PyObject *kwargs) {
10290 PyObject * _resultobj;
10291 int _result;
10292 wxStyledTextEvent * _arg0;
10293 PyObject * _argo0 = 0;
10294 char *_kwnames[] = { "self", NULL };
10295
10296 self = self;
10297 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextEvent_GetLine",_kwnames,&_argo0))
10298 return NULL;
10299 if (_argo0) {
10300 if (_argo0 == Py_None) { _arg0 = NULL; }
10301 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextEvent_p")) {
10302 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextEvent_GetLine. Expected _wxStyledTextEvent_p.");
10303 return NULL;
10304 }
10305 }
10306 {
10307 PyThreadState* __tstate = wxPyBeginAllowThreads();
10308 _result = (int )wxStyledTextEvent_GetLine(_arg0);
10309
10310 wxPyEndAllowThreads(__tstate);
10311 if (PyErr_Occurred()) return NULL;
10312 } _resultobj = Py_BuildValue("i",_result);
10313 return _resultobj;
10314 }
10315
10316 #define wxStyledTextEvent_GetFoldLevelNow(_swigobj) (_swigobj->GetFoldLevelNow())
10317 static PyObject *_wrap_wxStyledTextEvent_GetFoldLevelNow(PyObject *self, PyObject *args, PyObject *kwargs) {
10318 PyObject * _resultobj;
10319 int _result;
10320 wxStyledTextEvent * _arg0;
10321 PyObject * _argo0 = 0;
10322 char *_kwnames[] = { "self", NULL };
10323
10324 self = self;
10325 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextEvent_GetFoldLevelNow",_kwnames,&_argo0))
10326 return NULL;
10327 if (_argo0) {
10328 if (_argo0 == Py_None) { _arg0 = NULL; }
10329 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextEvent_p")) {
10330 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextEvent_GetFoldLevelNow. Expected _wxStyledTextEvent_p.");
10331 return NULL;
10332 }
10333 }
10334 {
10335 PyThreadState* __tstate = wxPyBeginAllowThreads();
10336 _result = (int )wxStyledTextEvent_GetFoldLevelNow(_arg0);
10337
10338 wxPyEndAllowThreads(__tstate);
10339 if (PyErr_Occurred()) return NULL;
10340 } _resultobj = Py_BuildValue("i",_result);
10341 return _resultobj;
10342 }
10343
10344 #define wxStyledTextEvent_GetFoldLevelPrev(_swigobj) (_swigobj->GetFoldLevelPrev())
10345 static PyObject *_wrap_wxStyledTextEvent_GetFoldLevelPrev(PyObject *self, PyObject *args, PyObject *kwargs) {
10346 PyObject * _resultobj;
10347 int _result;
10348 wxStyledTextEvent * _arg0;
10349 PyObject * _argo0 = 0;
10350 char *_kwnames[] = { "self", NULL };
10351
10352 self = self;
10353 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextEvent_GetFoldLevelPrev",_kwnames,&_argo0))
10354 return NULL;
10355 if (_argo0) {
10356 if (_argo0 == Py_None) { _arg0 = NULL; }
10357 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextEvent_p")) {
10358 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextEvent_GetFoldLevelPrev. Expected _wxStyledTextEvent_p.");
10359 return NULL;
10360 }
10361 }
10362 {
10363 PyThreadState* __tstate = wxPyBeginAllowThreads();
10364 _result = (int )wxStyledTextEvent_GetFoldLevelPrev(_arg0);
10365
10366 wxPyEndAllowThreads(__tstate);
10367 if (PyErr_Occurred()) return NULL;
10368 } _resultobj = Py_BuildValue("i",_result);
10369 return _resultobj;
10370 }
10371
10372 #define wxStyledTextEvent_GetMargin(_swigobj) (_swigobj->GetMargin())
10373 static PyObject *_wrap_wxStyledTextEvent_GetMargin(PyObject *self, PyObject *args, PyObject *kwargs) {
10374 PyObject * _resultobj;
10375 int _result;
10376 wxStyledTextEvent * _arg0;
10377 PyObject * _argo0 = 0;
10378 char *_kwnames[] = { "self", NULL };
10379
10380 self = self;
10381 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextEvent_GetMargin",_kwnames,&_argo0))
10382 return NULL;
10383 if (_argo0) {
10384 if (_argo0 == Py_None) { _arg0 = NULL; }
10385 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextEvent_p")) {
10386 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextEvent_GetMargin. Expected _wxStyledTextEvent_p.");
10387 return NULL;
10388 }
10389 }
10390 {
10391 PyThreadState* __tstate = wxPyBeginAllowThreads();
10392 _result = (int )wxStyledTextEvent_GetMargin(_arg0);
10393
10394 wxPyEndAllowThreads(__tstate);
10395 if (PyErr_Occurred()) return NULL;
10396 } _resultobj = Py_BuildValue("i",_result);
10397 return _resultobj;
10398 }
10399
10400 #define wxStyledTextEvent_GetMessage(_swigobj) (_swigobj->GetMessage())
10401 static PyObject *_wrap_wxStyledTextEvent_GetMessage(PyObject *self, PyObject *args, PyObject *kwargs) {
10402 PyObject * _resultobj;
10403 int _result;
10404 wxStyledTextEvent * _arg0;
10405 PyObject * _argo0 = 0;
10406 char *_kwnames[] = { "self", NULL };
10407
10408 self = self;
10409 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextEvent_GetMessage",_kwnames,&_argo0))
10410 return NULL;
10411 if (_argo0) {
10412 if (_argo0 == Py_None) { _arg0 = NULL; }
10413 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextEvent_p")) {
10414 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextEvent_GetMessage. Expected _wxStyledTextEvent_p.");
10415 return NULL;
10416 }
10417 }
10418 {
10419 PyThreadState* __tstate = wxPyBeginAllowThreads();
10420 _result = (int )wxStyledTextEvent_GetMessage(_arg0);
10421
10422 wxPyEndAllowThreads(__tstate);
10423 if (PyErr_Occurred()) return NULL;
10424 } _resultobj = Py_BuildValue("i",_result);
10425 return _resultobj;
10426 }
10427
10428 #define wxStyledTextEvent_GetWParam(_swigobj) (_swigobj->GetWParam())
10429 static PyObject *_wrap_wxStyledTextEvent_GetWParam(PyObject *self, PyObject *args, PyObject *kwargs) {
10430 PyObject * _resultobj;
10431 int _result;
10432 wxStyledTextEvent * _arg0;
10433 PyObject * _argo0 = 0;
10434 char *_kwnames[] = { "self", NULL };
10435
10436 self = self;
10437 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextEvent_GetWParam",_kwnames,&_argo0))
10438 return NULL;
10439 if (_argo0) {
10440 if (_argo0 == Py_None) { _arg0 = NULL; }
10441 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextEvent_p")) {
10442 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextEvent_GetWParam. Expected _wxStyledTextEvent_p.");
10443 return NULL;
10444 }
10445 }
10446 {
10447 PyThreadState* __tstate = wxPyBeginAllowThreads();
10448 _result = (int )wxStyledTextEvent_GetWParam(_arg0);
10449
10450 wxPyEndAllowThreads(__tstate);
10451 if (PyErr_Occurred()) return NULL;
10452 } _resultobj = Py_BuildValue("i",_result);
10453 return _resultobj;
10454 }
10455
10456 #define wxStyledTextEvent_GetLParam(_swigobj) (_swigobj->GetLParam())
10457 static PyObject *_wrap_wxStyledTextEvent_GetLParam(PyObject *self, PyObject *args, PyObject *kwargs) {
10458 PyObject * _resultobj;
10459 int _result;
10460 wxStyledTextEvent * _arg0;
10461 PyObject * _argo0 = 0;
10462 char *_kwnames[] = { "self", NULL };
10463
10464 self = self;
10465 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextEvent_GetLParam",_kwnames,&_argo0))
10466 return NULL;
10467 if (_argo0) {
10468 if (_argo0 == Py_None) { _arg0 = NULL; }
10469 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextEvent_p")) {
10470 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextEvent_GetLParam. Expected _wxStyledTextEvent_p.");
10471 return NULL;
10472 }
10473 }
10474 {
10475 PyThreadState* __tstate = wxPyBeginAllowThreads();
10476 _result = (int )wxStyledTextEvent_GetLParam(_arg0);
10477
10478 wxPyEndAllowThreads(__tstate);
10479 if (PyErr_Occurred()) return NULL;
10480 } _resultobj = Py_BuildValue("i",_result);
10481 return _resultobj;
10482 }
10483
10484 #define wxStyledTextEvent_GetListType(_swigobj) (_swigobj->GetListType())
10485 static PyObject *_wrap_wxStyledTextEvent_GetListType(PyObject *self, PyObject *args, PyObject *kwargs) {
10486 PyObject * _resultobj;
10487 int _result;
10488 wxStyledTextEvent * _arg0;
10489 PyObject * _argo0 = 0;
10490 char *_kwnames[] = { "self", NULL };
10491
10492 self = self;
10493 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextEvent_GetListType",_kwnames,&_argo0))
10494 return NULL;
10495 if (_argo0) {
10496 if (_argo0 == Py_None) { _arg0 = NULL; }
10497 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextEvent_p")) {
10498 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextEvent_GetListType. Expected _wxStyledTextEvent_p.");
10499 return NULL;
10500 }
10501 }
10502 {
10503 PyThreadState* __tstate = wxPyBeginAllowThreads();
10504 _result = (int )wxStyledTextEvent_GetListType(_arg0);
10505
10506 wxPyEndAllowThreads(__tstate);
10507 if (PyErr_Occurred()) return NULL;
10508 } _resultobj = Py_BuildValue("i",_result);
10509 return _resultobj;
10510 }
10511
10512 #define wxStyledTextEvent_GetX(_swigobj) (_swigobj->GetX())
10513 static PyObject *_wrap_wxStyledTextEvent_GetX(PyObject *self, PyObject *args, PyObject *kwargs) {
10514 PyObject * _resultobj;
10515 int _result;
10516 wxStyledTextEvent * _arg0;
10517 PyObject * _argo0 = 0;
10518 char *_kwnames[] = { "self", NULL };
10519
10520 self = self;
10521 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextEvent_GetX",_kwnames,&_argo0))
10522 return NULL;
10523 if (_argo0) {
10524 if (_argo0 == Py_None) { _arg0 = NULL; }
10525 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextEvent_p")) {
10526 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextEvent_GetX. Expected _wxStyledTextEvent_p.");
10527 return NULL;
10528 }
10529 }
10530 {
10531 PyThreadState* __tstate = wxPyBeginAllowThreads();
10532 _result = (int )wxStyledTextEvent_GetX(_arg0);
10533
10534 wxPyEndAllowThreads(__tstate);
10535 if (PyErr_Occurred()) return NULL;
10536 } _resultobj = Py_BuildValue("i",_result);
10537 return _resultobj;
10538 }
10539
10540 #define wxStyledTextEvent_GetY(_swigobj) (_swigobj->GetY())
10541 static PyObject *_wrap_wxStyledTextEvent_GetY(PyObject *self, PyObject *args, PyObject *kwargs) {
10542 PyObject * _resultobj;
10543 int _result;
10544 wxStyledTextEvent * _arg0;
10545 PyObject * _argo0 = 0;
10546 char *_kwnames[] = { "self", NULL };
10547
10548 self = self;
10549 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextEvent_GetY",_kwnames,&_argo0))
10550 return NULL;
10551 if (_argo0) {
10552 if (_argo0 == Py_None) { _arg0 = NULL; }
10553 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextEvent_p")) {
10554 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextEvent_GetY. Expected _wxStyledTextEvent_p.");
10555 return NULL;
10556 }
10557 }
10558 {
10559 PyThreadState* __tstate = wxPyBeginAllowThreads();
10560 _result = (int )wxStyledTextEvent_GetY(_arg0);
10561
10562 wxPyEndAllowThreads(__tstate);
10563 if (PyErr_Occurred()) return NULL;
10564 } _resultobj = Py_BuildValue("i",_result);
10565 return _resultobj;
10566 }
10567
10568 #define wxStyledTextEvent_GetDragText(_swigobj) (_swigobj->GetDragText())
10569 static PyObject *_wrap_wxStyledTextEvent_GetDragText(PyObject *self, PyObject *args, PyObject *kwargs) {
10570 PyObject * _resultobj;
10571 wxString * _result;
10572 wxStyledTextEvent * _arg0;
10573 PyObject * _argo0 = 0;
10574 char *_kwnames[] = { "self", NULL };
10575
10576 self = self;
10577 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextEvent_GetDragText",_kwnames,&_argo0))
10578 return NULL;
10579 if (_argo0) {
10580 if (_argo0 == Py_None) { _arg0 = NULL; }
10581 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextEvent_p")) {
10582 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextEvent_GetDragText. Expected _wxStyledTextEvent_p.");
10583 return NULL;
10584 }
10585 }
10586 {
10587 PyThreadState* __tstate = wxPyBeginAllowThreads();
10588 _result = new wxString (wxStyledTextEvent_GetDragText(_arg0));
10589
10590 wxPyEndAllowThreads(__tstate);
10591 if (PyErr_Occurred()) return NULL;
10592 }{
10593 #if wxUSE_UNICODE
10594 _resultobj = PyUnicode_FromUnicode(_result->c_str(), _result->Len());
10595 #else
10596 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
10597 #endif
10598 }
10599 {
10600 delete _result;
10601 }
10602 return _resultobj;
10603 }
10604
10605 #define wxStyledTextEvent_GetDragAllowMove(_swigobj) (_swigobj->GetDragAllowMove())
10606 static PyObject *_wrap_wxStyledTextEvent_GetDragAllowMove(PyObject *self, PyObject *args, PyObject *kwargs) {
10607 PyObject * _resultobj;
10608 bool _result;
10609 wxStyledTextEvent * _arg0;
10610 PyObject * _argo0 = 0;
10611 char *_kwnames[] = { "self", NULL };
10612
10613 self = self;
10614 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextEvent_GetDragAllowMove",_kwnames,&_argo0))
10615 return NULL;
10616 if (_argo0) {
10617 if (_argo0 == Py_None) { _arg0 = NULL; }
10618 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextEvent_p")) {
10619 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextEvent_GetDragAllowMove. Expected _wxStyledTextEvent_p.");
10620 return NULL;
10621 }
10622 }
10623 {
10624 PyThreadState* __tstate = wxPyBeginAllowThreads();
10625 _result = (bool )wxStyledTextEvent_GetDragAllowMove(_arg0);
10626
10627 wxPyEndAllowThreads(__tstate);
10628 if (PyErr_Occurred()) return NULL;
10629 } _resultobj = Py_BuildValue("i",_result);
10630 return _resultobj;
10631 }
10632
10633 #define wxStyledTextEvent_GetDragResult(_swigobj) (_swigobj->GetDragResult())
10634 static PyObject *_wrap_wxStyledTextEvent_GetDragResult(PyObject *self, PyObject *args, PyObject *kwargs) {
10635 PyObject * _resultobj;
10636 wxDragResult _result;
10637 wxStyledTextEvent * _arg0;
10638 PyObject * _argo0 = 0;
10639 char *_kwnames[] = { "self", NULL };
10640
10641 self = self;
10642 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextEvent_GetDragResult",_kwnames,&_argo0))
10643 return NULL;
10644 if (_argo0) {
10645 if (_argo0 == Py_None) { _arg0 = NULL; }
10646 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextEvent_p")) {
10647 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextEvent_GetDragResult. Expected _wxStyledTextEvent_p.");
10648 return NULL;
10649 }
10650 }
10651 {
10652 PyThreadState* __tstate = wxPyBeginAllowThreads();
10653 _result = (wxDragResult )wxStyledTextEvent_GetDragResult(_arg0);
10654
10655 wxPyEndAllowThreads(__tstate);
10656 if (PyErr_Occurred()) return NULL;
10657 } _resultobj = Py_BuildValue("i",_result);
10658 return _resultobj;
10659 }
10660
10661 #define wxStyledTextEvent_GetShift(_swigobj) (_swigobj->GetShift())
10662 static PyObject *_wrap_wxStyledTextEvent_GetShift(PyObject *self, PyObject *args, PyObject *kwargs) {
10663 PyObject * _resultobj;
10664 bool _result;
10665 wxStyledTextEvent * _arg0;
10666 PyObject * _argo0 = 0;
10667 char *_kwnames[] = { "self", NULL };
10668
10669 self = self;
10670 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextEvent_GetShift",_kwnames,&_argo0))
10671 return NULL;
10672 if (_argo0) {
10673 if (_argo0 == Py_None) { _arg0 = NULL; }
10674 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextEvent_p")) {
10675 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextEvent_GetShift. Expected _wxStyledTextEvent_p.");
10676 return NULL;
10677 }
10678 }
10679 {
10680 PyThreadState* __tstate = wxPyBeginAllowThreads();
10681 _result = (bool )wxStyledTextEvent_GetShift(_arg0);
10682
10683 wxPyEndAllowThreads(__tstate);
10684 if (PyErr_Occurred()) return NULL;
10685 } _resultobj = Py_BuildValue("i",_result);
10686 return _resultobj;
10687 }
10688
10689 #define wxStyledTextEvent_GetControl(_swigobj) (_swigobj->GetControl())
10690 static PyObject *_wrap_wxStyledTextEvent_GetControl(PyObject *self, PyObject *args, PyObject *kwargs) {
10691 PyObject * _resultobj;
10692 bool _result;
10693 wxStyledTextEvent * _arg0;
10694 PyObject * _argo0 = 0;
10695 char *_kwnames[] = { "self", NULL };
10696
10697 self = self;
10698 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextEvent_GetControl",_kwnames,&_argo0))
10699 return NULL;
10700 if (_argo0) {
10701 if (_argo0 == Py_None) { _arg0 = NULL; }
10702 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextEvent_p")) {
10703 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextEvent_GetControl. Expected _wxStyledTextEvent_p.");
10704 return NULL;
10705 }
10706 }
10707 {
10708 PyThreadState* __tstate = wxPyBeginAllowThreads();
10709 _result = (bool )wxStyledTextEvent_GetControl(_arg0);
10710
10711 wxPyEndAllowThreads(__tstate);
10712 if (PyErr_Occurred()) return NULL;
10713 } _resultobj = Py_BuildValue("i",_result);
10714 return _resultobj;
10715 }
10716
10717 #define wxStyledTextEvent_GetAlt(_swigobj) (_swigobj->GetAlt())
10718 static PyObject *_wrap_wxStyledTextEvent_GetAlt(PyObject *self, PyObject *args, PyObject *kwargs) {
10719 PyObject * _resultobj;
10720 bool _result;
10721 wxStyledTextEvent * _arg0;
10722 PyObject * _argo0 = 0;
10723 char *_kwnames[] = { "self", NULL };
10724
10725 self = self;
10726 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextEvent_GetAlt",_kwnames,&_argo0))
10727 return NULL;
10728 if (_argo0) {
10729 if (_argo0 == Py_None) { _arg0 = NULL; }
10730 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextEvent_p")) {
10731 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextEvent_GetAlt. Expected _wxStyledTextEvent_p.");
10732 return NULL;
10733 }
10734 }
10735 {
10736 PyThreadState* __tstate = wxPyBeginAllowThreads();
10737 _result = (bool )wxStyledTextEvent_GetAlt(_arg0);
10738
10739 wxPyEndAllowThreads(__tstate);
10740 if (PyErr_Occurred()) return NULL;
10741 } _resultobj = Py_BuildValue("i",_result);
10742 return _resultobj;
10743 }
10744
10745 #define wxStyledTextEvent_Clone(_swigobj) (_swigobj->Clone())
10746 static PyObject *_wrap_wxStyledTextEvent_Clone(PyObject *self, PyObject *args, PyObject *kwargs) {
10747 PyObject * _resultobj;
10748 wxEvent * _result;
10749 wxStyledTextEvent * _arg0;
10750 PyObject * _argo0 = 0;
10751 char *_kwnames[] = { "self", NULL };
10752 char _ptemp[128];
10753
10754 self = self;
10755 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextEvent_Clone",_kwnames,&_argo0))
10756 return NULL;
10757 if (_argo0) {
10758 if (_argo0 == Py_None) { _arg0 = NULL; }
10759 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextEvent_p")) {
10760 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextEvent_Clone. Expected _wxStyledTextEvent_p.");
10761 return NULL;
10762 }
10763 }
10764 {
10765 PyThreadState* __tstate = wxPyBeginAllowThreads();
10766 _result = (wxEvent *)wxStyledTextEvent_Clone(_arg0);
10767
10768 wxPyEndAllowThreads(__tstate);
10769 if (PyErr_Occurred()) return NULL;
10770 } if (_result) {
10771 SWIG_MakePtr(_ptemp, (char *) _result,"_wxEvent_p");
10772 _resultobj = Py_BuildValue("s",_ptemp);
10773 } else {
10774 Py_INCREF(Py_None);
10775 _resultobj = Py_None;
10776 }
10777 return _resultobj;
10778 }
10779
10780 static PyMethodDef stc_cMethods[] = {
10781 { "wxStyledTextEvent_Clone", (PyCFunction) _wrap_wxStyledTextEvent_Clone, METH_VARARGS | METH_KEYWORDS },
10782 { "wxStyledTextEvent_GetAlt", (PyCFunction) _wrap_wxStyledTextEvent_GetAlt, METH_VARARGS | METH_KEYWORDS },
10783 { "wxStyledTextEvent_GetControl", (PyCFunction) _wrap_wxStyledTextEvent_GetControl, METH_VARARGS | METH_KEYWORDS },
10784 { "wxStyledTextEvent_GetShift", (PyCFunction) _wrap_wxStyledTextEvent_GetShift, METH_VARARGS | METH_KEYWORDS },
10785 { "wxStyledTextEvent_GetDragResult", (PyCFunction) _wrap_wxStyledTextEvent_GetDragResult, METH_VARARGS | METH_KEYWORDS },
10786 { "wxStyledTextEvent_GetDragAllowMove", (PyCFunction) _wrap_wxStyledTextEvent_GetDragAllowMove, METH_VARARGS | METH_KEYWORDS },
10787 { "wxStyledTextEvent_GetDragText", (PyCFunction) _wrap_wxStyledTextEvent_GetDragText, METH_VARARGS | METH_KEYWORDS },
10788 { "wxStyledTextEvent_GetY", (PyCFunction) _wrap_wxStyledTextEvent_GetY, METH_VARARGS | METH_KEYWORDS },
10789 { "wxStyledTextEvent_GetX", (PyCFunction) _wrap_wxStyledTextEvent_GetX, METH_VARARGS | METH_KEYWORDS },
10790 { "wxStyledTextEvent_GetListType", (PyCFunction) _wrap_wxStyledTextEvent_GetListType, METH_VARARGS | METH_KEYWORDS },
10791 { "wxStyledTextEvent_GetLParam", (PyCFunction) _wrap_wxStyledTextEvent_GetLParam, METH_VARARGS | METH_KEYWORDS },
10792 { "wxStyledTextEvent_GetWParam", (PyCFunction) _wrap_wxStyledTextEvent_GetWParam, METH_VARARGS | METH_KEYWORDS },
10793 { "wxStyledTextEvent_GetMessage", (PyCFunction) _wrap_wxStyledTextEvent_GetMessage, METH_VARARGS | METH_KEYWORDS },
10794 { "wxStyledTextEvent_GetMargin", (PyCFunction) _wrap_wxStyledTextEvent_GetMargin, METH_VARARGS | METH_KEYWORDS },
10795 { "wxStyledTextEvent_GetFoldLevelPrev", (PyCFunction) _wrap_wxStyledTextEvent_GetFoldLevelPrev, METH_VARARGS | METH_KEYWORDS },
10796 { "wxStyledTextEvent_GetFoldLevelNow", (PyCFunction) _wrap_wxStyledTextEvent_GetFoldLevelNow, METH_VARARGS | METH_KEYWORDS },
10797 { "wxStyledTextEvent_GetLine", (PyCFunction) _wrap_wxStyledTextEvent_GetLine, METH_VARARGS | METH_KEYWORDS },
10798 { "wxStyledTextEvent_GetLinesAdded", (PyCFunction) _wrap_wxStyledTextEvent_GetLinesAdded, METH_VARARGS | METH_KEYWORDS },
10799 { "wxStyledTextEvent_GetLength", (PyCFunction) _wrap_wxStyledTextEvent_GetLength, METH_VARARGS | METH_KEYWORDS },
10800 { "wxStyledTextEvent_GetText", (PyCFunction) _wrap_wxStyledTextEvent_GetText, METH_VARARGS | METH_KEYWORDS },
10801 { "wxStyledTextEvent_GetModificationType", (PyCFunction) _wrap_wxStyledTextEvent_GetModificationType, METH_VARARGS | METH_KEYWORDS },
10802 { "wxStyledTextEvent_GetModifiers", (PyCFunction) _wrap_wxStyledTextEvent_GetModifiers, METH_VARARGS | METH_KEYWORDS },
10803 { "wxStyledTextEvent_GetKey", (PyCFunction) _wrap_wxStyledTextEvent_GetKey, METH_VARARGS | METH_KEYWORDS },
10804 { "wxStyledTextEvent_GetPosition", (PyCFunction) _wrap_wxStyledTextEvent_GetPosition, METH_VARARGS | METH_KEYWORDS },
10805 { "wxStyledTextEvent_SetDragResult", (PyCFunction) _wrap_wxStyledTextEvent_SetDragResult, METH_VARARGS | METH_KEYWORDS },
10806 { "wxStyledTextEvent_SetDragAllowMove", (PyCFunction) _wrap_wxStyledTextEvent_SetDragAllowMove, METH_VARARGS | METH_KEYWORDS },
10807 { "wxStyledTextEvent_SetDragText", (PyCFunction) _wrap_wxStyledTextEvent_SetDragText, METH_VARARGS | METH_KEYWORDS },
10808 { "wxStyledTextEvent_SetY", (PyCFunction) _wrap_wxStyledTextEvent_SetY, METH_VARARGS | METH_KEYWORDS },
10809 { "wxStyledTextEvent_SetX", (PyCFunction) _wrap_wxStyledTextEvent_SetX, METH_VARARGS | METH_KEYWORDS },
10810 { "wxStyledTextEvent_SetListType", (PyCFunction) _wrap_wxStyledTextEvent_SetListType, METH_VARARGS | METH_KEYWORDS },
10811 { "wxStyledTextEvent_SetLParam", (PyCFunction) _wrap_wxStyledTextEvent_SetLParam, METH_VARARGS | METH_KEYWORDS },
10812 { "wxStyledTextEvent_SetWParam", (PyCFunction) _wrap_wxStyledTextEvent_SetWParam, METH_VARARGS | METH_KEYWORDS },
10813 { "wxStyledTextEvent_SetMessage", (PyCFunction) _wrap_wxStyledTextEvent_SetMessage, METH_VARARGS | METH_KEYWORDS },
10814 { "wxStyledTextEvent_SetMargin", (PyCFunction) _wrap_wxStyledTextEvent_SetMargin, METH_VARARGS | METH_KEYWORDS },
10815 { "wxStyledTextEvent_SetFoldLevelPrev", (PyCFunction) _wrap_wxStyledTextEvent_SetFoldLevelPrev, METH_VARARGS | METH_KEYWORDS },
10816 { "wxStyledTextEvent_SetFoldLevelNow", (PyCFunction) _wrap_wxStyledTextEvent_SetFoldLevelNow, METH_VARARGS | METH_KEYWORDS },
10817 { "wxStyledTextEvent_SetLine", (PyCFunction) _wrap_wxStyledTextEvent_SetLine, METH_VARARGS | METH_KEYWORDS },
10818 { "wxStyledTextEvent_SetLinesAdded", (PyCFunction) _wrap_wxStyledTextEvent_SetLinesAdded, METH_VARARGS | METH_KEYWORDS },
10819 { "wxStyledTextEvent_SetLength", (PyCFunction) _wrap_wxStyledTextEvent_SetLength, METH_VARARGS | METH_KEYWORDS },
10820 { "wxStyledTextEvent_SetText", (PyCFunction) _wrap_wxStyledTextEvent_SetText, METH_VARARGS | METH_KEYWORDS },
10821 { "wxStyledTextEvent_SetModificationType", (PyCFunction) _wrap_wxStyledTextEvent_SetModificationType, METH_VARARGS | METH_KEYWORDS },
10822 { "wxStyledTextEvent_SetModifiers", (PyCFunction) _wrap_wxStyledTextEvent_SetModifiers, METH_VARARGS | METH_KEYWORDS },
10823 { "wxStyledTextEvent_SetKey", (PyCFunction) _wrap_wxStyledTextEvent_SetKey, METH_VARARGS | METH_KEYWORDS },
10824 { "wxStyledTextEvent_SetPosition", (PyCFunction) _wrap_wxStyledTextEvent_SetPosition, METH_VARARGS | METH_KEYWORDS },
10825 { "delete_wxStyledTextEvent", (PyCFunction) _wrap_delete_wxStyledTextEvent, METH_VARARGS | METH_KEYWORDS },
10826 { "new_wxStyledTextEvent", (PyCFunction) _wrap_new_wxStyledTextEvent, METH_VARARGS | METH_KEYWORDS },
10827 { "wxStyledTextCtrl_SetLastKeydownProcessed", (PyCFunction) _wrap_wxStyledTextCtrl_SetLastKeydownProcessed, METH_VARARGS | METH_KEYWORDS },
10828 { "wxStyledTextCtrl_GetLastKeydownProcessed", (PyCFunction) _wrap_wxStyledTextCtrl_GetLastKeydownProcessed, METH_VARARGS | METH_KEYWORDS },
10829 { "wxStyledTextCtrl_SetHScrollBar", (PyCFunction) _wrap_wxStyledTextCtrl_SetHScrollBar, METH_VARARGS | METH_KEYWORDS },
10830 { "wxStyledTextCtrl_SetVScrollBar", (PyCFunction) _wrap_wxStyledTextCtrl_SetVScrollBar, METH_VARARGS | METH_KEYWORDS },
10831 { "wxStyledTextCtrl_SendMsg", (PyCFunction) _wrap_wxStyledTextCtrl_SendMsg, METH_VARARGS | METH_KEYWORDS },
10832 { "wxStyledTextCtrl_ScrollToColumn", (PyCFunction) _wrap_wxStyledTextCtrl_ScrollToColumn, METH_VARARGS | METH_KEYWORDS },
10833 { "wxStyledTextCtrl_ScrollToLine", (PyCFunction) _wrap_wxStyledTextCtrl_ScrollToLine, METH_VARARGS | METH_KEYWORDS },
10834 { "wxStyledTextCtrl_PointFromPosition", (PyCFunction) _wrap_wxStyledTextCtrl_PointFromPosition, METH_VARARGS | METH_KEYWORDS },
10835 { "wxStyledTextCtrl_GetSelection", (PyCFunction) _wrap_wxStyledTextCtrl_GetSelection, METH_VARARGS | METH_KEYWORDS },
10836 { "wxStyledTextCtrl_SetMargins", (PyCFunction) _wrap_wxStyledTextCtrl_SetMargins, METH_VARARGS | METH_KEYWORDS },
10837 { "wxStyledTextCtrl_CmdKeyExecute", (PyCFunction) _wrap_wxStyledTextCtrl_CmdKeyExecute, METH_VARARGS | METH_KEYWORDS },
10838 { "wxStyledTextCtrl_StyleSetFontAttr", (PyCFunction) _wrap_wxStyledTextCtrl_StyleSetFontAttr, METH_VARARGS | METH_KEYWORDS },
10839 { "wxStyledTextCtrl_StyleSetFont", (PyCFunction) _wrap_wxStyledTextCtrl_StyleSetFont, METH_VARARGS | METH_KEYWORDS },
10840 { "wxStyledTextCtrl_StyleSetSpec", (PyCFunction) _wrap_wxStyledTextCtrl_StyleSetSpec, METH_VARARGS | METH_KEYWORDS },
10841 { "wxStyledTextCtrl_GetCurrentLine", (PyCFunction) _wrap_wxStyledTextCtrl_GetCurrentLine, METH_VARARGS | METH_KEYWORDS },
10842 { "wxStyledTextCtrl_SetLexerLanguage", (PyCFunction) _wrap_wxStyledTextCtrl_SetLexerLanguage, METH_VARARGS | METH_KEYWORDS },
10843 { "wxStyledTextCtrl_SetKeyWords", (PyCFunction) _wrap_wxStyledTextCtrl_SetKeyWords, METH_VARARGS | METH_KEYWORDS },
10844 { "wxStyledTextCtrl_SetProperty", (PyCFunction) _wrap_wxStyledTextCtrl_SetProperty, METH_VARARGS | METH_KEYWORDS },
10845 { "wxStyledTextCtrl_Colourise", (PyCFunction) _wrap_wxStyledTextCtrl_Colourise, METH_VARARGS | METH_KEYWORDS },
10846 { "wxStyledTextCtrl_GetLexer", (PyCFunction) _wrap_wxStyledTextCtrl_GetLexer, METH_VARARGS | METH_KEYWORDS },
10847 { "wxStyledTextCtrl_SetLexer", (PyCFunction) _wrap_wxStyledTextCtrl_SetLexer, METH_VARARGS | METH_KEYWORDS },
10848 { "wxStyledTextCtrl_StopRecord", (PyCFunction) _wrap_wxStyledTextCtrl_StopRecord, METH_VARARGS | METH_KEYWORDS },
10849 { "wxStyledTextCtrl_StartRecord", (PyCFunction) _wrap_wxStyledTextCtrl_StartRecord, METH_VARARGS | METH_KEYWORDS },
10850 { "wxStyledTextCtrl_SetYCaretPolicy", (PyCFunction) _wrap_wxStyledTextCtrl_SetYCaretPolicy, METH_VARARGS | METH_KEYWORDS },
10851 { "wxStyledTextCtrl_SetXCaretPolicy", (PyCFunction) _wrap_wxStyledTextCtrl_SetXCaretPolicy, METH_VARARGS | METH_KEYWORDS },
10852 { "wxStyledTextCtrl_GetXOffset", (PyCFunction) _wrap_wxStyledTextCtrl_GetXOffset, METH_VARARGS | METH_KEYWORDS },
10853 { "wxStyledTextCtrl_SetXOffset", (PyCFunction) _wrap_wxStyledTextCtrl_SetXOffset, METH_VARARGS | METH_KEYWORDS },
10854 { "wxStyledTextCtrl_DelLineRight", (PyCFunction) _wrap_wxStyledTextCtrl_DelLineRight, METH_VARARGS | METH_KEYWORDS },
10855 { "wxStyledTextCtrl_DelLineLeft", (PyCFunction) _wrap_wxStyledTextCtrl_DelLineLeft, METH_VARARGS | METH_KEYWORDS },
10856 { "wxStyledTextCtrl_SetVisiblePolicy", (PyCFunction) _wrap_wxStyledTextCtrl_SetVisiblePolicy, METH_VARARGS | METH_KEYWORDS },
10857 { "wxStyledTextCtrl_WordPartRightExtend", (PyCFunction) _wrap_wxStyledTextCtrl_WordPartRightExtend, METH_VARARGS | METH_KEYWORDS },
10858 { "wxStyledTextCtrl_WordPartRight", (PyCFunction) _wrap_wxStyledTextCtrl_WordPartRight, METH_VARARGS | METH_KEYWORDS },
10859 { "wxStyledTextCtrl_WordPartLeftExtend", (PyCFunction) _wrap_wxStyledTextCtrl_WordPartLeftExtend, METH_VARARGS | METH_KEYWORDS },
10860 { "wxStyledTextCtrl_WordPartLeft", (PyCFunction) _wrap_wxStyledTextCtrl_WordPartLeft, METH_VARARGS | METH_KEYWORDS },
10861 { "wxStyledTextCtrl_GetControlCharSymbol", (PyCFunction) _wrap_wxStyledTextCtrl_GetControlCharSymbol, METH_VARARGS | METH_KEYWORDS },
10862 { "wxStyledTextCtrl_SetControlCharSymbol", (PyCFunction) _wrap_wxStyledTextCtrl_SetControlCharSymbol, METH_VARARGS | METH_KEYWORDS },
10863 { "wxStyledTextCtrl_GetCursor", (PyCFunction) _wrap_wxStyledTextCtrl_GetCursor, METH_VARARGS | METH_KEYWORDS },
10864 { "wxStyledTextCtrl_SetCursor", (PyCFunction) _wrap_wxStyledTextCtrl_SetCursor, METH_VARARGS | METH_KEYWORDS },
10865 { "wxStyledTextCtrl_GetMouseDownCaptures", (PyCFunction) _wrap_wxStyledTextCtrl_GetMouseDownCaptures, METH_VARARGS | METH_KEYWORDS },
10866 { "wxStyledTextCtrl_SetMouseDownCaptures", (PyCFunction) _wrap_wxStyledTextCtrl_SetMouseDownCaptures, METH_VARARGS | METH_KEYWORDS },
10867 { "wxStyledTextCtrl_GetStatus", (PyCFunction) _wrap_wxStyledTextCtrl_GetStatus, METH_VARARGS | METH_KEYWORDS },
10868 { "wxStyledTextCtrl_SetStatus", (PyCFunction) _wrap_wxStyledTextCtrl_SetStatus, METH_VARARGS | METH_KEYWORDS },
10869 { "wxStyledTextCtrl_GetSTCFocus", (PyCFunction) _wrap_wxStyledTextCtrl_GetSTCFocus, METH_VARARGS | METH_KEYWORDS },
10870 { "wxStyledTextCtrl_SetSTCFocus", (PyCFunction) _wrap_wxStyledTextCtrl_SetSTCFocus, METH_VARARGS | METH_KEYWORDS },
10871 { "wxStyledTextCtrl_GetModEventMask", (PyCFunction) _wrap_wxStyledTextCtrl_GetModEventMask, METH_VARARGS | METH_KEYWORDS },
10872 { "wxStyledTextCtrl_ReleaseDocument", (PyCFunction) _wrap_wxStyledTextCtrl_ReleaseDocument, METH_VARARGS | METH_KEYWORDS },
10873 { "wxStyledTextCtrl_AddRefDocument", (PyCFunction) _wrap_wxStyledTextCtrl_AddRefDocument, METH_VARARGS | METH_KEYWORDS },
10874 { "wxStyledTextCtrl_CreateDocument", (PyCFunction) _wrap_wxStyledTextCtrl_CreateDocument, METH_VARARGS | METH_KEYWORDS },
10875 { "wxStyledTextCtrl_GetZoom", (PyCFunction) _wrap_wxStyledTextCtrl_GetZoom, METH_VARARGS | METH_KEYWORDS },
10876 { "wxStyledTextCtrl_SetZoom", (PyCFunction) _wrap_wxStyledTextCtrl_SetZoom, METH_VARARGS | METH_KEYWORDS },
10877 { "wxStyledTextCtrl_SelectionIsRectangle", (PyCFunction) _wrap_wxStyledTextCtrl_SelectionIsRectangle, METH_VARARGS | METH_KEYWORDS },
10878 { "wxStyledTextCtrl_UsePopUp", (PyCFunction) _wrap_wxStyledTextCtrl_UsePopUp, METH_VARARGS | METH_KEYWORDS },
10879 { "wxStyledTextCtrl_LinesOnScreen", (PyCFunction) _wrap_wxStyledTextCtrl_LinesOnScreen, METH_VARARGS | METH_KEYWORDS },
10880 { "wxStyledTextCtrl_SearchPrev", (PyCFunction) _wrap_wxStyledTextCtrl_SearchPrev, METH_VARARGS | METH_KEYWORDS },
10881 { "wxStyledTextCtrl_SearchNext", (PyCFunction) _wrap_wxStyledTextCtrl_SearchNext, METH_VARARGS | METH_KEYWORDS },
10882 { "wxStyledTextCtrl_SearchAnchor", (PyCFunction) _wrap_wxStyledTextCtrl_SearchAnchor, METH_VARARGS | METH_KEYWORDS },
10883 { "wxStyledTextCtrl_SetEdgeColour", (PyCFunction) _wrap_wxStyledTextCtrl_SetEdgeColour, METH_VARARGS | METH_KEYWORDS },
10884 { "wxStyledTextCtrl_GetEdgeColour", (PyCFunction) _wrap_wxStyledTextCtrl_GetEdgeColour, METH_VARARGS | METH_KEYWORDS },
10885 { "wxStyledTextCtrl_SetEdgeMode", (PyCFunction) _wrap_wxStyledTextCtrl_SetEdgeMode, METH_VARARGS | METH_KEYWORDS },
10886 { "wxStyledTextCtrl_GetEdgeMode", (PyCFunction) _wrap_wxStyledTextCtrl_GetEdgeMode, METH_VARARGS | METH_KEYWORDS },
10887 { "wxStyledTextCtrl_SetEdgeColumn", (PyCFunction) _wrap_wxStyledTextCtrl_SetEdgeColumn, METH_VARARGS | METH_KEYWORDS },
10888 { "wxStyledTextCtrl_GetEdgeColumn", (PyCFunction) _wrap_wxStyledTextCtrl_GetEdgeColumn, METH_VARARGS | METH_KEYWORDS },
10889 { "wxStyledTextCtrl_SetModEventMask", (PyCFunction) _wrap_wxStyledTextCtrl_SetModEventMask, METH_VARARGS | METH_KEYWORDS },
10890 { "wxStyledTextCtrl_SetDocPointer", (PyCFunction) _wrap_wxStyledTextCtrl_SetDocPointer, METH_VARARGS | METH_KEYWORDS },
10891 { "wxStyledTextCtrl_GetDocPointer", (PyCFunction) _wrap_wxStyledTextCtrl_GetDocPointer, METH_VARARGS | METH_KEYWORDS },
10892 { "wxStyledTextCtrl_SetViewEOL", (PyCFunction) _wrap_wxStyledTextCtrl_SetViewEOL, METH_VARARGS | METH_KEYWORDS },
10893 { "wxStyledTextCtrl_GetViewEOL", (PyCFunction) _wrap_wxStyledTextCtrl_GetViewEOL, METH_VARARGS | METH_KEYWORDS },
10894 { "wxStyledTextCtrl_BraceMatch", (PyCFunction) _wrap_wxStyledTextCtrl_BraceMatch, METH_VARARGS | METH_KEYWORDS },
10895 { "wxStyledTextCtrl_BraceBadLight", (PyCFunction) _wrap_wxStyledTextCtrl_BraceBadLight, METH_VARARGS | METH_KEYWORDS },
10896 { "wxStyledTextCtrl_BraceHighlight", (PyCFunction) _wrap_wxStyledTextCtrl_BraceHighlight, METH_VARARGS | METH_KEYWORDS },
10897 { "wxStyledTextCtrl_LineLength", (PyCFunction) _wrap_wxStyledTextCtrl_LineLength, METH_VARARGS | METH_KEYWORDS },
10898 { "wxStyledTextCtrl_MoveCaretInsideView", (PyCFunction) _wrap_wxStyledTextCtrl_MoveCaretInsideView, METH_VARARGS | METH_KEYWORDS },
10899 { "wxStyledTextCtrl_TextHeight", (PyCFunction) _wrap_wxStyledTextCtrl_TextHeight, METH_VARARGS | METH_KEYWORDS },
10900 { "wxStyledTextCtrl_GetEndAtLastLine", (PyCFunction) _wrap_wxStyledTextCtrl_GetEndAtLastLine, METH_VARARGS | METH_KEYWORDS },
10901 { "wxStyledTextCtrl_SetEndAtLastLine", (PyCFunction) _wrap_wxStyledTextCtrl_SetEndAtLastLine, METH_VARARGS | METH_KEYWORDS },
10902 { "wxStyledTextCtrl_TextWidth", (PyCFunction) _wrap_wxStyledTextCtrl_TextWidth, METH_VARARGS | METH_KEYWORDS },
10903 { "wxStyledTextCtrl_GetScrollWidth", (PyCFunction) _wrap_wxStyledTextCtrl_GetScrollWidth, METH_VARARGS | METH_KEYWORDS },
10904 { "wxStyledTextCtrl_SetScrollWidth", (PyCFunction) _wrap_wxStyledTextCtrl_SetScrollWidth, METH_VARARGS | METH_KEYWORDS },
10905 { "wxStyledTextCtrl_GetLayoutCache", (PyCFunction) _wrap_wxStyledTextCtrl_GetLayoutCache, METH_VARARGS | METH_KEYWORDS },
10906 { "wxStyledTextCtrl_SetLayoutCache", (PyCFunction) _wrap_wxStyledTextCtrl_SetLayoutCache, METH_VARARGS | METH_KEYWORDS },
10907 { "wxStyledTextCtrl_GetWrapMode", (PyCFunction) _wrap_wxStyledTextCtrl_GetWrapMode, METH_VARARGS | METH_KEYWORDS },
10908 { "wxStyledTextCtrl_SetWrapMode", (PyCFunction) _wrap_wxStyledTextCtrl_SetWrapMode, METH_VARARGS | METH_KEYWORDS },
10909 { "wxStyledTextCtrl_WordEndPosition", (PyCFunction) _wrap_wxStyledTextCtrl_WordEndPosition, METH_VARARGS | METH_KEYWORDS },
10910 { "wxStyledTextCtrl_WordStartPosition", (PyCFunction) _wrap_wxStyledTextCtrl_WordStartPosition, METH_VARARGS | METH_KEYWORDS },
10911 { "wxStyledTextCtrl_GetMouseDwellTime", (PyCFunction) _wrap_wxStyledTextCtrl_GetMouseDwellTime, METH_VARARGS | METH_KEYWORDS },
10912 { "wxStyledTextCtrl_SetMouseDwellTime", (PyCFunction) _wrap_wxStyledTextCtrl_SetMouseDwellTime, METH_VARARGS | METH_KEYWORDS },
10913 { "wxStyledTextCtrl_GetBackSpaceUnIndents", (PyCFunction) _wrap_wxStyledTextCtrl_GetBackSpaceUnIndents, METH_VARARGS | METH_KEYWORDS },
10914 { "wxStyledTextCtrl_SetBackSpaceUnIndents", (PyCFunction) _wrap_wxStyledTextCtrl_SetBackSpaceUnIndents, METH_VARARGS | METH_KEYWORDS },
10915 { "wxStyledTextCtrl_GetTabIndents", (PyCFunction) _wrap_wxStyledTextCtrl_GetTabIndents, METH_VARARGS | METH_KEYWORDS },
10916 { "wxStyledTextCtrl_SetTabIndents", (PyCFunction) _wrap_wxStyledTextCtrl_SetTabIndents, METH_VARARGS | METH_KEYWORDS },
10917 { "wxStyledTextCtrl_EnsureVisibleEnforcePolicy", (PyCFunction) _wrap_wxStyledTextCtrl_EnsureVisibleEnforcePolicy, METH_VARARGS | METH_KEYWORDS },
10918 { "wxStyledTextCtrl_SetFoldFlags", (PyCFunction) _wrap_wxStyledTextCtrl_SetFoldFlags, METH_VARARGS | METH_KEYWORDS },
10919 { "wxStyledTextCtrl_EnsureVisible", (PyCFunction) _wrap_wxStyledTextCtrl_EnsureVisible, METH_VARARGS | METH_KEYWORDS },
10920 { "wxStyledTextCtrl_ToggleFold", (PyCFunction) _wrap_wxStyledTextCtrl_ToggleFold, METH_VARARGS | METH_KEYWORDS },
10921 { "wxStyledTextCtrl_GetFoldExpanded", (PyCFunction) _wrap_wxStyledTextCtrl_GetFoldExpanded, METH_VARARGS | METH_KEYWORDS },
10922 { "wxStyledTextCtrl_SetFoldExpanded", (PyCFunction) _wrap_wxStyledTextCtrl_SetFoldExpanded, METH_VARARGS | METH_KEYWORDS },
10923 { "wxStyledTextCtrl_GetLineVisible", (PyCFunction) _wrap_wxStyledTextCtrl_GetLineVisible, METH_VARARGS | METH_KEYWORDS },
10924 { "wxStyledTextCtrl_HideLines", (PyCFunction) _wrap_wxStyledTextCtrl_HideLines, METH_VARARGS | METH_KEYWORDS },
10925 { "wxStyledTextCtrl_ShowLines", (PyCFunction) _wrap_wxStyledTextCtrl_ShowLines, METH_VARARGS | METH_KEYWORDS },
10926 { "wxStyledTextCtrl_GetFoldParent", (PyCFunction) _wrap_wxStyledTextCtrl_GetFoldParent, METH_VARARGS | METH_KEYWORDS },
10927 { "wxStyledTextCtrl_GetLastChild", (PyCFunction) _wrap_wxStyledTextCtrl_GetLastChild, METH_VARARGS | METH_KEYWORDS },
10928 { "wxStyledTextCtrl_GetFoldLevel", (PyCFunction) _wrap_wxStyledTextCtrl_GetFoldLevel, METH_VARARGS | METH_KEYWORDS },
10929 { "wxStyledTextCtrl_SetFoldLevel", (PyCFunction) _wrap_wxStyledTextCtrl_SetFoldLevel, METH_VARARGS | METH_KEYWORDS },
10930 { "wxStyledTextCtrl_DocLineFromVisible", (PyCFunction) _wrap_wxStyledTextCtrl_DocLineFromVisible, METH_VARARGS | METH_KEYWORDS },
10931 { "wxStyledTextCtrl_VisibleFromDocLine", (PyCFunction) _wrap_wxStyledTextCtrl_VisibleFromDocLine, METH_VARARGS | METH_KEYWORDS },
10932 { "wxStyledTextCtrl_CallTipSetBackground", (PyCFunction) _wrap_wxStyledTextCtrl_CallTipSetBackground, METH_VARARGS | METH_KEYWORDS },
10933 { "wxStyledTextCtrl_CallTipSetHighlight", (PyCFunction) _wrap_wxStyledTextCtrl_CallTipSetHighlight, METH_VARARGS | METH_KEYWORDS },
10934 { "wxStyledTextCtrl_CallTipPosAtStart", (PyCFunction) _wrap_wxStyledTextCtrl_CallTipPosAtStart, METH_VARARGS | METH_KEYWORDS },
10935 { "wxStyledTextCtrl_CallTipActive", (PyCFunction) _wrap_wxStyledTextCtrl_CallTipActive, METH_VARARGS | METH_KEYWORDS },
10936 { "wxStyledTextCtrl_CallTipCancel", (PyCFunction) _wrap_wxStyledTextCtrl_CallTipCancel, METH_VARARGS | METH_KEYWORDS },
10937 { "wxStyledTextCtrl_CallTipShow", (PyCFunction) _wrap_wxStyledTextCtrl_CallTipShow, METH_VARARGS | METH_KEYWORDS },
10938 { "wxStyledTextCtrl_GetSearchFlags", (PyCFunction) _wrap_wxStyledTextCtrl_GetSearchFlags, METH_VARARGS | METH_KEYWORDS },
10939 { "wxStyledTextCtrl_SetSearchFlags", (PyCFunction) _wrap_wxStyledTextCtrl_SetSearchFlags, METH_VARARGS | METH_KEYWORDS },
10940 { "wxStyledTextCtrl_SearchInTarget", (PyCFunction) _wrap_wxStyledTextCtrl_SearchInTarget, METH_VARARGS | METH_KEYWORDS },
10941 { "wxStyledTextCtrl_ReplaceTargetRE", (PyCFunction) _wrap_wxStyledTextCtrl_ReplaceTargetRE, METH_VARARGS | METH_KEYWORDS },
10942 { "wxStyledTextCtrl_ReplaceTarget", (PyCFunction) _wrap_wxStyledTextCtrl_ReplaceTarget, METH_VARARGS | METH_KEYWORDS },
10943 { "wxStyledTextCtrl_GetTargetEnd", (PyCFunction) _wrap_wxStyledTextCtrl_GetTargetEnd, METH_VARARGS | METH_KEYWORDS },
10944 { "wxStyledTextCtrl_SetTargetEnd", (PyCFunction) _wrap_wxStyledTextCtrl_SetTargetEnd, METH_VARARGS | METH_KEYWORDS },
10945 { "wxStyledTextCtrl_GetTargetStart", (PyCFunction) _wrap_wxStyledTextCtrl_GetTargetStart, METH_VARARGS | METH_KEYWORDS },
10946 { "wxStyledTextCtrl_SetTargetStart", (PyCFunction) _wrap_wxStyledTextCtrl_SetTargetStart, METH_VARARGS | METH_KEYWORDS },
10947 { "wxStyledTextCtrl_GetCaretWidth", (PyCFunction) _wrap_wxStyledTextCtrl_GetCaretWidth, METH_VARARGS | METH_KEYWORDS },
10948 { "wxStyledTextCtrl_SetCaretWidth", (PyCFunction) _wrap_wxStyledTextCtrl_SetCaretWidth, METH_VARARGS | METH_KEYWORDS },
10949 { "wxStyledTextCtrl_GetOvertype", (PyCFunction) _wrap_wxStyledTextCtrl_GetOvertype, METH_VARARGS | METH_KEYWORDS },
10950 { "wxStyledTextCtrl_SetOvertype", (PyCFunction) _wrap_wxStyledTextCtrl_SetOvertype, METH_VARARGS | METH_KEYWORDS },
10951 { "wxStyledTextCtrl_GetTextLength", (PyCFunction) _wrap_wxStyledTextCtrl_GetTextLength, METH_VARARGS | METH_KEYWORDS },
10952 { "wxStyledTextCtrl_GetText", (PyCFunction) _wrap_wxStyledTextCtrl_GetText, METH_VARARGS | METH_KEYWORDS },
10953 { "wxStyledTextCtrl_SetText", (PyCFunction) _wrap_wxStyledTextCtrl_SetText, METH_VARARGS | METH_KEYWORDS },
10954 { "wxStyledTextCtrl_Clear", (PyCFunction) _wrap_wxStyledTextCtrl_Clear, METH_VARARGS | METH_KEYWORDS },
10955 { "wxStyledTextCtrl_Paste", (PyCFunction) _wrap_wxStyledTextCtrl_Paste, METH_VARARGS | METH_KEYWORDS },
10956 { "wxStyledTextCtrl_Copy", (PyCFunction) _wrap_wxStyledTextCtrl_Copy, METH_VARARGS | METH_KEYWORDS },
10957 { "wxStyledTextCtrl_Cut", (PyCFunction) _wrap_wxStyledTextCtrl_Cut, METH_VARARGS | METH_KEYWORDS },
10958 { "wxStyledTextCtrl_Undo", (PyCFunction) _wrap_wxStyledTextCtrl_Undo, METH_VARARGS | METH_KEYWORDS },
10959 { "wxStyledTextCtrl_EmptyUndoBuffer", (PyCFunction) _wrap_wxStyledTextCtrl_EmptyUndoBuffer, METH_VARARGS | METH_KEYWORDS },
10960 { "wxStyledTextCtrl_CanUndo", (PyCFunction) _wrap_wxStyledTextCtrl_CanUndo, METH_VARARGS | METH_KEYWORDS },
10961 { "wxStyledTextCtrl_CanPaste", (PyCFunction) _wrap_wxStyledTextCtrl_CanPaste, METH_VARARGS | METH_KEYWORDS },
10962 { "wxStyledTextCtrl_SetReadOnly", (PyCFunction) _wrap_wxStyledTextCtrl_SetReadOnly, METH_VARARGS | METH_KEYWORDS },
10963 { "wxStyledTextCtrl_ReplaceSelection", (PyCFunction) _wrap_wxStyledTextCtrl_ReplaceSelection, METH_VARARGS | METH_KEYWORDS },
10964 { "wxStyledTextCtrl_EnsureCaretVisible", (PyCFunction) _wrap_wxStyledTextCtrl_EnsureCaretVisible, METH_VARARGS | METH_KEYWORDS },
10965 { "wxStyledTextCtrl_LineScroll", (PyCFunction) _wrap_wxStyledTextCtrl_LineScroll, METH_VARARGS | METH_KEYWORDS },
10966 { "wxStyledTextCtrl_PositionFromLine", (PyCFunction) _wrap_wxStyledTextCtrl_PositionFromLine, METH_VARARGS | METH_KEYWORDS },
10967 { "wxStyledTextCtrl_LineFromPosition", (PyCFunction) _wrap_wxStyledTextCtrl_LineFromPosition, METH_VARARGS | METH_KEYWORDS },
10968 { "wxStyledTextCtrl_HideSelection", (PyCFunction) _wrap_wxStyledTextCtrl_HideSelection, METH_VARARGS | METH_KEYWORDS },
10969 { "wxStyledTextCtrl_GetTextRange", (PyCFunction) _wrap_wxStyledTextCtrl_GetTextRange, METH_VARARGS | METH_KEYWORDS },
10970 { "wxStyledTextCtrl_GetSelectedText", (PyCFunction) _wrap_wxStyledTextCtrl_GetSelectedText, METH_VARARGS | METH_KEYWORDS },
10971 { "wxStyledTextCtrl_SetSelection", (PyCFunction) _wrap_wxStyledTextCtrl_SetSelection, METH_VARARGS | METH_KEYWORDS },
10972 { "wxStyledTextCtrl_GetModify", (PyCFunction) _wrap_wxStyledTextCtrl_GetModify, METH_VARARGS | METH_KEYWORDS },
10973 { "wxStyledTextCtrl_GetMarginRight", (PyCFunction) _wrap_wxStyledTextCtrl_GetMarginRight, METH_VARARGS | METH_KEYWORDS },
10974 { "wxStyledTextCtrl_SetMarginRight", (PyCFunction) _wrap_wxStyledTextCtrl_SetMarginRight, METH_VARARGS | METH_KEYWORDS },
10975 { "wxStyledTextCtrl_GetMarginLeft", (PyCFunction) _wrap_wxStyledTextCtrl_GetMarginLeft, METH_VARARGS | METH_KEYWORDS },
10976 { "wxStyledTextCtrl_SetMarginLeft", (PyCFunction) _wrap_wxStyledTextCtrl_SetMarginLeft, METH_VARARGS | METH_KEYWORDS },
10977 { "wxStyledTextCtrl_GetLineCount", (PyCFunction) _wrap_wxStyledTextCtrl_GetLineCount, METH_VARARGS | METH_KEYWORDS },
10978 { "wxStyledTextCtrl_GetLine", (PyCFunction) _wrap_wxStyledTextCtrl_GetLine, METH_VARARGS | METH_KEYWORDS },
10979 { "wxStyledTextCtrl_GetFirstVisibleLine", (PyCFunction) _wrap_wxStyledTextCtrl_GetFirstVisibleLine, METH_VARARGS | METH_KEYWORDS },
10980 { "wxStyledTextCtrl_FormatRange", (PyCFunction) _wrap_wxStyledTextCtrl_FormatRange, METH_VARARGS | METH_KEYWORDS },
10981 { "wxStyledTextCtrl_FindText", (PyCFunction) _wrap_wxStyledTextCtrl_FindText, METH_VARARGS | METH_KEYWORDS },
10982 { "wxStyledTextCtrl_GetPrintColourMode", (PyCFunction) _wrap_wxStyledTextCtrl_GetPrintColourMode, METH_VARARGS | METH_KEYWORDS },
10983 { "wxStyledTextCtrl_SetPrintColourMode", (PyCFunction) _wrap_wxStyledTextCtrl_SetPrintColourMode, METH_VARARGS | METH_KEYWORDS },
10984 { "wxStyledTextCtrl_GetPrintMagnification", (PyCFunction) _wrap_wxStyledTextCtrl_GetPrintMagnification, METH_VARARGS | METH_KEYWORDS },
10985 { "wxStyledTextCtrl_SetPrintMagnification", (PyCFunction) _wrap_wxStyledTextCtrl_SetPrintMagnification, METH_VARARGS | METH_KEYWORDS },
10986 { "wxStyledTextCtrl_GetSelectionEnd", (PyCFunction) _wrap_wxStyledTextCtrl_GetSelectionEnd, METH_VARARGS | METH_KEYWORDS },
10987 { "wxStyledTextCtrl_SetSelectionEnd", (PyCFunction) _wrap_wxStyledTextCtrl_SetSelectionEnd, METH_VARARGS | METH_KEYWORDS },
10988 { "wxStyledTextCtrl_GetSelectionStart", (PyCFunction) _wrap_wxStyledTextCtrl_GetSelectionStart, METH_VARARGS | METH_KEYWORDS },
10989 { "wxStyledTextCtrl_SetSelectionStart", (PyCFunction) _wrap_wxStyledTextCtrl_SetSelectionStart, METH_VARARGS | METH_KEYWORDS },
10990 { "wxStyledTextCtrl_SetCurrentPos", (PyCFunction) _wrap_wxStyledTextCtrl_SetCurrentPos, METH_VARARGS | METH_KEYWORDS },
10991 { "wxStyledTextCtrl_GetReadOnly", (PyCFunction) _wrap_wxStyledTextCtrl_GetReadOnly, METH_VARARGS | METH_KEYWORDS },
10992 { "wxStyledTextCtrl_GetCaretForeground", (PyCFunction) _wrap_wxStyledTextCtrl_GetCaretForeground, METH_VARARGS | METH_KEYWORDS },
10993 { "wxStyledTextCtrl_GetCodePage", (PyCFunction) _wrap_wxStyledTextCtrl_GetCodePage, METH_VARARGS | METH_KEYWORDS },
10994 { "wxStyledTextCtrl_GetLineEndPosition", (PyCFunction) _wrap_wxStyledTextCtrl_GetLineEndPosition, METH_VARARGS | METH_KEYWORDS },
10995 { "wxStyledTextCtrl_GetHighlightGuide", (PyCFunction) _wrap_wxStyledTextCtrl_GetHighlightGuide, METH_VARARGS | METH_KEYWORDS },
10996 { "wxStyledTextCtrl_SetHighlightGuide", (PyCFunction) _wrap_wxStyledTextCtrl_SetHighlightGuide, METH_VARARGS | METH_KEYWORDS },
10997 { "wxStyledTextCtrl_GetIndentationGuides", (PyCFunction) _wrap_wxStyledTextCtrl_GetIndentationGuides, METH_VARARGS | METH_KEYWORDS },
10998 { "wxStyledTextCtrl_SetIndentationGuides", (PyCFunction) _wrap_wxStyledTextCtrl_SetIndentationGuides, METH_VARARGS | METH_KEYWORDS },
10999 { "wxStyledTextCtrl_GetUseHorizontalScrollBar", (PyCFunction) _wrap_wxStyledTextCtrl_GetUseHorizontalScrollBar, METH_VARARGS | METH_KEYWORDS },
11000 { "wxStyledTextCtrl_SetUseHorizontalScrollBar", (PyCFunction) _wrap_wxStyledTextCtrl_SetUseHorizontalScrollBar, METH_VARARGS | METH_KEYWORDS },
11001 { "wxStyledTextCtrl_GetColumn", (PyCFunction) _wrap_wxStyledTextCtrl_GetColumn, METH_VARARGS | METH_KEYWORDS },
11002 { "wxStyledTextCtrl_GetLineIndentPosition", (PyCFunction) _wrap_wxStyledTextCtrl_GetLineIndentPosition, METH_VARARGS | METH_KEYWORDS },
11003 { "wxStyledTextCtrl_GetLineIndentation", (PyCFunction) _wrap_wxStyledTextCtrl_GetLineIndentation, METH_VARARGS | METH_KEYWORDS },
11004 { "wxStyledTextCtrl_SetLineIndentation", (PyCFunction) _wrap_wxStyledTextCtrl_SetLineIndentation, METH_VARARGS | METH_KEYWORDS },
11005 { "wxStyledTextCtrl_GetUseTabs", (PyCFunction) _wrap_wxStyledTextCtrl_GetUseTabs, METH_VARARGS | METH_KEYWORDS },
11006 { "wxStyledTextCtrl_SetUseTabs", (PyCFunction) _wrap_wxStyledTextCtrl_SetUseTabs, METH_VARARGS | METH_KEYWORDS },
11007 { "wxStyledTextCtrl_GetIndent", (PyCFunction) _wrap_wxStyledTextCtrl_GetIndent, METH_VARARGS | METH_KEYWORDS },
11008 { "wxStyledTextCtrl_SetIndent", (PyCFunction) _wrap_wxStyledTextCtrl_SetIndent, METH_VARARGS | METH_KEYWORDS },
11009 { "wxStyledTextCtrl_AutoCompGetDropRestOfWord", (PyCFunction) _wrap_wxStyledTextCtrl_AutoCompGetDropRestOfWord, METH_VARARGS | METH_KEYWORDS },
11010 { "wxStyledTextCtrl_AutoCompSetDropRestOfWord", (PyCFunction) _wrap_wxStyledTextCtrl_AutoCompSetDropRestOfWord, METH_VARARGS | METH_KEYWORDS },
11011 { "wxStyledTextCtrl_AutoCompGetAutoHide", (PyCFunction) _wrap_wxStyledTextCtrl_AutoCompGetAutoHide, METH_VARARGS | METH_KEYWORDS },
11012 { "wxStyledTextCtrl_AutoCompSetAutoHide", (PyCFunction) _wrap_wxStyledTextCtrl_AutoCompSetAutoHide, METH_VARARGS | METH_KEYWORDS },
11013 { "wxStyledTextCtrl_UserListShow", (PyCFunction) _wrap_wxStyledTextCtrl_UserListShow, METH_VARARGS | METH_KEYWORDS },
11014 { "wxStyledTextCtrl_AutoCompGetIgnoreCase", (PyCFunction) _wrap_wxStyledTextCtrl_AutoCompGetIgnoreCase, METH_VARARGS | METH_KEYWORDS },
11015 { "wxStyledTextCtrl_AutoCompSetIgnoreCase", (PyCFunction) _wrap_wxStyledTextCtrl_AutoCompSetIgnoreCase, METH_VARARGS | METH_KEYWORDS },
11016 { "wxStyledTextCtrl_AutoCompGetChooseSingle", (PyCFunction) _wrap_wxStyledTextCtrl_AutoCompGetChooseSingle, METH_VARARGS | METH_KEYWORDS },
11017 { "wxStyledTextCtrl_AutoCompSetChooseSingle", (PyCFunction) _wrap_wxStyledTextCtrl_AutoCompSetChooseSingle, METH_VARARGS | METH_KEYWORDS },
11018 { "wxStyledTextCtrl_AutoCompSetFillUps", (PyCFunction) _wrap_wxStyledTextCtrl_AutoCompSetFillUps, METH_VARARGS | METH_KEYWORDS },
11019 { "wxStyledTextCtrl_AutoCompGetCancelAtStart", (PyCFunction) _wrap_wxStyledTextCtrl_AutoCompGetCancelAtStart, METH_VARARGS | METH_KEYWORDS },
11020 { "wxStyledTextCtrl_AutoCompSetCancelAtStart", (PyCFunction) _wrap_wxStyledTextCtrl_AutoCompSetCancelAtStart, METH_VARARGS | METH_KEYWORDS },
11021 { "wxStyledTextCtrl_AutoCompSelect", (PyCFunction) _wrap_wxStyledTextCtrl_AutoCompSelect, METH_VARARGS | METH_KEYWORDS },
11022 { "wxStyledTextCtrl_AutoCompGetSeparator", (PyCFunction) _wrap_wxStyledTextCtrl_AutoCompGetSeparator, METH_VARARGS | METH_KEYWORDS },
11023 { "wxStyledTextCtrl_AutoCompSetSeparator", (PyCFunction) _wrap_wxStyledTextCtrl_AutoCompSetSeparator, METH_VARARGS | METH_KEYWORDS },
11024 { "wxStyledTextCtrl_AutoCompStops", (PyCFunction) _wrap_wxStyledTextCtrl_AutoCompStops, METH_VARARGS | METH_KEYWORDS },
11025 { "wxStyledTextCtrl_AutoCompComplete", (PyCFunction) _wrap_wxStyledTextCtrl_AutoCompComplete, METH_VARARGS | METH_KEYWORDS },
11026 { "wxStyledTextCtrl_AutoCompPosStart", (PyCFunction) _wrap_wxStyledTextCtrl_AutoCompPosStart, METH_VARARGS | METH_KEYWORDS },
11027 { "wxStyledTextCtrl_AutoCompActive", (PyCFunction) _wrap_wxStyledTextCtrl_AutoCompActive, METH_VARARGS | METH_KEYWORDS },
11028 { "wxStyledTextCtrl_AutoCompCancel", (PyCFunction) _wrap_wxStyledTextCtrl_AutoCompCancel, METH_VARARGS | METH_KEYWORDS },
11029 { "wxStyledTextCtrl_AutoCompShow", (PyCFunction) _wrap_wxStyledTextCtrl_AutoCompShow, METH_VARARGS | METH_KEYWORDS },
11030 { "wxStyledTextCtrl_StyleSetChangeable", (PyCFunction) _wrap_wxStyledTextCtrl_StyleSetChangeable, METH_VARARGS | METH_KEYWORDS },
11031 { "wxStyledTextCtrl_SetCaretLineBack", (PyCFunction) _wrap_wxStyledTextCtrl_SetCaretLineBack, METH_VARARGS | METH_KEYWORDS },
11032 { "wxStyledTextCtrl_GetCaretLineBack", (PyCFunction) _wrap_wxStyledTextCtrl_GetCaretLineBack, METH_VARARGS | METH_KEYWORDS },
11033 { "wxStyledTextCtrl_SetCaretLineVisible", (PyCFunction) _wrap_wxStyledTextCtrl_SetCaretLineVisible, METH_VARARGS | METH_KEYWORDS },
11034 { "wxStyledTextCtrl_GetCaretLineVisible", (PyCFunction) _wrap_wxStyledTextCtrl_GetCaretLineVisible, METH_VARARGS | METH_KEYWORDS },
11035 { "wxStyledTextCtrl_GetMaxLineState", (PyCFunction) _wrap_wxStyledTextCtrl_GetMaxLineState, METH_VARARGS | METH_KEYWORDS },
11036 { "wxStyledTextCtrl_GetLineState", (PyCFunction) _wrap_wxStyledTextCtrl_GetLineState, METH_VARARGS | METH_KEYWORDS },
11037 { "wxStyledTextCtrl_SetLineState", (PyCFunction) _wrap_wxStyledTextCtrl_SetLineState, METH_VARARGS | METH_KEYWORDS },
11038 { "wxStyledTextCtrl_GetStyleBits", (PyCFunction) _wrap_wxStyledTextCtrl_GetStyleBits, METH_VARARGS | METH_KEYWORDS },
11039 { "wxStyledTextCtrl_SetStyleBits", (PyCFunction) _wrap_wxStyledTextCtrl_SetStyleBits, METH_VARARGS | METH_KEYWORDS },
11040 { "wxStyledTextCtrl_IndicatorGetForeground", (PyCFunction) _wrap_wxStyledTextCtrl_IndicatorGetForeground, METH_VARARGS | METH_KEYWORDS },
11041 { "wxStyledTextCtrl_IndicatorSetForeground", (PyCFunction) _wrap_wxStyledTextCtrl_IndicatorSetForeground, METH_VARARGS | METH_KEYWORDS },
11042 { "wxStyledTextCtrl_IndicatorGetStyle", (PyCFunction) _wrap_wxStyledTextCtrl_IndicatorGetStyle, METH_VARARGS | METH_KEYWORDS },
11043 { "wxStyledTextCtrl_IndicatorSetStyle", (PyCFunction) _wrap_wxStyledTextCtrl_IndicatorSetStyle, METH_VARARGS | METH_KEYWORDS },
11044 { "wxStyledTextCtrl_EndUndoAction", (PyCFunction) _wrap_wxStyledTextCtrl_EndUndoAction, METH_VARARGS | METH_KEYWORDS },
11045 { "wxStyledTextCtrl_BeginUndoAction", (PyCFunction) _wrap_wxStyledTextCtrl_BeginUndoAction, METH_VARARGS | METH_KEYWORDS },
11046 { "wxStyledTextCtrl_SetWordChars", (PyCFunction) _wrap_wxStyledTextCtrl_SetWordChars, METH_VARARGS | METH_KEYWORDS },
11047 { "wxStyledTextCtrl_SetCaretPeriod", (PyCFunction) _wrap_wxStyledTextCtrl_SetCaretPeriod, METH_VARARGS | METH_KEYWORDS },
11048 { "wxStyledTextCtrl_GetCaretPeriod", (PyCFunction) _wrap_wxStyledTextCtrl_GetCaretPeriod, METH_VARARGS | METH_KEYWORDS },
11049 { "wxStyledTextCtrl_StyleSetVisible", (PyCFunction) _wrap_wxStyledTextCtrl_StyleSetVisible, METH_VARARGS | METH_KEYWORDS },
11050 { "wxStyledTextCtrl_SetStyleBytes", (PyCFunction) _wrap_wxStyledTextCtrl_SetStyleBytes, METH_VARARGS | METH_KEYWORDS },
11051 { "wxStyledTextCtrl_CmdKeyClearAll", (PyCFunction) _wrap_wxStyledTextCtrl_CmdKeyClearAll, METH_VARARGS | METH_KEYWORDS },
11052 { "wxStyledTextCtrl_CmdKeyClear", (PyCFunction) _wrap_wxStyledTextCtrl_CmdKeyClear, METH_VARARGS | METH_KEYWORDS },
11053 { "wxStyledTextCtrl_CmdKeyAssign", (PyCFunction) _wrap_wxStyledTextCtrl_CmdKeyAssign, METH_VARARGS | METH_KEYWORDS },
11054 { "wxStyledTextCtrl_SetCaretForeground", (PyCFunction) _wrap_wxStyledTextCtrl_SetCaretForeground, METH_VARARGS | METH_KEYWORDS },
11055 { "wxStyledTextCtrl_SetSelBackground", (PyCFunction) _wrap_wxStyledTextCtrl_SetSelBackground, METH_VARARGS | METH_KEYWORDS },
11056 { "wxStyledTextCtrl_SetSelForeground", (PyCFunction) _wrap_wxStyledTextCtrl_SetSelForeground, METH_VARARGS | METH_KEYWORDS },
11057 { "wxStyledTextCtrl_StyleSetCharacterSet", (PyCFunction) _wrap_wxStyledTextCtrl_StyleSetCharacterSet, METH_VARARGS | METH_KEYWORDS },
11058 { "wxStyledTextCtrl_StyleSetCase", (PyCFunction) _wrap_wxStyledTextCtrl_StyleSetCase, METH_VARARGS | METH_KEYWORDS },
11059 { "wxStyledTextCtrl_StyleSetUnderline", (PyCFunction) _wrap_wxStyledTextCtrl_StyleSetUnderline, METH_VARARGS | METH_KEYWORDS },
11060 { "wxStyledTextCtrl_StyleResetDefault", (PyCFunction) _wrap_wxStyledTextCtrl_StyleResetDefault, METH_VARARGS | METH_KEYWORDS },
11061 { "wxStyledTextCtrl_StyleSetEOLFilled", (PyCFunction) _wrap_wxStyledTextCtrl_StyleSetEOLFilled, METH_VARARGS | METH_KEYWORDS },
11062 { "wxStyledTextCtrl_StyleSetFaceName", (PyCFunction) _wrap_wxStyledTextCtrl_StyleSetFaceName, METH_VARARGS | METH_KEYWORDS },
11063 { "wxStyledTextCtrl_StyleSetSize", (PyCFunction) _wrap_wxStyledTextCtrl_StyleSetSize, METH_VARARGS | METH_KEYWORDS },
11064 { "wxStyledTextCtrl_StyleSetItalic", (PyCFunction) _wrap_wxStyledTextCtrl_StyleSetItalic, METH_VARARGS | METH_KEYWORDS },
11065 { "wxStyledTextCtrl_StyleSetBold", (PyCFunction) _wrap_wxStyledTextCtrl_StyleSetBold, METH_VARARGS | METH_KEYWORDS },
11066 { "wxStyledTextCtrl_StyleSetBackground", (PyCFunction) _wrap_wxStyledTextCtrl_StyleSetBackground, METH_VARARGS | METH_KEYWORDS },
11067 { "wxStyledTextCtrl_StyleSetForeground", (PyCFunction) _wrap_wxStyledTextCtrl_StyleSetForeground, METH_VARARGS | METH_KEYWORDS },
11068 { "wxStyledTextCtrl_StyleClearAll", (PyCFunction) _wrap_wxStyledTextCtrl_StyleClearAll, METH_VARARGS | METH_KEYWORDS },
11069 { "wxStyledTextCtrl_GetMarginSensitive", (PyCFunction) _wrap_wxStyledTextCtrl_GetMarginSensitive, METH_VARARGS | METH_KEYWORDS },
11070 { "wxStyledTextCtrl_SetMarginSensitive", (PyCFunction) _wrap_wxStyledTextCtrl_SetMarginSensitive, METH_VARARGS | METH_KEYWORDS },
11071 { "wxStyledTextCtrl_GetMarginMask", (PyCFunction) _wrap_wxStyledTextCtrl_GetMarginMask, METH_VARARGS | METH_KEYWORDS },
11072 { "wxStyledTextCtrl_SetMarginMask", (PyCFunction) _wrap_wxStyledTextCtrl_SetMarginMask, METH_VARARGS | METH_KEYWORDS },
11073 { "wxStyledTextCtrl_GetMarginWidth", (PyCFunction) _wrap_wxStyledTextCtrl_GetMarginWidth, METH_VARARGS | METH_KEYWORDS },
11074 { "wxStyledTextCtrl_SetMarginWidth", (PyCFunction) _wrap_wxStyledTextCtrl_SetMarginWidth, METH_VARARGS | METH_KEYWORDS },
11075 { "wxStyledTextCtrl_GetMarginType", (PyCFunction) _wrap_wxStyledTextCtrl_GetMarginType, METH_VARARGS | METH_KEYWORDS },
11076 { "wxStyledTextCtrl_SetMarginType", (PyCFunction) _wrap_wxStyledTextCtrl_SetMarginType, METH_VARARGS | METH_KEYWORDS },
11077 { "wxStyledTextCtrl_MarkerPrevious", (PyCFunction) _wrap_wxStyledTextCtrl_MarkerPrevious, METH_VARARGS | METH_KEYWORDS },
11078 { "wxStyledTextCtrl_MarkerNext", (PyCFunction) _wrap_wxStyledTextCtrl_MarkerNext, METH_VARARGS | METH_KEYWORDS },
11079 { "wxStyledTextCtrl_MarkerGet", (PyCFunction) _wrap_wxStyledTextCtrl_MarkerGet, METH_VARARGS | METH_KEYWORDS },
11080 { "wxStyledTextCtrl_MarkerDeleteAll", (PyCFunction) _wrap_wxStyledTextCtrl_MarkerDeleteAll, METH_VARARGS | METH_KEYWORDS },
11081 { "wxStyledTextCtrl_MarkerDelete", (PyCFunction) _wrap_wxStyledTextCtrl_MarkerDelete, METH_VARARGS | METH_KEYWORDS },
11082 { "wxStyledTextCtrl_MarkerAdd", (PyCFunction) _wrap_wxStyledTextCtrl_MarkerAdd, METH_VARARGS | METH_KEYWORDS },
11083 { "wxStyledTextCtrl_MarkerSetBackground", (PyCFunction) _wrap_wxStyledTextCtrl_MarkerSetBackground, METH_VARARGS | METH_KEYWORDS },
11084 { "wxStyledTextCtrl_MarkerSetForeground", (PyCFunction) _wrap_wxStyledTextCtrl_MarkerSetForeground, METH_VARARGS | METH_KEYWORDS },
11085 { "wxStyledTextCtrl_MarkerDefine", (PyCFunction) _wrap_wxStyledTextCtrl_MarkerDefine, METH_VARARGS | METH_KEYWORDS },
11086 { "wxStyledTextCtrl_SetCodePage", (PyCFunction) _wrap_wxStyledTextCtrl_SetCodePage, METH_VARARGS | METH_KEYWORDS },
11087 { "wxStyledTextCtrl_GetTabWidth", (PyCFunction) _wrap_wxStyledTextCtrl_GetTabWidth, METH_VARARGS | METH_KEYWORDS },
11088 { "wxStyledTextCtrl_SetTabWidth", (PyCFunction) _wrap_wxStyledTextCtrl_SetTabWidth, METH_VARARGS | METH_KEYWORDS },
11089 { "wxStyledTextCtrl_SetBufferedDraw", (PyCFunction) _wrap_wxStyledTextCtrl_SetBufferedDraw, METH_VARARGS | METH_KEYWORDS },
11090 { "wxStyledTextCtrl_GetBufferedDraw", (PyCFunction) _wrap_wxStyledTextCtrl_GetBufferedDraw, METH_VARARGS | METH_KEYWORDS },
11091 { "wxStyledTextCtrl_SetStyling", (PyCFunction) _wrap_wxStyledTextCtrl_SetStyling, METH_VARARGS | METH_KEYWORDS },
11092 { "wxStyledTextCtrl_StartStyling", (PyCFunction) _wrap_wxStyledTextCtrl_StartStyling, METH_VARARGS | METH_KEYWORDS },
11093 { "wxStyledTextCtrl_SetEOLMode", (PyCFunction) _wrap_wxStyledTextCtrl_SetEOLMode, METH_VARARGS | METH_KEYWORDS },
11094 { "wxStyledTextCtrl_GetEOLMode", (PyCFunction) _wrap_wxStyledTextCtrl_GetEOLMode, METH_VARARGS | METH_KEYWORDS },
11095 { "wxStyledTextCtrl_ConvertEOLs", (PyCFunction) _wrap_wxStyledTextCtrl_ConvertEOLs, METH_VARARGS | METH_KEYWORDS },
11096 { "wxStyledTextCtrl_GetEndStyled", (PyCFunction) _wrap_wxStyledTextCtrl_GetEndStyled, METH_VARARGS | METH_KEYWORDS },
11097 { "wxStyledTextCtrl_GetCurLine", (PyCFunction) _wrap_wxStyledTextCtrl_GetCurLine, METH_VARARGS | METH_KEYWORDS },
11098 { "wxStyledTextCtrl_SetAnchor", (PyCFunction) _wrap_wxStyledTextCtrl_SetAnchor, METH_VARARGS | METH_KEYWORDS },
11099 { "wxStyledTextCtrl_GotoPos", (PyCFunction) _wrap_wxStyledTextCtrl_GotoPos, METH_VARARGS | METH_KEYWORDS },
11100 { "wxStyledTextCtrl_GotoLine", (PyCFunction) _wrap_wxStyledTextCtrl_GotoLine, METH_VARARGS | METH_KEYWORDS },
11101 { "wxStyledTextCtrl_PositionFromPointClose", (PyCFunction) _wrap_wxStyledTextCtrl_PositionFromPointClose, METH_VARARGS | METH_KEYWORDS },
11102 { "wxStyledTextCtrl_PositionFromPoint", (PyCFunction) _wrap_wxStyledTextCtrl_PositionFromPoint, METH_VARARGS | METH_KEYWORDS },
11103 { "wxStyledTextCtrl_SetViewWhiteSpace", (PyCFunction) _wrap_wxStyledTextCtrl_SetViewWhiteSpace, METH_VARARGS | METH_KEYWORDS },
11104 { "wxStyledTextCtrl_GetViewWhiteSpace", (PyCFunction) _wrap_wxStyledTextCtrl_GetViewWhiteSpace, METH_VARARGS | METH_KEYWORDS },
11105 { "wxStyledTextCtrl_GetUndoCollection", (PyCFunction) _wrap_wxStyledTextCtrl_GetUndoCollection, METH_VARARGS | METH_KEYWORDS },
11106 { "wxStyledTextCtrl_MarkerDeleteHandle", (PyCFunction) _wrap_wxStyledTextCtrl_MarkerDeleteHandle, METH_VARARGS | METH_KEYWORDS },
11107 { "wxStyledTextCtrl_MarkerLineFromHandle", (PyCFunction) _wrap_wxStyledTextCtrl_MarkerLineFromHandle, METH_VARARGS | METH_KEYWORDS },
11108 { "wxStyledTextCtrl_CanRedo", (PyCFunction) _wrap_wxStyledTextCtrl_CanRedo, METH_VARARGS | METH_KEYWORDS },
11109 { "wxStyledTextCtrl_GetStyledText", (PyCFunction) _wrap_wxStyledTextCtrl_GetStyledText, METH_VARARGS | METH_KEYWORDS },
11110 { "wxStyledTextCtrl_SetSavePoint", (PyCFunction) _wrap_wxStyledTextCtrl_SetSavePoint, METH_VARARGS | METH_KEYWORDS },
11111 { "wxStyledTextCtrl_SelectAll", (PyCFunction) _wrap_wxStyledTextCtrl_SelectAll, METH_VARARGS | METH_KEYWORDS },
11112 { "wxStyledTextCtrl_SetUndoCollection", (PyCFunction) _wrap_wxStyledTextCtrl_SetUndoCollection, METH_VARARGS | METH_KEYWORDS },
11113 { "wxStyledTextCtrl_Redo", (PyCFunction) _wrap_wxStyledTextCtrl_Redo, METH_VARARGS | METH_KEYWORDS },
11114 { "wxStyledTextCtrl_GetStyleAt", (PyCFunction) _wrap_wxStyledTextCtrl_GetStyleAt, METH_VARARGS | METH_KEYWORDS },
11115 { "wxStyledTextCtrl_GetAnchor", (PyCFunction) _wrap_wxStyledTextCtrl_GetAnchor, METH_VARARGS | METH_KEYWORDS },
11116 { "wxStyledTextCtrl_GetCurrentPos", (PyCFunction) _wrap_wxStyledTextCtrl_GetCurrentPos, METH_VARARGS | METH_KEYWORDS },
11117 { "wxStyledTextCtrl_GetCharAt", (PyCFunction) _wrap_wxStyledTextCtrl_GetCharAt, METH_VARARGS | METH_KEYWORDS },
11118 { "wxStyledTextCtrl_GetLength", (PyCFunction) _wrap_wxStyledTextCtrl_GetLength, METH_VARARGS | METH_KEYWORDS },
11119 { "wxStyledTextCtrl_ClearDocumentStyle", (PyCFunction) _wrap_wxStyledTextCtrl_ClearDocumentStyle, METH_VARARGS | METH_KEYWORDS },
11120 { "wxStyledTextCtrl_ClearAll", (PyCFunction) _wrap_wxStyledTextCtrl_ClearAll, METH_VARARGS | METH_KEYWORDS },
11121 { "wxStyledTextCtrl_InsertText", (PyCFunction) _wrap_wxStyledTextCtrl_InsertText, METH_VARARGS | METH_KEYWORDS },
11122 { "wxStyledTextCtrl_AddStyledText", (PyCFunction) _wrap_wxStyledTextCtrl_AddStyledText, METH_VARARGS | METH_KEYWORDS },
11123 { "wxStyledTextCtrl_AddText", (PyCFunction) _wrap_wxStyledTextCtrl_AddText, METH_VARARGS | METH_KEYWORDS },
11124 { "new_wxStyledTextCtrl", (PyCFunction) _wrap_new_wxStyledTextCtrl, METH_VARARGS | METH_KEYWORDS },
11125 { NULL, NULL }
11126 };
11127 #ifdef __cplusplus
11128 }
11129 #endif
11130 /*
11131 * This table is used by the pointer type-checker
11132 */
11133 static struct { char *n1; char *n2; void *(*pcnv)(void *); } _swig_mapping[] = {
11134 { "_wxEvent","_wxStyledTextEvent",SwigwxStyledTextEventTowxEvent},
11135 { "_signed_long","_long",0},
11136 { "_wxPrintQuality","_wxCoord",0},
11137 { "_wxPrintQuality","_int",0},
11138 { "_wxPrintQuality","_signed_int",0},
11139 { "_wxPrintQuality","_unsigned_int",0},
11140 { "_wxPrintQuality","_wxWindowID",0},
11141 { "_wxPrintQuality","_uint",0},
11142 { "_wxPrintQuality","_EBool",0},
11143 { "_wxPrintQuality","_size_t",0},
11144 { "_wxPrintQuality","_time_t",0},
11145 { "_byte","_unsigned_char",0},
11146 { "_long","_unsigned_long",0},
11147 { "_long","_signed_long",0},
11148 { "_size_t","_wxCoord",0},
11149 { "_size_t","_wxPrintQuality",0},
11150 { "_size_t","_time_t",0},
11151 { "_size_t","_unsigned_int",0},
11152 { "_size_t","_int",0},
11153 { "_size_t","_wxWindowID",0},
11154 { "_size_t","_uint",0},
11155 { "_uint","_wxCoord",0},
11156 { "_uint","_wxPrintQuality",0},
11157 { "_uint","_time_t",0},
11158 { "_uint","_size_t",0},
11159 { "_uint","_unsigned_int",0},
11160 { "_uint","_int",0},
11161 { "_uint","_wxWindowID",0},
11162 { "_wxChar","_char",0},
11163 { "_wxCommandEvent","_wxStyledTextEvent",SwigwxStyledTextEventTowxCommandEvent},
11164 { "_char","_wxChar",0},
11165 { "_struct_wxNativeFontInfo","_wxNativeFontInfo",0},
11166 { "_EBool","_wxCoord",0},
11167 { "_EBool","_wxPrintQuality",0},
11168 { "_EBool","_signed_int",0},
11169 { "_EBool","_int",0},
11170 { "_EBool","_wxWindowID",0},
11171 { "_unsigned_long","_long",0},
11172 { "_wxNativeFontInfo","_struct_wxNativeFontInfo",0},
11173 { "_signed_int","_wxCoord",0},
11174 { "_signed_int","_wxPrintQuality",0},
11175 { "_signed_int","_EBool",0},
11176 { "_signed_int","_wxWindowID",0},
11177 { "_signed_int","_int",0},
11178 { "_WXTYPE","_wxDateTime_t",0},
11179 { "_WXTYPE","_short",0},
11180 { "_WXTYPE","_signed_short",0},
11181 { "_WXTYPE","_unsigned_short",0},
11182 { "_unsigned_short","_wxDateTime_t",0},
11183 { "_unsigned_short","_WXTYPE",0},
11184 { "_unsigned_short","_short",0},
11185 { "_wxObject","_wxStyledTextEvent",SwigwxStyledTextEventTowxObject},
11186 { "_wxObject","_wxStyledTextCtrl",SwigwxStyledTextCtrlTowxObject},
11187 { "_signed_short","_WXTYPE",0},
11188 { "_signed_short","_short",0},
11189 { "_unsigned_char","_byte",0},
11190 { "_wxControl","_wxStyledTextCtrl",SwigwxStyledTextCtrlTowxControl},
11191 { "_unsigned_int","_wxCoord",0},
11192 { "_unsigned_int","_wxPrintQuality",0},
11193 { "_unsigned_int","_time_t",0},
11194 { "_unsigned_int","_size_t",0},
11195 { "_unsigned_int","_uint",0},
11196 { "_unsigned_int","_wxWindowID",0},
11197 { "_unsigned_int","_int",0},
11198 { "_short","_wxDateTime_t",0},
11199 { "_short","_WXTYPE",0},
11200 { "_short","_unsigned_short",0},
11201 { "_short","_signed_short",0},
11202 { "_wxWindowID","_wxCoord",0},
11203 { "_wxWindowID","_wxPrintQuality",0},
11204 { "_wxWindowID","_time_t",0},
11205 { "_wxWindowID","_size_t",0},
11206 { "_wxWindowID","_EBool",0},
11207 { "_wxWindowID","_uint",0},
11208 { "_wxWindowID","_int",0},
11209 { "_wxWindowID","_signed_int",0},
11210 { "_wxWindowID","_unsigned_int",0},
11211 { "_int","_wxCoord",0},
11212 { "_int","_wxPrintQuality",0},
11213 { "_int","_time_t",0},
11214 { "_int","_size_t",0},
11215 { "_int","_EBool",0},
11216 { "_int","_uint",0},
11217 { "_int","_wxWindowID",0},
11218 { "_int","_unsigned_int",0},
11219 { "_int","_signed_int",0},
11220 { "_wxDateTime_t","_unsigned_short",0},
11221 { "_wxDateTime_t","_short",0},
11222 { "_wxDateTime_t","_WXTYPE",0},
11223 { "_time_t","_wxCoord",0},
11224 { "_time_t","_wxPrintQuality",0},
11225 { "_time_t","_unsigned_int",0},
11226 { "_time_t","_int",0},
11227 { "_time_t","_wxWindowID",0},
11228 { "_time_t","_uint",0},
11229 { "_time_t","_size_t",0},
11230 { "_wxCoord","_int",0},
11231 { "_wxCoord","_signed_int",0},
11232 { "_wxCoord","_unsigned_int",0},
11233 { "_wxCoord","_wxWindowID",0},
11234 { "_wxCoord","_uint",0},
11235 { "_wxCoord","_EBool",0},
11236 { "_wxCoord","_size_t",0},
11237 { "_wxCoord","_time_t",0},
11238 { "_wxCoord","_wxPrintQuality",0},
11239 { "_wxEvtHandler","_wxStyledTextCtrl",SwigwxStyledTextCtrlTowxEvtHandler},
11240 { "_wxWindow","_wxStyledTextCtrl",SwigwxStyledTextCtrlTowxWindow},
11241 {0,0,0}};
11242
11243 static PyObject *SWIG_globals;
11244 #ifdef __cplusplus
11245 extern "C"
11246 #endif
11247 SWIGEXPORT(void) initstc_c() {
11248 PyObject *m, *d;
11249 SWIG_globals = SWIG_newvarlink();
11250 m = Py_InitModule("stc_c", stc_cMethods);
11251 d = PyModule_GetDict(m);
11252 PyDict_SetItemString(d,"wxSTC_USE_POPUP", PyInt_FromLong((long) 1));
11253 PyDict_SetItemString(d,"wxSTC_INVALID_POSITION", PyInt_FromLong((long) -1));
11254 PyDict_SetItemString(d,"wxSTC_START", PyInt_FromLong((long) 2000));
11255 PyDict_SetItemString(d,"wxSTC_OPTIONAL_START", PyInt_FromLong((long) 3000));
11256 PyDict_SetItemString(d,"wxSTC_LEXER_START", PyInt_FromLong((long) 4000));
11257 PyDict_SetItemString(d,"wxSTC_CMD_REDO", PyInt_FromLong((long) 2011));
11258 PyDict_SetItemString(d,"wxSTC_CMD_SELECTALL", PyInt_FromLong((long) 2013));
11259 PyDict_SetItemString(d,"wxSTC_WS_INVISIBLE", PyInt_FromLong((long) 0));
11260 PyDict_SetItemString(d,"wxSTC_WS_VISIBLEALWAYS", PyInt_FromLong((long) 1));
11261 PyDict_SetItemString(d,"wxSTC_WS_VISIBLEAFTERINDENT", PyInt_FromLong((long) 2));
11262 PyDict_SetItemString(d,"wxSTC_EOL_CRLF", PyInt_FromLong((long) 0));
11263 PyDict_SetItemString(d,"wxSTC_EOL_CR", PyInt_FromLong((long) 1));
11264 PyDict_SetItemString(d,"wxSTC_EOL_LF", PyInt_FromLong((long) 2));
11265 PyDict_SetItemString(d,"wxSTC_CP_UTF8", PyInt_FromLong((long) 65001));
11266 PyDict_SetItemString(d,"wxSTC_MARKER_MAX", PyInt_FromLong((long) 31));
11267 PyDict_SetItemString(d,"wxSTC_MARK_CIRCLE", PyInt_FromLong((long) 0));
11268 PyDict_SetItemString(d,"wxSTC_MARK_ROUNDRECT", PyInt_FromLong((long) 1));
11269 PyDict_SetItemString(d,"wxSTC_MARK_ARROW", PyInt_FromLong((long) 2));
11270 PyDict_SetItemString(d,"wxSTC_MARK_SMALLRECT", PyInt_FromLong((long) 3));
11271 PyDict_SetItemString(d,"wxSTC_MARK_SHORTARROW", PyInt_FromLong((long) 4));
11272 PyDict_SetItemString(d,"wxSTC_MARK_EMPTY", PyInt_FromLong((long) 5));
11273 PyDict_SetItemString(d,"wxSTC_MARK_ARROWDOWN", PyInt_FromLong((long) 6));
11274 PyDict_SetItemString(d,"wxSTC_MARK_MINUS", PyInt_FromLong((long) 7));
11275 PyDict_SetItemString(d,"wxSTC_MARK_PLUS", PyInt_FromLong((long) 8));
11276 PyDict_SetItemString(d,"wxSTC_MARK_VLINE", PyInt_FromLong((long) 9));
11277 PyDict_SetItemString(d,"wxSTC_MARK_LCORNER", PyInt_FromLong((long) 10));
11278 PyDict_SetItemString(d,"wxSTC_MARK_TCORNER", PyInt_FromLong((long) 11));
11279 PyDict_SetItemString(d,"wxSTC_MARK_BOXPLUS", PyInt_FromLong((long) 12));
11280 PyDict_SetItemString(d,"wxSTC_MARK_BOXPLUSCONNECTED", PyInt_FromLong((long) 13));
11281 PyDict_SetItemString(d,"wxSTC_MARK_BOXMINUS", PyInt_FromLong((long) 14));
11282 PyDict_SetItemString(d,"wxSTC_MARK_BOXMINUSCONNECTED", PyInt_FromLong((long) 15));
11283 PyDict_SetItemString(d,"wxSTC_MARK_LCORNERCURVE", PyInt_FromLong((long) 16));
11284 PyDict_SetItemString(d,"wxSTC_MARK_TCORNERCURVE", PyInt_FromLong((long) 17));
11285 PyDict_SetItemString(d,"wxSTC_MARK_CIRCLEPLUS", PyInt_FromLong((long) 18));
11286 PyDict_SetItemString(d,"wxSTC_MARK_CIRCLEPLUSCONNECTED", PyInt_FromLong((long) 19));
11287 PyDict_SetItemString(d,"wxSTC_MARK_CIRCLEMINUS", PyInt_FromLong((long) 20));
11288 PyDict_SetItemString(d,"wxSTC_MARK_CIRCLEMINUSCONNECTED", PyInt_FromLong((long) 21));
11289 PyDict_SetItemString(d,"wxSTC_MARK_BACKGROUND", PyInt_FromLong((long) 22));
11290 PyDict_SetItemString(d,"wxSTC_MARK_CHARACTER", PyInt_FromLong((long) 10000));
11291 PyDict_SetItemString(d,"wxSTC_MARKNUM_FOLDEREND", PyInt_FromLong((long) 25));
11292 PyDict_SetItemString(d,"wxSTC_MARKNUM_FOLDEROPENMID", PyInt_FromLong((long) 26));
11293 PyDict_SetItemString(d,"wxSTC_MARKNUM_FOLDERMIDTAIL", PyInt_FromLong((long) 27));
11294 PyDict_SetItemString(d,"wxSTC_MARKNUM_FOLDERTAIL", PyInt_FromLong((long) 28));
11295 PyDict_SetItemString(d,"wxSTC_MARKNUM_FOLDERSUB", PyInt_FromLong((long) 29));
11296 PyDict_SetItemString(d,"wxSTC_MARKNUM_FOLDER", PyInt_FromLong((long) 30));
11297 PyDict_SetItemString(d,"wxSTC_MARKNUM_FOLDEROPEN", PyInt_FromLong((long) 31));
11298 PyDict_SetItemString(d,"wxSTC_MASK_FOLDERS", PyInt_FromLong((long) 0xFE000000));
11299 PyDict_SetItemString(d,"wxSTC_MARGIN_SYMBOL", PyInt_FromLong((long) 0));
11300 PyDict_SetItemString(d,"wxSTC_MARGIN_NUMBER", PyInt_FromLong((long) 1));
11301 PyDict_SetItemString(d,"wxSTC_STYLE_DEFAULT", PyInt_FromLong((long) 32));
11302 PyDict_SetItemString(d,"wxSTC_STYLE_LINENUMBER", PyInt_FromLong((long) 33));
11303 PyDict_SetItemString(d,"wxSTC_STYLE_BRACELIGHT", PyInt_FromLong((long) 34));
11304 PyDict_SetItemString(d,"wxSTC_STYLE_BRACEBAD", PyInt_FromLong((long) 35));
11305 PyDict_SetItemString(d,"wxSTC_STYLE_CONTROLCHAR", PyInt_FromLong((long) 36));
11306 PyDict_SetItemString(d,"wxSTC_STYLE_INDENTGUIDE", PyInt_FromLong((long) 37));
11307 PyDict_SetItemString(d,"wxSTC_STYLE_LASTPREDEFINED", PyInt_FromLong((long) 39));
11308 PyDict_SetItemString(d,"wxSTC_STYLE_MAX", PyInt_FromLong((long) 127));
11309 PyDict_SetItemString(d,"wxSTC_CHARSET_ANSI", PyInt_FromLong((long) 0));
11310 PyDict_SetItemString(d,"wxSTC_CHARSET_DEFAULT", PyInt_FromLong((long) 1));
11311 PyDict_SetItemString(d,"wxSTC_CHARSET_BALTIC", PyInt_FromLong((long) 186));
11312 PyDict_SetItemString(d,"wxSTC_CHARSET_CHINESEBIG5", PyInt_FromLong((long) 136));
11313 PyDict_SetItemString(d,"wxSTC_CHARSET_EASTEUROPE", PyInt_FromLong((long) 238));
11314 PyDict_SetItemString(d,"wxSTC_CHARSET_GB2312", PyInt_FromLong((long) 134));
11315 PyDict_SetItemString(d,"wxSTC_CHARSET_GREEK", PyInt_FromLong((long) 161));
11316 PyDict_SetItemString(d,"wxSTC_CHARSET_HANGUL", PyInt_FromLong((long) 129));
11317 PyDict_SetItemString(d,"wxSTC_CHARSET_MAC", PyInt_FromLong((long) 77));
11318 PyDict_SetItemString(d,"wxSTC_CHARSET_OEM", PyInt_FromLong((long) 255));
11319 PyDict_SetItemString(d,"wxSTC_CHARSET_RUSSIAN", PyInt_FromLong((long) 204));
11320 PyDict_SetItemString(d,"wxSTC_CHARSET_SHIFTJIS", PyInt_FromLong((long) 128));
11321 PyDict_SetItemString(d,"wxSTC_CHARSET_SYMBOL", PyInt_FromLong((long) 2));
11322 PyDict_SetItemString(d,"wxSTC_CHARSET_TURKISH", PyInt_FromLong((long) 162));
11323 PyDict_SetItemString(d,"wxSTC_CHARSET_JOHAB", PyInt_FromLong((long) 130));
11324 PyDict_SetItemString(d,"wxSTC_CHARSET_HEBREW", PyInt_FromLong((long) 177));
11325 PyDict_SetItemString(d,"wxSTC_CHARSET_ARABIC", PyInt_FromLong((long) 178));
11326 PyDict_SetItemString(d,"wxSTC_CHARSET_VIETNAMESE", PyInt_FromLong((long) 163));
11327 PyDict_SetItemString(d,"wxSTC_CHARSET_THAI", PyInt_FromLong((long) 222));
11328 PyDict_SetItemString(d,"wxSTC_CASE_MIXED", PyInt_FromLong((long) 0));
11329 PyDict_SetItemString(d,"wxSTC_CASE_UPPER", PyInt_FromLong((long) 1));
11330 PyDict_SetItemString(d,"wxSTC_CASE_LOWER", PyInt_FromLong((long) 2));
11331 PyDict_SetItemString(d,"wxSTC_INDIC_MAX", PyInt_FromLong((long) 7));
11332 PyDict_SetItemString(d,"wxSTC_INDIC_PLAIN", PyInt_FromLong((long) 0));
11333 PyDict_SetItemString(d,"wxSTC_INDIC_SQUIGGLE", PyInt_FromLong((long) 1));
11334 PyDict_SetItemString(d,"wxSTC_INDIC_TT", PyInt_FromLong((long) 2));
11335 PyDict_SetItemString(d,"wxSTC_INDIC_DIAGONAL", PyInt_FromLong((long) 3));
11336 PyDict_SetItemString(d,"wxSTC_INDIC_STRIKE", PyInt_FromLong((long) 4));
11337 PyDict_SetItemString(d,"wxSTC_INDIC0_MASK", PyInt_FromLong((long) 0x20));
11338 PyDict_SetItemString(d,"wxSTC_INDIC1_MASK", PyInt_FromLong((long) 0x40));
11339 PyDict_SetItemString(d,"wxSTC_INDIC2_MASK", PyInt_FromLong((long) 0x80));
11340 PyDict_SetItemString(d,"wxSTC_INDICS_MASK", PyInt_FromLong((long) 0xE0));
11341 PyDict_SetItemString(d,"wxSTC_PRINT_NORMAL", PyInt_FromLong((long) 0));
11342 PyDict_SetItemString(d,"wxSTC_PRINT_INVERTLIGHT", PyInt_FromLong((long) 1));
11343 PyDict_SetItemString(d,"wxSTC_PRINT_BLACKONWHITE", PyInt_FromLong((long) 2));
11344 PyDict_SetItemString(d,"wxSTC_PRINT_COLOURONWHITE", PyInt_FromLong((long) 3));
11345 PyDict_SetItemString(d,"wxSTC_PRINT_COLOURONWHITEDEFAULTBG", PyInt_FromLong((long) 4));
11346 PyDict_SetItemString(d,"wxSTC_FIND_WHOLEWORD", PyInt_FromLong((long) 2));
11347 PyDict_SetItemString(d,"wxSTC_FIND_MATCHCASE", PyInt_FromLong((long) 4));
11348 PyDict_SetItemString(d,"wxSTC_FIND_WORDSTART", PyInt_FromLong((long) 0x00100000));
11349 PyDict_SetItemString(d,"wxSTC_FIND_REGEXP", PyInt_FromLong((long) 0x00200000));
11350 PyDict_SetItemString(d,"wxSTC_CMD_UNDO", PyInt_FromLong((long) 2176));
11351 PyDict_SetItemString(d,"wxSTC_CMD_CUT", PyInt_FromLong((long) 2177));
11352 PyDict_SetItemString(d,"wxSTC_CMD_COPY", PyInt_FromLong((long) 2178));
11353 PyDict_SetItemString(d,"wxSTC_CMD_PASTE", PyInt_FromLong((long) 2179));
11354 PyDict_SetItemString(d,"wxSTC_FOLDLEVELBASE", PyInt_FromLong((long) 0x400));
11355 PyDict_SetItemString(d,"wxSTC_FOLDLEVELWHITEFLAG", PyInt_FromLong((long) 0x1000));
11356 PyDict_SetItemString(d,"wxSTC_FOLDLEVELHEADERFLAG", PyInt_FromLong((long) 0x2000));
11357 PyDict_SetItemString(d,"wxSTC_FOLDLEVELNUMBERMASK", PyInt_FromLong((long) 0x0FFF));
11358 PyDict_SetItemString(d,"wxSTC_TIME_FOREVER", PyInt_FromLong((long) 10000000));
11359 PyDict_SetItemString(d,"wxSTC_WRAP_NONE", PyInt_FromLong((long) 0));
11360 PyDict_SetItemString(d,"wxSTC_WRAP_WORD", PyInt_FromLong((long) 1));
11361 PyDict_SetItemString(d,"wxSTC_CACHE_NONE", PyInt_FromLong((long) 0));
11362 PyDict_SetItemString(d,"wxSTC_CACHE_CARET", PyInt_FromLong((long) 1));
11363 PyDict_SetItemString(d,"wxSTC_CACHE_PAGE", PyInt_FromLong((long) 2));
11364 PyDict_SetItemString(d,"wxSTC_CACHE_DOCUMENT", PyInt_FromLong((long) 3));
11365 PyDict_SetItemString(d,"wxSTC_CMD_LINEDOWN", PyInt_FromLong((long) 2300));
11366 PyDict_SetItemString(d,"wxSTC_CMD_LINEDOWNEXTEND", PyInt_FromLong((long) 2301));
11367 PyDict_SetItemString(d,"wxSTC_CMD_LINEUP", PyInt_FromLong((long) 2302));
11368 PyDict_SetItemString(d,"wxSTC_CMD_LINEUPEXTEND", PyInt_FromLong((long) 2303));
11369 PyDict_SetItemString(d,"wxSTC_CMD_CHARLEFT", PyInt_FromLong((long) 2304));
11370 PyDict_SetItemString(d,"wxSTC_CMD_CHARLEFTEXTEND", PyInt_FromLong((long) 2305));
11371 PyDict_SetItemString(d,"wxSTC_CMD_CHARRIGHT", PyInt_FromLong((long) 2306));
11372 PyDict_SetItemString(d,"wxSTC_CMD_CHARRIGHTEXTEND", PyInt_FromLong((long) 2307));
11373 PyDict_SetItemString(d,"wxSTC_CMD_WORDLEFT", PyInt_FromLong((long) 2308));
11374 PyDict_SetItemString(d,"wxSTC_CMD_WORDLEFTEXTEND", PyInt_FromLong((long) 2309));
11375 PyDict_SetItemString(d,"wxSTC_CMD_WORDRIGHT", PyInt_FromLong((long) 2310));
11376 PyDict_SetItemString(d,"wxSTC_CMD_WORDRIGHTEXTEND", PyInt_FromLong((long) 2311));
11377 PyDict_SetItemString(d,"wxSTC_CMD_HOME", PyInt_FromLong((long) 2312));
11378 PyDict_SetItemString(d,"wxSTC_CMD_HOMEEXTEND", PyInt_FromLong((long) 2313));
11379 PyDict_SetItemString(d,"wxSTC_CMD_LINEEND", PyInt_FromLong((long) 2314));
11380 PyDict_SetItemString(d,"wxSTC_CMD_LINEENDEXTEND", PyInt_FromLong((long) 2315));
11381 PyDict_SetItemString(d,"wxSTC_CMD_DOCUMENTSTART", PyInt_FromLong((long) 2316));
11382 PyDict_SetItemString(d,"wxSTC_CMD_DOCUMENTSTARTEXTEND", PyInt_FromLong((long) 2317));
11383 PyDict_SetItemString(d,"wxSTC_CMD_DOCUMENTEND", PyInt_FromLong((long) 2318));
11384 PyDict_SetItemString(d,"wxSTC_CMD_DOCUMENTENDEXTEND", PyInt_FromLong((long) 2319));
11385 PyDict_SetItemString(d,"wxSTC_CMD_PAGEUP", PyInt_FromLong((long) 2320));
11386 PyDict_SetItemString(d,"wxSTC_CMD_PAGEUPEXTEND", PyInt_FromLong((long) 2321));
11387 PyDict_SetItemString(d,"wxSTC_CMD_PAGEDOWN", PyInt_FromLong((long) 2322));
11388 PyDict_SetItemString(d,"wxSTC_CMD_PAGEDOWNEXTEND", PyInt_FromLong((long) 2323));
11389 PyDict_SetItemString(d,"wxSTC_CMD_EDITTOGGLEOVERTYPE", PyInt_FromLong((long) 2324));
11390 PyDict_SetItemString(d,"wxSTC_CMD_CANCEL", PyInt_FromLong((long) 2325));
11391 PyDict_SetItemString(d,"wxSTC_CMD_DELETEBACK", PyInt_FromLong((long) 2326));
11392 PyDict_SetItemString(d,"wxSTC_CMD_TAB", PyInt_FromLong((long) 2327));
11393 PyDict_SetItemString(d,"wxSTC_CMD_BACKTAB", PyInt_FromLong((long) 2328));
11394 PyDict_SetItemString(d,"wxSTC_CMD_NEWLINE", PyInt_FromLong((long) 2329));
11395 PyDict_SetItemString(d,"wxSTC_CMD_FORMFEED", PyInt_FromLong((long) 2330));
11396 PyDict_SetItemString(d,"wxSTC_CMD_VCHOME", PyInt_FromLong((long) 2331));
11397 PyDict_SetItemString(d,"wxSTC_CMD_VCHOMEEXTEND", PyInt_FromLong((long) 2332));
11398 PyDict_SetItemString(d,"wxSTC_CMD_ZOOMIN", PyInt_FromLong((long) 2333));
11399 PyDict_SetItemString(d,"wxSTC_CMD_ZOOMOUT", PyInt_FromLong((long) 2334));
11400 PyDict_SetItemString(d,"wxSTC_CMD_DELWORDLEFT", PyInt_FromLong((long) 2335));
11401 PyDict_SetItemString(d,"wxSTC_CMD_DELWORDRIGHT", PyInt_FromLong((long) 2336));
11402 PyDict_SetItemString(d,"wxSTC_CMD_LINECUT", PyInt_FromLong((long) 2337));
11403 PyDict_SetItemString(d,"wxSTC_CMD_LINEDELETE", PyInt_FromLong((long) 2338));
11404 PyDict_SetItemString(d,"wxSTC_CMD_LINETRANSPOSE", PyInt_FromLong((long) 2339));
11405 PyDict_SetItemString(d,"wxSTC_CMD_LOWERCASE", PyInt_FromLong((long) 2340));
11406 PyDict_SetItemString(d,"wxSTC_CMD_UPPERCASE", PyInt_FromLong((long) 2341));
11407 PyDict_SetItemString(d,"wxSTC_CMD_LINESCROLLDOWN", PyInt_FromLong((long) 2342));
11408 PyDict_SetItemString(d,"wxSTC_CMD_LINESCROLLUP", PyInt_FromLong((long) 2343));
11409 PyDict_SetItemString(d,"wxSTC_CMD_DELETEBACKNOTLINE", PyInt_FromLong((long) 2344));
11410 PyDict_SetItemString(d,"wxSTC_EDGE_NONE", PyInt_FromLong((long) 0));
11411 PyDict_SetItemString(d,"wxSTC_EDGE_LINE", PyInt_FromLong((long) 1));
11412 PyDict_SetItemString(d,"wxSTC_EDGE_BACKGROUND", PyInt_FromLong((long) 2));
11413 PyDict_SetItemString(d,"wxSTC_CURSORNORMAL", PyInt_FromLong((long) -1));
11414 PyDict_SetItemString(d,"wxSTC_CURSORWAIT", PyInt_FromLong((long) 3));
11415 PyDict_SetItemString(d,"wxSTC_VISIBLE_SLOP", PyInt_FromLong((long) 0x01));
11416 PyDict_SetItemString(d,"wxSTC_VISIBLE_STRICT", PyInt_FromLong((long) 0x04));
11417 PyDict_SetItemString(d,"wxSTC_CARET_SLOP", PyInt_FromLong((long) 0x01));
11418 PyDict_SetItemString(d,"wxSTC_CARET_STRICT", PyInt_FromLong((long) 0x04));
11419 PyDict_SetItemString(d,"wxSTC_CARET_JUMPS", PyInt_FromLong((long) 0x10));
11420 PyDict_SetItemString(d,"wxSTC_CARET_EVEN", PyInt_FromLong((long) 0x08));
11421 PyDict_SetItemString(d,"wxSTC_MOD_INSERTTEXT", PyInt_FromLong((long) 0x1));
11422 PyDict_SetItemString(d,"wxSTC_MOD_DELETETEXT", PyInt_FromLong((long) 0x2));
11423 PyDict_SetItemString(d,"wxSTC_MOD_CHANGESTYLE", PyInt_FromLong((long) 0x4));
11424 PyDict_SetItemString(d,"wxSTC_MOD_CHANGEFOLD", PyInt_FromLong((long) 0x8));
11425 PyDict_SetItemString(d,"wxSTC_PERFORMED_USER", PyInt_FromLong((long) 0x10));
11426 PyDict_SetItemString(d,"wxSTC_PERFORMED_UNDO", PyInt_FromLong((long) 0x20));
11427 PyDict_SetItemString(d,"wxSTC_PERFORMED_REDO", PyInt_FromLong((long) 0x40));
11428 PyDict_SetItemString(d,"wxSTC_LASTSTEPINUNDOREDO", PyInt_FromLong((long) 0x100));
11429 PyDict_SetItemString(d,"wxSTC_MOD_CHANGEMARKER", PyInt_FromLong((long) 0x200));
11430 PyDict_SetItemString(d,"wxSTC_MOD_BEFOREINSERT", PyInt_FromLong((long) 0x400));
11431 PyDict_SetItemString(d,"wxSTC_MOD_BEFOREDELETE", PyInt_FromLong((long) 0x800));
11432 PyDict_SetItemString(d,"wxSTC_MODEVENTMASKALL", PyInt_FromLong((long) 0xF77));
11433 PyDict_SetItemString(d,"wxSTC_KEY_DOWN", PyInt_FromLong((long) 300));
11434 PyDict_SetItemString(d,"wxSTC_KEY_UP", PyInt_FromLong((long) 301));
11435 PyDict_SetItemString(d,"wxSTC_KEY_LEFT", PyInt_FromLong((long) 302));
11436 PyDict_SetItemString(d,"wxSTC_KEY_RIGHT", PyInt_FromLong((long) 303));
11437 PyDict_SetItemString(d,"wxSTC_KEY_HOME", PyInt_FromLong((long) 304));
11438 PyDict_SetItemString(d,"wxSTC_KEY_END", PyInt_FromLong((long) 305));
11439 PyDict_SetItemString(d,"wxSTC_KEY_PRIOR", PyInt_FromLong((long) 306));
11440 PyDict_SetItemString(d,"wxSTC_KEY_NEXT", PyInt_FromLong((long) 307));
11441 PyDict_SetItemString(d,"wxSTC_KEY_DELETE", PyInt_FromLong((long) 308));
11442 PyDict_SetItemString(d,"wxSTC_KEY_INSERT", PyInt_FromLong((long) 309));
11443 PyDict_SetItemString(d,"wxSTC_KEY_ESCAPE", PyInt_FromLong((long) 7));
11444 PyDict_SetItemString(d,"wxSTC_KEY_BACK", PyInt_FromLong((long) 8));
11445 PyDict_SetItemString(d,"wxSTC_KEY_TAB", PyInt_FromLong((long) 9));
11446 PyDict_SetItemString(d,"wxSTC_KEY_RETURN", PyInt_FromLong((long) 13));
11447 PyDict_SetItemString(d,"wxSTC_KEY_ADD", PyInt_FromLong((long) 310));
11448 PyDict_SetItemString(d,"wxSTC_KEY_SUBTRACT", PyInt_FromLong((long) 311));
11449 PyDict_SetItemString(d,"wxSTC_KEY_DIVIDE", PyInt_FromLong((long) 312));
11450 PyDict_SetItemString(d,"wxSTC_SCMOD_SHIFT", PyInt_FromLong((long) 1));
11451 PyDict_SetItemString(d,"wxSTC_SCMOD_CTRL", PyInt_FromLong((long) 2));
11452 PyDict_SetItemString(d,"wxSTC_SCMOD_ALT", PyInt_FromLong((long) 4));
11453 PyDict_SetItemString(d,"wxSTC_LEX_CONTAINER", PyInt_FromLong((long) 0));
11454 PyDict_SetItemString(d,"wxSTC_LEX_NULL", PyInt_FromLong((long) 1));
11455 PyDict_SetItemString(d,"wxSTC_LEX_PYTHON", PyInt_FromLong((long) 2));
11456 PyDict_SetItemString(d,"wxSTC_LEX_CPP", PyInt_FromLong((long) 3));
11457 PyDict_SetItemString(d,"wxSTC_LEX_HTML", PyInt_FromLong((long) 4));
11458 PyDict_SetItemString(d,"wxSTC_LEX_XML", PyInt_FromLong((long) 5));
11459 PyDict_SetItemString(d,"wxSTC_LEX_PERL", PyInt_FromLong((long) 6));
11460 PyDict_SetItemString(d,"wxSTC_LEX_SQL", PyInt_FromLong((long) 7));
11461 PyDict_SetItemString(d,"wxSTC_LEX_VB", PyInt_FromLong((long) 8));
11462 PyDict_SetItemString(d,"wxSTC_LEX_PROPERTIES", PyInt_FromLong((long) 9));
11463 PyDict_SetItemString(d,"wxSTC_LEX_ERRORLIST", PyInt_FromLong((long) 10));
11464 PyDict_SetItemString(d,"wxSTC_LEX_MAKEFILE", PyInt_FromLong((long) 11));
11465 PyDict_SetItemString(d,"wxSTC_LEX_BATCH", PyInt_FromLong((long) 12));
11466 PyDict_SetItemString(d,"wxSTC_LEX_XCODE", PyInt_FromLong((long) 13));
11467 PyDict_SetItemString(d,"wxSTC_LEX_LATEX", PyInt_FromLong((long) 14));
11468 PyDict_SetItemString(d,"wxSTC_LEX_LUA", PyInt_FromLong((long) 15));
11469 PyDict_SetItemString(d,"wxSTC_LEX_DIFF", PyInt_FromLong((long) 16));
11470 PyDict_SetItemString(d,"wxSTC_LEX_CONF", PyInt_FromLong((long) 17));
11471 PyDict_SetItemString(d,"wxSTC_LEX_PASCAL", PyInt_FromLong((long) 18));
11472 PyDict_SetItemString(d,"wxSTC_LEX_AVE", PyInt_FromLong((long) 19));
11473 PyDict_SetItemString(d,"wxSTC_LEX_ADA", PyInt_FromLong((long) 20));
11474 PyDict_SetItemString(d,"wxSTC_LEX_LISP", PyInt_FromLong((long) 21));
11475 PyDict_SetItemString(d,"wxSTC_LEX_RUBY", PyInt_FromLong((long) 22));
11476 PyDict_SetItemString(d,"wxSTC_LEX_EIFFEL", PyInt_FromLong((long) 23));
11477 PyDict_SetItemString(d,"wxSTC_LEX_EIFFELKW", PyInt_FromLong((long) 24));
11478 PyDict_SetItemString(d,"wxSTC_LEX_TCL", PyInt_FromLong((long) 25));
11479 PyDict_SetItemString(d,"wxSTC_LEX_NNCRONTAB", PyInt_FromLong((long) 26));
11480 PyDict_SetItemString(d,"wxSTC_LEX_BULLANT", PyInt_FromLong((long) 27));
11481 PyDict_SetItemString(d,"wxSTC_LEX_VBSCRIPT", PyInt_FromLong((long) 28));
11482 PyDict_SetItemString(d,"wxSTC_LEX_ASP", PyInt_FromLong((long) 29));
11483 PyDict_SetItemString(d,"wxSTC_LEX_PHP", PyInt_FromLong((long) 30));
11484 PyDict_SetItemString(d,"wxSTC_LEX_BAAN", PyInt_FromLong((long) 31));
11485 PyDict_SetItemString(d,"wxSTC_LEX_MATLAB", PyInt_FromLong((long) 32));
11486 PyDict_SetItemString(d,"wxSTC_LEX_SCRIPTOL", PyInt_FromLong((long) 33));
11487 PyDict_SetItemString(d,"wxSTC_LEX_AUTOMATIC", PyInt_FromLong((long) 1000));
11488 PyDict_SetItemString(d,"wxSTC_P_DEFAULT", PyInt_FromLong((long) 0));
11489 PyDict_SetItemString(d,"wxSTC_P_COMMENTLINE", PyInt_FromLong((long) 1));
11490 PyDict_SetItemString(d,"wxSTC_P_NUMBER", PyInt_FromLong((long) 2));
11491 PyDict_SetItemString(d,"wxSTC_P_STRING", PyInt_FromLong((long) 3));
11492 PyDict_SetItemString(d,"wxSTC_P_CHARACTER", PyInt_FromLong((long) 4));
11493 PyDict_SetItemString(d,"wxSTC_P_WORD", PyInt_FromLong((long) 5));
11494 PyDict_SetItemString(d,"wxSTC_P_TRIPLE", PyInt_FromLong((long) 6));
11495 PyDict_SetItemString(d,"wxSTC_P_TRIPLEDOUBLE", PyInt_FromLong((long) 7));
11496 PyDict_SetItemString(d,"wxSTC_P_CLASSNAME", PyInt_FromLong((long) 8));
11497 PyDict_SetItemString(d,"wxSTC_P_DEFNAME", PyInt_FromLong((long) 9));
11498 PyDict_SetItemString(d,"wxSTC_P_OPERATOR", PyInt_FromLong((long) 10));
11499 PyDict_SetItemString(d,"wxSTC_P_IDENTIFIER", PyInt_FromLong((long) 11));
11500 PyDict_SetItemString(d,"wxSTC_P_COMMENTBLOCK", PyInt_FromLong((long) 12));
11501 PyDict_SetItemString(d,"wxSTC_P_STRINGEOL", PyInt_FromLong((long) 13));
11502 PyDict_SetItemString(d,"wxSTC_C_DEFAULT", PyInt_FromLong((long) 0));
11503 PyDict_SetItemString(d,"wxSTC_C_COMMENT", PyInt_FromLong((long) 1));
11504 PyDict_SetItemString(d,"wxSTC_C_COMMENTLINE", PyInt_FromLong((long) 2));
11505 PyDict_SetItemString(d,"wxSTC_C_COMMENTDOC", PyInt_FromLong((long) 3));
11506 PyDict_SetItemString(d,"wxSTC_C_NUMBER", PyInt_FromLong((long) 4));
11507 PyDict_SetItemString(d,"wxSTC_C_WORD", PyInt_FromLong((long) 5));
11508 PyDict_SetItemString(d,"wxSTC_C_STRING", PyInt_FromLong((long) 6));
11509 PyDict_SetItemString(d,"wxSTC_C_CHARACTER", PyInt_FromLong((long) 7));
11510 PyDict_SetItemString(d,"wxSTC_C_UUID", PyInt_FromLong((long) 8));
11511 PyDict_SetItemString(d,"wxSTC_C_PREPROCESSOR", PyInt_FromLong((long) 9));
11512 PyDict_SetItemString(d,"wxSTC_C_OPERATOR", PyInt_FromLong((long) 10));
11513 PyDict_SetItemString(d,"wxSTC_C_IDENTIFIER", PyInt_FromLong((long) 11));
11514 PyDict_SetItemString(d,"wxSTC_C_STRINGEOL", PyInt_FromLong((long) 12));
11515 PyDict_SetItemString(d,"wxSTC_C_VERBATIM", PyInt_FromLong((long) 13));
11516 PyDict_SetItemString(d,"wxSTC_C_REGEX", PyInt_FromLong((long) 14));
11517 PyDict_SetItemString(d,"wxSTC_C_COMMENTLINEDOC", PyInt_FromLong((long) 15));
11518 PyDict_SetItemString(d,"wxSTC_C_WORD2", PyInt_FromLong((long) 16));
11519 PyDict_SetItemString(d,"wxSTC_C_COMMENTDOCKEYWORD", PyInt_FromLong((long) 17));
11520 PyDict_SetItemString(d,"wxSTC_C_COMMENTDOCKEYWORDERROR", PyInt_FromLong((long) 18));
11521 PyDict_SetItemString(d,"wxSTC_H_DEFAULT", PyInt_FromLong((long) 0));
11522 PyDict_SetItemString(d,"wxSTC_H_TAG", PyInt_FromLong((long) 1));
11523 PyDict_SetItemString(d,"wxSTC_H_TAGUNKNOWN", PyInt_FromLong((long) 2));
11524 PyDict_SetItemString(d,"wxSTC_H_ATTRIBUTE", PyInt_FromLong((long) 3));
11525 PyDict_SetItemString(d,"wxSTC_H_ATTRIBUTEUNKNOWN", PyInt_FromLong((long) 4));
11526 PyDict_SetItemString(d,"wxSTC_H_NUMBER", PyInt_FromLong((long) 5));
11527 PyDict_SetItemString(d,"wxSTC_H_DOUBLESTRING", PyInt_FromLong((long) 6));
11528 PyDict_SetItemString(d,"wxSTC_H_SINGLESTRING", PyInt_FromLong((long) 7));
11529 PyDict_SetItemString(d,"wxSTC_H_OTHER", PyInt_FromLong((long) 8));
11530 PyDict_SetItemString(d,"wxSTC_H_COMMENT", PyInt_FromLong((long) 9));
11531 PyDict_SetItemString(d,"wxSTC_H_ENTITY", PyInt_FromLong((long) 10));
11532 PyDict_SetItemString(d,"wxSTC_H_TAGEND", PyInt_FromLong((long) 11));
11533 PyDict_SetItemString(d,"wxSTC_H_XMLSTART", PyInt_FromLong((long) 12));
11534 PyDict_SetItemString(d,"wxSTC_H_XMLEND", PyInt_FromLong((long) 13));
11535 PyDict_SetItemString(d,"wxSTC_H_SCRIPT", PyInt_FromLong((long) 14));
11536 PyDict_SetItemString(d,"wxSTC_H_ASP", PyInt_FromLong((long) 15));
11537 PyDict_SetItemString(d,"wxSTC_H_ASPAT", PyInt_FromLong((long) 16));
11538 PyDict_SetItemString(d,"wxSTC_H_CDATA", PyInt_FromLong((long) 17));
11539 PyDict_SetItemString(d,"wxSTC_H_QUESTION", PyInt_FromLong((long) 18));
11540 PyDict_SetItemString(d,"wxSTC_H_VALUE", PyInt_FromLong((long) 19));
11541 PyDict_SetItemString(d,"wxSTC_H_XCCOMMENT", PyInt_FromLong((long) 20));
11542 PyDict_SetItemString(d,"wxSTC_H_SGML_DEFAULT", PyInt_FromLong((long) 21));
11543 PyDict_SetItemString(d,"wxSTC_H_SGML_COMMAND", PyInt_FromLong((long) 22));
11544 PyDict_SetItemString(d,"wxSTC_H_SGML_1ST_PARAM", PyInt_FromLong((long) 23));
11545 PyDict_SetItemString(d,"wxSTC_H_SGML_DOUBLESTRING", PyInt_FromLong((long) 24));
11546 PyDict_SetItemString(d,"wxSTC_H_SGML_SIMPLESTRING", PyInt_FromLong((long) 25));
11547 PyDict_SetItemString(d,"wxSTC_H_SGML_ERROR", PyInt_FromLong((long) 26));
11548 PyDict_SetItemString(d,"wxSTC_H_SGML_SPECIAL", PyInt_FromLong((long) 27));
11549 PyDict_SetItemString(d,"wxSTC_H_SGML_ENTITY", PyInt_FromLong((long) 28));
11550 PyDict_SetItemString(d,"wxSTC_H_SGML_COMMENT", PyInt_FromLong((long) 29));
11551 PyDict_SetItemString(d,"wxSTC_H_SGML_1ST_PARAM_COMMENT", PyInt_FromLong((long) 30));
11552 PyDict_SetItemString(d,"wxSTC_H_SGML_BLOCK_DEFAULT", PyInt_FromLong((long) 31));
11553 PyDict_SetItemString(d,"wxSTC_HJ_START", PyInt_FromLong((long) 40));
11554 PyDict_SetItemString(d,"wxSTC_HJ_DEFAULT", PyInt_FromLong((long) 41));
11555 PyDict_SetItemString(d,"wxSTC_HJ_COMMENT", PyInt_FromLong((long) 42));
11556 PyDict_SetItemString(d,"wxSTC_HJ_COMMENTLINE", PyInt_FromLong((long) 43));
11557 PyDict_SetItemString(d,"wxSTC_HJ_COMMENTDOC", PyInt_FromLong((long) 44));
11558 PyDict_SetItemString(d,"wxSTC_HJ_NUMBER", PyInt_FromLong((long) 45));
11559 PyDict_SetItemString(d,"wxSTC_HJ_WORD", PyInt_FromLong((long) 46));
11560 PyDict_SetItemString(d,"wxSTC_HJ_KEYWORD", PyInt_FromLong((long) 47));
11561 PyDict_SetItemString(d,"wxSTC_HJ_DOUBLESTRING", PyInt_FromLong((long) 48));
11562 PyDict_SetItemString(d,"wxSTC_HJ_SINGLESTRING", PyInt_FromLong((long) 49));
11563 PyDict_SetItemString(d,"wxSTC_HJ_SYMBOLS", PyInt_FromLong((long) 50));
11564 PyDict_SetItemString(d,"wxSTC_HJ_STRINGEOL", PyInt_FromLong((long) 51));
11565 PyDict_SetItemString(d,"wxSTC_HJ_REGEX", PyInt_FromLong((long) 52));
11566 PyDict_SetItemString(d,"wxSTC_HJA_START", PyInt_FromLong((long) 55));
11567 PyDict_SetItemString(d,"wxSTC_HJA_DEFAULT", PyInt_FromLong((long) 56));
11568 PyDict_SetItemString(d,"wxSTC_HJA_COMMENT", PyInt_FromLong((long) 57));
11569 PyDict_SetItemString(d,"wxSTC_HJA_COMMENTLINE", PyInt_FromLong((long) 58));
11570 PyDict_SetItemString(d,"wxSTC_HJA_COMMENTDOC", PyInt_FromLong((long) 59));
11571 PyDict_SetItemString(d,"wxSTC_HJA_NUMBER", PyInt_FromLong((long) 60));
11572 PyDict_SetItemString(d,"wxSTC_HJA_WORD", PyInt_FromLong((long) 61));
11573 PyDict_SetItemString(d,"wxSTC_HJA_KEYWORD", PyInt_FromLong((long) 62));
11574 PyDict_SetItemString(d,"wxSTC_HJA_DOUBLESTRING", PyInt_FromLong((long) 63));
11575 PyDict_SetItemString(d,"wxSTC_HJA_SINGLESTRING", PyInt_FromLong((long) 64));
11576 PyDict_SetItemString(d,"wxSTC_HJA_SYMBOLS", PyInt_FromLong((long) 65));
11577 PyDict_SetItemString(d,"wxSTC_HJA_STRINGEOL", PyInt_FromLong((long) 66));
11578 PyDict_SetItemString(d,"wxSTC_HJA_REGEX", PyInt_FromLong((long) 67));
11579 PyDict_SetItemString(d,"wxSTC_HB_START", PyInt_FromLong((long) 70));
11580 PyDict_SetItemString(d,"wxSTC_HB_DEFAULT", PyInt_FromLong((long) 71));
11581 PyDict_SetItemString(d,"wxSTC_HB_COMMENTLINE", PyInt_FromLong((long) 72));
11582 PyDict_SetItemString(d,"wxSTC_HB_NUMBER", PyInt_FromLong((long) 73));
11583 PyDict_SetItemString(d,"wxSTC_HB_WORD", PyInt_FromLong((long) 74));
11584 PyDict_SetItemString(d,"wxSTC_HB_STRING", PyInt_FromLong((long) 75));
11585 PyDict_SetItemString(d,"wxSTC_HB_IDENTIFIER", PyInt_FromLong((long) 76));
11586 PyDict_SetItemString(d,"wxSTC_HB_STRINGEOL", PyInt_FromLong((long) 77));
11587 PyDict_SetItemString(d,"wxSTC_HBA_START", PyInt_FromLong((long) 80));
11588 PyDict_SetItemString(d,"wxSTC_HBA_DEFAULT", PyInt_FromLong((long) 81));
11589 PyDict_SetItemString(d,"wxSTC_HBA_COMMENTLINE", PyInt_FromLong((long) 82));
11590 PyDict_SetItemString(d,"wxSTC_HBA_NUMBER", PyInt_FromLong((long) 83));
11591 PyDict_SetItemString(d,"wxSTC_HBA_WORD", PyInt_FromLong((long) 84));
11592 PyDict_SetItemString(d,"wxSTC_HBA_STRING", PyInt_FromLong((long) 85));
11593 PyDict_SetItemString(d,"wxSTC_HBA_IDENTIFIER", PyInt_FromLong((long) 86));
11594 PyDict_SetItemString(d,"wxSTC_HBA_STRINGEOL", PyInt_FromLong((long) 87));
11595 PyDict_SetItemString(d,"wxSTC_HP_START", PyInt_FromLong((long) 90));
11596 PyDict_SetItemString(d,"wxSTC_HP_DEFAULT", PyInt_FromLong((long) 91));
11597 PyDict_SetItemString(d,"wxSTC_HP_COMMENTLINE", PyInt_FromLong((long) 92));
11598 PyDict_SetItemString(d,"wxSTC_HP_NUMBER", PyInt_FromLong((long) 93));
11599 PyDict_SetItemString(d,"wxSTC_HP_STRING", PyInt_FromLong((long) 94));
11600 PyDict_SetItemString(d,"wxSTC_HP_CHARACTER", PyInt_FromLong((long) 95));
11601 PyDict_SetItemString(d,"wxSTC_HP_WORD", PyInt_FromLong((long) 96));
11602 PyDict_SetItemString(d,"wxSTC_HP_TRIPLE", PyInt_FromLong((long) 97));
11603 PyDict_SetItemString(d,"wxSTC_HP_TRIPLEDOUBLE", PyInt_FromLong((long) 98));
11604 PyDict_SetItemString(d,"wxSTC_HP_CLASSNAME", PyInt_FromLong((long) 99));
11605 PyDict_SetItemString(d,"wxSTC_HP_DEFNAME", PyInt_FromLong((long) 100));
11606 PyDict_SetItemString(d,"wxSTC_HP_OPERATOR", PyInt_FromLong((long) 101));
11607 PyDict_SetItemString(d,"wxSTC_HP_IDENTIFIER", PyInt_FromLong((long) 102));
11608 PyDict_SetItemString(d,"wxSTC_HPA_START", PyInt_FromLong((long) 105));
11609 PyDict_SetItemString(d,"wxSTC_HPA_DEFAULT", PyInt_FromLong((long) 106));
11610 PyDict_SetItemString(d,"wxSTC_HPA_COMMENTLINE", PyInt_FromLong((long) 107));
11611 PyDict_SetItemString(d,"wxSTC_HPA_NUMBER", PyInt_FromLong((long) 108));
11612 PyDict_SetItemString(d,"wxSTC_HPA_STRING", PyInt_FromLong((long) 109));
11613 PyDict_SetItemString(d,"wxSTC_HPA_CHARACTER", PyInt_FromLong((long) 110));
11614 PyDict_SetItemString(d,"wxSTC_HPA_WORD", PyInt_FromLong((long) 111));
11615 PyDict_SetItemString(d,"wxSTC_HPA_TRIPLE", PyInt_FromLong((long) 112));
11616 PyDict_SetItemString(d,"wxSTC_HPA_TRIPLEDOUBLE", PyInt_FromLong((long) 113));
11617 PyDict_SetItemString(d,"wxSTC_HPA_CLASSNAME", PyInt_FromLong((long) 114));
11618 PyDict_SetItemString(d,"wxSTC_HPA_DEFNAME", PyInt_FromLong((long) 115));
11619 PyDict_SetItemString(d,"wxSTC_HPA_OPERATOR", PyInt_FromLong((long) 116));
11620 PyDict_SetItemString(d,"wxSTC_HPA_IDENTIFIER", PyInt_FromLong((long) 117));
11621 PyDict_SetItemString(d,"wxSTC_HPHP_DEFAULT", PyInt_FromLong((long) 118));
11622 PyDict_SetItemString(d,"wxSTC_HPHP_HSTRING", PyInt_FromLong((long) 119));
11623 PyDict_SetItemString(d,"wxSTC_HPHP_SIMPLESTRING", PyInt_FromLong((long) 120));
11624 PyDict_SetItemString(d,"wxSTC_HPHP_WORD", PyInt_FromLong((long) 121));
11625 PyDict_SetItemString(d,"wxSTC_HPHP_NUMBER", PyInt_FromLong((long) 122));
11626 PyDict_SetItemString(d,"wxSTC_HPHP_VARIABLE", PyInt_FromLong((long) 123));
11627 PyDict_SetItemString(d,"wxSTC_HPHP_COMMENT", PyInt_FromLong((long) 124));
11628 PyDict_SetItemString(d,"wxSTC_HPHP_COMMENTLINE", PyInt_FromLong((long) 125));
11629 PyDict_SetItemString(d,"wxSTC_HPHP_HSTRING_VARIABLE", PyInt_FromLong((long) 126));
11630 PyDict_SetItemString(d,"wxSTC_HPHP_OPERATOR", PyInt_FromLong((long) 127));
11631 PyDict_SetItemString(d,"wxSTC_PL_DEFAULT", PyInt_FromLong((long) 0));
11632 PyDict_SetItemString(d,"wxSTC_PL_ERROR", PyInt_FromLong((long) 1));
11633 PyDict_SetItemString(d,"wxSTC_PL_COMMENTLINE", PyInt_FromLong((long) 2));
11634 PyDict_SetItemString(d,"wxSTC_PL_POD", PyInt_FromLong((long) 3));
11635 PyDict_SetItemString(d,"wxSTC_PL_NUMBER", PyInt_FromLong((long) 4));
11636 PyDict_SetItemString(d,"wxSTC_PL_WORD", PyInt_FromLong((long) 5));
11637 PyDict_SetItemString(d,"wxSTC_PL_STRING", PyInt_FromLong((long) 6));
11638 PyDict_SetItemString(d,"wxSTC_PL_CHARACTER", PyInt_FromLong((long) 7));
11639 PyDict_SetItemString(d,"wxSTC_PL_PUNCTUATION", PyInt_FromLong((long) 8));
11640 PyDict_SetItemString(d,"wxSTC_PL_PREPROCESSOR", PyInt_FromLong((long) 9));
11641 PyDict_SetItemString(d,"wxSTC_PL_OPERATOR", PyInt_FromLong((long) 10));
11642 PyDict_SetItemString(d,"wxSTC_PL_IDENTIFIER", PyInt_FromLong((long) 11));
11643 PyDict_SetItemString(d,"wxSTC_PL_SCALAR", PyInt_FromLong((long) 12));
11644 PyDict_SetItemString(d,"wxSTC_PL_ARRAY", PyInt_FromLong((long) 13));
11645 PyDict_SetItemString(d,"wxSTC_PL_HASH", PyInt_FromLong((long) 14));
11646 PyDict_SetItemString(d,"wxSTC_PL_SYMBOLTABLE", PyInt_FromLong((long) 15));
11647 PyDict_SetItemString(d,"wxSTC_PL_REGEX", PyInt_FromLong((long) 17));
11648 PyDict_SetItemString(d,"wxSTC_PL_REGSUBST", PyInt_FromLong((long) 18));
11649 PyDict_SetItemString(d,"wxSTC_PL_LONGQUOTE", PyInt_FromLong((long) 19));
11650 PyDict_SetItemString(d,"wxSTC_PL_BACKTICKS", PyInt_FromLong((long) 20));
11651 PyDict_SetItemString(d,"wxSTC_PL_DATASECTION", PyInt_FromLong((long) 21));
11652 PyDict_SetItemString(d,"wxSTC_PL_HERE_DELIM", PyInt_FromLong((long) 22));
11653 PyDict_SetItemString(d,"wxSTC_PL_HERE_Q", PyInt_FromLong((long) 23));
11654 PyDict_SetItemString(d,"wxSTC_PL_HERE_QQ", PyInt_FromLong((long) 24));
11655 PyDict_SetItemString(d,"wxSTC_PL_HERE_QX", PyInt_FromLong((long) 25));
11656 PyDict_SetItemString(d,"wxSTC_PL_STRING_Q", PyInt_FromLong((long) 26));
11657 PyDict_SetItemString(d,"wxSTC_PL_STRING_QQ", PyInt_FromLong((long) 27));
11658 PyDict_SetItemString(d,"wxSTC_PL_STRING_QX", PyInt_FromLong((long) 28));
11659 PyDict_SetItemString(d,"wxSTC_PL_STRING_QR", PyInt_FromLong((long) 29));
11660 PyDict_SetItemString(d,"wxSTC_PL_STRING_QW", PyInt_FromLong((long) 30));
11661 PyDict_SetItemString(d,"wxSTC_B_DEFAULT", PyInt_FromLong((long) 0));
11662 PyDict_SetItemString(d,"wxSTC_B_COMMENT", PyInt_FromLong((long) 1));
11663 PyDict_SetItemString(d,"wxSTC_B_NUMBER", PyInt_FromLong((long) 2));
11664 PyDict_SetItemString(d,"wxSTC_B_KEYWORD", PyInt_FromLong((long) 3));
11665 PyDict_SetItemString(d,"wxSTC_B_STRING", PyInt_FromLong((long) 4));
11666 PyDict_SetItemString(d,"wxSTC_B_PREPROCESSOR", PyInt_FromLong((long) 5));
11667 PyDict_SetItemString(d,"wxSTC_B_OPERATOR", PyInt_FromLong((long) 6));
11668 PyDict_SetItemString(d,"wxSTC_B_IDENTIFIER", PyInt_FromLong((long) 7));
11669 PyDict_SetItemString(d,"wxSTC_B_DATE", PyInt_FromLong((long) 8));
11670 PyDict_SetItemString(d,"wxSTC_PROPS_DEFAULT", PyInt_FromLong((long) 0));
11671 PyDict_SetItemString(d,"wxSTC_PROPS_COMMENT", PyInt_FromLong((long) 1));
11672 PyDict_SetItemString(d,"wxSTC_PROPS_SECTION", PyInt_FromLong((long) 2));
11673 PyDict_SetItemString(d,"wxSTC_PROPS_ASSIGNMENT", PyInt_FromLong((long) 3));
11674 PyDict_SetItemString(d,"wxSTC_PROPS_DEFVAL", PyInt_FromLong((long) 4));
11675 PyDict_SetItemString(d,"wxSTC_L_DEFAULT", PyInt_FromLong((long) 0));
11676 PyDict_SetItemString(d,"wxSTC_L_COMMAND", PyInt_FromLong((long) 1));
11677 PyDict_SetItemString(d,"wxSTC_L_TAG", PyInt_FromLong((long) 2));
11678 PyDict_SetItemString(d,"wxSTC_L_MATH", PyInt_FromLong((long) 3));
11679 PyDict_SetItemString(d,"wxSTC_L_COMMENT", PyInt_FromLong((long) 4));
11680 PyDict_SetItemString(d,"wxSTC_LUA_DEFAULT", PyInt_FromLong((long) 0));
11681 PyDict_SetItemString(d,"wxSTC_LUA_COMMENT", PyInt_FromLong((long) 1));
11682 PyDict_SetItemString(d,"wxSTC_LUA_COMMENTLINE", PyInt_FromLong((long) 2));
11683 PyDict_SetItemString(d,"wxSTC_LUA_COMMENTDOC", PyInt_FromLong((long) 3));
11684 PyDict_SetItemString(d,"wxSTC_LUA_NUMBER", PyInt_FromLong((long) 4));
11685 PyDict_SetItemString(d,"wxSTC_LUA_WORD", PyInt_FromLong((long) 5));
11686 PyDict_SetItemString(d,"wxSTC_LUA_STRING", PyInt_FromLong((long) 6));
11687 PyDict_SetItemString(d,"wxSTC_LUA_CHARACTER", PyInt_FromLong((long) 7));
11688 PyDict_SetItemString(d,"wxSTC_LUA_LITERALSTRING", PyInt_FromLong((long) 8));
11689 PyDict_SetItemString(d,"wxSTC_LUA_PREPROCESSOR", PyInt_FromLong((long) 9));
11690 PyDict_SetItemString(d,"wxSTC_LUA_OPERATOR", PyInt_FromLong((long) 10));
11691 PyDict_SetItemString(d,"wxSTC_LUA_IDENTIFIER", PyInt_FromLong((long) 11));
11692 PyDict_SetItemString(d,"wxSTC_LUA_STRINGEOL", PyInt_FromLong((long) 12));
11693 PyDict_SetItemString(d,"wxSTC_LUA_WORD2", PyInt_FromLong((long) 13));
11694 PyDict_SetItemString(d,"wxSTC_LUA_WORD3", PyInt_FromLong((long) 14));
11695 PyDict_SetItemString(d,"wxSTC_LUA_WORD4", PyInt_FromLong((long) 15));
11696 PyDict_SetItemString(d,"wxSTC_LUA_WORD5", PyInt_FromLong((long) 16));
11697 PyDict_SetItemString(d,"wxSTC_LUA_WORD6", PyInt_FromLong((long) 17));
11698 PyDict_SetItemString(d,"wxSTC_ERR_DEFAULT", PyInt_FromLong((long) 0));
11699 PyDict_SetItemString(d,"wxSTC_ERR_PYTHON", PyInt_FromLong((long) 1));
11700 PyDict_SetItemString(d,"wxSTC_ERR_GCC", PyInt_FromLong((long) 2));
11701 PyDict_SetItemString(d,"wxSTC_ERR_MS", PyInt_FromLong((long) 3));
11702 PyDict_SetItemString(d,"wxSTC_ERR_CMD", PyInt_FromLong((long) 4));
11703 PyDict_SetItemString(d,"wxSTC_ERR_BORLAND", PyInt_FromLong((long) 5));
11704 PyDict_SetItemString(d,"wxSTC_ERR_PERL", PyInt_FromLong((long) 6));
11705 PyDict_SetItemString(d,"wxSTC_ERR_NET", PyInt_FromLong((long) 7));
11706 PyDict_SetItemString(d,"wxSTC_ERR_LUA", PyInt_FromLong((long) 8));
11707 PyDict_SetItemString(d,"wxSTC_ERR_CTAG", PyInt_FromLong((long) 9));
11708 PyDict_SetItemString(d,"wxSTC_ERR_DIFF_CHANGED", PyInt_FromLong((long) 10));
11709 PyDict_SetItemString(d,"wxSTC_ERR_DIFF_ADDITION", PyInt_FromLong((long) 11));
11710 PyDict_SetItemString(d,"wxSTC_ERR_DIFF_DELETION", PyInt_FromLong((long) 12));
11711 PyDict_SetItemString(d,"wxSTC_ERR_DIFF_MESSAGE", PyInt_FromLong((long) 13));
11712 PyDict_SetItemString(d,"wxSTC_BAT_DEFAULT", PyInt_FromLong((long) 0));
11713 PyDict_SetItemString(d,"wxSTC_BAT_COMMENT", PyInt_FromLong((long) 1));
11714 PyDict_SetItemString(d,"wxSTC_BAT_WORD", PyInt_FromLong((long) 2));
11715 PyDict_SetItemString(d,"wxSTC_BAT_LABEL", PyInt_FromLong((long) 3));
11716 PyDict_SetItemString(d,"wxSTC_BAT_HIDE", PyInt_FromLong((long) 4));
11717 PyDict_SetItemString(d,"wxSTC_BAT_COMMAND", PyInt_FromLong((long) 5));
11718 PyDict_SetItemString(d,"wxSTC_BAT_IDENTIFIER", PyInt_FromLong((long) 6));
11719 PyDict_SetItemString(d,"wxSTC_BAT_OPERATOR", PyInt_FromLong((long) 7));
11720 PyDict_SetItemString(d,"wxSTC_MAKE_DEFAULT", PyInt_FromLong((long) 0));
11721 PyDict_SetItemString(d,"wxSTC_MAKE_COMMENT", PyInt_FromLong((long) 1));
11722 PyDict_SetItemString(d,"wxSTC_MAKE_PREPROCESSOR", PyInt_FromLong((long) 2));
11723 PyDict_SetItemString(d,"wxSTC_MAKE_IDENTIFIER", PyInt_FromLong((long) 3));
11724 PyDict_SetItemString(d,"wxSTC_MAKE_OPERATOR", PyInt_FromLong((long) 4));
11725 PyDict_SetItemString(d,"wxSTC_MAKE_TARGET", PyInt_FromLong((long) 5));
11726 PyDict_SetItemString(d,"wxSTC_MAKE_IDEOL", PyInt_FromLong((long) 9));
11727 PyDict_SetItemString(d,"wxSTC_DIFF_DEFAULT", PyInt_FromLong((long) 0));
11728 PyDict_SetItemString(d,"wxSTC_DIFF_COMMENT", PyInt_FromLong((long) 1));
11729 PyDict_SetItemString(d,"wxSTC_DIFF_COMMAND", PyInt_FromLong((long) 2));
11730 PyDict_SetItemString(d,"wxSTC_DIFF_HEADER", PyInt_FromLong((long) 3));
11731 PyDict_SetItemString(d,"wxSTC_DIFF_POSITION", PyInt_FromLong((long) 4));
11732 PyDict_SetItemString(d,"wxSTC_DIFF_DELETED", PyInt_FromLong((long) 5));
11733 PyDict_SetItemString(d,"wxSTC_DIFF_ADDED", PyInt_FromLong((long) 6));
11734 PyDict_SetItemString(d,"wxSTC_CONF_DEFAULT", PyInt_FromLong((long) 0));
11735 PyDict_SetItemString(d,"wxSTC_CONF_COMMENT", PyInt_FromLong((long) 1));
11736 PyDict_SetItemString(d,"wxSTC_CONF_NUMBER", PyInt_FromLong((long) 2));
11737 PyDict_SetItemString(d,"wxSTC_CONF_IDENTIFIER", PyInt_FromLong((long) 3));
11738 PyDict_SetItemString(d,"wxSTC_CONF_EXTENSION", PyInt_FromLong((long) 4));
11739 PyDict_SetItemString(d,"wxSTC_CONF_PARAMETER", PyInt_FromLong((long) 5));
11740 PyDict_SetItemString(d,"wxSTC_CONF_STRING", PyInt_FromLong((long) 6));
11741 PyDict_SetItemString(d,"wxSTC_CONF_OPERATOR", PyInt_FromLong((long) 7));
11742 PyDict_SetItemString(d,"wxSTC_CONF_IP", PyInt_FromLong((long) 8));
11743 PyDict_SetItemString(d,"wxSTC_CONF_DIRECTIVE", PyInt_FromLong((long) 9));
11744 PyDict_SetItemString(d,"wxSTC_AVE_DEFAULT", PyInt_FromLong((long) 0));
11745 PyDict_SetItemString(d,"wxSTC_AVE_COMMENT", PyInt_FromLong((long) 1));
11746 PyDict_SetItemString(d,"wxSTC_AVE_NUMBER", PyInt_FromLong((long) 2));
11747 PyDict_SetItemString(d,"wxSTC_AVE_WORD", PyInt_FromLong((long) 3));
11748 PyDict_SetItemString(d,"wxSTC_AVE_KEYWORD", PyInt_FromLong((long) 4));
11749 PyDict_SetItemString(d,"wxSTC_AVE_STATEMENT", PyInt_FromLong((long) 5));
11750 PyDict_SetItemString(d,"wxSTC_AVE_STRING", PyInt_FromLong((long) 6));
11751 PyDict_SetItemString(d,"wxSTC_AVE_ENUM", PyInt_FromLong((long) 7));
11752 PyDict_SetItemString(d,"wxSTC_AVE_STRINGEOL", PyInt_FromLong((long) 8));
11753 PyDict_SetItemString(d,"wxSTC_AVE_IDENTIFIER", PyInt_FromLong((long) 9));
11754 PyDict_SetItemString(d,"wxSTC_AVE_OPERATOR", PyInt_FromLong((long) 10));
11755 PyDict_SetItemString(d,"wxSTC_ADA_DEFAULT", PyInt_FromLong((long) 0));
11756 PyDict_SetItemString(d,"wxSTC_ADA_COMMENT", PyInt_FromLong((long) 1));
11757 PyDict_SetItemString(d,"wxSTC_ADA_NUMBER", PyInt_FromLong((long) 2));
11758 PyDict_SetItemString(d,"wxSTC_ADA_WORD", PyInt_FromLong((long) 3));
11759 PyDict_SetItemString(d,"wxSTC_ADA_STRING", PyInt_FromLong((long) 4));
11760 PyDict_SetItemString(d,"wxSTC_ADA_CHARACTER", PyInt_FromLong((long) 5));
11761 PyDict_SetItemString(d,"wxSTC_ADA_OPERATOR", PyInt_FromLong((long) 6));
11762 PyDict_SetItemString(d,"wxSTC_ADA_IDENTIFIER", PyInt_FromLong((long) 7));
11763 PyDict_SetItemString(d,"wxSTC_ADA_STRINGEOL", PyInt_FromLong((long) 8));
11764 PyDict_SetItemString(d,"wxSTC_BAAN_DEFAULT", PyInt_FromLong((long) 0));
11765 PyDict_SetItemString(d,"wxSTC_BAAN_COMMENT", PyInt_FromLong((long) 1));
11766 PyDict_SetItemString(d,"wxSTC_BAAN_COMMENTDOC", PyInt_FromLong((long) 2));
11767 PyDict_SetItemString(d,"wxSTC_BAAN_NUMBER", PyInt_FromLong((long) 3));
11768 PyDict_SetItemString(d,"wxSTC_BAAN_WORD", PyInt_FromLong((long) 4));
11769 PyDict_SetItemString(d,"wxSTC_BAAN_STRING", PyInt_FromLong((long) 5));
11770 PyDict_SetItemString(d,"wxSTC_BAAN_PREPROCESSOR", PyInt_FromLong((long) 6));
11771 PyDict_SetItemString(d,"wxSTC_BAAN_OPERATOR", PyInt_FromLong((long) 7));
11772 PyDict_SetItemString(d,"wxSTC_BAAN_IDENTIFIER", PyInt_FromLong((long) 8));
11773 PyDict_SetItemString(d,"wxSTC_BAAN_STRINGEOL", PyInt_FromLong((long) 9));
11774 PyDict_SetItemString(d,"wxSTC_BAAN_WORD2", PyInt_FromLong((long) 10));
11775 PyDict_SetItemString(d,"wxSTC_LISP_DEFAULT", PyInt_FromLong((long) 0));
11776 PyDict_SetItemString(d,"wxSTC_LISP_COMMENT", PyInt_FromLong((long) 1));
11777 PyDict_SetItemString(d,"wxSTC_LISP_NUMBER", PyInt_FromLong((long) 2));
11778 PyDict_SetItemString(d,"wxSTC_LISP_KEYWORD", PyInt_FromLong((long) 3));
11779 PyDict_SetItemString(d,"wxSTC_LISP_STRING", PyInt_FromLong((long) 6));
11780 PyDict_SetItemString(d,"wxSTC_LISP_STRINGEOL", PyInt_FromLong((long) 8));
11781 PyDict_SetItemString(d,"wxSTC_LISP_IDENTIFIER", PyInt_FromLong((long) 9));
11782 PyDict_SetItemString(d,"wxSTC_LISP_OPERATOR", PyInt_FromLong((long) 10));
11783 PyDict_SetItemString(d,"wxSTC_EIFFEL_DEFAULT", PyInt_FromLong((long) 0));
11784 PyDict_SetItemString(d,"wxSTC_EIFFEL_COMMENTLINE", PyInt_FromLong((long) 1));
11785 PyDict_SetItemString(d,"wxSTC_EIFFEL_NUMBER", PyInt_FromLong((long) 2));
11786 PyDict_SetItemString(d,"wxSTC_EIFFEL_WORD", PyInt_FromLong((long) 3));
11787 PyDict_SetItemString(d,"wxSTC_EIFFEL_STRING", PyInt_FromLong((long) 4));
11788 PyDict_SetItemString(d,"wxSTC_EIFFEL_CHARACTER", PyInt_FromLong((long) 5));
11789 PyDict_SetItemString(d,"wxSTC_EIFFEL_OPERATOR", PyInt_FromLong((long) 6));
11790 PyDict_SetItemString(d,"wxSTC_EIFFEL_IDENTIFIER", PyInt_FromLong((long) 7));
11791 PyDict_SetItemString(d,"wxSTC_EIFFEL_STRINGEOL", PyInt_FromLong((long) 8));
11792 PyDict_SetItemString(d,"wxSTC_NNCRONTAB_DEFAULT", PyInt_FromLong((long) 0));
11793 PyDict_SetItemString(d,"wxSTC_NNCRONTAB_COMMENT", PyInt_FromLong((long) 1));
11794 PyDict_SetItemString(d,"wxSTC_NNCRONTAB_TASK", PyInt_FromLong((long) 2));
11795 PyDict_SetItemString(d,"wxSTC_NNCRONTAB_SECTION", PyInt_FromLong((long) 3));
11796 PyDict_SetItemString(d,"wxSTC_NNCRONTAB_KEYWORD", PyInt_FromLong((long) 4));
11797 PyDict_SetItemString(d,"wxSTC_NNCRONTAB_MODIFIER", PyInt_FromLong((long) 5));
11798 PyDict_SetItemString(d,"wxSTC_NNCRONTAB_ASTERISK", PyInt_FromLong((long) 6));
11799 PyDict_SetItemString(d,"wxSTC_NNCRONTAB_NUMBER", PyInt_FromLong((long) 7));
11800 PyDict_SetItemString(d,"wxSTC_NNCRONTAB_STRING", PyInt_FromLong((long) 8));
11801 PyDict_SetItemString(d,"wxSTC_NNCRONTAB_ENVIRONMENT", PyInt_FromLong((long) 9));
11802 PyDict_SetItemString(d,"wxSTC_NNCRONTAB_IDENTIFIER", PyInt_FromLong((long) 10));
11803 PyDict_SetItemString(d,"wxSTC_MATLAB_DEFAULT", PyInt_FromLong((long) 0));
11804 PyDict_SetItemString(d,"wxSTC_MATLAB_COMMENT", PyInt_FromLong((long) 1));
11805 PyDict_SetItemString(d,"wxSTC_MATLAB_COMMAND", PyInt_FromLong((long) 2));
11806 PyDict_SetItemString(d,"wxSTC_MATLAB_NUMBER", PyInt_FromLong((long) 3));
11807 PyDict_SetItemString(d,"wxSTC_MATLAB_KEYWORD", PyInt_FromLong((long) 4));
11808 PyDict_SetItemString(d,"wxSTC_MATLAB_STRING", PyInt_FromLong((long) 5));
11809 PyDict_SetItemString(d,"wxSTC_MATLAB_OPERATOR", PyInt_FromLong((long) 6));
11810 PyDict_SetItemString(d,"wxSTC_MATLAB_IDENTIFIER", PyInt_FromLong((long) 7));
11811 PyDict_SetItemString(d,"wxSTC_SCRIPTOL_DEFAULT", PyInt_FromLong((long) 0));
11812 PyDict_SetItemString(d,"wxSTC_SCRIPTOL_COMMENT", PyInt_FromLong((long) 1));
11813 PyDict_SetItemString(d,"wxSTC_SCRIPTOL_COMMENTLINE", PyInt_FromLong((long) 2));
11814 PyDict_SetItemString(d,"wxSTC_SCRIPTOL_COMMENTDOC", PyInt_FromLong((long) 3));
11815 PyDict_SetItemString(d,"wxSTC_SCRIPTOL_NUMBER", PyInt_FromLong((long) 4));
11816 PyDict_SetItemString(d,"wxSTC_SCRIPTOL_WORD", PyInt_FromLong((long) 5));
11817 PyDict_SetItemString(d,"wxSTC_SCRIPTOL_STRING", PyInt_FromLong((long) 6));
11818 PyDict_SetItemString(d,"wxSTC_SCRIPTOL_CHARACTER", PyInt_FromLong((long) 7));
11819 PyDict_SetItemString(d,"wxSTC_SCRIPTOL_UUID", PyInt_FromLong((long) 8));
11820 PyDict_SetItemString(d,"wxSTC_SCRIPTOL_PREPROCESSOR", PyInt_FromLong((long) 9));
11821 PyDict_SetItemString(d,"wxSTC_SCRIPTOL_OPERATOR", PyInt_FromLong((long) 10));
11822 PyDict_SetItemString(d,"wxSTC_SCRIPTOL_IDENTIFIER", PyInt_FromLong((long) 11));
11823 PyDict_SetItemString(d,"wxSTC_SCRIPTOL_STRINGEOL", PyInt_FromLong((long) 12));
11824 PyDict_SetItemString(d,"wxSTC_SCRIPTOL_VERBATIM", PyInt_FromLong((long) 13));
11825 PyDict_SetItemString(d,"wxSTC_SCRIPTOL_REGEX", PyInt_FromLong((long) 14));
11826 PyDict_SetItemString(d,"wxSTC_SCRIPTOL_COMMENTLINEDOC", PyInt_FromLong((long) 15));
11827 PyDict_SetItemString(d,"wxSTC_SCRIPTOL_WORD2", PyInt_FromLong((long) 16));
11828 PyDict_SetItemString(d,"wxSTC_SCRIPTOL_COMMENTDOCKEYWORD", PyInt_FromLong((long) 17));
11829 PyDict_SetItemString(d,"wxSTC_SCRIPTOL_COMMENTDOCKEYWORDERROR", PyInt_FromLong((long) 18));
11830 PyDict_SetItemString(d,"wxSTC_SCRIPTOL_COMMENTBASIC", PyInt_FromLong((long) 19));
11831 PyDict_SetItemString(d,"wxSTCNameStr", PyString_FromString("wxSTCNameStr"));
11832 PyDict_SetItemString(d,"STC_USE_DND", PyInt_FromLong((long) 1));
11833 PyDict_SetItemString(d,"wxEVT_STC_CHANGE", PyInt_FromLong((long) wxEVT_STC_CHANGE));
11834 PyDict_SetItemString(d,"wxEVT_STC_STYLENEEDED", PyInt_FromLong((long) wxEVT_STC_STYLENEEDED));
11835 PyDict_SetItemString(d,"wxEVT_STC_CHARADDED", PyInt_FromLong((long) wxEVT_STC_CHARADDED));
11836 PyDict_SetItemString(d,"wxEVT_STC_SAVEPOINTREACHED", PyInt_FromLong((long) wxEVT_STC_SAVEPOINTREACHED));
11837 PyDict_SetItemString(d,"wxEVT_STC_SAVEPOINTLEFT", PyInt_FromLong((long) wxEVT_STC_SAVEPOINTLEFT));
11838 PyDict_SetItemString(d,"wxEVT_STC_ROMODIFYATTEMPT", PyInt_FromLong((long) wxEVT_STC_ROMODIFYATTEMPT));
11839 PyDict_SetItemString(d,"wxEVT_STC_KEY", PyInt_FromLong((long) wxEVT_STC_KEY));
11840 PyDict_SetItemString(d,"wxEVT_STC_DOUBLECLICK", PyInt_FromLong((long) wxEVT_STC_DOUBLECLICK));
11841 PyDict_SetItemString(d,"wxEVT_STC_UPDATEUI", PyInt_FromLong((long) wxEVT_STC_UPDATEUI));
11842 PyDict_SetItemString(d,"wxEVT_STC_MODIFIED", PyInt_FromLong((long) wxEVT_STC_MODIFIED));
11843 PyDict_SetItemString(d,"wxEVT_STC_MACRORECORD", PyInt_FromLong((long) wxEVT_STC_MACRORECORD));
11844 PyDict_SetItemString(d,"wxEVT_STC_MARGINCLICK", PyInt_FromLong((long) wxEVT_STC_MARGINCLICK));
11845 PyDict_SetItemString(d,"wxEVT_STC_NEEDSHOWN", PyInt_FromLong((long) wxEVT_STC_NEEDSHOWN));
11846 PyDict_SetItemString(d,"wxEVT_STC_POSCHANGED", PyInt_FromLong((long) wxEVT_STC_POSCHANGED));
11847 PyDict_SetItemString(d,"wxEVT_STC_PAINTED", PyInt_FromLong((long) wxEVT_STC_PAINTED));
11848 PyDict_SetItemString(d,"wxEVT_STC_USERLISTSELECTION", PyInt_FromLong((long) wxEVT_STC_USERLISTSELECTION));
11849 PyDict_SetItemString(d,"wxEVT_STC_URIDROPPED", PyInt_FromLong((long) wxEVT_STC_URIDROPPED));
11850 PyDict_SetItemString(d,"wxEVT_STC_DWELLSTART", PyInt_FromLong((long) wxEVT_STC_DWELLSTART));
11851 PyDict_SetItemString(d,"wxEVT_STC_DWELLEND", PyInt_FromLong((long) wxEVT_STC_DWELLEND));
11852 PyDict_SetItemString(d,"wxEVT_STC_START_DRAG", PyInt_FromLong((long) wxEVT_STC_START_DRAG));
11853 PyDict_SetItemString(d,"wxEVT_STC_DRAG_OVER", PyInt_FromLong((long) wxEVT_STC_DRAG_OVER));
11854 PyDict_SetItemString(d,"wxEVT_STC_DO_DROP", PyInt_FromLong((long) wxEVT_STC_DO_DROP));
11855 PyDict_SetItemString(d,"wxEVT_STC_ZOOM", PyInt_FromLong((long) wxEVT_STC_ZOOM));
11856
11857
11858 wxClassInfo::CleanUpClasses();
11859 wxClassInfo::InitializeClasses();
11860
11861 {
11862 int i;
11863 for (i = 0; _swig_mapping[i].n1; i++)
11864 SWIG_RegisterMapping(_swig_mapping[i].n1,_swig_mapping[i].n2,_swig_mapping[i].pcnv);
11865 }
11866 }