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