]>
Commit | Line | Data |
---|---|---|
8a2fa5c8 RD |
1 | /* |
2 | * FILE : contrib/stc/mac/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 | } | |
c3bfa1cb RD |
87 | |
88 | // Put some wx default wxChar* values into wxStrings. | |
89 | DECLARE_DEF_STRING(STCNameStr); | |
8a2fa5c8 RD |
90 | #ifdef __cplusplus |
91 | extern "C" { | |
92 | #endif | |
93 | static void *SwigwxStyledTextCtrlTowxControl(void *ptr) { | |
94 | wxStyledTextCtrl *src; | |
95 | wxControl *dest; | |
96 | src = (wxStyledTextCtrl *) ptr; | |
97 | dest = (wxControl *) src; | |
98 | return (void *) dest; | |
99 | } | |
100 | ||
101 | static void *SwigwxStyledTextCtrlTowxWindow(void *ptr) { | |
102 | wxStyledTextCtrl *src; | |
103 | wxWindow *dest; | |
104 | src = (wxStyledTextCtrl *) ptr; | |
105 | dest = (wxWindow *) src; | |
106 | return (void *) dest; | |
107 | } | |
108 | ||
109 | static void *SwigwxStyledTextCtrlTowxEvtHandler(void *ptr) { | |
110 | wxStyledTextCtrl *src; | |
111 | wxEvtHandler *dest; | |
112 | src = (wxStyledTextCtrl *) ptr; | |
113 | dest = (wxEvtHandler *) src; | |
114 | return (void *) dest; | |
115 | } | |
116 | ||
117 | static void *SwigwxStyledTextCtrlTowxObject(void *ptr) { | |
118 | wxStyledTextCtrl *src; | |
119 | wxObject *dest; | |
120 | src = (wxStyledTextCtrl *) ptr; | |
121 | dest = (wxObject *) src; | |
122 | return (void *) dest; | |
123 | } | |
124 | ||
125 | #define new_wxStyledTextCtrl(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxStyledTextCtrl(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5)) | |
126 | static PyObject *_wrap_new_wxStyledTextCtrl(PyObject *self, PyObject *args, PyObject *kwargs) { | |
127 | PyObject * _resultobj; | |
128 | wxStyledTextCtrl * _result; | |
129 | wxWindow * _arg0; | |
130 | wxWindowID _arg1; | |
131 | wxPoint * _arg2 = (wxPoint *) &wxDefaultPosition; | |
132 | wxSize * _arg3 = (wxSize *) &wxDefaultSize; | |
133 | long _arg4 = (long ) 0; | |
c3bfa1cb | 134 | wxString * _arg5 = (wxString *) &wxPySTCNameStr; |
8a2fa5c8 RD |
135 | PyObject * _argo0 = 0; |
136 | wxPoint temp; | |
137 | PyObject * _obj2 = 0; | |
138 | wxSize temp0; | |
139 | PyObject * _obj3 = 0; | |
c3bfa1cb | 140 | PyObject * _obj5 = 0; |
8a2fa5c8 RD |
141 | char *_kwnames[] = { "parent","id","pos","size","style","name", NULL }; |
142 | char _ptemp[128]; | |
143 | ||
144 | self = self; | |
c3bfa1cb | 145 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi|OOlO:new_wxStyledTextCtrl",_kwnames,&_argo0,&_arg1,&_obj2,&_obj3,&_arg4,&_obj5)) |
8a2fa5c8 RD |
146 | return NULL; |
147 | if (_argo0) { | |
148 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
149 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) { | |
150 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxStyledTextCtrl. Expected _wxWindow_p."); | |
151 | return NULL; | |
152 | } | |
153 | } | |
154 | if (_obj2) | |
155 | { | |
156 | _arg2 = &temp; | |
157 | if (! wxPoint_helper(_obj2, &_arg2)) | |
158 | return NULL; | |
159 | } | |
160 | if (_obj3) | |
161 | { | |
162 | _arg3 = &temp0; | |
163 | if (! wxSize_helper(_obj3, &_arg3)) | |
164 | return NULL; | |
c3bfa1cb RD |
165 | } |
166 | if (_obj5) | |
167 | { | |
168 | _arg5 = wxString_in_helper(_obj5); | |
169 | if (_arg5 == NULL) | |
170 | return NULL; | |
8a2fa5c8 RD |
171 | } |
172 | { | |
0e2ff151 | 173 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c3bfa1cb | 174 | _result = (wxStyledTextCtrl *)new_wxStyledTextCtrl(_arg0,_arg1,*_arg2,*_arg3,_arg4,*_arg5); |
8a2fa5c8 | 175 | |
0e2ff151 RD |
176 | wxPyEndAllowThreads(__tstate); |
177 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
178 | } if (_result) { |
179 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxStyledTextCtrl_p"); | |
180 | _resultobj = Py_BuildValue("s",_ptemp); | |
181 | } else { | |
182 | Py_INCREF(Py_None); | |
183 | _resultobj = Py_None; | |
184 | } | |
c3bfa1cb RD |
185 | { |
186 | if (_obj5) | |
187 | delete _arg5; | |
188 | } | |
8a2fa5c8 RD |
189 | return _resultobj; |
190 | } | |
191 | ||
192 | #define wxStyledTextCtrl_AddText(_swigobj,_swigarg0) (_swigobj->AddText(_swigarg0)) | |
193 | static PyObject *_wrap_wxStyledTextCtrl_AddText(PyObject *self, PyObject *args, PyObject *kwargs) { | |
194 | PyObject * _resultobj; | |
195 | wxStyledTextCtrl * _arg0; | |
196 | wxString * _arg1; | |
197 | PyObject * _argo0 = 0; | |
198 | PyObject * _obj1 = 0; | |
199 | char *_kwnames[] = { "self","text", NULL }; | |
200 | ||
201 | self = self; | |
202 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxStyledTextCtrl_AddText",_kwnames,&_argo0,&_obj1)) | |
203 | return NULL; | |
204 | if (_argo0) { | |
205 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
206 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
207 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_AddText. Expected _wxStyledTextCtrl_p."); | |
208 | return NULL; | |
209 | } | |
210 | } | |
211 | { | |
6824d4f9 RD |
212 | _arg1 = wxString_in_helper(_obj1); |
213 | if (_arg1 == NULL) | |
8a2fa5c8 | 214 | return NULL; |
8a2fa5c8 RD |
215 | } |
216 | { | |
0e2ff151 | 217 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 218 | wxStyledTextCtrl_AddText(_arg0,*_arg1); |
8a2fa5c8 | 219 | |
0e2ff151 RD |
220 | wxPyEndAllowThreads(__tstate); |
221 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
222 | } Py_INCREF(Py_None); |
223 | _resultobj = Py_None; | |
224 | { | |
225 | if (_obj1) | |
226 | delete _arg1; | |
227 | } | |
228 | return _resultobj; | |
229 | } | |
230 | ||
231 | #define wxStyledTextCtrl_AddStyledText(_swigobj,_swigarg0) (_swigobj->AddStyledText(_swigarg0)) | |
232 | static PyObject *_wrap_wxStyledTextCtrl_AddStyledText(PyObject *self, PyObject *args, PyObject *kwargs) { | |
233 | PyObject * _resultobj; | |
234 | wxStyledTextCtrl * _arg0; | |
c3bfa1cb | 235 | wxMemoryBuffer * _arg1; |
8a2fa5c8 RD |
236 | PyObject * _argo0 = 0; |
237 | PyObject * _obj1 = 0; | |
c3bfa1cb | 238 | char *_kwnames[] = { "self","data", NULL }; |
8a2fa5c8 RD |
239 | |
240 | self = self; | |
241 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxStyledTextCtrl_AddStyledText",_kwnames,&_argo0,&_obj1)) | |
242 | return NULL; | |
243 | if (_argo0) { | |
244 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
245 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
246 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_AddStyledText. Expected _wxStyledTextCtrl_p."); | |
247 | return NULL; | |
248 | } | |
249 | } | |
250 | { | |
c3bfa1cb RD |
251 | if (!PyString_Check(_obj1)) { |
252 | PyErr_SetString(PyExc_TypeError, "String buffer expected"); | |
8a2fa5c8 | 253 | return NULL; |
c3bfa1cb RD |
254 | } |
255 | char* str = PyString_AS_STRING(_obj1); | |
256 | int len = PyString_GET_SIZE(_obj1); | |
257 | _arg1 = new wxMemoryBuffer(len); | |
258 | memcpy(_arg1->GetData(), str, len); | |
8a2fa5c8 RD |
259 | } |
260 | { | |
0e2ff151 | 261 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 262 | wxStyledTextCtrl_AddStyledText(_arg0,*_arg1); |
8a2fa5c8 | 263 | |
0e2ff151 RD |
264 | wxPyEndAllowThreads(__tstate); |
265 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
266 | } Py_INCREF(Py_None); |
267 | _resultobj = Py_None; | |
268 | { | |
269 | if (_obj1) | |
270 | delete _arg1; | |
271 | } | |
272 | return _resultobj; | |
273 | } | |
274 | ||
275 | #define wxStyledTextCtrl_InsertText(_swigobj,_swigarg0,_swigarg1) (_swigobj->InsertText(_swigarg0,_swigarg1)) | |
276 | static PyObject *_wrap_wxStyledTextCtrl_InsertText(PyObject *self, PyObject *args, PyObject *kwargs) { | |
277 | PyObject * _resultobj; | |
278 | wxStyledTextCtrl * _arg0; | |
279 | int _arg1; | |
280 | wxString * _arg2; | |
281 | PyObject * _argo0 = 0; | |
282 | PyObject * _obj2 = 0; | |
283 | char *_kwnames[] = { "self","pos","text", NULL }; | |
284 | ||
285 | self = self; | |
286 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxStyledTextCtrl_InsertText",_kwnames,&_argo0,&_arg1,&_obj2)) | |
287 | return NULL; | |
288 | if (_argo0) { | |
289 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
290 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
291 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_InsertText. Expected _wxStyledTextCtrl_p."); | |
292 | return NULL; | |
293 | } | |
294 | } | |
295 | { | |
6824d4f9 RD |
296 | _arg2 = wxString_in_helper(_obj2); |
297 | if (_arg2 == NULL) | |
8a2fa5c8 | 298 | return NULL; |
8a2fa5c8 RD |
299 | } |
300 | { | |
0e2ff151 | 301 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 302 | wxStyledTextCtrl_InsertText(_arg0,_arg1,*_arg2); |
8a2fa5c8 | 303 | |
0e2ff151 RD |
304 | wxPyEndAllowThreads(__tstate); |
305 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
306 | } Py_INCREF(Py_None); |
307 | _resultobj = Py_None; | |
308 | { | |
309 | if (_obj2) | |
310 | delete _arg2; | |
311 | } | |
312 | return _resultobj; | |
313 | } | |
314 | ||
315 | #define wxStyledTextCtrl_ClearAll(_swigobj) (_swigobj->ClearAll()) | |
316 | static PyObject *_wrap_wxStyledTextCtrl_ClearAll(PyObject *self, PyObject *args, PyObject *kwargs) { | |
317 | PyObject * _resultobj; | |
318 | wxStyledTextCtrl * _arg0; | |
319 | PyObject * _argo0 = 0; | |
320 | char *_kwnames[] = { "self", NULL }; | |
321 | ||
322 | self = self; | |
323 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_ClearAll",_kwnames,&_argo0)) | |
324 | return NULL; | |
325 | if (_argo0) { | |
326 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
327 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
328 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_ClearAll. Expected _wxStyledTextCtrl_p."); | |
329 | return NULL; | |
330 | } | |
331 | } | |
332 | { | |
0e2ff151 | 333 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 334 | wxStyledTextCtrl_ClearAll(_arg0); |
8a2fa5c8 | 335 | |
0e2ff151 RD |
336 | wxPyEndAllowThreads(__tstate); |
337 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
338 | } Py_INCREF(Py_None); |
339 | _resultobj = Py_None; | |
340 | return _resultobj; | |
341 | } | |
342 | ||
343 | #define wxStyledTextCtrl_ClearDocumentStyle(_swigobj) (_swigobj->ClearDocumentStyle()) | |
344 | static PyObject *_wrap_wxStyledTextCtrl_ClearDocumentStyle(PyObject *self, PyObject *args, PyObject *kwargs) { | |
345 | PyObject * _resultobj; | |
346 | wxStyledTextCtrl * _arg0; | |
347 | PyObject * _argo0 = 0; | |
348 | char *_kwnames[] = { "self", NULL }; | |
349 | ||
350 | self = self; | |
351 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_ClearDocumentStyle",_kwnames,&_argo0)) | |
352 | return NULL; | |
353 | if (_argo0) { | |
354 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
355 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
356 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_ClearDocumentStyle. Expected _wxStyledTextCtrl_p."); | |
357 | return NULL; | |
358 | } | |
359 | } | |
360 | { | |
0e2ff151 | 361 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 362 | wxStyledTextCtrl_ClearDocumentStyle(_arg0); |
8a2fa5c8 | 363 | |
0e2ff151 RD |
364 | wxPyEndAllowThreads(__tstate); |
365 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
366 | } Py_INCREF(Py_None); |
367 | _resultobj = Py_None; | |
368 | return _resultobj; | |
369 | } | |
370 | ||
371 | #define wxStyledTextCtrl_GetLength(_swigobj) (_swigobj->GetLength()) | |
372 | static PyObject *_wrap_wxStyledTextCtrl_GetLength(PyObject *self, PyObject *args, PyObject *kwargs) { | |
373 | PyObject * _resultobj; | |
374 | int _result; | |
375 | wxStyledTextCtrl * _arg0; | |
376 | PyObject * _argo0 = 0; | |
377 | char *_kwnames[] = { "self", NULL }; | |
378 | ||
379 | self = self; | |
380 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetLength",_kwnames,&_argo0)) | |
381 | return NULL; | |
382 | if (_argo0) { | |
383 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
384 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
385 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetLength. Expected _wxStyledTextCtrl_p."); | |
386 | return NULL; | |
387 | } | |
388 | } | |
389 | { | |
0e2ff151 | 390 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 391 | _result = (int )wxStyledTextCtrl_GetLength(_arg0); |
8a2fa5c8 | 392 | |
0e2ff151 RD |
393 | wxPyEndAllowThreads(__tstate); |
394 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
395 | } _resultobj = Py_BuildValue("i",_result); |
396 | return _resultobj; | |
397 | } | |
398 | ||
399 | #define wxStyledTextCtrl_GetCharAt(_swigobj,_swigarg0) (_swigobj->GetCharAt(_swigarg0)) | |
400 | static PyObject *_wrap_wxStyledTextCtrl_GetCharAt(PyObject *self, PyObject *args, PyObject *kwargs) { | |
401 | PyObject * _resultobj; | |
402 | int _result; | |
403 | wxStyledTextCtrl * _arg0; | |
404 | int _arg1; | |
405 | PyObject * _argo0 = 0; | |
406 | char *_kwnames[] = { "self","pos", NULL }; | |
407 | ||
408 | self = self; | |
409 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_GetCharAt",_kwnames,&_argo0,&_arg1)) | |
410 | return NULL; | |
411 | if (_argo0) { | |
412 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
413 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
414 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetCharAt. Expected _wxStyledTextCtrl_p."); | |
415 | return NULL; | |
416 | } | |
417 | } | |
418 | { | |
0e2ff151 | 419 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 420 | _result = (int )wxStyledTextCtrl_GetCharAt(_arg0,_arg1); |
8a2fa5c8 | 421 | |
0e2ff151 RD |
422 | wxPyEndAllowThreads(__tstate); |
423 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
424 | } _resultobj = Py_BuildValue("i",_result); |
425 | return _resultobj; | |
426 | } | |
427 | ||
428 | #define wxStyledTextCtrl_GetCurrentPos(_swigobj) (_swigobj->GetCurrentPos()) | |
429 | static PyObject *_wrap_wxStyledTextCtrl_GetCurrentPos(PyObject *self, PyObject *args, PyObject *kwargs) { | |
430 | PyObject * _resultobj; | |
431 | int _result; | |
432 | wxStyledTextCtrl * _arg0; | |
433 | PyObject * _argo0 = 0; | |
434 | char *_kwnames[] = { "self", NULL }; | |
435 | ||
436 | self = self; | |
437 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetCurrentPos",_kwnames,&_argo0)) | |
438 | return NULL; | |
439 | if (_argo0) { | |
440 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
441 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
442 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetCurrentPos. Expected _wxStyledTextCtrl_p."); | |
443 | return NULL; | |
444 | } | |
445 | } | |
446 | { | |
0e2ff151 | 447 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 448 | _result = (int )wxStyledTextCtrl_GetCurrentPos(_arg0); |
8a2fa5c8 | 449 | |
0e2ff151 RD |
450 | wxPyEndAllowThreads(__tstate); |
451 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
452 | } _resultobj = Py_BuildValue("i",_result); |
453 | return _resultobj; | |
454 | } | |
455 | ||
456 | #define wxStyledTextCtrl_GetAnchor(_swigobj) (_swigobj->GetAnchor()) | |
457 | static PyObject *_wrap_wxStyledTextCtrl_GetAnchor(PyObject *self, PyObject *args, PyObject *kwargs) { | |
458 | PyObject * _resultobj; | |
459 | int _result; | |
460 | wxStyledTextCtrl * _arg0; | |
461 | PyObject * _argo0 = 0; | |
462 | char *_kwnames[] = { "self", NULL }; | |
463 | ||
464 | self = self; | |
465 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetAnchor",_kwnames,&_argo0)) | |
466 | return NULL; | |
467 | if (_argo0) { | |
468 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
469 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
470 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetAnchor. Expected _wxStyledTextCtrl_p."); | |
471 | return NULL; | |
472 | } | |
473 | } | |
474 | { | |
0e2ff151 | 475 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 476 | _result = (int )wxStyledTextCtrl_GetAnchor(_arg0); |
8a2fa5c8 | 477 | |
0e2ff151 RD |
478 | wxPyEndAllowThreads(__tstate); |
479 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
480 | } _resultobj = Py_BuildValue("i",_result); |
481 | return _resultobj; | |
482 | } | |
483 | ||
484 | #define wxStyledTextCtrl_GetStyleAt(_swigobj,_swigarg0) (_swigobj->GetStyleAt(_swigarg0)) | |
485 | static PyObject *_wrap_wxStyledTextCtrl_GetStyleAt(PyObject *self, PyObject *args, PyObject *kwargs) { | |
486 | PyObject * _resultobj; | |
487 | int _result; | |
488 | wxStyledTextCtrl * _arg0; | |
489 | int _arg1; | |
490 | PyObject * _argo0 = 0; | |
491 | char *_kwnames[] = { "self","pos", NULL }; | |
492 | ||
493 | self = self; | |
494 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_GetStyleAt",_kwnames,&_argo0,&_arg1)) | |
495 | return NULL; | |
496 | if (_argo0) { | |
497 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
498 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
499 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetStyleAt. Expected _wxStyledTextCtrl_p."); | |
500 | return NULL; | |
501 | } | |
502 | } | |
503 | { | |
0e2ff151 | 504 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 505 | _result = (int )wxStyledTextCtrl_GetStyleAt(_arg0,_arg1); |
8a2fa5c8 | 506 | |
0e2ff151 RD |
507 | wxPyEndAllowThreads(__tstate); |
508 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
509 | } _resultobj = Py_BuildValue("i",_result); |
510 | return _resultobj; | |
511 | } | |
512 | ||
513 | #define wxStyledTextCtrl_Redo(_swigobj) (_swigobj->Redo()) | |
514 | static PyObject *_wrap_wxStyledTextCtrl_Redo(PyObject *self, PyObject *args, PyObject *kwargs) { | |
515 | PyObject * _resultobj; | |
516 | wxStyledTextCtrl * _arg0; | |
517 | PyObject * _argo0 = 0; | |
518 | char *_kwnames[] = { "self", NULL }; | |
519 | ||
520 | self = self; | |
521 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_Redo",_kwnames,&_argo0)) | |
522 | return NULL; | |
523 | if (_argo0) { | |
524 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
525 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
526 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_Redo. Expected _wxStyledTextCtrl_p."); | |
527 | return NULL; | |
528 | } | |
529 | } | |
530 | { | |
0e2ff151 | 531 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 532 | wxStyledTextCtrl_Redo(_arg0); |
8a2fa5c8 | 533 | |
0e2ff151 RD |
534 | wxPyEndAllowThreads(__tstate); |
535 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
536 | } Py_INCREF(Py_None); |
537 | _resultobj = Py_None; | |
538 | return _resultobj; | |
539 | } | |
540 | ||
541 | #define wxStyledTextCtrl_SetUndoCollection(_swigobj,_swigarg0) (_swigobj->SetUndoCollection(_swigarg0)) | |
542 | static PyObject *_wrap_wxStyledTextCtrl_SetUndoCollection(PyObject *self, PyObject *args, PyObject *kwargs) { | |
543 | PyObject * _resultobj; | |
544 | wxStyledTextCtrl * _arg0; | |
545 | bool _arg1; | |
546 | PyObject * _argo0 = 0; | |
547 | int tempbool1; | |
548 | char *_kwnames[] = { "self","collectUndo", NULL }; | |
549 | ||
550 | self = self; | |
551 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_SetUndoCollection",_kwnames,&_argo0,&tempbool1)) | |
552 | return NULL; | |
553 | if (_argo0) { | |
554 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
555 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
556 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetUndoCollection. Expected _wxStyledTextCtrl_p."); | |
557 | return NULL; | |
558 | } | |
559 | } | |
560 | _arg1 = (bool ) tempbool1; | |
561 | { | |
0e2ff151 | 562 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 563 | wxStyledTextCtrl_SetUndoCollection(_arg0,_arg1); |
8a2fa5c8 | 564 | |
0e2ff151 RD |
565 | wxPyEndAllowThreads(__tstate); |
566 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
567 | } Py_INCREF(Py_None); |
568 | _resultobj = Py_None; | |
569 | return _resultobj; | |
570 | } | |
571 | ||
572 | #define wxStyledTextCtrl_SelectAll(_swigobj) (_swigobj->SelectAll()) | |
573 | static PyObject *_wrap_wxStyledTextCtrl_SelectAll(PyObject *self, PyObject *args, PyObject *kwargs) { | |
574 | PyObject * _resultobj; | |
575 | wxStyledTextCtrl * _arg0; | |
576 | PyObject * _argo0 = 0; | |
577 | char *_kwnames[] = { "self", NULL }; | |
578 | ||
579 | self = self; | |
580 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_SelectAll",_kwnames,&_argo0)) | |
581 | return NULL; | |
582 | if (_argo0) { | |
583 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
584 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
585 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SelectAll. Expected _wxStyledTextCtrl_p."); | |
586 | return NULL; | |
587 | } | |
588 | } | |
589 | { | |
0e2ff151 | 590 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 591 | wxStyledTextCtrl_SelectAll(_arg0); |
8a2fa5c8 | 592 | |
0e2ff151 RD |
593 | wxPyEndAllowThreads(__tstate); |
594 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
595 | } Py_INCREF(Py_None); |
596 | _resultobj = Py_None; | |
597 | return _resultobj; | |
598 | } | |
599 | ||
600 | #define wxStyledTextCtrl_SetSavePoint(_swigobj) (_swigobj->SetSavePoint()) | |
601 | static PyObject *_wrap_wxStyledTextCtrl_SetSavePoint(PyObject *self, PyObject *args, PyObject *kwargs) { | |
602 | PyObject * _resultobj; | |
603 | wxStyledTextCtrl * _arg0; | |
604 | PyObject * _argo0 = 0; | |
605 | char *_kwnames[] = { "self", NULL }; | |
606 | ||
607 | self = self; | |
608 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_SetSavePoint",_kwnames,&_argo0)) | |
609 | return NULL; | |
610 | if (_argo0) { | |
611 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
612 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
613 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetSavePoint. Expected _wxStyledTextCtrl_p."); | |
614 | return NULL; | |
615 | } | |
616 | } | |
617 | { | |
0e2ff151 | 618 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 619 | wxStyledTextCtrl_SetSavePoint(_arg0); |
8a2fa5c8 | 620 | |
0e2ff151 RD |
621 | wxPyEndAllowThreads(__tstate); |
622 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
623 | } Py_INCREF(Py_None); |
624 | _resultobj = Py_None; | |
625 | return _resultobj; | |
626 | } | |
627 | ||
628 | #define wxStyledTextCtrl_GetStyledText(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetStyledText(_swigarg0,_swigarg1)) | |
629 | static PyObject *_wrap_wxStyledTextCtrl_GetStyledText(PyObject *self, PyObject *args, PyObject *kwargs) { | |
630 | PyObject * _resultobj; | |
c3bfa1cb | 631 | wxMemoryBuffer * _result; |
8a2fa5c8 RD |
632 | wxStyledTextCtrl * _arg0; |
633 | int _arg1; | |
634 | int _arg2; | |
635 | PyObject * _argo0 = 0; | |
636 | char *_kwnames[] = { "self","startPos","endPos", NULL }; | |
637 | ||
638 | self = self; | |
639 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxStyledTextCtrl_GetStyledText",_kwnames,&_argo0,&_arg1,&_arg2)) | |
640 | return NULL; | |
641 | if (_argo0) { | |
642 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
643 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
644 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetStyledText. Expected _wxStyledTextCtrl_p."); | |
645 | return NULL; | |
646 | } | |
647 | } | |
648 | { | |
0e2ff151 | 649 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c3bfa1cb | 650 | _result = new wxMemoryBuffer (wxStyledTextCtrl_GetStyledText(_arg0,_arg1,_arg2)); |
8a2fa5c8 | 651 | |
0e2ff151 RD |
652 | wxPyEndAllowThreads(__tstate); |
653 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 | 654 | }{ |
c3bfa1cb | 655 | _resultobj = PyString_FromStringAndSize((char*)_result->GetData(), _result->GetDataLen()); |
8a2fa5c8 RD |
656 | } |
657 | { | |
658 | delete _result; | |
659 | } | |
660 | return _resultobj; | |
661 | } | |
662 | ||
663 | #define wxStyledTextCtrl_CanRedo(_swigobj) (_swigobj->CanRedo()) | |
664 | static PyObject *_wrap_wxStyledTextCtrl_CanRedo(PyObject *self, PyObject *args, PyObject *kwargs) { | |
665 | PyObject * _resultobj; | |
666 | bool _result; | |
667 | wxStyledTextCtrl * _arg0; | |
668 | PyObject * _argo0 = 0; | |
669 | char *_kwnames[] = { "self", NULL }; | |
670 | ||
671 | self = self; | |
672 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_CanRedo",_kwnames,&_argo0)) | |
673 | return NULL; | |
674 | if (_argo0) { | |
675 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
676 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
677 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_CanRedo. Expected _wxStyledTextCtrl_p."); | |
678 | return NULL; | |
679 | } | |
680 | } | |
681 | { | |
0e2ff151 | 682 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 683 | _result = (bool )wxStyledTextCtrl_CanRedo(_arg0); |
8a2fa5c8 | 684 | |
0e2ff151 RD |
685 | wxPyEndAllowThreads(__tstate); |
686 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
687 | } _resultobj = Py_BuildValue("i",_result); |
688 | return _resultobj; | |
689 | } | |
690 | ||
691 | #define wxStyledTextCtrl_MarkerLineFromHandle(_swigobj,_swigarg0) (_swigobj->MarkerLineFromHandle(_swigarg0)) | |
692 | static PyObject *_wrap_wxStyledTextCtrl_MarkerLineFromHandle(PyObject *self, PyObject *args, PyObject *kwargs) { | |
693 | PyObject * _resultobj; | |
694 | int _result; | |
695 | wxStyledTextCtrl * _arg0; | |
696 | int _arg1; | |
697 | PyObject * _argo0 = 0; | |
698 | char *_kwnames[] = { "self","handle", NULL }; | |
699 | ||
700 | self = self; | |
701 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_MarkerLineFromHandle",_kwnames,&_argo0,&_arg1)) | |
702 | return NULL; | |
703 | if (_argo0) { | |
704 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
705 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
706 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_MarkerLineFromHandle. Expected _wxStyledTextCtrl_p."); | |
707 | return NULL; | |
708 | } | |
709 | } | |
710 | { | |
0e2ff151 | 711 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 712 | _result = (int )wxStyledTextCtrl_MarkerLineFromHandle(_arg0,_arg1); |
8a2fa5c8 | 713 | |
0e2ff151 RD |
714 | wxPyEndAllowThreads(__tstate); |
715 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
716 | } _resultobj = Py_BuildValue("i",_result); |
717 | return _resultobj; | |
718 | } | |
719 | ||
720 | #define wxStyledTextCtrl_MarkerDeleteHandle(_swigobj,_swigarg0) (_swigobj->MarkerDeleteHandle(_swigarg0)) | |
721 | static PyObject *_wrap_wxStyledTextCtrl_MarkerDeleteHandle(PyObject *self, PyObject *args, PyObject *kwargs) { | |
722 | PyObject * _resultobj; | |
723 | wxStyledTextCtrl * _arg0; | |
724 | int _arg1; | |
725 | PyObject * _argo0 = 0; | |
726 | char *_kwnames[] = { "self","handle", NULL }; | |
727 | ||
728 | self = self; | |
729 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_MarkerDeleteHandle",_kwnames,&_argo0,&_arg1)) | |
730 | return NULL; | |
731 | if (_argo0) { | |
732 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
733 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
734 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_MarkerDeleteHandle. Expected _wxStyledTextCtrl_p."); | |
735 | return NULL; | |
736 | } | |
737 | } | |
738 | { | |
0e2ff151 | 739 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 740 | wxStyledTextCtrl_MarkerDeleteHandle(_arg0,_arg1); |
8a2fa5c8 | 741 | |
0e2ff151 RD |
742 | wxPyEndAllowThreads(__tstate); |
743 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
744 | } Py_INCREF(Py_None); |
745 | _resultobj = Py_None; | |
746 | return _resultobj; | |
747 | } | |
748 | ||
749 | #define wxStyledTextCtrl_GetUndoCollection(_swigobj) (_swigobj->GetUndoCollection()) | |
750 | static PyObject *_wrap_wxStyledTextCtrl_GetUndoCollection(PyObject *self, PyObject *args, PyObject *kwargs) { | |
751 | PyObject * _resultobj; | |
752 | bool _result; | |
753 | wxStyledTextCtrl * _arg0; | |
754 | PyObject * _argo0 = 0; | |
755 | char *_kwnames[] = { "self", NULL }; | |
756 | ||
757 | self = self; | |
758 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetUndoCollection",_kwnames,&_argo0)) | |
759 | return NULL; | |
760 | if (_argo0) { | |
761 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
762 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
763 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetUndoCollection. Expected _wxStyledTextCtrl_p."); | |
764 | return NULL; | |
765 | } | |
766 | } | |
767 | { | |
0e2ff151 | 768 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 769 | _result = (bool )wxStyledTextCtrl_GetUndoCollection(_arg0); |
8a2fa5c8 | 770 | |
0e2ff151 RD |
771 | wxPyEndAllowThreads(__tstate); |
772 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
773 | } _resultobj = Py_BuildValue("i",_result); |
774 | return _resultobj; | |
775 | } | |
776 | ||
777 | #define wxStyledTextCtrl_GetViewWhiteSpace(_swigobj) (_swigobj->GetViewWhiteSpace()) | |
778 | static PyObject *_wrap_wxStyledTextCtrl_GetViewWhiteSpace(PyObject *self, PyObject *args, PyObject *kwargs) { | |
779 | PyObject * _resultobj; | |
780 | int _result; | |
781 | wxStyledTextCtrl * _arg0; | |
782 | PyObject * _argo0 = 0; | |
783 | char *_kwnames[] = { "self", NULL }; | |
784 | ||
785 | self = self; | |
786 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetViewWhiteSpace",_kwnames,&_argo0)) | |
787 | return NULL; | |
788 | if (_argo0) { | |
789 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
790 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
791 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetViewWhiteSpace. Expected _wxStyledTextCtrl_p."); | |
792 | return NULL; | |
793 | } | |
794 | } | |
795 | { | |
0e2ff151 | 796 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 797 | _result = (int )wxStyledTextCtrl_GetViewWhiteSpace(_arg0); |
8a2fa5c8 | 798 | |
0e2ff151 RD |
799 | wxPyEndAllowThreads(__tstate); |
800 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
801 | } _resultobj = Py_BuildValue("i",_result); |
802 | return _resultobj; | |
803 | } | |
804 | ||
805 | #define wxStyledTextCtrl_SetViewWhiteSpace(_swigobj,_swigarg0) (_swigobj->SetViewWhiteSpace(_swigarg0)) | |
806 | static PyObject *_wrap_wxStyledTextCtrl_SetViewWhiteSpace(PyObject *self, PyObject *args, PyObject *kwargs) { | |
807 | PyObject * _resultobj; | |
808 | wxStyledTextCtrl * _arg0; | |
809 | int _arg1; | |
810 | PyObject * _argo0 = 0; | |
811 | char *_kwnames[] = { "self","viewWS", NULL }; | |
812 | ||
813 | self = self; | |
814 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_SetViewWhiteSpace",_kwnames,&_argo0,&_arg1)) | |
815 | return NULL; | |
816 | if (_argo0) { | |
817 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
818 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
819 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetViewWhiteSpace. Expected _wxStyledTextCtrl_p."); | |
820 | return NULL; | |
821 | } | |
822 | } | |
823 | { | |
0e2ff151 | 824 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 825 | wxStyledTextCtrl_SetViewWhiteSpace(_arg0,_arg1); |
8a2fa5c8 | 826 | |
0e2ff151 RD |
827 | wxPyEndAllowThreads(__tstate); |
828 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
829 | } Py_INCREF(Py_None); |
830 | _resultobj = Py_None; | |
831 | return _resultobj; | |
832 | } | |
833 | ||
834 | #define wxStyledTextCtrl_PositionFromPoint(_swigobj,_swigarg0) (_swigobj->PositionFromPoint(_swigarg0)) | |
835 | static PyObject *_wrap_wxStyledTextCtrl_PositionFromPoint(PyObject *self, PyObject *args, PyObject *kwargs) { | |
836 | PyObject * _resultobj; | |
837 | int _result; | |
838 | wxStyledTextCtrl * _arg0; | |
839 | wxPoint * _arg1; | |
840 | PyObject * _argo0 = 0; | |
841 | wxPoint temp; | |
842 | PyObject * _obj1 = 0; | |
843 | char *_kwnames[] = { "self","pt", NULL }; | |
844 | ||
845 | self = self; | |
846 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxStyledTextCtrl_PositionFromPoint",_kwnames,&_argo0,&_obj1)) | |
847 | return NULL; | |
848 | if (_argo0) { | |
849 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
850 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
851 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_PositionFromPoint. Expected _wxStyledTextCtrl_p."); | |
852 | return NULL; | |
853 | } | |
854 | } | |
855 | { | |
856 | _arg1 = &temp; | |
857 | if (! wxPoint_helper(_obj1, &_arg1)) | |
858 | return NULL; | |
859 | } | |
860 | { | |
0e2ff151 | 861 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 862 | _result = (int )wxStyledTextCtrl_PositionFromPoint(_arg0,*_arg1); |
8a2fa5c8 | 863 | |
0e2ff151 RD |
864 | wxPyEndAllowThreads(__tstate); |
865 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
866 | } _resultobj = Py_BuildValue("i",_result); |
867 | return _resultobj; | |
868 | } | |
869 | ||
870 | #define wxStyledTextCtrl_PositionFromPointClose(_swigobj,_swigarg0,_swigarg1) (_swigobj->PositionFromPointClose(_swigarg0,_swigarg1)) | |
871 | static PyObject *_wrap_wxStyledTextCtrl_PositionFromPointClose(PyObject *self, PyObject *args, PyObject *kwargs) { | |
872 | PyObject * _resultobj; | |
873 | int _result; | |
874 | wxStyledTextCtrl * _arg0; | |
875 | int _arg1; | |
876 | int _arg2; | |
877 | PyObject * _argo0 = 0; | |
878 | char *_kwnames[] = { "self","x","y", NULL }; | |
879 | ||
880 | self = self; | |
881 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxStyledTextCtrl_PositionFromPointClose",_kwnames,&_argo0,&_arg1,&_arg2)) | |
882 | return NULL; | |
883 | if (_argo0) { | |
884 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
885 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
886 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_PositionFromPointClose. Expected _wxStyledTextCtrl_p."); | |
887 | return NULL; | |
888 | } | |
889 | } | |
890 | { | |
0e2ff151 | 891 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 892 | _result = (int )wxStyledTextCtrl_PositionFromPointClose(_arg0,_arg1,_arg2); |
8a2fa5c8 | 893 | |
0e2ff151 RD |
894 | wxPyEndAllowThreads(__tstate); |
895 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
896 | } _resultobj = Py_BuildValue("i",_result); |
897 | return _resultobj; | |
898 | } | |
899 | ||
900 | #define wxStyledTextCtrl_GotoLine(_swigobj,_swigarg0) (_swigobj->GotoLine(_swigarg0)) | |
901 | static PyObject *_wrap_wxStyledTextCtrl_GotoLine(PyObject *self, PyObject *args, PyObject *kwargs) { | |
902 | PyObject * _resultobj; | |
903 | wxStyledTextCtrl * _arg0; | |
904 | int _arg1; | |
905 | PyObject * _argo0 = 0; | |
906 | char *_kwnames[] = { "self","line", NULL }; | |
907 | ||
908 | self = self; | |
909 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_GotoLine",_kwnames,&_argo0,&_arg1)) | |
910 | return NULL; | |
911 | if (_argo0) { | |
912 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
913 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
914 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GotoLine. Expected _wxStyledTextCtrl_p."); | |
915 | return NULL; | |
916 | } | |
917 | } | |
918 | { | |
0e2ff151 | 919 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 920 | wxStyledTextCtrl_GotoLine(_arg0,_arg1); |
8a2fa5c8 | 921 | |
0e2ff151 RD |
922 | wxPyEndAllowThreads(__tstate); |
923 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
924 | } Py_INCREF(Py_None); |
925 | _resultobj = Py_None; | |
926 | return _resultobj; | |
927 | } | |
928 | ||
929 | #define wxStyledTextCtrl_GotoPos(_swigobj,_swigarg0) (_swigobj->GotoPos(_swigarg0)) | |
930 | static PyObject *_wrap_wxStyledTextCtrl_GotoPos(PyObject *self, PyObject *args, PyObject *kwargs) { | |
931 | PyObject * _resultobj; | |
932 | wxStyledTextCtrl * _arg0; | |
933 | int _arg1; | |
934 | PyObject * _argo0 = 0; | |
935 | char *_kwnames[] = { "self","pos", NULL }; | |
936 | ||
937 | self = self; | |
938 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_GotoPos",_kwnames,&_argo0,&_arg1)) | |
939 | return NULL; | |
940 | if (_argo0) { | |
941 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
942 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
943 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GotoPos. Expected _wxStyledTextCtrl_p."); | |
944 | return NULL; | |
945 | } | |
946 | } | |
947 | { | |
0e2ff151 | 948 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 949 | wxStyledTextCtrl_GotoPos(_arg0,_arg1); |
8a2fa5c8 | 950 | |
0e2ff151 RD |
951 | wxPyEndAllowThreads(__tstate); |
952 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
953 | } Py_INCREF(Py_None); |
954 | _resultobj = Py_None; | |
955 | return _resultobj; | |
956 | } | |
957 | ||
958 | #define wxStyledTextCtrl_SetAnchor(_swigobj,_swigarg0) (_swigobj->SetAnchor(_swigarg0)) | |
959 | static PyObject *_wrap_wxStyledTextCtrl_SetAnchor(PyObject *self, PyObject *args, PyObject *kwargs) { | |
960 | PyObject * _resultobj; | |
961 | wxStyledTextCtrl * _arg0; | |
962 | int _arg1; | |
963 | PyObject * _argo0 = 0; | |
964 | char *_kwnames[] = { "self","posAnchor", NULL }; | |
965 | ||
966 | self = self; | |
967 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_SetAnchor",_kwnames,&_argo0,&_arg1)) | |
968 | return NULL; | |
969 | if (_argo0) { | |
970 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
971 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
972 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetAnchor. Expected _wxStyledTextCtrl_p."); | |
973 | return NULL; | |
974 | } | |
975 | } | |
976 | { | |
0e2ff151 | 977 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 978 | wxStyledTextCtrl_SetAnchor(_arg0,_arg1); |
8a2fa5c8 | 979 | |
0e2ff151 RD |
980 | wxPyEndAllowThreads(__tstate); |
981 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
982 | } Py_INCREF(Py_None); |
983 | _resultobj = Py_None; | |
984 | return _resultobj; | |
985 | } | |
986 | ||
987 | #define wxStyledTextCtrl_GetCurLine(_swigobj,_swigarg0) (_swigobj->GetCurLine(_swigarg0)) | |
988 | static PyObject *_wrap_wxStyledTextCtrl_GetCurLine(PyObject *self, PyObject *args, PyObject *kwargs) { | |
989 | PyObject * _resultobj; | |
990 | wxString * _result; | |
991 | wxStyledTextCtrl * _arg0; | |
992 | int * _arg1; | |
993 | int temp; | |
994 | PyObject * _argo0 = 0; | |
995 | char *_kwnames[] = { "self", NULL }; | |
996 | ||
997 | self = self; | |
998 | { | |
999 | _arg1 = &temp; | |
1000 | } | |
1001 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetCurLine",_kwnames,&_argo0)) | |
1002 | return NULL; | |
1003 | if (_argo0) { | |
1004 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1005 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
1006 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetCurLine. Expected _wxStyledTextCtrl_p."); | |
1007 | return NULL; | |
1008 | } | |
1009 | } | |
1010 | { | |
0e2ff151 | 1011 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 1012 | _result = new wxString (wxStyledTextCtrl_GetCurLine(_arg0,_arg1)); |
8a2fa5c8 | 1013 | |
0e2ff151 RD |
1014 | wxPyEndAllowThreads(__tstate); |
1015 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 | 1016 | }{ |
6824d4f9 RD |
1017 | #if wxUSE_UNICODE |
1018 | _resultobj = PyUnicode_FromUnicode(_result->c_str(), _result->Len()); | |
1019 | #else | |
8a2fa5c8 | 1020 | _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len()); |
6824d4f9 | 1021 | #endif |
8a2fa5c8 RD |
1022 | } |
1023 | { | |
1024 | PyObject *o; | |
1025 | o = PyInt_FromLong((long) (*_arg1)); | |
1026 | _resultobj = t_output_helper(_resultobj, o); | |
1027 | } | |
1028 | { | |
1029 | delete _result; | |
1030 | } | |
1031 | return _resultobj; | |
1032 | } | |
1033 | ||
1034 | #define wxStyledTextCtrl_GetEndStyled(_swigobj) (_swigobj->GetEndStyled()) | |
1035 | static PyObject *_wrap_wxStyledTextCtrl_GetEndStyled(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1036 | PyObject * _resultobj; | |
1037 | int _result; | |
1038 | wxStyledTextCtrl * _arg0; | |
1039 | PyObject * _argo0 = 0; | |
1040 | char *_kwnames[] = { "self", NULL }; | |
1041 | ||
1042 | self = self; | |
1043 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetEndStyled",_kwnames,&_argo0)) | |
1044 | return NULL; | |
1045 | if (_argo0) { | |
1046 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1047 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
1048 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetEndStyled. Expected _wxStyledTextCtrl_p."); | |
1049 | return NULL; | |
1050 | } | |
1051 | } | |
1052 | { | |
0e2ff151 | 1053 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 1054 | _result = (int )wxStyledTextCtrl_GetEndStyled(_arg0); |
8a2fa5c8 | 1055 | |
0e2ff151 RD |
1056 | wxPyEndAllowThreads(__tstate); |
1057 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
1058 | } _resultobj = Py_BuildValue("i",_result); |
1059 | return _resultobj; | |
1060 | } | |
1061 | ||
1062 | #define wxStyledTextCtrl_ConvertEOLs(_swigobj,_swigarg0) (_swigobj->ConvertEOLs(_swigarg0)) | |
1063 | static PyObject *_wrap_wxStyledTextCtrl_ConvertEOLs(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1064 | PyObject * _resultobj; | |
1065 | wxStyledTextCtrl * _arg0; | |
1066 | int _arg1; | |
1067 | PyObject * _argo0 = 0; | |
1068 | char *_kwnames[] = { "self","eolMode", NULL }; | |
1069 | ||
1070 | self = self; | |
1071 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_ConvertEOLs",_kwnames,&_argo0,&_arg1)) | |
1072 | return NULL; | |
1073 | if (_argo0) { | |
1074 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1075 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
1076 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_ConvertEOLs. Expected _wxStyledTextCtrl_p."); | |
1077 | return NULL; | |
1078 | } | |
1079 | } | |
1080 | { | |
0e2ff151 | 1081 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 1082 | wxStyledTextCtrl_ConvertEOLs(_arg0,_arg1); |
8a2fa5c8 | 1083 | |
0e2ff151 RD |
1084 | wxPyEndAllowThreads(__tstate); |
1085 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
1086 | } Py_INCREF(Py_None); |
1087 | _resultobj = Py_None; | |
1088 | return _resultobj; | |
1089 | } | |
1090 | ||
1091 | #define wxStyledTextCtrl_GetEOLMode(_swigobj) (_swigobj->GetEOLMode()) | |
1092 | static PyObject *_wrap_wxStyledTextCtrl_GetEOLMode(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1093 | PyObject * _resultobj; | |
1094 | int _result; | |
1095 | wxStyledTextCtrl * _arg0; | |
1096 | PyObject * _argo0 = 0; | |
1097 | char *_kwnames[] = { "self", NULL }; | |
1098 | ||
1099 | self = self; | |
1100 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetEOLMode",_kwnames,&_argo0)) | |
1101 | return NULL; | |
1102 | if (_argo0) { | |
1103 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1104 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
1105 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetEOLMode. Expected _wxStyledTextCtrl_p."); | |
1106 | return NULL; | |
1107 | } | |
1108 | } | |
1109 | { | |
0e2ff151 | 1110 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 1111 | _result = (int )wxStyledTextCtrl_GetEOLMode(_arg0); |
8a2fa5c8 | 1112 | |
0e2ff151 RD |
1113 | wxPyEndAllowThreads(__tstate); |
1114 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
1115 | } _resultobj = Py_BuildValue("i",_result); |
1116 | return _resultobj; | |
1117 | } | |
1118 | ||
1119 | #define wxStyledTextCtrl_SetEOLMode(_swigobj,_swigarg0) (_swigobj->SetEOLMode(_swigarg0)) | |
1120 | static PyObject *_wrap_wxStyledTextCtrl_SetEOLMode(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1121 | PyObject * _resultobj; | |
1122 | wxStyledTextCtrl * _arg0; | |
1123 | int _arg1; | |
1124 | PyObject * _argo0 = 0; | |
1125 | char *_kwnames[] = { "self","eolMode", NULL }; | |
1126 | ||
1127 | self = self; | |
1128 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_SetEOLMode",_kwnames,&_argo0,&_arg1)) | |
1129 | return NULL; | |
1130 | if (_argo0) { | |
1131 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1132 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
1133 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetEOLMode. Expected _wxStyledTextCtrl_p."); | |
1134 | return NULL; | |
1135 | } | |
1136 | } | |
1137 | { | |
0e2ff151 | 1138 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 1139 | wxStyledTextCtrl_SetEOLMode(_arg0,_arg1); |
8a2fa5c8 | 1140 | |
0e2ff151 RD |
1141 | wxPyEndAllowThreads(__tstate); |
1142 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
1143 | } Py_INCREF(Py_None); |
1144 | _resultobj = Py_None; | |
1145 | return _resultobj; | |
1146 | } | |
1147 | ||
1148 | #define wxStyledTextCtrl_StartStyling(_swigobj,_swigarg0,_swigarg1) (_swigobj->StartStyling(_swigarg0,_swigarg1)) | |
1149 | static PyObject *_wrap_wxStyledTextCtrl_StartStyling(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1150 | PyObject * _resultobj; | |
1151 | wxStyledTextCtrl * _arg0; | |
1152 | int _arg1; | |
1153 | int _arg2; | |
1154 | PyObject * _argo0 = 0; | |
1155 | char *_kwnames[] = { "self","pos","mask", NULL }; | |
1156 | ||
1157 | self = self; | |
1158 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxStyledTextCtrl_StartStyling",_kwnames,&_argo0,&_arg1,&_arg2)) | |
1159 | return NULL; | |
1160 | if (_argo0) { | |
1161 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1162 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
1163 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_StartStyling. Expected _wxStyledTextCtrl_p."); | |
1164 | return NULL; | |
1165 | } | |
1166 | } | |
1167 | { | |
0e2ff151 | 1168 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 1169 | wxStyledTextCtrl_StartStyling(_arg0,_arg1,_arg2); |
8a2fa5c8 | 1170 | |
0e2ff151 RD |
1171 | wxPyEndAllowThreads(__tstate); |
1172 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
1173 | } Py_INCREF(Py_None); |
1174 | _resultobj = Py_None; | |
1175 | return _resultobj; | |
1176 | } | |
1177 | ||
1178 | #define wxStyledTextCtrl_SetStyling(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetStyling(_swigarg0,_swigarg1)) | |
1179 | static PyObject *_wrap_wxStyledTextCtrl_SetStyling(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1180 | PyObject * _resultobj; | |
1181 | wxStyledTextCtrl * _arg0; | |
1182 | int _arg1; | |
1183 | int _arg2; | |
1184 | PyObject * _argo0 = 0; | |
1185 | char *_kwnames[] = { "self","length","style", NULL }; | |
1186 | ||
1187 | self = self; | |
1188 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxStyledTextCtrl_SetStyling",_kwnames,&_argo0,&_arg1,&_arg2)) | |
1189 | return NULL; | |
1190 | if (_argo0) { | |
1191 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1192 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
1193 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetStyling. Expected _wxStyledTextCtrl_p."); | |
1194 | return NULL; | |
1195 | } | |
1196 | } | |
1197 | { | |
0e2ff151 | 1198 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 1199 | wxStyledTextCtrl_SetStyling(_arg0,_arg1,_arg2); |
8a2fa5c8 | 1200 | |
0e2ff151 RD |
1201 | wxPyEndAllowThreads(__tstate); |
1202 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
1203 | } Py_INCREF(Py_None); |
1204 | _resultobj = Py_None; | |
1205 | return _resultobj; | |
1206 | } | |
1207 | ||
1208 | #define wxStyledTextCtrl_GetBufferedDraw(_swigobj) (_swigobj->GetBufferedDraw()) | |
1209 | static PyObject *_wrap_wxStyledTextCtrl_GetBufferedDraw(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1210 | PyObject * _resultobj; | |
1211 | bool _result; | |
1212 | wxStyledTextCtrl * _arg0; | |
1213 | PyObject * _argo0 = 0; | |
1214 | char *_kwnames[] = { "self", NULL }; | |
1215 | ||
1216 | self = self; | |
1217 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetBufferedDraw",_kwnames,&_argo0)) | |
1218 | return NULL; | |
1219 | if (_argo0) { | |
1220 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1221 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
1222 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetBufferedDraw. Expected _wxStyledTextCtrl_p."); | |
1223 | return NULL; | |
1224 | } | |
1225 | } | |
1226 | { | |
0e2ff151 | 1227 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 1228 | _result = (bool )wxStyledTextCtrl_GetBufferedDraw(_arg0); |
8a2fa5c8 | 1229 | |
0e2ff151 RD |
1230 | wxPyEndAllowThreads(__tstate); |
1231 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
1232 | } _resultobj = Py_BuildValue("i",_result); |
1233 | return _resultobj; | |
1234 | } | |
1235 | ||
1236 | #define wxStyledTextCtrl_SetBufferedDraw(_swigobj,_swigarg0) (_swigobj->SetBufferedDraw(_swigarg0)) | |
1237 | static PyObject *_wrap_wxStyledTextCtrl_SetBufferedDraw(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1238 | PyObject * _resultobj; | |
1239 | wxStyledTextCtrl * _arg0; | |
1240 | bool _arg1; | |
1241 | PyObject * _argo0 = 0; | |
1242 | int tempbool1; | |
1243 | char *_kwnames[] = { "self","buffered", NULL }; | |
1244 | ||
1245 | self = self; | |
1246 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_SetBufferedDraw",_kwnames,&_argo0,&tempbool1)) | |
1247 | return NULL; | |
1248 | if (_argo0) { | |
1249 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1250 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
1251 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetBufferedDraw. Expected _wxStyledTextCtrl_p."); | |
1252 | return NULL; | |
1253 | } | |
1254 | } | |
1255 | _arg1 = (bool ) tempbool1; | |
1256 | { | |
0e2ff151 | 1257 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 1258 | wxStyledTextCtrl_SetBufferedDraw(_arg0,_arg1); |
8a2fa5c8 | 1259 | |
0e2ff151 RD |
1260 | wxPyEndAllowThreads(__tstate); |
1261 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
1262 | } Py_INCREF(Py_None); |
1263 | _resultobj = Py_None; | |
1264 | return _resultobj; | |
1265 | } | |
1266 | ||
1267 | #define wxStyledTextCtrl_SetTabWidth(_swigobj,_swigarg0) (_swigobj->SetTabWidth(_swigarg0)) | |
1268 | static PyObject *_wrap_wxStyledTextCtrl_SetTabWidth(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1269 | PyObject * _resultobj; | |
1270 | wxStyledTextCtrl * _arg0; | |
1271 | int _arg1; | |
1272 | PyObject * _argo0 = 0; | |
1273 | char *_kwnames[] = { "self","tabWidth", NULL }; | |
1274 | ||
1275 | self = self; | |
1276 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_SetTabWidth",_kwnames,&_argo0,&_arg1)) | |
1277 | return NULL; | |
1278 | if (_argo0) { | |
1279 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1280 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
1281 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetTabWidth. Expected _wxStyledTextCtrl_p."); | |
1282 | return NULL; | |
1283 | } | |
1284 | } | |
1285 | { | |
0e2ff151 | 1286 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 1287 | wxStyledTextCtrl_SetTabWidth(_arg0,_arg1); |
8a2fa5c8 | 1288 | |
0e2ff151 RD |
1289 | wxPyEndAllowThreads(__tstate); |
1290 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
1291 | } Py_INCREF(Py_None); |
1292 | _resultobj = Py_None; | |
1293 | return _resultobj; | |
1294 | } | |
1295 | ||
1296 | #define wxStyledTextCtrl_GetTabWidth(_swigobj) (_swigobj->GetTabWidth()) | |
1297 | static PyObject *_wrap_wxStyledTextCtrl_GetTabWidth(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1298 | PyObject * _resultobj; | |
1299 | int _result; | |
1300 | wxStyledTextCtrl * _arg0; | |
1301 | PyObject * _argo0 = 0; | |
1302 | char *_kwnames[] = { "self", NULL }; | |
1303 | ||
1304 | self = self; | |
1305 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetTabWidth",_kwnames,&_argo0)) | |
1306 | return NULL; | |
1307 | if (_argo0) { | |
1308 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1309 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
1310 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetTabWidth. Expected _wxStyledTextCtrl_p."); | |
1311 | return NULL; | |
1312 | } | |
1313 | } | |
1314 | { | |
0e2ff151 | 1315 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 1316 | _result = (int )wxStyledTextCtrl_GetTabWidth(_arg0); |
8a2fa5c8 | 1317 | |
0e2ff151 RD |
1318 | wxPyEndAllowThreads(__tstate); |
1319 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
1320 | } _resultobj = Py_BuildValue("i",_result); |
1321 | return _resultobj; | |
1322 | } | |
1323 | ||
1324 | #define wxStyledTextCtrl_SetCodePage(_swigobj,_swigarg0) (_swigobj->SetCodePage(_swigarg0)) | |
1325 | static PyObject *_wrap_wxStyledTextCtrl_SetCodePage(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1326 | PyObject * _resultobj; | |
1327 | wxStyledTextCtrl * _arg0; | |
1328 | int _arg1; | |
1329 | PyObject * _argo0 = 0; | |
1330 | char *_kwnames[] = { "self","codePage", NULL }; | |
1331 | ||
1332 | self = self; | |
1333 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_SetCodePage",_kwnames,&_argo0,&_arg1)) | |
1334 | return NULL; | |
1335 | if (_argo0) { | |
1336 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1337 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
1338 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetCodePage. Expected _wxStyledTextCtrl_p."); | |
1339 | return NULL; | |
1340 | } | |
1341 | } | |
1342 | { | |
0e2ff151 | 1343 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 1344 | wxStyledTextCtrl_SetCodePage(_arg0,_arg1); |
8a2fa5c8 | 1345 | |
0e2ff151 RD |
1346 | wxPyEndAllowThreads(__tstate); |
1347 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
1348 | } Py_INCREF(Py_None); |
1349 | _resultobj = Py_None; | |
1350 | return _resultobj; | |
1351 | } | |
1352 | ||
1353 | #define wxStyledTextCtrl_MarkerDefine(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->MarkerDefine(_swigarg0,_swigarg1,_swigarg2,_swigarg3)) | |
1354 | static PyObject *_wrap_wxStyledTextCtrl_MarkerDefine(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1355 | PyObject * _resultobj; | |
1356 | wxStyledTextCtrl * _arg0; | |
1357 | int _arg1; | |
1358 | int _arg2; | |
1359 | wxColour * _arg3 = (wxColour *) &wxNullColour; | |
1360 | wxColour * _arg4 = (wxColour *) &wxNullColour; | |
1361 | PyObject * _argo0 = 0; | |
1362 | wxColour temp; | |
1363 | PyObject * _obj3 = 0; | |
1364 | wxColour temp0; | |
1365 | PyObject * _obj4 = 0; | |
1366 | char *_kwnames[] = { "self","markerNumber","markerSymbol","foreground","background", NULL }; | |
1367 | ||
1368 | self = self; | |
1369 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii|OO:wxStyledTextCtrl_MarkerDefine",_kwnames,&_argo0,&_arg1,&_arg2,&_obj3,&_obj4)) | |
1370 | return NULL; | |
1371 | if (_argo0) { | |
1372 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1373 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
1374 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_MarkerDefine. Expected _wxStyledTextCtrl_p."); | |
1375 | return NULL; | |
1376 | } | |
1377 | } | |
1378 | if (_obj3) | |
1379 | { | |
1380 | _arg3 = &temp; | |
1381 | if (! wxColour_helper(_obj3, &_arg3)) | |
1382 | return NULL; | |
1383 | } | |
1384 | if (_obj4) | |
1385 | { | |
1386 | _arg4 = &temp0; | |
1387 | if (! wxColour_helper(_obj4, &_arg4)) | |
1388 | return NULL; | |
1389 | } | |
1390 | { | |
0e2ff151 | 1391 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 1392 | wxStyledTextCtrl_MarkerDefine(_arg0,_arg1,_arg2,*_arg3,*_arg4); |
8a2fa5c8 | 1393 | |
0e2ff151 RD |
1394 | wxPyEndAllowThreads(__tstate); |
1395 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
1396 | } Py_INCREF(Py_None); |
1397 | _resultobj = Py_None; | |
1398 | return _resultobj; | |
1399 | } | |
1400 | ||
1401 | #define wxStyledTextCtrl_MarkerSetForeground(_swigobj,_swigarg0,_swigarg1) (_swigobj->MarkerSetForeground(_swigarg0,_swigarg1)) | |
1402 | static PyObject *_wrap_wxStyledTextCtrl_MarkerSetForeground(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1403 | PyObject * _resultobj; | |
1404 | wxStyledTextCtrl * _arg0; | |
1405 | int _arg1; | |
1406 | wxColour * _arg2; | |
1407 | PyObject * _argo0 = 0; | |
1408 | wxColour temp; | |
1409 | PyObject * _obj2 = 0; | |
1410 | char *_kwnames[] = { "self","markerNumber","fore", NULL }; | |
1411 | ||
1412 | self = self; | |
1413 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxStyledTextCtrl_MarkerSetForeground",_kwnames,&_argo0,&_arg1,&_obj2)) | |
1414 | return NULL; | |
1415 | if (_argo0) { | |
1416 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1417 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
1418 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_MarkerSetForeground. Expected _wxStyledTextCtrl_p."); | |
1419 | return NULL; | |
1420 | } | |
1421 | } | |
1422 | { | |
1423 | _arg2 = &temp; | |
1424 | if (! wxColour_helper(_obj2, &_arg2)) | |
1425 | return NULL; | |
1426 | } | |
1427 | { | |
0e2ff151 | 1428 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 1429 | wxStyledTextCtrl_MarkerSetForeground(_arg0,_arg1,*_arg2); |
8a2fa5c8 | 1430 | |
0e2ff151 RD |
1431 | wxPyEndAllowThreads(__tstate); |
1432 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
1433 | } Py_INCREF(Py_None); |
1434 | _resultobj = Py_None; | |
1435 | return _resultobj; | |
1436 | } | |
1437 | ||
1438 | #define wxStyledTextCtrl_MarkerSetBackground(_swigobj,_swigarg0,_swigarg1) (_swigobj->MarkerSetBackground(_swigarg0,_swigarg1)) | |
1439 | static PyObject *_wrap_wxStyledTextCtrl_MarkerSetBackground(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1440 | PyObject * _resultobj; | |
1441 | wxStyledTextCtrl * _arg0; | |
1442 | int _arg1; | |
1443 | wxColour * _arg2; | |
1444 | PyObject * _argo0 = 0; | |
1445 | wxColour temp; | |
1446 | PyObject * _obj2 = 0; | |
1447 | char *_kwnames[] = { "self","markerNumber","back", NULL }; | |
1448 | ||
1449 | self = self; | |
1450 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxStyledTextCtrl_MarkerSetBackground",_kwnames,&_argo0,&_arg1,&_obj2)) | |
1451 | return NULL; | |
1452 | if (_argo0) { | |
1453 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1454 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
1455 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_MarkerSetBackground. Expected _wxStyledTextCtrl_p."); | |
1456 | return NULL; | |
1457 | } | |
1458 | } | |
1459 | { | |
1460 | _arg2 = &temp; | |
1461 | if (! wxColour_helper(_obj2, &_arg2)) | |
1462 | return NULL; | |
1463 | } | |
1464 | { | |
0e2ff151 | 1465 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 1466 | wxStyledTextCtrl_MarkerSetBackground(_arg0,_arg1,*_arg2); |
8a2fa5c8 | 1467 | |
0e2ff151 RD |
1468 | wxPyEndAllowThreads(__tstate); |
1469 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
1470 | } Py_INCREF(Py_None); |
1471 | _resultobj = Py_None; | |
1472 | return _resultobj; | |
1473 | } | |
1474 | ||
1475 | #define wxStyledTextCtrl_MarkerAdd(_swigobj,_swigarg0,_swigarg1) (_swigobj->MarkerAdd(_swigarg0,_swigarg1)) | |
1476 | static PyObject *_wrap_wxStyledTextCtrl_MarkerAdd(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1477 | PyObject * _resultobj; | |
c3bfa1cb | 1478 | int _result; |
8a2fa5c8 RD |
1479 | wxStyledTextCtrl * _arg0; |
1480 | int _arg1; | |
1481 | int _arg2; | |
1482 | PyObject * _argo0 = 0; | |
1483 | char *_kwnames[] = { "self","line","markerNumber", NULL }; | |
1484 | ||
1485 | self = self; | |
1486 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxStyledTextCtrl_MarkerAdd",_kwnames,&_argo0,&_arg1,&_arg2)) | |
1487 | return NULL; | |
1488 | if (_argo0) { | |
1489 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1490 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
1491 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_MarkerAdd. Expected _wxStyledTextCtrl_p."); | |
1492 | return NULL; | |
1493 | } | |
1494 | } | |
1495 | { | |
0e2ff151 | 1496 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c3bfa1cb | 1497 | _result = (int )wxStyledTextCtrl_MarkerAdd(_arg0,_arg1,_arg2); |
8a2fa5c8 | 1498 | |
0e2ff151 RD |
1499 | wxPyEndAllowThreads(__tstate); |
1500 | if (PyErr_Occurred()) return NULL; | |
c3bfa1cb | 1501 | } _resultobj = Py_BuildValue("i",_result); |
8a2fa5c8 RD |
1502 | return _resultobj; |
1503 | } | |
1504 | ||
1505 | #define wxStyledTextCtrl_MarkerDelete(_swigobj,_swigarg0,_swigarg1) (_swigobj->MarkerDelete(_swigarg0,_swigarg1)) | |
1506 | static PyObject *_wrap_wxStyledTextCtrl_MarkerDelete(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1507 | PyObject * _resultobj; | |
1508 | wxStyledTextCtrl * _arg0; | |
1509 | int _arg1; | |
1510 | int _arg2; | |
1511 | PyObject * _argo0 = 0; | |
1512 | char *_kwnames[] = { "self","line","markerNumber", NULL }; | |
1513 | ||
1514 | self = self; | |
1515 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxStyledTextCtrl_MarkerDelete",_kwnames,&_argo0,&_arg1,&_arg2)) | |
1516 | return NULL; | |
1517 | if (_argo0) { | |
1518 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1519 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
1520 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_MarkerDelete. Expected _wxStyledTextCtrl_p."); | |
1521 | return NULL; | |
1522 | } | |
1523 | } | |
1524 | { | |
0e2ff151 | 1525 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 1526 | wxStyledTextCtrl_MarkerDelete(_arg0,_arg1,_arg2); |
8a2fa5c8 | 1527 | |
0e2ff151 RD |
1528 | wxPyEndAllowThreads(__tstate); |
1529 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
1530 | } Py_INCREF(Py_None); |
1531 | _resultobj = Py_None; | |
1532 | return _resultobj; | |
1533 | } | |
1534 | ||
1535 | #define wxStyledTextCtrl_MarkerDeleteAll(_swigobj,_swigarg0) (_swigobj->MarkerDeleteAll(_swigarg0)) | |
1536 | static PyObject *_wrap_wxStyledTextCtrl_MarkerDeleteAll(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1537 | PyObject * _resultobj; | |
1538 | wxStyledTextCtrl * _arg0; | |
1539 | int _arg1; | |
1540 | PyObject * _argo0 = 0; | |
1541 | char *_kwnames[] = { "self","markerNumber", NULL }; | |
1542 | ||
1543 | self = self; | |
1544 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_MarkerDeleteAll",_kwnames,&_argo0,&_arg1)) | |
1545 | return NULL; | |
1546 | if (_argo0) { | |
1547 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1548 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
1549 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_MarkerDeleteAll. Expected _wxStyledTextCtrl_p."); | |
1550 | return NULL; | |
1551 | } | |
1552 | } | |
1553 | { | |
0e2ff151 | 1554 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 1555 | wxStyledTextCtrl_MarkerDeleteAll(_arg0,_arg1); |
8a2fa5c8 | 1556 | |
0e2ff151 RD |
1557 | wxPyEndAllowThreads(__tstate); |
1558 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
1559 | } Py_INCREF(Py_None); |
1560 | _resultobj = Py_None; | |
1561 | return _resultobj; | |
1562 | } | |
1563 | ||
1564 | #define wxStyledTextCtrl_MarkerGet(_swigobj,_swigarg0) (_swigobj->MarkerGet(_swigarg0)) | |
1565 | static PyObject *_wrap_wxStyledTextCtrl_MarkerGet(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1566 | PyObject * _resultobj; | |
1567 | int _result; | |
1568 | wxStyledTextCtrl * _arg0; | |
1569 | int _arg1; | |
1570 | PyObject * _argo0 = 0; | |
1571 | char *_kwnames[] = { "self","line", NULL }; | |
1572 | ||
1573 | self = self; | |
1574 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_MarkerGet",_kwnames,&_argo0,&_arg1)) | |
1575 | return NULL; | |
1576 | if (_argo0) { | |
1577 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1578 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
1579 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_MarkerGet. Expected _wxStyledTextCtrl_p."); | |
1580 | return NULL; | |
1581 | } | |
1582 | } | |
1583 | { | |
0e2ff151 | 1584 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 1585 | _result = (int )wxStyledTextCtrl_MarkerGet(_arg0,_arg1); |
8a2fa5c8 | 1586 | |
0e2ff151 RD |
1587 | wxPyEndAllowThreads(__tstate); |
1588 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
1589 | } _resultobj = Py_BuildValue("i",_result); |
1590 | return _resultobj; | |
1591 | } | |
1592 | ||
1593 | #define wxStyledTextCtrl_MarkerNext(_swigobj,_swigarg0,_swigarg1) (_swigobj->MarkerNext(_swigarg0,_swigarg1)) | |
1594 | static PyObject *_wrap_wxStyledTextCtrl_MarkerNext(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1595 | PyObject * _resultobj; | |
1596 | int _result; | |
1597 | wxStyledTextCtrl * _arg0; | |
1598 | int _arg1; | |
1599 | int _arg2; | |
1600 | PyObject * _argo0 = 0; | |
1601 | char *_kwnames[] = { "self","lineStart","markerMask", NULL }; | |
1602 | ||
1603 | self = self; | |
1604 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxStyledTextCtrl_MarkerNext",_kwnames,&_argo0,&_arg1,&_arg2)) | |
1605 | return NULL; | |
1606 | if (_argo0) { | |
1607 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1608 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
1609 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_MarkerNext. Expected _wxStyledTextCtrl_p."); | |
1610 | return NULL; | |
1611 | } | |
1612 | } | |
1613 | { | |
0e2ff151 | 1614 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 1615 | _result = (int )wxStyledTextCtrl_MarkerNext(_arg0,_arg1,_arg2); |
8a2fa5c8 | 1616 | |
0e2ff151 RD |
1617 | wxPyEndAllowThreads(__tstate); |
1618 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
1619 | } _resultobj = Py_BuildValue("i",_result); |
1620 | return _resultobj; | |
1621 | } | |
1622 | ||
1623 | #define wxStyledTextCtrl_MarkerPrevious(_swigobj,_swigarg0,_swigarg1) (_swigobj->MarkerPrevious(_swigarg0,_swigarg1)) | |
1624 | static PyObject *_wrap_wxStyledTextCtrl_MarkerPrevious(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1625 | PyObject * _resultobj; | |
1626 | int _result; | |
1627 | wxStyledTextCtrl * _arg0; | |
1628 | int _arg1; | |
1629 | int _arg2; | |
1630 | PyObject * _argo0 = 0; | |
1631 | char *_kwnames[] = { "self","lineStart","markerMask", NULL }; | |
1632 | ||
1633 | self = self; | |
1634 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxStyledTextCtrl_MarkerPrevious",_kwnames,&_argo0,&_arg1,&_arg2)) | |
1635 | return NULL; | |
1636 | if (_argo0) { | |
1637 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1638 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
1639 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_MarkerPrevious. Expected _wxStyledTextCtrl_p."); | |
1640 | return NULL; | |
1641 | } | |
1642 | } | |
1643 | { | |
0e2ff151 | 1644 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 1645 | _result = (int )wxStyledTextCtrl_MarkerPrevious(_arg0,_arg1,_arg2); |
8a2fa5c8 | 1646 | |
0e2ff151 RD |
1647 | wxPyEndAllowThreads(__tstate); |
1648 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
1649 | } _resultobj = Py_BuildValue("i",_result); |
1650 | return _resultobj; | |
1651 | } | |
1652 | ||
1653 | #define wxStyledTextCtrl_SetMarginType(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetMarginType(_swigarg0,_swigarg1)) | |
1654 | static PyObject *_wrap_wxStyledTextCtrl_SetMarginType(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1655 | PyObject * _resultobj; | |
1656 | wxStyledTextCtrl * _arg0; | |
1657 | int _arg1; | |
1658 | int _arg2; | |
1659 | PyObject * _argo0 = 0; | |
1660 | char *_kwnames[] = { "self","margin","marginType", NULL }; | |
1661 | ||
1662 | self = self; | |
1663 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxStyledTextCtrl_SetMarginType",_kwnames,&_argo0,&_arg1,&_arg2)) | |
1664 | return NULL; | |
1665 | if (_argo0) { | |
1666 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1667 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
1668 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetMarginType. Expected _wxStyledTextCtrl_p."); | |
1669 | return NULL; | |
1670 | } | |
1671 | } | |
1672 | { | |
0e2ff151 | 1673 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 1674 | wxStyledTextCtrl_SetMarginType(_arg0,_arg1,_arg2); |
8a2fa5c8 | 1675 | |
0e2ff151 RD |
1676 | wxPyEndAllowThreads(__tstate); |
1677 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
1678 | } Py_INCREF(Py_None); |
1679 | _resultobj = Py_None; | |
1680 | return _resultobj; | |
1681 | } | |
1682 | ||
1683 | #define wxStyledTextCtrl_GetMarginType(_swigobj,_swigarg0) (_swigobj->GetMarginType(_swigarg0)) | |
1684 | static PyObject *_wrap_wxStyledTextCtrl_GetMarginType(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1685 | PyObject * _resultobj; | |
1686 | int _result; | |
1687 | wxStyledTextCtrl * _arg0; | |
1688 | int _arg1; | |
1689 | PyObject * _argo0 = 0; | |
1690 | char *_kwnames[] = { "self","margin", NULL }; | |
1691 | ||
1692 | self = self; | |
1693 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_GetMarginType",_kwnames,&_argo0,&_arg1)) | |
1694 | return NULL; | |
1695 | if (_argo0) { | |
1696 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1697 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
1698 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetMarginType. Expected _wxStyledTextCtrl_p."); | |
1699 | return NULL; | |
1700 | } | |
1701 | } | |
1702 | { | |
0e2ff151 | 1703 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 1704 | _result = (int )wxStyledTextCtrl_GetMarginType(_arg0,_arg1); |
8a2fa5c8 | 1705 | |
0e2ff151 RD |
1706 | wxPyEndAllowThreads(__tstate); |
1707 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
1708 | } _resultobj = Py_BuildValue("i",_result); |
1709 | return _resultobj; | |
1710 | } | |
1711 | ||
1712 | #define wxStyledTextCtrl_SetMarginWidth(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetMarginWidth(_swigarg0,_swigarg1)) | |
1713 | static PyObject *_wrap_wxStyledTextCtrl_SetMarginWidth(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1714 | PyObject * _resultobj; | |
1715 | wxStyledTextCtrl * _arg0; | |
1716 | int _arg1; | |
1717 | int _arg2; | |
1718 | PyObject * _argo0 = 0; | |
1719 | char *_kwnames[] = { "self","margin","pixelWidth", NULL }; | |
1720 | ||
1721 | self = self; | |
1722 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxStyledTextCtrl_SetMarginWidth",_kwnames,&_argo0,&_arg1,&_arg2)) | |
1723 | return NULL; | |
1724 | if (_argo0) { | |
1725 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1726 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
1727 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetMarginWidth. Expected _wxStyledTextCtrl_p."); | |
1728 | return NULL; | |
1729 | } | |
1730 | } | |
1731 | { | |
0e2ff151 | 1732 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 1733 | wxStyledTextCtrl_SetMarginWidth(_arg0,_arg1,_arg2); |
8a2fa5c8 | 1734 | |
0e2ff151 RD |
1735 | wxPyEndAllowThreads(__tstate); |
1736 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
1737 | } Py_INCREF(Py_None); |
1738 | _resultobj = Py_None; | |
1739 | return _resultobj; | |
1740 | } | |
1741 | ||
1742 | #define wxStyledTextCtrl_GetMarginWidth(_swigobj,_swigarg0) (_swigobj->GetMarginWidth(_swigarg0)) | |
1743 | static PyObject *_wrap_wxStyledTextCtrl_GetMarginWidth(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1744 | PyObject * _resultobj; | |
1745 | int _result; | |
1746 | wxStyledTextCtrl * _arg0; | |
1747 | int _arg1; | |
1748 | PyObject * _argo0 = 0; | |
1749 | char *_kwnames[] = { "self","margin", NULL }; | |
1750 | ||
1751 | self = self; | |
1752 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_GetMarginWidth",_kwnames,&_argo0,&_arg1)) | |
1753 | return NULL; | |
1754 | if (_argo0) { | |
1755 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1756 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
1757 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetMarginWidth. Expected _wxStyledTextCtrl_p."); | |
1758 | return NULL; | |
1759 | } | |
1760 | } | |
1761 | { | |
0e2ff151 | 1762 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 1763 | _result = (int )wxStyledTextCtrl_GetMarginWidth(_arg0,_arg1); |
8a2fa5c8 | 1764 | |
0e2ff151 RD |
1765 | wxPyEndAllowThreads(__tstate); |
1766 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
1767 | } _resultobj = Py_BuildValue("i",_result); |
1768 | return _resultobj; | |
1769 | } | |
1770 | ||
1771 | #define wxStyledTextCtrl_SetMarginMask(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetMarginMask(_swigarg0,_swigarg1)) | |
1772 | static PyObject *_wrap_wxStyledTextCtrl_SetMarginMask(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1773 | PyObject * _resultobj; | |
1774 | wxStyledTextCtrl * _arg0; | |
1775 | int _arg1; | |
1776 | int _arg2; | |
1777 | PyObject * _argo0 = 0; | |
1778 | char *_kwnames[] = { "self","margin","mask", NULL }; | |
1779 | ||
1780 | self = self; | |
1781 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxStyledTextCtrl_SetMarginMask",_kwnames,&_argo0,&_arg1,&_arg2)) | |
1782 | return NULL; | |
1783 | if (_argo0) { | |
1784 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1785 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
1786 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetMarginMask. Expected _wxStyledTextCtrl_p."); | |
1787 | return NULL; | |
1788 | } | |
1789 | } | |
1790 | { | |
0e2ff151 | 1791 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 1792 | wxStyledTextCtrl_SetMarginMask(_arg0,_arg1,_arg2); |
8a2fa5c8 | 1793 | |
0e2ff151 RD |
1794 | wxPyEndAllowThreads(__tstate); |
1795 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
1796 | } Py_INCREF(Py_None); |
1797 | _resultobj = Py_None; | |
1798 | return _resultobj; | |
1799 | } | |
1800 | ||
1801 | #define wxStyledTextCtrl_GetMarginMask(_swigobj,_swigarg0) (_swigobj->GetMarginMask(_swigarg0)) | |
1802 | static PyObject *_wrap_wxStyledTextCtrl_GetMarginMask(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1803 | PyObject * _resultobj; | |
1804 | int _result; | |
1805 | wxStyledTextCtrl * _arg0; | |
1806 | int _arg1; | |
1807 | PyObject * _argo0 = 0; | |
1808 | char *_kwnames[] = { "self","margin", NULL }; | |
1809 | ||
1810 | self = self; | |
1811 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_GetMarginMask",_kwnames,&_argo0,&_arg1)) | |
1812 | return NULL; | |
1813 | if (_argo0) { | |
1814 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1815 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
1816 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetMarginMask. Expected _wxStyledTextCtrl_p."); | |
1817 | return NULL; | |
1818 | } | |
1819 | } | |
1820 | { | |
0e2ff151 | 1821 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 1822 | _result = (int )wxStyledTextCtrl_GetMarginMask(_arg0,_arg1); |
8a2fa5c8 | 1823 | |
0e2ff151 RD |
1824 | wxPyEndAllowThreads(__tstate); |
1825 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
1826 | } _resultobj = Py_BuildValue("i",_result); |
1827 | return _resultobj; | |
1828 | } | |
1829 | ||
1830 | #define wxStyledTextCtrl_SetMarginSensitive(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetMarginSensitive(_swigarg0,_swigarg1)) | |
1831 | static PyObject *_wrap_wxStyledTextCtrl_SetMarginSensitive(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1832 | PyObject * _resultobj; | |
1833 | wxStyledTextCtrl * _arg0; | |
1834 | int _arg1; | |
1835 | bool _arg2; | |
1836 | PyObject * _argo0 = 0; | |
1837 | int tempbool2; | |
1838 | char *_kwnames[] = { "self","margin","sensitive", NULL }; | |
1839 | ||
1840 | self = self; | |
1841 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxStyledTextCtrl_SetMarginSensitive",_kwnames,&_argo0,&_arg1,&tempbool2)) | |
1842 | return NULL; | |
1843 | if (_argo0) { | |
1844 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1845 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
1846 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetMarginSensitive. Expected _wxStyledTextCtrl_p."); | |
1847 | return NULL; | |
1848 | } | |
1849 | } | |
1850 | _arg2 = (bool ) tempbool2; | |
1851 | { | |
0e2ff151 | 1852 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 1853 | wxStyledTextCtrl_SetMarginSensitive(_arg0,_arg1,_arg2); |
8a2fa5c8 | 1854 | |
0e2ff151 RD |
1855 | wxPyEndAllowThreads(__tstate); |
1856 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
1857 | } Py_INCREF(Py_None); |
1858 | _resultobj = Py_None; | |
1859 | return _resultobj; | |
1860 | } | |
1861 | ||
1862 | #define wxStyledTextCtrl_GetMarginSensitive(_swigobj,_swigarg0) (_swigobj->GetMarginSensitive(_swigarg0)) | |
1863 | static PyObject *_wrap_wxStyledTextCtrl_GetMarginSensitive(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1864 | PyObject * _resultobj; | |
1865 | bool _result; | |
1866 | wxStyledTextCtrl * _arg0; | |
1867 | int _arg1; | |
1868 | PyObject * _argo0 = 0; | |
1869 | char *_kwnames[] = { "self","margin", NULL }; | |
1870 | ||
1871 | self = self; | |
1872 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_GetMarginSensitive",_kwnames,&_argo0,&_arg1)) | |
1873 | return NULL; | |
1874 | if (_argo0) { | |
1875 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1876 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
1877 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetMarginSensitive. Expected _wxStyledTextCtrl_p."); | |
1878 | return NULL; | |
1879 | } | |
1880 | } | |
1881 | { | |
0e2ff151 | 1882 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 1883 | _result = (bool )wxStyledTextCtrl_GetMarginSensitive(_arg0,_arg1); |
8a2fa5c8 | 1884 | |
0e2ff151 RD |
1885 | wxPyEndAllowThreads(__tstate); |
1886 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
1887 | } _resultobj = Py_BuildValue("i",_result); |
1888 | return _resultobj; | |
1889 | } | |
1890 | ||
1891 | #define wxStyledTextCtrl_StyleClearAll(_swigobj) (_swigobj->StyleClearAll()) | |
1892 | static PyObject *_wrap_wxStyledTextCtrl_StyleClearAll(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1893 | PyObject * _resultobj; | |
1894 | wxStyledTextCtrl * _arg0; | |
1895 | PyObject * _argo0 = 0; | |
1896 | char *_kwnames[] = { "self", NULL }; | |
1897 | ||
1898 | self = self; | |
1899 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_StyleClearAll",_kwnames,&_argo0)) | |
1900 | return NULL; | |
1901 | if (_argo0) { | |
1902 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1903 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
1904 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_StyleClearAll. Expected _wxStyledTextCtrl_p."); | |
1905 | return NULL; | |
1906 | } | |
1907 | } | |
1908 | { | |
0e2ff151 | 1909 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 1910 | wxStyledTextCtrl_StyleClearAll(_arg0); |
8a2fa5c8 | 1911 | |
0e2ff151 RD |
1912 | wxPyEndAllowThreads(__tstate); |
1913 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
1914 | } Py_INCREF(Py_None); |
1915 | _resultobj = Py_None; | |
1916 | return _resultobj; | |
1917 | } | |
1918 | ||
1919 | #define wxStyledTextCtrl_StyleSetForeground(_swigobj,_swigarg0,_swigarg1) (_swigobj->StyleSetForeground(_swigarg0,_swigarg1)) | |
1920 | static PyObject *_wrap_wxStyledTextCtrl_StyleSetForeground(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1921 | PyObject * _resultobj; | |
1922 | wxStyledTextCtrl * _arg0; | |
1923 | int _arg1; | |
1924 | wxColour * _arg2; | |
1925 | PyObject * _argo0 = 0; | |
1926 | wxColour temp; | |
1927 | PyObject * _obj2 = 0; | |
1928 | char *_kwnames[] = { "self","style","fore", NULL }; | |
1929 | ||
1930 | self = self; | |
1931 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxStyledTextCtrl_StyleSetForeground",_kwnames,&_argo0,&_arg1,&_obj2)) | |
1932 | return NULL; | |
1933 | if (_argo0) { | |
1934 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1935 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
1936 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_StyleSetForeground. Expected _wxStyledTextCtrl_p."); | |
1937 | return NULL; | |
1938 | } | |
1939 | } | |
1940 | { | |
1941 | _arg2 = &temp; | |
1942 | if (! wxColour_helper(_obj2, &_arg2)) | |
1943 | return NULL; | |
1944 | } | |
1945 | { | |
0e2ff151 | 1946 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 1947 | wxStyledTextCtrl_StyleSetForeground(_arg0,_arg1,*_arg2); |
8a2fa5c8 | 1948 | |
0e2ff151 RD |
1949 | wxPyEndAllowThreads(__tstate); |
1950 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
1951 | } Py_INCREF(Py_None); |
1952 | _resultobj = Py_None; | |
1953 | return _resultobj; | |
1954 | } | |
1955 | ||
1956 | #define wxStyledTextCtrl_StyleSetBackground(_swigobj,_swigarg0,_swigarg1) (_swigobj->StyleSetBackground(_swigarg0,_swigarg1)) | |
1957 | static PyObject *_wrap_wxStyledTextCtrl_StyleSetBackground(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1958 | PyObject * _resultobj; | |
1959 | wxStyledTextCtrl * _arg0; | |
1960 | int _arg1; | |
1961 | wxColour * _arg2; | |
1962 | PyObject * _argo0 = 0; | |
1963 | wxColour temp; | |
1964 | PyObject * _obj2 = 0; | |
1965 | char *_kwnames[] = { "self","style","back", NULL }; | |
1966 | ||
1967 | self = self; | |
1968 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxStyledTextCtrl_StyleSetBackground",_kwnames,&_argo0,&_arg1,&_obj2)) | |
1969 | return NULL; | |
1970 | if (_argo0) { | |
1971 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1972 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
1973 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_StyleSetBackground. Expected _wxStyledTextCtrl_p."); | |
1974 | return NULL; | |
1975 | } | |
1976 | } | |
1977 | { | |
1978 | _arg2 = &temp; | |
1979 | if (! wxColour_helper(_obj2, &_arg2)) | |
1980 | return NULL; | |
1981 | } | |
1982 | { | |
0e2ff151 | 1983 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 1984 | wxStyledTextCtrl_StyleSetBackground(_arg0,_arg1,*_arg2); |
8a2fa5c8 | 1985 | |
0e2ff151 RD |
1986 | wxPyEndAllowThreads(__tstate); |
1987 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
1988 | } Py_INCREF(Py_None); |
1989 | _resultobj = Py_None; | |
1990 | return _resultobj; | |
1991 | } | |
1992 | ||
1993 | #define wxStyledTextCtrl_StyleSetBold(_swigobj,_swigarg0,_swigarg1) (_swigobj->StyleSetBold(_swigarg0,_swigarg1)) | |
1994 | static PyObject *_wrap_wxStyledTextCtrl_StyleSetBold(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1995 | PyObject * _resultobj; | |
1996 | wxStyledTextCtrl * _arg0; | |
1997 | int _arg1; | |
1998 | bool _arg2; | |
1999 | PyObject * _argo0 = 0; | |
2000 | int tempbool2; | |
2001 | char *_kwnames[] = { "self","style","bold", NULL }; | |
2002 | ||
2003 | self = self; | |
2004 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxStyledTextCtrl_StyleSetBold",_kwnames,&_argo0,&_arg1,&tempbool2)) | |
2005 | return NULL; | |
2006 | if (_argo0) { | |
2007 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2008 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
2009 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_StyleSetBold. Expected _wxStyledTextCtrl_p."); | |
2010 | return NULL; | |
2011 | } | |
2012 | } | |
2013 | _arg2 = (bool ) tempbool2; | |
2014 | { | |
0e2ff151 | 2015 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 2016 | wxStyledTextCtrl_StyleSetBold(_arg0,_arg1,_arg2); |
8a2fa5c8 | 2017 | |
0e2ff151 RD |
2018 | wxPyEndAllowThreads(__tstate); |
2019 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
2020 | } Py_INCREF(Py_None); |
2021 | _resultobj = Py_None; | |
2022 | return _resultobj; | |
2023 | } | |
2024 | ||
2025 | #define wxStyledTextCtrl_StyleSetItalic(_swigobj,_swigarg0,_swigarg1) (_swigobj->StyleSetItalic(_swigarg0,_swigarg1)) | |
2026 | static PyObject *_wrap_wxStyledTextCtrl_StyleSetItalic(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2027 | PyObject * _resultobj; | |
2028 | wxStyledTextCtrl * _arg0; | |
2029 | int _arg1; | |
2030 | bool _arg2; | |
2031 | PyObject * _argo0 = 0; | |
2032 | int tempbool2; | |
2033 | char *_kwnames[] = { "self","style","italic", NULL }; | |
2034 | ||
2035 | self = self; | |
2036 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxStyledTextCtrl_StyleSetItalic",_kwnames,&_argo0,&_arg1,&tempbool2)) | |
2037 | return NULL; | |
2038 | if (_argo0) { | |
2039 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2040 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
2041 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_StyleSetItalic. Expected _wxStyledTextCtrl_p."); | |
2042 | return NULL; | |
2043 | } | |
2044 | } | |
2045 | _arg2 = (bool ) tempbool2; | |
2046 | { | |
0e2ff151 | 2047 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 2048 | wxStyledTextCtrl_StyleSetItalic(_arg0,_arg1,_arg2); |
8a2fa5c8 | 2049 | |
0e2ff151 RD |
2050 | wxPyEndAllowThreads(__tstate); |
2051 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
2052 | } Py_INCREF(Py_None); |
2053 | _resultobj = Py_None; | |
2054 | return _resultobj; | |
2055 | } | |
2056 | ||
2057 | #define wxStyledTextCtrl_StyleSetSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->StyleSetSize(_swigarg0,_swigarg1)) | |
2058 | static PyObject *_wrap_wxStyledTextCtrl_StyleSetSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2059 | PyObject * _resultobj; | |
2060 | wxStyledTextCtrl * _arg0; | |
2061 | int _arg1; | |
2062 | int _arg2; | |
2063 | PyObject * _argo0 = 0; | |
2064 | char *_kwnames[] = { "self","style","sizePoints", NULL }; | |
2065 | ||
2066 | self = self; | |
2067 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxStyledTextCtrl_StyleSetSize",_kwnames,&_argo0,&_arg1,&_arg2)) | |
2068 | return NULL; | |
2069 | if (_argo0) { | |
2070 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2071 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
2072 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_StyleSetSize. Expected _wxStyledTextCtrl_p."); | |
2073 | return NULL; | |
2074 | } | |
2075 | } | |
2076 | { | |
0e2ff151 | 2077 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 2078 | wxStyledTextCtrl_StyleSetSize(_arg0,_arg1,_arg2); |
8a2fa5c8 | 2079 | |
0e2ff151 RD |
2080 | wxPyEndAllowThreads(__tstate); |
2081 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
2082 | } Py_INCREF(Py_None); |
2083 | _resultobj = Py_None; | |
2084 | return _resultobj; | |
2085 | } | |
2086 | ||
2087 | #define wxStyledTextCtrl_StyleSetFaceName(_swigobj,_swigarg0,_swigarg1) (_swigobj->StyleSetFaceName(_swigarg0,_swigarg1)) | |
2088 | static PyObject *_wrap_wxStyledTextCtrl_StyleSetFaceName(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2089 | PyObject * _resultobj; | |
2090 | wxStyledTextCtrl * _arg0; | |
2091 | int _arg1; | |
2092 | wxString * _arg2; | |
2093 | PyObject * _argo0 = 0; | |
2094 | PyObject * _obj2 = 0; | |
2095 | char *_kwnames[] = { "self","style","fontName", NULL }; | |
2096 | ||
2097 | self = self; | |
2098 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxStyledTextCtrl_StyleSetFaceName",_kwnames,&_argo0,&_arg1,&_obj2)) | |
2099 | return NULL; | |
2100 | if (_argo0) { | |
2101 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2102 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
2103 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_StyleSetFaceName. Expected _wxStyledTextCtrl_p."); | |
2104 | return NULL; | |
2105 | } | |
2106 | } | |
2107 | { | |
6824d4f9 RD |
2108 | _arg2 = wxString_in_helper(_obj2); |
2109 | if (_arg2 == NULL) | |
8a2fa5c8 | 2110 | return NULL; |
8a2fa5c8 RD |
2111 | } |
2112 | { | |
0e2ff151 | 2113 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 2114 | wxStyledTextCtrl_StyleSetFaceName(_arg0,_arg1,*_arg2); |
8a2fa5c8 | 2115 | |
0e2ff151 RD |
2116 | wxPyEndAllowThreads(__tstate); |
2117 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
2118 | } Py_INCREF(Py_None); |
2119 | _resultobj = Py_None; | |
2120 | { | |
2121 | if (_obj2) | |
2122 | delete _arg2; | |
2123 | } | |
2124 | return _resultobj; | |
2125 | } | |
2126 | ||
2127 | #define wxStyledTextCtrl_StyleSetEOLFilled(_swigobj,_swigarg0,_swigarg1) (_swigobj->StyleSetEOLFilled(_swigarg0,_swigarg1)) | |
2128 | static PyObject *_wrap_wxStyledTextCtrl_StyleSetEOLFilled(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2129 | PyObject * _resultobj; | |
2130 | wxStyledTextCtrl * _arg0; | |
2131 | int _arg1; | |
2132 | bool _arg2; | |
2133 | PyObject * _argo0 = 0; | |
2134 | int tempbool2; | |
2135 | char *_kwnames[] = { "self","style","filled", NULL }; | |
2136 | ||
2137 | self = self; | |
2138 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxStyledTextCtrl_StyleSetEOLFilled",_kwnames,&_argo0,&_arg1,&tempbool2)) | |
2139 | return NULL; | |
2140 | if (_argo0) { | |
2141 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2142 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
2143 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_StyleSetEOLFilled. Expected _wxStyledTextCtrl_p."); | |
2144 | return NULL; | |
2145 | } | |
2146 | } | |
2147 | _arg2 = (bool ) tempbool2; | |
2148 | { | |
0e2ff151 | 2149 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 2150 | wxStyledTextCtrl_StyleSetEOLFilled(_arg0,_arg1,_arg2); |
8a2fa5c8 | 2151 | |
0e2ff151 RD |
2152 | wxPyEndAllowThreads(__tstate); |
2153 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
2154 | } Py_INCREF(Py_None); |
2155 | _resultobj = Py_None; | |
2156 | return _resultobj; | |
2157 | } | |
2158 | ||
2159 | #define wxStyledTextCtrl_StyleResetDefault(_swigobj) (_swigobj->StyleResetDefault()) | |
2160 | static PyObject *_wrap_wxStyledTextCtrl_StyleResetDefault(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2161 | PyObject * _resultobj; | |
2162 | wxStyledTextCtrl * _arg0; | |
2163 | PyObject * _argo0 = 0; | |
2164 | char *_kwnames[] = { "self", NULL }; | |
2165 | ||
2166 | self = self; | |
2167 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_StyleResetDefault",_kwnames,&_argo0)) | |
2168 | return NULL; | |
2169 | if (_argo0) { | |
2170 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2171 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
2172 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_StyleResetDefault. Expected _wxStyledTextCtrl_p."); | |
2173 | return NULL; | |
2174 | } | |
2175 | } | |
2176 | { | |
0e2ff151 | 2177 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 2178 | wxStyledTextCtrl_StyleResetDefault(_arg0); |
8a2fa5c8 | 2179 | |
0e2ff151 RD |
2180 | wxPyEndAllowThreads(__tstate); |
2181 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
2182 | } Py_INCREF(Py_None); |
2183 | _resultobj = Py_None; | |
2184 | return _resultobj; | |
2185 | } | |
2186 | ||
2187 | #define wxStyledTextCtrl_StyleSetUnderline(_swigobj,_swigarg0,_swigarg1) (_swigobj->StyleSetUnderline(_swigarg0,_swigarg1)) | |
2188 | static PyObject *_wrap_wxStyledTextCtrl_StyleSetUnderline(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2189 | PyObject * _resultobj; | |
2190 | wxStyledTextCtrl * _arg0; | |
2191 | int _arg1; | |
2192 | bool _arg2; | |
2193 | PyObject * _argo0 = 0; | |
2194 | int tempbool2; | |
2195 | char *_kwnames[] = { "self","style","underline", NULL }; | |
2196 | ||
2197 | self = self; | |
2198 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxStyledTextCtrl_StyleSetUnderline",_kwnames,&_argo0,&_arg1,&tempbool2)) | |
2199 | return NULL; | |
2200 | if (_argo0) { | |
2201 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2202 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
2203 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_StyleSetUnderline. Expected _wxStyledTextCtrl_p."); | |
2204 | return NULL; | |
2205 | } | |
2206 | } | |
2207 | _arg2 = (bool ) tempbool2; | |
2208 | { | |
0e2ff151 | 2209 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 2210 | wxStyledTextCtrl_StyleSetUnderline(_arg0,_arg1,_arg2); |
8a2fa5c8 | 2211 | |
0e2ff151 RD |
2212 | wxPyEndAllowThreads(__tstate); |
2213 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
2214 | } Py_INCREF(Py_None); |
2215 | _resultobj = Py_None; | |
2216 | return _resultobj; | |
2217 | } | |
2218 | ||
2219 | #define wxStyledTextCtrl_StyleSetCase(_swigobj,_swigarg0,_swigarg1) (_swigobj->StyleSetCase(_swigarg0,_swigarg1)) | |
2220 | static PyObject *_wrap_wxStyledTextCtrl_StyleSetCase(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2221 | PyObject * _resultobj; | |
2222 | wxStyledTextCtrl * _arg0; | |
2223 | int _arg1; | |
2224 | int _arg2; | |
2225 | PyObject * _argo0 = 0; | |
2226 | char *_kwnames[] = { "self","style","caseForce", NULL }; | |
2227 | ||
2228 | self = self; | |
2229 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxStyledTextCtrl_StyleSetCase",_kwnames,&_argo0,&_arg1,&_arg2)) | |
2230 | return NULL; | |
2231 | if (_argo0) { | |
2232 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2233 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
2234 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_StyleSetCase. Expected _wxStyledTextCtrl_p."); | |
2235 | return NULL; | |
2236 | } | |
2237 | } | |
2238 | { | |
0e2ff151 | 2239 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 2240 | wxStyledTextCtrl_StyleSetCase(_arg0,_arg1,_arg2); |
8a2fa5c8 | 2241 | |
0e2ff151 RD |
2242 | wxPyEndAllowThreads(__tstate); |
2243 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
2244 | } Py_INCREF(Py_None); |
2245 | _resultobj = Py_None; | |
2246 | return _resultobj; | |
2247 | } | |
2248 | ||
c3bfa1cb RD |
2249 | #define wxStyledTextCtrl_StyleSetCharacterSet(_swigobj,_swigarg0,_swigarg1) (_swigobj->StyleSetCharacterSet(_swigarg0,_swigarg1)) |
2250 | static PyObject *_wrap_wxStyledTextCtrl_StyleSetCharacterSet(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2251 | PyObject * _resultobj; | |
2252 | wxStyledTextCtrl * _arg0; | |
2253 | int _arg1; | |
2254 | int _arg2; | |
2255 | PyObject * _argo0 = 0; | |
2256 | char *_kwnames[] = { "self","style","characterSet", NULL }; | |
2257 | ||
2258 | self = self; | |
2259 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxStyledTextCtrl_StyleSetCharacterSet",_kwnames,&_argo0,&_arg1,&_arg2)) | |
2260 | return NULL; | |
2261 | if (_argo0) { | |
2262 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2263 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
2264 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_StyleSetCharacterSet. Expected _wxStyledTextCtrl_p."); | |
2265 | return NULL; | |
2266 | } | |
2267 | } | |
2268 | { | |
2269 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2270 | wxStyledTextCtrl_StyleSetCharacterSet(_arg0,_arg1,_arg2); | |
2271 | ||
2272 | wxPyEndAllowThreads(__tstate); | |
2273 | if (PyErr_Occurred()) return NULL; | |
2274 | } Py_INCREF(Py_None); | |
2275 | _resultobj = Py_None; | |
2276 | return _resultobj; | |
2277 | } | |
2278 | ||
8a2fa5c8 RD |
2279 | #define wxStyledTextCtrl_SetSelForeground(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetSelForeground(_swigarg0,_swigarg1)) |
2280 | static PyObject *_wrap_wxStyledTextCtrl_SetSelForeground(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2281 | PyObject * _resultobj; | |
2282 | wxStyledTextCtrl * _arg0; | |
2283 | bool _arg1; | |
2284 | wxColour * _arg2; | |
2285 | PyObject * _argo0 = 0; | |
2286 | int tempbool1; | |
2287 | wxColour temp; | |
2288 | PyObject * _obj2 = 0; | |
2289 | char *_kwnames[] = { "self","useSetting","fore", NULL }; | |
2290 | ||
2291 | self = self; | |
2292 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxStyledTextCtrl_SetSelForeground",_kwnames,&_argo0,&tempbool1,&_obj2)) | |
2293 | return NULL; | |
2294 | if (_argo0) { | |
2295 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2296 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
2297 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetSelForeground. Expected _wxStyledTextCtrl_p."); | |
2298 | return NULL; | |
2299 | } | |
2300 | } | |
2301 | _arg1 = (bool ) tempbool1; | |
2302 | { | |
2303 | _arg2 = &temp; | |
2304 | if (! wxColour_helper(_obj2, &_arg2)) | |
2305 | return NULL; | |
2306 | } | |
2307 | { | |
0e2ff151 | 2308 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 2309 | wxStyledTextCtrl_SetSelForeground(_arg0,_arg1,*_arg2); |
8a2fa5c8 | 2310 | |
0e2ff151 RD |
2311 | wxPyEndAllowThreads(__tstate); |
2312 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
2313 | } Py_INCREF(Py_None); |
2314 | _resultobj = Py_None; | |
2315 | return _resultobj; | |
2316 | } | |
2317 | ||
2318 | #define wxStyledTextCtrl_SetSelBackground(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetSelBackground(_swigarg0,_swigarg1)) | |
2319 | static PyObject *_wrap_wxStyledTextCtrl_SetSelBackground(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2320 | PyObject * _resultobj; | |
2321 | wxStyledTextCtrl * _arg0; | |
2322 | bool _arg1; | |
2323 | wxColour * _arg2; | |
2324 | PyObject * _argo0 = 0; | |
2325 | int tempbool1; | |
2326 | wxColour temp; | |
2327 | PyObject * _obj2 = 0; | |
2328 | char *_kwnames[] = { "self","useSetting","back", NULL }; | |
2329 | ||
2330 | self = self; | |
2331 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxStyledTextCtrl_SetSelBackground",_kwnames,&_argo0,&tempbool1,&_obj2)) | |
2332 | return NULL; | |
2333 | if (_argo0) { | |
2334 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2335 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
2336 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetSelBackground. Expected _wxStyledTextCtrl_p."); | |
2337 | return NULL; | |
2338 | } | |
2339 | } | |
2340 | _arg1 = (bool ) tempbool1; | |
2341 | { | |
2342 | _arg2 = &temp; | |
2343 | if (! wxColour_helper(_obj2, &_arg2)) | |
2344 | return NULL; | |
2345 | } | |
2346 | { | |
0e2ff151 | 2347 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 2348 | wxStyledTextCtrl_SetSelBackground(_arg0,_arg1,*_arg2); |
8a2fa5c8 | 2349 | |
0e2ff151 RD |
2350 | wxPyEndAllowThreads(__tstate); |
2351 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
2352 | } Py_INCREF(Py_None); |
2353 | _resultobj = Py_None; | |
2354 | return _resultobj; | |
2355 | } | |
2356 | ||
2357 | #define wxStyledTextCtrl_SetCaretForeground(_swigobj,_swigarg0) (_swigobj->SetCaretForeground(_swigarg0)) | |
2358 | static PyObject *_wrap_wxStyledTextCtrl_SetCaretForeground(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2359 | PyObject * _resultobj; | |
2360 | wxStyledTextCtrl * _arg0; | |
2361 | wxColour * _arg1; | |
2362 | PyObject * _argo0 = 0; | |
2363 | wxColour temp; | |
2364 | PyObject * _obj1 = 0; | |
2365 | char *_kwnames[] = { "self","fore", NULL }; | |
2366 | ||
2367 | self = self; | |
2368 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxStyledTextCtrl_SetCaretForeground",_kwnames,&_argo0,&_obj1)) | |
2369 | return NULL; | |
2370 | if (_argo0) { | |
2371 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2372 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
2373 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetCaretForeground. Expected _wxStyledTextCtrl_p."); | |
2374 | return NULL; | |
2375 | } | |
2376 | } | |
2377 | { | |
2378 | _arg1 = &temp; | |
2379 | if (! wxColour_helper(_obj1, &_arg1)) | |
2380 | return NULL; | |
2381 | } | |
2382 | { | |
0e2ff151 | 2383 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 2384 | wxStyledTextCtrl_SetCaretForeground(_arg0,*_arg1); |
8a2fa5c8 | 2385 | |
0e2ff151 RD |
2386 | wxPyEndAllowThreads(__tstate); |
2387 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
2388 | } Py_INCREF(Py_None); |
2389 | _resultobj = Py_None; | |
2390 | return _resultobj; | |
2391 | } | |
2392 | ||
2393 | #define wxStyledTextCtrl_CmdKeyAssign(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->CmdKeyAssign(_swigarg0,_swigarg1,_swigarg2)) | |
2394 | static PyObject *_wrap_wxStyledTextCtrl_CmdKeyAssign(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2395 | PyObject * _resultobj; | |
2396 | wxStyledTextCtrl * _arg0; | |
2397 | int _arg1; | |
2398 | int _arg2; | |
2399 | int _arg3; | |
2400 | PyObject * _argo0 = 0; | |
2401 | char *_kwnames[] = { "self","key","modifiers","cmd", NULL }; | |
2402 | ||
2403 | self = self; | |
2404 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oiii:wxStyledTextCtrl_CmdKeyAssign",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3)) | |
2405 | return NULL; | |
2406 | if (_argo0) { | |
2407 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2408 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
2409 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_CmdKeyAssign. Expected _wxStyledTextCtrl_p."); | |
2410 | return NULL; | |
2411 | } | |
2412 | } | |
2413 | { | |
0e2ff151 | 2414 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 2415 | wxStyledTextCtrl_CmdKeyAssign(_arg0,_arg1,_arg2,_arg3); |
8a2fa5c8 | 2416 | |
0e2ff151 RD |
2417 | wxPyEndAllowThreads(__tstate); |
2418 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
2419 | } Py_INCREF(Py_None); |
2420 | _resultobj = Py_None; | |
2421 | return _resultobj; | |
2422 | } | |
2423 | ||
2424 | #define wxStyledTextCtrl_CmdKeyClear(_swigobj,_swigarg0,_swigarg1) (_swigobj->CmdKeyClear(_swigarg0,_swigarg1)) | |
2425 | static PyObject *_wrap_wxStyledTextCtrl_CmdKeyClear(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2426 | PyObject * _resultobj; | |
2427 | wxStyledTextCtrl * _arg0; | |
2428 | int _arg1; | |
2429 | int _arg2; | |
2430 | PyObject * _argo0 = 0; | |
2431 | char *_kwnames[] = { "self","key","modifiers", NULL }; | |
2432 | ||
2433 | self = self; | |
2434 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxStyledTextCtrl_CmdKeyClear",_kwnames,&_argo0,&_arg1,&_arg2)) | |
2435 | return NULL; | |
2436 | if (_argo0) { | |
2437 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2438 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
2439 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_CmdKeyClear. Expected _wxStyledTextCtrl_p."); | |
2440 | return NULL; | |
2441 | } | |
2442 | } | |
2443 | { | |
0e2ff151 | 2444 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 2445 | wxStyledTextCtrl_CmdKeyClear(_arg0,_arg1,_arg2); |
8a2fa5c8 | 2446 | |
0e2ff151 RD |
2447 | wxPyEndAllowThreads(__tstate); |
2448 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
2449 | } Py_INCREF(Py_None); |
2450 | _resultobj = Py_None; | |
2451 | return _resultobj; | |
2452 | } | |
2453 | ||
2454 | #define wxStyledTextCtrl_CmdKeyClearAll(_swigobj) (_swigobj->CmdKeyClearAll()) | |
2455 | static PyObject *_wrap_wxStyledTextCtrl_CmdKeyClearAll(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2456 | PyObject * _resultobj; | |
2457 | wxStyledTextCtrl * _arg0; | |
2458 | PyObject * _argo0 = 0; | |
2459 | char *_kwnames[] = { "self", NULL }; | |
2460 | ||
2461 | self = self; | |
2462 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_CmdKeyClearAll",_kwnames,&_argo0)) | |
2463 | return NULL; | |
2464 | if (_argo0) { | |
2465 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2466 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
2467 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_CmdKeyClearAll. Expected _wxStyledTextCtrl_p."); | |
2468 | return NULL; | |
2469 | } | |
2470 | } | |
2471 | { | |
0e2ff151 | 2472 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 2473 | wxStyledTextCtrl_CmdKeyClearAll(_arg0); |
8a2fa5c8 | 2474 | |
0e2ff151 RD |
2475 | wxPyEndAllowThreads(__tstate); |
2476 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
2477 | } Py_INCREF(Py_None); |
2478 | _resultobj = Py_None; | |
2479 | return _resultobj; | |
2480 | } | |
2481 | ||
2482 | #define wxStyledTextCtrl_SetStyleBytes(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetStyleBytes(_swigarg0,_swigarg1)) | |
2483 | static PyObject *_wrap_wxStyledTextCtrl_SetStyleBytes(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2484 | PyObject * _resultobj; | |
2485 | wxStyledTextCtrl * _arg0; | |
2486 | int _arg1; | |
2487 | char * _arg2; | |
2488 | PyObject * _argo0 = 0; | |
2489 | char *_kwnames[] = { "self","length","styleBytes", NULL }; | |
2490 | ||
2491 | self = self; | |
2492 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ois:wxStyledTextCtrl_SetStyleBytes",_kwnames,&_argo0,&_arg1,&_arg2)) | |
2493 | return NULL; | |
2494 | if (_argo0) { | |
2495 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2496 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
2497 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetStyleBytes. Expected _wxStyledTextCtrl_p."); | |
2498 | return NULL; | |
2499 | } | |
2500 | } | |
2501 | { | |
0e2ff151 | 2502 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 2503 | wxStyledTextCtrl_SetStyleBytes(_arg0,_arg1,_arg2); |
8a2fa5c8 | 2504 | |
0e2ff151 RD |
2505 | wxPyEndAllowThreads(__tstate); |
2506 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
2507 | } Py_INCREF(Py_None); |
2508 | _resultobj = Py_None; | |
2509 | return _resultobj; | |
2510 | } | |
2511 | ||
2512 | #define wxStyledTextCtrl_StyleSetVisible(_swigobj,_swigarg0,_swigarg1) (_swigobj->StyleSetVisible(_swigarg0,_swigarg1)) | |
2513 | static PyObject *_wrap_wxStyledTextCtrl_StyleSetVisible(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2514 | PyObject * _resultobj; | |
2515 | wxStyledTextCtrl * _arg0; | |
2516 | int _arg1; | |
2517 | bool _arg2; | |
2518 | PyObject * _argo0 = 0; | |
2519 | int tempbool2; | |
2520 | char *_kwnames[] = { "self","style","visible", NULL }; | |
2521 | ||
2522 | self = self; | |
2523 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxStyledTextCtrl_StyleSetVisible",_kwnames,&_argo0,&_arg1,&tempbool2)) | |
2524 | return NULL; | |
2525 | if (_argo0) { | |
2526 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2527 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
2528 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_StyleSetVisible. Expected _wxStyledTextCtrl_p."); | |
2529 | return NULL; | |
2530 | } | |
2531 | } | |
2532 | _arg2 = (bool ) tempbool2; | |
2533 | { | |
0e2ff151 | 2534 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 2535 | wxStyledTextCtrl_StyleSetVisible(_arg0,_arg1,_arg2); |
8a2fa5c8 | 2536 | |
0e2ff151 RD |
2537 | wxPyEndAllowThreads(__tstate); |
2538 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
2539 | } Py_INCREF(Py_None); |
2540 | _resultobj = Py_None; | |
2541 | return _resultobj; | |
2542 | } | |
2543 | ||
2544 | #define wxStyledTextCtrl_GetCaretPeriod(_swigobj) (_swigobj->GetCaretPeriod()) | |
2545 | static PyObject *_wrap_wxStyledTextCtrl_GetCaretPeriod(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2546 | PyObject * _resultobj; | |
2547 | int _result; | |
2548 | wxStyledTextCtrl * _arg0; | |
2549 | PyObject * _argo0 = 0; | |
2550 | char *_kwnames[] = { "self", NULL }; | |
2551 | ||
2552 | self = self; | |
2553 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetCaretPeriod",_kwnames,&_argo0)) | |
2554 | return NULL; | |
2555 | if (_argo0) { | |
2556 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2557 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
2558 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetCaretPeriod. Expected _wxStyledTextCtrl_p."); | |
2559 | return NULL; | |
2560 | } | |
2561 | } | |
2562 | { | |
0e2ff151 | 2563 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 2564 | _result = (int )wxStyledTextCtrl_GetCaretPeriod(_arg0); |
8a2fa5c8 | 2565 | |
0e2ff151 RD |
2566 | wxPyEndAllowThreads(__tstate); |
2567 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
2568 | } _resultobj = Py_BuildValue("i",_result); |
2569 | return _resultobj; | |
2570 | } | |
2571 | ||
2572 | #define wxStyledTextCtrl_SetCaretPeriod(_swigobj,_swigarg0) (_swigobj->SetCaretPeriod(_swigarg0)) | |
2573 | static PyObject *_wrap_wxStyledTextCtrl_SetCaretPeriod(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2574 | PyObject * _resultobj; | |
2575 | wxStyledTextCtrl * _arg0; | |
2576 | int _arg1; | |
2577 | PyObject * _argo0 = 0; | |
2578 | char *_kwnames[] = { "self","periodMilliseconds", NULL }; | |
2579 | ||
2580 | self = self; | |
2581 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_SetCaretPeriod",_kwnames,&_argo0,&_arg1)) | |
2582 | return NULL; | |
2583 | if (_argo0) { | |
2584 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2585 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
2586 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetCaretPeriod. Expected _wxStyledTextCtrl_p."); | |
2587 | return NULL; | |
2588 | } | |
2589 | } | |
2590 | { | |
0e2ff151 | 2591 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 2592 | wxStyledTextCtrl_SetCaretPeriod(_arg0,_arg1); |
8a2fa5c8 | 2593 | |
0e2ff151 RD |
2594 | wxPyEndAllowThreads(__tstate); |
2595 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
2596 | } Py_INCREF(Py_None); |
2597 | _resultobj = Py_None; | |
2598 | return _resultobj; | |
2599 | } | |
2600 | ||
2601 | #define wxStyledTextCtrl_SetWordChars(_swigobj,_swigarg0) (_swigobj->SetWordChars(_swigarg0)) | |
2602 | static PyObject *_wrap_wxStyledTextCtrl_SetWordChars(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2603 | PyObject * _resultobj; | |
2604 | wxStyledTextCtrl * _arg0; | |
2605 | wxString * _arg1; | |
2606 | PyObject * _argo0 = 0; | |
2607 | PyObject * _obj1 = 0; | |
2608 | char *_kwnames[] = { "self","characters", NULL }; | |
2609 | ||
2610 | self = self; | |
2611 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxStyledTextCtrl_SetWordChars",_kwnames,&_argo0,&_obj1)) | |
2612 | return NULL; | |
2613 | if (_argo0) { | |
2614 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2615 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
2616 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetWordChars. Expected _wxStyledTextCtrl_p."); | |
2617 | return NULL; | |
2618 | } | |
2619 | } | |
2620 | { | |
6824d4f9 RD |
2621 | _arg1 = wxString_in_helper(_obj1); |
2622 | if (_arg1 == NULL) | |
8a2fa5c8 | 2623 | return NULL; |
8a2fa5c8 RD |
2624 | } |
2625 | { | |
0e2ff151 | 2626 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 2627 | wxStyledTextCtrl_SetWordChars(_arg0,*_arg1); |
8a2fa5c8 | 2628 | |
0e2ff151 RD |
2629 | wxPyEndAllowThreads(__tstate); |
2630 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
2631 | } Py_INCREF(Py_None); |
2632 | _resultobj = Py_None; | |
2633 | { | |
2634 | if (_obj1) | |
2635 | delete _arg1; | |
2636 | } | |
2637 | return _resultobj; | |
2638 | } | |
2639 | ||
2640 | #define wxStyledTextCtrl_BeginUndoAction(_swigobj) (_swigobj->BeginUndoAction()) | |
2641 | static PyObject *_wrap_wxStyledTextCtrl_BeginUndoAction(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2642 | PyObject * _resultobj; | |
2643 | wxStyledTextCtrl * _arg0; | |
2644 | PyObject * _argo0 = 0; | |
2645 | char *_kwnames[] = { "self", NULL }; | |
2646 | ||
2647 | self = self; | |
2648 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_BeginUndoAction",_kwnames,&_argo0)) | |
2649 | return NULL; | |
2650 | if (_argo0) { | |
2651 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2652 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
2653 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_BeginUndoAction. Expected _wxStyledTextCtrl_p."); | |
2654 | return NULL; | |
2655 | } | |
2656 | } | |
2657 | { | |
0e2ff151 | 2658 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 2659 | wxStyledTextCtrl_BeginUndoAction(_arg0); |
8a2fa5c8 | 2660 | |
0e2ff151 RD |
2661 | wxPyEndAllowThreads(__tstate); |
2662 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
2663 | } Py_INCREF(Py_None); |
2664 | _resultobj = Py_None; | |
2665 | return _resultobj; | |
2666 | } | |
2667 | ||
2668 | #define wxStyledTextCtrl_EndUndoAction(_swigobj) (_swigobj->EndUndoAction()) | |
2669 | static PyObject *_wrap_wxStyledTextCtrl_EndUndoAction(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2670 | PyObject * _resultobj; | |
2671 | wxStyledTextCtrl * _arg0; | |
2672 | PyObject * _argo0 = 0; | |
2673 | char *_kwnames[] = { "self", NULL }; | |
2674 | ||
2675 | self = self; | |
2676 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_EndUndoAction",_kwnames,&_argo0)) | |
2677 | return NULL; | |
2678 | if (_argo0) { | |
2679 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2680 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
2681 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_EndUndoAction. Expected _wxStyledTextCtrl_p."); | |
2682 | return NULL; | |
2683 | } | |
2684 | } | |
2685 | { | |
0e2ff151 | 2686 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 2687 | wxStyledTextCtrl_EndUndoAction(_arg0); |
8a2fa5c8 | 2688 | |
0e2ff151 RD |
2689 | wxPyEndAllowThreads(__tstate); |
2690 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
2691 | } Py_INCREF(Py_None); |
2692 | _resultobj = Py_None; | |
2693 | return _resultobj; | |
2694 | } | |
2695 | ||
2696 | #define wxStyledTextCtrl_IndicatorSetStyle(_swigobj,_swigarg0,_swigarg1) (_swigobj->IndicatorSetStyle(_swigarg0,_swigarg1)) | |
2697 | static PyObject *_wrap_wxStyledTextCtrl_IndicatorSetStyle(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2698 | PyObject * _resultobj; | |
2699 | wxStyledTextCtrl * _arg0; | |
2700 | int _arg1; | |
2701 | int _arg2; | |
2702 | PyObject * _argo0 = 0; | |
2703 | char *_kwnames[] = { "self","indic","style", NULL }; | |
2704 | ||
2705 | self = self; | |
2706 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxStyledTextCtrl_IndicatorSetStyle",_kwnames,&_argo0,&_arg1,&_arg2)) | |
2707 | return NULL; | |
2708 | if (_argo0) { | |
2709 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2710 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
2711 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_IndicatorSetStyle. Expected _wxStyledTextCtrl_p."); | |
2712 | return NULL; | |
2713 | } | |
2714 | } | |
2715 | { | |
0e2ff151 | 2716 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 2717 | wxStyledTextCtrl_IndicatorSetStyle(_arg0,_arg1,_arg2); |
8a2fa5c8 | 2718 | |
0e2ff151 RD |
2719 | wxPyEndAllowThreads(__tstate); |
2720 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
2721 | } Py_INCREF(Py_None); |
2722 | _resultobj = Py_None; | |
2723 | return _resultobj; | |
2724 | } | |
2725 | ||
2726 | #define wxStyledTextCtrl_IndicatorGetStyle(_swigobj,_swigarg0) (_swigobj->IndicatorGetStyle(_swigarg0)) | |
2727 | static PyObject *_wrap_wxStyledTextCtrl_IndicatorGetStyle(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2728 | PyObject * _resultobj; | |
2729 | int _result; | |
2730 | wxStyledTextCtrl * _arg0; | |
2731 | int _arg1; | |
2732 | PyObject * _argo0 = 0; | |
2733 | char *_kwnames[] = { "self","indic", NULL }; | |
2734 | ||
2735 | self = self; | |
2736 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_IndicatorGetStyle",_kwnames,&_argo0,&_arg1)) | |
2737 | return NULL; | |
2738 | if (_argo0) { | |
2739 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2740 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
2741 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_IndicatorGetStyle. Expected _wxStyledTextCtrl_p."); | |
2742 | return NULL; | |
2743 | } | |
2744 | } | |
2745 | { | |
0e2ff151 | 2746 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 2747 | _result = (int )wxStyledTextCtrl_IndicatorGetStyle(_arg0,_arg1); |
8a2fa5c8 | 2748 | |
0e2ff151 RD |
2749 | wxPyEndAllowThreads(__tstate); |
2750 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
2751 | } _resultobj = Py_BuildValue("i",_result); |
2752 | return _resultobj; | |
2753 | } | |
2754 | ||
2755 | #define wxStyledTextCtrl_IndicatorSetForeground(_swigobj,_swigarg0,_swigarg1) (_swigobj->IndicatorSetForeground(_swigarg0,_swigarg1)) | |
2756 | static PyObject *_wrap_wxStyledTextCtrl_IndicatorSetForeground(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2757 | PyObject * _resultobj; | |
2758 | wxStyledTextCtrl * _arg0; | |
2759 | int _arg1; | |
2760 | wxColour * _arg2; | |
2761 | PyObject * _argo0 = 0; | |
2762 | wxColour temp; | |
2763 | PyObject * _obj2 = 0; | |
2764 | char *_kwnames[] = { "self","indic","fore", NULL }; | |
2765 | ||
2766 | self = self; | |
2767 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxStyledTextCtrl_IndicatorSetForeground",_kwnames,&_argo0,&_arg1,&_obj2)) | |
2768 | return NULL; | |
2769 | if (_argo0) { | |
2770 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2771 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
2772 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_IndicatorSetForeground. Expected _wxStyledTextCtrl_p."); | |
2773 | return NULL; | |
2774 | } | |
2775 | } | |
2776 | { | |
2777 | _arg2 = &temp; | |
2778 | if (! wxColour_helper(_obj2, &_arg2)) | |
2779 | return NULL; | |
2780 | } | |
2781 | { | |
0e2ff151 | 2782 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 2783 | wxStyledTextCtrl_IndicatorSetForeground(_arg0,_arg1,*_arg2); |
8a2fa5c8 | 2784 | |
0e2ff151 RD |
2785 | wxPyEndAllowThreads(__tstate); |
2786 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
2787 | } Py_INCREF(Py_None); |
2788 | _resultobj = Py_None; | |
2789 | return _resultobj; | |
2790 | } | |
2791 | ||
2792 | #define wxStyledTextCtrl_IndicatorGetForeground(_swigobj,_swigarg0) (_swigobj->IndicatorGetForeground(_swigarg0)) | |
2793 | static PyObject *_wrap_wxStyledTextCtrl_IndicatorGetForeground(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2794 | PyObject * _resultobj; | |
2795 | wxColour * _result; | |
2796 | wxStyledTextCtrl * _arg0; | |
2797 | int _arg1; | |
2798 | PyObject * _argo0 = 0; | |
2799 | char *_kwnames[] = { "self","indic", NULL }; | |
2800 | char _ptemp[128]; | |
2801 | ||
2802 | self = self; | |
2803 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_IndicatorGetForeground",_kwnames,&_argo0,&_arg1)) | |
2804 | return NULL; | |
2805 | if (_argo0) { | |
2806 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2807 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
2808 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_IndicatorGetForeground. Expected _wxStyledTextCtrl_p."); | |
2809 | return NULL; | |
2810 | } | |
2811 | } | |
2812 | { | |
0e2ff151 | 2813 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 2814 | _result = new wxColour (wxStyledTextCtrl_IndicatorGetForeground(_arg0,_arg1)); |
8a2fa5c8 | 2815 | |
0e2ff151 RD |
2816 | wxPyEndAllowThreads(__tstate); |
2817 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
2818 | } SWIG_MakePtr(_ptemp, (void *) _result,"_wxColour_p"); |
2819 | _resultobj = Py_BuildValue("s",_ptemp); | |
2820 | return _resultobj; | |
2821 | } | |
2822 | ||
2823 | #define wxStyledTextCtrl_SetStyleBits(_swigobj,_swigarg0) (_swigobj->SetStyleBits(_swigarg0)) | |
2824 | static PyObject *_wrap_wxStyledTextCtrl_SetStyleBits(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2825 | PyObject * _resultobj; | |
2826 | wxStyledTextCtrl * _arg0; | |
2827 | int _arg1; | |
2828 | PyObject * _argo0 = 0; | |
2829 | char *_kwnames[] = { "self","bits", NULL }; | |
2830 | ||
2831 | self = self; | |
2832 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_SetStyleBits",_kwnames,&_argo0,&_arg1)) | |
2833 | return NULL; | |
2834 | if (_argo0) { | |
2835 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2836 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
2837 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetStyleBits. Expected _wxStyledTextCtrl_p."); | |
2838 | return NULL; | |
2839 | } | |
2840 | } | |
2841 | { | |
0e2ff151 | 2842 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 2843 | wxStyledTextCtrl_SetStyleBits(_arg0,_arg1); |
8a2fa5c8 | 2844 | |
0e2ff151 RD |
2845 | wxPyEndAllowThreads(__tstate); |
2846 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
2847 | } Py_INCREF(Py_None); |
2848 | _resultobj = Py_None; | |
2849 | return _resultobj; | |
2850 | } | |
2851 | ||
2852 | #define wxStyledTextCtrl_GetStyleBits(_swigobj) (_swigobj->GetStyleBits()) | |
2853 | static PyObject *_wrap_wxStyledTextCtrl_GetStyleBits(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2854 | PyObject * _resultobj; | |
2855 | int _result; | |
2856 | wxStyledTextCtrl * _arg0; | |
2857 | PyObject * _argo0 = 0; | |
2858 | char *_kwnames[] = { "self", NULL }; | |
2859 | ||
2860 | self = self; | |
2861 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetStyleBits",_kwnames,&_argo0)) | |
2862 | return NULL; | |
2863 | if (_argo0) { | |
2864 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2865 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
2866 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetStyleBits. Expected _wxStyledTextCtrl_p."); | |
2867 | return NULL; | |
2868 | } | |
2869 | } | |
2870 | { | |
0e2ff151 | 2871 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 2872 | _result = (int )wxStyledTextCtrl_GetStyleBits(_arg0); |
8a2fa5c8 | 2873 | |
0e2ff151 RD |
2874 | wxPyEndAllowThreads(__tstate); |
2875 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
2876 | } _resultobj = Py_BuildValue("i",_result); |
2877 | return _resultobj; | |
2878 | } | |
2879 | ||
2880 | #define wxStyledTextCtrl_SetLineState(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetLineState(_swigarg0,_swigarg1)) | |
2881 | static PyObject *_wrap_wxStyledTextCtrl_SetLineState(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2882 | PyObject * _resultobj; | |
2883 | wxStyledTextCtrl * _arg0; | |
2884 | int _arg1; | |
2885 | int _arg2; | |
2886 | PyObject * _argo0 = 0; | |
2887 | char *_kwnames[] = { "self","line","state", NULL }; | |
2888 | ||
2889 | self = self; | |
2890 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxStyledTextCtrl_SetLineState",_kwnames,&_argo0,&_arg1,&_arg2)) | |
2891 | return NULL; | |
2892 | if (_argo0) { | |
2893 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2894 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
2895 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetLineState. Expected _wxStyledTextCtrl_p."); | |
2896 | return NULL; | |
2897 | } | |
2898 | } | |
2899 | { | |
0e2ff151 | 2900 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 2901 | wxStyledTextCtrl_SetLineState(_arg0,_arg1,_arg2); |
8a2fa5c8 | 2902 | |
0e2ff151 RD |
2903 | wxPyEndAllowThreads(__tstate); |
2904 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
2905 | } Py_INCREF(Py_None); |
2906 | _resultobj = Py_None; | |
2907 | return _resultobj; | |
2908 | } | |
2909 | ||
2910 | #define wxStyledTextCtrl_GetLineState(_swigobj,_swigarg0) (_swigobj->GetLineState(_swigarg0)) | |
2911 | static PyObject *_wrap_wxStyledTextCtrl_GetLineState(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2912 | PyObject * _resultobj; | |
2913 | int _result; | |
2914 | wxStyledTextCtrl * _arg0; | |
2915 | int _arg1; | |
2916 | PyObject * _argo0 = 0; | |
2917 | char *_kwnames[] = { "self","line", NULL }; | |
2918 | ||
2919 | self = self; | |
2920 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_GetLineState",_kwnames,&_argo0,&_arg1)) | |
2921 | return NULL; | |
2922 | if (_argo0) { | |
2923 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2924 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
2925 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetLineState. Expected _wxStyledTextCtrl_p."); | |
2926 | return NULL; | |
2927 | } | |
2928 | } | |
2929 | { | |
0e2ff151 | 2930 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 2931 | _result = (int )wxStyledTextCtrl_GetLineState(_arg0,_arg1); |
8a2fa5c8 | 2932 | |
0e2ff151 RD |
2933 | wxPyEndAllowThreads(__tstate); |
2934 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
2935 | } _resultobj = Py_BuildValue("i",_result); |
2936 | return _resultobj; | |
2937 | } | |
2938 | ||
2939 | #define wxStyledTextCtrl_GetMaxLineState(_swigobj) (_swigobj->GetMaxLineState()) | |
2940 | static PyObject *_wrap_wxStyledTextCtrl_GetMaxLineState(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2941 | PyObject * _resultobj; | |
2942 | int _result; | |
2943 | wxStyledTextCtrl * _arg0; | |
2944 | PyObject * _argo0 = 0; | |
2945 | char *_kwnames[] = { "self", NULL }; | |
2946 | ||
2947 | self = self; | |
2948 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetMaxLineState",_kwnames,&_argo0)) | |
2949 | return NULL; | |
2950 | if (_argo0) { | |
2951 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2952 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
2953 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetMaxLineState. Expected _wxStyledTextCtrl_p."); | |
2954 | return NULL; | |
2955 | } | |
2956 | } | |
2957 | { | |
0e2ff151 | 2958 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 2959 | _result = (int )wxStyledTextCtrl_GetMaxLineState(_arg0); |
8a2fa5c8 | 2960 | |
0e2ff151 RD |
2961 | wxPyEndAllowThreads(__tstate); |
2962 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
2963 | } _resultobj = Py_BuildValue("i",_result); |
2964 | return _resultobj; | |
2965 | } | |
2966 | ||
2967 | #define wxStyledTextCtrl_GetCaretLineVisible(_swigobj) (_swigobj->GetCaretLineVisible()) | |
2968 | static PyObject *_wrap_wxStyledTextCtrl_GetCaretLineVisible(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2969 | PyObject * _resultobj; | |
2970 | bool _result; | |
2971 | wxStyledTextCtrl * _arg0; | |
2972 | PyObject * _argo0 = 0; | |
2973 | char *_kwnames[] = { "self", NULL }; | |
2974 | ||
2975 | self = self; | |
2976 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetCaretLineVisible",_kwnames,&_argo0)) | |
2977 | return NULL; | |
2978 | if (_argo0) { | |
2979 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2980 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
2981 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetCaretLineVisible. Expected _wxStyledTextCtrl_p."); | |
2982 | return NULL; | |
2983 | } | |
2984 | } | |
2985 | { | |
0e2ff151 | 2986 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 2987 | _result = (bool )wxStyledTextCtrl_GetCaretLineVisible(_arg0); |
8a2fa5c8 | 2988 | |
0e2ff151 RD |
2989 | wxPyEndAllowThreads(__tstate); |
2990 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
2991 | } _resultobj = Py_BuildValue("i",_result); |
2992 | return _resultobj; | |
2993 | } | |
2994 | ||
2995 | #define wxStyledTextCtrl_SetCaretLineVisible(_swigobj,_swigarg0) (_swigobj->SetCaretLineVisible(_swigarg0)) | |
2996 | static PyObject *_wrap_wxStyledTextCtrl_SetCaretLineVisible(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2997 | PyObject * _resultobj; | |
2998 | wxStyledTextCtrl * _arg0; | |
2999 | bool _arg1; | |
3000 | PyObject * _argo0 = 0; | |
3001 | int tempbool1; | |
3002 | char *_kwnames[] = { "self","show", NULL }; | |
3003 | ||
3004 | self = self; | |
3005 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_SetCaretLineVisible",_kwnames,&_argo0,&tempbool1)) | |
3006 | return NULL; | |
3007 | if (_argo0) { | |
3008 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3009 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
3010 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetCaretLineVisible. Expected _wxStyledTextCtrl_p."); | |
3011 | return NULL; | |
3012 | } | |
3013 | } | |
3014 | _arg1 = (bool ) tempbool1; | |
3015 | { | |
0e2ff151 | 3016 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 3017 | wxStyledTextCtrl_SetCaretLineVisible(_arg0,_arg1); |
8a2fa5c8 | 3018 | |
0e2ff151 RD |
3019 | wxPyEndAllowThreads(__tstate); |
3020 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
3021 | } Py_INCREF(Py_None); |
3022 | _resultobj = Py_None; | |
3023 | return _resultobj; | |
3024 | } | |
3025 | ||
3026 | #define wxStyledTextCtrl_GetCaretLineBack(_swigobj) (_swigobj->GetCaretLineBack()) | |
3027 | static PyObject *_wrap_wxStyledTextCtrl_GetCaretLineBack(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3028 | PyObject * _resultobj; | |
3029 | wxColour * _result; | |
3030 | wxStyledTextCtrl * _arg0; | |
3031 | PyObject * _argo0 = 0; | |
3032 | char *_kwnames[] = { "self", NULL }; | |
3033 | char _ptemp[128]; | |
3034 | ||
3035 | self = self; | |
3036 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetCaretLineBack",_kwnames,&_argo0)) | |
3037 | return NULL; | |
3038 | if (_argo0) { | |
3039 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3040 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
3041 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetCaretLineBack. Expected _wxStyledTextCtrl_p."); | |
3042 | return NULL; | |
3043 | } | |
3044 | } | |
3045 | { | |
0e2ff151 | 3046 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 3047 | _result = new wxColour (wxStyledTextCtrl_GetCaretLineBack(_arg0)); |
8a2fa5c8 | 3048 | |
0e2ff151 RD |
3049 | wxPyEndAllowThreads(__tstate); |
3050 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
3051 | } SWIG_MakePtr(_ptemp, (void *) _result,"_wxColour_p"); |
3052 | _resultobj = Py_BuildValue("s",_ptemp); | |
3053 | return _resultobj; | |
3054 | } | |
3055 | ||
3056 | #define wxStyledTextCtrl_SetCaretLineBack(_swigobj,_swigarg0) (_swigobj->SetCaretLineBack(_swigarg0)) | |
3057 | static PyObject *_wrap_wxStyledTextCtrl_SetCaretLineBack(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3058 | PyObject * _resultobj; | |
3059 | wxStyledTextCtrl * _arg0; | |
3060 | wxColour * _arg1; | |
3061 | PyObject * _argo0 = 0; | |
3062 | wxColour temp; | |
3063 | PyObject * _obj1 = 0; | |
3064 | char *_kwnames[] = { "self","back", NULL }; | |
3065 | ||
3066 | self = self; | |
3067 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxStyledTextCtrl_SetCaretLineBack",_kwnames,&_argo0,&_obj1)) | |
3068 | return NULL; | |
3069 | if (_argo0) { | |
3070 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3071 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
3072 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetCaretLineBack. Expected _wxStyledTextCtrl_p."); | |
3073 | return NULL; | |
3074 | } | |
3075 | } | |
3076 | { | |
3077 | _arg1 = &temp; | |
3078 | if (! wxColour_helper(_obj1, &_arg1)) | |
3079 | return NULL; | |
3080 | } | |
3081 | { | |
0e2ff151 | 3082 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 3083 | wxStyledTextCtrl_SetCaretLineBack(_arg0,*_arg1); |
8a2fa5c8 | 3084 | |
0e2ff151 RD |
3085 | wxPyEndAllowThreads(__tstate); |
3086 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
3087 | } Py_INCREF(Py_None); |
3088 | _resultobj = Py_None; | |
3089 | return _resultobj; | |
3090 | } | |
3091 | ||
c3bfa1cb RD |
3092 | #define wxStyledTextCtrl_StyleSetChangeable(_swigobj,_swigarg0,_swigarg1) (_swigobj->StyleSetChangeable(_swigarg0,_swigarg1)) |
3093 | static PyObject *_wrap_wxStyledTextCtrl_StyleSetChangeable(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3094 | PyObject * _resultobj; | |
3095 | wxStyledTextCtrl * _arg0; | |
3096 | int _arg1; | |
3097 | bool _arg2; | |
3098 | PyObject * _argo0 = 0; | |
3099 | int tempbool2; | |
3100 | char *_kwnames[] = { "self","style","changeable", NULL }; | |
3101 | ||
3102 | self = self; | |
3103 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxStyledTextCtrl_StyleSetChangeable",_kwnames,&_argo0,&_arg1,&tempbool2)) | |
3104 | return NULL; | |
3105 | if (_argo0) { | |
3106 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3107 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
3108 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_StyleSetChangeable. Expected _wxStyledTextCtrl_p."); | |
3109 | return NULL; | |
3110 | } | |
3111 | } | |
3112 | _arg2 = (bool ) tempbool2; | |
3113 | { | |
3114 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3115 | wxStyledTextCtrl_StyleSetChangeable(_arg0,_arg1,_arg2); | |
3116 | ||
3117 | wxPyEndAllowThreads(__tstate); | |
3118 | if (PyErr_Occurred()) return NULL; | |
3119 | } Py_INCREF(Py_None); | |
3120 | _resultobj = Py_None; | |
3121 | return _resultobj; | |
3122 | } | |
3123 | ||
8a2fa5c8 RD |
3124 | #define wxStyledTextCtrl_AutoCompShow(_swigobj,_swigarg0,_swigarg1) (_swigobj->AutoCompShow(_swigarg0,_swigarg1)) |
3125 | static PyObject *_wrap_wxStyledTextCtrl_AutoCompShow(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3126 | PyObject * _resultobj; | |
3127 | wxStyledTextCtrl * _arg0; | |
3128 | int _arg1; | |
3129 | wxString * _arg2; | |
3130 | PyObject * _argo0 = 0; | |
3131 | PyObject * _obj2 = 0; | |
3132 | char *_kwnames[] = { "self","lenEntered","itemList", NULL }; | |
3133 | ||
3134 | self = self; | |
3135 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxStyledTextCtrl_AutoCompShow",_kwnames,&_argo0,&_arg1,&_obj2)) | |
3136 | return NULL; | |
3137 | if (_argo0) { | |
3138 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3139 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
3140 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_AutoCompShow. Expected _wxStyledTextCtrl_p."); | |
3141 | return NULL; | |
3142 | } | |
3143 | } | |
3144 | { | |
6824d4f9 RD |
3145 | _arg2 = wxString_in_helper(_obj2); |
3146 | if (_arg2 == NULL) | |
8a2fa5c8 | 3147 | return NULL; |
8a2fa5c8 RD |
3148 | } |
3149 | { | |
0e2ff151 | 3150 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 3151 | wxStyledTextCtrl_AutoCompShow(_arg0,_arg1,*_arg2); |
8a2fa5c8 | 3152 | |
0e2ff151 RD |
3153 | wxPyEndAllowThreads(__tstate); |
3154 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
3155 | } Py_INCREF(Py_None); |
3156 | _resultobj = Py_None; | |
3157 | { | |
3158 | if (_obj2) | |
3159 | delete _arg2; | |
3160 | } | |
3161 | return _resultobj; | |
3162 | } | |
3163 | ||
3164 | #define wxStyledTextCtrl_AutoCompCancel(_swigobj) (_swigobj->AutoCompCancel()) | |
3165 | static PyObject *_wrap_wxStyledTextCtrl_AutoCompCancel(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3166 | PyObject * _resultobj; | |
3167 | wxStyledTextCtrl * _arg0; | |
3168 | PyObject * _argo0 = 0; | |
3169 | char *_kwnames[] = { "self", NULL }; | |
3170 | ||
3171 | self = self; | |
3172 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_AutoCompCancel",_kwnames,&_argo0)) | |
3173 | return NULL; | |
3174 | if (_argo0) { | |
3175 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3176 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
3177 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_AutoCompCancel. Expected _wxStyledTextCtrl_p."); | |
3178 | return NULL; | |
3179 | } | |
3180 | } | |
3181 | { | |
0e2ff151 | 3182 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 3183 | wxStyledTextCtrl_AutoCompCancel(_arg0); |
8a2fa5c8 | 3184 | |
0e2ff151 RD |
3185 | wxPyEndAllowThreads(__tstate); |
3186 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
3187 | } Py_INCREF(Py_None); |
3188 | _resultobj = Py_None; | |
3189 | return _resultobj; | |
3190 | } | |
3191 | ||
3192 | #define wxStyledTextCtrl_AutoCompActive(_swigobj) (_swigobj->AutoCompActive()) | |
3193 | static PyObject *_wrap_wxStyledTextCtrl_AutoCompActive(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3194 | PyObject * _resultobj; | |
3195 | bool _result; | |
3196 | wxStyledTextCtrl * _arg0; | |
3197 | PyObject * _argo0 = 0; | |
3198 | char *_kwnames[] = { "self", NULL }; | |
3199 | ||
3200 | self = self; | |
3201 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_AutoCompActive",_kwnames,&_argo0)) | |
3202 | return NULL; | |
3203 | if (_argo0) { | |
3204 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3205 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
3206 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_AutoCompActive. Expected _wxStyledTextCtrl_p."); | |
3207 | return NULL; | |
3208 | } | |
3209 | } | |
3210 | { | |
0e2ff151 | 3211 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 3212 | _result = (bool )wxStyledTextCtrl_AutoCompActive(_arg0); |
8a2fa5c8 | 3213 | |
0e2ff151 RD |
3214 | wxPyEndAllowThreads(__tstate); |
3215 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
3216 | } _resultobj = Py_BuildValue("i",_result); |
3217 | return _resultobj; | |
3218 | } | |
3219 | ||
3220 | #define wxStyledTextCtrl_AutoCompPosStart(_swigobj) (_swigobj->AutoCompPosStart()) | |
3221 | static PyObject *_wrap_wxStyledTextCtrl_AutoCompPosStart(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3222 | PyObject * _resultobj; | |
3223 | int _result; | |
3224 | wxStyledTextCtrl * _arg0; | |
3225 | PyObject * _argo0 = 0; | |
3226 | char *_kwnames[] = { "self", NULL }; | |
3227 | ||
3228 | self = self; | |
3229 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_AutoCompPosStart",_kwnames,&_argo0)) | |
3230 | return NULL; | |
3231 | if (_argo0) { | |
3232 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3233 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
3234 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_AutoCompPosStart. Expected _wxStyledTextCtrl_p."); | |
3235 | return NULL; | |
3236 | } | |
3237 | } | |
3238 | { | |
0e2ff151 | 3239 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 3240 | _result = (int )wxStyledTextCtrl_AutoCompPosStart(_arg0); |
8a2fa5c8 | 3241 | |
0e2ff151 RD |
3242 | wxPyEndAllowThreads(__tstate); |
3243 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
3244 | } _resultobj = Py_BuildValue("i",_result); |
3245 | return _resultobj; | |
3246 | } | |
3247 | ||
3248 | #define wxStyledTextCtrl_AutoCompComplete(_swigobj) (_swigobj->AutoCompComplete()) | |
3249 | static PyObject *_wrap_wxStyledTextCtrl_AutoCompComplete(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3250 | PyObject * _resultobj; | |
3251 | wxStyledTextCtrl * _arg0; | |
3252 | PyObject * _argo0 = 0; | |
3253 | char *_kwnames[] = { "self", NULL }; | |
3254 | ||
3255 | self = self; | |
3256 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_AutoCompComplete",_kwnames,&_argo0)) | |
3257 | return NULL; | |
3258 | if (_argo0) { | |
3259 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3260 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
3261 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_AutoCompComplete. Expected _wxStyledTextCtrl_p."); | |
3262 | return NULL; | |
3263 | } | |
3264 | } | |
3265 | { | |
0e2ff151 | 3266 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 3267 | wxStyledTextCtrl_AutoCompComplete(_arg0); |
8a2fa5c8 | 3268 | |
0e2ff151 RD |
3269 | wxPyEndAllowThreads(__tstate); |
3270 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
3271 | } Py_INCREF(Py_None); |
3272 | _resultobj = Py_None; | |
3273 | return _resultobj; | |
3274 | } | |
3275 | ||
3276 | #define wxStyledTextCtrl_AutoCompStops(_swigobj,_swigarg0) (_swigobj->AutoCompStops(_swigarg0)) | |
3277 | static PyObject *_wrap_wxStyledTextCtrl_AutoCompStops(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3278 | PyObject * _resultobj; | |
3279 | wxStyledTextCtrl * _arg0; | |
3280 | wxString * _arg1; | |
3281 | PyObject * _argo0 = 0; | |
3282 | PyObject * _obj1 = 0; | |
3283 | char *_kwnames[] = { "self","characterSet", NULL }; | |
3284 | ||
3285 | self = self; | |
3286 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxStyledTextCtrl_AutoCompStops",_kwnames,&_argo0,&_obj1)) | |
3287 | return NULL; | |
3288 | if (_argo0) { | |
3289 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3290 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
3291 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_AutoCompStops. Expected _wxStyledTextCtrl_p."); | |
3292 | return NULL; | |
3293 | } | |
3294 | } | |
3295 | { | |
6824d4f9 RD |
3296 | _arg1 = wxString_in_helper(_obj1); |
3297 | if (_arg1 == NULL) | |
8a2fa5c8 | 3298 | return NULL; |
8a2fa5c8 RD |
3299 | } |
3300 | { | |
0e2ff151 | 3301 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 3302 | wxStyledTextCtrl_AutoCompStops(_arg0,*_arg1); |
8a2fa5c8 | 3303 | |
0e2ff151 RD |
3304 | wxPyEndAllowThreads(__tstate); |
3305 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
3306 | } Py_INCREF(Py_None); |
3307 | _resultobj = Py_None; | |
3308 | { | |
3309 | if (_obj1) | |
3310 | delete _arg1; | |
3311 | } | |
3312 | return _resultobj; | |
3313 | } | |
3314 | ||
3315 | #define wxStyledTextCtrl_AutoCompSetSeparator(_swigobj,_swigarg0) (_swigobj->AutoCompSetSeparator(_swigarg0)) | |
3316 | static PyObject *_wrap_wxStyledTextCtrl_AutoCompSetSeparator(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3317 | PyObject * _resultobj; | |
3318 | wxStyledTextCtrl * _arg0; | |
3319 | int _arg1; | |
3320 | PyObject * _argo0 = 0; | |
3321 | char *_kwnames[] = { "self","separatorCharacter", NULL }; | |
3322 | ||
3323 | self = self; | |
3324 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_AutoCompSetSeparator",_kwnames,&_argo0,&_arg1)) | |
3325 | return NULL; | |
3326 | if (_argo0) { | |
3327 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3328 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
3329 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_AutoCompSetSeparator. Expected _wxStyledTextCtrl_p."); | |
3330 | return NULL; | |
3331 | } | |
3332 | } | |
3333 | { | |
0e2ff151 | 3334 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 3335 | wxStyledTextCtrl_AutoCompSetSeparator(_arg0,_arg1); |
8a2fa5c8 | 3336 | |
0e2ff151 RD |
3337 | wxPyEndAllowThreads(__tstate); |
3338 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
3339 | } Py_INCREF(Py_None); |
3340 | _resultobj = Py_None; | |
3341 | return _resultobj; | |
3342 | } | |
3343 | ||
3344 | #define wxStyledTextCtrl_AutoCompGetSeparator(_swigobj) (_swigobj->AutoCompGetSeparator()) | |
3345 | static PyObject *_wrap_wxStyledTextCtrl_AutoCompGetSeparator(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3346 | PyObject * _resultobj; | |
3347 | int _result; | |
3348 | wxStyledTextCtrl * _arg0; | |
3349 | PyObject * _argo0 = 0; | |
3350 | char *_kwnames[] = { "self", NULL }; | |
3351 | ||
3352 | self = self; | |
3353 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_AutoCompGetSeparator",_kwnames,&_argo0)) | |
3354 | return NULL; | |
3355 | if (_argo0) { | |
3356 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3357 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
3358 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_AutoCompGetSeparator. Expected _wxStyledTextCtrl_p."); | |
3359 | return NULL; | |
3360 | } | |
3361 | } | |
3362 | { | |
0e2ff151 | 3363 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 3364 | _result = (int )wxStyledTextCtrl_AutoCompGetSeparator(_arg0); |
8a2fa5c8 | 3365 | |
0e2ff151 RD |
3366 | wxPyEndAllowThreads(__tstate); |
3367 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
3368 | } _resultobj = Py_BuildValue("i",_result); |
3369 | return _resultobj; | |
3370 | } | |
3371 | ||
3372 | #define wxStyledTextCtrl_AutoCompSelect(_swigobj,_swigarg0) (_swigobj->AutoCompSelect(_swigarg0)) | |
3373 | static PyObject *_wrap_wxStyledTextCtrl_AutoCompSelect(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3374 | PyObject * _resultobj; | |
3375 | wxStyledTextCtrl * _arg0; | |
3376 | wxString * _arg1; | |
3377 | PyObject * _argo0 = 0; | |
3378 | PyObject * _obj1 = 0; | |
3379 | char *_kwnames[] = { "self","text", NULL }; | |
3380 | ||
3381 | self = self; | |
3382 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxStyledTextCtrl_AutoCompSelect",_kwnames,&_argo0,&_obj1)) | |
3383 | return NULL; | |
3384 | if (_argo0) { | |
3385 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3386 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
3387 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_AutoCompSelect. Expected _wxStyledTextCtrl_p."); | |
3388 | return NULL; | |
3389 | } | |
3390 | } | |
3391 | { | |
6824d4f9 RD |
3392 | _arg1 = wxString_in_helper(_obj1); |
3393 | if (_arg1 == NULL) | |
8a2fa5c8 | 3394 | return NULL; |
8a2fa5c8 RD |
3395 | } |
3396 | { | |
0e2ff151 | 3397 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 3398 | wxStyledTextCtrl_AutoCompSelect(_arg0,*_arg1); |
8a2fa5c8 | 3399 | |
0e2ff151 RD |
3400 | wxPyEndAllowThreads(__tstate); |
3401 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
3402 | } Py_INCREF(Py_None); |
3403 | _resultobj = Py_None; | |
3404 | { | |
3405 | if (_obj1) | |
3406 | delete _arg1; | |
3407 | } | |
3408 | return _resultobj; | |
3409 | } | |
3410 | ||
3411 | #define wxStyledTextCtrl_AutoCompSetCancelAtStart(_swigobj,_swigarg0) (_swigobj->AutoCompSetCancelAtStart(_swigarg0)) | |
3412 | static PyObject *_wrap_wxStyledTextCtrl_AutoCompSetCancelAtStart(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3413 | PyObject * _resultobj; | |
3414 | wxStyledTextCtrl * _arg0; | |
3415 | bool _arg1; | |
3416 | PyObject * _argo0 = 0; | |
3417 | int tempbool1; | |
3418 | char *_kwnames[] = { "self","cancel", NULL }; | |
3419 | ||
3420 | self = self; | |
3421 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_AutoCompSetCancelAtStart",_kwnames,&_argo0,&tempbool1)) | |
3422 | return NULL; | |
3423 | if (_argo0) { | |
3424 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3425 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
3426 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_AutoCompSetCancelAtStart. Expected _wxStyledTextCtrl_p."); | |
3427 | return NULL; | |
3428 | } | |
3429 | } | |
3430 | _arg1 = (bool ) tempbool1; | |
3431 | { | |
0e2ff151 | 3432 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 3433 | wxStyledTextCtrl_AutoCompSetCancelAtStart(_arg0,_arg1); |
8a2fa5c8 | 3434 | |
0e2ff151 RD |
3435 | wxPyEndAllowThreads(__tstate); |
3436 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
3437 | } Py_INCREF(Py_None); |
3438 | _resultobj = Py_None; | |
3439 | return _resultobj; | |
3440 | } | |
3441 | ||
3442 | #define wxStyledTextCtrl_AutoCompGetCancelAtStart(_swigobj) (_swigobj->AutoCompGetCancelAtStart()) | |
3443 | static PyObject *_wrap_wxStyledTextCtrl_AutoCompGetCancelAtStart(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3444 | PyObject * _resultobj; | |
3445 | bool _result; | |
3446 | wxStyledTextCtrl * _arg0; | |
3447 | PyObject * _argo0 = 0; | |
3448 | char *_kwnames[] = { "self", NULL }; | |
3449 | ||
3450 | self = self; | |
3451 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_AutoCompGetCancelAtStart",_kwnames,&_argo0)) | |
3452 | return NULL; | |
3453 | if (_argo0) { | |
3454 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3455 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
3456 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_AutoCompGetCancelAtStart. Expected _wxStyledTextCtrl_p."); | |
3457 | return NULL; | |
3458 | } | |
3459 | } | |
3460 | { | |
0e2ff151 | 3461 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 3462 | _result = (bool )wxStyledTextCtrl_AutoCompGetCancelAtStart(_arg0); |
8a2fa5c8 | 3463 | |
0e2ff151 RD |
3464 | wxPyEndAllowThreads(__tstate); |
3465 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
3466 | } _resultobj = Py_BuildValue("i",_result); |
3467 | return _resultobj; | |
3468 | } | |
3469 | ||
3470 | #define wxStyledTextCtrl_AutoCompSetFillUps(_swigobj,_swigarg0) (_swigobj->AutoCompSetFillUps(_swigarg0)) | |
3471 | static PyObject *_wrap_wxStyledTextCtrl_AutoCompSetFillUps(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3472 | PyObject * _resultobj; | |
3473 | wxStyledTextCtrl * _arg0; | |
3474 | wxString * _arg1; | |
3475 | PyObject * _argo0 = 0; | |
3476 | PyObject * _obj1 = 0; | |
3477 | char *_kwnames[] = { "self","characterSet", NULL }; | |
3478 | ||
3479 | self = self; | |
3480 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxStyledTextCtrl_AutoCompSetFillUps",_kwnames,&_argo0,&_obj1)) | |
3481 | return NULL; | |
3482 | if (_argo0) { | |
3483 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3484 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
3485 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_AutoCompSetFillUps. Expected _wxStyledTextCtrl_p."); | |
3486 | return NULL; | |
3487 | } | |
3488 | } | |
3489 | { | |
6824d4f9 RD |
3490 | _arg1 = wxString_in_helper(_obj1); |
3491 | if (_arg1 == NULL) | |
8a2fa5c8 | 3492 | return NULL; |
8a2fa5c8 RD |
3493 | } |
3494 | { | |
0e2ff151 | 3495 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 3496 | wxStyledTextCtrl_AutoCompSetFillUps(_arg0,*_arg1); |
8a2fa5c8 | 3497 | |
0e2ff151 RD |
3498 | wxPyEndAllowThreads(__tstate); |
3499 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
3500 | } Py_INCREF(Py_None); |
3501 | _resultobj = Py_None; | |
3502 | { | |
3503 | if (_obj1) | |
3504 | delete _arg1; | |
3505 | } | |
3506 | return _resultobj; | |
3507 | } | |
3508 | ||
3509 | #define wxStyledTextCtrl_AutoCompSetChooseSingle(_swigobj,_swigarg0) (_swigobj->AutoCompSetChooseSingle(_swigarg0)) | |
3510 | static PyObject *_wrap_wxStyledTextCtrl_AutoCompSetChooseSingle(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3511 | PyObject * _resultobj; | |
3512 | wxStyledTextCtrl * _arg0; | |
3513 | bool _arg1; | |
3514 | PyObject * _argo0 = 0; | |
3515 | int tempbool1; | |
3516 | char *_kwnames[] = { "self","chooseSingle", NULL }; | |
3517 | ||
3518 | self = self; | |
3519 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_AutoCompSetChooseSingle",_kwnames,&_argo0,&tempbool1)) | |
3520 | return NULL; | |
3521 | if (_argo0) { | |
3522 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3523 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
3524 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_AutoCompSetChooseSingle. Expected _wxStyledTextCtrl_p."); | |
3525 | return NULL; | |
3526 | } | |
3527 | } | |
3528 | _arg1 = (bool ) tempbool1; | |
3529 | { | |
0e2ff151 | 3530 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 3531 | wxStyledTextCtrl_AutoCompSetChooseSingle(_arg0,_arg1); |
8a2fa5c8 | 3532 | |
0e2ff151 RD |
3533 | wxPyEndAllowThreads(__tstate); |
3534 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
3535 | } Py_INCREF(Py_None); |
3536 | _resultobj = Py_None; | |
3537 | return _resultobj; | |
3538 | } | |
3539 | ||
3540 | #define wxStyledTextCtrl_AutoCompGetChooseSingle(_swigobj) (_swigobj->AutoCompGetChooseSingle()) | |
3541 | static PyObject *_wrap_wxStyledTextCtrl_AutoCompGetChooseSingle(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3542 | PyObject * _resultobj; | |
3543 | bool _result; | |
3544 | wxStyledTextCtrl * _arg0; | |
3545 | PyObject * _argo0 = 0; | |
3546 | char *_kwnames[] = { "self", NULL }; | |
3547 | ||
3548 | self = self; | |
3549 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_AutoCompGetChooseSingle",_kwnames,&_argo0)) | |
3550 | return NULL; | |
3551 | if (_argo0) { | |
3552 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3553 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
3554 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_AutoCompGetChooseSingle. Expected _wxStyledTextCtrl_p."); | |
3555 | return NULL; | |
3556 | } | |
3557 | } | |
3558 | { | |
0e2ff151 | 3559 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 3560 | _result = (bool )wxStyledTextCtrl_AutoCompGetChooseSingle(_arg0); |
8a2fa5c8 | 3561 | |
0e2ff151 RD |
3562 | wxPyEndAllowThreads(__tstate); |
3563 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
3564 | } _resultobj = Py_BuildValue("i",_result); |
3565 | return _resultobj; | |
3566 | } | |
3567 | ||
3568 | #define wxStyledTextCtrl_AutoCompSetIgnoreCase(_swigobj,_swigarg0) (_swigobj->AutoCompSetIgnoreCase(_swigarg0)) | |
3569 | static PyObject *_wrap_wxStyledTextCtrl_AutoCompSetIgnoreCase(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3570 | PyObject * _resultobj; | |
3571 | wxStyledTextCtrl * _arg0; | |
3572 | bool _arg1; | |
3573 | PyObject * _argo0 = 0; | |
3574 | int tempbool1; | |
3575 | char *_kwnames[] = { "self","ignoreCase", NULL }; | |
3576 | ||
3577 | self = self; | |
3578 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_AutoCompSetIgnoreCase",_kwnames,&_argo0,&tempbool1)) | |
3579 | return NULL; | |
3580 | if (_argo0) { | |
3581 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3582 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
3583 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_AutoCompSetIgnoreCase. Expected _wxStyledTextCtrl_p."); | |
3584 | return NULL; | |
3585 | } | |
3586 | } | |
3587 | _arg1 = (bool ) tempbool1; | |
3588 | { | |
0e2ff151 | 3589 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 3590 | wxStyledTextCtrl_AutoCompSetIgnoreCase(_arg0,_arg1); |
8a2fa5c8 | 3591 | |
0e2ff151 RD |
3592 | wxPyEndAllowThreads(__tstate); |
3593 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
3594 | } Py_INCREF(Py_None); |
3595 | _resultobj = Py_None; | |
3596 | return _resultobj; | |
3597 | } | |
3598 | ||
3599 | #define wxStyledTextCtrl_AutoCompGetIgnoreCase(_swigobj) (_swigobj->AutoCompGetIgnoreCase()) | |
3600 | static PyObject *_wrap_wxStyledTextCtrl_AutoCompGetIgnoreCase(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3601 | PyObject * _resultobj; | |
3602 | bool _result; | |
3603 | wxStyledTextCtrl * _arg0; | |
3604 | PyObject * _argo0 = 0; | |
3605 | char *_kwnames[] = { "self", NULL }; | |
3606 | ||
3607 | self = self; | |
3608 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_AutoCompGetIgnoreCase",_kwnames,&_argo0)) | |
3609 | return NULL; | |
3610 | if (_argo0) { | |
3611 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3612 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
3613 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_AutoCompGetIgnoreCase. Expected _wxStyledTextCtrl_p."); | |
3614 | return NULL; | |
3615 | } | |
3616 | } | |
3617 | { | |
0e2ff151 | 3618 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 3619 | _result = (bool )wxStyledTextCtrl_AutoCompGetIgnoreCase(_arg0); |
8a2fa5c8 | 3620 | |
0e2ff151 RD |
3621 | wxPyEndAllowThreads(__tstate); |
3622 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
3623 | } _resultobj = Py_BuildValue("i",_result); |
3624 | return _resultobj; | |
3625 | } | |
3626 | ||
3627 | #define wxStyledTextCtrl_UserListShow(_swigobj,_swigarg0,_swigarg1) (_swigobj->UserListShow(_swigarg0,_swigarg1)) | |
3628 | static PyObject *_wrap_wxStyledTextCtrl_UserListShow(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3629 | PyObject * _resultobj; | |
3630 | wxStyledTextCtrl * _arg0; | |
3631 | int _arg1; | |
3632 | wxString * _arg2; | |
3633 | PyObject * _argo0 = 0; | |
3634 | PyObject * _obj2 = 0; | |
3635 | char *_kwnames[] = { "self","listType","itemList", NULL }; | |
3636 | ||
3637 | self = self; | |
3638 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxStyledTextCtrl_UserListShow",_kwnames,&_argo0,&_arg1,&_obj2)) | |
3639 | return NULL; | |
3640 | if (_argo0) { | |
3641 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3642 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
3643 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_UserListShow. Expected _wxStyledTextCtrl_p."); | |
3644 | return NULL; | |
3645 | } | |
3646 | } | |
3647 | { | |
6824d4f9 RD |
3648 | _arg2 = wxString_in_helper(_obj2); |
3649 | if (_arg2 == NULL) | |
8a2fa5c8 | 3650 | return NULL; |
8a2fa5c8 RD |
3651 | } |
3652 | { | |
0e2ff151 | 3653 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 3654 | wxStyledTextCtrl_UserListShow(_arg0,_arg1,*_arg2); |
8a2fa5c8 | 3655 | |
0e2ff151 RD |
3656 | wxPyEndAllowThreads(__tstate); |
3657 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
3658 | } Py_INCREF(Py_None); |
3659 | _resultobj = Py_None; | |
3660 | { | |
3661 | if (_obj2) | |
3662 | delete _arg2; | |
3663 | } | |
3664 | return _resultobj; | |
3665 | } | |
3666 | ||
3667 | #define wxStyledTextCtrl_AutoCompSetAutoHide(_swigobj,_swigarg0) (_swigobj->AutoCompSetAutoHide(_swigarg0)) | |
3668 | static PyObject *_wrap_wxStyledTextCtrl_AutoCompSetAutoHide(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3669 | PyObject * _resultobj; | |
3670 | wxStyledTextCtrl * _arg0; | |
3671 | bool _arg1; | |
3672 | PyObject * _argo0 = 0; | |
3673 | int tempbool1; | |
3674 | char *_kwnames[] = { "self","autoHide", NULL }; | |
3675 | ||
3676 | self = self; | |
3677 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_AutoCompSetAutoHide",_kwnames,&_argo0,&tempbool1)) | |
3678 | return NULL; | |
3679 | if (_argo0) { | |
3680 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3681 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
3682 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_AutoCompSetAutoHide. Expected _wxStyledTextCtrl_p."); | |
3683 | return NULL; | |
3684 | } | |
3685 | } | |
3686 | _arg1 = (bool ) tempbool1; | |
3687 | { | |
0e2ff151 | 3688 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 3689 | wxStyledTextCtrl_AutoCompSetAutoHide(_arg0,_arg1); |
8a2fa5c8 | 3690 | |
0e2ff151 RD |
3691 | wxPyEndAllowThreads(__tstate); |
3692 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
3693 | } Py_INCREF(Py_None); |
3694 | _resultobj = Py_None; | |
3695 | return _resultobj; | |
3696 | } | |
3697 | ||
3698 | #define wxStyledTextCtrl_AutoCompGetAutoHide(_swigobj) (_swigobj->AutoCompGetAutoHide()) | |
3699 | static PyObject *_wrap_wxStyledTextCtrl_AutoCompGetAutoHide(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3700 | PyObject * _resultobj; | |
3701 | bool _result; | |
3702 | wxStyledTextCtrl * _arg0; | |
3703 | PyObject * _argo0 = 0; | |
3704 | char *_kwnames[] = { "self", NULL }; | |
3705 | ||
3706 | self = self; | |
3707 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_AutoCompGetAutoHide",_kwnames,&_argo0)) | |
3708 | return NULL; | |
3709 | if (_argo0) { | |
3710 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3711 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
3712 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_AutoCompGetAutoHide. Expected _wxStyledTextCtrl_p."); | |
3713 | return NULL; | |
3714 | } | |
3715 | } | |
3716 | { | |
0e2ff151 | 3717 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 3718 | _result = (bool )wxStyledTextCtrl_AutoCompGetAutoHide(_arg0); |
8a2fa5c8 | 3719 | |
0e2ff151 RD |
3720 | wxPyEndAllowThreads(__tstate); |
3721 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
3722 | } _resultobj = Py_BuildValue("i",_result); |
3723 | return _resultobj; | |
3724 | } | |
3725 | ||
c3bfa1cb RD |
3726 | #define wxStyledTextCtrl_AutoCompSetDropRestOfWord(_swigobj,_swigarg0) (_swigobj->AutoCompSetDropRestOfWord(_swigarg0)) |
3727 | static PyObject *_wrap_wxStyledTextCtrl_AutoCompSetDropRestOfWord(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3728 | PyObject * _resultobj; | |
3729 | wxStyledTextCtrl * _arg0; | |
3730 | bool _arg1; | |
3731 | PyObject * _argo0 = 0; | |
3732 | int tempbool1; | |
3733 | char *_kwnames[] = { "self","dropRestOfWord", NULL }; | |
3734 | ||
3735 | self = self; | |
3736 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_AutoCompSetDropRestOfWord",_kwnames,&_argo0,&tempbool1)) | |
3737 | return NULL; | |
3738 | if (_argo0) { | |
3739 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3740 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
3741 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_AutoCompSetDropRestOfWord. Expected _wxStyledTextCtrl_p."); | |
3742 | return NULL; | |
3743 | } | |
3744 | } | |
3745 | _arg1 = (bool ) tempbool1; | |
3746 | { | |
3747 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3748 | wxStyledTextCtrl_AutoCompSetDropRestOfWord(_arg0,_arg1); | |
3749 | ||
3750 | wxPyEndAllowThreads(__tstate); | |
3751 | if (PyErr_Occurred()) return NULL; | |
3752 | } Py_INCREF(Py_None); | |
3753 | _resultobj = Py_None; | |
3754 | return _resultobj; | |
3755 | } | |
3756 | ||
3757 | #define wxStyledTextCtrl_AutoCompGetDropRestOfWord(_swigobj) (_swigobj->AutoCompGetDropRestOfWord()) | |
3758 | static PyObject *_wrap_wxStyledTextCtrl_AutoCompGetDropRestOfWord(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3759 | PyObject * _resultobj; | |
3760 | bool _result; | |
3761 | wxStyledTextCtrl * _arg0; | |
3762 | PyObject * _argo0 = 0; | |
3763 | char *_kwnames[] = { "self", NULL }; | |
3764 | ||
3765 | self = self; | |
3766 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_AutoCompGetDropRestOfWord",_kwnames,&_argo0)) | |
3767 | return NULL; | |
3768 | if (_argo0) { | |
3769 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3770 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
3771 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_AutoCompGetDropRestOfWord. Expected _wxStyledTextCtrl_p."); | |
3772 | return NULL; | |
3773 | } | |
3774 | } | |
3775 | { | |
3776 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3777 | _result = (bool )wxStyledTextCtrl_AutoCompGetDropRestOfWord(_arg0); | |
3778 | ||
3779 | wxPyEndAllowThreads(__tstate); | |
3780 | if (PyErr_Occurred()) return NULL; | |
3781 | } _resultobj = Py_BuildValue("i",_result); | |
3782 | return _resultobj; | |
3783 | } | |
3784 | ||
8a2fa5c8 RD |
3785 | #define wxStyledTextCtrl_SetIndent(_swigobj,_swigarg0) (_swigobj->SetIndent(_swigarg0)) |
3786 | static PyObject *_wrap_wxStyledTextCtrl_SetIndent(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3787 | PyObject * _resultobj; | |
3788 | wxStyledTextCtrl * _arg0; | |
3789 | int _arg1; | |
3790 | PyObject * _argo0 = 0; | |
3791 | char *_kwnames[] = { "self","indentSize", NULL }; | |
3792 | ||
3793 | self = self; | |
3794 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_SetIndent",_kwnames,&_argo0,&_arg1)) | |
3795 | return NULL; | |
3796 | if (_argo0) { | |
3797 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3798 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
3799 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetIndent. Expected _wxStyledTextCtrl_p."); | |
3800 | return NULL; | |
3801 | } | |
3802 | } | |
3803 | { | |
0e2ff151 | 3804 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 3805 | wxStyledTextCtrl_SetIndent(_arg0,_arg1); |
8a2fa5c8 | 3806 | |
0e2ff151 RD |
3807 | wxPyEndAllowThreads(__tstate); |
3808 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
3809 | } Py_INCREF(Py_None); |
3810 | _resultobj = Py_None; | |
3811 | return _resultobj; | |
3812 | } | |
3813 | ||
3814 | #define wxStyledTextCtrl_GetIndent(_swigobj) (_swigobj->GetIndent()) | |
3815 | static PyObject *_wrap_wxStyledTextCtrl_GetIndent(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3816 | PyObject * _resultobj; | |
3817 | int _result; | |
3818 | wxStyledTextCtrl * _arg0; | |
3819 | PyObject * _argo0 = 0; | |
3820 | char *_kwnames[] = { "self", NULL }; | |
3821 | ||
3822 | self = self; | |
3823 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetIndent",_kwnames,&_argo0)) | |
3824 | return NULL; | |
3825 | if (_argo0) { | |
3826 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3827 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
3828 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetIndent. Expected _wxStyledTextCtrl_p."); | |
3829 | return NULL; | |
3830 | } | |
3831 | } | |
3832 | { | |
0e2ff151 | 3833 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 3834 | _result = (int )wxStyledTextCtrl_GetIndent(_arg0); |
8a2fa5c8 | 3835 | |
0e2ff151 RD |
3836 | wxPyEndAllowThreads(__tstate); |
3837 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
3838 | } _resultobj = Py_BuildValue("i",_result); |
3839 | return _resultobj; | |
3840 | } | |
3841 | ||
3842 | #define wxStyledTextCtrl_SetUseTabs(_swigobj,_swigarg0) (_swigobj->SetUseTabs(_swigarg0)) | |
3843 | static PyObject *_wrap_wxStyledTextCtrl_SetUseTabs(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3844 | PyObject * _resultobj; | |
3845 | wxStyledTextCtrl * _arg0; | |
3846 | bool _arg1; | |
3847 | PyObject * _argo0 = 0; | |
3848 | int tempbool1; | |
3849 | char *_kwnames[] = { "self","useTabs", NULL }; | |
3850 | ||
3851 | self = self; | |
3852 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_SetUseTabs",_kwnames,&_argo0,&tempbool1)) | |
3853 | return NULL; | |
3854 | if (_argo0) { | |
3855 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3856 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
3857 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetUseTabs. Expected _wxStyledTextCtrl_p."); | |
3858 | return NULL; | |
3859 | } | |
3860 | } | |
3861 | _arg1 = (bool ) tempbool1; | |
3862 | { | |
0e2ff151 | 3863 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 3864 | wxStyledTextCtrl_SetUseTabs(_arg0,_arg1); |
8a2fa5c8 | 3865 | |
0e2ff151 RD |
3866 | wxPyEndAllowThreads(__tstate); |
3867 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
3868 | } Py_INCREF(Py_None); |
3869 | _resultobj = Py_None; | |
3870 | return _resultobj; | |
3871 | } | |
3872 | ||
3873 | #define wxStyledTextCtrl_GetUseTabs(_swigobj) (_swigobj->GetUseTabs()) | |
3874 | static PyObject *_wrap_wxStyledTextCtrl_GetUseTabs(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3875 | PyObject * _resultobj; | |
3876 | bool _result; | |
3877 | wxStyledTextCtrl * _arg0; | |
3878 | PyObject * _argo0 = 0; | |
3879 | char *_kwnames[] = { "self", NULL }; | |
3880 | ||
3881 | self = self; | |
3882 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetUseTabs",_kwnames,&_argo0)) | |
3883 | return NULL; | |
3884 | if (_argo0) { | |
3885 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3886 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
3887 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetUseTabs. Expected _wxStyledTextCtrl_p."); | |
3888 | return NULL; | |
3889 | } | |
3890 | } | |
3891 | { | |
0e2ff151 | 3892 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 3893 | _result = (bool )wxStyledTextCtrl_GetUseTabs(_arg0); |
8a2fa5c8 | 3894 | |
0e2ff151 RD |
3895 | wxPyEndAllowThreads(__tstate); |
3896 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
3897 | } _resultobj = Py_BuildValue("i",_result); |
3898 | return _resultobj; | |
3899 | } | |
3900 | ||
3901 | #define wxStyledTextCtrl_SetLineIndentation(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetLineIndentation(_swigarg0,_swigarg1)) | |
3902 | static PyObject *_wrap_wxStyledTextCtrl_SetLineIndentation(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3903 | PyObject * _resultobj; | |
3904 | wxStyledTextCtrl * _arg0; | |
3905 | int _arg1; | |
3906 | int _arg2; | |
3907 | PyObject * _argo0 = 0; | |
3908 | char *_kwnames[] = { "self","line","indentSize", NULL }; | |
3909 | ||
3910 | self = self; | |
3911 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxStyledTextCtrl_SetLineIndentation",_kwnames,&_argo0,&_arg1,&_arg2)) | |
3912 | return NULL; | |
3913 | if (_argo0) { | |
3914 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3915 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
3916 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetLineIndentation. Expected _wxStyledTextCtrl_p."); | |
3917 | return NULL; | |
3918 | } | |
3919 | } | |
3920 | { | |
0e2ff151 | 3921 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 3922 | wxStyledTextCtrl_SetLineIndentation(_arg0,_arg1,_arg2); |
8a2fa5c8 | 3923 | |
0e2ff151 RD |
3924 | wxPyEndAllowThreads(__tstate); |
3925 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
3926 | } Py_INCREF(Py_None); |
3927 | _resultobj = Py_None; | |
3928 | return _resultobj; | |
3929 | } | |
3930 | ||
3931 | #define wxStyledTextCtrl_GetLineIndentation(_swigobj,_swigarg0) (_swigobj->GetLineIndentation(_swigarg0)) | |
3932 | static PyObject *_wrap_wxStyledTextCtrl_GetLineIndentation(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3933 | PyObject * _resultobj; | |
3934 | int _result; | |
3935 | wxStyledTextCtrl * _arg0; | |
3936 | int _arg1; | |
3937 | PyObject * _argo0 = 0; | |
3938 | char *_kwnames[] = { "self","line", NULL }; | |
3939 | ||
3940 | self = self; | |
3941 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_GetLineIndentation",_kwnames,&_argo0,&_arg1)) | |
3942 | return NULL; | |
3943 | if (_argo0) { | |
3944 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3945 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
3946 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetLineIndentation. Expected _wxStyledTextCtrl_p."); | |
3947 | return NULL; | |
3948 | } | |
3949 | } | |
3950 | { | |
0e2ff151 | 3951 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 3952 | _result = (int )wxStyledTextCtrl_GetLineIndentation(_arg0,_arg1); |
8a2fa5c8 | 3953 | |
0e2ff151 RD |
3954 | wxPyEndAllowThreads(__tstate); |
3955 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
3956 | } _resultobj = Py_BuildValue("i",_result); |
3957 | return _resultobj; | |
3958 | } | |
3959 | ||
3960 | #define wxStyledTextCtrl_GetLineIndentPosition(_swigobj,_swigarg0) (_swigobj->GetLineIndentPosition(_swigarg0)) | |
3961 | static PyObject *_wrap_wxStyledTextCtrl_GetLineIndentPosition(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3962 | PyObject * _resultobj; | |
3963 | int _result; | |
3964 | wxStyledTextCtrl * _arg0; | |
3965 | int _arg1; | |
3966 | PyObject * _argo0 = 0; | |
3967 | char *_kwnames[] = { "self","line", NULL }; | |
3968 | ||
3969 | self = self; | |
3970 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_GetLineIndentPosition",_kwnames,&_argo0,&_arg1)) | |
3971 | return NULL; | |
3972 | if (_argo0) { | |
3973 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3974 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
3975 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetLineIndentPosition. Expected _wxStyledTextCtrl_p."); | |
3976 | return NULL; | |
3977 | } | |
3978 | } | |
3979 | { | |
0e2ff151 | 3980 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 3981 | _result = (int )wxStyledTextCtrl_GetLineIndentPosition(_arg0,_arg1); |
8a2fa5c8 | 3982 | |
0e2ff151 RD |
3983 | wxPyEndAllowThreads(__tstate); |
3984 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
3985 | } _resultobj = Py_BuildValue("i",_result); |
3986 | return _resultobj; | |
3987 | } | |
3988 | ||
3989 | #define wxStyledTextCtrl_GetColumn(_swigobj,_swigarg0) (_swigobj->GetColumn(_swigarg0)) | |
3990 | static PyObject *_wrap_wxStyledTextCtrl_GetColumn(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3991 | PyObject * _resultobj; | |
3992 | int _result; | |
3993 | wxStyledTextCtrl * _arg0; | |
3994 | int _arg1; | |
3995 | PyObject * _argo0 = 0; | |
3996 | char *_kwnames[] = { "self","pos", NULL }; | |
3997 | ||
3998 | self = self; | |
3999 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_GetColumn",_kwnames,&_argo0,&_arg1)) | |
4000 | return NULL; | |
4001 | if (_argo0) { | |
4002 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4003 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
4004 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetColumn. Expected _wxStyledTextCtrl_p."); | |
4005 | return NULL; | |
4006 | } | |
4007 | } | |
4008 | { | |
0e2ff151 | 4009 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 4010 | _result = (int )wxStyledTextCtrl_GetColumn(_arg0,_arg1); |
8a2fa5c8 | 4011 | |
0e2ff151 RD |
4012 | wxPyEndAllowThreads(__tstate); |
4013 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
4014 | } _resultobj = Py_BuildValue("i",_result); |
4015 | return _resultobj; | |
4016 | } | |
4017 | ||
4018 | #define wxStyledTextCtrl_SetUseHorizontalScrollBar(_swigobj,_swigarg0) (_swigobj->SetUseHorizontalScrollBar(_swigarg0)) | |
4019 | static PyObject *_wrap_wxStyledTextCtrl_SetUseHorizontalScrollBar(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4020 | PyObject * _resultobj; | |
4021 | wxStyledTextCtrl * _arg0; | |
4022 | bool _arg1; | |
4023 | PyObject * _argo0 = 0; | |
4024 | int tempbool1; | |
4025 | char *_kwnames[] = { "self","show", NULL }; | |
4026 | ||
4027 | self = self; | |
4028 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_SetUseHorizontalScrollBar",_kwnames,&_argo0,&tempbool1)) | |
4029 | return NULL; | |
4030 | if (_argo0) { | |
4031 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4032 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
4033 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetUseHorizontalScrollBar. Expected _wxStyledTextCtrl_p."); | |
4034 | return NULL; | |
4035 | } | |
4036 | } | |
4037 | _arg1 = (bool ) tempbool1; | |
4038 | { | |
0e2ff151 | 4039 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 4040 | wxStyledTextCtrl_SetUseHorizontalScrollBar(_arg0,_arg1); |
8a2fa5c8 | 4041 | |
0e2ff151 RD |
4042 | wxPyEndAllowThreads(__tstate); |
4043 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
4044 | } Py_INCREF(Py_None); |
4045 | _resultobj = Py_None; | |
4046 | return _resultobj; | |
4047 | } | |
4048 | ||
4049 | #define wxStyledTextCtrl_GetUseHorizontalScrollBar(_swigobj) (_swigobj->GetUseHorizontalScrollBar()) | |
4050 | static PyObject *_wrap_wxStyledTextCtrl_GetUseHorizontalScrollBar(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4051 | PyObject * _resultobj; | |
4052 | bool _result; | |
4053 | wxStyledTextCtrl * _arg0; | |
4054 | PyObject * _argo0 = 0; | |
4055 | char *_kwnames[] = { "self", NULL }; | |
4056 | ||
4057 | self = self; | |
4058 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetUseHorizontalScrollBar",_kwnames,&_argo0)) | |
4059 | return NULL; | |
4060 | if (_argo0) { | |
4061 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4062 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
4063 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetUseHorizontalScrollBar. Expected _wxStyledTextCtrl_p."); | |
4064 | return NULL; | |
4065 | } | |
4066 | } | |
4067 | { | |
0e2ff151 | 4068 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 4069 | _result = (bool )wxStyledTextCtrl_GetUseHorizontalScrollBar(_arg0); |
8a2fa5c8 | 4070 | |
0e2ff151 RD |
4071 | wxPyEndAllowThreads(__tstate); |
4072 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
4073 | } _resultobj = Py_BuildValue("i",_result); |
4074 | return _resultobj; | |
4075 | } | |
4076 | ||
4077 | #define wxStyledTextCtrl_SetIndentationGuides(_swigobj,_swigarg0) (_swigobj->SetIndentationGuides(_swigarg0)) | |
4078 | static PyObject *_wrap_wxStyledTextCtrl_SetIndentationGuides(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4079 | PyObject * _resultobj; | |
4080 | wxStyledTextCtrl * _arg0; | |
4081 | bool _arg1; | |
4082 | PyObject * _argo0 = 0; | |
4083 | int tempbool1; | |
4084 | char *_kwnames[] = { "self","show", NULL }; | |
4085 | ||
4086 | self = self; | |
4087 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_SetIndentationGuides",_kwnames,&_argo0,&tempbool1)) | |
4088 | return NULL; | |
4089 | if (_argo0) { | |
4090 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4091 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
4092 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetIndentationGuides. Expected _wxStyledTextCtrl_p."); | |
4093 | return NULL; | |
4094 | } | |
4095 | } | |
4096 | _arg1 = (bool ) tempbool1; | |
4097 | { | |
0e2ff151 | 4098 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 4099 | wxStyledTextCtrl_SetIndentationGuides(_arg0,_arg1); |
8a2fa5c8 | 4100 | |
0e2ff151 RD |
4101 | wxPyEndAllowThreads(__tstate); |
4102 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
4103 | } Py_INCREF(Py_None); |
4104 | _resultobj = Py_None; | |
4105 | return _resultobj; | |
4106 | } | |
4107 | ||
4108 | #define wxStyledTextCtrl_GetIndentationGuides(_swigobj) (_swigobj->GetIndentationGuides()) | |
4109 | static PyObject *_wrap_wxStyledTextCtrl_GetIndentationGuides(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4110 | PyObject * _resultobj; | |
4111 | bool _result; | |
4112 | wxStyledTextCtrl * _arg0; | |
4113 | PyObject * _argo0 = 0; | |
4114 | char *_kwnames[] = { "self", NULL }; | |
4115 | ||
4116 | self = self; | |
4117 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetIndentationGuides",_kwnames,&_argo0)) | |
4118 | return NULL; | |
4119 | if (_argo0) { | |
4120 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4121 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
4122 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetIndentationGuides. Expected _wxStyledTextCtrl_p."); | |
4123 | return NULL; | |
4124 | } | |
4125 | } | |
4126 | { | |
0e2ff151 | 4127 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 4128 | _result = (bool )wxStyledTextCtrl_GetIndentationGuides(_arg0); |
8a2fa5c8 | 4129 | |
0e2ff151 RD |
4130 | wxPyEndAllowThreads(__tstate); |
4131 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
4132 | } _resultobj = Py_BuildValue("i",_result); |
4133 | return _resultobj; | |
4134 | } | |
4135 | ||
4136 | #define wxStyledTextCtrl_SetHighlightGuide(_swigobj,_swigarg0) (_swigobj->SetHighlightGuide(_swigarg0)) | |
4137 | static PyObject *_wrap_wxStyledTextCtrl_SetHighlightGuide(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4138 | PyObject * _resultobj; | |
4139 | wxStyledTextCtrl * _arg0; | |
4140 | int _arg1; | |
4141 | PyObject * _argo0 = 0; | |
4142 | char *_kwnames[] = { "self","column", NULL }; | |
4143 | ||
4144 | self = self; | |
4145 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_SetHighlightGuide",_kwnames,&_argo0,&_arg1)) | |
4146 | return NULL; | |
4147 | if (_argo0) { | |
4148 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4149 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
4150 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetHighlightGuide. Expected _wxStyledTextCtrl_p."); | |
4151 | return NULL; | |
4152 | } | |
4153 | } | |
4154 | { | |
0e2ff151 | 4155 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 4156 | wxStyledTextCtrl_SetHighlightGuide(_arg0,_arg1); |
8a2fa5c8 | 4157 | |
0e2ff151 RD |
4158 | wxPyEndAllowThreads(__tstate); |
4159 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
4160 | } Py_INCREF(Py_None); |
4161 | _resultobj = Py_None; | |
4162 | return _resultobj; | |
4163 | } | |
4164 | ||
4165 | #define wxStyledTextCtrl_GetHighlightGuide(_swigobj) (_swigobj->GetHighlightGuide()) | |
4166 | static PyObject *_wrap_wxStyledTextCtrl_GetHighlightGuide(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4167 | PyObject * _resultobj; | |
4168 | int _result; | |
4169 | wxStyledTextCtrl * _arg0; | |
4170 | PyObject * _argo0 = 0; | |
4171 | char *_kwnames[] = { "self", NULL }; | |
4172 | ||
4173 | self = self; | |
4174 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetHighlightGuide",_kwnames,&_argo0)) | |
4175 | return NULL; | |
4176 | if (_argo0) { | |
4177 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4178 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
4179 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetHighlightGuide. Expected _wxStyledTextCtrl_p."); | |
4180 | return NULL; | |
4181 | } | |
4182 | } | |
4183 | { | |
0e2ff151 | 4184 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 4185 | _result = (int )wxStyledTextCtrl_GetHighlightGuide(_arg0); |
8a2fa5c8 | 4186 | |
0e2ff151 RD |
4187 | wxPyEndAllowThreads(__tstate); |
4188 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
4189 | } _resultobj = Py_BuildValue("i",_result); |
4190 | return _resultobj; | |
4191 | } | |
4192 | ||
4193 | #define wxStyledTextCtrl_GetLineEndPosition(_swigobj,_swigarg0) (_swigobj->GetLineEndPosition(_swigarg0)) | |
4194 | static PyObject *_wrap_wxStyledTextCtrl_GetLineEndPosition(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4195 | PyObject * _resultobj; | |
4196 | int _result; | |
4197 | wxStyledTextCtrl * _arg0; | |
4198 | int _arg1; | |
4199 | PyObject * _argo0 = 0; | |
4200 | char *_kwnames[] = { "self","line", NULL }; | |
4201 | ||
4202 | self = self; | |
4203 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_GetLineEndPosition",_kwnames,&_argo0,&_arg1)) | |
4204 | return NULL; | |
4205 | if (_argo0) { | |
4206 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4207 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
4208 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetLineEndPosition. Expected _wxStyledTextCtrl_p."); | |
4209 | return NULL; | |
4210 | } | |
4211 | } | |
4212 | { | |
0e2ff151 | 4213 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 4214 | _result = (int )wxStyledTextCtrl_GetLineEndPosition(_arg0,_arg1); |
8a2fa5c8 | 4215 | |
0e2ff151 RD |
4216 | wxPyEndAllowThreads(__tstate); |
4217 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
4218 | } _resultobj = Py_BuildValue("i",_result); |
4219 | return _resultobj; | |
4220 | } | |
4221 | ||
4222 | #define wxStyledTextCtrl_GetCodePage(_swigobj) (_swigobj->GetCodePage()) | |
4223 | static PyObject *_wrap_wxStyledTextCtrl_GetCodePage(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4224 | PyObject * _resultobj; | |
4225 | int _result; | |
4226 | wxStyledTextCtrl * _arg0; | |
4227 | PyObject * _argo0 = 0; | |
4228 | char *_kwnames[] = { "self", NULL }; | |
4229 | ||
4230 | self = self; | |
4231 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetCodePage",_kwnames,&_argo0)) | |
4232 | return NULL; | |
4233 | if (_argo0) { | |
4234 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4235 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
4236 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetCodePage. Expected _wxStyledTextCtrl_p."); | |
4237 | return NULL; | |
4238 | } | |
4239 | } | |
4240 | { | |
0e2ff151 | 4241 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 4242 | _result = (int )wxStyledTextCtrl_GetCodePage(_arg0); |
8a2fa5c8 | 4243 | |
0e2ff151 RD |
4244 | wxPyEndAllowThreads(__tstate); |
4245 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
4246 | } _resultobj = Py_BuildValue("i",_result); |
4247 | return _resultobj; | |
4248 | } | |
4249 | ||
4250 | #define wxStyledTextCtrl_GetCaretForeground(_swigobj) (_swigobj->GetCaretForeground()) | |
4251 | static PyObject *_wrap_wxStyledTextCtrl_GetCaretForeground(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4252 | PyObject * _resultobj; | |
4253 | wxColour * _result; | |
4254 | wxStyledTextCtrl * _arg0; | |
4255 | PyObject * _argo0 = 0; | |
4256 | char *_kwnames[] = { "self", NULL }; | |
4257 | char _ptemp[128]; | |
4258 | ||
4259 | self = self; | |
4260 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetCaretForeground",_kwnames,&_argo0)) | |
4261 | return NULL; | |
4262 | if (_argo0) { | |
4263 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4264 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
4265 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetCaretForeground. Expected _wxStyledTextCtrl_p."); | |
4266 | return NULL; | |
4267 | } | |
4268 | } | |
4269 | { | |
0e2ff151 | 4270 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 4271 | _result = new wxColour (wxStyledTextCtrl_GetCaretForeground(_arg0)); |
8a2fa5c8 | 4272 | |
0e2ff151 RD |
4273 | wxPyEndAllowThreads(__tstate); |
4274 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
4275 | } SWIG_MakePtr(_ptemp, (void *) _result,"_wxColour_p"); |
4276 | _resultobj = Py_BuildValue("s",_ptemp); | |
4277 | return _resultobj; | |
4278 | } | |
4279 | ||
4280 | #define wxStyledTextCtrl_GetReadOnly(_swigobj) (_swigobj->GetReadOnly()) | |
4281 | static PyObject *_wrap_wxStyledTextCtrl_GetReadOnly(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4282 | PyObject * _resultobj; | |
4283 | bool _result; | |
4284 | wxStyledTextCtrl * _arg0; | |
4285 | PyObject * _argo0 = 0; | |
4286 | char *_kwnames[] = { "self", NULL }; | |
4287 | ||
4288 | self = self; | |
4289 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetReadOnly",_kwnames,&_argo0)) | |
4290 | return NULL; | |
4291 | if (_argo0) { | |
4292 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4293 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
4294 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetReadOnly. Expected _wxStyledTextCtrl_p."); | |
4295 | return NULL; | |
4296 | } | |
4297 | } | |
4298 | { | |
0e2ff151 | 4299 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 4300 | _result = (bool )wxStyledTextCtrl_GetReadOnly(_arg0); |
8a2fa5c8 | 4301 | |
0e2ff151 RD |
4302 | wxPyEndAllowThreads(__tstate); |
4303 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
4304 | } _resultobj = Py_BuildValue("i",_result); |
4305 | return _resultobj; | |
4306 | } | |
4307 | ||
4308 | #define wxStyledTextCtrl_SetCurrentPos(_swigobj,_swigarg0) (_swigobj->SetCurrentPos(_swigarg0)) | |
4309 | static PyObject *_wrap_wxStyledTextCtrl_SetCurrentPos(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4310 | PyObject * _resultobj; | |
4311 | wxStyledTextCtrl * _arg0; | |
4312 | int _arg1; | |
4313 | PyObject * _argo0 = 0; | |
4314 | char *_kwnames[] = { "self","pos", NULL }; | |
4315 | ||
4316 | self = self; | |
4317 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_SetCurrentPos",_kwnames,&_argo0,&_arg1)) | |
4318 | return NULL; | |
4319 | if (_argo0) { | |
4320 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4321 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
4322 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetCurrentPos. Expected _wxStyledTextCtrl_p."); | |
4323 | return NULL; | |
4324 | } | |
4325 | } | |
4326 | { | |
0e2ff151 | 4327 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 4328 | wxStyledTextCtrl_SetCurrentPos(_arg0,_arg1); |
8a2fa5c8 | 4329 | |
0e2ff151 RD |
4330 | wxPyEndAllowThreads(__tstate); |
4331 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
4332 | } Py_INCREF(Py_None); |
4333 | _resultobj = Py_None; | |
4334 | return _resultobj; | |
4335 | } | |
4336 | ||
4337 | #define wxStyledTextCtrl_SetSelectionStart(_swigobj,_swigarg0) (_swigobj->SetSelectionStart(_swigarg0)) | |
4338 | static PyObject *_wrap_wxStyledTextCtrl_SetSelectionStart(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4339 | PyObject * _resultobj; | |
4340 | wxStyledTextCtrl * _arg0; | |
4341 | int _arg1; | |
4342 | PyObject * _argo0 = 0; | |
4343 | char *_kwnames[] = { "self","pos", NULL }; | |
4344 | ||
4345 | self = self; | |
4346 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_SetSelectionStart",_kwnames,&_argo0,&_arg1)) | |
4347 | return NULL; | |
4348 | if (_argo0) { | |
4349 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4350 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
4351 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetSelectionStart. Expected _wxStyledTextCtrl_p."); | |
4352 | return NULL; | |
4353 | } | |
4354 | } | |
4355 | { | |
0e2ff151 | 4356 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 4357 | wxStyledTextCtrl_SetSelectionStart(_arg0,_arg1); |
8a2fa5c8 | 4358 | |
0e2ff151 RD |
4359 | wxPyEndAllowThreads(__tstate); |
4360 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
4361 | } Py_INCREF(Py_None); |
4362 | _resultobj = Py_None; | |
4363 | return _resultobj; | |
4364 | } | |
4365 | ||
4366 | #define wxStyledTextCtrl_GetSelectionStart(_swigobj) (_swigobj->GetSelectionStart()) | |
4367 | static PyObject *_wrap_wxStyledTextCtrl_GetSelectionStart(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4368 | PyObject * _resultobj; | |
4369 | int _result; | |
4370 | wxStyledTextCtrl * _arg0; | |
4371 | PyObject * _argo0 = 0; | |
4372 | char *_kwnames[] = { "self", NULL }; | |
4373 | ||
4374 | self = self; | |
4375 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetSelectionStart",_kwnames,&_argo0)) | |
4376 | return NULL; | |
4377 | if (_argo0) { | |
4378 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4379 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
4380 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetSelectionStart. Expected _wxStyledTextCtrl_p."); | |
4381 | return NULL; | |
4382 | } | |
4383 | } | |
4384 | { | |
0e2ff151 | 4385 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 4386 | _result = (int )wxStyledTextCtrl_GetSelectionStart(_arg0); |
8a2fa5c8 | 4387 | |
0e2ff151 RD |
4388 | wxPyEndAllowThreads(__tstate); |
4389 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
4390 | } _resultobj = Py_BuildValue("i",_result); |
4391 | return _resultobj; | |
4392 | } | |
4393 | ||
4394 | #define wxStyledTextCtrl_SetSelectionEnd(_swigobj,_swigarg0) (_swigobj->SetSelectionEnd(_swigarg0)) | |
4395 | static PyObject *_wrap_wxStyledTextCtrl_SetSelectionEnd(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4396 | PyObject * _resultobj; | |
4397 | wxStyledTextCtrl * _arg0; | |
4398 | int _arg1; | |
4399 | PyObject * _argo0 = 0; | |
4400 | char *_kwnames[] = { "self","pos", NULL }; | |
4401 | ||
4402 | self = self; | |
4403 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_SetSelectionEnd",_kwnames,&_argo0,&_arg1)) | |
4404 | return NULL; | |
4405 | if (_argo0) { | |
4406 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4407 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
4408 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetSelectionEnd. Expected _wxStyledTextCtrl_p."); | |
4409 | return NULL; | |
4410 | } | |
4411 | } | |
4412 | { | |
0e2ff151 | 4413 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 4414 | wxStyledTextCtrl_SetSelectionEnd(_arg0,_arg1); |
8a2fa5c8 | 4415 | |
0e2ff151 RD |
4416 | wxPyEndAllowThreads(__tstate); |
4417 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
4418 | } Py_INCREF(Py_None); |
4419 | _resultobj = Py_None; | |
4420 | return _resultobj; | |
4421 | } | |
4422 | ||
4423 | #define wxStyledTextCtrl_GetSelectionEnd(_swigobj) (_swigobj->GetSelectionEnd()) | |
4424 | static PyObject *_wrap_wxStyledTextCtrl_GetSelectionEnd(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4425 | PyObject * _resultobj; | |
4426 | int _result; | |
4427 | wxStyledTextCtrl * _arg0; | |
4428 | PyObject * _argo0 = 0; | |
4429 | char *_kwnames[] = { "self", NULL }; | |
4430 | ||
4431 | self = self; | |
4432 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetSelectionEnd",_kwnames,&_argo0)) | |
4433 | return NULL; | |
4434 | if (_argo0) { | |
4435 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4436 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
4437 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetSelectionEnd. Expected _wxStyledTextCtrl_p."); | |
4438 | return NULL; | |
4439 | } | |
4440 | } | |
4441 | { | |
0e2ff151 | 4442 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 4443 | _result = (int )wxStyledTextCtrl_GetSelectionEnd(_arg0); |
8a2fa5c8 | 4444 | |
0e2ff151 RD |
4445 | wxPyEndAllowThreads(__tstate); |
4446 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
4447 | } _resultobj = Py_BuildValue("i",_result); |
4448 | return _resultobj; | |
4449 | } | |
4450 | ||
4451 | #define wxStyledTextCtrl_SetPrintMagnification(_swigobj,_swigarg0) (_swigobj->SetPrintMagnification(_swigarg0)) | |
4452 | static PyObject *_wrap_wxStyledTextCtrl_SetPrintMagnification(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4453 | PyObject * _resultobj; | |
4454 | wxStyledTextCtrl * _arg0; | |
4455 | int _arg1; | |
4456 | PyObject * _argo0 = 0; | |
4457 | char *_kwnames[] = { "self","magnification", NULL }; | |
4458 | ||
4459 | self = self; | |
4460 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_SetPrintMagnification",_kwnames,&_argo0,&_arg1)) | |
4461 | return NULL; | |
4462 | if (_argo0) { | |
4463 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4464 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
4465 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetPrintMagnification. Expected _wxStyledTextCtrl_p."); | |
4466 | return NULL; | |
4467 | } | |
4468 | } | |
4469 | { | |
0e2ff151 | 4470 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 4471 | wxStyledTextCtrl_SetPrintMagnification(_arg0,_arg1); |
8a2fa5c8 | 4472 | |
0e2ff151 RD |
4473 | wxPyEndAllowThreads(__tstate); |
4474 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
4475 | } Py_INCREF(Py_None); |
4476 | _resultobj = Py_None; | |
4477 | return _resultobj; | |
4478 | } | |
4479 | ||
4480 | #define wxStyledTextCtrl_GetPrintMagnification(_swigobj) (_swigobj->GetPrintMagnification()) | |
4481 | static PyObject *_wrap_wxStyledTextCtrl_GetPrintMagnification(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4482 | PyObject * _resultobj; | |
4483 | int _result; | |
4484 | wxStyledTextCtrl * _arg0; | |
4485 | PyObject * _argo0 = 0; | |
4486 | char *_kwnames[] = { "self", NULL }; | |
4487 | ||
4488 | self = self; | |
4489 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetPrintMagnification",_kwnames,&_argo0)) | |
4490 | return NULL; | |
4491 | if (_argo0) { | |
4492 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4493 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
4494 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetPrintMagnification. Expected _wxStyledTextCtrl_p."); | |
4495 | return NULL; | |
4496 | } | |
4497 | } | |
4498 | { | |
0e2ff151 | 4499 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 4500 | _result = (int )wxStyledTextCtrl_GetPrintMagnification(_arg0); |
8a2fa5c8 | 4501 | |
0e2ff151 RD |
4502 | wxPyEndAllowThreads(__tstate); |
4503 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
4504 | } _resultobj = Py_BuildValue("i",_result); |
4505 | return _resultobj; | |
4506 | } | |
4507 | ||
4508 | #define wxStyledTextCtrl_SetPrintColourMode(_swigobj,_swigarg0) (_swigobj->SetPrintColourMode(_swigarg0)) | |
4509 | static PyObject *_wrap_wxStyledTextCtrl_SetPrintColourMode(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4510 | PyObject * _resultobj; | |
4511 | wxStyledTextCtrl * _arg0; | |
4512 | int _arg1; | |
4513 | PyObject * _argo0 = 0; | |
4514 | char *_kwnames[] = { "self","mode", NULL }; | |
4515 | ||
4516 | self = self; | |
4517 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_SetPrintColourMode",_kwnames,&_argo0,&_arg1)) | |
4518 | return NULL; | |
4519 | if (_argo0) { | |
4520 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4521 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
4522 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetPrintColourMode. Expected _wxStyledTextCtrl_p."); | |
4523 | return NULL; | |
4524 | } | |
4525 | } | |
4526 | { | |
0e2ff151 | 4527 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 4528 | wxStyledTextCtrl_SetPrintColourMode(_arg0,_arg1); |
8a2fa5c8 | 4529 | |
0e2ff151 RD |
4530 | wxPyEndAllowThreads(__tstate); |
4531 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
4532 | } Py_INCREF(Py_None); |
4533 | _resultobj = Py_None; | |
4534 | return _resultobj; | |
4535 | } | |
4536 | ||
4537 | #define wxStyledTextCtrl_GetPrintColourMode(_swigobj) (_swigobj->GetPrintColourMode()) | |
4538 | static PyObject *_wrap_wxStyledTextCtrl_GetPrintColourMode(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4539 | PyObject * _resultobj; | |
4540 | int _result; | |
4541 | wxStyledTextCtrl * _arg0; | |
4542 | PyObject * _argo0 = 0; | |
4543 | char *_kwnames[] = { "self", NULL }; | |
4544 | ||
4545 | self = self; | |
4546 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetPrintColourMode",_kwnames,&_argo0)) | |
4547 | return NULL; | |
4548 | if (_argo0) { | |
4549 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4550 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
4551 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetPrintColourMode. Expected _wxStyledTextCtrl_p."); | |
4552 | return NULL; | |
4553 | } | |
4554 | } | |
4555 | { | |
0e2ff151 | 4556 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 4557 | _result = (int )wxStyledTextCtrl_GetPrintColourMode(_arg0); |
8a2fa5c8 | 4558 | |
0e2ff151 RD |
4559 | wxPyEndAllowThreads(__tstate); |
4560 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
4561 | } _resultobj = Py_BuildValue("i",_result); |
4562 | return _resultobj; | |
4563 | } | |
4564 | ||
4565 | #define wxStyledTextCtrl_FindText(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->FindText(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4)) | |
4566 | static PyObject *_wrap_wxStyledTextCtrl_FindText(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4567 | PyObject * _resultobj; | |
4568 | int _result; | |
4569 | wxStyledTextCtrl * _arg0; | |
4570 | int _arg1; | |
4571 | int _arg2; | |
4572 | wxString * _arg3; | |
4573 | bool _arg4; | |
4574 | bool _arg5; | |
4575 | PyObject * _argo0 = 0; | |
4576 | PyObject * _obj3 = 0; | |
4577 | int tempbool4; | |
4578 | int tempbool5; | |
4579 | char *_kwnames[] = { "self","minPos","maxPos","text","caseSensitive","wholeWord", NULL }; | |
4580 | ||
4581 | self = self; | |
4582 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiiOii:wxStyledTextCtrl_FindText",_kwnames,&_argo0,&_arg1,&_arg2,&_obj3,&tempbool4,&tempbool5)) | |
4583 | return NULL; | |
4584 | if (_argo0) { | |
4585 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4586 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
4587 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_FindText. Expected _wxStyledTextCtrl_p."); | |
4588 | return NULL; | |
4589 | } | |
4590 | } | |
4591 | { | |
6824d4f9 RD |
4592 | _arg3 = wxString_in_helper(_obj3); |
4593 | if (_arg3 == NULL) | |
8a2fa5c8 | 4594 | return NULL; |
8a2fa5c8 RD |
4595 | } |
4596 | _arg4 = (bool ) tempbool4; | |
4597 | _arg5 = (bool ) tempbool5; | |
4598 | { | |
0e2ff151 | 4599 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 4600 | _result = (int )wxStyledTextCtrl_FindText(_arg0,_arg1,_arg2,*_arg3,_arg4,_arg5); |
8a2fa5c8 | 4601 | |
0e2ff151 RD |
4602 | wxPyEndAllowThreads(__tstate); |
4603 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
4604 | } _resultobj = Py_BuildValue("i",_result); |
4605 | { | |
4606 | if (_obj3) | |
4607 | delete _arg3; | |
4608 | } | |
4609 | return _resultobj; | |
4610 | } | |
4611 | ||
4612 | #define wxStyledTextCtrl_FormatRange(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (_swigobj->FormatRange(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6)) | |
4613 | static PyObject *_wrap_wxStyledTextCtrl_FormatRange(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4614 | PyObject * _resultobj; | |
4615 | int _result; | |
4616 | wxStyledTextCtrl * _arg0; | |
4617 | bool _arg1; | |
4618 | int _arg2; | |
4619 | int _arg3; | |
4620 | wxDC * _arg4; | |
4621 | wxDC * _arg5; | |
4622 | wxRect * _arg6; | |
4623 | wxRect * _arg7; | |
4624 | PyObject * _argo0 = 0; | |
4625 | int tempbool1; | |
4626 | PyObject * _argo4 = 0; | |
4627 | PyObject * _argo5 = 0; | |
4628 | wxRect temp; | |
4629 | PyObject * _obj6 = 0; | |
4630 | wxRect temp0; | |
4631 | PyObject * _obj7 = 0; | |
4632 | char *_kwnames[] = { "self","doDraw","startPos","endPos","draw","target","renderRect","pageRect", NULL }; | |
4633 | ||
4634 | self = self; | |
4635 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiiiOOOO:wxStyledTextCtrl_FormatRange",_kwnames,&_argo0,&tempbool1,&_arg2,&_arg3,&_argo4,&_argo5,&_obj6,&_obj7)) | |
4636 | return NULL; | |
4637 | if (_argo0) { | |
4638 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4639 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
4640 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_FormatRange. Expected _wxStyledTextCtrl_p."); | |
4641 | return NULL; | |
4642 | } | |
4643 | } | |
4644 | _arg1 = (bool ) tempbool1; | |
4645 | if (_argo4) { | |
4646 | if (_argo4 == Py_None) { _arg4 = NULL; } | |
4647 | else if (SWIG_GetPtrObj(_argo4,(void **) &_arg4,"_wxDC_p")) { | |
4648 | PyErr_SetString(PyExc_TypeError,"Type error in argument 5 of wxStyledTextCtrl_FormatRange. Expected _wxDC_p."); | |
4649 | return NULL; | |
4650 | } | |
4651 | } | |
4652 | if (_argo5) { | |
4653 | if (_argo5 == Py_None) { _arg5 = NULL; } | |
4654 | else if (SWIG_GetPtrObj(_argo5,(void **) &_arg5,"_wxDC_p")) { | |
4655 | PyErr_SetString(PyExc_TypeError,"Type error in argument 6 of wxStyledTextCtrl_FormatRange. Expected _wxDC_p."); | |
4656 | return NULL; | |
4657 | } | |
4658 | } | |
4659 | { | |
4660 | _arg6 = &temp; | |
4661 | if (! wxRect_helper(_obj6, &_arg6)) | |
4662 | return NULL; | |
4663 | } | |
4664 | { | |
4665 | _arg7 = &temp0; | |
4666 | if (! wxRect_helper(_obj7, &_arg7)) | |
4667 | return NULL; | |
4668 | } | |
4669 | { | |
0e2ff151 | 4670 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 4671 | _result = (int )wxStyledTextCtrl_FormatRange(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5,*_arg6,*_arg7); |
8a2fa5c8 | 4672 | |
0e2ff151 RD |
4673 | wxPyEndAllowThreads(__tstate); |
4674 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
4675 | } _resultobj = Py_BuildValue("i",_result); |
4676 | return _resultobj; | |
4677 | } | |
4678 | ||
4679 | #define wxStyledTextCtrl_GetFirstVisibleLine(_swigobj) (_swigobj->GetFirstVisibleLine()) | |
4680 | static PyObject *_wrap_wxStyledTextCtrl_GetFirstVisibleLine(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4681 | PyObject * _resultobj; | |
4682 | int _result; | |
4683 | wxStyledTextCtrl * _arg0; | |
4684 | PyObject * _argo0 = 0; | |
4685 | char *_kwnames[] = { "self", NULL }; | |
4686 | ||
4687 | self = self; | |
4688 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetFirstVisibleLine",_kwnames,&_argo0)) | |
4689 | return NULL; | |
4690 | if (_argo0) { | |
4691 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4692 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
4693 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetFirstVisibleLine. Expected _wxStyledTextCtrl_p."); | |
4694 | return NULL; | |
4695 | } | |
4696 | } | |
4697 | { | |
0e2ff151 | 4698 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 4699 | _result = (int )wxStyledTextCtrl_GetFirstVisibleLine(_arg0); |
8a2fa5c8 | 4700 | |
0e2ff151 RD |
4701 | wxPyEndAllowThreads(__tstate); |
4702 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
4703 | } _resultobj = Py_BuildValue("i",_result); |
4704 | return _resultobj; | |
4705 | } | |
4706 | ||
4707 | #define wxStyledTextCtrl_GetLine(_swigobj,_swigarg0) (_swigobj->GetLine(_swigarg0)) | |
4708 | static PyObject *_wrap_wxStyledTextCtrl_GetLine(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4709 | PyObject * _resultobj; | |
4710 | wxString * _result; | |
4711 | wxStyledTextCtrl * _arg0; | |
4712 | int _arg1; | |
4713 | PyObject * _argo0 = 0; | |
4714 | char *_kwnames[] = { "self","line", NULL }; | |
4715 | ||
4716 | self = self; | |
4717 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_GetLine",_kwnames,&_argo0,&_arg1)) | |
4718 | return NULL; | |
4719 | if (_argo0) { | |
4720 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4721 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
4722 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetLine. Expected _wxStyledTextCtrl_p."); | |
4723 | return NULL; | |
4724 | } | |
4725 | } | |
4726 | { | |
0e2ff151 | 4727 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 4728 | _result = new wxString (wxStyledTextCtrl_GetLine(_arg0,_arg1)); |
8a2fa5c8 | 4729 | |
0e2ff151 RD |
4730 | wxPyEndAllowThreads(__tstate); |
4731 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 | 4732 | }{ |
6824d4f9 RD |
4733 | #if wxUSE_UNICODE |
4734 | _resultobj = PyUnicode_FromUnicode(_result->c_str(), _result->Len()); | |
4735 | #else | |
8a2fa5c8 | 4736 | _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len()); |
6824d4f9 | 4737 | #endif |
8a2fa5c8 RD |
4738 | } |
4739 | { | |
4740 | delete _result; | |
4741 | } | |
4742 | return _resultobj; | |
4743 | } | |
4744 | ||
4745 | #define wxStyledTextCtrl_GetLineCount(_swigobj) (_swigobj->GetLineCount()) | |
4746 | static PyObject *_wrap_wxStyledTextCtrl_GetLineCount(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4747 | PyObject * _resultobj; | |
4748 | int _result; | |
4749 | wxStyledTextCtrl * _arg0; | |
4750 | PyObject * _argo0 = 0; | |
4751 | char *_kwnames[] = { "self", NULL }; | |
4752 | ||
4753 | self = self; | |
4754 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetLineCount",_kwnames,&_argo0)) | |
4755 | return NULL; | |
4756 | if (_argo0) { | |
4757 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4758 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
4759 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetLineCount. Expected _wxStyledTextCtrl_p."); | |
4760 | return NULL; | |
4761 | } | |
4762 | } | |
4763 | { | |
0e2ff151 | 4764 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 4765 | _result = (int )wxStyledTextCtrl_GetLineCount(_arg0); |
8a2fa5c8 | 4766 | |
0e2ff151 RD |
4767 | wxPyEndAllowThreads(__tstate); |
4768 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
4769 | } _resultobj = Py_BuildValue("i",_result); |
4770 | return _resultobj; | |
4771 | } | |
4772 | ||
4773 | #define wxStyledTextCtrl_SetMarginLeft(_swigobj,_swigarg0) (_swigobj->SetMarginLeft(_swigarg0)) | |
4774 | static PyObject *_wrap_wxStyledTextCtrl_SetMarginLeft(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4775 | PyObject * _resultobj; | |
4776 | wxStyledTextCtrl * _arg0; | |
4777 | int _arg1; | |
4778 | PyObject * _argo0 = 0; | |
4779 | char *_kwnames[] = { "self","pixelWidth", NULL }; | |
4780 | ||
4781 | self = self; | |
4782 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_SetMarginLeft",_kwnames,&_argo0,&_arg1)) | |
4783 | return NULL; | |
4784 | if (_argo0) { | |
4785 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4786 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
4787 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetMarginLeft. Expected _wxStyledTextCtrl_p."); | |
4788 | return NULL; | |
4789 | } | |
4790 | } | |
4791 | { | |
0e2ff151 | 4792 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 4793 | wxStyledTextCtrl_SetMarginLeft(_arg0,_arg1); |
8a2fa5c8 | 4794 | |
0e2ff151 RD |
4795 | wxPyEndAllowThreads(__tstate); |
4796 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
4797 | } Py_INCREF(Py_None); |
4798 | _resultobj = Py_None; | |
4799 | return _resultobj; | |
4800 | } | |
4801 | ||
4802 | #define wxStyledTextCtrl_GetMarginLeft(_swigobj) (_swigobj->GetMarginLeft()) | |
4803 | static PyObject *_wrap_wxStyledTextCtrl_GetMarginLeft(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4804 | PyObject * _resultobj; | |
4805 | int _result; | |
4806 | wxStyledTextCtrl * _arg0; | |
4807 | PyObject * _argo0 = 0; | |
4808 | char *_kwnames[] = { "self", NULL }; | |
4809 | ||
4810 | self = self; | |
4811 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetMarginLeft",_kwnames,&_argo0)) | |
4812 | return NULL; | |
4813 | if (_argo0) { | |
4814 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4815 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
4816 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetMarginLeft. Expected _wxStyledTextCtrl_p."); | |
4817 | return NULL; | |
4818 | } | |
4819 | } | |
4820 | { | |
0e2ff151 | 4821 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 4822 | _result = (int )wxStyledTextCtrl_GetMarginLeft(_arg0); |
8a2fa5c8 | 4823 | |
0e2ff151 RD |
4824 | wxPyEndAllowThreads(__tstate); |
4825 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
4826 | } _resultobj = Py_BuildValue("i",_result); |
4827 | return _resultobj; | |
4828 | } | |
4829 | ||
4830 | #define wxStyledTextCtrl_SetMarginRight(_swigobj,_swigarg0) (_swigobj->SetMarginRight(_swigarg0)) | |
4831 | static PyObject *_wrap_wxStyledTextCtrl_SetMarginRight(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4832 | PyObject * _resultobj; | |
4833 | wxStyledTextCtrl * _arg0; | |
4834 | int _arg1; | |
4835 | PyObject * _argo0 = 0; | |
4836 | char *_kwnames[] = { "self","pixelWidth", NULL }; | |
4837 | ||
4838 | self = self; | |
4839 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_SetMarginRight",_kwnames,&_argo0,&_arg1)) | |
4840 | return NULL; | |
4841 | if (_argo0) { | |
4842 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4843 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
4844 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetMarginRight. Expected _wxStyledTextCtrl_p."); | |
4845 | return NULL; | |
4846 | } | |
4847 | } | |
4848 | { | |
0e2ff151 | 4849 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 4850 | wxStyledTextCtrl_SetMarginRight(_arg0,_arg1); |
8a2fa5c8 | 4851 | |
0e2ff151 RD |
4852 | wxPyEndAllowThreads(__tstate); |
4853 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
4854 | } Py_INCREF(Py_None); |
4855 | _resultobj = Py_None; | |
4856 | return _resultobj; | |
4857 | } | |
4858 | ||
4859 | #define wxStyledTextCtrl_GetMarginRight(_swigobj) (_swigobj->GetMarginRight()) | |
4860 | static PyObject *_wrap_wxStyledTextCtrl_GetMarginRight(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4861 | PyObject * _resultobj; | |
4862 | int _result; | |
4863 | wxStyledTextCtrl * _arg0; | |
4864 | PyObject * _argo0 = 0; | |
4865 | char *_kwnames[] = { "self", NULL }; | |
4866 | ||
4867 | self = self; | |
4868 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetMarginRight",_kwnames,&_argo0)) | |
4869 | return NULL; | |
4870 | if (_argo0) { | |
4871 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4872 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
4873 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetMarginRight. Expected _wxStyledTextCtrl_p."); | |
4874 | return NULL; | |
4875 | } | |
4876 | } | |
4877 | { | |
0e2ff151 | 4878 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 4879 | _result = (int )wxStyledTextCtrl_GetMarginRight(_arg0); |
8a2fa5c8 | 4880 | |
0e2ff151 RD |
4881 | wxPyEndAllowThreads(__tstate); |
4882 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
4883 | } _resultobj = Py_BuildValue("i",_result); |
4884 | return _resultobj; | |
4885 | } | |
4886 | ||
4887 | #define wxStyledTextCtrl_GetModify(_swigobj) (_swigobj->GetModify()) | |
4888 | static PyObject *_wrap_wxStyledTextCtrl_GetModify(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4889 | PyObject * _resultobj; | |
4890 | bool _result; | |
4891 | wxStyledTextCtrl * _arg0; | |
4892 | PyObject * _argo0 = 0; | |
4893 | char *_kwnames[] = { "self", NULL }; | |
4894 | ||
4895 | self = self; | |
4896 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetModify",_kwnames,&_argo0)) | |
4897 | return NULL; | |
4898 | if (_argo0) { | |
4899 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4900 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
4901 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetModify. Expected _wxStyledTextCtrl_p."); | |
4902 | return NULL; | |
4903 | } | |
4904 | } | |
4905 | { | |
0e2ff151 | 4906 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 4907 | _result = (bool )wxStyledTextCtrl_GetModify(_arg0); |
8a2fa5c8 | 4908 | |
0e2ff151 RD |
4909 | wxPyEndAllowThreads(__tstate); |
4910 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
4911 | } _resultobj = Py_BuildValue("i",_result); |
4912 | return _resultobj; | |
4913 | } | |
4914 | ||
4915 | #define wxStyledTextCtrl_SetSelection(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetSelection(_swigarg0,_swigarg1)) | |
4916 | static PyObject *_wrap_wxStyledTextCtrl_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4917 | PyObject * _resultobj; | |
4918 | wxStyledTextCtrl * _arg0; | |
4919 | int _arg1; | |
4920 | int _arg2; | |
4921 | PyObject * _argo0 = 0; | |
4922 | char *_kwnames[] = { "self","start","end", NULL }; | |
4923 | ||
4924 | self = self; | |
4925 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxStyledTextCtrl_SetSelection",_kwnames,&_argo0,&_arg1,&_arg2)) | |
4926 | return NULL; | |
4927 | if (_argo0) { | |
4928 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4929 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
4930 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetSelection. Expected _wxStyledTextCtrl_p."); | |
4931 | return NULL; | |
4932 | } | |
4933 | } | |
4934 | { | |
0e2ff151 | 4935 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 4936 | wxStyledTextCtrl_SetSelection(_arg0,_arg1,_arg2); |
8a2fa5c8 | 4937 | |
0e2ff151 RD |
4938 | wxPyEndAllowThreads(__tstate); |
4939 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
4940 | } Py_INCREF(Py_None); |
4941 | _resultobj = Py_None; | |
4942 | return _resultobj; | |
4943 | } | |
4944 | ||
4945 | #define wxStyledTextCtrl_GetSelectedText(_swigobj) (_swigobj->GetSelectedText()) | |
4946 | static PyObject *_wrap_wxStyledTextCtrl_GetSelectedText(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4947 | PyObject * _resultobj; | |
4948 | wxString * _result; | |
4949 | wxStyledTextCtrl * _arg0; | |
4950 | PyObject * _argo0 = 0; | |
4951 | char *_kwnames[] = { "self", NULL }; | |
4952 | ||
4953 | self = self; | |
4954 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetSelectedText",_kwnames,&_argo0)) | |
4955 | return NULL; | |
4956 | if (_argo0) { | |
4957 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4958 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
4959 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetSelectedText. Expected _wxStyledTextCtrl_p."); | |
4960 | return NULL; | |
4961 | } | |
4962 | } | |
4963 | { | |
0e2ff151 | 4964 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 4965 | _result = new wxString (wxStyledTextCtrl_GetSelectedText(_arg0)); |
8a2fa5c8 | 4966 | |
0e2ff151 RD |
4967 | wxPyEndAllowThreads(__tstate); |
4968 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 | 4969 | }{ |
6824d4f9 RD |
4970 | #if wxUSE_UNICODE |
4971 | _resultobj = PyUnicode_FromUnicode(_result->c_str(), _result->Len()); | |
4972 | #else | |
8a2fa5c8 | 4973 | _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len()); |
6824d4f9 | 4974 | #endif |
8a2fa5c8 RD |
4975 | } |
4976 | { | |
4977 | delete _result; | |
4978 | } | |
4979 | return _resultobj; | |
4980 | } | |
4981 | ||
4982 | #define wxStyledTextCtrl_GetTextRange(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetTextRange(_swigarg0,_swigarg1)) | |
4983 | static PyObject *_wrap_wxStyledTextCtrl_GetTextRange(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4984 | PyObject * _resultobj; | |
4985 | wxString * _result; | |
4986 | wxStyledTextCtrl * _arg0; | |
4987 | int _arg1; | |
4988 | int _arg2; | |
4989 | PyObject * _argo0 = 0; | |
4990 | char *_kwnames[] = { "self","startPos","endPos", NULL }; | |
4991 | ||
4992 | self = self; | |
4993 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxStyledTextCtrl_GetTextRange",_kwnames,&_argo0,&_arg1,&_arg2)) | |
4994 | return NULL; | |
4995 | if (_argo0) { | |
4996 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4997 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
4998 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetTextRange. Expected _wxStyledTextCtrl_p."); | |
4999 | return NULL; | |
5000 | } | |
5001 | } | |
5002 | { | |
0e2ff151 | 5003 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 5004 | _result = new wxString (wxStyledTextCtrl_GetTextRange(_arg0,_arg1,_arg2)); |
8a2fa5c8 | 5005 | |
0e2ff151 RD |
5006 | wxPyEndAllowThreads(__tstate); |
5007 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 | 5008 | }{ |
6824d4f9 RD |
5009 | #if wxUSE_UNICODE |
5010 | _resultobj = PyUnicode_FromUnicode(_result->c_str(), _result->Len()); | |
5011 | #else | |
8a2fa5c8 | 5012 | _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len()); |
6824d4f9 | 5013 | #endif |
8a2fa5c8 RD |
5014 | } |
5015 | { | |
5016 | delete _result; | |
5017 | } | |
5018 | return _resultobj; | |
5019 | } | |
5020 | ||
5021 | #define wxStyledTextCtrl_HideSelection(_swigobj,_swigarg0) (_swigobj->HideSelection(_swigarg0)) | |
5022 | static PyObject *_wrap_wxStyledTextCtrl_HideSelection(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5023 | PyObject * _resultobj; | |
5024 | wxStyledTextCtrl * _arg0; | |
5025 | bool _arg1; | |
5026 | PyObject * _argo0 = 0; | |
5027 | int tempbool1; | |
5028 | char *_kwnames[] = { "self","normal", NULL }; | |
5029 | ||
5030 | self = self; | |
5031 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_HideSelection",_kwnames,&_argo0,&tempbool1)) | |
5032 | return NULL; | |
5033 | if (_argo0) { | |
5034 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5035 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
5036 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_HideSelection. Expected _wxStyledTextCtrl_p."); | |
5037 | return NULL; | |
5038 | } | |
5039 | } | |
5040 | _arg1 = (bool ) tempbool1; | |
5041 | { | |
0e2ff151 | 5042 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 5043 | wxStyledTextCtrl_HideSelection(_arg0,_arg1); |
8a2fa5c8 | 5044 | |
0e2ff151 RD |
5045 | wxPyEndAllowThreads(__tstate); |
5046 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
5047 | } Py_INCREF(Py_None); |
5048 | _resultobj = Py_None; | |
5049 | return _resultobj; | |
5050 | } | |
5051 | ||
5052 | #define wxStyledTextCtrl_LineFromPosition(_swigobj,_swigarg0) (_swigobj->LineFromPosition(_swigarg0)) | |
5053 | static PyObject *_wrap_wxStyledTextCtrl_LineFromPosition(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5054 | PyObject * _resultobj; | |
5055 | int _result; | |
5056 | wxStyledTextCtrl * _arg0; | |
5057 | int _arg1; | |
5058 | PyObject * _argo0 = 0; | |
5059 | char *_kwnames[] = { "self","pos", NULL }; | |
5060 | ||
5061 | self = self; | |
5062 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_LineFromPosition",_kwnames,&_argo0,&_arg1)) | |
5063 | return NULL; | |
5064 | if (_argo0) { | |
5065 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5066 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
5067 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_LineFromPosition. Expected _wxStyledTextCtrl_p."); | |
5068 | return NULL; | |
5069 | } | |
5070 | } | |
5071 | { | |
0e2ff151 | 5072 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 5073 | _result = (int )wxStyledTextCtrl_LineFromPosition(_arg0,_arg1); |
8a2fa5c8 | 5074 | |
0e2ff151 RD |
5075 | wxPyEndAllowThreads(__tstate); |
5076 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
5077 | } _resultobj = Py_BuildValue("i",_result); |
5078 | return _resultobj; | |
5079 | } | |
5080 | ||
5081 | #define wxStyledTextCtrl_PositionFromLine(_swigobj,_swigarg0) (_swigobj->PositionFromLine(_swigarg0)) | |
5082 | static PyObject *_wrap_wxStyledTextCtrl_PositionFromLine(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5083 | PyObject * _resultobj; | |
5084 | int _result; | |
5085 | wxStyledTextCtrl * _arg0; | |
5086 | int _arg1; | |
5087 | PyObject * _argo0 = 0; | |
5088 | char *_kwnames[] = { "self","line", NULL }; | |
5089 | ||
5090 | self = self; | |
5091 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_PositionFromLine",_kwnames,&_argo0,&_arg1)) | |
5092 | return NULL; | |
5093 | if (_argo0) { | |
5094 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5095 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
5096 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_PositionFromLine. Expected _wxStyledTextCtrl_p."); | |
5097 | return NULL; | |
5098 | } | |
5099 | } | |
5100 | { | |
0e2ff151 | 5101 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 5102 | _result = (int )wxStyledTextCtrl_PositionFromLine(_arg0,_arg1); |
8a2fa5c8 | 5103 | |
0e2ff151 RD |
5104 | wxPyEndAllowThreads(__tstate); |
5105 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
5106 | } _resultobj = Py_BuildValue("i",_result); |
5107 | return _resultobj; | |
5108 | } | |
5109 | ||
5110 | #define wxStyledTextCtrl_LineScroll(_swigobj,_swigarg0,_swigarg1) (_swigobj->LineScroll(_swigarg0,_swigarg1)) | |
5111 | static PyObject *_wrap_wxStyledTextCtrl_LineScroll(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5112 | PyObject * _resultobj; | |
5113 | wxStyledTextCtrl * _arg0; | |
5114 | int _arg1; | |
5115 | int _arg2; | |
5116 | PyObject * _argo0 = 0; | |
5117 | char *_kwnames[] = { "self","columns","lines", NULL }; | |
5118 | ||
5119 | self = self; | |
5120 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxStyledTextCtrl_LineScroll",_kwnames,&_argo0,&_arg1,&_arg2)) | |
5121 | return NULL; | |
5122 | if (_argo0) { | |
5123 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5124 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
5125 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_LineScroll. Expected _wxStyledTextCtrl_p."); | |
5126 | return NULL; | |
5127 | } | |
5128 | } | |
5129 | { | |
0e2ff151 | 5130 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 5131 | wxStyledTextCtrl_LineScroll(_arg0,_arg1,_arg2); |
8a2fa5c8 | 5132 | |
0e2ff151 RD |
5133 | wxPyEndAllowThreads(__tstate); |
5134 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
5135 | } Py_INCREF(Py_None); |
5136 | _resultobj = Py_None; | |
5137 | return _resultobj; | |
5138 | } | |
5139 | ||
5140 | #define wxStyledTextCtrl_EnsureCaretVisible(_swigobj) (_swigobj->EnsureCaretVisible()) | |
5141 | static PyObject *_wrap_wxStyledTextCtrl_EnsureCaretVisible(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5142 | PyObject * _resultobj; | |
5143 | wxStyledTextCtrl * _arg0; | |
5144 | PyObject * _argo0 = 0; | |
5145 | char *_kwnames[] = { "self", NULL }; | |
5146 | ||
5147 | self = self; | |
5148 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_EnsureCaretVisible",_kwnames,&_argo0)) | |
5149 | return NULL; | |
5150 | if (_argo0) { | |
5151 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5152 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
5153 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_EnsureCaretVisible. Expected _wxStyledTextCtrl_p."); | |
5154 | return NULL; | |
5155 | } | |
5156 | } | |
5157 | { | |
0e2ff151 | 5158 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 5159 | wxStyledTextCtrl_EnsureCaretVisible(_arg0); |
8a2fa5c8 | 5160 | |
0e2ff151 RD |
5161 | wxPyEndAllowThreads(__tstate); |
5162 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
5163 | } Py_INCREF(Py_None); |
5164 | _resultobj = Py_None; | |
5165 | return _resultobj; | |
5166 | } | |
5167 | ||
5168 | #define wxStyledTextCtrl_ReplaceSelection(_swigobj,_swigarg0) (_swigobj->ReplaceSelection(_swigarg0)) | |
5169 | static PyObject *_wrap_wxStyledTextCtrl_ReplaceSelection(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5170 | PyObject * _resultobj; | |
5171 | wxStyledTextCtrl * _arg0; | |
5172 | wxString * _arg1; | |
5173 | PyObject * _argo0 = 0; | |
5174 | PyObject * _obj1 = 0; | |
5175 | char *_kwnames[] = { "self","text", NULL }; | |
5176 | ||
5177 | self = self; | |
5178 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxStyledTextCtrl_ReplaceSelection",_kwnames,&_argo0,&_obj1)) | |
5179 | return NULL; | |
5180 | if (_argo0) { | |
5181 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5182 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
5183 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_ReplaceSelection. Expected _wxStyledTextCtrl_p."); | |
5184 | return NULL; | |
5185 | } | |
5186 | } | |
5187 | { | |
6824d4f9 RD |
5188 | _arg1 = wxString_in_helper(_obj1); |
5189 | if (_arg1 == NULL) | |
8a2fa5c8 | 5190 | return NULL; |
8a2fa5c8 RD |
5191 | } |
5192 | { | |
0e2ff151 | 5193 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 5194 | wxStyledTextCtrl_ReplaceSelection(_arg0,*_arg1); |
8a2fa5c8 | 5195 | |
0e2ff151 RD |
5196 | wxPyEndAllowThreads(__tstate); |
5197 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
5198 | } Py_INCREF(Py_None); |
5199 | _resultobj = Py_None; | |
5200 | { | |
5201 | if (_obj1) | |
5202 | delete _arg1; | |
5203 | } | |
5204 | return _resultobj; | |
5205 | } | |
5206 | ||
5207 | #define wxStyledTextCtrl_SetReadOnly(_swigobj,_swigarg0) (_swigobj->SetReadOnly(_swigarg0)) | |
5208 | static PyObject *_wrap_wxStyledTextCtrl_SetReadOnly(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5209 | PyObject * _resultobj; | |
5210 | wxStyledTextCtrl * _arg0; | |
5211 | bool _arg1; | |
5212 | PyObject * _argo0 = 0; | |
5213 | int tempbool1; | |
5214 | char *_kwnames[] = { "self","readOnly", NULL }; | |
5215 | ||
5216 | self = self; | |
5217 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_SetReadOnly",_kwnames,&_argo0,&tempbool1)) | |
5218 | return NULL; | |
5219 | if (_argo0) { | |
5220 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5221 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
5222 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetReadOnly. Expected _wxStyledTextCtrl_p."); | |
5223 | return NULL; | |
5224 | } | |
5225 | } | |
5226 | _arg1 = (bool ) tempbool1; | |
5227 | { | |
0e2ff151 | 5228 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 5229 | wxStyledTextCtrl_SetReadOnly(_arg0,_arg1); |
8a2fa5c8 | 5230 | |
0e2ff151 RD |
5231 | wxPyEndAllowThreads(__tstate); |
5232 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
5233 | } Py_INCREF(Py_None); |
5234 | _resultobj = Py_None; | |
5235 | return _resultobj; | |
5236 | } | |
5237 | ||
5238 | #define wxStyledTextCtrl_CanPaste(_swigobj) (_swigobj->CanPaste()) | |
5239 | static PyObject *_wrap_wxStyledTextCtrl_CanPaste(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5240 | PyObject * _resultobj; | |
5241 | bool _result; | |
5242 | wxStyledTextCtrl * _arg0; | |
5243 | PyObject * _argo0 = 0; | |
5244 | char *_kwnames[] = { "self", NULL }; | |
5245 | ||
5246 | self = self; | |
5247 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_CanPaste",_kwnames,&_argo0)) | |
5248 | return NULL; | |
5249 | if (_argo0) { | |
5250 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5251 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
5252 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_CanPaste. Expected _wxStyledTextCtrl_p."); | |
5253 | return NULL; | |
5254 | } | |
5255 | } | |
5256 | { | |
0e2ff151 | 5257 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 5258 | _result = (bool )wxStyledTextCtrl_CanPaste(_arg0); |
8a2fa5c8 | 5259 | |
0e2ff151 RD |
5260 | wxPyEndAllowThreads(__tstate); |
5261 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
5262 | } _resultobj = Py_BuildValue("i",_result); |
5263 | return _resultobj; | |
5264 | } | |
5265 | ||
5266 | #define wxStyledTextCtrl_CanUndo(_swigobj) (_swigobj->CanUndo()) | |
5267 | static PyObject *_wrap_wxStyledTextCtrl_CanUndo(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5268 | PyObject * _resultobj; | |
5269 | bool _result; | |
5270 | wxStyledTextCtrl * _arg0; | |
5271 | PyObject * _argo0 = 0; | |
5272 | char *_kwnames[] = { "self", NULL }; | |
5273 | ||
5274 | self = self; | |
5275 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_CanUndo",_kwnames,&_argo0)) | |
5276 | return NULL; | |
5277 | if (_argo0) { | |
5278 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5279 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
5280 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_CanUndo. Expected _wxStyledTextCtrl_p."); | |
5281 | return NULL; | |
5282 | } | |
5283 | } | |
5284 | { | |
0e2ff151 | 5285 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 5286 | _result = (bool )wxStyledTextCtrl_CanUndo(_arg0); |
8a2fa5c8 | 5287 | |
0e2ff151 RD |
5288 | wxPyEndAllowThreads(__tstate); |
5289 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
5290 | } _resultobj = Py_BuildValue("i",_result); |
5291 | return _resultobj; | |
5292 | } | |
5293 | ||
5294 | #define wxStyledTextCtrl_EmptyUndoBuffer(_swigobj) (_swigobj->EmptyUndoBuffer()) | |
5295 | static PyObject *_wrap_wxStyledTextCtrl_EmptyUndoBuffer(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5296 | PyObject * _resultobj; | |
5297 | wxStyledTextCtrl * _arg0; | |
5298 | PyObject * _argo0 = 0; | |
5299 | char *_kwnames[] = { "self", NULL }; | |
5300 | ||
5301 | self = self; | |
5302 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_EmptyUndoBuffer",_kwnames,&_argo0)) | |
5303 | return NULL; | |
5304 | if (_argo0) { | |
5305 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5306 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
5307 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_EmptyUndoBuffer. Expected _wxStyledTextCtrl_p."); | |
5308 | return NULL; | |
5309 | } | |
5310 | } | |
5311 | { | |
0e2ff151 | 5312 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 5313 | wxStyledTextCtrl_EmptyUndoBuffer(_arg0); |
8a2fa5c8 | 5314 | |
0e2ff151 RD |
5315 | wxPyEndAllowThreads(__tstate); |
5316 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
5317 | } Py_INCREF(Py_None); |
5318 | _resultobj = Py_None; | |
5319 | return _resultobj; | |
5320 | } | |
5321 | ||
5322 | #define wxStyledTextCtrl_Undo(_swigobj) (_swigobj->Undo()) | |
5323 | static PyObject *_wrap_wxStyledTextCtrl_Undo(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5324 | PyObject * _resultobj; | |
5325 | wxStyledTextCtrl * _arg0; | |
5326 | PyObject * _argo0 = 0; | |
5327 | char *_kwnames[] = { "self", NULL }; | |
5328 | ||
5329 | self = self; | |
5330 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_Undo",_kwnames,&_argo0)) | |
5331 | return NULL; | |
5332 | if (_argo0) { | |
5333 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5334 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
5335 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_Undo. Expected _wxStyledTextCtrl_p."); | |
5336 | return NULL; | |
5337 | } | |
5338 | } | |
5339 | { | |
0e2ff151 | 5340 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 5341 | wxStyledTextCtrl_Undo(_arg0); |
8a2fa5c8 | 5342 | |
0e2ff151 RD |
5343 | wxPyEndAllowThreads(__tstate); |
5344 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
5345 | } Py_INCREF(Py_None); |
5346 | _resultobj = Py_None; | |
5347 | return _resultobj; | |
5348 | } | |
5349 | ||
5350 | #define wxStyledTextCtrl_Cut(_swigobj) (_swigobj->Cut()) | |
5351 | static PyObject *_wrap_wxStyledTextCtrl_Cut(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5352 | PyObject * _resultobj; | |
5353 | wxStyledTextCtrl * _arg0; | |
5354 | PyObject * _argo0 = 0; | |
5355 | char *_kwnames[] = { "self", NULL }; | |
5356 | ||
5357 | self = self; | |
5358 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_Cut",_kwnames,&_argo0)) | |
5359 | return NULL; | |
5360 | if (_argo0) { | |
5361 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5362 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
5363 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_Cut. Expected _wxStyledTextCtrl_p."); | |
5364 | return NULL; | |
5365 | } | |
5366 | } | |
5367 | { | |
0e2ff151 | 5368 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 5369 | wxStyledTextCtrl_Cut(_arg0); |
8a2fa5c8 | 5370 | |
0e2ff151 RD |
5371 | wxPyEndAllowThreads(__tstate); |
5372 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
5373 | } Py_INCREF(Py_None); |
5374 | _resultobj = Py_None; | |
5375 | return _resultobj; | |
5376 | } | |
5377 | ||
5378 | #define wxStyledTextCtrl_Copy(_swigobj) (_swigobj->Copy()) | |
5379 | static PyObject *_wrap_wxStyledTextCtrl_Copy(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5380 | PyObject * _resultobj; | |
5381 | wxStyledTextCtrl * _arg0; | |
5382 | PyObject * _argo0 = 0; | |
5383 | char *_kwnames[] = { "self", NULL }; | |
5384 | ||
5385 | self = self; | |
5386 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_Copy",_kwnames,&_argo0)) | |
5387 | return NULL; | |
5388 | if (_argo0) { | |
5389 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5390 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
5391 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_Copy. Expected _wxStyledTextCtrl_p."); | |
5392 | return NULL; | |
5393 | } | |
5394 | } | |
5395 | { | |
0e2ff151 | 5396 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 5397 | wxStyledTextCtrl_Copy(_arg0); |
8a2fa5c8 | 5398 | |
0e2ff151 RD |
5399 | wxPyEndAllowThreads(__tstate); |
5400 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
5401 | } Py_INCREF(Py_None); |
5402 | _resultobj = Py_None; | |
5403 | return _resultobj; | |
5404 | } | |
5405 | ||
5406 | #define wxStyledTextCtrl_Paste(_swigobj) (_swigobj->Paste()) | |
5407 | static PyObject *_wrap_wxStyledTextCtrl_Paste(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5408 | PyObject * _resultobj; | |
5409 | wxStyledTextCtrl * _arg0; | |
5410 | PyObject * _argo0 = 0; | |
5411 | char *_kwnames[] = { "self", NULL }; | |
5412 | ||
5413 | self = self; | |
5414 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_Paste",_kwnames,&_argo0)) | |
5415 | return NULL; | |
5416 | if (_argo0) { | |
5417 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5418 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
5419 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_Paste. Expected _wxStyledTextCtrl_p."); | |
5420 | return NULL; | |
5421 | } | |
5422 | } | |
5423 | { | |
0e2ff151 | 5424 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 5425 | wxStyledTextCtrl_Paste(_arg0); |
8a2fa5c8 | 5426 | |
0e2ff151 RD |
5427 | wxPyEndAllowThreads(__tstate); |
5428 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
5429 | } Py_INCREF(Py_None); |
5430 | _resultobj = Py_None; | |
5431 | return _resultobj; | |
5432 | } | |
5433 | ||
5434 | #define wxStyledTextCtrl_Clear(_swigobj) (_swigobj->Clear()) | |
5435 | static PyObject *_wrap_wxStyledTextCtrl_Clear(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5436 | PyObject * _resultobj; | |
5437 | wxStyledTextCtrl * _arg0; | |
5438 | PyObject * _argo0 = 0; | |
5439 | char *_kwnames[] = { "self", NULL }; | |
5440 | ||
5441 | self = self; | |
5442 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_Clear",_kwnames,&_argo0)) | |
5443 | return NULL; | |
5444 | if (_argo0) { | |
5445 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5446 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
5447 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_Clear. Expected _wxStyledTextCtrl_p."); | |
5448 | return NULL; | |
5449 | } | |
5450 | } | |
5451 | { | |
0e2ff151 | 5452 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 5453 | wxStyledTextCtrl_Clear(_arg0); |
8a2fa5c8 | 5454 | |
0e2ff151 RD |
5455 | wxPyEndAllowThreads(__tstate); |
5456 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
5457 | } Py_INCREF(Py_None); |
5458 | _resultobj = Py_None; | |
5459 | return _resultobj; | |
5460 | } | |
5461 | ||
5462 | #define wxStyledTextCtrl_SetText(_swigobj,_swigarg0) (_swigobj->SetText(_swigarg0)) | |
5463 | static PyObject *_wrap_wxStyledTextCtrl_SetText(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5464 | PyObject * _resultobj; | |
5465 | wxStyledTextCtrl * _arg0; | |
5466 | wxString * _arg1; | |
5467 | PyObject * _argo0 = 0; | |
5468 | PyObject * _obj1 = 0; | |
5469 | char *_kwnames[] = { "self","text", NULL }; | |
5470 | ||
5471 | self = self; | |
5472 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxStyledTextCtrl_SetText",_kwnames,&_argo0,&_obj1)) | |
5473 | return NULL; | |
5474 | if (_argo0) { | |
5475 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5476 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
5477 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetText. Expected _wxStyledTextCtrl_p."); | |
5478 | return NULL; | |
5479 | } | |
5480 | } | |
5481 | { | |
6824d4f9 RD |
5482 | _arg1 = wxString_in_helper(_obj1); |
5483 | if (_arg1 == NULL) | |
8a2fa5c8 | 5484 | return NULL; |
8a2fa5c8 RD |
5485 | } |
5486 | { | |
0e2ff151 | 5487 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 5488 | wxStyledTextCtrl_SetText(_arg0,*_arg1); |
8a2fa5c8 | 5489 | |
0e2ff151 RD |
5490 | wxPyEndAllowThreads(__tstate); |
5491 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
5492 | } Py_INCREF(Py_None); |
5493 | _resultobj = Py_None; | |
5494 | { | |
5495 | if (_obj1) | |
5496 | delete _arg1; | |
5497 | } | |
5498 | return _resultobj; | |
5499 | } | |
5500 | ||
5501 | #define wxStyledTextCtrl_GetText(_swigobj) (_swigobj->GetText()) | |
5502 | static PyObject *_wrap_wxStyledTextCtrl_GetText(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5503 | PyObject * _resultobj; | |
5504 | wxString * _result; | |
5505 | wxStyledTextCtrl * _arg0; | |
5506 | PyObject * _argo0 = 0; | |
5507 | char *_kwnames[] = { "self", NULL }; | |
5508 | ||
5509 | self = self; | |
5510 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetText",_kwnames,&_argo0)) | |
5511 | return NULL; | |
5512 | if (_argo0) { | |
5513 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5514 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
5515 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetText. Expected _wxStyledTextCtrl_p."); | |
5516 | return NULL; | |
5517 | } | |
5518 | } | |
5519 | { | |
0e2ff151 | 5520 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 5521 | _result = new wxString (wxStyledTextCtrl_GetText(_arg0)); |
8a2fa5c8 | 5522 | |
0e2ff151 RD |
5523 | wxPyEndAllowThreads(__tstate); |
5524 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 | 5525 | }{ |
6824d4f9 RD |
5526 | #if wxUSE_UNICODE |
5527 | _resultobj = PyUnicode_FromUnicode(_result->c_str(), _result->Len()); | |
5528 | #else | |
8a2fa5c8 | 5529 | _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len()); |
6824d4f9 | 5530 | #endif |
8a2fa5c8 RD |
5531 | } |
5532 | { | |
5533 | delete _result; | |
5534 | } | |
5535 | return _resultobj; | |
5536 | } | |
5537 | ||
5538 | #define wxStyledTextCtrl_GetTextLength(_swigobj) (_swigobj->GetTextLength()) | |
5539 | static PyObject *_wrap_wxStyledTextCtrl_GetTextLength(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5540 | PyObject * _resultobj; | |
5541 | int _result; | |
5542 | wxStyledTextCtrl * _arg0; | |
5543 | PyObject * _argo0 = 0; | |
5544 | char *_kwnames[] = { "self", NULL }; | |
5545 | ||
5546 | self = self; | |
5547 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetTextLength",_kwnames,&_argo0)) | |
5548 | return NULL; | |
5549 | if (_argo0) { | |
5550 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5551 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
5552 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetTextLength. Expected _wxStyledTextCtrl_p."); | |
5553 | return NULL; | |
5554 | } | |
5555 | } | |
5556 | { | |
0e2ff151 | 5557 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 5558 | _result = (int )wxStyledTextCtrl_GetTextLength(_arg0); |
8a2fa5c8 | 5559 | |
0e2ff151 RD |
5560 | wxPyEndAllowThreads(__tstate); |
5561 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
5562 | } _resultobj = Py_BuildValue("i",_result); |
5563 | return _resultobj; | |
5564 | } | |
5565 | ||
5566 | #define wxStyledTextCtrl_SetOvertype(_swigobj,_swigarg0) (_swigobj->SetOvertype(_swigarg0)) | |
5567 | static PyObject *_wrap_wxStyledTextCtrl_SetOvertype(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5568 | PyObject * _resultobj; | |
5569 | wxStyledTextCtrl * _arg0; | |
5570 | bool _arg1; | |
5571 | PyObject * _argo0 = 0; | |
5572 | int tempbool1; | |
5573 | char *_kwnames[] = { "self","overtype", NULL }; | |
5574 | ||
5575 | self = self; | |
5576 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_SetOvertype",_kwnames,&_argo0,&tempbool1)) | |
5577 | return NULL; | |
5578 | if (_argo0) { | |
5579 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5580 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
5581 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetOvertype. Expected _wxStyledTextCtrl_p."); | |
5582 | return NULL; | |
5583 | } | |
5584 | } | |
5585 | _arg1 = (bool ) tempbool1; | |
5586 | { | |
0e2ff151 | 5587 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 5588 | wxStyledTextCtrl_SetOvertype(_arg0,_arg1); |
8a2fa5c8 | 5589 | |
0e2ff151 RD |
5590 | wxPyEndAllowThreads(__tstate); |
5591 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
5592 | } Py_INCREF(Py_None); |
5593 | _resultobj = Py_None; | |
5594 | return _resultobj; | |
5595 | } | |
5596 | ||
5597 | #define wxStyledTextCtrl_GetOvertype(_swigobj) (_swigobj->GetOvertype()) | |
5598 | static PyObject *_wrap_wxStyledTextCtrl_GetOvertype(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5599 | PyObject * _resultobj; | |
5600 | bool _result; | |
5601 | wxStyledTextCtrl * _arg0; | |
5602 | PyObject * _argo0 = 0; | |
5603 | char *_kwnames[] = { "self", NULL }; | |
5604 | ||
5605 | self = self; | |
5606 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetOvertype",_kwnames,&_argo0)) | |
5607 | return NULL; | |
5608 | if (_argo0) { | |
5609 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5610 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
5611 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetOvertype. Expected _wxStyledTextCtrl_p."); | |
5612 | return NULL; | |
5613 | } | |
5614 | } | |
5615 | { | |
0e2ff151 | 5616 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 5617 | _result = (bool )wxStyledTextCtrl_GetOvertype(_arg0); |
8a2fa5c8 | 5618 | |
0e2ff151 RD |
5619 | wxPyEndAllowThreads(__tstate); |
5620 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
5621 | } _resultobj = Py_BuildValue("i",_result); |
5622 | return _resultobj; | |
5623 | } | |
5624 | ||
5625 | #define wxStyledTextCtrl_SetCaretWidth(_swigobj,_swigarg0) (_swigobj->SetCaretWidth(_swigarg0)) | |
5626 | static PyObject *_wrap_wxStyledTextCtrl_SetCaretWidth(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5627 | PyObject * _resultobj; | |
5628 | wxStyledTextCtrl * _arg0; | |
5629 | int _arg1; | |
5630 | PyObject * _argo0 = 0; | |
5631 | char *_kwnames[] = { "self","pixelWidth", NULL }; | |
5632 | ||
5633 | self = self; | |
5634 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_SetCaretWidth",_kwnames,&_argo0,&_arg1)) | |
5635 | return NULL; | |
5636 | if (_argo0) { | |
5637 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5638 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
5639 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetCaretWidth. Expected _wxStyledTextCtrl_p."); | |
5640 | return NULL; | |
5641 | } | |
5642 | } | |
5643 | { | |
0e2ff151 | 5644 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 5645 | wxStyledTextCtrl_SetCaretWidth(_arg0,_arg1); |
8a2fa5c8 | 5646 | |
0e2ff151 RD |
5647 | wxPyEndAllowThreads(__tstate); |
5648 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
5649 | } Py_INCREF(Py_None); |
5650 | _resultobj = Py_None; | |
5651 | return _resultobj; | |
5652 | } | |
5653 | ||
5654 | #define wxStyledTextCtrl_GetCaretWidth(_swigobj) (_swigobj->GetCaretWidth()) | |
5655 | static PyObject *_wrap_wxStyledTextCtrl_GetCaretWidth(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5656 | PyObject * _resultobj; | |
5657 | int _result; | |
5658 | wxStyledTextCtrl * _arg0; | |
5659 | PyObject * _argo0 = 0; | |
5660 | char *_kwnames[] = { "self", NULL }; | |
5661 | ||
5662 | self = self; | |
5663 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetCaretWidth",_kwnames,&_argo0)) | |
5664 | return NULL; | |
5665 | if (_argo0) { | |
5666 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5667 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
5668 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetCaretWidth. Expected _wxStyledTextCtrl_p."); | |
5669 | return NULL; | |
5670 | } | |
5671 | } | |
5672 | { | |
0e2ff151 | 5673 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 5674 | _result = (int )wxStyledTextCtrl_GetCaretWidth(_arg0); |
8a2fa5c8 | 5675 | |
0e2ff151 RD |
5676 | wxPyEndAllowThreads(__tstate); |
5677 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
5678 | } _resultobj = Py_BuildValue("i",_result); |
5679 | return _resultobj; | |
5680 | } | |
5681 | ||
5682 | #define wxStyledTextCtrl_SetTargetStart(_swigobj,_swigarg0) (_swigobj->SetTargetStart(_swigarg0)) | |
5683 | static PyObject *_wrap_wxStyledTextCtrl_SetTargetStart(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5684 | PyObject * _resultobj; | |
5685 | wxStyledTextCtrl * _arg0; | |
5686 | int _arg1; | |
5687 | PyObject * _argo0 = 0; | |
5688 | char *_kwnames[] = { "self","pos", NULL }; | |
5689 | ||
5690 | self = self; | |
5691 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_SetTargetStart",_kwnames,&_argo0,&_arg1)) | |
5692 | return NULL; | |
5693 | if (_argo0) { | |
5694 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5695 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
5696 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetTargetStart. Expected _wxStyledTextCtrl_p."); | |
5697 | return NULL; | |
5698 | } | |
5699 | } | |
5700 | { | |
0e2ff151 | 5701 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 5702 | wxStyledTextCtrl_SetTargetStart(_arg0,_arg1); |
8a2fa5c8 | 5703 | |
0e2ff151 RD |
5704 | wxPyEndAllowThreads(__tstate); |
5705 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
5706 | } Py_INCREF(Py_None); |
5707 | _resultobj = Py_None; | |
5708 | return _resultobj; | |
5709 | } | |
5710 | ||
5711 | #define wxStyledTextCtrl_GetTargetStart(_swigobj) (_swigobj->GetTargetStart()) | |
5712 | static PyObject *_wrap_wxStyledTextCtrl_GetTargetStart(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5713 | PyObject * _resultobj; | |
5714 | int _result; | |
5715 | wxStyledTextCtrl * _arg0; | |
5716 | PyObject * _argo0 = 0; | |
5717 | char *_kwnames[] = { "self", NULL }; | |
5718 | ||
5719 | self = self; | |
5720 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetTargetStart",_kwnames,&_argo0)) | |
5721 | return NULL; | |
5722 | if (_argo0) { | |
5723 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5724 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
5725 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetTargetStart. Expected _wxStyledTextCtrl_p."); | |
5726 | return NULL; | |
5727 | } | |
5728 | } | |
5729 | { | |
0e2ff151 | 5730 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 5731 | _result = (int )wxStyledTextCtrl_GetTargetStart(_arg0); |
8a2fa5c8 | 5732 | |
0e2ff151 RD |
5733 | wxPyEndAllowThreads(__tstate); |
5734 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
5735 | } _resultobj = Py_BuildValue("i",_result); |
5736 | return _resultobj; | |
5737 | } | |
5738 | ||
5739 | #define wxStyledTextCtrl_SetTargetEnd(_swigobj,_swigarg0) (_swigobj->SetTargetEnd(_swigarg0)) | |
5740 | static PyObject *_wrap_wxStyledTextCtrl_SetTargetEnd(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5741 | PyObject * _resultobj; | |
5742 | wxStyledTextCtrl * _arg0; | |
5743 | int _arg1; | |
5744 | PyObject * _argo0 = 0; | |
5745 | char *_kwnames[] = { "self","pos", NULL }; | |
5746 | ||
5747 | self = self; | |
5748 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_SetTargetEnd",_kwnames,&_argo0,&_arg1)) | |
5749 | return NULL; | |
5750 | if (_argo0) { | |
5751 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5752 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
5753 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetTargetEnd. Expected _wxStyledTextCtrl_p."); | |
5754 | return NULL; | |
5755 | } | |
5756 | } | |
5757 | { | |
0e2ff151 | 5758 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 5759 | wxStyledTextCtrl_SetTargetEnd(_arg0,_arg1); |
8a2fa5c8 | 5760 | |
0e2ff151 RD |
5761 | wxPyEndAllowThreads(__tstate); |
5762 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
5763 | } Py_INCREF(Py_None); |
5764 | _resultobj = Py_None; | |
5765 | return _resultobj; | |
5766 | } | |
5767 | ||
5768 | #define wxStyledTextCtrl_GetTargetEnd(_swigobj) (_swigobj->GetTargetEnd()) | |
5769 | static PyObject *_wrap_wxStyledTextCtrl_GetTargetEnd(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5770 | PyObject * _resultobj; | |
5771 | int _result; | |
5772 | wxStyledTextCtrl * _arg0; | |
5773 | PyObject * _argo0 = 0; | |
5774 | char *_kwnames[] = { "self", NULL }; | |
5775 | ||
5776 | self = self; | |
5777 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetTargetEnd",_kwnames,&_argo0)) | |
5778 | return NULL; | |
5779 | if (_argo0) { | |
5780 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5781 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
5782 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetTargetEnd. Expected _wxStyledTextCtrl_p."); | |
5783 | return NULL; | |
5784 | } | |
5785 | } | |
5786 | { | |
0e2ff151 | 5787 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 5788 | _result = (int )wxStyledTextCtrl_GetTargetEnd(_arg0); |
8a2fa5c8 | 5789 | |
0e2ff151 RD |
5790 | wxPyEndAllowThreads(__tstate); |
5791 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
5792 | } _resultobj = Py_BuildValue("i",_result); |
5793 | return _resultobj; | |
5794 | } | |
5795 | ||
5796 | #define wxStyledTextCtrl_ReplaceTarget(_swigobj,_swigarg0) (_swigobj->ReplaceTarget(_swigarg0)) | |
5797 | static PyObject *_wrap_wxStyledTextCtrl_ReplaceTarget(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5798 | PyObject * _resultobj; | |
5799 | int _result; | |
5800 | wxStyledTextCtrl * _arg0; | |
5801 | wxString * _arg1; | |
5802 | PyObject * _argo0 = 0; | |
5803 | PyObject * _obj1 = 0; | |
5804 | char *_kwnames[] = { "self","text", NULL }; | |
5805 | ||
5806 | self = self; | |
5807 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxStyledTextCtrl_ReplaceTarget",_kwnames,&_argo0,&_obj1)) | |
5808 | return NULL; | |
5809 | if (_argo0) { | |
5810 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5811 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
5812 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_ReplaceTarget. Expected _wxStyledTextCtrl_p."); | |
5813 | return NULL; | |
5814 | } | |
5815 | } | |
5816 | { | |
6824d4f9 RD |
5817 | _arg1 = wxString_in_helper(_obj1); |
5818 | if (_arg1 == NULL) | |
8a2fa5c8 | 5819 | return NULL; |
8a2fa5c8 RD |
5820 | } |
5821 | { | |
0e2ff151 | 5822 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 5823 | _result = (int )wxStyledTextCtrl_ReplaceTarget(_arg0,*_arg1); |
8a2fa5c8 | 5824 | |
0e2ff151 RD |
5825 | wxPyEndAllowThreads(__tstate); |
5826 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
5827 | } _resultobj = Py_BuildValue("i",_result); |
5828 | { | |
5829 | if (_obj1) | |
5830 | delete _arg1; | |
5831 | } | |
5832 | return _resultobj; | |
5833 | } | |
5834 | ||
5835 | #define wxStyledTextCtrl_ReplaceTargetRE(_swigobj,_swigarg0) (_swigobj->ReplaceTargetRE(_swigarg0)) | |
5836 | static PyObject *_wrap_wxStyledTextCtrl_ReplaceTargetRE(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5837 | PyObject * _resultobj; | |
5838 | int _result; | |
5839 | wxStyledTextCtrl * _arg0; | |
5840 | wxString * _arg1; | |
5841 | PyObject * _argo0 = 0; | |
5842 | PyObject * _obj1 = 0; | |
5843 | char *_kwnames[] = { "self","text", NULL }; | |
5844 | ||
5845 | self = self; | |
5846 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxStyledTextCtrl_ReplaceTargetRE",_kwnames,&_argo0,&_obj1)) | |
5847 | return NULL; | |
5848 | if (_argo0) { | |
5849 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5850 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
5851 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_ReplaceTargetRE. Expected _wxStyledTextCtrl_p."); | |
5852 | return NULL; | |
5853 | } | |
5854 | } | |
5855 | { | |
6824d4f9 RD |
5856 | _arg1 = wxString_in_helper(_obj1); |
5857 | if (_arg1 == NULL) | |
8a2fa5c8 | 5858 | return NULL; |
8a2fa5c8 RD |
5859 | } |
5860 | { | |
0e2ff151 | 5861 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 5862 | _result = (int )wxStyledTextCtrl_ReplaceTargetRE(_arg0,*_arg1); |
8a2fa5c8 | 5863 | |
0e2ff151 RD |
5864 | wxPyEndAllowThreads(__tstate); |
5865 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
5866 | } _resultobj = Py_BuildValue("i",_result); |
5867 | { | |
5868 | if (_obj1) | |
5869 | delete _arg1; | |
5870 | } | |
5871 | return _resultobj; | |
5872 | } | |
5873 | ||
5874 | #define wxStyledTextCtrl_SearchInTarget(_swigobj,_swigarg0) (_swigobj->SearchInTarget(_swigarg0)) | |
5875 | static PyObject *_wrap_wxStyledTextCtrl_SearchInTarget(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5876 | PyObject * _resultobj; | |
5877 | int _result; | |
5878 | wxStyledTextCtrl * _arg0; | |
5879 | wxString * _arg1; | |
5880 | PyObject * _argo0 = 0; | |
5881 | PyObject * _obj1 = 0; | |
5882 | char *_kwnames[] = { "self","text", NULL }; | |
5883 | ||
5884 | self = self; | |
5885 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxStyledTextCtrl_SearchInTarget",_kwnames,&_argo0,&_obj1)) | |
5886 | return NULL; | |
5887 | if (_argo0) { | |
5888 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5889 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
5890 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SearchInTarget. Expected _wxStyledTextCtrl_p."); | |
5891 | return NULL; | |
5892 | } | |
5893 | } | |
5894 | { | |
6824d4f9 RD |
5895 | _arg1 = wxString_in_helper(_obj1); |
5896 | if (_arg1 == NULL) | |
8a2fa5c8 | 5897 | return NULL; |
8a2fa5c8 RD |
5898 | } |
5899 | { | |
0e2ff151 | 5900 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 5901 | _result = (int )wxStyledTextCtrl_SearchInTarget(_arg0,*_arg1); |
8a2fa5c8 | 5902 | |
0e2ff151 RD |
5903 | wxPyEndAllowThreads(__tstate); |
5904 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
5905 | } _resultobj = Py_BuildValue("i",_result); |
5906 | { | |
5907 | if (_obj1) | |
5908 | delete _arg1; | |
5909 | } | |
5910 | return _resultobj; | |
5911 | } | |
5912 | ||
5913 | #define wxStyledTextCtrl_SetSearchFlags(_swigobj,_swigarg0) (_swigobj->SetSearchFlags(_swigarg0)) | |
5914 | static PyObject *_wrap_wxStyledTextCtrl_SetSearchFlags(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5915 | PyObject * _resultobj; | |
5916 | wxStyledTextCtrl * _arg0; | |
5917 | int _arg1; | |
5918 | PyObject * _argo0 = 0; | |
5919 | char *_kwnames[] = { "self","flags", NULL }; | |
5920 | ||
5921 | self = self; | |
5922 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_SetSearchFlags",_kwnames,&_argo0,&_arg1)) | |
5923 | return NULL; | |
5924 | if (_argo0) { | |
5925 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5926 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
5927 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetSearchFlags. Expected _wxStyledTextCtrl_p."); | |
5928 | return NULL; | |
5929 | } | |
5930 | } | |
5931 | { | |
0e2ff151 | 5932 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 5933 | wxStyledTextCtrl_SetSearchFlags(_arg0,_arg1); |
8a2fa5c8 | 5934 | |
0e2ff151 RD |
5935 | wxPyEndAllowThreads(__tstate); |
5936 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
5937 | } Py_INCREF(Py_None); |
5938 | _resultobj = Py_None; | |
5939 | return _resultobj; | |
5940 | } | |
5941 | ||
5942 | #define wxStyledTextCtrl_GetSearchFlags(_swigobj) (_swigobj->GetSearchFlags()) | |
5943 | static PyObject *_wrap_wxStyledTextCtrl_GetSearchFlags(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5944 | PyObject * _resultobj; | |
5945 | int _result; | |
5946 | wxStyledTextCtrl * _arg0; | |
5947 | PyObject * _argo0 = 0; | |
5948 | char *_kwnames[] = { "self", NULL }; | |
5949 | ||
5950 | self = self; | |
5951 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetSearchFlags",_kwnames,&_argo0)) | |
5952 | return NULL; | |
5953 | if (_argo0) { | |
5954 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5955 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
5956 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetSearchFlags. Expected _wxStyledTextCtrl_p."); | |
5957 | return NULL; | |
5958 | } | |
5959 | } | |
5960 | { | |
0e2ff151 | 5961 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 5962 | _result = (int )wxStyledTextCtrl_GetSearchFlags(_arg0); |
8a2fa5c8 | 5963 | |
0e2ff151 RD |
5964 | wxPyEndAllowThreads(__tstate); |
5965 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
5966 | } _resultobj = Py_BuildValue("i",_result); |
5967 | return _resultobj; | |
5968 | } | |
5969 | ||
5970 | #define wxStyledTextCtrl_CallTipShow(_swigobj,_swigarg0,_swigarg1) (_swigobj->CallTipShow(_swigarg0,_swigarg1)) | |
5971 | static PyObject *_wrap_wxStyledTextCtrl_CallTipShow(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5972 | PyObject * _resultobj; | |
5973 | wxStyledTextCtrl * _arg0; | |
5974 | int _arg1; | |
5975 | wxString * _arg2; | |
5976 | PyObject * _argo0 = 0; | |
5977 | PyObject * _obj2 = 0; | |
5978 | char *_kwnames[] = { "self","pos","definition", NULL }; | |
5979 | ||
5980 | self = self; | |
5981 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxStyledTextCtrl_CallTipShow",_kwnames,&_argo0,&_arg1,&_obj2)) | |
5982 | return NULL; | |
5983 | if (_argo0) { | |
5984 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5985 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
5986 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_CallTipShow. Expected _wxStyledTextCtrl_p."); | |
5987 | return NULL; | |
5988 | } | |
5989 | } | |
5990 | { | |
6824d4f9 RD |
5991 | _arg2 = wxString_in_helper(_obj2); |
5992 | if (_arg2 == NULL) | |
8a2fa5c8 | 5993 | return NULL; |
8a2fa5c8 RD |
5994 | } |
5995 | { | |
0e2ff151 | 5996 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 5997 | wxStyledTextCtrl_CallTipShow(_arg0,_arg1,*_arg2); |
8a2fa5c8 | 5998 | |
0e2ff151 RD |
5999 | wxPyEndAllowThreads(__tstate); |
6000 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
6001 | } Py_INCREF(Py_None); |
6002 | _resultobj = Py_None; | |
6003 | { | |
6004 | if (_obj2) | |
6005 | delete _arg2; | |
6006 | } | |
6007 | return _resultobj; | |
6008 | } | |
6009 | ||
6010 | #define wxStyledTextCtrl_CallTipCancel(_swigobj) (_swigobj->CallTipCancel()) | |
6011 | static PyObject *_wrap_wxStyledTextCtrl_CallTipCancel(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6012 | PyObject * _resultobj; | |
6013 | wxStyledTextCtrl * _arg0; | |
6014 | PyObject * _argo0 = 0; | |
6015 | char *_kwnames[] = { "self", NULL }; | |
6016 | ||
6017 | self = self; | |
6018 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_CallTipCancel",_kwnames,&_argo0)) | |
6019 | return NULL; | |
6020 | if (_argo0) { | |
6021 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6022 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
6023 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_CallTipCancel. Expected _wxStyledTextCtrl_p."); | |
6024 | return NULL; | |
6025 | } | |
6026 | } | |
6027 | { | |
0e2ff151 | 6028 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 6029 | wxStyledTextCtrl_CallTipCancel(_arg0); |
8a2fa5c8 | 6030 | |
0e2ff151 RD |
6031 | wxPyEndAllowThreads(__tstate); |
6032 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
6033 | } Py_INCREF(Py_None); |
6034 | _resultobj = Py_None; | |
6035 | return _resultobj; | |
6036 | } | |
6037 | ||
6038 | #define wxStyledTextCtrl_CallTipActive(_swigobj) (_swigobj->CallTipActive()) | |
6039 | static PyObject *_wrap_wxStyledTextCtrl_CallTipActive(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6040 | PyObject * _resultobj; | |
6041 | bool _result; | |
6042 | wxStyledTextCtrl * _arg0; | |
6043 | PyObject * _argo0 = 0; | |
6044 | char *_kwnames[] = { "self", NULL }; | |
6045 | ||
6046 | self = self; | |
6047 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_CallTipActive",_kwnames,&_argo0)) | |
6048 | return NULL; | |
6049 | if (_argo0) { | |
6050 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6051 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
6052 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_CallTipActive. Expected _wxStyledTextCtrl_p."); | |
6053 | return NULL; | |
6054 | } | |
6055 | } | |
6056 | { | |
0e2ff151 | 6057 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 6058 | _result = (bool )wxStyledTextCtrl_CallTipActive(_arg0); |
8a2fa5c8 | 6059 | |
0e2ff151 RD |
6060 | wxPyEndAllowThreads(__tstate); |
6061 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
6062 | } _resultobj = Py_BuildValue("i",_result); |
6063 | return _resultobj; | |
6064 | } | |
6065 | ||
6066 | #define wxStyledTextCtrl_CallTipPosAtStart(_swigobj) (_swigobj->CallTipPosAtStart()) | |
6067 | static PyObject *_wrap_wxStyledTextCtrl_CallTipPosAtStart(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6068 | PyObject * _resultobj; | |
6069 | int _result; | |
6070 | wxStyledTextCtrl * _arg0; | |
6071 | PyObject * _argo0 = 0; | |
6072 | char *_kwnames[] = { "self", NULL }; | |
6073 | ||
6074 | self = self; | |
6075 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_CallTipPosAtStart",_kwnames,&_argo0)) | |
6076 | return NULL; | |
6077 | if (_argo0) { | |
6078 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6079 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
6080 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_CallTipPosAtStart. Expected _wxStyledTextCtrl_p."); | |
6081 | return NULL; | |
6082 | } | |
6083 | } | |
6084 | { | |
0e2ff151 | 6085 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 6086 | _result = (int )wxStyledTextCtrl_CallTipPosAtStart(_arg0); |
8a2fa5c8 | 6087 | |
0e2ff151 RD |
6088 | wxPyEndAllowThreads(__tstate); |
6089 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
6090 | } _resultobj = Py_BuildValue("i",_result); |
6091 | return _resultobj; | |
6092 | } | |
6093 | ||
6094 | #define wxStyledTextCtrl_CallTipSetHighlight(_swigobj,_swigarg0,_swigarg1) (_swigobj->CallTipSetHighlight(_swigarg0,_swigarg1)) | |
6095 | static PyObject *_wrap_wxStyledTextCtrl_CallTipSetHighlight(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6096 | PyObject * _resultobj; | |
6097 | wxStyledTextCtrl * _arg0; | |
6098 | int _arg1; | |
6099 | int _arg2; | |
6100 | PyObject * _argo0 = 0; | |
6101 | char *_kwnames[] = { "self","start","end", NULL }; | |
6102 | ||
6103 | self = self; | |
6104 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxStyledTextCtrl_CallTipSetHighlight",_kwnames,&_argo0,&_arg1,&_arg2)) | |
6105 | return NULL; | |
6106 | if (_argo0) { | |
6107 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6108 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
6109 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_CallTipSetHighlight. Expected _wxStyledTextCtrl_p."); | |
6110 | return NULL; | |
6111 | } | |
6112 | } | |
6113 | { | |
0e2ff151 | 6114 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 6115 | wxStyledTextCtrl_CallTipSetHighlight(_arg0,_arg1,_arg2); |
8a2fa5c8 | 6116 | |
0e2ff151 RD |
6117 | wxPyEndAllowThreads(__tstate); |
6118 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
6119 | } Py_INCREF(Py_None); |
6120 | _resultobj = Py_None; | |
6121 | return _resultobj; | |
6122 | } | |
6123 | ||
6124 | #define wxStyledTextCtrl_CallTipSetBackground(_swigobj,_swigarg0) (_swigobj->CallTipSetBackground(_swigarg0)) | |
6125 | static PyObject *_wrap_wxStyledTextCtrl_CallTipSetBackground(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6126 | PyObject * _resultobj; | |
6127 | wxStyledTextCtrl * _arg0; | |
6128 | wxColour * _arg1; | |
6129 | PyObject * _argo0 = 0; | |
6130 | wxColour temp; | |
6131 | PyObject * _obj1 = 0; | |
6132 | char *_kwnames[] = { "self","back", NULL }; | |
6133 | ||
6134 | self = self; | |
6135 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxStyledTextCtrl_CallTipSetBackground",_kwnames,&_argo0,&_obj1)) | |
6136 | return NULL; | |
6137 | if (_argo0) { | |
6138 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6139 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
6140 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_CallTipSetBackground. Expected _wxStyledTextCtrl_p."); | |
6141 | return NULL; | |
6142 | } | |
6143 | } | |
6144 | { | |
6145 | _arg1 = &temp; | |
6146 | if (! wxColour_helper(_obj1, &_arg1)) | |
6147 | return NULL; | |
6148 | } | |
6149 | { | |
0e2ff151 | 6150 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 6151 | wxStyledTextCtrl_CallTipSetBackground(_arg0,*_arg1); |
8a2fa5c8 | 6152 | |
0e2ff151 RD |
6153 | wxPyEndAllowThreads(__tstate); |
6154 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
6155 | } Py_INCREF(Py_None); |
6156 | _resultobj = Py_None; | |
6157 | return _resultobj; | |
6158 | } | |
6159 | ||
6160 | #define wxStyledTextCtrl_VisibleFromDocLine(_swigobj,_swigarg0) (_swigobj->VisibleFromDocLine(_swigarg0)) | |
6161 | static PyObject *_wrap_wxStyledTextCtrl_VisibleFromDocLine(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6162 | PyObject * _resultobj; | |
6163 | int _result; | |
6164 | wxStyledTextCtrl * _arg0; | |
6165 | int _arg1; | |
6166 | PyObject * _argo0 = 0; | |
6167 | char *_kwnames[] = { "self","line", NULL }; | |
6168 | ||
6169 | self = self; | |
6170 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_VisibleFromDocLine",_kwnames,&_argo0,&_arg1)) | |
6171 | return NULL; | |
6172 | if (_argo0) { | |
6173 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6174 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
6175 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_VisibleFromDocLine. Expected _wxStyledTextCtrl_p."); | |
6176 | return NULL; | |
6177 | } | |
6178 | } | |
6179 | { | |
0e2ff151 | 6180 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 6181 | _result = (int )wxStyledTextCtrl_VisibleFromDocLine(_arg0,_arg1); |
8a2fa5c8 | 6182 | |
0e2ff151 RD |
6183 | wxPyEndAllowThreads(__tstate); |
6184 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
6185 | } _resultobj = Py_BuildValue("i",_result); |
6186 | return _resultobj; | |
6187 | } | |
6188 | ||
6189 | #define wxStyledTextCtrl_DocLineFromVisible(_swigobj,_swigarg0) (_swigobj->DocLineFromVisible(_swigarg0)) | |
6190 | static PyObject *_wrap_wxStyledTextCtrl_DocLineFromVisible(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6191 | PyObject * _resultobj; | |
6192 | int _result; | |
6193 | wxStyledTextCtrl * _arg0; | |
6194 | int _arg1; | |
6195 | PyObject * _argo0 = 0; | |
6196 | char *_kwnames[] = { "self","lineDisplay", NULL }; | |
6197 | ||
6198 | self = self; | |
6199 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_DocLineFromVisible",_kwnames,&_argo0,&_arg1)) | |
6200 | return NULL; | |
6201 | if (_argo0) { | |
6202 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6203 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
6204 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_DocLineFromVisible. Expected _wxStyledTextCtrl_p."); | |
6205 | return NULL; | |
6206 | } | |
6207 | } | |
6208 | { | |
0e2ff151 | 6209 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 6210 | _result = (int )wxStyledTextCtrl_DocLineFromVisible(_arg0,_arg1); |
8a2fa5c8 | 6211 | |
0e2ff151 RD |
6212 | wxPyEndAllowThreads(__tstate); |
6213 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
6214 | } _resultobj = Py_BuildValue("i",_result); |
6215 | return _resultobj; | |
6216 | } | |
6217 | ||
6218 | #define wxStyledTextCtrl_SetFoldLevel(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetFoldLevel(_swigarg0,_swigarg1)) | |
6219 | static PyObject *_wrap_wxStyledTextCtrl_SetFoldLevel(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6220 | PyObject * _resultobj; | |
6221 | wxStyledTextCtrl * _arg0; | |
6222 | int _arg1; | |
6223 | int _arg2; | |
6224 | PyObject * _argo0 = 0; | |
6225 | char *_kwnames[] = { "self","line","level", NULL }; | |
6226 | ||
6227 | self = self; | |
6228 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxStyledTextCtrl_SetFoldLevel",_kwnames,&_argo0,&_arg1,&_arg2)) | |
6229 | return NULL; | |
6230 | if (_argo0) { | |
6231 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6232 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
6233 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetFoldLevel. Expected _wxStyledTextCtrl_p."); | |
6234 | return NULL; | |
6235 | } | |
6236 | } | |
6237 | { | |
0e2ff151 | 6238 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 6239 | wxStyledTextCtrl_SetFoldLevel(_arg0,_arg1,_arg2); |
8a2fa5c8 | 6240 | |
0e2ff151 RD |
6241 | wxPyEndAllowThreads(__tstate); |
6242 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
6243 | } Py_INCREF(Py_None); |
6244 | _resultobj = Py_None; | |
6245 | return _resultobj; | |
6246 | } | |
6247 | ||
6248 | #define wxStyledTextCtrl_GetFoldLevel(_swigobj,_swigarg0) (_swigobj->GetFoldLevel(_swigarg0)) | |
6249 | static PyObject *_wrap_wxStyledTextCtrl_GetFoldLevel(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6250 | PyObject * _resultobj; | |
6251 | int _result; | |
6252 | wxStyledTextCtrl * _arg0; | |
6253 | int _arg1; | |
6254 | PyObject * _argo0 = 0; | |
6255 | char *_kwnames[] = { "self","line", NULL }; | |
6256 | ||
6257 | self = self; | |
6258 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_GetFoldLevel",_kwnames,&_argo0,&_arg1)) | |
6259 | return NULL; | |
6260 | if (_argo0) { | |
6261 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6262 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
6263 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetFoldLevel. Expected _wxStyledTextCtrl_p."); | |
6264 | return NULL; | |
6265 | } | |
6266 | } | |
6267 | { | |
0e2ff151 | 6268 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 6269 | _result = (int )wxStyledTextCtrl_GetFoldLevel(_arg0,_arg1); |
8a2fa5c8 | 6270 | |
0e2ff151 RD |
6271 | wxPyEndAllowThreads(__tstate); |
6272 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
6273 | } _resultobj = Py_BuildValue("i",_result); |
6274 | return _resultobj; | |
6275 | } | |
6276 | ||
6277 | #define wxStyledTextCtrl_GetLastChild(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetLastChild(_swigarg0,_swigarg1)) | |
6278 | static PyObject *_wrap_wxStyledTextCtrl_GetLastChild(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6279 | PyObject * _resultobj; | |
6280 | int _result; | |
6281 | wxStyledTextCtrl * _arg0; | |
6282 | int _arg1; | |
6283 | int _arg2; | |
6284 | PyObject * _argo0 = 0; | |
6285 | char *_kwnames[] = { "self","line","level", NULL }; | |
6286 | ||
6287 | self = self; | |
6288 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxStyledTextCtrl_GetLastChild",_kwnames,&_argo0,&_arg1,&_arg2)) | |
6289 | return NULL; | |
6290 | if (_argo0) { | |
6291 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6292 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
6293 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetLastChild. Expected _wxStyledTextCtrl_p."); | |
6294 | return NULL; | |
6295 | } | |
6296 | } | |
6297 | { | |
0e2ff151 | 6298 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 6299 | _result = (int )wxStyledTextCtrl_GetLastChild(_arg0,_arg1,_arg2); |
8a2fa5c8 | 6300 | |
0e2ff151 RD |
6301 | wxPyEndAllowThreads(__tstate); |
6302 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
6303 | } _resultobj = Py_BuildValue("i",_result); |
6304 | return _resultobj; | |
6305 | } | |
6306 | ||
6307 | #define wxStyledTextCtrl_GetFoldParent(_swigobj,_swigarg0) (_swigobj->GetFoldParent(_swigarg0)) | |
6308 | static PyObject *_wrap_wxStyledTextCtrl_GetFoldParent(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6309 | PyObject * _resultobj; | |
6310 | int _result; | |
6311 | wxStyledTextCtrl * _arg0; | |
6312 | int _arg1; | |
6313 | PyObject * _argo0 = 0; | |
6314 | char *_kwnames[] = { "self","line", NULL }; | |
6315 | ||
6316 | self = self; | |
6317 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_GetFoldParent",_kwnames,&_argo0,&_arg1)) | |
6318 | return NULL; | |
6319 | if (_argo0) { | |
6320 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6321 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
6322 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetFoldParent. Expected _wxStyledTextCtrl_p."); | |
6323 | return NULL; | |
6324 | } | |
6325 | } | |
6326 | { | |
0e2ff151 | 6327 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 6328 | _result = (int )wxStyledTextCtrl_GetFoldParent(_arg0,_arg1); |
8a2fa5c8 | 6329 | |
0e2ff151 RD |
6330 | wxPyEndAllowThreads(__tstate); |
6331 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
6332 | } _resultobj = Py_BuildValue("i",_result); |
6333 | return _resultobj; | |
6334 | } | |
6335 | ||
6336 | #define wxStyledTextCtrl_ShowLines(_swigobj,_swigarg0,_swigarg1) (_swigobj->ShowLines(_swigarg0,_swigarg1)) | |
6337 | static PyObject *_wrap_wxStyledTextCtrl_ShowLines(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6338 | PyObject * _resultobj; | |
6339 | wxStyledTextCtrl * _arg0; | |
6340 | int _arg1; | |
6341 | int _arg2; | |
6342 | PyObject * _argo0 = 0; | |
6343 | char *_kwnames[] = { "self","lineStart","lineEnd", NULL }; | |
6344 | ||
6345 | self = self; | |
6346 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxStyledTextCtrl_ShowLines",_kwnames,&_argo0,&_arg1,&_arg2)) | |
6347 | return NULL; | |
6348 | if (_argo0) { | |
6349 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6350 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
6351 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_ShowLines. Expected _wxStyledTextCtrl_p."); | |
6352 | return NULL; | |
6353 | } | |
6354 | } | |
6355 | { | |
0e2ff151 | 6356 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 6357 | wxStyledTextCtrl_ShowLines(_arg0,_arg1,_arg2); |
8a2fa5c8 | 6358 | |
0e2ff151 RD |
6359 | wxPyEndAllowThreads(__tstate); |
6360 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
6361 | } Py_INCREF(Py_None); |
6362 | _resultobj = Py_None; | |
6363 | return _resultobj; | |
6364 | } | |
6365 | ||
6366 | #define wxStyledTextCtrl_HideLines(_swigobj,_swigarg0,_swigarg1) (_swigobj->HideLines(_swigarg0,_swigarg1)) | |
6367 | static PyObject *_wrap_wxStyledTextCtrl_HideLines(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6368 | PyObject * _resultobj; | |
6369 | wxStyledTextCtrl * _arg0; | |
6370 | int _arg1; | |
6371 | int _arg2; | |
6372 | PyObject * _argo0 = 0; | |
6373 | char *_kwnames[] = { "self","lineStart","lineEnd", NULL }; | |
6374 | ||
6375 | self = self; | |
6376 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxStyledTextCtrl_HideLines",_kwnames,&_argo0,&_arg1,&_arg2)) | |
6377 | return NULL; | |
6378 | if (_argo0) { | |
6379 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6380 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
6381 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_HideLines. Expected _wxStyledTextCtrl_p."); | |
6382 | return NULL; | |
6383 | } | |
6384 | } | |
6385 | { | |
0e2ff151 | 6386 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 6387 | wxStyledTextCtrl_HideLines(_arg0,_arg1,_arg2); |
8a2fa5c8 | 6388 | |
0e2ff151 RD |
6389 | wxPyEndAllowThreads(__tstate); |
6390 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
6391 | } Py_INCREF(Py_None); |
6392 | _resultobj = Py_None; | |
6393 | return _resultobj; | |
6394 | } | |
6395 | ||
6396 | #define wxStyledTextCtrl_GetLineVisible(_swigobj,_swigarg0) (_swigobj->GetLineVisible(_swigarg0)) | |
6397 | static PyObject *_wrap_wxStyledTextCtrl_GetLineVisible(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6398 | PyObject * _resultobj; | |
6399 | bool _result; | |
6400 | wxStyledTextCtrl * _arg0; | |
6401 | int _arg1; | |
6402 | PyObject * _argo0 = 0; | |
6403 | char *_kwnames[] = { "self","line", NULL }; | |
6404 | ||
6405 | self = self; | |
6406 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_GetLineVisible",_kwnames,&_argo0,&_arg1)) | |
6407 | return NULL; | |
6408 | if (_argo0) { | |
6409 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6410 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
6411 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetLineVisible. Expected _wxStyledTextCtrl_p."); | |
6412 | return NULL; | |
6413 | } | |
6414 | } | |
6415 | { | |
0e2ff151 | 6416 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 6417 | _result = (bool )wxStyledTextCtrl_GetLineVisible(_arg0,_arg1); |
8a2fa5c8 | 6418 | |
0e2ff151 RD |
6419 | wxPyEndAllowThreads(__tstate); |
6420 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
6421 | } _resultobj = Py_BuildValue("i",_result); |
6422 | return _resultobj; | |
6423 | } | |
6424 | ||
6425 | #define wxStyledTextCtrl_SetFoldExpanded(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetFoldExpanded(_swigarg0,_swigarg1)) | |
6426 | static PyObject *_wrap_wxStyledTextCtrl_SetFoldExpanded(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6427 | PyObject * _resultobj; | |
6428 | wxStyledTextCtrl * _arg0; | |
6429 | int _arg1; | |
6430 | bool _arg2; | |
6431 | PyObject * _argo0 = 0; | |
6432 | int tempbool2; | |
6433 | char *_kwnames[] = { "self","line","expanded", NULL }; | |
6434 | ||
6435 | self = self; | |
6436 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxStyledTextCtrl_SetFoldExpanded",_kwnames,&_argo0,&_arg1,&tempbool2)) | |
6437 | return NULL; | |
6438 | if (_argo0) { | |
6439 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6440 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
6441 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetFoldExpanded. Expected _wxStyledTextCtrl_p."); | |
6442 | return NULL; | |
6443 | } | |
6444 | } | |
6445 | _arg2 = (bool ) tempbool2; | |
6446 | { | |
0e2ff151 | 6447 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 6448 | wxStyledTextCtrl_SetFoldExpanded(_arg0,_arg1,_arg2); |
8a2fa5c8 | 6449 | |
0e2ff151 RD |
6450 | wxPyEndAllowThreads(__tstate); |
6451 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
6452 | } Py_INCREF(Py_None); |
6453 | _resultobj = Py_None; | |
6454 | return _resultobj; | |
6455 | } | |
6456 | ||
6457 | #define wxStyledTextCtrl_GetFoldExpanded(_swigobj,_swigarg0) (_swigobj->GetFoldExpanded(_swigarg0)) | |
6458 | static PyObject *_wrap_wxStyledTextCtrl_GetFoldExpanded(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6459 | PyObject * _resultobj; | |
6460 | bool _result; | |
6461 | wxStyledTextCtrl * _arg0; | |
6462 | int _arg1; | |
6463 | PyObject * _argo0 = 0; | |
6464 | char *_kwnames[] = { "self","line", NULL }; | |
6465 | ||
6466 | self = self; | |
6467 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_GetFoldExpanded",_kwnames,&_argo0,&_arg1)) | |
6468 | return NULL; | |
6469 | if (_argo0) { | |
6470 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6471 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
6472 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetFoldExpanded. Expected _wxStyledTextCtrl_p."); | |
6473 | return NULL; | |
6474 | } | |
6475 | } | |
6476 | { | |
0e2ff151 | 6477 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 6478 | _result = (bool )wxStyledTextCtrl_GetFoldExpanded(_arg0,_arg1); |
8a2fa5c8 | 6479 | |
0e2ff151 RD |
6480 | wxPyEndAllowThreads(__tstate); |
6481 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
6482 | } _resultobj = Py_BuildValue("i",_result); |
6483 | return _resultobj; | |
6484 | } | |
6485 | ||
6486 | #define wxStyledTextCtrl_ToggleFold(_swigobj,_swigarg0) (_swigobj->ToggleFold(_swigarg0)) | |
6487 | static PyObject *_wrap_wxStyledTextCtrl_ToggleFold(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6488 | PyObject * _resultobj; | |
6489 | wxStyledTextCtrl * _arg0; | |
6490 | int _arg1; | |
6491 | PyObject * _argo0 = 0; | |
6492 | char *_kwnames[] = { "self","line", NULL }; | |
6493 | ||
6494 | self = self; | |
6495 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_ToggleFold",_kwnames,&_argo0,&_arg1)) | |
6496 | return NULL; | |
6497 | if (_argo0) { | |
6498 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6499 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
6500 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_ToggleFold. Expected _wxStyledTextCtrl_p."); | |
6501 | return NULL; | |
6502 | } | |
6503 | } | |
6504 | { | |
0e2ff151 | 6505 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 6506 | wxStyledTextCtrl_ToggleFold(_arg0,_arg1); |
8a2fa5c8 | 6507 | |
0e2ff151 RD |
6508 | wxPyEndAllowThreads(__tstate); |
6509 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
6510 | } Py_INCREF(Py_None); |
6511 | _resultobj = Py_None; | |
6512 | return _resultobj; | |
6513 | } | |
6514 | ||
6515 | #define wxStyledTextCtrl_EnsureVisible(_swigobj,_swigarg0) (_swigobj->EnsureVisible(_swigarg0)) | |
6516 | static PyObject *_wrap_wxStyledTextCtrl_EnsureVisible(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6517 | PyObject * _resultobj; | |
6518 | wxStyledTextCtrl * _arg0; | |
6519 | int _arg1; | |
6520 | PyObject * _argo0 = 0; | |
6521 | char *_kwnames[] = { "self","line", NULL }; | |
6522 | ||
6523 | self = self; | |
6524 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_EnsureVisible",_kwnames,&_argo0,&_arg1)) | |
6525 | return NULL; | |
6526 | if (_argo0) { | |
6527 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6528 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
6529 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_EnsureVisible. Expected _wxStyledTextCtrl_p."); | |
6530 | return NULL; | |
6531 | } | |
6532 | } | |
6533 | { | |
0e2ff151 | 6534 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 6535 | wxStyledTextCtrl_EnsureVisible(_arg0,_arg1); |
8a2fa5c8 | 6536 | |
0e2ff151 RD |
6537 | wxPyEndAllowThreads(__tstate); |
6538 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
6539 | } Py_INCREF(Py_None); |
6540 | _resultobj = Py_None; | |
6541 | return _resultobj; | |
6542 | } | |
6543 | ||
6544 | #define wxStyledTextCtrl_SetFoldFlags(_swigobj,_swigarg0) (_swigobj->SetFoldFlags(_swigarg0)) | |
6545 | static PyObject *_wrap_wxStyledTextCtrl_SetFoldFlags(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6546 | PyObject * _resultobj; | |
6547 | wxStyledTextCtrl * _arg0; | |
6548 | int _arg1; | |
6549 | PyObject * _argo0 = 0; | |
6550 | char *_kwnames[] = { "self","flags", NULL }; | |
6551 | ||
6552 | self = self; | |
6553 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_SetFoldFlags",_kwnames,&_argo0,&_arg1)) | |
6554 | return NULL; | |
6555 | if (_argo0) { | |
6556 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6557 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
6558 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetFoldFlags. Expected _wxStyledTextCtrl_p."); | |
6559 | return NULL; | |
6560 | } | |
6561 | } | |
6562 | { | |
0e2ff151 | 6563 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 6564 | wxStyledTextCtrl_SetFoldFlags(_arg0,_arg1); |
8a2fa5c8 | 6565 | |
0e2ff151 RD |
6566 | wxPyEndAllowThreads(__tstate); |
6567 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
6568 | } Py_INCREF(Py_None); |
6569 | _resultobj = Py_None; | |
6570 | return _resultobj; | |
6571 | } | |
6572 | ||
6573 | #define wxStyledTextCtrl_EnsureVisibleEnforcePolicy(_swigobj,_swigarg0) (_swigobj->EnsureVisibleEnforcePolicy(_swigarg0)) | |
6574 | static PyObject *_wrap_wxStyledTextCtrl_EnsureVisibleEnforcePolicy(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6575 | PyObject * _resultobj; | |
6576 | wxStyledTextCtrl * _arg0; | |
6577 | int _arg1; | |
6578 | PyObject * _argo0 = 0; | |
6579 | char *_kwnames[] = { "self","line", NULL }; | |
6580 | ||
6581 | self = self; | |
6582 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_EnsureVisibleEnforcePolicy",_kwnames,&_argo0,&_arg1)) | |
6583 | return NULL; | |
6584 | if (_argo0) { | |
6585 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6586 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
6587 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_EnsureVisibleEnforcePolicy. Expected _wxStyledTextCtrl_p."); | |
6588 | return NULL; | |
6589 | } | |
6590 | } | |
6591 | { | |
0e2ff151 | 6592 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 6593 | wxStyledTextCtrl_EnsureVisibleEnforcePolicy(_arg0,_arg1); |
8a2fa5c8 | 6594 | |
0e2ff151 RD |
6595 | wxPyEndAllowThreads(__tstate); |
6596 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
6597 | } Py_INCREF(Py_None); |
6598 | _resultobj = Py_None; | |
6599 | return _resultobj; | |
6600 | } | |
6601 | ||
6602 | #define wxStyledTextCtrl_SetTabIndents(_swigobj,_swigarg0) (_swigobj->SetTabIndents(_swigarg0)) | |
6603 | static PyObject *_wrap_wxStyledTextCtrl_SetTabIndents(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6604 | PyObject * _resultobj; | |
6605 | wxStyledTextCtrl * _arg0; | |
6606 | bool _arg1; | |
6607 | PyObject * _argo0 = 0; | |
6608 | int tempbool1; | |
6609 | char *_kwnames[] = { "self","tabIndents", NULL }; | |
6610 | ||
6611 | self = self; | |
6612 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_SetTabIndents",_kwnames,&_argo0,&tempbool1)) | |
6613 | return NULL; | |
6614 | if (_argo0) { | |
6615 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6616 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
6617 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetTabIndents. Expected _wxStyledTextCtrl_p."); | |
6618 | return NULL; | |
6619 | } | |
6620 | } | |
6621 | _arg1 = (bool ) tempbool1; | |
6622 | { | |
0e2ff151 | 6623 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 6624 | wxStyledTextCtrl_SetTabIndents(_arg0,_arg1); |
8a2fa5c8 | 6625 | |
0e2ff151 RD |
6626 | wxPyEndAllowThreads(__tstate); |
6627 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
6628 | } Py_INCREF(Py_None); |
6629 | _resultobj = Py_None; | |
6630 | return _resultobj; | |
6631 | } | |
6632 | ||
6633 | #define wxStyledTextCtrl_GetTabIndents(_swigobj) (_swigobj->GetTabIndents()) | |
6634 | static PyObject *_wrap_wxStyledTextCtrl_GetTabIndents(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6635 | PyObject * _resultobj; | |
6636 | bool _result; | |
6637 | wxStyledTextCtrl * _arg0; | |
6638 | PyObject * _argo0 = 0; | |
6639 | char *_kwnames[] = { "self", NULL }; | |
6640 | ||
6641 | self = self; | |
6642 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetTabIndents",_kwnames,&_argo0)) | |
6643 | return NULL; | |
6644 | if (_argo0) { | |
6645 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6646 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
6647 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetTabIndents. Expected _wxStyledTextCtrl_p."); | |
6648 | return NULL; | |
6649 | } | |
6650 | } | |
6651 | { | |
0e2ff151 | 6652 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 6653 | _result = (bool )wxStyledTextCtrl_GetTabIndents(_arg0); |
8a2fa5c8 | 6654 | |
0e2ff151 RD |
6655 | wxPyEndAllowThreads(__tstate); |
6656 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
6657 | } _resultobj = Py_BuildValue("i",_result); |
6658 | return _resultobj; | |
6659 | } | |
6660 | ||
6661 | #define wxStyledTextCtrl_SetBackSpaceUnIndents(_swigobj,_swigarg0) (_swigobj->SetBackSpaceUnIndents(_swigarg0)) | |
6662 | static PyObject *_wrap_wxStyledTextCtrl_SetBackSpaceUnIndents(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6663 | PyObject * _resultobj; | |
6664 | wxStyledTextCtrl * _arg0; | |
6665 | bool _arg1; | |
6666 | PyObject * _argo0 = 0; | |
6667 | int tempbool1; | |
6668 | char *_kwnames[] = { "self","bsUnIndents", NULL }; | |
6669 | ||
6670 | self = self; | |
6671 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_SetBackSpaceUnIndents",_kwnames,&_argo0,&tempbool1)) | |
6672 | return NULL; | |
6673 | if (_argo0) { | |
6674 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6675 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
6676 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetBackSpaceUnIndents. Expected _wxStyledTextCtrl_p."); | |
6677 | return NULL; | |
6678 | } | |
6679 | } | |
6680 | _arg1 = (bool ) tempbool1; | |
6681 | { | |
0e2ff151 | 6682 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 6683 | wxStyledTextCtrl_SetBackSpaceUnIndents(_arg0,_arg1); |
8a2fa5c8 | 6684 | |
0e2ff151 RD |
6685 | wxPyEndAllowThreads(__tstate); |
6686 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
6687 | } Py_INCREF(Py_None); |
6688 | _resultobj = Py_None; | |
6689 | return _resultobj; | |
6690 | } | |
6691 | ||
6692 | #define wxStyledTextCtrl_GetBackSpaceUnIndents(_swigobj) (_swigobj->GetBackSpaceUnIndents()) | |
6693 | static PyObject *_wrap_wxStyledTextCtrl_GetBackSpaceUnIndents(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6694 | PyObject * _resultobj; | |
6695 | bool _result; | |
6696 | wxStyledTextCtrl * _arg0; | |
6697 | PyObject * _argo0 = 0; | |
6698 | char *_kwnames[] = { "self", NULL }; | |
6699 | ||
6700 | self = self; | |
6701 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetBackSpaceUnIndents",_kwnames,&_argo0)) | |
6702 | return NULL; | |
6703 | if (_argo0) { | |
6704 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6705 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
6706 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetBackSpaceUnIndents. Expected _wxStyledTextCtrl_p."); | |
6707 | return NULL; | |
6708 | } | |
6709 | } | |
6710 | { | |
0e2ff151 | 6711 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 6712 | _result = (bool )wxStyledTextCtrl_GetBackSpaceUnIndents(_arg0); |
8a2fa5c8 | 6713 | |
0e2ff151 RD |
6714 | wxPyEndAllowThreads(__tstate); |
6715 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
6716 | } _resultobj = Py_BuildValue("i",_result); |
6717 | return _resultobj; | |
6718 | } | |
6719 | ||
6720 | #define wxStyledTextCtrl_SetMouseDwellTime(_swigobj,_swigarg0) (_swigobj->SetMouseDwellTime(_swigarg0)) | |
6721 | static PyObject *_wrap_wxStyledTextCtrl_SetMouseDwellTime(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6722 | PyObject * _resultobj; | |
6723 | wxStyledTextCtrl * _arg0; | |
6724 | int _arg1; | |
6725 | PyObject * _argo0 = 0; | |
6726 | char *_kwnames[] = { "self","periodMilliseconds", NULL }; | |
6727 | ||
6728 | self = self; | |
6729 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_SetMouseDwellTime",_kwnames,&_argo0,&_arg1)) | |
6730 | return NULL; | |
6731 | if (_argo0) { | |
6732 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6733 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
6734 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetMouseDwellTime. Expected _wxStyledTextCtrl_p."); | |
6735 | return NULL; | |
6736 | } | |
6737 | } | |
6738 | { | |
0e2ff151 | 6739 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 6740 | wxStyledTextCtrl_SetMouseDwellTime(_arg0,_arg1); |
8a2fa5c8 | 6741 | |
0e2ff151 RD |
6742 | wxPyEndAllowThreads(__tstate); |
6743 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
6744 | } Py_INCREF(Py_None); |
6745 | _resultobj = Py_None; | |
6746 | return _resultobj; | |
6747 | } | |
6748 | ||
6749 | #define wxStyledTextCtrl_GetMouseDwellTime(_swigobj) (_swigobj->GetMouseDwellTime()) | |
6750 | static PyObject *_wrap_wxStyledTextCtrl_GetMouseDwellTime(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6751 | PyObject * _resultobj; | |
6752 | int _result; | |
6753 | wxStyledTextCtrl * _arg0; | |
6754 | PyObject * _argo0 = 0; | |
6755 | char *_kwnames[] = { "self", NULL }; | |
6756 | ||
6757 | self = self; | |
6758 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetMouseDwellTime",_kwnames,&_argo0)) | |
6759 | return NULL; | |
6760 | if (_argo0) { | |
6761 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6762 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
6763 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetMouseDwellTime. Expected _wxStyledTextCtrl_p."); | |
6764 | return NULL; | |
6765 | } | |
6766 | } | |
6767 | { | |
0e2ff151 | 6768 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 6769 | _result = (int )wxStyledTextCtrl_GetMouseDwellTime(_arg0); |
8a2fa5c8 | 6770 | |
0e2ff151 RD |
6771 | wxPyEndAllowThreads(__tstate); |
6772 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
6773 | } _resultobj = Py_BuildValue("i",_result); |
6774 | return _resultobj; | |
6775 | } | |
6776 | ||
c3bfa1cb RD |
6777 | #define wxStyledTextCtrl_WordStartPosition(_swigobj,_swigarg0,_swigarg1) (_swigobj->WordStartPosition(_swigarg0,_swigarg1)) |
6778 | static PyObject *_wrap_wxStyledTextCtrl_WordStartPosition(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6779 | PyObject * _resultobj; | |
6780 | int _result; | |
6781 | wxStyledTextCtrl * _arg0; | |
6782 | int _arg1; | |
6783 | bool _arg2; | |
6784 | PyObject * _argo0 = 0; | |
6785 | int tempbool2; | |
6786 | char *_kwnames[] = { "self","pos","onlyWordCharacters", NULL }; | |
6787 | ||
6788 | self = self; | |
6789 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxStyledTextCtrl_WordStartPosition",_kwnames,&_argo0,&_arg1,&tempbool2)) | |
6790 | return NULL; | |
6791 | if (_argo0) { | |
6792 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6793 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
6794 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_WordStartPosition. Expected _wxStyledTextCtrl_p."); | |
6795 | return NULL; | |
6796 | } | |
6797 | } | |
6798 | _arg2 = (bool ) tempbool2; | |
6799 | { | |
6800 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6801 | _result = (int )wxStyledTextCtrl_WordStartPosition(_arg0,_arg1,_arg2); | |
6802 | ||
6803 | wxPyEndAllowThreads(__tstate); | |
6804 | if (PyErr_Occurred()) return NULL; | |
6805 | } _resultobj = Py_BuildValue("i",_result); | |
6806 | return _resultobj; | |
6807 | } | |
6808 | ||
6809 | #define wxStyledTextCtrl_WordEndPosition(_swigobj,_swigarg0,_swigarg1) (_swigobj->WordEndPosition(_swigarg0,_swigarg1)) | |
6810 | static PyObject *_wrap_wxStyledTextCtrl_WordEndPosition(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6811 | PyObject * _resultobj; | |
6812 | int _result; | |
6813 | wxStyledTextCtrl * _arg0; | |
6814 | int _arg1; | |
6815 | bool _arg2; | |
6816 | PyObject * _argo0 = 0; | |
6817 | int tempbool2; | |
6818 | char *_kwnames[] = { "self","pos","onlyWordCharacters", NULL }; | |
6819 | ||
6820 | self = self; | |
6821 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxStyledTextCtrl_WordEndPosition",_kwnames,&_argo0,&_arg1,&tempbool2)) | |
6822 | return NULL; | |
6823 | if (_argo0) { | |
6824 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6825 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
6826 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_WordEndPosition. Expected _wxStyledTextCtrl_p."); | |
6827 | return NULL; | |
6828 | } | |
6829 | } | |
6830 | _arg2 = (bool ) tempbool2; | |
6831 | { | |
6832 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6833 | _result = (int )wxStyledTextCtrl_WordEndPosition(_arg0,_arg1,_arg2); | |
6834 | ||
6835 | wxPyEndAllowThreads(__tstate); | |
6836 | if (PyErr_Occurred()) return NULL; | |
6837 | } _resultobj = Py_BuildValue("i",_result); | |
6838 | return _resultobj; | |
6839 | } | |
6840 | ||
6841 | #define wxStyledTextCtrl_SetWrapMode(_swigobj,_swigarg0) (_swigobj->SetWrapMode(_swigarg0)) | |
6842 | static PyObject *_wrap_wxStyledTextCtrl_SetWrapMode(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6843 | PyObject * _resultobj; | |
6844 | wxStyledTextCtrl * _arg0; | |
6845 | int _arg1; | |
6846 | PyObject * _argo0 = 0; | |
6847 | char *_kwnames[] = { "self","mode", NULL }; | |
6848 | ||
6849 | self = self; | |
6850 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_SetWrapMode",_kwnames,&_argo0,&_arg1)) | |
6851 | return NULL; | |
6852 | if (_argo0) { | |
6853 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6854 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
6855 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetWrapMode. Expected _wxStyledTextCtrl_p."); | |
6856 | return NULL; | |
6857 | } | |
6858 | } | |
6859 | { | |
6860 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6861 | wxStyledTextCtrl_SetWrapMode(_arg0,_arg1); | |
6862 | ||
6863 | wxPyEndAllowThreads(__tstate); | |
6864 | if (PyErr_Occurred()) return NULL; | |
6865 | } Py_INCREF(Py_None); | |
6866 | _resultobj = Py_None; | |
6867 | return _resultobj; | |
6868 | } | |
6869 | ||
6870 | #define wxStyledTextCtrl_GetWrapMode(_swigobj) (_swigobj->GetWrapMode()) | |
6871 | static PyObject *_wrap_wxStyledTextCtrl_GetWrapMode(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6872 | PyObject * _resultobj; | |
6873 | int _result; | |
6874 | wxStyledTextCtrl * _arg0; | |
6875 | PyObject * _argo0 = 0; | |
6876 | char *_kwnames[] = { "self", NULL }; | |
6877 | ||
6878 | self = self; | |
6879 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetWrapMode",_kwnames,&_argo0)) | |
6880 | return NULL; | |
6881 | if (_argo0) { | |
6882 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6883 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
6884 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetWrapMode. Expected _wxStyledTextCtrl_p."); | |
6885 | return NULL; | |
6886 | } | |
6887 | } | |
6888 | { | |
6889 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6890 | _result = (int )wxStyledTextCtrl_GetWrapMode(_arg0); | |
6891 | ||
6892 | wxPyEndAllowThreads(__tstate); | |
6893 | if (PyErr_Occurred()) return NULL; | |
6894 | } _resultobj = Py_BuildValue("i",_result); | |
6895 | return _resultobj; | |
6896 | } | |
6897 | ||
6898 | #define wxStyledTextCtrl_SetLayoutCache(_swigobj,_swigarg0) (_swigobj->SetLayoutCache(_swigarg0)) | |
6899 | static PyObject *_wrap_wxStyledTextCtrl_SetLayoutCache(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6900 | PyObject * _resultobj; | |
6901 | wxStyledTextCtrl * _arg0; | |
6902 | int _arg1; | |
6903 | PyObject * _argo0 = 0; | |
6904 | char *_kwnames[] = { "self","mode", NULL }; | |
6905 | ||
6906 | self = self; | |
6907 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_SetLayoutCache",_kwnames,&_argo0,&_arg1)) | |
6908 | return NULL; | |
6909 | if (_argo0) { | |
6910 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6911 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
6912 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetLayoutCache. Expected _wxStyledTextCtrl_p."); | |
6913 | return NULL; | |
6914 | } | |
6915 | } | |
6916 | { | |
6917 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6918 | wxStyledTextCtrl_SetLayoutCache(_arg0,_arg1); | |
6919 | ||
6920 | wxPyEndAllowThreads(__tstate); | |
6921 | if (PyErr_Occurred()) return NULL; | |
6922 | } Py_INCREF(Py_None); | |
6923 | _resultobj = Py_None; | |
6924 | return _resultobj; | |
6925 | } | |
6926 | ||
6927 | #define wxStyledTextCtrl_GetLayoutCache(_swigobj) (_swigobj->GetLayoutCache()) | |
6928 | static PyObject *_wrap_wxStyledTextCtrl_GetLayoutCache(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6929 | PyObject * _resultobj; | |
6930 | int _result; | |
6931 | wxStyledTextCtrl * _arg0; | |
6932 | PyObject * _argo0 = 0; | |
6933 | char *_kwnames[] = { "self", NULL }; | |
6934 | ||
6935 | self = self; | |
6936 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetLayoutCache",_kwnames,&_argo0)) | |
6937 | return NULL; | |
6938 | if (_argo0) { | |
6939 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6940 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
6941 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetLayoutCache. Expected _wxStyledTextCtrl_p."); | |
6942 | return NULL; | |
6943 | } | |
6944 | } | |
6945 | { | |
6946 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6947 | _result = (int )wxStyledTextCtrl_GetLayoutCache(_arg0); | |
6948 | ||
6949 | wxPyEndAllowThreads(__tstate); | |
6950 | if (PyErr_Occurred()) return NULL; | |
6951 | } _resultobj = Py_BuildValue("i",_result); | |
6952 | return _resultobj; | |
6953 | } | |
6954 | ||
8a2fa5c8 RD |
6955 | #define wxStyledTextCtrl_MoveCaretInsideView(_swigobj) (_swigobj->MoveCaretInsideView()) |
6956 | static PyObject *_wrap_wxStyledTextCtrl_MoveCaretInsideView(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6957 | PyObject * _resultobj; | |
6958 | wxStyledTextCtrl * _arg0; | |
6959 | PyObject * _argo0 = 0; | |
6960 | char *_kwnames[] = { "self", NULL }; | |
6961 | ||
6962 | self = self; | |
6963 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_MoveCaretInsideView",_kwnames,&_argo0)) | |
6964 | return NULL; | |
6965 | if (_argo0) { | |
6966 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6967 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
6968 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_MoveCaretInsideView. Expected _wxStyledTextCtrl_p."); | |
6969 | return NULL; | |
6970 | } | |
6971 | } | |
6972 | { | |
0e2ff151 | 6973 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 6974 | wxStyledTextCtrl_MoveCaretInsideView(_arg0); |
8a2fa5c8 | 6975 | |
0e2ff151 RD |
6976 | wxPyEndAllowThreads(__tstate); |
6977 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
6978 | } Py_INCREF(Py_None); |
6979 | _resultobj = Py_None; | |
6980 | return _resultobj; | |
6981 | } | |
6982 | ||
6983 | #define wxStyledTextCtrl_LineLength(_swigobj,_swigarg0) (_swigobj->LineLength(_swigarg0)) | |
6984 | static PyObject *_wrap_wxStyledTextCtrl_LineLength(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6985 | PyObject * _resultobj; | |
6986 | int _result; | |
6987 | wxStyledTextCtrl * _arg0; | |
6988 | int _arg1; | |
6989 | PyObject * _argo0 = 0; | |
6990 | char *_kwnames[] = { "self","line", NULL }; | |
6991 | ||
6992 | self = self; | |
6993 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_LineLength",_kwnames,&_argo0,&_arg1)) | |
6994 | return NULL; | |
6995 | if (_argo0) { | |
6996 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6997 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
6998 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_LineLength. Expected _wxStyledTextCtrl_p."); | |
6999 | return NULL; | |
7000 | } | |
7001 | } | |
7002 | { | |
0e2ff151 | 7003 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 7004 | _result = (int )wxStyledTextCtrl_LineLength(_arg0,_arg1); |
8a2fa5c8 | 7005 | |
0e2ff151 RD |
7006 | wxPyEndAllowThreads(__tstate); |
7007 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
7008 | } _resultobj = Py_BuildValue("i",_result); |
7009 | return _resultobj; | |
7010 | } | |
7011 | ||
7012 | #define wxStyledTextCtrl_BraceHighlight(_swigobj,_swigarg0,_swigarg1) (_swigobj->BraceHighlight(_swigarg0,_swigarg1)) | |
7013 | static PyObject *_wrap_wxStyledTextCtrl_BraceHighlight(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7014 | PyObject * _resultobj; | |
7015 | wxStyledTextCtrl * _arg0; | |
7016 | int _arg1; | |
7017 | int _arg2; | |
7018 | PyObject * _argo0 = 0; | |
7019 | char *_kwnames[] = { "self","pos1","pos2", NULL }; | |
7020 | ||
7021 | self = self; | |
7022 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxStyledTextCtrl_BraceHighlight",_kwnames,&_argo0,&_arg1,&_arg2)) | |
7023 | return NULL; | |
7024 | if (_argo0) { | |
7025 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7026 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
7027 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_BraceHighlight. Expected _wxStyledTextCtrl_p."); | |
7028 | return NULL; | |
7029 | } | |
7030 | } | |
7031 | { | |
0e2ff151 | 7032 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 7033 | wxStyledTextCtrl_BraceHighlight(_arg0,_arg1,_arg2); |
8a2fa5c8 | 7034 | |
0e2ff151 RD |
7035 | wxPyEndAllowThreads(__tstate); |
7036 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
7037 | } Py_INCREF(Py_None); |
7038 | _resultobj = Py_None; | |
7039 | return _resultobj; | |
7040 | } | |
7041 | ||
7042 | #define wxStyledTextCtrl_BraceBadLight(_swigobj,_swigarg0) (_swigobj->BraceBadLight(_swigarg0)) | |
7043 | static PyObject *_wrap_wxStyledTextCtrl_BraceBadLight(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7044 | PyObject * _resultobj; | |
7045 | wxStyledTextCtrl * _arg0; | |
7046 | int _arg1; | |
7047 | PyObject * _argo0 = 0; | |
7048 | char *_kwnames[] = { "self","pos", NULL }; | |
7049 | ||
7050 | self = self; | |
7051 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_BraceBadLight",_kwnames,&_argo0,&_arg1)) | |
7052 | return NULL; | |
7053 | if (_argo0) { | |
7054 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7055 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
7056 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_BraceBadLight. Expected _wxStyledTextCtrl_p."); | |
7057 | return NULL; | |
7058 | } | |
7059 | } | |
7060 | { | |
0e2ff151 | 7061 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 7062 | wxStyledTextCtrl_BraceBadLight(_arg0,_arg1); |
8a2fa5c8 | 7063 | |
0e2ff151 RD |
7064 | wxPyEndAllowThreads(__tstate); |
7065 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
7066 | } Py_INCREF(Py_None); |
7067 | _resultobj = Py_None; | |
7068 | return _resultobj; | |
7069 | } | |
7070 | ||
7071 | #define wxStyledTextCtrl_BraceMatch(_swigobj,_swigarg0) (_swigobj->BraceMatch(_swigarg0)) | |
7072 | static PyObject *_wrap_wxStyledTextCtrl_BraceMatch(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7073 | PyObject * _resultobj; | |
7074 | int _result; | |
7075 | wxStyledTextCtrl * _arg0; | |
7076 | int _arg1; | |
7077 | PyObject * _argo0 = 0; | |
7078 | char *_kwnames[] = { "self","pos", NULL }; | |
7079 | ||
7080 | self = self; | |
7081 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_BraceMatch",_kwnames,&_argo0,&_arg1)) | |
7082 | return NULL; | |
7083 | if (_argo0) { | |
7084 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7085 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
7086 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_BraceMatch. Expected _wxStyledTextCtrl_p."); | |
7087 | return NULL; | |
7088 | } | |
7089 | } | |
7090 | { | |
0e2ff151 | 7091 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 7092 | _result = (int )wxStyledTextCtrl_BraceMatch(_arg0,_arg1); |
8a2fa5c8 | 7093 | |
0e2ff151 RD |
7094 | wxPyEndAllowThreads(__tstate); |
7095 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
7096 | } _resultobj = Py_BuildValue("i",_result); |
7097 | return _resultobj; | |
7098 | } | |
7099 | ||
7100 | #define wxStyledTextCtrl_GetViewEOL(_swigobj) (_swigobj->GetViewEOL()) | |
7101 | static PyObject *_wrap_wxStyledTextCtrl_GetViewEOL(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7102 | PyObject * _resultobj; | |
7103 | bool _result; | |
7104 | wxStyledTextCtrl * _arg0; | |
7105 | PyObject * _argo0 = 0; | |
7106 | char *_kwnames[] = { "self", NULL }; | |
7107 | ||
7108 | self = self; | |
7109 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetViewEOL",_kwnames,&_argo0)) | |
7110 | return NULL; | |
7111 | if (_argo0) { | |
7112 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7113 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
7114 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetViewEOL. Expected _wxStyledTextCtrl_p."); | |
7115 | return NULL; | |
7116 | } | |
7117 | } | |
7118 | { | |
0e2ff151 | 7119 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 7120 | _result = (bool )wxStyledTextCtrl_GetViewEOL(_arg0); |
8a2fa5c8 | 7121 | |
0e2ff151 RD |
7122 | wxPyEndAllowThreads(__tstate); |
7123 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
7124 | } _resultobj = Py_BuildValue("i",_result); |
7125 | return _resultobj; | |
7126 | } | |
7127 | ||
7128 | #define wxStyledTextCtrl_SetViewEOL(_swigobj,_swigarg0) (_swigobj->SetViewEOL(_swigarg0)) | |
7129 | static PyObject *_wrap_wxStyledTextCtrl_SetViewEOL(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7130 | PyObject * _resultobj; | |
7131 | wxStyledTextCtrl * _arg0; | |
7132 | bool _arg1; | |
7133 | PyObject * _argo0 = 0; | |
7134 | int tempbool1; | |
7135 | char *_kwnames[] = { "self","visible", NULL }; | |
7136 | ||
7137 | self = self; | |
7138 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_SetViewEOL",_kwnames,&_argo0,&tempbool1)) | |
7139 | return NULL; | |
7140 | if (_argo0) { | |
7141 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7142 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
7143 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetViewEOL. Expected _wxStyledTextCtrl_p."); | |
7144 | return NULL; | |
7145 | } | |
7146 | } | |
7147 | _arg1 = (bool ) tempbool1; | |
7148 | { | |
0e2ff151 | 7149 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 7150 | wxStyledTextCtrl_SetViewEOL(_arg0,_arg1); |
8a2fa5c8 | 7151 | |
0e2ff151 RD |
7152 | wxPyEndAllowThreads(__tstate); |
7153 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
7154 | } Py_INCREF(Py_None); |
7155 | _resultobj = Py_None; | |
7156 | return _resultobj; | |
7157 | } | |
7158 | ||
7159 | #define wxStyledTextCtrl_GetDocPointer(_swigobj) (_swigobj->GetDocPointer()) | |
7160 | static PyObject *_wrap_wxStyledTextCtrl_GetDocPointer(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7161 | PyObject * _resultobj; | |
7162 | void * _result; | |
7163 | wxStyledTextCtrl * _arg0; | |
7164 | PyObject * _argo0 = 0; | |
7165 | char *_kwnames[] = { "self", NULL }; | |
7166 | char _ptemp[128]; | |
7167 | ||
7168 | self = self; | |
7169 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetDocPointer",_kwnames,&_argo0)) | |
7170 | return NULL; | |
7171 | if (_argo0) { | |
7172 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7173 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
7174 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetDocPointer. Expected _wxStyledTextCtrl_p."); | |
7175 | return NULL; | |
7176 | } | |
7177 | } | |
7178 | { | |
0e2ff151 | 7179 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 7180 | _result = (void *)wxStyledTextCtrl_GetDocPointer(_arg0); |
8a2fa5c8 | 7181 | |
0e2ff151 RD |
7182 | wxPyEndAllowThreads(__tstate); |
7183 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
7184 | } if (_result) { |
7185 | SWIG_MakePtr(_ptemp, (char *) _result,"_void_p"); | |
7186 | _resultobj = Py_BuildValue("s",_ptemp); | |
7187 | } else { | |
7188 | Py_INCREF(Py_None); | |
7189 | _resultobj = Py_None; | |
7190 | } | |
7191 | return _resultobj; | |
7192 | } | |
7193 | ||
7194 | #define wxStyledTextCtrl_SetDocPointer(_swigobj,_swigarg0) (_swigobj->SetDocPointer(_swigarg0)) | |
7195 | static PyObject *_wrap_wxStyledTextCtrl_SetDocPointer(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7196 | PyObject * _resultobj; | |
7197 | wxStyledTextCtrl * _arg0; | |
7198 | void * _arg1; | |
7199 | PyObject * _argo0 = 0; | |
7200 | PyObject * _argo1 = 0; | |
7201 | char *_kwnames[] = { "self","docPointer", NULL }; | |
7202 | ||
7203 | self = self; | |
7204 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxStyledTextCtrl_SetDocPointer",_kwnames,&_argo0,&_argo1)) | |
7205 | return NULL; | |
7206 | if (_argo0) { | |
7207 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7208 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
7209 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetDocPointer. Expected _wxStyledTextCtrl_p."); | |
7210 | return NULL; | |
7211 | } | |
7212 | } | |
7213 | if (_argo1) { | |
7214 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
7215 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,(char *) 0 )) { | |
7216 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxStyledTextCtrl_SetDocPointer. Expected _void_p."); | |
7217 | return NULL; | |
7218 | } | |
7219 | } | |
7220 | { | |
0e2ff151 | 7221 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 7222 | wxStyledTextCtrl_SetDocPointer(_arg0,_arg1); |
8a2fa5c8 | 7223 | |
0e2ff151 RD |
7224 | wxPyEndAllowThreads(__tstate); |
7225 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
7226 | } Py_INCREF(Py_None); |
7227 | _resultobj = Py_None; | |
7228 | return _resultobj; | |
7229 | } | |
7230 | ||
7231 | #define wxStyledTextCtrl_SetModEventMask(_swigobj,_swigarg0) (_swigobj->SetModEventMask(_swigarg0)) | |
7232 | static PyObject *_wrap_wxStyledTextCtrl_SetModEventMask(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7233 | PyObject * _resultobj; | |
7234 | wxStyledTextCtrl * _arg0; | |
7235 | int _arg1; | |
7236 | PyObject * _argo0 = 0; | |
7237 | char *_kwnames[] = { "self","mask", NULL }; | |
7238 | ||
7239 | self = self; | |
7240 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_SetModEventMask",_kwnames,&_argo0,&_arg1)) | |
7241 | return NULL; | |
7242 | if (_argo0) { | |
7243 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7244 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
7245 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetModEventMask. Expected _wxStyledTextCtrl_p."); | |
7246 | return NULL; | |
7247 | } | |
7248 | } | |
7249 | { | |
0e2ff151 | 7250 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 7251 | wxStyledTextCtrl_SetModEventMask(_arg0,_arg1); |
8a2fa5c8 | 7252 | |
0e2ff151 RD |
7253 | wxPyEndAllowThreads(__tstate); |
7254 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
7255 | } Py_INCREF(Py_None); |
7256 | _resultobj = Py_None; | |
7257 | return _resultobj; | |
7258 | } | |
7259 | ||
7260 | #define wxStyledTextCtrl_GetEdgeColumn(_swigobj) (_swigobj->GetEdgeColumn()) | |
7261 | static PyObject *_wrap_wxStyledTextCtrl_GetEdgeColumn(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7262 | PyObject * _resultobj; | |
7263 | int _result; | |
7264 | wxStyledTextCtrl * _arg0; | |
7265 | PyObject * _argo0 = 0; | |
7266 | char *_kwnames[] = { "self", NULL }; | |
7267 | ||
7268 | self = self; | |
7269 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetEdgeColumn",_kwnames,&_argo0)) | |
7270 | return NULL; | |
7271 | if (_argo0) { | |
7272 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7273 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
7274 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetEdgeColumn. Expected _wxStyledTextCtrl_p."); | |
7275 | return NULL; | |
7276 | } | |
7277 | } | |
7278 | { | |
0e2ff151 | 7279 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 7280 | _result = (int )wxStyledTextCtrl_GetEdgeColumn(_arg0); |
8a2fa5c8 | 7281 | |
0e2ff151 RD |
7282 | wxPyEndAllowThreads(__tstate); |
7283 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
7284 | } _resultobj = Py_BuildValue("i",_result); |
7285 | return _resultobj; | |
7286 | } | |
7287 | ||
7288 | #define wxStyledTextCtrl_SetEdgeColumn(_swigobj,_swigarg0) (_swigobj->SetEdgeColumn(_swigarg0)) | |
7289 | static PyObject *_wrap_wxStyledTextCtrl_SetEdgeColumn(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7290 | PyObject * _resultobj; | |
7291 | wxStyledTextCtrl * _arg0; | |
7292 | int _arg1; | |
7293 | PyObject * _argo0 = 0; | |
7294 | char *_kwnames[] = { "self","column", NULL }; | |
7295 | ||
7296 | self = self; | |
7297 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_SetEdgeColumn",_kwnames,&_argo0,&_arg1)) | |
7298 | return NULL; | |
7299 | if (_argo0) { | |
7300 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7301 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
7302 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetEdgeColumn. Expected _wxStyledTextCtrl_p."); | |
7303 | return NULL; | |
7304 | } | |
7305 | } | |
7306 | { | |
0e2ff151 | 7307 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 7308 | wxStyledTextCtrl_SetEdgeColumn(_arg0,_arg1); |
8a2fa5c8 | 7309 | |
0e2ff151 RD |
7310 | wxPyEndAllowThreads(__tstate); |
7311 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
7312 | } Py_INCREF(Py_None); |
7313 | _resultobj = Py_None; | |
7314 | return _resultobj; | |
7315 | } | |
7316 | ||
7317 | #define wxStyledTextCtrl_GetEdgeMode(_swigobj) (_swigobj->GetEdgeMode()) | |
7318 | static PyObject *_wrap_wxStyledTextCtrl_GetEdgeMode(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7319 | PyObject * _resultobj; | |
7320 | int _result; | |
7321 | wxStyledTextCtrl * _arg0; | |
7322 | PyObject * _argo0 = 0; | |
7323 | char *_kwnames[] = { "self", NULL }; | |
7324 | ||
7325 | self = self; | |
7326 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetEdgeMode",_kwnames,&_argo0)) | |
7327 | return NULL; | |
7328 | if (_argo0) { | |
7329 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7330 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
7331 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetEdgeMode. Expected _wxStyledTextCtrl_p."); | |
7332 | return NULL; | |
7333 | } | |
7334 | } | |
7335 | { | |
0e2ff151 | 7336 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 7337 | _result = (int )wxStyledTextCtrl_GetEdgeMode(_arg0); |
8a2fa5c8 | 7338 | |
0e2ff151 RD |
7339 | wxPyEndAllowThreads(__tstate); |
7340 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
7341 | } _resultobj = Py_BuildValue("i",_result); |
7342 | return _resultobj; | |
7343 | } | |
7344 | ||
7345 | #define wxStyledTextCtrl_SetEdgeMode(_swigobj,_swigarg0) (_swigobj->SetEdgeMode(_swigarg0)) | |
7346 | static PyObject *_wrap_wxStyledTextCtrl_SetEdgeMode(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7347 | PyObject * _resultobj; | |
7348 | wxStyledTextCtrl * _arg0; | |
7349 | int _arg1; | |
7350 | PyObject * _argo0 = 0; | |
7351 | char *_kwnames[] = { "self","mode", NULL }; | |
7352 | ||
7353 | self = self; | |
7354 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_SetEdgeMode",_kwnames,&_argo0,&_arg1)) | |
7355 | return NULL; | |
7356 | if (_argo0) { | |
7357 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7358 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
7359 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetEdgeMode. Expected _wxStyledTextCtrl_p."); | |
7360 | return NULL; | |
7361 | } | |
7362 | } | |
7363 | { | |
0e2ff151 | 7364 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 7365 | wxStyledTextCtrl_SetEdgeMode(_arg0,_arg1); |
8a2fa5c8 | 7366 | |
0e2ff151 RD |
7367 | wxPyEndAllowThreads(__tstate); |
7368 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
7369 | } Py_INCREF(Py_None); |
7370 | _resultobj = Py_None; | |
7371 | return _resultobj; | |
7372 | } | |
7373 | ||
7374 | #define wxStyledTextCtrl_GetEdgeColour(_swigobj) (_swigobj->GetEdgeColour()) | |
7375 | static PyObject *_wrap_wxStyledTextCtrl_GetEdgeColour(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7376 | PyObject * _resultobj; | |
7377 | wxColour * _result; | |
7378 | wxStyledTextCtrl * _arg0; | |
7379 | PyObject * _argo0 = 0; | |
7380 | char *_kwnames[] = { "self", NULL }; | |
7381 | char _ptemp[128]; | |
7382 | ||
7383 | self = self; | |
7384 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetEdgeColour",_kwnames,&_argo0)) | |
7385 | return NULL; | |
7386 | if (_argo0) { | |
7387 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7388 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
7389 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetEdgeColour. Expected _wxStyledTextCtrl_p."); | |
7390 | return NULL; | |
7391 | } | |
7392 | } | |
7393 | { | |
0e2ff151 | 7394 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 7395 | _result = new wxColour (wxStyledTextCtrl_GetEdgeColour(_arg0)); |
8a2fa5c8 | 7396 | |
0e2ff151 RD |
7397 | wxPyEndAllowThreads(__tstate); |
7398 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
7399 | } SWIG_MakePtr(_ptemp, (void *) _result,"_wxColour_p"); |
7400 | _resultobj = Py_BuildValue("s",_ptemp); | |
7401 | return _resultobj; | |
7402 | } | |
7403 | ||
7404 | #define wxStyledTextCtrl_SetEdgeColour(_swigobj,_swigarg0) (_swigobj->SetEdgeColour(_swigarg0)) | |
7405 | static PyObject *_wrap_wxStyledTextCtrl_SetEdgeColour(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7406 | PyObject * _resultobj; | |
7407 | wxStyledTextCtrl * _arg0; | |
7408 | wxColour * _arg1; | |
7409 | PyObject * _argo0 = 0; | |
7410 | wxColour temp; | |
7411 | PyObject * _obj1 = 0; | |
7412 | char *_kwnames[] = { "self","edgeColour", NULL }; | |
7413 | ||
7414 | self = self; | |
7415 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxStyledTextCtrl_SetEdgeColour",_kwnames,&_argo0,&_obj1)) | |
7416 | return NULL; | |
7417 | if (_argo0) { | |
7418 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7419 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
7420 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetEdgeColour. Expected _wxStyledTextCtrl_p."); | |
7421 | return NULL; | |
7422 | } | |
7423 | } | |
7424 | { | |
7425 | _arg1 = &temp; | |
7426 | if (! wxColour_helper(_obj1, &_arg1)) | |
7427 | return NULL; | |
7428 | } | |
7429 | { | |
0e2ff151 | 7430 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 7431 | wxStyledTextCtrl_SetEdgeColour(_arg0,*_arg1); |
8a2fa5c8 | 7432 | |
0e2ff151 RD |
7433 | wxPyEndAllowThreads(__tstate); |
7434 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
7435 | } Py_INCREF(Py_None); |
7436 | _resultobj = Py_None; | |
7437 | return _resultobj; | |
7438 | } | |
7439 | ||
7440 | #define wxStyledTextCtrl_SearchAnchor(_swigobj) (_swigobj->SearchAnchor()) | |
7441 | static PyObject *_wrap_wxStyledTextCtrl_SearchAnchor(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7442 | PyObject * _resultobj; | |
7443 | wxStyledTextCtrl * _arg0; | |
7444 | PyObject * _argo0 = 0; | |
7445 | char *_kwnames[] = { "self", NULL }; | |
7446 | ||
7447 | self = self; | |
7448 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_SearchAnchor",_kwnames,&_argo0)) | |
7449 | return NULL; | |
7450 | if (_argo0) { | |
7451 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7452 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
7453 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SearchAnchor. Expected _wxStyledTextCtrl_p."); | |
7454 | return NULL; | |
7455 | } | |
7456 | } | |
7457 | { | |
0e2ff151 | 7458 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 7459 | wxStyledTextCtrl_SearchAnchor(_arg0); |
8a2fa5c8 | 7460 | |
0e2ff151 RD |
7461 | wxPyEndAllowThreads(__tstate); |
7462 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
7463 | } Py_INCREF(Py_None); |
7464 | _resultobj = Py_None; | |
7465 | return _resultobj; | |
7466 | } | |
7467 | ||
7468 | #define wxStyledTextCtrl_SearchNext(_swigobj,_swigarg0,_swigarg1) (_swigobj->SearchNext(_swigarg0,_swigarg1)) | |
7469 | static PyObject *_wrap_wxStyledTextCtrl_SearchNext(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7470 | PyObject * _resultobj; | |
7471 | int _result; | |
7472 | wxStyledTextCtrl * _arg0; | |
7473 | int _arg1; | |
7474 | wxString * _arg2; | |
7475 | PyObject * _argo0 = 0; | |
7476 | PyObject * _obj2 = 0; | |
7477 | char *_kwnames[] = { "self","flags","text", NULL }; | |
7478 | ||
7479 | self = self; | |
7480 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxStyledTextCtrl_SearchNext",_kwnames,&_argo0,&_arg1,&_obj2)) | |
7481 | return NULL; | |
7482 | if (_argo0) { | |
7483 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7484 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
7485 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SearchNext. Expected _wxStyledTextCtrl_p."); | |
7486 | return NULL; | |
7487 | } | |
7488 | } | |
7489 | { | |
6824d4f9 RD |
7490 | _arg2 = wxString_in_helper(_obj2); |
7491 | if (_arg2 == NULL) | |
8a2fa5c8 | 7492 | return NULL; |
8a2fa5c8 RD |
7493 | } |
7494 | { | |
0e2ff151 | 7495 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 7496 | _result = (int )wxStyledTextCtrl_SearchNext(_arg0,_arg1,*_arg2); |
8a2fa5c8 | 7497 | |
0e2ff151 RD |
7498 | wxPyEndAllowThreads(__tstate); |
7499 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
7500 | } _resultobj = Py_BuildValue("i",_result); |
7501 | { | |
7502 | if (_obj2) | |
7503 | delete _arg2; | |
7504 | } | |
7505 | return _resultobj; | |
7506 | } | |
7507 | ||
7508 | #define wxStyledTextCtrl_SearchPrev(_swigobj,_swigarg0,_swigarg1) (_swigobj->SearchPrev(_swigarg0,_swigarg1)) | |
7509 | static PyObject *_wrap_wxStyledTextCtrl_SearchPrev(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7510 | PyObject * _resultobj; | |
7511 | int _result; | |
7512 | wxStyledTextCtrl * _arg0; | |
7513 | int _arg1; | |
7514 | wxString * _arg2; | |
7515 | PyObject * _argo0 = 0; | |
7516 | PyObject * _obj2 = 0; | |
7517 | char *_kwnames[] = { "self","flags","text", NULL }; | |
7518 | ||
7519 | self = self; | |
7520 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxStyledTextCtrl_SearchPrev",_kwnames,&_argo0,&_arg1,&_obj2)) | |
7521 | return NULL; | |
7522 | if (_argo0) { | |
7523 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7524 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
7525 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SearchPrev. Expected _wxStyledTextCtrl_p."); | |
7526 | return NULL; | |
7527 | } | |
7528 | } | |
7529 | { | |
6824d4f9 RD |
7530 | _arg2 = wxString_in_helper(_obj2); |
7531 | if (_arg2 == NULL) | |
8a2fa5c8 | 7532 | return NULL; |
8a2fa5c8 RD |
7533 | } |
7534 | { | |
0e2ff151 | 7535 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 7536 | _result = (int )wxStyledTextCtrl_SearchPrev(_arg0,_arg1,*_arg2); |
8a2fa5c8 | 7537 | |
0e2ff151 RD |
7538 | wxPyEndAllowThreads(__tstate); |
7539 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
7540 | } _resultobj = Py_BuildValue("i",_result); |
7541 | { | |
7542 | if (_obj2) | |
7543 | delete _arg2; | |
7544 | } | |
7545 | return _resultobj; | |
7546 | } | |
7547 | ||
7548 | #define wxStyledTextCtrl_SetCaretPolicy(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetCaretPolicy(_swigarg0,_swigarg1)) | |
7549 | static PyObject *_wrap_wxStyledTextCtrl_SetCaretPolicy(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7550 | PyObject * _resultobj; | |
7551 | wxStyledTextCtrl * _arg0; | |
7552 | int _arg1; | |
7553 | int _arg2; | |
7554 | PyObject * _argo0 = 0; | |
7555 | char *_kwnames[] = { "self","caretPolicy","caretSlop", NULL }; | |
7556 | ||
7557 | self = self; | |
7558 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxStyledTextCtrl_SetCaretPolicy",_kwnames,&_argo0,&_arg1,&_arg2)) | |
7559 | return NULL; | |
7560 | if (_argo0) { | |
7561 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7562 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
7563 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetCaretPolicy. Expected _wxStyledTextCtrl_p."); | |
7564 | return NULL; | |
7565 | } | |
7566 | } | |
7567 | { | |
0e2ff151 | 7568 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 7569 | wxStyledTextCtrl_SetCaretPolicy(_arg0,_arg1,_arg2); |
8a2fa5c8 | 7570 | |
0e2ff151 RD |
7571 | wxPyEndAllowThreads(__tstate); |
7572 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
7573 | } Py_INCREF(Py_None); |
7574 | _resultobj = Py_None; | |
7575 | return _resultobj; | |
7576 | } | |
7577 | ||
7578 | #define wxStyledTextCtrl_LinesOnScreen(_swigobj) (_swigobj->LinesOnScreen()) | |
7579 | static PyObject *_wrap_wxStyledTextCtrl_LinesOnScreen(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7580 | PyObject * _resultobj; | |
7581 | int _result; | |
7582 | wxStyledTextCtrl * _arg0; | |
7583 | PyObject * _argo0 = 0; | |
7584 | char *_kwnames[] = { "self", NULL }; | |
7585 | ||
7586 | self = self; | |
7587 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_LinesOnScreen",_kwnames,&_argo0)) | |
7588 | return NULL; | |
7589 | if (_argo0) { | |
7590 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7591 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
7592 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_LinesOnScreen. Expected _wxStyledTextCtrl_p."); | |
7593 | return NULL; | |
7594 | } | |
7595 | } | |
7596 | { | |
0e2ff151 | 7597 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 7598 | _result = (int )wxStyledTextCtrl_LinesOnScreen(_arg0); |
8a2fa5c8 | 7599 | |
0e2ff151 RD |
7600 | wxPyEndAllowThreads(__tstate); |
7601 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
7602 | } _resultobj = Py_BuildValue("i",_result); |
7603 | return _resultobj; | |
7604 | } | |
7605 | ||
7606 | #define wxStyledTextCtrl_UsePopUp(_swigobj,_swigarg0) (_swigobj->UsePopUp(_swigarg0)) | |
7607 | static PyObject *_wrap_wxStyledTextCtrl_UsePopUp(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7608 | PyObject * _resultobj; | |
7609 | wxStyledTextCtrl * _arg0; | |
7610 | bool _arg1; | |
7611 | PyObject * _argo0 = 0; | |
7612 | int tempbool1; | |
7613 | char *_kwnames[] = { "self","allowPopUp", NULL }; | |
7614 | ||
7615 | self = self; | |
7616 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_UsePopUp",_kwnames,&_argo0,&tempbool1)) | |
7617 | return NULL; | |
7618 | if (_argo0) { | |
7619 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7620 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
7621 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_UsePopUp. Expected _wxStyledTextCtrl_p."); | |
7622 | return NULL; | |
7623 | } | |
7624 | } | |
7625 | _arg1 = (bool ) tempbool1; | |
7626 | { | |
0e2ff151 | 7627 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 7628 | wxStyledTextCtrl_UsePopUp(_arg0,_arg1); |
8a2fa5c8 | 7629 | |
0e2ff151 RD |
7630 | wxPyEndAllowThreads(__tstate); |
7631 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
7632 | } Py_INCREF(Py_None); |
7633 | _resultobj = Py_None; | |
7634 | return _resultobj; | |
7635 | } | |
7636 | ||
7637 | #define wxStyledTextCtrl_SelectionIsRectangle(_swigobj) (_swigobj->SelectionIsRectangle()) | |
7638 | static PyObject *_wrap_wxStyledTextCtrl_SelectionIsRectangle(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7639 | PyObject * _resultobj; | |
7640 | bool _result; | |
7641 | wxStyledTextCtrl * _arg0; | |
7642 | PyObject * _argo0 = 0; | |
7643 | char *_kwnames[] = { "self", NULL }; | |
7644 | ||
7645 | self = self; | |
7646 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_SelectionIsRectangle",_kwnames,&_argo0)) | |
7647 | return NULL; | |
7648 | if (_argo0) { | |
7649 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7650 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
7651 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SelectionIsRectangle. Expected _wxStyledTextCtrl_p."); | |
7652 | return NULL; | |
7653 | } | |
7654 | } | |
7655 | { | |
0e2ff151 | 7656 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 7657 | _result = (bool )wxStyledTextCtrl_SelectionIsRectangle(_arg0); |
8a2fa5c8 | 7658 | |
0e2ff151 RD |
7659 | wxPyEndAllowThreads(__tstate); |
7660 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
7661 | } _resultobj = Py_BuildValue("i",_result); |
7662 | return _resultobj; | |
7663 | } | |
7664 | ||
7665 | #define wxStyledTextCtrl_SetZoom(_swigobj,_swigarg0) (_swigobj->SetZoom(_swigarg0)) | |
7666 | static PyObject *_wrap_wxStyledTextCtrl_SetZoom(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7667 | PyObject * _resultobj; | |
7668 | wxStyledTextCtrl * _arg0; | |
7669 | int _arg1; | |
7670 | PyObject * _argo0 = 0; | |
7671 | char *_kwnames[] = { "self","zoom", NULL }; | |
7672 | ||
7673 | self = self; | |
7674 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_SetZoom",_kwnames,&_argo0,&_arg1)) | |
7675 | return NULL; | |
7676 | if (_argo0) { | |
7677 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7678 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
7679 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetZoom. Expected _wxStyledTextCtrl_p."); | |
7680 | return NULL; | |
7681 | } | |
7682 | } | |
7683 | { | |
0e2ff151 | 7684 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 7685 | wxStyledTextCtrl_SetZoom(_arg0,_arg1); |
8a2fa5c8 | 7686 | |
0e2ff151 RD |
7687 | wxPyEndAllowThreads(__tstate); |
7688 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
7689 | } Py_INCREF(Py_None); |
7690 | _resultobj = Py_None; | |
7691 | return _resultobj; | |
7692 | } | |
7693 | ||
7694 | #define wxStyledTextCtrl_GetZoom(_swigobj) (_swigobj->GetZoom()) | |
7695 | static PyObject *_wrap_wxStyledTextCtrl_GetZoom(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7696 | PyObject * _resultobj; | |
7697 | int _result; | |
7698 | wxStyledTextCtrl * _arg0; | |
7699 | PyObject * _argo0 = 0; | |
7700 | char *_kwnames[] = { "self", NULL }; | |
7701 | ||
7702 | self = self; | |
7703 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetZoom",_kwnames,&_argo0)) | |
7704 | return NULL; | |
7705 | if (_argo0) { | |
7706 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7707 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
7708 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetZoom. Expected _wxStyledTextCtrl_p."); | |
7709 | return NULL; | |
7710 | } | |
7711 | } | |
7712 | { | |
0e2ff151 | 7713 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 7714 | _result = (int )wxStyledTextCtrl_GetZoom(_arg0); |
8a2fa5c8 | 7715 | |
0e2ff151 RD |
7716 | wxPyEndAllowThreads(__tstate); |
7717 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
7718 | } _resultobj = Py_BuildValue("i",_result); |
7719 | return _resultobj; | |
7720 | } | |
7721 | ||
7722 | #define wxStyledTextCtrl_CreateDocument(_swigobj) (_swigobj->CreateDocument()) | |
7723 | static PyObject *_wrap_wxStyledTextCtrl_CreateDocument(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7724 | PyObject * _resultobj; | |
7725 | void * _result; | |
7726 | wxStyledTextCtrl * _arg0; | |
7727 | PyObject * _argo0 = 0; | |
7728 | char *_kwnames[] = { "self", NULL }; | |
7729 | char _ptemp[128]; | |
7730 | ||
7731 | self = self; | |
7732 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_CreateDocument",_kwnames,&_argo0)) | |
7733 | return NULL; | |
7734 | if (_argo0) { | |
7735 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7736 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
7737 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_CreateDocument. Expected _wxStyledTextCtrl_p."); | |
7738 | return NULL; | |
7739 | } | |
7740 | } | |
7741 | { | |
0e2ff151 | 7742 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 7743 | _result = (void *)wxStyledTextCtrl_CreateDocument(_arg0); |
8a2fa5c8 | 7744 | |
0e2ff151 RD |
7745 | wxPyEndAllowThreads(__tstate); |
7746 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
7747 | } if (_result) { |
7748 | SWIG_MakePtr(_ptemp, (char *) _result,"_void_p"); | |
7749 | _resultobj = Py_BuildValue("s",_ptemp); | |
7750 | } else { | |
7751 | Py_INCREF(Py_None); | |
7752 | _resultobj = Py_None; | |
7753 | } | |
7754 | return _resultobj; | |
7755 | } | |
7756 | ||
7757 | #define wxStyledTextCtrl_AddRefDocument(_swigobj,_swigarg0) (_swigobj->AddRefDocument(_swigarg0)) | |
7758 | static PyObject *_wrap_wxStyledTextCtrl_AddRefDocument(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7759 | PyObject * _resultobj; | |
7760 | wxStyledTextCtrl * _arg0; | |
7761 | void * _arg1; | |
7762 | PyObject * _argo0 = 0; | |
7763 | PyObject * _argo1 = 0; | |
7764 | char *_kwnames[] = { "self","docPointer", NULL }; | |
7765 | ||
7766 | self = self; | |
7767 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxStyledTextCtrl_AddRefDocument",_kwnames,&_argo0,&_argo1)) | |
7768 | return NULL; | |
7769 | if (_argo0) { | |
7770 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7771 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
7772 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_AddRefDocument. Expected _wxStyledTextCtrl_p."); | |
7773 | return NULL; | |
7774 | } | |
7775 | } | |
7776 | if (_argo1) { | |
7777 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
7778 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,(char *) 0 )) { | |
7779 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxStyledTextCtrl_AddRefDocument. Expected _void_p."); | |
7780 | return NULL; | |
7781 | } | |
7782 | } | |
7783 | { | |
0e2ff151 | 7784 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 7785 | wxStyledTextCtrl_AddRefDocument(_arg0,_arg1); |
8a2fa5c8 | 7786 | |
0e2ff151 RD |
7787 | wxPyEndAllowThreads(__tstate); |
7788 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
7789 | } Py_INCREF(Py_None); |
7790 | _resultobj = Py_None; | |
7791 | return _resultobj; | |
7792 | } | |
7793 | ||
7794 | #define wxStyledTextCtrl_ReleaseDocument(_swigobj,_swigarg0) (_swigobj->ReleaseDocument(_swigarg0)) | |
7795 | static PyObject *_wrap_wxStyledTextCtrl_ReleaseDocument(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7796 | PyObject * _resultobj; | |
7797 | wxStyledTextCtrl * _arg0; | |
7798 | void * _arg1; | |
7799 | PyObject * _argo0 = 0; | |
7800 | PyObject * _argo1 = 0; | |
7801 | char *_kwnames[] = { "self","docPointer", NULL }; | |
7802 | ||
7803 | self = self; | |
7804 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxStyledTextCtrl_ReleaseDocument",_kwnames,&_argo0,&_argo1)) | |
7805 | return NULL; | |
7806 | if (_argo0) { | |
7807 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7808 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
7809 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_ReleaseDocument. Expected _wxStyledTextCtrl_p."); | |
7810 | return NULL; | |
7811 | } | |
7812 | } | |
7813 | if (_argo1) { | |
7814 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
7815 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,(char *) 0 )) { | |
7816 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxStyledTextCtrl_ReleaseDocument. Expected _void_p."); | |
7817 | return NULL; | |
7818 | } | |
7819 | } | |
7820 | { | |
0e2ff151 | 7821 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 7822 | wxStyledTextCtrl_ReleaseDocument(_arg0,_arg1); |
8a2fa5c8 | 7823 | |
0e2ff151 RD |
7824 | wxPyEndAllowThreads(__tstate); |
7825 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
7826 | } Py_INCREF(Py_None); |
7827 | _resultobj = Py_None; | |
7828 | return _resultobj; | |
7829 | } | |
7830 | ||
7831 | #define wxStyledTextCtrl_GetModEventMask(_swigobj) (_swigobj->GetModEventMask()) | |
7832 | static PyObject *_wrap_wxStyledTextCtrl_GetModEventMask(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7833 | PyObject * _resultobj; | |
7834 | int _result; | |
7835 | wxStyledTextCtrl * _arg0; | |
7836 | PyObject * _argo0 = 0; | |
7837 | char *_kwnames[] = { "self", NULL }; | |
7838 | ||
7839 | self = self; | |
7840 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetModEventMask",_kwnames,&_argo0)) | |
7841 | return NULL; | |
7842 | if (_argo0) { | |
7843 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7844 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
7845 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetModEventMask. Expected _wxStyledTextCtrl_p."); | |
7846 | return NULL; | |
7847 | } | |
7848 | } | |
7849 | { | |
0e2ff151 | 7850 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 7851 | _result = (int )wxStyledTextCtrl_GetModEventMask(_arg0); |
8a2fa5c8 | 7852 | |
0e2ff151 RD |
7853 | wxPyEndAllowThreads(__tstate); |
7854 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
7855 | } _resultobj = Py_BuildValue("i",_result); |
7856 | return _resultobj; | |
7857 | } | |
7858 | ||
7859 | #define wxStyledTextCtrl_SetSTCFocus(_swigobj,_swigarg0) (_swigobj->SetSTCFocus(_swigarg0)) | |
7860 | static PyObject *_wrap_wxStyledTextCtrl_SetSTCFocus(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7861 | PyObject * _resultobj; | |
7862 | wxStyledTextCtrl * _arg0; | |
7863 | bool _arg1; | |
7864 | PyObject * _argo0 = 0; | |
7865 | int tempbool1; | |
7866 | char *_kwnames[] = { "self","focus", NULL }; | |
7867 | ||
7868 | self = self; | |
7869 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_SetSTCFocus",_kwnames,&_argo0,&tempbool1)) | |
7870 | return NULL; | |
7871 | if (_argo0) { | |
7872 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7873 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
7874 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetSTCFocus. Expected _wxStyledTextCtrl_p."); | |
7875 | return NULL; | |
7876 | } | |
7877 | } | |
7878 | _arg1 = (bool ) tempbool1; | |
7879 | { | |
0e2ff151 | 7880 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 7881 | wxStyledTextCtrl_SetSTCFocus(_arg0,_arg1); |
8a2fa5c8 | 7882 | |
0e2ff151 RD |
7883 | wxPyEndAllowThreads(__tstate); |
7884 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
7885 | } Py_INCREF(Py_None); |
7886 | _resultobj = Py_None; | |
7887 | return _resultobj; | |
7888 | } | |
7889 | ||
7890 | #define wxStyledTextCtrl_GetSTCFocus(_swigobj) (_swigobj->GetSTCFocus()) | |
7891 | static PyObject *_wrap_wxStyledTextCtrl_GetSTCFocus(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7892 | PyObject * _resultobj; | |
7893 | bool _result; | |
7894 | wxStyledTextCtrl * _arg0; | |
7895 | PyObject * _argo0 = 0; | |
7896 | char *_kwnames[] = { "self", NULL }; | |
7897 | ||
7898 | self = self; | |
7899 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetSTCFocus",_kwnames,&_argo0)) | |
7900 | return NULL; | |
7901 | if (_argo0) { | |
7902 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7903 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
7904 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetSTCFocus. Expected _wxStyledTextCtrl_p."); | |
7905 | return NULL; | |
7906 | } | |
7907 | } | |
7908 | { | |
0e2ff151 | 7909 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 7910 | _result = (bool )wxStyledTextCtrl_GetSTCFocus(_arg0); |
8a2fa5c8 | 7911 | |
0e2ff151 RD |
7912 | wxPyEndAllowThreads(__tstate); |
7913 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
7914 | } _resultobj = Py_BuildValue("i",_result); |
7915 | return _resultobj; | |
7916 | } | |
7917 | ||
7918 | #define wxStyledTextCtrl_SetStatus(_swigobj,_swigarg0) (_swigobj->SetStatus(_swigarg0)) | |
7919 | static PyObject *_wrap_wxStyledTextCtrl_SetStatus(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7920 | PyObject * _resultobj; | |
7921 | wxStyledTextCtrl * _arg0; | |
7922 | int _arg1; | |
7923 | PyObject * _argo0 = 0; | |
7924 | char *_kwnames[] = { "self","statusCode", NULL }; | |
7925 | ||
7926 | self = self; | |
7927 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_SetStatus",_kwnames,&_argo0,&_arg1)) | |
7928 | return NULL; | |
7929 | if (_argo0) { | |
7930 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7931 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
7932 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetStatus. Expected _wxStyledTextCtrl_p."); | |
7933 | return NULL; | |
7934 | } | |
7935 | } | |
7936 | { | |
0e2ff151 | 7937 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 7938 | wxStyledTextCtrl_SetStatus(_arg0,_arg1); |
8a2fa5c8 | 7939 | |
0e2ff151 RD |
7940 | wxPyEndAllowThreads(__tstate); |
7941 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
7942 | } Py_INCREF(Py_None); |
7943 | _resultobj = Py_None; | |
7944 | return _resultobj; | |
7945 | } | |
7946 | ||
7947 | #define wxStyledTextCtrl_GetStatus(_swigobj) (_swigobj->GetStatus()) | |
7948 | static PyObject *_wrap_wxStyledTextCtrl_GetStatus(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7949 | PyObject * _resultobj; | |
7950 | int _result; | |
7951 | wxStyledTextCtrl * _arg0; | |
7952 | PyObject * _argo0 = 0; | |
7953 | char *_kwnames[] = { "self", NULL }; | |
7954 | ||
7955 | self = self; | |
7956 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetStatus",_kwnames,&_argo0)) | |
7957 | return NULL; | |
7958 | if (_argo0) { | |
7959 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7960 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
7961 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetStatus. Expected _wxStyledTextCtrl_p."); | |
7962 | return NULL; | |
7963 | } | |
7964 | } | |
7965 | { | |
0e2ff151 | 7966 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 7967 | _result = (int )wxStyledTextCtrl_GetStatus(_arg0); |
8a2fa5c8 | 7968 | |
0e2ff151 RD |
7969 | wxPyEndAllowThreads(__tstate); |
7970 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
7971 | } _resultobj = Py_BuildValue("i",_result); |
7972 | return _resultobj; | |
7973 | } | |
7974 | ||
7975 | #define wxStyledTextCtrl_SetMouseDownCaptures(_swigobj,_swigarg0) (_swigobj->SetMouseDownCaptures(_swigarg0)) | |
7976 | static PyObject *_wrap_wxStyledTextCtrl_SetMouseDownCaptures(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7977 | PyObject * _resultobj; | |
7978 | wxStyledTextCtrl * _arg0; | |
7979 | bool _arg1; | |
7980 | PyObject * _argo0 = 0; | |
7981 | int tempbool1; | |
7982 | char *_kwnames[] = { "self","captures", NULL }; | |
7983 | ||
7984 | self = self; | |
7985 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_SetMouseDownCaptures",_kwnames,&_argo0,&tempbool1)) | |
7986 | return NULL; | |
7987 | if (_argo0) { | |
7988 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7989 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
7990 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetMouseDownCaptures. Expected _wxStyledTextCtrl_p."); | |
7991 | return NULL; | |
7992 | } | |
7993 | } | |
7994 | _arg1 = (bool ) tempbool1; | |
7995 | { | |
0e2ff151 | 7996 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 7997 | wxStyledTextCtrl_SetMouseDownCaptures(_arg0,_arg1); |
8a2fa5c8 | 7998 | |
0e2ff151 RD |
7999 | wxPyEndAllowThreads(__tstate); |
8000 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
8001 | } Py_INCREF(Py_None); |
8002 | _resultobj = Py_None; | |
8003 | return _resultobj; | |
8004 | } | |
8005 | ||
8006 | #define wxStyledTextCtrl_GetMouseDownCaptures(_swigobj) (_swigobj->GetMouseDownCaptures()) | |
8007 | static PyObject *_wrap_wxStyledTextCtrl_GetMouseDownCaptures(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8008 | PyObject * _resultobj; | |
8009 | bool _result; | |
8010 | wxStyledTextCtrl * _arg0; | |
8011 | PyObject * _argo0 = 0; | |
8012 | char *_kwnames[] = { "self", NULL }; | |
8013 | ||
8014 | self = self; | |
8015 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetMouseDownCaptures",_kwnames,&_argo0)) | |
8016 | return NULL; | |
8017 | if (_argo0) { | |
8018 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
8019 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
8020 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetMouseDownCaptures. Expected _wxStyledTextCtrl_p."); | |
8021 | return NULL; | |
8022 | } | |
8023 | } | |
8024 | { | |
0e2ff151 | 8025 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 8026 | _result = (bool )wxStyledTextCtrl_GetMouseDownCaptures(_arg0); |
8a2fa5c8 | 8027 | |
0e2ff151 RD |
8028 | wxPyEndAllowThreads(__tstate); |
8029 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
8030 | } _resultobj = Py_BuildValue("i",_result); |
8031 | return _resultobj; | |
8032 | } | |
8033 | ||
8034 | #define wxStyledTextCtrl_SetCursor(_swigobj,_swigarg0) (_swigobj->SetCursor(_swigarg0)) | |
8035 | static PyObject *_wrap_wxStyledTextCtrl_SetCursor(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8036 | PyObject * _resultobj; | |
8037 | wxStyledTextCtrl * _arg0; | |
8038 | int _arg1; | |
8039 | PyObject * _argo0 = 0; | |
8040 | char *_kwnames[] = { "self","cursorType", NULL }; | |
8041 | ||
8042 | self = self; | |
8043 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_SetCursor",_kwnames,&_argo0,&_arg1)) | |
8044 | return NULL; | |
8045 | if (_argo0) { | |
8046 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
8047 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
8048 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetCursor. Expected _wxStyledTextCtrl_p."); | |
8049 | return NULL; | |
8050 | } | |
8051 | } | |
8052 | { | |
0e2ff151 | 8053 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 8054 | wxStyledTextCtrl_SetCursor(_arg0,_arg1); |
8a2fa5c8 | 8055 | |
0e2ff151 RD |
8056 | wxPyEndAllowThreads(__tstate); |
8057 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
8058 | } Py_INCREF(Py_None); |
8059 | _resultobj = Py_None; | |
8060 | return _resultobj; | |
8061 | } | |
8062 | ||
8063 | #define wxStyledTextCtrl_GetCursor(_swigobj) (_swigobj->GetCursor()) | |
8064 | static PyObject *_wrap_wxStyledTextCtrl_GetCursor(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8065 | PyObject * _resultobj; | |
8066 | int _result; | |
8067 | wxStyledTextCtrl * _arg0; | |
8068 | PyObject * _argo0 = 0; | |
8069 | char *_kwnames[] = { "self", NULL }; | |
8070 | ||
8071 | self = self; | |
8072 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetCursor",_kwnames,&_argo0)) | |
8073 | return NULL; | |
8074 | if (_argo0) { | |
8075 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
8076 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
8077 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetCursor. Expected _wxStyledTextCtrl_p."); | |
8078 | return NULL; | |
8079 | } | |
8080 | } | |
8081 | { | |
0e2ff151 | 8082 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 8083 | _result = (int )wxStyledTextCtrl_GetCursor(_arg0); |
8a2fa5c8 | 8084 | |
0e2ff151 RD |
8085 | wxPyEndAllowThreads(__tstate); |
8086 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
8087 | } _resultobj = Py_BuildValue("i",_result); |
8088 | return _resultobj; | |
8089 | } | |
8090 | ||
c3bfa1cb RD |
8091 | #define wxStyledTextCtrl_SetControlCharSymbol(_swigobj,_swigarg0) (_swigobj->SetControlCharSymbol(_swigarg0)) |
8092 | static PyObject *_wrap_wxStyledTextCtrl_SetControlCharSymbol(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8093 | PyObject * _resultobj; | |
8094 | wxStyledTextCtrl * _arg0; | |
8095 | int _arg1; | |
8096 | PyObject * _argo0 = 0; | |
8097 | char *_kwnames[] = { "self","symbol", NULL }; | |
8098 | ||
8099 | self = self; | |
8100 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_SetControlCharSymbol",_kwnames,&_argo0,&_arg1)) | |
8101 | return NULL; | |
8102 | if (_argo0) { | |
8103 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
8104 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
8105 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetControlCharSymbol. Expected _wxStyledTextCtrl_p."); | |
8106 | return NULL; | |
8107 | } | |
8108 | } | |
8109 | { | |
8110 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8111 | wxStyledTextCtrl_SetControlCharSymbol(_arg0,_arg1); | |
8112 | ||
8113 | wxPyEndAllowThreads(__tstate); | |
8114 | if (PyErr_Occurred()) return NULL; | |
8115 | } Py_INCREF(Py_None); | |
8116 | _resultobj = Py_None; | |
8117 | return _resultobj; | |
8118 | } | |
8119 | ||
8120 | #define wxStyledTextCtrl_GetControlCharSymbol(_swigobj) (_swigobj->GetControlCharSymbol()) | |
8121 | static PyObject *_wrap_wxStyledTextCtrl_GetControlCharSymbol(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8122 | PyObject * _resultobj; | |
8123 | int _result; | |
8124 | wxStyledTextCtrl * _arg0; | |
8125 | PyObject * _argo0 = 0; | |
8126 | char *_kwnames[] = { "self", NULL }; | |
8127 | ||
8128 | self = self; | |
8129 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetControlCharSymbol",_kwnames,&_argo0)) | |
8130 | return NULL; | |
8131 | if (_argo0) { | |
8132 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
8133 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
8134 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetControlCharSymbol. Expected _wxStyledTextCtrl_p."); | |
8135 | return NULL; | |
8136 | } | |
8137 | } | |
8138 | { | |
8139 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8140 | _result = (int )wxStyledTextCtrl_GetControlCharSymbol(_arg0); | |
8141 | ||
8142 | wxPyEndAllowThreads(__tstate); | |
8143 | if (PyErr_Occurred()) return NULL; | |
8144 | } _resultobj = Py_BuildValue("i",_result); | |
8145 | return _resultobj; | |
8146 | } | |
8147 | ||
8a2fa5c8 RD |
8148 | #define wxStyledTextCtrl_WordPartLeft(_swigobj) (_swigobj->WordPartLeft()) |
8149 | static PyObject *_wrap_wxStyledTextCtrl_WordPartLeft(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8150 | PyObject * _resultobj; | |
8151 | wxStyledTextCtrl * _arg0; | |
8152 | PyObject * _argo0 = 0; | |
8153 | char *_kwnames[] = { "self", NULL }; | |
8154 | ||
8155 | self = self; | |
8156 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_WordPartLeft",_kwnames,&_argo0)) | |
8157 | return NULL; | |
8158 | if (_argo0) { | |
8159 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
8160 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
8161 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_WordPartLeft. Expected _wxStyledTextCtrl_p."); | |
8162 | return NULL; | |
8163 | } | |
8164 | } | |
8165 | { | |
0e2ff151 | 8166 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 8167 | wxStyledTextCtrl_WordPartLeft(_arg0); |
8a2fa5c8 | 8168 | |
0e2ff151 RD |
8169 | wxPyEndAllowThreads(__tstate); |
8170 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
8171 | } Py_INCREF(Py_None); |
8172 | _resultobj = Py_None; | |
8173 | return _resultobj; | |
8174 | } | |
8175 | ||
8176 | #define wxStyledTextCtrl_WordPartLeftExtend(_swigobj) (_swigobj->WordPartLeftExtend()) | |
8177 | static PyObject *_wrap_wxStyledTextCtrl_WordPartLeftExtend(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8178 | PyObject * _resultobj; | |
8179 | wxStyledTextCtrl * _arg0; | |
8180 | PyObject * _argo0 = 0; | |
8181 | char *_kwnames[] = { "self", NULL }; | |
8182 | ||
8183 | self = self; | |
8184 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_WordPartLeftExtend",_kwnames,&_argo0)) | |
8185 | return NULL; | |
8186 | if (_argo0) { | |
8187 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
8188 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
8189 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_WordPartLeftExtend. Expected _wxStyledTextCtrl_p."); | |
8190 | return NULL; | |
8191 | } | |
8192 | } | |
8193 | { | |
0e2ff151 | 8194 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 8195 | wxStyledTextCtrl_WordPartLeftExtend(_arg0); |
8a2fa5c8 | 8196 | |
0e2ff151 RD |
8197 | wxPyEndAllowThreads(__tstate); |
8198 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
8199 | } Py_INCREF(Py_None); |
8200 | _resultobj = Py_None; | |
8201 | return _resultobj; | |
8202 | } | |
8203 | ||
8204 | #define wxStyledTextCtrl_WordPartRight(_swigobj) (_swigobj->WordPartRight()) | |
8205 | static PyObject *_wrap_wxStyledTextCtrl_WordPartRight(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8206 | PyObject * _resultobj; | |
8207 | wxStyledTextCtrl * _arg0; | |
8208 | PyObject * _argo0 = 0; | |
8209 | char *_kwnames[] = { "self", NULL }; | |
8210 | ||
8211 | self = self; | |
8212 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_WordPartRight",_kwnames,&_argo0)) | |
8213 | return NULL; | |
8214 | if (_argo0) { | |
8215 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
8216 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
8217 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_WordPartRight. Expected _wxStyledTextCtrl_p."); | |
8218 | return NULL; | |
8219 | } | |
8220 | } | |
8221 | { | |
0e2ff151 | 8222 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 8223 | wxStyledTextCtrl_WordPartRight(_arg0); |
8a2fa5c8 | 8224 | |
0e2ff151 RD |
8225 | wxPyEndAllowThreads(__tstate); |
8226 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
8227 | } Py_INCREF(Py_None); |
8228 | _resultobj = Py_None; | |
8229 | return _resultobj; | |
8230 | } | |
8231 | ||
8232 | #define wxStyledTextCtrl_WordPartRightExtend(_swigobj) (_swigobj->WordPartRightExtend()) | |
8233 | static PyObject *_wrap_wxStyledTextCtrl_WordPartRightExtend(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8234 | PyObject * _resultobj; | |
8235 | wxStyledTextCtrl * _arg0; | |
8236 | PyObject * _argo0 = 0; | |
8237 | char *_kwnames[] = { "self", NULL }; | |
8238 | ||
8239 | self = self; | |
8240 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_WordPartRightExtend",_kwnames,&_argo0)) | |
8241 | return NULL; | |
8242 | if (_argo0) { | |
8243 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
8244 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
8245 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_WordPartRightExtend. Expected _wxStyledTextCtrl_p."); | |
8246 | return NULL; | |
8247 | } | |
8248 | } | |
8249 | { | |
0e2ff151 | 8250 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 8251 | wxStyledTextCtrl_WordPartRightExtend(_arg0); |
8a2fa5c8 | 8252 | |
0e2ff151 RD |
8253 | wxPyEndAllowThreads(__tstate); |
8254 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
8255 | } Py_INCREF(Py_None); |
8256 | _resultobj = Py_None; | |
8257 | return _resultobj; | |
8258 | } | |
8259 | ||
8260 | #define wxStyledTextCtrl_SetVisiblePolicy(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetVisiblePolicy(_swigarg0,_swigarg1)) | |
8261 | static PyObject *_wrap_wxStyledTextCtrl_SetVisiblePolicy(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8262 | PyObject * _resultobj; | |
8263 | wxStyledTextCtrl * _arg0; | |
8264 | int _arg1; | |
8265 | int _arg2; | |
8266 | PyObject * _argo0 = 0; | |
8267 | char *_kwnames[] = { "self","visiblePolicy","visibleSlop", NULL }; | |
8268 | ||
8269 | self = self; | |
8270 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxStyledTextCtrl_SetVisiblePolicy",_kwnames,&_argo0,&_arg1,&_arg2)) | |
8271 | return NULL; | |
8272 | if (_argo0) { | |
8273 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
8274 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
8275 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetVisiblePolicy. Expected _wxStyledTextCtrl_p."); | |
8276 | return NULL; | |
8277 | } | |
8278 | } | |
8279 | { | |
0e2ff151 | 8280 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 8281 | wxStyledTextCtrl_SetVisiblePolicy(_arg0,_arg1,_arg2); |
8a2fa5c8 | 8282 | |
0e2ff151 RD |
8283 | wxPyEndAllowThreads(__tstate); |
8284 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
8285 | } Py_INCREF(Py_None); |
8286 | _resultobj = Py_None; | |
8287 | return _resultobj; | |
8288 | } | |
8289 | ||
8290 | #define wxStyledTextCtrl_DelLineLeft(_swigobj) (_swigobj->DelLineLeft()) | |
8291 | static PyObject *_wrap_wxStyledTextCtrl_DelLineLeft(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8292 | PyObject * _resultobj; | |
8293 | wxStyledTextCtrl * _arg0; | |
8294 | PyObject * _argo0 = 0; | |
8295 | char *_kwnames[] = { "self", NULL }; | |
8296 | ||
8297 | self = self; | |
8298 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_DelLineLeft",_kwnames,&_argo0)) | |
8299 | return NULL; | |
8300 | if (_argo0) { | |
8301 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
8302 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
8303 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_DelLineLeft. Expected _wxStyledTextCtrl_p."); | |
8304 | return NULL; | |
8305 | } | |
8306 | } | |
8307 | { | |
0e2ff151 | 8308 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 8309 | wxStyledTextCtrl_DelLineLeft(_arg0); |
8a2fa5c8 | 8310 | |
0e2ff151 RD |
8311 | wxPyEndAllowThreads(__tstate); |
8312 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
8313 | } Py_INCREF(Py_None); |
8314 | _resultobj = Py_None; | |
8315 | return _resultobj; | |
8316 | } | |
8317 | ||
8318 | #define wxStyledTextCtrl_DelLineRight(_swigobj) (_swigobj->DelLineRight()) | |
8319 | static PyObject *_wrap_wxStyledTextCtrl_DelLineRight(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8320 | PyObject * _resultobj; | |
8321 | wxStyledTextCtrl * _arg0; | |
8322 | PyObject * _argo0 = 0; | |
8323 | char *_kwnames[] = { "self", NULL }; | |
8324 | ||
8325 | self = self; | |
8326 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_DelLineRight",_kwnames,&_argo0)) | |
8327 | return NULL; | |
8328 | if (_argo0) { | |
8329 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
8330 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
8331 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_DelLineRight. Expected _wxStyledTextCtrl_p."); | |
8332 | return NULL; | |
8333 | } | |
8334 | } | |
8335 | { | |
0e2ff151 | 8336 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 8337 | wxStyledTextCtrl_DelLineRight(_arg0); |
8a2fa5c8 | 8338 | |
0e2ff151 RD |
8339 | wxPyEndAllowThreads(__tstate); |
8340 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
8341 | } Py_INCREF(Py_None); |
8342 | _resultobj = Py_None; | |
8343 | return _resultobj; | |
8344 | } | |
8345 | ||
c3bfa1cb RD |
8346 | #define wxStyledTextCtrl_SetXOffset(_swigobj,_swigarg0) (_swigobj->SetXOffset(_swigarg0)) |
8347 | static PyObject *_wrap_wxStyledTextCtrl_SetXOffset(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8348 | PyObject * _resultobj; | |
8349 | wxStyledTextCtrl * _arg0; | |
8350 | int _arg1; | |
8351 | PyObject * _argo0 = 0; | |
8352 | char *_kwnames[] = { "self","newOffset", NULL }; | |
8353 | ||
8354 | self = self; | |
8355 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_SetXOffset",_kwnames,&_argo0,&_arg1)) | |
8356 | return NULL; | |
8357 | if (_argo0) { | |
8358 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
8359 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
8360 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetXOffset. Expected _wxStyledTextCtrl_p."); | |
8361 | return NULL; | |
8362 | } | |
8363 | } | |
8364 | { | |
8365 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8366 | wxStyledTextCtrl_SetXOffset(_arg0,_arg1); | |
8367 | ||
8368 | wxPyEndAllowThreads(__tstate); | |
8369 | if (PyErr_Occurred()) return NULL; | |
8370 | } Py_INCREF(Py_None); | |
8371 | _resultobj = Py_None; | |
8372 | return _resultobj; | |
8373 | } | |
8374 | ||
8375 | #define wxStyledTextCtrl_GetXOffset(_swigobj) (_swigobj->GetXOffset()) | |
8376 | static PyObject *_wrap_wxStyledTextCtrl_GetXOffset(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8377 | PyObject * _resultobj; | |
8378 | int _result; | |
8379 | wxStyledTextCtrl * _arg0; | |
8380 | PyObject * _argo0 = 0; | |
8381 | char *_kwnames[] = { "self", NULL }; | |
8382 | ||
8383 | self = self; | |
8384 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetXOffset",_kwnames,&_argo0)) | |
8385 | return NULL; | |
8386 | if (_argo0) { | |
8387 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
8388 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
8389 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetXOffset. Expected _wxStyledTextCtrl_p."); | |
8390 | return NULL; | |
8391 | } | |
8392 | } | |
8393 | { | |
8394 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8395 | _result = (int )wxStyledTextCtrl_GetXOffset(_arg0); | |
8396 | ||
8397 | wxPyEndAllowThreads(__tstate); | |
8398 | if (PyErr_Occurred()) return NULL; | |
8399 | } _resultobj = Py_BuildValue("i",_result); | |
8400 | return _resultobj; | |
8401 | } | |
8402 | ||
8a2fa5c8 RD |
8403 | #define wxStyledTextCtrl_StartRecord(_swigobj) (_swigobj->StartRecord()) |
8404 | static PyObject *_wrap_wxStyledTextCtrl_StartRecord(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8405 | PyObject * _resultobj; | |
8406 | wxStyledTextCtrl * _arg0; | |
8407 | PyObject * _argo0 = 0; | |
8408 | char *_kwnames[] = { "self", NULL }; | |
8409 | ||
8410 | self = self; | |
8411 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_StartRecord",_kwnames,&_argo0)) | |
8412 | return NULL; | |
8413 | if (_argo0) { | |
8414 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
8415 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
8416 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_StartRecord. Expected _wxStyledTextCtrl_p."); | |
8417 | return NULL; | |
8418 | } | |
8419 | } | |
8420 | { | |
0e2ff151 | 8421 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 8422 | wxStyledTextCtrl_StartRecord(_arg0); |
8a2fa5c8 | 8423 | |
0e2ff151 RD |
8424 | wxPyEndAllowThreads(__tstate); |
8425 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
8426 | } Py_INCREF(Py_None); |
8427 | _resultobj = Py_None; | |
8428 | return _resultobj; | |
8429 | } | |
8430 | ||
8431 | #define wxStyledTextCtrl_StopRecord(_swigobj) (_swigobj->StopRecord()) | |
8432 | static PyObject *_wrap_wxStyledTextCtrl_StopRecord(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8433 | PyObject * _resultobj; | |
8434 | wxStyledTextCtrl * _arg0; | |
8435 | PyObject * _argo0 = 0; | |
8436 | char *_kwnames[] = { "self", NULL }; | |
8437 | ||
8438 | self = self; | |
8439 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_StopRecord",_kwnames,&_argo0)) | |
8440 | return NULL; | |
8441 | if (_argo0) { | |
8442 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
8443 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
8444 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_StopRecord. Expected _wxStyledTextCtrl_p."); | |
8445 | return NULL; | |
8446 | } | |
8447 | } | |
8448 | { | |
0e2ff151 | 8449 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 8450 | wxStyledTextCtrl_StopRecord(_arg0); |
8a2fa5c8 | 8451 | |
0e2ff151 RD |
8452 | wxPyEndAllowThreads(__tstate); |
8453 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
8454 | } Py_INCREF(Py_None); |
8455 | _resultobj = Py_None; | |
8456 | return _resultobj; | |
8457 | } | |
8458 | ||
8459 | #define wxStyledTextCtrl_SetLexer(_swigobj,_swigarg0) (_swigobj->SetLexer(_swigarg0)) | |
8460 | static PyObject *_wrap_wxStyledTextCtrl_SetLexer(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8461 | PyObject * _resultobj; | |
8462 | wxStyledTextCtrl * _arg0; | |
8463 | int _arg1; | |
8464 | PyObject * _argo0 = 0; | |
8465 | char *_kwnames[] = { "self","lexer", NULL }; | |
8466 | ||
8467 | self = self; | |
8468 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_SetLexer",_kwnames,&_argo0,&_arg1)) | |
8469 | return NULL; | |
8470 | if (_argo0) { | |
8471 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
8472 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
8473 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetLexer. Expected _wxStyledTextCtrl_p."); | |
8474 | return NULL; | |
8475 | } | |
8476 | } | |
8477 | { | |
0e2ff151 | 8478 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 8479 | wxStyledTextCtrl_SetLexer(_arg0,_arg1); |
8a2fa5c8 | 8480 | |
0e2ff151 RD |
8481 | wxPyEndAllowThreads(__tstate); |
8482 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
8483 | } Py_INCREF(Py_None); |
8484 | _resultobj = Py_None; | |
8485 | return _resultobj; | |
8486 | } | |
8487 | ||
8488 | #define wxStyledTextCtrl_GetLexer(_swigobj) (_swigobj->GetLexer()) | |
8489 | static PyObject *_wrap_wxStyledTextCtrl_GetLexer(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8490 | PyObject * _resultobj; | |
8491 | int _result; | |
8492 | wxStyledTextCtrl * _arg0; | |
8493 | PyObject * _argo0 = 0; | |
8494 | char *_kwnames[] = { "self", NULL }; | |
8495 | ||
8496 | self = self; | |
8497 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetLexer",_kwnames,&_argo0)) | |
8498 | return NULL; | |
8499 | if (_argo0) { | |
8500 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
8501 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
8502 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetLexer. Expected _wxStyledTextCtrl_p."); | |
8503 | return NULL; | |
8504 | } | |
8505 | } | |
8506 | { | |
0e2ff151 | 8507 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 8508 | _result = (int )wxStyledTextCtrl_GetLexer(_arg0); |
8a2fa5c8 | 8509 | |
0e2ff151 RD |
8510 | wxPyEndAllowThreads(__tstate); |
8511 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
8512 | } _resultobj = Py_BuildValue("i",_result); |
8513 | return _resultobj; | |
8514 | } | |
8515 | ||
8516 | #define wxStyledTextCtrl_Colourise(_swigobj,_swigarg0,_swigarg1) (_swigobj->Colourise(_swigarg0,_swigarg1)) | |
8517 | static PyObject *_wrap_wxStyledTextCtrl_Colourise(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8518 | PyObject * _resultobj; | |
8519 | wxStyledTextCtrl * _arg0; | |
8520 | int _arg1; | |
8521 | int _arg2; | |
8522 | PyObject * _argo0 = 0; | |
8523 | char *_kwnames[] = { "self","start","end", NULL }; | |
8524 | ||
8525 | self = self; | |
8526 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxStyledTextCtrl_Colourise",_kwnames,&_argo0,&_arg1,&_arg2)) | |
8527 | return NULL; | |
8528 | if (_argo0) { | |
8529 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
8530 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
8531 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_Colourise. Expected _wxStyledTextCtrl_p."); | |
8532 | return NULL; | |
8533 | } | |
8534 | } | |
8535 | { | |
0e2ff151 | 8536 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 8537 | wxStyledTextCtrl_Colourise(_arg0,_arg1,_arg2); |
8a2fa5c8 | 8538 | |
0e2ff151 RD |
8539 | wxPyEndAllowThreads(__tstate); |
8540 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
8541 | } Py_INCREF(Py_None); |
8542 | _resultobj = Py_None; | |
8543 | return _resultobj; | |
8544 | } | |
8545 | ||
8546 | #define wxStyledTextCtrl_SetProperty(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetProperty(_swigarg0,_swigarg1)) | |
8547 | static PyObject *_wrap_wxStyledTextCtrl_SetProperty(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8548 | PyObject * _resultobj; | |
8549 | wxStyledTextCtrl * _arg0; | |
8550 | wxString * _arg1; | |
8551 | wxString * _arg2; | |
8552 | PyObject * _argo0 = 0; | |
8553 | PyObject * _obj1 = 0; | |
8554 | PyObject * _obj2 = 0; | |
8555 | char *_kwnames[] = { "self","key","value", NULL }; | |
8556 | ||
8557 | self = self; | |
8558 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxStyledTextCtrl_SetProperty",_kwnames,&_argo0,&_obj1,&_obj2)) | |
8559 | return NULL; | |
8560 | if (_argo0) { | |
8561 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
8562 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
8563 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetProperty. Expected _wxStyledTextCtrl_p."); | |
8564 | return NULL; | |
8565 | } | |
8566 | } | |
8567 | { | |
6824d4f9 RD |
8568 | _arg1 = wxString_in_helper(_obj1); |
8569 | if (_arg1 == NULL) | |
8a2fa5c8 | 8570 | return NULL; |
8a2fa5c8 RD |
8571 | } |
8572 | { | |
6824d4f9 RD |
8573 | _arg2 = wxString_in_helper(_obj2); |
8574 | if (_arg2 == NULL) | |
8a2fa5c8 | 8575 | return NULL; |
8a2fa5c8 RD |
8576 | } |
8577 | { | |
0e2ff151 | 8578 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 8579 | wxStyledTextCtrl_SetProperty(_arg0,*_arg1,*_arg2); |
8a2fa5c8 | 8580 | |
0e2ff151 RD |
8581 | wxPyEndAllowThreads(__tstate); |
8582 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
8583 | } Py_INCREF(Py_None); |
8584 | _resultobj = Py_None; | |
8585 | { | |
8586 | if (_obj1) | |
8587 | delete _arg1; | |
8588 | } | |
8589 | { | |
8590 | if (_obj2) | |
8591 | delete _arg2; | |
8592 | } | |
8593 | return _resultobj; | |
8594 | } | |
8595 | ||
8596 | #define wxStyledTextCtrl_SetKeyWords(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetKeyWords(_swigarg0,_swigarg1)) | |
8597 | static PyObject *_wrap_wxStyledTextCtrl_SetKeyWords(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8598 | PyObject * _resultobj; | |
8599 | wxStyledTextCtrl * _arg0; | |
8600 | int _arg1; | |
8601 | wxString * _arg2; | |
8602 | PyObject * _argo0 = 0; | |
8603 | PyObject * _obj2 = 0; | |
8604 | char *_kwnames[] = { "self","keywordSet","keyWords", NULL }; | |
8605 | ||
8606 | self = self; | |
8607 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxStyledTextCtrl_SetKeyWords",_kwnames,&_argo0,&_arg1,&_obj2)) | |
8608 | return NULL; | |
8609 | if (_argo0) { | |
8610 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
8611 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
8612 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetKeyWords. Expected _wxStyledTextCtrl_p."); | |
8613 | return NULL; | |
8614 | } | |
8615 | } | |
8616 | { | |
6824d4f9 RD |
8617 | _arg2 = wxString_in_helper(_obj2); |
8618 | if (_arg2 == NULL) | |
8a2fa5c8 | 8619 | return NULL; |
8a2fa5c8 RD |
8620 | } |
8621 | { | |
0e2ff151 | 8622 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 8623 | wxStyledTextCtrl_SetKeyWords(_arg0,_arg1,*_arg2); |
8a2fa5c8 | 8624 | |
0e2ff151 RD |
8625 | wxPyEndAllowThreads(__tstate); |
8626 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
8627 | } Py_INCREF(Py_None); |
8628 | _resultobj = Py_None; | |
8629 | { | |
8630 | if (_obj2) | |
8631 | delete _arg2; | |
8632 | } | |
8633 | return _resultobj; | |
8634 | } | |
8635 | ||
8636 | #define wxStyledTextCtrl_SetLexerLanguage(_swigobj,_swigarg0) (_swigobj->SetLexerLanguage(_swigarg0)) | |
8637 | static PyObject *_wrap_wxStyledTextCtrl_SetLexerLanguage(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8638 | PyObject * _resultobj; | |
8639 | wxStyledTextCtrl * _arg0; | |
8640 | wxString * _arg1; | |
8641 | PyObject * _argo0 = 0; | |
8642 | PyObject * _obj1 = 0; | |
8643 | char *_kwnames[] = { "self","language", NULL }; | |
8644 | ||
8645 | self = self; | |
8646 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxStyledTextCtrl_SetLexerLanguage",_kwnames,&_argo0,&_obj1)) | |
8647 | return NULL; | |
8648 | if (_argo0) { | |
8649 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
8650 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
8651 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetLexerLanguage. Expected _wxStyledTextCtrl_p."); | |
8652 | return NULL; | |
8653 | } | |
8654 | } | |
8655 | { | |
6824d4f9 RD |
8656 | _arg1 = wxString_in_helper(_obj1); |
8657 | if (_arg1 == NULL) | |
8a2fa5c8 | 8658 | return NULL; |
8a2fa5c8 RD |
8659 | } |
8660 | { | |
0e2ff151 | 8661 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 8662 | wxStyledTextCtrl_SetLexerLanguage(_arg0,*_arg1); |
8a2fa5c8 | 8663 | |
0e2ff151 RD |
8664 | wxPyEndAllowThreads(__tstate); |
8665 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
8666 | } Py_INCREF(Py_None); |
8667 | _resultobj = Py_None; | |
8668 | { | |
8669 | if (_obj1) | |
8670 | delete _arg1; | |
8671 | } | |
8672 | return _resultobj; | |
8673 | } | |
8674 | ||
8675 | #define wxStyledTextCtrl_GetCurrentLine(_swigobj) (_swigobj->GetCurrentLine()) | |
8676 | static PyObject *_wrap_wxStyledTextCtrl_GetCurrentLine(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8677 | PyObject * _resultobj; | |
8678 | int _result; | |
8679 | wxStyledTextCtrl * _arg0; | |
8680 | PyObject * _argo0 = 0; | |
8681 | char *_kwnames[] = { "self", NULL }; | |
8682 | ||
8683 | self = self; | |
8684 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetCurrentLine",_kwnames,&_argo0)) | |
8685 | return NULL; | |
8686 | if (_argo0) { | |
8687 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
8688 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
8689 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetCurrentLine. Expected _wxStyledTextCtrl_p."); | |
8690 | return NULL; | |
8691 | } | |
8692 | } | |
8693 | { | |
0e2ff151 | 8694 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 8695 | _result = (int )wxStyledTextCtrl_GetCurrentLine(_arg0); |
8a2fa5c8 | 8696 | |
0e2ff151 RD |
8697 | wxPyEndAllowThreads(__tstate); |
8698 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
8699 | } _resultobj = Py_BuildValue("i",_result); |
8700 | return _resultobj; | |
8701 | } | |
8702 | ||
8703 | #define wxStyledTextCtrl_StyleSetSpec(_swigobj,_swigarg0,_swigarg1) (_swigobj->StyleSetSpec(_swigarg0,_swigarg1)) | |
8704 | static PyObject *_wrap_wxStyledTextCtrl_StyleSetSpec(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8705 | PyObject * _resultobj; | |
8706 | wxStyledTextCtrl * _arg0; | |
8707 | int _arg1; | |
8708 | wxString * _arg2; | |
8709 | PyObject * _argo0 = 0; | |
8710 | PyObject * _obj2 = 0; | |
8711 | char *_kwnames[] = { "self","styleNum","spec", NULL }; | |
8712 | ||
8713 | self = self; | |
8714 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxStyledTextCtrl_StyleSetSpec",_kwnames,&_argo0,&_arg1,&_obj2)) | |
8715 | return NULL; | |
8716 | if (_argo0) { | |
8717 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
8718 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
8719 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_StyleSetSpec. Expected _wxStyledTextCtrl_p."); | |
8720 | return NULL; | |
8721 | } | |
8722 | } | |
8723 | { | |
6824d4f9 RD |
8724 | _arg2 = wxString_in_helper(_obj2); |
8725 | if (_arg2 == NULL) | |
8a2fa5c8 | 8726 | return NULL; |
8a2fa5c8 RD |
8727 | } |
8728 | { | |
0e2ff151 | 8729 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 8730 | wxStyledTextCtrl_StyleSetSpec(_arg0,_arg1,*_arg2); |
8a2fa5c8 | 8731 | |
0e2ff151 RD |
8732 | wxPyEndAllowThreads(__tstate); |
8733 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
8734 | } Py_INCREF(Py_None); |
8735 | _resultobj = Py_None; | |
8736 | { | |
8737 | if (_obj2) | |
8738 | delete _arg2; | |
8739 | } | |
8740 | return _resultobj; | |
8741 | } | |
8742 | ||
8743 | #define wxStyledTextCtrl_StyleSetFont(_swigobj,_swigarg0,_swigarg1) (_swigobj->StyleSetFont(_swigarg0,_swigarg1)) | |
8744 | static PyObject *_wrap_wxStyledTextCtrl_StyleSetFont(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8745 | PyObject * _resultobj; | |
8746 | wxStyledTextCtrl * _arg0; | |
8747 | int _arg1; | |
8748 | wxFont * _arg2; | |
8749 | PyObject * _argo0 = 0; | |
8750 | PyObject * _argo2 = 0; | |
8751 | char *_kwnames[] = { "self","styleNum","font", NULL }; | |
8752 | ||
8753 | self = self; | |
8754 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxStyledTextCtrl_StyleSetFont",_kwnames,&_argo0,&_arg1,&_argo2)) | |
8755 | return NULL; | |
8756 | if (_argo0) { | |
8757 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
8758 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
8759 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_StyleSetFont. Expected _wxStyledTextCtrl_p."); | |
8760 | return NULL; | |
8761 | } | |
8762 | } | |
8763 | if (_argo2) { | |
8764 | if (_argo2 == Py_None) { _arg2 = NULL; } | |
8765 | else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxFont_p")) { | |
8766 | PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxStyledTextCtrl_StyleSetFont. Expected _wxFont_p."); | |
8767 | return NULL; | |
8768 | } | |
8769 | } | |
8770 | { | |
0e2ff151 | 8771 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 8772 | wxStyledTextCtrl_StyleSetFont(_arg0,_arg1,*_arg2); |
8a2fa5c8 | 8773 | |
0e2ff151 RD |
8774 | wxPyEndAllowThreads(__tstate); |
8775 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
8776 | } Py_INCREF(Py_None); |
8777 | _resultobj = Py_None; | |
8778 | return _resultobj; | |
8779 | } | |
8780 | ||
8781 | #define wxStyledTextCtrl_StyleSetFontAttr(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->StyleSetFontAttr(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5)) | |
8782 | static PyObject *_wrap_wxStyledTextCtrl_StyleSetFontAttr(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8783 | PyObject * _resultobj; | |
8784 | wxStyledTextCtrl * _arg0; | |
8785 | int _arg1; | |
8786 | int _arg2; | |
8787 | wxString * _arg3; | |
8788 | bool _arg4; | |
8789 | bool _arg5; | |
8790 | bool _arg6; | |
8791 | PyObject * _argo0 = 0; | |
8792 | PyObject * _obj3 = 0; | |
8793 | int tempbool4; | |
8794 | int tempbool5; | |
8795 | int tempbool6; | |
8796 | char *_kwnames[] = { "self","styleNum","size","faceName","bold","italic","underline", NULL }; | |
8797 | ||
8798 | self = self; | |
8799 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiiOiii:wxStyledTextCtrl_StyleSetFontAttr",_kwnames,&_argo0,&_arg1,&_arg2,&_obj3,&tempbool4,&tempbool5,&tempbool6)) | |
8800 | return NULL; | |
8801 | if (_argo0) { | |
8802 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
8803 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
8804 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_StyleSetFontAttr. Expected _wxStyledTextCtrl_p."); | |
8805 | return NULL; | |
8806 | } | |
8807 | } | |
8808 | { | |
6824d4f9 RD |
8809 | _arg3 = wxString_in_helper(_obj3); |
8810 | if (_arg3 == NULL) | |
8a2fa5c8 | 8811 | return NULL; |
8a2fa5c8 RD |
8812 | } |
8813 | _arg4 = (bool ) tempbool4; | |
8814 | _arg5 = (bool ) tempbool5; | |
8815 | _arg6 = (bool ) tempbool6; | |
8816 | { | |
0e2ff151 | 8817 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 8818 | wxStyledTextCtrl_StyleSetFontAttr(_arg0,_arg1,_arg2,*_arg3,_arg4,_arg5,_arg6); |
8a2fa5c8 | 8819 | |
0e2ff151 RD |
8820 | wxPyEndAllowThreads(__tstate); |
8821 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
8822 | } Py_INCREF(Py_None); |
8823 | _resultobj = Py_None; | |
8824 | { | |
8825 | if (_obj3) | |
8826 | delete _arg3; | |
8827 | } | |
8828 | return _resultobj; | |
8829 | } | |
8830 | ||
8831 | #define wxStyledTextCtrl_CmdKeyExecute(_swigobj,_swigarg0) (_swigobj->CmdKeyExecute(_swigarg0)) | |
8832 | static PyObject *_wrap_wxStyledTextCtrl_CmdKeyExecute(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8833 | PyObject * _resultobj; | |
8834 | wxStyledTextCtrl * _arg0; | |
8835 | int _arg1; | |
8836 | PyObject * _argo0 = 0; | |
8837 | char *_kwnames[] = { "self","cmd", NULL }; | |
8838 | ||
8839 | self = self; | |
8840 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_CmdKeyExecute",_kwnames,&_argo0,&_arg1)) | |
8841 | return NULL; | |
8842 | if (_argo0) { | |
8843 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
8844 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
8845 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_CmdKeyExecute. Expected _wxStyledTextCtrl_p."); | |
8846 | return NULL; | |
8847 | } | |
8848 | } | |
8849 | { | |
0e2ff151 | 8850 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 8851 | wxStyledTextCtrl_CmdKeyExecute(_arg0,_arg1); |
8a2fa5c8 | 8852 | |
0e2ff151 RD |
8853 | wxPyEndAllowThreads(__tstate); |
8854 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
8855 | } Py_INCREF(Py_None); |
8856 | _resultobj = Py_None; | |
8857 | return _resultobj; | |
8858 | } | |
8859 | ||
8860 | #define wxStyledTextCtrl_SetMargins(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetMargins(_swigarg0,_swigarg1)) | |
8861 | static PyObject *_wrap_wxStyledTextCtrl_SetMargins(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8862 | PyObject * _resultobj; | |
8863 | wxStyledTextCtrl * _arg0; | |
8864 | int _arg1; | |
8865 | int _arg2; | |
8866 | PyObject * _argo0 = 0; | |
8867 | char *_kwnames[] = { "self","left","right", NULL }; | |
8868 | ||
8869 | self = self; | |
8870 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxStyledTextCtrl_SetMargins",_kwnames,&_argo0,&_arg1,&_arg2)) | |
8871 | return NULL; | |
8872 | if (_argo0) { | |
8873 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
8874 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
8875 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetMargins. Expected _wxStyledTextCtrl_p."); | |
8876 | return NULL; | |
8877 | } | |
8878 | } | |
8879 | { | |
0e2ff151 | 8880 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 8881 | wxStyledTextCtrl_SetMargins(_arg0,_arg1,_arg2); |
8a2fa5c8 | 8882 | |
0e2ff151 RD |
8883 | wxPyEndAllowThreads(__tstate); |
8884 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
8885 | } Py_INCREF(Py_None); |
8886 | _resultobj = Py_None; | |
8887 | return _resultobj; | |
8888 | } | |
8889 | ||
8890 | #define wxStyledTextCtrl_GetSelection(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetSelection(_swigarg0,_swigarg1)) | |
8891 | static PyObject *_wrap_wxStyledTextCtrl_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8892 | PyObject * _resultobj; | |
8893 | wxStyledTextCtrl * _arg0; | |
8894 | int * _arg1; | |
8895 | int temp; | |
8896 | int * _arg2; | |
8897 | int temp0; | |
8898 | PyObject * _argo0 = 0; | |
8899 | char *_kwnames[] = { "self", NULL }; | |
8900 | ||
8901 | self = self; | |
8902 | { | |
8903 | _arg1 = &temp; | |
8904 | } | |
8905 | { | |
8906 | _arg2 = &temp0; | |
8907 | } | |
8908 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetSelection",_kwnames,&_argo0)) | |
8909 | return NULL; | |
8910 | if (_argo0) { | |
8911 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
8912 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
8913 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetSelection. Expected _wxStyledTextCtrl_p."); | |
8914 | return NULL; | |
8915 | } | |
8916 | } | |
8917 | { | |
0e2ff151 | 8918 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 8919 | wxStyledTextCtrl_GetSelection(_arg0,_arg1,_arg2); |
8a2fa5c8 | 8920 | |
0e2ff151 RD |
8921 | wxPyEndAllowThreads(__tstate); |
8922 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
8923 | } Py_INCREF(Py_None); |
8924 | _resultobj = Py_None; | |
8925 | { | |
8926 | PyObject *o; | |
8927 | o = PyInt_FromLong((long) (*_arg1)); | |
8928 | _resultobj = t_output_helper(_resultobj, o); | |
8929 | } | |
8930 | { | |
8931 | PyObject *o; | |
8932 | o = PyInt_FromLong((long) (*_arg2)); | |
8933 | _resultobj = t_output_helper(_resultobj, o); | |
8934 | } | |
8935 | return _resultobj; | |
8936 | } | |
8937 | ||
8938 | #define wxStyledTextCtrl_PointFromPosition(_swigobj,_swigarg0) (_swigobj->PointFromPosition(_swigarg0)) | |
8939 | static PyObject *_wrap_wxStyledTextCtrl_PointFromPosition(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8940 | PyObject * _resultobj; | |
8941 | wxPoint * _result; | |
8942 | wxStyledTextCtrl * _arg0; | |
8943 | int _arg1; | |
8944 | PyObject * _argo0 = 0; | |
8945 | char *_kwnames[] = { "self","pos", NULL }; | |
8946 | char _ptemp[128]; | |
8947 | ||
8948 | self = self; | |
8949 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_PointFromPosition",_kwnames,&_argo0,&_arg1)) | |
8950 | return NULL; | |
8951 | if (_argo0) { | |
8952 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
8953 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
8954 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_PointFromPosition. Expected _wxStyledTextCtrl_p."); | |
8955 | return NULL; | |
8956 | } | |
8957 | } | |
8958 | { | |
0e2ff151 | 8959 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 8960 | _result = new wxPoint (wxStyledTextCtrl_PointFromPosition(_arg0,_arg1)); |
8a2fa5c8 | 8961 | |
0e2ff151 RD |
8962 | wxPyEndAllowThreads(__tstate); |
8963 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
8964 | } SWIG_MakePtr(_ptemp, (void *) _result,"_wxPoint_p"); |
8965 | _resultobj = Py_BuildValue("s",_ptemp); | |
8966 | return _resultobj; | |
8967 | } | |
8968 | ||
8969 | #define wxStyledTextCtrl_ScrollToLine(_swigobj,_swigarg0) (_swigobj->ScrollToLine(_swigarg0)) | |
8970 | static PyObject *_wrap_wxStyledTextCtrl_ScrollToLine(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8971 | PyObject * _resultobj; | |
8972 | wxStyledTextCtrl * _arg0; | |
8973 | int _arg1; | |
8974 | PyObject * _argo0 = 0; | |
8975 | char *_kwnames[] = { "self","line", NULL }; | |
8976 | ||
8977 | self = self; | |
8978 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_ScrollToLine",_kwnames,&_argo0,&_arg1)) | |
8979 | return NULL; | |
8980 | if (_argo0) { | |
8981 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
8982 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
8983 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_ScrollToLine. Expected _wxStyledTextCtrl_p."); | |
8984 | return NULL; | |
8985 | } | |
8986 | } | |
8987 | { | |
0e2ff151 | 8988 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 8989 | wxStyledTextCtrl_ScrollToLine(_arg0,_arg1); |
8a2fa5c8 | 8990 | |
0e2ff151 RD |
8991 | wxPyEndAllowThreads(__tstate); |
8992 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
8993 | } Py_INCREF(Py_None); |
8994 | _resultobj = Py_None; | |
8995 | return _resultobj; | |
8996 | } | |
8997 | ||
8998 | #define wxStyledTextCtrl_ScrollToColumn(_swigobj,_swigarg0) (_swigobj->ScrollToColumn(_swigarg0)) | |
8999 | static PyObject *_wrap_wxStyledTextCtrl_ScrollToColumn(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9000 | PyObject * _resultobj; | |
9001 | wxStyledTextCtrl * _arg0; | |
9002 | int _arg1; | |
9003 | PyObject * _argo0 = 0; | |
9004 | char *_kwnames[] = { "self","column", NULL }; | |
9005 | ||
9006 | self = self; | |
9007 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_ScrollToColumn",_kwnames,&_argo0,&_arg1)) | |
9008 | return NULL; | |
9009 | if (_argo0) { | |
9010 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
9011 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
9012 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_ScrollToColumn. Expected _wxStyledTextCtrl_p."); | |
9013 | return NULL; | |
9014 | } | |
9015 | } | |
9016 | { | |
0e2ff151 | 9017 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 9018 | wxStyledTextCtrl_ScrollToColumn(_arg0,_arg1); |
8a2fa5c8 | 9019 | |
0e2ff151 RD |
9020 | wxPyEndAllowThreads(__tstate); |
9021 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
9022 | } Py_INCREF(Py_None); |
9023 | _resultobj = Py_None; | |
9024 | return _resultobj; | |
9025 | } | |
9026 | ||
9027 | #define wxStyledTextCtrl_SendMsg(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SendMsg(_swigarg0,_swigarg1,_swigarg2)) | |
9028 | static PyObject *_wrap_wxStyledTextCtrl_SendMsg(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9029 | PyObject * _resultobj; | |
9030 | long _result; | |
9031 | wxStyledTextCtrl * _arg0; | |
9032 | int _arg1; | |
9033 | long _arg2 = (long ) 0; | |
9034 | long _arg3 = (long ) 0; | |
9035 | PyObject * _argo0 = 0; | |
9036 | char *_kwnames[] = { "self","msg","wp","lp", NULL }; | |
9037 | ||
9038 | self = self; | |
9039 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi|ll:wxStyledTextCtrl_SendMsg",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3)) | |
9040 | return NULL; | |
9041 | if (_argo0) { | |
9042 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
9043 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
9044 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SendMsg. Expected _wxStyledTextCtrl_p."); | |
9045 | return NULL; | |
9046 | } | |
9047 | } | |
9048 | { | |
0e2ff151 | 9049 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 9050 | _result = (long )wxStyledTextCtrl_SendMsg(_arg0,_arg1,_arg2,_arg3); |
8a2fa5c8 | 9051 | |
0e2ff151 RD |
9052 | wxPyEndAllowThreads(__tstate); |
9053 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
9054 | } _resultobj = Py_BuildValue("l",_result); |
9055 | return _resultobj; | |
9056 | } | |
9057 | ||
dbd3685c RD |
9058 | #define wxStyledTextCtrl_SetVScrollBar(_swigobj,_swigarg0) (_swigobj->SetVScrollBar(_swigarg0)) |
9059 | static PyObject *_wrap_wxStyledTextCtrl_SetVScrollBar(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9060 | PyObject * _resultobj; | |
9061 | wxStyledTextCtrl * _arg0; | |
9062 | wxScrollBar * _arg1; | |
9063 | PyObject * _argo0 = 0; | |
9064 | PyObject * _argo1 = 0; | |
9065 | char *_kwnames[] = { "self","bar", NULL }; | |
9066 | ||
9067 | self = self; | |
9068 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxStyledTextCtrl_SetVScrollBar",_kwnames,&_argo0,&_argo1)) | |
9069 | return NULL; | |
9070 | if (_argo0) { | |
9071 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
9072 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
9073 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetVScrollBar. Expected _wxStyledTextCtrl_p."); | |
9074 | return NULL; | |
9075 | } | |
9076 | } | |
9077 | if (_argo1) { | |
9078 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
9079 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxScrollBar_p")) { | |
9080 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxStyledTextCtrl_SetVScrollBar. Expected _wxScrollBar_p."); | |
9081 | return NULL; | |
9082 | } | |
9083 | } | |
9084 | { | |
0e2ff151 | 9085 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 9086 | wxStyledTextCtrl_SetVScrollBar(_arg0,_arg1); |
dbd3685c | 9087 | |
0e2ff151 RD |
9088 | wxPyEndAllowThreads(__tstate); |
9089 | if (PyErr_Occurred()) return NULL; | |
dbd3685c RD |
9090 | } Py_INCREF(Py_None); |
9091 | _resultobj = Py_None; | |
9092 | return _resultobj; | |
9093 | } | |
9094 | ||
9095 | #define wxStyledTextCtrl_SetHScrollBar(_swigobj,_swigarg0) (_swigobj->SetHScrollBar(_swigarg0)) | |
9096 | static PyObject *_wrap_wxStyledTextCtrl_SetHScrollBar(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9097 | PyObject * _resultobj; | |
9098 | wxStyledTextCtrl * _arg0; | |
9099 | wxScrollBar * _arg1; | |
9100 | PyObject * _argo0 = 0; | |
9101 | PyObject * _argo1 = 0; | |
9102 | char *_kwnames[] = { "self","bar", NULL }; | |
9103 | ||
9104 | self = self; | |
9105 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxStyledTextCtrl_SetHScrollBar",_kwnames,&_argo0,&_argo1)) | |
9106 | return NULL; | |
9107 | if (_argo0) { | |
9108 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
9109 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
9110 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetHScrollBar. Expected _wxStyledTextCtrl_p."); | |
9111 | return NULL; | |
9112 | } | |
9113 | } | |
9114 | if (_argo1) { | |
9115 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
9116 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxScrollBar_p")) { | |
9117 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxStyledTextCtrl_SetHScrollBar. Expected _wxScrollBar_p."); | |
9118 | return NULL; | |
9119 | } | |
9120 | } | |
9121 | { | |
0e2ff151 | 9122 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 9123 | wxStyledTextCtrl_SetHScrollBar(_arg0,_arg1); |
dbd3685c | 9124 | |
0e2ff151 RD |
9125 | wxPyEndAllowThreads(__tstate); |
9126 | if (PyErr_Occurred()) return NULL; | |
dbd3685c RD |
9127 | } Py_INCREF(Py_None); |
9128 | _resultobj = Py_None; | |
9129 | return _resultobj; | |
9130 | } | |
9131 | ||
40699168 RD |
9132 | #define wxStyledTextCtrl_GetLastKeydownProcessed(_swigobj) (_swigobj->GetLastKeydownProcessed()) |
9133 | static PyObject *_wrap_wxStyledTextCtrl_GetLastKeydownProcessed(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9134 | PyObject * _resultobj; | |
9135 | bool _result; | |
9136 | wxStyledTextCtrl * _arg0; | |
9137 | PyObject * _argo0 = 0; | |
9138 | char *_kwnames[] = { "self", NULL }; | |
9139 | ||
9140 | self = self; | |
9141 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetLastKeydownProcessed",_kwnames,&_argo0)) | |
9142 | return NULL; | |
9143 | if (_argo0) { | |
9144 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
9145 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
9146 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetLastKeydownProcessed. Expected _wxStyledTextCtrl_p."); | |
9147 | return NULL; | |
9148 | } | |
9149 | } | |
9150 | { | |
9151 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9152 | _result = (bool )wxStyledTextCtrl_GetLastKeydownProcessed(_arg0); | |
9153 | ||
9154 | wxPyEndAllowThreads(__tstate); | |
9155 | if (PyErr_Occurred()) return NULL; | |
9156 | } _resultobj = Py_BuildValue("i",_result); | |
9157 | return _resultobj; | |
9158 | } | |
9159 | ||
9160 | #define wxStyledTextCtrl_SetLastKeydownProcessed(_swigobj,_swigarg0) (_swigobj->SetLastKeydownProcessed(_swigarg0)) | |
9161 | static PyObject *_wrap_wxStyledTextCtrl_SetLastKeydownProcessed(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9162 | PyObject * _resultobj; | |
9163 | wxStyledTextCtrl * _arg0; | |
9164 | bool _arg1; | |
9165 | PyObject * _argo0 = 0; | |
9166 | int tempbool1; | |
9167 | char *_kwnames[] = { "self","val", NULL }; | |
9168 | ||
9169 | self = self; | |
9170 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_SetLastKeydownProcessed",_kwnames,&_argo0,&tempbool1)) | |
9171 | return NULL; | |
9172 | if (_argo0) { | |
9173 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
9174 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
9175 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetLastKeydownProcessed. Expected _wxStyledTextCtrl_p."); | |
9176 | return NULL; | |
9177 | } | |
9178 | } | |
9179 | _arg1 = (bool ) tempbool1; | |
9180 | { | |
9181 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9182 | wxStyledTextCtrl_SetLastKeydownProcessed(_arg0,_arg1); | |
9183 | ||
9184 | wxPyEndAllowThreads(__tstate); | |
9185 | if (PyErr_Occurred()) return NULL; | |
9186 | } Py_INCREF(Py_None); | |
9187 | _resultobj = Py_None; | |
9188 | return _resultobj; | |
9189 | } | |
9190 | ||
8a2fa5c8 RD |
9191 | static void *SwigwxStyledTextEventTowxCommandEvent(void *ptr) { |
9192 | wxStyledTextEvent *src; | |
9193 | wxCommandEvent *dest; | |
9194 | src = (wxStyledTextEvent *) ptr; | |
9195 | dest = (wxCommandEvent *) src; | |
9196 | return (void *) dest; | |
9197 | } | |
9198 | ||
9199 | static void *SwigwxStyledTextEventTowxEvent(void *ptr) { | |
9200 | wxStyledTextEvent *src; | |
9201 | wxEvent *dest; | |
9202 | src = (wxStyledTextEvent *) ptr; | |
9203 | dest = (wxEvent *) src; | |
9204 | return (void *) dest; | |
9205 | } | |
9206 | ||
9207 | static void *SwigwxStyledTextEventTowxObject(void *ptr) { | |
9208 | wxStyledTextEvent *src; | |
9209 | wxObject *dest; | |
9210 | src = (wxStyledTextEvent *) ptr; | |
9211 | dest = (wxObject *) src; | |
9212 | return (void *) dest; | |
9213 | } | |
9214 | ||
9215 | #define new_wxStyledTextEvent(_swigarg0,_swigarg1) (new wxStyledTextEvent(_swigarg0,_swigarg1)) | |
9216 | static PyObject *_wrap_new_wxStyledTextEvent(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9217 | PyObject * _resultobj; | |
9218 | wxStyledTextEvent * _result; | |
9219 | wxEventType _arg0 = (wxEventType ) 0; | |
9220 | int _arg1 = (int ) 0; | |
9221 | char *_kwnames[] = { "commandType","id", NULL }; | |
9222 | char _ptemp[128]; | |
9223 | ||
9224 | self = self; | |
9225 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"|ii:new_wxStyledTextEvent",_kwnames,&_arg0,&_arg1)) | |
9226 | return NULL; | |
9227 | { | |
0e2ff151 | 9228 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 9229 | _result = (wxStyledTextEvent *)new_wxStyledTextEvent(_arg0,_arg1); |
8a2fa5c8 | 9230 | |
0e2ff151 RD |
9231 | wxPyEndAllowThreads(__tstate); |
9232 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
9233 | } if (_result) { |
9234 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxStyledTextEvent_p"); | |
9235 | _resultobj = Py_BuildValue("s",_ptemp); | |
9236 | } else { | |
9237 | Py_INCREF(Py_None); | |
9238 | _resultobj = Py_None; | |
9239 | } | |
9240 | return _resultobj; | |
9241 | } | |
9242 | ||
9243 | #define delete_wxStyledTextEvent(_swigobj) (delete _swigobj) | |
9244 | static PyObject *_wrap_delete_wxStyledTextEvent(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9245 | PyObject * _resultobj; | |
9246 | wxStyledTextEvent * _arg0; | |
9247 | PyObject * _argo0 = 0; | |
9248 | char *_kwnames[] = { "self", NULL }; | |
9249 | ||
9250 | self = self; | |
9251 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:delete_wxStyledTextEvent",_kwnames,&_argo0)) | |
9252 | return NULL; | |
9253 | if (_argo0) { | |
9254 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
9255 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextEvent_p")) { | |
9256 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of delete_wxStyledTextEvent. Expected _wxStyledTextEvent_p."); | |
9257 | return NULL; | |
9258 | } | |
9259 | } | |
9260 | { | |
0e2ff151 | 9261 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 9262 | delete_wxStyledTextEvent(_arg0); |
8a2fa5c8 | 9263 | |
0e2ff151 RD |
9264 | wxPyEndAllowThreads(__tstate); |
9265 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
9266 | } Py_INCREF(Py_None); |
9267 | _resultobj = Py_None; | |
9268 | return _resultobj; | |
9269 | } | |
9270 | ||
9271 | #define wxStyledTextEvent_SetPosition(_swigobj,_swigarg0) (_swigobj->SetPosition(_swigarg0)) | |
9272 | static PyObject *_wrap_wxStyledTextEvent_SetPosition(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9273 | PyObject * _resultobj; | |
9274 | wxStyledTextEvent * _arg0; | |
9275 | int _arg1; | |
9276 | PyObject * _argo0 = 0; | |
9277 | char *_kwnames[] = { "self","pos", NULL }; | |
9278 | ||
9279 | self = self; | |
9280 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextEvent_SetPosition",_kwnames,&_argo0,&_arg1)) | |
9281 | return NULL; | |
9282 | if (_argo0) { | |
9283 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
9284 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextEvent_p")) { | |
9285 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextEvent_SetPosition. Expected _wxStyledTextEvent_p."); | |
9286 | return NULL; | |
9287 | } | |
9288 | } | |
9289 | { | |
0e2ff151 | 9290 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 9291 | wxStyledTextEvent_SetPosition(_arg0,_arg1); |
8a2fa5c8 | 9292 | |
0e2ff151 RD |
9293 | wxPyEndAllowThreads(__tstate); |
9294 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
9295 | } Py_INCREF(Py_None); |
9296 | _resultobj = Py_None; | |
9297 | return _resultobj; | |
9298 | } | |
9299 | ||
9300 | #define wxStyledTextEvent_SetKey(_swigobj,_swigarg0) (_swigobj->SetKey(_swigarg0)) | |
9301 | static PyObject *_wrap_wxStyledTextEvent_SetKey(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9302 | PyObject * _resultobj; | |
9303 | wxStyledTextEvent * _arg0; | |
9304 | int _arg1; | |
9305 | PyObject * _argo0 = 0; | |
9306 | char *_kwnames[] = { "self","k", NULL }; | |
9307 | ||
9308 | self = self; | |
9309 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextEvent_SetKey",_kwnames,&_argo0,&_arg1)) | |
9310 | return NULL; | |
9311 | if (_argo0) { | |
9312 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
9313 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextEvent_p")) { | |
9314 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextEvent_SetKey. Expected _wxStyledTextEvent_p."); | |
9315 | return NULL; | |
9316 | } | |
9317 | } | |
9318 | { | |
0e2ff151 | 9319 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 9320 | wxStyledTextEvent_SetKey(_arg0,_arg1); |
8a2fa5c8 | 9321 | |
0e2ff151 RD |
9322 | wxPyEndAllowThreads(__tstate); |
9323 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
9324 | } Py_INCREF(Py_None); |
9325 | _resultobj = Py_None; | |
9326 | return _resultobj; | |
9327 | } | |
9328 | ||
9329 | #define wxStyledTextEvent_SetModifiers(_swigobj,_swigarg0) (_swigobj->SetModifiers(_swigarg0)) | |
9330 | static PyObject *_wrap_wxStyledTextEvent_SetModifiers(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9331 | PyObject * _resultobj; | |
9332 | wxStyledTextEvent * _arg0; | |
9333 | int _arg1; | |
9334 | PyObject * _argo0 = 0; | |
9335 | char *_kwnames[] = { "self","m", NULL }; | |
9336 | ||
9337 | self = self; | |
9338 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextEvent_SetModifiers",_kwnames,&_argo0,&_arg1)) | |
9339 | return NULL; | |
9340 | if (_argo0) { | |
9341 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
9342 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextEvent_p")) { | |
9343 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextEvent_SetModifiers. Expected _wxStyledTextEvent_p."); | |
9344 | return NULL; | |
9345 | } | |
9346 | } | |
9347 | { | |
0e2ff151 | 9348 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 9349 | wxStyledTextEvent_SetModifiers(_arg0,_arg1); |
8a2fa5c8 | 9350 | |
0e2ff151 RD |
9351 | wxPyEndAllowThreads(__tstate); |
9352 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
9353 | } Py_INCREF(Py_None); |
9354 | _resultobj = Py_None; | |
9355 | return _resultobj; | |
9356 | } | |
9357 | ||
9358 | #define wxStyledTextEvent_SetModificationType(_swigobj,_swigarg0) (_swigobj->SetModificationType(_swigarg0)) | |
9359 | static PyObject *_wrap_wxStyledTextEvent_SetModificationType(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9360 | PyObject * _resultobj; | |
9361 | wxStyledTextEvent * _arg0; | |
9362 | int _arg1; | |
9363 | PyObject * _argo0 = 0; | |
9364 | char *_kwnames[] = { "self","t", NULL }; | |
9365 | ||
9366 | self = self; | |
9367 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextEvent_SetModificationType",_kwnames,&_argo0,&_arg1)) | |
9368 | return NULL; | |
9369 | if (_argo0) { | |
9370 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
9371 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextEvent_p")) { | |
9372 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextEvent_SetModificationType. Expected _wxStyledTextEvent_p."); | |
9373 | return NULL; | |
9374 | } | |
9375 | } | |
9376 | { | |
0e2ff151 | 9377 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 9378 | wxStyledTextEvent_SetModificationType(_arg0,_arg1); |
8a2fa5c8 | 9379 | |
0e2ff151 RD |
9380 | wxPyEndAllowThreads(__tstate); |
9381 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
9382 | } Py_INCREF(Py_None); |
9383 | _resultobj = Py_None; | |
9384 | return _resultobj; | |
9385 | } | |
9386 | ||
9387 | #define wxStyledTextEvent_SetText(_swigobj,_swigarg0) (_swigobj->SetText(_swigarg0)) | |
9388 | static PyObject *_wrap_wxStyledTextEvent_SetText(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9389 | PyObject * _resultobj; | |
9390 | wxStyledTextEvent * _arg0; | |
c3bfa1cb | 9391 | wxString * _arg1; |
8a2fa5c8 | 9392 | PyObject * _argo0 = 0; |
c3bfa1cb | 9393 | PyObject * _obj1 = 0; |
8a2fa5c8 RD |
9394 | char *_kwnames[] = { "self","t", NULL }; |
9395 | ||
9396 | self = self; | |
c3bfa1cb | 9397 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxStyledTextEvent_SetText",_kwnames,&_argo0,&_obj1)) |
8a2fa5c8 RD |
9398 | return NULL; |
9399 | if (_argo0) { | |
9400 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
9401 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextEvent_p")) { | |
9402 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextEvent_SetText. Expected _wxStyledTextEvent_p."); | |
9403 | return NULL; | |
9404 | } | |
9405 | } | |
c3bfa1cb RD |
9406 | { |
9407 | _arg1 = wxString_in_helper(_obj1); | |
9408 | if (_arg1 == NULL) | |
9409 | return NULL; | |
9410 | } | |
8a2fa5c8 | 9411 | { |
0e2ff151 | 9412 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c3bfa1cb | 9413 | wxStyledTextEvent_SetText(_arg0,*_arg1); |
8a2fa5c8 | 9414 | |
0e2ff151 RD |
9415 | wxPyEndAllowThreads(__tstate); |
9416 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
9417 | } Py_INCREF(Py_None); |
9418 | _resultobj = Py_None; | |
c3bfa1cb RD |
9419 | { |
9420 | if (_obj1) | |
9421 | delete _arg1; | |
9422 | } | |
8a2fa5c8 RD |
9423 | return _resultobj; |
9424 | } | |
9425 | ||
9426 | #define wxStyledTextEvent_SetLength(_swigobj,_swigarg0) (_swigobj->SetLength(_swigarg0)) | |
9427 | static PyObject *_wrap_wxStyledTextEvent_SetLength(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9428 | PyObject * _resultobj; | |
9429 | wxStyledTextEvent * _arg0; | |
9430 | int _arg1; | |
9431 | PyObject * _argo0 = 0; | |
9432 | char *_kwnames[] = { "self","len", NULL }; | |
9433 | ||
9434 | self = self; | |
9435 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextEvent_SetLength",_kwnames,&_argo0,&_arg1)) | |
9436 | return NULL; | |
9437 | if (_argo0) { | |
9438 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
9439 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextEvent_p")) { | |
9440 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextEvent_SetLength. Expected _wxStyledTextEvent_p."); | |
9441 | return NULL; | |
9442 | } | |
9443 | } | |
9444 | { | |
0e2ff151 | 9445 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 9446 | wxStyledTextEvent_SetLength(_arg0,_arg1); |
8a2fa5c8 | 9447 | |
0e2ff151 RD |
9448 | wxPyEndAllowThreads(__tstate); |
9449 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
9450 | } Py_INCREF(Py_None); |
9451 | _resultobj = Py_None; | |
9452 | return _resultobj; | |
9453 | } | |
9454 | ||
9455 | #define wxStyledTextEvent_SetLinesAdded(_swigobj,_swigarg0) (_swigobj->SetLinesAdded(_swigarg0)) | |
9456 | static PyObject *_wrap_wxStyledTextEvent_SetLinesAdded(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9457 | PyObject * _resultobj; | |
9458 | wxStyledTextEvent * _arg0; | |
9459 | int _arg1; | |
9460 | PyObject * _argo0 = 0; | |
9461 | char *_kwnames[] = { "self","num", NULL }; | |
9462 | ||
9463 | self = self; | |
9464 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextEvent_SetLinesAdded",_kwnames,&_argo0,&_arg1)) | |
9465 | return NULL; | |
9466 | if (_argo0) { | |
9467 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
9468 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextEvent_p")) { | |
9469 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextEvent_SetLinesAdded. Expected _wxStyledTextEvent_p."); | |
9470 | return NULL; | |
9471 | } | |
9472 | } | |
9473 | { | |
0e2ff151 | 9474 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 9475 | wxStyledTextEvent_SetLinesAdded(_arg0,_arg1); |
8a2fa5c8 | 9476 | |
0e2ff151 RD |
9477 | wxPyEndAllowThreads(__tstate); |
9478 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
9479 | } Py_INCREF(Py_None); |
9480 | _resultobj = Py_None; | |
9481 | return _resultobj; | |
9482 | } | |
9483 | ||
9484 | #define wxStyledTextEvent_SetLine(_swigobj,_swigarg0) (_swigobj->SetLine(_swigarg0)) | |
9485 | static PyObject *_wrap_wxStyledTextEvent_SetLine(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9486 | PyObject * _resultobj; | |
9487 | wxStyledTextEvent * _arg0; | |
9488 | int _arg1; | |
9489 | PyObject * _argo0 = 0; | |
9490 | char *_kwnames[] = { "self","val", NULL }; | |
9491 | ||
9492 | self = self; | |
9493 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextEvent_SetLine",_kwnames,&_argo0,&_arg1)) | |
9494 | return NULL; | |
9495 | if (_argo0) { | |
9496 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
9497 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextEvent_p")) { | |
9498 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextEvent_SetLine. Expected _wxStyledTextEvent_p."); | |
9499 | return NULL; | |
9500 | } | |
9501 | } | |
9502 | { | |
0e2ff151 | 9503 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 9504 | wxStyledTextEvent_SetLine(_arg0,_arg1); |
8a2fa5c8 | 9505 | |
0e2ff151 RD |
9506 | wxPyEndAllowThreads(__tstate); |
9507 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
9508 | } Py_INCREF(Py_None); |
9509 | _resultobj = Py_None; | |
9510 | return _resultobj; | |
9511 | } | |
9512 | ||
9513 | #define wxStyledTextEvent_SetFoldLevelNow(_swigobj,_swigarg0) (_swigobj->SetFoldLevelNow(_swigarg0)) | |
9514 | static PyObject *_wrap_wxStyledTextEvent_SetFoldLevelNow(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9515 | PyObject * _resultobj; | |
9516 | wxStyledTextEvent * _arg0; | |
9517 | int _arg1; | |
9518 | PyObject * _argo0 = 0; | |
9519 | char *_kwnames[] = { "self","val", NULL }; | |
9520 | ||
9521 | self = self; | |
9522 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextEvent_SetFoldLevelNow",_kwnames,&_argo0,&_arg1)) | |
9523 | return NULL; | |
9524 | if (_argo0) { | |
9525 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
9526 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextEvent_p")) { | |
9527 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextEvent_SetFoldLevelNow. Expected _wxStyledTextEvent_p."); | |
9528 | return NULL; | |
9529 | } | |
9530 | } | |
9531 | { | |
0e2ff151 | 9532 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 9533 | wxStyledTextEvent_SetFoldLevelNow(_arg0,_arg1); |
8a2fa5c8 | 9534 | |
0e2ff151 RD |
9535 | wxPyEndAllowThreads(__tstate); |
9536 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
9537 | } Py_INCREF(Py_None); |
9538 | _resultobj = Py_None; | |
9539 | return _resultobj; | |
9540 | } | |
9541 | ||
9542 | #define wxStyledTextEvent_SetFoldLevelPrev(_swigobj,_swigarg0) (_swigobj->SetFoldLevelPrev(_swigarg0)) | |
9543 | static PyObject *_wrap_wxStyledTextEvent_SetFoldLevelPrev(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9544 | PyObject * _resultobj; | |
9545 | wxStyledTextEvent * _arg0; | |
9546 | int _arg1; | |
9547 | PyObject * _argo0 = 0; | |
9548 | char *_kwnames[] = { "self","val", NULL }; | |
9549 | ||
9550 | self = self; | |
9551 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextEvent_SetFoldLevelPrev",_kwnames,&_argo0,&_arg1)) | |
9552 | return NULL; | |
9553 | if (_argo0) { | |
9554 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
9555 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextEvent_p")) { | |
9556 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextEvent_SetFoldLevelPrev. Expected _wxStyledTextEvent_p."); | |
9557 | return NULL; | |
9558 | } | |
9559 | } | |
9560 | { | |
0e2ff151 | 9561 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 9562 | wxStyledTextEvent_SetFoldLevelPrev(_arg0,_arg1); |
8a2fa5c8 | 9563 | |
0e2ff151 RD |
9564 | wxPyEndAllowThreads(__tstate); |
9565 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
9566 | } Py_INCREF(Py_None); |
9567 | _resultobj = Py_None; | |
9568 | return _resultobj; | |
9569 | } | |
9570 | ||
9571 | #define wxStyledTextEvent_SetMargin(_swigobj,_swigarg0) (_swigobj->SetMargin(_swigarg0)) | |
9572 | static PyObject *_wrap_wxStyledTextEvent_SetMargin(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9573 | PyObject * _resultobj; | |
9574 | wxStyledTextEvent * _arg0; | |
9575 | int _arg1; | |
9576 | PyObject * _argo0 = 0; | |
9577 | char *_kwnames[] = { "self","val", NULL }; | |
9578 | ||
9579 | self = self; | |
9580 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextEvent_SetMargin",_kwnames,&_argo0,&_arg1)) | |
9581 | return NULL; | |
9582 | if (_argo0) { | |
9583 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
9584 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextEvent_p")) { | |
9585 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextEvent_SetMargin. Expected _wxStyledTextEvent_p."); | |
9586 | return NULL; | |
9587 | } | |
9588 | } | |
9589 | { | |
0e2ff151 | 9590 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 9591 | wxStyledTextEvent_SetMargin(_arg0,_arg1); |
8a2fa5c8 | 9592 | |
0e2ff151 RD |
9593 | wxPyEndAllowThreads(__tstate); |
9594 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
9595 | } Py_INCREF(Py_None); |
9596 | _resultobj = Py_None; | |
9597 | return _resultobj; | |
9598 | } | |
9599 | ||
9600 | #define wxStyledTextEvent_SetMessage(_swigobj,_swigarg0) (_swigobj->SetMessage(_swigarg0)) | |
9601 | static PyObject *_wrap_wxStyledTextEvent_SetMessage(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9602 | PyObject * _resultobj; | |
9603 | wxStyledTextEvent * _arg0; | |
9604 | int _arg1; | |
9605 | PyObject * _argo0 = 0; | |
9606 | char *_kwnames[] = { "self","val", NULL }; | |
9607 | ||
9608 | self = self; | |
9609 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextEvent_SetMessage",_kwnames,&_argo0,&_arg1)) | |
9610 | return NULL; | |
9611 | if (_argo0) { | |
9612 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
9613 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextEvent_p")) { | |
9614 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextEvent_SetMessage. Expected _wxStyledTextEvent_p."); | |
9615 | return NULL; | |
9616 | } | |
9617 | } | |
9618 | { | |
0e2ff151 | 9619 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 9620 | wxStyledTextEvent_SetMessage(_arg0,_arg1); |
8a2fa5c8 | 9621 | |
0e2ff151 RD |
9622 | wxPyEndAllowThreads(__tstate); |
9623 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
9624 | } Py_INCREF(Py_None); |
9625 | _resultobj = Py_None; | |
9626 | return _resultobj; | |
9627 | } | |
9628 | ||
9629 | #define wxStyledTextEvent_SetWParam(_swigobj,_swigarg0) (_swigobj->SetWParam(_swigarg0)) | |
9630 | static PyObject *_wrap_wxStyledTextEvent_SetWParam(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9631 | PyObject * _resultobj; | |
9632 | wxStyledTextEvent * _arg0; | |
9633 | int _arg1; | |
9634 | PyObject * _argo0 = 0; | |
9635 | char *_kwnames[] = { "self","val", NULL }; | |
9636 | ||
9637 | self = self; | |
9638 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextEvent_SetWParam",_kwnames,&_argo0,&_arg1)) | |
9639 | return NULL; | |
9640 | if (_argo0) { | |
9641 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
9642 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextEvent_p")) { | |
9643 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextEvent_SetWParam. Expected _wxStyledTextEvent_p."); | |
9644 | return NULL; | |
9645 | } | |
9646 | } | |
9647 | { | |
0e2ff151 | 9648 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 9649 | wxStyledTextEvent_SetWParam(_arg0,_arg1); |
8a2fa5c8 | 9650 | |
0e2ff151 RD |
9651 | wxPyEndAllowThreads(__tstate); |
9652 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
9653 | } Py_INCREF(Py_None); |
9654 | _resultobj = Py_None; | |
9655 | return _resultobj; | |
9656 | } | |
9657 | ||
9658 | #define wxStyledTextEvent_SetLParam(_swigobj,_swigarg0) (_swigobj->SetLParam(_swigarg0)) | |
9659 | static PyObject *_wrap_wxStyledTextEvent_SetLParam(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9660 | PyObject * _resultobj; | |
9661 | wxStyledTextEvent * _arg0; | |
9662 | int _arg1; | |
9663 | PyObject * _argo0 = 0; | |
9664 | char *_kwnames[] = { "self","val", NULL }; | |
9665 | ||
9666 | self = self; | |
9667 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextEvent_SetLParam",_kwnames,&_argo0,&_arg1)) | |
9668 | return NULL; | |
9669 | if (_argo0) { | |
9670 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
9671 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextEvent_p")) { | |
9672 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextEvent_SetLParam. Expected _wxStyledTextEvent_p."); | |
9673 | return NULL; | |
9674 | } | |
9675 | } | |
9676 | { | |
0e2ff151 | 9677 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 9678 | wxStyledTextEvent_SetLParam(_arg0,_arg1); |
8a2fa5c8 | 9679 | |
0e2ff151 RD |
9680 | wxPyEndAllowThreads(__tstate); |
9681 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
9682 | } Py_INCREF(Py_None); |
9683 | _resultobj = Py_None; | |
9684 | return _resultobj; | |
9685 | } | |
9686 | ||
9687 | #define wxStyledTextEvent_SetListType(_swigobj,_swigarg0) (_swigobj->SetListType(_swigarg0)) | |
9688 | static PyObject *_wrap_wxStyledTextEvent_SetListType(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9689 | PyObject * _resultobj; | |
9690 | wxStyledTextEvent * _arg0; | |
9691 | int _arg1; | |
9692 | PyObject * _argo0 = 0; | |
9693 | char *_kwnames[] = { "self","val", NULL }; | |
9694 | ||
9695 | self = self; | |
9696 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextEvent_SetListType",_kwnames,&_argo0,&_arg1)) | |
9697 | return NULL; | |
9698 | if (_argo0) { | |
9699 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
9700 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextEvent_p")) { | |
9701 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextEvent_SetListType. Expected _wxStyledTextEvent_p."); | |
9702 | return NULL; | |
9703 | } | |
9704 | } | |
9705 | { | |
0e2ff151 | 9706 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 9707 | wxStyledTextEvent_SetListType(_arg0,_arg1); |
8a2fa5c8 | 9708 | |
0e2ff151 RD |
9709 | wxPyEndAllowThreads(__tstate); |
9710 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
9711 | } Py_INCREF(Py_None); |
9712 | _resultobj = Py_None; | |
9713 | return _resultobj; | |
9714 | } | |
9715 | ||
9716 | #define wxStyledTextEvent_SetX(_swigobj,_swigarg0) (_swigobj->SetX(_swigarg0)) | |
9717 | static PyObject *_wrap_wxStyledTextEvent_SetX(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9718 | PyObject * _resultobj; | |
9719 | wxStyledTextEvent * _arg0; | |
9720 | int _arg1; | |
9721 | PyObject * _argo0 = 0; | |
9722 | char *_kwnames[] = { "self","val", NULL }; | |
9723 | ||
9724 | self = self; | |
9725 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextEvent_SetX",_kwnames,&_argo0,&_arg1)) | |
9726 | return NULL; | |
9727 | if (_argo0) { | |
9728 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
9729 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextEvent_p")) { | |
9730 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextEvent_SetX. Expected _wxStyledTextEvent_p."); | |
9731 | return NULL; | |
9732 | } | |
9733 | } | |
9734 | { | |
0e2ff151 | 9735 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 9736 | wxStyledTextEvent_SetX(_arg0,_arg1); |
8a2fa5c8 | 9737 | |
0e2ff151 RD |
9738 | wxPyEndAllowThreads(__tstate); |
9739 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
9740 | } Py_INCREF(Py_None); |
9741 | _resultobj = Py_None; | |
9742 | return _resultobj; | |
9743 | } | |
9744 | ||
9745 | #define wxStyledTextEvent_SetY(_swigobj,_swigarg0) (_swigobj->SetY(_swigarg0)) | |
9746 | static PyObject *_wrap_wxStyledTextEvent_SetY(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9747 | PyObject * _resultobj; | |
9748 | wxStyledTextEvent * _arg0; | |
9749 | int _arg1; | |
9750 | PyObject * _argo0 = 0; | |
9751 | char *_kwnames[] = { "self","val", NULL }; | |
9752 | ||
9753 | self = self; | |
9754 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextEvent_SetY",_kwnames,&_argo0,&_arg1)) | |
9755 | return NULL; | |
9756 | if (_argo0) { | |
9757 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
9758 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextEvent_p")) { | |
9759 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextEvent_SetY. Expected _wxStyledTextEvent_p."); | |
9760 | return NULL; | |
9761 | } | |
9762 | } | |
9763 | { | |
0e2ff151 | 9764 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 9765 | wxStyledTextEvent_SetY(_arg0,_arg1); |
8a2fa5c8 | 9766 | |
0e2ff151 RD |
9767 | wxPyEndAllowThreads(__tstate); |
9768 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
9769 | } Py_INCREF(Py_None); |
9770 | _resultobj = Py_None; | |
9771 | return _resultobj; | |
9772 | } | |
9773 | ||
6abe8375 RD |
9774 | #define wxStyledTextEvent_SetDragText(_swigobj,_swigarg0) (_swigobj->SetDragText(_swigarg0)) |
9775 | static PyObject *_wrap_wxStyledTextEvent_SetDragText(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9776 | PyObject * _resultobj; | |
9777 | wxStyledTextEvent * _arg0; | |
9778 | wxString * _arg1; | |
9779 | PyObject * _argo0 = 0; | |
9780 | PyObject * _obj1 = 0; | |
9781 | char *_kwnames[] = { "self","val", NULL }; | |
9782 | ||
9783 | self = self; | |
9784 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxStyledTextEvent_SetDragText",_kwnames,&_argo0,&_obj1)) | |
9785 | return NULL; | |
9786 | if (_argo0) { | |
9787 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
9788 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextEvent_p")) { | |
9789 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextEvent_SetDragText. Expected _wxStyledTextEvent_p."); | |
9790 | return NULL; | |
9791 | } | |
9792 | } | |
9793 | { | |
6824d4f9 RD |
9794 | _arg1 = wxString_in_helper(_obj1); |
9795 | if (_arg1 == NULL) | |
6abe8375 | 9796 | return NULL; |
6abe8375 RD |
9797 | } |
9798 | { | |
9799 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6824d4f9 | 9800 | wxStyledTextEvent_SetDragText(_arg0,*_arg1); |
6abe8375 RD |
9801 | |
9802 | wxPyEndAllowThreads(__tstate); | |
9803 | if (PyErr_Occurred()) return NULL; | |
9804 | } Py_INCREF(Py_None); | |
9805 | _resultobj = Py_None; | |
9806 | { | |
9807 | if (_obj1) | |
9808 | delete _arg1; | |
9809 | } | |
9810 | return _resultobj; | |
9811 | } | |
9812 | ||
9813 | #define wxStyledTextEvent_SetDragAllowMove(_swigobj,_swigarg0) (_swigobj->SetDragAllowMove(_swigarg0)) | |
9814 | static PyObject *_wrap_wxStyledTextEvent_SetDragAllowMove(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9815 | PyObject * _resultobj; | |
9816 | wxStyledTextEvent * _arg0; | |
9817 | bool _arg1; | |
9818 | PyObject * _argo0 = 0; | |
9819 | int tempbool1; | |
9820 | char *_kwnames[] = { "self","val", NULL }; | |
9821 | ||
9822 | self = self; | |
9823 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextEvent_SetDragAllowMove",_kwnames,&_argo0,&tempbool1)) | |
9824 | return NULL; | |
9825 | if (_argo0) { | |
9826 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
9827 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextEvent_p")) { | |
9828 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextEvent_SetDragAllowMove. Expected _wxStyledTextEvent_p."); | |
9829 | return NULL; | |
9830 | } | |
9831 | } | |
9832 | _arg1 = (bool ) tempbool1; | |
9833 | { | |
9834 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6824d4f9 | 9835 | wxStyledTextEvent_SetDragAllowMove(_arg0,_arg1); |
6abe8375 RD |
9836 | |
9837 | wxPyEndAllowThreads(__tstate); | |
9838 | if (PyErr_Occurred()) return NULL; | |
9839 | } Py_INCREF(Py_None); | |
9840 | _resultobj = Py_None; | |
9841 | return _resultobj; | |
9842 | } | |
9843 | ||
9844 | #define wxStyledTextEvent_SetDragResult(_swigobj,_swigarg0) (_swigobj->SetDragResult(_swigarg0)) | |
9845 | static PyObject *_wrap_wxStyledTextEvent_SetDragResult(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9846 | PyObject * _resultobj; | |
9847 | wxStyledTextEvent * _arg0; | |
9848 | wxDragResult * _arg1; | |
9849 | PyObject * _argo0 = 0; | |
9850 | PyObject * _argo1 = 0; | |
9851 | char *_kwnames[] = { "self","val", NULL }; | |
9852 | ||
9853 | self = self; | |
9854 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxStyledTextEvent_SetDragResult",_kwnames,&_argo0,&_argo1)) | |
9855 | return NULL; | |
9856 | if (_argo0) { | |
9857 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
9858 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextEvent_p")) { | |
9859 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextEvent_SetDragResult. Expected _wxStyledTextEvent_p."); | |
9860 | return NULL; | |
9861 | } | |
9862 | } | |
9863 | if (_argo1) { | |
9864 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
9865 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDragResult_p")) { | |
9866 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxStyledTextEvent_SetDragResult. Expected _wxDragResult_p."); | |
9867 | return NULL; | |
9868 | } | |
9869 | } | |
9870 | { | |
9871 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6824d4f9 | 9872 | wxStyledTextEvent_SetDragResult(_arg0,*_arg1); |
6abe8375 RD |
9873 | |
9874 | wxPyEndAllowThreads(__tstate); | |
9875 | if (PyErr_Occurred()) return NULL; | |
9876 | } Py_INCREF(Py_None); | |
9877 | _resultobj = Py_None; | |
9878 | return _resultobj; | |
9879 | } | |
9880 | ||
8a2fa5c8 RD |
9881 | #define wxStyledTextEvent_GetPosition(_swigobj) (_swigobj->GetPosition()) |
9882 | static PyObject *_wrap_wxStyledTextEvent_GetPosition(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9883 | PyObject * _resultobj; | |
9884 | int _result; | |
9885 | wxStyledTextEvent * _arg0; | |
9886 | PyObject * _argo0 = 0; | |
9887 | char *_kwnames[] = { "self", NULL }; | |
9888 | ||
9889 | self = self; | |
9890 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextEvent_GetPosition",_kwnames,&_argo0)) | |
9891 | return NULL; | |
9892 | if (_argo0) { | |
9893 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
9894 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextEvent_p")) { | |
9895 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextEvent_GetPosition. Expected _wxStyledTextEvent_p."); | |
9896 | return NULL; | |
9897 | } | |
9898 | } | |
9899 | { | |
0e2ff151 | 9900 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 9901 | _result = (int )wxStyledTextEvent_GetPosition(_arg0); |
8a2fa5c8 | 9902 | |
0e2ff151 RD |
9903 | wxPyEndAllowThreads(__tstate); |
9904 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
9905 | } _resultobj = Py_BuildValue("i",_result); |
9906 | return _resultobj; | |
9907 | } | |
9908 | ||
9909 | #define wxStyledTextEvent_GetKey(_swigobj) (_swigobj->GetKey()) | |
9910 | static PyObject *_wrap_wxStyledTextEvent_GetKey(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9911 | PyObject * _resultobj; | |
9912 | int _result; | |
9913 | wxStyledTextEvent * _arg0; | |
9914 | PyObject * _argo0 = 0; | |
9915 | char *_kwnames[] = { "self", NULL }; | |
9916 | ||
9917 | self = self; | |
9918 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextEvent_GetKey",_kwnames,&_argo0)) | |
9919 | return NULL; | |
9920 | if (_argo0) { | |
9921 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
9922 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextEvent_p")) { | |
9923 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextEvent_GetKey. Expected _wxStyledTextEvent_p."); | |
9924 | return NULL; | |
9925 | } | |
9926 | } | |
9927 | { | |
0e2ff151 | 9928 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 9929 | _result = (int )wxStyledTextEvent_GetKey(_arg0); |
8a2fa5c8 | 9930 | |
0e2ff151 RD |
9931 | wxPyEndAllowThreads(__tstate); |
9932 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
9933 | } _resultobj = Py_BuildValue("i",_result); |
9934 | return _resultobj; | |
9935 | } | |
9936 | ||
9937 | #define wxStyledTextEvent_GetModifiers(_swigobj) (_swigobj->GetModifiers()) | |
9938 | static PyObject *_wrap_wxStyledTextEvent_GetModifiers(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9939 | PyObject * _resultobj; | |
9940 | int _result; | |
9941 | wxStyledTextEvent * _arg0; | |
9942 | PyObject * _argo0 = 0; | |
9943 | char *_kwnames[] = { "self", NULL }; | |
9944 | ||
9945 | self = self; | |
9946 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextEvent_GetModifiers",_kwnames,&_argo0)) | |
9947 | return NULL; | |
9948 | if (_argo0) { | |
9949 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
9950 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextEvent_p")) { | |
9951 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextEvent_GetModifiers. Expected _wxStyledTextEvent_p."); | |
9952 | return NULL; | |
9953 | } | |
9954 | } | |
9955 | { | |
0e2ff151 | 9956 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 9957 | _result = (int )wxStyledTextEvent_GetModifiers(_arg0); |
8a2fa5c8 | 9958 | |
0e2ff151 RD |
9959 | wxPyEndAllowThreads(__tstate); |
9960 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
9961 | } _resultobj = Py_BuildValue("i",_result); |
9962 | return _resultobj; | |
9963 | } | |
9964 | ||
9965 | #define wxStyledTextEvent_GetModificationType(_swigobj) (_swigobj->GetModificationType()) | |
9966 | static PyObject *_wrap_wxStyledTextEvent_GetModificationType(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9967 | PyObject * _resultobj; | |
9968 | int _result; | |
9969 | wxStyledTextEvent * _arg0; | |
9970 | PyObject * _argo0 = 0; | |
9971 | char *_kwnames[] = { "self", NULL }; | |
9972 | ||
9973 | self = self; | |
9974 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextEvent_GetModificationType",_kwnames,&_argo0)) | |
9975 | return NULL; | |
9976 | if (_argo0) { | |
9977 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
9978 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextEvent_p")) { | |
9979 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextEvent_GetModificationType. Expected _wxStyledTextEvent_p."); | |
9980 | return NULL; | |
9981 | } | |
9982 | } | |
9983 | { | |
0e2ff151 | 9984 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 9985 | _result = (int )wxStyledTextEvent_GetModificationType(_arg0); |
8a2fa5c8 | 9986 | |
0e2ff151 RD |
9987 | wxPyEndAllowThreads(__tstate); |
9988 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
9989 | } _resultobj = Py_BuildValue("i",_result); |
9990 | return _resultobj; | |
9991 | } | |
9992 | ||
9993 | #define wxStyledTextEvent_GetText(_swigobj) (_swigobj->GetText()) | |
9994 | static PyObject *_wrap_wxStyledTextEvent_GetText(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9995 | PyObject * _resultobj; | |
9996 | wxString * _result; | |
9997 | wxStyledTextEvent * _arg0; | |
9998 | PyObject * _argo0 = 0; | |
9999 | char *_kwnames[] = { "self", NULL }; | |
10000 | ||
10001 | self = self; | |
10002 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextEvent_GetText",_kwnames,&_argo0)) | |
10003 | return NULL; | |
10004 | if (_argo0) { | |
10005 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
10006 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextEvent_p")) { | |
10007 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextEvent_GetText. Expected _wxStyledTextEvent_p."); | |
10008 | return NULL; | |
10009 | } | |
10010 | } | |
10011 | { | |
0e2ff151 | 10012 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 10013 | _result = new wxString (wxStyledTextEvent_GetText(_arg0)); |
8a2fa5c8 | 10014 | |
0e2ff151 RD |
10015 | wxPyEndAllowThreads(__tstate); |
10016 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 | 10017 | }{ |
6824d4f9 RD |
10018 | #if wxUSE_UNICODE |
10019 | _resultobj = PyUnicode_FromUnicode(_result->c_str(), _result->Len()); | |
10020 | #else | |
8a2fa5c8 | 10021 | _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len()); |
6824d4f9 | 10022 | #endif |
8a2fa5c8 RD |
10023 | } |
10024 | { | |
10025 | delete _result; | |
10026 | } | |
10027 | return _resultobj; | |
10028 | } | |
10029 | ||
10030 | #define wxStyledTextEvent_GetLength(_swigobj) (_swigobj->GetLength()) | |
10031 | static PyObject *_wrap_wxStyledTextEvent_GetLength(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10032 | PyObject * _resultobj; | |
10033 | int _result; | |
10034 | wxStyledTextEvent * _arg0; | |
10035 | PyObject * _argo0 = 0; | |
10036 | char *_kwnames[] = { "self", NULL }; | |
10037 | ||
10038 | self = self; | |
10039 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextEvent_GetLength",_kwnames,&_argo0)) | |
10040 | return NULL; | |
10041 | if (_argo0) { | |
10042 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
10043 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextEvent_p")) { | |
10044 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextEvent_GetLength. Expected _wxStyledTextEvent_p."); | |
10045 | return NULL; | |
10046 | } | |
10047 | } | |
10048 | { | |
0e2ff151 | 10049 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 10050 | _result = (int )wxStyledTextEvent_GetLength(_arg0); |
8a2fa5c8 | 10051 | |
0e2ff151 RD |
10052 | wxPyEndAllowThreads(__tstate); |
10053 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
10054 | } _resultobj = Py_BuildValue("i",_result); |
10055 | return _resultobj; | |
10056 | } | |
10057 | ||
10058 | #define wxStyledTextEvent_GetLinesAdded(_swigobj) (_swigobj->GetLinesAdded()) | |
10059 | static PyObject *_wrap_wxStyledTextEvent_GetLinesAdded(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10060 | PyObject * _resultobj; | |
10061 | int _result; | |
10062 | wxStyledTextEvent * _arg0; | |
10063 | PyObject * _argo0 = 0; | |
10064 | char *_kwnames[] = { "self", NULL }; | |
10065 | ||
10066 | self = self; | |
10067 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextEvent_GetLinesAdded",_kwnames,&_argo0)) | |
10068 | return NULL; | |
10069 | if (_argo0) { | |
10070 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
10071 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextEvent_p")) { | |
10072 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextEvent_GetLinesAdded. Expected _wxStyledTextEvent_p."); | |
10073 | return NULL; | |
10074 | } | |
10075 | } | |
10076 | { | |
0e2ff151 | 10077 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 10078 | _result = (int )wxStyledTextEvent_GetLinesAdded(_arg0); |
8a2fa5c8 | 10079 | |
0e2ff151 RD |
10080 | wxPyEndAllowThreads(__tstate); |
10081 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
10082 | } _resultobj = Py_BuildValue("i",_result); |
10083 | return _resultobj; | |
10084 | } | |
10085 | ||
10086 | #define wxStyledTextEvent_GetLine(_swigobj) (_swigobj->GetLine()) | |
10087 | static PyObject *_wrap_wxStyledTextEvent_GetLine(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10088 | PyObject * _resultobj; | |
10089 | int _result; | |
10090 | wxStyledTextEvent * _arg0; | |
10091 | PyObject * _argo0 = 0; | |
10092 | char *_kwnames[] = { "self", NULL }; | |
10093 | ||
10094 | self = self; | |
10095 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextEvent_GetLine",_kwnames,&_argo0)) | |
10096 | return NULL; | |
10097 | if (_argo0) { | |
10098 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
10099 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextEvent_p")) { | |
10100 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextEvent_GetLine. Expected _wxStyledTextEvent_p."); | |
10101 | return NULL; | |
10102 | } | |
10103 | } | |
10104 | { | |
0e2ff151 | 10105 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 10106 | _result = (int )wxStyledTextEvent_GetLine(_arg0); |
8a2fa5c8 | 10107 | |
0e2ff151 RD |
10108 | wxPyEndAllowThreads(__tstate); |
10109 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
10110 | } _resultobj = Py_BuildValue("i",_result); |
10111 | return _resultobj; | |
10112 | } | |
10113 | ||
10114 | #define wxStyledTextEvent_GetFoldLevelNow(_swigobj) (_swigobj->GetFoldLevelNow()) | |
10115 | static PyObject *_wrap_wxStyledTextEvent_GetFoldLevelNow(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10116 | PyObject * _resultobj; | |
10117 | int _result; | |
10118 | wxStyledTextEvent * _arg0; | |
10119 | PyObject * _argo0 = 0; | |
10120 | char *_kwnames[] = { "self", NULL }; | |
10121 | ||
10122 | self = self; | |
10123 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextEvent_GetFoldLevelNow",_kwnames,&_argo0)) | |
10124 | return NULL; | |
10125 | if (_argo0) { | |
10126 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
10127 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextEvent_p")) { | |
10128 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextEvent_GetFoldLevelNow. Expected _wxStyledTextEvent_p."); | |
10129 | return NULL; | |
10130 | } | |
10131 | } | |
10132 | { | |
0e2ff151 | 10133 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 10134 | _result = (int )wxStyledTextEvent_GetFoldLevelNow(_arg0); |
8a2fa5c8 | 10135 | |
0e2ff151 RD |
10136 | wxPyEndAllowThreads(__tstate); |
10137 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
10138 | } _resultobj = Py_BuildValue("i",_result); |
10139 | return _resultobj; | |
10140 | } | |
10141 | ||
10142 | #define wxStyledTextEvent_GetFoldLevelPrev(_swigobj) (_swigobj->GetFoldLevelPrev()) | |
10143 | static PyObject *_wrap_wxStyledTextEvent_GetFoldLevelPrev(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10144 | PyObject * _resultobj; | |
10145 | int _result; | |
10146 | wxStyledTextEvent * _arg0; | |
10147 | PyObject * _argo0 = 0; | |
10148 | char *_kwnames[] = { "self", NULL }; | |
10149 | ||
10150 | self = self; | |
10151 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextEvent_GetFoldLevelPrev",_kwnames,&_argo0)) | |
10152 | return NULL; | |
10153 | if (_argo0) { | |
10154 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
10155 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextEvent_p")) { | |
10156 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextEvent_GetFoldLevelPrev. Expected _wxStyledTextEvent_p."); | |
10157 | return NULL; | |
10158 | } | |
10159 | } | |
10160 | { | |
0e2ff151 | 10161 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 10162 | _result = (int )wxStyledTextEvent_GetFoldLevelPrev(_arg0); |
8a2fa5c8 | 10163 | |
0e2ff151 RD |
10164 | wxPyEndAllowThreads(__tstate); |
10165 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
10166 | } _resultobj = Py_BuildValue("i",_result); |
10167 | return _resultobj; | |
10168 | } | |
10169 | ||
10170 | #define wxStyledTextEvent_GetMargin(_swigobj) (_swigobj->GetMargin()) | |
10171 | static PyObject *_wrap_wxStyledTextEvent_GetMargin(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10172 | PyObject * _resultobj; | |
10173 | int _result; | |
10174 | wxStyledTextEvent * _arg0; | |
10175 | PyObject * _argo0 = 0; | |
10176 | char *_kwnames[] = { "self", NULL }; | |
10177 | ||
10178 | self = self; | |
10179 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextEvent_GetMargin",_kwnames,&_argo0)) | |
10180 | return NULL; | |
10181 | if (_argo0) { | |
10182 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
10183 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextEvent_p")) { | |
10184 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextEvent_GetMargin. Expected _wxStyledTextEvent_p."); | |
10185 | return NULL; | |
10186 | } | |
10187 | } | |
10188 | { | |
0e2ff151 | 10189 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 10190 | _result = (int )wxStyledTextEvent_GetMargin(_arg0); |
8a2fa5c8 | 10191 | |
0e2ff151 RD |
10192 | wxPyEndAllowThreads(__tstate); |
10193 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
10194 | } _resultobj = Py_BuildValue("i",_result); |
10195 | return _resultobj; | |
10196 | } | |
10197 | ||
10198 | #define wxStyledTextEvent_GetMessage(_swigobj) (_swigobj->GetMessage()) | |
10199 | static PyObject *_wrap_wxStyledTextEvent_GetMessage(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10200 | PyObject * _resultobj; | |
10201 | int _result; | |
10202 | wxStyledTextEvent * _arg0; | |
10203 | PyObject * _argo0 = 0; | |
10204 | char *_kwnames[] = { "self", NULL }; | |
10205 | ||
10206 | self = self; | |
10207 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextEvent_GetMessage",_kwnames,&_argo0)) | |
10208 | return NULL; | |
10209 | if (_argo0) { | |
10210 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
10211 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextEvent_p")) { | |
10212 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextEvent_GetMessage. Expected _wxStyledTextEvent_p."); | |
10213 | return NULL; | |
10214 | } | |
10215 | } | |
10216 | { | |
0e2ff151 | 10217 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 10218 | _result = (int )wxStyledTextEvent_GetMessage(_arg0); |
8a2fa5c8 | 10219 | |
0e2ff151 RD |
10220 | wxPyEndAllowThreads(__tstate); |
10221 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
10222 | } _resultobj = Py_BuildValue("i",_result); |
10223 | return _resultobj; | |
10224 | } | |
10225 | ||
10226 | #define wxStyledTextEvent_GetWParam(_swigobj) (_swigobj->GetWParam()) | |
10227 | static PyObject *_wrap_wxStyledTextEvent_GetWParam(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10228 | PyObject * _resultobj; | |
10229 | int _result; | |
10230 | wxStyledTextEvent * _arg0; | |
10231 | PyObject * _argo0 = 0; | |
10232 | char *_kwnames[] = { "self", NULL }; | |
10233 | ||
10234 | self = self; | |
10235 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextEvent_GetWParam",_kwnames,&_argo0)) | |
10236 | return NULL; | |
10237 | if (_argo0) { | |
10238 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
10239 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextEvent_p")) { | |
10240 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextEvent_GetWParam. Expected _wxStyledTextEvent_p."); | |
10241 | return NULL; | |
10242 | } | |
10243 | } | |
10244 | { | |
0e2ff151 | 10245 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 10246 | _result = (int )wxStyledTextEvent_GetWParam(_arg0); |
8a2fa5c8 | 10247 | |
0e2ff151 RD |
10248 | wxPyEndAllowThreads(__tstate); |
10249 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
10250 | } _resultobj = Py_BuildValue("i",_result); |
10251 | return _resultobj; | |
10252 | } | |
10253 | ||
10254 | #define wxStyledTextEvent_GetLParam(_swigobj) (_swigobj->GetLParam()) | |
10255 | static PyObject *_wrap_wxStyledTextEvent_GetLParam(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10256 | PyObject * _resultobj; | |
10257 | int _result; | |
10258 | wxStyledTextEvent * _arg0; | |
10259 | PyObject * _argo0 = 0; | |
10260 | char *_kwnames[] = { "self", NULL }; | |
10261 | ||
10262 | self = self; | |
10263 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextEvent_GetLParam",_kwnames,&_argo0)) | |
10264 | return NULL; | |
10265 | if (_argo0) { | |
10266 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
10267 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextEvent_p")) { | |
10268 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextEvent_GetLParam. Expected _wxStyledTextEvent_p."); | |
10269 | return NULL; | |
10270 | } | |
10271 | } | |
10272 | { | |
0e2ff151 | 10273 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 10274 | _result = (int )wxStyledTextEvent_GetLParam(_arg0); |
8a2fa5c8 | 10275 | |
0e2ff151 RD |
10276 | wxPyEndAllowThreads(__tstate); |
10277 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
10278 | } _resultobj = Py_BuildValue("i",_result); |
10279 | return _resultobj; | |
10280 | } | |
10281 | ||
10282 | #define wxStyledTextEvent_GetListType(_swigobj) (_swigobj->GetListType()) | |
10283 | static PyObject *_wrap_wxStyledTextEvent_GetListType(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10284 | PyObject * _resultobj; | |
10285 | int _result; | |
10286 | wxStyledTextEvent * _arg0; | |
10287 | PyObject * _argo0 = 0; | |
10288 | char *_kwnames[] = { "self", NULL }; | |
10289 | ||
10290 | self = self; | |
10291 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextEvent_GetListType",_kwnames,&_argo0)) | |
10292 | return NULL; | |
10293 | if (_argo0) { | |
10294 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
10295 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextEvent_p")) { | |
10296 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextEvent_GetListType. Expected _wxStyledTextEvent_p."); | |
10297 | return NULL; | |
10298 | } | |
10299 | } | |
10300 | { | |
0e2ff151 | 10301 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 10302 | _result = (int )wxStyledTextEvent_GetListType(_arg0); |
8a2fa5c8 | 10303 | |
0e2ff151 RD |
10304 | wxPyEndAllowThreads(__tstate); |
10305 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
10306 | } _resultobj = Py_BuildValue("i",_result); |
10307 | return _resultobj; | |
10308 | } | |
10309 | ||
10310 | #define wxStyledTextEvent_GetX(_swigobj) (_swigobj->GetX()) | |
10311 | static PyObject *_wrap_wxStyledTextEvent_GetX(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10312 | PyObject * _resultobj; | |
10313 | int _result; | |
10314 | wxStyledTextEvent * _arg0; | |
10315 | PyObject * _argo0 = 0; | |
10316 | char *_kwnames[] = { "self", NULL }; | |
10317 | ||
10318 | self = self; | |
10319 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextEvent_GetX",_kwnames,&_argo0)) | |
10320 | return NULL; | |
10321 | if (_argo0) { | |
10322 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
10323 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextEvent_p")) { | |
10324 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextEvent_GetX. Expected _wxStyledTextEvent_p."); | |
10325 | return NULL; | |
10326 | } | |
10327 | } | |
10328 | { | |
0e2ff151 | 10329 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 10330 | _result = (int )wxStyledTextEvent_GetX(_arg0); |
8a2fa5c8 | 10331 | |
0e2ff151 RD |
10332 | wxPyEndAllowThreads(__tstate); |
10333 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
10334 | } _resultobj = Py_BuildValue("i",_result); |
10335 | return _resultobj; | |
10336 | } | |
10337 | ||
10338 | #define wxStyledTextEvent_GetY(_swigobj) (_swigobj->GetY()) | |
10339 | static PyObject *_wrap_wxStyledTextEvent_GetY(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10340 | PyObject * _resultobj; | |
10341 | int _result; | |
10342 | wxStyledTextEvent * _arg0; | |
10343 | PyObject * _argo0 = 0; | |
10344 | char *_kwnames[] = { "self", NULL }; | |
10345 | ||
10346 | self = self; | |
10347 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextEvent_GetY",_kwnames,&_argo0)) | |
10348 | return NULL; | |
10349 | if (_argo0) { | |
10350 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
10351 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextEvent_p")) { | |
10352 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextEvent_GetY. Expected _wxStyledTextEvent_p."); | |
10353 | return NULL; | |
10354 | } | |
10355 | } | |
10356 | { | |
0e2ff151 | 10357 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 10358 | _result = (int )wxStyledTextEvent_GetY(_arg0); |
8a2fa5c8 | 10359 | |
0e2ff151 RD |
10360 | wxPyEndAllowThreads(__tstate); |
10361 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
10362 | } _resultobj = Py_BuildValue("i",_result); |
10363 | return _resultobj; | |
10364 | } | |
10365 | ||
6abe8375 RD |
10366 | #define wxStyledTextEvent_GetDragText(_swigobj) (_swigobj->GetDragText()) |
10367 | static PyObject *_wrap_wxStyledTextEvent_GetDragText(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10368 | PyObject * _resultobj; | |
10369 | wxString * _result; | |
10370 | wxStyledTextEvent * _arg0; | |
10371 | PyObject * _argo0 = 0; | |
10372 | char *_kwnames[] = { "self", NULL }; | |
10373 | ||
10374 | self = self; | |
10375 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextEvent_GetDragText",_kwnames,&_argo0)) | |
10376 | return NULL; | |
10377 | if (_argo0) { | |
10378 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
10379 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextEvent_p")) { | |
10380 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextEvent_GetDragText. Expected _wxStyledTextEvent_p."); | |
10381 | return NULL; | |
10382 | } | |
10383 | } | |
10384 | { | |
10385 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6824d4f9 | 10386 | _result = new wxString (wxStyledTextEvent_GetDragText(_arg0)); |
6abe8375 RD |
10387 | |
10388 | wxPyEndAllowThreads(__tstate); | |
10389 | if (PyErr_Occurred()) return NULL; | |
10390 | }{ | |
6824d4f9 RD |
10391 | #if wxUSE_UNICODE |
10392 | _resultobj = PyUnicode_FromUnicode(_result->c_str(), _result->Len()); | |
10393 | #else | |
6abe8375 | 10394 | _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len()); |
6824d4f9 | 10395 | #endif |
6abe8375 RD |
10396 | } |
10397 | { | |
10398 | delete _result; | |
10399 | } | |
10400 | return _resultobj; | |
10401 | } | |
10402 | ||
10403 | #define wxStyledTextEvent_GetDragAllowMove(_swigobj) (_swigobj->GetDragAllowMove()) | |
10404 | static PyObject *_wrap_wxStyledTextEvent_GetDragAllowMove(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10405 | PyObject * _resultobj; | |
10406 | bool _result; | |
10407 | wxStyledTextEvent * _arg0; | |
10408 | PyObject * _argo0 = 0; | |
10409 | char *_kwnames[] = { "self", NULL }; | |
10410 | ||
10411 | self = self; | |
10412 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextEvent_GetDragAllowMove",_kwnames,&_argo0)) | |
10413 | return NULL; | |
10414 | if (_argo0) { | |
10415 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
10416 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextEvent_p")) { | |
10417 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextEvent_GetDragAllowMove. Expected _wxStyledTextEvent_p."); | |
10418 | return NULL; | |
10419 | } | |
10420 | } | |
10421 | { | |
10422 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6824d4f9 | 10423 | _result = (bool )wxStyledTextEvent_GetDragAllowMove(_arg0); |
6abe8375 RD |
10424 | |
10425 | wxPyEndAllowThreads(__tstate); | |
10426 | if (PyErr_Occurred()) return NULL; | |
10427 | } _resultobj = Py_BuildValue("i",_result); | |
10428 | return _resultobj; | |
10429 | } | |
10430 | ||
10431 | #define wxStyledTextEvent_GetDragResult(_swigobj) (_swigobj->GetDragResult()) | |
10432 | static PyObject *_wrap_wxStyledTextEvent_GetDragResult(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10433 | PyObject * _resultobj; | |
10434 | wxDragResult * _result; | |
10435 | wxStyledTextEvent * _arg0; | |
10436 | PyObject * _argo0 = 0; | |
10437 | char *_kwnames[] = { "self", NULL }; | |
10438 | char _ptemp[128]; | |
10439 | ||
10440 | self = self; | |
10441 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextEvent_GetDragResult",_kwnames,&_argo0)) | |
10442 | return NULL; | |
10443 | if (_argo0) { | |
10444 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
10445 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextEvent_p")) { | |
10446 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextEvent_GetDragResult. Expected _wxStyledTextEvent_p."); | |
10447 | return NULL; | |
10448 | } | |
10449 | } | |
10450 | { | |
10451 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6824d4f9 | 10452 | _result = new wxDragResult (wxStyledTextEvent_GetDragResult(_arg0)); |
6abe8375 RD |
10453 | |
10454 | wxPyEndAllowThreads(__tstate); | |
10455 | if (PyErr_Occurred()) return NULL; | |
10456 | } SWIG_MakePtr(_ptemp, (void *) _result,"_wxDragResult_p"); | |
10457 | _resultobj = Py_BuildValue("s",_ptemp); | |
10458 | return _resultobj; | |
10459 | } | |
10460 | ||
8a2fa5c8 RD |
10461 | #define wxStyledTextEvent_GetShift(_swigobj) (_swigobj->GetShift()) |
10462 | static PyObject *_wrap_wxStyledTextEvent_GetShift(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10463 | PyObject * _resultobj; | |
10464 | bool _result; | |
10465 | wxStyledTextEvent * _arg0; | |
10466 | PyObject * _argo0 = 0; | |
10467 | char *_kwnames[] = { "self", NULL }; | |
10468 | ||
10469 | self = self; | |
10470 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextEvent_GetShift",_kwnames,&_argo0)) | |
10471 | return NULL; | |
10472 | if (_argo0) { | |
10473 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
10474 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextEvent_p")) { | |
10475 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextEvent_GetShift. Expected _wxStyledTextEvent_p."); | |
10476 | return NULL; | |
10477 | } | |
10478 | } | |
10479 | { | |
0e2ff151 | 10480 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 10481 | _result = (bool )wxStyledTextEvent_GetShift(_arg0); |
8a2fa5c8 | 10482 | |
0e2ff151 RD |
10483 | wxPyEndAllowThreads(__tstate); |
10484 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
10485 | } _resultobj = Py_BuildValue("i",_result); |
10486 | return _resultobj; | |
10487 | } | |
10488 | ||
10489 | #define wxStyledTextEvent_GetControl(_swigobj) (_swigobj->GetControl()) | |
10490 | static PyObject *_wrap_wxStyledTextEvent_GetControl(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10491 | PyObject * _resultobj; | |
10492 | bool _result; | |
10493 | wxStyledTextEvent * _arg0; | |
10494 | PyObject * _argo0 = 0; | |
10495 | char *_kwnames[] = { "self", NULL }; | |
10496 | ||
10497 | self = self; | |
10498 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextEvent_GetControl",_kwnames,&_argo0)) | |
10499 | return NULL; | |
10500 | if (_argo0) { | |
10501 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
10502 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextEvent_p")) { | |
10503 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextEvent_GetControl. Expected _wxStyledTextEvent_p."); | |
10504 | return NULL; | |
10505 | } | |
10506 | } | |
10507 | { | |
0e2ff151 | 10508 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 10509 | _result = (bool )wxStyledTextEvent_GetControl(_arg0); |
8a2fa5c8 | 10510 | |
0e2ff151 RD |
10511 | wxPyEndAllowThreads(__tstate); |
10512 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
10513 | } _resultobj = Py_BuildValue("i",_result); |
10514 | return _resultobj; | |
10515 | } | |
10516 | ||
10517 | #define wxStyledTextEvent_GetAlt(_swigobj) (_swigobj->GetAlt()) | |
10518 | static PyObject *_wrap_wxStyledTextEvent_GetAlt(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10519 | PyObject * _resultobj; | |
10520 | bool _result; | |
10521 | wxStyledTextEvent * _arg0; | |
10522 | PyObject * _argo0 = 0; | |
10523 | char *_kwnames[] = { "self", NULL }; | |
10524 | ||
10525 | self = self; | |
10526 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextEvent_GetAlt",_kwnames,&_argo0)) | |
10527 | return NULL; | |
10528 | if (_argo0) { | |
10529 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
10530 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextEvent_p")) { | |
10531 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextEvent_GetAlt. Expected _wxStyledTextEvent_p."); | |
10532 | return NULL; | |
10533 | } | |
10534 | } | |
10535 | { | |
0e2ff151 | 10536 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 10537 | _result = (bool )wxStyledTextEvent_GetAlt(_arg0); |
8a2fa5c8 | 10538 | |
0e2ff151 RD |
10539 | wxPyEndAllowThreads(__tstate); |
10540 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
10541 | } _resultobj = Py_BuildValue("i",_result); |
10542 | return _resultobj; | |
10543 | } | |
10544 | ||
dbd3685c RD |
10545 | #define wxStyledTextEvent_Clone(_swigobj) (_swigobj->Clone()) |
10546 | static PyObject *_wrap_wxStyledTextEvent_Clone(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8a2fa5c8 | 10547 | PyObject * _resultobj; |
dbd3685c | 10548 | wxEvent * _result; |
8a2fa5c8 | 10549 | wxStyledTextEvent * _arg0; |
8a2fa5c8 | 10550 | PyObject * _argo0 = 0; |
dbd3685c RD |
10551 | char *_kwnames[] = { "self", NULL }; |
10552 | char _ptemp[128]; | |
8a2fa5c8 RD |
10553 | |
10554 | self = self; | |
dbd3685c | 10555 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextEvent_Clone",_kwnames,&_argo0)) |
8a2fa5c8 RD |
10556 | return NULL; |
10557 | if (_argo0) { | |
10558 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
10559 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextEvent_p")) { | |
dbd3685c | 10560 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextEvent_Clone. Expected _wxStyledTextEvent_p."); |
8a2fa5c8 RD |
10561 | return NULL; |
10562 | } | |
10563 | } | |
10564 | { | |
0e2ff151 | 10565 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 10566 | _result = (wxEvent *)wxStyledTextEvent_Clone(_arg0); |
8a2fa5c8 | 10567 | |
0e2ff151 RD |
10568 | wxPyEndAllowThreads(__tstate); |
10569 | if (PyErr_Occurred()) return NULL; | |
dbd3685c RD |
10570 | } if (_result) { |
10571 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxEvent_p"); | |
10572 | _resultobj = Py_BuildValue("s",_ptemp); | |
10573 | } else { | |
10574 | Py_INCREF(Py_None); | |
10575 | _resultobj = Py_None; | |
10576 | } | |
8a2fa5c8 RD |
10577 | return _resultobj; |
10578 | } | |
10579 | ||
10580 | static PyMethodDef stc_cMethods[] = { | |
dbd3685c | 10581 | { "wxStyledTextEvent_Clone", (PyCFunction) _wrap_wxStyledTextEvent_Clone, METH_VARARGS | METH_KEYWORDS }, |
8a2fa5c8 RD |
10582 | { "wxStyledTextEvent_GetAlt", (PyCFunction) _wrap_wxStyledTextEvent_GetAlt, METH_VARARGS | METH_KEYWORDS }, |
10583 | { "wxStyledTextEvent_GetControl", (PyCFunction) _wrap_wxStyledTextEvent_GetControl, METH_VARARGS | METH_KEYWORDS }, | |
10584 | { "wxStyledTextEvent_GetShift", (PyCFunction) _wrap_wxStyledTextEvent_GetShift, METH_VARARGS | METH_KEYWORDS }, | |
6abe8375 RD |
10585 | { "wxStyledTextEvent_GetDragResult", (PyCFunction) _wrap_wxStyledTextEvent_GetDragResult, METH_VARARGS | METH_KEYWORDS }, |
10586 | { "wxStyledTextEvent_GetDragAllowMove", (PyCFunction) _wrap_wxStyledTextEvent_GetDragAllowMove, METH_VARARGS | METH_KEYWORDS }, | |
10587 | { "wxStyledTextEvent_GetDragText", (PyCFunction) _wrap_wxStyledTextEvent_GetDragText, METH_VARARGS | METH_KEYWORDS }, | |
8a2fa5c8 RD |
10588 | { "wxStyledTextEvent_GetY", (PyCFunction) _wrap_wxStyledTextEvent_GetY, METH_VARARGS | METH_KEYWORDS }, |
10589 | { "wxStyledTextEvent_GetX", (PyCFunction) _wrap_wxStyledTextEvent_GetX, METH_VARARGS | METH_KEYWORDS }, | |
10590 | { "wxStyledTextEvent_GetListType", (PyCFunction) _wrap_wxStyledTextEvent_GetListType, METH_VARARGS | METH_KEYWORDS }, | |
10591 | { "wxStyledTextEvent_GetLParam", (PyCFunction) _wrap_wxStyledTextEvent_GetLParam, METH_VARARGS | METH_KEYWORDS }, | |
10592 | { "wxStyledTextEvent_GetWParam", (PyCFunction) _wrap_wxStyledTextEvent_GetWParam, METH_VARARGS | METH_KEYWORDS }, | |
10593 | { "wxStyledTextEvent_GetMessage", (PyCFunction) _wrap_wxStyledTextEvent_GetMessage, METH_VARARGS | METH_KEYWORDS }, | |
10594 | { "wxStyledTextEvent_GetMargin", (PyCFunction) _wrap_wxStyledTextEvent_GetMargin, METH_VARARGS | METH_KEYWORDS }, | |
10595 | { "wxStyledTextEvent_GetFoldLevelPrev", (PyCFunction) _wrap_wxStyledTextEvent_GetFoldLevelPrev, METH_VARARGS | METH_KEYWORDS }, | |
10596 | { "wxStyledTextEvent_GetFoldLevelNow", (PyCFunction) _wrap_wxStyledTextEvent_GetFoldLevelNow, METH_VARARGS | METH_KEYWORDS }, | |
10597 | { "wxStyledTextEvent_GetLine", (PyCFunction) _wrap_wxStyledTextEvent_GetLine, METH_VARARGS | METH_KEYWORDS }, | |
10598 | { "wxStyledTextEvent_GetLinesAdded", (PyCFunction) _wrap_wxStyledTextEvent_GetLinesAdded, METH_VARARGS | METH_KEYWORDS }, | |
10599 | { "wxStyledTextEvent_GetLength", (PyCFunction) _wrap_wxStyledTextEvent_GetLength, METH_VARARGS | METH_KEYWORDS }, | |
10600 | { "wxStyledTextEvent_GetText", (PyCFunction) _wrap_wxStyledTextEvent_GetText, METH_VARARGS | METH_KEYWORDS }, | |
10601 | { "wxStyledTextEvent_GetModificationType", (PyCFunction) _wrap_wxStyledTextEvent_GetModificationType, METH_VARARGS | METH_KEYWORDS }, | |
10602 | { "wxStyledTextEvent_GetModifiers", (PyCFunction) _wrap_wxStyledTextEvent_GetModifiers, METH_VARARGS | METH_KEYWORDS }, | |
10603 | { "wxStyledTextEvent_GetKey", (PyCFunction) _wrap_wxStyledTextEvent_GetKey, METH_VARARGS | METH_KEYWORDS }, | |
10604 | { "wxStyledTextEvent_GetPosition", (PyCFunction) _wrap_wxStyledTextEvent_GetPosition, METH_VARARGS | METH_KEYWORDS }, | |
6abe8375 RD |
10605 | { "wxStyledTextEvent_SetDragResult", (PyCFunction) _wrap_wxStyledTextEvent_SetDragResult, METH_VARARGS | METH_KEYWORDS }, |
10606 | { "wxStyledTextEvent_SetDragAllowMove", (PyCFunction) _wrap_wxStyledTextEvent_SetDragAllowMove, METH_VARARGS | METH_KEYWORDS }, | |
10607 | { "wxStyledTextEvent_SetDragText", (PyCFunction) _wrap_wxStyledTextEvent_SetDragText, METH_VARARGS | METH_KEYWORDS }, | |
8a2fa5c8 RD |
10608 | { "wxStyledTextEvent_SetY", (PyCFunction) _wrap_wxStyledTextEvent_SetY, METH_VARARGS | METH_KEYWORDS }, |
10609 | { "wxStyledTextEvent_SetX", (PyCFunction) _wrap_wxStyledTextEvent_SetX, METH_VARARGS | METH_KEYWORDS }, | |
10610 | { "wxStyledTextEvent_SetListType", (PyCFunction) _wrap_wxStyledTextEvent_SetListType, METH_VARARGS | METH_KEYWORDS }, | |
10611 | { "wxStyledTextEvent_SetLParam", (PyCFunction) _wrap_wxStyledTextEvent_SetLParam, METH_VARARGS | METH_KEYWORDS }, | |
10612 | { "wxStyledTextEvent_SetWParam", (PyCFunction) _wrap_wxStyledTextEvent_SetWParam, METH_VARARGS | METH_KEYWORDS }, | |
10613 | { "wxStyledTextEvent_SetMessage", (PyCFunction) _wrap_wxStyledTextEvent_SetMessage, METH_VARARGS | METH_KEYWORDS }, | |
10614 | { "wxStyledTextEvent_SetMargin", (PyCFunction) _wrap_wxStyledTextEvent_SetMargin, METH_VARARGS | METH_KEYWORDS }, | |
10615 | { "wxStyledTextEvent_SetFoldLevelPrev", (PyCFunction) _wrap_wxStyledTextEvent_SetFoldLevelPrev, METH_VARARGS | METH_KEYWORDS }, | |
10616 | { "wxStyledTextEvent_SetFoldLevelNow", (PyCFunction) _wrap_wxStyledTextEvent_SetFoldLevelNow, METH_VARARGS | METH_KEYWORDS }, | |
10617 | { "wxStyledTextEvent_SetLine", (PyCFunction) _wrap_wxStyledTextEvent_SetLine, METH_VARARGS | METH_KEYWORDS }, | |
10618 | { "wxStyledTextEvent_SetLinesAdded", (PyCFunction) _wrap_wxStyledTextEvent_SetLinesAdded, METH_VARARGS | METH_KEYWORDS }, | |
10619 | { "wxStyledTextEvent_SetLength", (PyCFunction) _wrap_wxStyledTextEvent_SetLength, METH_VARARGS | METH_KEYWORDS }, | |
10620 | { "wxStyledTextEvent_SetText", (PyCFunction) _wrap_wxStyledTextEvent_SetText, METH_VARARGS | METH_KEYWORDS }, | |
10621 | { "wxStyledTextEvent_SetModificationType", (PyCFunction) _wrap_wxStyledTextEvent_SetModificationType, METH_VARARGS | METH_KEYWORDS }, | |
10622 | { "wxStyledTextEvent_SetModifiers", (PyCFunction) _wrap_wxStyledTextEvent_SetModifiers, METH_VARARGS | METH_KEYWORDS }, | |
10623 | { "wxStyledTextEvent_SetKey", (PyCFunction) _wrap_wxStyledTextEvent_SetKey, METH_VARARGS | METH_KEYWORDS }, | |
10624 | { "wxStyledTextEvent_SetPosition", (PyCFunction) _wrap_wxStyledTextEvent_SetPosition, METH_VARARGS | METH_KEYWORDS }, | |
10625 | { "delete_wxStyledTextEvent", (PyCFunction) _wrap_delete_wxStyledTextEvent, METH_VARARGS | METH_KEYWORDS }, | |
10626 | { "new_wxStyledTextEvent", (PyCFunction) _wrap_new_wxStyledTextEvent, METH_VARARGS | METH_KEYWORDS }, | |
40699168 RD |
10627 | { "wxStyledTextCtrl_SetLastKeydownProcessed", (PyCFunction) _wrap_wxStyledTextCtrl_SetLastKeydownProcessed, METH_VARARGS | METH_KEYWORDS }, |
10628 | { "wxStyledTextCtrl_GetLastKeydownProcessed", (PyCFunction) _wrap_wxStyledTextCtrl_GetLastKeydownProcessed, METH_VARARGS | METH_KEYWORDS }, | |
dbd3685c RD |
10629 | { "wxStyledTextCtrl_SetHScrollBar", (PyCFunction) _wrap_wxStyledTextCtrl_SetHScrollBar, METH_VARARGS | METH_KEYWORDS }, |
10630 | { "wxStyledTextCtrl_SetVScrollBar", (PyCFunction) _wrap_wxStyledTextCtrl_SetVScrollBar, METH_VARARGS | METH_KEYWORDS }, | |
8a2fa5c8 RD |
10631 | { "wxStyledTextCtrl_SendMsg", (PyCFunction) _wrap_wxStyledTextCtrl_SendMsg, METH_VARARGS | METH_KEYWORDS }, |
10632 | { "wxStyledTextCtrl_ScrollToColumn", (PyCFunction) _wrap_wxStyledTextCtrl_ScrollToColumn, METH_VARARGS | METH_KEYWORDS }, | |
10633 | { "wxStyledTextCtrl_ScrollToLine", (PyCFunction) _wrap_wxStyledTextCtrl_ScrollToLine, METH_VARARGS | METH_KEYWORDS }, | |
10634 | { "wxStyledTextCtrl_PointFromPosition", (PyCFunction) _wrap_wxStyledTextCtrl_PointFromPosition, METH_VARARGS | METH_KEYWORDS }, | |
10635 | { "wxStyledTextCtrl_GetSelection", (PyCFunction) _wrap_wxStyledTextCtrl_GetSelection, METH_VARARGS | METH_KEYWORDS }, | |
10636 | { "wxStyledTextCtrl_SetMargins", (PyCFunction) _wrap_wxStyledTextCtrl_SetMargins, METH_VARARGS | METH_KEYWORDS }, | |
10637 | { "wxStyledTextCtrl_CmdKeyExecute", (PyCFunction) _wrap_wxStyledTextCtrl_CmdKeyExecute, METH_VARARGS | METH_KEYWORDS }, | |
10638 | { "wxStyledTextCtrl_StyleSetFontAttr", (PyCFunction) _wrap_wxStyledTextCtrl_StyleSetFontAttr, METH_VARARGS | METH_KEYWORDS }, | |
10639 | { "wxStyledTextCtrl_StyleSetFont", (PyCFunction) _wrap_wxStyledTextCtrl_StyleSetFont, METH_VARARGS | METH_KEYWORDS }, | |
10640 | { "wxStyledTextCtrl_StyleSetSpec", (PyCFunction) _wrap_wxStyledTextCtrl_StyleSetSpec, METH_VARARGS | METH_KEYWORDS }, | |
10641 | { "wxStyledTextCtrl_GetCurrentLine", (PyCFunction) _wrap_wxStyledTextCtrl_GetCurrentLine, METH_VARARGS | METH_KEYWORDS }, | |
10642 | { "wxStyledTextCtrl_SetLexerLanguage", (PyCFunction) _wrap_wxStyledTextCtrl_SetLexerLanguage, METH_VARARGS | METH_KEYWORDS }, | |
10643 | { "wxStyledTextCtrl_SetKeyWords", (PyCFunction) _wrap_wxStyledTextCtrl_SetKeyWords, METH_VARARGS | METH_KEYWORDS }, | |
10644 | { "wxStyledTextCtrl_SetProperty", (PyCFunction) _wrap_wxStyledTextCtrl_SetProperty, METH_VARARGS | METH_KEYWORDS }, | |
10645 | { "wxStyledTextCtrl_Colourise", (PyCFunction) _wrap_wxStyledTextCtrl_Colourise, METH_VARARGS | METH_KEYWORDS }, | |
10646 | { "wxStyledTextCtrl_GetLexer", (PyCFunction) _wrap_wxStyledTextCtrl_GetLexer, METH_VARARGS | METH_KEYWORDS }, | |
10647 | { "wxStyledTextCtrl_SetLexer", (PyCFunction) _wrap_wxStyledTextCtrl_SetLexer, METH_VARARGS | METH_KEYWORDS }, | |
10648 | { "wxStyledTextCtrl_StopRecord", (PyCFunction) _wrap_wxStyledTextCtrl_StopRecord, METH_VARARGS | METH_KEYWORDS }, | |
10649 | { "wxStyledTextCtrl_StartRecord", (PyCFunction) _wrap_wxStyledTextCtrl_StartRecord, METH_VARARGS | METH_KEYWORDS }, | |
c3bfa1cb RD |
10650 | { "wxStyledTextCtrl_GetXOffset", (PyCFunction) _wrap_wxStyledTextCtrl_GetXOffset, METH_VARARGS | METH_KEYWORDS }, |
10651 | { "wxStyledTextCtrl_SetXOffset", (PyCFunction) _wrap_wxStyledTextCtrl_SetXOffset, METH_VARARGS | METH_KEYWORDS }, | |
8a2fa5c8 RD |
10652 | { "wxStyledTextCtrl_DelLineRight", (PyCFunction) _wrap_wxStyledTextCtrl_DelLineRight, METH_VARARGS | METH_KEYWORDS }, |
10653 | { "wxStyledTextCtrl_DelLineLeft", (PyCFunction) _wrap_wxStyledTextCtrl_DelLineLeft, METH_VARARGS | METH_KEYWORDS }, | |
10654 | { "wxStyledTextCtrl_SetVisiblePolicy", (PyCFunction) _wrap_wxStyledTextCtrl_SetVisiblePolicy, METH_VARARGS | METH_KEYWORDS }, | |
10655 | { "wxStyledTextCtrl_WordPartRightExtend", (PyCFunction) _wrap_wxStyledTextCtrl_WordPartRightExtend, METH_VARARGS | METH_KEYWORDS }, | |
10656 | { "wxStyledTextCtrl_WordPartRight", (PyCFunction) _wrap_wxStyledTextCtrl_WordPartRight, METH_VARARGS | METH_KEYWORDS }, | |
10657 | { "wxStyledTextCtrl_WordPartLeftExtend", (PyCFunction) _wrap_wxStyledTextCtrl_WordPartLeftExtend, METH_VARARGS | METH_KEYWORDS }, | |
10658 | { "wxStyledTextCtrl_WordPartLeft", (PyCFunction) _wrap_wxStyledTextCtrl_WordPartLeft, METH_VARARGS | METH_KEYWORDS }, | |
c3bfa1cb RD |
10659 | { "wxStyledTextCtrl_GetControlCharSymbol", (PyCFunction) _wrap_wxStyledTextCtrl_GetControlCharSymbol, METH_VARARGS | METH_KEYWORDS }, |
10660 | { "wxStyledTextCtrl_SetControlCharSymbol", (PyCFunction) _wrap_wxStyledTextCtrl_SetControlCharSymbol, METH_VARARGS | METH_KEYWORDS }, | |
8a2fa5c8 RD |
10661 | { "wxStyledTextCtrl_GetCursor", (PyCFunction) _wrap_wxStyledTextCtrl_GetCursor, METH_VARARGS | METH_KEYWORDS }, |
10662 | { "wxStyledTextCtrl_SetCursor", (PyCFunction) _wrap_wxStyledTextCtrl_SetCursor, METH_VARARGS | METH_KEYWORDS }, | |
10663 | { "wxStyledTextCtrl_GetMouseDownCaptures", (PyCFunction) _wrap_wxStyledTextCtrl_GetMouseDownCaptures, METH_VARARGS | METH_KEYWORDS }, | |
10664 | { "wxStyledTextCtrl_SetMouseDownCaptures", (PyCFunction) _wrap_wxStyledTextCtrl_SetMouseDownCaptures, METH_VARARGS | METH_KEYWORDS }, | |
10665 | { "wxStyledTextCtrl_GetStatus", (PyCFunction) _wrap_wxStyledTextCtrl_GetStatus, METH_VARARGS | METH_KEYWORDS }, | |
10666 | { "wxStyledTextCtrl_SetStatus", (PyCFunction) _wrap_wxStyledTextCtrl_SetStatus, METH_VARARGS | METH_KEYWORDS }, | |
10667 | { "wxStyledTextCtrl_GetSTCFocus", (PyCFunction) _wrap_wxStyledTextCtrl_GetSTCFocus, METH_VARARGS | METH_KEYWORDS }, | |
10668 | { "wxStyledTextCtrl_SetSTCFocus", (PyCFunction) _wrap_wxStyledTextCtrl_SetSTCFocus, METH_VARARGS | METH_KEYWORDS }, | |
10669 | { "wxStyledTextCtrl_GetModEventMask", (PyCFunction) _wrap_wxStyledTextCtrl_GetModEventMask, METH_VARARGS | METH_KEYWORDS }, | |
10670 | { "wxStyledTextCtrl_ReleaseDocument", (PyCFunction) _wrap_wxStyledTextCtrl_ReleaseDocument, METH_VARARGS | METH_KEYWORDS }, | |
10671 | { "wxStyledTextCtrl_AddRefDocument", (PyCFunction) _wrap_wxStyledTextCtrl_AddRefDocument, METH_VARARGS | METH_KEYWORDS }, | |
10672 | { "wxStyledTextCtrl_CreateDocument", (PyCFunction) _wrap_wxStyledTextCtrl_CreateDocument, METH_VARARGS | METH_KEYWORDS }, | |
10673 | { "wxStyledTextCtrl_GetZoom", (PyCFunction) _wrap_wxStyledTextCtrl_GetZoom, METH_VARARGS | METH_KEYWORDS }, | |
10674 | { "wxStyledTextCtrl_SetZoom", (PyCFunction) _wrap_wxStyledTextCtrl_SetZoom, METH_VARARGS | METH_KEYWORDS }, | |
10675 | { "wxStyledTextCtrl_SelectionIsRectangle", (PyCFunction) _wrap_wxStyledTextCtrl_SelectionIsRectangle, METH_VARARGS | METH_KEYWORDS }, | |
10676 | { "wxStyledTextCtrl_UsePopUp", (PyCFunction) _wrap_wxStyledTextCtrl_UsePopUp, METH_VARARGS | METH_KEYWORDS }, | |
10677 | { "wxStyledTextCtrl_LinesOnScreen", (PyCFunction) _wrap_wxStyledTextCtrl_LinesOnScreen, METH_VARARGS | METH_KEYWORDS }, | |
10678 | { "wxStyledTextCtrl_SetCaretPolicy", (PyCFunction) _wrap_wxStyledTextCtrl_SetCaretPolicy, METH_VARARGS | METH_KEYWORDS }, | |
10679 | { "wxStyledTextCtrl_SearchPrev", (PyCFunction) _wrap_wxStyledTextCtrl_SearchPrev, METH_VARARGS | METH_KEYWORDS }, | |
10680 | { "wxStyledTextCtrl_SearchNext", (PyCFunction) _wrap_wxStyledTextCtrl_SearchNext, METH_VARARGS | METH_KEYWORDS }, | |
10681 | { "wxStyledTextCtrl_SearchAnchor", (PyCFunction) _wrap_wxStyledTextCtrl_SearchAnchor, METH_VARARGS | METH_KEYWORDS }, | |
10682 | { "wxStyledTextCtrl_SetEdgeColour", (PyCFunction) _wrap_wxStyledTextCtrl_SetEdgeColour, METH_VARARGS | METH_KEYWORDS }, | |
10683 | { "wxStyledTextCtrl_GetEdgeColour", (PyCFunction) _wrap_wxStyledTextCtrl_GetEdgeColour, METH_VARARGS | METH_KEYWORDS }, | |
10684 | { "wxStyledTextCtrl_SetEdgeMode", (PyCFunction) _wrap_wxStyledTextCtrl_SetEdgeMode, METH_VARARGS | METH_KEYWORDS }, | |
10685 | { "wxStyledTextCtrl_GetEdgeMode", (PyCFunction) _wrap_wxStyledTextCtrl_GetEdgeMode, METH_VARARGS | METH_KEYWORDS }, | |
10686 | { "wxStyledTextCtrl_SetEdgeColumn", (PyCFunction) _wrap_wxStyledTextCtrl_SetEdgeColumn, METH_VARARGS | METH_KEYWORDS }, | |
10687 | { "wxStyledTextCtrl_GetEdgeColumn", (PyCFunction) _wrap_wxStyledTextCtrl_GetEdgeColumn, METH_VARARGS | METH_KEYWORDS }, | |
10688 | { "wxStyledTextCtrl_SetModEventMask", (PyCFunction) _wrap_wxStyledTextCtrl_SetModEventMask, METH_VARARGS | METH_KEYWORDS }, | |
10689 | { "wxStyledTextCtrl_SetDocPointer", (PyCFunction) _wrap_wxStyledTextCtrl_SetDocPointer, METH_VARARGS | METH_KEYWORDS }, | |
10690 | { "wxStyledTextCtrl_GetDocPointer", (PyCFunction) _wrap_wxStyledTextCtrl_GetDocPointer, METH_VARARGS | METH_KEYWORDS }, | |
10691 | { "wxStyledTextCtrl_SetViewEOL", (PyCFunction) _wrap_wxStyledTextCtrl_SetViewEOL, METH_VARARGS | METH_KEYWORDS }, | |
10692 | { "wxStyledTextCtrl_GetViewEOL", (PyCFunction) _wrap_wxStyledTextCtrl_GetViewEOL, METH_VARARGS | METH_KEYWORDS }, | |
10693 | { "wxStyledTextCtrl_BraceMatch", (PyCFunction) _wrap_wxStyledTextCtrl_BraceMatch, METH_VARARGS | METH_KEYWORDS }, | |
10694 | { "wxStyledTextCtrl_BraceBadLight", (PyCFunction) _wrap_wxStyledTextCtrl_BraceBadLight, METH_VARARGS | METH_KEYWORDS }, | |
10695 | { "wxStyledTextCtrl_BraceHighlight", (PyCFunction) _wrap_wxStyledTextCtrl_BraceHighlight, METH_VARARGS | METH_KEYWORDS }, | |
10696 | { "wxStyledTextCtrl_LineLength", (PyCFunction) _wrap_wxStyledTextCtrl_LineLength, METH_VARARGS | METH_KEYWORDS }, | |
10697 | { "wxStyledTextCtrl_MoveCaretInsideView", (PyCFunction) _wrap_wxStyledTextCtrl_MoveCaretInsideView, METH_VARARGS | METH_KEYWORDS }, | |
c3bfa1cb RD |
10698 | { "wxStyledTextCtrl_GetLayoutCache", (PyCFunction) _wrap_wxStyledTextCtrl_GetLayoutCache, METH_VARARGS | METH_KEYWORDS }, |
10699 | { "wxStyledTextCtrl_SetLayoutCache", (PyCFunction) _wrap_wxStyledTextCtrl_SetLayoutCache, METH_VARARGS | METH_KEYWORDS }, | |
10700 | { "wxStyledTextCtrl_GetWrapMode", (PyCFunction) _wrap_wxStyledTextCtrl_GetWrapMode, METH_VARARGS | METH_KEYWORDS }, | |
10701 | { "wxStyledTextCtrl_SetWrapMode", (PyCFunction) _wrap_wxStyledTextCtrl_SetWrapMode, METH_VARARGS | METH_KEYWORDS }, | |
10702 | { "wxStyledTextCtrl_WordEndPosition", (PyCFunction) _wrap_wxStyledTextCtrl_WordEndPosition, METH_VARARGS | METH_KEYWORDS }, | |
10703 | { "wxStyledTextCtrl_WordStartPosition", (PyCFunction) _wrap_wxStyledTextCtrl_WordStartPosition, METH_VARARGS | METH_KEYWORDS }, | |
8a2fa5c8 RD |
10704 | { "wxStyledTextCtrl_GetMouseDwellTime", (PyCFunction) _wrap_wxStyledTextCtrl_GetMouseDwellTime, METH_VARARGS | METH_KEYWORDS }, |
10705 | { "wxStyledTextCtrl_SetMouseDwellTime", (PyCFunction) _wrap_wxStyledTextCtrl_SetMouseDwellTime, METH_VARARGS | METH_KEYWORDS }, | |
10706 | { "wxStyledTextCtrl_GetBackSpaceUnIndents", (PyCFunction) _wrap_wxStyledTextCtrl_GetBackSpaceUnIndents, METH_VARARGS | METH_KEYWORDS }, | |
10707 | { "wxStyledTextCtrl_SetBackSpaceUnIndents", (PyCFunction) _wrap_wxStyledTextCtrl_SetBackSpaceUnIndents, METH_VARARGS | METH_KEYWORDS }, | |
10708 | { "wxStyledTextCtrl_GetTabIndents", (PyCFunction) _wrap_wxStyledTextCtrl_GetTabIndents, METH_VARARGS | METH_KEYWORDS }, | |
10709 | { "wxStyledTextCtrl_SetTabIndents", (PyCFunction) _wrap_wxStyledTextCtrl_SetTabIndents, METH_VARARGS | METH_KEYWORDS }, | |
10710 | { "wxStyledTextCtrl_EnsureVisibleEnforcePolicy", (PyCFunction) _wrap_wxStyledTextCtrl_EnsureVisibleEnforcePolicy, METH_VARARGS | METH_KEYWORDS }, | |
10711 | { "wxStyledTextCtrl_SetFoldFlags", (PyCFunction) _wrap_wxStyledTextCtrl_SetFoldFlags, METH_VARARGS | METH_KEYWORDS }, | |
10712 | { "wxStyledTextCtrl_EnsureVisible", (PyCFunction) _wrap_wxStyledTextCtrl_EnsureVisible, METH_VARARGS | METH_KEYWORDS }, | |
10713 | { "wxStyledTextCtrl_ToggleFold", (PyCFunction) _wrap_wxStyledTextCtrl_ToggleFold, METH_VARARGS | METH_KEYWORDS }, | |
10714 | { "wxStyledTextCtrl_GetFoldExpanded", (PyCFunction) _wrap_wxStyledTextCtrl_GetFoldExpanded, METH_VARARGS | METH_KEYWORDS }, | |
10715 | { "wxStyledTextCtrl_SetFoldExpanded", (PyCFunction) _wrap_wxStyledTextCtrl_SetFoldExpanded, METH_VARARGS | METH_KEYWORDS }, | |
10716 | { "wxStyledTextCtrl_GetLineVisible", (PyCFunction) _wrap_wxStyledTextCtrl_GetLineVisible, METH_VARARGS | METH_KEYWORDS }, | |
10717 | { "wxStyledTextCtrl_HideLines", (PyCFunction) _wrap_wxStyledTextCtrl_HideLines, METH_VARARGS | METH_KEYWORDS }, | |
10718 | { "wxStyledTextCtrl_ShowLines", (PyCFunction) _wrap_wxStyledTextCtrl_ShowLines, METH_VARARGS | METH_KEYWORDS }, | |
10719 | { "wxStyledTextCtrl_GetFoldParent", (PyCFunction) _wrap_wxStyledTextCtrl_GetFoldParent, METH_VARARGS | METH_KEYWORDS }, | |
10720 | { "wxStyledTextCtrl_GetLastChild", (PyCFunction) _wrap_wxStyledTextCtrl_GetLastChild, METH_VARARGS | METH_KEYWORDS }, | |
10721 | { "wxStyledTextCtrl_GetFoldLevel", (PyCFunction) _wrap_wxStyledTextCtrl_GetFoldLevel, METH_VARARGS | METH_KEYWORDS }, | |
10722 | { "wxStyledTextCtrl_SetFoldLevel", (PyCFunction) _wrap_wxStyledTextCtrl_SetFoldLevel, METH_VARARGS | METH_KEYWORDS }, | |
10723 | { "wxStyledTextCtrl_DocLineFromVisible", (PyCFunction) _wrap_wxStyledTextCtrl_DocLineFromVisible, METH_VARARGS | METH_KEYWORDS }, | |
10724 | { "wxStyledTextCtrl_VisibleFromDocLine", (PyCFunction) _wrap_wxStyledTextCtrl_VisibleFromDocLine, METH_VARARGS | METH_KEYWORDS }, | |
10725 | { "wxStyledTextCtrl_CallTipSetBackground", (PyCFunction) _wrap_wxStyledTextCtrl_CallTipSetBackground, METH_VARARGS | METH_KEYWORDS }, | |
10726 | { "wxStyledTextCtrl_CallTipSetHighlight", (PyCFunction) _wrap_wxStyledTextCtrl_CallTipSetHighlight, METH_VARARGS | METH_KEYWORDS }, | |
10727 | { "wxStyledTextCtrl_CallTipPosAtStart", (PyCFunction) _wrap_wxStyledTextCtrl_CallTipPosAtStart, METH_VARARGS | METH_KEYWORDS }, | |
10728 | { "wxStyledTextCtrl_CallTipActive", (PyCFunction) _wrap_wxStyledTextCtrl_CallTipActive, METH_VARARGS | METH_KEYWORDS }, | |
10729 | { "wxStyledTextCtrl_CallTipCancel", (PyCFunction) _wrap_wxStyledTextCtrl_CallTipCancel, METH_VARARGS | METH_KEYWORDS }, | |
10730 | { "wxStyledTextCtrl_CallTipShow", (PyCFunction) _wrap_wxStyledTextCtrl_CallTipShow, METH_VARARGS | METH_KEYWORDS }, | |
10731 | { "wxStyledTextCtrl_GetSearchFlags", (PyCFunction) _wrap_wxStyledTextCtrl_GetSearchFlags, METH_VARARGS | METH_KEYWORDS }, | |
10732 | { "wxStyledTextCtrl_SetSearchFlags", (PyCFunction) _wrap_wxStyledTextCtrl_SetSearchFlags, METH_VARARGS | METH_KEYWORDS }, | |
10733 | { "wxStyledTextCtrl_SearchInTarget", (PyCFunction) _wrap_wxStyledTextCtrl_SearchInTarget, METH_VARARGS | METH_KEYWORDS }, | |
10734 | { "wxStyledTextCtrl_ReplaceTargetRE", (PyCFunction) _wrap_wxStyledTextCtrl_ReplaceTargetRE, METH_VARARGS | METH_KEYWORDS }, | |
10735 | { "wxStyledTextCtrl_ReplaceTarget", (PyCFunction) _wrap_wxStyledTextCtrl_ReplaceTarget, METH_VARARGS | METH_KEYWORDS }, | |
10736 | { "wxStyledTextCtrl_GetTargetEnd", (PyCFunction) _wrap_wxStyledTextCtrl_GetTargetEnd, METH_VARARGS | METH_KEYWORDS }, | |
10737 | { "wxStyledTextCtrl_SetTargetEnd", (PyCFunction) _wrap_wxStyledTextCtrl_SetTargetEnd, METH_VARARGS | METH_KEYWORDS }, | |
10738 | { "wxStyledTextCtrl_GetTargetStart", (PyCFunction) _wrap_wxStyledTextCtrl_GetTargetStart, METH_VARARGS | METH_KEYWORDS }, | |
10739 | { "wxStyledTextCtrl_SetTargetStart", (PyCFunction) _wrap_wxStyledTextCtrl_SetTargetStart, METH_VARARGS | METH_KEYWORDS }, | |
10740 | { "wxStyledTextCtrl_GetCaretWidth", (PyCFunction) _wrap_wxStyledTextCtrl_GetCaretWidth, METH_VARARGS | METH_KEYWORDS }, | |
10741 | { "wxStyledTextCtrl_SetCaretWidth", (PyCFunction) _wrap_wxStyledTextCtrl_SetCaretWidth, METH_VARARGS | METH_KEYWORDS }, | |
10742 | { "wxStyledTextCtrl_GetOvertype", (PyCFunction) _wrap_wxStyledTextCtrl_GetOvertype, METH_VARARGS | METH_KEYWORDS }, | |
10743 | { "wxStyledTextCtrl_SetOvertype", (PyCFunction) _wrap_wxStyledTextCtrl_SetOvertype, METH_VARARGS | METH_KEYWORDS }, | |
10744 | { "wxStyledTextCtrl_GetTextLength", (PyCFunction) _wrap_wxStyledTextCtrl_GetTextLength, METH_VARARGS | METH_KEYWORDS }, | |
10745 | { "wxStyledTextCtrl_GetText", (PyCFunction) _wrap_wxStyledTextCtrl_GetText, METH_VARARGS | METH_KEYWORDS }, | |
10746 | { "wxStyledTextCtrl_SetText", (PyCFunction) _wrap_wxStyledTextCtrl_SetText, METH_VARARGS | METH_KEYWORDS }, | |
10747 | { "wxStyledTextCtrl_Clear", (PyCFunction) _wrap_wxStyledTextCtrl_Clear, METH_VARARGS | METH_KEYWORDS }, | |
10748 | { "wxStyledTextCtrl_Paste", (PyCFunction) _wrap_wxStyledTextCtrl_Paste, METH_VARARGS | METH_KEYWORDS }, | |
10749 | { "wxStyledTextCtrl_Copy", (PyCFunction) _wrap_wxStyledTextCtrl_Copy, METH_VARARGS | METH_KEYWORDS }, | |
10750 | { "wxStyledTextCtrl_Cut", (PyCFunction) _wrap_wxStyledTextCtrl_Cut, METH_VARARGS | METH_KEYWORDS }, | |
10751 | { "wxStyledTextCtrl_Undo", (PyCFunction) _wrap_wxStyledTextCtrl_Undo, METH_VARARGS | METH_KEYWORDS }, | |
10752 | { "wxStyledTextCtrl_EmptyUndoBuffer", (PyCFunction) _wrap_wxStyledTextCtrl_EmptyUndoBuffer, METH_VARARGS | METH_KEYWORDS }, | |
10753 | { "wxStyledTextCtrl_CanUndo", (PyCFunction) _wrap_wxStyledTextCtrl_CanUndo, METH_VARARGS | METH_KEYWORDS }, | |
10754 | { "wxStyledTextCtrl_CanPaste", (PyCFunction) _wrap_wxStyledTextCtrl_CanPaste, METH_VARARGS | METH_KEYWORDS }, | |
10755 | { "wxStyledTextCtrl_SetReadOnly", (PyCFunction) _wrap_wxStyledTextCtrl_SetReadOnly, METH_VARARGS | METH_KEYWORDS }, | |
10756 | { "wxStyledTextCtrl_ReplaceSelection", (PyCFunction) _wrap_wxStyledTextCtrl_ReplaceSelection, METH_VARARGS | METH_KEYWORDS }, | |
10757 | { "wxStyledTextCtrl_EnsureCaretVisible", (PyCFunction) _wrap_wxStyledTextCtrl_EnsureCaretVisible, METH_VARARGS | METH_KEYWORDS }, | |
10758 | { "wxStyledTextCtrl_LineScroll", (PyCFunction) _wrap_wxStyledTextCtrl_LineScroll, METH_VARARGS | METH_KEYWORDS }, | |
10759 | { "wxStyledTextCtrl_PositionFromLine", (PyCFunction) _wrap_wxStyledTextCtrl_PositionFromLine, METH_VARARGS | METH_KEYWORDS }, | |
10760 | { "wxStyledTextCtrl_LineFromPosition", (PyCFunction) _wrap_wxStyledTextCtrl_LineFromPosition, METH_VARARGS | METH_KEYWORDS }, | |
10761 | { "wxStyledTextCtrl_HideSelection", (PyCFunction) _wrap_wxStyledTextCtrl_HideSelection, METH_VARARGS | METH_KEYWORDS }, | |
10762 | { "wxStyledTextCtrl_GetTextRange", (PyCFunction) _wrap_wxStyledTextCtrl_GetTextRange, METH_VARARGS | METH_KEYWORDS }, | |
10763 | { "wxStyledTextCtrl_GetSelectedText", (PyCFunction) _wrap_wxStyledTextCtrl_GetSelectedText, METH_VARARGS | METH_KEYWORDS }, | |
10764 | { "wxStyledTextCtrl_SetSelection", (PyCFunction) _wrap_wxStyledTextCtrl_SetSelection, METH_VARARGS | METH_KEYWORDS }, | |
10765 | { "wxStyledTextCtrl_GetModify", (PyCFunction) _wrap_wxStyledTextCtrl_GetModify, METH_VARARGS | METH_KEYWORDS }, | |
10766 | { "wxStyledTextCtrl_GetMarginRight", (PyCFunction) _wrap_wxStyledTextCtrl_GetMarginRight, METH_VARARGS | METH_KEYWORDS }, | |
10767 | { "wxStyledTextCtrl_SetMarginRight", (PyCFunction) _wrap_wxStyledTextCtrl_SetMarginRight, METH_VARARGS | METH_KEYWORDS }, | |
10768 | { "wxStyledTextCtrl_GetMarginLeft", (PyCFunction) _wrap_wxStyledTextCtrl_GetMarginLeft, METH_VARARGS | METH_KEYWORDS }, | |
10769 | { "wxStyledTextCtrl_SetMarginLeft", (PyCFunction) _wrap_wxStyledTextCtrl_SetMarginLeft, METH_VARARGS | METH_KEYWORDS }, | |
10770 | { "wxStyledTextCtrl_GetLineCount", (PyCFunction) _wrap_wxStyledTextCtrl_GetLineCount, METH_VARARGS | METH_KEYWORDS }, | |
10771 | { "wxStyledTextCtrl_GetLine", (PyCFunction) _wrap_wxStyledTextCtrl_GetLine, METH_VARARGS | METH_KEYWORDS }, | |
10772 | { "wxStyledTextCtrl_GetFirstVisibleLine", (PyCFunction) _wrap_wxStyledTextCtrl_GetFirstVisibleLine, METH_VARARGS | METH_KEYWORDS }, | |
10773 | { "wxStyledTextCtrl_FormatRange", (PyCFunction) _wrap_wxStyledTextCtrl_FormatRange, METH_VARARGS | METH_KEYWORDS }, | |
10774 | { "wxStyledTextCtrl_FindText", (PyCFunction) _wrap_wxStyledTextCtrl_FindText, METH_VARARGS | METH_KEYWORDS }, | |
10775 | { "wxStyledTextCtrl_GetPrintColourMode", (PyCFunction) _wrap_wxStyledTextCtrl_GetPrintColourMode, METH_VARARGS | METH_KEYWORDS }, | |
10776 | { "wxStyledTextCtrl_SetPrintColourMode", (PyCFunction) _wrap_wxStyledTextCtrl_SetPrintColourMode, METH_VARARGS | METH_KEYWORDS }, | |
10777 | { "wxStyledTextCtrl_GetPrintMagnification", (PyCFunction) _wrap_wxStyledTextCtrl_GetPrintMagnification, METH_VARARGS | METH_KEYWORDS }, | |
10778 | { "wxStyledTextCtrl_SetPrintMagnification", (PyCFunction) _wrap_wxStyledTextCtrl_SetPrintMagnification, METH_VARARGS | METH_KEYWORDS }, | |
10779 | { "wxStyledTextCtrl_GetSelectionEnd", (PyCFunction) _wrap_wxStyledTextCtrl_GetSelectionEnd, METH_VARARGS | METH_KEYWORDS }, | |
10780 | { "wxStyledTextCtrl_SetSelectionEnd", (PyCFunction) _wrap_wxStyledTextCtrl_SetSelectionEnd, METH_VARARGS | METH_KEYWORDS }, | |
10781 | { "wxStyledTextCtrl_GetSelectionStart", (PyCFunction) _wrap_wxStyledTextCtrl_GetSelectionStart, METH_VARARGS | METH_KEYWORDS }, | |
10782 | { "wxStyledTextCtrl_SetSelectionStart", (PyCFunction) _wrap_wxStyledTextCtrl_SetSelectionStart, METH_VARARGS | METH_KEYWORDS }, | |
10783 | { "wxStyledTextCtrl_SetCurrentPos", (PyCFunction) _wrap_wxStyledTextCtrl_SetCurrentPos, METH_VARARGS | METH_KEYWORDS }, | |
10784 | { "wxStyledTextCtrl_GetReadOnly", (PyCFunction) _wrap_wxStyledTextCtrl_GetReadOnly, METH_VARARGS | METH_KEYWORDS }, | |
10785 | { "wxStyledTextCtrl_GetCaretForeground", (PyCFunction) _wrap_wxStyledTextCtrl_GetCaretForeground, METH_VARARGS | METH_KEYWORDS }, | |
10786 | { "wxStyledTextCtrl_GetCodePage", (PyCFunction) _wrap_wxStyledTextCtrl_GetCodePage, METH_VARARGS | METH_KEYWORDS }, | |
10787 | { "wxStyledTextCtrl_GetLineEndPosition", (PyCFunction) _wrap_wxStyledTextCtrl_GetLineEndPosition, METH_VARARGS | METH_KEYWORDS }, | |
10788 | { "wxStyledTextCtrl_GetHighlightGuide", (PyCFunction) _wrap_wxStyledTextCtrl_GetHighlightGuide, METH_VARARGS | METH_KEYWORDS }, | |
10789 | { "wxStyledTextCtrl_SetHighlightGuide", (PyCFunction) _wrap_wxStyledTextCtrl_SetHighlightGuide, METH_VARARGS | METH_KEYWORDS }, | |
10790 | { "wxStyledTextCtrl_GetIndentationGuides", (PyCFunction) _wrap_wxStyledTextCtrl_GetIndentationGuides, METH_VARARGS | METH_KEYWORDS }, | |
10791 | { "wxStyledTextCtrl_SetIndentationGuides", (PyCFunction) _wrap_wxStyledTextCtrl_SetIndentationGuides, METH_VARARGS | METH_KEYWORDS }, | |
10792 | { "wxStyledTextCtrl_GetUseHorizontalScrollBar", (PyCFunction) _wrap_wxStyledTextCtrl_GetUseHorizontalScrollBar, METH_VARARGS | METH_KEYWORDS }, | |
10793 | { "wxStyledTextCtrl_SetUseHorizontalScrollBar", (PyCFunction) _wrap_wxStyledTextCtrl_SetUseHorizontalScrollBar, METH_VARARGS | METH_KEYWORDS }, | |
10794 | { "wxStyledTextCtrl_GetColumn", (PyCFunction) _wrap_wxStyledTextCtrl_GetColumn, METH_VARARGS | METH_KEYWORDS }, | |
10795 | { "wxStyledTextCtrl_GetLineIndentPosition", (PyCFunction) _wrap_wxStyledTextCtrl_GetLineIndentPosition, METH_VARARGS | METH_KEYWORDS }, | |
10796 | { "wxStyledTextCtrl_GetLineIndentation", (PyCFunction) _wrap_wxStyledTextCtrl_GetLineIndentation, METH_VARARGS | METH_KEYWORDS }, | |
10797 | { "wxStyledTextCtrl_SetLineIndentation", (PyCFunction) _wrap_wxStyledTextCtrl_SetLineIndentation, METH_VARARGS | METH_KEYWORDS }, | |
10798 | { "wxStyledTextCtrl_GetUseTabs", (PyCFunction) _wrap_wxStyledTextCtrl_GetUseTabs, METH_VARARGS | METH_KEYWORDS }, | |
10799 | { "wxStyledTextCtrl_SetUseTabs", (PyCFunction) _wrap_wxStyledTextCtrl_SetUseTabs, METH_VARARGS | METH_KEYWORDS }, | |
10800 | { "wxStyledTextCtrl_GetIndent", (PyCFunction) _wrap_wxStyledTextCtrl_GetIndent, METH_VARARGS | METH_KEYWORDS }, | |
10801 | { "wxStyledTextCtrl_SetIndent", (PyCFunction) _wrap_wxStyledTextCtrl_SetIndent, METH_VARARGS | METH_KEYWORDS }, | |
c3bfa1cb RD |
10802 | { "wxStyledTextCtrl_AutoCompGetDropRestOfWord", (PyCFunction) _wrap_wxStyledTextCtrl_AutoCompGetDropRestOfWord, METH_VARARGS | METH_KEYWORDS }, |
10803 | { "wxStyledTextCtrl_AutoCompSetDropRestOfWord", (PyCFunction) _wrap_wxStyledTextCtrl_AutoCompSetDropRestOfWord, METH_VARARGS | METH_KEYWORDS }, | |
8a2fa5c8 RD |
10804 | { "wxStyledTextCtrl_AutoCompGetAutoHide", (PyCFunction) _wrap_wxStyledTextCtrl_AutoCompGetAutoHide, METH_VARARGS | METH_KEYWORDS }, |
10805 | { "wxStyledTextCtrl_AutoCompSetAutoHide", (PyCFunction) _wrap_wxStyledTextCtrl_AutoCompSetAutoHide, METH_VARARGS | METH_KEYWORDS }, | |
10806 | { "wxStyledTextCtrl_UserListShow", (PyCFunction) _wrap_wxStyledTextCtrl_UserListShow, METH_VARARGS | METH_KEYWORDS }, | |
10807 | { "wxStyledTextCtrl_AutoCompGetIgnoreCase", (PyCFunction) _wrap_wxStyledTextCtrl_AutoCompGetIgnoreCase, METH_VARARGS | METH_KEYWORDS }, | |
10808 | { "wxStyledTextCtrl_AutoCompSetIgnoreCase", (PyCFunction) _wrap_wxStyledTextCtrl_AutoCompSetIgnoreCase, METH_VARARGS | METH_KEYWORDS }, | |
10809 | { "wxStyledTextCtrl_AutoCompGetChooseSingle", (PyCFunction) _wrap_wxStyledTextCtrl_AutoCompGetChooseSingle, METH_VARARGS | METH_KEYWORDS }, | |
10810 | { "wxStyledTextCtrl_AutoCompSetChooseSingle", (PyCFunction) _wrap_wxStyledTextCtrl_AutoCompSetChooseSingle, METH_VARARGS | METH_KEYWORDS }, | |
10811 | { "wxStyledTextCtrl_AutoCompSetFillUps", (PyCFunction) _wrap_wxStyledTextCtrl_AutoCompSetFillUps, METH_VARARGS | METH_KEYWORDS }, | |
10812 | { "wxStyledTextCtrl_AutoCompGetCancelAtStart", (PyCFunction) _wrap_wxStyledTextCtrl_AutoCompGetCancelAtStart, METH_VARARGS | METH_KEYWORDS }, | |
10813 | { "wxStyledTextCtrl_AutoCompSetCancelAtStart", (PyCFunction) _wrap_wxStyledTextCtrl_AutoCompSetCancelAtStart, METH_VARARGS | METH_KEYWORDS }, | |
10814 | { "wxStyledTextCtrl_AutoCompSelect", (PyCFunction) _wrap_wxStyledTextCtrl_AutoCompSelect, METH_VARARGS | METH_KEYWORDS }, | |
10815 | { "wxStyledTextCtrl_AutoCompGetSeparator", (PyCFunction) _wrap_wxStyledTextCtrl_AutoCompGetSeparator, METH_VARARGS | METH_KEYWORDS }, | |
10816 | { "wxStyledTextCtrl_AutoCompSetSeparator", (PyCFunction) _wrap_wxStyledTextCtrl_AutoCompSetSeparator, METH_VARARGS | METH_KEYWORDS }, | |
10817 | { "wxStyledTextCtrl_AutoCompStops", (PyCFunction) _wrap_wxStyledTextCtrl_AutoCompStops, METH_VARARGS | METH_KEYWORDS }, | |
10818 | { "wxStyledTextCtrl_AutoCompComplete", (PyCFunction) _wrap_wxStyledTextCtrl_AutoCompComplete, METH_VARARGS | METH_KEYWORDS }, | |
10819 | { "wxStyledTextCtrl_AutoCompPosStart", (PyCFunction) _wrap_wxStyledTextCtrl_AutoCompPosStart, METH_VARARGS | METH_KEYWORDS }, | |
10820 | { "wxStyledTextCtrl_AutoCompActive", (PyCFunction) _wrap_wxStyledTextCtrl_AutoCompActive, METH_VARARGS | METH_KEYWORDS }, | |
10821 | { "wxStyledTextCtrl_AutoCompCancel", (PyCFunction) _wrap_wxStyledTextCtrl_AutoCompCancel, METH_VARARGS | METH_KEYWORDS }, | |
10822 | { "wxStyledTextCtrl_AutoCompShow", (PyCFunction) _wrap_wxStyledTextCtrl_AutoCompShow, METH_VARARGS | METH_KEYWORDS }, | |
c3bfa1cb | 10823 | { "wxStyledTextCtrl_StyleSetChangeable", (PyCFunction) _wrap_wxStyledTextCtrl_StyleSetChangeable, METH_VARARGS | METH_KEYWORDS }, |
8a2fa5c8 RD |
10824 | { "wxStyledTextCtrl_SetCaretLineBack", (PyCFunction) _wrap_wxStyledTextCtrl_SetCaretLineBack, METH_VARARGS | METH_KEYWORDS }, |
10825 | { "wxStyledTextCtrl_GetCaretLineBack", (PyCFunction) _wrap_wxStyledTextCtrl_GetCaretLineBack, METH_VARARGS | METH_KEYWORDS }, | |
10826 | { "wxStyledTextCtrl_SetCaretLineVisible", (PyCFunction) _wrap_wxStyledTextCtrl_SetCaretLineVisible, METH_VARARGS | METH_KEYWORDS }, | |
10827 | { "wxStyledTextCtrl_GetCaretLineVisible", (PyCFunction) _wrap_wxStyledTextCtrl_GetCaretLineVisible, METH_VARARGS | METH_KEYWORDS }, | |
10828 | { "wxStyledTextCtrl_GetMaxLineState", (PyCFunction) _wrap_wxStyledTextCtrl_GetMaxLineState, METH_VARARGS | METH_KEYWORDS }, | |
10829 | { "wxStyledTextCtrl_GetLineState", (PyCFunction) _wrap_wxStyledTextCtrl_GetLineState, METH_VARARGS | METH_KEYWORDS }, | |
10830 | { "wxStyledTextCtrl_SetLineState", (PyCFunction) _wrap_wxStyledTextCtrl_SetLineState, METH_VARARGS | METH_KEYWORDS }, | |
10831 | { "wxStyledTextCtrl_GetStyleBits", (PyCFunction) _wrap_wxStyledTextCtrl_GetStyleBits, METH_VARARGS | METH_KEYWORDS }, | |
10832 | { "wxStyledTextCtrl_SetStyleBits", (PyCFunction) _wrap_wxStyledTextCtrl_SetStyleBits, METH_VARARGS | METH_KEYWORDS }, | |
10833 | { "wxStyledTextCtrl_IndicatorGetForeground", (PyCFunction) _wrap_wxStyledTextCtrl_IndicatorGetForeground, METH_VARARGS | METH_KEYWORDS }, | |
10834 | { "wxStyledTextCtrl_IndicatorSetForeground", (PyCFunction) _wrap_wxStyledTextCtrl_IndicatorSetForeground, METH_VARARGS | METH_KEYWORDS }, | |
10835 | { "wxStyledTextCtrl_IndicatorGetStyle", (PyCFunction) _wrap_wxStyledTextCtrl_IndicatorGetStyle, METH_VARARGS | METH_KEYWORDS }, | |
10836 | { "wxStyledTextCtrl_IndicatorSetStyle", (PyCFunction) _wrap_wxStyledTextCtrl_IndicatorSetStyle, METH_VARARGS | METH_KEYWORDS }, | |
10837 | { "wxStyledTextCtrl_EndUndoAction", (PyCFunction) _wrap_wxStyledTextCtrl_EndUndoAction, METH_VARARGS | METH_KEYWORDS }, | |
10838 | { "wxStyledTextCtrl_BeginUndoAction", (PyCFunction) _wrap_wxStyledTextCtrl_BeginUndoAction, METH_VARARGS | METH_KEYWORDS }, | |
10839 | { "wxStyledTextCtrl_SetWordChars", (PyCFunction) _wrap_wxStyledTextCtrl_SetWordChars, METH_VARARGS | METH_KEYWORDS }, | |
10840 | { "wxStyledTextCtrl_SetCaretPeriod", (PyCFunction) _wrap_wxStyledTextCtrl_SetCaretPeriod, METH_VARARGS | METH_KEYWORDS }, | |
10841 | { "wxStyledTextCtrl_GetCaretPeriod", (PyCFunction) _wrap_wxStyledTextCtrl_GetCaretPeriod, METH_VARARGS | METH_KEYWORDS }, | |
10842 | { "wxStyledTextCtrl_StyleSetVisible", (PyCFunction) _wrap_wxStyledTextCtrl_StyleSetVisible, METH_VARARGS | METH_KEYWORDS }, | |
10843 | { "wxStyledTextCtrl_SetStyleBytes", (PyCFunction) _wrap_wxStyledTextCtrl_SetStyleBytes, METH_VARARGS | METH_KEYWORDS }, | |
10844 | { "wxStyledTextCtrl_CmdKeyClearAll", (PyCFunction) _wrap_wxStyledTextCtrl_CmdKeyClearAll, METH_VARARGS | METH_KEYWORDS }, | |
10845 | { "wxStyledTextCtrl_CmdKeyClear", (PyCFunction) _wrap_wxStyledTextCtrl_CmdKeyClear, METH_VARARGS | METH_KEYWORDS }, | |
10846 | { "wxStyledTextCtrl_CmdKeyAssign", (PyCFunction) _wrap_wxStyledTextCtrl_CmdKeyAssign, METH_VARARGS | METH_KEYWORDS }, | |
10847 | { "wxStyledTextCtrl_SetCaretForeground", (PyCFunction) _wrap_wxStyledTextCtrl_SetCaretForeground, METH_VARARGS | METH_KEYWORDS }, | |
10848 | { "wxStyledTextCtrl_SetSelBackground", (PyCFunction) _wrap_wxStyledTextCtrl_SetSelBackground, METH_VARARGS | METH_KEYWORDS }, | |
10849 | { "wxStyledTextCtrl_SetSelForeground", (PyCFunction) _wrap_wxStyledTextCtrl_SetSelForeground, METH_VARARGS | METH_KEYWORDS }, | |
c3bfa1cb | 10850 | { "wxStyledTextCtrl_StyleSetCharacterSet", (PyCFunction) _wrap_wxStyledTextCtrl_StyleSetCharacterSet, METH_VARARGS | METH_KEYWORDS }, |
8a2fa5c8 RD |
10851 | { "wxStyledTextCtrl_StyleSetCase", (PyCFunction) _wrap_wxStyledTextCtrl_StyleSetCase, METH_VARARGS | METH_KEYWORDS }, |
10852 | { "wxStyledTextCtrl_StyleSetUnderline", (PyCFunction) _wrap_wxStyledTextCtrl_StyleSetUnderline, METH_VARARGS | METH_KEYWORDS }, | |
10853 | { "wxStyledTextCtrl_StyleResetDefault", (PyCFunction) _wrap_wxStyledTextCtrl_StyleResetDefault, METH_VARARGS | METH_KEYWORDS }, | |
10854 | { "wxStyledTextCtrl_StyleSetEOLFilled", (PyCFunction) _wrap_wxStyledTextCtrl_StyleSetEOLFilled, METH_VARARGS | METH_KEYWORDS }, | |
10855 | { "wxStyledTextCtrl_StyleSetFaceName", (PyCFunction) _wrap_wxStyledTextCtrl_StyleSetFaceName, METH_VARARGS | METH_KEYWORDS }, | |
10856 | { "wxStyledTextCtrl_StyleSetSize", (PyCFunction) _wrap_wxStyledTextCtrl_StyleSetSize, METH_VARARGS | METH_KEYWORDS }, | |
10857 | { "wxStyledTextCtrl_StyleSetItalic", (PyCFunction) _wrap_wxStyledTextCtrl_StyleSetItalic, METH_VARARGS | METH_KEYWORDS }, | |
10858 | { "wxStyledTextCtrl_StyleSetBold", (PyCFunction) _wrap_wxStyledTextCtrl_StyleSetBold, METH_VARARGS | METH_KEYWORDS }, | |
10859 | { "wxStyledTextCtrl_StyleSetBackground", (PyCFunction) _wrap_wxStyledTextCtrl_StyleSetBackground, METH_VARARGS | METH_KEYWORDS }, | |
10860 | { "wxStyledTextCtrl_StyleSetForeground", (PyCFunction) _wrap_wxStyledTextCtrl_StyleSetForeground, METH_VARARGS | METH_KEYWORDS }, | |
10861 | { "wxStyledTextCtrl_StyleClearAll", (PyCFunction) _wrap_wxStyledTextCtrl_StyleClearAll, METH_VARARGS | METH_KEYWORDS }, | |
10862 | { "wxStyledTextCtrl_GetMarginSensitive", (PyCFunction) _wrap_wxStyledTextCtrl_GetMarginSensitive, METH_VARARGS | METH_KEYWORDS }, | |
10863 | { "wxStyledTextCtrl_SetMarginSensitive", (PyCFunction) _wrap_wxStyledTextCtrl_SetMarginSensitive, METH_VARARGS | METH_KEYWORDS }, | |
10864 | { "wxStyledTextCtrl_GetMarginMask", (PyCFunction) _wrap_wxStyledTextCtrl_GetMarginMask, METH_VARARGS | METH_KEYWORDS }, | |
10865 | { "wxStyledTextCtrl_SetMarginMask", (PyCFunction) _wrap_wxStyledTextCtrl_SetMarginMask, METH_VARARGS | METH_KEYWORDS }, | |
10866 | { "wxStyledTextCtrl_GetMarginWidth", (PyCFunction) _wrap_wxStyledTextCtrl_GetMarginWidth, METH_VARARGS | METH_KEYWORDS }, | |
10867 | { "wxStyledTextCtrl_SetMarginWidth", (PyCFunction) _wrap_wxStyledTextCtrl_SetMarginWidth, METH_VARARGS | METH_KEYWORDS }, | |
10868 | { "wxStyledTextCtrl_GetMarginType", (PyCFunction) _wrap_wxStyledTextCtrl_GetMarginType, METH_VARARGS | METH_KEYWORDS }, | |
10869 | { "wxStyledTextCtrl_SetMarginType", (PyCFunction) _wrap_wxStyledTextCtrl_SetMarginType, METH_VARARGS | METH_KEYWORDS }, | |
10870 | { "wxStyledTextCtrl_MarkerPrevious", (PyCFunction) _wrap_wxStyledTextCtrl_MarkerPrevious, METH_VARARGS | METH_KEYWORDS }, | |
10871 | { "wxStyledTextCtrl_MarkerNext", (PyCFunction) _wrap_wxStyledTextCtrl_MarkerNext, METH_VARARGS | METH_KEYWORDS }, | |
10872 | { "wxStyledTextCtrl_MarkerGet", (PyCFunction) _wrap_wxStyledTextCtrl_MarkerGet, METH_VARARGS | METH_KEYWORDS }, | |
10873 | { "wxStyledTextCtrl_MarkerDeleteAll", (PyCFunction) _wrap_wxStyledTextCtrl_MarkerDeleteAll, METH_VARARGS | METH_KEYWORDS }, | |
10874 | { "wxStyledTextCtrl_MarkerDelete", (PyCFunction) _wrap_wxStyledTextCtrl_MarkerDelete, METH_VARARGS | METH_KEYWORDS }, | |
10875 | { "wxStyledTextCtrl_MarkerAdd", (PyCFunction) _wrap_wxStyledTextCtrl_MarkerAdd, METH_VARARGS | METH_KEYWORDS }, | |
10876 | { "wxStyledTextCtrl_MarkerSetBackground", (PyCFunction) _wrap_wxStyledTextCtrl_MarkerSetBackground, METH_VARARGS | METH_KEYWORDS }, | |
10877 | { "wxStyledTextCtrl_MarkerSetForeground", (PyCFunction) _wrap_wxStyledTextCtrl_MarkerSetForeground, METH_VARARGS | METH_KEYWORDS }, | |
10878 | { "wxStyledTextCtrl_MarkerDefine", (PyCFunction) _wrap_wxStyledTextCtrl_MarkerDefine, METH_VARARGS | METH_KEYWORDS }, | |
10879 | { "wxStyledTextCtrl_SetCodePage", (PyCFunction) _wrap_wxStyledTextCtrl_SetCodePage, METH_VARARGS | METH_KEYWORDS }, | |
10880 | { "wxStyledTextCtrl_GetTabWidth", (PyCFunction) _wrap_wxStyledTextCtrl_GetTabWidth, METH_VARARGS | METH_KEYWORDS }, | |
10881 | { "wxStyledTextCtrl_SetTabWidth", (PyCFunction) _wrap_wxStyledTextCtrl_SetTabWidth, METH_VARARGS | METH_KEYWORDS }, | |
10882 | { "wxStyledTextCtrl_SetBufferedDraw", (PyCFunction) _wrap_wxStyledTextCtrl_SetBufferedDraw, METH_VARARGS | METH_KEYWORDS }, | |
10883 | { "wxStyledTextCtrl_GetBufferedDraw", (PyCFunction) _wrap_wxStyledTextCtrl_GetBufferedDraw, METH_VARARGS | METH_KEYWORDS }, | |
10884 | { "wxStyledTextCtrl_SetStyling", (PyCFunction) _wrap_wxStyledTextCtrl_SetStyling, METH_VARARGS | METH_KEYWORDS }, | |
10885 | { "wxStyledTextCtrl_StartStyling", (PyCFunction) _wrap_wxStyledTextCtrl_StartStyling, METH_VARARGS | METH_KEYWORDS }, | |
10886 | { "wxStyledTextCtrl_SetEOLMode", (PyCFunction) _wrap_wxStyledTextCtrl_SetEOLMode, METH_VARARGS | METH_KEYWORDS }, | |
10887 | { "wxStyledTextCtrl_GetEOLMode", (PyCFunction) _wrap_wxStyledTextCtrl_GetEOLMode, METH_VARARGS | METH_KEYWORDS }, | |
10888 | { "wxStyledTextCtrl_ConvertEOLs", (PyCFunction) _wrap_wxStyledTextCtrl_ConvertEOLs, METH_VARARGS | METH_KEYWORDS }, | |
10889 | { "wxStyledTextCtrl_GetEndStyled", (PyCFunction) _wrap_wxStyledTextCtrl_GetEndStyled, METH_VARARGS | METH_KEYWORDS }, | |
10890 | { "wxStyledTextCtrl_GetCurLine", (PyCFunction) _wrap_wxStyledTextCtrl_GetCurLine, METH_VARARGS | METH_KEYWORDS }, | |
10891 | { "wxStyledTextCtrl_SetAnchor", (PyCFunction) _wrap_wxStyledTextCtrl_SetAnchor, METH_VARARGS | METH_KEYWORDS }, | |
10892 | { "wxStyledTextCtrl_GotoPos", (PyCFunction) _wrap_wxStyledTextCtrl_GotoPos, METH_VARARGS | METH_KEYWORDS }, | |
10893 | { "wxStyledTextCtrl_GotoLine", (PyCFunction) _wrap_wxStyledTextCtrl_GotoLine, METH_VARARGS | METH_KEYWORDS }, | |
10894 | { "wxStyledTextCtrl_PositionFromPointClose", (PyCFunction) _wrap_wxStyledTextCtrl_PositionFromPointClose, METH_VARARGS | METH_KEYWORDS }, | |
10895 | { "wxStyledTextCtrl_PositionFromPoint", (PyCFunction) _wrap_wxStyledTextCtrl_PositionFromPoint, METH_VARARGS | METH_KEYWORDS }, | |
10896 | { "wxStyledTextCtrl_SetViewWhiteSpace", (PyCFunction) _wrap_wxStyledTextCtrl_SetViewWhiteSpace, METH_VARARGS | METH_KEYWORDS }, | |
10897 | { "wxStyledTextCtrl_GetViewWhiteSpace", (PyCFunction) _wrap_wxStyledTextCtrl_GetViewWhiteSpace, METH_VARARGS | METH_KEYWORDS }, | |
10898 | { "wxStyledTextCtrl_GetUndoCollection", (PyCFunction) _wrap_wxStyledTextCtrl_GetUndoCollection, METH_VARARGS | METH_KEYWORDS }, | |
10899 | { "wxStyledTextCtrl_MarkerDeleteHandle", (PyCFunction) _wrap_wxStyledTextCtrl_MarkerDeleteHandle, METH_VARARGS | METH_KEYWORDS }, | |
10900 | { "wxStyledTextCtrl_MarkerLineFromHandle", (PyCFunction) _wrap_wxStyledTextCtrl_MarkerLineFromHandle, METH_VARARGS | METH_KEYWORDS }, | |
10901 | { "wxStyledTextCtrl_CanRedo", (PyCFunction) _wrap_wxStyledTextCtrl_CanRedo, METH_VARARGS | METH_KEYWORDS }, | |
10902 | { "wxStyledTextCtrl_GetStyledText", (PyCFunction) _wrap_wxStyledTextCtrl_GetStyledText, METH_VARARGS | METH_KEYWORDS }, | |
10903 | { "wxStyledTextCtrl_SetSavePoint", (PyCFunction) _wrap_wxStyledTextCtrl_SetSavePoint, METH_VARARGS | METH_KEYWORDS }, | |
10904 | { "wxStyledTextCtrl_SelectAll", (PyCFunction) _wrap_wxStyledTextCtrl_SelectAll, METH_VARARGS | METH_KEYWORDS }, | |
10905 | { "wxStyledTextCtrl_SetUndoCollection", (PyCFunction) _wrap_wxStyledTextCtrl_SetUndoCollection, METH_VARARGS | METH_KEYWORDS }, | |
10906 | { "wxStyledTextCtrl_Redo", (PyCFunction) _wrap_wxStyledTextCtrl_Redo, METH_VARARGS | METH_KEYWORDS }, | |
10907 | { "wxStyledTextCtrl_GetStyleAt", (PyCFunction) _wrap_wxStyledTextCtrl_GetStyleAt, METH_VARARGS | METH_KEYWORDS }, | |
10908 | { "wxStyledTextCtrl_GetAnchor", (PyCFunction) _wrap_wxStyledTextCtrl_GetAnchor, METH_VARARGS | METH_KEYWORDS }, | |
10909 | { "wxStyledTextCtrl_GetCurrentPos", (PyCFunction) _wrap_wxStyledTextCtrl_GetCurrentPos, METH_VARARGS | METH_KEYWORDS }, | |
10910 | { "wxStyledTextCtrl_GetCharAt", (PyCFunction) _wrap_wxStyledTextCtrl_GetCharAt, METH_VARARGS | METH_KEYWORDS }, | |
10911 | { "wxStyledTextCtrl_GetLength", (PyCFunction) _wrap_wxStyledTextCtrl_GetLength, METH_VARARGS | METH_KEYWORDS }, | |
10912 | { "wxStyledTextCtrl_ClearDocumentStyle", (PyCFunction) _wrap_wxStyledTextCtrl_ClearDocumentStyle, METH_VARARGS | METH_KEYWORDS }, | |
10913 | { "wxStyledTextCtrl_ClearAll", (PyCFunction) _wrap_wxStyledTextCtrl_ClearAll, METH_VARARGS | METH_KEYWORDS }, | |
10914 | { "wxStyledTextCtrl_InsertText", (PyCFunction) _wrap_wxStyledTextCtrl_InsertText, METH_VARARGS | METH_KEYWORDS }, | |
10915 | { "wxStyledTextCtrl_AddStyledText", (PyCFunction) _wrap_wxStyledTextCtrl_AddStyledText, METH_VARARGS | METH_KEYWORDS }, | |
10916 | { "wxStyledTextCtrl_AddText", (PyCFunction) _wrap_wxStyledTextCtrl_AddText, METH_VARARGS | METH_KEYWORDS }, | |
10917 | { "new_wxStyledTextCtrl", (PyCFunction) _wrap_new_wxStyledTextCtrl, METH_VARARGS | METH_KEYWORDS }, | |
10918 | { NULL, NULL } | |
10919 | }; | |
10920 | #ifdef __cplusplus | |
10921 | } | |
10922 | #endif | |
10923 | /* | |
10924 | * This table is used by the pointer type-checker | |
10925 | */ | |
10926 | static struct { char *n1; char *n2; void *(*pcnv)(void *); } _swig_mapping[] = { | |
10927 | { "_wxEvent","_wxStyledTextEvent",SwigwxStyledTextEventTowxEvent}, | |
10928 | { "_signed_long","_long",0}, | |
10929 | { "_wxPrintQuality","_wxCoord",0}, | |
10930 | { "_wxPrintQuality","_int",0}, | |
10931 | { "_wxPrintQuality","_signed_int",0}, | |
10932 | { "_wxPrintQuality","_unsigned_int",0}, | |
10933 | { "_wxPrintQuality","_wxWindowID",0}, | |
10934 | { "_wxPrintQuality","_uint",0}, | |
10935 | { "_wxPrintQuality","_EBool",0}, | |
10936 | { "_wxPrintQuality","_size_t",0}, | |
10937 | { "_wxPrintQuality","_time_t",0}, | |
10938 | { "_byte","_unsigned_char",0}, | |
10939 | { "_long","_unsigned_long",0}, | |
10940 | { "_long","_signed_long",0}, | |
10941 | { "_size_t","_wxCoord",0}, | |
10942 | { "_size_t","_wxPrintQuality",0}, | |
10943 | { "_size_t","_time_t",0}, | |
10944 | { "_size_t","_unsigned_int",0}, | |
10945 | { "_size_t","_int",0}, | |
10946 | { "_size_t","_wxWindowID",0}, | |
10947 | { "_size_t","_uint",0}, | |
10948 | { "_uint","_wxCoord",0}, | |
10949 | { "_uint","_wxPrintQuality",0}, | |
10950 | { "_uint","_time_t",0}, | |
10951 | { "_uint","_size_t",0}, | |
10952 | { "_uint","_unsigned_int",0}, | |
10953 | { "_uint","_int",0}, | |
10954 | { "_uint","_wxWindowID",0}, | |
10955 | { "_wxChar","_char",0}, | |
10956 | { "_wxCommandEvent","_wxStyledTextEvent",SwigwxStyledTextEventTowxCommandEvent}, | |
10957 | { "_char","_wxChar",0}, | |
10958 | { "_struct_wxNativeFontInfo","_wxNativeFontInfo",0}, | |
10959 | { "_EBool","_wxCoord",0}, | |
10960 | { "_EBool","_wxPrintQuality",0}, | |
10961 | { "_EBool","_signed_int",0}, | |
10962 | { "_EBool","_int",0}, | |
10963 | { "_EBool","_wxWindowID",0}, | |
10964 | { "_unsigned_long","_long",0}, | |
10965 | { "_wxNativeFontInfo","_struct_wxNativeFontInfo",0}, | |
10966 | { "_signed_int","_wxCoord",0}, | |
10967 | { "_signed_int","_wxPrintQuality",0}, | |
10968 | { "_signed_int","_EBool",0}, | |
10969 | { "_signed_int","_wxWindowID",0}, | |
10970 | { "_signed_int","_int",0}, | |
10971 | { "_WXTYPE","_wxDateTime_t",0}, | |
10972 | { "_WXTYPE","_short",0}, | |
10973 | { "_WXTYPE","_signed_short",0}, | |
10974 | { "_WXTYPE","_unsigned_short",0}, | |
10975 | { "_unsigned_short","_wxDateTime_t",0}, | |
10976 | { "_unsigned_short","_WXTYPE",0}, | |
10977 | { "_unsigned_short","_short",0}, | |
10978 | { "_wxObject","_wxStyledTextEvent",SwigwxStyledTextEventTowxObject}, | |
10979 | { "_wxObject","_wxStyledTextCtrl",SwigwxStyledTextCtrlTowxObject}, | |
10980 | { "_signed_short","_WXTYPE",0}, | |
10981 | { "_signed_short","_short",0}, | |
10982 | { "_unsigned_char","_byte",0}, | |
10983 | { "_wxControl","_wxStyledTextCtrl",SwigwxStyledTextCtrlTowxControl}, | |
10984 | { "_unsigned_int","_wxCoord",0}, | |
10985 | { "_unsigned_int","_wxPrintQuality",0}, | |
10986 | { "_unsigned_int","_time_t",0}, | |
10987 | { "_unsigned_int","_size_t",0}, | |
10988 | { "_unsigned_int","_uint",0}, | |
10989 | { "_unsigned_int","_wxWindowID",0}, | |
10990 | { "_unsigned_int","_int",0}, | |
10991 | { "_short","_wxDateTime_t",0}, | |
10992 | { "_short","_WXTYPE",0}, | |
10993 | { "_short","_unsigned_short",0}, | |
10994 | { "_short","_signed_short",0}, | |
10995 | { "_wxWindowID","_wxCoord",0}, | |
10996 | { "_wxWindowID","_wxPrintQuality",0}, | |
10997 | { "_wxWindowID","_time_t",0}, | |
10998 | { "_wxWindowID","_size_t",0}, | |
10999 | { "_wxWindowID","_EBool",0}, | |
11000 | { "_wxWindowID","_uint",0}, | |
11001 | { "_wxWindowID","_int",0}, | |
11002 | { "_wxWindowID","_signed_int",0}, | |
11003 | { "_wxWindowID","_unsigned_int",0}, | |
11004 | { "_int","_wxCoord",0}, | |
11005 | { "_int","_wxPrintQuality",0}, | |
11006 | { "_int","_time_t",0}, | |
11007 | { "_int","_size_t",0}, | |
11008 | { "_int","_EBool",0}, | |
11009 | { "_int","_uint",0}, | |
11010 | { "_int","_wxWindowID",0}, | |
11011 | { "_int","_unsigned_int",0}, | |
11012 | { "_int","_signed_int",0}, | |
11013 | { "_wxDateTime_t","_unsigned_short",0}, | |
11014 | { "_wxDateTime_t","_short",0}, | |
11015 | { "_wxDateTime_t","_WXTYPE",0}, | |
11016 | { "_time_t","_wxCoord",0}, | |
11017 | { "_time_t","_wxPrintQuality",0}, | |
11018 | { "_time_t","_unsigned_int",0}, | |
11019 | { "_time_t","_int",0}, | |
11020 | { "_time_t","_wxWindowID",0}, | |
11021 | { "_time_t","_uint",0}, | |
11022 | { "_time_t","_size_t",0}, | |
11023 | { "_wxCoord","_int",0}, | |
11024 | { "_wxCoord","_signed_int",0}, | |
11025 | { "_wxCoord","_unsigned_int",0}, | |
11026 | { "_wxCoord","_wxWindowID",0}, | |
11027 | { "_wxCoord","_uint",0}, | |
11028 | { "_wxCoord","_EBool",0}, | |
11029 | { "_wxCoord","_size_t",0}, | |
11030 | { "_wxCoord","_time_t",0}, | |
11031 | { "_wxCoord","_wxPrintQuality",0}, | |
11032 | { "_wxEvtHandler","_wxStyledTextCtrl",SwigwxStyledTextCtrlTowxEvtHandler}, | |
11033 | { "_wxWindow","_wxStyledTextCtrl",SwigwxStyledTextCtrlTowxWindow}, | |
11034 | {0,0,0}}; | |
11035 | ||
11036 | static PyObject *SWIG_globals; | |
11037 | #ifdef __cplusplus | |
11038 | extern "C" | |
11039 | #endif | |
11040 | SWIGEXPORT(void) initstc_c() { | |
11041 | PyObject *m, *d; | |
11042 | SWIG_globals = SWIG_newvarlink(); | |
11043 | m = Py_InitModule("stc_c", stc_cMethods); | |
11044 | d = PyModule_GetDict(m); | |
11045 | PyDict_SetItemString(d,"wxSTC_INVALID_POSITION", PyInt_FromLong((long) -1)); | |
11046 | PyDict_SetItemString(d,"wxSTC_START", PyInt_FromLong((long) 2000)); | |
11047 | PyDict_SetItemString(d,"wxSTC_OPTIONAL_START", PyInt_FromLong((long) 3000)); | |
11048 | PyDict_SetItemString(d,"wxSTC_LEXER_START", PyInt_FromLong((long) 4000)); | |
11049 | PyDict_SetItemString(d,"wxSTC_CMD_REDO", PyInt_FromLong((long) 2011)); | |
11050 | PyDict_SetItemString(d,"wxSTC_CMD_SELECTALL", PyInt_FromLong((long) 2013)); | |
11051 | PyDict_SetItemString(d,"wxSTC_WS_INVISIBLE", PyInt_FromLong((long) 0)); | |
11052 | PyDict_SetItemString(d,"wxSTC_WS_VISIBLEALWAYS", PyInt_FromLong((long) 1)); | |
11053 | PyDict_SetItemString(d,"wxSTC_WS_VISIBLEAFTERINDENT", PyInt_FromLong((long) 2)); | |
11054 | PyDict_SetItemString(d,"wxSTC_EOL_CRLF", PyInt_FromLong((long) 0)); | |
11055 | PyDict_SetItemString(d,"wxSTC_EOL_CR", PyInt_FromLong((long) 1)); | |
11056 | PyDict_SetItemString(d,"wxSTC_EOL_LF", PyInt_FromLong((long) 2)); | |
11057 | PyDict_SetItemString(d,"wxSTC_CP_UTF8", PyInt_FromLong((long) 65001)); | |
11058 | PyDict_SetItemString(d,"wxSTC_MARKER_MAX", PyInt_FromLong((long) 31)); | |
11059 | PyDict_SetItemString(d,"wxSTC_MARK_CIRCLE", PyInt_FromLong((long) 0)); | |
11060 | PyDict_SetItemString(d,"wxSTC_MARK_ROUNDRECT", PyInt_FromLong((long) 1)); | |
11061 | PyDict_SetItemString(d,"wxSTC_MARK_ARROW", PyInt_FromLong((long) 2)); | |
11062 | PyDict_SetItemString(d,"wxSTC_MARK_SMALLRECT", PyInt_FromLong((long) 3)); | |
11063 | PyDict_SetItemString(d,"wxSTC_MARK_SHORTARROW", PyInt_FromLong((long) 4)); | |
11064 | PyDict_SetItemString(d,"wxSTC_MARK_EMPTY", PyInt_FromLong((long) 5)); | |
11065 | PyDict_SetItemString(d,"wxSTC_MARK_ARROWDOWN", PyInt_FromLong((long) 6)); | |
11066 | PyDict_SetItemString(d,"wxSTC_MARK_MINUS", PyInt_FromLong((long) 7)); | |
11067 | PyDict_SetItemString(d,"wxSTC_MARK_PLUS", PyInt_FromLong((long) 8)); | |
11068 | PyDict_SetItemString(d,"wxSTC_MARK_VLINE", PyInt_FromLong((long) 9)); | |
11069 | PyDict_SetItemString(d,"wxSTC_MARK_LCORNER", PyInt_FromLong((long) 10)); | |
11070 | PyDict_SetItemString(d,"wxSTC_MARK_TCORNER", PyInt_FromLong((long) 11)); | |
11071 | PyDict_SetItemString(d,"wxSTC_MARK_BOXPLUS", PyInt_FromLong((long) 12)); | |
11072 | PyDict_SetItemString(d,"wxSTC_MARK_BOXPLUSCONNECTED", PyInt_FromLong((long) 13)); | |
11073 | PyDict_SetItemString(d,"wxSTC_MARK_BOXMINUS", PyInt_FromLong((long) 14)); | |
11074 | PyDict_SetItemString(d,"wxSTC_MARK_BOXMINUSCONNECTED", PyInt_FromLong((long) 15)); | |
11075 | PyDict_SetItemString(d,"wxSTC_MARK_LCORNERCURVE", PyInt_FromLong((long) 16)); | |
11076 | PyDict_SetItemString(d,"wxSTC_MARK_TCORNERCURVE", PyInt_FromLong((long) 17)); | |
11077 | PyDict_SetItemString(d,"wxSTC_MARK_CIRCLEPLUS", PyInt_FromLong((long) 18)); | |
11078 | PyDict_SetItemString(d,"wxSTC_MARK_CIRCLEPLUSCONNECTED", PyInt_FromLong((long) 19)); | |
11079 | PyDict_SetItemString(d,"wxSTC_MARK_CIRCLEMINUS", PyInt_FromLong((long) 20)); | |
11080 | PyDict_SetItemString(d,"wxSTC_MARK_CIRCLEMINUSCONNECTED", PyInt_FromLong((long) 21)); | |
c3bfa1cb | 11081 | PyDict_SetItemString(d,"wxSTC_MARK_BACKGROUND", PyInt_FromLong((long) 22)); |
8a2fa5c8 RD |
11082 | PyDict_SetItemString(d,"wxSTC_MARK_CHARACTER", PyInt_FromLong((long) 10000)); |
11083 | PyDict_SetItemString(d,"wxSTC_MARKNUM_FOLDEREND", PyInt_FromLong((long) 25)); | |
11084 | PyDict_SetItemString(d,"wxSTC_MARKNUM_FOLDEROPENMID", PyInt_FromLong((long) 26)); | |
11085 | PyDict_SetItemString(d,"wxSTC_MARKNUM_FOLDERMIDTAIL", PyInt_FromLong((long) 27)); | |
11086 | PyDict_SetItemString(d,"wxSTC_MARKNUM_FOLDERTAIL", PyInt_FromLong((long) 28)); | |
11087 | PyDict_SetItemString(d,"wxSTC_MARKNUM_FOLDERSUB", PyInt_FromLong((long) 29)); | |
11088 | PyDict_SetItemString(d,"wxSTC_MARKNUM_FOLDER", PyInt_FromLong((long) 30)); | |
11089 | PyDict_SetItemString(d,"wxSTC_MARKNUM_FOLDEROPEN", PyInt_FromLong((long) 31)); | |
c3bfa1cb | 11090 | PyDict_SetItemString(d,"wxSTC_MASK_FOLDERS", PyInt_FromLong((long) 0xFE000000)); |
8a2fa5c8 RD |
11091 | PyDict_SetItemString(d,"wxSTC_MARGIN_SYMBOL", PyInt_FromLong((long) 0)); |
11092 | PyDict_SetItemString(d,"wxSTC_MARGIN_NUMBER", PyInt_FromLong((long) 1)); | |
11093 | PyDict_SetItemString(d,"wxSTC_STYLE_DEFAULT", PyInt_FromLong((long) 32)); | |
11094 | PyDict_SetItemString(d,"wxSTC_STYLE_LINENUMBER", PyInt_FromLong((long) 33)); | |
11095 | PyDict_SetItemString(d,"wxSTC_STYLE_BRACELIGHT", PyInt_FromLong((long) 34)); | |
11096 | PyDict_SetItemString(d,"wxSTC_STYLE_BRACEBAD", PyInt_FromLong((long) 35)); | |
11097 | PyDict_SetItemString(d,"wxSTC_STYLE_CONTROLCHAR", PyInt_FromLong((long) 36)); | |
11098 | PyDict_SetItemString(d,"wxSTC_STYLE_INDENTGUIDE", PyInt_FromLong((long) 37)); | |
11099 | PyDict_SetItemString(d,"wxSTC_STYLE_LASTPREDEFINED", PyInt_FromLong((long) 39)); | |
11100 | PyDict_SetItemString(d,"wxSTC_STYLE_MAX", PyInt_FromLong((long) 127)); | |
11101 | PyDict_SetItemString(d,"wxSTC_CHARSET_ANSI", PyInt_FromLong((long) 0)); | |
11102 | PyDict_SetItemString(d,"wxSTC_CHARSET_DEFAULT", PyInt_FromLong((long) 1)); | |
11103 | PyDict_SetItemString(d,"wxSTC_CHARSET_BALTIC", PyInt_FromLong((long) 186)); | |
11104 | PyDict_SetItemString(d,"wxSTC_CHARSET_CHINESEBIG5", PyInt_FromLong((long) 136)); | |
11105 | PyDict_SetItemString(d,"wxSTC_CHARSET_EASTEUROPE", PyInt_FromLong((long) 238)); | |
11106 | PyDict_SetItemString(d,"wxSTC_CHARSET_GB2312", PyInt_FromLong((long) 134)); | |
11107 | PyDict_SetItemString(d,"wxSTC_CHARSET_GREEK", PyInt_FromLong((long) 161)); | |
11108 | PyDict_SetItemString(d,"wxSTC_CHARSET_HANGUL", PyInt_FromLong((long) 129)); | |
11109 | PyDict_SetItemString(d,"wxSTC_CHARSET_MAC", PyInt_FromLong((long) 77)); | |
11110 | PyDict_SetItemString(d,"wxSTC_CHARSET_OEM", PyInt_FromLong((long) 255)); | |
11111 | PyDict_SetItemString(d,"wxSTC_CHARSET_RUSSIAN", PyInt_FromLong((long) 204)); | |
11112 | PyDict_SetItemString(d,"wxSTC_CHARSET_SHIFTJIS", PyInt_FromLong((long) 128)); | |
11113 | PyDict_SetItemString(d,"wxSTC_CHARSET_SYMBOL", PyInt_FromLong((long) 2)); | |
11114 | PyDict_SetItemString(d,"wxSTC_CHARSET_TURKISH", PyInt_FromLong((long) 162)); | |
11115 | PyDict_SetItemString(d,"wxSTC_CHARSET_JOHAB", PyInt_FromLong((long) 130)); | |
11116 | PyDict_SetItemString(d,"wxSTC_CHARSET_HEBREW", PyInt_FromLong((long) 177)); | |
11117 | PyDict_SetItemString(d,"wxSTC_CHARSET_ARABIC", PyInt_FromLong((long) 178)); | |
11118 | PyDict_SetItemString(d,"wxSTC_CHARSET_VIETNAMESE", PyInt_FromLong((long) 163)); | |
11119 | PyDict_SetItemString(d,"wxSTC_CHARSET_THAI", PyInt_FromLong((long) 222)); | |
11120 | PyDict_SetItemString(d,"wxSTC_CASE_MIXED", PyInt_FromLong((long) 0)); | |
11121 | PyDict_SetItemString(d,"wxSTC_CASE_UPPER", PyInt_FromLong((long) 1)); | |
11122 | PyDict_SetItemString(d,"wxSTC_CASE_LOWER", PyInt_FromLong((long) 2)); | |
11123 | PyDict_SetItemString(d,"wxSTC_INDIC_MAX", PyInt_FromLong((long) 7)); | |
11124 | PyDict_SetItemString(d,"wxSTC_INDIC_PLAIN", PyInt_FromLong((long) 0)); | |
11125 | PyDict_SetItemString(d,"wxSTC_INDIC_SQUIGGLE", PyInt_FromLong((long) 1)); | |
11126 | PyDict_SetItemString(d,"wxSTC_INDIC_TT", PyInt_FromLong((long) 2)); | |
11127 | PyDict_SetItemString(d,"wxSTC_INDIC_DIAGONAL", PyInt_FromLong((long) 3)); | |
11128 | PyDict_SetItemString(d,"wxSTC_INDIC_STRIKE", PyInt_FromLong((long) 4)); | |
c3bfa1cb RD |
11129 | PyDict_SetItemString(d,"wxSTC_INDIC0_MASK", PyInt_FromLong((long) 0x20)); |
11130 | PyDict_SetItemString(d,"wxSTC_INDIC1_MASK", PyInt_FromLong((long) 0x40)); | |
11131 | PyDict_SetItemString(d,"wxSTC_INDIC2_MASK", PyInt_FromLong((long) 0x80)); | |
11132 | PyDict_SetItemString(d,"wxSTC_INDICS_MASK", PyInt_FromLong((long) 0xE0)); | |
8a2fa5c8 RD |
11133 | PyDict_SetItemString(d,"wxSTC_PRINT_NORMAL", PyInt_FromLong((long) 0)); |
11134 | PyDict_SetItemString(d,"wxSTC_PRINT_INVERTLIGHT", PyInt_FromLong((long) 1)); | |
11135 | PyDict_SetItemString(d,"wxSTC_PRINT_BLACKONWHITE", PyInt_FromLong((long) 2)); | |
11136 | PyDict_SetItemString(d,"wxSTC_PRINT_COLOURONWHITE", PyInt_FromLong((long) 3)); | |
11137 | PyDict_SetItemString(d,"wxSTC_PRINT_COLOURONWHITEDEFAULTBG", PyInt_FromLong((long) 4)); | |
11138 | PyDict_SetItemString(d,"wxSTC_FIND_WHOLEWORD", PyInt_FromLong((long) 2)); | |
11139 | PyDict_SetItemString(d,"wxSTC_FIND_MATCHCASE", PyInt_FromLong((long) 4)); | |
11140 | PyDict_SetItemString(d,"wxSTC_FIND_WORDSTART", PyInt_FromLong((long) 0x00100000)); | |
11141 | PyDict_SetItemString(d,"wxSTC_FIND_REGEXP", PyInt_FromLong((long) 0x00200000)); | |
11142 | PyDict_SetItemString(d,"wxSTC_CMD_UNDO", PyInt_FromLong((long) 2176)); | |
11143 | PyDict_SetItemString(d,"wxSTC_CMD_CUT", PyInt_FromLong((long) 2177)); | |
11144 | PyDict_SetItemString(d,"wxSTC_CMD_COPY", PyInt_FromLong((long) 2178)); | |
11145 | PyDict_SetItemString(d,"wxSTC_CMD_PASTE", PyInt_FromLong((long) 2179)); | |
11146 | PyDict_SetItemString(d,"wxSTC_FOLDLEVELBASE", PyInt_FromLong((long) 0x400)); | |
11147 | PyDict_SetItemString(d,"wxSTC_FOLDLEVELWHITEFLAG", PyInt_FromLong((long) 0x1000)); | |
11148 | PyDict_SetItemString(d,"wxSTC_FOLDLEVELHEADERFLAG", PyInt_FromLong((long) 0x2000)); | |
11149 | PyDict_SetItemString(d,"wxSTC_FOLDLEVELNUMBERMASK", PyInt_FromLong((long) 0x0FFF)); | |
11150 | PyDict_SetItemString(d,"wxSTC_TIME_FOREVER", PyInt_FromLong((long) 10000000)); | |
c3bfa1cb RD |
11151 | PyDict_SetItemString(d,"wxSTC_WRAP_NONE", PyInt_FromLong((long) 0)); |
11152 | PyDict_SetItemString(d,"wxSTC_WRAP_WORD", PyInt_FromLong((long) 1)); | |
11153 | PyDict_SetItemString(d,"wxSTC_CACHE_NONE", PyInt_FromLong((long) 0)); | |
11154 | PyDict_SetItemString(d,"wxSTC_CACHE_CARET", PyInt_FromLong((long) 1)); | |
11155 | PyDict_SetItemString(d,"wxSTC_CACHE_PAGE", PyInt_FromLong((long) 2)); | |
11156 | PyDict_SetItemString(d,"wxSTC_CACHE_DOCUMENT", PyInt_FromLong((long) 3)); | |
8a2fa5c8 RD |
11157 | PyDict_SetItemString(d,"wxSTC_CMD_LINEDOWN", PyInt_FromLong((long) 2300)); |
11158 | PyDict_SetItemString(d,"wxSTC_CMD_LINEDOWNEXTEND", PyInt_FromLong((long) 2301)); | |
11159 | PyDict_SetItemString(d,"wxSTC_CMD_LINEUP", PyInt_FromLong((long) 2302)); | |
11160 | PyDict_SetItemString(d,"wxSTC_CMD_LINEUPEXTEND", PyInt_FromLong((long) 2303)); | |
11161 | PyDict_SetItemString(d,"wxSTC_CMD_CHARLEFT", PyInt_FromLong((long) 2304)); | |
11162 | PyDict_SetItemString(d,"wxSTC_CMD_CHARLEFTEXTEND", PyInt_FromLong((long) 2305)); | |
11163 | PyDict_SetItemString(d,"wxSTC_CMD_CHARRIGHT", PyInt_FromLong((long) 2306)); | |
11164 | PyDict_SetItemString(d,"wxSTC_CMD_CHARRIGHTEXTEND", PyInt_FromLong((long) 2307)); | |
11165 | PyDict_SetItemString(d,"wxSTC_CMD_WORDLEFT", PyInt_FromLong((long) 2308)); | |
11166 | PyDict_SetItemString(d,"wxSTC_CMD_WORDLEFTEXTEND", PyInt_FromLong((long) 2309)); | |
11167 | PyDict_SetItemString(d,"wxSTC_CMD_WORDRIGHT", PyInt_FromLong((long) 2310)); | |
11168 | PyDict_SetItemString(d,"wxSTC_CMD_WORDRIGHTEXTEND", PyInt_FromLong((long) 2311)); | |
11169 | PyDict_SetItemString(d,"wxSTC_CMD_HOME", PyInt_FromLong((long) 2312)); | |
11170 | PyDict_SetItemString(d,"wxSTC_CMD_HOMEEXTEND", PyInt_FromLong((long) 2313)); | |
11171 | PyDict_SetItemString(d,"wxSTC_CMD_LINEEND", PyInt_FromLong((long) 2314)); | |
11172 | PyDict_SetItemString(d,"wxSTC_CMD_LINEENDEXTEND", PyInt_FromLong((long) 2315)); | |
11173 | PyDict_SetItemString(d,"wxSTC_CMD_DOCUMENTSTART", PyInt_FromLong((long) 2316)); | |
11174 | PyDict_SetItemString(d,"wxSTC_CMD_DOCUMENTSTARTEXTEND", PyInt_FromLong((long) 2317)); | |
11175 | PyDict_SetItemString(d,"wxSTC_CMD_DOCUMENTEND", PyInt_FromLong((long) 2318)); | |
11176 | PyDict_SetItemString(d,"wxSTC_CMD_DOCUMENTENDEXTEND", PyInt_FromLong((long) 2319)); | |
11177 | PyDict_SetItemString(d,"wxSTC_CMD_PAGEUP", PyInt_FromLong((long) 2320)); | |
11178 | PyDict_SetItemString(d,"wxSTC_CMD_PAGEUPEXTEND", PyInt_FromLong((long) 2321)); | |
11179 | PyDict_SetItemString(d,"wxSTC_CMD_PAGEDOWN", PyInt_FromLong((long) 2322)); | |
11180 | PyDict_SetItemString(d,"wxSTC_CMD_PAGEDOWNEXTEND", PyInt_FromLong((long) 2323)); | |
11181 | PyDict_SetItemString(d,"wxSTC_CMD_EDITTOGGLEOVERTYPE", PyInt_FromLong((long) 2324)); | |
11182 | PyDict_SetItemString(d,"wxSTC_CMD_CANCEL", PyInt_FromLong((long) 2325)); | |
11183 | PyDict_SetItemString(d,"wxSTC_CMD_DELETEBACK", PyInt_FromLong((long) 2326)); | |
11184 | PyDict_SetItemString(d,"wxSTC_CMD_TAB", PyInt_FromLong((long) 2327)); | |
11185 | PyDict_SetItemString(d,"wxSTC_CMD_BACKTAB", PyInt_FromLong((long) 2328)); | |
11186 | PyDict_SetItemString(d,"wxSTC_CMD_NEWLINE", PyInt_FromLong((long) 2329)); | |
11187 | PyDict_SetItemString(d,"wxSTC_CMD_FORMFEED", PyInt_FromLong((long) 2330)); | |
11188 | PyDict_SetItemString(d,"wxSTC_CMD_VCHOME", PyInt_FromLong((long) 2331)); | |
11189 | PyDict_SetItemString(d,"wxSTC_CMD_VCHOMEEXTEND", PyInt_FromLong((long) 2332)); | |
11190 | PyDict_SetItemString(d,"wxSTC_CMD_ZOOMIN", PyInt_FromLong((long) 2333)); | |
11191 | PyDict_SetItemString(d,"wxSTC_CMD_ZOOMOUT", PyInt_FromLong((long) 2334)); | |
11192 | PyDict_SetItemString(d,"wxSTC_CMD_DELWORDLEFT", PyInt_FromLong((long) 2335)); | |
11193 | PyDict_SetItemString(d,"wxSTC_CMD_DELWORDRIGHT", PyInt_FromLong((long) 2336)); | |
11194 | PyDict_SetItemString(d,"wxSTC_CMD_LINECUT", PyInt_FromLong((long) 2337)); | |
11195 | PyDict_SetItemString(d,"wxSTC_CMD_LINEDELETE", PyInt_FromLong((long) 2338)); | |
11196 | PyDict_SetItemString(d,"wxSTC_CMD_LINETRANSPOSE", PyInt_FromLong((long) 2339)); | |
11197 | PyDict_SetItemString(d,"wxSTC_CMD_LOWERCASE", PyInt_FromLong((long) 2340)); | |
11198 | PyDict_SetItemString(d,"wxSTC_CMD_UPPERCASE", PyInt_FromLong((long) 2341)); | |
11199 | PyDict_SetItemString(d,"wxSTC_CMD_LINESCROLLDOWN", PyInt_FromLong((long) 2342)); | |
11200 | PyDict_SetItemString(d,"wxSTC_CMD_LINESCROLLUP", PyInt_FromLong((long) 2343)); | |
c3bfa1cb | 11201 | PyDict_SetItemString(d,"wxSTC_CMD_DELETEBACKNOTLINE", PyInt_FromLong((long) 2344)); |
8a2fa5c8 RD |
11202 | PyDict_SetItemString(d,"wxSTC_EDGE_NONE", PyInt_FromLong((long) 0)); |
11203 | PyDict_SetItemString(d,"wxSTC_EDGE_LINE", PyInt_FromLong((long) 1)); | |
11204 | PyDict_SetItemString(d,"wxSTC_EDGE_BACKGROUND", PyInt_FromLong((long) 2)); | |
11205 | PyDict_SetItemString(d,"wxSTC_CARET_SLOP", PyInt_FromLong((long) 0x01)); | |
11206 | PyDict_SetItemString(d,"wxSTC_CARET_CENTER", PyInt_FromLong((long) 0x02)); | |
11207 | PyDict_SetItemString(d,"wxSTC_CARET_STRICT", PyInt_FromLong((long) 0x04)); | |
11208 | PyDict_SetItemString(d,"wxSTC_CARET_XEVEN", PyInt_FromLong((long) 0x08)); | |
11209 | PyDict_SetItemString(d,"wxSTC_CARET_XJUMPS", PyInt_FromLong((long) 0x10)); | |
11210 | PyDict_SetItemString(d,"wxSTC_CURSORNORMAL", PyInt_FromLong((long) -1)); | |
11211 | PyDict_SetItemString(d,"wxSTC_CURSORWAIT", PyInt_FromLong((long) 3)); | |
11212 | PyDict_SetItemString(d,"wxSTC_VISIBLE_SLOP", PyInt_FromLong((long) 0x01)); | |
11213 | PyDict_SetItemString(d,"wxSTC_VISIBLE_STRICT", PyInt_FromLong((long) 0x04)); | |
11214 | PyDict_SetItemString(d,"wxSTC_MOD_INSERTTEXT", PyInt_FromLong((long) 0x1)); | |
11215 | PyDict_SetItemString(d,"wxSTC_MOD_DELETETEXT", PyInt_FromLong((long) 0x2)); | |
11216 | PyDict_SetItemString(d,"wxSTC_MOD_CHANGESTYLE", PyInt_FromLong((long) 0x4)); | |
11217 | PyDict_SetItemString(d,"wxSTC_MOD_CHANGEFOLD", PyInt_FromLong((long) 0x8)); | |
11218 | PyDict_SetItemString(d,"wxSTC_PERFORMED_USER", PyInt_FromLong((long) 0x10)); | |
11219 | PyDict_SetItemString(d,"wxSTC_PERFORMED_UNDO", PyInt_FromLong((long) 0x20)); | |
11220 | PyDict_SetItemString(d,"wxSTC_PERFORMED_REDO", PyInt_FromLong((long) 0x40)); | |
11221 | PyDict_SetItemString(d,"wxSTC_LASTSTEPINUNDOREDO", PyInt_FromLong((long) 0x100)); | |
11222 | PyDict_SetItemString(d,"wxSTC_MOD_CHANGEMARKER", PyInt_FromLong((long) 0x200)); | |
11223 | PyDict_SetItemString(d,"wxSTC_MOD_BEFOREINSERT", PyInt_FromLong((long) 0x400)); | |
11224 | PyDict_SetItemString(d,"wxSTC_MOD_BEFOREDELETE", PyInt_FromLong((long) 0x800)); | |
11225 | PyDict_SetItemString(d,"wxSTC_MODEVENTMASKALL", PyInt_FromLong((long) 0xF77)); | |
11226 | PyDict_SetItemString(d,"wxSTC_KEY_DOWN", PyInt_FromLong((long) 300)); | |
11227 | PyDict_SetItemString(d,"wxSTC_KEY_UP", PyInt_FromLong((long) 301)); | |
11228 | PyDict_SetItemString(d,"wxSTC_KEY_LEFT", PyInt_FromLong((long) 302)); | |
11229 | PyDict_SetItemString(d,"wxSTC_KEY_RIGHT", PyInt_FromLong((long) 303)); | |
11230 | PyDict_SetItemString(d,"wxSTC_KEY_HOME", PyInt_FromLong((long) 304)); | |
11231 | PyDict_SetItemString(d,"wxSTC_KEY_END", PyInt_FromLong((long) 305)); | |
11232 | PyDict_SetItemString(d,"wxSTC_KEY_PRIOR", PyInt_FromLong((long) 306)); | |
11233 | PyDict_SetItemString(d,"wxSTC_KEY_NEXT", PyInt_FromLong((long) 307)); | |
11234 | PyDict_SetItemString(d,"wxSTC_KEY_DELETE", PyInt_FromLong((long) 308)); | |
11235 | PyDict_SetItemString(d,"wxSTC_KEY_INSERT", PyInt_FromLong((long) 309)); | |
11236 | PyDict_SetItemString(d,"wxSTC_KEY_ESCAPE", PyInt_FromLong((long) 7)); | |
11237 | PyDict_SetItemString(d,"wxSTC_KEY_BACK", PyInt_FromLong((long) 8)); | |
11238 | PyDict_SetItemString(d,"wxSTC_KEY_TAB", PyInt_FromLong((long) 9)); | |
11239 | PyDict_SetItemString(d,"wxSTC_KEY_RETURN", PyInt_FromLong((long) 13)); | |
11240 | PyDict_SetItemString(d,"wxSTC_KEY_ADD", PyInt_FromLong((long) 310)); | |
11241 | PyDict_SetItemString(d,"wxSTC_KEY_SUBTRACT", PyInt_FromLong((long) 311)); | |
11242 | PyDict_SetItemString(d,"wxSTC_KEY_DIVIDE", PyInt_FromLong((long) 312)); | |
11243 | PyDict_SetItemString(d,"wxSTC_SCMOD_SHIFT", PyInt_FromLong((long) 1)); | |
11244 | PyDict_SetItemString(d,"wxSTC_SCMOD_CTRL", PyInt_FromLong((long) 2)); | |
11245 | PyDict_SetItemString(d,"wxSTC_SCMOD_ALT", PyInt_FromLong((long) 4)); | |
11246 | PyDict_SetItemString(d,"wxSTC_LEX_CONTAINER", PyInt_FromLong((long) 0)); | |
11247 | PyDict_SetItemString(d,"wxSTC_LEX_NULL", PyInt_FromLong((long) 1)); | |
11248 | PyDict_SetItemString(d,"wxSTC_LEX_PYTHON", PyInt_FromLong((long) 2)); | |
11249 | PyDict_SetItemString(d,"wxSTC_LEX_CPP", PyInt_FromLong((long) 3)); | |
11250 | PyDict_SetItemString(d,"wxSTC_LEX_HTML", PyInt_FromLong((long) 4)); | |
11251 | PyDict_SetItemString(d,"wxSTC_LEX_XML", PyInt_FromLong((long) 5)); | |
11252 | PyDict_SetItemString(d,"wxSTC_LEX_PERL", PyInt_FromLong((long) 6)); | |
11253 | PyDict_SetItemString(d,"wxSTC_LEX_SQL", PyInt_FromLong((long) 7)); | |
11254 | PyDict_SetItemString(d,"wxSTC_LEX_VB", PyInt_FromLong((long) 8)); | |
11255 | PyDict_SetItemString(d,"wxSTC_LEX_PROPERTIES", PyInt_FromLong((long) 9)); | |
11256 | PyDict_SetItemString(d,"wxSTC_LEX_ERRORLIST", PyInt_FromLong((long) 10)); | |
11257 | PyDict_SetItemString(d,"wxSTC_LEX_MAKEFILE", PyInt_FromLong((long) 11)); | |
11258 | PyDict_SetItemString(d,"wxSTC_LEX_BATCH", PyInt_FromLong((long) 12)); | |
11259 | PyDict_SetItemString(d,"wxSTC_LEX_XCODE", PyInt_FromLong((long) 13)); | |
11260 | PyDict_SetItemString(d,"wxSTC_LEX_LATEX", PyInt_FromLong((long) 14)); | |
11261 | PyDict_SetItemString(d,"wxSTC_LEX_LUA", PyInt_FromLong((long) 15)); | |
11262 | PyDict_SetItemString(d,"wxSTC_LEX_DIFF", PyInt_FromLong((long) 16)); | |
11263 | PyDict_SetItemString(d,"wxSTC_LEX_CONF", PyInt_FromLong((long) 17)); | |
11264 | PyDict_SetItemString(d,"wxSTC_LEX_PASCAL", PyInt_FromLong((long) 18)); | |
11265 | PyDict_SetItemString(d,"wxSTC_LEX_AVE", PyInt_FromLong((long) 19)); | |
11266 | PyDict_SetItemString(d,"wxSTC_LEX_ADA", PyInt_FromLong((long) 20)); | |
11267 | PyDict_SetItemString(d,"wxSTC_LEX_LISP", PyInt_FromLong((long) 21)); | |
11268 | PyDict_SetItemString(d,"wxSTC_LEX_RUBY", PyInt_FromLong((long) 22)); | |
11269 | PyDict_SetItemString(d,"wxSTC_LEX_EIFFEL", PyInt_FromLong((long) 23)); | |
11270 | PyDict_SetItemString(d,"wxSTC_LEX_EIFFELKW", PyInt_FromLong((long) 24)); | |
11271 | PyDict_SetItemString(d,"wxSTC_LEX_TCL", PyInt_FromLong((long) 25)); | |
11272 | PyDict_SetItemString(d,"wxSTC_LEX_NNCRONTAB", PyInt_FromLong((long) 26)); | |
c3bfa1cb RD |
11273 | PyDict_SetItemString(d,"wxSTC_LEX_BULLANT", PyInt_FromLong((long) 27)); |
11274 | PyDict_SetItemString(d,"wxSTC_LEX_VBSCRIPT", PyInt_FromLong((long) 28)); | |
11275 | PyDict_SetItemString(d,"wxSTC_LEX_ASP", PyInt_FromLong((long) 29)); | |
11276 | PyDict_SetItemString(d,"wxSTC_LEX_PHP", PyInt_FromLong((long) 30)); | |
11277 | PyDict_SetItemString(d,"wxSTC_LEX_BAAN", PyInt_FromLong((long) 31)); | |
11278 | PyDict_SetItemString(d,"wxSTC_LEX_MATLAB", PyInt_FromLong((long) 32)); | |
8a2fa5c8 RD |
11279 | PyDict_SetItemString(d,"wxSTC_LEX_AUTOMATIC", PyInt_FromLong((long) 1000)); |
11280 | PyDict_SetItemString(d,"wxSTC_P_DEFAULT", PyInt_FromLong((long) 0)); | |
11281 | PyDict_SetItemString(d,"wxSTC_P_COMMENTLINE", PyInt_FromLong((long) 1)); | |
11282 | PyDict_SetItemString(d,"wxSTC_P_NUMBER", PyInt_FromLong((long) 2)); | |
11283 | PyDict_SetItemString(d,"wxSTC_P_STRING", PyInt_FromLong((long) 3)); | |
11284 | PyDict_SetItemString(d,"wxSTC_P_CHARACTER", PyInt_FromLong((long) 4)); | |
11285 | PyDict_SetItemString(d,"wxSTC_P_WORD", PyInt_FromLong((long) 5)); | |
11286 | PyDict_SetItemString(d,"wxSTC_P_TRIPLE", PyInt_FromLong((long) 6)); | |
11287 | PyDict_SetItemString(d,"wxSTC_P_TRIPLEDOUBLE", PyInt_FromLong((long) 7)); | |
11288 | PyDict_SetItemString(d,"wxSTC_P_CLASSNAME", PyInt_FromLong((long) 8)); | |
11289 | PyDict_SetItemString(d,"wxSTC_P_DEFNAME", PyInt_FromLong((long) 9)); | |
11290 | PyDict_SetItemString(d,"wxSTC_P_OPERATOR", PyInt_FromLong((long) 10)); | |
11291 | PyDict_SetItemString(d,"wxSTC_P_IDENTIFIER", PyInt_FromLong((long) 11)); | |
11292 | PyDict_SetItemString(d,"wxSTC_P_COMMENTBLOCK", PyInt_FromLong((long) 12)); | |
11293 | PyDict_SetItemString(d,"wxSTC_P_STRINGEOL", PyInt_FromLong((long) 13)); | |
11294 | PyDict_SetItemString(d,"wxSTC_C_DEFAULT", PyInt_FromLong((long) 0)); | |
11295 | PyDict_SetItemString(d,"wxSTC_C_COMMENT", PyInt_FromLong((long) 1)); | |
11296 | PyDict_SetItemString(d,"wxSTC_C_COMMENTLINE", PyInt_FromLong((long) 2)); | |
11297 | PyDict_SetItemString(d,"wxSTC_C_COMMENTDOC", PyInt_FromLong((long) 3)); | |
11298 | PyDict_SetItemString(d,"wxSTC_C_NUMBER", PyInt_FromLong((long) 4)); | |
11299 | PyDict_SetItemString(d,"wxSTC_C_WORD", PyInt_FromLong((long) 5)); | |
11300 | PyDict_SetItemString(d,"wxSTC_C_STRING", PyInt_FromLong((long) 6)); | |
11301 | PyDict_SetItemString(d,"wxSTC_C_CHARACTER", PyInt_FromLong((long) 7)); | |
11302 | PyDict_SetItemString(d,"wxSTC_C_UUID", PyInt_FromLong((long) 8)); | |
11303 | PyDict_SetItemString(d,"wxSTC_C_PREPROCESSOR", PyInt_FromLong((long) 9)); | |
11304 | PyDict_SetItemString(d,"wxSTC_C_OPERATOR", PyInt_FromLong((long) 10)); | |
11305 | PyDict_SetItemString(d,"wxSTC_C_IDENTIFIER", PyInt_FromLong((long) 11)); | |
11306 | PyDict_SetItemString(d,"wxSTC_C_STRINGEOL", PyInt_FromLong((long) 12)); | |
11307 | PyDict_SetItemString(d,"wxSTC_C_VERBATIM", PyInt_FromLong((long) 13)); | |
11308 | PyDict_SetItemString(d,"wxSTC_C_REGEX", PyInt_FromLong((long) 14)); | |
11309 | PyDict_SetItemString(d,"wxSTC_C_COMMENTLINEDOC", PyInt_FromLong((long) 15)); | |
11310 | PyDict_SetItemString(d,"wxSTC_C_WORD2", PyInt_FromLong((long) 16)); | |
11311 | PyDict_SetItemString(d,"wxSTC_C_COMMENTDOCKEYWORD", PyInt_FromLong((long) 17)); | |
11312 | PyDict_SetItemString(d,"wxSTC_C_COMMENTDOCKEYWORDERROR", PyInt_FromLong((long) 18)); | |
c3bfa1cb RD |
11313 | PyDict_SetItemString(d,"wxSTC_B_DEFAULT", PyInt_FromLong((long) 0)); |
11314 | PyDict_SetItemString(d,"wxSTC_B_COMMENT", PyInt_FromLong((long) 1)); | |
11315 | PyDict_SetItemString(d,"wxSTC_B_NUMBER", PyInt_FromLong((long) 2)); | |
11316 | PyDict_SetItemString(d,"wxSTC_B_KEYWORD", PyInt_FromLong((long) 3)); | |
11317 | PyDict_SetItemString(d,"wxSTC_B_STRING", PyInt_FromLong((long) 4)); | |
11318 | PyDict_SetItemString(d,"wxSTC_B_PREPROCESSOR", PyInt_FromLong((long) 5)); | |
11319 | PyDict_SetItemString(d,"wxSTC_B_OPERATOR", PyInt_FromLong((long) 6)); | |
11320 | PyDict_SetItemString(d,"wxSTC_B_IDENTIFIER", PyInt_FromLong((long) 7)); | |
11321 | PyDict_SetItemString(d,"wxSTC_B_DATE", PyInt_FromLong((long) 8)); | |
8a2fa5c8 RD |
11322 | PyDict_SetItemString(d,"wxSTC_H_DEFAULT", PyInt_FromLong((long) 0)); |
11323 | PyDict_SetItemString(d,"wxSTC_H_TAG", PyInt_FromLong((long) 1)); | |
11324 | PyDict_SetItemString(d,"wxSTC_H_TAGUNKNOWN", PyInt_FromLong((long) 2)); | |
11325 | PyDict_SetItemString(d,"wxSTC_H_ATTRIBUTE", PyInt_FromLong((long) 3)); | |
11326 | PyDict_SetItemString(d,"wxSTC_H_ATTRIBUTEUNKNOWN", PyInt_FromLong((long) 4)); | |
11327 | PyDict_SetItemString(d,"wxSTC_H_NUMBER", PyInt_FromLong((long) 5)); | |
11328 | PyDict_SetItemString(d,"wxSTC_H_DOUBLESTRING", PyInt_FromLong((long) 6)); | |
11329 | PyDict_SetItemString(d,"wxSTC_H_SINGLESTRING", PyInt_FromLong((long) 7)); | |
11330 | PyDict_SetItemString(d,"wxSTC_H_OTHER", PyInt_FromLong((long) 8)); | |
11331 | PyDict_SetItemString(d,"wxSTC_H_COMMENT", PyInt_FromLong((long) 9)); | |
11332 | PyDict_SetItemString(d,"wxSTC_H_ENTITY", PyInt_FromLong((long) 10)); | |
11333 | PyDict_SetItemString(d,"wxSTC_H_TAGEND", PyInt_FromLong((long) 11)); | |
11334 | PyDict_SetItemString(d,"wxSTC_H_XMLSTART", PyInt_FromLong((long) 12)); | |
11335 | PyDict_SetItemString(d,"wxSTC_H_XMLEND", PyInt_FromLong((long) 13)); | |
11336 | PyDict_SetItemString(d,"wxSTC_H_SCRIPT", PyInt_FromLong((long) 14)); | |
11337 | PyDict_SetItemString(d,"wxSTC_H_ASP", PyInt_FromLong((long) 15)); | |
11338 | PyDict_SetItemString(d,"wxSTC_H_ASPAT", PyInt_FromLong((long) 16)); | |
11339 | PyDict_SetItemString(d,"wxSTC_H_CDATA", PyInt_FromLong((long) 17)); | |
11340 | PyDict_SetItemString(d,"wxSTC_H_QUESTION", PyInt_FromLong((long) 18)); | |
11341 | PyDict_SetItemString(d,"wxSTC_H_VALUE", PyInt_FromLong((long) 19)); | |
11342 | PyDict_SetItemString(d,"wxSTC_H_XCCOMMENT", PyInt_FromLong((long) 20)); | |
11343 | PyDict_SetItemString(d,"wxSTC_H_SGML_DEFAULT", PyInt_FromLong((long) 21)); | |
11344 | PyDict_SetItemString(d,"wxSTC_H_SGML_COMMAND", PyInt_FromLong((long) 22)); | |
11345 | PyDict_SetItemString(d,"wxSTC_H_SGML_1ST_PARAM", PyInt_FromLong((long) 23)); | |
11346 | PyDict_SetItemString(d,"wxSTC_H_SGML_DOUBLESTRING", PyInt_FromLong((long) 24)); | |
11347 | PyDict_SetItemString(d,"wxSTC_H_SGML_SIMPLESTRING", PyInt_FromLong((long) 25)); | |
11348 | PyDict_SetItemString(d,"wxSTC_H_SGML_ERROR", PyInt_FromLong((long) 26)); | |
11349 | PyDict_SetItemString(d,"wxSTC_H_SGML_SPECIAL", PyInt_FromLong((long) 27)); | |
11350 | PyDict_SetItemString(d,"wxSTC_H_SGML_ENTITY", PyInt_FromLong((long) 28)); | |
11351 | PyDict_SetItemString(d,"wxSTC_H_SGML_COMMENT", PyInt_FromLong((long) 29)); | |
11352 | PyDict_SetItemString(d,"wxSTC_H_SGML_1ST_PARAM_COMMENT", PyInt_FromLong((long) 30)); | |
11353 | PyDict_SetItemString(d,"wxSTC_H_SGML_BLOCK_DEFAULT", PyInt_FromLong((long) 31)); | |
11354 | PyDict_SetItemString(d,"wxSTC_HJ_START", PyInt_FromLong((long) 40)); | |
11355 | PyDict_SetItemString(d,"wxSTC_HJ_DEFAULT", PyInt_FromLong((long) 41)); | |
11356 | PyDict_SetItemString(d,"wxSTC_HJ_COMMENT", PyInt_FromLong((long) 42)); | |
11357 | PyDict_SetItemString(d,"wxSTC_HJ_COMMENTLINE", PyInt_FromLong((long) 43)); | |
11358 | PyDict_SetItemString(d,"wxSTC_HJ_COMMENTDOC", PyInt_FromLong((long) 44)); | |
11359 | PyDict_SetItemString(d,"wxSTC_HJ_NUMBER", PyInt_FromLong((long) 45)); | |
11360 | PyDict_SetItemString(d,"wxSTC_HJ_WORD", PyInt_FromLong((long) 46)); | |
11361 | PyDict_SetItemString(d,"wxSTC_HJ_KEYWORD", PyInt_FromLong((long) 47)); | |
11362 | PyDict_SetItemString(d,"wxSTC_HJ_DOUBLESTRING", PyInt_FromLong((long) 48)); | |
11363 | PyDict_SetItemString(d,"wxSTC_HJ_SINGLESTRING", PyInt_FromLong((long) 49)); | |
11364 | PyDict_SetItemString(d,"wxSTC_HJ_SYMBOLS", PyInt_FromLong((long) 50)); | |
11365 | PyDict_SetItemString(d,"wxSTC_HJ_STRINGEOL", PyInt_FromLong((long) 51)); | |
11366 | PyDict_SetItemString(d,"wxSTC_HJ_REGEX", PyInt_FromLong((long) 52)); | |
11367 | PyDict_SetItemString(d,"wxSTC_HJA_START", PyInt_FromLong((long) 55)); | |
11368 | PyDict_SetItemString(d,"wxSTC_HJA_DEFAULT", PyInt_FromLong((long) 56)); | |
11369 | PyDict_SetItemString(d,"wxSTC_HJA_COMMENT", PyInt_FromLong((long) 57)); | |
11370 | PyDict_SetItemString(d,"wxSTC_HJA_COMMENTLINE", PyInt_FromLong((long) 58)); | |
11371 | PyDict_SetItemString(d,"wxSTC_HJA_COMMENTDOC", PyInt_FromLong((long) 59)); | |
11372 | PyDict_SetItemString(d,"wxSTC_HJA_NUMBER", PyInt_FromLong((long) 60)); | |
11373 | PyDict_SetItemString(d,"wxSTC_HJA_WORD", PyInt_FromLong((long) 61)); | |
11374 | PyDict_SetItemString(d,"wxSTC_HJA_KEYWORD", PyInt_FromLong((long) 62)); | |
11375 | PyDict_SetItemString(d,"wxSTC_HJA_DOUBLESTRING", PyInt_FromLong((long) 63)); | |
11376 | PyDict_SetItemString(d,"wxSTC_HJA_SINGLESTRING", PyInt_FromLong((long) 64)); | |
11377 | PyDict_SetItemString(d,"wxSTC_HJA_SYMBOLS", PyInt_FromLong((long) 65)); | |
11378 | PyDict_SetItemString(d,"wxSTC_HJA_STRINGEOL", PyInt_FromLong((long) 66)); | |
11379 | PyDict_SetItemString(d,"wxSTC_HJA_REGEX", PyInt_FromLong((long) 67)); | |
11380 | PyDict_SetItemString(d,"wxSTC_HB_START", PyInt_FromLong((long) 70)); | |
11381 | PyDict_SetItemString(d,"wxSTC_HB_DEFAULT", PyInt_FromLong((long) 71)); | |
11382 | PyDict_SetItemString(d,"wxSTC_HB_COMMENTLINE", PyInt_FromLong((long) 72)); | |
11383 | PyDict_SetItemString(d,"wxSTC_HB_NUMBER", PyInt_FromLong((long) 73)); | |
11384 | PyDict_SetItemString(d,"wxSTC_HB_WORD", PyInt_FromLong((long) 74)); | |
11385 | PyDict_SetItemString(d,"wxSTC_HB_STRING", PyInt_FromLong((long) 75)); | |
11386 | PyDict_SetItemString(d,"wxSTC_HB_IDENTIFIER", PyInt_FromLong((long) 76)); | |
11387 | PyDict_SetItemString(d,"wxSTC_HB_STRINGEOL", PyInt_FromLong((long) 77)); | |
11388 | PyDict_SetItemString(d,"wxSTC_HBA_START", PyInt_FromLong((long) 80)); | |
11389 | PyDict_SetItemString(d,"wxSTC_HBA_DEFAULT", PyInt_FromLong((long) 81)); | |
11390 | PyDict_SetItemString(d,"wxSTC_HBA_COMMENTLINE", PyInt_FromLong((long) 82)); | |
11391 | PyDict_SetItemString(d,"wxSTC_HBA_NUMBER", PyInt_FromLong((long) 83)); | |
11392 | PyDict_SetItemString(d,"wxSTC_HBA_WORD", PyInt_FromLong((long) 84)); | |
11393 | PyDict_SetItemString(d,"wxSTC_HBA_STRING", PyInt_FromLong((long) 85)); | |
11394 | PyDict_SetItemString(d,"wxSTC_HBA_IDENTIFIER", PyInt_FromLong((long) 86)); | |
11395 | PyDict_SetItemString(d,"wxSTC_HBA_STRINGEOL", PyInt_FromLong((long) 87)); | |
11396 | PyDict_SetItemString(d,"wxSTC_HP_START", PyInt_FromLong((long) 90)); | |
11397 | PyDict_SetItemString(d,"wxSTC_HP_DEFAULT", PyInt_FromLong((long) 91)); | |
11398 | PyDict_SetItemString(d,"wxSTC_HP_COMMENTLINE", PyInt_FromLong((long) 92)); | |
11399 | PyDict_SetItemString(d,"wxSTC_HP_NUMBER", PyInt_FromLong((long) 93)); | |
11400 | PyDict_SetItemString(d,"wxSTC_HP_STRING", PyInt_FromLong((long) 94)); | |
11401 | PyDict_SetItemString(d,"wxSTC_HP_CHARACTER", PyInt_FromLong((long) 95)); | |
11402 | PyDict_SetItemString(d,"wxSTC_HP_WORD", PyInt_FromLong((long) 96)); | |
11403 | PyDict_SetItemString(d,"wxSTC_HP_TRIPLE", PyInt_FromLong((long) 97)); | |
11404 | PyDict_SetItemString(d,"wxSTC_HP_TRIPLEDOUBLE", PyInt_FromLong((long) 98)); | |
11405 | PyDict_SetItemString(d,"wxSTC_HP_CLASSNAME", PyInt_FromLong((long) 99)); | |
11406 | PyDict_SetItemString(d,"wxSTC_HP_DEFNAME", PyInt_FromLong((long) 100)); | |
11407 | PyDict_SetItemString(d,"wxSTC_HP_OPERATOR", PyInt_FromLong((long) 101)); | |
11408 | PyDict_SetItemString(d,"wxSTC_HP_IDENTIFIER", PyInt_FromLong((long) 102)); | |
11409 | PyDict_SetItemString(d,"wxSTC_HPA_START", PyInt_FromLong((long) 105)); | |
11410 | PyDict_SetItemString(d,"wxSTC_HPA_DEFAULT", PyInt_FromLong((long) 106)); | |
11411 | PyDict_SetItemString(d,"wxSTC_HPA_COMMENTLINE", PyInt_FromLong((long) 107)); | |
11412 | PyDict_SetItemString(d,"wxSTC_HPA_NUMBER", PyInt_FromLong((long) 108)); | |
11413 | PyDict_SetItemString(d,"wxSTC_HPA_STRING", PyInt_FromLong((long) 109)); | |
11414 | PyDict_SetItemString(d,"wxSTC_HPA_CHARACTER", PyInt_FromLong((long) 110)); | |
11415 | PyDict_SetItemString(d,"wxSTC_HPA_WORD", PyInt_FromLong((long) 111)); | |
11416 | PyDict_SetItemString(d,"wxSTC_HPA_TRIPLE", PyInt_FromLong((long) 112)); | |
11417 | PyDict_SetItemString(d,"wxSTC_HPA_TRIPLEDOUBLE", PyInt_FromLong((long) 113)); | |
11418 | PyDict_SetItemString(d,"wxSTC_HPA_CLASSNAME", PyInt_FromLong((long) 114)); | |
11419 | PyDict_SetItemString(d,"wxSTC_HPA_DEFNAME", PyInt_FromLong((long) 115)); | |
11420 | PyDict_SetItemString(d,"wxSTC_HPA_OPERATOR", PyInt_FromLong((long) 116)); | |
11421 | PyDict_SetItemString(d,"wxSTC_HPA_IDENTIFIER", PyInt_FromLong((long) 117)); | |
11422 | PyDict_SetItemString(d,"wxSTC_HPHP_DEFAULT", PyInt_FromLong((long) 118)); | |
11423 | PyDict_SetItemString(d,"wxSTC_HPHP_HSTRING", PyInt_FromLong((long) 119)); | |
11424 | PyDict_SetItemString(d,"wxSTC_HPHP_SIMPLESTRING", PyInt_FromLong((long) 120)); | |
11425 | PyDict_SetItemString(d,"wxSTC_HPHP_WORD", PyInt_FromLong((long) 121)); | |
11426 | PyDict_SetItemString(d,"wxSTC_HPHP_NUMBER", PyInt_FromLong((long) 122)); | |
11427 | PyDict_SetItemString(d,"wxSTC_HPHP_VARIABLE", PyInt_FromLong((long) 123)); | |
11428 | PyDict_SetItemString(d,"wxSTC_HPHP_COMMENT", PyInt_FromLong((long) 124)); | |
11429 | PyDict_SetItemString(d,"wxSTC_HPHP_COMMENTLINE", PyInt_FromLong((long) 125)); | |
11430 | PyDict_SetItemString(d,"wxSTC_HPHP_HSTRING_VARIABLE", PyInt_FromLong((long) 126)); | |
11431 | PyDict_SetItemString(d,"wxSTC_HPHP_OPERATOR", PyInt_FromLong((long) 127)); | |
11432 | PyDict_SetItemString(d,"wxSTC_PL_DEFAULT", PyInt_FromLong((long) 0)); | |
11433 | PyDict_SetItemString(d,"wxSTC_PL_ERROR", PyInt_FromLong((long) 1)); | |
11434 | PyDict_SetItemString(d,"wxSTC_PL_COMMENTLINE", PyInt_FromLong((long) 2)); | |
11435 | PyDict_SetItemString(d,"wxSTC_PL_POD", PyInt_FromLong((long) 3)); | |
11436 | PyDict_SetItemString(d,"wxSTC_PL_NUMBER", PyInt_FromLong((long) 4)); | |
11437 | PyDict_SetItemString(d,"wxSTC_PL_WORD", PyInt_FromLong((long) 5)); | |
11438 | PyDict_SetItemString(d,"wxSTC_PL_STRING", PyInt_FromLong((long) 6)); | |
11439 | PyDict_SetItemString(d,"wxSTC_PL_CHARACTER", PyInt_FromLong((long) 7)); | |
11440 | PyDict_SetItemString(d,"wxSTC_PL_PUNCTUATION", PyInt_FromLong((long) 8)); | |
11441 | PyDict_SetItemString(d,"wxSTC_PL_PREPROCESSOR", PyInt_FromLong((long) 9)); | |
11442 | PyDict_SetItemString(d,"wxSTC_PL_OPERATOR", PyInt_FromLong((long) 10)); | |
11443 | PyDict_SetItemString(d,"wxSTC_PL_IDENTIFIER", PyInt_FromLong((long) 11)); | |
11444 | PyDict_SetItemString(d,"wxSTC_PL_SCALAR", PyInt_FromLong((long) 12)); | |
11445 | PyDict_SetItemString(d,"wxSTC_PL_ARRAY", PyInt_FromLong((long) 13)); | |
11446 | PyDict_SetItemString(d,"wxSTC_PL_HASH", PyInt_FromLong((long) 14)); | |
11447 | PyDict_SetItemString(d,"wxSTC_PL_SYMBOLTABLE", PyInt_FromLong((long) 15)); | |
11448 | PyDict_SetItemString(d,"wxSTC_PL_REGEX", PyInt_FromLong((long) 17)); | |
11449 | PyDict_SetItemString(d,"wxSTC_PL_REGSUBST", PyInt_FromLong((long) 18)); | |
11450 | PyDict_SetItemString(d,"wxSTC_PL_LONGQUOTE", PyInt_FromLong((long) 19)); | |
11451 | PyDict_SetItemString(d,"wxSTC_PL_BACKTICKS", PyInt_FromLong((long) 20)); | |
11452 | PyDict_SetItemString(d,"wxSTC_PL_DATASECTION", PyInt_FromLong((long) 21)); | |
11453 | PyDict_SetItemString(d,"wxSTC_PL_HERE_DELIM", PyInt_FromLong((long) 22)); | |
11454 | PyDict_SetItemString(d,"wxSTC_PL_HERE_Q", PyInt_FromLong((long) 23)); | |
11455 | PyDict_SetItemString(d,"wxSTC_PL_HERE_QQ", PyInt_FromLong((long) 24)); | |
11456 | PyDict_SetItemString(d,"wxSTC_PL_HERE_QX", PyInt_FromLong((long) 25)); | |
11457 | PyDict_SetItemString(d,"wxSTC_PL_STRING_Q", PyInt_FromLong((long) 26)); | |
11458 | PyDict_SetItemString(d,"wxSTC_PL_STRING_QQ", PyInt_FromLong((long) 27)); | |
11459 | PyDict_SetItemString(d,"wxSTC_PL_STRING_QX", PyInt_FromLong((long) 28)); | |
11460 | PyDict_SetItemString(d,"wxSTC_PL_STRING_QR", PyInt_FromLong((long) 29)); | |
11461 | PyDict_SetItemString(d,"wxSTC_PL_STRING_QW", PyInt_FromLong((long) 30)); | |
11462 | PyDict_SetItemString(d,"wxSTC_L_DEFAULT", PyInt_FromLong((long) 0)); | |
11463 | PyDict_SetItemString(d,"wxSTC_L_COMMAND", PyInt_FromLong((long) 1)); | |
11464 | PyDict_SetItemString(d,"wxSTC_L_TAG", PyInt_FromLong((long) 2)); | |
11465 | PyDict_SetItemString(d,"wxSTC_L_MATH", PyInt_FromLong((long) 3)); | |
11466 | PyDict_SetItemString(d,"wxSTC_L_COMMENT", PyInt_FromLong((long) 4)); | |
11467 | PyDict_SetItemString(d,"wxSTC_LUA_DEFAULT", PyInt_FromLong((long) 0)); | |
11468 | PyDict_SetItemString(d,"wxSTC_LUA_COMMENT", PyInt_FromLong((long) 1)); | |
11469 | PyDict_SetItemString(d,"wxSTC_LUA_COMMENTLINE", PyInt_FromLong((long) 2)); | |
11470 | PyDict_SetItemString(d,"wxSTC_LUA_COMMENTDOC", PyInt_FromLong((long) 3)); | |
11471 | PyDict_SetItemString(d,"wxSTC_LUA_NUMBER", PyInt_FromLong((long) 4)); | |
11472 | PyDict_SetItemString(d,"wxSTC_LUA_WORD", PyInt_FromLong((long) 5)); | |
11473 | PyDict_SetItemString(d,"wxSTC_LUA_STRING", PyInt_FromLong((long) 6)); | |
11474 | PyDict_SetItemString(d,"wxSTC_LUA_CHARACTER", PyInt_FromLong((long) 7)); | |
11475 | PyDict_SetItemString(d,"wxSTC_LUA_LITERALSTRING", PyInt_FromLong((long) 8)); | |
11476 | PyDict_SetItemString(d,"wxSTC_LUA_PREPROCESSOR", PyInt_FromLong((long) 9)); | |
11477 | PyDict_SetItemString(d,"wxSTC_LUA_OPERATOR", PyInt_FromLong((long) 10)); | |
11478 | PyDict_SetItemString(d,"wxSTC_LUA_IDENTIFIER", PyInt_FromLong((long) 11)); | |
11479 | PyDict_SetItemString(d,"wxSTC_LUA_STRINGEOL", PyInt_FromLong((long) 12)); | |
c3bfa1cb RD |
11480 | PyDict_SetItemString(d,"wxSTC_LUA_WORD2", PyInt_FromLong((long) 13)); |
11481 | PyDict_SetItemString(d,"wxSTC_LUA_WORD3", PyInt_FromLong((long) 14)); | |
11482 | PyDict_SetItemString(d,"wxSTC_LUA_WORD4", PyInt_FromLong((long) 15)); | |
11483 | PyDict_SetItemString(d,"wxSTC_LUA_WORD5", PyInt_FromLong((long) 16)); | |
11484 | PyDict_SetItemString(d,"wxSTC_LUA_WORD6", PyInt_FromLong((long) 17)); | |
8a2fa5c8 RD |
11485 | PyDict_SetItemString(d,"wxSTC_ERR_DEFAULT", PyInt_FromLong((long) 0)); |
11486 | PyDict_SetItemString(d,"wxSTC_ERR_PYTHON", PyInt_FromLong((long) 1)); | |
11487 | PyDict_SetItemString(d,"wxSTC_ERR_GCC", PyInt_FromLong((long) 2)); | |
11488 | PyDict_SetItemString(d,"wxSTC_ERR_MS", PyInt_FromLong((long) 3)); | |
11489 | PyDict_SetItemString(d,"wxSTC_ERR_CMD", PyInt_FromLong((long) 4)); | |
11490 | PyDict_SetItemString(d,"wxSTC_ERR_BORLAND", PyInt_FromLong((long) 5)); | |
11491 | PyDict_SetItemString(d,"wxSTC_ERR_PERL", PyInt_FromLong((long) 6)); | |
11492 | PyDict_SetItemString(d,"wxSTC_ERR_NET", PyInt_FromLong((long) 7)); | |
11493 | PyDict_SetItemString(d,"wxSTC_ERR_LUA", PyInt_FromLong((long) 8)); | |
11494 | PyDict_SetItemString(d,"wxSTC_ERR_DIFF_CHANGED", PyInt_FromLong((long) 10)); | |
11495 | PyDict_SetItemString(d,"wxSTC_ERR_DIFF_ADDITION", PyInt_FromLong((long) 11)); | |
11496 | PyDict_SetItemString(d,"wxSTC_ERR_DIFF_DELETION", PyInt_FromLong((long) 12)); | |
11497 | PyDict_SetItemString(d,"wxSTC_ERR_DIFF_MESSAGE", PyInt_FromLong((long) 13)); | |
11498 | PyDict_SetItemString(d,"wxSTC_BAT_DEFAULT", PyInt_FromLong((long) 0)); | |
11499 | PyDict_SetItemString(d,"wxSTC_BAT_COMMENT", PyInt_FromLong((long) 1)); | |
11500 | PyDict_SetItemString(d,"wxSTC_BAT_WORD", PyInt_FromLong((long) 2)); | |
11501 | PyDict_SetItemString(d,"wxSTC_BAT_LABEL", PyInt_FromLong((long) 3)); | |
11502 | PyDict_SetItemString(d,"wxSTC_BAT_HIDE", PyInt_FromLong((long) 4)); | |
11503 | PyDict_SetItemString(d,"wxSTC_BAT_COMMAND", PyInt_FromLong((long) 5)); | |
11504 | PyDict_SetItemString(d,"wxSTC_BAT_IDENTIFIER", PyInt_FromLong((long) 6)); | |
11505 | PyDict_SetItemString(d,"wxSTC_BAT_OPERATOR", PyInt_FromLong((long) 7)); | |
11506 | PyDict_SetItemString(d,"wxSTC_MAKE_DEFAULT", PyInt_FromLong((long) 0)); | |
11507 | PyDict_SetItemString(d,"wxSTC_MAKE_COMMENT", PyInt_FromLong((long) 1)); | |
11508 | PyDict_SetItemString(d,"wxSTC_MAKE_PREPROCESSOR", PyInt_FromLong((long) 2)); | |
11509 | PyDict_SetItemString(d,"wxSTC_MAKE_IDENTIFIER", PyInt_FromLong((long) 3)); | |
11510 | PyDict_SetItemString(d,"wxSTC_MAKE_OPERATOR", PyInt_FromLong((long) 4)); | |
11511 | PyDict_SetItemString(d,"wxSTC_MAKE_TARGET", PyInt_FromLong((long) 5)); | |
11512 | PyDict_SetItemString(d,"wxSTC_MAKE_IDEOL", PyInt_FromLong((long) 9)); | |
11513 | PyDict_SetItemString(d,"wxSTC_CONF_DEFAULT", PyInt_FromLong((long) 0)); | |
11514 | PyDict_SetItemString(d,"wxSTC_CONF_COMMENT", PyInt_FromLong((long) 1)); | |
11515 | PyDict_SetItemString(d,"wxSTC_CONF_NUMBER", PyInt_FromLong((long) 2)); | |
11516 | PyDict_SetItemString(d,"wxSTC_CONF_IDENTIFIER", PyInt_FromLong((long) 3)); | |
11517 | PyDict_SetItemString(d,"wxSTC_CONF_EXTENSION", PyInt_FromLong((long) 4)); | |
11518 | PyDict_SetItemString(d,"wxSTC_CONF_PARAMETER", PyInt_FromLong((long) 5)); | |
11519 | PyDict_SetItemString(d,"wxSTC_CONF_STRING", PyInt_FromLong((long) 6)); | |
11520 | PyDict_SetItemString(d,"wxSTC_CONF_OPERATOR", PyInt_FromLong((long) 7)); | |
11521 | PyDict_SetItemString(d,"wxSTC_CONF_IP", PyInt_FromLong((long) 8)); | |
11522 | PyDict_SetItemString(d,"wxSTC_CONF_DIRECTIVE", PyInt_FromLong((long) 9)); | |
11523 | PyDict_SetItemString(d,"wxSTC_AVE_DEFAULT", PyInt_FromLong((long) 0)); | |
11524 | PyDict_SetItemString(d,"wxSTC_AVE_COMMENT", PyInt_FromLong((long) 1)); | |
11525 | PyDict_SetItemString(d,"wxSTC_AVE_NUMBER", PyInt_FromLong((long) 2)); | |
11526 | PyDict_SetItemString(d,"wxSTC_AVE_WORD", PyInt_FromLong((long) 3)); | |
11527 | PyDict_SetItemString(d,"wxSTC_AVE_KEYWORD", PyInt_FromLong((long) 4)); | |
11528 | PyDict_SetItemString(d,"wxSTC_AVE_STATEMENT", PyInt_FromLong((long) 5)); | |
11529 | PyDict_SetItemString(d,"wxSTC_AVE_STRING", PyInt_FromLong((long) 6)); | |
11530 | PyDict_SetItemString(d,"wxSTC_AVE_ENUM", PyInt_FromLong((long) 7)); | |
11531 | PyDict_SetItemString(d,"wxSTC_AVE_STRINGEOL", PyInt_FromLong((long) 8)); | |
11532 | PyDict_SetItemString(d,"wxSTC_AVE_IDENTIFIER", PyInt_FromLong((long) 9)); | |
11533 | PyDict_SetItemString(d,"wxSTC_AVE_OPERATOR", PyInt_FromLong((long) 10)); | |
11534 | PyDict_SetItemString(d,"wxSTC_ADA_DEFAULT", PyInt_FromLong((long) 0)); | |
11535 | PyDict_SetItemString(d,"wxSTC_ADA_COMMENT", PyInt_FromLong((long) 1)); | |
11536 | PyDict_SetItemString(d,"wxSTC_ADA_NUMBER", PyInt_FromLong((long) 2)); | |
11537 | PyDict_SetItemString(d,"wxSTC_ADA_WORD", PyInt_FromLong((long) 3)); | |
11538 | PyDict_SetItemString(d,"wxSTC_ADA_STRING", PyInt_FromLong((long) 4)); | |
11539 | PyDict_SetItemString(d,"wxSTC_ADA_CHARACTER", PyInt_FromLong((long) 5)); | |
11540 | PyDict_SetItemString(d,"wxSTC_ADA_OPERATOR", PyInt_FromLong((long) 6)); | |
11541 | PyDict_SetItemString(d,"wxSTC_ADA_IDENTIFIER", PyInt_FromLong((long) 7)); | |
11542 | PyDict_SetItemString(d,"wxSTC_ADA_STRINGEOL", PyInt_FromLong((long) 8)); | |
c3bfa1cb RD |
11543 | PyDict_SetItemString(d,"wxSTC_BAAN_DEFAULT", PyInt_FromLong((long) 0)); |
11544 | PyDict_SetItemString(d,"wxSTC_BAAN_COMMENT", PyInt_FromLong((long) 1)); | |
11545 | PyDict_SetItemString(d,"wxSTC_BAAN_COMMENTDOC", PyInt_FromLong((long) 2)); | |
11546 | PyDict_SetItemString(d,"wxSTC_BAAN_NUMBER", PyInt_FromLong((long) 3)); | |
11547 | PyDict_SetItemString(d,"wxSTC_BAAN_WORD", PyInt_FromLong((long) 4)); | |
11548 | PyDict_SetItemString(d,"wxSTC_BAAN_STRING", PyInt_FromLong((long) 5)); | |
11549 | PyDict_SetItemString(d,"wxSTC_BAAN_PREPROCESSOR", PyInt_FromLong((long) 6)); | |
11550 | PyDict_SetItemString(d,"wxSTC_BAAN_OPERATOR", PyInt_FromLong((long) 7)); | |
11551 | PyDict_SetItemString(d,"wxSTC_BAAN_IDENTIFIER", PyInt_FromLong((long) 8)); | |
11552 | PyDict_SetItemString(d,"wxSTC_BAAN_STRINGEOL", PyInt_FromLong((long) 9)); | |
11553 | PyDict_SetItemString(d,"wxSTC_BAAN_WORD2", PyInt_FromLong((long) 10)); | |
8a2fa5c8 RD |
11554 | PyDict_SetItemString(d,"wxSTC_LISP_DEFAULT", PyInt_FromLong((long) 0)); |
11555 | PyDict_SetItemString(d,"wxSTC_LISP_COMMENT", PyInt_FromLong((long) 1)); | |
11556 | PyDict_SetItemString(d,"wxSTC_LISP_NUMBER", PyInt_FromLong((long) 2)); | |
11557 | PyDict_SetItemString(d,"wxSTC_LISP_KEYWORD", PyInt_FromLong((long) 3)); | |
11558 | PyDict_SetItemString(d,"wxSTC_LISP_STRING", PyInt_FromLong((long) 6)); | |
11559 | PyDict_SetItemString(d,"wxSTC_LISP_STRINGEOL", PyInt_FromLong((long) 8)); | |
11560 | PyDict_SetItemString(d,"wxSTC_LISP_IDENTIFIER", PyInt_FromLong((long) 9)); | |
11561 | PyDict_SetItemString(d,"wxSTC_LISP_OPERATOR", PyInt_FromLong((long) 10)); | |
11562 | PyDict_SetItemString(d,"wxSTC_EIFFEL_DEFAULT", PyInt_FromLong((long) 0)); | |
11563 | PyDict_SetItemString(d,"wxSTC_EIFFEL_COMMENTLINE", PyInt_FromLong((long) 1)); | |
11564 | PyDict_SetItemString(d,"wxSTC_EIFFEL_NUMBER", PyInt_FromLong((long) 2)); | |
11565 | PyDict_SetItemString(d,"wxSTC_EIFFEL_WORD", PyInt_FromLong((long) 3)); | |
11566 | PyDict_SetItemString(d,"wxSTC_EIFFEL_STRING", PyInt_FromLong((long) 4)); | |
11567 | PyDict_SetItemString(d,"wxSTC_EIFFEL_CHARACTER", PyInt_FromLong((long) 5)); | |
11568 | PyDict_SetItemString(d,"wxSTC_EIFFEL_OPERATOR", PyInt_FromLong((long) 6)); | |
11569 | PyDict_SetItemString(d,"wxSTC_EIFFEL_IDENTIFIER", PyInt_FromLong((long) 7)); | |
11570 | PyDict_SetItemString(d,"wxSTC_EIFFEL_STRINGEOL", PyInt_FromLong((long) 8)); | |
11571 | PyDict_SetItemString(d,"wxSTC_NNCRONTAB_DEFAULT", PyInt_FromLong((long) 0)); | |
11572 | PyDict_SetItemString(d,"wxSTC_NNCRONTAB_COMMENT", PyInt_FromLong((long) 1)); | |
11573 | PyDict_SetItemString(d,"wxSTC_NNCRONTAB_TASK", PyInt_FromLong((long) 2)); | |
11574 | PyDict_SetItemString(d,"wxSTC_NNCRONTAB_SECTION", PyInt_FromLong((long) 3)); | |
11575 | PyDict_SetItemString(d,"wxSTC_NNCRONTAB_KEYWORD", PyInt_FromLong((long) 4)); | |
11576 | PyDict_SetItemString(d,"wxSTC_NNCRONTAB_MODIFIER", PyInt_FromLong((long) 5)); | |
11577 | PyDict_SetItemString(d,"wxSTC_NNCRONTAB_ASTERISK", PyInt_FromLong((long) 6)); | |
11578 | PyDict_SetItemString(d,"wxSTC_NNCRONTAB_NUMBER", PyInt_FromLong((long) 7)); | |
11579 | PyDict_SetItemString(d,"wxSTC_NNCRONTAB_STRING", PyInt_FromLong((long) 8)); | |
11580 | PyDict_SetItemString(d,"wxSTC_NNCRONTAB_ENVIRONMENT", PyInt_FromLong((long) 9)); | |
11581 | PyDict_SetItemString(d,"wxSTC_NNCRONTAB_IDENTIFIER", PyInt_FromLong((long) 10)); | |
c3bfa1cb RD |
11582 | PyDict_SetItemString(d,"wxSTC_MATLAB_DEFAULT", PyInt_FromLong((long) 0)); |
11583 | PyDict_SetItemString(d,"wxSTC_MATLAB_COMMENT", PyInt_FromLong((long) 1)); | |
11584 | PyDict_SetItemString(d,"wxSTC_MATLAB_COMMAND", PyInt_FromLong((long) 2)); | |
11585 | PyDict_SetItemString(d,"wxSTC_MATLAB_NUMBER", PyInt_FromLong((long) 3)); | |
11586 | PyDict_SetItemString(d,"wxSTC_MATLAB_KEYWORD", PyInt_FromLong((long) 4)); | |
11587 | PyDict_SetItemString(d,"wxSTC_MATLAB_STRING", PyInt_FromLong((long) 5)); | |
11588 | PyDict_SetItemString(d,"wxSTC_MATLAB_OPERATOR", PyInt_FromLong((long) 6)); | |
11589 | PyDict_SetItemString(d,"wxSTC_MATLAB_IDENTIFIER", PyInt_FromLong((long) 7)); | |
8a2fa5c8 RD |
11590 | PyDict_SetItemString(d,"wxSTCNameStr", PyString_FromString("wxSTCNameStr")); |
11591 | PyDict_SetItemString(d,"wxEVT_STC_CHANGE", PyInt_FromLong((long) wxEVT_STC_CHANGE)); | |
11592 | PyDict_SetItemString(d,"wxEVT_STC_STYLENEEDED", PyInt_FromLong((long) wxEVT_STC_STYLENEEDED)); | |
11593 | PyDict_SetItemString(d,"wxEVT_STC_CHARADDED", PyInt_FromLong((long) wxEVT_STC_CHARADDED)); | |
11594 | PyDict_SetItemString(d,"wxEVT_STC_SAVEPOINTREACHED", PyInt_FromLong((long) wxEVT_STC_SAVEPOINTREACHED)); | |
11595 | PyDict_SetItemString(d,"wxEVT_STC_SAVEPOINTLEFT", PyInt_FromLong((long) wxEVT_STC_SAVEPOINTLEFT)); | |
11596 | PyDict_SetItemString(d,"wxEVT_STC_ROMODIFYATTEMPT", PyInt_FromLong((long) wxEVT_STC_ROMODIFYATTEMPT)); | |
11597 | PyDict_SetItemString(d,"wxEVT_STC_KEY", PyInt_FromLong((long) wxEVT_STC_KEY)); | |
11598 | PyDict_SetItemString(d,"wxEVT_STC_DOUBLECLICK", PyInt_FromLong((long) wxEVT_STC_DOUBLECLICK)); | |
11599 | PyDict_SetItemString(d,"wxEVT_STC_UPDATEUI", PyInt_FromLong((long) wxEVT_STC_UPDATEUI)); | |
11600 | PyDict_SetItemString(d,"wxEVT_STC_MODIFIED", PyInt_FromLong((long) wxEVT_STC_MODIFIED)); | |
11601 | PyDict_SetItemString(d,"wxEVT_STC_MACRORECORD", PyInt_FromLong((long) wxEVT_STC_MACRORECORD)); | |
11602 | PyDict_SetItemString(d,"wxEVT_STC_MARGINCLICK", PyInt_FromLong((long) wxEVT_STC_MARGINCLICK)); | |
11603 | PyDict_SetItemString(d,"wxEVT_STC_NEEDSHOWN", PyInt_FromLong((long) wxEVT_STC_NEEDSHOWN)); | |
11604 | PyDict_SetItemString(d,"wxEVT_STC_POSCHANGED", PyInt_FromLong((long) wxEVT_STC_POSCHANGED)); | |
11605 | PyDict_SetItemString(d,"wxEVT_STC_PAINTED", PyInt_FromLong((long) wxEVT_STC_PAINTED)); | |
11606 | PyDict_SetItemString(d,"wxEVT_STC_USERLISTSELECTION", PyInt_FromLong((long) wxEVT_STC_USERLISTSELECTION)); | |
11607 | PyDict_SetItemString(d,"wxEVT_STC_URIDROPPED", PyInt_FromLong((long) wxEVT_STC_URIDROPPED)); | |
11608 | PyDict_SetItemString(d,"wxEVT_STC_DWELLSTART", PyInt_FromLong((long) wxEVT_STC_DWELLSTART)); | |
11609 | PyDict_SetItemString(d,"wxEVT_STC_DWELLEND", PyInt_FromLong((long) wxEVT_STC_DWELLEND)); | |
6abe8375 RD |
11610 | PyDict_SetItemString(d,"wxEVT_STC_START_DRAG", PyInt_FromLong((long) wxEVT_STC_START_DRAG)); |
11611 | PyDict_SetItemString(d,"wxEVT_STC_DRAG_OVER", PyInt_FromLong((long) wxEVT_STC_DRAG_OVER)); | |
11612 | PyDict_SetItemString(d,"wxEVT_STC_DO_DROP", PyInt_FromLong((long) wxEVT_STC_DO_DROP)); | |
8a2fa5c8 RD |
11613 | |
11614 | ||
11615 | wxClassInfo::CleanUpClasses(); | |
11616 | wxClassInfo::InitializeClasses(); | |
11617 | ||
11618 | { | |
11619 | int i; | |
11620 | for (i = 0; _swig_mapping[i].n1; i++) | |
11621 | SWIG_RegisterMapping(_swig_mapping[i].n1,_swig_mapping[i].n2,_swig_mapping[i].pcnv); | |
11622 | } | |
11623 | } |