]>
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 | ||
b787b2a9 | 58 | #include "wxPython.h" |
8a2fa5c8 RD |
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 | ||
47a06a26 RD |
2823 | #define wxStyledTextCtrl_SetWhitespaceForeground(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetWhitespaceForeground(_swigarg0,_swigarg1)) |
2824 | static PyObject *_wrap_wxStyledTextCtrl_SetWhitespaceForeground(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2825 | PyObject * _resultobj; | |
2826 | wxStyledTextCtrl * _arg0; | |
2827 | bool _arg1; | |
2828 | wxColour * _arg2; | |
2829 | PyObject * _argo0 = 0; | |
2830 | int tempbool1; | |
2831 | wxColour temp; | |
2832 | PyObject * _obj2 = 0; | |
2833 | char *_kwnames[] = { "self","useSetting","fore", NULL }; | |
2834 | ||
2835 | self = self; | |
2836 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxStyledTextCtrl_SetWhitespaceForeground",_kwnames,&_argo0,&tempbool1,&_obj2)) | |
2837 | return NULL; | |
2838 | if (_argo0) { | |
2839 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2840 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
2841 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetWhitespaceForeground. Expected _wxStyledTextCtrl_p."); | |
2842 | return NULL; | |
2843 | } | |
2844 | } | |
2845 | _arg1 = (bool ) tempbool1; | |
2846 | { | |
2847 | _arg2 = &temp; | |
2848 | if (! wxColour_helper(_obj2, &_arg2)) | |
2849 | return NULL; | |
2850 | } | |
2851 | { | |
2852 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2853 | wxStyledTextCtrl_SetWhitespaceForeground(_arg0,_arg1,*_arg2); | |
2854 | ||
2855 | wxPyEndAllowThreads(__tstate); | |
2856 | if (PyErr_Occurred()) return NULL; | |
2857 | } Py_INCREF(Py_None); | |
2858 | _resultobj = Py_None; | |
2859 | return _resultobj; | |
2860 | } | |
2861 | ||
2862 | #define wxStyledTextCtrl_SetWhitespaceBackground(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetWhitespaceBackground(_swigarg0,_swigarg1)) | |
2863 | static PyObject *_wrap_wxStyledTextCtrl_SetWhitespaceBackground(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2864 | PyObject * _resultobj; | |
2865 | wxStyledTextCtrl * _arg0; | |
2866 | bool _arg1; | |
2867 | wxColour * _arg2; | |
2868 | PyObject * _argo0 = 0; | |
2869 | int tempbool1; | |
2870 | wxColour temp; | |
2871 | PyObject * _obj2 = 0; | |
2872 | char *_kwnames[] = { "self","useSetting","back", NULL }; | |
2873 | ||
2874 | self = self; | |
2875 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxStyledTextCtrl_SetWhitespaceBackground",_kwnames,&_argo0,&tempbool1,&_obj2)) | |
2876 | return NULL; | |
2877 | if (_argo0) { | |
2878 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2879 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
2880 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetWhitespaceBackground. Expected _wxStyledTextCtrl_p."); | |
2881 | return NULL; | |
2882 | } | |
2883 | } | |
2884 | _arg1 = (bool ) tempbool1; | |
2885 | { | |
2886 | _arg2 = &temp; | |
2887 | if (! wxColour_helper(_obj2, &_arg2)) | |
2888 | return NULL; | |
2889 | } | |
2890 | { | |
2891 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2892 | wxStyledTextCtrl_SetWhitespaceBackground(_arg0,_arg1,*_arg2); | |
2893 | ||
2894 | wxPyEndAllowThreads(__tstate); | |
2895 | if (PyErr_Occurred()) return NULL; | |
2896 | } Py_INCREF(Py_None); | |
2897 | _resultobj = Py_None; | |
2898 | return _resultobj; | |
2899 | } | |
2900 | ||
8a2fa5c8 RD |
2901 | #define wxStyledTextCtrl_SetStyleBits(_swigobj,_swigarg0) (_swigobj->SetStyleBits(_swigarg0)) |
2902 | static PyObject *_wrap_wxStyledTextCtrl_SetStyleBits(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2903 | PyObject * _resultobj; | |
2904 | wxStyledTextCtrl * _arg0; | |
2905 | int _arg1; | |
2906 | PyObject * _argo0 = 0; | |
2907 | char *_kwnames[] = { "self","bits", NULL }; | |
2908 | ||
2909 | self = self; | |
2910 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_SetStyleBits",_kwnames,&_argo0,&_arg1)) | |
2911 | return NULL; | |
2912 | if (_argo0) { | |
2913 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2914 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
2915 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetStyleBits. Expected _wxStyledTextCtrl_p."); | |
2916 | return NULL; | |
2917 | } | |
2918 | } | |
2919 | { | |
0e2ff151 | 2920 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 2921 | wxStyledTextCtrl_SetStyleBits(_arg0,_arg1); |
8a2fa5c8 | 2922 | |
0e2ff151 RD |
2923 | wxPyEndAllowThreads(__tstate); |
2924 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
2925 | } Py_INCREF(Py_None); |
2926 | _resultobj = Py_None; | |
2927 | return _resultobj; | |
2928 | } | |
2929 | ||
2930 | #define wxStyledTextCtrl_GetStyleBits(_swigobj) (_swigobj->GetStyleBits()) | |
2931 | static PyObject *_wrap_wxStyledTextCtrl_GetStyleBits(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2932 | PyObject * _resultobj; | |
2933 | int _result; | |
2934 | wxStyledTextCtrl * _arg0; | |
2935 | PyObject * _argo0 = 0; | |
2936 | char *_kwnames[] = { "self", NULL }; | |
2937 | ||
2938 | self = self; | |
2939 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetStyleBits",_kwnames,&_argo0)) | |
2940 | return NULL; | |
2941 | if (_argo0) { | |
2942 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2943 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
2944 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetStyleBits. Expected _wxStyledTextCtrl_p."); | |
2945 | return NULL; | |
2946 | } | |
2947 | } | |
2948 | { | |
0e2ff151 | 2949 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 2950 | _result = (int )wxStyledTextCtrl_GetStyleBits(_arg0); |
8a2fa5c8 | 2951 | |
0e2ff151 RD |
2952 | wxPyEndAllowThreads(__tstate); |
2953 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
2954 | } _resultobj = Py_BuildValue("i",_result); |
2955 | return _resultobj; | |
2956 | } | |
2957 | ||
2958 | #define wxStyledTextCtrl_SetLineState(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetLineState(_swigarg0,_swigarg1)) | |
2959 | static PyObject *_wrap_wxStyledTextCtrl_SetLineState(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2960 | PyObject * _resultobj; | |
2961 | wxStyledTextCtrl * _arg0; | |
2962 | int _arg1; | |
2963 | int _arg2; | |
2964 | PyObject * _argo0 = 0; | |
2965 | char *_kwnames[] = { "self","line","state", NULL }; | |
2966 | ||
2967 | self = self; | |
2968 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxStyledTextCtrl_SetLineState",_kwnames,&_argo0,&_arg1,&_arg2)) | |
2969 | return NULL; | |
2970 | if (_argo0) { | |
2971 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2972 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
2973 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetLineState. Expected _wxStyledTextCtrl_p."); | |
2974 | return NULL; | |
2975 | } | |
2976 | } | |
2977 | { | |
0e2ff151 | 2978 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 2979 | wxStyledTextCtrl_SetLineState(_arg0,_arg1,_arg2); |
8a2fa5c8 | 2980 | |
0e2ff151 RD |
2981 | wxPyEndAllowThreads(__tstate); |
2982 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
2983 | } Py_INCREF(Py_None); |
2984 | _resultobj = Py_None; | |
2985 | return _resultobj; | |
2986 | } | |
2987 | ||
2988 | #define wxStyledTextCtrl_GetLineState(_swigobj,_swigarg0) (_swigobj->GetLineState(_swigarg0)) | |
2989 | static PyObject *_wrap_wxStyledTextCtrl_GetLineState(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2990 | PyObject * _resultobj; | |
2991 | int _result; | |
2992 | wxStyledTextCtrl * _arg0; | |
2993 | int _arg1; | |
2994 | PyObject * _argo0 = 0; | |
2995 | char *_kwnames[] = { "self","line", NULL }; | |
2996 | ||
2997 | self = self; | |
2998 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_GetLineState",_kwnames,&_argo0,&_arg1)) | |
2999 | return NULL; | |
3000 | if (_argo0) { | |
3001 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3002 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
3003 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetLineState. Expected _wxStyledTextCtrl_p."); | |
3004 | return NULL; | |
3005 | } | |
3006 | } | |
3007 | { | |
0e2ff151 | 3008 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 3009 | _result = (int )wxStyledTextCtrl_GetLineState(_arg0,_arg1); |
8a2fa5c8 | 3010 | |
0e2ff151 RD |
3011 | wxPyEndAllowThreads(__tstate); |
3012 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
3013 | } _resultobj = Py_BuildValue("i",_result); |
3014 | return _resultobj; | |
3015 | } | |
3016 | ||
3017 | #define wxStyledTextCtrl_GetMaxLineState(_swigobj) (_swigobj->GetMaxLineState()) | |
3018 | static PyObject *_wrap_wxStyledTextCtrl_GetMaxLineState(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3019 | PyObject * _resultobj; | |
3020 | int _result; | |
3021 | wxStyledTextCtrl * _arg0; | |
3022 | PyObject * _argo0 = 0; | |
3023 | char *_kwnames[] = { "self", NULL }; | |
3024 | ||
3025 | self = self; | |
3026 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetMaxLineState",_kwnames,&_argo0)) | |
3027 | return NULL; | |
3028 | if (_argo0) { | |
3029 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3030 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
3031 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetMaxLineState. Expected _wxStyledTextCtrl_p."); | |
3032 | return NULL; | |
3033 | } | |
3034 | } | |
3035 | { | |
0e2ff151 | 3036 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 3037 | _result = (int )wxStyledTextCtrl_GetMaxLineState(_arg0); |
8a2fa5c8 | 3038 | |
0e2ff151 RD |
3039 | wxPyEndAllowThreads(__tstate); |
3040 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
3041 | } _resultobj = Py_BuildValue("i",_result); |
3042 | return _resultobj; | |
3043 | } | |
3044 | ||
3045 | #define wxStyledTextCtrl_GetCaretLineVisible(_swigobj) (_swigobj->GetCaretLineVisible()) | |
3046 | static PyObject *_wrap_wxStyledTextCtrl_GetCaretLineVisible(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3047 | PyObject * _resultobj; | |
3048 | bool _result; | |
3049 | wxStyledTextCtrl * _arg0; | |
3050 | PyObject * _argo0 = 0; | |
3051 | char *_kwnames[] = { "self", NULL }; | |
3052 | ||
3053 | self = self; | |
3054 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetCaretLineVisible",_kwnames,&_argo0)) | |
3055 | return NULL; | |
3056 | if (_argo0) { | |
3057 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3058 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
3059 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetCaretLineVisible. Expected _wxStyledTextCtrl_p."); | |
3060 | return NULL; | |
3061 | } | |
3062 | } | |
3063 | { | |
0e2ff151 | 3064 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 3065 | _result = (bool )wxStyledTextCtrl_GetCaretLineVisible(_arg0); |
8a2fa5c8 | 3066 | |
0e2ff151 RD |
3067 | wxPyEndAllowThreads(__tstate); |
3068 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
3069 | } _resultobj = Py_BuildValue("i",_result); |
3070 | return _resultobj; | |
3071 | } | |
3072 | ||
3073 | #define wxStyledTextCtrl_SetCaretLineVisible(_swigobj,_swigarg0) (_swigobj->SetCaretLineVisible(_swigarg0)) | |
3074 | static PyObject *_wrap_wxStyledTextCtrl_SetCaretLineVisible(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3075 | PyObject * _resultobj; | |
3076 | wxStyledTextCtrl * _arg0; | |
3077 | bool _arg1; | |
3078 | PyObject * _argo0 = 0; | |
3079 | int tempbool1; | |
3080 | char *_kwnames[] = { "self","show", NULL }; | |
3081 | ||
3082 | self = self; | |
3083 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_SetCaretLineVisible",_kwnames,&_argo0,&tempbool1)) | |
3084 | return NULL; | |
3085 | if (_argo0) { | |
3086 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3087 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
3088 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetCaretLineVisible. Expected _wxStyledTextCtrl_p."); | |
3089 | return NULL; | |
3090 | } | |
3091 | } | |
3092 | _arg1 = (bool ) tempbool1; | |
3093 | { | |
0e2ff151 | 3094 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 3095 | wxStyledTextCtrl_SetCaretLineVisible(_arg0,_arg1); |
8a2fa5c8 | 3096 | |
0e2ff151 RD |
3097 | wxPyEndAllowThreads(__tstate); |
3098 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
3099 | } Py_INCREF(Py_None); |
3100 | _resultobj = Py_None; | |
3101 | return _resultobj; | |
3102 | } | |
3103 | ||
3104 | #define wxStyledTextCtrl_GetCaretLineBack(_swigobj) (_swigobj->GetCaretLineBack()) | |
3105 | static PyObject *_wrap_wxStyledTextCtrl_GetCaretLineBack(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3106 | PyObject * _resultobj; | |
3107 | wxColour * _result; | |
3108 | wxStyledTextCtrl * _arg0; | |
3109 | PyObject * _argo0 = 0; | |
3110 | char *_kwnames[] = { "self", NULL }; | |
3111 | char _ptemp[128]; | |
3112 | ||
3113 | self = self; | |
3114 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetCaretLineBack",_kwnames,&_argo0)) | |
3115 | return NULL; | |
3116 | if (_argo0) { | |
3117 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3118 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
3119 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetCaretLineBack. Expected _wxStyledTextCtrl_p."); | |
3120 | return NULL; | |
3121 | } | |
3122 | } | |
3123 | { | |
0e2ff151 | 3124 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 3125 | _result = new wxColour (wxStyledTextCtrl_GetCaretLineBack(_arg0)); |
8a2fa5c8 | 3126 | |
0e2ff151 RD |
3127 | wxPyEndAllowThreads(__tstate); |
3128 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
3129 | } SWIG_MakePtr(_ptemp, (void *) _result,"_wxColour_p"); |
3130 | _resultobj = Py_BuildValue("s",_ptemp); | |
3131 | return _resultobj; | |
3132 | } | |
3133 | ||
3134 | #define wxStyledTextCtrl_SetCaretLineBack(_swigobj,_swigarg0) (_swigobj->SetCaretLineBack(_swigarg0)) | |
3135 | static PyObject *_wrap_wxStyledTextCtrl_SetCaretLineBack(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3136 | PyObject * _resultobj; | |
3137 | wxStyledTextCtrl * _arg0; | |
3138 | wxColour * _arg1; | |
3139 | PyObject * _argo0 = 0; | |
3140 | wxColour temp; | |
3141 | PyObject * _obj1 = 0; | |
3142 | char *_kwnames[] = { "self","back", NULL }; | |
3143 | ||
3144 | self = self; | |
3145 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxStyledTextCtrl_SetCaretLineBack",_kwnames,&_argo0,&_obj1)) | |
3146 | return NULL; | |
3147 | if (_argo0) { | |
3148 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3149 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
3150 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetCaretLineBack. Expected _wxStyledTextCtrl_p."); | |
3151 | return NULL; | |
3152 | } | |
3153 | } | |
3154 | { | |
3155 | _arg1 = &temp; | |
3156 | if (! wxColour_helper(_obj1, &_arg1)) | |
3157 | return NULL; | |
3158 | } | |
3159 | { | |
0e2ff151 | 3160 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 3161 | wxStyledTextCtrl_SetCaretLineBack(_arg0,*_arg1); |
8a2fa5c8 | 3162 | |
0e2ff151 RD |
3163 | wxPyEndAllowThreads(__tstate); |
3164 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
3165 | } Py_INCREF(Py_None); |
3166 | _resultobj = Py_None; | |
3167 | return _resultobj; | |
3168 | } | |
3169 | ||
c3bfa1cb RD |
3170 | #define wxStyledTextCtrl_StyleSetChangeable(_swigobj,_swigarg0,_swigarg1) (_swigobj->StyleSetChangeable(_swigarg0,_swigarg1)) |
3171 | static PyObject *_wrap_wxStyledTextCtrl_StyleSetChangeable(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3172 | PyObject * _resultobj; | |
3173 | wxStyledTextCtrl * _arg0; | |
3174 | int _arg1; | |
3175 | bool _arg2; | |
3176 | PyObject * _argo0 = 0; | |
3177 | int tempbool2; | |
3178 | char *_kwnames[] = { "self","style","changeable", NULL }; | |
3179 | ||
3180 | self = self; | |
3181 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxStyledTextCtrl_StyleSetChangeable",_kwnames,&_argo0,&_arg1,&tempbool2)) | |
3182 | return NULL; | |
3183 | if (_argo0) { | |
3184 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3185 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
3186 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_StyleSetChangeable. Expected _wxStyledTextCtrl_p."); | |
3187 | return NULL; | |
3188 | } | |
3189 | } | |
3190 | _arg2 = (bool ) tempbool2; | |
3191 | { | |
3192 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3193 | wxStyledTextCtrl_StyleSetChangeable(_arg0,_arg1,_arg2); | |
3194 | ||
3195 | wxPyEndAllowThreads(__tstate); | |
3196 | if (PyErr_Occurred()) return NULL; | |
3197 | } Py_INCREF(Py_None); | |
3198 | _resultobj = Py_None; | |
3199 | return _resultobj; | |
3200 | } | |
3201 | ||
8a2fa5c8 RD |
3202 | #define wxStyledTextCtrl_AutoCompShow(_swigobj,_swigarg0,_swigarg1) (_swigobj->AutoCompShow(_swigarg0,_swigarg1)) |
3203 | static PyObject *_wrap_wxStyledTextCtrl_AutoCompShow(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3204 | PyObject * _resultobj; | |
3205 | wxStyledTextCtrl * _arg0; | |
3206 | int _arg1; | |
3207 | wxString * _arg2; | |
3208 | PyObject * _argo0 = 0; | |
3209 | PyObject * _obj2 = 0; | |
3210 | char *_kwnames[] = { "self","lenEntered","itemList", NULL }; | |
3211 | ||
3212 | self = self; | |
3213 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxStyledTextCtrl_AutoCompShow",_kwnames,&_argo0,&_arg1,&_obj2)) | |
3214 | return NULL; | |
3215 | if (_argo0) { | |
3216 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3217 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
3218 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_AutoCompShow. Expected _wxStyledTextCtrl_p."); | |
3219 | return NULL; | |
3220 | } | |
3221 | } | |
3222 | { | |
6824d4f9 RD |
3223 | _arg2 = wxString_in_helper(_obj2); |
3224 | if (_arg2 == NULL) | |
8a2fa5c8 | 3225 | return NULL; |
8a2fa5c8 RD |
3226 | } |
3227 | { | |
0e2ff151 | 3228 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 3229 | wxStyledTextCtrl_AutoCompShow(_arg0,_arg1,*_arg2); |
8a2fa5c8 | 3230 | |
0e2ff151 RD |
3231 | wxPyEndAllowThreads(__tstate); |
3232 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
3233 | } Py_INCREF(Py_None); |
3234 | _resultobj = Py_None; | |
3235 | { | |
3236 | if (_obj2) | |
3237 | delete _arg2; | |
3238 | } | |
3239 | return _resultobj; | |
3240 | } | |
3241 | ||
3242 | #define wxStyledTextCtrl_AutoCompCancel(_swigobj) (_swigobj->AutoCompCancel()) | |
3243 | static PyObject *_wrap_wxStyledTextCtrl_AutoCompCancel(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3244 | PyObject * _resultobj; | |
3245 | wxStyledTextCtrl * _arg0; | |
3246 | PyObject * _argo0 = 0; | |
3247 | char *_kwnames[] = { "self", NULL }; | |
3248 | ||
3249 | self = self; | |
3250 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_AutoCompCancel",_kwnames,&_argo0)) | |
3251 | return NULL; | |
3252 | if (_argo0) { | |
3253 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3254 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
3255 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_AutoCompCancel. Expected _wxStyledTextCtrl_p."); | |
3256 | return NULL; | |
3257 | } | |
3258 | } | |
3259 | { | |
0e2ff151 | 3260 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 3261 | wxStyledTextCtrl_AutoCompCancel(_arg0); |
8a2fa5c8 | 3262 | |
0e2ff151 RD |
3263 | wxPyEndAllowThreads(__tstate); |
3264 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
3265 | } Py_INCREF(Py_None); |
3266 | _resultobj = Py_None; | |
3267 | return _resultobj; | |
3268 | } | |
3269 | ||
3270 | #define wxStyledTextCtrl_AutoCompActive(_swigobj) (_swigobj->AutoCompActive()) | |
3271 | static PyObject *_wrap_wxStyledTextCtrl_AutoCompActive(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3272 | PyObject * _resultobj; | |
3273 | bool _result; | |
3274 | wxStyledTextCtrl * _arg0; | |
3275 | PyObject * _argo0 = 0; | |
3276 | char *_kwnames[] = { "self", NULL }; | |
3277 | ||
3278 | self = self; | |
3279 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_AutoCompActive",_kwnames,&_argo0)) | |
3280 | return NULL; | |
3281 | if (_argo0) { | |
3282 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3283 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
3284 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_AutoCompActive. Expected _wxStyledTextCtrl_p."); | |
3285 | return NULL; | |
3286 | } | |
3287 | } | |
3288 | { | |
0e2ff151 | 3289 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 3290 | _result = (bool )wxStyledTextCtrl_AutoCompActive(_arg0); |
8a2fa5c8 | 3291 | |
0e2ff151 RD |
3292 | wxPyEndAllowThreads(__tstate); |
3293 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
3294 | } _resultobj = Py_BuildValue("i",_result); |
3295 | return _resultobj; | |
3296 | } | |
3297 | ||
3298 | #define wxStyledTextCtrl_AutoCompPosStart(_swigobj) (_swigobj->AutoCompPosStart()) | |
3299 | static PyObject *_wrap_wxStyledTextCtrl_AutoCompPosStart(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3300 | PyObject * _resultobj; | |
3301 | int _result; | |
3302 | wxStyledTextCtrl * _arg0; | |
3303 | PyObject * _argo0 = 0; | |
3304 | char *_kwnames[] = { "self", NULL }; | |
3305 | ||
3306 | self = self; | |
3307 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_AutoCompPosStart",_kwnames,&_argo0)) | |
3308 | return NULL; | |
3309 | if (_argo0) { | |
3310 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3311 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
3312 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_AutoCompPosStart. Expected _wxStyledTextCtrl_p."); | |
3313 | return NULL; | |
3314 | } | |
3315 | } | |
3316 | { | |
0e2ff151 | 3317 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 3318 | _result = (int )wxStyledTextCtrl_AutoCompPosStart(_arg0); |
8a2fa5c8 | 3319 | |
0e2ff151 RD |
3320 | wxPyEndAllowThreads(__tstate); |
3321 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
3322 | } _resultobj = Py_BuildValue("i",_result); |
3323 | return _resultobj; | |
3324 | } | |
3325 | ||
3326 | #define wxStyledTextCtrl_AutoCompComplete(_swigobj) (_swigobj->AutoCompComplete()) | |
3327 | static PyObject *_wrap_wxStyledTextCtrl_AutoCompComplete(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3328 | PyObject * _resultobj; | |
3329 | wxStyledTextCtrl * _arg0; | |
3330 | PyObject * _argo0 = 0; | |
3331 | char *_kwnames[] = { "self", NULL }; | |
3332 | ||
3333 | self = self; | |
3334 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_AutoCompComplete",_kwnames,&_argo0)) | |
3335 | return NULL; | |
3336 | if (_argo0) { | |
3337 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3338 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
3339 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_AutoCompComplete. Expected _wxStyledTextCtrl_p."); | |
3340 | return NULL; | |
3341 | } | |
3342 | } | |
3343 | { | |
0e2ff151 | 3344 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 3345 | wxStyledTextCtrl_AutoCompComplete(_arg0); |
8a2fa5c8 | 3346 | |
0e2ff151 RD |
3347 | wxPyEndAllowThreads(__tstate); |
3348 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
3349 | } Py_INCREF(Py_None); |
3350 | _resultobj = Py_None; | |
3351 | return _resultobj; | |
3352 | } | |
3353 | ||
3354 | #define wxStyledTextCtrl_AutoCompStops(_swigobj,_swigarg0) (_swigobj->AutoCompStops(_swigarg0)) | |
3355 | static PyObject *_wrap_wxStyledTextCtrl_AutoCompStops(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3356 | PyObject * _resultobj; | |
3357 | wxStyledTextCtrl * _arg0; | |
3358 | wxString * _arg1; | |
3359 | PyObject * _argo0 = 0; | |
3360 | PyObject * _obj1 = 0; | |
3361 | char *_kwnames[] = { "self","characterSet", NULL }; | |
3362 | ||
3363 | self = self; | |
3364 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxStyledTextCtrl_AutoCompStops",_kwnames,&_argo0,&_obj1)) | |
3365 | return NULL; | |
3366 | if (_argo0) { | |
3367 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3368 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
3369 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_AutoCompStops. Expected _wxStyledTextCtrl_p."); | |
3370 | return NULL; | |
3371 | } | |
3372 | } | |
3373 | { | |
6824d4f9 RD |
3374 | _arg1 = wxString_in_helper(_obj1); |
3375 | if (_arg1 == NULL) | |
8a2fa5c8 | 3376 | return NULL; |
8a2fa5c8 RD |
3377 | } |
3378 | { | |
0e2ff151 | 3379 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 3380 | wxStyledTextCtrl_AutoCompStops(_arg0,*_arg1); |
8a2fa5c8 | 3381 | |
0e2ff151 RD |
3382 | wxPyEndAllowThreads(__tstate); |
3383 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
3384 | } Py_INCREF(Py_None); |
3385 | _resultobj = Py_None; | |
3386 | { | |
3387 | if (_obj1) | |
3388 | delete _arg1; | |
3389 | } | |
3390 | return _resultobj; | |
3391 | } | |
3392 | ||
3393 | #define wxStyledTextCtrl_AutoCompSetSeparator(_swigobj,_swigarg0) (_swigobj->AutoCompSetSeparator(_swigarg0)) | |
3394 | static PyObject *_wrap_wxStyledTextCtrl_AutoCompSetSeparator(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3395 | PyObject * _resultobj; | |
3396 | wxStyledTextCtrl * _arg0; | |
3397 | int _arg1; | |
3398 | PyObject * _argo0 = 0; | |
3399 | char *_kwnames[] = { "self","separatorCharacter", NULL }; | |
3400 | ||
3401 | self = self; | |
3402 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_AutoCompSetSeparator",_kwnames,&_argo0,&_arg1)) | |
3403 | return NULL; | |
3404 | if (_argo0) { | |
3405 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3406 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
3407 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_AutoCompSetSeparator. Expected _wxStyledTextCtrl_p."); | |
3408 | return NULL; | |
3409 | } | |
3410 | } | |
3411 | { | |
0e2ff151 | 3412 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 3413 | wxStyledTextCtrl_AutoCompSetSeparator(_arg0,_arg1); |
8a2fa5c8 | 3414 | |
0e2ff151 RD |
3415 | wxPyEndAllowThreads(__tstate); |
3416 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
3417 | } Py_INCREF(Py_None); |
3418 | _resultobj = Py_None; | |
3419 | return _resultobj; | |
3420 | } | |
3421 | ||
3422 | #define wxStyledTextCtrl_AutoCompGetSeparator(_swigobj) (_swigobj->AutoCompGetSeparator()) | |
3423 | static PyObject *_wrap_wxStyledTextCtrl_AutoCompGetSeparator(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3424 | PyObject * _resultobj; | |
3425 | int _result; | |
3426 | wxStyledTextCtrl * _arg0; | |
3427 | PyObject * _argo0 = 0; | |
3428 | char *_kwnames[] = { "self", NULL }; | |
3429 | ||
3430 | self = self; | |
3431 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_AutoCompGetSeparator",_kwnames,&_argo0)) | |
3432 | return NULL; | |
3433 | if (_argo0) { | |
3434 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3435 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
3436 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_AutoCompGetSeparator. Expected _wxStyledTextCtrl_p."); | |
3437 | return NULL; | |
3438 | } | |
3439 | } | |
3440 | { | |
0e2ff151 | 3441 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 3442 | _result = (int )wxStyledTextCtrl_AutoCompGetSeparator(_arg0); |
8a2fa5c8 | 3443 | |
0e2ff151 RD |
3444 | wxPyEndAllowThreads(__tstate); |
3445 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
3446 | } _resultobj = Py_BuildValue("i",_result); |
3447 | return _resultobj; | |
3448 | } | |
3449 | ||
3450 | #define wxStyledTextCtrl_AutoCompSelect(_swigobj,_swigarg0) (_swigobj->AutoCompSelect(_swigarg0)) | |
3451 | static PyObject *_wrap_wxStyledTextCtrl_AutoCompSelect(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3452 | PyObject * _resultobj; | |
3453 | wxStyledTextCtrl * _arg0; | |
3454 | wxString * _arg1; | |
3455 | PyObject * _argo0 = 0; | |
3456 | PyObject * _obj1 = 0; | |
3457 | char *_kwnames[] = { "self","text", NULL }; | |
3458 | ||
3459 | self = self; | |
3460 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxStyledTextCtrl_AutoCompSelect",_kwnames,&_argo0,&_obj1)) | |
3461 | return NULL; | |
3462 | if (_argo0) { | |
3463 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3464 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
3465 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_AutoCompSelect. Expected _wxStyledTextCtrl_p."); | |
3466 | return NULL; | |
3467 | } | |
3468 | } | |
3469 | { | |
6824d4f9 RD |
3470 | _arg1 = wxString_in_helper(_obj1); |
3471 | if (_arg1 == NULL) | |
8a2fa5c8 | 3472 | return NULL; |
8a2fa5c8 RD |
3473 | } |
3474 | { | |
0e2ff151 | 3475 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 3476 | wxStyledTextCtrl_AutoCompSelect(_arg0,*_arg1); |
8a2fa5c8 | 3477 | |
0e2ff151 RD |
3478 | wxPyEndAllowThreads(__tstate); |
3479 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
3480 | } Py_INCREF(Py_None); |
3481 | _resultobj = Py_None; | |
3482 | { | |
3483 | if (_obj1) | |
3484 | delete _arg1; | |
3485 | } | |
3486 | return _resultobj; | |
3487 | } | |
3488 | ||
3489 | #define wxStyledTextCtrl_AutoCompSetCancelAtStart(_swigobj,_swigarg0) (_swigobj->AutoCompSetCancelAtStart(_swigarg0)) | |
3490 | static PyObject *_wrap_wxStyledTextCtrl_AutoCompSetCancelAtStart(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3491 | PyObject * _resultobj; | |
3492 | wxStyledTextCtrl * _arg0; | |
3493 | bool _arg1; | |
3494 | PyObject * _argo0 = 0; | |
3495 | int tempbool1; | |
3496 | char *_kwnames[] = { "self","cancel", NULL }; | |
3497 | ||
3498 | self = self; | |
3499 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_AutoCompSetCancelAtStart",_kwnames,&_argo0,&tempbool1)) | |
3500 | return NULL; | |
3501 | if (_argo0) { | |
3502 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3503 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
3504 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_AutoCompSetCancelAtStart. Expected _wxStyledTextCtrl_p."); | |
3505 | return NULL; | |
3506 | } | |
3507 | } | |
3508 | _arg1 = (bool ) tempbool1; | |
3509 | { | |
0e2ff151 | 3510 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 3511 | wxStyledTextCtrl_AutoCompSetCancelAtStart(_arg0,_arg1); |
8a2fa5c8 | 3512 | |
0e2ff151 RD |
3513 | wxPyEndAllowThreads(__tstate); |
3514 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
3515 | } Py_INCREF(Py_None); |
3516 | _resultobj = Py_None; | |
3517 | return _resultobj; | |
3518 | } | |
3519 | ||
3520 | #define wxStyledTextCtrl_AutoCompGetCancelAtStart(_swigobj) (_swigobj->AutoCompGetCancelAtStart()) | |
3521 | static PyObject *_wrap_wxStyledTextCtrl_AutoCompGetCancelAtStart(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3522 | PyObject * _resultobj; | |
3523 | bool _result; | |
3524 | wxStyledTextCtrl * _arg0; | |
3525 | PyObject * _argo0 = 0; | |
3526 | char *_kwnames[] = { "self", NULL }; | |
3527 | ||
3528 | self = self; | |
3529 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_AutoCompGetCancelAtStart",_kwnames,&_argo0)) | |
3530 | return NULL; | |
3531 | if (_argo0) { | |
3532 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3533 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
3534 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_AutoCompGetCancelAtStart. Expected _wxStyledTextCtrl_p."); | |
3535 | return NULL; | |
3536 | } | |
3537 | } | |
3538 | { | |
0e2ff151 | 3539 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 3540 | _result = (bool )wxStyledTextCtrl_AutoCompGetCancelAtStart(_arg0); |
8a2fa5c8 | 3541 | |
0e2ff151 RD |
3542 | wxPyEndAllowThreads(__tstate); |
3543 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
3544 | } _resultobj = Py_BuildValue("i",_result); |
3545 | return _resultobj; | |
3546 | } | |
3547 | ||
3548 | #define wxStyledTextCtrl_AutoCompSetFillUps(_swigobj,_swigarg0) (_swigobj->AutoCompSetFillUps(_swigarg0)) | |
3549 | static PyObject *_wrap_wxStyledTextCtrl_AutoCompSetFillUps(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3550 | PyObject * _resultobj; | |
3551 | wxStyledTextCtrl * _arg0; | |
3552 | wxString * _arg1; | |
3553 | PyObject * _argo0 = 0; | |
3554 | PyObject * _obj1 = 0; | |
3555 | char *_kwnames[] = { "self","characterSet", NULL }; | |
3556 | ||
3557 | self = self; | |
3558 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxStyledTextCtrl_AutoCompSetFillUps",_kwnames,&_argo0,&_obj1)) | |
3559 | return NULL; | |
3560 | if (_argo0) { | |
3561 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3562 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
3563 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_AutoCompSetFillUps. Expected _wxStyledTextCtrl_p."); | |
3564 | return NULL; | |
3565 | } | |
3566 | } | |
3567 | { | |
6824d4f9 RD |
3568 | _arg1 = wxString_in_helper(_obj1); |
3569 | if (_arg1 == NULL) | |
8a2fa5c8 | 3570 | return NULL; |
8a2fa5c8 RD |
3571 | } |
3572 | { | |
0e2ff151 | 3573 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 3574 | wxStyledTextCtrl_AutoCompSetFillUps(_arg0,*_arg1); |
8a2fa5c8 | 3575 | |
0e2ff151 RD |
3576 | wxPyEndAllowThreads(__tstate); |
3577 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
3578 | } Py_INCREF(Py_None); |
3579 | _resultobj = Py_None; | |
3580 | { | |
3581 | if (_obj1) | |
3582 | delete _arg1; | |
3583 | } | |
3584 | return _resultobj; | |
3585 | } | |
3586 | ||
3587 | #define wxStyledTextCtrl_AutoCompSetChooseSingle(_swigobj,_swigarg0) (_swigobj->AutoCompSetChooseSingle(_swigarg0)) | |
3588 | static PyObject *_wrap_wxStyledTextCtrl_AutoCompSetChooseSingle(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3589 | PyObject * _resultobj; | |
3590 | wxStyledTextCtrl * _arg0; | |
3591 | bool _arg1; | |
3592 | PyObject * _argo0 = 0; | |
3593 | int tempbool1; | |
3594 | char *_kwnames[] = { "self","chooseSingle", NULL }; | |
3595 | ||
3596 | self = self; | |
3597 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_AutoCompSetChooseSingle",_kwnames,&_argo0,&tempbool1)) | |
3598 | return NULL; | |
3599 | if (_argo0) { | |
3600 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3601 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
3602 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_AutoCompSetChooseSingle. Expected _wxStyledTextCtrl_p."); | |
3603 | return NULL; | |
3604 | } | |
3605 | } | |
3606 | _arg1 = (bool ) tempbool1; | |
3607 | { | |
0e2ff151 | 3608 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 3609 | wxStyledTextCtrl_AutoCompSetChooseSingle(_arg0,_arg1); |
8a2fa5c8 | 3610 | |
0e2ff151 RD |
3611 | wxPyEndAllowThreads(__tstate); |
3612 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
3613 | } Py_INCREF(Py_None); |
3614 | _resultobj = Py_None; | |
3615 | return _resultobj; | |
3616 | } | |
3617 | ||
3618 | #define wxStyledTextCtrl_AutoCompGetChooseSingle(_swigobj) (_swigobj->AutoCompGetChooseSingle()) | |
3619 | static PyObject *_wrap_wxStyledTextCtrl_AutoCompGetChooseSingle(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3620 | PyObject * _resultobj; | |
3621 | bool _result; | |
3622 | wxStyledTextCtrl * _arg0; | |
3623 | PyObject * _argo0 = 0; | |
3624 | char *_kwnames[] = { "self", NULL }; | |
3625 | ||
3626 | self = self; | |
3627 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_AutoCompGetChooseSingle",_kwnames,&_argo0)) | |
3628 | return NULL; | |
3629 | if (_argo0) { | |
3630 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3631 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
3632 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_AutoCompGetChooseSingle. Expected _wxStyledTextCtrl_p."); | |
3633 | return NULL; | |
3634 | } | |
3635 | } | |
3636 | { | |
0e2ff151 | 3637 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 3638 | _result = (bool )wxStyledTextCtrl_AutoCompGetChooseSingle(_arg0); |
8a2fa5c8 | 3639 | |
0e2ff151 RD |
3640 | wxPyEndAllowThreads(__tstate); |
3641 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
3642 | } _resultobj = Py_BuildValue("i",_result); |
3643 | return _resultobj; | |
3644 | } | |
3645 | ||
3646 | #define wxStyledTextCtrl_AutoCompSetIgnoreCase(_swigobj,_swigarg0) (_swigobj->AutoCompSetIgnoreCase(_swigarg0)) | |
3647 | static PyObject *_wrap_wxStyledTextCtrl_AutoCompSetIgnoreCase(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3648 | PyObject * _resultobj; | |
3649 | wxStyledTextCtrl * _arg0; | |
3650 | bool _arg1; | |
3651 | PyObject * _argo0 = 0; | |
3652 | int tempbool1; | |
3653 | char *_kwnames[] = { "self","ignoreCase", NULL }; | |
3654 | ||
3655 | self = self; | |
3656 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_AutoCompSetIgnoreCase",_kwnames,&_argo0,&tempbool1)) | |
3657 | return NULL; | |
3658 | if (_argo0) { | |
3659 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3660 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
3661 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_AutoCompSetIgnoreCase. Expected _wxStyledTextCtrl_p."); | |
3662 | return NULL; | |
3663 | } | |
3664 | } | |
3665 | _arg1 = (bool ) tempbool1; | |
3666 | { | |
0e2ff151 | 3667 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 3668 | wxStyledTextCtrl_AutoCompSetIgnoreCase(_arg0,_arg1); |
8a2fa5c8 | 3669 | |
0e2ff151 RD |
3670 | wxPyEndAllowThreads(__tstate); |
3671 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
3672 | } Py_INCREF(Py_None); |
3673 | _resultobj = Py_None; | |
3674 | return _resultobj; | |
3675 | } | |
3676 | ||
3677 | #define wxStyledTextCtrl_AutoCompGetIgnoreCase(_swigobj) (_swigobj->AutoCompGetIgnoreCase()) | |
3678 | static PyObject *_wrap_wxStyledTextCtrl_AutoCompGetIgnoreCase(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3679 | PyObject * _resultobj; | |
3680 | bool _result; | |
3681 | wxStyledTextCtrl * _arg0; | |
3682 | PyObject * _argo0 = 0; | |
3683 | char *_kwnames[] = { "self", NULL }; | |
3684 | ||
3685 | self = self; | |
3686 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_AutoCompGetIgnoreCase",_kwnames,&_argo0)) | |
3687 | return NULL; | |
3688 | if (_argo0) { | |
3689 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3690 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
3691 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_AutoCompGetIgnoreCase. Expected _wxStyledTextCtrl_p."); | |
3692 | return NULL; | |
3693 | } | |
3694 | } | |
3695 | { | |
0e2ff151 | 3696 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 3697 | _result = (bool )wxStyledTextCtrl_AutoCompGetIgnoreCase(_arg0); |
8a2fa5c8 | 3698 | |
0e2ff151 RD |
3699 | wxPyEndAllowThreads(__tstate); |
3700 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
3701 | } _resultobj = Py_BuildValue("i",_result); |
3702 | return _resultobj; | |
3703 | } | |
3704 | ||
3705 | #define wxStyledTextCtrl_UserListShow(_swigobj,_swigarg0,_swigarg1) (_swigobj->UserListShow(_swigarg0,_swigarg1)) | |
3706 | static PyObject *_wrap_wxStyledTextCtrl_UserListShow(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3707 | PyObject * _resultobj; | |
3708 | wxStyledTextCtrl * _arg0; | |
3709 | int _arg1; | |
3710 | wxString * _arg2; | |
3711 | PyObject * _argo0 = 0; | |
3712 | PyObject * _obj2 = 0; | |
3713 | char *_kwnames[] = { "self","listType","itemList", NULL }; | |
3714 | ||
3715 | self = self; | |
3716 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxStyledTextCtrl_UserListShow",_kwnames,&_argo0,&_arg1,&_obj2)) | |
3717 | return NULL; | |
3718 | if (_argo0) { | |
3719 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3720 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
3721 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_UserListShow. Expected _wxStyledTextCtrl_p."); | |
3722 | return NULL; | |
3723 | } | |
3724 | } | |
3725 | { | |
6824d4f9 RD |
3726 | _arg2 = wxString_in_helper(_obj2); |
3727 | if (_arg2 == NULL) | |
8a2fa5c8 | 3728 | return NULL; |
8a2fa5c8 RD |
3729 | } |
3730 | { | |
0e2ff151 | 3731 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 3732 | wxStyledTextCtrl_UserListShow(_arg0,_arg1,*_arg2); |
8a2fa5c8 | 3733 | |
0e2ff151 RD |
3734 | wxPyEndAllowThreads(__tstate); |
3735 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
3736 | } Py_INCREF(Py_None); |
3737 | _resultobj = Py_None; | |
3738 | { | |
3739 | if (_obj2) | |
3740 | delete _arg2; | |
3741 | } | |
3742 | return _resultobj; | |
3743 | } | |
3744 | ||
3745 | #define wxStyledTextCtrl_AutoCompSetAutoHide(_swigobj,_swigarg0) (_swigobj->AutoCompSetAutoHide(_swigarg0)) | |
3746 | static PyObject *_wrap_wxStyledTextCtrl_AutoCompSetAutoHide(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3747 | PyObject * _resultobj; | |
3748 | wxStyledTextCtrl * _arg0; | |
3749 | bool _arg1; | |
3750 | PyObject * _argo0 = 0; | |
3751 | int tempbool1; | |
3752 | char *_kwnames[] = { "self","autoHide", NULL }; | |
3753 | ||
3754 | self = self; | |
3755 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_AutoCompSetAutoHide",_kwnames,&_argo0,&tempbool1)) | |
3756 | return NULL; | |
3757 | if (_argo0) { | |
3758 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3759 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
3760 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_AutoCompSetAutoHide. Expected _wxStyledTextCtrl_p."); | |
3761 | return NULL; | |
3762 | } | |
3763 | } | |
3764 | _arg1 = (bool ) tempbool1; | |
3765 | { | |
0e2ff151 | 3766 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 3767 | wxStyledTextCtrl_AutoCompSetAutoHide(_arg0,_arg1); |
8a2fa5c8 | 3768 | |
0e2ff151 RD |
3769 | wxPyEndAllowThreads(__tstate); |
3770 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
3771 | } Py_INCREF(Py_None); |
3772 | _resultobj = Py_None; | |
3773 | return _resultobj; | |
3774 | } | |
3775 | ||
3776 | #define wxStyledTextCtrl_AutoCompGetAutoHide(_swigobj) (_swigobj->AutoCompGetAutoHide()) | |
3777 | static PyObject *_wrap_wxStyledTextCtrl_AutoCompGetAutoHide(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3778 | PyObject * _resultobj; | |
3779 | bool _result; | |
3780 | wxStyledTextCtrl * _arg0; | |
3781 | PyObject * _argo0 = 0; | |
3782 | char *_kwnames[] = { "self", NULL }; | |
3783 | ||
3784 | self = self; | |
3785 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_AutoCompGetAutoHide",_kwnames,&_argo0)) | |
3786 | return NULL; | |
3787 | if (_argo0) { | |
3788 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3789 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
3790 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_AutoCompGetAutoHide. Expected _wxStyledTextCtrl_p."); | |
3791 | return NULL; | |
3792 | } | |
3793 | } | |
3794 | { | |
0e2ff151 | 3795 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 3796 | _result = (bool )wxStyledTextCtrl_AutoCompGetAutoHide(_arg0); |
8a2fa5c8 | 3797 | |
0e2ff151 RD |
3798 | wxPyEndAllowThreads(__tstate); |
3799 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
3800 | } _resultobj = Py_BuildValue("i",_result); |
3801 | return _resultobj; | |
3802 | } | |
3803 | ||
c3bfa1cb RD |
3804 | #define wxStyledTextCtrl_AutoCompSetDropRestOfWord(_swigobj,_swigarg0) (_swigobj->AutoCompSetDropRestOfWord(_swigarg0)) |
3805 | static PyObject *_wrap_wxStyledTextCtrl_AutoCompSetDropRestOfWord(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3806 | PyObject * _resultobj; | |
3807 | wxStyledTextCtrl * _arg0; | |
3808 | bool _arg1; | |
3809 | PyObject * _argo0 = 0; | |
3810 | int tempbool1; | |
3811 | char *_kwnames[] = { "self","dropRestOfWord", NULL }; | |
3812 | ||
3813 | self = self; | |
3814 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_AutoCompSetDropRestOfWord",_kwnames,&_argo0,&tempbool1)) | |
3815 | return NULL; | |
3816 | if (_argo0) { | |
3817 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3818 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
3819 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_AutoCompSetDropRestOfWord. Expected _wxStyledTextCtrl_p."); | |
3820 | return NULL; | |
3821 | } | |
3822 | } | |
3823 | _arg1 = (bool ) tempbool1; | |
3824 | { | |
3825 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3826 | wxStyledTextCtrl_AutoCompSetDropRestOfWord(_arg0,_arg1); | |
3827 | ||
3828 | wxPyEndAllowThreads(__tstate); | |
3829 | if (PyErr_Occurred()) return NULL; | |
3830 | } Py_INCREF(Py_None); | |
3831 | _resultobj = Py_None; | |
3832 | return _resultobj; | |
3833 | } | |
3834 | ||
3835 | #define wxStyledTextCtrl_AutoCompGetDropRestOfWord(_swigobj) (_swigobj->AutoCompGetDropRestOfWord()) | |
3836 | static PyObject *_wrap_wxStyledTextCtrl_AutoCompGetDropRestOfWord(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3837 | PyObject * _resultobj; | |
3838 | bool _result; | |
3839 | wxStyledTextCtrl * _arg0; | |
3840 | PyObject * _argo0 = 0; | |
3841 | char *_kwnames[] = { "self", NULL }; | |
3842 | ||
3843 | self = self; | |
3844 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_AutoCompGetDropRestOfWord",_kwnames,&_argo0)) | |
3845 | return NULL; | |
3846 | if (_argo0) { | |
3847 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3848 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
3849 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_AutoCompGetDropRestOfWord. Expected _wxStyledTextCtrl_p."); | |
3850 | return NULL; | |
3851 | } | |
3852 | } | |
3853 | { | |
3854 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3855 | _result = (bool )wxStyledTextCtrl_AutoCompGetDropRestOfWord(_arg0); | |
3856 | ||
3857 | wxPyEndAllowThreads(__tstate); | |
3858 | if (PyErr_Occurred()) return NULL; | |
3859 | } _resultobj = Py_BuildValue("i",_result); | |
3860 | return _resultobj; | |
3861 | } | |
3862 | ||
8a2fa5c8 RD |
3863 | #define wxStyledTextCtrl_SetIndent(_swigobj,_swigarg0) (_swigobj->SetIndent(_swigarg0)) |
3864 | static PyObject *_wrap_wxStyledTextCtrl_SetIndent(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3865 | PyObject * _resultobj; | |
3866 | wxStyledTextCtrl * _arg0; | |
3867 | int _arg1; | |
3868 | PyObject * _argo0 = 0; | |
3869 | char *_kwnames[] = { "self","indentSize", NULL }; | |
3870 | ||
3871 | self = self; | |
3872 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_SetIndent",_kwnames,&_argo0,&_arg1)) | |
3873 | return NULL; | |
3874 | if (_argo0) { | |
3875 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3876 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
3877 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetIndent. Expected _wxStyledTextCtrl_p."); | |
3878 | return NULL; | |
3879 | } | |
3880 | } | |
3881 | { | |
0e2ff151 | 3882 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 3883 | wxStyledTextCtrl_SetIndent(_arg0,_arg1); |
8a2fa5c8 | 3884 | |
0e2ff151 RD |
3885 | wxPyEndAllowThreads(__tstate); |
3886 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
3887 | } Py_INCREF(Py_None); |
3888 | _resultobj = Py_None; | |
3889 | return _resultobj; | |
3890 | } | |
3891 | ||
3892 | #define wxStyledTextCtrl_GetIndent(_swigobj) (_swigobj->GetIndent()) | |
3893 | static PyObject *_wrap_wxStyledTextCtrl_GetIndent(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3894 | PyObject * _resultobj; | |
3895 | int _result; | |
3896 | wxStyledTextCtrl * _arg0; | |
3897 | PyObject * _argo0 = 0; | |
3898 | char *_kwnames[] = { "self", NULL }; | |
3899 | ||
3900 | self = self; | |
3901 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetIndent",_kwnames,&_argo0)) | |
3902 | return NULL; | |
3903 | if (_argo0) { | |
3904 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3905 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
3906 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetIndent. Expected _wxStyledTextCtrl_p."); | |
3907 | return NULL; | |
3908 | } | |
3909 | } | |
3910 | { | |
0e2ff151 | 3911 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 3912 | _result = (int )wxStyledTextCtrl_GetIndent(_arg0); |
8a2fa5c8 | 3913 | |
0e2ff151 RD |
3914 | wxPyEndAllowThreads(__tstate); |
3915 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
3916 | } _resultobj = Py_BuildValue("i",_result); |
3917 | return _resultobj; | |
3918 | } | |
3919 | ||
3920 | #define wxStyledTextCtrl_SetUseTabs(_swigobj,_swigarg0) (_swigobj->SetUseTabs(_swigarg0)) | |
3921 | static PyObject *_wrap_wxStyledTextCtrl_SetUseTabs(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3922 | PyObject * _resultobj; | |
3923 | wxStyledTextCtrl * _arg0; | |
3924 | bool _arg1; | |
3925 | PyObject * _argo0 = 0; | |
3926 | int tempbool1; | |
3927 | char *_kwnames[] = { "self","useTabs", NULL }; | |
3928 | ||
3929 | self = self; | |
3930 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_SetUseTabs",_kwnames,&_argo0,&tempbool1)) | |
3931 | return NULL; | |
3932 | if (_argo0) { | |
3933 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3934 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
3935 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetUseTabs. Expected _wxStyledTextCtrl_p."); | |
3936 | return NULL; | |
3937 | } | |
3938 | } | |
3939 | _arg1 = (bool ) tempbool1; | |
3940 | { | |
0e2ff151 | 3941 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 3942 | wxStyledTextCtrl_SetUseTabs(_arg0,_arg1); |
8a2fa5c8 | 3943 | |
0e2ff151 RD |
3944 | wxPyEndAllowThreads(__tstate); |
3945 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
3946 | } Py_INCREF(Py_None); |
3947 | _resultobj = Py_None; | |
3948 | return _resultobj; | |
3949 | } | |
3950 | ||
3951 | #define wxStyledTextCtrl_GetUseTabs(_swigobj) (_swigobj->GetUseTabs()) | |
3952 | static PyObject *_wrap_wxStyledTextCtrl_GetUseTabs(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3953 | PyObject * _resultobj; | |
3954 | bool _result; | |
3955 | wxStyledTextCtrl * _arg0; | |
3956 | PyObject * _argo0 = 0; | |
3957 | char *_kwnames[] = { "self", NULL }; | |
3958 | ||
3959 | self = self; | |
3960 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetUseTabs",_kwnames,&_argo0)) | |
3961 | return NULL; | |
3962 | if (_argo0) { | |
3963 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3964 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
3965 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetUseTabs. Expected _wxStyledTextCtrl_p."); | |
3966 | return NULL; | |
3967 | } | |
3968 | } | |
3969 | { | |
0e2ff151 | 3970 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 3971 | _result = (bool )wxStyledTextCtrl_GetUseTabs(_arg0); |
8a2fa5c8 | 3972 | |
0e2ff151 RD |
3973 | wxPyEndAllowThreads(__tstate); |
3974 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
3975 | } _resultobj = Py_BuildValue("i",_result); |
3976 | return _resultobj; | |
3977 | } | |
3978 | ||
3979 | #define wxStyledTextCtrl_SetLineIndentation(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetLineIndentation(_swigarg0,_swigarg1)) | |
3980 | static PyObject *_wrap_wxStyledTextCtrl_SetLineIndentation(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3981 | PyObject * _resultobj; | |
3982 | wxStyledTextCtrl * _arg0; | |
3983 | int _arg1; | |
3984 | int _arg2; | |
3985 | PyObject * _argo0 = 0; | |
3986 | char *_kwnames[] = { "self","line","indentSize", NULL }; | |
3987 | ||
3988 | self = self; | |
3989 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxStyledTextCtrl_SetLineIndentation",_kwnames,&_argo0,&_arg1,&_arg2)) | |
3990 | return NULL; | |
3991 | if (_argo0) { | |
3992 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3993 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
3994 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetLineIndentation. Expected _wxStyledTextCtrl_p."); | |
3995 | return NULL; | |
3996 | } | |
3997 | } | |
3998 | { | |
0e2ff151 | 3999 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 4000 | wxStyledTextCtrl_SetLineIndentation(_arg0,_arg1,_arg2); |
8a2fa5c8 | 4001 | |
0e2ff151 RD |
4002 | wxPyEndAllowThreads(__tstate); |
4003 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
4004 | } Py_INCREF(Py_None); |
4005 | _resultobj = Py_None; | |
4006 | return _resultobj; | |
4007 | } | |
4008 | ||
4009 | #define wxStyledTextCtrl_GetLineIndentation(_swigobj,_swigarg0) (_swigobj->GetLineIndentation(_swigarg0)) | |
4010 | static PyObject *_wrap_wxStyledTextCtrl_GetLineIndentation(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4011 | PyObject * _resultobj; | |
4012 | int _result; | |
4013 | wxStyledTextCtrl * _arg0; | |
4014 | int _arg1; | |
4015 | PyObject * _argo0 = 0; | |
4016 | char *_kwnames[] = { "self","line", NULL }; | |
4017 | ||
4018 | self = self; | |
4019 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_GetLineIndentation",_kwnames,&_argo0,&_arg1)) | |
4020 | return NULL; | |
4021 | if (_argo0) { | |
4022 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4023 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
4024 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetLineIndentation. Expected _wxStyledTextCtrl_p."); | |
4025 | return NULL; | |
4026 | } | |
4027 | } | |
4028 | { | |
0e2ff151 | 4029 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 4030 | _result = (int )wxStyledTextCtrl_GetLineIndentation(_arg0,_arg1); |
8a2fa5c8 | 4031 | |
0e2ff151 RD |
4032 | wxPyEndAllowThreads(__tstate); |
4033 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
4034 | } _resultobj = Py_BuildValue("i",_result); |
4035 | return _resultobj; | |
4036 | } | |
4037 | ||
4038 | #define wxStyledTextCtrl_GetLineIndentPosition(_swigobj,_swigarg0) (_swigobj->GetLineIndentPosition(_swigarg0)) | |
4039 | static PyObject *_wrap_wxStyledTextCtrl_GetLineIndentPosition(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4040 | PyObject * _resultobj; | |
4041 | int _result; | |
4042 | wxStyledTextCtrl * _arg0; | |
4043 | int _arg1; | |
4044 | PyObject * _argo0 = 0; | |
4045 | char *_kwnames[] = { "self","line", NULL }; | |
4046 | ||
4047 | self = self; | |
4048 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_GetLineIndentPosition",_kwnames,&_argo0,&_arg1)) | |
4049 | return NULL; | |
4050 | if (_argo0) { | |
4051 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4052 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
4053 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetLineIndentPosition. Expected _wxStyledTextCtrl_p."); | |
4054 | return NULL; | |
4055 | } | |
4056 | } | |
4057 | { | |
0e2ff151 | 4058 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 4059 | _result = (int )wxStyledTextCtrl_GetLineIndentPosition(_arg0,_arg1); |
8a2fa5c8 | 4060 | |
0e2ff151 RD |
4061 | wxPyEndAllowThreads(__tstate); |
4062 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
4063 | } _resultobj = Py_BuildValue("i",_result); |
4064 | return _resultobj; | |
4065 | } | |
4066 | ||
4067 | #define wxStyledTextCtrl_GetColumn(_swigobj,_swigarg0) (_swigobj->GetColumn(_swigarg0)) | |
4068 | static PyObject *_wrap_wxStyledTextCtrl_GetColumn(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4069 | PyObject * _resultobj; | |
4070 | int _result; | |
4071 | wxStyledTextCtrl * _arg0; | |
4072 | int _arg1; | |
4073 | PyObject * _argo0 = 0; | |
4074 | char *_kwnames[] = { "self","pos", NULL }; | |
4075 | ||
4076 | self = self; | |
4077 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_GetColumn",_kwnames,&_argo0,&_arg1)) | |
4078 | return NULL; | |
4079 | if (_argo0) { | |
4080 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4081 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
4082 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetColumn. Expected _wxStyledTextCtrl_p."); | |
4083 | return NULL; | |
4084 | } | |
4085 | } | |
4086 | { | |
0e2ff151 | 4087 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 4088 | _result = (int )wxStyledTextCtrl_GetColumn(_arg0,_arg1); |
8a2fa5c8 | 4089 | |
0e2ff151 RD |
4090 | wxPyEndAllowThreads(__tstate); |
4091 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
4092 | } _resultobj = Py_BuildValue("i",_result); |
4093 | return _resultobj; | |
4094 | } | |
4095 | ||
4096 | #define wxStyledTextCtrl_SetUseHorizontalScrollBar(_swigobj,_swigarg0) (_swigobj->SetUseHorizontalScrollBar(_swigarg0)) | |
4097 | static PyObject *_wrap_wxStyledTextCtrl_SetUseHorizontalScrollBar(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4098 | PyObject * _resultobj; | |
4099 | wxStyledTextCtrl * _arg0; | |
4100 | bool _arg1; | |
4101 | PyObject * _argo0 = 0; | |
4102 | int tempbool1; | |
4103 | char *_kwnames[] = { "self","show", NULL }; | |
4104 | ||
4105 | self = self; | |
4106 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_SetUseHorizontalScrollBar",_kwnames,&_argo0,&tempbool1)) | |
4107 | return NULL; | |
4108 | if (_argo0) { | |
4109 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4110 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
4111 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetUseHorizontalScrollBar. Expected _wxStyledTextCtrl_p."); | |
4112 | return NULL; | |
4113 | } | |
4114 | } | |
4115 | _arg1 = (bool ) tempbool1; | |
4116 | { | |
0e2ff151 | 4117 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 4118 | wxStyledTextCtrl_SetUseHorizontalScrollBar(_arg0,_arg1); |
8a2fa5c8 | 4119 | |
0e2ff151 RD |
4120 | wxPyEndAllowThreads(__tstate); |
4121 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
4122 | } Py_INCREF(Py_None); |
4123 | _resultobj = Py_None; | |
4124 | return _resultobj; | |
4125 | } | |
4126 | ||
4127 | #define wxStyledTextCtrl_GetUseHorizontalScrollBar(_swigobj) (_swigobj->GetUseHorizontalScrollBar()) | |
4128 | static PyObject *_wrap_wxStyledTextCtrl_GetUseHorizontalScrollBar(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4129 | PyObject * _resultobj; | |
4130 | bool _result; | |
4131 | wxStyledTextCtrl * _arg0; | |
4132 | PyObject * _argo0 = 0; | |
4133 | char *_kwnames[] = { "self", NULL }; | |
4134 | ||
4135 | self = self; | |
4136 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetUseHorizontalScrollBar",_kwnames,&_argo0)) | |
4137 | return NULL; | |
4138 | if (_argo0) { | |
4139 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4140 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
4141 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetUseHorizontalScrollBar. Expected _wxStyledTextCtrl_p."); | |
4142 | return NULL; | |
4143 | } | |
4144 | } | |
4145 | { | |
0e2ff151 | 4146 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 4147 | _result = (bool )wxStyledTextCtrl_GetUseHorizontalScrollBar(_arg0); |
8a2fa5c8 | 4148 | |
0e2ff151 RD |
4149 | wxPyEndAllowThreads(__tstate); |
4150 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
4151 | } _resultobj = Py_BuildValue("i",_result); |
4152 | return _resultobj; | |
4153 | } | |
4154 | ||
4155 | #define wxStyledTextCtrl_SetIndentationGuides(_swigobj,_swigarg0) (_swigobj->SetIndentationGuides(_swigarg0)) | |
4156 | static PyObject *_wrap_wxStyledTextCtrl_SetIndentationGuides(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4157 | PyObject * _resultobj; | |
4158 | wxStyledTextCtrl * _arg0; | |
4159 | bool _arg1; | |
4160 | PyObject * _argo0 = 0; | |
4161 | int tempbool1; | |
4162 | char *_kwnames[] = { "self","show", NULL }; | |
4163 | ||
4164 | self = self; | |
4165 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_SetIndentationGuides",_kwnames,&_argo0,&tempbool1)) | |
4166 | return NULL; | |
4167 | if (_argo0) { | |
4168 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4169 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
4170 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetIndentationGuides. Expected _wxStyledTextCtrl_p."); | |
4171 | return NULL; | |
4172 | } | |
4173 | } | |
4174 | _arg1 = (bool ) tempbool1; | |
4175 | { | |
0e2ff151 | 4176 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 4177 | wxStyledTextCtrl_SetIndentationGuides(_arg0,_arg1); |
8a2fa5c8 | 4178 | |
0e2ff151 RD |
4179 | wxPyEndAllowThreads(__tstate); |
4180 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
4181 | } Py_INCREF(Py_None); |
4182 | _resultobj = Py_None; | |
4183 | return _resultobj; | |
4184 | } | |
4185 | ||
4186 | #define wxStyledTextCtrl_GetIndentationGuides(_swigobj) (_swigobj->GetIndentationGuides()) | |
4187 | static PyObject *_wrap_wxStyledTextCtrl_GetIndentationGuides(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4188 | PyObject * _resultobj; | |
4189 | bool _result; | |
4190 | wxStyledTextCtrl * _arg0; | |
4191 | PyObject * _argo0 = 0; | |
4192 | char *_kwnames[] = { "self", NULL }; | |
4193 | ||
4194 | self = self; | |
4195 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetIndentationGuides",_kwnames,&_argo0)) | |
4196 | return NULL; | |
4197 | if (_argo0) { | |
4198 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4199 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
4200 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetIndentationGuides. Expected _wxStyledTextCtrl_p."); | |
4201 | return NULL; | |
4202 | } | |
4203 | } | |
4204 | { | |
0e2ff151 | 4205 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 4206 | _result = (bool )wxStyledTextCtrl_GetIndentationGuides(_arg0); |
8a2fa5c8 | 4207 | |
0e2ff151 RD |
4208 | wxPyEndAllowThreads(__tstate); |
4209 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
4210 | } _resultobj = Py_BuildValue("i",_result); |
4211 | return _resultobj; | |
4212 | } | |
4213 | ||
4214 | #define wxStyledTextCtrl_SetHighlightGuide(_swigobj,_swigarg0) (_swigobj->SetHighlightGuide(_swigarg0)) | |
4215 | static PyObject *_wrap_wxStyledTextCtrl_SetHighlightGuide(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4216 | PyObject * _resultobj; | |
4217 | wxStyledTextCtrl * _arg0; | |
4218 | int _arg1; | |
4219 | PyObject * _argo0 = 0; | |
4220 | char *_kwnames[] = { "self","column", NULL }; | |
4221 | ||
4222 | self = self; | |
4223 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_SetHighlightGuide",_kwnames,&_argo0,&_arg1)) | |
4224 | return NULL; | |
4225 | if (_argo0) { | |
4226 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4227 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
4228 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetHighlightGuide. Expected _wxStyledTextCtrl_p."); | |
4229 | return NULL; | |
4230 | } | |
4231 | } | |
4232 | { | |
0e2ff151 | 4233 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 4234 | wxStyledTextCtrl_SetHighlightGuide(_arg0,_arg1); |
8a2fa5c8 | 4235 | |
0e2ff151 RD |
4236 | wxPyEndAllowThreads(__tstate); |
4237 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
4238 | } Py_INCREF(Py_None); |
4239 | _resultobj = Py_None; | |
4240 | return _resultobj; | |
4241 | } | |
4242 | ||
4243 | #define wxStyledTextCtrl_GetHighlightGuide(_swigobj) (_swigobj->GetHighlightGuide()) | |
4244 | static PyObject *_wrap_wxStyledTextCtrl_GetHighlightGuide(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4245 | PyObject * _resultobj; | |
4246 | int _result; | |
4247 | wxStyledTextCtrl * _arg0; | |
4248 | PyObject * _argo0 = 0; | |
4249 | char *_kwnames[] = { "self", NULL }; | |
4250 | ||
4251 | self = self; | |
4252 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetHighlightGuide",_kwnames,&_argo0)) | |
4253 | return NULL; | |
4254 | if (_argo0) { | |
4255 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4256 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
4257 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetHighlightGuide. Expected _wxStyledTextCtrl_p."); | |
4258 | return NULL; | |
4259 | } | |
4260 | } | |
4261 | { | |
0e2ff151 | 4262 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 4263 | _result = (int )wxStyledTextCtrl_GetHighlightGuide(_arg0); |
8a2fa5c8 | 4264 | |
0e2ff151 RD |
4265 | wxPyEndAllowThreads(__tstate); |
4266 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
4267 | } _resultobj = Py_BuildValue("i",_result); |
4268 | return _resultobj; | |
4269 | } | |
4270 | ||
4271 | #define wxStyledTextCtrl_GetLineEndPosition(_swigobj,_swigarg0) (_swigobj->GetLineEndPosition(_swigarg0)) | |
4272 | static PyObject *_wrap_wxStyledTextCtrl_GetLineEndPosition(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4273 | PyObject * _resultobj; | |
4274 | int _result; | |
4275 | wxStyledTextCtrl * _arg0; | |
4276 | int _arg1; | |
4277 | PyObject * _argo0 = 0; | |
4278 | char *_kwnames[] = { "self","line", NULL }; | |
4279 | ||
4280 | self = self; | |
4281 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_GetLineEndPosition",_kwnames,&_argo0,&_arg1)) | |
4282 | return NULL; | |
4283 | if (_argo0) { | |
4284 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4285 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
4286 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetLineEndPosition. Expected _wxStyledTextCtrl_p."); | |
4287 | return NULL; | |
4288 | } | |
4289 | } | |
4290 | { | |
0e2ff151 | 4291 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 4292 | _result = (int )wxStyledTextCtrl_GetLineEndPosition(_arg0,_arg1); |
8a2fa5c8 | 4293 | |
0e2ff151 RD |
4294 | wxPyEndAllowThreads(__tstate); |
4295 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
4296 | } _resultobj = Py_BuildValue("i",_result); |
4297 | return _resultobj; | |
4298 | } | |
4299 | ||
4300 | #define wxStyledTextCtrl_GetCodePage(_swigobj) (_swigobj->GetCodePage()) | |
4301 | static PyObject *_wrap_wxStyledTextCtrl_GetCodePage(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4302 | PyObject * _resultobj; | |
4303 | int _result; | |
4304 | wxStyledTextCtrl * _arg0; | |
4305 | PyObject * _argo0 = 0; | |
4306 | char *_kwnames[] = { "self", NULL }; | |
4307 | ||
4308 | self = self; | |
4309 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetCodePage",_kwnames,&_argo0)) | |
4310 | return NULL; | |
4311 | if (_argo0) { | |
4312 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4313 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
4314 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetCodePage. Expected _wxStyledTextCtrl_p."); | |
4315 | return NULL; | |
4316 | } | |
4317 | } | |
4318 | { | |
0e2ff151 | 4319 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 4320 | _result = (int )wxStyledTextCtrl_GetCodePage(_arg0); |
8a2fa5c8 | 4321 | |
0e2ff151 RD |
4322 | wxPyEndAllowThreads(__tstate); |
4323 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
4324 | } _resultobj = Py_BuildValue("i",_result); |
4325 | return _resultobj; | |
4326 | } | |
4327 | ||
4328 | #define wxStyledTextCtrl_GetCaretForeground(_swigobj) (_swigobj->GetCaretForeground()) | |
4329 | static PyObject *_wrap_wxStyledTextCtrl_GetCaretForeground(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4330 | PyObject * _resultobj; | |
4331 | wxColour * _result; | |
4332 | wxStyledTextCtrl * _arg0; | |
4333 | PyObject * _argo0 = 0; | |
4334 | char *_kwnames[] = { "self", NULL }; | |
4335 | char _ptemp[128]; | |
4336 | ||
4337 | self = self; | |
4338 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetCaretForeground",_kwnames,&_argo0)) | |
4339 | return NULL; | |
4340 | if (_argo0) { | |
4341 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4342 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
4343 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetCaretForeground. Expected _wxStyledTextCtrl_p."); | |
4344 | return NULL; | |
4345 | } | |
4346 | } | |
4347 | { | |
0e2ff151 | 4348 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 4349 | _result = new wxColour (wxStyledTextCtrl_GetCaretForeground(_arg0)); |
8a2fa5c8 | 4350 | |
0e2ff151 RD |
4351 | wxPyEndAllowThreads(__tstate); |
4352 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
4353 | } SWIG_MakePtr(_ptemp, (void *) _result,"_wxColour_p"); |
4354 | _resultobj = Py_BuildValue("s",_ptemp); | |
4355 | return _resultobj; | |
4356 | } | |
4357 | ||
4358 | #define wxStyledTextCtrl_GetReadOnly(_swigobj) (_swigobj->GetReadOnly()) | |
4359 | static PyObject *_wrap_wxStyledTextCtrl_GetReadOnly(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4360 | PyObject * _resultobj; | |
4361 | bool _result; | |
4362 | wxStyledTextCtrl * _arg0; | |
4363 | PyObject * _argo0 = 0; | |
4364 | char *_kwnames[] = { "self", NULL }; | |
4365 | ||
4366 | self = self; | |
4367 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetReadOnly",_kwnames,&_argo0)) | |
4368 | return NULL; | |
4369 | if (_argo0) { | |
4370 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4371 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
4372 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetReadOnly. Expected _wxStyledTextCtrl_p."); | |
4373 | return NULL; | |
4374 | } | |
4375 | } | |
4376 | { | |
0e2ff151 | 4377 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 4378 | _result = (bool )wxStyledTextCtrl_GetReadOnly(_arg0); |
8a2fa5c8 | 4379 | |
0e2ff151 RD |
4380 | wxPyEndAllowThreads(__tstate); |
4381 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
4382 | } _resultobj = Py_BuildValue("i",_result); |
4383 | return _resultobj; | |
4384 | } | |
4385 | ||
4386 | #define wxStyledTextCtrl_SetCurrentPos(_swigobj,_swigarg0) (_swigobj->SetCurrentPos(_swigarg0)) | |
4387 | static PyObject *_wrap_wxStyledTextCtrl_SetCurrentPos(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4388 | PyObject * _resultobj; | |
4389 | wxStyledTextCtrl * _arg0; | |
4390 | int _arg1; | |
4391 | PyObject * _argo0 = 0; | |
4392 | char *_kwnames[] = { "self","pos", NULL }; | |
4393 | ||
4394 | self = self; | |
4395 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_SetCurrentPos",_kwnames,&_argo0,&_arg1)) | |
4396 | return NULL; | |
4397 | if (_argo0) { | |
4398 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4399 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
4400 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetCurrentPos. Expected _wxStyledTextCtrl_p."); | |
4401 | return NULL; | |
4402 | } | |
4403 | } | |
4404 | { | |
0e2ff151 | 4405 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 4406 | wxStyledTextCtrl_SetCurrentPos(_arg0,_arg1); |
8a2fa5c8 | 4407 | |
0e2ff151 RD |
4408 | wxPyEndAllowThreads(__tstate); |
4409 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
4410 | } Py_INCREF(Py_None); |
4411 | _resultobj = Py_None; | |
4412 | return _resultobj; | |
4413 | } | |
4414 | ||
4415 | #define wxStyledTextCtrl_SetSelectionStart(_swigobj,_swigarg0) (_swigobj->SetSelectionStart(_swigarg0)) | |
4416 | static PyObject *_wrap_wxStyledTextCtrl_SetSelectionStart(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4417 | PyObject * _resultobj; | |
4418 | wxStyledTextCtrl * _arg0; | |
4419 | int _arg1; | |
4420 | PyObject * _argo0 = 0; | |
4421 | char *_kwnames[] = { "self","pos", NULL }; | |
4422 | ||
4423 | self = self; | |
4424 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_SetSelectionStart",_kwnames,&_argo0,&_arg1)) | |
4425 | return NULL; | |
4426 | if (_argo0) { | |
4427 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4428 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
4429 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetSelectionStart. Expected _wxStyledTextCtrl_p."); | |
4430 | return NULL; | |
4431 | } | |
4432 | } | |
4433 | { | |
0e2ff151 | 4434 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 4435 | wxStyledTextCtrl_SetSelectionStart(_arg0,_arg1); |
8a2fa5c8 | 4436 | |
0e2ff151 RD |
4437 | wxPyEndAllowThreads(__tstate); |
4438 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
4439 | } Py_INCREF(Py_None); |
4440 | _resultobj = Py_None; | |
4441 | return _resultobj; | |
4442 | } | |
4443 | ||
4444 | #define wxStyledTextCtrl_GetSelectionStart(_swigobj) (_swigobj->GetSelectionStart()) | |
4445 | static PyObject *_wrap_wxStyledTextCtrl_GetSelectionStart(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4446 | PyObject * _resultobj; | |
4447 | int _result; | |
4448 | wxStyledTextCtrl * _arg0; | |
4449 | PyObject * _argo0 = 0; | |
4450 | char *_kwnames[] = { "self", NULL }; | |
4451 | ||
4452 | self = self; | |
4453 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetSelectionStart",_kwnames,&_argo0)) | |
4454 | return NULL; | |
4455 | if (_argo0) { | |
4456 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4457 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
4458 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetSelectionStart. Expected _wxStyledTextCtrl_p."); | |
4459 | return NULL; | |
4460 | } | |
4461 | } | |
4462 | { | |
0e2ff151 | 4463 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 4464 | _result = (int )wxStyledTextCtrl_GetSelectionStart(_arg0); |
8a2fa5c8 | 4465 | |
0e2ff151 RD |
4466 | wxPyEndAllowThreads(__tstate); |
4467 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
4468 | } _resultobj = Py_BuildValue("i",_result); |
4469 | return _resultobj; | |
4470 | } | |
4471 | ||
4472 | #define wxStyledTextCtrl_SetSelectionEnd(_swigobj,_swigarg0) (_swigobj->SetSelectionEnd(_swigarg0)) | |
4473 | static PyObject *_wrap_wxStyledTextCtrl_SetSelectionEnd(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4474 | PyObject * _resultobj; | |
4475 | wxStyledTextCtrl * _arg0; | |
4476 | int _arg1; | |
4477 | PyObject * _argo0 = 0; | |
4478 | char *_kwnames[] = { "self","pos", NULL }; | |
4479 | ||
4480 | self = self; | |
4481 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_SetSelectionEnd",_kwnames,&_argo0,&_arg1)) | |
4482 | return NULL; | |
4483 | if (_argo0) { | |
4484 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4485 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
4486 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetSelectionEnd. Expected _wxStyledTextCtrl_p."); | |
4487 | return NULL; | |
4488 | } | |
4489 | } | |
4490 | { | |
0e2ff151 | 4491 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 4492 | wxStyledTextCtrl_SetSelectionEnd(_arg0,_arg1); |
8a2fa5c8 | 4493 | |
0e2ff151 RD |
4494 | wxPyEndAllowThreads(__tstate); |
4495 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
4496 | } Py_INCREF(Py_None); |
4497 | _resultobj = Py_None; | |
4498 | return _resultobj; | |
4499 | } | |
4500 | ||
4501 | #define wxStyledTextCtrl_GetSelectionEnd(_swigobj) (_swigobj->GetSelectionEnd()) | |
4502 | static PyObject *_wrap_wxStyledTextCtrl_GetSelectionEnd(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4503 | PyObject * _resultobj; | |
4504 | int _result; | |
4505 | wxStyledTextCtrl * _arg0; | |
4506 | PyObject * _argo0 = 0; | |
4507 | char *_kwnames[] = { "self", NULL }; | |
4508 | ||
4509 | self = self; | |
4510 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetSelectionEnd",_kwnames,&_argo0)) | |
4511 | return NULL; | |
4512 | if (_argo0) { | |
4513 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4514 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
4515 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetSelectionEnd. Expected _wxStyledTextCtrl_p."); | |
4516 | return NULL; | |
4517 | } | |
4518 | } | |
4519 | { | |
0e2ff151 | 4520 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 4521 | _result = (int )wxStyledTextCtrl_GetSelectionEnd(_arg0); |
8a2fa5c8 | 4522 | |
0e2ff151 RD |
4523 | wxPyEndAllowThreads(__tstate); |
4524 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
4525 | } _resultobj = Py_BuildValue("i",_result); |
4526 | return _resultobj; | |
4527 | } | |
4528 | ||
4529 | #define wxStyledTextCtrl_SetPrintMagnification(_swigobj,_swigarg0) (_swigobj->SetPrintMagnification(_swigarg0)) | |
4530 | static PyObject *_wrap_wxStyledTextCtrl_SetPrintMagnification(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4531 | PyObject * _resultobj; | |
4532 | wxStyledTextCtrl * _arg0; | |
4533 | int _arg1; | |
4534 | PyObject * _argo0 = 0; | |
4535 | char *_kwnames[] = { "self","magnification", NULL }; | |
4536 | ||
4537 | self = self; | |
4538 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_SetPrintMagnification",_kwnames,&_argo0,&_arg1)) | |
4539 | return NULL; | |
4540 | if (_argo0) { | |
4541 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4542 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
4543 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetPrintMagnification. Expected _wxStyledTextCtrl_p."); | |
4544 | return NULL; | |
4545 | } | |
4546 | } | |
4547 | { | |
0e2ff151 | 4548 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 4549 | wxStyledTextCtrl_SetPrintMagnification(_arg0,_arg1); |
8a2fa5c8 | 4550 | |
0e2ff151 RD |
4551 | wxPyEndAllowThreads(__tstate); |
4552 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
4553 | } Py_INCREF(Py_None); |
4554 | _resultobj = Py_None; | |
4555 | return _resultobj; | |
4556 | } | |
4557 | ||
4558 | #define wxStyledTextCtrl_GetPrintMagnification(_swigobj) (_swigobj->GetPrintMagnification()) | |
4559 | static PyObject *_wrap_wxStyledTextCtrl_GetPrintMagnification(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4560 | PyObject * _resultobj; | |
4561 | int _result; | |
4562 | wxStyledTextCtrl * _arg0; | |
4563 | PyObject * _argo0 = 0; | |
4564 | char *_kwnames[] = { "self", NULL }; | |
4565 | ||
4566 | self = self; | |
4567 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetPrintMagnification",_kwnames,&_argo0)) | |
4568 | return NULL; | |
4569 | if (_argo0) { | |
4570 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4571 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
4572 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetPrintMagnification. Expected _wxStyledTextCtrl_p."); | |
4573 | return NULL; | |
4574 | } | |
4575 | } | |
4576 | { | |
0e2ff151 | 4577 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 4578 | _result = (int )wxStyledTextCtrl_GetPrintMagnification(_arg0); |
8a2fa5c8 | 4579 | |
0e2ff151 RD |
4580 | wxPyEndAllowThreads(__tstate); |
4581 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
4582 | } _resultobj = Py_BuildValue("i",_result); |
4583 | return _resultobj; | |
4584 | } | |
4585 | ||
4586 | #define wxStyledTextCtrl_SetPrintColourMode(_swigobj,_swigarg0) (_swigobj->SetPrintColourMode(_swigarg0)) | |
4587 | static PyObject *_wrap_wxStyledTextCtrl_SetPrintColourMode(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4588 | PyObject * _resultobj; | |
4589 | wxStyledTextCtrl * _arg0; | |
4590 | int _arg1; | |
4591 | PyObject * _argo0 = 0; | |
4592 | char *_kwnames[] = { "self","mode", NULL }; | |
4593 | ||
4594 | self = self; | |
4595 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_SetPrintColourMode",_kwnames,&_argo0,&_arg1)) | |
4596 | return NULL; | |
4597 | if (_argo0) { | |
4598 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4599 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
4600 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetPrintColourMode. Expected _wxStyledTextCtrl_p."); | |
4601 | return NULL; | |
4602 | } | |
4603 | } | |
4604 | { | |
0e2ff151 | 4605 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 4606 | wxStyledTextCtrl_SetPrintColourMode(_arg0,_arg1); |
8a2fa5c8 | 4607 | |
0e2ff151 RD |
4608 | wxPyEndAllowThreads(__tstate); |
4609 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
4610 | } Py_INCREF(Py_None); |
4611 | _resultobj = Py_None; | |
4612 | return _resultobj; | |
4613 | } | |
4614 | ||
4615 | #define wxStyledTextCtrl_GetPrintColourMode(_swigobj) (_swigobj->GetPrintColourMode()) | |
4616 | static PyObject *_wrap_wxStyledTextCtrl_GetPrintColourMode(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4617 | PyObject * _resultobj; | |
4618 | int _result; | |
4619 | wxStyledTextCtrl * _arg0; | |
4620 | PyObject * _argo0 = 0; | |
4621 | char *_kwnames[] = { "self", NULL }; | |
4622 | ||
4623 | self = self; | |
4624 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetPrintColourMode",_kwnames,&_argo0)) | |
4625 | return NULL; | |
4626 | if (_argo0) { | |
4627 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4628 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
4629 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetPrintColourMode. Expected _wxStyledTextCtrl_p."); | |
4630 | return NULL; | |
4631 | } | |
4632 | } | |
4633 | { | |
0e2ff151 | 4634 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 4635 | _result = (int )wxStyledTextCtrl_GetPrintColourMode(_arg0); |
8a2fa5c8 | 4636 | |
0e2ff151 RD |
4637 | wxPyEndAllowThreads(__tstate); |
4638 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
4639 | } _resultobj = Py_BuildValue("i",_result); |
4640 | return _resultobj; | |
4641 | } | |
4642 | ||
4bb081fd | 4643 | #define wxStyledTextCtrl_FindText(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->FindText(_swigarg0,_swigarg1,_swigarg2,_swigarg3)) |
8a2fa5c8 RD |
4644 | static PyObject *_wrap_wxStyledTextCtrl_FindText(PyObject *self, PyObject *args, PyObject *kwargs) { |
4645 | PyObject * _resultobj; | |
4646 | int _result; | |
4647 | wxStyledTextCtrl * _arg0; | |
4648 | int _arg1; | |
4649 | int _arg2; | |
4650 | wxString * _arg3; | |
4bb081fd | 4651 | int _arg4 = (int ) 0; |
8a2fa5c8 RD |
4652 | PyObject * _argo0 = 0; |
4653 | PyObject * _obj3 = 0; | |
4bb081fd | 4654 | char *_kwnames[] = { "self","minPos","maxPos","text","flags", NULL }; |
8a2fa5c8 RD |
4655 | |
4656 | self = self; | |
4bb081fd | 4657 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiiO|i:wxStyledTextCtrl_FindText",_kwnames,&_argo0,&_arg1,&_arg2,&_obj3,&_arg4)) |
8a2fa5c8 RD |
4658 | return NULL; |
4659 | if (_argo0) { | |
4660 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4661 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
4662 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_FindText. Expected _wxStyledTextCtrl_p."); | |
4663 | return NULL; | |
4664 | } | |
4665 | } | |
4666 | { | |
6824d4f9 RD |
4667 | _arg3 = wxString_in_helper(_obj3); |
4668 | if (_arg3 == NULL) | |
8a2fa5c8 | 4669 | return NULL; |
8a2fa5c8 | 4670 | } |
8a2fa5c8 | 4671 | { |
0e2ff151 | 4672 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
4bb081fd | 4673 | _result = (int )wxStyledTextCtrl_FindText(_arg0,_arg1,_arg2,*_arg3,_arg4); |
8a2fa5c8 | 4674 | |
0e2ff151 RD |
4675 | wxPyEndAllowThreads(__tstate); |
4676 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
4677 | } _resultobj = Py_BuildValue("i",_result); |
4678 | { | |
4679 | if (_obj3) | |
4680 | delete _arg3; | |
4681 | } | |
4682 | return _resultobj; | |
4683 | } | |
4684 | ||
4685 | #define wxStyledTextCtrl_FormatRange(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (_swigobj->FormatRange(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6)) | |
4686 | static PyObject *_wrap_wxStyledTextCtrl_FormatRange(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4687 | PyObject * _resultobj; | |
4688 | int _result; | |
4689 | wxStyledTextCtrl * _arg0; | |
4690 | bool _arg1; | |
4691 | int _arg2; | |
4692 | int _arg3; | |
4693 | wxDC * _arg4; | |
4694 | wxDC * _arg5; | |
4695 | wxRect * _arg6; | |
4696 | wxRect * _arg7; | |
4697 | PyObject * _argo0 = 0; | |
4698 | int tempbool1; | |
4699 | PyObject * _argo4 = 0; | |
4700 | PyObject * _argo5 = 0; | |
4701 | wxRect temp; | |
4702 | PyObject * _obj6 = 0; | |
4703 | wxRect temp0; | |
4704 | PyObject * _obj7 = 0; | |
4705 | char *_kwnames[] = { "self","doDraw","startPos","endPos","draw","target","renderRect","pageRect", NULL }; | |
4706 | ||
4707 | self = self; | |
4708 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiiiOOOO:wxStyledTextCtrl_FormatRange",_kwnames,&_argo0,&tempbool1,&_arg2,&_arg3,&_argo4,&_argo5,&_obj6,&_obj7)) | |
4709 | return NULL; | |
4710 | if (_argo0) { | |
4711 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4712 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
4713 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_FormatRange. Expected _wxStyledTextCtrl_p."); | |
4714 | return NULL; | |
4715 | } | |
4716 | } | |
4717 | _arg1 = (bool ) tempbool1; | |
4718 | if (_argo4) { | |
4719 | if (_argo4 == Py_None) { _arg4 = NULL; } | |
4720 | else if (SWIG_GetPtrObj(_argo4,(void **) &_arg4,"_wxDC_p")) { | |
4721 | PyErr_SetString(PyExc_TypeError,"Type error in argument 5 of wxStyledTextCtrl_FormatRange. Expected _wxDC_p."); | |
4722 | return NULL; | |
4723 | } | |
4724 | } | |
4725 | if (_argo5) { | |
4726 | if (_argo5 == Py_None) { _arg5 = NULL; } | |
4727 | else if (SWIG_GetPtrObj(_argo5,(void **) &_arg5,"_wxDC_p")) { | |
4728 | PyErr_SetString(PyExc_TypeError,"Type error in argument 6 of wxStyledTextCtrl_FormatRange. Expected _wxDC_p."); | |
4729 | return NULL; | |
4730 | } | |
4731 | } | |
4732 | { | |
4733 | _arg6 = &temp; | |
4734 | if (! wxRect_helper(_obj6, &_arg6)) | |
4735 | return NULL; | |
4736 | } | |
4737 | { | |
4738 | _arg7 = &temp0; | |
4739 | if (! wxRect_helper(_obj7, &_arg7)) | |
4740 | return NULL; | |
4741 | } | |
4742 | { | |
0e2ff151 | 4743 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 4744 | _result = (int )wxStyledTextCtrl_FormatRange(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5,*_arg6,*_arg7); |
8a2fa5c8 | 4745 | |
0e2ff151 RD |
4746 | wxPyEndAllowThreads(__tstate); |
4747 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
4748 | } _resultobj = Py_BuildValue("i",_result); |
4749 | return _resultobj; | |
4750 | } | |
4751 | ||
4752 | #define wxStyledTextCtrl_GetFirstVisibleLine(_swigobj) (_swigobj->GetFirstVisibleLine()) | |
4753 | static PyObject *_wrap_wxStyledTextCtrl_GetFirstVisibleLine(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4754 | PyObject * _resultobj; | |
4755 | int _result; | |
4756 | wxStyledTextCtrl * _arg0; | |
4757 | PyObject * _argo0 = 0; | |
4758 | char *_kwnames[] = { "self", NULL }; | |
4759 | ||
4760 | self = self; | |
4761 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetFirstVisibleLine",_kwnames,&_argo0)) | |
4762 | return NULL; | |
4763 | if (_argo0) { | |
4764 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4765 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
4766 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetFirstVisibleLine. Expected _wxStyledTextCtrl_p."); | |
4767 | return NULL; | |
4768 | } | |
4769 | } | |
4770 | { | |
0e2ff151 | 4771 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 4772 | _result = (int )wxStyledTextCtrl_GetFirstVisibleLine(_arg0); |
8a2fa5c8 | 4773 | |
0e2ff151 RD |
4774 | wxPyEndAllowThreads(__tstate); |
4775 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
4776 | } _resultobj = Py_BuildValue("i",_result); |
4777 | return _resultobj; | |
4778 | } | |
4779 | ||
4780 | #define wxStyledTextCtrl_GetLine(_swigobj,_swigarg0) (_swigobj->GetLine(_swigarg0)) | |
4781 | static PyObject *_wrap_wxStyledTextCtrl_GetLine(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4782 | PyObject * _resultobj; | |
4783 | wxString * _result; | |
4784 | wxStyledTextCtrl * _arg0; | |
4785 | int _arg1; | |
4786 | PyObject * _argo0 = 0; | |
4787 | char *_kwnames[] = { "self","line", NULL }; | |
4788 | ||
4789 | self = self; | |
4790 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_GetLine",_kwnames,&_argo0,&_arg1)) | |
4791 | return NULL; | |
4792 | if (_argo0) { | |
4793 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4794 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
4795 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetLine. Expected _wxStyledTextCtrl_p."); | |
4796 | return NULL; | |
4797 | } | |
4798 | } | |
4799 | { | |
0e2ff151 | 4800 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 4801 | _result = new wxString (wxStyledTextCtrl_GetLine(_arg0,_arg1)); |
8a2fa5c8 | 4802 | |
0e2ff151 RD |
4803 | wxPyEndAllowThreads(__tstate); |
4804 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 | 4805 | }{ |
6824d4f9 RD |
4806 | #if wxUSE_UNICODE |
4807 | _resultobj = PyUnicode_FromUnicode(_result->c_str(), _result->Len()); | |
4808 | #else | |
8a2fa5c8 | 4809 | _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len()); |
6824d4f9 | 4810 | #endif |
8a2fa5c8 RD |
4811 | } |
4812 | { | |
4813 | delete _result; | |
4814 | } | |
4815 | return _resultobj; | |
4816 | } | |
4817 | ||
4818 | #define wxStyledTextCtrl_GetLineCount(_swigobj) (_swigobj->GetLineCount()) | |
4819 | static PyObject *_wrap_wxStyledTextCtrl_GetLineCount(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4820 | PyObject * _resultobj; | |
4821 | int _result; | |
4822 | wxStyledTextCtrl * _arg0; | |
4823 | PyObject * _argo0 = 0; | |
4824 | char *_kwnames[] = { "self", NULL }; | |
4825 | ||
4826 | self = self; | |
4827 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetLineCount",_kwnames,&_argo0)) | |
4828 | return NULL; | |
4829 | if (_argo0) { | |
4830 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4831 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
4832 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetLineCount. Expected _wxStyledTextCtrl_p."); | |
4833 | return NULL; | |
4834 | } | |
4835 | } | |
4836 | { | |
0e2ff151 | 4837 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 4838 | _result = (int )wxStyledTextCtrl_GetLineCount(_arg0); |
8a2fa5c8 | 4839 | |
0e2ff151 RD |
4840 | wxPyEndAllowThreads(__tstate); |
4841 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
4842 | } _resultobj = Py_BuildValue("i",_result); |
4843 | return _resultobj; | |
4844 | } | |
4845 | ||
4846 | #define wxStyledTextCtrl_SetMarginLeft(_swigobj,_swigarg0) (_swigobj->SetMarginLeft(_swigarg0)) | |
4847 | static PyObject *_wrap_wxStyledTextCtrl_SetMarginLeft(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4848 | PyObject * _resultobj; | |
4849 | wxStyledTextCtrl * _arg0; | |
4850 | int _arg1; | |
4851 | PyObject * _argo0 = 0; | |
4852 | char *_kwnames[] = { "self","pixelWidth", NULL }; | |
4853 | ||
4854 | self = self; | |
4855 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_SetMarginLeft",_kwnames,&_argo0,&_arg1)) | |
4856 | return NULL; | |
4857 | if (_argo0) { | |
4858 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4859 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
4860 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetMarginLeft. Expected _wxStyledTextCtrl_p."); | |
4861 | return NULL; | |
4862 | } | |
4863 | } | |
4864 | { | |
0e2ff151 | 4865 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 4866 | wxStyledTextCtrl_SetMarginLeft(_arg0,_arg1); |
8a2fa5c8 | 4867 | |
0e2ff151 RD |
4868 | wxPyEndAllowThreads(__tstate); |
4869 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
4870 | } Py_INCREF(Py_None); |
4871 | _resultobj = Py_None; | |
4872 | return _resultobj; | |
4873 | } | |
4874 | ||
4875 | #define wxStyledTextCtrl_GetMarginLeft(_swigobj) (_swigobj->GetMarginLeft()) | |
4876 | static PyObject *_wrap_wxStyledTextCtrl_GetMarginLeft(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4877 | PyObject * _resultobj; | |
4878 | int _result; | |
4879 | wxStyledTextCtrl * _arg0; | |
4880 | PyObject * _argo0 = 0; | |
4881 | char *_kwnames[] = { "self", NULL }; | |
4882 | ||
4883 | self = self; | |
4884 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetMarginLeft",_kwnames,&_argo0)) | |
4885 | return NULL; | |
4886 | if (_argo0) { | |
4887 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4888 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
4889 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetMarginLeft. Expected _wxStyledTextCtrl_p."); | |
4890 | return NULL; | |
4891 | } | |
4892 | } | |
4893 | { | |
0e2ff151 | 4894 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 4895 | _result = (int )wxStyledTextCtrl_GetMarginLeft(_arg0); |
8a2fa5c8 | 4896 | |
0e2ff151 RD |
4897 | wxPyEndAllowThreads(__tstate); |
4898 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
4899 | } _resultobj = Py_BuildValue("i",_result); |
4900 | return _resultobj; | |
4901 | } | |
4902 | ||
4903 | #define wxStyledTextCtrl_SetMarginRight(_swigobj,_swigarg0) (_swigobj->SetMarginRight(_swigarg0)) | |
4904 | static PyObject *_wrap_wxStyledTextCtrl_SetMarginRight(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4905 | PyObject * _resultobj; | |
4906 | wxStyledTextCtrl * _arg0; | |
4907 | int _arg1; | |
4908 | PyObject * _argo0 = 0; | |
4909 | char *_kwnames[] = { "self","pixelWidth", NULL }; | |
4910 | ||
4911 | self = self; | |
4912 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_SetMarginRight",_kwnames,&_argo0,&_arg1)) | |
4913 | return NULL; | |
4914 | if (_argo0) { | |
4915 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4916 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
4917 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetMarginRight. Expected _wxStyledTextCtrl_p."); | |
4918 | return NULL; | |
4919 | } | |
4920 | } | |
4921 | { | |
0e2ff151 | 4922 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 4923 | wxStyledTextCtrl_SetMarginRight(_arg0,_arg1); |
8a2fa5c8 | 4924 | |
0e2ff151 RD |
4925 | wxPyEndAllowThreads(__tstate); |
4926 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
4927 | } Py_INCREF(Py_None); |
4928 | _resultobj = Py_None; | |
4929 | return _resultobj; | |
4930 | } | |
4931 | ||
4932 | #define wxStyledTextCtrl_GetMarginRight(_swigobj) (_swigobj->GetMarginRight()) | |
4933 | static PyObject *_wrap_wxStyledTextCtrl_GetMarginRight(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4934 | PyObject * _resultobj; | |
4935 | int _result; | |
4936 | wxStyledTextCtrl * _arg0; | |
4937 | PyObject * _argo0 = 0; | |
4938 | char *_kwnames[] = { "self", NULL }; | |
4939 | ||
4940 | self = self; | |
4941 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetMarginRight",_kwnames,&_argo0)) | |
4942 | return NULL; | |
4943 | if (_argo0) { | |
4944 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4945 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
4946 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetMarginRight. Expected _wxStyledTextCtrl_p."); | |
4947 | return NULL; | |
4948 | } | |
4949 | } | |
4950 | { | |
0e2ff151 | 4951 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 4952 | _result = (int )wxStyledTextCtrl_GetMarginRight(_arg0); |
8a2fa5c8 | 4953 | |
0e2ff151 RD |
4954 | wxPyEndAllowThreads(__tstate); |
4955 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
4956 | } _resultobj = Py_BuildValue("i",_result); |
4957 | return _resultobj; | |
4958 | } | |
4959 | ||
4960 | #define wxStyledTextCtrl_GetModify(_swigobj) (_swigobj->GetModify()) | |
4961 | static PyObject *_wrap_wxStyledTextCtrl_GetModify(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4962 | PyObject * _resultobj; | |
4963 | bool _result; | |
4964 | wxStyledTextCtrl * _arg0; | |
4965 | PyObject * _argo0 = 0; | |
4966 | char *_kwnames[] = { "self", NULL }; | |
4967 | ||
4968 | self = self; | |
4969 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetModify",_kwnames,&_argo0)) | |
4970 | return NULL; | |
4971 | if (_argo0) { | |
4972 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4973 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
4974 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetModify. Expected _wxStyledTextCtrl_p."); | |
4975 | return NULL; | |
4976 | } | |
4977 | } | |
4978 | { | |
0e2ff151 | 4979 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 4980 | _result = (bool )wxStyledTextCtrl_GetModify(_arg0); |
8a2fa5c8 | 4981 | |
0e2ff151 RD |
4982 | wxPyEndAllowThreads(__tstate); |
4983 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
4984 | } _resultobj = Py_BuildValue("i",_result); |
4985 | return _resultobj; | |
4986 | } | |
4987 | ||
4988 | #define wxStyledTextCtrl_SetSelection(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetSelection(_swigarg0,_swigarg1)) | |
4989 | static PyObject *_wrap_wxStyledTextCtrl_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4990 | PyObject * _resultobj; | |
4991 | wxStyledTextCtrl * _arg0; | |
4992 | int _arg1; | |
4993 | int _arg2; | |
4994 | PyObject * _argo0 = 0; | |
4995 | char *_kwnames[] = { "self","start","end", NULL }; | |
4996 | ||
4997 | self = self; | |
4998 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxStyledTextCtrl_SetSelection",_kwnames,&_argo0,&_arg1,&_arg2)) | |
4999 | return NULL; | |
5000 | if (_argo0) { | |
5001 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5002 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
5003 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetSelection. Expected _wxStyledTextCtrl_p."); | |
5004 | return NULL; | |
5005 | } | |
5006 | } | |
5007 | { | |
0e2ff151 | 5008 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 5009 | wxStyledTextCtrl_SetSelection(_arg0,_arg1,_arg2); |
8a2fa5c8 | 5010 | |
0e2ff151 RD |
5011 | wxPyEndAllowThreads(__tstate); |
5012 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
5013 | } Py_INCREF(Py_None); |
5014 | _resultobj = Py_None; | |
5015 | return _resultobj; | |
5016 | } | |
5017 | ||
5018 | #define wxStyledTextCtrl_GetSelectedText(_swigobj) (_swigobj->GetSelectedText()) | |
5019 | static PyObject *_wrap_wxStyledTextCtrl_GetSelectedText(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5020 | PyObject * _resultobj; | |
5021 | wxString * _result; | |
5022 | wxStyledTextCtrl * _arg0; | |
5023 | PyObject * _argo0 = 0; | |
5024 | char *_kwnames[] = { "self", NULL }; | |
5025 | ||
5026 | self = self; | |
5027 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetSelectedText",_kwnames,&_argo0)) | |
5028 | return NULL; | |
5029 | if (_argo0) { | |
5030 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5031 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
5032 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetSelectedText. Expected _wxStyledTextCtrl_p."); | |
5033 | return NULL; | |
5034 | } | |
5035 | } | |
5036 | { | |
0e2ff151 | 5037 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 5038 | _result = new wxString (wxStyledTextCtrl_GetSelectedText(_arg0)); |
8a2fa5c8 | 5039 | |
0e2ff151 RD |
5040 | wxPyEndAllowThreads(__tstate); |
5041 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 | 5042 | }{ |
6824d4f9 RD |
5043 | #if wxUSE_UNICODE |
5044 | _resultobj = PyUnicode_FromUnicode(_result->c_str(), _result->Len()); | |
5045 | #else | |
8a2fa5c8 | 5046 | _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len()); |
6824d4f9 | 5047 | #endif |
8a2fa5c8 RD |
5048 | } |
5049 | { | |
5050 | delete _result; | |
5051 | } | |
5052 | return _resultobj; | |
5053 | } | |
5054 | ||
5055 | #define wxStyledTextCtrl_GetTextRange(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetTextRange(_swigarg0,_swigarg1)) | |
5056 | static PyObject *_wrap_wxStyledTextCtrl_GetTextRange(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5057 | PyObject * _resultobj; | |
5058 | wxString * _result; | |
5059 | wxStyledTextCtrl * _arg0; | |
5060 | int _arg1; | |
5061 | int _arg2; | |
5062 | PyObject * _argo0 = 0; | |
5063 | char *_kwnames[] = { "self","startPos","endPos", NULL }; | |
5064 | ||
5065 | self = self; | |
5066 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxStyledTextCtrl_GetTextRange",_kwnames,&_argo0,&_arg1,&_arg2)) | |
5067 | return NULL; | |
5068 | if (_argo0) { | |
5069 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5070 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
5071 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetTextRange. Expected _wxStyledTextCtrl_p."); | |
5072 | return NULL; | |
5073 | } | |
5074 | } | |
5075 | { | |
0e2ff151 | 5076 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 5077 | _result = new wxString (wxStyledTextCtrl_GetTextRange(_arg0,_arg1,_arg2)); |
8a2fa5c8 | 5078 | |
0e2ff151 RD |
5079 | wxPyEndAllowThreads(__tstate); |
5080 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 | 5081 | }{ |
6824d4f9 RD |
5082 | #if wxUSE_UNICODE |
5083 | _resultobj = PyUnicode_FromUnicode(_result->c_str(), _result->Len()); | |
5084 | #else | |
8a2fa5c8 | 5085 | _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len()); |
6824d4f9 | 5086 | #endif |
8a2fa5c8 RD |
5087 | } |
5088 | { | |
5089 | delete _result; | |
5090 | } | |
5091 | return _resultobj; | |
5092 | } | |
5093 | ||
5094 | #define wxStyledTextCtrl_HideSelection(_swigobj,_swigarg0) (_swigobj->HideSelection(_swigarg0)) | |
5095 | static PyObject *_wrap_wxStyledTextCtrl_HideSelection(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5096 | PyObject * _resultobj; | |
5097 | wxStyledTextCtrl * _arg0; | |
5098 | bool _arg1; | |
5099 | PyObject * _argo0 = 0; | |
5100 | int tempbool1; | |
5101 | char *_kwnames[] = { "self","normal", NULL }; | |
5102 | ||
5103 | self = self; | |
5104 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_HideSelection",_kwnames,&_argo0,&tempbool1)) | |
5105 | return NULL; | |
5106 | if (_argo0) { | |
5107 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5108 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
5109 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_HideSelection. Expected _wxStyledTextCtrl_p."); | |
5110 | return NULL; | |
5111 | } | |
5112 | } | |
5113 | _arg1 = (bool ) tempbool1; | |
5114 | { | |
0e2ff151 | 5115 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 5116 | wxStyledTextCtrl_HideSelection(_arg0,_arg1); |
8a2fa5c8 | 5117 | |
0e2ff151 RD |
5118 | wxPyEndAllowThreads(__tstate); |
5119 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
5120 | } Py_INCREF(Py_None); |
5121 | _resultobj = Py_None; | |
5122 | return _resultobj; | |
5123 | } | |
5124 | ||
5125 | #define wxStyledTextCtrl_LineFromPosition(_swigobj,_swigarg0) (_swigobj->LineFromPosition(_swigarg0)) | |
5126 | static PyObject *_wrap_wxStyledTextCtrl_LineFromPosition(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5127 | PyObject * _resultobj; | |
5128 | int _result; | |
5129 | wxStyledTextCtrl * _arg0; | |
5130 | int _arg1; | |
5131 | PyObject * _argo0 = 0; | |
5132 | char *_kwnames[] = { "self","pos", NULL }; | |
5133 | ||
5134 | self = self; | |
5135 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_LineFromPosition",_kwnames,&_argo0,&_arg1)) | |
5136 | return NULL; | |
5137 | if (_argo0) { | |
5138 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5139 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
5140 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_LineFromPosition. Expected _wxStyledTextCtrl_p."); | |
5141 | return NULL; | |
5142 | } | |
5143 | } | |
5144 | { | |
0e2ff151 | 5145 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 5146 | _result = (int )wxStyledTextCtrl_LineFromPosition(_arg0,_arg1); |
8a2fa5c8 | 5147 | |
0e2ff151 RD |
5148 | wxPyEndAllowThreads(__tstate); |
5149 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
5150 | } _resultobj = Py_BuildValue("i",_result); |
5151 | return _resultobj; | |
5152 | } | |
5153 | ||
5154 | #define wxStyledTextCtrl_PositionFromLine(_swigobj,_swigarg0) (_swigobj->PositionFromLine(_swigarg0)) | |
5155 | static PyObject *_wrap_wxStyledTextCtrl_PositionFromLine(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5156 | PyObject * _resultobj; | |
5157 | int _result; | |
5158 | wxStyledTextCtrl * _arg0; | |
5159 | int _arg1; | |
5160 | PyObject * _argo0 = 0; | |
5161 | char *_kwnames[] = { "self","line", NULL }; | |
5162 | ||
5163 | self = self; | |
5164 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_PositionFromLine",_kwnames,&_argo0,&_arg1)) | |
5165 | return NULL; | |
5166 | if (_argo0) { | |
5167 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5168 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
5169 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_PositionFromLine. Expected _wxStyledTextCtrl_p."); | |
5170 | return NULL; | |
5171 | } | |
5172 | } | |
5173 | { | |
0e2ff151 | 5174 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 5175 | _result = (int )wxStyledTextCtrl_PositionFromLine(_arg0,_arg1); |
8a2fa5c8 | 5176 | |
0e2ff151 RD |
5177 | wxPyEndAllowThreads(__tstate); |
5178 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
5179 | } _resultobj = Py_BuildValue("i",_result); |
5180 | return _resultobj; | |
5181 | } | |
5182 | ||
5183 | #define wxStyledTextCtrl_LineScroll(_swigobj,_swigarg0,_swigarg1) (_swigobj->LineScroll(_swigarg0,_swigarg1)) | |
5184 | static PyObject *_wrap_wxStyledTextCtrl_LineScroll(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5185 | PyObject * _resultobj; | |
5186 | wxStyledTextCtrl * _arg0; | |
5187 | int _arg1; | |
5188 | int _arg2; | |
5189 | PyObject * _argo0 = 0; | |
5190 | char *_kwnames[] = { "self","columns","lines", NULL }; | |
5191 | ||
5192 | self = self; | |
5193 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxStyledTextCtrl_LineScroll",_kwnames,&_argo0,&_arg1,&_arg2)) | |
5194 | return NULL; | |
5195 | if (_argo0) { | |
5196 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5197 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
5198 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_LineScroll. Expected _wxStyledTextCtrl_p."); | |
5199 | return NULL; | |
5200 | } | |
5201 | } | |
5202 | { | |
0e2ff151 | 5203 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 5204 | wxStyledTextCtrl_LineScroll(_arg0,_arg1,_arg2); |
8a2fa5c8 | 5205 | |
0e2ff151 RD |
5206 | wxPyEndAllowThreads(__tstate); |
5207 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
5208 | } Py_INCREF(Py_None); |
5209 | _resultobj = Py_None; | |
5210 | return _resultobj; | |
5211 | } | |
5212 | ||
5213 | #define wxStyledTextCtrl_EnsureCaretVisible(_swigobj) (_swigobj->EnsureCaretVisible()) | |
5214 | static PyObject *_wrap_wxStyledTextCtrl_EnsureCaretVisible(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5215 | PyObject * _resultobj; | |
5216 | wxStyledTextCtrl * _arg0; | |
5217 | PyObject * _argo0 = 0; | |
5218 | char *_kwnames[] = { "self", NULL }; | |
5219 | ||
5220 | self = self; | |
5221 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_EnsureCaretVisible",_kwnames,&_argo0)) | |
5222 | return NULL; | |
5223 | if (_argo0) { | |
5224 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5225 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
5226 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_EnsureCaretVisible. Expected _wxStyledTextCtrl_p."); | |
5227 | return NULL; | |
5228 | } | |
5229 | } | |
5230 | { | |
0e2ff151 | 5231 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 5232 | wxStyledTextCtrl_EnsureCaretVisible(_arg0); |
8a2fa5c8 | 5233 | |
0e2ff151 RD |
5234 | wxPyEndAllowThreads(__tstate); |
5235 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
5236 | } Py_INCREF(Py_None); |
5237 | _resultobj = Py_None; | |
5238 | return _resultobj; | |
5239 | } | |
5240 | ||
5241 | #define wxStyledTextCtrl_ReplaceSelection(_swigobj,_swigarg0) (_swigobj->ReplaceSelection(_swigarg0)) | |
5242 | static PyObject *_wrap_wxStyledTextCtrl_ReplaceSelection(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5243 | PyObject * _resultobj; | |
5244 | wxStyledTextCtrl * _arg0; | |
5245 | wxString * _arg1; | |
5246 | PyObject * _argo0 = 0; | |
5247 | PyObject * _obj1 = 0; | |
5248 | char *_kwnames[] = { "self","text", NULL }; | |
5249 | ||
5250 | self = self; | |
5251 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxStyledTextCtrl_ReplaceSelection",_kwnames,&_argo0,&_obj1)) | |
5252 | return NULL; | |
5253 | if (_argo0) { | |
5254 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5255 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
5256 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_ReplaceSelection. Expected _wxStyledTextCtrl_p."); | |
5257 | return NULL; | |
5258 | } | |
5259 | } | |
5260 | { | |
6824d4f9 RD |
5261 | _arg1 = wxString_in_helper(_obj1); |
5262 | if (_arg1 == NULL) | |
8a2fa5c8 | 5263 | return NULL; |
8a2fa5c8 RD |
5264 | } |
5265 | { | |
0e2ff151 | 5266 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 5267 | wxStyledTextCtrl_ReplaceSelection(_arg0,*_arg1); |
8a2fa5c8 | 5268 | |
0e2ff151 RD |
5269 | wxPyEndAllowThreads(__tstate); |
5270 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
5271 | } Py_INCREF(Py_None); |
5272 | _resultobj = Py_None; | |
5273 | { | |
5274 | if (_obj1) | |
5275 | delete _arg1; | |
5276 | } | |
5277 | return _resultobj; | |
5278 | } | |
5279 | ||
5280 | #define wxStyledTextCtrl_SetReadOnly(_swigobj,_swigarg0) (_swigobj->SetReadOnly(_swigarg0)) | |
5281 | static PyObject *_wrap_wxStyledTextCtrl_SetReadOnly(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5282 | PyObject * _resultobj; | |
5283 | wxStyledTextCtrl * _arg0; | |
5284 | bool _arg1; | |
5285 | PyObject * _argo0 = 0; | |
5286 | int tempbool1; | |
5287 | char *_kwnames[] = { "self","readOnly", NULL }; | |
5288 | ||
5289 | self = self; | |
5290 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_SetReadOnly",_kwnames,&_argo0,&tempbool1)) | |
5291 | return NULL; | |
5292 | if (_argo0) { | |
5293 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5294 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
5295 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetReadOnly. Expected _wxStyledTextCtrl_p."); | |
5296 | return NULL; | |
5297 | } | |
5298 | } | |
5299 | _arg1 = (bool ) tempbool1; | |
5300 | { | |
0e2ff151 | 5301 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 5302 | wxStyledTextCtrl_SetReadOnly(_arg0,_arg1); |
8a2fa5c8 | 5303 | |
0e2ff151 RD |
5304 | wxPyEndAllowThreads(__tstate); |
5305 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
5306 | } Py_INCREF(Py_None); |
5307 | _resultobj = Py_None; | |
5308 | return _resultobj; | |
5309 | } | |
5310 | ||
5311 | #define wxStyledTextCtrl_CanPaste(_swigobj) (_swigobj->CanPaste()) | |
5312 | static PyObject *_wrap_wxStyledTextCtrl_CanPaste(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5313 | PyObject * _resultobj; | |
5314 | bool _result; | |
5315 | wxStyledTextCtrl * _arg0; | |
5316 | PyObject * _argo0 = 0; | |
5317 | char *_kwnames[] = { "self", NULL }; | |
5318 | ||
5319 | self = self; | |
5320 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_CanPaste",_kwnames,&_argo0)) | |
5321 | return NULL; | |
5322 | if (_argo0) { | |
5323 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5324 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
5325 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_CanPaste. Expected _wxStyledTextCtrl_p."); | |
5326 | return NULL; | |
5327 | } | |
5328 | } | |
5329 | { | |
0e2ff151 | 5330 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 5331 | _result = (bool )wxStyledTextCtrl_CanPaste(_arg0); |
8a2fa5c8 | 5332 | |
0e2ff151 RD |
5333 | wxPyEndAllowThreads(__tstate); |
5334 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
5335 | } _resultobj = Py_BuildValue("i",_result); |
5336 | return _resultobj; | |
5337 | } | |
5338 | ||
5339 | #define wxStyledTextCtrl_CanUndo(_swigobj) (_swigobj->CanUndo()) | |
5340 | static PyObject *_wrap_wxStyledTextCtrl_CanUndo(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5341 | PyObject * _resultobj; | |
5342 | bool _result; | |
5343 | wxStyledTextCtrl * _arg0; | |
5344 | PyObject * _argo0 = 0; | |
5345 | char *_kwnames[] = { "self", NULL }; | |
5346 | ||
5347 | self = self; | |
5348 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_CanUndo",_kwnames,&_argo0)) | |
5349 | return NULL; | |
5350 | if (_argo0) { | |
5351 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5352 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
5353 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_CanUndo. Expected _wxStyledTextCtrl_p."); | |
5354 | return NULL; | |
5355 | } | |
5356 | } | |
5357 | { | |
0e2ff151 | 5358 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 5359 | _result = (bool )wxStyledTextCtrl_CanUndo(_arg0); |
8a2fa5c8 | 5360 | |
0e2ff151 RD |
5361 | wxPyEndAllowThreads(__tstate); |
5362 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
5363 | } _resultobj = Py_BuildValue("i",_result); |
5364 | return _resultobj; | |
5365 | } | |
5366 | ||
5367 | #define wxStyledTextCtrl_EmptyUndoBuffer(_swigobj) (_swigobj->EmptyUndoBuffer()) | |
5368 | static PyObject *_wrap_wxStyledTextCtrl_EmptyUndoBuffer(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5369 | PyObject * _resultobj; | |
5370 | wxStyledTextCtrl * _arg0; | |
5371 | PyObject * _argo0 = 0; | |
5372 | char *_kwnames[] = { "self", NULL }; | |
5373 | ||
5374 | self = self; | |
5375 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_EmptyUndoBuffer",_kwnames,&_argo0)) | |
5376 | return NULL; | |
5377 | if (_argo0) { | |
5378 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5379 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
5380 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_EmptyUndoBuffer. Expected _wxStyledTextCtrl_p."); | |
5381 | return NULL; | |
5382 | } | |
5383 | } | |
5384 | { | |
0e2ff151 | 5385 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 5386 | wxStyledTextCtrl_EmptyUndoBuffer(_arg0); |
8a2fa5c8 | 5387 | |
0e2ff151 RD |
5388 | wxPyEndAllowThreads(__tstate); |
5389 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
5390 | } Py_INCREF(Py_None); |
5391 | _resultobj = Py_None; | |
5392 | return _resultobj; | |
5393 | } | |
5394 | ||
5395 | #define wxStyledTextCtrl_Undo(_swigobj) (_swigobj->Undo()) | |
5396 | static PyObject *_wrap_wxStyledTextCtrl_Undo(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5397 | PyObject * _resultobj; | |
5398 | wxStyledTextCtrl * _arg0; | |
5399 | PyObject * _argo0 = 0; | |
5400 | char *_kwnames[] = { "self", NULL }; | |
5401 | ||
5402 | self = self; | |
5403 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_Undo",_kwnames,&_argo0)) | |
5404 | return NULL; | |
5405 | if (_argo0) { | |
5406 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5407 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
5408 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_Undo. Expected _wxStyledTextCtrl_p."); | |
5409 | return NULL; | |
5410 | } | |
5411 | } | |
5412 | { | |
0e2ff151 | 5413 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 5414 | wxStyledTextCtrl_Undo(_arg0); |
8a2fa5c8 | 5415 | |
0e2ff151 RD |
5416 | wxPyEndAllowThreads(__tstate); |
5417 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
5418 | } Py_INCREF(Py_None); |
5419 | _resultobj = Py_None; | |
5420 | return _resultobj; | |
5421 | } | |
5422 | ||
5423 | #define wxStyledTextCtrl_Cut(_swigobj) (_swigobj->Cut()) | |
5424 | static PyObject *_wrap_wxStyledTextCtrl_Cut(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5425 | PyObject * _resultobj; | |
5426 | wxStyledTextCtrl * _arg0; | |
5427 | PyObject * _argo0 = 0; | |
5428 | char *_kwnames[] = { "self", NULL }; | |
5429 | ||
5430 | self = self; | |
5431 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_Cut",_kwnames,&_argo0)) | |
5432 | return NULL; | |
5433 | if (_argo0) { | |
5434 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5435 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
5436 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_Cut. Expected _wxStyledTextCtrl_p."); | |
5437 | return NULL; | |
5438 | } | |
5439 | } | |
5440 | { | |
0e2ff151 | 5441 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 5442 | wxStyledTextCtrl_Cut(_arg0); |
8a2fa5c8 | 5443 | |
0e2ff151 RD |
5444 | wxPyEndAllowThreads(__tstate); |
5445 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
5446 | } Py_INCREF(Py_None); |
5447 | _resultobj = Py_None; | |
5448 | return _resultobj; | |
5449 | } | |
5450 | ||
5451 | #define wxStyledTextCtrl_Copy(_swigobj) (_swigobj->Copy()) | |
5452 | static PyObject *_wrap_wxStyledTextCtrl_Copy(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5453 | PyObject * _resultobj; | |
5454 | wxStyledTextCtrl * _arg0; | |
5455 | PyObject * _argo0 = 0; | |
5456 | char *_kwnames[] = { "self", NULL }; | |
5457 | ||
5458 | self = self; | |
5459 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_Copy",_kwnames,&_argo0)) | |
5460 | return NULL; | |
5461 | if (_argo0) { | |
5462 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5463 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
5464 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_Copy. Expected _wxStyledTextCtrl_p."); | |
5465 | return NULL; | |
5466 | } | |
5467 | } | |
5468 | { | |
0e2ff151 | 5469 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 5470 | wxStyledTextCtrl_Copy(_arg0); |
8a2fa5c8 | 5471 | |
0e2ff151 RD |
5472 | wxPyEndAllowThreads(__tstate); |
5473 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
5474 | } Py_INCREF(Py_None); |
5475 | _resultobj = Py_None; | |
5476 | return _resultobj; | |
5477 | } | |
5478 | ||
5479 | #define wxStyledTextCtrl_Paste(_swigobj) (_swigobj->Paste()) | |
5480 | static PyObject *_wrap_wxStyledTextCtrl_Paste(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5481 | PyObject * _resultobj; | |
5482 | wxStyledTextCtrl * _arg0; | |
5483 | PyObject * _argo0 = 0; | |
5484 | char *_kwnames[] = { "self", NULL }; | |
5485 | ||
5486 | self = self; | |
5487 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_Paste",_kwnames,&_argo0)) | |
5488 | return NULL; | |
5489 | if (_argo0) { | |
5490 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5491 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
5492 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_Paste. Expected _wxStyledTextCtrl_p."); | |
5493 | return NULL; | |
5494 | } | |
5495 | } | |
5496 | { | |
0e2ff151 | 5497 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 5498 | wxStyledTextCtrl_Paste(_arg0); |
8a2fa5c8 | 5499 | |
0e2ff151 RD |
5500 | wxPyEndAllowThreads(__tstate); |
5501 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
5502 | } Py_INCREF(Py_None); |
5503 | _resultobj = Py_None; | |
5504 | return _resultobj; | |
5505 | } | |
5506 | ||
5507 | #define wxStyledTextCtrl_Clear(_swigobj) (_swigobj->Clear()) | |
5508 | static PyObject *_wrap_wxStyledTextCtrl_Clear(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5509 | PyObject * _resultobj; | |
5510 | wxStyledTextCtrl * _arg0; | |
5511 | PyObject * _argo0 = 0; | |
5512 | char *_kwnames[] = { "self", NULL }; | |
5513 | ||
5514 | self = self; | |
5515 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_Clear",_kwnames,&_argo0)) | |
5516 | return NULL; | |
5517 | if (_argo0) { | |
5518 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5519 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
5520 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_Clear. Expected _wxStyledTextCtrl_p."); | |
5521 | return NULL; | |
5522 | } | |
5523 | } | |
5524 | { | |
0e2ff151 | 5525 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 5526 | wxStyledTextCtrl_Clear(_arg0); |
8a2fa5c8 | 5527 | |
0e2ff151 RD |
5528 | wxPyEndAllowThreads(__tstate); |
5529 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
5530 | } Py_INCREF(Py_None); |
5531 | _resultobj = Py_None; | |
5532 | return _resultobj; | |
5533 | } | |
5534 | ||
5535 | #define wxStyledTextCtrl_SetText(_swigobj,_swigarg0) (_swigobj->SetText(_swigarg0)) | |
5536 | static PyObject *_wrap_wxStyledTextCtrl_SetText(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5537 | PyObject * _resultobj; | |
5538 | wxStyledTextCtrl * _arg0; | |
5539 | wxString * _arg1; | |
5540 | PyObject * _argo0 = 0; | |
5541 | PyObject * _obj1 = 0; | |
5542 | char *_kwnames[] = { "self","text", NULL }; | |
5543 | ||
5544 | self = self; | |
5545 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxStyledTextCtrl_SetText",_kwnames,&_argo0,&_obj1)) | |
5546 | return NULL; | |
5547 | if (_argo0) { | |
5548 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5549 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
5550 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetText. Expected _wxStyledTextCtrl_p."); | |
5551 | return NULL; | |
5552 | } | |
5553 | } | |
5554 | { | |
6824d4f9 RD |
5555 | _arg1 = wxString_in_helper(_obj1); |
5556 | if (_arg1 == NULL) | |
8a2fa5c8 | 5557 | return NULL; |
8a2fa5c8 RD |
5558 | } |
5559 | { | |
0e2ff151 | 5560 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 5561 | wxStyledTextCtrl_SetText(_arg0,*_arg1); |
8a2fa5c8 | 5562 | |
0e2ff151 RD |
5563 | wxPyEndAllowThreads(__tstate); |
5564 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
5565 | } Py_INCREF(Py_None); |
5566 | _resultobj = Py_None; | |
5567 | { | |
5568 | if (_obj1) | |
5569 | delete _arg1; | |
5570 | } | |
5571 | return _resultobj; | |
5572 | } | |
5573 | ||
5574 | #define wxStyledTextCtrl_GetText(_swigobj) (_swigobj->GetText()) | |
5575 | static PyObject *_wrap_wxStyledTextCtrl_GetText(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5576 | PyObject * _resultobj; | |
5577 | wxString * _result; | |
5578 | wxStyledTextCtrl * _arg0; | |
5579 | PyObject * _argo0 = 0; | |
5580 | char *_kwnames[] = { "self", NULL }; | |
5581 | ||
5582 | self = self; | |
5583 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetText",_kwnames,&_argo0)) | |
5584 | return NULL; | |
5585 | if (_argo0) { | |
5586 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5587 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
5588 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetText. Expected _wxStyledTextCtrl_p."); | |
5589 | return NULL; | |
5590 | } | |
5591 | } | |
5592 | { | |
0e2ff151 | 5593 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 5594 | _result = new wxString (wxStyledTextCtrl_GetText(_arg0)); |
8a2fa5c8 | 5595 | |
0e2ff151 RD |
5596 | wxPyEndAllowThreads(__tstate); |
5597 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 | 5598 | }{ |
6824d4f9 RD |
5599 | #if wxUSE_UNICODE |
5600 | _resultobj = PyUnicode_FromUnicode(_result->c_str(), _result->Len()); | |
5601 | #else | |
8a2fa5c8 | 5602 | _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len()); |
6824d4f9 | 5603 | #endif |
8a2fa5c8 RD |
5604 | } |
5605 | { | |
5606 | delete _result; | |
5607 | } | |
5608 | return _resultobj; | |
5609 | } | |
5610 | ||
5611 | #define wxStyledTextCtrl_GetTextLength(_swigobj) (_swigobj->GetTextLength()) | |
5612 | static PyObject *_wrap_wxStyledTextCtrl_GetTextLength(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5613 | PyObject * _resultobj; | |
5614 | int _result; | |
5615 | wxStyledTextCtrl * _arg0; | |
5616 | PyObject * _argo0 = 0; | |
5617 | char *_kwnames[] = { "self", NULL }; | |
5618 | ||
5619 | self = self; | |
5620 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetTextLength",_kwnames,&_argo0)) | |
5621 | return NULL; | |
5622 | if (_argo0) { | |
5623 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5624 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
5625 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetTextLength. Expected _wxStyledTextCtrl_p."); | |
5626 | return NULL; | |
5627 | } | |
5628 | } | |
5629 | { | |
0e2ff151 | 5630 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 5631 | _result = (int )wxStyledTextCtrl_GetTextLength(_arg0); |
8a2fa5c8 | 5632 | |
0e2ff151 RD |
5633 | wxPyEndAllowThreads(__tstate); |
5634 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
5635 | } _resultobj = Py_BuildValue("i",_result); |
5636 | return _resultobj; | |
5637 | } | |
5638 | ||
5639 | #define wxStyledTextCtrl_SetOvertype(_swigobj,_swigarg0) (_swigobj->SetOvertype(_swigarg0)) | |
5640 | static PyObject *_wrap_wxStyledTextCtrl_SetOvertype(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5641 | PyObject * _resultobj; | |
5642 | wxStyledTextCtrl * _arg0; | |
5643 | bool _arg1; | |
5644 | PyObject * _argo0 = 0; | |
5645 | int tempbool1; | |
5646 | char *_kwnames[] = { "self","overtype", NULL }; | |
5647 | ||
5648 | self = self; | |
5649 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_SetOvertype",_kwnames,&_argo0,&tempbool1)) | |
5650 | return NULL; | |
5651 | if (_argo0) { | |
5652 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5653 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
5654 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetOvertype. Expected _wxStyledTextCtrl_p."); | |
5655 | return NULL; | |
5656 | } | |
5657 | } | |
5658 | _arg1 = (bool ) tempbool1; | |
5659 | { | |
0e2ff151 | 5660 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 5661 | wxStyledTextCtrl_SetOvertype(_arg0,_arg1); |
8a2fa5c8 | 5662 | |
0e2ff151 RD |
5663 | wxPyEndAllowThreads(__tstate); |
5664 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
5665 | } Py_INCREF(Py_None); |
5666 | _resultobj = Py_None; | |
5667 | return _resultobj; | |
5668 | } | |
5669 | ||
5670 | #define wxStyledTextCtrl_GetOvertype(_swigobj) (_swigobj->GetOvertype()) | |
5671 | static PyObject *_wrap_wxStyledTextCtrl_GetOvertype(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5672 | PyObject * _resultobj; | |
5673 | bool _result; | |
5674 | wxStyledTextCtrl * _arg0; | |
5675 | PyObject * _argo0 = 0; | |
5676 | char *_kwnames[] = { "self", NULL }; | |
5677 | ||
5678 | self = self; | |
5679 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetOvertype",_kwnames,&_argo0)) | |
5680 | return NULL; | |
5681 | if (_argo0) { | |
5682 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5683 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
5684 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetOvertype. Expected _wxStyledTextCtrl_p."); | |
5685 | return NULL; | |
5686 | } | |
5687 | } | |
5688 | { | |
0e2ff151 | 5689 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 5690 | _result = (bool )wxStyledTextCtrl_GetOvertype(_arg0); |
8a2fa5c8 | 5691 | |
0e2ff151 RD |
5692 | wxPyEndAllowThreads(__tstate); |
5693 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
5694 | } _resultobj = Py_BuildValue("i",_result); |
5695 | return _resultobj; | |
5696 | } | |
5697 | ||
5698 | #define wxStyledTextCtrl_SetCaretWidth(_swigobj,_swigarg0) (_swigobj->SetCaretWidth(_swigarg0)) | |
5699 | static PyObject *_wrap_wxStyledTextCtrl_SetCaretWidth(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5700 | PyObject * _resultobj; | |
5701 | wxStyledTextCtrl * _arg0; | |
5702 | int _arg1; | |
5703 | PyObject * _argo0 = 0; | |
5704 | char *_kwnames[] = { "self","pixelWidth", NULL }; | |
5705 | ||
5706 | self = self; | |
5707 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_SetCaretWidth",_kwnames,&_argo0,&_arg1)) | |
5708 | return NULL; | |
5709 | if (_argo0) { | |
5710 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5711 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
5712 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetCaretWidth. Expected _wxStyledTextCtrl_p."); | |
5713 | return NULL; | |
5714 | } | |
5715 | } | |
5716 | { | |
0e2ff151 | 5717 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 5718 | wxStyledTextCtrl_SetCaretWidth(_arg0,_arg1); |
8a2fa5c8 | 5719 | |
0e2ff151 RD |
5720 | wxPyEndAllowThreads(__tstate); |
5721 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
5722 | } Py_INCREF(Py_None); |
5723 | _resultobj = Py_None; | |
5724 | return _resultobj; | |
5725 | } | |
5726 | ||
5727 | #define wxStyledTextCtrl_GetCaretWidth(_swigobj) (_swigobj->GetCaretWidth()) | |
5728 | static PyObject *_wrap_wxStyledTextCtrl_GetCaretWidth(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5729 | PyObject * _resultobj; | |
5730 | int _result; | |
5731 | wxStyledTextCtrl * _arg0; | |
5732 | PyObject * _argo0 = 0; | |
5733 | char *_kwnames[] = { "self", NULL }; | |
5734 | ||
5735 | self = self; | |
5736 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetCaretWidth",_kwnames,&_argo0)) | |
5737 | return NULL; | |
5738 | if (_argo0) { | |
5739 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5740 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
5741 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetCaretWidth. Expected _wxStyledTextCtrl_p."); | |
5742 | return NULL; | |
5743 | } | |
5744 | } | |
5745 | { | |
0e2ff151 | 5746 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 5747 | _result = (int )wxStyledTextCtrl_GetCaretWidth(_arg0); |
8a2fa5c8 | 5748 | |
0e2ff151 RD |
5749 | wxPyEndAllowThreads(__tstate); |
5750 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
5751 | } _resultobj = Py_BuildValue("i",_result); |
5752 | return _resultobj; | |
5753 | } | |
5754 | ||
5755 | #define wxStyledTextCtrl_SetTargetStart(_swigobj,_swigarg0) (_swigobj->SetTargetStart(_swigarg0)) | |
5756 | static PyObject *_wrap_wxStyledTextCtrl_SetTargetStart(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5757 | PyObject * _resultobj; | |
5758 | wxStyledTextCtrl * _arg0; | |
5759 | int _arg1; | |
5760 | PyObject * _argo0 = 0; | |
5761 | char *_kwnames[] = { "self","pos", NULL }; | |
5762 | ||
5763 | self = self; | |
5764 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_SetTargetStart",_kwnames,&_argo0,&_arg1)) | |
5765 | return NULL; | |
5766 | if (_argo0) { | |
5767 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5768 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
5769 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetTargetStart. Expected _wxStyledTextCtrl_p."); | |
5770 | return NULL; | |
5771 | } | |
5772 | } | |
5773 | { | |
0e2ff151 | 5774 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 5775 | wxStyledTextCtrl_SetTargetStart(_arg0,_arg1); |
8a2fa5c8 | 5776 | |
0e2ff151 RD |
5777 | wxPyEndAllowThreads(__tstate); |
5778 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
5779 | } Py_INCREF(Py_None); |
5780 | _resultobj = Py_None; | |
5781 | return _resultobj; | |
5782 | } | |
5783 | ||
5784 | #define wxStyledTextCtrl_GetTargetStart(_swigobj) (_swigobj->GetTargetStart()) | |
5785 | static PyObject *_wrap_wxStyledTextCtrl_GetTargetStart(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5786 | PyObject * _resultobj; | |
5787 | int _result; | |
5788 | wxStyledTextCtrl * _arg0; | |
5789 | PyObject * _argo0 = 0; | |
5790 | char *_kwnames[] = { "self", NULL }; | |
5791 | ||
5792 | self = self; | |
5793 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetTargetStart",_kwnames,&_argo0)) | |
5794 | return NULL; | |
5795 | if (_argo0) { | |
5796 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5797 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
5798 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetTargetStart. Expected _wxStyledTextCtrl_p."); | |
5799 | return NULL; | |
5800 | } | |
5801 | } | |
5802 | { | |
0e2ff151 | 5803 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 5804 | _result = (int )wxStyledTextCtrl_GetTargetStart(_arg0); |
8a2fa5c8 | 5805 | |
0e2ff151 RD |
5806 | wxPyEndAllowThreads(__tstate); |
5807 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
5808 | } _resultobj = Py_BuildValue("i",_result); |
5809 | return _resultobj; | |
5810 | } | |
5811 | ||
5812 | #define wxStyledTextCtrl_SetTargetEnd(_swigobj,_swigarg0) (_swigobj->SetTargetEnd(_swigarg0)) | |
5813 | static PyObject *_wrap_wxStyledTextCtrl_SetTargetEnd(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5814 | PyObject * _resultobj; | |
5815 | wxStyledTextCtrl * _arg0; | |
5816 | int _arg1; | |
5817 | PyObject * _argo0 = 0; | |
5818 | char *_kwnames[] = { "self","pos", NULL }; | |
5819 | ||
5820 | self = self; | |
5821 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_SetTargetEnd",_kwnames,&_argo0,&_arg1)) | |
5822 | return NULL; | |
5823 | if (_argo0) { | |
5824 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5825 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
5826 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetTargetEnd. Expected _wxStyledTextCtrl_p."); | |
5827 | return NULL; | |
5828 | } | |
5829 | } | |
5830 | { | |
0e2ff151 | 5831 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 5832 | wxStyledTextCtrl_SetTargetEnd(_arg0,_arg1); |
8a2fa5c8 | 5833 | |
0e2ff151 RD |
5834 | wxPyEndAllowThreads(__tstate); |
5835 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
5836 | } Py_INCREF(Py_None); |
5837 | _resultobj = Py_None; | |
5838 | return _resultobj; | |
5839 | } | |
5840 | ||
5841 | #define wxStyledTextCtrl_GetTargetEnd(_swigobj) (_swigobj->GetTargetEnd()) | |
5842 | static PyObject *_wrap_wxStyledTextCtrl_GetTargetEnd(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5843 | PyObject * _resultobj; | |
5844 | int _result; | |
5845 | wxStyledTextCtrl * _arg0; | |
5846 | PyObject * _argo0 = 0; | |
5847 | char *_kwnames[] = { "self", NULL }; | |
5848 | ||
5849 | self = self; | |
5850 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetTargetEnd",_kwnames,&_argo0)) | |
5851 | return NULL; | |
5852 | if (_argo0) { | |
5853 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5854 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
5855 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetTargetEnd. Expected _wxStyledTextCtrl_p."); | |
5856 | return NULL; | |
5857 | } | |
5858 | } | |
5859 | { | |
0e2ff151 | 5860 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 5861 | _result = (int )wxStyledTextCtrl_GetTargetEnd(_arg0); |
8a2fa5c8 | 5862 | |
0e2ff151 RD |
5863 | wxPyEndAllowThreads(__tstate); |
5864 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
5865 | } _resultobj = Py_BuildValue("i",_result); |
5866 | return _resultobj; | |
5867 | } | |
5868 | ||
5869 | #define wxStyledTextCtrl_ReplaceTarget(_swigobj,_swigarg0) (_swigobj->ReplaceTarget(_swigarg0)) | |
5870 | static PyObject *_wrap_wxStyledTextCtrl_ReplaceTarget(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5871 | PyObject * _resultobj; | |
5872 | int _result; | |
5873 | wxStyledTextCtrl * _arg0; | |
5874 | wxString * _arg1; | |
5875 | PyObject * _argo0 = 0; | |
5876 | PyObject * _obj1 = 0; | |
5877 | char *_kwnames[] = { "self","text", NULL }; | |
5878 | ||
5879 | self = self; | |
5880 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxStyledTextCtrl_ReplaceTarget",_kwnames,&_argo0,&_obj1)) | |
5881 | return NULL; | |
5882 | if (_argo0) { | |
5883 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5884 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
5885 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_ReplaceTarget. Expected _wxStyledTextCtrl_p."); | |
5886 | return NULL; | |
5887 | } | |
5888 | } | |
5889 | { | |
6824d4f9 RD |
5890 | _arg1 = wxString_in_helper(_obj1); |
5891 | if (_arg1 == NULL) | |
8a2fa5c8 | 5892 | return NULL; |
8a2fa5c8 RD |
5893 | } |
5894 | { | |
0e2ff151 | 5895 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 5896 | _result = (int )wxStyledTextCtrl_ReplaceTarget(_arg0,*_arg1); |
8a2fa5c8 | 5897 | |
0e2ff151 RD |
5898 | wxPyEndAllowThreads(__tstate); |
5899 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
5900 | } _resultobj = Py_BuildValue("i",_result); |
5901 | { | |
5902 | if (_obj1) | |
5903 | delete _arg1; | |
5904 | } | |
5905 | return _resultobj; | |
5906 | } | |
5907 | ||
5908 | #define wxStyledTextCtrl_ReplaceTargetRE(_swigobj,_swigarg0) (_swigobj->ReplaceTargetRE(_swigarg0)) | |
5909 | static PyObject *_wrap_wxStyledTextCtrl_ReplaceTargetRE(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5910 | PyObject * _resultobj; | |
5911 | int _result; | |
5912 | wxStyledTextCtrl * _arg0; | |
5913 | wxString * _arg1; | |
5914 | PyObject * _argo0 = 0; | |
5915 | PyObject * _obj1 = 0; | |
5916 | char *_kwnames[] = { "self","text", NULL }; | |
5917 | ||
5918 | self = self; | |
5919 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxStyledTextCtrl_ReplaceTargetRE",_kwnames,&_argo0,&_obj1)) | |
5920 | return NULL; | |
5921 | if (_argo0) { | |
5922 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5923 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
5924 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_ReplaceTargetRE. Expected _wxStyledTextCtrl_p."); | |
5925 | return NULL; | |
5926 | } | |
5927 | } | |
5928 | { | |
6824d4f9 RD |
5929 | _arg1 = wxString_in_helper(_obj1); |
5930 | if (_arg1 == NULL) | |
8a2fa5c8 | 5931 | return NULL; |
8a2fa5c8 RD |
5932 | } |
5933 | { | |
0e2ff151 | 5934 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 5935 | _result = (int )wxStyledTextCtrl_ReplaceTargetRE(_arg0,*_arg1); |
8a2fa5c8 | 5936 | |
0e2ff151 RD |
5937 | wxPyEndAllowThreads(__tstate); |
5938 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
5939 | } _resultobj = Py_BuildValue("i",_result); |
5940 | { | |
5941 | if (_obj1) | |
5942 | delete _arg1; | |
5943 | } | |
5944 | return _resultobj; | |
5945 | } | |
5946 | ||
5947 | #define wxStyledTextCtrl_SearchInTarget(_swigobj,_swigarg0) (_swigobj->SearchInTarget(_swigarg0)) | |
5948 | static PyObject *_wrap_wxStyledTextCtrl_SearchInTarget(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5949 | PyObject * _resultobj; | |
5950 | int _result; | |
5951 | wxStyledTextCtrl * _arg0; | |
5952 | wxString * _arg1; | |
5953 | PyObject * _argo0 = 0; | |
5954 | PyObject * _obj1 = 0; | |
5955 | char *_kwnames[] = { "self","text", NULL }; | |
5956 | ||
5957 | self = self; | |
5958 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxStyledTextCtrl_SearchInTarget",_kwnames,&_argo0,&_obj1)) | |
5959 | return NULL; | |
5960 | if (_argo0) { | |
5961 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5962 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
5963 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SearchInTarget. Expected _wxStyledTextCtrl_p."); | |
5964 | return NULL; | |
5965 | } | |
5966 | } | |
5967 | { | |
6824d4f9 RD |
5968 | _arg1 = wxString_in_helper(_obj1); |
5969 | if (_arg1 == NULL) | |
8a2fa5c8 | 5970 | return NULL; |
8a2fa5c8 RD |
5971 | } |
5972 | { | |
0e2ff151 | 5973 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 5974 | _result = (int )wxStyledTextCtrl_SearchInTarget(_arg0,*_arg1); |
8a2fa5c8 | 5975 | |
0e2ff151 RD |
5976 | wxPyEndAllowThreads(__tstate); |
5977 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
5978 | } _resultobj = Py_BuildValue("i",_result); |
5979 | { | |
5980 | if (_obj1) | |
5981 | delete _arg1; | |
5982 | } | |
5983 | return _resultobj; | |
5984 | } | |
5985 | ||
5986 | #define wxStyledTextCtrl_SetSearchFlags(_swigobj,_swigarg0) (_swigobj->SetSearchFlags(_swigarg0)) | |
5987 | static PyObject *_wrap_wxStyledTextCtrl_SetSearchFlags(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5988 | PyObject * _resultobj; | |
5989 | wxStyledTextCtrl * _arg0; | |
5990 | int _arg1; | |
5991 | PyObject * _argo0 = 0; | |
5992 | char *_kwnames[] = { "self","flags", NULL }; | |
5993 | ||
5994 | self = self; | |
5995 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_SetSearchFlags",_kwnames,&_argo0,&_arg1)) | |
5996 | return NULL; | |
5997 | if (_argo0) { | |
5998 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5999 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
6000 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetSearchFlags. Expected _wxStyledTextCtrl_p."); | |
6001 | return NULL; | |
6002 | } | |
6003 | } | |
6004 | { | |
0e2ff151 | 6005 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 6006 | wxStyledTextCtrl_SetSearchFlags(_arg0,_arg1); |
8a2fa5c8 | 6007 | |
0e2ff151 RD |
6008 | wxPyEndAllowThreads(__tstate); |
6009 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
6010 | } Py_INCREF(Py_None); |
6011 | _resultobj = Py_None; | |
6012 | return _resultobj; | |
6013 | } | |
6014 | ||
6015 | #define wxStyledTextCtrl_GetSearchFlags(_swigobj) (_swigobj->GetSearchFlags()) | |
6016 | static PyObject *_wrap_wxStyledTextCtrl_GetSearchFlags(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6017 | PyObject * _resultobj; | |
6018 | int _result; | |
6019 | wxStyledTextCtrl * _arg0; | |
6020 | PyObject * _argo0 = 0; | |
6021 | char *_kwnames[] = { "self", NULL }; | |
6022 | ||
6023 | self = self; | |
6024 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetSearchFlags",_kwnames,&_argo0)) | |
6025 | return NULL; | |
6026 | if (_argo0) { | |
6027 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6028 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
6029 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetSearchFlags. Expected _wxStyledTextCtrl_p."); | |
6030 | return NULL; | |
6031 | } | |
6032 | } | |
6033 | { | |
0e2ff151 | 6034 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 6035 | _result = (int )wxStyledTextCtrl_GetSearchFlags(_arg0); |
8a2fa5c8 | 6036 | |
0e2ff151 RD |
6037 | wxPyEndAllowThreads(__tstate); |
6038 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
6039 | } _resultobj = Py_BuildValue("i",_result); |
6040 | return _resultobj; | |
6041 | } | |
6042 | ||
6043 | #define wxStyledTextCtrl_CallTipShow(_swigobj,_swigarg0,_swigarg1) (_swigobj->CallTipShow(_swigarg0,_swigarg1)) | |
6044 | static PyObject *_wrap_wxStyledTextCtrl_CallTipShow(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6045 | PyObject * _resultobj; | |
6046 | wxStyledTextCtrl * _arg0; | |
6047 | int _arg1; | |
6048 | wxString * _arg2; | |
6049 | PyObject * _argo0 = 0; | |
6050 | PyObject * _obj2 = 0; | |
6051 | char *_kwnames[] = { "self","pos","definition", NULL }; | |
6052 | ||
6053 | self = self; | |
6054 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxStyledTextCtrl_CallTipShow",_kwnames,&_argo0,&_arg1,&_obj2)) | |
6055 | return NULL; | |
6056 | if (_argo0) { | |
6057 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6058 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
6059 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_CallTipShow. Expected _wxStyledTextCtrl_p."); | |
6060 | return NULL; | |
6061 | } | |
6062 | } | |
6063 | { | |
6824d4f9 RD |
6064 | _arg2 = wxString_in_helper(_obj2); |
6065 | if (_arg2 == NULL) | |
8a2fa5c8 | 6066 | return NULL; |
8a2fa5c8 RD |
6067 | } |
6068 | { | |
0e2ff151 | 6069 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 6070 | wxStyledTextCtrl_CallTipShow(_arg0,_arg1,*_arg2); |
8a2fa5c8 | 6071 | |
0e2ff151 RD |
6072 | wxPyEndAllowThreads(__tstate); |
6073 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
6074 | } Py_INCREF(Py_None); |
6075 | _resultobj = Py_None; | |
6076 | { | |
6077 | if (_obj2) | |
6078 | delete _arg2; | |
6079 | } | |
6080 | return _resultobj; | |
6081 | } | |
6082 | ||
6083 | #define wxStyledTextCtrl_CallTipCancel(_swigobj) (_swigobj->CallTipCancel()) | |
6084 | static PyObject *_wrap_wxStyledTextCtrl_CallTipCancel(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6085 | PyObject * _resultobj; | |
6086 | wxStyledTextCtrl * _arg0; | |
6087 | PyObject * _argo0 = 0; | |
6088 | char *_kwnames[] = { "self", NULL }; | |
6089 | ||
6090 | self = self; | |
6091 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_CallTipCancel",_kwnames,&_argo0)) | |
6092 | return NULL; | |
6093 | if (_argo0) { | |
6094 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6095 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
6096 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_CallTipCancel. Expected _wxStyledTextCtrl_p."); | |
6097 | return NULL; | |
6098 | } | |
6099 | } | |
6100 | { | |
0e2ff151 | 6101 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 6102 | wxStyledTextCtrl_CallTipCancel(_arg0); |
8a2fa5c8 | 6103 | |
0e2ff151 RD |
6104 | wxPyEndAllowThreads(__tstate); |
6105 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
6106 | } Py_INCREF(Py_None); |
6107 | _resultobj = Py_None; | |
6108 | return _resultobj; | |
6109 | } | |
6110 | ||
6111 | #define wxStyledTextCtrl_CallTipActive(_swigobj) (_swigobj->CallTipActive()) | |
6112 | static PyObject *_wrap_wxStyledTextCtrl_CallTipActive(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6113 | PyObject * _resultobj; | |
6114 | bool _result; | |
6115 | wxStyledTextCtrl * _arg0; | |
6116 | PyObject * _argo0 = 0; | |
6117 | char *_kwnames[] = { "self", NULL }; | |
6118 | ||
6119 | self = self; | |
6120 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_CallTipActive",_kwnames,&_argo0)) | |
6121 | return NULL; | |
6122 | if (_argo0) { | |
6123 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6124 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
6125 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_CallTipActive. Expected _wxStyledTextCtrl_p."); | |
6126 | return NULL; | |
6127 | } | |
6128 | } | |
6129 | { | |
0e2ff151 | 6130 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 6131 | _result = (bool )wxStyledTextCtrl_CallTipActive(_arg0); |
8a2fa5c8 | 6132 | |
0e2ff151 RD |
6133 | wxPyEndAllowThreads(__tstate); |
6134 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
6135 | } _resultobj = Py_BuildValue("i",_result); |
6136 | return _resultobj; | |
6137 | } | |
6138 | ||
6139 | #define wxStyledTextCtrl_CallTipPosAtStart(_swigobj) (_swigobj->CallTipPosAtStart()) | |
6140 | static PyObject *_wrap_wxStyledTextCtrl_CallTipPosAtStart(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6141 | PyObject * _resultobj; | |
6142 | int _result; | |
6143 | wxStyledTextCtrl * _arg0; | |
6144 | PyObject * _argo0 = 0; | |
6145 | char *_kwnames[] = { "self", NULL }; | |
6146 | ||
6147 | self = self; | |
6148 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_CallTipPosAtStart",_kwnames,&_argo0)) | |
6149 | return NULL; | |
6150 | if (_argo0) { | |
6151 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6152 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
6153 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_CallTipPosAtStart. Expected _wxStyledTextCtrl_p."); | |
6154 | return NULL; | |
6155 | } | |
6156 | } | |
6157 | { | |
0e2ff151 | 6158 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 6159 | _result = (int )wxStyledTextCtrl_CallTipPosAtStart(_arg0); |
8a2fa5c8 | 6160 | |
0e2ff151 RD |
6161 | wxPyEndAllowThreads(__tstate); |
6162 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
6163 | } _resultobj = Py_BuildValue("i",_result); |
6164 | return _resultobj; | |
6165 | } | |
6166 | ||
6167 | #define wxStyledTextCtrl_CallTipSetHighlight(_swigobj,_swigarg0,_swigarg1) (_swigobj->CallTipSetHighlight(_swigarg0,_swigarg1)) | |
6168 | static PyObject *_wrap_wxStyledTextCtrl_CallTipSetHighlight(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6169 | PyObject * _resultobj; | |
6170 | wxStyledTextCtrl * _arg0; | |
6171 | int _arg1; | |
6172 | int _arg2; | |
6173 | PyObject * _argo0 = 0; | |
6174 | char *_kwnames[] = { "self","start","end", NULL }; | |
6175 | ||
6176 | self = self; | |
6177 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxStyledTextCtrl_CallTipSetHighlight",_kwnames,&_argo0,&_arg1,&_arg2)) | |
6178 | return NULL; | |
6179 | if (_argo0) { | |
6180 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6181 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
6182 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_CallTipSetHighlight. Expected _wxStyledTextCtrl_p."); | |
6183 | return NULL; | |
6184 | } | |
6185 | } | |
6186 | { | |
0e2ff151 | 6187 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 6188 | wxStyledTextCtrl_CallTipSetHighlight(_arg0,_arg1,_arg2); |
8a2fa5c8 | 6189 | |
0e2ff151 RD |
6190 | wxPyEndAllowThreads(__tstate); |
6191 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
6192 | } Py_INCREF(Py_None); |
6193 | _resultobj = Py_None; | |
6194 | return _resultobj; | |
6195 | } | |
6196 | ||
6197 | #define wxStyledTextCtrl_CallTipSetBackground(_swigobj,_swigarg0) (_swigobj->CallTipSetBackground(_swigarg0)) | |
6198 | static PyObject *_wrap_wxStyledTextCtrl_CallTipSetBackground(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6199 | PyObject * _resultobj; | |
6200 | wxStyledTextCtrl * _arg0; | |
6201 | wxColour * _arg1; | |
6202 | PyObject * _argo0 = 0; | |
6203 | wxColour temp; | |
6204 | PyObject * _obj1 = 0; | |
6205 | char *_kwnames[] = { "self","back", NULL }; | |
6206 | ||
6207 | self = self; | |
6208 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxStyledTextCtrl_CallTipSetBackground",_kwnames,&_argo0,&_obj1)) | |
6209 | return NULL; | |
6210 | if (_argo0) { | |
6211 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6212 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
6213 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_CallTipSetBackground. Expected _wxStyledTextCtrl_p."); | |
6214 | return NULL; | |
6215 | } | |
6216 | } | |
6217 | { | |
6218 | _arg1 = &temp; | |
6219 | if (! wxColour_helper(_obj1, &_arg1)) | |
6220 | return NULL; | |
6221 | } | |
6222 | { | |
0e2ff151 | 6223 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 6224 | wxStyledTextCtrl_CallTipSetBackground(_arg0,*_arg1); |
8a2fa5c8 | 6225 | |
0e2ff151 RD |
6226 | wxPyEndAllowThreads(__tstate); |
6227 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
6228 | } Py_INCREF(Py_None); |
6229 | _resultobj = Py_None; | |
6230 | return _resultobj; | |
6231 | } | |
6232 | ||
6233 | #define wxStyledTextCtrl_VisibleFromDocLine(_swigobj,_swigarg0) (_swigobj->VisibleFromDocLine(_swigarg0)) | |
6234 | static PyObject *_wrap_wxStyledTextCtrl_VisibleFromDocLine(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6235 | PyObject * _resultobj; | |
6236 | int _result; | |
6237 | wxStyledTextCtrl * _arg0; | |
6238 | int _arg1; | |
6239 | PyObject * _argo0 = 0; | |
6240 | char *_kwnames[] = { "self","line", NULL }; | |
6241 | ||
6242 | self = self; | |
6243 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_VisibleFromDocLine",_kwnames,&_argo0,&_arg1)) | |
6244 | return NULL; | |
6245 | if (_argo0) { | |
6246 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6247 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
6248 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_VisibleFromDocLine. Expected _wxStyledTextCtrl_p."); | |
6249 | return NULL; | |
6250 | } | |
6251 | } | |
6252 | { | |
0e2ff151 | 6253 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 6254 | _result = (int )wxStyledTextCtrl_VisibleFromDocLine(_arg0,_arg1); |
8a2fa5c8 | 6255 | |
0e2ff151 RD |
6256 | wxPyEndAllowThreads(__tstate); |
6257 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
6258 | } _resultobj = Py_BuildValue("i",_result); |
6259 | return _resultobj; | |
6260 | } | |
6261 | ||
6262 | #define wxStyledTextCtrl_DocLineFromVisible(_swigobj,_swigarg0) (_swigobj->DocLineFromVisible(_swigarg0)) | |
6263 | static PyObject *_wrap_wxStyledTextCtrl_DocLineFromVisible(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6264 | PyObject * _resultobj; | |
6265 | int _result; | |
6266 | wxStyledTextCtrl * _arg0; | |
6267 | int _arg1; | |
6268 | PyObject * _argo0 = 0; | |
6269 | char *_kwnames[] = { "self","lineDisplay", NULL }; | |
6270 | ||
6271 | self = self; | |
6272 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_DocLineFromVisible",_kwnames,&_argo0,&_arg1)) | |
6273 | return NULL; | |
6274 | if (_argo0) { | |
6275 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6276 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
6277 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_DocLineFromVisible. Expected _wxStyledTextCtrl_p."); | |
6278 | return NULL; | |
6279 | } | |
6280 | } | |
6281 | { | |
0e2ff151 | 6282 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 6283 | _result = (int )wxStyledTextCtrl_DocLineFromVisible(_arg0,_arg1); |
8a2fa5c8 | 6284 | |
0e2ff151 RD |
6285 | wxPyEndAllowThreads(__tstate); |
6286 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
6287 | } _resultobj = Py_BuildValue("i",_result); |
6288 | return _resultobj; | |
6289 | } | |
6290 | ||
6291 | #define wxStyledTextCtrl_SetFoldLevel(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetFoldLevel(_swigarg0,_swigarg1)) | |
6292 | static PyObject *_wrap_wxStyledTextCtrl_SetFoldLevel(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6293 | PyObject * _resultobj; | |
6294 | wxStyledTextCtrl * _arg0; | |
6295 | int _arg1; | |
6296 | int _arg2; | |
6297 | PyObject * _argo0 = 0; | |
6298 | char *_kwnames[] = { "self","line","level", NULL }; | |
6299 | ||
6300 | self = self; | |
6301 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxStyledTextCtrl_SetFoldLevel",_kwnames,&_argo0,&_arg1,&_arg2)) | |
6302 | return NULL; | |
6303 | if (_argo0) { | |
6304 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6305 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
6306 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetFoldLevel. Expected _wxStyledTextCtrl_p."); | |
6307 | return NULL; | |
6308 | } | |
6309 | } | |
6310 | { | |
0e2ff151 | 6311 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 6312 | wxStyledTextCtrl_SetFoldLevel(_arg0,_arg1,_arg2); |
8a2fa5c8 | 6313 | |
0e2ff151 RD |
6314 | wxPyEndAllowThreads(__tstate); |
6315 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
6316 | } Py_INCREF(Py_None); |
6317 | _resultobj = Py_None; | |
6318 | return _resultobj; | |
6319 | } | |
6320 | ||
6321 | #define wxStyledTextCtrl_GetFoldLevel(_swigobj,_swigarg0) (_swigobj->GetFoldLevel(_swigarg0)) | |
6322 | static PyObject *_wrap_wxStyledTextCtrl_GetFoldLevel(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6323 | PyObject * _resultobj; | |
6324 | int _result; | |
6325 | wxStyledTextCtrl * _arg0; | |
6326 | int _arg1; | |
6327 | PyObject * _argo0 = 0; | |
6328 | char *_kwnames[] = { "self","line", NULL }; | |
6329 | ||
6330 | self = self; | |
6331 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_GetFoldLevel",_kwnames,&_argo0,&_arg1)) | |
6332 | return NULL; | |
6333 | if (_argo0) { | |
6334 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6335 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
6336 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetFoldLevel. Expected _wxStyledTextCtrl_p."); | |
6337 | return NULL; | |
6338 | } | |
6339 | } | |
6340 | { | |
0e2ff151 | 6341 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 6342 | _result = (int )wxStyledTextCtrl_GetFoldLevel(_arg0,_arg1); |
8a2fa5c8 | 6343 | |
0e2ff151 RD |
6344 | wxPyEndAllowThreads(__tstate); |
6345 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
6346 | } _resultobj = Py_BuildValue("i",_result); |
6347 | return _resultobj; | |
6348 | } | |
6349 | ||
6350 | #define wxStyledTextCtrl_GetLastChild(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetLastChild(_swigarg0,_swigarg1)) | |
6351 | static PyObject *_wrap_wxStyledTextCtrl_GetLastChild(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6352 | PyObject * _resultobj; | |
6353 | int _result; | |
6354 | wxStyledTextCtrl * _arg0; | |
6355 | int _arg1; | |
6356 | int _arg2; | |
6357 | PyObject * _argo0 = 0; | |
6358 | char *_kwnames[] = { "self","line","level", NULL }; | |
6359 | ||
6360 | self = self; | |
6361 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxStyledTextCtrl_GetLastChild",_kwnames,&_argo0,&_arg1,&_arg2)) | |
6362 | return NULL; | |
6363 | if (_argo0) { | |
6364 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6365 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
6366 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetLastChild. Expected _wxStyledTextCtrl_p."); | |
6367 | return NULL; | |
6368 | } | |
6369 | } | |
6370 | { | |
0e2ff151 | 6371 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 6372 | _result = (int )wxStyledTextCtrl_GetLastChild(_arg0,_arg1,_arg2); |
8a2fa5c8 | 6373 | |
0e2ff151 RD |
6374 | wxPyEndAllowThreads(__tstate); |
6375 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
6376 | } _resultobj = Py_BuildValue("i",_result); |
6377 | return _resultobj; | |
6378 | } | |
6379 | ||
6380 | #define wxStyledTextCtrl_GetFoldParent(_swigobj,_swigarg0) (_swigobj->GetFoldParent(_swigarg0)) | |
6381 | static PyObject *_wrap_wxStyledTextCtrl_GetFoldParent(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6382 | PyObject * _resultobj; | |
6383 | int _result; | |
6384 | wxStyledTextCtrl * _arg0; | |
6385 | int _arg1; | |
6386 | PyObject * _argo0 = 0; | |
6387 | char *_kwnames[] = { "self","line", NULL }; | |
6388 | ||
6389 | self = self; | |
6390 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_GetFoldParent",_kwnames,&_argo0,&_arg1)) | |
6391 | return NULL; | |
6392 | if (_argo0) { | |
6393 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6394 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
6395 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetFoldParent. Expected _wxStyledTextCtrl_p."); | |
6396 | return NULL; | |
6397 | } | |
6398 | } | |
6399 | { | |
0e2ff151 | 6400 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 6401 | _result = (int )wxStyledTextCtrl_GetFoldParent(_arg0,_arg1); |
8a2fa5c8 | 6402 | |
0e2ff151 RD |
6403 | wxPyEndAllowThreads(__tstate); |
6404 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
6405 | } _resultobj = Py_BuildValue("i",_result); |
6406 | return _resultobj; | |
6407 | } | |
6408 | ||
6409 | #define wxStyledTextCtrl_ShowLines(_swigobj,_swigarg0,_swigarg1) (_swigobj->ShowLines(_swigarg0,_swigarg1)) | |
6410 | static PyObject *_wrap_wxStyledTextCtrl_ShowLines(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6411 | PyObject * _resultobj; | |
6412 | wxStyledTextCtrl * _arg0; | |
6413 | int _arg1; | |
6414 | int _arg2; | |
6415 | PyObject * _argo0 = 0; | |
6416 | char *_kwnames[] = { "self","lineStart","lineEnd", NULL }; | |
6417 | ||
6418 | self = self; | |
6419 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxStyledTextCtrl_ShowLines",_kwnames,&_argo0,&_arg1,&_arg2)) | |
6420 | return NULL; | |
6421 | if (_argo0) { | |
6422 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6423 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
6424 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_ShowLines. Expected _wxStyledTextCtrl_p."); | |
6425 | return NULL; | |
6426 | } | |
6427 | } | |
6428 | { | |
0e2ff151 | 6429 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 6430 | wxStyledTextCtrl_ShowLines(_arg0,_arg1,_arg2); |
8a2fa5c8 | 6431 | |
0e2ff151 RD |
6432 | wxPyEndAllowThreads(__tstate); |
6433 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
6434 | } Py_INCREF(Py_None); |
6435 | _resultobj = Py_None; | |
6436 | return _resultobj; | |
6437 | } | |
6438 | ||
6439 | #define wxStyledTextCtrl_HideLines(_swigobj,_swigarg0,_swigarg1) (_swigobj->HideLines(_swigarg0,_swigarg1)) | |
6440 | static PyObject *_wrap_wxStyledTextCtrl_HideLines(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6441 | PyObject * _resultobj; | |
6442 | wxStyledTextCtrl * _arg0; | |
6443 | int _arg1; | |
6444 | int _arg2; | |
6445 | PyObject * _argo0 = 0; | |
6446 | char *_kwnames[] = { "self","lineStart","lineEnd", NULL }; | |
6447 | ||
6448 | self = self; | |
6449 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxStyledTextCtrl_HideLines",_kwnames,&_argo0,&_arg1,&_arg2)) | |
6450 | return NULL; | |
6451 | if (_argo0) { | |
6452 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6453 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
6454 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_HideLines. Expected _wxStyledTextCtrl_p."); | |
6455 | return NULL; | |
6456 | } | |
6457 | } | |
6458 | { | |
0e2ff151 | 6459 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 6460 | wxStyledTextCtrl_HideLines(_arg0,_arg1,_arg2); |
8a2fa5c8 | 6461 | |
0e2ff151 RD |
6462 | wxPyEndAllowThreads(__tstate); |
6463 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
6464 | } Py_INCREF(Py_None); |
6465 | _resultobj = Py_None; | |
6466 | return _resultobj; | |
6467 | } | |
6468 | ||
6469 | #define wxStyledTextCtrl_GetLineVisible(_swigobj,_swigarg0) (_swigobj->GetLineVisible(_swigarg0)) | |
6470 | static PyObject *_wrap_wxStyledTextCtrl_GetLineVisible(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6471 | PyObject * _resultobj; | |
6472 | bool _result; | |
6473 | wxStyledTextCtrl * _arg0; | |
6474 | int _arg1; | |
6475 | PyObject * _argo0 = 0; | |
6476 | char *_kwnames[] = { "self","line", NULL }; | |
6477 | ||
6478 | self = self; | |
6479 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_GetLineVisible",_kwnames,&_argo0,&_arg1)) | |
6480 | return NULL; | |
6481 | if (_argo0) { | |
6482 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6483 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
6484 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetLineVisible. Expected _wxStyledTextCtrl_p."); | |
6485 | return NULL; | |
6486 | } | |
6487 | } | |
6488 | { | |
0e2ff151 | 6489 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 6490 | _result = (bool )wxStyledTextCtrl_GetLineVisible(_arg0,_arg1); |
8a2fa5c8 | 6491 | |
0e2ff151 RD |
6492 | wxPyEndAllowThreads(__tstate); |
6493 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
6494 | } _resultobj = Py_BuildValue("i",_result); |
6495 | return _resultobj; | |
6496 | } | |
6497 | ||
6498 | #define wxStyledTextCtrl_SetFoldExpanded(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetFoldExpanded(_swigarg0,_swigarg1)) | |
6499 | static PyObject *_wrap_wxStyledTextCtrl_SetFoldExpanded(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6500 | PyObject * _resultobj; | |
6501 | wxStyledTextCtrl * _arg0; | |
6502 | int _arg1; | |
6503 | bool _arg2; | |
6504 | PyObject * _argo0 = 0; | |
6505 | int tempbool2; | |
6506 | char *_kwnames[] = { "self","line","expanded", NULL }; | |
6507 | ||
6508 | self = self; | |
6509 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxStyledTextCtrl_SetFoldExpanded",_kwnames,&_argo0,&_arg1,&tempbool2)) | |
6510 | return NULL; | |
6511 | if (_argo0) { | |
6512 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6513 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
6514 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetFoldExpanded. Expected _wxStyledTextCtrl_p."); | |
6515 | return NULL; | |
6516 | } | |
6517 | } | |
6518 | _arg2 = (bool ) tempbool2; | |
6519 | { | |
0e2ff151 | 6520 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 6521 | wxStyledTextCtrl_SetFoldExpanded(_arg0,_arg1,_arg2); |
8a2fa5c8 | 6522 | |
0e2ff151 RD |
6523 | wxPyEndAllowThreads(__tstate); |
6524 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
6525 | } Py_INCREF(Py_None); |
6526 | _resultobj = Py_None; | |
6527 | return _resultobj; | |
6528 | } | |
6529 | ||
6530 | #define wxStyledTextCtrl_GetFoldExpanded(_swigobj,_swigarg0) (_swigobj->GetFoldExpanded(_swigarg0)) | |
6531 | static PyObject *_wrap_wxStyledTextCtrl_GetFoldExpanded(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6532 | PyObject * _resultobj; | |
6533 | bool _result; | |
6534 | wxStyledTextCtrl * _arg0; | |
6535 | int _arg1; | |
6536 | PyObject * _argo0 = 0; | |
6537 | char *_kwnames[] = { "self","line", NULL }; | |
6538 | ||
6539 | self = self; | |
6540 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_GetFoldExpanded",_kwnames,&_argo0,&_arg1)) | |
6541 | return NULL; | |
6542 | if (_argo0) { | |
6543 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6544 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
6545 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetFoldExpanded. Expected _wxStyledTextCtrl_p."); | |
6546 | return NULL; | |
6547 | } | |
6548 | } | |
6549 | { | |
0e2ff151 | 6550 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 6551 | _result = (bool )wxStyledTextCtrl_GetFoldExpanded(_arg0,_arg1); |
8a2fa5c8 | 6552 | |
0e2ff151 RD |
6553 | wxPyEndAllowThreads(__tstate); |
6554 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
6555 | } _resultobj = Py_BuildValue("i",_result); |
6556 | return _resultobj; | |
6557 | } | |
6558 | ||
6559 | #define wxStyledTextCtrl_ToggleFold(_swigobj,_swigarg0) (_swigobj->ToggleFold(_swigarg0)) | |
6560 | static PyObject *_wrap_wxStyledTextCtrl_ToggleFold(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6561 | PyObject * _resultobj; | |
6562 | wxStyledTextCtrl * _arg0; | |
6563 | int _arg1; | |
6564 | PyObject * _argo0 = 0; | |
6565 | char *_kwnames[] = { "self","line", NULL }; | |
6566 | ||
6567 | self = self; | |
6568 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_ToggleFold",_kwnames,&_argo0,&_arg1)) | |
6569 | return NULL; | |
6570 | if (_argo0) { | |
6571 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6572 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
6573 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_ToggleFold. Expected _wxStyledTextCtrl_p."); | |
6574 | return NULL; | |
6575 | } | |
6576 | } | |
6577 | { | |
0e2ff151 | 6578 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 6579 | wxStyledTextCtrl_ToggleFold(_arg0,_arg1); |
8a2fa5c8 | 6580 | |
0e2ff151 RD |
6581 | wxPyEndAllowThreads(__tstate); |
6582 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
6583 | } Py_INCREF(Py_None); |
6584 | _resultobj = Py_None; | |
6585 | return _resultobj; | |
6586 | } | |
6587 | ||
6588 | #define wxStyledTextCtrl_EnsureVisible(_swigobj,_swigarg0) (_swigobj->EnsureVisible(_swigarg0)) | |
6589 | static PyObject *_wrap_wxStyledTextCtrl_EnsureVisible(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6590 | PyObject * _resultobj; | |
6591 | wxStyledTextCtrl * _arg0; | |
6592 | int _arg1; | |
6593 | PyObject * _argo0 = 0; | |
6594 | char *_kwnames[] = { "self","line", NULL }; | |
6595 | ||
6596 | self = self; | |
6597 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_EnsureVisible",_kwnames,&_argo0,&_arg1)) | |
6598 | return NULL; | |
6599 | if (_argo0) { | |
6600 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6601 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
6602 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_EnsureVisible. Expected _wxStyledTextCtrl_p."); | |
6603 | return NULL; | |
6604 | } | |
6605 | } | |
6606 | { | |
0e2ff151 | 6607 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 6608 | wxStyledTextCtrl_EnsureVisible(_arg0,_arg1); |
8a2fa5c8 | 6609 | |
0e2ff151 RD |
6610 | wxPyEndAllowThreads(__tstate); |
6611 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
6612 | } Py_INCREF(Py_None); |
6613 | _resultobj = Py_None; | |
6614 | return _resultobj; | |
6615 | } | |
6616 | ||
6617 | #define wxStyledTextCtrl_SetFoldFlags(_swigobj,_swigarg0) (_swigobj->SetFoldFlags(_swigarg0)) | |
6618 | static PyObject *_wrap_wxStyledTextCtrl_SetFoldFlags(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6619 | PyObject * _resultobj; | |
6620 | wxStyledTextCtrl * _arg0; | |
6621 | int _arg1; | |
6622 | PyObject * _argo0 = 0; | |
6623 | char *_kwnames[] = { "self","flags", NULL }; | |
6624 | ||
6625 | self = self; | |
6626 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_SetFoldFlags",_kwnames,&_argo0,&_arg1)) | |
6627 | return NULL; | |
6628 | if (_argo0) { | |
6629 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6630 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
6631 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetFoldFlags. Expected _wxStyledTextCtrl_p."); | |
6632 | return NULL; | |
6633 | } | |
6634 | } | |
6635 | { | |
0e2ff151 | 6636 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 6637 | wxStyledTextCtrl_SetFoldFlags(_arg0,_arg1); |
8a2fa5c8 | 6638 | |
0e2ff151 RD |
6639 | wxPyEndAllowThreads(__tstate); |
6640 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
6641 | } Py_INCREF(Py_None); |
6642 | _resultobj = Py_None; | |
6643 | return _resultobj; | |
6644 | } | |
6645 | ||
6646 | #define wxStyledTextCtrl_EnsureVisibleEnforcePolicy(_swigobj,_swigarg0) (_swigobj->EnsureVisibleEnforcePolicy(_swigarg0)) | |
6647 | static PyObject *_wrap_wxStyledTextCtrl_EnsureVisibleEnforcePolicy(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6648 | PyObject * _resultobj; | |
6649 | wxStyledTextCtrl * _arg0; | |
6650 | int _arg1; | |
6651 | PyObject * _argo0 = 0; | |
6652 | char *_kwnames[] = { "self","line", NULL }; | |
6653 | ||
6654 | self = self; | |
6655 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_EnsureVisibleEnforcePolicy",_kwnames,&_argo0,&_arg1)) | |
6656 | return NULL; | |
6657 | if (_argo0) { | |
6658 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6659 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
6660 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_EnsureVisibleEnforcePolicy. Expected _wxStyledTextCtrl_p."); | |
6661 | return NULL; | |
6662 | } | |
6663 | } | |
6664 | { | |
0e2ff151 | 6665 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 6666 | wxStyledTextCtrl_EnsureVisibleEnforcePolicy(_arg0,_arg1); |
8a2fa5c8 | 6667 | |
0e2ff151 RD |
6668 | wxPyEndAllowThreads(__tstate); |
6669 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
6670 | } Py_INCREF(Py_None); |
6671 | _resultobj = Py_None; | |
6672 | return _resultobj; | |
6673 | } | |
6674 | ||
6675 | #define wxStyledTextCtrl_SetTabIndents(_swigobj,_swigarg0) (_swigobj->SetTabIndents(_swigarg0)) | |
6676 | static PyObject *_wrap_wxStyledTextCtrl_SetTabIndents(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6677 | PyObject * _resultobj; | |
6678 | wxStyledTextCtrl * _arg0; | |
6679 | bool _arg1; | |
6680 | PyObject * _argo0 = 0; | |
6681 | int tempbool1; | |
6682 | char *_kwnames[] = { "self","tabIndents", NULL }; | |
6683 | ||
6684 | self = self; | |
6685 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_SetTabIndents",_kwnames,&_argo0,&tempbool1)) | |
6686 | return NULL; | |
6687 | if (_argo0) { | |
6688 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6689 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
6690 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetTabIndents. Expected _wxStyledTextCtrl_p."); | |
6691 | return NULL; | |
6692 | } | |
6693 | } | |
6694 | _arg1 = (bool ) tempbool1; | |
6695 | { | |
0e2ff151 | 6696 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 6697 | wxStyledTextCtrl_SetTabIndents(_arg0,_arg1); |
8a2fa5c8 | 6698 | |
0e2ff151 RD |
6699 | wxPyEndAllowThreads(__tstate); |
6700 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
6701 | } Py_INCREF(Py_None); |
6702 | _resultobj = Py_None; | |
6703 | return _resultobj; | |
6704 | } | |
6705 | ||
6706 | #define wxStyledTextCtrl_GetTabIndents(_swigobj) (_swigobj->GetTabIndents()) | |
6707 | static PyObject *_wrap_wxStyledTextCtrl_GetTabIndents(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6708 | PyObject * _resultobj; | |
6709 | bool _result; | |
6710 | wxStyledTextCtrl * _arg0; | |
6711 | PyObject * _argo0 = 0; | |
6712 | char *_kwnames[] = { "self", NULL }; | |
6713 | ||
6714 | self = self; | |
6715 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetTabIndents",_kwnames,&_argo0)) | |
6716 | return NULL; | |
6717 | if (_argo0) { | |
6718 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6719 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
6720 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetTabIndents. Expected _wxStyledTextCtrl_p."); | |
6721 | return NULL; | |
6722 | } | |
6723 | } | |
6724 | { | |
0e2ff151 | 6725 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 6726 | _result = (bool )wxStyledTextCtrl_GetTabIndents(_arg0); |
8a2fa5c8 | 6727 | |
0e2ff151 RD |
6728 | wxPyEndAllowThreads(__tstate); |
6729 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
6730 | } _resultobj = Py_BuildValue("i",_result); |
6731 | return _resultobj; | |
6732 | } | |
6733 | ||
6734 | #define wxStyledTextCtrl_SetBackSpaceUnIndents(_swigobj,_swigarg0) (_swigobj->SetBackSpaceUnIndents(_swigarg0)) | |
6735 | static PyObject *_wrap_wxStyledTextCtrl_SetBackSpaceUnIndents(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6736 | PyObject * _resultobj; | |
6737 | wxStyledTextCtrl * _arg0; | |
6738 | bool _arg1; | |
6739 | PyObject * _argo0 = 0; | |
6740 | int tempbool1; | |
6741 | char *_kwnames[] = { "self","bsUnIndents", NULL }; | |
6742 | ||
6743 | self = self; | |
6744 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_SetBackSpaceUnIndents",_kwnames,&_argo0,&tempbool1)) | |
6745 | return NULL; | |
6746 | if (_argo0) { | |
6747 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6748 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
6749 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetBackSpaceUnIndents. Expected _wxStyledTextCtrl_p."); | |
6750 | return NULL; | |
6751 | } | |
6752 | } | |
6753 | _arg1 = (bool ) tempbool1; | |
6754 | { | |
0e2ff151 | 6755 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 6756 | wxStyledTextCtrl_SetBackSpaceUnIndents(_arg0,_arg1); |
8a2fa5c8 | 6757 | |
0e2ff151 RD |
6758 | wxPyEndAllowThreads(__tstate); |
6759 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
6760 | } Py_INCREF(Py_None); |
6761 | _resultobj = Py_None; | |
6762 | return _resultobj; | |
6763 | } | |
6764 | ||
6765 | #define wxStyledTextCtrl_GetBackSpaceUnIndents(_swigobj) (_swigobj->GetBackSpaceUnIndents()) | |
6766 | static PyObject *_wrap_wxStyledTextCtrl_GetBackSpaceUnIndents(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6767 | PyObject * _resultobj; | |
6768 | bool _result; | |
6769 | wxStyledTextCtrl * _arg0; | |
6770 | PyObject * _argo0 = 0; | |
6771 | char *_kwnames[] = { "self", NULL }; | |
6772 | ||
6773 | self = self; | |
6774 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetBackSpaceUnIndents",_kwnames,&_argo0)) | |
6775 | return NULL; | |
6776 | if (_argo0) { | |
6777 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6778 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
6779 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetBackSpaceUnIndents. Expected _wxStyledTextCtrl_p."); | |
6780 | return NULL; | |
6781 | } | |
6782 | } | |
6783 | { | |
0e2ff151 | 6784 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 6785 | _result = (bool )wxStyledTextCtrl_GetBackSpaceUnIndents(_arg0); |
8a2fa5c8 | 6786 | |
0e2ff151 RD |
6787 | wxPyEndAllowThreads(__tstate); |
6788 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
6789 | } _resultobj = Py_BuildValue("i",_result); |
6790 | return _resultobj; | |
6791 | } | |
6792 | ||
6793 | #define wxStyledTextCtrl_SetMouseDwellTime(_swigobj,_swigarg0) (_swigobj->SetMouseDwellTime(_swigarg0)) | |
6794 | static PyObject *_wrap_wxStyledTextCtrl_SetMouseDwellTime(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6795 | PyObject * _resultobj; | |
6796 | wxStyledTextCtrl * _arg0; | |
6797 | int _arg1; | |
6798 | PyObject * _argo0 = 0; | |
6799 | char *_kwnames[] = { "self","periodMilliseconds", NULL }; | |
6800 | ||
6801 | self = self; | |
6802 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_SetMouseDwellTime",_kwnames,&_argo0,&_arg1)) | |
6803 | return NULL; | |
6804 | if (_argo0) { | |
6805 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6806 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
6807 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetMouseDwellTime. Expected _wxStyledTextCtrl_p."); | |
6808 | return NULL; | |
6809 | } | |
6810 | } | |
6811 | { | |
0e2ff151 | 6812 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 6813 | wxStyledTextCtrl_SetMouseDwellTime(_arg0,_arg1); |
8a2fa5c8 | 6814 | |
0e2ff151 RD |
6815 | wxPyEndAllowThreads(__tstate); |
6816 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
6817 | } Py_INCREF(Py_None); |
6818 | _resultobj = Py_None; | |
6819 | return _resultobj; | |
6820 | } | |
6821 | ||
6822 | #define wxStyledTextCtrl_GetMouseDwellTime(_swigobj) (_swigobj->GetMouseDwellTime()) | |
6823 | static PyObject *_wrap_wxStyledTextCtrl_GetMouseDwellTime(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6824 | PyObject * _resultobj; | |
6825 | int _result; | |
6826 | wxStyledTextCtrl * _arg0; | |
6827 | PyObject * _argo0 = 0; | |
6828 | char *_kwnames[] = { "self", NULL }; | |
6829 | ||
6830 | self = self; | |
6831 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetMouseDwellTime",_kwnames,&_argo0)) | |
6832 | return NULL; | |
6833 | if (_argo0) { | |
6834 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6835 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
6836 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetMouseDwellTime. Expected _wxStyledTextCtrl_p."); | |
6837 | return NULL; | |
6838 | } | |
6839 | } | |
6840 | { | |
0e2ff151 | 6841 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 6842 | _result = (int )wxStyledTextCtrl_GetMouseDwellTime(_arg0); |
8a2fa5c8 | 6843 | |
0e2ff151 RD |
6844 | wxPyEndAllowThreads(__tstate); |
6845 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
6846 | } _resultobj = Py_BuildValue("i",_result); |
6847 | return _resultobj; | |
6848 | } | |
6849 | ||
c3bfa1cb RD |
6850 | #define wxStyledTextCtrl_WordStartPosition(_swigobj,_swigarg0,_swigarg1) (_swigobj->WordStartPosition(_swigarg0,_swigarg1)) |
6851 | static PyObject *_wrap_wxStyledTextCtrl_WordStartPosition(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6852 | PyObject * _resultobj; | |
6853 | int _result; | |
6854 | wxStyledTextCtrl * _arg0; | |
6855 | int _arg1; | |
6856 | bool _arg2; | |
6857 | PyObject * _argo0 = 0; | |
6858 | int tempbool2; | |
6859 | char *_kwnames[] = { "self","pos","onlyWordCharacters", NULL }; | |
6860 | ||
6861 | self = self; | |
6862 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxStyledTextCtrl_WordStartPosition",_kwnames,&_argo0,&_arg1,&tempbool2)) | |
6863 | return NULL; | |
6864 | if (_argo0) { | |
6865 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6866 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
6867 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_WordStartPosition. Expected _wxStyledTextCtrl_p."); | |
6868 | return NULL; | |
6869 | } | |
6870 | } | |
6871 | _arg2 = (bool ) tempbool2; | |
6872 | { | |
6873 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6874 | _result = (int )wxStyledTextCtrl_WordStartPosition(_arg0,_arg1,_arg2); | |
6875 | ||
6876 | wxPyEndAllowThreads(__tstate); | |
6877 | if (PyErr_Occurred()) return NULL; | |
6878 | } _resultobj = Py_BuildValue("i",_result); | |
6879 | return _resultobj; | |
6880 | } | |
6881 | ||
6882 | #define wxStyledTextCtrl_WordEndPosition(_swigobj,_swigarg0,_swigarg1) (_swigobj->WordEndPosition(_swigarg0,_swigarg1)) | |
6883 | static PyObject *_wrap_wxStyledTextCtrl_WordEndPosition(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6884 | PyObject * _resultobj; | |
6885 | int _result; | |
6886 | wxStyledTextCtrl * _arg0; | |
6887 | int _arg1; | |
6888 | bool _arg2; | |
6889 | PyObject * _argo0 = 0; | |
6890 | int tempbool2; | |
6891 | char *_kwnames[] = { "self","pos","onlyWordCharacters", NULL }; | |
6892 | ||
6893 | self = self; | |
6894 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxStyledTextCtrl_WordEndPosition",_kwnames,&_argo0,&_arg1,&tempbool2)) | |
6895 | return NULL; | |
6896 | if (_argo0) { | |
6897 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6898 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
6899 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_WordEndPosition. Expected _wxStyledTextCtrl_p."); | |
6900 | return NULL; | |
6901 | } | |
6902 | } | |
6903 | _arg2 = (bool ) tempbool2; | |
6904 | { | |
6905 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6906 | _result = (int )wxStyledTextCtrl_WordEndPosition(_arg0,_arg1,_arg2); | |
6907 | ||
6908 | wxPyEndAllowThreads(__tstate); | |
6909 | if (PyErr_Occurred()) return NULL; | |
6910 | } _resultobj = Py_BuildValue("i",_result); | |
6911 | return _resultobj; | |
6912 | } | |
6913 | ||
6914 | #define wxStyledTextCtrl_SetWrapMode(_swigobj,_swigarg0) (_swigobj->SetWrapMode(_swigarg0)) | |
6915 | static PyObject *_wrap_wxStyledTextCtrl_SetWrapMode(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6916 | PyObject * _resultobj; | |
6917 | wxStyledTextCtrl * _arg0; | |
6918 | int _arg1; | |
6919 | PyObject * _argo0 = 0; | |
6920 | char *_kwnames[] = { "self","mode", NULL }; | |
6921 | ||
6922 | self = self; | |
6923 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_SetWrapMode",_kwnames,&_argo0,&_arg1)) | |
6924 | return NULL; | |
6925 | if (_argo0) { | |
6926 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6927 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
6928 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetWrapMode. Expected _wxStyledTextCtrl_p."); | |
6929 | return NULL; | |
6930 | } | |
6931 | } | |
6932 | { | |
6933 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6934 | wxStyledTextCtrl_SetWrapMode(_arg0,_arg1); | |
6935 | ||
6936 | wxPyEndAllowThreads(__tstate); | |
6937 | if (PyErr_Occurred()) return NULL; | |
6938 | } Py_INCREF(Py_None); | |
6939 | _resultobj = Py_None; | |
6940 | return _resultobj; | |
6941 | } | |
6942 | ||
6943 | #define wxStyledTextCtrl_GetWrapMode(_swigobj) (_swigobj->GetWrapMode()) | |
6944 | static PyObject *_wrap_wxStyledTextCtrl_GetWrapMode(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6945 | PyObject * _resultobj; | |
6946 | int _result; | |
6947 | wxStyledTextCtrl * _arg0; | |
6948 | PyObject * _argo0 = 0; | |
6949 | char *_kwnames[] = { "self", NULL }; | |
6950 | ||
6951 | self = self; | |
6952 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetWrapMode",_kwnames,&_argo0)) | |
6953 | return NULL; | |
6954 | if (_argo0) { | |
6955 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6956 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
6957 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetWrapMode. Expected _wxStyledTextCtrl_p."); | |
6958 | return NULL; | |
6959 | } | |
6960 | } | |
6961 | { | |
6962 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6963 | _result = (int )wxStyledTextCtrl_GetWrapMode(_arg0); | |
6964 | ||
6965 | wxPyEndAllowThreads(__tstate); | |
6966 | if (PyErr_Occurred()) return NULL; | |
6967 | } _resultobj = Py_BuildValue("i",_result); | |
6968 | return _resultobj; | |
6969 | } | |
6970 | ||
6971 | #define wxStyledTextCtrl_SetLayoutCache(_swigobj,_swigarg0) (_swigobj->SetLayoutCache(_swigarg0)) | |
6972 | static PyObject *_wrap_wxStyledTextCtrl_SetLayoutCache(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6973 | PyObject * _resultobj; | |
6974 | wxStyledTextCtrl * _arg0; | |
6975 | int _arg1; | |
6976 | PyObject * _argo0 = 0; | |
6977 | char *_kwnames[] = { "self","mode", NULL }; | |
6978 | ||
6979 | self = self; | |
6980 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_SetLayoutCache",_kwnames,&_argo0,&_arg1)) | |
6981 | return NULL; | |
6982 | if (_argo0) { | |
6983 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6984 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
6985 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetLayoutCache. Expected _wxStyledTextCtrl_p."); | |
6986 | return NULL; | |
6987 | } | |
6988 | } | |
6989 | { | |
6990 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6991 | wxStyledTextCtrl_SetLayoutCache(_arg0,_arg1); | |
6992 | ||
6993 | wxPyEndAllowThreads(__tstate); | |
6994 | if (PyErr_Occurred()) return NULL; | |
6995 | } Py_INCREF(Py_None); | |
6996 | _resultobj = Py_None; | |
6997 | return _resultobj; | |
6998 | } | |
6999 | ||
7000 | #define wxStyledTextCtrl_GetLayoutCache(_swigobj) (_swigobj->GetLayoutCache()) | |
7001 | static PyObject *_wrap_wxStyledTextCtrl_GetLayoutCache(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7002 | PyObject * _resultobj; | |
7003 | int _result; | |
7004 | wxStyledTextCtrl * _arg0; | |
7005 | PyObject * _argo0 = 0; | |
7006 | char *_kwnames[] = { "self", NULL }; | |
7007 | ||
7008 | self = self; | |
7009 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetLayoutCache",_kwnames,&_argo0)) | |
7010 | return NULL; | |
7011 | if (_argo0) { | |
7012 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7013 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
7014 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetLayoutCache. Expected _wxStyledTextCtrl_p."); | |
7015 | return NULL; | |
7016 | } | |
7017 | } | |
7018 | { | |
7019 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7020 | _result = (int )wxStyledTextCtrl_GetLayoutCache(_arg0); | |
7021 | ||
7022 | wxPyEndAllowThreads(__tstate); | |
7023 | if (PyErr_Occurred()) return NULL; | |
7024 | } _resultobj = Py_BuildValue("i",_result); | |
7025 | return _resultobj; | |
7026 | } | |
7027 | ||
47a06a26 RD |
7028 | #define wxStyledTextCtrl_SetScrollWidth(_swigobj,_swigarg0) (_swigobj->SetScrollWidth(_swigarg0)) |
7029 | static PyObject *_wrap_wxStyledTextCtrl_SetScrollWidth(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7030 | PyObject * _resultobj; | |
7031 | wxStyledTextCtrl * _arg0; | |
7032 | int _arg1; | |
7033 | PyObject * _argo0 = 0; | |
7034 | char *_kwnames[] = { "self","pixelWidth", NULL }; | |
7035 | ||
7036 | self = self; | |
7037 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_SetScrollWidth",_kwnames,&_argo0,&_arg1)) | |
7038 | return NULL; | |
7039 | if (_argo0) { | |
7040 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7041 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
7042 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetScrollWidth. Expected _wxStyledTextCtrl_p."); | |
7043 | return NULL; | |
7044 | } | |
7045 | } | |
7046 | { | |
7047 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7048 | wxStyledTextCtrl_SetScrollWidth(_arg0,_arg1); | |
7049 | ||
7050 | wxPyEndAllowThreads(__tstate); | |
7051 | if (PyErr_Occurred()) return NULL; | |
7052 | } Py_INCREF(Py_None); | |
7053 | _resultobj = Py_None; | |
7054 | return _resultobj; | |
7055 | } | |
7056 | ||
7057 | #define wxStyledTextCtrl_GetScrollWidth(_swigobj) (_swigobj->GetScrollWidth()) | |
7058 | static PyObject *_wrap_wxStyledTextCtrl_GetScrollWidth(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7059 | PyObject * _resultobj; | |
7060 | int _result; | |
7061 | wxStyledTextCtrl * _arg0; | |
7062 | PyObject * _argo0 = 0; | |
7063 | char *_kwnames[] = { "self", NULL }; | |
7064 | ||
7065 | self = self; | |
7066 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetScrollWidth",_kwnames,&_argo0)) | |
7067 | return NULL; | |
7068 | if (_argo0) { | |
7069 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7070 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
7071 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetScrollWidth. Expected _wxStyledTextCtrl_p."); | |
7072 | return NULL; | |
7073 | } | |
7074 | } | |
7075 | { | |
7076 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7077 | _result = (int )wxStyledTextCtrl_GetScrollWidth(_arg0); | |
7078 | ||
7079 | wxPyEndAllowThreads(__tstate); | |
7080 | if (PyErr_Occurred()) return NULL; | |
7081 | } _resultobj = Py_BuildValue("i",_result); | |
7082 | return _resultobj; | |
7083 | } | |
7084 | ||
7085 | #define wxStyledTextCtrl_TextWidth(_swigobj,_swigarg0,_swigarg1) (_swigobj->TextWidth(_swigarg0,_swigarg1)) | |
7086 | static PyObject *_wrap_wxStyledTextCtrl_TextWidth(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7087 | PyObject * _resultobj; | |
7088 | int _result; | |
7089 | wxStyledTextCtrl * _arg0; | |
7090 | int _arg1; | |
7091 | wxString * _arg2; | |
7092 | PyObject * _argo0 = 0; | |
7093 | PyObject * _obj2 = 0; | |
7094 | char *_kwnames[] = { "self","style","text", NULL }; | |
7095 | ||
7096 | self = self; | |
7097 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxStyledTextCtrl_TextWidth",_kwnames,&_argo0,&_arg1,&_obj2)) | |
7098 | return NULL; | |
7099 | if (_argo0) { | |
7100 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7101 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
7102 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_TextWidth. Expected _wxStyledTextCtrl_p."); | |
7103 | return NULL; | |
7104 | } | |
7105 | } | |
7106 | { | |
7107 | _arg2 = wxString_in_helper(_obj2); | |
7108 | if (_arg2 == NULL) | |
7109 | return NULL; | |
7110 | } | |
7111 | { | |
7112 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7113 | _result = (int )wxStyledTextCtrl_TextWidth(_arg0,_arg1,*_arg2); | |
7114 | ||
7115 | wxPyEndAllowThreads(__tstate); | |
7116 | if (PyErr_Occurred()) return NULL; | |
7117 | } _resultobj = Py_BuildValue("i",_result); | |
7118 | { | |
7119 | if (_obj2) | |
7120 | delete _arg2; | |
7121 | } | |
7122 | return _resultobj; | |
7123 | } | |
7124 | ||
7125 | #define wxStyledTextCtrl_SetEndAtLastLine(_swigobj,_swigarg0) (_swigobj->SetEndAtLastLine(_swigarg0)) | |
7126 | static PyObject *_wrap_wxStyledTextCtrl_SetEndAtLastLine(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7127 | PyObject * _resultobj; | |
7128 | wxStyledTextCtrl * _arg0; | |
7129 | bool _arg1; | |
7130 | PyObject * _argo0 = 0; | |
7131 | int tempbool1; | |
7132 | char *_kwnames[] = { "self","endAtLastLine", NULL }; | |
7133 | ||
7134 | self = self; | |
7135 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_SetEndAtLastLine",_kwnames,&_argo0,&tempbool1)) | |
7136 | return NULL; | |
7137 | if (_argo0) { | |
7138 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7139 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
7140 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetEndAtLastLine. Expected _wxStyledTextCtrl_p."); | |
7141 | return NULL; | |
7142 | } | |
7143 | } | |
7144 | _arg1 = (bool ) tempbool1; | |
7145 | { | |
7146 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7147 | wxStyledTextCtrl_SetEndAtLastLine(_arg0,_arg1); | |
7148 | ||
7149 | wxPyEndAllowThreads(__tstate); | |
7150 | if (PyErr_Occurred()) return NULL; | |
7151 | } Py_INCREF(Py_None); | |
7152 | _resultobj = Py_None; | |
7153 | return _resultobj; | |
7154 | } | |
7155 | ||
7156 | #define wxStyledTextCtrl_GetEndAtLastLine(_swigobj) (_swigobj->GetEndAtLastLine()) | |
7157 | static PyObject *_wrap_wxStyledTextCtrl_GetEndAtLastLine(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7158 | PyObject * _resultobj; | |
7159 | int _result; | |
7160 | wxStyledTextCtrl * _arg0; | |
7161 | PyObject * _argo0 = 0; | |
7162 | char *_kwnames[] = { "self", NULL }; | |
7163 | ||
7164 | self = self; | |
7165 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetEndAtLastLine",_kwnames,&_argo0)) | |
7166 | return NULL; | |
7167 | if (_argo0) { | |
7168 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7169 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
7170 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetEndAtLastLine. Expected _wxStyledTextCtrl_p."); | |
7171 | return NULL; | |
7172 | } | |
7173 | } | |
7174 | { | |
7175 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7176 | _result = (int )wxStyledTextCtrl_GetEndAtLastLine(_arg0); | |
7177 | ||
7178 | wxPyEndAllowThreads(__tstate); | |
7179 | if (PyErr_Occurred()) return NULL; | |
7180 | } _resultobj = Py_BuildValue("i",_result); | |
7181 | return _resultobj; | |
7182 | } | |
7183 | ||
7184 | #define wxStyledTextCtrl_TextHeight(_swigobj,_swigarg0) (_swigobj->TextHeight(_swigarg0)) | |
7185 | static PyObject *_wrap_wxStyledTextCtrl_TextHeight(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7186 | PyObject * _resultobj; | |
7187 | int _result; | |
7188 | wxStyledTextCtrl * _arg0; | |
7189 | int _arg1; | |
7190 | PyObject * _argo0 = 0; | |
7191 | char *_kwnames[] = { "self","line", NULL }; | |
7192 | ||
7193 | self = self; | |
7194 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_TextHeight",_kwnames,&_argo0,&_arg1)) | |
7195 | return NULL; | |
7196 | if (_argo0) { | |
7197 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7198 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
7199 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_TextHeight. Expected _wxStyledTextCtrl_p."); | |
7200 | return NULL; | |
7201 | } | |
7202 | } | |
7203 | { | |
7204 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7205 | _result = (int )wxStyledTextCtrl_TextHeight(_arg0,_arg1); | |
7206 | ||
7207 | wxPyEndAllowThreads(__tstate); | |
7208 | if (PyErr_Occurred()) return NULL; | |
7209 | } _resultobj = Py_BuildValue("i",_result); | |
7210 | return _resultobj; | |
7211 | } | |
7212 | ||
7213 | #define wxStyledTextCtrl_HomeDisplay(_swigobj) (_swigobj->HomeDisplay()) | |
7214 | static PyObject *_wrap_wxStyledTextCtrl_HomeDisplay(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7215 | PyObject * _resultobj; | |
7216 | wxStyledTextCtrl * _arg0; | |
7217 | PyObject * _argo0 = 0; | |
7218 | char *_kwnames[] = { "self", NULL }; | |
7219 | ||
7220 | self = self; | |
7221 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_HomeDisplay",_kwnames,&_argo0)) | |
7222 | return NULL; | |
7223 | if (_argo0) { | |
7224 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7225 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
7226 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_HomeDisplay. Expected _wxStyledTextCtrl_p."); | |
7227 | return NULL; | |
7228 | } | |
7229 | } | |
7230 | { | |
7231 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7232 | wxStyledTextCtrl_HomeDisplay(_arg0); | |
7233 | ||
7234 | wxPyEndAllowThreads(__tstate); | |
7235 | if (PyErr_Occurred()) return NULL; | |
7236 | } Py_INCREF(Py_None); | |
7237 | _resultobj = Py_None; | |
7238 | return _resultobj; | |
7239 | } | |
7240 | ||
7241 | #define wxStyledTextCtrl_HomeDisplayExtend(_swigobj) (_swigobj->HomeDisplayExtend()) | |
7242 | static PyObject *_wrap_wxStyledTextCtrl_HomeDisplayExtend(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7243 | PyObject * _resultobj; | |
7244 | wxStyledTextCtrl * _arg0; | |
7245 | PyObject * _argo0 = 0; | |
7246 | char *_kwnames[] = { "self", NULL }; | |
7247 | ||
7248 | self = self; | |
7249 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_HomeDisplayExtend",_kwnames,&_argo0)) | |
7250 | return NULL; | |
7251 | if (_argo0) { | |
7252 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7253 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
7254 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_HomeDisplayExtend. Expected _wxStyledTextCtrl_p."); | |
7255 | return NULL; | |
7256 | } | |
7257 | } | |
7258 | { | |
7259 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7260 | wxStyledTextCtrl_HomeDisplayExtend(_arg0); | |
7261 | ||
7262 | wxPyEndAllowThreads(__tstate); | |
7263 | if (PyErr_Occurred()) return NULL; | |
7264 | } Py_INCREF(Py_None); | |
7265 | _resultobj = Py_None; | |
7266 | return _resultobj; | |
7267 | } | |
7268 | ||
7269 | #define wxStyledTextCtrl_LineEndDisplay(_swigobj) (_swigobj->LineEndDisplay()) | |
7270 | static PyObject *_wrap_wxStyledTextCtrl_LineEndDisplay(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7271 | PyObject * _resultobj; | |
7272 | wxStyledTextCtrl * _arg0; | |
7273 | PyObject * _argo0 = 0; | |
7274 | char *_kwnames[] = { "self", NULL }; | |
7275 | ||
7276 | self = self; | |
7277 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_LineEndDisplay",_kwnames,&_argo0)) | |
7278 | return NULL; | |
7279 | if (_argo0) { | |
7280 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7281 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
7282 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_LineEndDisplay. Expected _wxStyledTextCtrl_p."); | |
7283 | return NULL; | |
7284 | } | |
7285 | } | |
7286 | { | |
7287 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7288 | wxStyledTextCtrl_LineEndDisplay(_arg0); | |
7289 | ||
7290 | wxPyEndAllowThreads(__tstate); | |
7291 | if (PyErr_Occurred()) return NULL; | |
7292 | } Py_INCREF(Py_None); | |
7293 | _resultobj = Py_None; | |
7294 | return _resultobj; | |
7295 | } | |
7296 | ||
7297 | #define wxStyledTextCtrl_LineEndDisplayExtend(_swigobj) (_swigobj->LineEndDisplayExtend()) | |
7298 | static PyObject *_wrap_wxStyledTextCtrl_LineEndDisplayExtend(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7299 | PyObject * _resultobj; | |
7300 | wxStyledTextCtrl * _arg0; | |
7301 | PyObject * _argo0 = 0; | |
7302 | char *_kwnames[] = { "self", NULL }; | |
7303 | ||
7304 | self = self; | |
7305 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_LineEndDisplayExtend",_kwnames,&_argo0)) | |
7306 | return NULL; | |
7307 | if (_argo0) { | |
7308 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7309 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
7310 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_LineEndDisplayExtend. Expected _wxStyledTextCtrl_p."); | |
7311 | return NULL; | |
7312 | } | |
7313 | } | |
7314 | { | |
7315 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7316 | wxStyledTextCtrl_LineEndDisplayExtend(_arg0); | |
7317 | ||
7318 | wxPyEndAllowThreads(__tstate); | |
7319 | if (PyErr_Occurred()) return NULL; | |
7320 | } Py_INCREF(Py_None); | |
7321 | _resultobj = Py_None; | |
7322 | return _resultobj; | |
7323 | } | |
7324 | ||
8a2fa5c8 RD |
7325 | #define wxStyledTextCtrl_MoveCaretInsideView(_swigobj) (_swigobj->MoveCaretInsideView()) |
7326 | static PyObject *_wrap_wxStyledTextCtrl_MoveCaretInsideView(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7327 | PyObject * _resultobj; | |
7328 | wxStyledTextCtrl * _arg0; | |
7329 | PyObject * _argo0 = 0; | |
7330 | char *_kwnames[] = { "self", NULL }; | |
7331 | ||
7332 | self = self; | |
7333 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_MoveCaretInsideView",_kwnames,&_argo0)) | |
7334 | return NULL; | |
7335 | if (_argo0) { | |
7336 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7337 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
7338 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_MoveCaretInsideView. Expected _wxStyledTextCtrl_p."); | |
7339 | return NULL; | |
7340 | } | |
7341 | } | |
7342 | { | |
0e2ff151 | 7343 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 7344 | wxStyledTextCtrl_MoveCaretInsideView(_arg0); |
8a2fa5c8 | 7345 | |
0e2ff151 RD |
7346 | wxPyEndAllowThreads(__tstate); |
7347 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
7348 | } Py_INCREF(Py_None); |
7349 | _resultobj = Py_None; | |
7350 | return _resultobj; | |
7351 | } | |
7352 | ||
7353 | #define wxStyledTextCtrl_LineLength(_swigobj,_swigarg0) (_swigobj->LineLength(_swigarg0)) | |
7354 | static PyObject *_wrap_wxStyledTextCtrl_LineLength(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7355 | PyObject * _resultobj; | |
7356 | int _result; | |
7357 | wxStyledTextCtrl * _arg0; | |
7358 | int _arg1; | |
7359 | PyObject * _argo0 = 0; | |
7360 | char *_kwnames[] = { "self","line", NULL }; | |
7361 | ||
7362 | self = self; | |
7363 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_LineLength",_kwnames,&_argo0,&_arg1)) | |
7364 | return NULL; | |
7365 | if (_argo0) { | |
7366 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7367 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
7368 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_LineLength. Expected _wxStyledTextCtrl_p."); | |
7369 | return NULL; | |
7370 | } | |
7371 | } | |
7372 | { | |
0e2ff151 | 7373 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 7374 | _result = (int )wxStyledTextCtrl_LineLength(_arg0,_arg1); |
8a2fa5c8 | 7375 | |
0e2ff151 RD |
7376 | wxPyEndAllowThreads(__tstate); |
7377 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
7378 | } _resultobj = Py_BuildValue("i",_result); |
7379 | return _resultobj; | |
7380 | } | |
7381 | ||
7382 | #define wxStyledTextCtrl_BraceHighlight(_swigobj,_swigarg0,_swigarg1) (_swigobj->BraceHighlight(_swigarg0,_swigarg1)) | |
7383 | static PyObject *_wrap_wxStyledTextCtrl_BraceHighlight(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7384 | PyObject * _resultobj; | |
7385 | wxStyledTextCtrl * _arg0; | |
7386 | int _arg1; | |
7387 | int _arg2; | |
7388 | PyObject * _argo0 = 0; | |
7389 | char *_kwnames[] = { "self","pos1","pos2", NULL }; | |
7390 | ||
7391 | self = self; | |
7392 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxStyledTextCtrl_BraceHighlight",_kwnames,&_argo0,&_arg1,&_arg2)) | |
7393 | return NULL; | |
7394 | if (_argo0) { | |
7395 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7396 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
7397 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_BraceHighlight. Expected _wxStyledTextCtrl_p."); | |
7398 | return NULL; | |
7399 | } | |
7400 | } | |
7401 | { | |
0e2ff151 | 7402 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 7403 | wxStyledTextCtrl_BraceHighlight(_arg0,_arg1,_arg2); |
8a2fa5c8 | 7404 | |
0e2ff151 RD |
7405 | wxPyEndAllowThreads(__tstate); |
7406 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
7407 | } Py_INCREF(Py_None); |
7408 | _resultobj = Py_None; | |
7409 | return _resultobj; | |
7410 | } | |
7411 | ||
7412 | #define wxStyledTextCtrl_BraceBadLight(_swigobj,_swigarg0) (_swigobj->BraceBadLight(_swigarg0)) | |
7413 | static PyObject *_wrap_wxStyledTextCtrl_BraceBadLight(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7414 | PyObject * _resultobj; | |
7415 | wxStyledTextCtrl * _arg0; | |
7416 | int _arg1; | |
7417 | PyObject * _argo0 = 0; | |
7418 | char *_kwnames[] = { "self","pos", NULL }; | |
7419 | ||
7420 | self = self; | |
7421 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_BraceBadLight",_kwnames,&_argo0,&_arg1)) | |
7422 | return NULL; | |
7423 | if (_argo0) { | |
7424 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7425 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
7426 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_BraceBadLight. Expected _wxStyledTextCtrl_p."); | |
7427 | return NULL; | |
7428 | } | |
7429 | } | |
7430 | { | |
0e2ff151 | 7431 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 7432 | wxStyledTextCtrl_BraceBadLight(_arg0,_arg1); |
8a2fa5c8 | 7433 | |
0e2ff151 RD |
7434 | wxPyEndAllowThreads(__tstate); |
7435 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
7436 | } Py_INCREF(Py_None); |
7437 | _resultobj = Py_None; | |
7438 | return _resultobj; | |
7439 | } | |
7440 | ||
7441 | #define wxStyledTextCtrl_BraceMatch(_swigobj,_swigarg0) (_swigobj->BraceMatch(_swigarg0)) | |
7442 | static PyObject *_wrap_wxStyledTextCtrl_BraceMatch(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7443 | PyObject * _resultobj; | |
7444 | int _result; | |
7445 | wxStyledTextCtrl * _arg0; | |
7446 | int _arg1; | |
7447 | PyObject * _argo0 = 0; | |
7448 | char *_kwnames[] = { "self","pos", NULL }; | |
7449 | ||
7450 | self = self; | |
7451 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_BraceMatch",_kwnames,&_argo0,&_arg1)) | |
7452 | return NULL; | |
7453 | if (_argo0) { | |
7454 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7455 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
7456 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_BraceMatch. Expected _wxStyledTextCtrl_p."); | |
7457 | return NULL; | |
7458 | } | |
7459 | } | |
7460 | { | |
0e2ff151 | 7461 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 7462 | _result = (int )wxStyledTextCtrl_BraceMatch(_arg0,_arg1); |
8a2fa5c8 | 7463 | |
0e2ff151 RD |
7464 | wxPyEndAllowThreads(__tstate); |
7465 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
7466 | } _resultobj = Py_BuildValue("i",_result); |
7467 | return _resultobj; | |
7468 | } | |
7469 | ||
7470 | #define wxStyledTextCtrl_GetViewEOL(_swigobj) (_swigobj->GetViewEOL()) | |
7471 | static PyObject *_wrap_wxStyledTextCtrl_GetViewEOL(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7472 | PyObject * _resultobj; | |
7473 | bool _result; | |
7474 | wxStyledTextCtrl * _arg0; | |
7475 | PyObject * _argo0 = 0; | |
7476 | char *_kwnames[] = { "self", NULL }; | |
7477 | ||
7478 | self = self; | |
7479 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetViewEOL",_kwnames,&_argo0)) | |
7480 | return NULL; | |
7481 | if (_argo0) { | |
7482 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7483 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
7484 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetViewEOL. Expected _wxStyledTextCtrl_p."); | |
7485 | return NULL; | |
7486 | } | |
7487 | } | |
7488 | { | |
0e2ff151 | 7489 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 7490 | _result = (bool )wxStyledTextCtrl_GetViewEOL(_arg0); |
8a2fa5c8 | 7491 | |
0e2ff151 RD |
7492 | wxPyEndAllowThreads(__tstate); |
7493 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
7494 | } _resultobj = Py_BuildValue("i",_result); |
7495 | return _resultobj; | |
7496 | } | |
7497 | ||
7498 | #define wxStyledTextCtrl_SetViewEOL(_swigobj,_swigarg0) (_swigobj->SetViewEOL(_swigarg0)) | |
7499 | static PyObject *_wrap_wxStyledTextCtrl_SetViewEOL(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7500 | PyObject * _resultobj; | |
7501 | wxStyledTextCtrl * _arg0; | |
7502 | bool _arg1; | |
7503 | PyObject * _argo0 = 0; | |
7504 | int tempbool1; | |
7505 | char *_kwnames[] = { "self","visible", NULL }; | |
7506 | ||
7507 | self = self; | |
7508 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_SetViewEOL",_kwnames,&_argo0,&tempbool1)) | |
7509 | return NULL; | |
7510 | if (_argo0) { | |
7511 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7512 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
7513 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetViewEOL. Expected _wxStyledTextCtrl_p."); | |
7514 | return NULL; | |
7515 | } | |
7516 | } | |
7517 | _arg1 = (bool ) tempbool1; | |
7518 | { | |
0e2ff151 | 7519 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 7520 | wxStyledTextCtrl_SetViewEOL(_arg0,_arg1); |
8a2fa5c8 | 7521 | |
0e2ff151 RD |
7522 | wxPyEndAllowThreads(__tstate); |
7523 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
7524 | } Py_INCREF(Py_None); |
7525 | _resultobj = Py_None; | |
7526 | return _resultobj; | |
7527 | } | |
7528 | ||
7529 | #define wxStyledTextCtrl_GetDocPointer(_swigobj) (_swigobj->GetDocPointer()) | |
7530 | static PyObject *_wrap_wxStyledTextCtrl_GetDocPointer(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7531 | PyObject * _resultobj; | |
7532 | void * _result; | |
7533 | wxStyledTextCtrl * _arg0; | |
7534 | PyObject * _argo0 = 0; | |
7535 | char *_kwnames[] = { "self", NULL }; | |
7536 | char _ptemp[128]; | |
7537 | ||
7538 | self = self; | |
7539 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetDocPointer",_kwnames,&_argo0)) | |
7540 | return NULL; | |
7541 | if (_argo0) { | |
7542 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7543 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
7544 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetDocPointer. Expected _wxStyledTextCtrl_p."); | |
7545 | return NULL; | |
7546 | } | |
7547 | } | |
7548 | { | |
0e2ff151 | 7549 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 7550 | _result = (void *)wxStyledTextCtrl_GetDocPointer(_arg0); |
8a2fa5c8 | 7551 | |
0e2ff151 RD |
7552 | wxPyEndAllowThreads(__tstate); |
7553 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
7554 | } if (_result) { |
7555 | SWIG_MakePtr(_ptemp, (char *) _result,"_void_p"); | |
7556 | _resultobj = Py_BuildValue("s",_ptemp); | |
7557 | } else { | |
7558 | Py_INCREF(Py_None); | |
7559 | _resultobj = Py_None; | |
7560 | } | |
7561 | return _resultobj; | |
7562 | } | |
7563 | ||
7564 | #define wxStyledTextCtrl_SetDocPointer(_swigobj,_swigarg0) (_swigobj->SetDocPointer(_swigarg0)) | |
7565 | static PyObject *_wrap_wxStyledTextCtrl_SetDocPointer(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7566 | PyObject * _resultobj; | |
7567 | wxStyledTextCtrl * _arg0; | |
7568 | void * _arg1; | |
7569 | PyObject * _argo0 = 0; | |
7570 | PyObject * _argo1 = 0; | |
7571 | char *_kwnames[] = { "self","docPointer", NULL }; | |
7572 | ||
7573 | self = self; | |
7574 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxStyledTextCtrl_SetDocPointer",_kwnames,&_argo0,&_argo1)) | |
7575 | return NULL; | |
7576 | if (_argo0) { | |
7577 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7578 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
7579 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetDocPointer. Expected _wxStyledTextCtrl_p."); | |
7580 | return NULL; | |
7581 | } | |
7582 | } | |
7583 | if (_argo1) { | |
7584 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
7585 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,(char *) 0 )) { | |
7586 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxStyledTextCtrl_SetDocPointer. Expected _void_p."); | |
7587 | return NULL; | |
7588 | } | |
7589 | } | |
7590 | { | |
0e2ff151 | 7591 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 7592 | wxStyledTextCtrl_SetDocPointer(_arg0,_arg1); |
8a2fa5c8 | 7593 | |
0e2ff151 RD |
7594 | wxPyEndAllowThreads(__tstate); |
7595 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
7596 | } Py_INCREF(Py_None); |
7597 | _resultobj = Py_None; | |
7598 | return _resultobj; | |
7599 | } | |
7600 | ||
7601 | #define wxStyledTextCtrl_SetModEventMask(_swigobj,_swigarg0) (_swigobj->SetModEventMask(_swigarg0)) | |
7602 | static PyObject *_wrap_wxStyledTextCtrl_SetModEventMask(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7603 | PyObject * _resultobj; | |
7604 | wxStyledTextCtrl * _arg0; | |
7605 | int _arg1; | |
7606 | PyObject * _argo0 = 0; | |
7607 | char *_kwnames[] = { "self","mask", NULL }; | |
7608 | ||
7609 | self = self; | |
7610 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_SetModEventMask",_kwnames,&_argo0,&_arg1)) | |
7611 | return NULL; | |
7612 | if (_argo0) { | |
7613 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7614 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
7615 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetModEventMask. Expected _wxStyledTextCtrl_p."); | |
7616 | return NULL; | |
7617 | } | |
7618 | } | |
7619 | { | |
0e2ff151 | 7620 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 7621 | wxStyledTextCtrl_SetModEventMask(_arg0,_arg1); |
8a2fa5c8 | 7622 | |
0e2ff151 RD |
7623 | wxPyEndAllowThreads(__tstate); |
7624 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
7625 | } Py_INCREF(Py_None); |
7626 | _resultobj = Py_None; | |
7627 | return _resultobj; | |
7628 | } | |
7629 | ||
7630 | #define wxStyledTextCtrl_GetEdgeColumn(_swigobj) (_swigobj->GetEdgeColumn()) | |
7631 | static PyObject *_wrap_wxStyledTextCtrl_GetEdgeColumn(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7632 | PyObject * _resultobj; | |
7633 | int _result; | |
7634 | wxStyledTextCtrl * _arg0; | |
7635 | PyObject * _argo0 = 0; | |
7636 | char *_kwnames[] = { "self", NULL }; | |
7637 | ||
7638 | self = self; | |
7639 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetEdgeColumn",_kwnames,&_argo0)) | |
7640 | return NULL; | |
7641 | if (_argo0) { | |
7642 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7643 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
7644 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetEdgeColumn. Expected _wxStyledTextCtrl_p."); | |
7645 | return NULL; | |
7646 | } | |
7647 | } | |
7648 | { | |
0e2ff151 | 7649 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 7650 | _result = (int )wxStyledTextCtrl_GetEdgeColumn(_arg0); |
8a2fa5c8 | 7651 | |
0e2ff151 RD |
7652 | wxPyEndAllowThreads(__tstate); |
7653 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
7654 | } _resultobj = Py_BuildValue("i",_result); |
7655 | return _resultobj; | |
7656 | } | |
7657 | ||
7658 | #define wxStyledTextCtrl_SetEdgeColumn(_swigobj,_swigarg0) (_swigobj->SetEdgeColumn(_swigarg0)) | |
7659 | static PyObject *_wrap_wxStyledTextCtrl_SetEdgeColumn(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7660 | PyObject * _resultobj; | |
7661 | wxStyledTextCtrl * _arg0; | |
7662 | int _arg1; | |
7663 | PyObject * _argo0 = 0; | |
7664 | char *_kwnames[] = { "self","column", NULL }; | |
7665 | ||
7666 | self = self; | |
7667 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_SetEdgeColumn",_kwnames,&_argo0,&_arg1)) | |
7668 | return NULL; | |
7669 | if (_argo0) { | |
7670 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7671 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
7672 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetEdgeColumn. Expected _wxStyledTextCtrl_p."); | |
7673 | return NULL; | |
7674 | } | |
7675 | } | |
7676 | { | |
0e2ff151 | 7677 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 7678 | wxStyledTextCtrl_SetEdgeColumn(_arg0,_arg1); |
8a2fa5c8 | 7679 | |
0e2ff151 RD |
7680 | wxPyEndAllowThreads(__tstate); |
7681 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
7682 | } Py_INCREF(Py_None); |
7683 | _resultobj = Py_None; | |
7684 | return _resultobj; | |
7685 | } | |
7686 | ||
7687 | #define wxStyledTextCtrl_GetEdgeMode(_swigobj) (_swigobj->GetEdgeMode()) | |
7688 | static PyObject *_wrap_wxStyledTextCtrl_GetEdgeMode(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7689 | PyObject * _resultobj; | |
7690 | int _result; | |
7691 | wxStyledTextCtrl * _arg0; | |
7692 | PyObject * _argo0 = 0; | |
7693 | char *_kwnames[] = { "self", NULL }; | |
7694 | ||
7695 | self = self; | |
7696 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetEdgeMode",_kwnames,&_argo0)) | |
7697 | return NULL; | |
7698 | if (_argo0) { | |
7699 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7700 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
7701 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetEdgeMode. Expected _wxStyledTextCtrl_p."); | |
7702 | return NULL; | |
7703 | } | |
7704 | } | |
7705 | { | |
0e2ff151 | 7706 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 7707 | _result = (int )wxStyledTextCtrl_GetEdgeMode(_arg0); |
8a2fa5c8 | 7708 | |
0e2ff151 RD |
7709 | wxPyEndAllowThreads(__tstate); |
7710 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
7711 | } _resultobj = Py_BuildValue("i",_result); |
7712 | return _resultobj; | |
7713 | } | |
7714 | ||
7715 | #define wxStyledTextCtrl_SetEdgeMode(_swigobj,_swigarg0) (_swigobj->SetEdgeMode(_swigarg0)) | |
7716 | static PyObject *_wrap_wxStyledTextCtrl_SetEdgeMode(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7717 | PyObject * _resultobj; | |
7718 | wxStyledTextCtrl * _arg0; | |
7719 | int _arg1; | |
7720 | PyObject * _argo0 = 0; | |
7721 | char *_kwnames[] = { "self","mode", NULL }; | |
7722 | ||
7723 | self = self; | |
7724 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_SetEdgeMode",_kwnames,&_argo0,&_arg1)) | |
7725 | return NULL; | |
7726 | if (_argo0) { | |
7727 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7728 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
7729 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetEdgeMode. Expected _wxStyledTextCtrl_p."); | |
7730 | return NULL; | |
7731 | } | |
7732 | } | |
7733 | { | |
0e2ff151 | 7734 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 7735 | wxStyledTextCtrl_SetEdgeMode(_arg0,_arg1); |
8a2fa5c8 | 7736 | |
0e2ff151 RD |
7737 | wxPyEndAllowThreads(__tstate); |
7738 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
7739 | } Py_INCREF(Py_None); |
7740 | _resultobj = Py_None; | |
7741 | return _resultobj; | |
7742 | } | |
7743 | ||
7744 | #define wxStyledTextCtrl_GetEdgeColour(_swigobj) (_swigobj->GetEdgeColour()) | |
7745 | static PyObject *_wrap_wxStyledTextCtrl_GetEdgeColour(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7746 | PyObject * _resultobj; | |
7747 | wxColour * _result; | |
7748 | wxStyledTextCtrl * _arg0; | |
7749 | PyObject * _argo0 = 0; | |
7750 | char *_kwnames[] = { "self", NULL }; | |
7751 | char _ptemp[128]; | |
7752 | ||
7753 | self = self; | |
7754 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetEdgeColour",_kwnames,&_argo0)) | |
7755 | return NULL; | |
7756 | if (_argo0) { | |
7757 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7758 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
7759 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetEdgeColour. Expected _wxStyledTextCtrl_p."); | |
7760 | return NULL; | |
7761 | } | |
7762 | } | |
7763 | { | |
0e2ff151 | 7764 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 7765 | _result = new wxColour (wxStyledTextCtrl_GetEdgeColour(_arg0)); |
8a2fa5c8 | 7766 | |
0e2ff151 RD |
7767 | wxPyEndAllowThreads(__tstate); |
7768 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
7769 | } SWIG_MakePtr(_ptemp, (void *) _result,"_wxColour_p"); |
7770 | _resultobj = Py_BuildValue("s",_ptemp); | |
7771 | return _resultobj; | |
7772 | } | |
7773 | ||
7774 | #define wxStyledTextCtrl_SetEdgeColour(_swigobj,_swigarg0) (_swigobj->SetEdgeColour(_swigarg0)) | |
7775 | static PyObject *_wrap_wxStyledTextCtrl_SetEdgeColour(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7776 | PyObject * _resultobj; | |
7777 | wxStyledTextCtrl * _arg0; | |
7778 | wxColour * _arg1; | |
7779 | PyObject * _argo0 = 0; | |
7780 | wxColour temp; | |
7781 | PyObject * _obj1 = 0; | |
7782 | char *_kwnames[] = { "self","edgeColour", NULL }; | |
7783 | ||
7784 | self = self; | |
7785 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxStyledTextCtrl_SetEdgeColour",_kwnames,&_argo0,&_obj1)) | |
7786 | return NULL; | |
7787 | if (_argo0) { | |
7788 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7789 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
7790 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetEdgeColour. Expected _wxStyledTextCtrl_p."); | |
7791 | return NULL; | |
7792 | } | |
7793 | } | |
7794 | { | |
7795 | _arg1 = &temp; | |
7796 | if (! wxColour_helper(_obj1, &_arg1)) | |
7797 | return NULL; | |
7798 | } | |
7799 | { | |
0e2ff151 | 7800 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 7801 | wxStyledTextCtrl_SetEdgeColour(_arg0,*_arg1); |
8a2fa5c8 | 7802 | |
0e2ff151 RD |
7803 | wxPyEndAllowThreads(__tstate); |
7804 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
7805 | } Py_INCREF(Py_None); |
7806 | _resultobj = Py_None; | |
7807 | return _resultobj; | |
7808 | } | |
7809 | ||
7810 | #define wxStyledTextCtrl_SearchAnchor(_swigobj) (_swigobj->SearchAnchor()) | |
7811 | static PyObject *_wrap_wxStyledTextCtrl_SearchAnchor(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7812 | PyObject * _resultobj; | |
7813 | wxStyledTextCtrl * _arg0; | |
7814 | PyObject * _argo0 = 0; | |
7815 | char *_kwnames[] = { "self", NULL }; | |
7816 | ||
7817 | self = self; | |
7818 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_SearchAnchor",_kwnames,&_argo0)) | |
7819 | return NULL; | |
7820 | if (_argo0) { | |
7821 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7822 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
7823 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SearchAnchor. Expected _wxStyledTextCtrl_p."); | |
7824 | return NULL; | |
7825 | } | |
7826 | } | |
7827 | { | |
0e2ff151 | 7828 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 7829 | wxStyledTextCtrl_SearchAnchor(_arg0); |
8a2fa5c8 | 7830 | |
0e2ff151 RD |
7831 | wxPyEndAllowThreads(__tstate); |
7832 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
7833 | } Py_INCREF(Py_None); |
7834 | _resultobj = Py_None; | |
7835 | return _resultobj; | |
7836 | } | |
7837 | ||
7838 | #define wxStyledTextCtrl_SearchNext(_swigobj,_swigarg0,_swigarg1) (_swigobj->SearchNext(_swigarg0,_swigarg1)) | |
7839 | static PyObject *_wrap_wxStyledTextCtrl_SearchNext(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7840 | PyObject * _resultobj; | |
7841 | int _result; | |
7842 | wxStyledTextCtrl * _arg0; | |
7843 | int _arg1; | |
7844 | wxString * _arg2; | |
7845 | PyObject * _argo0 = 0; | |
7846 | PyObject * _obj2 = 0; | |
7847 | char *_kwnames[] = { "self","flags","text", NULL }; | |
7848 | ||
7849 | self = self; | |
7850 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxStyledTextCtrl_SearchNext",_kwnames,&_argo0,&_arg1,&_obj2)) | |
7851 | return NULL; | |
7852 | if (_argo0) { | |
7853 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7854 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
7855 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SearchNext. Expected _wxStyledTextCtrl_p."); | |
7856 | return NULL; | |
7857 | } | |
7858 | } | |
7859 | { | |
6824d4f9 RD |
7860 | _arg2 = wxString_in_helper(_obj2); |
7861 | if (_arg2 == NULL) | |
8a2fa5c8 | 7862 | return NULL; |
8a2fa5c8 RD |
7863 | } |
7864 | { | |
0e2ff151 | 7865 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 7866 | _result = (int )wxStyledTextCtrl_SearchNext(_arg0,_arg1,*_arg2); |
8a2fa5c8 | 7867 | |
0e2ff151 RD |
7868 | wxPyEndAllowThreads(__tstate); |
7869 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
7870 | } _resultobj = Py_BuildValue("i",_result); |
7871 | { | |
7872 | if (_obj2) | |
7873 | delete _arg2; | |
7874 | } | |
7875 | return _resultobj; | |
7876 | } | |
7877 | ||
7878 | #define wxStyledTextCtrl_SearchPrev(_swigobj,_swigarg0,_swigarg1) (_swigobj->SearchPrev(_swigarg0,_swigarg1)) | |
7879 | static PyObject *_wrap_wxStyledTextCtrl_SearchPrev(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7880 | PyObject * _resultobj; | |
7881 | int _result; | |
7882 | wxStyledTextCtrl * _arg0; | |
7883 | int _arg1; | |
7884 | wxString * _arg2; | |
7885 | PyObject * _argo0 = 0; | |
7886 | PyObject * _obj2 = 0; | |
7887 | char *_kwnames[] = { "self","flags","text", NULL }; | |
7888 | ||
7889 | self = self; | |
7890 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxStyledTextCtrl_SearchPrev",_kwnames,&_argo0,&_arg1,&_obj2)) | |
7891 | return NULL; | |
7892 | if (_argo0) { | |
7893 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7894 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
7895 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SearchPrev. Expected _wxStyledTextCtrl_p."); | |
7896 | return NULL; | |
7897 | } | |
7898 | } | |
7899 | { | |
6824d4f9 RD |
7900 | _arg2 = wxString_in_helper(_obj2); |
7901 | if (_arg2 == NULL) | |
8a2fa5c8 | 7902 | return NULL; |
8a2fa5c8 RD |
7903 | } |
7904 | { | |
0e2ff151 | 7905 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 7906 | _result = (int )wxStyledTextCtrl_SearchPrev(_arg0,_arg1,*_arg2); |
8a2fa5c8 | 7907 | |
0e2ff151 RD |
7908 | wxPyEndAllowThreads(__tstate); |
7909 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
7910 | } _resultobj = Py_BuildValue("i",_result); |
7911 | { | |
7912 | if (_obj2) | |
7913 | delete _arg2; | |
7914 | } | |
7915 | return _resultobj; | |
7916 | } | |
7917 | ||
8a2fa5c8 RD |
7918 | #define wxStyledTextCtrl_LinesOnScreen(_swigobj) (_swigobj->LinesOnScreen()) |
7919 | static PyObject *_wrap_wxStyledTextCtrl_LinesOnScreen(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7920 | PyObject * _resultobj; | |
7921 | int _result; | |
7922 | wxStyledTextCtrl * _arg0; | |
7923 | PyObject * _argo0 = 0; | |
7924 | char *_kwnames[] = { "self", NULL }; | |
7925 | ||
7926 | self = self; | |
7927 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_LinesOnScreen",_kwnames,&_argo0)) | |
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_LinesOnScreen. Expected _wxStyledTextCtrl_p."); | |
7933 | return NULL; | |
7934 | } | |
7935 | } | |
7936 | { | |
0e2ff151 | 7937 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 7938 | _result = (int )wxStyledTextCtrl_LinesOnScreen(_arg0); |
8a2fa5c8 | 7939 | |
0e2ff151 RD |
7940 | wxPyEndAllowThreads(__tstate); |
7941 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
7942 | } _resultobj = Py_BuildValue("i",_result); |
7943 | return _resultobj; | |
7944 | } | |
7945 | ||
7946 | #define wxStyledTextCtrl_UsePopUp(_swigobj,_swigarg0) (_swigobj->UsePopUp(_swigarg0)) | |
7947 | static PyObject *_wrap_wxStyledTextCtrl_UsePopUp(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7948 | PyObject * _resultobj; | |
7949 | wxStyledTextCtrl * _arg0; | |
7950 | bool _arg1; | |
7951 | PyObject * _argo0 = 0; | |
7952 | int tempbool1; | |
7953 | char *_kwnames[] = { "self","allowPopUp", NULL }; | |
7954 | ||
7955 | self = self; | |
7956 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_UsePopUp",_kwnames,&_argo0,&tempbool1)) | |
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_UsePopUp. Expected _wxStyledTextCtrl_p."); | |
7962 | return NULL; | |
7963 | } | |
7964 | } | |
7965 | _arg1 = (bool ) tempbool1; | |
7966 | { | |
0e2ff151 | 7967 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 7968 | wxStyledTextCtrl_UsePopUp(_arg0,_arg1); |
8a2fa5c8 | 7969 | |
0e2ff151 RD |
7970 | wxPyEndAllowThreads(__tstate); |
7971 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
7972 | } Py_INCREF(Py_None); |
7973 | _resultobj = Py_None; | |
7974 | return _resultobj; | |
7975 | } | |
7976 | ||
7977 | #define wxStyledTextCtrl_SelectionIsRectangle(_swigobj) (_swigobj->SelectionIsRectangle()) | |
7978 | static PyObject *_wrap_wxStyledTextCtrl_SelectionIsRectangle(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7979 | PyObject * _resultobj; | |
7980 | bool _result; | |
7981 | wxStyledTextCtrl * _arg0; | |
7982 | PyObject * _argo0 = 0; | |
7983 | char *_kwnames[] = { "self", NULL }; | |
7984 | ||
7985 | self = self; | |
7986 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_SelectionIsRectangle",_kwnames,&_argo0)) | |
7987 | return NULL; | |
7988 | if (_argo0) { | |
7989 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7990 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
7991 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SelectionIsRectangle. Expected _wxStyledTextCtrl_p."); | |
7992 | return NULL; | |
7993 | } | |
7994 | } | |
7995 | { | |
0e2ff151 | 7996 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 7997 | _result = (bool )wxStyledTextCtrl_SelectionIsRectangle(_arg0); |
8a2fa5c8 | 7998 | |
0e2ff151 RD |
7999 | wxPyEndAllowThreads(__tstate); |
8000 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
8001 | } _resultobj = Py_BuildValue("i",_result); |
8002 | return _resultobj; | |
8003 | } | |
8004 | ||
8005 | #define wxStyledTextCtrl_SetZoom(_swigobj,_swigarg0) (_swigobj->SetZoom(_swigarg0)) | |
8006 | static PyObject *_wrap_wxStyledTextCtrl_SetZoom(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8007 | PyObject * _resultobj; | |
8008 | wxStyledTextCtrl * _arg0; | |
8009 | int _arg1; | |
8010 | PyObject * _argo0 = 0; | |
8011 | char *_kwnames[] = { "self","zoom", NULL }; | |
8012 | ||
8013 | self = self; | |
8014 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_SetZoom",_kwnames,&_argo0,&_arg1)) | |
8015 | return NULL; | |
8016 | if (_argo0) { | |
8017 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
8018 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
8019 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetZoom. Expected _wxStyledTextCtrl_p."); | |
8020 | return NULL; | |
8021 | } | |
8022 | } | |
8023 | { | |
0e2ff151 | 8024 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 8025 | wxStyledTextCtrl_SetZoom(_arg0,_arg1); |
8a2fa5c8 | 8026 | |
0e2ff151 RD |
8027 | wxPyEndAllowThreads(__tstate); |
8028 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
8029 | } Py_INCREF(Py_None); |
8030 | _resultobj = Py_None; | |
8031 | return _resultobj; | |
8032 | } | |
8033 | ||
8034 | #define wxStyledTextCtrl_GetZoom(_swigobj) (_swigobj->GetZoom()) | |
8035 | static PyObject *_wrap_wxStyledTextCtrl_GetZoom(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8036 | PyObject * _resultobj; | |
8037 | int _result; | |
8038 | wxStyledTextCtrl * _arg0; | |
8039 | PyObject * _argo0 = 0; | |
8040 | char *_kwnames[] = { "self", NULL }; | |
8041 | ||
8042 | self = self; | |
8043 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetZoom",_kwnames,&_argo0)) | |
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_GetZoom. Expected _wxStyledTextCtrl_p."); | |
8049 | return NULL; | |
8050 | } | |
8051 | } | |
8052 | { | |
0e2ff151 | 8053 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 8054 | _result = (int )wxStyledTextCtrl_GetZoom(_arg0); |
8a2fa5c8 | 8055 | |
0e2ff151 RD |
8056 | wxPyEndAllowThreads(__tstate); |
8057 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
8058 | } _resultobj = Py_BuildValue("i",_result); |
8059 | return _resultobj; | |
8060 | } | |
8061 | ||
8062 | #define wxStyledTextCtrl_CreateDocument(_swigobj) (_swigobj->CreateDocument()) | |
8063 | static PyObject *_wrap_wxStyledTextCtrl_CreateDocument(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8064 | PyObject * _resultobj; | |
8065 | void * _result; | |
8066 | wxStyledTextCtrl * _arg0; | |
8067 | PyObject * _argo0 = 0; | |
8068 | char *_kwnames[] = { "self", NULL }; | |
8069 | char _ptemp[128]; | |
8070 | ||
8071 | self = self; | |
8072 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_CreateDocument",_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_CreateDocument. Expected _wxStyledTextCtrl_p."); | |
8078 | return NULL; | |
8079 | } | |
8080 | } | |
8081 | { | |
0e2ff151 | 8082 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 8083 | _result = (void *)wxStyledTextCtrl_CreateDocument(_arg0); |
8a2fa5c8 | 8084 | |
0e2ff151 RD |
8085 | wxPyEndAllowThreads(__tstate); |
8086 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
8087 | } if (_result) { |
8088 | SWIG_MakePtr(_ptemp, (char *) _result,"_void_p"); | |
8089 | _resultobj = Py_BuildValue("s",_ptemp); | |
8090 | } else { | |
8091 | Py_INCREF(Py_None); | |
8092 | _resultobj = Py_None; | |
8093 | } | |
8094 | return _resultobj; | |
8095 | } | |
8096 | ||
8097 | #define wxStyledTextCtrl_AddRefDocument(_swigobj,_swigarg0) (_swigobj->AddRefDocument(_swigarg0)) | |
8098 | static PyObject *_wrap_wxStyledTextCtrl_AddRefDocument(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8099 | PyObject * _resultobj; | |
8100 | wxStyledTextCtrl * _arg0; | |
8101 | void * _arg1; | |
8102 | PyObject * _argo0 = 0; | |
8103 | PyObject * _argo1 = 0; | |
8104 | char *_kwnames[] = { "self","docPointer", NULL }; | |
8105 | ||
8106 | self = self; | |
8107 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxStyledTextCtrl_AddRefDocument",_kwnames,&_argo0,&_argo1)) | |
8108 | return NULL; | |
8109 | if (_argo0) { | |
8110 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
8111 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
8112 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_AddRefDocument. Expected _wxStyledTextCtrl_p."); | |
8113 | return NULL; | |
8114 | } | |
8115 | } | |
8116 | if (_argo1) { | |
8117 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
8118 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,(char *) 0 )) { | |
8119 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxStyledTextCtrl_AddRefDocument. Expected _void_p."); | |
8120 | return NULL; | |
8121 | } | |
8122 | } | |
8123 | { | |
0e2ff151 | 8124 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 8125 | wxStyledTextCtrl_AddRefDocument(_arg0,_arg1); |
8a2fa5c8 | 8126 | |
0e2ff151 RD |
8127 | wxPyEndAllowThreads(__tstate); |
8128 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
8129 | } Py_INCREF(Py_None); |
8130 | _resultobj = Py_None; | |
8131 | return _resultobj; | |
8132 | } | |
8133 | ||
8134 | #define wxStyledTextCtrl_ReleaseDocument(_swigobj,_swigarg0) (_swigobj->ReleaseDocument(_swigarg0)) | |
8135 | static PyObject *_wrap_wxStyledTextCtrl_ReleaseDocument(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8136 | PyObject * _resultobj; | |
8137 | wxStyledTextCtrl * _arg0; | |
8138 | void * _arg1; | |
8139 | PyObject * _argo0 = 0; | |
8140 | PyObject * _argo1 = 0; | |
8141 | char *_kwnames[] = { "self","docPointer", NULL }; | |
8142 | ||
8143 | self = self; | |
8144 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxStyledTextCtrl_ReleaseDocument",_kwnames,&_argo0,&_argo1)) | |
8145 | return NULL; | |
8146 | if (_argo0) { | |
8147 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
8148 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
8149 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_ReleaseDocument. Expected _wxStyledTextCtrl_p."); | |
8150 | return NULL; | |
8151 | } | |
8152 | } | |
8153 | if (_argo1) { | |
8154 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
8155 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,(char *) 0 )) { | |
8156 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxStyledTextCtrl_ReleaseDocument. Expected _void_p."); | |
8157 | return NULL; | |
8158 | } | |
8159 | } | |
8160 | { | |
0e2ff151 | 8161 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 8162 | wxStyledTextCtrl_ReleaseDocument(_arg0,_arg1); |
8a2fa5c8 | 8163 | |
0e2ff151 RD |
8164 | wxPyEndAllowThreads(__tstate); |
8165 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
8166 | } Py_INCREF(Py_None); |
8167 | _resultobj = Py_None; | |
8168 | return _resultobj; | |
8169 | } | |
8170 | ||
8171 | #define wxStyledTextCtrl_GetModEventMask(_swigobj) (_swigobj->GetModEventMask()) | |
8172 | static PyObject *_wrap_wxStyledTextCtrl_GetModEventMask(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8173 | PyObject * _resultobj; | |
8174 | int _result; | |
8175 | wxStyledTextCtrl * _arg0; | |
8176 | PyObject * _argo0 = 0; | |
8177 | char *_kwnames[] = { "self", NULL }; | |
8178 | ||
8179 | self = self; | |
8180 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetModEventMask",_kwnames,&_argo0)) | |
8181 | return NULL; | |
8182 | if (_argo0) { | |
8183 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
8184 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
8185 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetModEventMask. Expected _wxStyledTextCtrl_p."); | |
8186 | return NULL; | |
8187 | } | |
8188 | } | |
8189 | { | |
0e2ff151 | 8190 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 8191 | _result = (int )wxStyledTextCtrl_GetModEventMask(_arg0); |
8a2fa5c8 | 8192 | |
0e2ff151 RD |
8193 | wxPyEndAllowThreads(__tstate); |
8194 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
8195 | } _resultobj = Py_BuildValue("i",_result); |
8196 | return _resultobj; | |
8197 | } | |
8198 | ||
8199 | #define wxStyledTextCtrl_SetSTCFocus(_swigobj,_swigarg0) (_swigobj->SetSTCFocus(_swigarg0)) | |
8200 | static PyObject *_wrap_wxStyledTextCtrl_SetSTCFocus(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8201 | PyObject * _resultobj; | |
8202 | wxStyledTextCtrl * _arg0; | |
8203 | bool _arg1; | |
8204 | PyObject * _argo0 = 0; | |
8205 | int tempbool1; | |
8206 | char *_kwnames[] = { "self","focus", NULL }; | |
8207 | ||
8208 | self = self; | |
8209 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_SetSTCFocus",_kwnames,&_argo0,&tempbool1)) | |
8210 | return NULL; | |
8211 | if (_argo0) { | |
8212 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
8213 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
8214 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetSTCFocus. Expected _wxStyledTextCtrl_p."); | |
8215 | return NULL; | |
8216 | } | |
8217 | } | |
8218 | _arg1 = (bool ) tempbool1; | |
8219 | { | |
0e2ff151 | 8220 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 8221 | wxStyledTextCtrl_SetSTCFocus(_arg0,_arg1); |
8a2fa5c8 | 8222 | |
0e2ff151 RD |
8223 | wxPyEndAllowThreads(__tstate); |
8224 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
8225 | } Py_INCREF(Py_None); |
8226 | _resultobj = Py_None; | |
8227 | return _resultobj; | |
8228 | } | |
8229 | ||
8230 | #define wxStyledTextCtrl_GetSTCFocus(_swigobj) (_swigobj->GetSTCFocus()) | |
8231 | static PyObject *_wrap_wxStyledTextCtrl_GetSTCFocus(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8232 | PyObject * _resultobj; | |
8233 | bool _result; | |
8234 | wxStyledTextCtrl * _arg0; | |
8235 | PyObject * _argo0 = 0; | |
8236 | char *_kwnames[] = { "self", NULL }; | |
8237 | ||
8238 | self = self; | |
8239 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetSTCFocus",_kwnames,&_argo0)) | |
8240 | return NULL; | |
8241 | if (_argo0) { | |
8242 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
8243 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
8244 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetSTCFocus. Expected _wxStyledTextCtrl_p."); | |
8245 | return NULL; | |
8246 | } | |
8247 | } | |
8248 | { | |
0e2ff151 | 8249 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 8250 | _result = (bool )wxStyledTextCtrl_GetSTCFocus(_arg0); |
8a2fa5c8 | 8251 | |
0e2ff151 RD |
8252 | wxPyEndAllowThreads(__tstate); |
8253 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
8254 | } _resultobj = Py_BuildValue("i",_result); |
8255 | return _resultobj; | |
8256 | } | |
8257 | ||
8258 | #define wxStyledTextCtrl_SetStatus(_swigobj,_swigarg0) (_swigobj->SetStatus(_swigarg0)) | |
8259 | static PyObject *_wrap_wxStyledTextCtrl_SetStatus(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8260 | PyObject * _resultobj; | |
8261 | wxStyledTextCtrl * _arg0; | |
8262 | int _arg1; | |
8263 | PyObject * _argo0 = 0; | |
8264 | char *_kwnames[] = { "self","statusCode", NULL }; | |
8265 | ||
8266 | self = self; | |
8267 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_SetStatus",_kwnames,&_argo0,&_arg1)) | |
8268 | return NULL; | |
8269 | if (_argo0) { | |
8270 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
8271 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
8272 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetStatus. Expected _wxStyledTextCtrl_p."); | |
8273 | return NULL; | |
8274 | } | |
8275 | } | |
8276 | { | |
0e2ff151 | 8277 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 8278 | wxStyledTextCtrl_SetStatus(_arg0,_arg1); |
8a2fa5c8 | 8279 | |
0e2ff151 RD |
8280 | wxPyEndAllowThreads(__tstate); |
8281 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
8282 | } Py_INCREF(Py_None); |
8283 | _resultobj = Py_None; | |
8284 | return _resultobj; | |
8285 | } | |
8286 | ||
8287 | #define wxStyledTextCtrl_GetStatus(_swigobj) (_swigobj->GetStatus()) | |
8288 | static PyObject *_wrap_wxStyledTextCtrl_GetStatus(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8289 | PyObject * _resultobj; | |
8290 | int _result; | |
8291 | wxStyledTextCtrl * _arg0; | |
8292 | PyObject * _argo0 = 0; | |
8293 | char *_kwnames[] = { "self", NULL }; | |
8294 | ||
8295 | self = self; | |
8296 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetStatus",_kwnames,&_argo0)) | |
8297 | return NULL; | |
8298 | if (_argo0) { | |
8299 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
8300 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
8301 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetStatus. Expected _wxStyledTextCtrl_p."); | |
8302 | return NULL; | |
8303 | } | |
8304 | } | |
8305 | { | |
0e2ff151 | 8306 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 8307 | _result = (int )wxStyledTextCtrl_GetStatus(_arg0); |
8a2fa5c8 | 8308 | |
0e2ff151 RD |
8309 | wxPyEndAllowThreads(__tstate); |
8310 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
8311 | } _resultobj = Py_BuildValue("i",_result); |
8312 | return _resultobj; | |
8313 | } | |
8314 | ||
8315 | #define wxStyledTextCtrl_SetMouseDownCaptures(_swigobj,_swigarg0) (_swigobj->SetMouseDownCaptures(_swigarg0)) | |
8316 | static PyObject *_wrap_wxStyledTextCtrl_SetMouseDownCaptures(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8317 | PyObject * _resultobj; | |
8318 | wxStyledTextCtrl * _arg0; | |
8319 | bool _arg1; | |
8320 | PyObject * _argo0 = 0; | |
8321 | int tempbool1; | |
8322 | char *_kwnames[] = { "self","captures", NULL }; | |
8323 | ||
8324 | self = self; | |
8325 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_SetMouseDownCaptures",_kwnames,&_argo0,&tempbool1)) | |
8326 | return NULL; | |
8327 | if (_argo0) { | |
8328 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
8329 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
8330 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetMouseDownCaptures. Expected _wxStyledTextCtrl_p."); | |
8331 | return NULL; | |
8332 | } | |
8333 | } | |
8334 | _arg1 = (bool ) tempbool1; | |
8335 | { | |
0e2ff151 | 8336 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 8337 | wxStyledTextCtrl_SetMouseDownCaptures(_arg0,_arg1); |
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 | ||
8346 | #define wxStyledTextCtrl_GetMouseDownCaptures(_swigobj) (_swigobj->GetMouseDownCaptures()) | |
8347 | static PyObject *_wrap_wxStyledTextCtrl_GetMouseDownCaptures(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8348 | PyObject * _resultobj; | |
8349 | bool _result; | |
8350 | wxStyledTextCtrl * _arg0; | |
8351 | PyObject * _argo0 = 0; | |
8352 | char *_kwnames[] = { "self", NULL }; | |
8353 | ||
8354 | self = self; | |
8355 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetMouseDownCaptures",_kwnames,&_argo0)) | |
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_GetMouseDownCaptures. Expected _wxStyledTextCtrl_p."); | |
8361 | return NULL; | |
8362 | } | |
8363 | } | |
8364 | { | |
0e2ff151 | 8365 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 8366 | _result = (bool )wxStyledTextCtrl_GetMouseDownCaptures(_arg0); |
8a2fa5c8 | 8367 | |
0e2ff151 RD |
8368 | wxPyEndAllowThreads(__tstate); |
8369 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
8370 | } _resultobj = Py_BuildValue("i",_result); |
8371 | return _resultobj; | |
8372 | } | |
8373 | ||
8374 | #define wxStyledTextCtrl_SetCursor(_swigobj,_swigarg0) (_swigobj->SetCursor(_swigarg0)) | |
8375 | static PyObject *_wrap_wxStyledTextCtrl_SetCursor(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8376 | PyObject * _resultobj; | |
8377 | wxStyledTextCtrl * _arg0; | |
8378 | int _arg1; | |
8379 | PyObject * _argo0 = 0; | |
8380 | char *_kwnames[] = { "self","cursorType", NULL }; | |
8381 | ||
8382 | self = self; | |
8383 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_SetCursor",_kwnames,&_argo0,&_arg1)) | |
8384 | return NULL; | |
8385 | if (_argo0) { | |
8386 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
8387 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
8388 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetCursor. Expected _wxStyledTextCtrl_p."); | |
8389 | return NULL; | |
8390 | } | |
8391 | } | |
8392 | { | |
0e2ff151 | 8393 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 8394 | wxStyledTextCtrl_SetCursor(_arg0,_arg1); |
8a2fa5c8 | 8395 | |
0e2ff151 RD |
8396 | wxPyEndAllowThreads(__tstate); |
8397 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
8398 | } Py_INCREF(Py_None); |
8399 | _resultobj = Py_None; | |
8400 | return _resultobj; | |
8401 | } | |
8402 | ||
8403 | #define wxStyledTextCtrl_GetCursor(_swigobj) (_swigobj->GetCursor()) | |
8404 | static PyObject *_wrap_wxStyledTextCtrl_GetCursor(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8405 | PyObject * _resultobj; | |
8406 | int _result; | |
8407 | wxStyledTextCtrl * _arg0; | |
8408 | PyObject * _argo0 = 0; | |
8409 | char *_kwnames[] = { "self", NULL }; | |
8410 | ||
8411 | self = self; | |
8412 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetCursor",_kwnames,&_argo0)) | |
8413 | return NULL; | |
8414 | if (_argo0) { | |
8415 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
8416 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
8417 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetCursor. Expected _wxStyledTextCtrl_p."); | |
8418 | return NULL; | |
8419 | } | |
8420 | } | |
8421 | { | |
0e2ff151 | 8422 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 8423 | _result = (int )wxStyledTextCtrl_GetCursor(_arg0); |
8a2fa5c8 | 8424 | |
0e2ff151 RD |
8425 | wxPyEndAllowThreads(__tstate); |
8426 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
8427 | } _resultobj = Py_BuildValue("i",_result); |
8428 | return _resultobj; | |
8429 | } | |
8430 | ||
c3bfa1cb RD |
8431 | #define wxStyledTextCtrl_SetControlCharSymbol(_swigobj,_swigarg0) (_swigobj->SetControlCharSymbol(_swigarg0)) |
8432 | static PyObject *_wrap_wxStyledTextCtrl_SetControlCharSymbol(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8433 | PyObject * _resultobj; | |
8434 | wxStyledTextCtrl * _arg0; | |
8435 | int _arg1; | |
8436 | PyObject * _argo0 = 0; | |
8437 | char *_kwnames[] = { "self","symbol", NULL }; | |
8438 | ||
8439 | self = self; | |
8440 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_SetControlCharSymbol",_kwnames,&_argo0,&_arg1)) | |
8441 | return NULL; | |
8442 | if (_argo0) { | |
8443 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
8444 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
8445 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetControlCharSymbol. Expected _wxStyledTextCtrl_p."); | |
8446 | return NULL; | |
8447 | } | |
8448 | } | |
8449 | { | |
8450 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8451 | wxStyledTextCtrl_SetControlCharSymbol(_arg0,_arg1); | |
8452 | ||
8453 | wxPyEndAllowThreads(__tstate); | |
8454 | if (PyErr_Occurred()) return NULL; | |
8455 | } Py_INCREF(Py_None); | |
8456 | _resultobj = Py_None; | |
8457 | return _resultobj; | |
8458 | } | |
8459 | ||
8460 | #define wxStyledTextCtrl_GetControlCharSymbol(_swigobj) (_swigobj->GetControlCharSymbol()) | |
8461 | static PyObject *_wrap_wxStyledTextCtrl_GetControlCharSymbol(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8462 | PyObject * _resultobj; | |
8463 | int _result; | |
8464 | wxStyledTextCtrl * _arg0; | |
8465 | PyObject * _argo0 = 0; | |
8466 | char *_kwnames[] = { "self", NULL }; | |
8467 | ||
8468 | self = self; | |
8469 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetControlCharSymbol",_kwnames,&_argo0)) | |
8470 | return NULL; | |
8471 | if (_argo0) { | |
8472 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
8473 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
8474 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetControlCharSymbol. Expected _wxStyledTextCtrl_p."); | |
8475 | return NULL; | |
8476 | } | |
8477 | } | |
8478 | { | |
8479 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8480 | _result = (int )wxStyledTextCtrl_GetControlCharSymbol(_arg0); | |
8481 | ||
8482 | wxPyEndAllowThreads(__tstate); | |
8483 | if (PyErr_Occurred()) return NULL; | |
8484 | } _resultobj = Py_BuildValue("i",_result); | |
8485 | return _resultobj; | |
8486 | } | |
8487 | ||
8a2fa5c8 RD |
8488 | #define wxStyledTextCtrl_WordPartLeft(_swigobj) (_swigobj->WordPartLeft()) |
8489 | static PyObject *_wrap_wxStyledTextCtrl_WordPartLeft(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8490 | PyObject * _resultobj; | |
8491 | wxStyledTextCtrl * _arg0; | |
8492 | PyObject * _argo0 = 0; | |
8493 | char *_kwnames[] = { "self", NULL }; | |
8494 | ||
8495 | self = self; | |
8496 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_WordPartLeft",_kwnames,&_argo0)) | |
8497 | return NULL; | |
8498 | if (_argo0) { | |
8499 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
8500 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
8501 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_WordPartLeft. Expected _wxStyledTextCtrl_p."); | |
8502 | return NULL; | |
8503 | } | |
8504 | } | |
8505 | { | |
0e2ff151 | 8506 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 8507 | wxStyledTextCtrl_WordPartLeft(_arg0); |
8a2fa5c8 | 8508 | |
0e2ff151 RD |
8509 | wxPyEndAllowThreads(__tstate); |
8510 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
8511 | } Py_INCREF(Py_None); |
8512 | _resultobj = Py_None; | |
8513 | return _resultobj; | |
8514 | } | |
8515 | ||
8516 | #define wxStyledTextCtrl_WordPartLeftExtend(_swigobj) (_swigobj->WordPartLeftExtend()) | |
8517 | static PyObject *_wrap_wxStyledTextCtrl_WordPartLeftExtend(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8518 | PyObject * _resultobj; | |
8519 | wxStyledTextCtrl * _arg0; | |
8520 | PyObject * _argo0 = 0; | |
8521 | char *_kwnames[] = { "self", NULL }; | |
8522 | ||
8523 | self = self; | |
8524 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_WordPartLeftExtend",_kwnames,&_argo0)) | |
8525 | return NULL; | |
8526 | if (_argo0) { | |
8527 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
8528 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
8529 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_WordPartLeftExtend. Expected _wxStyledTextCtrl_p."); | |
8530 | return NULL; | |
8531 | } | |
8532 | } | |
8533 | { | |
0e2ff151 | 8534 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 8535 | wxStyledTextCtrl_WordPartLeftExtend(_arg0); |
8a2fa5c8 | 8536 | |
0e2ff151 RD |
8537 | wxPyEndAllowThreads(__tstate); |
8538 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
8539 | } Py_INCREF(Py_None); |
8540 | _resultobj = Py_None; | |
8541 | return _resultobj; | |
8542 | } | |
8543 | ||
8544 | #define wxStyledTextCtrl_WordPartRight(_swigobj) (_swigobj->WordPartRight()) | |
8545 | static PyObject *_wrap_wxStyledTextCtrl_WordPartRight(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8546 | PyObject * _resultobj; | |
8547 | wxStyledTextCtrl * _arg0; | |
8548 | PyObject * _argo0 = 0; | |
8549 | char *_kwnames[] = { "self", NULL }; | |
8550 | ||
8551 | self = self; | |
8552 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_WordPartRight",_kwnames,&_argo0)) | |
8553 | return NULL; | |
8554 | if (_argo0) { | |
8555 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
8556 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
8557 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_WordPartRight. Expected _wxStyledTextCtrl_p."); | |
8558 | return NULL; | |
8559 | } | |
8560 | } | |
8561 | { | |
0e2ff151 | 8562 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 8563 | wxStyledTextCtrl_WordPartRight(_arg0); |
8a2fa5c8 | 8564 | |
0e2ff151 RD |
8565 | wxPyEndAllowThreads(__tstate); |
8566 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
8567 | } Py_INCREF(Py_None); |
8568 | _resultobj = Py_None; | |
8569 | return _resultobj; | |
8570 | } | |
8571 | ||
8572 | #define wxStyledTextCtrl_WordPartRightExtend(_swigobj) (_swigobj->WordPartRightExtend()) | |
8573 | static PyObject *_wrap_wxStyledTextCtrl_WordPartRightExtend(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8574 | PyObject * _resultobj; | |
8575 | wxStyledTextCtrl * _arg0; | |
8576 | PyObject * _argo0 = 0; | |
8577 | char *_kwnames[] = { "self", NULL }; | |
8578 | ||
8579 | self = self; | |
8580 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_WordPartRightExtend",_kwnames,&_argo0)) | |
8581 | return NULL; | |
8582 | if (_argo0) { | |
8583 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
8584 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
8585 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_WordPartRightExtend. Expected _wxStyledTextCtrl_p."); | |
8586 | return NULL; | |
8587 | } | |
8588 | } | |
8589 | { | |
0e2ff151 | 8590 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 8591 | wxStyledTextCtrl_WordPartRightExtend(_arg0); |
8a2fa5c8 | 8592 | |
0e2ff151 RD |
8593 | wxPyEndAllowThreads(__tstate); |
8594 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
8595 | } Py_INCREF(Py_None); |
8596 | _resultobj = Py_None; | |
8597 | return _resultobj; | |
8598 | } | |
8599 | ||
8600 | #define wxStyledTextCtrl_SetVisiblePolicy(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetVisiblePolicy(_swigarg0,_swigarg1)) | |
8601 | static PyObject *_wrap_wxStyledTextCtrl_SetVisiblePolicy(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8602 | PyObject * _resultobj; | |
8603 | wxStyledTextCtrl * _arg0; | |
8604 | int _arg1; | |
8605 | int _arg2; | |
8606 | PyObject * _argo0 = 0; | |
8607 | char *_kwnames[] = { "self","visiblePolicy","visibleSlop", NULL }; | |
8608 | ||
8609 | self = self; | |
8610 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxStyledTextCtrl_SetVisiblePolicy",_kwnames,&_argo0,&_arg1,&_arg2)) | |
8611 | return NULL; | |
8612 | if (_argo0) { | |
8613 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
8614 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
8615 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetVisiblePolicy. Expected _wxStyledTextCtrl_p."); | |
8616 | return NULL; | |
8617 | } | |
8618 | } | |
8619 | { | |
0e2ff151 | 8620 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 8621 | wxStyledTextCtrl_SetVisiblePolicy(_arg0,_arg1,_arg2); |
8a2fa5c8 | 8622 | |
0e2ff151 RD |
8623 | wxPyEndAllowThreads(__tstate); |
8624 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
8625 | } Py_INCREF(Py_None); |
8626 | _resultobj = Py_None; | |
8627 | return _resultobj; | |
8628 | } | |
8629 | ||
8630 | #define wxStyledTextCtrl_DelLineLeft(_swigobj) (_swigobj->DelLineLeft()) | |
8631 | static PyObject *_wrap_wxStyledTextCtrl_DelLineLeft(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8632 | PyObject * _resultobj; | |
8633 | wxStyledTextCtrl * _arg0; | |
8634 | PyObject * _argo0 = 0; | |
8635 | char *_kwnames[] = { "self", NULL }; | |
8636 | ||
8637 | self = self; | |
8638 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_DelLineLeft",_kwnames,&_argo0)) | |
8639 | return NULL; | |
8640 | if (_argo0) { | |
8641 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
8642 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
8643 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_DelLineLeft. Expected _wxStyledTextCtrl_p."); | |
8644 | return NULL; | |
8645 | } | |
8646 | } | |
8647 | { | |
0e2ff151 | 8648 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 8649 | wxStyledTextCtrl_DelLineLeft(_arg0); |
8a2fa5c8 | 8650 | |
0e2ff151 RD |
8651 | wxPyEndAllowThreads(__tstate); |
8652 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
8653 | } Py_INCREF(Py_None); |
8654 | _resultobj = Py_None; | |
8655 | return _resultobj; | |
8656 | } | |
8657 | ||
8658 | #define wxStyledTextCtrl_DelLineRight(_swigobj) (_swigobj->DelLineRight()) | |
8659 | static PyObject *_wrap_wxStyledTextCtrl_DelLineRight(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8660 | PyObject * _resultobj; | |
8661 | wxStyledTextCtrl * _arg0; | |
8662 | PyObject * _argo0 = 0; | |
8663 | char *_kwnames[] = { "self", NULL }; | |
8664 | ||
8665 | self = self; | |
8666 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_DelLineRight",_kwnames,&_argo0)) | |
8667 | return NULL; | |
8668 | if (_argo0) { | |
8669 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
8670 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
8671 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_DelLineRight. Expected _wxStyledTextCtrl_p."); | |
8672 | return NULL; | |
8673 | } | |
8674 | } | |
8675 | { | |
0e2ff151 | 8676 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 8677 | wxStyledTextCtrl_DelLineRight(_arg0); |
8a2fa5c8 | 8678 | |
0e2ff151 RD |
8679 | wxPyEndAllowThreads(__tstate); |
8680 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
8681 | } Py_INCREF(Py_None); |
8682 | _resultobj = Py_None; | |
8683 | return _resultobj; | |
8684 | } | |
8685 | ||
c3bfa1cb RD |
8686 | #define wxStyledTextCtrl_SetXOffset(_swigobj,_swigarg0) (_swigobj->SetXOffset(_swigarg0)) |
8687 | static PyObject *_wrap_wxStyledTextCtrl_SetXOffset(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8688 | PyObject * _resultobj; | |
8689 | wxStyledTextCtrl * _arg0; | |
8690 | int _arg1; | |
8691 | PyObject * _argo0 = 0; | |
8692 | char *_kwnames[] = { "self","newOffset", NULL }; | |
8693 | ||
8694 | self = self; | |
8695 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_SetXOffset",_kwnames,&_argo0,&_arg1)) | |
8696 | return NULL; | |
8697 | if (_argo0) { | |
8698 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
8699 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
8700 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetXOffset. Expected _wxStyledTextCtrl_p."); | |
8701 | return NULL; | |
8702 | } | |
8703 | } | |
8704 | { | |
8705 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8706 | wxStyledTextCtrl_SetXOffset(_arg0,_arg1); | |
8707 | ||
8708 | wxPyEndAllowThreads(__tstate); | |
8709 | if (PyErr_Occurred()) return NULL; | |
8710 | } Py_INCREF(Py_None); | |
8711 | _resultobj = Py_None; | |
8712 | return _resultobj; | |
8713 | } | |
8714 | ||
8715 | #define wxStyledTextCtrl_GetXOffset(_swigobj) (_swigobj->GetXOffset()) | |
8716 | static PyObject *_wrap_wxStyledTextCtrl_GetXOffset(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8717 | PyObject * _resultobj; | |
8718 | int _result; | |
8719 | wxStyledTextCtrl * _arg0; | |
8720 | PyObject * _argo0 = 0; | |
8721 | char *_kwnames[] = { "self", NULL }; | |
8722 | ||
8723 | self = self; | |
8724 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetXOffset",_kwnames,&_argo0)) | |
8725 | return NULL; | |
8726 | if (_argo0) { | |
8727 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
8728 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
8729 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetXOffset. Expected _wxStyledTextCtrl_p."); | |
8730 | return NULL; | |
8731 | } | |
8732 | } | |
8733 | { | |
8734 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8735 | _result = (int )wxStyledTextCtrl_GetXOffset(_arg0); | |
8736 | ||
8737 | wxPyEndAllowThreads(__tstate); | |
8738 | if (PyErr_Occurred()) return NULL; | |
8739 | } _resultobj = Py_BuildValue("i",_result); | |
8740 | return _resultobj; | |
8741 | } | |
8742 | ||
47a06a26 RD |
8743 | #define wxStyledTextCtrl_SetXCaretPolicy(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetXCaretPolicy(_swigarg0,_swigarg1)) |
8744 | static PyObject *_wrap_wxStyledTextCtrl_SetXCaretPolicy(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8745 | PyObject * _resultobj; | |
8746 | wxStyledTextCtrl * _arg0; | |
8747 | int _arg1; | |
8748 | int _arg2; | |
8749 | PyObject * _argo0 = 0; | |
8750 | char *_kwnames[] = { "self","caretPolicy","caretSlop", NULL }; | |
8751 | ||
8752 | self = self; | |
8753 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxStyledTextCtrl_SetXCaretPolicy",_kwnames,&_argo0,&_arg1,&_arg2)) | |
8754 | return NULL; | |
8755 | if (_argo0) { | |
8756 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
8757 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
8758 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetXCaretPolicy. Expected _wxStyledTextCtrl_p."); | |
8759 | return NULL; | |
8760 | } | |
8761 | } | |
8762 | { | |
8763 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8764 | wxStyledTextCtrl_SetXCaretPolicy(_arg0,_arg1,_arg2); | |
8765 | ||
8766 | wxPyEndAllowThreads(__tstate); | |
8767 | if (PyErr_Occurred()) return NULL; | |
8768 | } Py_INCREF(Py_None); | |
8769 | _resultobj = Py_None; | |
8770 | return _resultobj; | |
8771 | } | |
8772 | ||
8773 | #define wxStyledTextCtrl_SetYCaretPolicy(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetYCaretPolicy(_swigarg0,_swigarg1)) | |
8774 | static PyObject *_wrap_wxStyledTextCtrl_SetYCaretPolicy(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8775 | PyObject * _resultobj; | |
8776 | wxStyledTextCtrl * _arg0; | |
8777 | int _arg1; | |
8778 | int _arg2; | |
8779 | PyObject * _argo0 = 0; | |
8780 | char *_kwnames[] = { "self","caretPolicy","caretSlop", NULL }; | |
8781 | ||
8782 | self = self; | |
8783 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxStyledTextCtrl_SetYCaretPolicy",_kwnames,&_argo0,&_arg1,&_arg2)) | |
8784 | return NULL; | |
8785 | if (_argo0) { | |
8786 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
8787 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
8788 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetYCaretPolicy. Expected _wxStyledTextCtrl_p."); | |
8789 | return NULL; | |
8790 | } | |
8791 | } | |
8792 | { | |
8793 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8794 | wxStyledTextCtrl_SetYCaretPolicy(_arg0,_arg1,_arg2); | |
8795 | ||
8796 | wxPyEndAllowThreads(__tstate); | |
8797 | if (PyErr_Occurred()) return NULL; | |
8798 | } Py_INCREF(Py_None); | |
8799 | _resultobj = Py_None; | |
8800 | return _resultobj; | |
8801 | } | |
8802 | ||
8a2fa5c8 RD |
8803 | #define wxStyledTextCtrl_StartRecord(_swigobj) (_swigobj->StartRecord()) |
8804 | static PyObject *_wrap_wxStyledTextCtrl_StartRecord(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8805 | PyObject * _resultobj; | |
8806 | wxStyledTextCtrl * _arg0; | |
8807 | PyObject * _argo0 = 0; | |
8808 | char *_kwnames[] = { "self", NULL }; | |
8809 | ||
8810 | self = self; | |
8811 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_StartRecord",_kwnames,&_argo0)) | |
8812 | return NULL; | |
8813 | if (_argo0) { | |
8814 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
8815 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
8816 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_StartRecord. Expected _wxStyledTextCtrl_p."); | |
8817 | return NULL; | |
8818 | } | |
8819 | } | |
8820 | { | |
0e2ff151 | 8821 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 8822 | wxStyledTextCtrl_StartRecord(_arg0); |
8a2fa5c8 | 8823 | |
0e2ff151 RD |
8824 | wxPyEndAllowThreads(__tstate); |
8825 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
8826 | } Py_INCREF(Py_None); |
8827 | _resultobj = Py_None; | |
8828 | return _resultobj; | |
8829 | } | |
8830 | ||
8831 | #define wxStyledTextCtrl_StopRecord(_swigobj) (_swigobj->StopRecord()) | |
8832 | static PyObject *_wrap_wxStyledTextCtrl_StopRecord(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8833 | PyObject * _resultobj; | |
8834 | wxStyledTextCtrl * _arg0; | |
8835 | PyObject * _argo0 = 0; | |
8836 | char *_kwnames[] = { "self", NULL }; | |
8837 | ||
8838 | self = self; | |
8839 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_StopRecord",_kwnames,&_argo0)) | |
8840 | return NULL; | |
8841 | if (_argo0) { | |
8842 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
8843 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
8844 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_StopRecord. Expected _wxStyledTextCtrl_p."); | |
8845 | return NULL; | |
8846 | } | |
8847 | } | |
8848 | { | |
0e2ff151 | 8849 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 8850 | wxStyledTextCtrl_StopRecord(_arg0); |
8a2fa5c8 | 8851 | |
0e2ff151 RD |
8852 | wxPyEndAllowThreads(__tstate); |
8853 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
8854 | } Py_INCREF(Py_None); |
8855 | _resultobj = Py_None; | |
8856 | return _resultobj; | |
8857 | } | |
8858 | ||
8859 | #define wxStyledTextCtrl_SetLexer(_swigobj,_swigarg0) (_swigobj->SetLexer(_swigarg0)) | |
8860 | static PyObject *_wrap_wxStyledTextCtrl_SetLexer(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8861 | PyObject * _resultobj; | |
8862 | wxStyledTextCtrl * _arg0; | |
8863 | int _arg1; | |
8864 | PyObject * _argo0 = 0; | |
8865 | char *_kwnames[] = { "self","lexer", NULL }; | |
8866 | ||
8867 | self = self; | |
8868 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_SetLexer",_kwnames,&_argo0,&_arg1)) | |
8869 | return NULL; | |
8870 | if (_argo0) { | |
8871 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
8872 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
8873 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetLexer. Expected _wxStyledTextCtrl_p."); | |
8874 | return NULL; | |
8875 | } | |
8876 | } | |
8877 | { | |
0e2ff151 | 8878 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 8879 | wxStyledTextCtrl_SetLexer(_arg0,_arg1); |
8a2fa5c8 | 8880 | |
0e2ff151 RD |
8881 | wxPyEndAllowThreads(__tstate); |
8882 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
8883 | } Py_INCREF(Py_None); |
8884 | _resultobj = Py_None; | |
8885 | return _resultobj; | |
8886 | } | |
8887 | ||
8888 | #define wxStyledTextCtrl_GetLexer(_swigobj) (_swigobj->GetLexer()) | |
8889 | static PyObject *_wrap_wxStyledTextCtrl_GetLexer(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8890 | PyObject * _resultobj; | |
8891 | int _result; | |
8892 | wxStyledTextCtrl * _arg0; | |
8893 | PyObject * _argo0 = 0; | |
8894 | char *_kwnames[] = { "self", NULL }; | |
8895 | ||
8896 | self = self; | |
8897 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetLexer",_kwnames,&_argo0)) | |
8898 | return NULL; | |
8899 | if (_argo0) { | |
8900 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
8901 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
8902 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetLexer. Expected _wxStyledTextCtrl_p."); | |
8903 | return NULL; | |
8904 | } | |
8905 | } | |
8906 | { | |
0e2ff151 | 8907 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 8908 | _result = (int )wxStyledTextCtrl_GetLexer(_arg0); |
8a2fa5c8 | 8909 | |
0e2ff151 RD |
8910 | wxPyEndAllowThreads(__tstate); |
8911 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
8912 | } _resultobj = Py_BuildValue("i",_result); |
8913 | return _resultobj; | |
8914 | } | |
8915 | ||
8916 | #define wxStyledTextCtrl_Colourise(_swigobj,_swigarg0,_swigarg1) (_swigobj->Colourise(_swigarg0,_swigarg1)) | |
8917 | static PyObject *_wrap_wxStyledTextCtrl_Colourise(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8918 | PyObject * _resultobj; | |
8919 | wxStyledTextCtrl * _arg0; | |
8920 | int _arg1; | |
8921 | int _arg2; | |
8922 | PyObject * _argo0 = 0; | |
8923 | char *_kwnames[] = { "self","start","end", NULL }; | |
8924 | ||
8925 | self = self; | |
8926 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxStyledTextCtrl_Colourise",_kwnames,&_argo0,&_arg1,&_arg2)) | |
8927 | return NULL; | |
8928 | if (_argo0) { | |
8929 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
8930 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
8931 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_Colourise. Expected _wxStyledTextCtrl_p."); | |
8932 | return NULL; | |
8933 | } | |
8934 | } | |
8935 | { | |
0e2ff151 | 8936 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 8937 | wxStyledTextCtrl_Colourise(_arg0,_arg1,_arg2); |
8a2fa5c8 | 8938 | |
0e2ff151 RD |
8939 | wxPyEndAllowThreads(__tstate); |
8940 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
8941 | } Py_INCREF(Py_None); |
8942 | _resultobj = Py_None; | |
8943 | return _resultobj; | |
8944 | } | |
8945 | ||
8946 | #define wxStyledTextCtrl_SetProperty(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetProperty(_swigarg0,_swigarg1)) | |
8947 | static PyObject *_wrap_wxStyledTextCtrl_SetProperty(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8948 | PyObject * _resultobj; | |
8949 | wxStyledTextCtrl * _arg0; | |
8950 | wxString * _arg1; | |
8951 | wxString * _arg2; | |
8952 | PyObject * _argo0 = 0; | |
8953 | PyObject * _obj1 = 0; | |
8954 | PyObject * _obj2 = 0; | |
8955 | char *_kwnames[] = { "self","key","value", NULL }; | |
8956 | ||
8957 | self = self; | |
8958 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxStyledTextCtrl_SetProperty",_kwnames,&_argo0,&_obj1,&_obj2)) | |
8959 | return NULL; | |
8960 | if (_argo0) { | |
8961 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
8962 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
8963 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetProperty. Expected _wxStyledTextCtrl_p."); | |
8964 | return NULL; | |
8965 | } | |
8966 | } | |
8967 | { | |
6824d4f9 RD |
8968 | _arg1 = wxString_in_helper(_obj1); |
8969 | if (_arg1 == NULL) | |
8a2fa5c8 | 8970 | return NULL; |
8a2fa5c8 RD |
8971 | } |
8972 | { | |
6824d4f9 RD |
8973 | _arg2 = wxString_in_helper(_obj2); |
8974 | if (_arg2 == NULL) | |
8a2fa5c8 | 8975 | return NULL; |
8a2fa5c8 RD |
8976 | } |
8977 | { | |
0e2ff151 | 8978 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 8979 | wxStyledTextCtrl_SetProperty(_arg0,*_arg1,*_arg2); |
8a2fa5c8 | 8980 | |
0e2ff151 RD |
8981 | wxPyEndAllowThreads(__tstate); |
8982 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
8983 | } Py_INCREF(Py_None); |
8984 | _resultobj = Py_None; | |
8985 | { | |
8986 | if (_obj1) | |
8987 | delete _arg1; | |
8988 | } | |
8989 | { | |
8990 | if (_obj2) | |
8991 | delete _arg2; | |
8992 | } | |
8993 | return _resultobj; | |
8994 | } | |
8995 | ||
8996 | #define wxStyledTextCtrl_SetKeyWords(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetKeyWords(_swigarg0,_swigarg1)) | |
8997 | static PyObject *_wrap_wxStyledTextCtrl_SetKeyWords(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8998 | PyObject * _resultobj; | |
8999 | wxStyledTextCtrl * _arg0; | |
9000 | int _arg1; | |
9001 | wxString * _arg2; | |
9002 | PyObject * _argo0 = 0; | |
9003 | PyObject * _obj2 = 0; | |
9004 | char *_kwnames[] = { "self","keywordSet","keyWords", NULL }; | |
9005 | ||
9006 | self = self; | |
9007 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxStyledTextCtrl_SetKeyWords",_kwnames,&_argo0,&_arg1,&_obj2)) | |
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_SetKeyWords. Expected _wxStyledTextCtrl_p."); | |
9013 | return NULL; | |
9014 | } | |
9015 | } | |
9016 | { | |
6824d4f9 RD |
9017 | _arg2 = wxString_in_helper(_obj2); |
9018 | if (_arg2 == NULL) | |
8a2fa5c8 | 9019 | return NULL; |
8a2fa5c8 RD |
9020 | } |
9021 | { | |
0e2ff151 | 9022 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 9023 | wxStyledTextCtrl_SetKeyWords(_arg0,_arg1,*_arg2); |
8a2fa5c8 | 9024 | |
0e2ff151 RD |
9025 | wxPyEndAllowThreads(__tstate); |
9026 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
9027 | } Py_INCREF(Py_None); |
9028 | _resultobj = Py_None; | |
9029 | { | |
9030 | if (_obj2) | |
9031 | delete _arg2; | |
9032 | } | |
9033 | return _resultobj; | |
9034 | } | |
9035 | ||
9036 | #define wxStyledTextCtrl_SetLexerLanguage(_swigobj,_swigarg0) (_swigobj->SetLexerLanguage(_swigarg0)) | |
9037 | static PyObject *_wrap_wxStyledTextCtrl_SetLexerLanguage(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9038 | PyObject * _resultobj; | |
9039 | wxStyledTextCtrl * _arg0; | |
9040 | wxString * _arg1; | |
9041 | PyObject * _argo0 = 0; | |
9042 | PyObject * _obj1 = 0; | |
9043 | char *_kwnames[] = { "self","language", NULL }; | |
9044 | ||
9045 | self = self; | |
9046 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxStyledTextCtrl_SetLexerLanguage",_kwnames,&_argo0,&_obj1)) | |
9047 | return NULL; | |
9048 | if (_argo0) { | |
9049 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
9050 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
9051 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetLexerLanguage. Expected _wxStyledTextCtrl_p."); | |
9052 | return NULL; | |
9053 | } | |
9054 | } | |
9055 | { | |
6824d4f9 RD |
9056 | _arg1 = wxString_in_helper(_obj1); |
9057 | if (_arg1 == NULL) | |
8a2fa5c8 | 9058 | return NULL; |
8a2fa5c8 RD |
9059 | } |
9060 | { | |
0e2ff151 | 9061 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 9062 | wxStyledTextCtrl_SetLexerLanguage(_arg0,*_arg1); |
8a2fa5c8 | 9063 | |
0e2ff151 RD |
9064 | wxPyEndAllowThreads(__tstate); |
9065 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
9066 | } Py_INCREF(Py_None); |
9067 | _resultobj = Py_None; | |
9068 | { | |
9069 | if (_obj1) | |
9070 | delete _arg1; | |
9071 | } | |
9072 | return _resultobj; | |
9073 | } | |
9074 | ||
9075 | #define wxStyledTextCtrl_GetCurrentLine(_swigobj) (_swigobj->GetCurrentLine()) | |
9076 | static PyObject *_wrap_wxStyledTextCtrl_GetCurrentLine(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9077 | PyObject * _resultobj; | |
9078 | int _result; | |
9079 | wxStyledTextCtrl * _arg0; | |
9080 | PyObject * _argo0 = 0; | |
9081 | char *_kwnames[] = { "self", NULL }; | |
9082 | ||
9083 | self = self; | |
9084 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetCurrentLine",_kwnames,&_argo0)) | |
9085 | return NULL; | |
9086 | if (_argo0) { | |
9087 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
9088 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
9089 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetCurrentLine. Expected _wxStyledTextCtrl_p."); | |
9090 | return NULL; | |
9091 | } | |
9092 | } | |
9093 | { | |
0e2ff151 | 9094 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 9095 | _result = (int )wxStyledTextCtrl_GetCurrentLine(_arg0); |
8a2fa5c8 | 9096 | |
0e2ff151 RD |
9097 | wxPyEndAllowThreads(__tstate); |
9098 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
9099 | } _resultobj = Py_BuildValue("i",_result); |
9100 | return _resultobj; | |
9101 | } | |
9102 | ||
9103 | #define wxStyledTextCtrl_StyleSetSpec(_swigobj,_swigarg0,_swigarg1) (_swigobj->StyleSetSpec(_swigarg0,_swigarg1)) | |
9104 | static PyObject *_wrap_wxStyledTextCtrl_StyleSetSpec(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9105 | PyObject * _resultobj; | |
9106 | wxStyledTextCtrl * _arg0; | |
9107 | int _arg1; | |
9108 | wxString * _arg2; | |
9109 | PyObject * _argo0 = 0; | |
9110 | PyObject * _obj2 = 0; | |
9111 | char *_kwnames[] = { "self","styleNum","spec", NULL }; | |
9112 | ||
9113 | self = self; | |
9114 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxStyledTextCtrl_StyleSetSpec",_kwnames,&_argo0,&_arg1,&_obj2)) | |
9115 | return NULL; | |
9116 | if (_argo0) { | |
9117 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
9118 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
9119 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_StyleSetSpec. Expected _wxStyledTextCtrl_p."); | |
9120 | return NULL; | |
9121 | } | |
9122 | } | |
9123 | { | |
6824d4f9 RD |
9124 | _arg2 = wxString_in_helper(_obj2); |
9125 | if (_arg2 == NULL) | |
8a2fa5c8 | 9126 | return NULL; |
8a2fa5c8 RD |
9127 | } |
9128 | { | |
0e2ff151 | 9129 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 9130 | wxStyledTextCtrl_StyleSetSpec(_arg0,_arg1,*_arg2); |
8a2fa5c8 | 9131 | |
0e2ff151 RD |
9132 | wxPyEndAllowThreads(__tstate); |
9133 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
9134 | } Py_INCREF(Py_None); |
9135 | _resultobj = Py_None; | |
9136 | { | |
9137 | if (_obj2) | |
9138 | delete _arg2; | |
9139 | } | |
9140 | return _resultobj; | |
9141 | } | |
9142 | ||
9143 | #define wxStyledTextCtrl_StyleSetFont(_swigobj,_swigarg0,_swigarg1) (_swigobj->StyleSetFont(_swigarg0,_swigarg1)) | |
9144 | static PyObject *_wrap_wxStyledTextCtrl_StyleSetFont(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9145 | PyObject * _resultobj; | |
9146 | wxStyledTextCtrl * _arg0; | |
9147 | int _arg1; | |
9148 | wxFont * _arg2; | |
9149 | PyObject * _argo0 = 0; | |
9150 | PyObject * _argo2 = 0; | |
9151 | char *_kwnames[] = { "self","styleNum","font", NULL }; | |
9152 | ||
9153 | self = self; | |
9154 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxStyledTextCtrl_StyleSetFont",_kwnames,&_argo0,&_arg1,&_argo2)) | |
9155 | return NULL; | |
9156 | if (_argo0) { | |
9157 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
9158 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
9159 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_StyleSetFont. Expected _wxStyledTextCtrl_p."); | |
9160 | return NULL; | |
9161 | } | |
9162 | } | |
9163 | if (_argo2) { | |
9164 | if (_argo2 == Py_None) { _arg2 = NULL; } | |
9165 | else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxFont_p")) { | |
9166 | PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxStyledTextCtrl_StyleSetFont. Expected _wxFont_p."); | |
9167 | return NULL; | |
9168 | } | |
9169 | } | |
9170 | { | |
0e2ff151 | 9171 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 9172 | wxStyledTextCtrl_StyleSetFont(_arg0,_arg1,*_arg2); |
8a2fa5c8 | 9173 | |
0e2ff151 RD |
9174 | wxPyEndAllowThreads(__tstate); |
9175 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
9176 | } Py_INCREF(Py_None); |
9177 | _resultobj = Py_None; | |
9178 | return _resultobj; | |
9179 | } | |
9180 | ||
9181 | #define wxStyledTextCtrl_StyleSetFontAttr(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->StyleSetFontAttr(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5)) | |
9182 | static PyObject *_wrap_wxStyledTextCtrl_StyleSetFontAttr(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9183 | PyObject * _resultobj; | |
9184 | wxStyledTextCtrl * _arg0; | |
9185 | int _arg1; | |
9186 | int _arg2; | |
9187 | wxString * _arg3; | |
9188 | bool _arg4; | |
9189 | bool _arg5; | |
9190 | bool _arg6; | |
9191 | PyObject * _argo0 = 0; | |
9192 | PyObject * _obj3 = 0; | |
9193 | int tempbool4; | |
9194 | int tempbool5; | |
9195 | int tempbool6; | |
9196 | char *_kwnames[] = { "self","styleNum","size","faceName","bold","italic","underline", NULL }; | |
9197 | ||
9198 | self = self; | |
9199 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiiOiii:wxStyledTextCtrl_StyleSetFontAttr",_kwnames,&_argo0,&_arg1,&_arg2,&_obj3,&tempbool4,&tempbool5,&tempbool6)) | |
9200 | return NULL; | |
9201 | if (_argo0) { | |
9202 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
9203 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
9204 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_StyleSetFontAttr. Expected _wxStyledTextCtrl_p."); | |
9205 | return NULL; | |
9206 | } | |
9207 | } | |
9208 | { | |
6824d4f9 RD |
9209 | _arg3 = wxString_in_helper(_obj3); |
9210 | if (_arg3 == NULL) | |
8a2fa5c8 | 9211 | return NULL; |
8a2fa5c8 RD |
9212 | } |
9213 | _arg4 = (bool ) tempbool4; | |
9214 | _arg5 = (bool ) tempbool5; | |
9215 | _arg6 = (bool ) tempbool6; | |
9216 | { | |
0e2ff151 | 9217 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 9218 | wxStyledTextCtrl_StyleSetFontAttr(_arg0,_arg1,_arg2,*_arg3,_arg4,_arg5,_arg6); |
8a2fa5c8 | 9219 | |
0e2ff151 RD |
9220 | wxPyEndAllowThreads(__tstate); |
9221 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
9222 | } Py_INCREF(Py_None); |
9223 | _resultobj = Py_None; | |
9224 | { | |
9225 | if (_obj3) | |
9226 | delete _arg3; | |
9227 | } | |
9228 | return _resultobj; | |
9229 | } | |
9230 | ||
9231 | #define wxStyledTextCtrl_CmdKeyExecute(_swigobj,_swigarg0) (_swigobj->CmdKeyExecute(_swigarg0)) | |
9232 | static PyObject *_wrap_wxStyledTextCtrl_CmdKeyExecute(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9233 | PyObject * _resultobj; | |
9234 | wxStyledTextCtrl * _arg0; | |
9235 | int _arg1; | |
9236 | PyObject * _argo0 = 0; | |
9237 | char *_kwnames[] = { "self","cmd", NULL }; | |
9238 | ||
9239 | self = self; | |
9240 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_CmdKeyExecute",_kwnames,&_argo0,&_arg1)) | |
9241 | return NULL; | |
9242 | if (_argo0) { | |
9243 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
9244 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
9245 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_CmdKeyExecute. Expected _wxStyledTextCtrl_p."); | |
9246 | return NULL; | |
9247 | } | |
9248 | } | |
9249 | { | |
0e2ff151 | 9250 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 9251 | wxStyledTextCtrl_CmdKeyExecute(_arg0,_arg1); |
8a2fa5c8 | 9252 | |
0e2ff151 RD |
9253 | wxPyEndAllowThreads(__tstate); |
9254 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
9255 | } Py_INCREF(Py_None); |
9256 | _resultobj = Py_None; | |
9257 | return _resultobj; | |
9258 | } | |
9259 | ||
9260 | #define wxStyledTextCtrl_SetMargins(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetMargins(_swigarg0,_swigarg1)) | |
9261 | static PyObject *_wrap_wxStyledTextCtrl_SetMargins(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9262 | PyObject * _resultobj; | |
9263 | wxStyledTextCtrl * _arg0; | |
9264 | int _arg1; | |
9265 | int _arg2; | |
9266 | PyObject * _argo0 = 0; | |
9267 | char *_kwnames[] = { "self","left","right", NULL }; | |
9268 | ||
9269 | self = self; | |
9270 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxStyledTextCtrl_SetMargins",_kwnames,&_argo0,&_arg1,&_arg2)) | |
9271 | return NULL; | |
9272 | if (_argo0) { | |
9273 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
9274 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
9275 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetMargins. Expected _wxStyledTextCtrl_p."); | |
9276 | return NULL; | |
9277 | } | |
9278 | } | |
9279 | { | |
0e2ff151 | 9280 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 9281 | wxStyledTextCtrl_SetMargins(_arg0,_arg1,_arg2); |
8a2fa5c8 | 9282 | |
0e2ff151 RD |
9283 | wxPyEndAllowThreads(__tstate); |
9284 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
9285 | } Py_INCREF(Py_None); |
9286 | _resultobj = Py_None; | |
9287 | return _resultobj; | |
9288 | } | |
9289 | ||
9290 | #define wxStyledTextCtrl_GetSelection(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetSelection(_swigarg0,_swigarg1)) | |
9291 | static PyObject *_wrap_wxStyledTextCtrl_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9292 | PyObject * _resultobj; | |
9293 | wxStyledTextCtrl * _arg0; | |
9294 | int * _arg1; | |
9295 | int temp; | |
9296 | int * _arg2; | |
9297 | int temp0; | |
9298 | PyObject * _argo0 = 0; | |
9299 | char *_kwnames[] = { "self", NULL }; | |
9300 | ||
9301 | self = self; | |
9302 | { | |
9303 | _arg1 = &temp; | |
9304 | } | |
9305 | { | |
9306 | _arg2 = &temp0; | |
9307 | } | |
9308 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetSelection",_kwnames,&_argo0)) | |
9309 | return NULL; | |
9310 | if (_argo0) { | |
9311 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
9312 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
9313 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetSelection. Expected _wxStyledTextCtrl_p."); | |
9314 | return NULL; | |
9315 | } | |
9316 | } | |
9317 | { | |
0e2ff151 | 9318 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 9319 | wxStyledTextCtrl_GetSelection(_arg0,_arg1,_arg2); |
8a2fa5c8 | 9320 | |
0e2ff151 RD |
9321 | wxPyEndAllowThreads(__tstate); |
9322 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
9323 | } Py_INCREF(Py_None); |
9324 | _resultobj = Py_None; | |
9325 | { | |
9326 | PyObject *o; | |
9327 | o = PyInt_FromLong((long) (*_arg1)); | |
9328 | _resultobj = t_output_helper(_resultobj, o); | |
9329 | } | |
9330 | { | |
9331 | PyObject *o; | |
9332 | o = PyInt_FromLong((long) (*_arg2)); | |
9333 | _resultobj = t_output_helper(_resultobj, o); | |
9334 | } | |
9335 | return _resultobj; | |
9336 | } | |
9337 | ||
9338 | #define wxStyledTextCtrl_PointFromPosition(_swigobj,_swigarg0) (_swigobj->PointFromPosition(_swigarg0)) | |
9339 | static PyObject *_wrap_wxStyledTextCtrl_PointFromPosition(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9340 | PyObject * _resultobj; | |
9341 | wxPoint * _result; | |
9342 | wxStyledTextCtrl * _arg0; | |
9343 | int _arg1; | |
9344 | PyObject * _argo0 = 0; | |
9345 | char *_kwnames[] = { "self","pos", NULL }; | |
9346 | char _ptemp[128]; | |
9347 | ||
9348 | self = self; | |
9349 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_PointFromPosition",_kwnames,&_argo0,&_arg1)) | |
9350 | return NULL; | |
9351 | if (_argo0) { | |
9352 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
9353 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
9354 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_PointFromPosition. Expected _wxStyledTextCtrl_p."); | |
9355 | return NULL; | |
9356 | } | |
9357 | } | |
9358 | { | |
0e2ff151 | 9359 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 9360 | _result = new wxPoint (wxStyledTextCtrl_PointFromPosition(_arg0,_arg1)); |
8a2fa5c8 | 9361 | |
0e2ff151 RD |
9362 | wxPyEndAllowThreads(__tstate); |
9363 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
9364 | } SWIG_MakePtr(_ptemp, (void *) _result,"_wxPoint_p"); |
9365 | _resultobj = Py_BuildValue("s",_ptemp); | |
9366 | return _resultobj; | |
9367 | } | |
9368 | ||
9369 | #define wxStyledTextCtrl_ScrollToLine(_swigobj,_swigarg0) (_swigobj->ScrollToLine(_swigarg0)) | |
9370 | static PyObject *_wrap_wxStyledTextCtrl_ScrollToLine(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9371 | PyObject * _resultobj; | |
9372 | wxStyledTextCtrl * _arg0; | |
9373 | int _arg1; | |
9374 | PyObject * _argo0 = 0; | |
9375 | char *_kwnames[] = { "self","line", NULL }; | |
9376 | ||
9377 | self = self; | |
9378 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_ScrollToLine",_kwnames,&_argo0,&_arg1)) | |
9379 | return NULL; | |
9380 | if (_argo0) { | |
9381 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
9382 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
9383 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_ScrollToLine. Expected _wxStyledTextCtrl_p."); | |
9384 | return NULL; | |
9385 | } | |
9386 | } | |
9387 | { | |
0e2ff151 | 9388 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 9389 | wxStyledTextCtrl_ScrollToLine(_arg0,_arg1); |
8a2fa5c8 | 9390 | |
0e2ff151 RD |
9391 | wxPyEndAllowThreads(__tstate); |
9392 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
9393 | } Py_INCREF(Py_None); |
9394 | _resultobj = Py_None; | |
9395 | return _resultobj; | |
9396 | } | |
9397 | ||
9398 | #define wxStyledTextCtrl_ScrollToColumn(_swigobj,_swigarg0) (_swigobj->ScrollToColumn(_swigarg0)) | |
9399 | static PyObject *_wrap_wxStyledTextCtrl_ScrollToColumn(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9400 | PyObject * _resultobj; | |
9401 | wxStyledTextCtrl * _arg0; | |
9402 | int _arg1; | |
9403 | PyObject * _argo0 = 0; | |
9404 | char *_kwnames[] = { "self","column", NULL }; | |
9405 | ||
9406 | self = self; | |
9407 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_ScrollToColumn",_kwnames,&_argo0,&_arg1)) | |
9408 | return NULL; | |
9409 | if (_argo0) { | |
9410 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
9411 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
9412 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_ScrollToColumn. Expected _wxStyledTextCtrl_p."); | |
9413 | return NULL; | |
9414 | } | |
9415 | } | |
9416 | { | |
0e2ff151 | 9417 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 9418 | wxStyledTextCtrl_ScrollToColumn(_arg0,_arg1); |
8a2fa5c8 | 9419 | |
0e2ff151 RD |
9420 | wxPyEndAllowThreads(__tstate); |
9421 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
9422 | } Py_INCREF(Py_None); |
9423 | _resultobj = Py_None; | |
9424 | return _resultobj; | |
9425 | } | |
9426 | ||
9427 | #define wxStyledTextCtrl_SendMsg(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SendMsg(_swigarg0,_swigarg1,_swigarg2)) | |
9428 | static PyObject *_wrap_wxStyledTextCtrl_SendMsg(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9429 | PyObject * _resultobj; | |
9430 | long _result; | |
9431 | wxStyledTextCtrl * _arg0; | |
9432 | int _arg1; | |
9433 | long _arg2 = (long ) 0; | |
9434 | long _arg3 = (long ) 0; | |
9435 | PyObject * _argo0 = 0; | |
9436 | char *_kwnames[] = { "self","msg","wp","lp", NULL }; | |
9437 | ||
9438 | self = self; | |
9439 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi|ll:wxStyledTextCtrl_SendMsg",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3)) | |
9440 | return NULL; | |
9441 | if (_argo0) { | |
9442 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
9443 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
9444 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SendMsg. Expected _wxStyledTextCtrl_p."); | |
9445 | return NULL; | |
9446 | } | |
9447 | } | |
9448 | { | |
0e2ff151 | 9449 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 9450 | _result = (long )wxStyledTextCtrl_SendMsg(_arg0,_arg1,_arg2,_arg3); |
8a2fa5c8 | 9451 | |
0e2ff151 RD |
9452 | wxPyEndAllowThreads(__tstate); |
9453 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
9454 | } _resultobj = Py_BuildValue("l",_result); |
9455 | return _resultobj; | |
9456 | } | |
9457 | ||
dbd3685c RD |
9458 | #define wxStyledTextCtrl_SetVScrollBar(_swigobj,_swigarg0) (_swigobj->SetVScrollBar(_swigarg0)) |
9459 | static PyObject *_wrap_wxStyledTextCtrl_SetVScrollBar(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9460 | PyObject * _resultobj; | |
9461 | wxStyledTextCtrl * _arg0; | |
9462 | wxScrollBar * _arg1; | |
9463 | PyObject * _argo0 = 0; | |
9464 | PyObject * _argo1 = 0; | |
9465 | char *_kwnames[] = { "self","bar", NULL }; | |
9466 | ||
9467 | self = self; | |
9468 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxStyledTextCtrl_SetVScrollBar",_kwnames,&_argo0,&_argo1)) | |
9469 | return NULL; | |
9470 | if (_argo0) { | |
9471 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
9472 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
9473 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetVScrollBar. Expected _wxStyledTextCtrl_p."); | |
9474 | return NULL; | |
9475 | } | |
9476 | } | |
9477 | if (_argo1) { | |
9478 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
9479 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxScrollBar_p")) { | |
9480 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxStyledTextCtrl_SetVScrollBar. Expected _wxScrollBar_p."); | |
9481 | return NULL; | |
9482 | } | |
9483 | } | |
9484 | { | |
0e2ff151 | 9485 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 9486 | wxStyledTextCtrl_SetVScrollBar(_arg0,_arg1); |
dbd3685c | 9487 | |
0e2ff151 RD |
9488 | wxPyEndAllowThreads(__tstate); |
9489 | if (PyErr_Occurred()) return NULL; | |
dbd3685c RD |
9490 | } Py_INCREF(Py_None); |
9491 | _resultobj = Py_None; | |
9492 | return _resultobj; | |
9493 | } | |
9494 | ||
9495 | #define wxStyledTextCtrl_SetHScrollBar(_swigobj,_swigarg0) (_swigobj->SetHScrollBar(_swigarg0)) | |
9496 | static PyObject *_wrap_wxStyledTextCtrl_SetHScrollBar(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9497 | PyObject * _resultobj; | |
9498 | wxStyledTextCtrl * _arg0; | |
9499 | wxScrollBar * _arg1; | |
9500 | PyObject * _argo0 = 0; | |
9501 | PyObject * _argo1 = 0; | |
9502 | char *_kwnames[] = { "self","bar", NULL }; | |
9503 | ||
9504 | self = self; | |
9505 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxStyledTextCtrl_SetHScrollBar",_kwnames,&_argo0,&_argo1)) | |
9506 | return NULL; | |
9507 | if (_argo0) { | |
9508 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
9509 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
9510 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetHScrollBar. Expected _wxStyledTextCtrl_p."); | |
9511 | return NULL; | |
9512 | } | |
9513 | } | |
9514 | if (_argo1) { | |
9515 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
9516 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxScrollBar_p")) { | |
9517 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxStyledTextCtrl_SetHScrollBar. Expected _wxScrollBar_p."); | |
9518 | return NULL; | |
9519 | } | |
9520 | } | |
9521 | { | |
0e2ff151 | 9522 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 9523 | wxStyledTextCtrl_SetHScrollBar(_arg0,_arg1); |
dbd3685c | 9524 | |
0e2ff151 RD |
9525 | wxPyEndAllowThreads(__tstate); |
9526 | if (PyErr_Occurred()) return NULL; | |
dbd3685c RD |
9527 | } Py_INCREF(Py_None); |
9528 | _resultobj = Py_None; | |
9529 | return _resultobj; | |
9530 | } | |
9531 | ||
40699168 RD |
9532 | #define wxStyledTextCtrl_GetLastKeydownProcessed(_swigobj) (_swigobj->GetLastKeydownProcessed()) |
9533 | static PyObject *_wrap_wxStyledTextCtrl_GetLastKeydownProcessed(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9534 | PyObject * _resultobj; | |
9535 | bool _result; | |
9536 | wxStyledTextCtrl * _arg0; | |
9537 | PyObject * _argo0 = 0; | |
9538 | char *_kwnames[] = { "self", NULL }; | |
9539 | ||
9540 | self = self; | |
9541 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetLastKeydownProcessed",_kwnames,&_argo0)) | |
9542 | return NULL; | |
9543 | if (_argo0) { | |
9544 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
9545 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
9546 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetLastKeydownProcessed. Expected _wxStyledTextCtrl_p."); | |
9547 | return NULL; | |
9548 | } | |
9549 | } | |
9550 | { | |
9551 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9552 | _result = (bool )wxStyledTextCtrl_GetLastKeydownProcessed(_arg0); | |
9553 | ||
9554 | wxPyEndAllowThreads(__tstate); | |
9555 | if (PyErr_Occurred()) return NULL; | |
9556 | } _resultobj = Py_BuildValue("i",_result); | |
9557 | return _resultobj; | |
9558 | } | |
9559 | ||
9560 | #define wxStyledTextCtrl_SetLastKeydownProcessed(_swigobj,_swigarg0) (_swigobj->SetLastKeydownProcessed(_swigarg0)) | |
9561 | static PyObject *_wrap_wxStyledTextCtrl_SetLastKeydownProcessed(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9562 | PyObject * _resultobj; | |
9563 | wxStyledTextCtrl * _arg0; | |
9564 | bool _arg1; | |
9565 | PyObject * _argo0 = 0; | |
9566 | int tempbool1; | |
9567 | char *_kwnames[] = { "self","val", NULL }; | |
9568 | ||
9569 | self = self; | |
9570 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_SetLastKeydownProcessed",_kwnames,&_argo0,&tempbool1)) | |
9571 | return NULL; | |
9572 | if (_argo0) { | |
9573 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
9574 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
9575 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetLastKeydownProcessed. Expected _wxStyledTextCtrl_p."); | |
9576 | return NULL; | |
9577 | } | |
9578 | } | |
9579 | _arg1 = (bool ) tempbool1; | |
9580 | { | |
9581 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9582 | wxStyledTextCtrl_SetLastKeydownProcessed(_arg0,_arg1); | |
9583 | ||
9584 | wxPyEndAllowThreads(__tstate); | |
9585 | if (PyErr_Occurred()) return NULL; | |
9586 | } Py_INCREF(Py_None); | |
9587 | _resultobj = Py_None; | |
9588 | return _resultobj; | |
9589 | } | |
9590 | ||
8a2fa5c8 RD |
9591 | static void *SwigwxStyledTextEventTowxCommandEvent(void *ptr) { |
9592 | wxStyledTextEvent *src; | |
9593 | wxCommandEvent *dest; | |
9594 | src = (wxStyledTextEvent *) ptr; | |
9595 | dest = (wxCommandEvent *) src; | |
9596 | return (void *) dest; | |
9597 | } | |
9598 | ||
9599 | static void *SwigwxStyledTextEventTowxEvent(void *ptr) { | |
9600 | wxStyledTextEvent *src; | |
9601 | wxEvent *dest; | |
9602 | src = (wxStyledTextEvent *) ptr; | |
9603 | dest = (wxEvent *) src; | |
9604 | return (void *) dest; | |
9605 | } | |
9606 | ||
9607 | static void *SwigwxStyledTextEventTowxObject(void *ptr) { | |
9608 | wxStyledTextEvent *src; | |
9609 | wxObject *dest; | |
9610 | src = (wxStyledTextEvent *) ptr; | |
9611 | dest = (wxObject *) src; | |
9612 | return (void *) dest; | |
9613 | } | |
9614 | ||
9615 | #define new_wxStyledTextEvent(_swigarg0,_swigarg1) (new wxStyledTextEvent(_swigarg0,_swigarg1)) | |
9616 | static PyObject *_wrap_new_wxStyledTextEvent(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9617 | PyObject * _resultobj; | |
9618 | wxStyledTextEvent * _result; | |
9619 | wxEventType _arg0 = (wxEventType ) 0; | |
9620 | int _arg1 = (int ) 0; | |
9621 | char *_kwnames[] = { "commandType","id", NULL }; | |
9622 | char _ptemp[128]; | |
9623 | ||
9624 | self = self; | |
9625 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"|ii:new_wxStyledTextEvent",_kwnames,&_arg0,&_arg1)) | |
9626 | return NULL; | |
9627 | { | |
0e2ff151 | 9628 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 9629 | _result = (wxStyledTextEvent *)new_wxStyledTextEvent(_arg0,_arg1); |
8a2fa5c8 | 9630 | |
0e2ff151 RD |
9631 | wxPyEndAllowThreads(__tstate); |
9632 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
9633 | } if (_result) { |
9634 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxStyledTextEvent_p"); | |
9635 | _resultobj = Py_BuildValue("s",_ptemp); | |
9636 | } else { | |
9637 | Py_INCREF(Py_None); | |
9638 | _resultobj = Py_None; | |
9639 | } | |
9640 | return _resultobj; | |
9641 | } | |
9642 | ||
9643 | #define delete_wxStyledTextEvent(_swigobj) (delete _swigobj) | |
9644 | static PyObject *_wrap_delete_wxStyledTextEvent(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9645 | PyObject * _resultobj; | |
9646 | wxStyledTextEvent * _arg0; | |
9647 | PyObject * _argo0 = 0; | |
9648 | char *_kwnames[] = { "self", NULL }; | |
9649 | ||
9650 | self = self; | |
9651 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:delete_wxStyledTextEvent",_kwnames,&_argo0)) | |
9652 | return NULL; | |
9653 | if (_argo0) { | |
9654 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
9655 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextEvent_p")) { | |
9656 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of delete_wxStyledTextEvent. Expected _wxStyledTextEvent_p."); | |
9657 | return NULL; | |
9658 | } | |
9659 | } | |
9660 | { | |
0e2ff151 | 9661 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 9662 | delete_wxStyledTextEvent(_arg0); |
8a2fa5c8 | 9663 | |
0e2ff151 RD |
9664 | wxPyEndAllowThreads(__tstate); |
9665 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
9666 | } Py_INCREF(Py_None); |
9667 | _resultobj = Py_None; | |
9668 | return _resultobj; | |
9669 | } | |
9670 | ||
9671 | #define wxStyledTextEvent_SetPosition(_swigobj,_swigarg0) (_swigobj->SetPosition(_swigarg0)) | |
9672 | static PyObject *_wrap_wxStyledTextEvent_SetPosition(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9673 | PyObject * _resultobj; | |
9674 | wxStyledTextEvent * _arg0; | |
9675 | int _arg1; | |
9676 | PyObject * _argo0 = 0; | |
9677 | char *_kwnames[] = { "self","pos", NULL }; | |
9678 | ||
9679 | self = self; | |
9680 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextEvent_SetPosition",_kwnames,&_argo0,&_arg1)) | |
9681 | return NULL; | |
9682 | if (_argo0) { | |
9683 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
9684 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextEvent_p")) { | |
9685 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextEvent_SetPosition. Expected _wxStyledTextEvent_p."); | |
9686 | return NULL; | |
9687 | } | |
9688 | } | |
9689 | { | |
0e2ff151 | 9690 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 9691 | wxStyledTextEvent_SetPosition(_arg0,_arg1); |
8a2fa5c8 | 9692 | |
0e2ff151 RD |
9693 | wxPyEndAllowThreads(__tstate); |
9694 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
9695 | } Py_INCREF(Py_None); |
9696 | _resultobj = Py_None; | |
9697 | return _resultobj; | |
9698 | } | |
9699 | ||
9700 | #define wxStyledTextEvent_SetKey(_swigobj,_swigarg0) (_swigobj->SetKey(_swigarg0)) | |
9701 | static PyObject *_wrap_wxStyledTextEvent_SetKey(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9702 | PyObject * _resultobj; | |
9703 | wxStyledTextEvent * _arg0; | |
9704 | int _arg1; | |
9705 | PyObject * _argo0 = 0; | |
9706 | char *_kwnames[] = { "self","k", NULL }; | |
9707 | ||
9708 | self = self; | |
9709 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextEvent_SetKey",_kwnames,&_argo0,&_arg1)) | |
9710 | return NULL; | |
9711 | if (_argo0) { | |
9712 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
9713 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextEvent_p")) { | |
9714 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextEvent_SetKey. Expected _wxStyledTextEvent_p."); | |
9715 | return NULL; | |
9716 | } | |
9717 | } | |
9718 | { | |
0e2ff151 | 9719 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 9720 | wxStyledTextEvent_SetKey(_arg0,_arg1); |
8a2fa5c8 | 9721 | |
0e2ff151 RD |
9722 | wxPyEndAllowThreads(__tstate); |
9723 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
9724 | } Py_INCREF(Py_None); |
9725 | _resultobj = Py_None; | |
9726 | return _resultobj; | |
9727 | } | |
9728 | ||
9729 | #define wxStyledTextEvent_SetModifiers(_swigobj,_swigarg0) (_swigobj->SetModifiers(_swigarg0)) | |
9730 | static PyObject *_wrap_wxStyledTextEvent_SetModifiers(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9731 | PyObject * _resultobj; | |
9732 | wxStyledTextEvent * _arg0; | |
9733 | int _arg1; | |
9734 | PyObject * _argo0 = 0; | |
9735 | char *_kwnames[] = { "self","m", NULL }; | |
9736 | ||
9737 | self = self; | |
9738 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextEvent_SetModifiers",_kwnames,&_argo0,&_arg1)) | |
9739 | return NULL; | |
9740 | if (_argo0) { | |
9741 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
9742 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextEvent_p")) { | |
9743 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextEvent_SetModifiers. Expected _wxStyledTextEvent_p."); | |
9744 | return NULL; | |
9745 | } | |
9746 | } | |
9747 | { | |
0e2ff151 | 9748 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 9749 | wxStyledTextEvent_SetModifiers(_arg0,_arg1); |
8a2fa5c8 | 9750 | |
0e2ff151 RD |
9751 | wxPyEndAllowThreads(__tstate); |
9752 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
9753 | } Py_INCREF(Py_None); |
9754 | _resultobj = Py_None; | |
9755 | return _resultobj; | |
9756 | } | |
9757 | ||
9758 | #define wxStyledTextEvent_SetModificationType(_swigobj,_swigarg0) (_swigobj->SetModificationType(_swigarg0)) | |
9759 | static PyObject *_wrap_wxStyledTextEvent_SetModificationType(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9760 | PyObject * _resultobj; | |
9761 | wxStyledTextEvent * _arg0; | |
9762 | int _arg1; | |
9763 | PyObject * _argo0 = 0; | |
9764 | char *_kwnames[] = { "self","t", NULL }; | |
9765 | ||
9766 | self = self; | |
9767 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextEvent_SetModificationType",_kwnames,&_argo0,&_arg1)) | |
9768 | return NULL; | |
9769 | if (_argo0) { | |
9770 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
9771 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextEvent_p")) { | |
9772 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextEvent_SetModificationType. Expected _wxStyledTextEvent_p."); | |
9773 | return NULL; | |
9774 | } | |
9775 | } | |
9776 | { | |
0e2ff151 | 9777 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 9778 | wxStyledTextEvent_SetModificationType(_arg0,_arg1); |
8a2fa5c8 | 9779 | |
0e2ff151 RD |
9780 | wxPyEndAllowThreads(__tstate); |
9781 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
9782 | } Py_INCREF(Py_None); |
9783 | _resultobj = Py_None; | |
9784 | return _resultobj; | |
9785 | } | |
9786 | ||
9787 | #define wxStyledTextEvent_SetText(_swigobj,_swigarg0) (_swigobj->SetText(_swigarg0)) | |
9788 | static PyObject *_wrap_wxStyledTextEvent_SetText(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9789 | PyObject * _resultobj; | |
9790 | wxStyledTextEvent * _arg0; | |
c3bfa1cb | 9791 | wxString * _arg1; |
8a2fa5c8 | 9792 | PyObject * _argo0 = 0; |
c3bfa1cb | 9793 | PyObject * _obj1 = 0; |
8a2fa5c8 RD |
9794 | char *_kwnames[] = { "self","t", NULL }; |
9795 | ||
9796 | self = self; | |
c3bfa1cb | 9797 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxStyledTextEvent_SetText",_kwnames,&_argo0,&_obj1)) |
8a2fa5c8 RD |
9798 | return NULL; |
9799 | if (_argo0) { | |
9800 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
9801 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextEvent_p")) { | |
9802 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextEvent_SetText. Expected _wxStyledTextEvent_p."); | |
9803 | return NULL; | |
9804 | } | |
9805 | } | |
c3bfa1cb RD |
9806 | { |
9807 | _arg1 = wxString_in_helper(_obj1); | |
9808 | if (_arg1 == NULL) | |
9809 | return NULL; | |
9810 | } | |
8a2fa5c8 | 9811 | { |
0e2ff151 | 9812 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c3bfa1cb | 9813 | wxStyledTextEvent_SetText(_arg0,*_arg1); |
8a2fa5c8 | 9814 | |
0e2ff151 RD |
9815 | wxPyEndAllowThreads(__tstate); |
9816 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
9817 | } Py_INCREF(Py_None); |
9818 | _resultobj = Py_None; | |
c3bfa1cb RD |
9819 | { |
9820 | if (_obj1) | |
9821 | delete _arg1; | |
9822 | } | |
8a2fa5c8 RD |
9823 | return _resultobj; |
9824 | } | |
9825 | ||
9826 | #define wxStyledTextEvent_SetLength(_swigobj,_swigarg0) (_swigobj->SetLength(_swigarg0)) | |
9827 | static PyObject *_wrap_wxStyledTextEvent_SetLength(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9828 | PyObject * _resultobj; | |
9829 | wxStyledTextEvent * _arg0; | |
9830 | int _arg1; | |
9831 | PyObject * _argo0 = 0; | |
9832 | char *_kwnames[] = { "self","len", NULL }; | |
9833 | ||
9834 | self = self; | |
9835 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextEvent_SetLength",_kwnames,&_argo0,&_arg1)) | |
9836 | return NULL; | |
9837 | if (_argo0) { | |
9838 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
9839 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextEvent_p")) { | |
9840 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextEvent_SetLength. Expected _wxStyledTextEvent_p."); | |
9841 | return NULL; | |
9842 | } | |
9843 | } | |
9844 | { | |
0e2ff151 | 9845 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 9846 | wxStyledTextEvent_SetLength(_arg0,_arg1); |
8a2fa5c8 | 9847 | |
0e2ff151 RD |
9848 | wxPyEndAllowThreads(__tstate); |
9849 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
9850 | } Py_INCREF(Py_None); |
9851 | _resultobj = Py_None; | |
9852 | return _resultobj; | |
9853 | } | |
9854 | ||
9855 | #define wxStyledTextEvent_SetLinesAdded(_swigobj,_swigarg0) (_swigobj->SetLinesAdded(_swigarg0)) | |
9856 | static PyObject *_wrap_wxStyledTextEvent_SetLinesAdded(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9857 | PyObject * _resultobj; | |
9858 | wxStyledTextEvent * _arg0; | |
9859 | int _arg1; | |
9860 | PyObject * _argo0 = 0; | |
9861 | char *_kwnames[] = { "self","num", NULL }; | |
9862 | ||
9863 | self = self; | |
9864 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextEvent_SetLinesAdded",_kwnames,&_argo0,&_arg1)) | |
9865 | return NULL; | |
9866 | if (_argo0) { | |
9867 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
9868 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextEvent_p")) { | |
9869 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextEvent_SetLinesAdded. Expected _wxStyledTextEvent_p."); | |
9870 | return NULL; | |
9871 | } | |
9872 | } | |
9873 | { | |
0e2ff151 | 9874 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 9875 | wxStyledTextEvent_SetLinesAdded(_arg0,_arg1); |
8a2fa5c8 | 9876 | |
0e2ff151 RD |
9877 | wxPyEndAllowThreads(__tstate); |
9878 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
9879 | } Py_INCREF(Py_None); |
9880 | _resultobj = Py_None; | |
9881 | return _resultobj; | |
9882 | } | |
9883 | ||
9884 | #define wxStyledTextEvent_SetLine(_swigobj,_swigarg0) (_swigobj->SetLine(_swigarg0)) | |
9885 | static PyObject *_wrap_wxStyledTextEvent_SetLine(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9886 | PyObject * _resultobj; | |
9887 | wxStyledTextEvent * _arg0; | |
9888 | int _arg1; | |
9889 | PyObject * _argo0 = 0; | |
9890 | char *_kwnames[] = { "self","val", NULL }; | |
9891 | ||
9892 | self = self; | |
9893 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextEvent_SetLine",_kwnames,&_argo0,&_arg1)) | |
9894 | return NULL; | |
9895 | if (_argo0) { | |
9896 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
9897 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextEvent_p")) { | |
9898 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextEvent_SetLine. Expected _wxStyledTextEvent_p."); | |
9899 | return NULL; | |
9900 | } | |
9901 | } | |
9902 | { | |
0e2ff151 | 9903 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 9904 | wxStyledTextEvent_SetLine(_arg0,_arg1); |
8a2fa5c8 | 9905 | |
0e2ff151 RD |
9906 | wxPyEndAllowThreads(__tstate); |
9907 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
9908 | } Py_INCREF(Py_None); |
9909 | _resultobj = Py_None; | |
9910 | return _resultobj; | |
9911 | } | |
9912 | ||
9913 | #define wxStyledTextEvent_SetFoldLevelNow(_swigobj,_swigarg0) (_swigobj->SetFoldLevelNow(_swigarg0)) | |
9914 | static PyObject *_wrap_wxStyledTextEvent_SetFoldLevelNow(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9915 | PyObject * _resultobj; | |
9916 | wxStyledTextEvent * _arg0; | |
9917 | int _arg1; | |
9918 | PyObject * _argo0 = 0; | |
9919 | char *_kwnames[] = { "self","val", NULL }; | |
9920 | ||
9921 | self = self; | |
9922 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextEvent_SetFoldLevelNow",_kwnames,&_argo0,&_arg1)) | |
9923 | return NULL; | |
9924 | if (_argo0) { | |
9925 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
9926 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextEvent_p")) { | |
9927 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextEvent_SetFoldLevelNow. Expected _wxStyledTextEvent_p."); | |
9928 | return NULL; | |
9929 | } | |
9930 | } | |
9931 | { | |
0e2ff151 | 9932 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 9933 | wxStyledTextEvent_SetFoldLevelNow(_arg0,_arg1); |
8a2fa5c8 | 9934 | |
0e2ff151 RD |
9935 | wxPyEndAllowThreads(__tstate); |
9936 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
9937 | } Py_INCREF(Py_None); |
9938 | _resultobj = Py_None; | |
9939 | return _resultobj; | |
9940 | } | |
9941 | ||
9942 | #define wxStyledTextEvent_SetFoldLevelPrev(_swigobj,_swigarg0) (_swigobj->SetFoldLevelPrev(_swigarg0)) | |
9943 | static PyObject *_wrap_wxStyledTextEvent_SetFoldLevelPrev(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9944 | PyObject * _resultobj; | |
9945 | wxStyledTextEvent * _arg0; | |
9946 | int _arg1; | |
9947 | PyObject * _argo0 = 0; | |
9948 | char *_kwnames[] = { "self","val", NULL }; | |
9949 | ||
9950 | self = self; | |
9951 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextEvent_SetFoldLevelPrev",_kwnames,&_argo0,&_arg1)) | |
9952 | return NULL; | |
9953 | if (_argo0) { | |
9954 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
9955 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextEvent_p")) { | |
9956 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextEvent_SetFoldLevelPrev. Expected _wxStyledTextEvent_p."); | |
9957 | return NULL; | |
9958 | } | |
9959 | } | |
9960 | { | |
0e2ff151 | 9961 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 9962 | wxStyledTextEvent_SetFoldLevelPrev(_arg0,_arg1); |
8a2fa5c8 | 9963 | |
0e2ff151 RD |
9964 | wxPyEndAllowThreads(__tstate); |
9965 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
9966 | } Py_INCREF(Py_None); |
9967 | _resultobj = Py_None; | |
9968 | return _resultobj; | |
9969 | } | |
9970 | ||
9971 | #define wxStyledTextEvent_SetMargin(_swigobj,_swigarg0) (_swigobj->SetMargin(_swigarg0)) | |
9972 | static PyObject *_wrap_wxStyledTextEvent_SetMargin(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9973 | PyObject * _resultobj; | |
9974 | wxStyledTextEvent * _arg0; | |
9975 | int _arg1; | |
9976 | PyObject * _argo0 = 0; | |
9977 | char *_kwnames[] = { "self","val", NULL }; | |
9978 | ||
9979 | self = self; | |
9980 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextEvent_SetMargin",_kwnames,&_argo0,&_arg1)) | |
9981 | return NULL; | |
9982 | if (_argo0) { | |
9983 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
9984 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextEvent_p")) { | |
9985 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextEvent_SetMargin. Expected _wxStyledTextEvent_p."); | |
9986 | return NULL; | |
9987 | } | |
9988 | } | |
9989 | { | |
0e2ff151 | 9990 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 9991 | wxStyledTextEvent_SetMargin(_arg0,_arg1); |
8a2fa5c8 | 9992 | |
0e2ff151 RD |
9993 | wxPyEndAllowThreads(__tstate); |
9994 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
9995 | } Py_INCREF(Py_None); |
9996 | _resultobj = Py_None; | |
9997 | return _resultobj; | |
9998 | } | |
9999 | ||
10000 | #define wxStyledTextEvent_SetMessage(_swigobj,_swigarg0) (_swigobj->SetMessage(_swigarg0)) | |
10001 | static PyObject *_wrap_wxStyledTextEvent_SetMessage(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10002 | PyObject * _resultobj; | |
10003 | wxStyledTextEvent * _arg0; | |
10004 | int _arg1; | |
10005 | PyObject * _argo0 = 0; | |
10006 | char *_kwnames[] = { "self","val", NULL }; | |
10007 | ||
10008 | self = self; | |
10009 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextEvent_SetMessage",_kwnames,&_argo0,&_arg1)) | |
10010 | return NULL; | |
10011 | if (_argo0) { | |
10012 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
10013 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextEvent_p")) { | |
10014 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextEvent_SetMessage. Expected _wxStyledTextEvent_p."); | |
10015 | return NULL; | |
10016 | } | |
10017 | } | |
10018 | { | |
0e2ff151 | 10019 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 10020 | wxStyledTextEvent_SetMessage(_arg0,_arg1); |
8a2fa5c8 | 10021 | |
0e2ff151 RD |
10022 | wxPyEndAllowThreads(__tstate); |
10023 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
10024 | } Py_INCREF(Py_None); |
10025 | _resultobj = Py_None; | |
10026 | return _resultobj; | |
10027 | } | |
10028 | ||
10029 | #define wxStyledTextEvent_SetWParam(_swigobj,_swigarg0) (_swigobj->SetWParam(_swigarg0)) | |
10030 | static PyObject *_wrap_wxStyledTextEvent_SetWParam(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10031 | PyObject * _resultobj; | |
10032 | wxStyledTextEvent * _arg0; | |
10033 | int _arg1; | |
10034 | PyObject * _argo0 = 0; | |
10035 | char *_kwnames[] = { "self","val", NULL }; | |
10036 | ||
10037 | self = self; | |
10038 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextEvent_SetWParam",_kwnames,&_argo0,&_arg1)) | |
10039 | return NULL; | |
10040 | if (_argo0) { | |
10041 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
10042 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextEvent_p")) { | |
10043 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextEvent_SetWParam. Expected _wxStyledTextEvent_p."); | |
10044 | return NULL; | |
10045 | } | |
10046 | } | |
10047 | { | |
0e2ff151 | 10048 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 10049 | wxStyledTextEvent_SetWParam(_arg0,_arg1); |
8a2fa5c8 | 10050 | |
0e2ff151 RD |
10051 | wxPyEndAllowThreads(__tstate); |
10052 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
10053 | } Py_INCREF(Py_None); |
10054 | _resultobj = Py_None; | |
10055 | return _resultobj; | |
10056 | } | |
10057 | ||
10058 | #define wxStyledTextEvent_SetLParam(_swigobj,_swigarg0) (_swigobj->SetLParam(_swigarg0)) | |
10059 | static PyObject *_wrap_wxStyledTextEvent_SetLParam(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10060 | PyObject * _resultobj; | |
10061 | wxStyledTextEvent * _arg0; | |
10062 | int _arg1; | |
10063 | PyObject * _argo0 = 0; | |
10064 | char *_kwnames[] = { "self","val", NULL }; | |
10065 | ||
10066 | self = self; | |
10067 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextEvent_SetLParam",_kwnames,&_argo0,&_arg1)) | |
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_SetLParam. Expected _wxStyledTextEvent_p."); | |
10073 | return NULL; | |
10074 | } | |
10075 | } | |
10076 | { | |
0e2ff151 | 10077 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 10078 | wxStyledTextEvent_SetLParam(_arg0,_arg1); |
8a2fa5c8 | 10079 | |
0e2ff151 RD |
10080 | wxPyEndAllowThreads(__tstate); |
10081 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
10082 | } Py_INCREF(Py_None); |
10083 | _resultobj = Py_None; | |
10084 | return _resultobj; | |
10085 | } | |
10086 | ||
10087 | #define wxStyledTextEvent_SetListType(_swigobj,_swigarg0) (_swigobj->SetListType(_swigarg0)) | |
10088 | static PyObject *_wrap_wxStyledTextEvent_SetListType(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10089 | PyObject * _resultobj; | |
10090 | wxStyledTextEvent * _arg0; | |
10091 | int _arg1; | |
10092 | PyObject * _argo0 = 0; | |
10093 | char *_kwnames[] = { "self","val", NULL }; | |
10094 | ||
10095 | self = self; | |
10096 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextEvent_SetListType",_kwnames,&_argo0,&_arg1)) | |
10097 | return NULL; | |
10098 | if (_argo0) { | |
10099 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
10100 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextEvent_p")) { | |
10101 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextEvent_SetListType. Expected _wxStyledTextEvent_p."); | |
10102 | return NULL; | |
10103 | } | |
10104 | } | |
10105 | { | |
0e2ff151 | 10106 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 10107 | wxStyledTextEvent_SetListType(_arg0,_arg1); |
8a2fa5c8 | 10108 | |
0e2ff151 RD |
10109 | wxPyEndAllowThreads(__tstate); |
10110 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
10111 | } Py_INCREF(Py_None); |
10112 | _resultobj = Py_None; | |
10113 | return _resultobj; | |
10114 | } | |
10115 | ||
10116 | #define wxStyledTextEvent_SetX(_swigobj,_swigarg0) (_swigobj->SetX(_swigarg0)) | |
10117 | static PyObject *_wrap_wxStyledTextEvent_SetX(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10118 | PyObject * _resultobj; | |
10119 | wxStyledTextEvent * _arg0; | |
10120 | int _arg1; | |
10121 | PyObject * _argo0 = 0; | |
10122 | char *_kwnames[] = { "self","val", NULL }; | |
10123 | ||
10124 | self = self; | |
10125 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextEvent_SetX",_kwnames,&_argo0,&_arg1)) | |
10126 | return NULL; | |
10127 | if (_argo0) { | |
10128 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
10129 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextEvent_p")) { | |
10130 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextEvent_SetX. Expected _wxStyledTextEvent_p."); | |
10131 | return NULL; | |
10132 | } | |
10133 | } | |
10134 | { | |
0e2ff151 | 10135 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 10136 | wxStyledTextEvent_SetX(_arg0,_arg1); |
8a2fa5c8 | 10137 | |
0e2ff151 RD |
10138 | wxPyEndAllowThreads(__tstate); |
10139 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
10140 | } Py_INCREF(Py_None); |
10141 | _resultobj = Py_None; | |
10142 | return _resultobj; | |
10143 | } | |
10144 | ||
10145 | #define wxStyledTextEvent_SetY(_swigobj,_swigarg0) (_swigobj->SetY(_swigarg0)) | |
10146 | static PyObject *_wrap_wxStyledTextEvent_SetY(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10147 | PyObject * _resultobj; | |
10148 | wxStyledTextEvent * _arg0; | |
10149 | int _arg1; | |
10150 | PyObject * _argo0 = 0; | |
10151 | char *_kwnames[] = { "self","val", NULL }; | |
10152 | ||
10153 | self = self; | |
10154 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextEvent_SetY",_kwnames,&_argo0,&_arg1)) | |
10155 | return NULL; | |
10156 | if (_argo0) { | |
10157 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
10158 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextEvent_p")) { | |
10159 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextEvent_SetY. Expected _wxStyledTextEvent_p."); | |
10160 | return NULL; | |
10161 | } | |
10162 | } | |
10163 | { | |
0e2ff151 | 10164 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 10165 | wxStyledTextEvent_SetY(_arg0,_arg1); |
8a2fa5c8 | 10166 | |
0e2ff151 RD |
10167 | wxPyEndAllowThreads(__tstate); |
10168 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
10169 | } Py_INCREF(Py_None); |
10170 | _resultobj = Py_None; | |
10171 | return _resultobj; | |
10172 | } | |
10173 | ||
6abe8375 RD |
10174 | #define wxStyledTextEvent_SetDragText(_swigobj,_swigarg0) (_swigobj->SetDragText(_swigarg0)) |
10175 | static PyObject *_wrap_wxStyledTextEvent_SetDragText(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10176 | PyObject * _resultobj; | |
10177 | wxStyledTextEvent * _arg0; | |
10178 | wxString * _arg1; | |
10179 | PyObject * _argo0 = 0; | |
10180 | PyObject * _obj1 = 0; | |
10181 | char *_kwnames[] = { "self","val", NULL }; | |
10182 | ||
10183 | self = self; | |
10184 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxStyledTextEvent_SetDragText",_kwnames,&_argo0,&_obj1)) | |
10185 | return NULL; | |
10186 | if (_argo0) { | |
10187 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
10188 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextEvent_p")) { | |
10189 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextEvent_SetDragText. Expected _wxStyledTextEvent_p."); | |
10190 | return NULL; | |
10191 | } | |
10192 | } | |
10193 | { | |
6824d4f9 RD |
10194 | _arg1 = wxString_in_helper(_obj1); |
10195 | if (_arg1 == NULL) | |
6abe8375 | 10196 | return NULL; |
6abe8375 RD |
10197 | } |
10198 | { | |
10199 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6824d4f9 | 10200 | wxStyledTextEvent_SetDragText(_arg0,*_arg1); |
6abe8375 RD |
10201 | |
10202 | wxPyEndAllowThreads(__tstate); | |
10203 | if (PyErr_Occurred()) return NULL; | |
10204 | } Py_INCREF(Py_None); | |
10205 | _resultobj = Py_None; | |
10206 | { | |
10207 | if (_obj1) | |
10208 | delete _arg1; | |
10209 | } | |
10210 | return _resultobj; | |
10211 | } | |
10212 | ||
10213 | #define wxStyledTextEvent_SetDragAllowMove(_swigobj,_swigarg0) (_swigobj->SetDragAllowMove(_swigarg0)) | |
10214 | static PyObject *_wrap_wxStyledTextEvent_SetDragAllowMove(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10215 | PyObject * _resultobj; | |
10216 | wxStyledTextEvent * _arg0; | |
10217 | bool _arg1; | |
10218 | PyObject * _argo0 = 0; | |
10219 | int tempbool1; | |
10220 | char *_kwnames[] = { "self","val", NULL }; | |
10221 | ||
10222 | self = self; | |
10223 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextEvent_SetDragAllowMove",_kwnames,&_argo0,&tempbool1)) | |
10224 | return NULL; | |
10225 | if (_argo0) { | |
10226 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
10227 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextEvent_p")) { | |
10228 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextEvent_SetDragAllowMove. Expected _wxStyledTextEvent_p."); | |
10229 | return NULL; | |
10230 | } | |
10231 | } | |
10232 | _arg1 = (bool ) tempbool1; | |
10233 | { | |
10234 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6824d4f9 | 10235 | wxStyledTextEvent_SetDragAllowMove(_arg0,_arg1); |
6abe8375 RD |
10236 | |
10237 | wxPyEndAllowThreads(__tstate); | |
10238 | if (PyErr_Occurred()) return NULL; | |
10239 | } Py_INCREF(Py_None); | |
10240 | _resultobj = Py_None; | |
10241 | return _resultobj; | |
10242 | } | |
10243 | ||
10244 | #define wxStyledTextEvent_SetDragResult(_swigobj,_swigarg0) (_swigobj->SetDragResult(_swigarg0)) | |
10245 | static PyObject *_wrap_wxStyledTextEvent_SetDragResult(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10246 | PyObject * _resultobj; | |
10247 | wxStyledTextEvent * _arg0; | |
451c5cc7 | 10248 | wxDragResult _arg1; |
6abe8375 | 10249 | PyObject * _argo0 = 0; |
6abe8375 RD |
10250 | char *_kwnames[] = { "self","val", NULL }; |
10251 | ||
10252 | self = self; | |
451c5cc7 | 10253 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextEvent_SetDragResult",_kwnames,&_argo0,&_arg1)) |
6abe8375 RD |
10254 | return NULL; |
10255 | if (_argo0) { | |
10256 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
10257 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextEvent_p")) { | |
10258 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextEvent_SetDragResult. Expected _wxStyledTextEvent_p."); | |
10259 | return NULL; | |
10260 | } | |
10261 | } | |
6abe8375 RD |
10262 | { |
10263 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
451c5cc7 | 10264 | wxStyledTextEvent_SetDragResult(_arg0,_arg1); |
6abe8375 RD |
10265 | |
10266 | wxPyEndAllowThreads(__tstate); | |
10267 | if (PyErr_Occurred()) return NULL; | |
10268 | } Py_INCREF(Py_None); | |
10269 | _resultobj = Py_None; | |
10270 | return _resultobj; | |
10271 | } | |
10272 | ||
8a2fa5c8 RD |
10273 | #define wxStyledTextEvent_GetPosition(_swigobj) (_swigobj->GetPosition()) |
10274 | static PyObject *_wrap_wxStyledTextEvent_GetPosition(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10275 | PyObject * _resultobj; | |
10276 | int _result; | |
10277 | wxStyledTextEvent * _arg0; | |
10278 | PyObject * _argo0 = 0; | |
10279 | char *_kwnames[] = { "self", NULL }; | |
10280 | ||
10281 | self = self; | |
10282 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextEvent_GetPosition",_kwnames,&_argo0)) | |
10283 | return NULL; | |
10284 | if (_argo0) { | |
10285 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
10286 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextEvent_p")) { | |
10287 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextEvent_GetPosition. Expected _wxStyledTextEvent_p."); | |
10288 | return NULL; | |
10289 | } | |
10290 | } | |
10291 | { | |
0e2ff151 | 10292 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 10293 | _result = (int )wxStyledTextEvent_GetPosition(_arg0); |
8a2fa5c8 | 10294 | |
0e2ff151 RD |
10295 | wxPyEndAllowThreads(__tstate); |
10296 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
10297 | } _resultobj = Py_BuildValue("i",_result); |
10298 | return _resultobj; | |
10299 | } | |
10300 | ||
10301 | #define wxStyledTextEvent_GetKey(_swigobj) (_swigobj->GetKey()) | |
10302 | static PyObject *_wrap_wxStyledTextEvent_GetKey(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10303 | PyObject * _resultobj; | |
10304 | int _result; | |
10305 | wxStyledTextEvent * _arg0; | |
10306 | PyObject * _argo0 = 0; | |
10307 | char *_kwnames[] = { "self", NULL }; | |
10308 | ||
10309 | self = self; | |
10310 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextEvent_GetKey",_kwnames,&_argo0)) | |
10311 | return NULL; | |
10312 | if (_argo0) { | |
10313 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
10314 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextEvent_p")) { | |
10315 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextEvent_GetKey. Expected _wxStyledTextEvent_p."); | |
10316 | return NULL; | |
10317 | } | |
10318 | } | |
10319 | { | |
0e2ff151 | 10320 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 10321 | _result = (int )wxStyledTextEvent_GetKey(_arg0); |
8a2fa5c8 | 10322 | |
0e2ff151 RD |
10323 | wxPyEndAllowThreads(__tstate); |
10324 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
10325 | } _resultobj = Py_BuildValue("i",_result); |
10326 | return _resultobj; | |
10327 | } | |
10328 | ||
10329 | #define wxStyledTextEvent_GetModifiers(_swigobj) (_swigobj->GetModifiers()) | |
10330 | static PyObject *_wrap_wxStyledTextEvent_GetModifiers(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10331 | PyObject * _resultobj; | |
10332 | int _result; | |
10333 | wxStyledTextEvent * _arg0; | |
10334 | PyObject * _argo0 = 0; | |
10335 | char *_kwnames[] = { "self", NULL }; | |
10336 | ||
10337 | self = self; | |
10338 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextEvent_GetModifiers",_kwnames,&_argo0)) | |
10339 | return NULL; | |
10340 | if (_argo0) { | |
10341 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
10342 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextEvent_p")) { | |
10343 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextEvent_GetModifiers. Expected _wxStyledTextEvent_p."); | |
10344 | return NULL; | |
10345 | } | |
10346 | } | |
10347 | { | |
0e2ff151 | 10348 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 10349 | _result = (int )wxStyledTextEvent_GetModifiers(_arg0); |
8a2fa5c8 | 10350 | |
0e2ff151 RD |
10351 | wxPyEndAllowThreads(__tstate); |
10352 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
10353 | } _resultobj = Py_BuildValue("i",_result); |
10354 | return _resultobj; | |
10355 | } | |
10356 | ||
10357 | #define wxStyledTextEvent_GetModificationType(_swigobj) (_swigobj->GetModificationType()) | |
10358 | static PyObject *_wrap_wxStyledTextEvent_GetModificationType(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10359 | PyObject * _resultobj; | |
10360 | int _result; | |
10361 | wxStyledTextEvent * _arg0; | |
10362 | PyObject * _argo0 = 0; | |
10363 | char *_kwnames[] = { "self", NULL }; | |
10364 | ||
10365 | self = self; | |
10366 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextEvent_GetModificationType",_kwnames,&_argo0)) | |
10367 | return NULL; | |
10368 | if (_argo0) { | |
10369 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
10370 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextEvent_p")) { | |
10371 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextEvent_GetModificationType. Expected _wxStyledTextEvent_p."); | |
10372 | return NULL; | |
10373 | } | |
10374 | } | |
10375 | { | |
0e2ff151 | 10376 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 10377 | _result = (int )wxStyledTextEvent_GetModificationType(_arg0); |
8a2fa5c8 | 10378 | |
0e2ff151 RD |
10379 | wxPyEndAllowThreads(__tstate); |
10380 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
10381 | } _resultobj = Py_BuildValue("i",_result); |
10382 | return _resultobj; | |
10383 | } | |
10384 | ||
10385 | #define wxStyledTextEvent_GetText(_swigobj) (_swigobj->GetText()) | |
10386 | static PyObject *_wrap_wxStyledTextEvent_GetText(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10387 | PyObject * _resultobj; | |
10388 | wxString * _result; | |
10389 | wxStyledTextEvent * _arg0; | |
10390 | PyObject * _argo0 = 0; | |
10391 | char *_kwnames[] = { "self", NULL }; | |
10392 | ||
10393 | self = self; | |
10394 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextEvent_GetText",_kwnames,&_argo0)) | |
10395 | return NULL; | |
10396 | if (_argo0) { | |
10397 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
10398 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextEvent_p")) { | |
10399 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextEvent_GetText. Expected _wxStyledTextEvent_p."); | |
10400 | return NULL; | |
10401 | } | |
10402 | } | |
10403 | { | |
0e2ff151 | 10404 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 10405 | _result = new wxString (wxStyledTextEvent_GetText(_arg0)); |
8a2fa5c8 | 10406 | |
0e2ff151 RD |
10407 | wxPyEndAllowThreads(__tstate); |
10408 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 | 10409 | }{ |
6824d4f9 RD |
10410 | #if wxUSE_UNICODE |
10411 | _resultobj = PyUnicode_FromUnicode(_result->c_str(), _result->Len()); | |
10412 | #else | |
8a2fa5c8 | 10413 | _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len()); |
6824d4f9 | 10414 | #endif |
8a2fa5c8 RD |
10415 | } |
10416 | { | |
10417 | delete _result; | |
10418 | } | |
10419 | return _resultobj; | |
10420 | } | |
10421 | ||
10422 | #define wxStyledTextEvent_GetLength(_swigobj) (_swigobj->GetLength()) | |
10423 | static PyObject *_wrap_wxStyledTextEvent_GetLength(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10424 | PyObject * _resultobj; | |
10425 | int _result; | |
10426 | wxStyledTextEvent * _arg0; | |
10427 | PyObject * _argo0 = 0; | |
10428 | char *_kwnames[] = { "self", NULL }; | |
10429 | ||
10430 | self = self; | |
10431 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextEvent_GetLength",_kwnames,&_argo0)) | |
10432 | return NULL; | |
10433 | if (_argo0) { | |
10434 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
10435 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextEvent_p")) { | |
10436 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextEvent_GetLength. Expected _wxStyledTextEvent_p."); | |
10437 | return NULL; | |
10438 | } | |
10439 | } | |
10440 | { | |
0e2ff151 | 10441 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 10442 | _result = (int )wxStyledTextEvent_GetLength(_arg0); |
8a2fa5c8 | 10443 | |
0e2ff151 RD |
10444 | wxPyEndAllowThreads(__tstate); |
10445 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
10446 | } _resultobj = Py_BuildValue("i",_result); |
10447 | return _resultobj; | |
10448 | } | |
10449 | ||
10450 | #define wxStyledTextEvent_GetLinesAdded(_swigobj) (_swigobj->GetLinesAdded()) | |
10451 | static PyObject *_wrap_wxStyledTextEvent_GetLinesAdded(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10452 | PyObject * _resultobj; | |
10453 | int _result; | |
10454 | wxStyledTextEvent * _arg0; | |
10455 | PyObject * _argo0 = 0; | |
10456 | char *_kwnames[] = { "self", NULL }; | |
10457 | ||
10458 | self = self; | |
10459 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextEvent_GetLinesAdded",_kwnames,&_argo0)) | |
10460 | return NULL; | |
10461 | if (_argo0) { | |
10462 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
10463 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextEvent_p")) { | |
10464 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextEvent_GetLinesAdded. Expected _wxStyledTextEvent_p."); | |
10465 | return NULL; | |
10466 | } | |
10467 | } | |
10468 | { | |
0e2ff151 | 10469 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 10470 | _result = (int )wxStyledTextEvent_GetLinesAdded(_arg0); |
8a2fa5c8 | 10471 | |
0e2ff151 RD |
10472 | wxPyEndAllowThreads(__tstate); |
10473 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
10474 | } _resultobj = Py_BuildValue("i",_result); |
10475 | return _resultobj; | |
10476 | } | |
10477 | ||
10478 | #define wxStyledTextEvent_GetLine(_swigobj) (_swigobj->GetLine()) | |
10479 | static PyObject *_wrap_wxStyledTextEvent_GetLine(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10480 | PyObject * _resultobj; | |
10481 | int _result; | |
10482 | wxStyledTextEvent * _arg0; | |
10483 | PyObject * _argo0 = 0; | |
10484 | char *_kwnames[] = { "self", NULL }; | |
10485 | ||
10486 | self = self; | |
10487 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextEvent_GetLine",_kwnames,&_argo0)) | |
10488 | return NULL; | |
10489 | if (_argo0) { | |
10490 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
10491 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextEvent_p")) { | |
10492 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextEvent_GetLine. Expected _wxStyledTextEvent_p."); | |
10493 | return NULL; | |
10494 | } | |
10495 | } | |
10496 | { | |
0e2ff151 | 10497 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 10498 | _result = (int )wxStyledTextEvent_GetLine(_arg0); |
8a2fa5c8 | 10499 | |
0e2ff151 RD |
10500 | wxPyEndAllowThreads(__tstate); |
10501 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
10502 | } _resultobj = Py_BuildValue("i",_result); |
10503 | return _resultobj; | |
10504 | } | |
10505 | ||
10506 | #define wxStyledTextEvent_GetFoldLevelNow(_swigobj) (_swigobj->GetFoldLevelNow()) | |
10507 | static PyObject *_wrap_wxStyledTextEvent_GetFoldLevelNow(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10508 | PyObject * _resultobj; | |
10509 | int _result; | |
10510 | wxStyledTextEvent * _arg0; | |
10511 | PyObject * _argo0 = 0; | |
10512 | char *_kwnames[] = { "self", NULL }; | |
10513 | ||
10514 | self = self; | |
10515 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextEvent_GetFoldLevelNow",_kwnames,&_argo0)) | |
10516 | return NULL; | |
10517 | if (_argo0) { | |
10518 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
10519 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextEvent_p")) { | |
10520 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextEvent_GetFoldLevelNow. Expected _wxStyledTextEvent_p."); | |
10521 | return NULL; | |
10522 | } | |
10523 | } | |
10524 | { | |
0e2ff151 | 10525 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 10526 | _result = (int )wxStyledTextEvent_GetFoldLevelNow(_arg0); |
8a2fa5c8 | 10527 | |
0e2ff151 RD |
10528 | wxPyEndAllowThreads(__tstate); |
10529 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
10530 | } _resultobj = Py_BuildValue("i",_result); |
10531 | return _resultobj; | |
10532 | } | |
10533 | ||
10534 | #define wxStyledTextEvent_GetFoldLevelPrev(_swigobj) (_swigobj->GetFoldLevelPrev()) | |
10535 | static PyObject *_wrap_wxStyledTextEvent_GetFoldLevelPrev(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10536 | PyObject * _resultobj; | |
10537 | int _result; | |
10538 | wxStyledTextEvent * _arg0; | |
10539 | PyObject * _argo0 = 0; | |
10540 | char *_kwnames[] = { "self", NULL }; | |
10541 | ||
10542 | self = self; | |
10543 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextEvent_GetFoldLevelPrev",_kwnames,&_argo0)) | |
10544 | return NULL; | |
10545 | if (_argo0) { | |
10546 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
10547 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextEvent_p")) { | |
10548 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextEvent_GetFoldLevelPrev. Expected _wxStyledTextEvent_p."); | |
10549 | return NULL; | |
10550 | } | |
10551 | } | |
10552 | { | |
0e2ff151 | 10553 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 10554 | _result = (int )wxStyledTextEvent_GetFoldLevelPrev(_arg0); |
8a2fa5c8 | 10555 | |
0e2ff151 RD |
10556 | wxPyEndAllowThreads(__tstate); |
10557 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
10558 | } _resultobj = Py_BuildValue("i",_result); |
10559 | return _resultobj; | |
10560 | } | |
10561 | ||
10562 | #define wxStyledTextEvent_GetMargin(_swigobj) (_swigobj->GetMargin()) | |
10563 | static PyObject *_wrap_wxStyledTextEvent_GetMargin(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10564 | PyObject * _resultobj; | |
10565 | int _result; | |
10566 | wxStyledTextEvent * _arg0; | |
10567 | PyObject * _argo0 = 0; | |
10568 | char *_kwnames[] = { "self", NULL }; | |
10569 | ||
10570 | self = self; | |
10571 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextEvent_GetMargin",_kwnames,&_argo0)) | |
10572 | return NULL; | |
10573 | if (_argo0) { | |
10574 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
10575 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextEvent_p")) { | |
10576 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextEvent_GetMargin. Expected _wxStyledTextEvent_p."); | |
10577 | return NULL; | |
10578 | } | |
10579 | } | |
10580 | { | |
0e2ff151 | 10581 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 10582 | _result = (int )wxStyledTextEvent_GetMargin(_arg0); |
8a2fa5c8 | 10583 | |
0e2ff151 RD |
10584 | wxPyEndAllowThreads(__tstate); |
10585 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
10586 | } _resultobj = Py_BuildValue("i",_result); |
10587 | return _resultobj; | |
10588 | } | |
10589 | ||
10590 | #define wxStyledTextEvent_GetMessage(_swigobj) (_swigobj->GetMessage()) | |
10591 | static PyObject *_wrap_wxStyledTextEvent_GetMessage(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10592 | PyObject * _resultobj; | |
10593 | int _result; | |
10594 | wxStyledTextEvent * _arg0; | |
10595 | PyObject * _argo0 = 0; | |
10596 | char *_kwnames[] = { "self", NULL }; | |
10597 | ||
10598 | self = self; | |
10599 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextEvent_GetMessage",_kwnames,&_argo0)) | |
10600 | return NULL; | |
10601 | if (_argo0) { | |
10602 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
10603 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextEvent_p")) { | |
10604 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextEvent_GetMessage. Expected _wxStyledTextEvent_p."); | |
10605 | return NULL; | |
10606 | } | |
10607 | } | |
10608 | { | |
0e2ff151 | 10609 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 10610 | _result = (int )wxStyledTextEvent_GetMessage(_arg0); |
8a2fa5c8 | 10611 | |
0e2ff151 RD |
10612 | wxPyEndAllowThreads(__tstate); |
10613 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
10614 | } _resultobj = Py_BuildValue("i",_result); |
10615 | return _resultobj; | |
10616 | } | |
10617 | ||
10618 | #define wxStyledTextEvent_GetWParam(_swigobj) (_swigobj->GetWParam()) | |
10619 | static PyObject *_wrap_wxStyledTextEvent_GetWParam(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10620 | PyObject * _resultobj; | |
10621 | int _result; | |
10622 | wxStyledTextEvent * _arg0; | |
10623 | PyObject * _argo0 = 0; | |
10624 | char *_kwnames[] = { "self", NULL }; | |
10625 | ||
10626 | self = self; | |
10627 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextEvent_GetWParam",_kwnames,&_argo0)) | |
10628 | return NULL; | |
10629 | if (_argo0) { | |
10630 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
10631 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextEvent_p")) { | |
10632 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextEvent_GetWParam. Expected _wxStyledTextEvent_p."); | |
10633 | return NULL; | |
10634 | } | |
10635 | } | |
10636 | { | |
0e2ff151 | 10637 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 10638 | _result = (int )wxStyledTextEvent_GetWParam(_arg0); |
8a2fa5c8 | 10639 | |
0e2ff151 RD |
10640 | wxPyEndAllowThreads(__tstate); |
10641 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
10642 | } _resultobj = Py_BuildValue("i",_result); |
10643 | return _resultobj; | |
10644 | } | |
10645 | ||
10646 | #define wxStyledTextEvent_GetLParam(_swigobj) (_swigobj->GetLParam()) | |
10647 | static PyObject *_wrap_wxStyledTextEvent_GetLParam(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10648 | PyObject * _resultobj; | |
10649 | int _result; | |
10650 | wxStyledTextEvent * _arg0; | |
10651 | PyObject * _argo0 = 0; | |
10652 | char *_kwnames[] = { "self", NULL }; | |
10653 | ||
10654 | self = self; | |
10655 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextEvent_GetLParam",_kwnames,&_argo0)) | |
10656 | return NULL; | |
10657 | if (_argo0) { | |
10658 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
10659 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextEvent_p")) { | |
10660 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextEvent_GetLParam. Expected _wxStyledTextEvent_p."); | |
10661 | return NULL; | |
10662 | } | |
10663 | } | |
10664 | { | |
0e2ff151 | 10665 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 10666 | _result = (int )wxStyledTextEvent_GetLParam(_arg0); |
8a2fa5c8 | 10667 | |
0e2ff151 RD |
10668 | wxPyEndAllowThreads(__tstate); |
10669 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
10670 | } _resultobj = Py_BuildValue("i",_result); |
10671 | return _resultobj; | |
10672 | } | |
10673 | ||
10674 | #define wxStyledTextEvent_GetListType(_swigobj) (_swigobj->GetListType()) | |
10675 | static PyObject *_wrap_wxStyledTextEvent_GetListType(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10676 | PyObject * _resultobj; | |
10677 | int _result; | |
10678 | wxStyledTextEvent * _arg0; | |
10679 | PyObject * _argo0 = 0; | |
10680 | char *_kwnames[] = { "self", NULL }; | |
10681 | ||
10682 | self = self; | |
10683 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextEvent_GetListType",_kwnames,&_argo0)) | |
10684 | return NULL; | |
10685 | if (_argo0) { | |
10686 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
10687 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextEvent_p")) { | |
10688 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextEvent_GetListType. Expected _wxStyledTextEvent_p."); | |
10689 | return NULL; | |
10690 | } | |
10691 | } | |
10692 | { | |
0e2ff151 | 10693 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 10694 | _result = (int )wxStyledTextEvent_GetListType(_arg0); |
8a2fa5c8 | 10695 | |
0e2ff151 RD |
10696 | wxPyEndAllowThreads(__tstate); |
10697 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
10698 | } _resultobj = Py_BuildValue("i",_result); |
10699 | return _resultobj; | |
10700 | } | |
10701 | ||
10702 | #define wxStyledTextEvent_GetX(_swigobj) (_swigobj->GetX()) | |
10703 | static PyObject *_wrap_wxStyledTextEvent_GetX(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10704 | PyObject * _resultobj; | |
10705 | int _result; | |
10706 | wxStyledTextEvent * _arg0; | |
10707 | PyObject * _argo0 = 0; | |
10708 | char *_kwnames[] = { "self", NULL }; | |
10709 | ||
10710 | self = self; | |
10711 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextEvent_GetX",_kwnames,&_argo0)) | |
10712 | return NULL; | |
10713 | if (_argo0) { | |
10714 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
10715 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextEvent_p")) { | |
10716 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextEvent_GetX. Expected _wxStyledTextEvent_p."); | |
10717 | return NULL; | |
10718 | } | |
10719 | } | |
10720 | { | |
0e2ff151 | 10721 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 10722 | _result = (int )wxStyledTextEvent_GetX(_arg0); |
8a2fa5c8 | 10723 | |
0e2ff151 RD |
10724 | wxPyEndAllowThreads(__tstate); |
10725 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
10726 | } _resultobj = Py_BuildValue("i",_result); |
10727 | return _resultobj; | |
10728 | } | |
10729 | ||
10730 | #define wxStyledTextEvent_GetY(_swigobj) (_swigobj->GetY()) | |
10731 | static PyObject *_wrap_wxStyledTextEvent_GetY(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10732 | PyObject * _resultobj; | |
10733 | int _result; | |
10734 | wxStyledTextEvent * _arg0; | |
10735 | PyObject * _argo0 = 0; | |
10736 | char *_kwnames[] = { "self", NULL }; | |
10737 | ||
10738 | self = self; | |
10739 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextEvent_GetY",_kwnames,&_argo0)) | |
10740 | return NULL; | |
10741 | if (_argo0) { | |
10742 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
10743 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextEvent_p")) { | |
10744 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextEvent_GetY. Expected _wxStyledTextEvent_p."); | |
10745 | return NULL; | |
10746 | } | |
10747 | } | |
10748 | { | |
0e2ff151 | 10749 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 10750 | _result = (int )wxStyledTextEvent_GetY(_arg0); |
8a2fa5c8 | 10751 | |
0e2ff151 RD |
10752 | wxPyEndAllowThreads(__tstate); |
10753 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
10754 | } _resultobj = Py_BuildValue("i",_result); |
10755 | return _resultobj; | |
10756 | } | |
10757 | ||
6abe8375 RD |
10758 | #define wxStyledTextEvent_GetDragText(_swigobj) (_swigobj->GetDragText()) |
10759 | static PyObject *_wrap_wxStyledTextEvent_GetDragText(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10760 | PyObject * _resultobj; | |
10761 | wxString * _result; | |
10762 | wxStyledTextEvent * _arg0; | |
10763 | PyObject * _argo0 = 0; | |
10764 | char *_kwnames[] = { "self", NULL }; | |
10765 | ||
10766 | self = self; | |
10767 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextEvent_GetDragText",_kwnames,&_argo0)) | |
10768 | return NULL; | |
10769 | if (_argo0) { | |
10770 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
10771 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextEvent_p")) { | |
10772 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextEvent_GetDragText. Expected _wxStyledTextEvent_p."); | |
10773 | return NULL; | |
10774 | } | |
10775 | } | |
10776 | { | |
10777 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6824d4f9 | 10778 | _result = new wxString (wxStyledTextEvent_GetDragText(_arg0)); |
6abe8375 RD |
10779 | |
10780 | wxPyEndAllowThreads(__tstate); | |
10781 | if (PyErr_Occurred()) return NULL; | |
10782 | }{ | |
6824d4f9 RD |
10783 | #if wxUSE_UNICODE |
10784 | _resultobj = PyUnicode_FromUnicode(_result->c_str(), _result->Len()); | |
10785 | #else | |
6abe8375 | 10786 | _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len()); |
6824d4f9 | 10787 | #endif |
6abe8375 RD |
10788 | } |
10789 | { | |
10790 | delete _result; | |
10791 | } | |
10792 | return _resultobj; | |
10793 | } | |
10794 | ||
10795 | #define wxStyledTextEvent_GetDragAllowMove(_swigobj) (_swigobj->GetDragAllowMove()) | |
10796 | static PyObject *_wrap_wxStyledTextEvent_GetDragAllowMove(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10797 | PyObject * _resultobj; | |
10798 | bool _result; | |
10799 | wxStyledTextEvent * _arg0; | |
10800 | PyObject * _argo0 = 0; | |
10801 | char *_kwnames[] = { "self", NULL }; | |
10802 | ||
10803 | self = self; | |
10804 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextEvent_GetDragAllowMove",_kwnames,&_argo0)) | |
10805 | return NULL; | |
10806 | if (_argo0) { | |
10807 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
10808 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextEvent_p")) { | |
10809 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextEvent_GetDragAllowMove. Expected _wxStyledTextEvent_p."); | |
10810 | return NULL; | |
10811 | } | |
10812 | } | |
10813 | { | |
10814 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6824d4f9 | 10815 | _result = (bool )wxStyledTextEvent_GetDragAllowMove(_arg0); |
6abe8375 RD |
10816 | |
10817 | wxPyEndAllowThreads(__tstate); | |
10818 | if (PyErr_Occurred()) return NULL; | |
10819 | } _resultobj = Py_BuildValue("i",_result); | |
10820 | return _resultobj; | |
10821 | } | |
10822 | ||
10823 | #define wxStyledTextEvent_GetDragResult(_swigobj) (_swigobj->GetDragResult()) | |
10824 | static PyObject *_wrap_wxStyledTextEvent_GetDragResult(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10825 | PyObject * _resultobj; | |
451c5cc7 | 10826 | wxDragResult _result; |
6abe8375 RD |
10827 | wxStyledTextEvent * _arg0; |
10828 | PyObject * _argo0 = 0; | |
10829 | char *_kwnames[] = { "self", NULL }; | |
6abe8375 RD |
10830 | |
10831 | self = self; | |
10832 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextEvent_GetDragResult",_kwnames,&_argo0)) | |
10833 | return NULL; | |
10834 | if (_argo0) { | |
10835 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
10836 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextEvent_p")) { | |
10837 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextEvent_GetDragResult. Expected _wxStyledTextEvent_p."); | |
10838 | return NULL; | |
10839 | } | |
10840 | } | |
10841 | { | |
10842 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
451c5cc7 | 10843 | _result = (wxDragResult )wxStyledTextEvent_GetDragResult(_arg0); |
6abe8375 RD |
10844 | |
10845 | wxPyEndAllowThreads(__tstate); | |
10846 | if (PyErr_Occurred()) return NULL; | |
451c5cc7 | 10847 | } _resultobj = Py_BuildValue("i",_result); |
6abe8375 RD |
10848 | return _resultobj; |
10849 | } | |
10850 | ||
8a2fa5c8 RD |
10851 | #define wxStyledTextEvent_GetShift(_swigobj) (_swigobj->GetShift()) |
10852 | static PyObject *_wrap_wxStyledTextEvent_GetShift(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10853 | PyObject * _resultobj; | |
10854 | bool _result; | |
10855 | wxStyledTextEvent * _arg0; | |
10856 | PyObject * _argo0 = 0; | |
10857 | char *_kwnames[] = { "self", NULL }; | |
10858 | ||
10859 | self = self; | |
10860 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextEvent_GetShift",_kwnames,&_argo0)) | |
10861 | return NULL; | |
10862 | if (_argo0) { | |
10863 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
10864 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextEvent_p")) { | |
10865 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextEvent_GetShift. Expected _wxStyledTextEvent_p."); | |
10866 | return NULL; | |
10867 | } | |
10868 | } | |
10869 | { | |
0e2ff151 | 10870 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 10871 | _result = (bool )wxStyledTextEvent_GetShift(_arg0); |
8a2fa5c8 | 10872 | |
0e2ff151 RD |
10873 | wxPyEndAllowThreads(__tstate); |
10874 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
10875 | } _resultobj = Py_BuildValue("i",_result); |
10876 | return _resultobj; | |
10877 | } | |
10878 | ||
10879 | #define wxStyledTextEvent_GetControl(_swigobj) (_swigobj->GetControl()) | |
10880 | static PyObject *_wrap_wxStyledTextEvent_GetControl(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10881 | PyObject * _resultobj; | |
10882 | bool _result; | |
10883 | wxStyledTextEvent * _arg0; | |
10884 | PyObject * _argo0 = 0; | |
10885 | char *_kwnames[] = { "self", NULL }; | |
10886 | ||
10887 | self = self; | |
10888 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextEvent_GetControl",_kwnames,&_argo0)) | |
10889 | return NULL; | |
10890 | if (_argo0) { | |
10891 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
10892 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextEvent_p")) { | |
10893 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextEvent_GetControl. Expected _wxStyledTextEvent_p."); | |
10894 | return NULL; | |
10895 | } | |
10896 | } | |
10897 | { | |
0e2ff151 | 10898 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 10899 | _result = (bool )wxStyledTextEvent_GetControl(_arg0); |
8a2fa5c8 | 10900 | |
0e2ff151 RD |
10901 | wxPyEndAllowThreads(__tstate); |
10902 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
10903 | } _resultobj = Py_BuildValue("i",_result); |
10904 | return _resultobj; | |
10905 | } | |
10906 | ||
10907 | #define wxStyledTextEvent_GetAlt(_swigobj) (_swigobj->GetAlt()) | |
10908 | static PyObject *_wrap_wxStyledTextEvent_GetAlt(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10909 | PyObject * _resultobj; | |
10910 | bool _result; | |
10911 | wxStyledTextEvent * _arg0; | |
10912 | PyObject * _argo0 = 0; | |
10913 | char *_kwnames[] = { "self", NULL }; | |
10914 | ||
10915 | self = self; | |
10916 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextEvent_GetAlt",_kwnames,&_argo0)) | |
10917 | return NULL; | |
10918 | if (_argo0) { | |
10919 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
10920 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextEvent_p")) { | |
10921 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextEvent_GetAlt. Expected _wxStyledTextEvent_p."); | |
10922 | return NULL; | |
10923 | } | |
10924 | } | |
10925 | { | |
0e2ff151 | 10926 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 10927 | _result = (bool )wxStyledTextEvent_GetAlt(_arg0); |
8a2fa5c8 | 10928 | |
0e2ff151 RD |
10929 | wxPyEndAllowThreads(__tstate); |
10930 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
10931 | } _resultobj = Py_BuildValue("i",_result); |
10932 | return _resultobj; | |
10933 | } | |
10934 | ||
dbd3685c RD |
10935 | #define wxStyledTextEvent_Clone(_swigobj) (_swigobj->Clone()) |
10936 | static PyObject *_wrap_wxStyledTextEvent_Clone(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8a2fa5c8 | 10937 | PyObject * _resultobj; |
dbd3685c | 10938 | wxEvent * _result; |
8a2fa5c8 | 10939 | wxStyledTextEvent * _arg0; |
8a2fa5c8 | 10940 | PyObject * _argo0 = 0; |
dbd3685c RD |
10941 | char *_kwnames[] = { "self", NULL }; |
10942 | char _ptemp[128]; | |
8a2fa5c8 RD |
10943 | |
10944 | self = self; | |
dbd3685c | 10945 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextEvent_Clone",_kwnames,&_argo0)) |
8a2fa5c8 RD |
10946 | return NULL; |
10947 | if (_argo0) { | |
10948 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
10949 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextEvent_p")) { | |
dbd3685c | 10950 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextEvent_Clone. Expected _wxStyledTextEvent_p."); |
8a2fa5c8 RD |
10951 | return NULL; |
10952 | } | |
10953 | } | |
10954 | { | |
0e2ff151 | 10955 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 10956 | _result = (wxEvent *)wxStyledTextEvent_Clone(_arg0); |
8a2fa5c8 | 10957 | |
0e2ff151 RD |
10958 | wxPyEndAllowThreads(__tstate); |
10959 | if (PyErr_Occurred()) return NULL; | |
dbd3685c RD |
10960 | } if (_result) { |
10961 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxEvent_p"); | |
10962 | _resultobj = Py_BuildValue("s",_ptemp); | |
10963 | } else { | |
10964 | Py_INCREF(Py_None); | |
10965 | _resultobj = Py_None; | |
10966 | } | |
8a2fa5c8 RD |
10967 | return _resultobj; |
10968 | } | |
10969 | ||
10970 | static PyMethodDef stc_cMethods[] = { | |
dbd3685c | 10971 | { "wxStyledTextEvent_Clone", (PyCFunction) _wrap_wxStyledTextEvent_Clone, METH_VARARGS | METH_KEYWORDS }, |
8a2fa5c8 RD |
10972 | { "wxStyledTextEvent_GetAlt", (PyCFunction) _wrap_wxStyledTextEvent_GetAlt, METH_VARARGS | METH_KEYWORDS }, |
10973 | { "wxStyledTextEvent_GetControl", (PyCFunction) _wrap_wxStyledTextEvent_GetControl, METH_VARARGS | METH_KEYWORDS }, | |
10974 | { "wxStyledTextEvent_GetShift", (PyCFunction) _wrap_wxStyledTextEvent_GetShift, METH_VARARGS | METH_KEYWORDS }, | |
6abe8375 RD |
10975 | { "wxStyledTextEvent_GetDragResult", (PyCFunction) _wrap_wxStyledTextEvent_GetDragResult, METH_VARARGS | METH_KEYWORDS }, |
10976 | { "wxStyledTextEvent_GetDragAllowMove", (PyCFunction) _wrap_wxStyledTextEvent_GetDragAllowMove, METH_VARARGS | METH_KEYWORDS }, | |
10977 | { "wxStyledTextEvent_GetDragText", (PyCFunction) _wrap_wxStyledTextEvent_GetDragText, METH_VARARGS | METH_KEYWORDS }, | |
8a2fa5c8 RD |
10978 | { "wxStyledTextEvent_GetY", (PyCFunction) _wrap_wxStyledTextEvent_GetY, METH_VARARGS | METH_KEYWORDS }, |
10979 | { "wxStyledTextEvent_GetX", (PyCFunction) _wrap_wxStyledTextEvent_GetX, METH_VARARGS | METH_KEYWORDS }, | |
10980 | { "wxStyledTextEvent_GetListType", (PyCFunction) _wrap_wxStyledTextEvent_GetListType, METH_VARARGS | METH_KEYWORDS }, | |
10981 | { "wxStyledTextEvent_GetLParam", (PyCFunction) _wrap_wxStyledTextEvent_GetLParam, METH_VARARGS | METH_KEYWORDS }, | |
10982 | { "wxStyledTextEvent_GetWParam", (PyCFunction) _wrap_wxStyledTextEvent_GetWParam, METH_VARARGS | METH_KEYWORDS }, | |
10983 | { "wxStyledTextEvent_GetMessage", (PyCFunction) _wrap_wxStyledTextEvent_GetMessage, METH_VARARGS | METH_KEYWORDS }, | |
10984 | { "wxStyledTextEvent_GetMargin", (PyCFunction) _wrap_wxStyledTextEvent_GetMargin, METH_VARARGS | METH_KEYWORDS }, | |
10985 | { "wxStyledTextEvent_GetFoldLevelPrev", (PyCFunction) _wrap_wxStyledTextEvent_GetFoldLevelPrev, METH_VARARGS | METH_KEYWORDS }, | |
10986 | { "wxStyledTextEvent_GetFoldLevelNow", (PyCFunction) _wrap_wxStyledTextEvent_GetFoldLevelNow, METH_VARARGS | METH_KEYWORDS }, | |
10987 | { "wxStyledTextEvent_GetLine", (PyCFunction) _wrap_wxStyledTextEvent_GetLine, METH_VARARGS | METH_KEYWORDS }, | |
10988 | { "wxStyledTextEvent_GetLinesAdded", (PyCFunction) _wrap_wxStyledTextEvent_GetLinesAdded, METH_VARARGS | METH_KEYWORDS }, | |
10989 | { "wxStyledTextEvent_GetLength", (PyCFunction) _wrap_wxStyledTextEvent_GetLength, METH_VARARGS | METH_KEYWORDS }, | |
10990 | { "wxStyledTextEvent_GetText", (PyCFunction) _wrap_wxStyledTextEvent_GetText, METH_VARARGS | METH_KEYWORDS }, | |
10991 | { "wxStyledTextEvent_GetModificationType", (PyCFunction) _wrap_wxStyledTextEvent_GetModificationType, METH_VARARGS | METH_KEYWORDS }, | |
10992 | { "wxStyledTextEvent_GetModifiers", (PyCFunction) _wrap_wxStyledTextEvent_GetModifiers, METH_VARARGS | METH_KEYWORDS }, | |
10993 | { "wxStyledTextEvent_GetKey", (PyCFunction) _wrap_wxStyledTextEvent_GetKey, METH_VARARGS | METH_KEYWORDS }, | |
10994 | { "wxStyledTextEvent_GetPosition", (PyCFunction) _wrap_wxStyledTextEvent_GetPosition, METH_VARARGS | METH_KEYWORDS }, | |
6abe8375 RD |
10995 | { "wxStyledTextEvent_SetDragResult", (PyCFunction) _wrap_wxStyledTextEvent_SetDragResult, METH_VARARGS | METH_KEYWORDS }, |
10996 | { "wxStyledTextEvent_SetDragAllowMove", (PyCFunction) _wrap_wxStyledTextEvent_SetDragAllowMove, METH_VARARGS | METH_KEYWORDS }, | |
10997 | { "wxStyledTextEvent_SetDragText", (PyCFunction) _wrap_wxStyledTextEvent_SetDragText, METH_VARARGS | METH_KEYWORDS }, | |
8a2fa5c8 RD |
10998 | { "wxStyledTextEvent_SetY", (PyCFunction) _wrap_wxStyledTextEvent_SetY, METH_VARARGS | METH_KEYWORDS }, |
10999 | { "wxStyledTextEvent_SetX", (PyCFunction) _wrap_wxStyledTextEvent_SetX, METH_VARARGS | METH_KEYWORDS }, | |
11000 | { "wxStyledTextEvent_SetListType", (PyCFunction) _wrap_wxStyledTextEvent_SetListType, METH_VARARGS | METH_KEYWORDS }, | |
11001 | { "wxStyledTextEvent_SetLParam", (PyCFunction) _wrap_wxStyledTextEvent_SetLParam, METH_VARARGS | METH_KEYWORDS }, | |
11002 | { "wxStyledTextEvent_SetWParam", (PyCFunction) _wrap_wxStyledTextEvent_SetWParam, METH_VARARGS | METH_KEYWORDS }, | |
11003 | { "wxStyledTextEvent_SetMessage", (PyCFunction) _wrap_wxStyledTextEvent_SetMessage, METH_VARARGS | METH_KEYWORDS }, | |
11004 | { "wxStyledTextEvent_SetMargin", (PyCFunction) _wrap_wxStyledTextEvent_SetMargin, METH_VARARGS | METH_KEYWORDS }, | |
11005 | { "wxStyledTextEvent_SetFoldLevelPrev", (PyCFunction) _wrap_wxStyledTextEvent_SetFoldLevelPrev, METH_VARARGS | METH_KEYWORDS }, | |
11006 | { "wxStyledTextEvent_SetFoldLevelNow", (PyCFunction) _wrap_wxStyledTextEvent_SetFoldLevelNow, METH_VARARGS | METH_KEYWORDS }, | |
11007 | { "wxStyledTextEvent_SetLine", (PyCFunction) _wrap_wxStyledTextEvent_SetLine, METH_VARARGS | METH_KEYWORDS }, | |
11008 | { "wxStyledTextEvent_SetLinesAdded", (PyCFunction) _wrap_wxStyledTextEvent_SetLinesAdded, METH_VARARGS | METH_KEYWORDS }, | |
11009 | { "wxStyledTextEvent_SetLength", (PyCFunction) _wrap_wxStyledTextEvent_SetLength, METH_VARARGS | METH_KEYWORDS }, | |
11010 | { "wxStyledTextEvent_SetText", (PyCFunction) _wrap_wxStyledTextEvent_SetText, METH_VARARGS | METH_KEYWORDS }, | |
11011 | { "wxStyledTextEvent_SetModificationType", (PyCFunction) _wrap_wxStyledTextEvent_SetModificationType, METH_VARARGS | METH_KEYWORDS }, | |
11012 | { "wxStyledTextEvent_SetModifiers", (PyCFunction) _wrap_wxStyledTextEvent_SetModifiers, METH_VARARGS | METH_KEYWORDS }, | |
11013 | { "wxStyledTextEvent_SetKey", (PyCFunction) _wrap_wxStyledTextEvent_SetKey, METH_VARARGS | METH_KEYWORDS }, | |
11014 | { "wxStyledTextEvent_SetPosition", (PyCFunction) _wrap_wxStyledTextEvent_SetPosition, METH_VARARGS | METH_KEYWORDS }, | |
11015 | { "delete_wxStyledTextEvent", (PyCFunction) _wrap_delete_wxStyledTextEvent, METH_VARARGS | METH_KEYWORDS }, | |
11016 | { "new_wxStyledTextEvent", (PyCFunction) _wrap_new_wxStyledTextEvent, METH_VARARGS | METH_KEYWORDS }, | |
40699168 RD |
11017 | { "wxStyledTextCtrl_SetLastKeydownProcessed", (PyCFunction) _wrap_wxStyledTextCtrl_SetLastKeydownProcessed, METH_VARARGS | METH_KEYWORDS }, |
11018 | { "wxStyledTextCtrl_GetLastKeydownProcessed", (PyCFunction) _wrap_wxStyledTextCtrl_GetLastKeydownProcessed, METH_VARARGS | METH_KEYWORDS }, | |
dbd3685c RD |
11019 | { "wxStyledTextCtrl_SetHScrollBar", (PyCFunction) _wrap_wxStyledTextCtrl_SetHScrollBar, METH_VARARGS | METH_KEYWORDS }, |
11020 | { "wxStyledTextCtrl_SetVScrollBar", (PyCFunction) _wrap_wxStyledTextCtrl_SetVScrollBar, METH_VARARGS | METH_KEYWORDS }, | |
8a2fa5c8 RD |
11021 | { "wxStyledTextCtrl_SendMsg", (PyCFunction) _wrap_wxStyledTextCtrl_SendMsg, METH_VARARGS | METH_KEYWORDS }, |
11022 | { "wxStyledTextCtrl_ScrollToColumn", (PyCFunction) _wrap_wxStyledTextCtrl_ScrollToColumn, METH_VARARGS | METH_KEYWORDS }, | |
11023 | { "wxStyledTextCtrl_ScrollToLine", (PyCFunction) _wrap_wxStyledTextCtrl_ScrollToLine, METH_VARARGS | METH_KEYWORDS }, | |
11024 | { "wxStyledTextCtrl_PointFromPosition", (PyCFunction) _wrap_wxStyledTextCtrl_PointFromPosition, METH_VARARGS | METH_KEYWORDS }, | |
11025 | { "wxStyledTextCtrl_GetSelection", (PyCFunction) _wrap_wxStyledTextCtrl_GetSelection, METH_VARARGS | METH_KEYWORDS }, | |
11026 | { "wxStyledTextCtrl_SetMargins", (PyCFunction) _wrap_wxStyledTextCtrl_SetMargins, METH_VARARGS | METH_KEYWORDS }, | |
11027 | { "wxStyledTextCtrl_CmdKeyExecute", (PyCFunction) _wrap_wxStyledTextCtrl_CmdKeyExecute, METH_VARARGS | METH_KEYWORDS }, | |
11028 | { "wxStyledTextCtrl_StyleSetFontAttr", (PyCFunction) _wrap_wxStyledTextCtrl_StyleSetFontAttr, METH_VARARGS | METH_KEYWORDS }, | |
11029 | { "wxStyledTextCtrl_StyleSetFont", (PyCFunction) _wrap_wxStyledTextCtrl_StyleSetFont, METH_VARARGS | METH_KEYWORDS }, | |
11030 | { "wxStyledTextCtrl_StyleSetSpec", (PyCFunction) _wrap_wxStyledTextCtrl_StyleSetSpec, METH_VARARGS | METH_KEYWORDS }, | |
11031 | { "wxStyledTextCtrl_GetCurrentLine", (PyCFunction) _wrap_wxStyledTextCtrl_GetCurrentLine, METH_VARARGS | METH_KEYWORDS }, | |
11032 | { "wxStyledTextCtrl_SetLexerLanguage", (PyCFunction) _wrap_wxStyledTextCtrl_SetLexerLanguage, METH_VARARGS | METH_KEYWORDS }, | |
11033 | { "wxStyledTextCtrl_SetKeyWords", (PyCFunction) _wrap_wxStyledTextCtrl_SetKeyWords, METH_VARARGS | METH_KEYWORDS }, | |
11034 | { "wxStyledTextCtrl_SetProperty", (PyCFunction) _wrap_wxStyledTextCtrl_SetProperty, METH_VARARGS | METH_KEYWORDS }, | |
11035 | { "wxStyledTextCtrl_Colourise", (PyCFunction) _wrap_wxStyledTextCtrl_Colourise, METH_VARARGS | METH_KEYWORDS }, | |
11036 | { "wxStyledTextCtrl_GetLexer", (PyCFunction) _wrap_wxStyledTextCtrl_GetLexer, METH_VARARGS | METH_KEYWORDS }, | |
11037 | { "wxStyledTextCtrl_SetLexer", (PyCFunction) _wrap_wxStyledTextCtrl_SetLexer, METH_VARARGS | METH_KEYWORDS }, | |
11038 | { "wxStyledTextCtrl_StopRecord", (PyCFunction) _wrap_wxStyledTextCtrl_StopRecord, METH_VARARGS | METH_KEYWORDS }, | |
11039 | { "wxStyledTextCtrl_StartRecord", (PyCFunction) _wrap_wxStyledTextCtrl_StartRecord, METH_VARARGS | METH_KEYWORDS }, | |
47a06a26 RD |
11040 | { "wxStyledTextCtrl_SetYCaretPolicy", (PyCFunction) _wrap_wxStyledTextCtrl_SetYCaretPolicy, METH_VARARGS | METH_KEYWORDS }, |
11041 | { "wxStyledTextCtrl_SetXCaretPolicy", (PyCFunction) _wrap_wxStyledTextCtrl_SetXCaretPolicy, METH_VARARGS | METH_KEYWORDS }, | |
c3bfa1cb RD |
11042 | { "wxStyledTextCtrl_GetXOffset", (PyCFunction) _wrap_wxStyledTextCtrl_GetXOffset, METH_VARARGS | METH_KEYWORDS }, |
11043 | { "wxStyledTextCtrl_SetXOffset", (PyCFunction) _wrap_wxStyledTextCtrl_SetXOffset, METH_VARARGS | METH_KEYWORDS }, | |
8a2fa5c8 RD |
11044 | { "wxStyledTextCtrl_DelLineRight", (PyCFunction) _wrap_wxStyledTextCtrl_DelLineRight, METH_VARARGS | METH_KEYWORDS }, |
11045 | { "wxStyledTextCtrl_DelLineLeft", (PyCFunction) _wrap_wxStyledTextCtrl_DelLineLeft, METH_VARARGS | METH_KEYWORDS }, | |
11046 | { "wxStyledTextCtrl_SetVisiblePolicy", (PyCFunction) _wrap_wxStyledTextCtrl_SetVisiblePolicy, METH_VARARGS | METH_KEYWORDS }, | |
11047 | { "wxStyledTextCtrl_WordPartRightExtend", (PyCFunction) _wrap_wxStyledTextCtrl_WordPartRightExtend, METH_VARARGS | METH_KEYWORDS }, | |
11048 | { "wxStyledTextCtrl_WordPartRight", (PyCFunction) _wrap_wxStyledTextCtrl_WordPartRight, METH_VARARGS | METH_KEYWORDS }, | |
11049 | { "wxStyledTextCtrl_WordPartLeftExtend", (PyCFunction) _wrap_wxStyledTextCtrl_WordPartLeftExtend, METH_VARARGS | METH_KEYWORDS }, | |
11050 | { "wxStyledTextCtrl_WordPartLeft", (PyCFunction) _wrap_wxStyledTextCtrl_WordPartLeft, METH_VARARGS | METH_KEYWORDS }, | |
c3bfa1cb RD |
11051 | { "wxStyledTextCtrl_GetControlCharSymbol", (PyCFunction) _wrap_wxStyledTextCtrl_GetControlCharSymbol, METH_VARARGS | METH_KEYWORDS }, |
11052 | { "wxStyledTextCtrl_SetControlCharSymbol", (PyCFunction) _wrap_wxStyledTextCtrl_SetControlCharSymbol, METH_VARARGS | METH_KEYWORDS }, | |
8a2fa5c8 RD |
11053 | { "wxStyledTextCtrl_GetCursor", (PyCFunction) _wrap_wxStyledTextCtrl_GetCursor, METH_VARARGS | METH_KEYWORDS }, |
11054 | { "wxStyledTextCtrl_SetCursor", (PyCFunction) _wrap_wxStyledTextCtrl_SetCursor, METH_VARARGS | METH_KEYWORDS }, | |
11055 | { "wxStyledTextCtrl_GetMouseDownCaptures", (PyCFunction) _wrap_wxStyledTextCtrl_GetMouseDownCaptures, METH_VARARGS | METH_KEYWORDS }, | |
11056 | { "wxStyledTextCtrl_SetMouseDownCaptures", (PyCFunction) _wrap_wxStyledTextCtrl_SetMouseDownCaptures, METH_VARARGS | METH_KEYWORDS }, | |
11057 | { "wxStyledTextCtrl_GetStatus", (PyCFunction) _wrap_wxStyledTextCtrl_GetStatus, METH_VARARGS | METH_KEYWORDS }, | |
11058 | { "wxStyledTextCtrl_SetStatus", (PyCFunction) _wrap_wxStyledTextCtrl_SetStatus, METH_VARARGS | METH_KEYWORDS }, | |
11059 | { "wxStyledTextCtrl_GetSTCFocus", (PyCFunction) _wrap_wxStyledTextCtrl_GetSTCFocus, METH_VARARGS | METH_KEYWORDS }, | |
11060 | { "wxStyledTextCtrl_SetSTCFocus", (PyCFunction) _wrap_wxStyledTextCtrl_SetSTCFocus, METH_VARARGS | METH_KEYWORDS }, | |
11061 | { "wxStyledTextCtrl_GetModEventMask", (PyCFunction) _wrap_wxStyledTextCtrl_GetModEventMask, METH_VARARGS | METH_KEYWORDS }, | |
11062 | { "wxStyledTextCtrl_ReleaseDocument", (PyCFunction) _wrap_wxStyledTextCtrl_ReleaseDocument, METH_VARARGS | METH_KEYWORDS }, | |
11063 | { "wxStyledTextCtrl_AddRefDocument", (PyCFunction) _wrap_wxStyledTextCtrl_AddRefDocument, METH_VARARGS | METH_KEYWORDS }, | |
11064 | { "wxStyledTextCtrl_CreateDocument", (PyCFunction) _wrap_wxStyledTextCtrl_CreateDocument, METH_VARARGS | METH_KEYWORDS }, | |
11065 | { "wxStyledTextCtrl_GetZoom", (PyCFunction) _wrap_wxStyledTextCtrl_GetZoom, METH_VARARGS | METH_KEYWORDS }, | |
11066 | { "wxStyledTextCtrl_SetZoom", (PyCFunction) _wrap_wxStyledTextCtrl_SetZoom, METH_VARARGS | METH_KEYWORDS }, | |
11067 | { "wxStyledTextCtrl_SelectionIsRectangle", (PyCFunction) _wrap_wxStyledTextCtrl_SelectionIsRectangle, METH_VARARGS | METH_KEYWORDS }, | |
11068 | { "wxStyledTextCtrl_UsePopUp", (PyCFunction) _wrap_wxStyledTextCtrl_UsePopUp, METH_VARARGS | METH_KEYWORDS }, | |
11069 | { "wxStyledTextCtrl_LinesOnScreen", (PyCFunction) _wrap_wxStyledTextCtrl_LinesOnScreen, METH_VARARGS | METH_KEYWORDS }, | |
8a2fa5c8 RD |
11070 | { "wxStyledTextCtrl_SearchPrev", (PyCFunction) _wrap_wxStyledTextCtrl_SearchPrev, METH_VARARGS | METH_KEYWORDS }, |
11071 | { "wxStyledTextCtrl_SearchNext", (PyCFunction) _wrap_wxStyledTextCtrl_SearchNext, METH_VARARGS | METH_KEYWORDS }, | |
11072 | { "wxStyledTextCtrl_SearchAnchor", (PyCFunction) _wrap_wxStyledTextCtrl_SearchAnchor, METH_VARARGS | METH_KEYWORDS }, | |
11073 | { "wxStyledTextCtrl_SetEdgeColour", (PyCFunction) _wrap_wxStyledTextCtrl_SetEdgeColour, METH_VARARGS | METH_KEYWORDS }, | |
11074 | { "wxStyledTextCtrl_GetEdgeColour", (PyCFunction) _wrap_wxStyledTextCtrl_GetEdgeColour, METH_VARARGS | METH_KEYWORDS }, | |
11075 | { "wxStyledTextCtrl_SetEdgeMode", (PyCFunction) _wrap_wxStyledTextCtrl_SetEdgeMode, METH_VARARGS | METH_KEYWORDS }, | |
11076 | { "wxStyledTextCtrl_GetEdgeMode", (PyCFunction) _wrap_wxStyledTextCtrl_GetEdgeMode, METH_VARARGS | METH_KEYWORDS }, | |
11077 | { "wxStyledTextCtrl_SetEdgeColumn", (PyCFunction) _wrap_wxStyledTextCtrl_SetEdgeColumn, METH_VARARGS | METH_KEYWORDS }, | |
11078 | { "wxStyledTextCtrl_GetEdgeColumn", (PyCFunction) _wrap_wxStyledTextCtrl_GetEdgeColumn, METH_VARARGS | METH_KEYWORDS }, | |
11079 | { "wxStyledTextCtrl_SetModEventMask", (PyCFunction) _wrap_wxStyledTextCtrl_SetModEventMask, METH_VARARGS | METH_KEYWORDS }, | |
11080 | { "wxStyledTextCtrl_SetDocPointer", (PyCFunction) _wrap_wxStyledTextCtrl_SetDocPointer, METH_VARARGS | METH_KEYWORDS }, | |
11081 | { "wxStyledTextCtrl_GetDocPointer", (PyCFunction) _wrap_wxStyledTextCtrl_GetDocPointer, METH_VARARGS | METH_KEYWORDS }, | |
11082 | { "wxStyledTextCtrl_SetViewEOL", (PyCFunction) _wrap_wxStyledTextCtrl_SetViewEOL, METH_VARARGS | METH_KEYWORDS }, | |
11083 | { "wxStyledTextCtrl_GetViewEOL", (PyCFunction) _wrap_wxStyledTextCtrl_GetViewEOL, METH_VARARGS | METH_KEYWORDS }, | |
11084 | { "wxStyledTextCtrl_BraceMatch", (PyCFunction) _wrap_wxStyledTextCtrl_BraceMatch, METH_VARARGS | METH_KEYWORDS }, | |
11085 | { "wxStyledTextCtrl_BraceBadLight", (PyCFunction) _wrap_wxStyledTextCtrl_BraceBadLight, METH_VARARGS | METH_KEYWORDS }, | |
11086 | { "wxStyledTextCtrl_BraceHighlight", (PyCFunction) _wrap_wxStyledTextCtrl_BraceHighlight, METH_VARARGS | METH_KEYWORDS }, | |
11087 | { "wxStyledTextCtrl_LineLength", (PyCFunction) _wrap_wxStyledTextCtrl_LineLength, METH_VARARGS | METH_KEYWORDS }, | |
11088 | { "wxStyledTextCtrl_MoveCaretInsideView", (PyCFunction) _wrap_wxStyledTextCtrl_MoveCaretInsideView, METH_VARARGS | METH_KEYWORDS }, | |
47a06a26 RD |
11089 | { "wxStyledTextCtrl_LineEndDisplayExtend", (PyCFunction) _wrap_wxStyledTextCtrl_LineEndDisplayExtend, METH_VARARGS | METH_KEYWORDS }, |
11090 | { "wxStyledTextCtrl_LineEndDisplay", (PyCFunction) _wrap_wxStyledTextCtrl_LineEndDisplay, METH_VARARGS | METH_KEYWORDS }, | |
11091 | { "wxStyledTextCtrl_HomeDisplayExtend", (PyCFunction) _wrap_wxStyledTextCtrl_HomeDisplayExtend, METH_VARARGS | METH_KEYWORDS }, | |
11092 | { "wxStyledTextCtrl_HomeDisplay", (PyCFunction) _wrap_wxStyledTextCtrl_HomeDisplay, METH_VARARGS | METH_KEYWORDS }, | |
11093 | { "wxStyledTextCtrl_TextHeight", (PyCFunction) _wrap_wxStyledTextCtrl_TextHeight, METH_VARARGS | METH_KEYWORDS }, | |
11094 | { "wxStyledTextCtrl_GetEndAtLastLine", (PyCFunction) _wrap_wxStyledTextCtrl_GetEndAtLastLine, METH_VARARGS | METH_KEYWORDS }, | |
11095 | { "wxStyledTextCtrl_SetEndAtLastLine", (PyCFunction) _wrap_wxStyledTextCtrl_SetEndAtLastLine, METH_VARARGS | METH_KEYWORDS }, | |
11096 | { "wxStyledTextCtrl_TextWidth", (PyCFunction) _wrap_wxStyledTextCtrl_TextWidth, METH_VARARGS | METH_KEYWORDS }, | |
11097 | { "wxStyledTextCtrl_GetScrollWidth", (PyCFunction) _wrap_wxStyledTextCtrl_GetScrollWidth, METH_VARARGS | METH_KEYWORDS }, | |
11098 | { "wxStyledTextCtrl_SetScrollWidth", (PyCFunction) _wrap_wxStyledTextCtrl_SetScrollWidth, METH_VARARGS | METH_KEYWORDS }, | |
c3bfa1cb RD |
11099 | { "wxStyledTextCtrl_GetLayoutCache", (PyCFunction) _wrap_wxStyledTextCtrl_GetLayoutCache, METH_VARARGS | METH_KEYWORDS }, |
11100 | { "wxStyledTextCtrl_SetLayoutCache", (PyCFunction) _wrap_wxStyledTextCtrl_SetLayoutCache, METH_VARARGS | METH_KEYWORDS }, | |
11101 | { "wxStyledTextCtrl_GetWrapMode", (PyCFunction) _wrap_wxStyledTextCtrl_GetWrapMode, METH_VARARGS | METH_KEYWORDS }, | |
11102 | { "wxStyledTextCtrl_SetWrapMode", (PyCFunction) _wrap_wxStyledTextCtrl_SetWrapMode, METH_VARARGS | METH_KEYWORDS }, | |
11103 | { "wxStyledTextCtrl_WordEndPosition", (PyCFunction) _wrap_wxStyledTextCtrl_WordEndPosition, METH_VARARGS | METH_KEYWORDS }, | |
11104 | { "wxStyledTextCtrl_WordStartPosition", (PyCFunction) _wrap_wxStyledTextCtrl_WordStartPosition, METH_VARARGS | METH_KEYWORDS }, | |
8a2fa5c8 RD |
11105 | { "wxStyledTextCtrl_GetMouseDwellTime", (PyCFunction) _wrap_wxStyledTextCtrl_GetMouseDwellTime, METH_VARARGS | METH_KEYWORDS }, |
11106 | { "wxStyledTextCtrl_SetMouseDwellTime", (PyCFunction) _wrap_wxStyledTextCtrl_SetMouseDwellTime, METH_VARARGS | METH_KEYWORDS }, | |
11107 | { "wxStyledTextCtrl_GetBackSpaceUnIndents", (PyCFunction) _wrap_wxStyledTextCtrl_GetBackSpaceUnIndents, METH_VARARGS | METH_KEYWORDS }, | |
11108 | { "wxStyledTextCtrl_SetBackSpaceUnIndents", (PyCFunction) _wrap_wxStyledTextCtrl_SetBackSpaceUnIndents, METH_VARARGS | METH_KEYWORDS }, | |
11109 | { "wxStyledTextCtrl_GetTabIndents", (PyCFunction) _wrap_wxStyledTextCtrl_GetTabIndents, METH_VARARGS | METH_KEYWORDS }, | |
11110 | { "wxStyledTextCtrl_SetTabIndents", (PyCFunction) _wrap_wxStyledTextCtrl_SetTabIndents, METH_VARARGS | METH_KEYWORDS }, | |
11111 | { "wxStyledTextCtrl_EnsureVisibleEnforcePolicy", (PyCFunction) _wrap_wxStyledTextCtrl_EnsureVisibleEnforcePolicy, METH_VARARGS | METH_KEYWORDS }, | |
11112 | { "wxStyledTextCtrl_SetFoldFlags", (PyCFunction) _wrap_wxStyledTextCtrl_SetFoldFlags, METH_VARARGS | METH_KEYWORDS }, | |
11113 | { "wxStyledTextCtrl_EnsureVisible", (PyCFunction) _wrap_wxStyledTextCtrl_EnsureVisible, METH_VARARGS | METH_KEYWORDS }, | |
11114 | { "wxStyledTextCtrl_ToggleFold", (PyCFunction) _wrap_wxStyledTextCtrl_ToggleFold, METH_VARARGS | METH_KEYWORDS }, | |
11115 | { "wxStyledTextCtrl_GetFoldExpanded", (PyCFunction) _wrap_wxStyledTextCtrl_GetFoldExpanded, METH_VARARGS | METH_KEYWORDS }, | |
11116 | { "wxStyledTextCtrl_SetFoldExpanded", (PyCFunction) _wrap_wxStyledTextCtrl_SetFoldExpanded, METH_VARARGS | METH_KEYWORDS }, | |
11117 | { "wxStyledTextCtrl_GetLineVisible", (PyCFunction) _wrap_wxStyledTextCtrl_GetLineVisible, METH_VARARGS | METH_KEYWORDS }, | |
11118 | { "wxStyledTextCtrl_HideLines", (PyCFunction) _wrap_wxStyledTextCtrl_HideLines, METH_VARARGS | METH_KEYWORDS }, | |
11119 | { "wxStyledTextCtrl_ShowLines", (PyCFunction) _wrap_wxStyledTextCtrl_ShowLines, METH_VARARGS | METH_KEYWORDS }, | |
11120 | { "wxStyledTextCtrl_GetFoldParent", (PyCFunction) _wrap_wxStyledTextCtrl_GetFoldParent, METH_VARARGS | METH_KEYWORDS }, | |
11121 | { "wxStyledTextCtrl_GetLastChild", (PyCFunction) _wrap_wxStyledTextCtrl_GetLastChild, METH_VARARGS | METH_KEYWORDS }, | |
11122 | { "wxStyledTextCtrl_GetFoldLevel", (PyCFunction) _wrap_wxStyledTextCtrl_GetFoldLevel, METH_VARARGS | METH_KEYWORDS }, | |
11123 | { "wxStyledTextCtrl_SetFoldLevel", (PyCFunction) _wrap_wxStyledTextCtrl_SetFoldLevel, METH_VARARGS | METH_KEYWORDS }, | |
11124 | { "wxStyledTextCtrl_DocLineFromVisible", (PyCFunction) _wrap_wxStyledTextCtrl_DocLineFromVisible, METH_VARARGS | METH_KEYWORDS }, | |
11125 | { "wxStyledTextCtrl_VisibleFromDocLine", (PyCFunction) _wrap_wxStyledTextCtrl_VisibleFromDocLine, METH_VARARGS | METH_KEYWORDS }, | |
11126 | { "wxStyledTextCtrl_CallTipSetBackground", (PyCFunction) _wrap_wxStyledTextCtrl_CallTipSetBackground, METH_VARARGS | METH_KEYWORDS }, | |
11127 | { "wxStyledTextCtrl_CallTipSetHighlight", (PyCFunction) _wrap_wxStyledTextCtrl_CallTipSetHighlight, METH_VARARGS | METH_KEYWORDS }, | |
11128 | { "wxStyledTextCtrl_CallTipPosAtStart", (PyCFunction) _wrap_wxStyledTextCtrl_CallTipPosAtStart, METH_VARARGS | METH_KEYWORDS }, | |
11129 | { "wxStyledTextCtrl_CallTipActive", (PyCFunction) _wrap_wxStyledTextCtrl_CallTipActive, METH_VARARGS | METH_KEYWORDS }, | |
11130 | { "wxStyledTextCtrl_CallTipCancel", (PyCFunction) _wrap_wxStyledTextCtrl_CallTipCancel, METH_VARARGS | METH_KEYWORDS }, | |
11131 | { "wxStyledTextCtrl_CallTipShow", (PyCFunction) _wrap_wxStyledTextCtrl_CallTipShow, METH_VARARGS | METH_KEYWORDS }, | |
11132 | { "wxStyledTextCtrl_GetSearchFlags", (PyCFunction) _wrap_wxStyledTextCtrl_GetSearchFlags, METH_VARARGS | METH_KEYWORDS }, | |
11133 | { "wxStyledTextCtrl_SetSearchFlags", (PyCFunction) _wrap_wxStyledTextCtrl_SetSearchFlags, METH_VARARGS | METH_KEYWORDS }, | |
11134 | { "wxStyledTextCtrl_SearchInTarget", (PyCFunction) _wrap_wxStyledTextCtrl_SearchInTarget, METH_VARARGS | METH_KEYWORDS }, | |
11135 | { "wxStyledTextCtrl_ReplaceTargetRE", (PyCFunction) _wrap_wxStyledTextCtrl_ReplaceTargetRE, METH_VARARGS | METH_KEYWORDS }, | |
11136 | { "wxStyledTextCtrl_ReplaceTarget", (PyCFunction) _wrap_wxStyledTextCtrl_ReplaceTarget, METH_VARARGS | METH_KEYWORDS }, | |
11137 | { "wxStyledTextCtrl_GetTargetEnd", (PyCFunction) _wrap_wxStyledTextCtrl_GetTargetEnd, METH_VARARGS | METH_KEYWORDS }, | |
11138 | { "wxStyledTextCtrl_SetTargetEnd", (PyCFunction) _wrap_wxStyledTextCtrl_SetTargetEnd, METH_VARARGS | METH_KEYWORDS }, | |
11139 | { "wxStyledTextCtrl_GetTargetStart", (PyCFunction) _wrap_wxStyledTextCtrl_GetTargetStart, METH_VARARGS | METH_KEYWORDS }, | |
11140 | { "wxStyledTextCtrl_SetTargetStart", (PyCFunction) _wrap_wxStyledTextCtrl_SetTargetStart, METH_VARARGS | METH_KEYWORDS }, | |
11141 | { "wxStyledTextCtrl_GetCaretWidth", (PyCFunction) _wrap_wxStyledTextCtrl_GetCaretWidth, METH_VARARGS | METH_KEYWORDS }, | |
11142 | { "wxStyledTextCtrl_SetCaretWidth", (PyCFunction) _wrap_wxStyledTextCtrl_SetCaretWidth, METH_VARARGS | METH_KEYWORDS }, | |
11143 | { "wxStyledTextCtrl_GetOvertype", (PyCFunction) _wrap_wxStyledTextCtrl_GetOvertype, METH_VARARGS | METH_KEYWORDS }, | |
11144 | { "wxStyledTextCtrl_SetOvertype", (PyCFunction) _wrap_wxStyledTextCtrl_SetOvertype, METH_VARARGS | METH_KEYWORDS }, | |
11145 | { "wxStyledTextCtrl_GetTextLength", (PyCFunction) _wrap_wxStyledTextCtrl_GetTextLength, METH_VARARGS | METH_KEYWORDS }, | |
11146 | { "wxStyledTextCtrl_GetText", (PyCFunction) _wrap_wxStyledTextCtrl_GetText, METH_VARARGS | METH_KEYWORDS }, | |
11147 | { "wxStyledTextCtrl_SetText", (PyCFunction) _wrap_wxStyledTextCtrl_SetText, METH_VARARGS | METH_KEYWORDS }, | |
11148 | { "wxStyledTextCtrl_Clear", (PyCFunction) _wrap_wxStyledTextCtrl_Clear, METH_VARARGS | METH_KEYWORDS }, | |
11149 | { "wxStyledTextCtrl_Paste", (PyCFunction) _wrap_wxStyledTextCtrl_Paste, METH_VARARGS | METH_KEYWORDS }, | |
11150 | { "wxStyledTextCtrl_Copy", (PyCFunction) _wrap_wxStyledTextCtrl_Copy, METH_VARARGS | METH_KEYWORDS }, | |
11151 | { "wxStyledTextCtrl_Cut", (PyCFunction) _wrap_wxStyledTextCtrl_Cut, METH_VARARGS | METH_KEYWORDS }, | |
11152 | { "wxStyledTextCtrl_Undo", (PyCFunction) _wrap_wxStyledTextCtrl_Undo, METH_VARARGS | METH_KEYWORDS }, | |
11153 | { "wxStyledTextCtrl_EmptyUndoBuffer", (PyCFunction) _wrap_wxStyledTextCtrl_EmptyUndoBuffer, METH_VARARGS | METH_KEYWORDS }, | |
11154 | { "wxStyledTextCtrl_CanUndo", (PyCFunction) _wrap_wxStyledTextCtrl_CanUndo, METH_VARARGS | METH_KEYWORDS }, | |
11155 | { "wxStyledTextCtrl_CanPaste", (PyCFunction) _wrap_wxStyledTextCtrl_CanPaste, METH_VARARGS | METH_KEYWORDS }, | |
11156 | { "wxStyledTextCtrl_SetReadOnly", (PyCFunction) _wrap_wxStyledTextCtrl_SetReadOnly, METH_VARARGS | METH_KEYWORDS }, | |
11157 | { "wxStyledTextCtrl_ReplaceSelection", (PyCFunction) _wrap_wxStyledTextCtrl_ReplaceSelection, METH_VARARGS | METH_KEYWORDS }, | |
11158 | { "wxStyledTextCtrl_EnsureCaretVisible", (PyCFunction) _wrap_wxStyledTextCtrl_EnsureCaretVisible, METH_VARARGS | METH_KEYWORDS }, | |
11159 | { "wxStyledTextCtrl_LineScroll", (PyCFunction) _wrap_wxStyledTextCtrl_LineScroll, METH_VARARGS | METH_KEYWORDS }, | |
11160 | { "wxStyledTextCtrl_PositionFromLine", (PyCFunction) _wrap_wxStyledTextCtrl_PositionFromLine, METH_VARARGS | METH_KEYWORDS }, | |
11161 | { "wxStyledTextCtrl_LineFromPosition", (PyCFunction) _wrap_wxStyledTextCtrl_LineFromPosition, METH_VARARGS | METH_KEYWORDS }, | |
11162 | { "wxStyledTextCtrl_HideSelection", (PyCFunction) _wrap_wxStyledTextCtrl_HideSelection, METH_VARARGS | METH_KEYWORDS }, | |
11163 | { "wxStyledTextCtrl_GetTextRange", (PyCFunction) _wrap_wxStyledTextCtrl_GetTextRange, METH_VARARGS | METH_KEYWORDS }, | |
11164 | { "wxStyledTextCtrl_GetSelectedText", (PyCFunction) _wrap_wxStyledTextCtrl_GetSelectedText, METH_VARARGS | METH_KEYWORDS }, | |
11165 | { "wxStyledTextCtrl_SetSelection", (PyCFunction) _wrap_wxStyledTextCtrl_SetSelection, METH_VARARGS | METH_KEYWORDS }, | |
11166 | { "wxStyledTextCtrl_GetModify", (PyCFunction) _wrap_wxStyledTextCtrl_GetModify, METH_VARARGS | METH_KEYWORDS }, | |
11167 | { "wxStyledTextCtrl_GetMarginRight", (PyCFunction) _wrap_wxStyledTextCtrl_GetMarginRight, METH_VARARGS | METH_KEYWORDS }, | |
11168 | { "wxStyledTextCtrl_SetMarginRight", (PyCFunction) _wrap_wxStyledTextCtrl_SetMarginRight, METH_VARARGS | METH_KEYWORDS }, | |
11169 | { "wxStyledTextCtrl_GetMarginLeft", (PyCFunction) _wrap_wxStyledTextCtrl_GetMarginLeft, METH_VARARGS | METH_KEYWORDS }, | |
11170 | { "wxStyledTextCtrl_SetMarginLeft", (PyCFunction) _wrap_wxStyledTextCtrl_SetMarginLeft, METH_VARARGS | METH_KEYWORDS }, | |
11171 | { "wxStyledTextCtrl_GetLineCount", (PyCFunction) _wrap_wxStyledTextCtrl_GetLineCount, METH_VARARGS | METH_KEYWORDS }, | |
11172 | { "wxStyledTextCtrl_GetLine", (PyCFunction) _wrap_wxStyledTextCtrl_GetLine, METH_VARARGS | METH_KEYWORDS }, | |
11173 | { "wxStyledTextCtrl_GetFirstVisibleLine", (PyCFunction) _wrap_wxStyledTextCtrl_GetFirstVisibleLine, METH_VARARGS | METH_KEYWORDS }, | |
11174 | { "wxStyledTextCtrl_FormatRange", (PyCFunction) _wrap_wxStyledTextCtrl_FormatRange, METH_VARARGS | METH_KEYWORDS }, | |
11175 | { "wxStyledTextCtrl_FindText", (PyCFunction) _wrap_wxStyledTextCtrl_FindText, METH_VARARGS | METH_KEYWORDS }, | |
11176 | { "wxStyledTextCtrl_GetPrintColourMode", (PyCFunction) _wrap_wxStyledTextCtrl_GetPrintColourMode, METH_VARARGS | METH_KEYWORDS }, | |
11177 | { "wxStyledTextCtrl_SetPrintColourMode", (PyCFunction) _wrap_wxStyledTextCtrl_SetPrintColourMode, METH_VARARGS | METH_KEYWORDS }, | |
11178 | { "wxStyledTextCtrl_GetPrintMagnification", (PyCFunction) _wrap_wxStyledTextCtrl_GetPrintMagnification, METH_VARARGS | METH_KEYWORDS }, | |
11179 | { "wxStyledTextCtrl_SetPrintMagnification", (PyCFunction) _wrap_wxStyledTextCtrl_SetPrintMagnification, METH_VARARGS | METH_KEYWORDS }, | |
11180 | { "wxStyledTextCtrl_GetSelectionEnd", (PyCFunction) _wrap_wxStyledTextCtrl_GetSelectionEnd, METH_VARARGS | METH_KEYWORDS }, | |
11181 | { "wxStyledTextCtrl_SetSelectionEnd", (PyCFunction) _wrap_wxStyledTextCtrl_SetSelectionEnd, METH_VARARGS | METH_KEYWORDS }, | |
11182 | { "wxStyledTextCtrl_GetSelectionStart", (PyCFunction) _wrap_wxStyledTextCtrl_GetSelectionStart, METH_VARARGS | METH_KEYWORDS }, | |
11183 | { "wxStyledTextCtrl_SetSelectionStart", (PyCFunction) _wrap_wxStyledTextCtrl_SetSelectionStart, METH_VARARGS | METH_KEYWORDS }, | |
11184 | { "wxStyledTextCtrl_SetCurrentPos", (PyCFunction) _wrap_wxStyledTextCtrl_SetCurrentPos, METH_VARARGS | METH_KEYWORDS }, | |
11185 | { "wxStyledTextCtrl_GetReadOnly", (PyCFunction) _wrap_wxStyledTextCtrl_GetReadOnly, METH_VARARGS | METH_KEYWORDS }, | |
11186 | { "wxStyledTextCtrl_GetCaretForeground", (PyCFunction) _wrap_wxStyledTextCtrl_GetCaretForeground, METH_VARARGS | METH_KEYWORDS }, | |
11187 | { "wxStyledTextCtrl_GetCodePage", (PyCFunction) _wrap_wxStyledTextCtrl_GetCodePage, METH_VARARGS | METH_KEYWORDS }, | |
11188 | { "wxStyledTextCtrl_GetLineEndPosition", (PyCFunction) _wrap_wxStyledTextCtrl_GetLineEndPosition, METH_VARARGS | METH_KEYWORDS }, | |
11189 | { "wxStyledTextCtrl_GetHighlightGuide", (PyCFunction) _wrap_wxStyledTextCtrl_GetHighlightGuide, METH_VARARGS | METH_KEYWORDS }, | |
11190 | { "wxStyledTextCtrl_SetHighlightGuide", (PyCFunction) _wrap_wxStyledTextCtrl_SetHighlightGuide, METH_VARARGS | METH_KEYWORDS }, | |
11191 | { "wxStyledTextCtrl_GetIndentationGuides", (PyCFunction) _wrap_wxStyledTextCtrl_GetIndentationGuides, METH_VARARGS | METH_KEYWORDS }, | |
11192 | { "wxStyledTextCtrl_SetIndentationGuides", (PyCFunction) _wrap_wxStyledTextCtrl_SetIndentationGuides, METH_VARARGS | METH_KEYWORDS }, | |
11193 | { "wxStyledTextCtrl_GetUseHorizontalScrollBar", (PyCFunction) _wrap_wxStyledTextCtrl_GetUseHorizontalScrollBar, METH_VARARGS | METH_KEYWORDS }, | |
11194 | { "wxStyledTextCtrl_SetUseHorizontalScrollBar", (PyCFunction) _wrap_wxStyledTextCtrl_SetUseHorizontalScrollBar, METH_VARARGS | METH_KEYWORDS }, | |
11195 | { "wxStyledTextCtrl_GetColumn", (PyCFunction) _wrap_wxStyledTextCtrl_GetColumn, METH_VARARGS | METH_KEYWORDS }, | |
11196 | { "wxStyledTextCtrl_GetLineIndentPosition", (PyCFunction) _wrap_wxStyledTextCtrl_GetLineIndentPosition, METH_VARARGS | METH_KEYWORDS }, | |
11197 | { "wxStyledTextCtrl_GetLineIndentation", (PyCFunction) _wrap_wxStyledTextCtrl_GetLineIndentation, METH_VARARGS | METH_KEYWORDS }, | |
11198 | { "wxStyledTextCtrl_SetLineIndentation", (PyCFunction) _wrap_wxStyledTextCtrl_SetLineIndentation, METH_VARARGS | METH_KEYWORDS }, | |
11199 | { "wxStyledTextCtrl_GetUseTabs", (PyCFunction) _wrap_wxStyledTextCtrl_GetUseTabs, METH_VARARGS | METH_KEYWORDS }, | |
11200 | { "wxStyledTextCtrl_SetUseTabs", (PyCFunction) _wrap_wxStyledTextCtrl_SetUseTabs, METH_VARARGS | METH_KEYWORDS }, | |
11201 | { "wxStyledTextCtrl_GetIndent", (PyCFunction) _wrap_wxStyledTextCtrl_GetIndent, METH_VARARGS | METH_KEYWORDS }, | |
11202 | { "wxStyledTextCtrl_SetIndent", (PyCFunction) _wrap_wxStyledTextCtrl_SetIndent, METH_VARARGS | METH_KEYWORDS }, | |
c3bfa1cb RD |
11203 | { "wxStyledTextCtrl_AutoCompGetDropRestOfWord", (PyCFunction) _wrap_wxStyledTextCtrl_AutoCompGetDropRestOfWord, METH_VARARGS | METH_KEYWORDS }, |
11204 | { "wxStyledTextCtrl_AutoCompSetDropRestOfWord", (PyCFunction) _wrap_wxStyledTextCtrl_AutoCompSetDropRestOfWord, METH_VARARGS | METH_KEYWORDS }, | |
8a2fa5c8 RD |
11205 | { "wxStyledTextCtrl_AutoCompGetAutoHide", (PyCFunction) _wrap_wxStyledTextCtrl_AutoCompGetAutoHide, METH_VARARGS | METH_KEYWORDS }, |
11206 | { "wxStyledTextCtrl_AutoCompSetAutoHide", (PyCFunction) _wrap_wxStyledTextCtrl_AutoCompSetAutoHide, METH_VARARGS | METH_KEYWORDS }, | |
11207 | { "wxStyledTextCtrl_UserListShow", (PyCFunction) _wrap_wxStyledTextCtrl_UserListShow, METH_VARARGS | METH_KEYWORDS }, | |
11208 | { "wxStyledTextCtrl_AutoCompGetIgnoreCase", (PyCFunction) _wrap_wxStyledTextCtrl_AutoCompGetIgnoreCase, METH_VARARGS | METH_KEYWORDS }, | |
11209 | { "wxStyledTextCtrl_AutoCompSetIgnoreCase", (PyCFunction) _wrap_wxStyledTextCtrl_AutoCompSetIgnoreCase, METH_VARARGS | METH_KEYWORDS }, | |
11210 | { "wxStyledTextCtrl_AutoCompGetChooseSingle", (PyCFunction) _wrap_wxStyledTextCtrl_AutoCompGetChooseSingle, METH_VARARGS | METH_KEYWORDS }, | |
11211 | { "wxStyledTextCtrl_AutoCompSetChooseSingle", (PyCFunction) _wrap_wxStyledTextCtrl_AutoCompSetChooseSingle, METH_VARARGS | METH_KEYWORDS }, | |
11212 | { "wxStyledTextCtrl_AutoCompSetFillUps", (PyCFunction) _wrap_wxStyledTextCtrl_AutoCompSetFillUps, METH_VARARGS | METH_KEYWORDS }, | |
11213 | { "wxStyledTextCtrl_AutoCompGetCancelAtStart", (PyCFunction) _wrap_wxStyledTextCtrl_AutoCompGetCancelAtStart, METH_VARARGS | METH_KEYWORDS }, | |
11214 | { "wxStyledTextCtrl_AutoCompSetCancelAtStart", (PyCFunction) _wrap_wxStyledTextCtrl_AutoCompSetCancelAtStart, METH_VARARGS | METH_KEYWORDS }, | |
11215 | { "wxStyledTextCtrl_AutoCompSelect", (PyCFunction) _wrap_wxStyledTextCtrl_AutoCompSelect, METH_VARARGS | METH_KEYWORDS }, | |
11216 | { "wxStyledTextCtrl_AutoCompGetSeparator", (PyCFunction) _wrap_wxStyledTextCtrl_AutoCompGetSeparator, METH_VARARGS | METH_KEYWORDS }, | |
11217 | { "wxStyledTextCtrl_AutoCompSetSeparator", (PyCFunction) _wrap_wxStyledTextCtrl_AutoCompSetSeparator, METH_VARARGS | METH_KEYWORDS }, | |
11218 | { "wxStyledTextCtrl_AutoCompStops", (PyCFunction) _wrap_wxStyledTextCtrl_AutoCompStops, METH_VARARGS | METH_KEYWORDS }, | |
11219 | { "wxStyledTextCtrl_AutoCompComplete", (PyCFunction) _wrap_wxStyledTextCtrl_AutoCompComplete, METH_VARARGS | METH_KEYWORDS }, | |
11220 | { "wxStyledTextCtrl_AutoCompPosStart", (PyCFunction) _wrap_wxStyledTextCtrl_AutoCompPosStart, METH_VARARGS | METH_KEYWORDS }, | |
11221 | { "wxStyledTextCtrl_AutoCompActive", (PyCFunction) _wrap_wxStyledTextCtrl_AutoCompActive, METH_VARARGS | METH_KEYWORDS }, | |
11222 | { "wxStyledTextCtrl_AutoCompCancel", (PyCFunction) _wrap_wxStyledTextCtrl_AutoCompCancel, METH_VARARGS | METH_KEYWORDS }, | |
11223 | { "wxStyledTextCtrl_AutoCompShow", (PyCFunction) _wrap_wxStyledTextCtrl_AutoCompShow, METH_VARARGS | METH_KEYWORDS }, | |
c3bfa1cb | 11224 | { "wxStyledTextCtrl_StyleSetChangeable", (PyCFunction) _wrap_wxStyledTextCtrl_StyleSetChangeable, METH_VARARGS | METH_KEYWORDS }, |
8a2fa5c8 RD |
11225 | { "wxStyledTextCtrl_SetCaretLineBack", (PyCFunction) _wrap_wxStyledTextCtrl_SetCaretLineBack, METH_VARARGS | METH_KEYWORDS }, |
11226 | { "wxStyledTextCtrl_GetCaretLineBack", (PyCFunction) _wrap_wxStyledTextCtrl_GetCaretLineBack, METH_VARARGS | METH_KEYWORDS }, | |
11227 | { "wxStyledTextCtrl_SetCaretLineVisible", (PyCFunction) _wrap_wxStyledTextCtrl_SetCaretLineVisible, METH_VARARGS | METH_KEYWORDS }, | |
11228 | { "wxStyledTextCtrl_GetCaretLineVisible", (PyCFunction) _wrap_wxStyledTextCtrl_GetCaretLineVisible, METH_VARARGS | METH_KEYWORDS }, | |
11229 | { "wxStyledTextCtrl_GetMaxLineState", (PyCFunction) _wrap_wxStyledTextCtrl_GetMaxLineState, METH_VARARGS | METH_KEYWORDS }, | |
11230 | { "wxStyledTextCtrl_GetLineState", (PyCFunction) _wrap_wxStyledTextCtrl_GetLineState, METH_VARARGS | METH_KEYWORDS }, | |
11231 | { "wxStyledTextCtrl_SetLineState", (PyCFunction) _wrap_wxStyledTextCtrl_SetLineState, METH_VARARGS | METH_KEYWORDS }, | |
11232 | { "wxStyledTextCtrl_GetStyleBits", (PyCFunction) _wrap_wxStyledTextCtrl_GetStyleBits, METH_VARARGS | METH_KEYWORDS }, | |
11233 | { "wxStyledTextCtrl_SetStyleBits", (PyCFunction) _wrap_wxStyledTextCtrl_SetStyleBits, METH_VARARGS | METH_KEYWORDS }, | |
47a06a26 RD |
11234 | { "wxStyledTextCtrl_SetWhitespaceBackground", (PyCFunction) _wrap_wxStyledTextCtrl_SetWhitespaceBackground, METH_VARARGS | METH_KEYWORDS }, |
11235 | { "wxStyledTextCtrl_SetWhitespaceForeground", (PyCFunction) _wrap_wxStyledTextCtrl_SetWhitespaceForeground, METH_VARARGS | METH_KEYWORDS }, | |
8a2fa5c8 RD |
11236 | { "wxStyledTextCtrl_IndicatorGetForeground", (PyCFunction) _wrap_wxStyledTextCtrl_IndicatorGetForeground, METH_VARARGS | METH_KEYWORDS }, |
11237 | { "wxStyledTextCtrl_IndicatorSetForeground", (PyCFunction) _wrap_wxStyledTextCtrl_IndicatorSetForeground, METH_VARARGS | METH_KEYWORDS }, | |
11238 | { "wxStyledTextCtrl_IndicatorGetStyle", (PyCFunction) _wrap_wxStyledTextCtrl_IndicatorGetStyle, METH_VARARGS | METH_KEYWORDS }, | |
11239 | { "wxStyledTextCtrl_IndicatorSetStyle", (PyCFunction) _wrap_wxStyledTextCtrl_IndicatorSetStyle, METH_VARARGS | METH_KEYWORDS }, | |
11240 | { "wxStyledTextCtrl_EndUndoAction", (PyCFunction) _wrap_wxStyledTextCtrl_EndUndoAction, METH_VARARGS | METH_KEYWORDS }, | |
11241 | { "wxStyledTextCtrl_BeginUndoAction", (PyCFunction) _wrap_wxStyledTextCtrl_BeginUndoAction, METH_VARARGS | METH_KEYWORDS }, | |
11242 | { "wxStyledTextCtrl_SetWordChars", (PyCFunction) _wrap_wxStyledTextCtrl_SetWordChars, METH_VARARGS | METH_KEYWORDS }, | |
11243 | { "wxStyledTextCtrl_SetCaretPeriod", (PyCFunction) _wrap_wxStyledTextCtrl_SetCaretPeriod, METH_VARARGS | METH_KEYWORDS }, | |
11244 | { "wxStyledTextCtrl_GetCaretPeriod", (PyCFunction) _wrap_wxStyledTextCtrl_GetCaretPeriod, METH_VARARGS | METH_KEYWORDS }, | |
11245 | { "wxStyledTextCtrl_StyleSetVisible", (PyCFunction) _wrap_wxStyledTextCtrl_StyleSetVisible, METH_VARARGS | METH_KEYWORDS }, | |
11246 | { "wxStyledTextCtrl_SetStyleBytes", (PyCFunction) _wrap_wxStyledTextCtrl_SetStyleBytes, METH_VARARGS | METH_KEYWORDS }, | |
11247 | { "wxStyledTextCtrl_CmdKeyClearAll", (PyCFunction) _wrap_wxStyledTextCtrl_CmdKeyClearAll, METH_VARARGS | METH_KEYWORDS }, | |
11248 | { "wxStyledTextCtrl_CmdKeyClear", (PyCFunction) _wrap_wxStyledTextCtrl_CmdKeyClear, METH_VARARGS | METH_KEYWORDS }, | |
11249 | { "wxStyledTextCtrl_CmdKeyAssign", (PyCFunction) _wrap_wxStyledTextCtrl_CmdKeyAssign, METH_VARARGS | METH_KEYWORDS }, | |
11250 | { "wxStyledTextCtrl_SetCaretForeground", (PyCFunction) _wrap_wxStyledTextCtrl_SetCaretForeground, METH_VARARGS | METH_KEYWORDS }, | |
11251 | { "wxStyledTextCtrl_SetSelBackground", (PyCFunction) _wrap_wxStyledTextCtrl_SetSelBackground, METH_VARARGS | METH_KEYWORDS }, | |
11252 | { "wxStyledTextCtrl_SetSelForeground", (PyCFunction) _wrap_wxStyledTextCtrl_SetSelForeground, METH_VARARGS | METH_KEYWORDS }, | |
c3bfa1cb | 11253 | { "wxStyledTextCtrl_StyleSetCharacterSet", (PyCFunction) _wrap_wxStyledTextCtrl_StyleSetCharacterSet, METH_VARARGS | METH_KEYWORDS }, |
8a2fa5c8 RD |
11254 | { "wxStyledTextCtrl_StyleSetCase", (PyCFunction) _wrap_wxStyledTextCtrl_StyleSetCase, METH_VARARGS | METH_KEYWORDS }, |
11255 | { "wxStyledTextCtrl_StyleSetUnderline", (PyCFunction) _wrap_wxStyledTextCtrl_StyleSetUnderline, METH_VARARGS | METH_KEYWORDS }, | |
11256 | { "wxStyledTextCtrl_StyleResetDefault", (PyCFunction) _wrap_wxStyledTextCtrl_StyleResetDefault, METH_VARARGS | METH_KEYWORDS }, | |
11257 | { "wxStyledTextCtrl_StyleSetEOLFilled", (PyCFunction) _wrap_wxStyledTextCtrl_StyleSetEOLFilled, METH_VARARGS | METH_KEYWORDS }, | |
11258 | { "wxStyledTextCtrl_StyleSetFaceName", (PyCFunction) _wrap_wxStyledTextCtrl_StyleSetFaceName, METH_VARARGS | METH_KEYWORDS }, | |
11259 | { "wxStyledTextCtrl_StyleSetSize", (PyCFunction) _wrap_wxStyledTextCtrl_StyleSetSize, METH_VARARGS | METH_KEYWORDS }, | |
11260 | { "wxStyledTextCtrl_StyleSetItalic", (PyCFunction) _wrap_wxStyledTextCtrl_StyleSetItalic, METH_VARARGS | METH_KEYWORDS }, | |
11261 | { "wxStyledTextCtrl_StyleSetBold", (PyCFunction) _wrap_wxStyledTextCtrl_StyleSetBold, METH_VARARGS | METH_KEYWORDS }, | |
11262 | { "wxStyledTextCtrl_StyleSetBackground", (PyCFunction) _wrap_wxStyledTextCtrl_StyleSetBackground, METH_VARARGS | METH_KEYWORDS }, | |
11263 | { "wxStyledTextCtrl_StyleSetForeground", (PyCFunction) _wrap_wxStyledTextCtrl_StyleSetForeground, METH_VARARGS | METH_KEYWORDS }, | |
11264 | { "wxStyledTextCtrl_StyleClearAll", (PyCFunction) _wrap_wxStyledTextCtrl_StyleClearAll, METH_VARARGS | METH_KEYWORDS }, | |
11265 | { "wxStyledTextCtrl_GetMarginSensitive", (PyCFunction) _wrap_wxStyledTextCtrl_GetMarginSensitive, METH_VARARGS | METH_KEYWORDS }, | |
11266 | { "wxStyledTextCtrl_SetMarginSensitive", (PyCFunction) _wrap_wxStyledTextCtrl_SetMarginSensitive, METH_VARARGS | METH_KEYWORDS }, | |
11267 | { "wxStyledTextCtrl_GetMarginMask", (PyCFunction) _wrap_wxStyledTextCtrl_GetMarginMask, METH_VARARGS | METH_KEYWORDS }, | |
11268 | { "wxStyledTextCtrl_SetMarginMask", (PyCFunction) _wrap_wxStyledTextCtrl_SetMarginMask, METH_VARARGS | METH_KEYWORDS }, | |
11269 | { "wxStyledTextCtrl_GetMarginWidth", (PyCFunction) _wrap_wxStyledTextCtrl_GetMarginWidth, METH_VARARGS | METH_KEYWORDS }, | |
11270 | { "wxStyledTextCtrl_SetMarginWidth", (PyCFunction) _wrap_wxStyledTextCtrl_SetMarginWidth, METH_VARARGS | METH_KEYWORDS }, | |
11271 | { "wxStyledTextCtrl_GetMarginType", (PyCFunction) _wrap_wxStyledTextCtrl_GetMarginType, METH_VARARGS | METH_KEYWORDS }, | |
11272 | { "wxStyledTextCtrl_SetMarginType", (PyCFunction) _wrap_wxStyledTextCtrl_SetMarginType, METH_VARARGS | METH_KEYWORDS }, | |
11273 | { "wxStyledTextCtrl_MarkerPrevious", (PyCFunction) _wrap_wxStyledTextCtrl_MarkerPrevious, METH_VARARGS | METH_KEYWORDS }, | |
11274 | { "wxStyledTextCtrl_MarkerNext", (PyCFunction) _wrap_wxStyledTextCtrl_MarkerNext, METH_VARARGS | METH_KEYWORDS }, | |
11275 | { "wxStyledTextCtrl_MarkerGet", (PyCFunction) _wrap_wxStyledTextCtrl_MarkerGet, METH_VARARGS | METH_KEYWORDS }, | |
11276 | { "wxStyledTextCtrl_MarkerDeleteAll", (PyCFunction) _wrap_wxStyledTextCtrl_MarkerDeleteAll, METH_VARARGS | METH_KEYWORDS }, | |
11277 | { "wxStyledTextCtrl_MarkerDelete", (PyCFunction) _wrap_wxStyledTextCtrl_MarkerDelete, METH_VARARGS | METH_KEYWORDS }, | |
11278 | { "wxStyledTextCtrl_MarkerAdd", (PyCFunction) _wrap_wxStyledTextCtrl_MarkerAdd, METH_VARARGS | METH_KEYWORDS }, | |
11279 | { "wxStyledTextCtrl_MarkerSetBackground", (PyCFunction) _wrap_wxStyledTextCtrl_MarkerSetBackground, METH_VARARGS | METH_KEYWORDS }, | |
11280 | { "wxStyledTextCtrl_MarkerSetForeground", (PyCFunction) _wrap_wxStyledTextCtrl_MarkerSetForeground, METH_VARARGS | METH_KEYWORDS }, | |
11281 | { "wxStyledTextCtrl_MarkerDefine", (PyCFunction) _wrap_wxStyledTextCtrl_MarkerDefine, METH_VARARGS | METH_KEYWORDS }, | |
11282 | { "wxStyledTextCtrl_SetCodePage", (PyCFunction) _wrap_wxStyledTextCtrl_SetCodePage, METH_VARARGS | METH_KEYWORDS }, | |
11283 | { "wxStyledTextCtrl_GetTabWidth", (PyCFunction) _wrap_wxStyledTextCtrl_GetTabWidth, METH_VARARGS | METH_KEYWORDS }, | |
11284 | { "wxStyledTextCtrl_SetTabWidth", (PyCFunction) _wrap_wxStyledTextCtrl_SetTabWidth, METH_VARARGS | METH_KEYWORDS }, | |
11285 | { "wxStyledTextCtrl_SetBufferedDraw", (PyCFunction) _wrap_wxStyledTextCtrl_SetBufferedDraw, METH_VARARGS | METH_KEYWORDS }, | |
11286 | { "wxStyledTextCtrl_GetBufferedDraw", (PyCFunction) _wrap_wxStyledTextCtrl_GetBufferedDraw, METH_VARARGS | METH_KEYWORDS }, | |
11287 | { "wxStyledTextCtrl_SetStyling", (PyCFunction) _wrap_wxStyledTextCtrl_SetStyling, METH_VARARGS | METH_KEYWORDS }, | |
11288 | { "wxStyledTextCtrl_StartStyling", (PyCFunction) _wrap_wxStyledTextCtrl_StartStyling, METH_VARARGS | METH_KEYWORDS }, | |
11289 | { "wxStyledTextCtrl_SetEOLMode", (PyCFunction) _wrap_wxStyledTextCtrl_SetEOLMode, METH_VARARGS | METH_KEYWORDS }, | |
11290 | { "wxStyledTextCtrl_GetEOLMode", (PyCFunction) _wrap_wxStyledTextCtrl_GetEOLMode, METH_VARARGS | METH_KEYWORDS }, | |
11291 | { "wxStyledTextCtrl_ConvertEOLs", (PyCFunction) _wrap_wxStyledTextCtrl_ConvertEOLs, METH_VARARGS | METH_KEYWORDS }, | |
11292 | { "wxStyledTextCtrl_GetEndStyled", (PyCFunction) _wrap_wxStyledTextCtrl_GetEndStyled, METH_VARARGS | METH_KEYWORDS }, | |
11293 | { "wxStyledTextCtrl_GetCurLine", (PyCFunction) _wrap_wxStyledTextCtrl_GetCurLine, METH_VARARGS | METH_KEYWORDS }, | |
11294 | { "wxStyledTextCtrl_SetAnchor", (PyCFunction) _wrap_wxStyledTextCtrl_SetAnchor, METH_VARARGS | METH_KEYWORDS }, | |
11295 | { "wxStyledTextCtrl_GotoPos", (PyCFunction) _wrap_wxStyledTextCtrl_GotoPos, METH_VARARGS | METH_KEYWORDS }, | |
11296 | { "wxStyledTextCtrl_GotoLine", (PyCFunction) _wrap_wxStyledTextCtrl_GotoLine, METH_VARARGS | METH_KEYWORDS }, | |
11297 | { "wxStyledTextCtrl_PositionFromPointClose", (PyCFunction) _wrap_wxStyledTextCtrl_PositionFromPointClose, METH_VARARGS | METH_KEYWORDS }, | |
11298 | { "wxStyledTextCtrl_PositionFromPoint", (PyCFunction) _wrap_wxStyledTextCtrl_PositionFromPoint, METH_VARARGS | METH_KEYWORDS }, | |
11299 | { "wxStyledTextCtrl_SetViewWhiteSpace", (PyCFunction) _wrap_wxStyledTextCtrl_SetViewWhiteSpace, METH_VARARGS | METH_KEYWORDS }, | |
11300 | { "wxStyledTextCtrl_GetViewWhiteSpace", (PyCFunction) _wrap_wxStyledTextCtrl_GetViewWhiteSpace, METH_VARARGS | METH_KEYWORDS }, | |
11301 | { "wxStyledTextCtrl_GetUndoCollection", (PyCFunction) _wrap_wxStyledTextCtrl_GetUndoCollection, METH_VARARGS | METH_KEYWORDS }, | |
11302 | { "wxStyledTextCtrl_MarkerDeleteHandle", (PyCFunction) _wrap_wxStyledTextCtrl_MarkerDeleteHandle, METH_VARARGS | METH_KEYWORDS }, | |
11303 | { "wxStyledTextCtrl_MarkerLineFromHandle", (PyCFunction) _wrap_wxStyledTextCtrl_MarkerLineFromHandle, METH_VARARGS | METH_KEYWORDS }, | |
11304 | { "wxStyledTextCtrl_CanRedo", (PyCFunction) _wrap_wxStyledTextCtrl_CanRedo, METH_VARARGS | METH_KEYWORDS }, | |
11305 | { "wxStyledTextCtrl_GetStyledText", (PyCFunction) _wrap_wxStyledTextCtrl_GetStyledText, METH_VARARGS | METH_KEYWORDS }, | |
11306 | { "wxStyledTextCtrl_SetSavePoint", (PyCFunction) _wrap_wxStyledTextCtrl_SetSavePoint, METH_VARARGS | METH_KEYWORDS }, | |
11307 | { "wxStyledTextCtrl_SelectAll", (PyCFunction) _wrap_wxStyledTextCtrl_SelectAll, METH_VARARGS | METH_KEYWORDS }, | |
11308 | { "wxStyledTextCtrl_SetUndoCollection", (PyCFunction) _wrap_wxStyledTextCtrl_SetUndoCollection, METH_VARARGS | METH_KEYWORDS }, | |
11309 | { "wxStyledTextCtrl_Redo", (PyCFunction) _wrap_wxStyledTextCtrl_Redo, METH_VARARGS | METH_KEYWORDS }, | |
11310 | { "wxStyledTextCtrl_GetStyleAt", (PyCFunction) _wrap_wxStyledTextCtrl_GetStyleAt, METH_VARARGS | METH_KEYWORDS }, | |
11311 | { "wxStyledTextCtrl_GetAnchor", (PyCFunction) _wrap_wxStyledTextCtrl_GetAnchor, METH_VARARGS | METH_KEYWORDS }, | |
11312 | { "wxStyledTextCtrl_GetCurrentPos", (PyCFunction) _wrap_wxStyledTextCtrl_GetCurrentPos, METH_VARARGS | METH_KEYWORDS }, | |
11313 | { "wxStyledTextCtrl_GetCharAt", (PyCFunction) _wrap_wxStyledTextCtrl_GetCharAt, METH_VARARGS | METH_KEYWORDS }, | |
11314 | { "wxStyledTextCtrl_GetLength", (PyCFunction) _wrap_wxStyledTextCtrl_GetLength, METH_VARARGS | METH_KEYWORDS }, | |
11315 | { "wxStyledTextCtrl_ClearDocumentStyle", (PyCFunction) _wrap_wxStyledTextCtrl_ClearDocumentStyle, METH_VARARGS | METH_KEYWORDS }, | |
11316 | { "wxStyledTextCtrl_ClearAll", (PyCFunction) _wrap_wxStyledTextCtrl_ClearAll, METH_VARARGS | METH_KEYWORDS }, | |
11317 | { "wxStyledTextCtrl_InsertText", (PyCFunction) _wrap_wxStyledTextCtrl_InsertText, METH_VARARGS | METH_KEYWORDS }, | |
11318 | { "wxStyledTextCtrl_AddStyledText", (PyCFunction) _wrap_wxStyledTextCtrl_AddStyledText, METH_VARARGS | METH_KEYWORDS }, | |
11319 | { "wxStyledTextCtrl_AddText", (PyCFunction) _wrap_wxStyledTextCtrl_AddText, METH_VARARGS | METH_KEYWORDS }, | |
11320 | { "new_wxStyledTextCtrl", (PyCFunction) _wrap_new_wxStyledTextCtrl, METH_VARARGS | METH_KEYWORDS }, | |
11321 | { NULL, NULL } | |
11322 | }; | |
11323 | #ifdef __cplusplus | |
11324 | } | |
11325 | #endif | |
11326 | /* | |
11327 | * This table is used by the pointer type-checker | |
11328 | */ | |
11329 | static struct { char *n1; char *n2; void *(*pcnv)(void *); } _swig_mapping[] = { | |
11330 | { "_wxEvent","_wxStyledTextEvent",SwigwxStyledTextEventTowxEvent}, | |
11331 | { "_signed_long","_long",0}, | |
11332 | { "_wxPrintQuality","_wxCoord",0}, | |
11333 | { "_wxPrintQuality","_int",0}, | |
11334 | { "_wxPrintQuality","_signed_int",0}, | |
11335 | { "_wxPrintQuality","_unsigned_int",0}, | |
11336 | { "_wxPrintQuality","_wxWindowID",0}, | |
11337 | { "_wxPrintQuality","_uint",0}, | |
11338 | { "_wxPrintQuality","_EBool",0}, | |
11339 | { "_wxPrintQuality","_size_t",0}, | |
11340 | { "_wxPrintQuality","_time_t",0}, | |
11341 | { "_byte","_unsigned_char",0}, | |
11342 | { "_long","_unsigned_long",0}, | |
11343 | { "_long","_signed_long",0}, | |
11344 | { "_size_t","_wxCoord",0}, | |
11345 | { "_size_t","_wxPrintQuality",0}, | |
11346 | { "_size_t","_time_t",0}, | |
11347 | { "_size_t","_unsigned_int",0}, | |
11348 | { "_size_t","_int",0}, | |
11349 | { "_size_t","_wxWindowID",0}, | |
11350 | { "_size_t","_uint",0}, | |
11351 | { "_uint","_wxCoord",0}, | |
11352 | { "_uint","_wxPrintQuality",0}, | |
11353 | { "_uint","_time_t",0}, | |
11354 | { "_uint","_size_t",0}, | |
11355 | { "_uint","_unsigned_int",0}, | |
11356 | { "_uint","_int",0}, | |
11357 | { "_uint","_wxWindowID",0}, | |
11358 | { "_wxChar","_char",0}, | |
11359 | { "_wxCommandEvent","_wxStyledTextEvent",SwigwxStyledTextEventTowxCommandEvent}, | |
11360 | { "_char","_wxChar",0}, | |
11361 | { "_struct_wxNativeFontInfo","_wxNativeFontInfo",0}, | |
11362 | { "_EBool","_wxCoord",0}, | |
11363 | { "_EBool","_wxPrintQuality",0}, | |
11364 | { "_EBool","_signed_int",0}, | |
11365 | { "_EBool","_int",0}, | |
11366 | { "_EBool","_wxWindowID",0}, | |
11367 | { "_unsigned_long","_long",0}, | |
11368 | { "_wxNativeFontInfo","_struct_wxNativeFontInfo",0}, | |
11369 | { "_signed_int","_wxCoord",0}, | |
11370 | { "_signed_int","_wxPrintQuality",0}, | |
11371 | { "_signed_int","_EBool",0}, | |
11372 | { "_signed_int","_wxWindowID",0}, | |
11373 | { "_signed_int","_int",0}, | |
11374 | { "_WXTYPE","_wxDateTime_t",0}, | |
11375 | { "_WXTYPE","_short",0}, | |
11376 | { "_WXTYPE","_signed_short",0}, | |
11377 | { "_WXTYPE","_unsigned_short",0}, | |
11378 | { "_unsigned_short","_wxDateTime_t",0}, | |
11379 | { "_unsigned_short","_WXTYPE",0}, | |
11380 | { "_unsigned_short","_short",0}, | |
11381 | { "_wxObject","_wxStyledTextEvent",SwigwxStyledTextEventTowxObject}, | |
11382 | { "_wxObject","_wxStyledTextCtrl",SwigwxStyledTextCtrlTowxObject}, | |
11383 | { "_signed_short","_WXTYPE",0}, | |
11384 | { "_signed_short","_short",0}, | |
11385 | { "_unsigned_char","_byte",0}, | |
11386 | { "_wxControl","_wxStyledTextCtrl",SwigwxStyledTextCtrlTowxControl}, | |
11387 | { "_unsigned_int","_wxCoord",0}, | |
11388 | { "_unsigned_int","_wxPrintQuality",0}, | |
11389 | { "_unsigned_int","_time_t",0}, | |
11390 | { "_unsigned_int","_size_t",0}, | |
11391 | { "_unsigned_int","_uint",0}, | |
11392 | { "_unsigned_int","_wxWindowID",0}, | |
11393 | { "_unsigned_int","_int",0}, | |
11394 | { "_short","_wxDateTime_t",0}, | |
11395 | { "_short","_WXTYPE",0}, | |
11396 | { "_short","_unsigned_short",0}, | |
11397 | { "_short","_signed_short",0}, | |
11398 | { "_wxWindowID","_wxCoord",0}, | |
11399 | { "_wxWindowID","_wxPrintQuality",0}, | |
11400 | { "_wxWindowID","_time_t",0}, | |
11401 | { "_wxWindowID","_size_t",0}, | |
11402 | { "_wxWindowID","_EBool",0}, | |
11403 | { "_wxWindowID","_uint",0}, | |
11404 | { "_wxWindowID","_int",0}, | |
11405 | { "_wxWindowID","_signed_int",0}, | |
11406 | { "_wxWindowID","_unsigned_int",0}, | |
11407 | { "_int","_wxCoord",0}, | |
11408 | { "_int","_wxPrintQuality",0}, | |
11409 | { "_int","_time_t",0}, | |
11410 | { "_int","_size_t",0}, | |
11411 | { "_int","_EBool",0}, | |
11412 | { "_int","_uint",0}, | |
11413 | { "_int","_wxWindowID",0}, | |
11414 | { "_int","_unsigned_int",0}, | |
11415 | { "_int","_signed_int",0}, | |
11416 | { "_wxDateTime_t","_unsigned_short",0}, | |
11417 | { "_wxDateTime_t","_short",0}, | |
11418 | { "_wxDateTime_t","_WXTYPE",0}, | |
11419 | { "_time_t","_wxCoord",0}, | |
11420 | { "_time_t","_wxPrintQuality",0}, | |
11421 | { "_time_t","_unsigned_int",0}, | |
11422 | { "_time_t","_int",0}, | |
11423 | { "_time_t","_wxWindowID",0}, | |
11424 | { "_time_t","_uint",0}, | |
11425 | { "_time_t","_size_t",0}, | |
11426 | { "_wxCoord","_int",0}, | |
11427 | { "_wxCoord","_signed_int",0}, | |
11428 | { "_wxCoord","_unsigned_int",0}, | |
11429 | { "_wxCoord","_wxWindowID",0}, | |
11430 | { "_wxCoord","_uint",0}, | |
11431 | { "_wxCoord","_EBool",0}, | |
11432 | { "_wxCoord","_size_t",0}, | |
11433 | { "_wxCoord","_time_t",0}, | |
11434 | { "_wxCoord","_wxPrintQuality",0}, | |
11435 | { "_wxEvtHandler","_wxStyledTextCtrl",SwigwxStyledTextCtrlTowxEvtHandler}, | |
11436 | { "_wxWindow","_wxStyledTextCtrl",SwigwxStyledTextCtrlTowxWindow}, | |
11437 | {0,0,0}}; | |
11438 | ||
11439 | static PyObject *SWIG_globals; | |
11440 | #ifdef __cplusplus | |
11441 | extern "C" | |
11442 | #endif | |
11443 | SWIGEXPORT(void) initstc_c() { | |
11444 | PyObject *m, *d; | |
11445 | SWIG_globals = SWIG_newvarlink(); | |
11446 | m = Py_InitModule("stc_c", stc_cMethods); | |
11447 | d = PyModule_GetDict(m); | |
b787b2a9 | 11448 | PyDict_SetItemString(d,"wxSTC_USE_POPUP", PyInt_FromLong((long) 1)); |
8a2fa5c8 RD |
11449 | PyDict_SetItemString(d,"wxSTC_INVALID_POSITION", PyInt_FromLong((long) -1)); |
11450 | PyDict_SetItemString(d,"wxSTC_START", PyInt_FromLong((long) 2000)); | |
11451 | PyDict_SetItemString(d,"wxSTC_OPTIONAL_START", PyInt_FromLong((long) 3000)); | |
11452 | PyDict_SetItemString(d,"wxSTC_LEXER_START", PyInt_FromLong((long) 4000)); | |
11453 | PyDict_SetItemString(d,"wxSTC_CMD_REDO", PyInt_FromLong((long) 2011)); | |
11454 | PyDict_SetItemString(d,"wxSTC_CMD_SELECTALL", PyInt_FromLong((long) 2013)); | |
11455 | PyDict_SetItemString(d,"wxSTC_WS_INVISIBLE", PyInt_FromLong((long) 0)); | |
11456 | PyDict_SetItemString(d,"wxSTC_WS_VISIBLEALWAYS", PyInt_FromLong((long) 1)); | |
11457 | PyDict_SetItemString(d,"wxSTC_WS_VISIBLEAFTERINDENT", PyInt_FromLong((long) 2)); | |
11458 | PyDict_SetItemString(d,"wxSTC_EOL_CRLF", PyInt_FromLong((long) 0)); | |
11459 | PyDict_SetItemString(d,"wxSTC_EOL_CR", PyInt_FromLong((long) 1)); | |
11460 | PyDict_SetItemString(d,"wxSTC_EOL_LF", PyInt_FromLong((long) 2)); | |
11461 | PyDict_SetItemString(d,"wxSTC_CP_UTF8", PyInt_FromLong((long) 65001)); | |
11462 | PyDict_SetItemString(d,"wxSTC_MARKER_MAX", PyInt_FromLong((long) 31)); | |
11463 | PyDict_SetItemString(d,"wxSTC_MARK_CIRCLE", PyInt_FromLong((long) 0)); | |
11464 | PyDict_SetItemString(d,"wxSTC_MARK_ROUNDRECT", PyInt_FromLong((long) 1)); | |
11465 | PyDict_SetItemString(d,"wxSTC_MARK_ARROW", PyInt_FromLong((long) 2)); | |
11466 | PyDict_SetItemString(d,"wxSTC_MARK_SMALLRECT", PyInt_FromLong((long) 3)); | |
11467 | PyDict_SetItemString(d,"wxSTC_MARK_SHORTARROW", PyInt_FromLong((long) 4)); | |
11468 | PyDict_SetItemString(d,"wxSTC_MARK_EMPTY", PyInt_FromLong((long) 5)); | |
11469 | PyDict_SetItemString(d,"wxSTC_MARK_ARROWDOWN", PyInt_FromLong((long) 6)); | |
11470 | PyDict_SetItemString(d,"wxSTC_MARK_MINUS", PyInt_FromLong((long) 7)); | |
11471 | PyDict_SetItemString(d,"wxSTC_MARK_PLUS", PyInt_FromLong((long) 8)); | |
11472 | PyDict_SetItemString(d,"wxSTC_MARK_VLINE", PyInt_FromLong((long) 9)); | |
11473 | PyDict_SetItemString(d,"wxSTC_MARK_LCORNER", PyInt_FromLong((long) 10)); | |
11474 | PyDict_SetItemString(d,"wxSTC_MARK_TCORNER", PyInt_FromLong((long) 11)); | |
11475 | PyDict_SetItemString(d,"wxSTC_MARK_BOXPLUS", PyInt_FromLong((long) 12)); | |
11476 | PyDict_SetItemString(d,"wxSTC_MARK_BOXPLUSCONNECTED", PyInt_FromLong((long) 13)); | |
11477 | PyDict_SetItemString(d,"wxSTC_MARK_BOXMINUS", PyInt_FromLong((long) 14)); | |
11478 | PyDict_SetItemString(d,"wxSTC_MARK_BOXMINUSCONNECTED", PyInt_FromLong((long) 15)); | |
11479 | PyDict_SetItemString(d,"wxSTC_MARK_LCORNERCURVE", PyInt_FromLong((long) 16)); | |
11480 | PyDict_SetItemString(d,"wxSTC_MARK_TCORNERCURVE", PyInt_FromLong((long) 17)); | |
11481 | PyDict_SetItemString(d,"wxSTC_MARK_CIRCLEPLUS", PyInt_FromLong((long) 18)); | |
11482 | PyDict_SetItemString(d,"wxSTC_MARK_CIRCLEPLUSCONNECTED", PyInt_FromLong((long) 19)); | |
11483 | PyDict_SetItemString(d,"wxSTC_MARK_CIRCLEMINUS", PyInt_FromLong((long) 20)); | |
11484 | PyDict_SetItemString(d,"wxSTC_MARK_CIRCLEMINUSCONNECTED", PyInt_FromLong((long) 21)); | |
c3bfa1cb | 11485 | PyDict_SetItemString(d,"wxSTC_MARK_BACKGROUND", PyInt_FromLong((long) 22)); |
47a06a26 RD |
11486 | PyDict_SetItemString(d,"wxSTC_MARK_DOTDOTDOT", PyInt_FromLong((long) 23)); |
11487 | PyDict_SetItemString(d,"wxSTC_MARK_ARROWS", PyInt_FromLong((long) 24)); | |
8a2fa5c8 RD |
11488 | PyDict_SetItemString(d,"wxSTC_MARK_CHARACTER", PyInt_FromLong((long) 10000)); |
11489 | PyDict_SetItemString(d,"wxSTC_MARKNUM_FOLDEREND", PyInt_FromLong((long) 25)); | |
11490 | PyDict_SetItemString(d,"wxSTC_MARKNUM_FOLDEROPENMID", PyInt_FromLong((long) 26)); | |
11491 | PyDict_SetItemString(d,"wxSTC_MARKNUM_FOLDERMIDTAIL", PyInt_FromLong((long) 27)); | |
11492 | PyDict_SetItemString(d,"wxSTC_MARKNUM_FOLDERTAIL", PyInt_FromLong((long) 28)); | |
11493 | PyDict_SetItemString(d,"wxSTC_MARKNUM_FOLDERSUB", PyInt_FromLong((long) 29)); | |
11494 | PyDict_SetItemString(d,"wxSTC_MARKNUM_FOLDER", PyInt_FromLong((long) 30)); | |
11495 | PyDict_SetItemString(d,"wxSTC_MARKNUM_FOLDEROPEN", PyInt_FromLong((long) 31)); | |
c3bfa1cb | 11496 | PyDict_SetItemString(d,"wxSTC_MASK_FOLDERS", PyInt_FromLong((long) 0xFE000000)); |
8a2fa5c8 RD |
11497 | PyDict_SetItemString(d,"wxSTC_MARGIN_SYMBOL", PyInt_FromLong((long) 0)); |
11498 | PyDict_SetItemString(d,"wxSTC_MARGIN_NUMBER", PyInt_FromLong((long) 1)); | |
11499 | PyDict_SetItemString(d,"wxSTC_STYLE_DEFAULT", PyInt_FromLong((long) 32)); | |
11500 | PyDict_SetItemString(d,"wxSTC_STYLE_LINENUMBER", PyInt_FromLong((long) 33)); | |
11501 | PyDict_SetItemString(d,"wxSTC_STYLE_BRACELIGHT", PyInt_FromLong((long) 34)); | |
11502 | PyDict_SetItemString(d,"wxSTC_STYLE_BRACEBAD", PyInt_FromLong((long) 35)); | |
11503 | PyDict_SetItemString(d,"wxSTC_STYLE_CONTROLCHAR", PyInt_FromLong((long) 36)); | |
11504 | PyDict_SetItemString(d,"wxSTC_STYLE_INDENTGUIDE", PyInt_FromLong((long) 37)); | |
11505 | PyDict_SetItemString(d,"wxSTC_STYLE_LASTPREDEFINED", PyInt_FromLong((long) 39)); | |
11506 | PyDict_SetItemString(d,"wxSTC_STYLE_MAX", PyInt_FromLong((long) 127)); | |
11507 | PyDict_SetItemString(d,"wxSTC_CHARSET_ANSI", PyInt_FromLong((long) 0)); | |
11508 | PyDict_SetItemString(d,"wxSTC_CHARSET_DEFAULT", PyInt_FromLong((long) 1)); | |
11509 | PyDict_SetItemString(d,"wxSTC_CHARSET_BALTIC", PyInt_FromLong((long) 186)); | |
11510 | PyDict_SetItemString(d,"wxSTC_CHARSET_CHINESEBIG5", PyInt_FromLong((long) 136)); | |
11511 | PyDict_SetItemString(d,"wxSTC_CHARSET_EASTEUROPE", PyInt_FromLong((long) 238)); | |
11512 | PyDict_SetItemString(d,"wxSTC_CHARSET_GB2312", PyInt_FromLong((long) 134)); | |
11513 | PyDict_SetItemString(d,"wxSTC_CHARSET_GREEK", PyInt_FromLong((long) 161)); | |
11514 | PyDict_SetItemString(d,"wxSTC_CHARSET_HANGUL", PyInt_FromLong((long) 129)); | |
11515 | PyDict_SetItemString(d,"wxSTC_CHARSET_MAC", PyInt_FromLong((long) 77)); | |
11516 | PyDict_SetItemString(d,"wxSTC_CHARSET_OEM", PyInt_FromLong((long) 255)); | |
11517 | PyDict_SetItemString(d,"wxSTC_CHARSET_RUSSIAN", PyInt_FromLong((long) 204)); | |
11518 | PyDict_SetItemString(d,"wxSTC_CHARSET_SHIFTJIS", PyInt_FromLong((long) 128)); | |
11519 | PyDict_SetItemString(d,"wxSTC_CHARSET_SYMBOL", PyInt_FromLong((long) 2)); | |
11520 | PyDict_SetItemString(d,"wxSTC_CHARSET_TURKISH", PyInt_FromLong((long) 162)); | |
11521 | PyDict_SetItemString(d,"wxSTC_CHARSET_JOHAB", PyInt_FromLong((long) 130)); | |
11522 | PyDict_SetItemString(d,"wxSTC_CHARSET_HEBREW", PyInt_FromLong((long) 177)); | |
11523 | PyDict_SetItemString(d,"wxSTC_CHARSET_ARABIC", PyInt_FromLong((long) 178)); | |
11524 | PyDict_SetItemString(d,"wxSTC_CHARSET_VIETNAMESE", PyInt_FromLong((long) 163)); | |
11525 | PyDict_SetItemString(d,"wxSTC_CHARSET_THAI", PyInt_FromLong((long) 222)); | |
11526 | PyDict_SetItemString(d,"wxSTC_CASE_MIXED", PyInt_FromLong((long) 0)); | |
11527 | PyDict_SetItemString(d,"wxSTC_CASE_UPPER", PyInt_FromLong((long) 1)); | |
11528 | PyDict_SetItemString(d,"wxSTC_CASE_LOWER", PyInt_FromLong((long) 2)); | |
11529 | PyDict_SetItemString(d,"wxSTC_INDIC_MAX", PyInt_FromLong((long) 7)); | |
11530 | PyDict_SetItemString(d,"wxSTC_INDIC_PLAIN", PyInt_FromLong((long) 0)); | |
11531 | PyDict_SetItemString(d,"wxSTC_INDIC_SQUIGGLE", PyInt_FromLong((long) 1)); | |
11532 | PyDict_SetItemString(d,"wxSTC_INDIC_TT", PyInt_FromLong((long) 2)); | |
11533 | PyDict_SetItemString(d,"wxSTC_INDIC_DIAGONAL", PyInt_FromLong((long) 3)); | |
11534 | PyDict_SetItemString(d,"wxSTC_INDIC_STRIKE", PyInt_FromLong((long) 4)); | |
c3bfa1cb RD |
11535 | PyDict_SetItemString(d,"wxSTC_INDIC0_MASK", PyInt_FromLong((long) 0x20)); |
11536 | PyDict_SetItemString(d,"wxSTC_INDIC1_MASK", PyInt_FromLong((long) 0x40)); | |
11537 | PyDict_SetItemString(d,"wxSTC_INDIC2_MASK", PyInt_FromLong((long) 0x80)); | |
11538 | PyDict_SetItemString(d,"wxSTC_INDICS_MASK", PyInt_FromLong((long) 0xE0)); | |
8a2fa5c8 RD |
11539 | PyDict_SetItemString(d,"wxSTC_PRINT_NORMAL", PyInt_FromLong((long) 0)); |
11540 | PyDict_SetItemString(d,"wxSTC_PRINT_INVERTLIGHT", PyInt_FromLong((long) 1)); | |
11541 | PyDict_SetItemString(d,"wxSTC_PRINT_BLACKONWHITE", PyInt_FromLong((long) 2)); | |
11542 | PyDict_SetItemString(d,"wxSTC_PRINT_COLOURONWHITE", PyInt_FromLong((long) 3)); | |
11543 | PyDict_SetItemString(d,"wxSTC_PRINT_COLOURONWHITEDEFAULTBG", PyInt_FromLong((long) 4)); | |
11544 | PyDict_SetItemString(d,"wxSTC_FIND_WHOLEWORD", PyInt_FromLong((long) 2)); | |
11545 | PyDict_SetItemString(d,"wxSTC_FIND_MATCHCASE", PyInt_FromLong((long) 4)); | |
11546 | PyDict_SetItemString(d,"wxSTC_FIND_WORDSTART", PyInt_FromLong((long) 0x00100000)); | |
11547 | PyDict_SetItemString(d,"wxSTC_FIND_REGEXP", PyInt_FromLong((long) 0x00200000)); | |
11548 | PyDict_SetItemString(d,"wxSTC_CMD_UNDO", PyInt_FromLong((long) 2176)); | |
11549 | PyDict_SetItemString(d,"wxSTC_CMD_CUT", PyInt_FromLong((long) 2177)); | |
11550 | PyDict_SetItemString(d,"wxSTC_CMD_COPY", PyInt_FromLong((long) 2178)); | |
11551 | PyDict_SetItemString(d,"wxSTC_CMD_PASTE", PyInt_FromLong((long) 2179)); | |
11552 | PyDict_SetItemString(d,"wxSTC_FOLDLEVELBASE", PyInt_FromLong((long) 0x400)); | |
11553 | PyDict_SetItemString(d,"wxSTC_FOLDLEVELWHITEFLAG", PyInt_FromLong((long) 0x1000)); | |
11554 | PyDict_SetItemString(d,"wxSTC_FOLDLEVELHEADERFLAG", PyInt_FromLong((long) 0x2000)); | |
11555 | PyDict_SetItemString(d,"wxSTC_FOLDLEVELNUMBERMASK", PyInt_FromLong((long) 0x0FFF)); | |
11556 | PyDict_SetItemString(d,"wxSTC_TIME_FOREVER", PyInt_FromLong((long) 10000000)); | |
c3bfa1cb RD |
11557 | PyDict_SetItemString(d,"wxSTC_WRAP_NONE", PyInt_FromLong((long) 0)); |
11558 | PyDict_SetItemString(d,"wxSTC_WRAP_WORD", PyInt_FromLong((long) 1)); | |
11559 | PyDict_SetItemString(d,"wxSTC_CACHE_NONE", PyInt_FromLong((long) 0)); | |
11560 | PyDict_SetItemString(d,"wxSTC_CACHE_CARET", PyInt_FromLong((long) 1)); | |
11561 | PyDict_SetItemString(d,"wxSTC_CACHE_PAGE", PyInt_FromLong((long) 2)); | |
11562 | PyDict_SetItemString(d,"wxSTC_CACHE_DOCUMENT", PyInt_FromLong((long) 3)); | |
8a2fa5c8 RD |
11563 | PyDict_SetItemString(d,"wxSTC_CMD_LINEDOWN", PyInt_FromLong((long) 2300)); |
11564 | PyDict_SetItemString(d,"wxSTC_CMD_LINEDOWNEXTEND", PyInt_FromLong((long) 2301)); | |
11565 | PyDict_SetItemString(d,"wxSTC_CMD_LINEUP", PyInt_FromLong((long) 2302)); | |
11566 | PyDict_SetItemString(d,"wxSTC_CMD_LINEUPEXTEND", PyInt_FromLong((long) 2303)); | |
11567 | PyDict_SetItemString(d,"wxSTC_CMD_CHARLEFT", PyInt_FromLong((long) 2304)); | |
11568 | PyDict_SetItemString(d,"wxSTC_CMD_CHARLEFTEXTEND", PyInt_FromLong((long) 2305)); | |
11569 | PyDict_SetItemString(d,"wxSTC_CMD_CHARRIGHT", PyInt_FromLong((long) 2306)); | |
11570 | PyDict_SetItemString(d,"wxSTC_CMD_CHARRIGHTEXTEND", PyInt_FromLong((long) 2307)); | |
11571 | PyDict_SetItemString(d,"wxSTC_CMD_WORDLEFT", PyInt_FromLong((long) 2308)); | |
11572 | PyDict_SetItemString(d,"wxSTC_CMD_WORDLEFTEXTEND", PyInt_FromLong((long) 2309)); | |
11573 | PyDict_SetItemString(d,"wxSTC_CMD_WORDRIGHT", PyInt_FromLong((long) 2310)); | |
11574 | PyDict_SetItemString(d,"wxSTC_CMD_WORDRIGHTEXTEND", PyInt_FromLong((long) 2311)); | |
11575 | PyDict_SetItemString(d,"wxSTC_CMD_HOME", PyInt_FromLong((long) 2312)); | |
11576 | PyDict_SetItemString(d,"wxSTC_CMD_HOMEEXTEND", PyInt_FromLong((long) 2313)); | |
11577 | PyDict_SetItemString(d,"wxSTC_CMD_LINEEND", PyInt_FromLong((long) 2314)); | |
11578 | PyDict_SetItemString(d,"wxSTC_CMD_LINEENDEXTEND", PyInt_FromLong((long) 2315)); | |
11579 | PyDict_SetItemString(d,"wxSTC_CMD_DOCUMENTSTART", PyInt_FromLong((long) 2316)); | |
11580 | PyDict_SetItemString(d,"wxSTC_CMD_DOCUMENTSTARTEXTEND", PyInt_FromLong((long) 2317)); | |
11581 | PyDict_SetItemString(d,"wxSTC_CMD_DOCUMENTEND", PyInt_FromLong((long) 2318)); | |
11582 | PyDict_SetItemString(d,"wxSTC_CMD_DOCUMENTENDEXTEND", PyInt_FromLong((long) 2319)); | |
11583 | PyDict_SetItemString(d,"wxSTC_CMD_PAGEUP", PyInt_FromLong((long) 2320)); | |
11584 | PyDict_SetItemString(d,"wxSTC_CMD_PAGEUPEXTEND", PyInt_FromLong((long) 2321)); | |
11585 | PyDict_SetItemString(d,"wxSTC_CMD_PAGEDOWN", PyInt_FromLong((long) 2322)); | |
11586 | PyDict_SetItemString(d,"wxSTC_CMD_PAGEDOWNEXTEND", PyInt_FromLong((long) 2323)); | |
11587 | PyDict_SetItemString(d,"wxSTC_CMD_EDITTOGGLEOVERTYPE", PyInt_FromLong((long) 2324)); | |
11588 | PyDict_SetItemString(d,"wxSTC_CMD_CANCEL", PyInt_FromLong((long) 2325)); | |
11589 | PyDict_SetItemString(d,"wxSTC_CMD_DELETEBACK", PyInt_FromLong((long) 2326)); | |
11590 | PyDict_SetItemString(d,"wxSTC_CMD_TAB", PyInt_FromLong((long) 2327)); | |
11591 | PyDict_SetItemString(d,"wxSTC_CMD_BACKTAB", PyInt_FromLong((long) 2328)); | |
11592 | PyDict_SetItemString(d,"wxSTC_CMD_NEWLINE", PyInt_FromLong((long) 2329)); | |
11593 | PyDict_SetItemString(d,"wxSTC_CMD_FORMFEED", PyInt_FromLong((long) 2330)); | |
11594 | PyDict_SetItemString(d,"wxSTC_CMD_VCHOME", PyInt_FromLong((long) 2331)); | |
11595 | PyDict_SetItemString(d,"wxSTC_CMD_VCHOMEEXTEND", PyInt_FromLong((long) 2332)); | |
11596 | PyDict_SetItemString(d,"wxSTC_CMD_ZOOMIN", PyInt_FromLong((long) 2333)); | |
11597 | PyDict_SetItemString(d,"wxSTC_CMD_ZOOMOUT", PyInt_FromLong((long) 2334)); | |
11598 | PyDict_SetItemString(d,"wxSTC_CMD_DELWORDLEFT", PyInt_FromLong((long) 2335)); | |
11599 | PyDict_SetItemString(d,"wxSTC_CMD_DELWORDRIGHT", PyInt_FromLong((long) 2336)); | |
11600 | PyDict_SetItemString(d,"wxSTC_CMD_LINECUT", PyInt_FromLong((long) 2337)); | |
11601 | PyDict_SetItemString(d,"wxSTC_CMD_LINEDELETE", PyInt_FromLong((long) 2338)); | |
11602 | PyDict_SetItemString(d,"wxSTC_CMD_LINETRANSPOSE", PyInt_FromLong((long) 2339)); | |
11603 | PyDict_SetItemString(d,"wxSTC_CMD_LOWERCASE", PyInt_FromLong((long) 2340)); | |
11604 | PyDict_SetItemString(d,"wxSTC_CMD_UPPERCASE", PyInt_FromLong((long) 2341)); | |
11605 | PyDict_SetItemString(d,"wxSTC_CMD_LINESCROLLDOWN", PyInt_FromLong((long) 2342)); | |
11606 | PyDict_SetItemString(d,"wxSTC_CMD_LINESCROLLUP", PyInt_FromLong((long) 2343)); | |
c3bfa1cb | 11607 | PyDict_SetItemString(d,"wxSTC_CMD_DELETEBACKNOTLINE", PyInt_FromLong((long) 2344)); |
47a06a26 RD |
11608 | PyDict_SetItemString(d,"wxSTC_CMD_HOMEDISPLAY", PyInt_FromLong((long) 2345)); |
11609 | PyDict_SetItemString(d,"wxSTC_CMD_HOMEDISPLAYEXTEND", PyInt_FromLong((long) 2346)); | |
11610 | PyDict_SetItemString(d,"wxSTC_CMD_LINEENDDISPLAY", PyInt_FromLong((long) 2347)); | |
11611 | PyDict_SetItemString(d,"wxSTC_CMD_LINEENDDISPLAYEXTEND", PyInt_FromLong((long) 2348)); | |
8a2fa5c8 RD |
11612 | PyDict_SetItemString(d,"wxSTC_EDGE_NONE", PyInt_FromLong((long) 0)); |
11613 | PyDict_SetItemString(d,"wxSTC_EDGE_LINE", PyInt_FromLong((long) 1)); | |
11614 | PyDict_SetItemString(d,"wxSTC_EDGE_BACKGROUND", PyInt_FromLong((long) 2)); | |
8a2fa5c8 RD |
11615 | PyDict_SetItemString(d,"wxSTC_CURSORNORMAL", PyInt_FromLong((long) -1)); |
11616 | PyDict_SetItemString(d,"wxSTC_CURSORWAIT", PyInt_FromLong((long) 3)); | |
11617 | PyDict_SetItemString(d,"wxSTC_VISIBLE_SLOP", PyInt_FromLong((long) 0x01)); | |
11618 | PyDict_SetItemString(d,"wxSTC_VISIBLE_STRICT", PyInt_FromLong((long) 0x04)); | |
47a06a26 RD |
11619 | PyDict_SetItemString(d,"wxSTC_CARET_SLOP", PyInt_FromLong((long) 0x01)); |
11620 | PyDict_SetItemString(d,"wxSTC_CARET_STRICT", PyInt_FromLong((long) 0x04)); | |
11621 | PyDict_SetItemString(d,"wxSTC_CARET_JUMPS", PyInt_FromLong((long) 0x10)); | |
11622 | PyDict_SetItemString(d,"wxSTC_CARET_EVEN", PyInt_FromLong((long) 0x08)); | |
8a2fa5c8 RD |
11623 | PyDict_SetItemString(d,"wxSTC_MOD_INSERTTEXT", PyInt_FromLong((long) 0x1)); |
11624 | PyDict_SetItemString(d,"wxSTC_MOD_DELETETEXT", PyInt_FromLong((long) 0x2)); | |
11625 | PyDict_SetItemString(d,"wxSTC_MOD_CHANGESTYLE", PyInt_FromLong((long) 0x4)); | |
11626 | PyDict_SetItemString(d,"wxSTC_MOD_CHANGEFOLD", PyInt_FromLong((long) 0x8)); | |
11627 | PyDict_SetItemString(d,"wxSTC_PERFORMED_USER", PyInt_FromLong((long) 0x10)); | |
11628 | PyDict_SetItemString(d,"wxSTC_PERFORMED_UNDO", PyInt_FromLong((long) 0x20)); | |
11629 | PyDict_SetItemString(d,"wxSTC_PERFORMED_REDO", PyInt_FromLong((long) 0x40)); | |
11630 | PyDict_SetItemString(d,"wxSTC_LASTSTEPINUNDOREDO", PyInt_FromLong((long) 0x100)); | |
11631 | PyDict_SetItemString(d,"wxSTC_MOD_CHANGEMARKER", PyInt_FromLong((long) 0x200)); | |
11632 | PyDict_SetItemString(d,"wxSTC_MOD_BEFOREINSERT", PyInt_FromLong((long) 0x400)); | |
11633 | PyDict_SetItemString(d,"wxSTC_MOD_BEFOREDELETE", PyInt_FromLong((long) 0x800)); | |
11634 | PyDict_SetItemString(d,"wxSTC_MODEVENTMASKALL", PyInt_FromLong((long) 0xF77)); | |
11635 | PyDict_SetItemString(d,"wxSTC_KEY_DOWN", PyInt_FromLong((long) 300)); | |
11636 | PyDict_SetItemString(d,"wxSTC_KEY_UP", PyInt_FromLong((long) 301)); | |
11637 | PyDict_SetItemString(d,"wxSTC_KEY_LEFT", PyInt_FromLong((long) 302)); | |
11638 | PyDict_SetItemString(d,"wxSTC_KEY_RIGHT", PyInt_FromLong((long) 303)); | |
11639 | PyDict_SetItemString(d,"wxSTC_KEY_HOME", PyInt_FromLong((long) 304)); | |
11640 | PyDict_SetItemString(d,"wxSTC_KEY_END", PyInt_FromLong((long) 305)); | |
11641 | PyDict_SetItemString(d,"wxSTC_KEY_PRIOR", PyInt_FromLong((long) 306)); | |
11642 | PyDict_SetItemString(d,"wxSTC_KEY_NEXT", PyInt_FromLong((long) 307)); | |
11643 | PyDict_SetItemString(d,"wxSTC_KEY_DELETE", PyInt_FromLong((long) 308)); | |
11644 | PyDict_SetItemString(d,"wxSTC_KEY_INSERT", PyInt_FromLong((long) 309)); | |
11645 | PyDict_SetItemString(d,"wxSTC_KEY_ESCAPE", PyInt_FromLong((long) 7)); | |
11646 | PyDict_SetItemString(d,"wxSTC_KEY_BACK", PyInt_FromLong((long) 8)); | |
11647 | PyDict_SetItemString(d,"wxSTC_KEY_TAB", PyInt_FromLong((long) 9)); | |
11648 | PyDict_SetItemString(d,"wxSTC_KEY_RETURN", PyInt_FromLong((long) 13)); | |
11649 | PyDict_SetItemString(d,"wxSTC_KEY_ADD", PyInt_FromLong((long) 310)); | |
11650 | PyDict_SetItemString(d,"wxSTC_KEY_SUBTRACT", PyInt_FromLong((long) 311)); | |
11651 | PyDict_SetItemString(d,"wxSTC_KEY_DIVIDE", PyInt_FromLong((long) 312)); | |
11652 | PyDict_SetItemString(d,"wxSTC_SCMOD_SHIFT", PyInt_FromLong((long) 1)); | |
11653 | PyDict_SetItemString(d,"wxSTC_SCMOD_CTRL", PyInt_FromLong((long) 2)); | |
11654 | PyDict_SetItemString(d,"wxSTC_SCMOD_ALT", PyInt_FromLong((long) 4)); | |
11655 | PyDict_SetItemString(d,"wxSTC_LEX_CONTAINER", PyInt_FromLong((long) 0)); | |
11656 | PyDict_SetItemString(d,"wxSTC_LEX_NULL", PyInt_FromLong((long) 1)); | |
11657 | PyDict_SetItemString(d,"wxSTC_LEX_PYTHON", PyInt_FromLong((long) 2)); | |
11658 | PyDict_SetItemString(d,"wxSTC_LEX_CPP", PyInt_FromLong((long) 3)); | |
11659 | PyDict_SetItemString(d,"wxSTC_LEX_HTML", PyInt_FromLong((long) 4)); | |
11660 | PyDict_SetItemString(d,"wxSTC_LEX_XML", PyInt_FromLong((long) 5)); | |
11661 | PyDict_SetItemString(d,"wxSTC_LEX_PERL", PyInt_FromLong((long) 6)); | |
11662 | PyDict_SetItemString(d,"wxSTC_LEX_SQL", PyInt_FromLong((long) 7)); | |
11663 | PyDict_SetItemString(d,"wxSTC_LEX_VB", PyInt_FromLong((long) 8)); | |
11664 | PyDict_SetItemString(d,"wxSTC_LEX_PROPERTIES", PyInt_FromLong((long) 9)); | |
11665 | PyDict_SetItemString(d,"wxSTC_LEX_ERRORLIST", PyInt_FromLong((long) 10)); | |
11666 | PyDict_SetItemString(d,"wxSTC_LEX_MAKEFILE", PyInt_FromLong((long) 11)); | |
11667 | PyDict_SetItemString(d,"wxSTC_LEX_BATCH", PyInt_FromLong((long) 12)); | |
11668 | PyDict_SetItemString(d,"wxSTC_LEX_XCODE", PyInt_FromLong((long) 13)); | |
11669 | PyDict_SetItemString(d,"wxSTC_LEX_LATEX", PyInt_FromLong((long) 14)); | |
11670 | PyDict_SetItemString(d,"wxSTC_LEX_LUA", PyInt_FromLong((long) 15)); | |
11671 | PyDict_SetItemString(d,"wxSTC_LEX_DIFF", PyInt_FromLong((long) 16)); | |
11672 | PyDict_SetItemString(d,"wxSTC_LEX_CONF", PyInt_FromLong((long) 17)); | |
11673 | PyDict_SetItemString(d,"wxSTC_LEX_PASCAL", PyInt_FromLong((long) 18)); | |
11674 | PyDict_SetItemString(d,"wxSTC_LEX_AVE", PyInt_FromLong((long) 19)); | |
11675 | PyDict_SetItemString(d,"wxSTC_LEX_ADA", PyInt_FromLong((long) 20)); | |
11676 | PyDict_SetItemString(d,"wxSTC_LEX_LISP", PyInt_FromLong((long) 21)); | |
11677 | PyDict_SetItemString(d,"wxSTC_LEX_RUBY", PyInt_FromLong((long) 22)); | |
11678 | PyDict_SetItemString(d,"wxSTC_LEX_EIFFEL", PyInt_FromLong((long) 23)); | |
11679 | PyDict_SetItemString(d,"wxSTC_LEX_EIFFELKW", PyInt_FromLong((long) 24)); | |
11680 | PyDict_SetItemString(d,"wxSTC_LEX_TCL", PyInt_FromLong((long) 25)); | |
11681 | PyDict_SetItemString(d,"wxSTC_LEX_NNCRONTAB", PyInt_FromLong((long) 26)); | |
c3bfa1cb RD |
11682 | PyDict_SetItemString(d,"wxSTC_LEX_BULLANT", PyInt_FromLong((long) 27)); |
11683 | PyDict_SetItemString(d,"wxSTC_LEX_VBSCRIPT", PyInt_FromLong((long) 28)); | |
11684 | PyDict_SetItemString(d,"wxSTC_LEX_ASP", PyInt_FromLong((long) 29)); | |
11685 | PyDict_SetItemString(d,"wxSTC_LEX_PHP", PyInt_FromLong((long) 30)); | |
11686 | PyDict_SetItemString(d,"wxSTC_LEX_BAAN", PyInt_FromLong((long) 31)); | |
11687 | PyDict_SetItemString(d,"wxSTC_LEX_MATLAB", PyInt_FromLong((long) 32)); | |
47a06a26 | 11688 | PyDict_SetItemString(d,"wxSTC_LEX_SCRIPTOL", PyInt_FromLong((long) 33)); |
8a2fa5c8 RD |
11689 | PyDict_SetItemString(d,"wxSTC_LEX_AUTOMATIC", PyInt_FromLong((long) 1000)); |
11690 | PyDict_SetItemString(d,"wxSTC_P_DEFAULT", PyInt_FromLong((long) 0)); | |
11691 | PyDict_SetItemString(d,"wxSTC_P_COMMENTLINE", PyInt_FromLong((long) 1)); | |
11692 | PyDict_SetItemString(d,"wxSTC_P_NUMBER", PyInt_FromLong((long) 2)); | |
11693 | PyDict_SetItemString(d,"wxSTC_P_STRING", PyInt_FromLong((long) 3)); | |
11694 | PyDict_SetItemString(d,"wxSTC_P_CHARACTER", PyInt_FromLong((long) 4)); | |
11695 | PyDict_SetItemString(d,"wxSTC_P_WORD", PyInt_FromLong((long) 5)); | |
11696 | PyDict_SetItemString(d,"wxSTC_P_TRIPLE", PyInt_FromLong((long) 6)); | |
11697 | PyDict_SetItemString(d,"wxSTC_P_TRIPLEDOUBLE", PyInt_FromLong((long) 7)); | |
11698 | PyDict_SetItemString(d,"wxSTC_P_CLASSNAME", PyInt_FromLong((long) 8)); | |
11699 | PyDict_SetItemString(d,"wxSTC_P_DEFNAME", PyInt_FromLong((long) 9)); | |
11700 | PyDict_SetItemString(d,"wxSTC_P_OPERATOR", PyInt_FromLong((long) 10)); | |
11701 | PyDict_SetItemString(d,"wxSTC_P_IDENTIFIER", PyInt_FromLong((long) 11)); | |
11702 | PyDict_SetItemString(d,"wxSTC_P_COMMENTBLOCK", PyInt_FromLong((long) 12)); | |
11703 | PyDict_SetItemString(d,"wxSTC_P_STRINGEOL", PyInt_FromLong((long) 13)); | |
11704 | PyDict_SetItemString(d,"wxSTC_C_DEFAULT", PyInt_FromLong((long) 0)); | |
11705 | PyDict_SetItemString(d,"wxSTC_C_COMMENT", PyInt_FromLong((long) 1)); | |
11706 | PyDict_SetItemString(d,"wxSTC_C_COMMENTLINE", PyInt_FromLong((long) 2)); | |
11707 | PyDict_SetItemString(d,"wxSTC_C_COMMENTDOC", PyInt_FromLong((long) 3)); | |
11708 | PyDict_SetItemString(d,"wxSTC_C_NUMBER", PyInt_FromLong((long) 4)); | |
11709 | PyDict_SetItemString(d,"wxSTC_C_WORD", PyInt_FromLong((long) 5)); | |
11710 | PyDict_SetItemString(d,"wxSTC_C_STRING", PyInt_FromLong((long) 6)); | |
11711 | PyDict_SetItemString(d,"wxSTC_C_CHARACTER", PyInt_FromLong((long) 7)); | |
11712 | PyDict_SetItemString(d,"wxSTC_C_UUID", PyInt_FromLong((long) 8)); | |
11713 | PyDict_SetItemString(d,"wxSTC_C_PREPROCESSOR", PyInt_FromLong((long) 9)); | |
11714 | PyDict_SetItemString(d,"wxSTC_C_OPERATOR", PyInt_FromLong((long) 10)); | |
11715 | PyDict_SetItemString(d,"wxSTC_C_IDENTIFIER", PyInt_FromLong((long) 11)); | |
11716 | PyDict_SetItemString(d,"wxSTC_C_STRINGEOL", PyInt_FromLong((long) 12)); | |
11717 | PyDict_SetItemString(d,"wxSTC_C_VERBATIM", PyInt_FromLong((long) 13)); | |
11718 | PyDict_SetItemString(d,"wxSTC_C_REGEX", PyInt_FromLong((long) 14)); | |
11719 | PyDict_SetItemString(d,"wxSTC_C_COMMENTLINEDOC", PyInt_FromLong((long) 15)); | |
11720 | PyDict_SetItemString(d,"wxSTC_C_WORD2", PyInt_FromLong((long) 16)); | |
11721 | PyDict_SetItemString(d,"wxSTC_C_COMMENTDOCKEYWORD", PyInt_FromLong((long) 17)); | |
11722 | PyDict_SetItemString(d,"wxSTC_C_COMMENTDOCKEYWORDERROR", PyInt_FromLong((long) 18)); | |
11723 | PyDict_SetItemString(d,"wxSTC_H_DEFAULT", PyInt_FromLong((long) 0)); | |
11724 | PyDict_SetItemString(d,"wxSTC_H_TAG", PyInt_FromLong((long) 1)); | |
11725 | PyDict_SetItemString(d,"wxSTC_H_TAGUNKNOWN", PyInt_FromLong((long) 2)); | |
11726 | PyDict_SetItemString(d,"wxSTC_H_ATTRIBUTE", PyInt_FromLong((long) 3)); | |
11727 | PyDict_SetItemString(d,"wxSTC_H_ATTRIBUTEUNKNOWN", PyInt_FromLong((long) 4)); | |
11728 | PyDict_SetItemString(d,"wxSTC_H_NUMBER", PyInt_FromLong((long) 5)); | |
11729 | PyDict_SetItemString(d,"wxSTC_H_DOUBLESTRING", PyInt_FromLong((long) 6)); | |
11730 | PyDict_SetItemString(d,"wxSTC_H_SINGLESTRING", PyInt_FromLong((long) 7)); | |
11731 | PyDict_SetItemString(d,"wxSTC_H_OTHER", PyInt_FromLong((long) 8)); | |
11732 | PyDict_SetItemString(d,"wxSTC_H_COMMENT", PyInt_FromLong((long) 9)); | |
11733 | PyDict_SetItemString(d,"wxSTC_H_ENTITY", PyInt_FromLong((long) 10)); | |
11734 | PyDict_SetItemString(d,"wxSTC_H_TAGEND", PyInt_FromLong((long) 11)); | |
11735 | PyDict_SetItemString(d,"wxSTC_H_XMLSTART", PyInt_FromLong((long) 12)); | |
11736 | PyDict_SetItemString(d,"wxSTC_H_XMLEND", PyInt_FromLong((long) 13)); | |
11737 | PyDict_SetItemString(d,"wxSTC_H_SCRIPT", PyInt_FromLong((long) 14)); | |
11738 | PyDict_SetItemString(d,"wxSTC_H_ASP", PyInt_FromLong((long) 15)); | |
11739 | PyDict_SetItemString(d,"wxSTC_H_ASPAT", PyInt_FromLong((long) 16)); | |
11740 | PyDict_SetItemString(d,"wxSTC_H_CDATA", PyInt_FromLong((long) 17)); | |
11741 | PyDict_SetItemString(d,"wxSTC_H_QUESTION", PyInt_FromLong((long) 18)); | |
11742 | PyDict_SetItemString(d,"wxSTC_H_VALUE", PyInt_FromLong((long) 19)); | |
11743 | PyDict_SetItemString(d,"wxSTC_H_XCCOMMENT", PyInt_FromLong((long) 20)); | |
11744 | PyDict_SetItemString(d,"wxSTC_H_SGML_DEFAULT", PyInt_FromLong((long) 21)); | |
11745 | PyDict_SetItemString(d,"wxSTC_H_SGML_COMMAND", PyInt_FromLong((long) 22)); | |
11746 | PyDict_SetItemString(d,"wxSTC_H_SGML_1ST_PARAM", PyInt_FromLong((long) 23)); | |
11747 | PyDict_SetItemString(d,"wxSTC_H_SGML_DOUBLESTRING", PyInt_FromLong((long) 24)); | |
11748 | PyDict_SetItemString(d,"wxSTC_H_SGML_SIMPLESTRING", PyInt_FromLong((long) 25)); | |
11749 | PyDict_SetItemString(d,"wxSTC_H_SGML_ERROR", PyInt_FromLong((long) 26)); | |
11750 | PyDict_SetItemString(d,"wxSTC_H_SGML_SPECIAL", PyInt_FromLong((long) 27)); | |
11751 | PyDict_SetItemString(d,"wxSTC_H_SGML_ENTITY", PyInt_FromLong((long) 28)); | |
11752 | PyDict_SetItemString(d,"wxSTC_H_SGML_COMMENT", PyInt_FromLong((long) 29)); | |
11753 | PyDict_SetItemString(d,"wxSTC_H_SGML_1ST_PARAM_COMMENT", PyInt_FromLong((long) 30)); | |
11754 | PyDict_SetItemString(d,"wxSTC_H_SGML_BLOCK_DEFAULT", PyInt_FromLong((long) 31)); | |
11755 | PyDict_SetItemString(d,"wxSTC_HJ_START", PyInt_FromLong((long) 40)); | |
11756 | PyDict_SetItemString(d,"wxSTC_HJ_DEFAULT", PyInt_FromLong((long) 41)); | |
11757 | PyDict_SetItemString(d,"wxSTC_HJ_COMMENT", PyInt_FromLong((long) 42)); | |
11758 | PyDict_SetItemString(d,"wxSTC_HJ_COMMENTLINE", PyInt_FromLong((long) 43)); | |
11759 | PyDict_SetItemString(d,"wxSTC_HJ_COMMENTDOC", PyInt_FromLong((long) 44)); | |
11760 | PyDict_SetItemString(d,"wxSTC_HJ_NUMBER", PyInt_FromLong((long) 45)); | |
11761 | PyDict_SetItemString(d,"wxSTC_HJ_WORD", PyInt_FromLong((long) 46)); | |
11762 | PyDict_SetItemString(d,"wxSTC_HJ_KEYWORD", PyInt_FromLong((long) 47)); | |
11763 | PyDict_SetItemString(d,"wxSTC_HJ_DOUBLESTRING", PyInt_FromLong((long) 48)); | |
11764 | PyDict_SetItemString(d,"wxSTC_HJ_SINGLESTRING", PyInt_FromLong((long) 49)); | |
11765 | PyDict_SetItemString(d,"wxSTC_HJ_SYMBOLS", PyInt_FromLong((long) 50)); | |
11766 | PyDict_SetItemString(d,"wxSTC_HJ_STRINGEOL", PyInt_FromLong((long) 51)); | |
11767 | PyDict_SetItemString(d,"wxSTC_HJ_REGEX", PyInt_FromLong((long) 52)); | |
11768 | PyDict_SetItemString(d,"wxSTC_HJA_START", PyInt_FromLong((long) 55)); | |
11769 | PyDict_SetItemString(d,"wxSTC_HJA_DEFAULT", PyInt_FromLong((long) 56)); | |
11770 | PyDict_SetItemString(d,"wxSTC_HJA_COMMENT", PyInt_FromLong((long) 57)); | |
11771 | PyDict_SetItemString(d,"wxSTC_HJA_COMMENTLINE", PyInt_FromLong((long) 58)); | |
11772 | PyDict_SetItemString(d,"wxSTC_HJA_COMMENTDOC", PyInt_FromLong((long) 59)); | |
11773 | PyDict_SetItemString(d,"wxSTC_HJA_NUMBER", PyInt_FromLong((long) 60)); | |
11774 | PyDict_SetItemString(d,"wxSTC_HJA_WORD", PyInt_FromLong((long) 61)); | |
11775 | PyDict_SetItemString(d,"wxSTC_HJA_KEYWORD", PyInt_FromLong((long) 62)); | |
11776 | PyDict_SetItemString(d,"wxSTC_HJA_DOUBLESTRING", PyInt_FromLong((long) 63)); | |
11777 | PyDict_SetItemString(d,"wxSTC_HJA_SINGLESTRING", PyInt_FromLong((long) 64)); | |
11778 | PyDict_SetItemString(d,"wxSTC_HJA_SYMBOLS", PyInt_FromLong((long) 65)); | |
11779 | PyDict_SetItemString(d,"wxSTC_HJA_STRINGEOL", PyInt_FromLong((long) 66)); | |
11780 | PyDict_SetItemString(d,"wxSTC_HJA_REGEX", PyInt_FromLong((long) 67)); | |
11781 | PyDict_SetItemString(d,"wxSTC_HB_START", PyInt_FromLong((long) 70)); | |
11782 | PyDict_SetItemString(d,"wxSTC_HB_DEFAULT", PyInt_FromLong((long) 71)); | |
11783 | PyDict_SetItemString(d,"wxSTC_HB_COMMENTLINE", PyInt_FromLong((long) 72)); | |
11784 | PyDict_SetItemString(d,"wxSTC_HB_NUMBER", PyInt_FromLong((long) 73)); | |
11785 | PyDict_SetItemString(d,"wxSTC_HB_WORD", PyInt_FromLong((long) 74)); | |
11786 | PyDict_SetItemString(d,"wxSTC_HB_STRING", PyInt_FromLong((long) 75)); | |
11787 | PyDict_SetItemString(d,"wxSTC_HB_IDENTIFIER", PyInt_FromLong((long) 76)); | |
11788 | PyDict_SetItemString(d,"wxSTC_HB_STRINGEOL", PyInt_FromLong((long) 77)); | |
11789 | PyDict_SetItemString(d,"wxSTC_HBA_START", PyInt_FromLong((long) 80)); | |
11790 | PyDict_SetItemString(d,"wxSTC_HBA_DEFAULT", PyInt_FromLong((long) 81)); | |
11791 | PyDict_SetItemString(d,"wxSTC_HBA_COMMENTLINE", PyInt_FromLong((long) 82)); | |
11792 | PyDict_SetItemString(d,"wxSTC_HBA_NUMBER", PyInt_FromLong((long) 83)); | |
11793 | PyDict_SetItemString(d,"wxSTC_HBA_WORD", PyInt_FromLong((long) 84)); | |
11794 | PyDict_SetItemString(d,"wxSTC_HBA_STRING", PyInt_FromLong((long) 85)); | |
11795 | PyDict_SetItemString(d,"wxSTC_HBA_IDENTIFIER", PyInt_FromLong((long) 86)); | |
11796 | PyDict_SetItemString(d,"wxSTC_HBA_STRINGEOL", PyInt_FromLong((long) 87)); | |
11797 | PyDict_SetItemString(d,"wxSTC_HP_START", PyInt_FromLong((long) 90)); | |
11798 | PyDict_SetItemString(d,"wxSTC_HP_DEFAULT", PyInt_FromLong((long) 91)); | |
11799 | PyDict_SetItemString(d,"wxSTC_HP_COMMENTLINE", PyInt_FromLong((long) 92)); | |
11800 | PyDict_SetItemString(d,"wxSTC_HP_NUMBER", PyInt_FromLong((long) 93)); | |
11801 | PyDict_SetItemString(d,"wxSTC_HP_STRING", PyInt_FromLong((long) 94)); | |
11802 | PyDict_SetItemString(d,"wxSTC_HP_CHARACTER", PyInt_FromLong((long) 95)); | |
11803 | PyDict_SetItemString(d,"wxSTC_HP_WORD", PyInt_FromLong((long) 96)); | |
11804 | PyDict_SetItemString(d,"wxSTC_HP_TRIPLE", PyInt_FromLong((long) 97)); | |
11805 | PyDict_SetItemString(d,"wxSTC_HP_TRIPLEDOUBLE", PyInt_FromLong((long) 98)); | |
11806 | PyDict_SetItemString(d,"wxSTC_HP_CLASSNAME", PyInt_FromLong((long) 99)); | |
11807 | PyDict_SetItemString(d,"wxSTC_HP_DEFNAME", PyInt_FromLong((long) 100)); | |
11808 | PyDict_SetItemString(d,"wxSTC_HP_OPERATOR", PyInt_FromLong((long) 101)); | |
11809 | PyDict_SetItemString(d,"wxSTC_HP_IDENTIFIER", PyInt_FromLong((long) 102)); | |
11810 | PyDict_SetItemString(d,"wxSTC_HPA_START", PyInt_FromLong((long) 105)); | |
11811 | PyDict_SetItemString(d,"wxSTC_HPA_DEFAULT", PyInt_FromLong((long) 106)); | |
11812 | PyDict_SetItemString(d,"wxSTC_HPA_COMMENTLINE", PyInt_FromLong((long) 107)); | |
11813 | PyDict_SetItemString(d,"wxSTC_HPA_NUMBER", PyInt_FromLong((long) 108)); | |
11814 | PyDict_SetItemString(d,"wxSTC_HPA_STRING", PyInt_FromLong((long) 109)); | |
11815 | PyDict_SetItemString(d,"wxSTC_HPA_CHARACTER", PyInt_FromLong((long) 110)); | |
11816 | PyDict_SetItemString(d,"wxSTC_HPA_WORD", PyInt_FromLong((long) 111)); | |
11817 | PyDict_SetItemString(d,"wxSTC_HPA_TRIPLE", PyInt_FromLong((long) 112)); | |
11818 | PyDict_SetItemString(d,"wxSTC_HPA_TRIPLEDOUBLE", PyInt_FromLong((long) 113)); | |
11819 | PyDict_SetItemString(d,"wxSTC_HPA_CLASSNAME", PyInt_FromLong((long) 114)); | |
11820 | PyDict_SetItemString(d,"wxSTC_HPA_DEFNAME", PyInt_FromLong((long) 115)); | |
11821 | PyDict_SetItemString(d,"wxSTC_HPA_OPERATOR", PyInt_FromLong((long) 116)); | |
11822 | PyDict_SetItemString(d,"wxSTC_HPA_IDENTIFIER", PyInt_FromLong((long) 117)); | |
11823 | PyDict_SetItemString(d,"wxSTC_HPHP_DEFAULT", PyInt_FromLong((long) 118)); | |
11824 | PyDict_SetItemString(d,"wxSTC_HPHP_HSTRING", PyInt_FromLong((long) 119)); | |
11825 | PyDict_SetItemString(d,"wxSTC_HPHP_SIMPLESTRING", PyInt_FromLong((long) 120)); | |
11826 | PyDict_SetItemString(d,"wxSTC_HPHP_WORD", PyInt_FromLong((long) 121)); | |
11827 | PyDict_SetItemString(d,"wxSTC_HPHP_NUMBER", PyInt_FromLong((long) 122)); | |
11828 | PyDict_SetItemString(d,"wxSTC_HPHP_VARIABLE", PyInt_FromLong((long) 123)); | |
11829 | PyDict_SetItemString(d,"wxSTC_HPHP_COMMENT", PyInt_FromLong((long) 124)); | |
11830 | PyDict_SetItemString(d,"wxSTC_HPHP_COMMENTLINE", PyInt_FromLong((long) 125)); | |
11831 | PyDict_SetItemString(d,"wxSTC_HPHP_HSTRING_VARIABLE", PyInt_FromLong((long) 126)); | |
11832 | PyDict_SetItemString(d,"wxSTC_HPHP_OPERATOR", PyInt_FromLong((long) 127)); | |
11833 | PyDict_SetItemString(d,"wxSTC_PL_DEFAULT", PyInt_FromLong((long) 0)); | |
11834 | PyDict_SetItemString(d,"wxSTC_PL_ERROR", PyInt_FromLong((long) 1)); | |
11835 | PyDict_SetItemString(d,"wxSTC_PL_COMMENTLINE", PyInt_FromLong((long) 2)); | |
11836 | PyDict_SetItemString(d,"wxSTC_PL_POD", PyInt_FromLong((long) 3)); | |
11837 | PyDict_SetItemString(d,"wxSTC_PL_NUMBER", PyInt_FromLong((long) 4)); | |
11838 | PyDict_SetItemString(d,"wxSTC_PL_WORD", PyInt_FromLong((long) 5)); | |
11839 | PyDict_SetItemString(d,"wxSTC_PL_STRING", PyInt_FromLong((long) 6)); | |
11840 | PyDict_SetItemString(d,"wxSTC_PL_CHARACTER", PyInt_FromLong((long) 7)); | |
11841 | PyDict_SetItemString(d,"wxSTC_PL_PUNCTUATION", PyInt_FromLong((long) 8)); | |
11842 | PyDict_SetItemString(d,"wxSTC_PL_PREPROCESSOR", PyInt_FromLong((long) 9)); | |
11843 | PyDict_SetItemString(d,"wxSTC_PL_OPERATOR", PyInt_FromLong((long) 10)); | |
11844 | PyDict_SetItemString(d,"wxSTC_PL_IDENTIFIER", PyInt_FromLong((long) 11)); | |
11845 | PyDict_SetItemString(d,"wxSTC_PL_SCALAR", PyInt_FromLong((long) 12)); | |
11846 | PyDict_SetItemString(d,"wxSTC_PL_ARRAY", PyInt_FromLong((long) 13)); | |
11847 | PyDict_SetItemString(d,"wxSTC_PL_HASH", PyInt_FromLong((long) 14)); | |
11848 | PyDict_SetItemString(d,"wxSTC_PL_SYMBOLTABLE", PyInt_FromLong((long) 15)); | |
11849 | PyDict_SetItemString(d,"wxSTC_PL_REGEX", PyInt_FromLong((long) 17)); | |
11850 | PyDict_SetItemString(d,"wxSTC_PL_REGSUBST", PyInt_FromLong((long) 18)); | |
11851 | PyDict_SetItemString(d,"wxSTC_PL_LONGQUOTE", PyInt_FromLong((long) 19)); | |
11852 | PyDict_SetItemString(d,"wxSTC_PL_BACKTICKS", PyInt_FromLong((long) 20)); | |
11853 | PyDict_SetItemString(d,"wxSTC_PL_DATASECTION", PyInt_FromLong((long) 21)); | |
11854 | PyDict_SetItemString(d,"wxSTC_PL_HERE_DELIM", PyInt_FromLong((long) 22)); | |
11855 | PyDict_SetItemString(d,"wxSTC_PL_HERE_Q", PyInt_FromLong((long) 23)); | |
11856 | PyDict_SetItemString(d,"wxSTC_PL_HERE_QQ", PyInt_FromLong((long) 24)); | |
11857 | PyDict_SetItemString(d,"wxSTC_PL_HERE_QX", PyInt_FromLong((long) 25)); | |
11858 | PyDict_SetItemString(d,"wxSTC_PL_STRING_Q", PyInt_FromLong((long) 26)); | |
11859 | PyDict_SetItemString(d,"wxSTC_PL_STRING_QQ", PyInt_FromLong((long) 27)); | |
11860 | PyDict_SetItemString(d,"wxSTC_PL_STRING_QX", PyInt_FromLong((long) 28)); | |
11861 | PyDict_SetItemString(d,"wxSTC_PL_STRING_QR", PyInt_FromLong((long) 29)); | |
11862 | PyDict_SetItemString(d,"wxSTC_PL_STRING_QW", PyInt_FromLong((long) 30)); | |
47a06a26 RD |
11863 | PyDict_SetItemString(d,"wxSTC_B_DEFAULT", PyInt_FromLong((long) 0)); |
11864 | PyDict_SetItemString(d,"wxSTC_B_COMMENT", PyInt_FromLong((long) 1)); | |
11865 | PyDict_SetItemString(d,"wxSTC_B_NUMBER", PyInt_FromLong((long) 2)); | |
11866 | PyDict_SetItemString(d,"wxSTC_B_KEYWORD", PyInt_FromLong((long) 3)); | |
11867 | PyDict_SetItemString(d,"wxSTC_B_STRING", PyInt_FromLong((long) 4)); | |
11868 | PyDict_SetItemString(d,"wxSTC_B_PREPROCESSOR", PyInt_FromLong((long) 5)); | |
11869 | PyDict_SetItemString(d,"wxSTC_B_OPERATOR", PyInt_FromLong((long) 6)); | |
11870 | PyDict_SetItemString(d,"wxSTC_B_IDENTIFIER", PyInt_FromLong((long) 7)); | |
11871 | PyDict_SetItemString(d,"wxSTC_B_DATE", PyInt_FromLong((long) 8)); | |
11872 | PyDict_SetItemString(d,"wxSTC_PROPS_DEFAULT", PyInt_FromLong((long) 0)); | |
11873 | PyDict_SetItemString(d,"wxSTC_PROPS_COMMENT", PyInt_FromLong((long) 1)); | |
11874 | PyDict_SetItemString(d,"wxSTC_PROPS_SECTION", PyInt_FromLong((long) 2)); | |
11875 | PyDict_SetItemString(d,"wxSTC_PROPS_ASSIGNMENT", PyInt_FromLong((long) 3)); | |
11876 | PyDict_SetItemString(d,"wxSTC_PROPS_DEFVAL", PyInt_FromLong((long) 4)); | |
8a2fa5c8 RD |
11877 | PyDict_SetItemString(d,"wxSTC_L_DEFAULT", PyInt_FromLong((long) 0)); |
11878 | PyDict_SetItemString(d,"wxSTC_L_COMMAND", PyInt_FromLong((long) 1)); | |
11879 | PyDict_SetItemString(d,"wxSTC_L_TAG", PyInt_FromLong((long) 2)); | |
11880 | PyDict_SetItemString(d,"wxSTC_L_MATH", PyInt_FromLong((long) 3)); | |
11881 | PyDict_SetItemString(d,"wxSTC_L_COMMENT", PyInt_FromLong((long) 4)); | |
11882 | PyDict_SetItemString(d,"wxSTC_LUA_DEFAULT", PyInt_FromLong((long) 0)); | |
11883 | PyDict_SetItemString(d,"wxSTC_LUA_COMMENT", PyInt_FromLong((long) 1)); | |
11884 | PyDict_SetItemString(d,"wxSTC_LUA_COMMENTLINE", PyInt_FromLong((long) 2)); | |
11885 | PyDict_SetItemString(d,"wxSTC_LUA_COMMENTDOC", PyInt_FromLong((long) 3)); | |
11886 | PyDict_SetItemString(d,"wxSTC_LUA_NUMBER", PyInt_FromLong((long) 4)); | |
11887 | PyDict_SetItemString(d,"wxSTC_LUA_WORD", PyInt_FromLong((long) 5)); | |
11888 | PyDict_SetItemString(d,"wxSTC_LUA_STRING", PyInt_FromLong((long) 6)); | |
11889 | PyDict_SetItemString(d,"wxSTC_LUA_CHARACTER", PyInt_FromLong((long) 7)); | |
11890 | PyDict_SetItemString(d,"wxSTC_LUA_LITERALSTRING", PyInt_FromLong((long) 8)); | |
11891 | PyDict_SetItemString(d,"wxSTC_LUA_PREPROCESSOR", PyInt_FromLong((long) 9)); | |
11892 | PyDict_SetItemString(d,"wxSTC_LUA_OPERATOR", PyInt_FromLong((long) 10)); | |
11893 | PyDict_SetItemString(d,"wxSTC_LUA_IDENTIFIER", PyInt_FromLong((long) 11)); | |
11894 | PyDict_SetItemString(d,"wxSTC_LUA_STRINGEOL", PyInt_FromLong((long) 12)); | |
c3bfa1cb RD |
11895 | PyDict_SetItemString(d,"wxSTC_LUA_WORD2", PyInt_FromLong((long) 13)); |
11896 | PyDict_SetItemString(d,"wxSTC_LUA_WORD3", PyInt_FromLong((long) 14)); | |
11897 | PyDict_SetItemString(d,"wxSTC_LUA_WORD4", PyInt_FromLong((long) 15)); | |
11898 | PyDict_SetItemString(d,"wxSTC_LUA_WORD5", PyInt_FromLong((long) 16)); | |
11899 | PyDict_SetItemString(d,"wxSTC_LUA_WORD6", PyInt_FromLong((long) 17)); | |
8a2fa5c8 RD |
11900 | PyDict_SetItemString(d,"wxSTC_ERR_DEFAULT", PyInt_FromLong((long) 0)); |
11901 | PyDict_SetItemString(d,"wxSTC_ERR_PYTHON", PyInt_FromLong((long) 1)); | |
11902 | PyDict_SetItemString(d,"wxSTC_ERR_GCC", PyInt_FromLong((long) 2)); | |
11903 | PyDict_SetItemString(d,"wxSTC_ERR_MS", PyInt_FromLong((long) 3)); | |
11904 | PyDict_SetItemString(d,"wxSTC_ERR_CMD", PyInt_FromLong((long) 4)); | |
11905 | PyDict_SetItemString(d,"wxSTC_ERR_BORLAND", PyInt_FromLong((long) 5)); | |
11906 | PyDict_SetItemString(d,"wxSTC_ERR_PERL", PyInt_FromLong((long) 6)); | |
11907 | PyDict_SetItemString(d,"wxSTC_ERR_NET", PyInt_FromLong((long) 7)); | |
11908 | PyDict_SetItemString(d,"wxSTC_ERR_LUA", PyInt_FromLong((long) 8)); | |
47a06a26 | 11909 | PyDict_SetItemString(d,"wxSTC_ERR_CTAG", PyInt_FromLong((long) 9)); |
8a2fa5c8 RD |
11910 | PyDict_SetItemString(d,"wxSTC_ERR_DIFF_CHANGED", PyInt_FromLong((long) 10)); |
11911 | PyDict_SetItemString(d,"wxSTC_ERR_DIFF_ADDITION", PyInt_FromLong((long) 11)); | |
11912 | PyDict_SetItemString(d,"wxSTC_ERR_DIFF_DELETION", PyInt_FromLong((long) 12)); | |
11913 | PyDict_SetItemString(d,"wxSTC_ERR_DIFF_MESSAGE", PyInt_FromLong((long) 13)); | |
11914 | PyDict_SetItemString(d,"wxSTC_BAT_DEFAULT", PyInt_FromLong((long) 0)); | |
11915 | PyDict_SetItemString(d,"wxSTC_BAT_COMMENT", PyInt_FromLong((long) 1)); | |
11916 | PyDict_SetItemString(d,"wxSTC_BAT_WORD", PyInt_FromLong((long) 2)); | |
11917 | PyDict_SetItemString(d,"wxSTC_BAT_LABEL", PyInt_FromLong((long) 3)); | |
11918 | PyDict_SetItemString(d,"wxSTC_BAT_HIDE", PyInt_FromLong((long) 4)); | |
11919 | PyDict_SetItemString(d,"wxSTC_BAT_COMMAND", PyInt_FromLong((long) 5)); | |
11920 | PyDict_SetItemString(d,"wxSTC_BAT_IDENTIFIER", PyInt_FromLong((long) 6)); | |
11921 | PyDict_SetItemString(d,"wxSTC_BAT_OPERATOR", PyInt_FromLong((long) 7)); | |
11922 | PyDict_SetItemString(d,"wxSTC_MAKE_DEFAULT", PyInt_FromLong((long) 0)); | |
11923 | PyDict_SetItemString(d,"wxSTC_MAKE_COMMENT", PyInt_FromLong((long) 1)); | |
11924 | PyDict_SetItemString(d,"wxSTC_MAKE_PREPROCESSOR", PyInt_FromLong((long) 2)); | |
11925 | PyDict_SetItemString(d,"wxSTC_MAKE_IDENTIFIER", PyInt_FromLong((long) 3)); | |
11926 | PyDict_SetItemString(d,"wxSTC_MAKE_OPERATOR", PyInt_FromLong((long) 4)); | |
11927 | PyDict_SetItemString(d,"wxSTC_MAKE_TARGET", PyInt_FromLong((long) 5)); | |
11928 | PyDict_SetItemString(d,"wxSTC_MAKE_IDEOL", PyInt_FromLong((long) 9)); | |
47a06a26 RD |
11929 | PyDict_SetItemString(d,"wxSTC_DIFF_DEFAULT", PyInt_FromLong((long) 0)); |
11930 | PyDict_SetItemString(d,"wxSTC_DIFF_COMMENT", PyInt_FromLong((long) 1)); | |
11931 | PyDict_SetItemString(d,"wxSTC_DIFF_COMMAND", PyInt_FromLong((long) 2)); | |
11932 | PyDict_SetItemString(d,"wxSTC_DIFF_HEADER", PyInt_FromLong((long) 3)); | |
11933 | PyDict_SetItemString(d,"wxSTC_DIFF_POSITION", PyInt_FromLong((long) 4)); | |
11934 | PyDict_SetItemString(d,"wxSTC_DIFF_DELETED", PyInt_FromLong((long) 5)); | |
11935 | PyDict_SetItemString(d,"wxSTC_DIFF_ADDED", PyInt_FromLong((long) 6)); | |
8a2fa5c8 RD |
11936 | PyDict_SetItemString(d,"wxSTC_CONF_DEFAULT", PyInt_FromLong((long) 0)); |
11937 | PyDict_SetItemString(d,"wxSTC_CONF_COMMENT", PyInt_FromLong((long) 1)); | |
11938 | PyDict_SetItemString(d,"wxSTC_CONF_NUMBER", PyInt_FromLong((long) 2)); | |
11939 | PyDict_SetItemString(d,"wxSTC_CONF_IDENTIFIER", PyInt_FromLong((long) 3)); | |
11940 | PyDict_SetItemString(d,"wxSTC_CONF_EXTENSION", PyInt_FromLong((long) 4)); | |
11941 | PyDict_SetItemString(d,"wxSTC_CONF_PARAMETER", PyInt_FromLong((long) 5)); | |
11942 | PyDict_SetItemString(d,"wxSTC_CONF_STRING", PyInt_FromLong((long) 6)); | |
11943 | PyDict_SetItemString(d,"wxSTC_CONF_OPERATOR", PyInt_FromLong((long) 7)); | |
11944 | PyDict_SetItemString(d,"wxSTC_CONF_IP", PyInt_FromLong((long) 8)); | |
11945 | PyDict_SetItemString(d,"wxSTC_CONF_DIRECTIVE", PyInt_FromLong((long) 9)); | |
11946 | PyDict_SetItemString(d,"wxSTC_AVE_DEFAULT", PyInt_FromLong((long) 0)); | |
11947 | PyDict_SetItemString(d,"wxSTC_AVE_COMMENT", PyInt_FromLong((long) 1)); | |
11948 | PyDict_SetItemString(d,"wxSTC_AVE_NUMBER", PyInt_FromLong((long) 2)); | |
11949 | PyDict_SetItemString(d,"wxSTC_AVE_WORD", PyInt_FromLong((long) 3)); | |
11950 | PyDict_SetItemString(d,"wxSTC_AVE_KEYWORD", PyInt_FromLong((long) 4)); | |
11951 | PyDict_SetItemString(d,"wxSTC_AVE_STATEMENT", PyInt_FromLong((long) 5)); | |
11952 | PyDict_SetItemString(d,"wxSTC_AVE_STRING", PyInt_FromLong((long) 6)); | |
11953 | PyDict_SetItemString(d,"wxSTC_AVE_ENUM", PyInt_FromLong((long) 7)); | |
11954 | PyDict_SetItemString(d,"wxSTC_AVE_STRINGEOL", PyInt_FromLong((long) 8)); | |
11955 | PyDict_SetItemString(d,"wxSTC_AVE_IDENTIFIER", PyInt_FromLong((long) 9)); | |
11956 | PyDict_SetItemString(d,"wxSTC_AVE_OPERATOR", PyInt_FromLong((long) 10)); | |
11957 | PyDict_SetItemString(d,"wxSTC_ADA_DEFAULT", PyInt_FromLong((long) 0)); | |
11958 | PyDict_SetItemString(d,"wxSTC_ADA_COMMENT", PyInt_FromLong((long) 1)); | |
11959 | PyDict_SetItemString(d,"wxSTC_ADA_NUMBER", PyInt_FromLong((long) 2)); | |
11960 | PyDict_SetItemString(d,"wxSTC_ADA_WORD", PyInt_FromLong((long) 3)); | |
11961 | PyDict_SetItemString(d,"wxSTC_ADA_STRING", PyInt_FromLong((long) 4)); | |
11962 | PyDict_SetItemString(d,"wxSTC_ADA_CHARACTER", PyInt_FromLong((long) 5)); | |
11963 | PyDict_SetItemString(d,"wxSTC_ADA_OPERATOR", PyInt_FromLong((long) 6)); | |
11964 | PyDict_SetItemString(d,"wxSTC_ADA_IDENTIFIER", PyInt_FromLong((long) 7)); | |
11965 | PyDict_SetItemString(d,"wxSTC_ADA_STRINGEOL", PyInt_FromLong((long) 8)); | |
c3bfa1cb RD |
11966 | PyDict_SetItemString(d,"wxSTC_BAAN_DEFAULT", PyInt_FromLong((long) 0)); |
11967 | PyDict_SetItemString(d,"wxSTC_BAAN_COMMENT", PyInt_FromLong((long) 1)); | |
11968 | PyDict_SetItemString(d,"wxSTC_BAAN_COMMENTDOC", PyInt_FromLong((long) 2)); | |
11969 | PyDict_SetItemString(d,"wxSTC_BAAN_NUMBER", PyInt_FromLong((long) 3)); | |
11970 | PyDict_SetItemString(d,"wxSTC_BAAN_WORD", PyInt_FromLong((long) 4)); | |
11971 | PyDict_SetItemString(d,"wxSTC_BAAN_STRING", PyInt_FromLong((long) 5)); | |
11972 | PyDict_SetItemString(d,"wxSTC_BAAN_PREPROCESSOR", PyInt_FromLong((long) 6)); | |
11973 | PyDict_SetItemString(d,"wxSTC_BAAN_OPERATOR", PyInt_FromLong((long) 7)); | |
11974 | PyDict_SetItemString(d,"wxSTC_BAAN_IDENTIFIER", PyInt_FromLong((long) 8)); | |
11975 | PyDict_SetItemString(d,"wxSTC_BAAN_STRINGEOL", PyInt_FromLong((long) 9)); | |
11976 | PyDict_SetItemString(d,"wxSTC_BAAN_WORD2", PyInt_FromLong((long) 10)); | |
8a2fa5c8 RD |
11977 | PyDict_SetItemString(d,"wxSTC_LISP_DEFAULT", PyInt_FromLong((long) 0)); |
11978 | PyDict_SetItemString(d,"wxSTC_LISP_COMMENT", PyInt_FromLong((long) 1)); | |
11979 | PyDict_SetItemString(d,"wxSTC_LISP_NUMBER", PyInt_FromLong((long) 2)); | |
11980 | PyDict_SetItemString(d,"wxSTC_LISP_KEYWORD", PyInt_FromLong((long) 3)); | |
11981 | PyDict_SetItemString(d,"wxSTC_LISP_STRING", PyInt_FromLong((long) 6)); | |
11982 | PyDict_SetItemString(d,"wxSTC_LISP_STRINGEOL", PyInt_FromLong((long) 8)); | |
11983 | PyDict_SetItemString(d,"wxSTC_LISP_IDENTIFIER", PyInt_FromLong((long) 9)); | |
11984 | PyDict_SetItemString(d,"wxSTC_LISP_OPERATOR", PyInt_FromLong((long) 10)); | |
11985 | PyDict_SetItemString(d,"wxSTC_EIFFEL_DEFAULT", PyInt_FromLong((long) 0)); | |
11986 | PyDict_SetItemString(d,"wxSTC_EIFFEL_COMMENTLINE", PyInt_FromLong((long) 1)); | |
11987 | PyDict_SetItemString(d,"wxSTC_EIFFEL_NUMBER", PyInt_FromLong((long) 2)); | |
11988 | PyDict_SetItemString(d,"wxSTC_EIFFEL_WORD", PyInt_FromLong((long) 3)); | |
11989 | PyDict_SetItemString(d,"wxSTC_EIFFEL_STRING", PyInt_FromLong((long) 4)); | |
11990 | PyDict_SetItemString(d,"wxSTC_EIFFEL_CHARACTER", PyInt_FromLong((long) 5)); | |
11991 | PyDict_SetItemString(d,"wxSTC_EIFFEL_OPERATOR", PyInt_FromLong((long) 6)); | |
11992 | PyDict_SetItemString(d,"wxSTC_EIFFEL_IDENTIFIER", PyInt_FromLong((long) 7)); | |
11993 | PyDict_SetItemString(d,"wxSTC_EIFFEL_STRINGEOL", PyInt_FromLong((long) 8)); | |
11994 | PyDict_SetItemString(d,"wxSTC_NNCRONTAB_DEFAULT", PyInt_FromLong((long) 0)); | |
11995 | PyDict_SetItemString(d,"wxSTC_NNCRONTAB_COMMENT", PyInt_FromLong((long) 1)); | |
11996 | PyDict_SetItemString(d,"wxSTC_NNCRONTAB_TASK", PyInt_FromLong((long) 2)); | |
11997 | PyDict_SetItemString(d,"wxSTC_NNCRONTAB_SECTION", PyInt_FromLong((long) 3)); | |
11998 | PyDict_SetItemString(d,"wxSTC_NNCRONTAB_KEYWORD", PyInt_FromLong((long) 4)); | |
11999 | PyDict_SetItemString(d,"wxSTC_NNCRONTAB_MODIFIER", PyInt_FromLong((long) 5)); | |
12000 | PyDict_SetItemString(d,"wxSTC_NNCRONTAB_ASTERISK", PyInt_FromLong((long) 6)); | |
12001 | PyDict_SetItemString(d,"wxSTC_NNCRONTAB_NUMBER", PyInt_FromLong((long) 7)); | |
12002 | PyDict_SetItemString(d,"wxSTC_NNCRONTAB_STRING", PyInt_FromLong((long) 8)); | |
12003 | PyDict_SetItemString(d,"wxSTC_NNCRONTAB_ENVIRONMENT", PyInt_FromLong((long) 9)); | |
12004 | PyDict_SetItemString(d,"wxSTC_NNCRONTAB_IDENTIFIER", PyInt_FromLong((long) 10)); | |
c3bfa1cb RD |
12005 | PyDict_SetItemString(d,"wxSTC_MATLAB_DEFAULT", PyInt_FromLong((long) 0)); |
12006 | PyDict_SetItemString(d,"wxSTC_MATLAB_COMMENT", PyInt_FromLong((long) 1)); | |
12007 | PyDict_SetItemString(d,"wxSTC_MATLAB_COMMAND", PyInt_FromLong((long) 2)); | |
12008 | PyDict_SetItemString(d,"wxSTC_MATLAB_NUMBER", PyInt_FromLong((long) 3)); | |
12009 | PyDict_SetItemString(d,"wxSTC_MATLAB_KEYWORD", PyInt_FromLong((long) 4)); | |
12010 | PyDict_SetItemString(d,"wxSTC_MATLAB_STRING", PyInt_FromLong((long) 5)); | |
12011 | PyDict_SetItemString(d,"wxSTC_MATLAB_OPERATOR", PyInt_FromLong((long) 6)); | |
12012 | PyDict_SetItemString(d,"wxSTC_MATLAB_IDENTIFIER", PyInt_FromLong((long) 7)); | |
47a06a26 RD |
12013 | PyDict_SetItemString(d,"wxSTC_SCRIPTOL_DEFAULT", PyInt_FromLong((long) 0)); |
12014 | PyDict_SetItemString(d,"wxSTC_SCRIPTOL_COMMENT", PyInt_FromLong((long) 1)); | |
12015 | PyDict_SetItemString(d,"wxSTC_SCRIPTOL_COMMENTLINE", PyInt_FromLong((long) 2)); | |
12016 | PyDict_SetItemString(d,"wxSTC_SCRIPTOL_COMMENTDOC", PyInt_FromLong((long) 3)); | |
12017 | PyDict_SetItemString(d,"wxSTC_SCRIPTOL_NUMBER", PyInt_FromLong((long) 4)); | |
12018 | PyDict_SetItemString(d,"wxSTC_SCRIPTOL_WORD", PyInt_FromLong((long) 5)); | |
12019 | PyDict_SetItemString(d,"wxSTC_SCRIPTOL_STRING", PyInt_FromLong((long) 6)); | |
12020 | PyDict_SetItemString(d,"wxSTC_SCRIPTOL_CHARACTER", PyInt_FromLong((long) 7)); | |
12021 | PyDict_SetItemString(d,"wxSTC_SCRIPTOL_UUID", PyInt_FromLong((long) 8)); | |
12022 | PyDict_SetItemString(d,"wxSTC_SCRIPTOL_PREPROCESSOR", PyInt_FromLong((long) 9)); | |
12023 | PyDict_SetItemString(d,"wxSTC_SCRIPTOL_OPERATOR", PyInt_FromLong((long) 10)); | |
12024 | PyDict_SetItemString(d,"wxSTC_SCRIPTOL_IDENTIFIER", PyInt_FromLong((long) 11)); | |
12025 | PyDict_SetItemString(d,"wxSTC_SCRIPTOL_STRINGEOL", PyInt_FromLong((long) 12)); | |
12026 | PyDict_SetItemString(d,"wxSTC_SCRIPTOL_VERBATIM", PyInt_FromLong((long) 13)); | |
12027 | PyDict_SetItemString(d,"wxSTC_SCRIPTOL_REGEX", PyInt_FromLong((long) 14)); | |
12028 | PyDict_SetItemString(d,"wxSTC_SCRIPTOL_COMMENTLINEDOC", PyInt_FromLong((long) 15)); | |
12029 | PyDict_SetItemString(d,"wxSTC_SCRIPTOL_WORD2", PyInt_FromLong((long) 16)); | |
12030 | PyDict_SetItemString(d,"wxSTC_SCRIPTOL_COMMENTDOCKEYWORD", PyInt_FromLong((long) 17)); | |
12031 | PyDict_SetItemString(d,"wxSTC_SCRIPTOL_COMMENTDOCKEYWORDERROR", PyInt_FromLong((long) 18)); | |
12032 | PyDict_SetItemString(d,"wxSTC_SCRIPTOL_COMMENTBASIC", PyInt_FromLong((long) 19)); | |
8a2fa5c8 | 12033 | PyDict_SetItemString(d,"wxSTCNameStr", PyString_FromString("wxSTCNameStr")); |
4bb081fd | 12034 | PyDict_SetItemString(d,"STC_USE_DND", PyInt_FromLong((long) 1)); |
8a2fa5c8 RD |
12035 | PyDict_SetItemString(d,"wxEVT_STC_CHANGE", PyInt_FromLong((long) wxEVT_STC_CHANGE)); |
12036 | PyDict_SetItemString(d,"wxEVT_STC_STYLENEEDED", PyInt_FromLong((long) wxEVT_STC_STYLENEEDED)); | |
12037 | PyDict_SetItemString(d,"wxEVT_STC_CHARADDED", PyInt_FromLong((long) wxEVT_STC_CHARADDED)); | |
12038 | PyDict_SetItemString(d,"wxEVT_STC_SAVEPOINTREACHED", PyInt_FromLong((long) wxEVT_STC_SAVEPOINTREACHED)); | |
12039 | PyDict_SetItemString(d,"wxEVT_STC_SAVEPOINTLEFT", PyInt_FromLong((long) wxEVT_STC_SAVEPOINTLEFT)); | |
12040 | PyDict_SetItemString(d,"wxEVT_STC_ROMODIFYATTEMPT", PyInt_FromLong((long) wxEVT_STC_ROMODIFYATTEMPT)); | |
12041 | PyDict_SetItemString(d,"wxEVT_STC_KEY", PyInt_FromLong((long) wxEVT_STC_KEY)); | |
12042 | PyDict_SetItemString(d,"wxEVT_STC_DOUBLECLICK", PyInt_FromLong((long) wxEVT_STC_DOUBLECLICK)); | |
12043 | PyDict_SetItemString(d,"wxEVT_STC_UPDATEUI", PyInt_FromLong((long) wxEVT_STC_UPDATEUI)); | |
12044 | PyDict_SetItemString(d,"wxEVT_STC_MODIFIED", PyInt_FromLong((long) wxEVT_STC_MODIFIED)); | |
12045 | PyDict_SetItemString(d,"wxEVT_STC_MACRORECORD", PyInt_FromLong((long) wxEVT_STC_MACRORECORD)); | |
12046 | PyDict_SetItemString(d,"wxEVT_STC_MARGINCLICK", PyInt_FromLong((long) wxEVT_STC_MARGINCLICK)); | |
12047 | PyDict_SetItemString(d,"wxEVT_STC_NEEDSHOWN", PyInt_FromLong((long) wxEVT_STC_NEEDSHOWN)); | |
12048 | PyDict_SetItemString(d,"wxEVT_STC_POSCHANGED", PyInt_FromLong((long) wxEVT_STC_POSCHANGED)); | |
12049 | PyDict_SetItemString(d,"wxEVT_STC_PAINTED", PyInt_FromLong((long) wxEVT_STC_PAINTED)); | |
12050 | PyDict_SetItemString(d,"wxEVT_STC_USERLISTSELECTION", PyInt_FromLong((long) wxEVT_STC_USERLISTSELECTION)); | |
12051 | PyDict_SetItemString(d,"wxEVT_STC_URIDROPPED", PyInt_FromLong((long) wxEVT_STC_URIDROPPED)); | |
12052 | PyDict_SetItemString(d,"wxEVT_STC_DWELLSTART", PyInt_FromLong((long) wxEVT_STC_DWELLSTART)); | |
12053 | PyDict_SetItemString(d,"wxEVT_STC_DWELLEND", PyInt_FromLong((long) wxEVT_STC_DWELLEND)); | |
6abe8375 RD |
12054 | PyDict_SetItemString(d,"wxEVT_STC_START_DRAG", PyInt_FromLong((long) wxEVT_STC_START_DRAG)); |
12055 | PyDict_SetItemString(d,"wxEVT_STC_DRAG_OVER", PyInt_FromLong((long) wxEVT_STC_DRAG_OVER)); | |
12056 | PyDict_SetItemString(d,"wxEVT_STC_DO_DROP", PyInt_FromLong((long) wxEVT_STC_DO_DROP)); | |
47a06a26 | 12057 | PyDict_SetItemString(d,"wxEVT_STC_ZOOM", PyInt_FromLong((long) wxEVT_STC_ZOOM)); |
8a2fa5c8 RD |
12058 | |
12059 | ||
12060 | wxClassInfo::CleanUpClasses(); | |
12061 | wxClassInfo::InitializeClasses(); | |
12062 | ||
12063 | { | |
12064 | int i; | |
12065 | for (i = 0; _swig_mapping[i].n1; i++) | |
12066 | SWIG_RegisterMapping(_swig_mapping[i].n1,_swig_mapping[i].n2,_swig_mapping[i].pcnv); | |
12067 | } | |
12068 | } |