]>
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__) | |
83b18bab | 30 | # define SWIGEXPORT(a) a _export |
f6bcfd97 | 31 | # else |
83b18bab | 32 | # define SWIGEXPORT(a) a |
f6bcfd97 BP |
33 | # endif |
34 | # endif | |
35 | #else | |
83b18bab | 36 | # define SWIGEXPORT(a) a |
f6bcfd97 BP |
37 | #endif |
38 | ||
83b18bab RD |
39 | #include "Python.h" |
40 | ||
f6bcfd97 BP |
41 | #ifdef __cplusplus |
42 | extern "C" { | |
43 | #endif | |
83b18bab | 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; | |
f3d9dc1d | 63 | if (!target) { |
f6bcfd97 | 64 | target = o; |
f3d9dc1d | 65 | } else if (target == Py_None) { |
f6bcfd97 BP |
66 | Py_DECREF(Py_None); |
67 | target = o; | |
f3d9dc1d | 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 | ||
f3d9dc1d | 85 | if (!target) { |
f6bcfd97 | 86 | target = o; |
f3d9dc1d | 87 | } else if (target == Py_None) { |
f6bcfd97 BP |
88 | Py_DECREF(Py_None); |
89 | target = o; | |
f3d9dc1d | 90 | } else { |
f6bcfd97 BP |
91 | if (!PyTuple_Check(target)) { |
92 | o2 = target; | |
93 | target = PyTuple_New(1); | |
94 | PyTuple_SetItem(target, 0, o2); | |
95 | } | |
f3d9dc1d RD |
96 | o3 = PyTuple_New(1); |
97 | PyTuple_SetItem(o3, 0, o); | |
f6bcfd97 BP |
98 | |
99 | o2 = target; | |
f3d9dc1d RD |
100 | target = PySequence_Concat(o2, o3); |
101 | Py_DECREF(o2); | |
f6bcfd97 BP |
102 | Py_DECREF(o3); |
103 | } | |
104 | return target; | |
105 | } | |
106 | ||
7a446686 RD |
107 | #if PYTHON_API_VERSION >= 1009 |
108 | static char* wxStringErrorMsg = "String or Unicode type required"; | |
109 | #else | |
110 | static char* wxStringErrorMsg = "string type is required for parameter"; | |
111 | #endif | |
f6bcfd97 BP |
112 | #ifdef __cplusplus |
113 | extern "C" { | |
114 | #endif | |
115 | static void *SwigwxStyledTextCtrlTowxControl(void *ptr) { | |
116 | wxStyledTextCtrl *src; | |
117 | wxControl *dest; | |
118 | src = (wxStyledTextCtrl *) ptr; | |
119 | dest = (wxControl *) src; | |
120 | return (void *) dest; | |
121 | } | |
122 | ||
123 | static void *SwigwxStyledTextCtrlTowxWindow(void *ptr) { | |
124 | wxStyledTextCtrl *src; | |
125 | wxWindow *dest; | |
126 | src = (wxStyledTextCtrl *) ptr; | |
127 | dest = (wxWindow *) src; | |
128 | return (void *) dest; | |
129 | } | |
130 | ||
131 | static void *SwigwxStyledTextCtrlTowxEvtHandler(void *ptr) { | |
132 | wxStyledTextCtrl *src; | |
133 | wxEvtHandler *dest; | |
134 | src = (wxStyledTextCtrl *) ptr; | |
135 | dest = (wxEvtHandler *) src; | |
136 | return (void *) dest; | |
137 | } | |
138 | ||
139 | #define new_wxStyledTextCtrl(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxStyledTextCtrl(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5)) | |
140 | static PyObject *_wrap_new_wxStyledTextCtrl(PyObject *self, PyObject *args, PyObject *kwargs) { | |
141 | PyObject * _resultobj; | |
142 | wxStyledTextCtrl * _result; | |
143 | wxWindow * _arg0; | |
144 | wxWindowID _arg1; | |
145 | wxPoint * _arg2 = (wxPoint *) &wxDefaultPosition; | |
146 | wxSize * _arg3 = (wxSize *) &wxDefaultSize; | |
147 | long _arg4 = (long ) 0; | |
148 | char * _arg5 = (char *) "styledtext"; | |
149 | PyObject * _argo0 = 0; | |
150 | wxPoint temp; | |
151 | PyObject * _obj2 = 0; | |
152 | wxSize temp0; | |
153 | PyObject * _obj3 = 0; | |
154 | char *_kwnames[] = { "parent","id","pos","size","style","name", NULL }; | |
155 | char _ptemp[128]; | |
156 | ||
157 | self = self; | |
158 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi|OOls:new_wxStyledTextCtrl",_kwnames,&_argo0,&_arg1,&_obj2,&_obj3,&_arg4,&_arg5)) | |
159 | return NULL; | |
160 | if (_argo0) { | |
161 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
162 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) { | |
163 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxStyledTextCtrl. Expected _wxWindow_p."); | |
164 | return NULL; | |
165 | } | |
166 | } | |
167 | if (_obj2) | |
168 | { | |
169 | _arg2 = &temp; | |
170 | if (! wxPoint_helper(_obj2, &_arg2)) | |
171 | return NULL; | |
172 | } | |
173 | if (_obj3) | |
174 | { | |
175 | _arg3 = &temp0; | |
176 | if (! wxSize_helper(_obj3, &_arg3)) | |
177 | return NULL; | |
178 | } | |
179 | { | |
180 | wxPy_BEGIN_ALLOW_THREADS; | |
181 | _result = (wxStyledTextCtrl *)new_wxStyledTextCtrl(_arg0,_arg1,*_arg2,*_arg3,_arg4,_arg5); | |
182 | ||
183 | wxPy_END_ALLOW_THREADS; | |
184 | } if (_result) { | |
185 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxStyledTextCtrl_p"); | |
186 | _resultobj = Py_BuildValue("s",_ptemp); | |
187 | } else { | |
188 | Py_INCREF(Py_None); | |
189 | _resultobj = Py_None; | |
190 | } | |
191 | return _resultobj; | |
192 | } | |
193 | ||
fe47ec10 RD |
194 | #define wxStyledTextCtrl_AddText(_swigobj,_swigarg0) (_swigobj->AddText(_swigarg0)) |
195 | static PyObject *_wrap_wxStyledTextCtrl_AddText(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 | 196 | PyObject * _resultobj; |
f6bcfd97 | 197 | wxStyledTextCtrl * _arg0; |
fe47ec10 | 198 | wxString * _arg1; |
f6bcfd97 | 199 | PyObject * _argo0 = 0; |
fe47ec10 RD |
200 | PyObject * _obj1 = 0; |
201 | char *_kwnames[] = { "self","text", NULL }; | |
f6bcfd97 BP |
202 | |
203 | self = self; | |
fe47ec10 | 204 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxStyledTextCtrl_AddText",_kwnames,&_argo0,&_obj1)) |
f6bcfd97 BP |
205 | return NULL; |
206 | if (_argo0) { | |
207 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
208 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 209 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_AddText. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
210 | return NULL; |
211 | } | |
212 | } | |
fe47ec10 | 213 | { |
185d7c3e RD |
214 | #if PYTHON_API_VERSION >= 1009 |
215 | char* tmpPtr; int tmpSize; | |
216 | if (!PyString_Check(_obj1) && !PyUnicode_Check(_obj1)) { | |
7a446686 | 217 | PyErr_SetString(PyExc_TypeError, wxStringErrorMsg); |
185d7c3e RD |
218 | return NULL; |
219 | } | |
220 | if (PyString_AsStringAndSize(_obj1, &tmpPtr, &tmpSize) == -1) | |
221 | return NULL; | |
222 | _arg1 = new wxString(tmpPtr, tmpSize); | |
223 | #else | |
fe47ec10 RD |
224 | if (!PyString_Check(_obj1)) { |
225 | PyErr_SetString(PyExc_TypeError, wxStringErrorMsg); | |
226 | return NULL; | |
227 | } | |
185d7c3e RD |
228 | _arg1 = new wxString(PyString_AS_STRING(_obj1), PyString_GET_SIZE(_obj1)); |
229 | #endif | |
fe47ec10 | 230 | } |
f6bcfd97 BP |
231 | { |
232 | wxPy_BEGIN_ALLOW_THREADS; | |
fe47ec10 | 233 | wxStyledTextCtrl_AddText(_arg0,*_arg1); |
f6bcfd97 BP |
234 | |
235 | wxPy_END_ALLOW_THREADS; | |
fe47ec10 RD |
236 | } Py_INCREF(Py_None); |
237 | _resultobj = Py_None; | |
f6bcfd97 | 238 | { |
fe47ec10 RD |
239 | if (_obj1) |
240 | delete _arg1; | |
f6bcfd97 BP |
241 | } |
242 | return _resultobj; | |
243 | } | |
244 | ||
fe47ec10 RD |
245 | #define wxStyledTextCtrl_AddStyledText(_swigobj,_swigarg0) (_swigobj->AddStyledText(_swigarg0)) |
246 | static PyObject *_wrap_wxStyledTextCtrl_AddStyledText(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 | 247 | PyObject * _resultobj; |
f6bcfd97 BP |
248 | wxStyledTextCtrl * _arg0; |
249 | wxString * _arg1; | |
250 | PyObject * _argo0 = 0; | |
251 | PyObject * _obj1 = 0; | |
252 | char *_kwnames[] = { "self","text", NULL }; | |
253 | ||
254 | self = self; | |
fe47ec10 | 255 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxStyledTextCtrl_AddStyledText",_kwnames,&_argo0,&_obj1)) |
f6bcfd97 BP |
256 | return NULL; |
257 | if (_argo0) { | |
258 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
259 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 260 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_AddStyledText. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
261 | return NULL; |
262 | } | |
263 | } | |
264 | { | |
185d7c3e RD |
265 | #if PYTHON_API_VERSION >= 1009 |
266 | char* tmpPtr; int tmpSize; | |
267 | if (!PyString_Check(_obj1) && !PyUnicode_Check(_obj1)) { | |
7a446686 | 268 | PyErr_SetString(PyExc_TypeError, wxStringErrorMsg); |
185d7c3e RD |
269 | return NULL; |
270 | } | |
271 | if (PyString_AsStringAndSize(_obj1, &tmpPtr, &tmpSize) == -1) | |
272 | return NULL; | |
273 | _arg1 = new wxString(tmpPtr, tmpSize); | |
274 | #else | |
f6bcfd97 BP |
275 | if (!PyString_Check(_obj1)) { |
276 | PyErr_SetString(PyExc_TypeError, wxStringErrorMsg); | |
277 | return NULL; | |
278 | } | |
185d7c3e RD |
279 | _arg1 = new wxString(PyString_AS_STRING(_obj1), PyString_GET_SIZE(_obj1)); |
280 | #endif | |
f6bcfd97 BP |
281 | } |
282 | { | |
283 | wxPy_BEGIN_ALLOW_THREADS; | |
fe47ec10 | 284 | wxStyledTextCtrl_AddStyledText(_arg0,*_arg1); |
f6bcfd97 BP |
285 | |
286 | wxPy_END_ALLOW_THREADS; | |
fe47ec10 RD |
287 | } Py_INCREF(Py_None); |
288 | _resultobj = Py_None; | |
f6bcfd97 BP |
289 | { |
290 | if (_obj1) | |
291 | delete _arg1; | |
292 | } | |
293 | return _resultobj; | |
294 | } | |
295 | ||
fe47ec10 RD |
296 | #define wxStyledTextCtrl_InsertText(_swigobj,_swigarg0,_swigarg1) (_swigobj->InsertText(_swigarg0,_swigarg1)) |
297 | static PyObject *_wrap_wxStyledTextCtrl_InsertText(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 | 298 | PyObject * _resultobj; |
f6bcfd97 BP |
299 | wxStyledTextCtrl * _arg0; |
300 | int _arg1; | |
fe47ec10 | 301 | wxString * _arg2; |
f6bcfd97 | 302 | PyObject * _argo0 = 0; |
fe47ec10 RD |
303 | PyObject * _obj2 = 0; |
304 | char *_kwnames[] = { "self","pos","text", NULL }; | |
f6bcfd97 BP |
305 | |
306 | self = self; | |
fe47ec10 | 307 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxStyledTextCtrl_InsertText",_kwnames,&_argo0,&_arg1,&_obj2)) |
f6bcfd97 BP |
308 | return NULL; |
309 | if (_argo0) { | |
310 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
311 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 312 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_InsertText. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
313 | return NULL; |
314 | } | |
315 | } | |
fe47ec10 | 316 | { |
185d7c3e RD |
317 | #if PYTHON_API_VERSION >= 1009 |
318 | char* tmpPtr; int tmpSize; | |
319 | if (!PyString_Check(_obj2) && !PyUnicode_Check(_obj2)) { | |
7a446686 | 320 | PyErr_SetString(PyExc_TypeError, wxStringErrorMsg); |
185d7c3e RD |
321 | return NULL; |
322 | } | |
323 | if (PyString_AsStringAndSize(_obj2, &tmpPtr, &tmpSize) == -1) | |
324 | return NULL; | |
325 | _arg2 = new wxString(tmpPtr, tmpSize); | |
326 | #else | |
fe47ec10 RD |
327 | if (!PyString_Check(_obj2)) { |
328 | PyErr_SetString(PyExc_TypeError, wxStringErrorMsg); | |
329 | return NULL; | |
330 | } | |
185d7c3e RD |
331 | _arg2 = new wxString(PyString_AS_STRING(_obj2), PyString_GET_SIZE(_obj2)); |
332 | #endif | |
fe47ec10 | 333 | } |
f6bcfd97 BP |
334 | { |
335 | wxPy_BEGIN_ALLOW_THREADS; | |
fe47ec10 | 336 | wxStyledTextCtrl_InsertText(_arg0,_arg1,*_arg2); |
f6bcfd97 BP |
337 | |
338 | wxPy_END_ALLOW_THREADS; | |
fe47ec10 RD |
339 | } Py_INCREF(Py_None); |
340 | _resultobj = Py_None; | |
f6bcfd97 | 341 | { |
fe47ec10 RD |
342 | if (_obj2) |
343 | delete _arg2; | |
f6bcfd97 BP |
344 | } |
345 | return _resultobj; | |
346 | } | |
347 | ||
fe47ec10 RD |
348 | #define wxStyledTextCtrl_ClearAll(_swigobj) (_swigobj->ClearAll()) |
349 | static PyObject *_wrap_wxStyledTextCtrl_ClearAll(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 BP |
350 | PyObject * _resultobj; |
351 | wxStyledTextCtrl * _arg0; | |
f6bcfd97 | 352 | PyObject * _argo0 = 0; |
fe47ec10 | 353 | char *_kwnames[] = { "self", NULL }; |
f6bcfd97 BP |
354 | |
355 | self = self; | |
fe47ec10 | 356 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_ClearAll",_kwnames,&_argo0)) |
f6bcfd97 BP |
357 | return NULL; |
358 | if (_argo0) { | |
359 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
360 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 361 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_ClearAll. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
362 | return NULL; |
363 | } | |
364 | } | |
f6bcfd97 BP |
365 | { |
366 | wxPy_BEGIN_ALLOW_THREADS; | |
fe47ec10 | 367 | wxStyledTextCtrl_ClearAll(_arg0); |
f6bcfd97 BP |
368 | |
369 | wxPy_END_ALLOW_THREADS; | |
370 | } Py_INCREF(Py_None); | |
371 | _resultobj = Py_None; | |
f6bcfd97 BP |
372 | return _resultobj; |
373 | } | |
374 | ||
fe47ec10 RD |
375 | #define wxStyledTextCtrl_ClearDocumentStyle(_swigobj) (_swigobj->ClearDocumentStyle()) |
376 | static PyObject *_wrap_wxStyledTextCtrl_ClearDocumentStyle(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 BP |
377 | PyObject * _resultobj; |
378 | wxStyledTextCtrl * _arg0; | |
f6bcfd97 | 379 | PyObject * _argo0 = 0; |
fe47ec10 | 380 | char *_kwnames[] = { "self", NULL }; |
f6bcfd97 BP |
381 | |
382 | self = self; | |
fe47ec10 | 383 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_ClearDocumentStyle",_kwnames,&_argo0)) |
f6bcfd97 BP |
384 | return NULL; |
385 | if (_argo0) { | |
386 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
387 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 388 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_ClearDocumentStyle. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
389 | return NULL; |
390 | } | |
391 | } | |
f6bcfd97 BP |
392 | { |
393 | wxPy_BEGIN_ALLOW_THREADS; | |
fe47ec10 | 394 | wxStyledTextCtrl_ClearDocumentStyle(_arg0); |
f6bcfd97 BP |
395 | |
396 | wxPy_END_ALLOW_THREADS; | |
397 | } Py_INCREF(Py_None); | |
398 | _resultobj = Py_None; | |
399 | return _resultobj; | |
400 | } | |
401 | ||
fe47ec10 RD |
402 | #define wxStyledTextCtrl_GetLength(_swigobj) (_swigobj->GetLength()) |
403 | static PyObject *_wrap_wxStyledTextCtrl_GetLength(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 | 404 | PyObject * _resultobj; |
fe47ec10 | 405 | int _result; |
f6bcfd97 BP |
406 | wxStyledTextCtrl * _arg0; |
407 | PyObject * _argo0 = 0; | |
408 | char *_kwnames[] = { "self", NULL }; | |
409 | ||
410 | self = self; | |
fe47ec10 | 411 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetLength",_kwnames,&_argo0)) |
f6bcfd97 BP |
412 | return NULL; |
413 | if (_argo0) { | |
414 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
415 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 416 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetLength. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
417 | return NULL; |
418 | } | |
419 | } | |
420 | { | |
421 | wxPy_BEGIN_ALLOW_THREADS; | |
fe47ec10 | 422 | _result = (int )wxStyledTextCtrl_GetLength(_arg0); |
f6bcfd97 BP |
423 | |
424 | wxPy_END_ALLOW_THREADS; | |
425 | } _resultobj = Py_BuildValue("i",_result); | |
426 | return _resultobj; | |
427 | } | |
428 | ||
fe47ec10 RD |
429 | #define wxStyledTextCtrl_GetCharAt(_swigobj,_swigarg0) (_swigobj->GetCharAt(_swigarg0)) |
430 | static PyObject *_wrap_wxStyledTextCtrl_GetCharAt(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 | 431 | PyObject * _resultobj; |
fe47ec10 | 432 | int _result; |
f6bcfd97 BP |
433 | wxStyledTextCtrl * _arg0; |
434 | int _arg1; | |
f6bcfd97 | 435 | PyObject * _argo0 = 0; |
fe47ec10 | 436 | char *_kwnames[] = { "self","pos", NULL }; |
f6bcfd97 BP |
437 | |
438 | self = self; | |
fe47ec10 | 439 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_GetCharAt",_kwnames,&_argo0,&_arg1)) |
f6bcfd97 BP |
440 | return NULL; |
441 | if (_argo0) { | |
442 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
443 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 444 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetCharAt. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
445 | return NULL; |
446 | } | |
447 | } | |
448 | { | |
449 | wxPy_BEGIN_ALLOW_THREADS; | |
fe47ec10 | 450 | _result = (int )wxStyledTextCtrl_GetCharAt(_arg0,_arg1); |
f6bcfd97 BP |
451 | |
452 | wxPy_END_ALLOW_THREADS; | |
fe47ec10 | 453 | } _resultobj = Py_BuildValue("i",_result); |
f6bcfd97 BP |
454 | return _resultobj; |
455 | } | |
456 | ||
fe47ec10 RD |
457 | #define wxStyledTextCtrl_GetCurrentPos(_swigobj) (_swigobj->GetCurrentPos()) |
458 | static PyObject *_wrap_wxStyledTextCtrl_GetCurrentPos(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 | 459 | PyObject * _resultobj; |
fe47ec10 | 460 | int _result; |
f6bcfd97 | 461 | wxStyledTextCtrl * _arg0; |
f6bcfd97 | 462 | PyObject * _argo0 = 0; |
fe47ec10 | 463 | char *_kwnames[] = { "self", NULL }; |
f6bcfd97 BP |
464 | |
465 | self = self; | |
fe47ec10 | 466 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetCurrentPos",_kwnames,&_argo0)) |
f6bcfd97 BP |
467 | return NULL; |
468 | if (_argo0) { | |
469 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
470 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 471 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetCurrentPos. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
472 | return NULL; |
473 | } | |
474 | } | |
475 | { | |
476 | wxPy_BEGIN_ALLOW_THREADS; | |
fe47ec10 | 477 | _result = (int )wxStyledTextCtrl_GetCurrentPos(_arg0); |
f6bcfd97 BP |
478 | |
479 | wxPy_END_ALLOW_THREADS; | |
fe47ec10 | 480 | } _resultobj = Py_BuildValue("i",_result); |
f6bcfd97 BP |
481 | return _resultobj; |
482 | } | |
483 | ||
fe47ec10 RD |
484 | #define wxStyledTextCtrl_GetAnchor(_swigobj) (_swigobj->GetAnchor()) |
485 | static PyObject *_wrap_wxStyledTextCtrl_GetAnchor(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 | 486 | PyObject * _resultobj; |
fe47ec10 | 487 | int _result; |
f6bcfd97 | 488 | wxStyledTextCtrl * _arg0; |
f6bcfd97 | 489 | PyObject * _argo0 = 0; |
fe47ec10 | 490 | char *_kwnames[] = { "self", NULL }; |
f6bcfd97 BP |
491 | |
492 | self = self; | |
fe47ec10 | 493 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetAnchor",_kwnames,&_argo0)) |
f6bcfd97 BP |
494 | return NULL; |
495 | if (_argo0) { | |
496 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
497 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 498 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetAnchor. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
499 | return NULL; |
500 | } | |
501 | } | |
f6bcfd97 BP |
502 | { |
503 | wxPy_BEGIN_ALLOW_THREADS; | |
fe47ec10 | 504 | _result = (int )wxStyledTextCtrl_GetAnchor(_arg0); |
f6bcfd97 BP |
505 | |
506 | wxPy_END_ALLOW_THREADS; | |
fe47ec10 | 507 | } _resultobj = Py_BuildValue("i",_result); |
f6bcfd97 BP |
508 | return _resultobj; |
509 | } | |
510 | ||
fe47ec10 RD |
511 | #define wxStyledTextCtrl_GetStyleAt(_swigobj,_swigarg0) (_swigobj->GetStyleAt(_swigarg0)) |
512 | static PyObject *_wrap_wxStyledTextCtrl_GetStyleAt(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 | 513 | PyObject * _resultobj; |
fe47ec10 | 514 | int _result; |
f6bcfd97 | 515 | wxStyledTextCtrl * _arg0; |
fe47ec10 | 516 | int _arg1; |
f6bcfd97 | 517 | PyObject * _argo0 = 0; |
fe47ec10 | 518 | char *_kwnames[] = { "self","pos", NULL }; |
f6bcfd97 BP |
519 | |
520 | self = self; | |
fe47ec10 | 521 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_GetStyleAt",_kwnames,&_argo0,&_arg1)) |
f6bcfd97 BP |
522 | return NULL; |
523 | if (_argo0) { | |
524 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
525 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 526 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetStyleAt. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
527 | return NULL; |
528 | } | |
529 | } | |
f6bcfd97 BP |
530 | { |
531 | wxPy_BEGIN_ALLOW_THREADS; | |
fe47ec10 | 532 | _result = (int )wxStyledTextCtrl_GetStyleAt(_arg0,_arg1); |
f6bcfd97 BP |
533 | |
534 | wxPy_END_ALLOW_THREADS; | |
fe47ec10 | 535 | } _resultobj = Py_BuildValue("i",_result); |
f6bcfd97 BP |
536 | return _resultobj; |
537 | } | |
538 | ||
fe47ec10 RD |
539 | #define wxStyledTextCtrl_Redo(_swigobj) (_swigobj->Redo()) |
540 | static PyObject *_wrap_wxStyledTextCtrl_Redo(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 BP |
541 | PyObject * _resultobj; |
542 | wxStyledTextCtrl * _arg0; | |
f6bcfd97 | 543 | PyObject * _argo0 = 0; |
fe47ec10 | 544 | char *_kwnames[] = { "self", NULL }; |
f6bcfd97 BP |
545 | |
546 | self = self; | |
fe47ec10 | 547 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_Redo",_kwnames,&_argo0)) |
f6bcfd97 BP |
548 | return NULL; |
549 | if (_argo0) { | |
550 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
551 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 552 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_Redo. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
553 | return NULL; |
554 | } | |
555 | } | |
f6bcfd97 BP |
556 | { |
557 | wxPy_BEGIN_ALLOW_THREADS; | |
fe47ec10 | 558 | wxStyledTextCtrl_Redo(_arg0); |
f6bcfd97 BP |
559 | |
560 | wxPy_END_ALLOW_THREADS; | |
561 | } Py_INCREF(Py_None); | |
562 | _resultobj = Py_None; | |
f6bcfd97 BP |
563 | return _resultobj; |
564 | } | |
565 | ||
fe47ec10 RD |
566 | #define wxStyledTextCtrl_SetUndoCollection(_swigobj,_swigarg0) (_swigobj->SetUndoCollection(_swigarg0)) |
567 | static PyObject *_wrap_wxStyledTextCtrl_SetUndoCollection(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 BP |
568 | PyObject * _resultobj; |
569 | wxStyledTextCtrl * _arg0; | |
fe47ec10 | 570 | bool _arg1; |
f6bcfd97 | 571 | PyObject * _argo0 = 0; |
fe47ec10 RD |
572 | int tempbool1; |
573 | char *_kwnames[] = { "self","collectUndo", NULL }; | |
f6bcfd97 BP |
574 | |
575 | self = self; | |
fe47ec10 | 576 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_SetUndoCollection",_kwnames,&_argo0,&tempbool1)) |
f6bcfd97 BP |
577 | return NULL; |
578 | if (_argo0) { | |
579 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
580 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 581 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetUndoCollection. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
582 | return NULL; |
583 | } | |
584 | } | |
fe47ec10 | 585 | _arg1 = (bool ) tempbool1; |
f6bcfd97 BP |
586 | { |
587 | wxPy_BEGIN_ALLOW_THREADS; | |
fe47ec10 | 588 | wxStyledTextCtrl_SetUndoCollection(_arg0,_arg1); |
f6bcfd97 BP |
589 | |
590 | wxPy_END_ALLOW_THREADS; | |
591 | } Py_INCREF(Py_None); | |
592 | _resultobj = Py_None; | |
593 | return _resultobj; | |
594 | } | |
595 | ||
fe47ec10 RD |
596 | #define wxStyledTextCtrl_SelectAll(_swigobj) (_swigobj->SelectAll()) |
597 | static PyObject *_wrap_wxStyledTextCtrl_SelectAll(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 | 598 | PyObject * _resultobj; |
f6bcfd97 | 599 | wxStyledTextCtrl * _arg0; |
f6bcfd97 | 600 | PyObject * _argo0 = 0; |
fe47ec10 | 601 | char *_kwnames[] = { "self", NULL }; |
f6bcfd97 BP |
602 | |
603 | self = self; | |
fe47ec10 | 604 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_SelectAll",_kwnames,&_argo0)) |
f6bcfd97 BP |
605 | return NULL; |
606 | if (_argo0) { | |
607 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
608 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 609 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SelectAll. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
610 | return NULL; |
611 | } | |
612 | } | |
613 | { | |
614 | wxPy_BEGIN_ALLOW_THREADS; | |
fe47ec10 | 615 | wxStyledTextCtrl_SelectAll(_arg0); |
f6bcfd97 BP |
616 | |
617 | wxPy_END_ALLOW_THREADS; | |
fe47ec10 RD |
618 | } Py_INCREF(Py_None); |
619 | _resultobj = Py_None; | |
f6bcfd97 BP |
620 | return _resultobj; |
621 | } | |
622 | ||
fe47ec10 RD |
623 | #define wxStyledTextCtrl_SetSavePoint(_swigobj) (_swigobj->SetSavePoint()) |
624 | static PyObject *_wrap_wxStyledTextCtrl_SetSavePoint(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 | 625 | PyObject * _resultobj; |
f6bcfd97 | 626 | wxStyledTextCtrl * _arg0; |
f6bcfd97 | 627 | PyObject * _argo0 = 0; |
fe47ec10 | 628 | char *_kwnames[] = { "self", NULL }; |
f6bcfd97 BP |
629 | |
630 | self = self; | |
fe47ec10 | 631 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_SetSavePoint",_kwnames,&_argo0)) |
f6bcfd97 BP |
632 | return NULL; |
633 | if (_argo0) { | |
634 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
635 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 636 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetSavePoint. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
637 | return NULL; |
638 | } | |
639 | } | |
640 | { | |
641 | wxPy_BEGIN_ALLOW_THREADS; | |
fe47ec10 | 642 | wxStyledTextCtrl_SetSavePoint(_arg0); |
f6bcfd97 BP |
643 | |
644 | wxPy_END_ALLOW_THREADS; | |
fe47ec10 RD |
645 | } Py_INCREF(Py_None); |
646 | _resultobj = Py_None; | |
f6bcfd97 BP |
647 | return _resultobj; |
648 | } | |
649 | ||
fe47ec10 RD |
650 | #define wxStyledTextCtrl_GetStyledText(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetStyledText(_swigarg0,_swigarg1)) |
651 | static PyObject *_wrap_wxStyledTextCtrl_GetStyledText(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 | 652 | PyObject * _resultobj; |
fe47ec10 | 653 | wxString * _result; |
f6bcfd97 BP |
654 | wxStyledTextCtrl * _arg0; |
655 | int _arg1; | |
fe47ec10 | 656 | int _arg2; |
f6bcfd97 | 657 | PyObject * _argo0 = 0; |
fe47ec10 | 658 | char *_kwnames[] = { "self","startPos","endPos", NULL }; |
f6bcfd97 BP |
659 | |
660 | self = self; | |
fe47ec10 | 661 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxStyledTextCtrl_GetStyledText",_kwnames,&_argo0,&_arg1,&_arg2)) |
f6bcfd97 BP |
662 | return NULL; |
663 | if (_argo0) { | |
664 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
665 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 666 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetStyledText. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
667 | return NULL; |
668 | } | |
669 | } | |
670 | { | |
671 | wxPy_BEGIN_ALLOW_THREADS; | |
fe47ec10 | 672 | _result = new wxString (wxStyledTextCtrl_GetStyledText(_arg0,_arg1,_arg2)); |
f6bcfd97 BP |
673 | |
674 | wxPy_END_ALLOW_THREADS; | |
fe47ec10 RD |
675 | }{ |
676 | _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len()); | |
677 | } | |
678 | { | |
679 | delete _result; | |
680 | } | |
f6bcfd97 BP |
681 | return _resultobj; |
682 | } | |
683 | ||
fe47ec10 RD |
684 | #define wxStyledTextCtrl_CanRedo(_swigobj) (_swigobj->CanRedo()) |
685 | static PyObject *_wrap_wxStyledTextCtrl_CanRedo(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 | 686 | PyObject * _resultobj; |
fe47ec10 | 687 | bool _result; |
f6bcfd97 BP |
688 | wxStyledTextCtrl * _arg0; |
689 | PyObject * _argo0 = 0; | |
690 | char *_kwnames[] = { "self", NULL }; | |
691 | ||
692 | self = self; | |
fe47ec10 | 693 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_CanRedo",_kwnames,&_argo0)) |
f6bcfd97 BP |
694 | return NULL; |
695 | if (_argo0) { | |
696 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
697 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 698 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_CanRedo. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
699 | return NULL; |
700 | } | |
701 | } | |
702 | { | |
703 | wxPy_BEGIN_ALLOW_THREADS; | |
fe47ec10 | 704 | _result = (bool )wxStyledTextCtrl_CanRedo(_arg0); |
f6bcfd97 BP |
705 | |
706 | wxPy_END_ALLOW_THREADS; | |
707 | } _resultobj = Py_BuildValue("i",_result); | |
708 | return _resultobj; | |
709 | } | |
710 | ||
fe47ec10 RD |
711 | #define wxStyledTextCtrl_MarkerLineFromHandle(_swigobj,_swigarg0) (_swigobj->MarkerLineFromHandle(_swigarg0)) |
712 | static PyObject *_wrap_wxStyledTextCtrl_MarkerLineFromHandle(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 | 713 | PyObject * _resultobj; |
fe47ec10 | 714 | int _result; |
f6bcfd97 | 715 | wxStyledTextCtrl * _arg0; |
fe47ec10 | 716 | int _arg1; |
f6bcfd97 | 717 | PyObject * _argo0 = 0; |
fe47ec10 | 718 | char *_kwnames[] = { "self","handle", NULL }; |
f6bcfd97 BP |
719 | |
720 | self = self; | |
fe47ec10 | 721 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_MarkerLineFromHandle",_kwnames,&_argo0,&_arg1)) |
f6bcfd97 BP |
722 | return NULL; |
723 | if (_argo0) { | |
724 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
725 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 726 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_MarkerLineFromHandle. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
727 | return NULL; |
728 | } | |
729 | } | |
730 | { | |
731 | wxPy_BEGIN_ALLOW_THREADS; | |
fe47ec10 | 732 | _result = (int )wxStyledTextCtrl_MarkerLineFromHandle(_arg0,_arg1); |
f6bcfd97 BP |
733 | |
734 | wxPy_END_ALLOW_THREADS; | |
fe47ec10 | 735 | } _resultobj = Py_BuildValue("i",_result); |
f6bcfd97 BP |
736 | return _resultobj; |
737 | } | |
738 | ||
fe47ec10 RD |
739 | #define wxStyledTextCtrl_MarkerDeleteHandle(_swigobj,_swigarg0) (_swigobj->MarkerDeleteHandle(_swigarg0)) |
740 | static PyObject *_wrap_wxStyledTextCtrl_MarkerDeleteHandle(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 BP |
741 | PyObject * _resultobj; |
742 | wxStyledTextCtrl * _arg0; | |
fe47ec10 | 743 | int _arg1; |
f6bcfd97 | 744 | PyObject * _argo0 = 0; |
fe47ec10 | 745 | char *_kwnames[] = { "self","handle", NULL }; |
f6bcfd97 BP |
746 | |
747 | self = self; | |
fe47ec10 | 748 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_MarkerDeleteHandle",_kwnames,&_argo0,&_arg1)) |
f6bcfd97 BP |
749 | return NULL; |
750 | if (_argo0) { | |
751 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
752 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 753 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_MarkerDeleteHandle. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
754 | return NULL; |
755 | } | |
756 | } | |
757 | { | |
758 | wxPy_BEGIN_ALLOW_THREADS; | |
fe47ec10 | 759 | wxStyledTextCtrl_MarkerDeleteHandle(_arg0,_arg1); |
f6bcfd97 BP |
760 | |
761 | wxPy_END_ALLOW_THREADS; | |
762 | } Py_INCREF(Py_None); | |
763 | _resultobj = Py_None; | |
764 | return _resultobj; | |
765 | } | |
766 | ||
fe47ec10 RD |
767 | #define wxStyledTextCtrl_GetUndoCollection(_swigobj) (_swigobj->GetUndoCollection()) |
768 | static PyObject *_wrap_wxStyledTextCtrl_GetUndoCollection(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 | 769 | PyObject * _resultobj; |
fe47ec10 | 770 | bool _result; |
f6bcfd97 BP |
771 | wxStyledTextCtrl * _arg0; |
772 | PyObject * _argo0 = 0; | |
773 | char *_kwnames[] = { "self", NULL }; | |
774 | ||
775 | self = self; | |
fe47ec10 | 776 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetUndoCollection",_kwnames,&_argo0)) |
f6bcfd97 BP |
777 | return NULL; |
778 | if (_argo0) { | |
779 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
780 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 781 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetUndoCollection. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
782 | return NULL; |
783 | } | |
784 | } | |
785 | { | |
786 | wxPy_BEGIN_ALLOW_THREADS; | |
fe47ec10 | 787 | _result = (bool )wxStyledTextCtrl_GetUndoCollection(_arg0); |
f6bcfd97 BP |
788 | |
789 | wxPy_END_ALLOW_THREADS; | |
fe47ec10 | 790 | } _resultobj = Py_BuildValue("i",_result); |
f6bcfd97 BP |
791 | return _resultobj; |
792 | } | |
793 | ||
fe47ec10 RD |
794 | #define wxStyledTextCtrl_GetViewWhiteSpace(_swigobj) (_swigobj->GetViewWhiteSpace()) |
795 | static PyObject *_wrap_wxStyledTextCtrl_GetViewWhiteSpace(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 | 796 | PyObject * _resultobj; |
fe47ec10 | 797 | int _result; |
f6bcfd97 BP |
798 | wxStyledTextCtrl * _arg0; |
799 | PyObject * _argo0 = 0; | |
800 | char *_kwnames[] = { "self", NULL }; | |
801 | ||
802 | self = self; | |
fe47ec10 | 803 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetViewWhiteSpace",_kwnames,&_argo0)) |
f6bcfd97 BP |
804 | return NULL; |
805 | if (_argo0) { | |
806 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
807 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 808 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetViewWhiteSpace. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
809 | return NULL; |
810 | } | |
811 | } | |
812 | { | |
813 | wxPy_BEGIN_ALLOW_THREADS; | |
fe47ec10 | 814 | _result = (int )wxStyledTextCtrl_GetViewWhiteSpace(_arg0); |
f6bcfd97 BP |
815 | |
816 | wxPy_END_ALLOW_THREADS; | |
817 | } _resultobj = Py_BuildValue("i",_result); | |
818 | return _resultobj; | |
819 | } | |
820 | ||
fe47ec10 RD |
821 | #define wxStyledTextCtrl_SetViewWhiteSpace(_swigobj,_swigarg0) (_swigobj->SetViewWhiteSpace(_swigarg0)) |
822 | static PyObject *_wrap_wxStyledTextCtrl_SetViewWhiteSpace(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 BP |
823 | PyObject * _resultobj; |
824 | wxStyledTextCtrl * _arg0; | |
fe47ec10 | 825 | int _arg1; |
f6bcfd97 | 826 | PyObject * _argo0 = 0; |
fe47ec10 | 827 | char *_kwnames[] = { "self","viewWS", NULL }; |
f6bcfd97 BP |
828 | |
829 | self = self; | |
fe47ec10 | 830 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_SetViewWhiteSpace",_kwnames,&_argo0,&_arg1)) |
f6bcfd97 BP |
831 | return NULL; |
832 | if (_argo0) { | |
833 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
834 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 835 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetViewWhiteSpace. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
836 | return NULL; |
837 | } | |
838 | } | |
839 | { | |
840 | wxPy_BEGIN_ALLOW_THREADS; | |
fe47ec10 | 841 | wxStyledTextCtrl_SetViewWhiteSpace(_arg0,_arg1); |
f6bcfd97 BP |
842 | |
843 | wxPy_END_ALLOW_THREADS; | |
844 | } Py_INCREF(Py_None); | |
845 | _resultobj = Py_None; | |
846 | return _resultobj; | |
847 | } | |
848 | ||
fe47ec10 RD |
849 | #define wxStyledTextCtrl_PositionFromPoint(_swigobj,_swigarg0) (_swigobj->PositionFromPoint(_swigarg0)) |
850 | static PyObject *_wrap_wxStyledTextCtrl_PositionFromPoint(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 | 851 | PyObject * _resultobj; |
fe47ec10 | 852 | int _result; |
f6bcfd97 | 853 | wxStyledTextCtrl * _arg0; |
fe47ec10 | 854 | wxPoint * _arg1; |
f6bcfd97 | 855 | PyObject * _argo0 = 0; |
fe47ec10 RD |
856 | wxPoint temp; |
857 | PyObject * _obj1 = 0; | |
858 | char *_kwnames[] = { "self","pt", NULL }; | |
f6bcfd97 BP |
859 | |
860 | self = self; | |
fe47ec10 | 861 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxStyledTextCtrl_PositionFromPoint",_kwnames,&_argo0,&_obj1)) |
f6bcfd97 BP |
862 | return NULL; |
863 | if (_argo0) { | |
864 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
865 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 866 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_PositionFromPoint. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
867 | return NULL; |
868 | } | |
869 | } | |
fe47ec10 RD |
870 | { |
871 | _arg1 = &temp; | |
872 | if (! wxPoint_helper(_obj1, &_arg1)) | |
873 | return NULL; | |
874 | } | |
f6bcfd97 BP |
875 | { |
876 | wxPy_BEGIN_ALLOW_THREADS; | |
fe47ec10 | 877 | _result = (int )wxStyledTextCtrl_PositionFromPoint(_arg0,*_arg1); |
f6bcfd97 BP |
878 | |
879 | wxPy_END_ALLOW_THREADS; | |
fe47ec10 | 880 | } _resultobj = Py_BuildValue("i",_result); |
f6bcfd97 BP |
881 | return _resultobj; |
882 | } | |
883 | ||
fe47ec10 RD |
884 | #define wxStyledTextCtrl_GotoLine(_swigobj,_swigarg0) (_swigobj->GotoLine(_swigarg0)) |
885 | static PyObject *_wrap_wxStyledTextCtrl_GotoLine(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 | 886 | PyObject * _resultobj; |
f6bcfd97 | 887 | wxStyledTextCtrl * _arg0; |
fe47ec10 | 888 | int _arg1; |
f6bcfd97 | 889 | PyObject * _argo0 = 0; |
fe47ec10 | 890 | char *_kwnames[] = { "self","line", NULL }; |
f6bcfd97 BP |
891 | |
892 | self = self; | |
fe47ec10 | 893 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_GotoLine",_kwnames,&_argo0,&_arg1)) |
f6bcfd97 BP |
894 | return NULL; |
895 | if (_argo0) { | |
896 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
897 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 898 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GotoLine. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
899 | return NULL; |
900 | } | |
901 | } | |
902 | { | |
903 | wxPy_BEGIN_ALLOW_THREADS; | |
fe47ec10 | 904 | wxStyledTextCtrl_GotoLine(_arg0,_arg1); |
f6bcfd97 BP |
905 | |
906 | wxPy_END_ALLOW_THREADS; | |
fe47ec10 RD |
907 | } Py_INCREF(Py_None); |
908 | _resultobj = Py_None; | |
f6bcfd97 BP |
909 | return _resultobj; |
910 | } | |
911 | ||
fe47ec10 RD |
912 | #define wxStyledTextCtrl_GotoPos(_swigobj,_swigarg0) (_swigobj->GotoPos(_swigarg0)) |
913 | static PyObject *_wrap_wxStyledTextCtrl_GotoPos(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 BP |
914 | PyObject * _resultobj; |
915 | wxStyledTextCtrl * _arg0; | |
fe47ec10 | 916 | int _arg1; |
f6bcfd97 | 917 | PyObject * _argo0 = 0; |
fe47ec10 | 918 | char *_kwnames[] = { "self","pos", NULL }; |
f6bcfd97 BP |
919 | |
920 | self = self; | |
fe47ec10 | 921 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_GotoPos",_kwnames,&_argo0,&_arg1)) |
f6bcfd97 BP |
922 | return NULL; |
923 | if (_argo0) { | |
924 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
925 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 926 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GotoPos. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
927 | return NULL; |
928 | } | |
929 | } | |
930 | { | |
931 | wxPy_BEGIN_ALLOW_THREADS; | |
fe47ec10 | 932 | wxStyledTextCtrl_GotoPos(_arg0,_arg1); |
f6bcfd97 BP |
933 | |
934 | wxPy_END_ALLOW_THREADS; | |
935 | } Py_INCREF(Py_None); | |
936 | _resultobj = Py_None; | |
937 | return _resultobj; | |
938 | } | |
939 | ||
fe47ec10 RD |
940 | #define wxStyledTextCtrl_SetAnchor(_swigobj,_swigarg0) (_swigobj->SetAnchor(_swigarg0)) |
941 | static PyObject *_wrap_wxStyledTextCtrl_SetAnchor(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 BP |
942 | PyObject * _resultobj; |
943 | wxStyledTextCtrl * _arg0; | |
fe47ec10 | 944 | int _arg1; |
f6bcfd97 | 945 | PyObject * _argo0 = 0; |
fe47ec10 | 946 | char *_kwnames[] = { "self","posAnchor", NULL }; |
f6bcfd97 BP |
947 | |
948 | self = self; | |
fe47ec10 | 949 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_SetAnchor",_kwnames,&_argo0,&_arg1)) |
f6bcfd97 BP |
950 | return NULL; |
951 | if (_argo0) { | |
952 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
953 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 954 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetAnchor. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
955 | return NULL; |
956 | } | |
957 | } | |
958 | { | |
959 | wxPy_BEGIN_ALLOW_THREADS; | |
fe47ec10 | 960 | wxStyledTextCtrl_SetAnchor(_arg0,_arg1); |
f6bcfd97 BP |
961 | |
962 | wxPy_END_ALLOW_THREADS; | |
963 | } Py_INCREF(Py_None); | |
964 | _resultobj = Py_None; | |
965 | return _resultobj; | |
966 | } | |
967 | ||
fe47ec10 RD |
968 | #define wxStyledTextCtrl_GetCurLine(_swigobj,_swigarg0) (_swigobj->GetCurLine(_swigarg0)) |
969 | static PyObject *_wrap_wxStyledTextCtrl_GetCurLine(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 | 970 | PyObject * _resultobj; |
fe47ec10 | 971 | wxString * _result; |
f6bcfd97 | 972 | wxStyledTextCtrl * _arg0; |
fe47ec10 RD |
973 | int * _arg1 = (int *) NULL; |
974 | int temp; | |
f6bcfd97 BP |
975 | PyObject * _argo0 = 0; |
976 | char *_kwnames[] = { "self", NULL }; | |
977 | ||
978 | self = self; | |
fe47ec10 RD |
979 | { |
980 | _arg1 = &temp; | |
981 | } | |
982 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetCurLine",_kwnames,&_argo0)) | |
f6bcfd97 BP |
983 | return NULL; |
984 | if (_argo0) { | |
985 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
986 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 987 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetCurLine. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
988 | return NULL; |
989 | } | |
990 | } | |
991 | { | |
992 | wxPy_BEGIN_ALLOW_THREADS; | |
fe47ec10 | 993 | _result = new wxString (wxStyledTextCtrl_GetCurLine(_arg0,_arg1)); |
f6bcfd97 BP |
994 | |
995 | wxPy_END_ALLOW_THREADS; | |
fe47ec10 RD |
996 | }{ |
997 | _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len()); | |
998 | } | |
999 | { | |
1000 | PyObject *o; | |
1001 | o = PyInt_FromLong((long) (*_arg1)); | |
1002 | _resultobj = t_output_helper(_resultobj, o); | |
1003 | } | |
1004 | { | |
1005 | delete _result; | |
1006 | } | |
f6bcfd97 BP |
1007 | return _resultobj; |
1008 | } | |
1009 | ||
fe47ec10 RD |
1010 | #define wxStyledTextCtrl_GetEndStyled(_swigobj) (_swigobj->GetEndStyled()) |
1011 | static PyObject *_wrap_wxStyledTextCtrl_GetEndStyled(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 | 1012 | PyObject * _resultobj; |
fe47ec10 | 1013 | int _result; |
f6bcfd97 | 1014 | wxStyledTextCtrl * _arg0; |
f6bcfd97 | 1015 | PyObject * _argo0 = 0; |
fe47ec10 | 1016 | char *_kwnames[] = { "self", NULL }; |
f6bcfd97 BP |
1017 | |
1018 | self = self; | |
fe47ec10 | 1019 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetEndStyled",_kwnames,&_argo0)) |
f6bcfd97 BP |
1020 | return NULL; |
1021 | if (_argo0) { | |
1022 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1023 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 1024 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetEndStyled. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
1025 | return NULL; |
1026 | } | |
1027 | } | |
1028 | { | |
1029 | wxPy_BEGIN_ALLOW_THREADS; | |
fe47ec10 | 1030 | _result = (int )wxStyledTextCtrl_GetEndStyled(_arg0); |
f6bcfd97 BP |
1031 | |
1032 | wxPy_END_ALLOW_THREADS; | |
fe47ec10 | 1033 | } _resultobj = Py_BuildValue("i",_result); |
f6bcfd97 BP |
1034 | return _resultobj; |
1035 | } | |
1036 | ||
fe47ec10 RD |
1037 | #define wxStyledTextCtrl_ConvertEOLs(_swigobj) (_swigobj->ConvertEOLs()) |
1038 | static PyObject *_wrap_wxStyledTextCtrl_ConvertEOLs(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 | 1039 | PyObject * _resultobj; |
f6bcfd97 BP |
1040 | wxStyledTextCtrl * _arg0; |
1041 | PyObject * _argo0 = 0; | |
1042 | char *_kwnames[] = { "self", NULL }; | |
1043 | ||
1044 | self = self; | |
fe47ec10 | 1045 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_ConvertEOLs",_kwnames,&_argo0)) |
f6bcfd97 BP |
1046 | return NULL; |
1047 | if (_argo0) { | |
1048 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1049 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 1050 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_ConvertEOLs. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
1051 | return NULL; |
1052 | } | |
1053 | } | |
1054 | { | |
1055 | wxPy_BEGIN_ALLOW_THREADS; | |
fe47ec10 | 1056 | wxStyledTextCtrl_ConvertEOLs(_arg0); |
f6bcfd97 BP |
1057 | |
1058 | wxPy_END_ALLOW_THREADS; | |
fe47ec10 RD |
1059 | } Py_INCREF(Py_None); |
1060 | _resultobj = Py_None; | |
f6bcfd97 BP |
1061 | return _resultobj; |
1062 | } | |
1063 | ||
fe47ec10 RD |
1064 | #define wxStyledTextCtrl_GetEOLMode(_swigobj) (_swigobj->GetEOLMode()) |
1065 | static PyObject *_wrap_wxStyledTextCtrl_GetEOLMode(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 | 1066 | PyObject * _resultobj; |
fe47ec10 | 1067 | int _result; |
f6bcfd97 BP |
1068 | wxStyledTextCtrl * _arg0; |
1069 | PyObject * _argo0 = 0; | |
1070 | char *_kwnames[] = { "self", NULL }; | |
1071 | ||
1072 | self = self; | |
fe47ec10 | 1073 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetEOLMode",_kwnames,&_argo0)) |
f6bcfd97 BP |
1074 | return NULL; |
1075 | if (_argo0) { | |
1076 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1077 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 1078 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetEOLMode. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
1079 | return NULL; |
1080 | } | |
1081 | } | |
1082 | { | |
1083 | wxPy_BEGIN_ALLOW_THREADS; | |
fe47ec10 | 1084 | _result = (int )wxStyledTextCtrl_GetEOLMode(_arg0); |
f6bcfd97 BP |
1085 | |
1086 | wxPy_END_ALLOW_THREADS; | |
fe47ec10 | 1087 | } _resultobj = Py_BuildValue("i",_result); |
f6bcfd97 BP |
1088 | return _resultobj; |
1089 | } | |
1090 | ||
fe47ec10 RD |
1091 | #define wxStyledTextCtrl_SetEOLMode(_swigobj,_swigarg0) (_swigobj->SetEOLMode(_swigarg0)) |
1092 | static PyObject *_wrap_wxStyledTextCtrl_SetEOLMode(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 BP |
1093 | PyObject * _resultobj; |
1094 | wxStyledTextCtrl * _arg0; | |
fe47ec10 | 1095 | int _arg1; |
f6bcfd97 | 1096 | PyObject * _argo0 = 0; |
fe47ec10 | 1097 | char *_kwnames[] = { "self","eolMode", NULL }; |
f6bcfd97 BP |
1098 | |
1099 | self = self; | |
fe47ec10 | 1100 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_SetEOLMode",_kwnames,&_argo0,&_arg1)) |
f6bcfd97 BP |
1101 | return NULL; |
1102 | if (_argo0) { | |
1103 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1104 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 1105 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetEOLMode. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
1106 | return NULL; |
1107 | } | |
1108 | } | |
1109 | { | |
1110 | wxPy_BEGIN_ALLOW_THREADS; | |
fe47ec10 | 1111 | wxStyledTextCtrl_SetEOLMode(_arg0,_arg1); |
f6bcfd97 BP |
1112 | |
1113 | wxPy_END_ALLOW_THREADS; | |
1114 | } Py_INCREF(Py_None); | |
1115 | _resultobj = Py_None; | |
1116 | return _resultobj; | |
1117 | } | |
1118 | ||
fe47ec10 RD |
1119 | #define wxStyledTextCtrl_StartStyling(_swigobj,_swigarg0,_swigarg1) (_swigobj->StartStyling(_swigarg0,_swigarg1)) |
1120 | static PyObject *_wrap_wxStyledTextCtrl_StartStyling(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 BP |
1121 | PyObject * _resultobj; |
1122 | wxStyledTextCtrl * _arg0; | |
fe47ec10 RD |
1123 | int _arg1; |
1124 | int _arg2; | |
f6bcfd97 | 1125 | PyObject * _argo0 = 0; |
fe47ec10 | 1126 | char *_kwnames[] = { "self","pos","mask", NULL }; |
f6bcfd97 BP |
1127 | |
1128 | self = self; | |
fe47ec10 | 1129 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxStyledTextCtrl_StartStyling",_kwnames,&_argo0,&_arg1,&_arg2)) |
f6bcfd97 BP |
1130 | return NULL; |
1131 | if (_argo0) { | |
1132 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1133 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 1134 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_StartStyling. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
1135 | return NULL; |
1136 | } | |
1137 | } | |
1138 | { | |
1139 | wxPy_BEGIN_ALLOW_THREADS; | |
fe47ec10 | 1140 | wxStyledTextCtrl_StartStyling(_arg0,_arg1,_arg2); |
f6bcfd97 BP |
1141 | |
1142 | wxPy_END_ALLOW_THREADS; | |
1143 | } Py_INCREF(Py_None); | |
1144 | _resultobj = Py_None; | |
f6bcfd97 BP |
1145 | return _resultobj; |
1146 | } | |
1147 | ||
fe47ec10 RD |
1148 | #define wxStyledTextCtrl_SetStyling(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetStyling(_swigarg0,_swigarg1)) |
1149 | static PyObject *_wrap_wxStyledTextCtrl_SetStyling(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 BP |
1150 | PyObject * _resultobj; |
1151 | wxStyledTextCtrl * _arg0; | |
1152 | int _arg1; | |
1153 | int _arg2; | |
1154 | PyObject * _argo0 = 0; | |
fe47ec10 | 1155 | char *_kwnames[] = { "self","length","style", NULL }; |
f6bcfd97 BP |
1156 | |
1157 | self = self; | |
fe47ec10 | 1158 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxStyledTextCtrl_SetStyling",_kwnames,&_argo0,&_arg1,&_arg2)) |
f6bcfd97 BP |
1159 | return NULL; |
1160 | if (_argo0) { | |
1161 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1162 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 1163 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetStyling. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
1164 | return NULL; |
1165 | } | |
1166 | } | |
1167 | { | |
1168 | wxPy_BEGIN_ALLOW_THREADS; | |
fe47ec10 | 1169 | wxStyledTextCtrl_SetStyling(_arg0,_arg1,_arg2); |
f6bcfd97 BP |
1170 | |
1171 | wxPy_END_ALLOW_THREADS; | |
1172 | } Py_INCREF(Py_None); | |
1173 | _resultobj = Py_None; | |
1174 | return _resultobj; | |
1175 | } | |
1176 | ||
fe47ec10 RD |
1177 | #define wxStyledTextCtrl_GetBufferedDraw(_swigobj) (_swigobj->GetBufferedDraw()) |
1178 | static PyObject *_wrap_wxStyledTextCtrl_GetBufferedDraw(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 | 1179 | PyObject * _resultobj; |
fe47ec10 | 1180 | bool _result; |
f6bcfd97 BP |
1181 | wxStyledTextCtrl * _arg0; |
1182 | PyObject * _argo0 = 0; | |
1183 | char *_kwnames[] = { "self", NULL }; | |
1184 | ||
1185 | self = self; | |
fe47ec10 | 1186 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetBufferedDraw",_kwnames,&_argo0)) |
f6bcfd97 BP |
1187 | return NULL; |
1188 | if (_argo0) { | |
1189 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1190 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 1191 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetBufferedDraw. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
1192 | return NULL; |
1193 | } | |
1194 | } | |
1195 | { | |
1196 | wxPy_BEGIN_ALLOW_THREADS; | |
fe47ec10 | 1197 | _result = (bool )wxStyledTextCtrl_GetBufferedDraw(_arg0); |
f6bcfd97 BP |
1198 | |
1199 | wxPy_END_ALLOW_THREADS; | |
fe47ec10 | 1200 | } _resultobj = Py_BuildValue("i",_result); |
f6bcfd97 BP |
1201 | return _resultobj; |
1202 | } | |
1203 | ||
fe47ec10 RD |
1204 | #define wxStyledTextCtrl_SetBufferedDraw(_swigobj,_swigarg0) (_swigobj->SetBufferedDraw(_swigarg0)) |
1205 | static PyObject *_wrap_wxStyledTextCtrl_SetBufferedDraw(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 BP |
1206 | PyObject * _resultobj; |
1207 | wxStyledTextCtrl * _arg0; | |
1208 | bool _arg1; | |
1209 | PyObject * _argo0 = 0; | |
1210 | int tempbool1; | |
fe47ec10 | 1211 | char *_kwnames[] = { "self","buffered", NULL }; |
f6bcfd97 BP |
1212 | |
1213 | self = self; | |
fe47ec10 | 1214 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_SetBufferedDraw",_kwnames,&_argo0,&tempbool1)) |
f6bcfd97 BP |
1215 | return NULL; |
1216 | if (_argo0) { | |
1217 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1218 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 1219 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetBufferedDraw. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
1220 | return NULL; |
1221 | } | |
1222 | } | |
1223 | _arg1 = (bool ) tempbool1; | |
1224 | { | |
1225 | wxPy_BEGIN_ALLOW_THREADS; | |
fe47ec10 | 1226 | wxStyledTextCtrl_SetBufferedDraw(_arg0,_arg1); |
f6bcfd97 BP |
1227 | |
1228 | wxPy_END_ALLOW_THREADS; | |
1229 | } Py_INCREF(Py_None); | |
1230 | _resultobj = Py_None; | |
1231 | return _resultobj; | |
1232 | } | |
1233 | ||
fe47ec10 RD |
1234 | #define wxStyledTextCtrl_SetTabWidth(_swigobj,_swigarg0) (_swigobj->SetTabWidth(_swigarg0)) |
1235 | static PyObject *_wrap_wxStyledTextCtrl_SetTabWidth(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 | 1236 | PyObject * _resultobj; |
f6bcfd97 | 1237 | wxStyledTextCtrl * _arg0; |
fe47ec10 | 1238 | int _arg1; |
f6bcfd97 | 1239 | PyObject * _argo0 = 0; |
fe47ec10 | 1240 | char *_kwnames[] = { "self","tabWidth", NULL }; |
f6bcfd97 BP |
1241 | |
1242 | self = self; | |
fe47ec10 | 1243 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_SetTabWidth",_kwnames,&_argo0,&_arg1)) |
f6bcfd97 BP |
1244 | return NULL; |
1245 | if (_argo0) { | |
1246 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1247 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 1248 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetTabWidth. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
1249 | return NULL; |
1250 | } | |
1251 | } | |
1252 | { | |
1253 | wxPy_BEGIN_ALLOW_THREADS; | |
fe47ec10 | 1254 | wxStyledTextCtrl_SetTabWidth(_arg0,_arg1); |
f6bcfd97 BP |
1255 | |
1256 | wxPy_END_ALLOW_THREADS; | |
fe47ec10 RD |
1257 | } Py_INCREF(Py_None); |
1258 | _resultobj = Py_None; | |
f6bcfd97 BP |
1259 | return _resultobj; |
1260 | } | |
1261 | ||
fe47ec10 RD |
1262 | #define wxStyledTextCtrl_GetTabWidth(_swigobj) (_swigobj->GetTabWidth()) |
1263 | static PyObject *_wrap_wxStyledTextCtrl_GetTabWidth(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 BP |
1264 | PyObject * _resultobj; |
1265 | int _result; | |
1266 | wxStyledTextCtrl * _arg0; | |
1267 | PyObject * _argo0 = 0; | |
1268 | char *_kwnames[] = { "self", NULL }; | |
1269 | ||
1270 | self = self; | |
fe47ec10 | 1271 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetTabWidth",_kwnames,&_argo0)) |
f6bcfd97 BP |
1272 | return NULL; |
1273 | if (_argo0) { | |
1274 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1275 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 1276 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetTabWidth. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
1277 | return NULL; |
1278 | } | |
1279 | } | |
1280 | { | |
1281 | wxPy_BEGIN_ALLOW_THREADS; | |
fe47ec10 | 1282 | _result = (int )wxStyledTextCtrl_GetTabWidth(_arg0); |
f6bcfd97 BP |
1283 | |
1284 | wxPy_END_ALLOW_THREADS; | |
1285 | } _resultobj = Py_BuildValue("i",_result); | |
1286 | return _resultobj; | |
1287 | } | |
1288 | ||
fe47ec10 RD |
1289 | #define wxStyledTextCtrl_SetCodePage(_swigobj,_swigarg0) (_swigobj->SetCodePage(_swigarg0)) |
1290 | static PyObject *_wrap_wxStyledTextCtrl_SetCodePage(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 | 1291 | PyObject * _resultobj; |
f6bcfd97 | 1292 | wxStyledTextCtrl * _arg0; |
fe47ec10 | 1293 | int _arg1; |
f6bcfd97 | 1294 | PyObject * _argo0 = 0; |
fe47ec10 | 1295 | char *_kwnames[] = { "self","codePage", NULL }; |
f6bcfd97 BP |
1296 | |
1297 | self = self; | |
fe47ec10 | 1298 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_SetCodePage",_kwnames,&_argo0,&_arg1)) |
f6bcfd97 BP |
1299 | return NULL; |
1300 | if (_argo0) { | |
1301 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1302 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 1303 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetCodePage. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
1304 | return NULL; |
1305 | } | |
1306 | } | |
1307 | { | |
1308 | wxPy_BEGIN_ALLOW_THREADS; | |
fe47ec10 | 1309 | wxStyledTextCtrl_SetCodePage(_arg0,_arg1); |
f6bcfd97 BP |
1310 | |
1311 | wxPy_END_ALLOW_THREADS; | |
fe47ec10 RD |
1312 | } Py_INCREF(Py_None); |
1313 | _resultobj = Py_None; | |
f6bcfd97 BP |
1314 | return _resultobj; |
1315 | } | |
1316 | ||
fe47ec10 RD |
1317 | #define wxStyledTextCtrl_MarkerDefine(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->MarkerDefine(_swigarg0,_swigarg1,_swigarg2,_swigarg3)) |
1318 | static PyObject *_wrap_wxStyledTextCtrl_MarkerDefine(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 | 1319 | PyObject * _resultobj; |
f6bcfd97 | 1320 | wxStyledTextCtrl * _arg0; |
fe47ec10 RD |
1321 | int _arg1; |
1322 | int _arg2; | |
1323 | wxColour * _arg3 = (wxColour *) &wxNullColour; | |
1324 | wxColour * _arg4 = (wxColour *) &wxNullColour; | |
f6bcfd97 | 1325 | PyObject * _argo0 = 0; |
fe47ec10 RD |
1326 | wxColour temp; |
1327 | PyObject * _obj3 = 0; | |
1328 | wxColour temp0; | |
1329 | PyObject * _obj4 = 0; | |
1330 | char *_kwnames[] = { "self","markerNumber","markerSymbol","foreground","background", NULL }; | |
f6bcfd97 BP |
1331 | |
1332 | self = self; | |
fe47ec10 | 1333 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii|OO:wxStyledTextCtrl_MarkerDefine",_kwnames,&_argo0,&_arg1,&_arg2,&_obj3,&_obj4)) |
f6bcfd97 BP |
1334 | return NULL; |
1335 | if (_argo0) { | |
1336 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1337 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 1338 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_MarkerDefine. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
1339 | return NULL; |
1340 | } | |
1341 | } | |
fe47ec10 RD |
1342 | if (_obj3) |
1343 | { | |
1344 | _arg3 = &temp; | |
1345 | if (! wxColour_helper(_obj3, &_arg3)) | |
1346 | return NULL; | |
1347 | } | |
1348 | if (_obj4) | |
1349 | { | |
1350 | _arg4 = &temp0; | |
1351 | if (! wxColour_helper(_obj4, &_arg4)) | |
1352 | return NULL; | |
1353 | } | |
f6bcfd97 BP |
1354 | { |
1355 | wxPy_BEGIN_ALLOW_THREADS; | |
fe47ec10 | 1356 | wxStyledTextCtrl_MarkerDefine(_arg0,_arg1,_arg2,*_arg3,*_arg4); |
f6bcfd97 BP |
1357 | |
1358 | wxPy_END_ALLOW_THREADS; | |
fe47ec10 RD |
1359 | } Py_INCREF(Py_None); |
1360 | _resultobj = Py_None; | |
f6bcfd97 BP |
1361 | return _resultobj; |
1362 | } | |
1363 | ||
fe47ec10 RD |
1364 | #define wxStyledTextCtrl_MarkerSetForeground(_swigobj,_swigarg0,_swigarg1) (_swigobj->MarkerSetForeground(_swigarg0,_swigarg1)) |
1365 | static PyObject *_wrap_wxStyledTextCtrl_MarkerSetForeground(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 | 1366 | PyObject * _resultobj; |
f6bcfd97 | 1367 | wxStyledTextCtrl * _arg0; |
fe47ec10 RD |
1368 | int _arg1; |
1369 | wxColour * _arg2; | |
f6bcfd97 | 1370 | PyObject * _argo0 = 0; |
fe47ec10 RD |
1371 | wxColour temp; |
1372 | PyObject * _obj2 = 0; | |
1373 | char *_kwnames[] = { "self","markerNumber","fore", NULL }; | |
f6bcfd97 BP |
1374 | |
1375 | self = self; | |
fe47ec10 | 1376 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxStyledTextCtrl_MarkerSetForeground",_kwnames,&_argo0,&_arg1,&_obj2)) |
f6bcfd97 BP |
1377 | return NULL; |
1378 | if (_argo0) { | |
1379 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1380 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 1381 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_MarkerSetForeground. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
1382 | return NULL; |
1383 | } | |
1384 | } | |
fe47ec10 RD |
1385 | { |
1386 | _arg2 = &temp; | |
1387 | if (! wxColour_helper(_obj2, &_arg2)) | |
1388 | return NULL; | |
1389 | } | |
f6bcfd97 BP |
1390 | { |
1391 | wxPy_BEGIN_ALLOW_THREADS; | |
fe47ec10 | 1392 | wxStyledTextCtrl_MarkerSetForeground(_arg0,_arg1,*_arg2); |
f6bcfd97 BP |
1393 | |
1394 | wxPy_END_ALLOW_THREADS; | |
fe47ec10 RD |
1395 | } Py_INCREF(Py_None); |
1396 | _resultobj = Py_None; | |
f6bcfd97 BP |
1397 | return _resultobj; |
1398 | } | |
1399 | ||
fe47ec10 RD |
1400 | #define wxStyledTextCtrl_MarkerSetBackground(_swigobj,_swigarg0,_swigarg1) (_swigobj->MarkerSetBackground(_swigarg0,_swigarg1)) |
1401 | static PyObject *_wrap_wxStyledTextCtrl_MarkerSetBackground(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 | 1402 | PyObject * _resultobj; |
f6bcfd97 | 1403 | wxStyledTextCtrl * _arg0; |
fe47ec10 RD |
1404 | int _arg1; |
1405 | wxColour * _arg2; | |
f6bcfd97 | 1406 | PyObject * _argo0 = 0; |
fe47ec10 RD |
1407 | wxColour temp; |
1408 | PyObject * _obj2 = 0; | |
1409 | char *_kwnames[] = { "self","markerNumber","back", NULL }; | |
f6bcfd97 BP |
1410 | |
1411 | self = self; | |
fe47ec10 | 1412 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxStyledTextCtrl_MarkerSetBackground",_kwnames,&_argo0,&_arg1,&_obj2)) |
f6bcfd97 BP |
1413 | return NULL; |
1414 | if (_argo0) { | |
1415 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1416 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 1417 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_MarkerSetBackground. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
1418 | return NULL; |
1419 | } | |
1420 | } | |
fe47ec10 RD |
1421 | { |
1422 | _arg2 = &temp; | |
1423 | if (! wxColour_helper(_obj2, &_arg2)) | |
1424 | return NULL; | |
1425 | } | |
f6bcfd97 BP |
1426 | { |
1427 | wxPy_BEGIN_ALLOW_THREADS; | |
fe47ec10 | 1428 | wxStyledTextCtrl_MarkerSetBackground(_arg0,_arg1,*_arg2); |
f6bcfd97 BP |
1429 | |
1430 | wxPy_END_ALLOW_THREADS; | |
fe47ec10 RD |
1431 | } Py_INCREF(Py_None); |
1432 | _resultobj = Py_None; | |
f6bcfd97 BP |
1433 | return _resultobj; |
1434 | } | |
1435 | ||
fe47ec10 RD |
1436 | #define wxStyledTextCtrl_MarkerAdd(_swigobj,_swigarg0,_swigarg1) (_swigobj->MarkerAdd(_swigarg0,_swigarg1)) |
1437 | static PyObject *_wrap_wxStyledTextCtrl_MarkerAdd(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 | 1438 | PyObject * _resultobj; |
f6bcfd97 BP |
1439 | wxStyledTextCtrl * _arg0; |
1440 | int _arg1; | |
fe47ec10 | 1441 | int _arg2; |
f6bcfd97 | 1442 | PyObject * _argo0 = 0; |
fe47ec10 | 1443 | char *_kwnames[] = { "self","line","markerNumber", NULL }; |
f6bcfd97 BP |
1444 | |
1445 | self = self; | |
fe47ec10 | 1446 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxStyledTextCtrl_MarkerAdd",_kwnames,&_argo0,&_arg1,&_arg2)) |
f6bcfd97 BP |
1447 | return NULL; |
1448 | if (_argo0) { | |
1449 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1450 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 1451 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_MarkerAdd. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
1452 | return NULL; |
1453 | } | |
1454 | } | |
1455 | { | |
1456 | wxPy_BEGIN_ALLOW_THREADS; | |
fe47ec10 | 1457 | wxStyledTextCtrl_MarkerAdd(_arg0,_arg1,_arg2); |
f6bcfd97 BP |
1458 | |
1459 | wxPy_END_ALLOW_THREADS; | |
fe47ec10 RD |
1460 | } Py_INCREF(Py_None); |
1461 | _resultobj = Py_None; | |
f6bcfd97 BP |
1462 | return _resultobj; |
1463 | } | |
1464 | ||
fe47ec10 RD |
1465 | #define wxStyledTextCtrl_MarkerDelete(_swigobj,_swigarg0,_swigarg1) (_swigobj->MarkerDelete(_swigarg0,_swigarg1)) |
1466 | static PyObject *_wrap_wxStyledTextCtrl_MarkerDelete(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 | 1467 | PyObject * _resultobj; |
f6bcfd97 BP |
1468 | wxStyledTextCtrl * _arg0; |
1469 | int _arg1; | |
fe47ec10 | 1470 | int _arg2; |
f6bcfd97 | 1471 | PyObject * _argo0 = 0; |
fe47ec10 | 1472 | char *_kwnames[] = { "self","line","markerNumber", NULL }; |
f6bcfd97 BP |
1473 | |
1474 | self = self; | |
fe47ec10 | 1475 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxStyledTextCtrl_MarkerDelete",_kwnames,&_argo0,&_arg1,&_arg2)) |
f6bcfd97 BP |
1476 | return NULL; |
1477 | if (_argo0) { | |
1478 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1479 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 1480 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_MarkerDelete. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
1481 | return NULL; |
1482 | } | |
1483 | } | |
1484 | { | |
1485 | wxPy_BEGIN_ALLOW_THREADS; | |
fe47ec10 | 1486 | wxStyledTextCtrl_MarkerDelete(_arg0,_arg1,_arg2); |
f6bcfd97 BP |
1487 | |
1488 | wxPy_END_ALLOW_THREADS; | |
fe47ec10 RD |
1489 | } Py_INCREF(Py_None); |
1490 | _resultobj = Py_None; | |
f6bcfd97 BP |
1491 | return _resultobj; |
1492 | } | |
1493 | ||
fe47ec10 RD |
1494 | #define wxStyledTextCtrl_MarkerDeleteAll(_swigobj,_swigarg0) (_swigobj->MarkerDeleteAll(_swigarg0)) |
1495 | static PyObject *_wrap_wxStyledTextCtrl_MarkerDeleteAll(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 | 1496 | PyObject * _resultobj; |
f6bcfd97 BP |
1497 | wxStyledTextCtrl * _arg0; |
1498 | int _arg1; | |
1499 | PyObject * _argo0 = 0; | |
fe47ec10 | 1500 | char *_kwnames[] = { "self","markerNumber", NULL }; |
f6bcfd97 BP |
1501 | |
1502 | self = self; | |
fe47ec10 | 1503 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_MarkerDeleteAll",_kwnames,&_argo0,&_arg1)) |
f6bcfd97 BP |
1504 | return NULL; |
1505 | if (_argo0) { | |
1506 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1507 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 1508 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_MarkerDeleteAll. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
1509 | return NULL; |
1510 | } | |
1511 | } | |
1512 | { | |
1513 | wxPy_BEGIN_ALLOW_THREADS; | |
fe47ec10 | 1514 | wxStyledTextCtrl_MarkerDeleteAll(_arg0,_arg1); |
f6bcfd97 BP |
1515 | |
1516 | wxPy_END_ALLOW_THREADS; | |
fe47ec10 RD |
1517 | } Py_INCREF(Py_None); |
1518 | _resultobj = Py_None; | |
f6bcfd97 BP |
1519 | return _resultobj; |
1520 | } | |
1521 | ||
fe47ec10 RD |
1522 | #define wxStyledTextCtrl_MarkerGet(_swigobj,_swigarg0) (_swigobj->MarkerGet(_swigarg0)) |
1523 | static PyObject *_wrap_wxStyledTextCtrl_MarkerGet(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 BP |
1524 | PyObject * _resultobj; |
1525 | int _result; | |
1526 | wxStyledTextCtrl * _arg0; | |
1527 | int _arg1; | |
1528 | PyObject * _argo0 = 0; | |
1529 | char *_kwnames[] = { "self","line", NULL }; | |
1530 | ||
1531 | self = self; | |
fe47ec10 | 1532 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_MarkerGet",_kwnames,&_argo0,&_arg1)) |
f6bcfd97 BP |
1533 | return NULL; |
1534 | if (_argo0) { | |
1535 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1536 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 1537 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_MarkerGet. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
1538 | return NULL; |
1539 | } | |
1540 | } | |
1541 | { | |
1542 | wxPy_BEGIN_ALLOW_THREADS; | |
fe47ec10 | 1543 | _result = (int )wxStyledTextCtrl_MarkerGet(_arg0,_arg1); |
f6bcfd97 BP |
1544 | |
1545 | wxPy_END_ALLOW_THREADS; | |
1546 | } _resultobj = Py_BuildValue("i",_result); | |
1547 | return _resultobj; | |
1548 | } | |
1549 | ||
fe47ec10 RD |
1550 | #define wxStyledTextCtrl_MarkerNext(_swigobj,_swigarg0,_swigarg1) (_swigobj->MarkerNext(_swigarg0,_swigarg1)) |
1551 | static PyObject *_wrap_wxStyledTextCtrl_MarkerNext(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 | 1552 | PyObject * _resultobj; |
fe47ec10 | 1553 | int _result; |
f6bcfd97 | 1554 | wxStyledTextCtrl * _arg0; |
fe47ec10 RD |
1555 | int _arg1; |
1556 | int _arg2; | |
f6bcfd97 | 1557 | PyObject * _argo0 = 0; |
fe47ec10 | 1558 | char *_kwnames[] = { "self","lineStart","markerMask", NULL }; |
f6bcfd97 BP |
1559 | |
1560 | self = self; | |
fe47ec10 | 1561 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxStyledTextCtrl_MarkerNext",_kwnames,&_argo0,&_arg1,&_arg2)) |
f6bcfd97 BP |
1562 | return NULL; |
1563 | if (_argo0) { | |
1564 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1565 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 1566 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_MarkerNext. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
1567 | return NULL; |
1568 | } | |
1569 | } | |
1570 | { | |
1571 | wxPy_BEGIN_ALLOW_THREADS; | |
fe47ec10 | 1572 | _result = (int )wxStyledTextCtrl_MarkerNext(_arg0,_arg1,_arg2); |
f6bcfd97 BP |
1573 | |
1574 | wxPy_END_ALLOW_THREADS; | |
fe47ec10 | 1575 | } _resultobj = Py_BuildValue("i",_result); |
f6bcfd97 BP |
1576 | return _resultobj; |
1577 | } | |
1578 | ||
fe47ec10 RD |
1579 | #define wxStyledTextCtrl_MarkerPrevious(_swigobj,_swigarg0,_swigarg1) (_swigobj->MarkerPrevious(_swigarg0,_swigarg1)) |
1580 | static PyObject *_wrap_wxStyledTextCtrl_MarkerPrevious(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 BP |
1581 | PyObject * _resultobj; |
1582 | int _result; | |
1583 | wxStyledTextCtrl * _arg0; | |
fe47ec10 RD |
1584 | int _arg1; |
1585 | int _arg2; | |
f6bcfd97 | 1586 | PyObject * _argo0 = 0; |
fe47ec10 | 1587 | char *_kwnames[] = { "self","lineStart","markerMask", NULL }; |
f6bcfd97 BP |
1588 | |
1589 | self = self; | |
fe47ec10 | 1590 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxStyledTextCtrl_MarkerPrevious",_kwnames,&_argo0,&_arg1,&_arg2)) |
f6bcfd97 BP |
1591 | return NULL; |
1592 | if (_argo0) { | |
1593 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1594 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 1595 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_MarkerPrevious. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
1596 | return NULL; |
1597 | } | |
1598 | } | |
1599 | { | |
1600 | wxPy_BEGIN_ALLOW_THREADS; | |
fe47ec10 | 1601 | _result = (int )wxStyledTextCtrl_MarkerPrevious(_arg0,_arg1,_arg2); |
f6bcfd97 BP |
1602 | |
1603 | wxPy_END_ALLOW_THREADS; | |
1604 | } _resultobj = Py_BuildValue("i",_result); | |
1605 | return _resultobj; | |
1606 | } | |
1607 | ||
fe47ec10 RD |
1608 | #define wxStyledTextCtrl_SetMarginType(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetMarginType(_swigarg0,_swigarg1)) |
1609 | static PyObject *_wrap_wxStyledTextCtrl_SetMarginType(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 | 1610 | PyObject * _resultobj; |
f6bcfd97 | 1611 | wxStyledTextCtrl * _arg0; |
fe47ec10 RD |
1612 | int _arg1; |
1613 | int _arg2; | |
f6bcfd97 | 1614 | PyObject * _argo0 = 0; |
fe47ec10 | 1615 | char *_kwnames[] = { "self","margin","marginType", NULL }; |
f6bcfd97 BP |
1616 | |
1617 | self = self; | |
fe47ec10 | 1618 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxStyledTextCtrl_SetMarginType",_kwnames,&_argo0,&_arg1,&_arg2)) |
f6bcfd97 BP |
1619 | return NULL; |
1620 | if (_argo0) { | |
1621 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1622 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 1623 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetMarginType. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
1624 | return NULL; |
1625 | } | |
1626 | } | |
f6bcfd97 BP |
1627 | { |
1628 | wxPy_BEGIN_ALLOW_THREADS; | |
fe47ec10 | 1629 | wxStyledTextCtrl_SetMarginType(_arg0,_arg1,_arg2); |
f6bcfd97 BP |
1630 | |
1631 | wxPy_END_ALLOW_THREADS; | |
fe47ec10 RD |
1632 | } Py_INCREF(Py_None); |
1633 | _resultobj = Py_None; | |
f6bcfd97 BP |
1634 | return _resultobj; |
1635 | } | |
1636 | ||
fe47ec10 RD |
1637 | #define wxStyledTextCtrl_GetMarginType(_swigobj,_swigarg0) (_swigobj->GetMarginType(_swigarg0)) |
1638 | static PyObject *_wrap_wxStyledTextCtrl_GetMarginType(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 BP |
1639 | PyObject * _resultobj; |
1640 | int _result; | |
1641 | wxStyledTextCtrl * _arg0; | |
fe47ec10 | 1642 | int _arg1; |
f6bcfd97 | 1643 | PyObject * _argo0 = 0; |
fe47ec10 | 1644 | char *_kwnames[] = { "self","margin", NULL }; |
f6bcfd97 BP |
1645 | |
1646 | self = self; | |
fe47ec10 | 1647 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_GetMarginType",_kwnames,&_argo0,&_arg1)) |
f6bcfd97 BP |
1648 | return NULL; |
1649 | if (_argo0) { | |
1650 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1651 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 1652 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetMarginType. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
1653 | return NULL; |
1654 | } | |
1655 | } | |
f6bcfd97 BP |
1656 | { |
1657 | wxPy_BEGIN_ALLOW_THREADS; | |
fe47ec10 | 1658 | _result = (int )wxStyledTextCtrl_GetMarginType(_arg0,_arg1); |
f6bcfd97 BP |
1659 | |
1660 | wxPy_END_ALLOW_THREADS; | |
1661 | } _resultobj = Py_BuildValue("i",_result); | |
1662 | return _resultobj; | |
1663 | } | |
1664 | ||
fe47ec10 RD |
1665 | #define wxStyledTextCtrl_SetMarginWidth(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetMarginWidth(_swigarg0,_swigarg1)) |
1666 | static PyObject *_wrap_wxStyledTextCtrl_SetMarginWidth(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 | 1667 | PyObject * _resultobj; |
f6bcfd97 BP |
1668 | wxStyledTextCtrl * _arg0; |
1669 | int _arg1; | |
fe47ec10 | 1670 | int _arg2; |
f6bcfd97 | 1671 | PyObject * _argo0 = 0; |
fe47ec10 | 1672 | char *_kwnames[] = { "self","margin","pixelWidth", NULL }; |
f6bcfd97 BP |
1673 | |
1674 | self = self; | |
fe47ec10 | 1675 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxStyledTextCtrl_SetMarginWidth",_kwnames,&_argo0,&_arg1,&_arg2)) |
f6bcfd97 BP |
1676 | return NULL; |
1677 | if (_argo0) { | |
1678 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1679 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 1680 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetMarginWidth. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
1681 | return NULL; |
1682 | } | |
1683 | } | |
1684 | { | |
1685 | wxPy_BEGIN_ALLOW_THREADS; | |
fe47ec10 | 1686 | wxStyledTextCtrl_SetMarginWidth(_arg0,_arg1,_arg2); |
f6bcfd97 BP |
1687 | |
1688 | wxPy_END_ALLOW_THREADS; | |
fe47ec10 RD |
1689 | } Py_INCREF(Py_None); |
1690 | _resultobj = Py_None; | |
f6bcfd97 BP |
1691 | return _resultobj; |
1692 | } | |
1693 | ||
fe47ec10 RD |
1694 | #define wxStyledTextCtrl_GetMarginWidth(_swigobj,_swigarg0) (_swigobj->GetMarginWidth(_swigarg0)) |
1695 | static PyObject *_wrap_wxStyledTextCtrl_GetMarginWidth(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 BP |
1696 | PyObject * _resultobj; |
1697 | int _result; | |
1698 | wxStyledTextCtrl * _arg0; | |
fe47ec10 | 1699 | int _arg1; |
f6bcfd97 | 1700 | PyObject * _argo0 = 0; |
fe47ec10 | 1701 | char *_kwnames[] = { "self","margin", NULL }; |
f6bcfd97 BP |
1702 | |
1703 | self = self; | |
fe47ec10 | 1704 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_GetMarginWidth",_kwnames,&_argo0,&_arg1)) |
f6bcfd97 BP |
1705 | return NULL; |
1706 | if (_argo0) { | |
1707 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1708 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 1709 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetMarginWidth. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
1710 | return NULL; |
1711 | } | |
1712 | } | |
1713 | { | |
1714 | wxPy_BEGIN_ALLOW_THREADS; | |
fe47ec10 | 1715 | _result = (int )wxStyledTextCtrl_GetMarginWidth(_arg0,_arg1); |
f6bcfd97 BP |
1716 | |
1717 | wxPy_END_ALLOW_THREADS; | |
1718 | } _resultobj = Py_BuildValue("i",_result); | |
1719 | return _resultobj; | |
1720 | } | |
1721 | ||
fe47ec10 RD |
1722 | #define wxStyledTextCtrl_SetMarginMask(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetMarginMask(_swigarg0,_swigarg1)) |
1723 | static PyObject *_wrap_wxStyledTextCtrl_SetMarginMask(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 | 1724 | PyObject * _resultobj; |
f6bcfd97 | 1725 | wxStyledTextCtrl * _arg0; |
fe47ec10 RD |
1726 | int _arg1; |
1727 | int _arg2; | |
f6bcfd97 | 1728 | PyObject * _argo0 = 0; |
fe47ec10 | 1729 | char *_kwnames[] = { "self","margin","mask", NULL }; |
f6bcfd97 BP |
1730 | |
1731 | self = self; | |
fe47ec10 | 1732 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxStyledTextCtrl_SetMarginMask",_kwnames,&_argo0,&_arg1,&_arg2)) |
f6bcfd97 BP |
1733 | return NULL; |
1734 | if (_argo0) { | |
1735 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1736 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 1737 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetMarginMask. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
1738 | return NULL; |
1739 | } | |
1740 | } | |
1741 | { | |
1742 | wxPy_BEGIN_ALLOW_THREADS; | |
fe47ec10 | 1743 | wxStyledTextCtrl_SetMarginMask(_arg0,_arg1,_arg2); |
f6bcfd97 BP |
1744 | |
1745 | wxPy_END_ALLOW_THREADS; | |
fe47ec10 RD |
1746 | } Py_INCREF(Py_None); |
1747 | _resultobj = Py_None; | |
f6bcfd97 BP |
1748 | return _resultobj; |
1749 | } | |
1750 | ||
fe47ec10 RD |
1751 | #define wxStyledTextCtrl_GetMarginMask(_swigobj,_swigarg0) (_swigobj->GetMarginMask(_swigarg0)) |
1752 | static PyObject *_wrap_wxStyledTextCtrl_GetMarginMask(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 | 1753 | PyObject * _resultobj; |
fe47ec10 | 1754 | int _result; |
f6bcfd97 | 1755 | wxStyledTextCtrl * _arg0; |
fe47ec10 | 1756 | int _arg1; |
f6bcfd97 | 1757 | PyObject * _argo0 = 0; |
fe47ec10 | 1758 | char *_kwnames[] = { "self","margin", NULL }; |
f6bcfd97 BP |
1759 | |
1760 | self = self; | |
fe47ec10 | 1761 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_GetMarginMask",_kwnames,&_argo0,&_arg1)) |
f6bcfd97 BP |
1762 | return NULL; |
1763 | if (_argo0) { | |
1764 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1765 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 1766 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetMarginMask. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
1767 | return NULL; |
1768 | } | |
1769 | } | |
1770 | { | |
1771 | wxPy_BEGIN_ALLOW_THREADS; | |
fe47ec10 | 1772 | _result = (int )wxStyledTextCtrl_GetMarginMask(_arg0,_arg1); |
f6bcfd97 BP |
1773 | |
1774 | wxPy_END_ALLOW_THREADS; | |
fe47ec10 | 1775 | } _resultobj = Py_BuildValue("i",_result); |
f6bcfd97 BP |
1776 | return _resultobj; |
1777 | } | |
1778 | ||
fe47ec10 RD |
1779 | #define wxStyledTextCtrl_SetMarginSensitive(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetMarginSensitive(_swigarg0,_swigarg1)) |
1780 | static PyObject *_wrap_wxStyledTextCtrl_SetMarginSensitive(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 BP |
1781 | PyObject * _resultobj; |
1782 | wxStyledTextCtrl * _arg0; | |
1783 | int _arg1; | |
fe47ec10 | 1784 | bool _arg2; |
f6bcfd97 | 1785 | PyObject * _argo0 = 0; |
fe47ec10 RD |
1786 | int tempbool2; |
1787 | char *_kwnames[] = { "self","margin","sensitive", NULL }; | |
f6bcfd97 BP |
1788 | |
1789 | self = self; | |
fe47ec10 | 1790 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxStyledTextCtrl_SetMarginSensitive",_kwnames,&_argo0,&_arg1,&tempbool2)) |
f6bcfd97 BP |
1791 | return NULL; |
1792 | if (_argo0) { | |
1793 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1794 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 1795 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetMarginSensitive. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
1796 | return NULL; |
1797 | } | |
1798 | } | |
fe47ec10 | 1799 | _arg2 = (bool ) tempbool2; |
f6bcfd97 BP |
1800 | { |
1801 | wxPy_BEGIN_ALLOW_THREADS; | |
fe47ec10 | 1802 | wxStyledTextCtrl_SetMarginSensitive(_arg0,_arg1,_arg2); |
f6bcfd97 BP |
1803 | |
1804 | wxPy_END_ALLOW_THREADS; | |
1805 | } Py_INCREF(Py_None); | |
1806 | _resultobj = Py_None; | |
1807 | return _resultobj; | |
1808 | } | |
1809 | ||
fe47ec10 RD |
1810 | #define wxStyledTextCtrl_GetMarginSensitive(_swigobj,_swigarg0) (_swigobj->GetMarginSensitive(_swigarg0)) |
1811 | static PyObject *_wrap_wxStyledTextCtrl_GetMarginSensitive(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 | 1812 | PyObject * _resultobj; |
fe47ec10 | 1813 | bool _result; |
f6bcfd97 BP |
1814 | wxStyledTextCtrl * _arg0; |
1815 | int _arg1; | |
1816 | PyObject * _argo0 = 0; | |
fe47ec10 | 1817 | char *_kwnames[] = { "self","margin", NULL }; |
f6bcfd97 BP |
1818 | |
1819 | self = self; | |
fe47ec10 | 1820 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_GetMarginSensitive",_kwnames,&_argo0,&_arg1)) |
f6bcfd97 BP |
1821 | return NULL; |
1822 | if (_argo0) { | |
1823 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1824 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 1825 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetMarginSensitive. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
1826 | return NULL; |
1827 | } | |
1828 | } | |
1829 | { | |
1830 | wxPy_BEGIN_ALLOW_THREADS; | |
fe47ec10 | 1831 | _result = (bool )wxStyledTextCtrl_GetMarginSensitive(_arg0,_arg1); |
f6bcfd97 BP |
1832 | |
1833 | wxPy_END_ALLOW_THREADS; | |
fe47ec10 | 1834 | } _resultobj = Py_BuildValue("i",_result); |
f6bcfd97 BP |
1835 | return _resultobj; |
1836 | } | |
1837 | ||
fe47ec10 RD |
1838 | #define wxStyledTextCtrl_StyleClearAll(_swigobj) (_swigobj->StyleClearAll()) |
1839 | static PyObject *_wrap_wxStyledTextCtrl_StyleClearAll(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 BP |
1840 | PyObject * _resultobj; |
1841 | wxStyledTextCtrl * _arg0; | |
f6bcfd97 | 1842 | PyObject * _argo0 = 0; |
fe47ec10 | 1843 | char *_kwnames[] = { "self", NULL }; |
f6bcfd97 BP |
1844 | |
1845 | self = self; | |
fe47ec10 | 1846 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_StyleClearAll",_kwnames,&_argo0)) |
f6bcfd97 BP |
1847 | return NULL; |
1848 | if (_argo0) { | |
1849 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1850 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 1851 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_StyleClearAll. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
1852 | return NULL; |
1853 | } | |
1854 | } | |
1855 | { | |
1856 | wxPy_BEGIN_ALLOW_THREADS; | |
fe47ec10 | 1857 | wxStyledTextCtrl_StyleClearAll(_arg0); |
f6bcfd97 BP |
1858 | |
1859 | wxPy_END_ALLOW_THREADS; | |
1860 | } Py_INCREF(Py_None); | |
1861 | _resultobj = Py_None; | |
1862 | return _resultobj; | |
1863 | } | |
1864 | ||
fe47ec10 RD |
1865 | #define wxStyledTextCtrl_StyleSetForeground(_swigobj,_swigarg0,_swigarg1) (_swigobj->StyleSetForeground(_swigarg0,_swigarg1)) |
1866 | static PyObject *_wrap_wxStyledTextCtrl_StyleSetForeground(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 BP |
1867 | PyObject * _resultobj; |
1868 | wxStyledTextCtrl * _arg0; | |
1869 | int _arg1; | |
fe47ec10 | 1870 | wxColour * _arg2; |
f6bcfd97 | 1871 | PyObject * _argo0 = 0; |
fe47ec10 RD |
1872 | wxColour temp; |
1873 | PyObject * _obj2 = 0; | |
1874 | char *_kwnames[] = { "self","style","fore", NULL }; | |
f6bcfd97 BP |
1875 | |
1876 | self = self; | |
fe47ec10 | 1877 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxStyledTextCtrl_StyleSetForeground",_kwnames,&_argo0,&_arg1,&_obj2)) |
f6bcfd97 BP |
1878 | return NULL; |
1879 | if (_argo0) { | |
1880 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1881 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 1882 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_StyleSetForeground. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
1883 | return NULL; |
1884 | } | |
1885 | } | |
fe47ec10 RD |
1886 | { |
1887 | _arg2 = &temp; | |
1888 | if (! wxColour_helper(_obj2, &_arg2)) | |
1889 | return NULL; | |
1890 | } | |
f6bcfd97 BP |
1891 | { |
1892 | wxPy_BEGIN_ALLOW_THREADS; | |
fe47ec10 | 1893 | wxStyledTextCtrl_StyleSetForeground(_arg0,_arg1,*_arg2); |
f6bcfd97 BP |
1894 | |
1895 | wxPy_END_ALLOW_THREADS; | |
1896 | } Py_INCREF(Py_None); | |
1897 | _resultobj = Py_None; | |
1898 | return _resultobj; | |
1899 | } | |
1900 | ||
fe47ec10 RD |
1901 | #define wxStyledTextCtrl_StyleSetBackground(_swigobj,_swigarg0,_swigarg1) (_swigobj->StyleSetBackground(_swigarg0,_swigarg1)) |
1902 | static PyObject *_wrap_wxStyledTextCtrl_StyleSetBackground(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 BP |
1903 | PyObject * _resultobj; |
1904 | wxStyledTextCtrl * _arg0; | |
1905 | int _arg1; | |
fe47ec10 | 1906 | wxColour * _arg2; |
f6bcfd97 | 1907 | PyObject * _argo0 = 0; |
fe47ec10 RD |
1908 | wxColour temp; |
1909 | PyObject * _obj2 = 0; | |
1910 | char *_kwnames[] = { "self","style","back", NULL }; | |
f6bcfd97 BP |
1911 | |
1912 | self = self; | |
fe47ec10 | 1913 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxStyledTextCtrl_StyleSetBackground",_kwnames,&_argo0,&_arg1,&_obj2)) |
f6bcfd97 BP |
1914 | return NULL; |
1915 | if (_argo0) { | |
1916 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1917 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 1918 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_StyleSetBackground. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
1919 | return NULL; |
1920 | } | |
1921 | } | |
fe47ec10 RD |
1922 | { |
1923 | _arg2 = &temp; | |
1924 | if (! wxColour_helper(_obj2, &_arg2)) | |
1925 | return NULL; | |
1926 | } | |
f6bcfd97 BP |
1927 | { |
1928 | wxPy_BEGIN_ALLOW_THREADS; | |
fe47ec10 | 1929 | wxStyledTextCtrl_StyleSetBackground(_arg0,_arg1,*_arg2); |
f6bcfd97 BP |
1930 | |
1931 | wxPy_END_ALLOW_THREADS; | |
1932 | } Py_INCREF(Py_None); | |
1933 | _resultobj = Py_None; | |
1934 | return _resultobj; | |
1935 | } | |
1936 | ||
fe47ec10 RD |
1937 | #define wxStyledTextCtrl_StyleSetBold(_swigobj,_swigarg0,_swigarg1) (_swigobj->StyleSetBold(_swigarg0,_swigarg1)) |
1938 | static PyObject *_wrap_wxStyledTextCtrl_StyleSetBold(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 BP |
1939 | PyObject * _resultobj; |
1940 | wxStyledTextCtrl * _arg0; | |
1941 | int _arg1; | |
1942 | bool _arg2; | |
1943 | PyObject * _argo0 = 0; | |
1944 | int tempbool2; | |
fe47ec10 | 1945 | char *_kwnames[] = { "self","style","bold", NULL }; |
f6bcfd97 BP |
1946 | |
1947 | self = self; | |
fe47ec10 | 1948 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxStyledTextCtrl_StyleSetBold",_kwnames,&_argo0,&_arg1,&tempbool2)) |
f6bcfd97 BP |
1949 | return NULL; |
1950 | if (_argo0) { | |
1951 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1952 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 1953 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_StyleSetBold. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
1954 | return NULL; |
1955 | } | |
1956 | } | |
1957 | _arg2 = (bool ) tempbool2; | |
1958 | { | |
1959 | wxPy_BEGIN_ALLOW_THREADS; | |
fe47ec10 | 1960 | wxStyledTextCtrl_StyleSetBold(_arg0,_arg1,_arg2); |
f6bcfd97 BP |
1961 | |
1962 | wxPy_END_ALLOW_THREADS; | |
1963 | } Py_INCREF(Py_None); | |
1964 | _resultobj = Py_None; | |
1965 | return _resultobj; | |
1966 | } | |
1967 | ||
fe47ec10 RD |
1968 | #define wxStyledTextCtrl_StyleSetItalic(_swigobj,_swigarg0,_swigarg1) (_swigobj->StyleSetItalic(_swigarg0,_swigarg1)) |
1969 | static PyObject *_wrap_wxStyledTextCtrl_StyleSetItalic(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 BP |
1970 | PyObject * _resultobj; |
1971 | wxStyledTextCtrl * _arg0; | |
1972 | int _arg1; | |
fe47ec10 | 1973 | bool _arg2; |
f6bcfd97 | 1974 | PyObject * _argo0 = 0; |
fe47ec10 RD |
1975 | int tempbool2; |
1976 | char *_kwnames[] = { "self","style","italic", NULL }; | |
f6bcfd97 BP |
1977 | |
1978 | self = self; | |
fe47ec10 | 1979 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxStyledTextCtrl_StyleSetItalic",_kwnames,&_argo0,&_arg1,&tempbool2)) |
f6bcfd97 BP |
1980 | return NULL; |
1981 | if (_argo0) { | |
1982 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1983 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 1984 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_StyleSetItalic. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
1985 | return NULL; |
1986 | } | |
1987 | } | |
fe47ec10 | 1988 | _arg2 = (bool ) tempbool2; |
f6bcfd97 BP |
1989 | { |
1990 | wxPy_BEGIN_ALLOW_THREADS; | |
fe47ec10 | 1991 | wxStyledTextCtrl_StyleSetItalic(_arg0,_arg1,_arg2); |
f6bcfd97 BP |
1992 | |
1993 | wxPy_END_ALLOW_THREADS; | |
1994 | } Py_INCREF(Py_None); | |
1995 | _resultobj = Py_None; | |
1996 | return _resultobj; | |
1997 | } | |
1998 | ||
fe47ec10 RD |
1999 | #define wxStyledTextCtrl_StyleSetSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->StyleSetSize(_swigarg0,_swigarg1)) |
2000 | static PyObject *_wrap_wxStyledTextCtrl_StyleSetSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 BP |
2001 | PyObject * _resultobj; |
2002 | wxStyledTextCtrl * _arg0; | |
2003 | int _arg1; | |
fe47ec10 | 2004 | int _arg2; |
f6bcfd97 | 2005 | PyObject * _argo0 = 0; |
fe47ec10 | 2006 | char *_kwnames[] = { "self","style","sizePoints", NULL }; |
f6bcfd97 BP |
2007 | |
2008 | self = self; | |
fe47ec10 | 2009 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxStyledTextCtrl_StyleSetSize",_kwnames,&_argo0,&_arg1,&_arg2)) |
f6bcfd97 BP |
2010 | return NULL; |
2011 | if (_argo0) { | |
2012 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2013 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 2014 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_StyleSetSize. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
2015 | return NULL; |
2016 | } | |
2017 | } | |
2018 | { | |
2019 | wxPy_BEGIN_ALLOW_THREADS; | |
fe47ec10 | 2020 | wxStyledTextCtrl_StyleSetSize(_arg0,_arg1,_arg2); |
f6bcfd97 BP |
2021 | |
2022 | wxPy_END_ALLOW_THREADS; | |
2023 | } Py_INCREF(Py_None); | |
2024 | _resultobj = Py_None; | |
2025 | return _resultobj; | |
2026 | } | |
2027 | ||
fe47ec10 RD |
2028 | #define wxStyledTextCtrl_StyleSetFaceName(_swigobj,_swigarg0,_swigarg1) (_swigobj->StyleSetFaceName(_swigarg0,_swigarg1)) |
2029 | static PyObject *_wrap_wxStyledTextCtrl_StyleSetFaceName(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 BP |
2030 | PyObject * _resultobj; |
2031 | wxStyledTextCtrl * _arg0; | |
2032 | int _arg1; | |
fe47ec10 | 2033 | wxString * _arg2; |
f6bcfd97 | 2034 | PyObject * _argo0 = 0; |
fe47ec10 RD |
2035 | PyObject * _obj2 = 0; |
2036 | char *_kwnames[] = { "self","style","fontName", NULL }; | |
f6bcfd97 BP |
2037 | |
2038 | self = self; | |
fe47ec10 | 2039 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxStyledTextCtrl_StyleSetFaceName",_kwnames,&_argo0,&_arg1,&_obj2)) |
f6bcfd97 BP |
2040 | return NULL; |
2041 | if (_argo0) { | |
2042 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2043 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 2044 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_StyleSetFaceName. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
2045 | return NULL; |
2046 | } | |
2047 | } | |
fe47ec10 | 2048 | { |
185d7c3e RD |
2049 | #if PYTHON_API_VERSION >= 1009 |
2050 | char* tmpPtr; int tmpSize; | |
2051 | if (!PyString_Check(_obj2) && !PyUnicode_Check(_obj2)) { | |
7a446686 | 2052 | PyErr_SetString(PyExc_TypeError, wxStringErrorMsg); |
185d7c3e RD |
2053 | return NULL; |
2054 | } | |
2055 | if (PyString_AsStringAndSize(_obj2, &tmpPtr, &tmpSize) == -1) | |
2056 | return NULL; | |
2057 | _arg2 = new wxString(tmpPtr, tmpSize); | |
2058 | #else | |
fe47ec10 RD |
2059 | if (!PyString_Check(_obj2)) { |
2060 | PyErr_SetString(PyExc_TypeError, wxStringErrorMsg); | |
2061 | return NULL; | |
2062 | } | |
185d7c3e RD |
2063 | _arg2 = new wxString(PyString_AS_STRING(_obj2), PyString_GET_SIZE(_obj2)); |
2064 | #endif | |
fe47ec10 | 2065 | } |
f6bcfd97 BP |
2066 | { |
2067 | wxPy_BEGIN_ALLOW_THREADS; | |
fe47ec10 | 2068 | wxStyledTextCtrl_StyleSetFaceName(_arg0,_arg1,*_arg2); |
f6bcfd97 BP |
2069 | |
2070 | wxPy_END_ALLOW_THREADS; | |
2071 | } Py_INCREF(Py_None); | |
2072 | _resultobj = Py_None; | |
fe47ec10 RD |
2073 | { |
2074 | if (_obj2) | |
2075 | delete _arg2; | |
2076 | } | |
f6bcfd97 BP |
2077 | return _resultobj; |
2078 | } | |
2079 | ||
fe47ec10 RD |
2080 | #define wxStyledTextCtrl_StyleSetEOLFilled(_swigobj,_swigarg0,_swigarg1) (_swigobj->StyleSetEOLFilled(_swigarg0,_swigarg1)) |
2081 | static PyObject *_wrap_wxStyledTextCtrl_StyleSetEOLFilled(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 BP |
2082 | PyObject * _resultobj; |
2083 | wxStyledTextCtrl * _arg0; | |
fe47ec10 RD |
2084 | int _arg1; |
2085 | bool _arg2; | |
f6bcfd97 | 2086 | PyObject * _argo0 = 0; |
fe47ec10 RD |
2087 | int tempbool2; |
2088 | char *_kwnames[] = { "self","style","filled", NULL }; | |
f6bcfd97 BP |
2089 | |
2090 | self = self; | |
fe47ec10 | 2091 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxStyledTextCtrl_StyleSetEOLFilled",_kwnames,&_argo0,&_arg1,&tempbool2)) |
f6bcfd97 BP |
2092 | return NULL; |
2093 | if (_argo0) { | |
2094 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2095 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 2096 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_StyleSetEOLFilled. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
2097 | return NULL; |
2098 | } | |
2099 | } | |
fe47ec10 | 2100 | _arg2 = (bool ) tempbool2; |
f6bcfd97 BP |
2101 | { |
2102 | wxPy_BEGIN_ALLOW_THREADS; | |
fe47ec10 | 2103 | wxStyledTextCtrl_StyleSetEOLFilled(_arg0,_arg1,_arg2); |
f6bcfd97 BP |
2104 | |
2105 | wxPy_END_ALLOW_THREADS; | |
2106 | } Py_INCREF(Py_None); | |
2107 | _resultobj = Py_None; | |
2108 | return _resultobj; | |
2109 | } | |
2110 | ||
fe47ec10 RD |
2111 | #define wxStyledTextCtrl_StyleResetDefault(_swigobj) (_swigobj->StyleResetDefault()) |
2112 | static PyObject *_wrap_wxStyledTextCtrl_StyleResetDefault(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 BP |
2113 | PyObject * _resultobj; |
2114 | wxStyledTextCtrl * _arg0; | |
f6bcfd97 | 2115 | PyObject * _argo0 = 0; |
fe47ec10 | 2116 | char *_kwnames[] = { "self", NULL }; |
f6bcfd97 BP |
2117 | |
2118 | self = self; | |
fe47ec10 | 2119 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_StyleResetDefault",_kwnames,&_argo0)) |
f6bcfd97 BP |
2120 | return NULL; |
2121 | if (_argo0) { | |
2122 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2123 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 2124 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_StyleResetDefault. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
2125 | return NULL; |
2126 | } | |
2127 | } | |
2128 | { | |
2129 | wxPy_BEGIN_ALLOW_THREADS; | |
fe47ec10 | 2130 | wxStyledTextCtrl_StyleResetDefault(_arg0); |
f6bcfd97 BP |
2131 | |
2132 | wxPy_END_ALLOW_THREADS; | |
2133 | } Py_INCREF(Py_None); | |
2134 | _resultobj = Py_None; | |
2135 | return _resultobj; | |
2136 | } | |
2137 | ||
fe47ec10 RD |
2138 | #define wxStyledTextCtrl_StyleSetUnderline(_swigobj,_swigarg0,_swigarg1) (_swigobj->StyleSetUnderline(_swigarg0,_swigarg1)) |
2139 | static PyObject *_wrap_wxStyledTextCtrl_StyleSetUnderline(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 | 2140 | PyObject * _resultobj; |
f6bcfd97 | 2141 | wxStyledTextCtrl * _arg0; |
fe47ec10 RD |
2142 | int _arg1; |
2143 | bool _arg2; | |
f6bcfd97 | 2144 | PyObject * _argo0 = 0; |
fe47ec10 RD |
2145 | int tempbool2; |
2146 | char *_kwnames[] = { "self","style","underline", NULL }; | |
f6bcfd97 BP |
2147 | |
2148 | self = self; | |
fe47ec10 | 2149 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxStyledTextCtrl_StyleSetUnderline",_kwnames,&_argo0,&_arg1,&tempbool2)) |
f6bcfd97 BP |
2150 | return NULL; |
2151 | if (_argo0) { | |
2152 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2153 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 2154 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_StyleSetUnderline. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
2155 | return NULL; |
2156 | } | |
2157 | } | |
fe47ec10 | 2158 | _arg2 = (bool ) tempbool2; |
f6bcfd97 BP |
2159 | { |
2160 | wxPy_BEGIN_ALLOW_THREADS; | |
fe47ec10 | 2161 | wxStyledTextCtrl_StyleSetUnderline(_arg0,_arg1,_arg2); |
f6bcfd97 BP |
2162 | |
2163 | wxPy_END_ALLOW_THREADS; | |
fe47ec10 RD |
2164 | } Py_INCREF(Py_None); |
2165 | _resultobj = Py_None; | |
f6bcfd97 BP |
2166 | return _resultobj; |
2167 | } | |
2168 | ||
fe47ec10 RD |
2169 | #define wxStyledTextCtrl_SetSelForeground(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetSelForeground(_swigarg0,_swigarg1)) |
2170 | static PyObject *_wrap_wxStyledTextCtrl_SetSelForeground(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 | 2171 | PyObject * _resultobj; |
f6bcfd97 | 2172 | wxStyledTextCtrl * _arg0; |
fe47ec10 RD |
2173 | bool _arg1; |
2174 | wxColour * _arg2; | |
f6bcfd97 | 2175 | PyObject * _argo0 = 0; |
fe47ec10 RD |
2176 | int tempbool1; |
2177 | wxColour temp; | |
2178 | PyObject * _obj2 = 0; | |
2179 | char *_kwnames[] = { "self","useSetting","fore", NULL }; | |
f6bcfd97 BP |
2180 | |
2181 | self = self; | |
fe47ec10 | 2182 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxStyledTextCtrl_SetSelForeground",_kwnames,&_argo0,&tempbool1,&_obj2)) |
f6bcfd97 BP |
2183 | return NULL; |
2184 | if (_argo0) { | |
2185 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2186 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 2187 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetSelForeground. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
2188 | return NULL; |
2189 | } | |
2190 | } | |
fe47ec10 RD |
2191 | _arg1 = (bool ) tempbool1; |
2192 | { | |
2193 | _arg2 = &temp; | |
2194 | if (! wxColour_helper(_obj2, &_arg2)) | |
2195 | return NULL; | |
2196 | } | |
f6bcfd97 BP |
2197 | { |
2198 | wxPy_BEGIN_ALLOW_THREADS; | |
fe47ec10 | 2199 | wxStyledTextCtrl_SetSelForeground(_arg0,_arg1,*_arg2); |
f6bcfd97 BP |
2200 | |
2201 | wxPy_END_ALLOW_THREADS; | |
fe47ec10 RD |
2202 | } Py_INCREF(Py_None); |
2203 | _resultobj = Py_None; | |
f6bcfd97 BP |
2204 | return _resultobj; |
2205 | } | |
2206 | ||
fe47ec10 RD |
2207 | #define wxStyledTextCtrl_SetSelBackground(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetSelBackground(_swigarg0,_swigarg1)) |
2208 | static PyObject *_wrap_wxStyledTextCtrl_SetSelBackground(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 | 2209 | PyObject * _resultobj; |
f6bcfd97 | 2210 | wxStyledTextCtrl * _arg0; |
fe47ec10 RD |
2211 | bool _arg1; |
2212 | wxColour * _arg2; | |
f6bcfd97 | 2213 | PyObject * _argo0 = 0; |
fe47ec10 RD |
2214 | int tempbool1; |
2215 | wxColour temp; | |
2216 | PyObject * _obj2 = 0; | |
2217 | char *_kwnames[] = { "self","useSetting","back", NULL }; | |
f6bcfd97 BP |
2218 | |
2219 | self = self; | |
fe47ec10 | 2220 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxStyledTextCtrl_SetSelBackground",_kwnames,&_argo0,&tempbool1,&_obj2)) |
f6bcfd97 BP |
2221 | return NULL; |
2222 | if (_argo0) { | |
2223 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2224 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 2225 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetSelBackground. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
2226 | return NULL; |
2227 | } | |
2228 | } | |
fe47ec10 RD |
2229 | _arg1 = (bool ) tempbool1; |
2230 | { | |
2231 | _arg2 = &temp; | |
2232 | if (! wxColour_helper(_obj2, &_arg2)) | |
2233 | return NULL; | |
2234 | } | |
f6bcfd97 BP |
2235 | { |
2236 | wxPy_BEGIN_ALLOW_THREADS; | |
fe47ec10 | 2237 | wxStyledTextCtrl_SetSelBackground(_arg0,_arg1,*_arg2); |
f6bcfd97 BP |
2238 | |
2239 | wxPy_END_ALLOW_THREADS; | |
fe47ec10 RD |
2240 | } Py_INCREF(Py_None); |
2241 | _resultobj = Py_None; | |
f6bcfd97 BP |
2242 | return _resultobj; |
2243 | } | |
2244 | ||
fe47ec10 RD |
2245 | #define wxStyledTextCtrl_SetCaretForeground(_swigobj,_swigarg0) (_swigobj->SetCaretForeground(_swigarg0)) |
2246 | static PyObject *_wrap_wxStyledTextCtrl_SetCaretForeground(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 BP |
2247 | PyObject * _resultobj; |
2248 | wxStyledTextCtrl * _arg0; | |
fe47ec10 | 2249 | wxColour * _arg1; |
f6bcfd97 | 2250 | PyObject * _argo0 = 0; |
fe47ec10 RD |
2251 | wxColour temp; |
2252 | PyObject * _obj1 = 0; | |
2253 | char *_kwnames[] = { "self","fore", NULL }; | |
f6bcfd97 BP |
2254 | |
2255 | self = self; | |
fe47ec10 | 2256 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxStyledTextCtrl_SetCaretForeground",_kwnames,&_argo0,&_obj1)) |
f6bcfd97 BP |
2257 | return NULL; |
2258 | if (_argo0) { | |
2259 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2260 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 2261 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetCaretForeground. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
2262 | return NULL; |
2263 | } | |
2264 | } | |
fe47ec10 RD |
2265 | { |
2266 | _arg1 = &temp; | |
2267 | if (! wxColour_helper(_obj1, &_arg1)) | |
2268 | return NULL; | |
2269 | } | |
f6bcfd97 BP |
2270 | { |
2271 | wxPy_BEGIN_ALLOW_THREADS; | |
fe47ec10 | 2272 | wxStyledTextCtrl_SetCaretForeground(_arg0,*_arg1); |
f6bcfd97 BP |
2273 | |
2274 | wxPy_END_ALLOW_THREADS; | |
2275 | } Py_INCREF(Py_None); | |
2276 | _resultobj = Py_None; | |
2277 | return _resultobj; | |
2278 | } | |
2279 | ||
fe47ec10 RD |
2280 | #define wxStyledTextCtrl_CmdKeyAssign(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->CmdKeyAssign(_swigarg0,_swigarg1,_swigarg2)) |
2281 | static PyObject *_wrap_wxStyledTextCtrl_CmdKeyAssign(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 | 2282 | PyObject * _resultobj; |
f6bcfd97 | 2283 | wxStyledTextCtrl * _arg0; |
fe47ec10 RD |
2284 | int _arg1; |
2285 | int _arg2; | |
2286 | int _arg3; | |
f6bcfd97 | 2287 | PyObject * _argo0 = 0; |
fe47ec10 | 2288 | char *_kwnames[] = { "self","key","modifiers","cmd", NULL }; |
f6bcfd97 BP |
2289 | |
2290 | self = self; | |
fe47ec10 | 2291 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oiii:wxStyledTextCtrl_CmdKeyAssign",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3)) |
f6bcfd97 BP |
2292 | return NULL; |
2293 | if (_argo0) { | |
2294 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2295 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 2296 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_CmdKeyAssign. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
2297 | return NULL; |
2298 | } | |
2299 | } | |
2300 | { | |
2301 | wxPy_BEGIN_ALLOW_THREADS; | |
fe47ec10 | 2302 | wxStyledTextCtrl_CmdKeyAssign(_arg0,_arg1,_arg2,_arg3); |
f6bcfd97 BP |
2303 | |
2304 | wxPy_END_ALLOW_THREADS; | |
fe47ec10 RD |
2305 | } Py_INCREF(Py_None); |
2306 | _resultobj = Py_None; | |
f6bcfd97 BP |
2307 | return _resultobj; |
2308 | } | |
2309 | ||
fe47ec10 RD |
2310 | #define wxStyledTextCtrl_CmdKeyClear(_swigobj,_swigarg0,_swigarg1) (_swigobj->CmdKeyClear(_swigarg0,_swigarg1)) |
2311 | static PyObject *_wrap_wxStyledTextCtrl_CmdKeyClear(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 | 2312 | PyObject * _resultobj; |
f6bcfd97 BP |
2313 | wxStyledTextCtrl * _arg0; |
2314 | int _arg1; | |
2315 | int _arg2; | |
f6bcfd97 | 2316 | PyObject * _argo0 = 0; |
fe47ec10 | 2317 | char *_kwnames[] = { "self","key","modifiers", NULL }; |
f6bcfd97 BP |
2318 | |
2319 | self = self; | |
fe47ec10 | 2320 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxStyledTextCtrl_CmdKeyClear",_kwnames,&_argo0,&_arg1,&_arg2)) |
f6bcfd97 BP |
2321 | return NULL; |
2322 | if (_argo0) { | |
2323 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2324 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 2325 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_CmdKeyClear. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
2326 | return NULL; |
2327 | } | |
2328 | } | |
f6bcfd97 BP |
2329 | { |
2330 | wxPy_BEGIN_ALLOW_THREADS; | |
fe47ec10 | 2331 | wxStyledTextCtrl_CmdKeyClear(_arg0,_arg1,_arg2); |
f6bcfd97 BP |
2332 | |
2333 | wxPy_END_ALLOW_THREADS; | |
fe47ec10 RD |
2334 | } Py_INCREF(Py_None); |
2335 | _resultobj = Py_None; | |
f6bcfd97 BP |
2336 | return _resultobj; |
2337 | } | |
2338 | ||
fe47ec10 RD |
2339 | #define wxStyledTextCtrl_CmdKeyClearAll(_swigobj) (_swigobj->CmdKeyClearAll()) |
2340 | static PyObject *_wrap_wxStyledTextCtrl_CmdKeyClearAll(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 BP |
2341 | PyObject * _resultobj; |
2342 | wxStyledTextCtrl * _arg0; | |
2343 | PyObject * _argo0 = 0; | |
2344 | char *_kwnames[] = { "self", NULL }; | |
2345 | ||
2346 | self = self; | |
fe47ec10 | 2347 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_CmdKeyClearAll",_kwnames,&_argo0)) |
f6bcfd97 BP |
2348 | return NULL; |
2349 | if (_argo0) { | |
2350 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2351 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 2352 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_CmdKeyClearAll. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
2353 | return NULL; |
2354 | } | |
2355 | } | |
2356 | { | |
2357 | wxPy_BEGIN_ALLOW_THREADS; | |
fe47ec10 | 2358 | wxStyledTextCtrl_CmdKeyClearAll(_arg0); |
f6bcfd97 BP |
2359 | |
2360 | wxPy_END_ALLOW_THREADS; | |
2361 | } Py_INCREF(Py_None); | |
2362 | _resultobj = Py_None; | |
2363 | return _resultobj; | |
2364 | } | |
2365 | ||
fe47ec10 RD |
2366 | #define wxStyledTextCtrl_SetStyleBytes(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetStyleBytes(_swigarg0,_swigarg1)) |
2367 | static PyObject *_wrap_wxStyledTextCtrl_SetStyleBytes(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 | 2368 | PyObject * _resultobj; |
f6bcfd97 | 2369 | wxStyledTextCtrl * _arg0; |
fe47ec10 RD |
2370 | int _arg1; |
2371 | char * _arg2; | |
f6bcfd97 | 2372 | PyObject * _argo0 = 0; |
fe47ec10 | 2373 | char *_kwnames[] = { "self","length","styleBytes", NULL }; |
f6bcfd97 BP |
2374 | |
2375 | self = self; | |
fe47ec10 | 2376 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ois:wxStyledTextCtrl_SetStyleBytes",_kwnames,&_argo0,&_arg1,&_arg2)) |
f6bcfd97 BP |
2377 | return NULL; |
2378 | if (_argo0) { | |
2379 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2380 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 2381 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetStyleBytes. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
2382 | return NULL; |
2383 | } | |
2384 | } | |
f6bcfd97 BP |
2385 | { |
2386 | wxPy_BEGIN_ALLOW_THREADS; | |
fe47ec10 | 2387 | wxStyledTextCtrl_SetStyleBytes(_arg0,_arg1,_arg2); |
f6bcfd97 BP |
2388 | |
2389 | wxPy_END_ALLOW_THREADS; | |
fe47ec10 RD |
2390 | } Py_INCREF(Py_None); |
2391 | _resultobj = Py_None; | |
f6bcfd97 BP |
2392 | return _resultobj; |
2393 | } | |
2394 | ||
fe47ec10 RD |
2395 | #define wxStyledTextCtrl_StyleSetVisible(_swigobj,_swigarg0,_swigarg1) (_swigobj->StyleSetVisible(_swigarg0,_swigarg1)) |
2396 | static PyObject *_wrap_wxStyledTextCtrl_StyleSetVisible(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 | 2397 | PyObject * _resultobj; |
f6bcfd97 | 2398 | wxStyledTextCtrl * _arg0; |
fe47ec10 | 2399 | int _arg1; |
f6bcfd97 | 2400 | bool _arg2; |
f6bcfd97 | 2401 | PyObject * _argo0 = 0; |
f6bcfd97 | 2402 | int tempbool2; |
fe47ec10 | 2403 | char *_kwnames[] = { "self","style","visible", NULL }; |
f6bcfd97 BP |
2404 | |
2405 | self = self; | |
fe47ec10 | 2406 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxStyledTextCtrl_StyleSetVisible",_kwnames,&_argo0,&_arg1,&tempbool2)) |
f6bcfd97 BP |
2407 | return NULL; |
2408 | if (_argo0) { | |
2409 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2410 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 2411 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_StyleSetVisible. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
2412 | return NULL; |
2413 | } | |
2414 | } | |
f6bcfd97 | 2415 | _arg2 = (bool ) tempbool2; |
f6bcfd97 BP |
2416 | { |
2417 | wxPy_BEGIN_ALLOW_THREADS; | |
fe47ec10 | 2418 | wxStyledTextCtrl_StyleSetVisible(_arg0,_arg1,_arg2); |
f6bcfd97 BP |
2419 | |
2420 | wxPy_END_ALLOW_THREADS; | |
fe47ec10 RD |
2421 | } Py_INCREF(Py_None); |
2422 | _resultobj = Py_None; | |
f6bcfd97 BP |
2423 | return _resultobj; |
2424 | } | |
2425 | ||
fe47ec10 RD |
2426 | #define wxStyledTextCtrl_GetCaretPeriod(_swigobj) (_swigobj->GetCaretPeriod()) |
2427 | static PyObject *_wrap_wxStyledTextCtrl_GetCaretPeriod(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 | 2428 | PyObject * _resultobj; |
fe47ec10 | 2429 | int _result; |
f6bcfd97 BP |
2430 | wxStyledTextCtrl * _arg0; |
2431 | PyObject * _argo0 = 0; | |
2432 | char *_kwnames[] = { "self", NULL }; | |
2433 | ||
2434 | self = self; | |
fe47ec10 | 2435 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetCaretPeriod",_kwnames,&_argo0)) |
f6bcfd97 BP |
2436 | return NULL; |
2437 | if (_argo0) { | |
2438 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2439 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 2440 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetCaretPeriod. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
2441 | return NULL; |
2442 | } | |
2443 | } | |
2444 | { | |
2445 | wxPy_BEGIN_ALLOW_THREADS; | |
fe47ec10 | 2446 | _result = (int )wxStyledTextCtrl_GetCaretPeriod(_arg0); |
f6bcfd97 BP |
2447 | |
2448 | wxPy_END_ALLOW_THREADS; | |
2449 | } _resultobj = Py_BuildValue("i",_result); | |
2450 | return _resultobj; | |
2451 | } | |
2452 | ||
fe47ec10 RD |
2453 | #define wxStyledTextCtrl_SetCaretPeriod(_swigobj,_swigarg0) (_swigobj->SetCaretPeriod(_swigarg0)) |
2454 | static PyObject *_wrap_wxStyledTextCtrl_SetCaretPeriod(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 BP |
2455 | PyObject * _resultobj; |
2456 | wxStyledTextCtrl * _arg0; | |
fe47ec10 | 2457 | int _arg1; |
f6bcfd97 | 2458 | PyObject * _argo0 = 0; |
fe47ec10 | 2459 | char *_kwnames[] = { "self","periodMilliseconds", NULL }; |
f6bcfd97 BP |
2460 | |
2461 | self = self; | |
fe47ec10 | 2462 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_SetCaretPeriod",_kwnames,&_argo0,&_arg1)) |
f6bcfd97 BP |
2463 | return NULL; |
2464 | if (_argo0) { | |
2465 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2466 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 2467 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetCaretPeriod. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
2468 | return NULL; |
2469 | } | |
2470 | } | |
f6bcfd97 BP |
2471 | { |
2472 | wxPy_BEGIN_ALLOW_THREADS; | |
fe47ec10 | 2473 | wxStyledTextCtrl_SetCaretPeriod(_arg0,_arg1); |
f6bcfd97 BP |
2474 | |
2475 | wxPy_END_ALLOW_THREADS; | |
2476 | } Py_INCREF(Py_None); | |
2477 | _resultobj = Py_None; | |
2478 | return _resultobj; | |
2479 | } | |
2480 | ||
fe47ec10 RD |
2481 | #define wxStyledTextCtrl_SetWordChars(_swigobj,_swigarg0) (_swigobj->SetWordChars(_swigarg0)) |
2482 | static PyObject *_wrap_wxStyledTextCtrl_SetWordChars(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 | 2483 | PyObject * _resultobj; |
f6bcfd97 | 2484 | wxStyledTextCtrl * _arg0; |
fe47ec10 | 2485 | wxString * _arg1; |
f6bcfd97 | 2486 | PyObject * _argo0 = 0; |
fe47ec10 RD |
2487 | PyObject * _obj1 = 0; |
2488 | char *_kwnames[] = { "self","characters", NULL }; | |
f6bcfd97 BP |
2489 | |
2490 | self = self; | |
fe47ec10 | 2491 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxStyledTextCtrl_SetWordChars",_kwnames,&_argo0,&_obj1)) |
f6bcfd97 BP |
2492 | return NULL; |
2493 | if (_argo0) { | |
2494 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2495 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 2496 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetWordChars. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
2497 | return NULL; |
2498 | } | |
2499 | } | |
fe47ec10 | 2500 | { |
185d7c3e RD |
2501 | #if PYTHON_API_VERSION >= 1009 |
2502 | char* tmpPtr; int tmpSize; | |
2503 | if (!PyString_Check(_obj1) && !PyUnicode_Check(_obj1)) { | |
7a446686 | 2504 | PyErr_SetString(PyExc_TypeError, wxStringErrorMsg); |
185d7c3e RD |
2505 | return NULL; |
2506 | } | |
2507 | if (PyString_AsStringAndSize(_obj1, &tmpPtr, &tmpSize) == -1) | |
2508 | return NULL; | |
2509 | _arg1 = new wxString(tmpPtr, tmpSize); | |
2510 | #else | |
fe47ec10 RD |
2511 | if (!PyString_Check(_obj1)) { |
2512 | PyErr_SetString(PyExc_TypeError, wxStringErrorMsg); | |
2513 | return NULL; | |
2514 | } | |
185d7c3e RD |
2515 | _arg1 = new wxString(PyString_AS_STRING(_obj1), PyString_GET_SIZE(_obj1)); |
2516 | #endif | |
fe47ec10 | 2517 | } |
f6bcfd97 BP |
2518 | { |
2519 | wxPy_BEGIN_ALLOW_THREADS; | |
fe47ec10 | 2520 | wxStyledTextCtrl_SetWordChars(_arg0,*_arg1); |
f6bcfd97 BP |
2521 | |
2522 | wxPy_END_ALLOW_THREADS; | |
fe47ec10 RD |
2523 | } Py_INCREF(Py_None); |
2524 | _resultobj = Py_None; | |
2525 | { | |
2526 | if (_obj1) | |
2527 | delete _arg1; | |
2528 | } | |
f6bcfd97 BP |
2529 | return _resultobj; |
2530 | } | |
2531 | ||
fe47ec10 RD |
2532 | #define wxStyledTextCtrl_BeginUndoAction(_swigobj) (_swigobj->BeginUndoAction()) |
2533 | static PyObject *_wrap_wxStyledTextCtrl_BeginUndoAction(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 BP |
2534 | PyObject * _resultobj; |
2535 | wxStyledTextCtrl * _arg0; | |
f6bcfd97 | 2536 | PyObject * _argo0 = 0; |
fe47ec10 | 2537 | char *_kwnames[] = { "self", NULL }; |
f6bcfd97 BP |
2538 | |
2539 | self = self; | |
fe47ec10 | 2540 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_BeginUndoAction",_kwnames,&_argo0)) |
f6bcfd97 BP |
2541 | return NULL; |
2542 | if (_argo0) { | |
2543 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2544 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 2545 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_BeginUndoAction. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
2546 | return NULL; |
2547 | } | |
2548 | } | |
2549 | { | |
2550 | wxPy_BEGIN_ALLOW_THREADS; | |
fe47ec10 | 2551 | wxStyledTextCtrl_BeginUndoAction(_arg0); |
f6bcfd97 BP |
2552 | |
2553 | wxPy_END_ALLOW_THREADS; | |
2554 | } Py_INCREF(Py_None); | |
2555 | _resultobj = Py_None; | |
2556 | return _resultobj; | |
2557 | } | |
2558 | ||
fe47ec10 RD |
2559 | #define wxStyledTextCtrl_EndUndoAction(_swigobj) (_swigobj->EndUndoAction()) |
2560 | static PyObject *_wrap_wxStyledTextCtrl_EndUndoAction(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 | 2561 | PyObject * _resultobj; |
f6bcfd97 BP |
2562 | wxStyledTextCtrl * _arg0; |
2563 | PyObject * _argo0 = 0; | |
2564 | char *_kwnames[] = { "self", NULL }; | |
2565 | ||
2566 | self = self; | |
fe47ec10 | 2567 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_EndUndoAction",_kwnames,&_argo0)) |
f6bcfd97 BP |
2568 | return NULL; |
2569 | if (_argo0) { | |
2570 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2571 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 2572 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_EndUndoAction. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
2573 | return NULL; |
2574 | } | |
2575 | } | |
2576 | { | |
2577 | wxPy_BEGIN_ALLOW_THREADS; | |
fe47ec10 | 2578 | wxStyledTextCtrl_EndUndoAction(_arg0); |
f6bcfd97 BP |
2579 | |
2580 | wxPy_END_ALLOW_THREADS; | |
fe47ec10 RD |
2581 | } Py_INCREF(Py_None); |
2582 | _resultobj = Py_None; | |
f6bcfd97 BP |
2583 | return _resultobj; |
2584 | } | |
2585 | ||
fe47ec10 RD |
2586 | #define wxStyledTextCtrl_IndicatorSetStyle(_swigobj,_swigarg0,_swigarg1) (_swigobj->IndicatorSetStyle(_swigarg0,_swigarg1)) |
2587 | static PyObject *_wrap_wxStyledTextCtrl_IndicatorSetStyle(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 BP |
2588 | PyObject * _resultobj; |
2589 | wxStyledTextCtrl * _arg0; | |
fe47ec10 RD |
2590 | int _arg1; |
2591 | int _arg2; | |
f6bcfd97 | 2592 | PyObject * _argo0 = 0; |
fe47ec10 | 2593 | char *_kwnames[] = { "self","indic","style", NULL }; |
f6bcfd97 BP |
2594 | |
2595 | self = self; | |
fe47ec10 | 2596 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxStyledTextCtrl_IndicatorSetStyle",_kwnames,&_argo0,&_arg1,&_arg2)) |
f6bcfd97 BP |
2597 | return NULL; |
2598 | if (_argo0) { | |
2599 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2600 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 2601 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_IndicatorSetStyle. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
2602 | return NULL; |
2603 | } | |
2604 | } | |
f6bcfd97 BP |
2605 | { |
2606 | wxPy_BEGIN_ALLOW_THREADS; | |
fe47ec10 | 2607 | wxStyledTextCtrl_IndicatorSetStyle(_arg0,_arg1,_arg2); |
f6bcfd97 BP |
2608 | |
2609 | wxPy_END_ALLOW_THREADS; | |
2610 | } Py_INCREF(Py_None); | |
2611 | _resultobj = Py_None; | |
2612 | return _resultobj; | |
2613 | } | |
2614 | ||
fe47ec10 RD |
2615 | #define wxStyledTextCtrl_IndicatorGetStyle(_swigobj,_swigarg0) (_swigobj->IndicatorGetStyle(_swigarg0)) |
2616 | static PyObject *_wrap_wxStyledTextCtrl_IndicatorGetStyle(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 | 2617 | PyObject * _resultobj; |
fe47ec10 | 2618 | int _result; |
f6bcfd97 | 2619 | wxStyledTextCtrl * _arg0; |
fe47ec10 | 2620 | int _arg1; |
f6bcfd97 | 2621 | PyObject * _argo0 = 0; |
fe47ec10 | 2622 | char *_kwnames[] = { "self","indic", NULL }; |
f6bcfd97 BP |
2623 | |
2624 | self = self; | |
fe47ec10 | 2625 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_IndicatorGetStyle",_kwnames,&_argo0,&_arg1)) |
f6bcfd97 BP |
2626 | return NULL; |
2627 | if (_argo0) { | |
2628 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2629 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 2630 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_IndicatorGetStyle. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
2631 | return NULL; |
2632 | } | |
2633 | } | |
2634 | { | |
2635 | wxPy_BEGIN_ALLOW_THREADS; | |
fe47ec10 | 2636 | _result = (int )wxStyledTextCtrl_IndicatorGetStyle(_arg0,_arg1); |
f6bcfd97 BP |
2637 | |
2638 | wxPy_END_ALLOW_THREADS; | |
fe47ec10 | 2639 | } _resultobj = Py_BuildValue("i",_result); |
f6bcfd97 BP |
2640 | return _resultobj; |
2641 | } | |
2642 | ||
fe47ec10 RD |
2643 | #define wxStyledTextCtrl_IndicatorSetForeground(_swigobj,_swigarg0,_swigarg1) (_swigobj->IndicatorSetForeground(_swigarg0,_swigarg1)) |
2644 | static PyObject *_wrap_wxStyledTextCtrl_IndicatorSetForeground(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 | 2645 | PyObject * _resultobj; |
f6bcfd97 | 2646 | wxStyledTextCtrl * _arg0; |
fe47ec10 RD |
2647 | int _arg1; |
2648 | wxColour * _arg2; | |
f6bcfd97 | 2649 | PyObject * _argo0 = 0; |
fe47ec10 RD |
2650 | wxColour temp; |
2651 | PyObject * _obj2 = 0; | |
2652 | char *_kwnames[] = { "self","indic","fore", NULL }; | |
f6bcfd97 BP |
2653 | |
2654 | self = self; | |
fe47ec10 | 2655 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxStyledTextCtrl_IndicatorSetForeground",_kwnames,&_argo0,&_arg1,&_obj2)) |
f6bcfd97 BP |
2656 | return NULL; |
2657 | if (_argo0) { | |
2658 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2659 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 2660 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_IndicatorSetForeground. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
2661 | return NULL; |
2662 | } | |
2663 | } | |
fe47ec10 RD |
2664 | { |
2665 | _arg2 = &temp; | |
2666 | if (! wxColour_helper(_obj2, &_arg2)) | |
2667 | return NULL; | |
2668 | } | |
f6bcfd97 BP |
2669 | { |
2670 | wxPy_BEGIN_ALLOW_THREADS; | |
fe47ec10 | 2671 | wxStyledTextCtrl_IndicatorSetForeground(_arg0,_arg1,*_arg2); |
f6bcfd97 BP |
2672 | |
2673 | wxPy_END_ALLOW_THREADS; | |
fe47ec10 RD |
2674 | } Py_INCREF(Py_None); |
2675 | _resultobj = Py_None; | |
f6bcfd97 BP |
2676 | return _resultobj; |
2677 | } | |
2678 | ||
fe47ec10 RD |
2679 | #define wxStyledTextCtrl_IndicatorGetForeground(_swigobj,_swigarg0) (_swigobj->IndicatorGetForeground(_swigarg0)) |
2680 | static PyObject *_wrap_wxStyledTextCtrl_IndicatorGetForeground(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 | 2681 | PyObject * _resultobj; |
fe47ec10 | 2682 | wxColour * _result; |
f6bcfd97 BP |
2683 | wxStyledTextCtrl * _arg0; |
2684 | int _arg1; | |
f6bcfd97 | 2685 | PyObject * _argo0 = 0; |
fe47ec10 RD |
2686 | char *_kwnames[] = { "self","indic", NULL }; |
2687 | char _ptemp[128]; | |
f6bcfd97 BP |
2688 | |
2689 | self = self; | |
fe47ec10 | 2690 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_IndicatorGetForeground",_kwnames,&_argo0,&_arg1)) |
f6bcfd97 BP |
2691 | return NULL; |
2692 | if (_argo0) { | |
2693 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2694 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 2695 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_IndicatorGetForeground. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
2696 | return NULL; |
2697 | } | |
2698 | } | |
2699 | { | |
2700 | wxPy_BEGIN_ALLOW_THREADS; | |
fe47ec10 | 2701 | _result = new wxColour (wxStyledTextCtrl_IndicatorGetForeground(_arg0,_arg1)); |
f6bcfd97 BP |
2702 | |
2703 | wxPy_END_ALLOW_THREADS; | |
fe47ec10 RD |
2704 | } SWIG_MakePtr(_ptemp, (void *) _result,"_wxColour_p"); |
2705 | _resultobj = Py_BuildValue("s",_ptemp); | |
f6bcfd97 BP |
2706 | return _resultobj; |
2707 | } | |
2708 | ||
fe47ec10 RD |
2709 | #define wxStyledTextCtrl_SetStyleBits(_swigobj,_swigarg0) (_swigobj->SetStyleBits(_swigarg0)) |
2710 | static PyObject *_wrap_wxStyledTextCtrl_SetStyleBits(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 BP |
2711 | PyObject * _resultobj; |
2712 | wxStyledTextCtrl * _arg0; | |
2713 | int _arg1; | |
f6bcfd97 | 2714 | PyObject * _argo0 = 0; |
fe47ec10 | 2715 | char *_kwnames[] = { "self","bits", NULL }; |
f6bcfd97 BP |
2716 | |
2717 | self = self; | |
fe47ec10 | 2718 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_SetStyleBits",_kwnames,&_argo0,&_arg1)) |
f6bcfd97 BP |
2719 | return NULL; |
2720 | if (_argo0) { | |
2721 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2722 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 2723 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetStyleBits. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
2724 | return NULL; |
2725 | } | |
2726 | } | |
2727 | { | |
2728 | wxPy_BEGIN_ALLOW_THREADS; | |
fe47ec10 | 2729 | wxStyledTextCtrl_SetStyleBits(_arg0,_arg1); |
f6bcfd97 BP |
2730 | |
2731 | wxPy_END_ALLOW_THREADS; | |
2732 | } Py_INCREF(Py_None); | |
2733 | _resultobj = Py_None; | |
2734 | return _resultobj; | |
2735 | } | |
2736 | ||
fe47ec10 RD |
2737 | #define wxStyledTextCtrl_GetStyleBits(_swigobj) (_swigobj->GetStyleBits()) |
2738 | static PyObject *_wrap_wxStyledTextCtrl_GetStyleBits(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 | 2739 | PyObject * _resultobj; |
fe47ec10 | 2740 | int _result; |
f6bcfd97 | 2741 | wxStyledTextCtrl * _arg0; |
f6bcfd97 | 2742 | PyObject * _argo0 = 0; |
fe47ec10 | 2743 | char *_kwnames[] = { "self", NULL }; |
f6bcfd97 BP |
2744 | |
2745 | self = self; | |
fe47ec10 | 2746 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetStyleBits",_kwnames,&_argo0)) |
f6bcfd97 BP |
2747 | return NULL; |
2748 | if (_argo0) { | |
2749 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2750 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 2751 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetStyleBits. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
2752 | return NULL; |
2753 | } | |
2754 | } | |
2755 | { | |
2756 | wxPy_BEGIN_ALLOW_THREADS; | |
fe47ec10 | 2757 | _result = (int )wxStyledTextCtrl_GetStyleBits(_arg0); |
f6bcfd97 BP |
2758 | |
2759 | wxPy_END_ALLOW_THREADS; | |
fe47ec10 | 2760 | } _resultobj = Py_BuildValue("i",_result); |
f6bcfd97 BP |
2761 | return _resultobj; |
2762 | } | |
2763 | ||
2764 | #define wxStyledTextCtrl_SetLineState(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetLineState(_swigarg0,_swigarg1)) | |
2765 | static PyObject *_wrap_wxStyledTextCtrl_SetLineState(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2766 | PyObject * _resultobj; | |
2767 | wxStyledTextCtrl * _arg0; | |
2768 | int _arg1; | |
2769 | int _arg2; | |
2770 | PyObject * _argo0 = 0; | |
fe47ec10 | 2771 | char *_kwnames[] = { "self","line","state", NULL }; |
f6bcfd97 BP |
2772 | |
2773 | self = self; | |
2774 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxStyledTextCtrl_SetLineState",_kwnames,&_argo0,&_arg1,&_arg2)) | |
2775 | return NULL; | |
2776 | if (_argo0) { | |
2777 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2778 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
2779 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetLineState. Expected _wxStyledTextCtrl_p."); | |
2780 | return NULL; | |
2781 | } | |
2782 | } | |
2783 | { | |
2784 | wxPy_BEGIN_ALLOW_THREADS; | |
2785 | wxStyledTextCtrl_SetLineState(_arg0,_arg1,_arg2); | |
2786 | ||
2787 | wxPy_END_ALLOW_THREADS; | |
2788 | } Py_INCREF(Py_None); | |
2789 | _resultobj = Py_None; | |
2790 | return _resultobj; | |
2791 | } | |
2792 | ||
2793 | #define wxStyledTextCtrl_GetLineState(_swigobj,_swigarg0) (_swigobj->GetLineState(_swigarg0)) | |
2794 | static PyObject *_wrap_wxStyledTextCtrl_GetLineState(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2795 | PyObject * _resultobj; | |
2796 | int _result; | |
2797 | wxStyledTextCtrl * _arg0; | |
2798 | int _arg1; | |
2799 | PyObject * _argo0 = 0; | |
2800 | char *_kwnames[] = { "self","line", NULL }; | |
2801 | ||
2802 | self = self; | |
2803 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_GetLineState",_kwnames,&_argo0,&_arg1)) | |
2804 | return NULL; | |
2805 | if (_argo0) { | |
2806 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2807 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
2808 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetLineState. Expected _wxStyledTextCtrl_p."); | |
2809 | return NULL; | |
2810 | } | |
2811 | } | |
2812 | { | |
2813 | wxPy_BEGIN_ALLOW_THREADS; | |
2814 | _result = (int )wxStyledTextCtrl_GetLineState(_arg0,_arg1); | |
2815 | ||
2816 | wxPy_END_ALLOW_THREADS; | |
2817 | } _resultobj = Py_BuildValue("i",_result); | |
2818 | return _resultobj; | |
2819 | } | |
2820 | ||
fe47ec10 RD |
2821 | #define wxStyledTextCtrl_GetMaxLineState(_swigobj) (_swigobj->GetMaxLineState()) |
2822 | static PyObject *_wrap_wxStyledTextCtrl_GetMaxLineState(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 | 2823 | PyObject * _resultobj; |
fe47ec10 | 2824 | int _result; |
f6bcfd97 BP |
2825 | wxStyledTextCtrl * _arg0; |
2826 | PyObject * _argo0 = 0; | |
2827 | char *_kwnames[] = { "self", NULL }; | |
2828 | ||
2829 | self = self; | |
fe47ec10 | 2830 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetMaxLineState",_kwnames,&_argo0)) |
f6bcfd97 BP |
2831 | return NULL; |
2832 | if (_argo0) { | |
2833 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2834 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 2835 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetMaxLineState. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
2836 | return NULL; |
2837 | } | |
2838 | } | |
2839 | { | |
2840 | wxPy_BEGIN_ALLOW_THREADS; | |
fe47ec10 | 2841 | _result = (int )wxStyledTextCtrl_GetMaxLineState(_arg0); |
f6bcfd97 BP |
2842 | |
2843 | wxPy_END_ALLOW_THREADS; | |
fe47ec10 | 2844 | } _resultobj = Py_BuildValue("i",_result); |
f6bcfd97 BP |
2845 | return _resultobj; |
2846 | } | |
2847 | ||
fe47ec10 RD |
2848 | #define wxStyledTextCtrl_AutoCompShow(_swigobj,_swigarg0,_swigarg1) (_swigobj->AutoCompShow(_swigarg0,_swigarg1)) |
2849 | static PyObject *_wrap_wxStyledTextCtrl_AutoCompShow(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 BP |
2850 | PyObject * _resultobj; |
2851 | wxStyledTextCtrl * _arg0; | |
fe47ec10 RD |
2852 | int _arg1; |
2853 | wxString * _arg2; | |
f6bcfd97 | 2854 | PyObject * _argo0 = 0; |
fe47ec10 RD |
2855 | PyObject * _obj2 = 0; |
2856 | char *_kwnames[] = { "self","lenEntered","itemList", NULL }; | |
f6bcfd97 BP |
2857 | |
2858 | self = self; | |
fe47ec10 | 2859 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxStyledTextCtrl_AutoCompShow",_kwnames,&_argo0,&_arg1,&_obj2)) |
f6bcfd97 BP |
2860 | return NULL; |
2861 | if (_argo0) { | |
2862 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2863 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 2864 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_AutoCompShow. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
2865 | return NULL; |
2866 | } | |
2867 | } | |
fe47ec10 | 2868 | { |
185d7c3e RD |
2869 | #if PYTHON_API_VERSION >= 1009 |
2870 | char* tmpPtr; int tmpSize; | |
2871 | if (!PyString_Check(_obj2) && !PyUnicode_Check(_obj2)) { | |
7a446686 | 2872 | PyErr_SetString(PyExc_TypeError, wxStringErrorMsg); |
185d7c3e RD |
2873 | return NULL; |
2874 | } | |
2875 | if (PyString_AsStringAndSize(_obj2, &tmpPtr, &tmpSize) == -1) | |
2876 | return NULL; | |
2877 | _arg2 = new wxString(tmpPtr, tmpSize); | |
2878 | #else | |
fe47ec10 RD |
2879 | if (!PyString_Check(_obj2)) { |
2880 | PyErr_SetString(PyExc_TypeError, wxStringErrorMsg); | |
2881 | return NULL; | |
2882 | } | |
185d7c3e RD |
2883 | _arg2 = new wxString(PyString_AS_STRING(_obj2), PyString_GET_SIZE(_obj2)); |
2884 | #endif | |
fe47ec10 | 2885 | } |
f6bcfd97 BP |
2886 | { |
2887 | wxPy_BEGIN_ALLOW_THREADS; | |
fe47ec10 | 2888 | wxStyledTextCtrl_AutoCompShow(_arg0,_arg1,*_arg2); |
f6bcfd97 BP |
2889 | |
2890 | wxPy_END_ALLOW_THREADS; | |
2891 | } Py_INCREF(Py_None); | |
2892 | _resultobj = Py_None; | |
fe47ec10 RD |
2893 | { |
2894 | if (_obj2) | |
2895 | delete _arg2; | |
2896 | } | |
f6bcfd97 BP |
2897 | return _resultobj; |
2898 | } | |
2899 | ||
fe47ec10 RD |
2900 | #define wxStyledTextCtrl_AutoCompCancel(_swigobj) (_swigobj->AutoCompCancel()) |
2901 | static PyObject *_wrap_wxStyledTextCtrl_AutoCompCancel(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 BP |
2902 | PyObject * _resultobj; |
2903 | wxStyledTextCtrl * _arg0; | |
f6bcfd97 | 2904 | PyObject * _argo0 = 0; |
fe47ec10 | 2905 | char *_kwnames[] = { "self", NULL }; |
f6bcfd97 BP |
2906 | |
2907 | self = self; | |
fe47ec10 | 2908 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_AutoCompCancel",_kwnames,&_argo0)) |
f6bcfd97 BP |
2909 | return NULL; |
2910 | if (_argo0) { | |
2911 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2912 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 2913 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_AutoCompCancel. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
2914 | return NULL; |
2915 | } | |
2916 | } | |
f6bcfd97 BP |
2917 | { |
2918 | wxPy_BEGIN_ALLOW_THREADS; | |
fe47ec10 | 2919 | wxStyledTextCtrl_AutoCompCancel(_arg0); |
f6bcfd97 BP |
2920 | |
2921 | wxPy_END_ALLOW_THREADS; | |
2922 | } Py_INCREF(Py_None); | |
2923 | _resultobj = Py_None; | |
f6bcfd97 BP |
2924 | return _resultobj; |
2925 | } | |
2926 | ||
fe47ec10 RD |
2927 | #define wxStyledTextCtrl_AutoCompActive(_swigobj) (_swigobj->AutoCompActive()) |
2928 | static PyObject *_wrap_wxStyledTextCtrl_AutoCompActive(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 | 2929 | PyObject * _resultobj; |
fe47ec10 | 2930 | bool _result; |
f6bcfd97 | 2931 | wxStyledTextCtrl * _arg0; |
f6bcfd97 | 2932 | PyObject * _argo0 = 0; |
fe47ec10 | 2933 | char *_kwnames[] = { "self", NULL }; |
f6bcfd97 BP |
2934 | |
2935 | self = self; | |
fe47ec10 | 2936 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_AutoCompActive",_kwnames,&_argo0)) |
f6bcfd97 BP |
2937 | return NULL; |
2938 | if (_argo0) { | |
2939 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2940 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 2941 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_AutoCompActive. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
2942 | return NULL; |
2943 | } | |
2944 | } | |
f6bcfd97 BP |
2945 | { |
2946 | wxPy_BEGIN_ALLOW_THREADS; | |
fe47ec10 | 2947 | _result = (bool )wxStyledTextCtrl_AutoCompActive(_arg0); |
f6bcfd97 BP |
2948 | |
2949 | wxPy_END_ALLOW_THREADS; | |
fe47ec10 | 2950 | } _resultobj = Py_BuildValue("i",_result); |
f6bcfd97 BP |
2951 | return _resultobj; |
2952 | } | |
2953 | ||
fe47ec10 RD |
2954 | #define wxStyledTextCtrl_AutoCompPosStart(_swigobj) (_swigobj->AutoCompPosStart()) |
2955 | static PyObject *_wrap_wxStyledTextCtrl_AutoCompPosStart(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 | 2956 | PyObject * _resultobj; |
fe47ec10 | 2957 | int _result; |
f6bcfd97 | 2958 | wxStyledTextCtrl * _arg0; |
f6bcfd97 | 2959 | PyObject * _argo0 = 0; |
fe47ec10 | 2960 | char *_kwnames[] = { "self", NULL }; |
f6bcfd97 BP |
2961 | |
2962 | self = self; | |
fe47ec10 | 2963 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_AutoCompPosStart",_kwnames,&_argo0)) |
f6bcfd97 BP |
2964 | return NULL; |
2965 | if (_argo0) { | |
2966 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2967 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 2968 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_AutoCompPosStart. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
2969 | return NULL; |
2970 | } | |
2971 | } | |
f6bcfd97 BP |
2972 | { |
2973 | wxPy_BEGIN_ALLOW_THREADS; | |
fe47ec10 | 2974 | _result = (int )wxStyledTextCtrl_AutoCompPosStart(_arg0); |
f6bcfd97 BP |
2975 | |
2976 | wxPy_END_ALLOW_THREADS; | |
fe47ec10 | 2977 | } _resultobj = Py_BuildValue("i",_result); |
f6bcfd97 BP |
2978 | return _resultobj; |
2979 | } | |
2980 | ||
fe47ec10 RD |
2981 | #define wxStyledTextCtrl_AutoCompComplete(_swigobj) (_swigobj->AutoCompComplete()) |
2982 | static PyObject *_wrap_wxStyledTextCtrl_AutoCompComplete(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 BP |
2983 | PyObject * _resultobj; |
2984 | wxStyledTextCtrl * _arg0; | |
f6bcfd97 | 2985 | PyObject * _argo0 = 0; |
fe47ec10 | 2986 | char *_kwnames[] = { "self", NULL }; |
f6bcfd97 BP |
2987 | |
2988 | self = self; | |
fe47ec10 | 2989 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_AutoCompComplete",_kwnames,&_argo0)) |
f6bcfd97 BP |
2990 | return NULL; |
2991 | if (_argo0) { | |
2992 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2993 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 2994 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_AutoCompComplete. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
2995 | return NULL; |
2996 | } | |
2997 | } | |
2998 | { | |
2999 | wxPy_BEGIN_ALLOW_THREADS; | |
fe47ec10 | 3000 | wxStyledTextCtrl_AutoCompComplete(_arg0); |
f6bcfd97 BP |
3001 | |
3002 | wxPy_END_ALLOW_THREADS; | |
3003 | } Py_INCREF(Py_None); | |
3004 | _resultobj = Py_None; | |
3005 | return _resultobj; | |
3006 | } | |
3007 | ||
fe47ec10 RD |
3008 | #define wxStyledTextCtrl_AutoCompStops(_swigobj,_swigarg0) (_swigobj->AutoCompStops(_swigarg0)) |
3009 | static PyObject *_wrap_wxStyledTextCtrl_AutoCompStops(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 BP |
3010 | PyObject * _resultobj; |
3011 | wxStyledTextCtrl * _arg0; | |
fe47ec10 | 3012 | wxString * _arg1; |
f6bcfd97 | 3013 | PyObject * _argo0 = 0; |
fe47ec10 RD |
3014 | PyObject * _obj1 = 0; |
3015 | char *_kwnames[] = { "self","characterSet", NULL }; | |
f6bcfd97 BP |
3016 | |
3017 | self = self; | |
fe47ec10 | 3018 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxStyledTextCtrl_AutoCompStops",_kwnames,&_argo0,&_obj1)) |
f6bcfd97 BP |
3019 | return NULL; |
3020 | if (_argo0) { | |
3021 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3022 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 3023 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_AutoCompStops. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
3024 | return NULL; |
3025 | } | |
3026 | } | |
3027 | { | |
185d7c3e RD |
3028 | #if PYTHON_API_VERSION >= 1009 |
3029 | char* tmpPtr; int tmpSize; | |
3030 | if (!PyString_Check(_obj1) && !PyUnicode_Check(_obj1)) { | |
7a446686 | 3031 | PyErr_SetString(PyExc_TypeError, wxStringErrorMsg); |
185d7c3e RD |
3032 | return NULL; |
3033 | } | |
3034 | if (PyString_AsStringAndSize(_obj1, &tmpPtr, &tmpSize) == -1) | |
3035 | return NULL; | |
3036 | _arg1 = new wxString(tmpPtr, tmpSize); | |
3037 | #else | |
fe47ec10 | 3038 | if (!PyString_Check(_obj1)) { |
f6bcfd97 BP |
3039 | PyErr_SetString(PyExc_TypeError, wxStringErrorMsg); |
3040 | return NULL; | |
3041 | } | |
185d7c3e RD |
3042 | _arg1 = new wxString(PyString_AS_STRING(_obj1), PyString_GET_SIZE(_obj1)); |
3043 | #endif | |
f6bcfd97 | 3044 | } |
f6bcfd97 BP |
3045 | { |
3046 | wxPy_BEGIN_ALLOW_THREADS; | |
fe47ec10 | 3047 | wxStyledTextCtrl_AutoCompStops(_arg0,*_arg1); |
f6bcfd97 BP |
3048 | |
3049 | wxPy_END_ALLOW_THREADS; | |
3050 | } Py_INCREF(Py_None); | |
3051 | _resultobj = Py_None; | |
3052 | { | |
fe47ec10 RD |
3053 | if (_obj1) |
3054 | delete _arg1; | |
f6bcfd97 BP |
3055 | } |
3056 | return _resultobj; | |
3057 | } | |
3058 | ||
fe47ec10 RD |
3059 | #define wxStyledTextCtrl_AutoCompSetSeparator(_swigobj,_swigarg0) (_swigobj->AutoCompSetSeparator(_swigarg0)) |
3060 | static PyObject *_wrap_wxStyledTextCtrl_AutoCompSetSeparator(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 BP |
3061 | PyObject * _resultobj; |
3062 | wxStyledTextCtrl * _arg0; | |
3063 | int _arg1; | |
f6bcfd97 | 3064 | PyObject * _argo0 = 0; |
fe47ec10 | 3065 | char *_kwnames[] = { "self","separatorCharacter", NULL }; |
f6bcfd97 BP |
3066 | |
3067 | self = self; | |
fe47ec10 | 3068 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_AutoCompSetSeparator",_kwnames,&_argo0,&_arg1)) |
f6bcfd97 BP |
3069 | return NULL; |
3070 | if (_argo0) { | |
3071 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3072 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 3073 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_AutoCompSetSeparator. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
3074 | return NULL; |
3075 | } | |
3076 | } | |
f6bcfd97 BP |
3077 | { |
3078 | wxPy_BEGIN_ALLOW_THREADS; | |
fe47ec10 | 3079 | wxStyledTextCtrl_AutoCompSetSeparator(_arg0,_arg1); |
f6bcfd97 BP |
3080 | |
3081 | wxPy_END_ALLOW_THREADS; | |
3082 | } Py_INCREF(Py_None); | |
3083 | _resultobj = Py_None; | |
3084 | return _resultobj; | |
3085 | } | |
3086 | ||
fe47ec10 RD |
3087 | #define wxStyledTextCtrl_AutoCompGetSeparator(_swigobj) (_swigobj->AutoCompGetSeparator()) |
3088 | static PyObject *_wrap_wxStyledTextCtrl_AutoCompGetSeparator(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 | 3089 | PyObject * _resultobj; |
fe47ec10 | 3090 | int _result; |
f6bcfd97 | 3091 | wxStyledTextCtrl * _arg0; |
f6bcfd97 | 3092 | PyObject * _argo0 = 0; |
fe47ec10 | 3093 | char *_kwnames[] = { "self", NULL }; |
f6bcfd97 BP |
3094 | |
3095 | self = self; | |
fe47ec10 | 3096 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_AutoCompGetSeparator",_kwnames,&_argo0)) |
f6bcfd97 BP |
3097 | return NULL; |
3098 | if (_argo0) { | |
3099 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3100 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 3101 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_AutoCompGetSeparator. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
3102 | return NULL; |
3103 | } | |
3104 | } | |
f6bcfd97 BP |
3105 | { |
3106 | wxPy_BEGIN_ALLOW_THREADS; | |
fe47ec10 | 3107 | _result = (int )wxStyledTextCtrl_AutoCompGetSeparator(_arg0); |
f6bcfd97 BP |
3108 | |
3109 | wxPy_END_ALLOW_THREADS; | |
fe47ec10 | 3110 | } _resultobj = Py_BuildValue("i",_result); |
f6bcfd97 BP |
3111 | return _resultobj; |
3112 | } | |
3113 | ||
fe47ec10 RD |
3114 | #define wxStyledTextCtrl_AutoCompSelect(_swigobj,_swigarg0) (_swigobj->AutoCompSelect(_swigarg0)) |
3115 | static PyObject *_wrap_wxStyledTextCtrl_AutoCompSelect(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 BP |
3116 | PyObject * _resultobj; |
3117 | wxStyledTextCtrl * _arg0; | |
fe47ec10 | 3118 | wxString * _arg1; |
f6bcfd97 | 3119 | PyObject * _argo0 = 0; |
fe47ec10 RD |
3120 | PyObject * _obj1 = 0; |
3121 | char *_kwnames[] = { "self","text", NULL }; | |
f6bcfd97 BP |
3122 | |
3123 | self = self; | |
fe47ec10 | 3124 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxStyledTextCtrl_AutoCompSelect",_kwnames,&_argo0,&_obj1)) |
f6bcfd97 BP |
3125 | return NULL; |
3126 | if (_argo0) { | |
3127 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3128 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 3129 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_AutoCompSelect. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
3130 | return NULL; |
3131 | } | |
3132 | } | |
3133 | { | |
185d7c3e RD |
3134 | #if PYTHON_API_VERSION >= 1009 |
3135 | char* tmpPtr; int tmpSize; | |
3136 | if (!PyString_Check(_obj1) && !PyUnicode_Check(_obj1)) { | |
7a446686 | 3137 | PyErr_SetString(PyExc_TypeError, wxStringErrorMsg); |
185d7c3e RD |
3138 | return NULL; |
3139 | } | |
3140 | if (PyString_AsStringAndSize(_obj1, &tmpPtr, &tmpSize) == -1) | |
3141 | return NULL; | |
3142 | _arg1 = new wxString(tmpPtr, tmpSize); | |
3143 | #else | |
fe47ec10 | 3144 | if (!PyString_Check(_obj1)) { |
f6bcfd97 BP |
3145 | PyErr_SetString(PyExc_TypeError, wxStringErrorMsg); |
3146 | return NULL; | |
3147 | } | |
185d7c3e RD |
3148 | _arg1 = new wxString(PyString_AS_STRING(_obj1), PyString_GET_SIZE(_obj1)); |
3149 | #endif | |
f6bcfd97 BP |
3150 | } |
3151 | { | |
3152 | wxPy_BEGIN_ALLOW_THREADS; | |
fe47ec10 | 3153 | wxStyledTextCtrl_AutoCompSelect(_arg0,*_arg1); |
f6bcfd97 BP |
3154 | |
3155 | wxPy_END_ALLOW_THREADS; | |
3156 | } Py_INCREF(Py_None); | |
3157 | _resultobj = Py_None; | |
3158 | { | |
fe47ec10 RD |
3159 | if (_obj1) |
3160 | delete _arg1; | |
f6bcfd97 BP |
3161 | } |
3162 | return _resultobj; | |
3163 | } | |
3164 | ||
fe47ec10 RD |
3165 | #define wxStyledTextCtrl_AutoCompSetCancelAtStart(_swigobj,_swigarg0) (_swigobj->AutoCompSetCancelAtStart(_swigarg0)) |
3166 | static PyObject *_wrap_wxStyledTextCtrl_AutoCompSetCancelAtStart(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 BP |
3167 | PyObject * _resultobj; |
3168 | wxStyledTextCtrl * _arg0; | |
fe47ec10 | 3169 | bool _arg1; |
f6bcfd97 | 3170 | PyObject * _argo0 = 0; |
fe47ec10 RD |
3171 | int tempbool1; |
3172 | char *_kwnames[] = { "self","cancel", NULL }; | |
f6bcfd97 BP |
3173 | |
3174 | self = self; | |
fe47ec10 | 3175 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_AutoCompSetCancelAtStart",_kwnames,&_argo0,&tempbool1)) |
f6bcfd97 BP |
3176 | return NULL; |
3177 | if (_argo0) { | |
3178 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3179 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 3180 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_AutoCompSetCancelAtStart. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
3181 | return NULL; |
3182 | } | |
3183 | } | |
fe47ec10 | 3184 | _arg1 = (bool ) tempbool1; |
f6bcfd97 BP |
3185 | { |
3186 | wxPy_BEGIN_ALLOW_THREADS; | |
fe47ec10 | 3187 | wxStyledTextCtrl_AutoCompSetCancelAtStart(_arg0,_arg1); |
f6bcfd97 BP |
3188 | |
3189 | wxPy_END_ALLOW_THREADS; | |
3190 | } Py_INCREF(Py_None); | |
3191 | _resultobj = Py_None; | |
3192 | return _resultobj; | |
3193 | } | |
3194 | ||
fe47ec10 RD |
3195 | #define wxStyledTextCtrl_AutoCompGetCancelAtStart(_swigobj) (_swigobj->AutoCompGetCancelAtStart()) |
3196 | static PyObject *_wrap_wxStyledTextCtrl_AutoCompGetCancelAtStart(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 | 3197 | PyObject * _resultobj; |
fe47ec10 | 3198 | bool _result; |
f6bcfd97 | 3199 | wxStyledTextCtrl * _arg0; |
f6bcfd97 | 3200 | PyObject * _argo0 = 0; |
fe47ec10 | 3201 | char *_kwnames[] = { "self", NULL }; |
f6bcfd97 BP |
3202 | |
3203 | self = self; | |
fe47ec10 | 3204 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_AutoCompGetCancelAtStart",_kwnames,&_argo0)) |
f6bcfd97 BP |
3205 | return NULL; |
3206 | if (_argo0) { | |
3207 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3208 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 3209 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_AutoCompGetCancelAtStart. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
3210 | return NULL; |
3211 | } | |
3212 | } | |
f6bcfd97 BP |
3213 | { |
3214 | wxPy_BEGIN_ALLOW_THREADS; | |
fe47ec10 | 3215 | _result = (bool )wxStyledTextCtrl_AutoCompGetCancelAtStart(_arg0); |
f6bcfd97 BP |
3216 | |
3217 | wxPy_END_ALLOW_THREADS; | |
fe47ec10 | 3218 | } _resultobj = Py_BuildValue("i",_result); |
f6bcfd97 BP |
3219 | return _resultobj; |
3220 | } | |
3221 | ||
fe47ec10 RD |
3222 | #define wxStyledTextCtrl_AutoCompSetFillUps(_swigobj,_swigarg0) (_swigobj->AutoCompSetFillUps(_swigarg0)) |
3223 | static PyObject *_wrap_wxStyledTextCtrl_AutoCompSetFillUps(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 BP |
3224 | PyObject * _resultobj; |
3225 | wxStyledTextCtrl * _arg0; | |
fe47ec10 | 3226 | wxString * _arg1; |
f6bcfd97 | 3227 | PyObject * _argo0 = 0; |
fe47ec10 RD |
3228 | PyObject * _obj1 = 0; |
3229 | char *_kwnames[] = { "self","characterSet", NULL }; | |
f6bcfd97 BP |
3230 | |
3231 | self = self; | |
fe47ec10 | 3232 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxStyledTextCtrl_AutoCompSetFillUps",_kwnames,&_argo0,&_obj1)) |
f6bcfd97 BP |
3233 | return NULL; |
3234 | if (_argo0) { | |
3235 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3236 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 3237 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_AutoCompSetFillUps. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
3238 | return NULL; |
3239 | } | |
3240 | } | |
fe47ec10 | 3241 | { |
185d7c3e RD |
3242 | #if PYTHON_API_VERSION >= 1009 |
3243 | char* tmpPtr; int tmpSize; | |
3244 | if (!PyString_Check(_obj1) && !PyUnicode_Check(_obj1)) { | |
7a446686 | 3245 | PyErr_SetString(PyExc_TypeError, wxStringErrorMsg); |
185d7c3e RD |
3246 | return NULL; |
3247 | } | |
3248 | if (PyString_AsStringAndSize(_obj1, &tmpPtr, &tmpSize) == -1) | |
3249 | return NULL; | |
3250 | _arg1 = new wxString(tmpPtr, tmpSize); | |
3251 | #else | |
fe47ec10 RD |
3252 | if (!PyString_Check(_obj1)) { |
3253 | PyErr_SetString(PyExc_TypeError, wxStringErrorMsg); | |
3254 | return NULL; | |
3255 | } | |
185d7c3e RD |
3256 | _arg1 = new wxString(PyString_AS_STRING(_obj1), PyString_GET_SIZE(_obj1)); |
3257 | #endif | |
fe47ec10 | 3258 | } |
f6bcfd97 BP |
3259 | { |
3260 | wxPy_BEGIN_ALLOW_THREADS; | |
fe47ec10 | 3261 | wxStyledTextCtrl_AutoCompSetFillUps(_arg0,*_arg1); |
f6bcfd97 BP |
3262 | |
3263 | wxPy_END_ALLOW_THREADS; | |
3264 | } Py_INCREF(Py_None); | |
3265 | _resultobj = Py_None; | |
fe47ec10 RD |
3266 | { |
3267 | if (_obj1) | |
3268 | delete _arg1; | |
3269 | } | |
f6bcfd97 BP |
3270 | return _resultobj; |
3271 | } | |
3272 | ||
fe47ec10 RD |
3273 | #define wxStyledTextCtrl_AutoCompSetChooseSingle(_swigobj,_swigarg0) (_swigobj->AutoCompSetChooseSingle(_swigarg0)) |
3274 | static PyObject *_wrap_wxStyledTextCtrl_AutoCompSetChooseSingle(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 | 3275 | PyObject * _resultobj; |
f6bcfd97 | 3276 | wxStyledTextCtrl * _arg0; |
fe47ec10 | 3277 | bool _arg1; |
f6bcfd97 | 3278 | PyObject * _argo0 = 0; |
fe47ec10 RD |
3279 | int tempbool1; |
3280 | char *_kwnames[] = { "self","chooseSingle", NULL }; | |
f6bcfd97 BP |
3281 | |
3282 | self = self; | |
fe47ec10 | 3283 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_AutoCompSetChooseSingle",_kwnames,&_argo0,&tempbool1)) |
f6bcfd97 BP |
3284 | return NULL; |
3285 | if (_argo0) { | |
3286 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3287 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 3288 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_AutoCompSetChooseSingle. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
3289 | return NULL; |
3290 | } | |
3291 | } | |
fe47ec10 | 3292 | _arg1 = (bool ) tempbool1; |
f6bcfd97 BP |
3293 | { |
3294 | wxPy_BEGIN_ALLOW_THREADS; | |
fe47ec10 | 3295 | wxStyledTextCtrl_AutoCompSetChooseSingle(_arg0,_arg1); |
f6bcfd97 BP |
3296 | |
3297 | wxPy_END_ALLOW_THREADS; | |
fe47ec10 RD |
3298 | } Py_INCREF(Py_None); |
3299 | _resultobj = Py_None; | |
f6bcfd97 BP |
3300 | return _resultobj; |
3301 | } | |
3302 | ||
fe47ec10 RD |
3303 | #define wxStyledTextCtrl_AutoCompGetChooseSingle(_swigobj) (_swigobj->AutoCompGetChooseSingle()) |
3304 | static PyObject *_wrap_wxStyledTextCtrl_AutoCompGetChooseSingle(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 | 3305 | PyObject * _resultobj; |
fe47ec10 | 3306 | bool _result; |
f6bcfd97 BP |
3307 | wxStyledTextCtrl * _arg0; |
3308 | PyObject * _argo0 = 0; | |
3309 | char *_kwnames[] = { "self", NULL }; | |
3310 | ||
3311 | self = self; | |
fe47ec10 | 3312 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_AutoCompGetChooseSingle",_kwnames,&_argo0)) |
f6bcfd97 BP |
3313 | return NULL; |
3314 | if (_argo0) { | |
3315 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3316 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 3317 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_AutoCompGetChooseSingle. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
3318 | return NULL; |
3319 | } | |
3320 | } | |
3321 | { | |
3322 | wxPy_BEGIN_ALLOW_THREADS; | |
fe47ec10 | 3323 | _result = (bool )wxStyledTextCtrl_AutoCompGetChooseSingle(_arg0); |
f6bcfd97 BP |
3324 | |
3325 | wxPy_END_ALLOW_THREADS; | |
3326 | } _resultobj = Py_BuildValue("i",_result); | |
3327 | return _resultobj; | |
3328 | } | |
3329 | ||
fe47ec10 RD |
3330 | #define wxStyledTextCtrl_AutoCompSetIgnoreCase(_swigobj,_swigarg0) (_swigobj->AutoCompSetIgnoreCase(_swigarg0)) |
3331 | static PyObject *_wrap_wxStyledTextCtrl_AutoCompSetIgnoreCase(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 BP |
3332 | PyObject * _resultobj; |
3333 | wxStyledTextCtrl * _arg0; | |
fe47ec10 | 3334 | bool _arg1; |
f6bcfd97 | 3335 | PyObject * _argo0 = 0; |
fe47ec10 RD |
3336 | int tempbool1; |
3337 | char *_kwnames[] = { "self","ignoreCase", NULL }; | |
f6bcfd97 BP |
3338 | |
3339 | self = self; | |
fe47ec10 | 3340 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_AutoCompSetIgnoreCase",_kwnames,&_argo0,&tempbool1)) |
f6bcfd97 BP |
3341 | return NULL; |
3342 | if (_argo0) { | |
3343 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3344 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 3345 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_AutoCompSetIgnoreCase. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
3346 | return NULL; |
3347 | } | |
3348 | } | |
fe47ec10 | 3349 | _arg1 = (bool ) tempbool1; |
f6bcfd97 BP |
3350 | { |
3351 | wxPy_BEGIN_ALLOW_THREADS; | |
fe47ec10 | 3352 | wxStyledTextCtrl_AutoCompSetIgnoreCase(_arg0,_arg1); |
f6bcfd97 BP |
3353 | |
3354 | wxPy_END_ALLOW_THREADS; | |
3355 | } Py_INCREF(Py_None); | |
3356 | _resultobj = Py_None; | |
3357 | return _resultobj; | |
3358 | } | |
3359 | ||
fe47ec10 RD |
3360 | #define wxStyledTextCtrl_AutoCompGetIgnoreCase(_swigobj) (_swigobj->AutoCompGetIgnoreCase()) |
3361 | static PyObject *_wrap_wxStyledTextCtrl_AutoCompGetIgnoreCase(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3362 | PyObject * _resultobj; | |
3363 | bool _result; | |
3364 | wxStyledTextCtrl * _arg0; | |
3365 | PyObject * _argo0 = 0; | |
3366 | char *_kwnames[] = { "self", NULL }; | |
3367 | ||
3368 | self = self; | |
3369 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_AutoCompGetIgnoreCase",_kwnames,&_argo0)) | |
3370 | return NULL; | |
3371 | if (_argo0) { | |
3372 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3373 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
3374 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_AutoCompGetIgnoreCase. Expected _wxStyledTextCtrl_p."); | |
3375 | return NULL; | |
3376 | } | |
3377 | } | |
3378 | { | |
3379 | wxPy_BEGIN_ALLOW_THREADS; | |
3380 | _result = (bool )wxStyledTextCtrl_AutoCompGetIgnoreCase(_arg0); | |
3381 | ||
3382 | wxPy_END_ALLOW_THREADS; | |
3383 | } _resultobj = Py_BuildValue("i",_result); | |
3384 | return _resultobj; | |
3385 | } | |
3386 | ||
3387 | #define wxStyledTextCtrl_SetIndent(_swigobj,_swigarg0) (_swigobj->SetIndent(_swigarg0)) | |
3388 | static PyObject *_wrap_wxStyledTextCtrl_SetIndent(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 BP |
3389 | PyObject * _resultobj; |
3390 | wxStyledTextCtrl * _arg0; | |
3391 | int _arg1; | |
f6bcfd97 | 3392 | PyObject * _argo0 = 0; |
fe47ec10 | 3393 | char *_kwnames[] = { "self","indentSize", NULL }; |
f6bcfd97 BP |
3394 | |
3395 | self = self; | |
fe47ec10 | 3396 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_SetIndent",_kwnames,&_argo0,&_arg1)) |
f6bcfd97 BP |
3397 | return NULL; |
3398 | if (_argo0) { | |
3399 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3400 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 3401 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetIndent. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
3402 | return NULL; |
3403 | } | |
3404 | } | |
3405 | { | |
3406 | wxPy_BEGIN_ALLOW_THREADS; | |
fe47ec10 | 3407 | wxStyledTextCtrl_SetIndent(_arg0,_arg1); |
f6bcfd97 BP |
3408 | |
3409 | wxPy_END_ALLOW_THREADS; | |
3410 | } Py_INCREF(Py_None); | |
3411 | _resultobj = Py_None; | |
3412 | return _resultobj; | |
3413 | } | |
3414 | ||
fe47ec10 RD |
3415 | #define wxStyledTextCtrl_GetIndent(_swigobj) (_swigobj->GetIndent()) |
3416 | static PyObject *_wrap_wxStyledTextCtrl_GetIndent(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 BP |
3417 | PyObject * _resultobj; |
3418 | int _result; | |
3419 | wxStyledTextCtrl * _arg0; | |
f6bcfd97 | 3420 | PyObject * _argo0 = 0; |
fe47ec10 | 3421 | char *_kwnames[] = { "self", NULL }; |
f6bcfd97 BP |
3422 | |
3423 | self = self; | |
fe47ec10 | 3424 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetIndent",_kwnames,&_argo0)) |
f6bcfd97 BP |
3425 | return NULL; |
3426 | if (_argo0) { | |
3427 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3428 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 3429 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetIndent. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
3430 | return NULL; |
3431 | } | |
3432 | } | |
3433 | { | |
3434 | wxPy_BEGIN_ALLOW_THREADS; | |
fe47ec10 | 3435 | _result = (int )wxStyledTextCtrl_GetIndent(_arg0); |
f6bcfd97 BP |
3436 | |
3437 | wxPy_END_ALLOW_THREADS; | |
3438 | } _resultobj = Py_BuildValue("i",_result); | |
3439 | return _resultobj; | |
3440 | } | |
3441 | ||
fe47ec10 RD |
3442 | #define wxStyledTextCtrl_SetUseTabs(_swigobj,_swigarg0) (_swigobj->SetUseTabs(_swigarg0)) |
3443 | static PyObject *_wrap_wxStyledTextCtrl_SetUseTabs(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 BP |
3444 | PyObject * _resultobj; |
3445 | wxStyledTextCtrl * _arg0; | |
fe47ec10 | 3446 | bool _arg1; |
f6bcfd97 | 3447 | PyObject * _argo0 = 0; |
fe47ec10 RD |
3448 | int tempbool1; |
3449 | char *_kwnames[] = { "self","useTabs", NULL }; | |
f6bcfd97 BP |
3450 | |
3451 | self = self; | |
fe47ec10 | 3452 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_SetUseTabs",_kwnames,&_argo0,&tempbool1)) |
f6bcfd97 BP |
3453 | return NULL; |
3454 | if (_argo0) { | |
3455 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3456 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 3457 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetUseTabs. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
3458 | return NULL; |
3459 | } | |
3460 | } | |
fe47ec10 | 3461 | _arg1 = (bool ) tempbool1; |
f6bcfd97 BP |
3462 | { |
3463 | wxPy_BEGIN_ALLOW_THREADS; | |
fe47ec10 | 3464 | wxStyledTextCtrl_SetUseTabs(_arg0,_arg1); |
f6bcfd97 BP |
3465 | |
3466 | wxPy_END_ALLOW_THREADS; | |
3467 | } Py_INCREF(Py_None); | |
3468 | _resultobj = Py_None; | |
3469 | return _resultobj; | |
3470 | } | |
3471 | ||
fe47ec10 RD |
3472 | #define wxStyledTextCtrl_GetUseTabs(_swigobj) (_swigobj->GetUseTabs()) |
3473 | static PyObject *_wrap_wxStyledTextCtrl_GetUseTabs(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 | 3474 | PyObject * _resultobj; |
fe47ec10 | 3475 | bool _result; |
f6bcfd97 | 3476 | wxStyledTextCtrl * _arg0; |
f6bcfd97 | 3477 | PyObject * _argo0 = 0; |
fe47ec10 | 3478 | char *_kwnames[] = { "self", NULL }; |
f6bcfd97 BP |
3479 | |
3480 | self = self; | |
fe47ec10 | 3481 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetUseTabs",_kwnames,&_argo0)) |
f6bcfd97 BP |
3482 | return NULL; |
3483 | if (_argo0) { | |
3484 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3485 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 3486 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetUseTabs. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
3487 | return NULL; |
3488 | } | |
3489 | } | |
3490 | { | |
3491 | wxPy_BEGIN_ALLOW_THREADS; | |
fe47ec10 | 3492 | _result = (bool )wxStyledTextCtrl_GetUseTabs(_arg0); |
f6bcfd97 BP |
3493 | |
3494 | wxPy_END_ALLOW_THREADS; | |
3495 | } _resultobj = Py_BuildValue("i",_result); | |
3496 | return _resultobj; | |
3497 | } | |
3498 | ||
fe47ec10 RD |
3499 | #define wxStyledTextCtrl_SetLineIndentation(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetLineIndentation(_swigarg0,_swigarg1)) |
3500 | static PyObject *_wrap_wxStyledTextCtrl_SetLineIndentation(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 BP |
3501 | PyObject * _resultobj; |
3502 | wxStyledTextCtrl * _arg0; | |
3503 | int _arg1; | |
3504 | int _arg2; | |
3505 | PyObject * _argo0 = 0; | |
fe47ec10 | 3506 | char *_kwnames[] = { "self","line","indentSize", NULL }; |
f6bcfd97 BP |
3507 | |
3508 | self = self; | |
fe47ec10 | 3509 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxStyledTextCtrl_SetLineIndentation",_kwnames,&_argo0,&_arg1,&_arg2)) |
f6bcfd97 BP |
3510 | return NULL; |
3511 | if (_argo0) { | |
3512 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3513 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 3514 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetLineIndentation. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
3515 | return NULL; |
3516 | } | |
3517 | } | |
3518 | { | |
3519 | wxPy_BEGIN_ALLOW_THREADS; | |
fe47ec10 | 3520 | wxStyledTextCtrl_SetLineIndentation(_arg0,_arg1,_arg2); |
f6bcfd97 BP |
3521 | |
3522 | wxPy_END_ALLOW_THREADS; | |
3523 | } Py_INCREF(Py_None); | |
3524 | _resultobj = Py_None; | |
3525 | return _resultobj; | |
3526 | } | |
3527 | ||
fe47ec10 RD |
3528 | #define wxStyledTextCtrl_GetLineIndentation(_swigobj,_swigarg0) (_swigobj->GetLineIndentation(_swigarg0)) |
3529 | static PyObject *_wrap_wxStyledTextCtrl_GetLineIndentation(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 BP |
3530 | PyObject * _resultobj; |
3531 | int _result; | |
3532 | wxStyledTextCtrl * _arg0; | |
3533 | int _arg1; | |
3534 | PyObject * _argo0 = 0; | |
fe47ec10 | 3535 | char *_kwnames[] = { "self","line", NULL }; |
f6bcfd97 BP |
3536 | |
3537 | self = self; | |
fe47ec10 | 3538 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_GetLineIndentation",_kwnames,&_argo0,&_arg1)) |
f6bcfd97 BP |
3539 | return NULL; |
3540 | if (_argo0) { | |
3541 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3542 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 3543 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetLineIndentation. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
3544 | return NULL; |
3545 | } | |
3546 | } | |
3547 | { | |
3548 | wxPy_BEGIN_ALLOW_THREADS; | |
fe47ec10 | 3549 | _result = (int )wxStyledTextCtrl_GetLineIndentation(_arg0,_arg1); |
f6bcfd97 BP |
3550 | |
3551 | wxPy_END_ALLOW_THREADS; | |
3552 | } _resultobj = Py_BuildValue("i",_result); | |
3553 | return _resultobj; | |
3554 | } | |
3555 | ||
fe47ec10 RD |
3556 | #define wxStyledTextCtrl_GetLineIndentPosition(_swigobj,_swigarg0) (_swigobj->GetLineIndentPosition(_swigarg0)) |
3557 | static PyObject *_wrap_wxStyledTextCtrl_GetLineIndentPosition(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 | 3558 | PyObject * _resultobj; |
fe47ec10 | 3559 | int _result; |
f6bcfd97 BP |
3560 | wxStyledTextCtrl * _arg0; |
3561 | int _arg1; | |
f6bcfd97 | 3562 | PyObject * _argo0 = 0; |
fe47ec10 | 3563 | char *_kwnames[] = { "self","line", NULL }; |
f6bcfd97 BP |
3564 | |
3565 | self = self; | |
fe47ec10 | 3566 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_GetLineIndentPosition",_kwnames,&_argo0,&_arg1)) |
f6bcfd97 BP |
3567 | return NULL; |
3568 | if (_argo0) { | |
3569 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3570 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 3571 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetLineIndentPosition. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
3572 | return NULL; |
3573 | } | |
3574 | } | |
f6bcfd97 BP |
3575 | { |
3576 | wxPy_BEGIN_ALLOW_THREADS; | |
fe47ec10 | 3577 | _result = (int )wxStyledTextCtrl_GetLineIndentPosition(_arg0,_arg1); |
f6bcfd97 BP |
3578 | |
3579 | wxPy_END_ALLOW_THREADS; | |
fe47ec10 | 3580 | } _resultobj = Py_BuildValue("i",_result); |
f6bcfd97 BP |
3581 | return _resultobj; |
3582 | } | |
3583 | ||
fe47ec10 RD |
3584 | #define wxStyledTextCtrl_GetColumn(_swigobj,_swigarg0) (_swigobj->GetColumn(_swigarg0)) |
3585 | static PyObject *_wrap_wxStyledTextCtrl_GetColumn(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 | 3586 | PyObject * _resultobj; |
fe47ec10 | 3587 | int _result; |
f6bcfd97 BP |
3588 | wxStyledTextCtrl * _arg0; |
3589 | int _arg1; | |
3590 | PyObject * _argo0 = 0; | |
fe47ec10 | 3591 | char *_kwnames[] = { "self","pos", NULL }; |
f6bcfd97 BP |
3592 | |
3593 | self = self; | |
fe47ec10 | 3594 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_GetColumn",_kwnames,&_argo0,&_arg1)) |
f6bcfd97 BP |
3595 | return NULL; |
3596 | if (_argo0) { | |
3597 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3598 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 3599 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetColumn. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
3600 | return NULL; |
3601 | } | |
3602 | } | |
3603 | { | |
3604 | wxPy_BEGIN_ALLOW_THREADS; | |
fe47ec10 | 3605 | _result = (int )wxStyledTextCtrl_GetColumn(_arg0,_arg1); |
f6bcfd97 BP |
3606 | |
3607 | wxPy_END_ALLOW_THREADS; | |
3608 | } _resultobj = Py_BuildValue("i",_result); | |
3609 | return _resultobj; | |
3610 | } | |
3611 | ||
fe47ec10 RD |
3612 | #define wxStyledTextCtrl_SetUseHorizontalScrollBar(_swigobj,_swigarg0) (_swigobj->SetUseHorizontalScrollBar(_swigarg0)) |
3613 | static PyObject *_wrap_wxStyledTextCtrl_SetUseHorizontalScrollBar(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 BP |
3614 | PyObject * _resultobj; |
3615 | wxStyledTextCtrl * _arg0; | |
fe47ec10 | 3616 | bool _arg1; |
f6bcfd97 | 3617 | PyObject * _argo0 = 0; |
fe47ec10 RD |
3618 | int tempbool1; |
3619 | char *_kwnames[] = { "self","show", NULL }; | |
f6bcfd97 BP |
3620 | |
3621 | self = self; | |
fe47ec10 | 3622 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_SetUseHorizontalScrollBar",_kwnames,&_argo0,&tempbool1)) |
f6bcfd97 BP |
3623 | return NULL; |
3624 | if (_argo0) { | |
3625 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3626 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 3627 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetUseHorizontalScrollBar. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
3628 | return NULL; |
3629 | } | |
3630 | } | |
fe47ec10 | 3631 | _arg1 = (bool ) tempbool1; |
f6bcfd97 BP |
3632 | { |
3633 | wxPy_BEGIN_ALLOW_THREADS; | |
fe47ec10 | 3634 | wxStyledTextCtrl_SetUseHorizontalScrollBar(_arg0,_arg1); |
f6bcfd97 BP |
3635 | |
3636 | wxPy_END_ALLOW_THREADS; | |
3637 | } Py_INCREF(Py_None); | |
3638 | _resultobj = Py_None; | |
3639 | return _resultobj; | |
3640 | } | |
3641 | ||
fe47ec10 RD |
3642 | #define wxStyledTextCtrl_GetUseHorizontalScrollBar(_swigobj) (_swigobj->GetUseHorizontalScrollBar()) |
3643 | static PyObject *_wrap_wxStyledTextCtrl_GetUseHorizontalScrollBar(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 | 3644 | PyObject * _resultobj; |
fe47ec10 | 3645 | bool _result; |
f6bcfd97 | 3646 | wxStyledTextCtrl * _arg0; |
f6bcfd97 | 3647 | PyObject * _argo0 = 0; |
fe47ec10 | 3648 | char *_kwnames[] = { "self", NULL }; |
f6bcfd97 BP |
3649 | |
3650 | self = self; | |
fe47ec10 | 3651 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetUseHorizontalScrollBar",_kwnames,&_argo0)) |
f6bcfd97 BP |
3652 | return NULL; |
3653 | if (_argo0) { | |
3654 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3655 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 3656 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetUseHorizontalScrollBar. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
3657 | return NULL; |
3658 | } | |
3659 | } | |
f6bcfd97 BP |
3660 | { |
3661 | wxPy_BEGIN_ALLOW_THREADS; | |
fe47ec10 | 3662 | _result = (bool )wxStyledTextCtrl_GetUseHorizontalScrollBar(_arg0); |
f6bcfd97 BP |
3663 | |
3664 | wxPy_END_ALLOW_THREADS; | |
fe47ec10 | 3665 | } _resultobj = Py_BuildValue("i",_result); |
f6bcfd97 BP |
3666 | return _resultobj; |
3667 | } | |
3668 | ||
fe47ec10 RD |
3669 | #define wxStyledTextCtrl_SetIndentationGuides(_swigobj,_swigarg0) (_swigobj->SetIndentationGuides(_swigarg0)) |
3670 | static PyObject *_wrap_wxStyledTextCtrl_SetIndentationGuides(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 BP |
3671 | PyObject * _resultobj; |
3672 | wxStyledTextCtrl * _arg0; | |
fe47ec10 | 3673 | bool _arg1; |
f6bcfd97 | 3674 | PyObject * _argo0 = 0; |
fe47ec10 RD |
3675 | int tempbool1; |
3676 | char *_kwnames[] = { "self","show", NULL }; | |
f6bcfd97 BP |
3677 | |
3678 | self = self; | |
fe47ec10 | 3679 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_SetIndentationGuides",_kwnames,&_argo0,&tempbool1)) |
f6bcfd97 BP |
3680 | return NULL; |
3681 | if (_argo0) { | |
3682 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3683 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 3684 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetIndentationGuides. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
3685 | return NULL; |
3686 | } | |
3687 | } | |
fe47ec10 | 3688 | _arg1 = (bool ) tempbool1; |
f6bcfd97 BP |
3689 | { |
3690 | wxPy_BEGIN_ALLOW_THREADS; | |
fe47ec10 | 3691 | wxStyledTextCtrl_SetIndentationGuides(_arg0,_arg1); |
f6bcfd97 BP |
3692 | |
3693 | wxPy_END_ALLOW_THREADS; | |
3694 | } Py_INCREF(Py_None); | |
3695 | _resultobj = Py_None; | |
3696 | return _resultobj; | |
3697 | } | |
3698 | ||
fe47ec10 RD |
3699 | #define wxStyledTextCtrl_GetIndentationGuides(_swigobj) (_swigobj->GetIndentationGuides()) |
3700 | static PyObject *_wrap_wxStyledTextCtrl_GetIndentationGuides(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 | 3701 | PyObject * _resultobj; |
fe47ec10 | 3702 | bool _result; |
f6bcfd97 BP |
3703 | wxStyledTextCtrl * _arg0; |
3704 | PyObject * _argo0 = 0; | |
3705 | char *_kwnames[] = { "self", NULL }; | |
3706 | ||
3707 | self = self; | |
fe47ec10 | 3708 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetIndentationGuides",_kwnames,&_argo0)) |
f6bcfd97 BP |
3709 | return NULL; |
3710 | if (_argo0) { | |
3711 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3712 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 3713 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetIndentationGuides. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
3714 | return NULL; |
3715 | } | |
3716 | } | |
3717 | { | |
3718 | wxPy_BEGIN_ALLOW_THREADS; | |
fe47ec10 | 3719 | _result = (bool )wxStyledTextCtrl_GetIndentationGuides(_arg0); |
f6bcfd97 BP |
3720 | |
3721 | wxPy_END_ALLOW_THREADS; | |
3722 | } _resultobj = Py_BuildValue("i",_result); | |
3723 | return _resultobj; | |
3724 | } | |
3725 | ||
fe47ec10 RD |
3726 | #define wxStyledTextCtrl_SetHighlightGuide(_swigobj,_swigarg0) (_swigobj->SetHighlightGuide(_swigarg0)) |
3727 | static PyObject *_wrap_wxStyledTextCtrl_SetHighlightGuide(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 BP |
3728 | PyObject * _resultobj; |
3729 | wxStyledTextCtrl * _arg0; | |
3730 | int _arg1; | |
3731 | PyObject * _argo0 = 0; | |
fe47ec10 | 3732 | char *_kwnames[] = { "self","column", NULL }; |
f6bcfd97 BP |
3733 | |
3734 | self = self; | |
fe47ec10 | 3735 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_SetHighlightGuide",_kwnames,&_argo0,&_arg1)) |
f6bcfd97 BP |
3736 | return NULL; |
3737 | if (_argo0) { | |
3738 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3739 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 3740 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetHighlightGuide. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
3741 | return NULL; |
3742 | } | |
3743 | } | |
3744 | { | |
3745 | wxPy_BEGIN_ALLOW_THREADS; | |
fe47ec10 | 3746 | wxStyledTextCtrl_SetHighlightGuide(_arg0,_arg1); |
f6bcfd97 BP |
3747 | |
3748 | wxPy_END_ALLOW_THREADS; | |
3749 | } Py_INCREF(Py_None); | |
3750 | _resultobj = Py_None; | |
3751 | return _resultobj; | |
3752 | } | |
3753 | ||
fe47ec10 RD |
3754 | #define wxStyledTextCtrl_GetHighlightGuide(_swigobj) (_swigobj->GetHighlightGuide()) |
3755 | static PyObject *_wrap_wxStyledTextCtrl_GetHighlightGuide(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 | 3756 | PyObject * _resultobj; |
fe47ec10 | 3757 | int _result; |
f6bcfd97 | 3758 | wxStyledTextCtrl * _arg0; |
f6bcfd97 | 3759 | PyObject * _argo0 = 0; |
fe47ec10 | 3760 | char *_kwnames[] = { "self", NULL }; |
f6bcfd97 BP |
3761 | |
3762 | self = self; | |
fe47ec10 | 3763 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetHighlightGuide",_kwnames,&_argo0)) |
f6bcfd97 BP |
3764 | return NULL; |
3765 | if (_argo0) { | |
3766 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3767 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 3768 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetHighlightGuide. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
3769 | return NULL; |
3770 | } | |
3771 | } | |
f6bcfd97 BP |
3772 | { |
3773 | wxPy_BEGIN_ALLOW_THREADS; | |
fe47ec10 | 3774 | _result = (int )wxStyledTextCtrl_GetHighlightGuide(_arg0); |
f6bcfd97 BP |
3775 | |
3776 | wxPy_END_ALLOW_THREADS; | |
fe47ec10 | 3777 | } _resultobj = Py_BuildValue("i",_result); |
f6bcfd97 BP |
3778 | return _resultobj; |
3779 | } | |
3780 | ||
fe47ec10 RD |
3781 | #define wxStyledTextCtrl_GetLineEndPosition(_swigobj,_swigarg0) (_swigobj->GetLineEndPosition(_swigarg0)) |
3782 | static PyObject *_wrap_wxStyledTextCtrl_GetLineEndPosition(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 | 3783 | PyObject * _resultobj; |
fe47ec10 | 3784 | int _result; |
f6bcfd97 BP |
3785 | wxStyledTextCtrl * _arg0; |
3786 | int _arg1; | |
3787 | PyObject * _argo0 = 0; | |
fe47ec10 | 3788 | char *_kwnames[] = { "self","line", NULL }; |
f6bcfd97 BP |
3789 | |
3790 | self = self; | |
fe47ec10 | 3791 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_GetLineEndPosition",_kwnames,&_argo0,&_arg1)) |
f6bcfd97 BP |
3792 | return NULL; |
3793 | if (_argo0) { | |
3794 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3795 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 3796 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetLineEndPosition. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
3797 | return NULL; |
3798 | } | |
3799 | } | |
3800 | { | |
3801 | wxPy_BEGIN_ALLOW_THREADS; | |
fe47ec10 | 3802 | _result = (int )wxStyledTextCtrl_GetLineEndPosition(_arg0,_arg1); |
f6bcfd97 BP |
3803 | |
3804 | wxPy_END_ALLOW_THREADS; | |
fe47ec10 | 3805 | } _resultobj = Py_BuildValue("i",_result); |
f6bcfd97 BP |
3806 | return _resultobj; |
3807 | } | |
3808 | ||
fe47ec10 RD |
3809 | #define wxStyledTextCtrl_GetCodePage(_swigobj) (_swigobj->GetCodePage()) |
3810 | static PyObject *_wrap_wxStyledTextCtrl_GetCodePage(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 | 3811 | PyObject * _resultobj; |
fe47ec10 | 3812 | int _result; |
f6bcfd97 | 3813 | wxStyledTextCtrl * _arg0; |
f6bcfd97 | 3814 | PyObject * _argo0 = 0; |
fe47ec10 | 3815 | char *_kwnames[] = { "self", NULL }; |
f6bcfd97 BP |
3816 | |
3817 | self = self; | |
fe47ec10 | 3818 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetCodePage",_kwnames,&_argo0)) |
f6bcfd97 BP |
3819 | return NULL; |
3820 | if (_argo0) { | |
3821 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3822 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 3823 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetCodePage. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
3824 | return NULL; |
3825 | } | |
3826 | } | |
3827 | { | |
3828 | wxPy_BEGIN_ALLOW_THREADS; | |
fe47ec10 | 3829 | _result = (int )wxStyledTextCtrl_GetCodePage(_arg0); |
f6bcfd97 BP |
3830 | |
3831 | wxPy_END_ALLOW_THREADS; | |
fe47ec10 | 3832 | } _resultobj = Py_BuildValue("i",_result); |
f6bcfd97 BP |
3833 | return _resultobj; |
3834 | } | |
3835 | ||
fe47ec10 RD |
3836 | #define wxStyledTextCtrl_GetCaretForeground(_swigobj) (_swigobj->GetCaretForeground()) |
3837 | static PyObject *_wrap_wxStyledTextCtrl_GetCaretForeground(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 | 3838 | PyObject * _resultobj; |
fe47ec10 | 3839 | wxColour * _result; |
f6bcfd97 | 3840 | wxStyledTextCtrl * _arg0; |
f6bcfd97 | 3841 | PyObject * _argo0 = 0; |
fe47ec10 RD |
3842 | char *_kwnames[] = { "self", NULL }; |
3843 | char _ptemp[128]; | |
f6bcfd97 BP |
3844 | |
3845 | self = self; | |
fe47ec10 | 3846 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetCaretForeground",_kwnames,&_argo0)) |
f6bcfd97 BP |
3847 | return NULL; |
3848 | if (_argo0) { | |
3849 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3850 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 3851 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetCaretForeground. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
3852 | return NULL; |
3853 | } | |
3854 | } | |
f6bcfd97 BP |
3855 | { |
3856 | wxPy_BEGIN_ALLOW_THREADS; | |
fe47ec10 | 3857 | _result = new wxColour (wxStyledTextCtrl_GetCaretForeground(_arg0)); |
f6bcfd97 BP |
3858 | |
3859 | wxPy_END_ALLOW_THREADS; | |
fe47ec10 RD |
3860 | } SWIG_MakePtr(_ptemp, (void *) _result,"_wxColour_p"); |
3861 | _resultobj = Py_BuildValue("s",_ptemp); | |
f6bcfd97 BP |
3862 | return _resultobj; |
3863 | } | |
3864 | ||
fe47ec10 RD |
3865 | #define wxStyledTextCtrl_GetReadOnly(_swigobj) (_swigobj->GetReadOnly()) |
3866 | static PyObject *_wrap_wxStyledTextCtrl_GetReadOnly(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 | 3867 | PyObject * _resultobj; |
fe47ec10 | 3868 | bool _result; |
f6bcfd97 | 3869 | wxStyledTextCtrl * _arg0; |
f6bcfd97 | 3870 | PyObject * _argo0 = 0; |
fe47ec10 | 3871 | char *_kwnames[] = { "self", NULL }; |
f6bcfd97 BP |
3872 | |
3873 | self = self; | |
fe47ec10 | 3874 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetReadOnly",_kwnames,&_argo0)) |
f6bcfd97 BP |
3875 | return NULL; |
3876 | if (_argo0) { | |
3877 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3878 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 3879 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetReadOnly. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
3880 | return NULL; |
3881 | } | |
3882 | } | |
3883 | { | |
3884 | wxPy_BEGIN_ALLOW_THREADS; | |
fe47ec10 | 3885 | _result = (bool )wxStyledTextCtrl_GetReadOnly(_arg0); |
f6bcfd97 BP |
3886 | |
3887 | wxPy_END_ALLOW_THREADS; | |
fe47ec10 | 3888 | } _resultobj = Py_BuildValue("i",_result); |
f6bcfd97 BP |
3889 | return _resultobj; |
3890 | } | |
3891 | ||
fe47ec10 RD |
3892 | #define wxStyledTextCtrl_SetCurrentPos(_swigobj,_swigarg0) (_swigobj->SetCurrentPos(_swigarg0)) |
3893 | static PyObject *_wrap_wxStyledTextCtrl_SetCurrentPos(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 | 3894 | PyObject * _resultobj; |
f6bcfd97 BP |
3895 | wxStyledTextCtrl * _arg0; |
3896 | int _arg1; | |
3897 | PyObject * _argo0 = 0; | |
fe47ec10 | 3898 | char *_kwnames[] = { "self","pos", NULL }; |
f6bcfd97 BP |
3899 | |
3900 | self = self; | |
fe47ec10 | 3901 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_SetCurrentPos",_kwnames,&_argo0,&_arg1)) |
f6bcfd97 BP |
3902 | return NULL; |
3903 | if (_argo0) { | |
3904 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3905 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 3906 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetCurrentPos. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
3907 | return NULL; |
3908 | } | |
3909 | } | |
3910 | { | |
3911 | wxPy_BEGIN_ALLOW_THREADS; | |
fe47ec10 | 3912 | wxStyledTextCtrl_SetCurrentPos(_arg0,_arg1); |
f6bcfd97 BP |
3913 | |
3914 | wxPy_END_ALLOW_THREADS; | |
fe47ec10 RD |
3915 | } Py_INCREF(Py_None); |
3916 | _resultobj = Py_None; | |
f6bcfd97 BP |
3917 | return _resultobj; |
3918 | } | |
3919 | ||
fe47ec10 RD |
3920 | #define wxStyledTextCtrl_SetSelectionStart(_swigobj,_swigarg0) (_swigobj->SetSelectionStart(_swigarg0)) |
3921 | static PyObject *_wrap_wxStyledTextCtrl_SetSelectionStart(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 | 3922 | PyObject * _resultobj; |
f6bcfd97 BP |
3923 | wxStyledTextCtrl * _arg0; |
3924 | int _arg1; | |
3925 | PyObject * _argo0 = 0; | |
fe47ec10 | 3926 | char *_kwnames[] = { "self","pos", NULL }; |
f6bcfd97 BP |
3927 | |
3928 | self = self; | |
fe47ec10 | 3929 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_SetSelectionStart",_kwnames,&_argo0,&_arg1)) |
f6bcfd97 BP |
3930 | return NULL; |
3931 | if (_argo0) { | |
3932 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3933 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 3934 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetSelectionStart. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
3935 | return NULL; |
3936 | } | |
3937 | } | |
3938 | { | |
3939 | wxPy_BEGIN_ALLOW_THREADS; | |
fe47ec10 | 3940 | wxStyledTextCtrl_SetSelectionStart(_arg0,_arg1); |
f6bcfd97 BP |
3941 | |
3942 | wxPy_END_ALLOW_THREADS; | |
fe47ec10 RD |
3943 | } Py_INCREF(Py_None); |
3944 | _resultobj = Py_None; | |
f6bcfd97 BP |
3945 | return _resultobj; |
3946 | } | |
3947 | ||
fe47ec10 RD |
3948 | #define wxStyledTextCtrl_GetSelectionStart(_swigobj) (_swigobj->GetSelectionStart()) |
3949 | static PyObject *_wrap_wxStyledTextCtrl_GetSelectionStart(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 | 3950 | PyObject * _resultobj; |
fe47ec10 | 3951 | int _result; |
f6bcfd97 | 3952 | wxStyledTextCtrl * _arg0; |
f6bcfd97 | 3953 | PyObject * _argo0 = 0; |
fe47ec10 | 3954 | char *_kwnames[] = { "self", NULL }; |
f6bcfd97 BP |
3955 | |
3956 | self = self; | |
fe47ec10 | 3957 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetSelectionStart",_kwnames,&_argo0)) |
f6bcfd97 BP |
3958 | return NULL; |
3959 | if (_argo0) { | |
3960 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3961 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 3962 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetSelectionStart. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
3963 | return NULL; |
3964 | } | |
3965 | } | |
f6bcfd97 BP |
3966 | { |
3967 | wxPy_BEGIN_ALLOW_THREADS; | |
fe47ec10 | 3968 | _result = (int )wxStyledTextCtrl_GetSelectionStart(_arg0); |
f6bcfd97 BP |
3969 | |
3970 | wxPy_END_ALLOW_THREADS; | |
fe47ec10 | 3971 | } _resultobj = Py_BuildValue("i",_result); |
f6bcfd97 BP |
3972 | return _resultobj; |
3973 | } | |
3974 | ||
fe47ec10 RD |
3975 | #define wxStyledTextCtrl_SetSelectionEnd(_swigobj,_swigarg0) (_swigobj->SetSelectionEnd(_swigarg0)) |
3976 | static PyObject *_wrap_wxStyledTextCtrl_SetSelectionEnd(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 BP |
3977 | PyObject * _resultobj; |
3978 | wxStyledTextCtrl * _arg0; | |
fe47ec10 | 3979 | int _arg1; |
f6bcfd97 | 3980 | PyObject * _argo0 = 0; |
fe47ec10 | 3981 | char *_kwnames[] = { "self","pos", NULL }; |
f6bcfd97 BP |
3982 | |
3983 | self = self; | |
fe47ec10 | 3984 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_SetSelectionEnd",_kwnames,&_argo0,&_arg1)) |
f6bcfd97 BP |
3985 | return NULL; |
3986 | if (_argo0) { | |
3987 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3988 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 3989 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetSelectionEnd. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
3990 | return NULL; |
3991 | } | |
3992 | } | |
f6bcfd97 BP |
3993 | { |
3994 | wxPy_BEGIN_ALLOW_THREADS; | |
fe47ec10 | 3995 | wxStyledTextCtrl_SetSelectionEnd(_arg0,_arg1); |
f6bcfd97 BP |
3996 | |
3997 | wxPy_END_ALLOW_THREADS; | |
3998 | } Py_INCREF(Py_None); | |
3999 | _resultobj = Py_None; | |
4000 | return _resultobj; | |
4001 | } | |
4002 | ||
fe47ec10 RD |
4003 | #define wxStyledTextCtrl_GetSelectionEnd(_swigobj) (_swigobj->GetSelectionEnd()) |
4004 | static PyObject *_wrap_wxStyledTextCtrl_GetSelectionEnd(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 | 4005 | PyObject * _resultobj; |
fe47ec10 | 4006 | int _result; |
f6bcfd97 | 4007 | wxStyledTextCtrl * _arg0; |
f6bcfd97 | 4008 | PyObject * _argo0 = 0; |
fe47ec10 | 4009 | char *_kwnames[] = { "self", NULL }; |
f6bcfd97 BP |
4010 | |
4011 | self = self; | |
fe47ec10 | 4012 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetSelectionEnd",_kwnames,&_argo0)) |
f6bcfd97 BP |
4013 | return NULL; |
4014 | if (_argo0) { | |
4015 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4016 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 4017 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetSelectionEnd. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
4018 | return NULL; |
4019 | } | |
4020 | } | |
4021 | { | |
4022 | wxPy_BEGIN_ALLOW_THREADS; | |
fe47ec10 | 4023 | _result = (int )wxStyledTextCtrl_GetSelectionEnd(_arg0); |
f6bcfd97 BP |
4024 | |
4025 | wxPy_END_ALLOW_THREADS; | |
fe47ec10 | 4026 | } _resultobj = Py_BuildValue("i",_result); |
f6bcfd97 BP |
4027 | return _resultobj; |
4028 | } | |
4029 | ||
fe47ec10 RD |
4030 | #define wxStyledTextCtrl_SetPrintMagnification(_swigobj,_swigarg0) (_swigobj->SetPrintMagnification(_swigarg0)) |
4031 | static PyObject *_wrap_wxStyledTextCtrl_SetPrintMagnification(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 BP |
4032 | PyObject * _resultobj; |
4033 | wxStyledTextCtrl * _arg0; | |
4034 | int _arg1; | |
4035 | PyObject * _argo0 = 0; | |
fe47ec10 | 4036 | char *_kwnames[] = { "self","magnification", NULL }; |
f6bcfd97 BP |
4037 | |
4038 | self = self; | |
fe47ec10 | 4039 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_SetPrintMagnification",_kwnames,&_argo0,&_arg1)) |
f6bcfd97 BP |
4040 | return NULL; |
4041 | if (_argo0) { | |
4042 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4043 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 4044 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetPrintMagnification. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
4045 | return NULL; |
4046 | } | |
4047 | } | |
4048 | { | |
4049 | wxPy_BEGIN_ALLOW_THREADS; | |
fe47ec10 | 4050 | wxStyledTextCtrl_SetPrintMagnification(_arg0,_arg1); |
f6bcfd97 BP |
4051 | |
4052 | wxPy_END_ALLOW_THREADS; | |
4053 | } Py_INCREF(Py_None); | |
4054 | _resultobj = Py_None; | |
4055 | return _resultobj; | |
4056 | } | |
4057 | ||
fe47ec10 RD |
4058 | #define wxStyledTextCtrl_GetPrintMagnification(_swigobj) (_swigobj->GetPrintMagnification()) |
4059 | static PyObject *_wrap_wxStyledTextCtrl_GetPrintMagnification(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 BP |
4060 | PyObject * _resultobj; |
4061 | int _result; | |
4062 | wxStyledTextCtrl * _arg0; | |
f6bcfd97 | 4063 | PyObject * _argo0 = 0; |
fe47ec10 | 4064 | char *_kwnames[] = { "self", NULL }; |
f6bcfd97 BP |
4065 | |
4066 | self = self; | |
fe47ec10 | 4067 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetPrintMagnification",_kwnames,&_argo0)) |
f6bcfd97 BP |
4068 | return NULL; |
4069 | if (_argo0) { | |
4070 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4071 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 4072 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetPrintMagnification. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
4073 | return NULL; |
4074 | } | |
4075 | } | |
4076 | { | |
4077 | wxPy_BEGIN_ALLOW_THREADS; | |
fe47ec10 | 4078 | _result = (int )wxStyledTextCtrl_GetPrintMagnification(_arg0); |
f6bcfd97 BP |
4079 | |
4080 | wxPy_END_ALLOW_THREADS; | |
4081 | } _resultobj = Py_BuildValue("i",_result); | |
4082 | return _resultobj; | |
4083 | } | |
4084 | ||
fe47ec10 RD |
4085 | #define wxStyledTextCtrl_SetPrintColourMode(_swigobj,_swigarg0) (_swigobj->SetPrintColourMode(_swigarg0)) |
4086 | static PyObject *_wrap_wxStyledTextCtrl_SetPrintColourMode(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 BP |
4087 | PyObject * _resultobj; |
4088 | wxStyledTextCtrl * _arg0; | |
4089 | int _arg1; | |
f6bcfd97 | 4090 | PyObject * _argo0 = 0; |
fe47ec10 | 4091 | char *_kwnames[] = { "self","mode", NULL }; |
f6bcfd97 BP |
4092 | |
4093 | self = self; | |
fe47ec10 | 4094 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_SetPrintColourMode",_kwnames,&_argo0,&_arg1)) |
f6bcfd97 BP |
4095 | return NULL; |
4096 | if (_argo0) { | |
4097 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4098 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 4099 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetPrintColourMode. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
4100 | return NULL; |
4101 | } | |
4102 | } | |
f6bcfd97 BP |
4103 | { |
4104 | wxPy_BEGIN_ALLOW_THREADS; | |
fe47ec10 | 4105 | wxStyledTextCtrl_SetPrintColourMode(_arg0,_arg1); |
f6bcfd97 BP |
4106 | |
4107 | wxPy_END_ALLOW_THREADS; | |
4108 | } Py_INCREF(Py_None); | |
4109 | _resultobj = Py_None; | |
4110 | return _resultobj; | |
4111 | } | |
4112 | ||
fe47ec10 RD |
4113 | #define wxStyledTextCtrl_GetPrintColourMode(_swigobj) (_swigobj->GetPrintColourMode()) |
4114 | static PyObject *_wrap_wxStyledTextCtrl_GetPrintColourMode(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 | 4115 | PyObject * _resultobj; |
fe47ec10 | 4116 | int _result; |
f6bcfd97 | 4117 | wxStyledTextCtrl * _arg0; |
f6bcfd97 | 4118 | PyObject * _argo0 = 0; |
fe47ec10 | 4119 | char *_kwnames[] = { "self", NULL }; |
f6bcfd97 BP |
4120 | |
4121 | self = self; | |
fe47ec10 | 4122 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetPrintColourMode",_kwnames,&_argo0)) |
f6bcfd97 BP |
4123 | return NULL; |
4124 | if (_argo0) { | |
4125 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4126 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 4127 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetPrintColourMode. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
4128 | return NULL; |
4129 | } | |
4130 | } | |
4131 | { | |
4132 | wxPy_BEGIN_ALLOW_THREADS; | |
fe47ec10 | 4133 | _result = (int )wxStyledTextCtrl_GetPrintColourMode(_arg0); |
f6bcfd97 BP |
4134 | |
4135 | wxPy_END_ALLOW_THREADS; | |
fe47ec10 | 4136 | } _resultobj = Py_BuildValue("i",_result); |
f6bcfd97 BP |
4137 | return _resultobj; |
4138 | } | |
4139 | ||
fe47ec10 RD |
4140 | #define wxStyledTextCtrl_FindText(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->FindText(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4)) |
4141 | static PyObject *_wrap_wxStyledTextCtrl_FindText(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 | 4142 | PyObject * _resultobj; |
fe47ec10 | 4143 | int _result; |
f6bcfd97 BP |
4144 | wxStyledTextCtrl * _arg0; |
4145 | int _arg1; | |
fe47ec10 RD |
4146 | int _arg2; |
4147 | wxString * _arg3; | |
4148 | bool _arg4; | |
4149 | bool _arg5; | |
f6bcfd97 | 4150 | PyObject * _argo0 = 0; |
fe47ec10 RD |
4151 | PyObject * _obj3 = 0; |
4152 | int tempbool4; | |
4153 | int tempbool5; | |
4154 | char *_kwnames[] = { "self","minPos","maxPos","text","caseSensitive","wholeWord", NULL }; | |
f6bcfd97 BP |
4155 | |
4156 | self = self; | |
fe47ec10 | 4157 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiiOii:wxStyledTextCtrl_FindText",_kwnames,&_argo0,&_arg1,&_arg2,&_obj3,&tempbool4,&tempbool5)) |
f6bcfd97 BP |
4158 | return NULL; |
4159 | if (_argo0) { | |
4160 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4161 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 4162 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_FindText. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
4163 | return NULL; |
4164 | } | |
4165 | } | |
4166 | { | |
185d7c3e RD |
4167 | #if PYTHON_API_VERSION >= 1009 |
4168 | char* tmpPtr; int tmpSize; | |
4169 | if (!PyString_Check(_obj3) && !PyUnicode_Check(_obj3)) { | |
7a446686 | 4170 | PyErr_SetString(PyExc_TypeError, wxStringErrorMsg); |
185d7c3e RD |
4171 | return NULL; |
4172 | } | |
4173 | if (PyString_AsStringAndSize(_obj3, &tmpPtr, &tmpSize) == -1) | |
4174 | return NULL; | |
4175 | _arg3 = new wxString(tmpPtr, tmpSize); | |
4176 | #else | |
fe47ec10 RD |
4177 | if (!PyString_Check(_obj3)) { |
4178 | PyErr_SetString(PyExc_TypeError, wxStringErrorMsg); | |
f6bcfd97 | 4179 | return NULL; |
fe47ec10 | 4180 | } |
185d7c3e RD |
4181 | _arg3 = new wxString(PyString_AS_STRING(_obj3), PyString_GET_SIZE(_obj3)); |
4182 | #endif | |
f6bcfd97 | 4183 | } |
fe47ec10 RD |
4184 | _arg4 = (bool ) tempbool4; |
4185 | _arg5 = (bool ) tempbool5; | |
f6bcfd97 BP |
4186 | { |
4187 | wxPy_BEGIN_ALLOW_THREADS; | |
fe47ec10 | 4188 | _result = (int )wxStyledTextCtrl_FindText(_arg0,_arg1,_arg2,*_arg3,_arg4,_arg5); |
f6bcfd97 BP |
4189 | |
4190 | wxPy_END_ALLOW_THREADS; | |
fe47ec10 RD |
4191 | } _resultobj = Py_BuildValue("i",_result); |
4192 | { | |
4193 | if (_obj3) | |
4194 | delete _arg3; | |
4195 | } | |
f6bcfd97 BP |
4196 | return _resultobj; |
4197 | } | |
4198 | ||
fe47ec10 RD |
4199 | #define wxStyledTextCtrl_FormatRange(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (_swigobj->FormatRange(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6)) |
4200 | static PyObject *_wrap_wxStyledTextCtrl_FormatRange(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 | 4201 | PyObject * _resultobj; |
fe47ec10 | 4202 | int _result; |
f6bcfd97 | 4203 | wxStyledTextCtrl * _arg0; |
fe47ec10 RD |
4204 | bool _arg1; |
4205 | int _arg2; | |
4206 | int _arg3; | |
4207 | wxDC * _arg4; | |
4208 | wxDC * _arg5; | |
4209 | wxRect * _arg6; | |
4210 | wxRect * _arg7; | |
f6bcfd97 | 4211 | PyObject * _argo0 = 0; |
fe47ec10 RD |
4212 | int tempbool1; |
4213 | PyObject * _argo4 = 0; | |
4214 | PyObject * _argo5 = 0; | |
4215 | wxRect temp; | |
4216 | PyObject * _obj6 = 0; | |
4217 | wxRect temp0; | |
4218 | PyObject * _obj7 = 0; | |
4219 | char *_kwnames[] = { "self","doDraw","startPos","endPos","draw","target","renderRect","pageRect", NULL }; | |
f6bcfd97 BP |
4220 | |
4221 | self = self; | |
fe47ec10 | 4222 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiiiOOOO:wxStyledTextCtrl_FormatRange",_kwnames,&_argo0,&tempbool1,&_arg2,&_arg3,&_argo4,&_argo5,&_obj6,&_obj7)) |
f6bcfd97 BP |
4223 | return NULL; |
4224 | if (_argo0) { | |
4225 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4226 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 RD |
4227 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_FormatRange. Expected _wxStyledTextCtrl_p."); |
4228 | return NULL; | |
4229 | } | |
4230 | } | |
4231 | _arg1 = (bool ) tempbool1; | |
4232 | if (_argo4) { | |
4233 | if (_argo4 == Py_None) { _arg4 = NULL; } | |
4234 | else if (SWIG_GetPtrObj(_argo4,(void **) &_arg4,"_wxDC_p")) { | |
4235 | PyErr_SetString(PyExc_TypeError,"Type error in argument 5 of wxStyledTextCtrl_FormatRange. Expected _wxDC_p."); | |
4236 | return NULL; | |
4237 | } | |
4238 | } | |
4239 | if (_argo5) { | |
4240 | if (_argo5 == Py_None) { _arg5 = NULL; } | |
4241 | else if (SWIG_GetPtrObj(_argo5,(void **) &_arg5,"_wxDC_p")) { | |
4242 | PyErr_SetString(PyExc_TypeError,"Type error in argument 6 of wxStyledTextCtrl_FormatRange. Expected _wxDC_p."); | |
f6bcfd97 BP |
4243 | return NULL; |
4244 | } | |
4245 | } | |
4246 | { | |
fe47ec10 RD |
4247 | _arg6 = &temp; |
4248 | if (! wxRect_helper(_obj6, &_arg6)) | |
4249 | return NULL; | |
4250 | } | |
4251 | { | |
4252 | _arg7 = &temp0; | |
4253 | if (! wxRect_helper(_obj7, &_arg7)) | |
f6bcfd97 BP |
4254 | return NULL; |
4255 | } | |
4256 | { | |
4257 | wxPy_BEGIN_ALLOW_THREADS; | |
fe47ec10 | 4258 | _result = (int )wxStyledTextCtrl_FormatRange(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5,*_arg6,*_arg7); |
f6bcfd97 BP |
4259 | |
4260 | wxPy_END_ALLOW_THREADS; | |
fe47ec10 | 4261 | } _resultobj = Py_BuildValue("i",_result); |
f6bcfd97 BP |
4262 | return _resultobj; |
4263 | } | |
4264 | ||
fe47ec10 RD |
4265 | #define wxStyledTextCtrl_GetFirstVisibleLine(_swigobj) (_swigobj->GetFirstVisibleLine()) |
4266 | static PyObject *_wrap_wxStyledTextCtrl_GetFirstVisibleLine(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 BP |
4267 | PyObject * _resultobj; |
4268 | int _result; | |
4269 | wxStyledTextCtrl * _arg0; | |
f6bcfd97 | 4270 | PyObject * _argo0 = 0; |
fe47ec10 | 4271 | char *_kwnames[] = { "self", NULL }; |
f6bcfd97 BP |
4272 | |
4273 | self = self; | |
fe47ec10 | 4274 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetFirstVisibleLine",_kwnames,&_argo0)) |
f6bcfd97 BP |
4275 | return NULL; |
4276 | if (_argo0) { | |
4277 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4278 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 4279 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetFirstVisibleLine. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
4280 | return NULL; |
4281 | } | |
4282 | } | |
4283 | { | |
4284 | wxPy_BEGIN_ALLOW_THREADS; | |
fe47ec10 | 4285 | _result = (int )wxStyledTextCtrl_GetFirstVisibleLine(_arg0); |
f6bcfd97 BP |
4286 | |
4287 | wxPy_END_ALLOW_THREADS; | |
4288 | } _resultobj = Py_BuildValue("i",_result); | |
4289 | return _resultobj; | |
4290 | } | |
4291 | ||
fe47ec10 RD |
4292 | #define wxStyledTextCtrl_GetLine(_swigobj,_swigarg0) (_swigobj->GetLine(_swigarg0)) |
4293 | static PyObject *_wrap_wxStyledTextCtrl_GetLine(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 | 4294 | PyObject * _resultobj; |
fe47ec10 | 4295 | wxString * _result; |
f6bcfd97 BP |
4296 | wxStyledTextCtrl * _arg0; |
4297 | int _arg1; | |
f6bcfd97 | 4298 | PyObject * _argo0 = 0; |
fe47ec10 | 4299 | char *_kwnames[] = { "self","line", NULL }; |
f6bcfd97 BP |
4300 | |
4301 | self = self; | |
fe47ec10 | 4302 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_GetLine",_kwnames,&_argo0,&_arg1)) |
f6bcfd97 BP |
4303 | return NULL; |
4304 | if (_argo0) { | |
4305 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4306 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 4307 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetLine. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
4308 | return NULL; |
4309 | } | |
4310 | } | |
4311 | { | |
4312 | wxPy_BEGIN_ALLOW_THREADS; | |
fe47ec10 | 4313 | _result = new wxString (wxStyledTextCtrl_GetLine(_arg0,_arg1)); |
f6bcfd97 BP |
4314 | |
4315 | wxPy_END_ALLOW_THREADS; | |
fe47ec10 RD |
4316 | }{ |
4317 | _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len()); | |
4318 | } | |
4319 | { | |
4320 | delete _result; | |
4321 | } | |
f6bcfd97 BP |
4322 | return _resultobj; |
4323 | } | |
4324 | ||
fe47ec10 RD |
4325 | #define wxStyledTextCtrl_GetLineCount(_swigobj) (_swigobj->GetLineCount()) |
4326 | static PyObject *_wrap_wxStyledTextCtrl_GetLineCount(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 | 4327 | PyObject * _resultobj; |
fe47ec10 | 4328 | int _result; |
f6bcfd97 | 4329 | wxStyledTextCtrl * _arg0; |
f6bcfd97 | 4330 | PyObject * _argo0 = 0; |
fe47ec10 | 4331 | char *_kwnames[] = { "self", NULL }; |
f6bcfd97 BP |
4332 | |
4333 | self = self; | |
fe47ec10 | 4334 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetLineCount",_kwnames,&_argo0)) |
f6bcfd97 BP |
4335 | return NULL; |
4336 | if (_argo0) { | |
4337 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4338 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 4339 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetLineCount. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
4340 | return NULL; |
4341 | } | |
4342 | } | |
4343 | { | |
4344 | wxPy_BEGIN_ALLOW_THREADS; | |
fe47ec10 | 4345 | _result = (int )wxStyledTextCtrl_GetLineCount(_arg0); |
f6bcfd97 BP |
4346 | |
4347 | wxPy_END_ALLOW_THREADS; | |
fe47ec10 | 4348 | } _resultobj = Py_BuildValue("i",_result); |
f6bcfd97 BP |
4349 | return _resultobj; |
4350 | } | |
4351 | ||
fe47ec10 RD |
4352 | #define wxStyledTextCtrl_SetMarginLeft(_swigobj,_swigarg0) (_swigobj->SetMarginLeft(_swigarg0)) |
4353 | static PyObject *_wrap_wxStyledTextCtrl_SetMarginLeft(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 | 4354 | PyObject * _resultobj; |
f6bcfd97 BP |
4355 | wxStyledTextCtrl * _arg0; |
4356 | int _arg1; | |
4357 | PyObject * _argo0 = 0; | |
fe47ec10 | 4358 | char *_kwnames[] = { "self","width", NULL }; |
f6bcfd97 BP |
4359 | |
4360 | self = self; | |
fe47ec10 | 4361 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_SetMarginLeft",_kwnames,&_argo0,&_arg1)) |
f6bcfd97 BP |
4362 | return NULL; |
4363 | if (_argo0) { | |
4364 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4365 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 4366 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetMarginLeft. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
4367 | return NULL; |
4368 | } | |
4369 | } | |
4370 | { | |
4371 | wxPy_BEGIN_ALLOW_THREADS; | |
fe47ec10 | 4372 | wxStyledTextCtrl_SetMarginLeft(_arg0,_arg1); |
f6bcfd97 BP |
4373 | |
4374 | wxPy_END_ALLOW_THREADS; | |
fe47ec10 RD |
4375 | } Py_INCREF(Py_None); |
4376 | _resultobj = Py_None; | |
f6bcfd97 BP |
4377 | return _resultobj; |
4378 | } | |
4379 | ||
fe47ec10 RD |
4380 | #define wxStyledTextCtrl_GetMarginLeft(_swigobj) (_swigobj->GetMarginLeft()) |
4381 | static PyObject *_wrap_wxStyledTextCtrl_GetMarginLeft(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 BP |
4382 | PyObject * _resultobj; |
4383 | int _result; | |
4384 | wxStyledTextCtrl * _arg0; | |
f6bcfd97 | 4385 | PyObject * _argo0 = 0; |
fe47ec10 | 4386 | char *_kwnames[] = { "self", NULL }; |
f6bcfd97 BP |
4387 | |
4388 | self = self; | |
fe47ec10 | 4389 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetMarginLeft",_kwnames,&_argo0)) |
f6bcfd97 BP |
4390 | return NULL; |
4391 | if (_argo0) { | |
4392 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4393 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 4394 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetMarginLeft. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
4395 | return NULL; |
4396 | } | |
4397 | } | |
4398 | { | |
4399 | wxPy_BEGIN_ALLOW_THREADS; | |
fe47ec10 | 4400 | _result = (int )wxStyledTextCtrl_GetMarginLeft(_arg0); |
f6bcfd97 BP |
4401 | |
4402 | wxPy_END_ALLOW_THREADS; | |
4403 | } _resultobj = Py_BuildValue("i",_result); | |
4404 | return _resultobj; | |
4405 | } | |
4406 | ||
fe47ec10 RD |
4407 | #define wxStyledTextCtrl_SetMarginRight(_swigobj,_swigarg0) (_swigobj->SetMarginRight(_swigarg0)) |
4408 | static PyObject *_wrap_wxStyledTextCtrl_SetMarginRight(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 | 4409 | PyObject * _resultobj; |
f6bcfd97 BP |
4410 | wxStyledTextCtrl * _arg0; |
4411 | int _arg1; | |
f6bcfd97 | 4412 | PyObject * _argo0 = 0; |
fe47ec10 | 4413 | char *_kwnames[] = { "self","width", NULL }; |
f6bcfd97 BP |
4414 | |
4415 | self = self; | |
fe47ec10 | 4416 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_SetMarginRight",_kwnames,&_argo0,&_arg1)) |
f6bcfd97 BP |
4417 | return NULL; |
4418 | if (_argo0) { | |
4419 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4420 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 4421 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetMarginRight. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
4422 | return NULL; |
4423 | } | |
4424 | } | |
4425 | { | |
4426 | wxPy_BEGIN_ALLOW_THREADS; | |
fe47ec10 | 4427 | wxStyledTextCtrl_SetMarginRight(_arg0,_arg1); |
f6bcfd97 BP |
4428 | |
4429 | wxPy_END_ALLOW_THREADS; | |
fe47ec10 RD |
4430 | } Py_INCREF(Py_None); |
4431 | _resultobj = Py_None; | |
f6bcfd97 BP |
4432 | return _resultobj; |
4433 | } | |
4434 | ||
fe47ec10 RD |
4435 | #define wxStyledTextCtrl_GetMarginRight(_swigobj) (_swigobj->GetMarginRight()) |
4436 | static PyObject *_wrap_wxStyledTextCtrl_GetMarginRight(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 BP |
4437 | PyObject * _resultobj; |
4438 | int _result; | |
4439 | wxStyledTextCtrl * _arg0; | |
f6bcfd97 | 4440 | PyObject * _argo0 = 0; |
fe47ec10 | 4441 | char *_kwnames[] = { "self", NULL }; |
f6bcfd97 BP |
4442 | |
4443 | self = self; | |
fe47ec10 | 4444 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetMarginRight",_kwnames,&_argo0)) |
f6bcfd97 BP |
4445 | return NULL; |
4446 | if (_argo0) { | |
4447 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4448 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 4449 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetMarginRight. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
4450 | return NULL; |
4451 | } | |
4452 | } | |
4453 | { | |
4454 | wxPy_BEGIN_ALLOW_THREADS; | |
fe47ec10 | 4455 | _result = (int )wxStyledTextCtrl_GetMarginRight(_arg0); |
f6bcfd97 BP |
4456 | |
4457 | wxPy_END_ALLOW_THREADS; | |
4458 | } _resultobj = Py_BuildValue("i",_result); | |
4459 | return _resultobj; | |
4460 | } | |
4461 | ||
fe47ec10 RD |
4462 | #define wxStyledTextCtrl_GetModify(_swigobj) (_swigobj->GetModify()) |
4463 | static PyObject *_wrap_wxStyledTextCtrl_GetModify(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 | 4464 | PyObject * _resultobj; |
fe47ec10 | 4465 | bool _result; |
f6bcfd97 | 4466 | wxStyledTextCtrl * _arg0; |
f6bcfd97 | 4467 | PyObject * _argo0 = 0; |
fe47ec10 | 4468 | char *_kwnames[] = { "self", NULL }; |
f6bcfd97 BP |
4469 | |
4470 | self = self; | |
fe47ec10 | 4471 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetModify",_kwnames,&_argo0)) |
f6bcfd97 BP |
4472 | return NULL; |
4473 | if (_argo0) { | |
4474 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4475 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 4476 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetModify. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
4477 | return NULL; |
4478 | } | |
4479 | } | |
4480 | { | |
4481 | wxPy_BEGIN_ALLOW_THREADS; | |
fe47ec10 | 4482 | _result = (bool )wxStyledTextCtrl_GetModify(_arg0); |
f6bcfd97 BP |
4483 | |
4484 | wxPy_END_ALLOW_THREADS; | |
fe47ec10 | 4485 | } _resultobj = Py_BuildValue("i",_result); |
f6bcfd97 BP |
4486 | return _resultobj; |
4487 | } | |
4488 | ||
fe47ec10 RD |
4489 | #define wxStyledTextCtrl_SetSelection(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetSelection(_swigarg0,_swigarg1)) |
4490 | static PyObject *_wrap_wxStyledTextCtrl_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 BP |
4491 | PyObject * _resultobj; |
4492 | wxStyledTextCtrl * _arg0; | |
4493 | int _arg1; | |
4494 | int _arg2; | |
4495 | PyObject * _argo0 = 0; | |
fe47ec10 | 4496 | char *_kwnames[] = { "self","start","end", NULL }; |
f6bcfd97 BP |
4497 | |
4498 | self = self; | |
fe47ec10 | 4499 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxStyledTextCtrl_SetSelection",_kwnames,&_argo0,&_arg1,&_arg2)) |
f6bcfd97 BP |
4500 | return NULL; |
4501 | if (_argo0) { | |
4502 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4503 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 4504 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetSelection. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
4505 | return NULL; |
4506 | } | |
4507 | } | |
4508 | { | |
4509 | wxPy_BEGIN_ALLOW_THREADS; | |
fe47ec10 | 4510 | wxStyledTextCtrl_SetSelection(_arg0,_arg1,_arg2); |
f6bcfd97 BP |
4511 | |
4512 | wxPy_END_ALLOW_THREADS; | |
4513 | } Py_INCREF(Py_None); | |
4514 | _resultobj = Py_None; | |
4515 | return _resultobj; | |
4516 | } | |
4517 | ||
fe47ec10 RD |
4518 | #define wxStyledTextCtrl_GetSelectedText(_swigobj) (_swigobj->GetSelectedText()) |
4519 | static PyObject *_wrap_wxStyledTextCtrl_GetSelectedText(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 | 4520 | PyObject * _resultobj; |
fe47ec10 | 4521 | wxString * _result; |
f6bcfd97 | 4522 | wxStyledTextCtrl * _arg0; |
f6bcfd97 | 4523 | PyObject * _argo0 = 0; |
fe47ec10 | 4524 | char *_kwnames[] = { "self", NULL }; |
f6bcfd97 BP |
4525 | |
4526 | self = self; | |
fe47ec10 | 4527 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetSelectedText",_kwnames,&_argo0)) |
f6bcfd97 BP |
4528 | return NULL; |
4529 | if (_argo0) { | |
4530 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4531 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 4532 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetSelectedText. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
4533 | return NULL; |
4534 | } | |
4535 | } | |
4536 | { | |
4537 | wxPy_BEGIN_ALLOW_THREADS; | |
fe47ec10 | 4538 | _result = new wxString (wxStyledTextCtrl_GetSelectedText(_arg0)); |
f6bcfd97 BP |
4539 | |
4540 | wxPy_END_ALLOW_THREADS; | |
fe47ec10 RD |
4541 | }{ |
4542 | _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len()); | |
4543 | } | |
4544 | { | |
4545 | delete _result; | |
4546 | } | |
f6bcfd97 BP |
4547 | return _resultobj; |
4548 | } | |
4549 | ||
fe47ec10 RD |
4550 | #define wxStyledTextCtrl_GetTextRange(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetTextRange(_swigarg0,_swigarg1)) |
4551 | static PyObject *_wrap_wxStyledTextCtrl_GetTextRange(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 | 4552 | PyObject * _resultobj; |
fe47ec10 | 4553 | wxString * _result; |
f6bcfd97 BP |
4554 | wxStyledTextCtrl * _arg0; |
4555 | int _arg1; | |
fe47ec10 | 4556 | int _arg2; |
f6bcfd97 | 4557 | PyObject * _argo0 = 0; |
fe47ec10 | 4558 | char *_kwnames[] = { "self","startPos","endPos", NULL }; |
f6bcfd97 BP |
4559 | |
4560 | self = self; | |
fe47ec10 | 4561 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxStyledTextCtrl_GetTextRange",_kwnames,&_argo0,&_arg1,&_arg2)) |
f6bcfd97 BP |
4562 | return NULL; |
4563 | if (_argo0) { | |
4564 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4565 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 4566 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetTextRange. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
4567 | return NULL; |
4568 | } | |
4569 | } | |
f6bcfd97 BP |
4570 | { |
4571 | wxPy_BEGIN_ALLOW_THREADS; | |
fe47ec10 | 4572 | _result = new wxString (wxStyledTextCtrl_GetTextRange(_arg0,_arg1,_arg2)); |
f6bcfd97 BP |
4573 | |
4574 | wxPy_END_ALLOW_THREADS; | |
fe47ec10 RD |
4575 | }{ |
4576 | _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len()); | |
4577 | } | |
4578 | { | |
4579 | delete _result; | |
4580 | } | |
f6bcfd97 BP |
4581 | return _resultobj; |
4582 | } | |
4583 | ||
fe47ec10 RD |
4584 | #define wxStyledTextCtrl_HideSelection(_swigobj,_swigarg0) (_swigobj->HideSelection(_swigarg0)) |
4585 | static PyObject *_wrap_wxStyledTextCtrl_HideSelection(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 BP |
4586 | PyObject * _resultobj; |
4587 | wxStyledTextCtrl * _arg0; | |
fe47ec10 | 4588 | bool _arg1; |
f6bcfd97 | 4589 | PyObject * _argo0 = 0; |
fe47ec10 RD |
4590 | int tempbool1; |
4591 | char *_kwnames[] = { "self","normal", NULL }; | |
f6bcfd97 BP |
4592 | |
4593 | self = self; | |
fe47ec10 | 4594 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_HideSelection",_kwnames,&_argo0,&tempbool1)) |
f6bcfd97 BP |
4595 | return NULL; |
4596 | if (_argo0) { | |
4597 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4598 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 4599 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_HideSelection. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
4600 | return NULL; |
4601 | } | |
4602 | } | |
fe47ec10 | 4603 | _arg1 = (bool ) tempbool1; |
f6bcfd97 BP |
4604 | { |
4605 | wxPy_BEGIN_ALLOW_THREADS; | |
fe47ec10 | 4606 | wxStyledTextCtrl_HideSelection(_arg0,_arg1); |
f6bcfd97 BP |
4607 | |
4608 | wxPy_END_ALLOW_THREADS; | |
4609 | } Py_INCREF(Py_None); | |
4610 | _resultobj = Py_None; | |
f6bcfd97 BP |
4611 | return _resultobj; |
4612 | } | |
4613 | ||
fe47ec10 RD |
4614 | #define wxStyledTextCtrl_LineFromPosition(_swigobj,_swigarg0) (_swigobj->LineFromPosition(_swigarg0)) |
4615 | static PyObject *_wrap_wxStyledTextCtrl_LineFromPosition(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 | 4616 | PyObject * _resultobj; |
fe47ec10 | 4617 | int _result; |
f6bcfd97 | 4618 | wxStyledTextCtrl * _arg0; |
fe47ec10 | 4619 | int _arg1; |
f6bcfd97 | 4620 | PyObject * _argo0 = 0; |
fe47ec10 | 4621 | char *_kwnames[] = { "self","pos", NULL }; |
f6bcfd97 BP |
4622 | |
4623 | self = self; | |
fe47ec10 | 4624 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_LineFromPosition",_kwnames,&_argo0,&_arg1)) |
f6bcfd97 BP |
4625 | return NULL; |
4626 | if (_argo0) { | |
4627 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4628 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 4629 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_LineFromPosition. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
4630 | return NULL; |
4631 | } | |
4632 | } | |
4633 | { | |
4634 | wxPy_BEGIN_ALLOW_THREADS; | |
fe47ec10 | 4635 | _result = (int )wxStyledTextCtrl_LineFromPosition(_arg0,_arg1); |
f6bcfd97 BP |
4636 | |
4637 | wxPy_END_ALLOW_THREADS; | |
fe47ec10 | 4638 | } _resultobj = Py_BuildValue("i",_result); |
f6bcfd97 BP |
4639 | return _resultobj; |
4640 | } | |
4641 | ||
fe47ec10 RD |
4642 | #define wxStyledTextCtrl_PositionFromLine(_swigobj,_swigarg0) (_swigobj->PositionFromLine(_swigarg0)) |
4643 | static PyObject *_wrap_wxStyledTextCtrl_PositionFromLine(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 | 4644 | PyObject * _resultobj; |
fe47ec10 | 4645 | int _result; |
f6bcfd97 | 4646 | wxStyledTextCtrl * _arg0; |
fe47ec10 | 4647 | int _arg1; |
f6bcfd97 | 4648 | PyObject * _argo0 = 0; |
fe47ec10 | 4649 | char *_kwnames[] = { "self","line", NULL }; |
f6bcfd97 BP |
4650 | |
4651 | self = self; | |
fe47ec10 | 4652 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_PositionFromLine",_kwnames,&_argo0,&_arg1)) |
f6bcfd97 BP |
4653 | return NULL; |
4654 | if (_argo0) { | |
4655 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4656 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 4657 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_PositionFromLine. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
4658 | return NULL; |
4659 | } | |
4660 | } | |
4661 | { | |
4662 | wxPy_BEGIN_ALLOW_THREADS; | |
fe47ec10 | 4663 | _result = (int )wxStyledTextCtrl_PositionFromLine(_arg0,_arg1); |
f6bcfd97 BP |
4664 | |
4665 | wxPy_END_ALLOW_THREADS; | |
4666 | } _resultobj = Py_BuildValue("i",_result); | |
4667 | return _resultobj; | |
4668 | } | |
4669 | ||
fe47ec10 RD |
4670 | #define wxStyledTextCtrl_LineScroll(_swigobj,_swigarg0,_swigarg1) (_swigobj->LineScroll(_swigarg0,_swigarg1)) |
4671 | static PyObject *_wrap_wxStyledTextCtrl_LineScroll(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 | 4672 | PyObject * _resultobj; |
f6bcfd97 | 4673 | wxStyledTextCtrl * _arg0; |
fe47ec10 RD |
4674 | int _arg1; |
4675 | int _arg2; | |
f6bcfd97 | 4676 | PyObject * _argo0 = 0; |
fe47ec10 | 4677 | char *_kwnames[] = { "self","columns","lines", NULL }; |
f6bcfd97 BP |
4678 | |
4679 | self = self; | |
fe47ec10 | 4680 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxStyledTextCtrl_LineScroll",_kwnames,&_argo0,&_arg1,&_arg2)) |
f6bcfd97 BP |
4681 | return NULL; |
4682 | if (_argo0) { | |
4683 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4684 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 4685 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_LineScroll. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
4686 | return NULL; |
4687 | } | |
4688 | } | |
4689 | { | |
4690 | wxPy_BEGIN_ALLOW_THREADS; | |
fe47ec10 | 4691 | wxStyledTextCtrl_LineScroll(_arg0,_arg1,_arg2); |
f6bcfd97 BP |
4692 | |
4693 | wxPy_END_ALLOW_THREADS; | |
fe47ec10 RD |
4694 | } Py_INCREF(Py_None); |
4695 | _resultobj = Py_None; | |
f6bcfd97 BP |
4696 | return _resultobj; |
4697 | } | |
4698 | ||
fe47ec10 RD |
4699 | #define wxStyledTextCtrl_EnsureCaretVisible(_swigobj) (_swigobj->EnsureCaretVisible()) |
4700 | static PyObject *_wrap_wxStyledTextCtrl_EnsureCaretVisible(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 BP |
4701 | PyObject * _resultobj; |
4702 | wxStyledTextCtrl * _arg0; | |
4703 | PyObject * _argo0 = 0; | |
4704 | char *_kwnames[] = { "self", NULL }; | |
4705 | ||
4706 | self = self; | |
fe47ec10 | 4707 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_EnsureCaretVisible",_kwnames,&_argo0)) |
f6bcfd97 BP |
4708 | return NULL; |
4709 | if (_argo0) { | |
4710 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4711 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 4712 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_EnsureCaretVisible. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
4713 | return NULL; |
4714 | } | |
4715 | } | |
4716 | { | |
4717 | wxPy_BEGIN_ALLOW_THREADS; | |
fe47ec10 | 4718 | wxStyledTextCtrl_EnsureCaretVisible(_arg0); |
f6bcfd97 BP |
4719 | |
4720 | wxPy_END_ALLOW_THREADS; | |
4721 | } Py_INCREF(Py_None); | |
4722 | _resultobj = Py_None; | |
4723 | return _resultobj; | |
4724 | } | |
4725 | ||
fe47ec10 RD |
4726 | #define wxStyledTextCtrl_ReplaceSelection(_swigobj,_swigarg0) (_swigobj->ReplaceSelection(_swigarg0)) |
4727 | static PyObject *_wrap_wxStyledTextCtrl_ReplaceSelection(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 BP |
4728 | PyObject * _resultobj; |
4729 | wxStyledTextCtrl * _arg0; | |
4730 | wxString * _arg1; | |
4731 | PyObject * _argo0 = 0; | |
4732 | PyObject * _obj1 = 0; | |
fe47ec10 | 4733 | char *_kwnames[] = { "self","text", NULL }; |
f6bcfd97 BP |
4734 | |
4735 | self = self; | |
fe47ec10 | 4736 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxStyledTextCtrl_ReplaceSelection",_kwnames,&_argo0,&_obj1)) |
f6bcfd97 BP |
4737 | return NULL; |
4738 | if (_argo0) { | |
4739 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4740 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 4741 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_ReplaceSelection. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
4742 | return NULL; |
4743 | } | |
4744 | } | |
4745 | { | |
185d7c3e RD |
4746 | #if PYTHON_API_VERSION >= 1009 |
4747 | char* tmpPtr; int tmpSize; | |
4748 | if (!PyString_Check(_obj1) && !PyUnicode_Check(_obj1)) { | |
7a446686 | 4749 | PyErr_SetString(PyExc_TypeError, wxStringErrorMsg); |
185d7c3e RD |
4750 | return NULL; |
4751 | } | |
4752 | if (PyString_AsStringAndSize(_obj1, &tmpPtr, &tmpSize) == -1) | |
4753 | return NULL; | |
4754 | _arg1 = new wxString(tmpPtr, tmpSize); | |
4755 | #else | |
f6bcfd97 BP |
4756 | if (!PyString_Check(_obj1)) { |
4757 | PyErr_SetString(PyExc_TypeError, wxStringErrorMsg); | |
4758 | return NULL; | |
4759 | } | |
185d7c3e RD |
4760 | _arg1 = new wxString(PyString_AS_STRING(_obj1), PyString_GET_SIZE(_obj1)); |
4761 | #endif | |
f6bcfd97 BP |
4762 | } |
4763 | { | |
4764 | wxPy_BEGIN_ALLOW_THREADS; | |
fe47ec10 | 4765 | wxStyledTextCtrl_ReplaceSelection(_arg0,*_arg1); |
f6bcfd97 BP |
4766 | |
4767 | wxPy_END_ALLOW_THREADS; | |
4768 | } Py_INCREF(Py_None); | |
4769 | _resultobj = Py_None; | |
4770 | { | |
4771 | if (_obj1) | |
4772 | delete _arg1; | |
4773 | } | |
4774 | return _resultobj; | |
4775 | } | |
4776 | ||
fe47ec10 RD |
4777 | #define wxStyledTextCtrl_SetReadOnly(_swigobj,_swigarg0) (_swigobj->SetReadOnly(_swigarg0)) |
4778 | static PyObject *_wrap_wxStyledTextCtrl_SetReadOnly(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 BP |
4779 | PyObject * _resultobj; |
4780 | wxStyledTextCtrl * _arg0; | |
fe47ec10 | 4781 | bool _arg1; |
f6bcfd97 | 4782 | PyObject * _argo0 = 0; |
fe47ec10 RD |
4783 | int tempbool1; |
4784 | char *_kwnames[] = { "self","readOnly", NULL }; | |
f6bcfd97 BP |
4785 | |
4786 | self = self; | |
fe47ec10 | 4787 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_SetReadOnly",_kwnames,&_argo0,&tempbool1)) |
f6bcfd97 BP |
4788 | return NULL; |
4789 | if (_argo0) { | |
4790 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4791 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 4792 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetReadOnly. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
4793 | return NULL; |
4794 | } | |
4795 | } | |
fe47ec10 | 4796 | _arg1 = (bool ) tempbool1; |
f6bcfd97 BP |
4797 | { |
4798 | wxPy_BEGIN_ALLOW_THREADS; | |
fe47ec10 | 4799 | wxStyledTextCtrl_SetReadOnly(_arg0,_arg1); |
f6bcfd97 BP |
4800 | |
4801 | wxPy_END_ALLOW_THREADS; | |
4802 | } Py_INCREF(Py_None); | |
4803 | _resultobj = Py_None; | |
4804 | return _resultobj; | |
4805 | } | |
4806 | ||
fe47ec10 RD |
4807 | #define wxStyledTextCtrl_CanPaste(_swigobj) (_swigobj->CanPaste()) |
4808 | static PyObject *_wrap_wxStyledTextCtrl_CanPaste(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 | 4809 | PyObject * _resultobj; |
fe47ec10 | 4810 | bool _result; |
f6bcfd97 BP |
4811 | wxStyledTextCtrl * _arg0; |
4812 | PyObject * _argo0 = 0; | |
4813 | char *_kwnames[] = { "self", NULL }; | |
4814 | ||
4815 | self = self; | |
fe47ec10 | 4816 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_CanPaste",_kwnames,&_argo0)) |
f6bcfd97 BP |
4817 | return NULL; |
4818 | if (_argo0) { | |
4819 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4820 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 4821 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_CanPaste. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
4822 | return NULL; |
4823 | } | |
4824 | } | |
4825 | { | |
4826 | wxPy_BEGIN_ALLOW_THREADS; | |
fe47ec10 | 4827 | _result = (bool )wxStyledTextCtrl_CanPaste(_arg0); |
f6bcfd97 BP |
4828 | |
4829 | wxPy_END_ALLOW_THREADS; | |
fe47ec10 | 4830 | } _resultobj = Py_BuildValue("i",_result); |
f6bcfd97 BP |
4831 | return _resultobj; |
4832 | } | |
4833 | ||
fe47ec10 RD |
4834 | #define wxStyledTextCtrl_CanUndo(_swigobj) (_swigobj->CanUndo()) |
4835 | static PyObject *_wrap_wxStyledTextCtrl_CanUndo(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 | 4836 | PyObject * _resultobj; |
fe47ec10 | 4837 | bool _result; |
f6bcfd97 | 4838 | wxStyledTextCtrl * _arg0; |
f6bcfd97 | 4839 | PyObject * _argo0 = 0; |
fe47ec10 | 4840 | char *_kwnames[] = { "self", NULL }; |
f6bcfd97 BP |
4841 | |
4842 | self = self; | |
fe47ec10 | 4843 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_CanUndo",_kwnames,&_argo0)) |
f6bcfd97 BP |
4844 | return NULL; |
4845 | if (_argo0) { | |
4846 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4847 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 4848 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_CanUndo. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
4849 | return NULL; |
4850 | } | |
4851 | } | |
f6bcfd97 BP |
4852 | { |
4853 | wxPy_BEGIN_ALLOW_THREADS; | |
fe47ec10 | 4854 | _result = (bool )wxStyledTextCtrl_CanUndo(_arg0); |
f6bcfd97 BP |
4855 | |
4856 | wxPy_END_ALLOW_THREADS; | |
fe47ec10 | 4857 | } _resultobj = Py_BuildValue("i",_result); |
f6bcfd97 BP |
4858 | return _resultobj; |
4859 | } | |
4860 | ||
fe47ec10 RD |
4861 | #define wxStyledTextCtrl_EmptyUndoBuffer(_swigobj) (_swigobj->EmptyUndoBuffer()) |
4862 | static PyObject *_wrap_wxStyledTextCtrl_EmptyUndoBuffer(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 BP |
4863 | PyObject * _resultobj; |
4864 | wxStyledTextCtrl * _arg0; | |
f6bcfd97 | 4865 | PyObject * _argo0 = 0; |
fe47ec10 | 4866 | char *_kwnames[] = { "self", NULL }; |
f6bcfd97 BP |
4867 | |
4868 | self = self; | |
fe47ec10 | 4869 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_EmptyUndoBuffer",_kwnames,&_argo0)) |
f6bcfd97 BP |
4870 | return NULL; |
4871 | if (_argo0) { | |
4872 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4873 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 4874 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_EmptyUndoBuffer. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
4875 | return NULL; |
4876 | } | |
4877 | } | |
f6bcfd97 BP |
4878 | { |
4879 | wxPy_BEGIN_ALLOW_THREADS; | |
fe47ec10 | 4880 | wxStyledTextCtrl_EmptyUndoBuffer(_arg0); |
f6bcfd97 BP |
4881 | |
4882 | wxPy_END_ALLOW_THREADS; | |
4883 | } Py_INCREF(Py_None); | |
4884 | _resultobj = Py_None; | |
f6bcfd97 BP |
4885 | return _resultobj; |
4886 | } | |
4887 | ||
fe47ec10 RD |
4888 | #define wxStyledTextCtrl_Undo(_swigobj) (_swigobj->Undo()) |
4889 | static PyObject *_wrap_wxStyledTextCtrl_Undo(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 BP |
4890 | PyObject * _resultobj; |
4891 | wxStyledTextCtrl * _arg0; | |
4892 | PyObject * _argo0 = 0; | |
4893 | char *_kwnames[] = { "self", NULL }; | |
4894 | ||
4895 | self = self; | |
fe47ec10 | 4896 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_Undo",_kwnames,&_argo0)) |
f6bcfd97 BP |
4897 | return NULL; |
4898 | if (_argo0) { | |
4899 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4900 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 4901 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_Undo. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
4902 | return NULL; |
4903 | } | |
4904 | } | |
4905 | { | |
4906 | wxPy_BEGIN_ALLOW_THREADS; | |
fe47ec10 | 4907 | wxStyledTextCtrl_Undo(_arg0); |
f6bcfd97 BP |
4908 | |
4909 | wxPy_END_ALLOW_THREADS; | |
4910 | } Py_INCREF(Py_None); | |
4911 | _resultobj = Py_None; | |
4912 | return _resultobj; | |
4913 | } | |
4914 | ||
fe47ec10 RD |
4915 | #define wxStyledTextCtrl_Cut(_swigobj) (_swigobj->Cut()) |
4916 | static PyObject *_wrap_wxStyledTextCtrl_Cut(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 | 4917 | PyObject * _resultobj; |
f6bcfd97 BP |
4918 | wxStyledTextCtrl * _arg0; |
4919 | PyObject * _argo0 = 0; | |
4920 | char *_kwnames[] = { "self", NULL }; | |
4921 | ||
4922 | self = self; | |
fe47ec10 | 4923 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_Cut",_kwnames,&_argo0)) |
f6bcfd97 BP |
4924 | return NULL; |
4925 | if (_argo0) { | |
4926 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4927 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 4928 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_Cut. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
4929 | return NULL; |
4930 | } | |
4931 | } | |
4932 | { | |
4933 | wxPy_BEGIN_ALLOW_THREADS; | |
fe47ec10 | 4934 | wxStyledTextCtrl_Cut(_arg0); |
f6bcfd97 BP |
4935 | |
4936 | wxPy_END_ALLOW_THREADS; | |
fe47ec10 RD |
4937 | } Py_INCREF(Py_None); |
4938 | _resultobj = Py_None; | |
f6bcfd97 BP |
4939 | return _resultobj; |
4940 | } | |
4941 | ||
fe47ec10 RD |
4942 | #define wxStyledTextCtrl_Copy(_swigobj) (_swigobj->Copy()) |
4943 | static PyObject *_wrap_wxStyledTextCtrl_Copy(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 | 4944 | PyObject * _resultobj; |
f6bcfd97 BP |
4945 | wxStyledTextCtrl * _arg0; |
4946 | PyObject * _argo0 = 0; | |
4947 | char *_kwnames[] = { "self", NULL }; | |
4948 | ||
4949 | self = self; | |
fe47ec10 | 4950 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_Copy",_kwnames,&_argo0)) |
f6bcfd97 BP |
4951 | return NULL; |
4952 | if (_argo0) { | |
4953 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4954 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 4955 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_Copy. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
4956 | return NULL; |
4957 | } | |
4958 | } | |
4959 | { | |
4960 | wxPy_BEGIN_ALLOW_THREADS; | |
fe47ec10 | 4961 | wxStyledTextCtrl_Copy(_arg0); |
f6bcfd97 BP |
4962 | |
4963 | wxPy_END_ALLOW_THREADS; | |
fe47ec10 RD |
4964 | } Py_INCREF(Py_None); |
4965 | _resultobj = Py_None; | |
f6bcfd97 BP |
4966 | return _resultobj; |
4967 | } | |
4968 | ||
fe47ec10 RD |
4969 | #define wxStyledTextCtrl_Paste(_swigobj) (_swigobj->Paste()) |
4970 | static PyObject *_wrap_wxStyledTextCtrl_Paste(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 BP |
4971 | PyObject * _resultobj; |
4972 | wxStyledTextCtrl * _arg0; | |
f6bcfd97 | 4973 | PyObject * _argo0 = 0; |
fe47ec10 | 4974 | char *_kwnames[] = { "self", NULL }; |
f6bcfd97 BP |
4975 | |
4976 | self = self; | |
fe47ec10 | 4977 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_Paste",_kwnames,&_argo0)) |
f6bcfd97 BP |
4978 | return NULL; |
4979 | if (_argo0) { | |
4980 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4981 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 4982 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_Paste. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
4983 | return NULL; |
4984 | } | |
4985 | } | |
4986 | { | |
4987 | wxPy_BEGIN_ALLOW_THREADS; | |
fe47ec10 | 4988 | wxStyledTextCtrl_Paste(_arg0); |
f6bcfd97 BP |
4989 | |
4990 | wxPy_END_ALLOW_THREADS; | |
4991 | } Py_INCREF(Py_None); | |
4992 | _resultobj = Py_None; | |
4993 | return _resultobj; | |
4994 | } | |
4995 | ||
fe47ec10 RD |
4996 | #define wxStyledTextCtrl_Clear(_swigobj) (_swigobj->Clear()) |
4997 | static PyObject *_wrap_wxStyledTextCtrl_Clear(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 BP |
4998 | PyObject * _resultobj; |
4999 | wxStyledTextCtrl * _arg0; | |
f6bcfd97 | 5000 | PyObject * _argo0 = 0; |
fe47ec10 | 5001 | char *_kwnames[] = { "self", NULL }; |
f6bcfd97 BP |
5002 | |
5003 | self = self; | |
fe47ec10 | 5004 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_Clear",_kwnames,&_argo0)) |
f6bcfd97 BP |
5005 | return NULL; |
5006 | if (_argo0) { | |
5007 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5008 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 5009 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_Clear. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
5010 | return NULL; |
5011 | } | |
5012 | } | |
f6bcfd97 BP |
5013 | { |
5014 | wxPy_BEGIN_ALLOW_THREADS; | |
fe47ec10 | 5015 | wxStyledTextCtrl_Clear(_arg0); |
f6bcfd97 BP |
5016 | |
5017 | wxPy_END_ALLOW_THREADS; | |
5018 | } Py_INCREF(Py_None); | |
5019 | _resultobj = Py_None; | |
5020 | return _resultobj; | |
5021 | } | |
5022 | ||
fe47ec10 RD |
5023 | #define wxStyledTextCtrl_SetText(_swigobj,_swigarg0) (_swigobj->SetText(_swigarg0)) |
5024 | static PyObject *_wrap_wxStyledTextCtrl_SetText(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 BP |
5025 | PyObject * _resultobj; |
5026 | wxStyledTextCtrl * _arg0; | |
fe47ec10 | 5027 | wxString * _arg1; |
f6bcfd97 | 5028 | PyObject * _argo0 = 0; |
fe47ec10 RD |
5029 | PyObject * _obj1 = 0; |
5030 | char *_kwnames[] = { "self","text", NULL }; | |
f6bcfd97 BP |
5031 | |
5032 | self = self; | |
fe47ec10 | 5033 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxStyledTextCtrl_SetText",_kwnames,&_argo0,&_obj1)) |
f6bcfd97 BP |
5034 | return NULL; |
5035 | if (_argo0) { | |
5036 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5037 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 5038 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetText. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
5039 | return NULL; |
5040 | } | |
5041 | } | |
fe47ec10 | 5042 | { |
185d7c3e RD |
5043 | #if PYTHON_API_VERSION >= 1009 |
5044 | char* tmpPtr; int tmpSize; | |
5045 | if (!PyString_Check(_obj1) && !PyUnicode_Check(_obj1)) { | |
7a446686 | 5046 | PyErr_SetString(PyExc_TypeError, wxStringErrorMsg); |
185d7c3e RD |
5047 | return NULL; |
5048 | } | |
5049 | if (PyString_AsStringAndSize(_obj1, &tmpPtr, &tmpSize) == -1) | |
5050 | return NULL; | |
5051 | _arg1 = new wxString(tmpPtr, tmpSize); | |
5052 | #else | |
fe47ec10 RD |
5053 | if (!PyString_Check(_obj1)) { |
5054 | PyErr_SetString(PyExc_TypeError, wxStringErrorMsg); | |
5055 | return NULL; | |
5056 | } | |
185d7c3e RD |
5057 | _arg1 = new wxString(PyString_AS_STRING(_obj1), PyString_GET_SIZE(_obj1)); |
5058 | #endif | |
fe47ec10 | 5059 | } |
f6bcfd97 BP |
5060 | { |
5061 | wxPy_BEGIN_ALLOW_THREADS; | |
fe47ec10 | 5062 | wxStyledTextCtrl_SetText(_arg0,*_arg1); |
f6bcfd97 BP |
5063 | |
5064 | wxPy_END_ALLOW_THREADS; | |
5065 | } Py_INCREF(Py_None); | |
5066 | _resultobj = Py_None; | |
fe47ec10 RD |
5067 | { |
5068 | if (_obj1) | |
5069 | delete _arg1; | |
5070 | } | |
f6bcfd97 BP |
5071 | return _resultobj; |
5072 | } | |
5073 | ||
fe47ec10 RD |
5074 | #define wxStyledTextCtrl_GetText(_swigobj) (_swigobj->GetText()) |
5075 | static PyObject *_wrap_wxStyledTextCtrl_GetText(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 | 5076 | PyObject * _resultobj; |
fe47ec10 | 5077 | wxString * _result; |
f6bcfd97 | 5078 | wxStyledTextCtrl * _arg0; |
f6bcfd97 | 5079 | PyObject * _argo0 = 0; |
fe47ec10 | 5080 | char *_kwnames[] = { "self", NULL }; |
f6bcfd97 BP |
5081 | |
5082 | self = self; | |
fe47ec10 | 5083 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetText",_kwnames,&_argo0)) |
f6bcfd97 BP |
5084 | return NULL; |
5085 | if (_argo0) { | |
5086 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5087 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 5088 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetText. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
5089 | return NULL; |
5090 | } | |
5091 | } | |
5092 | { | |
5093 | wxPy_BEGIN_ALLOW_THREADS; | |
fe47ec10 | 5094 | _result = new wxString (wxStyledTextCtrl_GetText(_arg0)); |
f6bcfd97 BP |
5095 | |
5096 | wxPy_END_ALLOW_THREADS; | |
fe47ec10 RD |
5097 | }{ |
5098 | _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len()); | |
5099 | } | |
5100 | { | |
5101 | delete _result; | |
5102 | } | |
f6bcfd97 BP |
5103 | return _resultobj; |
5104 | } | |
5105 | ||
fe47ec10 RD |
5106 | #define wxStyledTextCtrl_GetTextLength(_swigobj) (_swigobj->GetTextLength()) |
5107 | static PyObject *_wrap_wxStyledTextCtrl_GetTextLength(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 | 5108 | PyObject * _resultobj; |
fe47ec10 | 5109 | int _result; |
f6bcfd97 BP |
5110 | wxStyledTextCtrl * _arg0; |
5111 | PyObject * _argo0 = 0; | |
5112 | char *_kwnames[] = { "self", NULL }; | |
5113 | ||
5114 | self = self; | |
fe47ec10 | 5115 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetTextLength",_kwnames,&_argo0)) |
f6bcfd97 BP |
5116 | return NULL; |
5117 | if (_argo0) { | |
5118 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5119 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 5120 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetTextLength. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
5121 | return NULL; |
5122 | } | |
5123 | } | |
5124 | { | |
5125 | wxPy_BEGIN_ALLOW_THREADS; | |
fe47ec10 | 5126 | _result = (int )wxStyledTextCtrl_GetTextLength(_arg0); |
f6bcfd97 BP |
5127 | |
5128 | wxPy_END_ALLOW_THREADS; | |
fe47ec10 | 5129 | } _resultobj = Py_BuildValue("i",_result); |
f6bcfd97 BP |
5130 | return _resultobj; |
5131 | } | |
5132 | ||
fe47ec10 RD |
5133 | #define wxStyledTextCtrl_SetOvertype(_swigobj,_swigarg0) (_swigobj->SetOvertype(_swigarg0)) |
5134 | static PyObject *_wrap_wxStyledTextCtrl_SetOvertype(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 BP |
5135 | PyObject * _resultobj; |
5136 | wxStyledTextCtrl * _arg0; | |
fe47ec10 | 5137 | bool _arg1; |
f6bcfd97 | 5138 | PyObject * _argo0 = 0; |
fe47ec10 RD |
5139 | int tempbool1; |
5140 | char *_kwnames[] = { "self","overtype", NULL }; | |
f6bcfd97 BP |
5141 | |
5142 | self = self; | |
fe47ec10 | 5143 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_SetOvertype",_kwnames,&_argo0,&tempbool1)) |
f6bcfd97 BP |
5144 | return NULL; |
5145 | if (_argo0) { | |
5146 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5147 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 5148 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetOvertype. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
5149 | return NULL; |
5150 | } | |
5151 | } | |
fe47ec10 | 5152 | _arg1 = (bool ) tempbool1; |
f6bcfd97 BP |
5153 | { |
5154 | wxPy_BEGIN_ALLOW_THREADS; | |
fe47ec10 | 5155 | wxStyledTextCtrl_SetOvertype(_arg0,_arg1); |
f6bcfd97 BP |
5156 | |
5157 | wxPy_END_ALLOW_THREADS; | |
5158 | } Py_INCREF(Py_None); | |
5159 | _resultobj = Py_None; | |
5160 | return _resultobj; | |
5161 | } | |
5162 | ||
fe47ec10 RD |
5163 | #define wxStyledTextCtrl_GetOvertype(_swigobj) (_swigobj->GetOvertype()) |
5164 | static PyObject *_wrap_wxStyledTextCtrl_GetOvertype(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 | 5165 | PyObject * _resultobj; |
fe47ec10 | 5166 | bool _result; |
f6bcfd97 | 5167 | wxStyledTextCtrl * _arg0; |
f6bcfd97 | 5168 | PyObject * _argo0 = 0; |
fe47ec10 | 5169 | char *_kwnames[] = { "self", NULL }; |
f6bcfd97 BP |
5170 | |
5171 | self = self; | |
fe47ec10 | 5172 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetOvertype",_kwnames,&_argo0)) |
f6bcfd97 BP |
5173 | return NULL; |
5174 | if (_argo0) { | |
5175 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5176 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 5177 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetOvertype. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
5178 | return NULL; |
5179 | } | |
5180 | } | |
f6bcfd97 BP |
5181 | { |
5182 | wxPy_BEGIN_ALLOW_THREADS; | |
fe47ec10 | 5183 | _result = (bool )wxStyledTextCtrl_GetOvertype(_arg0); |
f6bcfd97 BP |
5184 | |
5185 | wxPy_END_ALLOW_THREADS; | |
5186 | } _resultobj = Py_BuildValue("i",_result); | |
5187 | return _resultobj; | |
5188 | } | |
5189 | ||
fe47ec10 RD |
5190 | #define wxStyledTextCtrl_CallTipShow(_swigobj,_swigarg0,_swigarg1) (_swigobj->CallTipShow(_swigarg0,_swigarg1)) |
5191 | static PyObject *_wrap_wxStyledTextCtrl_CallTipShow(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 | 5192 | PyObject * _resultobj; |
f6bcfd97 | 5193 | wxStyledTextCtrl * _arg0; |
fe47ec10 RD |
5194 | int _arg1; |
5195 | wxString * _arg2; | |
f6bcfd97 | 5196 | PyObject * _argo0 = 0; |
fe47ec10 RD |
5197 | PyObject * _obj2 = 0; |
5198 | char *_kwnames[] = { "self","pos","definition", NULL }; | |
f6bcfd97 BP |
5199 | |
5200 | self = self; | |
fe47ec10 | 5201 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxStyledTextCtrl_CallTipShow",_kwnames,&_argo0,&_arg1,&_obj2)) |
f6bcfd97 BP |
5202 | return NULL; |
5203 | if (_argo0) { | |
5204 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5205 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 5206 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_CallTipShow. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
5207 | return NULL; |
5208 | } | |
5209 | } | |
fe47ec10 | 5210 | { |
185d7c3e RD |
5211 | #if PYTHON_API_VERSION >= 1009 |
5212 | char* tmpPtr; int tmpSize; | |
5213 | if (!PyString_Check(_obj2) && !PyUnicode_Check(_obj2)) { | |
7a446686 | 5214 | PyErr_SetString(PyExc_TypeError, wxStringErrorMsg); |
185d7c3e RD |
5215 | return NULL; |
5216 | } | |
5217 | if (PyString_AsStringAndSize(_obj2, &tmpPtr, &tmpSize) == -1) | |
5218 | return NULL; | |
5219 | _arg2 = new wxString(tmpPtr, tmpSize); | |
5220 | #else | |
fe47ec10 RD |
5221 | if (!PyString_Check(_obj2)) { |
5222 | PyErr_SetString(PyExc_TypeError, wxStringErrorMsg); | |
5223 | return NULL; | |
5224 | } | |
185d7c3e RD |
5225 | _arg2 = new wxString(PyString_AS_STRING(_obj2), PyString_GET_SIZE(_obj2)); |
5226 | #endif | |
fe47ec10 | 5227 | } |
f6bcfd97 BP |
5228 | { |
5229 | wxPy_BEGIN_ALLOW_THREADS; | |
fe47ec10 | 5230 | wxStyledTextCtrl_CallTipShow(_arg0,_arg1,*_arg2); |
f6bcfd97 BP |
5231 | |
5232 | wxPy_END_ALLOW_THREADS; | |
fe47ec10 RD |
5233 | } Py_INCREF(Py_None); |
5234 | _resultobj = Py_None; | |
5235 | { | |
5236 | if (_obj2) | |
5237 | delete _arg2; | |
5238 | } | |
f6bcfd97 BP |
5239 | return _resultobj; |
5240 | } | |
5241 | ||
fe47ec10 RD |
5242 | #define wxStyledTextCtrl_CallTipCancel(_swigobj) (_swigobj->CallTipCancel()) |
5243 | static PyObject *_wrap_wxStyledTextCtrl_CallTipCancel(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 BP |
5244 | PyObject * _resultobj; |
5245 | wxStyledTextCtrl * _arg0; | |
f6bcfd97 | 5246 | PyObject * _argo0 = 0; |
fe47ec10 | 5247 | char *_kwnames[] = { "self", NULL }; |
f6bcfd97 BP |
5248 | |
5249 | self = self; | |
fe47ec10 | 5250 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_CallTipCancel",_kwnames,&_argo0)) |
f6bcfd97 BP |
5251 | return NULL; |
5252 | if (_argo0) { | |
5253 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5254 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 5255 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_CallTipCancel. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
5256 | return NULL; |
5257 | } | |
5258 | } | |
5259 | { | |
5260 | wxPy_BEGIN_ALLOW_THREADS; | |
fe47ec10 | 5261 | wxStyledTextCtrl_CallTipCancel(_arg0); |
f6bcfd97 BP |
5262 | |
5263 | wxPy_END_ALLOW_THREADS; | |
5264 | } Py_INCREF(Py_None); | |
5265 | _resultobj = Py_None; | |
5266 | return _resultobj; | |
5267 | } | |
5268 | ||
fe47ec10 RD |
5269 | #define wxStyledTextCtrl_CallTipActive(_swigobj) (_swigobj->CallTipActive()) |
5270 | static PyObject *_wrap_wxStyledTextCtrl_CallTipActive(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 | 5271 | PyObject * _resultobj; |
fe47ec10 | 5272 | bool _result; |
f6bcfd97 | 5273 | wxStyledTextCtrl * _arg0; |
f6bcfd97 | 5274 | PyObject * _argo0 = 0; |
fe47ec10 | 5275 | char *_kwnames[] = { "self", NULL }; |
f6bcfd97 BP |
5276 | |
5277 | self = self; | |
fe47ec10 | 5278 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_CallTipActive",_kwnames,&_argo0)) |
f6bcfd97 BP |
5279 | return NULL; |
5280 | if (_argo0) { | |
5281 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5282 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 5283 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_CallTipActive. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
5284 | return NULL; |
5285 | } | |
5286 | } | |
5287 | { | |
5288 | wxPy_BEGIN_ALLOW_THREADS; | |
fe47ec10 | 5289 | _result = (bool )wxStyledTextCtrl_CallTipActive(_arg0); |
f6bcfd97 BP |
5290 | |
5291 | wxPy_END_ALLOW_THREADS; | |
5292 | } _resultobj = Py_BuildValue("i",_result); | |
5293 | return _resultobj; | |
5294 | } | |
5295 | ||
fe47ec10 RD |
5296 | #define wxStyledTextCtrl_CallTipPosAtStart(_swigobj) (_swigobj->CallTipPosAtStart()) |
5297 | static PyObject *_wrap_wxStyledTextCtrl_CallTipPosAtStart(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 BP |
5298 | PyObject * _resultobj; |
5299 | int _result; | |
5300 | wxStyledTextCtrl * _arg0; | |
f6bcfd97 | 5301 | PyObject * _argo0 = 0; |
fe47ec10 | 5302 | char *_kwnames[] = { "self", NULL }; |
f6bcfd97 BP |
5303 | |
5304 | self = self; | |
fe47ec10 | 5305 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_CallTipPosAtStart",_kwnames,&_argo0)) |
f6bcfd97 BP |
5306 | return NULL; |
5307 | if (_argo0) { | |
5308 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5309 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 5310 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_CallTipPosAtStart. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
5311 | return NULL; |
5312 | } | |
5313 | } | |
5314 | { | |
5315 | wxPy_BEGIN_ALLOW_THREADS; | |
fe47ec10 | 5316 | _result = (int )wxStyledTextCtrl_CallTipPosAtStart(_arg0); |
f6bcfd97 BP |
5317 | |
5318 | wxPy_END_ALLOW_THREADS; | |
5319 | } _resultobj = Py_BuildValue("i",_result); | |
5320 | return _resultobj; | |
5321 | } | |
5322 | ||
fe47ec10 RD |
5323 | #define wxStyledTextCtrl_CallTipSetHighlight(_swigobj,_swigarg0,_swigarg1) (_swigobj->CallTipSetHighlight(_swigarg0,_swigarg1)) |
5324 | static PyObject *_wrap_wxStyledTextCtrl_CallTipSetHighlight(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5325 | PyObject * _resultobj; | |
5326 | wxStyledTextCtrl * _arg0; | |
5327 | int _arg1; | |
5328 | int _arg2; | |
5329 | PyObject * _argo0 = 0; | |
5330 | char *_kwnames[] = { "self","start","end", NULL }; | |
5331 | ||
5332 | self = self; | |
5333 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxStyledTextCtrl_CallTipSetHighlight",_kwnames,&_argo0,&_arg1,&_arg2)) | |
5334 | return NULL; | |
5335 | if (_argo0) { | |
5336 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5337 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
5338 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_CallTipSetHighlight. Expected _wxStyledTextCtrl_p."); | |
5339 | return NULL; | |
5340 | } | |
5341 | } | |
5342 | { | |
5343 | wxPy_BEGIN_ALLOW_THREADS; | |
5344 | wxStyledTextCtrl_CallTipSetHighlight(_arg0,_arg1,_arg2); | |
5345 | ||
5346 | wxPy_END_ALLOW_THREADS; | |
5347 | } Py_INCREF(Py_None); | |
5348 | _resultobj = Py_None; | |
5349 | return _resultobj; | |
5350 | } | |
5351 | ||
5352 | #define wxStyledTextCtrl_CallTipSetBackground(_swigobj,_swigarg0) (_swigobj->CallTipSetBackground(_swigarg0)) | |
5353 | static PyObject *_wrap_wxStyledTextCtrl_CallTipSetBackground(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5354 | PyObject * _resultobj; | |
5355 | wxStyledTextCtrl * _arg0; | |
5356 | wxColour * _arg1; | |
5357 | PyObject * _argo0 = 0; | |
5358 | wxColour temp; | |
5359 | PyObject * _obj1 = 0; | |
5360 | char *_kwnames[] = { "self","back", NULL }; | |
5361 | ||
5362 | self = self; | |
5363 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxStyledTextCtrl_CallTipSetBackground",_kwnames,&_argo0,&_obj1)) | |
5364 | return NULL; | |
5365 | if (_argo0) { | |
5366 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5367 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
5368 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_CallTipSetBackground. Expected _wxStyledTextCtrl_p."); | |
5369 | return NULL; | |
5370 | } | |
5371 | } | |
5372 | { | |
5373 | _arg1 = &temp; | |
5374 | if (! wxColour_helper(_obj1, &_arg1)) | |
5375 | return NULL; | |
5376 | } | |
5377 | { | |
5378 | wxPy_BEGIN_ALLOW_THREADS; | |
5379 | wxStyledTextCtrl_CallTipSetBackground(_arg0,*_arg1); | |
5380 | ||
5381 | wxPy_END_ALLOW_THREADS; | |
5382 | } Py_INCREF(Py_None); | |
5383 | _resultobj = Py_None; | |
5384 | return _resultobj; | |
5385 | } | |
5386 | ||
5387 | #define wxStyledTextCtrl_VisibleFromDocLine(_swigobj,_swigarg0) (_swigobj->VisibleFromDocLine(_swigarg0)) | |
5388 | static PyObject *_wrap_wxStyledTextCtrl_VisibleFromDocLine(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5389 | PyObject * _resultobj; | |
5390 | int _result; | |
5391 | wxStyledTextCtrl * _arg0; | |
5392 | int _arg1; | |
5393 | PyObject * _argo0 = 0; | |
5394 | char *_kwnames[] = { "self","line", NULL }; | |
5395 | ||
5396 | self = self; | |
5397 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_VisibleFromDocLine",_kwnames,&_argo0,&_arg1)) | |
5398 | return NULL; | |
5399 | if (_argo0) { | |
5400 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5401 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
5402 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_VisibleFromDocLine. Expected _wxStyledTextCtrl_p."); | |
5403 | return NULL; | |
5404 | } | |
5405 | } | |
5406 | { | |
5407 | wxPy_BEGIN_ALLOW_THREADS; | |
5408 | _result = (int )wxStyledTextCtrl_VisibleFromDocLine(_arg0,_arg1); | |
5409 | ||
5410 | wxPy_END_ALLOW_THREADS; | |
5411 | } _resultobj = Py_BuildValue("i",_result); | |
5412 | return _resultobj; | |
5413 | } | |
5414 | ||
5415 | #define wxStyledTextCtrl_DocLineFromVisible(_swigobj,_swigarg0) (_swigobj->DocLineFromVisible(_swigarg0)) | |
5416 | static PyObject *_wrap_wxStyledTextCtrl_DocLineFromVisible(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5417 | PyObject * _resultobj; | |
f6bcfd97 BP |
5418 | int _result; |
5419 | wxStyledTextCtrl * _arg0; | |
5420 | int _arg1; | |
fe47ec10 RD |
5421 | PyObject * _argo0 = 0; |
5422 | char *_kwnames[] = { "self","lineDisplay", NULL }; | |
5423 | ||
5424 | self = self; | |
5425 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_DocLineFromVisible",_kwnames,&_argo0,&_arg1)) | |
5426 | return NULL; | |
5427 | if (_argo0) { | |
5428 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5429 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
5430 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_DocLineFromVisible. Expected _wxStyledTextCtrl_p."); | |
5431 | return NULL; | |
5432 | } | |
5433 | } | |
5434 | { | |
5435 | wxPy_BEGIN_ALLOW_THREADS; | |
5436 | _result = (int )wxStyledTextCtrl_DocLineFromVisible(_arg0,_arg1); | |
5437 | ||
5438 | wxPy_END_ALLOW_THREADS; | |
5439 | } _resultobj = Py_BuildValue("i",_result); | |
5440 | return _resultobj; | |
5441 | } | |
5442 | ||
5443 | #define wxStyledTextCtrl_SetFoldLevel(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetFoldLevel(_swigarg0,_swigarg1)) | |
5444 | static PyObject *_wrap_wxStyledTextCtrl_SetFoldLevel(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5445 | PyObject * _resultobj; | |
5446 | wxStyledTextCtrl * _arg0; | |
5447 | int _arg1; | |
f6bcfd97 BP |
5448 | int _arg2; |
5449 | PyObject * _argo0 = 0; | |
5450 | char *_kwnames[] = { "self","line","level", NULL }; | |
5451 | ||
5452 | self = self; | |
5453 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxStyledTextCtrl_SetFoldLevel",_kwnames,&_argo0,&_arg1,&_arg2)) | |
5454 | return NULL; | |
5455 | if (_argo0) { | |
5456 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5457 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
5458 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetFoldLevel. Expected _wxStyledTextCtrl_p."); | |
5459 | return NULL; | |
5460 | } | |
5461 | } | |
5462 | { | |
5463 | wxPy_BEGIN_ALLOW_THREADS; | |
fe47ec10 | 5464 | wxStyledTextCtrl_SetFoldLevel(_arg0,_arg1,_arg2); |
f6bcfd97 BP |
5465 | |
5466 | wxPy_END_ALLOW_THREADS; | |
fe47ec10 RD |
5467 | } Py_INCREF(Py_None); |
5468 | _resultobj = Py_None; | |
f6bcfd97 BP |
5469 | return _resultobj; |
5470 | } | |
5471 | ||
5472 | #define wxStyledTextCtrl_GetFoldLevel(_swigobj,_swigarg0) (_swigobj->GetFoldLevel(_swigarg0)) | |
5473 | static PyObject *_wrap_wxStyledTextCtrl_GetFoldLevel(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5474 | PyObject * _resultobj; | |
5475 | int _result; | |
5476 | wxStyledTextCtrl * _arg0; | |
5477 | int _arg1; | |
5478 | PyObject * _argo0 = 0; | |
5479 | char *_kwnames[] = { "self","line", NULL }; | |
5480 | ||
5481 | self = self; | |
5482 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_GetFoldLevel",_kwnames,&_argo0,&_arg1)) | |
5483 | return NULL; | |
5484 | if (_argo0) { | |
5485 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5486 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
5487 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetFoldLevel. Expected _wxStyledTextCtrl_p."); | |
5488 | return NULL; | |
5489 | } | |
5490 | } | |
5491 | { | |
5492 | wxPy_BEGIN_ALLOW_THREADS; | |
5493 | _result = (int )wxStyledTextCtrl_GetFoldLevel(_arg0,_arg1); | |
5494 | ||
5495 | wxPy_END_ALLOW_THREADS; | |
5496 | } _resultobj = Py_BuildValue("i",_result); | |
5497 | return _resultobj; | |
5498 | } | |
5499 | ||
5500 | #define wxStyledTextCtrl_GetLastChild(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetLastChild(_swigarg0,_swigarg1)) | |
5501 | static PyObject *_wrap_wxStyledTextCtrl_GetLastChild(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5502 | PyObject * _resultobj; | |
5503 | int _result; | |
5504 | wxStyledTextCtrl * _arg0; | |
5505 | int _arg1; | |
5506 | int _arg2; | |
5507 | PyObject * _argo0 = 0; | |
5508 | char *_kwnames[] = { "self","line","level", NULL }; | |
5509 | ||
5510 | self = self; | |
5511 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxStyledTextCtrl_GetLastChild",_kwnames,&_argo0,&_arg1,&_arg2)) | |
5512 | return NULL; | |
5513 | if (_argo0) { | |
5514 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5515 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
5516 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetLastChild. Expected _wxStyledTextCtrl_p."); | |
5517 | return NULL; | |
5518 | } | |
5519 | } | |
5520 | { | |
5521 | wxPy_BEGIN_ALLOW_THREADS; | |
5522 | _result = (int )wxStyledTextCtrl_GetLastChild(_arg0,_arg1,_arg2); | |
5523 | ||
5524 | wxPy_END_ALLOW_THREADS; | |
5525 | } _resultobj = Py_BuildValue("i",_result); | |
5526 | return _resultobj; | |
5527 | } | |
5528 | ||
5529 | #define wxStyledTextCtrl_GetFoldParent(_swigobj,_swigarg0) (_swigobj->GetFoldParent(_swigarg0)) | |
5530 | static PyObject *_wrap_wxStyledTextCtrl_GetFoldParent(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5531 | PyObject * _resultobj; | |
5532 | int _result; | |
5533 | wxStyledTextCtrl * _arg0; | |
5534 | int _arg1; | |
5535 | PyObject * _argo0 = 0; | |
5536 | char *_kwnames[] = { "self","line", NULL }; | |
5537 | ||
5538 | self = self; | |
5539 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_GetFoldParent",_kwnames,&_argo0,&_arg1)) | |
5540 | return NULL; | |
5541 | if (_argo0) { | |
5542 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5543 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
5544 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetFoldParent. Expected _wxStyledTextCtrl_p."); | |
5545 | return NULL; | |
5546 | } | |
5547 | } | |
5548 | { | |
5549 | wxPy_BEGIN_ALLOW_THREADS; | |
5550 | _result = (int )wxStyledTextCtrl_GetFoldParent(_arg0,_arg1); | |
5551 | ||
5552 | wxPy_END_ALLOW_THREADS; | |
5553 | } _resultobj = Py_BuildValue("i",_result); | |
5554 | return _resultobj; | |
5555 | } | |
5556 | ||
5557 | #define wxStyledTextCtrl_ShowLines(_swigobj,_swigarg0,_swigarg1) (_swigobj->ShowLines(_swigarg0,_swigarg1)) | |
5558 | static PyObject *_wrap_wxStyledTextCtrl_ShowLines(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5559 | PyObject * _resultobj; | |
5560 | wxStyledTextCtrl * _arg0; | |
5561 | int _arg1; | |
5562 | int _arg2; | |
5563 | PyObject * _argo0 = 0; | |
5564 | char *_kwnames[] = { "self","lineStart","lineEnd", NULL }; | |
5565 | ||
5566 | self = self; | |
5567 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxStyledTextCtrl_ShowLines",_kwnames,&_argo0,&_arg1,&_arg2)) | |
5568 | return NULL; | |
5569 | if (_argo0) { | |
5570 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5571 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
5572 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_ShowLines. Expected _wxStyledTextCtrl_p."); | |
5573 | return NULL; | |
5574 | } | |
5575 | } | |
5576 | { | |
5577 | wxPy_BEGIN_ALLOW_THREADS; | |
5578 | wxStyledTextCtrl_ShowLines(_arg0,_arg1,_arg2); | |
5579 | ||
5580 | wxPy_END_ALLOW_THREADS; | |
5581 | } Py_INCREF(Py_None); | |
5582 | _resultobj = Py_None; | |
5583 | return _resultobj; | |
5584 | } | |
5585 | ||
5586 | #define wxStyledTextCtrl_HideLines(_swigobj,_swigarg0,_swigarg1) (_swigobj->HideLines(_swigarg0,_swigarg1)) | |
5587 | static PyObject *_wrap_wxStyledTextCtrl_HideLines(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5588 | PyObject * _resultobj; | |
5589 | wxStyledTextCtrl * _arg0; | |
5590 | int _arg1; | |
5591 | int _arg2; | |
5592 | PyObject * _argo0 = 0; | |
5593 | char *_kwnames[] = { "self","lineStart","lineEnd", NULL }; | |
5594 | ||
5595 | self = self; | |
5596 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxStyledTextCtrl_HideLines",_kwnames,&_argo0,&_arg1,&_arg2)) | |
5597 | return NULL; | |
5598 | if (_argo0) { | |
5599 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5600 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
5601 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_HideLines. Expected _wxStyledTextCtrl_p."); | |
5602 | return NULL; | |
5603 | } | |
5604 | } | |
5605 | { | |
5606 | wxPy_BEGIN_ALLOW_THREADS; | |
5607 | wxStyledTextCtrl_HideLines(_arg0,_arg1,_arg2); | |
5608 | ||
5609 | wxPy_END_ALLOW_THREADS; | |
5610 | } Py_INCREF(Py_None); | |
5611 | _resultobj = Py_None; | |
5612 | return _resultobj; | |
5613 | } | |
5614 | ||
5615 | #define wxStyledTextCtrl_GetLineVisible(_swigobj,_swigarg0) (_swigobj->GetLineVisible(_swigarg0)) | |
5616 | static PyObject *_wrap_wxStyledTextCtrl_GetLineVisible(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5617 | PyObject * _resultobj; | |
5618 | bool _result; | |
5619 | wxStyledTextCtrl * _arg0; | |
5620 | int _arg1; | |
5621 | PyObject * _argo0 = 0; | |
5622 | char *_kwnames[] = { "self","line", NULL }; | |
5623 | ||
5624 | self = self; | |
5625 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_GetLineVisible",_kwnames,&_argo0,&_arg1)) | |
5626 | return NULL; | |
5627 | if (_argo0) { | |
5628 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5629 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
5630 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetLineVisible. Expected _wxStyledTextCtrl_p."); | |
5631 | return NULL; | |
5632 | } | |
5633 | } | |
5634 | { | |
5635 | wxPy_BEGIN_ALLOW_THREADS; | |
5636 | _result = (bool )wxStyledTextCtrl_GetLineVisible(_arg0,_arg1); | |
5637 | ||
5638 | wxPy_END_ALLOW_THREADS; | |
5639 | } _resultobj = Py_BuildValue("i",_result); | |
5640 | return _resultobj; | |
5641 | } | |
5642 | ||
5643 | #define wxStyledTextCtrl_SetFoldExpanded(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetFoldExpanded(_swigarg0,_swigarg1)) | |
5644 | static PyObject *_wrap_wxStyledTextCtrl_SetFoldExpanded(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5645 | PyObject * _resultobj; | |
5646 | wxStyledTextCtrl * _arg0; | |
5647 | int _arg1; | |
5648 | bool _arg2; | |
5649 | PyObject * _argo0 = 0; | |
5650 | int tempbool2; | |
5651 | char *_kwnames[] = { "self","line","expanded", NULL }; | |
5652 | ||
5653 | self = self; | |
5654 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxStyledTextCtrl_SetFoldExpanded",_kwnames,&_argo0,&_arg1,&tempbool2)) | |
5655 | return NULL; | |
5656 | if (_argo0) { | |
5657 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5658 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
5659 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetFoldExpanded. Expected _wxStyledTextCtrl_p."); | |
5660 | return NULL; | |
5661 | } | |
5662 | } | |
5663 | _arg2 = (bool ) tempbool2; | |
5664 | { | |
5665 | wxPy_BEGIN_ALLOW_THREADS; | |
5666 | wxStyledTextCtrl_SetFoldExpanded(_arg0,_arg1,_arg2); | |
5667 | ||
5668 | wxPy_END_ALLOW_THREADS; | |
5669 | } Py_INCREF(Py_None); | |
5670 | _resultobj = Py_None; | |
5671 | return _resultobj; | |
5672 | } | |
5673 | ||
5674 | #define wxStyledTextCtrl_GetFoldExpanded(_swigobj,_swigarg0) (_swigobj->GetFoldExpanded(_swigarg0)) | |
5675 | static PyObject *_wrap_wxStyledTextCtrl_GetFoldExpanded(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5676 | PyObject * _resultobj; | |
5677 | bool _result; | |
5678 | wxStyledTextCtrl * _arg0; | |
5679 | int _arg1; | |
5680 | PyObject * _argo0 = 0; | |
5681 | char *_kwnames[] = { "self","line", NULL }; | |
5682 | ||
5683 | self = self; | |
5684 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_GetFoldExpanded",_kwnames,&_argo0,&_arg1)) | |
5685 | return NULL; | |
5686 | if (_argo0) { | |
5687 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5688 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
5689 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetFoldExpanded. Expected _wxStyledTextCtrl_p."); | |
5690 | return NULL; | |
5691 | } | |
5692 | } | |
5693 | { | |
5694 | wxPy_BEGIN_ALLOW_THREADS; | |
5695 | _result = (bool )wxStyledTextCtrl_GetFoldExpanded(_arg0,_arg1); | |
5696 | ||
5697 | wxPy_END_ALLOW_THREADS; | |
5698 | } _resultobj = Py_BuildValue("i",_result); | |
5699 | return _resultobj; | |
5700 | } | |
5701 | ||
5702 | #define wxStyledTextCtrl_ToggleFold(_swigobj,_swigarg0) (_swigobj->ToggleFold(_swigarg0)) | |
5703 | static PyObject *_wrap_wxStyledTextCtrl_ToggleFold(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5704 | PyObject * _resultobj; | |
5705 | wxStyledTextCtrl * _arg0; | |
5706 | int _arg1; | |
5707 | PyObject * _argo0 = 0; | |
5708 | char *_kwnames[] = { "self","line", NULL }; | |
5709 | ||
5710 | self = self; | |
5711 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_ToggleFold",_kwnames,&_argo0,&_arg1)) | |
5712 | return NULL; | |
5713 | if (_argo0) { | |
5714 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5715 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
5716 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_ToggleFold. Expected _wxStyledTextCtrl_p."); | |
5717 | return NULL; | |
5718 | } | |
5719 | } | |
5720 | { | |
5721 | wxPy_BEGIN_ALLOW_THREADS; | |
5722 | wxStyledTextCtrl_ToggleFold(_arg0,_arg1); | |
5723 | ||
5724 | wxPy_END_ALLOW_THREADS; | |
5725 | } Py_INCREF(Py_None); | |
5726 | _resultobj = Py_None; | |
5727 | return _resultobj; | |
5728 | } | |
5729 | ||
5730 | #define wxStyledTextCtrl_EnsureVisible(_swigobj,_swigarg0) (_swigobj->EnsureVisible(_swigarg0)) | |
5731 | static PyObject *_wrap_wxStyledTextCtrl_EnsureVisible(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5732 | PyObject * _resultobj; | |
5733 | wxStyledTextCtrl * _arg0; | |
5734 | int _arg1; | |
5735 | PyObject * _argo0 = 0; | |
5736 | char *_kwnames[] = { "self","line", NULL }; | |
5737 | ||
5738 | self = self; | |
5739 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_EnsureVisible",_kwnames,&_argo0,&_arg1)) | |
5740 | return NULL; | |
5741 | if (_argo0) { | |
5742 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5743 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
5744 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_EnsureVisible. Expected _wxStyledTextCtrl_p."); | |
5745 | return NULL; | |
5746 | } | |
5747 | } | |
5748 | { | |
5749 | wxPy_BEGIN_ALLOW_THREADS; | |
5750 | wxStyledTextCtrl_EnsureVisible(_arg0,_arg1); | |
5751 | ||
5752 | wxPy_END_ALLOW_THREADS; | |
5753 | } Py_INCREF(Py_None); | |
5754 | _resultobj = Py_None; | |
5755 | return _resultobj; | |
5756 | } | |
5757 | ||
5758 | #define wxStyledTextCtrl_SetFoldFlags(_swigobj,_swigarg0) (_swigobj->SetFoldFlags(_swigarg0)) | |
5759 | static PyObject *_wrap_wxStyledTextCtrl_SetFoldFlags(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5760 | PyObject * _resultobj; | |
5761 | wxStyledTextCtrl * _arg0; | |
5762 | int _arg1; | |
5763 | PyObject * _argo0 = 0; | |
5764 | char *_kwnames[] = { "self","flags", NULL }; | |
5765 | ||
5766 | self = self; | |
5767 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_SetFoldFlags",_kwnames,&_argo0,&_arg1)) | |
5768 | return NULL; | |
5769 | if (_argo0) { | |
5770 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5771 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
5772 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetFoldFlags. Expected _wxStyledTextCtrl_p."); | |
5773 | return NULL; | |
5774 | } | |
5775 | } | |
5776 | { | |
5777 | wxPy_BEGIN_ALLOW_THREADS; | |
5778 | wxStyledTextCtrl_SetFoldFlags(_arg0,_arg1); | |
5779 | ||
5780 | wxPy_END_ALLOW_THREADS; | |
5781 | } Py_INCREF(Py_None); | |
5782 | _resultobj = Py_None; | |
5783 | return _resultobj; | |
5784 | } | |
5785 | ||
fe47ec10 RD |
5786 | #define wxStyledTextCtrl_LineLength(_swigobj,_swigarg0) (_swigobj->LineLength(_swigarg0)) |
5787 | static PyObject *_wrap_wxStyledTextCtrl_LineLength(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 | 5788 | PyObject * _resultobj; |
fe47ec10 | 5789 | int _result; |
f6bcfd97 | 5790 | wxStyledTextCtrl * _arg0; |
fe47ec10 | 5791 | int _arg1; |
f6bcfd97 | 5792 | PyObject * _argo0 = 0; |
fe47ec10 | 5793 | char *_kwnames[] = { "self","line", NULL }; |
f6bcfd97 BP |
5794 | |
5795 | self = self; | |
fe47ec10 | 5796 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_LineLength",_kwnames,&_argo0,&_arg1)) |
f6bcfd97 BP |
5797 | return NULL; |
5798 | if (_argo0) { | |
5799 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5800 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 5801 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_LineLength. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
5802 | return NULL; |
5803 | } | |
5804 | } | |
5805 | { | |
5806 | wxPy_BEGIN_ALLOW_THREADS; | |
fe47ec10 | 5807 | _result = (int )wxStyledTextCtrl_LineLength(_arg0,_arg1); |
f6bcfd97 BP |
5808 | |
5809 | wxPy_END_ALLOW_THREADS; | |
fe47ec10 | 5810 | } _resultobj = Py_BuildValue("i",_result); |
f6bcfd97 BP |
5811 | return _resultobj; |
5812 | } | |
5813 | ||
fe47ec10 RD |
5814 | #define wxStyledTextCtrl_BraceHighlight(_swigobj,_swigarg0,_swigarg1) (_swigobj->BraceHighlight(_swigarg0,_swigarg1)) |
5815 | static PyObject *_wrap_wxStyledTextCtrl_BraceHighlight(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 BP |
5816 | PyObject * _resultobj; |
5817 | wxStyledTextCtrl * _arg0; | |
fe47ec10 RD |
5818 | int _arg1; |
5819 | int _arg2; | |
f6bcfd97 | 5820 | PyObject * _argo0 = 0; |
fe47ec10 | 5821 | char *_kwnames[] = { "self","pos1","pos2", NULL }; |
f6bcfd97 BP |
5822 | |
5823 | self = self; | |
fe47ec10 | 5824 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxStyledTextCtrl_BraceHighlight",_kwnames,&_argo0,&_arg1,&_arg2)) |
f6bcfd97 BP |
5825 | return NULL; |
5826 | if (_argo0) { | |
5827 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5828 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 5829 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_BraceHighlight. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
5830 | return NULL; |
5831 | } | |
5832 | } | |
5833 | { | |
5834 | wxPy_BEGIN_ALLOW_THREADS; | |
fe47ec10 | 5835 | wxStyledTextCtrl_BraceHighlight(_arg0,_arg1,_arg2); |
f6bcfd97 BP |
5836 | |
5837 | wxPy_END_ALLOW_THREADS; | |
5838 | } Py_INCREF(Py_None); | |
5839 | _resultobj = Py_None; | |
5840 | return _resultobj; | |
5841 | } | |
5842 | ||
fe47ec10 RD |
5843 | #define wxStyledTextCtrl_BraceBadLight(_swigobj,_swigarg0) (_swigobj->BraceBadLight(_swigarg0)) |
5844 | static PyObject *_wrap_wxStyledTextCtrl_BraceBadLight(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 BP |
5845 | PyObject * _resultobj; |
5846 | wxStyledTextCtrl * _arg0; | |
5847 | int _arg1; | |
5848 | PyObject * _argo0 = 0; | |
fe47ec10 | 5849 | char *_kwnames[] = { "self","pos", NULL }; |
f6bcfd97 BP |
5850 | |
5851 | self = self; | |
fe47ec10 | 5852 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_BraceBadLight",_kwnames,&_argo0,&_arg1)) |
f6bcfd97 BP |
5853 | return NULL; |
5854 | if (_argo0) { | |
5855 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5856 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 5857 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_BraceBadLight. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
5858 | return NULL; |
5859 | } | |
5860 | } | |
5861 | { | |
5862 | wxPy_BEGIN_ALLOW_THREADS; | |
fe47ec10 | 5863 | wxStyledTextCtrl_BraceBadLight(_arg0,_arg1); |
f6bcfd97 BP |
5864 | |
5865 | wxPy_END_ALLOW_THREADS; | |
5866 | } Py_INCREF(Py_None); | |
5867 | _resultobj = Py_None; | |
5868 | return _resultobj; | |
5869 | } | |
5870 | ||
fe47ec10 RD |
5871 | #define wxStyledTextCtrl_BraceMatch(_swigobj,_swigarg0) (_swigobj->BraceMatch(_swigarg0)) |
5872 | static PyObject *_wrap_wxStyledTextCtrl_BraceMatch(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 BP |
5873 | PyObject * _resultobj; |
5874 | int _result; | |
5875 | wxStyledTextCtrl * _arg0; | |
fe47ec10 | 5876 | int _arg1; |
f6bcfd97 | 5877 | PyObject * _argo0 = 0; |
fe47ec10 | 5878 | char *_kwnames[] = { "self","pos", NULL }; |
f6bcfd97 BP |
5879 | |
5880 | self = self; | |
fe47ec10 | 5881 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_BraceMatch",_kwnames,&_argo0,&_arg1)) |
f6bcfd97 BP |
5882 | return NULL; |
5883 | if (_argo0) { | |
5884 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5885 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 5886 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_BraceMatch. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
5887 | return NULL; |
5888 | } | |
5889 | } | |
5890 | { | |
5891 | wxPy_BEGIN_ALLOW_THREADS; | |
fe47ec10 | 5892 | _result = (int )wxStyledTextCtrl_BraceMatch(_arg0,_arg1); |
f6bcfd97 BP |
5893 | |
5894 | wxPy_END_ALLOW_THREADS; | |
5895 | } _resultobj = Py_BuildValue("i",_result); | |
5896 | return _resultobj; | |
5897 | } | |
5898 | ||
fe47ec10 RD |
5899 | #define wxStyledTextCtrl_GetViewEOL(_swigobj) (_swigobj->GetViewEOL()) |
5900 | static PyObject *_wrap_wxStyledTextCtrl_GetViewEOL(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 | 5901 | PyObject * _resultobj; |
fe47ec10 | 5902 | bool _result; |
f6bcfd97 BP |
5903 | wxStyledTextCtrl * _arg0; |
5904 | PyObject * _argo0 = 0; | |
5905 | char *_kwnames[] = { "self", NULL }; | |
5906 | ||
5907 | self = self; | |
fe47ec10 | 5908 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetViewEOL",_kwnames,&_argo0)) |
f6bcfd97 BP |
5909 | return NULL; |
5910 | if (_argo0) { | |
5911 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5912 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 5913 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetViewEOL. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
5914 | return NULL; |
5915 | } | |
5916 | } | |
5917 | { | |
5918 | wxPy_BEGIN_ALLOW_THREADS; | |
fe47ec10 | 5919 | _result = (bool )wxStyledTextCtrl_GetViewEOL(_arg0); |
f6bcfd97 BP |
5920 | |
5921 | wxPy_END_ALLOW_THREADS; | |
5922 | } _resultobj = Py_BuildValue("i",_result); | |
5923 | return _resultobj; | |
5924 | } | |
5925 | ||
fe47ec10 RD |
5926 | #define wxStyledTextCtrl_SetViewEOL(_swigobj,_swigarg0) (_swigobj->SetViewEOL(_swigarg0)) |
5927 | static PyObject *_wrap_wxStyledTextCtrl_SetViewEOL(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 BP |
5928 | PyObject * _resultobj; |
5929 | wxStyledTextCtrl * _arg0; | |
fe47ec10 | 5930 | bool _arg1; |
f6bcfd97 | 5931 | PyObject * _argo0 = 0; |
fe47ec10 RD |
5932 | int tempbool1; |
5933 | char *_kwnames[] = { "self","visible", NULL }; | |
f6bcfd97 BP |
5934 | |
5935 | self = self; | |
fe47ec10 | 5936 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_SetViewEOL",_kwnames,&_argo0,&tempbool1)) |
f6bcfd97 BP |
5937 | return NULL; |
5938 | if (_argo0) { | |
5939 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5940 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 5941 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetViewEOL. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
5942 | return NULL; |
5943 | } | |
5944 | } | |
fe47ec10 | 5945 | _arg1 = (bool ) tempbool1; |
f6bcfd97 BP |
5946 | { |
5947 | wxPy_BEGIN_ALLOW_THREADS; | |
fe47ec10 | 5948 | wxStyledTextCtrl_SetViewEOL(_arg0,_arg1); |
f6bcfd97 BP |
5949 | |
5950 | wxPy_END_ALLOW_THREADS; | |
5951 | } Py_INCREF(Py_None); | |
5952 | _resultobj = Py_None; | |
5953 | return _resultobj; | |
5954 | } | |
5955 | ||
fe47ec10 RD |
5956 | #define wxStyledTextCtrl_GetDocPointer(_swigobj) (_swigobj->GetDocPointer()) |
5957 | static PyObject *_wrap_wxStyledTextCtrl_GetDocPointer(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 | 5958 | PyObject * _resultobj; |
fe47ec10 | 5959 | void * _result; |
f6bcfd97 BP |
5960 | wxStyledTextCtrl * _arg0; |
5961 | PyObject * _argo0 = 0; | |
5962 | char *_kwnames[] = { "self", NULL }; | |
fe47ec10 | 5963 | char _ptemp[128]; |
f6bcfd97 BP |
5964 | |
5965 | self = self; | |
fe47ec10 | 5966 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetDocPointer",_kwnames,&_argo0)) |
f6bcfd97 BP |
5967 | return NULL; |
5968 | if (_argo0) { | |
5969 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5970 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 5971 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetDocPointer. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
5972 | return NULL; |
5973 | } | |
5974 | } | |
5975 | { | |
5976 | wxPy_BEGIN_ALLOW_THREADS; | |
fe47ec10 | 5977 | _result = (void *)wxStyledTextCtrl_GetDocPointer(_arg0); |
f6bcfd97 BP |
5978 | |
5979 | wxPy_END_ALLOW_THREADS; | |
fe47ec10 RD |
5980 | } if (_result) { |
5981 | SWIG_MakePtr(_ptemp, (char *) _result,"_void_p"); | |
5982 | _resultobj = Py_BuildValue("s",_ptemp); | |
5983 | } else { | |
5984 | Py_INCREF(Py_None); | |
5985 | _resultobj = Py_None; | |
5986 | } | |
f6bcfd97 BP |
5987 | return _resultobj; |
5988 | } | |
5989 | ||
fe47ec10 RD |
5990 | #define wxStyledTextCtrl_SetDocPointer(_swigobj,_swigarg0) (_swigobj->SetDocPointer(_swigarg0)) |
5991 | static PyObject *_wrap_wxStyledTextCtrl_SetDocPointer(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 BP |
5992 | PyObject * _resultobj; |
5993 | wxStyledTextCtrl * _arg0; | |
fe47ec10 | 5994 | void * _arg1; |
f6bcfd97 | 5995 | PyObject * _argo0 = 0; |
fe47ec10 RD |
5996 | PyObject * _argo1 = 0; |
5997 | char *_kwnames[] = { "self","docPointer", NULL }; | |
f6bcfd97 BP |
5998 | |
5999 | self = self; | |
fe47ec10 | 6000 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxStyledTextCtrl_SetDocPointer",_kwnames,&_argo0,&_argo1)) |
f6bcfd97 BP |
6001 | return NULL; |
6002 | if (_argo0) { | |
6003 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6004 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 RD |
6005 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetDocPointer. Expected _wxStyledTextCtrl_p."); |
6006 | return NULL; | |
6007 | } | |
6008 | } | |
6009 | if (_argo1) { | |
6010 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
6011 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,(char *) 0 )) { | |
6012 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxStyledTextCtrl_SetDocPointer. Expected _void_p."); | |
f6bcfd97 BP |
6013 | return NULL; |
6014 | } | |
6015 | } | |
6016 | { | |
6017 | wxPy_BEGIN_ALLOW_THREADS; | |
fe47ec10 | 6018 | wxStyledTextCtrl_SetDocPointer(_arg0,_arg1); |
f6bcfd97 BP |
6019 | |
6020 | wxPy_END_ALLOW_THREADS; | |
6021 | } Py_INCREF(Py_None); | |
6022 | _resultobj = Py_None; | |
6023 | return _resultobj; | |
6024 | } | |
6025 | ||
fe47ec10 RD |
6026 | #define wxStyledTextCtrl_SetModEventMask(_swigobj,_swigarg0) (_swigobj->SetModEventMask(_swigarg0)) |
6027 | static PyObject *_wrap_wxStyledTextCtrl_SetModEventMask(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 | 6028 | PyObject * _resultobj; |
f6bcfd97 | 6029 | wxStyledTextCtrl * _arg0; |
fe47ec10 | 6030 | int _arg1; |
f6bcfd97 | 6031 | PyObject * _argo0 = 0; |
fe47ec10 | 6032 | char *_kwnames[] = { "self","mask", NULL }; |
f6bcfd97 BP |
6033 | |
6034 | self = self; | |
fe47ec10 | 6035 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_SetModEventMask",_kwnames,&_argo0,&_arg1)) |
f6bcfd97 BP |
6036 | return NULL; |
6037 | if (_argo0) { | |
6038 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6039 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 6040 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetModEventMask. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
6041 | return NULL; |
6042 | } | |
6043 | } | |
6044 | { | |
6045 | wxPy_BEGIN_ALLOW_THREADS; | |
fe47ec10 | 6046 | wxStyledTextCtrl_SetModEventMask(_arg0,_arg1); |
f6bcfd97 BP |
6047 | |
6048 | wxPy_END_ALLOW_THREADS; | |
fe47ec10 RD |
6049 | } Py_INCREF(Py_None); |
6050 | _resultobj = Py_None; | |
f6bcfd97 BP |
6051 | return _resultobj; |
6052 | } | |
6053 | ||
fe47ec10 RD |
6054 | #define wxStyledTextCtrl_GetEdgeColumn(_swigobj) (_swigobj->GetEdgeColumn()) |
6055 | static PyObject *_wrap_wxStyledTextCtrl_GetEdgeColumn(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 | 6056 | PyObject * _resultobj; |
fe47ec10 | 6057 | int _result; |
f6bcfd97 | 6058 | wxStyledTextCtrl * _arg0; |
f6bcfd97 | 6059 | PyObject * _argo0 = 0; |
fe47ec10 | 6060 | char *_kwnames[] = { "self", NULL }; |
f6bcfd97 BP |
6061 | |
6062 | self = self; | |
fe47ec10 | 6063 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetEdgeColumn",_kwnames,&_argo0)) |
f6bcfd97 BP |
6064 | return NULL; |
6065 | if (_argo0) { | |
6066 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6067 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 6068 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetEdgeColumn. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
6069 | return NULL; |
6070 | } | |
6071 | } | |
f6bcfd97 BP |
6072 | { |
6073 | wxPy_BEGIN_ALLOW_THREADS; | |
fe47ec10 | 6074 | _result = (int )wxStyledTextCtrl_GetEdgeColumn(_arg0); |
f6bcfd97 BP |
6075 | |
6076 | wxPy_END_ALLOW_THREADS; | |
fe47ec10 | 6077 | } _resultobj = Py_BuildValue("i",_result); |
f6bcfd97 BP |
6078 | return _resultobj; |
6079 | } | |
6080 | ||
fe47ec10 RD |
6081 | #define wxStyledTextCtrl_SetEdgeColumn(_swigobj,_swigarg0) (_swigobj->SetEdgeColumn(_swigarg0)) |
6082 | static PyObject *_wrap_wxStyledTextCtrl_SetEdgeColumn(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6083 | PyObject * _resultobj; | |
6084 | wxStyledTextCtrl * _arg0; | |
6085 | int _arg1; | |
6086 | PyObject * _argo0 = 0; | |
6087 | char *_kwnames[] = { "self","column", NULL }; | |
6088 | ||
6089 | self = self; | |
6090 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_SetEdgeColumn",_kwnames,&_argo0,&_arg1)) | |
6091 | return NULL; | |
6092 | if (_argo0) { | |
6093 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6094 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
6095 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetEdgeColumn. Expected _wxStyledTextCtrl_p."); | |
6096 | return NULL; | |
6097 | } | |
6098 | } | |
6099 | { | |
6100 | wxPy_BEGIN_ALLOW_THREADS; | |
6101 | wxStyledTextCtrl_SetEdgeColumn(_arg0,_arg1); | |
6102 | ||
6103 | wxPy_END_ALLOW_THREADS; | |
6104 | } Py_INCREF(Py_None); | |
6105 | _resultobj = Py_None; | |
6106 | return _resultobj; | |
6107 | } | |
6108 | ||
6109 | #define wxStyledTextCtrl_GetEdgeMode(_swigobj) (_swigobj->GetEdgeMode()) | |
6110 | static PyObject *_wrap_wxStyledTextCtrl_GetEdgeMode(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6111 | PyObject * _resultobj; | |
6112 | int _result; | |
6113 | wxStyledTextCtrl * _arg0; | |
6114 | PyObject * _argo0 = 0; | |
6115 | char *_kwnames[] = { "self", NULL }; | |
6116 | ||
6117 | self = self; | |
6118 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetEdgeMode",_kwnames,&_argo0)) | |
6119 | return NULL; | |
6120 | if (_argo0) { | |
6121 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6122 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
6123 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetEdgeMode. Expected _wxStyledTextCtrl_p."); | |
6124 | return NULL; | |
6125 | } | |
6126 | } | |
6127 | { | |
6128 | wxPy_BEGIN_ALLOW_THREADS; | |
6129 | _result = (int )wxStyledTextCtrl_GetEdgeMode(_arg0); | |
6130 | ||
6131 | wxPy_END_ALLOW_THREADS; | |
6132 | } _resultobj = Py_BuildValue("i",_result); | |
6133 | return _resultobj; | |
6134 | } | |
6135 | ||
6136 | #define wxStyledTextCtrl_SetEdgeMode(_swigobj,_swigarg0) (_swigobj->SetEdgeMode(_swigarg0)) | |
6137 | static PyObject *_wrap_wxStyledTextCtrl_SetEdgeMode(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6138 | PyObject * _resultobj; | |
6139 | wxStyledTextCtrl * _arg0; | |
6140 | int _arg1; | |
6141 | PyObject * _argo0 = 0; | |
6142 | char *_kwnames[] = { "self","mode", NULL }; | |
6143 | ||
6144 | self = self; | |
6145 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_SetEdgeMode",_kwnames,&_argo0,&_arg1)) | |
6146 | return NULL; | |
6147 | if (_argo0) { | |
6148 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6149 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
6150 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetEdgeMode. Expected _wxStyledTextCtrl_p."); | |
6151 | return NULL; | |
6152 | } | |
6153 | } | |
6154 | { | |
6155 | wxPy_BEGIN_ALLOW_THREADS; | |
6156 | wxStyledTextCtrl_SetEdgeMode(_arg0,_arg1); | |
6157 | ||
6158 | wxPy_END_ALLOW_THREADS; | |
6159 | } Py_INCREF(Py_None); | |
6160 | _resultobj = Py_None; | |
6161 | return _resultobj; | |
6162 | } | |
6163 | ||
6164 | #define wxStyledTextCtrl_GetEdgeColour(_swigobj) (_swigobj->GetEdgeColour()) | |
6165 | static PyObject *_wrap_wxStyledTextCtrl_GetEdgeColour(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6166 | PyObject * _resultobj; | |
6167 | wxColour * _result; | |
6168 | wxStyledTextCtrl * _arg0; | |
6169 | PyObject * _argo0 = 0; | |
6170 | char *_kwnames[] = { "self", NULL }; | |
6171 | char _ptemp[128]; | |
6172 | ||
6173 | self = self; | |
6174 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetEdgeColour",_kwnames,&_argo0)) | |
6175 | return NULL; | |
6176 | if (_argo0) { | |
6177 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6178 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
6179 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetEdgeColour. Expected _wxStyledTextCtrl_p."); | |
6180 | return NULL; | |
6181 | } | |
6182 | } | |
6183 | { | |
6184 | wxPy_BEGIN_ALLOW_THREADS; | |
6185 | _result = new wxColour (wxStyledTextCtrl_GetEdgeColour(_arg0)); | |
6186 | ||
6187 | wxPy_END_ALLOW_THREADS; | |
6188 | } SWIG_MakePtr(_ptemp, (void *) _result,"_wxColour_p"); | |
6189 | _resultobj = Py_BuildValue("s",_ptemp); | |
6190 | return _resultobj; | |
6191 | } | |
6192 | ||
6193 | #define wxStyledTextCtrl_SetEdgeColour(_swigobj,_swigarg0) (_swigobj->SetEdgeColour(_swigarg0)) | |
6194 | static PyObject *_wrap_wxStyledTextCtrl_SetEdgeColour(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6195 | PyObject * _resultobj; | |
6196 | wxStyledTextCtrl * _arg0; | |
6197 | wxColour * _arg1; | |
6198 | PyObject * _argo0 = 0; | |
6199 | wxColour temp; | |
6200 | PyObject * _obj1 = 0; | |
6201 | char *_kwnames[] = { "self","edgeColour", NULL }; | |
6202 | ||
6203 | self = self; | |
6204 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxStyledTextCtrl_SetEdgeColour",_kwnames,&_argo0,&_obj1)) | |
6205 | return NULL; | |
6206 | if (_argo0) { | |
6207 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6208 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
6209 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetEdgeColour. Expected _wxStyledTextCtrl_p."); | |
6210 | return NULL; | |
6211 | } | |
6212 | } | |
6213 | { | |
6214 | _arg1 = &temp; | |
6215 | if (! wxColour_helper(_obj1, &_arg1)) | |
6216 | return NULL; | |
6217 | } | |
6218 | { | |
6219 | wxPy_BEGIN_ALLOW_THREADS; | |
6220 | wxStyledTextCtrl_SetEdgeColour(_arg0,*_arg1); | |
6221 | ||
6222 | wxPy_END_ALLOW_THREADS; | |
6223 | } Py_INCREF(Py_None); | |
6224 | _resultobj = Py_None; | |
6225 | return _resultobj; | |
6226 | } | |
6227 | ||
6228 | #define wxStyledTextCtrl_SearchAnchor(_swigobj) (_swigobj->SearchAnchor()) | |
6229 | static PyObject *_wrap_wxStyledTextCtrl_SearchAnchor(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6230 | PyObject * _resultobj; | |
6231 | wxStyledTextCtrl * _arg0; | |
6232 | PyObject * _argo0 = 0; | |
6233 | char *_kwnames[] = { "self", NULL }; | |
6234 | ||
6235 | self = self; | |
6236 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_SearchAnchor",_kwnames,&_argo0)) | |
6237 | return NULL; | |
6238 | if (_argo0) { | |
6239 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6240 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
6241 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SearchAnchor. Expected _wxStyledTextCtrl_p."); | |
6242 | return NULL; | |
6243 | } | |
6244 | } | |
6245 | { | |
6246 | wxPy_BEGIN_ALLOW_THREADS; | |
6247 | wxStyledTextCtrl_SearchAnchor(_arg0); | |
6248 | ||
6249 | wxPy_END_ALLOW_THREADS; | |
6250 | } Py_INCREF(Py_None); | |
6251 | _resultobj = Py_None; | |
6252 | return _resultobj; | |
6253 | } | |
6254 | ||
6255 | #define wxStyledTextCtrl_SearchNext(_swigobj,_swigarg0,_swigarg1) (_swigobj->SearchNext(_swigarg0,_swigarg1)) | |
6256 | static PyObject *_wrap_wxStyledTextCtrl_SearchNext(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6257 | PyObject * _resultobj; | |
6258 | int _result; | |
6259 | wxStyledTextCtrl * _arg0; | |
6260 | int _arg1; | |
6261 | wxString * _arg2; | |
6262 | PyObject * _argo0 = 0; | |
6263 | PyObject * _obj2 = 0; | |
6264 | char *_kwnames[] = { "self","flags","text", NULL }; | |
6265 | ||
6266 | self = self; | |
6267 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxStyledTextCtrl_SearchNext",_kwnames,&_argo0,&_arg1,&_obj2)) | |
6268 | return NULL; | |
6269 | if (_argo0) { | |
6270 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6271 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
6272 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SearchNext. Expected _wxStyledTextCtrl_p."); | |
6273 | return NULL; | |
6274 | } | |
6275 | } | |
6276 | { | |
185d7c3e RD |
6277 | #if PYTHON_API_VERSION >= 1009 |
6278 | char* tmpPtr; int tmpSize; | |
6279 | if (!PyString_Check(_obj2) && !PyUnicode_Check(_obj2)) { | |
7a446686 | 6280 | PyErr_SetString(PyExc_TypeError, wxStringErrorMsg); |
185d7c3e RD |
6281 | return NULL; |
6282 | } | |
6283 | if (PyString_AsStringAndSize(_obj2, &tmpPtr, &tmpSize) == -1) | |
6284 | return NULL; | |
6285 | _arg2 = new wxString(tmpPtr, tmpSize); | |
6286 | #else | |
fe47ec10 RD |
6287 | if (!PyString_Check(_obj2)) { |
6288 | PyErr_SetString(PyExc_TypeError, wxStringErrorMsg); | |
6289 | return NULL; | |
6290 | } | |
185d7c3e RD |
6291 | _arg2 = new wxString(PyString_AS_STRING(_obj2), PyString_GET_SIZE(_obj2)); |
6292 | #endif | |
fe47ec10 RD |
6293 | } |
6294 | { | |
6295 | wxPy_BEGIN_ALLOW_THREADS; | |
6296 | _result = (int )wxStyledTextCtrl_SearchNext(_arg0,_arg1,*_arg2); | |
6297 | ||
6298 | wxPy_END_ALLOW_THREADS; | |
6299 | } _resultobj = Py_BuildValue("i",_result); | |
6300 | { | |
6301 | if (_obj2) | |
6302 | delete _arg2; | |
6303 | } | |
6304 | return _resultobj; | |
6305 | } | |
6306 | ||
6307 | #define wxStyledTextCtrl_SearchPrev(_swigobj,_swigarg0,_swigarg1) (_swigobj->SearchPrev(_swigarg0,_swigarg1)) | |
6308 | static PyObject *_wrap_wxStyledTextCtrl_SearchPrev(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6309 | PyObject * _resultobj; | |
6310 | int _result; | |
6311 | wxStyledTextCtrl * _arg0; | |
6312 | int _arg1; | |
6313 | wxString * _arg2; | |
6314 | PyObject * _argo0 = 0; | |
6315 | PyObject * _obj2 = 0; | |
6316 | char *_kwnames[] = { "self","flags","text", NULL }; | |
6317 | ||
6318 | self = self; | |
6319 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxStyledTextCtrl_SearchPrev",_kwnames,&_argo0,&_arg1,&_obj2)) | |
6320 | return NULL; | |
6321 | if (_argo0) { | |
6322 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6323 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
6324 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SearchPrev. Expected _wxStyledTextCtrl_p."); | |
6325 | return NULL; | |
6326 | } | |
6327 | } | |
6328 | { | |
185d7c3e RD |
6329 | #if PYTHON_API_VERSION >= 1009 |
6330 | char* tmpPtr; int tmpSize; | |
6331 | if (!PyString_Check(_obj2) && !PyUnicode_Check(_obj2)) { | |
7a446686 | 6332 | PyErr_SetString(PyExc_TypeError, wxStringErrorMsg); |
185d7c3e RD |
6333 | return NULL; |
6334 | } | |
6335 | if (PyString_AsStringAndSize(_obj2, &tmpPtr, &tmpSize) == -1) | |
6336 | return NULL; | |
6337 | _arg2 = new wxString(tmpPtr, tmpSize); | |
6338 | #else | |
fe47ec10 RD |
6339 | if (!PyString_Check(_obj2)) { |
6340 | PyErr_SetString(PyExc_TypeError, wxStringErrorMsg); | |
6341 | return NULL; | |
6342 | } | |
185d7c3e RD |
6343 | _arg2 = new wxString(PyString_AS_STRING(_obj2), PyString_GET_SIZE(_obj2)); |
6344 | #endif | |
fe47ec10 RD |
6345 | } |
6346 | { | |
6347 | wxPy_BEGIN_ALLOW_THREADS; | |
6348 | _result = (int )wxStyledTextCtrl_SearchPrev(_arg0,_arg1,*_arg2); | |
6349 | ||
6350 | wxPy_END_ALLOW_THREADS; | |
6351 | } _resultobj = Py_BuildValue("i",_result); | |
6352 | { | |
6353 | if (_obj2) | |
6354 | delete _arg2; | |
6355 | } | |
6356 | return _resultobj; | |
6357 | } | |
6358 | ||
6359 | #define wxStyledTextCtrl_SetCaretPolicy(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetCaretPolicy(_swigarg0,_swigarg1)) | |
6360 | static PyObject *_wrap_wxStyledTextCtrl_SetCaretPolicy(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6361 | PyObject * _resultobj; | |
6362 | wxStyledTextCtrl * _arg0; | |
6363 | int _arg1; | |
6364 | int _arg2; | |
6365 | PyObject * _argo0 = 0; | |
6366 | char *_kwnames[] = { "self","caretPolicy","caretSlop", NULL }; | |
6367 | ||
6368 | self = self; | |
6369 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxStyledTextCtrl_SetCaretPolicy",_kwnames,&_argo0,&_arg1,&_arg2)) | |
6370 | return NULL; | |
6371 | if (_argo0) { | |
6372 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6373 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
6374 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetCaretPolicy. Expected _wxStyledTextCtrl_p."); | |
6375 | return NULL; | |
6376 | } | |
6377 | } | |
6378 | { | |
6379 | wxPy_BEGIN_ALLOW_THREADS; | |
6380 | wxStyledTextCtrl_SetCaretPolicy(_arg0,_arg1,_arg2); | |
6381 | ||
6382 | wxPy_END_ALLOW_THREADS; | |
6383 | } Py_INCREF(Py_None); | |
6384 | _resultobj = Py_None; | |
6385 | return _resultobj; | |
6386 | } | |
6387 | ||
6388 | #define wxStyledTextCtrl_LinesOnScreen(_swigobj) (_swigobj->LinesOnScreen()) | |
6389 | static PyObject *_wrap_wxStyledTextCtrl_LinesOnScreen(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6390 | PyObject * _resultobj; | |
6391 | int _result; | |
6392 | wxStyledTextCtrl * _arg0; | |
6393 | PyObject * _argo0 = 0; | |
6394 | char *_kwnames[] = { "self", NULL }; | |
6395 | ||
6396 | self = self; | |
6397 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_LinesOnScreen",_kwnames,&_argo0)) | |
6398 | return NULL; | |
6399 | if (_argo0) { | |
6400 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6401 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
6402 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_LinesOnScreen. Expected _wxStyledTextCtrl_p."); | |
6403 | return NULL; | |
6404 | } | |
6405 | } | |
6406 | { | |
6407 | wxPy_BEGIN_ALLOW_THREADS; | |
6408 | _result = (int )wxStyledTextCtrl_LinesOnScreen(_arg0); | |
6409 | ||
6410 | wxPy_END_ALLOW_THREADS; | |
6411 | } _resultobj = Py_BuildValue("i",_result); | |
6412 | return _resultobj; | |
6413 | } | |
6414 | ||
6415 | #define wxStyledTextCtrl_UsePopUp(_swigobj,_swigarg0) (_swigobj->UsePopUp(_swigarg0)) | |
6416 | static PyObject *_wrap_wxStyledTextCtrl_UsePopUp(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6417 | PyObject * _resultobj; | |
6418 | wxStyledTextCtrl * _arg0; | |
6419 | bool _arg1; | |
6420 | PyObject * _argo0 = 0; | |
6421 | int tempbool1; | |
6422 | char *_kwnames[] = { "self","allowPopUp", NULL }; | |
6423 | ||
6424 | self = self; | |
6425 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_UsePopUp",_kwnames,&_argo0,&tempbool1)) | |
6426 | return NULL; | |
6427 | if (_argo0) { | |
6428 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6429 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
6430 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_UsePopUp. Expected _wxStyledTextCtrl_p."); | |
6431 | return NULL; | |
6432 | } | |
6433 | } | |
6434 | _arg1 = (bool ) tempbool1; | |
6435 | { | |
6436 | wxPy_BEGIN_ALLOW_THREADS; | |
6437 | wxStyledTextCtrl_UsePopUp(_arg0,_arg1); | |
6438 | ||
6439 | wxPy_END_ALLOW_THREADS; | |
6440 | } Py_INCREF(Py_None); | |
6441 | _resultobj = Py_None; | |
6442 | return _resultobj; | |
6443 | } | |
6444 | ||
6445 | #define wxStyledTextCtrl_SelectionIsRectangle(_swigobj) (_swigobj->SelectionIsRectangle()) | |
6446 | static PyObject *_wrap_wxStyledTextCtrl_SelectionIsRectangle(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6447 | PyObject * _resultobj; | |
6448 | bool _result; | |
6449 | wxStyledTextCtrl * _arg0; | |
6450 | PyObject * _argo0 = 0; | |
6451 | char *_kwnames[] = { "self", NULL }; | |
6452 | ||
6453 | self = self; | |
6454 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_SelectionIsRectangle",_kwnames,&_argo0)) | |
6455 | return NULL; | |
6456 | if (_argo0) { | |
6457 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6458 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
6459 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SelectionIsRectangle. Expected _wxStyledTextCtrl_p."); | |
6460 | return NULL; | |
6461 | } | |
6462 | } | |
6463 | { | |
6464 | wxPy_BEGIN_ALLOW_THREADS; | |
6465 | _result = (bool )wxStyledTextCtrl_SelectionIsRectangle(_arg0); | |
6466 | ||
6467 | wxPy_END_ALLOW_THREADS; | |
6468 | } _resultobj = Py_BuildValue("i",_result); | |
6469 | return _resultobj; | |
6470 | } | |
6471 | ||
6472 | #define wxStyledTextCtrl_SetZoom(_swigobj,_swigarg0) (_swigobj->SetZoom(_swigarg0)) | |
6473 | static PyObject *_wrap_wxStyledTextCtrl_SetZoom(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6474 | PyObject * _resultobj; | |
6475 | wxStyledTextCtrl * _arg0; | |
6476 | int _arg1; | |
6477 | PyObject * _argo0 = 0; | |
6478 | char *_kwnames[] = { "self","zoom", NULL }; | |
6479 | ||
6480 | self = self; | |
6481 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_SetZoom",_kwnames,&_argo0,&_arg1)) | |
6482 | return NULL; | |
6483 | if (_argo0) { | |
6484 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6485 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
6486 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetZoom. Expected _wxStyledTextCtrl_p."); | |
6487 | return NULL; | |
6488 | } | |
6489 | } | |
6490 | { | |
6491 | wxPy_BEGIN_ALLOW_THREADS; | |
6492 | wxStyledTextCtrl_SetZoom(_arg0,_arg1); | |
6493 | ||
6494 | wxPy_END_ALLOW_THREADS; | |
6495 | } Py_INCREF(Py_None); | |
6496 | _resultobj = Py_None; | |
6497 | return _resultobj; | |
6498 | } | |
6499 | ||
6500 | #define wxStyledTextCtrl_GetZoom(_swigobj) (_swigobj->GetZoom()) | |
6501 | static PyObject *_wrap_wxStyledTextCtrl_GetZoom(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6502 | PyObject * _resultobj; | |
6503 | int _result; | |
6504 | wxStyledTextCtrl * _arg0; | |
6505 | PyObject * _argo0 = 0; | |
6506 | char *_kwnames[] = { "self", NULL }; | |
6507 | ||
6508 | self = self; | |
6509 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetZoom",_kwnames,&_argo0)) | |
6510 | return NULL; | |
6511 | if (_argo0) { | |
6512 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6513 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
6514 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetZoom. Expected _wxStyledTextCtrl_p."); | |
6515 | return NULL; | |
6516 | } | |
6517 | } | |
6518 | { | |
6519 | wxPy_BEGIN_ALLOW_THREADS; | |
6520 | _result = (int )wxStyledTextCtrl_GetZoom(_arg0); | |
6521 | ||
6522 | wxPy_END_ALLOW_THREADS; | |
6523 | } _resultobj = Py_BuildValue("i",_result); | |
6524 | return _resultobj; | |
6525 | } | |
6526 | ||
6527 | #define wxStyledTextCtrl_CreateDocument(_swigobj) (_swigobj->CreateDocument()) | |
6528 | static PyObject *_wrap_wxStyledTextCtrl_CreateDocument(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6529 | PyObject * _resultobj; | |
6530 | void * _result; | |
6531 | wxStyledTextCtrl * _arg0; | |
6532 | PyObject * _argo0 = 0; | |
6533 | char *_kwnames[] = { "self", NULL }; | |
6534 | char _ptemp[128]; | |
6535 | ||
6536 | self = self; | |
6537 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_CreateDocument",_kwnames,&_argo0)) | |
6538 | return NULL; | |
6539 | if (_argo0) { | |
6540 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6541 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
6542 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_CreateDocument. Expected _wxStyledTextCtrl_p."); | |
6543 | return NULL; | |
6544 | } | |
6545 | } | |
6546 | { | |
6547 | wxPy_BEGIN_ALLOW_THREADS; | |
6548 | _result = (void *)wxStyledTextCtrl_CreateDocument(_arg0); | |
6549 | ||
6550 | wxPy_END_ALLOW_THREADS; | |
6551 | } if (_result) { | |
6552 | SWIG_MakePtr(_ptemp, (char *) _result,"_void_p"); | |
6553 | _resultobj = Py_BuildValue("s",_ptemp); | |
6554 | } else { | |
6555 | Py_INCREF(Py_None); | |
6556 | _resultobj = Py_None; | |
6557 | } | |
6558 | return _resultobj; | |
6559 | } | |
6560 | ||
6561 | #define wxStyledTextCtrl_AddRefDocument(_swigobj,_swigarg0) (_swigobj->AddRefDocument(_swigarg0)) | |
6562 | static PyObject *_wrap_wxStyledTextCtrl_AddRefDocument(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6563 | PyObject * _resultobj; | |
6564 | wxStyledTextCtrl * _arg0; | |
6565 | void * _arg1; | |
6566 | PyObject * _argo0 = 0; | |
6567 | PyObject * _argo1 = 0; | |
6568 | char *_kwnames[] = { "self","docPointer", NULL }; | |
6569 | ||
6570 | self = self; | |
6571 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxStyledTextCtrl_AddRefDocument",_kwnames,&_argo0,&_argo1)) | |
6572 | return NULL; | |
6573 | if (_argo0) { | |
6574 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6575 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
6576 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_AddRefDocument. Expected _wxStyledTextCtrl_p."); | |
6577 | return NULL; | |
6578 | } | |
6579 | } | |
6580 | if (_argo1) { | |
6581 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
6582 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,(char *) 0 )) { | |
6583 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxStyledTextCtrl_AddRefDocument. Expected _void_p."); | |
6584 | return NULL; | |
6585 | } | |
6586 | } | |
6587 | { | |
6588 | wxPy_BEGIN_ALLOW_THREADS; | |
6589 | wxStyledTextCtrl_AddRefDocument(_arg0,_arg1); | |
6590 | ||
6591 | wxPy_END_ALLOW_THREADS; | |
6592 | } Py_INCREF(Py_None); | |
6593 | _resultobj = Py_None; | |
6594 | return _resultobj; | |
6595 | } | |
6596 | ||
6597 | #define wxStyledTextCtrl_ReleaseDocument(_swigobj,_swigarg0) (_swigobj->ReleaseDocument(_swigarg0)) | |
6598 | static PyObject *_wrap_wxStyledTextCtrl_ReleaseDocument(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6599 | PyObject * _resultobj; | |
6600 | wxStyledTextCtrl * _arg0; | |
6601 | void * _arg1; | |
6602 | PyObject * _argo0 = 0; | |
6603 | PyObject * _argo1 = 0; | |
6604 | char *_kwnames[] = { "self","docPointer", NULL }; | |
6605 | ||
6606 | self = self; | |
6607 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxStyledTextCtrl_ReleaseDocument",_kwnames,&_argo0,&_argo1)) | |
6608 | return NULL; | |
6609 | if (_argo0) { | |
6610 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6611 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
6612 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_ReleaseDocument. Expected _wxStyledTextCtrl_p."); | |
6613 | return NULL; | |
6614 | } | |
6615 | } | |
6616 | if (_argo1) { | |
6617 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
6618 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,(char *) 0 )) { | |
6619 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxStyledTextCtrl_ReleaseDocument. Expected _void_p."); | |
6620 | return NULL; | |
6621 | } | |
6622 | } | |
6623 | { | |
6624 | wxPy_BEGIN_ALLOW_THREADS; | |
6625 | wxStyledTextCtrl_ReleaseDocument(_arg0,_arg1); | |
6626 | ||
6627 | wxPy_END_ALLOW_THREADS; | |
6628 | } Py_INCREF(Py_None); | |
6629 | _resultobj = Py_None; | |
6630 | return _resultobj; | |
6631 | } | |
6632 | ||
6633 | #define wxStyledTextCtrl_GetModEventMask(_swigobj) (_swigobj->GetModEventMask()) | |
6634 | static PyObject *_wrap_wxStyledTextCtrl_GetModEventMask(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6635 | PyObject * _resultobj; | |
6636 | int _result; | |
6637 | wxStyledTextCtrl * _arg0; | |
6638 | PyObject * _argo0 = 0; | |
6639 | char *_kwnames[] = { "self", NULL }; | |
6640 | ||
6641 | self = self; | |
6642 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetModEventMask",_kwnames,&_argo0)) | |
6643 | return NULL; | |
6644 | if (_argo0) { | |
6645 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6646 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
6647 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetModEventMask. Expected _wxStyledTextCtrl_p."); | |
6648 | return NULL; | |
6649 | } | |
6650 | } | |
6651 | { | |
6652 | wxPy_BEGIN_ALLOW_THREADS; | |
6653 | _result = (int )wxStyledTextCtrl_GetModEventMask(_arg0); | |
6654 | ||
6655 | wxPy_END_ALLOW_THREADS; | |
6656 | } _resultobj = Py_BuildValue("i",_result); | |
6657 | return _resultobj; | |
6658 | } | |
6659 | ||
6660 | #define wxStyledTextCtrl_StartRecord(_swigobj) (_swigobj->StartRecord()) | |
6661 | static PyObject *_wrap_wxStyledTextCtrl_StartRecord(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6662 | PyObject * _resultobj; | |
6663 | wxStyledTextCtrl * _arg0; | |
6664 | PyObject * _argo0 = 0; | |
6665 | char *_kwnames[] = { "self", NULL }; | |
6666 | ||
6667 | self = self; | |
6668 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_StartRecord",_kwnames,&_argo0)) | |
6669 | return NULL; | |
6670 | if (_argo0) { | |
6671 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6672 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
6673 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_StartRecord. Expected _wxStyledTextCtrl_p."); | |
6674 | return NULL; | |
6675 | } | |
6676 | } | |
6677 | { | |
6678 | wxPy_BEGIN_ALLOW_THREADS; | |
6679 | wxStyledTextCtrl_StartRecord(_arg0); | |
6680 | ||
6681 | wxPy_END_ALLOW_THREADS; | |
6682 | } Py_INCREF(Py_None); | |
6683 | _resultobj = Py_None; | |
6684 | return _resultobj; | |
6685 | } | |
6686 | ||
6687 | #define wxStyledTextCtrl_StopRecord(_swigobj) (_swigobj->StopRecord()) | |
6688 | static PyObject *_wrap_wxStyledTextCtrl_StopRecord(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6689 | PyObject * _resultobj; | |
6690 | wxStyledTextCtrl * _arg0; | |
6691 | PyObject * _argo0 = 0; | |
6692 | char *_kwnames[] = { "self", NULL }; | |
6693 | ||
6694 | self = self; | |
6695 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_StopRecord",_kwnames,&_argo0)) | |
6696 | return NULL; | |
6697 | if (_argo0) { | |
6698 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6699 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
6700 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_StopRecord. Expected _wxStyledTextCtrl_p."); | |
6701 | return NULL; | |
6702 | } | |
6703 | } | |
6704 | { | |
6705 | wxPy_BEGIN_ALLOW_THREADS; | |
6706 | wxStyledTextCtrl_StopRecord(_arg0); | |
6707 | ||
6708 | wxPy_END_ALLOW_THREADS; | |
6709 | } Py_INCREF(Py_None); | |
6710 | _resultobj = Py_None; | |
6711 | return _resultobj; | |
6712 | } | |
6713 | ||
6714 | #define wxStyledTextCtrl_SetLexer(_swigobj,_swigarg0) (_swigobj->SetLexer(_swigarg0)) | |
6715 | static PyObject *_wrap_wxStyledTextCtrl_SetLexer(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 BP |
6716 | PyObject * _resultobj; |
6717 | wxStyledTextCtrl * _arg0; | |
fe47ec10 | 6718 | int _arg1; |
f6bcfd97 BP |
6719 | PyObject * _argo0 = 0; |
6720 | char *_kwnames[] = { "self","lexer", NULL }; | |
6721 | ||
6722 | self = self; | |
6723 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_SetLexer",_kwnames,&_argo0,&_arg1)) | |
6724 | return NULL; | |
6725 | if (_argo0) { | |
6726 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6727 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
6728 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetLexer. Expected _wxStyledTextCtrl_p."); | |
6729 | return NULL; | |
6730 | } | |
6731 | } | |
6732 | { | |
6733 | wxPy_BEGIN_ALLOW_THREADS; | |
6734 | wxStyledTextCtrl_SetLexer(_arg0,_arg1); | |
6735 | ||
6736 | wxPy_END_ALLOW_THREADS; | |
6737 | } Py_INCREF(Py_None); | |
6738 | _resultobj = Py_None; | |
6739 | return _resultobj; | |
6740 | } | |
6741 | ||
6742 | #define wxStyledTextCtrl_GetLexer(_swigobj) (_swigobj->GetLexer()) | |
6743 | static PyObject *_wrap_wxStyledTextCtrl_GetLexer(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6744 | PyObject * _resultobj; | |
fe47ec10 | 6745 | int _result; |
f6bcfd97 BP |
6746 | wxStyledTextCtrl * _arg0; |
6747 | PyObject * _argo0 = 0; | |
6748 | char *_kwnames[] = { "self", NULL }; | |
6749 | ||
6750 | self = self; | |
6751 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetLexer",_kwnames,&_argo0)) | |
6752 | return NULL; | |
6753 | if (_argo0) { | |
6754 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6755 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
6756 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetLexer. Expected _wxStyledTextCtrl_p."); | |
6757 | return NULL; | |
6758 | } | |
6759 | } | |
6760 | { | |
6761 | wxPy_BEGIN_ALLOW_THREADS; | |
fe47ec10 | 6762 | _result = (int )wxStyledTextCtrl_GetLexer(_arg0); |
f6bcfd97 BP |
6763 | |
6764 | wxPy_END_ALLOW_THREADS; | |
6765 | } _resultobj = Py_BuildValue("i",_result); | |
6766 | return _resultobj; | |
6767 | } | |
6768 | ||
6769 | #define wxStyledTextCtrl_Colourise(_swigobj,_swigarg0,_swigarg1) (_swigobj->Colourise(_swigarg0,_swigarg1)) | |
6770 | static PyObject *_wrap_wxStyledTextCtrl_Colourise(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6771 | PyObject * _resultobj; | |
6772 | wxStyledTextCtrl * _arg0; | |
6773 | int _arg1; | |
6774 | int _arg2; | |
6775 | PyObject * _argo0 = 0; | |
6776 | char *_kwnames[] = { "self","start","end", NULL }; | |
6777 | ||
6778 | self = self; | |
6779 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxStyledTextCtrl_Colourise",_kwnames,&_argo0,&_arg1,&_arg2)) | |
6780 | return NULL; | |
6781 | if (_argo0) { | |
6782 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6783 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
6784 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_Colourise. Expected _wxStyledTextCtrl_p."); | |
6785 | return NULL; | |
6786 | } | |
6787 | } | |
6788 | { | |
6789 | wxPy_BEGIN_ALLOW_THREADS; | |
6790 | wxStyledTextCtrl_Colourise(_arg0,_arg1,_arg2); | |
6791 | ||
6792 | wxPy_END_ALLOW_THREADS; | |
6793 | } Py_INCREF(Py_None); | |
6794 | _resultobj = Py_None; | |
6795 | return _resultobj; | |
6796 | } | |
6797 | ||
6798 | #define wxStyledTextCtrl_SetProperty(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetProperty(_swigarg0,_swigarg1)) | |
6799 | static PyObject *_wrap_wxStyledTextCtrl_SetProperty(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6800 | PyObject * _resultobj; | |
6801 | wxStyledTextCtrl * _arg0; | |
6802 | wxString * _arg1; | |
6803 | wxString * _arg2; | |
6804 | PyObject * _argo0 = 0; | |
6805 | PyObject * _obj1 = 0; | |
6806 | PyObject * _obj2 = 0; | |
6807 | char *_kwnames[] = { "self","key","value", NULL }; | |
6808 | ||
6809 | self = self; | |
6810 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxStyledTextCtrl_SetProperty",_kwnames,&_argo0,&_obj1,&_obj2)) | |
6811 | return NULL; | |
6812 | if (_argo0) { | |
6813 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6814 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
6815 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetProperty. Expected _wxStyledTextCtrl_p."); | |
6816 | return NULL; | |
6817 | } | |
6818 | } | |
6819 | { | |
185d7c3e RD |
6820 | #if PYTHON_API_VERSION >= 1009 |
6821 | char* tmpPtr; int tmpSize; | |
6822 | if (!PyString_Check(_obj1) && !PyUnicode_Check(_obj1)) { | |
7a446686 | 6823 | PyErr_SetString(PyExc_TypeError, wxStringErrorMsg); |
185d7c3e RD |
6824 | return NULL; |
6825 | } | |
6826 | if (PyString_AsStringAndSize(_obj1, &tmpPtr, &tmpSize) == -1) | |
6827 | return NULL; | |
6828 | _arg1 = new wxString(tmpPtr, tmpSize); | |
6829 | #else | |
f6bcfd97 BP |
6830 | if (!PyString_Check(_obj1)) { |
6831 | PyErr_SetString(PyExc_TypeError, wxStringErrorMsg); | |
6832 | return NULL; | |
6833 | } | |
185d7c3e RD |
6834 | _arg1 = new wxString(PyString_AS_STRING(_obj1), PyString_GET_SIZE(_obj1)); |
6835 | #endif | |
f6bcfd97 BP |
6836 | } |
6837 | { | |
185d7c3e RD |
6838 | #if PYTHON_API_VERSION >= 1009 |
6839 | char* tmpPtr; int tmpSize; | |
6840 | if (!PyString_Check(_obj2) && !PyUnicode_Check(_obj2)) { | |
7a446686 | 6841 | PyErr_SetString(PyExc_TypeError, wxStringErrorMsg); |
185d7c3e RD |
6842 | return NULL; |
6843 | } | |
6844 | if (PyString_AsStringAndSize(_obj2, &tmpPtr, &tmpSize) == -1) | |
6845 | return NULL; | |
6846 | _arg2 = new wxString(tmpPtr, tmpSize); | |
6847 | #else | |
f6bcfd97 BP |
6848 | if (!PyString_Check(_obj2)) { |
6849 | PyErr_SetString(PyExc_TypeError, wxStringErrorMsg); | |
6850 | return NULL; | |
6851 | } | |
185d7c3e RD |
6852 | _arg2 = new wxString(PyString_AS_STRING(_obj2), PyString_GET_SIZE(_obj2)); |
6853 | #endif | |
f6bcfd97 BP |
6854 | } |
6855 | { | |
6856 | wxPy_BEGIN_ALLOW_THREADS; | |
6857 | wxStyledTextCtrl_SetProperty(_arg0,*_arg1,*_arg2); | |
6858 | ||
6859 | wxPy_END_ALLOW_THREADS; | |
6860 | } Py_INCREF(Py_None); | |
6861 | _resultobj = Py_None; | |
6862 | { | |
6863 | if (_obj1) | |
6864 | delete _arg1; | |
6865 | } | |
6866 | { | |
6867 | if (_obj2) | |
6868 | delete _arg2; | |
6869 | } | |
6870 | return _resultobj; | |
6871 | } | |
6872 | ||
fe47ec10 RD |
6873 | #define wxStyledTextCtrl_SetKeyWords(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetKeyWords(_swigarg0,_swigarg1)) |
6874 | static PyObject *_wrap_wxStyledTextCtrl_SetKeyWords(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6875 | PyObject * _resultobj; | |
6876 | wxStyledTextCtrl * _arg0; | |
6877 | int _arg1; | |
6878 | wxString * _arg2; | |
6879 | PyObject * _argo0 = 0; | |
6880 | PyObject * _obj2 = 0; | |
6881 | char *_kwnames[] = { "self","keywordSet","keyWords", NULL }; | |
6882 | ||
6883 | self = self; | |
6884 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxStyledTextCtrl_SetKeyWords",_kwnames,&_argo0,&_arg1,&_obj2)) | |
6885 | return NULL; | |
6886 | if (_argo0) { | |
6887 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6888 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
6889 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetKeyWords. Expected _wxStyledTextCtrl_p."); | |
6890 | return NULL; | |
6891 | } | |
6892 | } | |
6893 | { | |
185d7c3e RD |
6894 | #if PYTHON_API_VERSION >= 1009 |
6895 | char* tmpPtr; int tmpSize; | |
6896 | if (!PyString_Check(_obj2) && !PyUnicode_Check(_obj2)) { | |
7a446686 | 6897 | PyErr_SetString(PyExc_TypeError, wxStringErrorMsg); |
185d7c3e RD |
6898 | return NULL; |
6899 | } | |
6900 | if (PyString_AsStringAndSize(_obj2, &tmpPtr, &tmpSize) == -1) | |
6901 | return NULL; | |
6902 | _arg2 = new wxString(tmpPtr, tmpSize); | |
6903 | #else | |
fe47ec10 RD |
6904 | if (!PyString_Check(_obj2)) { |
6905 | PyErr_SetString(PyExc_TypeError, wxStringErrorMsg); | |
6906 | return NULL; | |
6907 | } | |
185d7c3e RD |
6908 | _arg2 = new wxString(PyString_AS_STRING(_obj2), PyString_GET_SIZE(_obj2)); |
6909 | #endif | |
fe47ec10 RD |
6910 | } |
6911 | { | |
6912 | wxPy_BEGIN_ALLOW_THREADS; | |
6913 | wxStyledTextCtrl_SetKeyWords(_arg0,_arg1,*_arg2); | |
6914 | ||
6915 | wxPy_END_ALLOW_THREADS; | |
6916 | } Py_INCREF(Py_None); | |
6917 | _resultobj = Py_None; | |
6918 | { | |
6919 | if (_obj2) | |
6920 | delete _arg2; | |
6921 | } | |
6922 | return _resultobj; | |
6923 | } | |
6924 | ||
6925 | #define wxStyledTextCtrl_GetCurrentLine(_swigobj) (_swigobj->GetCurrentLine()) | |
6926 | static PyObject *_wrap_wxStyledTextCtrl_GetCurrentLine(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6927 | PyObject * _resultobj; | |
6928 | int _result; | |
6929 | wxStyledTextCtrl * _arg0; | |
6930 | PyObject * _argo0 = 0; | |
6931 | char *_kwnames[] = { "self", NULL }; | |
6932 | ||
6933 | self = self; | |
6934 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetCurrentLine",_kwnames,&_argo0)) | |
6935 | return NULL; | |
6936 | if (_argo0) { | |
6937 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6938 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
6939 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetCurrentLine. Expected _wxStyledTextCtrl_p."); | |
6940 | return NULL; | |
6941 | } | |
6942 | } | |
6943 | { | |
6944 | wxPy_BEGIN_ALLOW_THREADS; | |
6945 | _result = (int )wxStyledTextCtrl_GetCurrentLine(_arg0); | |
6946 | ||
6947 | wxPy_END_ALLOW_THREADS; | |
6948 | } _resultobj = Py_BuildValue("i",_result); | |
6949 | return _resultobj; | |
6950 | } | |
6951 | ||
6952 | #define wxStyledTextCtrl_StyleSetSpec(_swigobj,_swigarg0,_swigarg1) (_swigobj->StyleSetSpec(_swigarg0,_swigarg1)) | |
6953 | static PyObject *_wrap_wxStyledTextCtrl_StyleSetSpec(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 BP |
6954 | PyObject * _resultobj; |
6955 | wxStyledTextCtrl * _arg0; | |
6956 | int _arg1; | |
6957 | wxString * _arg2; | |
6958 | PyObject * _argo0 = 0; | |
6959 | PyObject * _obj2 = 0; | |
fe47ec10 RD |
6960 | char *_kwnames[] = { "self","styleNum","spec", NULL }; |
6961 | ||
6962 | self = self; | |
6963 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxStyledTextCtrl_StyleSetSpec",_kwnames,&_argo0,&_arg1,&_obj2)) | |
6964 | return NULL; | |
6965 | if (_argo0) { | |
6966 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6967 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
6968 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_StyleSetSpec. Expected _wxStyledTextCtrl_p."); | |
6969 | return NULL; | |
6970 | } | |
6971 | } | |
6972 | { | |
185d7c3e RD |
6973 | #if PYTHON_API_VERSION >= 1009 |
6974 | char* tmpPtr; int tmpSize; | |
6975 | if (!PyString_Check(_obj2) && !PyUnicode_Check(_obj2)) { | |
7a446686 | 6976 | PyErr_SetString(PyExc_TypeError, wxStringErrorMsg); |
185d7c3e RD |
6977 | return NULL; |
6978 | } | |
6979 | if (PyString_AsStringAndSize(_obj2, &tmpPtr, &tmpSize) == -1) | |
6980 | return NULL; | |
6981 | _arg2 = new wxString(tmpPtr, tmpSize); | |
6982 | #else | |
fe47ec10 RD |
6983 | if (!PyString_Check(_obj2)) { |
6984 | PyErr_SetString(PyExc_TypeError, wxStringErrorMsg); | |
6985 | return NULL; | |
6986 | } | |
185d7c3e RD |
6987 | _arg2 = new wxString(PyString_AS_STRING(_obj2), PyString_GET_SIZE(_obj2)); |
6988 | #endif | |
fe47ec10 RD |
6989 | } |
6990 | { | |
6991 | wxPy_BEGIN_ALLOW_THREADS; | |
6992 | wxStyledTextCtrl_StyleSetSpec(_arg0,_arg1,*_arg2); | |
6993 | ||
6994 | wxPy_END_ALLOW_THREADS; | |
6995 | } Py_INCREF(Py_None); | |
6996 | _resultobj = Py_None; | |
6997 | { | |
6998 | if (_obj2) | |
6999 | delete _arg2; | |
7000 | } | |
7001 | return _resultobj; | |
7002 | } | |
7003 | ||
7004 | #define wxStyledTextCtrl_StyleSetFont(_swigobj,_swigarg0,_swigarg1) (_swigobj->StyleSetFont(_swigarg0,_swigarg1)) | |
7005 | static PyObject *_wrap_wxStyledTextCtrl_StyleSetFont(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7006 | PyObject * _resultobj; | |
7007 | wxStyledTextCtrl * _arg0; | |
7008 | int _arg1; | |
7009 | wxFont * _arg2; | |
7010 | PyObject * _argo0 = 0; | |
7011 | PyObject * _argo2 = 0; | |
7012 | char *_kwnames[] = { "self","styleNum","font", NULL }; | |
7013 | ||
7014 | self = self; | |
7015 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxStyledTextCtrl_StyleSetFont",_kwnames,&_argo0,&_arg1,&_argo2)) | |
7016 | return NULL; | |
7017 | if (_argo0) { | |
7018 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7019 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
7020 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_StyleSetFont. Expected _wxStyledTextCtrl_p."); | |
7021 | return NULL; | |
7022 | } | |
7023 | } | |
7024 | if (_argo2) { | |
7025 | if (_argo2 == Py_None) { _arg2 = NULL; } | |
7026 | else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxFont_p")) { | |
7027 | PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxStyledTextCtrl_StyleSetFont. Expected _wxFont_p."); | |
7028 | return NULL; | |
7029 | } | |
7030 | } | |
7031 | { | |
7032 | wxPy_BEGIN_ALLOW_THREADS; | |
7033 | wxStyledTextCtrl_StyleSetFont(_arg0,_arg1,*_arg2); | |
7034 | ||
7035 | wxPy_END_ALLOW_THREADS; | |
7036 | } Py_INCREF(Py_None); | |
7037 | _resultobj = Py_None; | |
7038 | return _resultobj; | |
7039 | } | |
7040 | ||
7041 | #define wxStyledTextCtrl_StyleSetFontAttr(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->StyleSetFontAttr(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5)) | |
7042 | static PyObject *_wrap_wxStyledTextCtrl_StyleSetFontAttr(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7043 | PyObject * _resultobj; | |
7044 | wxStyledTextCtrl * _arg0; | |
7045 | int _arg1; | |
7046 | int _arg2; | |
7047 | wxString * _arg3; | |
7048 | bool _arg4; | |
7049 | bool _arg5; | |
7050 | bool _arg6; | |
7051 | PyObject * _argo0 = 0; | |
7052 | PyObject * _obj3 = 0; | |
7053 | int tempbool4; | |
7054 | int tempbool5; | |
7055 | int tempbool6; | |
7056 | char *_kwnames[] = { "self","styleNum","size","faceName","bold","italic","underline", NULL }; | |
7057 | ||
7058 | self = self; | |
7059 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiiOiii:wxStyledTextCtrl_StyleSetFontAttr",_kwnames,&_argo0,&_arg1,&_arg2,&_obj3,&tempbool4,&tempbool5,&tempbool6)) | |
7060 | return NULL; | |
7061 | if (_argo0) { | |
7062 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7063 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
7064 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_StyleSetFontAttr. Expected _wxStyledTextCtrl_p."); | |
7065 | return NULL; | |
7066 | } | |
7067 | } | |
7068 | { | |
185d7c3e RD |
7069 | #if PYTHON_API_VERSION >= 1009 |
7070 | char* tmpPtr; int tmpSize; | |
7071 | if (!PyString_Check(_obj3) && !PyUnicode_Check(_obj3)) { | |
7a446686 | 7072 | PyErr_SetString(PyExc_TypeError, wxStringErrorMsg); |
185d7c3e RD |
7073 | return NULL; |
7074 | } | |
7075 | if (PyString_AsStringAndSize(_obj3, &tmpPtr, &tmpSize) == -1) | |
7076 | return NULL; | |
7077 | _arg3 = new wxString(tmpPtr, tmpSize); | |
7078 | #else | |
fe47ec10 RD |
7079 | if (!PyString_Check(_obj3)) { |
7080 | PyErr_SetString(PyExc_TypeError, wxStringErrorMsg); | |
7081 | return NULL; | |
7082 | } | |
185d7c3e RD |
7083 | _arg3 = new wxString(PyString_AS_STRING(_obj3), PyString_GET_SIZE(_obj3)); |
7084 | #endif | |
fe47ec10 RD |
7085 | } |
7086 | _arg4 = (bool ) tempbool4; | |
7087 | _arg5 = (bool ) tempbool5; | |
7088 | _arg6 = (bool ) tempbool6; | |
7089 | { | |
7090 | wxPy_BEGIN_ALLOW_THREADS; | |
7091 | wxStyledTextCtrl_StyleSetFontAttr(_arg0,_arg1,_arg2,*_arg3,_arg4,_arg5,_arg6); | |
7092 | ||
7093 | wxPy_END_ALLOW_THREADS; | |
7094 | } Py_INCREF(Py_None); | |
7095 | _resultobj = Py_None; | |
7096 | { | |
7097 | if (_obj3) | |
7098 | delete _arg3; | |
7099 | } | |
7100 | return _resultobj; | |
7101 | } | |
7102 | ||
7103 | #define wxStyledTextCtrl_CmdKeyExecute(_swigobj,_swigarg0) (_swigobj->CmdKeyExecute(_swigarg0)) | |
7104 | static PyObject *_wrap_wxStyledTextCtrl_CmdKeyExecute(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7105 | PyObject * _resultobj; | |
7106 | wxStyledTextCtrl * _arg0; | |
7107 | int _arg1; | |
7108 | PyObject * _argo0 = 0; | |
7109 | char *_kwnames[] = { "self","cmd", NULL }; | |
7110 | ||
7111 | self = self; | |
7112 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_CmdKeyExecute",_kwnames,&_argo0,&_arg1)) | |
7113 | return NULL; | |
7114 | if (_argo0) { | |
7115 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7116 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
7117 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_CmdKeyExecute. Expected _wxStyledTextCtrl_p."); | |
7118 | return NULL; | |
7119 | } | |
7120 | } | |
7121 | { | |
7122 | wxPy_BEGIN_ALLOW_THREADS; | |
7123 | wxStyledTextCtrl_CmdKeyExecute(_arg0,_arg1); | |
7124 | ||
7125 | wxPy_END_ALLOW_THREADS; | |
7126 | } Py_INCREF(Py_None); | |
7127 | _resultobj = Py_None; | |
7128 | return _resultobj; | |
7129 | } | |
7130 | ||
7131 | #define wxStyledTextCtrl_SetMargins(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetMargins(_swigarg0,_swigarg1)) | |
7132 | static PyObject *_wrap_wxStyledTextCtrl_SetMargins(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7133 | PyObject * _resultobj; | |
7134 | wxStyledTextCtrl * _arg0; | |
7135 | int _arg1; | |
7136 | int _arg2; | |
7137 | PyObject * _argo0 = 0; | |
7138 | char *_kwnames[] = { "self","left","right", NULL }; | |
7139 | ||
7140 | self = self; | |
7141 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxStyledTextCtrl_SetMargins",_kwnames,&_argo0,&_arg1,&_arg2)) | |
7142 | return NULL; | |
7143 | if (_argo0) { | |
7144 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7145 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
7146 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetMargins. Expected _wxStyledTextCtrl_p."); | |
7147 | return NULL; | |
7148 | } | |
7149 | } | |
7150 | { | |
7151 | wxPy_BEGIN_ALLOW_THREADS; | |
7152 | wxStyledTextCtrl_SetMargins(_arg0,_arg1,_arg2); | |
7153 | ||
7154 | wxPy_END_ALLOW_THREADS; | |
7155 | } Py_INCREF(Py_None); | |
7156 | _resultobj = Py_None; | |
7157 | return _resultobj; | |
7158 | } | |
7159 | ||
7160 | #define wxStyledTextCtrl_GetSelection(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetSelection(_swigarg0,_swigarg1)) | |
7161 | static PyObject *_wrap_wxStyledTextCtrl_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7162 | PyObject * _resultobj; | |
7163 | wxStyledTextCtrl * _arg0; | |
7164 | int * _arg1; | |
7165 | int temp; | |
7166 | int * _arg2; | |
7167 | int temp0; | |
7168 | PyObject * _argo0 = 0; | |
7169 | char *_kwnames[] = { "self", NULL }; | |
f6bcfd97 BP |
7170 | |
7171 | self = self; | |
fe47ec10 RD |
7172 | { |
7173 | _arg1 = &temp; | |
7174 | } | |
7175 | { | |
7176 | _arg2 = &temp0; | |
7177 | } | |
7178 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetSelection",_kwnames,&_argo0)) | |
f6bcfd97 BP |
7179 | return NULL; |
7180 | if (_argo0) { | |
7181 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7182 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 7183 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetSelection. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
7184 | return NULL; |
7185 | } | |
7186 | } | |
f6bcfd97 BP |
7187 | { |
7188 | wxPy_BEGIN_ALLOW_THREADS; | |
fe47ec10 | 7189 | wxStyledTextCtrl_GetSelection(_arg0,_arg1,_arg2); |
f6bcfd97 BP |
7190 | |
7191 | wxPy_END_ALLOW_THREADS; | |
7192 | } Py_INCREF(Py_None); | |
7193 | _resultobj = Py_None; | |
7194 | { | |
fe47ec10 RD |
7195 | PyObject *o; |
7196 | o = PyInt_FromLong((long) (*_arg1)); | |
7197 | _resultobj = t_output_helper(_resultobj, o); | |
7198 | } | |
7199 | { | |
7200 | PyObject *o; | |
7201 | o = PyInt_FromLong((long) (*_arg2)); | |
7202 | _resultobj = t_output_helper(_resultobj, o); | |
f6bcfd97 BP |
7203 | } |
7204 | return _resultobj; | |
7205 | } | |
7206 | ||
fe47ec10 RD |
7207 | #define wxStyledTextCtrl_PointFromPosition(_swigobj,_swigarg0) (_swigobj->PointFromPosition(_swigarg0)) |
7208 | static PyObject *_wrap_wxStyledTextCtrl_PointFromPosition(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 | 7209 | PyObject * _resultobj; |
fe47ec10 | 7210 | wxPoint * _result; |
f6bcfd97 BP |
7211 | wxStyledTextCtrl * _arg0; |
7212 | int _arg1; | |
7213 | PyObject * _argo0 = 0; | |
fe47ec10 RD |
7214 | char *_kwnames[] = { "self","pos", NULL }; |
7215 | char _ptemp[128]; | |
f6bcfd97 BP |
7216 | |
7217 | self = self; | |
fe47ec10 | 7218 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_PointFromPosition",_kwnames,&_argo0,&_arg1)) |
f6bcfd97 BP |
7219 | return NULL; |
7220 | if (_argo0) { | |
7221 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7222 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 7223 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_PointFromPosition. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
7224 | return NULL; |
7225 | } | |
7226 | } | |
7227 | { | |
7228 | wxPy_BEGIN_ALLOW_THREADS; | |
fe47ec10 | 7229 | _result = new wxPoint (wxStyledTextCtrl_PointFromPosition(_arg0,_arg1)); |
f6bcfd97 BP |
7230 | |
7231 | wxPy_END_ALLOW_THREADS; | |
fe47ec10 RD |
7232 | } SWIG_MakePtr(_ptemp, (void *) _result,"_wxPoint_p"); |
7233 | _resultobj = Py_BuildValue("s",_ptemp); | |
f6bcfd97 BP |
7234 | return _resultobj; |
7235 | } | |
7236 | ||
ea7c631c RD |
7237 | #define wxStyledTextCtrl_ScrollToLine(_swigobj,_swigarg0) (_swigobj->ScrollToLine(_swigarg0)) |
7238 | static PyObject *_wrap_wxStyledTextCtrl_ScrollToLine(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7239 | PyObject * _resultobj; | |
7240 | wxStyledTextCtrl * _arg0; | |
7241 | int _arg1; | |
7242 | PyObject * _argo0 = 0; | |
7243 | char *_kwnames[] = { "self","line", NULL }; | |
7244 | ||
7245 | self = self; | |
7246 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_ScrollToLine",_kwnames,&_argo0,&_arg1)) | |
7247 | return NULL; | |
7248 | if (_argo0) { | |
7249 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7250 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
7251 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_ScrollToLine. Expected _wxStyledTextCtrl_p."); | |
7252 | return NULL; | |
7253 | } | |
7254 | } | |
7255 | { | |
7256 | wxPy_BEGIN_ALLOW_THREADS; | |
7257 | wxStyledTextCtrl_ScrollToLine(_arg0,_arg1); | |
7258 | ||
7259 | wxPy_END_ALLOW_THREADS; | |
7260 | } Py_INCREF(Py_None); | |
7261 | _resultobj = Py_None; | |
7262 | return _resultobj; | |
7263 | } | |
7264 | ||
7265 | #define wxStyledTextCtrl_ScrollToColumn(_swigobj,_swigarg0) (_swigobj->ScrollToColumn(_swigarg0)) | |
7266 | static PyObject *_wrap_wxStyledTextCtrl_ScrollToColumn(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7267 | PyObject * _resultobj; | |
7268 | wxStyledTextCtrl * _arg0; | |
7269 | int _arg1; | |
7270 | PyObject * _argo0 = 0; | |
7271 | char *_kwnames[] = { "self","column", NULL }; | |
7272 | ||
7273 | self = self; | |
7274 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_ScrollToColumn",_kwnames,&_argo0,&_arg1)) | |
7275 | return NULL; | |
7276 | if (_argo0) { | |
7277 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7278 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
7279 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_ScrollToColumn. Expected _wxStyledTextCtrl_p."); | |
7280 | return NULL; | |
7281 | } | |
7282 | } | |
7283 | { | |
7284 | wxPy_BEGIN_ALLOW_THREADS; | |
7285 | wxStyledTextCtrl_ScrollToColumn(_arg0,_arg1); | |
7286 | ||
7287 | wxPy_END_ALLOW_THREADS; | |
7288 | } Py_INCREF(Py_None); | |
7289 | _resultobj = Py_None; | |
7290 | return _resultobj; | |
7291 | } | |
7292 | ||
f6bcfd97 BP |
7293 | static void *SwigwxStyledTextEventTowxCommandEvent(void *ptr) { |
7294 | wxStyledTextEvent *src; | |
7295 | wxCommandEvent *dest; | |
7296 | src = (wxStyledTextEvent *) ptr; | |
7297 | dest = (wxCommandEvent *) src; | |
7298 | return (void *) dest; | |
7299 | } | |
7300 | ||
7301 | static void *SwigwxStyledTextEventTowxEvent(void *ptr) { | |
7302 | wxStyledTextEvent *src; | |
7303 | wxEvent *dest; | |
7304 | src = (wxStyledTextEvent *) ptr; | |
7305 | dest = (wxEvent *) src; | |
7306 | return (void *) dest; | |
7307 | } | |
7308 | ||
7309 | #define new_wxStyledTextEvent(_swigarg0,_swigarg1) (new wxStyledTextEvent(_swigarg0,_swigarg1)) | |
7310 | static PyObject *_wrap_new_wxStyledTextEvent(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7311 | PyObject * _resultobj; | |
7312 | wxStyledTextEvent * _result; | |
7313 | wxEventType _arg0 = (wxEventType ) 0; | |
7314 | int _arg1 = (int ) 0; | |
7315 | char *_kwnames[] = { "commandType","id", NULL }; | |
7316 | char _ptemp[128]; | |
7317 | ||
7318 | self = self; | |
7319 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"|ii:new_wxStyledTextEvent",_kwnames,&_arg0,&_arg1)) | |
7320 | return NULL; | |
7321 | { | |
7322 | wxPy_BEGIN_ALLOW_THREADS; | |
7323 | _result = (wxStyledTextEvent *)new_wxStyledTextEvent(_arg0,_arg1); | |
7324 | ||
7325 | wxPy_END_ALLOW_THREADS; | |
7326 | } if (_result) { | |
7327 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxStyledTextEvent_p"); | |
7328 | _resultobj = Py_BuildValue("s",_ptemp); | |
7329 | } else { | |
7330 | Py_INCREF(Py_None); | |
7331 | _resultobj = Py_None; | |
7332 | } | |
7333 | return _resultobj; | |
7334 | } | |
7335 | ||
7336 | #define delete_wxStyledTextEvent(_swigobj) (delete _swigobj) | |
7337 | static PyObject *_wrap_delete_wxStyledTextEvent(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7338 | PyObject * _resultobj; | |
7339 | wxStyledTextEvent * _arg0; | |
7340 | PyObject * _argo0 = 0; | |
7341 | char *_kwnames[] = { "self", NULL }; | |
7342 | ||
7343 | self = self; | |
7344 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:delete_wxStyledTextEvent",_kwnames,&_argo0)) | |
7345 | return NULL; | |
7346 | if (_argo0) { | |
7347 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7348 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextEvent_p")) { | |
7349 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of delete_wxStyledTextEvent. Expected _wxStyledTextEvent_p."); | |
7350 | return NULL; | |
7351 | } | |
7352 | } | |
7353 | { | |
7354 | wxPy_BEGIN_ALLOW_THREADS; | |
7355 | delete_wxStyledTextEvent(_arg0); | |
7356 | ||
7357 | wxPy_END_ALLOW_THREADS; | |
7358 | } Py_INCREF(Py_None); | |
7359 | _resultobj = Py_None; | |
7360 | return _resultobj; | |
7361 | } | |
7362 | ||
7363 | #define wxStyledTextEvent_SetPosition(_swigobj,_swigarg0) (_swigobj->SetPosition(_swigarg0)) | |
7364 | static PyObject *_wrap_wxStyledTextEvent_SetPosition(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7365 | PyObject * _resultobj; | |
7366 | wxStyledTextEvent * _arg0; | |
7367 | int _arg1; | |
7368 | PyObject * _argo0 = 0; | |
7369 | char *_kwnames[] = { "self","pos", NULL }; | |
7370 | ||
7371 | self = self; | |
7372 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextEvent_SetPosition",_kwnames,&_argo0,&_arg1)) | |
7373 | return NULL; | |
7374 | if (_argo0) { | |
7375 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7376 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextEvent_p")) { | |
7377 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextEvent_SetPosition. Expected _wxStyledTextEvent_p."); | |
7378 | return NULL; | |
7379 | } | |
7380 | } | |
7381 | { | |
7382 | wxPy_BEGIN_ALLOW_THREADS; | |
7383 | wxStyledTextEvent_SetPosition(_arg0,_arg1); | |
7384 | ||
7385 | wxPy_END_ALLOW_THREADS; | |
7386 | } Py_INCREF(Py_None); | |
7387 | _resultobj = Py_None; | |
7388 | return _resultobj; | |
7389 | } | |
7390 | ||
7391 | #define wxStyledTextEvent_SetKey(_swigobj,_swigarg0) (_swigobj->SetKey(_swigarg0)) | |
7392 | static PyObject *_wrap_wxStyledTextEvent_SetKey(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7393 | PyObject * _resultobj; | |
7394 | wxStyledTextEvent * _arg0; | |
7395 | int _arg1; | |
7396 | PyObject * _argo0 = 0; | |
7397 | char *_kwnames[] = { "self","k", NULL }; | |
7398 | ||
7399 | self = self; | |
7400 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextEvent_SetKey",_kwnames,&_argo0,&_arg1)) | |
7401 | return NULL; | |
7402 | if (_argo0) { | |
7403 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7404 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextEvent_p")) { | |
7405 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextEvent_SetKey. Expected _wxStyledTextEvent_p."); | |
7406 | return NULL; | |
7407 | } | |
7408 | } | |
7409 | { | |
7410 | wxPy_BEGIN_ALLOW_THREADS; | |
7411 | wxStyledTextEvent_SetKey(_arg0,_arg1); | |
7412 | ||
7413 | wxPy_END_ALLOW_THREADS; | |
7414 | } Py_INCREF(Py_None); | |
7415 | _resultobj = Py_None; | |
7416 | return _resultobj; | |
7417 | } | |
7418 | ||
7419 | #define wxStyledTextEvent_SetModifiers(_swigobj,_swigarg0) (_swigobj->SetModifiers(_swigarg0)) | |
7420 | static PyObject *_wrap_wxStyledTextEvent_SetModifiers(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7421 | PyObject * _resultobj; | |
7422 | wxStyledTextEvent * _arg0; | |
7423 | int _arg1; | |
7424 | PyObject * _argo0 = 0; | |
7425 | char *_kwnames[] = { "self","m", NULL }; | |
7426 | ||
7427 | self = self; | |
7428 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextEvent_SetModifiers",_kwnames,&_argo0,&_arg1)) | |
7429 | return NULL; | |
7430 | if (_argo0) { | |
7431 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7432 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextEvent_p")) { | |
7433 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextEvent_SetModifiers. Expected _wxStyledTextEvent_p."); | |
7434 | return NULL; | |
7435 | } | |
7436 | } | |
7437 | { | |
7438 | wxPy_BEGIN_ALLOW_THREADS; | |
7439 | wxStyledTextEvent_SetModifiers(_arg0,_arg1); | |
7440 | ||
7441 | wxPy_END_ALLOW_THREADS; | |
7442 | } Py_INCREF(Py_None); | |
7443 | _resultobj = Py_None; | |
7444 | return _resultobj; | |
7445 | } | |
7446 | ||
7447 | #define wxStyledTextEvent_SetModificationType(_swigobj,_swigarg0) (_swigobj->SetModificationType(_swigarg0)) | |
7448 | static PyObject *_wrap_wxStyledTextEvent_SetModificationType(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7449 | PyObject * _resultobj; | |
7450 | wxStyledTextEvent * _arg0; | |
7451 | int _arg1; | |
7452 | PyObject * _argo0 = 0; | |
7453 | char *_kwnames[] = { "self","t", NULL }; | |
7454 | ||
7455 | self = self; | |
7456 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextEvent_SetModificationType",_kwnames,&_argo0,&_arg1)) | |
7457 | return NULL; | |
7458 | if (_argo0) { | |
7459 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7460 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextEvent_p")) { | |
7461 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextEvent_SetModificationType. Expected _wxStyledTextEvent_p."); | |
7462 | return NULL; | |
7463 | } | |
7464 | } | |
7465 | { | |
7466 | wxPy_BEGIN_ALLOW_THREADS; | |
7467 | wxStyledTextEvent_SetModificationType(_arg0,_arg1); | |
7468 | ||
7469 | wxPy_END_ALLOW_THREADS; | |
7470 | } Py_INCREF(Py_None); | |
7471 | _resultobj = Py_None; | |
7472 | return _resultobj; | |
7473 | } | |
7474 | ||
7475 | #define wxStyledTextEvent_SetText(_swigobj,_swigarg0) (_swigobj->SetText(_swigarg0)) | |
7476 | static PyObject *_wrap_wxStyledTextEvent_SetText(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7477 | PyObject * _resultobj; | |
7478 | wxStyledTextEvent * _arg0; | |
7479 | char * _arg1; | |
7480 | PyObject * _argo0 = 0; | |
7481 | char *_kwnames[] = { "self","t", NULL }; | |
7482 | ||
7483 | self = self; | |
7484 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Os:wxStyledTextEvent_SetText",_kwnames,&_argo0,&_arg1)) | |
7485 | return NULL; | |
7486 | if (_argo0) { | |
7487 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7488 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextEvent_p")) { | |
7489 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextEvent_SetText. Expected _wxStyledTextEvent_p."); | |
7490 | return NULL; | |
7491 | } | |
7492 | } | |
7493 | { | |
7494 | wxPy_BEGIN_ALLOW_THREADS; | |
7495 | wxStyledTextEvent_SetText(_arg0,_arg1); | |
7496 | ||
7497 | wxPy_END_ALLOW_THREADS; | |
7498 | } Py_INCREF(Py_None); | |
7499 | _resultobj = Py_None; | |
7500 | return _resultobj; | |
7501 | } | |
7502 | ||
7503 | #define wxStyledTextEvent_SetLength(_swigobj,_swigarg0) (_swigobj->SetLength(_swigarg0)) | |
7504 | static PyObject *_wrap_wxStyledTextEvent_SetLength(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7505 | PyObject * _resultobj; | |
7506 | wxStyledTextEvent * _arg0; | |
7507 | int _arg1; | |
7508 | PyObject * _argo0 = 0; | |
7509 | char *_kwnames[] = { "self","len", NULL }; | |
7510 | ||
7511 | self = self; | |
7512 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextEvent_SetLength",_kwnames,&_argo0,&_arg1)) | |
7513 | return NULL; | |
7514 | if (_argo0) { | |
7515 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7516 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextEvent_p")) { | |
7517 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextEvent_SetLength. Expected _wxStyledTextEvent_p."); | |
7518 | return NULL; | |
7519 | } | |
7520 | } | |
7521 | { | |
7522 | wxPy_BEGIN_ALLOW_THREADS; | |
7523 | wxStyledTextEvent_SetLength(_arg0,_arg1); | |
7524 | ||
7525 | wxPy_END_ALLOW_THREADS; | |
7526 | } Py_INCREF(Py_None); | |
7527 | _resultobj = Py_None; | |
7528 | return _resultobj; | |
7529 | } | |
7530 | ||
7531 | #define wxStyledTextEvent_SetLinesAdded(_swigobj,_swigarg0) (_swigobj->SetLinesAdded(_swigarg0)) | |
7532 | static PyObject *_wrap_wxStyledTextEvent_SetLinesAdded(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7533 | PyObject * _resultobj; | |
7534 | wxStyledTextEvent * _arg0; | |
7535 | int _arg1; | |
7536 | PyObject * _argo0 = 0; | |
7537 | char *_kwnames[] = { "self","num", NULL }; | |
7538 | ||
7539 | self = self; | |
7540 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextEvent_SetLinesAdded",_kwnames,&_argo0,&_arg1)) | |
7541 | return NULL; | |
7542 | if (_argo0) { | |
7543 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7544 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextEvent_p")) { | |
7545 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextEvent_SetLinesAdded. Expected _wxStyledTextEvent_p."); | |
7546 | return NULL; | |
7547 | } | |
7548 | } | |
7549 | { | |
7550 | wxPy_BEGIN_ALLOW_THREADS; | |
7551 | wxStyledTextEvent_SetLinesAdded(_arg0,_arg1); | |
7552 | ||
7553 | wxPy_END_ALLOW_THREADS; | |
7554 | } Py_INCREF(Py_None); | |
7555 | _resultobj = Py_None; | |
7556 | return _resultobj; | |
7557 | } | |
7558 | ||
7559 | #define wxStyledTextEvent_SetLine(_swigobj,_swigarg0) (_swigobj->SetLine(_swigarg0)) | |
7560 | static PyObject *_wrap_wxStyledTextEvent_SetLine(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7561 | PyObject * _resultobj; | |
7562 | wxStyledTextEvent * _arg0; | |
7563 | int _arg1; | |
7564 | PyObject * _argo0 = 0; | |
7565 | char *_kwnames[] = { "self","val", NULL }; | |
7566 | ||
7567 | self = self; | |
7568 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextEvent_SetLine",_kwnames,&_argo0,&_arg1)) | |
7569 | return NULL; | |
7570 | if (_argo0) { | |
7571 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7572 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextEvent_p")) { | |
7573 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextEvent_SetLine. Expected _wxStyledTextEvent_p."); | |
7574 | return NULL; | |
7575 | } | |
7576 | } | |
7577 | { | |
7578 | wxPy_BEGIN_ALLOW_THREADS; | |
7579 | wxStyledTextEvent_SetLine(_arg0,_arg1); | |
7580 | ||
7581 | wxPy_END_ALLOW_THREADS; | |
7582 | } Py_INCREF(Py_None); | |
7583 | _resultobj = Py_None; | |
7584 | return _resultobj; | |
7585 | } | |
7586 | ||
7587 | #define wxStyledTextEvent_SetFoldLevelNow(_swigobj,_swigarg0) (_swigobj->SetFoldLevelNow(_swigarg0)) | |
7588 | static PyObject *_wrap_wxStyledTextEvent_SetFoldLevelNow(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7589 | PyObject * _resultobj; | |
7590 | wxStyledTextEvent * _arg0; | |
7591 | int _arg1; | |
7592 | PyObject * _argo0 = 0; | |
7593 | char *_kwnames[] = { "self","val", NULL }; | |
7594 | ||
7595 | self = self; | |
7596 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextEvent_SetFoldLevelNow",_kwnames,&_argo0,&_arg1)) | |
7597 | return NULL; | |
7598 | if (_argo0) { | |
7599 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7600 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextEvent_p")) { | |
7601 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextEvent_SetFoldLevelNow. Expected _wxStyledTextEvent_p."); | |
7602 | return NULL; | |
7603 | } | |
7604 | } | |
7605 | { | |
7606 | wxPy_BEGIN_ALLOW_THREADS; | |
7607 | wxStyledTextEvent_SetFoldLevelNow(_arg0,_arg1); | |
7608 | ||
7609 | wxPy_END_ALLOW_THREADS; | |
7610 | } Py_INCREF(Py_None); | |
7611 | _resultobj = Py_None; | |
7612 | return _resultobj; | |
7613 | } | |
7614 | ||
7615 | #define wxStyledTextEvent_SetFoldLevelPrev(_swigobj,_swigarg0) (_swigobj->SetFoldLevelPrev(_swigarg0)) | |
7616 | static PyObject *_wrap_wxStyledTextEvent_SetFoldLevelPrev(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7617 | PyObject * _resultobj; | |
7618 | wxStyledTextEvent * _arg0; | |
7619 | int _arg1; | |
7620 | PyObject * _argo0 = 0; | |
7621 | char *_kwnames[] = { "self","val", NULL }; | |
7622 | ||
7623 | self = self; | |
7624 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextEvent_SetFoldLevelPrev",_kwnames,&_argo0,&_arg1)) | |
7625 | return NULL; | |
7626 | if (_argo0) { | |
7627 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7628 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextEvent_p")) { | |
7629 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextEvent_SetFoldLevelPrev. Expected _wxStyledTextEvent_p."); | |
7630 | return NULL; | |
7631 | } | |
7632 | } | |
7633 | { | |
7634 | wxPy_BEGIN_ALLOW_THREADS; | |
7635 | wxStyledTextEvent_SetFoldLevelPrev(_arg0,_arg1); | |
7636 | ||
7637 | wxPy_END_ALLOW_THREADS; | |
7638 | } Py_INCREF(Py_None); | |
7639 | _resultobj = Py_None; | |
7640 | return _resultobj; | |
7641 | } | |
7642 | ||
7643 | #define wxStyledTextEvent_SetMargin(_swigobj,_swigarg0) (_swigobj->SetMargin(_swigarg0)) | |
7644 | static PyObject *_wrap_wxStyledTextEvent_SetMargin(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7645 | PyObject * _resultobj; | |
7646 | wxStyledTextEvent * _arg0; | |
7647 | int _arg1; | |
7648 | PyObject * _argo0 = 0; | |
7649 | char *_kwnames[] = { "self","val", NULL }; | |
7650 | ||
7651 | self = self; | |
7652 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextEvent_SetMargin",_kwnames,&_argo0,&_arg1)) | |
7653 | return NULL; | |
7654 | if (_argo0) { | |
7655 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7656 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextEvent_p")) { | |
7657 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextEvent_SetMargin. Expected _wxStyledTextEvent_p."); | |
7658 | return NULL; | |
7659 | } | |
7660 | } | |
7661 | { | |
7662 | wxPy_BEGIN_ALLOW_THREADS; | |
7663 | wxStyledTextEvent_SetMargin(_arg0,_arg1); | |
7664 | ||
7665 | wxPy_END_ALLOW_THREADS; | |
7666 | } Py_INCREF(Py_None); | |
7667 | _resultobj = Py_None; | |
7668 | return _resultobj; | |
7669 | } | |
7670 | ||
7671 | #define wxStyledTextEvent_SetMessage(_swigobj,_swigarg0) (_swigobj->SetMessage(_swigarg0)) | |
7672 | static PyObject *_wrap_wxStyledTextEvent_SetMessage(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7673 | PyObject * _resultobj; | |
7674 | wxStyledTextEvent * _arg0; | |
7675 | int _arg1; | |
7676 | PyObject * _argo0 = 0; | |
7677 | char *_kwnames[] = { "self","val", NULL }; | |
7678 | ||
7679 | self = self; | |
7680 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextEvent_SetMessage",_kwnames,&_argo0,&_arg1)) | |
7681 | return NULL; | |
7682 | if (_argo0) { | |
7683 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7684 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextEvent_p")) { | |
7685 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextEvent_SetMessage. Expected _wxStyledTextEvent_p."); | |
7686 | return NULL; | |
7687 | } | |
7688 | } | |
7689 | { | |
7690 | wxPy_BEGIN_ALLOW_THREADS; | |
7691 | wxStyledTextEvent_SetMessage(_arg0,_arg1); | |
7692 | ||
7693 | wxPy_END_ALLOW_THREADS; | |
7694 | } Py_INCREF(Py_None); | |
7695 | _resultobj = Py_None; | |
7696 | return _resultobj; | |
7697 | } | |
7698 | ||
7699 | #define wxStyledTextEvent_SetWParam(_swigobj,_swigarg0) (_swigobj->SetWParam(_swigarg0)) | |
7700 | static PyObject *_wrap_wxStyledTextEvent_SetWParam(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7701 | PyObject * _resultobj; | |
7702 | wxStyledTextEvent * _arg0; | |
7703 | int _arg1; | |
7704 | PyObject * _argo0 = 0; | |
7705 | char *_kwnames[] = { "self","val", NULL }; | |
7706 | ||
7707 | self = self; | |
7708 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextEvent_SetWParam",_kwnames,&_argo0,&_arg1)) | |
7709 | return NULL; | |
7710 | if (_argo0) { | |
7711 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7712 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextEvent_p")) { | |
7713 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextEvent_SetWParam. Expected _wxStyledTextEvent_p."); | |
7714 | return NULL; | |
7715 | } | |
7716 | } | |
7717 | { | |
7718 | wxPy_BEGIN_ALLOW_THREADS; | |
7719 | wxStyledTextEvent_SetWParam(_arg0,_arg1); | |
7720 | ||
7721 | wxPy_END_ALLOW_THREADS; | |
7722 | } Py_INCREF(Py_None); | |
7723 | _resultobj = Py_None; | |
7724 | return _resultobj; | |
7725 | } | |
7726 | ||
7727 | #define wxStyledTextEvent_SetLParam(_swigobj,_swigarg0) (_swigobj->SetLParam(_swigarg0)) | |
7728 | static PyObject *_wrap_wxStyledTextEvent_SetLParam(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7729 | PyObject * _resultobj; | |
7730 | wxStyledTextEvent * _arg0; | |
7731 | int _arg1; | |
7732 | PyObject * _argo0 = 0; | |
7733 | char *_kwnames[] = { "self","val", NULL }; | |
7734 | ||
7735 | self = self; | |
7736 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextEvent_SetLParam",_kwnames,&_argo0,&_arg1)) | |
7737 | return NULL; | |
7738 | if (_argo0) { | |
7739 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7740 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextEvent_p")) { | |
7741 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextEvent_SetLParam. Expected _wxStyledTextEvent_p."); | |
7742 | return NULL; | |
7743 | } | |
7744 | } | |
7745 | { | |
7746 | wxPy_BEGIN_ALLOW_THREADS; | |
7747 | wxStyledTextEvent_SetLParam(_arg0,_arg1); | |
7748 | ||
7749 | wxPy_END_ALLOW_THREADS; | |
7750 | } Py_INCREF(Py_None); | |
7751 | _resultobj = Py_None; | |
7752 | return _resultobj; | |
7753 | } | |
7754 | ||
7755 | #define wxStyledTextEvent_GetPosition(_swigobj) (_swigobj->GetPosition()) | |
7756 | static PyObject *_wrap_wxStyledTextEvent_GetPosition(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7757 | PyObject * _resultobj; | |
7758 | int _result; | |
7759 | wxStyledTextEvent * _arg0; | |
7760 | PyObject * _argo0 = 0; | |
7761 | char *_kwnames[] = { "self", NULL }; | |
7762 | ||
7763 | self = self; | |
7764 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextEvent_GetPosition",_kwnames,&_argo0)) | |
7765 | return NULL; | |
7766 | if (_argo0) { | |
7767 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7768 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextEvent_p")) { | |
7769 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextEvent_GetPosition. Expected _wxStyledTextEvent_p."); | |
7770 | return NULL; | |
7771 | } | |
7772 | } | |
7773 | { | |
7774 | wxPy_BEGIN_ALLOW_THREADS; | |
7775 | _result = (int )wxStyledTextEvent_GetPosition(_arg0); | |
7776 | ||
7777 | wxPy_END_ALLOW_THREADS; | |
7778 | } _resultobj = Py_BuildValue("i",_result); | |
7779 | return _resultobj; | |
7780 | } | |
7781 | ||
7782 | #define wxStyledTextEvent_GetKey(_swigobj) (_swigobj->GetKey()) | |
7783 | static PyObject *_wrap_wxStyledTextEvent_GetKey(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7784 | PyObject * _resultobj; | |
7785 | int _result; | |
7786 | wxStyledTextEvent * _arg0; | |
7787 | PyObject * _argo0 = 0; | |
7788 | char *_kwnames[] = { "self", NULL }; | |
7789 | ||
7790 | self = self; | |
7791 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextEvent_GetKey",_kwnames,&_argo0)) | |
7792 | return NULL; | |
7793 | if (_argo0) { | |
7794 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7795 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextEvent_p")) { | |
7796 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextEvent_GetKey. Expected _wxStyledTextEvent_p."); | |
7797 | return NULL; | |
7798 | } | |
7799 | } | |
7800 | { | |
7801 | wxPy_BEGIN_ALLOW_THREADS; | |
7802 | _result = (int )wxStyledTextEvent_GetKey(_arg0); | |
7803 | ||
7804 | wxPy_END_ALLOW_THREADS; | |
7805 | } _resultobj = Py_BuildValue("i",_result); | |
7806 | return _resultobj; | |
7807 | } | |
7808 | ||
7809 | #define wxStyledTextEvent_GetModifiers(_swigobj) (_swigobj->GetModifiers()) | |
7810 | static PyObject *_wrap_wxStyledTextEvent_GetModifiers(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7811 | PyObject * _resultobj; | |
7812 | int _result; | |
7813 | wxStyledTextEvent * _arg0; | |
7814 | PyObject * _argo0 = 0; | |
7815 | char *_kwnames[] = { "self", NULL }; | |
7816 | ||
7817 | self = self; | |
7818 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextEvent_GetModifiers",_kwnames,&_argo0)) | |
7819 | return NULL; | |
7820 | if (_argo0) { | |
7821 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7822 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextEvent_p")) { | |
7823 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextEvent_GetModifiers. Expected _wxStyledTextEvent_p."); | |
7824 | return NULL; | |
7825 | } | |
7826 | } | |
7827 | { | |
7828 | wxPy_BEGIN_ALLOW_THREADS; | |
7829 | _result = (int )wxStyledTextEvent_GetModifiers(_arg0); | |
7830 | ||
7831 | wxPy_END_ALLOW_THREADS; | |
7832 | } _resultobj = Py_BuildValue("i",_result); | |
7833 | return _resultobj; | |
7834 | } | |
7835 | ||
7836 | #define wxStyledTextEvent_GetModificationType(_swigobj) (_swigobj->GetModificationType()) | |
7837 | static PyObject *_wrap_wxStyledTextEvent_GetModificationType(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7838 | PyObject * _resultobj; | |
7839 | int _result; | |
7840 | wxStyledTextEvent * _arg0; | |
7841 | PyObject * _argo0 = 0; | |
7842 | char *_kwnames[] = { "self", NULL }; | |
7843 | ||
7844 | self = self; | |
7845 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextEvent_GetModificationType",_kwnames,&_argo0)) | |
7846 | return NULL; | |
7847 | if (_argo0) { | |
7848 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7849 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextEvent_p")) { | |
7850 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextEvent_GetModificationType. Expected _wxStyledTextEvent_p."); | |
7851 | return NULL; | |
7852 | } | |
7853 | } | |
7854 | { | |
7855 | wxPy_BEGIN_ALLOW_THREADS; | |
7856 | _result = (int )wxStyledTextEvent_GetModificationType(_arg0); | |
7857 | ||
7858 | wxPy_END_ALLOW_THREADS; | |
7859 | } _resultobj = Py_BuildValue("i",_result); | |
7860 | return _resultobj; | |
7861 | } | |
7862 | ||
7863 | #define wxStyledTextEvent_GetText(_swigobj) (_swigobj->GetText()) | |
7864 | static PyObject *_wrap_wxStyledTextEvent_GetText(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7865 | PyObject * _resultobj; | |
7866 | wxString * _result; | |
7867 | wxStyledTextEvent * _arg0; | |
7868 | PyObject * _argo0 = 0; | |
7869 | char *_kwnames[] = { "self", NULL }; | |
7870 | ||
7871 | self = self; | |
7872 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextEvent_GetText",_kwnames,&_argo0)) | |
7873 | return NULL; | |
7874 | if (_argo0) { | |
7875 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7876 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextEvent_p")) { | |
7877 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextEvent_GetText. Expected _wxStyledTextEvent_p."); | |
7878 | return NULL; | |
7879 | } | |
7880 | } | |
7881 | { | |
7882 | wxPy_BEGIN_ALLOW_THREADS; | |
7883 | _result = new wxString (wxStyledTextEvent_GetText(_arg0)); | |
7884 | ||
7885 | wxPy_END_ALLOW_THREADS; | |
7886 | }{ | |
7887 | _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len()); | |
7888 | } | |
7889 | { | |
7890 | delete _result; | |
7891 | } | |
7892 | return _resultobj; | |
7893 | } | |
7894 | ||
7895 | #define wxStyledTextEvent_GetLength(_swigobj) (_swigobj->GetLength()) | |
7896 | static PyObject *_wrap_wxStyledTextEvent_GetLength(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7897 | PyObject * _resultobj; | |
7898 | int _result; | |
7899 | wxStyledTextEvent * _arg0; | |
7900 | PyObject * _argo0 = 0; | |
7901 | char *_kwnames[] = { "self", NULL }; | |
7902 | ||
7903 | self = self; | |
7904 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextEvent_GetLength",_kwnames,&_argo0)) | |
7905 | return NULL; | |
7906 | if (_argo0) { | |
7907 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7908 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextEvent_p")) { | |
7909 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextEvent_GetLength. Expected _wxStyledTextEvent_p."); | |
7910 | return NULL; | |
7911 | } | |
7912 | } | |
7913 | { | |
7914 | wxPy_BEGIN_ALLOW_THREADS; | |
7915 | _result = (int )wxStyledTextEvent_GetLength(_arg0); | |
7916 | ||
7917 | wxPy_END_ALLOW_THREADS; | |
7918 | } _resultobj = Py_BuildValue("i",_result); | |
7919 | return _resultobj; | |
7920 | } | |
7921 | ||
7922 | #define wxStyledTextEvent_GetLinesAdded(_swigobj) (_swigobj->GetLinesAdded()) | |
7923 | static PyObject *_wrap_wxStyledTextEvent_GetLinesAdded(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7924 | PyObject * _resultobj; | |
7925 | int _result; | |
7926 | wxStyledTextEvent * _arg0; | |
7927 | PyObject * _argo0 = 0; | |
7928 | char *_kwnames[] = { "self", NULL }; | |
7929 | ||
7930 | self = self; | |
7931 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextEvent_GetLinesAdded",_kwnames,&_argo0)) | |
7932 | return NULL; | |
7933 | if (_argo0) { | |
7934 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7935 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextEvent_p")) { | |
7936 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextEvent_GetLinesAdded. Expected _wxStyledTextEvent_p."); | |
7937 | return NULL; | |
7938 | } | |
7939 | } | |
7940 | { | |
7941 | wxPy_BEGIN_ALLOW_THREADS; | |
7942 | _result = (int )wxStyledTextEvent_GetLinesAdded(_arg0); | |
7943 | ||
7944 | wxPy_END_ALLOW_THREADS; | |
7945 | } _resultobj = Py_BuildValue("i",_result); | |
7946 | return _resultobj; | |
7947 | } | |
7948 | ||
7949 | #define wxStyledTextEvent_GetLine(_swigobj) (_swigobj->GetLine()) | |
7950 | static PyObject *_wrap_wxStyledTextEvent_GetLine(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7951 | PyObject * _resultobj; | |
7952 | int _result; | |
7953 | wxStyledTextEvent * _arg0; | |
7954 | PyObject * _argo0 = 0; | |
7955 | char *_kwnames[] = { "self", NULL }; | |
7956 | ||
7957 | self = self; | |
7958 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextEvent_GetLine",_kwnames,&_argo0)) | |
7959 | return NULL; | |
7960 | if (_argo0) { | |
7961 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7962 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextEvent_p")) { | |
7963 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextEvent_GetLine. Expected _wxStyledTextEvent_p."); | |
7964 | return NULL; | |
7965 | } | |
7966 | } | |
7967 | { | |
7968 | wxPy_BEGIN_ALLOW_THREADS; | |
7969 | _result = (int )wxStyledTextEvent_GetLine(_arg0); | |
7970 | ||
7971 | wxPy_END_ALLOW_THREADS; | |
7972 | } _resultobj = Py_BuildValue("i",_result); | |
7973 | return _resultobj; | |
7974 | } | |
7975 | ||
7976 | #define wxStyledTextEvent_GetFoldLevelNow(_swigobj) (_swigobj->GetFoldLevelNow()) | |
7977 | static PyObject *_wrap_wxStyledTextEvent_GetFoldLevelNow(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7978 | PyObject * _resultobj; | |
7979 | int _result; | |
7980 | wxStyledTextEvent * _arg0; | |
7981 | PyObject * _argo0 = 0; | |
7982 | char *_kwnames[] = { "self", NULL }; | |
7983 | ||
7984 | self = self; | |
7985 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextEvent_GetFoldLevelNow",_kwnames,&_argo0)) | |
7986 | return NULL; | |
7987 | if (_argo0) { | |
7988 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7989 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextEvent_p")) { | |
7990 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextEvent_GetFoldLevelNow. Expected _wxStyledTextEvent_p."); | |
7991 | return NULL; | |
7992 | } | |
7993 | } | |
7994 | { | |
7995 | wxPy_BEGIN_ALLOW_THREADS; | |
7996 | _result = (int )wxStyledTextEvent_GetFoldLevelNow(_arg0); | |
7997 | ||
7998 | wxPy_END_ALLOW_THREADS; | |
7999 | } _resultobj = Py_BuildValue("i",_result); | |
8000 | return _resultobj; | |
8001 | } | |
8002 | ||
8003 | #define wxStyledTextEvent_GetFoldLevelPrev(_swigobj) (_swigobj->GetFoldLevelPrev()) | |
8004 | static PyObject *_wrap_wxStyledTextEvent_GetFoldLevelPrev(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8005 | PyObject * _resultobj; | |
8006 | int _result; | |
8007 | wxStyledTextEvent * _arg0; | |
8008 | PyObject * _argo0 = 0; | |
8009 | char *_kwnames[] = { "self", NULL }; | |
8010 | ||
8011 | self = self; | |
8012 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextEvent_GetFoldLevelPrev",_kwnames,&_argo0)) | |
8013 | return NULL; | |
8014 | if (_argo0) { | |
8015 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
8016 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextEvent_p")) { | |
8017 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextEvent_GetFoldLevelPrev. Expected _wxStyledTextEvent_p."); | |
8018 | return NULL; | |
8019 | } | |
8020 | } | |
8021 | { | |
8022 | wxPy_BEGIN_ALLOW_THREADS; | |
8023 | _result = (int )wxStyledTextEvent_GetFoldLevelPrev(_arg0); | |
8024 | ||
8025 | wxPy_END_ALLOW_THREADS; | |
8026 | } _resultobj = Py_BuildValue("i",_result); | |
8027 | return _resultobj; | |
8028 | } | |
8029 | ||
8030 | #define wxStyledTextEvent_GetMargin(_swigobj) (_swigobj->GetMargin()) | |
8031 | static PyObject *_wrap_wxStyledTextEvent_GetMargin(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8032 | PyObject * _resultobj; | |
8033 | int _result; | |
8034 | wxStyledTextEvent * _arg0; | |
8035 | PyObject * _argo0 = 0; | |
8036 | char *_kwnames[] = { "self", NULL }; | |
8037 | ||
8038 | self = self; | |
8039 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextEvent_GetMargin",_kwnames,&_argo0)) | |
8040 | return NULL; | |
8041 | if (_argo0) { | |
8042 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
8043 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextEvent_p")) { | |
8044 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextEvent_GetMargin. Expected _wxStyledTextEvent_p."); | |
8045 | return NULL; | |
8046 | } | |
8047 | } | |
8048 | { | |
8049 | wxPy_BEGIN_ALLOW_THREADS; | |
8050 | _result = (int )wxStyledTextEvent_GetMargin(_arg0); | |
8051 | ||
8052 | wxPy_END_ALLOW_THREADS; | |
8053 | } _resultobj = Py_BuildValue("i",_result); | |
8054 | return _resultobj; | |
8055 | } | |
8056 | ||
8057 | #define wxStyledTextEvent_GetMessage(_swigobj) (_swigobj->GetMessage()) | |
8058 | static PyObject *_wrap_wxStyledTextEvent_GetMessage(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8059 | PyObject * _resultobj; | |
8060 | int _result; | |
8061 | wxStyledTextEvent * _arg0; | |
8062 | PyObject * _argo0 = 0; | |
8063 | char *_kwnames[] = { "self", NULL }; | |
8064 | ||
8065 | self = self; | |
8066 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextEvent_GetMessage",_kwnames,&_argo0)) | |
8067 | return NULL; | |
8068 | if (_argo0) { | |
8069 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
8070 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextEvent_p")) { | |
8071 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextEvent_GetMessage. Expected _wxStyledTextEvent_p."); | |
8072 | return NULL; | |
8073 | } | |
8074 | } | |
8075 | { | |
8076 | wxPy_BEGIN_ALLOW_THREADS; | |
8077 | _result = (int )wxStyledTextEvent_GetMessage(_arg0); | |
8078 | ||
8079 | wxPy_END_ALLOW_THREADS; | |
8080 | } _resultobj = Py_BuildValue("i",_result); | |
8081 | return _resultobj; | |
8082 | } | |
8083 | ||
8084 | #define wxStyledTextEvent_GetWParam(_swigobj) (_swigobj->GetWParam()) | |
8085 | static PyObject *_wrap_wxStyledTextEvent_GetWParam(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8086 | PyObject * _resultobj; | |
8087 | int _result; | |
8088 | wxStyledTextEvent * _arg0; | |
8089 | PyObject * _argo0 = 0; | |
8090 | char *_kwnames[] = { "self", NULL }; | |
8091 | ||
8092 | self = self; | |
8093 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextEvent_GetWParam",_kwnames,&_argo0)) | |
8094 | return NULL; | |
8095 | if (_argo0) { | |
8096 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
8097 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextEvent_p")) { | |
8098 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextEvent_GetWParam. Expected _wxStyledTextEvent_p."); | |
8099 | return NULL; | |
8100 | } | |
8101 | } | |
8102 | { | |
8103 | wxPy_BEGIN_ALLOW_THREADS; | |
8104 | _result = (int )wxStyledTextEvent_GetWParam(_arg0); | |
8105 | ||
8106 | wxPy_END_ALLOW_THREADS; | |
8107 | } _resultobj = Py_BuildValue("i",_result); | |
8108 | return _resultobj; | |
8109 | } | |
8110 | ||
8111 | #define wxStyledTextEvent_GetLParam(_swigobj) (_swigobj->GetLParam()) | |
8112 | static PyObject *_wrap_wxStyledTextEvent_GetLParam(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8113 | PyObject * _resultobj; | |
8114 | int _result; | |
8115 | wxStyledTextEvent * _arg0; | |
8116 | PyObject * _argo0 = 0; | |
8117 | char *_kwnames[] = { "self", NULL }; | |
8118 | ||
8119 | self = self; | |
8120 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextEvent_GetLParam",_kwnames,&_argo0)) | |
8121 | return NULL; | |
8122 | if (_argo0) { | |
8123 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
8124 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextEvent_p")) { | |
8125 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextEvent_GetLParam. Expected _wxStyledTextEvent_p."); | |
8126 | return NULL; | |
8127 | } | |
8128 | } | |
8129 | { | |
8130 | wxPy_BEGIN_ALLOW_THREADS; | |
8131 | _result = (int )wxStyledTextEvent_GetLParam(_arg0); | |
8132 | ||
8133 | wxPy_END_ALLOW_THREADS; | |
8134 | } _resultobj = Py_BuildValue("i",_result); | |
8135 | return _resultobj; | |
8136 | } | |
8137 | ||
8138 | #define wxStyledTextEvent_GetShift(_swigobj) (_swigobj->GetShift()) | |
8139 | static PyObject *_wrap_wxStyledTextEvent_GetShift(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8140 | PyObject * _resultobj; | |
8141 | bool _result; | |
8142 | wxStyledTextEvent * _arg0; | |
8143 | PyObject * _argo0 = 0; | |
8144 | char *_kwnames[] = { "self", NULL }; | |
8145 | ||
8146 | self = self; | |
8147 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextEvent_GetShift",_kwnames,&_argo0)) | |
8148 | return NULL; | |
8149 | if (_argo0) { | |
8150 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
8151 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextEvent_p")) { | |
8152 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextEvent_GetShift. Expected _wxStyledTextEvent_p."); | |
8153 | return NULL; | |
8154 | } | |
8155 | } | |
8156 | { | |
8157 | wxPy_BEGIN_ALLOW_THREADS; | |
8158 | _result = (bool )wxStyledTextEvent_GetShift(_arg0); | |
8159 | ||
8160 | wxPy_END_ALLOW_THREADS; | |
8161 | } _resultobj = Py_BuildValue("i",_result); | |
8162 | return _resultobj; | |
8163 | } | |
8164 | ||
8165 | #define wxStyledTextEvent_GetControl(_swigobj) (_swigobj->GetControl()) | |
8166 | static PyObject *_wrap_wxStyledTextEvent_GetControl(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8167 | PyObject * _resultobj; | |
8168 | bool _result; | |
8169 | wxStyledTextEvent * _arg0; | |
8170 | PyObject * _argo0 = 0; | |
8171 | char *_kwnames[] = { "self", NULL }; | |
8172 | ||
8173 | self = self; | |
8174 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextEvent_GetControl",_kwnames,&_argo0)) | |
8175 | return NULL; | |
8176 | if (_argo0) { | |
8177 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
8178 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextEvent_p")) { | |
8179 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextEvent_GetControl. Expected _wxStyledTextEvent_p."); | |
8180 | return NULL; | |
8181 | } | |
8182 | } | |
8183 | { | |
8184 | wxPy_BEGIN_ALLOW_THREADS; | |
8185 | _result = (bool )wxStyledTextEvent_GetControl(_arg0); | |
8186 | ||
8187 | wxPy_END_ALLOW_THREADS; | |
8188 | } _resultobj = Py_BuildValue("i",_result); | |
8189 | return _resultobj; | |
8190 | } | |
8191 | ||
8192 | #define wxStyledTextEvent_GetAlt(_swigobj) (_swigobj->GetAlt()) | |
8193 | static PyObject *_wrap_wxStyledTextEvent_GetAlt(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8194 | PyObject * _resultobj; | |
8195 | bool _result; | |
8196 | wxStyledTextEvent * _arg0; | |
8197 | PyObject * _argo0 = 0; | |
8198 | char *_kwnames[] = { "self", NULL }; | |
8199 | ||
8200 | self = self; | |
8201 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextEvent_GetAlt",_kwnames,&_argo0)) | |
8202 | return NULL; | |
8203 | if (_argo0) { | |
8204 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
8205 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextEvent_p")) { | |
8206 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextEvent_GetAlt. Expected _wxStyledTextEvent_p."); | |
8207 | return NULL; | |
8208 | } | |
8209 | } | |
8210 | { | |
8211 | wxPy_BEGIN_ALLOW_THREADS; | |
8212 | _result = (bool )wxStyledTextEvent_GetAlt(_arg0); | |
8213 | ||
8214 | wxPy_END_ALLOW_THREADS; | |
8215 | } _resultobj = Py_BuildValue("i",_result); | |
8216 | return _resultobj; | |
8217 | } | |
8218 | ||
8219 | #define wxStyledTextEvent_CopyObject(_swigobj,_swigarg0) (_swigobj->CopyObject(_swigarg0)) | |
8220 | static PyObject *_wrap_wxStyledTextEvent_CopyObject(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8221 | PyObject * _resultobj; | |
8222 | wxStyledTextEvent * _arg0; | |
8223 | wxObject * _arg1; | |
8224 | PyObject * _argo0 = 0; | |
8225 | PyObject * _argo1 = 0; | |
8226 | char *_kwnames[] = { "self","obj", NULL }; | |
8227 | ||
8228 | self = self; | |
8229 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxStyledTextEvent_CopyObject",_kwnames,&_argo0,&_argo1)) | |
8230 | return NULL; | |
8231 | if (_argo0) { | |
8232 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
8233 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextEvent_p")) { | |
8234 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextEvent_CopyObject. Expected _wxStyledTextEvent_p."); | |
8235 | return NULL; | |
8236 | } | |
8237 | } | |
8238 | if (_argo1) { | |
8239 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
8240 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxObject_p")) { | |
8241 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxStyledTextEvent_CopyObject. Expected _wxObject_p."); | |
8242 | return NULL; | |
8243 | } | |
8244 | } | |
8245 | { | |
8246 | wxPy_BEGIN_ALLOW_THREADS; | |
8247 | wxStyledTextEvent_CopyObject(_arg0,*_arg1); | |
8248 | ||
8249 | wxPy_END_ALLOW_THREADS; | |
8250 | } Py_INCREF(Py_None); | |
8251 | _resultobj = Py_None; | |
8252 | return _resultobj; | |
8253 | } | |
8254 | ||
8255 | static PyMethodDef stc_cMethods[] = { | |
8256 | { "wxStyledTextEvent_CopyObject", (PyCFunction) _wrap_wxStyledTextEvent_CopyObject, METH_VARARGS | METH_KEYWORDS }, | |
8257 | { "wxStyledTextEvent_GetAlt", (PyCFunction) _wrap_wxStyledTextEvent_GetAlt, METH_VARARGS | METH_KEYWORDS }, | |
8258 | { "wxStyledTextEvent_GetControl", (PyCFunction) _wrap_wxStyledTextEvent_GetControl, METH_VARARGS | METH_KEYWORDS }, | |
8259 | { "wxStyledTextEvent_GetShift", (PyCFunction) _wrap_wxStyledTextEvent_GetShift, METH_VARARGS | METH_KEYWORDS }, | |
8260 | { "wxStyledTextEvent_GetLParam", (PyCFunction) _wrap_wxStyledTextEvent_GetLParam, METH_VARARGS | METH_KEYWORDS }, | |
8261 | { "wxStyledTextEvent_GetWParam", (PyCFunction) _wrap_wxStyledTextEvent_GetWParam, METH_VARARGS | METH_KEYWORDS }, | |
8262 | { "wxStyledTextEvent_GetMessage", (PyCFunction) _wrap_wxStyledTextEvent_GetMessage, METH_VARARGS | METH_KEYWORDS }, | |
8263 | { "wxStyledTextEvent_GetMargin", (PyCFunction) _wrap_wxStyledTextEvent_GetMargin, METH_VARARGS | METH_KEYWORDS }, | |
8264 | { "wxStyledTextEvent_GetFoldLevelPrev", (PyCFunction) _wrap_wxStyledTextEvent_GetFoldLevelPrev, METH_VARARGS | METH_KEYWORDS }, | |
8265 | { "wxStyledTextEvent_GetFoldLevelNow", (PyCFunction) _wrap_wxStyledTextEvent_GetFoldLevelNow, METH_VARARGS | METH_KEYWORDS }, | |
8266 | { "wxStyledTextEvent_GetLine", (PyCFunction) _wrap_wxStyledTextEvent_GetLine, METH_VARARGS | METH_KEYWORDS }, | |
8267 | { "wxStyledTextEvent_GetLinesAdded", (PyCFunction) _wrap_wxStyledTextEvent_GetLinesAdded, METH_VARARGS | METH_KEYWORDS }, | |
8268 | { "wxStyledTextEvent_GetLength", (PyCFunction) _wrap_wxStyledTextEvent_GetLength, METH_VARARGS | METH_KEYWORDS }, | |
8269 | { "wxStyledTextEvent_GetText", (PyCFunction) _wrap_wxStyledTextEvent_GetText, METH_VARARGS | METH_KEYWORDS }, | |
8270 | { "wxStyledTextEvent_GetModificationType", (PyCFunction) _wrap_wxStyledTextEvent_GetModificationType, METH_VARARGS | METH_KEYWORDS }, | |
8271 | { "wxStyledTextEvent_GetModifiers", (PyCFunction) _wrap_wxStyledTextEvent_GetModifiers, METH_VARARGS | METH_KEYWORDS }, | |
8272 | { "wxStyledTextEvent_GetKey", (PyCFunction) _wrap_wxStyledTextEvent_GetKey, METH_VARARGS | METH_KEYWORDS }, | |
8273 | { "wxStyledTextEvent_GetPosition", (PyCFunction) _wrap_wxStyledTextEvent_GetPosition, METH_VARARGS | METH_KEYWORDS }, | |
8274 | { "wxStyledTextEvent_SetLParam", (PyCFunction) _wrap_wxStyledTextEvent_SetLParam, METH_VARARGS | METH_KEYWORDS }, | |
8275 | { "wxStyledTextEvent_SetWParam", (PyCFunction) _wrap_wxStyledTextEvent_SetWParam, METH_VARARGS | METH_KEYWORDS }, | |
8276 | { "wxStyledTextEvent_SetMessage", (PyCFunction) _wrap_wxStyledTextEvent_SetMessage, METH_VARARGS | METH_KEYWORDS }, | |
8277 | { "wxStyledTextEvent_SetMargin", (PyCFunction) _wrap_wxStyledTextEvent_SetMargin, METH_VARARGS | METH_KEYWORDS }, | |
8278 | { "wxStyledTextEvent_SetFoldLevelPrev", (PyCFunction) _wrap_wxStyledTextEvent_SetFoldLevelPrev, METH_VARARGS | METH_KEYWORDS }, | |
8279 | { "wxStyledTextEvent_SetFoldLevelNow", (PyCFunction) _wrap_wxStyledTextEvent_SetFoldLevelNow, METH_VARARGS | METH_KEYWORDS }, | |
8280 | { "wxStyledTextEvent_SetLine", (PyCFunction) _wrap_wxStyledTextEvent_SetLine, METH_VARARGS | METH_KEYWORDS }, | |
8281 | { "wxStyledTextEvent_SetLinesAdded", (PyCFunction) _wrap_wxStyledTextEvent_SetLinesAdded, METH_VARARGS | METH_KEYWORDS }, | |
8282 | { "wxStyledTextEvent_SetLength", (PyCFunction) _wrap_wxStyledTextEvent_SetLength, METH_VARARGS | METH_KEYWORDS }, | |
8283 | { "wxStyledTextEvent_SetText", (PyCFunction) _wrap_wxStyledTextEvent_SetText, METH_VARARGS | METH_KEYWORDS }, | |
8284 | { "wxStyledTextEvent_SetModificationType", (PyCFunction) _wrap_wxStyledTextEvent_SetModificationType, METH_VARARGS | METH_KEYWORDS }, | |
8285 | { "wxStyledTextEvent_SetModifiers", (PyCFunction) _wrap_wxStyledTextEvent_SetModifiers, METH_VARARGS | METH_KEYWORDS }, | |
8286 | { "wxStyledTextEvent_SetKey", (PyCFunction) _wrap_wxStyledTextEvent_SetKey, METH_VARARGS | METH_KEYWORDS }, | |
8287 | { "wxStyledTextEvent_SetPosition", (PyCFunction) _wrap_wxStyledTextEvent_SetPosition, METH_VARARGS | METH_KEYWORDS }, | |
8288 | { "delete_wxStyledTextEvent", (PyCFunction) _wrap_delete_wxStyledTextEvent, METH_VARARGS | METH_KEYWORDS }, | |
8289 | { "new_wxStyledTextEvent", (PyCFunction) _wrap_new_wxStyledTextEvent, METH_VARARGS | METH_KEYWORDS }, | |
ea7c631c RD |
8290 | { "wxStyledTextCtrl_ScrollToColumn", (PyCFunction) _wrap_wxStyledTextCtrl_ScrollToColumn, METH_VARARGS | METH_KEYWORDS }, |
8291 | { "wxStyledTextCtrl_ScrollToLine", (PyCFunction) _wrap_wxStyledTextCtrl_ScrollToLine, METH_VARARGS | METH_KEYWORDS }, | |
fe47ec10 RD |
8292 | { "wxStyledTextCtrl_PointFromPosition", (PyCFunction) _wrap_wxStyledTextCtrl_PointFromPosition, METH_VARARGS | METH_KEYWORDS }, |
8293 | { "wxStyledTextCtrl_GetSelection", (PyCFunction) _wrap_wxStyledTextCtrl_GetSelection, METH_VARARGS | METH_KEYWORDS }, | |
8294 | { "wxStyledTextCtrl_SetMargins", (PyCFunction) _wrap_wxStyledTextCtrl_SetMargins, METH_VARARGS | METH_KEYWORDS }, | |
8295 | { "wxStyledTextCtrl_CmdKeyExecute", (PyCFunction) _wrap_wxStyledTextCtrl_CmdKeyExecute, METH_VARARGS | METH_KEYWORDS }, | |
8296 | { "wxStyledTextCtrl_StyleSetFontAttr", (PyCFunction) _wrap_wxStyledTextCtrl_StyleSetFontAttr, METH_VARARGS | METH_KEYWORDS }, | |
8297 | { "wxStyledTextCtrl_StyleSetFont", (PyCFunction) _wrap_wxStyledTextCtrl_StyleSetFont, METH_VARARGS | METH_KEYWORDS }, | |
8298 | { "wxStyledTextCtrl_StyleSetSpec", (PyCFunction) _wrap_wxStyledTextCtrl_StyleSetSpec, METH_VARARGS | METH_KEYWORDS }, | |
8299 | { "wxStyledTextCtrl_GetCurrentLine", (PyCFunction) _wrap_wxStyledTextCtrl_GetCurrentLine, METH_VARARGS | METH_KEYWORDS }, | |
8300 | { "wxStyledTextCtrl_SetKeyWords", (PyCFunction) _wrap_wxStyledTextCtrl_SetKeyWords, METH_VARARGS | METH_KEYWORDS }, | |
f6bcfd97 BP |
8301 | { "wxStyledTextCtrl_SetProperty", (PyCFunction) _wrap_wxStyledTextCtrl_SetProperty, METH_VARARGS | METH_KEYWORDS }, |
8302 | { "wxStyledTextCtrl_Colourise", (PyCFunction) _wrap_wxStyledTextCtrl_Colourise, METH_VARARGS | METH_KEYWORDS }, | |
8303 | { "wxStyledTextCtrl_GetLexer", (PyCFunction) _wrap_wxStyledTextCtrl_GetLexer, METH_VARARGS | METH_KEYWORDS }, | |
8304 | { "wxStyledTextCtrl_SetLexer", (PyCFunction) _wrap_wxStyledTextCtrl_SetLexer, METH_VARARGS | METH_KEYWORDS }, | |
fe47ec10 RD |
8305 | { "wxStyledTextCtrl_StopRecord", (PyCFunction) _wrap_wxStyledTextCtrl_StopRecord, METH_VARARGS | METH_KEYWORDS }, |
8306 | { "wxStyledTextCtrl_StartRecord", (PyCFunction) _wrap_wxStyledTextCtrl_StartRecord, METH_VARARGS | METH_KEYWORDS }, | |
8307 | { "wxStyledTextCtrl_GetModEventMask", (PyCFunction) _wrap_wxStyledTextCtrl_GetModEventMask, METH_VARARGS | METH_KEYWORDS }, | |
8308 | { "wxStyledTextCtrl_ReleaseDocument", (PyCFunction) _wrap_wxStyledTextCtrl_ReleaseDocument, METH_VARARGS | METH_KEYWORDS }, | |
8309 | { "wxStyledTextCtrl_AddRefDocument", (PyCFunction) _wrap_wxStyledTextCtrl_AddRefDocument, METH_VARARGS | METH_KEYWORDS }, | |
8310 | { "wxStyledTextCtrl_CreateDocument", (PyCFunction) _wrap_wxStyledTextCtrl_CreateDocument, METH_VARARGS | METH_KEYWORDS }, | |
8311 | { "wxStyledTextCtrl_GetZoom", (PyCFunction) _wrap_wxStyledTextCtrl_GetZoom, METH_VARARGS | METH_KEYWORDS }, | |
8312 | { "wxStyledTextCtrl_SetZoom", (PyCFunction) _wrap_wxStyledTextCtrl_SetZoom, METH_VARARGS | METH_KEYWORDS }, | |
8313 | { "wxStyledTextCtrl_SelectionIsRectangle", (PyCFunction) _wrap_wxStyledTextCtrl_SelectionIsRectangle, METH_VARARGS | METH_KEYWORDS }, | |
8314 | { "wxStyledTextCtrl_UsePopUp", (PyCFunction) _wrap_wxStyledTextCtrl_UsePopUp, METH_VARARGS | METH_KEYWORDS }, | |
8315 | { "wxStyledTextCtrl_LinesOnScreen", (PyCFunction) _wrap_wxStyledTextCtrl_LinesOnScreen, METH_VARARGS | METH_KEYWORDS }, | |
8316 | { "wxStyledTextCtrl_SetCaretPolicy", (PyCFunction) _wrap_wxStyledTextCtrl_SetCaretPolicy, METH_VARARGS | METH_KEYWORDS }, | |
8317 | { "wxStyledTextCtrl_SearchPrev", (PyCFunction) _wrap_wxStyledTextCtrl_SearchPrev, METH_VARARGS | METH_KEYWORDS }, | |
8318 | { "wxStyledTextCtrl_SearchNext", (PyCFunction) _wrap_wxStyledTextCtrl_SearchNext, METH_VARARGS | METH_KEYWORDS }, | |
8319 | { "wxStyledTextCtrl_SearchAnchor", (PyCFunction) _wrap_wxStyledTextCtrl_SearchAnchor, METH_VARARGS | METH_KEYWORDS }, | |
f6bcfd97 BP |
8320 | { "wxStyledTextCtrl_SetEdgeColour", (PyCFunction) _wrap_wxStyledTextCtrl_SetEdgeColour, METH_VARARGS | METH_KEYWORDS }, |
8321 | { "wxStyledTextCtrl_GetEdgeColour", (PyCFunction) _wrap_wxStyledTextCtrl_GetEdgeColour, METH_VARARGS | METH_KEYWORDS }, | |
8322 | { "wxStyledTextCtrl_SetEdgeMode", (PyCFunction) _wrap_wxStyledTextCtrl_SetEdgeMode, METH_VARARGS | METH_KEYWORDS }, | |
8323 | { "wxStyledTextCtrl_GetEdgeMode", (PyCFunction) _wrap_wxStyledTextCtrl_GetEdgeMode, METH_VARARGS | METH_KEYWORDS }, | |
8324 | { "wxStyledTextCtrl_SetEdgeColumn", (PyCFunction) _wrap_wxStyledTextCtrl_SetEdgeColumn, METH_VARARGS | METH_KEYWORDS }, | |
8325 | { "wxStyledTextCtrl_GetEdgeColumn", (PyCFunction) _wrap_wxStyledTextCtrl_GetEdgeColumn, METH_VARARGS | METH_KEYWORDS }, | |
fe47ec10 RD |
8326 | { "wxStyledTextCtrl_SetModEventMask", (PyCFunction) _wrap_wxStyledTextCtrl_SetModEventMask, METH_VARARGS | METH_KEYWORDS }, |
8327 | { "wxStyledTextCtrl_SetDocPointer", (PyCFunction) _wrap_wxStyledTextCtrl_SetDocPointer, METH_VARARGS | METH_KEYWORDS }, | |
8328 | { "wxStyledTextCtrl_GetDocPointer", (PyCFunction) _wrap_wxStyledTextCtrl_GetDocPointer, METH_VARARGS | METH_KEYWORDS }, | |
8329 | { "wxStyledTextCtrl_SetViewEOL", (PyCFunction) _wrap_wxStyledTextCtrl_SetViewEOL, METH_VARARGS | METH_KEYWORDS }, | |
8330 | { "wxStyledTextCtrl_GetViewEOL", (PyCFunction) _wrap_wxStyledTextCtrl_GetViewEOL, METH_VARARGS | METH_KEYWORDS }, | |
8331 | { "wxStyledTextCtrl_BraceMatch", (PyCFunction) _wrap_wxStyledTextCtrl_BraceMatch, METH_VARARGS | METH_KEYWORDS }, | |
8332 | { "wxStyledTextCtrl_BraceBadLight", (PyCFunction) _wrap_wxStyledTextCtrl_BraceBadLight, METH_VARARGS | METH_KEYWORDS }, | |
8333 | { "wxStyledTextCtrl_BraceHighlight", (PyCFunction) _wrap_wxStyledTextCtrl_BraceHighlight, METH_VARARGS | METH_KEYWORDS }, | |
8334 | { "wxStyledTextCtrl_LineLength", (PyCFunction) _wrap_wxStyledTextCtrl_LineLength, METH_VARARGS | METH_KEYWORDS }, | |
f6bcfd97 BP |
8335 | { "wxStyledTextCtrl_SetFoldFlags", (PyCFunction) _wrap_wxStyledTextCtrl_SetFoldFlags, METH_VARARGS | METH_KEYWORDS }, |
8336 | { "wxStyledTextCtrl_EnsureVisible", (PyCFunction) _wrap_wxStyledTextCtrl_EnsureVisible, METH_VARARGS | METH_KEYWORDS }, | |
8337 | { "wxStyledTextCtrl_ToggleFold", (PyCFunction) _wrap_wxStyledTextCtrl_ToggleFold, METH_VARARGS | METH_KEYWORDS }, | |
8338 | { "wxStyledTextCtrl_GetFoldExpanded", (PyCFunction) _wrap_wxStyledTextCtrl_GetFoldExpanded, METH_VARARGS | METH_KEYWORDS }, | |
8339 | { "wxStyledTextCtrl_SetFoldExpanded", (PyCFunction) _wrap_wxStyledTextCtrl_SetFoldExpanded, METH_VARARGS | METH_KEYWORDS }, | |
8340 | { "wxStyledTextCtrl_GetLineVisible", (PyCFunction) _wrap_wxStyledTextCtrl_GetLineVisible, METH_VARARGS | METH_KEYWORDS }, | |
8341 | { "wxStyledTextCtrl_HideLines", (PyCFunction) _wrap_wxStyledTextCtrl_HideLines, METH_VARARGS | METH_KEYWORDS }, | |
8342 | { "wxStyledTextCtrl_ShowLines", (PyCFunction) _wrap_wxStyledTextCtrl_ShowLines, METH_VARARGS | METH_KEYWORDS }, | |
8343 | { "wxStyledTextCtrl_GetFoldParent", (PyCFunction) _wrap_wxStyledTextCtrl_GetFoldParent, METH_VARARGS | METH_KEYWORDS }, | |
8344 | { "wxStyledTextCtrl_GetLastChild", (PyCFunction) _wrap_wxStyledTextCtrl_GetLastChild, METH_VARARGS | METH_KEYWORDS }, | |
8345 | { "wxStyledTextCtrl_GetFoldLevel", (PyCFunction) _wrap_wxStyledTextCtrl_GetFoldLevel, METH_VARARGS | METH_KEYWORDS }, | |
8346 | { "wxStyledTextCtrl_SetFoldLevel", (PyCFunction) _wrap_wxStyledTextCtrl_SetFoldLevel, METH_VARARGS | METH_KEYWORDS }, | |
8347 | { "wxStyledTextCtrl_DocLineFromVisible", (PyCFunction) _wrap_wxStyledTextCtrl_DocLineFromVisible, METH_VARARGS | METH_KEYWORDS }, | |
8348 | { "wxStyledTextCtrl_VisibleFromDocLine", (PyCFunction) _wrap_wxStyledTextCtrl_VisibleFromDocLine, METH_VARARGS | METH_KEYWORDS }, | |
f6bcfd97 BP |
8349 | { "wxStyledTextCtrl_CallTipSetBackground", (PyCFunction) _wrap_wxStyledTextCtrl_CallTipSetBackground, METH_VARARGS | METH_KEYWORDS }, |
8350 | { "wxStyledTextCtrl_CallTipSetHighlight", (PyCFunction) _wrap_wxStyledTextCtrl_CallTipSetHighlight, METH_VARARGS | METH_KEYWORDS }, | |
8351 | { "wxStyledTextCtrl_CallTipPosAtStart", (PyCFunction) _wrap_wxStyledTextCtrl_CallTipPosAtStart, METH_VARARGS | METH_KEYWORDS }, | |
8352 | { "wxStyledTextCtrl_CallTipActive", (PyCFunction) _wrap_wxStyledTextCtrl_CallTipActive, METH_VARARGS | METH_KEYWORDS }, | |
8353 | { "wxStyledTextCtrl_CallTipCancel", (PyCFunction) _wrap_wxStyledTextCtrl_CallTipCancel, METH_VARARGS | METH_KEYWORDS }, | |
8354 | { "wxStyledTextCtrl_CallTipShow", (PyCFunction) _wrap_wxStyledTextCtrl_CallTipShow, METH_VARARGS | METH_KEYWORDS }, | |
fe47ec10 RD |
8355 | { "wxStyledTextCtrl_GetOvertype", (PyCFunction) _wrap_wxStyledTextCtrl_GetOvertype, METH_VARARGS | METH_KEYWORDS }, |
8356 | { "wxStyledTextCtrl_SetOvertype", (PyCFunction) _wrap_wxStyledTextCtrl_SetOvertype, METH_VARARGS | METH_KEYWORDS }, | |
8357 | { "wxStyledTextCtrl_GetTextLength", (PyCFunction) _wrap_wxStyledTextCtrl_GetTextLength, METH_VARARGS | METH_KEYWORDS }, | |
8358 | { "wxStyledTextCtrl_GetText", (PyCFunction) _wrap_wxStyledTextCtrl_GetText, METH_VARARGS | METH_KEYWORDS }, | |
8359 | { "wxStyledTextCtrl_SetText", (PyCFunction) _wrap_wxStyledTextCtrl_SetText, METH_VARARGS | METH_KEYWORDS }, | |
8360 | { "wxStyledTextCtrl_Clear", (PyCFunction) _wrap_wxStyledTextCtrl_Clear, METH_VARARGS | METH_KEYWORDS }, | |
8361 | { "wxStyledTextCtrl_Paste", (PyCFunction) _wrap_wxStyledTextCtrl_Paste, METH_VARARGS | METH_KEYWORDS }, | |
8362 | { "wxStyledTextCtrl_Copy", (PyCFunction) _wrap_wxStyledTextCtrl_Copy, METH_VARARGS | METH_KEYWORDS }, | |
8363 | { "wxStyledTextCtrl_Cut", (PyCFunction) _wrap_wxStyledTextCtrl_Cut, METH_VARARGS | METH_KEYWORDS }, | |
8364 | { "wxStyledTextCtrl_Undo", (PyCFunction) _wrap_wxStyledTextCtrl_Undo, METH_VARARGS | METH_KEYWORDS }, | |
8365 | { "wxStyledTextCtrl_EmptyUndoBuffer", (PyCFunction) _wrap_wxStyledTextCtrl_EmptyUndoBuffer, METH_VARARGS | METH_KEYWORDS }, | |
8366 | { "wxStyledTextCtrl_CanUndo", (PyCFunction) _wrap_wxStyledTextCtrl_CanUndo, METH_VARARGS | METH_KEYWORDS }, | |
8367 | { "wxStyledTextCtrl_CanPaste", (PyCFunction) _wrap_wxStyledTextCtrl_CanPaste, METH_VARARGS | METH_KEYWORDS }, | |
8368 | { "wxStyledTextCtrl_SetReadOnly", (PyCFunction) _wrap_wxStyledTextCtrl_SetReadOnly, METH_VARARGS | METH_KEYWORDS }, | |
8369 | { "wxStyledTextCtrl_ReplaceSelection", (PyCFunction) _wrap_wxStyledTextCtrl_ReplaceSelection, METH_VARARGS | METH_KEYWORDS }, | |
8370 | { "wxStyledTextCtrl_EnsureCaretVisible", (PyCFunction) _wrap_wxStyledTextCtrl_EnsureCaretVisible, METH_VARARGS | METH_KEYWORDS }, | |
8371 | { "wxStyledTextCtrl_LineScroll", (PyCFunction) _wrap_wxStyledTextCtrl_LineScroll, METH_VARARGS | METH_KEYWORDS }, | |
8372 | { "wxStyledTextCtrl_PositionFromLine", (PyCFunction) _wrap_wxStyledTextCtrl_PositionFromLine, METH_VARARGS | METH_KEYWORDS }, | |
8373 | { "wxStyledTextCtrl_LineFromPosition", (PyCFunction) _wrap_wxStyledTextCtrl_LineFromPosition, METH_VARARGS | METH_KEYWORDS }, | |
8374 | { "wxStyledTextCtrl_HideSelection", (PyCFunction) _wrap_wxStyledTextCtrl_HideSelection, METH_VARARGS | METH_KEYWORDS }, | |
8375 | { "wxStyledTextCtrl_GetTextRange", (PyCFunction) _wrap_wxStyledTextCtrl_GetTextRange, METH_VARARGS | METH_KEYWORDS }, | |
8376 | { "wxStyledTextCtrl_GetSelectedText", (PyCFunction) _wrap_wxStyledTextCtrl_GetSelectedText, METH_VARARGS | METH_KEYWORDS }, | |
8377 | { "wxStyledTextCtrl_SetSelection", (PyCFunction) _wrap_wxStyledTextCtrl_SetSelection, METH_VARARGS | METH_KEYWORDS }, | |
8378 | { "wxStyledTextCtrl_GetModify", (PyCFunction) _wrap_wxStyledTextCtrl_GetModify, METH_VARARGS | METH_KEYWORDS }, | |
8379 | { "wxStyledTextCtrl_GetMarginRight", (PyCFunction) _wrap_wxStyledTextCtrl_GetMarginRight, METH_VARARGS | METH_KEYWORDS }, | |
8380 | { "wxStyledTextCtrl_SetMarginRight", (PyCFunction) _wrap_wxStyledTextCtrl_SetMarginRight, METH_VARARGS | METH_KEYWORDS }, | |
8381 | { "wxStyledTextCtrl_GetMarginLeft", (PyCFunction) _wrap_wxStyledTextCtrl_GetMarginLeft, METH_VARARGS | METH_KEYWORDS }, | |
8382 | { "wxStyledTextCtrl_SetMarginLeft", (PyCFunction) _wrap_wxStyledTextCtrl_SetMarginLeft, METH_VARARGS | METH_KEYWORDS }, | |
8383 | { "wxStyledTextCtrl_GetLineCount", (PyCFunction) _wrap_wxStyledTextCtrl_GetLineCount, METH_VARARGS | METH_KEYWORDS }, | |
8384 | { "wxStyledTextCtrl_GetLine", (PyCFunction) _wrap_wxStyledTextCtrl_GetLine, METH_VARARGS | METH_KEYWORDS }, | |
8385 | { "wxStyledTextCtrl_GetFirstVisibleLine", (PyCFunction) _wrap_wxStyledTextCtrl_GetFirstVisibleLine, METH_VARARGS | METH_KEYWORDS }, | |
8386 | { "wxStyledTextCtrl_FormatRange", (PyCFunction) _wrap_wxStyledTextCtrl_FormatRange, METH_VARARGS | METH_KEYWORDS }, | |
8387 | { "wxStyledTextCtrl_FindText", (PyCFunction) _wrap_wxStyledTextCtrl_FindText, METH_VARARGS | METH_KEYWORDS }, | |
8388 | { "wxStyledTextCtrl_GetPrintColourMode", (PyCFunction) _wrap_wxStyledTextCtrl_GetPrintColourMode, METH_VARARGS | METH_KEYWORDS }, | |
8389 | { "wxStyledTextCtrl_SetPrintColourMode", (PyCFunction) _wrap_wxStyledTextCtrl_SetPrintColourMode, METH_VARARGS | METH_KEYWORDS }, | |
8390 | { "wxStyledTextCtrl_GetPrintMagnification", (PyCFunction) _wrap_wxStyledTextCtrl_GetPrintMagnification, METH_VARARGS | METH_KEYWORDS }, | |
8391 | { "wxStyledTextCtrl_SetPrintMagnification", (PyCFunction) _wrap_wxStyledTextCtrl_SetPrintMagnification, METH_VARARGS | METH_KEYWORDS }, | |
8392 | { "wxStyledTextCtrl_GetSelectionEnd", (PyCFunction) _wrap_wxStyledTextCtrl_GetSelectionEnd, METH_VARARGS | METH_KEYWORDS }, | |
8393 | { "wxStyledTextCtrl_SetSelectionEnd", (PyCFunction) _wrap_wxStyledTextCtrl_SetSelectionEnd, METH_VARARGS | METH_KEYWORDS }, | |
8394 | { "wxStyledTextCtrl_GetSelectionStart", (PyCFunction) _wrap_wxStyledTextCtrl_GetSelectionStart, METH_VARARGS | METH_KEYWORDS }, | |
8395 | { "wxStyledTextCtrl_SetSelectionStart", (PyCFunction) _wrap_wxStyledTextCtrl_SetSelectionStart, METH_VARARGS | METH_KEYWORDS }, | |
8396 | { "wxStyledTextCtrl_SetCurrentPos", (PyCFunction) _wrap_wxStyledTextCtrl_SetCurrentPos, METH_VARARGS | METH_KEYWORDS }, | |
8397 | { "wxStyledTextCtrl_GetReadOnly", (PyCFunction) _wrap_wxStyledTextCtrl_GetReadOnly, METH_VARARGS | METH_KEYWORDS }, | |
8398 | { "wxStyledTextCtrl_GetCaretForeground", (PyCFunction) _wrap_wxStyledTextCtrl_GetCaretForeground, METH_VARARGS | METH_KEYWORDS }, | |
8399 | { "wxStyledTextCtrl_GetCodePage", (PyCFunction) _wrap_wxStyledTextCtrl_GetCodePage, METH_VARARGS | METH_KEYWORDS }, | |
8400 | { "wxStyledTextCtrl_GetLineEndPosition", (PyCFunction) _wrap_wxStyledTextCtrl_GetLineEndPosition, METH_VARARGS | METH_KEYWORDS }, | |
8401 | { "wxStyledTextCtrl_GetHighlightGuide", (PyCFunction) _wrap_wxStyledTextCtrl_GetHighlightGuide, METH_VARARGS | METH_KEYWORDS }, | |
8402 | { "wxStyledTextCtrl_SetHighlightGuide", (PyCFunction) _wrap_wxStyledTextCtrl_SetHighlightGuide, METH_VARARGS | METH_KEYWORDS }, | |
8403 | { "wxStyledTextCtrl_GetIndentationGuides", (PyCFunction) _wrap_wxStyledTextCtrl_GetIndentationGuides, METH_VARARGS | METH_KEYWORDS }, | |
8404 | { "wxStyledTextCtrl_SetIndentationGuides", (PyCFunction) _wrap_wxStyledTextCtrl_SetIndentationGuides, METH_VARARGS | METH_KEYWORDS }, | |
8405 | { "wxStyledTextCtrl_GetUseHorizontalScrollBar", (PyCFunction) _wrap_wxStyledTextCtrl_GetUseHorizontalScrollBar, METH_VARARGS | METH_KEYWORDS }, | |
8406 | { "wxStyledTextCtrl_SetUseHorizontalScrollBar", (PyCFunction) _wrap_wxStyledTextCtrl_SetUseHorizontalScrollBar, METH_VARARGS | METH_KEYWORDS }, | |
8407 | { "wxStyledTextCtrl_GetColumn", (PyCFunction) _wrap_wxStyledTextCtrl_GetColumn, METH_VARARGS | METH_KEYWORDS }, | |
8408 | { "wxStyledTextCtrl_GetLineIndentPosition", (PyCFunction) _wrap_wxStyledTextCtrl_GetLineIndentPosition, METH_VARARGS | METH_KEYWORDS }, | |
8409 | { "wxStyledTextCtrl_GetLineIndentation", (PyCFunction) _wrap_wxStyledTextCtrl_GetLineIndentation, METH_VARARGS | METH_KEYWORDS }, | |
8410 | { "wxStyledTextCtrl_SetLineIndentation", (PyCFunction) _wrap_wxStyledTextCtrl_SetLineIndentation, METH_VARARGS | METH_KEYWORDS }, | |
8411 | { "wxStyledTextCtrl_GetUseTabs", (PyCFunction) _wrap_wxStyledTextCtrl_GetUseTabs, METH_VARARGS | METH_KEYWORDS }, | |
8412 | { "wxStyledTextCtrl_SetUseTabs", (PyCFunction) _wrap_wxStyledTextCtrl_SetUseTabs, METH_VARARGS | METH_KEYWORDS }, | |
8413 | { "wxStyledTextCtrl_GetIndent", (PyCFunction) _wrap_wxStyledTextCtrl_GetIndent, METH_VARARGS | METH_KEYWORDS }, | |
8414 | { "wxStyledTextCtrl_SetIndent", (PyCFunction) _wrap_wxStyledTextCtrl_SetIndent, METH_VARARGS | METH_KEYWORDS }, | |
8415 | { "wxStyledTextCtrl_AutoCompGetIgnoreCase", (PyCFunction) _wrap_wxStyledTextCtrl_AutoCompGetIgnoreCase, METH_VARARGS | METH_KEYWORDS }, | |
8416 | { "wxStyledTextCtrl_AutoCompSetIgnoreCase", (PyCFunction) _wrap_wxStyledTextCtrl_AutoCompSetIgnoreCase, METH_VARARGS | METH_KEYWORDS }, | |
8417 | { "wxStyledTextCtrl_AutoCompGetChooseSingle", (PyCFunction) _wrap_wxStyledTextCtrl_AutoCompGetChooseSingle, METH_VARARGS | METH_KEYWORDS }, | |
8418 | { "wxStyledTextCtrl_AutoCompSetChooseSingle", (PyCFunction) _wrap_wxStyledTextCtrl_AutoCompSetChooseSingle, METH_VARARGS | METH_KEYWORDS }, | |
8419 | { "wxStyledTextCtrl_AutoCompSetFillUps", (PyCFunction) _wrap_wxStyledTextCtrl_AutoCompSetFillUps, METH_VARARGS | METH_KEYWORDS }, | |
8420 | { "wxStyledTextCtrl_AutoCompGetCancelAtStart", (PyCFunction) _wrap_wxStyledTextCtrl_AutoCompGetCancelAtStart, METH_VARARGS | METH_KEYWORDS }, | |
8421 | { "wxStyledTextCtrl_AutoCompSetCancelAtStart", (PyCFunction) _wrap_wxStyledTextCtrl_AutoCompSetCancelAtStart, METH_VARARGS | METH_KEYWORDS }, | |
f6bcfd97 BP |
8422 | { "wxStyledTextCtrl_AutoCompSelect", (PyCFunction) _wrap_wxStyledTextCtrl_AutoCompSelect, METH_VARARGS | METH_KEYWORDS }, |
8423 | { "wxStyledTextCtrl_AutoCompGetSeparator", (PyCFunction) _wrap_wxStyledTextCtrl_AutoCompGetSeparator, METH_VARARGS | METH_KEYWORDS }, | |
8424 | { "wxStyledTextCtrl_AutoCompSetSeparator", (PyCFunction) _wrap_wxStyledTextCtrl_AutoCompSetSeparator, METH_VARARGS | METH_KEYWORDS }, | |
fe47ec10 | 8425 | { "wxStyledTextCtrl_AutoCompStops", (PyCFunction) _wrap_wxStyledTextCtrl_AutoCompStops, METH_VARARGS | METH_KEYWORDS }, |
f6bcfd97 | 8426 | { "wxStyledTextCtrl_AutoCompComplete", (PyCFunction) _wrap_wxStyledTextCtrl_AutoCompComplete, METH_VARARGS | METH_KEYWORDS }, |
fe47ec10 | 8427 | { "wxStyledTextCtrl_AutoCompPosStart", (PyCFunction) _wrap_wxStyledTextCtrl_AutoCompPosStart, METH_VARARGS | METH_KEYWORDS }, |
f6bcfd97 BP |
8428 | { "wxStyledTextCtrl_AutoCompActive", (PyCFunction) _wrap_wxStyledTextCtrl_AutoCompActive, METH_VARARGS | METH_KEYWORDS }, |
8429 | { "wxStyledTextCtrl_AutoCompCancel", (PyCFunction) _wrap_wxStyledTextCtrl_AutoCompCancel, METH_VARARGS | METH_KEYWORDS }, | |
8430 | { "wxStyledTextCtrl_AutoCompShow", (PyCFunction) _wrap_wxStyledTextCtrl_AutoCompShow, METH_VARARGS | METH_KEYWORDS }, | |
fe47ec10 RD |
8431 | { "wxStyledTextCtrl_GetMaxLineState", (PyCFunction) _wrap_wxStyledTextCtrl_GetMaxLineState, METH_VARARGS | METH_KEYWORDS }, |
8432 | { "wxStyledTextCtrl_GetLineState", (PyCFunction) _wrap_wxStyledTextCtrl_GetLineState, METH_VARARGS | METH_KEYWORDS }, | |
8433 | { "wxStyledTextCtrl_SetLineState", (PyCFunction) _wrap_wxStyledTextCtrl_SetLineState, METH_VARARGS | METH_KEYWORDS }, | |
8434 | { "wxStyledTextCtrl_GetStyleBits", (PyCFunction) _wrap_wxStyledTextCtrl_GetStyleBits, METH_VARARGS | METH_KEYWORDS }, | |
8435 | { "wxStyledTextCtrl_SetStyleBits", (PyCFunction) _wrap_wxStyledTextCtrl_SetStyleBits, METH_VARARGS | METH_KEYWORDS }, | |
8436 | { "wxStyledTextCtrl_IndicatorGetForeground", (PyCFunction) _wrap_wxStyledTextCtrl_IndicatorGetForeground, METH_VARARGS | METH_KEYWORDS }, | |
8437 | { "wxStyledTextCtrl_IndicatorSetForeground", (PyCFunction) _wrap_wxStyledTextCtrl_IndicatorSetForeground, METH_VARARGS | METH_KEYWORDS }, | |
f6bcfd97 BP |
8438 | { "wxStyledTextCtrl_IndicatorGetStyle", (PyCFunction) _wrap_wxStyledTextCtrl_IndicatorGetStyle, METH_VARARGS | METH_KEYWORDS }, |
8439 | { "wxStyledTextCtrl_IndicatorSetStyle", (PyCFunction) _wrap_wxStyledTextCtrl_IndicatorSetStyle, METH_VARARGS | METH_KEYWORDS }, | |
fe47ec10 RD |
8440 | { "wxStyledTextCtrl_EndUndoAction", (PyCFunction) _wrap_wxStyledTextCtrl_EndUndoAction, METH_VARARGS | METH_KEYWORDS }, |
8441 | { "wxStyledTextCtrl_BeginUndoAction", (PyCFunction) _wrap_wxStyledTextCtrl_BeginUndoAction, METH_VARARGS | METH_KEYWORDS }, | |
f6bcfd97 | 8442 | { "wxStyledTextCtrl_SetWordChars", (PyCFunction) _wrap_wxStyledTextCtrl_SetWordChars, METH_VARARGS | METH_KEYWORDS }, |
f6bcfd97 BP |
8443 | { "wxStyledTextCtrl_SetCaretPeriod", (PyCFunction) _wrap_wxStyledTextCtrl_SetCaretPeriod, METH_VARARGS | METH_KEYWORDS }, |
8444 | { "wxStyledTextCtrl_GetCaretPeriod", (PyCFunction) _wrap_wxStyledTextCtrl_GetCaretPeriod, METH_VARARGS | METH_KEYWORDS }, | |
fe47ec10 RD |
8445 | { "wxStyledTextCtrl_StyleSetVisible", (PyCFunction) _wrap_wxStyledTextCtrl_StyleSetVisible, METH_VARARGS | METH_KEYWORDS }, |
8446 | { "wxStyledTextCtrl_SetStyleBytes", (PyCFunction) _wrap_wxStyledTextCtrl_SetStyleBytes, METH_VARARGS | METH_KEYWORDS }, | |
8447 | { "wxStyledTextCtrl_CmdKeyClearAll", (PyCFunction) _wrap_wxStyledTextCtrl_CmdKeyClearAll, METH_VARARGS | METH_KEYWORDS }, | |
8448 | { "wxStyledTextCtrl_CmdKeyClear", (PyCFunction) _wrap_wxStyledTextCtrl_CmdKeyClear, METH_VARARGS | METH_KEYWORDS }, | |
8449 | { "wxStyledTextCtrl_CmdKeyAssign", (PyCFunction) _wrap_wxStyledTextCtrl_CmdKeyAssign, METH_VARARGS | METH_KEYWORDS }, | |
f6bcfd97 | 8450 | { "wxStyledTextCtrl_SetCaretForeground", (PyCFunction) _wrap_wxStyledTextCtrl_SetCaretForeground, METH_VARARGS | METH_KEYWORDS }, |
fe47ec10 RD |
8451 | { "wxStyledTextCtrl_SetSelBackground", (PyCFunction) _wrap_wxStyledTextCtrl_SetSelBackground, METH_VARARGS | METH_KEYWORDS }, |
8452 | { "wxStyledTextCtrl_SetSelForeground", (PyCFunction) _wrap_wxStyledTextCtrl_SetSelForeground, METH_VARARGS | METH_KEYWORDS }, | |
f6bcfd97 | 8453 | { "wxStyledTextCtrl_StyleSetUnderline", (PyCFunction) _wrap_wxStyledTextCtrl_StyleSetUnderline, METH_VARARGS | METH_KEYWORDS }, |
fe47ec10 | 8454 | { "wxStyledTextCtrl_StyleResetDefault", (PyCFunction) _wrap_wxStyledTextCtrl_StyleResetDefault, METH_VARARGS | METH_KEYWORDS }, |
f6bcfd97 | 8455 | { "wxStyledTextCtrl_StyleSetEOLFilled", (PyCFunction) _wrap_wxStyledTextCtrl_StyleSetEOLFilled, METH_VARARGS | METH_KEYWORDS }, |
f6bcfd97 | 8456 | { "wxStyledTextCtrl_StyleSetFaceName", (PyCFunction) _wrap_wxStyledTextCtrl_StyleSetFaceName, METH_VARARGS | METH_KEYWORDS }, |
fe47ec10 | 8457 | { "wxStyledTextCtrl_StyleSetSize", (PyCFunction) _wrap_wxStyledTextCtrl_StyleSetSize, METH_VARARGS | METH_KEYWORDS }, |
f6bcfd97 BP |
8458 | { "wxStyledTextCtrl_StyleSetItalic", (PyCFunction) _wrap_wxStyledTextCtrl_StyleSetItalic, METH_VARARGS | METH_KEYWORDS }, |
8459 | { "wxStyledTextCtrl_StyleSetBold", (PyCFunction) _wrap_wxStyledTextCtrl_StyleSetBold, METH_VARARGS | METH_KEYWORDS }, | |
f6bcfd97 BP |
8460 | { "wxStyledTextCtrl_StyleSetBackground", (PyCFunction) _wrap_wxStyledTextCtrl_StyleSetBackground, METH_VARARGS | METH_KEYWORDS }, |
8461 | { "wxStyledTextCtrl_StyleSetForeground", (PyCFunction) _wrap_wxStyledTextCtrl_StyleSetForeground, METH_VARARGS | METH_KEYWORDS }, | |
f6bcfd97 | 8462 | { "wxStyledTextCtrl_StyleClearAll", (PyCFunction) _wrap_wxStyledTextCtrl_StyleClearAll, METH_VARARGS | METH_KEYWORDS }, |
fe47ec10 RD |
8463 | { "wxStyledTextCtrl_GetMarginSensitive", (PyCFunction) _wrap_wxStyledTextCtrl_GetMarginSensitive, METH_VARARGS | METH_KEYWORDS }, |
8464 | { "wxStyledTextCtrl_SetMarginSensitive", (PyCFunction) _wrap_wxStyledTextCtrl_SetMarginSensitive, METH_VARARGS | METH_KEYWORDS }, | |
8465 | { "wxStyledTextCtrl_GetMarginMask", (PyCFunction) _wrap_wxStyledTextCtrl_GetMarginMask, METH_VARARGS | METH_KEYWORDS }, | |
8466 | { "wxStyledTextCtrl_SetMarginMask", (PyCFunction) _wrap_wxStyledTextCtrl_SetMarginMask, METH_VARARGS | METH_KEYWORDS }, | |
8467 | { "wxStyledTextCtrl_GetMarginWidth", (PyCFunction) _wrap_wxStyledTextCtrl_GetMarginWidth, METH_VARARGS | METH_KEYWORDS }, | |
8468 | { "wxStyledTextCtrl_SetMarginWidth", (PyCFunction) _wrap_wxStyledTextCtrl_SetMarginWidth, METH_VARARGS | METH_KEYWORDS }, | |
8469 | { "wxStyledTextCtrl_GetMarginType", (PyCFunction) _wrap_wxStyledTextCtrl_GetMarginType, METH_VARARGS | METH_KEYWORDS }, | |
8470 | { "wxStyledTextCtrl_SetMarginType", (PyCFunction) _wrap_wxStyledTextCtrl_SetMarginType, METH_VARARGS | METH_KEYWORDS }, | |
8471 | { "wxStyledTextCtrl_MarkerPrevious", (PyCFunction) _wrap_wxStyledTextCtrl_MarkerPrevious, METH_VARARGS | METH_KEYWORDS }, | |
8472 | { "wxStyledTextCtrl_MarkerNext", (PyCFunction) _wrap_wxStyledTextCtrl_MarkerNext, METH_VARARGS | METH_KEYWORDS }, | |
8473 | { "wxStyledTextCtrl_MarkerGet", (PyCFunction) _wrap_wxStyledTextCtrl_MarkerGet, METH_VARARGS | METH_KEYWORDS }, | |
8474 | { "wxStyledTextCtrl_MarkerDeleteAll", (PyCFunction) _wrap_wxStyledTextCtrl_MarkerDeleteAll, METH_VARARGS | METH_KEYWORDS }, | |
8475 | { "wxStyledTextCtrl_MarkerDelete", (PyCFunction) _wrap_wxStyledTextCtrl_MarkerDelete, METH_VARARGS | METH_KEYWORDS }, | |
8476 | { "wxStyledTextCtrl_MarkerAdd", (PyCFunction) _wrap_wxStyledTextCtrl_MarkerAdd, METH_VARARGS | METH_KEYWORDS }, | |
8477 | { "wxStyledTextCtrl_MarkerSetBackground", (PyCFunction) _wrap_wxStyledTextCtrl_MarkerSetBackground, METH_VARARGS | METH_KEYWORDS }, | |
8478 | { "wxStyledTextCtrl_MarkerSetForeground", (PyCFunction) _wrap_wxStyledTextCtrl_MarkerSetForeground, METH_VARARGS | METH_KEYWORDS }, | |
8479 | { "wxStyledTextCtrl_MarkerDefine", (PyCFunction) _wrap_wxStyledTextCtrl_MarkerDefine, METH_VARARGS | METH_KEYWORDS }, | |
8480 | { "wxStyledTextCtrl_SetCodePage", (PyCFunction) _wrap_wxStyledTextCtrl_SetCodePage, METH_VARARGS | METH_KEYWORDS }, | |
8481 | { "wxStyledTextCtrl_GetTabWidth", (PyCFunction) _wrap_wxStyledTextCtrl_GetTabWidth, METH_VARARGS | METH_KEYWORDS }, | |
8482 | { "wxStyledTextCtrl_SetTabWidth", (PyCFunction) _wrap_wxStyledTextCtrl_SetTabWidth, METH_VARARGS | METH_KEYWORDS }, | |
8483 | { "wxStyledTextCtrl_SetBufferedDraw", (PyCFunction) _wrap_wxStyledTextCtrl_SetBufferedDraw, METH_VARARGS | METH_KEYWORDS }, | |
8484 | { "wxStyledTextCtrl_GetBufferedDraw", (PyCFunction) _wrap_wxStyledTextCtrl_GetBufferedDraw, METH_VARARGS | METH_KEYWORDS }, | |
8485 | { "wxStyledTextCtrl_SetStyling", (PyCFunction) _wrap_wxStyledTextCtrl_SetStyling, METH_VARARGS | METH_KEYWORDS }, | |
f6bcfd97 | 8486 | { "wxStyledTextCtrl_StartStyling", (PyCFunction) _wrap_wxStyledTextCtrl_StartStyling, METH_VARARGS | METH_KEYWORDS }, |
f6bcfd97 BP |
8487 | { "wxStyledTextCtrl_SetEOLMode", (PyCFunction) _wrap_wxStyledTextCtrl_SetEOLMode, METH_VARARGS | METH_KEYWORDS }, |
8488 | { "wxStyledTextCtrl_GetEOLMode", (PyCFunction) _wrap_wxStyledTextCtrl_GetEOLMode, METH_VARARGS | METH_KEYWORDS }, | |
fe47ec10 RD |
8489 | { "wxStyledTextCtrl_ConvertEOLs", (PyCFunction) _wrap_wxStyledTextCtrl_ConvertEOLs, METH_VARARGS | METH_KEYWORDS }, |
8490 | { "wxStyledTextCtrl_GetEndStyled", (PyCFunction) _wrap_wxStyledTextCtrl_GetEndStyled, METH_VARARGS | METH_KEYWORDS }, | |
8491 | { "wxStyledTextCtrl_GetCurLine", (PyCFunction) _wrap_wxStyledTextCtrl_GetCurLine, METH_VARARGS | METH_KEYWORDS }, | |
f6bcfd97 | 8492 | { "wxStyledTextCtrl_SetAnchor", (PyCFunction) _wrap_wxStyledTextCtrl_SetAnchor, METH_VARARGS | METH_KEYWORDS }, |
fe47ec10 RD |
8493 | { "wxStyledTextCtrl_GotoPos", (PyCFunction) _wrap_wxStyledTextCtrl_GotoPos, METH_VARARGS | METH_KEYWORDS }, |
8494 | { "wxStyledTextCtrl_GotoLine", (PyCFunction) _wrap_wxStyledTextCtrl_GotoLine, METH_VARARGS | METH_KEYWORDS }, | |
f6bcfd97 | 8495 | { "wxStyledTextCtrl_PositionFromPoint", (PyCFunction) _wrap_wxStyledTextCtrl_PositionFromPoint, METH_VARARGS | METH_KEYWORDS }, |
fe47ec10 RD |
8496 | { "wxStyledTextCtrl_SetViewWhiteSpace", (PyCFunction) _wrap_wxStyledTextCtrl_SetViewWhiteSpace, METH_VARARGS | METH_KEYWORDS }, |
8497 | { "wxStyledTextCtrl_GetViewWhiteSpace", (PyCFunction) _wrap_wxStyledTextCtrl_GetViewWhiteSpace, METH_VARARGS | METH_KEYWORDS }, | |
f6bcfd97 | 8498 | { "wxStyledTextCtrl_GetUndoCollection", (PyCFunction) _wrap_wxStyledTextCtrl_GetUndoCollection, METH_VARARGS | METH_KEYWORDS }, |
fe47ec10 RD |
8499 | { "wxStyledTextCtrl_MarkerDeleteHandle", (PyCFunction) _wrap_wxStyledTextCtrl_MarkerDeleteHandle, METH_VARARGS | METH_KEYWORDS }, |
8500 | { "wxStyledTextCtrl_MarkerLineFromHandle", (PyCFunction) _wrap_wxStyledTextCtrl_MarkerLineFromHandle, METH_VARARGS | METH_KEYWORDS }, | |
f6bcfd97 | 8501 | { "wxStyledTextCtrl_CanRedo", (PyCFunction) _wrap_wxStyledTextCtrl_CanRedo, METH_VARARGS | METH_KEYWORDS }, |
fe47ec10 RD |
8502 | { "wxStyledTextCtrl_GetStyledText", (PyCFunction) _wrap_wxStyledTextCtrl_GetStyledText, METH_VARARGS | METH_KEYWORDS }, |
8503 | { "wxStyledTextCtrl_SetSavePoint", (PyCFunction) _wrap_wxStyledTextCtrl_SetSavePoint, METH_VARARGS | METH_KEYWORDS }, | |
8504 | { "wxStyledTextCtrl_SelectAll", (PyCFunction) _wrap_wxStyledTextCtrl_SelectAll, METH_VARARGS | METH_KEYWORDS }, | |
8505 | { "wxStyledTextCtrl_SetUndoCollection", (PyCFunction) _wrap_wxStyledTextCtrl_SetUndoCollection, METH_VARARGS | METH_KEYWORDS }, | |
f6bcfd97 | 8506 | { "wxStyledTextCtrl_Redo", (PyCFunction) _wrap_wxStyledTextCtrl_Redo, METH_VARARGS | METH_KEYWORDS }, |
f6bcfd97 | 8507 | { "wxStyledTextCtrl_GetStyleAt", (PyCFunction) _wrap_wxStyledTextCtrl_GetStyleAt, METH_VARARGS | METH_KEYWORDS }, |
fe47ec10 RD |
8508 | { "wxStyledTextCtrl_GetAnchor", (PyCFunction) _wrap_wxStyledTextCtrl_GetAnchor, METH_VARARGS | METH_KEYWORDS }, |
8509 | { "wxStyledTextCtrl_GetCurrentPos", (PyCFunction) _wrap_wxStyledTextCtrl_GetCurrentPos, METH_VARARGS | METH_KEYWORDS }, | |
f6bcfd97 | 8510 | { "wxStyledTextCtrl_GetCharAt", (PyCFunction) _wrap_wxStyledTextCtrl_GetCharAt, METH_VARARGS | METH_KEYWORDS }, |
fe47ec10 RD |
8511 | { "wxStyledTextCtrl_GetLength", (PyCFunction) _wrap_wxStyledTextCtrl_GetLength, METH_VARARGS | METH_KEYWORDS }, |
8512 | { "wxStyledTextCtrl_ClearDocumentStyle", (PyCFunction) _wrap_wxStyledTextCtrl_ClearDocumentStyle, METH_VARARGS | METH_KEYWORDS }, | |
f6bcfd97 BP |
8513 | { "wxStyledTextCtrl_ClearAll", (PyCFunction) _wrap_wxStyledTextCtrl_ClearAll, METH_VARARGS | METH_KEYWORDS }, |
8514 | { "wxStyledTextCtrl_InsertText", (PyCFunction) _wrap_wxStyledTextCtrl_InsertText, METH_VARARGS | METH_KEYWORDS }, | |
8515 | { "wxStyledTextCtrl_AddStyledText", (PyCFunction) _wrap_wxStyledTextCtrl_AddStyledText, METH_VARARGS | METH_KEYWORDS }, | |
8516 | { "wxStyledTextCtrl_AddText", (PyCFunction) _wrap_wxStyledTextCtrl_AddText, METH_VARARGS | METH_KEYWORDS }, | |
f6bcfd97 BP |
8517 | { "new_wxStyledTextCtrl", (PyCFunction) _wrap_new_wxStyledTextCtrl, METH_VARARGS | METH_KEYWORDS }, |
8518 | { NULL, NULL } | |
8519 | }; | |
8520 | #ifdef __cplusplus | |
8521 | } | |
8522 | #endif | |
8523 | /* | |
8524 | * This table is used by the pointer type-checker | |
8525 | */ | |
8526 | static struct { char *n1; char *n2; void *(*pcnv)(void *); } _swig_mapping[] = { | |
8527 | { "_wxAcceleratorTable","_class_wxAcceleratorTable",0}, | |
8528 | { "_wxEvent","_class_wxStyledTextEvent",SwigwxStyledTextEventTowxEvent}, | |
8529 | { "_wxEvent","_wxStyledTextEvent",SwigwxStyledTextEventTowxEvent}, | |
8530 | { "_wxEvent","_class_wxEvent",0}, | |
8531 | { "_class_wxActivateEvent","_wxActivateEvent",0}, | |
8532 | { "_signed_long","_long",0}, | |
8533 | { "_wxMenuEvent","_class_wxMenuEvent",0}, | |
ea7c631c | 8534 | { "_class_wxProcessEvent","_wxProcessEvent",0}, |
f6bcfd97 | 8535 | { "_class_wxJPEGHandler","_wxJPEGHandler",0}, |
ea7c631c | 8536 | { "_class_wxFSFile","_wxFSFile",0}, |
f6bcfd97 BP |
8537 | { "_wxPyBitmapDataObject","_class_wxPyBitmapDataObject",0}, |
8538 | { "_wxBitmapDataObject","_class_wxBitmapDataObject",0}, | |
8539 | { "_class_wxPyCommandEvent","_wxPyCommandEvent",0}, | |
8540 | { "_wxBMPHandler","_class_wxBMPHandler",0}, | |
8541 | { "_wxImage","_class_wxImage",0}, | |
4662be59 | 8542 | { "_wxFlexGridSizer","_class_wxFlexGridSizer",0}, |
ea7c631c RD |
8543 | { "_wxWindowDisabler","_class_wxWindowDisabler",0}, |
8544 | { "_class_wxDateTime","_wxDateTime",0}, | |
f6bcfd97 BP |
8545 | { "_wxPrintQuality","_wxCoord",0}, |
8546 | { "_wxPrintQuality","_int",0}, | |
8547 | { "_wxPrintQuality","_signed_int",0}, | |
8548 | { "_wxPrintQuality","_unsigned_int",0}, | |
8549 | { "_wxPrintQuality","_wxWindowID",0}, | |
8550 | { "_wxPrintQuality","_uint",0}, | |
8551 | { "_wxPrintQuality","_EBool",0}, | |
8552 | { "_wxPrintQuality","_size_t",0}, | |
fe47ec10 | 8553 | { "_wxPrintQuality","_time_t",0}, |
f6bcfd97 BP |
8554 | { "_class_wxCustomDataObject","_wxCustomDataObject",0}, |
8555 | { "_wxSpinCtrl","_class_wxSpinCtrl",0}, | |
8556 | { "_wxFontData","_class_wxFontData",0}, | |
8557 | { "_class_wxRegionIterator","_wxRegionIterator",0}, | |
8558 | { "_class_wxPyTextDropTarget","_wxPyTextDropTarget",0}, | |
8559 | { "_class_wxMenuBar","_wxMenuBar",0}, | |
8560 | { "_class_wxPyTreeItemData","_wxPyTreeItemData",0}, | |
4662be59 | 8561 | { "_class_wxStaticBoxSizer","_wxStaticBoxSizer",0}, |
f6bcfd97 BP |
8562 | { "_class_wxEvtHandler","_class_wxStyledTextCtrl",SwigwxStyledTextCtrlTowxEvtHandler}, |
8563 | { "_class_wxEvtHandler","_wxStyledTextCtrl",SwigwxStyledTextCtrlTowxEvtHandler}, | |
8564 | { "_class_wxEvtHandler","_wxEvtHandler",0}, | |
4662be59 | 8565 | { "_wxPaintEvent","_class_wxPaintEvent",0}, |
f6bcfd97 | 8566 | { "_wxGIFHandler","_class_wxGIFHandler",0}, |
4662be59 | 8567 | { "_wxPySizer","_class_wxPySizer",0}, |
ea7c631c | 8568 | { "_wxInternetFSHandler","_class_wxInternetFSHandler",0}, |
f6bcfd97 BP |
8569 | { "_wxIndividualLayoutConstraint","_class_wxIndividualLayoutConstraint",0}, |
8570 | { "_wxCursor","_class_wxCursor",0}, | |
8571 | { "_wxNotifyEvent","_class_wxNotifyEvent",0}, | |
ea7c631c | 8572 | { "_wxPyProcess","_class_wxPyProcess",0}, |
f6bcfd97 BP |
8573 | { "_wxPyTreeCtrl","_class_wxPyTreeCtrl",0}, |
8574 | { "_wxImageHandler","_class_wxImageHandler",0}, | |
f3d9dc1d | 8575 | { "_wxMutexGuiLocker","_class_wxMutexGuiLocker",0}, |
f6bcfd97 BP |
8576 | { "_wxLog","_class_wxLog",0}, |
8577 | { "_class_wxToolBarBase","_wxToolBarBase",0}, | |
8578 | { "_wxMask","_class_wxMask",0}, | |
8579 | { "_wxToolTip","_class_wxToolTip",0}, | |
8580 | { "_wxPNGHandler","_class_wxPNGHandler",0}, | |
8581 | { "_class_wxStyledTextCtrl","_wxStyledTextCtrl",0}, | |
8582 | { "_class_wxColourData","_wxColourData",0}, | |
8583 | { "_class_wxPageSetupDialogData","_wxPageSetupDialogData",0}, | |
8584 | { "_wxPrinter","_class_wxPrinter",0}, | |
8585 | { "_wxPen","_class_wxPen",0}, | |
8586 | { "_wxUpdateUIEvent","_class_wxUpdateUIEvent",0}, | |
8587 | { "_class_wxNotebookSizer","_wxNotebookSizer",0}, | |
8588 | { "_byte","_unsigned_char",0}, | |
8589 | { "_wxDataObject","_class_wxDataObject",0}, | |
f3d9dc1d | 8590 | { "_class_wxPyFontEnumerator","_wxPyFontEnumerator",0}, |
4662be59 | 8591 | { "_wxStaticBox","_class_wxStaticBox",0}, |
f3d9dc1d | 8592 | { "_wxColourDatabase","_class_wxColourDatabase",0}, |
f6bcfd97 BP |
8593 | { "_wxPyDataObjectSimple","_class_wxPyDataObjectSimple",0}, |
8594 | { "_wxPyDropSource","_class_wxPyDropSource",0}, | |
8595 | { "_wxChoice","_class_wxChoice",0}, | |
8596 | { "_wxSlider","_class_wxSlider",0}, | |
8597 | { "_wxNotebookEvent","_class_wxNotebookEvent",0}, | |
8598 | { "_wxPyPrintout","_class_wxPyPrintout",0}, | |
8599 | { "_long","_unsigned_long",0}, | |
8600 | { "_long","_signed_long",0}, | |
8601 | { "_wxImageList","_class_wxImageList",0}, | |
8602 | { "_wxDataObjectSimple","_class_wxDataObjectSimple",0}, | |
8603 | { "_wxDropFilesEvent","_class_wxDropFilesEvent",0}, | |
8604 | { "_wxBitmapButton","_class_wxBitmapButton",0}, | |
f3d9dc1d | 8605 | { "_wxSashWindow","_class_wxSashWindow",0}, |
4662be59 | 8606 | { "_class_wxSizer","_wxSizer",0}, |
f6bcfd97 BP |
8607 | { "_class_wxTIFFHandler","_wxTIFFHandler",0}, |
8608 | { "_class_wxPrintDialogData","_wxPrintDialogData",0}, | |
4662be59 | 8609 | { "_wxGridSizer","_class_wxGridSizer",0}, |
f6bcfd97 BP |
8610 | { "_class_wxAcceleratorTable","_wxAcceleratorTable",0}, |
8611 | { "_class_wxClipboard","_wxClipboard",0}, | |
8612 | { "_class_wxGauge","_wxGauge",0}, | |
8613 | { "_class_wxSashEvent","_wxSashEvent",0}, | |
8614 | { "_wxDC","_class_wxDC",0}, | |
8615 | { "_wxSizerItem","_class_wxSizerItem",0}, | |
8616 | { "_class_wxBitmapDataObject","_wxBitmapDataObject",0}, | |
8617 | { "_wxListEvent","_class_wxListEvent",0}, | |
8618 | { "_class_wxSingleChoiceDialog","_wxSingleChoiceDialog",0}, | |
8619 | { "_wxProgressDialog","_class_wxProgressDialog",0}, | |
8620 | { "_class_wxBMPHandler","_wxBMPHandler",0}, | |
8621 | { "_wxPrintPreview","_class_wxPrintPreview",0}, | |
4662be59 | 8622 | { "_class_wxFlexGridSizer","_wxFlexGridSizer",0}, |
f6bcfd97 BP |
8623 | { "_wxSpinEvent","_class_wxSpinEvent",0}, |
8624 | { "_wxSashLayoutWindow","_class_wxSashLayoutWindow",0}, | |
8625 | { "_size_t","_wxCoord",0}, | |
8626 | { "_size_t","_wxPrintQuality",0}, | |
fe47ec10 | 8627 | { "_size_t","_time_t",0}, |
f6bcfd97 BP |
8628 | { "_size_t","_unsigned_int",0}, |
8629 | { "_size_t","_int",0}, | |
8630 | { "_size_t","_wxWindowID",0}, | |
8631 | { "_size_t","_uint",0}, | |
8632 | { "_class_wxRealPoint","_wxRealPoint",0}, | |
8633 | { "_wxNavigationKeyEvent","_class_wxNavigationKeyEvent",0}, | |
8634 | { "_wxPNMHandler","_class_wxPNMHandler",0}, | |
8635 | { "_wxWindowCreateEvent","_class_wxWindowCreateEvent",0}, | |
8636 | { "_wxLogGui","_class_wxLogGui",0}, | |
4662be59 | 8637 | { "_class_wxMenuItem","_wxMenuItem",0}, |
f6bcfd97 BP |
8638 | { "_class_wxPaintEvent","_wxPaintEvent",0}, |
8639 | { "_wxSysColourChangedEvent","_class_wxSysColourChangedEvent",0}, | |
8640 | { "_class_wxStatusBar","_wxStatusBar",0}, | |
8641 | { "_class_wxGIFHandler","_wxGIFHandler",0}, | |
4662be59 | 8642 | { "_class_wxPySizer","_wxPySizer",0}, |
7a446686 | 8643 | { "_class_wxPostScriptDC","_wxPostScriptDC",0}, |
4662be59 | 8644 | { "_wxPanel","_class_wxPanel",0}, |
f6bcfd97 BP |
8645 | { "_wxInitDialogEvent","_class_wxInitDialogEvent",0}, |
8646 | { "_wxCheckBox","_class_wxCheckBox",0}, | |
8647 | { "_class_wxPyTreeCtrl","_wxPyTreeCtrl",0}, | |
8648 | { "_wxPyEvent","_class_wxPyEvent",0}, | |
8649 | { "_wxTextCtrl","_class_wxTextCtrl",0}, | |
8650 | { "_class_wxMask","_wxMask",0}, | |
8651 | { "_wxTextDataObject","_class_wxTextDataObject",0}, | |
8652 | { "_class_wxKeyEvent","_wxKeyEvent",0}, | |
8653 | { "_class_wxToolTip","_wxToolTip",0}, | |
8654 | { "_class_wxPNGHandler","_wxPNGHandler",0}, | |
ea7c631c | 8655 | { "_wxFileConfig","_class_wxFileConfig",0}, |
f6bcfd97 BP |
8656 | { "_wxColour","_class_wxColour",0}, |
8657 | { "_class_wxDialog","_wxDialog",0}, | |
8658 | { "_wxBusyCursor","_class_wxBusyCursor",0}, | |
8659 | { "_wxPageSetupDialog","_class_wxPageSetupDialog",0}, | |
8660 | { "_class_wxPrinter","_wxPrinter",0}, | |
8661 | { "_class_wxFileDataObject","_wxFileDataObject",0}, | |
8662 | { "_wxIdleEvent","_class_wxIdleEvent",0}, | |
8663 | { "_class_wxUpdateUIEvent","_wxUpdateUIEvent",0}, | |
8664 | { "_wxToolBar","_class_wxToolBar",0}, | |
8665 | { "_class_wxDataObject","_wxDataObject",0}, | |
f3d9dc1d | 8666 | { "_wxCaret","_class_wxCaret",0}, |
4662be59 | 8667 | { "_wxStaticLine","_class_wxStaticLine",0}, |
f6bcfd97 BP |
8668 | { "_class_wxLayoutAlgorithm","_wxLayoutAlgorithm",0}, |
8669 | { "_wxBrush","_class_wxBrush",0}, | |
d1679124 | 8670 | { "_wxToggleButton","_class_wxToggleButton",0}, |
f6bcfd97 BP |
8671 | { "_wxMiniFrame","_class_wxMiniFrame",0}, |
8672 | { "_class_wxNotebookEvent","_wxNotebookEvent",0}, | |
8673 | { "_class_wxPyPrintout","_wxPyPrintout",0}, | |
8674 | { "_wxDataFormat","_class_wxDataFormat",0}, | |
8675 | { "_class_wxDataObjectSimple","_wxDataObjectSimple",0}, | |
8676 | { "_class_wxSashWindow","_wxSashWindow",0}, | |
8677 | { "_wxShowEvent","_class_wxShowEvent",0}, | |
8678 | { "_uint","_wxCoord",0}, | |
8679 | { "_uint","_wxPrintQuality",0}, | |
fe47ec10 | 8680 | { "_uint","_time_t",0}, |
f6bcfd97 BP |
8681 | { "_uint","_size_t",0}, |
8682 | { "_uint","_unsigned_int",0}, | |
8683 | { "_uint","_int",0}, | |
8684 | { "_uint","_wxWindowID",0}, | |
8685 | { "_wxChar","_char",0}, | |
4662be59 | 8686 | { "_wxPyValidator","_class_wxPyValidator",0}, |
f6bcfd97 BP |
8687 | { "_class_wxEvent","_class_wxStyledTextEvent",SwigwxStyledTextEventTowxEvent}, |
8688 | { "_class_wxEvent","_wxStyledTextEvent",SwigwxStyledTextEventTowxEvent}, | |
8689 | { "_class_wxEvent","_wxEvent",0}, | |
8690 | { "_wxCheckListBox","_class_wxCheckListBox",0}, | |
8691 | { "_wxSplitterEvent","_class_wxSplitterEvent",0}, | |
8692 | { "_wxRect","_class_wxRect",0}, | |
8693 | { "_wxCommandEvent","_class_wxStyledTextEvent",SwigwxStyledTextEventTowxCommandEvent}, | |
8694 | { "_wxCommandEvent","_wxStyledTextEvent",SwigwxStyledTextEventTowxCommandEvent}, | |
8695 | { "_wxCommandEvent","_class_wxCommandEvent",0}, | |
8696 | { "_wxSizeEvent","_class_wxSizeEvent",0}, | |
8697 | { "_class_wxLogWindow","_wxLogWindow",0}, | |
8698 | { "_class_wxImage","_wxImage",0}, | |
8699 | { "_wxPoint","_class_wxPoint",0}, | |
ea7c631c | 8700 | { "_class_wxWindowDisabler","_wxWindowDisabler",0}, |
f6bcfd97 BP |
8701 | { "_class_wxSashLayoutWindow","_wxSashLayoutWindow",0}, |
8702 | { "_class_wxButton","_wxButton",0}, | |
8703 | { "_wxRadioBox","_class_wxRadioBox",0}, | |
8704 | { "_class_wxSpinCtrl","_wxSpinCtrl",0}, | |
8705 | { "_class_wxFontData","_wxFontData",0}, | |
8706 | { "_class_wxPNMHandler","_wxPNMHandler",0}, | |
4662be59 | 8707 | { "_wxBoxSizer","_class_wxBoxSizer",0}, |
ea7c631c | 8708 | { "_class_wxZipFSHandler","_wxZipFSHandler",0}, |
f6bcfd97 BP |
8709 | { "_char","_wxChar",0}, |
8710 | { "_wxBitmap","_class_wxBitmap",0}, | |
f3d9dc1d | 8711 | { "_wxPenList","_class_wxPenList",0}, |
f6bcfd97 BP |
8712 | { "_wxPrintDialog","_class_wxPrintDialog",0}, |
8713 | { "_wxWindowDC","_class_wxWindowDC",0}, | |
8714 | { "_wxTimerEvent","_class_wxTimerEvent",0}, | |
4662be59 | 8715 | { "_wxPyTimer","_class_wxPyTimer",0}, |
f6bcfd97 BP |
8716 | { "_wxScrollBar","_class_wxScrollBar",0}, |
8717 | { "_wxSpinButton","_class_wxSpinButton",0}, | |
8718 | { "_wxColourDialog","_class_wxColourDialog",0}, | |
8719 | { "_wxPrintData","_class_wxPrintData",0}, | |
ea7c631c | 8720 | { "_class_wxInternetFSHandler","_wxInternetFSHandler",0}, |
f6bcfd97 BP |
8721 | { "_class_wxIndividualLayoutConstraint","_wxIndividualLayoutConstraint",0}, |
8722 | { "_class_wxNotifyEvent","_wxNotifyEvent",0}, | |
8723 | { "_wxMessageDialog","_class_wxMessageDialog",0}, | |
f3d9dc1d | 8724 | { "_class_wxValidator","_wxValidator",0}, |
4662be59 | 8725 | { "_class_wxPyEvent","_wxPyEvent",0}, |
f3d9dc1d | 8726 | { "_class_wxMutexGuiLocker","_wxMutexGuiLocker",0}, |
f6bcfd97 | 8727 | { "_wxTextEntryDialog","_class_wxTextEntryDialog",0}, |
ea7c631c | 8728 | { "_wxConfig","_class_wxConfig",0}, |
f6bcfd97 BP |
8729 | { "_class_wxIconizeEvent","_wxIconizeEvent",0}, |
8730 | { "_class_wxStaticBitmap","_wxStaticBitmap",0}, | |
ea7c631c | 8731 | { "_class_wxFileConfig","_wxFileConfig",0}, |
f6bcfd97 BP |
8732 | { "_class_wxBusyCursor","_wxBusyCursor",0}, |
8733 | { "_wxToolBarSimple","_class_wxToolBarSimple",0}, | |
8734 | { "_wxMDIChildFrame","_class_wxMDIChildFrame",0}, | |
8735 | { "_wxListItem","_class_wxListItem",0}, | |
8736 | { "_class_wxToolBar","_wxToolBar",0}, | |
8737 | { "_wxDropTarget","_class_wxDropTarget",0}, | |
8738 | { "_class_wxStaticLine","_wxStaticLine",0}, | |
f3d9dc1d | 8739 | { "_class_wxColourDatabase","_wxColourDatabase",0}, |
f6bcfd97 BP |
8740 | { "_wxScrollEvent","_class_wxScrollEvent",0}, |
8741 | { "_wxToolBarToolBase","_class_wxToolBarToolBase",0}, | |
8742 | { "_wxCalculateLayoutEvent","_class_wxCalculateLayoutEvent",0}, | |
ea7c631c | 8743 | { "_class_wxMemoryFSHandler","_wxMemoryFSHandler",0}, |
f6bcfd97 BP |
8744 | { "_EBool","_wxCoord",0}, |
8745 | { "_EBool","_wxPrintQuality",0}, | |
8746 | { "_EBool","_signed_int",0}, | |
8747 | { "_EBool","_int",0}, | |
8748 | { "_EBool","_wxWindowID",0}, | |
8749 | { "_class_wxRegion","_wxRegion",0}, | |
8750 | { "_class_wxDataFormat","_wxDataFormat",0}, | |
8751 | { "_class_wxDropFilesEvent","_wxDropFilesEvent",0}, | |
8752 | { "_wxWindowDestroyEvent","_class_wxWindowDestroyEvent",0}, | |
8753 | { "_class_wxPreviewFrame","_wxPreviewFrame",0}, | |
8754 | { "_wxStaticText","_class_wxStaticText",0}, | |
8755 | { "_wxFont","_class_wxFont",0}, | |
8756 | { "_class_wxPyDropTarget","_wxPyDropTarget",0}, | |
8757 | { "_wxCloseEvent","_class_wxCloseEvent",0}, | |
8758 | { "_class_wxSplitterEvent","_wxSplitterEvent",0}, | |
ea7c631c | 8759 | { "_wxProcessEvent","_class_wxProcessEvent",0}, |
f6bcfd97 | 8760 | { "_wxNotebook","_class_wxNotebook",0}, |
ea7c631c | 8761 | { "_wxFSFile","_class_wxFSFile",0}, |
f6bcfd97 BP |
8762 | { "_unsigned_long","_long",0}, |
8763 | { "_class_wxRect","_wxRect",0}, | |
8764 | { "_class_wxDC","_wxDC",0}, | |
8765 | { "_wxScrollWinEvent","_class_wxScrollWinEvent",0}, | |
8766 | { "_wxGenericDragImage","_class_wxGenericDragImage",0}, | |
8767 | { "_class_wxProgressDialog","_wxProgressDialog",0}, | |
f3d9dc1d | 8768 | { "_class_wxBrushList","_wxBrushList",0}, |
f6bcfd97 | 8769 | { "_wxQueryNewPaletteEvent","_class_wxQueryNewPaletteEvent",0}, |
ea7c631c | 8770 | { "_wxPyInputStream","_class_wxPyInputStream",0}, |
f6bcfd97 | 8771 | { "_wxPyApp","_class_wxPyApp",0}, |
f3d9dc1d | 8772 | { "_class_wxPenList","_wxPenList",0}, |
f6bcfd97 | 8773 | { "_class_wxWindowCreateEvent","_wxWindowCreateEvent",0}, |
ea7c631c | 8774 | { "_class_wxOutputStream","_wxOutputStream",0}, |
f6bcfd97 BP |
8775 | { "_wxLogTextCtrl","_class_wxLogTextCtrl",0}, |
8776 | { "_wxMDIParentFrame","_class_wxMDIParentFrame",0}, | |
8777 | { "_class_wxTreeEvent","_wxTreeEvent",0}, | |
8778 | { "_class_wxDirDialog","_wxDirDialog",0}, | |
ea7c631c | 8779 | { "_wxTimeSpan","_class_wxTimeSpan",0}, |
f6bcfd97 BP |
8780 | { "_wxFocusEvent","_class_wxFocusEvent",0}, |
8781 | { "_wxMaximizeEvent","_class_wxMaximizeEvent",0}, | |
8782 | { "_class_wxTimerEvent","_wxTimerEvent",0}, | |
f3d9dc1d | 8783 | { "_class_wxPyTimer","_wxPyTimer",0}, |
4662be59 | 8784 | { "_class_wxSpinButton","_wxSpinButton",0}, |
f6bcfd97 | 8785 | { "_wxAcceleratorEntry","_class_wxAcceleratorEntry",0}, |
4662be59 | 8786 | { "_class_wxPanel","_wxPanel",0}, |
f6bcfd97 BP |
8787 | { "_class_wxCheckBox","_wxCheckBox",0}, |
8788 | { "_wxComboBox","_class_wxComboBox",0}, | |
8789 | { "_wxRadioButton","_class_wxRadioButton",0}, | |
8790 | { "_class_wxMessageDialog","_wxMessageDialog",0}, | |
8791 | { "_signed_int","_wxCoord",0}, | |
8792 | { "_signed_int","_wxPrintQuality",0}, | |
8793 | { "_signed_int","_EBool",0}, | |
8794 | { "_signed_int","_wxWindowID",0}, | |
8795 | { "_signed_int","_int",0}, | |
8796 | { "_class_wxTextCtrl","_wxTextCtrl",0}, | |
8797 | { "_class_wxListItemAttr","_wxListItemAttr",0}, | |
8798 | { "_wxLayoutConstraints","_class_wxLayoutConstraints",0}, | |
8799 | { "_class_wxTextDataObject","_wxTextDataObject",0}, | |
4662be59 | 8800 | { "_wxMenu","_class_wxMenu",0}, |
f6bcfd97 BP |
8801 | { "_class_wxMoveEvent","_wxMoveEvent",0}, |
8802 | { "_wxListBox","_class_wxListBox",0}, | |
8803 | { "_wxScreenDC","_class_wxScreenDC",0}, | |
8804 | { "_class_wxToolBarSimple","_wxToolBarSimple",0}, | |
8805 | { "_class_wxMDIChildFrame","_wxMDIChildFrame",0}, | |
ea7c631c | 8806 | { "_WXTYPE","_wxDateTime_t",0}, |
f6bcfd97 BP |
8807 | { "_WXTYPE","_short",0}, |
8808 | { "_WXTYPE","_signed_short",0}, | |
8809 | { "_WXTYPE","_unsigned_short",0}, | |
8810 | { "_wxFileDialog","_class_wxFileDialog",0}, | |
8811 | { "_class_wxDropTarget","_wxDropTarget",0}, | |
8812 | { "_class_wxCaret","_wxCaret",0}, | |
8813 | { "_class_wxMDIClientWindow","_wxMDIClientWindow",0}, | |
8814 | { "_class_wxBrush","_wxBrush",0}, | |
8815 | { "_wxTipProvider","_class_wxTipProvider",0}, | |
ea7c631c | 8816 | { "_unsigned_short","_wxDateTime_t",0}, |
f6bcfd97 BP |
8817 | { "_unsigned_short","_WXTYPE",0}, |
8818 | { "_unsigned_short","_short",0}, | |
8819 | { "_class_wxWindow","_class_wxStyledTextCtrl",SwigwxStyledTextCtrlTowxWindow}, | |
8820 | { "_class_wxWindow","_wxStyledTextCtrl",SwigwxStyledTextCtrlTowxWindow}, | |
8821 | { "_class_wxWindow","_wxWindow",0}, | |
8822 | { "_class_wxLogStderr","_wxLogStderr",0}, | |
8823 | { "_wxSplitterWindow","_class_wxSplitterWindow",0}, | |
ea7c631c | 8824 | { "_wxDateSpan","_class_wxDateSpan",0}, |
f6bcfd97 BP |
8825 | { "_class_wxStyledTextEvent","_wxStyledTextEvent",0}, |
8826 | { "_class_wxStaticText","_wxStaticText",0}, | |
8827 | { "_wxPrintDialogData","_class_wxPrintDialogData",0}, | |
8828 | { "_class_wxFont","_wxFont",0}, | |
8829 | { "_wxClipboard","_class_wxClipboard",0}, | |
f3d9dc1d | 8830 | { "_class_wxPyValidator","_wxPyValidator",0}, |
4662be59 | 8831 | { "_class_wxCloseEvent","_wxCloseEvent",0}, |
f6bcfd97 BP |
8832 | { "_wxSashEvent","_class_wxSashEvent",0}, |
8833 | { "_wxBusyInfo","_class_wxBusyInfo",0}, | |
f3d9dc1d | 8834 | { "_wxFontList","_class_wxFontList",0}, |
f6bcfd97 BP |
8835 | { "_class_wxMenuEvent","_wxMenuEvent",0}, |
8836 | { "_wxPaletteChangedEvent","_class_wxPaletteChangedEvent",0}, | |
8837 | { "_class_wxPyBitmapDataObject","_wxPyBitmapDataObject",0}, | |
8838 | { "_wxClientDC","_class_wxClientDC",0}, | |
8839 | { "_wxMouseEvent","_class_wxMouseEvent",0}, | |
8840 | { "_class_wxGenericDragImage","_wxGenericDragImage",0}, | |
8841 | { "_wxListCtrl","_class_wxListCtrl",0}, | |
8842 | { "_wxSingleChoiceDialog","_class_wxSingleChoiceDialog",0}, | |
8843 | { "_class_wxPoint","_wxPoint",0}, | |
ea7c631c | 8844 | { "_class_wxPyInputStream","_wxPyInputStream",0}, |
f6bcfd97 BP |
8845 | { "_wxRealPoint","_class_wxRealPoint",0}, |
8846 | { "_class_wxRadioBox","_wxRadioBox",0}, | |
8847 | { "_class_wxBoxSizer","_wxBoxSizer",0}, | |
8848 | { "_signed_short","_WXTYPE",0}, | |
8849 | { "_signed_short","_short",0}, | |
8850 | { "_wxMemoryDC","_class_wxMemoryDC",0}, | |
8851 | { "_wxPyTextDataObject","_class_wxPyTextDataObject",0}, | |
8852 | { "_class_wxPrintDialog","_wxPrintDialog",0}, | |
ea7c631c | 8853 | { "_wxPyFileSystemHandler","_class_wxPyFileSystemHandler",0}, |
f6bcfd97 BP |
8854 | { "_wxPaintDC","_class_wxPaintDC",0}, |
8855 | { "_class_wxWindowDC","_wxWindowDC",0}, | |
8856 | { "_class_wxFocusEvent","_wxFocusEvent",0}, | |
8857 | { "_class_wxMaximizeEvent","_wxMaximizeEvent",0}, | |
8858 | { "_wxStatusBar","_class_wxStatusBar",0}, | |
8859 | { "_class_wxAcceleratorEntry","_wxAcceleratorEntry",0}, | |
8860 | { "_class_wxCursor","_wxCursor",0}, | |
7a446686 | 8861 | { "_wxPostScriptDC","_class_wxPostScriptDC",0}, |
f6bcfd97 | 8862 | { "_wxPyFileDropTarget","_class_wxPyFileDropTarget",0}, |
ea7c631c | 8863 | { "_class_wxPyProcess","_wxPyProcess",0}, |
f6bcfd97 BP |
8864 | { "_class_wxImageHandler","_wxImageHandler",0}, |
8865 | { "_wxScrolledWindow","_class_wxScrolledWindow",0}, | |
8866 | { "_class_wxLog","_wxLog",0}, | |
8867 | { "_wxTreeItemId","_class_wxTreeItemId",0}, | |
8868 | { "_unsigned_char","_byte",0}, | |
4662be59 | 8869 | { "_class_wxMenu","_wxMenu",0}, |
f6bcfd97 BP |
8870 | { "_wxControl","_class_wxStyledTextCtrl",SwigwxStyledTextCtrlTowxControl}, |
8871 | { "_wxControl","_wxStyledTextCtrl",SwigwxStyledTextCtrlTowxControl}, | |
8872 | { "_wxControl","_class_wxControl",0}, | |
8873 | { "_class_wxListBox","_wxListBox",0}, | |
8874 | { "_unsigned_int","_wxCoord",0}, | |
8875 | { "_unsigned_int","_wxPrintQuality",0}, | |
fe47ec10 | 8876 | { "_unsigned_int","_time_t",0}, |
f6bcfd97 BP |
8877 | { "_unsigned_int","_size_t",0}, |
8878 | { "_unsigned_int","_uint",0}, | |
8879 | { "_unsigned_int","_wxWindowID",0}, | |
8880 | { "_unsigned_int","_int",0}, | |
8881 | { "_wxIcon","_class_wxIcon",0}, | |
8882 | { "_wxDialog","_class_wxDialog",0}, | |
8883 | { "_class_wxListItem","_wxListItem",0}, | |
8884 | { "_class_wxPen","_wxPen",0}, | |
8885 | { "_class_wxFileDialog","_wxFileDialog",0}, | |
8886 | { "_wxQueryLayoutInfoEvent","_class_wxQueryLayoutInfoEvent",0}, | |
ea7c631c RD |
8887 | { "_wxConfigBase","_class_wxConfigBase",0}, |
8888 | { "_short","_wxDateTime_t",0}, | |
f6bcfd97 BP |
8889 | { "_short","_WXTYPE",0}, |
8890 | { "_short","_unsigned_short",0}, | |
8891 | { "_short","_signed_short",0}, | |
8892 | { "_class_wxStaticBox","_wxStaticBox",0}, | |
8893 | { "_wxLayoutAlgorithm","_class_wxLayoutAlgorithm",0}, | |
8894 | { "_class_wxPyDataObjectSimple","_wxPyDataObjectSimple",0}, | |
8895 | { "_class_wxPyDropSource","_wxPyDropSource",0}, | |
8896 | { "_class_wxScrollEvent","_wxScrollEvent",0}, | |
8897 | { "_wxJoystickEvent","_class_wxJoystickEvent",0}, | |
8898 | { "_class_wxChoice","_wxChoice",0}, | |
8899 | { "_class_wxSlider","_wxSlider",0}, | |
8900 | { "_class_wxCalculateLayoutEvent","_wxCalculateLayoutEvent",0}, | |
8901 | { "_class_wxImageList","_wxImageList",0}, | |
8902 | { "_class_wxBitmapButton","_wxBitmapButton",0}, | |
ea7c631c | 8903 | { "_wxFileSystemHandler","_class_wxFileSystemHandler",0}, |
f6bcfd97 BP |
8904 | { "_wxPyTipProvider","_class_wxPyTipProvider",0}, |
8905 | { "_wxFrame","_class_wxFrame",0}, | |
8906 | { "_wxPCXHandler","_class_wxPCXHandler",0}, | |
4662be59 | 8907 | { "_class_wxGridSizer","_wxGridSizer",0}, |
f6bcfd97 BP |
8908 | { "_class_wxPaletteChangedEvent","_wxPaletteChangedEvent",0}, |
8909 | { "_class_wxNotebook","_wxNotebook",0}, | |
8910 | { "_wxJPEGHandler","_class_wxJPEGHandler",0}, | |
8911 | { "_wxWindowID","_wxCoord",0}, | |
8912 | { "_wxWindowID","_wxPrintQuality",0}, | |
fe47ec10 | 8913 | { "_wxWindowID","_time_t",0}, |
f6bcfd97 BP |
8914 | { "_wxWindowID","_size_t",0}, |
8915 | { "_wxWindowID","_EBool",0}, | |
8916 | { "_wxWindowID","_uint",0}, | |
8917 | { "_wxWindowID","_int",0}, | |
8918 | { "_wxWindowID","_signed_int",0}, | |
8919 | { "_wxWindowID","_unsigned_int",0}, | |
8920 | { "_class_wxScrollWinEvent","_wxScrollWinEvent",0}, | |
8921 | { "_class_wxSizerItem","_wxSizerItem",0}, | |
8922 | { "_int","_wxCoord",0}, | |
8923 | { "_int","_wxPrintQuality",0}, | |
fe47ec10 | 8924 | { "_int","_time_t",0}, |
f6bcfd97 BP |
8925 | { "_int","_size_t",0}, |
8926 | { "_int","_EBool",0}, | |
8927 | { "_int","_uint",0}, | |
8928 | { "_int","_wxWindowID",0}, | |
8929 | { "_int","_unsigned_int",0}, | |
8930 | { "_int","_signed_int",0}, | |
8931 | { "_class_wxMouseEvent","_wxMouseEvent",0}, | |
8932 | { "_wxPyCommandEvent","_class_wxPyCommandEvent",0}, | |
8933 | { "_wxLogWindow","_class_wxLogWindow",0}, | |
8934 | { "_class_wxListEvent","_wxListEvent",0}, | |
8935 | { "_class_wxPrintPreview","_wxPrintPreview",0}, | |
ea7c631c RD |
8936 | { "_wxDateTime_t","_unsigned_short",0}, |
8937 | { "_wxDateTime_t","_short",0}, | |
8938 | { "_wxDateTime_t","_WXTYPE",0}, | |
f6bcfd97 BP |
8939 | { "_class_wxSpinEvent","_wxSpinEvent",0}, |
8940 | { "_class_wxQueryNewPaletteEvent","_wxQueryNewPaletteEvent",0}, | |
ea7c631c | 8941 | { "_wxDateTime","_class_wxDateTime",0}, |
fe47ec10 RD |
8942 | { "_time_t","_wxCoord",0}, |
8943 | { "_time_t","_wxPrintQuality",0}, | |
8944 | { "_time_t","_unsigned_int",0}, | |
8945 | { "_time_t","_int",0}, | |
8946 | { "_time_t","_wxWindowID",0}, | |
8947 | { "_time_t","_uint",0}, | |
8948 | { "_time_t","_size_t",0}, | |
f6bcfd97 | 8949 | { "_class_wxNavigationKeyEvent","_wxNavigationKeyEvent",0}, |
f3d9dc1d | 8950 | { "_wxLogNull","_class_wxLogNull",0}, |
4662be59 | 8951 | { "_wxButton","_class_wxButton",0}, |
ea7c631c | 8952 | { "_wxZipFSHandler","_class_wxZipFSHandler",0}, |
f6bcfd97 BP |
8953 | { "_class_wxPyApp","_wxPyApp",0}, |
8954 | { "_wxSize","_class_wxSize",0}, | |
8955 | { "_wxRegionIterator","_class_wxRegionIterator",0}, | |
8956 | { "_class_wxPyTextDataObject","_wxPyTextDataObject",0}, | |
8957 | { "_class_wxLogTextCtrl","_wxLogTextCtrl",0}, | |
8958 | { "_class_wxLogGui","_wxLogGui",0}, | |
8959 | { "_class_wxMDIParentFrame","_wxMDIParentFrame",0}, | |
8960 | { "_wxPyTreeItemData","_class_wxPyTreeItemData",0}, | |
4662be59 | 8961 | { "_wxStaticBoxSizer","_class_wxStaticBoxSizer",0}, |
ea7c631c RD |
8962 | { "_class_wxTimeSpan","_wxTimeSpan",0}, |
8963 | { "_class_wxPyFileSystemHandler","_wxPyFileSystemHandler",0}, | |
f6bcfd97 BP |
8964 | { "_class_wxPaintDC","_wxPaintDC",0}, |
8965 | { "_class_wxSysColourChangedEvent","_wxSysColourChangedEvent",0}, | |
8966 | { "_class_wxPyFileDropTarget","_wxPyFileDropTarget",0}, | |
8967 | { "_class_wxInitDialogEvent","_wxInitDialogEvent",0}, | |
8968 | { "_class_wxComboBox","_wxComboBox",0}, | |
8969 | { "_class_wxRadioButton","_wxRadioButton",0}, | |
8970 | { "_wxValidator","_class_wxValidator",0}, | |
8971 | { "_wxToolBarBase","_class_wxToolBarBase",0}, | |
8972 | { "_class_wxTreeItemId","_wxTreeItemId",0}, | |
8973 | { "_class_wxLayoutConstraints","_wxLayoutConstraints",0}, | |
8974 | { "_wxIconizeEvent","_class_wxIconizeEvent",0}, | |
8975 | { "_class_wxControl","_class_wxStyledTextCtrl",SwigwxStyledTextCtrlTowxControl}, | |
8976 | { "_class_wxControl","_wxStyledTextCtrl",SwigwxStyledTextCtrlTowxControl}, | |
8977 | { "_class_wxControl","_wxControl",0}, | |
8978 | { "_wxStaticBitmap","_class_wxStaticBitmap",0}, | |
8979 | { "_wxStyledTextCtrl","_class_wxStyledTextCtrl",0}, | |
8980 | { "_class_wxIcon","_wxIcon",0}, | |
8981 | { "_class_wxColour","_wxColour",0}, | |
8982 | { "_class_wxScreenDC","_wxScreenDC",0}, | |
8983 | { "_class_wxPageSetupDialog","_wxPageSetupDialog",0}, | |
8984 | { "_wxPalette","_class_wxPalette",0}, | |
8985 | { "_class_wxIdleEvent","_wxIdleEvent",0}, | |
ea7c631c | 8986 | { "_class_wxConfigBase","_wxConfigBase",0}, |
f6bcfd97 BP |
8987 | { "_wxCoord","_int",0}, |
8988 | { "_wxCoord","_signed_int",0}, | |
8989 | { "_wxCoord","_unsigned_int",0}, | |
8990 | { "_wxCoord","_wxWindowID",0}, | |
8991 | { "_wxCoord","_uint",0}, | |
8992 | { "_wxCoord","_EBool",0}, | |
8993 | { "_wxCoord","_size_t",0}, | |
fe47ec10 | 8994 | { "_wxCoord","_time_t",0}, |
f6bcfd97 BP |
8995 | { "_wxCoord","_wxPrintQuality",0}, |
8996 | { "_wxEraseEvent","_class_wxEraseEvent",0}, | |
8997 | { "_wxDataObjectComposite","_class_wxDataObjectComposite",0}, | |
8998 | { "_class_wxJoystickEvent","_wxJoystickEvent",0}, | |
8999 | { "_class_wxTipProvider","_wxTipProvider",0}, | |
d1679124 | 9000 | { "_class_wxToggleButton","_wxToggleButton",0}, |
f6bcfd97 BP |
9001 | { "_class_wxMiniFrame","_wxMiniFrame",0}, |
9002 | { "_wxFontDialog","_class_wxFontDialog",0}, | |
ea7c631c | 9003 | { "_wxMemoryFSHandler","_class_wxMemoryFSHandler",0}, |
f6bcfd97 BP |
9004 | { "_wxRegion","_class_wxRegion",0}, |
9005 | { "_class_wxSplitterWindow","_wxSplitterWindow",0}, | |
9006 | { "_wxPreviewFrame","_class_wxPreviewFrame",0}, | |
4662be59 | 9007 | { "_wxSizer","_class_wxSizer",0}, |
ea7c631c RD |
9008 | { "_class_wxDateSpan","_wxDateSpan",0}, |
9009 | { "_wxFileSystem","_class_wxFileSystem",0}, | |
f6bcfd97 BP |
9010 | { "_class_wxShowEvent","_wxShowEvent",0}, |
9011 | { "_class_wxPyTipProvider","_wxPyTipProvider",0}, | |
9012 | { "_class_wxPCXHandler","_wxPCXHandler",0}, | |
9013 | { "_wxTIFFHandler","_class_wxTIFFHandler",0}, | |
9014 | { "_wxPyDropTarget","_class_wxPyDropTarget",0}, | |
9015 | { "_wxActivateEvent","_class_wxActivateEvent",0}, | |
9016 | { "_wxGauge","_class_wxGauge",0}, | |
9017 | { "_class_wxCheckListBox","_wxCheckListBox",0}, | |
9018 | { "_class_wxBusyInfo","_wxBusyInfo",0}, | |
f3d9dc1d | 9019 | { "_class_wxFontList","_wxFontList",0}, |
f6bcfd97 BP |
9020 | { "_class_wxCommandEvent","_class_wxStyledTextEvent",SwigwxStyledTextEventTowxCommandEvent}, |
9021 | { "_class_wxCommandEvent","_wxStyledTextEvent",SwigwxStyledTextEventTowxCommandEvent}, | |
9022 | { "_class_wxCommandEvent","_wxCommandEvent",0}, | |
9023 | { "_class_wxClientDC","_wxClientDC",0}, | |
9024 | { "_class_wxSizeEvent","_wxSizeEvent",0}, | |
9025 | { "_class_wxListCtrl","_wxListCtrl",0}, | |
f3d9dc1d | 9026 | { "_wxBrushList","_class_wxBrushList",0}, |
f6bcfd97 BP |
9027 | { "_wxCustomDataObject","_class_wxCustomDataObject",0}, |
9028 | { "_class_wxLogNull","_wxLogNull",0}, | |
9029 | { "_class_wxSize","_wxSize",0}, | |
9030 | { "_class_wxBitmap","_wxBitmap",0}, | |
9031 | { "_class_wxMemoryDC","_wxMemoryDC",0}, | |
9032 | { "_wxPyTextDropTarget","_class_wxPyTextDropTarget",0}, | |
9033 | { "_wxMenuBar","_class_wxMenuBar",0}, | |
ea7c631c | 9034 | { "_wxOutputStream","_class_wxOutputStream",0}, |
f6bcfd97 BP |
9035 | { "_wxTreeEvent","_class_wxTreeEvent",0}, |
9036 | { "_wxDirDialog","_class_wxDirDialog",0}, | |
9037 | { "_wxEvtHandler","_class_wxStyledTextCtrl",SwigwxStyledTextCtrlTowxEvtHandler}, | |
9038 | { "_wxEvtHandler","_wxStyledTextCtrl",SwigwxStyledTextCtrlTowxEvtHandler}, | |
9039 | { "_wxEvtHandler","_class_wxEvtHandler",0}, | |
9040 | { "_wxMenuItem","_class_wxMenuItem",0}, | |
4662be59 | 9041 | { "_class_wxScrollBar","_wxScrollBar",0}, |
f6bcfd97 BP |
9042 | { "_class_wxColourDialog","_wxColourDialog",0}, |
9043 | { "_class_wxPrintData","_wxPrintData",0}, | |
9044 | { "_class_wxScrolledWindow","_wxScrolledWindow",0}, | |
9045 | { "_wxListItemAttr","_class_wxListItemAttr",0}, | |
9046 | { "_class_wxTextEntryDialog","_wxTextEntryDialog",0}, | |
ea7c631c | 9047 | { "_class_wxConfig","_wxConfig",0}, |
f6bcfd97 BP |
9048 | { "_wxKeyEvent","_class_wxKeyEvent",0}, |
9049 | { "_wxMoveEvent","_class_wxMoveEvent",0}, | |
9050 | { "_wxColourData","_class_wxColourData",0}, | |
9051 | { "_wxPageSetupDialogData","_class_wxPageSetupDialogData",0}, | |
9052 | { "_class_wxPalette","_wxPalette",0}, | |
9053 | { "_wxFileDataObject","_class_wxFileDataObject",0}, | |
f3d9dc1d | 9054 | { "_class_wxQueryLayoutInfoEvent","_wxQueryLayoutInfoEvent",0}, |
4662be59 | 9055 | { "_wxNotebookSizer","_class_wxNotebookSizer",0}, |
f6bcfd97 BP |
9056 | { "_class_wxEraseEvent","_wxEraseEvent",0}, |
9057 | { "_wxPyFontEnumerator","_class_wxPyFontEnumerator",0}, | |
9058 | { "_wxMDIClientWindow","_class_wxMDIClientWindow",0}, | |
9059 | { "_class_wxDataObjectComposite","_wxDataObjectComposite",0}, | |
9060 | { "_class_wxToolBarToolBase","_wxToolBarToolBase",0}, | |
9061 | { "_class_wxFontDialog","_wxFontDialog",0}, | |
9062 | { "_wxWindow","_class_wxStyledTextCtrl",SwigwxStyledTextCtrlTowxWindow}, | |
9063 | { "_wxWindow","_wxStyledTextCtrl",SwigwxStyledTextCtrlTowxWindow}, | |
9064 | { "_wxWindow","_class_wxWindow",0}, | |
4662be59 | 9065 | { "_class_wxWindowDestroyEvent","_wxWindowDestroyEvent",0}, |
f6bcfd97 | 9066 | { "_wxLogStderr","_class_wxLogStderr",0}, |
ea7c631c RD |
9067 | { "_class_wxFileSystemHandler","_wxFileSystemHandler",0}, |
9068 | { "_class_wxFileSystem","_wxFileSystem",0}, | |
f6bcfd97 BP |
9069 | { "_wxStyledTextEvent","_class_wxStyledTextEvent",0}, |
9070 | { "_class_wxFrame","_wxFrame",0}, | |
9071 | {0,0,0}}; | |
9072 | ||
9073 | static PyObject *SWIG_globals; | |
9074 | #ifdef __cplusplus | |
9075 | extern "C" | |
9076 | #endif | |
9077 | SWIGEXPORT(void) initstc_c() { | |
9078 | PyObject *m, *d; | |
9079 | SWIG_globals = SWIG_newvarlink(); | |
9080 | m = Py_InitModule("stc_c", stc_cMethods); | |
9081 | d = PyModule_GetDict(m); | |
fe47ec10 RD |
9082 | PyDict_SetItemString(d,"wxSTC_INVALID_POSITION", PyInt_FromLong((long) -1)); |
9083 | PyDict_SetItemString(d,"wxSTC_START", PyInt_FromLong((long) 2000)); | |
9084 | PyDict_SetItemString(d,"wxSTC_OPTIONAL_START", PyInt_FromLong((long) 3000)); | |
9085 | PyDict_SetItemString(d,"wxSTC_LEXER_START", PyInt_FromLong((long) 4000)); | |
9086 | PyDict_SetItemString(d,"wxSTC_CMD_REDO", PyInt_FromLong((long) 2011)); | |
9087 | PyDict_SetItemString(d,"wxSTC_CMD_SELECTALL", PyInt_FromLong((long) 2013)); | |
9088 | PyDict_SetItemString(d,"wxSTC_WS_INVISIBLE", PyInt_FromLong((long) 0)); | |
9089 | PyDict_SetItemString(d,"wxSTC_WS_VISIBLEALWAYS", PyInt_FromLong((long) 1)); | |
9090 | PyDict_SetItemString(d,"wxSTC_WS_VISIBLEAFTERINDENT", PyInt_FromLong((long) 2)); | |
9091 | PyDict_SetItemString(d,"wxSTC_EOL_CRLF", PyInt_FromLong((long) 0)); | |
9092 | PyDict_SetItemString(d,"wxSTC_EOL_CR", PyInt_FromLong((long) 1)); | |
9093 | PyDict_SetItemString(d,"wxSTC_EOL_LF", PyInt_FromLong((long) 2)); | |
9094 | PyDict_SetItemString(d,"wxSTC_CP_UTF8", PyInt_FromLong((long) 65001)); | |
f6bcfd97 BP |
9095 | PyDict_SetItemString(d,"wxSTC_MARKER_MAX", PyInt_FromLong((long) 31)); |
9096 | PyDict_SetItemString(d,"wxSTC_MARK_CIRCLE", PyInt_FromLong((long) 0)); | |
9097 | PyDict_SetItemString(d,"wxSTC_MARK_ROUNDRECT", PyInt_FromLong((long) 1)); | |
9098 | PyDict_SetItemString(d,"wxSTC_MARK_ARROW", PyInt_FromLong((long) 2)); | |
9099 | PyDict_SetItemString(d,"wxSTC_MARK_SMALLRECT", PyInt_FromLong((long) 3)); | |
9100 | PyDict_SetItemString(d,"wxSTC_MARK_SHORTARROW", PyInt_FromLong((long) 4)); | |
9101 | PyDict_SetItemString(d,"wxSTC_MARK_EMPTY", PyInt_FromLong((long) 5)); | |
9102 | PyDict_SetItemString(d,"wxSTC_MARK_ARROWDOWN", PyInt_FromLong((long) 6)); | |
9103 | PyDict_SetItemString(d,"wxSTC_MARK_MINUS", PyInt_FromLong((long) 7)); | |
9104 | PyDict_SetItemString(d,"wxSTC_MARK_PLUS", PyInt_FromLong((long) 8)); | |
9105 | PyDict_SetItemString(d,"wxSTC_MARKNUM_FOLDER", PyInt_FromLong((long) 30)); | |
9106 | PyDict_SetItemString(d,"wxSTC_MARKNUM_FOLDEROPEN", PyInt_FromLong((long) 31)); | |
fe47ec10 RD |
9107 | PyDict_SetItemString(d,"wxSTC_MARGIN_SYMBOL", PyInt_FromLong((long) 0)); |
9108 | PyDict_SetItemString(d,"wxSTC_MARGIN_NUMBER", PyInt_FromLong((long) 1)); | |
9109 | PyDict_SetItemString(d,"wxSTC_STYLE_DEFAULT", PyInt_FromLong((long) 32)); | |
9110 | PyDict_SetItemString(d,"wxSTC_STYLE_LINENUMBER", PyInt_FromLong((long) 33)); | |
9111 | PyDict_SetItemString(d,"wxSTC_STYLE_BRACELIGHT", PyInt_FromLong((long) 34)); | |
9112 | PyDict_SetItemString(d,"wxSTC_STYLE_BRACEBAD", PyInt_FromLong((long) 35)); | |
9113 | PyDict_SetItemString(d,"wxSTC_STYLE_CONTROLCHAR", PyInt_FromLong((long) 36)); | |
9114 | PyDict_SetItemString(d,"wxSTC_STYLE_INDENTGUIDE", PyInt_FromLong((long) 37)); | |
9115 | PyDict_SetItemString(d,"wxSTC_STYLE_MAX", PyInt_FromLong((long) 127)); | |
9116 | PyDict_SetItemString(d,"wxSTC_CHARSET_ANSI", PyInt_FromLong((long) 0)); | |
9117 | PyDict_SetItemString(d,"wxSTC_CHARSET_DEFAULT", PyInt_FromLong((long) 1)); | |
9118 | PyDict_SetItemString(d,"wxSTC_CHARSET_BALTIC", PyInt_FromLong((long) 186)); | |
9119 | PyDict_SetItemString(d,"wxSTC_CHARSET_CHINESEBIG5", PyInt_FromLong((long) 136)); | |
9120 | PyDict_SetItemString(d,"wxSTC_CHARSET_EASTEUROPE", PyInt_FromLong((long) 238)); | |
9121 | PyDict_SetItemString(d,"wxSTC_CHARSET_GB2312", PyInt_FromLong((long) 134)); | |
9122 | PyDict_SetItemString(d,"wxSTC_CHARSET_GREEK", PyInt_FromLong((long) 161)); | |
9123 | PyDict_SetItemString(d,"wxSTC_CHARSET_HANGUL", PyInt_FromLong((long) 129)); | |
9124 | PyDict_SetItemString(d,"wxSTC_CHARSET_MAC", PyInt_FromLong((long) 77)); | |
9125 | PyDict_SetItemString(d,"wxSTC_CHARSET_OEM", PyInt_FromLong((long) 255)); | |
9126 | PyDict_SetItemString(d,"wxSTC_CHARSET_RUSSIAN", PyInt_FromLong((long) 204)); | |
9127 | PyDict_SetItemString(d,"wxSTC_CHARSET_SHIFTJIS", PyInt_FromLong((long) 128)); | |
9128 | PyDict_SetItemString(d,"wxSTC_CHARSET_SYMBOL", PyInt_FromLong((long) 2)); | |
9129 | PyDict_SetItemString(d,"wxSTC_CHARSET_TURKISH", PyInt_FromLong((long) 162)); | |
9130 | PyDict_SetItemString(d,"wxSTC_CHARSET_JOHAB", PyInt_FromLong((long) 130)); | |
9131 | PyDict_SetItemString(d,"wxSTC_CHARSET_HEBREW", PyInt_FromLong((long) 177)); | |
9132 | PyDict_SetItemString(d,"wxSTC_CHARSET_ARABIC", PyInt_FromLong((long) 178)); | |
9133 | PyDict_SetItemString(d,"wxSTC_CHARSET_VIETNAMESE", PyInt_FromLong((long) 163)); | |
9134 | PyDict_SetItemString(d,"wxSTC_CHARSET_THAI", PyInt_FromLong((long) 222)); | |
f6bcfd97 BP |
9135 | PyDict_SetItemString(d,"wxSTC_INDIC_MAX", PyInt_FromLong((long) 7)); |
9136 | PyDict_SetItemString(d,"wxSTC_INDIC_PLAIN", PyInt_FromLong((long) 0)); | |
9137 | PyDict_SetItemString(d,"wxSTC_INDIC_SQUIGGLE", PyInt_FromLong((long) 1)); | |
9138 | PyDict_SetItemString(d,"wxSTC_INDIC_TT", PyInt_FromLong((long) 2)); | |
9139 | PyDict_SetItemString(d,"wxSTC_INDIC_DIAGONAL", PyInt_FromLong((long) 3)); | |
9140 | PyDict_SetItemString(d,"wxSTC_INDIC_STRIKE", PyInt_FromLong((long) 4)); | |
9141 | PyDict_SetItemString(d,"wxSTC_INDIC0_MASK", PyInt_FromLong((long) 32)); | |
9142 | PyDict_SetItemString(d,"wxSTC_INDIC1_MASK", PyInt_FromLong((long) 64)); | |
9143 | PyDict_SetItemString(d,"wxSTC_INDIC2_MASK", PyInt_FromLong((long) 128)); | |
f3d9dc1d | 9144 | PyDict_SetItemString(d,"wxSTC_INDICS_MASK", PyInt_FromLong((long) 224)); |
fe47ec10 RD |
9145 | PyDict_SetItemString(d,"wxSTC_PRINT_NORMAL", PyInt_FromLong((long) 0)); |
9146 | PyDict_SetItemString(d,"wxSTC_PRINT_INVERTLIGHT", PyInt_FromLong((long) 1)); | |
9147 | PyDict_SetItemString(d,"wxSTC_PRINT_BLACKONWHITE", PyInt_FromLong((long) 2)); | |
9148 | PyDict_SetItemString(d,"wxSTC_FIND_DOWN", PyInt_FromLong((long) 1)); | |
9149 | PyDict_SetItemString(d,"wxSTC_FIND_WHOLEWORD", PyInt_FromLong((long) 2)); | |
9150 | PyDict_SetItemString(d,"wxSTC_FIND_MATCHCASE", PyInt_FromLong((long) 4)); | |
9151 | PyDict_SetItemString(d,"wxSTC_FIND_WORDSTART", PyInt_FromLong((long) 0x00100000)); | |
9152 | PyDict_SetItemString(d,"wxSTC_FIND_REGEXP", PyInt_FromLong((long) 0x00200000)); | |
9153 | PyDict_SetItemString(d,"wxSTC_CMD_UNDO", PyInt_FromLong((long) 2176)); | |
9154 | PyDict_SetItemString(d,"wxSTC_CMD_CUT", PyInt_FromLong((long) 2177)); | |
9155 | PyDict_SetItemString(d,"wxSTC_CMD_COPY", PyInt_FromLong((long) 2178)); | |
9156 | PyDict_SetItemString(d,"wxSTC_CMD_PASTE", PyInt_FromLong((long) 2179)); | |
9157 | PyDict_SetItemString(d,"wxSTC_FOLDLEVELBASE", PyInt_FromLong((long) 0x400)); | |
f6bcfd97 BP |
9158 | PyDict_SetItemString(d,"wxSTC_FOLDLEVELWHITEFLAG", PyInt_FromLong((long) 0x1000)); |
9159 | PyDict_SetItemString(d,"wxSTC_FOLDLEVELHEADERFLAG", PyInt_FromLong((long) 0x2000)); | |
9160 | PyDict_SetItemString(d,"wxSTC_FOLDLEVELNUMBERMASK", PyInt_FromLong((long) 0x0FFF)); | |
fe47ec10 RD |
9161 | PyDict_SetItemString(d,"wxSTC_CMD_LINEDOWN", PyInt_FromLong((long) 2300)); |
9162 | PyDict_SetItemString(d,"wxSTC_CMD_LINEDOWNEXTEND", PyInt_FromLong((long) 2301)); | |
9163 | PyDict_SetItemString(d,"wxSTC_CMD_LINEUP", PyInt_FromLong((long) 2302)); | |
9164 | PyDict_SetItemString(d,"wxSTC_CMD_LINEUPEXTEND", PyInt_FromLong((long) 2303)); | |
9165 | PyDict_SetItemString(d,"wxSTC_CMD_CHARLEFT", PyInt_FromLong((long) 2304)); | |
9166 | PyDict_SetItemString(d,"wxSTC_CMD_CHARLEFTEXTEND", PyInt_FromLong((long) 2305)); | |
9167 | PyDict_SetItemString(d,"wxSTC_CMD_CHARRIGHT", PyInt_FromLong((long) 2306)); | |
9168 | PyDict_SetItemString(d,"wxSTC_CMD_CHARRIGHTEXTEND", PyInt_FromLong((long) 2307)); | |
9169 | PyDict_SetItemString(d,"wxSTC_CMD_WORDLEFT", PyInt_FromLong((long) 2308)); | |
9170 | PyDict_SetItemString(d,"wxSTC_CMD_WORDLEFTEXTEND", PyInt_FromLong((long) 2309)); | |
9171 | PyDict_SetItemString(d,"wxSTC_CMD_WORDRIGHT", PyInt_FromLong((long) 2310)); | |
9172 | PyDict_SetItemString(d,"wxSTC_CMD_WORDRIGHTEXTEND", PyInt_FromLong((long) 2311)); | |
9173 | PyDict_SetItemString(d,"wxSTC_CMD_HOME", PyInt_FromLong((long) 2312)); | |
9174 | PyDict_SetItemString(d,"wxSTC_CMD_HOMEEXTEND", PyInt_FromLong((long) 2313)); | |
9175 | PyDict_SetItemString(d,"wxSTC_CMD_LINEEND", PyInt_FromLong((long) 2314)); | |
9176 | PyDict_SetItemString(d,"wxSTC_CMD_LINEENDEXTEND", PyInt_FromLong((long) 2315)); | |
9177 | PyDict_SetItemString(d,"wxSTC_CMD_DOCUMENTSTART", PyInt_FromLong((long) 2316)); | |
9178 | PyDict_SetItemString(d,"wxSTC_CMD_DOCUMENTSTARTEXTEND", PyInt_FromLong((long) 2317)); | |
9179 | PyDict_SetItemString(d,"wxSTC_CMD_DOCUMENTEND", PyInt_FromLong((long) 2318)); | |
9180 | PyDict_SetItemString(d,"wxSTC_CMD_DOCUMENTENDEXTEND", PyInt_FromLong((long) 2319)); | |
9181 | PyDict_SetItemString(d,"wxSTC_CMD_PAGEUP", PyInt_FromLong((long) 2320)); | |
9182 | PyDict_SetItemString(d,"wxSTC_CMD_PAGEUPEXTEND", PyInt_FromLong((long) 2321)); | |
9183 | PyDict_SetItemString(d,"wxSTC_CMD_PAGEDOWN", PyInt_FromLong((long) 2322)); | |
9184 | PyDict_SetItemString(d,"wxSTC_CMD_PAGEDOWNEXTEND", PyInt_FromLong((long) 2323)); | |
9185 | PyDict_SetItemString(d,"wxSTC_CMD_EDITTOGGLEOVERTYPE", PyInt_FromLong((long) 2324)); | |
9186 | PyDict_SetItemString(d,"wxSTC_CMD_CANCEL", PyInt_FromLong((long) 2325)); | |
9187 | PyDict_SetItemString(d,"wxSTC_CMD_DELETEBACK", PyInt_FromLong((long) 2326)); | |
9188 | PyDict_SetItemString(d,"wxSTC_CMD_TAB", PyInt_FromLong((long) 2327)); | |
9189 | PyDict_SetItemString(d,"wxSTC_CMD_BACKTAB", PyInt_FromLong((long) 2328)); | |
9190 | PyDict_SetItemString(d,"wxSTC_CMD_NEWLINE", PyInt_FromLong((long) 2329)); | |
9191 | PyDict_SetItemString(d,"wxSTC_CMD_FORMFEED", PyInt_FromLong((long) 2330)); | |
9192 | PyDict_SetItemString(d,"wxSTC_CMD_VCHOME", PyInt_FromLong((long) 2331)); | |
9193 | PyDict_SetItemString(d,"wxSTC_CMD_VCHOMEEXTEND", PyInt_FromLong((long) 2332)); | |
9194 | PyDict_SetItemString(d,"wxSTC_CMD_ZOOMIN", PyInt_FromLong((long) 2333)); | |
9195 | PyDict_SetItemString(d,"wxSTC_CMD_ZOOMOUT", PyInt_FromLong((long) 2334)); | |
9196 | PyDict_SetItemString(d,"wxSTC_CMD_DELWORDLEFT", PyInt_FromLong((long) 2335)); | |
9197 | PyDict_SetItemString(d,"wxSTC_CMD_DELWORDRIGHT", PyInt_FromLong((long) 2336)); | |
9198 | PyDict_SetItemString(d,"wxSTC_CMD_LINECUT", PyInt_FromLong((long) 2337)); | |
9199 | PyDict_SetItemString(d,"wxSTC_CMD_LINEDELETE", PyInt_FromLong((long) 2338)); | |
9200 | PyDict_SetItemString(d,"wxSTC_CMD_LINETRANSPOSE", PyInt_FromLong((long) 2339)); | |
9201 | PyDict_SetItemString(d,"wxSTC_CMD_LOWERCASE", PyInt_FromLong((long) 2340)); | |
9202 | PyDict_SetItemString(d,"wxSTC_CMD_UPPERCASE", PyInt_FromLong((long) 2341)); | |
9203 | PyDict_SetItemString(d,"wxSTC_CMD_LINESCROLLDOWN", PyInt_FromLong((long) 2342)); | |
9204 | PyDict_SetItemString(d,"wxSTC_CMD_LINESCROLLUP", PyInt_FromLong((long) 2343)); | |
9205 | PyDict_SetItemString(d,"wxSTC_EDGE_NONE", PyInt_FromLong((long) 0)); | |
9206 | PyDict_SetItemString(d,"wxSTC_EDGE_LINE", PyInt_FromLong((long) 1)); | |
9207 | PyDict_SetItemString(d,"wxSTC_EDGE_BACKGROUND", PyInt_FromLong((long) 2)); | |
f6bcfd97 | 9208 | PyDict_SetItemString(d,"wxSTC_CARET_SLOP", PyInt_FromLong((long) 0x01)); |
fe47ec10 | 9209 | PyDict_SetItemString(d,"wxSTC_CARET_CENTER", PyInt_FromLong((long) 0x02)); |
f6bcfd97 | 9210 | PyDict_SetItemString(d,"wxSTC_CARET_STRICT", PyInt_FromLong((long) 0x04)); |
fe47ec10 RD |
9211 | PyDict_SetItemString(d,"wxSTC_MOD_INSERTTEXT", PyInt_FromLong((long) 0x1)); |
9212 | PyDict_SetItemString(d,"wxSTC_MOD_DELETETEXT", PyInt_FromLong((long) 0x2)); | |
9213 | PyDict_SetItemString(d,"wxSTC_MOD_CHANGESTYLE", PyInt_FromLong((long) 0x4)); | |
9214 | PyDict_SetItemString(d,"wxSTC_MOD_CHANGEFOLD", PyInt_FromLong((long) 0x8)); | |
9215 | PyDict_SetItemString(d,"wxSTC_PERFORMED_USER", PyInt_FromLong((long) 0x10)); | |
9216 | PyDict_SetItemString(d,"wxSTC_PERFORMED_UNDO", PyInt_FromLong((long) 0x20)); | |
9217 | PyDict_SetItemString(d,"wxSTC_PERFORMED_REDO", PyInt_FromLong((long) 0x40)); | |
9218 | PyDict_SetItemString(d,"wxSTC_LASTSTEPINUNDOREDO", PyInt_FromLong((long) 0x100)); | |
9219 | PyDict_SetItemString(d,"wxSTC_MOD_CHANGEMARKER", PyInt_FromLong((long) 0x200)); | |
9220 | PyDict_SetItemString(d,"wxSTC_MOD_BEFOREINSERT", PyInt_FromLong((long) 0x400)); | |
9221 | PyDict_SetItemString(d,"wxSTC_MOD_BEFOREDELETE", PyInt_FromLong((long) 0x800)); | |
9222 | PyDict_SetItemString(d,"wxSTC_MODEVENTMASKALL", PyInt_FromLong((long) 0xF77)); | |
9223 | PyDict_SetItemString(d,"wxSTC_KEY_DOWN", PyInt_FromLong((long) 300)); | |
9224 | PyDict_SetItemString(d,"wxSTC_KEY_UP", PyInt_FromLong((long) 301)); | |
9225 | PyDict_SetItemString(d,"wxSTC_KEY_LEFT", PyInt_FromLong((long) 302)); | |
9226 | PyDict_SetItemString(d,"wxSTC_KEY_RIGHT", PyInt_FromLong((long) 303)); | |
9227 | PyDict_SetItemString(d,"wxSTC_KEY_HOME", PyInt_FromLong((long) 304)); | |
9228 | PyDict_SetItemString(d,"wxSTC_KEY_END", PyInt_FromLong((long) 305)); | |
9229 | PyDict_SetItemString(d,"wxSTC_KEY_PRIOR", PyInt_FromLong((long) 306)); | |
9230 | PyDict_SetItemString(d,"wxSTC_KEY_NEXT", PyInt_FromLong((long) 307)); | |
9231 | PyDict_SetItemString(d,"wxSTC_KEY_DELETE", PyInt_FromLong((long) 308)); | |
9232 | PyDict_SetItemString(d,"wxSTC_KEY_INSERT", PyInt_FromLong((long) 309)); | |
9233 | PyDict_SetItemString(d,"wxSTC_KEY_ESCAPE", PyInt_FromLong((long) 7)); | |
9234 | PyDict_SetItemString(d,"wxSTC_KEY_BACK", PyInt_FromLong((long) 8)); | |
9235 | PyDict_SetItemString(d,"wxSTC_KEY_TAB", PyInt_FromLong((long) 9)); | |
9236 | PyDict_SetItemString(d,"wxSTC_KEY_RETURN", PyInt_FromLong((long) 13)); | |
9237 | PyDict_SetItemString(d,"wxSTC_KEY_ADD", PyInt_FromLong((long) 310)); | |
9238 | PyDict_SetItemString(d,"wxSTC_KEY_SUBTRACT", PyInt_FromLong((long) 311)); | |
9239 | PyDict_SetItemString(d,"wxSTC_KEY_DIVIDE", PyInt_FromLong((long) 312)); | |
9240 | PyDict_SetItemString(d,"wxSTC_SCMOD_SHIFT", PyInt_FromLong((long) 1)); | |
9241 | PyDict_SetItemString(d,"wxSTC_SCMOD_CTRL", PyInt_FromLong((long) 2)); | |
9242 | PyDict_SetItemString(d,"wxSTC_SCMOD_ALT", PyInt_FromLong((long) 4)); | |
9243 | PyDict_SetItemString(d,"wxSTC_LEX_CONTAINER", PyInt_FromLong((long) 0)); | |
9244 | PyDict_SetItemString(d,"wxSTC_LEX_NULL", PyInt_FromLong((long) 1)); | |
9245 | PyDict_SetItemString(d,"wxSTC_LEX_PYTHON", PyInt_FromLong((long) 2)); | |
9246 | PyDict_SetItemString(d,"wxSTC_LEX_CPP", PyInt_FromLong((long) 3)); | |
9247 | PyDict_SetItemString(d,"wxSTC_LEX_HTML", PyInt_FromLong((long) 4)); | |
9248 | PyDict_SetItemString(d,"wxSTC_LEX_XML", PyInt_FromLong((long) 5)); | |
9249 | PyDict_SetItemString(d,"wxSTC_LEX_PERL", PyInt_FromLong((long) 6)); | |
9250 | PyDict_SetItemString(d,"wxSTC_LEX_SQL", PyInt_FromLong((long) 7)); | |
9251 | PyDict_SetItemString(d,"wxSTC_LEX_VB", PyInt_FromLong((long) 8)); | |
9252 | PyDict_SetItemString(d,"wxSTC_LEX_PROPERTIES", PyInt_FromLong((long) 9)); | |
9253 | PyDict_SetItemString(d,"wxSTC_LEX_ERRORLIST", PyInt_FromLong((long) 10)); | |
9254 | PyDict_SetItemString(d,"wxSTC_LEX_MAKEFILE", PyInt_FromLong((long) 11)); | |
9255 | PyDict_SetItemString(d,"wxSTC_LEX_BATCH", PyInt_FromLong((long) 12)); | |
9256 | PyDict_SetItemString(d,"wxSTC_LEX_XCODE", PyInt_FromLong((long) 13)); | |
9257 | PyDict_SetItemString(d,"wxSTC_LEX_LATEX", PyInt_FromLong((long) 14)); | |
9258 | PyDict_SetItemString(d,"wxSTC_LEX_LUA", PyInt_FromLong((long) 15)); | |
9259 | PyDict_SetItemString(d,"wxSTC_LEX_DIFF", PyInt_FromLong((long) 16)); | |
9260 | PyDict_SetItemString(d,"wxSTC_P_DEFAULT", PyInt_FromLong((long) 0)); | |
9261 | PyDict_SetItemString(d,"wxSTC_P_COMMENTLINE", PyInt_FromLong((long) 1)); | |
9262 | PyDict_SetItemString(d,"wxSTC_P_NUMBER", PyInt_FromLong((long) 2)); | |
9263 | PyDict_SetItemString(d,"wxSTC_P_STRING", PyInt_FromLong((long) 3)); | |
9264 | PyDict_SetItemString(d,"wxSTC_P_CHARACTER", PyInt_FromLong((long) 4)); | |
9265 | PyDict_SetItemString(d,"wxSTC_P_WORD", PyInt_FromLong((long) 5)); | |
9266 | PyDict_SetItemString(d,"wxSTC_P_TRIPLE", PyInt_FromLong((long) 6)); | |
9267 | PyDict_SetItemString(d,"wxSTC_P_TRIPLEDOUBLE", PyInt_FromLong((long) 7)); | |
9268 | PyDict_SetItemString(d,"wxSTC_P_CLASSNAME", PyInt_FromLong((long) 8)); | |
9269 | PyDict_SetItemString(d,"wxSTC_P_DEFNAME", PyInt_FromLong((long) 9)); | |
9270 | PyDict_SetItemString(d,"wxSTC_P_OPERATOR", PyInt_FromLong((long) 10)); | |
9271 | PyDict_SetItemString(d,"wxSTC_P_IDENTIFIER", PyInt_FromLong((long) 11)); | |
9272 | PyDict_SetItemString(d,"wxSTC_P_COMMENTBLOCK", PyInt_FromLong((long) 12)); | |
9273 | PyDict_SetItemString(d,"wxSTC_P_STRINGEOL", PyInt_FromLong((long) 13)); | |
9274 | PyDict_SetItemString(d,"wxSTC_C_DEFAULT", PyInt_FromLong((long) 0)); | |
9275 | PyDict_SetItemString(d,"wxSTC_C_COMMENT", PyInt_FromLong((long) 1)); | |
9276 | PyDict_SetItemString(d,"wxSTC_C_COMMENTLINE", PyInt_FromLong((long) 2)); | |
9277 | PyDict_SetItemString(d,"wxSTC_C_COMMENTDOC", PyInt_FromLong((long) 3)); | |
9278 | PyDict_SetItemString(d,"wxSTC_C_NUMBER", PyInt_FromLong((long) 4)); | |
9279 | PyDict_SetItemString(d,"wxSTC_C_WORD", PyInt_FromLong((long) 5)); | |
9280 | PyDict_SetItemString(d,"wxSTC_C_STRING", PyInt_FromLong((long) 6)); | |
9281 | PyDict_SetItemString(d,"wxSTC_C_CHARACTER", PyInt_FromLong((long) 7)); | |
9282 | PyDict_SetItemString(d,"wxSTC_C_UUID", PyInt_FromLong((long) 8)); | |
9283 | PyDict_SetItemString(d,"wxSTC_C_PREPROCESSOR", PyInt_FromLong((long) 9)); | |
9284 | PyDict_SetItemString(d,"wxSTC_C_OPERATOR", PyInt_FromLong((long) 10)); | |
9285 | PyDict_SetItemString(d,"wxSTC_C_IDENTIFIER", PyInt_FromLong((long) 11)); | |
9286 | PyDict_SetItemString(d,"wxSTC_C_STRINGEOL", PyInt_FromLong((long) 12)); | |
9287 | PyDict_SetItemString(d,"wxSTC_C_VERBATIM", PyInt_FromLong((long) 13)); | |
9288 | PyDict_SetItemString(d,"wxSTC_H_DEFAULT", PyInt_FromLong((long) 0)); | |
9289 | PyDict_SetItemString(d,"wxSTC_H_TAG", PyInt_FromLong((long) 1)); | |
9290 | PyDict_SetItemString(d,"wxSTC_H_TAGUNKNOWN", PyInt_FromLong((long) 2)); | |
9291 | PyDict_SetItemString(d,"wxSTC_H_ATTRIBUTE", PyInt_FromLong((long) 3)); | |
9292 | PyDict_SetItemString(d,"wxSTC_H_ATTRIBUTEUNKNOWN", PyInt_FromLong((long) 4)); | |
9293 | PyDict_SetItemString(d,"wxSTC_H_NUMBER", PyInt_FromLong((long) 5)); | |
9294 | PyDict_SetItemString(d,"wxSTC_H_DOUBLESTRING", PyInt_FromLong((long) 6)); | |
9295 | PyDict_SetItemString(d,"wxSTC_H_SINGLESTRING", PyInt_FromLong((long) 7)); | |
9296 | PyDict_SetItemString(d,"wxSTC_H_OTHER", PyInt_FromLong((long) 8)); | |
9297 | PyDict_SetItemString(d,"wxSTC_H_COMMENT", PyInt_FromLong((long) 9)); | |
9298 | PyDict_SetItemString(d,"wxSTC_H_ENTITY", PyInt_FromLong((long) 10)); | |
9299 | PyDict_SetItemString(d,"wxSTC_H_TAGEND", PyInt_FromLong((long) 11)); | |
9300 | PyDict_SetItemString(d,"wxSTC_H_XMLSTART", PyInt_FromLong((long) 12)); | |
9301 | PyDict_SetItemString(d,"wxSTC_H_XMLEND", PyInt_FromLong((long) 13)); | |
9302 | PyDict_SetItemString(d,"wxSTC_H_SCRIPT", PyInt_FromLong((long) 14)); | |
9303 | PyDict_SetItemString(d,"wxSTC_H_ASP", PyInt_FromLong((long) 15)); | |
9304 | PyDict_SetItemString(d,"wxSTC_H_ASPAT", PyInt_FromLong((long) 16)); | |
9305 | PyDict_SetItemString(d,"wxSTC_H_CDATA", PyInt_FromLong((long) 17)); | |
9306 | PyDict_SetItemString(d,"wxSTC_H_QUESTION", PyInt_FromLong((long) 18)); | |
9307 | PyDict_SetItemString(d,"wxSTC_H_VALUE", PyInt_FromLong((long) 19)); | |
9308 | PyDict_SetItemString(d,"wxSTC_HJ_START", PyInt_FromLong((long) 40)); | |
9309 | PyDict_SetItemString(d,"wxSTC_HJ_DEFAULT", PyInt_FromLong((long) 41)); | |
9310 | PyDict_SetItemString(d,"wxSTC_HJ_COMMENT", PyInt_FromLong((long) 42)); | |
9311 | PyDict_SetItemString(d,"wxSTC_HJ_COMMENTLINE", PyInt_FromLong((long) 43)); | |
9312 | PyDict_SetItemString(d,"wxSTC_HJ_COMMENTDOC", PyInt_FromLong((long) 44)); | |
9313 | PyDict_SetItemString(d,"wxSTC_HJ_NUMBER", PyInt_FromLong((long) 45)); | |
9314 | PyDict_SetItemString(d,"wxSTC_HJ_WORD", PyInt_FromLong((long) 46)); | |
9315 | PyDict_SetItemString(d,"wxSTC_HJ_KEYWORD", PyInt_FromLong((long) 47)); | |
9316 | PyDict_SetItemString(d,"wxSTC_HJ_DOUBLESTRING", PyInt_FromLong((long) 48)); | |
9317 | PyDict_SetItemString(d,"wxSTC_HJ_SINGLESTRING", PyInt_FromLong((long) 49)); | |
9318 | PyDict_SetItemString(d,"wxSTC_HJ_SYMBOLS", PyInt_FromLong((long) 50)); | |
9319 | PyDict_SetItemString(d,"wxSTC_HJ_STRINGEOL", PyInt_FromLong((long) 51)); | |
9320 | PyDict_SetItemString(d,"wxSTC_HJA_START", PyInt_FromLong((long) 55)); | |
9321 | PyDict_SetItemString(d,"wxSTC_HJA_DEFAULT", PyInt_FromLong((long) 56)); | |
9322 | PyDict_SetItemString(d,"wxSTC_HJA_COMMENT", PyInt_FromLong((long) 57)); | |
9323 | PyDict_SetItemString(d,"wxSTC_HJA_COMMENTLINE", PyInt_FromLong((long) 58)); | |
9324 | PyDict_SetItemString(d,"wxSTC_HJA_COMMENTDOC", PyInt_FromLong((long) 59)); | |
9325 | PyDict_SetItemString(d,"wxSTC_HJA_NUMBER", PyInt_FromLong((long) 60)); | |
9326 | PyDict_SetItemString(d,"wxSTC_HJA_WORD", PyInt_FromLong((long) 61)); | |
9327 | PyDict_SetItemString(d,"wxSTC_HJA_KEYWORD", PyInt_FromLong((long) 62)); | |
9328 | PyDict_SetItemString(d,"wxSTC_HJA_DOUBLESTRING", PyInt_FromLong((long) 63)); | |
9329 | PyDict_SetItemString(d,"wxSTC_HJA_SINGLESTRING", PyInt_FromLong((long) 64)); | |
9330 | PyDict_SetItemString(d,"wxSTC_HJA_SYMBOLS", PyInt_FromLong((long) 65)); | |
9331 | PyDict_SetItemString(d,"wxSTC_HJA_STRINGEOL", PyInt_FromLong((long) 66)); | |
9332 | PyDict_SetItemString(d,"wxSTC_HB_START", PyInt_FromLong((long) 70)); | |
9333 | PyDict_SetItemString(d,"wxSTC_HB_DEFAULT", PyInt_FromLong((long) 71)); | |
9334 | PyDict_SetItemString(d,"wxSTC_HB_COMMENTLINE", PyInt_FromLong((long) 72)); | |
9335 | PyDict_SetItemString(d,"wxSTC_HB_NUMBER", PyInt_FromLong((long) 73)); | |
9336 | PyDict_SetItemString(d,"wxSTC_HB_WORD", PyInt_FromLong((long) 74)); | |
9337 | PyDict_SetItemString(d,"wxSTC_HB_STRING", PyInt_FromLong((long) 75)); | |
9338 | PyDict_SetItemString(d,"wxSTC_HB_IDENTIFIER", PyInt_FromLong((long) 76)); | |
9339 | PyDict_SetItemString(d,"wxSTC_HB_STRINGEOL", PyInt_FromLong((long) 77)); | |
9340 | PyDict_SetItemString(d,"wxSTC_HBA_START", PyInt_FromLong((long) 80)); | |
9341 | PyDict_SetItemString(d,"wxSTC_HBA_DEFAULT", PyInt_FromLong((long) 81)); | |
9342 | PyDict_SetItemString(d,"wxSTC_HBA_COMMENTLINE", PyInt_FromLong((long) 82)); | |
9343 | PyDict_SetItemString(d,"wxSTC_HBA_NUMBER", PyInt_FromLong((long) 83)); | |
9344 | PyDict_SetItemString(d,"wxSTC_HBA_WORD", PyInt_FromLong((long) 84)); | |
9345 | PyDict_SetItemString(d,"wxSTC_HBA_STRING", PyInt_FromLong((long) 85)); | |
9346 | PyDict_SetItemString(d,"wxSTC_HBA_IDENTIFIER", PyInt_FromLong((long) 86)); | |
9347 | PyDict_SetItemString(d,"wxSTC_HBA_STRINGEOL", PyInt_FromLong((long) 87)); | |
9348 | PyDict_SetItemString(d,"wxSTC_HP_START", PyInt_FromLong((long) 90)); | |
9349 | PyDict_SetItemString(d,"wxSTC_HP_DEFAULT", PyInt_FromLong((long) 91)); | |
9350 | PyDict_SetItemString(d,"wxSTC_HP_COMMENTLINE", PyInt_FromLong((long) 92)); | |
9351 | PyDict_SetItemString(d,"wxSTC_HP_NUMBER", PyInt_FromLong((long) 93)); | |
9352 | PyDict_SetItemString(d,"wxSTC_HP_STRING", PyInt_FromLong((long) 94)); | |
9353 | PyDict_SetItemString(d,"wxSTC_HP_CHARACTER", PyInt_FromLong((long) 95)); | |
9354 | PyDict_SetItemString(d,"wxSTC_HP_WORD", PyInt_FromLong((long) 96)); | |
9355 | PyDict_SetItemString(d,"wxSTC_HP_TRIPLE", PyInt_FromLong((long) 97)); | |
9356 | PyDict_SetItemString(d,"wxSTC_HP_TRIPLEDOUBLE", PyInt_FromLong((long) 98)); | |
9357 | PyDict_SetItemString(d,"wxSTC_HP_CLASSNAME", PyInt_FromLong((long) 99)); | |
9358 | PyDict_SetItemString(d,"wxSTC_HP_DEFNAME", PyInt_FromLong((long) 100)); | |
9359 | PyDict_SetItemString(d,"wxSTC_HP_OPERATOR", PyInt_FromLong((long) 101)); | |
9360 | PyDict_SetItemString(d,"wxSTC_HP_IDENTIFIER", PyInt_FromLong((long) 102)); | |
9361 | PyDict_SetItemString(d,"wxSTC_HPA_START", PyInt_FromLong((long) 105)); | |
9362 | PyDict_SetItemString(d,"wxSTC_HPA_DEFAULT", PyInt_FromLong((long) 106)); | |
9363 | PyDict_SetItemString(d,"wxSTC_HPA_COMMENTLINE", PyInt_FromLong((long) 107)); | |
9364 | PyDict_SetItemString(d,"wxSTC_HPA_NUMBER", PyInt_FromLong((long) 108)); | |
9365 | PyDict_SetItemString(d,"wxSTC_HPA_STRING", PyInt_FromLong((long) 109)); | |
9366 | PyDict_SetItemString(d,"wxSTC_HPA_CHARACTER", PyInt_FromLong((long) 110)); | |
9367 | PyDict_SetItemString(d,"wxSTC_HPA_WORD", PyInt_FromLong((long) 111)); | |
9368 | PyDict_SetItemString(d,"wxSTC_HPA_TRIPLE", PyInt_FromLong((long) 112)); | |
9369 | PyDict_SetItemString(d,"wxSTC_HPA_TRIPLEDOUBLE", PyInt_FromLong((long) 113)); | |
9370 | PyDict_SetItemString(d,"wxSTC_HPA_CLASSNAME", PyInt_FromLong((long) 114)); | |
9371 | PyDict_SetItemString(d,"wxSTC_HPA_DEFNAME", PyInt_FromLong((long) 115)); | |
9372 | PyDict_SetItemString(d,"wxSTC_HPA_OPERATOR", PyInt_FromLong((long) 116)); | |
9373 | PyDict_SetItemString(d,"wxSTC_HPA_IDENTIFIER", PyInt_FromLong((long) 117)); | |
9374 | PyDict_SetItemString(d,"wxSTC_HPHP_DEFAULT", PyInt_FromLong((long) 118)); | |
9375 | PyDict_SetItemString(d,"wxSTC_HPHP_HSTRING", PyInt_FromLong((long) 119)); | |
9376 | PyDict_SetItemString(d,"wxSTC_HPHP_SIMPLESTRING", PyInt_FromLong((long) 120)); | |
9377 | PyDict_SetItemString(d,"wxSTC_HPHP_WORD", PyInt_FromLong((long) 121)); | |
9378 | PyDict_SetItemString(d,"wxSTC_HPHP_NUMBER", PyInt_FromLong((long) 122)); | |
9379 | PyDict_SetItemString(d,"wxSTC_HPHP_VARIABLE", PyInt_FromLong((long) 123)); | |
9380 | PyDict_SetItemString(d,"wxSTC_HPHP_COMMENT", PyInt_FromLong((long) 124)); | |
9381 | PyDict_SetItemString(d,"wxSTC_HPHP_COMMENTLINE", PyInt_FromLong((long) 125)); | |
9382 | PyDict_SetItemString(d,"wxSTC_HPHP_STRINGEOL", PyInt_FromLong((long) 126)); | |
9383 | PyDict_SetItemString(d,"wxSTC_PL_DEFAULT", PyInt_FromLong((long) 0)); | |
9384 | PyDict_SetItemString(d,"wxSTC_PL_HERE", PyInt_FromLong((long) 1)); | |
9385 | PyDict_SetItemString(d,"wxSTC_PL_COMMENTLINE", PyInt_FromLong((long) 2)); | |
9386 | PyDict_SetItemString(d,"wxSTC_PL_POD", PyInt_FromLong((long) 3)); | |
9387 | PyDict_SetItemString(d,"wxSTC_PL_NUMBER", PyInt_FromLong((long) 4)); | |
9388 | PyDict_SetItemString(d,"wxSTC_PL_WORD", PyInt_FromLong((long) 5)); | |
9389 | PyDict_SetItemString(d,"wxSTC_PL_STRING", PyInt_FromLong((long) 6)); | |
9390 | PyDict_SetItemString(d,"wxSTC_PL_CHARACTER", PyInt_FromLong((long) 7)); | |
9391 | PyDict_SetItemString(d,"wxSTC_PL_PUNCTUATION", PyInt_FromLong((long) 8)); | |
9392 | PyDict_SetItemString(d,"wxSTC_PL_PREPROCESSOR", PyInt_FromLong((long) 9)); | |
9393 | PyDict_SetItemString(d,"wxSTC_PL_OPERATOR", PyInt_FromLong((long) 10)); | |
9394 | PyDict_SetItemString(d,"wxSTC_PL_IDENTIFIER", PyInt_FromLong((long) 11)); | |
9395 | PyDict_SetItemString(d,"wxSTC_PL_SCALAR", PyInt_FromLong((long) 12)); | |
9396 | PyDict_SetItemString(d,"wxSTC_PL_ARRAY", PyInt_FromLong((long) 13)); | |
9397 | PyDict_SetItemString(d,"wxSTC_PL_HASH", PyInt_FromLong((long) 14)); | |
9398 | PyDict_SetItemString(d,"wxSTC_PL_SYMBOLTABLE", PyInt_FromLong((long) 15)); | |
9399 | PyDict_SetItemString(d,"wxSTC_PL_REF", PyInt_FromLong((long) 16)); | |
9400 | PyDict_SetItemString(d,"wxSTC_PL_REGEX", PyInt_FromLong((long) 17)); | |
9401 | PyDict_SetItemString(d,"wxSTC_PL_REGSUBST", PyInt_FromLong((long) 18)); | |
9402 | PyDict_SetItemString(d,"wxSTC_PL_LONGQUOTE", PyInt_FromLong((long) 19)); | |
9403 | PyDict_SetItemString(d,"wxSTC_PL_BACKTICKS", PyInt_FromLong((long) 20)); | |
9404 | PyDict_SetItemString(d,"wxSTC_PL_DATASECTION", PyInt_FromLong((long) 21)); | |
9405 | PyDict_SetItemString(d,"wxSTC_L_DEFAULT", PyInt_FromLong((long) 0)); | |
9406 | PyDict_SetItemString(d,"wxSTC_L_COMMAND", PyInt_FromLong((long) 1)); | |
9407 | PyDict_SetItemString(d,"wxSTC_L_TAG", PyInt_FromLong((long) 2)); | |
9408 | PyDict_SetItemString(d,"wxSTC_L_MATH", PyInt_FromLong((long) 3)); | |
9409 | PyDict_SetItemString(d,"wxSTC_L_COMMENT", PyInt_FromLong((long) 4)); | |
9410 | PyDict_SetItemString(d,"wxSTC_LUA_DEFAULT", PyInt_FromLong((long) 0)); | |
9411 | PyDict_SetItemString(d,"wxSTC_LUA_COMMENT", PyInt_FromLong((long) 1)); | |
9412 | PyDict_SetItemString(d,"wxSTC_LUA_COMMENTLINE", PyInt_FromLong((long) 2)); | |
9413 | PyDict_SetItemString(d,"wxSTC_LUA_COMMENTDOC", PyInt_FromLong((long) 3)); | |
9414 | PyDict_SetItemString(d,"wxSTC_LUA_NUMBER", PyInt_FromLong((long) 4)); | |
9415 | PyDict_SetItemString(d,"wxSTC_LUA_WORD", PyInt_FromLong((long) 5)); | |
9416 | PyDict_SetItemString(d,"wxSTC_LUA_STRING", PyInt_FromLong((long) 6)); | |
9417 | PyDict_SetItemString(d,"wxSTC_LUA_CHARACTER", PyInt_FromLong((long) 7)); | |
9418 | PyDict_SetItemString(d,"wxSTC_LUA_LITERALSTRING", PyInt_FromLong((long) 8)); | |
9419 | PyDict_SetItemString(d,"wxSTC_LUA_PREPROCESSOR", PyInt_FromLong((long) 9)); | |
9420 | PyDict_SetItemString(d,"wxSTC_LUA_OPERATOR", PyInt_FromLong((long) 10)); | |
9421 | PyDict_SetItemString(d,"wxSTC_LUA_IDENTIFIER", PyInt_FromLong((long) 11)); | |
9422 | PyDict_SetItemString(d,"wxSTC_LUA_STRINGEOL", PyInt_FromLong((long) 12)); | |
9423 | PyDict_SetItemString(d,"wxSTC_ERR_DEFAULT", PyInt_FromLong((long) 0)); | |
9424 | PyDict_SetItemString(d,"wxSTC_ERR_PYTHON", PyInt_FromLong((long) 1)); | |
9425 | PyDict_SetItemString(d,"wxSTC_ERR_GCC", PyInt_FromLong((long) 2)); | |
9426 | PyDict_SetItemString(d,"wxSTC_ERR_MS", PyInt_FromLong((long) 3)); | |
9427 | PyDict_SetItemString(d,"wxSTC_ERR_CMD", PyInt_FromLong((long) 4)); | |
9428 | PyDict_SetItemString(d,"wxSTC_ERR_BORLAND", PyInt_FromLong((long) 5)); | |
9429 | PyDict_SetItemString(d,"wxSTC_ERR_PERL", PyInt_FromLong((long) 6)); | |
9430 | PyDict_SetItemString(d,"wxSTC_MASK_FOLDERS", PyInt_FromLong((long) ((1<<(30))|(1<<(31))))); | |
f6bcfd97 BP |
9431 | PyDict_SetItemString(d,"wxSTCNameStr", PyString_FromString("wxSTCNameStr")); |
9432 | PyDict_SetItemString(d,"wxEVT_STC_CHANGE", PyInt_FromLong((long) wxEVT_STC_CHANGE)); | |
9433 | PyDict_SetItemString(d,"wxEVT_STC_STYLENEEDED", PyInt_FromLong((long) wxEVT_STC_STYLENEEDED)); | |
9434 | PyDict_SetItemString(d,"wxEVT_STC_CHARADDED", PyInt_FromLong((long) wxEVT_STC_CHARADDED)); | |
9435 | PyDict_SetItemString(d,"wxEVT_STC_UPDATEUI", PyInt_FromLong((long) wxEVT_STC_UPDATEUI)); | |
9436 | PyDict_SetItemString(d,"wxEVT_STC_SAVEPOINTREACHED", PyInt_FromLong((long) wxEVT_STC_SAVEPOINTREACHED)); | |
9437 | PyDict_SetItemString(d,"wxEVT_STC_SAVEPOINTLEFT", PyInt_FromLong((long) wxEVT_STC_SAVEPOINTLEFT)); | |
9438 | PyDict_SetItemString(d,"wxEVT_STC_ROMODIFYATTEMPT", PyInt_FromLong((long) wxEVT_STC_ROMODIFYATTEMPT)); | |
9439 | PyDict_SetItemString(d,"wxEVT_STC_DOUBLECLICK", PyInt_FromLong((long) wxEVT_STC_DOUBLECLICK)); | |
9440 | PyDict_SetItemString(d,"wxEVT_STC_MODIFIED", PyInt_FromLong((long) wxEVT_STC_MODIFIED)); | |
9441 | PyDict_SetItemString(d,"wxEVT_STC_KEY", PyInt_FromLong((long) wxEVT_STC_KEY)); | |
9442 | PyDict_SetItemString(d,"wxEVT_STC_MACRORECORD", PyInt_FromLong((long) wxEVT_STC_MACRORECORD)); | |
9443 | PyDict_SetItemString(d,"wxEVT_STC_MARGINCLICK", PyInt_FromLong((long) wxEVT_STC_MARGINCLICK)); | |
9444 | PyDict_SetItemString(d,"wxEVT_STC_NEEDSHOWN", PyInt_FromLong((long) wxEVT_STC_NEEDSHOWN)); | |
fe47ec10 | 9445 | PyDict_SetItemString(d,"wxEVT_STC_POSCHANGED", PyInt_FromLong((long) wxEVT_STC_POSCHANGED)); |
f6bcfd97 BP |
9446 | |
9447 | ||
e508a2b6 RD |
9448 | wxClassInfo::CleanUpClasses(); |
9449 | wxClassInfo::InitializeClasses(); | |
f6bcfd97 BP |
9450 | |
9451 | { | |
9452 | int i; | |
9453 | for (i = 0; _swig_mapping[i].n1; i++) | |
9454 | SWIG_RegisterMapping(_swig_mapping[i].n1,_swig_mapping[i].n2,_swig_mapping[i].pcnv); | |
9455 | } | |
9456 | } |