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