]>
Commit | Line | Data |
---|---|---|
f6bcfd97 | 1 | /* |
ea7c631c | 2 | * FILE : contrib/stc/stc_.cpp |
f6bcfd97 BP |
3 | * |
4 | * This file was automatically generated by : | |
5 | * Simplified Wrapper and Interface Generator (SWIG) | |
185d7c3e | 6 | * Version 1.1 (Build 883) |
f6bcfd97 BP |
7 | * |
8 | * Portions Copyright (c) 1995-1998 | |
9 | * The University of Utah and The Regents of the University of California. | |
10 | * Permission is granted to distribute this file in any manner provided | |
11 | * this notice remains intact. | |
12 | * | |
13 | * Do not make changes to this file--changes will be lost! | |
14 | * | |
15 | */ | |
16 | ||
17 | ||
18 | #define SWIGCODE | |
19 | /* Implementation : PYTHON */ | |
20 | ||
21 | #define SWIGPYTHON | |
22 | #include <string.h> | |
23 | #include <stdlib.h> | |
24 | /* Definitions for Windows/Unix exporting */ | |
25 | #if defined(__WIN32__) | |
26 | # if defined(_MSC_VER) | |
27 | # define SWIGEXPORT(a) __declspec(dllexport) a | |
28 | # else | |
29 | # if defined(__BORLANDC__) | |
fe47ec10 | 30 | # define SWIGEXPORT(a) a _export |
f6bcfd97 | 31 | # else |
fe47ec10 | 32 | # define SWIGEXPORT(a) a |
f6bcfd97 BP |
33 | # endif |
34 | # endif | |
35 | #else | |
fe47ec10 | 36 | # define SWIGEXPORT(a) a |
f6bcfd97 BP |
37 | #endif |
38 | ||
fe47ec10 RD |
39 | #include "Python.h" |
40 | ||
f6bcfd97 BP |
41 | #ifdef __cplusplus |
42 | extern "C" { | |
43 | #endif | |
185d7c3e | 44 | |
f6bcfd97 BP |
45 | extern void SWIG_MakePtr(char *, void *, char *); |
46 | extern void SWIG_RegisterMapping(char *, char *, void *(*)(void *)); | |
47 | extern char *SWIG_GetPtr(char *, void **, char *); | |
48 | extern char *SWIG_GetPtrObj(PyObject *, void **, char *); | |
49 | extern void SWIG_addvarlink(PyObject *, char *, PyObject *(*)(void), int (*)(PyObject *)); | |
50 | extern PyObject *SWIG_newvarlink(void); | |
51 | #ifdef __cplusplus | |
52 | } | |
53 | #endif | |
54 | #define SWIG_init initstc_c | |
55 | ||
56 | #define SWIG_name "stc_c" | |
57 | ||
1e7ecb7b | 58 | #include "export.h" |
f6bcfd97 BP |
59 | #include "wx/stc/stc.h" |
60 | ||
61 | static PyObject* l_output_helper(PyObject* target, PyObject* o) { | |
62 | PyObject* o2; | |
185d7c3e | 63 | if (!target) { |
f6bcfd97 | 64 | target = o; |
185d7c3e | 65 | } else if (target == Py_None) { |
f6bcfd97 BP |
66 | Py_DECREF(Py_None); |
67 | target = o; | |
185d7c3e | 68 | } else { |
f6bcfd97 BP |
69 | if (!PyList_Check(target)) { |
70 | o2 = target; | |
71 | target = PyList_New(0); | |
72 | PyList_Append(target, o2); | |
73 | Py_XDECREF(o2); | |
74 | } | |
75 | PyList_Append(target,o); | |
76 | Py_XDECREF(o); | |
77 | } | |
78 | return target; | |
79 | } | |
80 | ||
81 | static PyObject* t_output_helper(PyObject* target, PyObject* o) { | |
82 | PyObject* o2; | |
83 | PyObject* o3; | |
84 | ||
185d7c3e | 85 | if (!target) { |
f6bcfd97 | 86 | target = o; |
185d7c3e | 87 | } else if (target == Py_None) { |
f6bcfd97 BP |
88 | Py_DECREF(Py_None); |
89 | target = o; | |
185d7c3e | 90 | } else { |
f6bcfd97 BP |
91 | if (!PyTuple_Check(target)) { |
92 | o2 = target; | |
93 | target = PyTuple_New(1); | |
94 | PyTuple_SetItem(target, 0, o2); | |
95 | } | |
185d7c3e RD |
96 | o3 = PyTuple_New(1); |
97 | PyTuple_SetItem(o3, 0, o); | |
f6bcfd97 BP |
98 | |
99 | o2 = target; | |
185d7c3e RD |
100 | target = PySequence_Concat(o2, o3); |
101 | Py_DECREF(o2); | |
f6bcfd97 BP |
102 | Py_DECREF(o3); |
103 | } | |
104 | return target; | |
105 | } | |
106 | ||
107 | static char* wxStringErrorMsg = "string type is required for parameter"; | |
108 | #ifdef __cplusplus | |
109 | extern "C" { | |
110 | #endif | |
111 | static void *SwigwxStyledTextCtrlTowxControl(void *ptr) { | |
112 | wxStyledTextCtrl *src; | |
113 | wxControl *dest; | |
114 | src = (wxStyledTextCtrl *) ptr; | |
115 | dest = (wxControl *) src; | |
116 | return (void *) dest; | |
117 | } | |
118 | ||
119 | static void *SwigwxStyledTextCtrlTowxWindow(void *ptr) { | |
120 | wxStyledTextCtrl *src; | |
121 | wxWindow *dest; | |
122 | src = (wxStyledTextCtrl *) ptr; | |
123 | dest = (wxWindow *) src; | |
124 | return (void *) dest; | |
125 | } | |
126 | ||
127 | static void *SwigwxStyledTextCtrlTowxEvtHandler(void *ptr) { | |
128 | wxStyledTextCtrl *src; | |
129 | wxEvtHandler *dest; | |
130 | src = (wxStyledTextCtrl *) ptr; | |
131 | dest = (wxEvtHandler *) src; | |
132 | return (void *) dest; | |
133 | } | |
134 | ||
135 | #define new_wxStyledTextCtrl(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxStyledTextCtrl(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5)) | |
136 | static PyObject *_wrap_new_wxStyledTextCtrl(PyObject *self, PyObject *args, PyObject *kwargs) { | |
137 | PyObject * _resultobj; | |
138 | wxStyledTextCtrl * _result; | |
139 | wxWindow * _arg0; | |
140 | wxWindowID _arg1; | |
141 | wxPoint * _arg2 = (wxPoint *) &wxDefaultPosition; | |
142 | wxSize * _arg3 = (wxSize *) &wxDefaultSize; | |
143 | long _arg4 = (long ) 0; | |
144 | char * _arg5 = (char *) "styledtext"; | |
145 | PyObject * _argo0 = 0; | |
146 | wxPoint temp; | |
147 | PyObject * _obj2 = 0; | |
148 | wxSize temp0; | |
149 | PyObject * _obj3 = 0; | |
150 | char *_kwnames[] = { "parent","id","pos","size","style","name", NULL }; | |
151 | char _ptemp[128]; | |
152 | ||
153 | self = self; | |
154 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi|OOls:new_wxStyledTextCtrl",_kwnames,&_argo0,&_arg1,&_obj2,&_obj3,&_arg4,&_arg5)) | |
155 | return NULL; | |
156 | if (_argo0) { | |
157 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
158 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) { | |
159 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxStyledTextCtrl. Expected _wxWindow_p."); | |
160 | return NULL; | |
161 | } | |
162 | } | |
163 | if (_obj2) | |
164 | { | |
165 | _arg2 = &temp; | |
166 | if (! wxPoint_helper(_obj2, &_arg2)) | |
167 | return NULL; | |
168 | } | |
169 | if (_obj3) | |
170 | { | |
171 | _arg3 = &temp0; | |
172 | if (! wxSize_helper(_obj3, &_arg3)) | |
173 | return NULL; | |
174 | } | |
175 | { | |
176 | wxPy_BEGIN_ALLOW_THREADS; | |
177 | _result = (wxStyledTextCtrl *)new_wxStyledTextCtrl(_arg0,_arg1,*_arg2,*_arg3,_arg4,_arg5); | |
178 | ||
179 | wxPy_END_ALLOW_THREADS; | |
180 | } if (_result) { | |
181 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxStyledTextCtrl_p"); | |
182 | _resultobj = Py_BuildValue("s",_ptemp); | |
183 | } else { | |
184 | Py_INCREF(Py_None); | |
185 | _resultobj = Py_None; | |
186 | } | |
187 | return _resultobj; | |
188 | } | |
189 | ||
fe47ec10 RD |
190 | #define wxStyledTextCtrl_AddText(_swigobj,_swigarg0) (_swigobj->AddText(_swigarg0)) |
191 | static PyObject *_wrap_wxStyledTextCtrl_AddText(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 | 192 | PyObject * _resultobj; |
f6bcfd97 | 193 | wxStyledTextCtrl * _arg0; |
fe47ec10 | 194 | wxString * _arg1; |
f6bcfd97 | 195 | PyObject * _argo0 = 0; |
fe47ec10 RD |
196 | PyObject * _obj1 = 0; |
197 | char *_kwnames[] = { "self","text", NULL }; | |
f6bcfd97 BP |
198 | |
199 | self = self; | |
fe47ec10 | 200 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxStyledTextCtrl_AddText",_kwnames,&_argo0,&_obj1)) |
f6bcfd97 BP |
201 | return NULL; |
202 | if (_argo0) { | |
203 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
204 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 205 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_AddText. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
206 | return NULL; |
207 | } | |
208 | } | |
fe47ec10 | 209 | { |
185d7c3e RD |
210 | #if PYTHON_API_VERSION >= 1009 |
211 | char* tmpPtr; int tmpSize; | |
212 | if (!PyString_Check(_obj1) && !PyUnicode_Check(_obj1)) { | |
213 | PyErr_SetString(PyExc_TypeError, "String or Unicode type required"); | |
214 | return NULL; | |
215 | } | |
216 | if (PyString_AsStringAndSize(_obj1, &tmpPtr, &tmpSize) == -1) | |
217 | return NULL; | |
218 | _arg1 = new wxString(tmpPtr, tmpSize); | |
219 | #else | |
fe47ec10 RD |
220 | if (!PyString_Check(_obj1)) { |
221 | PyErr_SetString(PyExc_TypeError, wxStringErrorMsg); | |
222 | return NULL; | |
223 | } | |
185d7c3e RD |
224 | _arg1 = new wxString(PyString_AS_STRING(_obj1), PyString_GET_SIZE(_obj1)); |
225 | #endif | |
fe47ec10 | 226 | } |
f6bcfd97 BP |
227 | { |
228 | wxPy_BEGIN_ALLOW_THREADS; | |
fe47ec10 | 229 | wxStyledTextCtrl_AddText(_arg0,*_arg1); |
f6bcfd97 BP |
230 | |
231 | wxPy_END_ALLOW_THREADS; | |
fe47ec10 RD |
232 | } Py_INCREF(Py_None); |
233 | _resultobj = Py_None; | |
f6bcfd97 | 234 | { |
fe47ec10 RD |
235 | if (_obj1) |
236 | delete _arg1; | |
f6bcfd97 BP |
237 | } |
238 | return _resultobj; | |
239 | } | |
240 | ||
fe47ec10 RD |
241 | #define wxStyledTextCtrl_AddStyledText(_swigobj,_swigarg0) (_swigobj->AddStyledText(_swigarg0)) |
242 | static PyObject *_wrap_wxStyledTextCtrl_AddStyledText(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 | 243 | PyObject * _resultobj; |
f6bcfd97 BP |
244 | wxStyledTextCtrl * _arg0; |
245 | wxString * _arg1; | |
246 | PyObject * _argo0 = 0; | |
247 | PyObject * _obj1 = 0; | |
248 | char *_kwnames[] = { "self","text", NULL }; | |
249 | ||
250 | self = self; | |
fe47ec10 | 251 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxStyledTextCtrl_AddStyledText",_kwnames,&_argo0,&_obj1)) |
f6bcfd97 BP |
252 | return NULL; |
253 | if (_argo0) { | |
254 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
255 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 256 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_AddStyledText. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
257 | return NULL; |
258 | } | |
259 | } | |
260 | { | |
185d7c3e RD |
261 | #if PYTHON_API_VERSION >= 1009 |
262 | char* tmpPtr; int tmpSize; | |
263 | if (!PyString_Check(_obj1) && !PyUnicode_Check(_obj1)) { | |
264 | PyErr_SetString(PyExc_TypeError, "String or Unicode type required"); | |
265 | return NULL; | |
266 | } | |
267 | if (PyString_AsStringAndSize(_obj1, &tmpPtr, &tmpSize) == -1) | |
268 | return NULL; | |
269 | _arg1 = new wxString(tmpPtr, tmpSize); | |
270 | #else | |
f6bcfd97 BP |
271 | if (!PyString_Check(_obj1)) { |
272 | PyErr_SetString(PyExc_TypeError, wxStringErrorMsg); | |
273 | return NULL; | |
274 | } | |
185d7c3e RD |
275 | _arg1 = new wxString(PyString_AS_STRING(_obj1), PyString_GET_SIZE(_obj1)); |
276 | #endif | |
f6bcfd97 BP |
277 | } |
278 | { | |
279 | wxPy_BEGIN_ALLOW_THREADS; | |
fe47ec10 | 280 | wxStyledTextCtrl_AddStyledText(_arg0,*_arg1); |
f6bcfd97 BP |
281 | |
282 | wxPy_END_ALLOW_THREADS; | |
fe47ec10 RD |
283 | } Py_INCREF(Py_None); |
284 | _resultobj = Py_None; | |
f6bcfd97 BP |
285 | { |
286 | if (_obj1) | |
287 | delete _arg1; | |
288 | } | |
289 | return _resultobj; | |
290 | } | |
291 | ||
fe47ec10 RD |
292 | #define wxStyledTextCtrl_InsertText(_swigobj,_swigarg0,_swigarg1) (_swigobj->InsertText(_swigarg0,_swigarg1)) |
293 | static PyObject *_wrap_wxStyledTextCtrl_InsertText(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 | 294 | PyObject * _resultobj; |
f6bcfd97 BP |
295 | wxStyledTextCtrl * _arg0; |
296 | int _arg1; | |
fe47ec10 | 297 | wxString * _arg2; |
f6bcfd97 | 298 | PyObject * _argo0 = 0; |
fe47ec10 RD |
299 | PyObject * _obj2 = 0; |
300 | char *_kwnames[] = { "self","pos","text", NULL }; | |
f6bcfd97 BP |
301 | |
302 | self = self; | |
fe47ec10 | 303 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxStyledTextCtrl_InsertText",_kwnames,&_argo0,&_arg1,&_obj2)) |
f6bcfd97 BP |
304 | return NULL; |
305 | if (_argo0) { | |
306 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
307 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 308 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_InsertText. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
309 | return NULL; |
310 | } | |
311 | } | |
fe47ec10 | 312 | { |
185d7c3e RD |
313 | #if PYTHON_API_VERSION >= 1009 |
314 | char* tmpPtr; int tmpSize; | |
315 | if (!PyString_Check(_obj2) && !PyUnicode_Check(_obj2)) { | |
316 | PyErr_SetString(PyExc_TypeError, "String or Unicode type required"); | |
317 | return NULL; | |
318 | } | |
319 | if (PyString_AsStringAndSize(_obj2, &tmpPtr, &tmpSize) == -1) | |
320 | return NULL; | |
321 | _arg2 = new wxString(tmpPtr, tmpSize); | |
322 | #else | |
fe47ec10 RD |
323 | if (!PyString_Check(_obj2)) { |
324 | PyErr_SetString(PyExc_TypeError, wxStringErrorMsg); | |
325 | return NULL; | |
326 | } | |
185d7c3e RD |
327 | _arg2 = new wxString(PyString_AS_STRING(_obj2), PyString_GET_SIZE(_obj2)); |
328 | #endif | |
fe47ec10 | 329 | } |
f6bcfd97 BP |
330 | { |
331 | wxPy_BEGIN_ALLOW_THREADS; | |
fe47ec10 | 332 | wxStyledTextCtrl_InsertText(_arg0,_arg1,*_arg2); |
f6bcfd97 BP |
333 | |
334 | wxPy_END_ALLOW_THREADS; | |
fe47ec10 RD |
335 | } Py_INCREF(Py_None); |
336 | _resultobj = Py_None; | |
f6bcfd97 | 337 | { |
fe47ec10 RD |
338 | if (_obj2) |
339 | delete _arg2; | |
f6bcfd97 BP |
340 | } |
341 | return _resultobj; | |
342 | } | |
343 | ||
fe47ec10 RD |
344 | #define wxStyledTextCtrl_ClearAll(_swigobj) (_swigobj->ClearAll()) |
345 | static PyObject *_wrap_wxStyledTextCtrl_ClearAll(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 BP |
346 | PyObject * _resultobj; |
347 | wxStyledTextCtrl * _arg0; | |
f6bcfd97 | 348 | PyObject * _argo0 = 0; |
fe47ec10 | 349 | char *_kwnames[] = { "self", NULL }; |
f6bcfd97 BP |
350 | |
351 | self = self; | |
fe47ec10 | 352 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_ClearAll",_kwnames,&_argo0)) |
f6bcfd97 BP |
353 | return NULL; |
354 | if (_argo0) { | |
355 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
356 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 357 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_ClearAll. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
358 | return NULL; |
359 | } | |
360 | } | |
f6bcfd97 BP |
361 | { |
362 | wxPy_BEGIN_ALLOW_THREADS; | |
fe47ec10 | 363 | wxStyledTextCtrl_ClearAll(_arg0); |
f6bcfd97 BP |
364 | |
365 | wxPy_END_ALLOW_THREADS; | |
366 | } Py_INCREF(Py_None); | |
367 | _resultobj = Py_None; | |
f6bcfd97 BP |
368 | return _resultobj; |
369 | } | |
370 | ||
fe47ec10 RD |
371 | #define wxStyledTextCtrl_ClearDocumentStyle(_swigobj) (_swigobj->ClearDocumentStyle()) |
372 | static PyObject *_wrap_wxStyledTextCtrl_ClearDocumentStyle(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 BP |
373 | PyObject * _resultobj; |
374 | wxStyledTextCtrl * _arg0; | |
f6bcfd97 | 375 | PyObject * _argo0 = 0; |
fe47ec10 | 376 | char *_kwnames[] = { "self", NULL }; |
f6bcfd97 BP |
377 | |
378 | self = self; | |
fe47ec10 | 379 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_ClearDocumentStyle",_kwnames,&_argo0)) |
f6bcfd97 BP |
380 | return NULL; |
381 | if (_argo0) { | |
382 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
383 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 384 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_ClearDocumentStyle. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
385 | return NULL; |
386 | } | |
387 | } | |
f6bcfd97 BP |
388 | { |
389 | wxPy_BEGIN_ALLOW_THREADS; | |
fe47ec10 | 390 | wxStyledTextCtrl_ClearDocumentStyle(_arg0); |
f6bcfd97 BP |
391 | |
392 | wxPy_END_ALLOW_THREADS; | |
393 | } Py_INCREF(Py_None); | |
394 | _resultobj = Py_None; | |
395 | return _resultobj; | |
396 | } | |
397 | ||
fe47ec10 RD |
398 | #define wxStyledTextCtrl_GetLength(_swigobj) (_swigobj->GetLength()) |
399 | static PyObject *_wrap_wxStyledTextCtrl_GetLength(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 | 400 | PyObject * _resultobj; |
fe47ec10 | 401 | int _result; |
f6bcfd97 BP |
402 | wxStyledTextCtrl * _arg0; |
403 | PyObject * _argo0 = 0; | |
404 | char *_kwnames[] = { "self", NULL }; | |
405 | ||
406 | self = self; | |
fe47ec10 | 407 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetLength",_kwnames,&_argo0)) |
f6bcfd97 BP |
408 | return NULL; |
409 | if (_argo0) { | |
410 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
411 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 412 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetLength. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
413 | return NULL; |
414 | } | |
415 | } | |
416 | { | |
417 | wxPy_BEGIN_ALLOW_THREADS; | |
fe47ec10 | 418 | _result = (int )wxStyledTextCtrl_GetLength(_arg0); |
f6bcfd97 BP |
419 | |
420 | wxPy_END_ALLOW_THREADS; | |
421 | } _resultobj = Py_BuildValue("i",_result); | |
422 | return _resultobj; | |
423 | } | |
424 | ||
fe47ec10 RD |
425 | #define wxStyledTextCtrl_GetCharAt(_swigobj,_swigarg0) (_swigobj->GetCharAt(_swigarg0)) |
426 | static PyObject *_wrap_wxStyledTextCtrl_GetCharAt(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 | 427 | PyObject * _resultobj; |
fe47ec10 | 428 | int _result; |
f6bcfd97 BP |
429 | wxStyledTextCtrl * _arg0; |
430 | int _arg1; | |
f6bcfd97 | 431 | PyObject * _argo0 = 0; |
fe47ec10 | 432 | char *_kwnames[] = { "self","pos", NULL }; |
f6bcfd97 BP |
433 | |
434 | self = self; | |
fe47ec10 | 435 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_GetCharAt",_kwnames,&_argo0,&_arg1)) |
f6bcfd97 BP |
436 | return NULL; |
437 | if (_argo0) { | |
438 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
439 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 440 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetCharAt. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
441 | return NULL; |
442 | } | |
443 | } | |
444 | { | |
445 | wxPy_BEGIN_ALLOW_THREADS; | |
fe47ec10 | 446 | _result = (int )wxStyledTextCtrl_GetCharAt(_arg0,_arg1); |
f6bcfd97 BP |
447 | |
448 | wxPy_END_ALLOW_THREADS; | |
fe47ec10 | 449 | } _resultobj = Py_BuildValue("i",_result); |
f6bcfd97 BP |
450 | return _resultobj; |
451 | } | |
452 | ||
fe47ec10 RD |
453 | #define wxStyledTextCtrl_GetCurrentPos(_swigobj) (_swigobj->GetCurrentPos()) |
454 | static PyObject *_wrap_wxStyledTextCtrl_GetCurrentPos(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 | 455 | PyObject * _resultobj; |
fe47ec10 | 456 | int _result; |
f6bcfd97 | 457 | wxStyledTextCtrl * _arg0; |
f6bcfd97 | 458 | PyObject * _argo0 = 0; |
fe47ec10 | 459 | char *_kwnames[] = { "self", NULL }; |
f6bcfd97 BP |
460 | |
461 | self = self; | |
fe47ec10 | 462 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetCurrentPos",_kwnames,&_argo0)) |
f6bcfd97 BP |
463 | return NULL; |
464 | if (_argo0) { | |
465 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
466 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 467 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetCurrentPos. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
468 | return NULL; |
469 | } | |
470 | } | |
471 | { | |
472 | wxPy_BEGIN_ALLOW_THREADS; | |
fe47ec10 | 473 | _result = (int )wxStyledTextCtrl_GetCurrentPos(_arg0); |
f6bcfd97 BP |
474 | |
475 | wxPy_END_ALLOW_THREADS; | |
fe47ec10 | 476 | } _resultobj = Py_BuildValue("i",_result); |
f6bcfd97 BP |
477 | return _resultobj; |
478 | } | |
479 | ||
fe47ec10 RD |
480 | #define wxStyledTextCtrl_GetAnchor(_swigobj) (_swigobj->GetAnchor()) |
481 | static PyObject *_wrap_wxStyledTextCtrl_GetAnchor(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 | 482 | PyObject * _resultobj; |
fe47ec10 | 483 | int _result; |
f6bcfd97 | 484 | wxStyledTextCtrl * _arg0; |
f6bcfd97 | 485 | PyObject * _argo0 = 0; |
fe47ec10 | 486 | char *_kwnames[] = { "self", NULL }; |
f6bcfd97 BP |
487 | |
488 | self = self; | |
fe47ec10 | 489 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetAnchor",_kwnames,&_argo0)) |
f6bcfd97 BP |
490 | return NULL; |
491 | if (_argo0) { | |
492 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
493 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 494 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetAnchor. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
495 | return NULL; |
496 | } | |
497 | } | |
f6bcfd97 BP |
498 | { |
499 | wxPy_BEGIN_ALLOW_THREADS; | |
fe47ec10 | 500 | _result = (int )wxStyledTextCtrl_GetAnchor(_arg0); |
f6bcfd97 BP |
501 | |
502 | wxPy_END_ALLOW_THREADS; | |
fe47ec10 | 503 | } _resultobj = Py_BuildValue("i",_result); |
f6bcfd97 BP |
504 | return _resultobj; |
505 | } | |
506 | ||
fe47ec10 RD |
507 | #define wxStyledTextCtrl_GetStyleAt(_swigobj,_swigarg0) (_swigobj->GetStyleAt(_swigarg0)) |
508 | static PyObject *_wrap_wxStyledTextCtrl_GetStyleAt(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 | 509 | PyObject * _resultobj; |
fe47ec10 | 510 | int _result; |
f6bcfd97 | 511 | wxStyledTextCtrl * _arg0; |
fe47ec10 | 512 | int _arg1; |
f6bcfd97 | 513 | PyObject * _argo0 = 0; |
fe47ec10 | 514 | char *_kwnames[] = { "self","pos", NULL }; |
f6bcfd97 BP |
515 | |
516 | self = self; | |
fe47ec10 | 517 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_GetStyleAt",_kwnames,&_argo0,&_arg1)) |
f6bcfd97 BP |
518 | return NULL; |
519 | if (_argo0) { | |
520 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
521 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 522 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetStyleAt. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
523 | return NULL; |
524 | } | |
525 | } | |
f6bcfd97 BP |
526 | { |
527 | wxPy_BEGIN_ALLOW_THREADS; | |
fe47ec10 | 528 | _result = (int )wxStyledTextCtrl_GetStyleAt(_arg0,_arg1); |
f6bcfd97 BP |
529 | |
530 | wxPy_END_ALLOW_THREADS; | |
fe47ec10 | 531 | } _resultobj = Py_BuildValue("i",_result); |
f6bcfd97 BP |
532 | return _resultobj; |
533 | } | |
534 | ||
fe47ec10 RD |
535 | #define wxStyledTextCtrl_Redo(_swigobj) (_swigobj->Redo()) |
536 | static PyObject *_wrap_wxStyledTextCtrl_Redo(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 BP |
537 | PyObject * _resultobj; |
538 | wxStyledTextCtrl * _arg0; | |
f6bcfd97 | 539 | PyObject * _argo0 = 0; |
fe47ec10 | 540 | char *_kwnames[] = { "self", NULL }; |
f6bcfd97 BP |
541 | |
542 | self = self; | |
fe47ec10 | 543 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_Redo",_kwnames,&_argo0)) |
f6bcfd97 BP |
544 | return NULL; |
545 | if (_argo0) { | |
546 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
547 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 548 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_Redo. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
549 | return NULL; |
550 | } | |
551 | } | |
f6bcfd97 BP |
552 | { |
553 | wxPy_BEGIN_ALLOW_THREADS; | |
fe47ec10 | 554 | wxStyledTextCtrl_Redo(_arg0); |
f6bcfd97 BP |
555 | |
556 | wxPy_END_ALLOW_THREADS; | |
557 | } Py_INCREF(Py_None); | |
558 | _resultobj = Py_None; | |
f6bcfd97 BP |
559 | return _resultobj; |
560 | } | |
561 | ||
fe47ec10 RD |
562 | #define wxStyledTextCtrl_SetUndoCollection(_swigobj,_swigarg0) (_swigobj->SetUndoCollection(_swigarg0)) |
563 | static PyObject *_wrap_wxStyledTextCtrl_SetUndoCollection(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 BP |
564 | PyObject * _resultobj; |
565 | wxStyledTextCtrl * _arg0; | |
fe47ec10 | 566 | bool _arg1; |
f6bcfd97 | 567 | PyObject * _argo0 = 0; |
fe47ec10 RD |
568 | int tempbool1; |
569 | char *_kwnames[] = { "self","collectUndo", NULL }; | |
f6bcfd97 BP |
570 | |
571 | self = self; | |
fe47ec10 | 572 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_SetUndoCollection",_kwnames,&_argo0,&tempbool1)) |
f6bcfd97 BP |
573 | return NULL; |
574 | if (_argo0) { | |
575 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
576 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 577 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetUndoCollection. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
578 | return NULL; |
579 | } | |
580 | } | |
fe47ec10 | 581 | _arg1 = (bool ) tempbool1; |
f6bcfd97 BP |
582 | { |
583 | wxPy_BEGIN_ALLOW_THREADS; | |
fe47ec10 | 584 | wxStyledTextCtrl_SetUndoCollection(_arg0,_arg1); |
f6bcfd97 BP |
585 | |
586 | wxPy_END_ALLOW_THREADS; | |
587 | } Py_INCREF(Py_None); | |
588 | _resultobj = Py_None; | |
589 | return _resultobj; | |
590 | } | |
591 | ||
fe47ec10 RD |
592 | #define wxStyledTextCtrl_SelectAll(_swigobj) (_swigobj->SelectAll()) |
593 | static PyObject *_wrap_wxStyledTextCtrl_SelectAll(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 | 594 | PyObject * _resultobj; |
f6bcfd97 | 595 | wxStyledTextCtrl * _arg0; |
f6bcfd97 | 596 | PyObject * _argo0 = 0; |
fe47ec10 | 597 | char *_kwnames[] = { "self", NULL }; |
f6bcfd97 BP |
598 | |
599 | self = self; | |
fe47ec10 | 600 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_SelectAll",_kwnames,&_argo0)) |
f6bcfd97 BP |
601 | return NULL; |
602 | if (_argo0) { | |
603 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
604 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 605 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SelectAll. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
606 | return NULL; |
607 | } | |
608 | } | |
609 | { | |
610 | wxPy_BEGIN_ALLOW_THREADS; | |
fe47ec10 | 611 | wxStyledTextCtrl_SelectAll(_arg0); |
f6bcfd97 BP |
612 | |
613 | wxPy_END_ALLOW_THREADS; | |
fe47ec10 RD |
614 | } Py_INCREF(Py_None); |
615 | _resultobj = Py_None; | |
f6bcfd97 BP |
616 | return _resultobj; |
617 | } | |
618 | ||
fe47ec10 RD |
619 | #define wxStyledTextCtrl_SetSavePoint(_swigobj) (_swigobj->SetSavePoint()) |
620 | static PyObject *_wrap_wxStyledTextCtrl_SetSavePoint(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 | 621 | PyObject * _resultobj; |
f6bcfd97 | 622 | wxStyledTextCtrl * _arg0; |
f6bcfd97 | 623 | PyObject * _argo0 = 0; |
fe47ec10 | 624 | char *_kwnames[] = { "self", NULL }; |
f6bcfd97 BP |
625 | |
626 | self = self; | |
fe47ec10 | 627 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_SetSavePoint",_kwnames,&_argo0)) |
f6bcfd97 BP |
628 | return NULL; |
629 | if (_argo0) { | |
630 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
631 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 632 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetSavePoint. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
633 | return NULL; |
634 | } | |
635 | } | |
636 | { | |
637 | wxPy_BEGIN_ALLOW_THREADS; | |
fe47ec10 | 638 | wxStyledTextCtrl_SetSavePoint(_arg0); |
f6bcfd97 BP |
639 | |
640 | wxPy_END_ALLOW_THREADS; | |
fe47ec10 RD |
641 | } Py_INCREF(Py_None); |
642 | _resultobj = Py_None; | |
f6bcfd97 BP |
643 | return _resultobj; |
644 | } | |
645 | ||
fe47ec10 RD |
646 | #define wxStyledTextCtrl_GetStyledText(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetStyledText(_swigarg0,_swigarg1)) |
647 | static PyObject *_wrap_wxStyledTextCtrl_GetStyledText(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 | 648 | PyObject * _resultobj; |
fe47ec10 | 649 | wxString * _result; |
f6bcfd97 BP |
650 | wxStyledTextCtrl * _arg0; |
651 | int _arg1; | |
fe47ec10 | 652 | int _arg2; |
f6bcfd97 | 653 | PyObject * _argo0 = 0; |
fe47ec10 | 654 | char *_kwnames[] = { "self","startPos","endPos", NULL }; |
f6bcfd97 BP |
655 | |
656 | self = self; | |
fe47ec10 | 657 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxStyledTextCtrl_GetStyledText",_kwnames,&_argo0,&_arg1,&_arg2)) |
f6bcfd97 BP |
658 | return NULL; |
659 | if (_argo0) { | |
660 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
661 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 662 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetStyledText. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
663 | return NULL; |
664 | } | |
665 | } | |
666 | { | |
667 | wxPy_BEGIN_ALLOW_THREADS; | |
fe47ec10 | 668 | _result = new wxString (wxStyledTextCtrl_GetStyledText(_arg0,_arg1,_arg2)); |
f6bcfd97 BP |
669 | |
670 | wxPy_END_ALLOW_THREADS; | |
fe47ec10 RD |
671 | }{ |
672 | _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len()); | |
673 | } | |
674 | { | |
675 | delete _result; | |
676 | } | |
f6bcfd97 BP |
677 | return _resultobj; |
678 | } | |
679 | ||
fe47ec10 RD |
680 | #define wxStyledTextCtrl_CanRedo(_swigobj) (_swigobj->CanRedo()) |
681 | static PyObject *_wrap_wxStyledTextCtrl_CanRedo(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 | 682 | PyObject * _resultobj; |
fe47ec10 | 683 | bool _result; |
f6bcfd97 BP |
684 | wxStyledTextCtrl * _arg0; |
685 | PyObject * _argo0 = 0; | |
686 | char *_kwnames[] = { "self", NULL }; | |
687 | ||
688 | self = self; | |
fe47ec10 | 689 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_CanRedo",_kwnames,&_argo0)) |
f6bcfd97 BP |
690 | return NULL; |
691 | if (_argo0) { | |
692 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
693 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 694 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_CanRedo. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
695 | return NULL; |
696 | } | |
697 | } | |
698 | { | |
699 | wxPy_BEGIN_ALLOW_THREADS; | |
fe47ec10 | 700 | _result = (bool )wxStyledTextCtrl_CanRedo(_arg0); |
f6bcfd97 BP |
701 | |
702 | wxPy_END_ALLOW_THREADS; | |
703 | } _resultobj = Py_BuildValue("i",_result); | |
704 | return _resultobj; | |
705 | } | |
706 | ||
fe47ec10 RD |
707 | #define wxStyledTextCtrl_MarkerLineFromHandle(_swigobj,_swigarg0) (_swigobj->MarkerLineFromHandle(_swigarg0)) |
708 | static PyObject *_wrap_wxStyledTextCtrl_MarkerLineFromHandle(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 | 709 | PyObject * _resultobj; |
fe47ec10 | 710 | int _result; |
f6bcfd97 | 711 | wxStyledTextCtrl * _arg0; |
fe47ec10 | 712 | int _arg1; |
f6bcfd97 | 713 | PyObject * _argo0 = 0; |
fe47ec10 | 714 | char *_kwnames[] = { "self","handle", NULL }; |
f6bcfd97 BP |
715 | |
716 | self = self; | |
fe47ec10 | 717 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_MarkerLineFromHandle",_kwnames,&_argo0,&_arg1)) |
f6bcfd97 BP |
718 | return NULL; |
719 | if (_argo0) { | |
720 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
721 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 722 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_MarkerLineFromHandle. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
723 | return NULL; |
724 | } | |
725 | } | |
726 | { | |
727 | wxPy_BEGIN_ALLOW_THREADS; | |
fe47ec10 | 728 | _result = (int )wxStyledTextCtrl_MarkerLineFromHandle(_arg0,_arg1); |
f6bcfd97 BP |
729 | |
730 | wxPy_END_ALLOW_THREADS; | |
fe47ec10 | 731 | } _resultobj = Py_BuildValue("i",_result); |
f6bcfd97 BP |
732 | return _resultobj; |
733 | } | |
734 | ||
fe47ec10 RD |
735 | #define wxStyledTextCtrl_MarkerDeleteHandle(_swigobj,_swigarg0) (_swigobj->MarkerDeleteHandle(_swigarg0)) |
736 | static PyObject *_wrap_wxStyledTextCtrl_MarkerDeleteHandle(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 BP |
737 | PyObject * _resultobj; |
738 | wxStyledTextCtrl * _arg0; | |
fe47ec10 | 739 | int _arg1; |
f6bcfd97 | 740 | PyObject * _argo0 = 0; |
fe47ec10 | 741 | char *_kwnames[] = { "self","handle", NULL }; |
f6bcfd97 BP |
742 | |
743 | self = self; | |
fe47ec10 | 744 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_MarkerDeleteHandle",_kwnames,&_argo0,&_arg1)) |
f6bcfd97 BP |
745 | return NULL; |
746 | if (_argo0) { | |
747 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
748 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 749 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_MarkerDeleteHandle. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
750 | return NULL; |
751 | } | |
752 | } | |
753 | { | |
754 | wxPy_BEGIN_ALLOW_THREADS; | |
fe47ec10 | 755 | wxStyledTextCtrl_MarkerDeleteHandle(_arg0,_arg1); |
f6bcfd97 BP |
756 | |
757 | wxPy_END_ALLOW_THREADS; | |
758 | } Py_INCREF(Py_None); | |
759 | _resultobj = Py_None; | |
760 | return _resultobj; | |
761 | } | |
762 | ||
fe47ec10 RD |
763 | #define wxStyledTextCtrl_GetUndoCollection(_swigobj) (_swigobj->GetUndoCollection()) |
764 | static PyObject *_wrap_wxStyledTextCtrl_GetUndoCollection(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 | 765 | PyObject * _resultobj; |
fe47ec10 | 766 | bool _result; |
f6bcfd97 BP |
767 | wxStyledTextCtrl * _arg0; |
768 | PyObject * _argo0 = 0; | |
769 | char *_kwnames[] = { "self", NULL }; | |
770 | ||
771 | self = self; | |
fe47ec10 | 772 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetUndoCollection",_kwnames,&_argo0)) |
f6bcfd97 BP |
773 | return NULL; |
774 | if (_argo0) { | |
775 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
776 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 777 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetUndoCollection. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
778 | return NULL; |
779 | } | |
780 | } | |
781 | { | |
782 | wxPy_BEGIN_ALLOW_THREADS; | |
fe47ec10 | 783 | _result = (bool )wxStyledTextCtrl_GetUndoCollection(_arg0); |
f6bcfd97 BP |
784 | |
785 | wxPy_END_ALLOW_THREADS; | |
fe47ec10 | 786 | } _resultobj = Py_BuildValue("i",_result); |
f6bcfd97 BP |
787 | return _resultobj; |
788 | } | |
789 | ||
fe47ec10 RD |
790 | #define wxStyledTextCtrl_GetViewWhiteSpace(_swigobj) (_swigobj->GetViewWhiteSpace()) |
791 | static PyObject *_wrap_wxStyledTextCtrl_GetViewWhiteSpace(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 | 792 | PyObject * _resultobj; |
fe47ec10 | 793 | int _result; |
f6bcfd97 BP |
794 | wxStyledTextCtrl * _arg0; |
795 | PyObject * _argo0 = 0; | |
796 | char *_kwnames[] = { "self", NULL }; | |
797 | ||
798 | self = self; | |
fe47ec10 | 799 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetViewWhiteSpace",_kwnames,&_argo0)) |
f6bcfd97 BP |
800 | return NULL; |
801 | if (_argo0) { | |
802 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
803 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 804 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetViewWhiteSpace. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
805 | return NULL; |
806 | } | |
807 | } | |
808 | { | |
809 | wxPy_BEGIN_ALLOW_THREADS; | |
fe47ec10 | 810 | _result = (int )wxStyledTextCtrl_GetViewWhiteSpace(_arg0); |
f6bcfd97 BP |
811 | |
812 | wxPy_END_ALLOW_THREADS; | |
813 | } _resultobj = Py_BuildValue("i",_result); | |
814 | return _resultobj; | |
815 | } | |
816 | ||
fe47ec10 RD |
817 | #define wxStyledTextCtrl_SetViewWhiteSpace(_swigobj,_swigarg0) (_swigobj->SetViewWhiteSpace(_swigarg0)) |
818 | static PyObject *_wrap_wxStyledTextCtrl_SetViewWhiteSpace(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 BP |
819 | PyObject * _resultobj; |
820 | wxStyledTextCtrl * _arg0; | |
fe47ec10 | 821 | int _arg1; |
f6bcfd97 | 822 | PyObject * _argo0 = 0; |
fe47ec10 | 823 | char *_kwnames[] = { "self","viewWS", NULL }; |
f6bcfd97 BP |
824 | |
825 | self = self; | |
fe47ec10 | 826 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_SetViewWhiteSpace",_kwnames,&_argo0,&_arg1)) |
f6bcfd97 BP |
827 | return NULL; |
828 | if (_argo0) { | |
829 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
830 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 831 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetViewWhiteSpace. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
832 | return NULL; |
833 | } | |
834 | } | |
835 | { | |
836 | wxPy_BEGIN_ALLOW_THREADS; | |
fe47ec10 | 837 | wxStyledTextCtrl_SetViewWhiteSpace(_arg0,_arg1); |
f6bcfd97 BP |
838 | |
839 | wxPy_END_ALLOW_THREADS; | |
840 | } Py_INCREF(Py_None); | |
841 | _resultobj = Py_None; | |
842 | return _resultobj; | |
843 | } | |
844 | ||
fe47ec10 RD |
845 | #define wxStyledTextCtrl_PositionFromPoint(_swigobj,_swigarg0) (_swigobj->PositionFromPoint(_swigarg0)) |
846 | static PyObject *_wrap_wxStyledTextCtrl_PositionFromPoint(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 | 847 | PyObject * _resultobj; |
fe47ec10 | 848 | int _result; |
f6bcfd97 | 849 | wxStyledTextCtrl * _arg0; |
fe47ec10 | 850 | wxPoint * _arg1; |
f6bcfd97 | 851 | PyObject * _argo0 = 0; |
fe47ec10 RD |
852 | wxPoint temp; |
853 | PyObject * _obj1 = 0; | |
854 | char *_kwnames[] = { "self","pt", NULL }; | |
f6bcfd97 BP |
855 | |
856 | self = self; | |
fe47ec10 | 857 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxStyledTextCtrl_PositionFromPoint",_kwnames,&_argo0,&_obj1)) |
f6bcfd97 BP |
858 | return NULL; |
859 | if (_argo0) { | |
860 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
861 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 862 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_PositionFromPoint. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
863 | return NULL; |
864 | } | |
865 | } | |
fe47ec10 RD |
866 | { |
867 | _arg1 = &temp; | |
868 | if (! wxPoint_helper(_obj1, &_arg1)) | |
869 | return NULL; | |
870 | } | |
f6bcfd97 BP |
871 | { |
872 | wxPy_BEGIN_ALLOW_THREADS; | |
fe47ec10 | 873 | _result = (int )wxStyledTextCtrl_PositionFromPoint(_arg0,*_arg1); |
f6bcfd97 BP |
874 | |
875 | wxPy_END_ALLOW_THREADS; | |
fe47ec10 | 876 | } _resultobj = Py_BuildValue("i",_result); |
f6bcfd97 BP |
877 | return _resultobj; |
878 | } | |
879 | ||
fe47ec10 RD |
880 | #define wxStyledTextCtrl_GotoLine(_swigobj,_swigarg0) (_swigobj->GotoLine(_swigarg0)) |
881 | static PyObject *_wrap_wxStyledTextCtrl_GotoLine(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 | 882 | PyObject * _resultobj; |
f6bcfd97 | 883 | wxStyledTextCtrl * _arg0; |
fe47ec10 | 884 | int _arg1; |
f6bcfd97 | 885 | PyObject * _argo0 = 0; |
fe47ec10 | 886 | char *_kwnames[] = { "self","line", NULL }; |
f6bcfd97 BP |
887 | |
888 | self = self; | |
fe47ec10 | 889 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_GotoLine",_kwnames,&_argo0,&_arg1)) |
f6bcfd97 BP |
890 | return NULL; |
891 | if (_argo0) { | |
892 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
893 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 894 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GotoLine. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
895 | return NULL; |
896 | } | |
897 | } | |
898 | { | |
899 | wxPy_BEGIN_ALLOW_THREADS; | |
fe47ec10 | 900 | wxStyledTextCtrl_GotoLine(_arg0,_arg1); |
f6bcfd97 BP |
901 | |
902 | wxPy_END_ALLOW_THREADS; | |
fe47ec10 RD |
903 | } Py_INCREF(Py_None); |
904 | _resultobj = Py_None; | |
f6bcfd97 BP |
905 | return _resultobj; |
906 | } | |
907 | ||
fe47ec10 RD |
908 | #define wxStyledTextCtrl_GotoPos(_swigobj,_swigarg0) (_swigobj->GotoPos(_swigarg0)) |
909 | static PyObject *_wrap_wxStyledTextCtrl_GotoPos(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 BP |
910 | PyObject * _resultobj; |
911 | wxStyledTextCtrl * _arg0; | |
fe47ec10 | 912 | int _arg1; |
f6bcfd97 | 913 | PyObject * _argo0 = 0; |
fe47ec10 | 914 | char *_kwnames[] = { "self","pos", NULL }; |
f6bcfd97 BP |
915 | |
916 | self = self; | |
fe47ec10 | 917 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_GotoPos",_kwnames,&_argo0,&_arg1)) |
f6bcfd97 BP |
918 | return NULL; |
919 | if (_argo0) { | |
920 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
921 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 922 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GotoPos. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
923 | return NULL; |
924 | } | |
925 | } | |
926 | { | |
927 | wxPy_BEGIN_ALLOW_THREADS; | |
fe47ec10 | 928 | wxStyledTextCtrl_GotoPos(_arg0,_arg1); |
f6bcfd97 BP |
929 | |
930 | wxPy_END_ALLOW_THREADS; | |
931 | } Py_INCREF(Py_None); | |
932 | _resultobj = Py_None; | |
933 | return _resultobj; | |
934 | } | |
935 | ||
fe47ec10 RD |
936 | #define wxStyledTextCtrl_SetAnchor(_swigobj,_swigarg0) (_swigobj->SetAnchor(_swigarg0)) |
937 | static PyObject *_wrap_wxStyledTextCtrl_SetAnchor(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 BP |
938 | PyObject * _resultobj; |
939 | wxStyledTextCtrl * _arg0; | |
fe47ec10 | 940 | int _arg1; |
f6bcfd97 | 941 | PyObject * _argo0 = 0; |
fe47ec10 | 942 | char *_kwnames[] = { "self","posAnchor", NULL }; |
f6bcfd97 BP |
943 | |
944 | self = self; | |
fe47ec10 | 945 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_SetAnchor",_kwnames,&_argo0,&_arg1)) |
f6bcfd97 BP |
946 | return NULL; |
947 | if (_argo0) { | |
948 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
949 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 950 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetAnchor. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
951 | return NULL; |
952 | } | |
953 | } | |
954 | { | |
955 | wxPy_BEGIN_ALLOW_THREADS; | |
fe47ec10 | 956 | wxStyledTextCtrl_SetAnchor(_arg0,_arg1); |
f6bcfd97 BP |
957 | |
958 | wxPy_END_ALLOW_THREADS; | |
959 | } Py_INCREF(Py_None); | |
960 | _resultobj = Py_None; | |
961 | return _resultobj; | |
962 | } | |
963 | ||
fe47ec10 RD |
964 | #define wxStyledTextCtrl_GetCurLine(_swigobj,_swigarg0) (_swigobj->GetCurLine(_swigarg0)) |
965 | static PyObject *_wrap_wxStyledTextCtrl_GetCurLine(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 | 966 | PyObject * _resultobj; |
fe47ec10 | 967 | wxString * _result; |
f6bcfd97 | 968 | wxStyledTextCtrl * _arg0; |
fe47ec10 RD |
969 | int * _arg1 = (int *) NULL; |
970 | int temp; | |
f6bcfd97 BP |
971 | PyObject * _argo0 = 0; |
972 | char *_kwnames[] = { "self", NULL }; | |
973 | ||
974 | self = self; | |
fe47ec10 RD |
975 | { |
976 | _arg1 = &temp; | |
977 | } | |
978 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetCurLine",_kwnames,&_argo0)) | |
f6bcfd97 BP |
979 | return NULL; |
980 | if (_argo0) { | |
981 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
982 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 983 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetCurLine. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
984 | return NULL; |
985 | } | |
986 | } | |
987 | { | |
988 | wxPy_BEGIN_ALLOW_THREADS; | |
fe47ec10 | 989 | _result = new wxString (wxStyledTextCtrl_GetCurLine(_arg0,_arg1)); |
f6bcfd97 BP |
990 | |
991 | wxPy_END_ALLOW_THREADS; | |
fe47ec10 RD |
992 | }{ |
993 | _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len()); | |
994 | } | |
995 | { | |
996 | PyObject *o; | |
997 | o = PyInt_FromLong((long) (*_arg1)); | |
998 | _resultobj = t_output_helper(_resultobj, o); | |
999 | } | |
1000 | { | |
1001 | delete _result; | |
1002 | } | |
f6bcfd97 BP |
1003 | return _resultobj; |
1004 | } | |
1005 | ||
fe47ec10 RD |
1006 | #define wxStyledTextCtrl_GetEndStyled(_swigobj) (_swigobj->GetEndStyled()) |
1007 | static PyObject *_wrap_wxStyledTextCtrl_GetEndStyled(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 | 1008 | PyObject * _resultobj; |
fe47ec10 | 1009 | int _result; |
f6bcfd97 | 1010 | wxStyledTextCtrl * _arg0; |
f6bcfd97 | 1011 | PyObject * _argo0 = 0; |
fe47ec10 | 1012 | char *_kwnames[] = { "self", NULL }; |
f6bcfd97 BP |
1013 | |
1014 | self = self; | |
fe47ec10 | 1015 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetEndStyled",_kwnames,&_argo0)) |
f6bcfd97 BP |
1016 | return NULL; |
1017 | if (_argo0) { | |
1018 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1019 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 1020 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetEndStyled. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
1021 | return NULL; |
1022 | } | |
1023 | } | |
1024 | { | |
1025 | wxPy_BEGIN_ALLOW_THREADS; | |
fe47ec10 | 1026 | _result = (int )wxStyledTextCtrl_GetEndStyled(_arg0); |
f6bcfd97 BP |
1027 | |
1028 | wxPy_END_ALLOW_THREADS; | |
fe47ec10 | 1029 | } _resultobj = Py_BuildValue("i",_result); |
f6bcfd97 BP |
1030 | return _resultobj; |
1031 | } | |
1032 | ||
fe47ec10 RD |
1033 | #define wxStyledTextCtrl_ConvertEOLs(_swigobj) (_swigobj->ConvertEOLs()) |
1034 | static PyObject *_wrap_wxStyledTextCtrl_ConvertEOLs(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 | 1035 | PyObject * _resultobj; |
f6bcfd97 BP |
1036 | wxStyledTextCtrl * _arg0; |
1037 | PyObject * _argo0 = 0; | |
1038 | char *_kwnames[] = { "self", NULL }; | |
1039 | ||
1040 | self = self; | |
fe47ec10 | 1041 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_ConvertEOLs",_kwnames,&_argo0)) |
f6bcfd97 BP |
1042 | return NULL; |
1043 | if (_argo0) { | |
1044 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1045 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 1046 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_ConvertEOLs. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
1047 | return NULL; |
1048 | } | |
1049 | } | |
1050 | { | |
1051 | wxPy_BEGIN_ALLOW_THREADS; | |
fe47ec10 | 1052 | wxStyledTextCtrl_ConvertEOLs(_arg0); |
f6bcfd97 BP |
1053 | |
1054 | wxPy_END_ALLOW_THREADS; | |
fe47ec10 RD |
1055 | } Py_INCREF(Py_None); |
1056 | _resultobj = Py_None; | |
f6bcfd97 BP |
1057 | return _resultobj; |
1058 | } | |
1059 | ||
fe47ec10 RD |
1060 | #define wxStyledTextCtrl_GetEOLMode(_swigobj) (_swigobj->GetEOLMode()) |
1061 | static PyObject *_wrap_wxStyledTextCtrl_GetEOLMode(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 | 1062 | PyObject * _resultobj; |
fe47ec10 | 1063 | int _result; |
f6bcfd97 BP |
1064 | wxStyledTextCtrl * _arg0; |
1065 | PyObject * _argo0 = 0; | |
1066 | char *_kwnames[] = { "self", NULL }; | |
1067 | ||
1068 | self = self; | |
fe47ec10 | 1069 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetEOLMode",_kwnames,&_argo0)) |
f6bcfd97 BP |
1070 | return NULL; |
1071 | if (_argo0) { | |
1072 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1073 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 1074 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetEOLMode. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
1075 | return NULL; |
1076 | } | |
1077 | } | |
1078 | { | |
1079 | wxPy_BEGIN_ALLOW_THREADS; | |
fe47ec10 | 1080 | _result = (int )wxStyledTextCtrl_GetEOLMode(_arg0); |
f6bcfd97 BP |
1081 | |
1082 | wxPy_END_ALLOW_THREADS; | |
fe47ec10 | 1083 | } _resultobj = Py_BuildValue("i",_result); |
f6bcfd97 BP |
1084 | return _resultobj; |
1085 | } | |
1086 | ||
fe47ec10 RD |
1087 | #define wxStyledTextCtrl_SetEOLMode(_swigobj,_swigarg0) (_swigobj->SetEOLMode(_swigarg0)) |
1088 | static PyObject *_wrap_wxStyledTextCtrl_SetEOLMode(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 BP |
1089 | PyObject * _resultobj; |
1090 | wxStyledTextCtrl * _arg0; | |
fe47ec10 | 1091 | int _arg1; |
f6bcfd97 | 1092 | PyObject * _argo0 = 0; |
fe47ec10 | 1093 | char *_kwnames[] = { "self","eolMode", NULL }; |
f6bcfd97 BP |
1094 | |
1095 | self = self; | |
fe47ec10 | 1096 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_SetEOLMode",_kwnames,&_argo0,&_arg1)) |
f6bcfd97 BP |
1097 | return NULL; |
1098 | if (_argo0) { | |
1099 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1100 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 1101 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetEOLMode. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
1102 | return NULL; |
1103 | } | |
1104 | } | |
1105 | { | |
1106 | wxPy_BEGIN_ALLOW_THREADS; | |
fe47ec10 | 1107 | wxStyledTextCtrl_SetEOLMode(_arg0,_arg1); |
f6bcfd97 BP |
1108 | |
1109 | wxPy_END_ALLOW_THREADS; | |
1110 | } Py_INCREF(Py_None); | |
1111 | _resultobj = Py_None; | |
1112 | return _resultobj; | |
1113 | } | |
1114 | ||
fe47ec10 RD |
1115 | #define wxStyledTextCtrl_StartStyling(_swigobj,_swigarg0,_swigarg1) (_swigobj->StartStyling(_swigarg0,_swigarg1)) |
1116 | static PyObject *_wrap_wxStyledTextCtrl_StartStyling(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 BP |
1117 | PyObject * _resultobj; |
1118 | wxStyledTextCtrl * _arg0; | |
fe47ec10 RD |
1119 | int _arg1; |
1120 | int _arg2; | |
f6bcfd97 | 1121 | PyObject * _argo0 = 0; |
fe47ec10 | 1122 | char *_kwnames[] = { "self","pos","mask", NULL }; |
f6bcfd97 BP |
1123 | |
1124 | self = self; | |
fe47ec10 | 1125 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxStyledTextCtrl_StartStyling",_kwnames,&_argo0,&_arg1,&_arg2)) |
f6bcfd97 BP |
1126 | return NULL; |
1127 | if (_argo0) { | |
1128 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1129 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 1130 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_StartStyling. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
1131 | return NULL; |
1132 | } | |
1133 | } | |
1134 | { | |
1135 | wxPy_BEGIN_ALLOW_THREADS; | |
fe47ec10 | 1136 | wxStyledTextCtrl_StartStyling(_arg0,_arg1,_arg2); |
f6bcfd97 BP |
1137 | |
1138 | wxPy_END_ALLOW_THREADS; | |
1139 | } Py_INCREF(Py_None); | |
1140 | _resultobj = Py_None; | |
f6bcfd97 BP |
1141 | return _resultobj; |
1142 | } | |
1143 | ||
fe47ec10 RD |
1144 | #define wxStyledTextCtrl_SetStyling(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetStyling(_swigarg0,_swigarg1)) |
1145 | static PyObject *_wrap_wxStyledTextCtrl_SetStyling(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 BP |
1146 | PyObject * _resultobj; |
1147 | wxStyledTextCtrl * _arg0; | |
1148 | int _arg1; | |
1149 | int _arg2; | |
1150 | PyObject * _argo0 = 0; | |
fe47ec10 | 1151 | char *_kwnames[] = { "self","length","style", NULL }; |
f6bcfd97 BP |
1152 | |
1153 | self = self; | |
fe47ec10 | 1154 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxStyledTextCtrl_SetStyling",_kwnames,&_argo0,&_arg1,&_arg2)) |
f6bcfd97 BP |
1155 | return NULL; |
1156 | if (_argo0) { | |
1157 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1158 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 1159 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetStyling. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
1160 | return NULL; |
1161 | } | |
1162 | } | |
1163 | { | |
1164 | wxPy_BEGIN_ALLOW_THREADS; | |
fe47ec10 | 1165 | wxStyledTextCtrl_SetStyling(_arg0,_arg1,_arg2); |
f6bcfd97 BP |
1166 | |
1167 | wxPy_END_ALLOW_THREADS; | |
1168 | } Py_INCREF(Py_None); | |
1169 | _resultobj = Py_None; | |
1170 | return _resultobj; | |
1171 | } | |
1172 | ||
fe47ec10 RD |
1173 | #define wxStyledTextCtrl_GetBufferedDraw(_swigobj) (_swigobj->GetBufferedDraw()) |
1174 | static PyObject *_wrap_wxStyledTextCtrl_GetBufferedDraw(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 | 1175 | PyObject * _resultobj; |
fe47ec10 | 1176 | bool _result; |
f6bcfd97 BP |
1177 | wxStyledTextCtrl * _arg0; |
1178 | PyObject * _argo0 = 0; | |
1179 | char *_kwnames[] = { "self", NULL }; | |
1180 | ||
1181 | self = self; | |
fe47ec10 | 1182 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetBufferedDraw",_kwnames,&_argo0)) |
f6bcfd97 BP |
1183 | return NULL; |
1184 | if (_argo0) { | |
1185 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1186 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 1187 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetBufferedDraw. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
1188 | return NULL; |
1189 | } | |
1190 | } | |
1191 | { | |
1192 | wxPy_BEGIN_ALLOW_THREADS; | |
fe47ec10 | 1193 | _result = (bool )wxStyledTextCtrl_GetBufferedDraw(_arg0); |
f6bcfd97 BP |
1194 | |
1195 | wxPy_END_ALLOW_THREADS; | |
fe47ec10 | 1196 | } _resultobj = Py_BuildValue("i",_result); |
f6bcfd97 BP |
1197 | return _resultobj; |
1198 | } | |
1199 | ||
fe47ec10 RD |
1200 | #define wxStyledTextCtrl_SetBufferedDraw(_swigobj,_swigarg0) (_swigobj->SetBufferedDraw(_swigarg0)) |
1201 | static PyObject *_wrap_wxStyledTextCtrl_SetBufferedDraw(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 BP |
1202 | PyObject * _resultobj; |
1203 | wxStyledTextCtrl * _arg0; | |
1204 | bool _arg1; | |
1205 | PyObject * _argo0 = 0; | |
1206 | int tempbool1; | |
fe47ec10 | 1207 | char *_kwnames[] = { "self","buffered", NULL }; |
f6bcfd97 BP |
1208 | |
1209 | self = self; | |
fe47ec10 | 1210 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_SetBufferedDraw",_kwnames,&_argo0,&tempbool1)) |
f6bcfd97 BP |
1211 | return NULL; |
1212 | if (_argo0) { | |
1213 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1214 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 1215 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetBufferedDraw. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
1216 | return NULL; |
1217 | } | |
1218 | } | |
1219 | _arg1 = (bool ) tempbool1; | |
1220 | { | |
1221 | wxPy_BEGIN_ALLOW_THREADS; | |
fe47ec10 | 1222 | wxStyledTextCtrl_SetBufferedDraw(_arg0,_arg1); |
f6bcfd97 BP |
1223 | |
1224 | wxPy_END_ALLOW_THREADS; | |
1225 | } Py_INCREF(Py_None); | |
1226 | _resultobj = Py_None; | |
1227 | return _resultobj; | |
1228 | } | |
1229 | ||
fe47ec10 RD |
1230 | #define wxStyledTextCtrl_SetTabWidth(_swigobj,_swigarg0) (_swigobj->SetTabWidth(_swigarg0)) |
1231 | static PyObject *_wrap_wxStyledTextCtrl_SetTabWidth(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 | 1232 | PyObject * _resultobj; |
f6bcfd97 | 1233 | wxStyledTextCtrl * _arg0; |
fe47ec10 | 1234 | int _arg1; |
f6bcfd97 | 1235 | PyObject * _argo0 = 0; |
fe47ec10 | 1236 | char *_kwnames[] = { "self","tabWidth", NULL }; |
f6bcfd97 BP |
1237 | |
1238 | self = self; | |
fe47ec10 | 1239 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_SetTabWidth",_kwnames,&_argo0,&_arg1)) |
f6bcfd97 BP |
1240 | return NULL; |
1241 | if (_argo0) { | |
1242 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1243 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 1244 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetTabWidth. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
1245 | return NULL; |
1246 | } | |
1247 | } | |
1248 | { | |
1249 | wxPy_BEGIN_ALLOW_THREADS; | |
fe47ec10 | 1250 | wxStyledTextCtrl_SetTabWidth(_arg0,_arg1); |
f6bcfd97 BP |
1251 | |
1252 | wxPy_END_ALLOW_THREADS; | |
fe47ec10 RD |
1253 | } Py_INCREF(Py_None); |
1254 | _resultobj = Py_None; | |
f6bcfd97 BP |
1255 | return _resultobj; |
1256 | } | |
1257 | ||
fe47ec10 RD |
1258 | #define wxStyledTextCtrl_GetTabWidth(_swigobj) (_swigobj->GetTabWidth()) |
1259 | static PyObject *_wrap_wxStyledTextCtrl_GetTabWidth(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 BP |
1260 | PyObject * _resultobj; |
1261 | int _result; | |
1262 | wxStyledTextCtrl * _arg0; | |
1263 | PyObject * _argo0 = 0; | |
1264 | char *_kwnames[] = { "self", NULL }; | |
1265 | ||
1266 | self = self; | |
fe47ec10 | 1267 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetTabWidth",_kwnames,&_argo0)) |
f6bcfd97 BP |
1268 | return NULL; |
1269 | if (_argo0) { | |
1270 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1271 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 1272 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetTabWidth. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
1273 | return NULL; |
1274 | } | |
1275 | } | |
1276 | { | |
1277 | wxPy_BEGIN_ALLOW_THREADS; | |
fe47ec10 | 1278 | _result = (int )wxStyledTextCtrl_GetTabWidth(_arg0); |
f6bcfd97 BP |
1279 | |
1280 | wxPy_END_ALLOW_THREADS; | |
1281 | } _resultobj = Py_BuildValue("i",_result); | |
1282 | return _resultobj; | |
1283 | } | |
1284 | ||
fe47ec10 RD |
1285 | #define wxStyledTextCtrl_SetCodePage(_swigobj,_swigarg0) (_swigobj->SetCodePage(_swigarg0)) |
1286 | static PyObject *_wrap_wxStyledTextCtrl_SetCodePage(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 | 1287 | PyObject * _resultobj; |
f6bcfd97 | 1288 | wxStyledTextCtrl * _arg0; |
fe47ec10 | 1289 | int _arg1; |
f6bcfd97 | 1290 | PyObject * _argo0 = 0; |
fe47ec10 | 1291 | char *_kwnames[] = { "self","codePage", NULL }; |
f6bcfd97 BP |
1292 | |
1293 | self = self; | |
fe47ec10 | 1294 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_SetCodePage",_kwnames,&_argo0,&_arg1)) |
f6bcfd97 BP |
1295 | return NULL; |
1296 | if (_argo0) { | |
1297 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1298 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 1299 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetCodePage. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
1300 | return NULL; |
1301 | } | |
1302 | } | |
1303 | { | |
1304 | wxPy_BEGIN_ALLOW_THREADS; | |
fe47ec10 | 1305 | wxStyledTextCtrl_SetCodePage(_arg0,_arg1); |
f6bcfd97 BP |
1306 | |
1307 | wxPy_END_ALLOW_THREADS; | |
fe47ec10 RD |
1308 | } Py_INCREF(Py_None); |
1309 | _resultobj = Py_None; | |
f6bcfd97 BP |
1310 | return _resultobj; |
1311 | } | |
1312 | ||
fe47ec10 RD |
1313 | #define wxStyledTextCtrl_MarkerDefine(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->MarkerDefine(_swigarg0,_swigarg1,_swigarg2,_swigarg3)) |
1314 | static PyObject *_wrap_wxStyledTextCtrl_MarkerDefine(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 | 1315 | PyObject * _resultobj; |
f6bcfd97 | 1316 | wxStyledTextCtrl * _arg0; |
fe47ec10 RD |
1317 | int _arg1; |
1318 | int _arg2; | |
1319 | wxColour * _arg3 = (wxColour *) &wxNullColour; | |
1320 | wxColour * _arg4 = (wxColour *) &wxNullColour; | |
f6bcfd97 | 1321 | PyObject * _argo0 = 0; |
fe47ec10 RD |
1322 | wxColour temp; |
1323 | PyObject * _obj3 = 0; | |
1324 | wxColour temp0; | |
1325 | PyObject * _obj4 = 0; | |
1326 | char *_kwnames[] = { "self","markerNumber","markerSymbol","foreground","background", NULL }; | |
f6bcfd97 BP |
1327 | |
1328 | self = self; | |
fe47ec10 | 1329 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii|OO:wxStyledTextCtrl_MarkerDefine",_kwnames,&_argo0,&_arg1,&_arg2,&_obj3,&_obj4)) |
f6bcfd97 BP |
1330 | return NULL; |
1331 | if (_argo0) { | |
1332 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1333 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 1334 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_MarkerDefine. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
1335 | return NULL; |
1336 | } | |
1337 | } | |
fe47ec10 RD |
1338 | if (_obj3) |
1339 | { | |
1340 | _arg3 = &temp; | |
1341 | if (! wxColour_helper(_obj3, &_arg3)) | |
1342 | return NULL; | |
1343 | } | |
1344 | if (_obj4) | |
1345 | { | |
1346 | _arg4 = &temp0; | |
1347 | if (! wxColour_helper(_obj4, &_arg4)) | |
1348 | return NULL; | |
1349 | } | |
f6bcfd97 BP |
1350 | { |
1351 | wxPy_BEGIN_ALLOW_THREADS; | |
fe47ec10 | 1352 | wxStyledTextCtrl_MarkerDefine(_arg0,_arg1,_arg2,*_arg3,*_arg4); |
f6bcfd97 BP |
1353 | |
1354 | wxPy_END_ALLOW_THREADS; | |
fe47ec10 RD |
1355 | } Py_INCREF(Py_None); |
1356 | _resultobj = Py_None; | |
f6bcfd97 BP |
1357 | return _resultobj; |
1358 | } | |
1359 | ||
fe47ec10 RD |
1360 | #define wxStyledTextCtrl_MarkerSetForeground(_swigobj,_swigarg0,_swigarg1) (_swigobj->MarkerSetForeground(_swigarg0,_swigarg1)) |
1361 | static PyObject *_wrap_wxStyledTextCtrl_MarkerSetForeground(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 | 1362 | PyObject * _resultobj; |
f6bcfd97 | 1363 | wxStyledTextCtrl * _arg0; |
fe47ec10 RD |
1364 | int _arg1; |
1365 | wxColour * _arg2; | |
f6bcfd97 | 1366 | PyObject * _argo0 = 0; |
fe47ec10 RD |
1367 | wxColour temp; |
1368 | PyObject * _obj2 = 0; | |
1369 | char *_kwnames[] = { "self","markerNumber","fore", NULL }; | |
f6bcfd97 BP |
1370 | |
1371 | self = self; | |
fe47ec10 | 1372 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxStyledTextCtrl_MarkerSetForeground",_kwnames,&_argo0,&_arg1,&_obj2)) |
f6bcfd97 BP |
1373 | return NULL; |
1374 | if (_argo0) { | |
1375 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1376 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 1377 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_MarkerSetForeground. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
1378 | return NULL; |
1379 | } | |
1380 | } | |
fe47ec10 RD |
1381 | { |
1382 | _arg2 = &temp; | |
1383 | if (! wxColour_helper(_obj2, &_arg2)) | |
1384 | return NULL; | |
1385 | } | |
f6bcfd97 BP |
1386 | { |
1387 | wxPy_BEGIN_ALLOW_THREADS; | |
fe47ec10 | 1388 | wxStyledTextCtrl_MarkerSetForeground(_arg0,_arg1,*_arg2); |
f6bcfd97 BP |
1389 | |
1390 | wxPy_END_ALLOW_THREADS; | |
fe47ec10 RD |
1391 | } Py_INCREF(Py_None); |
1392 | _resultobj = Py_None; | |
f6bcfd97 BP |
1393 | return _resultobj; |
1394 | } | |
1395 | ||
fe47ec10 RD |
1396 | #define wxStyledTextCtrl_MarkerSetBackground(_swigobj,_swigarg0,_swigarg1) (_swigobj->MarkerSetBackground(_swigarg0,_swigarg1)) |
1397 | static PyObject *_wrap_wxStyledTextCtrl_MarkerSetBackground(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 | 1398 | PyObject * _resultobj; |
f6bcfd97 | 1399 | wxStyledTextCtrl * _arg0; |
fe47ec10 RD |
1400 | int _arg1; |
1401 | wxColour * _arg2; | |
f6bcfd97 | 1402 | PyObject * _argo0 = 0; |
fe47ec10 RD |
1403 | wxColour temp; |
1404 | PyObject * _obj2 = 0; | |
1405 | char *_kwnames[] = { "self","markerNumber","back", NULL }; | |
f6bcfd97 BP |
1406 | |
1407 | self = self; | |
fe47ec10 | 1408 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxStyledTextCtrl_MarkerSetBackground",_kwnames,&_argo0,&_arg1,&_obj2)) |
f6bcfd97 BP |
1409 | return NULL; |
1410 | if (_argo0) { | |
1411 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1412 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 1413 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_MarkerSetBackground. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
1414 | return NULL; |
1415 | } | |
1416 | } | |
fe47ec10 RD |
1417 | { |
1418 | _arg2 = &temp; | |
1419 | if (! wxColour_helper(_obj2, &_arg2)) | |
1420 | return NULL; | |
1421 | } | |
f6bcfd97 BP |
1422 | { |
1423 | wxPy_BEGIN_ALLOW_THREADS; | |
fe47ec10 | 1424 | wxStyledTextCtrl_MarkerSetBackground(_arg0,_arg1,*_arg2); |
f6bcfd97 BP |
1425 | |
1426 | wxPy_END_ALLOW_THREADS; | |
fe47ec10 RD |
1427 | } Py_INCREF(Py_None); |
1428 | _resultobj = Py_None; | |
f6bcfd97 BP |
1429 | return _resultobj; |
1430 | } | |
1431 | ||
fe47ec10 RD |
1432 | #define wxStyledTextCtrl_MarkerAdd(_swigobj,_swigarg0,_swigarg1) (_swigobj->MarkerAdd(_swigarg0,_swigarg1)) |
1433 | static PyObject *_wrap_wxStyledTextCtrl_MarkerAdd(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 | 1434 | PyObject * _resultobj; |
f6bcfd97 BP |
1435 | wxStyledTextCtrl * _arg0; |
1436 | int _arg1; | |
fe47ec10 | 1437 | int _arg2; |
f6bcfd97 | 1438 | PyObject * _argo0 = 0; |
fe47ec10 | 1439 | char *_kwnames[] = { "self","line","markerNumber", NULL }; |
f6bcfd97 BP |
1440 | |
1441 | self = self; | |
fe47ec10 | 1442 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxStyledTextCtrl_MarkerAdd",_kwnames,&_argo0,&_arg1,&_arg2)) |
f6bcfd97 BP |
1443 | return NULL; |
1444 | if (_argo0) { | |
1445 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1446 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 1447 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_MarkerAdd. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
1448 | return NULL; |
1449 | } | |
1450 | } | |
1451 | { | |
1452 | wxPy_BEGIN_ALLOW_THREADS; | |
fe47ec10 | 1453 | wxStyledTextCtrl_MarkerAdd(_arg0,_arg1,_arg2); |
f6bcfd97 BP |
1454 | |
1455 | wxPy_END_ALLOW_THREADS; | |
fe47ec10 RD |
1456 | } Py_INCREF(Py_None); |
1457 | _resultobj = Py_None; | |
f6bcfd97 BP |
1458 | return _resultobj; |
1459 | } | |
1460 | ||
fe47ec10 RD |
1461 | #define wxStyledTextCtrl_MarkerDelete(_swigobj,_swigarg0,_swigarg1) (_swigobj->MarkerDelete(_swigarg0,_swigarg1)) |
1462 | static PyObject *_wrap_wxStyledTextCtrl_MarkerDelete(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 | 1463 | PyObject * _resultobj; |
f6bcfd97 BP |
1464 | wxStyledTextCtrl * _arg0; |
1465 | int _arg1; | |
fe47ec10 | 1466 | int _arg2; |
f6bcfd97 | 1467 | PyObject * _argo0 = 0; |
fe47ec10 | 1468 | char *_kwnames[] = { "self","line","markerNumber", NULL }; |
f6bcfd97 BP |
1469 | |
1470 | self = self; | |
fe47ec10 | 1471 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxStyledTextCtrl_MarkerDelete",_kwnames,&_argo0,&_arg1,&_arg2)) |
f6bcfd97 BP |
1472 | return NULL; |
1473 | if (_argo0) { | |
1474 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1475 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 1476 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_MarkerDelete. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
1477 | return NULL; |
1478 | } | |
1479 | } | |
1480 | { | |
1481 | wxPy_BEGIN_ALLOW_THREADS; | |
fe47ec10 | 1482 | wxStyledTextCtrl_MarkerDelete(_arg0,_arg1,_arg2); |
f6bcfd97 BP |
1483 | |
1484 | wxPy_END_ALLOW_THREADS; | |
fe47ec10 RD |
1485 | } Py_INCREF(Py_None); |
1486 | _resultobj = Py_None; | |
f6bcfd97 BP |
1487 | return _resultobj; |
1488 | } | |
1489 | ||
fe47ec10 RD |
1490 | #define wxStyledTextCtrl_MarkerDeleteAll(_swigobj,_swigarg0) (_swigobj->MarkerDeleteAll(_swigarg0)) |
1491 | static PyObject *_wrap_wxStyledTextCtrl_MarkerDeleteAll(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 | 1492 | PyObject * _resultobj; |
f6bcfd97 BP |
1493 | wxStyledTextCtrl * _arg0; |
1494 | int _arg1; | |
1495 | PyObject * _argo0 = 0; | |
fe47ec10 | 1496 | char *_kwnames[] = { "self","markerNumber", NULL }; |
f6bcfd97 BP |
1497 | |
1498 | self = self; | |
fe47ec10 | 1499 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_MarkerDeleteAll",_kwnames,&_argo0,&_arg1)) |
f6bcfd97 BP |
1500 | return NULL; |
1501 | if (_argo0) { | |
1502 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1503 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 1504 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_MarkerDeleteAll. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
1505 | return NULL; |
1506 | } | |
1507 | } | |
1508 | { | |
1509 | wxPy_BEGIN_ALLOW_THREADS; | |
fe47ec10 | 1510 | wxStyledTextCtrl_MarkerDeleteAll(_arg0,_arg1); |
f6bcfd97 BP |
1511 | |
1512 | wxPy_END_ALLOW_THREADS; | |
fe47ec10 RD |
1513 | } Py_INCREF(Py_None); |
1514 | _resultobj = Py_None; | |
f6bcfd97 BP |
1515 | return _resultobj; |
1516 | } | |
1517 | ||
fe47ec10 RD |
1518 | #define wxStyledTextCtrl_MarkerGet(_swigobj,_swigarg0) (_swigobj->MarkerGet(_swigarg0)) |
1519 | static PyObject *_wrap_wxStyledTextCtrl_MarkerGet(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 BP |
1520 | PyObject * _resultobj; |
1521 | int _result; | |
1522 | wxStyledTextCtrl * _arg0; | |
1523 | int _arg1; | |
1524 | PyObject * _argo0 = 0; | |
1525 | char *_kwnames[] = { "self","line", NULL }; | |
1526 | ||
1527 | self = self; | |
fe47ec10 | 1528 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_MarkerGet",_kwnames,&_argo0,&_arg1)) |
f6bcfd97 BP |
1529 | return NULL; |
1530 | if (_argo0) { | |
1531 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1532 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 1533 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_MarkerGet. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
1534 | return NULL; |
1535 | } | |
1536 | } | |
1537 | { | |
1538 | wxPy_BEGIN_ALLOW_THREADS; | |
fe47ec10 | 1539 | _result = (int )wxStyledTextCtrl_MarkerGet(_arg0,_arg1); |
f6bcfd97 BP |
1540 | |
1541 | wxPy_END_ALLOW_THREADS; | |
1542 | } _resultobj = Py_BuildValue("i",_result); | |
1543 | return _resultobj; | |
1544 | } | |
1545 | ||
fe47ec10 RD |
1546 | #define wxStyledTextCtrl_MarkerNext(_swigobj,_swigarg0,_swigarg1) (_swigobj->MarkerNext(_swigarg0,_swigarg1)) |
1547 | static PyObject *_wrap_wxStyledTextCtrl_MarkerNext(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 | 1548 | PyObject * _resultobj; |
fe47ec10 | 1549 | int _result; |
f6bcfd97 | 1550 | wxStyledTextCtrl * _arg0; |
fe47ec10 RD |
1551 | int _arg1; |
1552 | int _arg2; | |
f6bcfd97 | 1553 | PyObject * _argo0 = 0; |
fe47ec10 | 1554 | char *_kwnames[] = { "self","lineStart","markerMask", NULL }; |
f6bcfd97 BP |
1555 | |
1556 | self = self; | |
fe47ec10 | 1557 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxStyledTextCtrl_MarkerNext",_kwnames,&_argo0,&_arg1,&_arg2)) |
f6bcfd97 BP |
1558 | return NULL; |
1559 | if (_argo0) { | |
1560 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1561 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 1562 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_MarkerNext. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
1563 | return NULL; |
1564 | } | |
1565 | } | |
1566 | { | |
1567 | wxPy_BEGIN_ALLOW_THREADS; | |
fe47ec10 | 1568 | _result = (int )wxStyledTextCtrl_MarkerNext(_arg0,_arg1,_arg2); |
f6bcfd97 BP |
1569 | |
1570 | wxPy_END_ALLOW_THREADS; | |
fe47ec10 | 1571 | } _resultobj = Py_BuildValue("i",_result); |
f6bcfd97 BP |
1572 | return _resultobj; |
1573 | } | |
1574 | ||
fe47ec10 RD |
1575 | #define wxStyledTextCtrl_MarkerPrevious(_swigobj,_swigarg0,_swigarg1) (_swigobj->MarkerPrevious(_swigarg0,_swigarg1)) |
1576 | static PyObject *_wrap_wxStyledTextCtrl_MarkerPrevious(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 BP |
1577 | PyObject * _resultobj; |
1578 | int _result; | |
1579 | wxStyledTextCtrl * _arg0; | |
fe47ec10 RD |
1580 | int _arg1; |
1581 | int _arg2; | |
f6bcfd97 | 1582 | PyObject * _argo0 = 0; |
fe47ec10 | 1583 | char *_kwnames[] = { "self","lineStart","markerMask", NULL }; |
f6bcfd97 BP |
1584 | |
1585 | self = self; | |
fe47ec10 | 1586 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxStyledTextCtrl_MarkerPrevious",_kwnames,&_argo0,&_arg1,&_arg2)) |
f6bcfd97 BP |
1587 | return NULL; |
1588 | if (_argo0) { | |
1589 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1590 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 1591 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_MarkerPrevious. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
1592 | return NULL; |
1593 | } | |
1594 | } | |
1595 | { | |
1596 | wxPy_BEGIN_ALLOW_THREADS; | |
fe47ec10 | 1597 | _result = (int )wxStyledTextCtrl_MarkerPrevious(_arg0,_arg1,_arg2); |
f6bcfd97 BP |
1598 | |
1599 | wxPy_END_ALLOW_THREADS; | |
1600 | } _resultobj = Py_BuildValue("i",_result); | |
1601 | return _resultobj; | |
1602 | } | |
1603 | ||
fe47ec10 RD |
1604 | #define wxStyledTextCtrl_SetMarginType(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetMarginType(_swigarg0,_swigarg1)) |
1605 | static PyObject *_wrap_wxStyledTextCtrl_SetMarginType(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 | 1606 | PyObject * _resultobj; |
f6bcfd97 | 1607 | wxStyledTextCtrl * _arg0; |
fe47ec10 RD |
1608 | int _arg1; |
1609 | int _arg2; | |
f6bcfd97 | 1610 | PyObject * _argo0 = 0; |
fe47ec10 | 1611 | char *_kwnames[] = { "self","margin","marginType", NULL }; |
f6bcfd97 BP |
1612 | |
1613 | self = self; | |
fe47ec10 | 1614 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxStyledTextCtrl_SetMarginType",_kwnames,&_argo0,&_arg1,&_arg2)) |
f6bcfd97 BP |
1615 | return NULL; |
1616 | if (_argo0) { | |
1617 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1618 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 1619 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetMarginType. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
1620 | return NULL; |
1621 | } | |
1622 | } | |
f6bcfd97 BP |
1623 | { |
1624 | wxPy_BEGIN_ALLOW_THREADS; | |
fe47ec10 | 1625 | wxStyledTextCtrl_SetMarginType(_arg0,_arg1,_arg2); |
f6bcfd97 BP |
1626 | |
1627 | wxPy_END_ALLOW_THREADS; | |
fe47ec10 RD |
1628 | } Py_INCREF(Py_None); |
1629 | _resultobj = Py_None; | |
f6bcfd97 BP |
1630 | return _resultobj; |
1631 | } | |
1632 | ||
fe47ec10 RD |
1633 | #define wxStyledTextCtrl_GetMarginType(_swigobj,_swigarg0) (_swigobj->GetMarginType(_swigarg0)) |
1634 | static PyObject *_wrap_wxStyledTextCtrl_GetMarginType(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 BP |
1635 | PyObject * _resultobj; |
1636 | int _result; | |
1637 | wxStyledTextCtrl * _arg0; | |
fe47ec10 | 1638 | int _arg1; |
f6bcfd97 | 1639 | PyObject * _argo0 = 0; |
fe47ec10 | 1640 | char *_kwnames[] = { "self","margin", NULL }; |
f6bcfd97 BP |
1641 | |
1642 | self = self; | |
fe47ec10 | 1643 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_GetMarginType",_kwnames,&_argo0,&_arg1)) |
f6bcfd97 BP |
1644 | return NULL; |
1645 | if (_argo0) { | |
1646 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1647 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 1648 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetMarginType. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
1649 | return NULL; |
1650 | } | |
1651 | } | |
f6bcfd97 BP |
1652 | { |
1653 | wxPy_BEGIN_ALLOW_THREADS; | |
fe47ec10 | 1654 | _result = (int )wxStyledTextCtrl_GetMarginType(_arg0,_arg1); |
f6bcfd97 BP |
1655 | |
1656 | wxPy_END_ALLOW_THREADS; | |
1657 | } _resultobj = Py_BuildValue("i",_result); | |
1658 | return _resultobj; | |
1659 | } | |
1660 | ||
fe47ec10 RD |
1661 | #define wxStyledTextCtrl_SetMarginWidth(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetMarginWidth(_swigarg0,_swigarg1)) |
1662 | static PyObject *_wrap_wxStyledTextCtrl_SetMarginWidth(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 | 1663 | PyObject * _resultobj; |
f6bcfd97 BP |
1664 | wxStyledTextCtrl * _arg0; |
1665 | int _arg1; | |
fe47ec10 | 1666 | int _arg2; |
f6bcfd97 | 1667 | PyObject * _argo0 = 0; |
fe47ec10 | 1668 | char *_kwnames[] = { "self","margin","pixelWidth", NULL }; |
f6bcfd97 BP |
1669 | |
1670 | self = self; | |
fe47ec10 | 1671 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxStyledTextCtrl_SetMarginWidth",_kwnames,&_argo0,&_arg1,&_arg2)) |
f6bcfd97 BP |
1672 | return NULL; |
1673 | if (_argo0) { | |
1674 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1675 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 1676 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetMarginWidth. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
1677 | return NULL; |
1678 | } | |
1679 | } | |
1680 | { | |
1681 | wxPy_BEGIN_ALLOW_THREADS; | |
fe47ec10 | 1682 | wxStyledTextCtrl_SetMarginWidth(_arg0,_arg1,_arg2); |
f6bcfd97 BP |
1683 | |
1684 | wxPy_END_ALLOW_THREADS; | |
fe47ec10 RD |
1685 | } Py_INCREF(Py_None); |
1686 | _resultobj = Py_None; | |
f6bcfd97 BP |
1687 | return _resultobj; |
1688 | } | |
1689 | ||
fe47ec10 RD |
1690 | #define wxStyledTextCtrl_GetMarginWidth(_swigobj,_swigarg0) (_swigobj->GetMarginWidth(_swigarg0)) |
1691 | static PyObject *_wrap_wxStyledTextCtrl_GetMarginWidth(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 BP |
1692 | PyObject * _resultobj; |
1693 | int _result; | |
1694 | wxStyledTextCtrl * _arg0; | |
fe47ec10 | 1695 | int _arg1; |
f6bcfd97 | 1696 | PyObject * _argo0 = 0; |
fe47ec10 | 1697 | char *_kwnames[] = { "self","margin", NULL }; |
f6bcfd97 BP |
1698 | |
1699 | self = self; | |
fe47ec10 | 1700 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_GetMarginWidth",_kwnames,&_argo0,&_arg1)) |
f6bcfd97 BP |
1701 | return NULL; |
1702 | if (_argo0) { | |
1703 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1704 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 1705 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetMarginWidth. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
1706 | return NULL; |
1707 | } | |
1708 | } | |
1709 | { | |
1710 | wxPy_BEGIN_ALLOW_THREADS; | |
fe47ec10 | 1711 | _result = (int )wxStyledTextCtrl_GetMarginWidth(_arg0,_arg1); |
f6bcfd97 BP |
1712 | |
1713 | wxPy_END_ALLOW_THREADS; | |
1714 | } _resultobj = Py_BuildValue("i",_result); | |
1715 | return _resultobj; | |
1716 | } | |
1717 | ||
fe47ec10 RD |
1718 | #define wxStyledTextCtrl_SetMarginMask(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetMarginMask(_swigarg0,_swigarg1)) |
1719 | static PyObject *_wrap_wxStyledTextCtrl_SetMarginMask(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 | 1720 | PyObject * _resultobj; |
f6bcfd97 | 1721 | wxStyledTextCtrl * _arg0; |
fe47ec10 RD |
1722 | int _arg1; |
1723 | int _arg2; | |
f6bcfd97 | 1724 | PyObject * _argo0 = 0; |
fe47ec10 | 1725 | char *_kwnames[] = { "self","margin","mask", NULL }; |
f6bcfd97 BP |
1726 | |
1727 | self = self; | |
fe47ec10 | 1728 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxStyledTextCtrl_SetMarginMask",_kwnames,&_argo0,&_arg1,&_arg2)) |
f6bcfd97 BP |
1729 | return NULL; |
1730 | if (_argo0) { | |
1731 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1732 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 1733 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetMarginMask. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
1734 | return NULL; |
1735 | } | |
1736 | } | |
1737 | { | |
1738 | wxPy_BEGIN_ALLOW_THREADS; | |
fe47ec10 | 1739 | wxStyledTextCtrl_SetMarginMask(_arg0,_arg1,_arg2); |
f6bcfd97 BP |
1740 | |
1741 | wxPy_END_ALLOW_THREADS; | |
fe47ec10 RD |
1742 | } Py_INCREF(Py_None); |
1743 | _resultobj = Py_None; | |
f6bcfd97 BP |
1744 | return _resultobj; |
1745 | } | |
1746 | ||
fe47ec10 RD |
1747 | #define wxStyledTextCtrl_GetMarginMask(_swigobj,_swigarg0) (_swigobj->GetMarginMask(_swigarg0)) |
1748 | static PyObject *_wrap_wxStyledTextCtrl_GetMarginMask(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 | 1749 | PyObject * _resultobj; |
fe47ec10 | 1750 | int _result; |
f6bcfd97 | 1751 | wxStyledTextCtrl * _arg0; |
fe47ec10 | 1752 | int _arg1; |
f6bcfd97 | 1753 | PyObject * _argo0 = 0; |
fe47ec10 | 1754 | char *_kwnames[] = { "self","margin", NULL }; |
f6bcfd97 BP |
1755 | |
1756 | self = self; | |
fe47ec10 | 1757 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_GetMarginMask",_kwnames,&_argo0,&_arg1)) |
f6bcfd97 BP |
1758 | return NULL; |
1759 | if (_argo0) { | |
1760 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1761 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 1762 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetMarginMask. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
1763 | return NULL; |
1764 | } | |
1765 | } | |
1766 | { | |
1767 | wxPy_BEGIN_ALLOW_THREADS; | |
fe47ec10 | 1768 | _result = (int )wxStyledTextCtrl_GetMarginMask(_arg0,_arg1); |
f6bcfd97 BP |
1769 | |
1770 | wxPy_END_ALLOW_THREADS; | |
fe47ec10 | 1771 | } _resultobj = Py_BuildValue("i",_result); |
f6bcfd97 BP |
1772 | return _resultobj; |
1773 | } | |
1774 | ||
fe47ec10 RD |
1775 | #define wxStyledTextCtrl_SetMarginSensitive(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetMarginSensitive(_swigarg0,_swigarg1)) |
1776 | static PyObject *_wrap_wxStyledTextCtrl_SetMarginSensitive(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 BP |
1777 | PyObject * _resultobj; |
1778 | wxStyledTextCtrl * _arg0; | |
1779 | int _arg1; | |
fe47ec10 | 1780 | bool _arg2; |
f6bcfd97 | 1781 | PyObject * _argo0 = 0; |
fe47ec10 RD |
1782 | int tempbool2; |
1783 | char *_kwnames[] = { "self","margin","sensitive", NULL }; | |
f6bcfd97 BP |
1784 | |
1785 | self = self; | |
fe47ec10 | 1786 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxStyledTextCtrl_SetMarginSensitive",_kwnames,&_argo0,&_arg1,&tempbool2)) |
f6bcfd97 BP |
1787 | return NULL; |
1788 | if (_argo0) { | |
1789 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1790 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 1791 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetMarginSensitive. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
1792 | return NULL; |
1793 | } | |
1794 | } | |
fe47ec10 | 1795 | _arg2 = (bool ) tempbool2; |
f6bcfd97 BP |
1796 | { |
1797 | wxPy_BEGIN_ALLOW_THREADS; | |
fe47ec10 | 1798 | wxStyledTextCtrl_SetMarginSensitive(_arg0,_arg1,_arg2); |
f6bcfd97 BP |
1799 | |
1800 | wxPy_END_ALLOW_THREADS; | |
1801 | } Py_INCREF(Py_None); | |
1802 | _resultobj = Py_None; | |
1803 | return _resultobj; | |
1804 | } | |
1805 | ||
fe47ec10 RD |
1806 | #define wxStyledTextCtrl_GetMarginSensitive(_swigobj,_swigarg0) (_swigobj->GetMarginSensitive(_swigarg0)) |
1807 | static PyObject *_wrap_wxStyledTextCtrl_GetMarginSensitive(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 | 1808 | PyObject * _resultobj; |
fe47ec10 | 1809 | bool _result; |
f6bcfd97 BP |
1810 | wxStyledTextCtrl * _arg0; |
1811 | int _arg1; | |
1812 | PyObject * _argo0 = 0; | |
fe47ec10 | 1813 | char *_kwnames[] = { "self","margin", NULL }; |
f6bcfd97 BP |
1814 | |
1815 | self = self; | |
fe47ec10 | 1816 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_GetMarginSensitive",_kwnames,&_argo0,&_arg1)) |
f6bcfd97 BP |
1817 | return NULL; |
1818 | if (_argo0) { | |
1819 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1820 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 1821 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetMarginSensitive. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
1822 | return NULL; |
1823 | } | |
1824 | } | |
1825 | { | |
1826 | wxPy_BEGIN_ALLOW_THREADS; | |
fe47ec10 | 1827 | _result = (bool )wxStyledTextCtrl_GetMarginSensitive(_arg0,_arg1); |
f6bcfd97 BP |
1828 | |
1829 | wxPy_END_ALLOW_THREADS; | |
fe47ec10 | 1830 | } _resultobj = Py_BuildValue("i",_result); |
f6bcfd97 BP |
1831 | return _resultobj; |
1832 | } | |
1833 | ||
fe47ec10 RD |
1834 | #define wxStyledTextCtrl_StyleClearAll(_swigobj) (_swigobj->StyleClearAll()) |
1835 | static PyObject *_wrap_wxStyledTextCtrl_StyleClearAll(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 BP |
1836 | PyObject * _resultobj; |
1837 | wxStyledTextCtrl * _arg0; | |
f6bcfd97 | 1838 | PyObject * _argo0 = 0; |
fe47ec10 | 1839 | char *_kwnames[] = { "self", NULL }; |
f6bcfd97 BP |
1840 | |
1841 | self = self; | |
fe47ec10 | 1842 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_StyleClearAll",_kwnames,&_argo0)) |
f6bcfd97 BP |
1843 | return NULL; |
1844 | if (_argo0) { | |
1845 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1846 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 1847 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_StyleClearAll. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
1848 | return NULL; |
1849 | } | |
1850 | } | |
1851 | { | |
1852 | wxPy_BEGIN_ALLOW_THREADS; | |
fe47ec10 | 1853 | wxStyledTextCtrl_StyleClearAll(_arg0); |
f6bcfd97 BP |
1854 | |
1855 | wxPy_END_ALLOW_THREADS; | |
1856 | } Py_INCREF(Py_None); | |
1857 | _resultobj = Py_None; | |
1858 | return _resultobj; | |
1859 | } | |
1860 | ||
fe47ec10 RD |
1861 | #define wxStyledTextCtrl_StyleSetForeground(_swigobj,_swigarg0,_swigarg1) (_swigobj->StyleSetForeground(_swigarg0,_swigarg1)) |
1862 | static PyObject *_wrap_wxStyledTextCtrl_StyleSetForeground(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 BP |
1863 | PyObject * _resultobj; |
1864 | wxStyledTextCtrl * _arg0; | |
1865 | int _arg1; | |
fe47ec10 | 1866 | wxColour * _arg2; |
f6bcfd97 | 1867 | PyObject * _argo0 = 0; |
fe47ec10 RD |
1868 | wxColour temp; |
1869 | PyObject * _obj2 = 0; | |
1870 | char *_kwnames[] = { "self","style","fore", NULL }; | |
f6bcfd97 BP |
1871 | |
1872 | self = self; | |
fe47ec10 | 1873 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxStyledTextCtrl_StyleSetForeground",_kwnames,&_argo0,&_arg1,&_obj2)) |
f6bcfd97 BP |
1874 | return NULL; |
1875 | if (_argo0) { | |
1876 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1877 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 1878 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_StyleSetForeground. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
1879 | return NULL; |
1880 | } | |
1881 | } | |
fe47ec10 RD |
1882 | { |
1883 | _arg2 = &temp; | |
1884 | if (! wxColour_helper(_obj2, &_arg2)) | |
1885 | return NULL; | |
1886 | } | |
f6bcfd97 BP |
1887 | { |
1888 | wxPy_BEGIN_ALLOW_THREADS; | |
fe47ec10 | 1889 | wxStyledTextCtrl_StyleSetForeground(_arg0,_arg1,*_arg2); |
f6bcfd97 BP |
1890 | |
1891 | wxPy_END_ALLOW_THREADS; | |
1892 | } Py_INCREF(Py_None); | |
1893 | _resultobj = Py_None; | |
1894 | return _resultobj; | |
1895 | } | |
1896 | ||
fe47ec10 RD |
1897 | #define wxStyledTextCtrl_StyleSetBackground(_swigobj,_swigarg0,_swigarg1) (_swigobj->StyleSetBackground(_swigarg0,_swigarg1)) |
1898 | static PyObject *_wrap_wxStyledTextCtrl_StyleSetBackground(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 BP |
1899 | PyObject * _resultobj; |
1900 | wxStyledTextCtrl * _arg0; | |
1901 | int _arg1; | |
fe47ec10 | 1902 | wxColour * _arg2; |
f6bcfd97 | 1903 | PyObject * _argo0 = 0; |
fe47ec10 RD |
1904 | wxColour temp; |
1905 | PyObject * _obj2 = 0; | |
1906 | char *_kwnames[] = { "self","style","back", NULL }; | |
f6bcfd97 BP |
1907 | |
1908 | self = self; | |
fe47ec10 | 1909 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxStyledTextCtrl_StyleSetBackground",_kwnames,&_argo0,&_arg1,&_obj2)) |
f6bcfd97 BP |
1910 | return NULL; |
1911 | if (_argo0) { | |
1912 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1913 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 1914 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_StyleSetBackground. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
1915 | return NULL; |
1916 | } | |
1917 | } | |
fe47ec10 RD |
1918 | { |
1919 | _arg2 = &temp; | |
1920 | if (! wxColour_helper(_obj2, &_arg2)) | |
1921 | return NULL; | |
1922 | } | |
f6bcfd97 BP |
1923 | { |
1924 | wxPy_BEGIN_ALLOW_THREADS; | |
fe47ec10 | 1925 | wxStyledTextCtrl_StyleSetBackground(_arg0,_arg1,*_arg2); |
f6bcfd97 BP |
1926 | |
1927 | wxPy_END_ALLOW_THREADS; | |
1928 | } Py_INCREF(Py_None); | |
1929 | _resultobj = Py_None; | |
1930 | return _resultobj; | |
1931 | } | |
1932 | ||
fe47ec10 RD |
1933 | #define wxStyledTextCtrl_StyleSetBold(_swigobj,_swigarg0,_swigarg1) (_swigobj->StyleSetBold(_swigarg0,_swigarg1)) |
1934 | static PyObject *_wrap_wxStyledTextCtrl_StyleSetBold(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 BP |
1935 | PyObject * _resultobj; |
1936 | wxStyledTextCtrl * _arg0; | |
1937 | int _arg1; | |
1938 | bool _arg2; | |
1939 | PyObject * _argo0 = 0; | |
1940 | int tempbool2; | |
fe47ec10 | 1941 | char *_kwnames[] = { "self","style","bold", NULL }; |
f6bcfd97 BP |
1942 | |
1943 | self = self; | |
fe47ec10 | 1944 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxStyledTextCtrl_StyleSetBold",_kwnames,&_argo0,&_arg1,&tempbool2)) |
f6bcfd97 BP |
1945 | return NULL; |
1946 | if (_argo0) { | |
1947 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1948 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 1949 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_StyleSetBold. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
1950 | return NULL; |
1951 | } | |
1952 | } | |
1953 | _arg2 = (bool ) tempbool2; | |
1954 | { | |
1955 | wxPy_BEGIN_ALLOW_THREADS; | |
fe47ec10 | 1956 | wxStyledTextCtrl_StyleSetBold(_arg0,_arg1,_arg2); |
f6bcfd97 BP |
1957 | |
1958 | wxPy_END_ALLOW_THREADS; | |
1959 | } Py_INCREF(Py_None); | |
1960 | _resultobj = Py_None; | |
1961 | return _resultobj; | |
1962 | } | |
1963 | ||
fe47ec10 RD |
1964 | #define wxStyledTextCtrl_StyleSetItalic(_swigobj,_swigarg0,_swigarg1) (_swigobj->StyleSetItalic(_swigarg0,_swigarg1)) |
1965 | static PyObject *_wrap_wxStyledTextCtrl_StyleSetItalic(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 BP |
1966 | PyObject * _resultobj; |
1967 | wxStyledTextCtrl * _arg0; | |
1968 | int _arg1; | |
fe47ec10 | 1969 | bool _arg2; |
f6bcfd97 | 1970 | PyObject * _argo0 = 0; |
fe47ec10 RD |
1971 | int tempbool2; |
1972 | char *_kwnames[] = { "self","style","italic", NULL }; | |
f6bcfd97 BP |
1973 | |
1974 | self = self; | |
fe47ec10 | 1975 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxStyledTextCtrl_StyleSetItalic",_kwnames,&_argo0,&_arg1,&tempbool2)) |
f6bcfd97 BP |
1976 | return NULL; |
1977 | if (_argo0) { | |
1978 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1979 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 1980 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_StyleSetItalic. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
1981 | return NULL; |
1982 | } | |
1983 | } | |
fe47ec10 | 1984 | _arg2 = (bool ) tempbool2; |
f6bcfd97 BP |
1985 | { |
1986 | wxPy_BEGIN_ALLOW_THREADS; | |
fe47ec10 | 1987 | wxStyledTextCtrl_StyleSetItalic(_arg0,_arg1,_arg2); |
f6bcfd97 BP |
1988 | |
1989 | wxPy_END_ALLOW_THREADS; | |
1990 | } Py_INCREF(Py_None); | |
1991 | _resultobj = Py_None; | |
1992 | return _resultobj; | |
1993 | } | |
1994 | ||
fe47ec10 RD |
1995 | #define wxStyledTextCtrl_StyleSetSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->StyleSetSize(_swigarg0,_swigarg1)) |
1996 | static PyObject *_wrap_wxStyledTextCtrl_StyleSetSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 BP |
1997 | PyObject * _resultobj; |
1998 | wxStyledTextCtrl * _arg0; | |
1999 | int _arg1; | |
fe47ec10 | 2000 | int _arg2; |
f6bcfd97 | 2001 | PyObject * _argo0 = 0; |
fe47ec10 | 2002 | char *_kwnames[] = { "self","style","sizePoints", NULL }; |
f6bcfd97 BP |
2003 | |
2004 | self = self; | |
fe47ec10 | 2005 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxStyledTextCtrl_StyleSetSize",_kwnames,&_argo0,&_arg1,&_arg2)) |
f6bcfd97 BP |
2006 | return NULL; |
2007 | if (_argo0) { | |
2008 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2009 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 2010 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_StyleSetSize. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
2011 | return NULL; |
2012 | } | |
2013 | } | |
2014 | { | |
2015 | wxPy_BEGIN_ALLOW_THREADS; | |
fe47ec10 | 2016 | wxStyledTextCtrl_StyleSetSize(_arg0,_arg1,_arg2); |
f6bcfd97 BP |
2017 | |
2018 | wxPy_END_ALLOW_THREADS; | |
2019 | } Py_INCREF(Py_None); | |
2020 | _resultobj = Py_None; | |
2021 | return _resultobj; | |
2022 | } | |
2023 | ||
fe47ec10 RD |
2024 | #define wxStyledTextCtrl_StyleSetFaceName(_swigobj,_swigarg0,_swigarg1) (_swigobj->StyleSetFaceName(_swigarg0,_swigarg1)) |
2025 | static PyObject *_wrap_wxStyledTextCtrl_StyleSetFaceName(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 BP |
2026 | PyObject * _resultobj; |
2027 | wxStyledTextCtrl * _arg0; | |
2028 | int _arg1; | |
fe47ec10 | 2029 | wxString * _arg2; |
f6bcfd97 | 2030 | PyObject * _argo0 = 0; |
fe47ec10 RD |
2031 | PyObject * _obj2 = 0; |
2032 | char *_kwnames[] = { "self","style","fontName", NULL }; | |
f6bcfd97 BP |
2033 | |
2034 | self = self; | |
fe47ec10 | 2035 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxStyledTextCtrl_StyleSetFaceName",_kwnames,&_argo0,&_arg1,&_obj2)) |
f6bcfd97 BP |
2036 | return NULL; |
2037 | if (_argo0) { | |
2038 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2039 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 2040 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_StyleSetFaceName. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
2041 | return NULL; |
2042 | } | |
2043 | } | |
fe47ec10 | 2044 | { |
185d7c3e RD |
2045 | #if PYTHON_API_VERSION >= 1009 |
2046 | char* tmpPtr; int tmpSize; | |
2047 | if (!PyString_Check(_obj2) && !PyUnicode_Check(_obj2)) { | |
2048 | PyErr_SetString(PyExc_TypeError, "String or Unicode type required"); | |
2049 | return NULL; | |
2050 | } | |
2051 | if (PyString_AsStringAndSize(_obj2, &tmpPtr, &tmpSize) == -1) | |
2052 | return NULL; | |
2053 | _arg2 = new wxString(tmpPtr, tmpSize); | |
2054 | #else | |
fe47ec10 RD |
2055 | if (!PyString_Check(_obj2)) { |
2056 | PyErr_SetString(PyExc_TypeError, wxStringErrorMsg); | |
2057 | return NULL; | |
2058 | } | |
185d7c3e RD |
2059 | _arg2 = new wxString(PyString_AS_STRING(_obj2), PyString_GET_SIZE(_obj2)); |
2060 | #endif | |
fe47ec10 | 2061 | } |
f6bcfd97 BP |
2062 | { |
2063 | wxPy_BEGIN_ALLOW_THREADS; | |
fe47ec10 | 2064 | wxStyledTextCtrl_StyleSetFaceName(_arg0,_arg1,*_arg2); |
f6bcfd97 BP |
2065 | |
2066 | wxPy_END_ALLOW_THREADS; | |
2067 | } Py_INCREF(Py_None); | |
2068 | _resultobj = Py_None; | |
fe47ec10 RD |
2069 | { |
2070 | if (_obj2) | |
2071 | delete _arg2; | |
2072 | } | |
f6bcfd97 BP |
2073 | return _resultobj; |
2074 | } | |
2075 | ||
fe47ec10 RD |
2076 | #define wxStyledTextCtrl_StyleSetEOLFilled(_swigobj,_swigarg0,_swigarg1) (_swigobj->StyleSetEOLFilled(_swigarg0,_swigarg1)) |
2077 | static PyObject *_wrap_wxStyledTextCtrl_StyleSetEOLFilled(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 BP |
2078 | PyObject * _resultobj; |
2079 | wxStyledTextCtrl * _arg0; | |
fe47ec10 RD |
2080 | int _arg1; |
2081 | bool _arg2; | |
f6bcfd97 | 2082 | PyObject * _argo0 = 0; |
fe47ec10 RD |
2083 | int tempbool2; |
2084 | char *_kwnames[] = { "self","style","filled", NULL }; | |
f6bcfd97 BP |
2085 | |
2086 | self = self; | |
fe47ec10 | 2087 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxStyledTextCtrl_StyleSetEOLFilled",_kwnames,&_argo0,&_arg1,&tempbool2)) |
f6bcfd97 BP |
2088 | return NULL; |
2089 | if (_argo0) { | |
2090 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2091 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 2092 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_StyleSetEOLFilled. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
2093 | return NULL; |
2094 | } | |
2095 | } | |
fe47ec10 | 2096 | _arg2 = (bool ) tempbool2; |
f6bcfd97 BP |
2097 | { |
2098 | wxPy_BEGIN_ALLOW_THREADS; | |
fe47ec10 | 2099 | wxStyledTextCtrl_StyleSetEOLFilled(_arg0,_arg1,_arg2); |
f6bcfd97 BP |
2100 | |
2101 | wxPy_END_ALLOW_THREADS; | |
2102 | } Py_INCREF(Py_None); | |
2103 | _resultobj = Py_None; | |
2104 | return _resultobj; | |
2105 | } | |
2106 | ||
fe47ec10 RD |
2107 | #define wxStyledTextCtrl_StyleResetDefault(_swigobj) (_swigobj->StyleResetDefault()) |
2108 | static PyObject *_wrap_wxStyledTextCtrl_StyleResetDefault(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 BP |
2109 | PyObject * _resultobj; |
2110 | wxStyledTextCtrl * _arg0; | |
f6bcfd97 | 2111 | PyObject * _argo0 = 0; |
fe47ec10 | 2112 | char *_kwnames[] = { "self", NULL }; |
f6bcfd97 BP |
2113 | |
2114 | self = self; | |
fe47ec10 | 2115 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_StyleResetDefault",_kwnames,&_argo0)) |
f6bcfd97 BP |
2116 | return NULL; |
2117 | if (_argo0) { | |
2118 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2119 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 2120 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_StyleResetDefault. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
2121 | return NULL; |
2122 | } | |
2123 | } | |
2124 | { | |
2125 | wxPy_BEGIN_ALLOW_THREADS; | |
fe47ec10 | 2126 | wxStyledTextCtrl_StyleResetDefault(_arg0); |
f6bcfd97 BP |
2127 | |
2128 | wxPy_END_ALLOW_THREADS; | |
2129 | } Py_INCREF(Py_None); | |
2130 | _resultobj = Py_None; | |
2131 | return _resultobj; | |
2132 | } | |
2133 | ||
fe47ec10 RD |
2134 | #define wxStyledTextCtrl_StyleSetUnderline(_swigobj,_swigarg0,_swigarg1) (_swigobj->StyleSetUnderline(_swigarg0,_swigarg1)) |
2135 | static PyObject *_wrap_wxStyledTextCtrl_StyleSetUnderline(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 | 2136 | PyObject * _resultobj; |
f6bcfd97 | 2137 | wxStyledTextCtrl * _arg0; |
fe47ec10 RD |
2138 | int _arg1; |
2139 | bool _arg2; | |
f6bcfd97 | 2140 | PyObject * _argo0 = 0; |
fe47ec10 RD |
2141 | int tempbool2; |
2142 | char *_kwnames[] = { "self","style","underline", NULL }; | |
f6bcfd97 BP |
2143 | |
2144 | self = self; | |
fe47ec10 | 2145 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxStyledTextCtrl_StyleSetUnderline",_kwnames,&_argo0,&_arg1,&tempbool2)) |
f6bcfd97 BP |
2146 | return NULL; |
2147 | if (_argo0) { | |
2148 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2149 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 2150 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_StyleSetUnderline. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
2151 | return NULL; |
2152 | } | |
2153 | } | |
fe47ec10 | 2154 | _arg2 = (bool ) tempbool2; |
f6bcfd97 BP |
2155 | { |
2156 | wxPy_BEGIN_ALLOW_THREADS; | |
fe47ec10 | 2157 | wxStyledTextCtrl_StyleSetUnderline(_arg0,_arg1,_arg2); |
f6bcfd97 BP |
2158 | |
2159 | wxPy_END_ALLOW_THREADS; | |
fe47ec10 RD |
2160 | } Py_INCREF(Py_None); |
2161 | _resultobj = Py_None; | |
f6bcfd97 BP |
2162 | return _resultobj; |
2163 | } | |
2164 | ||
fe47ec10 RD |
2165 | #define wxStyledTextCtrl_SetSelForeground(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetSelForeground(_swigarg0,_swigarg1)) |
2166 | static PyObject *_wrap_wxStyledTextCtrl_SetSelForeground(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 | 2167 | PyObject * _resultobj; |
f6bcfd97 | 2168 | wxStyledTextCtrl * _arg0; |
fe47ec10 RD |
2169 | bool _arg1; |
2170 | wxColour * _arg2; | |
f6bcfd97 | 2171 | PyObject * _argo0 = 0; |
fe47ec10 RD |
2172 | int tempbool1; |
2173 | wxColour temp; | |
2174 | PyObject * _obj2 = 0; | |
2175 | char *_kwnames[] = { "self","useSetting","fore", NULL }; | |
f6bcfd97 BP |
2176 | |
2177 | self = self; | |
fe47ec10 | 2178 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxStyledTextCtrl_SetSelForeground",_kwnames,&_argo0,&tempbool1,&_obj2)) |
f6bcfd97 BP |
2179 | return NULL; |
2180 | if (_argo0) { | |
2181 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2182 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 2183 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetSelForeground. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
2184 | return NULL; |
2185 | } | |
2186 | } | |
fe47ec10 RD |
2187 | _arg1 = (bool ) tempbool1; |
2188 | { | |
2189 | _arg2 = &temp; | |
2190 | if (! wxColour_helper(_obj2, &_arg2)) | |
2191 | return NULL; | |
2192 | } | |
f6bcfd97 BP |
2193 | { |
2194 | wxPy_BEGIN_ALLOW_THREADS; | |
fe47ec10 | 2195 | wxStyledTextCtrl_SetSelForeground(_arg0,_arg1,*_arg2); |
f6bcfd97 BP |
2196 | |
2197 | wxPy_END_ALLOW_THREADS; | |
fe47ec10 RD |
2198 | } Py_INCREF(Py_None); |
2199 | _resultobj = Py_None; | |
f6bcfd97 BP |
2200 | return _resultobj; |
2201 | } | |
2202 | ||
fe47ec10 RD |
2203 | #define wxStyledTextCtrl_SetSelBackground(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetSelBackground(_swigarg0,_swigarg1)) |
2204 | static PyObject *_wrap_wxStyledTextCtrl_SetSelBackground(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 | 2205 | PyObject * _resultobj; |
f6bcfd97 | 2206 | wxStyledTextCtrl * _arg0; |
fe47ec10 RD |
2207 | bool _arg1; |
2208 | wxColour * _arg2; | |
f6bcfd97 | 2209 | PyObject * _argo0 = 0; |
fe47ec10 RD |
2210 | int tempbool1; |
2211 | wxColour temp; | |
2212 | PyObject * _obj2 = 0; | |
2213 | char *_kwnames[] = { "self","useSetting","back", NULL }; | |
f6bcfd97 BP |
2214 | |
2215 | self = self; | |
fe47ec10 | 2216 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxStyledTextCtrl_SetSelBackground",_kwnames,&_argo0,&tempbool1,&_obj2)) |
f6bcfd97 BP |
2217 | return NULL; |
2218 | if (_argo0) { | |
2219 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2220 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 2221 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetSelBackground. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
2222 | return NULL; |
2223 | } | |
2224 | } | |
fe47ec10 RD |
2225 | _arg1 = (bool ) tempbool1; |
2226 | { | |
2227 | _arg2 = &temp; | |
2228 | if (! wxColour_helper(_obj2, &_arg2)) | |
2229 | return NULL; | |
2230 | } | |
f6bcfd97 BP |
2231 | { |
2232 | wxPy_BEGIN_ALLOW_THREADS; | |
fe47ec10 | 2233 | wxStyledTextCtrl_SetSelBackground(_arg0,_arg1,*_arg2); |
f6bcfd97 BP |
2234 | |
2235 | wxPy_END_ALLOW_THREADS; | |
fe47ec10 RD |
2236 | } Py_INCREF(Py_None); |
2237 | _resultobj = Py_None; | |
f6bcfd97 BP |
2238 | return _resultobj; |
2239 | } | |
2240 | ||
fe47ec10 RD |
2241 | #define wxStyledTextCtrl_SetCaretForeground(_swigobj,_swigarg0) (_swigobj->SetCaretForeground(_swigarg0)) |
2242 | static PyObject *_wrap_wxStyledTextCtrl_SetCaretForeground(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 BP |
2243 | PyObject * _resultobj; |
2244 | wxStyledTextCtrl * _arg0; | |
fe47ec10 | 2245 | wxColour * _arg1; |
f6bcfd97 | 2246 | PyObject * _argo0 = 0; |
fe47ec10 RD |
2247 | wxColour temp; |
2248 | PyObject * _obj1 = 0; | |
2249 | char *_kwnames[] = { "self","fore", NULL }; | |
f6bcfd97 BP |
2250 | |
2251 | self = self; | |
fe47ec10 | 2252 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxStyledTextCtrl_SetCaretForeground",_kwnames,&_argo0,&_obj1)) |
f6bcfd97 BP |
2253 | return NULL; |
2254 | if (_argo0) { | |
2255 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2256 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 2257 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetCaretForeground. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
2258 | return NULL; |
2259 | } | |
2260 | } | |
fe47ec10 RD |
2261 | { |
2262 | _arg1 = &temp; | |
2263 | if (! wxColour_helper(_obj1, &_arg1)) | |
2264 | return NULL; | |
2265 | } | |
f6bcfd97 BP |
2266 | { |
2267 | wxPy_BEGIN_ALLOW_THREADS; | |
fe47ec10 | 2268 | wxStyledTextCtrl_SetCaretForeground(_arg0,*_arg1); |
f6bcfd97 BP |
2269 | |
2270 | wxPy_END_ALLOW_THREADS; | |
2271 | } Py_INCREF(Py_None); | |
2272 | _resultobj = Py_None; | |
2273 | return _resultobj; | |
2274 | } | |
2275 | ||
fe47ec10 RD |
2276 | #define wxStyledTextCtrl_CmdKeyAssign(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->CmdKeyAssign(_swigarg0,_swigarg1,_swigarg2)) |
2277 | static PyObject *_wrap_wxStyledTextCtrl_CmdKeyAssign(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 | 2278 | PyObject * _resultobj; |
f6bcfd97 | 2279 | wxStyledTextCtrl * _arg0; |
fe47ec10 RD |
2280 | int _arg1; |
2281 | int _arg2; | |
2282 | int _arg3; | |
f6bcfd97 | 2283 | PyObject * _argo0 = 0; |
fe47ec10 | 2284 | char *_kwnames[] = { "self","key","modifiers","cmd", NULL }; |
f6bcfd97 BP |
2285 | |
2286 | self = self; | |
fe47ec10 | 2287 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oiii:wxStyledTextCtrl_CmdKeyAssign",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3)) |
f6bcfd97 BP |
2288 | return NULL; |
2289 | if (_argo0) { | |
2290 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2291 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 2292 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_CmdKeyAssign. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
2293 | return NULL; |
2294 | } | |
2295 | } | |
2296 | { | |
2297 | wxPy_BEGIN_ALLOW_THREADS; | |
fe47ec10 | 2298 | wxStyledTextCtrl_CmdKeyAssign(_arg0,_arg1,_arg2,_arg3); |
f6bcfd97 BP |
2299 | |
2300 | wxPy_END_ALLOW_THREADS; | |
fe47ec10 RD |
2301 | } Py_INCREF(Py_None); |
2302 | _resultobj = Py_None; | |
f6bcfd97 BP |
2303 | return _resultobj; |
2304 | } | |
2305 | ||
fe47ec10 RD |
2306 | #define wxStyledTextCtrl_CmdKeyClear(_swigobj,_swigarg0,_swigarg1) (_swigobj->CmdKeyClear(_swigarg0,_swigarg1)) |
2307 | static PyObject *_wrap_wxStyledTextCtrl_CmdKeyClear(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 | 2308 | PyObject * _resultobj; |
f6bcfd97 BP |
2309 | wxStyledTextCtrl * _arg0; |
2310 | int _arg1; | |
2311 | int _arg2; | |
f6bcfd97 | 2312 | PyObject * _argo0 = 0; |
fe47ec10 | 2313 | char *_kwnames[] = { "self","key","modifiers", NULL }; |
f6bcfd97 BP |
2314 | |
2315 | self = self; | |
fe47ec10 | 2316 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxStyledTextCtrl_CmdKeyClear",_kwnames,&_argo0,&_arg1,&_arg2)) |
f6bcfd97 BP |
2317 | return NULL; |
2318 | if (_argo0) { | |
2319 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2320 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 2321 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_CmdKeyClear. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
2322 | return NULL; |
2323 | } | |
2324 | } | |
f6bcfd97 BP |
2325 | { |
2326 | wxPy_BEGIN_ALLOW_THREADS; | |
fe47ec10 | 2327 | wxStyledTextCtrl_CmdKeyClear(_arg0,_arg1,_arg2); |
f6bcfd97 BP |
2328 | |
2329 | wxPy_END_ALLOW_THREADS; | |
fe47ec10 RD |
2330 | } Py_INCREF(Py_None); |
2331 | _resultobj = Py_None; | |
f6bcfd97 BP |
2332 | return _resultobj; |
2333 | } | |
2334 | ||
fe47ec10 RD |
2335 | #define wxStyledTextCtrl_CmdKeyClearAll(_swigobj) (_swigobj->CmdKeyClearAll()) |
2336 | static PyObject *_wrap_wxStyledTextCtrl_CmdKeyClearAll(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 BP |
2337 | PyObject * _resultobj; |
2338 | wxStyledTextCtrl * _arg0; | |
2339 | PyObject * _argo0 = 0; | |
2340 | char *_kwnames[] = { "self", NULL }; | |
2341 | ||
2342 | self = self; | |
fe47ec10 | 2343 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_CmdKeyClearAll",_kwnames,&_argo0)) |
f6bcfd97 BP |
2344 | return NULL; |
2345 | if (_argo0) { | |
2346 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2347 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 2348 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_CmdKeyClearAll. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
2349 | return NULL; |
2350 | } | |
2351 | } | |
2352 | { | |
2353 | wxPy_BEGIN_ALLOW_THREADS; | |
fe47ec10 | 2354 | wxStyledTextCtrl_CmdKeyClearAll(_arg0); |
f6bcfd97 BP |
2355 | |
2356 | wxPy_END_ALLOW_THREADS; | |
2357 | } Py_INCREF(Py_None); | |
2358 | _resultobj = Py_None; | |
2359 | return _resultobj; | |
2360 | } | |
2361 | ||
fe47ec10 RD |
2362 | #define wxStyledTextCtrl_SetStyleBytes(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetStyleBytes(_swigarg0,_swigarg1)) |
2363 | static PyObject *_wrap_wxStyledTextCtrl_SetStyleBytes(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 | 2364 | PyObject * _resultobj; |
f6bcfd97 | 2365 | wxStyledTextCtrl * _arg0; |
fe47ec10 RD |
2366 | int _arg1; |
2367 | char * _arg2; | |
f6bcfd97 | 2368 | PyObject * _argo0 = 0; |
fe47ec10 | 2369 | char *_kwnames[] = { "self","length","styleBytes", NULL }; |
f6bcfd97 BP |
2370 | |
2371 | self = self; | |
fe47ec10 | 2372 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ois:wxStyledTextCtrl_SetStyleBytes",_kwnames,&_argo0,&_arg1,&_arg2)) |
f6bcfd97 BP |
2373 | return NULL; |
2374 | if (_argo0) { | |
2375 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2376 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 2377 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetStyleBytes. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
2378 | return NULL; |
2379 | } | |
2380 | } | |
f6bcfd97 BP |
2381 | { |
2382 | wxPy_BEGIN_ALLOW_THREADS; | |
fe47ec10 | 2383 | wxStyledTextCtrl_SetStyleBytes(_arg0,_arg1,_arg2); |
f6bcfd97 BP |
2384 | |
2385 | wxPy_END_ALLOW_THREADS; | |
fe47ec10 RD |
2386 | } Py_INCREF(Py_None); |
2387 | _resultobj = Py_None; | |
f6bcfd97 BP |
2388 | return _resultobj; |
2389 | } | |
2390 | ||
fe47ec10 RD |
2391 | #define wxStyledTextCtrl_StyleSetVisible(_swigobj,_swigarg0,_swigarg1) (_swigobj->StyleSetVisible(_swigarg0,_swigarg1)) |
2392 | static PyObject *_wrap_wxStyledTextCtrl_StyleSetVisible(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 | 2393 | PyObject * _resultobj; |
f6bcfd97 | 2394 | wxStyledTextCtrl * _arg0; |
fe47ec10 | 2395 | int _arg1; |
f6bcfd97 | 2396 | bool _arg2; |
f6bcfd97 | 2397 | PyObject * _argo0 = 0; |
f6bcfd97 | 2398 | int tempbool2; |
fe47ec10 | 2399 | char *_kwnames[] = { "self","style","visible", NULL }; |
f6bcfd97 BP |
2400 | |
2401 | self = self; | |
fe47ec10 | 2402 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxStyledTextCtrl_StyleSetVisible",_kwnames,&_argo0,&_arg1,&tempbool2)) |
f6bcfd97 BP |
2403 | return NULL; |
2404 | if (_argo0) { | |
2405 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2406 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 2407 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_StyleSetVisible. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
2408 | return NULL; |
2409 | } | |
2410 | } | |
f6bcfd97 | 2411 | _arg2 = (bool ) tempbool2; |
f6bcfd97 BP |
2412 | { |
2413 | wxPy_BEGIN_ALLOW_THREADS; | |
fe47ec10 | 2414 | wxStyledTextCtrl_StyleSetVisible(_arg0,_arg1,_arg2); |
f6bcfd97 BP |
2415 | |
2416 | wxPy_END_ALLOW_THREADS; | |
fe47ec10 RD |
2417 | } Py_INCREF(Py_None); |
2418 | _resultobj = Py_None; | |
f6bcfd97 BP |
2419 | return _resultobj; |
2420 | } | |
2421 | ||
fe47ec10 RD |
2422 | #define wxStyledTextCtrl_GetCaretPeriod(_swigobj) (_swigobj->GetCaretPeriod()) |
2423 | static PyObject *_wrap_wxStyledTextCtrl_GetCaretPeriod(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 | 2424 | PyObject * _resultobj; |
fe47ec10 | 2425 | int _result; |
f6bcfd97 BP |
2426 | wxStyledTextCtrl * _arg0; |
2427 | PyObject * _argo0 = 0; | |
2428 | char *_kwnames[] = { "self", NULL }; | |
2429 | ||
2430 | self = self; | |
fe47ec10 | 2431 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetCaretPeriod",_kwnames,&_argo0)) |
f6bcfd97 BP |
2432 | return NULL; |
2433 | if (_argo0) { | |
2434 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2435 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 2436 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetCaretPeriod. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
2437 | return NULL; |
2438 | } | |
2439 | } | |
2440 | { | |
2441 | wxPy_BEGIN_ALLOW_THREADS; | |
fe47ec10 | 2442 | _result = (int )wxStyledTextCtrl_GetCaretPeriod(_arg0); |
f6bcfd97 BP |
2443 | |
2444 | wxPy_END_ALLOW_THREADS; | |
2445 | } _resultobj = Py_BuildValue("i",_result); | |
2446 | return _resultobj; | |
2447 | } | |
2448 | ||
fe47ec10 RD |
2449 | #define wxStyledTextCtrl_SetCaretPeriod(_swigobj,_swigarg0) (_swigobj->SetCaretPeriod(_swigarg0)) |
2450 | static PyObject *_wrap_wxStyledTextCtrl_SetCaretPeriod(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 BP |
2451 | PyObject * _resultobj; |
2452 | wxStyledTextCtrl * _arg0; | |
fe47ec10 | 2453 | int _arg1; |
f6bcfd97 | 2454 | PyObject * _argo0 = 0; |
fe47ec10 | 2455 | char *_kwnames[] = { "self","periodMilliseconds", NULL }; |
f6bcfd97 BP |
2456 | |
2457 | self = self; | |
fe47ec10 | 2458 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_SetCaretPeriod",_kwnames,&_argo0,&_arg1)) |
f6bcfd97 BP |
2459 | return NULL; |
2460 | if (_argo0) { | |
2461 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2462 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 2463 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetCaretPeriod. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
2464 | return NULL; |
2465 | } | |
2466 | } | |
f6bcfd97 BP |
2467 | { |
2468 | wxPy_BEGIN_ALLOW_THREADS; | |
fe47ec10 | 2469 | wxStyledTextCtrl_SetCaretPeriod(_arg0,_arg1); |
f6bcfd97 BP |
2470 | |
2471 | wxPy_END_ALLOW_THREADS; | |
2472 | } Py_INCREF(Py_None); | |
2473 | _resultobj = Py_None; | |
2474 | return _resultobj; | |
2475 | } | |
2476 | ||
fe47ec10 RD |
2477 | #define wxStyledTextCtrl_SetWordChars(_swigobj,_swigarg0) (_swigobj->SetWordChars(_swigarg0)) |
2478 | static PyObject *_wrap_wxStyledTextCtrl_SetWordChars(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 | 2479 | PyObject * _resultobj; |
f6bcfd97 | 2480 | wxStyledTextCtrl * _arg0; |
fe47ec10 | 2481 | wxString * _arg1; |
f6bcfd97 | 2482 | PyObject * _argo0 = 0; |
fe47ec10 RD |
2483 | PyObject * _obj1 = 0; |
2484 | char *_kwnames[] = { "self","characters", NULL }; | |
f6bcfd97 BP |
2485 | |
2486 | self = self; | |
fe47ec10 | 2487 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxStyledTextCtrl_SetWordChars",_kwnames,&_argo0,&_obj1)) |
f6bcfd97 BP |
2488 | return NULL; |
2489 | if (_argo0) { | |
2490 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2491 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 2492 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetWordChars. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
2493 | return NULL; |
2494 | } | |
2495 | } | |
fe47ec10 | 2496 | { |
185d7c3e RD |
2497 | #if PYTHON_API_VERSION >= 1009 |
2498 | char* tmpPtr; int tmpSize; | |
2499 | if (!PyString_Check(_obj1) && !PyUnicode_Check(_obj1)) { | |
2500 | PyErr_SetString(PyExc_TypeError, "String or Unicode type required"); | |
2501 | return NULL; | |
2502 | } | |
2503 | if (PyString_AsStringAndSize(_obj1, &tmpPtr, &tmpSize) == -1) | |
2504 | return NULL; | |
2505 | _arg1 = new wxString(tmpPtr, tmpSize); | |
2506 | #else | |
fe47ec10 RD |
2507 | if (!PyString_Check(_obj1)) { |
2508 | PyErr_SetString(PyExc_TypeError, wxStringErrorMsg); | |
2509 | return NULL; | |
2510 | } | |
185d7c3e RD |
2511 | _arg1 = new wxString(PyString_AS_STRING(_obj1), PyString_GET_SIZE(_obj1)); |
2512 | #endif | |
fe47ec10 | 2513 | } |
f6bcfd97 BP |
2514 | { |
2515 | wxPy_BEGIN_ALLOW_THREADS; | |
fe47ec10 | 2516 | wxStyledTextCtrl_SetWordChars(_arg0,*_arg1); |
f6bcfd97 BP |
2517 | |
2518 | wxPy_END_ALLOW_THREADS; | |
fe47ec10 RD |
2519 | } Py_INCREF(Py_None); |
2520 | _resultobj = Py_None; | |
2521 | { | |
2522 | if (_obj1) | |
2523 | delete _arg1; | |
2524 | } | |
f6bcfd97 BP |
2525 | return _resultobj; |
2526 | } | |
2527 | ||
fe47ec10 RD |
2528 | #define wxStyledTextCtrl_BeginUndoAction(_swigobj) (_swigobj->BeginUndoAction()) |
2529 | static PyObject *_wrap_wxStyledTextCtrl_BeginUndoAction(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 BP |
2530 | PyObject * _resultobj; |
2531 | wxStyledTextCtrl * _arg0; | |
f6bcfd97 | 2532 | PyObject * _argo0 = 0; |
fe47ec10 | 2533 | char *_kwnames[] = { "self", NULL }; |
f6bcfd97 BP |
2534 | |
2535 | self = self; | |
fe47ec10 | 2536 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_BeginUndoAction",_kwnames,&_argo0)) |
f6bcfd97 BP |
2537 | return NULL; |
2538 | if (_argo0) { | |
2539 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2540 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 2541 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_BeginUndoAction. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
2542 | return NULL; |
2543 | } | |
2544 | } | |
2545 | { | |
2546 | wxPy_BEGIN_ALLOW_THREADS; | |
fe47ec10 | 2547 | wxStyledTextCtrl_BeginUndoAction(_arg0); |
f6bcfd97 BP |
2548 | |
2549 | wxPy_END_ALLOW_THREADS; | |
2550 | } Py_INCREF(Py_None); | |
2551 | _resultobj = Py_None; | |
2552 | return _resultobj; | |
2553 | } | |
2554 | ||
fe47ec10 RD |
2555 | #define wxStyledTextCtrl_EndUndoAction(_swigobj) (_swigobj->EndUndoAction()) |
2556 | static PyObject *_wrap_wxStyledTextCtrl_EndUndoAction(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 | 2557 | PyObject * _resultobj; |
f6bcfd97 BP |
2558 | wxStyledTextCtrl * _arg0; |
2559 | PyObject * _argo0 = 0; | |
2560 | char *_kwnames[] = { "self", NULL }; | |
2561 | ||
2562 | self = self; | |
fe47ec10 | 2563 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_EndUndoAction",_kwnames,&_argo0)) |
f6bcfd97 BP |
2564 | return NULL; |
2565 | if (_argo0) { | |
2566 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2567 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 2568 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_EndUndoAction. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
2569 | return NULL; |
2570 | } | |
2571 | } | |
2572 | { | |
2573 | wxPy_BEGIN_ALLOW_THREADS; | |
fe47ec10 | 2574 | wxStyledTextCtrl_EndUndoAction(_arg0); |
f6bcfd97 BP |
2575 | |
2576 | wxPy_END_ALLOW_THREADS; | |
fe47ec10 RD |
2577 | } Py_INCREF(Py_None); |
2578 | _resultobj = Py_None; | |
f6bcfd97 BP |
2579 | return _resultobj; |
2580 | } | |
2581 | ||
fe47ec10 RD |
2582 | #define wxStyledTextCtrl_IndicatorSetStyle(_swigobj,_swigarg0,_swigarg1) (_swigobj->IndicatorSetStyle(_swigarg0,_swigarg1)) |
2583 | static PyObject *_wrap_wxStyledTextCtrl_IndicatorSetStyle(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 BP |
2584 | PyObject * _resultobj; |
2585 | wxStyledTextCtrl * _arg0; | |
fe47ec10 RD |
2586 | int _arg1; |
2587 | int _arg2; | |
f6bcfd97 | 2588 | PyObject * _argo0 = 0; |
fe47ec10 | 2589 | char *_kwnames[] = { "self","indic","style", NULL }; |
f6bcfd97 BP |
2590 | |
2591 | self = self; | |
fe47ec10 | 2592 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxStyledTextCtrl_IndicatorSetStyle",_kwnames,&_argo0,&_arg1,&_arg2)) |
f6bcfd97 BP |
2593 | return NULL; |
2594 | if (_argo0) { | |
2595 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2596 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 2597 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_IndicatorSetStyle. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
2598 | return NULL; |
2599 | } | |
2600 | } | |
f6bcfd97 BP |
2601 | { |
2602 | wxPy_BEGIN_ALLOW_THREADS; | |
fe47ec10 | 2603 | wxStyledTextCtrl_IndicatorSetStyle(_arg0,_arg1,_arg2); |
f6bcfd97 BP |
2604 | |
2605 | wxPy_END_ALLOW_THREADS; | |
2606 | } Py_INCREF(Py_None); | |
2607 | _resultobj = Py_None; | |
2608 | return _resultobj; | |
2609 | } | |
2610 | ||
fe47ec10 RD |
2611 | #define wxStyledTextCtrl_IndicatorGetStyle(_swigobj,_swigarg0) (_swigobj->IndicatorGetStyle(_swigarg0)) |
2612 | static PyObject *_wrap_wxStyledTextCtrl_IndicatorGetStyle(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 | 2613 | PyObject * _resultobj; |
fe47ec10 | 2614 | int _result; |
f6bcfd97 | 2615 | wxStyledTextCtrl * _arg0; |
fe47ec10 | 2616 | int _arg1; |
f6bcfd97 | 2617 | PyObject * _argo0 = 0; |
fe47ec10 | 2618 | char *_kwnames[] = { "self","indic", NULL }; |
f6bcfd97 BP |
2619 | |
2620 | self = self; | |
fe47ec10 | 2621 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_IndicatorGetStyle",_kwnames,&_argo0,&_arg1)) |
f6bcfd97 BP |
2622 | return NULL; |
2623 | if (_argo0) { | |
2624 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2625 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 2626 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_IndicatorGetStyle. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
2627 | return NULL; |
2628 | } | |
2629 | } | |
2630 | { | |
2631 | wxPy_BEGIN_ALLOW_THREADS; | |
fe47ec10 | 2632 | _result = (int )wxStyledTextCtrl_IndicatorGetStyle(_arg0,_arg1); |
f6bcfd97 BP |
2633 | |
2634 | wxPy_END_ALLOW_THREADS; | |
fe47ec10 | 2635 | } _resultobj = Py_BuildValue("i",_result); |
f6bcfd97 BP |
2636 | return _resultobj; |
2637 | } | |
2638 | ||
fe47ec10 RD |
2639 | #define wxStyledTextCtrl_IndicatorSetForeground(_swigobj,_swigarg0,_swigarg1) (_swigobj->IndicatorSetForeground(_swigarg0,_swigarg1)) |
2640 | static PyObject *_wrap_wxStyledTextCtrl_IndicatorSetForeground(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 | 2641 | PyObject * _resultobj; |
f6bcfd97 | 2642 | wxStyledTextCtrl * _arg0; |
fe47ec10 RD |
2643 | int _arg1; |
2644 | wxColour * _arg2; | |
f6bcfd97 | 2645 | PyObject * _argo0 = 0; |
fe47ec10 RD |
2646 | wxColour temp; |
2647 | PyObject * _obj2 = 0; | |
2648 | char *_kwnames[] = { "self","indic","fore", NULL }; | |
f6bcfd97 BP |
2649 | |
2650 | self = self; | |
fe47ec10 | 2651 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxStyledTextCtrl_IndicatorSetForeground",_kwnames,&_argo0,&_arg1,&_obj2)) |
f6bcfd97 BP |
2652 | return NULL; |
2653 | if (_argo0) { | |
2654 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2655 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 2656 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_IndicatorSetForeground. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
2657 | return NULL; |
2658 | } | |
2659 | } | |
fe47ec10 RD |
2660 | { |
2661 | _arg2 = &temp; | |
2662 | if (! wxColour_helper(_obj2, &_arg2)) | |
2663 | return NULL; | |
2664 | } | |
f6bcfd97 BP |
2665 | { |
2666 | wxPy_BEGIN_ALLOW_THREADS; | |
fe47ec10 | 2667 | wxStyledTextCtrl_IndicatorSetForeground(_arg0,_arg1,*_arg2); |
f6bcfd97 BP |
2668 | |
2669 | wxPy_END_ALLOW_THREADS; | |
fe47ec10 RD |
2670 | } Py_INCREF(Py_None); |
2671 | _resultobj = Py_None; | |
f6bcfd97 BP |
2672 | return _resultobj; |
2673 | } | |
2674 | ||
fe47ec10 RD |
2675 | #define wxStyledTextCtrl_IndicatorGetForeground(_swigobj,_swigarg0) (_swigobj->IndicatorGetForeground(_swigarg0)) |
2676 | static PyObject *_wrap_wxStyledTextCtrl_IndicatorGetForeground(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 | 2677 | PyObject * _resultobj; |
fe47ec10 | 2678 | wxColour * _result; |
f6bcfd97 BP |
2679 | wxStyledTextCtrl * _arg0; |
2680 | int _arg1; | |
f6bcfd97 | 2681 | PyObject * _argo0 = 0; |
fe47ec10 RD |
2682 | char *_kwnames[] = { "self","indic", NULL }; |
2683 | char _ptemp[128]; | |
f6bcfd97 BP |
2684 | |
2685 | self = self; | |
fe47ec10 | 2686 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_IndicatorGetForeground",_kwnames,&_argo0,&_arg1)) |
f6bcfd97 BP |
2687 | return NULL; |
2688 | if (_argo0) { | |
2689 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2690 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 2691 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_IndicatorGetForeground. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
2692 | return NULL; |
2693 | } | |
2694 | } | |
2695 | { | |
2696 | wxPy_BEGIN_ALLOW_THREADS; | |
fe47ec10 | 2697 | _result = new wxColour (wxStyledTextCtrl_IndicatorGetForeground(_arg0,_arg1)); |
f6bcfd97 BP |
2698 | |
2699 | wxPy_END_ALLOW_THREADS; | |
fe47ec10 RD |
2700 | } SWIG_MakePtr(_ptemp, (void *) _result,"_wxColour_p"); |
2701 | _resultobj = Py_BuildValue("s",_ptemp); | |
f6bcfd97 BP |
2702 | return _resultobj; |
2703 | } | |
2704 | ||
fe47ec10 RD |
2705 | #define wxStyledTextCtrl_SetStyleBits(_swigobj,_swigarg0) (_swigobj->SetStyleBits(_swigarg0)) |
2706 | static PyObject *_wrap_wxStyledTextCtrl_SetStyleBits(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 BP |
2707 | PyObject * _resultobj; |
2708 | wxStyledTextCtrl * _arg0; | |
2709 | int _arg1; | |
f6bcfd97 | 2710 | PyObject * _argo0 = 0; |
fe47ec10 | 2711 | char *_kwnames[] = { "self","bits", NULL }; |
f6bcfd97 BP |
2712 | |
2713 | self = self; | |
fe47ec10 | 2714 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_SetStyleBits",_kwnames,&_argo0,&_arg1)) |
f6bcfd97 BP |
2715 | return NULL; |
2716 | if (_argo0) { | |
2717 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2718 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 2719 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetStyleBits. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
2720 | return NULL; |
2721 | } | |
2722 | } | |
2723 | { | |
2724 | wxPy_BEGIN_ALLOW_THREADS; | |
fe47ec10 | 2725 | wxStyledTextCtrl_SetStyleBits(_arg0,_arg1); |
f6bcfd97 BP |
2726 | |
2727 | wxPy_END_ALLOW_THREADS; | |
2728 | } Py_INCREF(Py_None); | |
2729 | _resultobj = Py_None; | |
2730 | return _resultobj; | |
2731 | } | |
2732 | ||
fe47ec10 RD |
2733 | #define wxStyledTextCtrl_GetStyleBits(_swigobj) (_swigobj->GetStyleBits()) |
2734 | static PyObject *_wrap_wxStyledTextCtrl_GetStyleBits(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 | 2735 | PyObject * _resultobj; |
fe47ec10 | 2736 | int _result; |
f6bcfd97 | 2737 | wxStyledTextCtrl * _arg0; |
f6bcfd97 | 2738 | PyObject * _argo0 = 0; |
fe47ec10 | 2739 | char *_kwnames[] = { "self", NULL }; |
f6bcfd97 BP |
2740 | |
2741 | self = self; | |
fe47ec10 | 2742 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetStyleBits",_kwnames,&_argo0)) |
f6bcfd97 BP |
2743 | return NULL; |
2744 | if (_argo0) { | |
2745 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2746 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 2747 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetStyleBits. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
2748 | return NULL; |
2749 | } | |
2750 | } | |
2751 | { | |
2752 | wxPy_BEGIN_ALLOW_THREADS; | |
fe47ec10 | 2753 | _result = (int )wxStyledTextCtrl_GetStyleBits(_arg0); |
f6bcfd97 BP |
2754 | |
2755 | wxPy_END_ALLOW_THREADS; | |
fe47ec10 | 2756 | } _resultobj = Py_BuildValue("i",_result); |
f6bcfd97 BP |
2757 | return _resultobj; |
2758 | } | |
2759 | ||
2760 | #define wxStyledTextCtrl_SetLineState(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetLineState(_swigarg0,_swigarg1)) | |
2761 | static PyObject *_wrap_wxStyledTextCtrl_SetLineState(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2762 | PyObject * _resultobj; | |
2763 | wxStyledTextCtrl * _arg0; | |
2764 | int _arg1; | |
2765 | int _arg2; | |
2766 | PyObject * _argo0 = 0; | |
fe47ec10 | 2767 | char *_kwnames[] = { "self","line","state", NULL }; |
f6bcfd97 BP |
2768 | |
2769 | self = self; | |
2770 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxStyledTextCtrl_SetLineState",_kwnames,&_argo0,&_arg1,&_arg2)) | |
2771 | return NULL; | |
2772 | if (_argo0) { | |
2773 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2774 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
2775 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetLineState. Expected _wxStyledTextCtrl_p."); | |
2776 | return NULL; | |
2777 | } | |
2778 | } | |
2779 | { | |
2780 | wxPy_BEGIN_ALLOW_THREADS; | |
2781 | wxStyledTextCtrl_SetLineState(_arg0,_arg1,_arg2); | |
2782 | ||
2783 | wxPy_END_ALLOW_THREADS; | |
2784 | } Py_INCREF(Py_None); | |
2785 | _resultobj = Py_None; | |
2786 | return _resultobj; | |
2787 | } | |
2788 | ||
2789 | #define wxStyledTextCtrl_GetLineState(_swigobj,_swigarg0) (_swigobj->GetLineState(_swigarg0)) | |
2790 | static PyObject *_wrap_wxStyledTextCtrl_GetLineState(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2791 | PyObject * _resultobj; | |
2792 | int _result; | |
2793 | wxStyledTextCtrl * _arg0; | |
2794 | int _arg1; | |
2795 | PyObject * _argo0 = 0; | |
2796 | char *_kwnames[] = { "self","line", NULL }; | |
2797 | ||
2798 | self = self; | |
2799 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_GetLineState",_kwnames,&_argo0,&_arg1)) | |
2800 | return NULL; | |
2801 | if (_argo0) { | |
2802 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2803 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
2804 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetLineState. Expected _wxStyledTextCtrl_p."); | |
2805 | return NULL; | |
2806 | } | |
2807 | } | |
2808 | { | |
2809 | wxPy_BEGIN_ALLOW_THREADS; | |
2810 | _result = (int )wxStyledTextCtrl_GetLineState(_arg0,_arg1); | |
2811 | ||
2812 | wxPy_END_ALLOW_THREADS; | |
2813 | } _resultobj = Py_BuildValue("i",_result); | |
2814 | return _resultobj; | |
2815 | } | |
2816 | ||
fe47ec10 RD |
2817 | #define wxStyledTextCtrl_GetMaxLineState(_swigobj) (_swigobj->GetMaxLineState()) |
2818 | static PyObject *_wrap_wxStyledTextCtrl_GetMaxLineState(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 | 2819 | PyObject * _resultobj; |
fe47ec10 | 2820 | int _result; |
f6bcfd97 BP |
2821 | wxStyledTextCtrl * _arg0; |
2822 | PyObject * _argo0 = 0; | |
2823 | char *_kwnames[] = { "self", NULL }; | |
2824 | ||
2825 | self = self; | |
fe47ec10 | 2826 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetMaxLineState",_kwnames,&_argo0)) |
f6bcfd97 BP |
2827 | return NULL; |
2828 | if (_argo0) { | |
2829 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2830 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 2831 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetMaxLineState. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
2832 | return NULL; |
2833 | } | |
2834 | } | |
2835 | { | |
2836 | wxPy_BEGIN_ALLOW_THREADS; | |
fe47ec10 | 2837 | _result = (int )wxStyledTextCtrl_GetMaxLineState(_arg0); |
f6bcfd97 BP |
2838 | |
2839 | wxPy_END_ALLOW_THREADS; | |
fe47ec10 | 2840 | } _resultobj = Py_BuildValue("i",_result); |
f6bcfd97 BP |
2841 | return _resultobj; |
2842 | } | |
2843 | ||
fe47ec10 RD |
2844 | #define wxStyledTextCtrl_AutoCompShow(_swigobj,_swigarg0,_swigarg1) (_swigobj->AutoCompShow(_swigarg0,_swigarg1)) |
2845 | static PyObject *_wrap_wxStyledTextCtrl_AutoCompShow(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 BP |
2846 | PyObject * _resultobj; |
2847 | wxStyledTextCtrl * _arg0; | |
fe47ec10 RD |
2848 | int _arg1; |
2849 | wxString * _arg2; | |
f6bcfd97 | 2850 | PyObject * _argo0 = 0; |
fe47ec10 RD |
2851 | PyObject * _obj2 = 0; |
2852 | char *_kwnames[] = { "self","lenEntered","itemList", NULL }; | |
f6bcfd97 BP |
2853 | |
2854 | self = self; | |
fe47ec10 | 2855 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxStyledTextCtrl_AutoCompShow",_kwnames,&_argo0,&_arg1,&_obj2)) |
f6bcfd97 BP |
2856 | return NULL; |
2857 | if (_argo0) { | |
2858 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2859 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 2860 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_AutoCompShow. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
2861 | return NULL; |
2862 | } | |
2863 | } | |
fe47ec10 | 2864 | { |
185d7c3e RD |
2865 | #if PYTHON_API_VERSION >= 1009 |
2866 | char* tmpPtr; int tmpSize; | |
2867 | if (!PyString_Check(_obj2) && !PyUnicode_Check(_obj2)) { | |
2868 | PyErr_SetString(PyExc_TypeError, "String or Unicode type required"); | |
2869 | return NULL; | |
2870 | } | |
2871 | if (PyString_AsStringAndSize(_obj2, &tmpPtr, &tmpSize) == -1) | |
2872 | return NULL; | |
2873 | _arg2 = new wxString(tmpPtr, tmpSize); | |
2874 | #else | |
fe47ec10 RD |
2875 | if (!PyString_Check(_obj2)) { |
2876 | PyErr_SetString(PyExc_TypeError, wxStringErrorMsg); | |
2877 | return NULL; | |
2878 | } | |
185d7c3e RD |
2879 | _arg2 = new wxString(PyString_AS_STRING(_obj2), PyString_GET_SIZE(_obj2)); |
2880 | #endif | |
fe47ec10 | 2881 | } |
f6bcfd97 BP |
2882 | { |
2883 | wxPy_BEGIN_ALLOW_THREADS; | |
fe47ec10 | 2884 | wxStyledTextCtrl_AutoCompShow(_arg0,_arg1,*_arg2); |
f6bcfd97 BP |
2885 | |
2886 | wxPy_END_ALLOW_THREADS; | |
2887 | } Py_INCREF(Py_None); | |
2888 | _resultobj = Py_None; | |
fe47ec10 RD |
2889 | { |
2890 | if (_obj2) | |
2891 | delete _arg2; | |
2892 | } | |
f6bcfd97 BP |
2893 | return _resultobj; |
2894 | } | |
2895 | ||
fe47ec10 RD |
2896 | #define wxStyledTextCtrl_AutoCompCancel(_swigobj) (_swigobj->AutoCompCancel()) |
2897 | static PyObject *_wrap_wxStyledTextCtrl_AutoCompCancel(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 BP |
2898 | PyObject * _resultobj; |
2899 | wxStyledTextCtrl * _arg0; | |
f6bcfd97 | 2900 | PyObject * _argo0 = 0; |
fe47ec10 | 2901 | char *_kwnames[] = { "self", NULL }; |
f6bcfd97 BP |
2902 | |
2903 | self = self; | |
fe47ec10 | 2904 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_AutoCompCancel",_kwnames,&_argo0)) |
f6bcfd97 BP |
2905 | return NULL; |
2906 | if (_argo0) { | |
2907 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2908 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 2909 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_AutoCompCancel. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
2910 | return NULL; |
2911 | } | |
2912 | } | |
f6bcfd97 BP |
2913 | { |
2914 | wxPy_BEGIN_ALLOW_THREADS; | |
fe47ec10 | 2915 | wxStyledTextCtrl_AutoCompCancel(_arg0); |
f6bcfd97 BP |
2916 | |
2917 | wxPy_END_ALLOW_THREADS; | |
2918 | } Py_INCREF(Py_None); | |
2919 | _resultobj = Py_None; | |
f6bcfd97 BP |
2920 | return _resultobj; |
2921 | } | |
2922 | ||
fe47ec10 RD |
2923 | #define wxStyledTextCtrl_AutoCompActive(_swigobj) (_swigobj->AutoCompActive()) |
2924 | static PyObject *_wrap_wxStyledTextCtrl_AutoCompActive(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 | 2925 | PyObject * _resultobj; |
fe47ec10 | 2926 | bool _result; |
f6bcfd97 | 2927 | wxStyledTextCtrl * _arg0; |
f6bcfd97 | 2928 | PyObject * _argo0 = 0; |
fe47ec10 | 2929 | char *_kwnames[] = { "self", NULL }; |
f6bcfd97 BP |
2930 | |
2931 | self = self; | |
fe47ec10 | 2932 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_AutoCompActive",_kwnames,&_argo0)) |
f6bcfd97 BP |
2933 | return NULL; |
2934 | if (_argo0) { | |
2935 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2936 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 2937 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_AutoCompActive. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
2938 | return NULL; |
2939 | } | |
2940 | } | |
f6bcfd97 BP |
2941 | { |
2942 | wxPy_BEGIN_ALLOW_THREADS; | |
fe47ec10 | 2943 | _result = (bool )wxStyledTextCtrl_AutoCompActive(_arg0); |
f6bcfd97 BP |
2944 | |
2945 | wxPy_END_ALLOW_THREADS; | |
fe47ec10 | 2946 | } _resultobj = Py_BuildValue("i",_result); |
f6bcfd97 BP |
2947 | return _resultobj; |
2948 | } | |
2949 | ||
fe47ec10 RD |
2950 | #define wxStyledTextCtrl_AutoCompPosStart(_swigobj) (_swigobj->AutoCompPosStart()) |
2951 | static PyObject *_wrap_wxStyledTextCtrl_AutoCompPosStart(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 | 2952 | PyObject * _resultobj; |
fe47ec10 | 2953 | int _result; |
f6bcfd97 | 2954 | wxStyledTextCtrl * _arg0; |
f6bcfd97 | 2955 | PyObject * _argo0 = 0; |
fe47ec10 | 2956 | char *_kwnames[] = { "self", NULL }; |
f6bcfd97 BP |
2957 | |
2958 | self = self; | |
fe47ec10 | 2959 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_AutoCompPosStart",_kwnames,&_argo0)) |
f6bcfd97 BP |
2960 | return NULL; |
2961 | if (_argo0) { | |
2962 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2963 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 2964 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_AutoCompPosStart. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
2965 | return NULL; |
2966 | } | |
2967 | } | |
f6bcfd97 BP |
2968 | { |
2969 | wxPy_BEGIN_ALLOW_THREADS; | |
fe47ec10 | 2970 | _result = (int )wxStyledTextCtrl_AutoCompPosStart(_arg0); |
f6bcfd97 BP |
2971 | |
2972 | wxPy_END_ALLOW_THREADS; | |
fe47ec10 | 2973 | } _resultobj = Py_BuildValue("i",_result); |
f6bcfd97 BP |
2974 | return _resultobj; |
2975 | } | |
2976 | ||
fe47ec10 RD |
2977 | #define wxStyledTextCtrl_AutoCompComplete(_swigobj) (_swigobj->AutoCompComplete()) |
2978 | static PyObject *_wrap_wxStyledTextCtrl_AutoCompComplete(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 BP |
2979 | PyObject * _resultobj; |
2980 | wxStyledTextCtrl * _arg0; | |
f6bcfd97 | 2981 | PyObject * _argo0 = 0; |
fe47ec10 | 2982 | char *_kwnames[] = { "self", NULL }; |
f6bcfd97 BP |
2983 | |
2984 | self = self; | |
fe47ec10 | 2985 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_AutoCompComplete",_kwnames,&_argo0)) |
f6bcfd97 BP |
2986 | return NULL; |
2987 | if (_argo0) { | |
2988 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2989 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 2990 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_AutoCompComplete. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
2991 | return NULL; |
2992 | } | |
2993 | } | |
2994 | { | |
2995 | wxPy_BEGIN_ALLOW_THREADS; | |
fe47ec10 | 2996 | wxStyledTextCtrl_AutoCompComplete(_arg0); |
f6bcfd97 BP |
2997 | |
2998 | wxPy_END_ALLOW_THREADS; | |
2999 | } Py_INCREF(Py_None); | |
3000 | _resultobj = Py_None; | |
3001 | return _resultobj; | |
3002 | } | |
3003 | ||
fe47ec10 RD |
3004 | #define wxStyledTextCtrl_AutoCompStops(_swigobj,_swigarg0) (_swigobj->AutoCompStops(_swigarg0)) |
3005 | static PyObject *_wrap_wxStyledTextCtrl_AutoCompStops(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 BP |
3006 | PyObject * _resultobj; |
3007 | wxStyledTextCtrl * _arg0; | |
fe47ec10 | 3008 | wxString * _arg1; |
f6bcfd97 | 3009 | PyObject * _argo0 = 0; |
fe47ec10 RD |
3010 | PyObject * _obj1 = 0; |
3011 | char *_kwnames[] = { "self","characterSet", NULL }; | |
f6bcfd97 BP |
3012 | |
3013 | self = self; | |
fe47ec10 | 3014 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxStyledTextCtrl_AutoCompStops",_kwnames,&_argo0,&_obj1)) |
f6bcfd97 BP |
3015 | return NULL; |
3016 | if (_argo0) { | |
3017 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3018 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 3019 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_AutoCompStops. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
3020 | return NULL; |
3021 | } | |
3022 | } | |
3023 | { | |
185d7c3e RD |
3024 | #if PYTHON_API_VERSION >= 1009 |
3025 | char* tmpPtr; int tmpSize; | |
3026 | if (!PyString_Check(_obj1) && !PyUnicode_Check(_obj1)) { | |
3027 | PyErr_SetString(PyExc_TypeError, "String or Unicode type required"); | |
3028 | return NULL; | |
3029 | } | |
3030 | if (PyString_AsStringAndSize(_obj1, &tmpPtr, &tmpSize) == -1) | |
3031 | return NULL; | |
3032 | _arg1 = new wxString(tmpPtr, tmpSize); | |
3033 | #else | |
fe47ec10 | 3034 | if (!PyString_Check(_obj1)) { |
f6bcfd97 BP |
3035 | PyErr_SetString(PyExc_TypeError, wxStringErrorMsg); |
3036 | return NULL; | |
3037 | } | |
185d7c3e RD |
3038 | _arg1 = new wxString(PyString_AS_STRING(_obj1), PyString_GET_SIZE(_obj1)); |
3039 | #endif | |
f6bcfd97 | 3040 | } |
f6bcfd97 BP |
3041 | { |
3042 | wxPy_BEGIN_ALLOW_THREADS; | |
fe47ec10 | 3043 | wxStyledTextCtrl_AutoCompStops(_arg0,*_arg1); |
f6bcfd97 BP |
3044 | |
3045 | wxPy_END_ALLOW_THREADS; | |
3046 | } Py_INCREF(Py_None); | |
3047 | _resultobj = Py_None; | |
3048 | { | |
fe47ec10 RD |
3049 | if (_obj1) |
3050 | delete _arg1; | |
f6bcfd97 BP |
3051 | } |
3052 | return _resultobj; | |
3053 | } | |
3054 | ||
fe47ec10 RD |
3055 | #define wxStyledTextCtrl_AutoCompSetSeparator(_swigobj,_swigarg0) (_swigobj->AutoCompSetSeparator(_swigarg0)) |
3056 | static PyObject *_wrap_wxStyledTextCtrl_AutoCompSetSeparator(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 BP |
3057 | PyObject * _resultobj; |
3058 | wxStyledTextCtrl * _arg0; | |
3059 | int _arg1; | |
f6bcfd97 | 3060 | PyObject * _argo0 = 0; |
fe47ec10 | 3061 | char *_kwnames[] = { "self","separatorCharacter", NULL }; |
f6bcfd97 BP |
3062 | |
3063 | self = self; | |
fe47ec10 | 3064 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_AutoCompSetSeparator",_kwnames,&_argo0,&_arg1)) |
f6bcfd97 BP |
3065 | return NULL; |
3066 | if (_argo0) { | |
3067 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3068 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 3069 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_AutoCompSetSeparator. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
3070 | return NULL; |
3071 | } | |
3072 | } | |
f6bcfd97 BP |
3073 | { |
3074 | wxPy_BEGIN_ALLOW_THREADS; | |
fe47ec10 | 3075 | wxStyledTextCtrl_AutoCompSetSeparator(_arg0,_arg1); |
f6bcfd97 BP |
3076 | |
3077 | wxPy_END_ALLOW_THREADS; | |
3078 | } Py_INCREF(Py_None); | |
3079 | _resultobj = Py_None; | |
3080 | return _resultobj; | |
3081 | } | |
3082 | ||
fe47ec10 RD |
3083 | #define wxStyledTextCtrl_AutoCompGetSeparator(_swigobj) (_swigobj->AutoCompGetSeparator()) |
3084 | static PyObject *_wrap_wxStyledTextCtrl_AutoCompGetSeparator(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 | 3085 | PyObject * _resultobj; |
fe47ec10 | 3086 | int _result; |
f6bcfd97 | 3087 | wxStyledTextCtrl * _arg0; |
f6bcfd97 | 3088 | PyObject * _argo0 = 0; |
fe47ec10 | 3089 | char *_kwnames[] = { "self", NULL }; |
f6bcfd97 BP |
3090 | |
3091 | self = self; | |
fe47ec10 | 3092 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_AutoCompGetSeparator",_kwnames,&_argo0)) |
f6bcfd97 BP |
3093 | return NULL; |
3094 | if (_argo0) { | |
3095 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3096 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 3097 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_AutoCompGetSeparator. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
3098 | return NULL; |
3099 | } | |
3100 | } | |
f6bcfd97 BP |
3101 | { |
3102 | wxPy_BEGIN_ALLOW_THREADS; | |
fe47ec10 | 3103 | _result = (int )wxStyledTextCtrl_AutoCompGetSeparator(_arg0); |
f6bcfd97 BP |
3104 | |
3105 | wxPy_END_ALLOW_THREADS; | |
fe47ec10 | 3106 | } _resultobj = Py_BuildValue("i",_result); |
f6bcfd97 BP |
3107 | return _resultobj; |
3108 | } | |
3109 | ||
fe47ec10 RD |
3110 | #define wxStyledTextCtrl_AutoCompSelect(_swigobj,_swigarg0) (_swigobj->AutoCompSelect(_swigarg0)) |
3111 | static PyObject *_wrap_wxStyledTextCtrl_AutoCompSelect(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 BP |
3112 | PyObject * _resultobj; |
3113 | wxStyledTextCtrl * _arg0; | |
fe47ec10 | 3114 | wxString * _arg1; |
f6bcfd97 | 3115 | PyObject * _argo0 = 0; |
fe47ec10 RD |
3116 | PyObject * _obj1 = 0; |
3117 | char *_kwnames[] = { "self","text", NULL }; | |
f6bcfd97 BP |
3118 | |
3119 | self = self; | |
fe47ec10 | 3120 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxStyledTextCtrl_AutoCompSelect",_kwnames,&_argo0,&_obj1)) |
f6bcfd97 BP |
3121 | return NULL; |
3122 | if (_argo0) { | |
3123 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3124 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 3125 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_AutoCompSelect. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
3126 | return NULL; |
3127 | } | |
3128 | } | |
3129 | { | |
185d7c3e RD |
3130 | #if PYTHON_API_VERSION >= 1009 |
3131 | char* tmpPtr; int tmpSize; | |
3132 | if (!PyString_Check(_obj1) && !PyUnicode_Check(_obj1)) { | |
3133 | PyErr_SetString(PyExc_TypeError, "String or Unicode type required"); | |
3134 | return NULL; | |
3135 | } | |
3136 | if (PyString_AsStringAndSize(_obj1, &tmpPtr, &tmpSize) == -1) | |
3137 | return NULL; | |
3138 | _arg1 = new wxString(tmpPtr, tmpSize); | |
3139 | #else | |
fe47ec10 | 3140 | if (!PyString_Check(_obj1)) { |
f6bcfd97 BP |
3141 | PyErr_SetString(PyExc_TypeError, wxStringErrorMsg); |
3142 | return NULL; | |
3143 | } | |
185d7c3e RD |
3144 | _arg1 = new wxString(PyString_AS_STRING(_obj1), PyString_GET_SIZE(_obj1)); |
3145 | #endif | |
f6bcfd97 BP |
3146 | } |
3147 | { | |
3148 | wxPy_BEGIN_ALLOW_THREADS; | |
fe47ec10 | 3149 | wxStyledTextCtrl_AutoCompSelect(_arg0,*_arg1); |
f6bcfd97 BP |
3150 | |
3151 | wxPy_END_ALLOW_THREADS; | |
3152 | } Py_INCREF(Py_None); | |
3153 | _resultobj = Py_None; | |
3154 | { | |
fe47ec10 RD |
3155 | if (_obj1) |
3156 | delete _arg1; | |
f6bcfd97 BP |
3157 | } |
3158 | return _resultobj; | |
3159 | } | |
3160 | ||
fe47ec10 RD |
3161 | #define wxStyledTextCtrl_AutoCompSetCancelAtStart(_swigobj,_swigarg0) (_swigobj->AutoCompSetCancelAtStart(_swigarg0)) |
3162 | static PyObject *_wrap_wxStyledTextCtrl_AutoCompSetCancelAtStart(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 BP |
3163 | PyObject * _resultobj; |
3164 | wxStyledTextCtrl * _arg0; | |
fe47ec10 | 3165 | bool _arg1; |
f6bcfd97 | 3166 | PyObject * _argo0 = 0; |
fe47ec10 RD |
3167 | int tempbool1; |
3168 | char *_kwnames[] = { "self","cancel", NULL }; | |
f6bcfd97 BP |
3169 | |
3170 | self = self; | |
fe47ec10 | 3171 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_AutoCompSetCancelAtStart",_kwnames,&_argo0,&tempbool1)) |
f6bcfd97 BP |
3172 | return NULL; |
3173 | if (_argo0) { | |
3174 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3175 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 3176 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_AutoCompSetCancelAtStart. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
3177 | return NULL; |
3178 | } | |
3179 | } | |
fe47ec10 | 3180 | _arg1 = (bool ) tempbool1; |
f6bcfd97 BP |
3181 | { |
3182 | wxPy_BEGIN_ALLOW_THREADS; | |
fe47ec10 | 3183 | wxStyledTextCtrl_AutoCompSetCancelAtStart(_arg0,_arg1); |
f6bcfd97 BP |
3184 | |
3185 | wxPy_END_ALLOW_THREADS; | |
3186 | } Py_INCREF(Py_None); | |
3187 | _resultobj = Py_None; | |
3188 | return _resultobj; | |
3189 | } | |
3190 | ||
fe47ec10 RD |
3191 | #define wxStyledTextCtrl_AutoCompGetCancelAtStart(_swigobj) (_swigobj->AutoCompGetCancelAtStart()) |
3192 | static PyObject *_wrap_wxStyledTextCtrl_AutoCompGetCancelAtStart(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 | 3193 | PyObject * _resultobj; |
fe47ec10 | 3194 | bool _result; |
f6bcfd97 | 3195 | wxStyledTextCtrl * _arg0; |
f6bcfd97 | 3196 | PyObject * _argo0 = 0; |
fe47ec10 | 3197 | char *_kwnames[] = { "self", NULL }; |
f6bcfd97 BP |
3198 | |
3199 | self = self; | |
fe47ec10 | 3200 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_AutoCompGetCancelAtStart",_kwnames,&_argo0)) |
f6bcfd97 BP |
3201 | return NULL; |
3202 | if (_argo0) { | |
3203 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3204 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 3205 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_AutoCompGetCancelAtStart. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
3206 | return NULL; |
3207 | } | |
3208 | } | |
f6bcfd97 BP |
3209 | { |
3210 | wxPy_BEGIN_ALLOW_THREADS; | |
fe47ec10 | 3211 | _result = (bool )wxStyledTextCtrl_AutoCompGetCancelAtStart(_arg0); |
f6bcfd97 BP |
3212 | |
3213 | wxPy_END_ALLOW_THREADS; | |
fe47ec10 | 3214 | } _resultobj = Py_BuildValue("i",_result); |
f6bcfd97 BP |
3215 | return _resultobj; |
3216 | } | |
3217 | ||
fe47ec10 RD |
3218 | #define wxStyledTextCtrl_AutoCompSetFillUps(_swigobj,_swigarg0) (_swigobj->AutoCompSetFillUps(_swigarg0)) |
3219 | static PyObject *_wrap_wxStyledTextCtrl_AutoCompSetFillUps(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 BP |
3220 | PyObject * _resultobj; |
3221 | wxStyledTextCtrl * _arg0; | |
fe47ec10 | 3222 | wxString * _arg1; |
f6bcfd97 | 3223 | PyObject * _argo0 = 0; |
fe47ec10 RD |
3224 | PyObject * _obj1 = 0; |
3225 | char *_kwnames[] = { "self","characterSet", NULL }; | |
f6bcfd97 BP |
3226 | |
3227 | self = self; | |
fe47ec10 | 3228 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxStyledTextCtrl_AutoCompSetFillUps",_kwnames,&_argo0,&_obj1)) |
f6bcfd97 BP |
3229 | return NULL; |
3230 | if (_argo0) { | |
3231 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3232 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 3233 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_AutoCompSetFillUps. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
3234 | return NULL; |
3235 | } | |
3236 | } | |
fe47ec10 | 3237 | { |
185d7c3e RD |
3238 | #if PYTHON_API_VERSION >= 1009 |
3239 | char* tmpPtr; int tmpSize; | |
3240 | if (!PyString_Check(_obj1) && !PyUnicode_Check(_obj1)) { | |
3241 | PyErr_SetString(PyExc_TypeError, "String or Unicode type required"); | |
3242 | return NULL; | |
3243 | } | |
3244 | if (PyString_AsStringAndSize(_obj1, &tmpPtr, &tmpSize) == -1) | |
3245 | return NULL; | |
3246 | _arg1 = new wxString(tmpPtr, tmpSize); | |
3247 | #else | |
fe47ec10 RD |
3248 | if (!PyString_Check(_obj1)) { |
3249 | PyErr_SetString(PyExc_TypeError, wxStringErrorMsg); | |
3250 | return NULL; | |
3251 | } | |
185d7c3e RD |
3252 | _arg1 = new wxString(PyString_AS_STRING(_obj1), PyString_GET_SIZE(_obj1)); |
3253 | #endif | |
fe47ec10 | 3254 | } |
f6bcfd97 BP |
3255 | { |
3256 | wxPy_BEGIN_ALLOW_THREADS; | |
fe47ec10 | 3257 | wxStyledTextCtrl_AutoCompSetFillUps(_arg0,*_arg1); |
f6bcfd97 BP |
3258 | |
3259 | wxPy_END_ALLOW_THREADS; | |
3260 | } Py_INCREF(Py_None); | |
3261 | _resultobj = Py_None; | |
fe47ec10 RD |
3262 | { |
3263 | if (_obj1) | |
3264 | delete _arg1; | |
3265 | } | |
f6bcfd97 BP |
3266 | return _resultobj; |
3267 | } | |
3268 | ||
fe47ec10 RD |
3269 | #define wxStyledTextCtrl_AutoCompSetChooseSingle(_swigobj,_swigarg0) (_swigobj->AutoCompSetChooseSingle(_swigarg0)) |
3270 | static PyObject *_wrap_wxStyledTextCtrl_AutoCompSetChooseSingle(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 | 3271 | PyObject * _resultobj; |
f6bcfd97 | 3272 | wxStyledTextCtrl * _arg0; |
fe47ec10 | 3273 | bool _arg1; |
f6bcfd97 | 3274 | PyObject * _argo0 = 0; |
fe47ec10 RD |
3275 | int tempbool1; |
3276 | char *_kwnames[] = { "self","chooseSingle", NULL }; | |
f6bcfd97 BP |
3277 | |
3278 | self = self; | |
fe47ec10 | 3279 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_AutoCompSetChooseSingle",_kwnames,&_argo0,&tempbool1)) |
f6bcfd97 BP |
3280 | return NULL; |
3281 | if (_argo0) { | |
3282 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3283 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 3284 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_AutoCompSetChooseSingle. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
3285 | return NULL; |
3286 | } | |
3287 | } | |
fe47ec10 | 3288 | _arg1 = (bool ) tempbool1; |
f6bcfd97 BP |
3289 | { |
3290 | wxPy_BEGIN_ALLOW_THREADS; | |
fe47ec10 | 3291 | wxStyledTextCtrl_AutoCompSetChooseSingle(_arg0,_arg1); |
f6bcfd97 BP |
3292 | |
3293 | wxPy_END_ALLOW_THREADS; | |
fe47ec10 RD |
3294 | } Py_INCREF(Py_None); |
3295 | _resultobj = Py_None; | |
f6bcfd97 BP |
3296 | return _resultobj; |
3297 | } | |
3298 | ||
fe47ec10 RD |
3299 | #define wxStyledTextCtrl_AutoCompGetChooseSingle(_swigobj) (_swigobj->AutoCompGetChooseSingle()) |
3300 | static PyObject *_wrap_wxStyledTextCtrl_AutoCompGetChooseSingle(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 | 3301 | PyObject * _resultobj; |
fe47ec10 | 3302 | bool _result; |
f6bcfd97 BP |
3303 | wxStyledTextCtrl * _arg0; |
3304 | PyObject * _argo0 = 0; | |
3305 | char *_kwnames[] = { "self", NULL }; | |
3306 | ||
3307 | self = self; | |
fe47ec10 | 3308 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_AutoCompGetChooseSingle",_kwnames,&_argo0)) |
f6bcfd97 BP |
3309 | return NULL; |
3310 | if (_argo0) { | |
3311 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3312 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 3313 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_AutoCompGetChooseSingle. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
3314 | return NULL; |
3315 | } | |
3316 | } | |
3317 | { | |
3318 | wxPy_BEGIN_ALLOW_THREADS; | |
fe47ec10 | 3319 | _result = (bool )wxStyledTextCtrl_AutoCompGetChooseSingle(_arg0); |
f6bcfd97 BP |
3320 | |
3321 | wxPy_END_ALLOW_THREADS; | |
3322 | } _resultobj = Py_BuildValue("i",_result); | |
3323 | return _resultobj; | |
3324 | } | |
3325 | ||
fe47ec10 RD |
3326 | #define wxStyledTextCtrl_AutoCompSetIgnoreCase(_swigobj,_swigarg0) (_swigobj->AutoCompSetIgnoreCase(_swigarg0)) |
3327 | static PyObject *_wrap_wxStyledTextCtrl_AutoCompSetIgnoreCase(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 BP |
3328 | PyObject * _resultobj; |
3329 | wxStyledTextCtrl * _arg0; | |
fe47ec10 | 3330 | bool _arg1; |
f6bcfd97 | 3331 | PyObject * _argo0 = 0; |
fe47ec10 RD |
3332 | int tempbool1; |
3333 | char *_kwnames[] = { "self","ignoreCase", NULL }; | |
f6bcfd97 BP |
3334 | |
3335 | self = self; | |
fe47ec10 | 3336 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_AutoCompSetIgnoreCase",_kwnames,&_argo0,&tempbool1)) |
f6bcfd97 BP |
3337 | return NULL; |
3338 | if (_argo0) { | |
3339 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3340 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 3341 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_AutoCompSetIgnoreCase. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
3342 | return NULL; |
3343 | } | |
3344 | } | |
fe47ec10 | 3345 | _arg1 = (bool ) tempbool1; |
f6bcfd97 BP |
3346 | { |
3347 | wxPy_BEGIN_ALLOW_THREADS; | |
fe47ec10 | 3348 | wxStyledTextCtrl_AutoCompSetIgnoreCase(_arg0,_arg1); |
f6bcfd97 BP |
3349 | |
3350 | wxPy_END_ALLOW_THREADS; | |
3351 | } Py_INCREF(Py_None); | |
3352 | _resultobj = Py_None; | |
3353 | return _resultobj; | |
3354 | } | |
3355 | ||
fe47ec10 RD |
3356 | #define wxStyledTextCtrl_AutoCompGetIgnoreCase(_swigobj) (_swigobj->AutoCompGetIgnoreCase()) |
3357 | static PyObject *_wrap_wxStyledTextCtrl_AutoCompGetIgnoreCase(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3358 | PyObject * _resultobj; | |
3359 | bool _result; | |
3360 | wxStyledTextCtrl * _arg0; | |
3361 | PyObject * _argo0 = 0; | |
3362 | char *_kwnames[] = { "self", NULL }; | |
3363 | ||
3364 | self = self; | |
3365 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_AutoCompGetIgnoreCase",_kwnames,&_argo0)) | |
3366 | return NULL; | |
3367 | if (_argo0) { | |
3368 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3369 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
3370 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_AutoCompGetIgnoreCase. Expected _wxStyledTextCtrl_p."); | |
3371 | return NULL; | |
3372 | } | |
3373 | } | |
3374 | { | |
3375 | wxPy_BEGIN_ALLOW_THREADS; | |
3376 | _result = (bool )wxStyledTextCtrl_AutoCompGetIgnoreCase(_arg0); | |
3377 | ||
3378 | wxPy_END_ALLOW_THREADS; | |
3379 | } _resultobj = Py_BuildValue("i",_result); | |
3380 | return _resultobj; | |
3381 | } | |
3382 | ||
3383 | #define wxStyledTextCtrl_SetIndent(_swigobj,_swigarg0) (_swigobj->SetIndent(_swigarg0)) | |
3384 | static PyObject *_wrap_wxStyledTextCtrl_SetIndent(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 BP |
3385 | PyObject * _resultobj; |
3386 | wxStyledTextCtrl * _arg0; | |
3387 | int _arg1; | |
f6bcfd97 | 3388 | PyObject * _argo0 = 0; |
fe47ec10 | 3389 | char *_kwnames[] = { "self","indentSize", NULL }; |
f6bcfd97 BP |
3390 | |
3391 | self = self; | |
fe47ec10 | 3392 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_SetIndent",_kwnames,&_argo0,&_arg1)) |
f6bcfd97 BP |
3393 | return NULL; |
3394 | if (_argo0) { | |
3395 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3396 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 3397 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetIndent. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
3398 | return NULL; |
3399 | } | |
3400 | } | |
3401 | { | |
3402 | wxPy_BEGIN_ALLOW_THREADS; | |
fe47ec10 | 3403 | wxStyledTextCtrl_SetIndent(_arg0,_arg1); |
f6bcfd97 BP |
3404 | |
3405 | wxPy_END_ALLOW_THREADS; | |
3406 | } Py_INCREF(Py_None); | |
3407 | _resultobj = Py_None; | |
3408 | return _resultobj; | |
3409 | } | |
3410 | ||
fe47ec10 RD |
3411 | #define wxStyledTextCtrl_GetIndent(_swigobj) (_swigobj->GetIndent()) |
3412 | static PyObject *_wrap_wxStyledTextCtrl_GetIndent(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 BP |
3413 | PyObject * _resultobj; |
3414 | int _result; | |
3415 | wxStyledTextCtrl * _arg0; | |
f6bcfd97 | 3416 | PyObject * _argo0 = 0; |
fe47ec10 | 3417 | char *_kwnames[] = { "self", NULL }; |
f6bcfd97 BP |
3418 | |
3419 | self = self; | |
fe47ec10 | 3420 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetIndent",_kwnames,&_argo0)) |
f6bcfd97 BP |
3421 | return NULL; |
3422 | if (_argo0) { | |
3423 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3424 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 3425 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetIndent. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
3426 | return NULL; |
3427 | } | |
3428 | } | |
3429 | { | |
3430 | wxPy_BEGIN_ALLOW_THREADS; | |
fe47ec10 | 3431 | _result = (int )wxStyledTextCtrl_GetIndent(_arg0); |
f6bcfd97 BP |
3432 | |
3433 | wxPy_END_ALLOW_THREADS; | |
3434 | } _resultobj = Py_BuildValue("i",_result); | |
3435 | return _resultobj; | |
3436 | } | |
3437 | ||
fe47ec10 RD |
3438 | #define wxStyledTextCtrl_SetUseTabs(_swigobj,_swigarg0) (_swigobj->SetUseTabs(_swigarg0)) |
3439 | static PyObject *_wrap_wxStyledTextCtrl_SetUseTabs(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 BP |
3440 | PyObject * _resultobj; |
3441 | wxStyledTextCtrl * _arg0; | |
fe47ec10 | 3442 | bool _arg1; |
f6bcfd97 | 3443 | PyObject * _argo0 = 0; |
fe47ec10 RD |
3444 | int tempbool1; |
3445 | char *_kwnames[] = { "self","useTabs", NULL }; | |
f6bcfd97 BP |
3446 | |
3447 | self = self; | |
fe47ec10 | 3448 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_SetUseTabs",_kwnames,&_argo0,&tempbool1)) |
f6bcfd97 BP |
3449 | return NULL; |
3450 | if (_argo0) { | |
3451 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3452 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 3453 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetUseTabs. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
3454 | return NULL; |
3455 | } | |
3456 | } | |
fe47ec10 | 3457 | _arg1 = (bool ) tempbool1; |
f6bcfd97 BP |
3458 | { |
3459 | wxPy_BEGIN_ALLOW_THREADS; | |
fe47ec10 | 3460 | wxStyledTextCtrl_SetUseTabs(_arg0,_arg1); |
f6bcfd97 BP |
3461 | |
3462 | wxPy_END_ALLOW_THREADS; | |
3463 | } Py_INCREF(Py_None); | |
3464 | _resultobj = Py_None; | |
3465 | return _resultobj; | |
3466 | } | |
3467 | ||
fe47ec10 RD |
3468 | #define wxStyledTextCtrl_GetUseTabs(_swigobj) (_swigobj->GetUseTabs()) |
3469 | static PyObject *_wrap_wxStyledTextCtrl_GetUseTabs(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 | 3470 | PyObject * _resultobj; |
fe47ec10 | 3471 | bool _result; |
f6bcfd97 | 3472 | wxStyledTextCtrl * _arg0; |
f6bcfd97 | 3473 | PyObject * _argo0 = 0; |
fe47ec10 | 3474 | char *_kwnames[] = { "self", NULL }; |
f6bcfd97 BP |
3475 | |
3476 | self = self; | |
fe47ec10 | 3477 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetUseTabs",_kwnames,&_argo0)) |
f6bcfd97 BP |
3478 | return NULL; |
3479 | if (_argo0) { | |
3480 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3481 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 3482 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetUseTabs. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
3483 | return NULL; |
3484 | } | |
3485 | } | |
3486 | { | |
3487 | wxPy_BEGIN_ALLOW_THREADS; | |
fe47ec10 | 3488 | _result = (bool )wxStyledTextCtrl_GetUseTabs(_arg0); |
f6bcfd97 BP |
3489 | |
3490 | wxPy_END_ALLOW_THREADS; | |
3491 | } _resultobj = Py_BuildValue("i",_result); | |
3492 | return _resultobj; | |
3493 | } | |
3494 | ||
fe47ec10 RD |
3495 | #define wxStyledTextCtrl_SetLineIndentation(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetLineIndentation(_swigarg0,_swigarg1)) |
3496 | static PyObject *_wrap_wxStyledTextCtrl_SetLineIndentation(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 BP |
3497 | PyObject * _resultobj; |
3498 | wxStyledTextCtrl * _arg0; | |
3499 | int _arg1; | |
3500 | int _arg2; | |
3501 | PyObject * _argo0 = 0; | |
fe47ec10 | 3502 | char *_kwnames[] = { "self","line","indentSize", NULL }; |
f6bcfd97 BP |
3503 | |
3504 | self = self; | |
fe47ec10 | 3505 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxStyledTextCtrl_SetLineIndentation",_kwnames,&_argo0,&_arg1,&_arg2)) |
f6bcfd97 BP |
3506 | return NULL; |
3507 | if (_argo0) { | |
3508 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3509 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 3510 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetLineIndentation. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
3511 | return NULL; |
3512 | } | |
3513 | } | |
3514 | { | |
3515 | wxPy_BEGIN_ALLOW_THREADS; | |
fe47ec10 | 3516 | wxStyledTextCtrl_SetLineIndentation(_arg0,_arg1,_arg2); |
f6bcfd97 BP |
3517 | |
3518 | wxPy_END_ALLOW_THREADS; | |
3519 | } Py_INCREF(Py_None); | |
3520 | _resultobj = Py_None; | |
3521 | return _resultobj; | |
3522 | } | |
3523 | ||
fe47ec10 RD |
3524 | #define wxStyledTextCtrl_GetLineIndentation(_swigobj,_swigarg0) (_swigobj->GetLineIndentation(_swigarg0)) |
3525 | static PyObject *_wrap_wxStyledTextCtrl_GetLineIndentation(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 BP |
3526 | PyObject * _resultobj; |
3527 | int _result; | |
3528 | wxStyledTextCtrl * _arg0; | |
3529 | int _arg1; | |
3530 | PyObject * _argo0 = 0; | |
fe47ec10 | 3531 | char *_kwnames[] = { "self","line", NULL }; |
f6bcfd97 BP |
3532 | |
3533 | self = self; | |
fe47ec10 | 3534 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_GetLineIndentation",_kwnames,&_argo0,&_arg1)) |
f6bcfd97 BP |
3535 | return NULL; |
3536 | if (_argo0) { | |
3537 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3538 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 3539 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetLineIndentation. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
3540 | return NULL; |
3541 | } | |
3542 | } | |
3543 | { | |
3544 | wxPy_BEGIN_ALLOW_THREADS; | |
fe47ec10 | 3545 | _result = (int )wxStyledTextCtrl_GetLineIndentation(_arg0,_arg1); |
f6bcfd97 BP |
3546 | |
3547 | wxPy_END_ALLOW_THREADS; | |
3548 | } _resultobj = Py_BuildValue("i",_result); | |
3549 | return _resultobj; | |
3550 | } | |
3551 | ||
fe47ec10 RD |
3552 | #define wxStyledTextCtrl_GetLineIndentPosition(_swigobj,_swigarg0) (_swigobj->GetLineIndentPosition(_swigarg0)) |
3553 | static PyObject *_wrap_wxStyledTextCtrl_GetLineIndentPosition(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 | 3554 | PyObject * _resultobj; |
fe47ec10 | 3555 | int _result; |
f6bcfd97 BP |
3556 | wxStyledTextCtrl * _arg0; |
3557 | int _arg1; | |
f6bcfd97 | 3558 | PyObject * _argo0 = 0; |
fe47ec10 | 3559 | char *_kwnames[] = { "self","line", NULL }; |
f6bcfd97 BP |
3560 | |
3561 | self = self; | |
fe47ec10 | 3562 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_GetLineIndentPosition",_kwnames,&_argo0,&_arg1)) |
f6bcfd97 BP |
3563 | return NULL; |
3564 | if (_argo0) { | |
3565 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3566 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 3567 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetLineIndentPosition. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
3568 | return NULL; |
3569 | } | |
3570 | } | |
f6bcfd97 BP |
3571 | { |
3572 | wxPy_BEGIN_ALLOW_THREADS; | |
fe47ec10 | 3573 | _result = (int )wxStyledTextCtrl_GetLineIndentPosition(_arg0,_arg1); |
f6bcfd97 BP |
3574 | |
3575 | wxPy_END_ALLOW_THREADS; | |
fe47ec10 | 3576 | } _resultobj = Py_BuildValue("i",_result); |
f6bcfd97 BP |
3577 | return _resultobj; |
3578 | } | |
3579 | ||
fe47ec10 RD |
3580 | #define wxStyledTextCtrl_GetColumn(_swigobj,_swigarg0) (_swigobj->GetColumn(_swigarg0)) |
3581 | static PyObject *_wrap_wxStyledTextCtrl_GetColumn(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 | 3582 | PyObject * _resultobj; |
fe47ec10 | 3583 | int _result; |
f6bcfd97 BP |
3584 | wxStyledTextCtrl * _arg0; |
3585 | int _arg1; | |
3586 | PyObject * _argo0 = 0; | |
fe47ec10 | 3587 | char *_kwnames[] = { "self","pos", NULL }; |
f6bcfd97 BP |
3588 | |
3589 | self = self; | |
fe47ec10 | 3590 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_GetColumn",_kwnames,&_argo0,&_arg1)) |
f6bcfd97 BP |
3591 | return NULL; |
3592 | if (_argo0) { | |
3593 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3594 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 3595 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetColumn. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
3596 | return NULL; |
3597 | } | |
3598 | } | |
3599 | { | |
3600 | wxPy_BEGIN_ALLOW_THREADS; | |
fe47ec10 | 3601 | _result = (int )wxStyledTextCtrl_GetColumn(_arg0,_arg1); |
f6bcfd97 BP |
3602 | |
3603 | wxPy_END_ALLOW_THREADS; | |
3604 | } _resultobj = Py_BuildValue("i",_result); | |
3605 | return _resultobj; | |
3606 | } | |
3607 | ||
fe47ec10 RD |
3608 | #define wxStyledTextCtrl_SetUseHorizontalScrollBar(_swigobj,_swigarg0) (_swigobj->SetUseHorizontalScrollBar(_swigarg0)) |
3609 | static PyObject *_wrap_wxStyledTextCtrl_SetUseHorizontalScrollBar(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 BP |
3610 | PyObject * _resultobj; |
3611 | wxStyledTextCtrl * _arg0; | |
fe47ec10 | 3612 | bool _arg1; |
f6bcfd97 | 3613 | PyObject * _argo0 = 0; |
fe47ec10 RD |
3614 | int tempbool1; |
3615 | char *_kwnames[] = { "self","show", NULL }; | |
f6bcfd97 BP |
3616 | |
3617 | self = self; | |
fe47ec10 | 3618 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_SetUseHorizontalScrollBar",_kwnames,&_argo0,&tempbool1)) |
f6bcfd97 BP |
3619 | return NULL; |
3620 | if (_argo0) { | |
3621 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3622 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 3623 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetUseHorizontalScrollBar. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
3624 | return NULL; |
3625 | } | |
3626 | } | |
fe47ec10 | 3627 | _arg1 = (bool ) tempbool1; |
f6bcfd97 BP |
3628 | { |
3629 | wxPy_BEGIN_ALLOW_THREADS; | |
fe47ec10 | 3630 | wxStyledTextCtrl_SetUseHorizontalScrollBar(_arg0,_arg1); |
f6bcfd97 BP |
3631 | |
3632 | wxPy_END_ALLOW_THREADS; | |
3633 | } Py_INCREF(Py_None); | |
3634 | _resultobj = Py_None; | |
3635 | return _resultobj; | |
3636 | } | |
3637 | ||
fe47ec10 RD |
3638 | #define wxStyledTextCtrl_GetUseHorizontalScrollBar(_swigobj) (_swigobj->GetUseHorizontalScrollBar()) |
3639 | static PyObject *_wrap_wxStyledTextCtrl_GetUseHorizontalScrollBar(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 | 3640 | PyObject * _resultobj; |
fe47ec10 | 3641 | bool _result; |
f6bcfd97 | 3642 | wxStyledTextCtrl * _arg0; |
f6bcfd97 | 3643 | PyObject * _argo0 = 0; |
fe47ec10 | 3644 | char *_kwnames[] = { "self", NULL }; |
f6bcfd97 BP |
3645 | |
3646 | self = self; | |
fe47ec10 | 3647 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetUseHorizontalScrollBar",_kwnames,&_argo0)) |
f6bcfd97 BP |
3648 | return NULL; |
3649 | if (_argo0) { | |
3650 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3651 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 3652 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetUseHorizontalScrollBar. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
3653 | return NULL; |
3654 | } | |
3655 | } | |
f6bcfd97 BP |
3656 | { |
3657 | wxPy_BEGIN_ALLOW_THREADS; | |
fe47ec10 | 3658 | _result = (bool )wxStyledTextCtrl_GetUseHorizontalScrollBar(_arg0); |
f6bcfd97 BP |
3659 | |
3660 | wxPy_END_ALLOW_THREADS; | |
fe47ec10 | 3661 | } _resultobj = Py_BuildValue("i",_result); |
f6bcfd97 BP |
3662 | return _resultobj; |
3663 | } | |
3664 | ||
fe47ec10 RD |
3665 | #define wxStyledTextCtrl_SetIndentationGuides(_swigobj,_swigarg0) (_swigobj->SetIndentationGuides(_swigarg0)) |
3666 | static PyObject *_wrap_wxStyledTextCtrl_SetIndentationGuides(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 BP |
3667 | PyObject * _resultobj; |
3668 | wxStyledTextCtrl * _arg0; | |
fe47ec10 | 3669 | bool _arg1; |
f6bcfd97 | 3670 | PyObject * _argo0 = 0; |
fe47ec10 RD |
3671 | int tempbool1; |
3672 | char *_kwnames[] = { "self","show", NULL }; | |
f6bcfd97 BP |
3673 | |
3674 | self = self; | |
fe47ec10 | 3675 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_SetIndentationGuides",_kwnames,&_argo0,&tempbool1)) |
f6bcfd97 BP |
3676 | return NULL; |
3677 | if (_argo0) { | |
3678 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3679 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 3680 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetIndentationGuides. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
3681 | return NULL; |
3682 | } | |
3683 | } | |
fe47ec10 | 3684 | _arg1 = (bool ) tempbool1; |
f6bcfd97 BP |
3685 | { |
3686 | wxPy_BEGIN_ALLOW_THREADS; | |
fe47ec10 | 3687 | wxStyledTextCtrl_SetIndentationGuides(_arg0,_arg1); |
f6bcfd97 BP |
3688 | |
3689 | wxPy_END_ALLOW_THREADS; | |
3690 | } Py_INCREF(Py_None); | |
3691 | _resultobj = Py_None; | |
3692 | return _resultobj; | |
3693 | } | |
3694 | ||
fe47ec10 RD |
3695 | #define wxStyledTextCtrl_GetIndentationGuides(_swigobj) (_swigobj->GetIndentationGuides()) |
3696 | static PyObject *_wrap_wxStyledTextCtrl_GetIndentationGuides(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 | 3697 | PyObject * _resultobj; |
fe47ec10 | 3698 | bool _result; |
f6bcfd97 BP |
3699 | wxStyledTextCtrl * _arg0; |
3700 | PyObject * _argo0 = 0; | |
3701 | char *_kwnames[] = { "self", NULL }; | |
3702 | ||
3703 | self = self; | |
fe47ec10 | 3704 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetIndentationGuides",_kwnames,&_argo0)) |
f6bcfd97 BP |
3705 | return NULL; |
3706 | if (_argo0) { | |
3707 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3708 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 3709 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetIndentationGuides. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
3710 | return NULL; |
3711 | } | |
3712 | } | |
3713 | { | |
3714 | wxPy_BEGIN_ALLOW_THREADS; | |
fe47ec10 | 3715 | _result = (bool )wxStyledTextCtrl_GetIndentationGuides(_arg0); |
f6bcfd97 BP |
3716 | |
3717 | wxPy_END_ALLOW_THREADS; | |
3718 | } _resultobj = Py_BuildValue("i",_result); | |
3719 | return _resultobj; | |
3720 | } | |
3721 | ||
fe47ec10 RD |
3722 | #define wxStyledTextCtrl_SetHighlightGuide(_swigobj,_swigarg0) (_swigobj->SetHighlightGuide(_swigarg0)) |
3723 | static PyObject *_wrap_wxStyledTextCtrl_SetHighlightGuide(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 BP |
3724 | PyObject * _resultobj; |
3725 | wxStyledTextCtrl * _arg0; | |
3726 | int _arg1; | |
3727 | PyObject * _argo0 = 0; | |
fe47ec10 | 3728 | char *_kwnames[] = { "self","column", NULL }; |
f6bcfd97 BP |
3729 | |
3730 | self = self; | |
fe47ec10 | 3731 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_SetHighlightGuide",_kwnames,&_argo0,&_arg1)) |
f6bcfd97 BP |
3732 | return NULL; |
3733 | if (_argo0) { | |
3734 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3735 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 3736 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetHighlightGuide. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
3737 | return NULL; |
3738 | } | |
3739 | } | |
3740 | { | |
3741 | wxPy_BEGIN_ALLOW_THREADS; | |
fe47ec10 | 3742 | wxStyledTextCtrl_SetHighlightGuide(_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_GetHighlightGuide(_swigobj) (_swigobj->GetHighlightGuide()) |
3751 | static PyObject *_wrap_wxStyledTextCtrl_GetHighlightGuide(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 | 3752 | PyObject * _resultobj; |
fe47ec10 | 3753 | int _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_GetHighlightGuide",_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_GetHighlightGuide. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
3765 | return NULL; |
3766 | } | |
3767 | } | |
f6bcfd97 BP |
3768 | { |
3769 | wxPy_BEGIN_ALLOW_THREADS; | |
fe47ec10 | 3770 | _result = (int )wxStyledTextCtrl_GetHighlightGuide(_arg0); |
f6bcfd97 BP |
3771 | |
3772 | wxPy_END_ALLOW_THREADS; | |
fe47ec10 | 3773 | } _resultobj = Py_BuildValue("i",_result); |
f6bcfd97 BP |
3774 | return _resultobj; |
3775 | } | |
3776 | ||
fe47ec10 RD |
3777 | #define wxStyledTextCtrl_GetLineEndPosition(_swigobj,_swigarg0) (_swigobj->GetLineEndPosition(_swigarg0)) |
3778 | static PyObject *_wrap_wxStyledTextCtrl_GetLineEndPosition(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 | 3779 | PyObject * _resultobj; |
fe47ec10 | 3780 | int _result; |
f6bcfd97 BP |
3781 | wxStyledTextCtrl * _arg0; |
3782 | int _arg1; | |
3783 | PyObject * _argo0 = 0; | |
fe47ec10 | 3784 | char *_kwnames[] = { "self","line", NULL }; |
f6bcfd97 BP |
3785 | |
3786 | self = self; | |
fe47ec10 | 3787 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_GetLineEndPosition",_kwnames,&_argo0,&_arg1)) |
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_GetLineEndPosition. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
3793 | return NULL; |
3794 | } | |
3795 | } | |
3796 | { | |
3797 | wxPy_BEGIN_ALLOW_THREADS; | |
fe47ec10 | 3798 | _result = (int )wxStyledTextCtrl_GetLineEndPosition(_arg0,_arg1); |
f6bcfd97 BP |
3799 | |
3800 | wxPy_END_ALLOW_THREADS; | |
fe47ec10 | 3801 | } _resultobj = Py_BuildValue("i",_result); |
f6bcfd97 BP |
3802 | return _resultobj; |
3803 | } | |
3804 | ||
fe47ec10 RD |
3805 | #define wxStyledTextCtrl_GetCodePage(_swigobj) (_swigobj->GetCodePage()) |
3806 | static PyObject *_wrap_wxStyledTextCtrl_GetCodePage(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 | 3807 | PyObject * _resultobj; |
fe47ec10 | 3808 | int _result; |
f6bcfd97 | 3809 | wxStyledTextCtrl * _arg0; |
f6bcfd97 | 3810 | PyObject * _argo0 = 0; |
fe47ec10 | 3811 | char *_kwnames[] = { "self", NULL }; |
f6bcfd97 BP |
3812 | |
3813 | self = self; | |
fe47ec10 | 3814 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetCodePage",_kwnames,&_argo0)) |
f6bcfd97 BP |
3815 | return NULL; |
3816 | if (_argo0) { | |
3817 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3818 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 3819 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetCodePage. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
3820 | return NULL; |
3821 | } | |
3822 | } | |
3823 | { | |
3824 | wxPy_BEGIN_ALLOW_THREADS; | |
fe47ec10 | 3825 | _result = (int )wxStyledTextCtrl_GetCodePage(_arg0); |
f6bcfd97 BP |
3826 | |
3827 | wxPy_END_ALLOW_THREADS; | |
fe47ec10 | 3828 | } _resultobj = Py_BuildValue("i",_result); |
f6bcfd97 BP |
3829 | return _resultobj; |
3830 | } | |
3831 | ||
fe47ec10 RD |
3832 | #define wxStyledTextCtrl_GetCaretForeground(_swigobj) (_swigobj->GetCaretForeground()) |
3833 | static PyObject *_wrap_wxStyledTextCtrl_GetCaretForeground(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 | 3834 | PyObject * _resultobj; |
fe47ec10 | 3835 | wxColour * _result; |
f6bcfd97 | 3836 | wxStyledTextCtrl * _arg0; |
f6bcfd97 | 3837 | PyObject * _argo0 = 0; |
fe47ec10 RD |
3838 | char *_kwnames[] = { "self", NULL }; |
3839 | char _ptemp[128]; | |
f6bcfd97 BP |
3840 | |
3841 | self = self; | |
fe47ec10 | 3842 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetCaretForeground",_kwnames,&_argo0)) |
f6bcfd97 BP |
3843 | return NULL; |
3844 | if (_argo0) { | |
3845 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3846 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 3847 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetCaretForeground. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
3848 | return NULL; |
3849 | } | |
3850 | } | |
f6bcfd97 BP |
3851 | { |
3852 | wxPy_BEGIN_ALLOW_THREADS; | |
fe47ec10 | 3853 | _result = new wxColour (wxStyledTextCtrl_GetCaretForeground(_arg0)); |
f6bcfd97 BP |
3854 | |
3855 | wxPy_END_ALLOW_THREADS; | |
fe47ec10 RD |
3856 | } SWIG_MakePtr(_ptemp, (void *) _result,"_wxColour_p"); |
3857 | _resultobj = Py_BuildValue("s",_ptemp); | |
f6bcfd97 BP |
3858 | return _resultobj; |
3859 | } | |
3860 | ||
fe47ec10 RD |
3861 | #define wxStyledTextCtrl_GetReadOnly(_swigobj) (_swigobj->GetReadOnly()) |
3862 | static PyObject *_wrap_wxStyledTextCtrl_GetReadOnly(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 | 3863 | PyObject * _resultobj; |
fe47ec10 | 3864 | bool _result; |
f6bcfd97 | 3865 | wxStyledTextCtrl * _arg0; |
f6bcfd97 | 3866 | PyObject * _argo0 = 0; |
fe47ec10 | 3867 | char *_kwnames[] = { "self", NULL }; |
f6bcfd97 BP |
3868 | |
3869 | self = self; | |
fe47ec10 | 3870 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetReadOnly",_kwnames,&_argo0)) |
f6bcfd97 BP |
3871 | return NULL; |
3872 | if (_argo0) { | |
3873 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3874 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 3875 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetReadOnly. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
3876 | return NULL; |
3877 | } | |
3878 | } | |
3879 | { | |
3880 | wxPy_BEGIN_ALLOW_THREADS; | |
fe47ec10 | 3881 | _result = (bool )wxStyledTextCtrl_GetReadOnly(_arg0); |
f6bcfd97 BP |
3882 | |
3883 | wxPy_END_ALLOW_THREADS; | |
fe47ec10 | 3884 | } _resultobj = Py_BuildValue("i",_result); |
f6bcfd97 BP |
3885 | return _resultobj; |
3886 | } | |
3887 | ||
fe47ec10 RD |
3888 | #define wxStyledTextCtrl_SetCurrentPos(_swigobj,_swigarg0) (_swigobj->SetCurrentPos(_swigarg0)) |
3889 | static PyObject *_wrap_wxStyledTextCtrl_SetCurrentPos(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 | 3890 | PyObject * _resultobj; |
f6bcfd97 BP |
3891 | wxStyledTextCtrl * _arg0; |
3892 | int _arg1; | |
3893 | PyObject * _argo0 = 0; | |
fe47ec10 | 3894 | char *_kwnames[] = { "self","pos", NULL }; |
f6bcfd97 BP |
3895 | |
3896 | self = self; | |
fe47ec10 | 3897 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_SetCurrentPos",_kwnames,&_argo0,&_arg1)) |
f6bcfd97 BP |
3898 | return NULL; |
3899 | if (_argo0) { | |
3900 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3901 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 3902 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetCurrentPos. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
3903 | return NULL; |
3904 | } | |
3905 | } | |
3906 | { | |
3907 | wxPy_BEGIN_ALLOW_THREADS; | |
fe47ec10 | 3908 | wxStyledTextCtrl_SetCurrentPos(_arg0,_arg1); |
f6bcfd97 BP |
3909 | |
3910 | wxPy_END_ALLOW_THREADS; | |
fe47ec10 RD |
3911 | } Py_INCREF(Py_None); |
3912 | _resultobj = Py_None; | |
f6bcfd97 BP |
3913 | return _resultobj; |
3914 | } | |
3915 | ||
fe47ec10 RD |
3916 | #define wxStyledTextCtrl_SetSelectionStart(_swigobj,_swigarg0) (_swigobj->SetSelectionStart(_swigarg0)) |
3917 | static PyObject *_wrap_wxStyledTextCtrl_SetSelectionStart(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 | 3918 | PyObject * _resultobj; |
f6bcfd97 BP |
3919 | wxStyledTextCtrl * _arg0; |
3920 | int _arg1; | |
3921 | PyObject * _argo0 = 0; | |
fe47ec10 | 3922 | char *_kwnames[] = { "self","pos", NULL }; |
f6bcfd97 BP |
3923 | |
3924 | self = self; | |
fe47ec10 | 3925 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_SetSelectionStart",_kwnames,&_argo0,&_arg1)) |
f6bcfd97 BP |
3926 | return NULL; |
3927 | if (_argo0) { | |
3928 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3929 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 3930 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetSelectionStart. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
3931 | return NULL; |
3932 | } | |
3933 | } | |
3934 | { | |
3935 | wxPy_BEGIN_ALLOW_THREADS; | |
fe47ec10 | 3936 | wxStyledTextCtrl_SetSelectionStart(_arg0,_arg1); |
f6bcfd97 BP |
3937 | |
3938 | wxPy_END_ALLOW_THREADS; | |
fe47ec10 RD |
3939 | } Py_INCREF(Py_None); |
3940 | _resultobj = Py_None; | |
f6bcfd97 BP |
3941 | return _resultobj; |
3942 | } | |
3943 | ||
fe47ec10 RD |
3944 | #define wxStyledTextCtrl_GetSelectionStart(_swigobj) (_swigobj->GetSelectionStart()) |
3945 | static PyObject *_wrap_wxStyledTextCtrl_GetSelectionStart(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 | 3946 | PyObject * _resultobj; |
fe47ec10 | 3947 | int _result; |
f6bcfd97 | 3948 | wxStyledTextCtrl * _arg0; |
f6bcfd97 | 3949 | PyObject * _argo0 = 0; |
fe47ec10 | 3950 | char *_kwnames[] = { "self", NULL }; |
f6bcfd97 BP |
3951 | |
3952 | self = self; | |
fe47ec10 | 3953 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetSelectionStart",_kwnames,&_argo0)) |
f6bcfd97 BP |
3954 | return NULL; |
3955 | if (_argo0) { | |
3956 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3957 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 3958 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetSelectionStart. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
3959 | return NULL; |
3960 | } | |
3961 | } | |
f6bcfd97 BP |
3962 | { |
3963 | wxPy_BEGIN_ALLOW_THREADS; | |
fe47ec10 | 3964 | _result = (int )wxStyledTextCtrl_GetSelectionStart(_arg0); |
f6bcfd97 BP |
3965 | |
3966 | wxPy_END_ALLOW_THREADS; | |
fe47ec10 | 3967 | } _resultobj = Py_BuildValue("i",_result); |
f6bcfd97 BP |
3968 | return _resultobj; |
3969 | } | |
3970 | ||
fe47ec10 RD |
3971 | #define wxStyledTextCtrl_SetSelectionEnd(_swigobj,_swigarg0) (_swigobj->SetSelectionEnd(_swigarg0)) |
3972 | static PyObject *_wrap_wxStyledTextCtrl_SetSelectionEnd(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 BP |
3973 | PyObject * _resultobj; |
3974 | wxStyledTextCtrl * _arg0; | |
fe47ec10 | 3975 | int _arg1; |
f6bcfd97 | 3976 | PyObject * _argo0 = 0; |
fe47ec10 | 3977 | char *_kwnames[] = { "self","pos", NULL }; |
f6bcfd97 BP |
3978 | |
3979 | self = self; | |
fe47ec10 | 3980 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_SetSelectionEnd",_kwnames,&_argo0,&_arg1)) |
f6bcfd97 BP |
3981 | return NULL; |
3982 | if (_argo0) { | |
3983 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3984 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 3985 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetSelectionEnd. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
3986 | return NULL; |
3987 | } | |
3988 | } | |
f6bcfd97 BP |
3989 | { |
3990 | wxPy_BEGIN_ALLOW_THREADS; | |
fe47ec10 | 3991 | wxStyledTextCtrl_SetSelectionEnd(_arg0,_arg1); |
f6bcfd97 BP |
3992 | |
3993 | wxPy_END_ALLOW_THREADS; | |
3994 | } Py_INCREF(Py_None); | |
3995 | _resultobj = Py_None; | |
3996 | return _resultobj; | |
3997 | } | |
3998 | ||
fe47ec10 RD |
3999 | #define wxStyledTextCtrl_GetSelectionEnd(_swigobj) (_swigobj->GetSelectionEnd()) |
4000 | static PyObject *_wrap_wxStyledTextCtrl_GetSelectionEnd(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 | 4001 | PyObject * _resultobj; |
fe47ec10 | 4002 | int _result; |
f6bcfd97 | 4003 | wxStyledTextCtrl * _arg0; |
f6bcfd97 | 4004 | PyObject * _argo0 = 0; |
fe47ec10 | 4005 | char *_kwnames[] = { "self", NULL }; |
f6bcfd97 BP |
4006 | |
4007 | self = self; | |
fe47ec10 | 4008 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetSelectionEnd",_kwnames,&_argo0)) |
f6bcfd97 BP |
4009 | return NULL; |
4010 | if (_argo0) { | |
4011 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4012 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 4013 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetSelectionEnd. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
4014 | return NULL; |
4015 | } | |
4016 | } | |
4017 | { | |
4018 | wxPy_BEGIN_ALLOW_THREADS; | |
fe47ec10 | 4019 | _result = (int )wxStyledTextCtrl_GetSelectionEnd(_arg0); |
f6bcfd97 BP |
4020 | |
4021 | wxPy_END_ALLOW_THREADS; | |
fe47ec10 | 4022 | } _resultobj = Py_BuildValue("i",_result); |
f6bcfd97 BP |
4023 | return _resultobj; |
4024 | } | |
4025 | ||
fe47ec10 RD |
4026 | #define wxStyledTextCtrl_SetPrintMagnification(_swigobj,_swigarg0) (_swigobj->SetPrintMagnification(_swigarg0)) |
4027 | static PyObject *_wrap_wxStyledTextCtrl_SetPrintMagnification(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 BP |
4028 | PyObject * _resultobj; |
4029 | wxStyledTextCtrl * _arg0; | |
4030 | int _arg1; | |
4031 | PyObject * _argo0 = 0; | |
fe47ec10 | 4032 | char *_kwnames[] = { "self","magnification", NULL }; |
f6bcfd97 BP |
4033 | |
4034 | self = self; | |
fe47ec10 | 4035 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_SetPrintMagnification",_kwnames,&_argo0,&_arg1)) |
f6bcfd97 BP |
4036 | return NULL; |
4037 | if (_argo0) { | |
4038 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4039 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 4040 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetPrintMagnification. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
4041 | return NULL; |
4042 | } | |
4043 | } | |
4044 | { | |
4045 | wxPy_BEGIN_ALLOW_THREADS; | |
fe47ec10 | 4046 | wxStyledTextCtrl_SetPrintMagnification(_arg0,_arg1); |
f6bcfd97 BP |
4047 | |
4048 | wxPy_END_ALLOW_THREADS; | |
4049 | } Py_INCREF(Py_None); | |
4050 | _resultobj = Py_None; | |
4051 | return _resultobj; | |
4052 | } | |
4053 | ||
fe47ec10 RD |
4054 | #define wxStyledTextCtrl_GetPrintMagnification(_swigobj) (_swigobj->GetPrintMagnification()) |
4055 | static PyObject *_wrap_wxStyledTextCtrl_GetPrintMagnification(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 BP |
4056 | PyObject * _resultobj; |
4057 | int _result; | |
4058 | wxStyledTextCtrl * _arg0; | |
f6bcfd97 | 4059 | PyObject * _argo0 = 0; |
fe47ec10 | 4060 | char *_kwnames[] = { "self", NULL }; |
f6bcfd97 BP |
4061 | |
4062 | self = self; | |
fe47ec10 | 4063 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetPrintMagnification",_kwnames,&_argo0)) |
f6bcfd97 BP |
4064 | return NULL; |
4065 | if (_argo0) { | |
4066 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4067 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 4068 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetPrintMagnification. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
4069 | return NULL; |
4070 | } | |
4071 | } | |
4072 | { | |
4073 | wxPy_BEGIN_ALLOW_THREADS; | |
fe47ec10 | 4074 | _result = (int )wxStyledTextCtrl_GetPrintMagnification(_arg0); |
f6bcfd97 BP |
4075 | |
4076 | wxPy_END_ALLOW_THREADS; | |
4077 | } _resultobj = Py_BuildValue("i",_result); | |
4078 | return _resultobj; | |
4079 | } | |
4080 | ||
fe47ec10 RD |
4081 | #define wxStyledTextCtrl_SetPrintColourMode(_swigobj,_swigarg0) (_swigobj->SetPrintColourMode(_swigarg0)) |
4082 | static PyObject *_wrap_wxStyledTextCtrl_SetPrintColourMode(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 BP |
4083 | PyObject * _resultobj; |
4084 | wxStyledTextCtrl * _arg0; | |
4085 | int _arg1; | |
f6bcfd97 | 4086 | PyObject * _argo0 = 0; |
fe47ec10 | 4087 | char *_kwnames[] = { "self","mode", NULL }; |
f6bcfd97 BP |
4088 | |
4089 | self = self; | |
fe47ec10 | 4090 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_SetPrintColourMode",_kwnames,&_argo0,&_arg1)) |
f6bcfd97 BP |
4091 | return NULL; |
4092 | if (_argo0) { | |
4093 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4094 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 4095 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetPrintColourMode. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
4096 | return NULL; |
4097 | } | |
4098 | } | |
f6bcfd97 BP |
4099 | { |
4100 | wxPy_BEGIN_ALLOW_THREADS; | |
fe47ec10 | 4101 | wxStyledTextCtrl_SetPrintColourMode(_arg0,_arg1); |
f6bcfd97 BP |
4102 | |
4103 | wxPy_END_ALLOW_THREADS; | |
4104 | } Py_INCREF(Py_None); | |
4105 | _resultobj = Py_None; | |
4106 | return _resultobj; | |
4107 | } | |
4108 | ||
fe47ec10 RD |
4109 | #define wxStyledTextCtrl_GetPrintColourMode(_swigobj) (_swigobj->GetPrintColourMode()) |
4110 | static PyObject *_wrap_wxStyledTextCtrl_GetPrintColourMode(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 | 4111 | PyObject * _resultobj; |
fe47ec10 | 4112 | int _result; |
f6bcfd97 | 4113 | wxStyledTextCtrl * _arg0; |
f6bcfd97 | 4114 | PyObject * _argo0 = 0; |
fe47ec10 | 4115 | char *_kwnames[] = { "self", NULL }; |
f6bcfd97 BP |
4116 | |
4117 | self = self; | |
fe47ec10 | 4118 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetPrintColourMode",_kwnames,&_argo0)) |
f6bcfd97 BP |
4119 | return NULL; |
4120 | if (_argo0) { | |
4121 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4122 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 4123 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetPrintColourMode. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
4124 | return NULL; |
4125 | } | |
4126 | } | |
4127 | { | |
4128 | wxPy_BEGIN_ALLOW_THREADS; | |
fe47ec10 | 4129 | _result = (int )wxStyledTextCtrl_GetPrintColourMode(_arg0); |
f6bcfd97 BP |
4130 | |
4131 | wxPy_END_ALLOW_THREADS; | |
fe47ec10 | 4132 | } _resultobj = Py_BuildValue("i",_result); |
f6bcfd97 BP |
4133 | return _resultobj; |
4134 | } | |
4135 | ||
fe47ec10 RD |
4136 | #define wxStyledTextCtrl_FindText(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->FindText(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4)) |
4137 | static PyObject *_wrap_wxStyledTextCtrl_FindText(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 | 4138 | PyObject * _resultobj; |
fe47ec10 | 4139 | int _result; |
f6bcfd97 BP |
4140 | wxStyledTextCtrl * _arg0; |
4141 | int _arg1; | |
fe47ec10 RD |
4142 | int _arg2; |
4143 | wxString * _arg3; | |
4144 | bool _arg4; | |
4145 | bool _arg5; | |
f6bcfd97 | 4146 | PyObject * _argo0 = 0; |
fe47ec10 RD |
4147 | PyObject * _obj3 = 0; |
4148 | int tempbool4; | |
4149 | int tempbool5; | |
4150 | char *_kwnames[] = { "self","minPos","maxPos","text","caseSensitive","wholeWord", NULL }; | |
f6bcfd97 BP |
4151 | |
4152 | self = self; | |
fe47ec10 | 4153 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiiOii:wxStyledTextCtrl_FindText",_kwnames,&_argo0,&_arg1,&_arg2,&_obj3,&tempbool4,&tempbool5)) |
f6bcfd97 BP |
4154 | return NULL; |
4155 | if (_argo0) { | |
4156 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4157 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 4158 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_FindText. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
4159 | return NULL; |
4160 | } | |
4161 | } | |
4162 | { | |
185d7c3e RD |
4163 | #if PYTHON_API_VERSION >= 1009 |
4164 | char* tmpPtr; int tmpSize; | |
4165 | if (!PyString_Check(_obj3) && !PyUnicode_Check(_obj3)) { | |
4166 | PyErr_SetString(PyExc_TypeError, "String or Unicode type required"); | |
4167 | return NULL; | |
4168 | } | |
4169 | if (PyString_AsStringAndSize(_obj3, &tmpPtr, &tmpSize) == -1) | |
4170 | return NULL; | |
4171 | _arg3 = new wxString(tmpPtr, tmpSize); | |
4172 | #else | |
fe47ec10 RD |
4173 | if (!PyString_Check(_obj3)) { |
4174 | PyErr_SetString(PyExc_TypeError, wxStringErrorMsg); | |
f6bcfd97 | 4175 | return NULL; |
fe47ec10 | 4176 | } |
185d7c3e RD |
4177 | _arg3 = new wxString(PyString_AS_STRING(_obj3), PyString_GET_SIZE(_obj3)); |
4178 | #endif | |
f6bcfd97 | 4179 | } |
fe47ec10 RD |
4180 | _arg4 = (bool ) tempbool4; |
4181 | _arg5 = (bool ) tempbool5; | |
f6bcfd97 BP |
4182 | { |
4183 | wxPy_BEGIN_ALLOW_THREADS; | |
fe47ec10 | 4184 | _result = (int )wxStyledTextCtrl_FindText(_arg0,_arg1,_arg2,*_arg3,_arg4,_arg5); |
f6bcfd97 BP |
4185 | |
4186 | wxPy_END_ALLOW_THREADS; | |
fe47ec10 RD |
4187 | } _resultobj = Py_BuildValue("i",_result); |
4188 | { | |
4189 | if (_obj3) | |
4190 | delete _arg3; | |
4191 | } | |
f6bcfd97 BP |
4192 | return _resultobj; |
4193 | } | |
4194 | ||
fe47ec10 RD |
4195 | #define wxStyledTextCtrl_FormatRange(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (_swigobj->FormatRange(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6)) |
4196 | static PyObject *_wrap_wxStyledTextCtrl_FormatRange(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 | 4197 | PyObject * _resultobj; |
fe47ec10 | 4198 | int _result; |
f6bcfd97 | 4199 | wxStyledTextCtrl * _arg0; |
fe47ec10 RD |
4200 | bool _arg1; |
4201 | int _arg2; | |
4202 | int _arg3; | |
4203 | wxDC * _arg4; | |
4204 | wxDC * _arg5; | |
4205 | wxRect * _arg6; | |
4206 | wxRect * _arg7; | |
f6bcfd97 | 4207 | PyObject * _argo0 = 0; |
fe47ec10 RD |
4208 | int tempbool1; |
4209 | PyObject * _argo4 = 0; | |
4210 | PyObject * _argo5 = 0; | |
4211 | wxRect temp; | |
4212 | PyObject * _obj6 = 0; | |
4213 | wxRect temp0; | |
4214 | PyObject * _obj7 = 0; | |
4215 | char *_kwnames[] = { "self","doDraw","startPos","endPos","draw","target","renderRect","pageRect", NULL }; | |
f6bcfd97 BP |
4216 | |
4217 | self = self; | |
fe47ec10 | 4218 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiiiOOOO:wxStyledTextCtrl_FormatRange",_kwnames,&_argo0,&tempbool1,&_arg2,&_arg3,&_argo4,&_argo5,&_obj6,&_obj7)) |
f6bcfd97 BP |
4219 | return NULL; |
4220 | if (_argo0) { | |
4221 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4222 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 RD |
4223 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_FormatRange. Expected _wxStyledTextCtrl_p."); |
4224 | return NULL; | |
4225 | } | |
4226 | } | |
4227 | _arg1 = (bool ) tempbool1; | |
4228 | if (_argo4) { | |
4229 | if (_argo4 == Py_None) { _arg4 = NULL; } | |
4230 | else if (SWIG_GetPtrObj(_argo4,(void **) &_arg4,"_wxDC_p")) { | |
4231 | PyErr_SetString(PyExc_TypeError,"Type error in argument 5 of wxStyledTextCtrl_FormatRange. Expected _wxDC_p."); | |
4232 | return NULL; | |
4233 | } | |
4234 | } | |
4235 | if (_argo5) { | |
4236 | if (_argo5 == Py_None) { _arg5 = NULL; } | |
4237 | else if (SWIG_GetPtrObj(_argo5,(void **) &_arg5,"_wxDC_p")) { | |
4238 | PyErr_SetString(PyExc_TypeError,"Type error in argument 6 of wxStyledTextCtrl_FormatRange. Expected _wxDC_p."); | |
f6bcfd97 BP |
4239 | return NULL; |
4240 | } | |
4241 | } | |
4242 | { | |
fe47ec10 RD |
4243 | _arg6 = &temp; |
4244 | if (! wxRect_helper(_obj6, &_arg6)) | |
4245 | return NULL; | |
4246 | } | |
4247 | { | |
4248 | _arg7 = &temp0; | |
4249 | if (! wxRect_helper(_obj7, &_arg7)) | |
f6bcfd97 BP |
4250 | return NULL; |
4251 | } | |
4252 | { | |
4253 | wxPy_BEGIN_ALLOW_THREADS; | |
fe47ec10 | 4254 | _result = (int )wxStyledTextCtrl_FormatRange(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5,*_arg6,*_arg7); |
f6bcfd97 BP |
4255 | |
4256 | wxPy_END_ALLOW_THREADS; | |
fe47ec10 | 4257 | } _resultobj = Py_BuildValue("i",_result); |
f6bcfd97 BP |
4258 | return _resultobj; |
4259 | } | |
4260 | ||
fe47ec10 RD |
4261 | #define wxStyledTextCtrl_GetFirstVisibleLine(_swigobj) (_swigobj->GetFirstVisibleLine()) |
4262 | static PyObject *_wrap_wxStyledTextCtrl_GetFirstVisibleLine(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 BP |
4263 | PyObject * _resultobj; |
4264 | int _result; | |
4265 | wxStyledTextCtrl * _arg0; | |
f6bcfd97 | 4266 | PyObject * _argo0 = 0; |
fe47ec10 | 4267 | char *_kwnames[] = { "self", NULL }; |
f6bcfd97 BP |
4268 | |
4269 | self = self; | |
fe47ec10 | 4270 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetFirstVisibleLine",_kwnames,&_argo0)) |
f6bcfd97 BP |
4271 | return NULL; |
4272 | if (_argo0) { | |
4273 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4274 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 4275 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetFirstVisibleLine. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
4276 | return NULL; |
4277 | } | |
4278 | } | |
4279 | { | |
4280 | wxPy_BEGIN_ALLOW_THREADS; | |
fe47ec10 | 4281 | _result = (int )wxStyledTextCtrl_GetFirstVisibleLine(_arg0); |
f6bcfd97 BP |
4282 | |
4283 | wxPy_END_ALLOW_THREADS; | |
4284 | } _resultobj = Py_BuildValue("i",_result); | |
4285 | return _resultobj; | |
4286 | } | |
4287 | ||
fe47ec10 RD |
4288 | #define wxStyledTextCtrl_GetLine(_swigobj,_swigarg0) (_swigobj->GetLine(_swigarg0)) |
4289 | static PyObject *_wrap_wxStyledTextCtrl_GetLine(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 | 4290 | PyObject * _resultobj; |
fe47ec10 | 4291 | wxString * _result; |
f6bcfd97 BP |
4292 | wxStyledTextCtrl * _arg0; |
4293 | int _arg1; | |
f6bcfd97 | 4294 | PyObject * _argo0 = 0; |
fe47ec10 | 4295 | char *_kwnames[] = { "self","line", NULL }; |
f6bcfd97 BP |
4296 | |
4297 | self = self; | |
fe47ec10 | 4298 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_GetLine",_kwnames,&_argo0,&_arg1)) |
f6bcfd97 BP |
4299 | return NULL; |
4300 | if (_argo0) { | |
4301 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4302 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 4303 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetLine. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
4304 | return NULL; |
4305 | } | |
4306 | } | |
4307 | { | |
4308 | wxPy_BEGIN_ALLOW_THREADS; | |
fe47ec10 | 4309 | _result = new wxString (wxStyledTextCtrl_GetLine(_arg0,_arg1)); |
f6bcfd97 BP |
4310 | |
4311 | wxPy_END_ALLOW_THREADS; | |
fe47ec10 RD |
4312 | }{ |
4313 | _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len()); | |
4314 | } | |
4315 | { | |
4316 | delete _result; | |
4317 | } | |
f6bcfd97 BP |
4318 | return _resultobj; |
4319 | } | |
4320 | ||
fe47ec10 RD |
4321 | #define wxStyledTextCtrl_GetLineCount(_swigobj) (_swigobj->GetLineCount()) |
4322 | static PyObject *_wrap_wxStyledTextCtrl_GetLineCount(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 | 4323 | PyObject * _resultobj; |
fe47ec10 | 4324 | int _result; |
f6bcfd97 | 4325 | wxStyledTextCtrl * _arg0; |
f6bcfd97 | 4326 | PyObject * _argo0 = 0; |
fe47ec10 | 4327 | char *_kwnames[] = { "self", NULL }; |
f6bcfd97 BP |
4328 | |
4329 | self = self; | |
fe47ec10 | 4330 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetLineCount",_kwnames,&_argo0)) |
f6bcfd97 BP |
4331 | return NULL; |
4332 | if (_argo0) { | |
4333 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4334 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 4335 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetLineCount. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
4336 | return NULL; |
4337 | } | |
4338 | } | |
4339 | { | |
4340 | wxPy_BEGIN_ALLOW_THREADS; | |
fe47ec10 | 4341 | _result = (int )wxStyledTextCtrl_GetLineCount(_arg0); |
f6bcfd97 BP |
4342 | |
4343 | wxPy_END_ALLOW_THREADS; | |
fe47ec10 | 4344 | } _resultobj = Py_BuildValue("i",_result); |
f6bcfd97 BP |
4345 | return _resultobj; |
4346 | } | |
4347 | ||
fe47ec10 RD |
4348 | #define wxStyledTextCtrl_SetMarginLeft(_swigobj,_swigarg0) (_swigobj->SetMarginLeft(_swigarg0)) |
4349 | static PyObject *_wrap_wxStyledTextCtrl_SetMarginLeft(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 | 4350 | PyObject * _resultobj; |
f6bcfd97 BP |
4351 | wxStyledTextCtrl * _arg0; |
4352 | int _arg1; | |
4353 | PyObject * _argo0 = 0; | |
fe47ec10 | 4354 | char *_kwnames[] = { "self","width", NULL }; |
f6bcfd97 BP |
4355 | |
4356 | self = self; | |
fe47ec10 | 4357 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_SetMarginLeft",_kwnames,&_argo0,&_arg1)) |
f6bcfd97 BP |
4358 | return NULL; |
4359 | if (_argo0) { | |
4360 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4361 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 4362 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetMarginLeft. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
4363 | return NULL; |
4364 | } | |
4365 | } | |
4366 | { | |
4367 | wxPy_BEGIN_ALLOW_THREADS; | |
fe47ec10 | 4368 | wxStyledTextCtrl_SetMarginLeft(_arg0,_arg1); |
f6bcfd97 BP |
4369 | |
4370 | wxPy_END_ALLOW_THREADS; | |
fe47ec10 RD |
4371 | } Py_INCREF(Py_None); |
4372 | _resultobj = Py_None; | |
f6bcfd97 BP |
4373 | return _resultobj; |
4374 | } | |
4375 | ||
fe47ec10 RD |
4376 | #define wxStyledTextCtrl_GetMarginLeft(_swigobj) (_swigobj->GetMarginLeft()) |
4377 | static PyObject *_wrap_wxStyledTextCtrl_GetMarginLeft(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 BP |
4378 | PyObject * _resultobj; |
4379 | int _result; | |
4380 | wxStyledTextCtrl * _arg0; | |
f6bcfd97 | 4381 | PyObject * _argo0 = 0; |
fe47ec10 | 4382 | char *_kwnames[] = { "self", NULL }; |
f6bcfd97 BP |
4383 | |
4384 | self = self; | |
fe47ec10 | 4385 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetMarginLeft",_kwnames,&_argo0)) |
f6bcfd97 BP |
4386 | return NULL; |
4387 | if (_argo0) { | |
4388 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4389 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 4390 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetMarginLeft. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
4391 | return NULL; |
4392 | } | |
4393 | } | |
4394 | { | |
4395 | wxPy_BEGIN_ALLOW_THREADS; | |
fe47ec10 | 4396 | _result = (int )wxStyledTextCtrl_GetMarginLeft(_arg0); |
f6bcfd97 BP |
4397 | |
4398 | wxPy_END_ALLOW_THREADS; | |
4399 | } _resultobj = Py_BuildValue("i",_result); | |
4400 | return _resultobj; | |
4401 | } | |
4402 | ||
fe47ec10 RD |
4403 | #define wxStyledTextCtrl_SetMarginRight(_swigobj,_swigarg0) (_swigobj->SetMarginRight(_swigarg0)) |
4404 | static PyObject *_wrap_wxStyledTextCtrl_SetMarginRight(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 | 4405 | PyObject * _resultobj; |
f6bcfd97 BP |
4406 | wxStyledTextCtrl * _arg0; |
4407 | int _arg1; | |
f6bcfd97 | 4408 | PyObject * _argo0 = 0; |
fe47ec10 | 4409 | char *_kwnames[] = { "self","width", NULL }; |
f6bcfd97 BP |
4410 | |
4411 | self = self; | |
fe47ec10 | 4412 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_SetMarginRight",_kwnames,&_argo0,&_arg1)) |
f6bcfd97 BP |
4413 | return NULL; |
4414 | if (_argo0) { | |
4415 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4416 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 4417 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetMarginRight. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
4418 | return NULL; |
4419 | } | |
4420 | } | |
4421 | { | |
4422 | wxPy_BEGIN_ALLOW_THREADS; | |
fe47ec10 | 4423 | wxStyledTextCtrl_SetMarginRight(_arg0,_arg1); |
f6bcfd97 BP |
4424 | |
4425 | wxPy_END_ALLOW_THREADS; | |
fe47ec10 RD |
4426 | } Py_INCREF(Py_None); |
4427 | _resultobj = Py_None; | |
f6bcfd97 BP |
4428 | return _resultobj; |
4429 | } | |
4430 | ||
fe47ec10 RD |
4431 | #define wxStyledTextCtrl_GetMarginRight(_swigobj) (_swigobj->GetMarginRight()) |
4432 | static PyObject *_wrap_wxStyledTextCtrl_GetMarginRight(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 BP |
4433 | PyObject * _resultobj; |
4434 | int _result; | |
4435 | wxStyledTextCtrl * _arg0; | |
f6bcfd97 | 4436 | PyObject * _argo0 = 0; |
fe47ec10 | 4437 | char *_kwnames[] = { "self", NULL }; |
f6bcfd97 BP |
4438 | |
4439 | self = self; | |
fe47ec10 | 4440 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetMarginRight",_kwnames,&_argo0)) |
f6bcfd97 BP |
4441 | return NULL; |
4442 | if (_argo0) { | |
4443 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4444 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 4445 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetMarginRight. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
4446 | return NULL; |
4447 | } | |
4448 | } | |
4449 | { | |
4450 | wxPy_BEGIN_ALLOW_THREADS; | |
fe47ec10 | 4451 | _result = (int )wxStyledTextCtrl_GetMarginRight(_arg0); |
f6bcfd97 BP |
4452 | |
4453 | wxPy_END_ALLOW_THREADS; | |
4454 | } _resultobj = Py_BuildValue("i",_result); | |
4455 | return _resultobj; | |
4456 | } | |
4457 | ||
fe47ec10 RD |
4458 | #define wxStyledTextCtrl_GetModify(_swigobj) (_swigobj->GetModify()) |
4459 | static PyObject *_wrap_wxStyledTextCtrl_GetModify(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 | 4460 | PyObject * _resultobj; |
fe47ec10 | 4461 | bool _result; |
f6bcfd97 | 4462 | wxStyledTextCtrl * _arg0; |
f6bcfd97 | 4463 | PyObject * _argo0 = 0; |
fe47ec10 | 4464 | char *_kwnames[] = { "self", NULL }; |
f6bcfd97 BP |
4465 | |
4466 | self = self; | |
fe47ec10 | 4467 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetModify",_kwnames,&_argo0)) |
f6bcfd97 BP |
4468 | return NULL; |
4469 | if (_argo0) { | |
4470 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4471 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 4472 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetModify. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
4473 | return NULL; |
4474 | } | |
4475 | } | |
4476 | { | |
4477 | wxPy_BEGIN_ALLOW_THREADS; | |
fe47ec10 | 4478 | _result = (bool )wxStyledTextCtrl_GetModify(_arg0); |
f6bcfd97 BP |
4479 | |
4480 | wxPy_END_ALLOW_THREADS; | |
fe47ec10 | 4481 | } _resultobj = Py_BuildValue("i",_result); |
f6bcfd97 BP |
4482 | return _resultobj; |
4483 | } | |
4484 | ||
fe47ec10 RD |
4485 | #define wxStyledTextCtrl_SetSelection(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetSelection(_swigarg0,_swigarg1)) |
4486 | static PyObject *_wrap_wxStyledTextCtrl_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 BP |
4487 | PyObject * _resultobj; |
4488 | wxStyledTextCtrl * _arg0; | |
4489 | int _arg1; | |
4490 | int _arg2; | |
4491 | PyObject * _argo0 = 0; | |
fe47ec10 | 4492 | char *_kwnames[] = { "self","start","end", NULL }; |
f6bcfd97 BP |
4493 | |
4494 | self = self; | |
fe47ec10 | 4495 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxStyledTextCtrl_SetSelection",_kwnames,&_argo0,&_arg1,&_arg2)) |
f6bcfd97 BP |
4496 | return NULL; |
4497 | if (_argo0) { | |
4498 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4499 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 4500 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetSelection. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
4501 | return NULL; |
4502 | } | |
4503 | } | |
4504 | { | |
4505 | wxPy_BEGIN_ALLOW_THREADS; | |
fe47ec10 | 4506 | wxStyledTextCtrl_SetSelection(_arg0,_arg1,_arg2); |
f6bcfd97 BP |
4507 | |
4508 | wxPy_END_ALLOW_THREADS; | |
4509 | } Py_INCREF(Py_None); | |
4510 | _resultobj = Py_None; | |
4511 | return _resultobj; | |
4512 | } | |
4513 | ||
fe47ec10 RD |
4514 | #define wxStyledTextCtrl_GetSelectedText(_swigobj) (_swigobj->GetSelectedText()) |
4515 | static PyObject *_wrap_wxStyledTextCtrl_GetSelectedText(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 | 4516 | PyObject * _resultobj; |
fe47ec10 | 4517 | wxString * _result; |
f6bcfd97 | 4518 | wxStyledTextCtrl * _arg0; |
f6bcfd97 | 4519 | PyObject * _argo0 = 0; |
fe47ec10 | 4520 | char *_kwnames[] = { "self", NULL }; |
f6bcfd97 BP |
4521 | |
4522 | self = self; | |
fe47ec10 | 4523 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetSelectedText",_kwnames,&_argo0)) |
f6bcfd97 BP |
4524 | return NULL; |
4525 | if (_argo0) { | |
4526 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4527 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 4528 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetSelectedText. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
4529 | return NULL; |
4530 | } | |
4531 | } | |
4532 | { | |
4533 | wxPy_BEGIN_ALLOW_THREADS; | |
fe47ec10 | 4534 | _result = new wxString (wxStyledTextCtrl_GetSelectedText(_arg0)); |
f6bcfd97 BP |
4535 | |
4536 | wxPy_END_ALLOW_THREADS; | |
fe47ec10 RD |
4537 | }{ |
4538 | _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len()); | |
4539 | } | |
4540 | { | |
4541 | delete _result; | |
4542 | } | |
f6bcfd97 BP |
4543 | return _resultobj; |
4544 | } | |
4545 | ||
fe47ec10 RD |
4546 | #define wxStyledTextCtrl_GetTextRange(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetTextRange(_swigarg0,_swigarg1)) |
4547 | static PyObject *_wrap_wxStyledTextCtrl_GetTextRange(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 | 4548 | PyObject * _resultobj; |
fe47ec10 | 4549 | wxString * _result; |
f6bcfd97 BP |
4550 | wxStyledTextCtrl * _arg0; |
4551 | int _arg1; | |
fe47ec10 | 4552 | int _arg2; |
f6bcfd97 | 4553 | PyObject * _argo0 = 0; |
fe47ec10 | 4554 | char *_kwnames[] = { "self","startPos","endPos", NULL }; |
f6bcfd97 BP |
4555 | |
4556 | self = self; | |
fe47ec10 | 4557 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxStyledTextCtrl_GetTextRange",_kwnames,&_argo0,&_arg1,&_arg2)) |
f6bcfd97 BP |
4558 | return NULL; |
4559 | if (_argo0) { | |
4560 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4561 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 4562 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetTextRange. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
4563 | return NULL; |
4564 | } | |
4565 | } | |
f6bcfd97 BP |
4566 | { |
4567 | wxPy_BEGIN_ALLOW_THREADS; | |
fe47ec10 | 4568 | _result = new wxString (wxStyledTextCtrl_GetTextRange(_arg0,_arg1,_arg2)); |
f6bcfd97 BP |
4569 | |
4570 | wxPy_END_ALLOW_THREADS; | |
fe47ec10 RD |
4571 | }{ |
4572 | _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len()); | |
4573 | } | |
4574 | { | |
4575 | delete _result; | |
4576 | } | |
f6bcfd97 BP |
4577 | return _resultobj; |
4578 | } | |
4579 | ||
fe47ec10 RD |
4580 | #define wxStyledTextCtrl_HideSelection(_swigobj,_swigarg0) (_swigobj->HideSelection(_swigarg0)) |
4581 | static PyObject *_wrap_wxStyledTextCtrl_HideSelection(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 BP |
4582 | PyObject * _resultobj; |
4583 | wxStyledTextCtrl * _arg0; | |
fe47ec10 | 4584 | bool _arg1; |
f6bcfd97 | 4585 | PyObject * _argo0 = 0; |
fe47ec10 RD |
4586 | int tempbool1; |
4587 | char *_kwnames[] = { "self","normal", NULL }; | |
f6bcfd97 BP |
4588 | |
4589 | self = self; | |
fe47ec10 | 4590 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_HideSelection",_kwnames,&_argo0,&tempbool1)) |
f6bcfd97 BP |
4591 | return NULL; |
4592 | if (_argo0) { | |
4593 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4594 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 4595 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_HideSelection. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
4596 | return NULL; |
4597 | } | |
4598 | } | |
fe47ec10 | 4599 | _arg1 = (bool ) tempbool1; |
f6bcfd97 BP |
4600 | { |
4601 | wxPy_BEGIN_ALLOW_THREADS; | |
fe47ec10 | 4602 | wxStyledTextCtrl_HideSelection(_arg0,_arg1); |
f6bcfd97 BP |
4603 | |
4604 | wxPy_END_ALLOW_THREADS; | |
4605 | } Py_INCREF(Py_None); | |
4606 | _resultobj = Py_None; | |
f6bcfd97 BP |
4607 | return _resultobj; |
4608 | } | |
4609 | ||
fe47ec10 RD |
4610 | #define wxStyledTextCtrl_LineFromPosition(_swigobj,_swigarg0) (_swigobj->LineFromPosition(_swigarg0)) |
4611 | static PyObject *_wrap_wxStyledTextCtrl_LineFromPosition(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 | 4612 | PyObject * _resultobj; |
fe47ec10 | 4613 | int _result; |
f6bcfd97 | 4614 | wxStyledTextCtrl * _arg0; |
fe47ec10 | 4615 | int _arg1; |
f6bcfd97 | 4616 | PyObject * _argo0 = 0; |
fe47ec10 | 4617 | char *_kwnames[] = { "self","pos", NULL }; |
f6bcfd97 BP |
4618 | |
4619 | self = self; | |
fe47ec10 | 4620 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_LineFromPosition",_kwnames,&_argo0,&_arg1)) |
f6bcfd97 BP |
4621 | return NULL; |
4622 | if (_argo0) { | |
4623 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4624 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 4625 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_LineFromPosition. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
4626 | return NULL; |
4627 | } | |
4628 | } | |
4629 | { | |
4630 | wxPy_BEGIN_ALLOW_THREADS; | |
fe47ec10 | 4631 | _result = (int )wxStyledTextCtrl_LineFromPosition(_arg0,_arg1); |
f6bcfd97 BP |
4632 | |
4633 | wxPy_END_ALLOW_THREADS; | |
fe47ec10 | 4634 | } _resultobj = Py_BuildValue("i",_result); |
f6bcfd97 BP |
4635 | return _resultobj; |
4636 | } | |
4637 | ||
fe47ec10 RD |
4638 | #define wxStyledTextCtrl_PositionFromLine(_swigobj,_swigarg0) (_swigobj->PositionFromLine(_swigarg0)) |
4639 | static PyObject *_wrap_wxStyledTextCtrl_PositionFromLine(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 | 4640 | PyObject * _resultobj; |
fe47ec10 | 4641 | int _result; |
f6bcfd97 | 4642 | wxStyledTextCtrl * _arg0; |
fe47ec10 | 4643 | int _arg1; |
f6bcfd97 | 4644 | PyObject * _argo0 = 0; |
fe47ec10 | 4645 | char *_kwnames[] = { "self","line", NULL }; |
f6bcfd97 BP |
4646 | |
4647 | self = self; | |
fe47ec10 | 4648 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_PositionFromLine",_kwnames,&_argo0,&_arg1)) |
f6bcfd97 BP |
4649 | return NULL; |
4650 | if (_argo0) { | |
4651 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4652 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 4653 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_PositionFromLine. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
4654 | return NULL; |
4655 | } | |
4656 | } | |
4657 | { | |
4658 | wxPy_BEGIN_ALLOW_THREADS; | |
fe47ec10 | 4659 | _result = (int )wxStyledTextCtrl_PositionFromLine(_arg0,_arg1); |
f6bcfd97 BP |
4660 | |
4661 | wxPy_END_ALLOW_THREADS; | |
4662 | } _resultobj = Py_BuildValue("i",_result); | |
4663 | return _resultobj; | |
4664 | } | |
4665 | ||
fe47ec10 RD |
4666 | #define wxStyledTextCtrl_LineScroll(_swigobj,_swigarg0,_swigarg1) (_swigobj->LineScroll(_swigarg0,_swigarg1)) |
4667 | static PyObject *_wrap_wxStyledTextCtrl_LineScroll(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 | 4668 | PyObject * _resultobj; |
f6bcfd97 | 4669 | wxStyledTextCtrl * _arg0; |
fe47ec10 RD |
4670 | int _arg1; |
4671 | int _arg2; | |
f6bcfd97 | 4672 | PyObject * _argo0 = 0; |
fe47ec10 | 4673 | char *_kwnames[] = { "self","columns","lines", NULL }; |
f6bcfd97 BP |
4674 | |
4675 | self = self; | |
fe47ec10 | 4676 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxStyledTextCtrl_LineScroll",_kwnames,&_argo0,&_arg1,&_arg2)) |
f6bcfd97 BP |
4677 | return NULL; |
4678 | if (_argo0) { | |
4679 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4680 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 4681 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_LineScroll. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
4682 | return NULL; |
4683 | } | |
4684 | } | |
4685 | { | |
4686 | wxPy_BEGIN_ALLOW_THREADS; | |
fe47ec10 | 4687 | wxStyledTextCtrl_LineScroll(_arg0,_arg1,_arg2); |
f6bcfd97 BP |
4688 | |
4689 | wxPy_END_ALLOW_THREADS; | |
fe47ec10 RD |
4690 | } Py_INCREF(Py_None); |
4691 | _resultobj = Py_None; | |
f6bcfd97 BP |
4692 | return _resultobj; |
4693 | } | |
4694 | ||
fe47ec10 RD |
4695 | #define wxStyledTextCtrl_EnsureCaretVisible(_swigobj) (_swigobj->EnsureCaretVisible()) |
4696 | static PyObject *_wrap_wxStyledTextCtrl_EnsureCaretVisible(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 BP |
4697 | PyObject * _resultobj; |
4698 | wxStyledTextCtrl * _arg0; | |
4699 | PyObject * _argo0 = 0; | |
4700 | char *_kwnames[] = { "self", NULL }; | |
4701 | ||
4702 | self = self; | |
fe47ec10 | 4703 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_EnsureCaretVisible",_kwnames,&_argo0)) |
f6bcfd97 BP |
4704 | return NULL; |
4705 | if (_argo0) { | |
4706 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4707 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 4708 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_EnsureCaretVisible. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
4709 | return NULL; |
4710 | } | |
4711 | } | |
4712 | { | |
4713 | wxPy_BEGIN_ALLOW_THREADS; | |
fe47ec10 | 4714 | wxStyledTextCtrl_EnsureCaretVisible(_arg0); |
f6bcfd97 BP |
4715 | |
4716 | wxPy_END_ALLOW_THREADS; | |
4717 | } Py_INCREF(Py_None); | |
4718 | _resultobj = Py_None; | |
4719 | return _resultobj; | |
4720 | } | |
4721 | ||
fe47ec10 RD |
4722 | #define wxStyledTextCtrl_ReplaceSelection(_swigobj,_swigarg0) (_swigobj->ReplaceSelection(_swigarg0)) |
4723 | static PyObject *_wrap_wxStyledTextCtrl_ReplaceSelection(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 BP |
4724 | PyObject * _resultobj; |
4725 | wxStyledTextCtrl * _arg0; | |
4726 | wxString * _arg1; | |
4727 | PyObject * _argo0 = 0; | |
4728 | PyObject * _obj1 = 0; | |
fe47ec10 | 4729 | char *_kwnames[] = { "self","text", NULL }; |
f6bcfd97 BP |
4730 | |
4731 | self = self; | |
fe47ec10 | 4732 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxStyledTextCtrl_ReplaceSelection",_kwnames,&_argo0,&_obj1)) |
f6bcfd97 BP |
4733 | return NULL; |
4734 | if (_argo0) { | |
4735 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4736 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 4737 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_ReplaceSelection. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
4738 | return NULL; |
4739 | } | |
4740 | } | |
4741 | { | |
185d7c3e RD |
4742 | #if PYTHON_API_VERSION >= 1009 |
4743 | char* tmpPtr; int tmpSize; | |
4744 | if (!PyString_Check(_obj1) && !PyUnicode_Check(_obj1)) { | |
4745 | PyErr_SetString(PyExc_TypeError, "String or Unicode type required"); | |
4746 | return NULL; | |
4747 | } | |
4748 | if (PyString_AsStringAndSize(_obj1, &tmpPtr, &tmpSize) == -1) | |
4749 | return NULL; | |
4750 | _arg1 = new wxString(tmpPtr, tmpSize); | |
4751 | #else | |
f6bcfd97 BP |
4752 | if (!PyString_Check(_obj1)) { |
4753 | PyErr_SetString(PyExc_TypeError, wxStringErrorMsg); | |
4754 | return NULL; | |
4755 | } | |
185d7c3e RD |
4756 | _arg1 = new wxString(PyString_AS_STRING(_obj1), PyString_GET_SIZE(_obj1)); |
4757 | #endif | |
f6bcfd97 BP |
4758 | } |
4759 | { | |
4760 | wxPy_BEGIN_ALLOW_THREADS; | |
fe47ec10 | 4761 | wxStyledTextCtrl_ReplaceSelection(_arg0,*_arg1); |
f6bcfd97 BP |
4762 | |
4763 | wxPy_END_ALLOW_THREADS; | |
4764 | } Py_INCREF(Py_None); | |
4765 | _resultobj = Py_None; | |
4766 | { | |
4767 | if (_obj1) | |
4768 | delete _arg1; | |
4769 | } | |
4770 | return _resultobj; | |
4771 | } | |
4772 | ||
fe47ec10 RD |
4773 | #define wxStyledTextCtrl_SetReadOnly(_swigobj,_swigarg0) (_swigobj->SetReadOnly(_swigarg0)) |
4774 | static PyObject *_wrap_wxStyledTextCtrl_SetReadOnly(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 BP |
4775 | PyObject * _resultobj; |
4776 | wxStyledTextCtrl * _arg0; | |
fe47ec10 | 4777 | bool _arg1; |
f6bcfd97 | 4778 | PyObject * _argo0 = 0; |
fe47ec10 RD |
4779 | int tempbool1; |
4780 | char *_kwnames[] = { "self","readOnly", NULL }; | |
f6bcfd97 BP |
4781 | |
4782 | self = self; | |
fe47ec10 | 4783 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_SetReadOnly",_kwnames,&_argo0,&tempbool1)) |
f6bcfd97 BP |
4784 | return NULL; |
4785 | if (_argo0) { | |
4786 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4787 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 4788 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetReadOnly. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
4789 | return NULL; |
4790 | } | |
4791 | } | |
fe47ec10 | 4792 | _arg1 = (bool ) tempbool1; |
f6bcfd97 BP |
4793 | { |
4794 | wxPy_BEGIN_ALLOW_THREADS; | |
fe47ec10 | 4795 | wxStyledTextCtrl_SetReadOnly(_arg0,_arg1); |
f6bcfd97 BP |
4796 | |
4797 | wxPy_END_ALLOW_THREADS; | |
4798 | } Py_INCREF(Py_None); | |
4799 | _resultobj = Py_None; | |
4800 | return _resultobj; | |
4801 | } | |
4802 | ||
fe47ec10 RD |
4803 | #define wxStyledTextCtrl_CanPaste(_swigobj) (_swigobj->CanPaste()) |
4804 | static PyObject *_wrap_wxStyledTextCtrl_CanPaste(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 | 4805 | PyObject * _resultobj; |
fe47ec10 | 4806 | bool _result; |
f6bcfd97 BP |
4807 | wxStyledTextCtrl * _arg0; |
4808 | PyObject * _argo0 = 0; | |
4809 | char *_kwnames[] = { "self", NULL }; | |
4810 | ||
4811 | self = self; | |
fe47ec10 | 4812 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_CanPaste",_kwnames,&_argo0)) |
f6bcfd97 BP |
4813 | return NULL; |
4814 | if (_argo0) { | |
4815 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4816 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 4817 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_CanPaste. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
4818 | return NULL; |
4819 | } | |
4820 | } | |
4821 | { | |
4822 | wxPy_BEGIN_ALLOW_THREADS; | |
fe47ec10 | 4823 | _result = (bool )wxStyledTextCtrl_CanPaste(_arg0); |
f6bcfd97 BP |
4824 | |
4825 | wxPy_END_ALLOW_THREADS; | |
fe47ec10 | 4826 | } _resultobj = Py_BuildValue("i",_result); |
f6bcfd97 BP |
4827 | return _resultobj; |
4828 | } | |
4829 | ||
fe47ec10 RD |
4830 | #define wxStyledTextCtrl_CanUndo(_swigobj) (_swigobj->CanUndo()) |
4831 | static PyObject *_wrap_wxStyledTextCtrl_CanUndo(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 | 4832 | PyObject * _resultobj; |
fe47ec10 | 4833 | bool _result; |
f6bcfd97 | 4834 | wxStyledTextCtrl * _arg0; |
f6bcfd97 | 4835 | PyObject * _argo0 = 0; |
fe47ec10 | 4836 | char *_kwnames[] = { "self", NULL }; |
f6bcfd97 BP |
4837 | |
4838 | self = self; | |
fe47ec10 | 4839 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_CanUndo",_kwnames,&_argo0)) |
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_CanUndo. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
4845 | return NULL; |
4846 | } | |
4847 | } | |
f6bcfd97 BP |
4848 | { |
4849 | wxPy_BEGIN_ALLOW_THREADS; | |
fe47ec10 | 4850 | _result = (bool )wxStyledTextCtrl_CanUndo(_arg0); |
f6bcfd97 BP |
4851 | |
4852 | wxPy_END_ALLOW_THREADS; | |
fe47ec10 | 4853 | } _resultobj = Py_BuildValue("i",_result); |
f6bcfd97 BP |
4854 | return _resultobj; |
4855 | } | |
4856 | ||
fe47ec10 RD |
4857 | #define wxStyledTextCtrl_EmptyUndoBuffer(_swigobj) (_swigobj->EmptyUndoBuffer()) |
4858 | static PyObject *_wrap_wxStyledTextCtrl_EmptyUndoBuffer(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 BP |
4859 | PyObject * _resultobj; |
4860 | wxStyledTextCtrl * _arg0; | |
f6bcfd97 | 4861 | PyObject * _argo0 = 0; |
fe47ec10 | 4862 | char *_kwnames[] = { "self", NULL }; |
f6bcfd97 BP |
4863 | |
4864 | self = self; | |
fe47ec10 | 4865 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_EmptyUndoBuffer",_kwnames,&_argo0)) |
f6bcfd97 BP |
4866 | return NULL; |
4867 | if (_argo0) { | |
4868 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4869 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 4870 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_EmptyUndoBuffer. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
4871 | return NULL; |
4872 | } | |
4873 | } | |
f6bcfd97 BP |
4874 | { |
4875 | wxPy_BEGIN_ALLOW_THREADS; | |
fe47ec10 | 4876 | wxStyledTextCtrl_EmptyUndoBuffer(_arg0); |
f6bcfd97 BP |
4877 | |
4878 | wxPy_END_ALLOW_THREADS; | |
4879 | } Py_INCREF(Py_None); | |
4880 | _resultobj = Py_None; | |
f6bcfd97 BP |
4881 | return _resultobj; |
4882 | } | |
4883 | ||
fe47ec10 RD |
4884 | #define wxStyledTextCtrl_Undo(_swigobj) (_swigobj->Undo()) |
4885 | static PyObject *_wrap_wxStyledTextCtrl_Undo(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 BP |
4886 | PyObject * _resultobj; |
4887 | wxStyledTextCtrl * _arg0; | |
4888 | PyObject * _argo0 = 0; | |
4889 | char *_kwnames[] = { "self", NULL }; | |
4890 | ||
4891 | self = self; | |
fe47ec10 | 4892 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_Undo",_kwnames,&_argo0)) |
f6bcfd97 BP |
4893 | return NULL; |
4894 | if (_argo0) { | |
4895 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4896 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 4897 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_Undo. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
4898 | return NULL; |
4899 | } | |
4900 | } | |
4901 | { | |
4902 | wxPy_BEGIN_ALLOW_THREADS; | |
fe47ec10 | 4903 | wxStyledTextCtrl_Undo(_arg0); |
f6bcfd97 BP |
4904 | |
4905 | wxPy_END_ALLOW_THREADS; | |
4906 | } Py_INCREF(Py_None); | |
4907 | _resultobj = Py_None; | |
4908 | return _resultobj; | |
4909 | } | |
4910 | ||
fe47ec10 RD |
4911 | #define wxStyledTextCtrl_Cut(_swigobj) (_swigobj->Cut()) |
4912 | static PyObject *_wrap_wxStyledTextCtrl_Cut(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 | 4913 | PyObject * _resultobj; |
f6bcfd97 BP |
4914 | wxStyledTextCtrl * _arg0; |
4915 | PyObject * _argo0 = 0; | |
4916 | char *_kwnames[] = { "self", NULL }; | |
4917 | ||
4918 | self = self; | |
fe47ec10 | 4919 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_Cut",_kwnames,&_argo0)) |
f6bcfd97 BP |
4920 | return NULL; |
4921 | if (_argo0) { | |
4922 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4923 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 4924 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_Cut. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
4925 | return NULL; |
4926 | } | |
4927 | } | |
4928 | { | |
4929 | wxPy_BEGIN_ALLOW_THREADS; | |
fe47ec10 | 4930 | wxStyledTextCtrl_Cut(_arg0); |
f6bcfd97 BP |
4931 | |
4932 | wxPy_END_ALLOW_THREADS; | |
fe47ec10 RD |
4933 | } Py_INCREF(Py_None); |
4934 | _resultobj = Py_None; | |
f6bcfd97 BP |
4935 | return _resultobj; |
4936 | } | |
4937 | ||
fe47ec10 RD |
4938 | #define wxStyledTextCtrl_Copy(_swigobj) (_swigobj->Copy()) |
4939 | static PyObject *_wrap_wxStyledTextCtrl_Copy(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 | 4940 | PyObject * _resultobj; |
f6bcfd97 BP |
4941 | wxStyledTextCtrl * _arg0; |
4942 | PyObject * _argo0 = 0; | |
4943 | char *_kwnames[] = { "self", NULL }; | |
4944 | ||
4945 | self = self; | |
fe47ec10 | 4946 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_Copy",_kwnames,&_argo0)) |
f6bcfd97 BP |
4947 | return NULL; |
4948 | if (_argo0) { | |
4949 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4950 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 4951 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_Copy. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
4952 | return NULL; |
4953 | } | |
4954 | } | |
4955 | { | |
4956 | wxPy_BEGIN_ALLOW_THREADS; | |
fe47ec10 | 4957 | wxStyledTextCtrl_Copy(_arg0); |
f6bcfd97 BP |
4958 | |
4959 | wxPy_END_ALLOW_THREADS; | |
fe47ec10 RD |
4960 | } Py_INCREF(Py_None); |
4961 | _resultobj = Py_None; | |
f6bcfd97 BP |
4962 | return _resultobj; |
4963 | } | |
4964 | ||
fe47ec10 RD |
4965 | #define wxStyledTextCtrl_Paste(_swigobj) (_swigobj->Paste()) |
4966 | static PyObject *_wrap_wxStyledTextCtrl_Paste(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 BP |
4967 | PyObject * _resultobj; |
4968 | wxStyledTextCtrl * _arg0; | |
f6bcfd97 | 4969 | PyObject * _argo0 = 0; |
fe47ec10 | 4970 | char *_kwnames[] = { "self", NULL }; |
f6bcfd97 BP |
4971 | |
4972 | self = self; | |
fe47ec10 | 4973 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_Paste",_kwnames,&_argo0)) |
f6bcfd97 BP |
4974 | return NULL; |
4975 | if (_argo0) { | |
4976 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4977 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 4978 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_Paste. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
4979 | return NULL; |
4980 | } | |
4981 | } | |
4982 | { | |
4983 | wxPy_BEGIN_ALLOW_THREADS; | |
fe47ec10 | 4984 | wxStyledTextCtrl_Paste(_arg0); |
f6bcfd97 BP |
4985 | |
4986 | wxPy_END_ALLOW_THREADS; | |
4987 | } Py_INCREF(Py_None); | |
4988 | _resultobj = Py_None; | |
4989 | return _resultobj; | |
4990 | } | |
4991 | ||
fe47ec10 RD |
4992 | #define wxStyledTextCtrl_Clear(_swigobj) (_swigobj->Clear()) |
4993 | static PyObject *_wrap_wxStyledTextCtrl_Clear(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 BP |
4994 | PyObject * _resultobj; |
4995 | wxStyledTextCtrl * _arg0; | |
f6bcfd97 | 4996 | PyObject * _argo0 = 0; |
fe47ec10 | 4997 | char *_kwnames[] = { "self", NULL }; |
f6bcfd97 BP |
4998 | |
4999 | self = self; | |
fe47ec10 | 5000 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_Clear",_kwnames,&_argo0)) |
f6bcfd97 BP |
5001 | return NULL; |
5002 | if (_argo0) { | |
5003 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5004 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 5005 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_Clear. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
5006 | return NULL; |
5007 | } | |
5008 | } | |
f6bcfd97 BP |
5009 | { |
5010 | wxPy_BEGIN_ALLOW_THREADS; | |
fe47ec10 | 5011 | wxStyledTextCtrl_Clear(_arg0); |
f6bcfd97 BP |
5012 | |
5013 | wxPy_END_ALLOW_THREADS; | |
5014 | } Py_INCREF(Py_None); | |
5015 | _resultobj = Py_None; | |
5016 | return _resultobj; | |
5017 | } | |
5018 | ||
fe47ec10 RD |
5019 | #define wxStyledTextCtrl_SetText(_swigobj,_swigarg0) (_swigobj->SetText(_swigarg0)) |
5020 | static PyObject *_wrap_wxStyledTextCtrl_SetText(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 BP |
5021 | PyObject * _resultobj; |
5022 | wxStyledTextCtrl * _arg0; | |
fe47ec10 | 5023 | wxString * _arg1; |
f6bcfd97 | 5024 | PyObject * _argo0 = 0; |
fe47ec10 RD |
5025 | PyObject * _obj1 = 0; |
5026 | char *_kwnames[] = { "self","text", NULL }; | |
f6bcfd97 BP |
5027 | |
5028 | self = self; | |
fe47ec10 | 5029 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxStyledTextCtrl_SetText",_kwnames,&_argo0,&_obj1)) |
f6bcfd97 BP |
5030 | return NULL; |
5031 | if (_argo0) { | |
5032 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5033 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 5034 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetText. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
5035 | return NULL; |
5036 | } | |
5037 | } | |
fe47ec10 | 5038 | { |
185d7c3e RD |
5039 | #if PYTHON_API_VERSION >= 1009 |
5040 | char* tmpPtr; int tmpSize; | |
5041 | if (!PyString_Check(_obj1) && !PyUnicode_Check(_obj1)) { | |
5042 | PyErr_SetString(PyExc_TypeError, "String or Unicode type required"); | |
5043 | return NULL; | |
5044 | } | |
5045 | if (PyString_AsStringAndSize(_obj1, &tmpPtr, &tmpSize) == -1) | |
5046 | return NULL; | |
5047 | _arg1 = new wxString(tmpPtr, tmpSize); | |
5048 | #else | |
fe47ec10 RD |
5049 | if (!PyString_Check(_obj1)) { |
5050 | PyErr_SetString(PyExc_TypeError, wxStringErrorMsg); | |
5051 | return NULL; | |
5052 | } | |
185d7c3e RD |
5053 | _arg1 = new wxString(PyString_AS_STRING(_obj1), PyString_GET_SIZE(_obj1)); |
5054 | #endif | |
fe47ec10 | 5055 | } |
f6bcfd97 BP |
5056 | { |
5057 | wxPy_BEGIN_ALLOW_THREADS; | |
fe47ec10 | 5058 | wxStyledTextCtrl_SetText(_arg0,*_arg1); |
f6bcfd97 BP |
5059 | |
5060 | wxPy_END_ALLOW_THREADS; | |
5061 | } Py_INCREF(Py_None); | |
5062 | _resultobj = Py_None; | |
fe47ec10 RD |
5063 | { |
5064 | if (_obj1) | |
5065 | delete _arg1; | |
5066 | } | |
f6bcfd97 BP |
5067 | return _resultobj; |
5068 | } | |
5069 | ||
fe47ec10 RD |
5070 | #define wxStyledTextCtrl_GetText(_swigobj) (_swigobj->GetText()) |
5071 | static PyObject *_wrap_wxStyledTextCtrl_GetText(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 | 5072 | PyObject * _resultobj; |
fe47ec10 | 5073 | wxString * _result; |
f6bcfd97 | 5074 | wxStyledTextCtrl * _arg0; |
f6bcfd97 | 5075 | PyObject * _argo0 = 0; |
fe47ec10 | 5076 | char *_kwnames[] = { "self", NULL }; |
f6bcfd97 BP |
5077 | |
5078 | self = self; | |
fe47ec10 | 5079 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetText",_kwnames,&_argo0)) |
f6bcfd97 BP |
5080 | return NULL; |
5081 | if (_argo0) { | |
5082 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5083 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 5084 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetText. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
5085 | return NULL; |
5086 | } | |
5087 | } | |
5088 | { | |
5089 | wxPy_BEGIN_ALLOW_THREADS; | |
fe47ec10 | 5090 | _result = new wxString (wxStyledTextCtrl_GetText(_arg0)); |
f6bcfd97 BP |
5091 | |
5092 | wxPy_END_ALLOW_THREADS; | |
fe47ec10 RD |
5093 | }{ |
5094 | _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len()); | |
5095 | } | |
5096 | { | |
5097 | delete _result; | |
5098 | } | |
f6bcfd97 BP |
5099 | return _resultobj; |
5100 | } | |
5101 | ||
fe47ec10 RD |
5102 | #define wxStyledTextCtrl_GetTextLength(_swigobj) (_swigobj->GetTextLength()) |
5103 | static PyObject *_wrap_wxStyledTextCtrl_GetTextLength(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 | 5104 | PyObject * _resultobj; |
fe47ec10 | 5105 | int _result; |
f6bcfd97 BP |
5106 | wxStyledTextCtrl * _arg0; |
5107 | PyObject * _argo0 = 0; | |
5108 | char *_kwnames[] = { "self", NULL }; | |
5109 | ||
5110 | self = self; | |
fe47ec10 | 5111 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetTextLength",_kwnames,&_argo0)) |
f6bcfd97 BP |
5112 | return NULL; |
5113 | if (_argo0) { | |
5114 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5115 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 5116 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetTextLength. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
5117 | return NULL; |
5118 | } | |
5119 | } | |
5120 | { | |
5121 | wxPy_BEGIN_ALLOW_THREADS; | |
fe47ec10 | 5122 | _result = (int )wxStyledTextCtrl_GetTextLength(_arg0); |
f6bcfd97 BP |
5123 | |
5124 | wxPy_END_ALLOW_THREADS; | |
fe47ec10 | 5125 | } _resultobj = Py_BuildValue("i",_result); |
f6bcfd97 BP |
5126 | return _resultobj; |
5127 | } | |
5128 | ||
fe47ec10 RD |
5129 | #define wxStyledTextCtrl_SetOvertype(_swigobj,_swigarg0) (_swigobj->SetOvertype(_swigarg0)) |
5130 | static PyObject *_wrap_wxStyledTextCtrl_SetOvertype(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 BP |
5131 | PyObject * _resultobj; |
5132 | wxStyledTextCtrl * _arg0; | |
fe47ec10 | 5133 | bool _arg1; |
f6bcfd97 | 5134 | PyObject * _argo0 = 0; |
fe47ec10 RD |
5135 | int tempbool1; |
5136 | char *_kwnames[] = { "self","overtype", NULL }; | |
f6bcfd97 BP |
5137 | |
5138 | self = self; | |
fe47ec10 | 5139 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_SetOvertype",_kwnames,&_argo0,&tempbool1)) |
f6bcfd97 BP |
5140 | return NULL; |
5141 | if (_argo0) { | |
5142 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5143 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 5144 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetOvertype. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
5145 | return NULL; |
5146 | } | |
5147 | } | |
fe47ec10 | 5148 | _arg1 = (bool ) tempbool1; |
f6bcfd97 BP |
5149 | { |
5150 | wxPy_BEGIN_ALLOW_THREADS; | |
fe47ec10 | 5151 | wxStyledTextCtrl_SetOvertype(_arg0,_arg1); |
f6bcfd97 BP |
5152 | |
5153 | wxPy_END_ALLOW_THREADS; | |
5154 | } Py_INCREF(Py_None); | |
5155 | _resultobj = Py_None; | |
5156 | return _resultobj; | |
5157 | } | |
5158 | ||
fe47ec10 RD |
5159 | #define wxStyledTextCtrl_GetOvertype(_swigobj) (_swigobj->GetOvertype()) |
5160 | static PyObject *_wrap_wxStyledTextCtrl_GetOvertype(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 | 5161 | PyObject * _resultobj; |
fe47ec10 | 5162 | bool _result; |
f6bcfd97 | 5163 | wxStyledTextCtrl * _arg0; |
f6bcfd97 | 5164 | PyObject * _argo0 = 0; |
fe47ec10 | 5165 | char *_kwnames[] = { "self", NULL }; |
f6bcfd97 BP |
5166 | |
5167 | self = self; | |
fe47ec10 | 5168 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetOvertype",_kwnames,&_argo0)) |
f6bcfd97 BP |
5169 | return NULL; |
5170 | if (_argo0) { | |
5171 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5172 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 5173 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetOvertype. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
5174 | return NULL; |
5175 | } | |
5176 | } | |
f6bcfd97 BP |
5177 | { |
5178 | wxPy_BEGIN_ALLOW_THREADS; | |
fe47ec10 | 5179 | _result = (bool )wxStyledTextCtrl_GetOvertype(_arg0); |
f6bcfd97 BP |
5180 | |
5181 | wxPy_END_ALLOW_THREADS; | |
5182 | } _resultobj = Py_BuildValue("i",_result); | |
5183 | return _resultobj; | |
5184 | } | |
5185 | ||
fe47ec10 RD |
5186 | #define wxStyledTextCtrl_CallTipShow(_swigobj,_swigarg0,_swigarg1) (_swigobj->CallTipShow(_swigarg0,_swigarg1)) |
5187 | static PyObject *_wrap_wxStyledTextCtrl_CallTipShow(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 | 5188 | PyObject * _resultobj; |
f6bcfd97 | 5189 | wxStyledTextCtrl * _arg0; |
fe47ec10 RD |
5190 | int _arg1; |
5191 | wxString * _arg2; | |
f6bcfd97 | 5192 | PyObject * _argo0 = 0; |
fe47ec10 RD |
5193 | PyObject * _obj2 = 0; |
5194 | char *_kwnames[] = { "self","pos","definition", NULL }; | |
f6bcfd97 BP |
5195 | |
5196 | self = self; | |
fe47ec10 | 5197 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxStyledTextCtrl_CallTipShow",_kwnames,&_argo0,&_arg1,&_obj2)) |
f6bcfd97 BP |
5198 | return NULL; |
5199 | if (_argo0) { | |
5200 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5201 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 5202 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_CallTipShow. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
5203 | return NULL; |
5204 | } | |
5205 | } | |
fe47ec10 | 5206 | { |
185d7c3e RD |
5207 | #if PYTHON_API_VERSION >= 1009 |
5208 | char* tmpPtr; int tmpSize; | |
5209 | if (!PyString_Check(_obj2) && !PyUnicode_Check(_obj2)) { | |
5210 | PyErr_SetString(PyExc_TypeError, "String or Unicode type required"); | |
5211 | return NULL; | |
5212 | } | |
5213 | if (PyString_AsStringAndSize(_obj2, &tmpPtr, &tmpSize) == -1) | |
5214 | return NULL; | |
5215 | _arg2 = new wxString(tmpPtr, tmpSize); | |
5216 | #else | |
fe47ec10 RD |
5217 | if (!PyString_Check(_obj2)) { |
5218 | PyErr_SetString(PyExc_TypeError, wxStringErrorMsg); | |
5219 | return NULL; | |
5220 | } | |
185d7c3e RD |
5221 | _arg2 = new wxString(PyString_AS_STRING(_obj2), PyString_GET_SIZE(_obj2)); |
5222 | #endif | |
fe47ec10 | 5223 | } |
f6bcfd97 BP |
5224 | { |
5225 | wxPy_BEGIN_ALLOW_THREADS; | |
fe47ec10 | 5226 | wxStyledTextCtrl_CallTipShow(_arg0,_arg1,*_arg2); |
f6bcfd97 BP |
5227 | |
5228 | wxPy_END_ALLOW_THREADS; | |
fe47ec10 RD |
5229 | } Py_INCREF(Py_None); |
5230 | _resultobj = Py_None; | |
5231 | { | |
5232 | if (_obj2) | |
5233 | delete _arg2; | |
5234 | } | |
f6bcfd97 BP |
5235 | return _resultobj; |
5236 | } | |
5237 | ||
fe47ec10 RD |
5238 | #define wxStyledTextCtrl_CallTipCancel(_swigobj) (_swigobj->CallTipCancel()) |
5239 | static PyObject *_wrap_wxStyledTextCtrl_CallTipCancel(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 BP |
5240 | PyObject * _resultobj; |
5241 | wxStyledTextCtrl * _arg0; | |
f6bcfd97 | 5242 | PyObject * _argo0 = 0; |
fe47ec10 | 5243 | char *_kwnames[] = { "self", NULL }; |
f6bcfd97 BP |
5244 | |
5245 | self = self; | |
fe47ec10 | 5246 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_CallTipCancel",_kwnames,&_argo0)) |
f6bcfd97 BP |
5247 | return NULL; |
5248 | if (_argo0) { | |
5249 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5250 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 5251 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_CallTipCancel. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
5252 | return NULL; |
5253 | } | |
5254 | } | |
5255 | { | |
5256 | wxPy_BEGIN_ALLOW_THREADS; | |
fe47ec10 | 5257 | wxStyledTextCtrl_CallTipCancel(_arg0); |
f6bcfd97 BP |
5258 | |
5259 | wxPy_END_ALLOW_THREADS; | |
5260 | } Py_INCREF(Py_None); | |
5261 | _resultobj = Py_None; | |
5262 | return _resultobj; | |
5263 | } | |
5264 | ||
fe47ec10 RD |
5265 | #define wxStyledTextCtrl_CallTipActive(_swigobj) (_swigobj->CallTipActive()) |
5266 | static PyObject *_wrap_wxStyledTextCtrl_CallTipActive(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 | 5267 | PyObject * _resultobj; |
fe47ec10 | 5268 | bool _result; |
f6bcfd97 | 5269 | wxStyledTextCtrl * _arg0; |
f6bcfd97 | 5270 | PyObject * _argo0 = 0; |
fe47ec10 | 5271 | char *_kwnames[] = { "self", NULL }; |
f6bcfd97 BP |
5272 | |
5273 | self = self; | |
fe47ec10 | 5274 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_CallTipActive",_kwnames,&_argo0)) |
f6bcfd97 BP |
5275 | return NULL; |
5276 | if (_argo0) { | |
5277 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5278 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 5279 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_CallTipActive. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
5280 | return NULL; |
5281 | } | |
5282 | } | |
5283 | { | |
5284 | wxPy_BEGIN_ALLOW_THREADS; | |
fe47ec10 | 5285 | _result = (bool )wxStyledTextCtrl_CallTipActive(_arg0); |
f6bcfd97 BP |
5286 | |
5287 | wxPy_END_ALLOW_THREADS; | |
5288 | } _resultobj = Py_BuildValue("i",_result); | |
5289 | return _resultobj; | |
5290 | } | |
5291 | ||
fe47ec10 RD |
5292 | #define wxStyledTextCtrl_CallTipPosAtStart(_swigobj) (_swigobj->CallTipPosAtStart()) |
5293 | static PyObject *_wrap_wxStyledTextCtrl_CallTipPosAtStart(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 BP |
5294 | PyObject * _resultobj; |
5295 | int _result; | |
5296 | wxStyledTextCtrl * _arg0; | |
f6bcfd97 | 5297 | PyObject * _argo0 = 0; |
fe47ec10 | 5298 | char *_kwnames[] = { "self", NULL }; |
f6bcfd97 BP |
5299 | |
5300 | self = self; | |
fe47ec10 | 5301 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_CallTipPosAtStart",_kwnames,&_argo0)) |
f6bcfd97 BP |
5302 | return NULL; |
5303 | if (_argo0) { | |
5304 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5305 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 5306 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_CallTipPosAtStart. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
5307 | return NULL; |
5308 | } | |
5309 | } | |
5310 | { | |
5311 | wxPy_BEGIN_ALLOW_THREADS; | |
fe47ec10 | 5312 | _result = (int )wxStyledTextCtrl_CallTipPosAtStart(_arg0); |
f6bcfd97 BP |
5313 | |
5314 | wxPy_END_ALLOW_THREADS; | |
5315 | } _resultobj = Py_BuildValue("i",_result); | |
5316 | return _resultobj; | |
5317 | } | |
5318 | ||
fe47ec10 RD |
5319 | #define wxStyledTextCtrl_CallTipSetHighlight(_swigobj,_swigarg0,_swigarg1) (_swigobj->CallTipSetHighlight(_swigarg0,_swigarg1)) |
5320 | static PyObject *_wrap_wxStyledTextCtrl_CallTipSetHighlight(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5321 | PyObject * _resultobj; | |
5322 | wxStyledTextCtrl * _arg0; | |
5323 | int _arg1; | |
5324 | int _arg2; | |
5325 | PyObject * _argo0 = 0; | |
5326 | char *_kwnames[] = { "self","start","end", NULL }; | |
5327 | ||
5328 | self = self; | |
5329 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxStyledTextCtrl_CallTipSetHighlight",_kwnames,&_argo0,&_arg1,&_arg2)) | |
5330 | return NULL; | |
5331 | if (_argo0) { | |
5332 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5333 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
5334 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_CallTipSetHighlight. Expected _wxStyledTextCtrl_p."); | |
5335 | return NULL; | |
5336 | } | |
5337 | } | |
5338 | { | |
5339 | wxPy_BEGIN_ALLOW_THREADS; | |
5340 | wxStyledTextCtrl_CallTipSetHighlight(_arg0,_arg1,_arg2); | |
5341 | ||
5342 | wxPy_END_ALLOW_THREADS; | |
5343 | } Py_INCREF(Py_None); | |
5344 | _resultobj = Py_None; | |
5345 | return _resultobj; | |
5346 | } | |
5347 | ||
5348 | #define wxStyledTextCtrl_CallTipSetBackground(_swigobj,_swigarg0) (_swigobj->CallTipSetBackground(_swigarg0)) | |
5349 | static PyObject *_wrap_wxStyledTextCtrl_CallTipSetBackground(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5350 | PyObject * _resultobj; | |
5351 | wxStyledTextCtrl * _arg0; | |
5352 | wxColour * _arg1; | |
5353 | PyObject * _argo0 = 0; | |
5354 | wxColour temp; | |
5355 | PyObject * _obj1 = 0; | |
5356 | char *_kwnames[] = { "self","back", NULL }; | |
5357 | ||
5358 | self = self; | |
5359 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxStyledTextCtrl_CallTipSetBackground",_kwnames,&_argo0,&_obj1)) | |
5360 | return NULL; | |
5361 | if (_argo0) { | |
5362 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5363 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
5364 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_CallTipSetBackground. Expected _wxStyledTextCtrl_p."); | |
5365 | return NULL; | |
5366 | } | |
5367 | } | |
5368 | { | |
5369 | _arg1 = &temp; | |
5370 | if (! wxColour_helper(_obj1, &_arg1)) | |
5371 | return NULL; | |
5372 | } | |
5373 | { | |
5374 | wxPy_BEGIN_ALLOW_THREADS; | |
5375 | wxStyledTextCtrl_CallTipSetBackground(_arg0,*_arg1); | |
5376 | ||
5377 | wxPy_END_ALLOW_THREADS; | |
5378 | } Py_INCREF(Py_None); | |
5379 | _resultobj = Py_None; | |
5380 | return _resultobj; | |
5381 | } | |
5382 | ||
5383 | #define wxStyledTextCtrl_VisibleFromDocLine(_swigobj,_swigarg0) (_swigobj->VisibleFromDocLine(_swigarg0)) | |
5384 | static PyObject *_wrap_wxStyledTextCtrl_VisibleFromDocLine(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5385 | PyObject * _resultobj; | |
5386 | int _result; | |
5387 | wxStyledTextCtrl * _arg0; | |
5388 | int _arg1; | |
5389 | PyObject * _argo0 = 0; | |
5390 | char *_kwnames[] = { "self","line", NULL }; | |
5391 | ||
5392 | self = self; | |
5393 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_VisibleFromDocLine",_kwnames,&_argo0,&_arg1)) | |
5394 | return NULL; | |
5395 | if (_argo0) { | |
5396 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5397 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
5398 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_VisibleFromDocLine. Expected _wxStyledTextCtrl_p."); | |
5399 | return NULL; | |
5400 | } | |
5401 | } | |
5402 | { | |
5403 | wxPy_BEGIN_ALLOW_THREADS; | |
5404 | _result = (int )wxStyledTextCtrl_VisibleFromDocLine(_arg0,_arg1); | |
5405 | ||
5406 | wxPy_END_ALLOW_THREADS; | |
5407 | } _resultobj = Py_BuildValue("i",_result); | |
5408 | return _resultobj; | |
5409 | } | |
5410 | ||
5411 | #define wxStyledTextCtrl_DocLineFromVisible(_swigobj,_swigarg0) (_swigobj->DocLineFromVisible(_swigarg0)) | |
5412 | static PyObject *_wrap_wxStyledTextCtrl_DocLineFromVisible(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5413 | PyObject * _resultobj; | |
f6bcfd97 BP |
5414 | int _result; |
5415 | wxStyledTextCtrl * _arg0; | |
5416 | int _arg1; | |
fe47ec10 RD |
5417 | PyObject * _argo0 = 0; |
5418 | char *_kwnames[] = { "self","lineDisplay", NULL }; | |
5419 | ||
5420 | self = self; | |
5421 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_DocLineFromVisible",_kwnames,&_argo0,&_arg1)) | |
5422 | return NULL; | |
5423 | if (_argo0) { | |
5424 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5425 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
5426 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_DocLineFromVisible. Expected _wxStyledTextCtrl_p."); | |
5427 | return NULL; | |
5428 | } | |
5429 | } | |
5430 | { | |
5431 | wxPy_BEGIN_ALLOW_THREADS; | |
5432 | _result = (int )wxStyledTextCtrl_DocLineFromVisible(_arg0,_arg1); | |
5433 | ||
5434 | wxPy_END_ALLOW_THREADS; | |
5435 | } _resultobj = Py_BuildValue("i",_result); | |
5436 | return _resultobj; | |
5437 | } | |
5438 | ||
5439 | #define wxStyledTextCtrl_SetFoldLevel(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetFoldLevel(_swigarg0,_swigarg1)) | |
5440 | static PyObject *_wrap_wxStyledTextCtrl_SetFoldLevel(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5441 | PyObject * _resultobj; | |
5442 | wxStyledTextCtrl * _arg0; | |
5443 | int _arg1; | |
f6bcfd97 BP |
5444 | int _arg2; |
5445 | PyObject * _argo0 = 0; | |
5446 | char *_kwnames[] = { "self","line","level", NULL }; | |
5447 | ||
5448 | self = self; | |
5449 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxStyledTextCtrl_SetFoldLevel",_kwnames,&_argo0,&_arg1,&_arg2)) | |
5450 | return NULL; | |
5451 | if (_argo0) { | |
5452 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5453 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
5454 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetFoldLevel. Expected _wxStyledTextCtrl_p."); | |
5455 | return NULL; | |
5456 | } | |
5457 | } | |
5458 | { | |
5459 | wxPy_BEGIN_ALLOW_THREADS; | |
fe47ec10 | 5460 | wxStyledTextCtrl_SetFoldLevel(_arg0,_arg1,_arg2); |
f6bcfd97 BP |
5461 | |
5462 | wxPy_END_ALLOW_THREADS; | |
fe47ec10 RD |
5463 | } Py_INCREF(Py_None); |
5464 | _resultobj = Py_None; | |
f6bcfd97 BP |
5465 | return _resultobj; |
5466 | } | |
5467 | ||
5468 | #define wxStyledTextCtrl_GetFoldLevel(_swigobj,_swigarg0) (_swigobj->GetFoldLevel(_swigarg0)) | |
5469 | static PyObject *_wrap_wxStyledTextCtrl_GetFoldLevel(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5470 | PyObject * _resultobj; | |
5471 | int _result; | |
5472 | wxStyledTextCtrl * _arg0; | |
5473 | int _arg1; | |
5474 | PyObject * _argo0 = 0; | |
5475 | char *_kwnames[] = { "self","line", NULL }; | |
5476 | ||
5477 | self = self; | |
5478 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_GetFoldLevel",_kwnames,&_argo0,&_arg1)) | |
5479 | return NULL; | |
5480 | if (_argo0) { | |
5481 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5482 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
5483 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetFoldLevel. Expected _wxStyledTextCtrl_p."); | |
5484 | return NULL; | |
5485 | } | |
5486 | } | |
5487 | { | |
5488 | wxPy_BEGIN_ALLOW_THREADS; | |
5489 | _result = (int )wxStyledTextCtrl_GetFoldLevel(_arg0,_arg1); | |
5490 | ||
5491 | wxPy_END_ALLOW_THREADS; | |
5492 | } _resultobj = Py_BuildValue("i",_result); | |
5493 | return _resultobj; | |
5494 | } | |
5495 | ||
5496 | #define wxStyledTextCtrl_GetLastChild(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetLastChild(_swigarg0,_swigarg1)) | |
5497 | static PyObject *_wrap_wxStyledTextCtrl_GetLastChild(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5498 | PyObject * _resultobj; | |
5499 | int _result; | |
5500 | wxStyledTextCtrl * _arg0; | |
5501 | int _arg1; | |
5502 | int _arg2; | |
5503 | PyObject * _argo0 = 0; | |
5504 | char *_kwnames[] = { "self","line","level", NULL }; | |
5505 | ||
5506 | self = self; | |
5507 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxStyledTextCtrl_GetLastChild",_kwnames,&_argo0,&_arg1,&_arg2)) | |
5508 | return NULL; | |
5509 | if (_argo0) { | |
5510 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5511 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
5512 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetLastChild. Expected _wxStyledTextCtrl_p."); | |
5513 | return NULL; | |
5514 | } | |
5515 | } | |
5516 | { | |
5517 | wxPy_BEGIN_ALLOW_THREADS; | |
5518 | _result = (int )wxStyledTextCtrl_GetLastChild(_arg0,_arg1,_arg2); | |
5519 | ||
5520 | wxPy_END_ALLOW_THREADS; | |
5521 | } _resultobj = Py_BuildValue("i",_result); | |
5522 | return _resultobj; | |
5523 | } | |
5524 | ||
5525 | #define wxStyledTextCtrl_GetFoldParent(_swigobj,_swigarg0) (_swigobj->GetFoldParent(_swigarg0)) | |
5526 | static PyObject *_wrap_wxStyledTextCtrl_GetFoldParent(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5527 | PyObject * _resultobj; | |
5528 | int _result; | |
5529 | wxStyledTextCtrl * _arg0; | |
5530 | int _arg1; | |
5531 | PyObject * _argo0 = 0; | |
5532 | char *_kwnames[] = { "self","line", NULL }; | |
5533 | ||
5534 | self = self; | |
5535 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_GetFoldParent",_kwnames,&_argo0,&_arg1)) | |
5536 | return NULL; | |
5537 | if (_argo0) { | |
5538 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5539 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
5540 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetFoldParent. Expected _wxStyledTextCtrl_p."); | |
5541 | return NULL; | |
5542 | } | |
5543 | } | |
5544 | { | |
5545 | wxPy_BEGIN_ALLOW_THREADS; | |
5546 | _result = (int )wxStyledTextCtrl_GetFoldParent(_arg0,_arg1); | |
5547 | ||
5548 | wxPy_END_ALLOW_THREADS; | |
5549 | } _resultobj = Py_BuildValue("i",_result); | |
5550 | return _resultobj; | |
5551 | } | |
5552 | ||
5553 | #define wxStyledTextCtrl_ShowLines(_swigobj,_swigarg0,_swigarg1) (_swigobj->ShowLines(_swigarg0,_swigarg1)) | |
5554 | static PyObject *_wrap_wxStyledTextCtrl_ShowLines(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5555 | PyObject * _resultobj; | |
5556 | wxStyledTextCtrl * _arg0; | |
5557 | int _arg1; | |
5558 | int _arg2; | |
5559 | PyObject * _argo0 = 0; | |
5560 | char *_kwnames[] = { "self","lineStart","lineEnd", NULL }; | |
5561 | ||
5562 | self = self; | |
5563 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxStyledTextCtrl_ShowLines",_kwnames,&_argo0,&_arg1,&_arg2)) | |
5564 | return NULL; | |
5565 | if (_argo0) { | |
5566 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5567 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
5568 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_ShowLines. Expected _wxStyledTextCtrl_p."); | |
5569 | return NULL; | |
5570 | } | |
5571 | } | |
5572 | { | |
5573 | wxPy_BEGIN_ALLOW_THREADS; | |
5574 | wxStyledTextCtrl_ShowLines(_arg0,_arg1,_arg2); | |
5575 | ||
5576 | wxPy_END_ALLOW_THREADS; | |
5577 | } Py_INCREF(Py_None); | |
5578 | _resultobj = Py_None; | |
5579 | return _resultobj; | |
5580 | } | |
5581 | ||
5582 | #define wxStyledTextCtrl_HideLines(_swigobj,_swigarg0,_swigarg1) (_swigobj->HideLines(_swigarg0,_swigarg1)) | |
5583 | static PyObject *_wrap_wxStyledTextCtrl_HideLines(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5584 | PyObject * _resultobj; | |
5585 | wxStyledTextCtrl * _arg0; | |
5586 | int _arg1; | |
5587 | int _arg2; | |
5588 | PyObject * _argo0 = 0; | |
5589 | char *_kwnames[] = { "self","lineStart","lineEnd", NULL }; | |
5590 | ||
5591 | self = self; | |
5592 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxStyledTextCtrl_HideLines",_kwnames,&_argo0,&_arg1,&_arg2)) | |
5593 | return NULL; | |
5594 | if (_argo0) { | |
5595 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5596 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
5597 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_HideLines. Expected _wxStyledTextCtrl_p."); | |
5598 | return NULL; | |
5599 | } | |
5600 | } | |
5601 | { | |
5602 | wxPy_BEGIN_ALLOW_THREADS; | |
5603 | wxStyledTextCtrl_HideLines(_arg0,_arg1,_arg2); | |
5604 | ||
5605 | wxPy_END_ALLOW_THREADS; | |
5606 | } Py_INCREF(Py_None); | |
5607 | _resultobj = Py_None; | |
5608 | return _resultobj; | |
5609 | } | |
5610 | ||
5611 | #define wxStyledTextCtrl_GetLineVisible(_swigobj,_swigarg0) (_swigobj->GetLineVisible(_swigarg0)) | |
5612 | static PyObject *_wrap_wxStyledTextCtrl_GetLineVisible(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5613 | PyObject * _resultobj; | |
5614 | bool _result; | |
5615 | wxStyledTextCtrl * _arg0; | |
5616 | int _arg1; | |
5617 | PyObject * _argo0 = 0; | |
5618 | char *_kwnames[] = { "self","line", NULL }; | |
5619 | ||
5620 | self = self; | |
5621 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_GetLineVisible",_kwnames,&_argo0,&_arg1)) | |
5622 | return NULL; | |
5623 | if (_argo0) { | |
5624 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5625 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
5626 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetLineVisible. Expected _wxStyledTextCtrl_p."); | |
5627 | return NULL; | |
5628 | } | |
5629 | } | |
5630 | { | |
5631 | wxPy_BEGIN_ALLOW_THREADS; | |
5632 | _result = (bool )wxStyledTextCtrl_GetLineVisible(_arg0,_arg1); | |
5633 | ||
5634 | wxPy_END_ALLOW_THREADS; | |
5635 | } _resultobj = Py_BuildValue("i",_result); | |
5636 | return _resultobj; | |
5637 | } | |
5638 | ||
5639 | #define wxStyledTextCtrl_SetFoldExpanded(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetFoldExpanded(_swigarg0,_swigarg1)) | |
5640 | static PyObject *_wrap_wxStyledTextCtrl_SetFoldExpanded(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5641 | PyObject * _resultobj; | |
5642 | wxStyledTextCtrl * _arg0; | |
5643 | int _arg1; | |
5644 | bool _arg2; | |
5645 | PyObject * _argo0 = 0; | |
5646 | int tempbool2; | |
5647 | char *_kwnames[] = { "self","line","expanded", NULL }; | |
5648 | ||
5649 | self = self; | |
5650 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxStyledTextCtrl_SetFoldExpanded",_kwnames,&_argo0,&_arg1,&tempbool2)) | |
5651 | return NULL; | |
5652 | if (_argo0) { | |
5653 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5654 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
5655 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetFoldExpanded. Expected _wxStyledTextCtrl_p."); | |
5656 | return NULL; | |
5657 | } | |
5658 | } | |
5659 | _arg2 = (bool ) tempbool2; | |
5660 | { | |
5661 | wxPy_BEGIN_ALLOW_THREADS; | |
5662 | wxStyledTextCtrl_SetFoldExpanded(_arg0,_arg1,_arg2); | |
5663 | ||
5664 | wxPy_END_ALLOW_THREADS; | |
5665 | } Py_INCREF(Py_None); | |
5666 | _resultobj = Py_None; | |
5667 | return _resultobj; | |
5668 | } | |
5669 | ||
5670 | #define wxStyledTextCtrl_GetFoldExpanded(_swigobj,_swigarg0) (_swigobj->GetFoldExpanded(_swigarg0)) | |
5671 | static PyObject *_wrap_wxStyledTextCtrl_GetFoldExpanded(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5672 | PyObject * _resultobj; | |
5673 | bool _result; | |
5674 | wxStyledTextCtrl * _arg0; | |
5675 | int _arg1; | |
5676 | PyObject * _argo0 = 0; | |
5677 | char *_kwnames[] = { "self","line", NULL }; | |
5678 | ||
5679 | self = self; | |
5680 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_GetFoldExpanded",_kwnames,&_argo0,&_arg1)) | |
5681 | return NULL; | |
5682 | if (_argo0) { | |
5683 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5684 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
5685 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetFoldExpanded. Expected _wxStyledTextCtrl_p."); | |
5686 | return NULL; | |
5687 | } | |
5688 | } | |
5689 | { | |
5690 | wxPy_BEGIN_ALLOW_THREADS; | |
5691 | _result = (bool )wxStyledTextCtrl_GetFoldExpanded(_arg0,_arg1); | |
5692 | ||
5693 | wxPy_END_ALLOW_THREADS; | |
5694 | } _resultobj = Py_BuildValue("i",_result); | |
5695 | return _resultobj; | |
5696 | } | |
5697 | ||
5698 | #define wxStyledTextCtrl_ToggleFold(_swigobj,_swigarg0) (_swigobj->ToggleFold(_swigarg0)) | |
5699 | static PyObject *_wrap_wxStyledTextCtrl_ToggleFold(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5700 | PyObject * _resultobj; | |
5701 | wxStyledTextCtrl * _arg0; | |
5702 | int _arg1; | |
5703 | PyObject * _argo0 = 0; | |
5704 | char *_kwnames[] = { "self","line", NULL }; | |
5705 | ||
5706 | self = self; | |
5707 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_ToggleFold",_kwnames,&_argo0,&_arg1)) | |
5708 | return NULL; | |
5709 | if (_argo0) { | |
5710 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5711 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
5712 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_ToggleFold. Expected _wxStyledTextCtrl_p."); | |
5713 | return NULL; | |
5714 | } | |
5715 | } | |
5716 | { | |
5717 | wxPy_BEGIN_ALLOW_THREADS; | |
5718 | wxStyledTextCtrl_ToggleFold(_arg0,_arg1); | |
5719 | ||
5720 | wxPy_END_ALLOW_THREADS; | |
5721 | } Py_INCREF(Py_None); | |
5722 | _resultobj = Py_None; | |
5723 | return _resultobj; | |
5724 | } | |
5725 | ||
5726 | #define wxStyledTextCtrl_EnsureVisible(_swigobj,_swigarg0) (_swigobj->EnsureVisible(_swigarg0)) | |
5727 | static PyObject *_wrap_wxStyledTextCtrl_EnsureVisible(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5728 | PyObject * _resultobj; | |
5729 | wxStyledTextCtrl * _arg0; | |
5730 | int _arg1; | |
5731 | PyObject * _argo0 = 0; | |
5732 | char *_kwnames[] = { "self","line", NULL }; | |
5733 | ||
5734 | self = self; | |
5735 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_EnsureVisible",_kwnames,&_argo0,&_arg1)) | |
5736 | return NULL; | |
5737 | if (_argo0) { | |
5738 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5739 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
5740 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_EnsureVisible. Expected _wxStyledTextCtrl_p."); | |
5741 | return NULL; | |
5742 | } | |
5743 | } | |
5744 | { | |
5745 | wxPy_BEGIN_ALLOW_THREADS; | |
5746 | wxStyledTextCtrl_EnsureVisible(_arg0,_arg1); | |
5747 | ||
5748 | wxPy_END_ALLOW_THREADS; | |
5749 | } Py_INCREF(Py_None); | |
5750 | _resultobj = Py_None; | |
5751 | return _resultobj; | |
5752 | } | |
5753 | ||
5754 | #define wxStyledTextCtrl_SetFoldFlags(_swigobj,_swigarg0) (_swigobj->SetFoldFlags(_swigarg0)) | |
5755 | static PyObject *_wrap_wxStyledTextCtrl_SetFoldFlags(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5756 | PyObject * _resultobj; | |
5757 | wxStyledTextCtrl * _arg0; | |
5758 | int _arg1; | |
5759 | PyObject * _argo0 = 0; | |
5760 | char *_kwnames[] = { "self","flags", NULL }; | |
5761 | ||
5762 | self = self; | |
5763 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_SetFoldFlags",_kwnames,&_argo0,&_arg1)) | |
5764 | return NULL; | |
5765 | if (_argo0) { | |
5766 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5767 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
5768 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetFoldFlags. Expected _wxStyledTextCtrl_p."); | |
5769 | return NULL; | |
5770 | } | |
5771 | } | |
5772 | { | |
5773 | wxPy_BEGIN_ALLOW_THREADS; | |
5774 | wxStyledTextCtrl_SetFoldFlags(_arg0,_arg1); | |
5775 | ||
5776 | wxPy_END_ALLOW_THREADS; | |
5777 | } Py_INCREF(Py_None); | |
5778 | _resultobj = Py_None; | |
5779 | return _resultobj; | |
5780 | } | |
5781 | ||
fe47ec10 RD |
5782 | #define wxStyledTextCtrl_LineLength(_swigobj,_swigarg0) (_swigobj->LineLength(_swigarg0)) |
5783 | static PyObject *_wrap_wxStyledTextCtrl_LineLength(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 | 5784 | PyObject * _resultobj; |
fe47ec10 | 5785 | int _result; |
f6bcfd97 | 5786 | wxStyledTextCtrl * _arg0; |
fe47ec10 | 5787 | int _arg1; |
f6bcfd97 | 5788 | PyObject * _argo0 = 0; |
fe47ec10 | 5789 | char *_kwnames[] = { "self","line", NULL }; |
f6bcfd97 BP |
5790 | |
5791 | self = self; | |
fe47ec10 | 5792 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_LineLength",_kwnames,&_argo0,&_arg1)) |
f6bcfd97 BP |
5793 | return NULL; |
5794 | if (_argo0) { | |
5795 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5796 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 5797 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_LineLength. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
5798 | return NULL; |
5799 | } | |
5800 | } | |
5801 | { | |
5802 | wxPy_BEGIN_ALLOW_THREADS; | |
fe47ec10 | 5803 | _result = (int )wxStyledTextCtrl_LineLength(_arg0,_arg1); |
f6bcfd97 BP |
5804 | |
5805 | wxPy_END_ALLOW_THREADS; | |
fe47ec10 | 5806 | } _resultobj = Py_BuildValue("i",_result); |
f6bcfd97 BP |
5807 | return _resultobj; |
5808 | } | |
5809 | ||
fe47ec10 RD |
5810 | #define wxStyledTextCtrl_BraceHighlight(_swigobj,_swigarg0,_swigarg1) (_swigobj->BraceHighlight(_swigarg0,_swigarg1)) |
5811 | static PyObject *_wrap_wxStyledTextCtrl_BraceHighlight(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 BP |
5812 | PyObject * _resultobj; |
5813 | wxStyledTextCtrl * _arg0; | |
fe47ec10 RD |
5814 | int _arg1; |
5815 | int _arg2; | |
f6bcfd97 | 5816 | PyObject * _argo0 = 0; |
fe47ec10 | 5817 | char *_kwnames[] = { "self","pos1","pos2", NULL }; |
f6bcfd97 BP |
5818 | |
5819 | self = self; | |
fe47ec10 | 5820 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxStyledTextCtrl_BraceHighlight",_kwnames,&_argo0,&_arg1,&_arg2)) |
f6bcfd97 BP |
5821 | return NULL; |
5822 | if (_argo0) { | |
5823 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5824 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 5825 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_BraceHighlight. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
5826 | return NULL; |
5827 | } | |
5828 | } | |
5829 | { | |
5830 | wxPy_BEGIN_ALLOW_THREADS; | |
fe47ec10 | 5831 | wxStyledTextCtrl_BraceHighlight(_arg0,_arg1,_arg2); |
f6bcfd97 BP |
5832 | |
5833 | wxPy_END_ALLOW_THREADS; | |
5834 | } Py_INCREF(Py_None); | |
5835 | _resultobj = Py_None; | |
5836 | return _resultobj; | |
5837 | } | |
5838 | ||
fe47ec10 RD |
5839 | #define wxStyledTextCtrl_BraceBadLight(_swigobj,_swigarg0) (_swigobj->BraceBadLight(_swigarg0)) |
5840 | static PyObject *_wrap_wxStyledTextCtrl_BraceBadLight(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 BP |
5841 | PyObject * _resultobj; |
5842 | wxStyledTextCtrl * _arg0; | |
5843 | int _arg1; | |
5844 | PyObject * _argo0 = 0; | |
fe47ec10 | 5845 | char *_kwnames[] = { "self","pos", NULL }; |
f6bcfd97 BP |
5846 | |
5847 | self = self; | |
fe47ec10 | 5848 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_BraceBadLight",_kwnames,&_argo0,&_arg1)) |
f6bcfd97 BP |
5849 | return NULL; |
5850 | if (_argo0) { | |
5851 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5852 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 5853 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_BraceBadLight. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
5854 | return NULL; |
5855 | } | |
5856 | } | |
5857 | { | |
5858 | wxPy_BEGIN_ALLOW_THREADS; | |
fe47ec10 | 5859 | wxStyledTextCtrl_BraceBadLight(_arg0,_arg1); |
f6bcfd97 BP |
5860 | |
5861 | wxPy_END_ALLOW_THREADS; | |
5862 | } Py_INCREF(Py_None); | |
5863 | _resultobj = Py_None; | |
5864 | return _resultobj; | |
5865 | } | |
5866 | ||
fe47ec10 RD |
5867 | #define wxStyledTextCtrl_BraceMatch(_swigobj,_swigarg0) (_swigobj->BraceMatch(_swigarg0)) |
5868 | static PyObject *_wrap_wxStyledTextCtrl_BraceMatch(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 BP |
5869 | PyObject * _resultobj; |
5870 | int _result; | |
5871 | wxStyledTextCtrl * _arg0; | |
fe47ec10 | 5872 | int _arg1; |
f6bcfd97 | 5873 | PyObject * _argo0 = 0; |
fe47ec10 | 5874 | char *_kwnames[] = { "self","pos", NULL }; |
f6bcfd97 BP |
5875 | |
5876 | self = self; | |
fe47ec10 | 5877 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_BraceMatch",_kwnames,&_argo0,&_arg1)) |
f6bcfd97 BP |
5878 | return NULL; |
5879 | if (_argo0) { | |
5880 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5881 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 5882 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_BraceMatch. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
5883 | return NULL; |
5884 | } | |
5885 | } | |
5886 | { | |
5887 | wxPy_BEGIN_ALLOW_THREADS; | |
fe47ec10 | 5888 | _result = (int )wxStyledTextCtrl_BraceMatch(_arg0,_arg1); |
f6bcfd97 BP |
5889 | |
5890 | wxPy_END_ALLOW_THREADS; | |
5891 | } _resultobj = Py_BuildValue("i",_result); | |
5892 | return _resultobj; | |
5893 | } | |
5894 | ||
fe47ec10 RD |
5895 | #define wxStyledTextCtrl_GetViewEOL(_swigobj) (_swigobj->GetViewEOL()) |
5896 | static PyObject *_wrap_wxStyledTextCtrl_GetViewEOL(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 | 5897 | PyObject * _resultobj; |
fe47ec10 | 5898 | bool _result; |
f6bcfd97 BP |
5899 | wxStyledTextCtrl * _arg0; |
5900 | PyObject * _argo0 = 0; | |
5901 | char *_kwnames[] = { "self", NULL }; | |
5902 | ||
5903 | self = self; | |
fe47ec10 | 5904 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetViewEOL",_kwnames,&_argo0)) |
f6bcfd97 BP |
5905 | return NULL; |
5906 | if (_argo0) { | |
5907 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5908 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 5909 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetViewEOL. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
5910 | return NULL; |
5911 | } | |
5912 | } | |
5913 | { | |
5914 | wxPy_BEGIN_ALLOW_THREADS; | |
fe47ec10 | 5915 | _result = (bool )wxStyledTextCtrl_GetViewEOL(_arg0); |
f6bcfd97 BP |
5916 | |
5917 | wxPy_END_ALLOW_THREADS; | |
5918 | } _resultobj = Py_BuildValue("i",_result); | |
5919 | return _resultobj; | |
5920 | } | |
5921 | ||
fe47ec10 RD |
5922 | #define wxStyledTextCtrl_SetViewEOL(_swigobj,_swigarg0) (_swigobj->SetViewEOL(_swigarg0)) |
5923 | static PyObject *_wrap_wxStyledTextCtrl_SetViewEOL(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 BP |
5924 | PyObject * _resultobj; |
5925 | wxStyledTextCtrl * _arg0; | |
fe47ec10 | 5926 | bool _arg1; |
f6bcfd97 | 5927 | PyObject * _argo0 = 0; |
fe47ec10 RD |
5928 | int tempbool1; |
5929 | char *_kwnames[] = { "self","visible", NULL }; | |
f6bcfd97 BP |
5930 | |
5931 | self = self; | |
fe47ec10 | 5932 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_SetViewEOL",_kwnames,&_argo0,&tempbool1)) |
f6bcfd97 BP |
5933 | return NULL; |
5934 | if (_argo0) { | |
5935 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5936 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 5937 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetViewEOL. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
5938 | return NULL; |
5939 | } | |
5940 | } | |
fe47ec10 | 5941 | _arg1 = (bool ) tempbool1; |
f6bcfd97 BP |
5942 | { |
5943 | wxPy_BEGIN_ALLOW_THREADS; | |
fe47ec10 | 5944 | wxStyledTextCtrl_SetViewEOL(_arg0,_arg1); |
f6bcfd97 BP |
5945 | |
5946 | wxPy_END_ALLOW_THREADS; | |
5947 | } Py_INCREF(Py_None); | |
5948 | _resultobj = Py_None; | |
5949 | return _resultobj; | |
5950 | } | |
5951 | ||
fe47ec10 RD |
5952 | #define wxStyledTextCtrl_GetDocPointer(_swigobj) (_swigobj->GetDocPointer()) |
5953 | static PyObject *_wrap_wxStyledTextCtrl_GetDocPointer(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 | 5954 | PyObject * _resultobj; |
fe47ec10 | 5955 | void * _result; |
f6bcfd97 BP |
5956 | wxStyledTextCtrl * _arg0; |
5957 | PyObject * _argo0 = 0; | |
5958 | char *_kwnames[] = { "self", NULL }; | |
fe47ec10 | 5959 | char _ptemp[128]; |
f6bcfd97 BP |
5960 | |
5961 | self = self; | |
fe47ec10 | 5962 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetDocPointer",_kwnames,&_argo0)) |
f6bcfd97 BP |
5963 | return NULL; |
5964 | if (_argo0) { | |
5965 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5966 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 5967 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetDocPointer. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
5968 | return NULL; |
5969 | } | |
5970 | } | |
5971 | { | |
5972 | wxPy_BEGIN_ALLOW_THREADS; | |
fe47ec10 | 5973 | _result = (void *)wxStyledTextCtrl_GetDocPointer(_arg0); |
f6bcfd97 BP |
5974 | |
5975 | wxPy_END_ALLOW_THREADS; | |
fe47ec10 RD |
5976 | } if (_result) { |
5977 | SWIG_MakePtr(_ptemp, (char *) _result,"_void_p"); | |
5978 | _resultobj = Py_BuildValue("s",_ptemp); | |
5979 | } else { | |
5980 | Py_INCREF(Py_None); | |
5981 | _resultobj = Py_None; | |
5982 | } | |
f6bcfd97 BP |
5983 | return _resultobj; |
5984 | } | |
5985 | ||
fe47ec10 RD |
5986 | #define wxStyledTextCtrl_SetDocPointer(_swigobj,_swigarg0) (_swigobj->SetDocPointer(_swigarg0)) |
5987 | static PyObject *_wrap_wxStyledTextCtrl_SetDocPointer(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 BP |
5988 | PyObject * _resultobj; |
5989 | wxStyledTextCtrl * _arg0; | |
fe47ec10 | 5990 | void * _arg1; |
f6bcfd97 | 5991 | PyObject * _argo0 = 0; |
fe47ec10 RD |
5992 | PyObject * _argo1 = 0; |
5993 | char *_kwnames[] = { "self","docPointer", NULL }; | |
f6bcfd97 BP |
5994 | |
5995 | self = self; | |
fe47ec10 | 5996 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxStyledTextCtrl_SetDocPointer",_kwnames,&_argo0,&_argo1)) |
f6bcfd97 BP |
5997 | return NULL; |
5998 | if (_argo0) { | |
5999 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6000 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 RD |
6001 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetDocPointer. Expected _wxStyledTextCtrl_p."); |
6002 | return NULL; | |
6003 | } | |
6004 | } | |
6005 | if (_argo1) { | |
6006 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
6007 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,(char *) 0 )) { | |
6008 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxStyledTextCtrl_SetDocPointer. Expected _void_p."); | |
f6bcfd97 BP |
6009 | return NULL; |
6010 | } | |
6011 | } | |
6012 | { | |
6013 | wxPy_BEGIN_ALLOW_THREADS; | |
fe47ec10 | 6014 | wxStyledTextCtrl_SetDocPointer(_arg0,_arg1); |
f6bcfd97 BP |
6015 | |
6016 | wxPy_END_ALLOW_THREADS; | |
6017 | } Py_INCREF(Py_None); | |
6018 | _resultobj = Py_None; | |
6019 | return _resultobj; | |
6020 | } | |
6021 | ||
fe47ec10 RD |
6022 | #define wxStyledTextCtrl_SetModEventMask(_swigobj,_swigarg0) (_swigobj->SetModEventMask(_swigarg0)) |
6023 | static PyObject *_wrap_wxStyledTextCtrl_SetModEventMask(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 | 6024 | PyObject * _resultobj; |
f6bcfd97 | 6025 | wxStyledTextCtrl * _arg0; |
fe47ec10 | 6026 | int _arg1; |
f6bcfd97 | 6027 | PyObject * _argo0 = 0; |
fe47ec10 | 6028 | char *_kwnames[] = { "self","mask", NULL }; |
f6bcfd97 BP |
6029 | |
6030 | self = self; | |
fe47ec10 | 6031 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_SetModEventMask",_kwnames,&_argo0,&_arg1)) |
f6bcfd97 BP |
6032 | return NULL; |
6033 | if (_argo0) { | |
6034 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6035 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 6036 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetModEventMask. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
6037 | return NULL; |
6038 | } | |
6039 | } | |
6040 | { | |
6041 | wxPy_BEGIN_ALLOW_THREADS; | |
fe47ec10 | 6042 | wxStyledTextCtrl_SetModEventMask(_arg0,_arg1); |
f6bcfd97 BP |
6043 | |
6044 | wxPy_END_ALLOW_THREADS; | |
fe47ec10 RD |
6045 | } Py_INCREF(Py_None); |
6046 | _resultobj = Py_None; | |
f6bcfd97 BP |
6047 | return _resultobj; |
6048 | } | |
6049 | ||
fe47ec10 RD |
6050 | #define wxStyledTextCtrl_GetEdgeColumn(_swigobj) (_swigobj->GetEdgeColumn()) |
6051 | static PyObject *_wrap_wxStyledTextCtrl_GetEdgeColumn(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 | 6052 | PyObject * _resultobj; |
fe47ec10 | 6053 | int _result; |
f6bcfd97 | 6054 | wxStyledTextCtrl * _arg0; |
f6bcfd97 | 6055 | PyObject * _argo0 = 0; |
fe47ec10 | 6056 | char *_kwnames[] = { "self", NULL }; |
f6bcfd97 BP |
6057 | |
6058 | self = self; | |
fe47ec10 | 6059 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetEdgeColumn",_kwnames,&_argo0)) |
f6bcfd97 BP |
6060 | return NULL; |
6061 | if (_argo0) { | |
6062 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6063 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 6064 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetEdgeColumn. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
6065 | return NULL; |
6066 | } | |
6067 | } | |
f6bcfd97 BP |
6068 | { |
6069 | wxPy_BEGIN_ALLOW_THREADS; | |
fe47ec10 | 6070 | _result = (int )wxStyledTextCtrl_GetEdgeColumn(_arg0); |
f6bcfd97 BP |
6071 | |
6072 | wxPy_END_ALLOW_THREADS; | |
fe47ec10 | 6073 | } _resultobj = Py_BuildValue("i",_result); |
f6bcfd97 BP |
6074 | return _resultobj; |
6075 | } | |
6076 | ||
fe47ec10 RD |
6077 | #define wxStyledTextCtrl_SetEdgeColumn(_swigobj,_swigarg0) (_swigobj->SetEdgeColumn(_swigarg0)) |
6078 | static PyObject *_wrap_wxStyledTextCtrl_SetEdgeColumn(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6079 | PyObject * _resultobj; | |
6080 | wxStyledTextCtrl * _arg0; | |
6081 | int _arg1; | |
6082 | PyObject * _argo0 = 0; | |
6083 | char *_kwnames[] = { "self","column", NULL }; | |
6084 | ||
6085 | self = self; | |
6086 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_SetEdgeColumn",_kwnames,&_argo0,&_arg1)) | |
6087 | return NULL; | |
6088 | if (_argo0) { | |
6089 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6090 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
6091 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetEdgeColumn. Expected _wxStyledTextCtrl_p."); | |
6092 | return NULL; | |
6093 | } | |
6094 | } | |
6095 | { | |
6096 | wxPy_BEGIN_ALLOW_THREADS; | |
6097 | wxStyledTextCtrl_SetEdgeColumn(_arg0,_arg1); | |
6098 | ||
6099 | wxPy_END_ALLOW_THREADS; | |
6100 | } Py_INCREF(Py_None); | |
6101 | _resultobj = Py_None; | |
6102 | return _resultobj; | |
6103 | } | |
6104 | ||
6105 | #define wxStyledTextCtrl_GetEdgeMode(_swigobj) (_swigobj->GetEdgeMode()) | |
6106 | static PyObject *_wrap_wxStyledTextCtrl_GetEdgeMode(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6107 | PyObject * _resultobj; | |
6108 | int _result; | |
6109 | wxStyledTextCtrl * _arg0; | |
6110 | PyObject * _argo0 = 0; | |
6111 | char *_kwnames[] = { "self", NULL }; | |
6112 | ||
6113 | self = self; | |
6114 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetEdgeMode",_kwnames,&_argo0)) | |
6115 | return NULL; | |
6116 | if (_argo0) { | |
6117 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6118 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
6119 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetEdgeMode. Expected _wxStyledTextCtrl_p."); | |
6120 | return NULL; | |
6121 | } | |
6122 | } | |
6123 | { | |
6124 | wxPy_BEGIN_ALLOW_THREADS; | |
6125 | _result = (int )wxStyledTextCtrl_GetEdgeMode(_arg0); | |
6126 | ||
6127 | wxPy_END_ALLOW_THREADS; | |
6128 | } _resultobj = Py_BuildValue("i",_result); | |
6129 | return _resultobj; | |
6130 | } | |
6131 | ||
6132 | #define wxStyledTextCtrl_SetEdgeMode(_swigobj,_swigarg0) (_swigobj->SetEdgeMode(_swigarg0)) | |
6133 | static PyObject *_wrap_wxStyledTextCtrl_SetEdgeMode(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6134 | PyObject * _resultobj; | |
6135 | wxStyledTextCtrl * _arg0; | |
6136 | int _arg1; | |
6137 | PyObject * _argo0 = 0; | |
6138 | char *_kwnames[] = { "self","mode", NULL }; | |
6139 | ||
6140 | self = self; | |
6141 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_SetEdgeMode",_kwnames,&_argo0,&_arg1)) | |
6142 | return NULL; | |
6143 | if (_argo0) { | |
6144 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6145 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
6146 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetEdgeMode. Expected _wxStyledTextCtrl_p."); | |
6147 | return NULL; | |
6148 | } | |
6149 | } | |
6150 | { | |
6151 | wxPy_BEGIN_ALLOW_THREADS; | |
6152 | wxStyledTextCtrl_SetEdgeMode(_arg0,_arg1); | |
6153 | ||
6154 | wxPy_END_ALLOW_THREADS; | |
6155 | } Py_INCREF(Py_None); | |
6156 | _resultobj = Py_None; | |
6157 | return _resultobj; | |
6158 | } | |
6159 | ||
6160 | #define wxStyledTextCtrl_GetEdgeColour(_swigobj) (_swigobj->GetEdgeColour()) | |
6161 | static PyObject *_wrap_wxStyledTextCtrl_GetEdgeColour(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6162 | PyObject * _resultobj; | |
6163 | wxColour * _result; | |
6164 | wxStyledTextCtrl * _arg0; | |
6165 | PyObject * _argo0 = 0; | |
6166 | char *_kwnames[] = { "self", NULL }; | |
6167 | char _ptemp[128]; | |
6168 | ||
6169 | self = self; | |
6170 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetEdgeColour",_kwnames,&_argo0)) | |
6171 | return NULL; | |
6172 | if (_argo0) { | |
6173 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6174 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
6175 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetEdgeColour. Expected _wxStyledTextCtrl_p."); | |
6176 | return NULL; | |
6177 | } | |
6178 | } | |
6179 | { | |
6180 | wxPy_BEGIN_ALLOW_THREADS; | |
6181 | _result = new wxColour (wxStyledTextCtrl_GetEdgeColour(_arg0)); | |
6182 | ||
6183 | wxPy_END_ALLOW_THREADS; | |
6184 | } SWIG_MakePtr(_ptemp, (void *) _result,"_wxColour_p"); | |
6185 | _resultobj = Py_BuildValue("s",_ptemp); | |
6186 | return _resultobj; | |
6187 | } | |
6188 | ||
6189 | #define wxStyledTextCtrl_SetEdgeColour(_swigobj,_swigarg0) (_swigobj->SetEdgeColour(_swigarg0)) | |
6190 | static PyObject *_wrap_wxStyledTextCtrl_SetEdgeColour(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6191 | PyObject * _resultobj; | |
6192 | wxStyledTextCtrl * _arg0; | |
6193 | wxColour * _arg1; | |
6194 | PyObject * _argo0 = 0; | |
6195 | wxColour temp; | |
6196 | PyObject * _obj1 = 0; | |
6197 | char *_kwnames[] = { "self","edgeColour", NULL }; | |
6198 | ||
6199 | self = self; | |
6200 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxStyledTextCtrl_SetEdgeColour",_kwnames,&_argo0,&_obj1)) | |
6201 | return NULL; | |
6202 | if (_argo0) { | |
6203 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6204 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
6205 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetEdgeColour. Expected _wxStyledTextCtrl_p."); | |
6206 | return NULL; | |
6207 | } | |
6208 | } | |
6209 | { | |
6210 | _arg1 = &temp; | |
6211 | if (! wxColour_helper(_obj1, &_arg1)) | |
6212 | return NULL; | |
6213 | } | |
6214 | { | |
6215 | wxPy_BEGIN_ALLOW_THREADS; | |
6216 | wxStyledTextCtrl_SetEdgeColour(_arg0,*_arg1); | |
6217 | ||
6218 | wxPy_END_ALLOW_THREADS; | |
6219 | } Py_INCREF(Py_None); | |
6220 | _resultobj = Py_None; | |
6221 | return _resultobj; | |
6222 | } | |
6223 | ||
6224 | #define wxStyledTextCtrl_SearchAnchor(_swigobj) (_swigobj->SearchAnchor()) | |
6225 | static PyObject *_wrap_wxStyledTextCtrl_SearchAnchor(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6226 | PyObject * _resultobj; | |
6227 | wxStyledTextCtrl * _arg0; | |
6228 | PyObject * _argo0 = 0; | |
6229 | char *_kwnames[] = { "self", NULL }; | |
6230 | ||
6231 | self = self; | |
6232 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_SearchAnchor",_kwnames,&_argo0)) | |
6233 | return NULL; | |
6234 | if (_argo0) { | |
6235 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6236 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
6237 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SearchAnchor. Expected _wxStyledTextCtrl_p."); | |
6238 | return NULL; | |
6239 | } | |
6240 | } | |
6241 | { | |
6242 | wxPy_BEGIN_ALLOW_THREADS; | |
6243 | wxStyledTextCtrl_SearchAnchor(_arg0); | |
6244 | ||
6245 | wxPy_END_ALLOW_THREADS; | |
6246 | } Py_INCREF(Py_None); | |
6247 | _resultobj = Py_None; | |
6248 | return _resultobj; | |
6249 | } | |
6250 | ||
6251 | #define wxStyledTextCtrl_SearchNext(_swigobj,_swigarg0,_swigarg1) (_swigobj->SearchNext(_swigarg0,_swigarg1)) | |
6252 | static PyObject *_wrap_wxStyledTextCtrl_SearchNext(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6253 | PyObject * _resultobj; | |
6254 | int _result; | |
6255 | wxStyledTextCtrl * _arg0; | |
6256 | int _arg1; | |
6257 | wxString * _arg2; | |
6258 | PyObject * _argo0 = 0; | |
6259 | PyObject * _obj2 = 0; | |
6260 | char *_kwnames[] = { "self","flags","text", NULL }; | |
6261 | ||
6262 | self = self; | |
6263 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxStyledTextCtrl_SearchNext",_kwnames,&_argo0,&_arg1,&_obj2)) | |
6264 | return NULL; | |
6265 | if (_argo0) { | |
6266 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6267 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
6268 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SearchNext. Expected _wxStyledTextCtrl_p."); | |
6269 | return NULL; | |
6270 | } | |
6271 | } | |
6272 | { | |
185d7c3e RD |
6273 | #if PYTHON_API_VERSION >= 1009 |
6274 | char* tmpPtr; int tmpSize; | |
6275 | if (!PyString_Check(_obj2) && !PyUnicode_Check(_obj2)) { | |
6276 | PyErr_SetString(PyExc_TypeError, "String or Unicode type required"); | |
6277 | return NULL; | |
6278 | } | |
6279 | if (PyString_AsStringAndSize(_obj2, &tmpPtr, &tmpSize) == -1) | |
6280 | return NULL; | |
6281 | _arg2 = new wxString(tmpPtr, tmpSize); | |
6282 | #else | |
fe47ec10 RD |
6283 | if (!PyString_Check(_obj2)) { |
6284 | PyErr_SetString(PyExc_TypeError, wxStringErrorMsg); | |
6285 | return NULL; | |
6286 | } | |
185d7c3e RD |
6287 | _arg2 = new wxString(PyString_AS_STRING(_obj2), PyString_GET_SIZE(_obj2)); |
6288 | #endif | |
fe47ec10 RD |
6289 | } |
6290 | { | |
6291 | wxPy_BEGIN_ALLOW_THREADS; | |
6292 | _result = (int )wxStyledTextCtrl_SearchNext(_arg0,_arg1,*_arg2); | |
6293 | ||
6294 | wxPy_END_ALLOW_THREADS; | |
6295 | } _resultobj = Py_BuildValue("i",_result); | |
6296 | { | |
6297 | if (_obj2) | |
6298 | delete _arg2; | |
6299 | } | |
6300 | return _resultobj; | |
6301 | } | |
6302 | ||
6303 | #define wxStyledTextCtrl_SearchPrev(_swigobj,_swigarg0,_swigarg1) (_swigobj->SearchPrev(_swigarg0,_swigarg1)) | |
6304 | static PyObject *_wrap_wxStyledTextCtrl_SearchPrev(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6305 | PyObject * _resultobj; | |
6306 | int _result; | |
6307 | wxStyledTextCtrl * _arg0; | |
6308 | int _arg1; | |
6309 | wxString * _arg2; | |
6310 | PyObject * _argo0 = 0; | |
6311 | PyObject * _obj2 = 0; | |
6312 | char *_kwnames[] = { "self","flags","text", NULL }; | |
6313 | ||
6314 | self = self; | |
6315 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxStyledTextCtrl_SearchPrev",_kwnames,&_argo0,&_arg1,&_obj2)) | |
6316 | return NULL; | |
6317 | if (_argo0) { | |
6318 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6319 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
6320 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SearchPrev. Expected _wxStyledTextCtrl_p."); | |
6321 | return NULL; | |
6322 | } | |
6323 | } | |
6324 | { | |
185d7c3e RD |
6325 | #if PYTHON_API_VERSION >= 1009 |
6326 | char* tmpPtr; int tmpSize; | |
6327 | if (!PyString_Check(_obj2) && !PyUnicode_Check(_obj2)) { | |
6328 | PyErr_SetString(PyExc_TypeError, "String or Unicode type required"); | |
6329 | return NULL; | |
6330 | } | |
6331 | if (PyString_AsStringAndSize(_obj2, &tmpPtr, &tmpSize) == -1) | |
6332 | return NULL; | |
6333 | _arg2 = new wxString(tmpPtr, tmpSize); | |
6334 | #else | |
fe47ec10 RD |
6335 | if (!PyString_Check(_obj2)) { |
6336 | PyErr_SetString(PyExc_TypeError, wxStringErrorMsg); | |
6337 | return NULL; | |
6338 | } | |
185d7c3e RD |
6339 | _arg2 = new wxString(PyString_AS_STRING(_obj2), PyString_GET_SIZE(_obj2)); |
6340 | #endif | |
fe47ec10 RD |
6341 | } |
6342 | { | |
6343 | wxPy_BEGIN_ALLOW_THREADS; | |
6344 | _result = (int )wxStyledTextCtrl_SearchPrev(_arg0,_arg1,*_arg2); | |
6345 | ||
6346 | wxPy_END_ALLOW_THREADS; | |
6347 | } _resultobj = Py_BuildValue("i",_result); | |
6348 | { | |
6349 | if (_obj2) | |
6350 | delete _arg2; | |
6351 | } | |
6352 | return _resultobj; | |
6353 | } | |
6354 | ||
6355 | #define wxStyledTextCtrl_SetCaretPolicy(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetCaretPolicy(_swigarg0,_swigarg1)) | |
6356 | static PyObject *_wrap_wxStyledTextCtrl_SetCaretPolicy(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6357 | PyObject * _resultobj; | |
6358 | wxStyledTextCtrl * _arg0; | |
6359 | int _arg1; | |
6360 | int _arg2; | |
6361 | PyObject * _argo0 = 0; | |
6362 | char *_kwnames[] = { "self","caretPolicy","caretSlop", NULL }; | |
6363 | ||
6364 | self = self; | |
6365 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxStyledTextCtrl_SetCaretPolicy",_kwnames,&_argo0,&_arg1,&_arg2)) | |
6366 | return NULL; | |
6367 | if (_argo0) { | |
6368 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6369 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
6370 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetCaretPolicy. Expected _wxStyledTextCtrl_p."); | |
6371 | return NULL; | |
6372 | } | |
6373 | } | |
6374 | { | |
6375 | wxPy_BEGIN_ALLOW_THREADS; | |
6376 | wxStyledTextCtrl_SetCaretPolicy(_arg0,_arg1,_arg2); | |
6377 | ||
6378 | wxPy_END_ALLOW_THREADS; | |
6379 | } Py_INCREF(Py_None); | |
6380 | _resultobj = Py_None; | |
6381 | return _resultobj; | |
6382 | } | |
6383 | ||
6384 | #define wxStyledTextCtrl_LinesOnScreen(_swigobj) (_swigobj->LinesOnScreen()) | |
6385 | static PyObject *_wrap_wxStyledTextCtrl_LinesOnScreen(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6386 | PyObject * _resultobj; | |
6387 | int _result; | |
6388 | wxStyledTextCtrl * _arg0; | |
6389 | PyObject * _argo0 = 0; | |
6390 | char *_kwnames[] = { "self", NULL }; | |
6391 | ||
6392 | self = self; | |
6393 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_LinesOnScreen",_kwnames,&_argo0)) | |
6394 | return NULL; | |
6395 | if (_argo0) { | |
6396 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6397 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
6398 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_LinesOnScreen. Expected _wxStyledTextCtrl_p."); | |
6399 | return NULL; | |
6400 | } | |
6401 | } | |
6402 | { | |
6403 | wxPy_BEGIN_ALLOW_THREADS; | |
6404 | _result = (int )wxStyledTextCtrl_LinesOnScreen(_arg0); | |
6405 | ||
6406 | wxPy_END_ALLOW_THREADS; | |
6407 | } _resultobj = Py_BuildValue("i",_result); | |
6408 | return _resultobj; | |
6409 | } | |
6410 | ||
6411 | #define wxStyledTextCtrl_UsePopUp(_swigobj,_swigarg0) (_swigobj->UsePopUp(_swigarg0)) | |
6412 | static PyObject *_wrap_wxStyledTextCtrl_UsePopUp(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6413 | PyObject * _resultobj; | |
6414 | wxStyledTextCtrl * _arg0; | |
6415 | bool _arg1; | |
6416 | PyObject * _argo0 = 0; | |
6417 | int tempbool1; | |
6418 | char *_kwnames[] = { "self","allowPopUp", NULL }; | |
6419 | ||
6420 | self = self; | |
6421 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_UsePopUp",_kwnames,&_argo0,&tempbool1)) | |
6422 | return NULL; | |
6423 | if (_argo0) { | |
6424 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6425 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
6426 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_UsePopUp. Expected _wxStyledTextCtrl_p."); | |
6427 | return NULL; | |
6428 | } | |
6429 | } | |
6430 | _arg1 = (bool ) tempbool1; | |
6431 | { | |
6432 | wxPy_BEGIN_ALLOW_THREADS; | |
6433 | wxStyledTextCtrl_UsePopUp(_arg0,_arg1); | |
6434 | ||
6435 | wxPy_END_ALLOW_THREADS; | |
6436 | } Py_INCREF(Py_None); | |
6437 | _resultobj = Py_None; | |
6438 | return _resultobj; | |
6439 | } | |
6440 | ||
6441 | #define wxStyledTextCtrl_SelectionIsRectangle(_swigobj) (_swigobj->SelectionIsRectangle()) | |
6442 | static PyObject *_wrap_wxStyledTextCtrl_SelectionIsRectangle(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6443 | PyObject * _resultobj; | |
6444 | bool _result; | |
6445 | wxStyledTextCtrl * _arg0; | |
6446 | PyObject * _argo0 = 0; | |
6447 | char *_kwnames[] = { "self", NULL }; | |
6448 | ||
6449 | self = self; | |
6450 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_SelectionIsRectangle",_kwnames,&_argo0)) | |
6451 | return NULL; | |
6452 | if (_argo0) { | |
6453 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6454 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
6455 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SelectionIsRectangle. Expected _wxStyledTextCtrl_p."); | |
6456 | return NULL; | |
6457 | } | |
6458 | } | |
6459 | { | |
6460 | wxPy_BEGIN_ALLOW_THREADS; | |
6461 | _result = (bool )wxStyledTextCtrl_SelectionIsRectangle(_arg0); | |
6462 | ||
6463 | wxPy_END_ALLOW_THREADS; | |
6464 | } _resultobj = Py_BuildValue("i",_result); | |
6465 | return _resultobj; | |
6466 | } | |
6467 | ||
6468 | #define wxStyledTextCtrl_SetZoom(_swigobj,_swigarg0) (_swigobj->SetZoom(_swigarg0)) | |
6469 | static PyObject *_wrap_wxStyledTextCtrl_SetZoom(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6470 | PyObject * _resultobj; | |
6471 | wxStyledTextCtrl * _arg0; | |
6472 | int _arg1; | |
6473 | PyObject * _argo0 = 0; | |
6474 | char *_kwnames[] = { "self","zoom", NULL }; | |
6475 | ||
6476 | self = self; | |
6477 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_SetZoom",_kwnames,&_argo0,&_arg1)) | |
6478 | return NULL; | |
6479 | if (_argo0) { | |
6480 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6481 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
6482 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetZoom. Expected _wxStyledTextCtrl_p."); | |
6483 | return NULL; | |
6484 | } | |
6485 | } | |
6486 | { | |
6487 | wxPy_BEGIN_ALLOW_THREADS; | |
6488 | wxStyledTextCtrl_SetZoom(_arg0,_arg1); | |
6489 | ||
6490 | wxPy_END_ALLOW_THREADS; | |
6491 | } Py_INCREF(Py_None); | |
6492 | _resultobj = Py_None; | |
6493 | return _resultobj; | |
6494 | } | |
6495 | ||
6496 | #define wxStyledTextCtrl_GetZoom(_swigobj) (_swigobj->GetZoom()) | |
6497 | static PyObject *_wrap_wxStyledTextCtrl_GetZoom(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6498 | PyObject * _resultobj; | |
6499 | int _result; | |
6500 | wxStyledTextCtrl * _arg0; | |
6501 | PyObject * _argo0 = 0; | |
6502 | char *_kwnames[] = { "self", NULL }; | |
6503 | ||
6504 | self = self; | |
6505 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetZoom",_kwnames,&_argo0)) | |
6506 | return NULL; | |
6507 | if (_argo0) { | |
6508 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6509 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
6510 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetZoom. Expected _wxStyledTextCtrl_p."); | |
6511 | return NULL; | |
6512 | } | |
6513 | } | |
6514 | { | |
6515 | wxPy_BEGIN_ALLOW_THREADS; | |
6516 | _result = (int )wxStyledTextCtrl_GetZoom(_arg0); | |
6517 | ||
6518 | wxPy_END_ALLOW_THREADS; | |
6519 | } _resultobj = Py_BuildValue("i",_result); | |
6520 | return _resultobj; | |
6521 | } | |
6522 | ||
6523 | #define wxStyledTextCtrl_CreateDocument(_swigobj) (_swigobj->CreateDocument()) | |
6524 | static PyObject *_wrap_wxStyledTextCtrl_CreateDocument(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6525 | PyObject * _resultobj; | |
6526 | void * _result; | |
6527 | wxStyledTextCtrl * _arg0; | |
6528 | PyObject * _argo0 = 0; | |
6529 | char *_kwnames[] = { "self", NULL }; | |
6530 | char _ptemp[128]; | |
6531 | ||
6532 | self = self; | |
6533 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_CreateDocument",_kwnames,&_argo0)) | |
6534 | return NULL; | |
6535 | if (_argo0) { | |
6536 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6537 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
6538 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_CreateDocument. Expected _wxStyledTextCtrl_p."); | |
6539 | return NULL; | |
6540 | } | |
6541 | } | |
6542 | { | |
6543 | wxPy_BEGIN_ALLOW_THREADS; | |
6544 | _result = (void *)wxStyledTextCtrl_CreateDocument(_arg0); | |
6545 | ||
6546 | wxPy_END_ALLOW_THREADS; | |
6547 | } if (_result) { | |
6548 | SWIG_MakePtr(_ptemp, (char *) _result,"_void_p"); | |
6549 | _resultobj = Py_BuildValue("s",_ptemp); | |
6550 | } else { | |
6551 | Py_INCREF(Py_None); | |
6552 | _resultobj = Py_None; | |
6553 | } | |
6554 | return _resultobj; | |
6555 | } | |
6556 | ||
6557 | #define wxStyledTextCtrl_AddRefDocument(_swigobj,_swigarg0) (_swigobj->AddRefDocument(_swigarg0)) | |
6558 | static PyObject *_wrap_wxStyledTextCtrl_AddRefDocument(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6559 | PyObject * _resultobj; | |
6560 | wxStyledTextCtrl * _arg0; | |
6561 | void * _arg1; | |
6562 | PyObject * _argo0 = 0; | |
6563 | PyObject * _argo1 = 0; | |
6564 | char *_kwnames[] = { "self","docPointer", NULL }; | |
6565 | ||
6566 | self = self; | |
6567 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxStyledTextCtrl_AddRefDocument",_kwnames,&_argo0,&_argo1)) | |
6568 | return NULL; | |
6569 | if (_argo0) { | |
6570 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6571 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
6572 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_AddRefDocument. Expected _wxStyledTextCtrl_p."); | |
6573 | return NULL; | |
6574 | } | |
6575 | } | |
6576 | if (_argo1) { | |
6577 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
6578 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,(char *) 0 )) { | |
6579 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxStyledTextCtrl_AddRefDocument. Expected _void_p."); | |
6580 | return NULL; | |
6581 | } | |
6582 | } | |
6583 | { | |
6584 | wxPy_BEGIN_ALLOW_THREADS; | |
6585 | wxStyledTextCtrl_AddRefDocument(_arg0,_arg1); | |
6586 | ||
6587 | wxPy_END_ALLOW_THREADS; | |
6588 | } Py_INCREF(Py_None); | |
6589 | _resultobj = Py_None; | |
6590 | return _resultobj; | |
6591 | } | |
6592 | ||
6593 | #define wxStyledTextCtrl_ReleaseDocument(_swigobj,_swigarg0) (_swigobj->ReleaseDocument(_swigarg0)) | |
6594 | static PyObject *_wrap_wxStyledTextCtrl_ReleaseDocument(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6595 | PyObject * _resultobj; | |
6596 | wxStyledTextCtrl * _arg0; | |
6597 | void * _arg1; | |
6598 | PyObject * _argo0 = 0; | |
6599 | PyObject * _argo1 = 0; | |
6600 | char *_kwnames[] = { "self","docPointer", NULL }; | |
6601 | ||
6602 | self = self; | |
6603 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxStyledTextCtrl_ReleaseDocument",_kwnames,&_argo0,&_argo1)) | |
6604 | return NULL; | |
6605 | if (_argo0) { | |
6606 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6607 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
6608 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_ReleaseDocument. Expected _wxStyledTextCtrl_p."); | |
6609 | return NULL; | |
6610 | } | |
6611 | } | |
6612 | if (_argo1) { | |
6613 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
6614 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,(char *) 0 )) { | |
6615 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxStyledTextCtrl_ReleaseDocument. Expected _void_p."); | |
6616 | return NULL; | |
6617 | } | |
6618 | } | |
6619 | { | |
6620 | wxPy_BEGIN_ALLOW_THREADS; | |
6621 | wxStyledTextCtrl_ReleaseDocument(_arg0,_arg1); | |
6622 | ||
6623 | wxPy_END_ALLOW_THREADS; | |
6624 | } Py_INCREF(Py_None); | |
6625 | _resultobj = Py_None; | |
6626 | return _resultobj; | |
6627 | } | |
6628 | ||
6629 | #define wxStyledTextCtrl_GetModEventMask(_swigobj) (_swigobj->GetModEventMask()) | |
6630 | static PyObject *_wrap_wxStyledTextCtrl_GetModEventMask(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6631 | PyObject * _resultobj; | |
6632 | int _result; | |
6633 | wxStyledTextCtrl * _arg0; | |
6634 | PyObject * _argo0 = 0; | |
6635 | char *_kwnames[] = { "self", NULL }; | |
6636 | ||
6637 | self = self; | |
6638 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetModEventMask",_kwnames,&_argo0)) | |
6639 | return NULL; | |
6640 | if (_argo0) { | |
6641 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6642 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
6643 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetModEventMask. Expected _wxStyledTextCtrl_p."); | |
6644 | return NULL; | |
6645 | } | |
6646 | } | |
6647 | { | |
6648 | wxPy_BEGIN_ALLOW_THREADS; | |
6649 | _result = (int )wxStyledTextCtrl_GetModEventMask(_arg0); | |
6650 | ||
6651 | wxPy_END_ALLOW_THREADS; | |
6652 | } _resultobj = Py_BuildValue("i",_result); | |
6653 | return _resultobj; | |
6654 | } | |
6655 | ||
6656 | #define wxStyledTextCtrl_StartRecord(_swigobj) (_swigobj->StartRecord()) | |
6657 | static PyObject *_wrap_wxStyledTextCtrl_StartRecord(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6658 | PyObject * _resultobj; | |
6659 | wxStyledTextCtrl * _arg0; | |
6660 | PyObject * _argo0 = 0; | |
6661 | char *_kwnames[] = { "self", NULL }; | |
6662 | ||
6663 | self = self; | |
6664 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_StartRecord",_kwnames,&_argo0)) | |
6665 | return NULL; | |
6666 | if (_argo0) { | |
6667 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6668 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
6669 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_StartRecord. Expected _wxStyledTextCtrl_p."); | |
6670 | return NULL; | |
6671 | } | |
6672 | } | |
6673 | { | |
6674 | wxPy_BEGIN_ALLOW_THREADS; | |
6675 | wxStyledTextCtrl_StartRecord(_arg0); | |
6676 | ||
6677 | wxPy_END_ALLOW_THREADS; | |
6678 | } Py_INCREF(Py_None); | |
6679 | _resultobj = Py_None; | |
6680 | return _resultobj; | |
6681 | } | |
6682 | ||
6683 | #define wxStyledTextCtrl_StopRecord(_swigobj) (_swigobj->StopRecord()) | |
6684 | static PyObject *_wrap_wxStyledTextCtrl_StopRecord(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6685 | PyObject * _resultobj; | |
6686 | wxStyledTextCtrl * _arg0; | |
6687 | PyObject * _argo0 = 0; | |
6688 | char *_kwnames[] = { "self", NULL }; | |
6689 | ||
6690 | self = self; | |
6691 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_StopRecord",_kwnames,&_argo0)) | |
6692 | return NULL; | |
6693 | if (_argo0) { | |
6694 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6695 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
6696 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_StopRecord. Expected _wxStyledTextCtrl_p."); | |
6697 | return NULL; | |
6698 | } | |
6699 | } | |
6700 | { | |
6701 | wxPy_BEGIN_ALLOW_THREADS; | |
6702 | wxStyledTextCtrl_StopRecord(_arg0); | |
6703 | ||
6704 | wxPy_END_ALLOW_THREADS; | |
6705 | } Py_INCREF(Py_None); | |
6706 | _resultobj = Py_None; | |
6707 | return _resultobj; | |
6708 | } | |
6709 | ||
6710 | #define wxStyledTextCtrl_SetLexer(_swigobj,_swigarg0) (_swigobj->SetLexer(_swigarg0)) | |
6711 | static PyObject *_wrap_wxStyledTextCtrl_SetLexer(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 BP |
6712 | PyObject * _resultobj; |
6713 | wxStyledTextCtrl * _arg0; | |
fe47ec10 | 6714 | int _arg1; |
f6bcfd97 BP |
6715 | PyObject * _argo0 = 0; |
6716 | char *_kwnames[] = { "self","lexer", NULL }; | |
6717 | ||
6718 | self = self; | |
6719 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_SetLexer",_kwnames,&_argo0,&_arg1)) | |
6720 | return NULL; | |
6721 | if (_argo0) { | |
6722 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6723 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
6724 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetLexer. Expected _wxStyledTextCtrl_p."); | |
6725 | return NULL; | |
6726 | } | |
6727 | } | |
6728 | { | |
6729 | wxPy_BEGIN_ALLOW_THREADS; | |
6730 | wxStyledTextCtrl_SetLexer(_arg0,_arg1); | |
6731 | ||
6732 | wxPy_END_ALLOW_THREADS; | |
6733 | } Py_INCREF(Py_None); | |
6734 | _resultobj = Py_None; | |
6735 | return _resultobj; | |
6736 | } | |
6737 | ||
6738 | #define wxStyledTextCtrl_GetLexer(_swigobj) (_swigobj->GetLexer()) | |
6739 | static PyObject *_wrap_wxStyledTextCtrl_GetLexer(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6740 | PyObject * _resultobj; | |
fe47ec10 | 6741 | int _result; |
f6bcfd97 BP |
6742 | wxStyledTextCtrl * _arg0; |
6743 | PyObject * _argo0 = 0; | |
6744 | char *_kwnames[] = { "self", NULL }; | |
6745 | ||
6746 | self = self; | |
6747 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetLexer",_kwnames,&_argo0)) | |
6748 | return NULL; | |
6749 | if (_argo0) { | |
6750 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6751 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
6752 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetLexer. Expected _wxStyledTextCtrl_p."); | |
6753 | return NULL; | |
6754 | } | |
6755 | } | |
6756 | { | |
6757 | wxPy_BEGIN_ALLOW_THREADS; | |
fe47ec10 | 6758 | _result = (int )wxStyledTextCtrl_GetLexer(_arg0); |
f6bcfd97 BP |
6759 | |
6760 | wxPy_END_ALLOW_THREADS; | |
6761 | } _resultobj = Py_BuildValue("i",_result); | |
6762 | return _resultobj; | |
6763 | } | |
6764 | ||
6765 | #define wxStyledTextCtrl_Colourise(_swigobj,_swigarg0,_swigarg1) (_swigobj->Colourise(_swigarg0,_swigarg1)) | |
6766 | static PyObject *_wrap_wxStyledTextCtrl_Colourise(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6767 | PyObject * _resultobj; | |
6768 | wxStyledTextCtrl * _arg0; | |
6769 | int _arg1; | |
6770 | int _arg2; | |
6771 | PyObject * _argo0 = 0; | |
6772 | char *_kwnames[] = { "self","start","end", NULL }; | |
6773 | ||
6774 | self = self; | |
6775 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxStyledTextCtrl_Colourise",_kwnames,&_argo0,&_arg1,&_arg2)) | |
6776 | return NULL; | |
6777 | if (_argo0) { | |
6778 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6779 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
6780 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_Colourise. Expected _wxStyledTextCtrl_p."); | |
6781 | return NULL; | |
6782 | } | |
6783 | } | |
6784 | { | |
6785 | wxPy_BEGIN_ALLOW_THREADS; | |
6786 | wxStyledTextCtrl_Colourise(_arg0,_arg1,_arg2); | |
6787 | ||
6788 | wxPy_END_ALLOW_THREADS; | |
6789 | } Py_INCREF(Py_None); | |
6790 | _resultobj = Py_None; | |
6791 | return _resultobj; | |
6792 | } | |
6793 | ||
6794 | #define wxStyledTextCtrl_SetProperty(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetProperty(_swigarg0,_swigarg1)) | |
6795 | static PyObject *_wrap_wxStyledTextCtrl_SetProperty(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6796 | PyObject * _resultobj; | |
6797 | wxStyledTextCtrl * _arg0; | |
6798 | wxString * _arg1; | |
6799 | wxString * _arg2; | |
6800 | PyObject * _argo0 = 0; | |
6801 | PyObject * _obj1 = 0; | |
6802 | PyObject * _obj2 = 0; | |
6803 | char *_kwnames[] = { "self","key","value", NULL }; | |
6804 | ||
6805 | self = self; | |
6806 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxStyledTextCtrl_SetProperty",_kwnames,&_argo0,&_obj1,&_obj2)) | |
6807 | return NULL; | |
6808 | if (_argo0) { | |
6809 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6810 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
6811 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetProperty. Expected _wxStyledTextCtrl_p."); | |
6812 | return NULL; | |
6813 | } | |
6814 | } | |
6815 | { | |
185d7c3e RD |
6816 | #if PYTHON_API_VERSION >= 1009 |
6817 | char* tmpPtr; int tmpSize; | |
6818 | if (!PyString_Check(_obj1) && !PyUnicode_Check(_obj1)) { | |
6819 | PyErr_SetString(PyExc_TypeError, "String or Unicode type required"); | |
6820 | return NULL; | |
6821 | } | |
6822 | if (PyString_AsStringAndSize(_obj1, &tmpPtr, &tmpSize) == -1) | |
6823 | return NULL; | |
6824 | _arg1 = new wxString(tmpPtr, tmpSize); | |
6825 | #else | |
f6bcfd97 BP |
6826 | if (!PyString_Check(_obj1)) { |
6827 | PyErr_SetString(PyExc_TypeError, wxStringErrorMsg); | |
6828 | return NULL; | |
6829 | } | |
185d7c3e RD |
6830 | _arg1 = new wxString(PyString_AS_STRING(_obj1), PyString_GET_SIZE(_obj1)); |
6831 | #endif | |
f6bcfd97 BP |
6832 | } |
6833 | { | |
185d7c3e RD |
6834 | #if PYTHON_API_VERSION >= 1009 |
6835 | char* tmpPtr; int tmpSize; | |
6836 | if (!PyString_Check(_obj2) && !PyUnicode_Check(_obj2)) { | |
6837 | PyErr_SetString(PyExc_TypeError, "String or Unicode type required"); | |
6838 | return NULL; | |
6839 | } | |
6840 | if (PyString_AsStringAndSize(_obj2, &tmpPtr, &tmpSize) == -1) | |
6841 | return NULL; | |
6842 | _arg2 = new wxString(tmpPtr, tmpSize); | |
6843 | #else | |
f6bcfd97 BP |
6844 | if (!PyString_Check(_obj2)) { |
6845 | PyErr_SetString(PyExc_TypeError, wxStringErrorMsg); | |
6846 | return NULL; | |
6847 | } | |
185d7c3e RD |
6848 | _arg2 = new wxString(PyString_AS_STRING(_obj2), PyString_GET_SIZE(_obj2)); |
6849 | #endif | |
f6bcfd97 BP |
6850 | } |
6851 | { | |
6852 | wxPy_BEGIN_ALLOW_THREADS; | |
6853 | wxStyledTextCtrl_SetProperty(_arg0,*_arg1,*_arg2); | |
6854 | ||
6855 | wxPy_END_ALLOW_THREADS; | |
6856 | } Py_INCREF(Py_None); | |
6857 | _resultobj = Py_None; | |
6858 | { | |
6859 | if (_obj1) | |
6860 | delete _arg1; | |
6861 | } | |
6862 | { | |
6863 | if (_obj2) | |
6864 | delete _arg2; | |
6865 | } | |
6866 | return _resultobj; | |
6867 | } | |
6868 | ||
fe47ec10 RD |
6869 | #define wxStyledTextCtrl_SetKeyWords(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetKeyWords(_swigarg0,_swigarg1)) |
6870 | static PyObject *_wrap_wxStyledTextCtrl_SetKeyWords(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6871 | PyObject * _resultobj; | |
6872 | wxStyledTextCtrl * _arg0; | |
6873 | int _arg1; | |
6874 | wxString * _arg2; | |
6875 | PyObject * _argo0 = 0; | |
6876 | PyObject * _obj2 = 0; | |
6877 | char *_kwnames[] = { "self","keywordSet","keyWords", NULL }; | |
6878 | ||
6879 | self = self; | |
6880 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxStyledTextCtrl_SetKeyWords",_kwnames,&_argo0,&_arg1,&_obj2)) | |
6881 | return NULL; | |
6882 | if (_argo0) { | |
6883 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6884 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
6885 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetKeyWords. Expected _wxStyledTextCtrl_p."); | |
6886 | return NULL; | |
6887 | } | |
6888 | } | |
6889 | { | |
185d7c3e RD |
6890 | #if PYTHON_API_VERSION >= 1009 |
6891 | char* tmpPtr; int tmpSize; | |
6892 | if (!PyString_Check(_obj2) && !PyUnicode_Check(_obj2)) { | |
6893 | PyErr_SetString(PyExc_TypeError, "String or Unicode type required"); | |
6894 | return NULL; | |
6895 | } | |
6896 | if (PyString_AsStringAndSize(_obj2, &tmpPtr, &tmpSize) == -1) | |
6897 | return NULL; | |
6898 | _arg2 = new wxString(tmpPtr, tmpSize); | |
6899 | #else | |
fe47ec10 RD |
6900 | if (!PyString_Check(_obj2)) { |
6901 | PyErr_SetString(PyExc_TypeError, wxStringErrorMsg); | |
6902 | return NULL; | |
6903 | } | |
185d7c3e RD |
6904 | _arg2 = new wxString(PyString_AS_STRING(_obj2), PyString_GET_SIZE(_obj2)); |
6905 | #endif | |
fe47ec10 RD |
6906 | } |
6907 | { | |
6908 | wxPy_BEGIN_ALLOW_THREADS; | |
6909 | wxStyledTextCtrl_SetKeyWords(_arg0,_arg1,*_arg2); | |
6910 | ||
6911 | wxPy_END_ALLOW_THREADS; | |
6912 | } Py_INCREF(Py_None); | |
6913 | _resultobj = Py_None; | |
6914 | { | |
6915 | if (_obj2) | |
6916 | delete _arg2; | |
6917 | } | |
6918 | return _resultobj; | |
6919 | } | |
6920 | ||
6921 | #define wxStyledTextCtrl_GetCurrentLine(_swigobj) (_swigobj->GetCurrentLine()) | |
6922 | static PyObject *_wrap_wxStyledTextCtrl_GetCurrentLine(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6923 | PyObject * _resultobj; | |
6924 | int _result; | |
6925 | wxStyledTextCtrl * _arg0; | |
6926 | PyObject * _argo0 = 0; | |
6927 | char *_kwnames[] = { "self", NULL }; | |
6928 | ||
6929 | self = self; | |
6930 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetCurrentLine",_kwnames,&_argo0)) | |
6931 | return NULL; | |
6932 | if (_argo0) { | |
6933 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6934 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
6935 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetCurrentLine. Expected _wxStyledTextCtrl_p."); | |
6936 | return NULL; | |
6937 | } | |
6938 | } | |
6939 | { | |
6940 | wxPy_BEGIN_ALLOW_THREADS; | |
6941 | _result = (int )wxStyledTextCtrl_GetCurrentLine(_arg0); | |
6942 | ||
6943 | wxPy_END_ALLOW_THREADS; | |
6944 | } _resultobj = Py_BuildValue("i",_result); | |
6945 | return _resultobj; | |
6946 | } | |
6947 | ||
6948 | #define wxStyledTextCtrl_StyleSetSpec(_swigobj,_swigarg0,_swigarg1) (_swigobj->StyleSetSpec(_swigarg0,_swigarg1)) | |
6949 | static PyObject *_wrap_wxStyledTextCtrl_StyleSetSpec(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 BP |
6950 | PyObject * _resultobj; |
6951 | wxStyledTextCtrl * _arg0; | |
6952 | int _arg1; | |
6953 | wxString * _arg2; | |
6954 | PyObject * _argo0 = 0; | |
6955 | PyObject * _obj2 = 0; | |
fe47ec10 RD |
6956 | char *_kwnames[] = { "self","styleNum","spec", NULL }; |
6957 | ||
6958 | self = self; | |
6959 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxStyledTextCtrl_StyleSetSpec",_kwnames,&_argo0,&_arg1,&_obj2)) | |
6960 | return NULL; | |
6961 | if (_argo0) { | |
6962 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6963 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
6964 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_StyleSetSpec. Expected _wxStyledTextCtrl_p."); | |
6965 | return NULL; | |
6966 | } | |
6967 | } | |
6968 | { | |
185d7c3e RD |
6969 | #if PYTHON_API_VERSION >= 1009 |
6970 | char* tmpPtr; int tmpSize; | |
6971 | if (!PyString_Check(_obj2) && !PyUnicode_Check(_obj2)) { | |
6972 | PyErr_SetString(PyExc_TypeError, "String or Unicode type required"); | |
6973 | return NULL; | |
6974 | } | |
6975 | if (PyString_AsStringAndSize(_obj2, &tmpPtr, &tmpSize) == -1) | |
6976 | return NULL; | |
6977 | _arg2 = new wxString(tmpPtr, tmpSize); | |
6978 | #else | |
fe47ec10 RD |
6979 | if (!PyString_Check(_obj2)) { |
6980 | PyErr_SetString(PyExc_TypeError, wxStringErrorMsg); | |
6981 | return NULL; | |
6982 | } | |
185d7c3e RD |
6983 | _arg2 = new wxString(PyString_AS_STRING(_obj2), PyString_GET_SIZE(_obj2)); |
6984 | #endif | |
fe47ec10 RD |
6985 | } |
6986 | { | |
6987 | wxPy_BEGIN_ALLOW_THREADS; | |
6988 | wxStyledTextCtrl_StyleSetSpec(_arg0,_arg1,*_arg2); | |
6989 | ||
6990 | wxPy_END_ALLOW_THREADS; | |
6991 | } Py_INCREF(Py_None); | |
6992 | _resultobj = Py_None; | |
6993 | { | |
6994 | if (_obj2) | |
6995 | delete _arg2; | |
6996 | } | |
6997 | return _resultobj; | |
6998 | } | |
6999 | ||
7000 | #define wxStyledTextCtrl_StyleSetFont(_swigobj,_swigarg0,_swigarg1) (_swigobj->StyleSetFont(_swigarg0,_swigarg1)) | |
7001 | static PyObject *_wrap_wxStyledTextCtrl_StyleSetFont(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7002 | PyObject * _resultobj; | |
7003 | wxStyledTextCtrl * _arg0; | |
7004 | int _arg1; | |
7005 | wxFont * _arg2; | |
7006 | PyObject * _argo0 = 0; | |
7007 | PyObject * _argo2 = 0; | |
7008 | char *_kwnames[] = { "self","styleNum","font", NULL }; | |
7009 | ||
7010 | self = self; | |
7011 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxStyledTextCtrl_StyleSetFont",_kwnames,&_argo0,&_arg1,&_argo2)) | |
7012 | return NULL; | |
7013 | if (_argo0) { | |
7014 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7015 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
7016 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_StyleSetFont. Expected _wxStyledTextCtrl_p."); | |
7017 | return NULL; | |
7018 | } | |
7019 | } | |
7020 | if (_argo2) { | |
7021 | if (_argo2 == Py_None) { _arg2 = NULL; } | |
7022 | else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxFont_p")) { | |
7023 | PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxStyledTextCtrl_StyleSetFont. Expected _wxFont_p."); | |
7024 | return NULL; | |
7025 | } | |
7026 | } | |
7027 | { | |
7028 | wxPy_BEGIN_ALLOW_THREADS; | |
7029 | wxStyledTextCtrl_StyleSetFont(_arg0,_arg1,*_arg2); | |
7030 | ||
7031 | wxPy_END_ALLOW_THREADS; | |
7032 | } Py_INCREF(Py_None); | |
7033 | _resultobj = Py_None; | |
7034 | return _resultobj; | |
7035 | } | |
7036 | ||
7037 | #define wxStyledTextCtrl_StyleSetFontAttr(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->StyleSetFontAttr(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5)) | |
7038 | static PyObject *_wrap_wxStyledTextCtrl_StyleSetFontAttr(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7039 | PyObject * _resultobj; | |
7040 | wxStyledTextCtrl * _arg0; | |
7041 | int _arg1; | |
7042 | int _arg2; | |
7043 | wxString * _arg3; | |
7044 | bool _arg4; | |
7045 | bool _arg5; | |
7046 | bool _arg6; | |
7047 | PyObject * _argo0 = 0; | |
7048 | PyObject * _obj3 = 0; | |
7049 | int tempbool4; | |
7050 | int tempbool5; | |
7051 | int tempbool6; | |
7052 | char *_kwnames[] = { "self","styleNum","size","faceName","bold","italic","underline", NULL }; | |
7053 | ||
7054 | self = self; | |
7055 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiiOiii:wxStyledTextCtrl_StyleSetFontAttr",_kwnames,&_argo0,&_arg1,&_arg2,&_obj3,&tempbool4,&tempbool5,&tempbool6)) | |
7056 | return NULL; | |
7057 | if (_argo0) { | |
7058 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7059 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
7060 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_StyleSetFontAttr. Expected _wxStyledTextCtrl_p."); | |
7061 | return NULL; | |
7062 | } | |
7063 | } | |
7064 | { | |
185d7c3e RD |
7065 | #if PYTHON_API_VERSION >= 1009 |
7066 | char* tmpPtr; int tmpSize; | |
7067 | if (!PyString_Check(_obj3) && !PyUnicode_Check(_obj3)) { | |
7068 | PyErr_SetString(PyExc_TypeError, "String or Unicode type required"); | |
7069 | return NULL; | |
7070 | } | |
7071 | if (PyString_AsStringAndSize(_obj3, &tmpPtr, &tmpSize) == -1) | |
7072 | return NULL; | |
7073 | _arg3 = new wxString(tmpPtr, tmpSize); | |
7074 | #else | |
fe47ec10 RD |
7075 | if (!PyString_Check(_obj3)) { |
7076 | PyErr_SetString(PyExc_TypeError, wxStringErrorMsg); | |
7077 | return NULL; | |
7078 | } | |
185d7c3e RD |
7079 | _arg3 = new wxString(PyString_AS_STRING(_obj3), PyString_GET_SIZE(_obj3)); |
7080 | #endif | |
fe47ec10 RD |
7081 | } |
7082 | _arg4 = (bool ) tempbool4; | |
7083 | _arg5 = (bool ) tempbool5; | |
7084 | _arg6 = (bool ) tempbool6; | |
7085 | { | |
7086 | wxPy_BEGIN_ALLOW_THREADS; | |
7087 | wxStyledTextCtrl_StyleSetFontAttr(_arg0,_arg1,_arg2,*_arg3,_arg4,_arg5,_arg6); | |
7088 | ||
7089 | wxPy_END_ALLOW_THREADS; | |
7090 | } Py_INCREF(Py_None); | |
7091 | _resultobj = Py_None; | |
7092 | { | |
7093 | if (_obj3) | |
7094 | delete _arg3; | |
7095 | } | |
7096 | return _resultobj; | |
7097 | } | |
7098 | ||
7099 | #define wxStyledTextCtrl_CmdKeyExecute(_swigobj,_swigarg0) (_swigobj->CmdKeyExecute(_swigarg0)) | |
7100 | static PyObject *_wrap_wxStyledTextCtrl_CmdKeyExecute(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7101 | PyObject * _resultobj; | |
7102 | wxStyledTextCtrl * _arg0; | |
7103 | int _arg1; | |
7104 | PyObject * _argo0 = 0; | |
7105 | char *_kwnames[] = { "self","cmd", NULL }; | |
7106 | ||
7107 | self = self; | |
7108 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_CmdKeyExecute",_kwnames,&_argo0,&_arg1)) | |
7109 | return NULL; | |
7110 | if (_argo0) { | |
7111 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7112 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
7113 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_CmdKeyExecute. Expected _wxStyledTextCtrl_p."); | |
7114 | return NULL; | |
7115 | } | |
7116 | } | |
7117 | { | |
7118 | wxPy_BEGIN_ALLOW_THREADS; | |
7119 | wxStyledTextCtrl_CmdKeyExecute(_arg0,_arg1); | |
7120 | ||
7121 | wxPy_END_ALLOW_THREADS; | |
7122 | } Py_INCREF(Py_None); | |
7123 | _resultobj = Py_None; | |
7124 | return _resultobj; | |
7125 | } | |
7126 | ||
7127 | #define wxStyledTextCtrl_SetMargins(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetMargins(_swigarg0,_swigarg1)) | |
7128 | static PyObject *_wrap_wxStyledTextCtrl_SetMargins(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7129 | PyObject * _resultobj; | |
7130 | wxStyledTextCtrl * _arg0; | |
7131 | int _arg1; | |
7132 | int _arg2; | |
7133 | PyObject * _argo0 = 0; | |
7134 | char *_kwnames[] = { "self","left","right", NULL }; | |
7135 | ||
7136 | self = self; | |
7137 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxStyledTextCtrl_SetMargins",_kwnames,&_argo0,&_arg1,&_arg2)) | |
7138 | return NULL; | |
7139 | if (_argo0) { | |
7140 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7141 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
7142 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetMargins. Expected _wxStyledTextCtrl_p."); | |
7143 | return NULL; | |
7144 | } | |
7145 | } | |
7146 | { | |
7147 | wxPy_BEGIN_ALLOW_THREADS; | |
7148 | wxStyledTextCtrl_SetMargins(_arg0,_arg1,_arg2); | |
7149 | ||
7150 | wxPy_END_ALLOW_THREADS; | |
7151 | } Py_INCREF(Py_None); | |
7152 | _resultobj = Py_None; | |
7153 | return _resultobj; | |
7154 | } | |
7155 | ||
7156 | #define wxStyledTextCtrl_GetSelection(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetSelection(_swigarg0,_swigarg1)) | |
7157 | static PyObject *_wrap_wxStyledTextCtrl_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7158 | PyObject * _resultobj; | |
7159 | wxStyledTextCtrl * _arg0; | |
7160 | int * _arg1; | |
7161 | int temp; | |
7162 | int * _arg2; | |
7163 | int temp0; | |
7164 | PyObject * _argo0 = 0; | |
7165 | char *_kwnames[] = { "self", NULL }; | |
f6bcfd97 BP |
7166 | |
7167 | self = self; | |
fe47ec10 RD |
7168 | { |
7169 | _arg1 = &temp; | |
7170 | } | |
7171 | { | |
7172 | _arg2 = &temp0; | |
7173 | } | |
7174 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetSelection",_kwnames,&_argo0)) | |
f6bcfd97 BP |
7175 | return NULL; |
7176 | if (_argo0) { | |
7177 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7178 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 7179 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetSelection. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
7180 | return NULL; |
7181 | } | |
7182 | } | |
f6bcfd97 BP |
7183 | { |
7184 | wxPy_BEGIN_ALLOW_THREADS; | |
fe47ec10 | 7185 | wxStyledTextCtrl_GetSelection(_arg0,_arg1,_arg2); |
f6bcfd97 BP |
7186 | |
7187 | wxPy_END_ALLOW_THREADS; | |
7188 | } Py_INCREF(Py_None); | |
7189 | _resultobj = Py_None; | |
7190 | { | |
fe47ec10 RD |
7191 | PyObject *o; |
7192 | o = PyInt_FromLong((long) (*_arg1)); | |
7193 | _resultobj = t_output_helper(_resultobj, o); | |
7194 | } | |
7195 | { | |
7196 | PyObject *o; | |
7197 | o = PyInt_FromLong((long) (*_arg2)); | |
7198 | _resultobj = t_output_helper(_resultobj, o); | |
f6bcfd97 BP |
7199 | } |
7200 | return _resultobj; | |
7201 | } | |
7202 | ||
fe47ec10 RD |
7203 | #define wxStyledTextCtrl_PointFromPosition(_swigobj,_swigarg0) (_swigobj->PointFromPosition(_swigarg0)) |
7204 | static PyObject *_wrap_wxStyledTextCtrl_PointFromPosition(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 | 7205 | PyObject * _resultobj; |
fe47ec10 | 7206 | wxPoint * _result; |
f6bcfd97 BP |
7207 | wxStyledTextCtrl * _arg0; |
7208 | int _arg1; | |
7209 | PyObject * _argo0 = 0; | |
fe47ec10 RD |
7210 | char *_kwnames[] = { "self","pos", NULL }; |
7211 | char _ptemp[128]; | |
f6bcfd97 BP |
7212 | |
7213 | self = self; | |
fe47ec10 | 7214 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_PointFromPosition",_kwnames,&_argo0,&_arg1)) |
f6bcfd97 BP |
7215 | return NULL; |
7216 | if (_argo0) { | |
7217 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7218 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 7219 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_PointFromPosition. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
7220 | return NULL; |
7221 | } | |
7222 | } | |
7223 | { | |
7224 | wxPy_BEGIN_ALLOW_THREADS; | |
fe47ec10 | 7225 | _result = new wxPoint (wxStyledTextCtrl_PointFromPosition(_arg0,_arg1)); |
f6bcfd97 BP |
7226 | |
7227 | wxPy_END_ALLOW_THREADS; | |
fe47ec10 RD |
7228 | } SWIG_MakePtr(_ptemp, (void *) _result,"_wxPoint_p"); |
7229 | _resultobj = Py_BuildValue("s",_ptemp); | |
f6bcfd97 BP |
7230 | return _resultobj; |
7231 | } | |
7232 | ||
ea7c631c RD |
7233 | #define wxStyledTextCtrl_ScrollToLine(_swigobj,_swigarg0) (_swigobj->ScrollToLine(_swigarg0)) |
7234 | static PyObject *_wrap_wxStyledTextCtrl_ScrollToLine(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7235 | PyObject * _resultobj; | |
7236 | wxStyledTextCtrl * _arg0; | |
7237 | int _arg1; | |
7238 | PyObject * _argo0 = 0; | |
7239 | char *_kwnames[] = { "self","line", NULL }; | |
7240 | ||
7241 | self = self; | |
7242 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_ScrollToLine",_kwnames,&_argo0,&_arg1)) | |
7243 | return NULL; | |
7244 | if (_argo0) { | |
7245 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7246 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
7247 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_ScrollToLine. Expected _wxStyledTextCtrl_p."); | |
7248 | return NULL; | |
7249 | } | |
7250 | } | |
7251 | { | |
7252 | wxPy_BEGIN_ALLOW_THREADS; | |
7253 | wxStyledTextCtrl_ScrollToLine(_arg0,_arg1); | |
7254 | ||
7255 | wxPy_END_ALLOW_THREADS; | |
7256 | } Py_INCREF(Py_None); | |
7257 | _resultobj = Py_None; | |
7258 | return _resultobj; | |
7259 | } | |
7260 | ||
7261 | #define wxStyledTextCtrl_ScrollToColumn(_swigobj,_swigarg0) (_swigobj->ScrollToColumn(_swigarg0)) | |
7262 | static PyObject *_wrap_wxStyledTextCtrl_ScrollToColumn(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7263 | PyObject * _resultobj; | |
7264 | wxStyledTextCtrl * _arg0; | |
7265 | int _arg1; | |
7266 | PyObject * _argo0 = 0; | |
7267 | char *_kwnames[] = { "self","column", NULL }; | |
7268 | ||
7269 | self = self; | |
7270 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_ScrollToColumn",_kwnames,&_argo0,&_arg1)) | |
7271 | return NULL; | |
7272 | if (_argo0) { | |
7273 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7274 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
7275 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_ScrollToColumn. Expected _wxStyledTextCtrl_p."); | |
7276 | return NULL; | |
7277 | } | |
7278 | } | |
7279 | { | |
7280 | wxPy_BEGIN_ALLOW_THREADS; | |
7281 | wxStyledTextCtrl_ScrollToColumn(_arg0,_arg1); | |
7282 | ||
7283 | wxPy_END_ALLOW_THREADS; | |
7284 | } Py_INCREF(Py_None); | |
7285 | _resultobj = Py_None; | |
7286 | return _resultobj; | |
7287 | } | |
7288 | ||
f6bcfd97 BP |
7289 | static void *SwigwxStyledTextEventTowxCommandEvent(void *ptr) { |
7290 | wxStyledTextEvent *src; | |
7291 | wxCommandEvent *dest; | |
7292 | src = (wxStyledTextEvent *) ptr; | |
7293 | dest = (wxCommandEvent *) src; | |
7294 | return (void *) dest; | |
7295 | } | |
7296 | ||
7297 | static void *SwigwxStyledTextEventTowxEvent(void *ptr) { | |
7298 | wxStyledTextEvent *src; | |
7299 | wxEvent *dest; | |
7300 | src = (wxStyledTextEvent *) ptr; | |
7301 | dest = (wxEvent *) src; | |
7302 | return (void *) dest; | |
7303 | } | |
7304 | ||
7305 | #define new_wxStyledTextEvent(_swigarg0,_swigarg1) (new wxStyledTextEvent(_swigarg0,_swigarg1)) | |
7306 | static PyObject *_wrap_new_wxStyledTextEvent(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7307 | PyObject * _resultobj; | |
7308 | wxStyledTextEvent * _result; | |
7309 | wxEventType _arg0 = (wxEventType ) 0; | |
7310 | int _arg1 = (int ) 0; | |
7311 | char *_kwnames[] = { "commandType","id", NULL }; | |
7312 | char _ptemp[128]; | |
7313 | ||
7314 | self = self; | |
7315 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"|ii:new_wxStyledTextEvent",_kwnames,&_arg0,&_arg1)) | |
7316 | return NULL; | |
7317 | { | |
7318 | wxPy_BEGIN_ALLOW_THREADS; | |
7319 | _result = (wxStyledTextEvent *)new_wxStyledTextEvent(_arg0,_arg1); | |
7320 | ||
7321 | wxPy_END_ALLOW_THREADS; | |
7322 | } if (_result) { | |
7323 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxStyledTextEvent_p"); | |
7324 | _resultobj = Py_BuildValue("s",_ptemp); | |
7325 | } else { | |
7326 | Py_INCREF(Py_None); | |
7327 | _resultobj = Py_None; | |
7328 | } | |
7329 | return _resultobj; | |
7330 | } | |
7331 | ||
7332 | #define delete_wxStyledTextEvent(_swigobj) (delete _swigobj) | |
7333 | static PyObject *_wrap_delete_wxStyledTextEvent(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7334 | PyObject * _resultobj; | |
7335 | wxStyledTextEvent * _arg0; | |
7336 | PyObject * _argo0 = 0; | |
7337 | char *_kwnames[] = { "self", NULL }; | |
7338 | ||
7339 | self = self; | |
7340 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:delete_wxStyledTextEvent",_kwnames,&_argo0)) | |
7341 | return NULL; | |
7342 | if (_argo0) { | |
7343 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7344 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextEvent_p")) { | |
7345 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of delete_wxStyledTextEvent. Expected _wxStyledTextEvent_p."); | |
7346 | return NULL; | |
7347 | } | |
7348 | } | |
7349 | { | |
7350 | wxPy_BEGIN_ALLOW_THREADS; | |
7351 | delete_wxStyledTextEvent(_arg0); | |
7352 | ||
7353 | wxPy_END_ALLOW_THREADS; | |
7354 | } Py_INCREF(Py_None); | |
7355 | _resultobj = Py_None; | |
7356 | return _resultobj; | |
7357 | } | |
7358 | ||
7359 | #define wxStyledTextEvent_SetPosition(_swigobj,_swigarg0) (_swigobj->SetPosition(_swigarg0)) | |
7360 | static PyObject *_wrap_wxStyledTextEvent_SetPosition(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7361 | PyObject * _resultobj; | |
7362 | wxStyledTextEvent * _arg0; | |
7363 | int _arg1; | |
7364 | PyObject * _argo0 = 0; | |
7365 | char *_kwnames[] = { "self","pos", NULL }; | |
7366 | ||
7367 | self = self; | |
7368 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextEvent_SetPosition",_kwnames,&_argo0,&_arg1)) | |
7369 | return NULL; | |
7370 | if (_argo0) { | |
7371 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7372 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextEvent_p")) { | |
7373 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextEvent_SetPosition. Expected _wxStyledTextEvent_p."); | |
7374 | return NULL; | |
7375 | } | |
7376 | } | |
7377 | { | |
7378 | wxPy_BEGIN_ALLOW_THREADS; | |
7379 | wxStyledTextEvent_SetPosition(_arg0,_arg1); | |
7380 | ||
7381 | wxPy_END_ALLOW_THREADS; | |
7382 | } Py_INCREF(Py_None); | |
7383 | _resultobj = Py_None; | |
7384 | return _resultobj; | |
7385 | } | |
7386 | ||
7387 | #define wxStyledTextEvent_SetKey(_swigobj,_swigarg0) (_swigobj->SetKey(_swigarg0)) | |
7388 | static PyObject *_wrap_wxStyledTextEvent_SetKey(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7389 | PyObject * _resultobj; | |
7390 | wxStyledTextEvent * _arg0; | |
7391 | int _arg1; | |
7392 | PyObject * _argo0 = 0; | |
7393 | char *_kwnames[] = { "self","k", NULL }; | |
7394 | ||
7395 | self = self; | |
7396 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextEvent_SetKey",_kwnames,&_argo0,&_arg1)) | |
7397 | return NULL; | |
7398 | if (_argo0) { | |
7399 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7400 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextEvent_p")) { | |
7401 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextEvent_SetKey. Expected _wxStyledTextEvent_p."); | |
7402 | return NULL; | |
7403 | } | |
7404 | } | |
7405 | { | |
7406 | wxPy_BEGIN_ALLOW_THREADS; | |
7407 | wxStyledTextEvent_SetKey(_arg0,_arg1); | |
7408 | ||
7409 | wxPy_END_ALLOW_THREADS; | |
7410 | } Py_INCREF(Py_None); | |
7411 | _resultobj = Py_None; | |
7412 | return _resultobj; | |
7413 | } | |
7414 | ||
7415 | #define wxStyledTextEvent_SetModifiers(_swigobj,_swigarg0) (_swigobj->SetModifiers(_swigarg0)) | |
7416 | static PyObject *_wrap_wxStyledTextEvent_SetModifiers(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7417 | PyObject * _resultobj; | |
7418 | wxStyledTextEvent * _arg0; | |
7419 | int _arg1; | |
7420 | PyObject * _argo0 = 0; | |
7421 | char *_kwnames[] = { "self","m", NULL }; | |
7422 | ||
7423 | self = self; | |
7424 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextEvent_SetModifiers",_kwnames,&_argo0,&_arg1)) | |
7425 | return NULL; | |
7426 | if (_argo0) { | |
7427 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7428 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextEvent_p")) { | |
7429 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextEvent_SetModifiers. Expected _wxStyledTextEvent_p."); | |
7430 | return NULL; | |
7431 | } | |
7432 | } | |
7433 | { | |
7434 | wxPy_BEGIN_ALLOW_THREADS; | |
7435 | wxStyledTextEvent_SetModifiers(_arg0,_arg1); | |
7436 | ||
7437 | wxPy_END_ALLOW_THREADS; | |
7438 | } Py_INCREF(Py_None); | |
7439 | _resultobj = Py_None; | |
7440 | return _resultobj; | |
7441 | } | |
7442 | ||
7443 | #define wxStyledTextEvent_SetModificationType(_swigobj,_swigarg0) (_swigobj->SetModificationType(_swigarg0)) | |
7444 | static PyObject *_wrap_wxStyledTextEvent_SetModificationType(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7445 | PyObject * _resultobj; | |
7446 | wxStyledTextEvent * _arg0; | |
7447 | int _arg1; | |
7448 | PyObject * _argo0 = 0; | |
7449 | char *_kwnames[] = { "self","t", NULL }; | |
7450 | ||
7451 | self = self; | |
7452 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextEvent_SetModificationType",_kwnames,&_argo0,&_arg1)) | |
7453 | return NULL; | |
7454 | if (_argo0) { | |
7455 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7456 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextEvent_p")) { | |
7457 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextEvent_SetModificationType. Expected _wxStyledTextEvent_p."); | |
7458 | return NULL; | |
7459 | } | |
7460 | } | |
7461 | { | |
7462 | wxPy_BEGIN_ALLOW_THREADS; | |
7463 | wxStyledTextEvent_SetModificationType(_arg0,_arg1); | |
7464 | ||
7465 | wxPy_END_ALLOW_THREADS; | |
7466 | } Py_INCREF(Py_None); | |
7467 | _resultobj = Py_None; | |
7468 | return _resultobj; | |
7469 | } | |
7470 | ||
7471 | #define wxStyledTextEvent_SetText(_swigobj,_swigarg0) (_swigobj->SetText(_swigarg0)) | |
7472 | static PyObject *_wrap_wxStyledTextEvent_SetText(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7473 | PyObject * _resultobj; | |
7474 | wxStyledTextEvent * _arg0; | |
7475 | char * _arg1; | |
7476 | PyObject * _argo0 = 0; | |
7477 | char *_kwnames[] = { "self","t", NULL }; | |
7478 | ||
7479 | self = self; | |
7480 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Os:wxStyledTextEvent_SetText",_kwnames,&_argo0,&_arg1)) | |
7481 | return NULL; | |
7482 | if (_argo0) { | |
7483 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7484 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextEvent_p")) { | |
7485 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextEvent_SetText. Expected _wxStyledTextEvent_p."); | |
7486 | return NULL; | |
7487 | } | |
7488 | } | |
7489 | { | |
7490 | wxPy_BEGIN_ALLOW_THREADS; | |
7491 | wxStyledTextEvent_SetText(_arg0,_arg1); | |
7492 | ||
7493 | wxPy_END_ALLOW_THREADS; | |
7494 | } Py_INCREF(Py_None); | |
7495 | _resultobj = Py_None; | |
7496 | return _resultobj; | |
7497 | } | |
7498 | ||
7499 | #define wxStyledTextEvent_SetLength(_swigobj,_swigarg0) (_swigobj->SetLength(_swigarg0)) | |
7500 | static PyObject *_wrap_wxStyledTextEvent_SetLength(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7501 | PyObject * _resultobj; | |
7502 | wxStyledTextEvent * _arg0; | |
7503 | int _arg1; | |
7504 | PyObject * _argo0 = 0; | |
7505 | char *_kwnames[] = { "self","len", NULL }; | |
7506 | ||
7507 | self = self; | |
7508 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextEvent_SetLength",_kwnames,&_argo0,&_arg1)) | |
7509 | return NULL; | |
7510 | if (_argo0) { | |
7511 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7512 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextEvent_p")) { | |
7513 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextEvent_SetLength. Expected _wxStyledTextEvent_p."); | |
7514 | return NULL; | |
7515 | } | |
7516 | } | |
7517 | { | |
7518 | wxPy_BEGIN_ALLOW_THREADS; | |
7519 | wxStyledTextEvent_SetLength(_arg0,_arg1); | |
7520 | ||
7521 | wxPy_END_ALLOW_THREADS; | |
7522 | } Py_INCREF(Py_None); | |
7523 | _resultobj = Py_None; | |
7524 | return _resultobj; | |
7525 | } | |
7526 | ||
7527 | #define wxStyledTextEvent_SetLinesAdded(_swigobj,_swigarg0) (_swigobj->SetLinesAdded(_swigarg0)) | |
7528 | static PyObject *_wrap_wxStyledTextEvent_SetLinesAdded(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7529 | PyObject * _resultobj; | |
7530 | wxStyledTextEvent * _arg0; | |
7531 | int _arg1; | |
7532 | PyObject * _argo0 = 0; | |
7533 | char *_kwnames[] = { "self","num", NULL }; | |
7534 | ||
7535 | self = self; | |
7536 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextEvent_SetLinesAdded",_kwnames,&_argo0,&_arg1)) | |
7537 | return NULL; | |
7538 | if (_argo0) { | |
7539 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7540 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextEvent_p")) { | |
7541 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextEvent_SetLinesAdded. Expected _wxStyledTextEvent_p."); | |
7542 | return NULL; | |
7543 | } | |
7544 | } | |
7545 | { | |
7546 | wxPy_BEGIN_ALLOW_THREADS; | |
7547 | wxStyledTextEvent_SetLinesAdded(_arg0,_arg1); | |
7548 | ||
7549 | wxPy_END_ALLOW_THREADS; | |
7550 | } Py_INCREF(Py_None); | |
7551 | _resultobj = Py_None; | |
7552 | return _resultobj; | |
7553 | } | |
7554 | ||
7555 | #define wxStyledTextEvent_SetLine(_swigobj,_swigarg0) (_swigobj->SetLine(_swigarg0)) | |
7556 | static PyObject *_wrap_wxStyledTextEvent_SetLine(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7557 | PyObject * _resultobj; | |
7558 | wxStyledTextEvent * _arg0; | |
7559 | int _arg1; | |
7560 | PyObject * _argo0 = 0; | |
7561 | char *_kwnames[] = { "self","val", NULL }; | |
7562 | ||
7563 | self = self; | |
7564 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextEvent_SetLine",_kwnames,&_argo0,&_arg1)) | |
7565 | return NULL; | |
7566 | if (_argo0) { | |
7567 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7568 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextEvent_p")) { | |
7569 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextEvent_SetLine. Expected _wxStyledTextEvent_p."); | |
7570 | return NULL; | |
7571 | } | |
7572 | } | |
7573 | { | |
7574 | wxPy_BEGIN_ALLOW_THREADS; | |
7575 | wxStyledTextEvent_SetLine(_arg0,_arg1); | |
7576 | ||
7577 | wxPy_END_ALLOW_THREADS; | |
7578 | } Py_INCREF(Py_None); | |
7579 | _resultobj = Py_None; | |
7580 | return _resultobj; | |
7581 | } | |
7582 | ||
7583 | #define wxStyledTextEvent_SetFoldLevelNow(_swigobj,_swigarg0) (_swigobj->SetFoldLevelNow(_swigarg0)) | |
7584 | static PyObject *_wrap_wxStyledTextEvent_SetFoldLevelNow(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7585 | PyObject * _resultobj; | |
7586 | wxStyledTextEvent * _arg0; | |
7587 | int _arg1; | |
7588 | PyObject * _argo0 = 0; | |
7589 | char *_kwnames[] = { "self","val", NULL }; | |
7590 | ||
7591 | self = self; | |
7592 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextEvent_SetFoldLevelNow",_kwnames,&_argo0,&_arg1)) | |
7593 | return NULL; | |
7594 | if (_argo0) { | |
7595 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7596 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextEvent_p")) { | |
7597 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextEvent_SetFoldLevelNow. Expected _wxStyledTextEvent_p."); | |
7598 | return NULL; | |
7599 | } | |
7600 | } | |
7601 | { | |
7602 | wxPy_BEGIN_ALLOW_THREADS; | |
7603 | wxStyledTextEvent_SetFoldLevelNow(_arg0,_arg1); | |
7604 | ||
7605 | wxPy_END_ALLOW_THREADS; | |
7606 | } Py_INCREF(Py_None); | |
7607 | _resultobj = Py_None; | |
7608 | return _resultobj; | |
7609 | } | |
7610 | ||
7611 | #define wxStyledTextEvent_SetFoldLevelPrev(_swigobj,_swigarg0) (_swigobj->SetFoldLevelPrev(_swigarg0)) | |
7612 | static PyObject *_wrap_wxStyledTextEvent_SetFoldLevelPrev(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7613 | PyObject * _resultobj; | |
7614 | wxStyledTextEvent * _arg0; | |
7615 | int _arg1; | |
7616 | PyObject * _argo0 = 0; | |
7617 | char *_kwnames[] = { "self","val", NULL }; | |
7618 | ||
7619 | self = self; | |
7620 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextEvent_SetFoldLevelPrev",_kwnames,&_argo0,&_arg1)) | |
7621 | return NULL; | |
7622 | if (_argo0) { | |
7623 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7624 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextEvent_p")) { | |
7625 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextEvent_SetFoldLevelPrev. Expected _wxStyledTextEvent_p."); | |
7626 | return NULL; | |
7627 | } | |
7628 | } | |
7629 | { | |
7630 | wxPy_BEGIN_ALLOW_THREADS; | |
7631 | wxStyledTextEvent_SetFoldLevelPrev(_arg0,_arg1); | |
7632 | ||
7633 | wxPy_END_ALLOW_THREADS; | |
7634 | } Py_INCREF(Py_None); | |
7635 | _resultobj = Py_None; | |
7636 | return _resultobj; | |
7637 | } | |
7638 | ||
7639 | #define wxStyledTextEvent_SetMargin(_swigobj,_swigarg0) (_swigobj->SetMargin(_swigarg0)) | |
7640 | static PyObject *_wrap_wxStyledTextEvent_SetMargin(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7641 | PyObject * _resultobj; | |
7642 | wxStyledTextEvent * _arg0; | |
7643 | int _arg1; | |
7644 | PyObject * _argo0 = 0; | |
7645 | char *_kwnames[] = { "self","val", NULL }; | |
7646 | ||
7647 | self = self; | |
7648 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextEvent_SetMargin",_kwnames,&_argo0,&_arg1)) | |
7649 | return NULL; | |
7650 | if (_argo0) { | |
7651 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7652 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextEvent_p")) { | |
7653 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextEvent_SetMargin. Expected _wxStyledTextEvent_p."); | |
7654 | return NULL; | |
7655 | } | |
7656 | } | |
7657 | { | |
7658 | wxPy_BEGIN_ALLOW_THREADS; | |
7659 | wxStyledTextEvent_SetMargin(_arg0,_arg1); | |
7660 | ||
7661 | wxPy_END_ALLOW_THREADS; | |
7662 | } Py_INCREF(Py_None); | |
7663 | _resultobj = Py_None; | |
7664 | return _resultobj; | |
7665 | } | |
7666 | ||
7667 | #define wxStyledTextEvent_SetMessage(_swigobj,_swigarg0) (_swigobj->SetMessage(_swigarg0)) | |
7668 | static PyObject *_wrap_wxStyledTextEvent_SetMessage(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7669 | PyObject * _resultobj; | |
7670 | wxStyledTextEvent * _arg0; | |
7671 | int _arg1; | |
7672 | PyObject * _argo0 = 0; | |
7673 | char *_kwnames[] = { "self","val", NULL }; | |
7674 | ||
7675 | self = self; | |
7676 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextEvent_SetMessage",_kwnames,&_argo0,&_arg1)) | |
7677 | return NULL; | |
7678 | if (_argo0) { | |
7679 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7680 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextEvent_p")) { | |
7681 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextEvent_SetMessage. Expected _wxStyledTextEvent_p."); | |
7682 | return NULL; | |
7683 | } | |
7684 | } | |
7685 | { | |
7686 | wxPy_BEGIN_ALLOW_THREADS; | |
7687 | wxStyledTextEvent_SetMessage(_arg0,_arg1); | |
7688 | ||
7689 | wxPy_END_ALLOW_THREADS; | |
7690 | } Py_INCREF(Py_None); | |
7691 | _resultobj = Py_None; | |
7692 | return _resultobj; | |
7693 | } | |
7694 | ||
7695 | #define wxStyledTextEvent_SetWParam(_swigobj,_swigarg0) (_swigobj->SetWParam(_swigarg0)) | |
7696 | static PyObject *_wrap_wxStyledTextEvent_SetWParam(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7697 | PyObject * _resultobj; | |
7698 | wxStyledTextEvent * _arg0; | |
7699 | int _arg1; | |
7700 | PyObject * _argo0 = 0; | |
7701 | char *_kwnames[] = { "self","val", NULL }; | |
7702 | ||
7703 | self = self; | |
7704 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextEvent_SetWParam",_kwnames,&_argo0,&_arg1)) | |
7705 | return NULL; | |
7706 | if (_argo0) { | |
7707 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7708 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextEvent_p")) { | |
7709 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextEvent_SetWParam. Expected _wxStyledTextEvent_p."); | |
7710 | return NULL; | |
7711 | } | |
7712 | } | |
7713 | { | |
7714 | wxPy_BEGIN_ALLOW_THREADS; | |
7715 | wxStyledTextEvent_SetWParam(_arg0,_arg1); | |
7716 | ||
7717 | wxPy_END_ALLOW_THREADS; | |
7718 | } Py_INCREF(Py_None); | |
7719 | _resultobj = Py_None; | |
7720 | return _resultobj; | |
7721 | } | |
7722 | ||
7723 | #define wxStyledTextEvent_SetLParam(_swigobj,_swigarg0) (_swigobj->SetLParam(_swigarg0)) | |
7724 | static PyObject *_wrap_wxStyledTextEvent_SetLParam(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7725 | PyObject * _resultobj; | |
7726 | wxStyledTextEvent * _arg0; | |
7727 | int _arg1; | |
7728 | PyObject * _argo0 = 0; | |
7729 | char *_kwnames[] = { "self","val", NULL }; | |
7730 | ||
7731 | self = self; | |
7732 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextEvent_SetLParam",_kwnames,&_argo0,&_arg1)) | |
7733 | return NULL; | |
7734 | if (_argo0) { | |
7735 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7736 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextEvent_p")) { | |
7737 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextEvent_SetLParam. Expected _wxStyledTextEvent_p."); | |
7738 | return NULL; | |
7739 | } | |
7740 | } | |
7741 | { | |
7742 | wxPy_BEGIN_ALLOW_THREADS; | |
7743 | wxStyledTextEvent_SetLParam(_arg0,_arg1); | |
7744 | ||
7745 | wxPy_END_ALLOW_THREADS; | |
7746 | } Py_INCREF(Py_None); | |
7747 | _resultobj = Py_None; | |
7748 | return _resultobj; | |
7749 | } | |
7750 | ||
7751 | #define wxStyledTextEvent_GetPosition(_swigobj) (_swigobj->GetPosition()) | |
7752 | static PyObject *_wrap_wxStyledTextEvent_GetPosition(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7753 | PyObject * _resultobj; | |
7754 | int _result; | |
7755 | wxStyledTextEvent * _arg0; | |
7756 | PyObject * _argo0 = 0; | |
7757 | char *_kwnames[] = { "self", NULL }; | |
7758 | ||
7759 | self = self; | |
7760 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextEvent_GetPosition",_kwnames,&_argo0)) | |
7761 | return NULL; | |
7762 | if (_argo0) { | |
7763 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7764 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextEvent_p")) { | |
7765 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextEvent_GetPosition. Expected _wxStyledTextEvent_p."); | |
7766 | return NULL; | |
7767 | } | |
7768 | } | |
7769 | { | |
7770 | wxPy_BEGIN_ALLOW_THREADS; | |
7771 | _result = (int )wxStyledTextEvent_GetPosition(_arg0); | |
7772 | ||
7773 | wxPy_END_ALLOW_THREADS; | |
7774 | } _resultobj = Py_BuildValue("i",_result); | |
7775 | return _resultobj; | |
7776 | } | |
7777 | ||
7778 | #define wxStyledTextEvent_GetKey(_swigobj) (_swigobj->GetKey()) | |
7779 | static PyObject *_wrap_wxStyledTextEvent_GetKey(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7780 | PyObject * _resultobj; | |
7781 | int _result; | |
7782 | wxStyledTextEvent * _arg0; | |
7783 | PyObject * _argo0 = 0; | |
7784 | char *_kwnames[] = { "self", NULL }; | |
7785 | ||
7786 | self = self; | |
7787 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextEvent_GetKey",_kwnames,&_argo0)) | |
7788 | return NULL; | |
7789 | if (_argo0) { | |
7790 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7791 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextEvent_p")) { | |
7792 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextEvent_GetKey. Expected _wxStyledTextEvent_p."); | |
7793 | return NULL; | |
7794 | } | |
7795 | } | |
7796 | { | |
7797 | wxPy_BEGIN_ALLOW_THREADS; | |
7798 | _result = (int )wxStyledTextEvent_GetKey(_arg0); | |
7799 | ||
7800 | wxPy_END_ALLOW_THREADS; | |
7801 | } _resultobj = Py_BuildValue("i",_result); | |
7802 | return _resultobj; | |
7803 | } | |
7804 | ||
7805 | #define wxStyledTextEvent_GetModifiers(_swigobj) (_swigobj->GetModifiers()) | |
7806 | static PyObject *_wrap_wxStyledTextEvent_GetModifiers(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7807 | PyObject * _resultobj; | |
7808 | int _result; | |
7809 | wxStyledTextEvent * _arg0; | |
7810 | PyObject * _argo0 = 0; | |
7811 | char *_kwnames[] = { "self", NULL }; | |
7812 | ||
7813 | self = self; | |
7814 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextEvent_GetModifiers",_kwnames,&_argo0)) | |
7815 | return NULL; | |
7816 | if (_argo0) { | |
7817 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7818 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextEvent_p")) { | |
7819 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextEvent_GetModifiers. Expected _wxStyledTextEvent_p."); | |
7820 | return NULL; | |
7821 | } | |
7822 | } | |
7823 | { | |
7824 | wxPy_BEGIN_ALLOW_THREADS; | |
7825 | _result = (int )wxStyledTextEvent_GetModifiers(_arg0); | |
7826 | ||
7827 | wxPy_END_ALLOW_THREADS; | |
7828 | } _resultobj = Py_BuildValue("i",_result); | |
7829 | return _resultobj; | |
7830 | } | |
7831 | ||
7832 | #define wxStyledTextEvent_GetModificationType(_swigobj) (_swigobj->GetModificationType()) | |
7833 | static PyObject *_wrap_wxStyledTextEvent_GetModificationType(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7834 | PyObject * _resultobj; | |
7835 | int _result; | |
7836 | wxStyledTextEvent * _arg0; | |
7837 | PyObject * _argo0 = 0; | |
7838 | char *_kwnames[] = { "self", NULL }; | |
7839 | ||
7840 | self = self; | |
7841 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextEvent_GetModificationType",_kwnames,&_argo0)) | |
7842 | return NULL; | |
7843 | if (_argo0) { | |
7844 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7845 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextEvent_p")) { | |
7846 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextEvent_GetModificationType. Expected _wxStyledTextEvent_p."); | |
7847 | return NULL; | |
7848 | } | |
7849 | } | |
7850 | { | |
7851 | wxPy_BEGIN_ALLOW_THREADS; | |
7852 | _result = (int )wxStyledTextEvent_GetModificationType(_arg0); | |
7853 | ||
7854 | wxPy_END_ALLOW_THREADS; | |
7855 | } _resultobj = Py_BuildValue("i",_result); | |
7856 | return _resultobj; | |
7857 | } | |
7858 | ||
7859 | #define wxStyledTextEvent_GetText(_swigobj) (_swigobj->GetText()) | |
7860 | static PyObject *_wrap_wxStyledTextEvent_GetText(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7861 | PyObject * _resultobj; | |
7862 | wxString * _result; | |
7863 | wxStyledTextEvent * _arg0; | |
7864 | PyObject * _argo0 = 0; | |
7865 | char *_kwnames[] = { "self", NULL }; | |
7866 | ||
7867 | self = self; | |
7868 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextEvent_GetText",_kwnames,&_argo0)) | |
7869 | return NULL; | |
7870 | if (_argo0) { | |
7871 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7872 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextEvent_p")) { | |
7873 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextEvent_GetText. Expected _wxStyledTextEvent_p."); | |
7874 | return NULL; | |
7875 | } | |
7876 | } | |
7877 | { | |
7878 | wxPy_BEGIN_ALLOW_THREADS; | |
7879 | _result = new wxString (wxStyledTextEvent_GetText(_arg0)); | |
7880 | ||
7881 | wxPy_END_ALLOW_THREADS; | |
7882 | }{ | |
7883 | _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len()); | |
7884 | } | |
7885 | { | |
7886 | delete _result; | |
7887 | } | |
7888 | return _resultobj; | |
7889 | } | |
7890 | ||
7891 | #define wxStyledTextEvent_GetLength(_swigobj) (_swigobj->GetLength()) | |
7892 | static PyObject *_wrap_wxStyledTextEvent_GetLength(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7893 | PyObject * _resultobj; | |
7894 | int _result; | |
7895 | wxStyledTextEvent * _arg0; | |
7896 | PyObject * _argo0 = 0; | |
7897 | char *_kwnames[] = { "self", NULL }; | |
7898 | ||
7899 | self = self; | |
7900 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextEvent_GetLength",_kwnames,&_argo0)) | |
7901 | return NULL; | |
7902 | if (_argo0) { | |
7903 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7904 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextEvent_p")) { | |
7905 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextEvent_GetLength. Expected _wxStyledTextEvent_p."); | |
7906 | return NULL; | |
7907 | } | |
7908 | } | |
7909 | { | |
7910 | wxPy_BEGIN_ALLOW_THREADS; | |
7911 | _result = (int )wxStyledTextEvent_GetLength(_arg0); | |
7912 | ||
7913 | wxPy_END_ALLOW_THREADS; | |
7914 | } _resultobj = Py_BuildValue("i",_result); | |
7915 | return _resultobj; | |
7916 | } | |
7917 | ||
7918 | #define wxStyledTextEvent_GetLinesAdded(_swigobj) (_swigobj->GetLinesAdded()) | |
7919 | static PyObject *_wrap_wxStyledTextEvent_GetLinesAdded(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7920 | PyObject * _resultobj; | |
7921 | int _result; | |
7922 | wxStyledTextEvent * _arg0; | |
7923 | PyObject * _argo0 = 0; | |
7924 | char *_kwnames[] = { "self", NULL }; | |
7925 | ||
7926 | self = self; | |
7927 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextEvent_GetLinesAdded",_kwnames,&_argo0)) | |
7928 | return NULL; | |
7929 | if (_argo0) { | |
7930 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7931 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextEvent_p")) { | |
7932 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextEvent_GetLinesAdded. Expected _wxStyledTextEvent_p."); | |
7933 | return NULL; | |
7934 | } | |
7935 | } | |
7936 | { | |
7937 | wxPy_BEGIN_ALLOW_THREADS; | |
7938 | _result = (int )wxStyledTextEvent_GetLinesAdded(_arg0); | |
7939 | ||
7940 | wxPy_END_ALLOW_THREADS; | |
7941 | } _resultobj = Py_BuildValue("i",_result); | |
7942 | return _resultobj; | |
7943 | } | |
7944 | ||
7945 | #define wxStyledTextEvent_GetLine(_swigobj) (_swigobj->GetLine()) | |
7946 | static PyObject *_wrap_wxStyledTextEvent_GetLine(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7947 | PyObject * _resultobj; | |
7948 | int _result; | |
7949 | wxStyledTextEvent * _arg0; | |
7950 | PyObject * _argo0 = 0; | |
7951 | char *_kwnames[] = { "self", NULL }; | |
7952 | ||
7953 | self = self; | |
7954 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextEvent_GetLine",_kwnames,&_argo0)) | |
7955 | return NULL; | |
7956 | if (_argo0) { | |
7957 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7958 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextEvent_p")) { | |
7959 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextEvent_GetLine. Expected _wxStyledTextEvent_p."); | |
7960 | return NULL; | |
7961 | } | |
7962 | } | |
7963 | { | |
7964 | wxPy_BEGIN_ALLOW_THREADS; | |
7965 | _result = (int )wxStyledTextEvent_GetLine(_arg0); | |
7966 | ||
7967 | wxPy_END_ALLOW_THREADS; | |
7968 | } _resultobj = Py_BuildValue("i",_result); | |
7969 | return _resultobj; | |
7970 | } | |
7971 | ||
7972 | #define wxStyledTextEvent_GetFoldLevelNow(_swigobj) (_swigobj->GetFoldLevelNow()) | |
7973 | static PyObject *_wrap_wxStyledTextEvent_GetFoldLevelNow(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7974 | PyObject * _resultobj; | |
7975 | int _result; | |
7976 | wxStyledTextEvent * _arg0; | |
7977 | PyObject * _argo0 = 0; | |
7978 | char *_kwnames[] = { "self", NULL }; | |
7979 | ||
7980 | self = self; | |
7981 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextEvent_GetFoldLevelNow",_kwnames,&_argo0)) | |
7982 | return NULL; | |
7983 | if (_argo0) { | |
7984 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7985 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextEvent_p")) { | |
7986 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextEvent_GetFoldLevelNow. Expected _wxStyledTextEvent_p."); | |
7987 | return NULL; | |
7988 | } | |
7989 | } | |
7990 | { | |
7991 | wxPy_BEGIN_ALLOW_THREADS; | |
7992 | _result = (int )wxStyledTextEvent_GetFoldLevelNow(_arg0); | |
7993 | ||
7994 | wxPy_END_ALLOW_THREADS; | |
7995 | } _resultobj = Py_BuildValue("i",_result); | |
7996 | return _resultobj; | |
7997 | } | |
7998 | ||
7999 | #define wxStyledTextEvent_GetFoldLevelPrev(_swigobj) (_swigobj->GetFoldLevelPrev()) | |
8000 | static PyObject *_wrap_wxStyledTextEvent_GetFoldLevelPrev(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8001 | PyObject * _resultobj; | |
8002 | int _result; | |
8003 | wxStyledTextEvent * _arg0; | |
8004 | PyObject * _argo0 = 0; | |
8005 | char *_kwnames[] = { "self", NULL }; | |
8006 | ||
8007 | self = self; | |
8008 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextEvent_GetFoldLevelPrev",_kwnames,&_argo0)) | |
8009 | return NULL; | |
8010 | if (_argo0) { | |
8011 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
8012 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextEvent_p")) { | |
8013 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextEvent_GetFoldLevelPrev. Expected _wxStyledTextEvent_p."); | |
8014 | return NULL; | |
8015 | } | |
8016 | } | |
8017 | { | |
8018 | wxPy_BEGIN_ALLOW_THREADS; | |
8019 | _result = (int )wxStyledTextEvent_GetFoldLevelPrev(_arg0); | |
8020 | ||
8021 | wxPy_END_ALLOW_THREADS; | |
8022 | } _resultobj = Py_BuildValue("i",_result); | |
8023 | return _resultobj; | |
8024 | } | |
8025 | ||
8026 | #define wxStyledTextEvent_GetMargin(_swigobj) (_swigobj->GetMargin()) | |
8027 | static PyObject *_wrap_wxStyledTextEvent_GetMargin(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8028 | PyObject * _resultobj; | |
8029 | int _result; | |
8030 | wxStyledTextEvent * _arg0; | |
8031 | PyObject * _argo0 = 0; | |
8032 | char *_kwnames[] = { "self", NULL }; | |
8033 | ||
8034 | self = self; | |
8035 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextEvent_GetMargin",_kwnames,&_argo0)) | |
8036 | return NULL; | |
8037 | if (_argo0) { | |
8038 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
8039 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextEvent_p")) { | |
8040 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextEvent_GetMargin. Expected _wxStyledTextEvent_p."); | |
8041 | return NULL; | |
8042 | } | |
8043 | } | |
8044 | { | |
8045 | wxPy_BEGIN_ALLOW_THREADS; | |
8046 | _result = (int )wxStyledTextEvent_GetMargin(_arg0); | |
8047 | ||
8048 | wxPy_END_ALLOW_THREADS; | |
8049 | } _resultobj = Py_BuildValue("i",_result); | |
8050 | return _resultobj; | |
8051 | } | |
8052 | ||
8053 | #define wxStyledTextEvent_GetMessage(_swigobj) (_swigobj->GetMessage()) | |
8054 | static PyObject *_wrap_wxStyledTextEvent_GetMessage(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8055 | PyObject * _resultobj; | |
8056 | int _result; | |
8057 | wxStyledTextEvent * _arg0; | |
8058 | PyObject * _argo0 = 0; | |
8059 | char *_kwnames[] = { "self", NULL }; | |
8060 | ||
8061 | self = self; | |
8062 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextEvent_GetMessage",_kwnames,&_argo0)) | |
8063 | return NULL; | |
8064 | if (_argo0) { | |
8065 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
8066 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextEvent_p")) { | |
8067 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextEvent_GetMessage. Expected _wxStyledTextEvent_p."); | |
8068 | return NULL; | |
8069 | } | |
8070 | } | |
8071 | { | |
8072 | wxPy_BEGIN_ALLOW_THREADS; | |
8073 | _result = (int )wxStyledTextEvent_GetMessage(_arg0); | |
8074 | ||
8075 | wxPy_END_ALLOW_THREADS; | |
8076 | } _resultobj = Py_BuildValue("i",_result); | |
8077 | return _resultobj; | |
8078 | } | |
8079 | ||
8080 | #define wxStyledTextEvent_GetWParam(_swigobj) (_swigobj->GetWParam()) | |
8081 | static PyObject *_wrap_wxStyledTextEvent_GetWParam(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8082 | PyObject * _resultobj; | |
8083 | int _result; | |
8084 | wxStyledTextEvent * _arg0; | |
8085 | PyObject * _argo0 = 0; | |
8086 | char *_kwnames[] = { "self", NULL }; | |
8087 | ||
8088 | self = self; | |
8089 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextEvent_GetWParam",_kwnames,&_argo0)) | |
8090 | return NULL; | |
8091 | if (_argo0) { | |
8092 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
8093 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextEvent_p")) { | |
8094 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextEvent_GetWParam. Expected _wxStyledTextEvent_p."); | |
8095 | return NULL; | |
8096 | } | |
8097 | } | |
8098 | { | |
8099 | wxPy_BEGIN_ALLOW_THREADS; | |
8100 | _result = (int )wxStyledTextEvent_GetWParam(_arg0); | |
8101 | ||
8102 | wxPy_END_ALLOW_THREADS; | |
8103 | } _resultobj = Py_BuildValue("i",_result); | |
8104 | return _resultobj; | |
8105 | } | |
8106 | ||
8107 | #define wxStyledTextEvent_GetLParam(_swigobj) (_swigobj->GetLParam()) | |
8108 | static PyObject *_wrap_wxStyledTextEvent_GetLParam(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8109 | PyObject * _resultobj; | |
8110 | int _result; | |
8111 | wxStyledTextEvent * _arg0; | |
8112 | PyObject * _argo0 = 0; | |
8113 | char *_kwnames[] = { "self", NULL }; | |
8114 | ||
8115 | self = self; | |
8116 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextEvent_GetLParam",_kwnames,&_argo0)) | |
8117 | return NULL; | |
8118 | if (_argo0) { | |
8119 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
8120 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextEvent_p")) { | |
8121 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextEvent_GetLParam. Expected _wxStyledTextEvent_p."); | |
8122 | return NULL; | |
8123 | } | |
8124 | } | |
8125 | { | |
8126 | wxPy_BEGIN_ALLOW_THREADS; | |
8127 | _result = (int )wxStyledTextEvent_GetLParam(_arg0); | |
8128 | ||
8129 | wxPy_END_ALLOW_THREADS; | |
8130 | } _resultobj = Py_BuildValue("i",_result); | |
8131 | return _resultobj; | |
8132 | } | |
8133 | ||
8134 | #define wxStyledTextEvent_GetShift(_swigobj) (_swigobj->GetShift()) | |
8135 | static PyObject *_wrap_wxStyledTextEvent_GetShift(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8136 | PyObject * _resultobj; | |
8137 | bool _result; | |
8138 | wxStyledTextEvent * _arg0; | |
8139 | PyObject * _argo0 = 0; | |
8140 | char *_kwnames[] = { "self", NULL }; | |
8141 | ||
8142 | self = self; | |
8143 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextEvent_GetShift",_kwnames,&_argo0)) | |
8144 | return NULL; | |
8145 | if (_argo0) { | |
8146 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
8147 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextEvent_p")) { | |
8148 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextEvent_GetShift. Expected _wxStyledTextEvent_p."); | |
8149 | return NULL; | |
8150 | } | |
8151 | } | |
8152 | { | |
8153 | wxPy_BEGIN_ALLOW_THREADS; | |
8154 | _result = (bool )wxStyledTextEvent_GetShift(_arg0); | |
8155 | ||
8156 | wxPy_END_ALLOW_THREADS; | |
8157 | } _resultobj = Py_BuildValue("i",_result); | |
8158 | return _resultobj; | |
8159 | } | |
8160 | ||
8161 | #define wxStyledTextEvent_GetControl(_swigobj) (_swigobj->GetControl()) | |
8162 | static PyObject *_wrap_wxStyledTextEvent_GetControl(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8163 | PyObject * _resultobj; | |
8164 | bool _result; | |
8165 | wxStyledTextEvent * _arg0; | |
8166 | PyObject * _argo0 = 0; | |
8167 | char *_kwnames[] = { "self", NULL }; | |
8168 | ||
8169 | self = self; | |
8170 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextEvent_GetControl",_kwnames,&_argo0)) | |
8171 | return NULL; | |
8172 | if (_argo0) { | |
8173 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
8174 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextEvent_p")) { | |
8175 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextEvent_GetControl. Expected _wxStyledTextEvent_p."); | |
8176 | return NULL; | |
8177 | } | |
8178 | } | |
8179 | { | |
8180 | wxPy_BEGIN_ALLOW_THREADS; | |
8181 | _result = (bool )wxStyledTextEvent_GetControl(_arg0); | |
8182 | ||
8183 | wxPy_END_ALLOW_THREADS; | |
8184 | } _resultobj = Py_BuildValue("i",_result); | |
8185 | return _resultobj; | |
8186 | } | |
8187 | ||
8188 | #define wxStyledTextEvent_GetAlt(_swigobj) (_swigobj->GetAlt()) | |
8189 | static PyObject *_wrap_wxStyledTextEvent_GetAlt(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8190 | PyObject * _resultobj; | |
8191 | bool _result; | |
8192 | wxStyledTextEvent * _arg0; | |
8193 | PyObject * _argo0 = 0; | |
8194 | char *_kwnames[] = { "self", NULL }; | |
8195 | ||
8196 | self = self; | |
8197 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextEvent_GetAlt",_kwnames,&_argo0)) | |
8198 | return NULL; | |
8199 | if (_argo0) { | |
8200 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
8201 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextEvent_p")) { | |
8202 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextEvent_GetAlt. Expected _wxStyledTextEvent_p."); | |
8203 | return NULL; | |
8204 | } | |
8205 | } | |
8206 | { | |
8207 | wxPy_BEGIN_ALLOW_THREADS; | |
8208 | _result = (bool )wxStyledTextEvent_GetAlt(_arg0); | |
8209 | ||
8210 | wxPy_END_ALLOW_THREADS; | |
8211 | } _resultobj = Py_BuildValue("i",_result); | |
8212 | return _resultobj; | |
8213 | } | |
8214 | ||
8215 | #define wxStyledTextEvent_CopyObject(_swigobj,_swigarg0) (_swigobj->CopyObject(_swigarg0)) | |
8216 | static PyObject *_wrap_wxStyledTextEvent_CopyObject(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8217 | PyObject * _resultobj; | |
8218 | wxStyledTextEvent * _arg0; | |
8219 | wxObject * _arg1; | |
8220 | PyObject * _argo0 = 0; | |
8221 | PyObject * _argo1 = 0; | |
8222 | char *_kwnames[] = { "self","obj", NULL }; | |
8223 | ||
8224 | self = self; | |
8225 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxStyledTextEvent_CopyObject",_kwnames,&_argo0,&_argo1)) | |
8226 | return NULL; | |
8227 | if (_argo0) { | |
8228 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
8229 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextEvent_p")) { | |
8230 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextEvent_CopyObject. Expected _wxStyledTextEvent_p."); | |
8231 | return NULL; | |
8232 | } | |
8233 | } | |
8234 | if (_argo1) { | |
8235 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
8236 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxObject_p")) { | |
8237 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxStyledTextEvent_CopyObject. Expected _wxObject_p."); | |
8238 | return NULL; | |
8239 | } | |
8240 | } | |
8241 | { | |
8242 | wxPy_BEGIN_ALLOW_THREADS; | |
8243 | wxStyledTextEvent_CopyObject(_arg0,*_arg1); | |
8244 | ||
8245 | wxPy_END_ALLOW_THREADS; | |
8246 | } Py_INCREF(Py_None); | |
8247 | _resultobj = Py_None; | |
8248 | return _resultobj; | |
8249 | } | |
8250 | ||
8251 | static PyMethodDef stc_cMethods[] = { | |
8252 | { "wxStyledTextEvent_CopyObject", (PyCFunction) _wrap_wxStyledTextEvent_CopyObject, METH_VARARGS | METH_KEYWORDS }, | |
8253 | { "wxStyledTextEvent_GetAlt", (PyCFunction) _wrap_wxStyledTextEvent_GetAlt, METH_VARARGS | METH_KEYWORDS }, | |
8254 | { "wxStyledTextEvent_GetControl", (PyCFunction) _wrap_wxStyledTextEvent_GetControl, METH_VARARGS | METH_KEYWORDS }, | |
8255 | { "wxStyledTextEvent_GetShift", (PyCFunction) _wrap_wxStyledTextEvent_GetShift, METH_VARARGS | METH_KEYWORDS }, | |
8256 | { "wxStyledTextEvent_GetLParam", (PyCFunction) _wrap_wxStyledTextEvent_GetLParam, METH_VARARGS | METH_KEYWORDS }, | |
8257 | { "wxStyledTextEvent_GetWParam", (PyCFunction) _wrap_wxStyledTextEvent_GetWParam, METH_VARARGS | METH_KEYWORDS }, | |
8258 | { "wxStyledTextEvent_GetMessage", (PyCFunction) _wrap_wxStyledTextEvent_GetMessage, METH_VARARGS | METH_KEYWORDS }, | |
8259 | { "wxStyledTextEvent_GetMargin", (PyCFunction) _wrap_wxStyledTextEvent_GetMargin, METH_VARARGS | METH_KEYWORDS }, | |
8260 | { "wxStyledTextEvent_GetFoldLevelPrev", (PyCFunction) _wrap_wxStyledTextEvent_GetFoldLevelPrev, METH_VARARGS | METH_KEYWORDS }, | |
8261 | { "wxStyledTextEvent_GetFoldLevelNow", (PyCFunction) _wrap_wxStyledTextEvent_GetFoldLevelNow, METH_VARARGS | METH_KEYWORDS }, | |
8262 | { "wxStyledTextEvent_GetLine", (PyCFunction) _wrap_wxStyledTextEvent_GetLine, METH_VARARGS | METH_KEYWORDS }, | |
8263 | { "wxStyledTextEvent_GetLinesAdded", (PyCFunction) _wrap_wxStyledTextEvent_GetLinesAdded, METH_VARARGS | METH_KEYWORDS }, | |
8264 | { "wxStyledTextEvent_GetLength", (PyCFunction) _wrap_wxStyledTextEvent_GetLength, METH_VARARGS | METH_KEYWORDS }, | |
8265 | { "wxStyledTextEvent_GetText", (PyCFunction) _wrap_wxStyledTextEvent_GetText, METH_VARARGS | METH_KEYWORDS }, | |
8266 | { "wxStyledTextEvent_GetModificationType", (PyCFunction) _wrap_wxStyledTextEvent_GetModificationType, METH_VARARGS | METH_KEYWORDS }, | |
8267 | { "wxStyledTextEvent_GetModifiers", (PyCFunction) _wrap_wxStyledTextEvent_GetModifiers, METH_VARARGS | METH_KEYWORDS }, | |
8268 | { "wxStyledTextEvent_GetKey", (PyCFunction) _wrap_wxStyledTextEvent_GetKey, METH_VARARGS | METH_KEYWORDS }, | |
8269 | { "wxStyledTextEvent_GetPosition", (PyCFunction) _wrap_wxStyledTextEvent_GetPosition, METH_VARARGS | METH_KEYWORDS }, | |
8270 | { "wxStyledTextEvent_SetLParam", (PyCFunction) _wrap_wxStyledTextEvent_SetLParam, METH_VARARGS | METH_KEYWORDS }, | |
8271 | { "wxStyledTextEvent_SetWParam", (PyCFunction) _wrap_wxStyledTextEvent_SetWParam, METH_VARARGS | METH_KEYWORDS }, | |
8272 | { "wxStyledTextEvent_SetMessage", (PyCFunction) _wrap_wxStyledTextEvent_SetMessage, METH_VARARGS | METH_KEYWORDS }, | |
8273 | { "wxStyledTextEvent_SetMargin", (PyCFunction) _wrap_wxStyledTextEvent_SetMargin, METH_VARARGS | METH_KEYWORDS }, | |
8274 | { "wxStyledTextEvent_SetFoldLevelPrev", (PyCFunction) _wrap_wxStyledTextEvent_SetFoldLevelPrev, METH_VARARGS | METH_KEYWORDS }, | |
8275 | { "wxStyledTextEvent_SetFoldLevelNow", (PyCFunction) _wrap_wxStyledTextEvent_SetFoldLevelNow, METH_VARARGS | METH_KEYWORDS }, | |
8276 | { "wxStyledTextEvent_SetLine", (PyCFunction) _wrap_wxStyledTextEvent_SetLine, METH_VARARGS | METH_KEYWORDS }, | |
8277 | { "wxStyledTextEvent_SetLinesAdded", (PyCFunction) _wrap_wxStyledTextEvent_SetLinesAdded, METH_VARARGS | METH_KEYWORDS }, | |
8278 | { "wxStyledTextEvent_SetLength", (PyCFunction) _wrap_wxStyledTextEvent_SetLength, METH_VARARGS | METH_KEYWORDS }, | |
8279 | { "wxStyledTextEvent_SetText", (PyCFunction) _wrap_wxStyledTextEvent_SetText, METH_VARARGS | METH_KEYWORDS }, | |
8280 | { "wxStyledTextEvent_SetModificationType", (PyCFunction) _wrap_wxStyledTextEvent_SetModificationType, METH_VARARGS | METH_KEYWORDS }, | |
8281 | { "wxStyledTextEvent_SetModifiers", (PyCFunction) _wrap_wxStyledTextEvent_SetModifiers, METH_VARARGS | METH_KEYWORDS }, | |
8282 | { "wxStyledTextEvent_SetKey", (PyCFunction) _wrap_wxStyledTextEvent_SetKey, METH_VARARGS | METH_KEYWORDS }, | |
8283 | { "wxStyledTextEvent_SetPosition", (PyCFunction) _wrap_wxStyledTextEvent_SetPosition, METH_VARARGS | METH_KEYWORDS }, | |
8284 | { "delete_wxStyledTextEvent", (PyCFunction) _wrap_delete_wxStyledTextEvent, METH_VARARGS | METH_KEYWORDS }, | |
8285 | { "new_wxStyledTextEvent", (PyCFunction) _wrap_new_wxStyledTextEvent, METH_VARARGS | METH_KEYWORDS }, | |
ea7c631c RD |
8286 | { "wxStyledTextCtrl_ScrollToColumn", (PyCFunction) _wrap_wxStyledTextCtrl_ScrollToColumn, METH_VARARGS | METH_KEYWORDS }, |
8287 | { "wxStyledTextCtrl_ScrollToLine", (PyCFunction) _wrap_wxStyledTextCtrl_ScrollToLine, METH_VARARGS | METH_KEYWORDS }, | |
fe47ec10 RD |
8288 | { "wxStyledTextCtrl_PointFromPosition", (PyCFunction) _wrap_wxStyledTextCtrl_PointFromPosition, METH_VARARGS | METH_KEYWORDS }, |
8289 | { "wxStyledTextCtrl_GetSelection", (PyCFunction) _wrap_wxStyledTextCtrl_GetSelection, METH_VARARGS | METH_KEYWORDS }, | |
8290 | { "wxStyledTextCtrl_SetMargins", (PyCFunction) _wrap_wxStyledTextCtrl_SetMargins, METH_VARARGS | METH_KEYWORDS }, | |
8291 | { "wxStyledTextCtrl_CmdKeyExecute", (PyCFunction) _wrap_wxStyledTextCtrl_CmdKeyExecute, METH_VARARGS | METH_KEYWORDS }, | |
8292 | { "wxStyledTextCtrl_StyleSetFontAttr", (PyCFunction) _wrap_wxStyledTextCtrl_StyleSetFontAttr, METH_VARARGS | METH_KEYWORDS }, | |
8293 | { "wxStyledTextCtrl_StyleSetFont", (PyCFunction) _wrap_wxStyledTextCtrl_StyleSetFont, METH_VARARGS | METH_KEYWORDS }, | |
8294 | { "wxStyledTextCtrl_StyleSetSpec", (PyCFunction) _wrap_wxStyledTextCtrl_StyleSetSpec, METH_VARARGS | METH_KEYWORDS }, | |
8295 | { "wxStyledTextCtrl_GetCurrentLine", (PyCFunction) _wrap_wxStyledTextCtrl_GetCurrentLine, METH_VARARGS | METH_KEYWORDS }, | |
8296 | { "wxStyledTextCtrl_SetKeyWords", (PyCFunction) _wrap_wxStyledTextCtrl_SetKeyWords, METH_VARARGS | METH_KEYWORDS }, | |
f6bcfd97 BP |
8297 | { "wxStyledTextCtrl_SetProperty", (PyCFunction) _wrap_wxStyledTextCtrl_SetProperty, METH_VARARGS | METH_KEYWORDS }, |
8298 | { "wxStyledTextCtrl_Colourise", (PyCFunction) _wrap_wxStyledTextCtrl_Colourise, METH_VARARGS | METH_KEYWORDS }, | |
8299 | { "wxStyledTextCtrl_GetLexer", (PyCFunction) _wrap_wxStyledTextCtrl_GetLexer, METH_VARARGS | METH_KEYWORDS }, | |
8300 | { "wxStyledTextCtrl_SetLexer", (PyCFunction) _wrap_wxStyledTextCtrl_SetLexer, METH_VARARGS | METH_KEYWORDS }, | |
fe47ec10 RD |
8301 | { "wxStyledTextCtrl_StopRecord", (PyCFunction) _wrap_wxStyledTextCtrl_StopRecord, METH_VARARGS | METH_KEYWORDS }, |
8302 | { "wxStyledTextCtrl_StartRecord", (PyCFunction) _wrap_wxStyledTextCtrl_StartRecord, METH_VARARGS | METH_KEYWORDS }, | |
8303 | { "wxStyledTextCtrl_GetModEventMask", (PyCFunction) _wrap_wxStyledTextCtrl_GetModEventMask, METH_VARARGS | METH_KEYWORDS }, | |
8304 | { "wxStyledTextCtrl_ReleaseDocument", (PyCFunction) _wrap_wxStyledTextCtrl_ReleaseDocument, METH_VARARGS | METH_KEYWORDS }, | |
8305 | { "wxStyledTextCtrl_AddRefDocument", (PyCFunction) _wrap_wxStyledTextCtrl_AddRefDocument, METH_VARARGS | METH_KEYWORDS }, | |
8306 | { "wxStyledTextCtrl_CreateDocument", (PyCFunction) _wrap_wxStyledTextCtrl_CreateDocument, METH_VARARGS | METH_KEYWORDS }, | |
8307 | { "wxStyledTextCtrl_GetZoom", (PyCFunction) _wrap_wxStyledTextCtrl_GetZoom, METH_VARARGS | METH_KEYWORDS }, | |
8308 | { "wxStyledTextCtrl_SetZoom", (PyCFunction) _wrap_wxStyledTextCtrl_SetZoom, METH_VARARGS | METH_KEYWORDS }, | |
8309 | { "wxStyledTextCtrl_SelectionIsRectangle", (PyCFunction) _wrap_wxStyledTextCtrl_SelectionIsRectangle, METH_VARARGS | METH_KEYWORDS }, | |
8310 | { "wxStyledTextCtrl_UsePopUp", (PyCFunction) _wrap_wxStyledTextCtrl_UsePopUp, METH_VARARGS | METH_KEYWORDS }, | |
8311 | { "wxStyledTextCtrl_LinesOnScreen", (PyCFunction) _wrap_wxStyledTextCtrl_LinesOnScreen, METH_VARARGS | METH_KEYWORDS }, | |
8312 | { "wxStyledTextCtrl_SetCaretPolicy", (PyCFunction) _wrap_wxStyledTextCtrl_SetCaretPolicy, METH_VARARGS | METH_KEYWORDS }, | |
8313 | { "wxStyledTextCtrl_SearchPrev", (PyCFunction) _wrap_wxStyledTextCtrl_SearchPrev, METH_VARARGS | METH_KEYWORDS }, | |
8314 | { "wxStyledTextCtrl_SearchNext", (PyCFunction) _wrap_wxStyledTextCtrl_SearchNext, METH_VARARGS | METH_KEYWORDS }, | |
8315 | { "wxStyledTextCtrl_SearchAnchor", (PyCFunction) _wrap_wxStyledTextCtrl_SearchAnchor, METH_VARARGS | METH_KEYWORDS }, | |
f6bcfd97 BP |
8316 | { "wxStyledTextCtrl_SetEdgeColour", (PyCFunction) _wrap_wxStyledTextCtrl_SetEdgeColour, METH_VARARGS | METH_KEYWORDS }, |
8317 | { "wxStyledTextCtrl_GetEdgeColour", (PyCFunction) _wrap_wxStyledTextCtrl_GetEdgeColour, METH_VARARGS | METH_KEYWORDS }, | |
8318 | { "wxStyledTextCtrl_SetEdgeMode", (PyCFunction) _wrap_wxStyledTextCtrl_SetEdgeMode, METH_VARARGS | METH_KEYWORDS }, | |
8319 | { "wxStyledTextCtrl_GetEdgeMode", (PyCFunction) _wrap_wxStyledTextCtrl_GetEdgeMode, METH_VARARGS | METH_KEYWORDS }, | |
8320 | { "wxStyledTextCtrl_SetEdgeColumn", (PyCFunction) _wrap_wxStyledTextCtrl_SetEdgeColumn, METH_VARARGS | METH_KEYWORDS }, | |
8321 | { "wxStyledTextCtrl_GetEdgeColumn", (PyCFunction) _wrap_wxStyledTextCtrl_GetEdgeColumn, METH_VARARGS | METH_KEYWORDS }, | |
fe47ec10 RD |
8322 | { "wxStyledTextCtrl_SetModEventMask", (PyCFunction) _wrap_wxStyledTextCtrl_SetModEventMask, METH_VARARGS | METH_KEYWORDS }, |
8323 | { "wxStyledTextCtrl_SetDocPointer", (PyCFunction) _wrap_wxStyledTextCtrl_SetDocPointer, METH_VARARGS | METH_KEYWORDS }, | |
8324 | { "wxStyledTextCtrl_GetDocPointer", (PyCFunction) _wrap_wxStyledTextCtrl_GetDocPointer, METH_VARARGS | METH_KEYWORDS }, | |
8325 | { "wxStyledTextCtrl_SetViewEOL", (PyCFunction) _wrap_wxStyledTextCtrl_SetViewEOL, METH_VARARGS | METH_KEYWORDS }, | |
8326 | { "wxStyledTextCtrl_GetViewEOL", (PyCFunction) _wrap_wxStyledTextCtrl_GetViewEOL, METH_VARARGS | METH_KEYWORDS }, | |
8327 | { "wxStyledTextCtrl_BraceMatch", (PyCFunction) _wrap_wxStyledTextCtrl_BraceMatch, METH_VARARGS | METH_KEYWORDS }, | |
8328 | { "wxStyledTextCtrl_BraceBadLight", (PyCFunction) _wrap_wxStyledTextCtrl_BraceBadLight, METH_VARARGS | METH_KEYWORDS }, | |
8329 | { "wxStyledTextCtrl_BraceHighlight", (PyCFunction) _wrap_wxStyledTextCtrl_BraceHighlight, METH_VARARGS | METH_KEYWORDS }, | |
8330 | { "wxStyledTextCtrl_LineLength", (PyCFunction) _wrap_wxStyledTextCtrl_LineLength, METH_VARARGS | METH_KEYWORDS }, | |
f6bcfd97 BP |
8331 | { "wxStyledTextCtrl_SetFoldFlags", (PyCFunction) _wrap_wxStyledTextCtrl_SetFoldFlags, METH_VARARGS | METH_KEYWORDS }, |
8332 | { "wxStyledTextCtrl_EnsureVisible", (PyCFunction) _wrap_wxStyledTextCtrl_EnsureVisible, METH_VARARGS | METH_KEYWORDS }, | |
8333 | { "wxStyledTextCtrl_ToggleFold", (PyCFunction) _wrap_wxStyledTextCtrl_ToggleFold, METH_VARARGS | METH_KEYWORDS }, | |
8334 | { "wxStyledTextCtrl_GetFoldExpanded", (PyCFunction) _wrap_wxStyledTextCtrl_GetFoldExpanded, METH_VARARGS | METH_KEYWORDS }, | |
8335 | { "wxStyledTextCtrl_SetFoldExpanded", (PyCFunction) _wrap_wxStyledTextCtrl_SetFoldExpanded, METH_VARARGS | METH_KEYWORDS }, | |
8336 | { "wxStyledTextCtrl_GetLineVisible", (PyCFunction) _wrap_wxStyledTextCtrl_GetLineVisible, METH_VARARGS | METH_KEYWORDS }, | |
8337 | { "wxStyledTextCtrl_HideLines", (PyCFunction) _wrap_wxStyledTextCtrl_HideLines, METH_VARARGS | METH_KEYWORDS }, | |
8338 | { "wxStyledTextCtrl_ShowLines", (PyCFunction) _wrap_wxStyledTextCtrl_ShowLines, METH_VARARGS | METH_KEYWORDS }, | |
8339 | { "wxStyledTextCtrl_GetFoldParent", (PyCFunction) _wrap_wxStyledTextCtrl_GetFoldParent, METH_VARARGS | METH_KEYWORDS }, | |
8340 | { "wxStyledTextCtrl_GetLastChild", (PyCFunction) _wrap_wxStyledTextCtrl_GetLastChild, METH_VARARGS | METH_KEYWORDS }, | |
8341 | { "wxStyledTextCtrl_GetFoldLevel", (PyCFunction) _wrap_wxStyledTextCtrl_GetFoldLevel, METH_VARARGS | METH_KEYWORDS }, | |
8342 | { "wxStyledTextCtrl_SetFoldLevel", (PyCFunction) _wrap_wxStyledTextCtrl_SetFoldLevel, METH_VARARGS | METH_KEYWORDS }, | |
8343 | { "wxStyledTextCtrl_DocLineFromVisible", (PyCFunction) _wrap_wxStyledTextCtrl_DocLineFromVisible, METH_VARARGS | METH_KEYWORDS }, | |
8344 | { "wxStyledTextCtrl_VisibleFromDocLine", (PyCFunction) _wrap_wxStyledTextCtrl_VisibleFromDocLine, METH_VARARGS | METH_KEYWORDS }, | |
f6bcfd97 BP |
8345 | { "wxStyledTextCtrl_CallTipSetBackground", (PyCFunction) _wrap_wxStyledTextCtrl_CallTipSetBackground, METH_VARARGS | METH_KEYWORDS }, |
8346 | { "wxStyledTextCtrl_CallTipSetHighlight", (PyCFunction) _wrap_wxStyledTextCtrl_CallTipSetHighlight, METH_VARARGS | METH_KEYWORDS }, | |
8347 | { "wxStyledTextCtrl_CallTipPosAtStart", (PyCFunction) _wrap_wxStyledTextCtrl_CallTipPosAtStart, METH_VARARGS | METH_KEYWORDS }, | |
8348 | { "wxStyledTextCtrl_CallTipActive", (PyCFunction) _wrap_wxStyledTextCtrl_CallTipActive, METH_VARARGS | METH_KEYWORDS }, | |
8349 | { "wxStyledTextCtrl_CallTipCancel", (PyCFunction) _wrap_wxStyledTextCtrl_CallTipCancel, METH_VARARGS | METH_KEYWORDS }, | |
8350 | { "wxStyledTextCtrl_CallTipShow", (PyCFunction) _wrap_wxStyledTextCtrl_CallTipShow, METH_VARARGS | METH_KEYWORDS }, | |
fe47ec10 RD |
8351 | { "wxStyledTextCtrl_GetOvertype", (PyCFunction) _wrap_wxStyledTextCtrl_GetOvertype, METH_VARARGS | METH_KEYWORDS }, |
8352 | { "wxStyledTextCtrl_SetOvertype", (PyCFunction) _wrap_wxStyledTextCtrl_SetOvertype, METH_VARARGS | METH_KEYWORDS }, | |
8353 | { "wxStyledTextCtrl_GetTextLength", (PyCFunction) _wrap_wxStyledTextCtrl_GetTextLength, METH_VARARGS | METH_KEYWORDS }, | |
8354 | { "wxStyledTextCtrl_GetText", (PyCFunction) _wrap_wxStyledTextCtrl_GetText, METH_VARARGS | METH_KEYWORDS }, | |
8355 | { "wxStyledTextCtrl_SetText", (PyCFunction) _wrap_wxStyledTextCtrl_SetText, METH_VARARGS | METH_KEYWORDS }, | |
8356 | { "wxStyledTextCtrl_Clear", (PyCFunction) _wrap_wxStyledTextCtrl_Clear, METH_VARARGS | METH_KEYWORDS }, | |
8357 | { "wxStyledTextCtrl_Paste", (PyCFunction) _wrap_wxStyledTextCtrl_Paste, METH_VARARGS | METH_KEYWORDS }, | |
8358 | { "wxStyledTextCtrl_Copy", (PyCFunction) _wrap_wxStyledTextCtrl_Copy, METH_VARARGS | METH_KEYWORDS }, | |
8359 | { "wxStyledTextCtrl_Cut", (PyCFunction) _wrap_wxStyledTextCtrl_Cut, METH_VARARGS | METH_KEYWORDS }, | |
8360 | { "wxStyledTextCtrl_Undo", (PyCFunction) _wrap_wxStyledTextCtrl_Undo, METH_VARARGS | METH_KEYWORDS }, | |
8361 | { "wxStyledTextCtrl_EmptyUndoBuffer", (PyCFunction) _wrap_wxStyledTextCtrl_EmptyUndoBuffer, METH_VARARGS | METH_KEYWORDS }, | |
8362 | { "wxStyledTextCtrl_CanUndo", (PyCFunction) _wrap_wxStyledTextCtrl_CanUndo, METH_VARARGS | METH_KEYWORDS }, | |
8363 | { "wxStyledTextCtrl_CanPaste", (PyCFunction) _wrap_wxStyledTextCtrl_CanPaste, METH_VARARGS | METH_KEYWORDS }, | |
8364 | { "wxStyledTextCtrl_SetReadOnly", (PyCFunction) _wrap_wxStyledTextCtrl_SetReadOnly, METH_VARARGS | METH_KEYWORDS }, | |
8365 | { "wxStyledTextCtrl_ReplaceSelection", (PyCFunction) _wrap_wxStyledTextCtrl_ReplaceSelection, METH_VARARGS | METH_KEYWORDS }, | |
8366 | { "wxStyledTextCtrl_EnsureCaretVisible", (PyCFunction) _wrap_wxStyledTextCtrl_EnsureCaretVisible, METH_VARARGS | METH_KEYWORDS }, | |
8367 | { "wxStyledTextCtrl_LineScroll", (PyCFunction) _wrap_wxStyledTextCtrl_LineScroll, METH_VARARGS | METH_KEYWORDS }, | |
8368 | { "wxStyledTextCtrl_PositionFromLine", (PyCFunction) _wrap_wxStyledTextCtrl_PositionFromLine, METH_VARARGS | METH_KEYWORDS }, | |
8369 | { "wxStyledTextCtrl_LineFromPosition", (PyCFunction) _wrap_wxStyledTextCtrl_LineFromPosition, METH_VARARGS | METH_KEYWORDS }, | |
8370 | { "wxStyledTextCtrl_HideSelection", (PyCFunction) _wrap_wxStyledTextCtrl_HideSelection, METH_VARARGS | METH_KEYWORDS }, | |
8371 | { "wxStyledTextCtrl_GetTextRange", (PyCFunction) _wrap_wxStyledTextCtrl_GetTextRange, METH_VARARGS | METH_KEYWORDS }, | |
8372 | { "wxStyledTextCtrl_GetSelectedText", (PyCFunction) _wrap_wxStyledTextCtrl_GetSelectedText, METH_VARARGS | METH_KEYWORDS }, | |
8373 | { "wxStyledTextCtrl_SetSelection", (PyCFunction) _wrap_wxStyledTextCtrl_SetSelection, METH_VARARGS | METH_KEYWORDS }, | |
8374 | { "wxStyledTextCtrl_GetModify", (PyCFunction) _wrap_wxStyledTextCtrl_GetModify, METH_VARARGS | METH_KEYWORDS }, | |
8375 | { "wxStyledTextCtrl_GetMarginRight", (PyCFunction) _wrap_wxStyledTextCtrl_GetMarginRight, METH_VARARGS | METH_KEYWORDS }, | |
8376 | { "wxStyledTextCtrl_SetMarginRight", (PyCFunction) _wrap_wxStyledTextCtrl_SetMarginRight, METH_VARARGS | METH_KEYWORDS }, | |
8377 | { "wxStyledTextCtrl_GetMarginLeft", (PyCFunction) _wrap_wxStyledTextCtrl_GetMarginLeft, METH_VARARGS | METH_KEYWORDS }, | |
8378 | { "wxStyledTextCtrl_SetMarginLeft", (PyCFunction) _wrap_wxStyledTextCtrl_SetMarginLeft, METH_VARARGS | METH_KEYWORDS }, | |
8379 | { "wxStyledTextCtrl_GetLineCount", (PyCFunction) _wrap_wxStyledTextCtrl_GetLineCount, METH_VARARGS | METH_KEYWORDS }, | |
8380 | { "wxStyledTextCtrl_GetLine", (PyCFunction) _wrap_wxStyledTextCtrl_GetLine, METH_VARARGS | METH_KEYWORDS }, | |
8381 | { "wxStyledTextCtrl_GetFirstVisibleLine", (PyCFunction) _wrap_wxStyledTextCtrl_GetFirstVisibleLine, METH_VARARGS | METH_KEYWORDS }, | |
8382 | { "wxStyledTextCtrl_FormatRange", (PyCFunction) _wrap_wxStyledTextCtrl_FormatRange, METH_VARARGS | METH_KEYWORDS }, | |
8383 | { "wxStyledTextCtrl_FindText", (PyCFunction) _wrap_wxStyledTextCtrl_FindText, METH_VARARGS | METH_KEYWORDS }, | |
8384 | { "wxStyledTextCtrl_GetPrintColourMode", (PyCFunction) _wrap_wxStyledTextCtrl_GetPrintColourMode, METH_VARARGS | METH_KEYWORDS }, | |
8385 | { "wxStyledTextCtrl_SetPrintColourMode", (PyCFunction) _wrap_wxStyledTextCtrl_SetPrintColourMode, METH_VARARGS | METH_KEYWORDS }, | |
8386 | { "wxStyledTextCtrl_GetPrintMagnification", (PyCFunction) _wrap_wxStyledTextCtrl_GetPrintMagnification, METH_VARARGS | METH_KEYWORDS }, | |
8387 | { "wxStyledTextCtrl_SetPrintMagnification", (PyCFunction) _wrap_wxStyledTextCtrl_SetPrintMagnification, METH_VARARGS | METH_KEYWORDS }, | |
8388 | { "wxStyledTextCtrl_GetSelectionEnd", (PyCFunction) _wrap_wxStyledTextCtrl_GetSelectionEnd, METH_VARARGS | METH_KEYWORDS }, | |
8389 | { "wxStyledTextCtrl_SetSelectionEnd", (PyCFunction) _wrap_wxStyledTextCtrl_SetSelectionEnd, METH_VARARGS | METH_KEYWORDS }, | |
8390 | { "wxStyledTextCtrl_GetSelectionStart", (PyCFunction) _wrap_wxStyledTextCtrl_GetSelectionStart, METH_VARARGS | METH_KEYWORDS }, | |
8391 | { "wxStyledTextCtrl_SetSelectionStart", (PyCFunction) _wrap_wxStyledTextCtrl_SetSelectionStart, METH_VARARGS | METH_KEYWORDS }, | |
8392 | { "wxStyledTextCtrl_SetCurrentPos", (PyCFunction) _wrap_wxStyledTextCtrl_SetCurrentPos, METH_VARARGS | METH_KEYWORDS }, | |
8393 | { "wxStyledTextCtrl_GetReadOnly", (PyCFunction) _wrap_wxStyledTextCtrl_GetReadOnly, METH_VARARGS | METH_KEYWORDS }, | |
8394 | { "wxStyledTextCtrl_GetCaretForeground", (PyCFunction) _wrap_wxStyledTextCtrl_GetCaretForeground, METH_VARARGS | METH_KEYWORDS }, | |
8395 | { "wxStyledTextCtrl_GetCodePage", (PyCFunction) _wrap_wxStyledTextCtrl_GetCodePage, METH_VARARGS | METH_KEYWORDS }, | |
8396 | { "wxStyledTextCtrl_GetLineEndPosition", (PyCFunction) _wrap_wxStyledTextCtrl_GetLineEndPosition, METH_VARARGS | METH_KEYWORDS }, | |
8397 | { "wxStyledTextCtrl_GetHighlightGuide", (PyCFunction) _wrap_wxStyledTextCtrl_GetHighlightGuide, METH_VARARGS | METH_KEYWORDS }, | |
8398 | { "wxStyledTextCtrl_SetHighlightGuide", (PyCFunction) _wrap_wxStyledTextCtrl_SetHighlightGuide, METH_VARARGS | METH_KEYWORDS }, | |
8399 | { "wxStyledTextCtrl_GetIndentationGuides", (PyCFunction) _wrap_wxStyledTextCtrl_GetIndentationGuides, METH_VARARGS | METH_KEYWORDS }, | |
8400 | { "wxStyledTextCtrl_SetIndentationGuides", (PyCFunction) _wrap_wxStyledTextCtrl_SetIndentationGuides, METH_VARARGS | METH_KEYWORDS }, | |
8401 | { "wxStyledTextCtrl_GetUseHorizontalScrollBar", (PyCFunction) _wrap_wxStyledTextCtrl_GetUseHorizontalScrollBar, METH_VARARGS | METH_KEYWORDS }, | |
8402 | { "wxStyledTextCtrl_SetUseHorizontalScrollBar", (PyCFunction) _wrap_wxStyledTextCtrl_SetUseHorizontalScrollBar, METH_VARARGS | METH_KEYWORDS }, | |
8403 | { "wxStyledTextCtrl_GetColumn", (PyCFunction) _wrap_wxStyledTextCtrl_GetColumn, METH_VARARGS | METH_KEYWORDS }, | |
8404 | { "wxStyledTextCtrl_GetLineIndentPosition", (PyCFunction) _wrap_wxStyledTextCtrl_GetLineIndentPosition, METH_VARARGS | METH_KEYWORDS }, | |
8405 | { "wxStyledTextCtrl_GetLineIndentation", (PyCFunction) _wrap_wxStyledTextCtrl_GetLineIndentation, METH_VARARGS | METH_KEYWORDS }, | |
8406 | { "wxStyledTextCtrl_SetLineIndentation", (PyCFunction) _wrap_wxStyledTextCtrl_SetLineIndentation, METH_VARARGS | METH_KEYWORDS }, | |
8407 | { "wxStyledTextCtrl_GetUseTabs", (PyCFunction) _wrap_wxStyledTextCtrl_GetUseTabs, METH_VARARGS | METH_KEYWORDS }, | |
8408 | { "wxStyledTextCtrl_SetUseTabs", (PyCFunction) _wrap_wxStyledTextCtrl_SetUseTabs, METH_VARARGS | METH_KEYWORDS }, | |
8409 | { "wxStyledTextCtrl_GetIndent", (PyCFunction) _wrap_wxStyledTextCtrl_GetIndent, METH_VARARGS | METH_KEYWORDS }, | |
8410 | { "wxStyledTextCtrl_SetIndent", (PyCFunction) _wrap_wxStyledTextCtrl_SetIndent, METH_VARARGS | METH_KEYWORDS }, | |
8411 | { "wxStyledTextCtrl_AutoCompGetIgnoreCase", (PyCFunction) _wrap_wxStyledTextCtrl_AutoCompGetIgnoreCase, METH_VARARGS | METH_KEYWORDS }, | |
8412 | { "wxStyledTextCtrl_AutoCompSetIgnoreCase", (PyCFunction) _wrap_wxStyledTextCtrl_AutoCompSetIgnoreCase, METH_VARARGS | METH_KEYWORDS }, | |
8413 | { "wxStyledTextCtrl_AutoCompGetChooseSingle", (PyCFunction) _wrap_wxStyledTextCtrl_AutoCompGetChooseSingle, METH_VARARGS | METH_KEYWORDS }, | |
8414 | { "wxStyledTextCtrl_AutoCompSetChooseSingle", (PyCFunction) _wrap_wxStyledTextCtrl_AutoCompSetChooseSingle, METH_VARARGS | METH_KEYWORDS }, | |
8415 | { "wxStyledTextCtrl_AutoCompSetFillUps", (PyCFunction) _wrap_wxStyledTextCtrl_AutoCompSetFillUps, METH_VARARGS | METH_KEYWORDS }, | |
8416 | { "wxStyledTextCtrl_AutoCompGetCancelAtStart", (PyCFunction) _wrap_wxStyledTextCtrl_AutoCompGetCancelAtStart, METH_VARARGS | METH_KEYWORDS }, | |
8417 | { "wxStyledTextCtrl_AutoCompSetCancelAtStart", (PyCFunction) _wrap_wxStyledTextCtrl_AutoCompSetCancelAtStart, METH_VARARGS | METH_KEYWORDS }, | |
f6bcfd97 BP |
8418 | { "wxStyledTextCtrl_AutoCompSelect", (PyCFunction) _wrap_wxStyledTextCtrl_AutoCompSelect, METH_VARARGS | METH_KEYWORDS }, |
8419 | { "wxStyledTextCtrl_AutoCompGetSeparator", (PyCFunction) _wrap_wxStyledTextCtrl_AutoCompGetSeparator, METH_VARARGS | METH_KEYWORDS }, | |
8420 | { "wxStyledTextCtrl_AutoCompSetSeparator", (PyCFunction) _wrap_wxStyledTextCtrl_AutoCompSetSeparator, METH_VARARGS | METH_KEYWORDS }, | |
fe47ec10 | 8421 | { "wxStyledTextCtrl_AutoCompStops", (PyCFunction) _wrap_wxStyledTextCtrl_AutoCompStops, METH_VARARGS | METH_KEYWORDS }, |
f6bcfd97 | 8422 | { "wxStyledTextCtrl_AutoCompComplete", (PyCFunction) _wrap_wxStyledTextCtrl_AutoCompComplete, METH_VARARGS | METH_KEYWORDS }, |
fe47ec10 | 8423 | { "wxStyledTextCtrl_AutoCompPosStart", (PyCFunction) _wrap_wxStyledTextCtrl_AutoCompPosStart, METH_VARARGS | METH_KEYWORDS }, |
f6bcfd97 BP |
8424 | { "wxStyledTextCtrl_AutoCompActive", (PyCFunction) _wrap_wxStyledTextCtrl_AutoCompActive, METH_VARARGS | METH_KEYWORDS }, |
8425 | { "wxStyledTextCtrl_AutoCompCancel", (PyCFunction) _wrap_wxStyledTextCtrl_AutoCompCancel, METH_VARARGS | METH_KEYWORDS }, | |
8426 | { "wxStyledTextCtrl_AutoCompShow", (PyCFunction) _wrap_wxStyledTextCtrl_AutoCompShow, METH_VARARGS | METH_KEYWORDS }, | |
fe47ec10 RD |
8427 | { "wxStyledTextCtrl_GetMaxLineState", (PyCFunction) _wrap_wxStyledTextCtrl_GetMaxLineState, METH_VARARGS | METH_KEYWORDS }, |
8428 | { "wxStyledTextCtrl_GetLineState", (PyCFunction) _wrap_wxStyledTextCtrl_GetLineState, METH_VARARGS | METH_KEYWORDS }, | |
8429 | { "wxStyledTextCtrl_SetLineState", (PyCFunction) _wrap_wxStyledTextCtrl_SetLineState, METH_VARARGS | METH_KEYWORDS }, | |
8430 | { "wxStyledTextCtrl_GetStyleBits", (PyCFunction) _wrap_wxStyledTextCtrl_GetStyleBits, METH_VARARGS | METH_KEYWORDS }, | |
8431 | { "wxStyledTextCtrl_SetStyleBits", (PyCFunction) _wrap_wxStyledTextCtrl_SetStyleBits, METH_VARARGS | METH_KEYWORDS }, | |
8432 | { "wxStyledTextCtrl_IndicatorGetForeground", (PyCFunction) _wrap_wxStyledTextCtrl_IndicatorGetForeground, METH_VARARGS | METH_KEYWORDS }, | |
8433 | { "wxStyledTextCtrl_IndicatorSetForeground", (PyCFunction) _wrap_wxStyledTextCtrl_IndicatorSetForeground, METH_VARARGS | METH_KEYWORDS }, | |
f6bcfd97 BP |
8434 | { "wxStyledTextCtrl_IndicatorGetStyle", (PyCFunction) _wrap_wxStyledTextCtrl_IndicatorGetStyle, METH_VARARGS | METH_KEYWORDS }, |
8435 | { "wxStyledTextCtrl_IndicatorSetStyle", (PyCFunction) _wrap_wxStyledTextCtrl_IndicatorSetStyle, METH_VARARGS | METH_KEYWORDS }, | |
fe47ec10 RD |
8436 | { "wxStyledTextCtrl_EndUndoAction", (PyCFunction) _wrap_wxStyledTextCtrl_EndUndoAction, METH_VARARGS | METH_KEYWORDS }, |
8437 | { "wxStyledTextCtrl_BeginUndoAction", (PyCFunction) _wrap_wxStyledTextCtrl_BeginUndoAction, METH_VARARGS | METH_KEYWORDS }, | |
f6bcfd97 | 8438 | { "wxStyledTextCtrl_SetWordChars", (PyCFunction) _wrap_wxStyledTextCtrl_SetWordChars, METH_VARARGS | METH_KEYWORDS }, |
f6bcfd97 BP |
8439 | { "wxStyledTextCtrl_SetCaretPeriod", (PyCFunction) _wrap_wxStyledTextCtrl_SetCaretPeriod, METH_VARARGS | METH_KEYWORDS }, |
8440 | { "wxStyledTextCtrl_GetCaretPeriod", (PyCFunction) _wrap_wxStyledTextCtrl_GetCaretPeriod, METH_VARARGS | METH_KEYWORDS }, | |
fe47ec10 RD |
8441 | { "wxStyledTextCtrl_StyleSetVisible", (PyCFunction) _wrap_wxStyledTextCtrl_StyleSetVisible, METH_VARARGS | METH_KEYWORDS }, |
8442 | { "wxStyledTextCtrl_SetStyleBytes", (PyCFunction) _wrap_wxStyledTextCtrl_SetStyleBytes, METH_VARARGS | METH_KEYWORDS }, | |
8443 | { "wxStyledTextCtrl_CmdKeyClearAll", (PyCFunction) _wrap_wxStyledTextCtrl_CmdKeyClearAll, METH_VARARGS | METH_KEYWORDS }, | |
8444 | { "wxStyledTextCtrl_CmdKeyClear", (PyCFunction) _wrap_wxStyledTextCtrl_CmdKeyClear, METH_VARARGS | METH_KEYWORDS }, | |
8445 | { "wxStyledTextCtrl_CmdKeyAssign", (PyCFunction) _wrap_wxStyledTextCtrl_CmdKeyAssign, METH_VARARGS | METH_KEYWORDS }, | |
f6bcfd97 | 8446 | { "wxStyledTextCtrl_SetCaretForeground", (PyCFunction) _wrap_wxStyledTextCtrl_SetCaretForeground, METH_VARARGS | METH_KEYWORDS }, |
fe47ec10 RD |
8447 | { "wxStyledTextCtrl_SetSelBackground", (PyCFunction) _wrap_wxStyledTextCtrl_SetSelBackground, METH_VARARGS | METH_KEYWORDS }, |
8448 | { "wxStyledTextCtrl_SetSelForeground", (PyCFunction) _wrap_wxStyledTextCtrl_SetSelForeground, METH_VARARGS | METH_KEYWORDS }, | |
f6bcfd97 | 8449 | { "wxStyledTextCtrl_StyleSetUnderline", (PyCFunction) _wrap_wxStyledTextCtrl_StyleSetUnderline, METH_VARARGS | METH_KEYWORDS }, |
fe47ec10 | 8450 | { "wxStyledTextCtrl_StyleResetDefault", (PyCFunction) _wrap_wxStyledTextCtrl_StyleResetDefault, METH_VARARGS | METH_KEYWORDS }, |
f6bcfd97 | 8451 | { "wxStyledTextCtrl_StyleSetEOLFilled", (PyCFunction) _wrap_wxStyledTextCtrl_StyleSetEOLFilled, METH_VARARGS | METH_KEYWORDS }, |
f6bcfd97 | 8452 | { "wxStyledTextCtrl_StyleSetFaceName", (PyCFunction) _wrap_wxStyledTextCtrl_StyleSetFaceName, METH_VARARGS | METH_KEYWORDS }, |
fe47ec10 | 8453 | { "wxStyledTextCtrl_StyleSetSize", (PyCFunction) _wrap_wxStyledTextCtrl_StyleSetSize, METH_VARARGS | METH_KEYWORDS }, |
f6bcfd97 BP |
8454 | { "wxStyledTextCtrl_StyleSetItalic", (PyCFunction) _wrap_wxStyledTextCtrl_StyleSetItalic, METH_VARARGS | METH_KEYWORDS }, |
8455 | { "wxStyledTextCtrl_StyleSetBold", (PyCFunction) _wrap_wxStyledTextCtrl_StyleSetBold, METH_VARARGS | METH_KEYWORDS }, | |
f6bcfd97 BP |
8456 | { "wxStyledTextCtrl_StyleSetBackground", (PyCFunction) _wrap_wxStyledTextCtrl_StyleSetBackground, METH_VARARGS | METH_KEYWORDS }, |
8457 | { "wxStyledTextCtrl_StyleSetForeground", (PyCFunction) _wrap_wxStyledTextCtrl_StyleSetForeground, METH_VARARGS | METH_KEYWORDS }, | |
f6bcfd97 | 8458 | { "wxStyledTextCtrl_StyleClearAll", (PyCFunction) _wrap_wxStyledTextCtrl_StyleClearAll, METH_VARARGS | METH_KEYWORDS }, |
fe47ec10 RD |
8459 | { "wxStyledTextCtrl_GetMarginSensitive", (PyCFunction) _wrap_wxStyledTextCtrl_GetMarginSensitive, METH_VARARGS | METH_KEYWORDS }, |
8460 | { "wxStyledTextCtrl_SetMarginSensitive", (PyCFunction) _wrap_wxStyledTextCtrl_SetMarginSensitive, METH_VARARGS | METH_KEYWORDS }, | |
8461 | { "wxStyledTextCtrl_GetMarginMask", (PyCFunction) _wrap_wxStyledTextCtrl_GetMarginMask, METH_VARARGS | METH_KEYWORDS }, | |
8462 | { "wxStyledTextCtrl_SetMarginMask", (PyCFunction) _wrap_wxStyledTextCtrl_SetMarginMask, METH_VARARGS | METH_KEYWORDS }, | |
8463 | { "wxStyledTextCtrl_GetMarginWidth", (PyCFunction) _wrap_wxStyledTextCtrl_GetMarginWidth, METH_VARARGS | METH_KEYWORDS }, | |
8464 | { "wxStyledTextCtrl_SetMarginWidth", (PyCFunction) _wrap_wxStyledTextCtrl_SetMarginWidth, METH_VARARGS | METH_KEYWORDS }, | |
8465 | { "wxStyledTextCtrl_GetMarginType", (PyCFunction) _wrap_wxStyledTextCtrl_GetMarginType, METH_VARARGS | METH_KEYWORDS }, | |
8466 | { "wxStyledTextCtrl_SetMarginType", (PyCFunction) _wrap_wxStyledTextCtrl_SetMarginType, METH_VARARGS | METH_KEYWORDS }, | |
8467 | { "wxStyledTextCtrl_MarkerPrevious", (PyCFunction) _wrap_wxStyledTextCtrl_MarkerPrevious, METH_VARARGS | METH_KEYWORDS }, | |
8468 | { "wxStyledTextCtrl_MarkerNext", (PyCFunction) _wrap_wxStyledTextCtrl_MarkerNext, METH_VARARGS | METH_KEYWORDS }, | |
8469 | { "wxStyledTextCtrl_MarkerGet", (PyCFunction) _wrap_wxStyledTextCtrl_MarkerGet, METH_VARARGS | METH_KEYWORDS }, | |
8470 | { "wxStyledTextCtrl_MarkerDeleteAll", (PyCFunction) _wrap_wxStyledTextCtrl_MarkerDeleteAll, METH_VARARGS | METH_KEYWORDS }, | |
8471 | { "wxStyledTextCtrl_MarkerDelete", (PyCFunction) _wrap_wxStyledTextCtrl_MarkerDelete, METH_VARARGS | METH_KEYWORDS }, | |
8472 | { "wxStyledTextCtrl_MarkerAdd", (PyCFunction) _wrap_wxStyledTextCtrl_MarkerAdd, METH_VARARGS | METH_KEYWORDS }, | |
8473 | { "wxStyledTextCtrl_MarkerSetBackground", (PyCFunction) _wrap_wxStyledTextCtrl_MarkerSetBackground, METH_VARARGS | METH_KEYWORDS }, | |
8474 | { "wxStyledTextCtrl_MarkerSetForeground", (PyCFunction) _wrap_wxStyledTextCtrl_MarkerSetForeground, METH_VARARGS | METH_KEYWORDS }, | |
8475 | { "wxStyledTextCtrl_MarkerDefine", (PyCFunction) _wrap_wxStyledTextCtrl_MarkerDefine, METH_VARARGS | METH_KEYWORDS }, | |
8476 | { "wxStyledTextCtrl_SetCodePage", (PyCFunction) _wrap_wxStyledTextCtrl_SetCodePage, METH_VARARGS | METH_KEYWORDS }, | |
8477 | { "wxStyledTextCtrl_GetTabWidth", (PyCFunction) _wrap_wxStyledTextCtrl_GetTabWidth, METH_VARARGS | METH_KEYWORDS }, | |
8478 | { "wxStyledTextCtrl_SetTabWidth", (PyCFunction) _wrap_wxStyledTextCtrl_SetTabWidth, METH_VARARGS | METH_KEYWORDS }, | |
8479 | { "wxStyledTextCtrl_SetBufferedDraw", (PyCFunction) _wrap_wxStyledTextCtrl_SetBufferedDraw, METH_VARARGS | METH_KEYWORDS }, | |
8480 | { "wxStyledTextCtrl_GetBufferedDraw", (PyCFunction) _wrap_wxStyledTextCtrl_GetBufferedDraw, METH_VARARGS | METH_KEYWORDS }, | |
8481 | { "wxStyledTextCtrl_SetStyling", (PyCFunction) _wrap_wxStyledTextCtrl_SetStyling, METH_VARARGS | METH_KEYWORDS }, | |
f6bcfd97 | 8482 | { "wxStyledTextCtrl_StartStyling", (PyCFunction) _wrap_wxStyledTextCtrl_StartStyling, METH_VARARGS | METH_KEYWORDS }, |
f6bcfd97 BP |
8483 | { "wxStyledTextCtrl_SetEOLMode", (PyCFunction) _wrap_wxStyledTextCtrl_SetEOLMode, METH_VARARGS | METH_KEYWORDS }, |
8484 | { "wxStyledTextCtrl_GetEOLMode", (PyCFunction) _wrap_wxStyledTextCtrl_GetEOLMode, METH_VARARGS | METH_KEYWORDS }, | |
fe47ec10 RD |
8485 | { "wxStyledTextCtrl_ConvertEOLs", (PyCFunction) _wrap_wxStyledTextCtrl_ConvertEOLs, METH_VARARGS | METH_KEYWORDS }, |
8486 | { "wxStyledTextCtrl_GetEndStyled", (PyCFunction) _wrap_wxStyledTextCtrl_GetEndStyled, METH_VARARGS | METH_KEYWORDS }, | |
8487 | { "wxStyledTextCtrl_GetCurLine", (PyCFunction) _wrap_wxStyledTextCtrl_GetCurLine, METH_VARARGS | METH_KEYWORDS }, | |
f6bcfd97 | 8488 | { "wxStyledTextCtrl_SetAnchor", (PyCFunction) _wrap_wxStyledTextCtrl_SetAnchor, METH_VARARGS | METH_KEYWORDS }, |
fe47ec10 RD |
8489 | { "wxStyledTextCtrl_GotoPos", (PyCFunction) _wrap_wxStyledTextCtrl_GotoPos, METH_VARARGS | METH_KEYWORDS }, |
8490 | { "wxStyledTextCtrl_GotoLine", (PyCFunction) _wrap_wxStyledTextCtrl_GotoLine, METH_VARARGS | METH_KEYWORDS }, | |
f6bcfd97 | 8491 | { "wxStyledTextCtrl_PositionFromPoint", (PyCFunction) _wrap_wxStyledTextCtrl_PositionFromPoint, METH_VARARGS | METH_KEYWORDS }, |
fe47ec10 RD |
8492 | { "wxStyledTextCtrl_SetViewWhiteSpace", (PyCFunction) _wrap_wxStyledTextCtrl_SetViewWhiteSpace, METH_VARARGS | METH_KEYWORDS }, |
8493 | { "wxStyledTextCtrl_GetViewWhiteSpace", (PyCFunction) _wrap_wxStyledTextCtrl_GetViewWhiteSpace, METH_VARARGS | METH_KEYWORDS }, | |
f6bcfd97 | 8494 | { "wxStyledTextCtrl_GetUndoCollection", (PyCFunction) _wrap_wxStyledTextCtrl_GetUndoCollection, METH_VARARGS | METH_KEYWORDS }, |
fe47ec10 RD |
8495 | { "wxStyledTextCtrl_MarkerDeleteHandle", (PyCFunction) _wrap_wxStyledTextCtrl_MarkerDeleteHandle, METH_VARARGS | METH_KEYWORDS }, |
8496 | { "wxStyledTextCtrl_MarkerLineFromHandle", (PyCFunction) _wrap_wxStyledTextCtrl_MarkerLineFromHandle, METH_VARARGS | METH_KEYWORDS }, | |
f6bcfd97 | 8497 | { "wxStyledTextCtrl_CanRedo", (PyCFunction) _wrap_wxStyledTextCtrl_CanRedo, METH_VARARGS | METH_KEYWORDS }, |
fe47ec10 RD |
8498 | { "wxStyledTextCtrl_GetStyledText", (PyCFunction) _wrap_wxStyledTextCtrl_GetStyledText, METH_VARARGS | METH_KEYWORDS }, |
8499 | { "wxStyledTextCtrl_SetSavePoint", (PyCFunction) _wrap_wxStyledTextCtrl_SetSavePoint, METH_VARARGS | METH_KEYWORDS }, | |
8500 | { "wxStyledTextCtrl_SelectAll", (PyCFunction) _wrap_wxStyledTextCtrl_SelectAll, METH_VARARGS | METH_KEYWORDS }, | |
8501 | { "wxStyledTextCtrl_SetUndoCollection", (PyCFunction) _wrap_wxStyledTextCtrl_SetUndoCollection, METH_VARARGS | METH_KEYWORDS }, | |
f6bcfd97 | 8502 | { "wxStyledTextCtrl_Redo", (PyCFunction) _wrap_wxStyledTextCtrl_Redo, METH_VARARGS | METH_KEYWORDS }, |
f6bcfd97 | 8503 | { "wxStyledTextCtrl_GetStyleAt", (PyCFunction) _wrap_wxStyledTextCtrl_GetStyleAt, METH_VARARGS | METH_KEYWORDS }, |
fe47ec10 RD |
8504 | { "wxStyledTextCtrl_GetAnchor", (PyCFunction) _wrap_wxStyledTextCtrl_GetAnchor, METH_VARARGS | METH_KEYWORDS }, |
8505 | { "wxStyledTextCtrl_GetCurrentPos", (PyCFunction) _wrap_wxStyledTextCtrl_GetCurrentPos, METH_VARARGS | METH_KEYWORDS }, | |
f6bcfd97 | 8506 | { "wxStyledTextCtrl_GetCharAt", (PyCFunction) _wrap_wxStyledTextCtrl_GetCharAt, METH_VARARGS | METH_KEYWORDS }, |
fe47ec10 RD |
8507 | { "wxStyledTextCtrl_GetLength", (PyCFunction) _wrap_wxStyledTextCtrl_GetLength, METH_VARARGS | METH_KEYWORDS }, |
8508 | { "wxStyledTextCtrl_ClearDocumentStyle", (PyCFunction) _wrap_wxStyledTextCtrl_ClearDocumentStyle, METH_VARARGS | METH_KEYWORDS }, | |
f6bcfd97 BP |
8509 | { "wxStyledTextCtrl_ClearAll", (PyCFunction) _wrap_wxStyledTextCtrl_ClearAll, METH_VARARGS | METH_KEYWORDS }, |
8510 | { "wxStyledTextCtrl_InsertText", (PyCFunction) _wrap_wxStyledTextCtrl_InsertText, METH_VARARGS | METH_KEYWORDS }, | |
8511 | { "wxStyledTextCtrl_AddStyledText", (PyCFunction) _wrap_wxStyledTextCtrl_AddStyledText, METH_VARARGS | METH_KEYWORDS }, | |
8512 | { "wxStyledTextCtrl_AddText", (PyCFunction) _wrap_wxStyledTextCtrl_AddText, METH_VARARGS | METH_KEYWORDS }, | |
f6bcfd97 BP |
8513 | { "new_wxStyledTextCtrl", (PyCFunction) _wrap_new_wxStyledTextCtrl, METH_VARARGS | METH_KEYWORDS }, |
8514 | { NULL, NULL } | |
8515 | }; | |
8516 | #ifdef __cplusplus | |
8517 | } | |
8518 | #endif | |
8519 | /* | |
8520 | * This table is used by the pointer type-checker | |
8521 | */ | |
8522 | static struct { char *n1; char *n2; void *(*pcnv)(void *); } _swig_mapping[] = { | |
8523 | { "_wxAcceleratorTable","_class_wxAcceleratorTable",0}, | |
8524 | { "_wxEvent","_class_wxStyledTextEvent",SwigwxStyledTextEventTowxEvent}, | |
8525 | { "_wxEvent","_wxStyledTextEvent",SwigwxStyledTextEventTowxEvent}, | |
8526 | { "_wxEvent","_class_wxEvent",0}, | |
8527 | { "_class_wxActivateEvent","_wxActivateEvent",0}, | |
8528 | { "_signed_long","_long",0}, | |
8529 | { "_wxMenuEvent","_class_wxMenuEvent",0}, | |
ea7c631c | 8530 | { "_class_wxProcessEvent","_wxProcessEvent",0}, |
f6bcfd97 | 8531 | { "_class_wxJPEGHandler","_wxJPEGHandler",0}, |
ea7c631c | 8532 | { "_class_wxFSFile","_wxFSFile",0}, |
f6bcfd97 BP |
8533 | { "_wxPyBitmapDataObject","_class_wxPyBitmapDataObject",0}, |
8534 | { "_wxBitmapDataObject","_class_wxBitmapDataObject",0}, | |
8535 | { "_class_wxPyCommandEvent","_wxPyCommandEvent",0}, | |
8536 | { "_wxBMPHandler","_class_wxBMPHandler",0}, | |
8537 | { "_wxImage","_class_wxImage",0}, | |
8538 | { "_wxFlexGridSizer","_class_wxFlexGridSizer",0}, | |
ea7c631c RD |
8539 | { "_wxWindowDisabler","_class_wxWindowDisabler",0}, |
8540 | { "_class_wxDateTime","_wxDateTime",0}, | |
f6bcfd97 BP |
8541 | { "_wxPrintQuality","_wxCoord",0}, |
8542 | { "_wxPrintQuality","_int",0}, | |
8543 | { "_wxPrintQuality","_signed_int",0}, | |
8544 | { "_wxPrintQuality","_unsigned_int",0}, | |
8545 | { "_wxPrintQuality","_wxWindowID",0}, | |
8546 | { "_wxPrintQuality","_uint",0}, | |
8547 | { "_wxPrintQuality","_EBool",0}, | |
8548 | { "_wxPrintQuality","_size_t",0}, | |
fe47ec10 | 8549 | { "_wxPrintQuality","_time_t",0}, |
f6bcfd97 BP |
8550 | { "_class_wxCustomDataObject","_wxCustomDataObject",0}, |
8551 | { "_wxSpinCtrl","_class_wxSpinCtrl",0}, | |
8552 | { "_wxFontData","_class_wxFontData",0}, | |
8553 | { "_class_wxRegionIterator","_wxRegionIterator",0}, | |
8554 | { "_class_wxPyTextDropTarget","_wxPyTextDropTarget",0}, | |
8555 | { "_class_wxMenuBar","_wxMenuBar",0}, | |
8556 | { "_class_wxPyTreeItemData","_wxPyTreeItemData",0}, | |
8557 | { "_class_wxStaticBoxSizer","_wxStaticBoxSizer",0}, | |
8558 | { "_class_wxEvtHandler","_class_wxStyledTextCtrl",SwigwxStyledTextCtrlTowxEvtHandler}, | |
8559 | { "_class_wxEvtHandler","_wxStyledTextCtrl",SwigwxStyledTextCtrlTowxEvtHandler}, | |
8560 | { "_class_wxEvtHandler","_wxEvtHandler",0}, | |
8561 | { "_wxPaintEvent","_class_wxPaintEvent",0}, | |
8562 | { "_wxGIFHandler","_class_wxGIFHandler",0}, | |
8563 | { "_wxPySizer","_class_wxPySizer",0}, | |
ea7c631c | 8564 | { "_wxInternetFSHandler","_class_wxInternetFSHandler",0}, |
f6bcfd97 BP |
8565 | { "_wxIndividualLayoutConstraint","_class_wxIndividualLayoutConstraint",0}, |
8566 | { "_wxCursor","_class_wxCursor",0}, | |
8567 | { "_wxNotifyEvent","_class_wxNotifyEvent",0}, | |
ea7c631c | 8568 | { "_wxPyProcess","_class_wxPyProcess",0}, |
f6bcfd97 BP |
8569 | { "_wxPyTreeCtrl","_class_wxPyTreeCtrl",0}, |
8570 | { "_wxImageHandler","_class_wxImageHandler",0}, | |
8571 | { "_wxLog","_class_wxLog",0}, | |
8572 | { "_class_wxToolBarBase","_wxToolBarBase",0}, | |
8573 | { "_wxMask","_class_wxMask",0}, | |
8574 | { "_wxToolTip","_class_wxToolTip",0}, | |
8575 | { "_wxPNGHandler","_class_wxPNGHandler",0}, | |
8576 | { "_class_wxStyledTextCtrl","_wxStyledTextCtrl",0}, | |
8577 | { "_class_wxColourData","_wxColourData",0}, | |
8578 | { "_class_wxPageSetupDialogData","_wxPageSetupDialogData",0}, | |
8579 | { "_wxPrinter","_class_wxPrinter",0}, | |
8580 | { "_wxPen","_class_wxPen",0}, | |
8581 | { "_wxUpdateUIEvent","_class_wxUpdateUIEvent",0}, | |
8582 | { "_class_wxNotebookSizer","_wxNotebookSizer",0}, | |
8583 | { "_byte","_unsigned_char",0}, | |
8584 | { "_wxDataObject","_class_wxDataObject",0}, | |
8585 | { "_class_wxPyFontEnumerator","_wxPyFontEnumerator",0}, | |
8586 | { "_wxStaticBox","_class_wxStaticBox",0}, | |
8587 | { "_wxPyDataObjectSimple","_class_wxPyDataObjectSimple",0}, | |
8588 | { "_wxPyDropSource","_class_wxPyDropSource",0}, | |
8589 | { "_wxChoice","_class_wxChoice",0}, | |
8590 | { "_wxSlider","_class_wxSlider",0}, | |
8591 | { "_wxNotebookEvent","_class_wxNotebookEvent",0}, | |
8592 | { "_wxPyPrintout","_class_wxPyPrintout",0}, | |
8593 | { "_long","_unsigned_long",0}, | |
8594 | { "_long","_signed_long",0}, | |
8595 | { "_wxImageList","_class_wxImageList",0}, | |
8596 | { "_wxDataObjectSimple","_class_wxDataObjectSimple",0}, | |
8597 | { "_wxDropFilesEvent","_class_wxDropFilesEvent",0}, | |
8598 | { "_wxBitmapButton","_class_wxBitmapButton",0}, | |
8599 | { "_wxSashWindow","_class_wxSashWindow",0}, | |
8600 | { "_class_wxSizer","_wxSizer",0}, | |
8601 | { "_class_wxTIFFHandler","_wxTIFFHandler",0}, | |
8602 | { "_class_wxPrintDialogData","_wxPrintDialogData",0}, | |
8603 | { "_wxGridSizer","_class_wxGridSizer",0}, | |
8604 | { "_class_wxAcceleratorTable","_wxAcceleratorTable",0}, | |
8605 | { "_class_wxClipboard","_wxClipboard",0}, | |
8606 | { "_class_wxGauge","_wxGauge",0}, | |
8607 | { "_class_wxSashEvent","_wxSashEvent",0}, | |
8608 | { "_wxDC","_class_wxDC",0}, | |
8609 | { "_wxSizerItem","_class_wxSizerItem",0}, | |
8610 | { "_class_wxBitmapDataObject","_wxBitmapDataObject",0}, | |
8611 | { "_wxListEvent","_class_wxListEvent",0}, | |
8612 | { "_class_wxSingleChoiceDialog","_wxSingleChoiceDialog",0}, | |
8613 | { "_wxProgressDialog","_class_wxProgressDialog",0}, | |
8614 | { "_class_wxBMPHandler","_wxBMPHandler",0}, | |
8615 | { "_wxPrintPreview","_class_wxPrintPreview",0}, | |
8616 | { "_class_wxFlexGridSizer","_wxFlexGridSizer",0}, | |
8617 | { "_wxSpinEvent","_class_wxSpinEvent",0}, | |
8618 | { "_wxSashLayoutWindow","_class_wxSashLayoutWindow",0}, | |
8619 | { "_size_t","_wxCoord",0}, | |
8620 | { "_size_t","_wxPrintQuality",0}, | |
fe47ec10 | 8621 | { "_size_t","_time_t",0}, |
f6bcfd97 BP |
8622 | { "_size_t","_unsigned_int",0}, |
8623 | { "_size_t","_int",0}, | |
8624 | { "_size_t","_wxWindowID",0}, | |
8625 | { "_size_t","_uint",0}, | |
8626 | { "_class_wxRealPoint","_wxRealPoint",0}, | |
8627 | { "_wxNavigationKeyEvent","_class_wxNavigationKeyEvent",0}, | |
8628 | { "_wxPNMHandler","_class_wxPNMHandler",0}, | |
8629 | { "_wxWindowCreateEvent","_class_wxWindowCreateEvent",0}, | |
8630 | { "_wxLogGui","_class_wxLogGui",0}, | |
8631 | { "_class_wxMenuItem","_wxMenuItem",0}, | |
8632 | { "_class_wxPaintEvent","_wxPaintEvent",0}, | |
8633 | { "_wxSysColourChangedEvent","_class_wxSysColourChangedEvent",0}, | |
8634 | { "_class_wxStatusBar","_wxStatusBar",0}, | |
8635 | { "_class_wxGIFHandler","_wxGIFHandler",0}, | |
8636 | { "_class_wxPySizer","_wxPySizer",0}, | |
3a70a282 | 8637 | { "_class_wxPostScriptDC","_wxPostScriptDC",0}, |
f6bcfd97 BP |
8638 | { "_wxPanel","_class_wxPanel",0}, |
8639 | { "_wxInitDialogEvent","_class_wxInitDialogEvent",0}, | |
8640 | { "_wxCheckBox","_class_wxCheckBox",0}, | |
8641 | { "_class_wxPyTreeCtrl","_wxPyTreeCtrl",0}, | |
8642 | { "_wxPyEvent","_class_wxPyEvent",0}, | |
8643 | { "_wxTextCtrl","_class_wxTextCtrl",0}, | |
8644 | { "_class_wxMask","_wxMask",0}, | |
8645 | { "_wxTextDataObject","_class_wxTextDataObject",0}, | |
8646 | { "_class_wxKeyEvent","_wxKeyEvent",0}, | |
8647 | { "_class_wxToolTip","_wxToolTip",0}, | |
8648 | { "_class_wxPNGHandler","_wxPNGHandler",0}, | |
ea7c631c | 8649 | { "_wxFileConfig","_class_wxFileConfig",0}, |
f6bcfd97 BP |
8650 | { "_wxColour","_class_wxColour",0}, |
8651 | { "_class_wxDialog","_wxDialog",0}, | |
8652 | { "_wxBusyCursor","_class_wxBusyCursor",0}, | |
8653 | { "_wxPageSetupDialog","_class_wxPageSetupDialog",0}, | |
8654 | { "_class_wxPrinter","_wxPrinter",0}, | |
8655 | { "_class_wxFileDataObject","_wxFileDataObject",0}, | |
8656 | { "_wxIdleEvent","_class_wxIdleEvent",0}, | |
8657 | { "_class_wxUpdateUIEvent","_wxUpdateUIEvent",0}, | |
8658 | { "_wxToolBar","_class_wxToolBar",0}, | |
8659 | { "_class_wxDataObject","_wxDataObject",0}, | |
8660 | { "_wxCaret","_class_wxCaret",0}, | |
8661 | { "_wxStaticLine","_class_wxStaticLine",0}, | |
8662 | { "_class_wxLayoutAlgorithm","_wxLayoutAlgorithm",0}, | |
8663 | { "_wxBrush","_class_wxBrush",0}, | |
8664 | { "_wxMiniFrame","_class_wxMiniFrame",0}, | |
8665 | { "_class_wxNotebookEvent","_wxNotebookEvent",0}, | |
8666 | { "_class_wxPyPrintout","_wxPyPrintout",0}, | |
8667 | { "_wxDataFormat","_class_wxDataFormat",0}, | |
8668 | { "_class_wxDataObjectSimple","_wxDataObjectSimple",0}, | |
8669 | { "_class_wxSashWindow","_wxSashWindow",0}, | |
8670 | { "_wxShowEvent","_class_wxShowEvent",0}, | |
8671 | { "_uint","_wxCoord",0}, | |
8672 | { "_uint","_wxPrintQuality",0}, | |
fe47ec10 | 8673 | { "_uint","_time_t",0}, |
f6bcfd97 BP |
8674 | { "_uint","_size_t",0}, |
8675 | { "_uint","_unsigned_int",0}, | |
8676 | { "_uint","_int",0}, | |
8677 | { "_uint","_wxWindowID",0}, | |
8678 | { "_wxChar","_char",0}, | |
8679 | { "_wxPyValidator","_class_wxPyValidator",0}, | |
8680 | { "_class_wxEvent","_class_wxStyledTextEvent",SwigwxStyledTextEventTowxEvent}, | |
8681 | { "_class_wxEvent","_wxStyledTextEvent",SwigwxStyledTextEventTowxEvent}, | |
8682 | { "_class_wxEvent","_wxEvent",0}, | |
8683 | { "_wxCheckListBox","_class_wxCheckListBox",0}, | |
8684 | { "_wxSplitterEvent","_class_wxSplitterEvent",0}, | |
8685 | { "_wxRect","_class_wxRect",0}, | |
8686 | { "_wxCommandEvent","_class_wxStyledTextEvent",SwigwxStyledTextEventTowxCommandEvent}, | |
8687 | { "_wxCommandEvent","_wxStyledTextEvent",SwigwxStyledTextEventTowxCommandEvent}, | |
8688 | { "_wxCommandEvent","_class_wxCommandEvent",0}, | |
8689 | { "_wxSizeEvent","_class_wxSizeEvent",0}, | |
8690 | { "_class_wxLogWindow","_wxLogWindow",0}, | |
8691 | { "_class_wxImage","_wxImage",0}, | |
8692 | { "_wxPoint","_class_wxPoint",0}, | |
ea7c631c | 8693 | { "_class_wxWindowDisabler","_wxWindowDisabler",0}, |
f6bcfd97 BP |
8694 | { "_class_wxSashLayoutWindow","_wxSashLayoutWindow",0}, |
8695 | { "_class_wxButton","_wxButton",0}, | |
8696 | { "_wxRadioBox","_class_wxRadioBox",0}, | |
8697 | { "_class_wxSpinCtrl","_wxSpinCtrl",0}, | |
8698 | { "_class_wxFontData","_wxFontData",0}, | |
8699 | { "_class_wxPNMHandler","_wxPNMHandler",0}, | |
8700 | { "_wxBoxSizer","_class_wxBoxSizer",0}, | |
ea7c631c | 8701 | { "_class_wxZipFSHandler","_wxZipFSHandler",0}, |
f6bcfd97 BP |
8702 | { "_char","_wxChar",0}, |
8703 | { "_wxBitmap","_class_wxBitmap",0}, | |
8704 | { "_wxPrintDialog","_class_wxPrintDialog",0}, | |
8705 | { "_wxWindowDC","_class_wxWindowDC",0}, | |
8706 | { "_wxTimerEvent","_class_wxTimerEvent",0}, | |
8707 | { "_wxPyTimer","_class_wxPyTimer",0}, | |
8708 | { "_wxScrollBar","_class_wxScrollBar",0}, | |
8709 | { "_wxSpinButton","_class_wxSpinButton",0}, | |
8710 | { "_wxColourDialog","_class_wxColourDialog",0}, | |
8711 | { "_wxPrintData","_class_wxPrintData",0}, | |
ea7c631c | 8712 | { "_class_wxInternetFSHandler","_wxInternetFSHandler",0}, |
f6bcfd97 BP |
8713 | { "_class_wxIndividualLayoutConstraint","_wxIndividualLayoutConstraint",0}, |
8714 | { "_class_wxNotifyEvent","_wxNotifyEvent",0}, | |
8715 | { "_wxMessageDialog","_class_wxMessageDialog",0}, | |
8716 | { "_class_wxValidator","_wxValidator",0}, | |
8717 | { "_class_wxPyEvent","_wxPyEvent",0}, | |
8718 | { "_wxTextEntryDialog","_class_wxTextEntryDialog",0}, | |
ea7c631c | 8719 | { "_wxConfig","_class_wxConfig",0}, |
f6bcfd97 BP |
8720 | { "_class_wxIconizeEvent","_wxIconizeEvent",0}, |
8721 | { "_class_wxStaticBitmap","_wxStaticBitmap",0}, | |
ea7c631c | 8722 | { "_class_wxFileConfig","_wxFileConfig",0}, |
f6bcfd97 BP |
8723 | { "_class_wxBusyCursor","_wxBusyCursor",0}, |
8724 | { "_wxToolBarSimple","_class_wxToolBarSimple",0}, | |
8725 | { "_wxMDIChildFrame","_class_wxMDIChildFrame",0}, | |
8726 | { "_wxListItem","_class_wxListItem",0}, | |
8727 | { "_class_wxToolBar","_wxToolBar",0}, | |
8728 | { "_wxDropTarget","_class_wxDropTarget",0}, | |
8729 | { "_class_wxStaticLine","_wxStaticLine",0}, | |
8730 | { "_wxScrollEvent","_class_wxScrollEvent",0}, | |
8731 | { "_wxToolBarToolBase","_class_wxToolBarToolBase",0}, | |
8732 | { "_wxCalculateLayoutEvent","_class_wxCalculateLayoutEvent",0}, | |
ea7c631c | 8733 | { "_class_wxMemoryFSHandler","_wxMemoryFSHandler",0}, |
f6bcfd97 BP |
8734 | { "_EBool","_wxCoord",0}, |
8735 | { "_EBool","_wxPrintQuality",0}, | |
8736 | { "_EBool","_signed_int",0}, | |
8737 | { "_EBool","_int",0}, | |
8738 | { "_EBool","_wxWindowID",0}, | |
8739 | { "_class_wxRegion","_wxRegion",0}, | |
8740 | { "_class_wxDataFormat","_wxDataFormat",0}, | |
8741 | { "_class_wxDropFilesEvent","_wxDropFilesEvent",0}, | |
8742 | { "_wxWindowDestroyEvent","_class_wxWindowDestroyEvent",0}, | |
8743 | { "_class_wxPreviewFrame","_wxPreviewFrame",0}, | |
8744 | { "_wxStaticText","_class_wxStaticText",0}, | |
8745 | { "_wxFont","_class_wxFont",0}, | |
8746 | { "_class_wxPyDropTarget","_wxPyDropTarget",0}, | |
8747 | { "_wxCloseEvent","_class_wxCloseEvent",0}, | |
8748 | { "_class_wxSplitterEvent","_wxSplitterEvent",0}, | |
ea7c631c | 8749 | { "_wxProcessEvent","_class_wxProcessEvent",0}, |
f6bcfd97 | 8750 | { "_wxNotebook","_class_wxNotebook",0}, |
ea7c631c | 8751 | { "_wxFSFile","_class_wxFSFile",0}, |
f6bcfd97 BP |
8752 | { "_unsigned_long","_long",0}, |
8753 | { "_class_wxRect","_wxRect",0}, | |
8754 | { "_class_wxDC","_wxDC",0}, | |
8755 | { "_wxScrollWinEvent","_class_wxScrollWinEvent",0}, | |
8756 | { "_wxGenericDragImage","_class_wxGenericDragImage",0}, | |
8757 | { "_class_wxProgressDialog","_wxProgressDialog",0}, | |
8758 | { "_wxQueryNewPaletteEvent","_class_wxQueryNewPaletteEvent",0}, | |
ea7c631c | 8759 | { "_wxPyInputStream","_class_wxPyInputStream",0}, |
f6bcfd97 BP |
8760 | { "_wxPyApp","_class_wxPyApp",0}, |
8761 | { "_class_wxWindowCreateEvent","_wxWindowCreateEvent",0}, | |
ea7c631c | 8762 | { "_class_wxOutputStream","_wxOutputStream",0}, |
f6bcfd97 BP |
8763 | { "_wxLogTextCtrl","_class_wxLogTextCtrl",0}, |
8764 | { "_wxMDIParentFrame","_class_wxMDIParentFrame",0}, | |
8765 | { "_class_wxTreeEvent","_wxTreeEvent",0}, | |
8766 | { "_class_wxDirDialog","_wxDirDialog",0}, | |
ea7c631c | 8767 | { "_wxTimeSpan","_class_wxTimeSpan",0}, |
f6bcfd97 BP |
8768 | { "_wxFocusEvent","_class_wxFocusEvent",0}, |
8769 | { "_wxMaximizeEvent","_class_wxMaximizeEvent",0}, | |
8770 | { "_class_wxTimerEvent","_wxTimerEvent",0}, | |
8771 | { "_class_wxPyTimer","_wxPyTimer",0}, | |
8772 | { "_class_wxSpinButton","_wxSpinButton",0}, | |
8773 | { "_wxAcceleratorEntry","_class_wxAcceleratorEntry",0}, | |
8774 | { "_class_wxPanel","_wxPanel",0}, | |
8775 | { "_class_wxCheckBox","_wxCheckBox",0}, | |
8776 | { "_wxComboBox","_class_wxComboBox",0}, | |
8777 | { "_wxRadioButton","_class_wxRadioButton",0}, | |
8778 | { "_class_wxMessageDialog","_wxMessageDialog",0}, | |
8779 | { "_signed_int","_wxCoord",0}, | |
8780 | { "_signed_int","_wxPrintQuality",0}, | |
8781 | { "_signed_int","_EBool",0}, | |
8782 | { "_signed_int","_wxWindowID",0}, | |
8783 | { "_signed_int","_int",0}, | |
8784 | { "_class_wxTextCtrl","_wxTextCtrl",0}, | |
8785 | { "_class_wxListItemAttr","_wxListItemAttr",0}, | |
8786 | { "_wxLayoutConstraints","_class_wxLayoutConstraints",0}, | |
8787 | { "_class_wxTextDataObject","_wxTextDataObject",0}, | |
8788 | { "_wxMenu","_class_wxMenu",0}, | |
8789 | { "_class_wxMoveEvent","_wxMoveEvent",0}, | |
8790 | { "_wxListBox","_class_wxListBox",0}, | |
8791 | { "_wxScreenDC","_class_wxScreenDC",0}, | |
8792 | { "_class_wxToolBarSimple","_wxToolBarSimple",0}, | |
8793 | { "_class_wxMDIChildFrame","_wxMDIChildFrame",0}, | |
ea7c631c | 8794 | { "_WXTYPE","_wxDateTime_t",0}, |
f6bcfd97 BP |
8795 | { "_WXTYPE","_short",0}, |
8796 | { "_WXTYPE","_signed_short",0}, | |
8797 | { "_WXTYPE","_unsigned_short",0}, | |
8798 | { "_wxFileDialog","_class_wxFileDialog",0}, | |
8799 | { "_class_wxDropTarget","_wxDropTarget",0}, | |
8800 | { "_class_wxCaret","_wxCaret",0}, | |
8801 | { "_class_wxMDIClientWindow","_wxMDIClientWindow",0}, | |
8802 | { "_class_wxBrush","_wxBrush",0}, | |
8803 | { "_wxTipProvider","_class_wxTipProvider",0}, | |
ea7c631c | 8804 | { "_unsigned_short","_wxDateTime_t",0}, |
f6bcfd97 BP |
8805 | { "_unsigned_short","_WXTYPE",0}, |
8806 | { "_unsigned_short","_short",0}, | |
8807 | { "_class_wxWindow","_class_wxStyledTextCtrl",SwigwxStyledTextCtrlTowxWindow}, | |
8808 | { "_class_wxWindow","_wxStyledTextCtrl",SwigwxStyledTextCtrlTowxWindow}, | |
8809 | { "_class_wxWindow","_wxWindow",0}, | |
8810 | { "_class_wxLogStderr","_wxLogStderr",0}, | |
8811 | { "_wxSplitterWindow","_class_wxSplitterWindow",0}, | |
ea7c631c | 8812 | { "_wxDateSpan","_class_wxDateSpan",0}, |
f6bcfd97 BP |
8813 | { "_class_wxStyledTextEvent","_wxStyledTextEvent",0}, |
8814 | { "_class_wxStaticText","_wxStaticText",0}, | |
8815 | { "_wxPrintDialogData","_class_wxPrintDialogData",0}, | |
8816 | { "_class_wxFont","_wxFont",0}, | |
8817 | { "_wxClipboard","_class_wxClipboard",0}, | |
8818 | { "_class_wxPyValidator","_wxPyValidator",0}, | |
8819 | { "_class_wxCloseEvent","_wxCloseEvent",0}, | |
8820 | { "_wxSashEvent","_class_wxSashEvent",0}, | |
8821 | { "_wxBusyInfo","_class_wxBusyInfo",0}, | |
8822 | { "_class_wxMenuEvent","_wxMenuEvent",0}, | |
8823 | { "_wxPaletteChangedEvent","_class_wxPaletteChangedEvent",0}, | |
8824 | { "_class_wxPyBitmapDataObject","_wxPyBitmapDataObject",0}, | |
8825 | { "_wxClientDC","_class_wxClientDC",0}, | |
8826 | { "_wxMouseEvent","_class_wxMouseEvent",0}, | |
8827 | { "_class_wxGenericDragImage","_wxGenericDragImage",0}, | |
8828 | { "_wxListCtrl","_class_wxListCtrl",0}, | |
8829 | { "_wxSingleChoiceDialog","_class_wxSingleChoiceDialog",0}, | |
8830 | { "_class_wxPoint","_wxPoint",0}, | |
ea7c631c | 8831 | { "_class_wxPyInputStream","_wxPyInputStream",0}, |
f6bcfd97 BP |
8832 | { "_wxRealPoint","_class_wxRealPoint",0}, |
8833 | { "_class_wxRadioBox","_wxRadioBox",0}, | |
8834 | { "_class_wxBoxSizer","_wxBoxSizer",0}, | |
8835 | { "_signed_short","_WXTYPE",0}, | |
8836 | { "_signed_short","_short",0}, | |
8837 | { "_wxMemoryDC","_class_wxMemoryDC",0}, | |
8838 | { "_wxPyTextDataObject","_class_wxPyTextDataObject",0}, | |
8839 | { "_class_wxPrintDialog","_wxPrintDialog",0}, | |
ea7c631c | 8840 | { "_wxPyFileSystemHandler","_class_wxPyFileSystemHandler",0}, |
f6bcfd97 BP |
8841 | { "_wxPaintDC","_class_wxPaintDC",0}, |
8842 | { "_class_wxWindowDC","_wxWindowDC",0}, | |
8843 | { "_class_wxFocusEvent","_wxFocusEvent",0}, | |
8844 | { "_class_wxMaximizeEvent","_wxMaximizeEvent",0}, | |
8845 | { "_wxStatusBar","_class_wxStatusBar",0}, | |
8846 | { "_class_wxAcceleratorEntry","_wxAcceleratorEntry",0}, | |
8847 | { "_class_wxCursor","_wxCursor",0}, | |
3a70a282 | 8848 | { "_wxPostScriptDC","_class_wxPostScriptDC",0}, |
f6bcfd97 | 8849 | { "_wxPyFileDropTarget","_class_wxPyFileDropTarget",0}, |
ea7c631c | 8850 | { "_class_wxPyProcess","_wxPyProcess",0}, |
f6bcfd97 BP |
8851 | { "_class_wxImageHandler","_wxImageHandler",0}, |
8852 | { "_wxScrolledWindow","_class_wxScrolledWindow",0}, | |
8853 | { "_class_wxLog","_wxLog",0}, | |
8854 | { "_wxTreeItemId","_class_wxTreeItemId",0}, | |
8855 | { "_unsigned_char","_byte",0}, | |
8856 | { "_class_wxMenu","_wxMenu",0}, | |
8857 | { "_wxControl","_class_wxStyledTextCtrl",SwigwxStyledTextCtrlTowxControl}, | |
8858 | { "_wxControl","_wxStyledTextCtrl",SwigwxStyledTextCtrlTowxControl}, | |
8859 | { "_wxControl","_class_wxControl",0}, | |
8860 | { "_class_wxListBox","_wxListBox",0}, | |
8861 | { "_unsigned_int","_wxCoord",0}, | |
8862 | { "_unsigned_int","_wxPrintQuality",0}, | |
fe47ec10 | 8863 | { "_unsigned_int","_time_t",0}, |
f6bcfd97 BP |
8864 | { "_unsigned_int","_size_t",0}, |
8865 | { "_unsigned_int","_uint",0}, | |
8866 | { "_unsigned_int","_wxWindowID",0}, | |
8867 | { "_unsigned_int","_int",0}, | |
8868 | { "_wxIcon","_class_wxIcon",0}, | |
8869 | { "_wxDialog","_class_wxDialog",0}, | |
8870 | { "_class_wxListItem","_wxListItem",0}, | |
8871 | { "_class_wxPen","_wxPen",0}, | |
8872 | { "_class_wxFileDialog","_wxFileDialog",0}, | |
8873 | { "_wxQueryLayoutInfoEvent","_class_wxQueryLayoutInfoEvent",0}, | |
ea7c631c RD |
8874 | { "_wxConfigBase","_class_wxConfigBase",0}, |
8875 | { "_short","_wxDateTime_t",0}, | |
f6bcfd97 BP |
8876 | { "_short","_WXTYPE",0}, |
8877 | { "_short","_unsigned_short",0}, | |
8878 | { "_short","_signed_short",0}, | |
8879 | { "_class_wxStaticBox","_wxStaticBox",0}, | |
8880 | { "_wxLayoutAlgorithm","_class_wxLayoutAlgorithm",0}, | |
8881 | { "_class_wxPyDataObjectSimple","_wxPyDataObjectSimple",0}, | |
8882 | { "_class_wxPyDropSource","_wxPyDropSource",0}, | |
8883 | { "_class_wxScrollEvent","_wxScrollEvent",0}, | |
8884 | { "_wxJoystickEvent","_class_wxJoystickEvent",0}, | |
8885 | { "_class_wxChoice","_wxChoice",0}, | |
8886 | { "_class_wxSlider","_wxSlider",0}, | |
8887 | { "_class_wxCalculateLayoutEvent","_wxCalculateLayoutEvent",0}, | |
8888 | { "_class_wxImageList","_wxImageList",0}, | |
8889 | { "_class_wxBitmapButton","_wxBitmapButton",0}, | |
ea7c631c | 8890 | { "_wxFileSystemHandler","_class_wxFileSystemHandler",0}, |
f6bcfd97 BP |
8891 | { "_wxPyTipProvider","_class_wxPyTipProvider",0}, |
8892 | { "_wxFrame","_class_wxFrame",0}, | |
8893 | { "_wxPCXHandler","_class_wxPCXHandler",0}, | |
8894 | { "_class_wxGridSizer","_wxGridSizer",0}, | |
8895 | { "_class_wxPaletteChangedEvent","_wxPaletteChangedEvent",0}, | |
8896 | { "_class_wxNotebook","_wxNotebook",0}, | |
8897 | { "_wxJPEGHandler","_class_wxJPEGHandler",0}, | |
8898 | { "_wxWindowID","_wxCoord",0}, | |
8899 | { "_wxWindowID","_wxPrintQuality",0}, | |
fe47ec10 | 8900 | { "_wxWindowID","_time_t",0}, |
f6bcfd97 BP |
8901 | { "_wxWindowID","_size_t",0}, |
8902 | { "_wxWindowID","_EBool",0}, | |
8903 | { "_wxWindowID","_uint",0}, | |
8904 | { "_wxWindowID","_int",0}, | |
8905 | { "_wxWindowID","_signed_int",0}, | |
8906 | { "_wxWindowID","_unsigned_int",0}, | |
8907 | { "_class_wxScrollWinEvent","_wxScrollWinEvent",0}, | |
8908 | { "_class_wxSizerItem","_wxSizerItem",0}, | |
8909 | { "_int","_wxCoord",0}, | |
8910 | { "_int","_wxPrintQuality",0}, | |
fe47ec10 | 8911 | { "_int","_time_t",0}, |
f6bcfd97 BP |
8912 | { "_int","_size_t",0}, |
8913 | { "_int","_EBool",0}, | |
8914 | { "_int","_uint",0}, | |
8915 | { "_int","_wxWindowID",0}, | |
8916 | { "_int","_unsigned_int",0}, | |
8917 | { "_int","_signed_int",0}, | |
8918 | { "_class_wxMouseEvent","_wxMouseEvent",0}, | |
8919 | { "_wxPyCommandEvent","_class_wxPyCommandEvent",0}, | |
8920 | { "_wxLogWindow","_class_wxLogWindow",0}, | |
8921 | { "_class_wxListEvent","_wxListEvent",0}, | |
8922 | { "_class_wxPrintPreview","_wxPrintPreview",0}, | |
ea7c631c RD |
8923 | { "_wxDateTime_t","_unsigned_short",0}, |
8924 | { "_wxDateTime_t","_short",0}, | |
8925 | { "_wxDateTime_t","_WXTYPE",0}, | |
f6bcfd97 BP |
8926 | { "_class_wxSpinEvent","_wxSpinEvent",0}, |
8927 | { "_class_wxQueryNewPaletteEvent","_wxQueryNewPaletteEvent",0}, | |
ea7c631c | 8928 | { "_wxDateTime","_class_wxDateTime",0}, |
fe47ec10 RD |
8929 | { "_time_t","_wxCoord",0}, |
8930 | { "_time_t","_wxPrintQuality",0}, | |
8931 | { "_time_t","_unsigned_int",0}, | |
8932 | { "_time_t","_int",0}, | |
8933 | { "_time_t","_wxWindowID",0}, | |
8934 | { "_time_t","_uint",0}, | |
8935 | { "_time_t","_size_t",0}, | |
f6bcfd97 BP |
8936 | { "_class_wxNavigationKeyEvent","_wxNavigationKeyEvent",0}, |
8937 | { "_wxLogNull","_class_wxLogNull",0}, | |
8938 | { "_wxButton","_class_wxButton",0}, | |
ea7c631c | 8939 | { "_wxZipFSHandler","_class_wxZipFSHandler",0}, |
f6bcfd97 BP |
8940 | { "_class_wxPyApp","_wxPyApp",0}, |
8941 | { "_wxSize","_class_wxSize",0}, | |
8942 | { "_wxRegionIterator","_class_wxRegionIterator",0}, | |
8943 | { "_class_wxPyTextDataObject","_wxPyTextDataObject",0}, | |
8944 | { "_class_wxLogTextCtrl","_wxLogTextCtrl",0}, | |
8945 | { "_class_wxLogGui","_wxLogGui",0}, | |
8946 | { "_class_wxMDIParentFrame","_wxMDIParentFrame",0}, | |
8947 | { "_wxPyTreeItemData","_class_wxPyTreeItemData",0}, | |
8948 | { "_wxStaticBoxSizer","_class_wxStaticBoxSizer",0}, | |
ea7c631c RD |
8949 | { "_class_wxTimeSpan","_wxTimeSpan",0}, |
8950 | { "_class_wxPyFileSystemHandler","_wxPyFileSystemHandler",0}, | |
f6bcfd97 BP |
8951 | { "_class_wxPaintDC","_wxPaintDC",0}, |
8952 | { "_class_wxSysColourChangedEvent","_wxSysColourChangedEvent",0}, | |
8953 | { "_class_wxPyFileDropTarget","_wxPyFileDropTarget",0}, | |
8954 | { "_class_wxInitDialogEvent","_wxInitDialogEvent",0}, | |
8955 | { "_class_wxComboBox","_wxComboBox",0}, | |
8956 | { "_class_wxRadioButton","_wxRadioButton",0}, | |
8957 | { "_wxValidator","_class_wxValidator",0}, | |
8958 | { "_wxToolBarBase","_class_wxToolBarBase",0}, | |
8959 | { "_class_wxTreeItemId","_wxTreeItemId",0}, | |
8960 | { "_class_wxLayoutConstraints","_wxLayoutConstraints",0}, | |
8961 | { "_wxIconizeEvent","_class_wxIconizeEvent",0}, | |
8962 | { "_class_wxControl","_class_wxStyledTextCtrl",SwigwxStyledTextCtrlTowxControl}, | |
8963 | { "_class_wxControl","_wxStyledTextCtrl",SwigwxStyledTextCtrlTowxControl}, | |
8964 | { "_class_wxControl","_wxControl",0}, | |
8965 | { "_wxStaticBitmap","_class_wxStaticBitmap",0}, | |
8966 | { "_wxStyledTextCtrl","_class_wxStyledTextCtrl",0}, | |
8967 | { "_class_wxIcon","_wxIcon",0}, | |
8968 | { "_class_wxColour","_wxColour",0}, | |
8969 | { "_class_wxScreenDC","_wxScreenDC",0}, | |
8970 | { "_class_wxPageSetupDialog","_wxPageSetupDialog",0}, | |
8971 | { "_wxPalette","_class_wxPalette",0}, | |
8972 | { "_class_wxIdleEvent","_wxIdleEvent",0}, | |
ea7c631c | 8973 | { "_class_wxConfigBase","_wxConfigBase",0}, |
f6bcfd97 BP |
8974 | { "_wxCoord","_int",0}, |
8975 | { "_wxCoord","_signed_int",0}, | |
8976 | { "_wxCoord","_unsigned_int",0}, | |
8977 | { "_wxCoord","_wxWindowID",0}, | |
8978 | { "_wxCoord","_uint",0}, | |
8979 | { "_wxCoord","_EBool",0}, | |
8980 | { "_wxCoord","_size_t",0}, | |
fe47ec10 | 8981 | { "_wxCoord","_time_t",0}, |
f6bcfd97 BP |
8982 | { "_wxCoord","_wxPrintQuality",0}, |
8983 | { "_wxEraseEvent","_class_wxEraseEvent",0}, | |
8984 | { "_wxDataObjectComposite","_class_wxDataObjectComposite",0}, | |
8985 | { "_class_wxJoystickEvent","_wxJoystickEvent",0}, | |
8986 | { "_class_wxTipProvider","_wxTipProvider",0}, | |
8987 | { "_class_wxMiniFrame","_wxMiniFrame",0}, | |
8988 | { "_wxFontDialog","_class_wxFontDialog",0}, | |
ea7c631c | 8989 | { "_wxMemoryFSHandler","_class_wxMemoryFSHandler",0}, |
f6bcfd97 BP |
8990 | { "_wxRegion","_class_wxRegion",0}, |
8991 | { "_class_wxSplitterWindow","_wxSplitterWindow",0}, | |
8992 | { "_wxPreviewFrame","_class_wxPreviewFrame",0}, | |
8993 | { "_wxSizer","_class_wxSizer",0}, | |
ea7c631c RD |
8994 | { "_class_wxDateSpan","_wxDateSpan",0}, |
8995 | { "_wxFileSystem","_class_wxFileSystem",0}, | |
f6bcfd97 BP |
8996 | { "_class_wxShowEvent","_wxShowEvent",0}, |
8997 | { "_class_wxPyTipProvider","_wxPyTipProvider",0}, | |
8998 | { "_class_wxPCXHandler","_wxPCXHandler",0}, | |
8999 | { "_wxTIFFHandler","_class_wxTIFFHandler",0}, | |
9000 | { "_wxPyDropTarget","_class_wxPyDropTarget",0}, | |
9001 | { "_wxActivateEvent","_class_wxActivateEvent",0}, | |
9002 | { "_wxGauge","_class_wxGauge",0}, | |
9003 | { "_class_wxCheckListBox","_wxCheckListBox",0}, | |
9004 | { "_class_wxBusyInfo","_wxBusyInfo",0}, | |
9005 | { "_class_wxCommandEvent","_class_wxStyledTextEvent",SwigwxStyledTextEventTowxCommandEvent}, | |
9006 | { "_class_wxCommandEvent","_wxStyledTextEvent",SwigwxStyledTextEventTowxCommandEvent}, | |
9007 | { "_class_wxCommandEvent","_wxCommandEvent",0}, | |
9008 | { "_class_wxClientDC","_wxClientDC",0}, | |
9009 | { "_class_wxSizeEvent","_wxSizeEvent",0}, | |
9010 | { "_class_wxListCtrl","_wxListCtrl",0}, | |
9011 | { "_wxCustomDataObject","_class_wxCustomDataObject",0}, | |
9012 | { "_class_wxLogNull","_wxLogNull",0}, | |
9013 | { "_class_wxSize","_wxSize",0}, | |
9014 | { "_class_wxBitmap","_wxBitmap",0}, | |
9015 | { "_class_wxMemoryDC","_wxMemoryDC",0}, | |
9016 | { "_wxPyTextDropTarget","_class_wxPyTextDropTarget",0}, | |
9017 | { "_wxMenuBar","_class_wxMenuBar",0}, | |
ea7c631c | 9018 | { "_wxOutputStream","_class_wxOutputStream",0}, |
f6bcfd97 BP |
9019 | { "_wxTreeEvent","_class_wxTreeEvent",0}, |
9020 | { "_wxDirDialog","_class_wxDirDialog",0}, | |
9021 | { "_wxEvtHandler","_class_wxStyledTextCtrl",SwigwxStyledTextCtrlTowxEvtHandler}, | |
9022 | { "_wxEvtHandler","_wxStyledTextCtrl",SwigwxStyledTextCtrlTowxEvtHandler}, | |
9023 | { "_wxEvtHandler","_class_wxEvtHandler",0}, | |
9024 | { "_wxMenuItem","_class_wxMenuItem",0}, | |
9025 | { "_class_wxScrollBar","_wxScrollBar",0}, | |
9026 | { "_class_wxColourDialog","_wxColourDialog",0}, | |
9027 | { "_class_wxPrintData","_wxPrintData",0}, | |
9028 | { "_class_wxScrolledWindow","_wxScrolledWindow",0}, | |
9029 | { "_wxListItemAttr","_class_wxListItemAttr",0}, | |
9030 | { "_class_wxTextEntryDialog","_wxTextEntryDialog",0}, | |
ea7c631c | 9031 | { "_class_wxConfig","_wxConfig",0}, |
f6bcfd97 BP |
9032 | { "_wxKeyEvent","_class_wxKeyEvent",0}, |
9033 | { "_wxMoveEvent","_class_wxMoveEvent",0}, | |
9034 | { "_wxColourData","_class_wxColourData",0}, | |
9035 | { "_wxPageSetupDialogData","_class_wxPageSetupDialogData",0}, | |
9036 | { "_class_wxPalette","_wxPalette",0}, | |
9037 | { "_wxFileDataObject","_class_wxFileDataObject",0}, | |
9038 | { "_class_wxQueryLayoutInfoEvent","_wxQueryLayoutInfoEvent",0}, | |
9039 | { "_wxNotebookSizer","_class_wxNotebookSizer",0}, | |
9040 | { "_class_wxEraseEvent","_wxEraseEvent",0}, | |
9041 | { "_wxPyFontEnumerator","_class_wxPyFontEnumerator",0}, | |
9042 | { "_wxMDIClientWindow","_class_wxMDIClientWindow",0}, | |
9043 | { "_class_wxDataObjectComposite","_wxDataObjectComposite",0}, | |
9044 | { "_class_wxToolBarToolBase","_wxToolBarToolBase",0}, | |
9045 | { "_class_wxFontDialog","_wxFontDialog",0}, | |
9046 | { "_wxWindow","_class_wxStyledTextCtrl",SwigwxStyledTextCtrlTowxWindow}, | |
9047 | { "_wxWindow","_wxStyledTextCtrl",SwigwxStyledTextCtrlTowxWindow}, | |
9048 | { "_wxWindow","_class_wxWindow",0}, | |
9049 | { "_class_wxWindowDestroyEvent","_wxWindowDestroyEvent",0}, | |
9050 | { "_wxLogStderr","_class_wxLogStderr",0}, | |
ea7c631c RD |
9051 | { "_class_wxFileSystemHandler","_wxFileSystemHandler",0}, |
9052 | { "_class_wxFileSystem","_wxFileSystem",0}, | |
f6bcfd97 BP |
9053 | { "_wxStyledTextEvent","_class_wxStyledTextEvent",0}, |
9054 | { "_class_wxFrame","_wxFrame",0}, | |
9055 | {0,0,0}}; | |
9056 | ||
9057 | static PyObject *SWIG_globals; | |
9058 | #ifdef __cplusplus | |
9059 | extern "C" | |
9060 | #endif | |
9061 | SWIGEXPORT(void) initstc_c() { | |
9062 | PyObject *m, *d; | |
9063 | SWIG_globals = SWIG_newvarlink(); | |
9064 | m = Py_InitModule("stc_c", stc_cMethods); | |
9065 | d = PyModule_GetDict(m); | |
fe47ec10 RD |
9066 | PyDict_SetItemString(d,"wxSTC_INVALID_POSITION", PyInt_FromLong((long) -1)); |
9067 | PyDict_SetItemString(d,"wxSTC_START", PyInt_FromLong((long) 2000)); | |
9068 | PyDict_SetItemString(d,"wxSTC_OPTIONAL_START", PyInt_FromLong((long) 3000)); | |
9069 | PyDict_SetItemString(d,"wxSTC_LEXER_START", PyInt_FromLong((long) 4000)); | |
9070 | PyDict_SetItemString(d,"wxSTC_CMD_REDO", PyInt_FromLong((long) 2011)); | |
9071 | PyDict_SetItemString(d,"wxSTC_CMD_SELECTALL", PyInt_FromLong((long) 2013)); | |
9072 | PyDict_SetItemString(d,"wxSTC_WS_INVISIBLE", PyInt_FromLong((long) 0)); | |
9073 | PyDict_SetItemString(d,"wxSTC_WS_VISIBLEALWAYS", PyInt_FromLong((long) 1)); | |
9074 | PyDict_SetItemString(d,"wxSTC_WS_VISIBLEAFTERINDENT", PyInt_FromLong((long) 2)); | |
9075 | PyDict_SetItemString(d,"wxSTC_EOL_CRLF", PyInt_FromLong((long) 0)); | |
9076 | PyDict_SetItemString(d,"wxSTC_EOL_CR", PyInt_FromLong((long) 1)); | |
9077 | PyDict_SetItemString(d,"wxSTC_EOL_LF", PyInt_FromLong((long) 2)); | |
9078 | PyDict_SetItemString(d,"wxSTC_CP_UTF8", PyInt_FromLong((long) 65001)); | |
f6bcfd97 BP |
9079 | PyDict_SetItemString(d,"wxSTC_MARKER_MAX", PyInt_FromLong((long) 31)); |
9080 | PyDict_SetItemString(d,"wxSTC_MARK_CIRCLE", PyInt_FromLong((long) 0)); | |
9081 | PyDict_SetItemString(d,"wxSTC_MARK_ROUNDRECT", PyInt_FromLong((long) 1)); | |
9082 | PyDict_SetItemString(d,"wxSTC_MARK_ARROW", PyInt_FromLong((long) 2)); | |
9083 | PyDict_SetItemString(d,"wxSTC_MARK_SMALLRECT", PyInt_FromLong((long) 3)); | |
9084 | PyDict_SetItemString(d,"wxSTC_MARK_SHORTARROW", PyInt_FromLong((long) 4)); | |
9085 | PyDict_SetItemString(d,"wxSTC_MARK_EMPTY", PyInt_FromLong((long) 5)); | |
9086 | PyDict_SetItemString(d,"wxSTC_MARK_ARROWDOWN", PyInt_FromLong((long) 6)); | |
9087 | PyDict_SetItemString(d,"wxSTC_MARK_MINUS", PyInt_FromLong((long) 7)); | |
9088 | PyDict_SetItemString(d,"wxSTC_MARK_PLUS", PyInt_FromLong((long) 8)); | |
9089 | PyDict_SetItemString(d,"wxSTC_MARKNUM_FOLDER", PyInt_FromLong((long) 30)); | |
9090 | PyDict_SetItemString(d,"wxSTC_MARKNUM_FOLDEROPEN", PyInt_FromLong((long) 31)); | |
fe47ec10 RD |
9091 | PyDict_SetItemString(d,"wxSTC_MARGIN_SYMBOL", PyInt_FromLong((long) 0)); |
9092 | PyDict_SetItemString(d,"wxSTC_MARGIN_NUMBER", PyInt_FromLong((long) 1)); | |
9093 | PyDict_SetItemString(d,"wxSTC_STYLE_DEFAULT", PyInt_FromLong((long) 32)); | |
9094 | PyDict_SetItemString(d,"wxSTC_STYLE_LINENUMBER", PyInt_FromLong((long) 33)); | |
9095 | PyDict_SetItemString(d,"wxSTC_STYLE_BRACELIGHT", PyInt_FromLong((long) 34)); | |
9096 | PyDict_SetItemString(d,"wxSTC_STYLE_BRACEBAD", PyInt_FromLong((long) 35)); | |
9097 | PyDict_SetItemString(d,"wxSTC_STYLE_CONTROLCHAR", PyInt_FromLong((long) 36)); | |
9098 | PyDict_SetItemString(d,"wxSTC_STYLE_INDENTGUIDE", PyInt_FromLong((long) 37)); | |
9099 | PyDict_SetItemString(d,"wxSTC_STYLE_MAX", PyInt_FromLong((long) 127)); | |
9100 | PyDict_SetItemString(d,"wxSTC_CHARSET_ANSI", PyInt_FromLong((long) 0)); | |
9101 | PyDict_SetItemString(d,"wxSTC_CHARSET_DEFAULT", PyInt_FromLong((long) 1)); | |
9102 | PyDict_SetItemString(d,"wxSTC_CHARSET_BALTIC", PyInt_FromLong((long) 186)); | |
9103 | PyDict_SetItemString(d,"wxSTC_CHARSET_CHINESEBIG5", PyInt_FromLong((long) 136)); | |
9104 | PyDict_SetItemString(d,"wxSTC_CHARSET_EASTEUROPE", PyInt_FromLong((long) 238)); | |
9105 | PyDict_SetItemString(d,"wxSTC_CHARSET_GB2312", PyInt_FromLong((long) 134)); | |
9106 | PyDict_SetItemString(d,"wxSTC_CHARSET_GREEK", PyInt_FromLong((long) 161)); | |
9107 | PyDict_SetItemString(d,"wxSTC_CHARSET_HANGUL", PyInt_FromLong((long) 129)); | |
9108 | PyDict_SetItemString(d,"wxSTC_CHARSET_MAC", PyInt_FromLong((long) 77)); | |
9109 | PyDict_SetItemString(d,"wxSTC_CHARSET_OEM", PyInt_FromLong((long) 255)); | |
9110 | PyDict_SetItemString(d,"wxSTC_CHARSET_RUSSIAN", PyInt_FromLong((long) 204)); | |
9111 | PyDict_SetItemString(d,"wxSTC_CHARSET_SHIFTJIS", PyInt_FromLong((long) 128)); | |
9112 | PyDict_SetItemString(d,"wxSTC_CHARSET_SYMBOL", PyInt_FromLong((long) 2)); | |
9113 | PyDict_SetItemString(d,"wxSTC_CHARSET_TURKISH", PyInt_FromLong((long) 162)); | |
9114 | PyDict_SetItemString(d,"wxSTC_CHARSET_JOHAB", PyInt_FromLong((long) 130)); | |
9115 | PyDict_SetItemString(d,"wxSTC_CHARSET_HEBREW", PyInt_FromLong((long) 177)); | |
9116 | PyDict_SetItemString(d,"wxSTC_CHARSET_ARABIC", PyInt_FromLong((long) 178)); | |
9117 | PyDict_SetItemString(d,"wxSTC_CHARSET_VIETNAMESE", PyInt_FromLong((long) 163)); | |
9118 | PyDict_SetItemString(d,"wxSTC_CHARSET_THAI", PyInt_FromLong((long) 222)); | |
f6bcfd97 BP |
9119 | PyDict_SetItemString(d,"wxSTC_INDIC_MAX", PyInt_FromLong((long) 7)); |
9120 | PyDict_SetItemString(d,"wxSTC_INDIC_PLAIN", PyInt_FromLong((long) 0)); | |
9121 | PyDict_SetItemString(d,"wxSTC_INDIC_SQUIGGLE", PyInt_FromLong((long) 1)); | |
9122 | PyDict_SetItemString(d,"wxSTC_INDIC_TT", PyInt_FromLong((long) 2)); | |
9123 | PyDict_SetItemString(d,"wxSTC_INDIC_DIAGONAL", PyInt_FromLong((long) 3)); | |
9124 | PyDict_SetItemString(d,"wxSTC_INDIC_STRIKE", PyInt_FromLong((long) 4)); | |
9125 | PyDict_SetItemString(d,"wxSTC_INDIC0_MASK", PyInt_FromLong((long) 32)); | |
9126 | PyDict_SetItemString(d,"wxSTC_INDIC1_MASK", PyInt_FromLong((long) 64)); | |
9127 | PyDict_SetItemString(d,"wxSTC_INDIC2_MASK", PyInt_FromLong((long) 128)); | |
fe47ec10 RD |
9128 | PyDict_SetItemString(d,"wxSTC_INDICS_MASK", PyInt_FromLong((long) 32|64|128)); |
9129 | PyDict_SetItemString(d,"wxSTC_PRINT_NORMAL", PyInt_FromLong((long) 0)); | |
9130 | PyDict_SetItemString(d,"wxSTC_PRINT_INVERTLIGHT", PyInt_FromLong((long) 1)); | |
9131 | PyDict_SetItemString(d,"wxSTC_PRINT_BLACKONWHITE", PyInt_FromLong((long) 2)); | |
9132 | PyDict_SetItemString(d,"wxSTC_FIND_DOWN", PyInt_FromLong((long) 1)); | |
9133 | PyDict_SetItemString(d,"wxSTC_FIND_WHOLEWORD", PyInt_FromLong((long) 2)); | |
9134 | PyDict_SetItemString(d,"wxSTC_FIND_MATCHCASE", PyInt_FromLong((long) 4)); | |
9135 | PyDict_SetItemString(d,"wxSTC_FIND_WORDSTART", PyInt_FromLong((long) 0x00100000)); | |
9136 | PyDict_SetItemString(d,"wxSTC_FIND_REGEXP", PyInt_FromLong((long) 0x00200000)); | |
9137 | PyDict_SetItemString(d,"wxSTC_CMD_UNDO", PyInt_FromLong((long) 2176)); | |
9138 | PyDict_SetItemString(d,"wxSTC_CMD_CUT", PyInt_FromLong((long) 2177)); | |
9139 | PyDict_SetItemString(d,"wxSTC_CMD_COPY", PyInt_FromLong((long) 2178)); | |
9140 | PyDict_SetItemString(d,"wxSTC_CMD_PASTE", PyInt_FromLong((long) 2179)); | |
9141 | PyDict_SetItemString(d,"wxSTC_FOLDLEVELBASE", PyInt_FromLong((long) 0x400)); | |
f6bcfd97 BP |
9142 | PyDict_SetItemString(d,"wxSTC_FOLDLEVELWHITEFLAG", PyInt_FromLong((long) 0x1000)); |
9143 | PyDict_SetItemString(d,"wxSTC_FOLDLEVELHEADERFLAG", PyInt_FromLong((long) 0x2000)); | |
9144 | PyDict_SetItemString(d,"wxSTC_FOLDLEVELNUMBERMASK", PyInt_FromLong((long) 0x0FFF)); | |
fe47ec10 RD |
9145 | PyDict_SetItemString(d,"wxSTC_CMD_LINEDOWN", PyInt_FromLong((long) 2300)); |
9146 | PyDict_SetItemString(d,"wxSTC_CMD_LINEDOWNEXTEND", PyInt_FromLong((long) 2301)); | |
9147 | PyDict_SetItemString(d,"wxSTC_CMD_LINEUP", PyInt_FromLong((long) 2302)); | |
9148 | PyDict_SetItemString(d,"wxSTC_CMD_LINEUPEXTEND", PyInt_FromLong((long) 2303)); | |
9149 | PyDict_SetItemString(d,"wxSTC_CMD_CHARLEFT", PyInt_FromLong((long) 2304)); | |
9150 | PyDict_SetItemString(d,"wxSTC_CMD_CHARLEFTEXTEND", PyInt_FromLong((long) 2305)); | |
9151 | PyDict_SetItemString(d,"wxSTC_CMD_CHARRIGHT", PyInt_FromLong((long) 2306)); | |
9152 | PyDict_SetItemString(d,"wxSTC_CMD_CHARRIGHTEXTEND", PyInt_FromLong((long) 2307)); | |
9153 | PyDict_SetItemString(d,"wxSTC_CMD_WORDLEFT", PyInt_FromLong((long) 2308)); | |
9154 | PyDict_SetItemString(d,"wxSTC_CMD_WORDLEFTEXTEND", PyInt_FromLong((long) 2309)); | |
9155 | PyDict_SetItemString(d,"wxSTC_CMD_WORDRIGHT", PyInt_FromLong((long) 2310)); | |
9156 | PyDict_SetItemString(d,"wxSTC_CMD_WORDRIGHTEXTEND", PyInt_FromLong((long) 2311)); | |
9157 | PyDict_SetItemString(d,"wxSTC_CMD_HOME", PyInt_FromLong((long) 2312)); | |
9158 | PyDict_SetItemString(d,"wxSTC_CMD_HOMEEXTEND", PyInt_FromLong((long) 2313)); | |
9159 | PyDict_SetItemString(d,"wxSTC_CMD_LINEEND", PyInt_FromLong((long) 2314)); | |
9160 | PyDict_SetItemString(d,"wxSTC_CMD_LINEENDEXTEND", PyInt_FromLong((long) 2315)); | |
9161 | PyDict_SetItemString(d,"wxSTC_CMD_DOCUMENTSTART", PyInt_FromLong((long) 2316)); | |
9162 | PyDict_SetItemString(d,"wxSTC_CMD_DOCUMENTSTARTEXTEND", PyInt_FromLong((long) 2317)); | |
9163 | PyDict_SetItemString(d,"wxSTC_CMD_DOCUMENTEND", PyInt_FromLong((long) 2318)); | |
9164 | PyDict_SetItemString(d,"wxSTC_CMD_DOCUMENTENDEXTEND", PyInt_FromLong((long) 2319)); | |
9165 | PyDict_SetItemString(d,"wxSTC_CMD_PAGEUP", PyInt_FromLong((long) 2320)); | |
9166 | PyDict_SetItemString(d,"wxSTC_CMD_PAGEUPEXTEND", PyInt_FromLong((long) 2321)); | |
9167 | PyDict_SetItemString(d,"wxSTC_CMD_PAGEDOWN", PyInt_FromLong((long) 2322)); | |
9168 | PyDict_SetItemString(d,"wxSTC_CMD_PAGEDOWNEXTEND", PyInt_FromLong((long) 2323)); | |
9169 | PyDict_SetItemString(d,"wxSTC_CMD_EDITTOGGLEOVERTYPE", PyInt_FromLong((long) 2324)); | |
9170 | PyDict_SetItemString(d,"wxSTC_CMD_CANCEL", PyInt_FromLong((long) 2325)); | |
9171 | PyDict_SetItemString(d,"wxSTC_CMD_DELETEBACK", PyInt_FromLong((long) 2326)); | |
9172 | PyDict_SetItemString(d,"wxSTC_CMD_TAB", PyInt_FromLong((long) 2327)); | |
9173 | PyDict_SetItemString(d,"wxSTC_CMD_BACKTAB", PyInt_FromLong((long) 2328)); | |
9174 | PyDict_SetItemString(d,"wxSTC_CMD_NEWLINE", PyInt_FromLong((long) 2329)); | |
9175 | PyDict_SetItemString(d,"wxSTC_CMD_FORMFEED", PyInt_FromLong((long) 2330)); | |
9176 | PyDict_SetItemString(d,"wxSTC_CMD_VCHOME", PyInt_FromLong((long) 2331)); | |
9177 | PyDict_SetItemString(d,"wxSTC_CMD_VCHOMEEXTEND", PyInt_FromLong((long) 2332)); | |
9178 | PyDict_SetItemString(d,"wxSTC_CMD_ZOOMIN", PyInt_FromLong((long) 2333)); | |
9179 | PyDict_SetItemString(d,"wxSTC_CMD_ZOOMOUT", PyInt_FromLong((long) 2334)); | |
9180 | PyDict_SetItemString(d,"wxSTC_CMD_DELWORDLEFT", PyInt_FromLong((long) 2335)); | |
9181 | PyDict_SetItemString(d,"wxSTC_CMD_DELWORDRIGHT", PyInt_FromLong((long) 2336)); | |
9182 | PyDict_SetItemString(d,"wxSTC_CMD_LINECUT", PyInt_FromLong((long) 2337)); | |
9183 | PyDict_SetItemString(d,"wxSTC_CMD_LINEDELETE", PyInt_FromLong((long) 2338)); | |
9184 | PyDict_SetItemString(d,"wxSTC_CMD_LINETRANSPOSE", PyInt_FromLong((long) 2339)); | |
9185 | PyDict_SetItemString(d,"wxSTC_CMD_LOWERCASE", PyInt_FromLong((long) 2340)); | |
9186 | PyDict_SetItemString(d,"wxSTC_CMD_UPPERCASE", PyInt_FromLong((long) 2341)); | |
9187 | PyDict_SetItemString(d,"wxSTC_CMD_LINESCROLLDOWN", PyInt_FromLong((long) 2342)); | |
9188 | PyDict_SetItemString(d,"wxSTC_CMD_LINESCROLLUP", PyInt_FromLong((long) 2343)); | |
9189 | PyDict_SetItemString(d,"wxSTC_EDGE_NONE", PyInt_FromLong((long) 0)); | |
9190 | PyDict_SetItemString(d,"wxSTC_EDGE_LINE", PyInt_FromLong((long) 1)); | |
9191 | PyDict_SetItemString(d,"wxSTC_EDGE_BACKGROUND", PyInt_FromLong((long) 2)); | |
f6bcfd97 | 9192 | PyDict_SetItemString(d,"wxSTC_CARET_SLOP", PyInt_FromLong((long) 0x01)); |
fe47ec10 | 9193 | PyDict_SetItemString(d,"wxSTC_CARET_CENTER", PyInt_FromLong((long) 0x02)); |
f6bcfd97 | 9194 | PyDict_SetItemString(d,"wxSTC_CARET_STRICT", PyInt_FromLong((long) 0x04)); |
fe47ec10 RD |
9195 | PyDict_SetItemString(d,"wxSTC_MOD_INSERTTEXT", PyInt_FromLong((long) 0x1)); |
9196 | PyDict_SetItemString(d,"wxSTC_MOD_DELETETEXT", PyInt_FromLong((long) 0x2)); | |
9197 | PyDict_SetItemString(d,"wxSTC_MOD_CHANGESTYLE", PyInt_FromLong((long) 0x4)); | |
9198 | PyDict_SetItemString(d,"wxSTC_MOD_CHANGEFOLD", PyInt_FromLong((long) 0x8)); | |
9199 | PyDict_SetItemString(d,"wxSTC_PERFORMED_USER", PyInt_FromLong((long) 0x10)); | |
9200 | PyDict_SetItemString(d,"wxSTC_PERFORMED_UNDO", PyInt_FromLong((long) 0x20)); | |
9201 | PyDict_SetItemString(d,"wxSTC_PERFORMED_REDO", PyInt_FromLong((long) 0x40)); | |
9202 | PyDict_SetItemString(d,"wxSTC_LASTSTEPINUNDOREDO", PyInt_FromLong((long) 0x100)); | |
9203 | PyDict_SetItemString(d,"wxSTC_MOD_CHANGEMARKER", PyInt_FromLong((long) 0x200)); | |
9204 | PyDict_SetItemString(d,"wxSTC_MOD_BEFOREINSERT", PyInt_FromLong((long) 0x400)); | |
9205 | PyDict_SetItemString(d,"wxSTC_MOD_BEFOREDELETE", PyInt_FromLong((long) 0x800)); | |
9206 | PyDict_SetItemString(d,"wxSTC_MODEVENTMASKALL", PyInt_FromLong((long) 0xF77)); | |
9207 | PyDict_SetItemString(d,"wxSTC_KEY_DOWN", PyInt_FromLong((long) 300)); | |
9208 | PyDict_SetItemString(d,"wxSTC_KEY_UP", PyInt_FromLong((long) 301)); | |
9209 | PyDict_SetItemString(d,"wxSTC_KEY_LEFT", PyInt_FromLong((long) 302)); | |
9210 | PyDict_SetItemString(d,"wxSTC_KEY_RIGHT", PyInt_FromLong((long) 303)); | |
9211 | PyDict_SetItemString(d,"wxSTC_KEY_HOME", PyInt_FromLong((long) 304)); | |
9212 | PyDict_SetItemString(d,"wxSTC_KEY_END", PyInt_FromLong((long) 305)); | |
9213 | PyDict_SetItemString(d,"wxSTC_KEY_PRIOR", PyInt_FromLong((long) 306)); | |
9214 | PyDict_SetItemString(d,"wxSTC_KEY_NEXT", PyInt_FromLong((long) 307)); | |
9215 | PyDict_SetItemString(d,"wxSTC_KEY_DELETE", PyInt_FromLong((long) 308)); | |
9216 | PyDict_SetItemString(d,"wxSTC_KEY_INSERT", PyInt_FromLong((long) 309)); | |
9217 | PyDict_SetItemString(d,"wxSTC_KEY_ESCAPE", PyInt_FromLong((long) 7)); | |
9218 | PyDict_SetItemString(d,"wxSTC_KEY_BACK", PyInt_FromLong((long) 8)); | |
9219 | PyDict_SetItemString(d,"wxSTC_KEY_TAB", PyInt_FromLong((long) 9)); | |
9220 | PyDict_SetItemString(d,"wxSTC_KEY_RETURN", PyInt_FromLong((long) 13)); | |
9221 | PyDict_SetItemString(d,"wxSTC_KEY_ADD", PyInt_FromLong((long) 310)); | |
9222 | PyDict_SetItemString(d,"wxSTC_KEY_SUBTRACT", PyInt_FromLong((long) 311)); | |
9223 | PyDict_SetItemString(d,"wxSTC_KEY_DIVIDE", PyInt_FromLong((long) 312)); | |
9224 | PyDict_SetItemString(d,"wxSTC_SCMOD_SHIFT", PyInt_FromLong((long) 1)); | |
9225 | PyDict_SetItemString(d,"wxSTC_SCMOD_CTRL", PyInt_FromLong((long) 2)); | |
9226 | PyDict_SetItemString(d,"wxSTC_SCMOD_ALT", PyInt_FromLong((long) 4)); | |
9227 | PyDict_SetItemString(d,"wxSTC_LEX_CONTAINER", PyInt_FromLong((long) 0)); | |
9228 | PyDict_SetItemString(d,"wxSTC_LEX_NULL", PyInt_FromLong((long) 1)); | |
9229 | PyDict_SetItemString(d,"wxSTC_LEX_PYTHON", PyInt_FromLong((long) 2)); | |
9230 | PyDict_SetItemString(d,"wxSTC_LEX_CPP", PyInt_FromLong((long) 3)); | |
9231 | PyDict_SetItemString(d,"wxSTC_LEX_HTML", PyInt_FromLong((long) 4)); | |
9232 | PyDict_SetItemString(d,"wxSTC_LEX_XML", PyInt_FromLong((long) 5)); | |
9233 | PyDict_SetItemString(d,"wxSTC_LEX_PERL", PyInt_FromLong((long) 6)); | |
9234 | PyDict_SetItemString(d,"wxSTC_LEX_SQL", PyInt_FromLong((long) 7)); | |
9235 | PyDict_SetItemString(d,"wxSTC_LEX_VB", PyInt_FromLong((long) 8)); | |
9236 | PyDict_SetItemString(d,"wxSTC_LEX_PROPERTIES", PyInt_FromLong((long) 9)); | |
9237 | PyDict_SetItemString(d,"wxSTC_LEX_ERRORLIST", PyInt_FromLong((long) 10)); | |
9238 | PyDict_SetItemString(d,"wxSTC_LEX_MAKEFILE", PyInt_FromLong((long) 11)); | |
9239 | PyDict_SetItemString(d,"wxSTC_LEX_BATCH", PyInt_FromLong((long) 12)); | |
9240 | PyDict_SetItemString(d,"wxSTC_LEX_XCODE", PyInt_FromLong((long) 13)); | |
9241 | PyDict_SetItemString(d,"wxSTC_LEX_LATEX", PyInt_FromLong((long) 14)); | |
9242 | PyDict_SetItemString(d,"wxSTC_LEX_LUA", PyInt_FromLong((long) 15)); | |
9243 | PyDict_SetItemString(d,"wxSTC_LEX_DIFF", PyInt_FromLong((long) 16)); | |
9244 | PyDict_SetItemString(d,"wxSTC_P_DEFAULT", PyInt_FromLong((long) 0)); | |
9245 | PyDict_SetItemString(d,"wxSTC_P_COMMENTLINE", PyInt_FromLong((long) 1)); | |
9246 | PyDict_SetItemString(d,"wxSTC_P_NUMBER", PyInt_FromLong((long) 2)); | |
9247 | PyDict_SetItemString(d,"wxSTC_P_STRING", PyInt_FromLong((long) 3)); | |
9248 | PyDict_SetItemString(d,"wxSTC_P_CHARACTER", PyInt_FromLong((long) 4)); | |
9249 | PyDict_SetItemString(d,"wxSTC_P_WORD", PyInt_FromLong((long) 5)); | |
9250 | PyDict_SetItemString(d,"wxSTC_P_TRIPLE", PyInt_FromLong((long) 6)); | |
9251 | PyDict_SetItemString(d,"wxSTC_P_TRIPLEDOUBLE", PyInt_FromLong((long) 7)); | |
9252 | PyDict_SetItemString(d,"wxSTC_P_CLASSNAME", PyInt_FromLong((long) 8)); | |
9253 | PyDict_SetItemString(d,"wxSTC_P_DEFNAME", PyInt_FromLong((long) 9)); | |
9254 | PyDict_SetItemString(d,"wxSTC_P_OPERATOR", PyInt_FromLong((long) 10)); | |
9255 | PyDict_SetItemString(d,"wxSTC_P_IDENTIFIER", PyInt_FromLong((long) 11)); | |
9256 | PyDict_SetItemString(d,"wxSTC_P_COMMENTBLOCK", PyInt_FromLong((long) 12)); | |
9257 | PyDict_SetItemString(d,"wxSTC_P_STRINGEOL", PyInt_FromLong((long) 13)); | |
9258 | PyDict_SetItemString(d,"wxSTC_C_DEFAULT", PyInt_FromLong((long) 0)); | |
9259 | PyDict_SetItemString(d,"wxSTC_C_COMMENT", PyInt_FromLong((long) 1)); | |
9260 | PyDict_SetItemString(d,"wxSTC_C_COMMENTLINE", PyInt_FromLong((long) 2)); | |
9261 | PyDict_SetItemString(d,"wxSTC_C_COMMENTDOC", PyInt_FromLong((long) 3)); | |
9262 | PyDict_SetItemString(d,"wxSTC_C_NUMBER", PyInt_FromLong((long) 4)); | |
9263 | PyDict_SetItemString(d,"wxSTC_C_WORD", PyInt_FromLong((long) 5)); | |
9264 | PyDict_SetItemString(d,"wxSTC_C_STRING", PyInt_FromLong((long) 6)); | |
9265 | PyDict_SetItemString(d,"wxSTC_C_CHARACTER", PyInt_FromLong((long) 7)); | |
9266 | PyDict_SetItemString(d,"wxSTC_C_UUID", PyInt_FromLong((long) 8)); | |
9267 | PyDict_SetItemString(d,"wxSTC_C_PREPROCESSOR", PyInt_FromLong((long) 9)); | |
9268 | PyDict_SetItemString(d,"wxSTC_C_OPERATOR", PyInt_FromLong((long) 10)); | |
9269 | PyDict_SetItemString(d,"wxSTC_C_IDENTIFIER", PyInt_FromLong((long) 11)); | |
9270 | PyDict_SetItemString(d,"wxSTC_C_STRINGEOL", PyInt_FromLong((long) 12)); | |
9271 | PyDict_SetItemString(d,"wxSTC_C_VERBATIM", PyInt_FromLong((long) 13)); | |
9272 | PyDict_SetItemString(d,"wxSTC_H_DEFAULT", PyInt_FromLong((long) 0)); | |
9273 | PyDict_SetItemString(d,"wxSTC_H_TAG", PyInt_FromLong((long) 1)); | |
9274 | PyDict_SetItemString(d,"wxSTC_H_TAGUNKNOWN", PyInt_FromLong((long) 2)); | |
9275 | PyDict_SetItemString(d,"wxSTC_H_ATTRIBUTE", PyInt_FromLong((long) 3)); | |
9276 | PyDict_SetItemString(d,"wxSTC_H_ATTRIBUTEUNKNOWN", PyInt_FromLong((long) 4)); | |
9277 | PyDict_SetItemString(d,"wxSTC_H_NUMBER", PyInt_FromLong((long) 5)); | |
9278 | PyDict_SetItemString(d,"wxSTC_H_DOUBLESTRING", PyInt_FromLong((long) 6)); | |
9279 | PyDict_SetItemString(d,"wxSTC_H_SINGLESTRING", PyInt_FromLong((long) 7)); | |
9280 | PyDict_SetItemString(d,"wxSTC_H_OTHER", PyInt_FromLong((long) 8)); | |
9281 | PyDict_SetItemString(d,"wxSTC_H_COMMENT", PyInt_FromLong((long) 9)); | |
9282 | PyDict_SetItemString(d,"wxSTC_H_ENTITY", PyInt_FromLong((long) 10)); | |
9283 | PyDict_SetItemString(d,"wxSTC_H_TAGEND", PyInt_FromLong((long) 11)); | |
9284 | PyDict_SetItemString(d,"wxSTC_H_XMLSTART", PyInt_FromLong((long) 12)); | |
9285 | PyDict_SetItemString(d,"wxSTC_H_XMLEND", PyInt_FromLong((long) 13)); | |
9286 | PyDict_SetItemString(d,"wxSTC_H_SCRIPT", PyInt_FromLong((long) 14)); | |
9287 | PyDict_SetItemString(d,"wxSTC_H_ASP", PyInt_FromLong((long) 15)); | |
9288 | PyDict_SetItemString(d,"wxSTC_H_ASPAT", PyInt_FromLong((long) 16)); | |
9289 | PyDict_SetItemString(d,"wxSTC_H_CDATA", PyInt_FromLong((long) 17)); | |
9290 | PyDict_SetItemString(d,"wxSTC_H_QUESTION", PyInt_FromLong((long) 18)); | |
9291 | PyDict_SetItemString(d,"wxSTC_H_VALUE", PyInt_FromLong((long) 19)); | |
9292 | PyDict_SetItemString(d,"wxSTC_HJ_START", PyInt_FromLong((long) 40)); | |
9293 | PyDict_SetItemString(d,"wxSTC_HJ_DEFAULT", PyInt_FromLong((long) 41)); | |
9294 | PyDict_SetItemString(d,"wxSTC_HJ_COMMENT", PyInt_FromLong((long) 42)); | |
9295 | PyDict_SetItemString(d,"wxSTC_HJ_COMMENTLINE", PyInt_FromLong((long) 43)); | |
9296 | PyDict_SetItemString(d,"wxSTC_HJ_COMMENTDOC", PyInt_FromLong((long) 44)); | |
9297 | PyDict_SetItemString(d,"wxSTC_HJ_NUMBER", PyInt_FromLong((long) 45)); | |
9298 | PyDict_SetItemString(d,"wxSTC_HJ_WORD", PyInt_FromLong((long) 46)); | |
9299 | PyDict_SetItemString(d,"wxSTC_HJ_KEYWORD", PyInt_FromLong((long) 47)); | |
9300 | PyDict_SetItemString(d,"wxSTC_HJ_DOUBLESTRING", PyInt_FromLong((long) 48)); | |
9301 | PyDict_SetItemString(d,"wxSTC_HJ_SINGLESTRING", PyInt_FromLong((long) 49)); | |
9302 | PyDict_SetItemString(d,"wxSTC_HJ_SYMBOLS", PyInt_FromLong((long) 50)); | |
9303 | PyDict_SetItemString(d,"wxSTC_HJ_STRINGEOL", PyInt_FromLong((long) 51)); | |
9304 | PyDict_SetItemString(d,"wxSTC_HJA_START", PyInt_FromLong((long) 55)); | |
9305 | PyDict_SetItemString(d,"wxSTC_HJA_DEFAULT", PyInt_FromLong((long) 56)); | |
9306 | PyDict_SetItemString(d,"wxSTC_HJA_COMMENT", PyInt_FromLong((long) 57)); | |
9307 | PyDict_SetItemString(d,"wxSTC_HJA_COMMENTLINE", PyInt_FromLong((long) 58)); | |
9308 | PyDict_SetItemString(d,"wxSTC_HJA_COMMENTDOC", PyInt_FromLong((long) 59)); | |
9309 | PyDict_SetItemString(d,"wxSTC_HJA_NUMBER", PyInt_FromLong((long) 60)); | |
9310 | PyDict_SetItemString(d,"wxSTC_HJA_WORD", PyInt_FromLong((long) 61)); | |
9311 | PyDict_SetItemString(d,"wxSTC_HJA_KEYWORD", PyInt_FromLong((long) 62)); | |
9312 | PyDict_SetItemString(d,"wxSTC_HJA_DOUBLESTRING", PyInt_FromLong((long) 63)); | |
9313 | PyDict_SetItemString(d,"wxSTC_HJA_SINGLESTRING", PyInt_FromLong((long) 64)); | |
9314 | PyDict_SetItemString(d,"wxSTC_HJA_SYMBOLS", PyInt_FromLong((long) 65)); | |
9315 | PyDict_SetItemString(d,"wxSTC_HJA_STRINGEOL", PyInt_FromLong((long) 66)); | |
9316 | PyDict_SetItemString(d,"wxSTC_HB_START", PyInt_FromLong((long) 70)); | |
9317 | PyDict_SetItemString(d,"wxSTC_HB_DEFAULT", PyInt_FromLong((long) 71)); | |
9318 | PyDict_SetItemString(d,"wxSTC_HB_COMMENTLINE", PyInt_FromLong((long) 72)); | |
9319 | PyDict_SetItemString(d,"wxSTC_HB_NUMBER", PyInt_FromLong((long) 73)); | |
9320 | PyDict_SetItemString(d,"wxSTC_HB_WORD", PyInt_FromLong((long) 74)); | |
9321 | PyDict_SetItemString(d,"wxSTC_HB_STRING", PyInt_FromLong((long) 75)); | |
9322 | PyDict_SetItemString(d,"wxSTC_HB_IDENTIFIER", PyInt_FromLong((long) 76)); | |
9323 | PyDict_SetItemString(d,"wxSTC_HB_STRINGEOL", PyInt_FromLong((long) 77)); | |
9324 | PyDict_SetItemString(d,"wxSTC_HBA_START", PyInt_FromLong((long) 80)); | |
9325 | PyDict_SetItemString(d,"wxSTC_HBA_DEFAULT", PyInt_FromLong((long) 81)); | |
9326 | PyDict_SetItemString(d,"wxSTC_HBA_COMMENTLINE", PyInt_FromLong((long) 82)); | |
9327 | PyDict_SetItemString(d,"wxSTC_HBA_NUMBER", PyInt_FromLong((long) 83)); | |
9328 | PyDict_SetItemString(d,"wxSTC_HBA_WORD", PyInt_FromLong((long) 84)); | |
9329 | PyDict_SetItemString(d,"wxSTC_HBA_STRING", PyInt_FromLong((long) 85)); | |
9330 | PyDict_SetItemString(d,"wxSTC_HBA_IDENTIFIER", PyInt_FromLong((long) 86)); | |
9331 | PyDict_SetItemString(d,"wxSTC_HBA_STRINGEOL", PyInt_FromLong((long) 87)); | |
9332 | PyDict_SetItemString(d,"wxSTC_HP_START", PyInt_FromLong((long) 90)); | |
9333 | PyDict_SetItemString(d,"wxSTC_HP_DEFAULT", PyInt_FromLong((long) 91)); | |
9334 | PyDict_SetItemString(d,"wxSTC_HP_COMMENTLINE", PyInt_FromLong((long) 92)); | |
9335 | PyDict_SetItemString(d,"wxSTC_HP_NUMBER", PyInt_FromLong((long) 93)); | |
9336 | PyDict_SetItemString(d,"wxSTC_HP_STRING", PyInt_FromLong((long) 94)); | |
9337 | PyDict_SetItemString(d,"wxSTC_HP_CHARACTER", PyInt_FromLong((long) 95)); | |
9338 | PyDict_SetItemString(d,"wxSTC_HP_WORD", PyInt_FromLong((long) 96)); | |
9339 | PyDict_SetItemString(d,"wxSTC_HP_TRIPLE", PyInt_FromLong((long) 97)); | |
9340 | PyDict_SetItemString(d,"wxSTC_HP_TRIPLEDOUBLE", PyInt_FromLong((long) 98)); | |
9341 | PyDict_SetItemString(d,"wxSTC_HP_CLASSNAME", PyInt_FromLong((long) 99)); | |
9342 | PyDict_SetItemString(d,"wxSTC_HP_DEFNAME", PyInt_FromLong((long) 100)); | |
9343 | PyDict_SetItemString(d,"wxSTC_HP_OPERATOR", PyInt_FromLong((long) 101)); | |
9344 | PyDict_SetItemString(d,"wxSTC_HP_IDENTIFIER", PyInt_FromLong((long) 102)); | |
9345 | PyDict_SetItemString(d,"wxSTC_HPA_START", PyInt_FromLong((long) 105)); | |
9346 | PyDict_SetItemString(d,"wxSTC_HPA_DEFAULT", PyInt_FromLong((long) 106)); | |
9347 | PyDict_SetItemString(d,"wxSTC_HPA_COMMENTLINE", PyInt_FromLong((long) 107)); | |
9348 | PyDict_SetItemString(d,"wxSTC_HPA_NUMBER", PyInt_FromLong((long) 108)); | |
9349 | PyDict_SetItemString(d,"wxSTC_HPA_STRING", PyInt_FromLong((long) 109)); | |
9350 | PyDict_SetItemString(d,"wxSTC_HPA_CHARACTER", PyInt_FromLong((long) 110)); | |
9351 | PyDict_SetItemString(d,"wxSTC_HPA_WORD", PyInt_FromLong((long) 111)); | |
9352 | PyDict_SetItemString(d,"wxSTC_HPA_TRIPLE", PyInt_FromLong((long) 112)); | |
9353 | PyDict_SetItemString(d,"wxSTC_HPA_TRIPLEDOUBLE", PyInt_FromLong((long) 113)); | |
9354 | PyDict_SetItemString(d,"wxSTC_HPA_CLASSNAME", PyInt_FromLong((long) 114)); | |
9355 | PyDict_SetItemString(d,"wxSTC_HPA_DEFNAME", PyInt_FromLong((long) 115)); | |
9356 | PyDict_SetItemString(d,"wxSTC_HPA_OPERATOR", PyInt_FromLong((long) 116)); | |
9357 | PyDict_SetItemString(d,"wxSTC_HPA_IDENTIFIER", PyInt_FromLong((long) 117)); | |
9358 | PyDict_SetItemString(d,"wxSTC_HPHP_DEFAULT", PyInt_FromLong((long) 118)); | |
9359 | PyDict_SetItemString(d,"wxSTC_HPHP_HSTRING", PyInt_FromLong((long) 119)); | |
9360 | PyDict_SetItemString(d,"wxSTC_HPHP_SIMPLESTRING", PyInt_FromLong((long) 120)); | |
9361 | PyDict_SetItemString(d,"wxSTC_HPHP_WORD", PyInt_FromLong((long) 121)); | |
9362 | PyDict_SetItemString(d,"wxSTC_HPHP_NUMBER", PyInt_FromLong((long) 122)); | |
9363 | PyDict_SetItemString(d,"wxSTC_HPHP_VARIABLE", PyInt_FromLong((long) 123)); | |
9364 | PyDict_SetItemString(d,"wxSTC_HPHP_COMMENT", PyInt_FromLong((long) 124)); | |
9365 | PyDict_SetItemString(d,"wxSTC_HPHP_COMMENTLINE", PyInt_FromLong((long) 125)); | |
9366 | PyDict_SetItemString(d,"wxSTC_HPHP_STRINGEOL", PyInt_FromLong((long) 126)); | |
9367 | PyDict_SetItemString(d,"wxSTC_PL_DEFAULT", PyInt_FromLong((long) 0)); | |
9368 | PyDict_SetItemString(d,"wxSTC_PL_HERE", PyInt_FromLong((long) 1)); | |
9369 | PyDict_SetItemString(d,"wxSTC_PL_COMMENTLINE", PyInt_FromLong((long) 2)); | |
9370 | PyDict_SetItemString(d,"wxSTC_PL_POD", PyInt_FromLong((long) 3)); | |
9371 | PyDict_SetItemString(d,"wxSTC_PL_NUMBER", PyInt_FromLong((long) 4)); | |
9372 | PyDict_SetItemString(d,"wxSTC_PL_WORD", PyInt_FromLong((long) 5)); | |
9373 | PyDict_SetItemString(d,"wxSTC_PL_STRING", PyInt_FromLong((long) 6)); | |
9374 | PyDict_SetItemString(d,"wxSTC_PL_CHARACTER", PyInt_FromLong((long) 7)); | |
9375 | PyDict_SetItemString(d,"wxSTC_PL_PUNCTUATION", PyInt_FromLong((long) 8)); | |
9376 | PyDict_SetItemString(d,"wxSTC_PL_PREPROCESSOR", PyInt_FromLong((long) 9)); | |
9377 | PyDict_SetItemString(d,"wxSTC_PL_OPERATOR", PyInt_FromLong((long) 10)); | |
9378 | PyDict_SetItemString(d,"wxSTC_PL_IDENTIFIER", PyInt_FromLong((long) 11)); | |
9379 | PyDict_SetItemString(d,"wxSTC_PL_SCALAR", PyInt_FromLong((long) 12)); | |
9380 | PyDict_SetItemString(d,"wxSTC_PL_ARRAY", PyInt_FromLong((long) 13)); | |
9381 | PyDict_SetItemString(d,"wxSTC_PL_HASH", PyInt_FromLong((long) 14)); | |
9382 | PyDict_SetItemString(d,"wxSTC_PL_SYMBOLTABLE", PyInt_FromLong((long) 15)); | |
9383 | PyDict_SetItemString(d,"wxSTC_PL_REF", PyInt_FromLong((long) 16)); | |
9384 | PyDict_SetItemString(d,"wxSTC_PL_REGEX", PyInt_FromLong((long) 17)); | |
9385 | PyDict_SetItemString(d,"wxSTC_PL_REGSUBST", PyInt_FromLong((long) 18)); | |
9386 | PyDict_SetItemString(d,"wxSTC_PL_LONGQUOTE", PyInt_FromLong((long) 19)); | |
9387 | PyDict_SetItemString(d,"wxSTC_PL_BACKTICKS", PyInt_FromLong((long) 20)); | |
9388 | PyDict_SetItemString(d,"wxSTC_PL_DATASECTION", PyInt_FromLong((long) 21)); | |
9389 | PyDict_SetItemString(d,"wxSTC_L_DEFAULT", PyInt_FromLong((long) 0)); | |
9390 | PyDict_SetItemString(d,"wxSTC_L_COMMAND", PyInt_FromLong((long) 1)); | |
9391 | PyDict_SetItemString(d,"wxSTC_L_TAG", PyInt_FromLong((long) 2)); | |
9392 | PyDict_SetItemString(d,"wxSTC_L_MATH", PyInt_FromLong((long) 3)); | |
9393 | PyDict_SetItemString(d,"wxSTC_L_COMMENT", PyInt_FromLong((long) 4)); | |
9394 | PyDict_SetItemString(d,"wxSTC_LUA_DEFAULT", PyInt_FromLong((long) 0)); | |
9395 | PyDict_SetItemString(d,"wxSTC_LUA_COMMENT", PyInt_FromLong((long) 1)); | |
9396 | PyDict_SetItemString(d,"wxSTC_LUA_COMMENTLINE", PyInt_FromLong((long) 2)); | |
9397 | PyDict_SetItemString(d,"wxSTC_LUA_COMMENTDOC", PyInt_FromLong((long) 3)); | |
9398 | PyDict_SetItemString(d,"wxSTC_LUA_NUMBER", PyInt_FromLong((long) 4)); | |
9399 | PyDict_SetItemString(d,"wxSTC_LUA_WORD", PyInt_FromLong((long) 5)); | |
9400 | PyDict_SetItemString(d,"wxSTC_LUA_STRING", PyInt_FromLong((long) 6)); | |
9401 | PyDict_SetItemString(d,"wxSTC_LUA_CHARACTER", PyInt_FromLong((long) 7)); | |
9402 | PyDict_SetItemString(d,"wxSTC_LUA_LITERALSTRING", PyInt_FromLong((long) 8)); | |
9403 | PyDict_SetItemString(d,"wxSTC_LUA_PREPROCESSOR", PyInt_FromLong((long) 9)); | |
9404 | PyDict_SetItemString(d,"wxSTC_LUA_OPERATOR", PyInt_FromLong((long) 10)); | |
9405 | PyDict_SetItemString(d,"wxSTC_LUA_IDENTIFIER", PyInt_FromLong((long) 11)); | |
9406 | PyDict_SetItemString(d,"wxSTC_LUA_STRINGEOL", PyInt_FromLong((long) 12)); | |
9407 | PyDict_SetItemString(d,"wxSTC_ERR_DEFAULT", PyInt_FromLong((long) 0)); | |
9408 | PyDict_SetItemString(d,"wxSTC_ERR_PYTHON", PyInt_FromLong((long) 1)); | |
9409 | PyDict_SetItemString(d,"wxSTC_ERR_GCC", PyInt_FromLong((long) 2)); | |
9410 | PyDict_SetItemString(d,"wxSTC_ERR_MS", PyInt_FromLong((long) 3)); | |
9411 | PyDict_SetItemString(d,"wxSTC_ERR_CMD", PyInt_FromLong((long) 4)); | |
9412 | PyDict_SetItemString(d,"wxSTC_ERR_BORLAND", PyInt_FromLong((long) 5)); | |
9413 | PyDict_SetItemString(d,"wxSTC_ERR_PERL", PyInt_FromLong((long) 6)); | |
9414 | PyDict_SetItemString(d,"wxSTC_MASK_FOLDERS", PyInt_FromLong((long) ((1<<(30))|(1<<(31))))); | |
f6bcfd97 BP |
9415 | PyDict_SetItemString(d,"wxSTCNameStr", PyString_FromString("wxSTCNameStr")); |
9416 | PyDict_SetItemString(d,"wxEVT_STC_CHANGE", PyInt_FromLong((long) wxEVT_STC_CHANGE)); | |
9417 | PyDict_SetItemString(d,"wxEVT_STC_STYLENEEDED", PyInt_FromLong((long) wxEVT_STC_STYLENEEDED)); | |
9418 | PyDict_SetItemString(d,"wxEVT_STC_CHARADDED", PyInt_FromLong((long) wxEVT_STC_CHARADDED)); | |
9419 | PyDict_SetItemString(d,"wxEVT_STC_UPDATEUI", PyInt_FromLong((long) wxEVT_STC_UPDATEUI)); | |
9420 | PyDict_SetItemString(d,"wxEVT_STC_SAVEPOINTREACHED", PyInt_FromLong((long) wxEVT_STC_SAVEPOINTREACHED)); | |
9421 | PyDict_SetItemString(d,"wxEVT_STC_SAVEPOINTLEFT", PyInt_FromLong((long) wxEVT_STC_SAVEPOINTLEFT)); | |
9422 | PyDict_SetItemString(d,"wxEVT_STC_ROMODIFYATTEMPT", PyInt_FromLong((long) wxEVT_STC_ROMODIFYATTEMPT)); | |
9423 | PyDict_SetItemString(d,"wxEVT_STC_DOUBLECLICK", PyInt_FromLong((long) wxEVT_STC_DOUBLECLICK)); | |
9424 | PyDict_SetItemString(d,"wxEVT_STC_MODIFIED", PyInt_FromLong((long) wxEVT_STC_MODIFIED)); | |
9425 | PyDict_SetItemString(d,"wxEVT_STC_KEY", PyInt_FromLong((long) wxEVT_STC_KEY)); | |
9426 | PyDict_SetItemString(d,"wxEVT_STC_MACRORECORD", PyInt_FromLong((long) wxEVT_STC_MACRORECORD)); | |
9427 | PyDict_SetItemString(d,"wxEVT_STC_MARGINCLICK", PyInt_FromLong((long) wxEVT_STC_MARGINCLICK)); | |
9428 | PyDict_SetItemString(d,"wxEVT_STC_NEEDSHOWN", PyInt_FromLong((long) wxEVT_STC_NEEDSHOWN)); | |
fe47ec10 | 9429 | PyDict_SetItemString(d,"wxEVT_STC_POSCHANGED", PyInt_FromLong((long) wxEVT_STC_POSCHANGED)); |
f6bcfd97 BP |
9430 | |
9431 | ||
e508a2b6 RD |
9432 | wxClassInfo::CleanUpClasses(); |
9433 | wxClassInfo::InitializeClasses(); | |
f6bcfd97 BP |
9434 | |
9435 | { | |
9436 | int i; | |
9437 | for (i = 0; _swig_mapping[i].n1; i++) | |
9438 | SWIG_RegisterMapping(_swig_mapping[i].n1,_swig_mapping[i].n2,_swig_mapping[i].pcnv); | |
9439 | } | |
9440 | } |