]>
Commit | Line | Data |
---|---|---|
89c8ea73 RD |
1 | /* |
2 | * FILE : contrib/stc/gtk/stc_.cpp | |
3 | * | |
4 | * This file was automatically generated by : | |
5 | * Simplified Wrapper and Interface Generator (SWIG) | |
6 | * Version 1.1 (Build 883) | |
7 | * | |
8 | * Portions Copyright (c) 1995-1998 | |
9 | * The University of Utah and The Regents of the University of California. | |
10 | * Permission is granted to distribute this file in any manner provided | |
11 | * this notice remains intact. | |
12 | * | |
13 | * Do not make changes to this file--changes will be lost! | |
14 | * | |
15 | */ | |
16 | ||
17 | ||
18 | #define SWIGCODE | |
19 | /* Implementation : PYTHON */ | |
20 | ||
21 | #define SWIGPYTHON | |
22 | #include <string.h> | |
23 | #include <stdlib.h> | |
24 | /* Definitions for Windows/Unix exporting */ | |
25 | #if defined(__WIN32__) | |
26 | # if defined(_MSC_VER) | |
27 | # define SWIGEXPORT(a) __declspec(dllexport) a | |
28 | # else | |
29 | # if defined(__BORLANDC__) | |
30 | # define SWIGEXPORT(a) a _export | |
31 | # else | |
32 | # define SWIGEXPORT(a) a | |
33 | # endif | |
34 | # endif | |
35 | #else | |
36 | # define SWIGEXPORT(a) a | |
37 | #endif | |
38 | ||
39 | #include "Python.h" | |
40 | ||
41 | #ifdef __cplusplus | |
42 | extern "C" { | |
43 | #endif | |
44 | ||
45 | extern void SWIG_MakePtr(char *, void *, char *); | |
46 | extern void SWIG_RegisterMapping(char *, char *, void *(*)(void *)); | |
47 | extern char *SWIG_GetPtr(char *, void **, char *); | |
48 | extern char *SWIG_GetPtrObj(PyObject *, void **, char *); | |
49 | extern void SWIG_addvarlink(PyObject *, char *, PyObject *(*)(void), int (*)(PyObject *)); | |
50 | extern PyObject *SWIG_newvarlink(void); | |
51 | #ifdef __cplusplus | |
52 | } | |
53 | #endif | |
54 | #define SWIG_init initstc_c | |
55 | ||
56 | #define SWIG_name "stc_c" | |
57 | ||
58 | #include "export.h" | |
59 | #include "wx/stc/stc.h" | |
60 | ||
61 | ||
62 | static PyObject* t_output_helper(PyObject* target, PyObject* o) { | |
63 | PyObject* o2; | |
64 | PyObject* o3; | |
65 | ||
66 | if (!target) { | |
67 | target = o; | |
68 | } else if (target == Py_None) { | |
69 | Py_DECREF(Py_None); | |
70 | target = o; | |
71 | } else { | |
72 | if (!PyTuple_Check(target)) { | |
73 | o2 = target; | |
74 | target = PyTuple_New(1); | |
75 | PyTuple_SetItem(target, 0, o2); | |
76 | } | |
77 | o3 = PyTuple_New(1); | |
78 | PyTuple_SetItem(o3, 0, o); | |
79 | ||
80 | o2 = target; | |
81 | target = PySequence_Concat(o2, o3); | |
82 | Py_DECREF(o2); | |
83 | Py_DECREF(o3); | |
84 | } | |
85 | return target; | |
86 | } | |
89c8ea73 RD |
87 | #ifdef __cplusplus |
88 | extern "C" { | |
89 | #endif | |
90 | static void *SwigwxStyledTextCtrlTowxControl(void *ptr) { | |
91 | wxStyledTextCtrl *src; | |
92 | wxControl *dest; | |
93 | src = (wxStyledTextCtrl *) ptr; | |
94 | dest = (wxControl *) src; | |
95 | return (void *) dest; | |
96 | } | |
97 | ||
98 | static void *SwigwxStyledTextCtrlTowxWindow(void *ptr) { | |
99 | wxStyledTextCtrl *src; | |
100 | wxWindow *dest; | |
101 | src = (wxStyledTextCtrl *) ptr; | |
102 | dest = (wxWindow *) src; | |
103 | return (void *) dest; | |
104 | } | |
105 | ||
106 | static void *SwigwxStyledTextCtrlTowxEvtHandler(void *ptr) { | |
107 | wxStyledTextCtrl *src; | |
108 | wxEvtHandler *dest; | |
109 | src = (wxStyledTextCtrl *) ptr; | |
110 | dest = (wxEvtHandler *) src; | |
111 | return (void *) dest; | |
112 | } | |
113 | ||
114 | static void *SwigwxStyledTextCtrlTowxObject(void *ptr) { | |
115 | wxStyledTextCtrl *src; | |
116 | wxObject *dest; | |
117 | src = (wxStyledTextCtrl *) ptr; | |
118 | dest = (wxObject *) src; | |
119 | return (void *) dest; | |
120 | } | |
121 | ||
122 | #define new_wxStyledTextCtrl(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxStyledTextCtrl(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5)) | |
123 | static PyObject *_wrap_new_wxStyledTextCtrl(PyObject *self, PyObject *args, PyObject *kwargs) { | |
124 | PyObject * _resultobj; | |
125 | wxStyledTextCtrl * _result; | |
126 | wxWindow * _arg0; | |
127 | wxWindowID _arg1; | |
128 | wxPoint * _arg2 = (wxPoint *) &wxDefaultPosition; | |
129 | wxSize * _arg3 = (wxSize *) &wxDefaultSize; | |
130 | long _arg4 = (long ) 0; | |
131 | char * _arg5 = (char *) "styledtext"; | |
132 | PyObject * _argo0 = 0; | |
133 | wxPoint temp; | |
134 | PyObject * _obj2 = 0; | |
135 | wxSize temp0; | |
136 | PyObject * _obj3 = 0; | |
137 | char *_kwnames[] = { "parent","id","pos","size","style","name", NULL }; | |
138 | char _ptemp[128]; | |
139 | ||
140 | self = self; | |
141 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi|OOls:new_wxStyledTextCtrl",_kwnames,&_argo0,&_arg1,&_obj2,&_obj3,&_arg4,&_arg5)) | |
142 | return NULL; | |
143 | if (_argo0) { | |
144 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
145 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) { | |
146 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxStyledTextCtrl. Expected _wxWindow_p."); | |
147 | return NULL; | |
148 | } | |
149 | } | |
150 | if (_obj2) | |
151 | { | |
152 | _arg2 = &temp; | |
153 | if (! wxPoint_helper(_obj2, &_arg2)) | |
154 | return NULL; | |
155 | } | |
156 | if (_obj3) | |
157 | { | |
158 | _arg3 = &temp0; | |
159 | if (! wxSize_helper(_obj3, &_arg3)) | |
160 | return NULL; | |
161 | } | |
162 | { | |
474c48f9 | 163 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 164 | _result = (wxStyledTextCtrl *)new_wxStyledTextCtrl(_arg0,_arg1,*_arg2,*_arg3,_arg4,_arg5); |
89c8ea73 | 165 | |
474c48f9 RD |
166 | wxPyEndAllowThreads(__tstate); |
167 | if (PyErr_Occurred()) return NULL; | |
89c8ea73 RD |
168 | } if (_result) { |
169 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxStyledTextCtrl_p"); | |
170 | _resultobj = Py_BuildValue("s",_ptemp); | |
171 | } else { | |
172 | Py_INCREF(Py_None); | |
173 | _resultobj = Py_None; | |
174 | } | |
175 | return _resultobj; | |
176 | } | |
177 | ||
178 | #define wxStyledTextCtrl_AddText(_swigobj,_swigarg0) (_swigobj->AddText(_swigarg0)) | |
179 | static PyObject *_wrap_wxStyledTextCtrl_AddText(PyObject *self, PyObject *args, PyObject *kwargs) { | |
180 | PyObject * _resultobj; | |
181 | wxStyledTextCtrl * _arg0; | |
182 | wxString * _arg1; | |
183 | PyObject * _argo0 = 0; | |
184 | PyObject * _obj1 = 0; | |
185 | char *_kwnames[] = { "self","text", NULL }; | |
186 | ||
187 | self = self; | |
188 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxStyledTextCtrl_AddText",_kwnames,&_argo0,&_obj1)) | |
189 | return NULL; | |
190 | if (_argo0) { | |
191 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
192 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
193 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_AddText. Expected _wxStyledTextCtrl_p."); | |
194 | return NULL; | |
195 | } | |
196 | } | |
197 | { | |
c8bc7bb8 RD |
198 | _arg1 = wxString_in_helper(_obj1); |
199 | if (_arg1 == NULL) | |
89c8ea73 | 200 | return NULL; |
89c8ea73 RD |
201 | } |
202 | { | |
474c48f9 | 203 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 204 | wxStyledTextCtrl_AddText(_arg0,*_arg1); |
89c8ea73 | 205 | |
474c48f9 RD |
206 | wxPyEndAllowThreads(__tstate); |
207 | if (PyErr_Occurred()) return NULL; | |
89c8ea73 RD |
208 | } Py_INCREF(Py_None); |
209 | _resultobj = Py_None; | |
210 | { | |
211 | if (_obj1) | |
212 | delete _arg1; | |
213 | } | |
214 | return _resultobj; | |
215 | } | |
216 | ||
217 | #define wxStyledTextCtrl_AddStyledText(_swigobj,_swigarg0) (_swigobj->AddStyledText(_swigarg0)) | |
218 | static PyObject *_wrap_wxStyledTextCtrl_AddStyledText(PyObject *self, PyObject *args, PyObject *kwargs) { | |
219 | PyObject * _resultobj; | |
220 | wxStyledTextCtrl * _arg0; | |
221 | wxString * _arg1; | |
222 | PyObject * _argo0 = 0; | |
223 | PyObject * _obj1 = 0; | |
224 | char *_kwnames[] = { "self","text", NULL }; | |
225 | ||
226 | self = self; | |
227 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxStyledTextCtrl_AddStyledText",_kwnames,&_argo0,&_obj1)) | |
228 | return NULL; | |
229 | if (_argo0) { | |
230 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
231 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
232 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_AddStyledText. Expected _wxStyledTextCtrl_p."); | |
233 | return NULL; | |
234 | } | |
235 | } | |
236 | { | |
c8bc7bb8 RD |
237 | _arg1 = wxString_in_helper(_obj1); |
238 | if (_arg1 == NULL) | |
89c8ea73 | 239 | return NULL; |
89c8ea73 RD |
240 | } |
241 | { | |
474c48f9 | 242 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 243 | wxStyledTextCtrl_AddStyledText(_arg0,*_arg1); |
89c8ea73 | 244 | |
474c48f9 RD |
245 | wxPyEndAllowThreads(__tstate); |
246 | if (PyErr_Occurred()) return NULL; | |
89c8ea73 RD |
247 | } Py_INCREF(Py_None); |
248 | _resultobj = Py_None; | |
249 | { | |
250 | if (_obj1) | |
251 | delete _arg1; | |
252 | } | |
253 | return _resultobj; | |
254 | } | |
255 | ||
256 | #define wxStyledTextCtrl_InsertText(_swigobj,_swigarg0,_swigarg1) (_swigobj->InsertText(_swigarg0,_swigarg1)) | |
257 | static PyObject *_wrap_wxStyledTextCtrl_InsertText(PyObject *self, PyObject *args, PyObject *kwargs) { | |
258 | PyObject * _resultobj; | |
259 | wxStyledTextCtrl * _arg0; | |
260 | int _arg1; | |
261 | wxString * _arg2; | |
262 | PyObject * _argo0 = 0; | |
263 | PyObject * _obj2 = 0; | |
264 | char *_kwnames[] = { "self","pos","text", NULL }; | |
265 | ||
266 | self = self; | |
267 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxStyledTextCtrl_InsertText",_kwnames,&_argo0,&_arg1,&_obj2)) | |
268 | return NULL; | |
269 | if (_argo0) { | |
270 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
271 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
272 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_InsertText. Expected _wxStyledTextCtrl_p."); | |
273 | return NULL; | |
274 | } | |
275 | } | |
276 | { | |
c8bc7bb8 RD |
277 | _arg2 = wxString_in_helper(_obj2); |
278 | if (_arg2 == NULL) | |
89c8ea73 | 279 | return NULL; |
89c8ea73 RD |
280 | } |
281 | { | |
474c48f9 | 282 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 283 | wxStyledTextCtrl_InsertText(_arg0,_arg1,*_arg2); |
89c8ea73 | 284 | |
474c48f9 RD |
285 | wxPyEndAllowThreads(__tstate); |
286 | if (PyErr_Occurred()) return NULL; | |
89c8ea73 RD |
287 | } Py_INCREF(Py_None); |
288 | _resultobj = Py_None; | |
289 | { | |
290 | if (_obj2) | |
291 | delete _arg2; | |
292 | } | |
293 | return _resultobj; | |
294 | } | |
295 | ||
296 | #define wxStyledTextCtrl_ClearAll(_swigobj) (_swigobj->ClearAll()) | |
297 | static PyObject *_wrap_wxStyledTextCtrl_ClearAll(PyObject *self, PyObject *args, PyObject *kwargs) { | |
298 | PyObject * _resultobj; | |
299 | wxStyledTextCtrl * _arg0; | |
300 | PyObject * _argo0 = 0; | |
301 | char *_kwnames[] = { "self", NULL }; | |
302 | ||
303 | self = self; | |
304 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_ClearAll",_kwnames,&_argo0)) | |
305 | return NULL; | |
306 | if (_argo0) { | |
307 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
308 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
309 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_ClearAll. Expected _wxStyledTextCtrl_p."); | |
310 | return NULL; | |
311 | } | |
312 | } | |
313 | { | |
474c48f9 | 314 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 315 | wxStyledTextCtrl_ClearAll(_arg0); |
89c8ea73 | 316 | |
474c48f9 RD |
317 | wxPyEndAllowThreads(__tstate); |
318 | if (PyErr_Occurred()) return NULL; | |
89c8ea73 RD |
319 | } Py_INCREF(Py_None); |
320 | _resultobj = Py_None; | |
321 | return _resultobj; | |
322 | } | |
323 | ||
324 | #define wxStyledTextCtrl_ClearDocumentStyle(_swigobj) (_swigobj->ClearDocumentStyle()) | |
325 | static PyObject *_wrap_wxStyledTextCtrl_ClearDocumentStyle(PyObject *self, PyObject *args, PyObject *kwargs) { | |
326 | PyObject * _resultobj; | |
327 | wxStyledTextCtrl * _arg0; | |
328 | PyObject * _argo0 = 0; | |
329 | char *_kwnames[] = { "self", NULL }; | |
330 | ||
331 | self = self; | |
332 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_ClearDocumentStyle",_kwnames,&_argo0)) | |
333 | return NULL; | |
334 | if (_argo0) { | |
335 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
336 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
337 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_ClearDocumentStyle. Expected _wxStyledTextCtrl_p."); | |
338 | return NULL; | |
339 | } | |
340 | } | |
341 | { | |
474c48f9 | 342 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 343 | wxStyledTextCtrl_ClearDocumentStyle(_arg0); |
89c8ea73 | 344 | |
474c48f9 RD |
345 | wxPyEndAllowThreads(__tstate); |
346 | if (PyErr_Occurred()) return NULL; | |
89c8ea73 RD |
347 | } Py_INCREF(Py_None); |
348 | _resultobj = Py_None; | |
349 | return _resultobj; | |
350 | } | |
351 | ||
352 | #define wxStyledTextCtrl_GetLength(_swigobj) (_swigobj->GetLength()) | |
353 | static PyObject *_wrap_wxStyledTextCtrl_GetLength(PyObject *self, PyObject *args, PyObject *kwargs) { | |
354 | PyObject * _resultobj; | |
355 | int _result; | |
356 | wxStyledTextCtrl * _arg0; | |
357 | PyObject * _argo0 = 0; | |
358 | char *_kwnames[] = { "self", NULL }; | |
359 | ||
360 | self = self; | |
361 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetLength",_kwnames,&_argo0)) | |
362 | return NULL; | |
363 | if (_argo0) { | |
364 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
365 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
366 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetLength. Expected _wxStyledTextCtrl_p."); | |
367 | return NULL; | |
368 | } | |
369 | } | |
370 | { | |
474c48f9 | 371 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 372 | _result = (int )wxStyledTextCtrl_GetLength(_arg0); |
89c8ea73 | 373 | |
474c48f9 RD |
374 | wxPyEndAllowThreads(__tstate); |
375 | if (PyErr_Occurred()) return NULL; | |
89c8ea73 RD |
376 | } _resultobj = Py_BuildValue("i",_result); |
377 | return _resultobj; | |
378 | } | |
379 | ||
380 | #define wxStyledTextCtrl_GetCharAt(_swigobj,_swigarg0) (_swigobj->GetCharAt(_swigarg0)) | |
381 | static PyObject *_wrap_wxStyledTextCtrl_GetCharAt(PyObject *self, PyObject *args, PyObject *kwargs) { | |
382 | PyObject * _resultobj; | |
383 | int _result; | |
384 | wxStyledTextCtrl * _arg0; | |
385 | int _arg1; | |
386 | PyObject * _argo0 = 0; | |
387 | char *_kwnames[] = { "self","pos", NULL }; | |
388 | ||
389 | self = self; | |
390 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_GetCharAt",_kwnames,&_argo0,&_arg1)) | |
391 | return NULL; | |
392 | if (_argo0) { | |
393 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
394 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
395 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetCharAt. Expected _wxStyledTextCtrl_p."); | |
396 | return NULL; | |
397 | } | |
398 | } | |
399 | { | |
474c48f9 | 400 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 401 | _result = (int )wxStyledTextCtrl_GetCharAt(_arg0,_arg1); |
89c8ea73 | 402 | |
474c48f9 RD |
403 | wxPyEndAllowThreads(__tstate); |
404 | if (PyErr_Occurred()) return NULL; | |
89c8ea73 RD |
405 | } _resultobj = Py_BuildValue("i",_result); |
406 | return _resultobj; | |
407 | } | |
408 | ||
409 | #define wxStyledTextCtrl_GetCurrentPos(_swigobj) (_swigobj->GetCurrentPos()) | |
410 | static PyObject *_wrap_wxStyledTextCtrl_GetCurrentPos(PyObject *self, PyObject *args, PyObject *kwargs) { | |
411 | PyObject * _resultobj; | |
412 | int _result; | |
413 | wxStyledTextCtrl * _arg0; | |
414 | PyObject * _argo0 = 0; | |
415 | char *_kwnames[] = { "self", NULL }; | |
416 | ||
417 | self = self; | |
418 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetCurrentPos",_kwnames,&_argo0)) | |
419 | return NULL; | |
420 | if (_argo0) { | |
421 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
422 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
423 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetCurrentPos. Expected _wxStyledTextCtrl_p."); | |
424 | return NULL; | |
425 | } | |
426 | } | |
427 | { | |
474c48f9 | 428 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 429 | _result = (int )wxStyledTextCtrl_GetCurrentPos(_arg0); |
89c8ea73 | 430 | |
474c48f9 RD |
431 | wxPyEndAllowThreads(__tstate); |
432 | if (PyErr_Occurred()) return NULL; | |
89c8ea73 RD |
433 | } _resultobj = Py_BuildValue("i",_result); |
434 | return _resultobj; | |
435 | } | |
436 | ||
437 | #define wxStyledTextCtrl_GetAnchor(_swigobj) (_swigobj->GetAnchor()) | |
438 | static PyObject *_wrap_wxStyledTextCtrl_GetAnchor(PyObject *self, PyObject *args, PyObject *kwargs) { | |
439 | PyObject * _resultobj; | |
440 | int _result; | |
441 | wxStyledTextCtrl * _arg0; | |
442 | PyObject * _argo0 = 0; | |
443 | char *_kwnames[] = { "self", NULL }; | |
444 | ||
445 | self = self; | |
446 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetAnchor",_kwnames,&_argo0)) | |
447 | return NULL; | |
448 | if (_argo0) { | |
449 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
450 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
451 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetAnchor. Expected _wxStyledTextCtrl_p."); | |
452 | return NULL; | |
453 | } | |
454 | } | |
455 | { | |
474c48f9 | 456 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 457 | _result = (int )wxStyledTextCtrl_GetAnchor(_arg0); |
89c8ea73 | 458 | |
474c48f9 RD |
459 | wxPyEndAllowThreads(__tstate); |
460 | if (PyErr_Occurred()) return NULL; | |
89c8ea73 RD |
461 | } _resultobj = Py_BuildValue("i",_result); |
462 | return _resultobj; | |
463 | } | |
464 | ||
465 | #define wxStyledTextCtrl_GetStyleAt(_swigobj,_swigarg0) (_swigobj->GetStyleAt(_swigarg0)) | |
466 | static PyObject *_wrap_wxStyledTextCtrl_GetStyleAt(PyObject *self, PyObject *args, PyObject *kwargs) { | |
467 | PyObject * _resultobj; | |
468 | int _result; | |
469 | wxStyledTextCtrl * _arg0; | |
470 | int _arg1; | |
471 | PyObject * _argo0 = 0; | |
472 | char *_kwnames[] = { "self","pos", NULL }; | |
473 | ||
474 | self = self; | |
475 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_GetStyleAt",_kwnames,&_argo0,&_arg1)) | |
476 | return NULL; | |
477 | if (_argo0) { | |
478 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
479 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
480 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetStyleAt. Expected _wxStyledTextCtrl_p."); | |
481 | return NULL; | |
482 | } | |
483 | } | |
484 | { | |
474c48f9 | 485 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 486 | _result = (int )wxStyledTextCtrl_GetStyleAt(_arg0,_arg1); |
89c8ea73 | 487 | |
474c48f9 RD |
488 | wxPyEndAllowThreads(__tstate); |
489 | if (PyErr_Occurred()) return NULL; | |
89c8ea73 RD |
490 | } _resultobj = Py_BuildValue("i",_result); |
491 | return _resultobj; | |
492 | } | |
493 | ||
494 | #define wxStyledTextCtrl_Redo(_swigobj) (_swigobj->Redo()) | |
495 | static PyObject *_wrap_wxStyledTextCtrl_Redo(PyObject *self, PyObject *args, PyObject *kwargs) { | |
496 | PyObject * _resultobj; | |
497 | wxStyledTextCtrl * _arg0; | |
498 | PyObject * _argo0 = 0; | |
499 | char *_kwnames[] = { "self", NULL }; | |
500 | ||
501 | self = self; | |
502 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_Redo",_kwnames,&_argo0)) | |
503 | return NULL; | |
504 | if (_argo0) { | |
505 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
506 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
507 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_Redo. Expected _wxStyledTextCtrl_p."); | |
508 | return NULL; | |
509 | } | |
510 | } | |
511 | { | |
474c48f9 | 512 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 513 | wxStyledTextCtrl_Redo(_arg0); |
89c8ea73 | 514 | |
474c48f9 RD |
515 | wxPyEndAllowThreads(__tstate); |
516 | if (PyErr_Occurred()) return NULL; | |
89c8ea73 RD |
517 | } Py_INCREF(Py_None); |
518 | _resultobj = Py_None; | |
519 | return _resultobj; | |
520 | } | |
521 | ||
522 | #define wxStyledTextCtrl_SetUndoCollection(_swigobj,_swigarg0) (_swigobj->SetUndoCollection(_swigarg0)) | |
523 | static PyObject *_wrap_wxStyledTextCtrl_SetUndoCollection(PyObject *self, PyObject *args, PyObject *kwargs) { | |
524 | PyObject * _resultobj; | |
525 | wxStyledTextCtrl * _arg0; | |
526 | bool _arg1; | |
527 | PyObject * _argo0 = 0; | |
528 | int tempbool1; | |
529 | char *_kwnames[] = { "self","collectUndo", NULL }; | |
530 | ||
531 | self = self; | |
532 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_SetUndoCollection",_kwnames,&_argo0,&tempbool1)) | |
533 | return NULL; | |
534 | if (_argo0) { | |
535 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
536 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
537 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetUndoCollection. Expected _wxStyledTextCtrl_p."); | |
538 | return NULL; | |
539 | } | |
540 | } | |
541 | _arg1 = (bool ) tempbool1; | |
542 | { | |
474c48f9 | 543 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 544 | wxStyledTextCtrl_SetUndoCollection(_arg0,_arg1); |
89c8ea73 | 545 | |
474c48f9 RD |
546 | wxPyEndAllowThreads(__tstate); |
547 | if (PyErr_Occurred()) return NULL; | |
89c8ea73 RD |
548 | } Py_INCREF(Py_None); |
549 | _resultobj = Py_None; | |
550 | return _resultobj; | |
551 | } | |
552 | ||
553 | #define wxStyledTextCtrl_SelectAll(_swigobj) (_swigobj->SelectAll()) | |
554 | static PyObject *_wrap_wxStyledTextCtrl_SelectAll(PyObject *self, PyObject *args, PyObject *kwargs) { | |
555 | PyObject * _resultobj; | |
556 | wxStyledTextCtrl * _arg0; | |
557 | PyObject * _argo0 = 0; | |
558 | char *_kwnames[] = { "self", NULL }; | |
559 | ||
560 | self = self; | |
561 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_SelectAll",_kwnames,&_argo0)) | |
562 | return NULL; | |
563 | if (_argo0) { | |
564 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
565 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
566 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SelectAll. Expected _wxStyledTextCtrl_p."); | |
567 | return NULL; | |
568 | } | |
569 | } | |
570 | { | |
474c48f9 | 571 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 572 | wxStyledTextCtrl_SelectAll(_arg0); |
89c8ea73 | 573 | |
474c48f9 RD |
574 | wxPyEndAllowThreads(__tstate); |
575 | if (PyErr_Occurred()) return NULL; | |
89c8ea73 RD |
576 | } Py_INCREF(Py_None); |
577 | _resultobj = Py_None; | |
578 | return _resultobj; | |
579 | } | |
580 | ||
581 | #define wxStyledTextCtrl_SetSavePoint(_swigobj) (_swigobj->SetSavePoint()) | |
582 | static PyObject *_wrap_wxStyledTextCtrl_SetSavePoint(PyObject *self, PyObject *args, PyObject *kwargs) { | |
583 | PyObject * _resultobj; | |
584 | wxStyledTextCtrl * _arg0; | |
585 | PyObject * _argo0 = 0; | |
586 | char *_kwnames[] = { "self", NULL }; | |
587 | ||
588 | self = self; | |
589 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_SetSavePoint",_kwnames,&_argo0)) | |
590 | return NULL; | |
591 | if (_argo0) { | |
592 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
593 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
594 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetSavePoint. Expected _wxStyledTextCtrl_p."); | |
595 | return NULL; | |
596 | } | |
597 | } | |
598 | { | |
474c48f9 | 599 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 600 | wxStyledTextCtrl_SetSavePoint(_arg0); |
89c8ea73 | 601 | |
474c48f9 RD |
602 | wxPyEndAllowThreads(__tstate); |
603 | if (PyErr_Occurred()) return NULL; | |
89c8ea73 RD |
604 | } Py_INCREF(Py_None); |
605 | _resultobj = Py_None; | |
606 | return _resultobj; | |
607 | } | |
608 | ||
609 | #define wxStyledTextCtrl_GetStyledText(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetStyledText(_swigarg0,_swigarg1)) | |
610 | static PyObject *_wrap_wxStyledTextCtrl_GetStyledText(PyObject *self, PyObject *args, PyObject *kwargs) { | |
611 | PyObject * _resultobj; | |
612 | wxString * _result; | |
613 | wxStyledTextCtrl * _arg0; | |
614 | int _arg1; | |
615 | int _arg2; | |
616 | PyObject * _argo0 = 0; | |
617 | char *_kwnames[] = { "self","startPos","endPos", NULL }; | |
618 | ||
619 | self = self; | |
620 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxStyledTextCtrl_GetStyledText",_kwnames,&_argo0,&_arg1,&_arg2)) | |
621 | return NULL; | |
622 | if (_argo0) { | |
623 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
624 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
625 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetStyledText. Expected _wxStyledTextCtrl_p."); | |
626 | return NULL; | |
627 | } | |
628 | } | |
629 | { | |
474c48f9 | 630 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 631 | _result = new wxString (wxStyledTextCtrl_GetStyledText(_arg0,_arg1,_arg2)); |
89c8ea73 | 632 | |
474c48f9 RD |
633 | wxPyEndAllowThreads(__tstate); |
634 | if (PyErr_Occurred()) return NULL; | |
89c8ea73 | 635 | }{ |
c8bc7bb8 RD |
636 | #if wxUSE_UNICODE |
637 | _resultobj = PyUnicode_FromUnicode(_result->c_str(), _result->Len()); | |
638 | #else | |
89c8ea73 | 639 | _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len()); |
c8bc7bb8 | 640 | #endif |
89c8ea73 RD |
641 | } |
642 | { | |
643 | delete _result; | |
644 | } | |
645 | return _resultobj; | |
646 | } | |
647 | ||
648 | #define wxStyledTextCtrl_CanRedo(_swigobj) (_swigobj->CanRedo()) | |
649 | static PyObject *_wrap_wxStyledTextCtrl_CanRedo(PyObject *self, PyObject *args, PyObject *kwargs) { | |
650 | PyObject * _resultobj; | |
651 | bool _result; | |
652 | wxStyledTextCtrl * _arg0; | |
653 | PyObject * _argo0 = 0; | |
654 | char *_kwnames[] = { "self", NULL }; | |
655 | ||
656 | self = self; | |
657 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_CanRedo",_kwnames,&_argo0)) | |
658 | return NULL; | |
659 | if (_argo0) { | |
660 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
661 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
662 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_CanRedo. Expected _wxStyledTextCtrl_p."); | |
663 | return NULL; | |
664 | } | |
665 | } | |
666 | { | |
474c48f9 | 667 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 668 | _result = (bool )wxStyledTextCtrl_CanRedo(_arg0); |
89c8ea73 | 669 | |
474c48f9 RD |
670 | wxPyEndAllowThreads(__tstate); |
671 | if (PyErr_Occurred()) return NULL; | |
89c8ea73 RD |
672 | } _resultobj = Py_BuildValue("i",_result); |
673 | return _resultobj; | |
674 | } | |
675 | ||
676 | #define wxStyledTextCtrl_MarkerLineFromHandle(_swigobj,_swigarg0) (_swigobj->MarkerLineFromHandle(_swigarg0)) | |
677 | static PyObject *_wrap_wxStyledTextCtrl_MarkerLineFromHandle(PyObject *self, PyObject *args, PyObject *kwargs) { | |
678 | PyObject * _resultobj; | |
679 | int _result; | |
680 | wxStyledTextCtrl * _arg0; | |
681 | int _arg1; | |
682 | PyObject * _argo0 = 0; | |
683 | char *_kwnames[] = { "self","handle", NULL }; | |
684 | ||
685 | self = self; | |
686 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_MarkerLineFromHandle",_kwnames,&_argo0,&_arg1)) | |
687 | return NULL; | |
688 | if (_argo0) { | |
689 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
690 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
691 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_MarkerLineFromHandle. Expected _wxStyledTextCtrl_p."); | |
692 | return NULL; | |
693 | } | |
694 | } | |
695 | { | |
474c48f9 | 696 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 697 | _result = (int )wxStyledTextCtrl_MarkerLineFromHandle(_arg0,_arg1); |
89c8ea73 | 698 | |
474c48f9 RD |
699 | wxPyEndAllowThreads(__tstate); |
700 | if (PyErr_Occurred()) return NULL; | |
89c8ea73 RD |
701 | } _resultobj = Py_BuildValue("i",_result); |
702 | return _resultobj; | |
703 | } | |
704 | ||
705 | #define wxStyledTextCtrl_MarkerDeleteHandle(_swigobj,_swigarg0) (_swigobj->MarkerDeleteHandle(_swigarg0)) | |
706 | static PyObject *_wrap_wxStyledTextCtrl_MarkerDeleteHandle(PyObject *self, PyObject *args, PyObject *kwargs) { | |
707 | PyObject * _resultobj; | |
708 | wxStyledTextCtrl * _arg0; | |
709 | int _arg1; | |
710 | PyObject * _argo0 = 0; | |
711 | char *_kwnames[] = { "self","handle", NULL }; | |
712 | ||
713 | self = self; | |
714 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_MarkerDeleteHandle",_kwnames,&_argo0,&_arg1)) | |
715 | return NULL; | |
716 | if (_argo0) { | |
717 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
718 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
719 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_MarkerDeleteHandle. Expected _wxStyledTextCtrl_p."); | |
720 | return NULL; | |
721 | } | |
722 | } | |
723 | { | |
474c48f9 | 724 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 725 | wxStyledTextCtrl_MarkerDeleteHandle(_arg0,_arg1); |
89c8ea73 | 726 | |
474c48f9 RD |
727 | wxPyEndAllowThreads(__tstate); |
728 | if (PyErr_Occurred()) return NULL; | |
89c8ea73 RD |
729 | } Py_INCREF(Py_None); |
730 | _resultobj = Py_None; | |
731 | return _resultobj; | |
732 | } | |
733 | ||
734 | #define wxStyledTextCtrl_GetUndoCollection(_swigobj) (_swigobj->GetUndoCollection()) | |
735 | static PyObject *_wrap_wxStyledTextCtrl_GetUndoCollection(PyObject *self, PyObject *args, PyObject *kwargs) { | |
736 | PyObject * _resultobj; | |
737 | bool _result; | |
738 | wxStyledTextCtrl * _arg0; | |
739 | PyObject * _argo0 = 0; | |
740 | char *_kwnames[] = { "self", NULL }; | |
741 | ||
742 | self = self; | |
743 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetUndoCollection",_kwnames,&_argo0)) | |
744 | return NULL; | |
745 | if (_argo0) { | |
746 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
747 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
748 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetUndoCollection. Expected _wxStyledTextCtrl_p."); | |
749 | return NULL; | |
750 | } | |
751 | } | |
752 | { | |
474c48f9 | 753 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 754 | _result = (bool )wxStyledTextCtrl_GetUndoCollection(_arg0); |
89c8ea73 | 755 | |
474c48f9 RD |
756 | wxPyEndAllowThreads(__tstate); |
757 | if (PyErr_Occurred()) return NULL; | |
89c8ea73 RD |
758 | } _resultobj = Py_BuildValue("i",_result); |
759 | return _resultobj; | |
760 | } | |
761 | ||
762 | #define wxStyledTextCtrl_GetViewWhiteSpace(_swigobj) (_swigobj->GetViewWhiteSpace()) | |
763 | static PyObject *_wrap_wxStyledTextCtrl_GetViewWhiteSpace(PyObject *self, PyObject *args, PyObject *kwargs) { | |
764 | PyObject * _resultobj; | |
765 | int _result; | |
766 | wxStyledTextCtrl * _arg0; | |
767 | PyObject * _argo0 = 0; | |
768 | char *_kwnames[] = { "self", NULL }; | |
769 | ||
770 | self = self; | |
771 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetViewWhiteSpace",_kwnames,&_argo0)) | |
772 | return NULL; | |
773 | if (_argo0) { | |
774 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
775 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
776 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetViewWhiteSpace. Expected _wxStyledTextCtrl_p."); | |
777 | return NULL; | |
778 | } | |
779 | } | |
780 | { | |
474c48f9 | 781 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 782 | _result = (int )wxStyledTextCtrl_GetViewWhiteSpace(_arg0); |
89c8ea73 | 783 | |
474c48f9 RD |
784 | wxPyEndAllowThreads(__tstate); |
785 | if (PyErr_Occurred()) return NULL; | |
89c8ea73 RD |
786 | } _resultobj = Py_BuildValue("i",_result); |
787 | return _resultobj; | |
788 | } | |
789 | ||
790 | #define wxStyledTextCtrl_SetViewWhiteSpace(_swigobj,_swigarg0) (_swigobj->SetViewWhiteSpace(_swigarg0)) | |
791 | static PyObject *_wrap_wxStyledTextCtrl_SetViewWhiteSpace(PyObject *self, PyObject *args, PyObject *kwargs) { | |
792 | PyObject * _resultobj; | |
793 | wxStyledTextCtrl * _arg0; | |
794 | int _arg1; | |
795 | PyObject * _argo0 = 0; | |
796 | char *_kwnames[] = { "self","viewWS", NULL }; | |
797 | ||
798 | self = self; | |
799 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_SetViewWhiteSpace",_kwnames,&_argo0,&_arg1)) | |
800 | return NULL; | |
801 | if (_argo0) { | |
802 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
803 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
804 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetViewWhiteSpace. Expected _wxStyledTextCtrl_p."); | |
805 | return NULL; | |
806 | } | |
807 | } | |
808 | { | |
474c48f9 | 809 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 810 | wxStyledTextCtrl_SetViewWhiteSpace(_arg0,_arg1); |
89c8ea73 | 811 | |
474c48f9 RD |
812 | wxPyEndAllowThreads(__tstate); |
813 | if (PyErr_Occurred()) return NULL; | |
89c8ea73 RD |
814 | } Py_INCREF(Py_None); |
815 | _resultobj = Py_None; | |
816 | return _resultobj; | |
817 | } | |
818 | ||
819 | #define wxStyledTextCtrl_PositionFromPoint(_swigobj,_swigarg0) (_swigobj->PositionFromPoint(_swigarg0)) | |
820 | static PyObject *_wrap_wxStyledTextCtrl_PositionFromPoint(PyObject *self, PyObject *args, PyObject *kwargs) { | |
821 | PyObject * _resultobj; | |
822 | int _result; | |
823 | wxStyledTextCtrl * _arg0; | |
824 | wxPoint * _arg1; | |
825 | PyObject * _argo0 = 0; | |
826 | wxPoint temp; | |
827 | PyObject * _obj1 = 0; | |
828 | char *_kwnames[] = { "self","pt", NULL }; | |
829 | ||
830 | self = self; | |
831 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxStyledTextCtrl_PositionFromPoint",_kwnames,&_argo0,&_obj1)) | |
832 | return NULL; | |
833 | if (_argo0) { | |
834 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
835 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
836 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_PositionFromPoint. Expected _wxStyledTextCtrl_p."); | |
837 | return NULL; | |
838 | } | |
839 | } | |
840 | { | |
841 | _arg1 = &temp; | |
842 | if (! wxPoint_helper(_obj1, &_arg1)) | |
843 | return NULL; | |
844 | } | |
845 | { | |
474c48f9 | 846 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 847 | _result = (int )wxStyledTextCtrl_PositionFromPoint(_arg0,*_arg1); |
89c8ea73 | 848 | |
474c48f9 RD |
849 | wxPyEndAllowThreads(__tstate); |
850 | if (PyErr_Occurred()) return NULL; | |
89c8ea73 RD |
851 | } _resultobj = Py_BuildValue("i",_result); |
852 | return _resultobj; | |
853 | } | |
854 | ||
855 | #define wxStyledTextCtrl_PositionFromPointClose(_swigobj,_swigarg0,_swigarg1) (_swigobj->PositionFromPointClose(_swigarg0,_swigarg1)) | |
856 | static PyObject *_wrap_wxStyledTextCtrl_PositionFromPointClose(PyObject *self, PyObject *args, PyObject *kwargs) { | |
857 | PyObject * _resultobj; | |
858 | int _result; | |
859 | wxStyledTextCtrl * _arg0; | |
860 | int _arg1; | |
861 | int _arg2; | |
862 | PyObject * _argo0 = 0; | |
863 | char *_kwnames[] = { "self","x","y", NULL }; | |
864 | ||
865 | self = self; | |
866 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxStyledTextCtrl_PositionFromPointClose",_kwnames,&_argo0,&_arg1,&_arg2)) | |
867 | return NULL; | |
868 | if (_argo0) { | |
869 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
870 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
871 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_PositionFromPointClose. Expected _wxStyledTextCtrl_p."); | |
872 | return NULL; | |
873 | } | |
874 | } | |
875 | { | |
474c48f9 | 876 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 877 | _result = (int )wxStyledTextCtrl_PositionFromPointClose(_arg0,_arg1,_arg2); |
89c8ea73 | 878 | |
474c48f9 RD |
879 | wxPyEndAllowThreads(__tstate); |
880 | if (PyErr_Occurred()) return NULL; | |
89c8ea73 RD |
881 | } _resultobj = Py_BuildValue("i",_result); |
882 | return _resultobj; | |
883 | } | |
884 | ||
885 | #define wxStyledTextCtrl_GotoLine(_swigobj,_swigarg0) (_swigobj->GotoLine(_swigarg0)) | |
886 | static PyObject *_wrap_wxStyledTextCtrl_GotoLine(PyObject *self, PyObject *args, PyObject *kwargs) { | |
887 | PyObject * _resultobj; | |
888 | wxStyledTextCtrl * _arg0; | |
889 | int _arg1; | |
890 | PyObject * _argo0 = 0; | |
891 | char *_kwnames[] = { "self","line", NULL }; | |
892 | ||
893 | self = self; | |
894 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_GotoLine",_kwnames,&_argo0,&_arg1)) | |
895 | return NULL; | |
896 | if (_argo0) { | |
897 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
898 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
899 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GotoLine. Expected _wxStyledTextCtrl_p."); | |
900 | return NULL; | |
901 | } | |
902 | } | |
903 | { | |
474c48f9 | 904 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 905 | wxStyledTextCtrl_GotoLine(_arg0,_arg1); |
89c8ea73 | 906 | |
474c48f9 RD |
907 | wxPyEndAllowThreads(__tstate); |
908 | if (PyErr_Occurred()) return NULL; | |
89c8ea73 RD |
909 | } Py_INCREF(Py_None); |
910 | _resultobj = Py_None; | |
911 | return _resultobj; | |
912 | } | |
913 | ||
914 | #define wxStyledTextCtrl_GotoPos(_swigobj,_swigarg0) (_swigobj->GotoPos(_swigarg0)) | |
915 | static PyObject *_wrap_wxStyledTextCtrl_GotoPos(PyObject *self, PyObject *args, PyObject *kwargs) { | |
916 | PyObject * _resultobj; | |
917 | wxStyledTextCtrl * _arg0; | |
918 | int _arg1; | |
919 | PyObject * _argo0 = 0; | |
920 | char *_kwnames[] = { "self","pos", NULL }; | |
921 | ||
922 | self = self; | |
923 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_GotoPos",_kwnames,&_argo0,&_arg1)) | |
924 | return NULL; | |
925 | if (_argo0) { | |
926 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
927 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
928 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GotoPos. Expected _wxStyledTextCtrl_p."); | |
929 | return NULL; | |
930 | } | |
931 | } | |
932 | { | |
474c48f9 | 933 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 934 | wxStyledTextCtrl_GotoPos(_arg0,_arg1); |
89c8ea73 | 935 | |
474c48f9 RD |
936 | wxPyEndAllowThreads(__tstate); |
937 | if (PyErr_Occurred()) return NULL; | |
89c8ea73 RD |
938 | } Py_INCREF(Py_None); |
939 | _resultobj = Py_None; | |
940 | return _resultobj; | |
941 | } | |
942 | ||
943 | #define wxStyledTextCtrl_SetAnchor(_swigobj,_swigarg0) (_swigobj->SetAnchor(_swigarg0)) | |
944 | static PyObject *_wrap_wxStyledTextCtrl_SetAnchor(PyObject *self, PyObject *args, PyObject *kwargs) { | |
945 | PyObject * _resultobj; | |
946 | wxStyledTextCtrl * _arg0; | |
947 | int _arg1; | |
948 | PyObject * _argo0 = 0; | |
949 | char *_kwnames[] = { "self","posAnchor", NULL }; | |
950 | ||
951 | self = self; | |
952 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_SetAnchor",_kwnames,&_argo0,&_arg1)) | |
953 | return NULL; | |
954 | if (_argo0) { | |
955 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
956 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
957 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetAnchor. Expected _wxStyledTextCtrl_p."); | |
958 | return NULL; | |
959 | } | |
960 | } | |
961 | { | |
474c48f9 | 962 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 963 | wxStyledTextCtrl_SetAnchor(_arg0,_arg1); |
89c8ea73 | 964 | |
474c48f9 RD |
965 | wxPyEndAllowThreads(__tstate); |
966 | if (PyErr_Occurred()) return NULL; | |
89c8ea73 RD |
967 | } Py_INCREF(Py_None); |
968 | _resultobj = Py_None; | |
969 | return _resultobj; | |
970 | } | |
971 | ||
972 | #define wxStyledTextCtrl_GetCurLine(_swigobj,_swigarg0) (_swigobj->GetCurLine(_swigarg0)) | |
973 | static PyObject *_wrap_wxStyledTextCtrl_GetCurLine(PyObject *self, PyObject *args, PyObject *kwargs) { | |
974 | PyObject * _resultobj; | |
975 | wxString * _result; | |
976 | wxStyledTextCtrl * _arg0; | |
977 | int * _arg1; | |
978 | int temp; | |
979 | PyObject * _argo0 = 0; | |
980 | char *_kwnames[] = { "self", NULL }; | |
981 | ||
982 | self = self; | |
983 | { | |
984 | _arg1 = &temp; | |
985 | } | |
986 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetCurLine",_kwnames,&_argo0)) | |
987 | return NULL; | |
988 | if (_argo0) { | |
989 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
990 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
991 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetCurLine. Expected _wxStyledTextCtrl_p."); | |
992 | return NULL; | |
993 | } | |
994 | } | |
995 | { | |
474c48f9 | 996 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 997 | _result = new wxString (wxStyledTextCtrl_GetCurLine(_arg0,_arg1)); |
89c8ea73 | 998 | |
474c48f9 RD |
999 | wxPyEndAllowThreads(__tstate); |
1000 | if (PyErr_Occurred()) return NULL; | |
89c8ea73 | 1001 | }{ |
c8bc7bb8 RD |
1002 | #if wxUSE_UNICODE |
1003 | _resultobj = PyUnicode_FromUnicode(_result->c_str(), _result->Len()); | |
1004 | #else | |
89c8ea73 | 1005 | _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len()); |
c8bc7bb8 | 1006 | #endif |
89c8ea73 RD |
1007 | } |
1008 | { | |
1009 | PyObject *o; | |
1010 | o = PyInt_FromLong((long) (*_arg1)); | |
1011 | _resultobj = t_output_helper(_resultobj, o); | |
1012 | } | |
1013 | { | |
1014 | delete _result; | |
1015 | } | |
1016 | return _resultobj; | |
1017 | } | |
1018 | ||
1019 | #define wxStyledTextCtrl_GetEndStyled(_swigobj) (_swigobj->GetEndStyled()) | |
1020 | static PyObject *_wrap_wxStyledTextCtrl_GetEndStyled(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1021 | PyObject * _resultobj; | |
1022 | int _result; | |
1023 | wxStyledTextCtrl * _arg0; | |
1024 | PyObject * _argo0 = 0; | |
1025 | char *_kwnames[] = { "self", NULL }; | |
1026 | ||
1027 | self = self; | |
1028 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetEndStyled",_kwnames,&_argo0)) | |
1029 | return NULL; | |
1030 | if (_argo0) { | |
1031 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1032 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
1033 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetEndStyled. Expected _wxStyledTextCtrl_p."); | |
1034 | return NULL; | |
1035 | } | |
1036 | } | |
1037 | { | |
474c48f9 | 1038 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 1039 | _result = (int )wxStyledTextCtrl_GetEndStyled(_arg0); |
89c8ea73 | 1040 | |
474c48f9 RD |
1041 | wxPyEndAllowThreads(__tstate); |
1042 | if (PyErr_Occurred()) return NULL; | |
89c8ea73 RD |
1043 | } _resultobj = Py_BuildValue("i",_result); |
1044 | return _resultobj; | |
1045 | } | |
1046 | ||
1047 | #define wxStyledTextCtrl_ConvertEOLs(_swigobj,_swigarg0) (_swigobj->ConvertEOLs(_swigarg0)) | |
1048 | static PyObject *_wrap_wxStyledTextCtrl_ConvertEOLs(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1049 | PyObject * _resultobj; | |
1050 | wxStyledTextCtrl * _arg0; | |
1051 | int _arg1; | |
1052 | PyObject * _argo0 = 0; | |
1053 | char *_kwnames[] = { "self","eolMode", NULL }; | |
1054 | ||
1055 | self = self; | |
1056 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_ConvertEOLs",_kwnames,&_argo0,&_arg1)) | |
1057 | return NULL; | |
1058 | if (_argo0) { | |
1059 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1060 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
1061 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_ConvertEOLs. Expected _wxStyledTextCtrl_p."); | |
1062 | return NULL; | |
1063 | } | |
1064 | } | |
1065 | { | |
474c48f9 | 1066 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 1067 | wxStyledTextCtrl_ConvertEOLs(_arg0,_arg1); |
89c8ea73 | 1068 | |
474c48f9 RD |
1069 | wxPyEndAllowThreads(__tstate); |
1070 | if (PyErr_Occurred()) return NULL; | |
89c8ea73 RD |
1071 | } Py_INCREF(Py_None); |
1072 | _resultobj = Py_None; | |
1073 | return _resultobj; | |
1074 | } | |
1075 | ||
1076 | #define wxStyledTextCtrl_GetEOLMode(_swigobj) (_swigobj->GetEOLMode()) | |
1077 | static PyObject *_wrap_wxStyledTextCtrl_GetEOLMode(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1078 | PyObject * _resultobj; | |
1079 | int _result; | |
1080 | wxStyledTextCtrl * _arg0; | |
1081 | PyObject * _argo0 = 0; | |
1082 | char *_kwnames[] = { "self", NULL }; | |
1083 | ||
1084 | self = self; | |
1085 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetEOLMode",_kwnames,&_argo0)) | |
1086 | return NULL; | |
1087 | if (_argo0) { | |
1088 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1089 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
1090 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetEOLMode. Expected _wxStyledTextCtrl_p."); | |
1091 | return NULL; | |
1092 | } | |
1093 | } | |
1094 | { | |
474c48f9 | 1095 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 1096 | _result = (int )wxStyledTextCtrl_GetEOLMode(_arg0); |
89c8ea73 | 1097 | |
474c48f9 RD |
1098 | wxPyEndAllowThreads(__tstate); |
1099 | if (PyErr_Occurred()) return NULL; | |
89c8ea73 RD |
1100 | } _resultobj = Py_BuildValue("i",_result); |
1101 | return _resultobj; | |
1102 | } | |
1103 | ||
1104 | #define wxStyledTextCtrl_SetEOLMode(_swigobj,_swigarg0) (_swigobj->SetEOLMode(_swigarg0)) | |
1105 | static PyObject *_wrap_wxStyledTextCtrl_SetEOLMode(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1106 | PyObject * _resultobj; | |
1107 | wxStyledTextCtrl * _arg0; | |
1108 | int _arg1; | |
1109 | PyObject * _argo0 = 0; | |
1110 | char *_kwnames[] = { "self","eolMode", NULL }; | |
1111 | ||
1112 | self = self; | |
1113 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_SetEOLMode",_kwnames,&_argo0,&_arg1)) | |
1114 | return NULL; | |
1115 | if (_argo0) { | |
1116 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1117 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
1118 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetEOLMode. Expected _wxStyledTextCtrl_p."); | |
1119 | return NULL; | |
1120 | } | |
1121 | } | |
1122 | { | |
474c48f9 | 1123 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 1124 | wxStyledTextCtrl_SetEOLMode(_arg0,_arg1); |
89c8ea73 | 1125 | |
474c48f9 RD |
1126 | wxPyEndAllowThreads(__tstate); |
1127 | if (PyErr_Occurred()) return NULL; | |
89c8ea73 RD |
1128 | } Py_INCREF(Py_None); |
1129 | _resultobj = Py_None; | |
1130 | return _resultobj; | |
1131 | } | |
1132 | ||
1133 | #define wxStyledTextCtrl_StartStyling(_swigobj,_swigarg0,_swigarg1) (_swigobj->StartStyling(_swigarg0,_swigarg1)) | |
1134 | static PyObject *_wrap_wxStyledTextCtrl_StartStyling(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1135 | PyObject * _resultobj; | |
1136 | wxStyledTextCtrl * _arg0; | |
1137 | int _arg1; | |
1138 | int _arg2; | |
1139 | PyObject * _argo0 = 0; | |
1140 | char *_kwnames[] = { "self","pos","mask", NULL }; | |
1141 | ||
1142 | self = self; | |
1143 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxStyledTextCtrl_StartStyling",_kwnames,&_argo0,&_arg1,&_arg2)) | |
1144 | return NULL; | |
1145 | if (_argo0) { | |
1146 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1147 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
1148 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_StartStyling. Expected _wxStyledTextCtrl_p."); | |
1149 | return NULL; | |
1150 | } | |
1151 | } | |
1152 | { | |
474c48f9 | 1153 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 1154 | wxStyledTextCtrl_StartStyling(_arg0,_arg1,_arg2); |
89c8ea73 | 1155 | |
474c48f9 RD |
1156 | wxPyEndAllowThreads(__tstate); |
1157 | if (PyErr_Occurred()) return NULL; | |
89c8ea73 RD |
1158 | } Py_INCREF(Py_None); |
1159 | _resultobj = Py_None; | |
1160 | return _resultobj; | |
1161 | } | |
1162 | ||
1163 | #define wxStyledTextCtrl_SetStyling(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetStyling(_swigarg0,_swigarg1)) | |
1164 | static PyObject *_wrap_wxStyledTextCtrl_SetStyling(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1165 | PyObject * _resultobj; | |
1166 | wxStyledTextCtrl * _arg0; | |
1167 | int _arg1; | |
1168 | int _arg2; | |
1169 | PyObject * _argo0 = 0; | |
1170 | char *_kwnames[] = { "self","length","style", NULL }; | |
1171 | ||
1172 | self = self; | |
1173 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxStyledTextCtrl_SetStyling",_kwnames,&_argo0,&_arg1,&_arg2)) | |
1174 | return NULL; | |
1175 | if (_argo0) { | |
1176 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1177 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
1178 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetStyling. Expected _wxStyledTextCtrl_p."); | |
1179 | return NULL; | |
1180 | } | |
1181 | } | |
1182 | { | |
474c48f9 | 1183 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 1184 | wxStyledTextCtrl_SetStyling(_arg0,_arg1,_arg2); |
89c8ea73 | 1185 | |
474c48f9 RD |
1186 | wxPyEndAllowThreads(__tstate); |
1187 | if (PyErr_Occurred()) return NULL; | |
89c8ea73 RD |
1188 | } Py_INCREF(Py_None); |
1189 | _resultobj = Py_None; | |
1190 | return _resultobj; | |
1191 | } | |
1192 | ||
1193 | #define wxStyledTextCtrl_GetBufferedDraw(_swigobj) (_swigobj->GetBufferedDraw()) | |
1194 | static PyObject *_wrap_wxStyledTextCtrl_GetBufferedDraw(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1195 | PyObject * _resultobj; | |
1196 | bool _result; | |
1197 | wxStyledTextCtrl * _arg0; | |
1198 | PyObject * _argo0 = 0; | |
1199 | char *_kwnames[] = { "self", NULL }; | |
1200 | ||
1201 | self = self; | |
1202 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetBufferedDraw",_kwnames,&_argo0)) | |
1203 | return NULL; | |
1204 | if (_argo0) { | |
1205 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1206 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
1207 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetBufferedDraw. Expected _wxStyledTextCtrl_p."); | |
1208 | return NULL; | |
1209 | } | |
1210 | } | |
1211 | { | |
474c48f9 | 1212 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 1213 | _result = (bool )wxStyledTextCtrl_GetBufferedDraw(_arg0); |
89c8ea73 | 1214 | |
474c48f9 RD |
1215 | wxPyEndAllowThreads(__tstate); |
1216 | if (PyErr_Occurred()) return NULL; | |
89c8ea73 RD |
1217 | } _resultobj = Py_BuildValue("i",_result); |
1218 | return _resultobj; | |
1219 | } | |
1220 | ||
1221 | #define wxStyledTextCtrl_SetBufferedDraw(_swigobj,_swigarg0) (_swigobj->SetBufferedDraw(_swigarg0)) | |
1222 | static PyObject *_wrap_wxStyledTextCtrl_SetBufferedDraw(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1223 | PyObject * _resultobj; | |
1224 | wxStyledTextCtrl * _arg0; | |
1225 | bool _arg1; | |
1226 | PyObject * _argo0 = 0; | |
1227 | int tempbool1; | |
1228 | char *_kwnames[] = { "self","buffered", NULL }; | |
1229 | ||
1230 | self = self; | |
1231 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_SetBufferedDraw",_kwnames,&_argo0,&tempbool1)) | |
1232 | return NULL; | |
1233 | if (_argo0) { | |
1234 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1235 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
1236 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetBufferedDraw. Expected _wxStyledTextCtrl_p."); | |
1237 | return NULL; | |
1238 | } | |
1239 | } | |
1240 | _arg1 = (bool ) tempbool1; | |
1241 | { | |
474c48f9 | 1242 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 1243 | wxStyledTextCtrl_SetBufferedDraw(_arg0,_arg1); |
89c8ea73 | 1244 | |
474c48f9 RD |
1245 | wxPyEndAllowThreads(__tstate); |
1246 | if (PyErr_Occurred()) return NULL; | |
89c8ea73 RD |
1247 | } Py_INCREF(Py_None); |
1248 | _resultobj = Py_None; | |
1249 | return _resultobj; | |
1250 | } | |
1251 | ||
1252 | #define wxStyledTextCtrl_SetTabWidth(_swigobj,_swigarg0) (_swigobj->SetTabWidth(_swigarg0)) | |
1253 | static PyObject *_wrap_wxStyledTextCtrl_SetTabWidth(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1254 | PyObject * _resultobj; | |
1255 | wxStyledTextCtrl * _arg0; | |
1256 | int _arg1; | |
1257 | PyObject * _argo0 = 0; | |
1258 | char *_kwnames[] = { "self","tabWidth", NULL }; | |
1259 | ||
1260 | self = self; | |
1261 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_SetTabWidth",_kwnames,&_argo0,&_arg1)) | |
1262 | return NULL; | |
1263 | if (_argo0) { | |
1264 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1265 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
1266 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetTabWidth. Expected _wxStyledTextCtrl_p."); | |
1267 | return NULL; | |
1268 | } | |
1269 | } | |
1270 | { | |
474c48f9 | 1271 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 1272 | wxStyledTextCtrl_SetTabWidth(_arg0,_arg1); |
89c8ea73 | 1273 | |
474c48f9 RD |
1274 | wxPyEndAllowThreads(__tstate); |
1275 | if (PyErr_Occurred()) return NULL; | |
89c8ea73 RD |
1276 | } Py_INCREF(Py_None); |
1277 | _resultobj = Py_None; | |
1278 | return _resultobj; | |
1279 | } | |
1280 | ||
1281 | #define wxStyledTextCtrl_GetTabWidth(_swigobj) (_swigobj->GetTabWidth()) | |
1282 | static PyObject *_wrap_wxStyledTextCtrl_GetTabWidth(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1283 | PyObject * _resultobj; | |
1284 | int _result; | |
1285 | wxStyledTextCtrl * _arg0; | |
1286 | PyObject * _argo0 = 0; | |
1287 | char *_kwnames[] = { "self", NULL }; | |
1288 | ||
1289 | self = self; | |
1290 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetTabWidth",_kwnames,&_argo0)) | |
1291 | return NULL; | |
1292 | if (_argo0) { | |
1293 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1294 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
1295 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetTabWidth. Expected _wxStyledTextCtrl_p."); | |
1296 | return NULL; | |
1297 | } | |
1298 | } | |
1299 | { | |
474c48f9 | 1300 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 1301 | _result = (int )wxStyledTextCtrl_GetTabWidth(_arg0); |
89c8ea73 | 1302 | |
474c48f9 RD |
1303 | wxPyEndAllowThreads(__tstate); |
1304 | if (PyErr_Occurred()) return NULL; | |
89c8ea73 RD |
1305 | } _resultobj = Py_BuildValue("i",_result); |
1306 | return _resultobj; | |
1307 | } | |
1308 | ||
1309 | #define wxStyledTextCtrl_SetCodePage(_swigobj,_swigarg0) (_swigobj->SetCodePage(_swigarg0)) | |
1310 | static PyObject *_wrap_wxStyledTextCtrl_SetCodePage(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1311 | PyObject * _resultobj; | |
1312 | wxStyledTextCtrl * _arg0; | |
1313 | int _arg1; | |
1314 | PyObject * _argo0 = 0; | |
1315 | char *_kwnames[] = { "self","codePage", NULL }; | |
1316 | ||
1317 | self = self; | |
1318 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_SetCodePage",_kwnames,&_argo0,&_arg1)) | |
1319 | return NULL; | |
1320 | if (_argo0) { | |
1321 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1322 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
1323 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetCodePage. Expected _wxStyledTextCtrl_p."); | |
1324 | return NULL; | |
1325 | } | |
1326 | } | |
1327 | { | |
474c48f9 | 1328 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 1329 | wxStyledTextCtrl_SetCodePage(_arg0,_arg1); |
89c8ea73 | 1330 | |
474c48f9 RD |
1331 | wxPyEndAllowThreads(__tstate); |
1332 | if (PyErr_Occurred()) return NULL; | |
89c8ea73 RD |
1333 | } Py_INCREF(Py_None); |
1334 | _resultobj = Py_None; | |
1335 | return _resultobj; | |
1336 | } | |
1337 | ||
1338 | #define wxStyledTextCtrl_MarkerDefine(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->MarkerDefine(_swigarg0,_swigarg1,_swigarg2,_swigarg3)) | |
1339 | static PyObject *_wrap_wxStyledTextCtrl_MarkerDefine(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1340 | PyObject * _resultobj; | |
1341 | wxStyledTextCtrl * _arg0; | |
1342 | int _arg1; | |
1343 | int _arg2; | |
1344 | wxColour * _arg3 = (wxColour *) &wxNullColour; | |
1345 | wxColour * _arg4 = (wxColour *) &wxNullColour; | |
1346 | PyObject * _argo0 = 0; | |
1347 | wxColour temp; | |
1348 | PyObject * _obj3 = 0; | |
1349 | wxColour temp0; | |
1350 | PyObject * _obj4 = 0; | |
1351 | char *_kwnames[] = { "self","markerNumber","markerSymbol","foreground","background", NULL }; | |
1352 | ||
1353 | self = self; | |
1354 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii|OO:wxStyledTextCtrl_MarkerDefine",_kwnames,&_argo0,&_arg1,&_arg2,&_obj3,&_obj4)) | |
1355 | return NULL; | |
1356 | if (_argo0) { | |
1357 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1358 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
1359 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_MarkerDefine. Expected _wxStyledTextCtrl_p."); | |
1360 | return NULL; | |
1361 | } | |
1362 | } | |
1363 | if (_obj3) | |
1364 | { | |
1365 | _arg3 = &temp; | |
1366 | if (! wxColour_helper(_obj3, &_arg3)) | |
1367 | return NULL; | |
1368 | } | |
1369 | if (_obj4) | |
1370 | { | |
1371 | _arg4 = &temp0; | |
1372 | if (! wxColour_helper(_obj4, &_arg4)) | |
1373 | return NULL; | |
1374 | } | |
1375 | { | |
474c48f9 | 1376 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 1377 | wxStyledTextCtrl_MarkerDefine(_arg0,_arg1,_arg2,*_arg3,*_arg4); |
89c8ea73 | 1378 | |
474c48f9 RD |
1379 | wxPyEndAllowThreads(__tstate); |
1380 | if (PyErr_Occurred()) return NULL; | |
89c8ea73 RD |
1381 | } Py_INCREF(Py_None); |
1382 | _resultobj = Py_None; | |
1383 | return _resultobj; | |
1384 | } | |
1385 | ||
1386 | #define wxStyledTextCtrl_MarkerSetForeground(_swigobj,_swigarg0,_swigarg1) (_swigobj->MarkerSetForeground(_swigarg0,_swigarg1)) | |
1387 | static PyObject *_wrap_wxStyledTextCtrl_MarkerSetForeground(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1388 | PyObject * _resultobj; | |
1389 | wxStyledTextCtrl * _arg0; | |
1390 | int _arg1; | |
1391 | wxColour * _arg2; | |
1392 | PyObject * _argo0 = 0; | |
1393 | wxColour temp; | |
1394 | PyObject * _obj2 = 0; | |
1395 | char *_kwnames[] = { "self","markerNumber","fore", NULL }; | |
1396 | ||
1397 | self = self; | |
1398 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxStyledTextCtrl_MarkerSetForeground",_kwnames,&_argo0,&_arg1,&_obj2)) | |
1399 | return NULL; | |
1400 | if (_argo0) { | |
1401 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1402 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
1403 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_MarkerSetForeground. Expected _wxStyledTextCtrl_p."); | |
1404 | return NULL; | |
1405 | } | |
1406 | } | |
1407 | { | |
1408 | _arg2 = &temp; | |
1409 | if (! wxColour_helper(_obj2, &_arg2)) | |
1410 | return NULL; | |
1411 | } | |
1412 | { | |
474c48f9 | 1413 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 1414 | wxStyledTextCtrl_MarkerSetForeground(_arg0,_arg1,*_arg2); |
89c8ea73 | 1415 | |
474c48f9 RD |
1416 | wxPyEndAllowThreads(__tstate); |
1417 | if (PyErr_Occurred()) return NULL; | |
89c8ea73 RD |
1418 | } Py_INCREF(Py_None); |
1419 | _resultobj = Py_None; | |
1420 | return _resultobj; | |
1421 | } | |
1422 | ||
1423 | #define wxStyledTextCtrl_MarkerSetBackground(_swigobj,_swigarg0,_swigarg1) (_swigobj->MarkerSetBackground(_swigarg0,_swigarg1)) | |
1424 | static PyObject *_wrap_wxStyledTextCtrl_MarkerSetBackground(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1425 | PyObject * _resultobj; | |
1426 | wxStyledTextCtrl * _arg0; | |
1427 | int _arg1; | |
1428 | wxColour * _arg2; | |
1429 | PyObject * _argo0 = 0; | |
1430 | wxColour temp; | |
1431 | PyObject * _obj2 = 0; | |
1432 | char *_kwnames[] = { "self","markerNumber","back", NULL }; | |
1433 | ||
1434 | self = self; | |
1435 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxStyledTextCtrl_MarkerSetBackground",_kwnames,&_argo0,&_arg1,&_obj2)) | |
1436 | return NULL; | |
1437 | if (_argo0) { | |
1438 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1439 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
1440 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_MarkerSetBackground. Expected _wxStyledTextCtrl_p."); | |
1441 | return NULL; | |
1442 | } | |
1443 | } | |
1444 | { | |
1445 | _arg2 = &temp; | |
1446 | if (! wxColour_helper(_obj2, &_arg2)) | |
1447 | return NULL; | |
1448 | } | |
1449 | { | |
474c48f9 | 1450 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 1451 | wxStyledTextCtrl_MarkerSetBackground(_arg0,_arg1,*_arg2); |
89c8ea73 | 1452 | |
474c48f9 RD |
1453 | wxPyEndAllowThreads(__tstate); |
1454 | if (PyErr_Occurred()) return NULL; | |
89c8ea73 RD |
1455 | } Py_INCREF(Py_None); |
1456 | _resultobj = Py_None; | |
1457 | return _resultobj; | |
1458 | } | |
1459 | ||
1460 | #define wxStyledTextCtrl_MarkerAdd(_swigobj,_swigarg0,_swigarg1) (_swigobj->MarkerAdd(_swigarg0,_swigarg1)) | |
1461 | static PyObject *_wrap_wxStyledTextCtrl_MarkerAdd(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1462 | PyObject * _resultobj; | |
a884bee5 | 1463 | int _result; |
89c8ea73 RD |
1464 | wxStyledTextCtrl * _arg0; |
1465 | int _arg1; | |
1466 | int _arg2; | |
1467 | PyObject * _argo0 = 0; | |
1468 | char *_kwnames[] = { "self","line","markerNumber", NULL }; | |
1469 | ||
1470 | self = self; | |
1471 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxStyledTextCtrl_MarkerAdd",_kwnames,&_argo0,&_arg1,&_arg2)) | |
1472 | return NULL; | |
1473 | if (_argo0) { | |
1474 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1475 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
1476 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_MarkerAdd. Expected _wxStyledTextCtrl_p."); | |
1477 | return NULL; | |
1478 | } | |
1479 | } | |
1480 | { | |
474c48f9 | 1481 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
a884bee5 | 1482 | _result = (int )wxStyledTextCtrl_MarkerAdd(_arg0,_arg1,_arg2); |
89c8ea73 | 1483 | |
474c48f9 RD |
1484 | wxPyEndAllowThreads(__tstate); |
1485 | if (PyErr_Occurred()) return NULL; | |
a884bee5 | 1486 | } _resultobj = Py_BuildValue("i",_result); |
89c8ea73 RD |
1487 | return _resultobj; |
1488 | } | |
1489 | ||
1490 | #define wxStyledTextCtrl_MarkerDelete(_swigobj,_swigarg0,_swigarg1) (_swigobj->MarkerDelete(_swigarg0,_swigarg1)) | |
1491 | static PyObject *_wrap_wxStyledTextCtrl_MarkerDelete(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1492 | PyObject * _resultobj; | |
1493 | wxStyledTextCtrl * _arg0; | |
1494 | int _arg1; | |
1495 | int _arg2; | |
1496 | PyObject * _argo0 = 0; | |
1497 | char *_kwnames[] = { "self","line","markerNumber", NULL }; | |
1498 | ||
1499 | self = self; | |
1500 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxStyledTextCtrl_MarkerDelete",_kwnames,&_argo0,&_arg1,&_arg2)) | |
1501 | return NULL; | |
1502 | if (_argo0) { | |
1503 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1504 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
1505 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_MarkerDelete. Expected _wxStyledTextCtrl_p."); | |
1506 | return NULL; | |
1507 | } | |
1508 | } | |
1509 | { | |
474c48f9 | 1510 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 1511 | wxStyledTextCtrl_MarkerDelete(_arg0,_arg1,_arg2); |
89c8ea73 | 1512 | |
474c48f9 RD |
1513 | wxPyEndAllowThreads(__tstate); |
1514 | if (PyErr_Occurred()) return NULL; | |
89c8ea73 RD |
1515 | } Py_INCREF(Py_None); |
1516 | _resultobj = Py_None; | |
1517 | return _resultobj; | |
1518 | } | |
1519 | ||
1520 | #define wxStyledTextCtrl_MarkerDeleteAll(_swigobj,_swigarg0) (_swigobj->MarkerDeleteAll(_swigarg0)) | |
1521 | static PyObject *_wrap_wxStyledTextCtrl_MarkerDeleteAll(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1522 | PyObject * _resultobj; | |
1523 | wxStyledTextCtrl * _arg0; | |
1524 | int _arg1; | |
1525 | PyObject * _argo0 = 0; | |
1526 | char *_kwnames[] = { "self","markerNumber", NULL }; | |
1527 | ||
1528 | self = self; | |
1529 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_MarkerDeleteAll",_kwnames,&_argo0,&_arg1)) | |
1530 | return NULL; | |
1531 | if (_argo0) { | |
1532 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1533 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
1534 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_MarkerDeleteAll. Expected _wxStyledTextCtrl_p."); | |
1535 | return NULL; | |
1536 | } | |
1537 | } | |
1538 | { | |
474c48f9 | 1539 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 1540 | wxStyledTextCtrl_MarkerDeleteAll(_arg0,_arg1); |
89c8ea73 | 1541 | |
474c48f9 RD |
1542 | wxPyEndAllowThreads(__tstate); |
1543 | if (PyErr_Occurred()) return NULL; | |
89c8ea73 RD |
1544 | } Py_INCREF(Py_None); |
1545 | _resultobj = Py_None; | |
1546 | return _resultobj; | |
1547 | } | |
1548 | ||
1549 | #define wxStyledTextCtrl_MarkerGet(_swigobj,_swigarg0) (_swigobj->MarkerGet(_swigarg0)) | |
1550 | static PyObject *_wrap_wxStyledTextCtrl_MarkerGet(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1551 | PyObject * _resultobj; | |
1552 | int _result; | |
1553 | wxStyledTextCtrl * _arg0; | |
1554 | int _arg1; | |
1555 | PyObject * _argo0 = 0; | |
1556 | char *_kwnames[] = { "self","line", NULL }; | |
1557 | ||
1558 | self = self; | |
1559 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_MarkerGet",_kwnames,&_argo0,&_arg1)) | |
1560 | return NULL; | |
1561 | if (_argo0) { | |
1562 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1563 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
1564 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_MarkerGet. Expected _wxStyledTextCtrl_p."); | |
1565 | return NULL; | |
1566 | } | |
1567 | } | |
1568 | { | |
474c48f9 | 1569 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 1570 | _result = (int )wxStyledTextCtrl_MarkerGet(_arg0,_arg1); |
89c8ea73 | 1571 | |
474c48f9 RD |
1572 | wxPyEndAllowThreads(__tstate); |
1573 | if (PyErr_Occurred()) return NULL; | |
89c8ea73 RD |
1574 | } _resultobj = Py_BuildValue("i",_result); |
1575 | return _resultobj; | |
1576 | } | |
1577 | ||
1578 | #define wxStyledTextCtrl_MarkerNext(_swigobj,_swigarg0,_swigarg1) (_swigobj->MarkerNext(_swigarg0,_swigarg1)) | |
1579 | static PyObject *_wrap_wxStyledTextCtrl_MarkerNext(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1580 | PyObject * _resultobj; | |
1581 | int _result; | |
1582 | wxStyledTextCtrl * _arg0; | |
1583 | int _arg1; | |
1584 | int _arg2; | |
1585 | PyObject * _argo0 = 0; | |
1586 | char *_kwnames[] = { "self","lineStart","markerMask", NULL }; | |
1587 | ||
1588 | self = self; | |
1589 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxStyledTextCtrl_MarkerNext",_kwnames,&_argo0,&_arg1,&_arg2)) | |
1590 | return NULL; | |
1591 | if (_argo0) { | |
1592 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1593 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
1594 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_MarkerNext. Expected _wxStyledTextCtrl_p."); | |
1595 | return NULL; | |
1596 | } | |
1597 | } | |
1598 | { | |
474c48f9 | 1599 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 1600 | _result = (int )wxStyledTextCtrl_MarkerNext(_arg0,_arg1,_arg2); |
89c8ea73 | 1601 | |
474c48f9 RD |
1602 | wxPyEndAllowThreads(__tstate); |
1603 | if (PyErr_Occurred()) return NULL; | |
89c8ea73 RD |
1604 | } _resultobj = Py_BuildValue("i",_result); |
1605 | return _resultobj; | |
1606 | } | |
1607 | ||
1608 | #define wxStyledTextCtrl_MarkerPrevious(_swigobj,_swigarg0,_swigarg1) (_swigobj->MarkerPrevious(_swigarg0,_swigarg1)) | |
1609 | static PyObject *_wrap_wxStyledTextCtrl_MarkerPrevious(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1610 | PyObject * _resultobj; | |
1611 | int _result; | |
1612 | wxStyledTextCtrl * _arg0; | |
1613 | int _arg1; | |
1614 | int _arg2; | |
1615 | PyObject * _argo0 = 0; | |
1616 | char *_kwnames[] = { "self","lineStart","markerMask", NULL }; | |
1617 | ||
1618 | self = self; | |
1619 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxStyledTextCtrl_MarkerPrevious",_kwnames,&_argo0,&_arg1,&_arg2)) | |
1620 | return NULL; | |
1621 | if (_argo0) { | |
1622 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1623 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
1624 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_MarkerPrevious. Expected _wxStyledTextCtrl_p."); | |
1625 | return NULL; | |
1626 | } | |
1627 | } | |
1628 | { | |
474c48f9 | 1629 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 1630 | _result = (int )wxStyledTextCtrl_MarkerPrevious(_arg0,_arg1,_arg2); |
89c8ea73 | 1631 | |
474c48f9 RD |
1632 | wxPyEndAllowThreads(__tstate); |
1633 | if (PyErr_Occurred()) return NULL; | |
89c8ea73 RD |
1634 | } _resultobj = Py_BuildValue("i",_result); |
1635 | return _resultobj; | |
1636 | } | |
1637 | ||
1638 | #define wxStyledTextCtrl_SetMarginType(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetMarginType(_swigarg0,_swigarg1)) | |
1639 | static PyObject *_wrap_wxStyledTextCtrl_SetMarginType(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1640 | PyObject * _resultobj; | |
1641 | wxStyledTextCtrl * _arg0; | |
1642 | int _arg1; | |
1643 | int _arg2; | |
1644 | PyObject * _argo0 = 0; | |
1645 | char *_kwnames[] = { "self","margin","marginType", NULL }; | |
1646 | ||
1647 | self = self; | |
1648 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxStyledTextCtrl_SetMarginType",_kwnames,&_argo0,&_arg1,&_arg2)) | |
1649 | return NULL; | |
1650 | if (_argo0) { | |
1651 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1652 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
1653 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetMarginType. Expected _wxStyledTextCtrl_p."); | |
1654 | return NULL; | |
1655 | } | |
1656 | } | |
1657 | { | |
474c48f9 | 1658 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 1659 | wxStyledTextCtrl_SetMarginType(_arg0,_arg1,_arg2); |
89c8ea73 | 1660 | |
474c48f9 RD |
1661 | wxPyEndAllowThreads(__tstate); |
1662 | if (PyErr_Occurred()) return NULL; | |
89c8ea73 RD |
1663 | } Py_INCREF(Py_None); |
1664 | _resultobj = Py_None; | |
1665 | return _resultobj; | |
1666 | } | |
1667 | ||
1668 | #define wxStyledTextCtrl_GetMarginType(_swigobj,_swigarg0) (_swigobj->GetMarginType(_swigarg0)) | |
1669 | static PyObject *_wrap_wxStyledTextCtrl_GetMarginType(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1670 | PyObject * _resultobj; | |
1671 | int _result; | |
1672 | wxStyledTextCtrl * _arg0; | |
1673 | int _arg1; | |
1674 | PyObject * _argo0 = 0; | |
1675 | char *_kwnames[] = { "self","margin", NULL }; | |
1676 | ||
1677 | self = self; | |
1678 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_GetMarginType",_kwnames,&_argo0,&_arg1)) | |
1679 | return NULL; | |
1680 | if (_argo0) { | |
1681 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1682 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
1683 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetMarginType. Expected _wxStyledTextCtrl_p."); | |
1684 | return NULL; | |
1685 | } | |
1686 | } | |
1687 | { | |
474c48f9 | 1688 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 1689 | _result = (int )wxStyledTextCtrl_GetMarginType(_arg0,_arg1); |
89c8ea73 | 1690 | |
474c48f9 RD |
1691 | wxPyEndAllowThreads(__tstate); |
1692 | if (PyErr_Occurred()) return NULL; | |
89c8ea73 RD |
1693 | } _resultobj = Py_BuildValue("i",_result); |
1694 | return _resultobj; | |
1695 | } | |
1696 | ||
1697 | #define wxStyledTextCtrl_SetMarginWidth(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetMarginWidth(_swigarg0,_swigarg1)) | |
1698 | static PyObject *_wrap_wxStyledTextCtrl_SetMarginWidth(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1699 | PyObject * _resultobj; | |
1700 | wxStyledTextCtrl * _arg0; | |
1701 | int _arg1; | |
1702 | int _arg2; | |
1703 | PyObject * _argo0 = 0; | |
1704 | char *_kwnames[] = { "self","margin","pixelWidth", NULL }; | |
1705 | ||
1706 | self = self; | |
1707 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxStyledTextCtrl_SetMarginWidth",_kwnames,&_argo0,&_arg1,&_arg2)) | |
1708 | return NULL; | |
1709 | if (_argo0) { | |
1710 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1711 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
1712 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetMarginWidth. Expected _wxStyledTextCtrl_p."); | |
1713 | return NULL; | |
1714 | } | |
1715 | } | |
1716 | { | |
474c48f9 | 1717 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 1718 | wxStyledTextCtrl_SetMarginWidth(_arg0,_arg1,_arg2); |
89c8ea73 | 1719 | |
474c48f9 RD |
1720 | wxPyEndAllowThreads(__tstate); |
1721 | if (PyErr_Occurred()) return NULL; | |
89c8ea73 RD |
1722 | } Py_INCREF(Py_None); |
1723 | _resultobj = Py_None; | |
1724 | return _resultobj; | |
1725 | } | |
1726 | ||
1727 | #define wxStyledTextCtrl_GetMarginWidth(_swigobj,_swigarg0) (_swigobj->GetMarginWidth(_swigarg0)) | |
1728 | static PyObject *_wrap_wxStyledTextCtrl_GetMarginWidth(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1729 | PyObject * _resultobj; | |
1730 | int _result; | |
1731 | wxStyledTextCtrl * _arg0; | |
1732 | int _arg1; | |
1733 | PyObject * _argo0 = 0; | |
1734 | char *_kwnames[] = { "self","margin", NULL }; | |
1735 | ||
1736 | self = self; | |
1737 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_GetMarginWidth",_kwnames,&_argo0,&_arg1)) | |
1738 | return NULL; | |
1739 | if (_argo0) { | |
1740 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1741 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
1742 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetMarginWidth. Expected _wxStyledTextCtrl_p."); | |
1743 | return NULL; | |
1744 | } | |
1745 | } | |
1746 | { | |
474c48f9 | 1747 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 1748 | _result = (int )wxStyledTextCtrl_GetMarginWidth(_arg0,_arg1); |
89c8ea73 | 1749 | |
474c48f9 RD |
1750 | wxPyEndAllowThreads(__tstate); |
1751 | if (PyErr_Occurred()) return NULL; | |
89c8ea73 RD |
1752 | } _resultobj = Py_BuildValue("i",_result); |
1753 | return _resultobj; | |
1754 | } | |
1755 | ||
1756 | #define wxStyledTextCtrl_SetMarginMask(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetMarginMask(_swigarg0,_swigarg1)) | |
1757 | static PyObject *_wrap_wxStyledTextCtrl_SetMarginMask(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1758 | PyObject * _resultobj; | |
1759 | wxStyledTextCtrl * _arg0; | |
1760 | int _arg1; | |
1761 | int _arg2; | |
1762 | PyObject * _argo0 = 0; | |
1763 | char *_kwnames[] = { "self","margin","mask", NULL }; | |
1764 | ||
1765 | self = self; | |
1766 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxStyledTextCtrl_SetMarginMask",_kwnames,&_argo0,&_arg1,&_arg2)) | |
1767 | return NULL; | |
1768 | if (_argo0) { | |
1769 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1770 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
1771 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetMarginMask. Expected _wxStyledTextCtrl_p."); | |
1772 | return NULL; | |
1773 | } | |
1774 | } | |
1775 | { | |
474c48f9 | 1776 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 1777 | wxStyledTextCtrl_SetMarginMask(_arg0,_arg1,_arg2); |
89c8ea73 | 1778 | |
474c48f9 RD |
1779 | wxPyEndAllowThreads(__tstate); |
1780 | if (PyErr_Occurred()) return NULL; | |
89c8ea73 RD |
1781 | } Py_INCREF(Py_None); |
1782 | _resultobj = Py_None; | |
1783 | return _resultobj; | |
1784 | } | |
1785 | ||
1786 | #define wxStyledTextCtrl_GetMarginMask(_swigobj,_swigarg0) (_swigobj->GetMarginMask(_swigarg0)) | |
1787 | static PyObject *_wrap_wxStyledTextCtrl_GetMarginMask(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1788 | PyObject * _resultobj; | |
1789 | int _result; | |
1790 | wxStyledTextCtrl * _arg0; | |
1791 | int _arg1; | |
1792 | PyObject * _argo0 = 0; | |
1793 | char *_kwnames[] = { "self","margin", NULL }; | |
1794 | ||
1795 | self = self; | |
1796 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_GetMarginMask",_kwnames,&_argo0,&_arg1)) | |
1797 | return NULL; | |
1798 | if (_argo0) { | |
1799 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1800 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
1801 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetMarginMask. Expected _wxStyledTextCtrl_p."); | |
1802 | return NULL; | |
1803 | } | |
1804 | } | |
1805 | { | |
474c48f9 | 1806 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 1807 | _result = (int )wxStyledTextCtrl_GetMarginMask(_arg0,_arg1); |
89c8ea73 | 1808 | |
474c48f9 RD |
1809 | wxPyEndAllowThreads(__tstate); |
1810 | if (PyErr_Occurred()) return NULL; | |
89c8ea73 RD |
1811 | } _resultobj = Py_BuildValue("i",_result); |
1812 | return _resultobj; | |
1813 | } | |
1814 | ||
1815 | #define wxStyledTextCtrl_SetMarginSensitive(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetMarginSensitive(_swigarg0,_swigarg1)) | |
1816 | static PyObject *_wrap_wxStyledTextCtrl_SetMarginSensitive(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1817 | PyObject * _resultobj; | |
1818 | wxStyledTextCtrl * _arg0; | |
1819 | int _arg1; | |
1820 | bool _arg2; | |
1821 | PyObject * _argo0 = 0; | |
1822 | int tempbool2; | |
1823 | char *_kwnames[] = { "self","margin","sensitive", NULL }; | |
1824 | ||
1825 | self = self; | |
1826 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxStyledTextCtrl_SetMarginSensitive",_kwnames,&_argo0,&_arg1,&tempbool2)) | |
1827 | return NULL; | |
1828 | if (_argo0) { | |
1829 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1830 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
1831 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetMarginSensitive. Expected _wxStyledTextCtrl_p."); | |
1832 | return NULL; | |
1833 | } | |
1834 | } | |
1835 | _arg2 = (bool ) tempbool2; | |
1836 | { | |
474c48f9 | 1837 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 1838 | wxStyledTextCtrl_SetMarginSensitive(_arg0,_arg1,_arg2); |
89c8ea73 | 1839 | |
474c48f9 RD |
1840 | wxPyEndAllowThreads(__tstate); |
1841 | if (PyErr_Occurred()) return NULL; | |
89c8ea73 RD |
1842 | } Py_INCREF(Py_None); |
1843 | _resultobj = Py_None; | |
1844 | return _resultobj; | |
1845 | } | |
1846 | ||
1847 | #define wxStyledTextCtrl_GetMarginSensitive(_swigobj,_swigarg0) (_swigobj->GetMarginSensitive(_swigarg0)) | |
1848 | static PyObject *_wrap_wxStyledTextCtrl_GetMarginSensitive(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1849 | PyObject * _resultobj; | |
1850 | bool _result; | |
1851 | wxStyledTextCtrl * _arg0; | |
1852 | int _arg1; | |
1853 | PyObject * _argo0 = 0; | |
1854 | char *_kwnames[] = { "self","margin", NULL }; | |
1855 | ||
1856 | self = self; | |
1857 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_GetMarginSensitive",_kwnames,&_argo0,&_arg1)) | |
1858 | return NULL; | |
1859 | if (_argo0) { | |
1860 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1861 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
1862 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetMarginSensitive. Expected _wxStyledTextCtrl_p."); | |
1863 | return NULL; | |
1864 | } | |
1865 | } | |
1866 | { | |
474c48f9 | 1867 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 1868 | _result = (bool )wxStyledTextCtrl_GetMarginSensitive(_arg0,_arg1); |
89c8ea73 | 1869 | |
474c48f9 RD |
1870 | wxPyEndAllowThreads(__tstate); |
1871 | if (PyErr_Occurred()) return NULL; | |
89c8ea73 RD |
1872 | } _resultobj = Py_BuildValue("i",_result); |
1873 | return _resultobj; | |
1874 | } | |
1875 | ||
1876 | #define wxStyledTextCtrl_StyleClearAll(_swigobj) (_swigobj->StyleClearAll()) | |
1877 | static PyObject *_wrap_wxStyledTextCtrl_StyleClearAll(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1878 | PyObject * _resultobj; | |
1879 | wxStyledTextCtrl * _arg0; | |
1880 | PyObject * _argo0 = 0; | |
1881 | char *_kwnames[] = { "self", NULL }; | |
1882 | ||
1883 | self = self; | |
1884 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_StyleClearAll",_kwnames,&_argo0)) | |
1885 | return NULL; | |
1886 | if (_argo0) { | |
1887 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1888 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
1889 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_StyleClearAll. Expected _wxStyledTextCtrl_p."); | |
1890 | return NULL; | |
1891 | } | |
1892 | } | |
1893 | { | |
474c48f9 | 1894 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 1895 | wxStyledTextCtrl_StyleClearAll(_arg0); |
89c8ea73 | 1896 | |
474c48f9 RD |
1897 | wxPyEndAllowThreads(__tstate); |
1898 | if (PyErr_Occurred()) return NULL; | |
89c8ea73 RD |
1899 | } Py_INCREF(Py_None); |
1900 | _resultobj = Py_None; | |
1901 | return _resultobj; | |
1902 | } | |
1903 | ||
1904 | #define wxStyledTextCtrl_StyleSetForeground(_swigobj,_swigarg0,_swigarg1) (_swigobj->StyleSetForeground(_swigarg0,_swigarg1)) | |
1905 | static PyObject *_wrap_wxStyledTextCtrl_StyleSetForeground(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1906 | PyObject * _resultobj; | |
1907 | wxStyledTextCtrl * _arg0; | |
1908 | int _arg1; | |
1909 | wxColour * _arg2; | |
1910 | PyObject * _argo0 = 0; | |
1911 | wxColour temp; | |
1912 | PyObject * _obj2 = 0; | |
1913 | char *_kwnames[] = { "self","style","fore", NULL }; | |
1914 | ||
1915 | self = self; | |
1916 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxStyledTextCtrl_StyleSetForeground",_kwnames,&_argo0,&_arg1,&_obj2)) | |
1917 | return NULL; | |
1918 | if (_argo0) { | |
1919 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1920 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
1921 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_StyleSetForeground. Expected _wxStyledTextCtrl_p."); | |
1922 | return NULL; | |
1923 | } | |
1924 | } | |
1925 | { | |
1926 | _arg2 = &temp; | |
1927 | if (! wxColour_helper(_obj2, &_arg2)) | |
1928 | return NULL; | |
1929 | } | |
1930 | { | |
474c48f9 | 1931 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 1932 | wxStyledTextCtrl_StyleSetForeground(_arg0,_arg1,*_arg2); |
89c8ea73 | 1933 | |
474c48f9 RD |
1934 | wxPyEndAllowThreads(__tstate); |
1935 | if (PyErr_Occurred()) return NULL; | |
89c8ea73 RD |
1936 | } Py_INCREF(Py_None); |
1937 | _resultobj = Py_None; | |
1938 | return _resultobj; | |
1939 | } | |
1940 | ||
1941 | #define wxStyledTextCtrl_StyleSetBackground(_swigobj,_swigarg0,_swigarg1) (_swigobj->StyleSetBackground(_swigarg0,_swigarg1)) | |
1942 | static PyObject *_wrap_wxStyledTextCtrl_StyleSetBackground(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1943 | PyObject * _resultobj; | |
1944 | wxStyledTextCtrl * _arg0; | |
1945 | int _arg1; | |
1946 | wxColour * _arg2; | |
1947 | PyObject * _argo0 = 0; | |
1948 | wxColour temp; | |
1949 | PyObject * _obj2 = 0; | |
1950 | char *_kwnames[] = { "self","style","back", NULL }; | |
1951 | ||
1952 | self = self; | |
1953 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxStyledTextCtrl_StyleSetBackground",_kwnames,&_argo0,&_arg1,&_obj2)) | |
1954 | return NULL; | |
1955 | if (_argo0) { | |
1956 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1957 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
1958 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_StyleSetBackground. Expected _wxStyledTextCtrl_p."); | |
1959 | return NULL; | |
1960 | } | |
1961 | } | |
1962 | { | |
1963 | _arg2 = &temp; | |
1964 | if (! wxColour_helper(_obj2, &_arg2)) | |
1965 | return NULL; | |
1966 | } | |
1967 | { | |
474c48f9 | 1968 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 1969 | wxStyledTextCtrl_StyleSetBackground(_arg0,_arg1,*_arg2); |
89c8ea73 | 1970 | |
474c48f9 RD |
1971 | wxPyEndAllowThreads(__tstate); |
1972 | if (PyErr_Occurred()) return NULL; | |
89c8ea73 RD |
1973 | } Py_INCREF(Py_None); |
1974 | _resultobj = Py_None; | |
1975 | return _resultobj; | |
1976 | } | |
1977 | ||
1978 | #define wxStyledTextCtrl_StyleSetBold(_swigobj,_swigarg0,_swigarg1) (_swigobj->StyleSetBold(_swigarg0,_swigarg1)) | |
1979 | static PyObject *_wrap_wxStyledTextCtrl_StyleSetBold(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1980 | PyObject * _resultobj; | |
1981 | wxStyledTextCtrl * _arg0; | |
1982 | int _arg1; | |
1983 | bool _arg2; | |
1984 | PyObject * _argo0 = 0; | |
1985 | int tempbool2; | |
1986 | char *_kwnames[] = { "self","style","bold", NULL }; | |
1987 | ||
1988 | self = self; | |
1989 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxStyledTextCtrl_StyleSetBold",_kwnames,&_argo0,&_arg1,&tempbool2)) | |
1990 | return NULL; | |
1991 | if (_argo0) { | |
1992 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1993 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
1994 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_StyleSetBold. Expected _wxStyledTextCtrl_p."); | |
1995 | return NULL; | |
1996 | } | |
1997 | } | |
1998 | _arg2 = (bool ) tempbool2; | |
1999 | { | |
474c48f9 | 2000 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 2001 | wxStyledTextCtrl_StyleSetBold(_arg0,_arg1,_arg2); |
89c8ea73 | 2002 | |
474c48f9 RD |
2003 | wxPyEndAllowThreads(__tstate); |
2004 | if (PyErr_Occurred()) return NULL; | |
89c8ea73 RD |
2005 | } Py_INCREF(Py_None); |
2006 | _resultobj = Py_None; | |
2007 | return _resultobj; | |
2008 | } | |
2009 | ||
2010 | #define wxStyledTextCtrl_StyleSetItalic(_swigobj,_swigarg0,_swigarg1) (_swigobj->StyleSetItalic(_swigarg0,_swigarg1)) | |
2011 | static PyObject *_wrap_wxStyledTextCtrl_StyleSetItalic(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2012 | PyObject * _resultobj; | |
2013 | wxStyledTextCtrl * _arg0; | |
2014 | int _arg1; | |
2015 | bool _arg2; | |
2016 | PyObject * _argo0 = 0; | |
2017 | int tempbool2; | |
2018 | char *_kwnames[] = { "self","style","italic", NULL }; | |
2019 | ||
2020 | self = self; | |
2021 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxStyledTextCtrl_StyleSetItalic",_kwnames,&_argo0,&_arg1,&tempbool2)) | |
2022 | return NULL; | |
2023 | if (_argo0) { | |
2024 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2025 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
2026 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_StyleSetItalic. Expected _wxStyledTextCtrl_p."); | |
2027 | return NULL; | |
2028 | } | |
2029 | } | |
2030 | _arg2 = (bool ) tempbool2; | |
2031 | { | |
474c48f9 | 2032 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 2033 | wxStyledTextCtrl_StyleSetItalic(_arg0,_arg1,_arg2); |
89c8ea73 | 2034 | |
474c48f9 RD |
2035 | wxPyEndAllowThreads(__tstate); |
2036 | if (PyErr_Occurred()) return NULL; | |
89c8ea73 RD |
2037 | } Py_INCREF(Py_None); |
2038 | _resultobj = Py_None; | |
2039 | return _resultobj; | |
2040 | } | |
2041 | ||
2042 | #define wxStyledTextCtrl_StyleSetSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->StyleSetSize(_swigarg0,_swigarg1)) | |
2043 | static PyObject *_wrap_wxStyledTextCtrl_StyleSetSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2044 | PyObject * _resultobj; | |
2045 | wxStyledTextCtrl * _arg0; | |
2046 | int _arg1; | |
2047 | int _arg2; | |
2048 | PyObject * _argo0 = 0; | |
2049 | char *_kwnames[] = { "self","style","sizePoints", NULL }; | |
2050 | ||
2051 | self = self; | |
2052 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxStyledTextCtrl_StyleSetSize",_kwnames,&_argo0,&_arg1,&_arg2)) | |
2053 | return NULL; | |
2054 | if (_argo0) { | |
2055 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2056 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
2057 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_StyleSetSize. Expected _wxStyledTextCtrl_p."); | |
2058 | return NULL; | |
2059 | } | |
2060 | } | |
2061 | { | |
474c48f9 | 2062 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 2063 | wxStyledTextCtrl_StyleSetSize(_arg0,_arg1,_arg2); |
89c8ea73 | 2064 | |
474c48f9 RD |
2065 | wxPyEndAllowThreads(__tstate); |
2066 | if (PyErr_Occurred()) return NULL; | |
89c8ea73 RD |
2067 | } Py_INCREF(Py_None); |
2068 | _resultobj = Py_None; | |
2069 | return _resultobj; | |
2070 | } | |
2071 | ||
2072 | #define wxStyledTextCtrl_StyleSetFaceName(_swigobj,_swigarg0,_swigarg1) (_swigobj->StyleSetFaceName(_swigarg0,_swigarg1)) | |
2073 | static PyObject *_wrap_wxStyledTextCtrl_StyleSetFaceName(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2074 | PyObject * _resultobj; | |
2075 | wxStyledTextCtrl * _arg0; | |
2076 | int _arg1; | |
2077 | wxString * _arg2; | |
2078 | PyObject * _argo0 = 0; | |
2079 | PyObject * _obj2 = 0; | |
2080 | char *_kwnames[] = { "self","style","fontName", NULL }; | |
2081 | ||
2082 | self = self; | |
2083 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxStyledTextCtrl_StyleSetFaceName",_kwnames,&_argo0,&_arg1,&_obj2)) | |
2084 | return NULL; | |
2085 | if (_argo0) { | |
2086 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2087 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
2088 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_StyleSetFaceName. Expected _wxStyledTextCtrl_p."); | |
2089 | return NULL; | |
2090 | } | |
2091 | } | |
2092 | { | |
c8bc7bb8 RD |
2093 | _arg2 = wxString_in_helper(_obj2); |
2094 | if (_arg2 == NULL) | |
89c8ea73 | 2095 | return NULL; |
89c8ea73 RD |
2096 | } |
2097 | { | |
474c48f9 | 2098 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 2099 | wxStyledTextCtrl_StyleSetFaceName(_arg0,_arg1,*_arg2); |
89c8ea73 | 2100 | |
474c48f9 RD |
2101 | wxPyEndAllowThreads(__tstate); |
2102 | if (PyErr_Occurred()) return NULL; | |
89c8ea73 RD |
2103 | } Py_INCREF(Py_None); |
2104 | _resultobj = Py_None; | |
2105 | { | |
2106 | if (_obj2) | |
2107 | delete _arg2; | |
2108 | } | |
2109 | return _resultobj; | |
2110 | } | |
2111 | ||
2112 | #define wxStyledTextCtrl_StyleSetEOLFilled(_swigobj,_swigarg0,_swigarg1) (_swigobj->StyleSetEOLFilled(_swigarg0,_swigarg1)) | |
2113 | static PyObject *_wrap_wxStyledTextCtrl_StyleSetEOLFilled(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2114 | PyObject * _resultobj; | |
2115 | wxStyledTextCtrl * _arg0; | |
2116 | int _arg1; | |
2117 | bool _arg2; | |
2118 | PyObject * _argo0 = 0; | |
2119 | int tempbool2; | |
2120 | char *_kwnames[] = { "self","style","filled", NULL }; | |
2121 | ||
2122 | self = self; | |
2123 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxStyledTextCtrl_StyleSetEOLFilled",_kwnames,&_argo0,&_arg1,&tempbool2)) | |
2124 | return NULL; | |
2125 | if (_argo0) { | |
2126 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2127 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
2128 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_StyleSetEOLFilled. Expected _wxStyledTextCtrl_p."); | |
2129 | return NULL; | |
2130 | } | |
2131 | } | |
2132 | _arg2 = (bool ) tempbool2; | |
2133 | { | |
474c48f9 | 2134 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 2135 | wxStyledTextCtrl_StyleSetEOLFilled(_arg0,_arg1,_arg2); |
89c8ea73 | 2136 | |
474c48f9 RD |
2137 | wxPyEndAllowThreads(__tstate); |
2138 | if (PyErr_Occurred()) return NULL; | |
89c8ea73 RD |
2139 | } Py_INCREF(Py_None); |
2140 | _resultobj = Py_None; | |
2141 | return _resultobj; | |
2142 | } | |
2143 | ||
2144 | #define wxStyledTextCtrl_StyleResetDefault(_swigobj) (_swigobj->StyleResetDefault()) | |
2145 | static PyObject *_wrap_wxStyledTextCtrl_StyleResetDefault(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2146 | PyObject * _resultobj; | |
2147 | wxStyledTextCtrl * _arg0; | |
2148 | PyObject * _argo0 = 0; | |
2149 | char *_kwnames[] = { "self", NULL }; | |
2150 | ||
2151 | self = self; | |
2152 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_StyleResetDefault",_kwnames,&_argo0)) | |
2153 | return NULL; | |
2154 | if (_argo0) { | |
2155 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2156 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
2157 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_StyleResetDefault. Expected _wxStyledTextCtrl_p."); | |
2158 | return NULL; | |
2159 | } | |
2160 | } | |
2161 | { | |
474c48f9 | 2162 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 2163 | wxStyledTextCtrl_StyleResetDefault(_arg0); |
89c8ea73 | 2164 | |
474c48f9 RD |
2165 | wxPyEndAllowThreads(__tstate); |
2166 | if (PyErr_Occurred()) return NULL; | |
89c8ea73 RD |
2167 | } Py_INCREF(Py_None); |
2168 | _resultobj = Py_None; | |
2169 | return _resultobj; | |
2170 | } | |
2171 | ||
2172 | #define wxStyledTextCtrl_StyleSetUnderline(_swigobj,_swigarg0,_swigarg1) (_swigobj->StyleSetUnderline(_swigarg0,_swigarg1)) | |
2173 | static PyObject *_wrap_wxStyledTextCtrl_StyleSetUnderline(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2174 | PyObject * _resultobj; | |
2175 | wxStyledTextCtrl * _arg0; | |
2176 | int _arg1; | |
2177 | bool _arg2; | |
2178 | PyObject * _argo0 = 0; | |
2179 | int tempbool2; | |
2180 | char *_kwnames[] = { "self","style","underline", NULL }; | |
2181 | ||
2182 | self = self; | |
2183 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxStyledTextCtrl_StyleSetUnderline",_kwnames,&_argo0,&_arg1,&tempbool2)) | |
2184 | return NULL; | |
2185 | if (_argo0) { | |
2186 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2187 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
2188 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_StyleSetUnderline. Expected _wxStyledTextCtrl_p."); | |
2189 | return NULL; | |
2190 | } | |
2191 | } | |
2192 | _arg2 = (bool ) tempbool2; | |
2193 | { | |
474c48f9 | 2194 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 2195 | wxStyledTextCtrl_StyleSetUnderline(_arg0,_arg1,_arg2); |
89c8ea73 | 2196 | |
474c48f9 RD |
2197 | wxPyEndAllowThreads(__tstate); |
2198 | if (PyErr_Occurred()) return NULL; | |
89c8ea73 RD |
2199 | } Py_INCREF(Py_None); |
2200 | _resultobj = Py_None; | |
2201 | return _resultobj; | |
2202 | } | |
2203 | ||
2204 | #define wxStyledTextCtrl_StyleSetCase(_swigobj,_swigarg0,_swigarg1) (_swigobj->StyleSetCase(_swigarg0,_swigarg1)) | |
2205 | static PyObject *_wrap_wxStyledTextCtrl_StyleSetCase(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2206 | PyObject * _resultobj; | |
2207 | wxStyledTextCtrl * _arg0; | |
2208 | int _arg1; | |
2209 | int _arg2; | |
2210 | PyObject * _argo0 = 0; | |
2211 | char *_kwnames[] = { "self","style","caseForce", NULL }; | |
2212 | ||
2213 | self = self; | |
2214 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxStyledTextCtrl_StyleSetCase",_kwnames,&_argo0,&_arg1,&_arg2)) | |
2215 | return NULL; | |
2216 | if (_argo0) { | |
2217 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2218 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
2219 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_StyleSetCase. Expected _wxStyledTextCtrl_p."); | |
2220 | return NULL; | |
2221 | } | |
2222 | } | |
2223 | { | |
474c48f9 | 2224 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 2225 | wxStyledTextCtrl_StyleSetCase(_arg0,_arg1,_arg2); |
89c8ea73 | 2226 | |
474c48f9 RD |
2227 | wxPyEndAllowThreads(__tstate); |
2228 | if (PyErr_Occurred()) return NULL; | |
89c8ea73 RD |
2229 | } Py_INCREF(Py_None); |
2230 | _resultobj = Py_None; | |
2231 | return _resultobj; | |
2232 | } | |
2233 | ||
2234 | #define wxStyledTextCtrl_SetSelForeground(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetSelForeground(_swigarg0,_swigarg1)) | |
2235 | static PyObject *_wrap_wxStyledTextCtrl_SetSelForeground(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2236 | PyObject * _resultobj; | |
2237 | wxStyledTextCtrl * _arg0; | |
2238 | bool _arg1; | |
2239 | wxColour * _arg2; | |
2240 | PyObject * _argo0 = 0; | |
2241 | int tempbool1; | |
2242 | wxColour temp; | |
2243 | PyObject * _obj2 = 0; | |
2244 | char *_kwnames[] = { "self","useSetting","fore", NULL }; | |
2245 | ||
2246 | self = self; | |
2247 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxStyledTextCtrl_SetSelForeground",_kwnames,&_argo0,&tempbool1,&_obj2)) | |
2248 | return NULL; | |
2249 | if (_argo0) { | |
2250 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2251 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
2252 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetSelForeground. Expected _wxStyledTextCtrl_p."); | |
2253 | return NULL; | |
2254 | } | |
2255 | } | |
2256 | _arg1 = (bool ) tempbool1; | |
2257 | { | |
2258 | _arg2 = &temp; | |
2259 | if (! wxColour_helper(_obj2, &_arg2)) | |
2260 | return NULL; | |
2261 | } | |
2262 | { | |
474c48f9 | 2263 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 2264 | wxStyledTextCtrl_SetSelForeground(_arg0,_arg1,*_arg2); |
89c8ea73 | 2265 | |
474c48f9 RD |
2266 | wxPyEndAllowThreads(__tstate); |
2267 | if (PyErr_Occurred()) return NULL; | |
89c8ea73 RD |
2268 | } Py_INCREF(Py_None); |
2269 | _resultobj = Py_None; | |
2270 | return _resultobj; | |
2271 | } | |
2272 | ||
2273 | #define wxStyledTextCtrl_SetSelBackground(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetSelBackground(_swigarg0,_swigarg1)) | |
2274 | static PyObject *_wrap_wxStyledTextCtrl_SetSelBackground(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2275 | PyObject * _resultobj; | |
2276 | wxStyledTextCtrl * _arg0; | |
2277 | bool _arg1; | |
2278 | wxColour * _arg2; | |
2279 | PyObject * _argo0 = 0; | |
2280 | int tempbool1; | |
2281 | wxColour temp; | |
2282 | PyObject * _obj2 = 0; | |
2283 | char *_kwnames[] = { "self","useSetting","back", NULL }; | |
2284 | ||
2285 | self = self; | |
2286 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxStyledTextCtrl_SetSelBackground",_kwnames,&_argo0,&tempbool1,&_obj2)) | |
2287 | return NULL; | |
2288 | if (_argo0) { | |
2289 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2290 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
2291 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetSelBackground. Expected _wxStyledTextCtrl_p."); | |
2292 | return NULL; | |
2293 | } | |
2294 | } | |
2295 | _arg1 = (bool ) tempbool1; | |
2296 | { | |
2297 | _arg2 = &temp; | |
2298 | if (! wxColour_helper(_obj2, &_arg2)) | |
2299 | return NULL; | |
2300 | } | |
2301 | { | |
474c48f9 | 2302 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 2303 | wxStyledTextCtrl_SetSelBackground(_arg0,_arg1,*_arg2); |
89c8ea73 | 2304 | |
474c48f9 RD |
2305 | wxPyEndAllowThreads(__tstate); |
2306 | if (PyErr_Occurred()) return NULL; | |
89c8ea73 RD |
2307 | } Py_INCREF(Py_None); |
2308 | _resultobj = Py_None; | |
2309 | return _resultobj; | |
2310 | } | |
2311 | ||
2312 | #define wxStyledTextCtrl_SetCaretForeground(_swigobj,_swigarg0) (_swigobj->SetCaretForeground(_swigarg0)) | |
2313 | static PyObject *_wrap_wxStyledTextCtrl_SetCaretForeground(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2314 | PyObject * _resultobj; | |
2315 | wxStyledTextCtrl * _arg0; | |
2316 | wxColour * _arg1; | |
2317 | PyObject * _argo0 = 0; | |
2318 | wxColour temp; | |
2319 | PyObject * _obj1 = 0; | |
2320 | char *_kwnames[] = { "self","fore", NULL }; | |
2321 | ||
2322 | self = self; | |
2323 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxStyledTextCtrl_SetCaretForeground",_kwnames,&_argo0,&_obj1)) | |
2324 | return NULL; | |
2325 | if (_argo0) { | |
2326 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2327 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
2328 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetCaretForeground. Expected _wxStyledTextCtrl_p."); | |
2329 | return NULL; | |
2330 | } | |
2331 | } | |
2332 | { | |
2333 | _arg1 = &temp; | |
2334 | if (! wxColour_helper(_obj1, &_arg1)) | |
2335 | return NULL; | |
2336 | } | |
2337 | { | |
474c48f9 | 2338 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 2339 | wxStyledTextCtrl_SetCaretForeground(_arg0,*_arg1); |
89c8ea73 | 2340 | |
474c48f9 RD |
2341 | wxPyEndAllowThreads(__tstate); |
2342 | if (PyErr_Occurred()) return NULL; | |
89c8ea73 RD |
2343 | } Py_INCREF(Py_None); |
2344 | _resultobj = Py_None; | |
2345 | return _resultobj; | |
2346 | } | |
2347 | ||
2348 | #define wxStyledTextCtrl_CmdKeyAssign(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->CmdKeyAssign(_swigarg0,_swigarg1,_swigarg2)) | |
2349 | static PyObject *_wrap_wxStyledTextCtrl_CmdKeyAssign(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2350 | PyObject * _resultobj; | |
2351 | wxStyledTextCtrl * _arg0; | |
2352 | int _arg1; | |
2353 | int _arg2; | |
2354 | int _arg3; | |
2355 | PyObject * _argo0 = 0; | |
2356 | char *_kwnames[] = { "self","key","modifiers","cmd", NULL }; | |
2357 | ||
2358 | self = self; | |
2359 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oiii:wxStyledTextCtrl_CmdKeyAssign",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3)) | |
2360 | return NULL; | |
2361 | if (_argo0) { | |
2362 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2363 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
2364 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_CmdKeyAssign. Expected _wxStyledTextCtrl_p."); | |
2365 | return NULL; | |
2366 | } | |
2367 | } | |
2368 | { | |
474c48f9 | 2369 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 2370 | wxStyledTextCtrl_CmdKeyAssign(_arg0,_arg1,_arg2,_arg3); |
89c8ea73 | 2371 | |
474c48f9 RD |
2372 | wxPyEndAllowThreads(__tstate); |
2373 | if (PyErr_Occurred()) return NULL; | |
89c8ea73 RD |
2374 | } Py_INCREF(Py_None); |
2375 | _resultobj = Py_None; | |
2376 | return _resultobj; | |
2377 | } | |
2378 | ||
2379 | #define wxStyledTextCtrl_CmdKeyClear(_swigobj,_swigarg0,_swigarg1) (_swigobj->CmdKeyClear(_swigarg0,_swigarg1)) | |
2380 | static PyObject *_wrap_wxStyledTextCtrl_CmdKeyClear(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2381 | PyObject * _resultobj; | |
2382 | wxStyledTextCtrl * _arg0; | |
2383 | int _arg1; | |
2384 | int _arg2; | |
2385 | PyObject * _argo0 = 0; | |
2386 | char *_kwnames[] = { "self","key","modifiers", NULL }; | |
2387 | ||
2388 | self = self; | |
2389 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxStyledTextCtrl_CmdKeyClear",_kwnames,&_argo0,&_arg1,&_arg2)) | |
2390 | return NULL; | |
2391 | if (_argo0) { | |
2392 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2393 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
2394 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_CmdKeyClear. Expected _wxStyledTextCtrl_p."); | |
2395 | return NULL; | |
2396 | } | |
2397 | } | |
2398 | { | |
474c48f9 | 2399 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 2400 | wxStyledTextCtrl_CmdKeyClear(_arg0,_arg1,_arg2); |
89c8ea73 | 2401 | |
474c48f9 RD |
2402 | wxPyEndAllowThreads(__tstate); |
2403 | if (PyErr_Occurred()) return NULL; | |
89c8ea73 RD |
2404 | } Py_INCREF(Py_None); |
2405 | _resultobj = Py_None; | |
2406 | return _resultobj; | |
2407 | } | |
2408 | ||
2409 | #define wxStyledTextCtrl_CmdKeyClearAll(_swigobj) (_swigobj->CmdKeyClearAll()) | |
2410 | static PyObject *_wrap_wxStyledTextCtrl_CmdKeyClearAll(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2411 | PyObject * _resultobj; | |
2412 | wxStyledTextCtrl * _arg0; | |
2413 | PyObject * _argo0 = 0; | |
2414 | char *_kwnames[] = { "self", NULL }; | |
2415 | ||
2416 | self = self; | |
2417 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_CmdKeyClearAll",_kwnames,&_argo0)) | |
2418 | return NULL; | |
2419 | if (_argo0) { | |
2420 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2421 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
2422 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_CmdKeyClearAll. Expected _wxStyledTextCtrl_p."); | |
2423 | return NULL; | |
2424 | } | |
2425 | } | |
2426 | { | |
474c48f9 | 2427 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 2428 | wxStyledTextCtrl_CmdKeyClearAll(_arg0); |
89c8ea73 | 2429 | |
474c48f9 RD |
2430 | wxPyEndAllowThreads(__tstate); |
2431 | if (PyErr_Occurred()) return NULL; | |
89c8ea73 RD |
2432 | } Py_INCREF(Py_None); |
2433 | _resultobj = Py_None; | |
2434 | return _resultobj; | |
2435 | } | |
2436 | ||
2437 | #define wxStyledTextCtrl_SetStyleBytes(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetStyleBytes(_swigarg0,_swigarg1)) | |
2438 | static PyObject *_wrap_wxStyledTextCtrl_SetStyleBytes(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2439 | PyObject * _resultobj; | |
2440 | wxStyledTextCtrl * _arg0; | |
2441 | int _arg1; | |
2442 | char * _arg2; | |
2443 | PyObject * _argo0 = 0; | |
2444 | char *_kwnames[] = { "self","length","styleBytes", NULL }; | |
2445 | ||
2446 | self = self; | |
2447 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ois:wxStyledTextCtrl_SetStyleBytes",_kwnames,&_argo0,&_arg1,&_arg2)) | |
2448 | return NULL; | |
2449 | if (_argo0) { | |
2450 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2451 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
2452 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetStyleBytes. Expected _wxStyledTextCtrl_p."); | |
2453 | return NULL; | |
2454 | } | |
2455 | } | |
2456 | { | |
474c48f9 | 2457 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 2458 | wxStyledTextCtrl_SetStyleBytes(_arg0,_arg1,_arg2); |
89c8ea73 | 2459 | |
474c48f9 RD |
2460 | wxPyEndAllowThreads(__tstate); |
2461 | if (PyErr_Occurred()) return NULL; | |
89c8ea73 RD |
2462 | } Py_INCREF(Py_None); |
2463 | _resultobj = Py_None; | |
2464 | return _resultobj; | |
2465 | } | |
2466 | ||
2467 | #define wxStyledTextCtrl_StyleSetVisible(_swigobj,_swigarg0,_swigarg1) (_swigobj->StyleSetVisible(_swigarg0,_swigarg1)) | |
2468 | static PyObject *_wrap_wxStyledTextCtrl_StyleSetVisible(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2469 | PyObject * _resultobj; | |
2470 | wxStyledTextCtrl * _arg0; | |
2471 | int _arg1; | |
2472 | bool _arg2; | |
2473 | PyObject * _argo0 = 0; | |
2474 | int tempbool2; | |
2475 | char *_kwnames[] = { "self","style","visible", NULL }; | |
2476 | ||
2477 | self = self; | |
2478 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxStyledTextCtrl_StyleSetVisible",_kwnames,&_argo0,&_arg1,&tempbool2)) | |
2479 | return NULL; | |
2480 | if (_argo0) { | |
2481 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2482 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
2483 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_StyleSetVisible. Expected _wxStyledTextCtrl_p."); | |
2484 | return NULL; | |
2485 | } | |
2486 | } | |
2487 | _arg2 = (bool ) tempbool2; | |
2488 | { | |
474c48f9 | 2489 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 2490 | wxStyledTextCtrl_StyleSetVisible(_arg0,_arg1,_arg2); |
89c8ea73 | 2491 | |
474c48f9 RD |
2492 | wxPyEndAllowThreads(__tstate); |
2493 | if (PyErr_Occurred()) return NULL; | |
89c8ea73 RD |
2494 | } Py_INCREF(Py_None); |
2495 | _resultobj = Py_None; | |
2496 | return _resultobj; | |
2497 | } | |
2498 | ||
2499 | #define wxStyledTextCtrl_GetCaretPeriod(_swigobj) (_swigobj->GetCaretPeriod()) | |
2500 | static PyObject *_wrap_wxStyledTextCtrl_GetCaretPeriod(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2501 | PyObject * _resultobj; | |
2502 | int _result; | |
2503 | wxStyledTextCtrl * _arg0; | |
2504 | PyObject * _argo0 = 0; | |
2505 | char *_kwnames[] = { "self", NULL }; | |
2506 | ||
2507 | self = self; | |
2508 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetCaretPeriod",_kwnames,&_argo0)) | |
2509 | return NULL; | |
2510 | if (_argo0) { | |
2511 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2512 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
2513 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetCaretPeriod. Expected _wxStyledTextCtrl_p."); | |
2514 | return NULL; | |
2515 | } | |
2516 | } | |
2517 | { | |
474c48f9 | 2518 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 2519 | _result = (int )wxStyledTextCtrl_GetCaretPeriod(_arg0); |
89c8ea73 | 2520 | |
474c48f9 RD |
2521 | wxPyEndAllowThreads(__tstate); |
2522 | if (PyErr_Occurred()) return NULL; | |
89c8ea73 RD |
2523 | } _resultobj = Py_BuildValue("i",_result); |
2524 | return _resultobj; | |
2525 | } | |
2526 | ||
2527 | #define wxStyledTextCtrl_SetCaretPeriod(_swigobj,_swigarg0) (_swigobj->SetCaretPeriod(_swigarg0)) | |
2528 | static PyObject *_wrap_wxStyledTextCtrl_SetCaretPeriod(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2529 | PyObject * _resultobj; | |
2530 | wxStyledTextCtrl * _arg0; | |
2531 | int _arg1; | |
2532 | PyObject * _argo0 = 0; | |
2533 | char *_kwnames[] = { "self","periodMilliseconds", NULL }; | |
2534 | ||
2535 | self = self; | |
2536 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_SetCaretPeriod",_kwnames,&_argo0,&_arg1)) | |
2537 | return NULL; | |
2538 | if (_argo0) { | |
2539 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2540 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
2541 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetCaretPeriod. Expected _wxStyledTextCtrl_p."); | |
2542 | return NULL; | |
2543 | } | |
2544 | } | |
2545 | { | |
474c48f9 | 2546 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 2547 | wxStyledTextCtrl_SetCaretPeriod(_arg0,_arg1); |
89c8ea73 | 2548 | |
474c48f9 RD |
2549 | wxPyEndAllowThreads(__tstate); |
2550 | if (PyErr_Occurred()) return NULL; | |
89c8ea73 RD |
2551 | } Py_INCREF(Py_None); |
2552 | _resultobj = Py_None; | |
2553 | return _resultobj; | |
2554 | } | |
2555 | ||
2556 | #define wxStyledTextCtrl_SetWordChars(_swigobj,_swigarg0) (_swigobj->SetWordChars(_swigarg0)) | |
2557 | static PyObject *_wrap_wxStyledTextCtrl_SetWordChars(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2558 | PyObject * _resultobj; | |
2559 | wxStyledTextCtrl * _arg0; | |
2560 | wxString * _arg1; | |
2561 | PyObject * _argo0 = 0; | |
2562 | PyObject * _obj1 = 0; | |
2563 | char *_kwnames[] = { "self","characters", NULL }; | |
2564 | ||
2565 | self = self; | |
2566 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxStyledTextCtrl_SetWordChars",_kwnames,&_argo0,&_obj1)) | |
2567 | return NULL; | |
2568 | if (_argo0) { | |
2569 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2570 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
2571 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetWordChars. Expected _wxStyledTextCtrl_p."); | |
2572 | return NULL; | |
2573 | } | |
2574 | } | |
2575 | { | |
c8bc7bb8 RD |
2576 | _arg1 = wxString_in_helper(_obj1); |
2577 | if (_arg1 == NULL) | |
89c8ea73 | 2578 | return NULL; |
89c8ea73 RD |
2579 | } |
2580 | { | |
474c48f9 | 2581 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 2582 | wxStyledTextCtrl_SetWordChars(_arg0,*_arg1); |
89c8ea73 | 2583 | |
474c48f9 RD |
2584 | wxPyEndAllowThreads(__tstate); |
2585 | if (PyErr_Occurred()) return NULL; | |
89c8ea73 RD |
2586 | } Py_INCREF(Py_None); |
2587 | _resultobj = Py_None; | |
2588 | { | |
2589 | if (_obj1) | |
2590 | delete _arg1; | |
2591 | } | |
2592 | return _resultobj; | |
2593 | } | |
2594 | ||
2595 | #define wxStyledTextCtrl_BeginUndoAction(_swigobj) (_swigobj->BeginUndoAction()) | |
2596 | static PyObject *_wrap_wxStyledTextCtrl_BeginUndoAction(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2597 | PyObject * _resultobj; | |
2598 | wxStyledTextCtrl * _arg0; | |
2599 | PyObject * _argo0 = 0; | |
2600 | char *_kwnames[] = { "self", NULL }; | |
2601 | ||
2602 | self = self; | |
2603 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_BeginUndoAction",_kwnames,&_argo0)) | |
2604 | return NULL; | |
2605 | if (_argo0) { | |
2606 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2607 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
2608 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_BeginUndoAction. Expected _wxStyledTextCtrl_p."); | |
2609 | return NULL; | |
2610 | } | |
2611 | } | |
2612 | { | |
474c48f9 | 2613 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 2614 | wxStyledTextCtrl_BeginUndoAction(_arg0); |
89c8ea73 | 2615 | |
474c48f9 RD |
2616 | wxPyEndAllowThreads(__tstate); |
2617 | if (PyErr_Occurred()) return NULL; | |
89c8ea73 RD |
2618 | } Py_INCREF(Py_None); |
2619 | _resultobj = Py_None; | |
2620 | return _resultobj; | |
2621 | } | |
2622 | ||
2623 | #define wxStyledTextCtrl_EndUndoAction(_swigobj) (_swigobj->EndUndoAction()) | |
2624 | static PyObject *_wrap_wxStyledTextCtrl_EndUndoAction(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2625 | PyObject * _resultobj; | |
2626 | wxStyledTextCtrl * _arg0; | |
2627 | PyObject * _argo0 = 0; | |
2628 | char *_kwnames[] = { "self", NULL }; | |
2629 | ||
2630 | self = self; | |
2631 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_EndUndoAction",_kwnames,&_argo0)) | |
2632 | return NULL; | |
2633 | if (_argo0) { | |
2634 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2635 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
2636 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_EndUndoAction. Expected _wxStyledTextCtrl_p."); | |
2637 | return NULL; | |
2638 | } | |
2639 | } | |
2640 | { | |
474c48f9 | 2641 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 2642 | wxStyledTextCtrl_EndUndoAction(_arg0); |
89c8ea73 | 2643 | |
474c48f9 RD |
2644 | wxPyEndAllowThreads(__tstate); |
2645 | if (PyErr_Occurred()) return NULL; | |
89c8ea73 RD |
2646 | } Py_INCREF(Py_None); |
2647 | _resultobj = Py_None; | |
2648 | return _resultobj; | |
2649 | } | |
2650 | ||
2651 | #define wxStyledTextCtrl_IndicatorSetStyle(_swigobj,_swigarg0,_swigarg1) (_swigobj->IndicatorSetStyle(_swigarg0,_swigarg1)) | |
2652 | static PyObject *_wrap_wxStyledTextCtrl_IndicatorSetStyle(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2653 | PyObject * _resultobj; | |
2654 | wxStyledTextCtrl * _arg0; | |
2655 | int _arg1; | |
2656 | int _arg2; | |
2657 | PyObject * _argo0 = 0; | |
2658 | char *_kwnames[] = { "self","indic","style", NULL }; | |
2659 | ||
2660 | self = self; | |
2661 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxStyledTextCtrl_IndicatorSetStyle",_kwnames,&_argo0,&_arg1,&_arg2)) | |
2662 | return NULL; | |
2663 | if (_argo0) { | |
2664 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2665 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
2666 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_IndicatorSetStyle. Expected _wxStyledTextCtrl_p."); | |
2667 | return NULL; | |
2668 | } | |
2669 | } | |
2670 | { | |
474c48f9 | 2671 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 2672 | wxStyledTextCtrl_IndicatorSetStyle(_arg0,_arg1,_arg2); |
89c8ea73 | 2673 | |
474c48f9 RD |
2674 | wxPyEndAllowThreads(__tstate); |
2675 | if (PyErr_Occurred()) return NULL; | |
89c8ea73 RD |
2676 | } Py_INCREF(Py_None); |
2677 | _resultobj = Py_None; | |
2678 | return _resultobj; | |
2679 | } | |
2680 | ||
2681 | #define wxStyledTextCtrl_IndicatorGetStyle(_swigobj,_swigarg0) (_swigobj->IndicatorGetStyle(_swigarg0)) | |
2682 | static PyObject *_wrap_wxStyledTextCtrl_IndicatorGetStyle(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2683 | PyObject * _resultobj; | |
2684 | int _result; | |
2685 | wxStyledTextCtrl * _arg0; | |
2686 | int _arg1; | |
2687 | PyObject * _argo0 = 0; | |
2688 | char *_kwnames[] = { "self","indic", NULL }; | |
2689 | ||
2690 | self = self; | |
2691 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_IndicatorGetStyle",_kwnames,&_argo0,&_arg1)) | |
2692 | return NULL; | |
2693 | if (_argo0) { | |
2694 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2695 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
2696 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_IndicatorGetStyle. Expected _wxStyledTextCtrl_p."); | |
2697 | return NULL; | |
2698 | } | |
2699 | } | |
2700 | { | |
474c48f9 | 2701 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 2702 | _result = (int )wxStyledTextCtrl_IndicatorGetStyle(_arg0,_arg1); |
89c8ea73 | 2703 | |
474c48f9 RD |
2704 | wxPyEndAllowThreads(__tstate); |
2705 | if (PyErr_Occurred()) return NULL; | |
89c8ea73 RD |
2706 | } _resultobj = Py_BuildValue("i",_result); |
2707 | return _resultobj; | |
2708 | } | |
2709 | ||
2710 | #define wxStyledTextCtrl_IndicatorSetForeground(_swigobj,_swigarg0,_swigarg1) (_swigobj->IndicatorSetForeground(_swigarg0,_swigarg1)) | |
2711 | static PyObject *_wrap_wxStyledTextCtrl_IndicatorSetForeground(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2712 | PyObject * _resultobj; | |
2713 | wxStyledTextCtrl * _arg0; | |
2714 | int _arg1; | |
2715 | wxColour * _arg2; | |
2716 | PyObject * _argo0 = 0; | |
2717 | wxColour temp; | |
2718 | PyObject * _obj2 = 0; | |
2719 | char *_kwnames[] = { "self","indic","fore", NULL }; | |
2720 | ||
2721 | self = self; | |
2722 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxStyledTextCtrl_IndicatorSetForeground",_kwnames,&_argo0,&_arg1,&_obj2)) | |
2723 | return NULL; | |
2724 | if (_argo0) { | |
2725 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2726 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
2727 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_IndicatorSetForeground. Expected _wxStyledTextCtrl_p."); | |
2728 | return NULL; | |
2729 | } | |
2730 | } | |
2731 | { | |
2732 | _arg2 = &temp; | |
2733 | if (! wxColour_helper(_obj2, &_arg2)) | |
2734 | return NULL; | |
2735 | } | |
2736 | { | |
474c48f9 | 2737 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 2738 | wxStyledTextCtrl_IndicatorSetForeground(_arg0,_arg1,*_arg2); |
89c8ea73 | 2739 | |
474c48f9 RD |
2740 | wxPyEndAllowThreads(__tstate); |
2741 | if (PyErr_Occurred()) return NULL; | |
89c8ea73 RD |
2742 | } Py_INCREF(Py_None); |
2743 | _resultobj = Py_None; | |
2744 | return _resultobj; | |
2745 | } | |
2746 | ||
2747 | #define wxStyledTextCtrl_IndicatorGetForeground(_swigobj,_swigarg0) (_swigobj->IndicatorGetForeground(_swigarg0)) | |
2748 | static PyObject *_wrap_wxStyledTextCtrl_IndicatorGetForeground(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2749 | PyObject * _resultobj; | |
2750 | wxColour * _result; | |
2751 | wxStyledTextCtrl * _arg0; | |
2752 | int _arg1; | |
2753 | PyObject * _argo0 = 0; | |
2754 | char *_kwnames[] = { "self","indic", NULL }; | |
2755 | char _ptemp[128]; | |
2756 | ||
2757 | self = self; | |
2758 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_IndicatorGetForeground",_kwnames,&_argo0,&_arg1)) | |
2759 | return NULL; | |
2760 | if (_argo0) { | |
2761 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2762 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
2763 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_IndicatorGetForeground. Expected _wxStyledTextCtrl_p."); | |
2764 | return NULL; | |
2765 | } | |
2766 | } | |
2767 | { | |
474c48f9 | 2768 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 2769 | _result = new wxColour (wxStyledTextCtrl_IndicatorGetForeground(_arg0,_arg1)); |
89c8ea73 | 2770 | |
474c48f9 RD |
2771 | wxPyEndAllowThreads(__tstate); |
2772 | if (PyErr_Occurred()) return NULL; | |
89c8ea73 RD |
2773 | } SWIG_MakePtr(_ptemp, (void *) _result,"_wxColour_p"); |
2774 | _resultobj = Py_BuildValue("s",_ptemp); | |
2775 | return _resultobj; | |
2776 | } | |
2777 | ||
2778 | #define wxStyledTextCtrl_SetStyleBits(_swigobj,_swigarg0) (_swigobj->SetStyleBits(_swigarg0)) | |
2779 | static PyObject *_wrap_wxStyledTextCtrl_SetStyleBits(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2780 | PyObject * _resultobj; | |
2781 | wxStyledTextCtrl * _arg0; | |
2782 | int _arg1; | |
2783 | PyObject * _argo0 = 0; | |
2784 | char *_kwnames[] = { "self","bits", NULL }; | |
2785 | ||
2786 | self = self; | |
2787 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_SetStyleBits",_kwnames,&_argo0,&_arg1)) | |
2788 | return NULL; | |
2789 | if (_argo0) { | |
2790 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2791 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
2792 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetStyleBits. Expected _wxStyledTextCtrl_p."); | |
2793 | return NULL; | |
2794 | } | |
2795 | } | |
2796 | { | |
474c48f9 | 2797 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 2798 | wxStyledTextCtrl_SetStyleBits(_arg0,_arg1); |
89c8ea73 | 2799 | |
474c48f9 RD |
2800 | wxPyEndAllowThreads(__tstate); |
2801 | if (PyErr_Occurred()) return NULL; | |
89c8ea73 RD |
2802 | } Py_INCREF(Py_None); |
2803 | _resultobj = Py_None; | |
2804 | return _resultobj; | |
2805 | } | |
2806 | ||
2807 | #define wxStyledTextCtrl_GetStyleBits(_swigobj) (_swigobj->GetStyleBits()) | |
2808 | static PyObject *_wrap_wxStyledTextCtrl_GetStyleBits(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2809 | PyObject * _resultobj; | |
2810 | int _result; | |
2811 | wxStyledTextCtrl * _arg0; | |
2812 | PyObject * _argo0 = 0; | |
2813 | char *_kwnames[] = { "self", NULL }; | |
2814 | ||
2815 | self = self; | |
2816 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetStyleBits",_kwnames,&_argo0)) | |
2817 | return NULL; | |
2818 | if (_argo0) { | |
2819 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2820 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
2821 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetStyleBits. Expected _wxStyledTextCtrl_p."); | |
2822 | return NULL; | |
2823 | } | |
2824 | } | |
2825 | { | |
474c48f9 | 2826 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 2827 | _result = (int )wxStyledTextCtrl_GetStyleBits(_arg0); |
89c8ea73 | 2828 | |
474c48f9 RD |
2829 | wxPyEndAllowThreads(__tstate); |
2830 | if (PyErr_Occurred()) return NULL; | |
89c8ea73 RD |
2831 | } _resultobj = Py_BuildValue("i",_result); |
2832 | return _resultobj; | |
2833 | } | |
2834 | ||
2835 | #define wxStyledTextCtrl_SetLineState(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetLineState(_swigarg0,_swigarg1)) | |
2836 | static PyObject *_wrap_wxStyledTextCtrl_SetLineState(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2837 | PyObject * _resultobj; | |
2838 | wxStyledTextCtrl * _arg0; | |
2839 | int _arg1; | |
2840 | int _arg2; | |
2841 | PyObject * _argo0 = 0; | |
2842 | char *_kwnames[] = { "self","line","state", NULL }; | |
2843 | ||
2844 | self = self; | |
2845 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxStyledTextCtrl_SetLineState",_kwnames,&_argo0,&_arg1,&_arg2)) | |
2846 | return NULL; | |
2847 | if (_argo0) { | |
2848 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2849 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
2850 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetLineState. Expected _wxStyledTextCtrl_p."); | |
2851 | return NULL; | |
2852 | } | |
2853 | } | |
2854 | { | |
474c48f9 | 2855 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 2856 | wxStyledTextCtrl_SetLineState(_arg0,_arg1,_arg2); |
89c8ea73 | 2857 | |
474c48f9 RD |
2858 | wxPyEndAllowThreads(__tstate); |
2859 | if (PyErr_Occurred()) return NULL; | |
89c8ea73 RD |
2860 | } Py_INCREF(Py_None); |
2861 | _resultobj = Py_None; | |
2862 | return _resultobj; | |
2863 | } | |
2864 | ||
2865 | #define wxStyledTextCtrl_GetLineState(_swigobj,_swigarg0) (_swigobj->GetLineState(_swigarg0)) | |
2866 | static PyObject *_wrap_wxStyledTextCtrl_GetLineState(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2867 | PyObject * _resultobj; | |
2868 | int _result; | |
2869 | wxStyledTextCtrl * _arg0; | |
2870 | int _arg1; | |
2871 | PyObject * _argo0 = 0; | |
2872 | char *_kwnames[] = { "self","line", NULL }; | |
2873 | ||
2874 | self = self; | |
2875 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_GetLineState",_kwnames,&_argo0,&_arg1)) | |
2876 | return NULL; | |
2877 | if (_argo0) { | |
2878 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2879 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
2880 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetLineState. Expected _wxStyledTextCtrl_p."); | |
2881 | return NULL; | |
2882 | } | |
2883 | } | |
2884 | { | |
474c48f9 | 2885 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 2886 | _result = (int )wxStyledTextCtrl_GetLineState(_arg0,_arg1); |
89c8ea73 | 2887 | |
474c48f9 RD |
2888 | wxPyEndAllowThreads(__tstate); |
2889 | if (PyErr_Occurred()) return NULL; | |
89c8ea73 RD |
2890 | } _resultobj = Py_BuildValue("i",_result); |
2891 | return _resultobj; | |
2892 | } | |
2893 | ||
2894 | #define wxStyledTextCtrl_GetMaxLineState(_swigobj) (_swigobj->GetMaxLineState()) | |
2895 | static PyObject *_wrap_wxStyledTextCtrl_GetMaxLineState(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2896 | PyObject * _resultobj; | |
2897 | int _result; | |
2898 | wxStyledTextCtrl * _arg0; | |
2899 | PyObject * _argo0 = 0; | |
2900 | char *_kwnames[] = { "self", NULL }; | |
2901 | ||
2902 | self = self; | |
2903 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetMaxLineState",_kwnames,&_argo0)) | |
2904 | return NULL; | |
2905 | if (_argo0) { | |
2906 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2907 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
2908 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetMaxLineState. Expected _wxStyledTextCtrl_p."); | |
2909 | return NULL; | |
2910 | } | |
2911 | } | |
2912 | { | |
474c48f9 | 2913 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 2914 | _result = (int )wxStyledTextCtrl_GetMaxLineState(_arg0); |
89c8ea73 | 2915 | |
474c48f9 RD |
2916 | wxPyEndAllowThreads(__tstate); |
2917 | if (PyErr_Occurred()) return NULL; | |
89c8ea73 RD |
2918 | } _resultobj = Py_BuildValue("i",_result); |
2919 | return _resultobj; | |
2920 | } | |
2921 | ||
2922 | #define wxStyledTextCtrl_GetCaretLineVisible(_swigobj) (_swigobj->GetCaretLineVisible()) | |
2923 | static PyObject *_wrap_wxStyledTextCtrl_GetCaretLineVisible(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2924 | PyObject * _resultobj; | |
2925 | bool _result; | |
2926 | wxStyledTextCtrl * _arg0; | |
2927 | PyObject * _argo0 = 0; | |
2928 | char *_kwnames[] = { "self", NULL }; | |
2929 | ||
2930 | self = self; | |
2931 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetCaretLineVisible",_kwnames,&_argo0)) | |
2932 | return NULL; | |
2933 | if (_argo0) { | |
2934 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2935 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
2936 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetCaretLineVisible. Expected _wxStyledTextCtrl_p."); | |
2937 | return NULL; | |
2938 | } | |
2939 | } | |
2940 | { | |
474c48f9 | 2941 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 2942 | _result = (bool )wxStyledTextCtrl_GetCaretLineVisible(_arg0); |
89c8ea73 | 2943 | |
474c48f9 RD |
2944 | wxPyEndAllowThreads(__tstate); |
2945 | if (PyErr_Occurred()) return NULL; | |
89c8ea73 RD |
2946 | } _resultobj = Py_BuildValue("i",_result); |
2947 | return _resultobj; | |
2948 | } | |
2949 | ||
2950 | #define wxStyledTextCtrl_SetCaretLineVisible(_swigobj,_swigarg0) (_swigobj->SetCaretLineVisible(_swigarg0)) | |
2951 | static PyObject *_wrap_wxStyledTextCtrl_SetCaretLineVisible(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2952 | PyObject * _resultobj; | |
2953 | wxStyledTextCtrl * _arg0; | |
2954 | bool _arg1; | |
2955 | PyObject * _argo0 = 0; | |
2956 | int tempbool1; | |
2957 | char *_kwnames[] = { "self","show", NULL }; | |
2958 | ||
2959 | self = self; | |
2960 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_SetCaretLineVisible",_kwnames,&_argo0,&tempbool1)) | |
2961 | return NULL; | |
2962 | if (_argo0) { | |
2963 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2964 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
2965 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetCaretLineVisible. Expected _wxStyledTextCtrl_p."); | |
2966 | return NULL; | |
2967 | } | |
2968 | } | |
2969 | _arg1 = (bool ) tempbool1; | |
2970 | { | |
474c48f9 | 2971 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 2972 | wxStyledTextCtrl_SetCaretLineVisible(_arg0,_arg1); |
89c8ea73 | 2973 | |
474c48f9 RD |
2974 | wxPyEndAllowThreads(__tstate); |
2975 | if (PyErr_Occurred()) return NULL; | |
89c8ea73 RD |
2976 | } Py_INCREF(Py_None); |
2977 | _resultobj = Py_None; | |
2978 | return _resultobj; | |
2979 | } | |
2980 | ||
2981 | #define wxStyledTextCtrl_GetCaretLineBack(_swigobj) (_swigobj->GetCaretLineBack()) | |
2982 | static PyObject *_wrap_wxStyledTextCtrl_GetCaretLineBack(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2983 | PyObject * _resultobj; | |
2984 | wxColour * _result; | |
2985 | wxStyledTextCtrl * _arg0; | |
2986 | PyObject * _argo0 = 0; | |
2987 | char *_kwnames[] = { "self", NULL }; | |
2988 | char _ptemp[128]; | |
2989 | ||
2990 | self = self; | |
2991 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetCaretLineBack",_kwnames,&_argo0)) | |
2992 | return NULL; | |
2993 | if (_argo0) { | |
2994 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2995 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
2996 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetCaretLineBack. Expected _wxStyledTextCtrl_p."); | |
2997 | return NULL; | |
2998 | } | |
2999 | } | |
3000 | { | |
474c48f9 | 3001 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 3002 | _result = new wxColour (wxStyledTextCtrl_GetCaretLineBack(_arg0)); |
89c8ea73 | 3003 | |
474c48f9 RD |
3004 | wxPyEndAllowThreads(__tstate); |
3005 | if (PyErr_Occurred()) return NULL; | |
89c8ea73 RD |
3006 | } SWIG_MakePtr(_ptemp, (void *) _result,"_wxColour_p"); |
3007 | _resultobj = Py_BuildValue("s",_ptemp); | |
3008 | return _resultobj; | |
3009 | } | |
3010 | ||
3011 | #define wxStyledTextCtrl_SetCaretLineBack(_swigobj,_swigarg0) (_swigobj->SetCaretLineBack(_swigarg0)) | |
3012 | static PyObject *_wrap_wxStyledTextCtrl_SetCaretLineBack(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3013 | PyObject * _resultobj; | |
3014 | wxStyledTextCtrl * _arg0; | |
3015 | wxColour * _arg1; | |
3016 | PyObject * _argo0 = 0; | |
3017 | wxColour temp; | |
3018 | PyObject * _obj1 = 0; | |
3019 | char *_kwnames[] = { "self","back", NULL }; | |
3020 | ||
3021 | self = self; | |
3022 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxStyledTextCtrl_SetCaretLineBack",_kwnames,&_argo0,&_obj1)) | |
3023 | return NULL; | |
3024 | if (_argo0) { | |
3025 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3026 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
3027 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetCaretLineBack. Expected _wxStyledTextCtrl_p."); | |
3028 | return NULL; | |
3029 | } | |
3030 | } | |
3031 | { | |
3032 | _arg1 = &temp; | |
3033 | if (! wxColour_helper(_obj1, &_arg1)) | |
3034 | return NULL; | |
3035 | } | |
3036 | { | |
474c48f9 | 3037 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 3038 | wxStyledTextCtrl_SetCaretLineBack(_arg0,*_arg1); |
89c8ea73 | 3039 | |
474c48f9 RD |
3040 | wxPyEndAllowThreads(__tstate); |
3041 | if (PyErr_Occurred()) return NULL; | |
89c8ea73 RD |
3042 | } Py_INCREF(Py_None); |
3043 | _resultobj = Py_None; | |
3044 | return _resultobj; | |
3045 | } | |
3046 | ||
a884bee5 RD |
3047 | #define wxStyledTextCtrl_StyleSetChangeable(_swigobj,_swigarg0,_swigarg1) (_swigobj->StyleSetChangeable(_swigarg0,_swigarg1)) |
3048 | static PyObject *_wrap_wxStyledTextCtrl_StyleSetChangeable(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3049 | PyObject * _resultobj; | |
3050 | wxStyledTextCtrl * _arg0; | |
3051 | int _arg1; | |
3052 | bool _arg2; | |
3053 | PyObject * _argo0 = 0; | |
3054 | int tempbool2; | |
3055 | char *_kwnames[] = { "self","style","changeable", NULL }; | |
3056 | ||
3057 | self = self; | |
3058 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxStyledTextCtrl_StyleSetChangeable",_kwnames,&_argo0,&_arg1,&tempbool2)) | |
3059 | return NULL; | |
3060 | if (_argo0) { | |
3061 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3062 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
3063 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_StyleSetChangeable. Expected _wxStyledTextCtrl_p."); | |
3064 | return NULL; | |
3065 | } | |
3066 | } | |
3067 | _arg2 = (bool ) tempbool2; | |
3068 | { | |
3069 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3070 | wxStyledTextCtrl_StyleSetChangeable(_arg0,_arg1,_arg2); | |
3071 | ||
3072 | wxPyEndAllowThreads(__tstate); | |
3073 | if (PyErr_Occurred()) return NULL; | |
3074 | } Py_INCREF(Py_None); | |
3075 | _resultobj = Py_None; | |
3076 | return _resultobj; | |
3077 | } | |
3078 | ||
89c8ea73 RD |
3079 | #define wxStyledTextCtrl_AutoCompShow(_swigobj,_swigarg0,_swigarg1) (_swigobj->AutoCompShow(_swigarg0,_swigarg1)) |
3080 | static PyObject *_wrap_wxStyledTextCtrl_AutoCompShow(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3081 | PyObject * _resultobj; | |
3082 | wxStyledTextCtrl * _arg0; | |
3083 | int _arg1; | |
3084 | wxString * _arg2; | |
3085 | PyObject * _argo0 = 0; | |
3086 | PyObject * _obj2 = 0; | |
3087 | char *_kwnames[] = { "self","lenEntered","itemList", NULL }; | |
3088 | ||
3089 | self = self; | |
3090 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxStyledTextCtrl_AutoCompShow",_kwnames,&_argo0,&_arg1,&_obj2)) | |
3091 | return NULL; | |
3092 | if (_argo0) { | |
3093 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3094 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
3095 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_AutoCompShow. Expected _wxStyledTextCtrl_p."); | |
3096 | return NULL; | |
3097 | } | |
3098 | } | |
3099 | { | |
c8bc7bb8 RD |
3100 | _arg2 = wxString_in_helper(_obj2); |
3101 | if (_arg2 == NULL) | |
89c8ea73 | 3102 | return NULL; |
89c8ea73 RD |
3103 | } |
3104 | { | |
474c48f9 | 3105 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 3106 | wxStyledTextCtrl_AutoCompShow(_arg0,_arg1,*_arg2); |
89c8ea73 | 3107 | |
474c48f9 RD |
3108 | wxPyEndAllowThreads(__tstate); |
3109 | if (PyErr_Occurred()) return NULL; | |
89c8ea73 RD |
3110 | } Py_INCREF(Py_None); |
3111 | _resultobj = Py_None; | |
3112 | { | |
3113 | if (_obj2) | |
3114 | delete _arg2; | |
3115 | } | |
3116 | return _resultobj; | |
3117 | } | |
3118 | ||
3119 | #define wxStyledTextCtrl_AutoCompCancel(_swigobj) (_swigobj->AutoCompCancel()) | |
3120 | static PyObject *_wrap_wxStyledTextCtrl_AutoCompCancel(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3121 | PyObject * _resultobj; | |
3122 | wxStyledTextCtrl * _arg0; | |
3123 | PyObject * _argo0 = 0; | |
3124 | char *_kwnames[] = { "self", NULL }; | |
3125 | ||
3126 | self = self; | |
3127 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_AutoCompCancel",_kwnames,&_argo0)) | |
3128 | return NULL; | |
3129 | if (_argo0) { | |
3130 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3131 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
3132 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_AutoCompCancel. Expected _wxStyledTextCtrl_p."); | |
3133 | return NULL; | |
3134 | } | |
3135 | } | |
3136 | { | |
474c48f9 | 3137 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 3138 | wxStyledTextCtrl_AutoCompCancel(_arg0); |
89c8ea73 | 3139 | |
474c48f9 RD |
3140 | wxPyEndAllowThreads(__tstate); |
3141 | if (PyErr_Occurred()) return NULL; | |
89c8ea73 RD |
3142 | } Py_INCREF(Py_None); |
3143 | _resultobj = Py_None; | |
3144 | return _resultobj; | |
3145 | } | |
3146 | ||
3147 | #define wxStyledTextCtrl_AutoCompActive(_swigobj) (_swigobj->AutoCompActive()) | |
3148 | static PyObject *_wrap_wxStyledTextCtrl_AutoCompActive(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3149 | PyObject * _resultobj; | |
3150 | bool _result; | |
3151 | wxStyledTextCtrl * _arg0; | |
3152 | PyObject * _argo0 = 0; | |
3153 | char *_kwnames[] = { "self", NULL }; | |
3154 | ||
3155 | self = self; | |
3156 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_AutoCompActive",_kwnames,&_argo0)) | |
3157 | return NULL; | |
3158 | if (_argo0) { | |
3159 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3160 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
3161 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_AutoCompActive. Expected _wxStyledTextCtrl_p."); | |
3162 | return NULL; | |
3163 | } | |
3164 | } | |
3165 | { | |
474c48f9 | 3166 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 3167 | _result = (bool )wxStyledTextCtrl_AutoCompActive(_arg0); |
89c8ea73 | 3168 | |
474c48f9 RD |
3169 | wxPyEndAllowThreads(__tstate); |
3170 | if (PyErr_Occurred()) return NULL; | |
89c8ea73 RD |
3171 | } _resultobj = Py_BuildValue("i",_result); |
3172 | return _resultobj; | |
3173 | } | |
3174 | ||
3175 | #define wxStyledTextCtrl_AutoCompPosStart(_swigobj) (_swigobj->AutoCompPosStart()) | |
3176 | static PyObject *_wrap_wxStyledTextCtrl_AutoCompPosStart(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3177 | PyObject * _resultobj; | |
3178 | int _result; | |
3179 | wxStyledTextCtrl * _arg0; | |
3180 | PyObject * _argo0 = 0; | |
3181 | char *_kwnames[] = { "self", NULL }; | |
3182 | ||
3183 | self = self; | |
3184 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_AutoCompPosStart",_kwnames,&_argo0)) | |
3185 | return NULL; | |
3186 | if (_argo0) { | |
3187 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3188 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
3189 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_AutoCompPosStart. Expected _wxStyledTextCtrl_p."); | |
3190 | return NULL; | |
3191 | } | |
3192 | } | |
3193 | { | |
474c48f9 | 3194 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 3195 | _result = (int )wxStyledTextCtrl_AutoCompPosStart(_arg0); |
89c8ea73 | 3196 | |
474c48f9 RD |
3197 | wxPyEndAllowThreads(__tstate); |
3198 | if (PyErr_Occurred()) return NULL; | |
89c8ea73 RD |
3199 | } _resultobj = Py_BuildValue("i",_result); |
3200 | return _resultobj; | |
3201 | } | |
3202 | ||
3203 | #define wxStyledTextCtrl_AutoCompComplete(_swigobj) (_swigobj->AutoCompComplete()) | |
3204 | static PyObject *_wrap_wxStyledTextCtrl_AutoCompComplete(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3205 | PyObject * _resultobj; | |
3206 | wxStyledTextCtrl * _arg0; | |
3207 | PyObject * _argo0 = 0; | |
3208 | char *_kwnames[] = { "self", NULL }; | |
3209 | ||
3210 | self = self; | |
3211 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_AutoCompComplete",_kwnames,&_argo0)) | |
3212 | return NULL; | |
3213 | if (_argo0) { | |
3214 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3215 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
3216 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_AutoCompComplete. Expected _wxStyledTextCtrl_p."); | |
3217 | return NULL; | |
3218 | } | |
3219 | } | |
3220 | { | |
474c48f9 | 3221 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 3222 | wxStyledTextCtrl_AutoCompComplete(_arg0); |
89c8ea73 | 3223 | |
474c48f9 RD |
3224 | wxPyEndAllowThreads(__tstate); |
3225 | if (PyErr_Occurred()) return NULL; | |
89c8ea73 RD |
3226 | } Py_INCREF(Py_None); |
3227 | _resultobj = Py_None; | |
3228 | return _resultobj; | |
3229 | } | |
3230 | ||
3231 | #define wxStyledTextCtrl_AutoCompStops(_swigobj,_swigarg0) (_swigobj->AutoCompStops(_swigarg0)) | |
3232 | static PyObject *_wrap_wxStyledTextCtrl_AutoCompStops(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3233 | PyObject * _resultobj; | |
3234 | wxStyledTextCtrl * _arg0; | |
3235 | wxString * _arg1; | |
3236 | PyObject * _argo0 = 0; | |
3237 | PyObject * _obj1 = 0; | |
3238 | char *_kwnames[] = { "self","characterSet", NULL }; | |
3239 | ||
3240 | self = self; | |
3241 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxStyledTextCtrl_AutoCompStops",_kwnames,&_argo0,&_obj1)) | |
3242 | return NULL; | |
3243 | if (_argo0) { | |
3244 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3245 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
3246 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_AutoCompStops. Expected _wxStyledTextCtrl_p."); | |
3247 | return NULL; | |
3248 | } | |
3249 | } | |
3250 | { | |
c8bc7bb8 RD |
3251 | _arg1 = wxString_in_helper(_obj1); |
3252 | if (_arg1 == NULL) | |
89c8ea73 | 3253 | return NULL; |
89c8ea73 RD |
3254 | } |
3255 | { | |
474c48f9 | 3256 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 3257 | wxStyledTextCtrl_AutoCompStops(_arg0,*_arg1); |
89c8ea73 | 3258 | |
474c48f9 RD |
3259 | wxPyEndAllowThreads(__tstate); |
3260 | if (PyErr_Occurred()) return NULL; | |
89c8ea73 RD |
3261 | } Py_INCREF(Py_None); |
3262 | _resultobj = Py_None; | |
3263 | { | |
3264 | if (_obj1) | |
3265 | delete _arg1; | |
3266 | } | |
3267 | return _resultobj; | |
3268 | } | |
3269 | ||
3270 | #define wxStyledTextCtrl_AutoCompSetSeparator(_swigobj,_swigarg0) (_swigobj->AutoCompSetSeparator(_swigarg0)) | |
3271 | static PyObject *_wrap_wxStyledTextCtrl_AutoCompSetSeparator(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3272 | PyObject * _resultobj; | |
3273 | wxStyledTextCtrl * _arg0; | |
3274 | int _arg1; | |
3275 | PyObject * _argo0 = 0; | |
3276 | char *_kwnames[] = { "self","separatorCharacter", NULL }; | |
3277 | ||
3278 | self = self; | |
3279 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_AutoCompSetSeparator",_kwnames,&_argo0,&_arg1)) | |
3280 | return NULL; | |
3281 | if (_argo0) { | |
3282 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3283 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
3284 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_AutoCompSetSeparator. Expected _wxStyledTextCtrl_p."); | |
3285 | return NULL; | |
3286 | } | |
3287 | } | |
3288 | { | |
474c48f9 | 3289 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 3290 | wxStyledTextCtrl_AutoCompSetSeparator(_arg0,_arg1); |
89c8ea73 | 3291 | |
474c48f9 RD |
3292 | wxPyEndAllowThreads(__tstate); |
3293 | if (PyErr_Occurred()) return NULL; | |
89c8ea73 RD |
3294 | } Py_INCREF(Py_None); |
3295 | _resultobj = Py_None; | |
3296 | return _resultobj; | |
3297 | } | |
3298 | ||
3299 | #define wxStyledTextCtrl_AutoCompGetSeparator(_swigobj) (_swigobj->AutoCompGetSeparator()) | |
3300 | static PyObject *_wrap_wxStyledTextCtrl_AutoCompGetSeparator(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3301 | PyObject * _resultobj; | |
3302 | int _result; | |
3303 | wxStyledTextCtrl * _arg0; | |
3304 | PyObject * _argo0 = 0; | |
3305 | char *_kwnames[] = { "self", NULL }; | |
3306 | ||
3307 | self = self; | |
3308 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_AutoCompGetSeparator",_kwnames,&_argo0)) | |
3309 | return NULL; | |
3310 | if (_argo0) { | |
3311 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3312 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
3313 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_AutoCompGetSeparator. Expected _wxStyledTextCtrl_p."); | |
3314 | return NULL; | |
3315 | } | |
3316 | } | |
3317 | { | |
474c48f9 | 3318 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 3319 | _result = (int )wxStyledTextCtrl_AutoCompGetSeparator(_arg0); |
89c8ea73 | 3320 | |
474c48f9 RD |
3321 | wxPyEndAllowThreads(__tstate); |
3322 | if (PyErr_Occurred()) return NULL; | |
89c8ea73 RD |
3323 | } _resultobj = Py_BuildValue("i",_result); |
3324 | return _resultobj; | |
3325 | } | |
3326 | ||
3327 | #define wxStyledTextCtrl_AutoCompSelect(_swigobj,_swigarg0) (_swigobj->AutoCompSelect(_swigarg0)) | |
3328 | static PyObject *_wrap_wxStyledTextCtrl_AutoCompSelect(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3329 | PyObject * _resultobj; | |
3330 | wxStyledTextCtrl * _arg0; | |
3331 | wxString * _arg1; | |
3332 | PyObject * _argo0 = 0; | |
3333 | PyObject * _obj1 = 0; | |
3334 | char *_kwnames[] = { "self","text", NULL }; | |
3335 | ||
3336 | self = self; | |
3337 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxStyledTextCtrl_AutoCompSelect",_kwnames,&_argo0,&_obj1)) | |
3338 | return NULL; | |
3339 | if (_argo0) { | |
3340 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3341 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
3342 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_AutoCompSelect. Expected _wxStyledTextCtrl_p."); | |
3343 | return NULL; | |
3344 | } | |
3345 | } | |
3346 | { | |
c8bc7bb8 RD |
3347 | _arg1 = wxString_in_helper(_obj1); |
3348 | if (_arg1 == NULL) | |
89c8ea73 | 3349 | return NULL; |
89c8ea73 RD |
3350 | } |
3351 | { | |
474c48f9 | 3352 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 3353 | wxStyledTextCtrl_AutoCompSelect(_arg0,*_arg1); |
89c8ea73 | 3354 | |
474c48f9 RD |
3355 | wxPyEndAllowThreads(__tstate); |
3356 | if (PyErr_Occurred()) return NULL; | |
89c8ea73 RD |
3357 | } Py_INCREF(Py_None); |
3358 | _resultobj = Py_None; | |
3359 | { | |
3360 | if (_obj1) | |
3361 | delete _arg1; | |
3362 | } | |
3363 | return _resultobj; | |
3364 | } | |
3365 | ||
3366 | #define wxStyledTextCtrl_AutoCompSetCancelAtStart(_swigobj,_swigarg0) (_swigobj->AutoCompSetCancelAtStart(_swigarg0)) | |
3367 | static PyObject *_wrap_wxStyledTextCtrl_AutoCompSetCancelAtStart(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3368 | PyObject * _resultobj; | |
3369 | wxStyledTextCtrl * _arg0; | |
3370 | bool _arg1; | |
3371 | PyObject * _argo0 = 0; | |
3372 | int tempbool1; | |
3373 | char *_kwnames[] = { "self","cancel", NULL }; | |
3374 | ||
3375 | self = self; | |
3376 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_AutoCompSetCancelAtStart",_kwnames,&_argo0,&tempbool1)) | |
3377 | return NULL; | |
3378 | if (_argo0) { | |
3379 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3380 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
3381 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_AutoCompSetCancelAtStart. Expected _wxStyledTextCtrl_p."); | |
3382 | return NULL; | |
3383 | } | |
3384 | } | |
3385 | _arg1 = (bool ) tempbool1; | |
3386 | { | |
474c48f9 | 3387 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 3388 | wxStyledTextCtrl_AutoCompSetCancelAtStart(_arg0,_arg1); |
89c8ea73 | 3389 | |
474c48f9 RD |
3390 | wxPyEndAllowThreads(__tstate); |
3391 | if (PyErr_Occurred()) return NULL; | |
89c8ea73 RD |
3392 | } Py_INCREF(Py_None); |
3393 | _resultobj = Py_None; | |
3394 | return _resultobj; | |
3395 | } | |
3396 | ||
3397 | #define wxStyledTextCtrl_AutoCompGetCancelAtStart(_swigobj) (_swigobj->AutoCompGetCancelAtStart()) | |
3398 | static PyObject *_wrap_wxStyledTextCtrl_AutoCompGetCancelAtStart(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3399 | PyObject * _resultobj; | |
3400 | bool _result; | |
3401 | wxStyledTextCtrl * _arg0; | |
3402 | PyObject * _argo0 = 0; | |
3403 | char *_kwnames[] = { "self", NULL }; | |
3404 | ||
3405 | self = self; | |
3406 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_AutoCompGetCancelAtStart",_kwnames,&_argo0)) | |
3407 | return NULL; | |
3408 | if (_argo0) { | |
3409 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3410 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
3411 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_AutoCompGetCancelAtStart. Expected _wxStyledTextCtrl_p."); | |
3412 | return NULL; | |
3413 | } | |
3414 | } | |
3415 | { | |
474c48f9 | 3416 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 3417 | _result = (bool )wxStyledTextCtrl_AutoCompGetCancelAtStart(_arg0); |
89c8ea73 | 3418 | |
474c48f9 RD |
3419 | wxPyEndAllowThreads(__tstate); |
3420 | if (PyErr_Occurred()) return NULL; | |
89c8ea73 RD |
3421 | } _resultobj = Py_BuildValue("i",_result); |
3422 | return _resultobj; | |
3423 | } | |
3424 | ||
3425 | #define wxStyledTextCtrl_AutoCompSetFillUps(_swigobj,_swigarg0) (_swigobj->AutoCompSetFillUps(_swigarg0)) | |
3426 | static PyObject *_wrap_wxStyledTextCtrl_AutoCompSetFillUps(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3427 | PyObject * _resultobj; | |
3428 | wxStyledTextCtrl * _arg0; | |
3429 | wxString * _arg1; | |
3430 | PyObject * _argo0 = 0; | |
3431 | PyObject * _obj1 = 0; | |
3432 | char *_kwnames[] = { "self","characterSet", NULL }; | |
3433 | ||
3434 | self = self; | |
3435 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxStyledTextCtrl_AutoCompSetFillUps",_kwnames,&_argo0,&_obj1)) | |
3436 | return NULL; | |
3437 | if (_argo0) { | |
3438 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3439 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
3440 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_AutoCompSetFillUps. Expected _wxStyledTextCtrl_p."); | |
3441 | return NULL; | |
3442 | } | |
3443 | } | |
3444 | { | |
c8bc7bb8 RD |
3445 | _arg1 = wxString_in_helper(_obj1); |
3446 | if (_arg1 == NULL) | |
89c8ea73 | 3447 | return NULL; |
89c8ea73 RD |
3448 | } |
3449 | { | |
474c48f9 | 3450 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 3451 | wxStyledTextCtrl_AutoCompSetFillUps(_arg0,*_arg1); |
89c8ea73 | 3452 | |
474c48f9 RD |
3453 | wxPyEndAllowThreads(__tstate); |
3454 | if (PyErr_Occurred()) return NULL; | |
89c8ea73 RD |
3455 | } Py_INCREF(Py_None); |
3456 | _resultobj = Py_None; | |
3457 | { | |
3458 | if (_obj1) | |
3459 | delete _arg1; | |
3460 | } | |
3461 | return _resultobj; | |
3462 | } | |
3463 | ||
3464 | #define wxStyledTextCtrl_AutoCompSetChooseSingle(_swigobj,_swigarg0) (_swigobj->AutoCompSetChooseSingle(_swigarg0)) | |
3465 | static PyObject *_wrap_wxStyledTextCtrl_AutoCompSetChooseSingle(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3466 | PyObject * _resultobj; | |
3467 | wxStyledTextCtrl * _arg0; | |
3468 | bool _arg1; | |
3469 | PyObject * _argo0 = 0; | |
3470 | int tempbool1; | |
3471 | char *_kwnames[] = { "self","chooseSingle", NULL }; | |
3472 | ||
3473 | self = self; | |
3474 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_AutoCompSetChooseSingle",_kwnames,&_argo0,&tempbool1)) | |
3475 | return NULL; | |
3476 | if (_argo0) { | |
3477 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3478 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
3479 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_AutoCompSetChooseSingle. Expected _wxStyledTextCtrl_p."); | |
3480 | return NULL; | |
3481 | } | |
3482 | } | |
3483 | _arg1 = (bool ) tempbool1; | |
3484 | { | |
474c48f9 | 3485 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 3486 | wxStyledTextCtrl_AutoCompSetChooseSingle(_arg0,_arg1); |
89c8ea73 | 3487 | |
474c48f9 RD |
3488 | wxPyEndAllowThreads(__tstate); |
3489 | if (PyErr_Occurred()) return NULL; | |
89c8ea73 RD |
3490 | } Py_INCREF(Py_None); |
3491 | _resultobj = Py_None; | |
3492 | return _resultobj; | |
3493 | } | |
3494 | ||
3495 | #define wxStyledTextCtrl_AutoCompGetChooseSingle(_swigobj) (_swigobj->AutoCompGetChooseSingle()) | |
3496 | static PyObject *_wrap_wxStyledTextCtrl_AutoCompGetChooseSingle(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3497 | PyObject * _resultobj; | |
3498 | bool _result; | |
3499 | wxStyledTextCtrl * _arg0; | |
3500 | PyObject * _argo0 = 0; | |
3501 | char *_kwnames[] = { "self", NULL }; | |
3502 | ||
3503 | self = self; | |
3504 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_AutoCompGetChooseSingle",_kwnames,&_argo0)) | |
3505 | return NULL; | |
3506 | if (_argo0) { | |
3507 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3508 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
3509 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_AutoCompGetChooseSingle. Expected _wxStyledTextCtrl_p."); | |
3510 | return NULL; | |
3511 | } | |
3512 | } | |
3513 | { | |
474c48f9 | 3514 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 3515 | _result = (bool )wxStyledTextCtrl_AutoCompGetChooseSingle(_arg0); |
89c8ea73 | 3516 | |
474c48f9 RD |
3517 | wxPyEndAllowThreads(__tstate); |
3518 | if (PyErr_Occurred()) return NULL; | |
89c8ea73 RD |
3519 | } _resultobj = Py_BuildValue("i",_result); |
3520 | return _resultobj; | |
3521 | } | |
3522 | ||
3523 | #define wxStyledTextCtrl_AutoCompSetIgnoreCase(_swigobj,_swigarg0) (_swigobj->AutoCompSetIgnoreCase(_swigarg0)) | |
3524 | static PyObject *_wrap_wxStyledTextCtrl_AutoCompSetIgnoreCase(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3525 | PyObject * _resultobj; | |
3526 | wxStyledTextCtrl * _arg0; | |
3527 | bool _arg1; | |
3528 | PyObject * _argo0 = 0; | |
3529 | int tempbool1; | |
3530 | char *_kwnames[] = { "self","ignoreCase", NULL }; | |
3531 | ||
3532 | self = self; | |
3533 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_AutoCompSetIgnoreCase",_kwnames,&_argo0,&tempbool1)) | |
3534 | return NULL; | |
3535 | if (_argo0) { | |
3536 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3537 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
3538 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_AutoCompSetIgnoreCase. Expected _wxStyledTextCtrl_p."); | |
3539 | return NULL; | |
3540 | } | |
3541 | } | |
3542 | _arg1 = (bool ) tempbool1; | |
3543 | { | |
474c48f9 | 3544 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 3545 | wxStyledTextCtrl_AutoCompSetIgnoreCase(_arg0,_arg1); |
89c8ea73 | 3546 | |
474c48f9 RD |
3547 | wxPyEndAllowThreads(__tstate); |
3548 | if (PyErr_Occurred()) return NULL; | |
89c8ea73 RD |
3549 | } Py_INCREF(Py_None); |
3550 | _resultobj = Py_None; | |
3551 | return _resultobj; | |
3552 | } | |
3553 | ||
3554 | #define wxStyledTextCtrl_AutoCompGetIgnoreCase(_swigobj) (_swigobj->AutoCompGetIgnoreCase()) | |
3555 | static PyObject *_wrap_wxStyledTextCtrl_AutoCompGetIgnoreCase(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3556 | PyObject * _resultobj; | |
3557 | bool _result; | |
3558 | wxStyledTextCtrl * _arg0; | |
3559 | PyObject * _argo0 = 0; | |
3560 | char *_kwnames[] = { "self", NULL }; | |
3561 | ||
3562 | self = self; | |
3563 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_AutoCompGetIgnoreCase",_kwnames,&_argo0)) | |
3564 | return NULL; | |
3565 | if (_argo0) { | |
3566 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3567 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
3568 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_AutoCompGetIgnoreCase. Expected _wxStyledTextCtrl_p."); | |
3569 | return NULL; | |
3570 | } | |
3571 | } | |
3572 | { | |
474c48f9 | 3573 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 3574 | _result = (bool )wxStyledTextCtrl_AutoCompGetIgnoreCase(_arg0); |
89c8ea73 | 3575 | |
474c48f9 RD |
3576 | wxPyEndAllowThreads(__tstate); |
3577 | if (PyErr_Occurred()) return NULL; | |
89c8ea73 RD |
3578 | } _resultobj = Py_BuildValue("i",_result); |
3579 | return _resultobj; | |
3580 | } | |
3581 | ||
3582 | #define wxStyledTextCtrl_UserListShow(_swigobj,_swigarg0,_swigarg1) (_swigobj->UserListShow(_swigarg0,_swigarg1)) | |
3583 | static PyObject *_wrap_wxStyledTextCtrl_UserListShow(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3584 | PyObject * _resultobj; | |
3585 | wxStyledTextCtrl * _arg0; | |
3586 | int _arg1; | |
3587 | wxString * _arg2; | |
3588 | PyObject * _argo0 = 0; | |
3589 | PyObject * _obj2 = 0; | |
3590 | char *_kwnames[] = { "self","listType","itemList", NULL }; | |
3591 | ||
3592 | self = self; | |
3593 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxStyledTextCtrl_UserListShow",_kwnames,&_argo0,&_arg1,&_obj2)) | |
3594 | return NULL; | |
3595 | if (_argo0) { | |
3596 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3597 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
3598 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_UserListShow. Expected _wxStyledTextCtrl_p."); | |
3599 | return NULL; | |
3600 | } | |
3601 | } | |
3602 | { | |
c8bc7bb8 RD |
3603 | _arg2 = wxString_in_helper(_obj2); |
3604 | if (_arg2 == NULL) | |
89c8ea73 | 3605 | return NULL; |
89c8ea73 RD |
3606 | } |
3607 | { | |
474c48f9 | 3608 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 3609 | wxStyledTextCtrl_UserListShow(_arg0,_arg1,*_arg2); |
89c8ea73 | 3610 | |
474c48f9 RD |
3611 | wxPyEndAllowThreads(__tstate); |
3612 | if (PyErr_Occurred()) return NULL; | |
89c8ea73 RD |
3613 | } Py_INCREF(Py_None); |
3614 | _resultobj = Py_None; | |
3615 | { | |
3616 | if (_obj2) | |
3617 | delete _arg2; | |
3618 | } | |
3619 | return _resultobj; | |
3620 | } | |
3621 | ||
3622 | #define wxStyledTextCtrl_AutoCompSetAutoHide(_swigobj,_swigarg0) (_swigobj->AutoCompSetAutoHide(_swigarg0)) | |
3623 | static PyObject *_wrap_wxStyledTextCtrl_AutoCompSetAutoHide(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3624 | PyObject * _resultobj; | |
3625 | wxStyledTextCtrl * _arg0; | |
3626 | bool _arg1; | |
3627 | PyObject * _argo0 = 0; | |
3628 | int tempbool1; | |
3629 | char *_kwnames[] = { "self","autoHide", NULL }; | |
3630 | ||
3631 | self = self; | |
3632 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_AutoCompSetAutoHide",_kwnames,&_argo0,&tempbool1)) | |
3633 | return NULL; | |
3634 | if (_argo0) { | |
3635 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3636 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
3637 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_AutoCompSetAutoHide. Expected _wxStyledTextCtrl_p."); | |
3638 | return NULL; | |
3639 | } | |
3640 | } | |
3641 | _arg1 = (bool ) tempbool1; | |
3642 | { | |
474c48f9 | 3643 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 3644 | wxStyledTextCtrl_AutoCompSetAutoHide(_arg0,_arg1); |
89c8ea73 | 3645 | |
474c48f9 RD |
3646 | wxPyEndAllowThreads(__tstate); |
3647 | if (PyErr_Occurred()) return NULL; | |
89c8ea73 RD |
3648 | } Py_INCREF(Py_None); |
3649 | _resultobj = Py_None; | |
3650 | return _resultobj; | |
3651 | } | |
3652 | ||
3653 | #define wxStyledTextCtrl_AutoCompGetAutoHide(_swigobj) (_swigobj->AutoCompGetAutoHide()) | |
3654 | static PyObject *_wrap_wxStyledTextCtrl_AutoCompGetAutoHide(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3655 | PyObject * _resultobj; | |
3656 | bool _result; | |
3657 | wxStyledTextCtrl * _arg0; | |
3658 | PyObject * _argo0 = 0; | |
3659 | char *_kwnames[] = { "self", NULL }; | |
3660 | ||
3661 | self = self; | |
3662 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_AutoCompGetAutoHide",_kwnames,&_argo0)) | |
3663 | return NULL; | |
3664 | if (_argo0) { | |
3665 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3666 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
3667 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_AutoCompGetAutoHide. Expected _wxStyledTextCtrl_p."); | |
3668 | return NULL; | |
3669 | } | |
3670 | } | |
3671 | { | |
474c48f9 | 3672 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 3673 | _result = (bool )wxStyledTextCtrl_AutoCompGetAutoHide(_arg0); |
89c8ea73 | 3674 | |
474c48f9 RD |
3675 | wxPyEndAllowThreads(__tstate); |
3676 | if (PyErr_Occurred()) return NULL; | |
89c8ea73 RD |
3677 | } _resultobj = Py_BuildValue("i",_result); |
3678 | return _resultobj; | |
3679 | } | |
3680 | ||
a884bee5 RD |
3681 | #define wxStyledTextCtrl_AutoCompSetDropRestOfWord(_swigobj,_swigarg0) (_swigobj->AutoCompSetDropRestOfWord(_swigarg0)) |
3682 | static PyObject *_wrap_wxStyledTextCtrl_AutoCompSetDropRestOfWord(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3683 | PyObject * _resultobj; | |
3684 | wxStyledTextCtrl * _arg0; | |
3685 | bool _arg1; | |
3686 | PyObject * _argo0 = 0; | |
3687 | int tempbool1; | |
3688 | char *_kwnames[] = { "self","dropRestOfWord", NULL }; | |
3689 | ||
3690 | self = self; | |
3691 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_AutoCompSetDropRestOfWord",_kwnames,&_argo0,&tempbool1)) | |
3692 | return NULL; | |
3693 | if (_argo0) { | |
3694 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3695 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
3696 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_AutoCompSetDropRestOfWord. Expected _wxStyledTextCtrl_p."); | |
3697 | return NULL; | |
3698 | } | |
3699 | } | |
3700 | _arg1 = (bool ) tempbool1; | |
3701 | { | |
3702 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3703 | wxStyledTextCtrl_AutoCompSetDropRestOfWord(_arg0,_arg1); | |
3704 | ||
3705 | wxPyEndAllowThreads(__tstate); | |
3706 | if (PyErr_Occurred()) return NULL; | |
3707 | } Py_INCREF(Py_None); | |
3708 | _resultobj = Py_None; | |
3709 | return _resultobj; | |
3710 | } | |
3711 | ||
3712 | #define wxStyledTextCtrl_AutoCompGetDropRestOfWord(_swigobj) (_swigobj->AutoCompGetDropRestOfWord()) | |
3713 | static PyObject *_wrap_wxStyledTextCtrl_AutoCompGetDropRestOfWord(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3714 | PyObject * _resultobj; | |
3715 | bool _result; | |
3716 | wxStyledTextCtrl * _arg0; | |
3717 | PyObject * _argo0 = 0; | |
3718 | char *_kwnames[] = { "self", NULL }; | |
3719 | ||
3720 | self = self; | |
3721 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_AutoCompGetDropRestOfWord",_kwnames,&_argo0)) | |
3722 | return NULL; | |
3723 | if (_argo0) { | |
3724 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3725 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
3726 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_AutoCompGetDropRestOfWord. Expected _wxStyledTextCtrl_p."); | |
3727 | return NULL; | |
3728 | } | |
3729 | } | |
3730 | { | |
3731 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3732 | _result = (bool )wxStyledTextCtrl_AutoCompGetDropRestOfWord(_arg0); | |
3733 | ||
3734 | wxPyEndAllowThreads(__tstate); | |
3735 | if (PyErr_Occurred()) return NULL; | |
3736 | } _resultobj = Py_BuildValue("i",_result); | |
3737 | return _resultobj; | |
3738 | } | |
3739 | ||
89c8ea73 RD |
3740 | #define wxStyledTextCtrl_SetIndent(_swigobj,_swigarg0) (_swigobj->SetIndent(_swigarg0)) |
3741 | static PyObject *_wrap_wxStyledTextCtrl_SetIndent(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3742 | PyObject * _resultobj; | |
3743 | wxStyledTextCtrl * _arg0; | |
3744 | int _arg1; | |
3745 | PyObject * _argo0 = 0; | |
3746 | char *_kwnames[] = { "self","indentSize", NULL }; | |
3747 | ||
3748 | self = self; | |
3749 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_SetIndent",_kwnames,&_argo0,&_arg1)) | |
3750 | return NULL; | |
3751 | if (_argo0) { | |
3752 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3753 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
3754 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetIndent. Expected _wxStyledTextCtrl_p."); | |
3755 | return NULL; | |
3756 | } | |
3757 | } | |
3758 | { | |
474c48f9 | 3759 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 3760 | wxStyledTextCtrl_SetIndent(_arg0,_arg1); |
89c8ea73 | 3761 | |
474c48f9 RD |
3762 | wxPyEndAllowThreads(__tstate); |
3763 | if (PyErr_Occurred()) return NULL; | |
89c8ea73 RD |
3764 | } Py_INCREF(Py_None); |
3765 | _resultobj = Py_None; | |
3766 | return _resultobj; | |
3767 | } | |
3768 | ||
3769 | #define wxStyledTextCtrl_GetIndent(_swigobj) (_swigobj->GetIndent()) | |
3770 | static PyObject *_wrap_wxStyledTextCtrl_GetIndent(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3771 | PyObject * _resultobj; | |
3772 | int _result; | |
3773 | wxStyledTextCtrl * _arg0; | |
3774 | PyObject * _argo0 = 0; | |
3775 | char *_kwnames[] = { "self", NULL }; | |
3776 | ||
3777 | self = self; | |
3778 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetIndent",_kwnames,&_argo0)) | |
3779 | return NULL; | |
3780 | if (_argo0) { | |
3781 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3782 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
3783 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetIndent. Expected _wxStyledTextCtrl_p."); | |
3784 | return NULL; | |
3785 | } | |
3786 | } | |
3787 | { | |
474c48f9 | 3788 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 3789 | _result = (int )wxStyledTextCtrl_GetIndent(_arg0); |
89c8ea73 | 3790 | |
474c48f9 RD |
3791 | wxPyEndAllowThreads(__tstate); |
3792 | if (PyErr_Occurred()) return NULL; | |
89c8ea73 RD |
3793 | } _resultobj = Py_BuildValue("i",_result); |
3794 | return _resultobj; | |
3795 | } | |
3796 | ||
3797 | #define wxStyledTextCtrl_SetUseTabs(_swigobj,_swigarg0) (_swigobj->SetUseTabs(_swigarg0)) | |
3798 | static PyObject *_wrap_wxStyledTextCtrl_SetUseTabs(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3799 | PyObject * _resultobj; | |
3800 | wxStyledTextCtrl * _arg0; | |
3801 | bool _arg1; | |
3802 | PyObject * _argo0 = 0; | |
3803 | int tempbool1; | |
3804 | char *_kwnames[] = { "self","useTabs", NULL }; | |
3805 | ||
3806 | self = self; | |
3807 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_SetUseTabs",_kwnames,&_argo0,&tempbool1)) | |
3808 | return NULL; | |
3809 | if (_argo0) { | |
3810 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3811 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
3812 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetUseTabs. Expected _wxStyledTextCtrl_p."); | |
3813 | return NULL; | |
3814 | } | |
3815 | } | |
3816 | _arg1 = (bool ) tempbool1; | |
3817 | { | |
474c48f9 | 3818 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 3819 | wxStyledTextCtrl_SetUseTabs(_arg0,_arg1); |
89c8ea73 | 3820 | |
474c48f9 RD |
3821 | wxPyEndAllowThreads(__tstate); |
3822 | if (PyErr_Occurred()) return NULL; | |
89c8ea73 RD |
3823 | } Py_INCREF(Py_None); |
3824 | _resultobj = Py_None; | |
3825 | return _resultobj; | |
3826 | } | |
3827 | ||
3828 | #define wxStyledTextCtrl_GetUseTabs(_swigobj) (_swigobj->GetUseTabs()) | |
3829 | static PyObject *_wrap_wxStyledTextCtrl_GetUseTabs(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3830 | PyObject * _resultobj; | |
3831 | bool _result; | |
3832 | wxStyledTextCtrl * _arg0; | |
3833 | PyObject * _argo0 = 0; | |
3834 | char *_kwnames[] = { "self", NULL }; | |
3835 | ||
3836 | self = self; | |
3837 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetUseTabs",_kwnames,&_argo0)) | |
3838 | return NULL; | |
3839 | if (_argo0) { | |
3840 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3841 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
3842 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetUseTabs. Expected _wxStyledTextCtrl_p."); | |
3843 | return NULL; | |
3844 | } | |
3845 | } | |
3846 | { | |
474c48f9 | 3847 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 3848 | _result = (bool )wxStyledTextCtrl_GetUseTabs(_arg0); |
89c8ea73 | 3849 | |
474c48f9 RD |
3850 | wxPyEndAllowThreads(__tstate); |
3851 | if (PyErr_Occurred()) return NULL; | |
89c8ea73 RD |
3852 | } _resultobj = Py_BuildValue("i",_result); |
3853 | return _resultobj; | |
3854 | } | |
3855 | ||
3856 | #define wxStyledTextCtrl_SetLineIndentation(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetLineIndentation(_swigarg0,_swigarg1)) | |
3857 | static PyObject *_wrap_wxStyledTextCtrl_SetLineIndentation(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3858 | PyObject * _resultobj; | |
3859 | wxStyledTextCtrl * _arg0; | |
3860 | int _arg1; | |
3861 | int _arg2; | |
3862 | PyObject * _argo0 = 0; | |
3863 | char *_kwnames[] = { "self","line","indentSize", NULL }; | |
3864 | ||
3865 | self = self; | |
3866 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxStyledTextCtrl_SetLineIndentation",_kwnames,&_argo0,&_arg1,&_arg2)) | |
3867 | return NULL; | |
3868 | if (_argo0) { | |
3869 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3870 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
3871 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetLineIndentation. Expected _wxStyledTextCtrl_p."); | |
3872 | return NULL; | |
3873 | } | |
3874 | } | |
3875 | { | |
474c48f9 | 3876 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 3877 | wxStyledTextCtrl_SetLineIndentation(_arg0,_arg1,_arg2); |
89c8ea73 | 3878 | |
474c48f9 RD |
3879 | wxPyEndAllowThreads(__tstate); |
3880 | if (PyErr_Occurred()) return NULL; | |
89c8ea73 RD |
3881 | } Py_INCREF(Py_None); |
3882 | _resultobj = Py_None; | |
3883 | return _resultobj; | |
3884 | } | |
3885 | ||
3886 | #define wxStyledTextCtrl_GetLineIndentation(_swigobj,_swigarg0) (_swigobj->GetLineIndentation(_swigarg0)) | |
3887 | static PyObject *_wrap_wxStyledTextCtrl_GetLineIndentation(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3888 | PyObject * _resultobj; | |
3889 | int _result; | |
3890 | wxStyledTextCtrl * _arg0; | |
3891 | int _arg1; | |
3892 | PyObject * _argo0 = 0; | |
3893 | char *_kwnames[] = { "self","line", NULL }; | |
3894 | ||
3895 | self = self; | |
3896 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_GetLineIndentation",_kwnames,&_argo0,&_arg1)) | |
3897 | return NULL; | |
3898 | if (_argo0) { | |
3899 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3900 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
3901 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetLineIndentation. Expected _wxStyledTextCtrl_p."); | |
3902 | return NULL; | |
3903 | } | |
3904 | } | |
3905 | { | |
474c48f9 | 3906 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 3907 | _result = (int )wxStyledTextCtrl_GetLineIndentation(_arg0,_arg1); |
89c8ea73 | 3908 | |
474c48f9 RD |
3909 | wxPyEndAllowThreads(__tstate); |
3910 | if (PyErr_Occurred()) return NULL; | |
89c8ea73 RD |
3911 | } _resultobj = Py_BuildValue("i",_result); |
3912 | return _resultobj; | |
3913 | } | |
3914 | ||
3915 | #define wxStyledTextCtrl_GetLineIndentPosition(_swigobj,_swigarg0) (_swigobj->GetLineIndentPosition(_swigarg0)) | |
3916 | static PyObject *_wrap_wxStyledTextCtrl_GetLineIndentPosition(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3917 | PyObject * _resultobj; | |
3918 | int _result; | |
3919 | wxStyledTextCtrl * _arg0; | |
3920 | int _arg1; | |
3921 | PyObject * _argo0 = 0; | |
3922 | char *_kwnames[] = { "self","line", NULL }; | |
3923 | ||
3924 | self = self; | |
3925 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_GetLineIndentPosition",_kwnames,&_argo0,&_arg1)) | |
3926 | return NULL; | |
3927 | if (_argo0) { | |
3928 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3929 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
3930 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetLineIndentPosition. Expected _wxStyledTextCtrl_p."); | |
3931 | return NULL; | |
3932 | } | |
3933 | } | |
3934 | { | |
474c48f9 | 3935 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 3936 | _result = (int )wxStyledTextCtrl_GetLineIndentPosition(_arg0,_arg1); |
89c8ea73 | 3937 | |
474c48f9 RD |
3938 | wxPyEndAllowThreads(__tstate); |
3939 | if (PyErr_Occurred()) return NULL; | |
89c8ea73 RD |
3940 | } _resultobj = Py_BuildValue("i",_result); |
3941 | return _resultobj; | |
3942 | } | |
3943 | ||
3944 | #define wxStyledTextCtrl_GetColumn(_swigobj,_swigarg0) (_swigobj->GetColumn(_swigarg0)) | |
3945 | static PyObject *_wrap_wxStyledTextCtrl_GetColumn(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3946 | PyObject * _resultobj; | |
3947 | int _result; | |
3948 | wxStyledTextCtrl * _arg0; | |
3949 | int _arg1; | |
3950 | PyObject * _argo0 = 0; | |
3951 | char *_kwnames[] = { "self","pos", NULL }; | |
3952 | ||
3953 | self = self; | |
3954 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_GetColumn",_kwnames,&_argo0,&_arg1)) | |
3955 | return NULL; | |
3956 | if (_argo0) { | |
3957 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3958 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
3959 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetColumn. Expected _wxStyledTextCtrl_p."); | |
3960 | return NULL; | |
3961 | } | |
3962 | } | |
3963 | { | |
474c48f9 | 3964 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 3965 | _result = (int )wxStyledTextCtrl_GetColumn(_arg0,_arg1); |
89c8ea73 | 3966 | |
474c48f9 RD |
3967 | wxPyEndAllowThreads(__tstate); |
3968 | if (PyErr_Occurred()) return NULL; | |
89c8ea73 RD |
3969 | } _resultobj = Py_BuildValue("i",_result); |
3970 | return _resultobj; | |
3971 | } | |
3972 | ||
3973 | #define wxStyledTextCtrl_SetUseHorizontalScrollBar(_swigobj,_swigarg0) (_swigobj->SetUseHorizontalScrollBar(_swigarg0)) | |
3974 | static PyObject *_wrap_wxStyledTextCtrl_SetUseHorizontalScrollBar(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3975 | PyObject * _resultobj; | |
3976 | wxStyledTextCtrl * _arg0; | |
3977 | bool _arg1; | |
3978 | PyObject * _argo0 = 0; | |
3979 | int tempbool1; | |
3980 | char *_kwnames[] = { "self","show", NULL }; | |
3981 | ||
3982 | self = self; | |
3983 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_SetUseHorizontalScrollBar",_kwnames,&_argo0,&tempbool1)) | |
3984 | return NULL; | |
3985 | if (_argo0) { | |
3986 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3987 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
3988 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetUseHorizontalScrollBar. Expected _wxStyledTextCtrl_p."); | |
3989 | return NULL; | |
3990 | } | |
3991 | } | |
3992 | _arg1 = (bool ) tempbool1; | |
3993 | { | |
474c48f9 | 3994 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 3995 | wxStyledTextCtrl_SetUseHorizontalScrollBar(_arg0,_arg1); |
89c8ea73 | 3996 | |
474c48f9 RD |
3997 | wxPyEndAllowThreads(__tstate); |
3998 | if (PyErr_Occurred()) return NULL; | |
89c8ea73 RD |
3999 | } Py_INCREF(Py_None); |
4000 | _resultobj = Py_None; | |
4001 | return _resultobj; | |
4002 | } | |
4003 | ||
4004 | #define wxStyledTextCtrl_GetUseHorizontalScrollBar(_swigobj) (_swigobj->GetUseHorizontalScrollBar()) | |
4005 | static PyObject *_wrap_wxStyledTextCtrl_GetUseHorizontalScrollBar(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4006 | PyObject * _resultobj; | |
4007 | bool _result; | |
4008 | wxStyledTextCtrl * _arg0; | |
4009 | PyObject * _argo0 = 0; | |
4010 | char *_kwnames[] = { "self", NULL }; | |
4011 | ||
4012 | self = self; | |
4013 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetUseHorizontalScrollBar",_kwnames,&_argo0)) | |
4014 | return NULL; | |
4015 | if (_argo0) { | |
4016 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4017 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
4018 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetUseHorizontalScrollBar. Expected _wxStyledTextCtrl_p."); | |
4019 | return NULL; | |
4020 | } | |
4021 | } | |
4022 | { | |
474c48f9 | 4023 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 4024 | _result = (bool )wxStyledTextCtrl_GetUseHorizontalScrollBar(_arg0); |
89c8ea73 | 4025 | |
474c48f9 RD |
4026 | wxPyEndAllowThreads(__tstate); |
4027 | if (PyErr_Occurred()) return NULL; | |
89c8ea73 RD |
4028 | } _resultobj = Py_BuildValue("i",_result); |
4029 | return _resultobj; | |
4030 | } | |
4031 | ||
4032 | #define wxStyledTextCtrl_SetIndentationGuides(_swigobj,_swigarg0) (_swigobj->SetIndentationGuides(_swigarg0)) | |
4033 | static PyObject *_wrap_wxStyledTextCtrl_SetIndentationGuides(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4034 | PyObject * _resultobj; | |
4035 | wxStyledTextCtrl * _arg0; | |
4036 | bool _arg1; | |
4037 | PyObject * _argo0 = 0; | |
4038 | int tempbool1; | |
4039 | char *_kwnames[] = { "self","show", NULL }; | |
4040 | ||
4041 | self = self; | |
4042 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_SetIndentationGuides",_kwnames,&_argo0,&tempbool1)) | |
4043 | return NULL; | |
4044 | if (_argo0) { | |
4045 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4046 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
4047 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetIndentationGuides. Expected _wxStyledTextCtrl_p."); | |
4048 | return NULL; | |
4049 | } | |
4050 | } | |
4051 | _arg1 = (bool ) tempbool1; | |
4052 | { | |
474c48f9 | 4053 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 4054 | wxStyledTextCtrl_SetIndentationGuides(_arg0,_arg1); |
89c8ea73 | 4055 | |
474c48f9 RD |
4056 | wxPyEndAllowThreads(__tstate); |
4057 | if (PyErr_Occurred()) return NULL; | |
89c8ea73 RD |
4058 | } Py_INCREF(Py_None); |
4059 | _resultobj = Py_None; | |
4060 | return _resultobj; | |
4061 | } | |
4062 | ||
4063 | #define wxStyledTextCtrl_GetIndentationGuides(_swigobj) (_swigobj->GetIndentationGuides()) | |
4064 | static PyObject *_wrap_wxStyledTextCtrl_GetIndentationGuides(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4065 | PyObject * _resultobj; | |
4066 | bool _result; | |
4067 | wxStyledTextCtrl * _arg0; | |
4068 | PyObject * _argo0 = 0; | |
4069 | char *_kwnames[] = { "self", NULL }; | |
4070 | ||
4071 | self = self; | |
4072 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetIndentationGuides",_kwnames,&_argo0)) | |
4073 | return NULL; | |
4074 | if (_argo0) { | |
4075 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4076 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
4077 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetIndentationGuides. Expected _wxStyledTextCtrl_p."); | |
4078 | return NULL; | |
4079 | } | |
4080 | } | |
4081 | { | |
474c48f9 | 4082 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 4083 | _result = (bool )wxStyledTextCtrl_GetIndentationGuides(_arg0); |
89c8ea73 | 4084 | |
474c48f9 RD |
4085 | wxPyEndAllowThreads(__tstate); |
4086 | if (PyErr_Occurred()) return NULL; | |
89c8ea73 RD |
4087 | } _resultobj = Py_BuildValue("i",_result); |
4088 | return _resultobj; | |
4089 | } | |
4090 | ||
4091 | #define wxStyledTextCtrl_SetHighlightGuide(_swigobj,_swigarg0) (_swigobj->SetHighlightGuide(_swigarg0)) | |
4092 | static PyObject *_wrap_wxStyledTextCtrl_SetHighlightGuide(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4093 | PyObject * _resultobj; | |
4094 | wxStyledTextCtrl * _arg0; | |
4095 | int _arg1; | |
4096 | PyObject * _argo0 = 0; | |
4097 | char *_kwnames[] = { "self","column", NULL }; | |
4098 | ||
4099 | self = self; | |
4100 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_SetHighlightGuide",_kwnames,&_argo0,&_arg1)) | |
4101 | return NULL; | |
4102 | if (_argo0) { | |
4103 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4104 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
4105 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetHighlightGuide. Expected _wxStyledTextCtrl_p."); | |
4106 | return NULL; | |
4107 | } | |
4108 | } | |
4109 | { | |
474c48f9 | 4110 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 4111 | wxStyledTextCtrl_SetHighlightGuide(_arg0,_arg1); |
89c8ea73 | 4112 | |
474c48f9 RD |
4113 | wxPyEndAllowThreads(__tstate); |
4114 | if (PyErr_Occurred()) return NULL; | |
89c8ea73 RD |
4115 | } Py_INCREF(Py_None); |
4116 | _resultobj = Py_None; | |
4117 | return _resultobj; | |
4118 | } | |
4119 | ||
4120 | #define wxStyledTextCtrl_GetHighlightGuide(_swigobj) (_swigobj->GetHighlightGuide()) | |
4121 | static PyObject *_wrap_wxStyledTextCtrl_GetHighlightGuide(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4122 | PyObject * _resultobj; | |
4123 | int _result; | |
4124 | wxStyledTextCtrl * _arg0; | |
4125 | PyObject * _argo0 = 0; | |
4126 | char *_kwnames[] = { "self", NULL }; | |
4127 | ||
4128 | self = self; | |
4129 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetHighlightGuide",_kwnames,&_argo0)) | |
4130 | return NULL; | |
4131 | if (_argo0) { | |
4132 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4133 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
4134 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetHighlightGuide. Expected _wxStyledTextCtrl_p."); | |
4135 | return NULL; | |
4136 | } | |
4137 | } | |
4138 | { | |
474c48f9 | 4139 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 4140 | _result = (int )wxStyledTextCtrl_GetHighlightGuide(_arg0); |
89c8ea73 | 4141 | |
474c48f9 RD |
4142 | wxPyEndAllowThreads(__tstate); |
4143 | if (PyErr_Occurred()) return NULL; | |
89c8ea73 RD |
4144 | } _resultobj = Py_BuildValue("i",_result); |
4145 | return _resultobj; | |
4146 | } | |
4147 | ||
4148 | #define wxStyledTextCtrl_GetLineEndPosition(_swigobj,_swigarg0) (_swigobj->GetLineEndPosition(_swigarg0)) | |
4149 | static PyObject *_wrap_wxStyledTextCtrl_GetLineEndPosition(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4150 | PyObject * _resultobj; | |
4151 | int _result; | |
4152 | wxStyledTextCtrl * _arg0; | |
4153 | int _arg1; | |
4154 | PyObject * _argo0 = 0; | |
4155 | char *_kwnames[] = { "self","line", NULL }; | |
4156 | ||
4157 | self = self; | |
4158 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_GetLineEndPosition",_kwnames,&_argo0,&_arg1)) | |
4159 | return NULL; | |
4160 | if (_argo0) { | |
4161 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4162 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
4163 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetLineEndPosition. Expected _wxStyledTextCtrl_p."); | |
4164 | return NULL; | |
4165 | } | |
4166 | } | |
4167 | { | |
474c48f9 | 4168 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 4169 | _result = (int )wxStyledTextCtrl_GetLineEndPosition(_arg0,_arg1); |
89c8ea73 | 4170 | |
474c48f9 RD |
4171 | wxPyEndAllowThreads(__tstate); |
4172 | if (PyErr_Occurred()) return NULL; | |
89c8ea73 RD |
4173 | } _resultobj = Py_BuildValue("i",_result); |
4174 | return _resultobj; | |
4175 | } | |
4176 | ||
4177 | #define wxStyledTextCtrl_GetCodePage(_swigobj) (_swigobj->GetCodePage()) | |
4178 | static PyObject *_wrap_wxStyledTextCtrl_GetCodePage(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4179 | PyObject * _resultobj; | |
4180 | int _result; | |
4181 | wxStyledTextCtrl * _arg0; | |
4182 | PyObject * _argo0 = 0; | |
4183 | char *_kwnames[] = { "self", NULL }; | |
4184 | ||
4185 | self = self; | |
4186 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetCodePage",_kwnames,&_argo0)) | |
4187 | return NULL; | |
4188 | if (_argo0) { | |
4189 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4190 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
4191 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetCodePage. Expected _wxStyledTextCtrl_p."); | |
4192 | return NULL; | |
4193 | } | |
4194 | } | |
4195 | { | |
474c48f9 | 4196 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 4197 | _result = (int )wxStyledTextCtrl_GetCodePage(_arg0); |
89c8ea73 | 4198 | |
474c48f9 RD |
4199 | wxPyEndAllowThreads(__tstate); |
4200 | if (PyErr_Occurred()) return NULL; | |
89c8ea73 RD |
4201 | } _resultobj = Py_BuildValue("i",_result); |
4202 | return _resultobj; | |
4203 | } | |
4204 | ||
4205 | #define wxStyledTextCtrl_GetCaretForeground(_swigobj) (_swigobj->GetCaretForeground()) | |
4206 | static PyObject *_wrap_wxStyledTextCtrl_GetCaretForeground(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4207 | PyObject * _resultobj; | |
4208 | wxColour * _result; | |
4209 | wxStyledTextCtrl * _arg0; | |
4210 | PyObject * _argo0 = 0; | |
4211 | char *_kwnames[] = { "self", NULL }; | |
4212 | char _ptemp[128]; | |
4213 | ||
4214 | self = self; | |
4215 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetCaretForeground",_kwnames,&_argo0)) | |
4216 | return NULL; | |
4217 | if (_argo0) { | |
4218 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4219 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
4220 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetCaretForeground. Expected _wxStyledTextCtrl_p."); | |
4221 | return NULL; | |
4222 | } | |
4223 | } | |
4224 | { | |
474c48f9 | 4225 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 4226 | _result = new wxColour (wxStyledTextCtrl_GetCaretForeground(_arg0)); |
89c8ea73 | 4227 | |
474c48f9 RD |
4228 | wxPyEndAllowThreads(__tstate); |
4229 | if (PyErr_Occurred()) return NULL; | |
89c8ea73 RD |
4230 | } SWIG_MakePtr(_ptemp, (void *) _result,"_wxColour_p"); |
4231 | _resultobj = Py_BuildValue("s",_ptemp); | |
4232 | return _resultobj; | |
4233 | } | |
4234 | ||
4235 | #define wxStyledTextCtrl_GetReadOnly(_swigobj) (_swigobj->GetReadOnly()) | |
4236 | static PyObject *_wrap_wxStyledTextCtrl_GetReadOnly(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4237 | PyObject * _resultobj; | |
4238 | bool _result; | |
4239 | wxStyledTextCtrl * _arg0; | |
4240 | PyObject * _argo0 = 0; | |
4241 | char *_kwnames[] = { "self", NULL }; | |
4242 | ||
4243 | self = self; | |
4244 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetReadOnly",_kwnames,&_argo0)) | |
4245 | return NULL; | |
4246 | if (_argo0) { | |
4247 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4248 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
4249 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetReadOnly. Expected _wxStyledTextCtrl_p."); | |
4250 | return NULL; | |
4251 | } | |
4252 | } | |
4253 | { | |
474c48f9 | 4254 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 4255 | _result = (bool )wxStyledTextCtrl_GetReadOnly(_arg0); |
89c8ea73 | 4256 | |
474c48f9 RD |
4257 | wxPyEndAllowThreads(__tstate); |
4258 | if (PyErr_Occurred()) return NULL; | |
89c8ea73 RD |
4259 | } _resultobj = Py_BuildValue("i",_result); |
4260 | return _resultobj; | |
4261 | } | |
4262 | ||
4263 | #define wxStyledTextCtrl_SetCurrentPos(_swigobj,_swigarg0) (_swigobj->SetCurrentPos(_swigarg0)) | |
4264 | static PyObject *_wrap_wxStyledTextCtrl_SetCurrentPos(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4265 | PyObject * _resultobj; | |
4266 | wxStyledTextCtrl * _arg0; | |
4267 | int _arg1; | |
4268 | PyObject * _argo0 = 0; | |
4269 | char *_kwnames[] = { "self","pos", NULL }; | |
4270 | ||
4271 | self = self; | |
4272 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_SetCurrentPos",_kwnames,&_argo0,&_arg1)) | |
4273 | return NULL; | |
4274 | if (_argo0) { | |
4275 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4276 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
4277 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetCurrentPos. Expected _wxStyledTextCtrl_p."); | |
4278 | return NULL; | |
4279 | } | |
4280 | } | |
4281 | { | |
474c48f9 | 4282 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 4283 | wxStyledTextCtrl_SetCurrentPos(_arg0,_arg1); |
89c8ea73 | 4284 | |
474c48f9 RD |
4285 | wxPyEndAllowThreads(__tstate); |
4286 | if (PyErr_Occurred()) return NULL; | |
89c8ea73 RD |
4287 | } Py_INCREF(Py_None); |
4288 | _resultobj = Py_None; | |
4289 | return _resultobj; | |
4290 | } | |
4291 | ||
4292 | #define wxStyledTextCtrl_SetSelectionStart(_swigobj,_swigarg0) (_swigobj->SetSelectionStart(_swigarg0)) | |
4293 | static PyObject *_wrap_wxStyledTextCtrl_SetSelectionStart(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4294 | PyObject * _resultobj; | |
4295 | wxStyledTextCtrl * _arg0; | |
4296 | int _arg1; | |
4297 | PyObject * _argo0 = 0; | |
4298 | char *_kwnames[] = { "self","pos", NULL }; | |
4299 | ||
4300 | self = self; | |
4301 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_SetSelectionStart",_kwnames,&_argo0,&_arg1)) | |
4302 | return NULL; | |
4303 | if (_argo0) { | |
4304 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4305 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
4306 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetSelectionStart. Expected _wxStyledTextCtrl_p."); | |
4307 | return NULL; | |
4308 | } | |
4309 | } | |
4310 | { | |
474c48f9 | 4311 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 4312 | wxStyledTextCtrl_SetSelectionStart(_arg0,_arg1); |
89c8ea73 | 4313 | |
474c48f9 RD |
4314 | wxPyEndAllowThreads(__tstate); |
4315 | if (PyErr_Occurred()) return NULL; | |
89c8ea73 RD |
4316 | } Py_INCREF(Py_None); |
4317 | _resultobj = Py_None; | |
4318 | return _resultobj; | |
4319 | } | |
4320 | ||
4321 | #define wxStyledTextCtrl_GetSelectionStart(_swigobj) (_swigobj->GetSelectionStart()) | |
4322 | static PyObject *_wrap_wxStyledTextCtrl_GetSelectionStart(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4323 | PyObject * _resultobj; | |
4324 | int _result; | |
4325 | wxStyledTextCtrl * _arg0; | |
4326 | PyObject * _argo0 = 0; | |
4327 | char *_kwnames[] = { "self", NULL }; | |
4328 | ||
4329 | self = self; | |
4330 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetSelectionStart",_kwnames,&_argo0)) | |
4331 | return NULL; | |
4332 | if (_argo0) { | |
4333 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4334 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
4335 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetSelectionStart. Expected _wxStyledTextCtrl_p."); | |
4336 | return NULL; | |
4337 | } | |
4338 | } | |
4339 | { | |
474c48f9 | 4340 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 4341 | _result = (int )wxStyledTextCtrl_GetSelectionStart(_arg0); |
89c8ea73 | 4342 | |
474c48f9 RD |
4343 | wxPyEndAllowThreads(__tstate); |
4344 | if (PyErr_Occurred()) return NULL; | |
89c8ea73 RD |
4345 | } _resultobj = Py_BuildValue("i",_result); |
4346 | return _resultobj; | |
4347 | } | |
4348 | ||
4349 | #define wxStyledTextCtrl_SetSelectionEnd(_swigobj,_swigarg0) (_swigobj->SetSelectionEnd(_swigarg0)) | |
4350 | static PyObject *_wrap_wxStyledTextCtrl_SetSelectionEnd(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4351 | PyObject * _resultobj; | |
4352 | wxStyledTextCtrl * _arg0; | |
4353 | int _arg1; | |
4354 | PyObject * _argo0 = 0; | |
4355 | char *_kwnames[] = { "self","pos", NULL }; | |
4356 | ||
4357 | self = self; | |
4358 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_SetSelectionEnd",_kwnames,&_argo0,&_arg1)) | |
4359 | return NULL; | |
4360 | if (_argo0) { | |
4361 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4362 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
4363 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetSelectionEnd. Expected _wxStyledTextCtrl_p."); | |
4364 | return NULL; | |
4365 | } | |
4366 | } | |
4367 | { | |
474c48f9 | 4368 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 4369 | wxStyledTextCtrl_SetSelectionEnd(_arg0,_arg1); |
89c8ea73 | 4370 | |
474c48f9 RD |
4371 | wxPyEndAllowThreads(__tstate); |
4372 | if (PyErr_Occurred()) return NULL; | |
89c8ea73 RD |
4373 | } Py_INCREF(Py_None); |
4374 | _resultobj = Py_None; | |
4375 | return _resultobj; | |
4376 | } | |
4377 | ||
4378 | #define wxStyledTextCtrl_GetSelectionEnd(_swigobj) (_swigobj->GetSelectionEnd()) | |
4379 | static PyObject *_wrap_wxStyledTextCtrl_GetSelectionEnd(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4380 | PyObject * _resultobj; | |
4381 | int _result; | |
4382 | wxStyledTextCtrl * _arg0; | |
4383 | PyObject * _argo0 = 0; | |
4384 | char *_kwnames[] = { "self", NULL }; | |
4385 | ||
4386 | self = self; | |
4387 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetSelectionEnd",_kwnames,&_argo0)) | |
4388 | return NULL; | |
4389 | if (_argo0) { | |
4390 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4391 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
4392 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetSelectionEnd. Expected _wxStyledTextCtrl_p."); | |
4393 | return NULL; | |
4394 | } | |
4395 | } | |
4396 | { | |
474c48f9 | 4397 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 4398 | _result = (int )wxStyledTextCtrl_GetSelectionEnd(_arg0); |
89c8ea73 | 4399 | |
474c48f9 RD |
4400 | wxPyEndAllowThreads(__tstate); |
4401 | if (PyErr_Occurred()) return NULL; | |
89c8ea73 RD |
4402 | } _resultobj = Py_BuildValue("i",_result); |
4403 | return _resultobj; | |
4404 | } | |
4405 | ||
4406 | #define wxStyledTextCtrl_SetPrintMagnification(_swigobj,_swigarg0) (_swigobj->SetPrintMagnification(_swigarg0)) | |
4407 | static PyObject *_wrap_wxStyledTextCtrl_SetPrintMagnification(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4408 | PyObject * _resultobj; | |
4409 | wxStyledTextCtrl * _arg0; | |
4410 | int _arg1; | |
4411 | PyObject * _argo0 = 0; | |
4412 | char *_kwnames[] = { "self","magnification", NULL }; | |
4413 | ||
4414 | self = self; | |
4415 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_SetPrintMagnification",_kwnames,&_argo0,&_arg1)) | |
4416 | return NULL; | |
4417 | if (_argo0) { | |
4418 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4419 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
4420 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetPrintMagnification. Expected _wxStyledTextCtrl_p."); | |
4421 | return NULL; | |
4422 | } | |
4423 | } | |
4424 | { | |
474c48f9 | 4425 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 4426 | wxStyledTextCtrl_SetPrintMagnification(_arg0,_arg1); |
89c8ea73 | 4427 | |
474c48f9 RD |
4428 | wxPyEndAllowThreads(__tstate); |
4429 | if (PyErr_Occurred()) return NULL; | |
89c8ea73 RD |
4430 | } Py_INCREF(Py_None); |
4431 | _resultobj = Py_None; | |
4432 | return _resultobj; | |
4433 | } | |
4434 | ||
4435 | #define wxStyledTextCtrl_GetPrintMagnification(_swigobj) (_swigobj->GetPrintMagnification()) | |
4436 | static PyObject *_wrap_wxStyledTextCtrl_GetPrintMagnification(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4437 | PyObject * _resultobj; | |
4438 | int _result; | |
4439 | wxStyledTextCtrl * _arg0; | |
4440 | PyObject * _argo0 = 0; | |
4441 | char *_kwnames[] = { "self", NULL }; | |
4442 | ||
4443 | self = self; | |
4444 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetPrintMagnification",_kwnames,&_argo0)) | |
4445 | return NULL; | |
4446 | if (_argo0) { | |
4447 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4448 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
4449 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetPrintMagnification. Expected _wxStyledTextCtrl_p."); | |
4450 | return NULL; | |
4451 | } | |
4452 | } | |
4453 | { | |
474c48f9 | 4454 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 4455 | _result = (int )wxStyledTextCtrl_GetPrintMagnification(_arg0); |
89c8ea73 | 4456 | |
474c48f9 RD |
4457 | wxPyEndAllowThreads(__tstate); |
4458 | if (PyErr_Occurred()) return NULL; | |
89c8ea73 RD |
4459 | } _resultobj = Py_BuildValue("i",_result); |
4460 | return _resultobj; | |
4461 | } | |
4462 | ||
4463 | #define wxStyledTextCtrl_SetPrintColourMode(_swigobj,_swigarg0) (_swigobj->SetPrintColourMode(_swigarg0)) | |
4464 | static PyObject *_wrap_wxStyledTextCtrl_SetPrintColourMode(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4465 | PyObject * _resultobj; | |
4466 | wxStyledTextCtrl * _arg0; | |
4467 | int _arg1; | |
4468 | PyObject * _argo0 = 0; | |
4469 | char *_kwnames[] = { "self","mode", NULL }; | |
4470 | ||
4471 | self = self; | |
4472 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_SetPrintColourMode",_kwnames,&_argo0,&_arg1)) | |
4473 | return NULL; | |
4474 | if (_argo0) { | |
4475 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4476 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
4477 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetPrintColourMode. Expected _wxStyledTextCtrl_p."); | |
4478 | return NULL; | |
4479 | } | |
4480 | } | |
4481 | { | |
474c48f9 | 4482 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 4483 | wxStyledTextCtrl_SetPrintColourMode(_arg0,_arg1); |
89c8ea73 | 4484 | |
474c48f9 RD |
4485 | wxPyEndAllowThreads(__tstate); |
4486 | if (PyErr_Occurred()) return NULL; | |
89c8ea73 RD |
4487 | } Py_INCREF(Py_None); |
4488 | _resultobj = Py_None; | |
4489 | return _resultobj; | |
4490 | } | |
4491 | ||
4492 | #define wxStyledTextCtrl_GetPrintColourMode(_swigobj) (_swigobj->GetPrintColourMode()) | |
4493 | static PyObject *_wrap_wxStyledTextCtrl_GetPrintColourMode(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4494 | PyObject * _resultobj; | |
4495 | int _result; | |
4496 | wxStyledTextCtrl * _arg0; | |
4497 | PyObject * _argo0 = 0; | |
4498 | char *_kwnames[] = { "self", NULL }; | |
4499 | ||
4500 | self = self; | |
4501 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetPrintColourMode",_kwnames,&_argo0)) | |
4502 | return NULL; | |
4503 | if (_argo0) { | |
4504 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4505 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
4506 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetPrintColourMode. Expected _wxStyledTextCtrl_p."); | |
4507 | return NULL; | |
4508 | } | |
4509 | } | |
4510 | { | |
474c48f9 | 4511 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 4512 | _result = (int )wxStyledTextCtrl_GetPrintColourMode(_arg0); |
89c8ea73 | 4513 | |
474c48f9 RD |
4514 | wxPyEndAllowThreads(__tstate); |
4515 | if (PyErr_Occurred()) return NULL; | |
89c8ea73 RD |
4516 | } _resultobj = Py_BuildValue("i",_result); |
4517 | return _resultobj; | |
4518 | } | |
4519 | ||
4520 | #define wxStyledTextCtrl_FindText(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->FindText(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4)) | |
4521 | static PyObject *_wrap_wxStyledTextCtrl_FindText(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4522 | PyObject * _resultobj; | |
4523 | int _result; | |
4524 | wxStyledTextCtrl * _arg0; | |
4525 | int _arg1; | |
4526 | int _arg2; | |
4527 | wxString * _arg3; | |
4528 | bool _arg4; | |
4529 | bool _arg5; | |
4530 | PyObject * _argo0 = 0; | |
4531 | PyObject * _obj3 = 0; | |
4532 | int tempbool4; | |
4533 | int tempbool5; | |
4534 | char *_kwnames[] = { "self","minPos","maxPos","text","caseSensitive","wholeWord", NULL }; | |
4535 | ||
4536 | self = self; | |
4537 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiiOii:wxStyledTextCtrl_FindText",_kwnames,&_argo0,&_arg1,&_arg2,&_obj3,&tempbool4,&tempbool5)) | |
4538 | return NULL; | |
4539 | if (_argo0) { | |
4540 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4541 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
4542 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_FindText. Expected _wxStyledTextCtrl_p."); | |
4543 | return NULL; | |
4544 | } | |
4545 | } | |
4546 | { | |
c8bc7bb8 RD |
4547 | _arg3 = wxString_in_helper(_obj3); |
4548 | if (_arg3 == NULL) | |
89c8ea73 | 4549 | return NULL; |
89c8ea73 RD |
4550 | } |
4551 | _arg4 = (bool ) tempbool4; | |
4552 | _arg5 = (bool ) tempbool5; | |
4553 | { | |
474c48f9 | 4554 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 4555 | _result = (int )wxStyledTextCtrl_FindText(_arg0,_arg1,_arg2,*_arg3,_arg4,_arg5); |
89c8ea73 | 4556 | |
474c48f9 RD |
4557 | wxPyEndAllowThreads(__tstate); |
4558 | if (PyErr_Occurred()) return NULL; | |
89c8ea73 RD |
4559 | } _resultobj = Py_BuildValue("i",_result); |
4560 | { | |
4561 | if (_obj3) | |
4562 | delete _arg3; | |
4563 | } | |
4564 | return _resultobj; | |
4565 | } | |
4566 | ||
4567 | #define wxStyledTextCtrl_FormatRange(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (_swigobj->FormatRange(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6)) | |
4568 | static PyObject *_wrap_wxStyledTextCtrl_FormatRange(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4569 | PyObject * _resultobj; | |
4570 | int _result; | |
4571 | wxStyledTextCtrl * _arg0; | |
4572 | bool _arg1; | |
4573 | int _arg2; | |
4574 | int _arg3; | |
4575 | wxDC * _arg4; | |
4576 | wxDC * _arg5; | |
4577 | wxRect * _arg6; | |
4578 | wxRect * _arg7; | |
4579 | PyObject * _argo0 = 0; | |
4580 | int tempbool1; | |
4581 | PyObject * _argo4 = 0; | |
4582 | PyObject * _argo5 = 0; | |
4583 | wxRect temp; | |
4584 | PyObject * _obj6 = 0; | |
4585 | wxRect temp0; | |
4586 | PyObject * _obj7 = 0; | |
4587 | char *_kwnames[] = { "self","doDraw","startPos","endPos","draw","target","renderRect","pageRect", NULL }; | |
4588 | ||
4589 | self = self; | |
4590 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiiiOOOO:wxStyledTextCtrl_FormatRange",_kwnames,&_argo0,&tempbool1,&_arg2,&_arg3,&_argo4,&_argo5,&_obj6,&_obj7)) | |
4591 | return NULL; | |
4592 | if (_argo0) { | |
4593 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4594 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
4595 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_FormatRange. Expected _wxStyledTextCtrl_p."); | |
4596 | return NULL; | |
4597 | } | |
4598 | } | |
4599 | _arg1 = (bool ) tempbool1; | |
4600 | if (_argo4) { | |
4601 | if (_argo4 == Py_None) { _arg4 = NULL; } | |
4602 | else if (SWIG_GetPtrObj(_argo4,(void **) &_arg4,"_wxDC_p")) { | |
4603 | PyErr_SetString(PyExc_TypeError,"Type error in argument 5 of wxStyledTextCtrl_FormatRange. Expected _wxDC_p."); | |
4604 | return NULL; | |
4605 | } | |
4606 | } | |
4607 | if (_argo5) { | |
4608 | if (_argo5 == Py_None) { _arg5 = NULL; } | |
4609 | else if (SWIG_GetPtrObj(_argo5,(void **) &_arg5,"_wxDC_p")) { | |
4610 | PyErr_SetString(PyExc_TypeError,"Type error in argument 6 of wxStyledTextCtrl_FormatRange. Expected _wxDC_p."); | |
4611 | return NULL; | |
4612 | } | |
4613 | } | |
4614 | { | |
4615 | _arg6 = &temp; | |
4616 | if (! wxRect_helper(_obj6, &_arg6)) | |
4617 | return NULL; | |
4618 | } | |
4619 | { | |
4620 | _arg7 = &temp0; | |
4621 | if (! wxRect_helper(_obj7, &_arg7)) | |
4622 | return NULL; | |
4623 | } | |
4624 | { | |
474c48f9 | 4625 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 4626 | _result = (int )wxStyledTextCtrl_FormatRange(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5,*_arg6,*_arg7); |
89c8ea73 | 4627 | |
474c48f9 RD |
4628 | wxPyEndAllowThreads(__tstate); |
4629 | if (PyErr_Occurred()) return NULL; | |
89c8ea73 RD |
4630 | } _resultobj = Py_BuildValue("i",_result); |
4631 | return _resultobj; | |
4632 | } | |
4633 | ||
4634 | #define wxStyledTextCtrl_GetFirstVisibleLine(_swigobj) (_swigobj->GetFirstVisibleLine()) | |
4635 | static PyObject *_wrap_wxStyledTextCtrl_GetFirstVisibleLine(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4636 | PyObject * _resultobj; | |
4637 | int _result; | |
4638 | wxStyledTextCtrl * _arg0; | |
4639 | PyObject * _argo0 = 0; | |
4640 | char *_kwnames[] = { "self", NULL }; | |
4641 | ||
4642 | self = self; | |
4643 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetFirstVisibleLine",_kwnames,&_argo0)) | |
4644 | return NULL; | |
4645 | if (_argo0) { | |
4646 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4647 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
4648 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetFirstVisibleLine. Expected _wxStyledTextCtrl_p."); | |
4649 | return NULL; | |
4650 | } | |
4651 | } | |
4652 | { | |
474c48f9 | 4653 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 4654 | _result = (int )wxStyledTextCtrl_GetFirstVisibleLine(_arg0); |
89c8ea73 | 4655 | |
474c48f9 RD |
4656 | wxPyEndAllowThreads(__tstate); |
4657 | if (PyErr_Occurred()) return NULL; | |
89c8ea73 RD |
4658 | } _resultobj = Py_BuildValue("i",_result); |
4659 | return _resultobj; | |
4660 | } | |
4661 | ||
4662 | #define wxStyledTextCtrl_GetLine(_swigobj,_swigarg0) (_swigobj->GetLine(_swigarg0)) | |
4663 | static PyObject *_wrap_wxStyledTextCtrl_GetLine(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4664 | PyObject * _resultobj; | |
4665 | wxString * _result; | |
4666 | wxStyledTextCtrl * _arg0; | |
4667 | int _arg1; | |
4668 | PyObject * _argo0 = 0; | |
4669 | char *_kwnames[] = { "self","line", NULL }; | |
4670 | ||
4671 | self = self; | |
4672 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_GetLine",_kwnames,&_argo0,&_arg1)) | |
4673 | return NULL; | |
4674 | if (_argo0) { | |
4675 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4676 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
4677 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetLine. Expected _wxStyledTextCtrl_p."); | |
4678 | return NULL; | |
4679 | } | |
4680 | } | |
4681 | { | |
474c48f9 | 4682 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 4683 | _result = new wxString (wxStyledTextCtrl_GetLine(_arg0,_arg1)); |
89c8ea73 | 4684 | |
474c48f9 RD |
4685 | wxPyEndAllowThreads(__tstate); |
4686 | if (PyErr_Occurred()) return NULL; | |
89c8ea73 | 4687 | }{ |
c8bc7bb8 RD |
4688 | #if wxUSE_UNICODE |
4689 | _resultobj = PyUnicode_FromUnicode(_result->c_str(), _result->Len()); | |
4690 | #else | |
89c8ea73 | 4691 | _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len()); |
c8bc7bb8 | 4692 | #endif |
89c8ea73 RD |
4693 | } |
4694 | { | |
4695 | delete _result; | |
4696 | } | |
4697 | return _resultobj; | |
4698 | } | |
4699 | ||
4700 | #define wxStyledTextCtrl_GetLineCount(_swigobj) (_swigobj->GetLineCount()) | |
4701 | static PyObject *_wrap_wxStyledTextCtrl_GetLineCount(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4702 | PyObject * _resultobj; | |
4703 | int _result; | |
4704 | wxStyledTextCtrl * _arg0; | |
4705 | PyObject * _argo0 = 0; | |
4706 | char *_kwnames[] = { "self", NULL }; | |
4707 | ||
4708 | self = self; | |
4709 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetLineCount",_kwnames,&_argo0)) | |
4710 | return NULL; | |
4711 | if (_argo0) { | |
4712 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4713 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
4714 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetLineCount. Expected _wxStyledTextCtrl_p."); | |
4715 | return NULL; | |
4716 | } | |
4717 | } | |
4718 | { | |
474c48f9 | 4719 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 4720 | _result = (int )wxStyledTextCtrl_GetLineCount(_arg0); |
89c8ea73 | 4721 | |
474c48f9 RD |
4722 | wxPyEndAllowThreads(__tstate); |
4723 | if (PyErr_Occurred()) return NULL; | |
89c8ea73 RD |
4724 | } _resultobj = Py_BuildValue("i",_result); |
4725 | return _resultobj; | |
4726 | } | |
4727 | ||
4728 | #define wxStyledTextCtrl_SetMarginLeft(_swigobj,_swigarg0) (_swigobj->SetMarginLeft(_swigarg0)) | |
4729 | static PyObject *_wrap_wxStyledTextCtrl_SetMarginLeft(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4730 | PyObject * _resultobj; | |
4731 | wxStyledTextCtrl * _arg0; | |
4732 | int _arg1; | |
4733 | PyObject * _argo0 = 0; | |
4734 | char *_kwnames[] = { "self","pixelWidth", NULL }; | |
4735 | ||
4736 | self = self; | |
4737 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_SetMarginLeft",_kwnames,&_argo0,&_arg1)) | |
4738 | return NULL; | |
4739 | if (_argo0) { | |
4740 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4741 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
4742 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetMarginLeft. Expected _wxStyledTextCtrl_p."); | |
4743 | return NULL; | |
4744 | } | |
4745 | } | |
4746 | { | |
474c48f9 | 4747 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 4748 | wxStyledTextCtrl_SetMarginLeft(_arg0,_arg1); |
89c8ea73 | 4749 | |
474c48f9 RD |
4750 | wxPyEndAllowThreads(__tstate); |
4751 | if (PyErr_Occurred()) return NULL; | |
89c8ea73 RD |
4752 | } Py_INCREF(Py_None); |
4753 | _resultobj = Py_None; | |
4754 | return _resultobj; | |
4755 | } | |
4756 | ||
4757 | #define wxStyledTextCtrl_GetMarginLeft(_swigobj) (_swigobj->GetMarginLeft()) | |
4758 | static PyObject *_wrap_wxStyledTextCtrl_GetMarginLeft(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4759 | PyObject * _resultobj; | |
4760 | int _result; | |
4761 | wxStyledTextCtrl * _arg0; | |
4762 | PyObject * _argo0 = 0; | |
4763 | char *_kwnames[] = { "self", NULL }; | |
4764 | ||
4765 | self = self; | |
4766 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetMarginLeft",_kwnames,&_argo0)) | |
4767 | return NULL; | |
4768 | if (_argo0) { | |
4769 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4770 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
4771 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetMarginLeft. Expected _wxStyledTextCtrl_p."); | |
4772 | return NULL; | |
4773 | } | |
4774 | } | |
4775 | { | |
474c48f9 | 4776 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 4777 | _result = (int )wxStyledTextCtrl_GetMarginLeft(_arg0); |
89c8ea73 | 4778 | |
474c48f9 RD |
4779 | wxPyEndAllowThreads(__tstate); |
4780 | if (PyErr_Occurred()) return NULL; | |
89c8ea73 RD |
4781 | } _resultobj = Py_BuildValue("i",_result); |
4782 | return _resultobj; | |
4783 | } | |
4784 | ||
4785 | #define wxStyledTextCtrl_SetMarginRight(_swigobj,_swigarg0) (_swigobj->SetMarginRight(_swigarg0)) | |
4786 | static PyObject *_wrap_wxStyledTextCtrl_SetMarginRight(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4787 | PyObject * _resultobj; | |
4788 | wxStyledTextCtrl * _arg0; | |
4789 | int _arg1; | |
4790 | PyObject * _argo0 = 0; | |
4791 | char *_kwnames[] = { "self","pixelWidth", NULL }; | |
4792 | ||
4793 | self = self; | |
4794 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_SetMarginRight",_kwnames,&_argo0,&_arg1)) | |
4795 | return NULL; | |
4796 | if (_argo0) { | |
4797 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4798 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
4799 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetMarginRight. Expected _wxStyledTextCtrl_p."); | |
4800 | return NULL; | |
4801 | } | |
4802 | } | |
4803 | { | |
474c48f9 | 4804 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 4805 | wxStyledTextCtrl_SetMarginRight(_arg0,_arg1); |
89c8ea73 | 4806 | |
474c48f9 RD |
4807 | wxPyEndAllowThreads(__tstate); |
4808 | if (PyErr_Occurred()) return NULL; | |
89c8ea73 RD |
4809 | } Py_INCREF(Py_None); |
4810 | _resultobj = Py_None; | |
4811 | return _resultobj; | |
4812 | } | |
4813 | ||
4814 | #define wxStyledTextCtrl_GetMarginRight(_swigobj) (_swigobj->GetMarginRight()) | |
4815 | static PyObject *_wrap_wxStyledTextCtrl_GetMarginRight(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4816 | PyObject * _resultobj; | |
4817 | int _result; | |
4818 | wxStyledTextCtrl * _arg0; | |
4819 | PyObject * _argo0 = 0; | |
4820 | char *_kwnames[] = { "self", NULL }; | |
4821 | ||
4822 | self = self; | |
4823 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetMarginRight",_kwnames,&_argo0)) | |
4824 | return NULL; | |
4825 | if (_argo0) { | |
4826 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4827 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
4828 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetMarginRight. Expected _wxStyledTextCtrl_p."); | |
4829 | return NULL; | |
4830 | } | |
4831 | } | |
4832 | { | |
474c48f9 | 4833 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 4834 | _result = (int )wxStyledTextCtrl_GetMarginRight(_arg0); |
89c8ea73 | 4835 | |
474c48f9 RD |
4836 | wxPyEndAllowThreads(__tstate); |
4837 | if (PyErr_Occurred()) return NULL; | |
89c8ea73 RD |
4838 | } _resultobj = Py_BuildValue("i",_result); |
4839 | return _resultobj; | |
4840 | } | |
4841 | ||
4842 | #define wxStyledTextCtrl_GetModify(_swigobj) (_swigobj->GetModify()) | |
4843 | static PyObject *_wrap_wxStyledTextCtrl_GetModify(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4844 | PyObject * _resultobj; | |
4845 | bool _result; | |
4846 | wxStyledTextCtrl * _arg0; | |
4847 | PyObject * _argo0 = 0; | |
4848 | char *_kwnames[] = { "self", NULL }; | |
4849 | ||
4850 | self = self; | |
4851 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetModify",_kwnames,&_argo0)) | |
4852 | return NULL; | |
4853 | if (_argo0) { | |
4854 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4855 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
4856 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetModify. Expected _wxStyledTextCtrl_p."); | |
4857 | return NULL; | |
4858 | } | |
4859 | } | |
4860 | { | |
474c48f9 | 4861 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 4862 | _result = (bool )wxStyledTextCtrl_GetModify(_arg0); |
89c8ea73 | 4863 | |
474c48f9 RD |
4864 | wxPyEndAllowThreads(__tstate); |
4865 | if (PyErr_Occurred()) return NULL; | |
89c8ea73 RD |
4866 | } _resultobj = Py_BuildValue("i",_result); |
4867 | return _resultobj; | |
4868 | } | |
4869 | ||
4870 | #define wxStyledTextCtrl_SetSelection(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetSelection(_swigarg0,_swigarg1)) | |
4871 | static PyObject *_wrap_wxStyledTextCtrl_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4872 | PyObject * _resultobj; | |
4873 | wxStyledTextCtrl * _arg0; | |
4874 | int _arg1; | |
4875 | int _arg2; | |
4876 | PyObject * _argo0 = 0; | |
4877 | char *_kwnames[] = { "self","start","end", NULL }; | |
4878 | ||
4879 | self = self; | |
4880 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxStyledTextCtrl_SetSelection",_kwnames,&_argo0,&_arg1,&_arg2)) | |
4881 | return NULL; | |
4882 | if (_argo0) { | |
4883 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4884 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
4885 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetSelection. Expected _wxStyledTextCtrl_p."); | |
4886 | return NULL; | |
4887 | } | |
4888 | } | |
4889 | { | |
474c48f9 | 4890 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 4891 | wxStyledTextCtrl_SetSelection(_arg0,_arg1,_arg2); |
89c8ea73 | 4892 | |
474c48f9 RD |
4893 | wxPyEndAllowThreads(__tstate); |
4894 | if (PyErr_Occurred()) return NULL; | |
89c8ea73 RD |
4895 | } Py_INCREF(Py_None); |
4896 | _resultobj = Py_None; | |
4897 | return _resultobj; | |
4898 | } | |
4899 | ||
4900 | #define wxStyledTextCtrl_GetSelectedText(_swigobj) (_swigobj->GetSelectedText()) | |
4901 | static PyObject *_wrap_wxStyledTextCtrl_GetSelectedText(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4902 | PyObject * _resultobj; | |
4903 | wxString * _result; | |
4904 | wxStyledTextCtrl * _arg0; | |
4905 | PyObject * _argo0 = 0; | |
4906 | char *_kwnames[] = { "self", NULL }; | |
4907 | ||
4908 | self = self; | |
4909 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetSelectedText",_kwnames,&_argo0)) | |
4910 | return NULL; | |
4911 | if (_argo0) { | |
4912 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4913 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
4914 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetSelectedText. Expected _wxStyledTextCtrl_p."); | |
4915 | return NULL; | |
4916 | } | |
4917 | } | |
4918 | { | |
474c48f9 | 4919 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 4920 | _result = new wxString (wxStyledTextCtrl_GetSelectedText(_arg0)); |
89c8ea73 | 4921 | |
474c48f9 RD |
4922 | wxPyEndAllowThreads(__tstate); |
4923 | if (PyErr_Occurred()) return NULL; | |
89c8ea73 | 4924 | }{ |
c8bc7bb8 RD |
4925 | #if wxUSE_UNICODE |
4926 | _resultobj = PyUnicode_FromUnicode(_result->c_str(), _result->Len()); | |
4927 | #else | |
89c8ea73 | 4928 | _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len()); |
c8bc7bb8 | 4929 | #endif |
89c8ea73 RD |
4930 | } |
4931 | { | |
4932 | delete _result; | |
4933 | } | |
4934 | return _resultobj; | |
4935 | } | |
4936 | ||
4937 | #define wxStyledTextCtrl_GetTextRange(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetTextRange(_swigarg0,_swigarg1)) | |
4938 | static PyObject *_wrap_wxStyledTextCtrl_GetTextRange(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4939 | PyObject * _resultobj; | |
4940 | wxString * _result; | |
4941 | wxStyledTextCtrl * _arg0; | |
4942 | int _arg1; | |
4943 | int _arg2; | |
4944 | PyObject * _argo0 = 0; | |
4945 | char *_kwnames[] = { "self","startPos","endPos", NULL }; | |
4946 | ||
4947 | self = self; | |
4948 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxStyledTextCtrl_GetTextRange",_kwnames,&_argo0,&_arg1,&_arg2)) | |
4949 | return NULL; | |
4950 | if (_argo0) { | |
4951 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4952 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
4953 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetTextRange. Expected _wxStyledTextCtrl_p."); | |
4954 | return NULL; | |
4955 | } | |
4956 | } | |
4957 | { | |
474c48f9 | 4958 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 4959 | _result = new wxString (wxStyledTextCtrl_GetTextRange(_arg0,_arg1,_arg2)); |
89c8ea73 | 4960 | |
474c48f9 RD |
4961 | wxPyEndAllowThreads(__tstate); |
4962 | if (PyErr_Occurred()) return NULL; | |
89c8ea73 | 4963 | }{ |
c8bc7bb8 RD |
4964 | #if wxUSE_UNICODE |
4965 | _resultobj = PyUnicode_FromUnicode(_result->c_str(), _result->Len()); | |
4966 | #else | |
89c8ea73 | 4967 | _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len()); |
c8bc7bb8 | 4968 | #endif |
89c8ea73 RD |
4969 | } |
4970 | { | |
4971 | delete _result; | |
4972 | } | |
4973 | return _resultobj; | |
4974 | } | |
4975 | ||
4976 | #define wxStyledTextCtrl_HideSelection(_swigobj,_swigarg0) (_swigobj->HideSelection(_swigarg0)) | |
4977 | static PyObject *_wrap_wxStyledTextCtrl_HideSelection(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4978 | PyObject * _resultobj; | |
4979 | wxStyledTextCtrl * _arg0; | |
4980 | bool _arg1; | |
4981 | PyObject * _argo0 = 0; | |
4982 | int tempbool1; | |
4983 | char *_kwnames[] = { "self","normal", NULL }; | |
4984 | ||
4985 | self = self; | |
4986 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_HideSelection",_kwnames,&_argo0,&tempbool1)) | |
4987 | return NULL; | |
4988 | if (_argo0) { | |
4989 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4990 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
4991 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_HideSelection. Expected _wxStyledTextCtrl_p."); | |
4992 | return NULL; | |
4993 | } | |
4994 | } | |
4995 | _arg1 = (bool ) tempbool1; | |
4996 | { | |
474c48f9 | 4997 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 4998 | wxStyledTextCtrl_HideSelection(_arg0,_arg1); |
89c8ea73 | 4999 | |
474c48f9 RD |
5000 | wxPyEndAllowThreads(__tstate); |
5001 | if (PyErr_Occurred()) return NULL; | |
89c8ea73 RD |
5002 | } Py_INCREF(Py_None); |
5003 | _resultobj = Py_None; | |
5004 | return _resultobj; | |
5005 | } | |
5006 | ||
5007 | #define wxStyledTextCtrl_LineFromPosition(_swigobj,_swigarg0) (_swigobj->LineFromPosition(_swigarg0)) | |
5008 | static PyObject *_wrap_wxStyledTextCtrl_LineFromPosition(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5009 | PyObject * _resultobj; | |
5010 | int _result; | |
5011 | wxStyledTextCtrl * _arg0; | |
5012 | int _arg1; | |
5013 | PyObject * _argo0 = 0; | |
5014 | char *_kwnames[] = { "self","pos", NULL }; | |
5015 | ||
5016 | self = self; | |
5017 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_LineFromPosition",_kwnames,&_argo0,&_arg1)) | |
5018 | return NULL; | |
5019 | if (_argo0) { | |
5020 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5021 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
5022 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_LineFromPosition. Expected _wxStyledTextCtrl_p."); | |
5023 | return NULL; | |
5024 | } | |
5025 | } | |
5026 | { | |
474c48f9 | 5027 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 5028 | _result = (int )wxStyledTextCtrl_LineFromPosition(_arg0,_arg1); |
89c8ea73 | 5029 | |
474c48f9 RD |
5030 | wxPyEndAllowThreads(__tstate); |
5031 | if (PyErr_Occurred()) return NULL; | |
89c8ea73 RD |
5032 | } _resultobj = Py_BuildValue("i",_result); |
5033 | return _resultobj; | |
5034 | } | |
5035 | ||
5036 | #define wxStyledTextCtrl_PositionFromLine(_swigobj,_swigarg0) (_swigobj->PositionFromLine(_swigarg0)) | |
5037 | static PyObject *_wrap_wxStyledTextCtrl_PositionFromLine(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5038 | PyObject * _resultobj; | |
5039 | int _result; | |
5040 | wxStyledTextCtrl * _arg0; | |
5041 | int _arg1; | |
5042 | PyObject * _argo0 = 0; | |
5043 | char *_kwnames[] = { "self","line", NULL }; | |
5044 | ||
5045 | self = self; | |
5046 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_PositionFromLine",_kwnames,&_argo0,&_arg1)) | |
5047 | return NULL; | |
5048 | if (_argo0) { | |
5049 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5050 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
5051 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_PositionFromLine. Expected _wxStyledTextCtrl_p."); | |
5052 | return NULL; | |
5053 | } | |
5054 | } | |
5055 | { | |
474c48f9 | 5056 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 5057 | _result = (int )wxStyledTextCtrl_PositionFromLine(_arg0,_arg1); |
89c8ea73 | 5058 | |
474c48f9 RD |
5059 | wxPyEndAllowThreads(__tstate); |
5060 | if (PyErr_Occurred()) return NULL; | |
89c8ea73 RD |
5061 | } _resultobj = Py_BuildValue("i",_result); |
5062 | return _resultobj; | |
5063 | } | |
5064 | ||
5065 | #define wxStyledTextCtrl_LineScroll(_swigobj,_swigarg0,_swigarg1) (_swigobj->LineScroll(_swigarg0,_swigarg1)) | |
5066 | static PyObject *_wrap_wxStyledTextCtrl_LineScroll(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5067 | PyObject * _resultobj; | |
5068 | wxStyledTextCtrl * _arg0; | |
5069 | int _arg1; | |
5070 | int _arg2; | |
5071 | PyObject * _argo0 = 0; | |
5072 | char *_kwnames[] = { "self","columns","lines", NULL }; | |
5073 | ||
5074 | self = self; | |
5075 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxStyledTextCtrl_LineScroll",_kwnames,&_argo0,&_arg1,&_arg2)) | |
5076 | return NULL; | |
5077 | if (_argo0) { | |
5078 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5079 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
5080 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_LineScroll. Expected _wxStyledTextCtrl_p."); | |
5081 | return NULL; | |
5082 | } | |
5083 | } | |
5084 | { | |
474c48f9 | 5085 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 5086 | wxStyledTextCtrl_LineScroll(_arg0,_arg1,_arg2); |
89c8ea73 | 5087 | |
474c48f9 RD |
5088 | wxPyEndAllowThreads(__tstate); |
5089 | if (PyErr_Occurred()) return NULL; | |
89c8ea73 RD |
5090 | } Py_INCREF(Py_None); |
5091 | _resultobj = Py_None; | |
5092 | return _resultobj; | |
5093 | } | |
5094 | ||
5095 | #define wxStyledTextCtrl_EnsureCaretVisible(_swigobj) (_swigobj->EnsureCaretVisible()) | |
5096 | static PyObject *_wrap_wxStyledTextCtrl_EnsureCaretVisible(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5097 | PyObject * _resultobj; | |
5098 | wxStyledTextCtrl * _arg0; | |
5099 | PyObject * _argo0 = 0; | |
5100 | char *_kwnames[] = { "self", NULL }; | |
5101 | ||
5102 | self = self; | |
5103 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_EnsureCaretVisible",_kwnames,&_argo0)) | |
5104 | return NULL; | |
5105 | if (_argo0) { | |
5106 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5107 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
5108 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_EnsureCaretVisible. Expected _wxStyledTextCtrl_p."); | |
5109 | return NULL; | |
5110 | } | |
5111 | } | |
5112 | { | |
474c48f9 | 5113 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 5114 | wxStyledTextCtrl_EnsureCaretVisible(_arg0); |
89c8ea73 | 5115 | |
474c48f9 RD |
5116 | wxPyEndAllowThreads(__tstate); |
5117 | if (PyErr_Occurred()) return NULL; | |
89c8ea73 RD |
5118 | } Py_INCREF(Py_None); |
5119 | _resultobj = Py_None; | |
5120 | return _resultobj; | |
5121 | } | |
5122 | ||
5123 | #define wxStyledTextCtrl_ReplaceSelection(_swigobj,_swigarg0) (_swigobj->ReplaceSelection(_swigarg0)) | |
5124 | static PyObject *_wrap_wxStyledTextCtrl_ReplaceSelection(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5125 | PyObject * _resultobj; | |
5126 | wxStyledTextCtrl * _arg0; | |
5127 | wxString * _arg1; | |
5128 | PyObject * _argo0 = 0; | |
5129 | PyObject * _obj1 = 0; | |
5130 | char *_kwnames[] = { "self","text", NULL }; | |
5131 | ||
5132 | self = self; | |
5133 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxStyledTextCtrl_ReplaceSelection",_kwnames,&_argo0,&_obj1)) | |
5134 | return NULL; | |
5135 | if (_argo0) { | |
5136 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5137 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
5138 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_ReplaceSelection. Expected _wxStyledTextCtrl_p."); | |
5139 | return NULL; | |
5140 | } | |
5141 | } | |
5142 | { | |
c8bc7bb8 RD |
5143 | _arg1 = wxString_in_helper(_obj1); |
5144 | if (_arg1 == NULL) | |
89c8ea73 | 5145 | return NULL; |
89c8ea73 RD |
5146 | } |
5147 | { | |
474c48f9 | 5148 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 5149 | wxStyledTextCtrl_ReplaceSelection(_arg0,*_arg1); |
89c8ea73 | 5150 | |
474c48f9 RD |
5151 | wxPyEndAllowThreads(__tstate); |
5152 | if (PyErr_Occurred()) return NULL; | |
89c8ea73 RD |
5153 | } Py_INCREF(Py_None); |
5154 | _resultobj = Py_None; | |
5155 | { | |
5156 | if (_obj1) | |
5157 | delete _arg1; | |
5158 | } | |
5159 | return _resultobj; | |
5160 | } | |
5161 | ||
5162 | #define wxStyledTextCtrl_SetReadOnly(_swigobj,_swigarg0) (_swigobj->SetReadOnly(_swigarg0)) | |
5163 | static PyObject *_wrap_wxStyledTextCtrl_SetReadOnly(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5164 | PyObject * _resultobj; | |
5165 | wxStyledTextCtrl * _arg0; | |
5166 | bool _arg1; | |
5167 | PyObject * _argo0 = 0; | |
5168 | int tempbool1; | |
5169 | char *_kwnames[] = { "self","readOnly", NULL }; | |
5170 | ||
5171 | self = self; | |
5172 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_SetReadOnly",_kwnames,&_argo0,&tempbool1)) | |
5173 | return NULL; | |
5174 | if (_argo0) { | |
5175 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5176 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
5177 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetReadOnly. Expected _wxStyledTextCtrl_p."); | |
5178 | return NULL; | |
5179 | } | |
5180 | } | |
5181 | _arg1 = (bool ) tempbool1; | |
5182 | { | |
474c48f9 | 5183 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 5184 | wxStyledTextCtrl_SetReadOnly(_arg0,_arg1); |
89c8ea73 | 5185 | |
474c48f9 RD |
5186 | wxPyEndAllowThreads(__tstate); |
5187 | if (PyErr_Occurred()) return NULL; | |
89c8ea73 RD |
5188 | } Py_INCREF(Py_None); |
5189 | _resultobj = Py_None; | |
5190 | return _resultobj; | |
5191 | } | |
5192 | ||
5193 | #define wxStyledTextCtrl_CanPaste(_swigobj) (_swigobj->CanPaste()) | |
5194 | static PyObject *_wrap_wxStyledTextCtrl_CanPaste(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5195 | PyObject * _resultobj; | |
5196 | bool _result; | |
5197 | wxStyledTextCtrl * _arg0; | |
5198 | PyObject * _argo0 = 0; | |
5199 | char *_kwnames[] = { "self", NULL }; | |
5200 | ||
5201 | self = self; | |
5202 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_CanPaste",_kwnames,&_argo0)) | |
5203 | return NULL; | |
5204 | if (_argo0) { | |
5205 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5206 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
5207 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_CanPaste. Expected _wxStyledTextCtrl_p."); | |
5208 | return NULL; | |
5209 | } | |
5210 | } | |
5211 | { | |
474c48f9 | 5212 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 5213 | _result = (bool )wxStyledTextCtrl_CanPaste(_arg0); |
89c8ea73 | 5214 | |
474c48f9 RD |
5215 | wxPyEndAllowThreads(__tstate); |
5216 | if (PyErr_Occurred()) return NULL; | |
89c8ea73 RD |
5217 | } _resultobj = Py_BuildValue("i",_result); |
5218 | return _resultobj; | |
5219 | } | |
5220 | ||
5221 | #define wxStyledTextCtrl_CanUndo(_swigobj) (_swigobj->CanUndo()) | |
5222 | static PyObject *_wrap_wxStyledTextCtrl_CanUndo(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5223 | PyObject * _resultobj; | |
5224 | bool _result; | |
5225 | wxStyledTextCtrl * _arg0; | |
5226 | PyObject * _argo0 = 0; | |
5227 | char *_kwnames[] = { "self", NULL }; | |
5228 | ||
5229 | self = self; | |
5230 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_CanUndo",_kwnames,&_argo0)) | |
5231 | return NULL; | |
5232 | if (_argo0) { | |
5233 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5234 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
5235 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_CanUndo. Expected _wxStyledTextCtrl_p."); | |
5236 | return NULL; | |
5237 | } | |
5238 | } | |
5239 | { | |
474c48f9 | 5240 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 5241 | _result = (bool )wxStyledTextCtrl_CanUndo(_arg0); |
89c8ea73 | 5242 | |
474c48f9 RD |
5243 | wxPyEndAllowThreads(__tstate); |
5244 | if (PyErr_Occurred()) return NULL; | |
89c8ea73 RD |
5245 | } _resultobj = Py_BuildValue("i",_result); |
5246 | return _resultobj; | |
5247 | } | |
5248 | ||
5249 | #define wxStyledTextCtrl_EmptyUndoBuffer(_swigobj) (_swigobj->EmptyUndoBuffer()) | |
5250 | static PyObject *_wrap_wxStyledTextCtrl_EmptyUndoBuffer(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5251 | PyObject * _resultobj; | |
5252 | wxStyledTextCtrl * _arg0; | |
5253 | PyObject * _argo0 = 0; | |
5254 | char *_kwnames[] = { "self", NULL }; | |
5255 | ||
5256 | self = self; | |
5257 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_EmptyUndoBuffer",_kwnames,&_argo0)) | |
5258 | return NULL; | |
5259 | if (_argo0) { | |
5260 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5261 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
5262 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_EmptyUndoBuffer. Expected _wxStyledTextCtrl_p."); | |
5263 | return NULL; | |
5264 | } | |
5265 | } | |
5266 | { | |
474c48f9 | 5267 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 5268 | wxStyledTextCtrl_EmptyUndoBuffer(_arg0); |
89c8ea73 | 5269 | |
474c48f9 RD |
5270 | wxPyEndAllowThreads(__tstate); |
5271 | if (PyErr_Occurred()) return NULL; | |
89c8ea73 RD |
5272 | } Py_INCREF(Py_None); |
5273 | _resultobj = Py_None; | |
5274 | return _resultobj; | |
5275 | } | |
5276 | ||
5277 | #define wxStyledTextCtrl_Undo(_swigobj) (_swigobj->Undo()) | |
5278 | static PyObject *_wrap_wxStyledTextCtrl_Undo(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5279 | PyObject * _resultobj; | |
5280 | wxStyledTextCtrl * _arg0; | |
5281 | PyObject * _argo0 = 0; | |
5282 | char *_kwnames[] = { "self", NULL }; | |
5283 | ||
5284 | self = self; | |
5285 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_Undo",_kwnames,&_argo0)) | |
5286 | return NULL; | |
5287 | if (_argo0) { | |
5288 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5289 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
5290 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_Undo. Expected _wxStyledTextCtrl_p."); | |
5291 | return NULL; | |
5292 | } | |
5293 | } | |
5294 | { | |
474c48f9 | 5295 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 5296 | wxStyledTextCtrl_Undo(_arg0); |
89c8ea73 | 5297 | |
474c48f9 RD |
5298 | wxPyEndAllowThreads(__tstate); |
5299 | if (PyErr_Occurred()) return NULL; | |
89c8ea73 RD |
5300 | } Py_INCREF(Py_None); |
5301 | _resultobj = Py_None; | |
5302 | return _resultobj; | |
5303 | } | |
5304 | ||
5305 | #define wxStyledTextCtrl_Cut(_swigobj) (_swigobj->Cut()) | |
5306 | static PyObject *_wrap_wxStyledTextCtrl_Cut(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5307 | PyObject * _resultobj; | |
5308 | wxStyledTextCtrl * _arg0; | |
5309 | PyObject * _argo0 = 0; | |
5310 | char *_kwnames[] = { "self", NULL }; | |
5311 | ||
5312 | self = self; | |
5313 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_Cut",_kwnames,&_argo0)) | |
5314 | return NULL; | |
5315 | if (_argo0) { | |
5316 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5317 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
5318 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_Cut. Expected _wxStyledTextCtrl_p."); | |
5319 | return NULL; | |
5320 | } | |
5321 | } | |
5322 | { | |
474c48f9 | 5323 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 5324 | wxStyledTextCtrl_Cut(_arg0); |
89c8ea73 | 5325 | |
474c48f9 RD |
5326 | wxPyEndAllowThreads(__tstate); |
5327 | if (PyErr_Occurred()) return NULL; | |
89c8ea73 RD |
5328 | } Py_INCREF(Py_None); |
5329 | _resultobj = Py_None; | |
5330 | return _resultobj; | |
5331 | } | |
5332 | ||
5333 | #define wxStyledTextCtrl_Copy(_swigobj) (_swigobj->Copy()) | |
5334 | static PyObject *_wrap_wxStyledTextCtrl_Copy(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5335 | PyObject * _resultobj; | |
5336 | wxStyledTextCtrl * _arg0; | |
5337 | PyObject * _argo0 = 0; | |
5338 | char *_kwnames[] = { "self", NULL }; | |
5339 | ||
5340 | self = self; | |
5341 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_Copy",_kwnames,&_argo0)) | |
5342 | return NULL; | |
5343 | if (_argo0) { | |
5344 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5345 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
5346 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_Copy. Expected _wxStyledTextCtrl_p."); | |
5347 | return NULL; | |
5348 | } | |
5349 | } | |
5350 | { | |
474c48f9 | 5351 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 5352 | wxStyledTextCtrl_Copy(_arg0); |
89c8ea73 | 5353 | |
474c48f9 RD |
5354 | wxPyEndAllowThreads(__tstate); |
5355 | if (PyErr_Occurred()) return NULL; | |
89c8ea73 RD |
5356 | } Py_INCREF(Py_None); |
5357 | _resultobj = Py_None; | |
5358 | return _resultobj; | |
5359 | } | |
5360 | ||
5361 | #define wxStyledTextCtrl_Paste(_swigobj) (_swigobj->Paste()) | |
5362 | static PyObject *_wrap_wxStyledTextCtrl_Paste(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5363 | PyObject * _resultobj; | |
5364 | wxStyledTextCtrl * _arg0; | |
5365 | PyObject * _argo0 = 0; | |
5366 | char *_kwnames[] = { "self", NULL }; | |
5367 | ||
5368 | self = self; | |
5369 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_Paste",_kwnames,&_argo0)) | |
5370 | return NULL; | |
5371 | if (_argo0) { | |
5372 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5373 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
5374 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_Paste. Expected _wxStyledTextCtrl_p."); | |
5375 | return NULL; | |
5376 | } | |
5377 | } | |
5378 | { | |
474c48f9 | 5379 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 5380 | wxStyledTextCtrl_Paste(_arg0); |
89c8ea73 | 5381 | |
474c48f9 RD |
5382 | wxPyEndAllowThreads(__tstate); |
5383 | if (PyErr_Occurred()) return NULL; | |
89c8ea73 RD |
5384 | } Py_INCREF(Py_None); |
5385 | _resultobj = Py_None; | |
5386 | return _resultobj; | |
5387 | } | |
5388 | ||
5389 | #define wxStyledTextCtrl_Clear(_swigobj) (_swigobj->Clear()) | |
5390 | static PyObject *_wrap_wxStyledTextCtrl_Clear(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5391 | PyObject * _resultobj; | |
5392 | wxStyledTextCtrl * _arg0; | |
5393 | PyObject * _argo0 = 0; | |
5394 | char *_kwnames[] = { "self", NULL }; | |
5395 | ||
5396 | self = self; | |
5397 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_Clear",_kwnames,&_argo0)) | |
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_Clear. Expected _wxStyledTextCtrl_p."); | |
5403 | return NULL; | |
5404 | } | |
5405 | } | |
5406 | { | |
474c48f9 | 5407 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 5408 | wxStyledTextCtrl_Clear(_arg0); |
89c8ea73 | 5409 | |
474c48f9 RD |
5410 | wxPyEndAllowThreads(__tstate); |
5411 | if (PyErr_Occurred()) return NULL; | |
89c8ea73 RD |
5412 | } Py_INCREF(Py_None); |
5413 | _resultobj = Py_None; | |
5414 | return _resultobj; | |
5415 | } | |
5416 | ||
5417 | #define wxStyledTextCtrl_SetText(_swigobj,_swigarg0) (_swigobj->SetText(_swigarg0)) | |
5418 | static PyObject *_wrap_wxStyledTextCtrl_SetText(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5419 | PyObject * _resultobj; | |
5420 | wxStyledTextCtrl * _arg0; | |
5421 | wxString * _arg1; | |
5422 | PyObject * _argo0 = 0; | |
5423 | PyObject * _obj1 = 0; | |
5424 | char *_kwnames[] = { "self","text", NULL }; | |
5425 | ||
5426 | self = self; | |
5427 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxStyledTextCtrl_SetText",_kwnames,&_argo0,&_obj1)) | |
5428 | return NULL; | |
5429 | if (_argo0) { | |
5430 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5431 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
5432 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetText. Expected _wxStyledTextCtrl_p."); | |
5433 | return NULL; | |
5434 | } | |
5435 | } | |
5436 | { | |
c8bc7bb8 RD |
5437 | _arg1 = wxString_in_helper(_obj1); |
5438 | if (_arg1 == NULL) | |
89c8ea73 | 5439 | return NULL; |
89c8ea73 RD |
5440 | } |
5441 | { | |
474c48f9 | 5442 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 5443 | wxStyledTextCtrl_SetText(_arg0,*_arg1); |
89c8ea73 | 5444 | |
474c48f9 RD |
5445 | wxPyEndAllowThreads(__tstate); |
5446 | if (PyErr_Occurred()) return NULL; | |
89c8ea73 RD |
5447 | } Py_INCREF(Py_None); |
5448 | _resultobj = Py_None; | |
5449 | { | |
5450 | if (_obj1) | |
5451 | delete _arg1; | |
5452 | } | |
5453 | return _resultobj; | |
5454 | } | |
5455 | ||
5456 | #define wxStyledTextCtrl_GetText(_swigobj) (_swigobj->GetText()) | |
5457 | static PyObject *_wrap_wxStyledTextCtrl_GetText(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5458 | PyObject * _resultobj; | |
5459 | wxString * _result; | |
5460 | wxStyledTextCtrl * _arg0; | |
5461 | PyObject * _argo0 = 0; | |
5462 | char *_kwnames[] = { "self", NULL }; | |
5463 | ||
5464 | self = self; | |
5465 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetText",_kwnames,&_argo0)) | |
5466 | return NULL; | |
5467 | if (_argo0) { | |
5468 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5469 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
5470 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetText. Expected _wxStyledTextCtrl_p."); | |
5471 | return NULL; | |
5472 | } | |
5473 | } | |
5474 | { | |
474c48f9 | 5475 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 5476 | _result = new wxString (wxStyledTextCtrl_GetText(_arg0)); |
89c8ea73 | 5477 | |
474c48f9 RD |
5478 | wxPyEndAllowThreads(__tstate); |
5479 | if (PyErr_Occurred()) return NULL; | |
89c8ea73 | 5480 | }{ |
c8bc7bb8 RD |
5481 | #if wxUSE_UNICODE |
5482 | _resultobj = PyUnicode_FromUnicode(_result->c_str(), _result->Len()); | |
5483 | #else | |
89c8ea73 | 5484 | _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len()); |
c8bc7bb8 | 5485 | #endif |
89c8ea73 RD |
5486 | } |
5487 | { | |
5488 | delete _result; | |
5489 | } | |
5490 | return _resultobj; | |
5491 | } | |
5492 | ||
5493 | #define wxStyledTextCtrl_GetTextLength(_swigobj) (_swigobj->GetTextLength()) | |
5494 | static PyObject *_wrap_wxStyledTextCtrl_GetTextLength(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5495 | PyObject * _resultobj; | |
5496 | int _result; | |
5497 | wxStyledTextCtrl * _arg0; | |
5498 | PyObject * _argo0 = 0; | |
5499 | char *_kwnames[] = { "self", NULL }; | |
5500 | ||
5501 | self = self; | |
5502 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetTextLength",_kwnames,&_argo0)) | |
5503 | return NULL; | |
5504 | if (_argo0) { | |
5505 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5506 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
5507 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetTextLength. Expected _wxStyledTextCtrl_p."); | |
5508 | return NULL; | |
5509 | } | |
5510 | } | |
5511 | { | |
474c48f9 | 5512 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 5513 | _result = (int )wxStyledTextCtrl_GetTextLength(_arg0); |
89c8ea73 | 5514 | |
474c48f9 RD |
5515 | wxPyEndAllowThreads(__tstate); |
5516 | if (PyErr_Occurred()) return NULL; | |
89c8ea73 RD |
5517 | } _resultobj = Py_BuildValue("i",_result); |
5518 | return _resultobj; | |
5519 | } | |
5520 | ||
5521 | #define wxStyledTextCtrl_SetOvertype(_swigobj,_swigarg0) (_swigobj->SetOvertype(_swigarg0)) | |
5522 | static PyObject *_wrap_wxStyledTextCtrl_SetOvertype(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5523 | PyObject * _resultobj; | |
5524 | wxStyledTextCtrl * _arg0; | |
5525 | bool _arg1; | |
5526 | PyObject * _argo0 = 0; | |
5527 | int tempbool1; | |
5528 | char *_kwnames[] = { "self","overtype", NULL }; | |
5529 | ||
5530 | self = self; | |
5531 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_SetOvertype",_kwnames,&_argo0,&tempbool1)) | |
5532 | return NULL; | |
5533 | if (_argo0) { | |
5534 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5535 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
5536 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetOvertype. Expected _wxStyledTextCtrl_p."); | |
5537 | return NULL; | |
5538 | } | |
5539 | } | |
5540 | _arg1 = (bool ) tempbool1; | |
5541 | { | |
474c48f9 | 5542 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 5543 | wxStyledTextCtrl_SetOvertype(_arg0,_arg1); |
89c8ea73 | 5544 | |
474c48f9 RD |
5545 | wxPyEndAllowThreads(__tstate); |
5546 | if (PyErr_Occurred()) return NULL; | |
89c8ea73 RD |
5547 | } Py_INCREF(Py_None); |
5548 | _resultobj = Py_None; | |
5549 | return _resultobj; | |
5550 | } | |
5551 | ||
5552 | #define wxStyledTextCtrl_GetOvertype(_swigobj) (_swigobj->GetOvertype()) | |
5553 | static PyObject *_wrap_wxStyledTextCtrl_GetOvertype(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5554 | PyObject * _resultobj; | |
5555 | bool _result; | |
5556 | wxStyledTextCtrl * _arg0; | |
5557 | PyObject * _argo0 = 0; | |
5558 | char *_kwnames[] = { "self", NULL }; | |
5559 | ||
5560 | self = self; | |
5561 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetOvertype",_kwnames,&_argo0)) | |
5562 | return NULL; | |
5563 | if (_argo0) { | |
5564 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5565 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
5566 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetOvertype. Expected _wxStyledTextCtrl_p."); | |
5567 | return NULL; | |
5568 | } | |
5569 | } | |
5570 | { | |
474c48f9 | 5571 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 5572 | _result = (bool )wxStyledTextCtrl_GetOvertype(_arg0); |
89c8ea73 | 5573 | |
474c48f9 RD |
5574 | wxPyEndAllowThreads(__tstate); |
5575 | if (PyErr_Occurred()) return NULL; | |
89c8ea73 RD |
5576 | } _resultobj = Py_BuildValue("i",_result); |
5577 | return _resultobj; | |
5578 | } | |
5579 | ||
5580 | #define wxStyledTextCtrl_SetCaretWidth(_swigobj,_swigarg0) (_swigobj->SetCaretWidth(_swigarg0)) | |
5581 | static PyObject *_wrap_wxStyledTextCtrl_SetCaretWidth(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5582 | PyObject * _resultobj; | |
5583 | wxStyledTextCtrl * _arg0; | |
5584 | int _arg1; | |
5585 | PyObject * _argo0 = 0; | |
5586 | char *_kwnames[] = { "self","pixelWidth", NULL }; | |
5587 | ||
5588 | self = self; | |
5589 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_SetCaretWidth",_kwnames,&_argo0,&_arg1)) | |
5590 | return NULL; | |
5591 | if (_argo0) { | |
5592 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5593 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
5594 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetCaretWidth. Expected _wxStyledTextCtrl_p."); | |
5595 | return NULL; | |
5596 | } | |
5597 | } | |
5598 | { | |
474c48f9 | 5599 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 5600 | wxStyledTextCtrl_SetCaretWidth(_arg0,_arg1); |
89c8ea73 | 5601 | |
474c48f9 RD |
5602 | wxPyEndAllowThreads(__tstate); |
5603 | if (PyErr_Occurred()) return NULL; | |
89c8ea73 RD |
5604 | } Py_INCREF(Py_None); |
5605 | _resultobj = Py_None; | |
5606 | return _resultobj; | |
5607 | } | |
5608 | ||
5609 | #define wxStyledTextCtrl_GetCaretWidth(_swigobj) (_swigobj->GetCaretWidth()) | |
5610 | static PyObject *_wrap_wxStyledTextCtrl_GetCaretWidth(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5611 | PyObject * _resultobj; | |
5612 | int _result; | |
5613 | wxStyledTextCtrl * _arg0; | |
5614 | PyObject * _argo0 = 0; | |
5615 | char *_kwnames[] = { "self", NULL }; | |
5616 | ||
5617 | self = self; | |
5618 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetCaretWidth",_kwnames,&_argo0)) | |
5619 | return NULL; | |
5620 | if (_argo0) { | |
5621 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5622 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
5623 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetCaretWidth. Expected _wxStyledTextCtrl_p."); | |
5624 | return NULL; | |
5625 | } | |
5626 | } | |
5627 | { | |
474c48f9 | 5628 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 5629 | _result = (int )wxStyledTextCtrl_GetCaretWidth(_arg0); |
89c8ea73 | 5630 | |
474c48f9 RD |
5631 | wxPyEndAllowThreads(__tstate); |
5632 | if (PyErr_Occurred()) return NULL; | |
89c8ea73 RD |
5633 | } _resultobj = Py_BuildValue("i",_result); |
5634 | return _resultobj; | |
5635 | } | |
5636 | ||
5637 | #define wxStyledTextCtrl_SetTargetStart(_swigobj,_swigarg0) (_swigobj->SetTargetStart(_swigarg0)) | |
5638 | static PyObject *_wrap_wxStyledTextCtrl_SetTargetStart(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5639 | PyObject * _resultobj; | |
5640 | wxStyledTextCtrl * _arg0; | |
5641 | int _arg1; | |
5642 | PyObject * _argo0 = 0; | |
5643 | char *_kwnames[] = { "self","pos", NULL }; | |
5644 | ||
5645 | self = self; | |
5646 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_SetTargetStart",_kwnames,&_argo0,&_arg1)) | |
5647 | return NULL; | |
5648 | if (_argo0) { | |
5649 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5650 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
5651 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetTargetStart. Expected _wxStyledTextCtrl_p."); | |
5652 | return NULL; | |
5653 | } | |
5654 | } | |
5655 | { | |
474c48f9 | 5656 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 5657 | wxStyledTextCtrl_SetTargetStart(_arg0,_arg1); |
89c8ea73 | 5658 | |
474c48f9 RD |
5659 | wxPyEndAllowThreads(__tstate); |
5660 | if (PyErr_Occurred()) return NULL; | |
89c8ea73 RD |
5661 | } Py_INCREF(Py_None); |
5662 | _resultobj = Py_None; | |
5663 | return _resultobj; | |
5664 | } | |
5665 | ||
5666 | #define wxStyledTextCtrl_GetTargetStart(_swigobj) (_swigobj->GetTargetStart()) | |
5667 | static PyObject *_wrap_wxStyledTextCtrl_GetTargetStart(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5668 | PyObject * _resultobj; | |
5669 | int _result; | |
5670 | wxStyledTextCtrl * _arg0; | |
5671 | PyObject * _argo0 = 0; | |
5672 | char *_kwnames[] = { "self", NULL }; | |
5673 | ||
5674 | self = self; | |
5675 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetTargetStart",_kwnames,&_argo0)) | |
5676 | return NULL; | |
5677 | if (_argo0) { | |
5678 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5679 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
5680 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetTargetStart. Expected _wxStyledTextCtrl_p."); | |
5681 | return NULL; | |
5682 | } | |
5683 | } | |
5684 | { | |
474c48f9 | 5685 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 5686 | _result = (int )wxStyledTextCtrl_GetTargetStart(_arg0); |
89c8ea73 | 5687 | |
474c48f9 RD |
5688 | wxPyEndAllowThreads(__tstate); |
5689 | if (PyErr_Occurred()) return NULL; | |
89c8ea73 RD |
5690 | } _resultobj = Py_BuildValue("i",_result); |
5691 | return _resultobj; | |
5692 | } | |
5693 | ||
5694 | #define wxStyledTextCtrl_SetTargetEnd(_swigobj,_swigarg0) (_swigobj->SetTargetEnd(_swigarg0)) | |
5695 | static PyObject *_wrap_wxStyledTextCtrl_SetTargetEnd(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5696 | PyObject * _resultobj; | |
5697 | wxStyledTextCtrl * _arg0; | |
5698 | int _arg1; | |
5699 | PyObject * _argo0 = 0; | |
5700 | char *_kwnames[] = { "self","pos", NULL }; | |
5701 | ||
5702 | self = self; | |
5703 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_SetTargetEnd",_kwnames,&_argo0,&_arg1)) | |
5704 | return NULL; | |
5705 | if (_argo0) { | |
5706 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5707 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
5708 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetTargetEnd. Expected _wxStyledTextCtrl_p."); | |
5709 | return NULL; | |
5710 | } | |
5711 | } | |
5712 | { | |
474c48f9 | 5713 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 5714 | wxStyledTextCtrl_SetTargetEnd(_arg0,_arg1); |
89c8ea73 | 5715 | |
474c48f9 RD |
5716 | wxPyEndAllowThreads(__tstate); |
5717 | if (PyErr_Occurred()) return NULL; | |
89c8ea73 RD |
5718 | } Py_INCREF(Py_None); |
5719 | _resultobj = Py_None; | |
5720 | return _resultobj; | |
5721 | } | |
5722 | ||
5723 | #define wxStyledTextCtrl_GetTargetEnd(_swigobj) (_swigobj->GetTargetEnd()) | |
5724 | static PyObject *_wrap_wxStyledTextCtrl_GetTargetEnd(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5725 | PyObject * _resultobj; | |
5726 | int _result; | |
5727 | wxStyledTextCtrl * _arg0; | |
5728 | PyObject * _argo0 = 0; | |
5729 | char *_kwnames[] = { "self", NULL }; | |
5730 | ||
5731 | self = self; | |
5732 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetTargetEnd",_kwnames,&_argo0)) | |
5733 | return NULL; | |
5734 | if (_argo0) { | |
5735 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5736 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
5737 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetTargetEnd. Expected _wxStyledTextCtrl_p."); | |
5738 | return NULL; | |
5739 | } | |
5740 | } | |
5741 | { | |
474c48f9 | 5742 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 5743 | _result = (int )wxStyledTextCtrl_GetTargetEnd(_arg0); |
89c8ea73 | 5744 | |
474c48f9 RD |
5745 | wxPyEndAllowThreads(__tstate); |
5746 | if (PyErr_Occurred()) return NULL; | |
89c8ea73 RD |
5747 | } _resultobj = Py_BuildValue("i",_result); |
5748 | return _resultobj; | |
5749 | } | |
5750 | ||
5751 | #define wxStyledTextCtrl_ReplaceTarget(_swigobj,_swigarg0) (_swigobj->ReplaceTarget(_swigarg0)) | |
5752 | static PyObject *_wrap_wxStyledTextCtrl_ReplaceTarget(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5753 | PyObject * _resultobj; | |
5754 | int _result; | |
5755 | wxStyledTextCtrl * _arg0; | |
5756 | wxString * _arg1; | |
5757 | PyObject * _argo0 = 0; | |
5758 | PyObject * _obj1 = 0; | |
5759 | char *_kwnames[] = { "self","text", NULL }; | |
5760 | ||
5761 | self = self; | |
5762 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxStyledTextCtrl_ReplaceTarget",_kwnames,&_argo0,&_obj1)) | |
5763 | return NULL; | |
5764 | if (_argo0) { | |
5765 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5766 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
5767 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_ReplaceTarget. Expected _wxStyledTextCtrl_p."); | |
5768 | return NULL; | |
5769 | } | |
5770 | } | |
5771 | { | |
c8bc7bb8 RD |
5772 | _arg1 = wxString_in_helper(_obj1); |
5773 | if (_arg1 == NULL) | |
89c8ea73 | 5774 | return NULL; |
89c8ea73 RD |
5775 | } |
5776 | { | |
474c48f9 | 5777 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 5778 | _result = (int )wxStyledTextCtrl_ReplaceTarget(_arg0,*_arg1); |
89c8ea73 | 5779 | |
474c48f9 RD |
5780 | wxPyEndAllowThreads(__tstate); |
5781 | if (PyErr_Occurred()) return NULL; | |
89c8ea73 RD |
5782 | } _resultobj = Py_BuildValue("i",_result); |
5783 | { | |
5784 | if (_obj1) | |
5785 | delete _arg1; | |
5786 | } | |
5787 | return _resultobj; | |
5788 | } | |
5789 | ||
5790 | #define wxStyledTextCtrl_ReplaceTargetRE(_swigobj,_swigarg0) (_swigobj->ReplaceTargetRE(_swigarg0)) | |
5791 | static PyObject *_wrap_wxStyledTextCtrl_ReplaceTargetRE(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5792 | PyObject * _resultobj; | |
5793 | int _result; | |
5794 | wxStyledTextCtrl * _arg0; | |
5795 | wxString * _arg1; | |
5796 | PyObject * _argo0 = 0; | |
5797 | PyObject * _obj1 = 0; | |
5798 | char *_kwnames[] = { "self","text", NULL }; | |
5799 | ||
5800 | self = self; | |
5801 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxStyledTextCtrl_ReplaceTargetRE",_kwnames,&_argo0,&_obj1)) | |
5802 | return NULL; | |
5803 | if (_argo0) { | |
5804 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5805 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
5806 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_ReplaceTargetRE. Expected _wxStyledTextCtrl_p."); | |
5807 | return NULL; | |
5808 | } | |
5809 | } | |
5810 | { | |
c8bc7bb8 RD |
5811 | _arg1 = wxString_in_helper(_obj1); |
5812 | if (_arg1 == NULL) | |
89c8ea73 | 5813 | return NULL; |
89c8ea73 RD |
5814 | } |
5815 | { | |
474c48f9 | 5816 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 5817 | _result = (int )wxStyledTextCtrl_ReplaceTargetRE(_arg0,*_arg1); |
89c8ea73 | 5818 | |
474c48f9 RD |
5819 | wxPyEndAllowThreads(__tstate); |
5820 | if (PyErr_Occurred()) return NULL; | |
89c8ea73 RD |
5821 | } _resultobj = Py_BuildValue("i",_result); |
5822 | { | |
5823 | if (_obj1) | |
5824 | delete _arg1; | |
5825 | } | |
5826 | return _resultobj; | |
5827 | } | |
5828 | ||
5829 | #define wxStyledTextCtrl_SearchInTarget(_swigobj,_swigarg0) (_swigobj->SearchInTarget(_swigarg0)) | |
5830 | static PyObject *_wrap_wxStyledTextCtrl_SearchInTarget(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5831 | PyObject * _resultobj; | |
5832 | int _result; | |
5833 | wxStyledTextCtrl * _arg0; | |
5834 | wxString * _arg1; | |
5835 | PyObject * _argo0 = 0; | |
5836 | PyObject * _obj1 = 0; | |
5837 | char *_kwnames[] = { "self","text", NULL }; | |
5838 | ||
5839 | self = self; | |
5840 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxStyledTextCtrl_SearchInTarget",_kwnames,&_argo0,&_obj1)) | |
5841 | return NULL; | |
5842 | if (_argo0) { | |
5843 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5844 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
5845 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SearchInTarget. Expected _wxStyledTextCtrl_p."); | |
5846 | return NULL; | |
5847 | } | |
5848 | } | |
5849 | { | |
c8bc7bb8 RD |
5850 | _arg1 = wxString_in_helper(_obj1); |
5851 | if (_arg1 == NULL) | |
89c8ea73 | 5852 | return NULL; |
89c8ea73 RD |
5853 | } |
5854 | { | |
474c48f9 | 5855 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 5856 | _result = (int )wxStyledTextCtrl_SearchInTarget(_arg0,*_arg1); |
89c8ea73 | 5857 | |
474c48f9 RD |
5858 | wxPyEndAllowThreads(__tstate); |
5859 | if (PyErr_Occurred()) return NULL; | |
89c8ea73 RD |
5860 | } _resultobj = Py_BuildValue("i",_result); |
5861 | { | |
5862 | if (_obj1) | |
5863 | delete _arg1; | |
5864 | } | |
5865 | return _resultobj; | |
5866 | } | |
5867 | ||
5868 | #define wxStyledTextCtrl_SetSearchFlags(_swigobj,_swigarg0) (_swigobj->SetSearchFlags(_swigarg0)) | |
5869 | static PyObject *_wrap_wxStyledTextCtrl_SetSearchFlags(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5870 | PyObject * _resultobj; | |
5871 | wxStyledTextCtrl * _arg0; | |
5872 | int _arg1; | |
5873 | PyObject * _argo0 = 0; | |
5874 | char *_kwnames[] = { "self","flags", NULL }; | |
5875 | ||
5876 | self = self; | |
5877 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_SetSearchFlags",_kwnames,&_argo0,&_arg1)) | |
5878 | return NULL; | |
5879 | if (_argo0) { | |
5880 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5881 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
5882 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetSearchFlags. Expected _wxStyledTextCtrl_p."); | |
5883 | return NULL; | |
5884 | } | |
5885 | } | |
5886 | { | |
474c48f9 | 5887 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 5888 | wxStyledTextCtrl_SetSearchFlags(_arg0,_arg1); |
89c8ea73 | 5889 | |
474c48f9 RD |
5890 | wxPyEndAllowThreads(__tstate); |
5891 | if (PyErr_Occurred()) return NULL; | |
89c8ea73 RD |
5892 | } Py_INCREF(Py_None); |
5893 | _resultobj = Py_None; | |
5894 | return _resultobj; | |
5895 | } | |
5896 | ||
5897 | #define wxStyledTextCtrl_GetSearchFlags(_swigobj) (_swigobj->GetSearchFlags()) | |
5898 | static PyObject *_wrap_wxStyledTextCtrl_GetSearchFlags(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5899 | PyObject * _resultobj; | |
5900 | int _result; | |
5901 | wxStyledTextCtrl * _arg0; | |
5902 | PyObject * _argo0 = 0; | |
5903 | char *_kwnames[] = { "self", NULL }; | |
5904 | ||
5905 | self = self; | |
5906 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetSearchFlags",_kwnames,&_argo0)) | |
5907 | return NULL; | |
5908 | if (_argo0) { | |
5909 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5910 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
5911 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetSearchFlags. Expected _wxStyledTextCtrl_p."); | |
5912 | return NULL; | |
5913 | } | |
5914 | } | |
5915 | { | |
474c48f9 | 5916 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 5917 | _result = (int )wxStyledTextCtrl_GetSearchFlags(_arg0); |
89c8ea73 | 5918 | |
474c48f9 RD |
5919 | wxPyEndAllowThreads(__tstate); |
5920 | if (PyErr_Occurred()) return NULL; | |
89c8ea73 RD |
5921 | } _resultobj = Py_BuildValue("i",_result); |
5922 | return _resultobj; | |
5923 | } | |
5924 | ||
5925 | #define wxStyledTextCtrl_CallTipShow(_swigobj,_swigarg0,_swigarg1) (_swigobj->CallTipShow(_swigarg0,_swigarg1)) | |
5926 | static PyObject *_wrap_wxStyledTextCtrl_CallTipShow(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5927 | PyObject * _resultobj; | |
5928 | wxStyledTextCtrl * _arg0; | |
5929 | int _arg1; | |
5930 | wxString * _arg2; | |
5931 | PyObject * _argo0 = 0; | |
5932 | PyObject * _obj2 = 0; | |
5933 | char *_kwnames[] = { "self","pos","definition", NULL }; | |
5934 | ||
5935 | self = self; | |
5936 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxStyledTextCtrl_CallTipShow",_kwnames,&_argo0,&_arg1,&_obj2)) | |
5937 | return NULL; | |
5938 | if (_argo0) { | |
5939 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5940 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
5941 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_CallTipShow. Expected _wxStyledTextCtrl_p."); | |
5942 | return NULL; | |
5943 | } | |
5944 | } | |
5945 | { | |
c8bc7bb8 RD |
5946 | _arg2 = wxString_in_helper(_obj2); |
5947 | if (_arg2 == NULL) | |
89c8ea73 | 5948 | return NULL; |
89c8ea73 RD |
5949 | } |
5950 | { | |
474c48f9 | 5951 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 5952 | wxStyledTextCtrl_CallTipShow(_arg0,_arg1,*_arg2); |
89c8ea73 | 5953 | |
474c48f9 RD |
5954 | wxPyEndAllowThreads(__tstate); |
5955 | if (PyErr_Occurred()) return NULL; | |
89c8ea73 RD |
5956 | } Py_INCREF(Py_None); |
5957 | _resultobj = Py_None; | |
5958 | { | |
5959 | if (_obj2) | |
5960 | delete _arg2; | |
5961 | } | |
5962 | return _resultobj; | |
5963 | } | |
5964 | ||
5965 | #define wxStyledTextCtrl_CallTipCancel(_swigobj) (_swigobj->CallTipCancel()) | |
5966 | static PyObject *_wrap_wxStyledTextCtrl_CallTipCancel(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5967 | PyObject * _resultobj; | |
5968 | wxStyledTextCtrl * _arg0; | |
5969 | PyObject * _argo0 = 0; | |
5970 | char *_kwnames[] = { "self", NULL }; | |
5971 | ||
5972 | self = self; | |
5973 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_CallTipCancel",_kwnames,&_argo0)) | |
5974 | return NULL; | |
5975 | if (_argo0) { | |
5976 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5977 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
5978 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_CallTipCancel. Expected _wxStyledTextCtrl_p."); | |
5979 | return NULL; | |
5980 | } | |
5981 | } | |
5982 | { | |
474c48f9 | 5983 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 5984 | wxStyledTextCtrl_CallTipCancel(_arg0); |
89c8ea73 | 5985 | |
474c48f9 RD |
5986 | wxPyEndAllowThreads(__tstate); |
5987 | if (PyErr_Occurred()) return NULL; | |
89c8ea73 RD |
5988 | } Py_INCREF(Py_None); |
5989 | _resultobj = Py_None; | |
5990 | return _resultobj; | |
5991 | } | |
5992 | ||
5993 | #define wxStyledTextCtrl_CallTipActive(_swigobj) (_swigobj->CallTipActive()) | |
5994 | static PyObject *_wrap_wxStyledTextCtrl_CallTipActive(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5995 | PyObject * _resultobj; | |
5996 | bool _result; | |
5997 | wxStyledTextCtrl * _arg0; | |
5998 | PyObject * _argo0 = 0; | |
5999 | char *_kwnames[] = { "self", NULL }; | |
6000 | ||
6001 | self = self; | |
6002 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_CallTipActive",_kwnames,&_argo0)) | |
6003 | return NULL; | |
6004 | if (_argo0) { | |
6005 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6006 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
6007 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_CallTipActive. Expected _wxStyledTextCtrl_p."); | |
6008 | return NULL; | |
6009 | } | |
6010 | } | |
6011 | { | |
474c48f9 | 6012 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 6013 | _result = (bool )wxStyledTextCtrl_CallTipActive(_arg0); |
89c8ea73 | 6014 | |
474c48f9 RD |
6015 | wxPyEndAllowThreads(__tstate); |
6016 | if (PyErr_Occurred()) return NULL; | |
89c8ea73 RD |
6017 | } _resultobj = Py_BuildValue("i",_result); |
6018 | return _resultobj; | |
6019 | } | |
6020 | ||
6021 | #define wxStyledTextCtrl_CallTipPosAtStart(_swigobj) (_swigobj->CallTipPosAtStart()) | |
6022 | static PyObject *_wrap_wxStyledTextCtrl_CallTipPosAtStart(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6023 | PyObject * _resultobj; | |
6024 | int _result; | |
6025 | wxStyledTextCtrl * _arg0; | |
6026 | PyObject * _argo0 = 0; | |
6027 | char *_kwnames[] = { "self", NULL }; | |
6028 | ||
6029 | self = self; | |
6030 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_CallTipPosAtStart",_kwnames,&_argo0)) | |
6031 | return NULL; | |
6032 | if (_argo0) { | |
6033 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6034 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
6035 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_CallTipPosAtStart. Expected _wxStyledTextCtrl_p."); | |
6036 | return NULL; | |
6037 | } | |
6038 | } | |
6039 | { | |
474c48f9 | 6040 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 6041 | _result = (int )wxStyledTextCtrl_CallTipPosAtStart(_arg0); |
89c8ea73 | 6042 | |
474c48f9 RD |
6043 | wxPyEndAllowThreads(__tstate); |
6044 | if (PyErr_Occurred()) return NULL; | |
89c8ea73 RD |
6045 | } _resultobj = Py_BuildValue("i",_result); |
6046 | return _resultobj; | |
6047 | } | |
6048 | ||
6049 | #define wxStyledTextCtrl_CallTipSetHighlight(_swigobj,_swigarg0,_swigarg1) (_swigobj->CallTipSetHighlight(_swigarg0,_swigarg1)) | |
6050 | static PyObject *_wrap_wxStyledTextCtrl_CallTipSetHighlight(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6051 | PyObject * _resultobj; | |
6052 | wxStyledTextCtrl * _arg0; | |
6053 | int _arg1; | |
6054 | int _arg2; | |
6055 | PyObject * _argo0 = 0; | |
6056 | char *_kwnames[] = { "self","start","end", NULL }; | |
6057 | ||
6058 | self = self; | |
6059 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxStyledTextCtrl_CallTipSetHighlight",_kwnames,&_argo0,&_arg1,&_arg2)) | |
6060 | return NULL; | |
6061 | if (_argo0) { | |
6062 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6063 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
6064 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_CallTipSetHighlight. Expected _wxStyledTextCtrl_p."); | |
6065 | return NULL; | |
6066 | } | |
6067 | } | |
6068 | { | |
474c48f9 | 6069 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 6070 | wxStyledTextCtrl_CallTipSetHighlight(_arg0,_arg1,_arg2); |
89c8ea73 | 6071 | |
474c48f9 RD |
6072 | wxPyEndAllowThreads(__tstate); |
6073 | if (PyErr_Occurred()) return NULL; | |
89c8ea73 RD |
6074 | } Py_INCREF(Py_None); |
6075 | _resultobj = Py_None; | |
6076 | return _resultobj; | |
6077 | } | |
6078 | ||
6079 | #define wxStyledTextCtrl_CallTipSetBackground(_swigobj,_swigarg0) (_swigobj->CallTipSetBackground(_swigarg0)) | |
6080 | static PyObject *_wrap_wxStyledTextCtrl_CallTipSetBackground(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6081 | PyObject * _resultobj; | |
6082 | wxStyledTextCtrl * _arg0; | |
6083 | wxColour * _arg1; | |
6084 | PyObject * _argo0 = 0; | |
6085 | wxColour temp; | |
6086 | PyObject * _obj1 = 0; | |
6087 | char *_kwnames[] = { "self","back", NULL }; | |
6088 | ||
6089 | self = self; | |
6090 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxStyledTextCtrl_CallTipSetBackground",_kwnames,&_argo0,&_obj1)) | |
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_CallTipSetBackground. Expected _wxStyledTextCtrl_p."); | |
6096 | return NULL; | |
6097 | } | |
6098 | } | |
6099 | { | |
6100 | _arg1 = &temp; | |
6101 | if (! wxColour_helper(_obj1, &_arg1)) | |
6102 | return NULL; | |
6103 | } | |
6104 | { | |
474c48f9 | 6105 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 6106 | wxStyledTextCtrl_CallTipSetBackground(_arg0,*_arg1); |
89c8ea73 | 6107 | |
474c48f9 RD |
6108 | wxPyEndAllowThreads(__tstate); |
6109 | if (PyErr_Occurred()) return NULL; | |
89c8ea73 RD |
6110 | } Py_INCREF(Py_None); |
6111 | _resultobj = Py_None; | |
6112 | return _resultobj; | |
6113 | } | |
6114 | ||
6115 | #define wxStyledTextCtrl_VisibleFromDocLine(_swigobj,_swigarg0) (_swigobj->VisibleFromDocLine(_swigarg0)) | |
6116 | static PyObject *_wrap_wxStyledTextCtrl_VisibleFromDocLine(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6117 | PyObject * _resultobj; | |
6118 | int _result; | |
6119 | wxStyledTextCtrl * _arg0; | |
6120 | int _arg1; | |
6121 | PyObject * _argo0 = 0; | |
6122 | char *_kwnames[] = { "self","line", NULL }; | |
6123 | ||
6124 | self = self; | |
6125 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_VisibleFromDocLine",_kwnames,&_argo0,&_arg1)) | |
6126 | return NULL; | |
6127 | if (_argo0) { | |
6128 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6129 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
6130 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_VisibleFromDocLine. Expected _wxStyledTextCtrl_p."); | |
6131 | return NULL; | |
6132 | } | |
6133 | } | |
6134 | { | |
474c48f9 | 6135 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 6136 | _result = (int )wxStyledTextCtrl_VisibleFromDocLine(_arg0,_arg1); |
89c8ea73 | 6137 | |
474c48f9 RD |
6138 | wxPyEndAllowThreads(__tstate); |
6139 | if (PyErr_Occurred()) return NULL; | |
89c8ea73 RD |
6140 | } _resultobj = Py_BuildValue("i",_result); |
6141 | return _resultobj; | |
6142 | } | |
6143 | ||
6144 | #define wxStyledTextCtrl_DocLineFromVisible(_swigobj,_swigarg0) (_swigobj->DocLineFromVisible(_swigarg0)) | |
6145 | static PyObject *_wrap_wxStyledTextCtrl_DocLineFromVisible(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6146 | PyObject * _resultobj; | |
6147 | int _result; | |
6148 | wxStyledTextCtrl * _arg0; | |
6149 | int _arg1; | |
6150 | PyObject * _argo0 = 0; | |
6151 | char *_kwnames[] = { "self","lineDisplay", NULL }; | |
6152 | ||
6153 | self = self; | |
6154 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_DocLineFromVisible",_kwnames,&_argo0,&_arg1)) | |
6155 | return NULL; | |
6156 | if (_argo0) { | |
6157 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6158 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
6159 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_DocLineFromVisible. Expected _wxStyledTextCtrl_p."); | |
6160 | return NULL; | |
6161 | } | |
6162 | } | |
6163 | { | |
474c48f9 | 6164 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 6165 | _result = (int )wxStyledTextCtrl_DocLineFromVisible(_arg0,_arg1); |
89c8ea73 | 6166 | |
474c48f9 RD |
6167 | wxPyEndAllowThreads(__tstate); |
6168 | if (PyErr_Occurred()) return NULL; | |
89c8ea73 RD |
6169 | } _resultobj = Py_BuildValue("i",_result); |
6170 | return _resultobj; | |
6171 | } | |
6172 | ||
6173 | #define wxStyledTextCtrl_SetFoldLevel(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetFoldLevel(_swigarg0,_swigarg1)) | |
6174 | static PyObject *_wrap_wxStyledTextCtrl_SetFoldLevel(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6175 | PyObject * _resultobj; | |
6176 | wxStyledTextCtrl * _arg0; | |
6177 | int _arg1; | |
6178 | int _arg2; | |
6179 | PyObject * _argo0 = 0; | |
6180 | char *_kwnames[] = { "self","line","level", NULL }; | |
6181 | ||
6182 | self = self; | |
6183 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxStyledTextCtrl_SetFoldLevel",_kwnames,&_argo0,&_arg1,&_arg2)) | |
6184 | return NULL; | |
6185 | if (_argo0) { | |
6186 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6187 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
6188 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetFoldLevel. Expected _wxStyledTextCtrl_p."); | |
6189 | return NULL; | |
6190 | } | |
6191 | } | |
6192 | { | |
474c48f9 | 6193 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 6194 | wxStyledTextCtrl_SetFoldLevel(_arg0,_arg1,_arg2); |
89c8ea73 | 6195 | |
474c48f9 RD |
6196 | wxPyEndAllowThreads(__tstate); |
6197 | if (PyErr_Occurred()) return NULL; | |
89c8ea73 RD |
6198 | } Py_INCREF(Py_None); |
6199 | _resultobj = Py_None; | |
6200 | return _resultobj; | |
6201 | } | |
6202 | ||
6203 | #define wxStyledTextCtrl_GetFoldLevel(_swigobj,_swigarg0) (_swigobj->GetFoldLevel(_swigarg0)) | |
6204 | static PyObject *_wrap_wxStyledTextCtrl_GetFoldLevel(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6205 | PyObject * _resultobj; | |
6206 | int _result; | |
6207 | wxStyledTextCtrl * _arg0; | |
6208 | int _arg1; | |
6209 | PyObject * _argo0 = 0; | |
6210 | char *_kwnames[] = { "self","line", NULL }; | |
6211 | ||
6212 | self = self; | |
6213 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_GetFoldLevel",_kwnames,&_argo0,&_arg1)) | |
6214 | return NULL; | |
6215 | if (_argo0) { | |
6216 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6217 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
6218 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetFoldLevel. Expected _wxStyledTextCtrl_p."); | |
6219 | return NULL; | |
6220 | } | |
6221 | } | |
6222 | { | |
474c48f9 | 6223 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 6224 | _result = (int )wxStyledTextCtrl_GetFoldLevel(_arg0,_arg1); |
89c8ea73 | 6225 | |
474c48f9 RD |
6226 | wxPyEndAllowThreads(__tstate); |
6227 | if (PyErr_Occurred()) return NULL; | |
89c8ea73 RD |
6228 | } _resultobj = Py_BuildValue("i",_result); |
6229 | return _resultobj; | |
6230 | } | |
6231 | ||
6232 | #define wxStyledTextCtrl_GetLastChild(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetLastChild(_swigarg0,_swigarg1)) | |
6233 | static PyObject *_wrap_wxStyledTextCtrl_GetLastChild(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6234 | PyObject * _resultobj; | |
6235 | int _result; | |
6236 | wxStyledTextCtrl * _arg0; | |
6237 | int _arg1; | |
6238 | int _arg2; | |
6239 | PyObject * _argo0 = 0; | |
6240 | char *_kwnames[] = { "self","line","level", NULL }; | |
6241 | ||
6242 | self = self; | |
6243 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxStyledTextCtrl_GetLastChild",_kwnames,&_argo0,&_arg1,&_arg2)) | |
6244 | return NULL; | |
6245 | if (_argo0) { | |
6246 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6247 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
6248 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetLastChild. Expected _wxStyledTextCtrl_p."); | |
6249 | return NULL; | |
6250 | } | |
6251 | } | |
6252 | { | |
474c48f9 | 6253 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 6254 | _result = (int )wxStyledTextCtrl_GetLastChild(_arg0,_arg1,_arg2); |
89c8ea73 | 6255 | |
474c48f9 RD |
6256 | wxPyEndAllowThreads(__tstate); |
6257 | if (PyErr_Occurred()) return NULL; | |
89c8ea73 RD |
6258 | } _resultobj = Py_BuildValue("i",_result); |
6259 | return _resultobj; | |
6260 | } | |
6261 | ||
6262 | #define wxStyledTextCtrl_GetFoldParent(_swigobj,_swigarg0) (_swigobj->GetFoldParent(_swigarg0)) | |
6263 | static PyObject *_wrap_wxStyledTextCtrl_GetFoldParent(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6264 | PyObject * _resultobj; | |
6265 | int _result; | |
6266 | wxStyledTextCtrl * _arg0; | |
6267 | int _arg1; | |
6268 | PyObject * _argo0 = 0; | |
6269 | char *_kwnames[] = { "self","line", NULL }; | |
6270 | ||
6271 | self = self; | |
6272 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_GetFoldParent",_kwnames,&_argo0,&_arg1)) | |
6273 | return NULL; | |
6274 | if (_argo0) { | |
6275 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6276 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
6277 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetFoldParent. Expected _wxStyledTextCtrl_p."); | |
6278 | return NULL; | |
6279 | } | |
6280 | } | |
6281 | { | |
474c48f9 | 6282 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 6283 | _result = (int )wxStyledTextCtrl_GetFoldParent(_arg0,_arg1); |
89c8ea73 | 6284 | |
474c48f9 RD |
6285 | wxPyEndAllowThreads(__tstate); |
6286 | if (PyErr_Occurred()) return NULL; | |
89c8ea73 RD |
6287 | } _resultobj = Py_BuildValue("i",_result); |
6288 | return _resultobj; | |
6289 | } | |
6290 | ||
6291 | #define wxStyledTextCtrl_ShowLines(_swigobj,_swigarg0,_swigarg1) (_swigobj->ShowLines(_swigarg0,_swigarg1)) | |
6292 | static PyObject *_wrap_wxStyledTextCtrl_ShowLines(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6293 | PyObject * _resultobj; | |
6294 | wxStyledTextCtrl * _arg0; | |
6295 | int _arg1; | |
6296 | int _arg2; | |
6297 | PyObject * _argo0 = 0; | |
6298 | char *_kwnames[] = { "self","lineStart","lineEnd", NULL }; | |
6299 | ||
6300 | self = self; | |
6301 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxStyledTextCtrl_ShowLines",_kwnames,&_argo0,&_arg1,&_arg2)) | |
6302 | return NULL; | |
6303 | if (_argo0) { | |
6304 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6305 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
6306 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_ShowLines. Expected _wxStyledTextCtrl_p."); | |
6307 | return NULL; | |
6308 | } | |
6309 | } | |
6310 | { | |
474c48f9 | 6311 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 6312 | wxStyledTextCtrl_ShowLines(_arg0,_arg1,_arg2); |
89c8ea73 | 6313 | |
474c48f9 RD |
6314 | wxPyEndAllowThreads(__tstate); |
6315 | if (PyErr_Occurred()) return NULL; | |
89c8ea73 RD |
6316 | } Py_INCREF(Py_None); |
6317 | _resultobj = Py_None; | |
6318 | return _resultobj; | |
6319 | } | |
6320 | ||
6321 | #define wxStyledTextCtrl_HideLines(_swigobj,_swigarg0,_swigarg1) (_swigobj->HideLines(_swigarg0,_swigarg1)) | |
6322 | static PyObject *_wrap_wxStyledTextCtrl_HideLines(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6323 | PyObject * _resultobj; | |
6324 | wxStyledTextCtrl * _arg0; | |
6325 | int _arg1; | |
6326 | int _arg2; | |
6327 | PyObject * _argo0 = 0; | |
6328 | char *_kwnames[] = { "self","lineStart","lineEnd", NULL }; | |
6329 | ||
6330 | self = self; | |
6331 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxStyledTextCtrl_HideLines",_kwnames,&_argo0,&_arg1,&_arg2)) | |
6332 | return NULL; | |
6333 | if (_argo0) { | |
6334 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6335 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
6336 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_HideLines. Expected _wxStyledTextCtrl_p."); | |
6337 | return NULL; | |
6338 | } | |
6339 | } | |
6340 | { | |
474c48f9 | 6341 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 6342 | wxStyledTextCtrl_HideLines(_arg0,_arg1,_arg2); |
89c8ea73 | 6343 | |
474c48f9 RD |
6344 | wxPyEndAllowThreads(__tstate); |
6345 | if (PyErr_Occurred()) return NULL; | |
89c8ea73 RD |
6346 | } Py_INCREF(Py_None); |
6347 | _resultobj = Py_None; | |
6348 | return _resultobj; | |
6349 | } | |
6350 | ||
6351 | #define wxStyledTextCtrl_GetLineVisible(_swigobj,_swigarg0) (_swigobj->GetLineVisible(_swigarg0)) | |
6352 | static PyObject *_wrap_wxStyledTextCtrl_GetLineVisible(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6353 | PyObject * _resultobj; | |
6354 | bool _result; | |
6355 | wxStyledTextCtrl * _arg0; | |
6356 | int _arg1; | |
6357 | PyObject * _argo0 = 0; | |
6358 | char *_kwnames[] = { "self","line", NULL }; | |
6359 | ||
6360 | self = self; | |
6361 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_GetLineVisible",_kwnames,&_argo0,&_arg1)) | |
6362 | return NULL; | |
6363 | if (_argo0) { | |
6364 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6365 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
6366 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetLineVisible. Expected _wxStyledTextCtrl_p."); | |
6367 | return NULL; | |
6368 | } | |
6369 | } | |
6370 | { | |
474c48f9 | 6371 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 6372 | _result = (bool )wxStyledTextCtrl_GetLineVisible(_arg0,_arg1); |
89c8ea73 | 6373 | |
474c48f9 RD |
6374 | wxPyEndAllowThreads(__tstate); |
6375 | if (PyErr_Occurred()) return NULL; | |
89c8ea73 RD |
6376 | } _resultobj = Py_BuildValue("i",_result); |
6377 | return _resultobj; | |
6378 | } | |
6379 | ||
6380 | #define wxStyledTextCtrl_SetFoldExpanded(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetFoldExpanded(_swigarg0,_swigarg1)) | |
6381 | static PyObject *_wrap_wxStyledTextCtrl_SetFoldExpanded(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6382 | PyObject * _resultobj; | |
6383 | wxStyledTextCtrl * _arg0; | |
6384 | int _arg1; | |
6385 | bool _arg2; | |
6386 | PyObject * _argo0 = 0; | |
6387 | int tempbool2; | |
6388 | char *_kwnames[] = { "self","line","expanded", NULL }; | |
6389 | ||
6390 | self = self; | |
6391 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxStyledTextCtrl_SetFoldExpanded",_kwnames,&_argo0,&_arg1,&tempbool2)) | |
6392 | return NULL; | |
6393 | if (_argo0) { | |
6394 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6395 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
6396 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetFoldExpanded. Expected _wxStyledTextCtrl_p."); | |
6397 | return NULL; | |
6398 | } | |
6399 | } | |
6400 | _arg2 = (bool ) tempbool2; | |
6401 | { | |
474c48f9 | 6402 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 6403 | wxStyledTextCtrl_SetFoldExpanded(_arg0,_arg1,_arg2); |
89c8ea73 | 6404 | |
474c48f9 RD |
6405 | wxPyEndAllowThreads(__tstate); |
6406 | if (PyErr_Occurred()) return NULL; | |
89c8ea73 RD |
6407 | } Py_INCREF(Py_None); |
6408 | _resultobj = Py_None; | |
6409 | return _resultobj; | |
6410 | } | |
6411 | ||
6412 | #define wxStyledTextCtrl_GetFoldExpanded(_swigobj,_swigarg0) (_swigobj->GetFoldExpanded(_swigarg0)) | |
6413 | static PyObject *_wrap_wxStyledTextCtrl_GetFoldExpanded(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6414 | PyObject * _resultobj; | |
6415 | bool _result; | |
6416 | wxStyledTextCtrl * _arg0; | |
6417 | int _arg1; | |
6418 | PyObject * _argo0 = 0; | |
6419 | char *_kwnames[] = { "self","line", NULL }; | |
6420 | ||
6421 | self = self; | |
6422 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_GetFoldExpanded",_kwnames,&_argo0,&_arg1)) | |
6423 | return NULL; | |
6424 | if (_argo0) { | |
6425 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6426 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
6427 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetFoldExpanded. Expected _wxStyledTextCtrl_p."); | |
6428 | return NULL; | |
6429 | } | |
6430 | } | |
6431 | { | |
474c48f9 | 6432 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 6433 | _result = (bool )wxStyledTextCtrl_GetFoldExpanded(_arg0,_arg1); |
89c8ea73 | 6434 | |
474c48f9 RD |
6435 | wxPyEndAllowThreads(__tstate); |
6436 | if (PyErr_Occurred()) return NULL; | |
89c8ea73 RD |
6437 | } _resultobj = Py_BuildValue("i",_result); |
6438 | return _resultobj; | |
6439 | } | |
6440 | ||
6441 | #define wxStyledTextCtrl_ToggleFold(_swigobj,_swigarg0) (_swigobj->ToggleFold(_swigarg0)) | |
6442 | static PyObject *_wrap_wxStyledTextCtrl_ToggleFold(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6443 | PyObject * _resultobj; | |
6444 | wxStyledTextCtrl * _arg0; | |
6445 | int _arg1; | |
6446 | PyObject * _argo0 = 0; | |
6447 | char *_kwnames[] = { "self","line", NULL }; | |
6448 | ||
6449 | self = self; | |
6450 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_ToggleFold",_kwnames,&_argo0,&_arg1)) | |
6451 | return NULL; | |
6452 | if (_argo0) { | |
6453 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6454 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
6455 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_ToggleFold. Expected _wxStyledTextCtrl_p."); | |
6456 | return NULL; | |
6457 | } | |
6458 | } | |
6459 | { | |
474c48f9 | 6460 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 6461 | wxStyledTextCtrl_ToggleFold(_arg0,_arg1); |
89c8ea73 | 6462 | |
474c48f9 RD |
6463 | wxPyEndAllowThreads(__tstate); |
6464 | if (PyErr_Occurred()) return NULL; | |
89c8ea73 RD |
6465 | } Py_INCREF(Py_None); |
6466 | _resultobj = Py_None; | |
6467 | return _resultobj; | |
6468 | } | |
6469 | ||
6470 | #define wxStyledTextCtrl_EnsureVisible(_swigobj,_swigarg0) (_swigobj->EnsureVisible(_swigarg0)) | |
6471 | static PyObject *_wrap_wxStyledTextCtrl_EnsureVisible(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6472 | PyObject * _resultobj; | |
6473 | wxStyledTextCtrl * _arg0; | |
6474 | int _arg1; | |
6475 | PyObject * _argo0 = 0; | |
6476 | char *_kwnames[] = { "self","line", NULL }; | |
6477 | ||
6478 | self = self; | |
6479 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_EnsureVisible",_kwnames,&_argo0,&_arg1)) | |
6480 | return NULL; | |
6481 | if (_argo0) { | |
6482 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6483 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
6484 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_EnsureVisible. Expected _wxStyledTextCtrl_p."); | |
6485 | return NULL; | |
6486 | } | |
6487 | } | |
6488 | { | |
474c48f9 | 6489 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 6490 | wxStyledTextCtrl_EnsureVisible(_arg0,_arg1); |
89c8ea73 | 6491 | |
474c48f9 RD |
6492 | wxPyEndAllowThreads(__tstate); |
6493 | if (PyErr_Occurred()) return NULL; | |
89c8ea73 RD |
6494 | } Py_INCREF(Py_None); |
6495 | _resultobj = Py_None; | |
6496 | return _resultobj; | |
6497 | } | |
6498 | ||
6499 | #define wxStyledTextCtrl_SetFoldFlags(_swigobj,_swigarg0) (_swigobj->SetFoldFlags(_swigarg0)) | |
6500 | static PyObject *_wrap_wxStyledTextCtrl_SetFoldFlags(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6501 | PyObject * _resultobj; | |
6502 | wxStyledTextCtrl * _arg0; | |
6503 | int _arg1; | |
6504 | PyObject * _argo0 = 0; | |
6505 | char *_kwnames[] = { "self","flags", NULL }; | |
6506 | ||
6507 | self = self; | |
6508 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_SetFoldFlags",_kwnames,&_argo0,&_arg1)) | |
6509 | return NULL; | |
6510 | if (_argo0) { | |
6511 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6512 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
6513 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetFoldFlags. Expected _wxStyledTextCtrl_p."); | |
6514 | return NULL; | |
6515 | } | |
6516 | } | |
6517 | { | |
474c48f9 | 6518 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 6519 | wxStyledTextCtrl_SetFoldFlags(_arg0,_arg1); |
89c8ea73 | 6520 | |
474c48f9 RD |
6521 | wxPyEndAllowThreads(__tstate); |
6522 | if (PyErr_Occurred()) return NULL; | |
89c8ea73 RD |
6523 | } Py_INCREF(Py_None); |
6524 | _resultobj = Py_None; | |
6525 | return _resultobj; | |
6526 | } | |
6527 | ||
6528 | #define wxStyledTextCtrl_EnsureVisibleEnforcePolicy(_swigobj,_swigarg0) (_swigobj->EnsureVisibleEnforcePolicy(_swigarg0)) | |
6529 | static PyObject *_wrap_wxStyledTextCtrl_EnsureVisibleEnforcePolicy(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6530 | PyObject * _resultobj; | |
6531 | wxStyledTextCtrl * _arg0; | |
6532 | int _arg1; | |
6533 | PyObject * _argo0 = 0; | |
6534 | char *_kwnames[] = { "self","line", NULL }; | |
6535 | ||
6536 | self = self; | |
6537 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_EnsureVisibleEnforcePolicy",_kwnames,&_argo0,&_arg1)) | |
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_EnsureVisibleEnforcePolicy. Expected _wxStyledTextCtrl_p."); | |
6543 | return NULL; | |
6544 | } | |
6545 | } | |
6546 | { | |
474c48f9 | 6547 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 6548 | wxStyledTextCtrl_EnsureVisibleEnforcePolicy(_arg0,_arg1); |
89c8ea73 | 6549 | |
474c48f9 RD |
6550 | wxPyEndAllowThreads(__tstate); |
6551 | if (PyErr_Occurred()) return NULL; | |
89c8ea73 RD |
6552 | } Py_INCREF(Py_None); |
6553 | _resultobj = Py_None; | |
6554 | return _resultobj; | |
6555 | } | |
6556 | ||
6557 | #define wxStyledTextCtrl_SetTabIndents(_swigobj,_swigarg0) (_swigobj->SetTabIndents(_swigarg0)) | |
6558 | static PyObject *_wrap_wxStyledTextCtrl_SetTabIndents(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6559 | PyObject * _resultobj; | |
6560 | wxStyledTextCtrl * _arg0; | |
6561 | bool _arg1; | |
6562 | PyObject * _argo0 = 0; | |
6563 | int tempbool1; | |
6564 | char *_kwnames[] = { "self","tabIndents", NULL }; | |
6565 | ||
6566 | self = self; | |
6567 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_SetTabIndents",_kwnames,&_argo0,&tempbool1)) | |
6568 | return NULL; | |
6569 | if (_argo0) { | |
6570 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6571 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
6572 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetTabIndents. Expected _wxStyledTextCtrl_p."); | |
6573 | return NULL; | |
6574 | } | |
6575 | } | |
6576 | _arg1 = (bool ) tempbool1; | |
6577 | { | |
474c48f9 | 6578 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 6579 | wxStyledTextCtrl_SetTabIndents(_arg0,_arg1); |
89c8ea73 | 6580 | |
474c48f9 RD |
6581 | wxPyEndAllowThreads(__tstate); |
6582 | if (PyErr_Occurred()) return NULL; | |
89c8ea73 RD |
6583 | } Py_INCREF(Py_None); |
6584 | _resultobj = Py_None; | |
6585 | return _resultobj; | |
6586 | } | |
6587 | ||
6588 | #define wxStyledTextCtrl_GetTabIndents(_swigobj) (_swigobj->GetTabIndents()) | |
6589 | static PyObject *_wrap_wxStyledTextCtrl_GetTabIndents(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6590 | PyObject * _resultobj; | |
6591 | bool _result; | |
6592 | wxStyledTextCtrl * _arg0; | |
6593 | PyObject * _argo0 = 0; | |
6594 | char *_kwnames[] = { "self", NULL }; | |
6595 | ||
6596 | self = self; | |
6597 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetTabIndents",_kwnames,&_argo0)) | |
6598 | return NULL; | |
6599 | if (_argo0) { | |
6600 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6601 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
6602 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetTabIndents. Expected _wxStyledTextCtrl_p."); | |
6603 | return NULL; | |
6604 | } | |
6605 | } | |
6606 | { | |
474c48f9 | 6607 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 6608 | _result = (bool )wxStyledTextCtrl_GetTabIndents(_arg0); |
89c8ea73 | 6609 | |
474c48f9 RD |
6610 | wxPyEndAllowThreads(__tstate); |
6611 | if (PyErr_Occurred()) return NULL; | |
89c8ea73 RD |
6612 | } _resultobj = Py_BuildValue("i",_result); |
6613 | return _resultobj; | |
6614 | } | |
6615 | ||
6616 | #define wxStyledTextCtrl_SetBackSpaceUnIndents(_swigobj,_swigarg0) (_swigobj->SetBackSpaceUnIndents(_swigarg0)) | |
6617 | static PyObject *_wrap_wxStyledTextCtrl_SetBackSpaceUnIndents(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6618 | PyObject * _resultobj; | |
6619 | wxStyledTextCtrl * _arg0; | |
6620 | bool _arg1; | |
6621 | PyObject * _argo0 = 0; | |
6622 | int tempbool1; | |
6623 | char *_kwnames[] = { "self","bsUnIndents", NULL }; | |
6624 | ||
6625 | self = self; | |
6626 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_SetBackSpaceUnIndents",_kwnames,&_argo0,&tempbool1)) | |
6627 | return NULL; | |
6628 | if (_argo0) { | |
6629 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6630 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
6631 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetBackSpaceUnIndents. Expected _wxStyledTextCtrl_p."); | |
6632 | return NULL; | |
6633 | } | |
6634 | } | |
6635 | _arg1 = (bool ) tempbool1; | |
6636 | { | |
474c48f9 | 6637 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 6638 | wxStyledTextCtrl_SetBackSpaceUnIndents(_arg0,_arg1); |
89c8ea73 | 6639 | |
474c48f9 RD |
6640 | wxPyEndAllowThreads(__tstate); |
6641 | if (PyErr_Occurred()) return NULL; | |
89c8ea73 RD |
6642 | } Py_INCREF(Py_None); |
6643 | _resultobj = Py_None; | |
6644 | return _resultobj; | |
6645 | } | |
6646 | ||
6647 | #define wxStyledTextCtrl_GetBackSpaceUnIndents(_swigobj) (_swigobj->GetBackSpaceUnIndents()) | |
6648 | static PyObject *_wrap_wxStyledTextCtrl_GetBackSpaceUnIndents(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6649 | PyObject * _resultobj; | |
6650 | bool _result; | |
6651 | wxStyledTextCtrl * _arg0; | |
6652 | PyObject * _argo0 = 0; | |
6653 | char *_kwnames[] = { "self", NULL }; | |
6654 | ||
6655 | self = self; | |
6656 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetBackSpaceUnIndents",_kwnames,&_argo0)) | |
6657 | return NULL; | |
6658 | if (_argo0) { | |
6659 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6660 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
6661 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetBackSpaceUnIndents. Expected _wxStyledTextCtrl_p."); | |
6662 | return NULL; | |
6663 | } | |
6664 | } | |
6665 | { | |
474c48f9 | 6666 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 6667 | _result = (bool )wxStyledTextCtrl_GetBackSpaceUnIndents(_arg0); |
89c8ea73 | 6668 | |
474c48f9 RD |
6669 | wxPyEndAllowThreads(__tstate); |
6670 | if (PyErr_Occurred()) return NULL; | |
89c8ea73 RD |
6671 | } _resultobj = Py_BuildValue("i",_result); |
6672 | return _resultobj; | |
6673 | } | |
6674 | ||
6675 | #define wxStyledTextCtrl_SetMouseDwellTime(_swigobj,_swigarg0) (_swigobj->SetMouseDwellTime(_swigarg0)) | |
6676 | static PyObject *_wrap_wxStyledTextCtrl_SetMouseDwellTime(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6677 | PyObject * _resultobj; | |
6678 | wxStyledTextCtrl * _arg0; | |
6679 | int _arg1; | |
6680 | PyObject * _argo0 = 0; | |
6681 | char *_kwnames[] = { "self","periodMilliseconds", NULL }; | |
6682 | ||
6683 | self = self; | |
6684 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_SetMouseDwellTime",_kwnames,&_argo0,&_arg1)) | |
6685 | return NULL; | |
6686 | if (_argo0) { | |
6687 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6688 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
6689 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetMouseDwellTime. Expected _wxStyledTextCtrl_p."); | |
6690 | return NULL; | |
6691 | } | |
6692 | } | |
6693 | { | |
474c48f9 | 6694 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 6695 | wxStyledTextCtrl_SetMouseDwellTime(_arg0,_arg1); |
89c8ea73 | 6696 | |
474c48f9 RD |
6697 | wxPyEndAllowThreads(__tstate); |
6698 | if (PyErr_Occurred()) return NULL; | |
89c8ea73 RD |
6699 | } Py_INCREF(Py_None); |
6700 | _resultobj = Py_None; | |
6701 | return _resultobj; | |
6702 | } | |
6703 | ||
6704 | #define wxStyledTextCtrl_GetMouseDwellTime(_swigobj) (_swigobj->GetMouseDwellTime()) | |
6705 | static PyObject *_wrap_wxStyledTextCtrl_GetMouseDwellTime(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6706 | PyObject * _resultobj; | |
6707 | int _result; | |
6708 | wxStyledTextCtrl * _arg0; | |
6709 | PyObject * _argo0 = 0; | |
6710 | char *_kwnames[] = { "self", NULL }; | |
6711 | ||
6712 | self = self; | |
6713 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetMouseDwellTime",_kwnames,&_argo0)) | |
6714 | return NULL; | |
6715 | if (_argo0) { | |
6716 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6717 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
6718 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetMouseDwellTime. Expected _wxStyledTextCtrl_p."); | |
6719 | return NULL; | |
6720 | } | |
6721 | } | |
6722 | { | |
474c48f9 | 6723 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 6724 | _result = (int )wxStyledTextCtrl_GetMouseDwellTime(_arg0); |
89c8ea73 | 6725 | |
474c48f9 RD |
6726 | wxPyEndAllowThreads(__tstate); |
6727 | if (PyErr_Occurred()) return NULL; | |
89c8ea73 RD |
6728 | } _resultobj = Py_BuildValue("i",_result); |
6729 | return _resultobj; | |
6730 | } | |
6731 | ||
a884bee5 RD |
6732 | #define wxStyledTextCtrl_WordStartPosition(_swigobj,_swigarg0,_swigarg1) (_swigobj->WordStartPosition(_swigarg0,_swigarg1)) |
6733 | static PyObject *_wrap_wxStyledTextCtrl_WordStartPosition(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6734 | PyObject * _resultobj; | |
6735 | int _result; | |
6736 | wxStyledTextCtrl * _arg0; | |
6737 | int _arg1; | |
6738 | bool _arg2; | |
6739 | PyObject * _argo0 = 0; | |
6740 | int tempbool2; | |
6741 | char *_kwnames[] = { "self","pos","onlyWordCharacters", NULL }; | |
6742 | ||
6743 | self = self; | |
6744 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxStyledTextCtrl_WordStartPosition",_kwnames,&_argo0,&_arg1,&tempbool2)) | |
6745 | return NULL; | |
6746 | if (_argo0) { | |
6747 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6748 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
6749 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_WordStartPosition. Expected _wxStyledTextCtrl_p."); | |
6750 | return NULL; | |
6751 | } | |
6752 | } | |
6753 | _arg2 = (bool ) tempbool2; | |
6754 | { | |
6755 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6756 | _result = (int )wxStyledTextCtrl_WordStartPosition(_arg0,_arg1,_arg2); | |
6757 | ||
6758 | wxPyEndAllowThreads(__tstate); | |
6759 | if (PyErr_Occurred()) return NULL; | |
6760 | } _resultobj = Py_BuildValue("i",_result); | |
6761 | return _resultobj; | |
6762 | } | |
6763 | ||
6764 | #define wxStyledTextCtrl_WordEndPosition(_swigobj,_swigarg0,_swigarg1) (_swigobj->WordEndPosition(_swigarg0,_swigarg1)) | |
6765 | static PyObject *_wrap_wxStyledTextCtrl_WordEndPosition(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6766 | PyObject * _resultobj; | |
6767 | int _result; | |
6768 | wxStyledTextCtrl * _arg0; | |
6769 | int _arg1; | |
6770 | bool _arg2; | |
6771 | PyObject * _argo0 = 0; | |
6772 | int tempbool2; | |
6773 | char *_kwnames[] = { "self","pos","onlyWordCharacters", NULL }; | |
6774 | ||
6775 | self = self; | |
6776 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxStyledTextCtrl_WordEndPosition",_kwnames,&_argo0,&_arg1,&tempbool2)) | |
6777 | return NULL; | |
6778 | if (_argo0) { | |
6779 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6780 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
6781 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_WordEndPosition. Expected _wxStyledTextCtrl_p."); | |
6782 | return NULL; | |
6783 | } | |
6784 | } | |
6785 | _arg2 = (bool ) tempbool2; | |
6786 | { | |
6787 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6788 | _result = (int )wxStyledTextCtrl_WordEndPosition(_arg0,_arg1,_arg2); | |
6789 | ||
6790 | wxPyEndAllowThreads(__tstate); | |
6791 | if (PyErr_Occurred()) return NULL; | |
6792 | } _resultobj = Py_BuildValue("i",_result); | |
6793 | return _resultobj; | |
6794 | } | |
6795 | ||
6796 | #define wxStyledTextCtrl_SetWrapMode(_swigobj,_swigarg0) (_swigobj->SetWrapMode(_swigarg0)) | |
6797 | static PyObject *_wrap_wxStyledTextCtrl_SetWrapMode(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6798 | PyObject * _resultobj; | |
6799 | wxStyledTextCtrl * _arg0; | |
6800 | int _arg1; | |
6801 | PyObject * _argo0 = 0; | |
6802 | char *_kwnames[] = { "self","mode", NULL }; | |
6803 | ||
6804 | self = self; | |
6805 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_SetWrapMode",_kwnames,&_argo0,&_arg1)) | |
6806 | return NULL; | |
6807 | if (_argo0) { | |
6808 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6809 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
6810 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetWrapMode. Expected _wxStyledTextCtrl_p."); | |
6811 | return NULL; | |
6812 | } | |
6813 | } | |
6814 | { | |
6815 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6816 | wxStyledTextCtrl_SetWrapMode(_arg0,_arg1); | |
6817 | ||
6818 | wxPyEndAllowThreads(__tstate); | |
6819 | if (PyErr_Occurred()) return NULL; | |
6820 | } Py_INCREF(Py_None); | |
6821 | _resultobj = Py_None; | |
6822 | return _resultobj; | |
6823 | } | |
6824 | ||
6825 | #define wxStyledTextCtrl_GetWrapMode(_swigobj) (_swigobj->GetWrapMode()) | |
6826 | static PyObject *_wrap_wxStyledTextCtrl_GetWrapMode(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6827 | PyObject * _resultobj; | |
6828 | int _result; | |
6829 | wxStyledTextCtrl * _arg0; | |
6830 | PyObject * _argo0 = 0; | |
6831 | char *_kwnames[] = { "self", NULL }; | |
6832 | ||
6833 | self = self; | |
6834 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetWrapMode",_kwnames,&_argo0)) | |
6835 | return NULL; | |
6836 | if (_argo0) { | |
6837 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6838 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
6839 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetWrapMode. Expected _wxStyledTextCtrl_p."); | |
6840 | return NULL; | |
6841 | } | |
6842 | } | |
6843 | { | |
6844 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6845 | _result = (int )wxStyledTextCtrl_GetWrapMode(_arg0); | |
6846 | ||
6847 | wxPyEndAllowThreads(__tstate); | |
6848 | if (PyErr_Occurred()) return NULL; | |
6849 | } _resultobj = Py_BuildValue("i",_result); | |
6850 | return _resultobj; | |
6851 | } | |
6852 | ||
6853 | #define wxStyledTextCtrl_SetLayoutCache(_swigobj,_swigarg0) (_swigobj->SetLayoutCache(_swigarg0)) | |
6854 | static PyObject *_wrap_wxStyledTextCtrl_SetLayoutCache(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6855 | PyObject * _resultobj; | |
6856 | wxStyledTextCtrl * _arg0; | |
6857 | int _arg1; | |
6858 | PyObject * _argo0 = 0; | |
6859 | char *_kwnames[] = { "self","mode", NULL }; | |
6860 | ||
6861 | self = self; | |
6862 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_SetLayoutCache",_kwnames,&_argo0,&_arg1)) | |
6863 | return NULL; | |
6864 | if (_argo0) { | |
6865 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6866 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
6867 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetLayoutCache. Expected _wxStyledTextCtrl_p."); | |
6868 | return NULL; | |
6869 | } | |
6870 | } | |
6871 | { | |
6872 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6873 | wxStyledTextCtrl_SetLayoutCache(_arg0,_arg1); | |
6874 | ||
6875 | wxPyEndAllowThreads(__tstate); | |
6876 | if (PyErr_Occurred()) return NULL; | |
6877 | } Py_INCREF(Py_None); | |
6878 | _resultobj = Py_None; | |
6879 | return _resultobj; | |
6880 | } | |
6881 | ||
6882 | #define wxStyledTextCtrl_GetLayoutCache(_swigobj) (_swigobj->GetLayoutCache()) | |
6883 | static PyObject *_wrap_wxStyledTextCtrl_GetLayoutCache(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6884 | PyObject * _resultobj; | |
6885 | int _result; | |
6886 | wxStyledTextCtrl * _arg0; | |
6887 | PyObject * _argo0 = 0; | |
6888 | char *_kwnames[] = { "self", NULL }; | |
6889 | ||
6890 | self = self; | |
6891 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetLayoutCache",_kwnames,&_argo0)) | |
6892 | return NULL; | |
6893 | if (_argo0) { | |
6894 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6895 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
6896 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetLayoutCache. Expected _wxStyledTextCtrl_p."); | |
6897 | return NULL; | |
6898 | } | |
6899 | } | |
6900 | { | |
6901 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6902 | _result = (int )wxStyledTextCtrl_GetLayoutCache(_arg0); | |
6903 | ||
6904 | wxPyEndAllowThreads(__tstate); | |
6905 | if (PyErr_Occurred()) return NULL; | |
6906 | } _resultobj = Py_BuildValue("i",_result); | |
6907 | return _resultobj; | |
6908 | } | |
6909 | ||
6910 | #define wxStyledTextCtrl_DeleteBackNotLine(_swigobj) (_swigobj->DeleteBackNotLine()) | |
6911 | static PyObject *_wrap_wxStyledTextCtrl_DeleteBackNotLine(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6912 | PyObject * _resultobj; | |
6913 | wxStyledTextCtrl * _arg0; | |
6914 | PyObject * _argo0 = 0; | |
6915 | char *_kwnames[] = { "self", NULL }; | |
6916 | ||
6917 | self = self; | |
6918 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_DeleteBackNotLine",_kwnames,&_argo0)) | |
6919 | return NULL; | |
6920 | if (_argo0) { | |
6921 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6922 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
6923 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_DeleteBackNotLine. Expected _wxStyledTextCtrl_p."); | |
6924 | return NULL; | |
6925 | } | |
6926 | } | |
6927 | { | |
6928 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6929 | wxStyledTextCtrl_DeleteBackNotLine(_arg0); | |
6930 | ||
6931 | wxPyEndAllowThreads(__tstate); | |
6932 | if (PyErr_Occurred()) return NULL; | |
6933 | } Py_INCREF(Py_None); | |
6934 | _resultobj = Py_None; | |
6935 | return _resultobj; | |
6936 | } | |
6937 | ||
89c8ea73 RD |
6938 | #define wxStyledTextCtrl_MoveCaretInsideView(_swigobj) (_swigobj->MoveCaretInsideView()) |
6939 | static PyObject *_wrap_wxStyledTextCtrl_MoveCaretInsideView(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6940 | PyObject * _resultobj; | |
6941 | wxStyledTextCtrl * _arg0; | |
6942 | PyObject * _argo0 = 0; | |
6943 | char *_kwnames[] = { "self", NULL }; | |
6944 | ||
6945 | self = self; | |
6946 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_MoveCaretInsideView",_kwnames,&_argo0)) | |
6947 | return NULL; | |
6948 | if (_argo0) { | |
6949 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6950 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
6951 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_MoveCaretInsideView. Expected _wxStyledTextCtrl_p."); | |
6952 | return NULL; | |
6953 | } | |
6954 | } | |
6955 | { | |
474c48f9 | 6956 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 6957 | wxStyledTextCtrl_MoveCaretInsideView(_arg0); |
89c8ea73 | 6958 | |
474c48f9 RD |
6959 | wxPyEndAllowThreads(__tstate); |
6960 | if (PyErr_Occurred()) return NULL; | |
89c8ea73 RD |
6961 | } Py_INCREF(Py_None); |
6962 | _resultobj = Py_None; | |
6963 | return _resultobj; | |
6964 | } | |
6965 | ||
6966 | #define wxStyledTextCtrl_LineLength(_swigobj,_swigarg0) (_swigobj->LineLength(_swigarg0)) | |
6967 | static PyObject *_wrap_wxStyledTextCtrl_LineLength(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6968 | PyObject * _resultobj; | |
6969 | int _result; | |
6970 | wxStyledTextCtrl * _arg0; | |
6971 | int _arg1; | |
6972 | PyObject * _argo0 = 0; | |
6973 | char *_kwnames[] = { "self","line", NULL }; | |
6974 | ||
6975 | self = self; | |
6976 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_LineLength",_kwnames,&_argo0,&_arg1)) | |
6977 | return NULL; | |
6978 | if (_argo0) { | |
6979 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6980 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
6981 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_LineLength. Expected _wxStyledTextCtrl_p."); | |
6982 | return NULL; | |
6983 | } | |
6984 | } | |
6985 | { | |
474c48f9 | 6986 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 6987 | _result = (int )wxStyledTextCtrl_LineLength(_arg0,_arg1); |
89c8ea73 | 6988 | |
474c48f9 RD |
6989 | wxPyEndAllowThreads(__tstate); |
6990 | if (PyErr_Occurred()) return NULL; | |
89c8ea73 RD |
6991 | } _resultobj = Py_BuildValue("i",_result); |
6992 | return _resultobj; | |
6993 | } | |
6994 | ||
6995 | #define wxStyledTextCtrl_BraceHighlight(_swigobj,_swigarg0,_swigarg1) (_swigobj->BraceHighlight(_swigarg0,_swigarg1)) | |
6996 | static PyObject *_wrap_wxStyledTextCtrl_BraceHighlight(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6997 | PyObject * _resultobj; | |
6998 | wxStyledTextCtrl * _arg0; | |
6999 | int _arg1; | |
7000 | int _arg2; | |
7001 | PyObject * _argo0 = 0; | |
7002 | char *_kwnames[] = { "self","pos1","pos2", NULL }; | |
7003 | ||
7004 | self = self; | |
7005 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxStyledTextCtrl_BraceHighlight",_kwnames,&_argo0,&_arg1,&_arg2)) | |
7006 | return NULL; | |
7007 | if (_argo0) { | |
7008 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7009 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
7010 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_BraceHighlight. Expected _wxStyledTextCtrl_p."); | |
7011 | return NULL; | |
7012 | } | |
7013 | } | |
7014 | { | |
474c48f9 | 7015 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 7016 | wxStyledTextCtrl_BraceHighlight(_arg0,_arg1,_arg2); |
89c8ea73 | 7017 | |
474c48f9 RD |
7018 | wxPyEndAllowThreads(__tstate); |
7019 | if (PyErr_Occurred()) return NULL; | |
89c8ea73 RD |
7020 | } Py_INCREF(Py_None); |
7021 | _resultobj = Py_None; | |
7022 | return _resultobj; | |
7023 | } | |
7024 | ||
7025 | #define wxStyledTextCtrl_BraceBadLight(_swigobj,_swigarg0) (_swigobj->BraceBadLight(_swigarg0)) | |
7026 | static PyObject *_wrap_wxStyledTextCtrl_BraceBadLight(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7027 | PyObject * _resultobj; | |
7028 | wxStyledTextCtrl * _arg0; | |
7029 | int _arg1; | |
7030 | PyObject * _argo0 = 0; | |
7031 | char *_kwnames[] = { "self","pos", NULL }; | |
7032 | ||
7033 | self = self; | |
7034 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_BraceBadLight",_kwnames,&_argo0,&_arg1)) | |
7035 | return NULL; | |
7036 | if (_argo0) { | |
7037 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7038 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
7039 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_BraceBadLight. Expected _wxStyledTextCtrl_p."); | |
7040 | return NULL; | |
7041 | } | |
7042 | } | |
7043 | { | |
474c48f9 | 7044 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 7045 | wxStyledTextCtrl_BraceBadLight(_arg0,_arg1); |
89c8ea73 | 7046 | |
474c48f9 RD |
7047 | wxPyEndAllowThreads(__tstate); |
7048 | if (PyErr_Occurred()) return NULL; | |
89c8ea73 RD |
7049 | } Py_INCREF(Py_None); |
7050 | _resultobj = Py_None; | |
7051 | return _resultobj; | |
7052 | } | |
7053 | ||
7054 | #define wxStyledTextCtrl_BraceMatch(_swigobj,_swigarg0) (_swigobj->BraceMatch(_swigarg0)) | |
7055 | static PyObject *_wrap_wxStyledTextCtrl_BraceMatch(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7056 | PyObject * _resultobj; | |
7057 | int _result; | |
7058 | wxStyledTextCtrl * _arg0; | |
7059 | int _arg1; | |
7060 | PyObject * _argo0 = 0; | |
7061 | char *_kwnames[] = { "self","pos", NULL }; | |
7062 | ||
7063 | self = self; | |
7064 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_BraceMatch",_kwnames,&_argo0,&_arg1)) | |
7065 | return NULL; | |
7066 | if (_argo0) { | |
7067 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7068 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
7069 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_BraceMatch. Expected _wxStyledTextCtrl_p."); | |
7070 | return NULL; | |
7071 | } | |
7072 | } | |
7073 | { | |
474c48f9 | 7074 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 7075 | _result = (int )wxStyledTextCtrl_BraceMatch(_arg0,_arg1); |
89c8ea73 | 7076 | |
474c48f9 RD |
7077 | wxPyEndAllowThreads(__tstate); |
7078 | if (PyErr_Occurred()) return NULL; | |
89c8ea73 RD |
7079 | } _resultobj = Py_BuildValue("i",_result); |
7080 | return _resultobj; | |
7081 | } | |
7082 | ||
7083 | #define wxStyledTextCtrl_GetViewEOL(_swigobj) (_swigobj->GetViewEOL()) | |
7084 | static PyObject *_wrap_wxStyledTextCtrl_GetViewEOL(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7085 | PyObject * _resultobj; | |
7086 | bool _result; | |
7087 | wxStyledTextCtrl * _arg0; | |
7088 | PyObject * _argo0 = 0; | |
7089 | char *_kwnames[] = { "self", NULL }; | |
7090 | ||
7091 | self = self; | |
7092 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetViewEOL",_kwnames,&_argo0)) | |
7093 | return NULL; | |
7094 | if (_argo0) { | |
7095 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7096 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
7097 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetViewEOL. Expected _wxStyledTextCtrl_p."); | |
7098 | return NULL; | |
7099 | } | |
7100 | } | |
7101 | { | |
474c48f9 | 7102 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 7103 | _result = (bool )wxStyledTextCtrl_GetViewEOL(_arg0); |
89c8ea73 | 7104 | |
474c48f9 RD |
7105 | wxPyEndAllowThreads(__tstate); |
7106 | if (PyErr_Occurred()) return NULL; | |
89c8ea73 RD |
7107 | } _resultobj = Py_BuildValue("i",_result); |
7108 | return _resultobj; | |
7109 | } | |
7110 | ||
7111 | #define wxStyledTextCtrl_SetViewEOL(_swigobj,_swigarg0) (_swigobj->SetViewEOL(_swigarg0)) | |
7112 | static PyObject *_wrap_wxStyledTextCtrl_SetViewEOL(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7113 | PyObject * _resultobj; | |
7114 | wxStyledTextCtrl * _arg0; | |
7115 | bool _arg1; | |
7116 | PyObject * _argo0 = 0; | |
7117 | int tempbool1; | |
7118 | char *_kwnames[] = { "self","visible", NULL }; | |
7119 | ||
7120 | self = self; | |
7121 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_SetViewEOL",_kwnames,&_argo0,&tempbool1)) | |
7122 | return NULL; | |
7123 | if (_argo0) { | |
7124 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7125 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
7126 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetViewEOL. Expected _wxStyledTextCtrl_p."); | |
7127 | return NULL; | |
7128 | } | |
7129 | } | |
7130 | _arg1 = (bool ) tempbool1; | |
7131 | { | |
474c48f9 | 7132 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 7133 | wxStyledTextCtrl_SetViewEOL(_arg0,_arg1); |
89c8ea73 | 7134 | |
474c48f9 RD |
7135 | wxPyEndAllowThreads(__tstate); |
7136 | if (PyErr_Occurred()) return NULL; | |
89c8ea73 RD |
7137 | } Py_INCREF(Py_None); |
7138 | _resultobj = Py_None; | |
7139 | return _resultobj; | |
7140 | } | |
7141 | ||
7142 | #define wxStyledTextCtrl_GetDocPointer(_swigobj) (_swigobj->GetDocPointer()) | |
7143 | static PyObject *_wrap_wxStyledTextCtrl_GetDocPointer(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7144 | PyObject * _resultobj; | |
7145 | void * _result; | |
7146 | wxStyledTextCtrl * _arg0; | |
7147 | PyObject * _argo0 = 0; | |
7148 | char *_kwnames[] = { "self", NULL }; | |
7149 | char _ptemp[128]; | |
7150 | ||
7151 | self = self; | |
7152 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetDocPointer",_kwnames,&_argo0)) | |
7153 | return NULL; | |
7154 | if (_argo0) { | |
7155 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7156 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
7157 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetDocPointer. Expected _wxStyledTextCtrl_p."); | |
7158 | return NULL; | |
7159 | } | |
7160 | } | |
7161 | { | |
474c48f9 | 7162 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 7163 | _result = (void *)wxStyledTextCtrl_GetDocPointer(_arg0); |
89c8ea73 | 7164 | |
474c48f9 RD |
7165 | wxPyEndAllowThreads(__tstate); |
7166 | if (PyErr_Occurred()) return NULL; | |
89c8ea73 RD |
7167 | } if (_result) { |
7168 | SWIG_MakePtr(_ptemp, (char *) _result,"_void_p"); | |
7169 | _resultobj = Py_BuildValue("s",_ptemp); | |
7170 | } else { | |
7171 | Py_INCREF(Py_None); | |
7172 | _resultobj = Py_None; | |
7173 | } | |
7174 | return _resultobj; | |
7175 | } | |
7176 | ||
7177 | #define wxStyledTextCtrl_SetDocPointer(_swigobj,_swigarg0) (_swigobj->SetDocPointer(_swigarg0)) | |
7178 | static PyObject *_wrap_wxStyledTextCtrl_SetDocPointer(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7179 | PyObject * _resultobj; | |
7180 | wxStyledTextCtrl * _arg0; | |
7181 | void * _arg1; | |
7182 | PyObject * _argo0 = 0; | |
7183 | PyObject * _argo1 = 0; | |
7184 | char *_kwnames[] = { "self","docPointer", NULL }; | |
7185 | ||
7186 | self = self; | |
7187 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxStyledTextCtrl_SetDocPointer",_kwnames,&_argo0,&_argo1)) | |
7188 | return NULL; | |
7189 | if (_argo0) { | |
7190 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7191 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
7192 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetDocPointer. Expected _wxStyledTextCtrl_p."); | |
7193 | return NULL; | |
7194 | } | |
7195 | } | |
7196 | if (_argo1) { | |
7197 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
7198 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,(char *) 0 )) { | |
7199 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxStyledTextCtrl_SetDocPointer. Expected _void_p."); | |
7200 | return NULL; | |
7201 | } | |
7202 | } | |
7203 | { | |
474c48f9 | 7204 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 7205 | wxStyledTextCtrl_SetDocPointer(_arg0,_arg1); |
89c8ea73 | 7206 | |
474c48f9 RD |
7207 | wxPyEndAllowThreads(__tstate); |
7208 | if (PyErr_Occurred()) return NULL; | |
89c8ea73 RD |
7209 | } Py_INCREF(Py_None); |
7210 | _resultobj = Py_None; | |
7211 | return _resultobj; | |
7212 | } | |
7213 | ||
7214 | #define wxStyledTextCtrl_SetModEventMask(_swigobj,_swigarg0) (_swigobj->SetModEventMask(_swigarg0)) | |
7215 | static PyObject *_wrap_wxStyledTextCtrl_SetModEventMask(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7216 | PyObject * _resultobj; | |
7217 | wxStyledTextCtrl * _arg0; | |
7218 | int _arg1; | |
7219 | PyObject * _argo0 = 0; | |
7220 | char *_kwnames[] = { "self","mask", NULL }; | |
7221 | ||
7222 | self = self; | |
7223 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_SetModEventMask",_kwnames,&_argo0,&_arg1)) | |
7224 | return NULL; | |
7225 | if (_argo0) { | |
7226 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7227 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
7228 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetModEventMask. Expected _wxStyledTextCtrl_p."); | |
7229 | return NULL; | |
7230 | } | |
7231 | } | |
7232 | { | |
474c48f9 | 7233 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 7234 | wxStyledTextCtrl_SetModEventMask(_arg0,_arg1); |
89c8ea73 | 7235 | |
474c48f9 RD |
7236 | wxPyEndAllowThreads(__tstate); |
7237 | if (PyErr_Occurred()) return NULL; | |
89c8ea73 RD |
7238 | } Py_INCREF(Py_None); |
7239 | _resultobj = Py_None; | |
7240 | return _resultobj; | |
7241 | } | |
7242 | ||
7243 | #define wxStyledTextCtrl_GetEdgeColumn(_swigobj) (_swigobj->GetEdgeColumn()) | |
7244 | static PyObject *_wrap_wxStyledTextCtrl_GetEdgeColumn(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7245 | PyObject * _resultobj; | |
7246 | int _result; | |
7247 | wxStyledTextCtrl * _arg0; | |
7248 | PyObject * _argo0 = 0; | |
7249 | char *_kwnames[] = { "self", NULL }; | |
7250 | ||
7251 | self = self; | |
7252 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetEdgeColumn",_kwnames,&_argo0)) | |
7253 | return NULL; | |
7254 | if (_argo0) { | |
7255 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7256 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
7257 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetEdgeColumn. Expected _wxStyledTextCtrl_p."); | |
7258 | return NULL; | |
7259 | } | |
7260 | } | |
7261 | { | |
474c48f9 | 7262 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 7263 | _result = (int )wxStyledTextCtrl_GetEdgeColumn(_arg0); |
89c8ea73 | 7264 | |
474c48f9 RD |
7265 | wxPyEndAllowThreads(__tstate); |
7266 | if (PyErr_Occurred()) return NULL; | |
89c8ea73 RD |
7267 | } _resultobj = Py_BuildValue("i",_result); |
7268 | return _resultobj; | |
7269 | } | |
7270 | ||
7271 | #define wxStyledTextCtrl_SetEdgeColumn(_swigobj,_swigarg0) (_swigobj->SetEdgeColumn(_swigarg0)) | |
7272 | static PyObject *_wrap_wxStyledTextCtrl_SetEdgeColumn(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7273 | PyObject * _resultobj; | |
7274 | wxStyledTextCtrl * _arg0; | |
7275 | int _arg1; | |
7276 | PyObject * _argo0 = 0; | |
7277 | char *_kwnames[] = { "self","column", NULL }; | |
7278 | ||
7279 | self = self; | |
7280 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_SetEdgeColumn",_kwnames,&_argo0,&_arg1)) | |
7281 | return NULL; | |
7282 | if (_argo0) { | |
7283 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7284 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
7285 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetEdgeColumn. Expected _wxStyledTextCtrl_p."); | |
7286 | return NULL; | |
7287 | } | |
7288 | } | |
7289 | { | |
474c48f9 | 7290 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 7291 | wxStyledTextCtrl_SetEdgeColumn(_arg0,_arg1); |
89c8ea73 | 7292 | |
474c48f9 RD |
7293 | wxPyEndAllowThreads(__tstate); |
7294 | if (PyErr_Occurred()) return NULL; | |
89c8ea73 RD |
7295 | } Py_INCREF(Py_None); |
7296 | _resultobj = Py_None; | |
7297 | return _resultobj; | |
7298 | } | |
7299 | ||
7300 | #define wxStyledTextCtrl_GetEdgeMode(_swigobj) (_swigobj->GetEdgeMode()) | |
7301 | static PyObject *_wrap_wxStyledTextCtrl_GetEdgeMode(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7302 | PyObject * _resultobj; | |
7303 | int _result; | |
7304 | wxStyledTextCtrl * _arg0; | |
7305 | PyObject * _argo0 = 0; | |
7306 | char *_kwnames[] = { "self", NULL }; | |
7307 | ||
7308 | self = self; | |
7309 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetEdgeMode",_kwnames,&_argo0)) | |
7310 | return NULL; | |
7311 | if (_argo0) { | |
7312 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7313 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
7314 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetEdgeMode. Expected _wxStyledTextCtrl_p."); | |
7315 | return NULL; | |
7316 | } | |
7317 | } | |
7318 | { | |
474c48f9 | 7319 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 7320 | _result = (int )wxStyledTextCtrl_GetEdgeMode(_arg0); |
89c8ea73 | 7321 | |
474c48f9 RD |
7322 | wxPyEndAllowThreads(__tstate); |
7323 | if (PyErr_Occurred()) return NULL; | |
89c8ea73 RD |
7324 | } _resultobj = Py_BuildValue("i",_result); |
7325 | return _resultobj; | |
7326 | } | |
7327 | ||
7328 | #define wxStyledTextCtrl_SetEdgeMode(_swigobj,_swigarg0) (_swigobj->SetEdgeMode(_swigarg0)) | |
7329 | static PyObject *_wrap_wxStyledTextCtrl_SetEdgeMode(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7330 | PyObject * _resultobj; | |
7331 | wxStyledTextCtrl * _arg0; | |
7332 | int _arg1; | |
7333 | PyObject * _argo0 = 0; | |
7334 | char *_kwnames[] = { "self","mode", NULL }; | |
7335 | ||
7336 | self = self; | |
7337 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_SetEdgeMode",_kwnames,&_argo0,&_arg1)) | |
7338 | return NULL; | |
7339 | if (_argo0) { | |
7340 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7341 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
7342 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetEdgeMode. Expected _wxStyledTextCtrl_p."); | |
7343 | return NULL; | |
7344 | } | |
7345 | } | |
7346 | { | |
474c48f9 | 7347 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 7348 | wxStyledTextCtrl_SetEdgeMode(_arg0,_arg1); |
89c8ea73 | 7349 | |
474c48f9 RD |
7350 | wxPyEndAllowThreads(__tstate); |
7351 | if (PyErr_Occurred()) return NULL; | |
89c8ea73 RD |
7352 | } Py_INCREF(Py_None); |
7353 | _resultobj = Py_None; | |
7354 | return _resultobj; | |
7355 | } | |
7356 | ||
7357 | #define wxStyledTextCtrl_GetEdgeColour(_swigobj) (_swigobj->GetEdgeColour()) | |
7358 | static PyObject *_wrap_wxStyledTextCtrl_GetEdgeColour(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7359 | PyObject * _resultobj; | |
7360 | wxColour * _result; | |
7361 | wxStyledTextCtrl * _arg0; | |
7362 | PyObject * _argo0 = 0; | |
7363 | char *_kwnames[] = { "self", NULL }; | |
7364 | char _ptemp[128]; | |
7365 | ||
7366 | self = self; | |
7367 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetEdgeColour",_kwnames,&_argo0)) | |
7368 | return NULL; | |
7369 | if (_argo0) { | |
7370 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7371 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
7372 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetEdgeColour. Expected _wxStyledTextCtrl_p."); | |
7373 | return NULL; | |
7374 | } | |
7375 | } | |
7376 | { | |
474c48f9 | 7377 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 7378 | _result = new wxColour (wxStyledTextCtrl_GetEdgeColour(_arg0)); |
89c8ea73 | 7379 | |
474c48f9 RD |
7380 | wxPyEndAllowThreads(__tstate); |
7381 | if (PyErr_Occurred()) return NULL; | |
89c8ea73 RD |
7382 | } SWIG_MakePtr(_ptemp, (void *) _result,"_wxColour_p"); |
7383 | _resultobj = Py_BuildValue("s",_ptemp); | |
7384 | return _resultobj; | |
7385 | } | |
7386 | ||
7387 | #define wxStyledTextCtrl_SetEdgeColour(_swigobj,_swigarg0) (_swigobj->SetEdgeColour(_swigarg0)) | |
7388 | static PyObject *_wrap_wxStyledTextCtrl_SetEdgeColour(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7389 | PyObject * _resultobj; | |
7390 | wxStyledTextCtrl * _arg0; | |
7391 | wxColour * _arg1; | |
7392 | PyObject * _argo0 = 0; | |
7393 | wxColour temp; | |
7394 | PyObject * _obj1 = 0; | |
7395 | char *_kwnames[] = { "self","edgeColour", NULL }; | |
7396 | ||
7397 | self = self; | |
7398 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxStyledTextCtrl_SetEdgeColour",_kwnames,&_argo0,&_obj1)) | |
7399 | return NULL; | |
7400 | if (_argo0) { | |
7401 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7402 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
7403 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetEdgeColour. Expected _wxStyledTextCtrl_p."); | |
7404 | return NULL; | |
7405 | } | |
7406 | } | |
7407 | { | |
7408 | _arg1 = &temp; | |
7409 | if (! wxColour_helper(_obj1, &_arg1)) | |
7410 | return NULL; | |
7411 | } | |
7412 | { | |
474c48f9 | 7413 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 7414 | wxStyledTextCtrl_SetEdgeColour(_arg0,*_arg1); |
89c8ea73 | 7415 | |
474c48f9 RD |
7416 | wxPyEndAllowThreads(__tstate); |
7417 | if (PyErr_Occurred()) return NULL; | |
89c8ea73 RD |
7418 | } Py_INCREF(Py_None); |
7419 | _resultobj = Py_None; | |
7420 | return _resultobj; | |
7421 | } | |
7422 | ||
7423 | #define wxStyledTextCtrl_SearchAnchor(_swigobj) (_swigobj->SearchAnchor()) | |
7424 | static PyObject *_wrap_wxStyledTextCtrl_SearchAnchor(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7425 | PyObject * _resultobj; | |
7426 | wxStyledTextCtrl * _arg0; | |
7427 | PyObject * _argo0 = 0; | |
7428 | char *_kwnames[] = { "self", NULL }; | |
7429 | ||
7430 | self = self; | |
7431 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_SearchAnchor",_kwnames,&_argo0)) | |
7432 | return NULL; | |
7433 | if (_argo0) { | |
7434 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7435 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
7436 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SearchAnchor. Expected _wxStyledTextCtrl_p."); | |
7437 | return NULL; | |
7438 | } | |
7439 | } | |
7440 | { | |
474c48f9 | 7441 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 7442 | wxStyledTextCtrl_SearchAnchor(_arg0); |
89c8ea73 | 7443 | |
474c48f9 RD |
7444 | wxPyEndAllowThreads(__tstate); |
7445 | if (PyErr_Occurred()) return NULL; | |
89c8ea73 RD |
7446 | } Py_INCREF(Py_None); |
7447 | _resultobj = Py_None; | |
7448 | return _resultobj; | |
7449 | } | |
7450 | ||
7451 | #define wxStyledTextCtrl_SearchNext(_swigobj,_swigarg0,_swigarg1) (_swigobj->SearchNext(_swigarg0,_swigarg1)) | |
7452 | static PyObject *_wrap_wxStyledTextCtrl_SearchNext(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7453 | PyObject * _resultobj; | |
7454 | int _result; | |
7455 | wxStyledTextCtrl * _arg0; | |
7456 | int _arg1; | |
7457 | wxString * _arg2; | |
7458 | PyObject * _argo0 = 0; | |
7459 | PyObject * _obj2 = 0; | |
7460 | char *_kwnames[] = { "self","flags","text", NULL }; | |
7461 | ||
7462 | self = self; | |
7463 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxStyledTextCtrl_SearchNext",_kwnames,&_argo0,&_arg1,&_obj2)) | |
7464 | return NULL; | |
7465 | if (_argo0) { | |
7466 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7467 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
7468 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SearchNext. Expected _wxStyledTextCtrl_p."); | |
7469 | return NULL; | |
7470 | } | |
7471 | } | |
7472 | { | |
c8bc7bb8 RD |
7473 | _arg2 = wxString_in_helper(_obj2); |
7474 | if (_arg2 == NULL) | |
89c8ea73 | 7475 | return NULL; |
89c8ea73 RD |
7476 | } |
7477 | { | |
474c48f9 | 7478 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 7479 | _result = (int )wxStyledTextCtrl_SearchNext(_arg0,_arg1,*_arg2); |
89c8ea73 | 7480 | |
474c48f9 RD |
7481 | wxPyEndAllowThreads(__tstate); |
7482 | if (PyErr_Occurred()) return NULL; | |
89c8ea73 RD |
7483 | } _resultobj = Py_BuildValue("i",_result); |
7484 | { | |
7485 | if (_obj2) | |
7486 | delete _arg2; | |
7487 | } | |
7488 | return _resultobj; | |
7489 | } | |
7490 | ||
7491 | #define wxStyledTextCtrl_SearchPrev(_swigobj,_swigarg0,_swigarg1) (_swigobj->SearchPrev(_swigarg0,_swigarg1)) | |
7492 | static PyObject *_wrap_wxStyledTextCtrl_SearchPrev(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7493 | PyObject * _resultobj; | |
7494 | int _result; | |
7495 | wxStyledTextCtrl * _arg0; | |
7496 | int _arg1; | |
7497 | wxString * _arg2; | |
7498 | PyObject * _argo0 = 0; | |
7499 | PyObject * _obj2 = 0; | |
7500 | char *_kwnames[] = { "self","flags","text", NULL }; | |
7501 | ||
7502 | self = self; | |
7503 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxStyledTextCtrl_SearchPrev",_kwnames,&_argo0,&_arg1,&_obj2)) | |
7504 | return NULL; | |
7505 | if (_argo0) { | |
7506 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7507 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
7508 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SearchPrev. Expected _wxStyledTextCtrl_p."); | |
7509 | return NULL; | |
7510 | } | |
7511 | } | |
7512 | { | |
c8bc7bb8 RD |
7513 | _arg2 = wxString_in_helper(_obj2); |
7514 | if (_arg2 == NULL) | |
89c8ea73 | 7515 | return NULL; |
89c8ea73 RD |
7516 | } |
7517 | { | |
474c48f9 | 7518 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 7519 | _result = (int )wxStyledTextCtrl_SearchPrev(_arg0,_arg1,*_arg2); |
89c8ea73 | 7520 | |
474c48f9 RD |
7521 | wxPyEndAllowThreads(__tstate); |
7522 | if (PyErr_Occurred()) return NULL; | |
89c8ea73 RD |
7523 | } _resultobj = Py_BuildValue("i",_result); |
7524 | { | |
7525 | if (_obj2) | |
7526 | delete _arg2; | |
7527 | } | |
7528 | return _resultobj; | |
7529 | } | |
7530 | ||
7531 | #define wxStyledTextCtrl_SetCaretPolicy(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetCaretPolicy(_swigarg0,_swigarg1)) | |
7532 | static PyObject *_wrap_wxStyledTextCtrl_SetCaretPolicy(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7533 | PyObject * _resultobj; | |
7534 | wxStyledTextCtrl * _arg0; | |
7535 | int _arg1; | |
7536 | int _arg2; | |
7537 | PyObject * _argo0 = 0; | |
7538 | char *_kwnames[] = { "self","caretPolicy","caretSlop", NULL }; | |
7539 | ||
7540 | self = self; | |
7541 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxStyledTextCtrl_SetCaretPolicy",_kwnames,&_argo0,&_arg1,&_arg2)) | |
7542 | return NULL; | |
7543 | if (_argo0) { | |
7544 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7545 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
7546 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetCaretPolicy. Expected _wxStyledTextCtrl_p."); | |
7547 | return NULL; | |
7548 | } | |
7549 | } | |
7550 | { | |
474c48f9 | 7551 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 7552 | wxStyledTextCtrl_SetCaretPolicy(_arg0,_arg1,_arg2); |
89c8ea73 | 7553 | |
474c48f9 RD |
7554 | wxPyEndAllowThreads(__tstate); |
7555 | if (PyErr_Occurred()) return NULL; | |
89c8ea73 RD |
7556 | } Py_INCREF(Py_None); |
7557 | _resultobj = Py_None; | |
7558 | return _resultobj; | |
7559 | } | |
7560 | ||
7561 | #define wxStyledTextCtrl_LinesOnScreen(_swigobj) (_swigobj->LinesOnScreen()) | |
7562 | static PyObject *_wrap_wxStyledTextCtrl_LinesOnScreen(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7563 | PyObject * _resultobj; | |
7564 | int _result; | |
7565 | wxStyledTextCtrl * _arg0; | |
7566 | PyObject * _argo0 = 0; | |
7567 | char *_kwnames[] = { "self", NULL }; | |
7568 | ||
7569 | self = self; | |
7570 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_LinesOnScreen",_kwnames,&_argo0)) | |
7571 | return NULL; | |
7572 | if (_argo0) { | |
7573 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7574 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
7575 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_LinesOnScreen. Expected _wxStyledTextCtrl_p."); | |
7576 | return NULL; | |
7577 | } | |
7578 | } | |
7579 | { | |
474c48f9 | 7580 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 7581 | _result = (int )wxStyledTextCtrl_LinesOnScreen(_arg0); |
89c8ea73 | 7582 | |
474c48f9 RD |
7583 | wxPyEndAllowThreads(__tstate); |
7584 | if (PyErr_Occurred()) return NULL; | |
89c8ea73 RD |
7585 | } _resultobj = Py_BuildValue("i",_result); |
7586 | return _resultobj; | |
7587 | } | |
7588 | ||
7589 | #define wxStyledTextCtrl_UsePopUp(_swigobj,_swigarg0) (_swigobj->UsePopUp(_swigarg0)) | |
7590 | static PyObject *_wrap_wxStyledTextCtrl_UsePopUp(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7591 | PyObject * _resultobj; | |
7592 | wxStyledTextCtrl * _arg0; | |
7593 | bool _arg1; | |
7594 | PyObject * _argo0 = 0; | |
7595 | int tempbool1; | |
7596 | char *_kwnames[] = { "self","allowPopUp", NULL }; | |
7597 | ||
7598 | self = self; | |
7599 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_UsePopUp",_kwnames,&_argo0,&tempbool1)) | |
7600 | return NULL; | |
7601 | if (_argo0) { | |
7602 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7603 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
7604 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_UsePopUp. Expected _wxStyledTextCtrl_p."); | |
7605 | return NULL; | |
7606 | } | |
7607 | } | |
7608 | _arg1 = (bool ) tempbool1; | |
7609 | { | |
474c48f9 | 7610 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 7611 | wxStyledTextCtrl_UsePopUp(_arg0,_arg1); |
89c8ea73 | 7612 | |
474c48f9 RD |
7613 | wxPyEndAllowThreads(__tstate); |
7614 | if (PyErr_Occurred()) return NULL; | |
89c8ea73 RD |
7615 | } Py_INCREF(Py_None); |
7616 | _resultobj = Py_None; | |
7617 | return _resultobj; | |
7618 | } | |
7619 | ||
7620 | #define wxStyledTextCtrl_SelectionIsRectangle(_swigobj) (_swigobj->SelectionIsRectangle()) | |
7621 | static PyObject *_wrap_wxStyledTextCtrl_SelectionIsRectangle(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7622 | PyObject * _resultobj; | |
7623 | bool _result; | |
7624 | wxStyledTextCtrl * _arg0; | |
7625 | PyObject * _argo0 = 0; | |
7626 | char *_kwnames[] = { "self", NULL }; | |
7627 | ||
7628 | self = self; | |
7629 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_SelectionIsRectangle",_kwnames,&_argo0)) | |
7630 | return NULL; | |
7631 | if (_argo0) { | |
7632 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7633 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
7634 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SelectionIsRectangle. Expected _wxStyledTextCtrl_p."); | |
7635 | return NULL; | |
7636 | } | |
7637 | } | |
7638 | { | |
474c48f9 | 7639 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 7640 | _result = (bool )wxStyledTextCtrl_SelectionIsRectangle(_arg0); |
89c8ea73 | 7641 | |
474c48f9 RD |
7642 | wxPyEndAllowThreads(__tstate); |
7643 | if (PyErr_Occurred()) return NULL; | |
89c8ea73 RD |
7644 | } _resultobj = Py_BuildValue("i",_result); |
7645 | return _resultobj; | |
7646 | } | |
7647 | ||
7648 | #define wxStyledTextCtrl_SetZoom(_swigobj,_swigarg0) (_swigobj->SetZoom(_swigarg0)) | |
7649 | static PyObject *_wrap_wxStyledTextCtrl_SetZoom(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7650 | PyObject * _resultobj; | |
7651 | wxStyledTextCtrl * _arg0; | |
7652 | int _arg1; | |
7653 | PyObject * _argo0 = 0; | |
7654 | char *_kwnames[] = { "self","zoom", NULL }; | |
7655 | ||
7656 | self = self; | |
7657 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_SetZoom",_kwnames,&_argo0,&_arg1)) | |
7658 | return NULL; | |
7659 | if (_argo0) { | |
7660 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7661 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
7662 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetZoom. Expected _wxStyledTextCtrl_p."); | |
7663 | return NULL; | |
7664 | } | |
7665 | } | |
7666 | { | |
474c48f9 | 7667 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 7668 | wxStyledTextCtrl_SetZoom(_arg0,_arg1); |
89c8ea73 | 7669 | |
474c48f9 RD |
7670 | wxPyEndAllowThreads(__tstate); |
7671 | if (PyErr_Occurred()) return NULL; | |
89c8ea73 RD |
7672 | } Py_INCREF(Py_None); |
7673 | _resultobj = Py_None; | |
7674 | return _resultobj; | |
7675 | } | |
7676 | ||
7677 | #define wxStyledTextCtrl_GetZoom(_swigobj) (_swigobj->GetZoom()) | |
7678 | static PyObject *_wrap_wxStyledTextCtrl_GetZoom(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7679 | PyObject * _resultobj; | |
7680 | int _result; | |
7681 | wxStyledTextCtrl * _arg0; | |
7682 | PyObject * _argo0 = 0; | |
7683 | char *_kwnames[] = { "self", NULL }; | |
7684 | ||
7685 | self = self; | |
7686 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetZoom",_kwnames,&_argo0)) | |
7687 | return NULL; | |
7688 | if (_argo0) { | |
7689 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7690 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
7691 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetZoom. Expected _wxStyledTextCtrl_p."); | |
7692 | return NULL; | |
7693 | } | |
7694 | } | |
7695 | { | |
474c48f9 | 7696 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 7697 | _result = (int )wxStyledTextCtrl_GetZoom(_arg0); |
89c8ea73 | 7698 | |
474c48f9 RD |
7699 | wxPyEndAllowThreads(__tstate); |
7700 | if (PyErr_Occurred()) return NULL; | |
89c8ea73 RD |
7701 | } _resultobj = Py_BuildValue("i",_result); |
7702 | return _resultobj; | |
7703 | } | |
7704 | ||
7705 | #define wxStyledTextCtrl_CreateDocument(_swigobj) (_swigobj->CreateDocument()) | |
7706 | static PyObject *_wrap_wxStyledTextCtrl_CreateDocument(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7707 | PyObject * _resultobj; | |
7708 | void * _result; | |
7709 | wxStyledTextCtrl * _arg0; | |
7710 | PyObject * _argo0 = 0; | |
7711 | char *_kwnames[] = { "self", NULL }; | |
7712 | char _ptemp[128]; | |
7713 | ||
7714 | self = self; | |
7715 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_CreateDocument",_kwnames,&_argo0)) | |
7716 | return NULL; | |
7717 | if (_argo0) { | |
7718 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7719 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
7720 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_CreateDocument. Expected _wxStyledTextCtrl_p."); | |
7721 | return NULL; | |
7722 | } | |
7723 | } | |
7724 | { | |
474c48f9 | 7725 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 7726 | _result = (void *)wxStyledTextCtrl_CreateDocument(_arg0); |
89c8ea73 | 7727 | |
474c48f9 RD |
7728 | wxPyEndAllowThreads(__tstate); |
7729 | if (PyErr_Occurred()) return NULL; | |
89c8ea73 RD |
7730 | } if (_result) { |
7731 | SWIG_MakePtr(_ptemp, (char *) _result,"_void_p"); | |
7732 | _resultobj = Py_BuildValue("s",_ptemp); | |
7733 | } else { | |
7734 | Py_INCREF(Py_None); | |
7735 | _resultobj = Py_None; | |
7736 | } | |
7737 | return _resultobj; | |
7738 | } | |
7739 | ||
7740 | #define wxStyledTextCtrl_AddRefDocument(_swigobj,_swigarg0) (_swigobj->AddRefDocument(_swigarg0)) | |
7741 | static PyObject *_wrap_wxStyledTextCtrl_AddRefDocument(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7742 | PyObject * _resultobj; | |
7743 | wxStyledTextCtrl * _arg0; | |
7744 | void * _arg1; | |
7745 | PyObject * _argo0 = 0; | |
7746 | PyObject * _argo1 = 0; | |
7747 | char *_kwnames[] = { "self","docPointer", NULL }; | |
7748 | ||
7749 | self = self; | |
7750 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxStyledTextCtrl_AddRefDocument",_kwnames,&_argo0,&_argo1)) | |
7751 | return NULL; | |
7752 | if (_argo0) { | |
7753 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7754 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
7755 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_AddRefDocument. Expected _wxStyledTextCtrl_p."); | |
7756 | return NULL; | |
7757 | } | |
7758 | } | |
7759 | if (_argo1) { | |
7760 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
7761 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,(char *) 0 )) { | |
7762 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxStyledTextCtrl_AddRefDocument. Expected _void_p."); | |
7763 | return NULL; | |
7764 | } | |
7765 | } | |
7766 | { | |
474c48f9 | 7767 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 7768 | wxStyledTextCtrl_AddRefDocument(_arg0,_arg1); |
89c8ea73 | 7769 | |
474c48f9 RD |
7770 | wxPyEndAllowThreads(__tstate); |
7771 | if (PyErr_Occurred()) return NULL; | |
89c8ea73 RD |
7772 | } Py_INCREF(Py_None); |
7773 | _resultobj = Py_None; | |
7774 | return _resultobj; | |
7775 | } | |
7776 | ||
7777 | #define wxStyledTextCtrl_ReleaseDocument(_swigobj,_swigarg0) (_swigobj->ReleaseDocument(_swigarg0)) | |
7778 | static PyObject *_wrap_wxStyledTextCtrl_ReleaseDocument(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7779 | PyObject * _resultobj; | |
7780 | wxStyledTextCtrl * _arg0; | |
7781 | void * _arg1; | |
7782 | PyObject * _argo0 = 0; | |
7783 | PyObject * _argo1 = 0; | |
7784 | char *_kwnames[] = { "self","docPointer", NULL }; | |
7785 | ||
7786 | self = self; | |
7787 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxStyledTextCtrl_ReleaseDocument",_kwnames,&_argo0,&_argo1)) | |
7788 | return NULL; | |
7789 | if (_argo0) { | |
7790 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7791 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
7792 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_ReleaseDocument. Expected _wxStyledTextCtrl_p."); | |
7793 | return NULL; | |
7794 | } | |
7795 | } | |
7796 | if (_argo1) { | |
7797 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
7798 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,(char *) 0 )) { | |
7799 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxStyledTextCtrl_ReleaseDocument. Expected _void_p."); | |
7800 | return NULL; | |
7801 | } | |
7802 | } | |
7803 | { | |
474c48f9 | 7804 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 7805 | wxStyledTextCtrl_ReleaseDocument(_arg0,_arg1); |
89c8ea73 | 7806 | |
474c48f9 RD |
7807 | wxPyEndAllowThreads(__tstate); |
7808 | if (PyErr_Occurred()) return NULL; | |
89c8ea73 RD |
7809 | } Py_INCREF(Py_None); |
7810 | _resultobj = Py_None; | |
7811 | return _resultobj; | |
7812 | } | |
7813 | ||
7814 | #define wxStyledTextCtrl_GetModEventMask(_swigobj) (_swigobj->GetModEventMask()) | |
7815 | static PyObject *_wrap_wxStyledTextCtrl_GetModEventMask(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7816 | PyObject * _resultobj; | |
7817 | int _result; | |
7818 | wxStyledTextCtrl * _arg0; | |
7819 | PyObject * _argo0 = 0; | |
7820 | char *_kwnames[] = { "self", NULL }; | |
7821 | ||
7822 | self = self; | |
7823 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetModEventMask",_kwnames,&_argo0)) | |
7824 | return NULL; | |
7825 | if (_argo0) { | |
7826 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7827 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
7828 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetModEventMask. Expected _wxStyledTextCtrl_p."); | |
7829 | return NULL; | |
7830 | } | |
7831 | } | |
7832 | { | |
474c48f9 | 7833 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 7834 | _result = (int )wxStyledTextCtrl_GetModEventMask(_arg0); |
89c8ea73 | 7835 | |
474c48f9 RD |
7836 | wxPyEndAllowThreads(__tstate); |
7837 | if (PyErr_Occurred()) return NULL; | |
89c8ea73 RD |
7838 | } _resultobj = Py_BuildValue("i",_result); |
7839 | return _resultobj; | |
7840 | } | |
7841 | ||
7842 | #define wxStyledTextCtrl_SetSTCFocus(_swigobj,_swigarg0) (_swigobj->SetSTCFocus(_swigarg0)) | |
7843 | static PyObject *_wrap_wxStyledTextCtrl_SetSTCFocus(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7844 | PyObject * _resultobj; | |
7845 | wxStyledTextCtrl * _arg0; | |
7846 | bool _arg1; | |
7847 | PyObject * _argo0 = 0; | |
7848 | int tempbool1; | |
7849 | char *_kwnames[] = { "self","focus", NULL }; | |
7850 | ||
7851 | self = self; | |
7852 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_SetSTCFocus",_kwnames,&_argo0,&tempbool1)) | |
7853 | return NULL; | |
7854 | if (_argo0) { | |
7855 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7856 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
7857 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetSTCFocus. Expected _wxStyledTextCtrl_p."); | |
7858 | return NULL; | |
7859 | } | |
7860 | } | |
7861 | _arg1 = (bool ) tempbool1; | |
7862 | { | |
474c48f9 | 7863 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 7864 | wxStyledTextCtrl_SetSTCFocus(_arg0,_arg1); |
89c8ea73 | 7865 | |
474c48f9 RD |
7866 | wxPyEndAllowThreads(__tstate); |
7867 | if (PyErr_Occurred()) return NULL; | |
89c8ea73 RD |
7868 | } Py_INCREF(Py_None); |
7869 | _resultobj = Py_None; | |
7870 | return _resultobj; | |
7871 | } | |
7872 | ||
7873 | #define wxStyledTextCtrl_GetSTCFocus(_swigobj) (_swigobj->GetSTCFocus()) | |
7874 | static PyObject *_wrap_wxStyledTextCtrl_GetSTCFocus(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7875 | PyObject * _resultobj; | |
7876 | bool _result; | |
7877 | wxStyledTextCtrl * _arg0; | |
7878 | PyObject * _argo0 = 0; | |
7879 | char *_kwnames[] = { "self", NULL }; | |
7880 | ||
7881 | self = self; | |
7882 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetSTCFocus",_kwnames,&_argo0)) | |
7883 | return NULL; | |
7884 | if (_argo0) { | |
7885 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7886 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
7887 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetSTCFocus. Expected _wxStyledTextCtrl_p."); | |
7888 | return NULL; | |
7889 | } | |
7890 | } | |
7891 | { | |
474c48f9 | 7892 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 7893 | _result = (bool )wxStyledTextCtrl_GetSTCFocus(_arg0); |
89c8ea73 | 7894 | |
474c48f9 RD |
7895 | wxPyEndAllowThreads(__tstate); |
7896 | if (PyErr_Occurred()) return NULL; | |
89c8ea73 RD |
7897 | } _resultobj = Py_BuildValue("i",_result); |
7898 | return _resultobj; | |
7899 | } | |
7900 | ||
7901 | #define wxStyledTextCtrl_SetStatus(_swigobj,_swigarg0) (_swigobj->SetStatus(_swigarg0)) | |
7902 | static PyObject *_wrap_wxStyledTextCtrl_SetStatus(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7903 | PyObject * _resultobj; | |
7904 | wxStyledTextCtrl * _arg0; | |
7905 | int _arg1; | |
7906 | PyObject * _argo0 = 0; | |
7907 | char *_kwnames[] = { "self","statusCode", NULL }; | |
7908 | ||
7909 | self = self; | |
7910 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_SetStatus",_kwnames,&_argo0,&_arg1)) | |
7911 | return NULL; | |
7912 | if (_argo0) { | |
7913 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7914 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
7915 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetStatus. Expected _wxStyledTextCtrl_p."); | |
7916 | return NULL; | |
7917 | } | |
7918 | } | |
7919 | { | |
474c48f9 | 7920 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 7921 | wxStyledTextCtrl_SetStatus(_arg0,_arg1); |
89c8ea73 | 7922 | |
474c48f9 RD |
7923 | wxPyEndAllowThreads(__tstate); |
7924 | if (PyErr_Occurred()) return NULL; | |
89c8ea73 RD |
7925 | } Py_INCREF(Py_None); |
7926 | _resultobj = Py_None; | |
7927 | return _resultobj; | |
7928 | } | |
7929 | ||
7930 | #define wxStyledTextCtrl_GetStatus(_swigobj) (_swigobj->GetStatus()) | |
7931 | static PyObject *_wrap_wxStyledTextCtrl_GetStatus(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7932 | PyObject * _resultobj; | |
7933 | int _result; | |
7934 | wxStyledTextCtrl * _arg0; | |
7935 | PyObject * _argo0 = 0; | |
7936 | char *_kwnames[] = { "self", NULL }; | |
7937 | ||
7938 | self = self; | |
7939 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetStatus",_kwnames,&_argo0)) | |
7940 | return NULL; | |
7941 | if (_argo0) { | |
7942 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7943 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
7944 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetStatus. Expected _wxStyledTextCtrl_p."); | |
7945 | return NULL; | |
7946 | } | |
7947 | } | |
7948 | { | |
474c48f9 | 7949 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 7950 | _result = (int )wxStyledTextCtrl_GetStatus(_arg0); |
89c8ea73 | 7951 | |
474c48f9 RD |
7952 | wxPyEndAllowThreads(__tstate); |
7953 | if (PyErr_Occurred()) return NULL; | |
89c8ea73 RD |
7954 | } _resultobj = Py_BuildValue("i",_result); |
7955 | return _resultobj; | |
7956 | } | |
7957 | ||
7958 | #define wxStyledTextCtrl_SetMouseDownCaptures(_swigobj,_swigarg0) (_swigobj->SetMouseDownCaptures(_swigarg0)) | |
7959 | static PyObject *_wrap_wxStyledTextCtrl_SetMouseDownCaptures(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7960 | PyObject * _resultobj; | |
7961 | wxStyledTextCtrl * _arg0; | |
7962 | bool _arg1; | |
7963 | PyObject * _argo0 = 0; | |
7964 | int tempbool1; | |
7965 | char *_kwnames[] = { "self","captures", NULL }; | |
7966 | ||
7967 | self = self; | |
7968 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_SetMouseDownCaptures",_kwnames,&_argo0,&tempbool1)) | |
7969 | return NULL; | |
7970 | if (_argo0) { | |
7971 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7972 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
7973 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetMouseDownCaptures. Expected _wxStyledTextCtrl_p."); | |
7974 | return NULL; | |
7975 | } | |
7976 | } | |
7977 | _arg1 = (bool ) tempbool1; | |
7978 | { | |
474c48f9 | 7979 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 7980 | wxStyledTextCtrl_SetMouseDownCaptures(_arg0,_arg1); |
89c8ea73 | 7981 | |
474c48f9 RD |
7982 | wxPyEndAllowThreads(__tstate); |
7983 | if (PyErr_Occurred()) return NULL; | |
89c8ea73 RD |
7984 | } Py_INCREF(Py_None); |
7985 | _resultobj = Py_None; | |
7986 | return _resultobj; | |
7987 | } | |
7988 | ||
7989 | #define wxStyledTextCtrl_GetMouseDownCaptures(_swigobj) (_swigobj->GetMouseDownCaptures()) | |
7990 | static PyObject *_wrap_wxStyledTextCtrl_GetMouseDownCaptures(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7991 | PyObject * _resultobj; | |
7992 | bool _result; | |
7993 | wxStyledTextCtrl * _arg0; | |
7994 | PyObject * _argo0 = 0; | |
7995 | char *_kwnames[] = { "self", NULL }; | |
7996 | ||
7997 | self = self; | |
7998 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetMouseDownCaptures",_kwnames,&_argo0)) | |
7999 | return NULL; | |
8000 | if (_argo0) { | |
8001 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
8002 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
8003 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetMouseDownCaptures. Expected _wxStyledTextCtrl_p."); | |
8004 | return NULL; | |
8005 | } | |
8006 | } | |
8007 | { | |
474c48f9 | 8008 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 8009 | _result = (bool )wxStyledTextCtrl_GetMouseDownCaptures(_arg0); |
89c8ea73 | 8010 | |
474c48f9 RD |
8011 | wxPyEndAllowThreads(__tstate); |
8012 | if (PyErr_Occurred()) return NULL; | |
89c8ea73 RD |
8013 | } _resultobj = Py_BuildValue("i",_result); |
8014 | return _resultobj; | |
8015 | } | |
8016 | ||
8017 | #define wxStyledTextCtrl_SetCursor(_swigobj,_swigarg0) (_swigobj->SetCursor(_swigarg0)) | |
8018 | static PyObject *_wrap_wxStyledTextCtrl_SetCursor(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8019 | PyObject * _resultobj; | |
8020 | wxStyledTextCtrl * _arg0; | |
8021 | int _arg1; | |
8022 | PyObject * _argo0 = 0; | |
8023 | char *_kwnames[] = { "self","cursorType", NULL }; | |
8024 | ||
8025 | self = self; | |
8026 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_SetCursor",_kwnames,&_argo0,&_arg1)) | |
8027 | return NULL; | |
8028 | if (_argo0) { | |
8029 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
8030 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
8031 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetCursor. Expected _wxStyledTextCtrl_p."); | |
8032 | return NULL; | |
8033 | } | |
8034 | } | |
8035 | { | |
474c48f9 | 8036 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 8037 | wxStyledTextCtrl_SetCursor(_arg0,_arg1); |
89c8ea73 | 8038 | |
474c48f9 RD |
8039 | wxPyEndAllowThreads(__tstate); |
8040 | if (PyErr_Occurred()) return NULL; | |
89c8ea73 RD |
8041 | } Py_INCREF(Py_None); |
8042 | _resultobj = Py_None; | |
8043 | return _resultobj; | |
8044 | } | |
8045 | ||
8046 | #define wxStyledTextCtrl_GetCursor(_swigobj) (_swigobj->GetCursor()) | |
8047 | static PyObject *_wrap_wxStyledTextCtrl_GetCursor(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8048 | PyObject * _resultobj; | |
8049 | int _result; | |
8050 | wxStyledTextCtrl * _arg0; | |
8051 | PyObject * _argo0 = 0; | |
8052 | char *_kwnames[] = { "self", NULL }; | |
8053 | ||
8054 | self = self; | |
8055 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetCursor",_kwnames,&_argo0)) | |
8056 | return NULL; | |
8057 | if (_argo0) { | |
8058 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
8059 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
8060 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetCursor. Expected _wxStyledTextCtrl_p."); | |
8061 | return NULL; | |
8062 | } | |
8063 | } | |
8064 | { | |
474c48f9 | 8065 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 8066 | _result = (int )wxStyledTextCtrl_GetCursor(_arg0); |
89c8ea73 | 8067 | |
474c48f9 RD |
8068 | wxPyEndAllowThreads(__tstate); |
8069 | if (PyErr_Occurred()) return NULL; | |
89c8ea73 RD |
8070 | } _resultobj = Py_BuildValue("i",_result); |
8071 | return _resultobj; | |
8072 | } | |
8073 | ||
a884bee5 RD |
8074 | #define wxStyledTextCtrl_SetControlCharSymbol(_swigobj,_swigarg0) (_swigobj->SetControlCharSymbol(_swigarg0)) |
8075 | static PyObject *_wrap_wxStyledTextCtrl_SetControlCharSymbol(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8076 | PyObject * _resultobj; | |
8077 | wxStyledTextCtrl * _arg0; | |
8078 | int _arg1; | |
8079 | PyObject * _argo0 = 0; | |
8080 | char *_kwnames[] = { "self","symbol", NULL }; | |
8081 | ||
8082 | self = self; | |
8083 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_SetControlCharSymbol",_kwnames,&_argo0,&_arg1)) | |
8084 | return NULL; | |
8085 | if (_argo0) { | |
8086 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
8087 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
8088 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetControlCharSymbol. Expected _wxStyledTextCtrl_p."); | |
8089 | return NULL; | |
8090 | } | |
8091 | } | |
8092 | { | |
8093 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8094 | wxStyledTextCtrl_SetControlCharSymbol(_arg0,_arg1); | |
8095 | ||
8096 | wxPyEndAllowThreads(__tstate); | |
8097 | if (PyErr_Occurred()) return NULL; | |
8098 | } Py_INCREF(Py_None); | |
8099 | _resultobj = Py_None; | |
8100 | return _resultobj; | |
8101 | } | |
8102 | ||
8103 | #define wxStyledTextCtrl_GetControlCharSymbol(_swigobj) (_swigobj->GetControlCharSymbol()) | |
8104 | static PyObject *_wrap_wxStyledTextCtrl_GetControlCharSymbol(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8105 | PyObject * _resultobj; | |
8106 | int _result; | |
8107 | wxStyledTextCtrl * _arg0; | |
8108 | PyObject * _argo0 = 0; | |
8109 | char *_kwnames[] = { "self", NULL }; | |
8110 | ||
8111 | self = self; | |
8112 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetControlCharSymbol",_kwnames,&_argo0)) | |
8113 | return NULL; | |
8114 | if (_argo0) { | |
8115 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
8116 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
8117 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetControlCharSymbol. Expected _wxStyledTextCtrl_p."); | |
8118 | return NULL; | |
8119 | } | |
8120 | } | |
8121 | { | |
8122 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8123 | _result = (int )wxStyledTextCtrl_GetControlCharSymbol(_arg0); | |
8124 | ||
8125 | wxPyEndAllowThreads(__tstate); | |
8126 | if (PyErr_Occurred()) return NULL; | |
8127 | } _resultobj = Py_BuildValue("i",_result); | |
8128 | return _resultobj; | |
8129 | } | |
8130 | ||
89c8ea73 RD |
8131 | #define wxStyledTextCtrl_WordPartLeft(_swigobj) (_swigobj->WordPartLeft()) |
8132 | static PyObject *_wrap_wxStyledTextCtrl_WordPartLeft(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8133 | PyObject * _resultobj; | |
8134 | wxStyledTextCtrl * _arg0; | |
8135 | PyObject * _argo0 = 0; | |
8136 | char *_kwnames[] = { "self", NULL }; | |
8137 | ||
8138 | self = self; | |
8139 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_WordPartLeft",_kwnames,&_argo0)) | |
8140 | return NULL; | |
8141 | if (_argo0) { | |
8142 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
8143 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
8144 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_WordPartLeft. Expected _wxStyledTextCtrl_p."); | |
8145 | return NULL; | |
8146 | } | |
8147 | } | |
8148 | { | |
474c48f9 | 8149 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 8150 | wxStyledTextCtrl_WordPartLeft(_arg0); |
89c8ea73 | 8151 | |
474c48f9 RD |
8152 | wxPyEndAllowThreads(__tstate); |
8153 | if (PyErr_Occurred()) return NULL; | |
89c8ea73 RD |
8154 | } Py_INCREF(Py_None); |
8155 | _resultobj = Py_None; | |
8156 | return _resultobj; | |
8157 | } | |
8158 | ||
8159 | #define wxStyledTextCtrl_WordPartLeftExtend(_swigobj) (_swigobj->WordPartLeftExtend()) | |
8160 | static PyObject *_wrap_wxStyledTextCtrl_WordPartLeftExtend(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8161 | PyObject * _resultobj; | |
8162 | wxStyledTextCtrl * _arg0; | |
8163 | PyObject * _argo0 = 0; | |
8164 | char *_kwnames[] = { "self", NULL }; | |
8165 | ||
8166 | self = self; | |
8167 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_WordPartLeftExtend",_kwnames,&_argo0)) | |
8168 | return NULL; | |
8169 | if (_argo0) { | |
8170 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
8171 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
8172 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_WordPartLeftExtend. Expected _wxStyledTextCtrl_p."); | |
8173 | return NULL; | |
8174 | } | |
8175 | } | |
8176 | { | |
474c48f9 | 8177 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 8178 | wxStyledTextCtrl_WordPartLeftExtend(_arg0); |
89c8ea73 | 8179 | |
474c48f9 RD |
8180 | wxPyEndAllowThreads(__tstate); |
8181 | if (PyErr_Occurred()) return NULL; | |
89c8ea73 RD |
8182 | } Py_INCREF(Py_None); |
8183 | _resultobj = Py_None; | |
8184 | return _resultobj; | |
8185 | } | |
8186 | ||
8187 | #define wxStyledTextCtrl_WordPartRight(_swigobj) (_swigobj->WordPartRight()) | |
8188 | static PyObject *_wrap_wxStyledTextCtrl_WordPartRight(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8189 | PyObject * _resultobj; | |
8190 | wxStyledTextCtrl * _arg0; | |
8191 | PyObject * _argo0 = 0; | |
8192 | char *_kwnames[] = { "self", NULL }; | |
8193 | ||
8194 | self = self; | |
8195 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_WordPartRight",_kwnames,&_argo0)) | |
8196 | return NULL; | |
8197 | if (_argo0) { | |
8198 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
8199 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
8200 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_WordPartRight. Expected _wxStyledTextCtrl_p."); | |
8201 | return NULL; | |
8202 | } | |
8203 | } | |
8204 | { | |
474c48f9 | 8205 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 8206 | wxStyledTextCtrl_WordPartRight(_arg0); |
89c8ea73 | 8207 | |
474c48f9 RD |
8208 | wxPyEndAllowThreads(__tstate); |
8209 | if (PyErr_Occurred()) return NULL; | |
89c8ea73 RD |
8210 | } Py_INCREF(Py_None); |
8211 | _resultobj = Py_None; | |
8212 | return _resultobj; | |
8213 | } | |
8214 | ||
8215 | #define wxStyledTextCtrl_WordPartRightExtend(_swigobj) (_swigobj->WordPartRightExtend()) | |
8216 | static PyObject *_wrap_wxStyledTextCtrl_WordPartRightExtend(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8217 | PyObject * _resultobj; | |
8218 | wxStyledTextCtrl * _arg0; | |
8219 | PyObject * _argo0 = 0; | |
8220 | char *_kwnames[] = { "self", NULL }; | |
8221 | ||
8222 | self = self; | |
8223 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_WordPartRightExtend",_kwnames,&_argo0)) | |
8224 | return NULL; | |
8225 | if (_argo0) { | |
8226 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
8227 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
8228 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_WordPartRightExtend. Expected _wxStyledTextCtrl_p."); | |
8229 | return NULL; | |
8230 | } | |
8231 | } | |
8232 | { | |
474c48f9 | 8233 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 8234 | wxStyledTextCtrl_WordPartRightExtend(_arg0); |
89c8ea73 | 8235 | |
474c48f9 RD |
8236 | wxPyEndAllowThreads(__tstate); |
8237 | if (PyErr_Occurred()) return NULL; | |
89c8ea73 RD |
8238 | } Py_INCREF(Py_None); |
8239 | _resultobj = Py_None; | |
8240 | return _resultobj; | |
8241 | } | |
8242 | ||
8243 | #define wxStyledTextCtrl_SetVisiblePolicy(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetVisiblePolicy(_swigarg0,_swigarg1)) | |
8244 | static PyObject *_wrap_wxStyledTextCtrl_SetVisiblePolicy(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8245 | PyObject * _resultobj; | |
8246 | wxStyledTextCtrl * _arg0; | |
8247 | int _arg1; | |
8248 | int _arg2; | |
8249 | PyObject * _argo0 = 0; | |
8250 | char *_kwnames[] = { "self","visiblePolicy","visibleSlop", NULL }; | |
8251 | ||
8252 | self = self; | |
8253 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxStyledTextCtrl_SetVisiblePolicy",_kwnames,&_argo0,&_arg1,&_arg2)) | |
8254 | return NULL; | |
8255 | if (_argo0) { | |
8256 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
8257 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
8258 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetVisiblePolicy. Expected _wxStyledTextCtrl_p."); | |
8259 | return NULL; | |
8260 | } | |
8261 | } | |
8262 | { | |
474c48f9 | 8263 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 8264 | wxStyledTextCtrl_SetVisiblePolicy(_arg0,_arg1,_arg2); |
89c8ea73 | 8265 | |
474c48f9 RD |
8266 | wxPyEndAllowThreads(__tstate); |
8267 | if (PyErr_Occurred()) return NULL; | |
89c8ea73 RD |
8268 | } Py_INCREF(Py_None); |
8269 | _resultobj = Py_None; | |
8270 | return _resultobj; | |
8271 | } | |
8272 | ||
8273 | #define wxStyledTextCtrl_DelLineLeft(_swigobj) (_swigobj->DelLineLeft()) | |
8274 | static PyObject *_wrap_wxStyledTextCtrl_DelLineLeft(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8275 | PyObject * _resultobj; | |
8276 | wxStyledTextCtrl * _arg0; | |
8277 | PyObject * _argo0 = 0; | |
8278 | char *_kwnames[] = { "self", NULL }; | |
8279 | ||
8280 | self = self; | |
8281 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_DelLineLeft",_kwnames,&_argo0)) | |
8282 | return NULL; | |
8283 | if (_argo0) { | |
8284 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
8285 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
8286 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_DelLineLeft. Expected _wxStyledTextCtrl_p."); | |
8287 | return NULL; | |
8288 | } | |
8289 | } | |
8290 | { | |
474c48f9 | 8291 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 8292 | wxStyledTextCtrl_DelLineLeft(_arg0); |
89c8ea73 | 8293 | |
474c48f9 RD |
8294 | wxPyEndAllowThreads(__tstate); |
8295 | if (PyErr_Occurred()) return NULL; | |
89c8ea73 RD |
8296 | } Py_INCREF(Py_None); |
8297 | _resultobj = Py_None; | |
8298 | return _resultobj; | |
8299 | } | |
8300 | ||
8301 | #define wxStyledTextCtrl_DelLineRight(_swigobj) (_swigobj->DelLineRight()) | |
8302 | static PyObject *_wrap_wxStyledTextCtrl_DelLineRight(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8303 | PyObject * _resultobj; | |
8304 | wxStyledTextCtrl * _arg0; | |
8305 | PyObject * _argo0 = 0; | |
8306 | char *_kwnames[] = { "self", NULL }; | |
8307 | ||
8308 | self = self; | |
8309 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_DelLineRight",_kwnames,&_argo0)) | |
8310 | return NULL; | |
8311 | if (_argo0) { | |
8312 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
8313 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
8314 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_DelLineRight. Expected _wxStyledTextCtrl_p."); | |
8315 | return NULL; | |
8316 | } | |
8317 | } | |
8318 | { | |
474c48f9 | 8319 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 8320 | wxStyledTextCtrl_DelLineRight(_arg0); |
89c8ea73 | 8321 | |
474c48f9 RD |
8322 | wxPyEndAllowThreads(__tstate); |
8323 | if (PyErr_Occurred()) return NULL; | |
89c8ea73 RD |
8324 | } Py_INCREF(Py_None); |
8325 | _resultobj = Py_None; | |
8326 | return _resultobj; | |
8327 | } | |
8328 | ||
a884bee5 RD |
8329 | #define wxStyledTextCtrl_SetXOffset(_swigobj,_swigarg0) (_swigobj->SetXOffset(_swigarg0)) |
8330 | static PyObject *_wrap_wxStyledTextCtrl_SetXOffset(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8331 | PyObject * _resultobj; | |
8332 | wxStyledTextCtrl * _arg0; | |
8333 | int _arg1; | |
8334 | PyObject * _argo0 = 0; | |
8335 | char *_kwnames[] = { "self","newOffset", NULL }; | |
8336 | ||
8337 | self = self; | |
8338 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_SetXOffset",_kwnames,&_argo0,&_arg1)) | |
8339 | return NULL; | |
8340 | if (_argo0) { | |
8341 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
8342 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
8343 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetXOffset. Expected _wxStyledTextCtrl_p."); | |
8344 | return NULL; | |
8345 | } | |
8346 | } | |
8347 | { | |
8348 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8349 | wxStyledTextCtrl_SetXOffset(_arg0,_arg1); | |
8350 | ||
8351 | wxPyEndAllowThreads(__tstate); | |
8352 | if (PyErr_Occurred()) return NULL; | |
8353 | } Py_INCREF(Py_None); | |
8354 | _resultobj = Py_None; | |
8355 | return _resultobj; | |
8356 | } | |
8357 | ||
8358 | #define wxStyledTextCtrl_GetXOffset(_swigobj) (_swigobj->GetXOffset()) | |
8359 | static PyObject *_wrap_wxStyledTextCtrl_GetXOffset(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8360 | PyObject * _resultobj; | |
8361 | int _result; | |
8362 | wxStyledTextCtrl * _arg0; | |
8363 | PyObject * _argo0 = 0; | |
8364 | char *_kwnames[] = { "self", NULL }; | |
8365 | ||
8366 | self = self; | |
8367 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetXOffset",_kwnames,&_argo0)) | |
8368 | return NULL; | |
8369 | if (_argo0) { | |
8370 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
8371 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
8372 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetXOffset. Expected _wxStyledTextCtrl_p."); | |
8373 | return NULL; | |
8374 | } | |
8375 | } | |
8376 | { | |
8377 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8378 | _result = (int )wxStyledTextCtrl_GetXOffset(_arg0); | |
8379 | ||
8380 | wxPyEndAllowThreads(__tstate); | |
8381 | if (PyErr_Occurred()) return NULL; | |
8382 | } _resultobj = Py_BuildValue("i",_result); | |
8383 | return _resultobj; | |
8384 | } | |
8385 | ||
89c8ea73 RD |
8386 | #define wxStyledTextCtrl_StartRecord(_swigobj) (_swigobj->StartRecord()) |
8387 | static PyObject *_wrap_wxStyledTextCtrl_StartRecord(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8388 | PyObject * _resultobj; | |
8389 | wxStyledTextCtrl * _arg0; | |
8390 | PyObject * _argo0 = 0; | |
8391 | char *_kwnames[] = { "self", NULL }; | |
8392 | ||
8393 | self = self; | |
8394 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_StartRecord",_kwnames,&_argo0)) | |
8395 | return NULL; | |
8396 | if (_argo0) { | |
8397 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
8398 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
8399 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_StartRecord. Expected _wxStyledTextCtrl_p."); | |
8400 | return NULL; | |
8401 | } | |
8402 | } | |
8403 | { | |
474c48f9 | 8404 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 8405 | wxStyledTextCtrl_StartRecord(_arg0); |
89c8ea73 | 8406 | |
474c48f9 RD |
8407 | wxPyEndAllowThreads(__tstate); |
8408 | if (PyErr_Occurred()) return NULL; | |
89c8ea73 RD |
8409 | } Py_INCREF(Py_None); |
8410 | _resultobj = Py_None; | |
8411 | return _resultobj; | |
8412 | } | |
8413 | ||
8414 | #define wxStyledTextCtrl_StopRecord(_swigobj) (_swigobj->StopRecord()) | |
8415 | static PyObject *_wrap_wxStyledTextCtrl_StopRecord(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8416 | PyObject * _resultobj; | |
8417 | wxStyledTextCtrl * _arg0; | |
8418 | PyObject * _argo0 = 0; | |
8419 | char *_kwnames[] = { "self", NULL }; | |
8420 | ||
8421 | self = self; | |
8422 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_StopRecord",_kwnames,&_argo0)) | |
8423 | return NULL; | |
8424 | if (_argo0) { | |
8425 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
8426 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
8427 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_StopRecord. Expected _wxStyledTextCtrl_p."); | |
8428 | return NULL; | |
8429 | } | |
8430 | } | |
8431 | { | |
474c48f9 | 8432 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 8433 | wxStyledTextCtrl_StopRecord(_arg0); |
89c8ea73 | 8434 | |
474c48f9 RD |
8435 | wxPyEndAllowThreads(__tstate); |
8436 | if (PyErr_Occurred()) return NULL; | |
89c8ea73 RD |
8437 | } Py_INCREF(Py_None); |
8438 | _resultobj = Py_None; | |
8439 | return _resultobj; | |
8440 | } | |
8441 | ||
8442 | #define wxStyledTextCtrl_SetLexer(_swigobj,_swigarg0) (_swigobj->SetLexer(_swigarg0)) | |
8443 | static PyObject *_wrap_wxStyledTextCtrl_SetLexer(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8444 | PyObject * _resultobj; | |
8445 | wxStyledTextCtrl * _arg0; | |
8446 | int _arg1; | |
8447 | PyObject * _argo0 = 0; | |
8448 | char *_kwnames[] = { "self","lexer", NULL }; | |
8449 | ||
8450 | self = self; | |
8451 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_SetLexer",_kwnames,&_argo0,&_arg1)) | |
8452 | return NULL; | |
8453 | if (_argo0) { | |
8454 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
8455 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
8456 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetLexer. Expected _wxStyledTextCtrl_p."); | |
8457 | return NULL; | |
8458 | } | |
8459 | } | |
8460 | { | |
474c48f9 | 8461 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 8462 | wxStyledTextCtrl_SetLexer(_arg0,_arg1); |
89c8ea73 | 8463 | |
474c48f9 RD |
8464 | wxPyEndAllowThreads(__tstate); |
8465 | if (PyErr_Occurred()) return NULL; | |
89c8ea73 RD |
8466 | } Py_INCREF(Py_None); |
8467 | _resultobj = Py_None; | |
8468 | return _resultobj; | |
8469 | } | |
8470 | ||
8471 | #define wxStyledTextCtrl_GetLexer(_swigobj) (_swigobj->GetLexer()) | |
8472 | static PyObject *_wrap_wxStyledTextCtrl_GetLexer(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8473 | PyObject * _resultobj; | |
8474 | int _result; | |
8475 | wxStyledTextCtrl * _arg0; | |
8476 | PyObject * _argo0 = 0; | |
8477 | char *_kwnames[] = { "self", NULL }; | |
8478 | ||
8479 | self = self; | |
8480 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetLexer",_kwnames,&_argo0)) | |
8481 | return NULL; | |
8482 | if (_argo0) { | |
8483 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
8484 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
8485 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetLexer. Expected _wxStyledTextCtrl_p."); | |
8486 | return NULL; | |
8487 | } | |
8488 | } | |
8489 | { | |
474c48f9 | 8490 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 8491 | _result = (int )wxStyledTextCtrl_GetLexer(_arg0); |
89c8ea73 | 8492 | |
474c48f9 RD |
8493 | wxPyEndAllowThreads(__tstate); |
8494 | if (PyErr_Occurred()) return NULL; | |
89c8ea73 RD |
8495 | } _resultobj = Py_BuildValue("i",_result); |
8496 | return _resultobj; | |
8497 | } | |
8498 | ||
8499 | #define wxStyledTextCtrl_Colourise(_swigobj,_swigarg0,_swigarg1) (_swigobj->Colourise(_swigarg0,_swigarg1)) | |
8500 | static PyObject *_wrap_wxStyledTextCtrl_Colourise(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8501 | PyObject * _resultobj; | |
8502 | wxStyledTextCtrl * _arg0; | |
8503 | int _arg1; | |
8504 | int _arg2; | |
8505 | PyObject * _argo0 = 0; | |
8506 | char *_kwnames[] = { "self","start","end", NULL }; | |
8507 | ||
8508 | self = self; | |
8509 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxStyledTextCtrl_Colourise",_kwnames,&_argo0,&_arg1,&_arg2)) | |
8510 | return NULL; | |
8511 | if (_argo0) { | |
8512 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
8513 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
8514 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_Colourise. Expected _wxStyledTextCtrl_p."); | |
8515 | return NULL; | |
8516 | } | |
8517 | } | |
8518 | { | |
474c48f9 | 8519 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 8520 | wxStyledTextCtrl_Colourise(_arg0,_arg1,_arg2); |
89c8ea73 | 8521 | |
474c48f9 RD |
8522 | wxPyEndAllowThreads(__tstate); |
8523 | if (PyErr_Occurred()) return NULL; | |
89c8ea73 RD |
8524 | } Py_INCREF(Py_None); |
8525 | _resultobj = Py_None; | |
8526 | return _resultobj; | |
8527 | } | |
8528 | ||
8529 | #define wxStyledTextCtrl_SetProperty(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetProperty(_swigarg0,_swigarg1)) | |
8530 | static PyObject *_wrap_wxStyledTextCtrl_SetProperty(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8531 | PyObject * _resultobj; | |
8532 | wxStyledTextCtrl * _arg0; | |
8533 | wxString * _arg1; | |
8534 | wxString * _arg2; | |
8535 | PyObject * _argo0 = 0; | |
8536 | PyObject * _obj1 = 0; | |
8537 | PyObject * _obj2 = 0; | |
8538 | char *_kwnames[] = { "self","key","value", NULL }; | |
8539 | ||
8540 | self = self; | |
8541 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxStyledTextCtrl_SetProperty",_kwnames,&_argo0,&_obj1,&_obj2)) | |
8542 | return NULL; | |
8543 | if (_argo0) { | |
8544 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
8545 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
8546 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetProperty. Expected _wxStyledTextCtrl_p."); | |
8547 | return NULL; | |
8548 | } | |
8549 | } | |
8550 | { | |
c8bc7bb8 RD |
8551 | _arg1 = wxString_in_helper(_obj1); |
8552 | if (_arg1 == NULL) | |
89c8ea73 | 8553 | return NULL; |
89c8ea73 RD |
8554 | } |
8555 | { | |
c8bc7bb8 RD |
8556 | _arg2 = wxString_in_helper(_obj2); |
8557 | if (_arg2 == NULL) | |
89c8ea73 | 8558 | return NULL; |
89c8ea73 RD |
8559 | } |
8560 | { | |
474c48f9 | 8561 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 8562 | wxStyledTextCtrl_SetProperty(_arg0,*_arg1,*_arg2); |
89c8ea73 | 8563 | |
474c48f9 RD |
8564 | wxPyEndAllowThreads(__tstate); |
8565 | if (PyErr_Occurred()) return NULL; | |
89c8ea73 RD |
8566 | } Py_INCREF(Py_None); |
8567 | _resultobj = Py_None; | |
8568 | { | |
8569 | if (_obj1) | |
8570 | delete _arg1; | |
8571 | } | |
8572 | { | |
8573 | if (_obj2) | |
8574 | delete _arg2; | |
8575 | } | |
8576 | return _resultobj; | |
8577 | } | |
8578 | ||
8579 | #define wxStyledTextCtrl_SetKeyWords(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetKeyWords(_swigarg0,_swigarg1)) | |
8580 | static PyObject *_wrap_wxStyledTextCtrl_SetKeyWords(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8581 | PyObject * _resultobj; | |
8582 | wxStyledTextCtrl * _arg0; | |
8583 | int _arg1; | |
8584 | wxString * _arg2; | |
8585 | PyObject * _argo0 = 0; | |
8586 | PyObject * _obj2 = 0; | |
8587 | char *_kwnames[] = { "self","keywordSet","keyWords", NULL }; | |
8588 | ||
8589 | self = self; | |
8590 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxStyledTextCtrl_SetKeyWords",_kwnames,&_argo0,&_arg1,&_obj2)) | |
8591 | return NULL; | |
8592 | if (_argo0) { | |
8593 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
8594 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
8595 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetKeyWords. Expected _wxStyledTextCtrl_p."); | |
8596 | return NULL; | |
8597 | } | |
8598 | } | |
8599 | { | |
c8bc7bb8 RD |
8600 | _arg2 = wxString_in_helper(_obj2); |
8601 | if (_arg2 == NULL) | |
89c8ea73 | 8602 | return NULL; |
89c8ea73 RD |
8603 | } |
8604 | { | |
474c48f9 | 8605 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 8606 | wxStyledTextCtrl_SetKeyWords(_arg0,_arg1,*_arg2); |
89c8ea73 | 8607 | |
474c48f9 RD |
8608 | wxPyEndAllowThreads(__tstate); |
8609 | if (PyErr_Occurred()) return NULL; | |
89c8ea73 RD |
8610 | } Py_INCREF(Py_None); |
8611 | _resultobj = Py_None; | |
8612 | { | |
8613 | if (_obj2) | |
8614 | delete _arg2; | |
8615 | } | |
8616 | return _resultobj; | |
8617 | } | |
8618 | ||
8619 | #define wxStyledTextCtrl_SetLexerLanguage(_swigobj,_swigarg0) (_swigobj->SetLexerLanguage(_swigarg0)) | |
8620 | static PyObject *_wrap_wxStyledTextCtrl_SetLexerLanguage(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8621 | PyObject * _resultobj; | |
8622 | wxStyledTextCtrl * _arg0; | |
8623 | wxString * _arg1; | |
8624 | PyObject * _argo0 = 0; | |
8625 | PyObject * _obj1 = 0; | |
8626 | char *_kwnames[] = { "self","language", NULL }; | |
8627 | ||
8628 | self = self; | |
8629 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxStyledTextCtrl_SetLexerLanguage",_kwnames,&_argo0,&_obj1)) | |
8630 | return NULL; | |
8631 | if (_argo0) { | |
8632 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
8633 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
8634 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetLexerLanguage. Expected _wxStyledTextCtrl_p."); | |
8635 | return NULL; | |
8636 | } | |
8637 | } | |
8638 | { | |
c8bc7bb8 RD |
8639 | _arg1 = wxString_in_helper(_obj1); |
8640 | if (_arg1 == NULL) | |
89c8ea73 | 8641 | return NULL; |
89c8ea73 RD |
8642 | } |
8643 | { | |
474c48f9 | 8644 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 8645 | wxStyledTextCtrl_SetLexerLanguage(_arg0,*_arg1); |
89c8ea73 | 8646 | |
474c48f9 RD |
8647 | wxPyEndAllowThreads(__tstate); |
8648 | if (PyErr_Occurred()) return NULL; | |
89c8ea73 RD |
8649 | } Py_INCREF(Py_None); |
8650 | _resultobj = Py_None; | |
8651 | { | |
8652 | if (_obj1) | |
8653 | delete _arg1; | |
8654 | } | |
8655 | return _resultobj; | |
8656 | } | |
8657 | ||
8658 | #define wxStyledTextCtrl_GetCurrentLine(_swigobj) (_swigobj->GetCurrentLine()) | |
8659 | static PyObject *_wrap_wxStyledTextCtrl_GetCurrentLine(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8660 | PyObject * _resultobj; | |
8661 | int _result; | |
8662 | wxStyledTextCtrl * _arg0; | |
8663 | PyObject * _argo0 = 0; | |
8664 | char *_kwnames[] = { "self", NULL }; | |
8665 | ||
8666 | self = self; | |
8667 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetCurrentLine",_kwnames,&_argo0)) | |
8668 | return NULL; | |
8669 | if (_argo0) { | |
8670 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
8671 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
8672 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetCurrentLine. Expected _wxStyledTextCtrl_p."); | |
8673 | return NULL; | |
8674 | } | |
8675 | } | |
8676 | { | |
474c48f9 | 8677 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 8678 | _result = (int )wxStyledTextCtrl_GetCurrentLine(_arg0); |
89c8ea73 | 8679 | |
474c48f9 RD |
8680 | wxPyEndAllowThreads(__tstate); |
8681 | if (PyErr_Occurred()) return NULL; | |
89c8ea73 RD |
8682 | } _resultobj = Py_BuildValue("i",_result); |
8683 | return _resultobj; | |
8684 | } | |
8685 | ||
8686 | #define wxStyledTextCtrl_StyleSetSpec(_swigobj,_swigarg0,_swigarg1) (_swigobj->StyleSetSpec(_swigarg0,_swigarg1)) | |
8687 | static PyObject *_wrap_wxStyledTextCtrl_StyleSetSpec(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8688 | PyObject * _resultobj; | |
8689 | wxStyledTextCtrl * _arg0; | |
8690 | int _arg1; | |
8691 | wxString * _arg2; | |
8692 | PyObject * _argo0 = 0; | |
8693 | PyObject * _obj2 = 0; | |
8694 | char *_kwnames[] = { "self","styleNum","spec", NULL }; | |
8695 | ||
8696 | self = self; | |
8697 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxStyledTextCtrl_StyleSetSpec",_kwnames,&_argo0,&_arg1,&_obj2)) | |
8698 | return NULL; | |
8699 | if (_argo0) { | |
8700 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
8701 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
8702 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_StyleSetSpec. Expected _wxStyledTextCtrl_p."); | |
8703 | return NULL; | |
8704 | } | |
8705 | } | |
8706 | { | |
c8bc7bb8 RD |
8707 | _arg2 = wxString_in_helper(_obj2); |
8708 | if (_arg2 == NULL) | |
89c8ea73 | 8709 | return NULL; |
89c8ea73 RD |
8710 | } |
8711 | { | |
474c48f9 | 8712 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 8713 | wxStyledTextCtrl_StyleSetSpec(_arg0,_arg1,*_arg2); |
89c8ea73 | 8714 | |
474c48f9 RD |
8715 | wxPyEndAllowThreads(__tstate); |
8716 | if (PyErr_Occurred()) return NULL; | |
89c8ea73 RD |
8717 | } Py_INCREF(Py_None); |
8718 | _resultobj = Py_None; | |
8719 | { | |
8720 | if (_obj2) | |
8721 | delete _arg2; | |
8722 | } | |
8723 | return _resultobj; | |
8724 | } | |
8725 | ||
8726 | #define wxStyledTextCtrl_StyleSetFont(_swigobj,_swigarg0,_swigarg1) (_swigobj->StyleSetFont(_swigarg0,_swigarg1)) | |
8727 | static PyObject *_wrap_wxStyledTextCtrl_StyleSetFont(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8728 | PyObject * _resultobj; | |
8729 | wxStyledTextCtrl * _arg0; | |
8730 | int _arg1; | |
8731 | wxFont * _arg2; | |
8732 | PyObject * _argo0 = 0; | |
8733 | PyObject * _argo2 = 0; | |
8734 | char *_kwnames[] = { "self","styleNum","font", NULL }; | |
8735 | ||
8736 | self = self; | |
8737 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxStyledTextCtrl_StyleSetFont",_kwnames,&_argo0,&_arg1,&_argo2)) | |
8738 | return NULL; | |
8739 | if (_argo0) { | |
8740 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
8741 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
8742 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_StyleSetFont. Expected _wxStyledTextCtrl_p."); | |
8743 | return NULL; | |
8744 | } | |
8745 | } | |
8746 | if (_argo2) { | |
8747 | if (_argo2 == Py_None) { _arg2 = NULL; } | |
8748 | else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxFont_p")) { | |
8749 | PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxStyledTextCtrl_StyleSetFont. Expected _wxFont_p."); | |
8750 | return NULL; | |
8751 | } | |
8752 | } | |
8753 | { | |
474c48f9 | 8754 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 8755 | wxStyledTextCtrl_StyleSetFont(_arg0,_arg1,*_arg2); |
89c8ea73 | 8756 | |
474c48f9 RD |
8757 | wxPyEndAllowThreads(__tstate); |
8758 | if (PyErr_Occurred()) return NULL; | |
89c8ea73 RD |
8759 | } Py_INCREF(Py_None); |
8760 | _resultobj = Py_None; | |
8761 | return _resultobj; | |
8762 | } | |
8763 | ||
8764 | #define wxStyledTextCtrl_StyleSetFontAttr(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->StyleSetFontAttr(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5)) | |
8765 | static PyObject *_wrap_wxStyledTextCtrl_StyleSetFontAttr(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8766 | PyObject * _resultobj; | |
8767 | wxStyledTextCtrl * _arg0; | |
8768 | int _arg1; | |
8769 | int _arg2; | |
8770 | wxString * _arg3; | |
8771 | bool _arg4; | |
8772 | bool _arg5; | |
8773 | bool _arg6; | |
8774 | PyObject * _argo0 = 0; | |
8775 | PyObject * _obj3 = 0; | |
8776 | int tempbool4; | |
8777 | int tempbool5; | |
8778 | int tempbool6; | |
8779 | char *_kwnames[] = { "self","styleNum","size","faceName","bold","italic","underline", NULL }; | |
8780 | ||
8781 | self = self; | |
8782 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiiOiii:wxStyledTextCtrl_StyleSetFontAttr",_kwnames,&_argo0,&_arg1,&_arg2,&_obj3,&tempbool4,&tempbool5,&tempbool6)) | |
8783 | return NULL; | |
8784 | if (_argo0) { | |
8785 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
8786 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
8787 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_StyleSetFontAttr. Expected _wxStyledTextCtrl_p."); | |
8788 | return NULL; | |
8789 | } | |
8790 | } | |
8791 | { | |
c8bc7bb8 RD |
8792 | _arg3 = wxString_in_helper(_obj3); |
8793 | if (_arg3 == NULL) | |
89c8ea73 | 8794 | return NULL; |
89c8ea73 RD |
8795 | } |
8796 | _arg4 = (bool ) tempbool4; | |
8797 | _arg5 = (bool ) tempbool5; | |
8798 | _arg6 = (bool ) tempbool6; | |
8799 | { | |
474c48f9 | 8800 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 8801 | wxStyledTextCtrl_StyleSetFontAttr(_arg0,_arg1,_arg2,*_arg3,_arg4,_arg5,_arg6); |
89c8ea73 | 8802 | |
474c48f9 RD |
8803 | wxPyEndAllowThreads(__tstate); |
8804 | if (PyErr_Occurred()) return NULL; | |
89c8ea73 RD |
8805 | } Py_INCREF(Py_None); |
8806 | _resultobj = Py_None; | |
8807 | { | |
8808 | if (_obj3) | |
8809 | delete _arg3; | |
8810 | } | |
8811 | return _resultobj; | |
8812 | } | |
8813 | ||
8814 | #define wxStyledTextCtrl_CmdKeyExecute(_swigobj,_swigarg0) (_swigobj->CmdKeyExecute(_swigarg0)) | |
8815 | static PyObject *_wrap_wxStyledTextCtrl_CmdKeyExecute(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8816 | PyObject * _resultobj; | |
8817 | wxStyledTextCtrl * _arg0; | |
8818 | int _arg1; | |
8819 | PyObject * _argo0 = 0; | |
8820 | char *_kwnames[] = { "self","cmd", NULL }; | |
8821 | ||
8822 | self = self; | |
8823 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_CmdKeyExecute",_kwnames,&_argo0,&_arg1)) | |
8824 | return NULL; | |
8825 | if (_argo0) { | |
8826 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
8827 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
8828 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_CmdKeyExecute. Expected _wxStyledTextCtrl_p."); | |
8829 | return NULL; | |
8830 | } | |
8831 | } | |
8832 | { | |
474c48f9 | 8833 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 8834 | wxStyledTextCtrl_CmdKeyExecute(_arg0,_arg1); |
89c8ea73 | 8835 | |
474c48f9 RD |
8836 | wxPyEndAllowThreads(__tstate); |
8837 | if (PyErr_Occurred()) return NULL; | |
89c8ea73 RD |
8838 | } Py_INCREF(Py_None); |
8839 | _resultobj = Py_None; | |
8840 | return _resultobj; | |
8841 | } | |
8842 | ||
8843 | #define wxStyledTextCtrl_SetMargins(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetMargins(_swigarg0,_swigarg1)) | |
8844 | static PyObject *_wrap_wxStyledTextCtrl_SetMargins(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8845 | PyObject * _resultobj; | |
8846 | wxStyledTextCtrl * _arg0; | |
8847 | int _arg1; | |
8848 | int _arg2; | |
8849 | PyObject * _argo0 = 0; | |
8850 | char *_kwnames[] = { "self","left","right", NULL }; | |
8851 | ||
8852 | self = self; | |
8853 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxStyledTextCtrl_SetMargins",_kwnames,&_argo0,&_arg1,&_arg2)) | |
8854 | return NULL; | |
8855 | if (_argo0) { | |
8856 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
8857 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
8858 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetMargins. Expected _wxStyledTextCtrl_p."); | |
8859 | return NULL; | |
8860 | } | |
8861 | } | |
8862 | { | |
474c48f9 | 8863 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 8864 | wxStyledTextCtrl_SetMargins(_arg0,_arg1,_arg2); |
89c8ea73 | 8865 | |
474c48f9 RD |
8866 | wxPyEndAllowThreads(__tstate); |
8867 | if (PyErr_Occurred()) return NULL; | |
89c8ea73 RD |
8868 | } Py_INCREF(Py_None); |
8869 | _resultobj = Py_None; | |
8870 | return _resultobj; | |
8871 | } | |
8872 | ||
8873 | #define wxStyledTextCtrl_GetSelection(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetSelection(_swigarg0,_swigarg1)) | |
8874 | static PyObject *_wrap_wxStyledTextCtrl_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8875 | PyObject * _resultobj; | |
8876 | wxStyledTextCtrl * _arg0; | |
8877 | int * _arg1; | |
8878 | int temp; | |
8879 | int * _arg2; | |
8880 | int temp0; | |
8881 | PyObject * _argo0 = 0; | |
8882 | char *_kwnames[] = { "self", NULL }; | |
8883 | ||
8884 | self = self; | |
8885 | { | |
8886 | _arg1 = &temp; | |
8887 | } | |
8888 | { | |
8889 | _arg2 = &temp0; | |
8890 | } | |
8891 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetSelection",_kwnames,&_argo0)) | |
8892 | return NULL; | |
8893 | if (_argo0) { | |
8894 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
8895 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
8896 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetSelection. Expected _wxStyledTextCtrl_p."); | |
8897 | return NULL; | |
8898 | } | |
8899 | } | |
8900 | { | |
474c48f9 | 8901 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 8902 | wxStyledTextCtrl_GetSelection(_arg0,_arg1,_arg2); |
89c8ea73 | 8903 | |
474c48f9 RD |
8904 | wxPyEndAllowThreads(__tstate); |
8905 | if (PyErr_Occurred()) return NULL; | |
89c8ea73 RD |
8906 | } Py_INCREF(Py_None); |
8907 | _resultobj = Py_None; | |
8908 | { | |
8909 | PyObject *o; | |
8910 | o = PyInt_FromLong((long) (*_arg1)); | |
8911 | _resultobj = t_output_helper(_resultobj, o); | |
8912 | } | |
8913 | { | |
8914 | PyObject *o; | |
8915 | o = PyInt_FromLong((long) (*_arg2)); | |
8916 | _resultobj = t_output_helper(_resultobj, o); | |
8917 | } | |
8918 | return _resultobj; | |
8919 | } | |
8920 | ||
8921 | #define wxStyledTextCtrl_PointFromPosition(_swigobj,_swigarg0) (_swigobj->PointFromPosition(_swigarg0)) | |
8922 | static PyObject *_wrap_wxStyledTextCtrl_PointFromPosition(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8923 | PyObject * _resultobj; | |
8924 | wxPoint * _result; | |
8925 | wxStyledTextCtrl * _arg0; | |
8926 | int _arg1; | |
8927 | PyObject * _argo0 = 0; | |
8928 | char *_kwnames[] = { "self","pos", NULL }; | |
8929 | char _ptemp[128]; | |
8930 | ||
8931 | self = self; | |
8932 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_PointFromPosition",_kwnames,&_argo0,&_arg1)) | |
8933 | return NULL; | |
8934 | if (_argo0) { | |
8935 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
8936 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
8937 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_PointFromPosition. Expected _wxStyledTextCtrl_p."); | |
8938 | return NULL; | |
8939 | } | |
8940 | } | |
8941 | { | |
474c48f9 | 8942 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 8943 | _result = new wxPoint (wxStyledTextCtrl_PointFromPosition(_arg0,_arg1)); |
89c8ea73 | 8944 | |
474c48f9 RD |
8945 | wxPyEndAllowThreads(__tstate); |
8946 | if (PyErr_Occurred()) return NULL; | |
89c8ea73 RD |
8947 | } SWIG_MakePtr(_ptemp, (void *) _result,"_wxPoint_p"); |
8948 | _resultobj = Py_BuildValue("s",_ptemp); | |
8949 | return _resultobj; | |
8950 | } | |
8951 | ||
8952 | #define wxStyledTextCtrl_ScrollToLine(_swigobj,_swigarg0) (_swigobj->ScrollToLine(_swigarg0)) | |
8953 | static PyObject *_wrap_wxStyledTextCtrl_ScrollToLine(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8954 | PyObject * _resultobj; | |
8955 | wxStyledTextCtrl * _arg0; | |
8956 | int _arg1; | |
8957 | PyObject * _argo0 = 0; | |
8958 | char *_kwnames[] = { "self","line", NULL }; | |
8959 | ||
8960 | self = self; | |
8961 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_ScrollToLine",_kwnames,&_argo0,&_arg1)) | |
8962 | return NULL; | |
8963 | if (_argo0) { | |
8964 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
8965 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
8966 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_ScrollToLine. Expected _wxStyledTextCtrl_p."); | |
8967 | return NULL; | |
8968 | } | |
8969 | } | |
8970 | { | |
474c48f9 | 8971 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 8972 | wxStyledTextCtrl_ScrollToLine(_arg0,_arg1); |
89c8ea73 | 8973 | |
474c48f9 RD |
8974 | wxPyEndAllowThreads(__tstate); |
8975 | if (PyErr_Occurred()) return NULL; | |
89c8ea73 RD |
8976 | } Py_INCREF(Py_None); |
8977 | _resultobj = Py_None; | |
8978 | return _resultobj; | |
8979 | } | |
8980 | ||
8981 | #define wxStyledTextCtrl_ScrollToColumn(_swigobj,_swigarg0) (_swigobj->ScrollToColumn(_swigarg0)) | |
8982 | static PyObject *_wrap_wxStyledTextCtrl_ScrollToColumn(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8983 | PyObject * _resultobj; | |
8984 | wxStyledTextCtrl * _arg0; | |
8985 | int _arg1; | |
8986 | PyObject * _argo0 = 0; | |
8987 | char *_kwnames[] = { "self","column", NULL }; | |
8988 | ||
8989 | self = self; | |
8990 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_ScrollToColumn",_kwnames,&_argo0,&_arg1)) | |
8991 | return NULL; | |
8992 | if (_argo0) { | |
8993 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
8994 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
8995 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_ScrollToColumn. Expected _wxStyledTextCtrl_p."); | |
8996 | return NULL; | |
8997 | } | |
8998 | } | |
8999 | { | |
474c48f9 | 9000 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 9001 | wxStyledTextCtrl_ScrollToColumn(_arg0,_arg1); |
89c8ea73 | 9002 | |
474c48f9 RD |
9003 | wxPyEndAllowThreads(__tstate); |
9004 | if (PyErr_Occurred()) return NULL; | |
89c8ea73 RD |
9005 | } Py_INCREF(Py_None); |
9006 | _resultobj = Py_None; | |
9007 | return _resultobj; | |
9008 | } | |
9009 | ||
9010 | #define wxStyledTextCtrl_SendMsg(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SendMsg(_swigarg0,_swigarg1,_swigarg2)) | |
9011 | static PyObject *_wrap_wxStyledTextCtrl_SendMsg(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9012 | PyObject * _resultobj; | |
9013 | long _result; | |
9014 | wxStyledTextCtrl * _arg0; | |
9015 | int _arg1; | |
9016 | long _arg2 = (long ) 0; | |
9017 | long _arg3 = (long ) 0; | |
9018 | PyObject * _argo0 = 0; | |
9019 | char *_kwnames[] = { "self","msg","wp","lp", NULL }; | |
9020 | ||
9021 | self = self; | |
9022 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi|ll:wxStyledTextCtrl_SendMsg",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3)) | |
9023 | return NULL; | |
9024 | if (_argo0) { | |
9025 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
9026 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
9027 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SendMsg. Expected _wxStyledTextCtrl_p."); | |
9028 | return NULL; | |
9029 | } | |
9030 | } | |
9031 | { | |
474c48f9 | 9032 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 9033 | _result = (long )wxStyledTextCtrl_SendMsg(_arg0,_arg1,_arg2,_arg3); |
89c8ea73 | 9034 | |
474c48f9 RD |
9035 | wxPyEndAllowThreads(__tstate); |
9036 | if (PyErr_Occurred()) return NULL; | |
89c8ea73 RD |
9037 | } _resultobj = Py_BuildValue("l",_result); |
9038 | return _resultobj; | |
9039 | } | |
9040 | ||
6e8a778a RD |
9041 | #define wxStyledTextCtrl_SetVScrollBar(_swigobj,_swigarg0) (_swigobj->SetVScrollBar(_swigarg0)) |
9042 | static PyObject *_wrap_wxStyledTextCtrl_SetVScrollBar(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9043 | PyObject * _resultobj; | |
9044 | wxStyledTextCtrl * _arg0; | |
9045 | wxScrollBar * _arg1; | |
9046 | PyObject * _argo0 = 0; | |
9047 | PyObject * _argo1 = 0; | |
9048 | char *_kwnames[] = { "self","bar", NULL }; | |
9049 | ||
9050 | self = self; | |
9051 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxStyledTextCtrl_SetVScrollBar",_kwnames,&_argo0,&_argo1)) | |
9052 | return NULL; | |
9053 | if (_argo0) { | |
9054 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
9055 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
9056 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetVScrollBar. Expected _wxStyledTextCtrl_p."); | |
9057 | return NULL; | |
9058 | } | |
9059 | } | |
9060 | if (_argo1) { | |
9061 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
9062 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxScrollBar_p")) { | |
9063 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxStyledTextCtrl_SetVScrollBar. Expected _wxScrollBar_p."); | |
9064 | return NULL; | |
9065 | } | |
9066 | } | |
9067 | { | |
474c48f9 | 9068 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 9069 | wxStyledTextCtrl_SetVScrollBar(_arg0,_arg1); |
6e8a778a | 9070 | |
474c48f9 RD |
9071 | wxPyEndAllowThreads(__tstate); |
9072 | if (PyErr_Occurred()) return NULL; | |
6e8a778a RD |
9073 | } Py_INCREF(Py_None); |
9074 | _resultobj = Py_None; | |
9075 | return _resultobj; | |
9076 | } | |
9077 | ||
9078 | #define wxStyledTextCtrl_SetHScrollBar(_swigobj,_swigarg0) (_swigobj->SetHScrollBar(_swigarg0)) | |
9079 | static PyObject *_wrap_wxStyledTextCtrl_SetHScrollBar(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9080 | PyObject * _resultobj; | |
9081 | wxStyledTextCtrl * _arg0; | |
9082 | wxScrollBar * _arg1; | |
9083 | PyObject * _argo0 = 0; | |
9084 | PyObject * _argo1 = 0; | |
9085 | char *_kwnames[] = { "self","bar", NULL }; | |
9086 | ||
9087 | self = self; | |
9088 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxStyledTextCtrl_SetHScrollBar",_kwnames,&_argo0,&_argo1)) | |
9089 | return NULL; | |
9090 | if (_argo0) { | |
9091 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
9092 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
9093 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetHScrollBar. Expected _wxStyledTextCtrl_p."); | |
9094 | return NULL; | |
9095 | } | |
9096 | } | |
9097 | if (_argo1) { | |
9098 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
9099 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxScrollBar_p")) { | |
9100 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxStyledTextCtrl_SetHScrollBar. Expected _wxScrollBar_p."); | |
9101 | return NULL; | |
9102 | } | |
9103 | } | |
9104 | { | |
474c48f9 | 9105 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 9106 | wxStyledTextCtrl_SetHScrollBar(_arg0,_arg1); |
6e8a778a | 9107 | |
474c48f9 RD |
9108 | wxPyEndAllowThreads(__tstate); |
9109 | if (PyErr_Occurred()) return NULL; | |
6e8a778a RD |
9110 | } Py_INCREF(Py_None); |
9111 | _resultobj = Py_None; | |
9112 | return _resultobj; | |
9113 | } | |
9114 | ||
89c8ea73 RD |
9115 | static void *SwigwxStyledTextEventTowxCommandEvent(void *ptr) { |
9116 | wxStyledTextEvent *src; | |
9117 | wxCommandEvent *dest; | |
9118 | src = (wxStyledTextEvent *) ptr; | |
9119 | dest = (wxCommandEvent *) src; | |
9120 | return (void *) dest; | |
9121 | } | |
9122 | ||
9123 | static void *SwigwxStyledTextEventTowxEvent(void *ptr) { | |
9124 | wxStyledTextEvent *src; | |
9125 | wxEvent *dest; | |
9126 | src = (wxStyledTextEvent *) ptr; | |
9127 | dest = (wxEvent *) src; | |
9128 | return (void *) dest; | |
9129 | } | |
9130 | ||
9131 | static void *SwigwxStyledTextEventTowxObject(void *ptr) { | |
9132 | wxStyledTextEvent *src; | |
9133 | wxObject *dest; | |
9134 | src = (wxStyledTextEvent *) ptr; | |
9135 | dest = (wxObject *) src; | |
9136 | return (void *) dest; | |
9137 | } | |
9138 | ||
3e212503 | 9139 | #define new_wxStyledTextEvent(_swigarg0,_swigarg1) (new wxStyledTextEvent(_swigarg0,_swigarg1)) |
89c8ea73 RD |
9140 | static PyObject *_wrap_new_wxStyledTextEvent(PyObject *self, PyObject *args, PyObject *kwargs) { |
9141 | PyObject * _resultobj; | |
9142 | wxStyledTextEvent * _result; | |
3e212503 RD |
9143 | wxEventType _arg0 = (wxEventType ) 0; |
9144 | int _arg1 = (int ) 0; | |
9145 | char *_kwnames[] = { "commandType","id", NULL }; | |
89c8ea73 RD |
9146 | char _ptemp[128]; |
9147 | ||
9148 | self = self; | |
3e212503 | 9149 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"|ii:new_wxStyledTextEvent",_kwnames,&_arg0,&_arg1)) |
89c8ea73 RD |
9150 | return NULL; |
9151 | { | |
474c48f9 | 9152 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 9153 | _result = (wxStyledTextEvent *)new_wxStyledTextEvent(_arg0,_arg1); |
89c8ea73 | 9154 | |
474c48f9 RD |
9155 | wxPyEndAllowThreads(__tstate); |
9156 | if (PyErr_Occurred()) return NULL; | |
89c8ea73 RD |
9157 | } if (_result) { |
9158 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxStyledTextEvent_p"); | |
9159 | _resultobj = Py_BuildValue("s",_ptemp); | |
9160 | } else { | |
9161 | Py_INCREF(Py_None); | |
9162 | _resultobj = Py_None; | |
9163 | } | |
9164 | return _resultobj; | |
9165 | } | |
9166 | ||
9167 | #define delete_wxStyledTextEvent(_swigobj) (delete _swigobj) | |
9168 | static PyObject *_wrap_delete_wxStyledTextEvent(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9169 | PyObject * _resultobj; | |
9170 | wxStyledTextEvent * _arg0; | |
9171 | PyObject * _argo0 = 0; | |
9172 | char *_kwnames[] = { "self", NULL }; | |
9173 | ||
9174 | self = self; | |
9175 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:delete_wxStyledTextEvent",_kwnames,&_argo0)) | |
9176 | return NULL; | |
9177 | if (_argo0) { | |
9178 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
9179 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextEvent_p")) { | |
9180 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of delete_wxStyledTextEvent. Expected _wxStyledTextEvent_p."); | |
9181 | return NULL; | |
9182 | } | |
9183 | } | |
9184 | { | |
474c48f9 | 9185 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 9186 | delete_wxStyledTextEvent(_arg0); |
89c8ea73 | 9187 | |
474c48f9 RD |
9188 | wxPyEndAllowThreads(__tstate); |
9189 | if (PyErr_Occurred()) return NULL; | |
89c8ea73 RD |
9190 | } Py_INCREF(Py_None); |
9191 | _resultobj = Py_None; | |
9192 | return _resultobj; | |
9193 | } | |
9194 | ||
9195 | #define wxStyledTextEvent_SetPosition(_swigobj,_swigarg0) (_swigobj->SetPosition(_swigarg0)) | |
9196 | static PyObject *_wrap_wxStyledTextEvent_SetPosition(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9197 | PyObject * _resultobj; | |
9198 | wxStyledTextEvent * _arg0; | |
9199 | int _arg1; | |
9200 | PyObject * _argo0 = 0; | |
9201 | char *_kwnames[] = { "self","pos", NULL }; | |
9202 | ||
9203 | self = self; | |
9204 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextEvent_SetPosition",_kwnames,&_argo0,&_arg1)) | |
9205 | return NULL; | |
9206 | if (_argo0) { | |
9207 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
9208 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextEvent_p")) { | |
9209 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextEvent_SetPosition. Expected _wxStyledTextEvent_p."); | |
9210 | return NULL; | |
9211 | } | |
9212 | } | |
9213 | { | |
474c48f9 | 9214 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 9215 | wxStyledTextEvent_SetPosition(_arg0,_arg1); |
89c8ea73 | 9216 | |
474c48f9 RD |
9217 | wxPyEndAllowThreads(__tstate); |
9218 | if (PyErr_Occurred()) return NULL; | |
89c8ea73 RD |
9219 | } Py_INCREF(Py_None); |
9220 | _resultobj = Py_None; | |
9221 | return _resultobj; | |
9222 | } | |
9223 | ||
9224 | #define wxStyledTextEvent_SetKey(_swigobj,_swigarg0) (_swigobj->SetKey(_swigarg0)) | |
9225 | static PyObject *_wrap_wxStyledTextEvent_SetKey(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9226 | PyObject * _resultobj; | |
9227 | wxStyledTextEvent * _arg0; | |
9228 | int _arg1; | |
9229 | PyObject * _argo0 = 0; | |
9230 | char *_kwnames[] = { "self","k", NULL }; | |
9231 | ||
9232 | self = self; | |
9233 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextEvent_SetKey",_kwnames,&_argo0,&_arg1)) | |
9234 | return NULL; | |
9235 | if (_argo0) { | |
9236 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
9237 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextEvent_p")) { | |
9238 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextEvent_SetKey. Expected _wxStyledTextEvent_p."); | |
9239 | return NULL; | |
9240 | } | |
9241 | } | |
9242 | { | |
474c48f9 | 9243 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 9244 | wxStyledTextEvent_SetKey(_arg0,_arg1); |
89c8ea73 | 9245 | |
474c48f9 RD |
9246 | wxPyEndAllowThreads(__tstate); |
9247 | if (PyErr_Occurred()) return NULL; | |
89c8ea73 RD |
9248 | } Py_INCREF(Py_None); |
9249 | _resultobj = Py_None; | |
9250 | return _resultobj; | |
9251 | } | |
9252 | ||
9253 | #define wxStyledTextEvent_SetModifiers(_swigobj,_swigarg0) (_swigobj->SetModifiers(_swigarg0)) | |
9254 | static PyObject *_wrap_wxStyledTextEvent_SetModifiers(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9255 | PyObject * _resultobj; | |
9256 | wxStyledTextEvent * _arg0; | |
9257 | int _arg1; | |
9258 | PyObject * _argo0 = 0; | |
9259 | char *_kwnames[] = { "self","m", NULL }; | |
9260 | ||
9261 | self = self; | |
9262 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextEvent_SetModifiers",_kwnames,&_argo0,&_arg1)) | |
9263 | return NULL; | |
9264 | if (_argo0) { | |
9265 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
9266 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextEvent_p")) { | |
9267 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextEvent_SetModifiers. Expected _wxStyledTextEvent_p."); | |
9268 | return NULL; | |
9269 | } | |
9270 | } | |
9271 | { | |
474c48f9 | 9272 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 9273 | wxStyledTextEvent_SetModifiers(_arg0,_arg1); |
89c8ea73 | 9274 | |
474c48f9 RD |
9275 | wxPyEndAllowThreads(__tstate); |
9276 | if (PyErr_Occurred()) return NULL; | |
89c8ea73 RD |
9277 | } Py_INCREF(Py_None); |
9278 | _resultobj = Py_None; | |
9279 | return _resultobj; | |
9280 | } | |
9281 | ||
9282 | #define wxStyledTextEvent_SetModificationType(_swigobj,_swigarg0) (_swigobj->SetModificationType(_swigarg0)) | |
9283 | static PyObject *_wrap_wxStyledTextEvent_SetModificationType(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9284 | PyObject * _resultobj; | |
9285 | wxStyledTextEvent * _arg0; | |
9286 | int _arg1; | |
9287 | PyObject * _argo0 = 0; | |
9288 | char *_kwnames[] = { "self","t", NULL }; | |
9289 | ||
9290 | self = self; | |
9291 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextEvent_SetModificationType",_kwnames,&_argo0,&_arg1)) | |
9292 | return NULL; | |
9293 | if (_argo0) { | |
9294 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
9295 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextEvent_p")) { | |
9296 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextEvent_SetModificationType. Expected _wxStyledTextEvent_p."); | |
9297 | return NULL; | |
9298 | } | |
9299 | } | |
9300 | { | |
474c48f9 | 9301 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 9302 | wxStyledTextEvent_SetModificationType(_arg0,_arg1); |
89c8ea73 | 9303 | |
474c48f9 RD |
9304 | wxPyEndAllowThreads(__tstate); |
9305 | if (PyErr_Occurred()) return NULL; | |
89c8ea73 RD |
9306 | } Py_INCREF(Py_None); |
9307 | _resultobj = Py_None; | |
9308 | return _resultobj; | |
9309 | } | |
9310 | ||
9311 | #define wxStyledTextEvent_SetText(_swigobj,_swigarg0) (_swigobj->SetText(_swigarg0)) | |
9312 | static PyObject *_wrap_wxStyledTextEvent_SetText(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9313 | PyObject * _resultobj; | |
9314 | wxStyledTextEvent * _arg0; | |
9315 | char * _arg1; | |
9316 | PyObject * _argo0 = 0; | |
9317 | char *_kwnames[] = { "self","t", NULL }; | |
9318 | ||
9319 | self = self; | |
9320 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Os:wxStyledTextEvent_SetText",_kwnames,&_argo0,&_arg1)) | |
9321 | return NULL; | |
9322 | if (_argo0) { | |
9323 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
9324 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextEvent_p")) { | |
9325 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextEvent_SetText. Expected _wxStyledTextEvent_p."); | |
9326 | return NULL; | |
9327 | } | |
9328 | } | |
9329 | { | |
474c48f9 | 9330 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 9331 | wxStyledTextEvent_SetText(_arg0,_arg1); |
89c8ea73 | 9332 | |
474c48f9 RD |
9333 | wxPyEndAllowThreads(__tstate); |
9334 | if (PyErr_Occurred()) return NULL; | |
89c8ea73 RD |
9335 | } Py_INCREF(Py_None); |
9336 | _resultobj = Py_None; | |
9337 | return _resultobj; | |
9338 | } | |
9339 | ||
9340 | #define wxStyledTextEvent_SetLength(_swigobj,_swigarg0) (_swigobj->SetLength(_swigarg0)) | |
9341 | static PyObject *_wrap_wxStyledTextEvent_SetLength(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9342 | PyObject * _resultobj; | |
9343 | wxStyledTextEvent * _arg0; | |
9344 | int _arg1; | |
9345 | PyObject * _argo0 = 0; | |
9346 | char *_kwnames[] = { "self","len", NULL }; | |
9347 | ||
9348 | self = self; | |
9349 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextEvent_SetLength",_kwnames,&_argo0,&_arg1)) | |
9350 | return NULL; | |
9351 | if (_argo0) { | |
9352 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
9353 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextEvent_p")) { | |
9354 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextEvent_SetLength. Expected _wxStyledTextEvent_p."); | |
9355 | return NULL; | |
9356 | } | |
9357 | } | |
9358 | { | |
474c48f9 | 9359 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 9360 | wxStyledTextEvent_SetLength(_arg0,_arg1); |
89c8ea73 | 9361 | |
474c48f9 RD |
9362 | wxPyEndAllowThreads(__tstate); |
9363 | if (PyErr_Occurred()) return NULL; | |
89c8ea73 RD |
9364 | } Py_INCREF(Py_None); |
9365 | _resultobj = Py_None; | |
9366 | return _resultobj; | |
9367 | } | |
9368 | ||
9369 | #define wxStyledTextEvent_SetLinesAdded(_swigobj,_swigarg0) (_swigobj->SetLinesAdded(_swigarg0)) | |
9370 | static PyObject *_wrap_wxStyledTextEvent_SetLinesAdded(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9371 | PyObject * _resultobj; | |
9372 | wxStyledTextEvent * _arg0; | |
9373 | int _arg1; | |
9374 | PyObject * _argo0 = 0; | |
9375 | char *_kwnames[] = { "self","num", NULL }; | |
9376 | ||
9377 | self = self; | |
9378 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextEvent_SetLinesAdded",_kwnames,&_argo0,&_arg1)) | |
9379 | return NULL; | |
9380 | if (_argo0) { | |
9381 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
9382 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextEvent_p")) { | |
9383 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextEvent_SetLinesAdded. Expected _wxStyledTextEvent_p."); | |
9384 | return NULL; | |
9385 | } | |
9386 | } | |
9387 | { | |
474c48f9 | 9388 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 9389 | wxStyledTextEvent_SetLinesAdded(_arg0,_arg1); |
89c8ea73 | 9390 | |
474c48f9 RD |
9391 | wxPyEndAllowThreads(__tstate); |
9392 | if (PyErr_Occurred()) return NULL; | |
89c8ea73 RD |
9393 | } Py_INCREF(Py_None); |
9394 | _resultobj = Py_None; | |
9395 | return _resultobj; | |
9396 | } | |
9397 | ||
9398 | #define wxStyledTextEvent_SetLine(_swigobj,_swigarg0) (_swigobj->SetLine(_swigarg0)) | |
9399 | static PyObject *_wrap_wxStyledTextEvent_SetLine(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9400 | PyObject * _resultobj; | |
9401 | wxStyledTextEvent * _arg0; | |
9402 | int _arg1; | |
9403 | PyObject * _argo0 = 0; | |
9404 | char *_kwnames[] = { "self","val", NULL }; | |
9405 | ||
9406 | self = self; | |
9407 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextEvent_SetLine",_kwnames,&_argo0,&_arg1)) | |
9408 | return NULL; | |
9409 | if (_argo0) { | |
9410 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
9411 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextEvent_p")) { | |
9412 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextEvent_SetLine. Expected _wxStyledTextEvent_p."); | |
9413 | return NULL; | |
9414 | } | |
9415 | } | |
9416 | { | |
474c48f9 | 9417 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 9418 | wxStyledTextEvent_SetLine(_arg0,_arg1); |
89c8ea73 | 9419 | |
474c48f9 RD |
9420 | wxPyEndAllowThreads(__tstate); |
9421 | if (PyErr_Occurred()) return NULL; | |
89c8ea73 RD |
9422 | } Py_INCREF(Py_None); |
9423 | _resultobj = Py_None; | |
9424 | return _resultobj; | |
9425 | } | |
9426 | ||
9427 | #define wxStyledTextEvent_SetFoldLevelNow(_swigobj,_swigarg0) (_swigobj->SetFoldLevelNow(_swigarg0)) | |
9428 | static PyObject *_wrap_wxStyledTextEvent_SetFoldLevelNow(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9429 | PyObject * _resultobj; | |
9430 | wxStyledTextEvent * _arg0; | |
9431 | int _arg1; | |
9432 | PyObject * _argo0 = 0; | |
9433 | char *_kwnames[] = { "self","val", NULL }; | |
9434 | ||
9435 | self = self; | |
9436 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextEvent_SetFoldLevelNow",_kwnames,&_argo0,&_arg1)) | |
9437 | return NULL; | |
9438 | if (_argo0) { | |
9439 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
9440 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextEvent_p")) { | |
9441 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextEvent_SetFoldLevelNow. Expected _wxStyledTextEvent_p."); | |
9442 | return NULL; | |
9443 | } | |
9444 | } | |
9445 | { | |
474c48f9 | 9446 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 9447 | wxStyledTextEvent_SetFoldLevelNow(_arg0,_arg1); |
89c8ea73 | 9448 | |
474c48f9 RD |
9449 | wxPyEndAllowThreads(__tstate); |
9450 | if (PyErr_Occurred()) return NULL; | |
89c8ea73 RD |
9451 | } Py_INCREF(Py_None); |
9452 | _resultobj = Py_None; | |
9453 | return _resultobj; | |
9454 | } | |
9455 | ||
9456 | #define wxStyledTextEvent_SetFoldLevelPrev(_swigobj,_swigarg0) (_swigobj->SetFoldLevelPrev(_swigarg0)) | |
9457 | static PyObject *_wrap_wxStyledTextEvent_SetFoldLevelPrev(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9458 | PyObject * _resultobj; | |
9459 | wxStyledTextEvent * _arg0; | |
9460 | int _arg1; | |
9461 | PyObject * _argo0 = 0; | |
9462 | char *_kwnames[] = { "self","val", NULL }; | |
9463 | ||
9464 | self = self; | |
9465 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextEvent_SetFoldLevelPrev",_kwnames,&_argo0,&_arg1)) | |
9466 | return NULL; | |
9467 | if (_argo0) { | |
9468 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
9469 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextEvent_p")) { | |
9470 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextEvent_SetFoldLevelPrev. Expected _wxStyledTextEvent_p."); | |
9471 | return NULL; | |
9472 | } | |
9473 | } | |
9474 | { | |
474c48f9 | 9475 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 9476 | wxStyledTextEvent_SetFoldLevelPrev(_arg0,_arg1); |
89c8ea73 | 9477 | |
474c48f9 RD |
9478 | wxPyEndAllowThreads(__tstate); |
9479 | if (PyErr_Occurred()) return NULL; | |
89c8ea73 RD |
9480 | } Py_INCREF(Py_None); |
9481 | _resultobj = Py_None; | |
9482 | return _resultobj; | |
9483 | } | |
9484 | ||
9485 | #define wxStyledTextEvent_SetMargin(_swigobj,_swigarg0) (_swigobj->SetMargin(_swigarg0)) | |
9486 | static PyObject *_wrap_wxStyledTextEvent_SetMargin(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9487 | PyObject * _resultobj; | |
9488 | wxStyledTextEvent * _arg0; | |
9489 | int _arg1; | |
9490 | PyObject * _argo0 = 0; | |
9491 | char *_kwnames[] = { "self","val", NULL }; | |
9492 | ||
9493 | self = self; | |
9494 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextEvent_SetMargin",_kwnames,&_argo0,&_arg1)) | |
9495 | return NULL; | |
9496 | if (_argo0) { | |
9497 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
9498 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextEvent_p")) { | |
9499 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextEvent_SetMargin. Expected _wxStyledTextEvent_p."); | |
9500 | return NULL; | |
9501 | } | |
9502 | } | |
9503 | { | |
474c48f9 | 9504 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 9505 | wxStyledTextEvent_SetMargin(_arg0,_arg1); |
89c8ea73 | 9506 | |
474c48f9 RD |
9507 | wxPyEndAllowThreads(__tstate); |
9508 | if (PyErr_Occurred()) return NULL; | |
89c8ea73 RD |
9509 | } Py_INCREF(Py_None); |
9510 | _resultobj = Py_None; | |
9511 | return _resultobj; | |
9512 | } | |
9513 | ||
9514 | #define wxStyledTextEvent_SetMessage(_swigobj,_swigarg0) (_swigobj->SetMessage(_swigarg0)) | |
9515 | static PyObject *_wrap_wxStyledTextEvent_SetMessage(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9516 | PyObject * _resultobj; | |
9517 | wxStyledTextEvent * _arg0; | |
9518 | int _arg1; | |
9519 | PyObject * _argo0 = 0; | |
9520 | char *_kwnames[] = { "self","val", NULL }; | |
9521 | ||
9522 | self = self; | |
9523 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextEvent_SetMessage",_kwnames,&_argo0,&_arg1)) | |
9524 | return NULL; | |
9525 | if (_argo0) { | |
9526 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
9527 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextEvent_p")) { | |
9528 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextEvent_SetMessage. Expected _wxStyledTextEvent_p."); | |
9529 | return NULL; | |
9530 | } | |
9531 | } | |
9532 | { | |
474c48f9 | 9533 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 9534 | wxStyledTextEvent_SetMessage(_arg0,_arg1); |
89c8ea73 | 9535 | |
474c48f9 RD |
9536 | wxPyEndAllowThreads(__tstate); |
9537 | if (PyErr_Occurred()) return NULL; | |
89c8ea73 RD |
9538 | } Py_INCREF(Py_None); |
9539 | _resultobj = Py_None; | |
9540 | return _resultobj; | |
9541 | } | |
9542 | ||
9543 | #define wxStyledTextEvent_SetWParam(_swigobj,_swigarg0) (_swigobj->SetWParam(_swigarg0)) | |
9544 | static PyObject *_wrap_wxStyledTextEvent_SetWParam(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9545 | PyObject * _resultobj; | |
9546 | wxStyledTextEvent * _arg0; | |
9547 | int _arg1; | |
9548 | PyObject * _argo0 = 0; | |
9549 | char *_kwnames[] = { "self","val", NULL }; | |
9550 | ||
9551 | self = self; | |
9552 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextEvent_SetWParam",_kwnames,&_argo0,&_arg1)) | |
9553 | return NULL; | |
9554 | if (_argo0) { | |
9555 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
9556 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextEvent_p")) { | |
9557 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextEvent_SetWParam. Expected _wxStyledTextEvent_p."); | |
9558 | return NULL; | |
9559 | } | |
9560 | } | |
9561 | { | |
474c48f9 | 9562 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 9563 | wxStyledTextEvent_SetWParam(_arg0,_arg1); |
89c8ea73 | 9564 | |
474c48f9 RD |
9565 | wxPyEndAllowThreads(__tstate); |
9566 | if (PyErr_Occurred()) return NULL; | |
89c8ea73 RD |
9567 | } Py_INCREF(Py_None); |
9568 | _resultobj = Py_None; | |
9569 | return _resultobj; | |
9570 | } | |
9571 | ||
9572 | #define wxStyledTextEvent_SetLParam(_swigobj,_swigarg0) (_swigobj->SetLParam(_swigarg0)) | |
9573 | static PyObject *_wrap_wxStyledTextEvent_SetLParam(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9574 | PyObject * _resultobj; | |
9575 | wxStyledTextEvent * _arg0; | |
9576 | int _arg1; | |
9577 | PyObject * _argo0 = 0; | |
9578 | char *_kwnames[] = { "self","val", NULL }; | |
9579 | ||
9580 | self = self; | |
9581 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextEvent_SetLParam",_kwnames,&_argo0,&_arg1)) | |
9582 | return NULL; | |
9583 | if (_argo0) { | |
9584 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
9585 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextEvent_p")) { | |
9586 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextEvent_SetLParam. Expected _wxStyledTextEvent_p."); | |
9587 | return NULL; | |
9588 | } | |
9589 | } | |
9590 | { | |
474c48f9 | 9591 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 9592 | wxStyledTextEvent_SetLParam(_arg0,_arg1); |
89c8ea73 | 9593 | |
474c48f9 RD |
9594 | wxPyEndAllowThreads(__tstate); |
9595 | if (PyErr_Occurred()) return NULL; | |
89c8ea73 RD |
9596 | } Py_INCREF(Py_None); |
9597 | _resultobj = Py_None; | |
9598 | return _resultobj; | |
9599 | } | |
9600 | ||
9601 | #define wxStyledTextEvent_SetListType(_swigobj,_swigarg0) (_swigobj->SetListType(_swigarg0)) | |
9602 | static PyObject *_wrap_wxStyledTextEvent_SetListType(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9603 | PyObject * _resultobj; | |
9604 | wxStyledTextEvent * _arg0; | |
9605 | int _arg1; | |
9606 | PyObject * _argo0 = 0; | |
9607 | char *_kwnames[] = { "self","val", NULL }; | |
9608 | ||
9609 | self = self; | |
9610 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextEvent_SetListType",_kwnames,&_argo0,&_arg1)) | |
9611 | return NULL; | |
9612 | if (_argo0) { | |
9613 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
9614 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextEvent_p")) { | |
9615 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextEvent_SetListType. Expected _wxStyledTextEvent_p."); | |
9616 | return NULL; | |
9617 | } | |
9618 | } | |
9619 | { | |
474c48f9 | 9620 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 9621 | wxStyledTextEvent_SetListType(_arg0,_arg1); |
89c8ea73 | 9622 | |
474c48f9 RD |
9623 | wxPyEndAllowThreads(__tstate); |
9624 | if (PyErr_Occurred()) return NULL; | |
89c8ea73 RD |
9625 | } Py_INCREF(Py_None); |
9626 | _resultobj = Py_None; | |
9627 | return _resultobj; | |
9628 | } | |
9629 | ||
9630 | #define wxStyledTextEvent_SetX(_swigobj,_swigarg0) (_swigobj->SetX(_swigarg0)) | |
9631 | static PyObject *_wrap_wxStyledTextEvent_SetX(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9632 | PyObject * _resultobj; | |
9633 | wxStyledTextEvent * _arg0; | |
9634 | int _arg1; | |
9635 | PyObject * _argo0 = 0; | |
9636 | char *_kwnames[] = { "self","val", NULL }; | |
9637 | ||
9638 | self = self; | |
9639 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextEvent_SetX",_kwnames,&_argo0,&_arg1)) | |
9640 | return NULL; | |
9641 | if (_argo0) { | |
9642 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
9643 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextEvent_p")) { | |
9644 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextEvent_SetX. Expected _wxStyledTextEvent_p."); | |
9645 | return NULL; | |
9646 | } | |
9647 | } | |
9648 | { | |
474c48f9 | 9649 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 9650 | wxStyledTextEvent_SetX(_arg0,_arg1); |
89c8ea73 | 9651 | |
474c48f9 RD |
9652 | wxPyEndAllowThreads(__tstate); |
9653 | if (PyErr_Occurred()) return NULL; | |
89c8ea73 RD |
9654 | } Py_INCREF(Py_None); |
9655 | _resultobj = Py_None; | |
9656 | return _resultobj; | |
9657 | } | |
9658 | ||
9659 | #define wxStyledTextEvent_SetY(_swigobj,_swigarg0) (_swigobj->SetY(_swigarg0)) | |
9660 | static PyObject *_wrap_wxStyledTextEvent_SetY(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9661 | PyObject * _resultobj; | |
9662 | wxStyledTextEvent * _arg0; | |
9663 | int _arg1; | |
9664 | PyObject * _argo0 = 0; | |
9665 | char *_kwnames[] = { "self","val", NULL }; | |
9666 | ||
9667 | self = self; | |
9668 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextEvent_SetY",_kwnames,&_argo0,&_arg1)) | |
9669 | return NULL; | |
9670 | if (_argo0) { | |
9671 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
9672 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextEvent_p")) { | |
9673 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextEvent_SetY. Expected _wxStyledTextEvent_p."); | |
9674 | return NULL; | |
9675 | } | |
9676 | } | |
9677 | { | |
474c48f9 | 9678 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 9679 | wxStyledTextEvent_SetY(_arg0,_arg1); |
89c8ea73 | 9680 | |
474c48f9 RD |
9681 | wxPyEndAllowThreads(__tstate); |
9682 | if (PyErr_Occurred()) return NULL; | |
89c8ea73 RD |
9683 | } Py_INCREF(Py_None); |
9684 | _resultobj = Py_None; | |
9685 | return _resultobj; | |
9686 | } | |
9687 | ||
9688 | #define wxStyledTextEvent_SetDragText(_swigobj,_swigarg0) (_swigobj->SetDragText(_swigarg0)) | |
9689 | static PyObject *_wrap_wxStyledTextEvent_SetDragText(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9690 | PyObject * _resultobj; | |
9691 | wxStyledTextEvent * _arg0; | |
9692 | wxString * _arg1; | |
9693 | PyObject * _argo0 = 0; | |
9694 | PyObject * _obj1 = 0; | |
9695 | char *_kwnames[] = { "self","val", NULL }; | |
9696 | ||
9697 | self = self; | |
9698 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxStyledTextEvent_SetDragText",_kwnames,&_argo0,&_obj1)) | |
9699 | return NULL; | |
9700 | if (_argo0) { | |
9701 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
9702 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextEvent_p")) { | |
9703 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextEvent_SetDragText. Expected _wxStyledTextEvent_p."); | |
9704 | return NULL; | |
9705 | } | |
9706 | } | |
9707 | { | |
c8bc7bb8 RD |
9708 | _arg1 = wxString_in_helper(_obj1); |
9709 | if (_arg1 == NULL) | |
89c8ea73 | 9710 | return NULL; |
89c8ea73 RD |
9711 | } |
9712 | { | |
474c48f9 | 9713 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 9714 | wxStyledTextEvent_SetDragText(_arg0,*_arg1); |
89c8ea73 | 9715 | |
474c48f9 RD |
9716 | wxPyEndAllowThreads(__tstate); |
9717 | if (PyErr_Occurred()) return NULL; | |
89c8ea73 RD |
9718 | } Py_INCREF(Py_None); |
9719 | _resultobj = Py_None; | |
9720 | { | |
9721 | if (_obj1) | |
9722 | delete _arg1; | |
9723 | } | |
9724 | return _resultobj; | |
9725 | } | |
9726 | ||
9727 | #define wxStyledTextEvent_SetDragAllowMove(_swigobj,_swigarg0) (_swigobj->SetDragAllowMove(_swigarg0)) | |
9728 | static PyObject *_wrap_wxStyledTextEvent_SetDragAllowMove(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9729 | PyObject * _resultobj; | |
9730 | wxStyledTextEvent * _arg0; | |
9731 | bool _arg1; | |
9732 | PyObject * _argo0 = 0; | |
9733 | int tempbool1; | |
9734 | char *_kwnames[] = { "self","val", NULL }; | |
9735 | ||
9736 | self = self; | |
9737 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextEvent_SetDragAllowMove",_kwnames,&_argo0,&tempbool1)) | |
9738 | return NULL; | |
9739 | if (_argo0) { | |
9740 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
9741 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextEvent_p")) { | |
9742 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextEvent_SetDragAllowMove. Expected _wxStyledTextEvent_p."); | |
9743 | return NULL; | |
9744 | } | |
9745 | } | |
9746 | _arg1 = (bool ) tempbool1; | |
9747 | { | |
474c48f9 | 9748 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 9749 | wxStyledTextEvent_SetDragAllowMove(_arg0,_arg1); |
89c8ea73 | 9750 | |
474c48f9 RD |
9751 | wxPyEndAllowThreads(__tstate); |
9752 | if (PyErr_Occurred()) return NULL; | |
89c8ea73 RD |
9753 | } Py_INCREF(Py_None); |
9754 | _resultobj = Py_None; | |
9755 | return _resultobj; | |
9756 | } | |
9757 | ||
9758 | #define wxStyledTextEvent_SetDragResult(_swigobj,_swigarg0) (_swigobj->SetDragResult(_swigarg0)) | |
9759 | static PyObject *_wrap_wxStyledTextEvent_SetDragResult(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9760 | PyObject * _resultobj; | |
9761 | wxStyledTextEvent * _arg0; | |
9762 | wxDragResult _arg1; | |
9763 | PyObject * _argo0 = 0; | |
9764 | char *_kwnames[] = { "self","val", NULL }; | |
9765 | ||
9766 | self = self; | |
9767 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextEvent_SetDragResult",_kwnames,&_argo0,&_arg1)) | |
9768 | return NULL; | |
9769 | if (_argo0) { | |
9770 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
9771 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextEvent_p")) { | |
9772 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextEvent_SetDragResult. Expected _wxStyledTextEvent_p."); | |
9773 | return NULL; | |
9774 | } | |
9775 | } | |
9776 | { | |
474c48f9 | 9777 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 9778 | wxStyledTextEvent_SetDragResult(_arg0,_arg1); |
89c8ea73 | 9779 | |
474c48f9 RD |
9780 | wxPyEndAllowThreads(__tstate); |
9781 | if (PyErr_Occurred()) return NULL; | |
89c8ea73 RD |
9782 | } Py_INCREF(Py_None); |
9783 | _resultobj = Py_None; | |
9784 | return _resultobj; | |
9785 | } | |
9786 | ||
9787 | #define wxStyledTextEvent_GetPosition(_swigobj) (_swigobj->GetPosition()) | |
9788 | static PyObject *_wrap_wxStyledTextEvent_GetPosition(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9789 | PyObject * _resultobj; | |
9790 | int _result; | |
9791 | wxStyledTextEvent * _arg0; | |
9792 | PyObject * _argo0 = 0; | |
9793 | char *_kwnames[] = { "self", NULL }; | |
9794 | ||
9795 | self = self; | |
9796 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextEvent_GetPosition",_kwnames,&_argo0)) | |
9797 | return NULL; | |
9798 | if (_argo0) { | |
9799 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
9800 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextEvent_p")) { | |
9801 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextEvent_GetPosition. Expected _wxStyledTextEvent_p."); | |
9802 | return NULL; | |
9803 | } | |
9804 | } | |
9805 | { | |
474c48f9 | 9806 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 9807 | _result = (int )wxStyledTextEvent_GetPosition(_arg0); |
89c8ea73 | 9808 | |
474c48f9 RD |
9809 | wxPyEndAllowThreads(__tstate); |
9810 | if (PyErr_Occurred()) return NULL; | |
89c8ea73 RD |
9811 | } _resultobj = Py_BuildValue("i",_result); |
9812 | return _resultobj; | |
9813 | } | |
9814 | ||
9815 | #define wxStyledTextEvent_GetKey(_swigobj) (_swigobj->GetKey()) | |
9816 | static PyObject *_wrap_wxStyledTextEvent_GetKey(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9817 | PyObject * _resultobj; | |
9818 | int _result; | |
9819 | wxStyledTextEvent * _arg0; | |
9820 | PyObject * _argo0 = 0; | |
9821 | char *_kwnames[] = { "self", NULL }; | |
9822 | ||
9823 | self = self; | |
9824 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextEvent_GetKey",_kwnames,&_argo0)) | |
9825 | return NULL; | |
9826 | if (_argo0) { | |
9827 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
9828 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextEvent_p")) { | |
9829 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextEvent_GetKey. Expected _wxStyledTextEvent_p."); | |
9830 | return NULL; | |
9831 | } | |
9832 | } | |
9833 | { | |
474c48f9 | 9834 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 9835 | _result = (int )wxStyledTextEvent_GetKey(_arg0); |
89c8ea73 | 9836 | |
474c48f9 RD |
9837 | wxPyEndAllowThreads(__tstate); |
9838 | if (PyErr_Occurred()) return NULL; | |
89c8ea73 RD |
9839 | } _resultobj = Py_BuildValue("i",_result); |
9840 | return _resultobj; | |
9841 | } | |
9842 | ||
9843 | #define wxStyledTextEvent_GetModifiers(_swigobj) (_swigobj->GetModifiers()) | |
9844 | static PyObject *_wrap_wxStyledTextEvent_GetModifiers(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9845 | PyObject * _resultobj; | |
9846 | int _result; | |
9847 | wxStyledTextEvent * _arg0; | |
9848 | PyObject * _argo0 = 0; | |
9849 | char *_kwnames[] = { "self", NULL }; | |
9850 | ||
9851 | self = self; | |
9852 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextEvent_GetModifiers",_kwnames,&_argo0)) | |
9853 | return NULL; | |
9854 | if (_argo0) { | |
9855 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
9856 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextEvent_p")) { | |
9857 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextEvent_GetModifiers. Expected _wxStyledTextEvent_p."); | |
9858 | return NULL; | |
9859 | } | |
9860 | } | |
9861 | { | |
474c48f9 | 9862 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 9863 | _result = (int )wxStyledTextEvent_GetModifiers(_arg0); |
89c8ea73 | 9864 | |
474c48f9 RD |
9865 | wxPyEndAllowThreads(__tstate); |
9866 | if (PyErr_Occurred()) return NULL; | |
89c8ea73 RD |
9867 | } _resultobj = Py_BuildValue("i",_result); |
9868 | return _resultobj; | |
9869 | } | |
9870 | ||
9871 | #define wxStyledTextEvent_GetModificationType(_swigobj) (_swigobj->GetModificationType()) | |
9872 | static PyObject *_wrap_wxStyledTextEvent_GetModificationType(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9873 | PyObject * _resultobj; | |
9874 | int _result; | |
9875 | wxStyledTextEvent * _arg0; | |
9876 | PyObject * _argo0 = 0; | |
9877 | char *_kwnames[] = { "self", NULL }; | |
9878 | ||
9879 | self = self; | |
9880 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextEvent_GetModificationType",_kwnames,&_argo0)) | |
9881 | return NULL; | |
9882 | if (_argo0) { | |
9883 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
9884 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextEvent_p")) { | |
9885 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextEvent_GetModificationType. Expected _wxStyledTextEvent_p."); | |
9886 | return NULL; | |
9887 | } | |
9888 | } | |
9889 | { | |
474c48f9 | 9890 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 9891 | _result = (int )wxStyledTextEvent_GetModificationType(_arg0); |
89c8ea73 | 9892 | |
474c48f9 RD |
9893 | wxPyEndAllowThreads(__tstate); |
9894 | if (PyErr_Occurred()) return NULL; | |
89c8ea73 RD |
9895 | } _resultobj = Py_BuildValue("i",_result); |
9896 | return _resultobj; | |
9897 | } | |
9898 | ||
9899 | #define wxStyledTextEvent_GetText(_swigobj) (_swigobj->GetText()) | |
9900 | static PyObject *_wrap_wxStyledTextEvent_GetText(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9901 | PyObject * _resultobj; | |
9902 | wxString * _result; | |
9903 | wxStyledTextEvent * _arg0; | |
9904 | PyObject * _argo0 = 0; | |
9905 | char *_kwnames[] = { "self", NULL }; | |
9906 | ||
9907 | self = self; | |
9908 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextEvent_GetText",_kwnames,&_argo0)) | |
9909 | return NULL; | |
9910 | if (_argo0) { | |
9911 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
9912 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextEvent_p")) { | |
9913 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextEvent_GetText. Expected _wxStyledTextEvent_p."); | |
9914 | return NULL; | |
9915 | } | |
9916 | } | |
9917 | { | |
474c48f9 | 9918 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 9919 | _result = new wxString (wxStyledTextEvent_GetText(_arg0)); |
89c8ea73 | 9920 | |
474c48f9 RD |
9921 | wxPyEndAllowThreads(__tstate); |
9922 | if (PyErr_Occurred()) return NULL; | |
89c8ea73 | 9923 | }{ |
c8bc7bb8 RD |
9924 | #if wxUSE_UNICODE |
9925 | _resultobj = PyUnicode_FromUnicode(_result->c_str(), _result->Len()); | |
9926 | #else | |
89c8ea73 | 9927 | _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len()); |
c8bc7bb8 | 9928 | #endif |
89c8ea73 RD |
9929 | } |
9930 | { | |
9931 | delete _result; | |
9932 | } | |
9933 | return _resultobj; | |
9934 | } | |
9935 | ||
9936 | #define wxStyledTextEvent_GetLength(_swigobj) (_swigobj->GetLength()) | |
9937 | static PyObject *_wrap_wxStyledTextEvent_GetLength(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9938 | PyObject * _resultobj; | |
9939 | int _result; | |
9940 | wxStyledTextEvent * _arg0; | |
9941 | PyObject * _argo0 = 0; | |
9942 | char *_kwnames[] = { "self", NULL }; | |
9943 | ||
9944 | self = self; | |
9945 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextEvent_GetLength",_kwnames,&_argo0)) | |
9946 | return NULL; | |
9947 | if (_argo0) { | |
9948 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
9949 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextEvent_p")) { | |
9950 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextEvent_GetLength. Expected _wxStyledTextEvent_p."); | |
9951 | return NULL; | |
9952 | } | |
9953 | } | |
9954 | { | |
474c48f9 | 9955 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 9956 | _result = (int )wxStyledTextEvent_GetLength(_arg0); |
89c8ea73 | 9957 | |
474c48f9 RD |
9958 | wxPyEndAllowThreads(__tstate); |
9959 | if (PyErr_Occurred()) return NULL; | |
89c8ea73 RD |
9960 | } _resultobj = Py_BuildValue("i",_result); |
9961 | return _resultobj; | |
9962 | } | |
9963 | ||
9964 | #define wxStyledTextEvent_GetLinesAdded(_swigobj) (_swigobj->GetLinesAdded()) | |
9965 | static PyObject *_wrap_wxStyledTextEvent_GetLinesAdded(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9966 | PyObject * _resultobj; | |
9967 | int _result; | |
9968 | wxStyledTextEvent * _arg0; | |
9969 | PyObject * _argo0 = 0; | |
9970 | char *_kwnames[] = { "self", NULL }; | |
9971 | ||
9972 | self = self; | |
9973 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextEvent_GetLinesAdded",_kwnames,&_argo0)) | |
9974 | return NULL; | |
9975 | if (_argo0) { | |
9976 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
9977 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextEvent_p")) { | |
9978 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextEvent_GetLinesAdded. Expected _wxStyledTextEvent_p."); | |
9979 | return NULL; | |
9980 | } | |
9981 | } | |
9982 | { | |
474c48f9 | 9983 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 9984 | _result = (int )wxStyledTextEvent_GetLinesAdded(_arg0); |
89c8ea73 | 9985 | |
474c48f9 RD |
9986 | wxPyEndAllowThreads(__tstate); |
9987 | if (PyErr_Occurred()) return NULL; | |
89c8ea73 RD |
9988 | } _resultobj = Py_BuildValue("i",_result); |
9989 | return _resultobj; | |
9990 | } | |
9991 | ||
9992 | #define wxStyledTextEvent_GetLine(_swigobj) (_swigobj->GetLine()) | |
9993 | static PyObject *_wrap_wxStyledTextEvent_GetLine(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9994 | PyObject * _resultobj; | |
9995 | int _result; | |
9996 | wxStyledTextEvent * _arg0; | |
9997 | PyObject * _argo0 = 0; | |
9998 | char *_kwnames[] = { "self", NULL }; | |
9999 | ||
10000 | self = self; | |
10001 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextEvent_GetLine",_kwnames,&_argo0)) | |
10002 | return NULL; | |
10003 | if (_argo0) { | |
10004 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
10005 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextEvent_p")) { | |
10006 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextEvent_GetLine. Expected _wxStyledTextEvent_p."); | |
10007 | return NULL; | |
10008 | } | |
10009 | } | |
10010 | { | |
474c48f9 | 10011 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 10012 | _result = (int )wxStyledTextEvent_GetLine(_arg0); |
89c8ea73 | 10013 | |
474c48f9 RD |
10014 | wxPyEndAllowThreads(__tstate); |
10015 | if (PyErr_Occurred()) return NULL; | |
89c8ea73 RD |
10016 | } _resultobj = Py_BuildValue("i",_result); |
10017 | return _resultobj; | |
10018 | } | |
10019 | ||
10020 | #define wxStyledTextEvent_GetFoldLevelNow(_swigobj) (_swigobj->GetFoldLevelNow()) | |
10021 | static PyObject *_wrap_wxStyledTextEvent_GetFoldLevelNow(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10022 | PyObject * _resultobj; | |
10023 | int _result; | |
10024 | wxStyledTextEvent * _arg0; | |
10025 | PyObject * _argo0 = 0; | |
10026 | char *_kwnames[] = { "self", NULL }; | |
10027 | ||
10028 | self = self; | |
10029 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextEvent_GetFoldLevelNow",_kwnames,&_argo0)) | |
10030 | return NULL; | |
10031 | if (_argo0) { | |
10032 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
10033 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextEvent_p")) { | |
10034 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextEvent_GetFoldLevelNow. Expected _wxStyledTextEvent_p."); | |
10035 | return NULL; | |
10036 | } | |
10037 | } | |
10038 | { | |
474c48f9 | 10039 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 10040 | _result = (int )wxStyledTextEvent_GetFoldLevelNow(_arg0); |
89c8ea73 | 10041 | |
474c48f9 RD |
10042 | wxPyEndAllowThreads(__tstate); |
10043 | if (PyErr_Occurred()) return NULL; | |
89c8ea73 RD |
10044 | } _resultobj = Py_BuildValue("i",_result); |
10045 | return _resultobj; | |
10046 | } | |
10047 | ||
10048 | #define wxStyledTextEvent_GetFoldLevelPrev(_swigobj) (_swigobj->GetFoldLevelPrev()) | |
10049 | static PyObject *_wrap_wxStyledTextEvent_GetFoldLevelPrev(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10050 | PyObject * _resultobj; | |
10051 | int _result; | |
10052 | wxStyledTextEvent * _arg0; | |
10053 | PyObject * _argo0 = 0; | |
10054 | char *_kwnames[] = { "self", NULL }; | |
10055 | ||
10056 | self = self; | |
10057 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextEvent_GetFoldLevelPrev",_kwnames,&_argo0)) | |
10058 | return NULL; | |
10059 | if (_argo0) { | |
10060 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
10061 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextEvent_p")) { | |
10062 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextEvent_GetFoldLevelPrev. Expected _wxStyledTextEvent_p."); | |
10063 | return NULL; | |
10064 | } | |
10065 | } | |
10066 | { | |
474c48f9 | 10067 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 10068 | _result = (int )wxStyledTextEvent_GetFoldLevelPrev(_arg0); |
89c8ea73 | 10069 | |
474c48f9 RD |
10070 | wxPyEndAllowThreads(__tstate); |
10071 | if (PyErr_Occurred()) return NULL; | |
89c8ea73 RD |
10072 | } _resultobj = Py_BuildValue("i",_result); |
10073 | return _resultobj; | |
10074 | } | |
10075 | ||
10076 | #define wxStyledTextEvent_GetMargin(_swigobj) (_swigobj->GetMargin()) | |
10077 | static PyObject *_wrap_wxStyledTextEvent_GetMargin(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10078 | PyObject * _resultobj; | |
10079 | int _result; | |
10080 | wxStyledTextEvent * _arg0; | |
10081 | PyObject * _argo0 = 0; | |
10082 | char *_kwnames[] = { "self", NULL }; | |
10083 | ||
10084 | self = self; | |
10085 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextEvent_GetMargin",_kwnames,&_argo0)) | |
10086 | return NULL; | |
10087 | if (_argo0) { | |
10088 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
10089 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextEvent_p")) { | |
10090 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextEvent_GetMargin. Expected _wxStyledTextEvent_p."); | |
10091 | return NULL; | |
10092 | } | |
10093 | } | |
10094 | { | |
474c48f9 | 10095 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 10096 | _result = (int )wxStyledTextEvent_GetMargin(_arg0); |
89c8ea73 | 10097 | |
474c48f9 RD |
10098 | wxPyEndAllowThreads(__tstate); |
10099 | if (PyErr_Occurred()) return NULL; | |
89c8ea73 RD |
10100 | } _resultobj = Py_BuildValue("i",_result); |
10101 | return _resultobj; | |
10102 | } | |
10103 | ||
10104 | #define wxStyledTextEvent_GetMessage(_swigobj) (_swigobj->GetMessage()) | |
10105 | static PyObject *_wrap_wxStyledTextEvent_GetMessage(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10106 | PyObject * _resultobj; | |
10107 | int _result; | |
10108 | wxStyledTextEvent * _arg0; | |
10109 | PyObject * _argo0 = 0; | |
10110 | char *_kwnames[] = { "self", NULL }; | |
10111 | ||
10112 | self = self; | |
10113 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextEvent_GetMessage",_kwnames,&_argo0)) | |
10114 | return NULL; | |
10115 | if (_argo0) { | |
10116 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
10117 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextEvent_p")) { | |
10118 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextEvent_GetMessage. Expected _wxStyledTextEvent_p."); | |
10119 | return NULL; | |
10120 | } | |
10121 | } | |
10122 | { | |
474c48f9 | 10123 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 10124 | _result = (int )wxStyledTextEvent_GetMessage(_arg0); |
89c8ea73 | 10125 | |
474c48f9 RD |
10126 | wxPyEndAllowThreads(__tstate); |
10127 | if (PyErr_Occurred()) return NULL; | |
89c8ea73 RD |
10128 | } _resultobj = Py_BuildValue("i",_result); |
10129 | return _resultobj; | |
10130 | } | |
10131 | ||
10132 | #define wxStyledTextEvent_GetWParam(_swigobj) (_swigobj->GetWParam()) | |
10133 | static PyObject *_wrap_wxStyledTextEvent_GetWParam(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10134 | PyObject * _resultobj; | |
10135 | int _result; | |
10136 | wxStyledTextEvent * _arg0; | |
10137 | PyObject * _argo0 = 0; | |
10138 | char *_kwnames[] = { "self", NULL }; | |
10139 | ||
10140 | self = self; | |
10141 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextEvent_GetWParam",_kwnames,&_argo0)) | |
10142 | return NULL; | |
10143 | if (_argo0) { | |
10144 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
10145 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextEvent_p")) { | |
10146 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextEvent_GetWParam. Expected _wxStyledTextEvent_p."); | |
10147 | return NULL; | |
10148 | } | |
10149 | } | |
10150 | { | |
474c48f9 | 10151 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 10152 | _result = (int )wxStyledTextEvent_GetWParam(_arg0); |
89c8ea73 | 10153 | |
474c48f9 RD |
10154 | wxPyEndAllowThreads(__tstate); |
10155 | if (PyErr_Occurred()) return NULL; | |
89c8ea73 RD |
10156 | } _resultobj = Py_BuildValue("i",_result); |
10157 | return _resultobj; | |
10158 | } | |
10159 | ||
10160 | #define wxStyledTextEvent_GetLParam(_swigobj) (_swigobj->GetLParam()) | |
10161 | static PyObject *_wrap_wxStyledTextEvent_GetLParam(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10162 | PyObject * _resultobj; | |
10163 | int _result; | |
10164 | wxStyledTextEvent * _arg0; | |
10165 | PyObject * _argo0 = 0; | |
10166 | char *_kwnames[] = { "self", NULL }; | |
10167 | ||
10168 | self = self; | |
10169 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextEvent_GetLParam",_kwnames,&_argo0)) | |
10170 | return NULL; | |
10171 | if (_argo0) { | |
10172 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
10173 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextEvent_p")) { | |
10174 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextEvent_GetLParam. Expected _wxStyledTextEvent_p."); | |
10175 | return NULL; | |
10176 | } | |
10177 | } | |
10178 | { | |
474c48f9 | 10179 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 10180 | _result = (int )wxStyledTextEvent_GetLParam(_arg0); |
89c8ea73 | 10181 | |
474c48f9 RD |
10182 | wxPyEndAllowThreads(__tstate); |
10183 | if (PyErr_Occurred()) return NULL; | |
89c8ea73 RD |
10184 | } _resultobj = Py_BuildValue("i",_result); |
10185 | return _resultobj; | |
10186 | } | |
10187 | ||
10188 | #define wxStyledTextEvent_GetListType(_swigobj) (_swigobj->GetListType()) | |
10189 | static PyObject *_wrap_wxStyledTextEvent_GetListType(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10190 | PyObject * _resultobj; | |
10191 | int _result; | |
10192 | wxStyledTextEvent * _arg0; | |
10193 | PyObject * _argo0 = 0; | |
10194 | char *_kwnames[] = { "self", NULL }; | |
10195 | ||
10196 | self = self; | |
10197 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextEvent_GetListType",_kwnames,&_argo0)) | |
10198 | return NULL; | |
10199 | if (_argo0) { | |
10200 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
10201 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextEvent_p")) { | |
10202 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextEvent_GetListType. Expected _wxStyledTextEvent_p."); | |
10203 | return NULL; | |
10204 | } | |
10205 | } | |
10206 | { | |
474c48f9 | 10207 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 10208 | _result = (int )wxStyledTextEvent_GetListType(_arg0); |
89c8ea73 | 10209 | |
474c48f9 RD |
10210 | wxPyEndAllowThreads(__tstate); |
10211 | if (PyErr_Occurred()) return NULL; | |
89c8ea73 RD |
10212 | } _resultobj = Py_BuildValue("i",_result); |
10213 | return _resultobj; | |
10214 | } | |
10215 | ||
10216 | #define wxStyledTextEvent_GetX(_swigobj) (_swigobj->GetX()) | |
10217 | static PyObject *_wrap_wxStyledTextEvent_GetX(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10218 | PyObject * _resultobj; | |
10219 | int _result; | |
10220 | wxStyledTextEvent * _arg0; | |
10221 | PyObject * _argo0 = 0; | |
10222 | char *_kwnames[] = { "self", NULL }; | |
10223 | ||
10224 | self = self; | |
10225 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextEvent_GetX",_kwnames,&_argo0)) | |
10226 | return NULL; | |
10227 | if (_argo0) { | |
10228 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
10229 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextEvent_p")) { | |
10230 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextEvent_GetX. Expected _wxStyledTextEvent_p."); | |
10231 | return NULL; | |
10232 | } | |
10233 | } | |
10234 | { | |
474c48f9 | 10235 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 10236 | _result = (int )wxStyledTextEvent_GetX(_arg0); |
89c8ea73 | 10237 | |
474c48f9 RD |
10238 | wxPyEndAllowThreads(__tstate); |
10239 | if (PyErr_Occurred()) return NULL; | |
89c8ea73 RD |
10240 | } _resultobj = Py_BuildValue("i",_result); |
10241 | return _resultobj; | |
10242 | } | |
10243 | ||
10244 | #define wxStyledTextEvent_GetY(_swigobj) (_swigobj->GetY()) | |
10245 | static PyObject *_wrap_wxStyledTextEvent_GetY(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10246 | PyObject * _resultobj; | |
10247 | int _result; | |
10248 | wxStyledTextEvent * _arg0; | |
10249 | PyObject * _argo0 = 0; | |
10250 | char *_kwnames[] = { "self", NULL }; | |
10251 | ||
10252 | self = self; | |
10253 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextEvent_GetY",_kwnames,&_argo0)) | |
10254 | return NULL; | |
10255 | if (_argo0) { | |
10256 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
10257 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextEvent_p")) { | |
10258 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextEvent_GetY. Expected _wxStyledTextEvent_p."); | |
10259 | return NULL; | |
10260 | } | |
10261 | } | |
10262 | { | |
474c48f9 | 10263 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 10264 | _result = (int )wxStyledTextEvent_GetY(_arg0); |
89c8ea73 | 10265 | |
474c48f9 RD |
10266 | wxPyEndAllowThreads(__tstate); |
10267 | if (PyErr_Occurred()) return NULL; | |
89c8ea73 RD |
10268 | } _resultobj = Py_BuildValue("i",_result); |
10269 | return _resultobj; | |
10270 | } | |
10271 | ||
10272 | #define wxStyledTextEvent_GetDragText(_swigobj) (_swigobj->GetDragText()) | |
10273 | static PyObject *_wrap_wxStyledTextEvent_GetDragText(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10274 | PyObject * _resultobj; | |
10275 | wxString * _result; | |
10276 | wxStyledTextEvent * _arg0; | |
10277 | PyObject * _argo0 = 0; | |
10278 | char *_kwnames[] = { "self", NULL }; | |
10279 | ||
10280 | self = self; | |
10281 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextEvent_GetDragText",_kwnames,&_argo0)) | |
10282 | return NULL; | |
10283 | if (_argo0) { | |
10284 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
10285 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextEvent_p")) { | |
10286 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextEvent_GetDragText. Expected _wxStyledTextEvent_p."); | |
10287 | return NULL; | |
10288 | } | |
10289 | } | |
10290 | { | |
474c48f9 | 10291 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 10292 | _result = new wxString (wxStyledTextEvent_GetDragText(_arg0)); |
89c8ea73 | 10293 | |
474c48f9 RD |
10294 | wxPyEndAllowThreads(__tstate); |
10295 | if (PyErr_Occurred()) return NULL; | |
89c8ea73 | 10296 | }{ |
c8bc7bb8 RD |
10297 | #if wxUSE_UNICODE |
10298 | _resultobj = PyUnicode_FromUnicode(_result->c_str(), _result->Len()); | |
10299 | #else | |
89c8ea73 | 10300 | _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len()); |
c8bc7bb8 | 10301 | #endif |
89c8ea73 RD |
10302 | } |
10303 | { | |
10304 | delete _result; | |
10305 | } | |
10306 | return _resultobj; | |
10307 | } | |
10308 | ||
10309 | #define wxStyledTextEvent_GetDragAllowMove(_swigobj) (_swigobj->GetDragAllowMove()) | |
10310 | static PyObject *_wrap_wxStyledTextEvent_GetDragAllowMove(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10311 | PyObject * _resultobj; | |
10312 | bool _result; | |
10313 | wxStyledTextEvent * _arg0; | |
10314 | PyObject * _argo0 = 0; | |
10315 | char *_kwnames[] = { "self", NULL }; | |
10316 | ||
10317 | self = self; | |
10318 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextEvent_GetDragAllowMove",_kwnames,&_argo0)) | |
10319 | return NULL; | |
10320 | if (_argo0) { | |
10321 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
10322 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextEvent_p")) { | |
10323 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextEvent_GetDragAllowMove. Expected _wxStyledTextEvent_p."); | |
10324 | return NULL; | |
10325 | } | |
10326 | } | |
10327 | { | |
474c48f9 | 10328 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 10329 | _result = (bool )wxStyledTextEvent_GetDragAllowMove(_arg0); |
89c8ea73 | 10330 | |
474c48f9 RD |
10331 | wxPyEndAllowThreads(__tstate); |
10332 | if (PyErr_Occurred()) return NULL; | |
89c8ea73 RD |
10333 | } _resultobj = Py_BuildValue("i",_result); |
10334 | return _resultobj; | |
10335 | } | |
10336 | ||
10337 | #define wxStyledTextEvent_GetDragResult(_swigobj) (_swigobj->GetDragResult()) | |
10338 | static PyObject *_wrap_wxStyledTextEvent_GetDragResult(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10339 | PyObject * _resultobj; | |
10340 | wxDragResult _result; | |
10341 | wxStyledTextEvent * _arg0; | |
10342 | PyObject * _argo0 = 0; | |
10343 | char *_kwnames[] = { "self", NULL }; | |
10344 | ||
10345 | self = self; | |
10346 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextEvent_GetDragResult",_kwnames,&_argo0)) | |
10347 | return NULL; | |
10348 | if (_argo0) { | |
10349 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
10350 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextEvent_p")) { | |
10351 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextEvent_GetDragResult. Expected _wxStyledTextEvent_p."); | |
10352 | return NULL; | |
10353 | } | |
10354 | } | |
10355 | { | |
474c48f9 | 10356 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 10357 | _result = (wxDragResult )wxStyledTextEvent_GetDragResult(_arg0); |
89c8ea73 | 10358 | |
474c48f9 RD |
10359 | wxPyEndAllowThreads(__tstate); |
10360 | if (PyErr_Occurred()) return NULL; | |
89c8ea73 RD |
10361 | } _resultobj = Py_BuildValue("i",_result); |
10362 | return _resultobj; | |
10363 | } | |
10364 | ||
10365 | #define wxStyledTextEvent_GetShift(_swigobj) (_swigobj->GetShift()) | |
10366 | static PyObject *_wrap_wxStyledTextEvent_GetShift(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10367 | PyObject * _resultobj; | |
10368 | bool _result; | |
10369 | wxStyledTextEvent * _arg0; | |
10370 | PyObject * _argo0 = 0; | |
10371 | char *_kwnames[] = { "self", NULL }; | |
10372 | ||
10373 | self = self; | |
10374 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextEvent_GetShift",_kwnames,&_argo0)) | |
10375 | return NULL; | |
10376 | if (_argo0) { | |
10377 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
10378 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextEvent_p")) { | |
10379 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextEvent_GetShift. Expected _wxStyledTextEvent_p."); | |
10380 | return NULL; | |
10381 | } | |
10382 | } | |
10383 | { | |
474c48f9 | 10384 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 10385 | _result = (bool )wxStyledTextEvent_GetShift(_arg0); |
89c8ea73 | 10386 | |
474c48f9 RD |
10387 | wxPyEndAllowThreads(__tstate); |
10388 | if (PyErr_Occurred()) return NULL; | |
89c8ea73 RD |
10389 | } _resultobj = Py_BuildValue("i",_result); |
10390 | return _resultobj; | |
10391 | } | |
10392 | ||
10393 | #define wxStyledTextEvent_GetControl(_swigobj) (_swigobj->GetControl()) | |
10394 | static PyObject *_wrap_wxStyledTextEvent_GetControl(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10395 | PyObject * _resultobj; | |
10396 | bool _result; | |
10397 | wxStyledTextEvent * _arg0; | |
10398 | PyObject * _argo0 = 0; | |
10399 | char *_kwnames[] = { "self", NULL }; | |
10400 | ||
10401 | self = self; | |
10402 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextEvent_GetControl",_kwnames,&_argo0)) | |
10403 | return NULL; | |
10404 | if (_argo0) { | |
10405 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
10406 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextEvent_p")) { | |
10407 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextEvent_GetControl. Expected _wxStyledTextEvent_p."); | |
10408 | return NULL; | |
10409 | } | |
10410 | } | |
10411 | { | |
474c48f9 | 10412 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 10413 | _result = (bool )wxStyledTextEvent_GetControl(_arg0); |
89c8ea73 | 10414 | |
474c48f9 RD |
10415 | wxPyEndAllowThreads(__tstate); |
10416 | if (PyErr_Occurred()) return NULL; | |
89c8ea73 RD |
10417 | } _resultobj = Py_BuildValue("i",_result); |
10418 | return _resultobj; | |
10419 | } | |
10420 | ||
10421 | #define wxStyledTextEvent_GetAlt(_swigobj) (_swigobj->GetAlt()) | |
10422 | static PyObject *_wrap_wxStyledTextEvent_GetAlt(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10423 | PyObject * _resultobj; | |
10424 | bool _result; | |
10425 | wxStyledTextEvent * _arg0; | |
10426 | PyObject * _argo0 = 0; | |
10427 | char *_kwnames[] = { "self", NULL }; | |
10428 | ||
10429 | self = self; | |
10430 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextEvent_GetAlt",_kwnames,&_argo0)) | |
10431 | return NULL; | |
10432 | if (_argo0) { | |
10433 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
10434 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextEvent_p")) { | |
10435 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextEvent_GetAlt. Expected _wxStyledTextEvent_p."); | |
10436 | return NULL; | |
10437 | } | |
10438 | } | |
10439 | { | |
474c48f9 | 10440 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 10441 | _result = (bool )wxStyledTextEvent_GetAlt(_arg0); |
89c8ea73 | 10442 | |
474c48f9 RD |
10443 | wxPyEndAllowThreads(__tstate); |
10444 | if (PyErr_Occurred()) return NULL; | |
89c8ea73 RD |
10445 | } _resultobj = Py_BuildValue("i",_result); |
10446 | return _resultobj; | |
10447 | } | |
10448 | ||
6e8a778a RD |
10449 | #define wxStyledTextEvent_Clone(_swigobj) (_swigobj->Clone()) |
10450 | static PyObject *_wrap_wxStyledTextEvent_Clone(PyObject *self, PyObject *args, PyObject *kwargs) { | |
89c8ea73 | 10451 | PyObject * _resultobj; |
6e8a778a | 10452 | wxEvent * _result; |
89c8ea73 | 10453 | wxStyledTextEvent * _arg0; |
89c8ea73 | 10454 | PyObject * _argo0 = 0; |
6e8a778a RD |
10455 | char *_kwnames[] = { "self", NULL }; |
10456 | char _ptemp[128]; | |
89c8ea73 RD |
10457 | |
10458 | self = self; | |
6e8a778a | 10459 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextEvent_Clone",_kwnames,&_argo0)) |
89c8ea73 RD |
10460 | return NULL; |
10461 | if (_argo0) { | |
10462 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
10463 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextEvent_p")) { | |
6e8a778a | 10464 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextEvent_Clone. Expected _wxStyledTextEvent_p."); |
89c8ea73 RD |
10465 | return NULL; |
10466 | } | |
10467 | } | |
10468 | { | |
474c48f9 | 10469 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 10470 | _result = (wxEvent *)wxStyledTextEvent_Clone(_arg0); |
89c8ea73 | 10471 | |
474c48f9 RD |
10472 | wxPyEndAllowThreads(__tstate); |
10473 | if (PyErr_Occurred()) return NULL; | |
6e8a778a RD |
10474 | } if (_result) { |
10475 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxEvent_p"); | |
10476 | _resultobj = Py_BuildValue("s",_ptemp); | |
10477 | } else { | |
10478 | Py_INCREF(Py_None); | |
10479 | _resultobj = Py_None; | |
10480 | } | |
89c8ea73 RD |
10481 | return _resultobj; |
10482 | } | |
10483 | ||
10484 | static PyMethodDef stc_cMethods[] = { | |
6e8a778a | 10485 | { "wxStyledTextEvent_Clone", (PyCFunction) _wrap_wxStyledTextEvent_Clone, METH_VARARGS | METH_KEYWORDS }, |
89c8ea73 RD |
10486 | { "wxStyledTextEvent_GetAlt", (PyCFunction) _wrap_wxStyledTextEvent_GetAlt, METH_VARARGS | METH_KEYWORDS }, |
10487 | { "wxStyledTextEvent_GetControl", (PyCFunction) _wrap_wxStyledTextEvent_GetControl, METH_VARARGS | METH_KEYWORDS }, | |
10488 | { "wxStyledTextEvent_GetShift", (PyCFunction) _wrap_wxStyledTextEvent_GetShift, METH_VARARGS | METH_KEYWORDS }, | |
10489 | { "wxStyledTextEvent_GetDragResult", (PyCFunction) _wrap_wxStyledTextEvent_GetDragResult, METH_VARARGS | METH_KEYWORDS }, | |
10490 | { "wxStyledTextEvent_GetDragAllowMove", (PyCFunction) _wrap_wxStyledTextEvent_GetDragAllowMove, METH_VARARGS | METH_KEYWORDS }, | |
10491 | { "wxStyledTextEvent_GetDragText", (PyCFunction) _wrap_wxStyledTextEvent_GetDragText, METH_VARARGS | METH_KEYWORDS }, | |
10492 | { "wxStyledTextEvent_GetY", (PyCFunction) _wrap_wxStyledTextEvent_GetY, METH_VARARGS | METH_KEYWORDS }, | |
10493 | { "wxStyledTextEvent_GetX", (PyCFunction) _wrap_wxStyledTextEvent_GetX, METH_VARARGS | METH_KEYWORDS }, | |
10494 | { "wxStyledTextEvent_GetListType", (PyCFunction) _wrap_wxStyledTextEvent_GetListType, METH_VARARGS | METH_KEYWORDS }, | |
10495 | { "wxStyledTextEvent_GetLParam", (PyCFunction) _wrap_wxStyledTextEvent_GetLParam, METH_VARARGS | METH_KEYWORDS }, | |
10496 | { "wxStyledTextEvent_GetWParam", (PyCFunction) _wrap_wxStyledTextEvent_GetWParam, METH_VARARGS | METH_KEYWORDS }, | |
10497 | { "wxStyledTextEvent_GetMessage", (PyCFunction) _wrap_wxStyledTextEvent_GetMessage, METH_VARARGS | METH_KEYWORDS }, | |
10498 | { "wxStyledTextEvent_GetMargin", (PyCFunction) _wrap_wxStyledTextEvent_GetMargin, METH_VARARGS | METH_KEYWORDS }, | |
10499 | { "wxStyledTextEvent_GetFoldLevelPrev", (PyCFunction) _wrap_wxStyledTextEvent_GetFoldLevelPrev, METH_VARARGS | METH_KEYWORDS }, | |
10500 | { "wxStyledTextEvent_GetFoldLevelNow", (PyCFunction) _wrap_wxStyledTextEvent_GetFoldLevelNow, METH_VARARGS | METH_KEYWORDS }, | |
10501 | { "wxStyledTextEvent_GetLine", (PyCFunction) _wrap_wxStyledTextEvent_GetLine, METH_VARARGS | METH_KEYWORDS }, | |
10502 | { "wxStyledTextEvent_GetLinesAdded", (PyCFunction) _wrap_wxStyledTextEvent_GetLinesAdded, METH_VARARGS | METH_KEYWORDS }, | |
10503 | { "wxStyledTextEvent_GetLength", (PyCFunction) _wrap_wxStyledTextEvent_GetLength, METH_VARARGS | METH_KEYWORDS }, | |
10504 | { "wxStyledTextEvent_GetText", (PyCFunction) _wrap_wxStyledTextEvent_GetText, METH_VARARGS | METH_KEYWORDS }, | |
10505 | { "wxStyledTextEvent_GetModificationType", (PyCFunction) _wrap_wxStyledTextEvent_GetModificationType, METH_VARARGS | METH_KEYWORDS }, | |
10506 | { "wxStyledTextEvent_GetModifiers", (PyCFunction) _wrap_wxStyledTextEvent_GetModifiers, METH_VARARGS | METH_KEYWORDS }, | |
10507 | { "wxStyledTextEvent_GetKey", (PyCFunction) _wrap_wxStyledTextEvent_GetKey, METH_VARARGS | METH_KEYWORDS }, | |
10508 | { "wxStyledTextEvent_GetPosition", (PyCFunction) _wrap_wxStyledTextEvent_GetPosition, METH_VARARGS | METH_KEYWORDS }, | |
10509 | { "wxStyledTextEvent_SetDragResult", (PyCFunction) _wrap_wxStyledTextEvent_SetDragResult, METH_VARARGS | METH_KEYWORDS }, | |
10510 | { "wxStyledTextEvent_SetDragAllowMove", (PyCFunction) _wrap_wxStyledTextEvent_SetDragAllowMove, METH_VARARGS | METH_KEYWORDS }, | |
10511 | { "wxStyledTextEvent_SetDragText", (PyCFunction) _wrap_wxStyledTextEvent_SetDragText, METH_VARARGS | METH_KEYWORDS }, | |
10512 | { "wxStyledTextEvent_SetY", (PyCFunction) _wrap_wxStyledTextEvent_SetY, METH_VARARGS | METH_KEYWORDS }, | |
10513 | { "wxStyledTextEvent_SetX", (PyCFunction) _wrap_wxStyledTextEvent_SetX, METH_VARARGS | METH_KEYWORDS }, | |
10514 | { "wxStyledTextEvent_SetListType", (PyCFunction) _wrap_wxStyledTextEvent_SetListType, METH_VARARGS | METH_KEYWORDS }, | |
10515 | { "wxStyledTextEvent_SetLParam", (PyCFunction) _wrap_wxStyledTextEvent_SetLParam, METH_VARARGS | METH_KEYWORDS }, | |
10516 | { "wxStyledTextEvent_SetWParam", (PyCFunction) _wrap_wxStyledTextEvent_SetWParam, METH_VARARGS | METH_KEYWORDS }, | |
10517 | { "wxStyledTextEvent_SetMessage", (PyCFunction) _wrap_wxStyledTextEvent_SetMessage, METH_VARARGS | METH_KEYWORDS }, | |
10518 | { "wxStyledTextEvent_SetMargin", (PyCFunction) _wrap_wxStyledTextEvent_SetMargin, METH_VARARGS | METH_KEYWORDS }, | |
10519 | { "wxStyledTextEvent_SetFoldLevelPrev", (PyCFunction) _wrap_wxStyledTextEvent_SetFoldLevelPrev, METH_VARARGS | METH_KEYWORDS }, | |
10520 | { "wxStyledTextEvent_SetFoldLevelNow", (PyCFunction) _wrap_wxStyledTextEvent_SetFoldLevelNow, METH_VARARGS | METH_KEYWORDS }, | |
10521 | { "wxStyledTextEvent_SetLine", (PyCFunction) _wrap_wxStyledTextEvent_SetLine, METH_VARARGS | METH_KEYWORDS }, | |
10522 | { "wxStyledTextEvent_SetLinesAdded", (PyCFunction) _wrap_wxStyledTextEvent_SetLinesAdded, METH_VARARGS | METH_KEYWORDS }, | |
10523 | { "wxStyledTextEvent_SetLength", (PyCFunction) _wrap_wxStyledTextEvent_SetLength, METH_VARARGS | METH_KEYWORDS }, | |
10524 | { "wxStyledTextEvent_SetText", (PyCFunction) _wrap_wxStyledTextEvent_SetText, METH_VARARGS | METH_KEYWORDS }, | |
10525 | { "wxStyledTextEvent_SetModificationType", (PyCFunction) _wrap_wxStyledTextEvent_SetModificationType, METH_VARARGS | METH_KEYWORDS }, | |
10526 | { "wxStyledTextEvent_SetModifiers", (PyCFunction) _wrap_wxStyledTextEvent_SetModifiers, METH_VARARGS | METH_KEYWORDS }, | |
10527 | { "wxStyledTextEvent_SetKey", (PyCFunction) _wrap_wxStyledTextEvent_SetKey, METH_VARARGS | METH_KEYWORDS }, | |
10528 | { "wxStyledTextEvent_SetPosition", (PyCFunction) _wrap_wxStyledTextEvent_SetPosition, METH_VARARGS | METH_KEYWORDS }, | |
10529 | { "delete_wxStyledTextEvent", (PyCFunction) _wrap_delete_wxStyledTextEvent, METH_VARARGS | METH_KEYWORDS }, | |
10530 | { "new_wxStyledTextEvent", (PyCFunction) _wrap_new_wxStyledTextEvent, METH_VARARGS | METH_KEYWORDS }, | |
6e8a778a RD |
10531 | { "wxStyledTextCtrl_SetHScrollBar", (PyCFunction) _wrap_wxStyledTextCtrl_SetHScrollBar, METH_VARARGS | METH_KEYWORDS }, |
10532 | { "wxStyledTextCtrl_SetVScrollBar", (PyCFunction) _wrap_wxStyledTextCtrl_SetVScrollBar, METH_VARARGS | METH_KEYWORDS }, | |
89c8ea73 RD |
10533 | { "wxStyledTextCtrl_SendMsg", (PyCFunction) _wrap_wxStyledTextCtrl_SendMsg, METH_VARARGS | METH_KEYWORDS }, |
10534 | { "wxStyledTextCtrl_ScrollToColumn", (PyCFunction) _wrap_wxStyledTextCtrl_ScrollToColumn, METH_VARARGS | METH_KEYWORDS }, | |
10535 | { "wxStyledTextCtrl_ScrollToLine", (PyCFunction) _wrap_wxStyledTextCtrl_ScrollToLine, METH_VARARGS | METH_KEYWORDS }, | |
10536 | { "wxStyledTextCtrl_PointFromPosition", (PyCFunction) _wrap_wxStyledTextCtrl_PointFromPosition, METH_VARARGS | METH_KEYWORDS }, | |
10537 | { "wxStyledTextCtrl_GetSelection", (PyCFunction) _wrap_wxStyledTextCtrl_GetSelection, METH_VARARGS | METH_KEYWORDS }, | |
10538 | { "wxStyledTextCtrl_SetMargins", (PyCFunction) _wrap_wxStyledTextCtrl_SetMargins, METH_VARARGS | METH_KEYWORDS }, | |
10539 | { "wxStyledTextCtrl_CmdKeyExecute", (PyCFunction) _wrap_wxStyledTextCtrl_CmdKeyExecute, METH_VARARGS | METH_KEYWORDS }, | |
10540 | { "wxStyledTextCtrl_StyleSetFontAttr", (PyCFunction) _wrap_wxStyledTextCtrl_StyleSetFontAttr, METH_VARARGS | METH_KEYWORDS }, | |
10541 | { "wxStyledTextCtrl_StyleSetFont", (PyCFunction) _wrap_wxStyledTextCtrl_StyleSetFont, METH_VARARGS | METH_KEYWORDS }, | |
10542 | { "wxStyledTextCtrl_StyleSetSpec", (PyCFunction) _wrap_wxStyledTextCtrl_StyleSetSpec, METH_VARARGS | METH_KEYWORDS }, | |
10543 | { "wxStyledTextCtrl_GetCurrentLine", (PyCFunction) _wrap_wxStyledTextCtrl_GetCurrentLine, METH_VARARGS | METH_KEYWORDS }, | |
10544 | { "wxStyledTextCtrl_SetLexerLanguage", (PyCFunction) _wrap_wxStyledTextCtrl_SetLexerLanguage, METH_VARARGS | METH_KEYWORDS }, | |
10545 | { "wxStyledTextCtrl_SetKeyWords", (PyCFunction) _wrap_wxStyledTextCtrl_SetKeyWords, METH_VARARGS | METH_KEYWORDS }, | |
10546 | { "wxStyledTextCtrl_SetProperty", (PyCFunction) _wrap_wxStyledTextCtrl_SetProperty, METH_VARARGS | METH_KEYWORDS }, | |
10547 | { "wxStyledTextCtrl_Colourise", (PyCFunction) _wrap_wxStyledTextCtrl_Colourise, METH_VARARGS | METH_KEYWORDS }, | |
10548 | { "wxStyledTextCtrl_GetLexer", (PyCFunction) _wrap_wxStyledTextCtrl_GetLexer, METH_VARARGS | METH_KEYWORDS }, | |
10549 | { "wxStyledTextCtrl_SetLexer", (PyCFunction) _wrap_wxStyledTextCtrl_SetLexer, METH_VARARGS | METH_KEYWORDS }, | |
10550 | { "wxStyledTextCtrl_StopRecord", (PyCFunction) _wrap_wxStyledTextCtrl_StopRecord, METH_VARARGS | METH_KEYWORDS }, | |
10551 | { "wxStyledTextCtrl_StartRecord", (PyCFunction) _wrap_wxStyledTextCtrl_StartRecord, METH_VARARGS | METH_KEYWORDS }, | |
a884bee5 RD |
10552 | { "wxStyledTextCtrl_GetXOffset", (PyCFunction) _wrap_wxStyledTextCtrl_GetXOffset, METH_VARARGS | METH_KEYWORDS }, |
10553 | { "wxStyledTextCtrl_SetXOffset", (PyCFunction) _wrap_wxStyledTextCtrl_SetXOffset, METH_VARARGS | METH_KEYWORDS }, | |
89c8ea73 RD |
10554 | { "wxStyledTextCtrl_DelLineRight", (PyCFunction) _wrap_wxStyledTextCtrl_DelLineRight, METH_VARARGS | METH_KEYWORDS }, |
10555 | { "wxStyledTextCtrl_DelLineLeft", (PyCFunction) _wrap_wxStyledTextCtrl_DelLineLeft, METH_VARARGS | METH_KEYWORDS }, | |
10556 | { "wxStyledTextCtrl_SetVisiblePolicy", (PyCFunction) _wrap_wxStyledTextCtrl_SetVisiblePolicy, METH_VARARGS | METH_KEYWORDS }, | |
10557 | { "wxStyledTextCtrl_WordPartRightExtend", (PyCFunction) _wrap_wxStyledTextCtrl_WordPartRightExtend, METH_VARARGS | METH_KEYWORDS }, | |
10558 | { "wxStyledTextCtrl_WordPartRight", (PyCFunction) _wrap_wxStyledTextCtrl_WordPartRight, METH_VARARGS | METH_KEYWORDS }, | |
10559 | { "wxStyledTextCtrl_WordPartLeftExtend", (PyCFunction) _wrap_wxStyledTextCtrl_WordPartLeftExtend, METH_VARARGS | METH_KEYWORDS }, | |
10560 | { "wxStyledTextCtrl_WordPartLeft", (PyCFunction) _wrap_wxStyledTextCtrl_WordPartLeft, METH_VARARGS | METH_KEYWORDS }, | |
a884bee5 RD |
10561 | { "wxStyledTextCtrl_GetControlCharSymbol", (PyCFunction) _wrap_wxStyledTextCtrl_GetControlCharSymbol, METH_VARARGS | METH_KEYWORDS }, |
10562 | { "wxStyledTextCtrl_SetControlCharSymbol", (PyCFunction) _wrap_wxStyledTextCtrl_SetControlCharSymbol, METH_VARARGS | METH_KEYWORDS }, | |
89c8ea73 RD |
10563 | { "wxStyledTextCtrl_GetCursor", (PyCFunction) _wrap_wxStyledTextCtrl_GetCursor, METH_VARARGS | METH_KEYWORDS }, |
10564 | { "wxStyledTextCtrl_SetCursor", (PyCFunction) _wrap_wxStyledTextCtrl_SetCursor, METH_VARARGS | METH_KEYWORDS }, | |
10565 | { "wxStyledTextCtrl_GetMouseDownCaptures", (PyCFunction) _wrap_wxStyledTextCtrl_GetMouseDownCaptures, METH_VARARGS | METH_KEYWORDS }, | |
10566 | { "wxStyledTextCtrl_SetMouseDownCaptures", (PyCFunction) _wrap_wxStyledTextCtrl_SetMouseDownCaptures, METH_VARARGS | METH_KEYWORDS }, | |
10567 | { "wxStyledTextCtrl_GetStatus", (PyCFunction) _wrap_wxStyledTextCtrl_GetStatus, METH_VARARGS | METH_KEYWORDS }, | |
10568 | { "wxStyledTextCtrl_SetStatus", (PyCFunction) _wrap_wxStyledTextCtrl_SetStatus, METH_VARARGS | METH_KEYWORDS }, | |
10569 | { "wxStyledTextCtrl_GetSTCFocus", (PyCFunction) _wrap_wxStyledTextCtrl_GetSTCFocus, METH_VARARGS | METH_KEYWORDS }, | |
10570 | { "wxStyledTextCtrl_SetSTCFocus", (PyCFunction) _wrap_wxStyledTextCtrl_SetSTCFocus, METH_VARARGS | METH_KEYWORDS }, | |
10571 | { "wxStyledTextCtrl_GetModEventMask", (PyCFunction) _wrap_wxStyledTextCtrl_GetModEventMask, METH_VARARGS | METH_KEYWORDS }, | |
10572 | { "wxStyledTextCtrl_ReleaseDocument", (PyCFunction) _wrap_wxStyledTextCtrl_ReleaseDocument, METH_VARARGS | METH_KEYWORDS }, | |
10573 | { "wxStyledTextCtrl_AddRefDocument", (PyCFunction) _wrap_wxStyledTextCtrl_AddRefDocument, METH_VARARGS | METH_KEYWORDS }, | |
10574 | { "wxStyledTextCtrl_CreateDocument", (PyCFunction) _wrap_wxStyledTextCtrl_CreateDocument, METH_VARARGS | METH_KEYWORDS }, | |
10575 | { "wxStyledTextCtrl_GetZoom", (PyCFunction) _wrap_wxStyledTextCtrl_GetZoom, METH_VARARGS | METH_KEYWORDS }, | |
10576 | { "wxStyledTextCtrl_SetZoom", (PyCFunction) _wrap_wxStyledTextCtrl_SetZoom, METH_VARARGS | METH_KEYWORDS }, | |
10577 | { "wxStyledTextCtrl_SelectionIsRectangle", (PyCFunction) _wrap_wxStyledTextCtrl_SelectionIsRectangle, METH_VARARGS | METH_KEYWORDS }, | |
10578 | { "wxStyledTextCtrl_UsePopUp", (PyCFunction) _wrap_wxStyledTextCtrl_UsePopUp, METH_VARARGS | METH_KEYWORDS }, | |
10579 | { "wxStyledTextCtrl_LinesOnScreen", (PyCFunction) _wrap_wxStyledTextCtrl_LinesOnScreen, METH_VARARGS | METH_KEYWORDS }, | |
10580 | { "wxStyledTextCtrl_SetCaretPolicy", (PyCFunction) _wrap_wxStyledTextCtrl_SetCaretPolicy, METH_VARARGS | METH_KEYWORDS }, | |
10581 | { "wxStyledTextCtrl_SearchPrev", (PyCFunction) _wrap_wxStyledTextCtrl_SearchPrev, METH_VARARGS | METH_KEYWORDS }, | |
10582 | { "wxStyledTextCtrl_SearchNext", (PyCFunction) _wrap_wxStyledTextCtrl_SearchNext, METH_VARARGS | METH_KEYWORDS }, | |
10583 | { "wxStyledTextCtrl_SearchAnchor", (PyCFunction) _wrap_wxStyledTextCtrl_SearchAnchor, METH_VARARGS | METH_KEYWORDS }, | |
10584 | { "wxStyledTextCtrl_SetEdgeColour", (PyCFunction) _wrap_wxStyledTextCtrl_SetEdgeColour, METH_VARARGS | METH_KEYWORDS }, | |
10585 | { "wxStyledTextCtrl_GetEdgeColour", (PyCFunction) _wrap_wxStyledTextCtrl_GetEdgeColour, METH_VARARGS | METH_KEYWORDS }, | |
10586 | { "wxStyledTextCtrl_SetEdgeMode", (PyCFunction) _wrap_wxStyledTextCtrl_SetEdgeMode, METH_VARARGS | METH_KEYWORDS }, | |
10587 | { "wxStyledTextCtrl_GetEdgeMode", (PyCFunction) _wrap_wxStyledTextCtrl_GetEdgeMode, METH_VARARGS | METH_KEYWORDS }, | |
10588 | { "wxStyledTextCtrl_SetEdgeColumn", (PyCFunction) _wrap_wxStyledTextCtrl_SetEdgeColumn, METH_VARARGS | METH_KEYWORDS }, | |
10589 | { "wxStyledTextCtrl_GetEdgeColumn", (PyCFunction) _wrap_wxStyledTextCtrl_GetEdgeColumn, METH_VARARGS | METH_KEYWORDS }, | |
10590 | { "wxStyledTextCtrl_SetModEventMask", (PyCFunction) _wrap_wxStyledTextCtrl_SetModEventMask, METH_VARARGS | METH_KEYWORDS }, | |
10591 | { "wxStyledTextCtrl_SetDocPointer", (PyCFunction) _wrap_wxStyledTextCtrl_SetDocPointer, METH_VARARGS | METH_KEYWORDS }, | |
10592 | { "wxStyledTextCtrl_GetDocPointer", (PyCFunction) _wrap_wxStyledTextCtrl_GetDocPointer, METH_VARARGS | METH_KEYWORDS }, | |
10593 | { "wxStyledTextCtrl_SetViewEOL", (PyCFunction) _wrap_wxStyledTextCtrl_SetViewEOL, METH_VARARGS | METH_KEYWORDS }, | |
10594 | { "wxStyledTextCtrl_GetViewEOL", (PyCFunction) _wrap_wxStyledTextCtrl_GetViewEOL, METH_VARARGS | METH_KEYWORDS }, | |
10595 | { "wxStyledTextCtrl_BraceMatch", (PyCFunction) _wrap_wxStyledTextCtrl_BraceMatch, METH_VARARGS | METH_KEYWORDS }, | |
10596 | { "wxStyledTextCtrl_BraceBadLight", (PyCFunction) _wrap_wxStyledTextCtrl_BraceBadLight, METH_VARARGS | METH_KEYWORDS }, | |
10597 | { "wxStyledTextCtrl_BraceHighlight", (PyCFunction) _wrap_wxStyledTextCtrl_BraceHighlight, METH_VARARGS | METH_KEYWORDS }, | |
10598 | { "wxStyledTextCtrl_LineLength", (PyCFunction) _wrap_wxStyledTextCtrl_LineLength, METH_VARARGS | METH_KEYWORDS }, | |
10599 | { "wxStyledTextCtrl_MoveCaretInsideView", (PyCFunction) _wrap_wxStyledTextCtrl_MoveCaretInsideView, METH_VARARGS | METH_KEYWORDS }, | |
a884bee5 RD |
10600 | { "wxStyledTextCtrl_DeleteBackNotLine", (PyCFunction) _wrap_wxStyledTextCtrl_DeleteBackNotLine, METH_VARARGS | METH_KEYWORDS }, |
10601 | { "wxStyledTextCtrl_GetLayoutCache", (PyCFunction) _wrap_wxStyledTextCtrl_GetLayoutCache, METH_VARARGS | METH_KEYWORDS }, | |
10602 | { "wxStyledTextCtrl_SetLayoutCache", (PyCFunction) _wrap_wxStyledTextCtrl_SetLayoutCache, METH_VARARGS | METH_KEYWORDS }, | |
10603 | { "wxStyledTextCtrl_GetWrapMode", (PyCFunction) _wrap_wxStyledTextCtrl_GetWrapMode, METH_VARARGS | METH_KEYWORDS }, | |
10604 | { "wxStyledTextCtrl_SetWrapMode", (PyCFunction) _wrap_wxStyledTextCtrl_SetWrapMode, METH_VARARGS | METH_KEYWORDS }, | |
10605 | { "wxStyledTextCtrl_WordEndPosition", (PyCFunction) _wrap_wxStyledTextCtrl_WordEndPosition, METH_VARARGS | METH_KEYWORDS }, | |
10606 | { "wxStyledTextCtrl_WordStartPosition", (PyCFunction) _wrap_wxStyledTextCtrl_WordStartPosition, METH_VARARGS | METH_KEYWORDS }, | |
89c8ea73 RD |
10607 | { "wxStyledTextCtrl_GetMouseDwellTime", (PyCFunction) _wrap_wxStyledTextCtrl_GetMouseDwellTime, METH_VARARGS | METH_KEYWORDS }, |
10608 | { "wxStyledTextCtrl_SetMouseDwellTime", (PyCFunction) _wrap_wxStyledTextCtrl_SetMouseDwellTime, METH_VARARGS | METH_KEYWORDS }, | |
10609 | { "wxStyledTextCtrl_GetBackSpaceUnIndents", (PyCFunction) _wrap_wxStyledTextCtrl_GetBackSpaceUnIndents, METH_VARARGS | METH_KEYWORDS }, | |
10610 | { "wxStyledTextCtrl_SetBackSpaceUnIndents", (PyCFunction) _wrap_wxStyledTextCtrl_SetBackSpaceUnIndents, METH_VARARGS | METH_KEYWORDS }, | |
10611 | { "wxStyledTextCtrl_GetTabIndents", (PyCFunction) _wrap_wxStyledTextCtrl_GetTabIndents, METH_VARARGS | METH_KEYWORDS }, | |
10612 | { "wxStyledTextCtrl_SetTabIndents", (PyCFunction) _wrap_wxStyledTextCtrl_SetTabIndents, METH_VARARGS | METH_KEYWORDS }, | |
10613 | { "wxStyledTextCtrl_EnsureVisibleEnforcePolicy", (PyCFunction) _wrap_wxStyledTextCtrl_EnsureVisibleEnforcePolicy, METH_VARARGS | METH_KEYWORDS }, | |
10614 | { "wxStyledTextCtrl_SetFoldFlags", (PyCFunction) _wrap_wxStyledTextCtrl_SetFoldFlags, METH_VARARGS | METH_KEYWORDS }, | |
10615 | { "wxStyledTextCtrl_EnsureVisible", (PyCFunction) _wrap_wxStyledTextCtrl_EnsureVisible, METH_VARARGS | METH_KEYWORDS }, | |
10616 | { "wxStyledTextCtrl_ToggleFold", (PyCFunction) _wrap_wxStyledTextCtrl_ToggleFold, METH_VARARGS | METH_KEYWORDS }, | |
10617 | { "wxStyledTextCtrl_GetFoldExpanded", (PyCFunction) _wrap_wxStyledTextCtrl_GetFoldExpanded, METH_VARARGS | METH_KEYWORDS }, | |
10618 | { "wxStyledTextCtrl_SetFoldExpanded", (PyCFunction) _wrap_wxStyledTextCtrl_SetFoldExpanded, METH_VARARGS | METH_KEYWORDS }, | |
10619 | { "wxStyledTextCtrl_GetLineVisible", (PyCFunction) _wrap_wxStyledTextCtrl_GetLineVisible, METH_VARARGS | METH_KEYWORDS }, | |
10620 | { "wxStyledTextCtrl_HideLines", (PyCFunction) _wrap_wxStyledTextCtrl_HideLines, METH_VARARGS | METH_KEYWORDS }, | |
10621 | { "wxStyledTextCtrl_ShowLines", (PyCFunction) _wrap_wxStyledTextCtrl_ShowLines, METH_VARARGS | METH_KEYWORDS }, | |
10622 | { "wxStyledTextCtrl_GetFoldParent", (PyCFunction) _wrap_wxStyledTextCtrl_GetFoldParent, METH_VARARGS | METH_KEYWORDS }, | |
10623 | { "wxStyledTextCtrl_GetLastChild", (PyCFunction) _wrap_wxStyledTextCtrl_GetLastChild, METH_VARARGS | METH_KEYWORDS }, | |
10624 | { "wxStyledTextCtrl_GetFoldLevel", (PyCFunction) _wrap_wxStyledTextCtrl_GetFoldLevel, METH_VARARGS | METH_KEYWORDS }, | |
10625 | { "wxStyledTextCtrl_SetFoldLevel", (PyCFunction) _wrap_wxStyledTextCtrl_SetFoldLevel, METH_VARARGS | METH_KEYWORDS }, | |
10626 | { "wxStyledTextCtrl_DocLineFromVisible", (PyCFunction) _wrap_wxStyledTextCtrl_DocLineFromVisible, METH_VARARGS | METH_KEYWORDS }, | |
10627 | { "wxStyledTextCtrl_VisibleFromDocLine", (PyCFunction) _wrap_wxStyledTextCtrl_VisibleFromDocLine, METH_VARARGS | METH_KEYWORDS }, | |
10628 | { "wxStyledTextCtrl_CallTipSetBackground", (PyCFunction) _wrap_wxStyledTextCtrl_CallTipSetBackground, METH_VARARGS | METH_KEYWORDS }, | |
10629 | { "wxStyledTextCtrl_CallTipSetHighlight", (PyCFunction) _wrap_wxStyledTextCtrl_CallTipSetHighlight, METH_VARARGS | METH_KEYWORDS }, | |
10630 | { "wxStyledTextCtrl_CallTipPosAtStart", (PyCFunction) _wrap_wxStyledTextCtrl_CallTipPosAtStart, METH_VARARGS | METH_KEYWORDS }, | |
10631 | { "wxStyledTextCtrl_CallTipActive", (PyCFunction) _wrap_wxStyledTextCtrl_CallTipActive, METH_VARARGS | METH_KEYWORDS }, | |
10632 | { "wxStyledTextCtrl_CallTipCancel", (PyCFunction) _wrap_wxStyledTextCtrl_CallTipCancel, METH_VARARGS | METH_KEYWORDS }, | |
10633 | { "wxStyledTextCtrl_CallTipShow", (PyCFunction) _wrap_wxStyledTextCtrl_CallTipShow, METH_VARARGS | METH_KEYWORDS }, | |
10634 | { "wxStyledTextCtrl_GetSearchFlags", (PyCFunction) _wrap_wxStyledTextCtrl_GetSearchFlags, METH_VARARGS | METH_KEYWORDS }, | |
10635 | { "wxStyledTextCtrl_SetSearchFlags", (PyCFunction) _wrap_wxStyledTextCtrl_SetSearchFlags, METH_VARARGS | METH_KEYWORDS }, | |
10636 | { "wxStyledTextCtrl_SearchInTarget", (PyCFunction) _wrap_wxStyledTextCtrl_SearchInTarget, METH_VARARGS | METH_KEYWORDS }, | |
10637 | { "wxStyledTextCtrl_ReplaceTargetRE", (PyCFunction) _wrap_wxStyledTextCtrl_ReplaceTargetRE, METH_VARARGS | METH_KEYWORDS }, | |
10638 | { "wxStyledTextCtrl_ReplaceTarget", (PyCFunction) _wrap_wxStyledTextCtrl_ReplaceTarget, METH_VARARGS | METH_KEYWORDS }, | |
10639 | { "wxStyledTextCtrl_GetTargetEnd", (PyCFunction) _wrap_wxStyledTextCtrl_GetTargetEnd, METH_VARARGS | METH_KEYWORDS }, | |
10640 | { "wxStyledTextCtrl_SetTargetEnd", (PyCFunction) _wrap_wxStyledTextCtrl_SetTargetEnd, METH_VARARGS | METH_KEYWORDS }, | |
10641 | { "wxStyledTextCtrl_GetTargetStart", (PyCFunction) _wrap_wxStyledTextCtrl_GetTargetStart, METH_VARARGS | METH_KEYWORDS }, | |
10642 | { "wxStyledTextCtrl_SetTargetStart", (PyCFunction) _wrap_wxStyledTextCtrl_SetTargetStart, METH_VARARGS | METH_KEYWORDS }, | |
10643 | { "wxStyledTextCtrl_GetCaretWidth", (PyCFunction) _wrap_wxStyledTextCtrl_GetCaretWidth, METH_VARARGS | METH_KEYWORDS }, | |
10644 | { "wxStyledTextCtrl_SetCaretWidth", (PyCFunction) _wrap_wxStyledTextCtrl_SetCaretWidth, METH_VARARGS | METH_KEYWORDS }, | |
10645 | { "wxStyledTextCtrl_GetOvertype", (PyCFunction) _wrap_wxStyledTextCtrl_GetOvertype, METH_VARARGS | METH_KEYWORDS }, | |
10646 | { "wxStyledTextCtrl_SetOvertype", (PyCFunction) _wrap_wxStyledTextCtrl_SetOvertype, METH_VARARGS | METH_KEYWORDS }, | |
10647 | { "wxStyledTextCtrl_GetTextLength", (PyCFunction) _wrap_wxStyledTextCtrl_GetTextLength, METH_VARARGS | METH_KEYWORDS }, | |
10648 | { "wxStyledTextCtrl_GetText", (PyCFunction) _wrap_wxStyledTextCtrl_GetText, METH_VARARGS | METH_KEYWORDS }, | |
10649 | { "wxStyledTextCtrl_SetText", (PyCFunction) _wrap_wxStyledTextCtrl_SetText, METH_VARARGS | METH_KEYWORDS }, | |
10650 | { "wxStyledTextCtrl_Clear", (PyCFunction) _wrap_wxStyledTextCtrl_Clear, METH_VARARGS | METH_KEYWORDS }, | |
10651 | { "wxStyledTextCtrl_Paste", (PyCFunction) _wrap_wxStyledTextCtrl_Paste, METH_VARARGS | METH_KEYWORDS }, | |
10652 | { "wxStyledTextCtrl_Copy", (PyCFunction) _wrap_wxStyledTextCtrl_Copy, METH_VARARGS | METH_KEYWORDS }, | |
10653 | { "wxStyledTextCtrl_Cut", (PyCFunction) _wrap_wxStyledTextCtrl_Cut, METH_VARARGS | METH_KEYWORDS }, | |
10654 | { "wxStyledTextCtrl_Undo", (PyCFunction) _wrap_wxStyledTextCtrl_Undo, METH_VARARGS | METH_KEYWORDS }, | |
10655 | { "wxStyledTextCtrl_EmptyUndoBuffer", (PyCFunction) _wrap_wxStyledTextCtrl_EmptyUndoBuffer, METH_VARARGS | METH_KEYWORDS }, | |
10656 | { "wxStyledTextCtrl_CanUndo", (PyCFunction) _wrap_wxStyledTextCtrl_CanUndo, METH_VARARGS | METH_KEYWORDS }, | |
10657 | { "wxStyledTextCtrl_CanPaste", (PyCFunction) _wrap_wxStyledTextCtrl_CanPaste, METH_VARARGS | METH_KEYWORDS }, | |
10658 | { "wxStyledTextCtrl_SetReadOnly", (PyCFunction) _wrap_wxStyledTextCtrl_SetReadOnly, METH_VARARGS | METH_KEYWORDS }, | |
10659 | { "wxStyledTextCtrl_ReplaceSelection", (PyCFunction) _wrap_wxStyledTextCtrl_ReplaceSelection, METH_VARARGS | METH_KEYWORDS }, | |
10660 | { "wxStyledTextCtrl_EnsureCaretVisible", (PyCFunction) _wrap_wxStyledTextCtrl_EnsureCaretVisible, METH_VARARGS | METH_KEYWORDS }, | |
10661 | { "wxStyledTextCtrl_LineScroll", (PyCFunction) _wrap_wxStyledTextCtrl_LineScroll, METH_VARARGS | METH_KEYWORDS }, | |
10662 | { "wxStyledTextCtrl_PositionFromLine", (PyCFunction) _wrap_wxStyledTextCtrl_PositionFromLine, METH_VARARGS | METH_KEYWORDS }, | |
10663 | { "wxStyledTextCtrl_LineFromPosition", (PyCFunction) _wrap_wxStyledTextCtrl_LineFromPosition, METH_VARARGS | METH_KEYWORDS }, | |
10664 | { "wxStyledTextCtrl_HideSelection", (PyCFunction) _wrap_wxStyledTextCtrl_HideSelection, METH_VARARGS | METH_KEYWORDS }, | |
10665 | { "wxStyledTextCtrl_GetTextRange", (PyCFunction) _wrap_wxStyledTextCtrl_GetTextRange, METH_VARARGS | METH_KEYWORDS }, | |
10666 | { "wxStyledTextCtrl_GetSelectedText", (PyCFunction) _wrap_wxStyledTextCtrl_GetSelectedText, METH_VARARGS | METH_KEYWORDS }, | |
10667 | { "wxStyledTextCtrl_SetSelection", (PyCFunction) _wrap_wxStyledTextCtrl_SetSelection, METH_VARARGS | METH_KEYWORDS }, | |
10668 | { "wxStyledTextCtrl_GetModify", (PyCFunction) _wrap_wxStyledTextCtrl_GetModify, METH_VARARGS | METH_KEYWORDS }, | |
10669 | { "wxStyledTextCtrl_GetMarginRight", (PyCFunction) _wrap_wxStyledTextCtrl_GetMarginRight, METH_VARARGS | METH_KEYWORDS }, | |
10670 | { "wxStyledTextCtrl_SetMarginRight", (PyCFunction) _wrap_wxStyledTextCtrl_SetMarginRight, METH_VARARGS | METH_KEYWORDS }, | |
10671 | { "wxStyledTextCtrl_GetMarginLeft", (PyCFunction) _wrap_wxStyledTextCtrl_GetMarginLeft, METH_VARARGS | METH_KEYWORDS }, | |
10672 | { "wxStyledTextCtrl_SetMarginLeft", (PyCFunction) _wrap_wxStyledTextCtrl_SetMarginLeft, METH_VARARGS | METH_KEYWORDS }, | |
10673 | { "wxStyledTextCtrl_GetLineCount", (PyCFunction) _wrap_wxStyledTextCtrl_GetLineCount, METH_VARARGS | METH_KEYWORDS }, | |
10674 | { "wxStyledTextCtrl_GetLine", (PyCFunction) _wrap_wxStyledTextCtrl_GetLine, METH_VARARGS | METH_KEYWORDS }, | |
10675 | { "wxStyledTextCtrl_GetFirstVisibleLine", (PyCFunction) _wrap_wxStyledTextCtrl_GetFirstVisibleLine, METH_VARARGS | METH_KEYWORDS }, | |
10676 | { "wxStyledTextCtrl_FormatRange", (PyCFunction) _wrap_wxStyledTextCtrl_FormatRange, METH_VARARGS | METH_KEYWORDS }, | |
10677 | { "wxStyledTextCtrl_FindText", (PyCFunction) _wrap_wxStyledTextCtrl_FindText, METH_VARARGS | METH_KEYWORDS }, | |
10678 | { "wxStyledTextCtrl_GetPrintColourMode", (PyCFunction) _wrap_wxStyledTextCtrl_GetPrintColourMode, METH_VARARGS | METH_KEYWORDS }, | |
10679 | { "wxStyledTextCtrl_SetPrintColourMode", (PyCFunction) _wrap_wxStyledTextCtrl_SetPrintColourMode, METH_VARARGS | METH_KEYWORDS }, | |
10680 | { "wxStyledTextCtrl_GetPrintMagnification", (PyCFunction) _wrap_wxStyledTextCtrl_GetPrintMagnification, METH_VARARGS | METH_KEYWORDS }, | |
10681 | { "wxStyledTextCtrl_SetPrintMagnification", (PyCFunction) _wrap_wxStyledTextCtrl_SetPrintMagnification, METH_VARARGS | METH_KEYWORDS }, | |
10682 | { "wxStyledTextCtrl_GetSelectionEnd", (PyCFunction) _wrap_wxStyledTextCtrl_GetSelectionEnd, METH_VARARGS | METH_KEYWORDS }, | |
10683 | { "wxStyledTextCtrl_SetSelectionEnd", (PyCFunction) _wrap_wxStyledTextCtrl_SetSelectionEnd, METH_VARARGS | METH_KEYWORDS }, | |
10684 | { "wxStyledTextCtrl_GetSelectionStart", (PyCFunction) _wrap_wxStyledTextCtrl_GetSelectionStart, METH_VARARGS | METH_KEYWORDS }, | |
10685 | { "wxStyledTextCtrl_SetSelectionStart", (PyCFunction) _wrap_wxStyledTextCtrl_SetSelectionStart, METH_VARARGS | METH_KEYWORDS }, | |
10686 | { "wxStyledTextCtrl_SetCurrentPos", (PyCFunction) _wrap_wxStyledTextCtrl_SetCurrentPos, METH_VARARGS | METH_KEYWORDS }, | |
10687 | { "wxStyledTextCtrl_GetReadOnly", (PyCFunction) _wrap_wxStyledTextCtrl_GetReadOnly, METH_VARARGS | METH_KEYWORDS }, | |
10688 | { "wxStyledTextCtrl_GetCaretForeground", (PyCFunction) _wrap_wxStyledTextCtrl_GetCaretForeground, METH_VARARGS | METH_KEYWORDS }, | |
10689 | { "wxStyledTextCtrl_GetCodePage", (PyCFunction) _wrap_wxStyledTextCtrl_GetCodePage, METH_VARARGS | METH_KEYWORDS }, | |
10690 | { "wxStyledTextCtrl_GetLineEndPosition", (PyCFunction) _wrap_wxStyledTextCtrl_GetLineEndPosition, METH_VARARGS | METH_KEYWORDS }, | |
10691 | { "wxStyledTextCtrl_GetHighlightGuide", (PyCFunction) _wrap_wxStyledTextCtrl_GetHighlightGuide, METH_VARARGS | METH_KEYWORDS }, | |
10692 | { "wxStyledTextCtrl_SetHighlightGuide", (PyCFunction) _wrap_wxStyledTextCtrl_SetHighlightGuide, METH_VARARGS | METH_KEYWORDS }, | |
10693 | { "wxStyledTextCtrl_GetIndentationGuides", (PyCFunction) _wrap_wxStyledTextCtrl_GetIndentationGuides, METH_VARARGS | METH_KEYWORDS }, | |
10694 | { "wxStyledTextCtrl_SetIndentationGuides", (PyCFunction) _wrap_wxStyledTextCtrl_SetIndentationGuides, METH_VARARGS | METH_KEYWORDS }, | |
10695 | { "wxStyledTextCtrl_GetUseHorizontalScrollBar", (PyCFunction) _wrap_wxStyledTextCtrl_GetUseHorizontalScrollBar, METH_VARARGS | METH_KEYWORDS }, | |
10696 | { "wxStyledTextCtrl_SetUseHorizontalScrollBar", (PyCFunction) _wrap_wxStyledTextCtrl_SetUseHorizontalScrollBar, METH_VARARGS | METH_KEYWORDS }, | |
10697 | { "wxStyledTextCtrl_GetColumn", (PyCFunction) _wrap_wxStyledTextCtrl_GetColumn, METH_VARARGS | METH_KEYWORDS }, | |
10698 | { "wxStyledTextCtrl_GetLineIndentPosition", (PyCFunction) _wrap_wxStyledTextCtrl_GetLineIndentPosition, METH_VARARGS | METH_KEYWORDS }, | |
10699 | { "wxStyledTextCtrl_GetLineIndentation", (PyCFunction) _wrap_wxStyledTextCtrl_GetLineIndentation, METH_VARARGS | METH_KEYWORDS }, | |
10700 | { "wxStyledTextCtrl_SetLineIndentation", (PyCFunction) _wrap_wxStyledTextCtrl_SetLineIndentation, METH_VARARGS | METH_KEYWORDS }, | |
10701 | { "wxStyledTextCtrl_GetUseTabs", (PyCFunction) _wrap_wxStyledTextCtrl_GetUseTabs, METH_VARARGS | METH_KEYWORDS }, | |
10702 | { "wxStyledTextCtrl_SetUseTabs", (PyCFunction) _wrap_wxStyledTextCtrl_SetUseTabs, METH_VARARGS | METH_KEYWORDS }, | |
10703 | { "wxStyledTextCtrl_GetIndent", (PyCFunction) _wrap_wxStyledTextCtrl_GetIndent, METH_VARARGS | METH_KEYWORDS }, | |
10704 | { "wxStyledTextCtrl_SetIndent", (PyCFunction) _wrap_wxStyledTextCtrl_SetIndent, METH_VARARGS | METH_KEYWORDS }, | |
a884bee5 RD |
10705 | { "wxStyledTextCtrl_AutoCompGetDropRestOfWord", (PyCFunction) _wrap_wxStyledTextCtrl_AutoCompGetDropRestOfWord, METH_VARARGS | METH_KEYWORDS }, |
10706 | { "wxStyledTextCtrl_AutoCompSetDropRestOfWord", (PyCFunction) _wrap_wxStyledTextCtrl_AutoCompSetDropRestOfWord, METH_VARARGS | METH_KEYWORDS }, | |
89c8ea73 RD |
10707 | { "wxStyledTextCtrl_AutoCompGetAutoHide", (PyCFunction) _wrap_wxStyledTextCtrl_AutoCompGetAutoHide, METH_VARARGS | METH_KEYWORDS }, |
10708 | { "wxStyledTextCtrl_AutoCompSetAutoHide", (PyCFunction) _wrap_wxStyledTextCtrl_AutoCompSetAutoHide, METH_VARARGS | METH_KEYWORDS }, | |
10709 | { "wxStyledTextCtrl_UserListShow", (PyCFunction) _wrap_wxStyledTextCtrl_UserListShow, METH_VARARGS | METH_KEYWORDS }, | |
10710 | { "wxStyledTextCtrl_AutoCompGetIgnoreCase", (PyCFunction) _wrap_wxStyledTextCtrl_AutoCompGetIgnoreCase, METH_VARARGS | METH_KEYWORDS }, | |
10711 | { "wxStyledTextCtrl_AutoCompSetIgnoreCase", (PyCFunction) _wrap_wxStyledTextCtrl_AutoCompSetIgnoreCase, METH_VARARGS | METH_KEYWORDS }, | |
10712 | { "wxStyledTextCtrl_AutoCompGetChooseSingle", (PyCFunction) _wrap_wxStyledTextCtrl_AutoCompGetChooseSingle, METH_VARARGS | METH_KEYWORDS }, | |
10713 | { "wxStyledTextCtrl_AutoCompSetChooseSingle", (PyCFunction) _wrap_wxStyledTextCtrl_AutoCompSetChooseSingle, METH_VARARGS | METH_KEYWORDS }, | |
10714 | { "wxStyledTextCtrl_AutoCompSetFillUps", (PyCFunction) _wrap_wxStyledTextCtrl_AutoCompSetFillUps, METH_VARARGS | METH_KEYWORDS }, | |
10715 | { "wxStyledTextCtrl_AutoCompGetCancelAtStart", (PyCFunction) _wrap_wxStyledTextCtrl_AutoCompGetCancelAtStart, METH_VARARGS | METH_KEYWORDS }, | |
10716 | { "wxStyledTextCtrl_AutoCompSetCancelAtStart", (PyCFunction) _wrap_wxStyledTextCtrl_AutoCompSetCancelAtStart, METH_VARARGS | METH_KEYWORDS }, | |
10717 | { "wxStyledTextCtrl_AutoCompSelect", (PyCFunction) _wrap_wxStyledTextCtrl_AutoCompSelect, METH_VARARGS | METH_KEYWORDS }, | |
10718 | { "wxStyledTextCtrl_AutoCompGetSeparator", (PyCFunction) _wrap_wxStyledTextCtrl_AutoCompGetSeparator, METH_VARARGS | METH_KEYWORDS }, | |
10719 | { "wxStyledTextCtrl_AutoCompSetSeparator", (PyCFunction) _wrap_wxStyledTextCtrl_AutoCompSetSeparator, METH_VARARGS | METH_KEYWORDS }, | |
10720 | { "wxStyledTextCtrl_AutoCompStops", (PyCFunction) _wrap_wxStyledTextCtrl_AutoCompStops, METH_VARARGS | METH_KEYWORDS }, | |
10721 | { "wxStyledTextCtrl_AutoCompComplete", (PyCFunction) _wrap_wxStyledTextCtrl_AutoCompComplete, METH_VARARGS | METH_KEYWORDS }, | |
10722 | { "wxStyledTextCtrl_AutoCompPosStart", (PyCFunction) _wrap_wxStyledTextCtrl_AutoCompPosStart, METH_VARARGS | METH_KEYWORDS }, | |
10723 | { "wxStyledTextCtrl_AutoCompActive", (PyCFunction) _wrap_wxStyledTextCtrl_AutoCompActive, METH_VARARGS | METH_KEYWORDS }, | |
10724 | { "wxStyledTextCtrl_AutoCompCancel", (PyCFunction) _wrap_wxStyledTextCtrl_AutoCompCancel, METH_VARARGS | METH_KEYWORDS }, | |
10725 | { "wxStyledTextCtrl_AutoCompShow", (PyCFunction) _wrap_wxStyledTextCtrl_AutoCompShow, METH_VARARGS | METH_KEYWORDS }, | |
a884bee5 | 10726 | { "wxStyledTextCtrl_StyleSetChangeable", (PyCFunction) _wrap_wxStyledTextCtrl_StyleSetChangeable, METH_VARARGS | METH_KEYWORDS }, |
89c8ea73 RD |
10727 | { "wxStyledTextCtrl_SetCaretLineBack", (PyCFunction) _wrap_wxStyledTextCtrl_SetCaretLineBack, METH_VARARGS | METH_KEYWORDS }, |
10728 | { "wxStyledTextCtrl_GetCaretLineBack", (PyCFunction) _wrap_wxStyledTextCtrl_GetCaretLineBack, METH_VARARGS | METH_KEYWORDS }, | |
10729 | { "wxStyledTextCtrl_SetCaretLineVisible", (PyCFunction) _wrap_wxStyledTextCtrl_SetCaretLineVisible, METH_VARARGS | METH_KEYWORDS }, | |
10730 | { "wxStyledTextCtrl_GetCaretLineVisible", (PyCFunction) _wrap_wxStyledTextCtrl_GetCaretLineVisible, METH_VARARGS | METH_KEYWORDS }, | |
10731 | { "wxStyledTextCtrl_GetMaxLineState", (PyCFunction) _wrap_wxStyledTextCtrl_GetMaxLineState, METH_VARARGS | METH_KEYWORDS }, | |
10732 | { "wxStyledTextCtrl_GetLineState", (PyCFunction) _wrap_wxStyledTextCtrl_GetLineState, METH_VARARGS | METH_KEYWORDS }, | |
10733 | { "wxStyledTextCtrl_SetLineState", (PyCFunction) _wrap_wxStyledTextCtrl_SetLineState, METH_VARARGS | METH_KEYWORDS }, | |
10734 | { "wxStyledTextCtrl_GetStyleBits", (PyCFunction) _wrap_wxStyledTextCtrl_GetStyleBits, METH_VARARGS | METH_KEYWORDS }, | |
10735 | { "wxStyledTextCtrl_SetStyleBits", (PyCFunction) _wrap_wxStyledTextCtrl_SetStyleBits, METH_VARARGS | METH_KEYWORDS }, | |
10736 | { "wxStyledTextCtrl_IndicatorGetForeground", (PyCFunction) _wrap_wxStyledTextCtrl_IndicatorGetForeground, METH_VARARGS | METH_KEYWORDS }, | |
10737 | { "wxStyledTextCtrl_IndicatorSetForeground", (PyCFunction) _wrap_wxStyledTextCtrl_IndicatorSetForeground, METH_VARARGS | METH_KEYWORDS }, | |
10738 | { "wxStyledTextCtrl_IndicatorGetStyle", (PyCFunction) _wrap_wxStyledTextCtrl_IndicatorGetStyle, METH_VARARGS | METH_KEYWORDS }, | |
10739 | { "wxStyledTextCtrl_IndicatorSetStyle", (PyCFunction) _wrap_wxStyledTextCtrl_IndicatorSetStyle, METH_VARARGS | METH_KEYWORDS }, | |
10740 | { "wxStyledTextCtrl_EndUndoAction", (PyCFunction) _wrap_wxStyledTextCtrl_EndUndoAction, METH_VARARGS | METH_KEYWORDS }, | |
10741 | { "wxStyledTextCtrl_BeginUndoAction", (PyCFunction) _wrap_wxStyledTextCtrl_BeginUndoAction, METH_VARARGS | METH_KEYWORDS }, | |
10742 | { "wxStyledTextCtrl_SetWordChars", (PyCFunction) _wrap_wxStyledTextCtrl_SetWordChars, METH_VARARGS | METH_KEYWORDS }, | |
10743 | { "wxStyledTextCtrl_SetCaretPeriod", (PyCFunction) _wrap_wxStyledTextCtrl_SetCaretPeriod, METH_VARARGS | METH_KEYWORDS }, | |
10744 | { "wxStyledTextCtrl_GetCaretPeriod", (PyCFunction) _wrap_wxStyledTextCtrl_GetCaretPeriod, METH_VARARGS | METH_KEYWORDS }, | |
10745 | { "wxStyledTextCtrl_StyleSetVisible", (PyCFunction) _wrap_wxStyledTextCtrl_StyleSetVisible, METH_VARARGS | METH_KEYWORDS }, | |
10746 | { "wxStyledTextCtrl_SetStyleBytes", (PyCFunction) _wrap_wxStyledTextCtrl_SetStyleBytes, METH_VARARGS | METH_KEYWORDS }, | |
10747 | { "wxStyledTextCtrl_CmdKeyClearAll", (PyCFunction) _wrap_wxStyledTextCtrl_CmdKeyClearAll, METH_VARARGS | METH_KEYWORDS }, | |
10748 | { "wxStyledTextCtrl_CmdKeyClear", (PyCFunction) _wrap_wxStyledTextCtrl_CmdKeyClear, METH_VARARGS | METH_KEYWORDS }, | |
10749 | { "wxStyledTextCtrl_CmdKeyAssign", (PyCFunction) _wrap_wxStyledTextCtrl_CmdKeyAssign, METH_VARARGS | METH_KEYWORDS }, | |
10750 | { "wxStyledTextCtrl_SetCaretForeground", (PyCFunction) _wrap_wxStyledTextCtrl_SetCaretForeground, METH_VARARGS | METH_KEYWORDS }, | |
10751 | { "wxStyledTextCtrl_SetSelBackground", (PyCFunction) _wrap_wxStyledTextCtrl_SetSelBackground, METH_VARARGS | METH_KEYWORDS }, | |
10752 | { "wxStyledTextCtrl_SetSelForeground", (PyCFunction) _wrap_wxStyledTextCtrl_SetSelForeground, METH_VARARGS | METH_KEYWORDS }, | |
10753 | { "wxStyledTextCtrl_StyleSetCase", (PyCFunction) _wrap_wxStyledTextCtrl_StyleSetCase, METH_VARARGS | METH_KEYWORDS }, | |
10754 | { "wxStyledTextCtrl_StyleSetUnderline", (PyCFunction) _wrap_wxStyledTextCtrl_StyleSetUnderline, METH_VARARGS | METH_KEYWORDS }, | |
10755 | { "wxStyledTextCtrl_StyleResetDefault", (PyCFunction) _wrap_wxStyledTextCtrl_StyleResetDefault, METH_VARARGS | METH_KEYWORDS }, | |
10756 | { "wxStyledTextCtrl_StyleSetEOLFilled", (PyCFunction) _wrap_wxStyledTextCtrl_StyleSetEOLFilled, METH_VARARGS | METH_KEYWORDS }, | |
10757 | { "wxStyledTextCtrl_StyleSetFaceName", (PyCFunction) _wrap_wxStyledTextCtrl_StyleSetFaceName, METH_VARARGS | METH_KEYWORDS }, | |
10758 | { "wxStyledTextCtrl_StyleSetSize", (PyCFunction) _wrap_wxStyledTextCtrl_StyleSetSize, METH_VARARGS | METH_KEYWORDS }, | |
10759 | { "wxStyledTextCtrl_StyleSetItalic", (PyCFunction) _wrap_wxStyledTextCtrl_StyleSetItalic, METH_VARARGS | METH_KEYWORDS }, | |
10760 | { "wxStyledTextCtrl_StyleSetBold", (PyCFunction) _wrap_wxStyledTextCtrl_StyleSetBold, METH_VARARGS | METH_KEYWORDS }, | |
10761 | { "wxStyledTextCtrl_StyleSetBackground", (PyCFunction) _wrap_wxStyledTextCtrl_StyleSetBackground, METH_VARARGS | METH_KEYWORDS }, | |
10762 | { "wxStyledTextCtrl_StyleSetForeground", (PyCFunction) _wrap_wxStyledTextCtrl_StyleSetForeground, METH_VARARGS | METH_KEYWORDS }, | |
10763 | { "wxStyledTextCtrl_StyleClearAll", (PyCFunction) _wrap_wxStyledTextCtrl_StyleClearAll, METH_VARARGS | METH_KEYWORDS }, | |
10764 | { "wxStyledTextCtrl_GetMarginSensitive", (PyCFunction) _wrap_wxStyledTextCtrl_GetMarginSensitive, METH_VARARGS | METH_KEYWORDS }, | |
10765 | { "wxStyledTextCtrl_SetMarginSensitive", (PyCFunction) _wrap_wxStyledTextCtrl_SetMarginSensitive, METH_VARARGS | METH_KEYWORDS }, | |
10766 | { "wxStyledTextCtrl_GetMarginMask", (PyCFunction) _wrap_wxStyledTextCtrl_GetMarginMask, METH_VARARGS | METH_KEYWORDS }, | |
10767 | { "wxStyledTextCtrl_SetMarginMask", (PyCFunction) _wrap_wxStyledTextCtrl_SetMarginMask, METH_VARARGS | METH_KEYWORDS }, | |
10768 | { "wxStyledTextCtrl_GetMarginWidth", (PyCFunction) _wrap_wxStyledTextCtrl_GetMarginWidth, METH_VARARGS | METH_KEYWORDS }, | |
10769 | { "wxStyledTextCtrl_SetMarginWidth", (PyCFunction) _wrap_wxStyledTextCtrl_SetMarginWidth, METH_VARARGS | METH_KEYWORDS }, | |
10770 | { "wxStyledTextCtrl_GetMarginType", (PyCFunction) _wrap_wxStyledTextCtrl_GetMarginType, METH_VARARGS | METH_KEYWORDS }, | |
10771 | { "wxStyledTextCtrl_SetMarginType", (PyCFunction) _wrap_wxStyledTextCtrl_SetMarginType, METH_VARARGS | METH_KEYWORDS }, | |
10772 | { "wxStyledTextCtrl_MarkerPrevious", (PyCFunction) _wrap_wxStyledTextCtrl_MarkerPrevious, METH_VARARGS | METH_KEYWORDS }, | |
10773 | { "wxStyledTextCtrl_MarkerNext", (PyCFunction) _wrap_wxStyledTextCtrl_MarkerNext, METH_VARARGS | METH_KEYWORDS }, | |
10774 | { "wxStyledTextCtrl_MarkerGet", (PyCFunction) _wrap_wxStyledTextCtrl_MarkerGet, METH_VARARGS | METH_KEYWORDS }, | |
10775 | { "wxStyledTextCtrl_MarkerDeleteAll", (PyCFunction) _wrap_wxStyledTextCtrl_MarkerDeleteAll, METH_VARARGS | METH_KEYWORDS }, | |
10776 | { "wxStyledTextCtrl_MarkerDelete", (PyCFunction) _wrap_wxStyledTextCtrl_MarkerDelete, METH_VARARGS | METH_KEYWORDS }, | |
10777 | { "wxStyledTextCtrl_MarkerAdd", (PyCFunction) _wrap_wxStyledTextCtrl_MarkerAdd, METH_VARARGS | METH_KEYWORDS }, | |
10778 | { "wxStyledTextCtrl_MarkerSetBackground", (PyCFunction) _wrap_wxStyledTextCtrl_MarkerSetBackground, METH_VARARGS | METH_KEYWORDS }, | |
10779 | { "wxStyledTextCtrl_MarkerSetForeground", (PyCFunction) _wrap_wxStyledTextCtrl_MarkerSetForeground, METH_VARARGS | METH_KEYWORDS }, | |
10780 | { "wxStyledTextCtrl_MarkerDefine", (PyCFunction) _wrap_wxStyledTextCtrl_MarkerDefine, METH_VARARGS | METH_KEYWORDS }, | |
10781 | { "wxStyledTextCtrl_SetCodePage", (PyCFunction) _wrap_wxStyledTextCtrl_SetCodePage, METH_VARARGS | METH_KEYWORDS }, | |
10782 | { "wxStyledTextCtrl_GetTabWidth", (PyCFunction) _wrap_wxStyledTextCtrl_GetTabWidth, METH_VARARGS | METH_KEYWORDS }, | |
10783 | { "wxStyledTextCtrl_SetTabWidth", (PyCFunction) _wrap_wxStyledTextCtrl_SetTabWidth, METH_VARARGS | METH_KEYWORDS }, | |
10784 | { "wxStyledTextCtrl_SetBufferedDraw", (PyCFunction) _wrap_wxStyledTextCtrl_SetBufferedDraw, METH_VARARGS | METH_KEYWORDS }, | |
10785 | { "wxStyledTextCtrl_GetBufferedDraw", (PyCFunction) _wrap_wxStyledTextCtrl_GetBufferedDraw, METH_VARARGS | METH_KEYWORDS }, | |
10786 | { "wxStyledTextCtrl_SetStyling", (PyCFunction) _wrap_wxStyledTextCtrl_SetStyling, METH_VARARGS | METH_KEYWORDS }, | |
10787 | { "wxStyledTextCtrl_StartStyling", (PyCFunction) _wrap_wxStyledTextCtrl_StartStyling, METH_VARARGS | METH_KEYWORDS }, | |
10788 | { "wxStyledTextCtrl_SetEOLMode", (PyCFunction) _wrap_wxStyledTextCtrl_SetEOLMode, METH_VARARGS | METH_KEYWORDS }, | |
10789 | { "wxStyledTextCtrl_GetEOLMode", (PyCFunction) _wrap_wxStyledTextCtrl_GetEOLMode, METH_VARARGS | METH_KEYWORDS }, | |
10790 | { "wxStyledTextCtrl_ConvertEOLs", (PyCFunction) _wrap_wxStyledTextCtrl_ConvertEOLs, METH_VARARGS | METH_KEYWORDS }, | |
10791 | { "wxStyledTextCtrl_GetEndStyled", (PyCFunction) _wrap_wxStyledTextCtrl_GetEndStyled, METH_VARARGS | METH_KEYWORDS }, | |
10792 | { "wxStyledTextCtrl_GetCurLine", (PyCFunction) _wrap_wxStyledTextCtrl_GetCurLine, METH_VARARGS | METH_KEYWORDS }, | |
10793 | { "wxStyledTextCtrl_SetAnchor", (PyCFunction) _wrap_wxStyledTextCtrl_SetAnchor, METH_VARARGS | METH_KEYWORDS }, | |
10794 | { "wxStyledTextCtrl_GotoPos", (PyCFunction) _wrap_wxStyledTextCtrl_GotoPos, METH_VARARGS | METH_KEYWORDS }, | |
10795 | { "wxStyledTextCtrl_GotoLine", (PyCFunction) _wrap_wxStyledTextCtrl_GotoLine, METH_VARARGS | METH_KEYWORDS }, | |
10796 | { "wxStyledTextCtrl_PositionFromPointClose", (PyCFunction) _wrap_wxStyledTextCtrl_PositionFromPointClose, METH_VARARGS | METH_KEYWORDS }, | |
10797 | { "wxStyledTextCtrl_PositionFromPoint", (PyCFunction) _wrap_wxStyledTextCtrl_PositionFromPoint, METH_VARARGS | METH_KEYWORDS }, | |
10798 | { "wxStyledTextCtrl_SetViewWhiteSpace", (PyCFunction) _wrap_wxStyledTextCtrl_SetViewWhiteSpace, METH_VARARGS | METH_KEYWORDS }, | |
10799 | { "wxStyledTextCtrl_GetViewWhiteSpace", (PyCFunction) _wrap_wxStyledTextCtrl_GetViewWhiteSpace, METH_VARARGS | METH_KEYWORDS }, | |
10800 | { "wxStyledTextCtrl_GetUndoCollection", (PyCFunction) _wrap_wxStyledTextCtrl_GetUndoCollection, METH_VARARGS | METH_KEYWORDS }, | |
10801 | { "wxStyledTextCtrl_MarkerDeleteHandle", (PyCFunction) _wrap_wxStyledTextCtrl_MarkerDeleteHandle, METH_VARARGS | METH_KEYWORDS }, | |
10802 | { "wxStyledTextCtrl_MarkerLineFromHandle", (PyCFunction) _wrap_wxStyledTextCtrl_MarkerLineFromHandle, METH_VARARGS | METH_KEYWORDS }, | |
10803 | { "wxStyledTextCtrl_CanRedo", (PyCFunction) _wrap_wxStyledTextCtrl_CanRedo, METH_VARARGS | METH_KEYWORDS }, | |
10804 | { "wxStyledTextCtrl_GetStyledText", (PyCFunction) _wrap_wxStyledTextCtrl_GetStyledText, METH_VARARGS | METH_KEYWORDS }, | |
10805 | { "wxStyledTextCtrl_SetSavePoint", (PyCFunction) _wrap_wxStyledTextCtrl_SetSavePoint, METH_VARARGS | METH_KEYWORDS }, | |
10806 | { "wxStyledTextCtrl_SelectAll", (PyCFunction) _wrap_wxStyledTextCtrl_SelectAll, METH_VARARGS | METH_KEYWORDS }, | |
10807 | { "wxStyledTextCtrl_SetUndoCollection", (PyCFunction) _wrap_wxStyledTextCtrl_SetUndoCollection, METH_VARARGS | METH_KEYWORDS }, | |
10808 | { "wxStyledTextCtrl_Redo", (PyCFunction) _wrap_wxStyledTextCtrl_Redo, METH_VARARGS | METH_KEYWORDS }, | |
10809 | { "wxStyledTextCtrl_GetStyleAt", (PyCFunction) _wrap_wxStyledTextCtrl_GetStyleAt, METH_VARARGS | METH_KEYWORDS }, | |
10810 | { "wxStyledTextCtrl_GetAnchor", (PyCFunction) _wrap_wxStyledTextCtrl_GetAnchor, METH_VARARGS | METH_KEYWORDS }, | |
10811 | { "wxStyledTextCtrl_GetCurrentPos", (PyCFunction) _wrap_wxStyledTextCtrl_GetCurrentPos, METH_VARARGS | METH_KEYWORDS }, | |
10812 | { "wxStyledTextCtrl_GetCharAt", (PyCFunction) _wrap_wxStyledTextCtrl_GetCharAt, METH_VARARGS | METH_KEYWORDS }, | |
10813 | { "wxStyledTextCtrl_GetLength", (PyCFunction) _wrap_wxStyledTextCtrl_GetLength, METH_VARARGS | METH_KEYWORDS }, | |
10814 | { "wxStyledTextCtrl_ClearDocumentStyle", (PyCFunction) _wrap_wxStyledTextCtrl_ClearDocumentStyle, METH_VARARGS | METH_KEYWORDS }, | |
10815 | { "wxStyledTextCtrl_ClearAll", (PyCFunction) _wrap_wxStyledTextCtrl_ClearAll, METH_VARARGS | METH_KEYWORDS }, | |
10816 | { "wxStyledTextCtrl_InsertText", (PyCFunction) _wrap_wxStyledTextCtrl_InsertText, METH_VARARGS | METH_KEYWORDS }, | |
10817 | { "wxStyledTextCtrl_AddStyledText", (PyCFunction) _wrap_wxStyledTextCtrl_AddStyledText, METH_VARARGS | METH_KEYWORDS }, | |
10818 | { "wxStyledTextCtrl_AddText", (PyCFunction) _wrap_wxStyledTextCtrl_AddText, METH_VARARGS | METH_KEYWORDS }, | |
10819 | { "new_wxStyledTextCtrl", (PyCFunction) _wrap_new_wxStyledTextCtrl, METH_VARARGS | METH_KEYWORDS }, | |
10820 | { NULL, NULL } | |
10821 | }; | |
10822 | #ifdef __cplusplus | |
10823 | } | |
10824 | #endif | |
10825 | /* | |
10826 | * This table is used by the pointer type-checker | |
10827 | */ | |
10828 | static struct { char *n1; char *n2; void *(*pcnv)(void *); } _swig_mapping[] = { | |
10829 | { "_wxEvent","_wxStyledTextEvent",SwigwxStyledTextEventTowxEvent}, | |
10830 | { "_signed_long","_long",0}, | |
10831 | { "_wxPrintQuality","_wxCoord",0}, | |
10832 | { "_wxPrintQuality","_int",0}, | |
10833 | { "_wxPrintQuality","_signed_int",0}, | |
10834 | { "_wxPrintQuality","_unsigned_int",0}, | |
10835 | { "_wxPrintQuality","_wxWindowID",0}, | |
10836 | { "_wxPrintQuality","_uint",0}, | |
10837 | { "_wxPrintQuality","_EBool",0}, | |
10838 | { "_wxPrintQuality","_size_t",0}, | |
10839 | { "_wxPrintQuality","_time_t",0}, | |
10840 | { "_byte","_unsigned_char",0}, | |
10841 | { "_long","_unsigned_long",0}, | |
10842 | { "_long","_signed_long",0}, | |
10843 | { "_size_t","_wxCoord",0}, | |
10844 | { "_size_t","_wxPrintQuality",0}, | |
10845 | { "_size_t","_time_t",0}, | |
10846 | { "_size_t","_unsigned_int",0}, | |
10847 | { "_size_t","_int",0}, | |
10848 | { "_size_t","_wxWindowID",0}, | |
10849 | { "_size_t","_uint",0}, | |
10850 | { "_uint","_wxCoord",0}, | |
10851 | { "_uint","_wxPrintQuality",0}, | |
10852 | { "_uint","_time_t",0}, | |
10853 | { "_uint","_size_t",0}, | |
10854 | { "_uint","_unsigned_int",0}, | |
10855 | { "_uint","_int",0}, | |
10856 | { "_uint","_wxWindowID",0}, | |
10857 | { "_wxChar","_char",0}, | |
10858 | { "_wxCommandEvent","_wxStyledTextEvent",SwigwxStyledTextEventTowxCommandEvent}, | |
10859 | { "_char","_wxChar",0}, | |
10860 | { "_struct_wxNativeFontInfo","_wxNativeFontInfo",0}, | |
10861 | { "_EBool","_wxCoord",0}, | |
10862 | { "_EBool","_wxPrintQuality",0}, | |
10863 | { "_EBool","_signed_int",0}, | |
10864 | { "_EBool","_int",0}, | |
10865 | { "_EBool","_wxWindowID",0}, | |
10866 | { "_unsigned_long","_long",0}, | |
10867 | { "_wxNativeFontInfo","_struct_wxNativeFontInfo",0}, | |
10868 | { "_signed_int","_wxCoord",0}, | |
10869 | { "_signed_int","_wxPrintQuality",0}, | |
10870 | { "_signed_int","_EBool",0}, | |
10871 | { "_signed_int","_wxWindowID",0}, | |
10872 | { "_signed_int","_int",0}, | |
10873 | { "_WXTYPE","_wxDateTime_t",0}, | |
10874 | { "_WXTYPE","_short",0}, | |
10875 | { "_WXTYPE","_signed_short",0}, | |
10876 | { "_WXTYPE","_unsigned_short",0}, | |
10877 | { "_unsigned_short","_wxDateTime_t",0}, | |
10878 | { "_unsigned_short","_WXTYPE",0}, | |
10879 | { "_unsigned_short","_short",0}, | |
10880 | { "_wxObject","_wxStyledTextEvent",SwigwxStyledTextEventTowxObject}, | |
10881 | { "_wxObject","_wxStyledTextCtrl",SwigwxStyledTextCtrlTowxObject}, | |
10882 | { "_signed_short","_WXTYPE",0}, | |
10883 | { "_signed_short","_short",0}, | |
10884 | { "_unsigned_char","_byte",0}, | |
10885 | { "_wxControl","_wxStyledTextCtrl",SwigwxStyledTextCtrlTowxControl}, | |
10886 | { "_unsigned_int","_wxCoord",0}, | |
10887 | { "_unsigned_int","_wxPrintQuality",0}, | |
10888 | { "_unsigned_int","_time_t",0}, | |
10889 | { "_unsigned_int","_size_t",0}, | |
10890 | { "_unsigned_int","_uint",0}, | |
10891 | { "_unsigned_int","_wxWindowID",0}, | |
10892 | { "_unsigned_int","_int",0}, | |
10893 | { "_short","_wxDateTime_t",0}, | |
10894 | { "_short","_WXTYPE",0}, | |
10895 | { "_short","_unsigned_short",0}, | |
10896 | { "_short","_signed_short",0}, | |
10897 | { "_wxWindowID","_wxCoord",0}, | |
10898 | { "_wxWindowID","_wxPrintQuality",0}, | |
10899 | { "_wxWindowID","_time_t",0}, | |
10900 | { "_wxWindowID","_size_t",0}, | |
10901 | { "_wxWindowID","_EBool",0}, | |
10902 | { "_wxWindowID","_uint",0}, | |
10903 | { "_wxWindowID","_int",0}, | |
10904 | { "_wxWindowID","_signed_int",0}, | |
10905 | { "_wxWindowID","_unsigned_int",0}, | |
10906 | { "_int","_wxCoord",0}, | |
10907 | { "_int","_wxPrintQuality",0}, | |
10908 | { "_int","_time_t",0}, | |
10909 | { "_int","_size_t",0}, | |
10910 | { "_int","_EBool",0}, | |
10911 | { "_int","_uint",0}, | |
10912 | { "_int","_wxWindowID",0}, | |
10913 | { "_int","_unsigned_int",0}, | |
10914 | { "_int","_signed_int",0}, | |
10915 | { "_wxDateTime_t","_unsigned_short",0}, | |
10916 | { "_wxDateTime_t","_short",0}, | |
10917 | { "_wxDateTime_t","_WXTYPE",0}, | |
10918 | { "_time_t","_wxCoord",0}, | |
10919 | { "_time_t","_wxPrintQuality",0}, | |
10920 | { "_time_t","_unsigned_int",0}, | |
10921 | { "_time_t","_int",0}, | |
10922 | { "_time_t","_wxWindowID",0}, | |
10923 | { "_time_t","_uint",0}, | |
10924 | { "_time_t","_size_t",0}, | |
10925 | { "_wxCoord","_int",0}, | |
10926 | { "_wxCoord","_signed_int",0}, | |
10927 | { "_wxCoord","_unsigned_int",0}, | |
10928 | { "_wxCoord","_wxWindowID",0}, | |
10929 | { "_wxCoord","_uint",0}, | |
10930 | { "_wxCoord","_EBool",0}, | |
10931 | { "_wxCoord","_size_t",0}, | |
10932 | { "_wxCoord","_time_t",0}, | |
10933 | { "_wxCoord","_wxPrintQuality",0}, | |
10934 | { "_wxEvtHandler","_wxStyledTextCtrl",SwigwxStyledTextCtrlTowxEvtHandler}, | |
10935 | { "_wxWindow","_wxStyledTextCtrl",SwigwxStyledTextCtrlTowxWindow}, | |
10936 | {0,0,0}}; | |
10937 | ||
10938 | static PyObject *SWIG_globals; | |
10939 | #ifdef __cplusplus | |
10940 | extern "C" | |
10941 | #endif | |
10942 | SWIGEXPORT(void) initstc_c() { | |
10943 | PyObject *m, *d; | |
10944 | SWIG_globals = SWIG_newvarlink(); | |
10945 | m = Py_InitModule("stc_c", stc_cMethods); | |
10946 | d = PyModule_GetDict(m); | |
10947 | PyDict_SetItemString(d,"wxSTC_INVALID_POSITION", PyInt_FromLong((long) -1)); | |
10948 | PyDict_SetItemString(d,"wxSTC_START", PyInt_FromLong((long) 2000)); | |
10949 | PyDict_SetItemString(d,"wxSTC_OPTIONAL_START", PyInt_FromLong((long) 3000)); | |
10950 | PyDict_SetItemString(d,"wxSTC_LEXER_START", PyInt_FromLong((long) 4000)); | |
10951 | PyDict_SetItemString(d,"wxSTC_CMD_REDO", PyInt_FromLong((long) 2011)); | |
10952 | PyDict_SetItemString(d,"wxSTC_CMD_SELECTALL", PyInt_FromLong((long) 2013)); | |
10953 | PyDict_SetItemString(d,"wxSTC_WS_INVISIBLE", PyInt_FromLong((long) 0)); | |
10954 | PyDict_SetItemString(d,"wxSTC_WS_VISIBLEALWAYS", PyInt_FromLong((long) 1)); | |
10955 | PyDict_SetItemString(d,"wxSTC_WS_VISIBLEAFTERINDENT", PyInt_FromLong((long) 2)); | |
10956 | PyDict_SetItemString(d,"wxSTC_EOL_CRLF", PyInt_FromLong((long) 0)); | |
10957 | PyDict_SetItemString(d,"wxSTC_EOL_CR", PyInt_FromLong((long) 1)); | |
10958 | PyDict_SetItemString(d,"wxSTC_EOL_LF", PyInt_FromLong((long) 2)); | |
10959 | PyDict_SetItemString(d,"wxSTC_CP_UTF8", PyInt_FromLong((long) 65001)); | |
10960 | PyDict_SetItemString(d,"wxSTC_MARKER_MAX", PyInt_FromLong((long) 31)); | |
10961 | PyDict_SetItemString(d,"wxSTC_MARK_CIRCLE", PyInt_FromLong((long) 0)); | |
10962 | PyDict_SetItemString(d,"wxSTC_MARK_ROUNDRECT", PyInt_FromLong((long) 1)); | |
10963 | PyDict_SetItemString(d,"wxSTC_MARK_ARROW", PyInt_FromLong((long) 2)); | |
10964 | PyDict_SetItemString(d,"wxSTC_MARK_SMALLRECT", PyInt_FromLong((long) 3)); | |
10965 | PyDict_SetItemString(d,"wxSTC_MARK_SHORTARROW", PyInt_FromLong((long) 4)); | |
10966 | PyDict_SetItemString(d,"wxSTC_MARK_EMPTY", PyInt_FromLong((long) 5)); | |
10967 | PyDict_SetItemString(d,"wxSTC_MARK_ARROWDOWN", PyInt_FromLong((long) 6)); | |
10968 | PyDict_SetItemString(d,"wxSTC_MARK_MINUS", PyInt_FromLong((long) 7)); | |
10969 | PyDict_SetItemString(d,"wxSTC_MARK_PLUS", PyInt_FromLong((long) 8)); | |
10970 | PyDict_SetItemString(d,"wxSTC_MARK_VLINE", PyInt_FromLong((long) 9)); | |
10971 | PyDict_SetItemString(d,"wxSTC_MARK_LCORNER", PyInt_FromLong((long) 10)); | |
10972 | PyDict_SetItemString(d,"wxSTC_MARK_TCORNER", PyInt_FromLong((long) 11)); | |
10973 | PyDict_SetItemString(d,"wxSTC_MARK_BOXPLUS", PyInt_FromLong((long) 12)); | |
10974 | PyDict_SetItemString(d,"wxSTC_MARK_BOXPLUSCONNECTED", PyInt_FromLong((long) 13)); | |
10975 | PyDict_SetItemString(d,"wxSTC_MARK_BOXMINUS", PyInt_FromLong((long) 14)); | |
10976 | PyDict_SetItemString(d,"wxSTC_MARK_BOXMINUSCONNECTED", PyInt_FromLong((long) 15)); | |
10977 | PyDict_SetItemString(d,"wxSTC_MARK_LCORNERCURVE", PyInt_FromLong((long) 16)); | |
10978 | PyDict_SetItemString(d,"wxSTC_MARK_TCORNERCURVE", PyInt_FromLong((long) 17)); | |
10979 | PyDict_SetItemString(d,"wxSTC_MARK_CIRCLEPLUS", PyInt_FromLong((long) 18)); | |
10980 | PyDict_SetItemString(d,"wxSTC_MARK_CIRCLEPLUSCONNECTED", PyInt_FromLong((long) 19)); | |
10981 | PyDict_SetItemString(d,"wxSTC_MARK_CIRCLEMINUS", PyInt_FromLong((long) 20)); | |
10982 | PyDict_SetItemString(d,"wxSTC_MARK_CIRCLEMINUSCONNECTED", PyInt_FromLong((long) 21)); | |
a884bee5 | 10983 | PyDict_SetItemString(d,"wxSTC_MARK_BACKGROUND", PyInt_FromLong((long) 22)); |
89c8ea73 RD |
10984 | PyDict_SetItemString(d,"wxSTC_MARK_CHARACTER", PyInt_FromLong((long) 10000)); |
10985 | PyDict_SetItemString(d,"wxSTC_MARKNUM_FOLDEREND", PyInt_FromLong((long) 25)); | |
10986 | PyDict_SetItemString(d,"wxSTC_MARKNUM_FOLDEROPENMID", PyInt_FromLong((long) 26)); | |
10987 | PyDict_SetItemString(d,"wxSTC_MARKNUM_FOLDERMIDTAIL", PyInt_FromLong((long) 27)); | |
10988 | PyDict_SetItemString(d,"wxSTC_MARKNUM_FOLDERTAIL", PyInt_FromLong((long) 28)); | |
10989 | PyDict_SetItemString(d,"wxSTC_MARKNUM_FOLDERSUB", PyInt_FromLong((long) 29)); | |
10990 | PyDict_SetItemString(d,"wxSTC_MARKNUM_FOLDER", PyInt_FromLong((long) 30)); | |
10991 | PyDict_SetItemString(d,"wxSTC_MARKNUM_FOLDEROPEN", PyInt_FromLong((long) 31)); | |
a884bee5 | 10992 | PyDict_SetItemString(d,"wxSTC_MASK_FOLDERS", PyInt_FromLong((long) 0xFE000000)); |
89c8ea73 RD |
10993 | PyDict_SetItemString(d,"wxSTC_MARGIN_SYMBOL", PyInt_FromLong((long) 0)); |
10994 | PyDict_SetItemString(d,"wxSTC_MARGIN_NUMBER", PyInt_FromLong((long) 1)); | |
10995 | PyDict_SetItemString(d,"wxSTC_STYLE_DEFAULT", PyInt_FromLong((long) 32)); | |
10996 | PyDict_SetItemString(d,"wxSTC_STYLE_LINENUMBER", PyInt_FromLong((long) 33)); | |
10997 | PyDict_SetItemString(d,"wxSTC_STYLE_BRACELIGHT", PyInt_FromLong((long) 34)); | |
10998 | PyDict_SetItemString(d,"wxSTC_STYLE_BRACEBAD", PyInt_FromLong((long) 35)); | |
10999 | PyDict_SetItemString(d,"wxSTC_STYLE_CONTROLCHAR", PyInt_FromLong((long) 36)); | |
11000 | PyDict_SetItemString(d,"wxSTC_STYLE_INDENTGUIDE", PyInt_FromLong((long) 37)); | |
11001 | PyDict_SetItemString(d,"wxSTC_STYLE_LASTPREDEFINED", PyInt_FromLong((long) 39)); | |
11002 | PyDict_SetItemString(d,"wxSTC_STYLE_MAX", PyInt_FromLong((long) 127)); | |
11003 | PyDict_SetItemString(d,"wxSTC_CHARSET_ANSI", PyInt_FromLong((long) 0)); | |
11004 | PyDict_SetItemString(d,"wxSTC_CHARSET_DEFAULT", PyInt_FromLong((long) 1)); | |
11005 | PyDict_SetItemString(d,"wxSTC_CHARSET_BALTIC", PyInt_FromLong((long) 186)); | |
11006 | PyDict_SetItemString(d,"wxSTC_CHARSET_CHINESEBIG5", PyInt_FromLong((long) 136)); | |
11007 | PyDict_SetItemString(d,"wxSTC_CHARSET_EASTEUROPE", PyInt_FromLong((long) 238)); | |
11008 | PyDict_SetItemString(d,"wxSTC_CHARSET_GB2312", PyInt_FromLong((long) 134)); | |
11009 | PyDict_SetItemString(d,"wxSTC_CHARSET_GREEK", PyInt_FromLong((long) 161)); | |
11010 | PyDict_SetItemString(d,"wxSTC_CHARSET_HANGUL", PyInt_FromLong((long) 129)); | |
11011 | PyDict_SetItemString(d,"wxSTC_CHARSET_MAC", PyInt_FromLong((long) 77)); | |
11012 | PyDict_SetItemString(d,"wxSTC_CHARSET_OEM", PyInt_FromLong((long) 255)); | |
11013 | PyDict_SetItemString(d,"wxSTC_CHARSET_RUSSIAN", PyInt_FromLong((long) 204)); | |
11014 | PyDict_SetItemString(d,"wxSTC_CHARSET_SHIFTJIS", PyInt_FromLong((long) 128)); | |
11015 | PyDict_SetItemString(d,"wxSTC_CHARSET_SYMBOL", PyInt_FromLong((long) 2)); | |
11016 | PyDict_SetItemString(d,"wxSTC_CHARSET_TURKISH", PyInt_FromLong((long) 162)); | |
11017 | PyDict_SetItemString(d,"wxSTC_CHARSET_JOHAB", PyInt_FromLong((long) 130)); | |
11018 | PyDict_SetItemString(d,"wxSTC_CHARSET_HEBREW", PyInt_FromLong((long) 177)); | |
11019 | PyDict_SetItemString(d,"wxSTC_CHARSET_ARABIC", PyInt_FromLong((long) 178)); | |
11020 | PyDict_SetItemString(d,"wxSTC_CHARSET_VIETNAMESE", PyInt_FromLong((long) 163)); | |
11021 | PyDict_SetItemString(d,"wxSTC_CHARSET_THAI", PyInt_FromLong((long) 222)); | |
11022 | PyDict_SetItemString(d,"wxSTC_CASE_MIXED", PyInt_FromLong((long) 0)); | |
11023 | PyDict_SetItemString(d,"wxSTC_CASE_UPPER", PyInt_FromLong((long) 1)); | |
11024 | PyDict_SetItemString(d,"wxSTC_CASE_LOWER", PyInt_FromLong((long) 2)); | |
11025 | PyDict_SetItemString(d,"wxSTC_INDIC_MAX", PyInt_FromLong((long) 7)); | |
11026 | PyDict_SetItemString(d,"wxSTC_INDIC_PLAIN", PyInt_FromLong((long) 0)); | |
11027 | PyDict_SetItemString(d,"wxSTC_INDIC_SQUIGGLE", PyInt_FromLong((long) 1)); | |
11028 | PyDict_SetItemString(d,"wxSTC_INDIC_TT", PyInt_FromLong((long) 2)); | |
11029 | PyDict_SetItemString(d,"wxSTC_INDIC_DIAGONAL", PyInt_FromLong((long) 3)); | |
11030 | PyDict_SetItemString(d,"wxSTC_INDIC_STRIKE", PyInt_FromLong((long) 4)); | |
a884bee5 RD |
11031 | PyDict_SetItemString(d,"wxSTC_INDIC0_MASK", PyInt_FromLong((long) 0x20)); |
11032 | PyDict_SetItemString(d,"wxSTC_INDIC1_MASK", PyInt_FromLong((long) 0x40)); | |
11033 | PyDict_SetItemString(d,"wxSTC_INDIC2_MASK", PyInt_FromLong((long) 0x80)); | |
11034 | PyDict_SetItemString(d,"wxSTC_INDICS_MASK", PyInt_FromLong((long) 0xE0)); | |
89c8ea73 RD |
11035 | PyDict_SetItemString(d,"wxSTC_PRINT_NORMAL", PyInt_FromLong((long) 0)); |
11036 | PyDict_SetItemString(d,"wxSTC_PRINT_INVERTLIGHT", PyInt_FromLong((long) 1)); | |
11037 | PyDict_SetItemString(d,"wxSTC_PRINT_BLACKONWHITE", PyInt_FromLong((long) 2)); | |
11038 | PyDict_SetItemString(d,"wxSTC_PRINT_COLOURONWHITE", PyInt_FromLong((long) 3)); | |
11039 | PyDict_SetItemString(d,"wxSTC_PRINT_COLOURONWHITEDEFAULTBG", PyInt_FromLong((long) 4)); | |
11040 | PyDict_SetItemString(d,"wxSTC_FIND_WHOLEWORD", PyInt_FromLong((long) 2)); | |
11041 | PyDict_SetItemString(d,"wxSTC_FIND_MATCHCASE", PyInt_FromLong((long) 4)); | |
11042 | PyDict_SetItemString(d,"wxSTC_FIND_WORDSTART", PyInt_FromLong((long) 0x00100000)); | |
11043 | PyDict_SetItemString(d,"wxSTC_FIND_REGEXP", PyInt_FromLong((long) 0x00200000)); | |
11044 | PyDict_SetItemString(d,"wxSTC_CMD_UNDO", PyInt_FromLong((long) 2176)); | |
11045 | PyDict_SetItemString(d,"wxSTC_CMD_CUT", PyInt_FromLong((long) 2177)); | |
11046 | PyDict_SetItemString(d,"wxSTC_CMD_COPY", PyInt_FromLong((long) 2178)); | |
11047 | PyDict_SetItemString(d,"wxSTC_CMD_PASTE", PyInt_FromLong((long) 2179)); | |
11048 | PyDict_SetItemString(d,"wxSTC_FOLDLEVELBASE", PyInt_FromLong((long) 0x400)); | |
11049 | PyDict_SetItemString(d,"wxSTC_FOLDLEVELWHITEFLAG", PyInt_FromLong((long) 0x1000)); | |
11050 | PyDict_SetItemString(d,"wxSTC_FOLDLEVELHEADERFLAG", PyInt_FromLong((long) 0x2000)); | |
11051 | PyDict_SetItemString(d,"wxSTC_FOLDLEVELNUMBERMASK", PyInt_FromLong((long) 0x0FFF)); | |
11052 | PyDict_SetItemString(d,"wxSTC_TIME_FOREVER", PyInt_FromLong((long) 10000000)); | |
a884bee5 RD |
11053 | PyDict_SetItemString(d,"wxSTC_WRAP_NONE", PyInt_FromLong((long) 0)); |
11054 | PyDict_SetItemString(d,"wxSTC_WRAP_WORD", PyInt_FromLong((long) 1)); | |
11055 | PyDict_SetItemString(d,"wxSTC_CACHE_NONE", PyInt_FromLong((long) 0)); | |
11056 | PyDict_SetItemString(d,"wxSTC_CACHE_CARET", PyInt_FromLong((long) 1)); | |
11057 | PyDict_SetItemString(d,"wxSTC_CACHE_PAGE", PyInt_FromLong((long) 2)); | |
11058 | PyDict_SetItemString(d,"wxSTC_CACHE_DOCUMENT", PyInt_FromLong((long) 3)); | |
89c8ea73 RD |
11059 | PyDict_SetItemString(d,"wxSTC_CMD_LINEDOWN", PyInt_FromLong((long) 2300)); |
11060 | PyDict_SetItemString(d,"wxSTC_CMD_LINEDOWNEXTEND", PyInt_FromLong((long) 2301)); | |
11061 | PyDict_SetItemString(d,"wxSTC_CMD_LINEUP", PyInt_FromLong((long) 2302)); | |
11062 | PyDict_SetItemString(d,"wxSTC_CMD_LINEUPEXTEND", PyInt_FromLong((long) 2303)); | |
11063 | PyDict_SetItemString(d,"wxSTC_CMD_CHARLEFT", PyInt_FromLong((long) 2304)); | |
11064 | PyDict_SetItemString(d,"wxSTC_CMD_CHARLEFTEXTEND", PyInt_FromLong((long) 2305)); | |
11065 | PyDict_SetItemString(d,"wxSTC_CMD_CHARRIGHT", PyInt_FromLong((long) 2306)); | |
11066 | PyDict_SetItemString(d,"wxSTC_CMD_CHARRIGHTEXTEND", PyInt_FromLong((long) 2307)); | |
11067 | PyDict_SetItemString(d,"wxSTC_CMD_WORDLEFT", PyInt_FromLong((long) 2308)); | |
11068 | PyDict_SetItemString(d,"wxSTC_CMD_WORDLEFTEXTEND", PyInt_FromLong((long) 2309)); | |
11069 | PyDict_SetItemString(d,"wxSTC_CMD_WORDRIGHT", PyInt_FromLong((long) 2310)); | |
11070 | PyDict_SetItemString(d,"wxSTC_CMD_WORDRIGHTEXTEND", PyInt_FromLong((long) 2311)); | |
11071 | PyDict_SetItemString(d,"wxSTC_CMD_HOME", PyInt_FromLong((long) 2312)); | |
11072 | PyDict_SetItemString(d,"wxSTC_CMD_HOMEEXTEND", PyInt_FromLong((long) 2313)); | |
11073 | PyDict_SetItemString(d,"wxSTC_CMD_LINEEND", PyInt_FromLong((long) 2314)); | |
11074 | PyDict_SetItemString(d,"wxSTC_CMD_LINEENDEXTEND", PyInt_FromLong((long) 2315)); | |
11075 | PyDict_SetItemString(d,"wxSTC_CMD_DOCUMENTSTART", PyInt_FromLong((long) 2316)); | |
11076 | PyDict_SetItemString(d,"wxSTC_CMD_DOCUMENTSTARTEXTEND", PyInt_FromLong((long) 2317)); | |
11077 | PyDict_SetItemString(d,"wxSTC_CMD_DOCUMENTEND", PyInt_FromLong((long) 2318)); | |
11078 | PyDict_SetItemString(d,"wxSTC_CMD_DOCUMENTENDEXTEND", PyInt_FromLong((long) 2319)); | |
11079 | PyDict_SetItemString(d,"wxSTC_CMD_PAGEUP", PyInt_FromLong((long) 2320)); | |
11080 | PyDict_SetItemString(d,"wxSTC_CMD_PAGEUPEXTEND", PyInt_FromLong((long) 2321)); | |
11081 | PyDict_SetItemString(d,"wxSTC_CMD_PAGEDOWN", PyInt_FromLong((long) 2322)); | |
11082 | PyDict_SetItemString(d,"wxSTC_CMD_PAGEDOWNEXTEND", PyInt_FromLong((long) 2323)); | |
11083 | PyDict_SetItemString(d,"wxSTC_CMD_EDITTOGGLEOVERTYPE", PyInt_FromLong((long) 2324)); | |
11084 | PyDict_SetItemString(d,"wxSTC_CMD_CANCEL", PyInt_FromLong((long) 2325)); | |
11085 | PyDict_SetItemString(d,"wxSTC_CMD_DELETEBACK", PyInt_FromLong((long) 2326)); | |
11086 | PyDict_SetItemString(d,"wxSTC_CMD_TAB", PyInt_FromLong((long) 2327)); | |
11087 | PyDict_SetItemString(d,"wxSTC_CMD_BACKTAB", PyInt_FromLong((long) 2328)); | |
11088 | PyDict_SetItemString(d,"wxSTC_CMD_NEWLINE", PyInt_FromLong((long) 2329)); | |
11089 | PyDict_SetItemString(d,"wxSTC_CMD_FORMFEED", PyInt_FromLong((long) 2330)); | |
11090 | PyDict_SetItemString(d,"wxSTC_CMD_VCHOME", PyInt_FromLong((long) 2331)); | |
11091 | PyDict_SetItemString(d,"wxSTC_CMD_VCHOMEEXTEND", PyInt_FromLong((long) 2332)); | |
11092 | PyDict_SetItemString(d,"wxSTC_CMD_ZOOMIN", PyInt_FromLong((long) 2333)); | |
11093 | PyDict_SetItemString(d,"wxSTC_CMD_ZOOMOUT", PyInt_FromLong((long) 2334)); | |
11094 | PyDict_SetItemString(d,"wxSTC_CMD_DELWORDLEFT", PyInt_FromLong((long) 2335)); | |
11095 | PyDict_SetItemString(d,"wxSTC_CMD_DELWORDRIGHT", PyInt_FromLong((long) 2336)); | |
11096 | PyDict_SetItemString(d,"wxSTC_CMD_LINECUT", PyInt_FromLong((long) 2337)); | |
11097 | PyDict_SetItemString(d,"wxSTC_CMD_LINEDELETE", PyInt_FromLong((long) 2338)); | |
11098 | PyDict_SetItemString(d,"wxSTC_CMD_LINETRANSPOSE", PyInt_FromLong((long) 2339)); | |
11099 | PyDict_SetItemString(d,"wxSTC_CMD_LOWERCASE", PyInt_FromLong((long) 2340)); | |
11100 | PyDict_SetItemString(d,"wxSTC_CMD_UPPERCASE", PyInt_FromLong((long) 2341)); | |
11101 | PyDict_SetItemString(d,"wxSTC_CMD_LINESCROLLDOWN", PyInt_FromLong((long) 2342)); | |
11102 | PyDict_SetItemString(d,"wxSTC_CMD_LINESCROLLUP", PyInt_FromLong((long) 2343)); | |
a884bee5 | 11103 | PyDict_SetItemString(d,"wxSTC_CMD_DELETEBACKNOTLINE", PyInt_FromLong((long) 2344)); |
89c8ea73 RD |
11104 | PyDict_SetItemString(d,"wxSTC_EDGE_NONE", PyInt_FromLong((long) 0)); |
11105 | PyDict_SetItemString(d,"wxSTC_EDGE_LINE", PyInt_FromLong((long) 1)); | |
11106 | PyDict_SetItemString(d,"wxSTC_EDGE_BACKGROUND", PyInt_FromLong((long) 2)); | |
11107 | PyDict_SetItemString(d,"wxSTC_CARET_SLOP", PyInt_FromLong((long) 0x01)); | |
11108 | PyDict_SetItemString(d,"wxSTC_CARET_CENTER", PyInt_FromLong((long) 0x02)); | |
11109 | PyDict_SetItemString(d,"wxSTC_CARET_STRICT", PyInt_FromLong((long) 0x04)); | |
11110 | PyDict_SetItemString(d,"wxSTC_CARET_XEVEN", PyInt_FromLong((long) 0x08)); | |
11111 | PyDict_SetItemString(d,"wxSTC_CARET_XJUMPS", PyInt_FromLong((long) 0x10)); | |
11112 | PyDict_SetItemString(d,"wxSTC_CURSORNORMAL", PyInt_FromLong((long) -1)); | |
11113 | PyDict_SetItemString(d,"wxSTC_CURSORWAIT", PyInt_FromLong((long) 3)); | |
11114 | PyDict_SetItemString(d,"wxSTC_VISIBLE_SLOP", PyInt_FromLong((long) 0x01)); | |
11115 | PyDict_SetItemString(d,"wxSTC_VISIBLE_STRICT", PyInt_FromLong((long) 0x04)); | |
11116 | PyDict_SetItemString(d,"wxSTC_MOD_INSERTTEXT", PyInt_FromLong((long) 0x1)); | |
11117 | PyDict_SetItemString(d,"wxSTC_MOD_DELETETEXT", PyInt_FromLong((long) 0x2)); | |
11118 | PyDict_SetItemString(d,"wxSTC_MOD_CHANGESTYLE", PyInt_FromLong((long) 0x4)); | |
11119 | PyDict_SetItemString(d,"wxSTC_MOD_CHANGEFOLD", PyInt_FromLong((long) 0x8)); | |
11120 | PyDict_SetItemString(d,"wxSTC_PERFORMED_USER", PyInt_FromLong((long) 0x10)); | |
11121 | PyDict_SetItemString(d,"wxSTC_PERFORMED_UNDO", PyInt_FromLong((long) 0x20)); | |
11122 | PyDict_SetItemString(d,"wxSTC_PERFORMED_REDO", PyInt_FromLong((long) 0x40)); | |
11123 | PyDict_SetItemString(d,"wxSTC_LASTSTEPINUNDOREDO", PyInt_FromLong((long) 0x100)); | |
11124 | PyDict_SetItemString(d,"wxSTC_MOD_CHANGEMARKER", PyInt_FromLong((long) 0x200)); | |
11125 | PyDict_SetItemString(d,"wxSTC_MOD_BEFOREINSERT", PyInt_FromLong((long) 0x400)); | |
11126 | PyDict_SetItemString(d,"wxSTC_MOD_BEFOREDELETE", PyInt_FromLong((long) 0x800)); | |
11127 | PyDict_SetItemString(d,"wxSTC_MODEVENTMASKALL", PyInt_FromLong((long) 0xF77)); | |
11128 | PyDict_SetItemString(d,"wxSTC_KEY_DOWN", PyInt_FromLong((long) 300)); | |
11129 | PyDict_SetItemString(d,"wxSTC_KEY_UP", PyInt_FromLong((long) 301)); | |
11130 | PyDict_SetItemString(d,"wxSTC_KEY_LEFT", PyInt_FromLong((long) 302)); | |
11131 | PyDict_SetItemString(d,"wxSTC_KEY_RIGHT", PyInt_FromLong((long) 303)); | |
11132 | PyDict_SetItemString(d,"wxSTC_KEY_HOME", PyInt_FromLong((long) 304)); | |
11133 | PyDict_SetItemString(d,"wxSTC_KEY_END", PyInt_FromLong((long) 305)); | |
11134 | PyDict_SetItemString(d,"wxSTC_KEY_PRIOR", PyInt_FromLong((long) 306)); | |
11135 | PyDict_SetItemString(d,"wxSTC_KEY_NEXT", PyInt_FromLong((long) 307)); | |
11136 | PyDict_SetItemString(d,"wxSTC_KEY_DELETE", PyInt_FromLong((long) 308)); | |
11137 | PyDict_SetItemString(d,"wxSTC_KEY_INSERT", PyInt_FromLong((long) 309)); | |
11138 | PyDict_SetItemString(d,"wxSTC_KEY_ESCAPE", PyInt_FromLong((long) 7)); | |
11139 | PyDict_SetItemString(d,"wxSTC_KEY_BACK", PyInt_FromLong((long) 8)); | |
11140 | PyDict_SetItemString(d,"wxSTC_KEY_TAB", PyInt_FromLong((long) 9)); | |
11141 | PyDict_SetItemString(d,"wxSTC_KEY_RETURN", PyInt_FromLong((long) 13)); | |
11142 | PyDict_SetItemString(d,"wxSTC_KEY_ADD", PyInt_FromLong((long) 310)); | |
11143 | PyDict_SetItemString(d,"wxSTC_KEY_SUBTRACT", PyInt_FromLong((long) 311)); | |
11144 | PyDict_SetItemString(d,"wxSTC_KEY_DIVIDE", PyInt_FromLong((long) 312)); | |
11145 | PyDict_SetItemString(d,"wxSTC_SCMOD_SHIFT", PyInt_FromLong((long) 1)); | |
11146 | PyDict_SetItemString(d,"wxSTC_SCMOD_CTRL", PyInt_FromLong((long) 2)); | |
11147 | PyDict_SetItemString(d,"wxSTC_SCMOD_ALT", PyInt_FromLong((long) 4)); | |
11148 | PyDict_SetItemString(d,"wxSTC_LEX_CONTAINER", PyInt_FromLong((long) 0)); | |
11149 | PyDict_SetItemString(d,"wxSTC_LEX_NULL", PyInt_FromLong((long) 1)); | |
11150 | PyDict_SetItemString(d,"wxSTC_LEX_PYTHON", PyInt_FromLong((long) 2)); | |
11151 | PyDict_SetItemString(d,"wxSTC_LEX_CPP", PyInt_FromLong((long) 3)); | |
11152 | PyDict_SetItemString(d,"wxSTC_LEX_HTML", PyInt_FromLong((long) 4)); | |
11153 | PyDict_SetItemString(d,"wxSTC_LEX_XML", PyInt_FromLong((long) 5)); | |
11154 | PyDict_SetItemString(d,"wxSTC_LEX_PERL", PyInt_FromLong((long) 6)); | |
11155 | PyDict_SetItemString(d,"wxSTC_LEX_SQL", PyInt_FromLong((long) 7)); | |
11156 | PyDict_SetItemString(d,"wxSTC_LEX_VB", PyInt_FromLong((long) 8)); | |
11157 | PyDict_SetItemString(d,"wxSTC_LEX_PROPERTIES", PyInt_FromLong((long) 9)); | |
11158 | PyDict_SetItemString(d,"wxSTC_LEX_ERRORLIST", PyInt_FromLong((long) 10)); | |
11159 | PyDict_SetItemString(d,"wxSTC_LEX_MAKEFILE", PyInt_FromLong((long) 11)); | |
11160 | PyDict_SetItemString(d,"wxSTC_LEX_BATCH", PyInt_FromLong((long) 12)); | |
11161 | PyDict_SetItemString(d,"wxSTC_LEX_XCODE", PyInt_FromLong((long) 13)); | |
11162 | PyDict_SetItemString(d,"wxSTC_LEX_LATEX", PyInt_FromLong((long) 14)); | |
11163 | PyDict_SetItemString(d,"wxSTC_LEX_LUA", PyInt_FromLong((long) 15)); | |
11164 | PyDict_SetItemString(d,"wxSTC_LEX_DIFF", PyInt_FromLong((long) 16)); | |
11165 | PyDict_SetItemString(d,"wxSTC_LEX_CONF", PyInt_FromLong((long) 17)); | |
11166 | PyDict_SetItemString(d,"wxSTC_LEX_PASCAL", PyInt_FromLong((long) 18)); | |
11167 | PyDict_SetItemString(d,"wxSTC_LEX_AVE", PyInt_FromLong((long) 19)); | |
11168 | PyDict_SetItemString(d,"wxSTC_LEX_ADA", PyInt_FromLong((long) 20)); | |
11169 | PyDict_SetItemString(d,"wxSTC_LEX_LISP", PyInt_FromLong((long) 21)); | |
11170 | PyDict_SetItemString(d,"wxSTC_LEX_RUBY", PyInt_FromLong((long) 22)); | |
11171 | PyDict_SetItemString(d,"wxSTC_LEX_EIFFEL", PyInt_FromLong((long) 23)); | |
11172 | PyDict_SetItemString(d,"wxSTC_LEX_EIFFELKW", PyInt_FromLong((long) 24)); | |
11173 | PyDict_SetItemString(d,"wxSTC_LEX_TCL", PyInt_FromLong((long) 25)); | |
11174 | PyDict_SetItemString(d,"wxSTC_LEX_NNCRONTAB", PyInt_FromLong((long) 26)); | |
a884bee5 RD |
11175 | PyDict_SetItemString(d,"wxSTC_LEX_BULLANT", PyInt_FromLong((long) 27)); |
11176 | PyDict_SetItemString(d,"wxSTC_LEX_VBSCRIPT", PyInt_FromLong((long) 28)); | |
11177 | PyDict_SetItemString(d,"wxSTC_LEX_ASP", PyInt_FromLong((long) 29)); | |
11178 | PyDict_SetItemString(d,"wxSTC_LEX_PHP", PyInt_FromLong((long) 30)); | |
11179 | PyDict_SetItemString(d,"wxSTC_LEX_BAAN", PyInt_FromLong((long) 31)); | |
11180 | PyDict_SetItemString(d,"wxSTC_LEX_MATLAB", PyInt_FromLong((long) 32)); | |
89c8ea73 RD |
11181 | PyDict_SetItemString(d,"wxSTC_LEX_AUTOMATIC", PyInt_FromLong((long) 1000)); |
11182 | PyDict_SetItemString(d,"wxSTC_P_DEFAULT", PyInt_FromLong((long) 0)); | |
11183 | PyDict_SetItemString(d,"wxSTC_P_COMMENTLINE", PyInt_FromLong((long) 1)); | |
11184 | PyDict_SetItemString(d,"wxSTC_P_NUMBER", PyInt_FromLong((long) 2)); | |
11185 | PyDict_SetItemString(d,"wxSTC_P_STRING", PyInt_FromLong((long) 3)); | |
11186 | PyDict_SetItemString(d,"wxSTC_P_CHARACTER", PyInt_FromLong((long) 4)); | |
11187 | PyDict_SetItemString(d,"wxSTC_P_WORD", PyInt_FromLong((long) 5)); | |
11188 | PyDict_SetItemString(d,"wxSTC_P_TRIPLE", PyInt_FromLong((long) 6)); | |
11189 | PyDict_SetItemString(d,"wxSTC_P_TRIPLEDOUBLE", PyInt_FromLong((long) 7)); | |
11190 | PyDict_SetItemString(d,"wxSTC_P_CLASSNAME", PyInt_FromLong((long) 8)); | |
11191 | PyDict_SetItemString(d,"wxSTC_P_DEFNAME", PyInt_FromLong((long) 9)); | |
11192 | PyDict_SetItemString(d,"wxSTC_P_OPERATOR", PyInt_FromLong((long) 10)); | |
11193 | PyDict_SetItemString(d,"wxSTC_P_IDENTIFIER", PyInt_FromLong((long) 11)); | |
11194 | PyDict_SetItemString(d,"wxSTC_P_COMMENTBLOCK", PyInt_FromLong((long) 12)); | |
11195 | PyDict_SetItemString(d,"wxSTC_P_STRINGEOL", PyInt_FromLong((long) 13)); | |
11196 | PyDict_SetItemString(d,"wxSTC_C_DEFAULT", PyInt_FromLong((long) 0)); | |
11197 | PyDict_SetItemString(d,"wxSTC_C_COMMENT", PyInt_FromLong((long) 1)); | |
11198 | PyDict_SetItemString(d,"wxSTC_C_COMMENTLINE", PyInt_FromLong((long) 2)); | |
11199 | PyDict_SetItemString(d,"wxSTC_C_COMMENTDOC", PyInt_FromLong((long) 3)); | |
11200 | PyDict_SetItemString(d,"wxSTC_C_NUMBER", PyInt_FromLong((long) 4)); | |
11201 | PyDict_SetItemString(d,"wxSTC_C_WORD", PyInt_FromLong((long) 5)); | |
11202 | PyDict_SetItemString(d,"wxSTC_C_STRING", PyInt_FromLong((long) 6)); | |
11203 | PyDict_SetItemString(d,"wxSTC_C_CHARACTER", PyInt_FromLong((long) 7)); | |
11204 | PyDict_SetItemString(d,"wxSTC_C_UUID", PyInt_FromLong((long) 8)); | |
11205 | PyDict_SetItemString(d,"wxSTC_C_PREPROCESSOR", PyInt_FromLong((long) 9)); | |
11206 | PyDict_SetItemString(d,"wxSTC_C_OPERATOR", PyInt_FromLong((long) 10)); | |
11207 | PyDict_SetItemString(d,"wxSTC_C_IDENTIFIER", PyInt_FromLong((long) 11)); | |
11208 | PyDict_SetItemString(d,"wxSTC_C_STRINGEOL", PyInt_FromLong((long) 12)); | |
11209 | PyDict_SetItemString(d,"wxSTC_C_VERBATIM", PyInt_FromLong((long) 13)); | |
11210 | PyDict_SetItemString(d,"wxSTC_C_REGEX", PyInt_FromLong((long) 14)); | |
11211 | PyDict_SetItemString(d,"wxSTC_C_COMMENTLINEDOC", PyInt_FromLong((long) 15)); | |
11212 | PyDict_SetItemString(d,"wxSTC_C_WORD2", PyInt_FromLong((long) 16)); | |
11213 | PyDict_SetItemString(d,"wxSTC_C_COMMENTDOCKEYWORD", PyInt_FromLong((long) 17)); | |
11214 | PyDict_SetItemString(d,"wxSTC_C_COMMENTDOCKEYWORDERROR", PyInt_FromLong((long) 18)); | |
a884bee5 RD |
11215 | PyDict_SetItemString(d,"wxSTC_B_DEFAULT", PyInt_FromLong((long) 0)); |
11216 | PyDict_SetItemString(d,"wxSTC_B_COMMENT", PyInt_FromLong((long) 1)); | |
11217 | PyDict_SetItemString(d,"wxSTC_B_NUMBER", PyInt_FromLong((long) 2)); | |
11218 | PyDict_SetItemString(d,"wxSTC_B_KEYWORD", PyInt_FromLong((long) 3)); | |
11219 | PyDict_SetItemString(d,"wxSTC_B_STRING", PyInt_FromLong((long) 4)); | |
11220 | PyDict_SetItemString(d,"wxSTC_B_PREPROCESSOR", PyInt_FromLong((long) 5)); | |
11221 | PyDict_SetItemString(d,"wxSTC_B_OPERATOR", PyInt_FromLong((long) 6)); | |
11222 | PyDict_SetItemString(d,"wxSTC_B_IDENTIFIER", PyInt_FromLong((long) 7)); | |
11223 | PyDict_SetItemString(d,"wxSTC_B_DATE", PyInt_FromLong((long) 8)); | |
89c8ea73 RD |
11224 | PyDict_SetItemString(d,"wxSTC_H_DEFAULT", PyInt_FromLong((long) 0)); |
11225 | PyDict_SetItemString(d,"wxSTC_H_TAG", PyInt_FromLong((long) 1)); | |
11226 | PyDict_SetItemString(d,"wxSTC_H_TAGUNKNOWN", PyInt_FromLong((long) 2)); | |
11227 | PyDict_SetItemString(d,"wxSTC_H_ATTRIBUTE", PyInt_FromLong((long) 3)); | |
11228 | PyDict_SetItemString(d,"wxSTC_H_ATTRIBUTEUNKNOWN", PyInt_FromLong((long) 4)); | |
11229 | PyDict_SetItemString(d,"wxSTC_H_NUMBER", PyInt_FromLong((long) 5)); | |
11230 | PyDict_SetItemString(d,"wxSTC_H_DOUBLESTRING", PyInt_FromLong((long) 6)); | |
11231 | PyDict_SetItemString(d,"wxSTC_H_SINGLESTRING", PyInt_FromLong((long) 7)); | |
11232 | PyDict_SetItemString(d,"wxSTC_H_OTHER", PyInt_FromLong((long) 8)); | |
11233 | PyDict_SetItemString(d,"wxSTC_H_COMMENT", PyInt_FromLong((long) 9)); | |
11234 | PyDict_SetItemString(d,"wxSTC_H_ENTITY", PyInt_FromLong((long) 10)); | |
11235 | PyDict_SetItemString(d,"wxSTC_H_TAGEND", PyInt_FromLong((long) 11)); | |
11236 | PyDict_SetItemString(d,"wxSTC_H_XMLSTART", PyInt_FromLong((long) 12)); | |
11237 | PyDict_SetItemString(d,"wxSTC_H_XMLEND", PyInt_FromLong((long) 13)); | |
11238 | PyDict_SetItemString(d,"wxSTC_H_SCRIPT", PyInt_FromLong((long) 14)); | |
11239 | PyDict_SetItemString(d,"wxSTC_H_ASP", PyInt_FromLong((long) 15)); | |
11240 | PyDict_SetItemString(d,"wxSTC_H_ASPAT", PyInt_FromLong((long) 16)); | |
11241 | PyDict_SetItemString(d,"wxSTC_H_CDATA", PyInt_FromLong((long) 17)); | |
11242 | PyDict_SetItemString(d,"wxSTC_H_QUESTION", PyInt_FromLong((long) 18)); | |
11243 | PyDict_SetItemString(d,"wxSTC_H_VALUE", PyInt_FromLong((long) 19)); | |
11244 | PyDict_SetItemString(d,"wxSTC_H_XCCOMMENT", PyInt_FromLong((long) 20)); | |
11245 | PyDict_SetItemString(d,"wxSTC_H_SGML_DEFAULT", PyInt_FromLong((long) 21)); | |
11246 | PyDict_SetItemString(d,"wxSTC_H_SGML_COMMAND", PyInt_FromLong((long) 22)); | |
11247 | PyDict_SetItemString(d,"wxSTC_H_SGML_1ST_PARAM", PyInt_FromLong((long) 23)); | |
11248 | PyDict_SetItemString(d,"wxSTC_H_SGML_DOUBLESTRING", PyInt_FromLong((long) 24)); | |
11249 | PyDict_SetItemString(d,"wxSTC_H_SGML_SIMPLESTRING", PyInt_FromLong((long) 25)); | |
11250 | PyDict_SetItemString(d,"wxSTC_H_SGML_ERROR", PyInt_FromLong((long) 26)); | |
11251 | PyDict_SetItemString(d,"wxSTC_H_SGML_SPECIAL", PyInt_FromLong((long) 27)); | |
11252 | PyDict_SetItemString(d,"wxSTC_H_SGML_ENTITY", PyInt_FromLong((long) 28)); | |
11253 | PyDict_SetItemString(d,"wxSTC_H_SGML_COMMENT", PyInt_FromLong((long) 29)); | |
11254 | PyDict_SetItemString(d,"wxSTC_H_SGML_1ST_PARAM_COMMENT", PyInt_FromLong((long) 30)); | |
11255 | PyDict_SetItemString(d,"wxSTC_H_SGML_BLOCK_DEFAULT", PyInt_FromLong((long) 31)); | |
11256 | PyDict_SetItemString(d,"wxSTC_HJ_START", PyInt_FromLong((long) 40)); | |
11257 | PyDict_SetItemString(d,"wxSTC_HJ_DEFAULT", PyInt_FromLong((long) 41)); | |
11258 | PyDict_SetItemString(d,"wxSTC_HJ_COMMENT", PyInt_FromLong((long) 42)); | |
11259 | PyDict_SetItemString(d,"wxSTC_HJ_COMMENTLINE", PyInt_FromLong((long) 43)); | |
11260 | PyDict_SetItemString(d,"wxSTC_HJ_COMMENTDOC", PyInt_FromLong((long) 44)); | |
11261 | PyDict_SetItemString(d,"wxSTC_HJ_NUMBER", PyInt_FromLong((long) 45)); | |
11262 | PyDict_SetItemString(d,"wxSTC_HJ_WORD", PyInt_FromLong((long) 46)); | |
11263 | PyDict_SetItemString(d,"wxSTC_HJ_KEYWORD", PyInt_FromLong((long) 47)); | |
11264 | PyDict_SetItemString(d,"wxSTC_HJ_DOUBLESTRING", PyInt_FromLong((long) 48)); | |
11265 | PyDict_SetItemString(d,"wxSTC_HJ_SINGLESTRING", PyInt_FromLong((long) 49)); | |
11266 | PyDict_SetItemString(d,"wxSTC_HJ_SYMBOLS", PyInt_FromLong((long) 50)); | |
11267 | PyDict_SetItemString(d,"wxSTC_HJ_STRINGEOL", PyInt_FromLong((long) 51)); | |
11268 | PyDict_SetItemString(d,"wxSTC_HJ_REGEX", PyInt_FromLong((long) 52)); | |
11269 | PyDict_SetItemString(d,"wxSTC_HJA_START", PyInt_FromLong((long) 55)); | |
11270 | PyDict_SetItemString(d,"wxSTC_HJA_DEFAULT", PyInt_FromLong((long) 56)); | |
11271 | PyDict_SetItemString(d,"wxSTC_HJA_COMMENT", PyInt_FromLong((long) 57)); | |
11272 | PyDict_SetItemString(d,"wxSTC_HJA_COMMENTLINE", PyInt_FromLong((long) 58)); | |
11273 | PyDict_SetItemString(d,"wxSTC_HJA_COMMENTDOC", PyInt_FromLong((long) 59)); | |
11274 | PyDict_SetItemString(d,"wxSTC_HJA_NUMBER", PyInt_FromLong((long) 60)); | |
11275 | PyDict_SetItemString(d,"wxSTC_HJA_WORD", PyInt_FromLong((long) 61)); | |
11276 | PyDict_SetItemString(d,"wxSTC_HJA_KEYWORD", PyInt_FromLong((long) 62)); | |
11277 | PyDict_SetItemString(d,"wxSTC_HJA_DOUBLESTRING", PyInt_FromLong((long) 63)); | |
11278 | PyDict_SetItemString(d,"wxSTC_HJA_SINGLESTRING", PyInt_FromLong((long) 64)); | |
11279 | PyDict_SetItemString(d,"wxSTC_HJA_SYMBOLS", PyInt_FromLong((long) 65)); | |
11280 | PyDict_SetItemString(d,"wxSTC_HJA_STRINGEOL", PyInt_FromLong((long) 66)); | |
11281 | PyDict_SetItemString(d,"wxSTC_HJA_REGEX", PyInt_FromLong((long) 67)); | |
11282 | PyDict_SetItemString(d,"wxSTC_HB_START", PyInt_FromLong((long) 70)); | |
11283 | PyDict_SetItemString(d,"wxSTC_HB_DEFAULT", PyInt_FromLong((long) 71)); | |
11284 | PyDict_SetItemString(d,"wxSTC_HB_COMMENTLINE", PyInt_FromLong((long) 72)); | |
11285 | PyDict_SetItemString(d,"wxSTC_HB_NUMBER", PyInt_FromLong((long) 73)); | |
11286 | PyDict_SetItemString(d,"wxSTC_HB_WORD", PyInt_FromLong((long) 74)); | |
11287 | PyDict_SetItemString(d,"wxSTC_HB_STRING", PyInt_FromLong((long) 75)); | |
11288 | PyDict_SetItemString(d,"wxSTC_HB_IDENTIFIER", PyInt_FromLong((long) 76)); | |
11289 | PyDict_SetItemString(d,"wxSTC_HB_STRINGEOL", PyInt_FromLong((long) 77)); | |
11290 | PyDict_SetItemString(d,"wxSTC_HBA_START", PyInt_FromLong((long) 80)); | |
11291 | PyDict_SetItemString(d,"wxSTC_HBA_DEFAULT", PyInt_FromLong((long) 81)); | |
11292 | PyDict_SetItemString(d,"wxSTC_HBA_COMMENTLINE", PyInt_FromLong((long) 82)); | |
11293 | PyDict_SetItemString(d,"wxSTC_HBA_NUMBER", PyInt_FromLong((long) 83)); | |
11294 | PyDict_SetItemString(d,"wxSTC_HBA_WORD", PyInt_FromLong((long) 84)); | |
11295 | PyDict_SetItemString(d,"wxSTC_HBA_STRING", PyInt_FromLong((long) 85)); | |
11296 | PyDict_SetItemString(d,"wxSTC_HBA_IDENTIFIER", PyInt_FromLong((long) 86)); | |
11297 | PyDict_SetItemString(d,"wxSTC_HBA_STRINGEOL", PyInt_FromLong((long) 87)); | |
11298 | PyDict_SetItemString(d,"wxSTC_HP_START", PyInt_FromLong((long) 90)); | |
11299 | PyDict_SetItemString(d,"wxSTC_HP_DEFAULT", PyInt_FromLong((long) 91)); | |
11300 | PyDict_SetItemString(d,"wxSTC_HP_COMMENTLINE", PyInt_FromLong((long) 92)); | |
11301 | PyDict_SetItemString(d,"wxSTC_HP_NUMBER", PyInt_FromLong((long) 93)); | |
11302 | PyDict_SetItemString(d,"wxSTC_HP_STRING", PyInt_FromLong((long) 94)); | |
11303 | PyDict_SetItemString(d,"wxSTC_HP_CHARACTER", PyInt_FromLong((long) 95)); | |
11304 | PyDict_SetItemString(d,"wxSTC_HP_WORD", PyInt_FromLong((long) 96)); | |
11305 | PyDict_SetItemString(d,"wxSTC_HP_TRIPLE", PyInt_FromLong((long) 97)); | |
11306 | PyDict_SetItemString(d,"wxSTC_HP_TRIPLEDOUBLE", PyInt_FromLong((long) 98)); | |
11307 | PyDict_SetItemString(d,"wxSTC_HP_CLASSNAME", PyInt_FromLong((long) 99)); | |
11308 | PyDict_SetItemString(d,"wxSTC_HP_DEFNAME", PyInt_FromLong((long) 100)); | |
11309 | PyDict_SetItemString(d,"wxSTC_HP_OPERATOR", PyInt_FromLong((long) 101)); | |
11310 | PyDict_SetItemString(d,"wxSTC_HP_IDENTIFIER", PyInt_FromLong((long) 102)); | |
11311 | PyDict_SetItemString(d,"wxSTC_HPA_START", PyInt_FromLong((long) 105)); | |
11312 | PyDict_SetItemString(d,"wxSTC_HPA_DEFAULT", PyInt_FromLong((long) 106)); | |
11313 | PyDict_SetItemString(d,"wxSTC_HPA_COMMENTLINE", PyInt_FromLong((long) 107)); | |
11314 | PyDict_SetItemString(d,"wxSTC_HPA_NUMBER", PyInt_FromLong((long) 108)); | |
11315 | PyDict_SetItemString(d,"wxSTC_HPA_STRING", PyInt_FromLong((long) 109)); | |
11316 | PyDict_SetItemString(d,"wxSTC_HPA_CHARACTER", PyInt_FromLong((long) 110)); | |
11317 | PyDict_SetItemString(d,"wxSTC_HPA_WORD", PyInt_FromLong((long) 111)); | |
11318 | PyDict_SetItemString(d,"wxSTC_HPA_TRIPLE", PyInt_FromLong((long) 112)); | |
11319 | PyDict_SetItemString(d,"wxSTC_HPA_TRIPLEDOUBLE", PyInt_FromLong((long) 113)); | |
11320 | PyDict_SetItemString(d,"wxSTC_HPA_CLASSNAME", PyInt_FromLong((long) 114)); | |
11321 | PyDict_SetItemString(d,"wxSTC_HPA_DEFNAME", PyInt_FromLong((long) 115)); | |
11322 | PyDict_SetItemString(d,"wxSTC_HPA_OPERATOR", PyInt_FromLong((long) 116)); | |
11323 | PyDict_SetItemString(d,"wxSTC_HPA_IDENTIFIER", PyInt_FromLong((long) 117)); | |
11324 | PyDict_SetItemString(d,"wxSTC_HPHP_DEFAULT", PyInt_FromLong((long) 118)); | |
11325 | PyDict_SetItemString(d,"wxSTC_HPHP_HSTRING", PyInt_FromLong((long) 119)); | |
11326 | PyDict_SetItemString(d,"wxSTC_HPHP_SIMPLESTRING", PyInt_FromLong((long) 120)); | |
11327 | PyDict_SetItemString(d,"wxSTC_HPHP_WORD", PyInt_FromLong((long) 121)); | |
11328 | PyDict_SetItemString(d,"wxSTC_HPHP_NUMBER", PyInt_FromLong((long) 122)); | |
11329 | PyDict_SetItemString(d,"wxSTC_HPHP_VARIABLE", PyInt_FromLong((long) 123)); | |
11330 | PyDict_SetItemString(d,"wxSTC_HPHP_COMMENT", PyInt_FromLong((long) 124)); | |
11331 | PyDict_SetItemString(d,"wxSTC_HPHP_COMMENTLINE", PyInt_FromLong((long) 125)); | |
11332 | PyDict_SetItemString(d,"wxSTC_HPHP_HSTRING_VARIABLE", PyInt_FromLong((long) 126)); | |
11333 | PyDict_SetItemString(d,"wxSTC_HPHP_OPERATOR", PyInt_FromLong((long) 127)); | |
11334 | PyDict_SetItemString(d,"wxSTC_PL_DEFAULT", PyInt_FromLong((long) 0)); | |
11335 | PyDict_SetItemString(d,"wxSTC_PL_ERROR", PyInt_FromLong((long) 1)); | |
11336 | PyDict_SetItemString(d,"wxSTC_PL_COMMENTLINE", PyInt_FromLong((long) 2)); | |
11337 | PyDict_SetItemString(d,"wxSTC_PL_POD", PyInt_FromLong((long) 3)); | |
11338 | PyDict_SetItemString(d,"wxSTC_PL_NUMBER", PyInt_FromLong((long) 4)); | |
11339 | PyDict_SetItemString(d,"wxSTC_PL_WORD", PyInt_FromLong((long) 5)); | |
11340 | PyDict_SetItemString(d,"wxSTC_PL_STRING", PyInt_FromLong((long) 6)); | |
11341 | PyDict_SetItemString(d,"wxSTC_PL_CHARACTER", PyInt_FromLong((long) 7)); | |
11342 | PyDict_SetItemString(d,"wxSTC_PL_PUNCTUATION", PyInt_FromLong((long) 8)); | |
11343 | PyDict_SetItemString(d,"wxSTC_PL_PREPROCESSOR", PyInt_FromLong((long) 9)); | |
11344 | PyDict_SetItemString(d,"wxSTC_PL_OPERATOR", PyInt_FromLong((long) 10)); | |
11345 | PyDict_SetItemString(d,"wxSTC_PL_IDENTIFIER", PyInt_FromLong((long) 11)); | |
11346 | PyDict_SetItemString(d,"wxSTC_PL_SCALAR", PyInt_FromLong((long) 12)); | |
11347 | PyDict_SetItemString(d,"wxSTC_PL_ARRAY", PyInt_FromLong((long) 13)); | |
11348 | PyDict_SetItemString(d,"wxSTC_PL_HASH", PyInt_FromLong((long) 14)); | |
11349 | PyDict_SetItemString(d,"wxSTC_PL_SYMBOLTABLE", PyInt_FromLong((long) 15)); | |
11350 | PyDict_SetItemString(d,"wxSTC_PL_REGEX", PyInt_FromLong((long) 17)); | |
11351 | PyDict_SetItemString(d,"wxSTC_PL_REGSUBST", PyInt_FromLong((long) 18)); | |
11352 | PyDict_SetItemString(d,"wxSTC_PL_LONGQUOTE", PyInt_FromLong((long) 19)); | |
11353 | PyDict_SetItemString(d,"wxSTC_PL_BACKTICKS", PyInt_FromLong((long) 20)); | |
11354 | PyDict_SetItemString(d,"wxSTC_PL_DATASECTION", PyInt_FromLong((long) 21)); | |
11355 | PyDict_SetItemString(d,"wxSTC_PL_HERE_DELIM", PyInt_FromLong((long) 22)); | |
11356 | PyDict_SetItemString(d,"wxSTC_PL_HERE_Q", PyInt_FromLong((long) 23)); | |
11357 | PyDict_SetItemString(d,"wxSTC_PL_HERE_QQ", PyInt_FromLong((long) 24)); | |
11358 | PyDict_SetItemString(d,"wxSTC_PL_HERE_QX", PyInt_FromLong((long) 25)); | |
11359 | PyDict_SetItemString(d,"wxSTC_PL_STRING_Q", PyInt_FromLong((long) 26)); | |
11360 | PyDict_SetItemString(d,"wxSTC_PL_STRING_QQ", PyInt_FromLong((long) 27)); | |
11361 | PyDict_SetItemString(d,"wxSTC_PL_STRING_QX", PyInt_FromLong((long) 28)); | |
11362 | PyDict_SetItemString(d,"wxSTC_PL_STRING_QR", PyInt_FromLong((long) 29)); | |
11363 | PyDict_SetItemString(d,"wxSTC_PL_STRING_QW", PyInt_FromLong((long) 30)); | |
11364 | PyDict_SetItemString(d,"wxSTC_L_DEFAULT", PyInt_FromLong((long) 0)); | |
11365 | PyDict_SetItemString(d,"wxSTC_L_COMMAND", PyInt_FromLong((long) 1)); | |
11366 | PyDict_SetItemString(d,"wxSTC_L_TAG", PyInt_FromLong((long) 2)); | |
11367 | PyDict_SetItemString(d,"wxSTC_L_MATH", PyInt_FromLong((long) 3)); | |
11368 | PyDict_SetItemString(d,"wxSTC_L_COMMENT", PyInt_FromLong((long) 4)); | |
11369 | PyDict_SetItemString(d,"wxSTC_LUA_DEFAULT", PyInt_FromLong((long) 0)); | |
11370 | PyDict_SetItemString(d,"wxSTC_LUA_COMMENT", PyInt_FromLong((long) 1)); | |
11371 | PyDict_SetItemString(d,"wxSTC_LUA_COMMENTLINE", PyInt_FromLong((long) 2)); | |
11372 | PyDict_SetItemString(d,"wxSTC_LUA_COMMENTDOC", PyInt_FromLong((long) 3)); | |
11373 | PyDict_SetItemString(d,"wxSTC_LUA_NUMBER", PyInt_FromLong((long) 4)); | |
11374 | PyDict_SetItemString(d,"wxSTC_LUA_WORD", PyInt_FromLong((long) 5)); | |
11375 | PyDict_SetItemString(d,"wxSTC_LUA_STRING", PyInt_FromLong((long) 6)); | |
11376 | PyDict_SetItemString(d,"wxSTC_LUA_CHARACTER", PyInt_FromLong((long) 7)); | |
11377 | PyDict_SetItemString(d,"wxSTC_LUA_LITERALSTRING", PyInt_FromLong((long) 8)); | |
11378 | PyDict_SetItemString(d,"wxSTC_LUA_PREPROCESSOR", PyInt_FromLong((long) 9)); | |
11379 | PyDict_SetItemString(d,"wxSTC_LUA_OPERATOR", PyInt_FromLong((long) 10)); | |
11380 | PyDict_SetItemString(d,"wxSTC_LUA_IDENTIFIER", PyInt_FromLong((long) 11)); | |
11381 | PyDict_SetItemString(d,"wxSTC_LUA_STRINGEOL", PyInt_FromLong((long) 12)); | |
a884bee5 RD |
11382 | PyDict_SetItemString(d,"wxSTC_LUA_WORD2", PyInt_FromLong((long) 13)); |
11383 | PyDict_SetItemString(d,"wxSTC_LUA_WORD3", PyInt_FromLong((long) 14)); | |
11384 | PyDict_SetItemString(d,"wxSTC_LUA_WORD4", PyInt_FromLong((long) 15)); | |
11385 | PyDict_SetItemString(d,"wxSTC_LUA_WORD5", PyInt_FromLong((long) 16)); | |
11386 | PyDict_SetItemString(d,"wxSTC_LUA_WORD6", PyInt_FromLong((long) 17)); | |
89c8ea73 RD |
11387 | PyDict_SetItemString(d,"wxSTC_ERR_DEFAULT", PyInt_FromLong((long) 0)); |
11388 | PyDict_SetItemString(d,"wxSTC_ERR_PYTHON", PyInt_FromLong((long) 1)); | |
11389 | PyDict_SetItemString(d,"wxSTC_ERR_GCC", PyInt_FromLong((long) 2)); | |
11390 | PyDict_SetItemString(d,"wxSTC_ERR_MS", PyInt_FromLong((long) 3)); | |
11391 | PyDict_SetItemString(d,"wxSTC_ERR_CMD", PyInt_FromLong((long) 4)); | |
11392 | PyDict_SetItemString(d,"wxSTC_ERR_BORLAND", PyInt_FromLong((long) 5)); | |
11393 | PyDict_SetItemString(d,"wxSTC_ERR_PERL", PyInt_FromLong((long) 6)); | |
11394 | PyDict_SetItemString(d,"wxSTC_ERR_NET", PyInt_FromLong((long) 7)); | |
11395 | PyDict_SetItemString(d,"wxSTC_ERR_LUA", PyInt_FromLong((long) 8)); | |
11396 | PyDict_SetItemString(d,"wxSTC_ERR_DIFF_CHANGED", PyInt_FromLong((long) 10)); | |
11397 | PyDict_SetItemString(d,"wxSTC_ERR_DIFF_ADDITION", PyInt_FromLong((long) 11)); | |
11398 | PyDict_SetItemString(d,"wxSTC_ERR_DIFF_DELETION", PyInt_FromLong((long) 12)); | |
11399 | PyDict_SetItemString(d,"wxSTC_ERR_DIFF_MESSAGE", PyInt_FromLong((long) 13)); | |
11400 | PyDict_SetItemString(d,"wxSTC_BAT_DEFAULT", PyInt_FromLong((long) 0)); | |
11401 | PyDict_SetItemString(d,"wxSTC_BAT_COMMENT", PyInt_FromLong((long) 1)); | |
11402 | PyDict_SetItemString(d,"wxSTC_BAT_WORD", PyInt_FromLong((long) 2)); | |
11403 | PyDict_SetItemString(d,"wxSTC_BAT_LABEL", PyInt_FromLong((long) 3)); | |
11404 | PyDict_SetItemString(d,"wxSTC_BAT_HIDE", PyInt_FromLong((long) 4)); | |
11405 | PyDict_SetItemString(d,"wxSTC_BAT_COMMAND", PyInt_FromLong((long) 5)); | |
11406 | PyDict_SetItemString(d,"wxSTC_BAT_IDENTIFIER", PyInt_FromLong((long) 6)); | |
11407 | PyDict_SetItemString(d,"wxSTC_BAT_OPERATOR", PyInt_FromLong((long) 7)); | |
11408 | PyDict_SetItemString(d,"wxSTC_MAKE_DEFAULT", PyInt_FromLong((long) 0)); | |
11409 | PyDict_SetItemString(d,"wxSTC_MAKE_COMMENT", PyInt_FromLong((long) 1)); | |
11410 | PyDict_SetItemString(d,"wxSTC_MAKE_PREPROCESSOR", PyInt_FromLong((long) 2)); | |
11411 | PyDict_SetItemString(d,"wxSTC_MAKE_IDENTIFIER", PyInt_FromLong((long) 3)); | |
11412 | PyDict_SetItemString(d,"wxSTC_MAKE_OPERATOR", PyInt_FromLong((long) 4)); | |
11413 | PyDict_SetItemString(d,"wxSTC_MAKE_TARGET", PyInt_FromLong((long) 5)); | |
11414 | PyDict_SetItemString(d,"wxSTC_MAKE_IDEOL", PyInt_FromLong((long) 9)); | |
11415 | PyDict_SetItemString(d,"wxSTC_CONF_DEFAULT", PyInt_FromLong((long) 0)); | |
11416 | PyDict_SetItemString(d,"wxSTC_CONF_COMMENT", PyInt_FromLong((long) 1)); | |
11417 | PyDict_SetItemString(d,"wxSTC_CONF_NUMBER", PyInt_FromLong((long) 2)); | |
11418 | PyDict_SetItemString(d,"wxSTC_CONF_IDENTIFIER", PyInt_FromLong((long) 3)); | |
11419 | PyDict_SetItemString(d,"wxSTC_CONF_EXTENSION", PyInt_FromLong((long) 4)); | |
11420 | PyDict_SetItemString(d,"wxSTC_CONF_PARAMETER", PyInt_FromLong((long) 5)); | |
11421 | PyDict_SetItemString(d,"wxSTC_CONF_STRING", PyInt_FromLong((long) 6)); | |
11422 | PyDict_SetItemString(d,"wxSTC_CONF_OPERATOR", PyInt_FromLong((long) 7)); | |
11423 | PyDict_SetItemString(d,"wxSTC_CONF_IP", PyInt_FromLong((long) 8)); | |
11424 | PyDict_SetItemString(d,"wxSTC_CONF_DIRECTIVE", PyInt_FromLong((long) 9)); | |
11425 | PyDict_SetItemString(d,"wxSTC_AVE_DEFAULT", PyInt_FromLong((long) 0)); | |
11426 | PyDict_SetItemString(d,"wxSTC_AVE_COMMENT", PyInt_FromLong((long) 1)); | |
11427 | PyDict_SetItemString(d,"wxSTC_AVE_NUMBER", PyInt_FromLong((long) 2)); | |
11428 | PyDict_SetItemString(d,"wxSTC_AVE_WORD", PyInt_FromLong((long) 3)); | |
11429 | PyDict_SetItemString(d,"wxSTC_AVE_KEYWORD", PyInt_FromLong((long) 4)); | |
11430 | PyDict_SetItemString(d,"wxSTC_AVE_STATEMENT", PyInt_FromLong((long) 5)); | |
11431 | PyDict_SetItemString(d,"wxSTC_AVE_STRING", PyInt_FromLong((long) 6)); | |
11432 | PyDict_SetItemString(d,"wxSTC_AVE_ENUM", PyInt_FromLong((long) 7)); | |
11433 | PyDict_SetItemString(d,"wxSTC_AVE_STRINGEOL", PyInt_FromLong((long) 8)); | |
11434 | PyDict_SetItemString(d,"wxSTC_AVE_IDENTIFIER", PyInt_FromLong((long) 9)); | |
11435 | PyDict_SetItemString(d,"wxSTC_AVE_OPERATOR", PyInt_FromLong((long) 10)); | |
11436 | PyDict_SetItemString(d,"wxSTC_ADA_DEFAULT", PyInt_FromLong((long) 0)); | |
11437 | PyDict_SetItemString(d,"wxSTC_ADA_COMMENT", PyInt_FromLong((long) 1)); | |
11438 | PyDict_SetItemString(d,"wxSTC_ADA_NUMBER", PyInt_FromLong((long) 2)); | |
11439 | PyDict_SetItemString(d,"wxSTC_ADA_WORD", PyInt_FromLong((long) 3)); | |
11440 | PyDict_SetItemString(d,"wxSTC_ADA_STRING", PyInt_FromLong((long) 4)); | |
11441 | PyDict_SetItemString(d,"wxSTC_ADA_CHARACTER", PyInt_FromLong((long) 5)); | |
11442 | PyDict_SetItemString(d,"wxSTC_ADA_OPERATOR", PyInt_FromLong((long) 6)); | |
11443 | PyDict_SetItemString(d,"wxSTC_ADA_IDENTIFIER", PyInt_FromLong((long) 7)); | |
11444 | PyDict_SetItemString(d,"wxSTC_ADA_STRINGEOL", PyInt_FromLong((long) 8)); | |
a884bee5 RD |
11445 | PyDict_SetItemString(d,"wxSTC_BAAN_DEFAULT", PyInt_FromLong((long) 0)); |
11446 | PyDict_SetItemString(d,"wxSTC_BAAN_COMMENT", PyInt_FromLong((long) 1)); | |
11447 | PyDict_SetItemString(d,"wxSTC_BAAN_COMMENTDOC", PyInt_FromLong((long) 2)); | |
11448 | PyDict_SetItemString(d,"wxSTC_BAAN_NUMBER", PyInt_FromLong((long) 3)); | |
11449 | PyDict_SetItemString(d,"wxSTC_BAAN_WORD", PyInt_FromLong((long) 4)); | |
11450 | PyDict_SetItemString(d,"wxSTC_BAAN_STRING", PyInt_FromLong((long) 5)); | |
11451 | PyDict_SetItemString(d,"wxSTC_BAAN_PREPROCESSOR", PyInt_FromLong((long) 6)); | |
11452 | PyDict_SetItemString(d,"wxSTC_BAAN_OPERATOR", PyInt_FromLong((long) 7)); | |
11453 | PyDict_SetItemString(d,"wxSTC_BAAN_IDENTIFIER", PyInt_FromLong((long) 8)); | |
11454 | PyDict_SetItemString(d,"wxSTC_BAAN_STRINGEOL", PyInt_FromLong((long) 9)); | |
11455 | PyDict_SetItemString(d,"wxSTC_BAAN_WORD2", PyInt_FromLong((long) 10)); | |
89c8ea73 RD |
11456 | PyDict_SetItemString(d,"wxSTC_LISP_DEFAULT", PyInt_FromLong((long) 0)); |
11457 | PyDict_SetItemString(d,"wxSTC_LISP_COMMENT", PyInt_FromLong((long) 1)); | |
11458 | PyDict_SetItemString(d,"wxSTC_LISP_NUMBER", PyInt_FromLong((long) 2)); | |
11459 | PyDict_SetItemString(d,"wxSTC_LISP_KEYWORD", PyInt_FromLong((long) 3)); | |
11460 | PyDict_SetItemString(d,"wxSTC_LISP_STRING", PyInt_FromLong((long) 6)); | |
11461 | PyDict_SetItemString(d,"wxSTC_LISP_STRINGEOL", PyInt_FromLong((long) 8)); | |
11462 | PyDict_SetItemString(d,"wxSTC_LISP_IDENTIFIER", PyInt_FromLong((long) 9)); | |
11463 | PyDict_SetItemString(d,"wxSTC_LISP_OPERATOR", PyInt_FromLong((long) 10)); | |
11464 | PyDict_SetItemString(d,"wxSTC_EIFFEL_DEFAULT", PyInt_FromLong((long) 0)); | |
11465 | PyDict_SetItemString(d,"wxSTC_EIFFEL_COMMENTLINE", PyInt_FromLong((long) 1)); | |
11466 | PyDict_SetItemString(d,"wxSTC_EIFFEL_NUMBER", PyInt_FromLong((long) 2)); | |
11467 | PyDict_SetItemString(d,"wxSTC_EIFFEL_WORD", PyInt_FromLong((long) 3)); | |
11468 | PyDict_SetItemString(d,"wxSTC_EIFFEL_STRING", PyInt_FromLong((long) 4)); | |
11469 | PyDict_SetItemString(d,"wxSTC_EIFFEL_CHARACTER", PyInt_FromLong((long) 5)); | |
11470 | PyDict_SetItemString(d,"wxSTC_EIFFEL_OPERATOR", PyInt_FromLong((long) 6)); | |
11471 | PyDict_SetItemString(d,"wxSTC_EIFFEL_IDENTIFIER", PyInt_FromLong((long) 7)); | |
11472 | PyDict_SetItemString(d,"wxSTC_EIFFEL_STRINGEOL", PyInt_FromLong((long) 8)); | |
11473 | PyDict_SetItemString(d,"wxSTC_NNCRONTAB_DEFAULT", PyInt_FromLong((long) 0)); | |
11474 | PyDict_SetItemString(d,"wxSTC_NNCRONTAB_COMMENT", PyInt_FromLong((long) 1)); | |
11475 | PyDict_SetItemString(d,"wxSTC_NNCRONTAB_TASK", PyInt_FromLong((long) 2)); | |
11476 | PyDict_SetItemString(d,"wxSTC_NNCRONTAB_SECTION", PyInt_FromLong((long) 3)); | |
11477 | PyDict_SetItemString(d,"wxSTC_NNCRONTAB_KEYWORD", PyInt_FromLong((long) 4)); | |
11478 | PyDict_SetItemString(d,"wxSTC_NNCRONTAB_MODIFIER", PyInt_FromLong((long) 5)); | |
11479 | PyDict_SetItemString(d,"wxSTC_NNCRONTAB_ASTERISK", PyInt_FromLong((long) 6)); | |
11480 | PyDict_SetItemString(d,"wxSTC_NNCRONTAB_NUMBER", PyInt_FromLong((long) 7)); | |
11481 | PyDict_SetItemString(d,"wxSTC_NNCRONTAB_STRING", PyInt_FromLong((long) 8)); | |
11482 | PyDict_SetItemString(d,"wxSTC_NNCRONTAB_ENVIRONMENT", PyInt_FromLong((long) 9)); | |
11483 | PyDict_SetItemString(d,"wxSTC_NNCRONTAB_IDENTIFIER", PyInt_FromLong((long) 10)); | |
a884bee5 RD |
11484 | PyDict_SetItemString(d,"wxSTC_MATLAB_DEFAULT", PyInt_FromLong((long) 0)); |
11485 | PyDict_SetItemString(d,"wxSTC_MATLAB_COMMENT", PyInt_FromLong((long) 1)); | |
11486 | PyDict_SetItemString(d,"wxSTC_MATLAB_COMMAND", PyInt_FromLong((long) 2)); | |
11487 | PyDict_SetItemString(d,"wxSTC_MATLAB_NUMBER", PyInt_FromLong((long) 3)); | |
11488 | PyDict_SetItemString(d,"wxSTC_MATLAB_KEYWORD", PyInt_FromLong((long) 4)); | |
11489 | PyDict_SetItemString(d,"wxSTC_MATLAB_STRING", PyInt_FromLong((long) 5)); | |
11490 | PyDict_SetItemString(d,"wxSTC_MATLAB_OPERATOR", PyInt_FromLong((long) 6)); | |
11491 | PyDict_SetItemString(d,"wxSTC_MATLAB_IDENTIFIER", PyInt_FromLong((long) 7)); | |
89c8ea73 RD |
11492 | PyDict_SetItemString(d,"wxSTCNameStr", PyString_FromString("wxSTCNameStr")); |
11493 | PyDict_SetItemString(d,"wxEVT_STC_CHANGE", PyInt_FromLong((long) wxEVT_STC_CHANGE)); | |
11494 | PyDict_SetItemString(d,"wxEVT_STC_STYLENEEDED", PyInt_FromLong((long) wxEVT_STC_STYLENEEDED)); | |
11495 | PyDict_SetItemString(d,"wxEVT_STC_CHARADDED", PyInt_FromLong((long) wxEVT_STC_CHARADDED)); | |
11496 | PyDict_SetItemString(d,"wxEVT_STC_SAVEPOINTREACHED", PyInt_FromLong((long) wxEVT_STC_SAVEPOINTREACHED)); | |
11497 | PyDict_SetItemString(d,"wxEVT_STC_SAVEPOINTLEFT", PyInt_FromLong((long) wxEVT_STC_SAVEPOINTLEFT)); | |
11498 | PyDict_SetItemString(d,"wxEVT_STC_ROMODIFYATTEMPT", PyInt_FromLong((long) wxEVT_STC_ROMODIFYATTEMPT)); | |
11499 | PyDict_SetItemString(d,"wxEVT_STC_KEY", PyInt_FromLong((long) wxEVT_STC_KEY)); | |
11500 | PyDict_SetItemString(d,"wxEVT_STC_DOUBLECLICK", PyInt_FromLong((long) wxEVT_STC_DOUBLECLICK)); | |
11501 | PyDict_SetItemString(d,"wxEVT_STC_UPDATEUI", PyInt_FromLong((long) wxEVT_STC_UPDATEUI)); | |
11502 | PyDict_SetItemString(d,"wxEVT_STC_MODIFIED", PyInt_FromLong((long) wxEVT_STC_MODIFIED)); | |
11503 | PyDict_SetItemString(d,"wxEVT_STC_MACRORECORD", PyInt_FromLong((long) wxEVT_STC_MACRORECORD)); | |
11504 | PyDict_SetItemString(d,"wxEVT_STC_MARGINCLICK", PyInt_FromLong((long) wxEVT_STC_MARGINCLICK)); | |
11505 | PyDict_SetItemString(d,"wxEVT_STC_NEEDSHOWN", PyInt_FromLong((long) wxEVT_STC_NEEDSHOWN)); | |
11506 | PyDict_SetItemString(d,"wxEVT_STC_POSCHANGED", PyInt_FromLong((long) wxEVT_STC_POSCHANGED)); | |
11507 | PyDict_SetItemString(d,"wxEVT_STC_PAINTED", PyInt_FromLong((long) wxEVT_STC_PAINTED)); | |
11508 | PyDict_SetItemString(d,"wxEVT_STC_USERLISTSELECTION", PyInt_FromLong((long) wxEVT_STC_USERLISTSELECTION)); | |
11509 | PyDict_SetItemString(d,"wxEVT_STC_URIDROPPED", PyInt_FromLong((long) wxEVT_STC_URIDROPPED)); | |
11510 | PyDict_SetItemString(d,"wxEVT_STC_DWELLSTART", PyInt_FromLong((long) wxEVT_STC_DWELLSTART)); | |
11511 | PyDict_SetItemString(d,"wxEVT_STC_DWELLEND", PyInt_FromLong((long) wxEVT_STC_DWELLEND)); | |
11512 | PyDict_SetItemString(d,"wxEVT_STC_START_DRAG", PyInt_FromLong((long) wxEVT_STC_START_DRAG)); | |
11513 | PyDict_SetItemString(d,"wxEVT_STC_DRAG_OVER", PyInt_FromLong((long) wxEVT_STC_DRAG_OVER)); | |
11514 | PyDict_SetItemString(d,"wxEVT_STC_DO_DROP", PyInt_FromLong((long) wxEVT_STC_DO_DROP)); | |
11515 | ||
11516 | ||
11517 | wxClassInfo::CleanUpClasses(); | |
11518 | wxClassInfo::InitializeClasses(); | |
11519 | ||
11520 | { | |
11521 | int i; | |
11522 | for (i = 0; _swig_mapping[i].n1; i++) | |
11523 | SWIG_RegisterMapping(_swig_mapping[i].n1,_swig_mapping[i].n2,_swig_mapping[i].pcnv); | |
11524 | } | |
11525 | } |