]>
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 | |
7108497a RD |
22 | #include "Python.h" |
23 | ||
8a2fa5c8 RD |
24 | #include <string.h> |
25 | #include <stdlib.h> | |
26 | /* Definitions for Windows/Unix exporting */ | |
27 | #if defined(__WIN32__) | |
28 | # if defined(_MSC_VER) | |
29 | # define SWIGEXPORT(a) __declspec(dllexport) a | |
30 | # else | |
31 | # if defined(__BORLANDC__) | |
32 | # define SWIGEXPORT(a) a _export | |
33 | # else | |
34 | # define SWIGEXPORT(a) a | |
35 | # endif | |
36 | # endif | |
37 | #else | |
38 | # define SWIGEXPORT(a) a | |
39 | #endif | |
40 | ||
8a2fa5c8 RD |
41 | #ifdef __cplusplus |
42 | extern "C" { | |
43 | #endif | |
8a2fa5c8 RD |
44 | extern void SWIG_MakePtr(char *, void *, char *); |
45 | extern void SWIG_RegisterMapping(char *, char *, void *(*)(void *)); | |
46 | extern char *SWIG_GetPtr(char *, void **, char *); | |
47 | extern char *SWIG_GetPtrObj(PyObject *, void **, char *); | |
48 | extern void SWIG_addvarlink(PyObject *, char *, PyObject *(*)(void), int (*)(PyObject *)); | |
49 | extern PyObject *SWIG_newvarlink(void); | |
50 | #ifdef __cplusplus | |
51 | } | |
52 | #endif | |
53 | #define SWIG_init initstc_c | |
54 | ||
55 | #define SWIG_name "stc_c" | |
56 | ||
b787b2a9 | 57 | #include "wxPython.h" |
8a2fa5c8 RD |
58 | #include "wx/stc/stc.h" |
59 | ||
60 | ||
61 | static PyObject* t_output_helper(PyObject* target, PyObject* o) { | |
62 | PyObject* o2; | |
63 | PyObject* o3; | |
64 | ||
65 | if (!target) { | |
66 | target = o; | |
67 | } else if (target == Py_None) { | |
68 | Py_DECREF(Py_None); | |
69 | target = o; | |
70 | } else { | |
71 | if (!PyTuple_Check(target)) { | |
72 | o2 = target; | |
73 | target = PyTuple_New(1); | |
74 | PyTuple_SetItem(target, 0, o2); | |
75 | } | |
76 | o3 = PyTuple_New(1); | |
77 | PyTuple_SetItem(o3, 0, o); | |
78 | ||
79 | o2 = target; | |
80 | target = PySequence_Concat(o2, o3); | |
81 | Py_DECREF(o2); | |
82 | Py_DECREF(o3); | |
83 | } | |
84 | return target; | |
85 | } | |
c3bfa1cb RD |
86 | |
87 | // Put some wx default wxChar* values into wxStrings. | |
88 | DECLARE_DEF_STRING(STCNameStr); | |
8a2fa5c8 RD |
89 | #ifdef __cplusplus |
90 | extern "C" { | |
91 | #endif | |
92 | static void *SwigwxStyledTextCtrlTowxControl(void *ptr) { | |
93 | wxStyledTextCtrl *src; | |
94 | wxControl *dest; | |
95 | src = (wxStyledTextCtrl *) ptr; | |
96 | dest = (wxControl *) src; | |
97 | return (void *) dest; | |
98 | } | |
99 | ||
100 | static void *SwigwxStyledTextCtrlTowxWindow(void *ptr) { | |
101 | wxStyledTextCtrl *src; | |
102 | wxWindow *dest; | |
103 | src = (wxStyledTextCtrl *) ptr; | |
104 | dest = (wxWindow *) src; | |
105 | return (void *) dest; | |
106 | } | |
107 | ||
108 | static void *SwigwxStyledTextCtrlTowxEvtHandler(void *ptr) { | |
109 | wxStyledTextCtrl *src; | |
110 | wxEvtHandler *dest; | |
111 | src = (wxStyledTextCtrl *) ptr; | |
112 | dest = (wxEvtHandler *) src; | |
113 | return (void *) dest; | |
114 | } | |
115 | ||
116 | static void *SwigwxStyledTextCtrlTowxObject(void *ptr) { | |
117 | wxStyledTextCtrl *src; | |
118 | wxObject *dest; | |
119 | src = (wxStyledTextCtrl *) ptr; | |
120 | dest = (wxObject *) src; | |
121 | return (void *) dest; | |
122 | } | |
123 | ||
124 | #define new_wxStyledTextCtrl(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxStyledTextCtrl(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5)) | |
125 | static PyObject *_wrap_new_wxStyledTextCtrl(PyObject *self, PyObject *args, PyObject *kwargs) { | |
126 | PyObject * _resultobj; | |
127 | wxStyledTextCtrl * _result; | |
128 | wxWindow * _arg0; | |
129 | wxWindowID _arg1; | |
130 | wxPoint * _arg2 = (wxPoint *) &wxDefaultPosition; | |
131 | wxSize * _arg3 = (wxSize *) &wxDefaultSize; | |
132 | long _arg4 = (long ) 0; | |
c3bfa1cb | 133 | wxString * _arg5 = (wxString *) &wxPySTCNameStr; |
8a2fa5c8 RD |
134 | PyObject * _argo0 = 0; |
135 | wxPoint temp; | |
136 | PyObject * _obj2 = 0; | |
137 | wxSize temp0; | |
138 | PyObject * _obj3 = 0; | |
c3bfa1cb | 139 | PyObject * _obj5 = 0; |
8a2fa5c8 RD |
140 | char *_kwnames[] = { "parent","id","pos","size","style","name", NULL }; |
141 | char _ptemp[128]; | |
142 | ||
143 | self = self; | |
c3bfa1cb | 144 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi|OOlO:new_wxStyledTextCtrl",_kwnames,&_argo0,&_arg1,&_obj2,&_obj3,&_arg4,&_obj5)) |
8a2fa5c8 RD |
145 | return NULL; |
146 | if (_argo0) { | |
147 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
148 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) { | |
149 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxStyledTextCtrl. Expected _wxWindow_p."); | |
150 | return NULL; | |
151 | } | |
152 | } | |
153 | if (_obj2) | |
154 | { | |
155 | _arg2 = &temp; | |
156 | if (! wxPoint_helper(_obj2, &_arg2)) | |
157 | return NULL; | |
158 | } | |
159 | if (_obj3) | |
160 | { | |
161 | _arg3 = &temp0; | |
162 | if (! wxSize_helper(_obj3, &_arg3)) | |
163 | return NULL; | |
c3bfa1cb RD |
164 | } |
165 | if (_obj5) | |
166 | { | |
167 | _arg5 = wxString_in_helper(_obj5); | |
168 | if (_arg5 == NULL) | |
169 | return NULL; | |
8a2fa5c8 RD |
170 | } |
171 | { | |
0e2ff151 | 172 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c3bfa1cb | 173 | _result = (wxStyledTextCtrl *)new_wxStyledTextCtrl(_arg0,_arg1,*_arg2,*_arg3,_arg4,*_arg5); |
8a2fa5c8 | 174 | |
0e2ff151 RD |
175 | wxPyEndAllowThreads(__tstate); |
176 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
177 | } if (_result) { |
178 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxStyledTextCtrl_p"); | |
179 | _resultobj = Py_BuildValue("s",_ptemp); | |
180 | } else { | |
181 | Py_INCREF(Py_None); | |
182 | _resultobj = Py_None; | |
183 | } | |
c3bfa1cb RD |
184 | { |
185 | if (_obj5) | |
186 | delete _arg5; | |
187 | } | |
8a2fa5c8 RD |
188 | return _resultobj; |
189 | } | |
190 | ||
191 | #define wxStyledTextCtrl_AddText(_swigobj,_swigarg0) (_swigobj->AddText(_swigarg0)) | |
192 | static PyObject *_wrap_wxStyledTextCtrl_AddText(PyObject *self, PyObject *args, PyObject *kwargs) { | |
193 | PyObject * _resultobj; | |
194 | wxStyledTextCtrl * _arg0; | |
195 | wxString * _arg1; | |
196 | PyObject * _argo0 = 0; | |
197 | PyObject * _obj1 = 0; | |
198 | char *_kwnames[] = { "self","text", NULL }; | |
199 | ||
200 | self = self; | |
201 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxStyledTextCtrl_AddText",_kwnames,&_argo0,&_obj1)) | |
202 | return NULL; | |
203 | if (_argo0) { | |
204 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
205 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
206 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_AddText. Expected _wxStyledTextCtrl_p."); | |
207 | return NULL; | |
208 | } | |
209 | } | |
210 | { | |
6824d4f9 RD |
211 | _arg1 = wxString_in_helper(_obj1); |
212 | if (_arg1 == NULL) | |
8a2fa5c8 | 213 | return NULL; |
8a2fa5c8 RD |
214 | } |
215 | { | |
0e2ff151 | 216 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 217 | wxStyledTextCtrl_AddText(_arg0,*_arg1); |
8a2fa5c8 | 218 | |
0e2ff151 RD |
219 | wxPyEndAllowThreads(__tstate); |
220 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
221 | } Py_INCREF(Py_None); |
222 | _resultobj = Py_None; | |
223 | { | |
224 | if (_obj1) | |
225 | delete _arg1; | |
226 | } | |
227 | return _resultobj; | |
228 | } | |
229 | ||
230 | #define wxStyledTextCtrl_AddStyledText(_swigobj,_swigarg0) (_swigobj->AddStyledText(_swigarg0)) | |
231 | static PyObject *_wrap_wxStyledTextCtrl_AddStyledText(PyObject *self, PyObject *args, PyObject *kwargs) { | |
232 | PyObject * _resultobj; | |
233 | wxStyledTextCtrl * _arg0; | |
c3bfa1cb | 234 | wxMemoryBuffer * _arg1; |
8a2fa5c8 RD |
235 | PyObject * _argo0 = 0; |
236 | PyObject * _obj1 = 0; | |
c3bfa1cb | 237 | char *_kwnames[] = { "self","data", NULL }; |
8a2fa5c8 RD |
238 | |
239 | self = self; | |
240 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxStyledTextCtrl_AddStyledText",_kwnames,&_argo0,&_obj1)) | |
241 | return NULL; | |
242 | if (_argo0) { | |
243 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
244 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
245 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_AddStyledText. Expected _wxStyledTextCtrl_p."); | |
246 | return NULL; | |
247 | } | |
248 | } | |
249 | { | |
c3bfa1cb RD |
250 | if (!PyString_Check(_obj1)) { |
251 | PyErr_SetString(PyExc_TypeError, "String buffer expected"); | |
8a2fa5c8 | 252 | return NULL; |
c3bfa1cb RD |
253 | } |
254 | char* str = PyString_AS_STRING(_obj1); | |
255 | int len = PyString_GET_SIZE(_obj1); | |
256 | _arg1 = new wxMemoryBuffer(len); | |
257 | memcpy(_arg1->GetData(), str, len); | |
8a2fa5c8 RD |
258 | } |
259 | { | |
0e2ff151 | 260 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 261 | wxStyledTextCtrl_AddStyledText(_arg0,*_arg1); |
8a2fa5c8 | 262 | |
0e2ff151 RD |
263 | wxPyEndAllowThreads(__tstate); |
264 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
265 | } Py_INCREF(Py_None); |
266 | _resultobj = Py_None; | |
267 | { | |
268 | if (_obj1) | |
269 | delete _arg1; | |
270 | } | |
271 | return _resultobj; | |
272 | } | |
273 | ||
274 | #define wxStyledTextCtrl_InsertText(_swigobj,_swigarg0,_swigarg1) (_swigobj->InsertText(_swigarg0,_swigarg1)) | |
275 | static PyObject *_wrap_wxStyledTextCtrl_InsertText(PyObject *self, PyObject *args, PyObject *kwargs) { | |
276 | PyObject * _resultobj; | |
277 | wxStyledTextCtrl * _arg0; | |
278 | int _arg1; | |
279 | wxString * _arg2; | |
280 | PyObject * _argo0 = 0; | |
281 | PyObject * _obj2 = 0; | |
282 | char *_kwnames[] = { "self","pos","text", NULL }; | |
283 | ||
284 | self = self; | |
285 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxStyledTextCtrl_InsertText",_kwnames,&_argo0,&_arg1,&_obj2)) | |
286 | return NULL; | |
287 | if (_argo0) { | |
288 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
289 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
290 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_InsertText. Expected _wxStyledTextCtrl_p."); | |
291 | return NULL; | |
292 | } | |
293 | } | |
294 | { | |
6824d4f9 RD |
295 | _arg2 = wxString_in_helper(_obj2); |
296 | if (_arg2 == NULL) | |
8a2fa5c8 | 297 | return NULL; |
8a2fa5c8 RD |
298 | } |
299 | { | |
0e2ff151 | 300 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 301 | wxStyledTextCtrl_InsertText(_arg0,_arg1,*_arg2); |
8a2fa5c8 | 302 | |
0e2ff151 RD |
303 | wxPyEndAllowThreads(__tstate); |
304 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
305 | } Py_INCREF(Py_None); |
306 | _resultobj = Py_None; | |
307 | { | |
308 | if (_obj2) | |
309 | delete _arg2; | |
310 | } | |
311 | return _resultobj; | |
312 | } | |
313 | ||
314 | #define wxStyledTextCtrl_ClearAll(_swigobj) (_swigobj->ClearAll()) | |
315 | static PyObject *_wrap_wxStyledTextCtrl_ClearAll(PyObject *self, PyObject *args, PyObject *kwargs) { | |
316 | PyObject * _resultobj; | |
317 | wxStyledTextCtrl * _arg0; | |
318 | PyObject * _argo0 = 0; | |
319 | char *_kwnames[] = { "self", NULL }; | |
320 | ||
321 | self = self; | |
322 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_ClearAll",_kwnames,&_argo0)) | |
323 | return NULL; | |
324 | if (_argo0) { | |
325 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
326 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
327 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_ClearAll. Expected _wxStyledTextCtrl_p."); | |
328 | return NULL; | |
329 | } | |
330 | } | |
331 | { | |
0e2ff151 | 332 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 333 | wxStyledTextCtrl_ClearAll(_arg0); |
8a2fa5c8 | 334 | |
0e2ff151 RD |
335 | wxPyEndAllowThreads(__tstate); |
336 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
337 | } Py_INCREF(Py_None); |
338 | _resultobj = Py_None; | |
339 | return _resultobj; | |
340 | } | |
341 | ||
342 | #define wxStyledTextCtrl_ClearDocumentStyle(_swigobj) (_swigobj->ClearDocumentStyle()) | |
343 | static PyObject *_wrap_wxStyledTextCtrl_ClearDocumentStyle(PyObject *self, PyObject *args, PyObject *kwargs) { | |
344 | PyObject * _resultobj; | |
345 | wxStyledTextCtrl * _arg0; | |
346 | PyObject * _argo0 = 0; | |
347 | char *_kwnames[] = { "self", NULL }; | |
348 | ||
349 | self = self; | |
350 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_ClearDocumentStyle",_kwnames,&_argo0)) | |
351 | return NULL; | |
352 | if (_argo0) { | |
353 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
354 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
355 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_ClearDocumentStyle. Expected _wxStyledTextCtrl_p."); | |
356 | return NULL; | |
357 | } | |
358 | } | |
359 | { | |
0e2ff151 | 360 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 361 | wxStyledTextCtrl_ClearDocumentStyle(_arg0); |
8a2fa5c8 | 362 | |
0e2ff151 RD |
363 | wxPyEndAllowThreads(__tstate); |
364 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
365 | } Py_INCREF(Py_None); |
366 | _resultobj = Py_None; | |
367 | return _resultobj; | |
368 | } | |
369 | ||
370 | #define wxStyledTextCtrl_GetLength(_swigobj) (_swigobj->GetLength()) | |
371 | static PyObject *_wrap_wxStyledTextCtrl_GetLength(PyObject *self, PyObject *args, PyObject *kwargs) { | |
372 | PyObject * _resultobj; | |
373 | int _result; | |
374 | wxStyledTextCtrl * _arg0; | |
375 | PyObject * _argo0 = 0; | |
376 | char *_kwnames[] = { "self", NULL }; | |
377 | ||
378 | self = self; | |
379 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetLength",_kwnames,&_argo0)) | |
380 | return NULL; | |
381 | if (_argo0) { | |
382 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
383 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
384 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetLength. Expected _wxStyledTextCtrl_p."); | |
385 | return NULL; | |
386 | } | |
387 | } | |
388 | { | |
0e2ff151 | 389 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 390 | _result = (int )wxStyledTextCtrl_GetLength(_arg0); |
8a2fa5c8 | 391 | |
0e2ff151 RD |
392 | wxPyEndAllowThreads(__tstate); |
393 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
394 | } _resultobj = Py_BuildValue("i",_result); |
395 | return _resultobj; | |
396 | } | |
397 | ||
398 | #define wxStyledTextCtrl_GetCharAt(_swigobj,_swigarg0) (_swigobj->GetCharAt(_swigarg0)) | |
399 | static PyObject *_wrap_wxStyledTextCtrl_GetCharAt(PyObject *self, PyObject *args, PyObject *kwargs) { | |
400 | PyObject * _resultobj; | |
401 | int _result; | |
402 | wxStyledTextCtrl * _arg0; | |
403 | int _arg1; | |
404 | PyObject * _argo0 = 0; | |
405 | char *_kwnames[] = { "self","pos", NULL }; | |
406 | ||
407 | self = self; | |
408 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_GetCharAt",_kwnames,&_argo0,&_arg1)) | |
409 | return NULL; | |
410 | if (_argo0) { | |
411 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
412 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
413 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetCharAt. Expected _wxStyledTextCtrl_p."); | |
414 | return NULL; | |
415 | } | |
416 | } | |
417 | { | |
0e2ff151 | 418 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 419 | _result = (int )wxStyledTextCtrl_GetCharAt(_arg0,_arg1); |
8a2fa5c8 | 420 | |
0e2ff151 RD |
421 | wxPyEndAllowThreads(__tstate); |
422 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
423 | } _resultobj = Py_BuildValue("i",_result); |
424 | return _resultobj; | |
425 | } | |
426 | ||
427 | #define wxStyledTextCtrl_GetCurrentPos(_swigobj) (_swigobj->GetCurrentPos()) | |
428 | static PyObject *_wrap_wxStyledTextCtrl_GetCurrentPos(PyObject *self, PyObject *args, PyObject *kwargs) { | |
429 | PyObject * _resultobj; | |
430 | int _result; | |
431 | wxStyledTextCtrl * _arg0; | |
432 | PyObject * _argo0 = 0; | |
433 | char *_kwnames[] = { "self", NULL }; | |
434 | ||
435 | self = self; | |
436 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetCurrentPos",_kwnames,&_argo0)) | |
437 | return NULL; | |
438 | if (_argo0) { | |
439 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
440 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
441 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetCurrentPos. Expected _wxStyledTextCtrl_p."); | |
442 | return NULL; | |
443 | } | |
444 | } | |
445 | { | |
0e2ff151 | 446 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 447 | _result = (int )wxStyledTextCtrl_GetCurrentPos(_arg0); |
8a2fa5c8 | 448 | |
0e2ff151 RD |
449 | wxPyEndAllowThreads(__tstate); |
450 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
451 | } _resultobj = Py_BuildValue("i",_result); |
452 | return _resultobj; | |
453 | } | |
454 | ||
455 | #define wxStyledTextCtrl_GetAnchor(_swigobj) (_swigobj->GetAnchor()) | |
456 | static PyObject *_wrap_wxStyledTextCtrl_GetAnchor(PyObject *self, PyObject *args, PyObject *kwargs) { | |
457 | PyObject * _resultobj; | |
458 | int _result; | |
459 | wxStyledTextCtrl * _arg0; | |
460 | PyObject * _argo0 = 0; | |
461 | char *_kwnames[] = { "self", NULL }; | |
462 | ||
463 | self = self; | |
464 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetAnchor",_kwnames,&_argo0)) | |
465 | return NULL; | |
466 | if (_argo0) { | |
467 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
468 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
469 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetAnchor. Expected _wxStyledTextCtrl_p."); | |
470 | return NULL; | |
471 | } | |
472 | } | |
473 | { | |
0e2ff151 | 474 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 475 | _result = (int )wxStyledTextCtrl_GetAnchor(_arg0); |
8a2fa5c8 | 476 | |
0e2ff151 RD |
477 | wxPyEndAllowThreads(__tstate); |
478 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
479 | } _resultobj = Py_BuildValue("i",_result); |
480 | return _resultobj; | |
481 | } | |
482 | ||
483 | #define wxStyledTextCtrl_GetStyleAt(_swigobj,_swigarg0) (_swigobj->GetStyleAt(_swigarg0)) | |
484 | static PyObject *_wrap_wxStyledTextCtrl_GetStyleAt(PyObject *self, PyObject *args, PyObject *kwargs) { | |
485 | PyObject * _resultobj; | |
486 | int _result; | |
487 | wxStyledTextCtrl * _arg0; | |
488 | int _arg1; | |
489 | PyObject * _argo0 = 0; | |
490 | char *_kwnames[] = { "self","pos", NULL }; | |
491 | ||
492 | self = self; | |
493 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_GetStyleAt",_kwnames,&_argo0,&_arg1)) | |
494 | return NULL; | |
495 | if (_argo0) { | |
496 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
497 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
498 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetStyleAt. Expected _wxStyledTextCtrl_p."); | |
499 | return NULL; | |
500 | } | |
501 | } | |
502 | { | |
0e2ff151 | 503 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 504 | _result = (int )wxStyledTextCtrl_GetStyleAt(_arg0,_arg1); |
8a2fa5c8 | 505 | |
0e2ff151 RD |
506 | wxPyEndAllowThreads(__tstate); |
507 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
508 | } _resultobj = Py_BuildValue("i",_result); |
509 | return _resultobj; | |
510 | } | |
511 | ||
512 | #define wxStyledTextCtrl_Redo(_swigobj) (_swigobj->Redo()) | |
513 | static PyObject *_wrap_wxStyledTextCtrl_Redo(PyObject *self, PyObject *args, PyObject *kwargs) { | |
514 | PyObject * _resultobj; | |
515 | wxStyledTextCtrl * _arg0; | |
516 | PyObject * _argo0 = 0; | |
517 | char *_kwnames[] = { "self", NULL }; | |
518 | ||
519 | self = self; | |
520 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_Redo",_kwnames,&_argo0)) | |
521 | return NULL; | |
522 | if (_argo0) { | |
523 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
524 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
525 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_Redo. Expected _wxStyledTextCtrl_p."); | |
526 | return NULL; | |
527 | } | |
528 | } | |
529 | { | |
0e2ff151 | 530 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 531 | wxStyledTextCtrl_Redo(_arg0); |
8a2fa5c8 | 532 | |
0e2ff151 RD |
533 | wxPyEndAllowThreads(__tstate); |
534 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
535 | } Py_INCREF(Py_None); |
536 | _resultobj = Py_None; | |
537 | return _resultobj; | |
538 | } | |
539 | ||
540 | #define wxStyledTextCtrl_SetUndoCollection(_swigobj,_swigarg0) (_swigobj->SetUndoCollection(_swigarg0)) | |
541 | static PyObject *_wrap_wxStyledTextCtrl_SetUndoCollection(PyObject *self, PyObject *args, PyObject *kwargs) { | |
542 | PyObject * _resultobj; | |
543 | wxStyledTextCtrl * _arg0; | |
544 | bool _arg1; | |
545 | PyObject * _argo0 = 0; | |
546 | int tempbool1; | |
547 | char *_kwnames[] = { "self","collectUndo", NULL }; | |
548 | ||
549 | self = self; | |
550 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_SetUndoCollection",_kwnames,&_argo0,&tempbool1)) | |
551 | return NULL; | |
552 | if (_argo0) { | |
553 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
554 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
555 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetUndoCollection. Expected _wxStyledTextCtrl_p."); | |
556 | return NULL; | |
557 | } | |
558 | } | |
559 | _arg1 = (bool ) tempbool1; | |
560 | { | |
0e2ff151 | 561 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 562 | wxStyledTextCtrl_SetUndoCollection(_arg0,_arg1); |
8a2fa5c8 | 563 | |
0e2ff151 RD |
564 | wxPyEndAllowThreads(__tstate); |
565 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
566 | } Py_INCREF(Py_None); |
567 | _resultobj = Py_None; | |
568 | return _resultobj; | |
569 | } | |
570 | ||
571 | #define wxStyledTextCtrl_SelectAll(_swigobj) (_swigobj->SelectAll()) | |
572 | static PyObject *_wrap_wxStyledTextCtrl_SelectAll(PyObject *self, PyObject *args, PyObject *kwargs) { | |
573 | PyObject * _resultobj; | |
574 | wxStyledTextCtrl * _arg0; | |
575 | PyObject * _argo0 = 0; | |
576 | char *_kwnames[] = { "self", NULL }; | |
577 | ||
578 | self = self; | |
579 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_SelectAll",_kwnames,&_argo0)) | |
580 | return NULL; | |
581 | if (_argo0) { | |
582 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
583 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
584 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SelectAll. Expected _wxStyledTextCtrl_p."); | |
585 | return NULL; | |
586 | } | |
587 | } | |
588 | { | |
0e2ff151 | 589 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 590 | wxStyledTextCtrl_SelectAll(_arg0); |
8a2fa5c8 | 591 | |
0e2ff151 RD |
592 | wxPyEndAllowThreads(__tstate); |
593 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
594 | } Py_INCREF(Py_None); |
595 | _resultobj = Py_None; | |
596 | return _resultobj; | |
597 | } | |
598 | ||
599 | #define wxStyledTextCtrl_SetSavePoint(_swigobj) (_swigobj->SetSavePoint()) | |
600 | static PyObject *_wrap_wxStyledTextCtrl_SetSavePoint(PyObject *self, PyObject *args, PyObject *kwargs) { | |
601 | PyObject * _resultobj; | |
602 | wxStyledTextCtrl * _arg0; | |
603 | PyObject * _argo0 = 0; | |
604 | char *_kwnames[] = { "self", NULL }; | |
605 | ||
606 | self = self; | |
607 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_SetSavePoint",_kwnames,&_argo0)) | |
608 | return NULL; | |
609 | if (_argo0) { | |
610 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
611 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
612 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetSavePoint. Expected _wxStyledTextCtrl_p."); | |
613 | return NULL; | |
614 | } | |
615 | } | |
616 | { | |
0e2ff151 | 617 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 618 | wxStyledTextCtrl_SetSavePoint(_arg0); |
8a2fa5c8 | 619 | |
0e2ff151 RD |
620 | wxPyEndAllowThreads(__tstate); |
621 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
622 | } Py_INCREF(Py_None); |
623 | _resultobj = Py_None; | |
624 | return _resultobj; | |
625 | } | |
626 | ||
627 | #define wxStyledTextCtrl_GetStyledText(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetStyledText(_swigarg0,_swigarg1)) | |
628 | static PyObject *_wrap_wxStyledTextCtrl_GetStyledText(PyObject *self, PyObject *args, PyObject *kwargs) { | |
629 | PyObject * _resultobj; | |
c3bfa1cb | 630 | wxMemoryBuffer * _result; |
8a2fa5c8 RD |
631 | wxStyledTextCtrl * _arg0; |
632 | int _arg1; | |
633 | int _arg2; | |
634 | PyObject * _argo0 = 0; | |
635 | char *_kwnames[] = { "self","startPos","endPos", NULL }; | |
636 | ||
637 | self = self; | |
638 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxStyledTextCtrl_GetStyledText",_kwnames,&_argo0,&_arg1,&_arg2)) | |
639 | return NULL; | |
640 | if (_argo0) { | |
641 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
642 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
643 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetStyledText. Expected _wxStyledTextCtrl_p."); | |
644 | return NULL; | |
645 | } | |
646 | } | |
647 | { | |
0e2ff151 | 648 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c3bfa1cb | 649 | _result = new wxMemoryBuffer (wxStyledTextCtrl_GetStyledText(_arg0,_arg1,_arg2)); |
8a2fa5c8 | 650 | |
0e2ff151 RD |
651 | wxPyEndAllowThreads(__tstate); |
652 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 | 653 | }{ |
c3bfa1cb | 654 | _resultobj = PyString_FromStringAndSize((char*)_result->GetData(), _result->GetDataLen()); |
8a2fa5c8 RD |
655 | } |
656 | { | |
657 | delete _result; | |
658 | } | |
659 | return _resultobj; | |
660 | } | |
661 | ||
662 | #define wxStyledTextCtrl_CanRedo(_swigobj) (_swigobj->CanRedo()) | |
663 | static PyObject *_wrap_wxStyledTextCtrl_CanRedo(PyObject *self, PyObject *args, PyObject *kwargs) { | |
664 | PyObject * _resultobj; | |
665 | bool _result; | |
666 | wxStyledTextCtrl * _arg0; | |
667 | PyObject * _argo0 = 0; | |
668 | char *_kwnames[] = { "self", NULL }; | |
669 | ||
670 | self = self; | |
671 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_CanRedo",_kwnames,&_argo0)) | |
672 | return NULL; | |
673 | if (_argo0) { | |
674 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
675 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
676 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_CanRedo. Expected _wxStyledTextCtrl_p."); | |
677 | return NULL; | |
678 | } | |
679 | } | |
680 | { | |
0e2ff151 | 681 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 682 | _result = (bool )wxStyledTextCtrl_CanRedo(_arg0); |
8a2fa5c8 | 683 | |
0e2ff151 RD |
684 | wxPyEndAllowThreads(__tstate); |
685 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
686 | } _resultobj = Py_BuildValue("i",_result); |
687 | return _resultobj; | |
688 | } | |
689 | ||
690 | #define wxStyledTextCtrl_MarkerLineFromHandle(_swigobj,_swigarg0) (_swigobj->MarkerLineFromHandle(_swigarg0)) | |
691 | static PyObject *_wrap_wxStyledTextCtrl_MarkerLineFromHandle(PyObject *self, PyObject *args, PyObject *kwargs) { | |
692 | PyObject * _resultobj; | |
693 | int _result; | |
694 | wxStyledTextCtrl * _arg0; | |
695 | int _arg1; | |
696 | PyObject * _argo0 = 0; | |
697 | char *_kwnames[] = { "self","handle", NULL }; | |
698 | ||
699 | self = self; | |
700 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_MarkerLineFromHandle",_kwnames,&_argo0,&_arg1)) | |
701 | return NULL; | |
702 | if (_argo0) { | |
703 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
704 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
705 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_MarkerLineFromHandle. Expected _wxStyledTextCtrl_p."); | |
706 | return NULL; | |
707 | } | |
708 | } | |
709 | { | |
0e2ff151 | 710 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 711 | _result = (int )wxStyledTextCtrl_MarkerLineFromHandle(_arg0,_arg1); |
8a2fa5c8 | 712 | |
0e2ff151 RD |
713 | wxPyEndAllowThreads(__tstate); |
714 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
715 | } _resultobj = Py_BuildValue("i",_result); |
716 | return _resultobj; | |
717 | } | |
718 | ||
719 | #define wxStyledTextCtrl_MarkerDeleteHandle(_swigobj,_swigarg0) (_swigobj->MarkerDeleteHandle(_swigarg0)) | |
720 | static PyObject *_wrap_wxStyledTextCtrl_MarkerDeleteHandle(PyObject *self, PyObject *args, PyObject *kwargs) { | |
721 | PyObject * _resultobj; | |
722 | wxStyledTextCtrl * _arg0; | |
723 | int _arg1; | |
724 | PyObject * _argo0 = 0; | |
725 | char *_kwnames[] = { "self","handle", NULL }; | |
726 | ||
727 | self = self; | |
728 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_MarkerDeleteHandle",_kwnames,&_argo0,&_arg1)) | |
729 | return NULL; | |
730 | if (_argo0) { | |
731 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
732 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
733 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_MarkerDeleteHandle. Expected _wxStyledTextCtrl_p."); | |
734 | return NULL; | |
735 | } | |
736 | } | |
737 | { | |
0e2ff151 | 738 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 739 | wxStyledTextCtrl_MarkerDeleteHandle(_arg0,_arg1); |
8a2fa5c8 | 740 | |
0e2ff151 RD |
741 | wxPyEndAllowThreads(__tstate); |
742 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
743 | } Py_INCREF(Py_None); |
744 | _resultobj = Py_None; | |
745 | return _resultobj; | |
746 | } | |
747 | ||
748 | #define wxStyledTextCtrl_GetUndoCollection(_swigobj) (_swigobj->GetUndoCollection()) | |
749 | static PyObject *_wrap_wxStyledTextCtrl_GetUndoCollection(PyObject *self, PyObject *args, PyObject *kwargs) { | |
750 | PyObject * _resultobj; | |
751 | bool _result; | |
752 | wxStyledTextCtrl * _arg0; | |
753 | PyObject * _argo0 = 0; | |
754 | char *_kwnames[] = { "self", NULL }; | |
755 | ||
756 | self = self; | |
757 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetUndoCollection",_kwnames,&_argo0)) | |
758 | return NULL; | |
759 | if (_argo0) { | |
760 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
761 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
762 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetUndoCollection. Expected _wxStyledTextCtrl_p."); | |
763 | return NULL; | |
764 | } | |
765 | } | |
766 | { | |
0e2ff151 | 767 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 768 | _result = (bool )wxStyledTextCtrl_GetUndoCollection(_arg0); |
8a2fa5c8 | 769 | |
0e2ff151 RD |
770 | wxPyEndAllowThreads(__tstate); |
771 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
772 | } _resultobj = Py_BuildValue("i",_result); |
773 | return _resultobj; | |
774 | } | |
775 | ||
776 | #define wxStyledTextCtrl_GetViewWhiteSpace(_swigobj) (_swigobj->GetViewWhiteSpace()) | |
777 | static PyObject *_wrap_wxStyledTextCtrl_GetViewWhiteSpace(PyObject *self, PyObject *args, PyObject *kwargs) { | |
778 | PyObject * _resultobj; | |
779 | int _result; | |
780 | wxStyledTextCtrl * _arg0; | |
781 | PyObject * _argo0 = 0; | |
782 | char *_kwnames[] = { "self", NULL }; | |
783 | ||
784 | self = self; | |
785 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetViewWhiteSpace",_kwnames,&_argo0)) | |
786 | return NULL; | |
787 | if (_argo0) { | |
788 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
789 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
790 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetViewWhiteSpace. Expected _wxStyledTextCtrl_p."); | |
791 | return NULL; | |
792 | } | |
793 | } | |
794 | { | |
0e2ff151 | 795 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 796 | _result = (int )wxStyledTextCtrl_GetViewWhiteSpace(_arg0); |
8a2fa5c8 | 797 | |
0e2ff151 RD |
798 | wxPyEndAllowThreads(__tstate); |
799 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
800 | } _resultobj = Py_BuildValue("i",_result); |
801 | return _resultobj; | |
802 | } | |
803 | ||
804 | #define wxStyledTextCtrl_SetViewWhiteSpace(_swigobj,_swigarg0) (_swigobj->SetViewWhiteSpace(_swigarg0)) | |
805 | static PyObject *_wrap_wxStyledTextCtrl_SetViewWhiteSpace(PyObject *self, PyObject *args, PyObject *kwargs) { | |
806 | PyObject * _resultobj; | |
807 | wxStyledTextCtrl * _arg0; | |
808 | int _arg1; | |
809 | PyObject * _argo0 = 0; | |
810 | char *_kwnames[] = { "self","viewWS", NULL }; | |
811 | ||
812 | self = self; | |
813 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_SetViewWhiteSpace",_kwnames,&_argo0,&_arg1)) | |
814 | return NULL; | |
815 | if (_argo0) { | |
816 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
817 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
818 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetViewWhiteSpace. Expected _wxStyledTextCtrl_p."); | |
819 | return NULL; | |
820 | } | |
821 | } | |
822 | { | |
0e2ff151 | 823 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 824 | wxStyledTextCtrl_SetViewWhiteSpace(_arg0,_arg1); |
8a2fa5c8 | 825 | |
0e2ff151 RD |
826 | wxPyEndAllowThreads(__tstate); |
827 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
828 | } Py_INCREF(Py_None); |
829 | _resultobj = Py_None; | |
830 | return _resultobj; | |
831 | } | |
832 | ||
833 | #define wxStyledTextCtrl_PositionFromPoint(_swigobj,_swigarg0) (_swigobj->PositionFromPoint(_swigarg0)) | |
834 | static PyObject *_wrap_wxStyledTextCtrl_PositionFromPoint(PyObject *self, PyObject *args, PyObject *kwargs) { | |
835 | PyObject * _resultobj; | |
836 | int _result; | |
837 | wxStyledTextCtrl * _arg0; | |
838 | wxPoint * _arg1; | |
839 | PyObject * _argo0 = 0; | |
840 | wxPoint temp; | |
841 | PyObject * _obj1 = 0; | |
842 | char *_kwnames[] = { "self","pt", NULL }; | |
843 | ||
844 | self = self; | |
845 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxStyledTextCtrl_PositionFromPoint",_kwnames,&_argo0,&_obj1)) | |
846 | return NULL; | |
847 | if (_argo0) { | |
848 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
849 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
850 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_PositionFromPoint. Expected _wxStyledTextCtrl_p."); | |
851 | return NULL; | |
852 | } | |
853 | } | |
854 | { | |
855 | _arg1 = &temp; | |
856 | if (! wxPoint_helper(_obj1, &_arg1)) | |
857 | return NULL; | |
858 | } | |
859 | { | |
0e2ff151 | 860 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 861 | _result = (int )wxStyledTextCtrl_PositionFromPoint(_arg0,*_arg1); |
8a2fa5c8 | 862 | |
0e2ff151 RD |
863 | wxPyEndAllowThreads(__tstate); |
864 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
865 | } _resultobj = Py_BuildValue("i",_result); |
866 | return _resultobj; | |
867 | } | |
868 | ||
869 | #define wxStyledTextCtrl_PositionFromPointClose(_swigobj,_swigarg0,_swigarg1) (_swigobj->PositionFromPointClose(_swigarg0,_swigarg1)) | |
870 | static PyObject *_wrap_wxStyledTextCtrl_PositionFromPointClose(PyObject *self, PyObject *args, PyObject *kwargs) { | |
871 | PyObject * _resultobj; | |
872 | int _result; | |
873 | wxStyledTextCtrl * _arg0; | |
874 | int _arg1; | |
875 | int _arg2; | |
876 | PyObject * _argo0 = 0; | |
877 | char *_kwnames[] = { "self","x","y", NULL }; | |
878 | ||
879 | self = self; | |
880 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxStyledTextCtrl_PositionFromPointClose",_kwnames,&_argo0,&_arg1,&_arg2)) | |
881 | return NULL; | |
882 | if (_argo0) { | |
883 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
884 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
885 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_PositionFromPointClose. Expected _wxStyledTextCtrl_p."); | |
886 | return NULL; | |
887 | } | |
888 | } | |
889 | { | |
0e2ff151 | 890 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 891 | _result = (int )wxStyledTextCtrl_PositionFromPointClose(_arg0,_arg1,_arg2); |
8a2fa5c8 | 892 | |
0e2ff151 RD |
893 | wxPyEndAllowThreads(__tstate); |
894 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
895 | } _resultobj = Py_BuildValue("i",_result); |
896 | return _resultobj; | |
897 | } | |
898 | ||
899 | #define wxStyledTextCtrl_GotoLine(_swigobj,_swigarg0) (_swigobj->GotoLine(_swigarg0)) | |
900 | static PyObject *_wrap_wxStyledTextCtrl_GotoLine(PyObject *self, PyObject *args, PyObject *kwargs) { | |
901 | PyObject * _resultobj; | |
902 | wxStyledTextCtrl * _arg0; | |
903 | int _arg1; | |
904 | PyObject * _argo0 = 0; | |
905 | char *_kwnames[] = { "self","line", NULL }; | |
906 | ||
907 | self = self; | |
908 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_GotoLine",_kwnames,&_argo0,&_arg1)) | |
909 | return NULL; | |
910 | if (_argo0) { | |
911 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
912 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
913 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GotoLine. Expected _wxStyledTextCtrl_p."); | |
914 | return NULL; | |
915 | } | |
916 | } | |
917 | { | |
0e2ff151 | 918 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 919 | wxStyledTextCtrl_GotoLine(_arg0,_arg1); |
8a2fa5c8 | 920 | |
0e2ff151 RD |
921 | wxPyEndAllowThreads(__tstate); |
922 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
923 | } Py_INCREF(Py_None); |
924 | _resultobj = Py_None; | |
925 | return _resultobj; | |
926 | } | |
927 | ||
928 | #define wxStyledTextCtrl_GotoPos(_swigobj,_swigarg0) (_swigobj->GotoPos(_swigarg0)) | |
929 | static PyObject *_wrap_wxStyledTextCtrl_GotoPos(PyObject *self, PyObject *args, PyObject *kwargs) { | |
930 | PyObject * _resultobj; | |
931 | wxStyledTextCtrl * _arg0; | |
932 | int _arg1; | |
933 | PyObject * _argo0 = 0; | |
934 | char *_kwnames[] = { "self","pos", NULL }; | |
935 | ||
936 | self = self; | |
937 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_GotoPos",_kwnames,&_argo0,&_arg1)) | |
938 | return NULL; | |
939 | if (_argo0) { | |
940 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
941 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
942 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GotoPos. Expected _wxStyledTextCtrl_p."); | |
943 | return NULL; | |
944 | } | |
945 | } | |
946 | { | |
0e2ff151 | 947 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 948 | wxStyledTextCtrl_GotoPos(_arg0,_arg1); |
8a2fa5c8 | 949 | |
0e2ff151 RD |
950 | wxPyEndAllowThreads(__tstate); |
951 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
952 | } Py_INCREF(Py_None); |
953 | _resultobj = Py_None; | |
954 | return _resultobj; | |
955 | } | |
956 | ||
957 | #define wxStyledTextCtrl_SetAnchor(_swigobj,_swigarg0) (_swigobj->SetAnchor(_swigarg0)) | |
958 | static PyObject *_wrap_wxStyledTextCtrl_SetAnchor(PyObject *self, PyObject *args, PyObject *kwargs) { | |
959 | PyObject * _resultobj; | |
960 | wxStyledTextCtrl * _arg0; | |
961 | int _arg1; | |
962 | PyObject * _argo0 = 0; | |
963 | char *_kwnames[] = { "self","posAnchor", NULL }; | |
964 | ||
965 | self = self; | |
966 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_SetAnchor",_kwnames,&_argo0,&_arg1)) | |
967 | return NULL; | |
968 | if (_argo0) { | |
969 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
970 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
971 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetAnchor. Expected _wxStyledTextCtrl_p."); | |
972 | return NULL; | |
973 | } | |
974 | } | |
975 | { | |
0e2ff151 | 976 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 977 | wxStyledTextCtrl_SetAnchor(_arg0,_arg1); |
8a2fa5c8 | 978 | |
0e2ff151 RD |
979 | wxPyEndAllowThreads(__tstate); |
980 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
981 | } Py_INCREF(Py_None); |
982 | _resultobj = Py_None; | |
983 | return _resultobj; | |
984 | } | |
985 | ||
986 | #define wxStyledTextCtrl_GetCurLine(_swigobj,_swigarg0) (_swigobj->GetCurLine(_swigarg0)) | |
987 | static PyObject *_wrap_wxStyledTextCtrl_GetCurLine(PyObject *self, PyObject *args, PyObject *kwargs) { | |
988 | PyObject * _resultobj; | |
989 | wxString * _result; | |
990 | wxStyledTextCtrl * _arg0; | |
991 | int * _arg1; | |
992 | int temp; | |
993 | PyObject * _argo0 = 0; | |
994 | char *_kwnames[] = { "self", NULL }; | |
995 | ||
996 | self = self; | |
997 | { | |
998 | _arg1 = &temp; | |
999 | } | |
1000 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetCurLine",_kwnames,&_argo0)) | |
1001 | return NULL; | |
1002 | if (_argo0) { | |
1003 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1004 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
1005 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetCurLine. Expected _wxStyledTextCtrl_p."); | |
1006 | return NULL; | |
1007 | } | |
1008 | } | |
1009 | { | |
0e2ff151 | 1010 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 1011 | _result = new wxString (wxStyledTextCtrl_GetCurLine(_arg0,_arg1)); |
8a2fa5c8 | 1012 | |
0e2ff151 RD |
1013 | wxPyEndAllowThreads(__tstate); |
1014 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 | 1015 | }{ |
6824d4f9 | 1016 | #if wxUSE_UNICODE |
7108497a | 1017 | _resultobj = PyUnicode_FromWideChar(_result->c_str(), _result->Len()); |
6824d4f9 | 1018 | #else |
8a2fa5c8 | 1019 | _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len()); |
6824d4f9 | 1020 | #endif |
8a2fa5c8 RD |
1021 | } |
1022 | { | |
1023 | PyObject *o; | |
1024 | o = PyInt_FromLong((long) (*_arg1)); | |
1025 | _resultobj = t_output_helper(_resultobj, o); | |
1026 | } | |
1027 | { | |
1028 | delete _result; | |
1029 | } | |
1030 | return _resultobj; | |
1031 | } | |
1032 | ||
1033 | #define wxStyledTextCtrl_GetEndStyled(_swigobj) (_swigobj->GetEndStyled()) | |
1034 | static PyObject *_wrap_wxStyledTextCtrl_GetEndStyled(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1035 | PyObject * _resultobj; | |
1036 | int _result; | |
1037 | wxStyledTextCtrl * _arg0; | |
1038 | PyObject * _argo0 = 0; | |
1039 | char *_kwnames[] = { "self", NULL }; | |
1040 | ||
1041 | self = self; | |
1042 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetEndStyled",_kwnames,&_argo0)) | |
1043 | return NULL; | |
1044 | if (_argo0) { | |
1045 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1046 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
1047 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetEndStyled. Expected _wxStyledTextCtrl_p."); | |
1048 | return NULL; | |
1049 | } | |
1050 | } | |
1051 | { | |
0e2ff151 | 1052 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 1053 | _result = (int )wxStyledTextCtrl_GetEndStyled(_arg0); |
8a2fa5c8 | 1054 | |
0e2ff151 RD |
1055 | wxPyEndAllowThreads(__tstate); |
1056 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
1057 | } _resultobj = Py_BuildValue("i",_result); |
1058 | return _resultobj; | |
1059 | } | |
1060 | ||
1061 | #define wxStyledTextCtrl_ConvertEOLs(_swigobj,_swigarg0) (_swigobj->ConvertEOLs(_swigarg0)) | |
1062 | static PyObject *_wrap_wxStyledTextCtrl_ConvertEOLs(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1063 | PyObject * _resultobj; | |
1064 | wxStyledTextCtrl * _arg0; | |
1065 | int _arg1; | |
1066 | PyObject * _argo0 = 0; | |
1067 | char *_kwnames[] = { "self","eolMode", NULL }; | |
1068 | ||
1069 | self = self; | |
1070 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_ConvertEOLs",_kwnames,&_argo0,&_arg1)) | |
1071 | return NULL; | |
1072 | if (_argo0) { | |
1073 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1074 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
1075 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_ConvertEOLs. Expected _wxStyledTextCtrl_p."); | |
1076 | return NULL; | |
1077 | } | |
1078 | } | |
1079 | { | |
0e2ff151 | 1080 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 1081 | wxStyledTextCtrl_ConvertEOLs(_arg0,_arg1); |
8a2fa5c8 | 1082 | |
0e2ff151 RD |
1083 | wxPyEndAllowThreads(__tstate); |
1084 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
1085 | } Py_INCREF(Py_None); |
1086 | _resultobj = Py_None; | |
1087 | return _resultobj; | |
1088 | } | |
1089 | ||
1090 | #define wxStyledTextCtrl_GetEOLMode(_swigobj) (_swigobj->GetEOLMode()) | |
1091 | static PyObject *_wrap_wxStyledTextCtrl_GetEOLMode(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1092 | PyObject * _resultobj; | |
1093 | int _result; | |
1094 | wxStyledTextCtrl * _arg0; | |
1095 | PyObject * _argo0 = 0; | |
1096 | char *_kwnames[] = { "self", NULL }; | |
1097 | ||
1098 | self = self; | |
1099 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetEOLMode",_kwnames,&_argo0)) | |
1100 | return NULL; | |
1101 | if (_argo0) { | |
1102 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1103 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
1104 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetEOLMode. Expected _wxStyledTextCtrl_p."); | |
1105 | return NULL; | |
1106 | } | |
1107 | } | |
1108 | { | |
0e2ff151 | 1109 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 1110 | _result = (int )wxStyledTextCtrl_GetEOLMode(_arg0); |
8a2fa5c8 | 1111 | |
0e2ff151 RD |
1112 | wxPyEndAllowThreads(__tstate); |
1113 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
1114 | } _resultobj = Py_BuildValue("i",_result); |
1115 | return _resultobj; | |
1116 | } | |
1117 | ||
1118 | #define wxStyledTextCtrl_SetEOLMode(_swigobj,_swigarg0) (_swigobj->SetEOLMode(_swigarg0)) | |
1119 | static PyObject *_wrap_wxStyledTextCtrl_SetEOLMode(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1120 | PyObject * _resultobj; | |
1121 | wxStyledTextCtrl * _arg0; | |
1122 | int _arg1; | |
1123 | PyObject * _argo0 = 0; | |
1124 | char *_kwnames[] = { "self","eolMode", NULL }; | |
1125 | ||
1126 | self = self; | |
1127 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_SetEOLMode",_kwnames,&_argo0,&_arg1)) | |
1128 | return NULL; | |
1129 | if (_argo0) { | |
1130 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1131 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
1132 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetEOLMode. Expected _wxStyledTextCtrl_p."); | |
1133 | return NULL; | |
1134 | } | |
1135 | } | |
1136 | { | |
0e2ff151 | 1137 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 1138 | wxStyledTextCtrl_SetEOLMode(_arg0,_arg1); |
8a2fa5c8 | 1139 | |
0e2ff151 RD |
1140 | wxPyEndAllowThreads(__tstate); |
1141 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
1142 | } Py_INCREF(Py_None); |
1143 | _resultobj = Py_None; | |
1144 | return _resultobj; | |
1145 | } | |
1146 | ||
1147 | #define wxStyledTextCtrl_StartStyling(_swigobj,_swigarg0,_swigarg1) (_swigobj->StartStyling(_swigarg0,_swigarg1)) | |
1148 | static PyObject *_wrap_wxStyledTextCtrl_StartStyling(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1149 | PyObject * _resultobj; | |
1150 | wxStyledTextCtrl * _arg0; | |
1151 | int _arg1; | |
1152 | int _arg2; | |
1153 | PyObject * _argo0 = 0; | |
1154 | char *_kwnames[] = { "self","pos","mask", NULL }; | |
1155 | ||
1156 | self = self; | |
1157 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxStyledTextCtrl_StartStyling",_kwnames,&_argo0,&_arg1,&_arg2)) | |
1158 | return NULL; | |
1159 | if (_argo0) { | |
1160 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1161 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
1162 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_StartStyling. Expected _wxStyledTextCtrl_p."); | |
1163 | return NULL; | |
1164 | } | |
1165 | } | |
1166 | { | |
0e2ff151 | 1167 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 1168 | wxStyledTextCtrl_StartStyling(_arg0,_arg1,_arg2); |
8a2fa5c8 | 1169 | |
0e2ff151 RD |
1170 | wxPyEndAllowThreads(__tstate); |
1171 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
1172 | } Py_INCREF(Py_None); |
1173 | _resultobj = Py_None; | |
1174 | return _resultobj; | |
1175 | } | |
1176 | ||
1177 | #define wxStyledTextCtrl_SetStyling(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetStyling(_swigarg0,_swigarg1)) | |
1178 | static PyObject *_wrap_wxStyledTextCtrl_SetStyling(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1179 | PyObject * _resultobj; | |
1180 | wxStyledTextCtrl * _arg0; | |
1181 | int _arg1; | |
1182 | int _arg2; | |
1183 | PyObject * _argo0 = 0; | |
1184 | char *_kwnames[] = { "self","length","style", NULL }; | |
1185 | ||
1186 | self = self; | |
1187 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxStyledTextCtrl_SetStyling",_kwnames,&_argo0,&_arg1,&_arg2)) | |
1188 | return NULL; | |
1189 | if (_argo0) { | |
1190 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1191 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
1192 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetStyling. Expected _wxStyledTextCtrl_p."); | |
1193 | return NULL; | |
1194 | } | |
1195 | } | |
1196 | { | |
0e2ff151 | 1197 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 1198 | wxStyledTextCtrl_SetStyling(_arg0,_arg1,_arg2); |
8a2fa5c8 | 1199 | |
0e2ff151 RD |
1200 | wxPyEndAllowThreads(__tstate); |
1201 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
1202 | } Py_INCREF(Py_None); |
1203 | _resultobj = Py_None; | |
1204 | return _resultobj; | |
1205 | } | |
1206 | ||
1207 | #define wxStyledTextCtrl_GetBufferedDraw(_swigobj) (_swigobj->GetBufferedDraw()) | |
1208 | static PyObject *_wrap_wxStyledTextCtrl_GetBufferedDraw(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1209 | PyObject * _resultobj; | |
1210 | bool _result; | |
1211 | wxStyledTextCtrl * _arg0; | |
1212 | PyObject * _argo0 = 0; | |
1213 | char *_kwnames[] = { "self", NULL }; | |
1214 | ||
1215 | self = self; | |
1216 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetBufferedDraw",_kwnames,&_argo0)) | |
1217 | return NULL; | |
1218 | if (_argo0) { | |
1219 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1220 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
1221 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetBufferedDraw. Expected _wxStyledTextCtrl_p."); | |
1222 | return NULL; | |
1223 | } | |
1224 | } | |
1225 | { | |
0e2ff151 | 1226 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 1227 | _result = (bool )wxStyledTextCtrl_GetBufferedDraw(_arg0); |
8a2fa5c8 | 1228 | |
0e2ff151 RD |
1229 | wxPyEndAllowThreads(__tstate); |
1230 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
1231 | } _resultobj = Py_BuildValue("i",_result); |
1232 | return _resultobj; | |
1233 | } | |
1234 | ||
1235 | #define wxStyledTextCtrl_SetBufferedDraw(_swigobj,_swigarg0) (_swigobj->SetBufferedDraw(_swigarg0)) | |
1236 | static PyObject *_wrap_wxStyledTextCtrl_SetBufferedDraw(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1237 | PyObject * _resultobj; | |
1238 | wxStyledTextCtrl * _arg0; | |
1239 | bool _arg1; | |
1240 | PyObject * _argo0 = 0; | |
1241 | int tempbool1; | |
1242 | char *_kwnames[] = { "self","buffered", NULL }; | |
1243 | ||
1244 | self = self; | |
1245 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_SetBufferedDraw",_kwnames,&_argo0,&tempbool1)) | |
1246 | return NULL; | |
1247 | if (_argo0) { | |
1248 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1249 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
1250 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetBufferedDraw. Expected _wxStyledTextCtrl_p."); | |
1251 | return NULL; | |
1252 | } | |
1253 | } | |
1254 | _arg1 = (bool ) tempbool1; | |
1255 | { | |
0e2ff151 | 1256 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 1257 | wxStyledTextCtrl_SetBufferedDraw(_arg0,_arg1); |
8a2fa5c8 | 1258 | |
0e2ff151 RD |
1259 | wxPyEndAllowThreads(__tstate); |
1260 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
1261 | } Py_INCREF(Py_None); |
1262 | _resultobj = Py_None; | |
1263 | return _resultobj; | |
1264 | } | |
1265 | ||
1266 | #define wxStyledTextCtrl_SetTabWidth(_swigobj,_swigarg0) (_swigobj->SetTabWidth(_swigarg0)) | |
1267 | static PyObject *_wrap_wxStyledTextCtrl_SetTabWidth(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1268 | PyObject * _resultobj; | |
1269 | wxStyledTextCtrl * _arg0; | |
1270 | int _arg1; | |
1271 | PyObject * _argo0 = 0; | |
1272 | char *_kwnames[] = { "self","tabWidth", NULL }; | |
1273 | ||
1274 | self = self; | |
1275 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_SetTabWidth",_kwnames,&_argo0,&_arg1)) | |
1276 | return NULL; | |
1277 | if (_argo0) { | |
1278 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1279 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
1280 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetTabWidth. Expected _wxStyledTextCtrl_p."); | |
1281 | return NULL; | |
1282 | } | |
1283 | } | |
1284 | { | |
0e2ff151 | 1285 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 1286 | wxStyledTextCtrl_SetTabWidth(_arg0,_arg1); |
8a2fa5c8 | 1287 | |
0e2ff151 RD |
1288 | wxPyEndAllowThreads(__tstate); |
1289 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
1290 | } Py_INCREF(Py_None); |
1291 | _resultobj = Py_None; | |
1292 | return _resultobj; | |
1293 | } | |
1294 | ||
1295 | #define wxStyledTextCtrl_GetTabWidth(_swigobj) (_swigobj->GetTabWidth()) | |
1296 | static PyObject *_wrap_wxStyledTextCtrl_GetTabWidth(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1297 | PyObject * _resultobj; | |
1298 | int _result; | |
1299 | wxStyledTextCtrl * _arg0; | |
1300 | PyObject * _argo0 = 0; | |
1301 | char *_kwnames[] = { "self", NULL }; | |
1302 | ||
1303 | self = self; | |
1304 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetTabWidth",_kwnames,&_argo0)) | |
1305 | return NULL; | |
1306 | if (_argo0) { | |
1307 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1308 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
1309 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetTabWidth. Expected _wxStyledTextCtrl_p."); | |
1310 | return NULL; | |
1311 | } | |
1312 | } | |
1313 | { | |
0e2ff151 | 1314 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 1315 | _result = (int )wxStyledTextCtrl_GetTabWidth(_arg0); |
8a2fa5c8 | 1316 | |
0e2ff151 RD |
1317 | wxPyEndAllowThreads(__tstate); |
1318 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
1319 | } _resultobj = Py_BuildValue("i",_result); |
1320 | return _resultobj; | |
1321 | } | |
1322 | ||
1323 | #define wxStyledTextCtrl_SetCodePage(_swigobj,_swigarg0) (_swigobj->SetCodePage(_swigarg0)) | |
1324 | static PyObject *_wrap_wxStyledTextCtrl_SetCodePage(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1325 | PyObject * _resultobj; | |
1326 | wxStyledTextCtrl * _arg0; | |
1327 | int _arg1; | |
1328 | PyObject * _argo0 = 0; | |
1329 | char *_kwnames[] = { "self","codePage", NULL }; | |
1330 | ||
1331 | self = self; | |
1332 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_SetCodePage",_kwnames,&_argo0,&_arg1)) | |
1333 | return NULL; | |
1334 | if (_argo0) { | |
1335 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1336 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
1337 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetCodePage. Expected _wxStyledTextCtrl_p."); | |
1338 | return NULL; | |
1339 | } | |
1340 | } | |
1341 | { | |
0e2ff151 | 1342 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 1343 | wxStyledTextCtrl_SetCodePage(_arg0,_arg1); |
8a2fa5c8 | 1344 | |
0e2ff151 RD |
1345 | wxPyEndAllowThreads(__tstate); |
1346 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
1347 | } Py_INCREF(Py_None); |
1348 | _resultobj = Py_None; | |
1349 | return _resultobj; | |
1350 | } | |
1351 | ||
1352 | #define wxStyledTextCtrl_MarkerDefine(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->MarkerDefine(_swigarg0,_swigarg1,_swigarg2,_swigarg3)) | |
1353 | static PyObject *_wrap_wxStyledTextCtrl_MarkerDefine(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1354 | PyObject * _resultobj; | |
1355 | wxStyledTextCtrl * _arg0; | |
1356 | int _arg1; | |
1357 | int _arg2; | |
1358 | wxColour * _arg3 = (wxColour *) &wxNullColour; | |
1359 | wxColour * _arg4 = (wxColour *) &wxNullColour; | |
1360 | PyObject * _argo0 = 0; | |
1361 | wxColour temp; | |
1362 | PyObject * _obj3 = 0; | |
1363 | wxColour temp0; | |
1364 | PyObject * _obj4 = 0; | |
1365 | char *_kwnames[] = { "self","markerNumber","markerSymbol","foreground","background", NULL }; | |
1366 | ||
1367 | self = self; | |
1368 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii|OO:wxStyledTextCtrl_MarkerDefine",_kwnames,&_argo0,&_arg1,&_arg2,&_obj3,&_obj4)) | |
1369 | return NULL; | |
1370 | if (_argo0) { | |
1371 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1372 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
1373 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_MarkerDefine. Expected _wxStyledTextCtrl_p."); | |
1374 | return NULL; | |
1375 | } | |
1376 | } | |
1377 | if (_obj3) | |
1378 | { | |
1379 | _arg3 = &temp; | |
1380 | if (! wxColour_helper(_obj3, &_arg3)) | |
1381 | return NULL; | |
1382 | } | |
1383 | if (_obj4) | |
1384 | { | |
1385 | _arg4 = &temp0; | |
1386 | if (! wxColour_helper(_obj4, &_arg4)) | |
1387 | return NULL; | |
1388 | } | |
1389 | { | |
0e2ff151 | 1390 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 1391 | wxStyledTextCtrl_MarkerDefine(_arg0,_arg1,_arg2,*_arg3,*_arg4); |
8a2fa5c8 | 1392 | |
0e2ff151 RD |
1393 | wxPyEndAllowThreads(__tstate); |
1394 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
1395 | } Py_INCREF(Py_None); |
1396 | _resultobj = Py_None; | |
1397 | return _resultobj; | |
1398 | } | |
1399 | ||
1400 | #define wxStyledTextCtrl_MarkerSetForeground(_swigobj,_swigarg0,_swigarg1) (_swigobj->MarkerSetForeground(_swigarg0,_swigarg1)) | |
1401 | static PyObject *_wrap_wxStyledTextCtrl_MarkerSetForeground(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1402 | PyObject * _resultobj; | |
1403 | wxStyledTextCtrl * _arg0; | |
1404 | int _arg1; | |
1405 | wxColour * _arg2; | |
1406 | PyObject * _argo0 = 0; | |
1407 | wxColour temp; | |
1408 | PyObject * _obj2 = 0; | |
1409 | char *_kwnames[] = { "self","markerNumber","fore", NULL }; | |
1410 | ||
1411 | self = self; | |
1412 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxStyledTextCtrl_MarkerSetForeground",_kwnames,&_argo0,&_arg1,&_obj2)) | |
1413 | return NULL; | |
1414 | if (_argo0) { | |
1415 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1416 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
1417 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_MarkerSetForeground. Expected _wxStyledTextCtrl_p."); | |
1418 | return NULL; | |
1419 | } | |
1420 | } | |
1421 | { | |
1422 | _arg2 = &temp; | |
1423 | if (! wxColour_helper(_obj2, &_arg2)) | |
1424 | return NULL; | |
1425 | } | |
1426 | { | |
0e2ff151 | 1427 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 1428 | wxStyledTextCtrl_MarkerSetForeground(_arg0,_arg1,*_arg2); |
8a2fa5c8 | 1429 | |
0e2ff151 RD |
1430 | wxPyEndAllowThreads(__tstate); |
1431 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
1432 | } Py_INCREF(Py_None); |
1433 | _resultobj = Py_None; | |
1434 | return _resultobj; | |
1435 | } | |
1436 | ||
1437 | #define wxStyledTextCtrl_MarkerSetBackground(_swigobj,_swigarg0,_swigarg1) (_swigobj->MarkerSetBackground(_swigarg0,_swigarg1)) | |
1438 | static PyObject *_wrap_wxStyledTextCtrl_MarkerSetBackground(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1439 | PyObject * _resultobj; | |
1440 | wxStyledTextCtrl * _arg0; | |
1441 | int _arg1; | |
1442 | wxColour * _arg2; | |
1443 | PyObject * _argo0 = 0; | |
1444 | wxColour temp; | |
1445 | PyObject * _obj2 = 0; | |
1446 | char *_kwnames[] = { "self","markerNumber","back", NULL }; | |
1447 | ||
1448 | self = self; | |
1449 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxStyledTextCtrl_MarkerSetBackground",_kwnames,&_argo0,&_arg1,&_obj2)) | |
1450 | return NULL; | |
1451 | if (_argo0) { | |
1452 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1453 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
1454 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_MarkerSetBackground. Expected _wxStyledTextCtrl_p."); | |
1455 | return NULL; | |
1456 | } | |
1457 | } | |
1458 | { | |
1459 | _arg2 = &temp; | |
1460 | if (! wxColour_helper(_obj2, &_arg2)) | |
1461 | return NULL; | |
1462 | } | |
1463 | { | |
0e2ff151 | 1464 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 1465 | wxStyledTextCtrl_MarkerSetBackground(_arg0,_arg1,*_arg2); |
8a2fa5c8 | 1466 | |
0e2ff151 RD |
1467 | wxPyEndAllowThreads(__tstate); |
1468 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
1469 | } Py_INCREF(Py_None); |
1470 | _resultobj = Py_None; | |
1471 | return _resultobj; | |
1472 | } | |
1473 | ||
1474 | #define wxStyledTextCtrl_MarkerAdd(_swigobj,_swigarg0,_swigarg1) (_swigobj->MarkerAdd(_swigarg0,_swigarg1)) | |
1475 | static PyObject *_wrap_wxStyledTextCtrl_MarkerAdd(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1476 | PyObject * _resultobj; | |
c3bfa1cb | 1477 | int _result; |
8a2fa5c8 RD |
1478 | wxStyledTextCtrl * _arg0; |
1479 | int _arg1; | |
1480 | int _arg2; | |
1481 | PyObject * _argo0 = 0; | |
1482 | char *_kwnames[] = { "self","line","markerNumber", NULL }; | |
1483 | ||
1484 | self = self; | |
1485 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxStyledTextCtrl_MarkerAdd",_kwnames,&_argo0,&_arg1,&_arg2)) | |
1486 | return NULL; | |
1487 | if (_argo0) { | |
1488 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1489 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
1490 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_MarkerAdd. Expected _wxStyledTextCtrl_p."); | |
1491 | return NULL; | |
1492 | } | |
1493 | } | |
1494 | { | |
0e2ff151 | 1495 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c3bfa1cb | 1496 | _result = (int )wxStyledTextCtrl_MarkerAdd(_arg0,_arg1,_arg2); |
8a2fa5c8 | 1497 | |
0e2ff151 RD |
1498 | wxPyEndAllowThreads(__tstate); |
1499 | if (PyErr_Occurred()) return NULL; | |
c3bfa1cb | 1500 | } _resultobj = Py_BuildValue("i",_result); |
8a2fa5c8 RD |
1501 | return _resultobj; |
1502 | } | |
1503 | ||
1504 | #define wxStyledTextCtrl_MarkerDelete(_swigobj,_swigarg0,_swigarg1) (_swigobj->MarkerDelete(_swigarg0,_swigarg1)) | |
1505 | static PyObject *_wrap_wxStyledTextCtrl_MarkerDelete(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1506 | PyObject * _resultobj; | |
1507 | wxStyledTextCtrl * _arg0; | |
1508 | int _arg1; | |
1509 | int _arg2; | |
1510 | PyObject * _argo0 = 0; | |
1511 | char *_kwnames[] = { "self","line","markerNumber", NULL }; | |
1512 | ||
1513 | self = self; | |
1514 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxStyledTextCtrl_MarkerDelete",_kwnames,&_argo0,&_arg1,&_arg2)) | |
1515 | return NULL; | |
1516 | if (_argo0) { | |
1517 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1518 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
1519 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_MarkerDelete. Expected _wxStyledTextCtrl_p."); | |
1520 | return NULL; | |
1521 | } | |
1522 | } | |
1523 | { | |
0e2ff151 | 1524 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 1525 | wxStyledTextCtrl_MarkerDelete(_arg0,_arg1,_arg2); |
8a2fa5c8 | 1526 | |
0e2ff151 RD |
1527 | wxPyEndAllowThreads(__tstate); |
1528 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
1529 | } Py_INCREF(Py_None); |
1530 | _resultobj = Py_None; | |
1531 | return _resultobj; | |
1532 | } | |
1533 | ||
1534 | #define wxStyledTextCtrl_MarkerDeleteAll(_swigobj,_swigarg0) (_swigobj->MarkerDeleteAll(_swigarg0)) | |
1535 | static PyObject *_wrap_wxStyledTextCtrl_MarkerDeleteAll(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1536 | PyObject * _resultobj; | |
1537 | wxStyledTextCtrl * _arg0; | |
1538 | int _arg1; | |
1539 | PyObject * _argo0 = 0; | |
1540 | char *_kwnames[] = { "self","markerNumber", NULL }; | |
1541 | ||
1542 | self = self; | |
1543 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_MarkerDeleteAll",_kwnames,&_argo0,&_arg1)) | |
1544 | return NULL; | |
1545 | if (_argo0) { | |
1546 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1547 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
1548 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_MarkerDeleteAll. Expected _wxStyledTextCtrl_p."); | |
1549 | return NULL; | |
1550 | } | |
1551 | } | |
1552 | { | |
0e2ff151 | 1553 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 1554 | wxStyledTextCtrl_MarkerDeleteAll(_arg0,_arg1); |
8a2fa5c8 | 1555 | |
0e2ff151 RD |
1556 | wxPyEndAllowThreads(__tstate); |
1557 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
1558 | } Py_INCREF(Py_None); |
1559 | _resultobj = Py_None; | |
1560 | return _resultobj; | |
1561 | } | |
1562 | ||
1563 | #define wxStyledTextCtrl_MarkerGet(_swigobj,_swigarg0) (_swigobj->MarkerGet(_swigarg0)) | |
1564 | static PyObject *_wrap_wxStyledTextCtrl_MarkerGet(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1565 | PyObject * _resultobj; | |
1566 | int _result; | |
1567 | wxStyledTextCtrl * _arg0; | |
1568 | int _arg1; | |
1569 | PyObject * _argo0 = 0; | |
1570 | char *_kwnames[] = { "self","line", NULL }; | |
1571 | ||
1572 | self = self; | |
1573 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_MarkerGet",_kwnames,&_argo0,&_arg1)) | |
1574 | return NULL; | |
1575 | if (_argo0) { | |
1576 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1577 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
1578 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_MarkerGet. Expected _wxStyledTextCtrl_p."); | |
1579 | return NULL; | |
1580 | } | |
1581 | } | |
1582 | { | |
0e2ff151 | 1583 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 1584 | _result = (int )wxStyledTextCtrl_MarkerGet(_arg0,_arg1); |
8a2fa5c8 | 1585 | |
0e2ff151 RD |
1586 | wxPyEndAllowThreads(__tstate); |
1587 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
1588 | } _resultobj = Py_BuildValue("i",_result); |
1589 | return _resultobj; | |
1590 | } | |
1591 | ||
1592 | #define wxStyledTextCtrl_MarkerNext(_swigobj,_swigarg0,_swigarg1) (_swigobj->MarkerNext(_swigarg0,_swigarg1)) | |
1593 | static PyObject *_wrap_wxStyledTextCtrl_MarkerNext(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1594 | PyObject * _resultobj; | |
1595 | int _result; | |
1596 | wxStyledTextCtrl * _arg0; | |
1597 | int _arg1; | |
1598 | int _arg2; | |
1599 | PyObject * _argo0 = 0; | |
1600 | char *_kwnames[] = { "self","lineStart","markerMask", NULL }; | |
1601 | ||
1602 | self = self; | |
1603 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxStyledTextCtrl_MarkerNext",_kwnames,&_argo0,&_arg1,&_arg2)) | |
1604 | return NULL; | |
1605 | if (_argo0) { | |
1606 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1607 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
1608 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_MarkerNext. Expected _wxStyledTextCtrl_p."); | |
1609 | return NULL; | |
1610 | } | |
1611 | } | |
1612 | { | |
0e2ff151 | 1613 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 1614 | _result = (int )wxStyledTextCtrl_MarkerNext(_arg0,_arg1,_arg2); |
8a2fa5c8 | 1615 | |
0e2ff151 RD |
1616 | wxPyEndAllowThreads(__tstate); |
1617 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
1618 | } _resultobj = Py_BuildValue("i",_result); |
1619 | return _resultobj; | |
1620 | } | |
1621 | ||
1622 | #define wxStyledTextCtrl_MarkerPrevious(_swigobj,_swigarg0,_swigarg1) (_swigobj->MarkerPrevious(_swigarg0,_swigarg1)) | |
1623 | static PyObject *_wrap_wxStyledTextCtrl_MarkerPrevious(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1624 | PyObject * _resultobj; | |
1625 | int _result; | |
1626 | wxStyledTextCtrl * _arg0; | |
1627 | int _arg1; | |
1628 | int _arg2; | |
1629 | PyObject * _argo0 = 0; | |
1630 | char *_kwnames[] = { "self","lineStart","markerMask", NULL }; | |
1631 | ||
1632 | self = self; | |
1633 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxStyledTextCtrl_MarkerPrevious",_kwnames,&_argo0,&_arg1,&_arg2)) | |
1634 | return NULL; | |
1635 | if (_argo0) { | |
1636 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1637 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
1638 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_MarkerPrevious. Expected _wxStyledTextCtrl_p."); | |
1639 | return NULL; | |
1640 | } | |
1641 | } | |
1642 | { | |
0e2ff151 | 1643 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 1644 | _result = (int )wxStyledTextCtrl_MarkerPrevious(_arg0,_arg1,_arg2); |
8a2fa5c8 | 1645 | |
0e2ff151 RD |
1646 | wxPyEndAllowThreads(__tstate); |
1647 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
1648 | } _resultobj = Py_BuildValue("i",_result); |
1649 | return _resultobj; | |
1650 | } | |
1651 | ||
1fded56b RD |
1652 | #define wxStyledTextCtrl_MarkerDefineBitmap(_swigobj,_swigarg0,_swigarg1) (_swigobj->MarkerDefineBitmap(_swigarg0,_swigarg1)) |
1653 | static PyObject *_wrap_wxStyledTextCtrl_MarkerDefineBitmap(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1654 | PyObject * _resultobj; | |
1655 | wxStyledTextCtrl * _arg0; | |
1656 | int _arg1; | |
1657 | wxBitmap * _arg2; | |
1658 | PyObject * _argo0 = 0; | |
1659 | PyObject * _argo2 = 0; | |
1660 | char *_kwnames[] = { "self","markerNumber","bmp", NULL }; | |
1661 | ||
1662 | self = self; | |
1663 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxStyledTextCtrl_MarkerDefineBitmap",_kwnames,&_argo0,&_arg1,&_argo2)) | |
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_MarkerDefineBitmap. Expected _wxStyledTextCtrl_p."); | |
1669 | return NULL; | |
1670 | } | |
1671 | } | |
1672 | if (_argo2) { | |
1673 | if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxBitmap_p")) { | |
1674 | PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxStyledTextCtrl_MarkerDefineBitmap. Expected _wxBitmap_p."); | |
1675 | return NULL; | |
1676 | } | |
1677 | } | |
1678 | { | |
1679 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1680 | wxStyledTextCtrl_MarkerDefineBitmap(_arg0,_arg1,*_arg2); | |
1681 | ||
1682 | wxPyEndAllowThreads(__tstate); | |
1683 | if (PyErr_Occurred()) return NULL; | |
1684 | } Py_INCREF(Py_None); | |
1685 | _resultobj = Py_None; | |
1686 | return _resultobj; | |
1687 | } | |
1688 | ||
8a2fa5c8 RD |
1689 | #define wxStyledTextCtrl_SetMarginType(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetMarginType(_swigarg0,_swigarg1)) |
1690 | static PyObject *_wrap_wxStyledTextCtrl_SetMarginType(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1691 | PyObject * _resultobj; | |
1692 | wxStyledTextCtrl * _arg0; | |
1693 | int _arg1; | |
1694 | int _arg2; | |
1695 | PyObject * _argo0 = 0; | |
1696 | char *_kwnames[] = { "self","margin","marginType", NULL }; | |
1697 | ||
1698 | self = self; | |
1699 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxStyledTextCtrl_SetMarginType",_kwnames,&_argo0,&_arg1,&_arg2)) | |
1700 | return NULL; | |
1701 | if (_argo0) { | |
1702 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1703 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
1704 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetMarginType. Expected _wxStyledTextCtrl_p."); | |
1705 | return NULL; | |
1706 | } | |
1707 | } | |
1708 | { | |
0e2ff151 | 1709 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 1710 | wxStyledTextCtrl_SetMarginType(_arg0,_arg1,_arg2); |
8a2fa5c8 | 1711 | |
0e2ff151 RD |
1712 | wxPyEndAllowThreads(__tstate); |
1713 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
1714 | } Py_INCREF(Py_None); |
1715 | _resultobj = Py_None; | |
1716 | return _resultobj; | |
1717 | } | |
1718 | ||
1719 | #define wxStyledTextCtrl_GetMarginType(_swigobj,_swigarg0) (_swigobj->GetMarginType(_swigarg0)) | |
1720 | static PyObject *_wrap_wxStyledTextCtrl_GetMarginType(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1721 | PyObject * _resultobj; | |
1722 | int _result; | |
1723 | wxStyledTextCtrl * _arg0; | |
1724 | int _arg1; | |
1725 | PyObject * _argo0 = 0; | |
1726 | char *_kwnames[] = { "self","margin", NULL }; | |
1727 | ||
1728 | self = self; | |
1729 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_GetMarginType",_kwnames,&_argo0,&_arg1)) | |
1730 | return NULL; | |
1731 | if (_argo0) { | |
1732 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1733 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
1734 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetMarginType. Expected _wxStyledTextCtrl_p."); | |
1735 | return NULL; | |
1736 | } | |
1737 | } | |
1738 | { | |
0e2ff151 | 1739 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 1740 | _result = (int )wxStyledTextCtrl_GetMarginType(_arg0,_arg1); |
8a2fa5c8 | 1741 | |
0e2ff151 RD |
1742 | wxPyEndAllowThreads(__tstate); |
1743 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
1744 | } _resultobj = Py_BuildValue("i",_result); |
1745 | return _resultobj; | |
1746 | } | |
1747 | ||
1748 | #define wxStyledTextCtrl_SetMarginWidth(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetMarginWidth(_swigarg0,_swigarg1)) | |
1749 | static PyObject *_wrap_wxStyledTextCtrl_SetMarginWidth(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1750 | PyObject * _resultobj; | |
1751 | wxStyledTextCtrl * _arg0; | |
1752 | int _arg1; | |
1753 | int _arg2; | |
1754 | PyObject * _argo0 = 0; | |
1755 | char *_kwnames[] = { "self","margin","pixelWidth", NULL }; | |
1756 | ||
1757 | self = self; | |
1758 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxStyledTextCtrl_SetMarginWidth",_kwnames,&_argo0,&_arg1,&_arg2)) | |
1759 | return NULL; | |
1760 | if (_argo0) { | |
1761 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1762 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
1763 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetMarginWidth. Expected _wxStyledTextCtrl_p."); | |
1764 | return NULL; | |
1765 | } | |
1766 | } | |
1767 | { | |
0e2ff151 | 1768 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 1769 | wxStyledTextCtrl_SetMarginWidth(_arg0,_arg1,_arg2); |
8a2fa5c8 | 1770 | |
0e2ff151 RD |
1771 | wxPyEndAllowThreads(__tstate); |
1772 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
1773 | } Py_INCREF(Py_None); |
1774 | _resultobj = Py_None; | |
1775 | return _resultobj; | |
1776 | } | |
1777 | ||
1778 | #define wxStyledTextCtrl_GetMarginWidth(_swigobj,_swigarg0) (_swigobj->GetMarginWidth(_swigarg0)) | |
1779 | static PyObject *_wrap_wxStyledTextCtrl_GetMarginWidth(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1780 | PyObject * _resultobj; | |
1781 | int _result; | |
1782 | wxStyledTextCtrl * _arg0; | |
1783 | int _arg1; | |
1784 | PyObject * _argo0 = 0; | |
1785 | char *_kwnames[] = { "self","margin", NULL }; | |
1786 | ||
1787 | self = self; | |
1788 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_GetMarginWidth",_kwnames,&_argo0,&_arg1)) | |
1789 | return NULL; | |
1790 | if (_argo0) { | |
1791 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1792 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
1793 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetMarginWidth. Expected _wxStyledTextCtrl_p."); | |
1794 | return NULL; | |
1795 | } | |
1796 | } | |
1797 | { | |
0e2ff151 | 1798 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 1799 | _result = (int )wxStyledTextCtrl_GetMarginWidth(_arg0,_arg1); |
8a2fa5c8 | 1800 | |
0e2ff151 RD |
1801 | wxPyEndAllowThreads(__tstate); |
1802 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
1803 | } _resultobj = Py_BuildValue("i",_result); |
1804 | return _resultobj; | |
1805 | } | |
1806 | ||
1807 | #define wxStyledTextCtrl_SetMarginMask(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetMarginMask(_swigarg0,_swigarg1)) | |
1808 | static PyObject *_wrap_wxStyledTextCtrl_SetMarginMask(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1809 | PyObject * _resultobj; | |
1810 | wxStyledTextCtrl * _arg0; | |
1811 | int _arg1; | |
1812 | int _arg2; | |
1813 | PyObject * _argo0 = 0; | |
1814 | char *_kwnames[] = { "self","margin","mask", NULL }; | |
1815 | ||
1816 | self = self; | |
1817 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxStyledTextCtrl_SetMarginMask",_kwnames,&_argo0,&_arg1,&_arg2)) | |
1818 | return NULL; | |
1819 | if (_argo0) { | |
1820 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1821 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
1822 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetMarginMask. Expected _wxStyledTextCtrl_p."); | |
1823 | return NULL; | |
1824 | } | |
1825 | } | |
1826 | { | |
0e2ff151 | 1827 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 1828 | wxStyledTextCtrl_SetMarginMask(_arg0,_arg1,_arg2); |
8a2fa5c8 | 1829 | |
0e2ff151 RD |
1830 | wxPyEndAllowThreads(__tstate); |
1831 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
1832 | } Py_INCREF(Py_None); |
1833 | _resultobj = Py_None; | |
1834 | return _resultobj; | |
1835 | } | |
1836 | ||
1837 | #define wxStyledTextCtrl_GetMarginMask(_swigobj,_swigarg0) (_swigobj->GetMarginMask(_swigarg0)) | |
1838 | static PyObject *_wrap_wxStyledTextCtrl_GetMarginMask(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1839 | PyObject * _resultobj; | |
1840 | int _result; | |
1841 | wxStyledTextCtrl * _arg0; | |
1842 | int _arg1; | |
1843 | PyObject * _argo0 = 0; | |
1844 | char *_kwnames[] = { "self","margin", NULL }; | |
1845 | ||
1846 | self = self; | |
1847 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_GetMarginMask",_kwnames,&_argo0,&_arg1)) | |
1848 | return NULL; | |
1849 | if (_argo0) { | |
1850 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1851 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
1852 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetMarginMask. Expected _wxStyledTextCtrl_p."); | |
1853 | return NULL; | |
1854 | } | |
1855 | } | |
1856 | { | |
0e2ff151 | 1857 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 1858 | _result = (int )wxStyledTextCtrl_GetMarginMask(_arg0,_arg1); |
8a2fa5c8 | 1859 | |
0e2ff151 RD |
1860 | wxPyEndAllowThreads(__tstate); |
1861 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
1862 | } _resultobj = Py_BuildValue("i",_result); |
1863 | return _resultobj; | |
1864 | } | |
1865 | ||
1866 | #define wxStyledTextCtrl_SetMarginSensitive(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetMarginSensitive(_swigarg0,_swigarg1)) | |
1867 | static PyObject *_wrap_wxStyledTextCtrl_SetMarginSensitive(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1868 | PyObject * _resultobj; | |
1869 | wxStyledTextCtrl * _arg0; | |
1870 | int _arg1; | |
1871 | bool _arg2; | |
1872 | PyObject * _argo0 = 0; | |
1873 | int tempbool2; | |
1874 | char *_kwnames[] = { "self","margin","sensitive", NULL }; | |
1875 | ||
1876 | self = self; | |
1877 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxStyledTextCtrl_SetMarginSensitive",_kwnames,&_argo0,&_arg1,&tempbool2)) | |
1878 | return NULL; | |
1879 | if (_argo0) { | |
1880 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1881 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
1882 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetMarginSensitive. Expected _wxStyledTextCtrl_p."); | |
1883 | return NULL; | |
1884 | } | |
1885 | } | |
1886 | _arg2 = (bool ) tempbool2; | |
1887 | { | |
0e2ff151 | 1888 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 1889 | wxStyledTextCtrl_SetMarginSensitive(_arg0,_arg1,_arg2); |
8a2fa5c8 | 1890 | |
0e2ff151 RD |
1891 | wxPyEndAllowThreads(__tstate); |
1892 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
1893 | } Py_INCREF(Py_None); |
1894 | _resultobj = Py_None; | |
1895 | return _resultobj; | |
1896 | } | |
1897 | ||
1898 | #define wxStyledTextCtrl_GetMarginSensitive(_swigobj,_swigarg0) (_swigobj->GetMarginSensitive(_swigarg0)) | |
1899 | static PyObject *_wrap_wxStyledTextCtrl_GetMarginSensitive(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1900 | PyObject * _resultobj; | |
1901 | bool _result; | |
1902 | wxStyledTextCtrl * _arg0; | |
1903 | int _arg1; | |
1904 | PyObject * _argo0 = 0; | |
1905 | char *_kwnames[] = { "self","margin", NULL }; | |
1906 | ||
1907 | self = self; | |
1908 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_GetMarginSensitive",_kwnames,&_argo0,&_arg1)) | |
1909 | return NULL; | |
1910 | if (_argo0) { | |
1911 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1912 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
1913 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetMarginSensitive. Expected _wxStyledTextCtrl_p."); | |
1914 | return NULL; | |
1915 | } | |
1916 | } | |
1917 | { | |
0e2ff151 | 1918 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 1919 | _result = (bool )wxStyledTextCtrl_GetMarginSensitive(_arg0,_arg1); |
8a2fa5c8 | 1920 | |
0e2ff151 RD |
1921 | wxPyEndAllowThreads(__tstate); |
1922 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
1923 | } _resultobj = Py_BuildValue("i",_result); |
1924 | return _resultobj; | |
1925 | } | |
1926 | ||
1927 | #define wxStyledTextCtrl_StyleClearAll(_swigobj) (_swigobj->StyleClearAll()) | |
1928 | static PyObject *_wrap_wxStyledTextCtrl_StyleClearAll(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1929 | PyObject * _resultobj; | |
1930 | wxStyledTextCtrl * _arg0; | |
1931 | PyObject * _argo0 = 0; | |
1932 | char *_kwnames[] = { "self", NULL }; | |
1933 | ||
1934 | self = self; | |
1935 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_StyleClearAll",_kwnames,&_argo0)) | |
1936 | return NULL; | |
1937 | if (_argo0) { | |
1938 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1939 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
1940 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_StyleClearAll. Expected _wxStyledTextCtrl_p."); | |
1941 | return NULL; | |
1942 | } | |
1943 | } | |
1944 | { | |
0e2ff151 | 1945 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 1946 | wxStyledTextCtrl_StyleClearAll(_arg0); |
8a2fa5c8 | 1947 | |
0e2ff151 RD |
1948 | wxPyEndAllowThreads(__tstate); |
1949 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
1950 | } Py_INCREF(Py_None); |
1951 | _resultobj = Py_None; | |
1952 | return _resultobj; | |
1953 | } | |
1954 | ||
1955 | #define wxStyledTextCtrl_StyleSetForeground(_swigobj,_swigarg0,_swigarg1) (_swigobj->StyleSetForeground(_swigarg0,_swigarg1)) | |
1956 | static PyObject *_wrap_wxStyledTextCtrl_StyleSetForeground(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1957 | PyObject * _resultobj; | |
1958 | wxStyledTextCtrl * _arg0; | |
1959 | int _arg1; | |
1960 | wxColour * _arg2; | |
1961 | PyObject * _argo0 = 0; | |
1962 | wxColour temp; | |
1963 | PyObject * _obj2 = 0; | |
1964 | char *_kwnames[] = { "self","style","fore", NULL }; | |
1965 | ||
1966 | self = self; | |
1967 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxStyledTextCtrl_StyleSetForeground",_kwnames,&_argo0,&_arg1,&_obj2)) | |
1968 | return NULL; | |
1969 | if (_argo0) { | |
1970 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1971 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
1972 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_StyleSetForeground. Expected _wxStyledTextCtrl_p."); | |
1973 | return NULL; | |
1974 | } | |
1975 | } | |
1976 | { | |
1977 | _arg2 = &temp; | |
1978 | if (! wxColour_helper(_obj2, &_arg2)) | |
1979 | return NULL; | |
1980 | } | |
1981 | { | |
0e2ff151 | 1982 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 1983 | wxStyledTextCtrl_StyleSetForeground(_arg0,_arg1,*_arg2); |
8a2fa5c8 | 1984 | |
0e2ff151 RD |
1985 | wxPyEndAllowThreads(__tstate); |
1986 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
1987 | } Py_INCREF(Py_None); |
1988 | _resultobj = Py_None; | |
1989 | return _resultobj; | |
1990 | } | |
1991 | ||
1992 | #define wxStyledTextCtrl_StyleSetBackground(_swigobj,_swigarg0,_swigarg1) (_swigobj->StyleSetBackground(_swigarg0,_swigarg1)) | |
1993 | static PyObject *_wrap_wxStyledTextCtrl_StyleSetBackground(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1994 | PyObject * _resultobj; | |
1995 | wxStyledTextCtrl * _arg0; | |
1996 | int _arg1; | |
1997 | wxColour * _arg2; | |
1998 | PyObject * _argo0 = 0; | |
1999 | wxColour temp; | |
2000 | PyObject * _obj2 = 0; | |
2001 | char *_kwnames[] = { "self","style","back", NULL }; | |
2002 | ||
2003 | self = self; | |
2004 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxStyledTextCtrl_StyleSetBackground",_kwnames,&_argo0,&_arg1,&_obj2)) | |
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_StyleSetBackground. Expected _wxStyledTextCtrl_p."); | |
2010 | return NULL; | |
2011 | } | |
2012 | } | |
2013 | { | |
2014 | _arg2 = &temp; | |
2015 | if (! wxColour_helper(_obj2, &_arg2)) | |
2016 | return NULL; | |
2017 | } | |
2018 | { | |
0e2ff151 | 2019 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 2020 | wxStyledTextCtrl_StyleSetBackground(_arg0,_arg1,*_arg2); |
8a2fa5c8 | 2021 | |
0e2ff151 RD |
2022 | wxPyEndAllowThreads(__tstate); |
2023 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
2024 | } Py_INCREF(Py_None); |
2025 | _resultobj = Py_None; | |
2026 | return _resultobj; | |
2027 | } | |
2028 | ||
2029 | #define wxStyledTextCtrl_StyleSetBold(_swigobj,_swigarg0,_swigarg1) (_swigobj->StyleSetBold(_swigarg0,_swigarg1)) | |
2030 | static PyObject *_wrap_wxStyledTextCtrl_StyleSetBold(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2031 | PyObject * _resultobj; | |
2032 | wxStyledTextCtrl * _arg0; | |
2033 | int _arg1; | |
2034 | bool _arg2; | |
2035 | PyObject * _argo0 = 0; | |
2036 | int tempbool2; | |
2037 | char *_kwnames[] = { "self","style","bold", NULL }; | |
2038 | ||
2039 | self = self; | |
2040 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxStyledTextCtrl_StyleSetBold",_kwnames,&_argo0,&_arg1,&tempbool2)) | |
2041 | return NULL; | |
2042 | if (_argo0) { | |
2043 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2044 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
2045 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_StyleSetBold. Expected _wxStyledTextCtrl_p."); | |
2046 | return NULL; | |
2047 | } | |
2048 | } | |
2049 | _arg2 = (bool ) tempbool2; | |
2050 | { | |
0e2ff151 | 2051 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 2052 | wxStyledTextCtrl_StyleSetBold(_arg0,_arg1,_arg2); |
8a2fa5c8 | 2053 | |
0e2ff151 RD |
2054 | wxPyEndAllowThreads(__tstate); |
2055 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
2056 | } Py_INCREF(Py_None); |
2057 | _resultobj = Py_None; | |
2058 | return _resultobj; | |
2059 | } | |
2060 | ||
2061 | #define wxStyledTextCtrl_StyleSetItalic(_swigobj,_swigarg0,_swigarg1) (_swigobj->StyleSetItalic(_swigarg0,_swigarg1)) | |
2062 | static PyObject *_wrap_wxStyledTextCtrl_StyleSetItalic(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2063 | PyObject * _resultobj; | |
2064 | wxStyledTextCtrl * _arg0; | |
2065 | int _arg1; | |
2066 | bool _arg2; | |
2067 | PyObject * _argo0 = 0; | |
2068 | int tempbool2; | |
2069 | char *_kwnames[] = { "self","style","italic", NULL }; | |
2070 | ||
2071 | self = self; | |
2072 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxStyledTextCtrl_StyleSetItalic",_kwnames,&_argo0,&_arg1,&tempbool2)) | |
2073 | return NULL; | |
2074 | if (_argo0) { | |
2075 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2076 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
2077 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_StyleSetItalic. Expected _wxStyledTextCtrl_p."); | |
2078 | return NULL; | |
2079 | } | |
2080 | } | |
2081 | _arg2 = (bool ) tempbool2; | |
2082 | { | |
0e2ff151 | 2083 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 2084 | wxStyledTextCtrl_StyleSetItalic(_arg0,_arg1,_arg2); |
8a2fa5c8 | 2085 | |
0e2ff151 RD |
2086 | wxPyEndAllowThreads(__tstate); |
2087 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
2088 | } Py_INCREF(Py_None); |
2089 | _resultobj = Py_None; | |
2090 | return _resultobj; | |
2091 | } | |
2092 | ||
2093 | #define wxStyledTextCtrl_StyleSetSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->StyleSetSize(_swigarg0,_swigarg1)) | |
2094 | static PyObject *_wrap_wxStyledTextCtrl_StyleSetSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2095 | PyObject * _resultobj; | |
2096 | wxStyledTextCtrl * _arg0; | |
2097 | int _arg1; | |
2098 | int _arg2; | |
2099 | PyObject * _argo0 = 0; | |
2100 | char *_kwnames[] = { "self","style","sizePoints", NULL }; | |
2101 | ||
2102 | self = self; | |
2103 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxStyledTextCtrl_StyleSetSize",_kwnames,&_argo0,&_arg1,&_arg2)) | |
2104 | return NULL; | |
2105 | if (_argo0) { | |
2106 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2107 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
2108 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_StyleSetSize. Expected _wxStyledTextCtrl_p."); | |
2109 | return NULL; | |
2110 | } | |
2111 | } | |
2112 | { | |
0e2ff151 | 2113 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 2114 | wxStyledTextCtrl_StyleSetSize(_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 | return _resultobj; | |
2121 | } | |
2122 | ||
2123 | #define wxStyledTextCtrl_StyleSetFaceName(_swigobj,_swigarg0,_swigarg1) (_swigobj->StyleSetFaceName(_swigarg0,_swigarg1)) | |
2124 | static PyObject *_wrap_wxStyledTextCtrl_StyleSetFaceName(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2125 | PyObject * _resultobj; | |
2126 | wxStyledTextCtrl * _arg0; | |
2127 | int _arg1; | |
2128 | wxString * _arg2; | |
2129 | PyObject * _argo0 = 0; | |
2130 | PyObject * _obj2 = 0; | |
2131 | char *_kwnames[] = { "self","style","fontName", NULL }; | |
2132 | ||
2133 | self = self; | |
2134 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxStyledTextCtrl_StyleSetFaceName",_kwnames,&_argo0,&_arg1,&_obj2)) | |
2135 | return NULL; | |
2136 | if (_argo0) { | |
2137 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2138 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
2139 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_StyleSetFaceName. Expected _wxStyledTextCtrl_p."); | |
2140 | return NULL; | |
2141 | } | |
2142 | } | |
2143 | { | |
6824d4f9 RD |
2144 | _arg2 = wxString_in_helper(_obj2); |
2145 | if (_arg2 == NULL) | |
8a2fa5c8 | 2146 | return NULL; |
8a2fa5c8 RD |
2147 | } |
2148 | { | |
0e2ff151 | 2149 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 2150 | wxStyledTextCtrl_StyleSetFaceName(_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 | { | |
2157 | if (_obj2) | |
2158 | delete _arg2; | |
2159 | } | |
2160 | return _resultobj; | |
2161 | } | |
2162 | ||
2163 | #define wxStyledTextCtrl_StyleSetEOLFilled(_swigobj,_swigarg0,_swigarg1) (_swigobj->StyleSetEOLFilled(_swigarg0,_swigarg1)) | |
2164 | static PyObject *_wrap_wxStyledTextCtrl_StyleSetEOLFilled(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2165 | PyObject * _resultobj; | |
2166 | wxStyledTextCtrl * _arg0; | |
2167 | int _arg1; | |
2168 | bool _arg2; | |
2169 | PyObject * _argo0 = 0; | |
2170 | int tempbool2; | |
2171 | char *_kwnames[] = { "self","style","filled", NULL }; | |
2172 | ||
2173 | self = self; | |
2174 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxStyledTextCtrl_StyleSetEOLFilled",_kwnames,&_argo0,&_arg1,&tempbool2)) | |
2175 | return NULL; | |
2176 | if (_argo0) { | |
2177 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2178 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
2179 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_StyleSetEOLFilled. Expected _wxStyledTextCtrl_p."); | |
2180 | return NULL; | |
2181 | } | |
2182 | } | |
2183 | _arg2 = (bool ) tempbool2; | |
2184 | { | |
0e2ff151 | 2185 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 2186 | wxStyledTextCtrl_StyleSetEOLFilled(_arg0,_arg1,_arg2); |
8a2fa5c8 | 2187 | |
0e2ff151 RD |
2188 | wxPyEndAllowThreads(__tstate); |
2189 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
2190 | } Py_INCREF(Py_None); |
2191 | _resultobj = Py_None; | |
2192 | return _resultobj; | |
2193 | } | |
2194 | ||
2195 | #define wxStyledTextCtrl_StyleResetDefault(_swigobj) (_swigobj->StyleResetDefault()) | |
2196 | static PyObject *_wrap_wxStyledTextCtrl_StyleResetDefault(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2197 | PyObject * _resultobj; | |
2198 | wxStyledTextCtrl * _arg0; | |
2199 | PyObject * _argo0 = 0; | |
2200 | char *_kwnames[] = { "self", NULL }; | |
2201 | ||
2202 | self = self; | |
2203 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_StyleResetDefault",_kwnames,&_argo0)) | |
2204 | return NULL; | |
2205 | if (_argo0) { | |
2206 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2207 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
2208 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_StyleResetDefault. Expected _wxStyledTextCtrl_p."); | |
2209 | return NULL; | |
2210 | } | |
2211 | } | |
2212 | { | |
0e2ff151 | 2213 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 2214 | wxStyledTextCtrl_StyleResetDefault(_arg0); |
8a2fa5c8 | 2215 | |
0e2ff151 RD |
2216 | wxPyEndAllowThreads(__tstate); |
2217 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
2218 | } Py_INCREF(Py_None); |
2219 | _resultobj = Py_None; | |
2220 | return _resultobj; | |
2221 | } | |
2222 | ||
2223 | #define wxStyledTextCtrl_StyleSetUnderline(_swigobj,_swigarg0,_swigarg1) (_swigobj->StyleSetUnderline(_swigarg0,_swigarg1)) | |
2224 | static PyObject *_wrap_wxStyledTextCtrl_StyleSetUnderline(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2225 | PyObject * _resultobj; | |
2226 | wxStyledTextCtrl * _arg0; | |
2227 | int _arg1; | |
2228 | bool _arg2; | |
2229 | PyObject * _argo0 = 0; | |
2230 | int tempbool2; | |
2231 | char *_kwnames[] = { "self","style","underline", NULL }; | |
2232 | ||
2233 | self = self; | |
2234 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxStyledTextCtrl_StyleSetUnderline",_kwnames,&_argo0,&_arg1,&tempbool2)) | |
2235 | return NULL; | |
2236 | if (_argo0) { | |
2237 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2238 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
2239 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_StyleSetUnderline. Expected _wxStyledTextCtrl_p."); | |
2240 | return NULL; | |
2241 | } | |
2242 | } | |
2243 | _arg2 = (bool ) tempbool2; | |
2244 | { | |
0e2ff151 | 2245 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 2246 | wxStyledTextCtrl_StyleSetUnderline(_arg0,_arg1,_arg2); |
8a2fa5c8 | 2247 | |
0e2ff151 RD |
2248 | wxPyEndAllowThreads(__tstate); |
2249 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
2250 | } Py_INCREF(Py_None); |
2251 | _resultobj = Py_None; | |
2252 | return _resultobj; | |
2253 | } | |
2254 | ||
2255 | #define wxStyledTextCtrl_StyleSetCase(_swigobj,_swigarg0,_swigarg1) (_swigobj->StyleSetCase(_swigarg0,_swigarg1)) | |
2256 | static PyObject *_wrap_wxStyledTextCtrl_StyleSetCase(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2257 | PyObject * _resultobj; | |
2258 | wxStyledTextCtrl * _arg0; | |
2259 | int _arg1; | |
2260 | int _arg2; | |
2261 | PyObject * _argo0 = 0; | |
2262 | char *_kwnames[] = { "self","style","caseForce", NULL }; | |
2263 | ||
2264 | self = self; | |
2265 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxStyledTextCtrl_StyleSetCase",_kwnames,&_argo0,&_arg1,&_arg2)) | |
2266 | return NULL; | |
2267 | if (_argo0) { | |
2268 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2269 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
2270 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_StyleSetCase. Expected _wxStyledTextCtrl_p."); | |
2271 | return NULL; | |
2272 | } | |
2273 | } | |
2274 | { | |
0e2ff151 | 2275 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 2276 | wxStyledTextCtrl_StyleSetCase(_arg0,_arg1,_arg2); |
8a2fa5c8 | 2277 | |
0e2ff151 RD |
2278 | wxPyEndAllowThreads(__tstate); |
2279 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
2280 | } Py_INCREF(Py_None); |
2281 | _resultobj = Py_None; | |
2282 | return _resultobj; | |
2283 | } | |
2284 | ||
c3bfa1cb RD |
2285 | #define wxStyledTextCtrl_StyleSetCharacterSet(_swigobj,_swigarg0,_swigarg1) (_swigobj->StyleSetCharacterSet(_swigarg0,_swigarg1)) |
2286 | static PyObject *_wrap_wxStyledTextCtrl_StyleSetCharacterSet(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2287 | PyObject * _resultobj; | |
2288 | wxStyledTextCtrl * _arg0; | |
2289 | int _arg1; | |
2290 | int _arg2; | |
2291 | PyObject * _argo0 = 0; | |
2292 | char *_kwnames[] = { "self","style","characterSet", NULL }; | |
2293 | ||
2294 | self = self; | |
2295 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxStyledTextCtrl_StyleSetCharacterSet",_kwnames,&_argo0,&_arg1,&_arg2)) | |
2296 | return NULL; | |
2297 | if (_argo0) { | |
2298 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2299 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
2300 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_StyleSetCharacterSet. Expected _wxStyledTextCtrl_p."); | |
2301 | return NULL; | |
2302 | } | |
2303 | } | |
2304 | { | |
2305 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2306 | wxStyledTextCtrl_StyleSetCharacterSet(_arg0,_arg1,_arg2); | |
2307 | ||
2308 | wxPyEndAllowThreads(__tstate); | |
2309 | if (PyErr_Occurred()) return NULL; | |
2310 | } Py_INCREF(Py_None); | |
2311 | _resultobj = Py_None; | |
2312 | return _resultobj; | |
2313 | } | |
2314 | ||
1fded56b RD |
2315 | #define wxStyledTextCtrl_StyleSetHotSpot(_swigobj,_swigarg0,_swigarg1) (_swigobj->StyleSetHotSpot(_swigarg0,_swigarg1)) |
2316 | static PyObject *_wrap_wxStyledTextCtrl_StyleSetHotSpot(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2317 | PyObject * _resultobj; | |
2318 | wxStyledTextCtrl * _arg0; | |
2319 | int _arg1; | |
2320 | bool _arg2; | |
2321 | PyObject * _argo0 = 0; | |
2322 | int tempbool2; | |
2323 | char *_kwnames[] = { "self","style","hotspot", NULL }; | |
2324 | ||
2325 | self = self; | |
2326 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxStyledTextCtrl_StyleSetHotSpot",_kwnames,&_argo0,&_arg1,&tempbool2)) | |
2327 | return NULL; | |
2328 | if (_argo0) { | |
2329 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2330 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
2331 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_StyleSetHotSpot. Expected _wxStyledTextCtrl_p."); | |
2332 | return NULL; | |
2333 | } | |
2334 | } | |
2335 | _arg2 = (bool ) tempbool2; | |
2336 | { | |
2337 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2338 | wxStyledTextCtrl_StyleSetHotSpot(_arg0,_arg1,_arg2); | |
2339 | ||
2340 | wxPyEndAllowThreads(__tstate); | |
2341 | if (PyErr_Occurred()) return NULL; | |
2342 | } Py_INCREF(Py_None); | |
2343 | _resultobj = Py_None; | |
2344 | return _resultobj; | |
2345 | } | |
2346 | ||
8a2fa5c8 RD |
2347 | #define wxStyledTextCtrl_SetSelForeground(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetSelForeground(_swigarg0,_swigarg1)) |
2348 | static PyObject *_wrap_wxStyledTextCtrl_SetSelForeground(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2349 | PyObject * _resultobj; | |
2350 | wxStyledTextCtrl * _arg0; | |
2351 | bool _arg1; | |
2352 | wxColour * _arg2; | |
2353 | PyObject * _argo0 = 0; | |
2354 | int tempbool1; | |
2355 | wxColour temp; | |
2356 | PyObject * _obj2 = 0; | |
2357 | char *_kwnames[] = { "self","useSetting","fore", NULL }; | |
2358 | ||
2359 | self = self; | |
2360 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxStyledTextCtrl_SetSelForeground",_kwnames,&_argo0,&tempbool1,&_obj2)) | |
2361 | return NULL; | |
2362 | if (_argo0) { | |
2363 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2364 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
2365 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetSelForeground. Expected _wxStyledTextCtrl_p."); | |
2366 | return NULL; | |
2367 | } | |
2368 | } | |
2369 | _arg1 = (bool ) tempbool1; | |
2370 | { | |
2371 | _arg2 = &temp; | |
2372 | if (! wxColour_helper(_obj2, &_arg2)) | |
2373 | return NULL; | |
2374 | } | |
2375 | { | |
0e2ff151 | 2376 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 2377 | wxStyledTextCtrl_SetSelForeground(_arg0,_arg1,*_arg2); |
8a2fa5c8 | 2378 | |
0e2ff151 RD |
2379 | wxPyEndAllowThreads(__tstate); |
2380 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
2381 | } Py_INCREF(Py_None); |
2382 | _resultobj = Py_None; | |
2383 | return _resultobj; | |
2384 | } | |
2385 | ||
2386 | #define wxStyledTextCtrl_SetSelBackground(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetSelBackground(_swigarg0,_swigarg1)) | |
2387 | static PyObject *_wrap_wxStyledTextCtrl_SetSelBackground(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2388 | PyObject * _resultobj; | |
2389 | wxStyledTextCtrl * _arg0; | |
2390 | bool _arg1; | |
2391 | wxColour * _arg2; | |
2392 | PyObject * _argo0 = 0; | |
2393 | int tempbool1; | |
2394 | wxColour temp; | |
2395 | PyObject * _obj2 = 0; | |
2396 | char *_kwnames[] = { "self","useSetting","back", NULL }; | |
2397 | ||
2398 | self = self; | |
2399 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxStyledTextCtrl_SetSelBackground",_kwnames,&_argo0,&tempbool1,&_obj2)) | |
2400 | return NULL; | |
2401 | if (_argo0) { | |
2402 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2403 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
2404 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetSelBackground. Expected _wxStyledTextCtrl_p."); | |
2405 | return NULL; | |
2406 | } | |
2407 | } | |
2408 | _arg1 = (bool ) tempbool1; | |
2409 | { | |
2410 | _arg2 = &temp; | |
2411 | if (! wxColour_helper(_obj2, &_arg2)) | |
2412 | return NULL; | |
2413 | } | |
2414 | { | |
0e2ff151 | 2415 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 2416 | wxStyledTextCtrl_SetSelBackground(_arg0,_arg1,*_arg2); |
8a2fa5c8 | 2417 | |
0e2ff151 RD |
2418 | wxPyEndAllowThreads(__tstate); |
2419 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
2420 | } Py_INCREF(Py_None); |
2421 | _resultobj = Py_None; | |
2422 | return _resultobj; | |
2423 | } | |
2424 | ||
2425 | #define wxStyledTextCtrl_SetCaretForeground(_swigobj,_swigarg0) (_swigobj->SetCaretForeground(_swigarg0)) | |
2426 | static PyObject *_wrap_wxStyledTextCtrl_SetCaretForeground(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2427 | PyObject * _resultobj; | |
2428 | wxStyledTextCtrl * _arg0; | |
2429 | wxColour * _arg1; | |
2430 | PyObject * _argo0 = 0; | |
2431 | wxColour temp; | |
2432 | PyObject * _obj1 = 0; | |
2433 | char *_kwnames[] = { "self","fore", NULL }; | |
2434 | ||
2435 | self = self; | |
2436 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxStyledTextCtrl_SetCaretForeground",_kwnames,&_argo0,&_obj1)) | |
2437 | return NULL; | |
2438 | if (_argo0) { | |
2439 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2440 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
2441 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetCaretForeground. Expected _wxStyledTextCtrl_p."); | |
2442 | return NULL; | |
2443 | } | |
2444 | } | |
2445 | { | |
2446 | _arg1 = &temp; | |
2447 | if (! wxColour_helper(_obj1, &_arg1)) | |
2448 | return NULL; | |
2449 | } | |
2450 | { | |
0e2ff151 | 2451 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 2452 | wxStyledTextCtrl_SetCaretForeground(_arg0,*_arg1); |
8a2fa5c8 | 2453 | |
0e2ff151 RD |
2454 | wxPyEndAllowThreads(__tstate); |
2455 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
2456 | } Py_INCREF(Py_None); |
2457 | _resultobj = Py_None; | |
2458 | return _resultobj; | |
2459 | } | |
2460 | ||
2461 | #define wxStyledTextCtrl_CmdKeyAssign(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->CmdKeyAssign(_swigarg0,_swigarg1,_swigarg2)) | |
2462 | static PyObject *_wrap_wxStyledTextCtrl_CmdKeyAssign(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2463 | PyObject * _resultobj; | |
2464 | wxStyledTextCtrl * _arg0; | |
2465 | int _arg1; | |
2466 | int _arg2; | |
2467 | int _arg3; | |
2468 | PyObject * _argo0 = 0; | |
2469 | char *_kwnames[] = { "self","key","modifiers","cmd", NULL }; | |
2470 | ||
2471 | self = self; | |
2472 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oiii:wxStyledTextCtrl_CmdKeyAssign",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3)) | |
2473 | return NULL; | |
2474 | if (_argo0) { | |
2475 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2476 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
2477 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_CmdKeyAssign. Expected _wxStyledTextCtrl_p."); | |
2478 | return NULL; | |
2479 | } | |
2480 | } | |
2481 | { | |
0e2ff151 | 2482 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 2483 | wxStyledTextCtrl_CmdKeyAssign(_arg0,_arg1,_arg2,_arg3); |
8a2fa5c8 | 2484 | |
0e2ff151 RD |
2485 | wxPyEndAllowThreads(__tstate); |
2486 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
2487 | } Py_INCREF(Py_None); |
2488 | _resultobj = Py_None; | |
2489 | return _resultobj; | |
2490 | } | |
2491 | ||
2492 | #define wxStyledTextCtrl_CmdKeyClear(_swigobj,_swigarg0,_swigarg1) (_swigobj->CmdKeyClear(_swigarg0,_swigarg1)) | |
2493 | static PyObject *_wrap_wxStyledTextCtrl_CmdKeyClear(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2494 | PyObject * _resultobj; | |
2495 | wxStyledTextCtrl * _arg0; | |
2496 | int _arg1; | |
2497 | int _arg2; | |
2498 | PyObject * _argo0 = 0; | |
2499 | char *_kwnames[] = { "self","key","modifiers", NULL }; | |
2500 | ||
2501 | self = self; | |
2502 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxStyledTextCtrl_CmdKeyClear",_kwnames,&_argo0,&_arg1,&_arg2)) | |
2503 | return NULL; | |
2504 | if (_argo0) { | |
2505 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2506 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
2507 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_CmdKeyClear. Expected _wxStyledTextCtrl_p."); | |
2508 | return NULL; | |
2509 | } | |
2510 | } | |
2511 | { | |
0e2ff151 | 2512 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 2513 | wxStyledTextCtrl_CmdKeyClear(_arg0,_arg1,_arg2); |
8a2fa5c8 | 2514 | |
0e2ff151 RD |
2515 | wxPyEndAllowThreads(__tstate); |
2516 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
2517 | } Py_INCREF(Py_None); |
2518 | _resultobj = Py_None; | |
2519 | return _resultobj; | |
2520 | } | |
2521 | ||
2522 | #define wxStyledTextCtrl_CmdKeyClearAll(_swigobj) (_swigobj->CmdKeyClearAll()) | |
2523 | static PyObject *_wrap_wxStyledTextCtrl_CmdKeyClearAll(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2524 | PyObject * _resultobj; | |
2525 | wxStyledTextCtrl * _arg0; | |
2526 | PyObject * _argo0 = 0; | |
2527 | char *_kwnames[] = { "self", NULL }; | |
2528 | ||
2529 | self = self; | |
2530 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_CmdKeyClearAll",_kwnames,&_argo0)) | |
2531 | return NULL; | |
2532 | if (_argo0) { | |
2533 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2534 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
2535 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_CmdKeyClearAll. Expected _wxStyledTextCtrl_p."); | |
2536 | return NULL; | |
2537 | } | |
2538 | } | |
2539 | { | |
0e2ff151 | 2540 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 2541 | wxStyledTextCtrl_CmdKeyClearAll(_arg0); |
8a2fa5c8 | 2542 | |
0e2ff151 RD |
2543 | wxPyEndAllowThreads(__tstate); |
2544 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
2545 | } Py_INCREF(Py_None); |
2546 | _resultobj = Py_None; | |
2547 | return _resultobj; | |
2548 | } | |
2549 | ||
2550 | #define wxStyledTextCtrl_SetStyleBytes(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetStyleBytes(_swigarg0,_swigarg1)) | |
2551 | static PyObject *_wrap_wxStyledTextCtrl_SetStyleBytes(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2552 | PyObject * _resultobj; | |
2553 | wxStyledTextCtrl * _arg0; | |
2554 | int _arg1; | |
2555 | char * _arg2; | |
2556 | PyObject * _argo0 = 0; | |
2557 | char *_kwnames[] = { "self","length","styleBytes", NULL }; | |
2558 | ||
2559 | self = self; | |
2560 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ois:wxStyledTextCtrl_SetStyleBytes",_kwnames,&_argo0,&_arg1,&_arg2)) | |
2561 | return NULL; | |
2562 | if (_argo0) { | |
2563 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2564 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
2565 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetStyleBytes. Expected _wxStyledTextCtrl_p."); | |
2566 | return NULL; | |
2567 | } | |
2568 | } | |
2569 | { | |
0e2ff151 | 2570 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 2571 | wxStyledTextCtrl_SetStyleBytes(_arg0,_arg1,_arg2); |
8a2fa5c8 | 2572 | |
0e2ff151 RD |
2573 | wxPyEndAllowThreads(__tstate); |
2574 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
2575 | } Py_INCREF(Py_None); |
2576 | _resultobj = Py_None; | |
2577 | return _resultobj; | |
2578 | } | |
2579 | ||
2580 | #define wxStyledTextCtrl_StyleSetVisible(_swigobj,_swigarg0,_swigarg1) (_swigobj->StyleSetVisible(_swigarg0,_swigarg1)) | |
2581 | static PyObject *_wrap_wxStyledTextCtrl_StyleSetVisible(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2582 | PyObject * _resultobj; | |
2583 | wxStyledTextCtrl * _arg0; | |
2584 | int _arg1; | |
2585 | bool _arg2; | |
2586 | PyObject * _argo0 = 0; | |
2587 | int tempbool2; | |
2588 | char *_kwnames[] = { "self","style","visible", NULL }; | |
2589 | ||
2590 | self = self; | |
2591 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxStyledTextCtrl_StyleSetVisible",_kwnames,&_argo0,&_arg1,&tempbool2)) | |
2592 | return NULL; | |
2593 | if (_argo0) { | |
2594 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2595 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
2596 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_StyleSetVisible. Expected _wxStyledTextCtrl_p."); | |
2597 | return NULL; | |
2598 | } | |
2599 | } | |
2600 | _arg2 = (bool ) tempbool2; | |
2601 | { | |
0e2ff151 | 2602 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 2603 | wxStyledTextCtrl_StyleSetVisible(_arg0,_arg1,_arg2); |
8a2fa5c8 | 2604 | |
0e2ff151 RD |
2605 | wxPyEndAllowThreads(__tstate); |
2606 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
2607 | } Py_INCREF(Py_None); |
2608 | _resultobj = Py_None; | |
2609 | return _resultobj; | |
2610 | } | |
2611 | ||
2612 | #define wxStyledTextCtrl_GetCaretPeriod(_swigobj) (_swigobj->GetCaretPeriod()) | |
2613 | static PyObject *_wrap_wxStyledTextCtrl_GetCaretPeriod(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2614 | PyObject * _resultobj; | |
2615 | int _result; | |
2616 | wxStyledTextCtrl * _arg0; | |
2617 | PyObject * _argo0 = 0; | |
2618 | char *_kwnames[] = { "self", NULL }; | |
2619 | ||
2620 | self = self; | |
2621 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetCaretPeriod",_kwnames,&_argo0)) | |
2622 | return NULL; | |
2623 | if (_argo0) { | |
2624 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2625 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
2626 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetCaretPeriod. Expected _wxStyledTextCtrl_p."); | |
2627 | return NULL; | |
2628 | } | |
2629 | } | |
2630 | { | |
0e2ff151 | 2631 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 2632 | _result = (int )wxStyledTextCtrl_GetCaretPeriod(_arg0); |
8a2fa5c8 | 2633 | |
0e2ff151 RD |
2634 | wxPyEndAllowThreads(__tstate); |
2635 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
2636 | } _resultobj = Py_BuildValue("i",_result); |
2637 | return _resultobj; | |
2638 | } | |
2639 | ||
2640 | #define wxStyledTextCtrl_SetCaretPeriod(_swigobj,_swigarg0) (_swigobj->SetCaretPeriod(_swigarg0)) | |
2641 | static PyObject *_wrap_wxStyledTextCtrl_SetCaretPeriod(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2642 | PyObject * _resultobj; | |
2643 | wxStyledTextCtrl * _arg0; | |
2644 | int _arg1; | |
2645 | PyObject * _argo0 = 0; | |
2646 | char *_kwnames[] = { "self","periodMilliseconds", NULL }; | |
2647 | ||
2648 | self = self; | |
2649 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_SetCaretPeriod",_kwnames,&_argo0,&_arg1)) | |
2650 | return NULL; | |
2651 | if (_argo0) { | |
2652 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2653 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
2654 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetCaretPeriod. Expected _wxStyledTextCtrl_p."); | |
2655 | return NULL; | |
2656 | } | |
2657 | } | |
2658 | { | |
0e2ff151 | 2659 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 2660 | wxStyledTextCtrl_SetCaretPeriod(_arg0,_arg1); |
8a2fa5c8 | 2661 | |
0e2ff151 RD |
2662 | wxPyEndAllowThreads(__tstate); |
2663 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
2664 | } Py_INCREF(Py_None); |
2665 | _resultobj = Py_None; | |
2666 | return _resultobj; | |
2667 | } | |
2668 | ||
2669 | #define wxStyledTextCtrl_SetWordChars(_swigobj,_swigarg0) (_swigobj->SetWordChars(_swigarg0)) | |
2670 | static PyObject *_wrap_wxStyledTextCtrl_SetWordChars(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2671 | PyObject * _resultobj; | |
2672 | wxStyledTextCtrl * _arg0; | |
2673 | wxString * _arg1; | |
2674 | PyObject * _argo0 = 0; | |
2675 | PyObject * _obj1 = 0; | |
2676 | char *_kwnames[] = { "self","characters", NULL }; | |
2677 | ||
2678 | self = self; | |
2679 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxStyledTextCtrl_SetWordChars",_kwnames,&_argo0,&_obj1)) | |
2680 | return NULL; | |
2681 | if (_argo0) { | |
2682 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2683 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
2684 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetWordChars. Expected _wxStyledTextCtrl_p."); | |
2685 | return NULL; | |
2686 | } | |
2687 | } | |
2688 | { | |
6824d4f9 RD |
2689 | _arg1 = wxString_in_helper(_obj1); |
2690 | if (_arg1 == NULL) | |
8a2fa5c8 | 2691 | return NULL; |
8a2fa5c8 RD |
2692 | } |
2693 | { | |
0e2ff151 | 2694 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 2695 | wxStyledTextCtrl_SetWordChars(_arg0,*_arg1); |
8a2fa5c8 | 2696 | |
0e2ff151 RD |
2697 | wxPyEndAllowThreads(__tstate); |
2698 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
2699 | } Py_INCREF(Py_None); |
2700 | _resultobj = Py_None; | |
2701 | { | |
2702 | if (_obj1) | |
2703 | delete _arg1; | |
2704 | } | |
2705 | return _resultobj; | |
2706 | } | |
2707 | ||
2708 | #define wxStyledTextCtrl_BeginUndoAction(_swigobj) (_swigobj->BeginUndoAction()) | |
2709 | static PyObject *_wrap_wxStyledTextCtrl_BeginUndoAction(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2710 | PyObject * _resultobj; | |
2711 | wxStyledTextCtrl * _arg0; | |
2712 | PyObject * _argo0 = 0; | |
2713 | char *_kwnames[] = { "self", NULL }; | |
2714 | ||
2715 | self = self; | |
2716 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_BeginUndoAction",_kwnames,&_argo0)) | |
2717 | return NULL; | |
2718 | if (_argo0) { | |
2719 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2720 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
2721 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_BeginUndoAction. Expected _wxStyledTextCtrl_p."); | |
2722 | return NULL; | |
2723 | } | |
2724 | } | |
2725 | { | |
0e2ff151 | 2726 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 2727 | wxStyledTextCtrl_BeginUndoAction(_arg0); |
8a2fa5c8 | 2728 | |
0e2ff151 RD |
2729 | wxPyEndAllowThreads(__tstate); |
2730 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
2731 | } Py_INCREF(Py_None); |
2732 | _resultobj = Py_None; | |
2733 | return _resultobj; | |
2734 | } | |
2735 | ||
2736 | #define wxStyledTextCtrl_EndUndoAction(_swigobj) (_swigobj->EndUndoAction()) | |
2737 | static PyObject *_wrap_wxStyledTextCtrl_EndUndoAction(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2738 | PyObject * _resultobj; | |
2739 | wxStyledTextCtrl * _arg0; | |
2740 | PyObject * _argo0 = 0; | |
2741 | char *_kwnames[] = { "self", NULL }; | |
2742 | ||
2743 | self = self; | |
2744 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_EndUndoAction",_kwnames,&_argo0)) | |
2745 | return NULL; | |
2746 | if (_argo0) { | |
2747 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2748 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
2749 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_EndUndoAction. Expected _wxStyledTextCtrl_p."); | |
2750 | return NULL; | |
2751 | } | |
2752 | } | |
2753 | { | |
0e2ff151 | 2754 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 2755 | wxStyledTextCtrl_EndUndoAction(_arg0); |
8a2fa5c8 | 2756 | |
0e2ff151 RD |
2757 | wxPyEndAllowThreads(__tstate); |
2758 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
2759 | } Py_INCREF(Py_None); |
2760 | _resultobj = Py_None; | |
2761 | return _resultobj; | |
2762 | } | |
2763 | ||
2764 | #define wxStyledTextCtrl_IndicatorSetStyle(_swigobj,_swigarg0,_swigarg1) (_swigobj->IndicatorSetStyle(_swigarg0,_swigarg1)) | |
2765 | static PyObject *_wrap_wxStyledTextCtrl_IndicatorSetStyle(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2766 | PyObject * _resultobj; | |
2767 | wxStyledTextCtrl * _arg0; | |
2768 | int _arg1; | |
2769 | int _arg2; | |
2770 | PyObject * _argo0 = 0; | |
2771 | char *_kwnames[] = { "self","indic","style", NULL }; | |
2772 | ||
2773 | self = self; | |
2774 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxStyledTextCtrl_IndicatorSetStyle",_kwnames,&_argo0,&_arg1,&_arg2)) | |
2775 | return NULL; | |
2776 | if (_argo0) { | |
2777 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2778 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
2779 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_IndicatorSetStyle. Expected _wxStyledTextCtrl_p."); | |
2780 | return NULL; | |
2781 | } | |
2782 | } | |
2783 | { | |
0e2ff151 | 2784 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 2785 | wxStyledTextCtrl_IndicatorSetStyle(_arg0,_arg1,_arg2); |
8a2fa5c8 | 2786 | |
0e2ff151 RD |
2787 | wxPyEndAllowThreads(__tstate); |
2788 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
2789 | } Py_INCREF(Py_None); |
2790 | _resultobj = Py_None; | |
2791 | return _resultobj; | |
2792 | } | |
2793 | ||
2794 | #define wxStyledTextCtrl_IndicatorGetStyle(_swigobj,_swigarg0) (_swigobj->IndicatorGetStyle(_swigarg0)) | |
2795 | static PyObject *_wrap_wxStyledTextCtrl_IndicatorGetStyle(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2796 | PyObject * _resultobj; | |
2797 | int _result; | |
2798 | wxStyledTextCtrl * _arg0; | |
2799 | int _arg1; | |
2800 | PyObject * _argo0 = 0; | |
2801 | char *_kwnames[] = { "self","indic", NULL }; | |
2802 | ||
2803 | self = self; | |
2804 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_IndicatorGetStyle",_kwnames,&_argo0,&_arg1)) | |
2805 | return NULL; | |
2806 | if (_argo0) { | |
2807 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2808 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
2809 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_IndicatorGetStyle. Expected _wxStyledTextCtrl_p."); | |
2810 | return NULL; | |
2811 | } | |
2812 | } | |
2813 | { | |
0e2ff151 | 2814 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 2815 | _result = (int )wxStyledTextCtrl_IndicatorGetStyle(_arg0,_arg1); |
8a2fa5c8 | 2816 | |
0e2ff151 RD |
2817 | wxPyEndAllowThreads(__tstate); |
2818 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
2819 | } _resultobj = Py_BuildValue("i",_result); |
2820 | return _resultobj; | |
2821 | } | |
2822 | ||
2823 | #define wxStyledTextCtrl_IndicatorSetForeground(_swigobj,_swigarg0,_swigarg1) (_swigobj->IndicatorSetForeground(_swigarg0,_swigarg1)) | |
2824 | static PyObject *_wrap_wxStyledTextCtrl_IndicatorSetForeground(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2825 | PyObject * _resultobj; | |
2826 | wxStyledTextCtrl * _arg0; | |
2827 | int _arg1; | |
2828 | wxColour * _arg2; | |
2829 | PyObject * _argo0 = 0; | |
2830 | wxColour temp; | |
2831 | PyObject * _obj2 = 0; | |
2832 | char *_kwnames[] = { "self","indic","fore", NULL }; | |
2833 | ||
2834 | self = self; | |
2835 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxStyledTextCtrl_IndicatorSetForeground",_kwnames,&_argo0,&_arg1,&_obj2)) | |
2836 | return NULL; | |
2837 | if (_argo0) { | |
2838 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2839 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
2840 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_IndicatorSetForeground. Expected _wxStyledTextCtrl_p."); | |
2841 | return NULL; | |
2842 | } | |
2843 | } | |
2844 | { | |
2845 | _arg2 = &temp; | |
2846 | if (! wxColour_helper(_obj2, &_arg2)) | |
2847 | return NULL; | |
2848 | } | |
2849 | { | |
0e2ff151 | 2850 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 2851 | wxStyledTextCtrl_IndicatorSetForeground(_arg0,_arg1,*_arg2); |
8a2fa5c8 | 2852 | |
0e2ff151 RD |
2853 | wxPyEndAllowThreads(__tstate); |
2854 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
2855 | } Py_INCREF(Py_None); |
2856 | _resultobj = Py_None; | |
2857 | return _resultobj; | |
2858 | } | |
2859 | ||
2860 | #define wxStyledTextCtrl_IndicatorGetForeground(_swigobj,_swigarg0) (_swigobj->IndicatorGetForeground(_swigarg0)) | |
2861 | static PyObject *_wrap_wxStyledTextCtrl_IndicatorGetForeground(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2862 | PyObject * _resultobj; | |
2863 | wxColour * _result; | |
2864 | wxStyledTextCtrl * _arg0; | |
2865 | int _arg1; | |
2866 | PyObject * _argo0 = 0; | |
2867 | char *_kwnames[] = { "self","indic", NULL }; | |
2868 | char _ptemp[128]; | |
2869 | ||
2870 | self = self; | |
2871 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_IndicatorGetForeground",_kwnames,&_argo0,&_arg1)) | |
2872 | return NULL; | |
2873 | if (_argo0) { | |
2874 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2875 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
2876 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_IndicatorGetForeground. Expected _wxStyledTextCtrl_p."); | |
2877 | return NULL; | |
2878 | } | |
2879 | } | |
2880 | { | |
0e2ff151 | 2881 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 2882 | _result = new wxColour (wxStyledTextCtrl_IndicatorGetForeground(_arg0,_arg1)); |
8a2fa5c8 | 2883 | |
0e2ff151 RD |
2884 | wxPyEndAllowThreads(__tstate); |
2885 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
2886 | } SWIG_MakePtr(_ptemp, (void *) _result,"_wxColour_p"); |
2887 | _resultobj = Py_BuildValue("s",_ptemp); | |
2888 | return _resultobj; | |
2889 | } | |
2890 | ||
47a06a26 RD |
2891 | #define wxStyledTextCtrl_SetWhitespaceForeground(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetWhitespaceForeground(_swigarg0,_swigarg1)) |
2892 | static PyObject *_wrap_wxStyledTextCtrl_SetWhitespaceForeground(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2893 | PyObject * _resultobj; | |
2894 | wxStyledTextCtrl * _arg0; | |
2895 | bool _arg1; | |
2896 | wxColour * _arg2; | |
2897 | PyObject * _argo0 = 0; | |
2898 | int tempbool1; | |
2899 | wxColour temp; | |
2900 | PyObject * _obj2 = 0; | |
2901 | char *_kwnames[] = { "self","useSetting","fore", NULL }; | |
2902 | ||
2903 | self = self; | |
2904 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxStyledTextCtrl_SetWhitespaceForeground",_kwnames,&_argo0,&tempbool1,&_obj2)) | |
2905 | return NULL; | |
2906 | if (_argo0) { | |
2907 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2908 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
2909 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetWhitespaceForeground. Expected _wxStyledTextCtrl_p."); | |
2910 | return NULL; | |
2911 | } | |
2912 | } | |
2913 | _arg1 = (bool ) tempbool1; | |
2914 | { | |
2915 | _arg2 = &temp; | |
2916 | if (! wxColour_helper(_obj2, &_arg2)) | |
2917 | return NULL; | |
2918 | } | |
2919 | { | |
2920 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2921 | wxStyledTextCtrl_SetWhitespaceForeground(_arg0,_arg1,*_arg2); | |
2922 | ||
2923 | wxPyEndAllowThreads(__tstate); | |
2924 | if (PyErr_Occurred()) return NULL; | |
2925 | } Py_INCREF(Py_None); | |
2926 | _resultobj = Py_None; | |
2927 | return _resultobj; | |
2928 | } | |
2929 | ||
2930 | #define wxStyledTextCtrl_SetWhitespaceBackground(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetWhitespaceBackground(_swigarg0,_swigarg1)) | |
2931 | static PyObject *_wrap_wxStyledTextCtrl_SetWhitespaceBackground(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2932 | PyObject * _resultobj; | |
2933 | wxStyledTextCtrl * _arg0; | |
2934 | bool _arg1; | |
2935 | wxColour * _arg2; | |
2936 | PyObject * _argo0 = 0; | |
2937 | int tempbool1; | |
2938 | wxColour temp; | |
2939 | PyObject * _obj2 = 0; | |
2940 | char *_kwnames[] = { "self","useSetting","back", NULL }; | |
2941 | ||
2942 | self = self; | |
2943 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxStyledTextCtrl_SetWhitespaceBackground",_kwnames,&_argo0,&tempbool1,&_obj2)) | |
2944 | return NULL; | |
2945 | if (_argo0) { | |
2946 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2947 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
2948 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetWhitespaceBackground. Expected _wxStyledTextCtrl_p."); | |
2949 | return NULL; | |
2950 | } | |
2951 | } | |
2952 | _arg1 = (bool ) tempbool1; | |
2953 | { | |
2954 | _arg2 = &temp; | |
2955 | if (! wxColour_helper(_obj2, &_arg2)) | |
2956 | return NULL; | |
2957 | } | |
2958 | { | |
2959 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2960 | wxStyledTextCtrl_SetWhitespaceBackground(_arg0,_arg1,*_arg2); | |
2961 | ||
2962 | wxPyEndAllowThreads(__tstate); | |
2963 | if (PyErr_Occurred()) return NULL; | |
2964 | } Py_INCREF(Py_None); | |
2965 | _resultobj = Py_None; | |
2966 | return _resultobj; | |
2967 | } | |
2968 | ||
8a2fa5c8 RD |
2969 | #define wxStyledTextCtrl_SetStyleBits(_swigobj,_swigarg0) (_swigobj->SetStyleBits(_swigarg0)) |
2970 | static PyObject *_wrap_wxStyledTextCtrl_SetStyleBits(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2971 | PyObject * _resultobj; | |
2972 | wxStyledTextCtrl * _arg0; | |
2973 | int _arg1; | |
2974 | PyObject * _argo0 = 0; | |
2975 | char *_kwnames[] = { "self","bits", NULL }; | |
2976 | ||
2977 | self = self; | |
2978 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_SetStyleBits",_kwnames,&_argo0,&_arg1)) | |
2979 | return NULL; | |
2980 | if (_argo0) { | |
2981 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2982 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
2983 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetStyleBits. Expected _wxStyledTextCtrl_p."); | |
2984 | return NULL; | |
2985 | } | |
2986 | } | |
2987 | { | |
0e2ff151 | 2988 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 2989 | wxStyledTextCtrl_SetStyleBits(_arg0,_arg1); |
8a2fa5c8 | 2990 | |
0e2ff151 RD |
2991 | wxPyEndAllowThreads(__tstate); |
2992 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
2993 | } Py_INCREF(Py_None); |
2994 | _resultobj = Py_None; | |
2995 | return _resultobj; | |
2996 | } | |
2997 | ||
2998 | #define wxStyledTextCtrl_GetStyleBits(_swigobj) (_swigobj->GetStyleBits()) | |
2999 | static PyObject *_wrap_wxStyledTextCtrl_GetStyleBits(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3000 | PyObject * _resultobj; | |
3001 | int _result; | |
3002 | wxStyledTextCtrl * _arg0; | |
3003 | PyObject * _argo0 = 0; | |
3004 | char *_kwnames[] = { "self", NULL }; | |
3005 | ||
3006 | self = self; | |
3007 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetStyleBits",_kwnames,&_argo0)) | |
3008 | return NULL; | |
3009 | if (_argo0) { | |
3010 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3011 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
3012 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetStyleBits. Expected _wxStyledTextCtrl_p."); | |
3013 | return NULL; | |
3014 | } | |
3015 | } | |
3016 | { | |
0e2ff151 | 3017 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 3018 | _result = (int )wxStyledTextCtrl_GetStyleBits(_arg0); |
8a2fa5c8 | 3019 | |
0e2ff151 RD |
3020 | wxPyEndAllowThreads(__tstate); |
3021 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
3022 | } _resultobj = Py_BuildValue("i",_result); |
3023 | return _resultobj; | |
3024 | } | |
3025 | ||
3026 | #define wxStyledTextCtrl_SetLineState(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetLineState(_swigarg0,_swigarg1)) | |
3027 | static PyObject *_wrap_wxStyledTextCtrl_SetLineState(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3028 | PyObject * _resultobj; | |
3029 | wxStyledTextCtrl * _arg0; | |
3030 | int _arg1; | |
3031 | int _arg2; | |
3032 | PyObject * _argo0 = 0; | |
3033 | char *_kwnames[] = { "self","line","state", NULL }; | |
3034 | ||
3035 | self = self; | |
3036 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxStyledTextCtrl_SetLineState",_kwnames,&_argo0,&_arg1,&_arg2)) | |
3037 | return NULL; | |
3038 | if (_argo0) { | |
3039 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3040 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
3041 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetLineState. Expected _wxStyledTextCtrl_p."); | |
3042 | return NULL; | |
3043 | } | |
3044 | } | |
3045 | { | |
0e2ff151 | 3046 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 3047 | wxStyledTextCtrl_SetLineState(_arg0,_arg1,_arg2); |
8a2fa5c8 | 3048 | |
0e2ff151 RD |
3049 | wxPyEndAllowThreads(__tstate); |
3050 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
3051 | } Py_INCREF(Py_None); |
3052 | _resultobj = Py_None; | |
3053 | return _resultobj; | |
3054 | } | |
3055 | ||
3056 | #define wxStyledTextCtrl_GetLineState(_swigobj,_swigarg0) (_swigobj->GetLineState(_swigarg0)) | |
3057 | static PyObject *_wrap_wxStyledTextCtrl_GetLineState(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3058 | PyObject * _resultobj; | |
3059 | int _result; | |
3060 | wxStyledTextCtrl * _arg0; | |
3061 | int _arg1; | |
3062 | PyObject * _argo0 = 0; | |
3063 | char *_kwnames[] = { "self","line", NULL }; | |
3064 | ||
3065 | self = self; | |
3066 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_GetLineState",_kwnames,&_argo0,&_arg1)) | |
3067 | return NULL; | |
3068 | if (_argo0) { | |
3069 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3070 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
3071 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetLineState. Expected _wxStyledTextCtrl_p."); | |
3072 | return NULL; | |
3073 | } | |
3074 | } | |
3075 | { | |
0e2ff151 | 3076 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 3077 | _result = (int )wxStyledTextCtrl_GetLineState(_arg0,_arg1); |
8a2fa5c8 | 3078 | |
0e2ff151 RD |
3079 | wxPyEndAllowThreads(__tstate); |
3080 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
3081 | } _resultobj = Py_BuildValue("i",_result); |
3082 | return _resultobj; | |
3083 | } | |
3084 | ||
3085 | #define wxStyledTextCtrl_GetMaxLineState(_swigobj) (_swigobj->GetMaxLineState()) | |
3086 | static PyObject *_wrap_wxStyledTextCtrl_GetMaxLineState(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3087 | PyObject * _resultobj; | |
3088 | int _result; | |
3089 | wxStyledTextCtrl * _arg0; | |
3090 | PyObject * _argo0 = 0; | |
3091 | char *_kwnames[] = { "self", NULL }; | |
3092 | ||
3093 | self = self; | |
3094 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetMaxLineState",_kwnames,&_argo0)) | |
3095 | return NULL; | |
3096 | if (_argo0) { | |
3097 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3098 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
3099 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetMaxLineState. Expected _wxStyledTextCtrl_p."); | |
3100 | return NULL; | |
3101 | } | |
3102 | } | |
3103 | { | |
0e2ff151 | 3104 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 3105 | _result = (int )wxStyledTextCtrl_GetMaxLineState(_arg0); |
8a2fa5c8 | 3106 | |
0e2ff151 RD |
3107 | wxPyEndAllowThreads(__tstate); |
3108 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
3109 | } _resultobj = Py_BuildValue("i",_result); |
3110 | return _resultobj; | |
3111 | } | |
3112 | ||
3113 | #define wxStyledTextCtrl_GetCaretLineVisible(_swigobj) (_swigobj->GetCaretLineVisible()) | |
3114 | static PyObject *_wrap_wxStyledTextCtrl_GetCaretLineVisible(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3115 | PyObject * _resultobj; | |
3116 | bool _result; | |
3117 | wxStyledTextCtrl * _arg0; | |
3118 | PyObject * _argo0 = 0; | |
3119 | char *_kwnames[] = { "self", NULL }; | |
3120 | ||
3121 | self = self; | |
3122 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetCaretLineVisible",_kwnames,&_argo0)) | |
3123 | return NULL; | |
3124 | if (_argo0) { | |
3125 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3126 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
3127 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetCaretLineVisible. Expected _wxStyledTextCtrl_p."); | |
3128 | return NULL; | |
3129 | } | |
3130 | } | |
3131 | { | |
0e2ff151 | 3132 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 3133 | _result = (bool )wxStyledTextCtrl_GetCaretLineVisible(_arg0); |
8a2fa5c8 | 3134 | |
0e2ff151 RD |
3135 | wxPyEndAllowThreads(__tstate); |
3136 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
3137 | } _resultobj = Py_BuildValue("i",_result); |
3138 | return _resultobj; | |
3139 | } | |
3140 | ||
3141 | #define wxStyledTextCtrl_SetCaretLineVisible(_swigobj,_swigarg0) (_swigobj->SetCaretLineVisible(_swigarg0)) | |
3142 | static PyObject *_wrap_wxStyledTextCtrl_SetCaretLineVisible(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3143 | PyObject * _resultobj; | |
3144 | wxStyledTextCtrl * _arg0; | |
3145 | bool _arg1; | |
3146 | PyObject * _argo0 = 0; | |
3147 | int tempbool1; | |
3148 | char *_kwnames[] = { "self","show", NULL }; | |
3149 | ||
3150 | self = self; | |
3151 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_SetCaretLineVisible",_kwnames,&_argo0,&tempbool1)) | |
3152 | return NULL; | |
3153 | if (_argo0) { | |
3154 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3155 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
3156 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetCaretLineVisible. Expected _wxStyledTextCtrl_p."); | |
3157 | return NULL; | |
3158 | } | |
3159 | } | |
3160 | _arg1 = (bool ) tempbool1; | |
3161 | { | |
0e2ff151 | 3162 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 3163 | wxStyledTextCtrl_SetCaretLineVisible(_arg0,_arg1); |
8a2fa5c8 | 3164 | |
0e2ff151 RD |
3165 | wxPyEndAllowThreads(__tstate); |
3166 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
3167 | } Py_INCREF(Py_None); |
3168 | _resultobj = Py_None; | |
3169 | return _resultobj; | |
3170 | } | |
3171 | ||
3172 | #define wxStyledTextCtrl_GetCaretLineBack(_swigobj) (_swigobj->GetCaretLineBack()) | |
3173 | static PyObject *_wrap_wxStyledTextCtrl_GetCaretLineBack(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3174 | PyObject * _resultobj; | |
3175 | wxColour * _result; | |
3176 | wxStyledTextCtrl * _arg0; | |
3177 | PyObject * _argo0 = 0; | |
3178 | char *_kwnames[] = { "self", NULL }; | |
3179 | char _ptemp[128]; | |
3180 | ||
3181 | self = self; | |
3182 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetCaretLineBack",_kwnames,&_argo0)) | |
3183 | return NULL; | |
3184 | if (_argo0) { | |
3185 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3186 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
3187 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetCaretLineBack. Expected _wxStyledTextCtrl_p."); | |
3188 | return NULL; | |
3189 | } | |
3190 | } | |
3191 | { | |
0e2ff151 | 3192 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 3193 | _result = new wxColour (wxStyledTextCtrl_GetCaretLineBack(_arg0)); |
8a2fa5c8 | 3194 | |
0e2ff151 RD |
3195 | wxPyEndAllowThreads(__tstate); |
3196 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
3197 | } SWIG_MakePtr(_ptemp, (void *) _result,"_wxColour_p"); |
3198 | _resultobj = Py_BuildValue("s",_ptemp); | |
3199 | return _resultobj; | |
3200 | } | |
3201 | ||
3202 | #define wxStyledTextCtrl_SetCaretLineBack(_swigobj,_swigarg0) (_swigobj->SetCaretLineBack(_swigarg0)) | |
3203 | static PyObject *_wrap_wxStyledTextCtrl_SetCaretLineBack(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3204 | PyObject * _resultobj; | |
3205 | wxStyledTextCtrl * _arg0; | |
3206 | wxColour * _arg1; | |
3207 | PyObject * _argo0 = 0; | |
3208 | wxColour temp; | |
3209 | PyObject * _obj1 = 0; | |
3210 | char *_kwnames[] = { "self","back", NULL }; | |
3211 | ||
3212 | self = self; | |
3213 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxStyledTextCtrl_SetCaretLineBack",_kwnames,&_argo0,&_obj1)) | |
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_SetCaretLineBack. Expected _wxStyledTextCtrl_p."); | |
3219 | return NULL; | |
3220 | } | |
3221 | } | |
3222 | { | |
3223 | _arg1 = &temp; | |
3224 | if (! wxColour_helper(_obj1, &_arg1)) | |
3225 | return NULL; | |
3226 | } | |
3227 | { | |
0e2ff151 | 3228 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 3229 | wxStyledTextCtrl_SetCaretLineBack(_arg0,*_arg1); |
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 | return _resultobj; | |
3236 | } | |
3237 | ||
c3bfa1cb RD |
3238 | #define wxStyledTextCtrl_StyleSetChangeable(_swigobj,_swigarg0,_swigarg1) (_swigobj->StyleSetChangeable(_swigarg0,_swigarg1)) |
3239 | static PyObject *_wrap_wxStyledTextCtrl_StyleSetChangeable(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3240 | PyObject * _resultobj; | |
3241 | wxStyledTextCtrl * _arg0; | |
3242 | int _arg1; | |
3243 | bool _arg2; | |
3244 | PyObject * _argo0 = 0; | |
3245 | int tempbool2; | |
3246 | char *_kwnames[] = { "self","style","changeable", NULL }; | |
3247 | ||
3248 | self = self; | |
3249 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxStyledTextCtrl_StyleSetChangeable",_kwnames,&_argo0,&_arg1,&tempbool2)) | |
3250 | return NULL; | |
3251 | if (_argo0) { | |
3252 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3253 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
3254 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_StyleSetChangeable. Expected _wxStyledTextCtrl_p."); | |
3255 | return NULL; | |
3256 | } | |
3257 | } | |
3258 | _arg2 = (bool ) tempbool2; | |
3259 | { | |
3260 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3261 | wxStyledTextCtrl_StyleSetChangeable(_arg0,_arg1,_arg2); | |
3262 | ||
3263 | wxPyEndAllowThreads(__tstate); | |
3264 | if (PyErr_Occurred()) return NULL; | |
3265 | } Py_INCREF(Py_None); | |
3266 | _resultobj = Py_None; | |
3267 | return _resultobj; | |
3268 | } | |
3269 | ||
8a2fa5c8 RD |
3270 | #define wxStyledTextCtrl_AutoCompShow(_swigobj,_swigarg0,_swigarg1) (_swigobj->AutoCompShow(_swigarg0,_swigarg1)) |
3271 | static PyObject *_wrap_wxStyledTextCtrl_AutoCompShow(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3272 | PyObject * _resultobj; | |
3273 | wxStyledTextCtrl * _arg0; | |
3274 | int _arg1; | |
3275 | wxString * _arg2; | |
3276 | PyObject * _argo0 = 0; | |
3277 | PyObject * _obj2 = 0; | |
3278 | char *_kwnames[] = { "self","lenEntered","itemList", NULL }; | |
3279 | ||
3280 | self = self; | |
3281 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxStyledTextCtrl_AutoCompShow",_kwnames,&_argo0,&_arg1,&_obj2)) | |
3282 | return NULL; | |
3283 | if (_argo0) { | |
3284 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3285 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
3286 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_AutoCompShow. Expected _wxStyledTextCtrl_p."); | |
3287 | return NULL; | |
3288 | } | |
3289 | } | |
3290 | { | |
6824d4f9 RD |
3291 | _arg2 = wxString_in_helper(_obj2); |
3292 | if (_arg2 == NULL) | |
8a2fa5c8 | 3293 | return NULL; |
8a2fa5c8 RD |
3294 | } |
3295 | { | |
0e2ff151 | 3296 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 3297 | wxStyledTextCtrl_AutoCompShow(_arg0,_arg1,*_arg2); |
8a2fa5c8 | 3298 | |
0e2ff151 RD |
3299 | wxPyEndAllowThreads(__tstate); |
3300 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
3301 | } Py_INCREF(Py_None); |
3302 | _resultobj = Py_None; | |
3303 | { | |
3304 | if (_obj2) | |
3305 | delete _arg2; | |
3306 | } | |
3307 | return _resultobj; | |
3308 | } | |
3309 | ||
3310 | #define wxStyledTextCtrl_AutoCompCancel(_swigobj) (_swigobj->AutoCompCancel()) | |
3311 | static PyObject *_wrap_wxStyledTextCtrl_AutoCompCancel(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3312 | PyObject * _resultobj; | |
3313 | wxStyledTextCtrl * _arg0; | |
3314 | PyObject * _argo0 = 0; | |
3315 | char *_kwnames[] = { "self", NULL }; | |
3316 | ||
3317 | self = self; | |
3318 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_AutoCompCancel",_kwnames,&_argo0)) | |
3319 | return NULL; | |
3320 | if (_argo0) { | |
3321 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3322 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
3323 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_AutoCompCancel. Expected _wxStyledTextCtrl_p."); | |
3324 | return NULL; | |
3325 | } | |
3326 | } | |
3327 | { | |
0e2ff151 | 3328 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 3329 | wxStyledTextCtrl_AutoCompCancel(_arg0); |
8a2fa5c8 | 3330 | |
0e2ff151 RD |
3331 | wxPyEndAllowThreads(__tstate); |
3332 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
3333 | } Py_INCREF(Py_None); |
3334 | _resultobj = Py_None; | |
3335 | return _resultobj; | |
3336 | } | |
3337 | ||
3338 | #define wxStyledTextCtrl_AutoCompActive(_swigobj) (_swigobj->AutoCompActive()) | |
3339 | static PyObject *_wrap_wxStyledTextCtrl_AutoCompActive(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3340 | PyObject * _resultobj; | |
3341 | bool _result; | |
3342 | wxStyledTextCtrl * _arg0; | |
3343 | PyObject * _argo0 = 0; | |
3344 | char *_kwnames[] = { "self", NULL }; | |
3345 | ||
3346 | self = self; | |
3347 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_AutoCompActive",_kwnames,&_argo0)) | |
3348 | return NULL; | |
3349 | if (_argo0) { | |
3350 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3351 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
3352 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_AutoCompActive. Expected _wxStyledTextCtrl_p."); | |
3353 | return NULL; | |
3354 | } | |
3355 | } | |
3356 | { | |
0e2ff151 | 3357 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 3358 | _result = (bool )wxStyledTextCtrl_AutoCompActive(_arg0); |
8a2fa5c8 | 3359 | |
0e2ff151 RD |
3360 | wxPyEndAllowThreads(__tstate); |
3361 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
3362 | } _resultobj = Py_BuildValue("i",_result); |
3363 | return _resultobj; | |
3364 | } | |
3365 | ||
3366 | #define wxStyledTextCtrl_AutoCompPosStart(_swigobj) (_swigobj->AutoCompPosStart()) | |
3367 | static PyObject *_wrap_wxStyledTextCtrl_AutoCompPosStart(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3368 | PyObject * _resultobj; | |
3369 | int _result; | |
3370 | wxStyledTextCtrl * _arg0; | |
3371 | PyObject * _argo0 = 0; | |
3372 | char *_kwnames[] = { "self", NULL }; | |
3373 | ||
3374 | self = self; | |
3375 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_AutoCompPosStart",_kwnames,&_argo0)) | |
3376 | return NULL; | |
3377 | if (_argo0) { | |
3378 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3379 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
3380 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_AutoCompPosStart. Expected _wxStyledTextCtrl_p."); | |
3381 | return NULL; | |
3382 | } | |
3383 | } | |
3384 | { | |
0e2ff151 | 3385 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 3386 | _result = (int )wxStyledTextCtrl_AutoCompPosStart(_arg0); |
8a2fa5c8 | 3387 | |
0e2ff151 RD |
3388 | wxPyEndAllowThreads(__tstate); |
3389 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
3390 | } _resultobj = Py_BuildValue("i",_result); |
3391 | return _resultobj; | |
3392 | } | |
3393 | ||
3394 | #define wxStyledTextCtrl_AutoCompComplete(_swigobj) (_swigobj->AutoCompComplete()) | |
3395 | static PyObject *_wrap_wxStyledTextCtrl_AutoCompComplete(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3396 | PyObject * _resultobj; | |
3397 | wxStyledTextCtrl * _arg0; | |
3398 | PyObject * _argo0 = 0; | |
3399 | char *_kwnames[] = { "self", NULL }; | |
3400 | ||
3401 | self = self; | |
3402 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_AutoCompComplete",_kwnames,&_argo0)) | |
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_AutoCompComplete. Expected _wxStyledTextCtrl_p."); | |
3408 | return NULL; | |
3409 | } | |
3410 | } | |
3411 | { | |
0e2ff151 | 3412 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 3413 | wxStyledTextCtrl_AutoCompComplete(_arg0); |
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_AutoCompStops(_swigobj,_swigarg0) (_swigobj->AutoCompStops(_swigarg0)) | |
3423 | static PyObject *_wrap_wxStyledTextCtrl_AutoCompStops(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3424 | PyObject * _resultobj; | |
3425 | wxStyledTextCtrl * _arg0; | |
3426 | wxString * _arg1; | |
3427 | PyObject * _argo0 = 0; | |
3428 | PyObject * _obj1 = 0; | |
3429 | char *_kwnames[] = { "self","characterSet", NULL }; | |
3430 | ||
3431 | self = self; | |
3432 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxStyledTextCtrl_AutoCompStops",_kwnames,&_argo0,&_obj1)) | |
3433 | return NULL; | |
3434 | if (_argo0) { | |
3435 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3436 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
3437 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_AutoCompStops. Expected _wxStyledTextCtrl_p."); | |
3438 | return NULL; | |
3439 | } | |
3440 | } | |
3441 | { | |
6824d4f9 RD |
3442 | _arg1 = wxString_in_helper(_obj1); |
3443 | if (_arg1 == NULL) | |
8a2fa5c8 | 3444 | return NULL; |
8a2fa5c8 RD |
3445 | } |
3446 | { | |
0e2ff151 | 3447 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 3448 | wxStyledTextCtrl_AutoCompStops(_arg0,*_arg1); |
8a2fa5c8 | 3449 | |
0e2ff151 RD |
3450 | wxPyEndAllowThreads(__tstate); |
3451 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
3452 | } Py_INCREF(Py_None); |
3453 | _resultobj = Py_None; | |
3454 | { | |
3455 | if (_obj1) | |
3456 | delete _arg1; | |
3457 | } | |
3458 | return _resultobj; | |
3459 | } | |
3460 | ||
3461 | #define wxStyledTextCtrl_AutoCompSetSeparator(_swigobj,_swigarg0) (_swigobj->AutoCompSetSeparator(_swigarg0)) | |
3462 | static PyObject *_wrap_wxStyledTextCtrl_AutoCompSetSeparator(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3463 | PyObject * _resultobj; | |
3464 | wxStyledTextCtrl * _arg0; | |
3465 | int _arg1; | |
3466 | PyObject * _argo0 = 0; | |
3467 | char *_kwnames[] = { "self","separatorCharacter", NULL }; | |
3468 | ||
3469 | self = self; | |
3470 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_AutoCompSetSeparator",_kwnames,&_argo0,&_arg1)) | |
3471 | return NULL; | |
3472 | if (_argo0) { | |
3473 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3474 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
3475 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_AutoCompSetSeparator. Expected _wxStyledTextCtrl_p."); | |
3476 | return NULL; | |
3477 | } | |
3478 | } | |
3479 | { | |
0e2ff151 | 3480 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 3481 | wxStyledTextCtrl_AutoCompSetSeparator(_arg0,_arg1); |
8a2fa5c8 | 3482 | |
0e2ff151 RD |
3483 | wxPyEndAllowThreads(__tstate); |
3484 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
3485 | } Py_INCREF(Py_None); |
3486 | _resultobj = Py_None; | |
3487 | return _resultobj; | |
3488 | } | |
3489 | ||
3490 | #define wxStyledTextCtrl_AutoCompGetSeparator(_swigobj) (_swigobj->AutoCompGetSeparator()) | |
3491 | static PyObject *_wrap_wxStyledTextCtrl_AutoCompGetSeparator(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3492 | PyObject * _resultobj; | |
3493 | int _result; | |
3494 | wxStyledTextCtrl * _arg0; | |
3495 | PyObject * _argo0 = 0; | |
3496 | char *_kwnames[] = { "self", NULL }; | |
3497 | ||
3498 | self = self; | |
3499 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_AutoCompGetSeparator",_kwnames,&_argo0)) | |
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_AutoCompGetSeparator. Expected _wxStyledTextCtrl_p."); | |
3505 | return NULL; | |
3506 | } | |
3507 | } | |
3508 | { | |
0e2ff151 | 3509 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 3510 | _result = (int )wxStyledTextCtrl_AutoCompGetSeparator(_arg0); |
8a2fa5c8 | 3511 | |
0e2ff151 RD |
3512 | wxPyEndAllowThreads(__tstate); |
3513 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
3514 | } _resultobj = Py_BuildValue("i",_result); |
3515 | return _resultobj; | |
3516 | } | |
3517 | ||
3518 | #define wxStyledTextCtrl_AutoCompSelect(_swigobj,_swigarg0) (_swigobj->AutoCompSelect(_swigarg0)) | |
3519 | static PyObject *_wrap_wxStyledTextCtrl_AutoCompSelect(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3520 | PyObject * _resultobj; | |
3521 | wxStyledTextCtrl * _arg0; | |
3522 | wxString * _arg1; | |
3523 | PyObject * _argo0 = 0; | |
3524 | PyObject * _obj1 = 0; | |
3525 | char *_kwnames[] = { "self","text", NULL }; | |
3526 | ||
3527 | self = self; | |
3528 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxStyledTextCtrl_AutoCompSelect",_kwnames,&_argo0,&_obj1)) | |
3529 | return NULL; | |
3530 | if (_argo0) { | |
3531 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3532 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
3533 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_AutoCompSelect. Expected _wxStyledTextCtrl_p."); | |
3534 | return NULL; | |
3535 | } | |
3536 | } | |
3537 | { | |
6824d4f9 RD |
3538 | _arg1 = wxString_in_helper(_obj1); |
3539 | if (_arg1 == NULL) | |
8a2fa5c8 | 3540 | return NULL; |
8a2fa5c8 RD |
3541 | } |
3542 | { | |
0e2ff151 | 3543 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 3544 | wxStyledTextCtrl_AutoCompSelect(_arg0,*_arg1); |
8a2fa5c8 | 3545 | |
0e2ff151 RD |
3546 | wxPyEndAllowThreads(__tstate); |
3547 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
3548 | } Py_INCREF(Py_None); |
3549 | _resultobj = Py_None; | |
3550 | { | |
3551 | if (_obj1) | |
3552 | delete _arg1; | |
3553 | } | |
3554 | return _resultobj; | |
3555 | } | |
3556 | ||
3557 | #define wxStyledTextCtrl_AutoCompSetCancelAtStart(_swigobj,_swigarg0) (_swigobj->AutoCompSetCancelAtStart(_swigarg0)) | |
3558 | static PyObject *_wrap_wxStyledTextCtrl_AutoCompSetCancelAtStart(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3559 | PyObject * _resultobj; | |
3560 | wxStyledTextCtrl * _arg0; | |
3561 | bool _arg1; | |
3562 | PyObject * _argo0 = 0; | |
3563 | int tempbool1; | |
3564 | char *_kwnames[] = { "self","cancel", NULL }; | |
3565 | ||
3566 | self = self; | |
3567 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_AutoCompSetCancelAtStart",_kwnames,&_argo0,&tempbool1)) | |
3568 | return NULL; | |
3569 | if (_argo0) { | |
3570 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3571 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
3572 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_AutoCompSetCancelAtStart. Expected _wxStyledTextCtrl_p."); | |
3573 | return NULL; | |
3574 | } | |
3575 | } | |
3576 | _arg1 = (bool ) tempbool1; | |
3577 | { | |
0e2ff151 | 3578 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 3579 | wxStyledTextCtrl_AutoCompSetCancelAtStart(_arg0,_arg1); |
8a2fa5c8 | 3580 | |
0e2ff151 RD |
3581 | wxPyEndAllowThreads(__tstate); |
3582 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
3583 | } Py_INCREF(Py_None); |
3584 | _resultobj = Py_None; | |
3585 | return _resultobj; | |
3586 | } | |
3587 | ||
3588 | #define wxStyledTextCtrl_AutoCompGetCancelAtStart(_swigobj) (_swigobj->AutoCompGetCancelAtStart()) | |
3589 | static PyObject *_wrap_wxStyledTextCtrl_AutoCompGetCancelAtStart(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3590 | PyObject * _resultobj; | |
3591 | bool _result; | |
3592 | wxStyledTextCtrl * _arg0; | |
3593 | PyObject * _argo0 = 0; | |
3594 | char *_kwnames[] = { "self", NULL }; | |
3595 | ||
3596 | self = self; | |
3597 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_AutoCompGetCancelAtStart",_kwnames,&_argo0)) | |
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_AutoCompGetCancelAtStart. Expected _wxStyledTextCtrl_p."); | |
3603 | return NULL; | |
3604 | } | |
3605 | } | |
3606 | { | |
0e2ff151 | 3607 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 3608 | _result = (bool )wxStyledTextCtrl_AutoCompGetCancelAtStart(_arg0); |
8a2fa5c8 | 3609 | |
0e2ff151 RD |
3610 | wxPyEndAllowThreads(__tstate); |
3611 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
3612 | } _resultobj = Py_BuildValue("i",_result); |
3613 | return _resultobj; | |
3614 | } | |
3615 | ||
3616 | #define wxStyledTextCtrl_AutoCompSetFillUps(_swigobj,_swigarg0) (_swigobj->AutoCompSetFillUps(_swigarg0)) | |
3617 | static PyObject *_wrap_wxStyledTextCtrl_AutoCompSetFillUps(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3618 | PyObject * _resultobj; | |
3619 | wxStyledTextCtrl * _arg0; | |
3620 | wxString * _arg1; | |
3621 | PyObject * _argo0 = 0; | |
3622 | PyObject * _obj1 = 0; | |
3623 | char *_kwnames[] = { "self","characterSet", NULL }; | |
3624 | ||
3625 | self = self; | |
3626 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxStyledTextCtrl_AutoCompSetFillUps",_kwnames,&_argo0,&_obj1)) | |
3627 | return NULL; | |
3628 | if (_argo0) { | |
3629 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3630 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
3631 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_AutoCompSetFillUps. Expected _wxStyledTextCtrl_p."); | |
3632 | return NULL; | |
3633 | } | |
3634 | } | |
3635 | { | |
6824d4f9 RD |
3636 | _arg1 = wxString_in_helper(_obj1); |
3637 | if (_arg1 == NULL) | |
8a2fa5c8 | 3638 | return NULL; |
8a2fa5c8 RD |
3639 | } |
3640 | { | |
0e2ff151 | 3641 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 3642 | wxStyledTextCtrl_AutoCompSetFillUps(_arg0,*_arg1); |
8a2fa5c8 | 3643 | |
0e2ff151 RD |
3644 | wxPyEndAllowThreads(__tstate); |
3645 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
3646 | } Py_INCREF(Py_None); |
3647 | _resultobj = Py_None; | |
3648 | { | |
3649 | if (_obj1) | |
3650 | delete _arg1; | |
3651 | } | |
3652 | return _resultobj; | |
3653 | } | |
3654 | ||
3655 | #define wxStyledTextCtrl_AutoCompSetChooseSingle(_swigobj,_swigarg0) (_swigobj->AutoCompSetChooseSingle(_swigarg0)) | |
3656 | static PyObject *_wrap_wxStyledTextCtrl_AutoCompSetChooseSingle(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3657 | PyObject * _resultobj; | |
3658 | wxStyledTextCtrl * _arg0; | |
3659 | bool _arg1; | |
3660 | PyObject * _argo0 = 0; | |
3661 | int tempbool1; | |
3662 | char *_kwnames[] = { "self","chooseSingle", NULL }; | |
3663 | ||
3664 | self = self; | |
3665 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_AutoCompSetChooseSingle",_kwnames,&_argo0,&tempbool1)) | |
3666 | return NULL; | |
3667 | if (_argo0) { | |
3668 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3669 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
3670 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_AutoCompSetChooseSingle. Expected _wxStyledTextCtrl_p."); | |
3671 | return NULL; | |
3672 | } | |
3673 | } | |
3674 | _arg1 = (bool ) tempbool1; | |
3675 | { | |
0e2ff151 | 3676 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 3677 | wxStyledTextCtrl_AutoCompSetChooseSingle(_arg0,_arg1); |
8a2fa5c8 | 3678 | |
0e2ff151 RD |
3679 | wxPyEndAllowThreads(__tstate); |
3680 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
3681 | } Py_INCREF(Py_None); |
3682 | _resultobj = Py_None; | |
3683 | return _resultobj; | |
3684 | } | |
3685 | ||
3686 | #define wxStyledTextCtrl_AutoCompGetChooseSingle(_swigobj) (_swigobj->AutoCompGetChooseSingle()) | |
3687 | static PyObject *_wrap_wxStyledTextCtrl_AutoCompGetChooseSingle(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3688 | PyObject * _resultobj; | |
3689 | bool _result; | |
3690 | wxStyledTextCtrl * _arg0; | |
3691 | PyObject * _argo0 = 0; | |
3692 | char *_kwnames[] = { "self", NULL }; | |
3693 | ||
3694 | self = self; | |
3695 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_AutoCompGetChooseSingle",_kwnames,&_argo0)) | |
3696 | return NULL; | |
3697 | if (_argo0) { | |
3698 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3699 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
3700 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_AutoCompGetChooseSingle. Expected _wxStyledTextCtrl_p."); | |
3701 | return NULL; | |
3702 | } | |
3703 | } | |
3704 | { | |
0e2ff151 | 3705 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 3706 | _result = (bool )wxStyledTextCtrl_AutoCompGetChooseSingle(_arg0); |
8a2fa5c8 | 3707 | |
0e2ff151 RD |
3708 | wxPyEndAllowThreads(__tstate); |
3709 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
3710 | } _resultobj = Py_BuildValue("i",_result); |
3711 | return _resultobj; | |
3712 | } | |
3713 | ||
3714 | #define wxStyledTextCtrl_AutoCompSetIgnoreCase(_swigobj,_swigarg0) (_swigobj->AutoCompSetIgnoreCase(_swigarg0)) | |
3715 | static PyObject *_wrap_wxStyledTextCtrl_AutoCompSetIgnoreCase(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3716 | PyObject * _resultobj; | |
3717 | wxStyledTextCtrl * _arg0; | |
3718 | bool _arg1; | |
3719 | PyObject * _argo0 = 0; | |
3720 | int tempbool1; | |
3721 | char *_kwnames[] = { "self","ignoreCase", NULL }; | |
3722 | ||
3723 | self = self; | |
3724 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_AutoCompSetIgnoreCase",_kwnames,&_argo0,&tempbool1)) | |
3725 | return NULL; | |
3726 | if (_argo0) { | |
3727 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3728 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
3729 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_AutoCompSetIgnoreCase. Expected _wxStyledTextCtrl_p."); | |
3730 | return NULL; | |
3731 | } | |
3732 | } | |
3733 | _arg1 = (bool ) tempbool1; | |
3734 | { | |
0e2ff151 | 3735 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 3736 | wxStyledTextCtrl_AutoCompSetIgnoreCase(_arg0,_arg1); |
8a2fa5c8 | 3737 | |
0e2ff151 RD |
3738 | wxPyEndAllowThreads(__tstate); |
3739 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
3740 | } Py_INCREF(Py_None); |
3741 | _resultobj = Py_None; | |
3742 | return _resultobj; | |
3743 | } | |
3744 | ||
3745 | #define wxStyledTextCtrl_AutoCompGetIgnoreCase(_swigobj) (_swigobj->AutoCompGetIgnoreCase()) | |
3746 | static PyObject *_wrap_wxStyledTextCtrl_AutoCompGetIgnoreCase(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3747 | PyObject * _resultobj; | |
3748 | bool _result; | |
3749 | wxStyledTextCtrl * _arg0; | |
3750 | PyObject * _argo0 = 0; | |
3751 | char *_kwnames[] = { "self", NULL }; | |
3752 | ||
3753 | self = self; | |
3754 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_AutoCompGetIgnoreCase",_kwnames,&_argo0)) | |
3755 | return NULL; | |
3756 | if (_argo0) { | |
3757 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3758 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
3759 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_AutoCompGetIgnoreCase. Expected _wxStyledTextCtrl_p."); | |
3760 | return NULL; | |
3761 | } | |
3762 | } | |
3763 | { | |
0e2ff151 | 3764 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 3765 | _result = (bool )wxStyledTextCtrl_AutoCompGetIgnoreCase(_arg0); |
8a2fa5c8 | 3766 | |
0e2ff151 RD |
3767 | wxPyEndAllowThreads(__tstate); |
3768 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
3769 | } _resultobj = Py_BuildValue("i",_result); |
3770 | return _resultobj; | |
3771 | } | |
3772 | ||
3773 | #define wxStyledTextCtrl_UserListShow(_swigobj,_swigarg0,_swigarg1) (_swigobj->UserListShow(_swigarg0,_swigarg1)) | |
3774 | static PyObject *_wrap_wxStyledTextCtrl_UserListShow(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3775 | PyObject * _resultobj; | |
3776 | wxStyledTextCtrl * _arg0; | |
3777 | int _arg1; | |
3778 | wxString * _arg2; | |
3779 | PyObject * _argo0 = 0; | |
3780 | PyObject * _obj2 = 0; | |
3781 | char *_kwnames[] = { "self","listType","itemList", NULL }; | |
3782 | ||
3783 | self = self; | |
3784 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxStyledTextCtrl_UserListShow",_kwnames,&_argo0,&_arg1,&_obj2)) | |
3785 | return NULL; | |
3786 | if (_argo0) { | |
3787 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3788 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
3789 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_UserListShow. Expected _wxStyledTextCtrl_p."); | |
3790 | return NULL; | |
3791 | } | |
3792 | } | |
3793 | { | |
6824d4f9 RD |
3794 | _arg2 = wxString_in_helper(_obj2); |
3795 | if (_arg2 == NULL) | |
8a2fa5c8 | 3796 | return NULL; |
8a2fa5c8 RD |
3797 | } |
3798 | { | |
0e2ff151 | 3799 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 3800 | wxStyledTextCtrl_UserListShow(_arg0,_arg1,*_arg2); |
8a2fa5c8 | 3801 | |
0e2ff151 RD |
3802 | wxPyEndAllowThreads(__tstate); |
3803 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
3804 | } Py_INCREF(Py_None); |
3805 | _resultobj = Py_None; | |
3806 | { | |
3807 | if (_obj2) | |
3808 | delete _arg2; | |
3809 | } | |
3810 | return _resultobj; | |
3811 | } | |
3812 | ||
3813 | #define wxStyledTextCtrl_AutoCompSetAutoHide(_swigobj,_swigarg0) (_swigobj->AutoCompSetAutoHide(_swigarg0)) | |
3814 | static PyObject *_wrap_wxStyledTextCtrl_AutoCompSetAutoHide(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3815 | PyObject * _resultobj; | |
3816 | wxStyledTextCtrl * _arg0; | |
3817 | bool _arg1; | |
3818 | PyObject * _argo0 = 0; | |
3819 | int tempbool1; | |
3820 | char *_kwnames[] = { "self","autoHide", NULL }; | |
3821 | ||
3822 | self = self; | |
3823 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_AutoCompSetAutoHide",_kwnames,&_argo0,&tempbool1)) | |
3824 | return NULL; | |
3825 | if (_argo0) { | |
3826 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3827 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
3828 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_AutoCompSetAutoHide. Expected _wxStyledTextCtrl_p."); | |
3829 | return NULL; | |
3830 | } | |
3831 | } | |
3832 | _arg1 = (bool ) tempbool1; | |
3833 | { | |
0e2ff151 | 3834 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 3835 | wxStyledTextCtrl_AutoCompSetAutoHide(_arg0,_arg1); |
8a2fa5c8 | 3836 | |
0e2ff151 RD |
3837 | wxPyEndAllowThreads(__tstate); |
3838 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
3839 | } Py_INCREF(Py_None); |
3840 | _resultobj = Py_None; | |
3841 | return _resultobj; | |
3842 | } | |
3843 | ||
3844 | #define wxStyledTextCtrl_AutoCompGetAutoHide(_swigobj) (_swigobj->AutoCompGetAutoHide()) | |
3845 | static PyObject *_wrap_wxStyledTextCtrl_AutoCompGetAutoHide(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3846 | PyObject * _resultobj; | |
3847 | bool _result; | |
3848 | wxStyledTextCtrl * _arg0; | |
3849 | PyObject * _argo0 = 0; | |
3850 | char *_kwnames[] = { "self", NULL }; | |
3851 | ||
3852 | self = self; | |
3853 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_AutoCompGetAutoHide",_kwnames,&_argo0)) | |
3854 | return NULL; | |
3855 | if (_argo0) { | |
3856 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3857 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
3858 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_AutoCompGetAutoHide. Expected _wxStyledTextCtrl_p."); | |
3859 | return NULL; | |
3860 | } | |
3861 | } | |
3862 | { | |
0e2ff151 | 3863 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 3864 | _result = (bool )wxStyledTextCtrl_AutoCompGetAutoHide(_arg0); |
8a2fa5c8 | 3865 | |
0e2ff151 RD |
3866 | wxPyEndAllowThreads(__tstate); |
3867 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
3868 | } _resultobj = Py_BuildValue("i",_result); |
3869 | return _resultobj; | |
3870 | } | |
3871 | ||
c3bfa1cb RD |
3872 | #define wxStyledTextCtrl_AutoCompSetDropRestOfWord(_swigobj,_swigarg0) (_swigobj->AutoCompSetDropRestOfWord(_swigarg0)) |
3873 | static PyObject *_wrap_wxStyledTextCtrl_AutoCompSetDropRestOfWord(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3874 | PyObject * _resultobj; | |
3875 | wxStyledTextCtrl * _arg0; | |
3876 | bool _arg1; | |
3877 | PyObject * _argo0 = 0; | |
3878 | int tempbool1; | |
3879 | char *_kwnames[] = { "self","dropRestOfWord", NULL }; | |
3880 | ||
3881 | self = self; | |
3882 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_AutoCompSetDropRestOfWord",_kwnames,&_argo0,&tempbool1)) | |
3883 | return NULL; | |
3884 | if (_argo0) { | |
3885 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3886 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
3887 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_AutoCompSetDropRestOfWord. Expected _wxStyledTextCtrl_p."); | |
3888 | return NULL; | |
3889 | } | |
3890 | } | |
3891 | _arg1 = (bool ) tempbool1; | |
3892 | { | |
3893 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3894 | wxStyledTextCtrl_AutoCompSetDropRestOfWord(_arg0,_arg1); | |
3895 | ||
3896 | wxPyEndAllowThreads(__tstate); | |
3897 | if (PyErr_Occurred()) return NULL; | |
3898 | } Py_INCREF(Py_None); | |
3899 | _resultobj = Py_None; | |
3900 | return _resultobj; | |
3901 | } | |
3902 | ||
3903 | #define wxStyledTextCtrl_AutoCompGetDropRestOfWord(_swigobj) (_swigobj->AutoCompGetDropRestOfWord()) | |
3904 | static PyObject *_wrap_wxStyledTextCtrl_AutoCompGetDropRestOfWord(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3905 | PyObject * _resultobj; | |
3906 | bool _result; | |
3907 | wxStyledTextCtrl * _arg0; | |
3908 | PyObject * _argo0 = 0; | |
3909 | char *_kwnames[] = { "self", NULL }; | |
3910 | ||
3911 | self = self; | |
3912 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_AutoCompGetDropRestOfWord",_kwnames,&_argo0)) | |
3913 | return NULL; | |
3914 | if (_argo0) { | |
3915 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3916 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
3917 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_AutoCompGetDropRestOfWord. Expected _wxStyledTextCtrl_p."); | |
3918 | return NULL; | |
3919 | } | |
3920 | } | |
3921 | { | |
3922 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3923 | _result = (bool )wxStyledTextCtrl_AutoCompGetDropRestOfWord(_arg0); | |
3924 | ||
3925 | wxPyEndAllowThreads(__tstate); | |
3926 | if (PyErr_Occurred()) return NULL; | |
3927 | } _resultobj = Py_BuildValue("i",_result); | |
3928 | return _resultobj; | |
3929 | } | |
3930 | ||
1fded56b RD |
3931 | #define wxStyledTextCtrl_RegisterImage(_swigobj,_swigarg0,_swigarg1) (_swigobj->RegisterImage(_swigarg0,_swigarg1)) |
3932 | static PyObject *_wrap_wxStyledTextCtrl_RegisterImage(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3933 | PyObject * _resultobj; | |
3934 | wxStyledTextCtrl * _arg0; | |
3935 | int _arg1; | |
3936 | wxBitmap * _arg2; | |
3937 | PyObject * _argo0 = 0; | |
3938 | PyObject * _argo2 = 0; | |
3939 | char *_kwnames[] = { "self","type","bmp", NULL }; | |
3940 | ||
3941 | self = self; | |
3942 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxStyledTextCtrl_RegisterImage",_kwnames,&_argo0,&_arg1,&_argo2)) | |
3943 | return NULL; | |
3944 | if (_argo0) { | |
3945 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3946 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
3947 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_RegisterImage. Expected _wxStyledTextCtrl_p."); | |
3948 | return NULL; | |
3949 | } | |
3950 | } | |
3951 | if (_argo2) { | |
3952 | if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxBitmap_p")) { | |
3953 | PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxStyledTextCtrl_RegisterImage. Expected _wxBitmap_p."); | |
3954 | return NULL; | |
3955 | } | |
3956 | } | |
3957 | { | |
3958 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3959 | wxStyledTextCtrl_RegisterImage(_arg0,_arg1,*_arg2); | |
3960 | ||
3961 | wxPyEndAllowThreads(__tstate); | |
3962 | if (PyErr_Occurred()) return NULL; | |
3963 | } Py_INCREF(Py_None); | |
3964 | _resultobj = Py_None; | |
3965 | return _resultobj; | |
3966 | } | |
3967 | ||
3968 | #define wxStyledTextCtrl_ClearRegisteredImages(_swigobj) (_swigobj->ClearRegisteredImages()) | |
3969 | static PyObject *_wrap_wxStyledTextCtrl_ClearRegisteredImages(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3970 | PyObject * _resultobj; | |
3971 | wxStyledTextCtrl * _arg0; | |
3972 | PyObject * _argo0 = 0; | |
3973 | char *_kwnames[] = { "self", NULL }; | |
3974 | ||
3975 | self = self; | |
3976 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_ClearRegisteredImages",_kwnames,&_argo0)) | |
3977 | return NULL; | |
3978 | if (_argo0) { | |
3979 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3980 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
3981 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_ClearRegisteredImages. Expected _wxStyledTextCtrl_p."); | |
3982 | return NULL; | |
3983 | } | |
3984 | } | |
3985 | { | |
3986 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3987 | wxStyledTextCtrl_ClearRegisteredImages(_arg0); | |
3988 | ||
3989 | wxPyEndAllowThreads(__tstate); | |
3990 | if (PyErr_Occurred()) return NULL; | |
3991 | } Py_INCREF(Py_None); | |
3992 | _resultobj = Py_None; | |
3993 | return _resultobj; | |
3994 | } | |
3995 | ||
3996 | #define wxStyledTextCtrl_AutoCompGetTypeSeparator(_swigobj) (_swigobj->AutoCompGetTypeSeparator()) | |
3997 | static PyObject *_wrap_wxStyledTextCtrl_AutoCompGetTypeSeparator(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3998 | PyObject * _resultobj; | |
3999 | int _result; | |
4000 | wxStyledTextCtrl * _arg0; | |
4001 | PyObject * _argo0 = 0; | |
4002 | char *_kwnames[] = { "self", NULL }; | |
4003 | ||
4004 | self = self; | |
4005 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_AutoCompGetTypeSeparator",_kwnames,&_argo0)) | |
4006 | return NULL; | |
4007 | if (_argo0) { | |
4008 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4009 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
4010 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_AutoCompGetTypeSeparator. Expected _wxStyledTextCtrl_p."); | |
4011 | return NULL; | |
4012 | } | |
4013 | } | |
4014 | { | |
4015 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4016 | _result = (int )wxStyledTextCtrl_AutoCompGetTypeSeparator(_arg0); | |
4017 | ||
4018 | wxPyEndAllowThreads(__tstate); | |
4019 | if (PyErr_Occurred()) return NULL; | |
4020 | } _resultobj = Py_BuildValue("i",_result); | |
4021 | return _resultobj; | |
4022 | } | |
4023 | ||
4024 | #define wxStyledTextCtrl_AutoCompSetTypeSeparator(_swigobj,_swigarg0) (_swigobj->AutoCompSetTypeSeparator(_swigarg0)) | |
4025 | static PyObject *_wrap_wxStyledTextCtrl_AutoCompSetTypeSeparator(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4026 | PyObject * _resultobj; | |
4027 | wxStyledTextCtrl * _arg0; | |
4028 | int _arg1; | |
4029 | PyObject * _argo0 = 0; | |
4030 | char *_kwnames[] = { "self","separatorCharacter", NULL }; | |
4031 | ||
4032 | self = self; | |
4033 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_AutoCompSetTypeSeparator",_kwnames,&_argo0,&_arg1)) | |
4034 | return NULL; | |
4035 | if (_argo0) { | |
4036 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4037 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
4038 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_AutoCompSetTypeSeparator. Expected _wxStyledTextCtrl_p."); | |
4039 | return NULL; | |
4040 | } | |
4041 | } | |
4042 | { | |
4043 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4044 | wxStyledTextCtrl_AutoCompSetTypeSeparator(_arg0,_arg1); | |
4045 | ||
4046 | wxPyEndAllowThreads(__tstate); | |
4047 | if (PyErr_Occurred()) return NULL; | |
4048 | } Py_INCREF(Py_None); | |
4049 | _resultobj = Py_None; | |
4050 | return _resultobj; | |
4051 | } | |
4052 | ||
8a2fa5c8 RD |
4053 | #define wxStyledTextCtrl_SetIndent(_swigobj,_swigarg0) (_swigobj->SetIndent(_swigarg0)) |
4054 | static PyObject *_wrap_wxStyledTextCtrl_SetIndent(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4055 | PyObject * _resultobj; | |
4056 | wxStyledTextCtrl * _arg0; | |
4057 | int _arg1; | |
4058 | PyObject * _argo0 = 0; | |
4059 | char *_kwnames[] = { "self","indentSize", NULL }; | |
4060 | ||
4061 | self = self; | |
4062 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_SetIndent",_kwnames,&_argo0,&_arg1)) | |
4063 | return NULL; | |
4064 | if (_argo0) { | |
4065 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4066 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
4067 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetIndent. Expected _wxStyledTextCtrl_p."); | |
4068 | return NULL; | |
4069 | } | |
4070 | } | |
4071 | { | |
0e2ff151 | 4072 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 4073 | wxStyledTextCtrl_SetIndent(_arg0,_arg1); |
8a2fa5c8 | 4074 | |
0e2ff151 RD |
4075 | wxPyEndAllowThreads(__tstate); |
4076 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
4077 | } Py_INCREF(Py_None); |
4078 | _resultobj = Py_None; | |
4079 | return _resultobj; | |
4080 | } | |
4081 | ||
4082 | #define wxStyledTextCtrl_GetIndent(_swigobj) (_swigobj->GetIndent()) | |
4083 | static PyObject *_wrap_wxStyledTextCtrl_GetIndent(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4084 | PyObject * _resultobj; | |
4085 | int _result; | |
4086 | wxStyledTextCtrl * _arg0; | |
4087 | PyObject * _argo0 = 0; | |
4088 | char *_kwnames[] = { "self", NULL }; | |
4089 | ||
4090 | self = self; | |
4091 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetIndent",_kwnames,&_argo0)) | |
4092 | return NULL; | |
4093 | if (_argo0) { | |
4094 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4095 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
4096 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetIndent. Expected _wxStyledTextCtrl_p."); | |
4097 | return NULL; | |
4098 | } | |
4099 | } | |
4100 | { | |
0e2ff151 | 4101 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 4102 | _result = (int )wxStyledTextCtrl_GetIndent(_arg0); |
8a2fa5c8 | 4103 | |
0e2ff151 RD |
4104 | wxPyEndAllowThreads(__tstate); |
4105 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
4106 | } _resultobj = Py_BuildValue("i",_result); |
4107 | return _resultobj; | |
4108 | } | |
4109 | ||
4110 | #define wxStyledTextCtrl_SetUseTabs(_swigobj,_swigarg0) (_swigobj->SetUseTabs(_swigarg0)) | |
4111 | static PyObject *_wrap_wxStyledTextCtrl_SetUseTabs(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4112 | PyObject * _resultobj; | |
4113 | wxStyledTextCtrl * _arg0; | |
4114 | bool _arg1; | |
4115 | PyObject * _argo0 = 0; | |
4116 | int tempbool1; | |
4117 | char *_kwnames[] = { "self","useTabs", NULL }; | |
4118 | ||
4119 | self = self; | |
4120 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_SetUseTabs",_kwnames,&_argo0,&tempbool1)) | |
4121 | return NULL; | |
4122 | if (_argo0) { | |
4123 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4124 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
4125 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetUseTabs. Expected _wxStyledTextCtrl_p."); | |
4126 | return NULL; | |
4127 | } | |
4128 | } | |
4129 | _arg1 = (bool ) tempbool1; | |
4130 | { | |
0e2ff151 | 4131 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 4132 | wxStyledTextCtrl_SetUseTabs(_arg0,_arg1); |
8a2fa5c8 | 4133 | |
0e2ff151 RD |
4134 | wxPyEndAllowThreads(__tstate); |
4135 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
4136 | } Py_INCREF(Py_None); |
4137 | _resultobj = Py_None; | |
4138 | return _resultobj; | |
4139 | } | |
4140 | ||
4141 | #define wxStyledTextCtrl_GetUseTabs(_swigobj) (_swigobj->GetUseTabs()) | |
4142 | static PyObject *_wrap_wxStyledTextCtrl_GetUseTabs(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4143 | PyObject * _resultobj; | |
4144 | bool _result; | |
4145 | wxStyledTextCtrl * _arg0; | |
4146 | PyObject * _argo0 = 0; | |
4147 | char *_kwnames[] = { "self", NULL }; | |
4148 | ||
4149 | self = self; | |
4150 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetUseTabs",_kwnames,&_argo0)) | |
4151 | return NULL; | |
4152 | if (_argo0) { | |
4153 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4154 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
4155 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetUseTabs. Expected _wxStyledTextCtrl_p."); | |
4156 | return NULL; | |
4157 | } | |
4158 | } | |
4159 | { | |
0e2ff151 | 4160 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 4161 | _result = (bool )wxStyledTextCtrl_GetUseTabs(_arg0); |
8a2fa5c8 | 4162 | |
0e2ff151 RD |
4163 | wxPyEndAllowThreads(__tstate); |
4164 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
4165 | } _resultobj = Py_BuildValue("i",_result); |
4166 | return _resultobj; | |
4167 | } | |
4168 | ||
4169 | #define wxStyledTextCtrl_SetLineIndentation(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetLineIndentation(_swigarg0,_swigarg1)) | |
4170 | static PyObject *_wrap_wxStyledTextCtrl_SetLineIndentation(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4171 | PyObject * _resultobj; | |
4172 | wxStyledTextCtrl * _arg0; | |
4173 | int _arg1; | |
4174 | int _arg2; | |
4175 | PyObject * _argo0 = 0; | |
4176 | char *_kwnames[] = { "self","line","indentSize", NULL }; | |
4177 | ||
4178 | self = self; | |
4179 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxStyledTextCtrl_SetLineIndentation",_kwnames,&_argo0,&_arg1,&_arg2)) | |
4180 | return NULL; | |
4181 | if (_argo0) { | |
4182 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4183 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
4184 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetLineIndentation. Expected _wxStyledTextCtrl_p."); | |
4185 | return NULL; | |
4186 | } | |
4187 | } | |
4188 | { | |
0e2ff151 | 4189 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 4190 | wxStyledTextCtrl_SetLineIndentation(_arg0,_arg1,_arg2); |
8a2fa5c8 | 4191 | |
0e2ff151 RD |
4192 | wxPyEndAllowThreads(__tstate); |
4193 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
4194 | } Py_INCREF(Py_None); |
4195 | _resultobj = Py_None; | |
4196 | return _resultobj; | |
4197 | } | |
4198 | ||
4199 | #define wxStyledTextCtrl_GetLineIndentation(_swigobj,_swigarg0) (_swigobj->GetLineIndentation(_swigarg0)) | |
4200 | static PyObject *_wrap_wxStyledTextCtrl_GetLineIndentation(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4201 | PyObject * _resultobj; | |
4202 | int _result; | |
4203 | wxStyledTextCtrl * _arg0; | |
4204 | int _arg1; | |
4205 | PyObject * _argo0 = 0; | |
4206 | char *_kwnames[] = { "self","line", NULL }; | |
4207 | ||
4208 | self = self; | |
4209 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_GetLineIndentation",_kwnames,&_argo0,&_arg1)) | |
4210 | return NULL; | |
4211 | if (_argo0) { | |
4212 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4213 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
4214 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetLineIndentation. Expected _wxStyledTextCtrl_p."); | |
4215 | return NULL; | |
4216 | } | |
4217 | } | |
4218 | { | |
0e2ff151 | 4219 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 4220 | _result = (int )wxStyledTextCtrl_GetLineIndentation(_arg0,_arg1); |
8a2fa5c8 | 4221 | |
0e2ff151 RD |
4222 | wxPyEndAllowThreads(__tstate); |
4223 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
4224 | } _resultobj = Py_BuildValue("i",_result); |
4225 | return _resultobj; | |
4226 | } | |
4227 | ||
4228 | #define wxStyledTextCtrl_GetLineIndentPosition(_swigobj,_swigarg0) (_swigobj->GetLineIndentPosition(_swigarg0)) | |
4229 | static PyObject *_wrap_wxStyledTextCtrl_GetLineIndentPosition(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4230 | PyObject * _resultobj; | |
4231 | int _result; | |
4232 | wxStyledTextCtrl * _arg0; | |
4233 | int _arg1; | |
4234 | PyObject * _argo0 = 0; | |
4235 | char *_kwnames[] = { "self","line", NULL }; | |
4236 | ||
4237 | self = self; | |
4238 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_GetLineIndentPosition",_kwnames,&_argo0,&_arg1)) | |
4239 | return NULL; | |
4240 | if (_argo0) { | |
4241 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4242 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
4243 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetLineIndentPosition. Expected _wxStyledTextCtrl_p."); | |
4244 | return NULL; | |
4245 | } | |
4246 | } | |
4247 | { | |
0e2ff151 | 4248 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 4249 | _result = (int )wxStyledTextCtrl_GetLineIndentPosition(_arg0,_arg1); |
8a2fa5c8 | 4250 | |
0e2ff151 RD |
4251 | wxPyEndAllowThreads(__tstate); |
4252 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
4253 | } _resultobj = Py_BuildValue("i",_result); |
4254 | return _resultobj; | |
4255 | } | |
4256 | ||
4257 | #define wxStyledTextCtrl_GetColumn(_swigobj,_swigarg0) (_swigobj->GetColumn(_swigarg0)) | |
4258 | static PyObject *_wrap_wxStyledTextCtrl_GetColumn(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4259 | PyObject * _resultobj; | |
4260 | int _result; | |
4261 | wxStyledTextCtrl * _arg0; | |
4262 | int _arg1; | |
4263 | PyObject * _argo0 = 0; | |
4264 | char *_kwnames[] = { "self","pos", NULL }; | |
4265 | ||
4266 | self = self; | |
4267 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_GetColumn",_kwnames,&_argo0,&_arg1)) | |
4268 | return NULL; | |
4269 | if (_argo0) { | |
4270 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4271 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
4272 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetColumn. Expected _wxStyledTextCtrl_p."); | |
4273 | return NULL; | |
4274 | } | |
4275 | } | |
4276 | { | |
0e2ff151 | 4277 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 4278 | _result = (int )wxStyledTextCtrl_GetColumn(_arg0,_arg1); |
8a2fa5c8 | 4279 | |
0e2ff151 RD |
4280 | wxPyEndAllowThreads(__tstate); |
4281 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
4282 | } _resultobj = Py_BuildValue("i",_result); |
4283 | return _resultobj; | |
4284 | } | |
4285 | ||
4286 | #define wxStyledTextCtrl_SetUseHorizontalScrollBar(_swigobj,_swigarg0) (_swigobj->SetUseHorizontalScrollBar(_swigarg0)) | |
4287 | static PyObject *_wrap_wxStyledTextCtrl_SetUseHorizontalScrollBar(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4288 | PyObject * _resultobj; | |
4289 | wxStyledTextCtrl * _arg0; | |
4290 | bool _arg1; | |
4291 | PyObject * _argo0 = 0; | |
4292 | int tempbool1; | |
4293 | char *_kwnames[] = { "self","show", NULL }; | |
4294 | ||
4295 | self = self; | |
4296 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_SetUseHorizontalScrollBar",_kwnames,&_argo0,&tempbool1)) | |
4297 | return NULL; | |
4298 | if (_argo0) { | |
4299 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4300 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
4301 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetUseHorizontalScrollBar. Expected _wxStyledTextCtrl_p."); | |
4302 | return NULL; | |
4303 | } | |
4304 | } | |
4305 | _arg1 = (bool ) tempbool1; | |
4306 | { | |
0e2ff151 | 4307 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 4308 | wxStyledTextCtrl_SetUseHorizontalScrollBar(_arg0,_arg1); |
8a2fa5c8 | 4309 | |
0e2ff151 RD |
4310 | wxPyEndAllowThreads(__tstate); |
4311 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
4312 | } Py_INCREF(Py_None); |
4313 | _resultobj = Py_None; | |
4314 | return _resultobj; | |
4315 | } | |
4316 | ||
4317 | #define wxStyledTextCtrl_GetUseHorizontalScrollBar(_swigobj) (_swigobj->GetUseHorizontalScrollBar()) | |
4318 | static PyObject *_wrap_wxStyledTextCtrl_GetUseHorizontalScrollBar(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4319 | PyObject * _resultobj; | |
4320 | bool _result; | |
4321 | wxStyledTextCtrl * _arg0; | |
4322 | PyObject * _argo0 = 0; | |
4323 | char *_kwnames[] = { "self", NULL }; | |
4324 | ||
4325 | self = self; | |
4326 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetUseHorizontalScrollBar",_kwnames,&_argo0)) | |
4327 | return NULL; | |
4328 | if (_argo0) { | |
4329 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4330 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
4331 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetUseHorizontalScrollBar. Expected _wxStyledTextCtrl_p."); | |
4332 | return NULL; | |
4333 | } | |
4334 | } | |
4335 | { | |
0e2ff151 | 4336 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 4337 | _result = (bool )wxStyledTextCtrl_GetUseHorizontalScrollBar(_arg0); |
8a2fa5c8 | 4338 | |
0e2ff151 RD |
4339 | wxPyEndAllowThreads(__tstate); |
4340 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
4341 | } _resultobj = Py_BuildValue("i",_result); |
4342 | return _resultobj; | |
4343 | } | |
4344 | ||
4345 | #define wxStyledTextCtrl_SetIndentationGuides(_swigobj,_swigarg0) (_swigobj->SetIndentationGuides(_swigarg0)) | |
4346 | static PyObject *_wrap_wxStyledTextCtrl_SetIndentationGuides(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4347 | PyObject * _resultobj; | |
4348 | wxStyledTextCtrl * _arg0; | |
4349 | bool _arg1; | |
4350 | PyObject * _argo0 = 0; | |
4351 | int tempbool1; | |
4352 | char *_kwnames[] = { "self","show", NULL }; | |
4353 | ||
4354 | self = self; | |
4355 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_SetIndentationGuides",_kwnames,&_argo0,&tempbool1)) | |
4356 | return NULL; | |
4357 | if (_argo0) { | |
4358 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4359 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
4360 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetIndentationGuides. Expected _wxStyledTextCtrl_p."); | |
4361 | return NULL; | |
4362 | } | |
4363 | } | |
4364 | _arg1 = (bool ) tempbool1; | |
4365 | { | |
0e2ff151 | 4366 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 4367 | wxStyledTextCtrl_SetIndentationGuides(_arg0,_arg1); |
8a2fa5c8 | 4368 | |
0e2ff151 RD |
4369 | wxPyEndAllowThreads(__tstate); |
4370 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
4371 | } Py_INCREF(Py_None); |
4372 | _resultobj = Py_None; | |
4373 | return _resultobj; | |
4374 | } | |
4375 | ||
4376 | #define wxStyledTextCtrl_GetIndentationGuides(_swigobj) (_swigobj->GetIndentationGuides()) | |
4377 | static PyObject *_wrap_wxStyledTextCtrl_GetIndentationGuides(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4378 | PyObject * _resultobj; | |
4379 | bool _result; | |
4380 | wxStyledTextCtrl * _arg0; | |
4381 | PyObject * _argo0 = 0; | |
4382 | char *_kwnames[] = { "self", NULL }; | |
4383 | ||
4384 | self = self; | |
4385 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetIndentationGuides",_kwnames,&_argo0)) | |
4386 | return NULL; | |
4387 | if (_argo0) { | |
4388 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4389 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
4390 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetIndentationGuides. Expected _wxStyledTextCtrl_p."); | |
4391 | return NULL; | |
4392 | } | |
4393 | } | |
4394 | { | |
0e2ff151 | 4395 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 4396 | _result = (bool )wxStyledTextCtrl_GetIndentationGuides(_arg0); |
8a2fa5c8 | 4397 | |
0e2ff151 RD |
4398 | wxPyEndAllowThreads(__tstate); |
4399 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
4400 | } _resultobj = Py_BuildValue("i",_result); |
4401 | return _resultobj; | |
4402 | } | |
4403 | ||
4404 | #define wxStyledTextCtrl_SetHighlightGuide(_swigobj,_swigarg0) (_swigobj->SetHighlightGuide(_swigarg0)) | |
4405 | static PyObject *_wrap_wxStyledTextCtrl_SetHighlightGuide(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4406 | PyObject * _resultobj; | |
4407 | wxStyledTextCtrl * _arg0; | |
4408 | int _arg1; | |
4409 | PyObject * _argo0 = 0; | |
4410 | char *_kwnames[] = { "self","column", NULL }; | |
4411 | ||
4412 | self = self; | |
4413 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_SetHighlightGuide",_kwnames,&_argo0,&_arg1)) | |
4414 | return NULL; | |
4415 | if (_argo0) { | |
4416 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4417 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
4418 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetHighlightGuide. Expected _wxStyledTextCtrl_p."); | |
4419 | return NULL; | |
4420 | } | |
4421 | } | |
4422 | { | |
0e2ff151 | 4423 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 4424 | wxStyledTextCtrl_SetHighlightGuide(_arg0,_arg1); |
8a2fa5c8 | 4425 | |
0e2ff151 RD |
4426 | wxPyEndAllowThreads(__tstate); |
4427 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
4428 | } Py_INCREF(Py_None); |
4429 | _resultobj = Py_None; | |
4430 | return _resultobj; | |
4431 | } | |
4432 | ||
4433 | #define wxStyledTextCtrl_GetHighlightGuide(_swigobj) (_swigobj->GetHighlightGuide()) | |
4434 | static PyObject *_wrap_wxStyledTextCtrl_GetHighlightGuide(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4435 | PyObject * _resultobj; | |
4436 | int _result; | |
4437 | wxStyledTextCtrl * _arg0; | |
4438 | PyObject * _argo0 = 0; | |
4439 | char *_kwnames[] = { "self", NULL }; | |
4440 | ||
4441 | self = self; | |
4442 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetHighlightGuide",_kwnames,&_argo0)) | |
4443 | return NULL; | |
4444 | if (_argo0) { | |
4445 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4446 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
4447 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetHighlightGuide. Expected _wxStyledTextCtrl_p."); | |
4448 | return NULL; | |
4449 | } | |
4450 | } | |
4451 | { | |
0e2ff151 | 4452 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 4453 | _result = (int )wxStyledTextCtrl_GetHighlightGuide(_arg0); |
8a2fa5c8 | 4454 | |
0e2ff151 RD |
4455 | wxPyEndAllowThreads(__tstate); |
4456 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
4457 | } _resultobj = Py_BuildValue("i",_result); |
4458 | return _resultobj; | |
4459 | } | |
4460 | ||
4461 | #define wxStyledTextCtrl_GetLineEndPosition(_swigobj,_swigarg0) (_swigobj->GetLineEndPosition(_swigarg0)) | |
4462 | static PyObject *_wrap_wxStyledTextCtrl_GetLineEndPosition(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4463 | PyObject * _resultobj; | |
4464 | int _result; | |
4465 | wxStyledTextCtrl * _arg0; | |
4466 | int _arg1; | |
4467 | PyObject * _argo0 = 0; | |
4468 | char *_kwnames[] = { "self","line", NULL }; | |
4469 | ||
4470 | self = self; | |
4471 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_GetLineEndPosition",_kwnames,&_argo0,&_arg1)) | |
4472 | return NULL; | |
4473 | if (_argo0) { | |
4474 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4475 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
4476 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetLineEndPosition. Expected _wxStyledTextCtrl_p."); | |
4477 | return NULL; | |
4478 | } | |
4479 | } | |
4480 | { | |
0e2ff151 | 4481 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 4482 | _result = (int )wxStyledTextCtrl_GetLineEndPosition(_arg0,_arg1); |
8a2fa5c8 | 4483 | |
0e2ff151 RD |
4484 | wxPyEndAllowThreads(__tstate); |
4485 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
4486 | } _resultobj = Py_BuildValue("i",_result); |
4487 | return _resultobj; | |
4488 | } | |
4489 | ||
4490 | #define wxStyledTextCtrl_GetCodePage(_swigobj) (_swigobj->GetCodePage()) | |
4491 | static PyObject *_wrap_wxStyledTextCtrl_GetCodePage(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4492 | PyObject * _resultobj; | |
4493 | int _result; | |
4494 | wxStyledTextCtrl * _arg0; | |
4495 | PyObject * _argo0 = 0; | |
4496 | char *_kwnames[] = { "self", NULL }; | |
4497 | ||
4498 | self = self; | |
4499 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetCodePage",_kwnames,&_argo0)) | |
4500 | return NULL; | |
4501 | if (_argo0) { | |
4502 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4503 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
4504 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetCodePage. Expected _wxStyledTextCtrl_p."); | |
4505 | return NULL; | |
4506 | } | |
4507 | } | |
4508 | { | |
0e2ff151 | 4509 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 4510 | _result = (int )wxStyledTextCtrl_GetCodePage(_arg0); |
8a2fa5c8 | 4511 | |
0e2ff151 RD |
4512 | wxPyEndAllowThreads(__tstate); |
4513 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
4514 | } _resultobj = Py_BuildValue("i",_result); |
4515 | return _resultobj; | |
4516 | } | |
4517 | ||
4518 | #define wxStyledTextCtrl_GetCaretForeground(_swigobj) (_swigobj->GetCaretForeground()) | |
4519 | static PyObject *_wrap_wxStyledTextCtrl_GetCaretForeground(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4520 | PyObject * _resultobj; | |
4521 | wxColour * _result; | |
4522 | wxStyledTextCtrl * _arg0; | |
4523 | PyObject * _argo0 = 0; | |
4524 | char *_kwnames[] = { "self", NULL }; | |
4525 | char _ptemp[128]; | |
4526 | ||
4527 | self = self; | |
4528 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetCaretForeground",_kwnames,&_argo0)) | |
4529 | return NULL; | |
4530 | if (_argo0) { | |
4531 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4532 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
4533 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetCaretForeground. Expected _wxStyledTextCtrl_p."); | |
4534 | return NULL; | |
4535 | } | |
4536 | } | |
4537 | { | |
0e2ff151 | 4538 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 4539 | _result = new wxColour (wxStyledTextCtrl_GetCaretForeground(_arg0)); |
8a2fa5c8 | 4540 | |
0e2ff151 RD |
4541 | wxPyEndAllowThreads(__tstate); |
4542 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
4543 | } SWIG_MakePtr(_ptemp, (void *) _result,"_wxColour_p"); |
4544 | _resultobj = Py_BuildValue("s",_ptemp); | |
4545 | return _resultobj; | |
4546 | } | |
4547 | ||
4548 | #define wxStyledTextCtrl_GetReadOnly(_swigobj) (_swigobj->GetReadOnly()) | |
4549 | static PyObject *_wrap_wxStyledTextCtrl_GetReadOnly(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4550 | PyObject * _resultobj; | |
4551 | bool _result; | |
4552 | wxStyledTextCtrl * _arg0; | |
4553 | PyObject * _argo0 = 0; | |
4554 | char *_kwnames[] = { "self", NULL }; | |
4555 | ||
4556 | self = self; | |
4557 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetReadOnly",_kwnames,&_argo0)) | |
4558 | return NULL; | |
4559 | if (_argo0) { | |
4560 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4561 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
4562 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetReadOnly. Expected _wxStyledTextCtrl_p."); | |
4563 | return NULL; | |
4564 | } | |
4565 | } | |
4566 | { | |
0e2ff151 | 4567 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 4568 | _result = (bool )wxStyledTextCtrl_GetReadOnly(_arg0); |
8a2fa5c8 | 4569 | |
0e2ff151 RD |
4570 | wxPyEndAllowThreads(__tstate); |
4571 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
4572 | } _resultobj = Py_BuildValue("i",_result); |
4573 | return _resultobj; | |
4574 | } | |
4575 | ||
4576 | #define wxStyledTextCtrl_SetCurrentPos(_swigobj,_swigarg0) (_swigobj->SetCurrentPos(_swigarg0)) | |
4577 | static PyObject *_wrap_wxStyledTextCtrl_SetCurrentPos(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4578 | PyObject * _resultobj; | |
4579 | wxStyledTextCtrl * _arg0; | |
4580 | int _arg1; | |
4581 | PyObject * _argo0 = 0; | |
4582 | char *_kwnames[] = { "self","pos", NULL }; | |
4583 | ||
4584 | self = self; | |
4585 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_SetCurrentPos",_kwnames,&_argo0,&_arg1)) | |
4586 | return NULL; | |
4587 | if (_argo0) { | |
4588 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4589 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
4590 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetCurrentPos. Expected _wxStyledTextCtrl_p."); | |
4591 | return NULL; | |
4592 | } | |
4593 | } | |
4594 | { | |
0e2ff151 | 4595 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 4596 | wxStyledTextCtrl_SetCurrentPos(_arg0,_arg1); |
8a2fa5c8 | 4597 | |
0e2ff151 RD |
4598 | wxPyEndAllowThreads(__tstate); |
4599 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
4600 | } Py_INCREF(Py_None); |
4601 | _resultobj = Py_None; | |
4602 | return _resultobj; | |
4603 | } | |
4604 | ||
4605 | #define wxStyledTextCtrl_SetSelectionStart(_swigobj,_swigarg0) (_swigobj->SetSelectionStart(_swigarg0)) | |
4606 | static PyObject *_wrap_wxStyledTextCtrl_SetSelectionStart(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4607 | PyObject * _resultobj; | |
4608 | wxStyledTextCtrl * _arg0; | |
4609 | int _arg1; | |
4610 | PyObject * _argo0 = 0; | |
4611 | char *_kwnames[] = { "self","pos", NULL }; | |
4612 | ||
4613 | self = self; | |
4614 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_SetSelectionStart",_kwnames,&_argo0,&_arg1)) | |
4615 | return NULL; | |
4616 | if (_argo0) { | |
4617 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4618 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
4619 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetSelectionStart. Expected _wxStyledTextCtrl_p."); | |
4620 | return NULL; | |
4621 | } | |
4622 | } | |
4623 | { | |
0e2ff151 | 4624 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 4625 | wxStyledTextCtrl_SetSelectionStart(_arg0,_arg1); |
8a2fa5c8 | 4626 | |
0e2ff151 RD |
4627 | wxPyEndAllowThreads(__tstate); |
4628 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
4629 | } Py_INCREF(Py_None); |
4630 | _resultobj = Py_None; | |
4631 | return _resultobj; | |
4632 | } | |
4633 | ||
4634 | #define wxStyledTextCtrl_GetSelectionStart(_swigobj) (_swigobj->GetSelectionStart()) | |
4635 | static PyObject *_wrap_wxStyledTextCtrl_GetSelectionStart(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4636 | PyObject * _resultobj; | |
4637 | int _result; | |
4638 | wxStyledTextCtrl * _arg0; | |
4639 | PyObject * _argo0 = 0; | |
4640 | char *_kwnames[] = { "self", NULL }; | |
4641 | ||
4642 | self = self; | |
4643 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetSelectionStart",_kwnames,&_argo0)) | |
4644 | return NULL; | |
4645 | if (_argo0) { | |
4646 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4647 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
4648 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetSelectionStart. Expected _wxStyledTextCtrl_p."); | |
4649 | return NULL; | |
4650 | } | |
4651 | } | |
4652 | { | |
0e2ff151 | 4653 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 4654 | _result = (int )wxStyledTextCtrl_GetSelectionStart(_arg0); |
8a2fa5c8 | 4655 | |
0e2ff151 RD |
4656 | wxPyEndAllowThreads(__tstate); |
4657 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
4658 | } _resultobj = Py_BuildValue("i",_result); |
4659 | return _resultobj; | |
4660 | } | |
4661 | ||
4662 | #define wxStyledTextCtrl_SetSelectionEnd(_swigobj,_swigarg0) (_swigobj->SetSelectionEnd(_swigarg0)) | |
4663 | static PyObject *_wrap_wxStyledTextCtrl_SetSelectionEnd(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4664 | PyObject * _resultobj; | |
4665 | wxStyledTextCtrl * _arg0; | |
4666 | int _arg1; | |
4667 | PyObject * _argo0 = 0; | |
4668 | char *_kwnames[] = { "self","pos", NULL }; | |
4669 | ||
4670 | self = self; | |
4671 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_SetSelectionEnd",_kwnames,&_argo0,&_arg1)) | |
4672 | return NULL; | |
4673 | if (_argo0) { | |
4674 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4675 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
4676 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetSelectionEnd. Expected _wxStyledTextCtrl_p."); | |
4677 | return NULL; | |
4678 | } | |
4679 | } | |
4680 | { | |
0e2ff151 | 4681 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 4682 | wxStyledTextCtrl_SetSelectionEnd(_arg0,_arg1); |
8a2fa5c8 | 4683 | |
0e2ff151 RD |
4684 | wxPyEndAllowThreads(__tstate); |
4685 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
4686 | } Py_INCREF(Py_None); |
4687 | _resultobj = Py_None; | |
4688 | return _resultobj; | |
4689 | } | |
4690 | ||
4691 | #define wxStyledTextCtrl_GetSelectionEnd(_swigobj) (_swigobj->GetSelectionEnd()) | |
4692 | static PyObject *_wrap_wxStyledTextCtrl_GetSelectionEnd(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4693 | PyObject * _resultobj; | |
4694 | int _result; | |
4695 | wxStyledTextCtrl * _arg0; | |
4696 | PyObject * _argo0 = 0; | |
4697 | char *_kwnames[] = { "self", NULL }; | |
4698 | ||
4699 | self = self; | |
4700 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetSelectionEnd",_kwnames,&_argo0)) | |
4701 | return NULL; | |
4702 | if (_argo0) { | |
4703 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4704 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
4705 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetSelectionEnd. Expected _wxStyledTextCtrl_p."); | |
4706 | return NULL; | |
4707 | } | |
4708 | } | |
4709 | { | |
0e2ff151 | 4710 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 4711 | _result = (int )wxStyledTextCtrl_GetSelectionEnd(_arg0); |
8a2fa5c8 | 4712 | |
0e2ff151 RD |
4713 | wxPyEndAllowThreads(__tstate); |
4714 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
4715 | } _resultobj = Py_BuildValue("i",_result); |
4716 | return _resultobj; | |
4717 | } | |
4718 | ||
4719 | #define wxStyledTextCtrl_SetPrintMagnification(_swigobj,_swigarg0) (_swigobj->SetPrintMagnification(_swigarg0)) | |
4720 | static PyObject *_wrap_wxStyledTextCtrl_SetPrintMagnification(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4721 | PyObject * _resultobj; | |
4722 | wxStyledTextCtrl * _arg0; | |
4723 | int _arg1; | |
4724 | PyObject * _argo0 = 0; | |
4725 | char *_kwnames[] = { "self","magnification", NULL }; | |
4726 | ||
4727 | self = self; | |
4728 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_SetPrintMagnification",_kwnames,&_argo0,&_arg1)) | |
4729 | return NULL; | |
4730 | if (_argo0) { | |
4731 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4732 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
4733 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetPrintMagnification. Expected _wxStyledTextCtrl_p."); | |
4734 | return NULL; | |
4735 | } | |
4736 | } | |
4737 | { | |
0e2ff151 | 4738 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 4739 | wxStyledTextCtrl_SetPrintMagnification(_arg0,_arg1); |
8a2fa5c8 | 4740 | |
0e2ff151 RD |
4741 | wxPyEndAllowThreads(__tstate); |
4742 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
4743 | } Py_INCREF(Py_None); |
4744 | _resultobj = Py_None; | |
4745 | return _resultobj; | |
4746 | } | |
4747 | ||
4748 | #define wxStyledTextCtrl_GetPrintMagnification(_swigobj) (_swigobj->GetPrintMagnification()) | |
4749 | static PyObject *_wrap_wxStyledTextCtrl_GetPrintMagnification(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4750 | PyObject * _resultobj; | |
4751 | int _result; | |
4752 | wxStyledTextCtrl * _arg0; | |
4753 | PyObject * _argo0 = 0; | |
4754 | char *_kwnames[] = { "self", NULL }; | |
4755 | ||
4756 | self = self; | |
4757 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetPrintMagnification",_kwnames,&_argo0)) | |
4758 | return NULL; | |
4759 | if (_argo0) { | |
4760 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4761 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
4762 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetPrintMagnification. Expected _wxStyledTextCtrl_p."); | |
4763 | return NULL; | |
4764 | } | |
4765 | } | |
4766 | { | |
0e2ff151 | 4767 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 4768 | _result = (int )wxStyledTextCtrl_GetPrintMagnification(_arg0); |
8a2fa5c8 | 4769 | |
0e2ff151 RD |
4770 | wxPyEndAllowThreads(__tstate); |
4771 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
4772 | } _resultobj = Py_BuildValue("i",_result); |
4773 | return _resultobj; | |
4774 | } | |
4775 | ||
4776 | #define wxStyledTextCtrl_SetPrintColourMode(_swigobj,_swigarg0) (_swigobj->SetPrintColourMode(_swigarg0)) | |
4777 | static PyObject *_wrap_wxStyledTextCtrl_SetPrintColourMode(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4778 | PyObject * _resultobj; | |
4779 | wxStyledTextCtrl * _arg0; | |
4780 | int _arg1; | |
4781 | PyObject * _argo0 = 0; | |
4782 | char *_kwnames[] = { "self","mode", NULL }; | |
4783 | ||
4784 | self = self; | |
4785 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_SetPrintColourMode",_kwnames,&_argo0,&_arg1)) | |
4786 | return NULL; | |
4787 | if (_argo0) { | |
4788 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4789 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
4790 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetPrintColourMode. Expected _wxStyledTextCtrl_p."); | |
4791 | return NULL; | |
4792 | } | |
4793 | } | |
4794 | { | |
0e2ff151 | 4795 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 4796 | wxStyledTextCtrl_SetPrintColourMode(_arg0,_arg1); |
8a2fa5c8 | 4797 | |
0e2ff151 RD |
4798 | wxPyEndAllowThreads(__tstate); |
4799 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
4800 | } Py_INCREF(Py_None); |
4801 | _resultobj = Py_None; | |
4802 | return _resultobj; | |
4803 | } | |
4804 | ||
4805 | #define wxStyledTextCtrl_GetPrintColourMode(_swigobj) (_swigobj->GetPrintColourMode()) | |
4806 | static PyObject *_wrap_wxStyledTextCtrl_GetPrintColourMode(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4807 | PyObject * _resultobj; | |
4808 | int _result; | |
4809 | wxStyledTextCtrl * _arg0; | |
4810 | PyObject * _argo0 = 0; | |
4811 | char *_kwnames[] = { "self", NULL }; | |
4812 | ||
4813 | self = self; | |
4814 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetPrintColourMode",_kwnames,&_argo0)) | |
4815 | return NULL; | |
4816 | if (_argo0) { | |
4817 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4818 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
4819 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetPrintColourMode. Expected _wxStyledTextCtrl_p."); | |
4820 | return NULL; | |
4821 | } | |
4822 | } | |
4823 | { | |
0e2ff151 | 4824 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 4825 | _result = (int )wxStyledTextCtrl_GetPrintColourMode(_arg0); |
8a2fa5c8 | 4826 | |
0e2ff151 RD |
4827 | wxPyEndAllowThreads(__tstate); |
4828 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
4829 | } _resultobj = Py_BuildValue("i",_result); |
4830 | return _resultobj; | |
4831 | } | |
4832 | ||
4bb081fd | 4833 | #define wxStyledTextCtrl_FindText(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->FindText(_swigarg0,_swigarg1,_swigarg2,_swigarg3)) |
8a2fa5c8 RD |
4834 | static PyObject *_wrap_wxStyledTextCtrl_FindText(PyObject *self, PyObject *args, PyObject *kwargs) { |
4835 | PyObject * _resultobj; | |
4836 | int _result; | |
4837 | wxStyledTextCtrl * _arg0; | |
4838 | int _arg1; | |
4839 | int _arg2; | |
4840 | wxString * _arg3; | |
4bb081fd | 4841 | int _arg4 = (int ) 0; |
8a2fa5c8 RD |
4842 | PyObject * _argo0 = 0; |
4843 | PyObject * _obj3 = 0; | |
4bb081fd | 4844 | char *_kwnames[] = { "self","minPos","maxPos","text","flags", NULL }; |
8a2fa5c8 RD |
4845 | |
4846 | self = self; | |
4bb081fd | 4847 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiiO|i:wxStyledTextCtrl_FindText",_kwnames,&_argo0,&_arg1,&_arg2,&_obj3,&_arg4)) |
8a2fa5c8 RD |
4848 | return NULL; |
4849 | if (_argo0) { | |
4850 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4851 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
4852 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_FindText. Expected _wxStyledTextCtrl_p."); | |
4853 | return NULL; | |
4854 | } | |
4855 | } | |
4856 | { | |
6824d4f9 RD |
4857 | _arg3 = wxString_in_helper(_obj3); |
4858 | if (_arg3 == NULL) | |
8a2fa5c8 | 4859 | return NULL; |
8a2fa5c8 | 4860 | } |
8a2fa5c8 | 4861 | { |
0e2ff151 | 4862 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
4bb081fd | 4863 | _result = (int )wxStyledTextCtrl_FindText(_arg0,_arg1,_arg2,*_arg3,_arg4); |
8a2fa5c8 | 4864 | |
0e2ff151 RD |
4865 | wxPyEndAllowThreads(__tstate); |
4866 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
4867 | } _resultobj = Py_BuildValue("i",_result); |
4868 | { | |
4869 | if (_obj3) | |
4870 | delete _arg3; | |
4871 | } | |
4872 | return _resultobj; | |
4873 | } | |
4874 | ||
4875 | #define wxStyledTextCtrl_FormatRange(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (_swigobj->FormatRange(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6)) | |
4876 | static PyObject *_wrap_wxStyledTextCtrl_FormatRange(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4877 | PyObject * _resultobj; | |
4878 | int _result; | |
4879 | wxStyledTextCtrl * _arg0; | |
4880 | bool _arg1; | |
4881 | int _arg2; | |
4882 | int _arg3; | |
4883 | wxDC * _arg4; | |
4884 | wxDC * _arg5; | |
4885 | wxRect * _arg6; | |
4886 | wxRect * _arg7; | |
4887 | PyObject * _argo0 = 0; | |
4888 | int tempbool1; | |
4889 | PyObject * _argo4 = 0; | |
4890 | PyObject * _argo5 = 0; | |
4891 | wxRect temp; | |
4892 | PyObject * _obj6 = 0; | |
4893 | wxRect temp0; | |
4894 | PyObject * _obj7 = 0; | |
4895 | char *_kwnames[] = { "self","doDraw","startPos","endPos","draw","target","renderRect","pageRect", NULL }; | |
4896 | ||
4897 | self = self; | |
4898 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiiiOOOO:wxStyledTextCtrl_FormatRange",_kwnames,&_argo0,&tempbool1,&_arg2,&_arg3,&_argo4,&_argo5,&_obj6,&_obj7)) | |
4899 | return NULL; | |
4900 | if (_argo0) { | |
4901 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4902 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
4903 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_FormatRange. Expected _wxStyledTextCtrl_p."); | |
4904 | return NULL; | |
4905 | } | |
4906 | } | |
4907 | _arg1 = (bool ) tempbool1; | |
4908 | if (_argo4) { | |
4909 | if (_argo4 == Py_None) { _arg4 = NULL; } | |
4910 | else if (SWIG_GetPtrObj(_argo4,(void **) &_arg4,"_wxDC_p")) { | |
4911 | PyErr_SetString(PyExc_TypeError,"Type error in argument 5 of wxStyledTextCtrl_FormatRange. Expected _wxDC_p."); | |
4912 | return NULL; | |
4913 | } | |
4914 | } | |
4915 | if (_argo5) { | |
4916 | if (_argo5 == Py_None) { _arg5 = NULL; } | |
4917 | else if (SWIG_GetPtrObj(_argo5,(void **) &_arg5,"_wxDC_p")) { | |
4918 | PyErr_SetString(PyExc_TypeError,"Type error in argument 6 of wxStyledTextCtrl_FormatRange. Expected _wxDC_p."); | |
4919 | return NULL; | |
4920 | } | |
4921 | } | |
4922 | { | |
4923 | _arg6 = &temp; | |
4924 | if (! wxRect_helper(_obj6, &_arg6)) | |
4925 | return NULL; | |
4926 | } | |
4927 | { | |
4928 | _arg7 = &temp0; | |
4929 | if (! wxRect_helper(_obj7, &_arg7)) | |
4930 | return NULL; | |
4931 | } | |
4932 | { | |
0e2ff151 | 4933 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 4934 | _result = (int )wxStyledTextCtrl_FormatRange(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5,*_arg6,*_arg7); |
8a2fa5c8 | 4935 | |
0e2ff151 RD |
4936 | wxPyEndAllowThreads(__tstate); |
4937 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
4938 | } _resultobj = Py_BuildValue("i",_result); |
4939 | return _resultobj; | |
4940 | } | |
4941 | ||
4942 | #define wxStyledTextCtrl_GetFirstVisibleLine(_swigobj) (_swigobj->GetFirstVisibleLine()) | |
4943 | static PyObject *_wrap_wxStyledTextCtrl_GetFirstVisibleLine(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4944 | PyObject * _resultobj; | |
4945 | int _result; | |
4946 | wxStyledTextCtrl * _arg0; | |
4947 | PyObject * _argo0 = 0; | |
4948 | char *_kwnames[] = { "self", NULL }; | |
4949 | ||
4950 | self = self; | |
4951 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetFirstVisibleLine",_kwnames,&_argo0)) | |
4952 | return NULL; | |
4953 | if (_argo0) { | |
4954 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4955 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
4956 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetFirstVisibleLine. Expected _wxStyledTextCtrl_p."); | |
4957 | return NULL; | |
4958 | } | |
4959 | } | |
4960 | { | |
0e2ff151 | 4961 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 4962 | _result = (int )wxStyledTextCtrl_GetFirstVisibleLine(_arg0); |
8a2fa5c8 | 4963 | |
0e2ff151 RD |
4964 | wxPyEndAllowThreads(__tstate); |
4965 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
4966 | } _resultobj = Py_BuildValue("i",_result); |
4967 | return _resultobj; | |
4968 | } | |
4969 | ||
4970 | #define wxStyledTextCtrl_GetLine(_swigobj,_swigarg0) (_swigobj->GetLine(_swigarg0)) | |
4971 | static PyObject *_wrap_wxStyledTextCtrl_GetLine(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4972 | PyObject * _resultobj; | |
4973 | wxString * _result; | |
4974 | wxStyledTextCtrl * _arg0; | |
4975 | int _arg1; | |
4976 | PyObject * _argo0 = 0; | |
4977 | char *_kwnames[] = { "self","line", NULL }; | |
4978 | ||
4979 | self = self; | |
4980 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_GetLine",_kwnames,&_argo0,&_arg1)) | |
4981 | return NULL; | |
4982 | if (_argo0) { | |
4983 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4984 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
4985 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetLine. Expected _wxStyledTextCtrl_p."); | |
4986 | return NULL; | |
4987 | } | |
4988 | } | |
4989 | { | |
0e2ff151 | 4990 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 4991 | _result = new wxString (wxStyledTextCtrl_GetLine(_arg0,_arg1)); |
8a2fa5c8 | 4992 | |
0e2ff151 RD |
4993 | wxPyEndAllowThreads(__tstate); |
4994 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 | 4995 | }{ |
6824d4f9 | 4996 | #if wxUSE_UNICODE |
7108497a | 4997 | _resultobj = PyUnicode_FromWideChar(_result->c_str(), _result->Len()); |
6824d4f9 | 4998 | #else |
8a2fa5c8 | 4999 | _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len()); |
6824d4f9 | 5000 | #endif |
8a2fa5c8 RD |
5001 | } |
5002 | { | |
5003 | delete _result; | |
5004 | } | |
5005 | return _resultobj; | |
5006 | } | |
5007 | ||
5008 | #define wxStyledTextCtrl_GetLineCount(_swigobj) (_swigobj->GetLineCount()) | |
5009 | static PyObject *_wrap_wxStyledTextCtrl_GetLineCount(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5010 | PyObject * _resultobj; | |
5011 | int _result; | |
5012 | wxStyledTextCtrl * _arg0; | |
5013 | PyObject * _argo0 = 0; | |
5014 | char *_kwnames[] = { "self", NULL }; | |
5015 | ||
5016 | self = self; | |
5017 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetLineCount",_kwnames,&_argo0)) | |
5018 | return NULL; | |
5019 | if (_argo0) { | |
5020 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5021 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
5022 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetLineCount. Expected _wxStyledTextCtrl_p."); | |
5023 | return NULL; | |
5024 | } | |
5025 | } | |
5026 | { | |
0e2ff151 | 5027 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 5028 | _result = (int )wxStyledTextCtrl_GetLineCount(_arg0); |
8a2fa5c8 | 5029 | |
0e2ff151 RD |
5030 | wxPyEndAllowThreads(__tstate); |
5031 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
5032 | } _resultobj = Py_BuildValue("i",_result); |
5033 | return _resultobj; | |
5034 | } | |
5035 | ||
5036 | #define wxStyledTextCtrl_SetMarginLeft(_swigobj,_swigarg0) (_swigobj->SetMarginLeft(_swigarg0)) | |
5037 | static PyObject *_wrap_wxStyledTextCtrl_SetMarginLeft(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5038 | PyObject * _resultobj; | |
5039 | wxStyledTextCtrl * _arg0; | |
5040 | int _arg1; | |
5041 | PyObject * _argo0 = 0; | |
5042 | char *_kwnames[] = { "self","pixelWidth", NULL }; | |
5043 | ||
5044 | self = self; | |
5045 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_SetMarginLeft",_kwnames,&_argo0,&_arg1)) | |
5046 | return NULL; | |
5047 | if (_argo0) { | |
5048 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5049 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
5050 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetMarginLeft. Expected _wxStyledTextCtrl_p."); | |
5051 | return NULL; | |
5052 | } | |
5053 | } | |
5054 | { | |
0e2ff151 | 5055 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 5056 | wxStyledTextCtrl_SetMarginLeft(_arg0,_arg1); |
8a2fa5c8 | 5057 | |
0e2ff151 RD |
5058 | wxPyEndAllowThreads(__tstate); |
5059 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
5060 | } Py_INCREF(Py_None); |
5061 | _resultobj = Py_None; | |
5062 | return _resultobj; | |
5063 | } | |
5064 | ||
5065 | #define wxStyledTextCtrl_GetMarginLeft(_swigobj) (_swigobj->GetMarginLeft()) | |
5066 | static PyObject *_wrap_wxStyledTextCtrl_GetMarginLeft(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5067 | PyObject * _resultobj; | |
5068 | int _result; | |
5069 | wxStyledTextCtrl * _arg0; | |
5070 | PyObject * _argo0 = 0; | |
5071 | char *_kwnames[] = { "self", NULL }; | |
5072 | ||
5073 | self = self; | |
5074 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetMarginLeft",_kwnames,&_argo0)) | |
5075 | return NULL; | |
5076 | if (_argo0) { | |
5077 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5078 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
5079 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetMarginLeft. Expected _wxStyledTextCtrl_p."); | |
5080 | return NULL; | |
5081 | } | |
5082 | } | |
5083 | { | |
0e2ff151 | 5084 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 5085 | _result = (int )wxStyledTextCtrl_GetMarginLeft(_arg0); |
8a2fa5c8 | 5086 | |
0e2ff151 RD |
5087 | wxPyEndAllowThreads(__tstate); |
5088 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
5089 | } _resultobj = Py_BuildValue("i",_result); |
5090 | return _resultobj; | |
5091 | } | |
5092 | ||
5093 | #define wxStyledTextCtrl_SetMarginRight(_swigobj,_swigarg0) (_swigobj->SetMarginRight(_swigarg0)) | |
5094 | static PyObject *_wrap_wxStyledTextCtrl_SetMarginRight(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5095 | PyObject * _resultobj; | |
5096 | wxStyledTextCtrl * _arg0; | |
5097 | int _arg1; | |
5098 | PyObject * _argo0 = 0; | |
5099 | char *_kwnames[] = { "self","pixelWidth", NULL }; | |
5100 | ||
5101 | self = self; | |
5102 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_SetMarginRight",_kwnames,&_argo0,&_arg1)) | |
5103 | return NULL; | |
5104 | if (_argo0) { | |
5105 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5106 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
5107 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetMarginRight. Expected _wxStyledTextCtrl_p."); | |
5108 | return NULL; | |
5109 | } | |
5110 | } | |
5111 | { | |
0e2ff151 | 5112 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 5113 | wxStyledTextCtrl_SetMarginRight(_arg0,_arg1); |
8a2fa5c8 | 5114 | |
0e2ff151 RD |
5115 | wxPyEndAllowThreads(__tstate); |
5116 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
5117 | } Py_INCREF(Py_None); |
5118 | _resultobj = Py_None; | |
5119 | return _resultobj; | |
5120 | } | |
5121 | ||
5122 | #define wxStyledTextCtrl_GetMarginRight(_swigobj) (_swigobj->GetMarginRight()) | |
5123 | static PyObject *_wrap_wxStyledTextCtrl_GetMarginRight(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5124 | PyObject * _resultobj; | |
5125 | int _result; | |
5126 | wxStyledTextCtrl * _arg0; | |
5127 | PyObject * _argo0 = 0; | |
5128 | char *_kwnames[] = { "self", NULL }; | |
5129 | ||
5130 | self = self; | |
5131 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetMarginRight",_kwnames,&_argo0)) | |
5132 | return NULL; | |
5133 | if (_argo0) { | |
5134 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5135 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
5136 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetMarginRight. Expected _wxStyledTextCtrl_p."); | |
5137 | return NULL; | |
5138 | } | |
5139 | } | |
5140 | { | |
0e2ff151 | 5141 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 5142 | _result = (int )wxStyledTextCtrl_GetMarginRight(_arg0); |
8a2fa5c8 | 5143 | |
0e2ff151 RD |
5144 | wxPyEndAllowThreads(__tstate); |
5145 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
5146 | } _resultobj = Py_BuildValue("i",_result); |
5147 | return _resultobj; | |
5148 | } | |
5149 | ||
5150 | #define wxStyledTextCtrl_GetModify(_swigobj) (_swigobj->GetModify()) | |
5151 | static PyObject *_wrap_wxStyledTextCtrl_GetModify(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5152 | PyObject * _resultobj; | |
5153 | bool _result; | |
5154 | wxStyledTextCtrl * _arg0; | |
5155 | PyObject * _argo0 = 0; | |
5156 | char *_kwnames[] = { "self", NULL }; | |
5157 | ||
5158 | self = self; | |
5159 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetModify",_kwnames,&_argo0)) | |
5160 | return NULL; | |
5161 | if (_argo0) { | |
5162 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5163 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
5164 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetModify. Expected _wxStyledTextCtrl_p."); | |
5165 | return NULL; | |
5166 | } | |
5167 | } | |
5168 | { | |
0e2ff151 | 5169 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 5170 | _result = (bool )wxStyledTextCtrl_GetModify(_arg0); |
8a2fa5c8 | 5171 | |
0e2ff151 RD |
5172 | wxPyEndAllowThreads(__tstate); |
5173 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
5174 | } _resultobj = Py_BuildValue("i",_result); |
5175 | return _resultobj; | |
5176 | } | |
5177 | ||
5178 | #define wxStyledTextCtrl_SetSelection(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetSelection(_swigarg0,_swigarg1)) | |
5179 | static PyObject *_wrap_wxStyledTextCtrl_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5180 | PyObject * _resultobj; | |
5181 | wxStyledTextCtrl * _arg0; | |
5182 | int _arg1; | |
5183 | int _arg2; | |
5184 | PyObject * _argo0 = 0; | |
5185 | char *_kwnames[] = { "self","start","end", NULL }; | |
5186 | ||
5187 | self = self; | |
5188 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxStyledTextCtrl_SetSelection",_kwnames,&_argo0,&_arg1,&_arg2)) | |
5189 | return NULL; | |
5190 | if (_argo0) { | |
5191 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5192 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
5193 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetSelection. Expected _wxStyledTextCtrl_p."); | |
5194 | return NULL; | |
5195 | } | |
5196 | } | |
5197 | { | |
0e2ff151 | 5198 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 5199 | wxStyledTextCtrl_SetSelection(_arg0,_arg1,_arg2); |
8a2fa5c8 | 5200 | |
0e2ff151 RD |
5201 | wxPyEndAllowThreads(__tstate); |
5202 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
5203 | } Py_INCREF(Py_None); |
5204 | _resultobj = Py_None; | |
5205 | return _resultobj; | |
5206 | } | |
5207 | ||
5208 | #define wxStyledTextCtrl_GetSelectedText(_swigobj) (_swigobj->GetSelectedText()) | |
5209 | static PyObject *_wrap_wxStyledTextCtrl_GetSelectedText(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5210 | PyObject * _resultobj; | |
5211 | wxString * _result; | |
5212 | wxStyledTextCtrl * _arg0; | |
5213 | PyObject * _argo0 = 0; | |
5214 | char *_kwnames[] = { "self", NULL }; | |
5215 | ||
5216 | self = self; | |
5217 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetSelectedText",_kwnames,&_argo0)) | |
5218 | return NULL; | |
5219 | if (_argo0) { | |
5220 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5221 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
5222 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetSelectedText. Expected _wxStyledTextCtrl_p."); | |
5223 | return NULL; | |
5224 | } | |
5225 | } | |
5226 | { | |
0e2ff151 | 5227 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 5228 | _result = new wxString (wxStyledTextCtrl_GetSelectedText(_arg0)); |
8a2fa5c8 | 5229 | |
0e2ff151 RD |
5230 | wxPyEndAllowThreads(__tstate); |
5231 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 | 5232 | }{ |
6824d4f9 | 5233 | #if wxUSE_UNICODE |
7108497a | 5234 | _resultobj = PyUnicode_FromWideChar(_result->c_str(), _result->Len()); |
6824d4f9 | 5235 | #else |
8a2fa5c8 | 5236 | _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len()); |
6824d4f9 | 5237 | #endif |
8a2fa5c8 RD |
5238 | } |
5239 | { | |
5240 | delete _result; | |
5241 | } | |
5242 | return _resultobj; | |
5243 | } | |
5244 | ||
5245 | #define wxStyledTextCtrl_GetTextRange(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetTextRange(_swigarg0,_swigarg1)) | |
5246 | static PyObject *_wrap_wxStyledTextCtrl_GetTextRange(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5247 | PyObject * _resultobj; | |
5248 | wxString * _result; | |
5249 | wxStyledTextCtrl * _arg0; | |
5250 | int _arg1; | |
5251 | int _arg2; | |
5252 | PyObject * _argo0 = 0; | |
5253 | char *_kwnames[] = { "self","startPos","endPos", NULL }; | |
5254 | ||
5255 | self = self; | |
5256 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxStyledTextCtrl_GetTextRange",_kwnames,&_argo0,&_arg1,&_arg2)) | |
5257 | return NULL; | |
5258 | if (_argo0) { | |
5259 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5260 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
5261 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetTextRange. Expected _wxStyledTextCtrl_p."); | |
5262 | return NULL; | |
5263 | } | |
5264 | } | |
5265 | { | |
0e2ff151 | 5266 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 5267 | _result = new wxString (wxStyledTextCtrl_GetTextRange(_arg0,_arg1,_arg2)); |
8a2fa5c8 | 5268 | |
0e2ff151 RD |
5269 | wxPyEndAllowThreads(__tstate); |
5270 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 | 5271 | }{ |
6824d4f9 | 5272 | #if wxUSE_UNICODE |
7108497a | 5273 | _resultobj = PyUnicode_FromWideChar(_result->c_str(), _result->Len()); |
6824d4f9 | 5274 | #else |
8a2fa5c8 | 5275 | _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len()); |
6824d4f9 | 5276 | #endif |
8a2fa5c8 RD |
5277 | } |
5278 | { | |
5279 | delete _result; | |
5280 | } | |
5281 | return _resultobj; | |
5282 | } | |
5283 | ||
5284 | #define wxStyledTextCtrl_HideSelection(_swigobj,_swigarg0) (_swigobj->HideSelection(_swigarg0)) | |
5285 | static PyObject *_wrap_wxStyledTextCtrl_HideSelection(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5286 | PyObject * _resultobj; | |
5287 | wxStyledTextCtrl * _arg0; | |
5288 | bool _arg1; | |
5289 | PyObject * _argo0 = 0; | |
5290 | int tempbool1; | |
5291 | char *_kwnames[] = { "self","normal", NULL }; | |
5292 | ||
5293 | self = self; | |
5294 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_HideSelection",_kwnames,&_argo0,&tempbool1)) | |
5295 | return NULL; | |
5296 | if (_argo0) { | |
5297 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5298 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
5299 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_HideSelection. Expected _wxStyledTextCtrl_p."); | |
5300 | return NULL; | |
5301 | } | |
5302 | } | |
5303 | _arg1 = (bool ) tempbool1; | |
5304 | { | |
0e2ff151 | 5305 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 5306 | wxStyledTextCtrl_HideSelection(_arg0,_arg1); |
8a2fa5c8 | 5307 | |
0e2ff151 RD |
5308 | wxPyEndAllowThreads(__tstate); |
5309 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
5310 | } Py_INCREF(Py_None); |
5311 | _resultobj = Py_None; | |
5312 | return _resultobj; | |
5313 | } | |
5314 | ||
5315 | #define wxStyledTextCtrl_LineFromPosition(_swigobj,_swigarg0) (_swigobj->LineFromPosition(_swigarg0)) | |
5316 | static PyObject *_wrap_wxStyledTextCtrl_LineFromPosition(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5317 | PyObject * _resultobj; | |
5318 | int _result; | |
5319 | wxStyledTextCtrl * _arg0; | |
5320 | int _arg1; | |
5321 | PyObject * _argo0 = 0; | |
5322 | char *_kwnames[] = { "self","pos", NULL }; | |
5323 | ||
5324 | self = self; | |
5325 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_LineFromPosition",_kwnames,&_argo0,&_arg1)) | |
5326 | return NULL; | |
5327 | if (_argo0) { | |
5328 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5329 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
5330 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_LineFromPosition. Expected _wxStyledTextCtrl_p."); | |
5331 | return NULL; | |
5332 | } | |
5333 | } | |
5334 | { | |
0e2ff151 | 5335 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 5336 | _result = (int )wxStyledTextCtrl_LineFromPosition(_arg0,_arg1); |
8a2fa5c8 | 5337 | |
0e2ff151 RD |
5338 | wxPyEndAllowThreads(__tstate); |
5339 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
5340 | } _resultobj = Py_BuildValue("i",_result); |
5341 | return _resultobj; | |
5342 | } | |
5343 | ||
5344 | #define wxStyledTextCtrl_PositionFromLine(_swigobj,_swigarg0) (_swigobj->PositionFromLine(_swigarg0)) | |
5345 | static PyObject *_wrap_wxStyledTextCtrl_PositionFromLine(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5346 | PyObject * _resultobj; | |
5347 | int _result; | |
5348 | wxStyledTextCtrl * _arg0; | |
5349 | int _arg1; | |
5350 | PyObject * _argo0 = 0; | |
5351 | char *_kwnames[] = { "self","line", NULL }; | |
5352 | ||
5353 | self = self; | |
5354 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_PositionFromLine",_kwnames,&_argo0,&_arg1)) | |
5355 | return NULL; | |
5356 | if (_argo0) { | |
5357 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5358 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
5359 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_PositionFromLine. Expected _wxStyledTextCtrl_p."); | |
5360 | return NULL; | |
5361 | } | |
5362 | } | |
5363 | { | |
0e2ff151 | 5364 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 5365 | _result = (int )wxStyledTextCtrl_PositionFromLine(_arg0,_arg1); |
8a2fa5c8 | 5366 | |
0e2ff151 RD |
5367 | wxPyEndAllowThreads(__tstate); |
5368 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
5369 | } _resultobj = Py_BuildValue("i",_result); |
5370 | return _resultobj; | |
5371 | } | |
5372 | ||
5373 | #define wxStyledTextCtrl_LineScroll(_swigobj,_swigarg0,_swigarg1) (_swigobj->LineScroll(_swigarg0,_swigarg1)) | |
5374 | static PyObject *_wrap_wxStyledTextCtrl_LineScroll(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5375 | PyObject * _resultobj; | |
5376 | wxStyledTextCtrl * _arg0; | |
5377 | int _arg1; | |
5378 | int _arg2; | |
5379 | PyObject * _argo0 = 0; | |
5380 | char *_kwnames[] = { "self","columns","lines", NULL }; | |
5381 | ||
5382 | self = self; | |
5383 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxStyledTextCtrl_LineScroll",_kwnames,&_argo0,&_arg1,&_arg2)) | |
5384 | return NULL; | |
5385 | if (_argo0) { | |
5386 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5387 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
5388 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_LineScroll. Expected _wxStyledTextCtrl_p."); | |
5389 | return NULL; | |
5390 | } | |
5391 | } | |
5392 | { | |
0e2ff151 | 5393 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 5394 | wxStyledTextCtrl_LineScroll(_arg0,_arg1,_arg2); |
8a2fa5c8 | 5395 | |
0e2ff151 RD |
5396 | wxPyEndAllowThreads(__tstate); |
5397 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
5398 | } Py_INCREF(Py_None); |
5399 | _resultobj = Py_None; | |
5400 | return _resultobj; | |
5401 | } | |
5402 | ||
5403 | #define wxStyledTextCtrl_EnsureCaretVisible(_swigobj) (_swigobj->EnsureCaretVisible()) | |
5404 | static PyObject *_wrap_wxStyledTextCtrl_EnsureCaretVisible(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5405 | PyObject * _resultobj; | |
5406 | wxStyledTextCtrl * _arg0; | |
5407 | PyObject * _argo0 = 0; | |
5408 | char *_kwnames[] = { "self", NULL }; | |
5409 | ||
5410 | self = self; | |
5411 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_EnsureCaretVisible",_kwnames,&_argo0)) | |
5412 | return NULL; | |
5413 | if (_argo0) { | |
5414 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5415 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
5416 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_EnsureCaretVisible. Expected _wxStyledTextCtrl_p."); | |
5417 | return NULL; | |
5418 | } | |
5419 | } | |
5420 | { | |
0e2ff151 | 5421 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 5422 | wxStyledTextCtrl_EnsureCaretVisible(_arg0); |
8a2fa5c8 | 5423 | |
0e2ff151 RD |
5424 | wxPyEndAllowThreads(__tstate); |
5425 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
5426 | } Py_INCREF(Py_None); |
5427 | _resultobj = Py_None; | |
5428 | return _resultobj; | |
5429 | } | |
5430 | ||
5431 | #define wxStyledTextCtrl_ReplaceSelection(_swigobj,_swigarg0) (_swigobj->ReplaceSelection(_swigarg0)) | |
5432 | static PyObject *_wrap_wxStyledTextCtrl_ReplaceSelection(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5433 | PyObject * _resultobj; | |
5434 | wxStyledTextCtrl * _arg0; | |
5435 | wxString * _arg1; | |
5436 | PyObject * _argo0 = 0; | |
5437 | PyObject * _obj1 = 0; | |
5438 | char *_kwnames[] = { "self","text", NULL }; | |
5439 | ||
5440 | self = self; | |
5441 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxStyledTextCtrl_ReplaceSelection",_kwnames,&_argo0,&_obj1)) | |
5442 | return NULL; | |
5443 | if (_argo0) { | |
5444 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5445 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
5446 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_ReplaceSelection. Expected _wxStyledTextCtrl_p."); | |
5447 | return NULL; | |
5448 | } | |
5449 | } | |
5450 | { | |
6824d4f9 RD |
5451 | _arg1 = wxString_in_helper(_obj1); |
5452 | if (_arg1 == NULL) | |
8a2fa5c8 | 5453 | return NULL; |
8a2fa5c8 RD |
5454 | } |
5455 | { | |
0e2ff151 | 5456 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 5457 | wxStyledTextCtrl_ReplaceSelection(_arg0,*_arg1); |
8a2fa5c8 | 5458 | |
0e2ff151 RD |
5459 | wxPyEndAllowThreads(__tstate); |
5460 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
5461 | } Py_INCREF(Py_None); |
5462 | _resultobj = Py_None; | |
5463 | { | |
5464 | if (_obj1) | |
5465 | delete _arg1; | |
5466 | } | |
5467 | return _resultobj; | |
5468 | } | |
5469 | ||
5470 | #define wxStyledTextCtrl_SetReadOnly(_swigobj,_swigarg0) (_swigobj->SetReadOnly(_swigarg0)) | |
5471 | static PyObject *_wrap_wxStyledTextCtrl_SetReadOnly(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5472 | PyObject * _resultobj; | |
5473 | wxStyledTextCtrl * _arg0; | |
5474 | bool _arg1; | |
5475 | PyObject * _argo0 = 0; | |
5476 | int tempbool1; | |
5477 | char *_kwnames[] = { "self","readOnly", NULL }; | |
5478 | ||
5479 | self = self; | |
5480 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_SetReadOnly",_kwnames,&_argo0,&tempbool1)) | |
5481 | return NULL; | |
5482 | if (_argo0) { | |
5483 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5484 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
5485 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetReadOnly. Expected _wxStyledTextCtrl_p."); | |
5486 | return NULL; | |
5487 | } | |
5488 | } | |
5489 | _arg1 = (bool ) tempbool1; | |
5490 | { | |
0e2ff151 | 5491 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 5492 | wxStyledTextCtrl_SetReadOnly(_arg0,_arg1); |
8a2fa5c8 | 5493 | |
0e2ff151 RD |
5494 | wxPyEndAllowThreads(__tstate); |
5495 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
5496 | } Py_INCREF(Py_None); |
5497 | _resultobj = Py_None; | |
5498 | return _resultobj; | |
5499 | } | |
5500 | ||
5501 | #define wxStyledTextCtrl_CanPaste(_swigobj) (_swigobj->CanPaste()) | |
5502 | static PyObject *_wrap_wxStyledTextCtrl_CanPaste(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5503 | PyObject * _resultobj; | |
5504 | bool _result; | |
5505 | wxStyledTextCtrl * _arg0; | |
5506 | PyObject * _argo0 = 0; | |
5507 | char *_kwnames[] = { "self", NULL }; | |
5508 | ||
5509 | self = self; | |
5510 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_CanPaste",_kwnames,&_argo0)) | |
5511 | return NULL; | |
5512 | if (_argo0) { | |
5513 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5514 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
5515 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_CanPaste. Expected _wxStyledTextCtrl_p."); | |
5516 | return NULL; | |
5517 | } | |
5518 | } | |
5519 | { | |
0e2ff151 | 5520 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 5521 | _result = (bool )wxStyledTextCtrl_CanPaste(_arg0); |
8a2fa5c8 | 5522 | |
0e2ff151 RD |
5523 | wxPyEndAllowThreads(__tstate); |
5524 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
5525 | } _resultobj = Py_BuildValue("i",_result); |
5526 | return _resultobj; | |
5527 | } | |
5528 | ||
5529 | #define wxStyledTextCtrl_CanUndo(_swigobj) (_swigobj->CanUndo()) | |
5530 | static PyObject *_wrap_wxStyledTextCtrl_CanUndo(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5531 | PyObject * _resultobj; | |
5532 | bool _result; | |
5533 | wxStyledTextCtrl * _arg0; | |
5534 | PyObject * _argo0 = 0; | |
5535 | char *_kwnames[] = { "self", NULL }; | |
5536 | ||
5537 | self = self; | |
5538 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_CanUndo",_kwnames,&_argo0)) | |
5539 | return NULL; | |
5540 | if (_argo0) { | |
5541 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5542 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
5543 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_CanUndo. Expected _wxStyledTextCtrl_p."); | |
5544 | return NULL; | |
5545 | } | |
5546 | } | |
5547 | { | |
0e2ff151 | 5548 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 5549 | _result = (bool )wxStyledTextCtrl_CanUndo(_arg0); |
8a2fa5c8 | 5550 | |
0e2ff151 RD |
5551 | wxPyEndAllowThreads(__tstate); |
5552 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
5553 | } _resultobj = Py_BuildValue("i",_result); |
5554 | return _resultobj; | |
5555 | } | |
5556 | ||
5557 | #define wxStyledTextCtrl_EmptyUndoBuffer(_swigobj) (_swigobj->EmptyUndoBuffer()) | |
5558 | static PyObject *_wrap_wxStyledTextCtrl_EmptyUndoBuffer(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5559 | PyObject * _resultobj; | |
5560 | wxStyledTextCtrl * _arg0; | |
5561 | PyObject * _argo0 = 0; | |
5562 | char *_kwnames[] = { "self", NULL }; | |
5563 | ||
5564 | self = self; | |
5565 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_EmptyUndoBuffer",_kwnames,&_argo0)) | |
5566 | return NULL; | |
5567 | if (_argo0) { | |
5568 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5569 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
5570 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_EmptyUndoBuffer. Expected _wxStyledTextCtrl_p."); | |
5571 | return NULL; | |
5572 | } | |
5573 | } | |
5574 | { | |
0e2ff151 | 5575 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 5576 | wxStyledTextCtrl_EmptyUndoBuffer(_arg0); |
8a2fa5c8 | 5577 | |
0e2ff151 RD |
5578 | wxPyEndAllowThreads(__tstate); |
5579 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
5580 | } Py_INCREF(Py_None); |
5581 | _resultobj = Py_None; | |
5582 | return _resultobj; | |
5583 | } | |
5584 | ||
5585 | #define wxStyledTextCtrl_Undo(_swigobj) (_swigobj->Undo()) | |
5586 | static PyObject *_wrap_wxStyledTextCtrl_Undo(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5587 | PyObject * _resultobj; | |
5588 | wxStyledTextCtrl * _arg0; | |
5589 | PyObject * _argo0 = 0; | |
5590 | char *_kwnames[] = { "self", NULL }; | |
5591 | ||
5592 | self = self; | |
5593 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_Undo",_kwnames,&_argo0)) | |
5594 | return NULL; | |
5595 | if (_argo0) { | |
5596 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5597 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
5598 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_Undo. Expected _wxStyledTextCtrl_p."); | |
5599 | return NULL; | |
5600 | } | |
5601 | } | |
5602 | { | |
0e2ff151 | 5603 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 5604 | wxStyledTextCtrl_Undo(_arg0); |
8a2fa5c8 | 5605 | |
0e2ff151 RD |
5606 | wxPyEndAllowThreads(__tstate); |
5607 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
5608 | } Py_INCREF(Py_None); |
5609 | _resultobj = Py_None; | |
5610 | return _resultobj; | |
5611 | } | |
5612 | ||
5613 | #define wxStyledTextCtrl_Cut(_swigobj) (_swigobj->Cut()) | |
5614 | static PyObject *_wrap_wxStyledTextCtrl_Cut(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5615 | PyObject * _resultobj; | |
5616 | wxStyledTextCtrl * _arg0; | |
5617 | PyObject * _argo0 = 0; | |
5618 | char *_kwnames[] = { "self", NULL }; | |
5619 | ||
5620 | self = self; | |
5621 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_Cut",_kwnames,&_argo0)) | |
5622 | return NULL; | |
5623 | if (_argo0) { | |
5624 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5625 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
5626 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_Cut. Expected _wxStyledTextCtrl_p."); | |
5627 | return NULL; | |
5628 | } | |
5629 | } | |
5630 | { | |
0e2ff151 | 5631 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 5632 | wxStyledTextCtrl_Cut(_arg0); |
8a2fa5c8 | 5633 | |
0e2ff151 RD |
5634 | wxPyEndAllowThreads(__tstate); |
5635 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
5636 | } Py_INCREF(Py_None); |
5637 | _resultobj = Py_None; | |
5638 | return _resultobj; | |
5639 | } | |
5640 | ||
5641 | #define wxStyledTextCtrl_Copy(_swigobj) (_swigobj->Copy()) | |
5642 | static PyObject *_wrap_wxStyledTextCtrl_Copy(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5643 | PyObject * _resultobj; | |
5644 | wxStyledTextCtrl * _arg0; | |
5645 | PyObject * _argo0 = 0; | |
5646 | char *_kwnames[] = { "self", NULL }; | |
5647 | ||
5648 | self = self; | |
5649 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_Copy",_kwnames,&_argo0)) | |
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_Copy. Expected _wxStyledTextCtrl_p."); | |
5655 | return NULL; | |
5656 | } | |
5657 | } | |
5658 | { | |
0e2ff151 | 5659 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 5660 | wxStyledTextCtrl_Copy(_arg0); |
8a2fa5c8 | 5661 | |
0e2ff151 RD |
5662 | wxPyEndAllowThreads(__tstate); |
5663 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
5664 | } Py_INCREF(Py_None); |
5665 | _resultobj = Py_None; | |
5666 | return _resultobj; | |
5667 | } | |
5668 | ||
5669 | #define wxStyledTextCtrl_Paste(_swigobj) (_swigobj->Paste()) | |
5670 | static PyObject *_wrap_wxStyledTextCtrl_Paste(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5671 | PyObject * _resultobj; | |
5672 | wxStyledTextCtrl * _arg0; | |
5673 | PyObject * _argo0 = 0; | |
5674 | char *_kwnames[] = { "self", NULL }; | |
5675 | ||
5676 | self = self; | |
5677 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_Paste",_kwnames,&_argo0)) | |
5678 | return NULL; | |
5679 | if (_argo0) { | |
5680 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5681 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
5682 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_Paste. Expected _wxStyledTextCtrl_p."); | |
5683 | return NULL; | |
5684 | } | |
5685 | } | |
5686 | { | |
0e2ff151 | 5687 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 5688 | wxStyledTextCtrl_Paste(_arg0); |
8a2fa5c8 | 5689 | |
0e2ff151 RD |
5690 | wxPyEndAllowThreads(__tstate); |
5691 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
5692 | } Py_INCREF(Py_None); |
5693 | _resultobj = Py_None; | |
5694 | return _resultobj; | |
5695 | } | |
5696 | ||
5697 | #define wxStyledTextCtrl_Clear(_swigobj) (_swigobj->Clear()) | |
5698 | static PyObject *_wrap_wxStyledTextCtrl_Clear(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5699 | PyObject * _resultobj; | |
5700 | wxStyledTextCtrl * _arg0; | |
5701 | PyObject * _argo0 = 0; | |
5702 | char *_kwnames[] = { "self", NULL }; | |
5703 | ||
5704 | self = self; | |
5705 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_Clear",_kwnames,&_argo0)) | |
5706 | return NULL; | |
5707 | if (_argo0) { | |
5708 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5709 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
5710 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_Clear. Expected _wxStyledTextCtrl_p."); | |
5711 | return NULL; | |
5712 | } | |
5713 | } | |
5714 | { | |
0e2ff151 | 5715 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 5716 | wxStyledTextCtrl_Clear(_arg0); |
8a2fa5c8 | 5717 | |
0e2ff151 RD |
5718 | wxPyEndAllowThreads(__tstate); |
5719 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
5720 | } Py_INCREF(Py_None); |
5721 | _resultobj = Py_None; | |
5722 | return _resultobj; | |
5723 | } | |
5724 | ||
5725 | #define wxStyledTextCtrl_SetText(_swigobj,_swigarg0) (_swigobj->SetText(_swigarg0)) | |
5726 | static PyObject *_wrap_wxStyledTextCtrl_SetText(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5727 | PyObject * _resultobj; | |
5728 | wxStyledTextCtrl * _arg0; | |
5729 | wxString * _arg1; | |
5730 | PyObject * _argo0 = 0; | |
5731 | PyObject * _obj1 = 0; | |
5732 | char *_kwnames[] = { "self","text", NULL }; | |
5733 | ||
5734 | self = self; | |
5735 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxStyledTextCtrl_SetText",_kwnames,&_argo0,&_obj1)) | |
5736 | return NULL; | |
5737 | if (_argo0) { | |
5738 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5739 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
5740 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetText. Expected _wxStyledTextCtrl_p."); | |
5741 | return NULL; | |
5742 | } | |
5743 | } | |
5744 | { | |
6824d4f9 RD |
5745 | _arg1 = wxString_in_helper(_obj1); |
5746 | if (_arg1 == NULL) | |
8a2fa5c8 | 5747 | return NULL; |
8a2fa5c8 RD |
5748 | } |
5749 | { | |
0e2ff151 | 5750 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 5751 | wxStyledTextCtrl_SetText(_arg0,*_arg1); |
8a2fa5c8 | 5752 | |
0e2ff151 RD |
5753 | wxPyEndAllowThreads(__tstate); |
5754 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
5755 | } Py_INCREF(Py_None); |
5756 | _resultobj = Py_None; | |
5757 | { | |
5758 | if (_obj1) | |
5759 | delete _arg1; | |
5760 | } | |
5761 | return _resultobj; | |
5762 | } | |
5763 | ||
5764 | #define wxStyledTextCtrl_GetText(_swigobj) (_swigobj->GetText()) | |
5765 | static PyObject *_wrap_wxStyledTextCtrl_GetText(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5766 | PyObject * _resultobj; | |
5767 | wxString * _result; | |
5768 | wxStyledTextCtrl * _arg0; | |
5769 | PyObject * _argo0 = 0; | |
5770 | char *_kwnames[] = { "self", NULL }; | |
5771 | ||
5772 | self = self; | |
5773 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetText",_kwnames,&_argo0)) | |
5774 | return NULL; | |
5775 | if (_argo0) { | |
5776 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5777 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
5778 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetText. Expected _wxStyledTextCtrl_p."); | |
5779 | return NULL; | |
5780 | } | |
5781 | } | |
5782 | { | |
0e2ff151 | 5783 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 5784 | _result = new wxString (wxStyledTextCtrl_GetText(_arg0)); |
8a2fa5c8 | 5785 | |
0e2ff151 RD |
5786 | wxPyEndAllowThreads(__tstate); |
5787 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 | 5788 | }{ |
6824d4f9 | 5789 | #if wxUSE_UNICODE |
7108497a | 5790 | _resultobj = PyUnicode_FromWideChar(_result->c_str(), _result->Len()); |
6824d4f9 | 5791 | #else |
8a2fa5c8 | 5792 | _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len()); |
6824d4f9 | 5793 | #endif |
8a2fa5c8 RD |
5794 | } |
5795 | { | |
5796 | delete _result; | |
5797 | } | |
5798 | return _resultobj; | |
5799 | } | |
5800 | ||
5801 | #define wxStyledTextCtrl_GetTextLength(_swigobj) (_swigobj->GetTextLength()) | |
5802 | static PyObject *_wrap_wxStyledTextCtrl_GetTextLength(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5803 | PyObject * _resultobj; | |
5804 | int _result; | |
5805 | wxStyledTextCtrl * _arg0; | |
5806 | PyObject * _argo0 = 0; | |
5807 | char *_kwnames[] = { "self", NULL }; | |
5808 | ||
5809 | self = self; | |
5810 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetTextLength",_kwnames,&_argo0)) | |
5811 | return NULL; | |
5812 | if (_argo0) { | |
5813 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5814 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
5815 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetTextLength. Expected _wxStyledTextCtrl_p."); | |
5816 | return NULL; | |
5817 | } | |
5818 | } | |
5819 | { | |
0e2ff151 | 5820 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 5821 | _result = (int )wxStyledTextCtrl_GetTextLength(_arg0); |
8a2fa5c8 | 5822 | |
0e2ff151 RD |
5823 | wxPyEndAllowThreads(__tstate); |
5824 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
5825 | } _resultobj = Py_BuildValue("i",_result); |
5826 | return _resultobj; | |
5827 | } | |
5828 | ||
5829 | #define wxStyledTextCtrl_SetOvertype(_swigobj,_swigarg0) (_swigobj->SetOvertype(_swigarg0)) | |
5830 | static PyObject *_wrap_wxStyledTextCtrl_SetOvertype(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5831 | PyObject * _resultobj; | |
5832 | wxStyledTextCtrl * _arg0; | |
5833 | bool _arg1; | |
5834 | PyObject * _argo0 = 0; | |
5835 | int tempbool1; | |
5836 | char *_kwnames[] = { "self","overtype", NULL }; | |
5837 | ||
5838 | self = self; | |
5839 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_SetOvertype",_kwnames,&_argo0,&tempbool1)) | |
5840 | return NULL; | |
5841 | if (_argo0) { | |
5842 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5843 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
5844 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetOvertype. Expected _wxStyledTextCtrl_p."); | |
5845 | return NULL; | |
5846 | } | |
5847 | } | |
5848 | _arg1 = (bool ) tempbool1; | |
5849 | { | |
0e2ff151 | 5850 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 5851 | wxStyledTextCtrl_SetOvertype(_arg0,_arg1); |
8a2fa5c8 | 5852 | |
0e2ff151 RD |
5853 | wxPyEndAllowThreads(__tstate); |
5854 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
5855 | } Py_INCREF(Py_None); |
5856 | _resultobj = Py_None; | |
5857 | return _resultobj; | |
5858 | } | |
5859 | ||
5860 | #define wxStyledTextCtrl_GetOvertype(_swigobj) (_swigobj->GetOvertype()) | |
5861 | static PyObject *_wrap_wxStyledTextCtrl_GetOvertype(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5862 | PyObject * _resultobj; | |
5863 | bool _result; | |
5864 | wxStyledTextCtrl * _arg0; | |
5865 | PyObject * _argo0 = 0; | |
5866 | char *_kwnames[] = { "self", NULL }; | |
5867 | ||
5868 | self = self; | |
5869 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetOvertype",_kwnames,&_argo0)) | |
5870 | return NULL; | |
5871 | if (_argo0) { | |
5872 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5873 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
5874 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetOvertype. Expected _wxStyledTextCtrl_p."); | |
5875 | return NULL; | |
5876 | } | |
5877 | } | |
5878 | { | |
0e2ff151 | 5879 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 5880 | _result = (bool )wxStyledTextCtrl_GetOvertype(_arg0); |
8a2fa5c8 | 5881 | |
0e2ff151 RD |
5882 | wxPyEndAllowThreads(__tstate); |
5883 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
5884 | } _resultobj = Py_BuildValue("i",_result); |
5885 | return _resultobj; | |
5886 | } | |
5887 | ||
5888 | #define wxStyledTextCtrl_SetCaretWidth(_swigobj,_swigarg0) (_swigobj->SetCaretWidth(_swigarg0)) | |
5889 | static PyObject *_wrap_wxStyledTextCtrl_SetCaretWidth(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5890 | PyObject * _resultobj; | |
5891 | wxStyledTextCtrl * _arg0; | |
5892 | int _arg1; | |
5893 | PyObject * _argo0 = 0; | |
5894 | char *_kwnames[] = { "self","pixelWidth", NULL }; | |
5895 | ||
5896 | self = self; | |
5897 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_SetCaretWidth",_kwnames,&_argo0,&_arg1)) | |
5898 | return NULL; | |
5899 | if (_argo0) { | |
5900 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5901 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
5902 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetCaretWidth. Expected _wxStyledTextCtrl_p."); | |
5903 | return NULL; | |
5904 | } | |
5905 | } | |
5906 | { | |
0e2ff151 | 5907 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 5908 | wxStyledTextCtrl_SetCaretWidth(_arg0,_arg1); |
8a2fa5c8 | 5909 | |
0e2ff151 RD |
5910 | wxPyEndAllowThreads(__tstate); |
5911 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
5912 | } Py_INCREF(Py_None); |
5913 | _resultobj = Py_None; | |
5914 | return _resultobj; | |
5915 | } | |
5916 | ||
5917 | #define wxStyledTextCtrl_GetCaretWidth(_swigobj) (_swigobj->GetCaretWidth()) | |
5918 | static PyObject *_wrap_wxStyledTextCtrl_GetCaretWidth(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5919 | PyObject * _resultobj; | |
5920 | int _result; | |
5921 | wxStyledTextCtrl * _arg0; | |
5922 | PyObject * _argo0 = 0; | |
5923 | char *_kwnames[] = { "self", NULL }; | |
5924 | ||
5925 | self = self; | |
5926 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetCaretWidth",_kwnames,&_argo0)) | |
5927 | return NULL; | |
5928 | if (_argo0) { | |
5929 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5930 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
5931 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetCaretWidth. Expected _wxStyledTextCtrl_p."); | |
5932 | return NULL; | |
5933 | } | |
5934 | } | |
5935 | { | |
0e2ff151 | 5936 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 5937 | _result = (int )wxStyledTextCtrl_GetCaretWidth(_arg0); |
8a2fa5c8 | 5938 | |
0e2ff151 RD |
5939 | wxPyEndAllowThreads(__tstate); |
5940 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
5941 | } _resultobj = Py_BuildValue("i",_result); |
5942 | return _resultobj; | |
5943 | } | |
5944 | ||
5945 | #define wxStyledTextCtrl_SetTargetStart(_swigobj,_swigarg0) (_swigobj->SetTargetStart(_swigarg0)) | |
5946 | static PyObject *_wrap_wxStyledTextCtrl_SetTargetStart(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5947 | PyObject * _resultobj; | |
5948 | wxStyledTextCtrl * _arg0; | |
5949 | int _arg1; | |
5950 | PyObject * _argo0 = 0; | |
5951 | char *_kwnames[] = { "self","pos", NULL }; | |
5952 | ||
5953 | self = self; | |
5954 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_SetTargetStart",_kwnames,&_argo0,&_arg1)) | |
5955 | return NULL; | |
5956 | if (_argo0) { | |
5957 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5958 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
5959 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetTargetStart. Expected _wxStyledTextCtrl_p."); | |
5960 | return NULL; | |
5961 | } | |
5962 | } | |
5963 | { | |
0e2ff151 | 5964 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 5965 | wxStyledTextCtrl_SetTargetStart(_arg0,_arg1); |
8a2fa5c8 | 5966 | |
0e2ff151 RD |
5967 | wxPyEndAllowThreads(__tstate); |
5968 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
5969 | } Py_INCREF(Py_None); |
5970 | _resultobj = Py_None; | |
5971 | return _resultobj; | |
5972 | } | |
5973 | ||
5974 | #define wxStyledTextCtrl_GetTargetStart(_swigobj) (_swigobj->GetTargetStart()) | |
5975 | static PyObject *_wrap_wxStyledTextCtrl_GetTargetStart(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5976 | PyObject * _resultobj; | |
5977 | int _result; | |
5978 | wxStyledTextCtrl * _arg0; | |
5979 | PyObject * _argo0 = 0; | |
5980 | char *_kwnames[] = { "self", NULL }; | |
5981 | ||
5982 | self = self; | |
5983 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetTargetStart",_kwnames,&_argo0)) | |
5984 | return NULL; | |
5985 | if (_argo0) { | |
5986 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5987 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
5988 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetTargetStart. Expected _wxStyledTextCtrl_p."); | |
5989 | return NULL; | |
5990 | } | |
5991 | } | |
5992 | { | |
0e2ff151 | 5993 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 5994 | _result = (int )wxStyledTextCtrl_GetTargetStart(_arg0); |
8a2fa5c8 | 5995 | |
0e2ff151 RD |
5996 | wxPyEndAllowThreads(__tstate); |
5997 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
5998 | } _resultobj = Py_BuildValue("i",_result); |
5999 | return _resultobj; | |
6000 | } | |
6001 | ||
6002 | #define wxStyledTextCtrl_SetTargetEnd(_swigobj,_swigarg0) (_swigobj->SetTargetEnd(_swigarg0)) | |
6003 | static PyObject *_wrap_wxStyledTextCtrl_SetTargetEnd(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6004 | PyObject * _resultobj; | |
6005 | wxStyledTextCtrl * _arg0; | |
6006 | int _arg1; | |
6007 | PyObject * _argo0 = 0; | |
6008 | char *_kwnames[] = { "self","pos", NULL }; | |
6009 | ||
6010 | self = self; | |
6011 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_SetTargetEnd",_kwnames,&_argo0,&_arg1)) | |
6012 | return NULL; | |
6013 | if (_argo0) { | |
6014 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6015 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
6016 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetTargetEnd. Expected _wxStyledTextCtrl_p."); | |
6017 | return NULL; | |
6018 | } | |
6019 | } | |
6020 | { | |
0e2ff151 | 6021 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 6022 | wxStyledTextCtrl_SetTargetEnd(_arg0,_arg1); |
8a2fa5c8 | 6023 | |
0e2ff151 RD |
6024 | wxPyEndAllowThreads(__tstate); |
6025 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
6026 | } Py_INCREF(Py_None); |
6027 | _resultobj = Py_None; | |
6028 | return _resultobj; | |
6029 | } | |
6030 | ||
6031 | #define wxStyledTextCtrl_GetTargetEnd(_swigobj) (_swigobj->GetTargetEnd()) | |
6032 | static PyObject *_wrap_wxStyledTextCtrl_GetTargetEnd(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6033 | PyObject * _resultobj; | |
6034 | int _result; | |
6035 | wxStyledTextCtrl * _arg0; | |
6036 | PyObject * _argo0 = 0; | |
6037 | char *_kwnames[] = { "self", NULL }; | |
6038 | ||
6039 | self = self; | |
6040 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetTargetEnd",_kwnames,&_argo0)) | |
6041 | return NULL; | |
6042 | if (_argo0) { | |
6043 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6044 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
6045 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetTargetEnd. Expected _wxStyledTextCtrl_p."); | |
6046 | return NULL; | |
6047 | } | |
6048 | } | |
6049 | { | |
0e2ff151 | 6050 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 6051 | _result = (int )wxStyledTextCtrl_GetTargetEnd(_arg0); |
8a2fa5c8 | 6052 | |
0e2ff151 RD |
6053 | wxPyEndAllowThreads(__tstate); |
6054 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
6055 | } _resultobj = Py_BuildValue("i",_result); |
6056 | return _resultobj; | |
6057 | } | |
6058 | ||
6059 | #define wxStyledTextCtrl_ReplaceTarget(_swigobj,_swigarg0) (_swigobj->ReplaceTarget(_swigarg0)) | |
6060 | static PyObject *_wrap_wxStyledTextCtrl_ReplaceTarget(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6061 | PyObject * _resultobj; | |
6062 | int _result; | |
6063 | wxStyledTextCtrl * _arg0; | |
6064 | wxString * _arg1; | |
6065 | PyObject * _argo0 = 0; | |
6066 | PyObject * _obj1 = 0; | |
6067 | char *_kwnames[] = { "self","text", NULL }; | |
6068 | ||
6069 | self = self; | |
6070 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxStyledTextCtrl_ReplaceTarget",_kwnames,&_argo0,&_obj1)) | |
6071 | return NULL; | |
6072 | if (_argo0) { | |
6073 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6074 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
6075 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_ReplaceTarget. Expected _wxStyledTextCtrl_p."); | |
6076 | return NULL; | |
6077 | } | |
6078 | } | |
6079 | { | |
6824d4f9 RD |
6080 | _arg1 = wxString_in_helper(_obj1); |
6081 | if (_arg1 == NULL) | |
8a2fa5c8 | 6082 | return NULL; |
8a2fa5c8 RD |
6083 | } |
6084 | { | |
0e2ff151 | 6085 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 6086 | _result = (int )wxStyledTextCtrl_ReplaceTarget(_arg0,*_arg1); |
8a2fa5c8 | 6087 | |
0e2ff151 RD |
6088 | wxPyEndAllowThreads(__tstate); |
6089 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
6090 | } _resultobj = Py_BuildValue("i",_result); |
6091 | { | |
6092 | if (_obj1) | |
6093 | delete _arg1; | |
6094 | } | |
6095 | return _resultobj; | |
6096 | } | |
6097 | ||
6098 | #define wxStyledTextCtrl_ReplaceTargetRE(_swigobj,_swigarg0) (_swigobj->ReplaceTargetRE(_swigarg0)) | |
6099 | static PyObject *_wrap_wxStyledTextCtrl_ReplaceTargetRE(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6100 | PyObject * _resultobj; | |
6101 | int _result; | |
6102 | wxStyledTextCtrl * _arg0; | |
6103 | wxString * _arg1; | |
6104 | PyObject * _argo0 = 0; | |
6105 | PyObject * _obj1 = 0; | |
6106 | char *_kwnames[] = { "self","text", NULL }; | |
6107 | ||
6108 | self = self; | |
6109 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxStyledTextCtrl_ReplaceTargetRE",_kwnames,&_argo0,&_obj1)) | |
6110 | return NULL; | |
6111 | if (_argo0) { | |
6112 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6113 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
6114 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_ReplaceTargetRE. Expected _wxStyledTextCtrl_p."); | |
6115 | return NULL; | |
6116 | } | |
6117 | } | |
6118 | { | |
6824d4f9 RD |
6119 | _arg1 = wxString_in_helper(_obj1); |
6120 | if (_arg1 == NULL) | |
8a2fa5c8 | 6121 | return NULL; |
8a2fa5c8 RD |
6122 | } |
6123 | { | |
0e2ff151 | 6124 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 6125 | _result = (int )wxStyledTextCtrl_ReplaceTargetRE(_arg0,*_arg1); |
8a2fa5c8 | 6126 | |
0e2ff151 RD |
6127 | wxPyEndAllowThreads(__tstate); |
6128 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
6129 | } _resultobj = Py_BuildValue("i",_result); |
6130 | { | |
6131 | if (_obj1) | |
6132 | delete _arg1; | |
6133 | } | |
6134 | return _resultobj; | |
6135 | } | |
6136 | ||
6137 | #define wxStyledTextCtrl_SearchInTarget(_swigobj,_swigarg0) (_swigobj->SearchInTarget(_swigarg0)) | |
6138 | static PyObject *_wrap_wxStyledTextCtrl_SearchInTarget(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6139 | PyObject * _resultobj; | |
6140 | int _result; | |
6141 | wxStyledTextCtrl * _arg0; | |
6142 | wxString * _arg1; | |
6143 | PyObject * _argo0 = 0; | |
6144 | PyObject * _obj1 = 0; | |
6145 | char *_kwnames[] = { "self","text", NULL }; | |
6146 | ||
6147 | self = self; | |
6148 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxStyledTextCtrl_SearchInTarget",_kwnames,&_argo0,&_obj1)) | |
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_SearchInTarget. Expected _wxStyledTextCtrl_p."); | |
6154 | return NULL; | |
6155 | } | |
6156 | } | |
6157 | { | |
6824d4f9 RD |
6158 | _arg1 = wxString_in_helper(_obj1); |
6159 | if (_arg1 == NULL) | |
8a2fa5c8 | 6160 | return NULL; |
8a2fa5c8 RD |
6161 | } |
6162 | { | |
0e2ff151 | 6163 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 6164 | _result = (int )wxStyledTextCtrl_SearchInTarget(_arg0,*_arg1); |
8a2fa5c8 | 6165 | |
0e2ff151 RD |
6166 | wxPyEndAllowThreads(__tstate); |
6167 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
6168 | } _resultobj = Py_BuildValue("i",_result); |
6169 | { | |
6170 | if (_obj1) | |
6171 | delete _arg1; | |
6172 | } | |
6173 | return _resultobj; | |
6174 | } | |
6175 | ||
6176 | #define wxStyledTextCtrl_SetSearchFlags(_swigobj,_swigarg0) (_swigobj->SetSearchFlags(_swigarg0)) | |
6177 | static PyObject *_wrap_wxStyledTextCtrl_SetSearchFlags(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6178 | PyObject * _resultobj; | |
6179 | wxStyledTextCtrl * _arg0; | |
6180 | int _arg1; | |
6181 | PyObject * _argo0 = 0; | |
6182 | char *_kwnames[] = { "self","flags", NULL }; | |
6183 | ||
6184 | self = self; | |
6185 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_SetSearchFlags",_kwnames,&_argo0,&_arg1)) | |
6186 | return NULL; | |
6187 | if (_argo0) { | |
6188 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6189 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
6190 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetSearchFlags. Expected _wxStyledTextCtrl_p."); | |
6191 | return NULL; | |
6192 | } | |
6193 | } | |
6194 | { | |
0e2ff151 | 6195 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 6196 | wxStyledTextCtrl_SetSearchFlags(_arg0,_arg1); |
8a2fa5c8 | 6197 | |
0e2ff151 RD |
6198 | wxPyEndAllowThreads(__tstate); |
6199 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
6200 | } Py_INCREF(Py_None); |
6201 | _resultobj = Py_None; | |
6202 | return _resultobj; | |
6203 | } | |
6204 | ||
6205 | #define wxStyledTextCtrl_GetSearchFlags(_swigobj) (_swigobj->GetSearchFlags()) | |
6206 | static PyObject *_wrap_wxStyledTextCtrl_GetSearchFlags(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6207 | PyObject * _resultobj; | |
6208 | int _result; | |
6209 | wxStyledTextCtrl * _arg0; | |
6210 | PyObject * _argo0 = 0; | |
6211 | char *_kwnames[] = { "self", NULL }; | |
6212 | ||
6213 | self = self; | |
6214 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetSearchFlags",_kwnames,&_argo0)) | |
6215 | return NULL; | |
6216 | if (_argo0) { | |
6217 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6218 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
6219 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetSearchFlags. Expected _wxStyledTextCtrl_p."); | |
6220 | return NULL; | |
6221 | } | |
6222 | } | |
6223 | { | |
0e2ff151 | 6224 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 6225 | _result = (int )wxStyledTextCtrl_GetSearchFlags(_arg0); |
8a2fa5c8 | 6226 | |
0e2ff151 RD |
6227 | wxPyEndAllowThreads(__tstate); |
6228 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
6229 | } _resultobj = Py_BuildValue("i",_result); |
6230 | return _resultobj; | |
6231 | } | |
6232 | ||
6233 | #define wxStyledTextCtrl_CallTipShow(_swigobj,_swigarg0,_swigarg1) (_swigobj->CallTipShow(_swigarg0,_swigarg1)) | |
6234 | static PyObject *_wrap_wxStyledTextCtrl_CallTipShow(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6235 | PyObject * _resultobj; | |
6236 | wxStyledTextCtrl * _arg0; | |
6237 | int _arg1; | |
6238 | wxString * _arg2; | |
6239 | PyObject * _argo0 = 0; | |
6240 | PyObject * _obj2 = 0; | |
6241 | char *_kwnames[] = { "self","pos","definition", NULL }; | |
6242 | ||
6243 | self = self; | |
6244 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxStyledTextCtrl_CallTipShow",_kwnames,&_argo0,&_arg1,&_obj2)) | |
6245 | return NULL; | |
6246 | if (_argo0) { | |
6247 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6248 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
6249 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_CallTipShow. Expected _wxStyledTextCtrl_p."); | |
6250 | return NULL; | |
6251 | } | |
6252 | } | |
6253 | { | |
6824d4f9 RD |
6254 | _arg2 = wxString_in_helper(_obj2); |
6255 | if (_arg2 == NULL) | |
8a2fa5c8 | 6256 | return NULL; |
8a2fa5c8 RD |
6257 | } |
6258 | { | |
0e2ff151 | 6259 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 6260 | wxStyledTextCtrl_CallTipShow(_arg0,_arg1,*_arg2); |
8a2fa5c8 | 6261 | |
0e2ff151 RD |
6262 | wxPyEndAllowThreads(__tstate); |
6263 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
6264 | } Py_INCREF(Py_None); |
6265 | _resultobj = Py_None; | |
6266 | { | |
6267 | if (_obj2) | |
6268 | delete _arg2; | |
6269 | } | |
6270 | return _resultobj; | |
6271 | } | |
6272 | ||
6273 | #define wxStyledTextCtrl_CallTipCancel(_swigobj) (_swigobj->CallTipCancel()) | |
6274 | static PyObject *_wrap_wxStyledTextCtrl_CallTipCancel(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6275 | PyObject * _resultobj; | |
6276 | wxStyledTextCtrl * _arg0; | |
6277 | PyObject * _argo0 = 0; | |
6278 | char *_kwnames[] = { "self", NULL }; | |
6279 | ||
6280 | self = self; | |
6281 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_CallTipCancel",_kwnames,&_argo0)) | |
6282 | return NULL; | |
6283 | if (_argo0) { | |
6284 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6285 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
6286 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_CallTipCancel. Expected _wxStyledTextCtrl_p."); | |
6287 | return NULL; | |
6288 | } | |
6289 | } | |
6290 | { | |
0e2ff151 | 6291 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 6292 | wxStyledTextCtrl_CallTipCancel(_arg0); |
8a2fa5c8 | 6293 | |
0e2ff151 RD |
6294 | wxPyEndAllowThreads(__tstate); |
6295 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
6296 | } Py_INCREF(Py_None); |
6297 | _resultobj = Py_None; | |
6298 | return _resultobj; | |
6299 | } | |
6300 | ||
6301 | #define wxStyledTextCtrl_CallTipActive(_swigobj) (_swigobj->CallTipActive()) | |
6302 | static PyObject *_wrap_wxStyledTextCtrl_CallTipActive(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6303 | PyObject * _resultobj; | |
6304 | bool _result; | |
6305 | wxStyledTextCtrl * _arg0; | |
6306 | PyObject * _argo0 = 0; | |
6307 | char *_kwnames[] = { "self", NULL }; | |
6308 | ||
6309 | self = self; | |
6310 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_CallTipActive",_kwnames,&_argo0)) | |
6311 | return NULL; | |
6312 | if (_argo0) { | |
6313 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6314 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
6315 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_CallTipActive. Expected _wxStyledTextCtrl_p."); | |
6316 | return NULL; | |
6317 | } | |
6318 | } | |
6319 | { | |
0e2ff151 | 6320 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 6321 | _result = (bool )wxStyledTextCtrl_CallTipActive(_arg0); |
8a2fa5c8 | 6322 | |
0e2ff151 RD |
6323 | wxPyEndAllowThreads(__tstate); |
6324 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
6325 | } _resultobj = Py_BuildValue("i",_result); |
6326 | return _resultobj; | |
6327 | } | |
6328 | ||
6329 | #define wxStyledTextCtrl_CallTipPosAtStart(_swigobj) (_swigobj->CallTipPosAtStart()) | |
6330 | static PyObject *_wrap_wxStyledTextCtrl_CallTipPosAtStart(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6331 | PyObject * _resultobj; | |
6332 | int _result; | |
6333 | wxStyledTextCtrl * _arg0; | |
6334 | PyObject * _argo0 = 0; | |
6335 | char *_kwnames[] = { "self", NULL }; | |
6336 | ||
6337 | self = self; | |
6338 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_CallTipPosAtStart",_kwnames,&_argo0)) | |
6339 | return NULL; | |
6340 | if (_argo0) { | |
6341 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6342 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
6343 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_CallTipPosAtStart. Expected _wxStyledTextCtrl_p."); | |
6344 | return NULL; | |
6345 | } | |
6346 | } | |
6347 | { | |
0e2ff151 | 6348 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 6349 | _result = (int )wxStyledTextCtrl_CallTipPosAtStart(_arg0); |
8a2fa5c8 | 6350 | |
0e2ff151 RD |
6351 | wxPyEndAllowThreads(__tstate); |
6352 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
6353 | } _resultobj = Py_BuildValue("i",_result); |
6354 | return _resultobj; | |
6355 | } | |
6356 | ||
6357 | #define wxStyledTextCtrl_CallTipSetHighlight(_swigobj,_swigarg0,_swigarg1) (_swigobj->CallTipSetHighlight(_swigarg0,_swigarg1)) | |
6358 | static PyObject *_wrap_wxStyledTextCtrl_CallTipSetHighlight(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6359 | PyObject * _resultobj; | |
6360 | wxStyledTextCtrl * _arg0; | |
6361 | int _arg1; | |
6362 | int _arg2; | |
6363 | PyObject * _argo0 = 0; | |
6364 | char *_kwnames[] = { "self","start","end", NULL }; | |
6365 | ||
6366 | self = self; | |
6367 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxStyledTextCtrl_CallTipSetHighlight",_kwnames,&_argo0,&_arg1,&_arg2)) | |
6368 | return NULL; | |
6369 | if (_argo0) { | |
6370 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6371 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
6372 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_CallTipSetHighlight. Expected _wxStyledTextCtrl_p."); | |
6373 | return NULL; | |
6374 | } | |
6375 | } | |
6376 | { | |
0e2ff151 | 6377 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 6378 | wxStyledTextCtrl_CallTipSetHighlight(_arg0,_arg1,_arg2); |
8a2fa5c8 | 6379 | |
0e2ff151 RD |
6380 | wxPyEndAllowThreads(__tstate); |
6381 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
6382 | } Py_INCREF(Py_None); |
6383 | _resultobj = Py_None; | |
6384 | return _resultobj; | |
6385 | } | |
6386 | ||
6387 | #define wxStyledTextCtrl_CallTipSetBackground(_swigobj,_swigarg0) (_swigobj->CallTipSetBackground(_swigarg0)) | |
6388 | static PyObject *_wrap_wxStyledTextCtrl_CallTipSetBackground(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6389 | PyObject * _resultobj; | |
6390 | wxStyledTextCtrl * _arg0; | |
6391 | wxColour * _arg1; | |
6392 | PyObject * _argo0 = 0; | |
6393 | wxColour temp; | |
6394 | PyObject * _obj1 = 0; | |
6395 | char *_kwnames[] = { "self","back", NULL }; | |
6396 | ||
6397 | self = self; | |
6398 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxStyledTextCtrl_CallTipSetBackground",_kwnames,&_argo0,&_obj1)) | |
6399 | return NULL; | |
6400 | if (_argo0) { | |
6401 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6402 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
6403 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_CallTipSetBackground. Expected _wxStyledTextCtrl_p."); | |
6404 | return NULL; | |
6405 | } | |
6406 | } | |
6407 | { | |
6408 | _arg1 = &temp; | |
6409 | if (! wxColour_helper(_obj1, &_arg1)) | |
6410 | return NULL; | |
6411 | } | |
6412 | { | |
0e2ff151 | 6413 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 6414 | wxStyledTextCtrl_CallTipSetBackground(_arg0,*_arg1); |
8a2fa5c8 | 6415 | |
0e2ff151 RD |
6416 | wxPyEndAllowThreads(__tstate); |
6417 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
6418 | } Py_INCREF(Py_None); |
6419 | _resultobj = Py_None; | |
6420 | return _resultobj; | |
6421 | } | |
6422 | ||
1fded56b RD |
6423 | #define wxStyledTextCtrl_CallTipSetForeground(_swigobj,_swigarg0) (_swigobj->CallTipSetForeground(_swigarg0)) |
6424 | static PyObject *_wrap_wxStyledTextCtrl_CallTipSetForeground(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6425 | PyObject * _resultobj; | |
6426 | wxStyledTextCtrl * _arg0; | |
6427 | wxColour * _arg1; | |
6428 | PyObject * _argo0 = 0; | |
6429 | wxColour temp; | |
6430 | PyObject * _obj1 = 0; | |
6431 | char *_kwnames[] = { "self","fore", NULL }; | |
6432 | ||
6433 | self = self; | |
6434 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxStyledTextCtrl_CallTipSetForeground",_kwnames,&_argo0,&_obj1)) | |
6435 | return NULL; | |
6436 | if (_argo0) { | |
6437 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6438 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
6439 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_CallTipSetForeground. Expected _wxStyledTextCtrl_p."); | |
6440 | return NULL; | |
6441 | } | |
6442 | } | |
6443 | { | |
6444 | _arg1 = &temp; | |
6445 | if (! wxColour_helper(_obj1, &_arg1)) | |
6446 | return NULL; | |
6447 | } | |
6448 | { | |
6449 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6450 | wxStyledTextCtrl_CallTipSetForeground(_arg0,*_arg1); | |
6451 | ||
6452 | wxPyEndAllowThreads(__tstate); | |
6453 | if (PyErr_Occurred()) return NULL; | |
6454 | } Py_INCREF(Py_None); | |
6455 | _resultobj = Py_None; | |
6456 | return _resultobj; | |
6457 | } | |
6458 | ||
6459 | #define wxStyledTextCtrl_CallTipSetForegroundHighlight(_swigobj,_swigarg0) (_swigobj->CallTipSetForegroundHighlight(_swigarg0)) | |
6460 | static PyObject *_wrap_wxStyledTextCtrl_CallTipSetForegroundHighlight(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6461 | PyObject * _resultobj; | |
6462 | wxStyledTextCtrl * _arg0; | |
6463 | wxColour * _arg1; | |
6464 | PyObject * _argo0 = 0; | |
6465 | wxColour temp; | |
6466 | PyObject * _obj1 = 0; | |
6467 | char *_kwnames[] = { "self","fore", NULL }; | |
6468 | ||
6469 | self = self; | |
6470 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxStyledTextCtrl_CallTipSetForegroundHighlight",_kwnames,&_argo0,&_obj1)) | |
6471 | return NULL; | |
6472 | if (_argo0) { | |
6473 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6474 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
6475 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_CallTipSetForegroundHighlight. Expected _wxStyledTextCtrl_p."); | |
6476 | return NULL; | |
6477 | } | |
6478 | } | |
6479 | { | |
6480 | _arg1 = &temp; | |
6481 | if (! wxColour_helper(_obj1, &_arg1)) | |
6482 | return NULL; | |
6483 | } | |
6484 | { | |
6485 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6486 | wxStyledTextCtrl_CallTipSetForegroundHighlight(_arg0,*_arg1); | |
6487 | ||
6488 | wxPyEndAllowThreads(__tstate); | |
6489 | if (PyErr_Occurred()) return NULL; | |
6490 | } Py_INCREF(Py_None); | |
6491 | _resultobj = Py_None; | |
6492 | return _resultobj; | |
6493 | } | |
6494 | ||
8a2fa5c8 RD |
6495 | #define wxStyledTextCtrl_VisibleFromDocLine(_swigobj,_swigarg0) (_swigobj->VisibleFromDocLine(_swigarg0)) |
6496 | static PyObject *_wrap_wxStyledTextCtrl_VisibleFromDocLine(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6497 | PyObject * _resultobj; | |
6498 | int _result; | |
6499 | wxStyledTextCtrl * _arg0; | |
6500 | int _arg1; | |
6501 | PyObject * _argo0 = 0; | |
6502 | char *_kwnames[] = { "self","line", NULL }; | |
6503 | ||
6504 | self = self; | |
6505 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_VisibleFromDocLine",_kwnames,&_argo0,&_arg1)) | |
6506 | return NULL; | |
6507 | if (_argo0) { | |
6508 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6509 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
6510 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_VisibleFromDocLine. Expected _wxStyledTextCtrl_p."); | |
6511 | return NULL; | |
6512 | } | |
6513 | } | |
6514 | { | |
0e2ff151 | 6515 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 6516 | _result = (int )wxStyledTextCtrl_VisibleFromDocLine(_arg0,_arg1); |
8a2fa5c8 | 6517 | |
0e2ff151 RD |
6518 | wxPyEndAllowThreads(__tstate); |
6519 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
6520 | } _resultobj = Py_BuildValue("i",_result); |
6521 | return _resultobj; | |
6522 | } | |
6523 | ||
6524 | #define wxStyledTextCtrl_DocLineFromVisible(_swigobj,_swigarg0) (_swigobj->DocLineFromVisible(_swigarg0)) | |
6525 | static PyObject *_wrap_wxStyledTextCtrl_DocLineFromVisible(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6526 | PyObject * _resultobj; | |
6527 | int _result; | |
6528 | wxStyledTextCtrl * _arg0; | |
6529 | int _arg1; | |
6530 | PyObject * _argo0 = 0; | |
6531 | char *_kwnames[] = { "self","lineDisplay", NULL }; | |
6532 | ||
6533 | self = self; | |
6534 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_DocLineFromVisible",_kwnames,&_argo0,&_arg1)) | |
6535 | return NULL; | |
6536 | if (_argo0) { | |
6537 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6538 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
6539 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_DocLineFromVisible. Expected _wxStyledTextCtrl_p."); | |
6540 | return NULL; | |
6541 | } | |
6542 | } | |
6543 | { | |
0e2ff151 | 6544 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 6545 | _result = (int )wxStyledTextCtrl_DocLineFromVisible(_arg0,_arg1); |
8a2fa5c8 | 6546 | |
0e2ff151 RD |
6547 | wxPyEndAllowThreads(__tstate); |
6548 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
6549 | } _resultobj = Py_BuildValue("i",_result); |
6550 | return _resultobj; | |
6551 | } | |
6552 | ||
6553 | #define wxStyledTextCtrl_SetFoldLevel(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetFoldLevel(_swigarg0,_swigarg1)) | |
6554 | static PyObject *_wrap_wxStyledTextCtrl_SetFoldLevel(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6555 | PyObject * _resultobj; | |
6556 | wxStyledTextCtrl * _arg0; | |
6557 | int _arg1; | |
6558 | int _arg2; | |
6559 | PyObject * _argo0 = 0; | |
6560 | char *_kwnames[] = { "self","line","level", NULL }; | |
6561 | ||
6562 | self = self; | |
6563 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxStyledTextCtrl_SetFoldLevel",_kwnames,&_argo0,&_arg1,&_arg2)) | |
6564 | return NULL; | |
6565 | if (_argo0) { | |
6566 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6567 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
6568 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetFoldLevel. Expected _wxStyledTextCtrl_p."); | |
6569 | return NULL; | |
6570 | } | |
6571 | } | |
6572 | { | |
0e2ff151 | 6573 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 6574 | wxStyledTextCtrl_SetFoldLevel(_arg0,_arg1,_arg2); |
8a2fa5c8 | 6575 | |
0e2ff151 RD |
6576 | wxPyEndAllowThreads(__tstate); |
6577 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
6578 | } Py_INCREF(Py_None); |
6579 | _resultobj = Py_None; | |
6580 | return _resultobj; | |
6581 | } | |
6582 | ||
6583 | #define wxStyledTextCtrl_GetFoldLevel(_swigobj,_swigarg0) (_swigobj->GetFoldLevel(_swigarg0)) | |
6584 | static PyObject *_wrap_wxStyledTextCtrl_GetFoldLevel(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6585 | PyObject * _resultobj; | |
6586 | int _result; | |
6587 | wxStyledTextCtrl * _arg0; | |
6588 | int _arg1; | |
6589 | PyObject * _argo0 = 0; | |
6590 | char *_kwnames[] = { "self","line", NULL }; | |
6591 | ||
6592 | self = self; | |
6593 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_GetFoldLevel",_kwnames,&_argo0,&_arg1)) | |
6594 | return NULL; | |
6595 | if (_argo0) { | |
6596 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6597 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
6598 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetFoldLevel. Expected _wxStyledTextCtrl_p."); | |
6599 | return NULL; | |
6600 | } | |
6601 | } | |
6602 | { | |
0e2ff151 | 6603 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 6604 | _result = (int )wxStyledTextCtrl_GetFoldLevel(_arg0,_arg1); |
8a2fa5c8 | 6605 | |
0e2ff151 RD |
6606 | wxPyEndAllowThreads(__tstate); |
6607 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
6608 | } _resultobj = Py_BuildValue("i",_result); |
6609 | return _resultobj; | |
6610 | } | |
6611 | ||
6612 | #define wxStyledTextCtrl_GetLastChild(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetLastChild(_swigarg0,_swigarg1)) | |
6613 | static PyObject *_wrap_wxStyledTextCtrl_GetLastChild(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6614 | PyObject * _resultobj; | |
6615 | int _result; | |
6616 | wxStyledTextCtrl * _arg0; | |
6617 | int _arg1; | |
6618 | int _arg2; | |
6619 | PyObject * _argo0 = 0; | |
6620 | char *_kwnames[] = { "self","line","level", NULL }; | |
6621 | ||
6622 | self = self; | |
6623 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxStyledTextCtrl_GetLastChild",_kwnames,&_argo0,&_arg1,&_arg2)) | |
6624 | return NULL; | |
6625 | if (_argo0) { | |
6626 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6627 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
6628 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetLastChild. Expected _wxStyledTextCtrl_p."); | |
6629 | return NULL; | |
6630 | } | |
6631 | } | |
6632 | { | |
0e2ff151 | 6633 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 6634 | _result = (int )wxStyledTextCtrl_GetLastChild(_arg0,_arg1,_arg2); |
8a2fa5c8 | 6635 | |
0e2ff151 RD |
6636 | wxPyEndAllowThreads(__tstate); |
6637 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
6638 | } _resultobj = Py_BuildValue("i",_result); |
6639 | return _resultobj; | |
6640 | } | |
6641 | ||
6642 | #define wxStyledTextCtrl_GetFoldParent(_swigobj,_swigarg0) (_swigobj->GetFoldParent(_swigarg0)) | |
6643 | static PyObject *_wrap_wxStyledTextCtrl_GetFoldParent(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6644 | PyObject * _resultobj; | |
6645 | int _result; | |
6646 | wxStyledTextCtrl * _arg0; | |
6647 | int _arg1; | |
6648 | PyObject * _argo0 = 0; | |
6649 | char *_kwnames[] = { "self","line", NULL }; | |
6650 | ||
6651 | self = self; | |
6652 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_GetFoldParent",_kwnames,&_argo0,&_arg1)) | |
6653 | return NULL; | |
6654 | if (_argo0) { | |
6655 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6656 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
6657 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetFoldParent. Expected _wxStyledTextCtrl_p."); | |
6658 | return NULL; | |
6659 | } | |
6660 | } | |
6661 | { | |
0e2ff151 | 6662 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 6663 | _result = (int )wxStyledTextCtrl_GetFoldParent(_arg0,_arg1); |
8a2fa5c8 | 6664 | |
0e2ff151 RD |
6665 | wxPyEndAllowThreads(__tstate); |
6666 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
6667 | } _resultobj = Py_BuildValue("i",_result); |
6668 | return _resultobj; | |
6669 | } | |
6670 | ||
6671 | #define wxStyledTextCtrl_ShowLines(_swigobj,_swigarg0,_swigarg1) (_swigobj->ShowLines(_swigarg0,_swigarg1)) | |
6672 | static PyObject *_wrap_wxStyledTextCtrl_ShowLines(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6673 | PyObject * _resultobj; | |
6674 | wxStyledTextCtrl * _arg0; | |
6675 | int _arg1; | |
6676 | int _arg2; | |
6677 | PyObject * _argo0 = 0; | |
6678 | char *_kwnames[] = { "self","lineStart","lineEnd", NULL }; | |
6679 | ||
6680 | self = self; | |
6681 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxStyledTextCtrl_ShowLines",_kwnames,&_argo0,&_arg1,&_arg2)) | |
6682 | return NULL; | |
6683 | if (_argo0) { | |
6684 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6685 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
6686 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_ShowLines. Expected _wxStyledTextCtrl_p."); | |
6687 | return NULL; | |
6688 | } | |
6689 | } | |
6690 | { | |
0e2ff151 | 6691 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 6692 | wxStyledTextCtrl_ShowLines(_arg0,_arg1,_arg2); |
8a2fa5c8 | 6693 | |
0e2ff151 RD |
6694 | wxPyEndAllowThreads(__tstate); |
6695 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
6696 | } Py_INCREF(Py_None); |
6697 | _resultobj = Py_None; | |
6698 | return _resultobj; | |
6699 | } | |
6700 | ||
6701 | #define wxStyledTextCtrl_HideLines(_swigobj,_swigarg0,_swigarg1) (_swigobj->HideLines(_swigarg0,_swigarg1)) | |
6702 | static PyObject *_wrap_wxStyledTextCtrl_HideLines(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6703 | PyObject * _resultobj; | |
6704 | wxStyledTextCtrl * _arg0; | |
6705 | int _arg1; | |
6706 | int _arg2; | |
6707 | PyObject * _argo0 = 0; | |
6708 | char *_kwnames[] = { "self","lineStart","lineEnd", NULL }; | |
6709 | ||
6710 | self = self; | |
6711 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxStyledTextCtrl_HideLines",_kwnames,&_argo0,&_arg1,&_arg2)) | |
6712 | return NULL; | |
6713 | if (_argo0) { | |
6714 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6715 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
6716 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_HideLines. Expected _wxStyledTextCtrl_p."); | |
6717 | return NULL; | |
6718 | } | |
6719 | } | |
6720 | { | |
0e2ff151 | 6721 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 6722 | wxStyledTextCtrl_HideLines(_arg0,_arg1,_arg2); |
8a2fa5c8 | 6723 | |
0e2ff151 RD |
6724 | wxPyEndAllowThreads(__tstate); |
6725 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
6726 | } Py_INCREF(Py_None); |
6727 | _resultobj = Py_None; | |
6728 | return _resultobj; | |
6729 | } | |
6730 | ||
6731 | #define wxStyledTextCtrl_GetLineVisible(_swigobj,_swigarg0) (_swigobj->GetLineVisible(_swigarg0)) | |
6732 | static PyObject *_wrap_wxStyledTextCtrl_GetLineVisible(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6733 | PyObject * _resultobj; | |
6734 | bool _result; | |
6735 | wxStyledTextCtrl * _arg0; | |
6736 | int _arg1; | |
6737 | PyObject * _argo0 = 0; | |
6738 | char *_kwnames[] = { "self","line", NULL }; | |
6739 | ||
6740 | self = self; | |
6741 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_GetLineVisible",_kwnames,&_argo0,&_arg1)) | |
6742 | return NULL; | |
6743 | if (_argo0) { | |
6744 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6745 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
6746 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetLineVisible. Expected _wxStyledTextCtrl_p."); | |
6747 | return NULL; | |
6748 | } | |
6749 | } | |
6750 | { | |
0e2ff151 | 6751 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 6752 | _result = (bool )wxStyledTextCtrl_GetLineVisible(_arg0,_arg1); |
8a2fa5c8 | 6753 | |
0e2ff151 RD |
6754 | wxPyEndAllowThreads(__tstate); |
6755 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
6756 | } _resultobj = Py_BuildValue("i",_result); |
6757 | return _resultobj; | |
6758 | } | |
6759 | ||
6760 | #define wxStyledTextCtrl_SetFoldExpanded(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetFoldExpanded(_swigarg0,_swigarg1)) | |
6761 | static PyObject *_wrap_wxStyledTextCtrl_SetFoldExpanded(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6762 | PyObject * _resultobj; | |
6763 | wxStyledTextCtrl * _arg0; | |
6764 | int _arg1; | |
6765 | bool _arg2; | |
6766 | PyObject * _argo0 = 0; | |
6767 | int tempbool2; | |
6768 | char *_kwnames[] = { "self","line","expanded", NULL }; | |
6769 | ||
6770 | self = self; | |
6771 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxStyledTextCtrl_SetFoldExpanded",_kwnames,&_argo0,&_arg1,&tempbool2)) | |
6772 | return NULL; | |
6773 | if (_argo0) { | |
6774 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6775 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
6776 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetFoldExpanded. Expected _wxStyledTextCtrl_p."); | |
6777 | return NULL; | |
6778 | } | |
6779 | } | |
6780 | _arg2 = (bool ) tempbool2; | |
6781 | { | |
0e2ff151 | 6782 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 6783 | wxStyledTextCtrl_SetFoldExpanded(_arg0,_arg1,_arg2); |
8a2fa5c8 | 6784 | |
0e2ff151 RD |
6785 | wxPyEndAllowThreads(__tstate); |
6786 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
6787 | } Py_INCREF(Py_None); |
6788 | _resultobj = Py_None; | |
6789 | return _resultobj; | |
6790 | } | |
6791 | ||
6792 | #define wxStyledTextCtrl_GetFoldExpanded(_swigobj,_swigarg0) (_swigobj->GetFoldExpanded(_swigarg0)) | |
6793 | static PyObject *_wrap_wxStyledTextCtrl_GetFoldExpanded(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6794 | PyObject * _resultobj; | |
6795 | bool _result; | |
6796 | wxStyledTextCtrl * _arg0; | |
6797 | int _arg1; | |
6798 | PyObject * _argo0 = 0; | |
6799 | char *_kwnames[] = { "self","line", NULL }; | |
6800 | ||
6801 | self = self; | |
6802 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_GetFoldExpanded",_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_GetFoldExpanded. Expected _wxStyledTextCtrl_p."); | |
6808 | return NULL; | |
6809 | } | |
6810 | } | |
6811 | { | |
0e2ff151 | 6812 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 6813 | _result = (bool )wxStyledTextCtrl_GetFoldExpanded(_arg0,_arg1); |
8a2fa5c8 | 6814 | |
0e2ff151 RD |
6815 | wxPyEndAllowThreads(__tstate); |
6816 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
6817 | } _resultobj = Py_BuildValue("i",_result); |
6818 | return _resultobj; | |
6819 | } | |
6820 | ||
6821 | #define wxStyledTextCtrl_ToggleFold(_swigobj,_swigarg0) (_swigobj->ToggleFold(_swigarg0)) | |
6822 | static PyObject *_wrap_wxStyledTextCtrl_ToggleFold(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6823 | PyObject * _resultobj; | |
6824 | wxStyledTextCtrl * _arg0; | |
6825 | int _arg1; | |
6826 | PyObject * _argo0 = 0; | |
6827 | char *_kwnames[] = { "self","line", NULL }; | |
6828 | ||
6829 | self = self; | |
6830 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_ToggleFold",_kwnames,&_argo0,&_arg1)) | |
6831 | return NULL; | |
6832 | if (_argo0) { | |
6833 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6834 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
6835 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_ToggleFold. Expected _wxStyledTextCtrl_p."); | |
6836 | return NULL; | |
6837 | } | |
6838 | } | |
6839 | { | |
0e2ff151 | 6840 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 6841 | wxStyledTextCtrl_ToggleFold(_arg0,_arg1); |
8a2fa5c8 | 6842 | |
0e2ff151 RD |
6843 | wxPyEndAllowThreads(__tstate); |
6844 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
6845 | } Py_INCREF(Py_None); |
6846 | _resultobj = Py_None; | |
6847 | return _resultobj; | |
6848 | } | |
6849 | ||
6850 | #define wxStyledTextCtrl_EnsureVisible(_swigobj,_swigarg0) (_swigobj->EnsureVisible(_swigarg0)) | |
6851 | static PyObject *_wrap_wxStyledTextCtrl_EnsureVisible(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6852 | PyObject * _resultobj; | |
6853 | wxStyledTextCtrl * _arg0; | |
6854 | int _arg1; | |
6855 | PyObject * _argo0 = 0; | |
6856 | char *_kwnames[] = { "self","line", NULL }; | |
6857 | ||
6858 | self = self; | |
6859 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_EnsureVisible",_kwnames,&_argo0,&_arg1)) | |
6860 | return NULL; | |
6861 | if (_argo0) { | |
6862 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6863 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
6864 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_EnsureVisible. Expected _wxStyledTextCtrl_p."); | |
6865 | return NULL; | |
6866 | } | |
6867 | } | |
6868 | { | |
0e2ff151 | 6869 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 6870 | wxStyledTextCtrl_EnsureVisible(_arg0,_arg1); |
8a2fa5c8 | 6871 | |
0e2ff151 RD |
6872 | wxPyEndAllowThreads(__tstate); |
6873 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
6874 | } Py_INCREF(Py_None); |
6875 | _resultobj = Py_None; | |
6876 | return _resultobj; | |
6877 | } | |
6878 | ||
6879 | #define wxStyledTextCtrl_SetFoldFlags(_swigobj,_swigarg0) (_swigobj->SetFoldFlags(_swigarg0)) | |
6880 | static PyObject *_wrap_wxStyledTextCtrl_SetFoldFlags(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6881 | PyObject * _resultobj; | |
6882 | wxStyledTextCtrl * _arg0; | |
6883 | int _arg1; | |
6884 | PyObject * _argo0 = 0; | |
6885 | char *_kwnames[] = { "self","flags", NULL }; | |
6886 | ||
6887 | self = self; | |
6888 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_SetFoldFlags",_kwnames,&_argo0,&_arg1)) | |
6889 | return NULL; | |
6890 | if (_argo0) { | |
6891 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6892 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
6893 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetFoldFlags. Expected _wxStyledTextCtrl_p."); | |
6894 | return NULL; | |
6895 | } | |
6896 | } | |
6897 | { | |
0e2ff151 | 6898 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 6899 | wxStyledTextCtrl_SetFoldFlags(_arg0,_arg1); |
8a2fa5c8 | 6900 | |
0e2ff151 RD |
6901 | wxPyEndAllowThreads(__tstate); |
6902 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
6903 | } Py_INCREF(Py_None); |
6904 | _resultobj = Py_None; | |
6905 | return _resultobj; | |
6906 | } | |
6907 | ||
6908 | #define wxStyledTextCtrl_EnsureVisibleEnforcePolicy(_swigobj,_swigarg0) (_swigobj->EnsureVisibleEnforcePolicy(_swigarg0)) | |
6909 | static PyObject *_wrap_wxStyledTextCtrl_EnsureVisibleEnforcePolicy(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6910 | PyObject * _resultobj; | |
6911 | wxStyledTextCtrl * _arg0; | |
6912 | int _arg1; | |
6913 | PyObject * _argo0 = 0; | |
6914 | char *_kwnames[] = { "self","line", NULL }; | |
6915 | ||
6916 | self = self; | |
6917 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_EnsureVisibleEnforcePolicy",_kwnames,&_argo0,&_arg1)) | |
6918 | return NULL; | |
6919 | if (_argo0) { | |
6920 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6921 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
6922 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_EnsureVisibleEnforcePolicy. Expected _wxStyledTextCtrl_p."); | |
6923 | return NULL; | |
6924 | } | |
6925 | } | |
6926 | { | |
0e2ff151 | 6927 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 6928 | wxStyledTextCtrl_EnsureVisibleEnforcePolicy(_arg0,_arg1); |
8a2fa5c8 | 6929 | |
0e2ff151 RD |
6930 | wxPyEndAllowThreads(__tstate); |
6931 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
6932 | } Py_INCREF(Py_None); |
6933 | _resultobj = Py_None; | |
6934 | return _resultobj; | |
6935 | } | |
6936 | ||
6937 | #define wxStyledTextCtrl_SetTabIndents(_swigobj,_swigarg0) (_swigobj->SetTabIndents(_swigarg0)) | |
6938 | static PyObject *_wrap_wxStyledTextCtrl_SetTabIndents(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6939 | PyObject * _resultobj; | |
6940 | wxStyledTextCtrl * _arg0; | |
6941 | bool _arg1; | |
6942 | PyObject * _argo0 = 0; | |
6943 | int tempbool1; | |
6944 | char *_kwnames[] = { "self","tabIndents", NULL }; | |
6945 | ||
6946 | self = self; | |
6947 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_SetTabIndents",_kwnames,&_argo0,&tempbool1)) | |
6948 | return NULL; | |
6949 | if (_argo0) { | |
6950 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6951 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
6952 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetTabIndents. Expected _wxStyledTextCtrl_p."); | |
6953 | return NULL; | |
6954 | } | |
6955 | } | |
6956 | _arg1 = (bool ) tempbool1; | |
6957 | { | |
0e2ff151 | 6958 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 6959 | wxStyledTextCtrl_SetTabIndents(_arg0,_arg1); |
8a2fa5c8 | 6960 | |
0e2ff151 RD |
6961 | wxPyEndAllowThreads(__tstate); |
6962 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
6963 | } Py_INCREF(Py_None); |
6964 | _resultobj = Py_None; | |
6965 | return _resultobj; | |
6966 | } | |
6967 | ||
6968 | #define wxStyledTextCtrl_GetTabIndents(_swigobj) (_swigobj->GetTabIndents()) | |
6969 | static PyObject *_wrap_wxStyledTextCtrl_GetTabIndents(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6970 | PyObject * _resultobj; | |
6971 | bool _result; | |
6972 | wxStyledTextCtrl * _arg0; | |
6973 | PyObject * _argo0 = 0; | |
6974 | char *_kwnames[] = { "self", NULL }; | |
6975 | ||
6976 | self = self; | |
6977 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetTabIndents",_kwnames,&_argo0)) | |
6978 | return NULL; | |
6979 | if (_argo0) { | |
6980 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6981 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
6982 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetTabIndents. Expected _wxStyledTextCtrl_p."); | |
6983 | return NULL; | |
6984 | } | |
6985 | } | |
6986 | { | |
0e2ff151 | 6987 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 6988 | _result = (bool )wxStyledTextCtrl_GetTabIndents(_arg0); |
8a2fa5c8 | 6989 | |
0e2ff151 RD |
6990 | wxPyEndAllowThreads(__tstate); |
6991 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
6992 | } _resultobj = Py_BuildValue("i",_result); |
6993 | return _resultobj; | |
6994 | } | |
6995 | ||
6996 | #define wxStyledTextCtrl_SetBackSpaceUnIndents(_swigobj,_swigarg0) (_swigobj->SetBackSpaceUnIndents(_swigarg0)) | |
6997 | static PyObject *_wrap_wxStyledTextCtrl_SetBackSpaceUnIndents(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6998 | PyObject * _resultobj; | |
6999 | wxStyledTextCtrl * _arg0; | |
7000 | bool _arg1; | |
7001 | PyObject * _argo0 = 0; | |
7002 | int tempbool1; | |
7003 | char *_kwnames[] = { "self","bsUnIndents", NULL }; | |
7004 | ||
7005 | self = self; | |
7006 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_SetBackSpaceUnIndents",_kwnames,&_argo0,&tempbool1)) | |
7007 | return NULL; | |
7008 | if (_argo0) { | |
7009 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7010 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
7011 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetBackSpaceUnIndents. Expected _wxStyledTextCtrl_p."); | |
7012 | return NULL; | |
7013 | } | |
7014 | } | |
7015 | _arg1 = (bool ) tempbool1; | |
7016 | { | |
0e2ff151 | 7017 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 7018 | wxStyledTextCtrl_SetBackSpaceUnIndents(_arg0,_arg1); |
8a2fa5c8 | 7019 | |
0e2ff151 RD |
7020 | wxPyEndAllowThreads(__tstate); |
7021 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
7022 | } Py_INCREF(Py_None); |
7023 | _resultobj = Py_None; | |
7024 | return _resultobj; | |
7025 | } | |
7026 | ||
7027 | #define wxStyledTextCtrl_GetBackSpaceUnIndents(_swigobj) (_swigobj->GetBackSpaceUnIndents()) | |
7028 | static PyObject *_wrap_wxStyledTextCtrl_GetBackSpaceUnIndents(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7029 | PyObject * _resultobj; | |
7030 | bool _result; | |
7031 | wxStyledTextCtrl * _arg0; | |
7032 | PyObject * _argo0 = 0; | |
7033 | char *_kwnames[] = { "self", NULL }; | |
7034 | ||
7035 | self = self; | |
7036 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetBackSpaceUnIndents",_kwnames,&_argo0)) | |
7037 | return NULL; | |
7038 | if (_argo0) { | |
7039 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7040 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
7041 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetBackSpaceUnIndents. Expected _wxStyledTextCtrl_p."); | |
7042 | return NULL; | |
7043 | } | |
7044 | } | |
7045 | { | |
0e2ff151 | 7046 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 7047 | _result = (bool )wxStyledTextCtrl_GetBackSpaceUnIndents(_arg0); |
8a2fa5c8 | 7048 | |
0e2ff151 RD |
7049 | wxPyEndAllowThreads(__tstate); |
7050 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
7051 | } _resultobj = Py_BuildValue("i",_result); |
7052 | return _resultobj; | |
7053 | } | |
7054 | ||
7055 | #define wxStyledTextCtrl_SetMouseDwellTime(_swigobj,_swigarg0) (_swigobj->SetMouseDwellTime(_swigarg0)) | |
7056 | static PyObject *_wrap_wxStyledTextCtrl_SetMouseDwellTime(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7057 | PyObject * _resultobj; | |
7058 | wxStyledTextCtrl * _arg0; | |
7059 | int _arg1; | |
7060 | PyObject * _argo0 = 0; | |
7061 | char *_kwnames[] = { "self","periodMilliseconds", NULL }; | |
7062 | ||
7063 | self = self; | |
7064 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_SetMouseDwellTime",_kwnames,&_argo0,&_arg1)) | |
7065 | return NULL; | |
7066 | if (_argo0) { | |
7067 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7068 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
7069 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetMouseDwellTime. Expected _wxStyledTextCtrl_p."); | |
7070 | return NULL; | |
7071 | } | |
7072 | } | |
7073 | { | |
0e2ff151 | 7074 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 7075 | wxStyledTextCtrl_SetMouseDwellTime(_arg0,_arg1); |
8a2fa5c8 | 7076 | |
0e2ff151 RD |
7077 | wxPyEndAllowThreads(__tstate); |
7078 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
7079 | } Py_INCREF(Py_None); |
7080 | _resultobj = Py_None; | |
7081 | return _resultobj; | |
7082 | } | |
7083 | ||
7084 | #define wxStyledTextCtrl_GetMouseDwellTime(_swigobj) (_swigobj->GetMouseDwellTime()) | |
7085 | static PyObject *_wrap_wxStyledTextCtrl_GetMouseDwellTime(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7086 | PyObject * _resultobj; | |
7087 | int _result; | |
7088 | wxStyledTextCtrl * _arg0; | |
7089 | PyObject * _argo0 = 0; | |
7090 | char *_kwnames[] = { "self", NULL }; | |
7091 | ||
7092 | self = self; | |
7093 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetMouseDwellTime",_kwnames,&_argo0)) | |
7094 | return NULL; | |
7095 | if (_argo0) { | |
7096 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7097 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
7098 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetMouseDwellTime. Expected _wxStyledTextCtrl_p."); | |
7099 | return NULL; | |
7100 | } | |
7101 | } | |
7102 | { | |
0e2ff151 | 7103 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 7104 | _result = (int )wxStyledTextCtrl_GetMouseDwellTime(_arg0); |
8a2fa5c8 | 7105 | |
0e2ff151 RD |
7106 | wxPyEndAllowThreads(__tstate); |
7107 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
7108 | } _resultobj = Py_BuildValue("i",_result); |
7109 | return _resultobj; | |
7110 | } | |
7111 | ||
c3bfa1cb RD |
7112 | #define wxStyledTextCtrl_WordStartPosition(_swigobj,_swigarg0,_swigarg1) (_swigobj->WordStartPosition(_swigarg0,_swigarg1)) |
7113 | static PyObject *_wrap_wxStyledTextCtrl_WordStartPosition(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7114 | PyObject * _resultobj; | |
7115 | int _result; | |
7116 | wxStyledTextCtrl * _arg0; | |
7117 | int _arg1; | |
7118 | bool _arg2; | |
7119 | PyObject * _argo0 = 0; | |
7120 | int tempbool2; | |
7121 | char *_kwnames[] = { "self","pos","onlyWordCharacters", NULL }; | |
7122 | ||
7123 | self = self; | |
7124 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxStyledTextCtrl_WordStartPosition",_kwnames,&_argo0,&_arg1,&tempbool2)) | |
7125 | return NULL; | |
7126 | if (_argo0) { | |
7127 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7128 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
7129 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_WordStartPosition. Expected _wxStyledTextCtrl_p."); | |
7130 | return NULL; | |
7131 | } | |
7132 | } | |
7133 | _arg2 = (bool ) tempbool2; | |
7134 | { | |
7135 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7136 | _result = (int )wxStyledTextCtrl_WordStartPosition(_arg0,_arg1,_arg2); | |
7137 | ||
7138 | wxPyEndAllowThreads(__tstate); | |
7139 | if (PyErr_Occurred()) return NULL; | |
7140 | } _resultobj = Py_BuildValue("i",_result); | |
7141 | return _resultobj; | |
7142 | } | |
7143 | ||
7144 | #define wxStyledTextCtrl_WordEndPosition(_swigobj,_swigarg0,_swigarg1) (_swigobj->WordEndPosition(_swigarg0,_swigarg1)) | |
7145 | static PyObject *_wrap_wxStyledTextCtrl_WordEndPosition(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7146 | PyObject * _resultobj; | |
7147 | int _result; | |
7148 | wxStyledTextCtrl * _arg0; | |
7149 | int _arg1; | |
7150 | bool _arg2; | |
7151 | PyObject * _argo0 = 0; | |
7152 | int tempbool2; | |
7153 | char *_kwnames[] = { "self","pos","onlyWordCharacters", NULL }; | |
7154 | ||
7155 | self = self; | |
7156 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxStyledTextCtrl_WordEndPosition",_kwnames,&_argo0,&_arg1,&tempbool2)) | |
7157 | return NULL; | |
7158 | if (_argo0) { | |
7159 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7160 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
7161 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_WordEndPosition. Expected _wxStyledTextCtrl_p."); | |
7162 | return NULL; | |
7163 | } | |
7164 | } | |
7165 | _arg2 = (bool ) tempbool2; | |
7166 | { | |
7167 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7168 | _result = (int )wxStyledTextCtrl_WordEndPosition(_arg0,_arg1,_arg2); | |
7169 | ||
7170 | wxPyEndAllowThreads(__tstate); | |
7171 | if (PyErr_Occurred()) return NULL; | |
7172 | } _resultobj = Py_BuildValue("i",_result); | |
7173 | return _resultobj; | |
7174 | } | |
7175 | ||
7176 | #define wxStyledTextCtrl_SetWrapMode(_swigobj,_swigarg0) (_swigobj->SetWrapMode(_swigarg0)) | |
7177 | static PyObject *_wrap_wxStyledTextCtrl_SetWrapMode(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7178 | PyObject * _resultobj; | |
7179 | wxStyledTextCtrl * _arg0; | |
7180 | int _arg1; | |
7181 | PyObject * _argo0 = 0; | |
7182 | char *_kwnames[] = { "self","mode", NULL }; | |
7183 | ||
7184 | self = self; | |
7185 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_SetWrapMode",_kwnames,&_argo0,&_arg1)) | |
7186 | return NULL; | |
7187 | if (_argo0) { | |
7188 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7189 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
7190 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetWrapMode. Expected _wxStyledTextCtrl_p."); | |
7191 | return NULL; | |
7192 | } | |
7193 | } | |
7194 | { | |
7195 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7196 | wxStyledTextCtrl_SetWrapMode(_arg0,_arg1); | |
7197 | ||
7198 | wxPyEndAllowThreads(__tstate); | |
7199 | if (PyErr_Occurred()) return NULL; | |
7200 | } Py_INCREF(Py_None); | |
7201 | _resultobj = Py_None; | |
7202 | return _resultobj; | |
7203 | } | |
7204 | ||
7205 | #define wxStyledTextCtrl_GetWrapMode(_swigobj) (_swigobj->GetWrapMode()) | |
7206 | static PyObject *_wrap_wxStyledTextCtrl_GetWrapMode(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7207 | PyObject * _resultobj; | |
7208 | int _result; | |
7209 | wxStyledTextCtrl * _arg0; | |
7210 | PyObject * _argo0 = 0; | |
7211 | char *_kwnames[] = { "self", NULL }; | |
7212 | ||
7213 | self = self; | |
7214 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetWrapMode",_kwnames,&_argo0)) | |
7215 | return NULL; | |
7216 | if (_argo0) { | |
7217 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7218 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
7219 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetWrapMode. Expected _wxStyledTextCtrl_p."); | |
7220 | return NULL; | |
7221 | } | |
7222 | } | |
7223 | { | |
7224 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7225 | _result = (int )wxStyledTextCtrl_GetWrapMode(_arg0); | |
7226 | ||
7227 | wxPyEndAllowThreads(__tstate); | |
7228 | if (PyErr_Occurred()) return NULL; | |
7229 | } _resultobj = Py_BuildValue("i",_result); | |
7230 | return _resultobj; | |
7231 | } | |
7232 | ||
7233 | #define wxStyledTextCtrl_SetLayoutCache(_swigobj,_swigarg0) (_swigobj->SetLayoutCache(_swigarg0)) | |
7234 | static PyObject *_wrap_wxStyledTextCtrl_SetLayoutCache(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7235 | PyObject * _resultobj; | |
7236 | wxStyledTextCtrl * _arg0; | |
7237 | int _arg1; | |
7238 | PyObject * _argo0 = 0; | |
7239 | char *_kwnames[] = { "self","mode", NULL }; | |
7240 | ||
7241 | self = self; | |
7242 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_SetLayoutCache",_kwnames,&_argo0,&_arg1)) | |
7243 | return NULL; | |
7244 | if (_argo0) { | |
7245 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7246 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
7247 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetLayoutCache. Expected _wxStyledTextCtrl_p."); | |
7248 | return NULL; | |
7249 | } | |
7250 | } | |
7251 | { | |
7252 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7253 | wxStyledTextCtrl_SetLayoutCache(_arg0,_arg1); | |
7254 | ||
7255 | wxPyEndAllowThreads(__tstate); | |
7256 | if (PyErr_Occurred()) return NULL; | |
7257 | } Py_INCREF(Py_None); | |
7258 | _resultobj = Py_None; | |
7259 | return _resultobj; | |
7260 | } | |
7261 | ||
7262 | #define wxStyledTextCtrl_GetLayoutCache(_swigobj) (_swigobj->GetLayoutCache()) | |
7263 | static PyObject *_wrap_wxStyledTextCtrl_GetLayoutCache(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7264 | PyObject * _resultobj; | |
7265 | int _result; | |
7266 | wxStyledTextCtrl * _arg0; | |
7267 | PyObject * _argo0 = 0; | |
7268 | char *_kwnames[] = { "self", NULL }; | |
7269 | ||
7270 | self = self; | |
7271 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetLayoutCache",_kwnames,&_argo0)) | |
7272 | return NULL; | |
7273 | if (_argo0) { | |
7274 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7275 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
7276 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetLayoutCache. Expected _wxStyledTextCtrl_p."); | |
7277 | return NULL; | |
7278 | } | |
7279 | } | |
7280 | { | |
7281 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7282 | _result = (int )wxStyledTextCtrl_GetLayoutCache(_arg0); | |
7283 | ||
7284 | wxPyEndAllowThreads(__tstate); | |
7285 | if (PyErr_Occurred()) return NULL; | |
7286 | } _resultobj = Py_BuildValue("i",_result); | |
7287 | return _resultobj; | |
7288 | } | |
7289 | ||
47a06a26 RD |
7290 | #define wxStyledTextCtrl_SetScrollWidth(_swigobj,_swigarg0) (_swigobj->SetScrollWidth(_swigarg0)) |
7291 | static PyObject *_wrap_wxStyledTextCtrl_SetScrollWidth(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7292 | PyObject * _resultobj; | |
7293 | wxStyledTextCtrl * _arg0; | |
7294 | int _arg1; | |
7295 | PyObject * _argo0 = 0; | |
7296 | char *_kwnames[] = { "self","pixelWidth", NULL }; | |
7297 | ||
7298 | self = self; | |
7299 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_SetScrollWidth",_kwnames,&_argo0,&_arg1)) | |
7300 | return NULL; | |
7301 | if (_argo0) { | |
7302 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7303 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
7304 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetScrollWidth. Expected _wxStyledTextCtrl_p."); | |
7305 | return NULL; | |
7306 | } | |
7307 | } | |
7308 | { | |
7309 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7310 | wxStyledTextCtrl_SetScrollWidth(_arg0,_arg1); | |
7311 | ||
7312 | wxPyEndAllowThreads(__tstate); | |
7313 | if (PyErr_Occurred()) return NULL; | |
7314 | } Py_INCREF(Py_None); | |
7315 | _resultobj = Py_None; | |
7316 | return _resultobj; | |
7317 | } | |
7318 | ||
7319 | #define wxStyledTextCtrl_GetScrollWidth(_swigobj) (_swigobj->GetScrollWidth()) | |
7320 | static PyObject *_wrap_wxStyledTextCtrl_GetScrollWidth(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7321 | PyObject * _resultobj; | |
7322 | int _result; | |
7323 | wxStyledTextCtrl * _arg0; | |
7324 | PyObject * _argo0 = 0; | |
7325 | char *_kwnames[] = { "self", NULL }; | |
7326 | ||
7327 | self = self; | |
7328 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetScrollWidth",_kwnames,&_argo0)) | |
7329 | return NULL; | |
7330 | if (_argo0) { | |
7331 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7332 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
7333 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetScrollWidth. Expected _wxStyledTextCtrl_p."); | |
7334 | return NULL; | |
7335 | } | |
7336 | } | |
7337 | { | |
7338 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7339 | _result = (int )wxStyledTextCtrl_GetScrollWidth(_arg0); | |
7340 | ||
7341 | wxPyEndAllowThreads(__tstate); | |
7342 | if (PyErr_Occurred()) return NULL; | |
7343 | } _resultobj = Py_BuildValue("i",_result); | |
7344 | return _resultobj; | |
7345 | } | |
7346 | ||
7347 | #define wxStyledTextCtrl_TextWidth(_swigobj,_swigarg0,_swigarg1) (_swigobj->TextWidth(_swigarg0,_swigarg1)) | |
7348 | static PyObject *_wrap_wxStyledTextCtrl_TextWidth(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7349 | PyObject * _resultobj; | |
7350 | int _result; | |
7351 | wxStyledTextCtrl * _arg0; | |
7352 | int _arg1; | |
7353 | wxString * _arg2; | |
7354 | PyObject * _argo0 = 0; | |
7355 | PyObject * _obj2 = 0; | |
7356 | char *_kwnames[] = { "self","style","text", NULL }; | |
7357 | ||
7358 | self = self; | |
7359 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxStyledTextCtrl_TextWidth",_kwnames,&_argo0,&_arg1,&_obj2)) | |
7360 | return NULL; | |
7361 | if (_argo0) { | |
7362 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7363 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
7364 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_TextWidth. Expected _wxStyledTextCtrl_p."); | |
7365 | return NULL; | |
7366 | } | |
7367 | } | |
7368 | { | |
7369 | _arg2 = wxString_in_helper(_obj2); | |
7370 | if (_arg2 == NULL) | |
7371 | return NULL; | |
7372 | } | |
7373 | { | |
7374 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7375 | _result = (int )wxStyledTextCtrl_TextWidth(_arg0,_arg1,*_arg2); | |
7376 | ||
7377 | wxPyEndAllowThreads(__tstate); | |
7378 | if (PyErr_Occurred()) return NULL; | |
7379 | } _resultobj = Py_BuildValue("i",_result); | |
7380 | { | |
7381 | if (_obj2) | |
7382 | delete _arg2; | |
7383 | } | |
7384 | return _resultobj; | |
7385 | } | |
7386 | ||
7387 | #define wxStyledTextCtrl_SetEndAtLastLine(_swigobj,_swigarg0) (_swigobj->SetEndAtLastLine(_swigarg0)) | |
7388 | static PyObject *_wrap_wxStyledTextCtrl_SetEndAtLastLine(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7389 | PyObject * _resultobj; | |
7390 | wxStyledTextCtrl * _arg0; | |
7391 | bool _arg1; | |
7392 | PyObject * _argo0 = 0; | |
7393 | int tempbool1; | |
7394 | char *_kwnames[] = { "self","endAtLastLine", NULL }; | |
7395 | ||
7396 | self = self; | |
7397 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_SetEndAtLastLine",_kwnames,&_argo0,&tempbool1)) | |
7398 | return NULL; | |
7399 | if (_argo0) { | |
7400 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7401 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
7402 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetEndAtLastLine. Expected _wxStyledTextCtrl_p."); | |
7403 | return NULL; | |
7404 | } | |
7405 | } | |
7406 | _arg1 = (bool ) tempbool1; | |
7407 | { | |
7408 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7409 | wxStyledTextCtrl_SetEndAtLastLine(_arg0,_arg1); | |
7410 | ||
7411 | wxPyEndAllowThreads(__tstate); | |
7412 | if (PyErr_Occurred()) return NULL; | |
7413 | } Py_INCREF(Py_None); | |
7414 | _resultobj = Py_None; | |
7415 | return _resultobj; | |
7416 | } | |
7417 | ||
7418 | #define wxStyledTextCtrl_GetEndAtLastLine(_swigobj) (_swigobj->GetEndAtLastLine()) | |
7419 | static PyObject *_wrap_wxStyledTextCtrl_GetEndAtLastLine(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7420 | PyObject * _resultobj; | |
7421 | int _result; | |
7422 | wxStyledTextCtrl * _arg0; | |
7423 | PyObject * _argo0 = 0; | |
7424 | char *_kwnames[] = { "self", NULL }; | |
7425 | ||
7426 | self = self; | |
7427 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetEndAtLastLine",_kwnames,&_argo0)) | |
7428 | return NULL; | |
7429 | if (_argo0) { | |
7430 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7431 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
7432 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetEndAtLastLine. Expected _wxStyledTextCtrl_p."); | |
7433 | return NULL; | |
7434 | } | |
7435 | } | |
7436 | { | |
7437 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7438 | _result = (int )wxStyledTextCtrl_GetEndAtLastLine(_arg0); | |
7439 | ||
7440 | wxPyEndAllowThreads(__tstate); | |
7441 | if (PyErr_Occurred()) return NULL; | |
7442 | } _resultobj = Py_BuildValue("i",_result); | |
7443 | return _resultobj; | |
7444 | } | |
7445 | ||
7446 | #define wxStyledTextCtrl_TextHeight(_swigobj,_swigarg0) (_swigobj->TextHeight(_swigarg0)) | |
7447 | static PyObject *_wrap_wxStyledTextCtrl_TextHeight(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7448 | PyObject * _resultobj; | |
7449 | int _result; | |
7450 | wxStyledTextCtrl * _arg0; | |
7451 | int _arg1; | |
7452 | PyObject * _argo0 = 0; | |
7453 | char *_kwnames[] = { "self","line", NULL }; | |
7454 | ||
7455 | self = self; | |
7456 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_TextHeight",_kwnames,&_argo0,&_arg1)) | |
7457 | return NULL; | |
7458 | if (_argo0) { | |
7459 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7460 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
7461 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_TextHeight. Expected _wxStyledTextCtrl_p."); | |
7462 | return NULL; | |
7463 | } | |
7464 | } | |
7465 | { | |
7466 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7467 | _result = (int )wxStyledTextCtrl_TextHeight(_arg0,_arg1); | |
7468 | ||
7469 | wxPyEndAllowThreads(__tstate); | |
7470 | if (PyErr_Occurred()) return NULL; | |
7471 | } _resultobj = Py_BuildValue("i",_result); | |
7472 | return _resultobj; | |
7473 | } | |
7474 | ||
1fded56b RD |
7475 | #define wxStyledTextCtrl_SetUseVerticalScrollBar(_swigobj,_swigarg0) (_swigobj->SetUseVerticalScrollBar(_swigarg0)) |
7476 | static PyObject *_wrap_wxStyledTextCtrl_SetUseVerticalScrollBar(PyObject *self, PyObject *args, PyObject *kwargs) { | |
47a06a26 RD |
7477 | PyObject * _resultobj; |
7478 | wxStyledTextCtrl * _arg0; | |
1fded56b | 7479 | bool _arg1; |
47a06a26 | 7480 | PyObject * _argo0 = 0; |
1fded56b RD |
7481 | int tempbool1; |
7482 | char *_kwnames[] = { "self","show", NULL }; | |
47a06a26 RD |
7483 | |
7484 | self = self; | |
1fded56b | 7485 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_SetUseVerticalScrollBar",_kwnames,&_argo0,&tempbool1)) |
47a06a26 RD |
7486 | return NULL; |
7487 | if (_argo0) { | |
7488 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7489 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
1fded56b | 7490 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetUseVerticalScrollBar. Expected _wxStyledTextCtrl_p."); |
47a06a26 RD |
7491 | return NULL; |
7492 | } | |
7493 | } | |
1fded56b | 7494 | _arg1 = (bool ) tempbool1; |
47a06a26 RD |
7495 | { |
7496 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1fded56b | 7497 | wxStyledTextCtrl_SetUseVerticalScrollBar(_arg0,_arg1); |
47a06a26 RD |
7498 | |
7499 | wxPyEndAllowThreads(__tstate); | |
7500 | if (PyErr_Occurred()) return NULL; | |
7501 | } Py_INCREF(Py_None); | |
7502 | _resultobj = Py_None; | |
7503 | return _resultobj; | |
7504 | } | |
7505 | ||
1fded56b RD |
7506 | #define wxStyledTextCtrl_GetUseVerticalScrollBar(_swigobj) (_swigobj->GetUseVerticalScrollBar()) |
7507 | static PyObject *_wrap_wxStyledTextCtrl_GetUseVerticalScrollBar(PyObject *self, PyObject *args, PyObject *kwargs) { | |
47a06a26 | 7508 | PyObject * _resultobj; |
1fded56b | 7509 | bool _result; |
47a06a26 RD |
7510 | wxStyledTextCtrl * _arg0; |
7511 | PyObject * _argo0 = 0; | |
7512 | char *_kwnames[] = { "self", NULL }; | |
7513 | ||
7514 | self = self; | |
1fded56b | 7515 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetUseVerticalScrollBar",_kwnames,&_argo0)) |
47a06a26 RD |
7516 | return NULL; |
7517 | if (_argo0) { | |
7518 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7519 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
1fded56b | 7520 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetUseVerticalScrollBar. Expected _wxStyledTextCtrl_p."); |
47a06a26 RD |
7521 | return NULL; |
7522 | } | |
7523 | } | |
7524 | { | |
7525 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1fded56b | 7526 | _result = (bool )wxStyledTextCtrl_GetUseVerticalScrollBar(_arg0); |
47a06a26 RD |
7527 | |
7528 | wxPyEndAllowThreads(__tstate); | |
7529 | if (PyErr_Occurred()) return NULL; | |
1fded56b | 7530 | } _resultobj = Py_BuildValue("i",_result); |
47a06a26 RD |
7531 | return _resultobj; |
7532 | } | |
7533 | ||
1fded56b RD |
7534 | #define wxStyledTextCtrl_AppendText(_swigobj,_swigarg0,_swigarg1) (_swigobj->AppendText(_swigarg0,_swigarg1)) |
7535 | static PyObject *_wrap_wxStyledTextCtrl_AppendText(PyObject *self, PyObject *args, PyObject *kwargs) { | |
47a06a26 RD |
7536 | PyObject * _resultobj; |
7537 | wxStyledTextCtrl * _arg0; | |
1fded56b RD |
7538 | int _arg1; |
7539 | wxString * _arg2; | |
47a06a26 | 7540 | PyObject * _argo0 = 0; |
1fded56b RD |
7541 | PyObject * _obj2 = 0; |
7542 | char *_kwnames[] = { "self","length","text", NULL }; | |
47a06a26 RD |
7543 | |
7544 | self = self; | |
1fded56b | 7545 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxStyledTextCtrl_AppendText",_kwnames,&_argo0,&_arg1,&_obj2)) |
47a06a26 RD |
7546 | return NULL; |
7547 | if (_argo0) { | |
7548 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7549 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
1fded56b | 7550 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_AppendText. Expected _wxStyledTextCtrl_p."); |
47a06a26 RD |
7551 | return NULL; |
7552 | } | |
7553 | } | |
1fded56b RD |
7554 | { |
7555 | _arg2 = wxString_in_helper(_obj2); | |
7556 | if (_arg2 == NULL) | |
7557 | return NULL; | |
7558 | } | |
47a06a26 RD |
7559 | { |
7560 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1fded56b | 7561 | wxStyledTextCtrl_AppendText(_arg0,_arg1,*_arg2); |
47a06a26 RD |
7562 | |
7563 | wxPyEndAllowThreads(__tstate); | |
7564 | if (PyErr_Occurred()) return NULL; | |
7565 | } Py_INCREF(Py_None); | |
7566 | _resultobj = Py_None; | |
1fded56b RD |
7567 | { |
7568 | if (_obj2) | |
7569 | delete _arg2; | |
7570 | } | |
47a06a26 RD |
7571 | return _resultobj; |
7572 | } | |
7573 | ||
1fded56b RD |
7574 | #define wxStyledTextCtrl_GetTwoPhaseDraw(_swigobj) (_swigobj->GetTwoPhaseDraw()) |
7575 | static PyObject *_wrap_wxStyledTextCtrl_GetTwoPhaseDraw(PyObject *self, PyObject *args, PyObject *kwargs) { | |
47a06a26 | 7576 | PyObject * _resultobj; |
1fded56b | 7577 | bool _result; |
47a06a26 RD |
7578 | wxStyledTextCtrl * _arg0; |
7579 | PyObject * _argo0 = 0; | |
7580 | char *_kwnames[] = { "self", NULL }; | |
7581 | ||
7582 | self = self; | |
1fded56b | 7583 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetTwoPhaseDraw",_kwnames,&_argo0)) |
47a06a26 RD |
7584 | return NULL; |
7585 | if (_argo0) { | |
7586 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7587 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
1fded56b RD |
7588 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetTwoPhaseDraw. Expected _wxStyledTextCtrl_p."); |
7589 | return NULL; | |
7590 | } | |
7591 | } | |
7592 | { | |
7593 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7594 | _result = (bool )wxStyledTextCtrl_GetTwoPhaseDraw(_arg0); | |
7595 | ||
7596 | wxPyEndAllowThreads(__tstate); | |
7597 | if (PyErr_Occurred()) return NULL; | |
7598 | } _resultobj = Py_BuildValue("i",_result); | |
7599 | return _resultobj; | |
7600 | } | |
7601 | ||
7602 | #define wxStyledTextCtrl_SetTwoPhaseDraw(_swigobj,_swigarg0) (_swigobj->SetTwoPhaseDraw(_swigarg0)) | |
7603 | static PyObject *_wrap_wxStyledTextCtrl_SetTwoPhaseDraw(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7604 | PyObject * _resultobj; | |
7605 | wxStyledTextCtrl * _arg0; | |
7606 | bool _arg1; | |
7607 | PyObject * _argo0 = 0; | |
7608 | int tempbool1; | |
7609 | char *_kwnames[] = { "self","twoPhase", NULL }; | |
7610 | ||
7611 | self = self; | |
7612 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_SetTwoPhaseDraw",_kwnames,&_argo0,&tempbool1)) | |
7613 | return NULL; | |
7614 | if (_argo0) { | |
7615 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7616 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
7617 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetTwoPhaseDraw. Expected _wxStyledTextCtrl_p."); | |
7618 | return NULL; | |
7619 | } | |
7620 | } | |
7621 | _arg1 = (bool ) tempbool1; | |
7622 | { | |
7623 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7624 | wxStyledTextCtrl_SetTwoPhaseDraw(_arg0,_arg1); | |
7625 | ||
7626 | wxPyEndAllowThreads(__tstate); | |
7627 | if (PyErr_Occurred()) return NULL; | |
7628 | } Py_INCREF(Py_None); | |
7629 | _resultobj = Py_None; | |
7630 | return _resultobj; | |
7631 | } | |
7632 | ||
7633 | #define wxStyledTextCtrl_TargetFromSelection(_swigobj) (_swigobj->TargetFromSelection()) | |
7634 | static PyObject *_wrap_wxStyledTextCtrl_TargetFromSelection(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7635 | PyObject * _resultobj; | |
7636 | wxStyledTextCtrl * _arg0; | |
7637 | PyObject * _argo0 = 0; | |
7638 | char *_kwnames[] = { "self", NULL }; | |
7639 | ||
7640 | self = self; | |
7641 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_TargetFromSelection",_kwnames,&_argo0)) | |
7642 | return NULL; | |
7643 | if (_argo0) { | |
7644 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7645 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
7646 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_TargetFromSelection. Expected _wxStyledTextCtrl_p."); | |
7647 | return NULL; | |
7648 | } | |
7649 | } | |
7650 | { | |
7651 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7652 | wxStyledTextCtrl_TargetFromSelection(_arg0); | |
7653 | ||
7654 | wxPyEndAllowThreads(__tstate); | |
7655 | if (PyErr_Occurred()) return NULL; | |
7656 | } Py_INCREF(Py_None); | |
7657 | _resultobj = Py_None; | |
7658 | return _resultobj; | |
7659 | } | |
7660 | ||
7661 | #define wxStyledTextCtrl_LinesJoin(_swigobj) (_swigobj->LinesJoin()) | |
7662 | static PyObject *_wrap_wxStyledTextCtrl_LinesJoin(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7663 | PyObject * _resultobj; | |
7664 | wxStyledTextCtrl * _arg0; | |
7665 | PyObject * _argo0 = 0; | |
7666 | char *_kwnames[] = { "self", NULL }; | |
7667 | ||
7668 | self = self; | |
7669 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_LinesJoin",_kwnames,&_argo0)) | |
7670 | return NULL; | |
7671 | if (_argo0) { | |
7672 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7673 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
7674 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_LinesJoin. Expected _wxStyledTextCtrl_p."); | |
7675 | return NULL; | |
7676 | } | |
7677 | } | |
7678 | { | |
7679 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7680 | wxStyledTextCtrl_LinesJoin(_arg0); | |
7681 | ||
7682 | wxPyEndAllowThreads(__tstate); | |
7683 | if (PyErr_Occurred()) return NULL; | |
7684 | } Py_INCREF(Py_None); | |
7685 | _resultobj = Py_None; | |
7686 | return _resultobj; | |
7687 | } | |
7688 | ||
7689 | #define wxStyledTextCtrl_LinesSplit(_swigobj,_swigarg0) (_swigobj->LinesSplit(_swigarg0)) | |
7690 | static PyObject *_wrap_wxStyledTextCtrl_LinesSplit(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7691 | PyObject * _resultobj; | |
7692 | wxStyledTextCtrl * _arg0; | |
7693 | int _arg1; | |
7694 | PyObject * _argo0 = 0; | |
7695 | char *_kwnames[] = { "self","pixelWidth", NULL }; | |
7696 | ||
7697 | self = self; | |
7698 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_LinesSplit",_kwnames,&_argo0,&_arg1)) | |
7699 | return NULL; | |
7700 | if (_argo0) { | |
7701 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7702 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
7703 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_LinesSplit. Expected _wxStyledTextCtrl_p."); | |
7704 | return NULL; | |
7705 | } | |
7706 | } | |
7707 | { | |
7708 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7709 | wxStyledTextCtrl_LinesSplit(_arg0,_arg1); | |
7710 | ||
7711 | wxPyEndAllowThreads(__tstate); | |
7712 | if (PyErr_Occurred()) return NULL; | |
7713 | } Py_INCREF(Py_None); | |
7714 | _resultobj = Py_None; | |
7715 | return _resultobj; | |
7716 | } | |
7717 | ||
7718 | #define wxStyledTextCtrl_SetFoldMarginColour(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetFoldMarginColour(_swigarg0,_swigarg1)) | |
7719 | static PyObject *_wrap_wxStyledTextCtrl_SetFoldMarginColour(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7720 | PyObject * _resultobj; | |
7721 | wxStyledTextCtrl * _arg0; | |
7722 | bool _arg1; | |
7723 | wxColour * _arg2; | |
7724 | PyObject * _argo0 = 0; | |
7725 | int tempbool1; | |
7726 | wxColour temp; | |
7727 | PyObject * _obj2 = 0; | |
7728 | char *_kwnames[] = { "self","useSetting","back", NULL }; | |
7729 | ||
7730 | self = self; | |
7731 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxStyledTextCtrl_SetFoldMarginColour",_kwnames,&_argo0,&tempbool1,&_obj2)) | |
7732 | return NULL; | |
7733 | if (_argo0) { | |
7734 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7735 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
7736 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetFoldMarginColour. Expected _wxStyledTextCtrl_p."); | |
7737 | return NULL; | |
7738 | } | |
7739 | } | |
7740 | _arg1 = (bool ) tempbool1; | |
7741 | { | |
7742 | _arg2 = &temp; | |
7743 | if (! wxColour_helper(_obj2, &_arg2)) | |
7744 | return NULL; | |
7745 | } | |
7746 | { | |
7747 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7748 | wxStyledTextCtrl_SetFoldMarginColour(_arg0,_arg1,*_arg2); | |
7749 | ||
7750 | wxPyEndAllowThreads(__tstate); | |
7751 | if (PyErr_Occurred()) return NULL; | |
7752 | } Py_INCREF(Py_None); | |
7753 | _resultobj = Py_None; | |
7754 | return _resultobj; | |
7755 | } | |
7756 | ||
7757 | #define wxStyledTextCtrl_SetFoldMarginHiColour(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetFoldMarginHiColour(_swigarg0,_swigarg1)) | |
7758 | static PyObject *_wrap_wxStyledTextCtrl_SetFoldMarginHiColour(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7759 | PyObject * _resultobj; | |
7760 | wxStyledTextCtrl * _arg0; | |
7761 | bool _arg1; | |
7762 | wxColour * _arg2; | |
7763 | PyObject * _argo0 = 0; | |
7764 | int tempbool1; | |
7765 | wxColour temp; | |
7766 | PyObject * _obj2 = 0; | |
7767 | char *_kwnames[] = { "self","useSetting","fore", NULL }; | |
7768 | ||
7769 | self = self; | |
7770 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxStyledTextCtrl_SetFoldMarginHiColour",_kwnames,&_argo0,&tempbool1,&_obj2)) | |
7771 | return NULL; | |
7772 | if (_argo0) { | |
7773 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7774 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
7775 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetFoldMarginHiColour. Expected _wxStyledTextCtrl_p."); | |
7776 | return NULL; | |
7777 | } | |
7778 | } | |
7779 | _arg1 = (bool ) tempbool1; | |
7780 | { | |
7781 | _arg2 = &temp; | |
7782 | if (! wxColour_helper(_obj2, &_arg2)) | |
7783 | return NULL; | |
7784 | } | |
7785 | { | |
7786 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7787 | wxStyledTextCtrl_SetFoldMarginHiColour(_arg0,_arg1,*_arg2); | |
7788 | ||
7789 | wxPyEndAllowThreads(__tstate); | |
7790 | if (PyErr_Occurred()) return NULL; | |
7791 | } Py_INCREF(Py_None); | |
7792 | _resultobj = Py_None; | |
7793 | return _resultobj; | |
7794 | } | |
7795 | ||
7796 | #define wxStyledTextCtrl_LineDuplicate(_swigobj) (_swigobj->LineDuplicate()) | |
7797 | static PyObject *_wrap_wxStyledTextCtrl_LineDuplicate(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7798 | PyObject * _resultobj; | |
7799 | wxStyledTextCtrl * _arg0; | |
7800 | PyObject * _argo0 = 0; | |
7801 | char *_kwnames[] = { "self", NULL }; | |
7802 | ||
7803 | self = self; | |
7804 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_LineDuplicate",_kwnames,&_argo0)) | |
7805 | return NULL; | |
7806 | if (_argo0) { | |
7807 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7808 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
7809 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_LineDuplicate. Expected _wxStyledTextCtrl_p."); | |
7810 | return NULL; | |
7811 | } | |
7812 | } | |
7813 | { | |
7814 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7815 | wxStyledTextCtrl_LineDuplicate(_arg0); | |
7816 | ||
7817 | wxPyEndAllowThreads(__tstate); | |
7818 | if (PyErr_Occurred()) return NULL; | |
7819 | } Py_INCREF(Py_None); | |
7820 | _resultobj = Py_None; | |
7821 | return _resultobj; | |
7822 | } | |
7823 | ||
7824 | #define wxStyledTextCtrl_HomeDisplay(_swigobj) (_swigobj->HomeDisplay()) | |
7825 | static PyObject *_wrap_wxStyledTextCtrl_HomeDisplay(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7826 | PyObject * _resultobj; | |
7827 | wxStyledTextCtrl * _arg0; | |
7828 | PyObject * _argo0 = 0; | |
7829 | char *_kwnames[] = { "self", NULL }; | |
7830 | ||
7831 | self = self; | |
7832 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_HomeDisplay",_kwnames,&_argo0)) | |
7833 | return NULL; | |
7834 | if (_argo0) { | |
7835 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7836 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
7837 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_HomeDisplay. Expected _wxStyledTextCtrl_p."); | |
7838 | return NULL; | |
7839 | } | |
7840 | } | |
7841 | { | |
7842 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7843 | wxStyledTextCtrl_HomeDisplay(_arg0); | |
7844 | ||
7845 | wxPyEndAllowThreads(__tstate); | |
7846 | if (PyErr_Occurred()) return NULL; | |
7847 | } Py_INCREF(Py_None); | |
7848 | _resultobj = Py_None; | |
7849 | return _resultobj; | |
7850 | } | |
7851 | ||
7852 | #define wxStyledTextCtrl_HomeDisplayExtend(_swigobj) (_swigobj->HomeDisplayExtend()) | |
7853 | static PyObject *_wrap_wxStyledTextCtrl_HomeDisplayExtend(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7854 | PyObject * _resultobj; | |
7855 | wxStyledTextCtrl * _arg0; | |
7856 | PyObject * _argo0 = 0; | |
7857 | char *_kwnames[] = { "self", NULL }; | |
7858 | ||
7859 | self = self; | |
7860 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_HomeDisplayExtend",_kwnames,&_argo0)) | |
7861 | return NULL; | |
7862 | if (_argo0) { | |
7863 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7864 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
7865 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_HomeDisplayExtend. Expected _wxStyledTextCtrl_p."); | |
7866 | return NULL; | |
7867 | } | |
7868 | } | |
7869 | { | |
7870 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7871 | wxStyledTextCtrl_HomeDisplayExtend(_arg0); | |
7872 | ||
7873 | wxPyEndAllowThreads(__tstate); | |
7874 | if (PyErr_Occurred()) return NULL; | |
7875 | } Py_INCREF(Py_None); | |
7876 | _resultobj = Py_None; | |
7877 | return _resultobj; | |
7878 | } | |
7879 | ||
7880 | #define wxStyledTextCtrl_LineEndDisplay(_swigobj) (_swigobj->LineEndDisplay()) | |
7881 | static PyObject *_wrap_wxStyledTextCtrl_LineEndDisplay(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7882 | PyObject * _resultobj; | |
7883 | wxStyledTextCtrl * _arg0; | |
7884 | PyObject * _argo0 = 0; | |
7885 | char *_kwnames[] = { "self", NULL }; | |
7886 | ||
7887 | self = self; | |
7888 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_LineEndDisplay",_kwnames,&_argo0)) | |
7889 | return NULL; | |
7890 | if (_argo0) { | |
7891 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7892 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
7893 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_LineEndDisplay. Expected _wxStyledTextCtrl_p."); | |
7894 | return NULL; | |
7895 | } | |
7896 | } | |
7897 | { | |
7898 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7899 | wxStyledTextCtrl_LineEndDisplay(_arg0); | |
7900 | ||
7901 | wxPyEndAllowThreads(__tstate); | |
7902 | if (PyErr_Occurred()) return NULL; | |
7903 | } Py_INCREF(Py_None); | |
7904 | _resultobj = Py_None; | |
7905 | return _resultobj; | |
7906 | } | |
7907 | ||
7908 | #define wxStyledTextCtrl_LineEndDisplayExtend(_swigobj) (_swigobj->LineEndDisplayExtend()) | |
7909 | static PyObject *_wrap_wxStyledTextCtrl_LineEndDisplayExtend(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7910 | PyObject * _resultobj; | |
7911 | wxStyledTextCtrl * _arg0; | |
7912 | PyObject * _argo0 = 0; | |
7913 | char *_kwnames[] = { "self", NULL }; | |
7914 | ||
7915 | self = self; | |
7916 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_LineEndDisplayExtend",_kwnames,&_argo0)) | |
7917 | return NULL; | |
7918 | if (_argo0) { | |
7919 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7920 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
7921 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_LineEndDisplayExtend. Expected _wxStyledTextCtrl_p."); | |
47a06a26 RD |
7922 | return NULL; |
7923 | } | |
7924 | } | |
7925 | { | |
7926 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7927 | wxStyledTextCtrl_LineEndDisplayExtend(_arg0); | |
7928 | ||
7929 | wxPyEndAllowThreads(__tstate); | |
7930 | if (PyErr_Occurred()) return NULL; | |
7931 | } Py_INCREF(Py_None); | |
7932 | _resultobj = Py_None; | |
7933 | return _resultobj; | |
7934 | } | |
7935 | ||
d84a9306 RD |
7936 | #define wxStyledTextCtrl_LineCopy(_swigobj) (_swigobj->LineCopy()) |
7937 | static PyObject *_wrap_wxStyledTextCtrl_LineCopy(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7938 | PyObject * _resultobj; | |
7939 | wxStyledTextCtrl * _arg0; | |
7940 | PyObject * _argo0 = 0; | |
7941 | char *_kwnames[] = { "self", NULL }; | |
7942 | ||
7943 | self = self; | |
7944 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_LineCopy",_kwnames,&_argo0)) | |
7945 | return NULL; | |
7946 | if (_argo0) { | |
7947 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7948 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
7949 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_LineCopy. Expected _wxStyledTextCtrl_p."); | |
7950 | return NULL; | |
7951 | } | |
7952 | } | |
7953 | { | |
7954 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7955 | wxStyledTextCtrl_LineCopy(_arg0); | |
7956 | ||
7957 | wxPyEndAllowThreads(__tstate); | |
7958 | if (PyErr_Occurred()) return NULL; | |
7959 | } Py_INCREF(Py_None); | |
7960 | _resultobj = Py_None; | |
7961 | return _resultobj; | |
7962 | } | |
7963 | ||
8a2fa5c8 RD |
7964 | #define wxStyledTextCtrl_MoveCaretInsideView(_swigobj) (_swigobj->MoveCaretInsideView()) |
7965 | static PyObject *_wrap_wxStyledTextCtrl_MoveCaretInsideView(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7966 | PyObject * _resultobj; | |
7967 | wxStyledTextCtrl * _arg0; | |
7968 | PyObject * _argo0 = 0; | |
7969 | char *_kwnames[] = { "self", NULL }; | |
7970 | ||
7971 | self = self; | |
7972 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_MoveCaretInsideView",_kwnames,&_argo0)) | |
7973 | return NULL; | |
7974 | if (_argo0) { | |
7975 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7976 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
7977 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_MoveCaretInsideView. Expected _wxStyledTextCtrl_p."); | |
7978 | return NULL; | |
7979 | } | |
7980 | } | |
7981 | { | |
0e2ff151 | 7982 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 7983 | wxStyledTextCtrl_MoveCaretInsideView(_arg0); |
8a2fa5c8 | 7984 | |
0e2ff151 RD |
7985 | wxPyEndAllowThreads(__tstate); |
7986 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
7987 | } Py_INCREF(Py_None); |
7988 | _resultobj = Py_None; | |
7989 | return _resultobj; | |
7990 | } | |
7991 | ||
7992 | #define wxStyledTextCtrl_LineLength(_swigobj,_swigarg0) (_swigobj->LineLength(_swigarg0)) | |
7993 | static PyObject *_wrap_wxStyledTextCtrl_LineLength(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7994 | PyObject * _resultobj; | |
7995 | int _result; | |
7996 | wxStyledTextCtrl * _arg0; | |
7997 | int _arg1; | |
7998 | PyObject * _argo0 = 0; | |
7999 | char *_kwnames[] = { "self","line", NULL }; | |
8000 | ||
8001 | self = self; | |
8002 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_LineLength",_kwnames,&_argo0,&_arg1)) | |
8003 | return NULL; | |
8004 | if (_argo0) { | |
8005 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
8006 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
8007 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_LineLength. Expected _wxStyledTextCtrl_p."); | |
8008 | return NULL; | |
8009 | } | |
8010 | } | |
8011 | { | |
0e2ff151 | 8012 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 8013 | _result = (int )wxStyledTextCtrl_LineLength(_arg0,_arg1); |
8a2fa5c8 | 8014 | |
0e2ff151 RD |
8015 | wxPyEndAllowThreads(__tstate); |
8016 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
8017 | } _resultobj = Py_BuildValue("i",_result); |
8018 | return _resultobj; | |
8019 | } | |
8020 | ||
8021 | #define wxStyledTextCtrl_BraceHighlight(_swigobj,_swigarg0,_swigarg1) (_swigobj->BraceHighlight(_swigarg0,_swigarg1)) | |
8022 | static PyObject *_wrap_wxStyledTextCtrl_BraceHighlight(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8023 | PyObject * _resultobj; | |
8024 | wxStyledTextCtrl * _arg0; | |
8025 | int _arg1; | |
8026 | int _arg2; | |
8027 | PyObject * _argo0 = 0; | |
8028 | char *_kwnames[] = { "self","pos1","pos2", NULL }; | |
8029 | ||
8030 | self = self; | |
8031 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxStyledTextCtrl_BraceHighlight",_kwnames,&_argo0,&_arg1,&_arg2)) | |
8032 | return NULL; | |
8033 | if (_argo0) { | |
8034 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
8035 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
8036 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_BraceHighlight. Expected _wxStyledTextCtrl_p."); | |
8037 | return NULL; | |
8038 | } | |
8039 | } | |
8040 | { | |
0e2ff151 | 8041 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 8042 | wxStyledTextCtrl_BraceHighlight(_arg0,_arg1,_arg2); |
8a2fa5c8 | 8043 | |
0e2ff151 RD |
8044 | wxPyEndAllowThreads(__tstate); |
8045 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
8046 | } Py_INCREF(Py_None); |
8047 | _resultobj = Py_None; | |
8048 | return _resultobj; | |
8049 | } | |
8050 | ||
8051 | #define wxStyledTextCtrl_BraceBadLight(_swigobj,_swigarg0) (_swigobj->BraceBadLight(_swigarg0)) | |
8052 | static PyObject *_wrap_wxStyledTextCtrl_BraceBadLight(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8053 | PyObject * _resultobj; | |
8054 | wxStyledTextCtrl * _arg0; | |
8055 | int _arg1; | |
8056 | PyObject * _argo0 = 0; | |
8057 | char *_kwnames[] = { "self","pos", NULL }; | |
8058 | ||
8059 | self = self; | |
8060 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_BraceBadLight",_kwnames,&_argo0,&_arg1)) | |
8061 | return NULL; | |
8062 | if (_argo0) { | |
8063 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
8064 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
8065 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_BraceBadLight. Expected _wxStyledTextCtrl_p."); | |
8066 | return NULL; | |
8067 | } | |
8068 | } | |
8069 | { | |
0e2ff151 | 8070 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 8071 | wxStyledTextCtrl_BraceBadLight(_arg0,_arg1); |
8a2fa5c8 | 8072 | |
0e2ff151 RD |
8073 | wxPyEndAllowThreads(__tstate); |
8074 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
8075 | } Py_INCREF(Py_None); |
8076 | _resultobj = Py_None; | |
8077 | return _resultobj; | |
8078 | } | |
8079 | ||
8080 | #define wxStyledTextCtrl_BraceMatch(_swigobj,_swigarg0) (_swigobj->BraceMatch(_swigarg0)) | |
8081 | static PyObject *_wrap_wxStyledTextCtrl_BraceMatch(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8082 | PyObject * _resultobj; | |
8083 | int _result; | |
8084 | wxStyledTextCtrl * _arg0; | |
8085 | int _arg1; | |
8086 | PyObject * _argo0 = 0; | |
8087 | char *_kwnames[] = { "self","pos", NULL }; | |
8088 | ||
8089 | self = self; | |
8090 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_BraceMatch",_kwnames,&_argo0,&_arg1)) | |
8091 | return NULL; | |
8092 | if (_argo0) { | |
8093 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
8094 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
8095 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_BraceMatch. Expected _wxStyledTextCtrl_p."); | |
8096 | return NULL; | |
8097 | } | |
8098 | } | |
8099 | { | |
0e2ff151 | 8100 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 8101 | _result = (int )wxStyledTextCtrl_BraceMatch(_arg0,_arg1); |
8a2fa5c8 | 8102 | |
0e2ff151 RD |
8103 | wxPyEndAllowThreads(__tstate); |
8104 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
8105 | } _resultobj = Py_BuildValue("i",_result); |
8106 | return _resultobj; | |
8107 | } | |
8108 | ||
8109 | #define wxStyledTextCtrl_GetViewEOL(_swigobj) (_swigobj->GetViewEOL()) | |
8110 | static PyObject *_wrap_wxStyledTextCtrl_GetViewEOL(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8111 | PyObject * _resultobj; | |
8112 | bool _result; | |
8113 | wxStyledTextCtrl * _arg0; | |
8114 | PyObject * _argo0 = 0; | |
8115 | char *_kwnames[] = { "self", NULL }; | |
8116 | ||
8117 | self = self; | |
8118 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetViewEOL",_kwnames,&_argo0)) | |
8119 | return NULL; | |
8120 | if (_argo0) { | |
8121 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
8122 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
8123 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetViewEOL. Expected _wxStyledTextCtrl_p."); | |
8124 | return NULL; | |
8125 | } | |
8126 | } | |
8127 | { | |
0e2ff151 | 8128 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 8129 | _result = (bool )wxStyledTextCtrl_GetViewEOL(_arg0); |
8a2fa5c8 | 8130 | |
0e2ff151 RD |
8131 | wxPyEndAllowThreads(__tstate); |
8132 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
8133 | } _resultobj = Py_BuildValue("i",_result); |
8134 | return _resultobj; | |
8135 | } | |
8136 | ||
8137 | #define wxStyledTextCtrl_SetViewEOL(_swigobj,_swigarg0) (_swigobj->SetViewEOL(_swigarg0)) | |
8138 | static PyObject *_wrap_wxStyledTextCtrl_SetViewEOL(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8139 | PyObject * _resultobj; | |
8140 | wxStyledTextCtrl * _arg0; | |
8141 | bool _arg1; | |
8142 | PyObject * _argo0 = 0; | |
8143 | int tempbool1; | |
8144 | char *_kwnames[] = { "self","visible", NULL }; | |
8145 | ||
8146 | self = self; | |
8147 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_SetViewEOL",_kwnames,&_argo0,&tempbool1)) | |
8148 | return NULL; | |
8149 | if (_argo0) { | |
8150 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
8151 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
8152 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetViewEOL. Expected _wxStyledTextCtrl_p."); | |
8153 | return NULL; | |
8154 | } | |
8155 | } | |
8156 | _arg1 = (bool ) tempbool1; | |
8157 | { | |
0e2ff151 | 8158 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 8159 | wxStyledTextCtrl_SetViewEOL(_arg0,_arg1); |
8a2fa5c8 | 8160 | |
0e2ff151 RD |
8161 | wxPyEndAllowThreads(__tstate); |
8162 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
8163 | } Py_INCREF(Py_None); |
8164 | _resultobj = Py_None; | |
8165 | return _resultobj; | |
8166 | } | |
8167 | ||
8168 | #define wxStyledTextCtrl_GetDocPointer(_swigobj) (_swigobj->GetDocPointer()) | |
8169 | static PyObject *_wrap_wxStyledTextCtrl_GetDocPointer(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8170 | PyObject * _resultobj; | |
8171 | void * _result; | |
8172 | wxStyledTextCtrl * _arg0; | |
8173 | PyObject * _argo0 = 0; | |
8174 | char *_kwnames[] = { "self", NULL }; | |
8175 | char _ptemp[128]; | |
8176 | ||
8177 | self = self; | |
8178 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetDocPointer",_kwnames,&_argo0)) | |
8179 | return NULL; | |
8180 | if (_argo0) { | |
8181 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
8182 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
8183 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetDocPointer. Expected _wxStyledTextCtrl_p."); | |
8184 | return NULL; | |
8185 | } | |
8186 | } | |
8187 | { | |
0e2ff151 | 8188 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 8189 | _result = (void *)wxStyledTextCtrl_GetDocPointer(_arg0); |
8a2fa5c8 | 8190 | |
0e2ff151 RD |
8191 | wxPyEndAllowThreads(__tstate); |
8192 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
8193 | } if (_result) { |
8194 | SWIG_MakePtr(_ptemp, (char *) _result,"_void_p"); | |
8195 | _resultobj = Py_BuildValue("s",_ptemp); | |
8196 | } else { | |
8197 | Py_INCREF(Py_None); | |
8198 | _resultobj = Py_None; | |
8199 | } | |
8200 | return _resultobj; | |
8201 | } | |
8202 | ||
8203 | #define wxStyledTextCtrl_SetDocPointer(_swigobj,_swigarg0) (_swigobj->SetDocPointer(_swigarg0)) | |
8204 | static PyObject *_wrap_wxStyledTextCtrl_SetDocPointer(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8205 | PyObject * _resultobj; | |
8206 | wxStyledTextCtrl * _arg0; | |
8207 | void * _arg1; | |
8208 | PyObject * _argo0 = 0; | |
8209 | PyObject * _argo1 = 0; | |
8210 | char *_kwnames[] = { "self","docPointer", NULL }; | |
8211 | ||
8212 | self = self; | |
8213 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxStyledTextCtrl_SetDocPointer",_kwnames,&_argo0,&_argo1)) | |
8214 | return NULL; | |
8215 | if (_argo0) { | |
8216 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
8217 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
8218 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetDocPointer. Expected _wxStyledTextCtrl_p."); | |
8219 | return NULL; | |
8220 | } | |
8221 | } | |
8222 | if (_argo1) { | |
8223 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
8224 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,(char *) 0 )) { | |
8225 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxStyledTextCtrl_SetDocPointer. Expected _void_p."); | |
8226 | return NULL; | |
8227 | } | |
8228 | } | |
8229 | { | |
0e2ff151 | 8230 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 8231 | wxStyledTextCtrl_SetDocPointer(_arg0,_arg1); |
8a2fa5c8 | 8232 | |
0e2ff151 RD |
8233 | wxPyEndAllowThreads(__tstate); |
8234 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
8235 | } Py_INCREF(Py_None); |
8236 | _resultobj = Py_None; | |
8237 | return _resultobj; | |
8238 | } | |
8239 | ||
8240 | #define wxStyledTextCtrl_SetModEventMask(_swigobj,_swigarg0) (_swigobj->SetModEventMask(_swigarg0)) | |
8241 | static PyObject *_wrap_wxStyledTextCtrl_SetModEventMask(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8242 | PyObject * _resultobj; | |
8243 | wxStyledTextCtrl * _arg0; | |
8244 | int _arg1; | |
8245 | PyObject * _argo0 = 0; | |
8246 | char *_kwnames[] = { "self","mask", NULL }; | |
8247 | ||
8248 | self = self; | |
8249 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_SetModEventMask",_kwnames,&_argo0,&_arg1)) | |
8250 | return NULL; | |
8251 | if (_argo0) { | |
8252 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
8253 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
8254 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetModEventMask. Expected _wxStyledTextCtrl_p."); | |
8255 | return NULL; | |
8256 | } | |
8257 | } | |
8258 | { | |
0e2ff151 | 8259 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 8260 | wxStyledTextCtrl_SetModEventMask(_arg0,_arg1); |
8a2fa5c8 | 8261 | |
0e2ff151 RD |
8262 | wxPyEndAllowThreads(__tstate); |
8263 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
8264 | } Py_INCREF(Py_None); |
8265 | _resultobj = Py_None; | |
8266 | return _resultobj; | |
8267 | } | |
8268 | ||
8269 | #define wxStyledTextCtrl_GetEdgeColumn(_swigobj) (_swigobj->GetEdgeColumn()) | |
8270 | static PyObject *_wrap_wxStyledTextCtrl_GetEdgeColumn(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8271 | PyObject * _resultobj; | |
8272 | int _result; | |
8273 | wxStyledTextCtrl * _arg0; | |
8274 | PyObject * _argo0 = 0; | |
8275 | char *_kwnames[] = { "self", NULL }; | |
8276 | ||
8277 | self = self; | |
8278 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetEdgeColumn",_kwnames,&_argo0)) | |
8279 | return NULL; | |
8280 | if (_argo0) { | |
8281 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
8282 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
8283 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetEdgeColumn. Expected _wxStyledTextCtrl_p."); | |
8284 | return NULL; | |
8285 | } | |
8286 | } | |
8287 | { | |
0e2ff151 | 8288 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 8289 | _result = (int )wxStyledTextCtrl_GetEdgeColumn(_arg0); |
8a2fa5c8 | 8290 | |
0e2ff151 RD |
8291 | wxPyEndAllowThreads(__tstate); |
8292 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
8293 | } _resultobj = Py_BuildValue("i",_result); |
8294 | return _resultobj; | |
8295 | } | |
8296 | ||
8297 | #define wxStyledTextCtrl_SetEdgeColumn(_swigobj,_swigarg0) (_swigobj->SetEdgeColumn(_swigarg0)) | |
8298 | static PyObject *_wrap_wxStyledTextCtrl_SetEdgeColumn(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8299 | PyObject * _resultobj; | |
8300 | wxStyledTextCtrl * _arg0; | |
8301 | int _arg1; | |
8302 | PyObject * _argo0 = 0; | |
8303 | char *_kwnames[] = { "self","column", NULL }; | |
8304 | ||
8305 | self = self; | |
8306 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_SetEdgeColumn",_kwnames,&_argo0,&_arg1)) | |
8307 | return NULL; | |
8308 | if (_argo0) { | |
8309 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
8310 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
8311 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetEdgeColumn. Expected _wxStyledTextCtrl_p."); | |
8312 | return NULL; | |
8313 | } | |
8314 | } | |
8315 | { | |
0e2ff151 | 8316 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 8317 | wxStyledTextCtrl_SetEdgeColumn(_arg0,_arg1); |
8a2fa5c8 | 8318 | |
0e2ff151 RD |
8319 | wxPyEndAllowThreads(__tstate); |
8320 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
8321 | } Py_INCREF(Py_None); |
8322 | _resultobj = Py_None; | |
8323 | return _resultobj; | |
8324 | } | |
8325 | ||
8326 | #define wxStyledTextCtrl_GetEdgeMode(_swigobj) (_swigobj->GetEdgeMode()) | |
8327 | static PyObject *_wrap_wxStyledTextCtrl_GetEdgeMode(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8328 | PyObject * _resultobj; | |
8329 | int _result; | |
8330 | wxStyledTextCtrl * _arg0; | |
8331 | PyObject * _argo0 = 0; | |
8332 | char *_kwnames[] = { "self", NULL }; | |
8333 | ||
8334 | self = self; | |
8335 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetEdgeMode",_kwnames,&_argo0)) | |
8336 | return NULL; | |
8337 | if (_argo0) { | |
8338 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
8339 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
8340 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetEdgeMode. Expected _wxStyledTextCtrl_p."); | |
8341 | return NULL; | |
8342 | } | |
8343 | } | |
8344 | { | |
0e2ff151 | 8345 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 8346 | _result = (int )wxStyledTextCtrl_GetEdgeMode(_arg0); |
8a2fa5c8 | 8347 | |
0e2ff151 RD |
8348 | wxPyEndAllowThreads(__tstate); |
8349 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
8350 | } _resultobj = Py_BuildValue("i",_result); |
8351 | return _resultobj; | |
8352 | } | |
8353 | ||
8354 | #define wxStyledTextCtrl_SetEdgeMode(_swigobj,_swigarg0) (_swigobj->SetEdgeMode(_swigarg0)) | |
8355 | static PyObject *_wrap_wxStyledTextCtrl_SetEdgeMode(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8356 | PyObject * _resultobj; | |
8357 | wxStyledTextCtrl * _arg0; | |
8358 | int _arg1; | |
8359 | PyObject * _argo0 = 0; | |
8360 | char *_kwnames[] = { "self","mode", NULL }; | |
8361 | ||
8362 | self = self; | |
8363 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_SetEdgeMode",_kwnames,&_argo0,&_arg1)) | |
8364 | return NULL; | |
8365 | if (_argo0) { | |
8366 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
8367 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
8368 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetEdgeMode. Expected _wxStyledTextCtrl_p."); | |
8369 | return NULL; | |
8370 | } | |
8371 | } | |
8372 | { | |
0e2ff151 | 8373 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 8374 | wxStyledTextCtrl_SetEdgeMode(_arg0,_arg1); |
8a2fa5c8 | 8375 | |
0e2ff151 RD |
8376 | wxPyEndAllowThreads(__tstate); |
8377 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
8378 | } Py_INCREF(Py_None); |
8379 | _resultobj = Py_None; | |
8380 | return _resultobj; | |
8381 | } | |
8382 | ||
8383 | #define wxStyledTextCtrl_GetEdgeColour(_swigobj) (_swigobj->GetEdgeColour()) | |
8384 | static PyObject *_wrap_wxStyledTextCtrl_GetEdgeColour(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8385 | PyObject * _resultobj; | |
8386 | wxColour * _result; | |
8387 | wxStyledTextCtrl * _arg0; | |
8388 | PyObject * _argo0 = 0; | |
8389 | char *_kwnames[] = { "self", NULL }; | |
8390 | char _ptemp[128]; | |
8391 | ||
8392 | self = self; | |
8393 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetEdgeColour",_kwnames,&_argo0)) | |
8394 | return NULL; | |
8395 | if (_argo0) { | |
8396 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
8397 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
8398 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetEdgeColour. Expected _wxStyledTextCtrl_p."); | |
8399 | return NULL; | |
8400 | } | |
8401 | } | |
8402 | { | |
0e2ff151 | 8403 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 8404 | _result = new wxColour (wxStyledTextCtrl_GetEdgeColour(_arg0)); |
8a2fa5c8 | 8405 | |
0e2ff151 RD |
8406 | wxPyEndAllowThreads(__tstate); |
8407 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
8408 | } SWIG_MakePtr(_ptemp, (void *) _result,"_wxColour_p"); |
8409 | _resultobj = Py_BuildValue("s",_ptemp); | |
8410 | return _resultobj; | |
8411 | } | |
8412 | ||
8413 | #define wxStyledTextCtrl_SetEdgeColour(_swigobj,_swigarg0) (_swigobj->SetEdgeColour(_swigarg0)) | |
8414 | static PyObject *_wrap_wxStyledTextCtrl_SetEdgeColour(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8415 | PyObject * _resultobj; | |
8416 | wxStyledTextCtrl * _arg0; | |
8417 | wxColour * _arg1; | |
8418 | PyObject * _argo0 = 0; | |
8419 | wxColour temp; | |
8420 | PyObject * _obj1 = 0; | |
8421 | char *_kwnames[] = { "self","edgeColour", NULL }; | |
8422 | ||
8423 | self = self; | |
8424 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxStyledTextCtrl_SetEdgeColour",_kwnames,&_argo0,&_obj1)) | |
8425 | return NULL; | |
8426 | if (_argo0) { | |
8427 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
8428 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
8429 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetEdgeColour. Expected _wxStyledTextCtrl_p."); | |
8430 | return NULL; | |
8431 | } | |
8432 | } | |
8433 | { | |
8434 | _arg1 = &temp; | |
8435 | if (! wxColour_helper(_obj1, &_arg1)) | |
8436 | return NULL; | |
8437 | } | |
8438 | { | |
0e2ff151 | 8439 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 8440 | wxStyledTextCtrl_SetEdgeColour(_arg0,*_arg1); |
8a2fa5c8 | 8441 | |
0e2ff151 RD |
8442 | wxPyEndAllowThreads(__tstate); |
8443 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
8444 | } Py_INCREF(Py_None); |
8445 | _resultobj = Py_None; | |
8446 | return _resultobj; | |
8447 | } | |
8448 | ||
8449 | #define wxStyledTextCtrl_SearchAnchor(_swigobj) (_swigobj->SearchAnchor()) | |
8450 | static PyObject *_wrap_wxStyledTextCtrl_SearchAnchor(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8451 | PyObject * _resultobj; | |
8452 | wxStyledTextCtrl * _arg0; | |
8453 | PyObject * _argo0 = 0; | |
8454 | char *_kwnames[] = { "self", NULL }; | |
8455 | ||
8456 | self = self; | |
8457 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_SearchAnchor",_kwnames,&_argo0)) | |
8458 | return NULL; | |
8459 | if (_argo0) { | |
8460 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
8461 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
8462 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SearchAnchor. Expected _wxStyledTextCtrl_p."); | |
8463 | return NULL; | |
8464 | } | |
8465 | } | |
8466 | { | |
0e2ff151 | 8467 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 8468 | wxStyledTextCtrl_SearchAnchor(_arg0); |
8a2fa5c8 | 8469 | |
0e2ff151 RD |
8470 | wxPyEndAllowThreads(__tstate); |
8471 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
8472 | } Py_INCREF(Py_None); |
8473 | _resultobj = Py_None; | |
8474 | return _resultobj; | |
8475 | } | |
8476 | ||
8477 | #define wxStyledTextCtrl_SearchNext(_swigobj,_swigarg0,_swigarg1) (_swigobj->SearchNext(_swigarg0,_swigarg1)) | |
8478 | static PyObject *_wrap_wxStyledTextCtrl_SearchNext(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8479 | PyObject * _resultobj; | |
8480 | int _result; | |
8481 | wxStyledTextCtrl * _arg0; | |
8482 | int _arg1; | |
8483 | wxString * _arg2; | |
8484 | PyObject * _argo0 = 0; | |
8485 | PyObject * _obj2 = 0; | |
8486 | char *_kwnames[] = { "self","flags","text", NULL }; | |
8487 | ||
8488 | self = self; | |
8489 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxStyledTextCtrl_SearchNext",_kwnames,&_argo0,&_arg1,&_obj2)) | |
8490 | return NULL; | |
8491 | if (_argo0) { | |
8492 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
8493 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
8494 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SearchNext. Expected _wxStyledTextCtrl_p."); | |
8495 | return NULL; | |
8496 | } | |
8497 | } | |
8498 | { | |
6824d4f9 RD |
8499 | _arg2 = wxString_in_helper(_obj2); |
8500 | if (_arg2 == NULL) | |
8a2fa5c8 | 8501 | return NULL; |
8a2fa5c8 RD |
8502 | } |
8503 | { | |
0e2ff151 | 8504 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 8505 | _result = (int )wxStyledTextCtrl_SearchNext(_arg0,_arg1,*_arg2); |
8a2fa5c8 | 8506 | |
0e2ff151 RD |
8507 | wxPyEndAllowThreads(__tstate); |
8508 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
8509 | } _resultobj = Py_BuildValue("i",_result); |
8510 | { | |
8511 | if (_obj2) | |
8512 | delete _arg2; | |
8513 | } | |
8514 | return _resultobj; | |
8515 | } | |
8516 | ||
8517 | #define wxStyledTextCtrl_SearchPrev(_swigobj,_swigarg0,_swigarg1) (_swigobj->SearchPrev(_swigarg0,_swigarg1)) | |
8518 | static PyObject *_wrap_wxStyledTextCtrl_SearchPrev(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8519 | PyObject * _resultobj; | |
8520 | int _result; | |
8521 | wxStyledTextCtrl * _arg0; | |
8522 | int _arg1; | |
8523 | wxString * _arg2; | |
8524 | PyObject * _argo0 = 0; | |
8525 | PyObject * _obj2 = 0; | |
8526 | char *_kwnames[] = { "self","flags","text", NULL }; | |
8527 | ||
8528 | self = self; | |
8529 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxStyledTextCtrl_SearchPrev",_kwnames,&_argo0,&_arg1,&_obj2)) | |
8530 | return NULL; | |
8531 | if (_argo0) { | |
8532 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
8533 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
8534 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SearchPrev. Expected _wxStyledTextCtrl_p."); | |
8535 | return NULL; | |
8536 | } | |
8537 | } | |
8538 | { | |
6824d4f9 RD |
8539 | _arg2 = wxString_in_helper(_obj2); |
8540 | if (_arg2 == NULL) | |
8a2fa5c8 | 8541 | return NULL; |
8a2fa5c8 RD |
8542 | } |
8543 | { | |
0e2ff151 | 8544 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 8545 | _result = (int )wxStyledTextCtrl_SearchPrev(_arg0,_arg1,*_arg2); |
8a2fa5c8 | 8546 | |
0e2ff151 RD |
8547 | wxPyEndAllowThreads(__tstate); |
8548 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
8549 | } _resultobj = Py_BuildValue("i",_result); |
8550 | { | |
8551 | if (_obj2) | |
8552 | delete _arg2; | |
8553 | } | |
8554 | return _resultobj; | |
8555 | } | |
8556 | ||
8a2fa5c8 RD |
8557 | #define wxStyledTextCtrl_LinesOnScreen(_swigobj) (_swigobj->LinesOnScreen()) |
8558 | static PyObject *_wrap_wxStyledTextCtrl_LinesOnScreen(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8559 | PyObject * _resultobj; | |
8560 | int _result; | |
8561 | wxStyledTextCtrl * _arg0; | |
8562 | PyObject * _argo0 = 0; | |
8563 | char *_kwnames[] = { "self", NULL }; | |
8564 | ||
8565 | self = self; | |
8566 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_LinesOnScreen",_kwnames,&_argo0)) | |
8567 | return NULL; | |
8568 | if (_argo0) { | |
8569 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
8570 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
8571 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_LinesOnScreen. Expected _wxStyledTextCtrl_p."); | |
8572 | return NULL; | |
8573 | } | |
8574 | } | |
8575 | { | |
0e2ff151 | 8576 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 8577 | _result = (int )wxStyledTextCtrl_LinesOnScreen(_arg0); |
8a2fa5c8 | 8578 | |
0e2ff151 RD |
8579 | wxPyEndAllowThreads(__tstate); |
8580 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
8581 | } _resultobj = Py_BuildValue("i",_result); |
8582 | return _resultobj; | |
8583 | } | |
8584 | ||
8585 | #define wxStyledTextCtrl_UsePopUp(_swigobj,_swigarg0) (_swigobj->UsePopUp(_swigarg0)) | |
8586 | static PyObject *_wrap_wxStyledTextCtrl_UsePopUp(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8587 | PyObject * _resultobj; | |
8588 | wxStyledTextCtrl * _arg0; | |
8589 | bool _arg1; | |
8590 | PyObject * _argo0 = 0; | |
8591 | int tempbool1; | |
8592 | char *_kwnames[] = { "self","allowPopUp", NULL }; | |
8593 | ||
8594 | self = self; | |
8595 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_UsePopUp",_kwnames,&_argo0,&tempbool1)) | |
8596 | return NULL; | |
8597 | if (_argo0) { | |
8598 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
8599 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
8600 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_UsePopUp. Expected _wxStyledTextCtrl_p."); | |
8601 | return NULL; | |
8602 | } | |
8603 | } | |
8604 | _arg1 = (bool ) tempbool1; | |
8605 | { | |
0e2ff151 | 8606 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 8607 | wxStyledTextCtrl_UsePopUp(_arg0,_arg1); |
8a2fa5c8 | 8608 | |
0e2ff151 RD |
8609 | wxPyEndAllowThreads(__tstate); |
8610 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
8611 | } Py_INCREF(Py_None); |
8612 | _resultobj = Py_None; | |
8613 | return _resultobj; | |
8614 | } | |
8615 | ||
8616 | #define wxStyledTextCtrl_SelectionIsRectangle(_swigobj) (_swigobj->SelectionIsRectangle()) | |
8617 | static PyObject *_wrap_wxStyledTextCtrl_SelectionIsRectangle(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8618 | PyObject * _resultobj; | |
8619 | bool _result; | |
8620 | wxStyledTextCtrl * _arg0; | |
8621 | PyObject * _argo0 = 0; | |
8622 | char *_kwnames[] = { "self", NULL }; | |
8623 | ||
8624 | self = self; | |
8625 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_SelectionIsRectangle",_kwnames,&_argo0)) | |
8626 | return NULL; | |
8627 | if (_argo0) { | |
8628 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
8629 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
8630 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SelectionIsRectangle. Expected _wxStyledTextCtrl_p."); | |
8631 | return NULL; | |
8632 | } | |
8633 | } | |
8634 | { | |
0e2ff151 | 8635 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 8636 | _result = (bool )wxStyledTextCtrl_SelectionIsRectangle(_arg0); |
8a2fa5c8 | 8637 | |
0e2ff151 RD |
8638 | wxPyEndAllowThreads(__tstate); |
8639 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
8640 | } _resultobj = Py_BuildValue("i",_result); |
8641 | return _resultobj; | |
8642 | } | |
8643 | ||
8644 | #define wxStyledTextCtrl_SetZoom(_swigobj,_swigarg0) (_swigobj->SetZoom(_swigarg0)) | |
8645 | static PyObject *_wrap_wxStyledTextCtrl_SetZoom(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8646 | PyObject * _resultobj; | |
8647 | wxStyledTextCtrl * _arg0; | |
8648 | int _arg1; | |
8649 | PyObject * _argo0 = 0; | |
8650 | char *_kwnames[] = { "self","zoom", NULL }; | |
8651 | ||
8652 | self = self; | |
8653 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_SetZoom",_kwnames,&_argo0,&_arg1)) | |
8654 | return NULL; | |
8655 | if (_argo0) { | |
8656 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
8657 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
8658 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetZoom. Expected _wxStyledTextCtrl_p."); | |
8659 | return NULL; | |
8660 | } | |
8661 | } | |
8662 | { | |
0e2ff151 | 8663 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 8664 | wxStyledTextCtrl_SetZoom(_arg0,_arg1); |
8a2fa5c8 | 8665 | |
0e2ff151 RD |
8666 | wxPyEndAllowThreads(__tstate); |
8667 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
8668 | } Py_INCREF(Py_None); |
8669 | _resultobj = Py_None; | |
8670 | return _resultobj; | |
8671 | } | |
8672 | ||
8673 | #define wxStyledTextCtrl_GetZoom(_swigobj) (_swigobj->GetZoom()) | |
8674 | static PyObject *_wrap_wxStyledTextCtrl_GetZoom(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8675 | PyObject * _resultobj; | |
8676 | int _result; | |
8677 | wxStyledTextCtrl * _arg0; | |
8678 | PyObject * _argo0 = 0; | |
8679 | char *_kwnames[] = { "self", NULL }; | |
8680 | ||
8681 | self = self; | |
8682 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetZoom",_kwnames,&_argo0)) | |
8683 | return NULL; | |
8684 | if (_argo0) { | |
8685 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
8686 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
8687 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetZoom. Expected _wxStyledTextCtrl_p."); | |
8688 | return NULL; | |
8689 | } | |
8690 | } | |
8691 | { | |
0e2ff151 | 8692 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 8693 | _result = (int )wxStyledTextCtrl_GetZoom(_arg0); |
8a2fa5c8 | 8694 | |
0e2ff151 RD |
8695 | wxPyEndAllowThreads(__tstate); |
8696 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
8697 | } _resultobj = Py_BuildValue("i",_result); |
8698 | return _resultobj; | |
8699 | } | |
8700 | ||
8701 | #define wxStyledTextCtrl_CreateDocument(_swigobj) (_swigobj->CreateDocument()) | |
8702 | static PyObject *_wrap_wxStyledTextCtrl_CreateDocument(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8703 | PyObject * _resultobj; | |
8704 | void * _result; | |
8705 | wxStyledTextCtrl * _arg0; | |
8706 | PyObject * _argo0 = 0; | |
8707 | char *_kwnames[] = { "self", NULL }; | |
8708 | char _ptemp[128]; | |
8709 | ||
8710 | self = self; | |
8711 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_CreateDocument",_kwnames,&_argo0)) | |
8712 | return NULL; | |
8713 | if (_argo0) { | |
8714 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
8715 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
8716 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_CreateDocument. Expected _wxStyledTextCtrl_p."); | |
8717 | return NULL; | |
8718 | } | |
8719 | } | |
8720 | { | |
0e2ff151 | 8721 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 8722 | _result = (void *)wxStyledTextCtrl_CreateDocument(_arg0); |
8a2fa5c8 | 8723 | |
0e2ff151 RD |
8724 | wxPyEndAllowThreads(__tstate); |
8725 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
8726 | } if (_result) { |
8727 | SWIG_MakePtr(_ptemp, (char *) _result,"_void_p"); | |
8728 | _resultobj = Py_BuildValue("s",_ptemp); | |
8729 | } else { | |
8730 | Py_INCREF(Py_None); | |
8731 | _resultobj = Py_None; | |
8732 | } | |
8733 | return _resultobj; | |
8734 | } | |
8735 | ||
8736 | #define wxStyledTextCtrl_AddRefDocument(_swigobj,_swigarg0) (_swigobj->AddRefDocument(_swigarg0)) | |
8737 | static PyObject *_wrap_wxStyledTextCtrl_AddRefDocument(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8738 | PyObject * _resultobj; | |
8739 | wxStyledTextCtrl * _arg0; | |
8740 | void * _arg1; | |
8741 | PyObject * _argo0 = 0; | |
8742 | PyObject * _argo1 = 0; | |
8743 | char *_kwnames[] = { "self","docPointer", NULL }; | |
8744 | ||
8745 | self = self; | |
8746 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxStyledTextCtrl_AddRefDocument",_kwnames,&_argo0,&_argo1)) | |
8747 | return NULL; | |
8748 | if (_argo0) { | |
8749 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
8750 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
8751 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_AddRefDocument. Expected _wxStyledTextCtrl_p."); | |
8752 | return NULL; | |
8753 | } | |
8754 | } | |
8755 | if (_argo1) { | |
8756 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
8757 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,(char *) 0 )) { | |
8758 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxStyledTextCtrl_AddRefDocument. Expected _void_p."); | |
8759 | return NULL; | |
8760 | } | |
8761 | } | |
8762 | { | |
0e2ff151 | 8763 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 8764 | wxStyledTextCtrl_AddRefDocument(_arg0,_arg1); |
8a2fa5c8 | 8765 | |
0e2ff151 RD |
8766 | wxPyEndAllowThreads(__tstate); |
8767 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
8768 | } Py_INCREF(Py_None); |
8769 | _resultobj = Py_None; | |
8770 | return _resultobj; | |
8771 | } | |
8772 | ||
8773 | #define wxStyledTextCtrl_ReleaseDocument(_swigobj,_swigarg0) (_swigobj->ReleaseDocument(_swigarg0)) | |
8774 | static PyObject *_wrap_wxStyledTextCtrl_ReleaseDocument(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8775 | PyObject * _resultobj; | |
8776 | wxStyledTextCtrl * _arg0; | |
8777 | void * _arg1; | |
8778 | PyObject * _argo0 = 0; | |
8779 | PyObject * _argo1 = 0; | |
8780 | char *_kwnames[] = { "self","docPointer", NULL }; | |
8781 | ||
8782 | self = self; | |
8783 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxStyledTextCtrl_ReleaseDocument",_kwnames,&_argo0,&_argo1)) | |
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_ReleaseDocument. Expected _wxStyledTextCtrl_p."); | |
8789 | return NULL; | |
8790 | } | |
8791 | } | |
8792 | if (_argo1) { | |
8793 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
8794 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,(char *) 0 )) { | |
8795 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxStyledTextCtrl_ReleaseDocument. Expected _void_p."); | |
8796 | return NULL; | |
8797 | } | |
8798 | } | |
8799 | { | |
0e2ff151 | 8800 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 8801 | wxStyledTextCtrl_ReleaseDocument(_arg0,_arg1); |
8a2fa5c8 | 8802 | |
0e2ff151 RD |
8803 | wxPyEndAllowThreads(__tstate); |
8804 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
8805 | } Py_INCREF(Py_None); |
8806 | _resultobj = Py_None; | |
8807 | return _resultobj; | |
8808 | } | |
8809 | ||
8810 | #define wxStyledTextCtrl_GetModEventMask(_swigobj) (_swigobj->GetModEventMask()) | |
8811 | static PyObject *_wrap_wxStyledTextCtrl_GetModEventMask(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8812 | PyObject * _resultobj; | |
8813 | int _result; | |
8814 | wxStyledTextCtrl * _arg0; | |
8815 | PyObject * _argo0 = 0; | |
8816 | char *_kwnames[] = { "self", NULL }; | |
8817 | ||
8818 | self = self; | |
8819 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetModEventMask",_kwnames,&_argo0)) | |
8820 | return NULL; | |
8821 | if (_argo0) { | |
8822 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
8823 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
8824 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetModEventMask. Expected _wxStyledTextCtrl_p."); | |
8825 | return NULL; | |
8826 | } | |
8827 | } | |
8828 | { | |
0e2ff151 | 8829 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 8830 | _result = (int )wxStyledTextCtrl_GetModEventMask(_arg0); |
8a2fa5c8 | 8831 | |
0e2ff151 RD |
8832 | wxPyEndAllowThreads(__tstate); |
8833 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
8834 | } _resultobj = Py_BuildValue("i",_result); |
8835 | return _resultobj; | |
8836 | } | |
8837 | ||
8838 | #define wxStyledTextCtrl_SetSTCFocus(_swigobj,_swigarg0) (_swigobj->SetSTCFocus(_swigarg0)) | |
8839 | static PyObject *_wrap_wxStyledTextCtrl_SetSTCFocus(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8840 | PyObject * _resultobj; | |
8841 | wxStyledTextCtrl * _arg0; | |
8842 | bool _arg1; | |
8843 | PyObject * _argo0 = 0; | |
8844 | int tempbool1; | |
8845 | char *_kwnames[] = { "self","focus", NULL }; | |
8846 | ||
8847 | self = self; | |
8848 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_SetSTCFocus",_kwnames,&_argo0,&tempbool1)) | |
8849 | return NULL; | |
8850 | if (_argo0) { | |
8851 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
8852 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
8853 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetSTCFocus. Expected _wxStyledTextCtrl_p."); | |
8854 | return NULL; | |
8855 | } | |
8856 | } | |
8857 | _arg1 = (bool ) tempbool1; | |
8858 | { | |
0e2ff151 | 8859 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 8860 | wxStyledTextCtrl_SetSTCFocus(_arg0,_arg1); |
8a2fa5c8 | 8861 | |
0e2ff151 RD |
8862 | wxPyEndAllowThreads(__tstate); |
8863 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
8864 | } Py_INCREF(Py_None); |
8865 | _resultobj = Py_None; | |
8866 | return _resultobj; | |
8867 | } | |
8868 | ||
8869 | #define wxStyledTextCtrl_GetSTCFocus(_swigobj) (_swigobj->GetSTCFocus()) | |
8870 | static PyObject *_wrap_wxStyledTextCtrl_GetSTCFocus(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8871 | PyObject * _resultobj; | |
8872 | bool _result; | |
8873 | wxStyledTextCtrl * _arg0; | |
8874 | PyObject * _argo0 = 0; | |
8875 | char *_kwnames[] = { "self", NULL }; | |
8876 | ||
8877 | self = self; | |
8878 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetSTCFocus",_kwnames,&_argo0)) | |
8879 | return NULL; | |
8880 | if (_argo0) { | |
8881 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
8882 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
8883 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetSTCFocus. Expected _wxStyledTextCtrl_p."); | |
8884 | return NULL; | |
8885 | } | |
8886 | } | |
8887 | { | |
0e2ff151 | 8888 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 8889 | _result = (bool )wxStyledTextCtrl_GetSTCFocus(_arg0); |
8a2fa5c8 | 8890 | |
0e2ff151 RD |
8891 | wxPyEndAllowThreads(__tstate); |
8892 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
8893 | } _resultobj = Py_BuildValue("i",_result); |
8894 | return _resultobj; | |
8895 | } | |
8896 | ||
8897 | #define wxStyledTextCtrl_SetStatus(_swigobj,_swigarg0) (_swigobj->SetStatus(_swigarg0)) | |
8898 | static PyObject *_wrap_wxStyledTextCtrl_SetStatus(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8899 | PyObject * _resultobj; | |
8900 | wxStyledTextCtrl * _arg0; | |
8901 | int _arg1; | |
8902 | PyObject * _argo0 = 0; | |
8903 | char *_kwnames[] = { "self","statusCode", NULL }; | |
8904 | ||
8905 | self = self; | |
8906 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_SetStatus",_kwnames,&_argo0,&_arg1)) | |
8907 | return NULL; | |
8908 | if (_argo0) { | |
8909 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
8910 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
8911 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetStatus. Expected _wxStyledTextCtrl_p."); | |
8912 | return NULL; | |
8913 | } | |
8914 | } | |
8915 | { | |
0e2ff151 | 8916 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 8917 | wxStyledTextCtrl_SetStatus(_arg0,_arg1); |
8a2fa5c8 | 8918 | |
0e2ff151 RD |
8919 | wxPyEndAllowThreads(__tstate); |
8920 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
8921 | } Py_INCREF(Py_None); |
8922 | _resultobj = Py_None; | |
8923 | return _resultobj; | |
8924 | } | |
8925 | ||
8926 | #define wxStyledTextCtrl_GetStatus(_swigobj) (_swigobj->GetStatus()) | |
8927 | static PyObject *_wrap_wxStyledTextCtrl_GetStatus(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8928 | PyObject * _resultobj; | |
8929 | int _result; | |
8930 | wxStyledTextCtrl * _arg0; | |
8931 | PyObject * _argo0 = 0; | |
8932 | char *_kwnames[] = { "self", NULL }; | |
8933 | ||
8934 | self = self; | |
8935 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetStatus",_kwnames,&_argo0)) | |
8936 | return NULL; | |
8937 | if (_argo0) { | |
8938 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
8939 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
8940 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetStatus. Expected _wxStyledTextCtrl_p."); | |
8941 | return NULL; | |
8942 | } | |
8943 | } | |
8944 | { | |
0e2ff151 | 8945 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 8946 | _result = (int )wxStyledTextCtrl_GetStatus(_arg0); |
8a2fa5c8 | 8947 | |
0e2ff151 RD |
8948 | wxPyEndAllowThreads(__tstate); |
8949 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
8950 | } _resultobj = Py_BuildValue("i",_result); |
8951 | return _resultobj; | |
8952 | } | |
8953 | ||
8954 | #define wxStyledTextCtrl_SetMouseDownCaptures(_swigobj,_swigarg0) (_swigobj->SetMouseDownCaptures(_swigarg0)) | |
8955 | static PyObject *_wrap_wxStyledTextCtrl_SetMouseDownCaptures(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8956 | PyObject * _resultobj; | |
8957 | wxStyledTextCtrl * _arg0; | |
8958 | bool _arg1; | |
8959 | PyObject * _argo0 = 0; | |
8960 | int tempbool1; | |
8961 | char *_kwnames[] = { "self","captures", NULL }; | |
8962 | ||
8963 | self = self; | |
8964 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_SetMouseDownCaptures",_kwnames,&_argo0,&tempbool1)) | |
8965 | return NULL; | |
8966 | if (_argo0) { | |
8967 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
8968 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
8969 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetMouseDownCaptures. Expected _wxStyledTextCtrl_p."); | |
8970 | return NULL; | |
8971 | } | |
8972 | } | |
8973 | _arg1 = (bool ) tempbool1; | |
8974 | { | |
0e2ff151 | 8975 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 8976 | wxStyledTextCtrl_SetMouseDownCaptures(_arg0,_arg1); |
8a2fa5c8 | 8977 | |
0e2ff151 RD |
8978 | wxPyEndAllowThreads(__tstate); |
8979 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
8980 | } Py_INCREF(Py_None); |
8981 | _resultobj = Py_None; | |
8982 | return _resultobj; | |
8983 | } | |
8984 | ||
8985 | #define wxStyledTextCtrl_GetMouseDownCaptures(_swigobj) (_swigobj->GetMouseDownCaptures()) | |
8986 | static PyObject *_wrap_wxStyledTextCtrl_GetMouseDownCaptures(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8987 | PyObject * _resultobj; | |
8988 | bool _result; | |
8989 | wxStyledTextCtrl * _arg0; | |
8990 | PyObject * _argo0 = 0; | |
8991 | char *_kwnames[] = { "self", NULL }; | |
8992 | ||
8993 | self = self; | |
8994 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetMouseDownCaptures",_kwnames,&_argo0)) | |
8995 | return NULL; | |
8996 | if (_argo0) { | |
8997 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
8998 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
8999 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetMouseDownCaptures. Expected _wxStyledTextCtrl_p."); | |
9000 | return NULL; | |
9001 | } | |
9002 | } | |
9003 | { | |
0e2ff151 | 9004 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 9005 | _result = (bool )wxStyledTextCtrl_GetMouseDownCaptures(_arg0); |
8a2fa5c8 | 9006 | |
0e2ff151 RD |
9007 | wxPyEndAllowThreads(__tstate); |
9008 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
9009 | } _resultobj = Py_BuildValue("i",_result); |
9010 | return _resultobj; | |
9011 | } | |
9012 | ||
854e7dc3 RD |
9013 | #define wxStyledTextCtrl_SetSTCCursor(_swigobj,_swigarg0) (_swigobj->SetSTCCursor(_swigarg0)) |
9014 | static PyObject *_wrap_wxStyledTextCtrl_SetSTCCursor(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8a2fa5c8 RD |
9015 | PyObject * _resultobj; |
9016 | wxStyledTextCtrl * _arg0; | |
9017 | int _arg1; | |
9018 | PyObject * _argo0 = 0; | |
9019 | char *_kwnames[] = { "self","cursorType", NULL }; | |
9020 | ||
9021 | self = self; | |
854e7dc3 | 9022 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_SetSTCCursor",_kwnames,&_argo0,&_arg1)) |
8a2fa5c8 RD |
9023 | return NULL; |
9024 | if (_argo0) { | |
9025 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
9026 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
854e7dc3 | 9027 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetSTCCursor. Expected _wxStyledTextCtrl_p."); |
8a2fa5c8 RD |
9028 | return NULL; |
9029 | } | |
9030 | } | |
9031 | { | |
0e2ff151 | 9032 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
854e7dc3 | 9033 | wxStyledTextCtrl_SetSTCCursor(_arg0,_arg1); |
8a2fa5c8 | 9034 | |
0e2ff151 RD |
9035 | wxPyEndAllowThreads(__tstate); |
9036 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
9037 | } Py_INCREF(Py_None); |
9038 | _resultobj = Py_None; | |
9039 | return _resultobj; | |
9040 | } | |
9041 | ||
854e7dc3 RD |
9042 | #define wxStyledTextCtrl_GetSTCCursor(_swigobj) (_swigobj->GetSTCCursor()) |
9043 | static PyObject *_wrap_wxStyledTextCtrl_GetSTCCursor(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8a2fa5c8 RD |
9044 | PyObject * _resultobj; |
9045 | int _result; | |
9046 | wxStyledTextCtrl * _arg0; | |
9047 | PyObject * _argo0 = 0; | |
9048 | char *_kwnames[] = { "self", NULL }; | |
9049 | ||
9050 | self = self; | |
854e7dc3 | 9051 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetSTCCursor",_kwnames,&_argo0)) |
8a2fa5c8 RD |
9052 | return NULL; |
9053 | if (_argo0) { | |
9054 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
9055 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
854e7dc3 | 9056 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetSTCCursor. Expected _wxStyledTextCtrl_p."); |
8a2fa5c8 RD |
9057 | return NULL; |
9058 | } | |
9059 | } | |
9060 | { | |
0e2ff151 | 9061 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
854e7dc3 | 9062 | _result = (int )wxStyledTextCtrl_GetSTCCursor(_arg0); |
8a2fa5c8 | 9063 | |
0e2ff151 RD |
9064 | wxPyEndAllowThreads(__tstate); |
9065 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
9066 | } _resultobj = Py_BuildValue("i",_result); |
9067 | return _resultobj; | |
9068 | } | |
9069 | ||
c3bfa1cb RD |
9070 | #define wxStyledTextCtrl_SetControlCharSymbol(_swigobj,_swigarg0) (_swigobj->SetControlCharSymbol(_swigarg0)) |
9071 | static PyObject *_wrap_wxStyledTextCtrl_SetControlCharSymbol(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9072 | PyObject * _resultobj; | |
9073 | wxStyledTextCtrl * _arg0; | |
9074 | int _arg1; | |
9075 | PyObject * _argo0 = 0; | |
9076 | char *_kwnames[] = { "self","symbol", NULL }; | |
9077 | ||
9078 | self = self; | |
9079 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_SetControlCharSymbol",_kwnames,&_argo0,&_arg1)) | |
9080 | return NULL; | |
9081 | if (_argo0) { | |
9082 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
9083 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
9084 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetControlCharSymbol. Expected _wxStyledTextCtrl_p."); | |
9085 | return NULL; | |
9086 | } | |
9087 | } | |
9088 | { | |
9089 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9090 | wxStyledTextCtrl_SetControlCharSymbol(_arg0,_arg1); | |
9091 | ||
9092 | wxPyEndAllowThreads(__tstate); | |
9093 | if (PyErr_Occurred()) return NULL; | |
9094 | } Py_INCREF(Py_None); | |
9095 | _resultobj = Py_None; | |
9096 | return _resultobj; | |
9097 | } | |
9098 | ||
9099 | #define wxStyledTextCtrl_GetControlCharSymbol(_swigobj) (_swigobj->GetControlCharSymbol()) | |
9100 | static PyObject *_wrap_wxStyledTextCtrl_GetControlCharSymbol(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9101 | PyObject * _resultobj; | |
9102 | int _result; | |
9103 | wxStyledTextCtrl * _arg0; | |
9104 | PyObject * _argo0 = 0; | |
9105 | char *_kwnames[] = { "self", NULL }; | |
9106 | ||
9107 | self = self; | |
9108 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetControlCharSymbol",_kwnames,&_argo0)) | |
9109 | return NULL; | |
9110 | if (_argo0) { | |
9111 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
9112 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
9113 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetControlCharSymbol. Expected _wxStyledTextCtrl_p."); | |
9114 | return NULL; | |
9115 | } | |
9116 | } | |
9117 | { | |
9118 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9119 | _result = (int )wxStyledTextCtrl_GetControlCharSymbol(_arg0); | |
9120 | ||
9121 | wxPyEndAllowThreads(__tstate); | |
9122 | if (PyErr_Occurred()) return NULL; | |
9123 | } _resultobj = Py_BuildValue("i",_result); | |
9124 | return _resultobj; | |
9125 | } | |
9126 | ||
8a2fa5c8 RD |
9127 | #define wxStyledTextCtrl_WordPartLeft(_swigobj) (_swigobj->WordPartLeft()) |
9128 | static PyObject *_wrap_wxStyledTextCtrl_WordPartLeft(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9129 | PyObject * _resultobj; | |
9130 | wxStyledTextCtrl * _arg0; | |
9131 | PyObject * _argo0 = 0; | |
9132 | char *_kwnames[] = { "self", NULL }; | |
9133 | ||
9134 | self = self; | |
9135 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_WordPartLeft",_kwnames,&_argo0)) | |
9136 | return NULL; | |
9137 | if (_argo0) { | |
9138 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
9139 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
9140 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_WordPartLeft. Expected _wxStyledTextCtrl_p."); | |
9141 | return NULL; | |
9142 | } | |
9143 | } | |
9144 | { | |
0e2ff151 | 9145 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 9146 | wxStyledTextCtrl_WordPartLeft(_arg0); |
8a2fa5c8 | 9147 | |
0e2ff151 RD |
9148 | wxPyEndAllowThreads(__tstate); |
9149 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
9150 | } Py_INCREF(Py_None); |
9151 | _resultobj = Py_None; | |
9152 | return _resultobj; | |
9153 | } | |
9154 | ||
9155 | #define wxStyledTextCtrl_WordPartLeftExtend(_swigobj) (_swigobj->WordPartLeftExtend()) | |
9156 | static PyObject *_wrap_wxStyledTextCtrl_WordPartLeftExtend(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9157 | PyObject * _resultobj; | |
9158 | wxStyledTextCtrl * _arg0; | |
9159 | PyObject * _argo0 = 0; | |
9160 | char *_kwnames[] = { "self", NULL }; | |
9161 | ||
9162 | self = self; | |
9163 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_WordPartLeftExtend",_kwnames,&_argo0)) | |
9164 | return NULL; | |
9165 | if (_argo0) { | |
9166 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
9167 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
9168 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_WordPartLeftExtend. Expected _wxStyledTextCtrl_p."); | |
9169 | return NULL; | |
9170 | } | |
9171 | } | |
9172 | { | |
0e2ff151 | 9173 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 9174 | wxStyledTextCtrl_WordPartLeftExtend(_arg0); |
8a2fa5c8 | 9175 | |
0e2ff151 RD |
9176 | wxPyEndAllowThreads(__tstate); |
9177 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
9178 | } Py_INCREF(Py_None); |
9179 | _resultobj = Py_None; | |
9180 | return _resultobj; | |
9181 | } | |
9182 | ||
9183 | #define wxStyledTextCtrl_WordPartRight(_swigobj) (_swigobj->WordPartRight()) | |
9184 | static PyObject *_wrap_wxStyledTextCtrl_WordPartRight(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9185 | PyObject * _resultobj; | |
9186 | wxStyledTextCtrl * _arg0; | |
9187 | PyObject * _argo0 = 0; | |
9188 | char *_kwnames[] = { "self", NULL }; | |
9189 | ||
9190 | self = self; | |
9191 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_WordPartRight",_kwnames,&_argo0)) | |
9192 | return NULL; | |
9193 | if (_argo0) { | |
9194 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
9195 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
9196 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_WordPartRight. Expected _wxStyledTextCtrl_p."); | |
9197 | return NULL; | |
9198 | } | |
9199 | } | |
9200 | { | |
0e2ff151 | 9201 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 9202 | wxStyledTextCtrl_WordPartRight(_arg0); |
8a2fa5c8 | 9203 | |
0e2ff151 RD |
9204 | wxPyEndAllowThreads(__tstate); |
9205 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
9206 | } Py_INCREF(Py_None); |
9207 | _resultobj = Py_None; | |
9208 | return _resultobj; | |
9209 | } | |
9210 | ||
9211 | #define wxStyledTextCtrl_WordPartRightExtend(_swigobj) (_swigobj->WordPartRightExtend()) | |
9212 | static PyObject *_wrap_wxStyledTextCtrl_WordPartRightExtend(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9213 | PyObject * _resultobj; | |
9214 | wxStyledTextCtrl * _arg0; | |
9215 | PyObject * _argo0 = 0; | |
9216 | char *_kwnames[] = { "self", NULL }; | |
9217 | ||
9218 | self = self; | |
9219 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_WordPartRightExtend",_kwnames,&_argo0)) | |
9220 | return NULL; | |
9221 | if (_argo0) { | |
9222 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
9223 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
9224 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_WordPartRightExtend. Expected _wxStyledTextCtrl_p."); | |
9225 | return NULL; | |
9226 | } | |
9227 | } | |
9228 | { | |
0e2ff151 | 9229 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 9230 | wxStyledTextCtrl_WordPartRightExtend(_arg0); |
8a2fa5c8 | 9231 | |
0e2ff151 RD |
9232 | wxPyEndAllowThreads(__tstate); |
9233 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
9234 | } Py_INCREF(Py_None); |
9235 | _resultobj = Py_None; | |
9236 | return _resultobj; | |
9237 | } | |
9238 | ||
9239 | #define wxStyledTextCtrl_SetVisiblePolicy(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetVisiblePolicy(_swigarg0,_swigarg1)) | |
9240 | static PyObject *_wrap_wxStyledTextCtrl_SetVisiblePolicy(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9241 | PyObject * _resultobj; | |
9242 | wxStyledTextCtrl * _arg0; | |
9243 | int _arg1; | |
9244 | int _arg2; | |
9245 | PyObject * _argo0 = 0; | |
9246 | char *_kwnames[] = { "self","visiblePolicy","visibleSlop", NULL }; | |
9247 | ||
9248 | self = self; | |
9249 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxStyledTextCtrl_SetVisiblePolicy",_kwnames,&_argo0,&_arg1,&_arg2)) | |
9250 | return NULL; | |
9251 | if (_argo0) { | |
9252 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
9253 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
9254 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetVisiblePolicy. Expected _wxStyledTextCtrl_p."); | |
9255 | return NULL; | |
9256 | } | |
9257 | } | |
9258 | { | |
0e2ff151 | 9259 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 9260 | wxStyledTextCtrl_SetVisiblePolicy(_arg0,_arg1,_arg2); |
8a2fa5c8 | 9261 | |
0e2ff151 RD |
9262 | wxPyEndAllowThreads(__tstate); |
9263 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
9264 | } Py_INCREF(Py_None); |
9265 | _resultobj = Py_None; | |
9266 | return _resultobj; | |
9267 | } | |
9268 | ||
9269 | #define wxStyledTextCtrl_DelLineLeft(_swigobj) (_swigobj->DelLineLeft()) | |
9270 | static PyObject *_wrap_wxStyledTextCtrl_DelLineLeft(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9271 | PyObject * _resultobj; | |
9272 | wxStyledTextCtrl * _arg0; | |
9273 | PyObject * _argo0 = 0; | |
9274 | char *_kwnames[] = { "self", NULL }; | |
9275 | ||
9276 | self = self; | |
9277 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_DelLineLeft",_kwnames,&_argo0)) | |
9278 | return NULL; | |
9279 | if (_argo0) { | |
9280 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
9281 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
9282 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_DelLineLeft. Expected _wxStyledTextCtrl_p."); | |
9283 | return NULL; | |
9284 | } | |
9285 | } | |
9286 | { | |
0e2ff151 | 9287 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 9288 | wxStyledTextCtrl_DelLineLeft(_arg0); |
8a2fa5c8 | 9289 | |
0e2ff151 RD |
9290 | wxPyEndAllowThreads(__tstate); |
9291 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
9292 | } Py_INCREF(Py_None); |
9293 | _resultobj = Py_None; | |
9294 | return _resultobj; | |
9295 | } | |
9296 | ||
9297 | #define wxStyledTextCtrl_DelLineRight(_swigobj) (_swigobj->DelLineRight()) | |
9298 | static PyObject *_wrap_wxStyledTextCtrl_DelLineRight(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9299 | PyObject * _resultobj; | |
9300 | wxStyledTextCtrl * _arg0; | |
9301 | PyObject * _argo0 = 0; | |
9302 | char *_kwnames[] = { "self", NULL }; | |
9303 | ||
9304 | self = self; | |
9305 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_DelLineRight",_kwnames,&_argo0)) | |
9306 | return NULL; | |
9307 | if (_argo0) { | |
9308 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
9309 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
9310 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_DelLineRight. Expected _wxStyledTextCtrl_p."); | |
9311 | return NULL; | |
9312 | } | |
9313 | } | |
9314 | { | |
0e2ff151 | 9315 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 9316 | wxStyledTextCtrl_DelLineRight(_arg0); |
8a2fa5c8 | 9317 | |
0e2ff151 RD |
9318 | wxPyEndAllowThreads(__tstate); |
9319 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
9320 | } Py_INCREF(Py_None); |
9321 | _resultobj = Py_None; | |
9322 | return _resultobj; | |
9323 | } | |
9324 | ||
c3bfa1cb RD |
9325 | #define wxStyledTextCtrl_SetXOffset(_swigobj,_swigarg0) (_swigobj->SetXOffset(_swigarg0)) |
9326 | static PyObject *_wrap_wxStyledTextCtrl_SetXOffset(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9327 | PyObject * _resultobj; | |
9328 | wxStyledTextCtrl * _arg0; | |
9329 | int _arg1; | |
9330 | PyObject * _argo0 = 0; | |
9331 | char *_kwnames[] = { "self","newOffset", NULL }; | |
9332 | ||
9333 | self = self; | |
9334 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_SetXOffset",_kwnames,&_argo0,&_arg1)) | |
9335 | return NULL; | |
9336 | if (_argo0) { | |
9337 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
9338 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
9339 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetXOffset. Expected _wxStyledTextCtrl_p."); | |
9340 | return NULL; | |
9341 | } | |
9342 | } | |
9343 | { | |
9344 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9345 | wxStyledTextCtrl_SetXOffset(_arg0,_arg1); | |
9346 | ||
9347 | wxPyEndAllowThreads(__tstate); | |
9348 | if (PyErr_Occurred()) return NULL; | |
9349 | } Py_INCREF(Py_None); | |
9350 | _resultobj = Py_None; | |
9351 | return _resultobj; | |
9352 | } | |
9353 | ||
9354 | #define wxStyledTextCtrl_GetXOffset(_swigobj) (_swigobj->GetXOffset()) | |
9355 | static PyObject *_wrap_wxStyledTextCtrl_GetXOffset(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9356 | PyObject * _resultobj; | |
9357 | int _result; | |
9358 | wxStyledTextCtrl * _arg0; | |
9359 | PyObject * _argo0 = 0; | |
9360 | char *_kwnames[] = { "self", NULL }; | |
9361 | ||
9362 | self = self; | |
9363 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetXOffset",_kwnames,&_argo0)) | |
9364 | return NULL; | |
9365 | if (_argo0) { | |
9366 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
9367 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
9368 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetXOffset. Expected _wxStyledTextCtrl_p."); | |
9369 | return NULL; | |
9370 | } | |
9371 | } | |
9372 | { | |
9373 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9374 | _result = (int )wxStyledTextCtrl_GetXOffset(_arg0); | |
9375 | ||
9376 | wxPyEndAllowThreads(__tstate); | |
9377 | if (PyErr_Occurred()) return NULL; | |
9378 | } _resultobj = Py_BuildValue("i",_result); | |
9379 | return _resultobj; | |
9380 | } | |
9381 | ||
1fded56b RD |
9382 | #define wxStyledTextCtrl_ChooseCaretX(_swigobj) (_swigobj->ChooseCaretX()) |
9383 | static PyObject *_wrap_wxStyledTextCtrl_ChooseCaretX(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9384 | PyObject * _resultobj; | |
9385 | wxStyledTextCtrl * _arg0; | |
9386 | PyObject * _argo0 = 0; | |
9387 | char *_kwnames[] = { "self", NULL }; | |
9388 | ||
9389 | self = self; | |
9390 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_ChooseCaretX",_kwnames,&_argo0)) | |
9391 | return NULL; | |
9392 | if (_argo0) { | |
9393 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
9394 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
9395 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_ChooseCaretX. Expected _wxStyledTextCtrl_p."); | |
9396 | return NULL; | |
9397 | } | |
9398 | } | |
9399 | { | |
9400 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9401 | wxStyledTextCtrl_ChooseCaretX(_arg0); | |
9402 | ||
9403 | wxPyEndAllowThreads(__tstate); | |
9404 | if (PyErr_Occurred()) return NULL; | |
9405 | } Py_INCREF(Py_None); | |
9406 | _resultobj = Py_None; | |
9407 | return _resultobj; | |
9408 | } | |
9409 | ||
47a06a26 RD |
9410 | #define wxStyledTextCtrl_SetXCaretPolicy(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetXCaretPolicy(_swigarg0,_swigarg1)) |
9411 | static PyObject *_wrap_wxStyledTextCtrl_SetXCaretPolicy(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9412 | PyObject * _resultobj; | |
9413 | wxStyledTextCtrl * _arg0; | |
9414 | int _arg1; | |
9415 | int _arg2; | |
9416 | PyObject * _argo0 = 0; | |
9417 | char *_kwnames[] = { "self","caretPolicy","caretSlop", NULL }; | |
9418 | ||
9419 | self = self; | |
9420 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxStyledTextCtrl_SetXCaretPolicy",_kwnames,&_argo0,&_arg1,&_arg2)) | |
9421 | return NULL; | |
9422 | if (_argo0) { | |
9423 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
9424 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
9425 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetXCaretPolicy. Expected _wxStyledTextCtrl_p."); | |
9426 | return NULL; | |
9427 | } | |
9428 | } | |
9429 | { | |
9430 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9431 | wxStyledTextCtrl_SetXCaretPolicy(_arg0,_arg1,_arg2); | |
9432 | ||
9433 | wxPyEndAllowThreads(__tstate); | |
9434 | if (PyErr_Occurred()) return NULL; | |
9435 | } Py_INCREF(Py_None); | |
9436 | _resultobj = Py_None; | |
9437 | return _resultobj; | |
9438 | } | |
9439 | ||
9440 | #define wxStyledTextCtrl_SetYCaretPolicy(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetYCaretPolicy(_swigarg0,_swigarg1)) | |
9441 | static PyObject *_wrap_wxStyledTextCtrl_SetYCaretPolicy(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9442 | PyObject * _resultobj; | |
9443 | wxStyledTextCtrl * _arg0; | |
9444 | int _arg1; | |
9445 | int _arg2; | |
9446 | PyObject * _argo0 = 0; | |
9447 | char *_kwnames[] = { "self","caretPolicy","caretSlop", NULL }; | |
9448 | ||
9449 | self = self; | |
9450 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxStyledTextCtrl_SetYCaretPolicy",_kwnames,&_argo0,&_arg1,&_arg2)) | |
9451 | return NULL; | |
9452 | if (_argo0) { | |
9453 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
9454 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
9455 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetYCaretPolicy. Expected _wxStyledTextCtrl_p."); | |
9456 | return NULL; | |
9457 | } | |
9458 | } | |
9459 | { | |
9460 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9461 | wxStyledTextCtrl_SetYCaretPolicy(_arg0,_arg1,_arg2); | |
9462 | ||
9463 | wxPyEndAllowThreads(__tstate); | |
9464 | if (PyErr_Occurred()) return NULL; | |
9465 | } Py_INCREF(Py_None); | |
9466 | _resultobj = Py_None; | |
9467 | return _resultobj; | |
9468 | } | |
9469 | ||
1fded56b RD |
9470 | #define wxStyledTextCtrl_SetPrintWrapMode(_swigobj,_swigarg0) (_swigobj->SetPrintWrapMode(_swigarg0)) |
9471 | static PyObject *_wrap_wxStyledTextCtrl_SetPrintWrapMode(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9472 | PyObject * _resultobj; | |
9473 | wxStyledTextCtrl * _arg0; | |
9474 | int _arg1; | |
9475 | PyObject * _argo0 = 0; | |
9476 | char *_kwnames[] = { "self","mode", NULL }; | |
9477 | ||
9478 | self = self; | |
9479 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_SetPrintWrapMode",_kwnames,&_argo0,&_arg1)) | |
9480 | return NULL; | |
9481 | if (_argo0) { | |
9482 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
9483 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
9484 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetPrintWrapMode. Expected _wxStyledTextCtrl_p."); | |
9485 | return NULL; | |
9486 | } | |
9487 | } | |
9488 | { | |
9489 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9490 | wxStyledTextCtrl_SetPrintWrapMode(_arg0,_arg1); | |
9491 | ||
9492 | wxPyEndAllowThreads(__tstate); | |
9493 | if (PyErr_Occurred()) return NULL; | |
9494 | } Py_INCREF(Py_None); | |
9495 | _resultobj = Py_None; | |
9496 | return _resultobj; | |
9497 | } | |
9498 | ||
9499 | #define wxStyledTextCtrl_GetPrintWrapMode(_swigobj) (_swigobj->GetPrintWrapMode()) | |
9500 | static PyObject *_wrap_wxStyledTextCtrl_GetPrintWrapMode(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9501 | PyObject * _resultobj; | |
9502 | int _result; | |
9503 | wxStyledTextCtrl * _arg0; | |
9504 | PyObject * _argo0 = 0; | |
9505 | char *_kwnames[] = { "self", NULL }; | |
9506 | ||
9507 | self = self; | |
9508 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetPrintWrapMode",_kwnames,&_argo0)) | |
9509 | return NULL; | |
9510 | if (_argo0) { | |
9511 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
9512 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
9513 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetPrintWrapMode. Expected _wxStyledTextCtrl_p."); | |
9514 | return NULL; | |
9515 | } | |
9516 | } | |
9517 | { | |
9518 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9519 | _result = (int )wxStyledTextCtrl_GetPrintWrapMode(_arg0); | |
9520 | ||
9521 | wxPyEndAllowThreads(__tstate); | |
9522 | if (PyErr_Occurred()) return NULL; | |
9523 | } _resultobj = Py_BuildValue("i",_result); | |
9524 | return _resultobj; | |
9525 | } | |
9526 | ||
9527 | #define wxStyledTextCtrl_SetHotspotActiveForeground(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetHotspotActiveForeground(_swigarg0,_swigarg1)) | |
9528 | static PyObject *_wrap_wxStyledTextCtrl_SetHotspotActiveForeground(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9529 | PyObject * _resultobj; | |
9530 | wxStyledTextCtrl * _arg0; | |
9531 | bool _arg1; | |
9532 | wxColour * _arg2; | |
9533 | PyObject * _argo0 = 0; | |
9534 | int tempbool1; | |
9535 | wxColour temp; | |
9536 | PyObject * _obj2 = 0; | |
9537 | char *_kwnames[] = { "self","useSetting","fore", NULL }; | |
9538 | ||
9539 | self = self; | |
9540 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxStyledTextCtrl_SetHotspotActiveForeground",_kwnames,&_argo0,&tempbool1,&_obj2)) | |
9541 | return NULL; | |
9542 | if (_argo0) { | |
9543 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
9544 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
9545 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetHotspotActiveForeground. Expected _wxStyledTextCtrl_p."); | |
9546 | return NULL; | |
9547 | } | |
9548 | } | |
9549 | _arg1 = (bool ) tempbool1; | |
9550 | { | |
9551 | _arg2 = &temp; | |
9552 | if (! wxColour_helper(_obj2, &_arg2)) | |
9553 | return NULL; | |
9554 | } | |
9555 | { | |
9556 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9557 | wxStyledTextCtrl_SetHotspotActiveForeground(_arg0,_arg1,*_arg2); | |
9558 | ||
9559 | wxPyEndAllowThreads(__tstate); | |
9560 | if (PyErr_Occurred()) return NULL; | |
9561 | } Py_INCREF(Py_None); | |
9562 | _resultobj = Py_None; | |
9563 | return _resultobj; | |
9564 | } | |
9565 | ||
9566 | #define wxStyledTextCtrl_SetHotspotActiveBackground(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetHotspotActiveBackground(_swigarg0,_swigarg1)) | |
9567 | static PyObject *_wrap_wxStyledTextCtrl_SetHotspotActiveBackground(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9568 | PyObject * _resultobj; | |
9569 | wxStyledTextCtrl * _arg0; | |
9570 | bool _arg1; | |
9571 | wxColour * _arg2; | |
9572 | PyObject * _argo0 = 0; | |
9573 | int tempbool1; | |
9574 | wxColour temp; | |
9575 | PyObject * _obj2 = 0; | |
9576 | char *_kwnames[] = { "self","useSetting","back", NULL }; | |
9577 | ||
9578 | self = self; | |
9579 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxStyledTextCtrl_SetHotspotActiveBackground",_kwnames,&_argo0,&tempbool1,&_obj2)) | |
9580 | return NULL; | |
9581 | if (_argo0) { | |
9582 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
9583 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
9584 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetHotspotActiveBackground. Expected _wxStyledTextCtrl_p."); | |
9585 | return NULL; | |
9586 | } | |
9587 | } | |
9588 | _arg1 = (bool ) tempbool1; | |
9589 | { | |
9590 | _arg2 = &temp; | |
9591 | if (! wxColour_helper(_obj2, &_arg2)) | |
9592 | return NULL; | |
9593 | } | |
9594 | { | |
9595 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9596 | wxStyledTextCtrl_SetHotspotActiveBackground(_arg0,_arg1,*_arg2); | |
9597 | ||
9598 | wxPyEndAllowThreads(__tstate); | |
9599 | if (PyErr_Occurred()) return NULL; | |
9600 | } Py_INCREF(Py_None); | |
9601 | _resultobj = Py_None; | |
9602 | return _resultobj; | |
9603 | } | |
9604 | ||
9605 | #define wxStyledTextCtrl_SetHotspotActiveUnderline(_swigobj,_swigarg0) (_swigobj->SetHotspotActiveUnderline(_swigarg0)) | |
9606 | static PyObject *_wrap_wxStyledTextCtrl_SetHotspotActiveUnderline(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9607 | PyObject * _resultobj; | |
9608 | wxStyledTextCtrl * _arg0; | |
9609 | bool _arg1; | |
9610 | PyObject * _argo0 = 0; | |
9611 | int tempbool1; | |
9612 | char *_kwnames[] = { "self","underline", NULL }; | |
9613 | ||
9614 | self = self; | |
9615 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_SetHotspotActiveUnderline",_kwnames,&_argo0,&tempbool1)) | |
9616 | return NULL; | |
9617 | if (_argo0) { | |
9618 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
9619 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
9620 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetHotspotActiveUnderline. Expected _wxStyledTextCtrl_p."); | |
9621 | return NULL; | |
9622 | } | |
9623 | } | |
9624 | _arg1 = (bool ) tempbool1; | |
9625 | { | |
9626 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9627 | wxStyledTextCtrl_SetHotspotActiveUnderline(_arg0,_arg1); | |
9628 | ||
9629 | wxPyEndAllowThreads(__tstate); | |
9630 | if (PyErr_Occurred()) return NULL; | |
9631 | } Py_INCREF(Py_None); | |
9632 | _resultobj = Py_None; | |
9633 | return _resultobj; | |
9634 | } | |
9635 | ||
d84a9306 RD |
9636 | #define wxStyledTextCtrl_PositionBefore(_swigobj,_swigarg0) (_swigobj->PositionBefore(_swigarg0)) |
9637 | static PyObject *_wrap_wxStyledTextCtrl_PositionBefore(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9638 | PyObject * _resultobj; | |
9639 | int _result; | |
9640 | wxStyledTextCtrl * _arg0; | |
9641 | int _arg1; | |
9642 | PyObject * _argo0 = 0; | |
9643 | char *_kwnames[] = { "self","pos", NULL }; | |
9644 | ||
9645 | self = self; | |
9646 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_PositionBefore",_kwnames,&_argo0,&_arg1)) | |
9647 | return NULL; | |
9648 | if (_argo0) { | |
9649 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
9650 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
9651 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_PositionBefore. Expected _wxStyledTextCtrl_p."); | |
9652 | return NULL; | |
9653 | } | |
9654 | } | |
9655 | { | |
9656 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9657 | _result = (int )wxStyledTextCtrl_PositionBefore(_arg0,_arg1); | |
9658 | ||
9659 | wxPyEndAllowThreads(__tstate); | |
9660 | if (PyErr_Occurred()) return NULL; | |
9661 | } _resultobj = Py_BuildValue("i",_result); | |
9662 | return _resultobj; | |
9663 | } | |
9664 | ||
9665 | #define wxStyledTextCtrl_PositionAfter(_swigobj,_swigarg0) (_swigobj->PositionAfter(_swigarg0)) | |
9666 | static PyObject *_wrap_wxStyledTextCtrl_PositionAfter(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9667 | PyObject * _resultobj; | |
9668 | int _result; | |
9669 | wxStyledTextCtrl * _arg0; | |
9670 | int _arg1; | |
9671 | PyObject * _argo0 = 0; | |
9672 | char *_kwnames[] = { "self","pos", NULL }; | |
9673 | ||
9674 | self = self; | |
9675 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_PositionAfter",_kwnames,&_argo0,&_arg1)) | |
9676 | return NULL; | |
9677 | if (_argo0) { | |
9678 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
9679 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
9680 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_PositionAfter. Expected _wxStyledTextCtrl_p."); | |
9681 | return NULL; | |
9682 | } | |
9683 | } | |
9684 | { | |
9685 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9686 | _result = (int )wxStyledTextCtrl_PositionAfter(_arg0,_arg1); | |
9687 | ||
9688 | wxPyEndAllowThreads(__tstate); | |
9689 | if (PyErr_Occurred()) return NULL; | |
9690 | } _resultobj = Py_BuildValue("i",_result); | |
9691 | return _resultobj; | |
9692 | } | |
9693 | ||
9694 | #define wxStyledTextCtrl_CopyRange(_swigobj,_swigarg0,_swigarg1) (_swigobj->CopyRange(_swigarg0,_swigarg1)) | |
9695 | static PyObject *_wrap_wxStyledTextCtrl_CopyRange(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9696 | PyObject * _resultobj; | |
9697 | wxStyledTextCtrl * _arg0; | |
9698 | int _arg1; | |
9699 | int _arg2; | |
9700 | PyObject * _argo0 = 0; | |
9701 | char *_kwnames[] = { "self","start","end", NULL }; | |
9702 | ||
9703 | self = self; | |
9704 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxStyledTextCtrl_CopyRange",_kwnames,&_argo0,&_arg1,&_arg2)) | |
9705 | return NULL; | |
9706 | if (_argo0) { | |
9707 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
9708 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
9709 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_CopyRange. Expected _wxStyledTextCtrl_p."); | |
9710 | return NULL; | |
9711 | } | |
9712 | } | |
9713 | { | |
9714 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9715 | wxStyledTextCtrl_CopyRange(_arg0,_arg1,_arg2); | |
9716 | ||
9717 | wxPyEndAllowThreads(__tstate); | |
9718 | if (PyErr_Occurred()) return NULL; | |
9719 | } Py_INCREF(Py_None); | |
9720 | _resultobj = Py_None; | |
9721 | return _resultobj; | |
9722 | } | |
9723 | ||
9724 | #define wxStyledTextCtrl_CopyText(_swigobj,_swigarg0,_swigarg1) (_swigobj->CopyText(_swigarg0,_swigarg1)) | |
9725 | static PyObject *_wrap_wxStyledTextCtrl_CopyText(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9726 | PyObject * _resultobj; | |
9727 | wxStyledTextCtrl * _arg0; | |
9728 | int _arg1; | |
9729 | wxString * _arg2; | |
9730 | PyObject * _argo0 = 0; | |
9731 | PyObject * _obj2 = 0; | |
9732 | char *_kwnames[] = { "self","length","text", NULL }; | |
9733 | ||
9734 | self = self; | |
9735 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxStyledTextCtrl_CopyText",_kwnames,&_argo0,&_arg1,&_obj2)) | |
9736 | return NULL; | |
9737 | if (_argo0) { | |
9738 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
9739 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
9740 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_CopyText. Expected _wxStyledTextCtrl_p."); | |
9741 | return NULL; | |
9742 | } | |
9743 | } | |
9744 | { | |
9745 | _arg2 = wxString_in_helper(_obj2); | |
9746 | if (_arg2 == NULL) | |
9747 | return NULL; | |
9748 | } | |
9749 | { | |
9750 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9751 | wxStyledTextCtrl_CopyText(_arg0,_arg1,*_arg2); | |
9752 | ||
9753 | wxPyEndAllowThreads(__tstate); | |
9754 | if (PyErr_Occurred()) return NULL; | |
9755 | } Py_INCREF(Py_None); | |
9756 | _resultobj = Py_None; | |
9757 | { | |
9758 | if (_obj2) | |
9759 | delete _arg2; | |
9760 | } | |
9761 | return _resultobj; | |
9762 | } | |
9763 | ||
8a2fa5c8 RD |
9764 | #define wxStyledTextCtrl_StartRecord(_swigobj) (_swigobj->StartRecord()) |
9765 | static PyObject *_wrap_wxStyledTextCtrl_StartRecord(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9766 | PyObject * _resultobj; | |
9767 | wxStyledTextCtrl * _arg0; | |
9768 | PyObject * _argo0 = 0; | |
9769 | char *_kwnames[] = { "self", NULL }; | |
9770 | ||
9771 | self = self; | |
9772 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_StartRecord",_kwnames,&_argo0)) | |
9773 | return NULL; | |
9774 | if (_argo0) { | |
9775 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
9776 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
9777 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_StartRecord. Expected _wxStyledTextCtrl_p."); | |
9778 | return NULL; | |
9779 | } | |
9780 | } | |
9781 | { | |
0e2ff151 | 9782 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 9783 | wxStyledTextCtrl_StartRecord(_arg0); |
8a2fa5c8 | 9784 | |
0e2ff151 RD |
9785 | wxPyEndAllowThreads(__tstate); |
9786 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
9787 | } Py_INCREF(Py_None); |
9788 | _resultobj = Py_None; | |
9789 | return _resultobj; | |
9790 | } | |
9791 | ||
9792 | #define wxStyledTextCtrl_StopRecord(_swigobj) (_swigobj->StopRecord()) | |
9793 | static PyObject *_wrap_wxStyledTextCtrl_StopRecord(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9794 | PyObject * _resultobj; | |
9795 | wxStyledTextCtrl * _arg0; | |
9796 | PyObject * _argo0 = 0; | |
9797 | char *_kwnames[] = { "self", NULL }; | |
9798 | ||
9799 | self = self; | |
9800 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_StopRecord",_kwnames,&_argo0)) | |
9801 | return NULL; | |
9802 | if (_argo0) { | |
9803 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
9804 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
9805 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_StopRecord. Expected _wxStyledTextCtrl_p."); | |
9806 | return NULL; | |
9807 | } | |
9808 | } | |
9809 | { | |
0e2ff151 | 9810 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 9811 | wxStyledTextCtrl_StopRecord(_arg0); |
8a2fa5c8 | 9812 | |
0e2ff151 RD |
9813 | wxPyEndAllowThreads(__tstate); |
9814 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
9815 | } Py_INCREF(Py_None); |
9816 | _resultobj = Py_None; | |
9817 | return _resultobj; | |
9818 | } | |
9819 | ||
9820 | #define wxStyledTextCtrl_SetLexer(_swigobj,_swigarg0) (_swigobj->SetLexer(_swigarg0)) | |
9821 | static PyObject *_wrap_wxStyledTextCtrl_SetLexer(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9822 | PyObject * _resultobj; | |
9823 | wxStyledTextCtrl * _arg0; | |
9824 | int _arg1; | |
9825 | PyObject * _argo0 = 0; | |
9826 | char *_kwnames[] = { "self","lexer", NULL }; | |
9827 | ||
9828 | self = self; | |
9829 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_SetLexer",_kwnames,&_argo0,&_arg1)) | |
9830 | return NULL; | |
9831 | if (_argo0) { | |
9832 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
9833 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
9834 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetLexer. Expected _wxStyledTextCtrl_p."); | |
9835 | return NULL; | |
9836 | } | |
9837 | } | |
9838 | { | |
0e2ff151 | 9839 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 9840 | wxStyledTextCtrl_SetLexer(_arg0,_arg1); |
8a2fa5c8 | 9841 | |
0e2ff151 RD |
9842 | wxPyEndAllowThreads(__tstate); |
9843 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
9844 | } Py_INCREF(Py_None); |
9845 | _resultobj = Py_None; | |
9846 | return _resultobj; | |
9847 | } | |
9848 | ||
9849 | #define wxStyledTextCtrl_GetLexer(_swigobj) (_swigobj->GetLexer()) | |
9850 | static PyObject *_wrap_wxStyledTextCtrl_GetLexer(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9851 | PyObject * _resultobj; | |
9852 | int _result; | |
9853 | wxStyledTextCtrl * _arg0; | |
9854 | PyObject * _argo0 = 0; | |
9855 | char *_kwnames[] = { "self", NULL }; | |
9856 | ||
9857 | self = self; | |
9858 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetLexer",_kwnames,&_argo0)) | |
9859 | return NULL; | |
9860 | if (_argo0) { | |
9861 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
9862 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
9863 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetLexer. Expected _wxStyledTextCtrl_p."); | |
9864 | return NULL; | |
9865 | } | |
9866 | } | |
9867 | { | |
0e2ff151 | 9868 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 9869 | _result = (int )wxStyledTextCtrl_GetLexer(_arg0); |
8a2fa5c8 | 9870 | |
0e2ff151 RD |
9871 | wxPyEndAllowThreads(__tstate); |
9872 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
9873 | } _resultobj = Py_BuildValue("i",_result); |
9874 | return _resultobj; | |
9875 | } | |
9876 | ||
9877 | #define wxStyledTextCtrl_Colourise(_swigobj,_swigarg0,_swigarg1) (_swigobj->Colourise(_swigarg0,_swigarg1)) | |
9878 | static PyObject *_wrap_wxStyledTextCtrl_Colourise(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9879 | PyObject * _resultobj; | |
9880 | wxStyledTextCtrl * _arg0; | |
9881 | int _arg1; | |
9882 | int _arg2; | |
9883 | PyObject * _argo0 = 0; | |
9884 | char *_kwnames[] = { "self","start","end", NULL }; | |
9885 | ||
9886 | self = self; | |
9887 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxStyledTextCtrl_Colourise",_kwnames,&_argo0,&_arg1,&_arg2)) | |
9888 | return NULL; | |
9889 | if (_argo0) { | |
9890 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
9891 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
9892 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_Colourise. Expected _wxStyledTextCtrl_p."); | |
9893 | return NULL; | |
9894 | } | |
9895 | } | |
9896 | { | |
0e2ff151 | 9897 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 9898 | wxStyledTextCtrl_Colourise(_arg0,_arg1,_arg2); |
8a2fa5c8 | 9899 | |
0e2ff151 RD |
9900 | wxPyEndAllowThreads(__tstate); |
9901 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
9902 | } Py_INCREF(Py_None); |
9903 | _resultobj = Py_None; | |
9904 | return _resultobj; | |
9905 | } | |
9906 | ||
9907 | #define wxStyledTextCtrl_SetProperty(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetProperty(_swigarg0,_swigarg1)) | |
9908 | static PyObject *_wrap_wxStyledTextCtrl_SetProperty(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9909 | PyObject * _resultobj; | |
9910 | wxStyledTextCtrl * _arg0; | |
9911 | wxString * _arg1; | |
9912 | wxString * _arg2; | |
9913 | PyObject * _argo0 = 0; | |
9914 | PyObject * _obj1 = 0; | |
9915 | PyObject * _obj2 = 0; | |
9916 | char *_kwnames[] = { "self","key","value", NULL }; | |
9917 | ||
9918 | self = self; | |
9919 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxStyledTextCtrl_SetProperty",_kwnames,&_argo0,&_obj1,&_obj2)) | |
9920 | return NULL; | |
9921 | if (_argo0) { | |
9922 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
9923 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
9924 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetProperty. Expected _wxStyledTextCtrl_p."); | |
9925 | return NULL; | |
9926 | } | |
9927 | } | |
9928 | { | |
6824d4f9 RD |
9929 | _arg1 = wxString_in_helper(_obj1); |
9930 | if (_arg1 == NULL) | |
8a2fa5c8 | 9931 | return NULL; |
8a2fa5c8 RD |
9932 | } |
9933 | { | |
6824d4f9 RD |
9934 | _arg2 = wxString_in_helper(_obj2); |
9935 | if (_arg2 == NULL) | |
8a2fa5c8 | 9936 | return NULL; |
8a2fa5c8 RD |
9937 | } |
9938 | { | |
0e2ff151 | 9939 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 9940 | wxStyledTextCtrl_SetProperty(_arg0,*_arg1,*_arg2); |
8a2fa5c8 | 9941 | |
0e2ff151 RD |
9942 | wxPyEndAllowThreads(__tstate); |
9943 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
9944 | } Py_INCREF(Py_None); |
9945 | _resultobj = Py_None; | |
9946 | { | |
9947 | if (_obj1) | |
9948 | delete _arg1; | |
9949 | } | |
9950 | { | |
9951 | if (_obj2) | |
9952 | delete _arg2; | |
9953 | } | |
9954 | return _resultobj; | |
9955 | } | |
9956 | ||
9957 | #define wxStyledTextCtrl_SetKeyWords(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetKeyWords(_swigarg0,_swigarg1)) | |
9958 | static PyObject *_wrap_wxStyledTextCtrl_SetKeyWords(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9959 | PyObject * _resultobj; | |
9960 | wxStyledTextCtrl * _arg0; | |
9961 | int _arg1; | |
9962 | wxString * _arg2; | |
9963 | PyObject * _argo0 = 0; | |
9964 | PyObject * _obj2 = 0; | |
9965 | char *_kwnames[] = { "self","keywordSet","keyWords", NULL }; | |
9966 | ||
9967 | self = self; | |
9968 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxStyledTextCtrl_SetKeyWords",_kwnames,&_argo0,&_arg1,&_obj2)) | |
9969 | return NULL; | |
9970 | if (_argo0) { | |
9971 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
9972 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
9973 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetKeyWords. Expected _wxStyledTextCtrl_p."); | |
9974 | return NULL; | |
9975 | } | |
9976 | } | |
9977 | { | |
6824d4f9 RD |
9978 | _arg2 = wxString_in_helper(_obj2); |
9979 | if (_arg2 == NULL) | |
8a2fa5c8 | 9980 | return NULL; |
8a2fa5c8 RD |
9981 | } |
9982 | { | |
0e2ff151 | 9983 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 9984 | wxStyledTextCtrl_SetKeyWords(_arg0,_arg1,*_arg2); |
8a2fa5c8 | 9985 | |
0e2ff151 RD |
9986 | wxPyEndAllowThreads(__tstate); |
9987 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
9988 | } Py_INCREF(Py_None); |
9989 | _resultobj = Py_None; | |
9990 | { | |
9991 | if (_obj2) | |
9992 | delete _arg2; | |
9993 | } | |
9994 | return _resultobj; | |
9995 | } | |
9996 | ||
9997 | #define wxStyledTextCtrl_SetLexerLanguage(_swigobj,_swigarg0) (_swigobj->SetLexerLanguage(_swigarg0)) | |
9998 | static PyObject *_wrap_wxStyledTextCtrl_SetLexerLanguage(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9999 | PyObject * _resultobj; | |
10000 | wxStyledTextCtrl * _arg0; | |
10001 | wxString * _arg1; | |
10002 | PyObject * _argo0 = 0; | |
10003 | PyObject * _obj1 = 0; | |
10004 | char *_kwnames[] = { "self","language", NULL }; | |
10005 | ||
10006 | self = self; | |
10007 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxStyledTextCtrl_SetLexerLanguage",_kwnames,&_argo0,&_obj1)) | |
10008 | return NULL; | |
10009 | if (_argo0) { | |
10010 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
10011 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
10012 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetLexerLanguage. Expected _wxStyledTextCtrl_p."); | |
10013 | return NULL; | |
10014 | } | |
10015 | } | |
10016 | { | |
6824d4f9 RD |
10017 | _arg1 = wxString_in_helper(_obj1); |
10018 | if (_arg1 == NULL) | |
8a2fa5c8 | 10019 | return NULL; |
8a2fa5c8 RD |
10020 | } |
10021 | { | |
0e2ff151 | 10022 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 10023 | wxStyledTextCtrl_SetLexerLanguage(_arg0,*_arg1); |
8a2fa5c8 | 10024 | |
0e2ff151 RD |
10025 | wxPyEndAllowThreads(__tstate); |
10026 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
10027 | } Py_INCREF(Py_None); |
10028 | _resultobj = Py_None; | |
10029 | { | |
10030 | if (_obj1) | |
10031 | delete _arg1; | |
10032 | } | |
10033 | return _resultobj; | |
10034 | } | |
10035 | ||
10036 | #define wxStyledTextCtrl_GetCurrentLine(_swigobj) (_swigobj->GetCurrentLine()) | |
10037 | static PyObject *_wrap_wxStyledTextCtrl_GetCurrentLine(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10038 | PyObject * _resultobj; | |
10039 | int _result; | |
10040 | wxStyledTextCtrl * _arg0; | |
10041 | PyObject * _argo0 = 0; | |
10042 | char *_kwnames[] = { "self", NULL }; | |
10043 | ||
10044 | self = self; | |
10045 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetCurrentLine",_kwnames,&_argo0)) | |
10046 | return NULL; | |
10047 | if (_argo0) { | |
10048 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
10049 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
10050 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetCurrentLine. Expected _wxStyledTextCtrl_p."); | |
10051 | return NULL; | |
10052 | } | |
10053 | } | |
10054 | { | |
0e2ff151 | 10055 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 10056 | _result = (int )wxStyledTextCtrl_GetCurrentLine(_arg0); |
8a2fa5c8 | 10057 | |
0e2ff151 RD |
10058 | wxPyEndAllowThreads(__tstate); |
10059 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
10060 | } _resultobj = Py_BuildValue("i",_result); |
10061 | return _resultobj; | |
10062 | } | |
10063 | ||
10064 | #define wxStyledTextCtrl_StyleSetSpec(_swigobj,_swigarg0,_swigarg1) (_swigobj->StyleSetSpec(_swigarg0,_swigarg1)) | |
10065 | static PyObject *_wrap_wxStyledTextCtrl_StyleSetSpec(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10066 | PyObject * _resultobj; | |
10067 | wxStyledTextCtrl * _arg0; | |
10068 | int _arg1; | |
10069 | wxString * _arg2; | |
10070 | PyObject * _argo0 = 0; | |
10071 | PyObject * _obj2 = 0; | |
10072 | char *_kwnames[] = { "self","styleNum","spec", NULL }; | |
10073 | ||
10074 | self = self; | |
10075 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxStyledTextCtrl_StyleSetSpec",_kwnames,&_argo0,&_arg1,&_obj2)) | |
10076 | return NULL; | |
10077 | if (_argo0) { | |
10078 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
10079 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
10080 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_StyleSetSpec. Expected _wxStyledTextCtrl_p."); | |
10081 | return NULL; | |
10082 | } | |
10083 | } | |
10084 | { | |
6824d4f9 RD |
10085 | _arg2 = wxString_in_helper(_obj2); |
10086 | if (_arg2 == NULL) | |
8a2fa5c8 | 10087 | return NULL; |
8a2fa5c8 RD |
10088 | } |
10089 | { | |
0e2ff151 | 10090 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 10091 | wxStyledTextCtrl_StyleSetSpec(_arg0,_arg1,*_arg2); |
8a2fa5c8 | 10092 | |
0e2ff151 RD |
10093 | wxPyEndAllowThreads(__tstate); |
10094 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
10095 | } Py_INCREF(Py_None); |
10096 | _resultobj = Py_None; | |
10097 | { | |
10098 | if (_obj2) | |
10099 | delete _arg2; | |
10100 | } | |
10101 | return _resultobj; | |
10102 | } | |
10103 | ||
10104 | #define wxStyledTextCtrl_StyleSetFont(_swigobj,_swigarg0,_swigarg1) (_swigobj->StyleSetFont(_swigarg0,_swigarg1)) | |
10105 | static PyObject *_wrap_wxStyledTextCtrl_StyleSetFont(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10106 | PyObject * _resultobj; | |
10107 | wxStyledTextCtrl * _arg0; | |
10108 | int _arg1; | |
10109 | wxFont * _arg2; | |
10110 | PyObject * _argo0 = 0; | |
10111 | PyObject * _argo2 = 0; | |
10112 | char *_kwnames[] = { "self","styleNum","font", NULL }; | |
10113 | ||
10114 | self = self; | |
10115 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxStyledTextCtrl_StyleSetFont",_kwnames,&_argo0,&_arg1,&_argo2)) | |
10116 | return NULL; | |
10117 | if (_argo0) { | |
10118 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
10119 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
10120 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_StyleSetFont. Expected _wxStyledTextCtrl_p."); | |
10121 | return NULL; | |
10122 | } | |
10123 | } | |
10124 | if (_argo2) { | |
7108497a | 10125 | if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxFont_p")) { |
8a2fa5c8 RD |
10126 | PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxStyledTextCtrl_StyleSetFont. Expected _wxFont_p."); |
10127 | return NULL; | |
10128 | } | |
10129 | } | |
10130 | { | |
0e2ff151 | 10131 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 10132 | wxStyledTextCtrl_StyleSetFont(_arg0,_arg1,*_arg2); |
8a2fa5c8 | 10133 | |
0e2ff151 RD |
10134 | wxPyEndAllowThreads(__tstate); |
10135 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
10136 | } Py_INCREF(Py_None); |
10137 | _resultobj = Py_None; | |
10138 | return _resultobj; | |
10139 | } | |
10140 | ||
10141 | #define wxStyledTextCtrl_StyleSetFontAttr(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->StyleSetFontAttr(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5)) | |
10142 | static PyObject *_wrap_wxStyledTextCtrl_StyleSetFontAttr(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10143 | PyObject * _resultobj; | |
10144 | wxStyledTextCtrl * _arg0; | |
10145 | int _arg1; | |
10146 | int _arg2; | |
10147 | wxString * _arg3; | |
10148 | bool _arg4; | |
10149 | bool _arg5; | |
10150 | bool _arg6; | |
10151 | PyObject * _argo0 = 0; | |
10152 | PyObject * _obj3 = 0; | |
10153 | int tempbool4; | |
10154 | int tempbool5; | |
10155 | int tempbool6; | |
10156 | char *_kwnames[] = { "self","styleNum","size","faceName","bold","italic","underline", NULL }; | |
10157 | ||
10158 | self = self; | |
10159 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiiOiii:wxStyledTextCtrl_StyleSetFontAttr",_kwnames,&_argo0,&_arg1,&_arg2,&_obj3,&tempbool4,&tempbool5,&tempbool6)) | |
10160 | return NULL; | |
10161 | if (_argo0) { | |
10162 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
10163 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
10164 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_StyleSetFontAttr. Expected _wxStyledTextCtrl_p."); | |
10165 | return NULL; | |
10166 | } | |
10167 | } | |
10168 | { | |
6824d4f9 RD |
10169 | _arg3 = wxString_in_helper(_obj3); |
10170 | if (_arg3 == NULL) | |
8a2fa5c8 | 10171 | return NULL; |
8a2fa5c8 RD |
10172 | } |
10173 | _arg4 = (bool ) tempbool4; | |
10174 | _arg5 = (bool ) tempbool5; | |
10175 | _arg6 = (bool ) tempbool6; | |
10176 | { | |
0e2ff151 | 10177 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 10178 | wxStyledTextCtrl_StyleSetFontAttr(_arg0,_arg1,_arg2,*_arg3,_arg4,_arg5,_arg6); |
8a2fa5c8 | 10179 | |
0e2ff151 RD |
10180 | wxPyEndAllowThreads(__tstate); |
10181 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
10182 | } Py_INCREF(Py_None); |
10183 | _resultobj = Py_None; | |
10184 | { | |
10185 | if (_obj3) | |
10186 | delete _arg3; | |
10187 | } | |
10188 | return _resultobj; | |
10189 | } | |
10190 | ||
10191 | #define wxStyledTextCtrl_CmdKeyExecute(_swigobj,_swigarg0) (_swigobj->CmdKeyExecute(_swigarg0)) | |
10192 | static PyObject *_wrap_wxStyledTextCtrl_CmdKeyExecute(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10193 | PyObject * _resultobj; | |
10194 | wxStyledTextCtrl * _arg0; | |
10195 | int _arg1; | |
10196 | PyObject * _argo0 = 0; | |
10197 | char *_kwnames[] = { "self","cmd", NULL }; | |
10198 | ||
10199 | self = self; | |
10200 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_CmdKeyExecute",_kwnames,&_argo0,&_arg1)) | |
10201 | return NULL; | |
10202 | if (_argo0) { | |
10203 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
10204 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
10205 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_CmdKeyExecute. Expected _wxStyledTextCtrl_p."); | |
10206 | return NULL; | |
10207 | } | |
10208 | } | |
10209 | { | |
0e2ff151 | 10210 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 10211 | wxStyledTextCtrl_CmdKeyExecute(_arg0,_arg1); |
8a2fa5c8 | 10212 | |
0e2ff151 RD |
10213 | wxPyEndAllowThreads(__tstate); |
10214 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
10215 | } Py_INCREF(Py_None); |
10216 | _resultobj = Py_None; | |
10217 | return _resultobj; | |
10218 | } | |
10219 | ||
10220 | #define wxStyledTextCtrl_SetMargins(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetMargins(_swigarg0,_swigarg1)) | |
10221 | static PyObject *_wrap_wxStyledTextCtrl_SetMargins(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10222 | PyObject * _resultobj; | |
10223 | wxStyledTextCtrl * _arg0; | |
10224 | int _arg1; | |
10225 | int _arg2; | |
10226 | PyObject * _argo0 = 0; | |
10227 | char *_kwnames[] = { "self","left","right", NULL }; | |
10228 | ||
10229 | self = self; | |
10230 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxStyledTextCtrl_SetMargins",_kwnames,&_argo0,&_arg1,&_arg2)) | |
10231 | return NULL; | |
10232 | if (_argo0) { | |
10233 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
10234 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
10235 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetMargins. Expected _wxStyledTextCtrl_p."); | |
10236 | return NULL; | |
10237 | } | |
10238 | } | |
10239 | { | |
0e2ff151 | 10240 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 10241 | wxStyledTextCtrl_SetMargins(_arg0,_arg1,_arg2); |
8a2fa5c8 | 10242 | |
0e2ff151 RD |
10243 | wxPyEndAllowThreads(__tstate); |
10244 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
10245 | } Py_INCREF(Py_None); |
10246 | _resultobj = Py_None; | |
10247 | return _resultobj; | |
10248 | } | |
10249 | ||
10250 | #define wxStyledTextCtrl_GetSelection(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetSelection(_swigarg0,_swigarg1)) | |
10251 | static PyObject *_wrap_wxStyledTextCtrl_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10252 | PyObject * _resultobj; | |
10253 | wxStyledTextCtrl * _arg0; | |
10254 | int * _arg1; | |
10255 | int temp; | |
10256 | int * _arg2; | |
10257 | int temp0; | |
10258 | PyObject * _argo0 = 0; | |
10259 | char *_kwnames[] = { "self", NULL }; | |
10260 | ||
10261 | self = self; | |
10262 | { | |
10263 | _arg1 = &temp; | |
10264 | } | |
10265 | { | |
10266 | _arg2 = &temp0; | |
10267 | } | |
10268 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetSelection",_kwnames,&_argo0)) | |
10269 | return NULL; | |
10270 | if (_argo0) { | |
10271 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
10272 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
10273 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetSelection. Expected _wxStyledTextCtrl_p."); | |
10274 | return NULL; | |
10275 | } | |
10276 | } | |
10277 | { | |
0e2ff151 | 10278 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 10279 | wxStyledTextCtrl_GetSelection(_arg0,_arg1,_arg2); |
8a2fa5c8 | 10280 | |
0e2ff151 RD |
10281 | wxPyEndAllowThreads(__tstate); |
10282 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
10283 | } Py_INCREF(Py_None); |
10284 | _resultobj = Py_None; | |
10285 | { | |
10286 | PyObject *o; | |
10287 | o = PyInt_FromLong((long) (*_arg1)); | |
10288 | _resultobj = t_output_helper(_resultobj, o); | |
10289 | } | |
10290 | { | |
10291 | PyObject *o; | |
10292 | o = PyInt_FromLong((long) (*_arg2)); | |
10293 | _resultobj = t_output_helper(_resultobj, o); | |
10294 | } | |
10295 | return _resultobj; | |
10296 | } | |
10297 | ||
10298 | #define wxStyledTextCtrl_PointFromPosition(_swigobj,_swigarg0) (_swigobj->PointFromPosition(_swigarg0)) | |
10299 | static PyObject *_wrap_wxStyledTextCtrl_PointFromPosition(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10300 | PyObject * _resultobj; | |
10301 | wxPoint * _result; | |
10302 | wxStyledTextCtrl * _arg0; | |
10303 | int _arg1; | |
10304 | PyObject * _argo0 = 0; | |
10305 | char *_kwnames[] = { "self","pos", NULL }; | |
10306 | char _ptemp[128]; | |
10307 | ||
10308 | self = self; | |
10309 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_PointFromPosition",_kwnames,&_argo0,&_arg1)) | |
10310 | return NULL; | |
10311 | if (_argo0) { | |
10312 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
10313 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
10314 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_PointFromPosition. Expected _wxStyledTextCtrl_p."); | |
10315 | return NULL; | |
10316 | } | |
10317 | } | |
10318 | { | |
0e2ff151 | 10319 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 10320 | _result = new wxPoint (wxStyledTextCtrl_PointFromPosition(_arg0,_arg1)); |
8a2fa5c8 | 10321 | |
0e2ff151 RD |
10322 | wxPyEndAllowThreads(__tstate); |
10323 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
10324 | } SWIG_MakePtr(_ptemp, (void *) _result,"_wxPoint_p"); |
10325 | _resultobj = Py_BuildValue("s",_ptemp); | |
10326 | return _resultobj; | |
10327 | } | |
10328 | ||
10329 | #define wxStyledTextCtrl_ScrollToLine(_swigobj,_swigarg0) (_swigobj->ScrollToLine(_swigarg0)) | |
10330 | static PyObject *_wrap_wxStyledTextCtrl_ScrollToLine(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10331 | PyObject * _resultobj; | |
10332 | wxStyledTextCtrl * _arg0; | |
10333 | int _arg1; | |
10334 | PyObject * _argo0 = 0; | |
10335 | char *_kwnames[] = { "self","line", NULL }; | |
10336 | ||
10337 | self = self; | |
10338 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_ScrollToLine",_kwnames,&_argo0,&_arg1)) | |
10339 | return NULL; | |
10340 | if (_argo0) { | |
10341 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
10342 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
10343 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_ScrollToLine. Expected _wxStyledTextCtrl_p."); | |
10344 | return NULL; | |
10345 | } | |
10346 | } | |
10347 | { | |
0e2ff151 | 10348 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 10349 | wxStyledTextCtrl_ScrollToLine(_arg0,_arg1); |
8a2fa5c8 | 10350 | |
0e2ff151 RD |
10351 | wxPyEndAllowThreads(__tstate); |
10352 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
10353 | } Py_INCREF(Py_None); |
10354 | _resultobj = Py_None; | |
10355 | return _resultobj; | |
10356 | } | |
10357 | ||
10358 | #define wxStyledTextCtrl_ScrollToColumn(_swigobj,_swigarg0) (_swigobj->ScrollToColumn(_swigarg0)) | |
10359 | static PyObject *_wrap_wxStyledTextCtrl_ScrollToColumn(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10360 | PyObject * _resultobj; | |
10361 | wxStyledTextCtrl * _arg0; | |
10362 | int _arg1; | |
10363 | PyObject * _argo0 = 0; | |
10364 | char *_kwnames[] = { "self","column", NULL }; | |
10365 | ||
10366 | self = self; | |
10367 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_ScrollToColumn",_kwnames,&_argo0,&_arg1)) | |
10368 | return NULL; | |
10369 | if (_argo0) { | |
10370 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
10371 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
10372 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_ScrollToColumn. Expected _wxStyledTextCtrl_p."); | |
10373 | return NULL; | |
10374 | } | |
10375 | } | |
10376 | { | |
0e2ff151 | 10377 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 10378 | wxStyledTextCtrl_ScrollToColumn(_arg0,_arg1); |
8a2fa5c8 | 10379 | |
0e2ff151 RD |
10380 | wxPyEndAllowThreads(__tstate); |
10381 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
10382 | } Py_INCREF(Py_None); |
10383 | _resultobj = Py_None; | |
10384 | return _resultobj; | |
10385 | } | |
10386 | ||
10387 | #define wxStyledTextCtrl_SendMsg(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SendMsg(_swigarg0,_swigarg1,_swigarg2)) | |
10388 | static PyObject *_wrap_wxStyledTextCtrl_SendMsg(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10389 | PyObject * _resultobj; | |
10390 | long _result; | |
10391 | wxStyledTextCtrl * _arg0; | |
10392 | int _arg1; | |
10393 | long _arg2 = (long ) 0; | |
10394 | long _arg3 = (long ) 0; | |
10395 | PyObject * _argo0 = 0; | |
10396 | char *_kwnames[] = { "self","msg","wp","lp", NULL }; | |
10397 | ||
10398 | self = self; | |
10399 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi|ll:wxStyledTextCtrl_SendMsg",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3)) | |
10400 | return NULL; | |
10401 | if (_argo0) { | |
10402 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
10403 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
10404 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SendMsg. Expected _wxStyledTextCtrl_p."); | |
10405 | return NULL; | |
10406 | } | |
10407 | } | |
10408 | { | |
0e2ff151 | 10409 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 10410 | _result = (long )wxStyledTextCtrl_SendMsg(_arg0,_arg1,_arg2,_arg3); |
8a2fa5c8 | 10411 | |
0e2ff151 RD |
10412 | wxPyEndAllowThreads(__tstate); |
10413 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
10414 | } _resultobj = Py_BuildValue("l",_result); |
10415 | return _resultobj; | |
10416 | } | |
10417 | ||
dbd3685c RD |
10418 | #define wxStyledTextCtrl_SetVScrollBar(_swigobj,_swigarg0) (_swigobj->SetVScrollBar(_swigarg0)) |
10419 | static PyObject *_wrap_wxStyledTextCtrl_SetVScrollBar(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10420 | PyObject * _resultobj; | |
10421 | wxStyledTextCtrl * _arg0; | |
10422 | wxScrollBar * _arg1; | |
10423 | PyObject * _argo0 = 0; | |
10424 | PyObject * _argo1 = 0; | |
10425 | char *_kwnames[] = { "self","bar", NULL }; | |
10426 | ||
10427 | self = self; | |
10428 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxStyledTextCtrl_SetVScrollBar",_kwnames,&_argo0,&_argo1)) | |
10429 | return NULL; | |
10430 | if (_argo0) { | |
10431 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
10432 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
10433 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetVScrollBar. Expected _wxStyledTextCtrl_p."); | |
10434 | return NULL; | |
10435 | } | |
10436 | } | |
10437 | if (_argo1) { | |
10438 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
10439 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxScrollBar_p")) { | |
10440 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxStyledTextCtrl_SetVScrollBar. Expected _wxScrollBar_p."); | |
10441 | return NULL; | |
10442 | } | |
10443 | } | |
10444 | { | |
0e2ff151 | 10445 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 10446 | wxStyledTextCtrl_SetVScrollBar(_arg0,_arg1); |
dbd3685c | 10447 | |
0e2ff151 RD |
10448 | wxPyEndAllowThreads(__tstate); |
10449 | if (PyErr_Occurred()) return NULL; | |
dbd3685c RD |
10450 | } Py_INCREF(Py_None); |
10451 | _resultobj = Py_None; | |
10452 | return _resultobj; | |
10453 | } | |
10454 | ||
10455 | #define wxStyledTextCtrl_SetHScrollBar(_swigobj,_swigarg0) (_swigobj->SetHScrollBar(_swigarg0)) | |
10456 | static PyObject *_wrap_wxStyledTextCtrl_SetHScrollBar(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10457 | PyObject * _resultobj; | |
10458 | wxStyledTextCtrl * _arg0; | |
10459 | wxScrollBar * _arg1; | |
10460 | PyObject * _argo0 = 0; | |
10461 | PyObject * _argo1 = 0; | |
10462 | char *_kwnames[] = { "self","bar", NULL }; | |
10463 | ||
10464 | self = self; | |
10465 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxStyledTextCtrl_SetHScrollBar",_kwnames,&_argo0,&_argo1)) | |
10466 | return NULL; | |
10467 | if (_argo0) { | |
10468 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
10469 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
10470 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetHScrollBar. Expected _wxStyledTextCtrl_p."); | |
10471 | return NULL; | |
10472 | } | |
10473 | } | |
10474 | if (_argo1) { | |
10475 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
10476 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxScrollBar_p")) { | |
10477 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxStyledTextCtrl_SetHScrollBar. Expected _wxScrollBar_p."); | |
10478 | return NULL; | |
10479 | } | |
10480 | } | |
10481 | { | |
0e2ff151 | 10482 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 10483 | wxStyledTextCtrl_SetHScrollBar(_arg0,_arg1); |
dbd3685c | 10484 | |
0e2ff151 RD |
10485 | wxPyEndAllowThreads(__tstate); |
10486 | if (PyErr_Occurred()) return NULL; | |
dbd3685c RD |
10487 | } Py_INCREF(Py_None); |
10488 | _resultobj = Py_None; | |
10489 | return _resultobj; | |
10490 | } | |
10491 | ||
40699168 RD |
10492 | #define wxStyledTextCtrl_GetLastKeydownProcessed(_swigobj) (_swigobj->GetLastKeydownProcessed()) |
10493 | static PyObject *_wrap_wxStyledTextCtrl_GetLastKeydownProcessed(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10494 | PyObject * _resultobj; | |
10495 | bool _result; | |
10496 | wxStyledTextCtrl * _arg0; | |
10497 | PyObject * _argo0 = 0; | |
10498 | char *_kwnames[] = { "self", NULL }; | |
10499 | ||
10500 | self = self; | |
10501 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetLastKeydownProcessed",_kwnames,&_argo0)) | |
10502 | return NULL; | |
10503 | if (_argo0) { | |
10504 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
10505 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
10506 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetLastKeydownProcessed. Expected _wxStyledTextCtrl_p."); | |
10507 | return NULL; | |
10508 | } | |
10509 | } | |
10510 | { | |
10511 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10512 | _result = (bool )wxStyledTextCtrl_GetLastKeydownProcessed(_arg0); | |
10513 | ||
10514 | wxPyEndAllowThreads(__tstate); | |
10515 | if (PyErr_Occurred()) return NULL; | |
10516 | } _resultobj = Py_BuildValue("i",_result); | |
10517 | return _resultobj; | |
10518 | } | |
10519 | ||
10520 | #define wxStyledTextCtrl_SetLastKeydownProcessed(_swigobj,_swigarg0) (_swigobj->SetLastKeydownProcessed(_swigarg0)) | |
10521 | static PyObject *_wrap_wxStyledTextCtrl_SetLastKeydownProcessed(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10522 | PyObject * _resultobj; | |
10523 | wxStyledTextCtrl * _arg0; | |
10524 | bool _arg1; | |
10525 | PyObject * _argo0 = 0; | |
10526 | int tempbool1; | |
10527 | char *_kwnames[] = { "self","val", NULL }; | |
10528 | ||
10529 | self = self; | |
10530 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_SetLastKeydownProcessed",_kwnames,&_argo0,&tempbool1)) | |
10531 | return NULL; | |
10532 | if (_argo0) { | |
10533 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
10534 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
10535 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetLastKeydownProcessed. Expected _wxStyledTextCtrl_p."); | |
10536 | return NULL; | |
10537 | } | |
10538 | } | |
10539 | _arg1 = (bool ) tempbool1; | |
10540 | { | |
10541 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10542 | wxStyledTextCtrl_SetLastKeydownProcessed(_arg0,_arg1); | |
10543 | ||
10544 | wxPyEndAllowThreads(__tstate); | |
10545 | if (PyErr_Occurred()) return NULL; | |
10546 | } Py_INCREF(Py_None); | |
10547 | _resultobj = Py_None; | |
10548 | return _resultobj; | |
10549 | } | |
10550 | ||
1fded56b RD |
10551 | #define wxStyledTextCtrl_SaveFile(_swigobj,_swigarg0) (_swigobj->SaveFile(_swigarg0)) |
10552 | static PyObject *_wrap_wxStyledTextCtrl_SaveFile(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10553 | PyObject * _resultobj; | |
10554 | bool _result; | |
10555 | wxStyledTextCtrl * _arg0; | |
10556 | wxString * _arg1; | |
10557 | PyObject * _argo0 = 0; | |
10558 | PyObject * _obj1 = 0; | |
10559 | char *_kwnames[] = { "self","filename", NULL }; | |
10560 | ||
10561 | self = self; | |
10562 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxStyledTextCtrl_SaveFile",_kwnames,&_argo0,&_obj1)) | |
10563 | return NULL; | |
10564 | if (_argo0) { | |
10565 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
10566 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
10567 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SaveFile. Expected _wxStyledTextCtrl_p."); | |
10568 | return NULL; | |
10569 | } | |
10570 | } | |
10571 | { | |
10572 | _arg1 = wxString_in_helper(_obj1); | |
10573 | if (_arg1 == NULL) | |
10574 | return NULL; | |
10575 | } | |
10576 | { | |
10577 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10578 | _result = (bool )wxStyledTextCtrl_SaveFile(_arg0,*_arg1); | |
10579 | ||
10580 | wxPyEndAllowThreads(__tstate); | |
10581 | if (PyErr_Occurred()) return NULL; | |
10582 | } _resultobj = Py_BuildValue("i",_result); | |
10583 | { | |
10584 | if (_obj1) | |
10585 | delete _arg1; | |
10586 | } | |
10587 | return _resultobj; | |
10588 | } | |
10589 | ||
10590 | #define wxStyledTextCtrl_LoadFile(_swigobj,_swigarg0) (_swigobj->LoadFile(_swigarg0)) | |
10591 | static PyObject *_wrap_wxStyledTextCtrl_LoadFile(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10592 | PyObject * _resultobj; | |
10593 | bool _result; | |
10594 | wxStyledTextCtrl * _arg0; | |
10595 | wxString * _arg1; | |
10596 | PyObject * _argo0 = 0; | |
10597 | PyObject * _obj1 = 0; | |
10598 | char *_kwnames[] = { "self","filename", NULL }; | |
10599 | ||
10600 | self = self; | |
10601 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxStyledTextCtrl_LoadFile",_kwnames,&_argo0,&_obj1)) | |
10602 | return NULL; | |
10603 | if (_argo0) { | |
10604 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
10605 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
10606 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_LoadFile. Expected _wxStyledTextCtrl_p."); | |
10607 | return NULL; | |
10608 | } | |
10609 | } | |
10610 | { | |
10611 | _arg1 = wxString_in_helper(_obj1); | |
10612 | if (_arg1 == NULL) | |
10613 | return NULL; | |
10614 | } | |
10615 | { | |
10616 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10617 | _result = (bool )wxStyledTextCtrl_LoadFile(_arg0,*_arg1); | |
10618 | ||
10619 | wxPyEndAllowThreads(__tstate); | |
10620 | if (PyErr_Occurred()) return NULL; | |
10621 | } _resultobj = Py_BuildValue("i",_result); | |
10622 | { | |
10623 | if (_obj1) | |
10624 | delete _arg1; | |
10625 | } | |
10626 | return _resultobj; | |
10627 | } | |
10628 | ||
854e7dc3 RD |
10629 | #define wxStyledTextCtrl_DoDragOver(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->DoDragOver(_swigarg0,_swigarg1,_swigarg2)) |
10630 | static PyObject *_wrap_wxStyledTextCtrl_DoDragOver(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10631 | PyObject * _resultobj; | |
10632 | wxDragResult _result; | |
10633 | wxStyledTextCtrl * _arg0; | |
10634 | wxCoord _arg1; | |
10635 | wxCoord _arg2; | |
10636 | wxDragResult _arg3; | |
10637 | PyObject * _argo0 = 0; | |
10638 | char *_kwnames[] = { "self","x","y","def", NULL }; | |
10639 | ||
10640 | self = self; | |
10641 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oiii:wxStyledTextCtrl_DoDragOver",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3)) | |
10642 | return NULL; | |
10643 | if (_argo0) { | |
10644 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
10645 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
10646 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_DoDragOver. Expected _wxStyledTextCtrl_p."); | |
10647 | return NULL; | |
10648 | } | |
10649 | } | |
10650 | { | |
10651 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10652 | _result = (wxDragResult )wxStyledTextCtrl_DoDragOver(_arg0,_arg1,_arg2,_arg3); | |
10653 | ||
10654 | wxPyEndAllowThreads(__tstate); | |
10655 | if (PyErr_Occurred()) return NULL; | |
10656 | } _resultobj = Py_BuildValue("i",_result); | |
10657 | return _resultobj; | |
10658 | } | |
10659 | ||
10660 | #define wxStyledTextCtrl_DoDropText(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->DoDropText(_swigarg0,_swigarg1,_swigarg2)) | |
10661 | static PyObject *_wrap_wxStyledTextCtrl_DoDropText(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10662 | PyObject * _resultobj; | |
10663 | bool _result; | |
10664 | wxStyledTextCtrl * _arg0; | |
10665 | long _arg1; | |
10666 | long _arg2; | |
10667 | wxString * _arg3; | |
10668 | PyObject * _argo0 = 0; | |
10669 | PyObject * _obj3 = 0; | |
10670 | char *_kwnames[] = { "self","x","y","data", NULL }; | |
10671 | ||
10672 | self = self; | |
10673 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OllO:wxStyledTextCtrl_DoDropText",_kwnames,&_argo0,&_arg1,&_arg2,&_obj3)) | |
10674 | return NULL; | |
10675 | if (_argo0) { | |
10676 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
10677 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
10678 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_DoDropText. Expected _wxStyledTextCtrl_p."); | |
10679 | return NULL; | |
10680 | } | |
10681 | } | |
10682 | { | |
10683 | _arg3 = wxString_in_helper(_obj3); | |
10684 | if (_arg3 == NULL) | |
10685 | return NULL; | |
10686 | } | |
10687 | { | |
10688 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10689 | _result = (bool )wxStyledTextCtrl_DoDropText(_arg0,_arg1,_arg2,*_arg3); | |
10690 | ||
10691 | wxPyEndAllowThreads(__tstate); | |
10692 | if (PyErr_Occurred()) return NULL; | |
10693 | } _resultobj = Py_BuildValue("i",_result); | |
10694 | { | |
10695 | if (_obj3) | |
10696 | delete _arg3; | |
10697 | } | |
10698 | return _resultobj; | |
10699 | } | |
10700 | ||
8a2fa5c8 RD |
10701 | static void *SwigwxStyledTextEventTowxCommandEvent(void *ptr) { |
10702 | wxStyledTextEvent *src; | |
10703 | wxCommandEvent *dest; | |
10704 | src = (wxStyledTextEvent *) ptr; | |
10705 | dest = (wxCommandEvent *) src; | |
10706 | return (void *) dest; | |
10707 | } | |
10708 | ||
10709 | static void *SwigwxStyledTextEventTowxEvent(void *ptr) { | |
10710 | wxStyledTextEvent *src; | |
10711 | wxEvent *dest; | |
10712 | src = (wxStyledTextEvent *) ptr; | |
10713 | dest = (wxEvent *) src; | |
10714 | return (void *) dest; | |
10715 | } | |
10716 | ||
10717 | static void *SwigwxStyledTextEventTowxObject(void *ptr) { | |
10718 | wxStyledTextEvent *src; | |
10719 | wxObject *dest; | |
10720 | src = (wxStyledTextEvent *) ptr; | |
10721 | dest = (wxObject *) src; | |
10722 | return (void *) dest; | |
10723 | } | |
10724 | ||
10725 | #define new_wxStyledTextEvent(_swigarg0,_swigarg1) (new wxStyledTextEvent(_swigarg0,_swigarg1)) | |
10726 | static PyObject *_wrap_new_wxStyledTextEvent(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10727 | PyObject * _resultobj; | |
10728 | wxStyledTextEvent * _result; | |
10729 | wxEventType _arg0 = (wxEventType ) 0; | |
10730 | int _arg1 = (int ) 0; | |
10731 | char *_kwnames[] = { "commandType","id", NULL }; | |
10732 | char _ptemp[128]; | |
10733 | ||
10734 | self = self; | |
10735 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"|ii:new_wxStyledTextEvent",_kwnames,&_arg0,&_arg1)) | |
10736 | return NULL; | |
10737 | { | |
0e2ff151 | 10738 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 10739 | _result = (wxStyledTextEvent *)new_wxStyledTextEvent(_arg0,_arg1); |
8a2fa5c8 | 10740 | |
0e2ff151 RD |
10741 | wxPyEndAllowThreads(__tstate); |
10742 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
10743 | } if (_result) { |
10744 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxStyledTextEvent_p"); | |
10745 | _resultobj = Py_BuildValue("s",_ptemp); | |
10746 | } else { | |
10747 | Py_INCREF(Py_None); | |
10748 | _resultobj = Py_None; | |
10749 | } | |
10750 | return _resultobj; | |
10751 | } | |
10752 | ||
10753 | #define delete_wxStyledTextEvent(_swigobj) (delete _swigobj) | |
10754 | static PyObject *_wrap_delete_wxStyledTextEvent(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10755 | PyObject * _resultobj; | |
10756 | wxStyledTextEvent * _arg0; | |
10757 | PyObject * _argo0 = 0; | |
10758 | char *_kwnames[] = { "self", NULL }; | |
10759 | ||
10760 | self = self; | |
10761 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:delete_wxStyledTextEvent",_kwnames,&_argo0)) | |
10762 | return NULL; | |
10763 | if (_argo0) { | |
10764 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
10765 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextEvent_p")) { | |
10766 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of delete_wxStyledTextEvent. Expected _wxStyledTextEvent_p."); | |
10767 | return NULL; | |
10768 | } | |
10769 | } | |
10770 | { | |
0e2ff151 | 10771 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 10772 | delete_wxStyledTextEvent(_arg0); |
8a2fa5c8 | 10773 | |
0e2ff151 RD |
10774 | wxPyEndAllowThreads(__tstate); |
10775 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
10776 | } Py_INCREF(Py_None); |
10777 | _resultobj = Py_None; | |
10778 | return _resultobj; | |
10779 | } | |
10780 | ||
10781 | #define wxStyledTextEvent_SetPosition(_swigobj,_swigarg0) (_swigobj->SetPosition(_swigarg0)) | |
10782 | static PyObject *_wrap_wxStyledTextEvent_SetPosition(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10783 | PyObject * _resultobj; | |
10784 | wxStyledTextEvent * _arg0; | |
10785 | int _arg1; | |
10786 | PyObject * _argo0 = 0; | |
10787 | char *_kwnames[] = { "self","pos", NULL }; | |
10788 | ||
10789 | self = self; | |
10790 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextEvent_SetPosition",_kwnames,&_argo0,&_arg1)) | |
10791 | return NULL; | |
10792 | if (_argo0) { | |
10793 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
10794 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextEvent_p")) { | |
10795 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextEvent_SetPosition. Expected _wxStyledTextEvent_p."); | |
10796 | return NULL; | |
10797 | } | |
10798 | } | |
10799 | { | |
0e2ff151 | 10800 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 10801 | wxStyledTextEvent_SetPosition(_arg0,_arg1); |
8a2fa5c8 | 10802 | |
0e2ff151 RD |
10803 | wxPyEndAllowThreads(__tstate); |
10804 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
10805 | } Py_INCREF(Py_None); |
10806 | _resultobj = Py_None; | |
10807 | return _resultobj; | |
10808 | } | |
10809 | ||
10810 | #define wxStyledTextEvent_SetKey(_swigobj,_swigarg0) (_swigobj->SetKey(_swigarg0)) | |
10811 | static PyObject *_wrap_wxStyledTextEvent_SetKey(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10812 | PyObject * _resultobj; | |
10813 | wxStyledTextEvent * _arg0; | |
10814 | int _arg1; | |
10815 | PyObject * _argo0 = 0; | |
10816 | char *_kwnames[] = { "self","k", NULL }; | |
10817 | ||
10818 | self = self; | |
10819 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextEvent_SetKey",_kwnames,&_argo0,&_arg1)) | |
10820 | return NULL; | |
10821 | if (_argo0) { | |
10822 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
10823 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextEvent_p")) { | |
10824 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextEvent_SetKey. Expected _wxStyledTextEvent_p."); | |
10825 | return NULL; | |
10826 | } | |
10827 | } | |
10828 | { | |
0e2ff151 | 10829 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 10830 | wxStyledTextEvent_SetKey(_arg0,_arg1); |
8a2fa5c8 | 10831 | |
0e2ff151 RD |
10832 | wxPyEndAllowThreads(__tstate); |
10833 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
10834 | } Py_INCREF(Py_None); |
10835 | _resultobj = Py_None; | |
10836 | return _resultobj; | |
10837 | } | |
10838 | ||
10839 | #define wxStyledTextEvent_SetModifiers(_swigobj,_swigarg0) (_swigobj->SetModifiers(_swigarg0)) | |
10840 | static PyObject *_wrap_wxStyledTextEvent_SetModifiers(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10841 | PyObject * _resultobj; | |
10842 | wxStyledTextEvent * _arg0; | |
10843 | int _arg1; | |
10844 | PyObject * _argo0 = 0; | |
10845 | char *_kwnames[] = { "self","m", NULL }; | |
10846 | ||
10847 | self = self; | |
10848 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextEvent_SetModifiers",_kwnames,&_argo0,&_arg1)) | |
10849 | return NULL; | |
10850 | if (_argo0) { | |
10851 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
10852 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextEvent_p")) { | |
10853 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextEvent_SetModifiers. Expected _wxStyledTextEvent_p."); | |
10854 | return NULL; | |
10855 | } | |
10856 | } | |
10857 | { | |
0e2ff151 | 10858 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 10859 | wxStyledTextEvent_SetModifiers(_arg0,_arg1); |
8a2fa5c8 | 10860 | |
0e2ff151 RD |
10861 | wxPyEndAllowThreads(__tstate); |
10862 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
10863 | } Py_INCREF(Py_None); |
10864 | _resultobj = Py_None; | |
10865 | return _resultobj; | |
10866 | } | |
10867 | ||
10868 | #define wxStyledTextEvent_SetModificationType(_swigobj,_swigarg0) (_swigobj->SetModificationType(_swigarg0)) | |
10869 | static PyObject *_wrap_wxStyledTextEvent_SetModificationType(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10870 | PyObject * _resultobj; | |
10871 | wxStyledTextEvent * _arg0; | |
10872 | int _arg1; | |
10873 | PyObject * _argo0 = 0; | |
10874 | char *_kwnames[] = { "self","t", NULL }; | |
10875 | ||
10876 | self = self; | |
10877 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextEvent_SetModificationType",_kwnames,&_argo0,&_arg1)) | |
10878 | return NULL; | |
10879 | if (_argo0) { | |
10880 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
10881 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextEvent_p")) { | |
10882 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextEvent_SetModificationType. Expected _wxStyledTextEvent_p."); | |
10883 | return NULL; | |
10884 | } | |
10885 | } | |
10886 | { | |
0e2ff151 | 10887 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 10888 | wxStyledTextEvent_SetModificationType(_arg0,_arg1); |
8a2fa5c8 | 10889 | |
0e2ff151 RD |
10890 | wxPyEndAllowThreads(__tstate); |
10891 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
10892 | } Py_INCREF(Py_None); |
10893 | _resultobj = Py_None; | |
10894 | return _resultobj; | |
10895 | } | |
10896 | ||
10897 | #define wxStyledTextEvent_SetText(_swigobj,_swigarg0) (_swigobj->SetText(_swigarg0)) | |
10898 | static PyObject *_wrap_wxStyledTextEvent_SetText(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10899 | PyObject * _resultobj; | |
10900 | wxStyledTextEvent * _arg0; | |
c3bfa1cb | 10901 | wxString * _arg1; |
8a2fa5c8 | 10902 | PyObject * _argo0 = 0; |
c3bfa1cb | 10903 | PyObject * _obj1 = 0; |
8a2fa5c8 RD |
10904 | char *_kwnames[] = { "self","t", NULL }; |
10905 | ||
10906 | self = self; | |
c3bfa1cb | 10907 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxStyledTextEvent_SetText",_kwnames,&_argo0,&_obj1)) |
8a2fa5c8 RD |
10908 | return NULL; |
10909 | if (_argo0) { | |
10910 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
10911 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextEvent_p")) { | |
10912 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextEvent_SetText. Expected _wxStyledTextEvent_p."); | |
10913 | return NULL; | |
10914 | } | |
10915 | } | |
c3bfa1cb RD |
10916 | { |
10917 | _arg1 = wxString_in_helper(_obj1); | |
10918 | if (_arg1 == NULL) | |
10919 | return NULL; | |
10920 | } | |
8a2fa5c8 | 10921 | { |
0e2ff151 | 10922 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c3bfa1cb | 10923 | wxStyledTextEvent_SetText(_arg0,*_arg1); |
8a2fa5c8 | 10924 | |
0e2ff151 RD |
10925 | wxPyEndAllowThreads(__tstate); |
10926 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
10927 | } Py_INCREF(Py_None); |
10928 | _resultobj = Py_None; | |
c3bfa1cb RD |
10929 | { |
10930 | if (_obj1) | |
10931 | delete _arg1; | |
10932 | } | |
8a2fa5c8 RD |
10933 | return _resultobj; |
10934 | } | |
10935 | ||
10936 | #define wxStyledTextEvent_SetLength(_swigobj,_swigarg0) (_swigobj->SetLength(_swigarg0)) | |
10937 | static PyObject *_wrap_wxStyledTextEvent_SetLength(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10938 | PyObject * _resultobj; | |
10939 | wxStyledTextEvent * _arg0; | |
10940 | int _arg1; | |
10941 | PyObject * _argo0 = 0; | |
10942 | char *_kwnames[] = { "self","len", NULL }; | |
10943 | ||
10944 | self = self; | |
10945 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextEvent_SetLength",_kwnames,&_argo0,&_arg1)) | |
10946 | return NULL; | |
10947 | if (_argo0) { | |
10948 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
10949 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextEvent_p")) { | |
10950 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextEvent_SetLength. Expected _wxStyledTextEvent_p."); | |
10951 | return NULL; | |
10952 | } | |
10953 | } | |
10954 | { | |
0e2ff151 | 10955 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 10956 | wxStyledTextEvent_SetLength(_arg0,_arg1); |
8a2fa5c8 | 10957 | |
0e2ff151 RD |
10958 | wxPyEndAllowThreads(__tstate); |
10959 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
10960 | } Py_INCREF(Py_None); |
10961 | _resultobj = Py_None; | |
10962 | return _resultobj; | |
10963 | } | |
10964 | ||
10965 | #define wxStyledTextEvent_SetLinesAdded(_swigobj,_swigarg0) (_swigobj->SetLinesAdded(_swigarg0)) | |
10966 | static PyObject *_wrap_wxStyledTextEvent_SetLinesAdded(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10967 | PyObject * _resultobj; | |
10968 | wxStyledTextEvent * _arg0; | |
10969 | int _arg1; | |
10970 | PyObject * _argo0 = 0; | |
10971 | char *_kwnames[] = { "self","num", NULL }; | |
10972 | ||
10973 | self = self; | |
10974 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextEvent_SetLinesAdded",_kwnames,&_argo0,&_arg1)) | |
10975 | return NULL; | |
10976 | if (_argo0) { | |
10977 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
10978 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextEvent_p")) { | |
10979 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextEvent_SetLinesAdded. Expected _wxStyledTextEvent_p."); | |
10980 | return NULL; | |
10981 | } | |
10982 | } | |
10983 | { | |
0e2ff151 | 10984 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 10985 | wxStyledTextEvent_SetLinesAdded(_arg0,_arg1); |
8a2fa5c8 | 10986 | |
0e2ff151 RD |
10987 | wxPyEndAllowThreads(__tstate); |
10988 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
10989 | } Py_INCREF(Py_None); |
10990 | _resultobj = Py_None; | |
10991 | return _resultobj; | |
10992 | } | |
10993 | ||
10994 | #define wxStyledTextEvent_SetLine(_swigobj,_swigarg0) (_swigobj->SetLine(_swigarg0)) | |
10995 | static PyObject *_wrap_wxStyledTextEvent_SetLine(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10996 | PyObject * _resultobj; | |
10997 | wxStyledTextEvent * _arg0; | |
10998 | int _arg1; | |
10999 | PyObject * _argo0 = 0; | |
11000 | char *_kwnames[] = { "self","val", NULL }; | |
11001 | ||
11002 | self = self; | |
11003 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextEvent_SetLine",_kwnames,&_argo0,&_arg1)) | |
11004 | return NULL; | |
11005 | if (_argo0) { | |
11006 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
11007 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextEvent_p")) { | |
11008 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextEvent_SetLine. Expected _wxStyledTextEvent_p."); | |
11009 | return NULL; | |
11010 | } | |
11011 | } | |
11012 | { | |
0e2ff151 | 11013 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 11014 | wxStyledTextEvent_SetLine(_arg0,_arg1); |
8a2fa5c8 | 11015 | |
0e2ff151 RD |
11016 | wxPyEndAllowThreads(__tstate); |
11017 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
11018 | } Py_INCREF(Py_None); |
11019 | _resultobj = Py_None; | |
11020 | return _resultobj; | |
11021 | } | |
11022 | ||
11023 | #define wxStyledTextEvent_SetFoldLevelNow(_swigobj,_swigarg0) (_swigobj->SetFoldLevelNow(_swigarg0)) | |
11024 | static PyObject *_wrap_wxStyledTextEvent_SetFoldLevelNow(PyObject *self, PyObject *args, PyObject *kwargs) { | |
11025 | PyObject * _resultobj; | |
11026 | wxStyledTextEvent * _arg0; | |
11027 | int _arg1; | |
11028 | PyObject * _argo0 = 0; | |
11029 | char *_kwnames[] = { "self","val", NULL }; | |
11030 | ||
11031 | self = self; | |
11032 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextEvent_SetFoldLevelNow",_kwnames,&_argo0,&_arg1)) | |
11033 | return NULL; | |
11034 | if (_argo0) { | |
11035 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
11036 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextEvent_p")) { | |
11037 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextEvent_SetFoldLevelNow. Expected _wxStyledTextEvent_p."); | |
11038 | return NULL; | |
11039 | } | |
11040 | } | |
11041 | { | |
0e2ff151 | 11042 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 11043 | wxStyledTextEvent_SetFoldLevelNow(_arg0,_arg1); |
8a2fa5c8 | 11044 | |
0e2ff151 RD |
11045 | wxPyEndAllowThreads(__tstate); |
11046 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
11047 | } Py_INCREF(Py_None); |
11048 | _resultobj = Py_None; | |
11049 | return _resultobj; | |
11050 | } | |
11051 | ||
11052 | #define wxStyledTextEvent_SetFoldLevelPrev(_swigobj,_swigarg0) (_swigobj->SetFoldLevelPrev(_swigarg0)) | |
11053 | static PyObject *_wrap_wxStyledTextEvent_SetFoldLevelPrev(PyObject *self, PyObject *args, PyObject *kwargs) { | |
11054 | PyObject * _resultobj; | |
11055 | wxStyledTextEvent * _arg0; | |
11056 | int _arg1; | |
11057 | PyObject * _argo0 = 0; | |
11058 | char *_kwnames[] = { "self","val", NULL }; | |
11059 | ||
11060 | self = self; | |
11061 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextEvent_SetFoldLevelPrev",_kwnames,&_argo0,&_arg1)) | |
11062 | return NULL; | |
11063 | if (_argo0) { | |
11064 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
11065 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextEvent_p")) { | |
11066 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextEvent_SetFoldLevelPrev. Expected _wxStyledTextEvent_p."); | |
11067 | return NULL; | |
11068 | } | |
11069 | } | |
11070 | { | |
0e2ff151 | 11071 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 11072 | wxStyledTextEvent_SetFoldLevelPrev(_arg0,_arg1); |
8a2fa5c8 | 11073 | |
0e2ff151 RD |
11074 | wxPyEndAllowThreads(__tstate); |
11075 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
11076 | } Py_INCREF(Py_None); |
11077 | _resultobj = Py_None; | |
11078 | return _resultobj; | |
11079 | } | |
11080 | ||
11081 | #define wxStyledTextEvent_SetMargin(_swigobj,_swigarg0) (_swigobj->SetMargin(_swigarg0)) | |
11082 | static PyObject *_wrap_wxStyledTextEvent_SetMargin(PyObject *self, PyObject *args, PyObject *kwargs) { | |
11083 | PyObject * _resultobj; | |
11084 | wxStyledTextEvent * _arg0; | |
11085 | int _arg1; | |
11086 | PyObject * _argo0 = 0; | |
11087 | char *_kwnames[] = { "self","val", NULL }; | |
11088 | ||
11089 | self = self; | |
11090 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextEvent_SetMargin",_kwnames,&_argo0,&_arg1)) | |
11091 | return NULL; | |
11092 | if (_argo0) { | |
11093 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
11094 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextEvent_p")) { | |
11095 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextEvent_SetMargin. Expected _wxStyledTextEvent_p."); | |
11096 | return NULL; | |
11097 | } | |
11098 | } | |
11099 | { | |
0e2ff151 | 11100 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 11101 | wxStyledTextEvent_SetMargin(_arg0,_arg1); |
8a2fa5c8 | 11102 | |
0e2ff151 RD |
11103 | wxPyEndAllowThreads(__tstate); |
11104 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
11105 | } Py_INCREF(Py_None); |
11106 | _resultobj = Py_None; | |
11107 | return _resultobj; | |
11108 | } | |
11109 | ||
11110 | #define wxStyledTextEvent_SetMessage(_swigobj,_swigarg0) (_swigobj->SetMessage(_swigarg0)) | |
11111 | static PyObject *_wrap_wxStyledTextEvent_SetMessage(PyObject *self, PyObject *args, PyObject *kwargs) { | |
11112 | PyObject * _resultobj; | |
11113 | wxStyledTextEvent * _arg0; | |
11114 | int _arg1; | |
11115 | PyObject * _argo0 = 0; | |
11116 | char *_kwnames[] = { "self","val", NULL }; | |
11117 | ||
11118 | self = self; | |
11119 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextEvent_SetMessage",_kwnames,&_argo0,&_arg1)) | |
11120 | return NULL; | |
11121 | if (_argo0) { | |
11122 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
11123 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextEvent_p")) { | |
11124 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextEvent_SetMessage. Expected _wxStyledTextEvent_p."); | |
11125 | return NULL; | |
11126 | } | |
11127 | } | |
11128 | { | |
0e2ff151 | 11129 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 11130 | wxStyledTextEvent_SetMessage(_arg0,_arg1); |
8a2fa5c8 | 11131 | |
0e2ff151 RD |
11132 | wxPyEndAllowThreads(__tstate); |
11133 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
11134 | } Py_INCREF(Py_None); |
11135 | _resultobj = Py_None; | |
11136 | return _resultobj; | |
11137 | } | |
11138 | ||
11139 | #define wxStyledTextEvent_SetWParam(_swigobj,_swigarg0) (_swigobj->SetWParam(_swigarg0)) | |
11140 | static PyObject *_wrap_wxStyledTextEvent_SetWParam(PyObject *self, PyObject *args, PyObject *kwargs) { | |
11141 | PyObject * _resultobj; | |
11142 | wxStyledTextEvent * _arg0; | |
11143 | int _arg1; | |
11144 | PyObject * _argo0 = 0; | |
11145 | char *_kwnames[] = { "self","val", NULL }; | |
11146 | ||
11147 | self = self; | |
11148 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextEvent_SetWParam",_kwnames,&_argo0,&_arg1)) | |
11149 | return NULL; | |
11150 | if (_argo0) { | |
11151 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
11152 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextEvent_p")) { | |
11153 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextEvent_SetWParam. Expected _wxStyledTextEvent_p."); | |
11154 | return NULL; | |
11155 | } | |
11156 | } | |
11157 | { | |
0e2ff151 | 11158 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 11159 | wxStyledTextEvent_SetWParam(_arg0,_arg1); |
8a2fa5c8 | 11160 | |
0e2ff151 RD |
11161 | wxPyEndAllowThreads(__tstate); |
11162 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
11163 | } Py_INCREF(Py_None); |
11164 | _resultobj = Py_None; | |
11165 | return _resultobj; | |
11166 | } | |
11167 | ||
11168 | #define wxStyledTextEvent_SetLParam(_swigobj,_swigarg0) (_swigobj->SetLParam(_swigarg0)) | |
11169 | static PyObject *_wrap_wxStyledTextEvent_SetLParam(PyObject *self, PyObject *args, PyObject *kwargs) { | |
11170 | PyObject * _resultobj; | |
11171 | wxStyledTextEvent * _arg0; | |
11172 | int _arg1; | |
11173 | PyObject * _argo0 = 0; | |
11174 | char *_kwnames[] = { "self","val", NULL }; | |
11175 | ||
11176 | self = self; | |
11177 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextEvent_SetLParam",_kwnames,&_argo0,&_arg1)) | |
11178 | return NULL; | |
11179 | if (_argo0) { | |
11180 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
11181 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextEvent_p")) { | |
11182 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextEvent_SetLParam. Expected _wxStyledTextEvent_p."); | |
11183 | return NULL; | |
11184 | } | |
11185 | } | |
11186 | { | |
0e2ff151 | 11187 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 11188 | wxStyledTextEvent_SetLParam(_arg0,_arg1); |
8a2fa5c8 | 11189 | |
0e2ff151 RD |
11190 | wxPyEndAllowThreads(__tstate); |
11191 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
11192 | } Py_INCREF(Py_None); |
11193 | _resultobj = Py_None; | |
11194 | return _resultobj; | |
11195 | } | |
11196 | ||
11197 | #define wxStyledTextEvent_SetListType(_swigobj,_swigarg0) (_swigobj->SetListType(_swigarg0)) | |
11198 | static PyObject *_wrap_wxStyledTextEvent_SetListType(PyObject *self, PyObject *args, PyObject *kwargs) { | |
11199 | PyObject * _resultobj; | |
11200 | wxStyledTextEvent * _arg0; | |
11201 | int _arg1; | |
11202 | PyObject * _argo0 = 0; | |
11203 | char *_kwnames[] = { "self","val", NULL }; | |
11204 | ||
11205 | self = self; | |
11206 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextEvent_SetListType",_kwnames,&_argo0,&_arg1)) | |
11207 | return NULL; | |
11208 | if (_argo0) { | |
11209 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
11210 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextEvent_p")) { | |
11211 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextEvent_SetListType. Expected _wxStyledTextEvent_p."); | |
11212 | return NULL; | |
11213 | } | |
11214 | } | |
11215 | { | |
0e2ff151 | 11216 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 11217 | wxStyledTextEvent_SetListType(_arg0,_arg1); |
8a2fa5c8 | 11218 | |
0e2ff151 RD |
11219 | wxPyEndAllowThreads(__tstate); |
11220 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
11221 | } Py_INCREF(Py_None); |
11222 | _resultobj = Py_None; | |
11223 | return _resultobj; | |
11224 | } | |
11225 | ||
11226 | #define wxStyledTextEvent_SetX(_swigobj,_swigarg0) (_swigobj->SetX(_swigarg0)) | |
11227 | static PyObject *_wrap_wxStyledTextEvent_SetX(PyObject *self, PyObject *args, PyObject *kwargs) { | |
11228 | PyObject * _resultobj; | |
11229 | wxStyledTextEvent * _arg0; | |
11230 | int _arg1; | |
11231 | PyObject * _argo0 = 0; | |
11232 | char *_kwnames[] = { "self","val", NULL }; | |
11233 | ||
11234 | self = self; | |
11235 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextEvent_SetX",_kwnames,&_argo0,&_arg1)) | |
11236 | return NULL; | |
11237 | if (_argo0) { | |
11238 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
11239 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextEvent_p")) { | |
11240 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextEvent_SetX. Expected _wxStyledTextEvent_p."); | |
11241 | return NULL; | |
11242 | } | |
11243 | } | |
11244 | { | |
0e2ff151 | 11245 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 11246 | wxStyledTextEvent_SetX(_arg0,_arg1); |
8a2fa5c8 | 11247 | |
0e2ff151 RD |
11248 | wxPyEndAllowThreads(__tstate); |
11249 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
11250 | } Py_INCREF(Py_None); |
11251 | _resultobj = Py_None; | |
11252 | return _resultobj; | |
11253 | } | |
11254 | ||
11255 | #define wxStyledTextEvent_SetY(_swigobj,_swigarg0) (_swigobj->SetY(_swigarg0)) | |
11256 | static PyObject *_wrap_wxStyledTextEvent_SetY(PyObject *self, PyObject *args, PyObject *kwargs) { | |
11257 | PyObject * _resultobj; | |
11258 | wxStyledTextEvent * _arg0; | |
11259 | int _arg1; | |
11260 | PyObject * _argo0 = 0; | |
11261 | char *_kwnames[] = { "self","val", NULL }; | |
11262 | ||
11263 | self = self; | |
11264 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextEvent_SetY",_kwnames,&_argo0,&_arg1)) | |
11265 | return NULL; | |
11266 | if (_argo0) { | |
11267 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
11268 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextEvent_p")) { | |
11269 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextEvent_SetY. Expected _wxStyledTextEvent_p."); | |
11270 | return NULL; | |
11271 | } | |
11272 | } | |
11273 | { | |
0e2ff151 | 11274 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 11275 | wxStyledTextEvent_SetY(_arg0,_arg1); |
8a2fa5c8 | 11276 | |
0e2ff151 RD |
11277 | wxPyEndAllowThreads(__tstate); |
11278 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
11279 | } Py_INCREF(Py_None); |
11280 | _resultobj = Py_None; | |
11281 | return _resultobj; | |
11282 | } | |
11283 | ||
6abe8375 RD |
11284 | #define wxStyledTextEvent_SetDragText(_swigobj,_swigarg0) (_swigobj->SetDragText(_swigarg0)) |
11285 | static PyObject *_wrap_wxStyledTextEvent_SetDragText(PyObject *self, PyObject *args, PyObject *kwargs) { | |
11286 | PyObject * _resultobj; | |
11287 | wxStyledTextEvent * _arg0; | |
11288 | wxString * _arg1; | |
11289 | PyObject * _argo0 = 0; | |
11290 | PyObject * _obj1 = 0; | |
11291 | char *_kwnames[] = { "self","val", NULL }; | |
11292 | ||
11293 | self = self; | |
11294 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxStyledTextEvent_SetDragText",_kwnames,&_argo0,&_obj1)) | |
11295 | return NULL; | |
11296 | if (_argo0) { | |
11297 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
11298 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextEvent_p")) { | |
11299 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextEvent_SetDragText. Expected _wxStyledTextEvent_p."); | |
11300 | return NULL; | |
11301 | } | |
11302 | } | |
11303 | { | |
6824d4f9 RD |
11304 | _arg1 = wxString_in_helper(_obj1); |
11305 | if (_arg1 == NULL) | |
6abe8375 | 11306 | return NULL; |
6abe8375 RD |
11307 | } |
11308 | { | |
11309 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6824d4f9 | 11310 | wxStyledTextEvent_SetDragText(_arg0,*_arg1); |
6abe8375 RD |
11311 | |
11312 | wxPyEndAllowThreads(__tstate); | |
11313 | if (PyErr_Occurred()) return NULL; | |
11314 | } Py_INCREF(Py_None); | |
11315 | _resultobj = Py_None; | |
11316 | { | |
11317 | if (_obj1) | |
11318 | delete _arg1; | |
11319 | } | |
11320 | return _resultobj; | |
11321 | } | |
11322 | ||
11323 | #define wxStyledTextEvent_SetDragAllowMove(_swigobj,_swigarg0) (_swigobj->SetDragAllowMove(_swigarg0)) | |
11324 | static PyObject *_wrap_wxStyledTextEvent_SetDragAllowMove(PyObject *self, PyObject *args, PyObject *kwargs) { | |
11325 | PyObject * _resultobj; | |
11326 | wxStyledTextEvent * _arg0; | |
11327 | bool _arg1; | |
11328 | PyObject * _argo0 = 0; | |
11329 | int tempbool1; | |
11330 | char *_kwnames[] = { "self","val", NULL }; | |
11331 | ||
11332 | self = self; | |
11333 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextEvent_SetDragAllowMove",_kwnames,&_argo0,&tempbool1)) | |
11334 | return NULL; | |
11335 | if (_argo0) { | |
11336 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
11337 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextEvent_p")) { | |
11338 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextEvent_SetDragAllowMove. Expected _wxStyledTextEvent_p."); | |
11339 | return NULL; | |
11340 | } | |
11341 | } | |
11342 | _arg1 = (bool ) tempbool1; | |
11343 | { | |
11344 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6824d4f9 | 11345 | wxStyledTextEvent_SetDragAllowMove(_arg0,_arg1); |
6abe8375 RD |
11346 | |
11347 | wxPyEndAllowThreads(__tstate); | |
11348 | if (PyErr_Occurred()) return NULL; | |
11349 | } Py_INCREF(Py_None); | |
11350 | _resultobj = Py_None; | |
11351 | return _resultobj; | |
11352 | } | |
11353 | ||
11354 | #define wxStyledTextEvent_SetDragResult(_swigobj,_swigarg0) (_swigobj->SetDragResult(_swigarg0)) | |
11355 | static PyObject *_wrap_wxStyledTextEvent_SetDragResult(PyObject *self, PyObject *args, PyObject *kwargs) { | |
11356 | PyObject * _resultobj; | |
11357 | wxStyledTextEvent * _arg0; | |
451c5cc7 | 11358 | wxDragResult _arg1; |
6abe8375 | 11359 | PyObject * _argo0 = 0; |
6abe8375 RD |
11360 | char *_kwnames[] = { "self","val", NULL }; |
11361 | ||
11362 | self = self; | |
451c5cc7 | 11363 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextEvent_SetDragResult",_kwnames,&_argo0,&_arg1)) |
6abe8375 RD |
11364 | return NULL; |
11365 | if (_argo0) { | |
11366 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
11367 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextEvent_p")) { | |
11368 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextEvent_SetDragResult. Expected _wxStyledTextEvent_p."); | |
11369 | return NULL; | |
11370 | } | |
11371 | } | |
6abe8375 RD |
11372 | { |
11373 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
451c5cc7 | 11374 | wxStyledTextEvent_SetDragResult(_arg0,_arg1); |
6abe8375 RD |
11375 | |
11376 | wxPyEndAllowThreads(__tstate); | |
11377 | if (PyErr_Occurred()) return NULL; | |
11378 | } Py_INCREF(Py_None); | |
11379 | _resultobj = Py_None; | |
11380 | return _resultobj; | |
11381 | } | |
11382 | ||
8a2fa5c8 RD |
11383 | #define wxStyledTextEvent_GetPosition(_swigobj) (_swigobj->GetPosition()) |
11384 | static PyObject *_wrap_wxStyledTextEvent_GetPosition(PyObject *self, PyObject *args, PyObject *kwargs) { | |
11385 | PyObject * _resultobj; | |
11386 | int _result; | |
11387 | wxStyledTextEvent * _arg0; | |
11388 | PyObject * _argo0 = 0; | |
11389 | char *_kwnames[] = { "self", NULL }; | |
11390 | ||
11391 | self = self; | |
11392 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextEvent_GetPosition",_kwnames,&_argo0)) | |
11393 | return NULL; | |
11394 | if (_argo0) { | |
11395 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
11396 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextEvent_p")) { | |
11397 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextEvent_GetPosition. Expected _wxStyledTextEvent_p."); | |
11398 | return NULL; | |
11399 | } | |
11400 | } | |
11401 | { | |
0e2ff151 | 11402 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 11403 | _result = (int )wxStyledTextEvent_GetPosition(_arg0); |
8a2fa5c8 | 11404 | |
0e2ff151 RD |
11405 | wxPyEndAllowThreads(__tstate); |
11406 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
11407 | } _resultobj = Py_BuildValue("i",_result); |
11408 | return _resultobj; | |
11409 | } | |
11410 | ||
11411 | #define wxStyledTextEvent_GetKey(_swigobj) (_swigobj->GetKey()) | |
11412 | static PyObject *_wrap_wxStyledTextEvent_GetKey(PyObject *self, PyObject *args, PyObject *kwargs) { | |
11413 | PyObject * _resultobj; | |
11414 | int _result; | |
11415 | wxStyledTextEvent * _arg0; | |
11416 | PyObject * _argo0 = 0; | |
11417 | char *_kwnames[] = { "self", NULL }; | |
11418 | ||
11419 | self = self; | |
11420 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextEvent_GetKey",_kwnames,&_argo0)) | |
11421 | return NULL; | |
11422 | if (_argo0) { | |
11423 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
11424 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextEvent_p")) { | |
11425 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextEvent_GetKey. Expected _wxStyledTextEvent_p."); | |
11426 | return NULL; | |
11427 | } | |
11428 | } | |
11429 | { | |
0e2ff151 | 11430 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 11431 | _result = (int )wxStyledTextEvent_GetKey(_arg0); |
8a2fa5c8 | 11432 | |
0e2ff151 RD |
11433 | wxPyEndAllowThreads(__tstate); |
11434 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
11435 | } _resultobj = Py_BuildValue("i",_result); |
11436 | return _resultobj; | |
11437 | } | |
11438 | ||
11439 | #define wxStyledTextEvent_GetModifiers(_swigobj) (_swigobj->GetModifiers()) | |
11440 | static PyObject *_wrap_wxStyledTextEvent_GetModifiers(PyObject *self, PyObject *args, PyObject *kwargs) { | |
11441 | PyObject * _resultobj; | |
11442 | int _result; | |
11443 | wxStyledTextEvent * _arg0; | |
11444 | PyObject * _argo0 = 0; | |
11445 | char *_kwnames[] = { "self", NULL }; | |
11446 | ||
11447 | self = self; | |
11448 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextEvent_GetModifiers",_kwnames,&_argo0)) | |
11449 | return NULL; | |
11450 | if (_argo0) { | |
11451 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
11452 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextEvent_p")) { | |
11453 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextEvent_GetModifiers. Expected _wxStyledTextEvent_p."); | |
11454 | return NULL; | |
11455 | } | |
11456 | } | |
11457 | { | |
0e2ff151 | 11458 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 11459 | _result = (int )wxStyledTextEvent_GetModifiers(_arg0); |
8a2fa5c8 | 11460 | |
0e2ff151 RD |
11461 | wxPyEndAllowThreads(__tstate); |
11462 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
11463 | } _resultobj = Py_BuildValue("i",_result); |
11464 | return _resultobj; | |
11465 | } | |
11466 | ||
11467 | #define wxStyledTextEvent_GetModificationType(_swigobj) (_swigobj->GetModificationType()) | |
11468 | static PyObject *_wrap_wxStyledTextEvent_GetModificationType(PyObject *self, PyObject *args, PyObject *kwargs) { | |
11469 | PyObject * _resultobj; | |
11470 | int _result; | |
11471 | wxStyledTextEvent * _arg0; | |
11472 | PyObject * _argo0 = 0; | |
11473 | char *_kwnames[] = { "self", NULL }; | |
11474 | ||
11475 | self = self; | |
11476 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextEvent_GetModificationType",_kwnames,&_argo0)) | |
11477 | return NULL; | |
11478 | if (_argo0) { | |
11479 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
11480 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextEvent_p")) { | |
11481 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextEvent_GetModificationType. Expected _wxStyledTextEvent_p."); | |
11482 | return NULL; | |
11483 | } | |
11484 | } | |
11485 | { | |
0e2ff151 | 11486 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 11487 | _result = (int )wxStyledTextEvent_GetModificationType(_arg0); |
8a2fa5c8 | 11488 | |
0e2ff151 RD |
11489 | wxPyEndAllowThreads(__tstate); |
11490 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
11491 | } _resultobj = Py_BuildValue("i",_result); |
11492 | return _resultobj; | |
11493 | } | |
11494 | ||
11495 | #define wxStyledTextEvent_GetText(_swigobj) (_swigobj->GetText()) | |
11496 | static PyObject *_wrap_wxStyledTextEvent_GetText(PyObject *self, PyObject *args, PyObject *kwargs) { | |
11497 | PyObject * _resultobj; | |
11498 | wxString * _result; | |
11499 | wxStyledTextEvent * _arg0; | |
11500 | PyObject * _argo0 = 0; | |
11501 | char *_kwnames[] = { "self", NULL }; | |
11502 | ||
11503 | self = self; | |
11504 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextEvent_GetText",_kwnames,&_argo0)) | |
11505 | return NULL; | |
11506 | if (_argo0) { | |
11507 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
11508 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextEvent_p")) { | |
11509 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextEvent_GetText. Expected _wxStyledTextEvent_p."); | |
11510 | return NULL; | |
11511 | } | |
11512 | } | |
11513 | { | |
0e2ff151 | 11514 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 11515 | _result = new wxString (wxStyledTextEvent_GetText(_arg0)); |
8a2fa5c8 | 11516 | |
0e2ff151 RD |
11517 | wxPyEndAllowThreads(__tstate); |
11518 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 | 11519 | }{ |
6824d4f9 | 11520 | #if wxUSE_UNICODE |
7108497a | 11521 | _resultobj = PyUnicode_FromWideChar(_result->c_str(), _result->Len()); |
6824d4f9 | 11522 | #else |
8a2fa5c8 | 11523 | _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len()); |
6824d4f9 | 11524 | #endif |
8a2fa5c8 RD |
11525 | } |
11526 | { | |
11527 | delete _result; | |
11528 | } | |
11529 | return _resultobj; | |
11530 | } | |
11531 | ||
11532 | #define wxStyledTextEvent_GetLength(_swigobj) (_swigobj->GetLength()) | |
11533 | static PyObject *_wrap_wxStyledTextEvent_GetLength(PyObject *self, PyObject *args, PyObject *kwargs) { | |
11534 | PyObject * _resultobj; | |
11535 | int _result; | |
11536 | wxStyledTextEvent * _arg0; | |
11537 | PyObject * _argo0 = 0; | |
11538 | char *_kwnames[] = { "self", NULL }; | |
11539 | ||
11540 | self = self; | |
11541 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextEvent_GetLength",_kwnames,&_argo0)) | |
11542 | return NULL; | |
11543 | if (_argo0) { | |
11544 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
11545 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextEvent_p")) { | |
11546 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextEvent_GetLength. Expected _wxStyledTextEvent_p."); | |
11547 | return NULL; | |
11548 | } | |
11549 | } | |
11550 | { | |
0e2ff151 | 11551 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 11552 | _result = (int )wxStyledTextEvent_GetLength(_arg0); |
8a2fa5c8 | 11553 | |
0e2ff151 RD |
11554 | wxPyEndAllowThreads(__tstate); |
11555 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
11556 | } _resultobj = Py_BuildValue("i",_result); |
11557 | return _resultobj; | |
11558 | } | |
11559 | ||
11560 | #define wxStyledTextEvent_GetLinesAdded(_swigobj) (_swigobj->GetLinesAdded()) | |
11561 | static PyObject *_wrap_wxStyledTextEvent_GetLinesAdded(PyObject *self, PyObject *args, PyObject *kwargs) { | |
11562 | PyObject * _resultobj; | |
11563 | int _result; | |
11564 | wxStyledTextEvent * _arg0; | |
11565 | PyObject * _argo0 = 0; | |
11566 | char *_kwnames[] = { "self", NULL }; | |
11567 | ||
11568 | self = self; | |
11569 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextEvent_GetLinesAdded",_kwnames,&_argo0)) | |
11570 | return NULL; | |
11571 | if (_argo0) { | |
11572 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
11573 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextEvent_p")) { | |
11574 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextEvent_GetLinesAdded. Expected _wxStyledTextEvent_p."); | |
11575 | return NULL; | |
11576 | } | |
11577 | } | |
11578 | { | |
0e2ff151 | 11579 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 11580 | _result = (int )wxStyledTextEvent_GetLinesAdded(_arg0); |
8a2fa5c8 | 11581 | |
0e2ff151 RD |
11582 | wxPyEndAllowThreads(__tstate); |
11583 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
11584 | } _resultobj = Py_BuildValue("i",_result); |
11585 | return _resultobj; | |
11586 | } | |
11587 | ||
11588 | #define wxStyledTextEvent_GetLine(_swigobj) (_swigobj->GetLine()) | |
11589 | static PyObject *_wrap_wxStyledTextEvent_GetLine(PyObject *self, PyObject *args, PyObject *kwargs) { | |
11590 | PyObject * _resultobj; | |
11591 | int _result; | |
11592 | wxStyledTextEvent * _arg0; | |
11593 | PyObject * _argo0 = 0; | |
11594 | char *_kwnames[] = { "self", NULL }; | |
11595 | ||
11596 | self = self; | |
11597 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextEvent_GetLine",_kwnames,&_argo0)) | |
11598 | return NULL; | |
11599 | if (_argo0) { | |
11600 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
11601 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextEvent_p")) { | |
11602 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextEvent_GetLine. Expected _wxStyledTextEvent_p."); | |
11603 | return NULL; | |
11604 | } | |
11605 | } | |
11606 | { | |
0e2ff151 | 11607 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 11608 | _result = (int )wxStyledTextEvent_GetLine(_arg0); |
8a2fa5c8 | 11609 | |
0e2ff151 RD |
11610 | wxPyEndAllowThreads(__tstate); |
11611 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
11612 | } _resultobj = Py_BuildValue("i",_result); |
11613 | return _resultobj; | |
11614 | } | |
11615 | ||
11616 | #define wxStyledTextEvent_GetFoldLevelNow(_swigobj) (_swigobj->GetFoldLevelNow()) | |
11617 | static PyObject *_wrap_wxStyledTextEvent_GetFoldLevelNow(PyObject *self, PyObject *args, PyObject *kwargs) { | |
11618 | PyObject * _resultobj; | |
11619 | int _result; | |
11620 | wxStyledTextEvent * _arg0; | |
11621 | PyObject * _argo0 = 0; | |
11622 | char *_kwnames[] = { "self", NULL }; | |
11623 | ||
11624 | self = self; | |
11625 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextEvent_GetFoldLevelNow",_kwnames,&_argo0)) | |
11626 | return NULL; | |
11627 | if (_argo0) { | |
11628 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
11629 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextEvent_p")) { | |
11630 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextEvent_GetFoldLevelNow. Expected _wxStyledTextEvent_p."); | |
11631 | return NULL; | |
11632 | } | |
11633 | } | |
11634 | { | |
0e2ff151 | 11635 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 11636 | _result = (int )wxStyledTextEvent_GetFoldLevelNow(_arg0); |
8a2fa5c8 | 11637 | |
0e2ff151 RD |
11638 | wxPyEndAllowThreads(__tstate); |
11639 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
11640 | } _resultobj = Py_BuildValue("i",_result); |
11641 | return _resultobj; | |
11642 | } | |
11643 | ||
11644 | #define wxStyledTextEvent_GetFoldLevelPrev(_swigobj) (_swigobj->GetFoldLevelPrev()) | |
11645 | static PyObject *_wrap_wxStyledTextEvent_GetFoldLevelPrev(PyObject *self, PyObject *args, PyObject *kwargs) { | |
11646 | PyObject * _resultobj; | |
11647 | int _result; | |
11648 | wxStyledTextEvent * _arg0; | |
11649 | PyObject * _argo0 = 0; | |
11650 | char *_kwnames[] = { "self", NULL }; | |
11651 | ||
11652 | self = self; | |
11653 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextEvent_GetFoldLevelPrev",_kwnames,&_argo0)) | |
11654 | return NULL; | |
11655 | if (_argo0) { | |
11656 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
11657 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextEvent_p")) { | |
11658 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextEvent_GetFoldLevelPrev. Expected _wxStyledTextEvent_p."); | |
11659 | return NULL; | |
11660 | } | |
11661 | } | |
11662 | { | |
0e2ff151 | 11663 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 11664 | _result = (int )wxStyledTextEvent_GetFoldLevelPrev(_arg0); |
8a2fa5c8 | 11665 | |
0e2ff151 RD |
11666 | wxPyEndAllowThreads(__tstate); |
11667 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
11668 | } _resultobj = Py_BuildValue("i",_result); |
11669 | return _resultobj; | |
11670 | } | |
11671 | ||
11672 | #define wxStyledTextEvent_GetMargin(_swigobj) (_swigobj->GetMargin()) | |
11673 | static PyObject *_wrap_wxStyledTextEvent_GetMargin(PyObject *self, PyObject *args, PyObject *kwargs) { | |
11674 | PyObject * _resultobj; | |
11675 | int _result; | |
11676 | wxStyledTextEvent * _arg0; | |
11677 | PyObject * _argo0 = 0; | |
11678 | char *_kwnames[] = { "self", NULL }; | |
11679 | ||
11680 | self = self; | |
11681 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextEvent_GetMargin",_kwnames,&_argo0)) | |
11682 | return NULL; | |
11683 | if (_argo0) { | |
11684 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
11685 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextEvent_p")) { | |
11686 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextEvent_GetMargin. Expected _wxStyledTextEvent_p."); | |
11687 | return NULL; | |
11688 | } | |
11689 | } | |
11690 | { | |
0e2ff151 | 11691 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 11692 | _result = (int )wxStyledTextEvent_GetMargin(_arg0); |
8a2fa5c8 | 11693 | |
0e2ff151 RD |
11694 | wxPyEndAllowThreads(__tstate); |
11695 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
11696 | } _resultobj = Py_BuildValue("i",_result); |
11697 | return _resultobj; | |
11698 | } | |
11699 | ||
11700 | #define wxStyledTextEvent_GetMessage(_swigobj) (_swigobj->GetMessage()) | |
11701 | static PyObject *_wrap_wxStyledTextEvent_GetMessage(PyObject *self, PyObject *args, PyObject *kwargs) { | |
11702 | PyObject * _resultobj; | |
11703 | int _result; | |
11704 | wxStyledTextEvent * _arg0; | |
11705 | PyObject * _argo0 = 0; | |
11706 | char *_kwnames[] = { "self", NULL }; | |
11707 | ||
11708 | self = self; | |
11709 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextEvent_GetMessage",_kwnames,&_argo0)) | |
11710 | return NULL; | |
11711 | if (_argo0) { | |
11712 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
11713 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextEvent_p")) { | |
11714 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextEvent_GetMessage. Expected _wxStyledTextEvent_p."); | |
11715 | return NULL; | |
11716 | } | |
11717 | } | |
11718 | { | |
0e2ff151 | 11719 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 11720 | _result = (int )wxStyledTextEvent_GetMessage(_arg0); |
8a2fa5c8 | 11721 | |
0e2ff151 RD |
11722 | wxPyEndAllowThreads(__tstate); |
11723 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
11724 | } _resultobj = Py_BuildValue("i",_result); |
11725 | return _resultobj; | |
11726 | } | |
11727 | ||
11728 | #define wxStyledTextEvent_GetWParam(_swigobj) (_swigobj->GetWParam()) | |
11729 | static PyObject *_wrap_wxStyledTextEvent_GetWParam(PyObject *self, PyObject *args, PyObject *kwargs) { | |
11730 | PyObject * _resultobj; | |
11731 | int _result; | |
11732 | wxStyledTextEvent * _arg0; | |
11733 | PyObject * _argo0 = 0; | |
11734 | char *_kwnames[] = { "self", NULL }; | |
11735 | ||
11736 | self = self; | |
11737 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextEvent_GetWParam",_kwnames,&_argo0)) | |
11738 | return NULL; | |
11739 | if (_argo0) { | |
11740 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
11741 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextEvent_p")) { | |
11742 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextEvent_GetWParam. Expected _wxStyledTextEvent_p."); | |
11743 | return NULL; | |
11744 | } | |
11745 | } | |
11746 | { | |
0e2ff151 | 11747 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 11748 | _result = (int )wxStyledTextEvent_GetWParam(_arg0); |
8a2fa5c8 | 11749 | |
0e2ff151 RD |
11750 | wxPyEndAllowThreads(__tstate); |
11751 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
11752 | } _resultobj = Py_BuildValue("i",_result); |
11753 | return _resultobj; | |
11754 | } | |
11755 | ||
11756 | #define wxStyledTextEvent_GetLParam(_swigobj) (_swigobj->GetLParam()) | |
11757 | static PyObject *_wrap_wxStyledTextEvent_GetLParam(PyObject *self, PyObject *args, PyObject *kwargs) { | |
11758 | PyObject * _resultobj; | |
11759 | int _result; | |
11760 | wxStyledTextEvent * _arg0; | |
11761 | PyObject * _argo0 = 0; | |
11762 | char *_kwnames[] = { "self", NULL }; | |
11763 | ||
11764 | self = self; | |
11765 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextEvent_GetLParam",_kwnames,&_argo0)) | |
11766 | return NULL; | |
11767 | if (_argo0) { | |
11768 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
11769 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextEvent_p")) { | |
11770 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextEvent_GetLParam. Expected _wxStyledTextEvent_p."); | |
11771 | return NULL; | |
11772 | } | |
11773 | } | |
11774 | { | |
0e2ff151 | 11775 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 11776 | _result = (int )wxStyledTextEvent_GetLParam(_arg0); |
8a2fa5c8 | 11777 | |
0e2ff151 RD |
11778 | wxPyEndAllowThreads(__tstate); |
11779 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
11780 | } _resultobj = Py_BuildValue("i",_result); |
11781 | return _resultobj; | |
11782 | } | |
11783 | ||
11784 | #define wxStyledTextEvent_GetListType(_swigobj) (_swigobj->GetListType()) | |
11785 | static PyObject *_wrap_wxStyledTextEvent_GetListType(PyObject *self, PyObject *args, PyObject *kwargs) { | |
11786 | PyObject * _resultobj; | |
11787 | int _result; | |
11788 | wxStyledTextEvent * _arg0; | |
11789 | PyObject * _argo0 = 0; | |
11790 | char *_kwnames[] = { "self", NULL }; | |
11791 | ||
11792 | self = self; | |
11793 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextEvent_GetListType",_kwnames,&_argo0)) | |
11794 | return NULL; | |
11795 | if (_argo0) { | |
11796 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
11797 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextEvent_p")) { | |
11798 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextEvent_GetListType. Expected _wxStyledTextEvent_p."); | |
11799 | return NULL; | |
11800 | } | |
11801 | } | |
11802 | { | |
0e2ff151 | 11803 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 11804 | _result = (int )wxStyledTextEvent_GetListType(_arg0); |
8a2fa5c8 | 11805 | |
0e2ff151 RD |
11806 | wxPyEndAllowThreads(__tstate); |
11807 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
11808 | } _resultobj = Py_BuildValue("i",_result); |
11809 | return _resultobj; | |
11810 | } | |
11811 | ||
11812 | #define wxStyledTextEvent_GetX(_swigobj) (_swigobj->GetX()) | |
11813 | static PyObject *_wrap_wxStyledTextEvent_GetX(PyObject *self, PyObject *args, PyObject *kwargs) { | |
11814 | PyObject * _resultobj; | |
11815 | int _result; | |
11816 | wxStyledTextEvent * _arg0; | |
11817 | PyObject * _argo0 = 0; | |
11818 | char *_kwnames[] = { "self", NULL }; | |
11819 | ||
11820 | self = self; | |
11821 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextEvent_GetX",_kwnames,&_argo0)) | |
11822 | return NULL; | |
11823 | if (_argo0) { | |
11824 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
11825 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextEvent_p")) { | |
11826 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextEvent_GetX. Expected _wxStyledTextEvent_p."); | |
11827 | return NULL; | |
11828 | } | |
11829 | } | |
11830 | { | |
0e2ff151 | 11831 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 11832 | _result = (int )wxStyledTextEvent_GetX(_arg0); |
8a2fa5c8 | 11833 | |
0e2ff151 RD |
11834 | wxPyEndAllowThreads(__tstate); |
11835 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
11836 | } _resultobj = Py_BuildValue("i",_result); |
11837 | return _resultobj; | |
11838 | } | |
11839 | ||
11840 | #define wxStyledTextEvent_GetY(_swigobj) (_swigobj->GetY()) | |
11841 | static PyObject *_wrap_wxStyledTextEvent_GetY(PyObject *self, PyObject *args, PyObject *kwargs) { | |
11842 | PyObject * _resultobj; | |
11843 | int _result; | |
11844 | wxStyledTextEvent * _arg0; | |
11845 | PyObject * _argo0 = 0; | |
11846 | char *_kwnames[] = { "self", NULL }; | |
11847 | ||
11848 | self = self; | |
11849 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextEvent_GetY",_kwnames,&_argo0)) | |
11850 | return NULL; | |
11851 | if (_argo0) { | |
11852 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
11853 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextEvent_p")) { | |
11854 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextEvent_GetY. Expected _wxStyledTextEvent_p."); | |
11855 | return NULL; | |
11856 | } | |
11857 | } | |
11858 | { | |
0e2ff151 | 11859 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 11860 | _result = (int )wxStyledTextEvent_GetY(_arg0); |
8a2fa5c8 | 11861 | |
0e2ff151 RD |
11862 | wxPyEndAllowThreads(__tstate); |
11863 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
11864 | } _resultobj = Py_BuildValue("i",_result); |
11865 | return _resultobj; | |
11866 | } | |
11867 | ||
6abe8375 RD |
11868 | #define wxStyledTextEvent_GetDragText(_swigobj) (_swigobj->GetDragText()) |
11869 | static PyObject *_wrap_wxStyledTextEvent_GetDragText(PyObject *self, PyObject *args, PyObject *kwargs) { | |
11870 | PyObject * _resultobj; | |
11871 | wxString * _result; | |
11872 | wxStyledTextEvent * _arg0; | |
11873 | PyObject * _argo0 = 0; | |
11874 | char *_kwnames[] = { "self", NULL }; | |
11875 | ||
11876 | self = self; | |
11877 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextEvent_GetDragText",_kwnames,&_argo0)) | |
11878 | return NULL; | |
11879 | if (_argo0) { | |
11880 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
11881 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextEvent_p")) { | |
11882 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextEvent_GetDragText. Expected _wxStyledTextEvent_p."); | |
11883 | return NULL; | |
11884 | } | |
11885 | } | |
11886 | { | |
11887 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6824d4f9 | 11888 | _result = new wxString (wxStyledTextEvent_GetDragText(_arg0)); |
6abe8375 RD |
11889 | |
11890 | wxPyEndAllowThreads(__tstate); | |
11891 | if (PyErr_Occurred()) return NULL; | |
11892 | }{ | |
6824d4f9 | 11893 | #if wxUSE_UNICODE |
7108497a | 11894 | _resultobj = PyUnicode_FromWideChar(_result->c_str(), _result->Len()); |
6824d4f9 | 11895 | #else |
6abe8375 | 11896 | _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len()); |
6824d4f9 | 11897 | #endif |
6abe8375 RD |
11898 | } |
11899 | { | |
11900 | delete _result; | |
11901 | } | |
11902 | return _resultobj; | |
11903 | } | |
11904 | ||
11905 | #define wxStyledTextEvent_GetDragAllowMove(_swigobj) (_swigobj->GetDragAllowMove()) | |
11906 | static PyObject *_wrap_wxStyledTextEvent_GetDragAllowMove(PyObject *self, PyObject *args, PyObject *kwargs) { | |
11907 | PyObject * _resultobj; | |
11908 | bool _result; | |
11909 | wxStyledTextEvent * _arg0; | |
11910 | PyObject * _argo0 = 0; | |
11911 | char *_kwnames[] = { "self", NULL }; | |
11912 | ||
11913 | self = self; | |
11914 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextEvent_GetDragAllowMove",_kwnames,&_argo0)) | |
11915 | return NULL; | |
11916 | if (_argo0) { | |
11917 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
11918 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextEvent_p")) { | |
11919 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextEvent_GetDragAllowMove. Expected _wxStyledTextEvent_p."); | |
11920 | return NULL; | |
11921 | } | |
11922 | } | |
11923 | { | |
11924 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6824d4f9 | 11925 | _result = (bool )wxStyledTextEvent_GetDragAllowMove(_arg0); |
6abe8375 RD |
11926 | |
11927 | wxPyEndAllowThreads(__tstate); | |
11928 | if (PyErr_Occurred()) return NULL; | |
11929 | } _resultobj = Py_BuildValue("i",_result); | |
11930 | return _resultobj; | |
11931 | } | |
11932 | ||
11933 | #define wxStyledTextEvent_GetDragResult(_swigobj) (_swigobj->GetDragResult()) | |
11934 | static PyObject *_wrap_wxStyledTextEvent_GetDragResult(PyObject *self, PyObject *args, PyObject *kwargs) { | |
11935 | PyObject * _resultobj; | |
451c5cc7 | 11936 | wxDragResult _result; |
6abe8375 RD |
11937 | wxStyledTextEvent * _arg0; |
11938 | PyObject * _argo0 = 0; | |
11939 | char *_kwnames[] = { "self", NULL }; | |
6abe8375 RD |
11940 | |
11941 | self = self; | |
11942 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextEvent_GetDragResult",_kwnames,&_argo0)) | |
11943 | return NULL; | |
11944 | if (_argo0) { | |
11945 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
11946 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextEvent_p")) { | |
11947 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextEvent_GetDragResult. Expected _wxStyledTextEvent_p."); | |
11948 | return NULL; | |
11949 | } | |
11950 | } | |
11951 | { | |
11952 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
451c5cc7 | 11953 | _result = (wxDragResult )wxStyledTextEvent_GetDragResult(_arg0); |
6abe8375 RD |
11954 | |
11955 | wxPyEndAllowThreads(__tstate); | |
11956 | if (PyErr_Occurred()) return NULL; | |
451c5cc7 | 11957 | } _resultobj = Py_BuildValue("i",_result); |
6abe8375 RD |
11958 | return _resultobj; |
11959 | } | |
11960 | ||
8a2fa5c8 RD |
11961 | #define wxStyledTextEvent_GetShift(_swigobj) (_swigobj->GetShift()) |
11962 | static PyObject *_wrap_wxStyledTextEvent_GetShift(PyObject *self, PyObject *args, PyObject *kwargs) { | |
11963 | PyObject * _resultobj; | |
11964 | bool _result; | |
11965 | wxStyledTextEvent * _arg0; | |
11966 | PyObject * _argo0 = 0; | |
11967 | char *_kwnames[] = { "self", NULL }; | |
11968 | ||
11969 | self = self; | |
11970 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextEvent_GetShift",_kwnames,&_argo0)) | |
11971 | return NULL; | |
11972 | if (_argo0) { | |
11973 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
11974 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextEvent_p")) { | |
11975 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextEvent_GetShift. Expected _wxStyledTextEvent_p."); | |
11976 | return NULL; | |
11977 | } | |
11978 | } | |
11979 | { | |
0e2ff151 | 11980 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 11981 | _result = (bool )wxStyledTextEvent_GetShift(_arg0); |
8a2fa5c8 | 11982 | |
0e2ff151 RD |
11983 | wxPyEndAllowThreads(__tstate); |
11984 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
11985 | } _resultobj = Py_BuildValue("i",_result); |
11986 | return _resultobj; | |
11987 | } | |
11988 | ||
11989 | #define wxStyledTextEvent_GetControl(_swigobj) (_swigobj->GetControl()) | |
11990 | static PyObject *_wrap_wxStyledTextEvent_GetControl(PyObject *self, PyObject *args, PyObject *kwargs) { | |
11991 | PyObject * _resultobj; | |
11992 | bool _result; | |
11993 | wxStyledTextEvent * _arg0; | |
11994 | PyObject * _argo0 = 0; | |
11995 | char *_kwnames[] = { "self", NULL }; | |
11996 | ||
11997 | self = self; | |
11998 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextEvent_GetControl",_kwnames,&_argo0)) | |
11999 | return NULL; | |
12000 | if (_argo0) { | |
12001 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
12002 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextEvent_p")) { | |
12003 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextEvent_GetControl. Expected _wxStyledTextEvent_p."); | |
12004 | return NULL; | |
12005 | } | |
12006 | } | |
12007 | { | |
0e2ff151 | 12008 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 12009 | _result = (bool )wxStyledTextEvent_GetControl(_arg0); |
8a2fa5c8 | 12010 | |
0e2ff151 RD |
12011 | wxPyEndAllowThreads(__tstate); |
12012 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
12013 | } _resultobj = Py_BuildValue("i",_result); |
12014 | return _resultobj; | |
12015 | } | |
12016 | ||
12017 | #define wxStyledTextEvent_GetAlt(_swigobj) (_swigobj->GetAlt()) | |
12018 | static PyObject *_wrap_wxStyledTextEvent_GetAlt(PyObject *self, PyObject *args, PyObject *kwargs) { | |
12019 | PyObject * _resultobj; | |
12020 | bool _result; | |
12021 | wxStyledTextEvent * _arg0; | |
12022 | PyObject * _argo0 = 0; | |
12023 | char *_kwnames[] = { "self", NULL }; | |
12024 | ||
12025 | self = self; | |
12026 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextEvent_GetAlt",_kwnames,&_argo0)) | |
12027 | return NULL; | |
12028 | if (_argo0) { | |
12029 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
12030 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextEvent_p")) { | |
12031 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextEvent_GetAlt. Expected _wxStyledTextEvent_p."); | |
12032 | return NULL; | |
12033 | } | |
12034 | } | |
12035 | { | |
0e2ff151 | 12036 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 12037 | _result = (bool )wxStyledTextEvent_GetAlt(_arg0); |
8a2fa5c8 | 12038 | |
0e2ff151 RD |
12039 | wxPyEndAllowThreads(__tstate); |
12040 | if (PyErr_Occurred()) return NULL; | |
8a2fa5c8 RD |
12041 | } _resultobj = Py_BuildValue("i",_result); |
12042 | return _resultobj; | |
12043 | } | |
12044 | ||
dbd3685c RD |
12045 | #define wxStyledTextEvent_Clone(_swigobj) (_swigobj->Clone()) |
12046 | static PyObject *_wrap_wxStyledTextEvent_Clone(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8a2fa5c8 | 12047 | PyObject * _resultobj; |
dbd3685c | 12048 | wxEvent * _result; |
8a2fa5c8 | 12049 | wxStyledTextEvent * _arg0; |
8a2fa5c8 | 12050 | PyObject * _argo0 = 0; |
dbd3685c RD |
12051 | char *_kwnames[] = { "self", NULL }; |
12052 | char _ptemp[128]; | |
8a2fa5c8 RD |
12053 | |
12054 | self = self; | |
dbd3685c | 12055 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextEvent_Clone",_kwnames,&_argo0)) |
8a2fa5c8 RD |
12056 | return NULL; |
12057 | if (_argo0) { | |
12058 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
12059 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextEvent_p")) { | |
dbd3685c | 12060 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextEvent_Clone. Expected _wxStyledTextEvent_p."); |
8a2fa5c8 RD |
12061 | return NULL; |
12062 | } | |
12063 | } | |
12064 | { | |
0e2ff151 | 12065 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
6824d4f9 | 12066 | _result = (wxEvent *)wxStyledTextEvent_Clone(_arg0); |
8a2fa5c8 | 12067 | |
0e2ff151 RD |
12068 | wxPyEndAllowThreads(__tstate); |
12069 | if (PyErr_Occurred()) return NULL; | |
dbd3685c RD |
12070 | } if (_result) { |
12071 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxEvent_p"); | |
12072 | _resultobj = Py_BuildValue("s",_ptemp); | |
12073 | } else { | |
12074 | Py_INCREF(Py_None); | |
12075 | _resultobj = Py_None; | |
12076 | } | |
8a2fa5c8 RD |
12077 | return _resultobj; |
12078 | } | |
12079 | ||
12080 | static PyMethodDef stc_cMethods[] = { | |
dbd3685c | 12081 | { "wxStyledTextEvent_Clone", (PyCFunction) _wrap_wxStyledTextEvent_Clone, METH_VARARGS | METH_KEYWORDS }, |
8a2fa5c8 RD |
12082 | { "wxStyledTextEvent_GetAlt", (PyCFunction) _wrap_wxStyledTextEvent_GetAlt, METH_VARARGS | METH_KEYWORDS }, |
12083 | { "wxStyledTextEvent_GetControl", (PyCFunction) _wrap_wxStyledTextEvent_GetControl, METH_VARARGS | METH_KEYWORDS }, | |
12084 | { "wxStyledTextEvent_GetShift", (PyCFunction) _wrap_wxStyledTextEvent_GetShift, METH_VARARGS | METH_KEYWORDS }, | |
6abe8375 RD |
12085 | { "wxStyledTextEvent_GetDragResult", (PyCFunction) _wrap_wxStyledTextEvent_GetDragResult, METH_VARARGS | METH_KEYWORDS }, |
12086 | { "wxStyledTextEvent_GetDragAllowMove", (PyCFunction) _wrap_wxStyledTextEvent_GetDragAllowMove, METH_VARARGS | METH_KEYWORDS }, | |
12087 | { "wxStyledTextEvent_GetDragText", (PyCFunction) _wrap_wxStyledTextEvent_GetDragText, METH_VARARGS | METH_KEYWORDS }, | |
8a2fa5c8 RD |
12088 | { "wxStyledTextEvent_GetY", (PyCFunction) _wrap_wxStyledTextEvent_GetY, METH_VARARGS | METH_KEYWORDS }, |
12089 | { "wxStyledTextEvent_GetX", (PyCFunction) _wrap_wxStyledTextEvent_GetX, METH_VARARGS | METH_KEYWORDS }, | |
12090 | { "wxStyledTextEvent_GetListType", (PyCFunction) _wrap_wxStyledTextEvent_GetListType, METH_VARARGS | METH_KEYWORDS }, | |
12091 | { "wxStyledTextEvent_GetLParam", (PyCFunction) _wrap_wxStyledTextEvent_GetLParam, METH_VARARGS | METH_KEYWORDS }, | |
12092 | { "wxStyledTextEvent_GetWParam", (PyCFunction) _wrap_wxStyledTextEvent_GetWParam, METH_VARARGS | METH_KEYWORDS }, | |
12093 | { "wxStyledTextEvent_GetMessage", (PyCFunction) _wrap_wxStyledTextEvent_GetMessage, METH_VARARGS | METH_KEYWORDS }, | |
12094 | { "wxStyledTextEvent_GetMargin", (PyCFunction) _wrap_wxStyledTextEvent_GetMargin, METH_VARARGS | METH_KEYWORDS }, | |
12095 | { "wxStyledTextEvent_GetFoldLevelPrev", (PyCFunction) _wrap_wxStyledTextEvent_GetFoldLevelPrev, METH_VARARGS | METH_KEYWORDS }, | |
12096 | { "wxStyledTextEvent_GetFoldLevelNow", (PyCFunction) _wrap_wxStyledTextEvent_GetFoldLevelNow, METH_VARARGS | METH_KEYWORDS }, | |
12097 | { "wxStyledTextEvent_GetLine", (PyCFunction) _wrap_wxStyledTextEvent_GetLine, METH_VARARGS | METH_KEYWORDS }, | |
12098 | { "wxStyledTextEvent_GetLinesAdded", (PyCFunction) _wrap_wxStyledTextEvent_GetLinesAdded, METH_VARARGS | METH_KEYWORDS }, | |
12099 | { "wxStyledTextEvent_GetLength", (PyCFunction) _wrap_wxStyledTextEvent_GetLength, METH_VARARGS | METH_KEYWORDS }, | |
12100 | { "wxStyledTextEvent_GetText", (PyCFunction) _wrap_wxStyledTextEvent_GetText, METH_VARARGS | METH_KEYWORDS }, | |
12101 | { "wxStyledTextEvent_GetModificationType", (PyCFunction) _wrap_wxStyledTextEvent_GetModificationType, METH_VARARGS | METH_KEYWORDS }, | |
12102 | { "wxStyledTextEvent_GetModifiers", (PyCFunction) _wrap_wxStyledTextEvent_GetModifiers, METH_VARARGS | METH_KEYWORDS }, | |
12103 | { "wxStyledTextEvent_GetKey", (PyCFunction) _wrap_wxStyledTextEvent_GetKey, METH_VARARGS | METH_KEYWORDS }, | |
12104 | { "wxStyledTextEvent_GetPosition", (PyCFunction) _wrap_wxStyledTextEvent_GetPosition, METH_VARARGS | METH_KEYWORDS }, | |
6abe8375 RD |
12105 | { "wxStyledTextEvent_SetDragResult", (PyCFunction) _wrap_wxStyledTextEvent_SetDragResult, METH_VARARGS | METH_KEYWORDS }, |
12106 | { "wxStyledTextEvent_SetDragAllowMove", (PyCFunction) _wrap_wxStyledTextEvent_SetDragAllowMove, METH_VARARGS | METH_KEYWORDS }, | |
12107 | { "wxStyledTextEvent_SetDragText", (PyCFunction) _wrap_wxStyledTextEvent_SetDragText, METH_VARARGS | METH_KEYWORDS }, | |
8a2fa5c8 RD |
12108 | { "wxStyledTextEvent_SetY", (PyCFunction) _wrap_wxStyledTextEvent_SetY, METH_VARARGS | METH_KEYWORDS }, |
12109 | { "wxStyledTextEvent_SetX", (PyCFunction) _wrap_wxStyledTextEvent_SetX, METH_VARARGS | METH_KEYWORDS }, | |
12110 | { "wxStyledTextEvent_SetListType", (PyCFunction) _wrap_wxStyledTextEvent_SetListType, METH_VARARGS | METH_KEYWORDS }, | |
12111 | { "wxStyledTextEvent_SetLParam", (PyCFunction) _wrap_wxStyledTextEvent_SetLParam, METH_VARARGS | METH_KEYWORDS }, | |
12112 | { "wxStyledTextEvent_SetWParam", (PyCFunction) _wrap_wxStyledTextEvent_SetWParam, METH_VARARGS | METH_KEYWORDS }, | |
12113 | { "wxStyledTextEvent_SetMessage", (PyCFunction) _wrap_wxStyledTextEvent_SetMessage, METH_VARARGS | METH_KEYWORDS }, | |
12114 | { "wxStyledTextEvent_SetMargin", (PyCFunction) _wrap_wxStyledTextEvent_SetMargin, METH_VARARGS | METH_KEYWORDS }, | |
12115 | { "wxStyledTextEvent_SetFoldLevelPrev", (PyCFunction) _wrap_wxStyledTextEvent_SetFoldLevelPrev, METH_VARARGS | METH_KEYWORDS }, | |
12116 | { "wxStyledTextEvent_SetFoldLevelNow", (PyCFunction) _wrap_wxStyledTextEvent_SetFoldLevelNow, METH_VARARGS | METH_KEYWORDS }, | |
12117 | { "wxStyledTextEvent_SetLine", (PyCFunction) _wrap_wxStyledTextEvent_SetLine, METH_VARARGS | METH_KEYWORDS }, | |
12118 | { "wxStyledTextEvent_SetLinesAdded", (PyCFunction) _wrap_wxStyledTextEvent_SetLinesAdded, METH_VARARGS | METH_KEYWORDS }, | |
12119 | { "wxStyledTextEvent_SetLength", (PyCFunction) _wrap_wxStyledTextEvent_SetLength, METH_VARARGS | METH_KEYWORDS }, | |
12120 | { "wxStyledTextEvent_SetText", (PyCFunction) _wrap_wxStyledTextEvent_SetText, METH_VARARGS | METH_KEYWORDS }, | |
12121 | { "wxStyledTextEvent_SetModificationType", (PyCFunction) _wrap_wxStyledTextEvent_SetModificationType, METH_VARARGS | METH_KEYWORDS }, | |
12122 | { "wxStyledTextEvent_SetModifiers", (PyCFunction) _wrap_wxStyledTextEvent_SetModifiers, METH_VARARGS | METH_KEYWORDS }, | |
12123 | { "wxStyledTextEvent_SetKey", (PyCFunction) _wrap_wxStyledTextEvent_SetKey, METH_VARARGS | METH_KEYWORDS }, | |
12124 | { "wxStyledTextEvent_SetPosition", (PyCFunction) _wrap_wxStyledTextEvent_SetPosition, METH_VARARGS | METH_KEYWORDS }, | |
12125 | { "delete_wxStyledTextEvent", (PyCFunction) _wrap_delete_wxStyledTextEvent, METH_VARARGS | METH_KEYWORDS }, | |
12126 | { "new_wxStyledTextEvent", (PyCFunction) _wrap_new_wxStyledTextEvent, METH_VARARGS | METH_KEYWORDS }, | |
854e7dc3 RD |
12127 | { "wxStyledTextCtrl_DoDropText", (PyCFunction) _wrap_wxStyledTextCtrl_DoDropText, METH_VARARGS | METH_KEYWORDS }, |
12128 | { "wxStyledTextCtrl_DoDragOver", (PyCFunction) _wrap_wxStyledTextCtrl_DoDragOver, METH_VARARGS | METH_KEYWORDS }, | |
1fded56b RD |
12129 | { "wxStyledTextCtrl_LoadFile", (PyCFunction) _wrap_wxStyledTextCtrl_LoadFile, METH_VARARGS | METH_KEYWORDS }, |
12130 | { "wxStyledTextCtrl_SaveFile", (PyCFunction) _wrap_wxStyledTextCtrl_SaveFile, METH_VARARGS | METH_KEYWORDS }, | |
40699168 RD |
12131 | { "wxStyledTextCtrl_SetLastKeydownProcessed", (PyCFunction) _wrap_wxStyledTextCtrl_SetLastKeydownProcessed, METH_VARARGS | METH_KEYWORDS }, |
12132 | { "wxStyledTextCtrl_GetLastKeydownProcessed", (PyCFunction) _wrap_wxStyledTextCtrl_GetLastKeydownProcessed, METH_VARARGS | METH_KEYWORDS }, | |
dbd3685c RD |
12133 | { "wxStyledTextCtrl_SetHScrollBar", (PyCFunction) _wrap_wxStyledTextCtrl_SetHScrollBar, METH_VARARGS | METH_KEYWORDS }, |
12134 | { "wxStyledTextCtrl_SetVScrollBar", (PyCFunction) _wrap_wxStyledTextCtrl_SetVScrollBar, METH_VARARGS | METH_KEYWORDS }, | |
8a2fa5c8 RD |
12135 | { "wxStyledTextCtrl_SendMsg", (PyCFunction) _wrap_wxStyledTextCtrl_SendMsg, METH_VARARGS | METH_KEYWORDS }, |
12136 | { "wxStyledTextCtrl_ScrollToColumn", (PyCFunction) _wrap_wxStyledTextCtrl_ScrollToColumn, METH_VARARGS | METH_KEYWORDS }, | |
12137 | { "wxStyledTextCtrl_ScrollToLine", (PyCFunction) _wrap_wxStyledTextCtrl_ScrollToLine, METH_VARARGS | METH_KEYWORDS }, | |
12138 | { "wxStyledTextCtrl_PointFromPosition", (PyCFunction) _wrap_wxStyledTextCtrl_PointFromPosition, METH_VARARGS | METH_KEYWORDS }, | |
12139 | { "wxStyledTextCtrl_GetSelection", (PyCFunction) _wrap_wxStyledTextCtrl_GetSelection, METH_VARARGS | METH_KEYWORDS }, | |
12140 | { "wxStyledTextCtrl_SetMargins", (PyCFunction) _wrap_wxStyledTextCtrl_SetMargins, METH_VARARGS | METH_KEYWORDS }, | |
12141 | { "wxStyledTextCtrl_CmdKeyExecute", (PyCFunction) _wrap_wxStyledTextCtrl_CmdKeyExecute, METH_VARARGS | METH_KEYWORDS }, | |
12142 | { "wxStyledTextCtrl_StyleSetFontAttr", (PyCFunction) _wrap_wxStyledTextCtrl_StyleSetFontAttr, METH_VARARGS | METH_KEYWORDS }, | |
12143 | { "wxStyledTextCtrl_StyleSetFont", (PyCFunction) _wrap_wxStyledTextCtrl_StyleSetFont, METH_VARARGS | METH_KEYWORDS }, | |
12144 | { "wxStyledTextCtrl_StyleSetSpec", (PyCFunction) _wrap_wxStyledTextCtrl_StyleSetSpec, METH_VARARGS | METH_KEYWORDS }, | |
12145 | { "wxStyledTextCtrl_GetCurrentLine", (PyCFunction) _wrap_wxStyledTextCtrl_GetCurrentLine, METH_VARARGS | METH_KEYWORDS }, | |
12146 | { "wxStyledTextCtrl_SetLexerLanguage", (PyCFunction) _wrap_wxStyledTextCtrl_SetLexerLanguage, METH_VARARGS | METH_KEYWORDS }, | |
12147 | { "wxStyledTextCtrl_SetKeyWords", (PyCFunction) _wrap_wxStyledTextCtrl_SetKeyWords, METH_VARARGS | METH_KEYWORDS }, | |
12148 | { "wxStyledTextCtrl_SetProperty", (PyCFunction) _wrap_wxStyledTextCtrl_SetProperty, METH_VARARGS | METH_KEYWORDS }, | |
12149 | { "wxStyledTextCtrl_Colourise", (PyCFunction) _wrap_wxStyledTextCtrl_Colourise, METH_VARARGS | METH_KEYWORDS }, | |
12150 | { "wxStyledTextCtrl_GetLexer", (PyCFunction) _wrap_wxStyledTextCtrl_GetLexer, METH_VARARGS | METH_KEYWORDS }, | |
12151 | { "wxStyledTextCtrl_SetLexer", (PyCFunction) _wrap_wxStyledTextCtrl_SetLexer, METH_VARARGS | METH_KEYWORDS }, | |
12152 | { "wxStyledTextCtrl_StopRecord", (PyCFunction) _wrap_wxStyledTextCtrl_StopRecord, METH_VARARGS | METH_KEYWORDS }, | |
12153 | { "wxStyledTextCtrl_StartRecord", (PyCFunction) _wrap_wxStyledTextCtrl_StartRecord, METH_VARARGS | METH_KEYWORDS }, | |
d84a9306 RD |
12154 | { "wxStyledTextCtrl_CopyText", (PyCFunction) _wrap_wxStyledTextCtrl_CopyText, METH_VARARGS | METH_KEYWORDS }, |
12155 | { "wxStyledTextCtrl_CopyRange", (PyCFunction) _wrap_wxStyledTextCtrl_CopyRange, METH_VARARGS | METH_KEYWORDS }, | |
12156 | { "wxStyledTextCtrl_PositionAfter", (PyCFunction) _wrap_wxStyledTextCtrl_PositionAfter, METH_VARARGS | METH_KEYWORDS }, | |
12157 | { "wxStyledTextCtrl_PositionBefore", (PyCFunction) _wrap_wxStyledTextCtrl_PositionBefore, METH_VARARGS | METH_KEYWORDS }, | |
1fded56b RD |
12158 | { "wxStyledTextCtrl_SetHotspotActiveUnderline", (PyCFunction) _wrap_wxStyledTextCtrl_SetHotspotActiveUnderline, METH_VARARGS | METH_KEYWORDS }, |
12159 | { "wxStyledTextCtrl_SetHotspotActiveBackground", (PyCFunction) _wrap_wxStyledTextCtrl_SetHotspotActiveBackground, METH_VARARGS | METH_KEYWORDS }, | |
12160 | { "wxStyledTextCtrl_SetHotspotActiveForeground", (PyCFunction) _wrap_wxStyledTextCtrl_SetHotspotActiveForeground, METH_VARARGS | METH_KEYWORDS }, | |
12161 | { "wxStyledTextCtrl_GetPrintWrapMode", (PyCFunction) _wrap_wxStyledTextCtrl_GetPrintWrapMode, METH_VARARGS | METH_KEYWORDS }, | |
12162 | { "wxStyledTextCtrl_SetPrintWrapMode", (PyCFunction) _wrap_wxStyledTextCtrl_SetPrintWrapMode, METH_VARARGS | METH_KEYWORDS }, | |
47a06a26 RD |
12163 | { "wxStyledTextCtrl_SetYCaretPolicy", (PyCFunction) _wrap_wxStyledTextCtrl_SetYCaretPolicy, METH_VARARGS | METH_KEYWORDS }, |
12164 | { "wxStyledTextCtrl_SetXCaretPolicy", (PyCFunction) _wrap_wxStyledTextCtrl_SetXCaretPolicy, METH_VARARGS | METH_KEYWORDS }, | |
1fded56b | 12165 | { "wxStyledTextCtrl_ChooseCaretX", (PyCFunction) _wrap_wxStyledTextCtrl_ChooseCaretX, METH_VARARGS | METH_KEYWORDS }, |
c3bfa1cb RD |
12166 | { "wxStyledTextCtrl_GetXOffset", (PyCFunction) _wrap_wxStyledTextCtrl_GetXOffset, METH_VARARGS | METH_KEYWORDS }, |
12167 | { "wxStyledTextCtrl_SetXOffset", (PyCFunction) _wrap_wxStyledTextCtrl_SetXOffset, METH_VARARGS | METH_KEYWORDS }, | |
8a2fa5c8 RD |
12168 | { "wxStyledTextCtrl_DelLineRight", (PyCFunction) _wrap_wxStyledTextCtrl_DelLineRight, METH_VARARGS | METH_KEYWORDS }, |
12169 | { "wxStyledTextCtrl_DelLineLeft", (PyCFunction) _wrap_wxStyledTextCtrl_DelLineLeft, METH_VARARGS | METH_KEYWORDS }, | |
12170 | { "wxStyledTextCtrl_SetVisiblePolicy", (PyCFunction) _wrap_wxStyledTextCtrl_SetVisiblePolicy, METH_VARARGS | METH_KEYWORDS }, | |
12171 | { "wxStyledTextCtrl_WordPartRightExtend", (PyCFunction) _wrap_wxStyledTextCtrl_WordPartRightExtend, METH_VARARGS | METH_KEYWORDS }, | |
12172 | { "wxStyledTextCtrl_WordPartRight", (PyCFunction) _wrap_wxStyledTextCtrl_WordPartRight, METH_VARARGS | METH_KEYWORDS }, | |
12173 | { "wxStyledTextCtrl_WordPartLeftExtend", (PyCFunction) _wrap_wxStyledTextCtrl_WordPartLeftExtend, METH_VARARGS | METH_KEYWORDS }, | |
12174 | { "wxStyledTextCtrl_WordPartLeft", (PyCFunction) _wrap_wxStyledTextCtrl_WordPartLeft, METH_VARARGS | METH_KEYWORDS }, | |
c3bfa1cb RD |
12175 | { "wxStyledTextCtrl_GetControlCharSymbol", (PyCFunction) _wrap_wxStyledTextCtrl_GetControlCharSymbol, METH_VARARGS | METH_KEYWORDS }, |
12176 | { "wxStyledTextCtrl_SetControlCharSymbol", (PyCFunction) _wrap_wxStyledTextCtrl_SetControlCharSymbol, METH_VARARGS | METH_KEYWORDS }, | |
854e7dc3 RD |
12177 | { "wxStyledTextCtrl_GetSTCCursor", (PyCFunction) _wrap_wxStyledTextCtrl_GetSTCCursor, METH_VARARGS | METH_KEYWORDS }, |
12178 | { "wxStyledTextCtrl_SetSTCCursor", (PyCFunction) _wrap_wxStyledTextCtrl_SetSTCCursor, METH_VARARGS | METH_KEYWORDS }, | |
8a2fa5c8 RD |
12179 | { "wxStyledTextCtrl_GetMouseDownCaptures", (PyCFunction) _wrap_wxStyledTextCtrl_GetMouseDownCaptures, METH_VARARGS | METH_KEYWORDS }, |
12180 | { "wxStyledTextCtrl_SetMouseDownCaptures", (PyCFunction) _wrap_wxStyledTextCtrl_SetMouseDownCaptures, METH_VARARGS | METH_KEYWORDS }, | |
12181 | { "wxStyledTextCtrl_GetStatus", (PyCFunction) _wrap_wxStyledTextCtrl_GetStatus, METH_VARARGS | METH_KEYWORDS }, | |
12182 | { "wxStyledTextCtrl_SetStatus", (PyCFunction) _wrap_wxStyledTextCtrl_SetStatus, METH_VARARGS | METH_KEYWORDS }, | |
12183 | { "wxStyledTextCtrl_GetSTCFocus", (PyCFunction) _wrap_wxStyledTextCtrl_GetSTCFocus, METH_VARARGS | METH_KEYWORDS }, | |
12184 | { "wxStyledTextCtrl_SetSTCFocus", (PyCFunction) _wrap_wxStyledTextCtrl_SetSTCFocus, METH_VARARGS | METH_KEYWORDS }, | |
12185 | { "wxStyledTextCtrl_GetModEventMask", (PyCFunction) _wrap_wxStyledTextCtrl_GetModEventMask, METH_VARARGS | METH_KEYWORDS }, | |
12186 | { "wxStyledTextCtrl_ReleaseDocument", (PyCFunction) _wrap_wxStyledTextCtrl_ReleaseDocument, METH_VARARGS | METH_KEYWORDS }, | |
12187 | { "wxStyledTextCtrl_AddRefDocument", (PyCFunction) _wrap_wxStyledTextCtrl_AddRefDocument, METH_VARARGS | METH_KEYWORDS }, | |
12188 | { "wxStyledTextCtrl_CreateDocument", (PyCFunction) _wrap_wxStyledTextCtrl_CreateDocument, METH_VARARGS | METH_KEYWORDS }, | |
12189 | { "wxStyledTextCtrl_GetZoom", (PyCFunction) _wrap_wxStyledTextCtrl_GetZoom, METH_VARARGS | METH_KEYWORDS }, | |
12190 | { "wxStyledTextCtrl_SetZoom", (PyCFunction) _wrap_wxStyledTextCtrl_SetZoom, METH_VARARGS | METH_KEYWORDS }, | |
12191 | { "wxStyledTextCtrl_SelectionIsRectangle", (PyCFunction) _wrap_wxStyledTextCtrl_SelectionIsRectangle, METH_VARARGS | METH_KEYWORDS }, | |
12192 | { "wxStyledTextCtrl_UsePopUp", (PyCFunction) _wrap_wxStyledTextCtrl_UsePopUp, METH_VARARGS | METH_KEYWORDS }, | |
12193 | { "wxStyledTextCtrl_LinesOnScreen", (PyCFunction) _wrap_wxStyledTextCtrl_LinesOnScreen, METH_VARARGS | METH_KEYWORDS }, | |
8a2fa5c8 RD |
12194 | { "wxStyledTextCtrl_SearchPrev", (PyCFunction) _wrap_wxStyledTextCtrl_SearchPrev, METH_VARARGS | METH_KEYWORDS }, |
12195 | { "wxStyledTextCtrl_SearchNext", (PyCFunction) _wrap_wxStyledTextCtrl_SearchNext, METH_VARARGS | METH_KEYWORDS }, | |
12196 | { "wxStyledTextCtrl_SearchAnchor", (PyCFunction) _wrap_wxStyledTextCtrl_SearchAnchor, METH_VARARGS | METH_KEYWORDS }, | |
12197 | { "wxStyledTextCtrl_SetEdgeColour", (PyCFunction) _wrap_wxStyledTextCtrl_SetEdgeColour, METH_VARARGS | METH_KEYWORDS }, | |
12198 | { "wxStyledTextCtrl_GetEdgeColour", (PyCFunction) _wrap_wxStyledTextCtrl_GetEdgeColour, METH_VARARGS | METH_KEYWORDS }, | |
12199 | { "wxStyledTextCtrl_SetEdgeMode", (PyCFunction) _wrap_wxStyledTextCtrl_SetEdgeMode, METH_VARARGS | METH_KEYWORDS }, | |
12200 | { "wxStyledTextCtrl_GetEdgeMode", (PyCFunction) _wrap_wxStyledTextCtrl_GetEdgeMode, METH_VARARGS | METH_KEYWORDS }, | |
12201 | { "wxStyledTextCtrl_SetEdgeColumn", (PyCFunction) _wrap_wxStyledTextCtrl_SetEdgeColumn, METH_VARARGS | METH_KEYWORDS }, | |
12202 | { "wxStyledTextCtrl_GetEdgeColumn", (PyCFunction) _wrap_wxStyledTextCtrl_GetEdgeColumn, METH_VARARGS | METH_KEYWORDS }, | |
12203 | { "wxStyledTextCtrl_SetModEventMask", (PyCFunction) _wrap_wxStyledTextCtrl_SetModEventMask, METH_VARARGS | METH_KEYWORDS }, | |
12204 | { "wxStyledTextCtrl_SetDocPointer", (PyCFunction) _wrap_wxStyledTextCtrl_SetDocPointer, METH_VARARGS | METH_KEYWORDS }, | |
12205 | { "wxStyledTextCtrl_GetDocPointer", (PyCFunction) _wrap_wxStyledTextCtrl_GetDocPointer, METH_VARARGS | METH_KEYWORDS }, | |
12206 | { "wxStyledTextCtrl_SetViewEOL", (PyCFunction) _wrap_wxStyledTextCtrl_SetViewEOL, METH_VARARGS | METH_KEYWORDS }, | |
12207 | { "wxStyledTextCtrl_GetViewEOL", (PyCFunction) _wrap_wxStyledTextCtrl_GetViewEOL, METH_VARARGS | METH_KEYWORDS }, | |
12208 | { "wxStyledTextCtrl_BraceMatch", (PyCFunction) _wrap_wxStyledTextCtrl_BraceMatch, METH_VARARGS | METH_KEYWORDS }, | |
12209 | { "wxStyledTextCtrl_BraceBadLight", (PyCFunction) _wrap_wxStyledTextCtrl_BraceBadLight, METH_VARARGS | METH_KEYWORDS }, | |
12210 | { "wxStyledTextCtrl_BraceHighlight", (PyCFunction) _wrap_wxStyledTextCtrl_BraceHighlight, METH_VARARGS | METH_KEYWORDS }, | |
12211 | { "wxStyledTextCtrl_LineLength", (PyCFunction) _wrap_wxStyledTextCtrl_LineLength, METH_VARARGS | METH_KEYWORDS }, | |
12212 | { "wxStyledTextCtrl_MoveCaretInsideView", (PyCFunction) _wrap_wxStyledTextCtrl_MoveCaretInsideView, METH_VARARGS | METH_KEYWORDS }, | |
d84a9306 | 12213 | { "wxStyledTextCtrl_LineCopy", (PyCFunction) _wrap_wxStyledTextCtrl_LineCopy, METH_VARARGS | METH_KEYWORDS }, |
47a06a26 RD |
12214 | { "wxStyledTextCtrl_LineEndDisplayExtend", (PyCFunction) _wrap_wxStyledTextCtrl_LineEndDisplayExtend, METH_VARARGS | METH_KEYWORDS }, |
12215 | { "wxStyledTextCtrl_LineEndDisplay", (PyCFunction) _wrap_wxStyledTextCtrl_LineEndDisplay, METH_VARARGS | METH_KEYWORDS }, | |
12216 | { "wxStyledTextCtrl_HomeDisplayExtend", (PyCFunction) _wrap_wxStyledTextCtrl_HomeDisplayExtend, METH_VARARGS | METH_KEYWORDS }, | |
12217 | { "wxStyledTextCtrl_HomeDisplay", (PyCFunction) _wrap_wxStyledTextCtrl_HomeDisplay, METH_VARARGS | METH_KEYWORDS }, | |
1fded56b RD |
12218 | { "wxStyledTextCtrl_LineDuplicate", (PyCFunction) _wrap_wxStyledTextCtrl_LineDuplicate, METH_VARARGS | METH_KEYWORDS }, |
12219 | { "wxStyledTextCtrl_SetFoldMarginHiColour", (PyCFunction) _wrap_wxStyledTextCtrl_SetFoldMarginHiColour, METH_VARARGS | METH_KEYWORDS }, | |
12220 | { "wxStyledTextCtrl_SetFoldMarginColour", (PyCFunction) _wrap_wxStyledTextCtrl_SetFoldMarginColour, METH_VARARGS | METH_KEYWORDS }, | |
12221 | { "wxStyledTextCtrl_LinesSplit", (PyCFunction) _wrap_wxStyledTextCtrl_LinesSplit, METH_VARARGS | METH_KEYWORDS }, | |
12222 | { "wxStyledTextCtrl_LinesJoin", (PyCFunction) _wrap_wxStyledTextCtrl_LinesJoin, METH_VARARGS | METH_KEYWORDS }, | |
12223 | { "wxStyledTextCtrl_TargetFromSelection", (PyCFunction) _wrap_wxStyledTextCtrl_TargetFromSelection, METH_VARARGS | METH_KEYWORDS }, | |
12224 | { "wxStyledTextCtrl_SetTwoPhaseDraw", (PyCFunction) _wrap_wxStyledTextCtrl_SetTwoPhaseDraw, METH_VARARGS | METH_KEYWORDS }, | |
12225 | { "wxStyledTextCtrl_GetTwoPhaseDraw", (PyCFunction) _wrap_wxStyledTextCtrl_GetTwoPhaseDraw, METH_VARARGS | METH_KEYWORDS }, | |
12226 | { "wxStyledTextCtrl_AppendText", (PyCFunction) _wrap_wxStyledTextCtrl_AppendText, METH_VARARGS | METH_KEYWORDS }, | |
12227 | { "wxStyledTextCtrl_GetUseVerticalScrollBar", (PyCFunction) _wrap_wxStyledTextCtrl_GetUseVerticalScrollBar, METH_VARARGS | METH_KEYWORDS }, | |
12228 | { "wxStyledTextCtrl_SetUseVerticalScrollBar", (PyCFunction) _wrap_wxStyledTextCtrl_SetUseVerticalScrollBar, METH_VARARGS | METH_KEYWORDS }, | |
47a06a26 RD |
12229 | { "wxStyledTextCtrl_TextHeight", (PyCFunction) _wrap_wxStyledTextCtrl_TextHeight, METH_VARARGS | METH_KEYWORDS }, |
12230 | { "wxStyledTextCtrl_GetEndAtLastLine", (PyCFunction) _wrap_wxStyledTextCtrl_GetEndAtLastLine, METH_VARARGS | METH_KEYWORDS }, | |
12231 | { "wxStyledTextCtrl_SetEndAtLastLine", (PyCFunction) _wrap_wxStyledTextCtrl_SetEndAtLastLine, METH_VARARGS | METH_KEYWORDS }, | |
12232 | { "wxStyledTextCtrl_TextWidth", (PyCFunction) _wrap_wxStyledTextCtrl_TextWidth, METH_VARARGS | METH_KEYWORDS }, | |
12233 | { "wxStyledTextCtrl_GetScrollWidth", (PyCFunction) _wrap_wxStyledTextCtrl_GetScrollWidth, METH_VARARGS | METH_KEYWORDS }, | |
12234 | { "wxStyledTextCtrl_SetScrollWidth", (PyCFunction) _wrap_wxStyledTextCtrl_SetScrollWidth, METH_VARARGS | METH_KEYWORDS }, | |
c3bfa1cb RD |
12235 | { "wxStyledTextCtrl_GetLayoutCache", (PyCFunction) _wrap_wxStyledTextCtrl_GetLayoutCache, METH_VARARGS | METH_KEYWORDS }, |
12236 | { "wxStyledTextCtrl_SetLayoutCache", (PyCFunction) _wrap_wxStyledTextCtrl_SetLayoutCache, METH_VARARGS | METH_KEYWORDS }, | |
12237 | { "wxStyledTextCtrl_GetWrapMode", (PyCFunction) _wrap_wxStyledTextCtrl_GetWrapMode, METH_VARARGS | METH_KEYWORDS }, | |
12238 | { "wxStyledTextCtrl_SetWrapMode", (PyCFunction) _wrap_wxStyledTextCtrl_SetWrapMode, METH_VARARGS | METH_KEYWORDS }, | |
12239 | { "wxStyledTextCtrl_WordEndPosition", (PyCFunction) _wrap_wxStyledTextCtrl_WordEndPosition, METH_VARARGS | METH_KEYWORDS }, | |
12240 | { "wxStyledTextCtrl_WordStartPosition", (PyCFunction) _wrap_wxStyledTextCtrl_WordStartPosition, METH_VARARGS | METH_KEYWORDS }, | |
8a2fa5c8 RD |
12241 | { "wxStyledTextCtrl_GetMouseDwellTime", (PyCFunction) _wrap_wxStyledTextCtrl_GetMouseDwellTime, METH_VARARGS | METH_KEYWORDS }, |
12242 | { "wxStyledTextCtrl_SetMouseDwellTime", (PyCFunction) _wrap_wxStyledTextCtrl_SetMouseDwellTime, METH_VARARGS | METH_KEYWORDS }, | |
12243 | { "wxStyledTextCtrl_GetBackSpaceUnIndents", (PyCFunction) _wrap_wxStyledTextCtrl_GetBackSpaceUnIndents, METH_VARARGS | METH_KEYWORDS }, | |
12244 | { "wxStyledTextCtrl_SetBackSpaceUnIndents", (PyCFunction) _wrap_wxStyledTextCtrl_SetBackSpaceUnIndents, METH_VARARGS | METH_KEYWORDS }, | |
12245 | { "wxStyledTextCtrl_GetTabIndents", (PyCFunction) _wrap_wxStyledTextCtrl_GetTabIndents, METH_VARARGS | METH_KEYWORDS }, | |
12246 | { "wxStyledTextCtrl_SetTabIndents", (PyCFunction) _wrap_wxStyledTextCtrl_SetTabIndents, METH_VARARGS | METH_KEYWORDS }, | |
12247 | { "wxStyledTextCtrl_EnsureVisibleEnforcePolicy", (PyCFunction) _wrap_wxStyledTextCtrl_EnsureVisibleEnforcePolicy, METH_VARARGS | METH_KEYWORDS }, | |
12248 | { "wxStyledTextCtrl_SetFoldFlags", (PyCFunction) _wrap_wxStyledTextCtrl_SetFoldFlags, METH_VARARGS | METH_KEYWORDS }, | |
12249 | { "wxStyledTextCtrl_EnsureVisible", (PyCFunction) _wrap_wxStyledTextCtrl_EnsureVisible, METH_VARARGS | METH_KEYWORDS }, | |
12250 | { "wxStyledTextCtrl_ToggleFold", (PyCFunction) _wrap_wxStyledTextCtrl_ToggleFold, METH_VARARGS | METH_KEYWORDS }, | |
12251 | { "wxStyledTextCtrl_GetFoldExpanded", (PyCFunction) _wrap_wxStyledTextCtrl_GetFoldExpanded, METH_VARARGS | METH_KEYWORDS }, | |
12252 | { "wxStyledTextCtrl_SetFoldExpanded", (PyCFunction) _wrap_wxStyledTextCtrl_SetFoldExpanded, METH_VARARGS | METH_KEYWORDS }, | |
12253 | { "wxStyledTextCtrl_GetLineVisible", (PyCFunction) _wrap_wxStyledTextCtrl_GetLineVisible, METH_VARARGS | METH_KEYWORDS }, | |
12254 | { "wxStyledTextCtrl_HideLines", (PyCFunction) _wrap_wxStyledTextCtrl_HideLines, METH_VARARGS | METH_KEYWORDS }, | |
12255 | { "wxStyledTextCtrl_ShowLines", (PyCFunction) _wrap_wxStyledTextCtrl_ShowLines, METH_VARARGS | METH_KEYWORDS }, | |
12256 | { "wxStyledTextCtrl_GetFoldParent", (PyCFunction) _wrap_wxStyledTextCtrl_GetFoldParent, METH_VARARGS | METH_KEYWORDS }, | |
12257 | { "wxStyledTextCtrl_GetLastChild", (PyCFunction) _wrap_wxStyledTextCtrl_GetLastChild, METH_VARARGS | METH_KEYWORDS }, | |
12258 | { "wxStyledTextCtrl_GetFoldLevel", (PyCFunction) _wrap_wxStyledTextCtrl_GetFoldLevel, METH_VARARGS | METH_KEYWORDS }, | |
12259 | { "wxStyledTextCtrl_SetFoldLevel", (PyCFunction) _wrap_wxStyledTextCtrl_SetFoldLevel, METH_VARARGS | METH_KEYWORDS }, | |
12260 | { "wxStyledTextCtrl_DocLineFromVisible", (PyCFunction) _wrap_wxStyledTextCtrl_DocLineFromVisible, METH_VARARGS | METH_KEYWORDS }, | |
12261 | { "wxStyledTextCtrl_VisibleFromDocLine", (PyCFunction) _wrap_wxStyledTextCtrl_VisibleFromDocLine, METH_VARARGS | METH_KEYWORDS }, | |
1fded56b RD |
12262 | { "wxStyledTextCtrl_CallTipSetForegroundHighlight", (PyCFunction) _wrap_wxStyledTextCtrl_CallTipSetForegroundHighlight, METH_VARARGS | METH_KEYWORDS }, |
12263 | { "wxStyledTextCtrl_CallTipSetForeground", (PyCFunction) _wrap_wxStyledTextCtrl_CallTipSetForeground, METH_VARARGS | METH_KEYWORDS }, | |
8a2fa5c8 RD |
12264 | { "wxStyledTextCtrl_CallTipSetBackground", (PyCFunction) _wrap_wxStyledTextCtrl_CallTipSetBackground, METH_VARARGS | METH_KEYWORDS }, |
12265 | { "wxStyledTextCtrl_CallTipSetHighlight", (PyCFunction) _wrap_wxStyledTextCtrl_CallTipSetHighlight, METH_VARARGS | METH_KEYWORDS }, | |
12266 | { "wxStyledTextCtrl_CallTipPosAtStart", (PyCFunction) _wrap_wxStyledTextCtrl_CallTipPosAtStart, METH_VARARGS | METH_KEYWORDS }, | |
12267 | { "wxStyledTextCtrl_CallTipActive", (PyCFunction) _wrap_wxStyledTextCtrl_CallTipActive, METH_VARARGS | METH_KEYWORDS }, | |
12268 | { "wxStyledTextCtrl_CallTipCancel", (PyCFunction) _wrap_wxStyledTextCtrl_CallTipCancel, METH_VARARGS | METH_KEYWORDS }, | |
12269 | { "wxStyledTextCtrl_CallTipShow", (PyCFunction) _wrap_wxStyledTextCtrl_CallTipShow, METH_VARARGS | METH_KEYWORDS }, | |
12270 | { "wxStyledTextCtrl_GetSearchFlags", (PyCFunction) _wrap_wxStyledTextCtrl_GetSearchFlags, METH_VARARGS | METH_KEYWORDS }, | |
12271 | { "wxStyledTextCtrl_SetSearchFlags", (PyCFunction) _wrap_wxStyledTextCtrl_SetSearchFlags, METH_VARARGS | METH_KEYWORDS }, | |
12272 | { "wxStyledTextCtrl_SearchInTarget", (PyCFunction) _wrap_wxStyledTextCtrl_SearchInTarget, METH_VARARGS | METH_KEYWORDS }, | |
12273 | { "wxStyledTextCtrl_ReplaceTargetRE", (PyCFunction) _wrap_wxStyledTextCtrl_ReplaceTargetRE, METH_VARARGS | METH_KEYWORDS }, | |
12274 | { "wxStyledTextCtrl_ReplaceTarget", (PyCFunction) _wrap_wxStyledTextCtrl_ReplaceTarget, METH_VARARGS | METH_KEYWORDS }, | |
12275 | { "wxStyledTextCtrl_GetTargetEnd", (PyCFunction) _wrap_wxStyledTextCtrl_GetTargetEnd, METH_VARARGS | METH_KEYWORDS }, | |
12276 | { "wxStyledTextCtrl_SetTargetEnd", (PyCFunction) _wrap_wxStyledTextCtrl_SetTargetEnd, METH_VARARGS | METH_KEYWORDS }, | |
12277 | { "wxStyledTextCtrl_GetTargetStart", (PyCFunction) _wrap_wxStyledTextCtrl_GetTargetStart, METH_VARARGS | METH_KEYWORDS }, | |
12278 | { "wxStyledTextCtrl_SetTargetStart", (PyCFunction) _wrap_wxStyledTextCtrl_SetTargetStart, METH_VARARGS | METH_KEYWORDS }, | |
12279 | { "wxStyledTextCtrl_GetCaretWidth", (PyCFunction) _wrap_wxStyledTextCtrl_GetCaretWidth, METH_VARARGS | METH_KEYWORDS }, | |
12280 | { "wxStyledTextCtrl_SetCaretWidth", (PyCFunction) _wrap_wxStyledTextCtrl_SetCaretWidth, METH_VARARGS | METH_KEYWORDS }, | |
12281 | { "wxStyledTextCtrl_GetOvertype", (PyCFunction) _wrap_wxStyledTextCtrl_GetOvertype, METH_VARARGS | METH_KEYWORDS }, | |
12282 | { "wxStyledTextCtrl_SetOvertype", (PyCFunction) _wrap_wxStyledTextCtrl_SetOvertype, METH_VARARGS | METH_KEYWORDS }, | |
12283 | { "wxStyledTextCtrl_GetTextLength", (PyCFunction) _wrap_wxStyledTextCtrl_GetTextLength, METH_VARARGS | METH_KEYWORDS }, | |
12284 | { "wxStyledTextCtrl_GetText", (PyCFunction) _wrap_wxStyledTextCtrl_GetText, METH_VARARGS | METH_KEYWORDS }, | |
12285 | { "wxStyledTextCtrl_SetText", (PyCFunction) _wrap_wxStyledTextCtrl_SetText, METH_VARARGS | METH_KEYWORDS }, | |
12286 | { "wxStyledTextCtrl_Clear", (PyCFunction) _wrap_wxStyledTextCtrl_Clear, METH_VARARGS | METH_KEYWORDS }, | |
12287 | { "wxStyledTextCtrl_Paste", (PyCFunction) _wrap_wxStyledTextCtrl_Paste, METH_VARARGS | METH_KEYWORDS }, | |
12288 | { "wxStyledTextCtrl_Copy", (PyCFunction) _wrap_wxStyledTextCtrl_Copy, METH_VARARGS | METH_KEYWORDS }, | |
12289 | { "wxStyledTextCtrl_Cut", (PyCFunction) _wrap_wxStyledTextCtrl_Cut, METH_VARARGS | METH_KEYWORDS }, | |
12290 | { "wxStyledTextCtrl_Undo", (PyCFunction) _wrap_wxStyledTextCtrl_Undo, METH_VARARGS | METH_KEYWORDS }, | |
12291 | { "wxStyledTextCtrl_EmptyUndoBuffer", (PyCFunction) _wrap_wxStyledTextCtrl_EmptyUndoBuffer, METH_VARARGS | METH_KEYWORDS }, | |
12292 | { "wxStyledTextCtrl_CanUndo", (PyCFunction) _wrap_wxStyledTextCtrl_CanUndo, METH_VARARGS | METH_KEYWORDS }, | |
12293 | { "wxStyledTextCtrl_CanPaste", (PyCFunction) _wrap_wxStyledTextCtrl_CanPaste, METH_VARARGS | METH_KEYWORDS }, | |
12294 | { "wxStyledTextCtrl_SetReadOnly", (PyCFunction) _wrap_wxStyledTextCtrl_SetReadOnly, METH_VARARGS | METH_KEYWORDS }, | |
12295 | { "wxStyledTextCtrl_ReplaceSelection", (PyCFunction) _wrap_wxStyledTextCtrl_ReplaceSelection, METH_VARARGS | METH_KEYWORDS }, | |
12296 | { "wxStyledTextCtrl_EnsureCaretVisible", (PyCFunction) _wrap_wxStyledTextCtrl_EnsureCaretVisible, METH_VARARGS | METH_KEYWORDS }, | |
12297 | { "wxStyledTextCtrl_LineScroll", (PyCFunction) _wrap_wxStyledTextCtrl_LineScroll, METH_VARARGS | METH_KEYWORDS }, | |
12298 | { "wxStyledTextCtrl_PositionFromLine", (PyCFunction) _wrap_wxStyledTextCtrl_PositionFromLine, METH_VARARGS | METH_KEYWORDS }, | |
12299 | { "wxStyledTextCtrl_LineFromPosition", (PyCFunction) _wrap_wxStyledTextCtrl_LineFromPosition, METH_VARARGS | METH_KEYWORDS }, | |
12300 | { "wxStyledTextCtrl_HideSelection", (PyCFunction) _wrap_wxStyledTextCtrl_HideSelection, METH_VARARGS | METH_KEYWORDS }, | |
12301 | { "wxStyledTextCtrl_GetTextRange", (PyCFunction) _wrap_wxStyledTextCtrl_GetTextRange, METH_VARARGS | METH_KEYWORDS }, | |
12302 | { "wxStyledTextCtrl_GetSelectedText", (PyCFunction) _wrap_wxStyledTextCtrl_GetSelectedText, METH_VARARGS | METH_KEYWORDS }, | |
12303 | { "wxStyledTextCtrl_SetSelection", (PyCFunction) _wrap_wxStyledTextCtrl_SetSelection, METH_VARARGS | METH_KEYWORDS }, | |
12304 | { "wxStyledTextCtrl_GetModify", (PyCFunction) _wrap_wxStyledTextCtrl_GetModify, METH_VARARGS | METH_KEYWORDS }, | |
12305 | { "wxStyledTextCtrl_GetMarginRight", (PyCFunction) _wrap_wxStyledTextCtrl_GetMarginRight, METH_VARARGS | METH_KEYWORDS }, | |
12306 | { "wxStyledTextCtrl_SetMarginRight", (PyCFunction) _wrap_wxStyledTextCtrl_SetMarginRight, METH_VARARGS | METH_KEYWORDS }, | |
12307 | { "wxStyledTextCtrl_GetMarginLeft", (PyCFunction) _wrap_wxStyledTextCtrl_GetMarginLeft, METH_VARARGS | METH_KEYWORDS }, | |
12308 | { "wxStyledTextCtrl_SetMarginLeft", (PyCFunction) _wrap_wxStyledTextCtrl_SetMarginLeft, METH_VARARGS | METH_KEYWORDS }, | |
12309 | { "wxStyledTextCtrl_GetLineCount", (PyCFunction) _wrap_wxStyledTextCtrl_GetLineCount, METH_VARARGS | METH_KEYWORDS }, | |
12310 | { "wxStyledTextCtrl_GetLine", (PyCFunction) _wrap_wxStyledTextCtrl_GetLine, METH_VARARGS | METH_KEYWORDS }, | |
12311 | { "wxStyledTextCtrl_GetFirstVisibleLine", (PyCFunction) _wrap_wxStyledTextCtrl_GetFirstVisibleLine, METH_VARARGS | METH_KEYWORDS }, | |
12312 | { "wxStyledTextCtrl_FormatRange", (PyCFunction) _wrap_wxStyledTextCtrl_FormatRange, METH_VARARGS | METH_KEYWORDS }, | |
12313 | { "wxStyledTextCtrl_FindText", (PyCFunction) _wrap_wxStyledTextCtrl_FindText, METH_VARARGS | METH_KEYWORDS }, | |
12314 | { "wxStyledTextCtrl_GetPrintColourMode", (PyCFunction) _wrap_wxStyledTextCtrl_GetPrintColourMode, METH_VARARGS | METH_KEYWORDS }, | |
12315 | { "wxStyledTextCtrl_SetPrintColourMode", (PyCFunction) _wrap_wxStyledTextCtrl_SetPrintColourMode, METH_VARARGS | METH_KEYWORDS }, | |
12316 | { "wxStyledTextCtrl_GetPrintMagnification", (PyCFunction) _wrap_wxStyledTextCtrl_GetPrintMagnification, METH_VARARGS | METH_KEYWORDS }, | |
12317 | { "wxStyledTextCtrl_SetPrintMagnification", (PyCFunction) _wrap_wxStyledTextCtrl_SetPrintMagnification, METH_VARARGS | METH_KEYWORDS }, | |
12318 | { "wxStyledTextCtrl_GetSelectionEnd", (PyCFunction) _wrap_wxStyledTextCtrl_GetSelectionEnd, METH_VARARGS | METH_KEYWORDS }, | |
12319 | { "wxStyledTextCtrl_SetSelectionEnd", (PyCFunction) _wrap_wxStyledTextCtrl_SetSelectionEnd, METH_VARARGS | METH_KEYWORDS }, | |
12320 | { "wxStyledTextCtrl_GetSelectionStart", (PyCFunction) _wrap_wxStyledTextCtrl_GetSelectionStart, METH_VARARGS | METH_KEYWORDS }, | |
12321 | { "wxStyledTextCtrl_SetSelectionStart", (PyCFunction) _wrap_wxStyledTextCtrl_SetSelectionStart, METH_VARARGS | METH_KEYWORDS }, | |
12322 | { "wxStyledTextCtrl_SetCurrentPos", (PyCFunction) _wrap_wxStyledTextCtrl_SetCurrentPos, METH_VARARGS | METH_KEYWORDS }, | |
12323 | { "wxStyledTextCtrl_GetReadOnly", (PyCFunction) _wrap_wxStyledTextCtrl_GetReadOnly, METH_VARARGS | METH_KEYWORDS }, | |
12324 | { "wxStyledTextCtrl_GetCaretForeground", (PyCFunction) _wrap_wxStyledTextCtrl_GetCaretForeground, METH_VARARGS | METH_KEYWORDS }, | |
12325 | { "wxStyledTextCtrl_GetCodePage", (PyCFunction) _wrap_wxStyledTextCtrl_GetCodePage, METH_VARARGS | METH_KEYWORDS }, | |
12326 | { "wxStyledTextCtrl_GetLineEndPosition", (PyCFunction) _wrap_wxStyledTextCtrl_GetLineEndPosition, METH_VARARGS | METH_KEYWORDS }, | |
12327 | { "wxStyledTextCtrl_GetHighlightGuide", (PyCFunction) _wrap_wxStyledTextCtrl_GetHighlightGuide, METH_VARARGS | METH_KEYWORDS }, | |
12328 | { "wxStyledTextCtrl_SetHighlightGuide", (PyCFunction) _wrap_wxStyledTextCtrl_SetHighlightGuide, METH_VARARGS | METH_KEYWORDS }, | |
12329 | { "wxStyledTextCtrl_GetIndentationGuides", (PyCFunction) _wrap_wxStyledTextCtrl_GetIndentationGuides, METH_VARARGS | METH_KEYWORDS }, | |
12330 | { "wxStyledTextCtrl_SetIndentationGuides", (PyCFunction) _wrap_wxStyledTextCtrl_SetIndentationGuides, METH_VARARGS | METH_KEYWORDS }, | |
12331 | { "wxStyledTextCtrl_GetUseHorizontalScrollBar", (PyCFunction) _wrap_wxStyledTextCtrl_GetUseHorizontalScrollBar, METH_VARARGS | METH_KEYWORDS }, | |
12332 | { "wxStyledTextCtrl_SetUseHorizontalScrollBar", (PyCFunction) _wrap_wxStyledTextCtrl_SetUseHorizontalScrollBar, METH_VARARGS | METH_KEYWORDS }, | |
12333 | { "wxStyledTextCtrl_GetColumn", (PyCFunction) _wrap_wxStyledTextCtrl_GetColumn, METH_VARARGS | METH_KEYWORDS }, | |
12334 | { "wxStyledTextCtrl_GetLineIndentPosition", (PyCFunction) _wrap_wxStyledTextCtrl_GetLineIndentPosition, METH_VARARGS | METH_KEYWORDS }, | |
12335 | { "wxStyledTextCtrl_GetLineIndentation", (PyCFunction) _wrap_wxStyledTextCtrl_GetLineIndentation, METH_VARARGS | METH_KEYWORDS }, | |
12336 | { "wxStyledTextCtrl_SetLineIndentation", (PyCFunction) _wrap_wxStyledTextCtrl_SetLineIndentation, METH_VARARGS | METH_KEYWORDS }, | |
12337 | { "wxStyledTextCtrl_GetUseTabs", (PyCFunction) _wrap_wxStyledTextCtrl_GetUseTabs, METH_VARARGS | METH_KEYWORDS }, | |
12338 | { "wxStyledTextCtrl_SetUseTabs", (PyCFunction) _wrap_wxStyledTextCtrl_SetUseTabs, METH_VARARGS | METH_KEYWORDS }, | |
12339 | { "wxStyledTextCtrl_GetIndent", (PyCFunction) _wrap_wxStyledTextCtrl_GetIndent, METH_VARARGS | METH_KEYWORDS }, | |
12340 | { "wxStyledTextCtrl_SetIndent", (PyCFunction) _wrap_wxStyledTextCtrl_SetIndent, METH_VARARGS | METH_KEYWORDS }, | |
1fded56b RD |
12341 | { "wxStyledTextCtrl_AutoCompSetTypeSeparator", (PyCFunction) _wrap_wxStyledTextCtrl_AutoCompSetTypeSeparator, METH_VARARGS | METH_KEYWORDS }, |
12342 | { "wxStyledTextCtrl_AutoCompGetTypeSeparator", (PyCFunction) _wrap_wxStyledTextCtrl_AutoCompGetTypeSeparator, METH_VARARGS | METH_KEYWORDS }, | |
12343 | { "wxStyledTextCtrl_ClearRegisteredImages", (PyCFunction) _wrap_wxStyledTextCtrl_ClearRegisteredImages, METH_VARARGS | METH_KEYWORDS }, | |
12344 | { "wxStyledTextCtrl_RegisterImage", (PyCFunction) _wrap_wxStyledTextCtrl_RegisterImage, METH_VARARGS | METH_KEYWORDS }, | |
c3bfa1cb RD |
12345 | { "wxStyledTextCtrl_AutoCompGetDropRestOfWord", (PyCFunction) _wrap_wxStyledTextCtrl_AutoCompGetDropRestOfWord, METH_VARARGS | METH_KEYWORDS }, |
12346 | { "wxStyledTextCtrl_AutoCompSetDropRestOfWord", (PyCFunction) _wrap_wxStyledTextCtrl_AutoCompSetDropRestOfWord, METH_VARARGS | METH_KEYWORDS }, | |
8a2fa5c8 RD |
12347 | { "wxStyledTextCtrl_AutoCompGetAutoHide", (PyCFunction) _wrap_wxStyledTextCtrl_AutoCompGetAutoHide, METH_VARARGS | METH_KEYWORDS }, |
12348 | { "wxStyledTextCtrl_AutoCompSetAutoHide", (PyCFunction) _wrap_wxStyledTextCtrl_AutoCompSetAutoHide, METH_VARARGS | METH_KEYWORDS }, | |
12349 | { "wxStyledTextCtrl_UserListShow", (PyCFunction) _wrap_wxStyledTextCtrl_UserListShow, METH_VARARGS | METH_KEYWORDS }, | |
12350 | { "wxStyledTextCtrl_AutoCompGetIgnoreCase", (PyCFunction) _wrap_wxStyledTextCtrl_AutoCompGetIgnoreCase, METH_VARARGS | METH_KEYWORDS }, | |
12351 | { "wxStyledTextCtrl_AutoCompSetIgnoreCase", (PyCFunction) _wrap_wxStyledTextCtrl_AutoCompSetIgnoreCase, METH_VARARGS | METH_KEYWORDS }, | |
12352 | { "wxStyledTextCtrl_AutoCompGetChooseSingle", (PyCFunction) _wrap_wxStyledTextCtrl_AutoCompGetChooseSingle, METH_VARARGS | METH_KEYWORDS }, | |
12353 | { "wxStyledTextCtrl_AutoCompSetChooseSingle", (PyCFunction) _wrap_wxStyledTextCtrl_AutoCompSetChooseSingle, METH_VARARGS | METH_KEYWORDS }, | |
12354 | { "wxStyledTextCtrl_AutoCompSetFillUps", (PyCFunction) _wrap_wxStyledTextCtrl_AutoCompSetFillUps, METH_VARARGS | METH_KEYWORDS }, | |
12355 | { "wxStyledTextCtrl_AutoCompGetCancelAtStart", (PyCFunction) _wrap_wxStyledTextCtrl_AutoCompGetCancelAtStart, METH_VARARGS | METH_KEYWORDS }, | |
12356 | { "wxStyledTextCtrl_AutoCompSetCancelAtStart", (PyCFunction) _wrap_wxStyledTextCtrl_AutoCompSetCancelAtStart, METH_VARARGS | METH_KEYWORDS }, | |
12357 | { "wxStyledTextCtrl_AutoCompSelect", (PyCFunction) _wrap_wxStyledTextCtrl_AutoCompSelect, METH_VARARGS | METH_KEYWORDS }, | |
12358 | { "wxStyledTextCtrl_AutoCompGetSeparator", (PyCFunction) _wrap_wxStyledTextCtrl_AutoCompGetSeparator, METH_VARARGS | METH_KEYWORDS }, | |
12359 | { "wxStyledTextCtrl_AutoCompSetSeparator", (PyCFunction) _wrap_wxStyledTextCtrl_AutoCompSetSeparator, METH_VARARGS | METH_KEYWORDS }, | |
12360 | { "wxStyledTextCtrl_AutoCompStops", (PyCFunction) _wrap_wxStyledTextCtrl_AutoCompStops, METH_VARARGS | METH_KEYWORDS }, | |
12361 | { "wxStyledTextCtrl_AutoCompComplete", (PyCFunction) _wrap_wxStyledTextCtrl_AutoCompComplete, METH_VARARGS | METH_KEYWORDS }, | |
12362 | { "wxStyledTextCtrl_AutoCompPosStart", (PyCFunction) _wrap_wxStyledTextCtrl_AutoCompPosStart, METH_VARARGS | METH_KEYWORDS }, | |
12363 | { "wxStyledTextCtrl_AutoCompActive", (PyCFunction) _wrap_wxStyledTextCtrl_AutoCompActive, METH_VARARGS | METH_KEYWORDS }, | |
12364 | { "wxStyledTextCtrl_AutoCompCancel", (PyCFunction) _wrap_wxStyledTextCtrl_AutoCompCancel, METH_VARARGS | METH_KEYWORDS }, | |
12365 | { "wxStyledTextCtrl_AutoCompShow", (PyCFunction) _wrap_wxStyledTextCtrl_AutoCompShow, METH_VARARGS | METH_KEYWORDS }, | |
c3bfa1cb | 12366 | { "wxStyledTextCtrl_StyleSetChangeable", (PyCFunction) _wrap_wxStyledTextCtrl_StyleSetChangeable, METH_VARARGS | METH_KEYWORDS }, |
8a2fa5c8 RD |
12367 | { "wxStyledTextCtrl_SetCaretLineBack", (PyCFunction) _wrap_wxStyledTextCtrl_SetCaretLineBack, METH_VARARGS | METH_KEYWORDS }, |
12368 | { "wxStyledTextCtrl_GetCaretLineBack", (PyCFunction) _wrap_wxStyledTextCtrl_GetCaretLineBack, METH_VARARGS | METH_KEYWORDS }, | |
12369 | { "wxStyledTextCtrl_SetCaretLineVisible", (PyCFunction) _wrap_wxStyledTextCtrl_SetCaretLineVisible, METH_VARARGS | METH_KEYWORDS }, | |
12370 | { "wxStyledTextCtrl_GetCaretLineVisible", (PyCFunction) _wrap_wxStyledTextCtrl_GetCaretLineVisible, METH_VARARGS | METH_KEYWORDS }, | |
12371 | { "wxStyledTextCtrl_GetMaxLineState", (PyCFunction) _wrap_wxStyledTextCtrl_GetMaxLineState, METH_VARARGS | METH_KEYWORDS }, | |
12372 | { "wxStyledTextCtrl_GetLineState", (PyCFunction) _wrap_wxStyledTextCtrl_GetLineState, METH_VARARGS | METH_KEYWORDS }, | |
12373 | { "wxStyledTextCtrl_SetLineState", (PyCFunction) _wrap_wxStyledTextCtrl_SetLineState, METH_VARARGS | METH_KEYWORDS }, | |
12374 | { "wxStyledTextCtrl_GetStyleBits", (PyCFunction) _wrap_wxStyledTextCtrl_GetStyleBits, METH_VARARGS | METH_KEYWORDS }, | |
12375 | { "wxStyledTextCtrl_SetStyleBits", (PyCFunction) _wrap_wxStyledTextCtrl_SetStyleBits, METH_VARARGS | METH_KEYWORDS }, | |
47a06a26 RD |
12376 | { "wxStyledTextCtrl_SetWhitespaceBackground", (PyCFunction) _wrap_wxStyledTextCtrl_SetWhitespaceBackground, METH_VARARGS | METH_KEYWORDS }, |
12377 | { "wxStyledTextCtrl_SetWhitespaceForeground", (PyCFunction) _wrap_wxStyledTextCtrl_SetWhitespaceForeground, METH_VARARGS | METH_KEYWORDS }, | |
8a2fa5c8 RD |
12378 | { "wxStyledTextCtrl_IndicatorGetForeground", (PyCFunction) _wrap_wxStyledTextCtrl_IndicatorGetForeground, METH_VARARGS | METH_KEYWORDS }, |
12379 | { "wxStyledTextCtrl_IndicatorSetForeground", (PyCFunction) _wrap_wxStyledTextCtrl_IndicatorSetForeground, METH_VARARGS | METH_KEYWORDS }, | |
12380 | { "wxStyledTextCtrl_IndicatorGetStyle", (PyCFunction) _wrap_wxStyledTextCtrl_IndicatorGetStyle, METH_VARARGS | METH_KEYWORDS }, | |
12381 | { "wxStyledTextCtrl_IndicatorSetStyle", (PyCFunction) _wrap_wxStyledTextCtrl_IndicatorSetStyle, METH_VARARGS | METH_KEYWORDS }, | |
12382 | { "wxStyledTextCtrl_EndUndoAction", (PyCFunction) _wrap_wxStyledTextCtrl_EndUndoAction, METH_VARARGS | METH_KEYWORDS }, | |
12383 | { "wxStyledTextCtrl_BeginUndoAction", (PyCFunction) _wrap_wxStyledTextCtrl_BeginUndoAction, METH_VARARGS | METH_KEYWORDS }, | |
12384 | { "wxStyledTextCtrl_SetWordChars", (PyCFunction) _wrap_wxStyledTextCtrl_SetWordChars, METH_VARARGS | METH_KEYWORDS }, | |
12385 | { "wxStyledTextCtrl_SetCaretPeriod", (PyCFunction) _wrap_wxStyledTextCtrl_SetCaretPeriod, METH_VARARGS | METH_KEYWORDS }, | |
12386 | { "wxStyledTextCtrl_GetCaretPeriod", (PyCFunction) _wrap_wxStyledTextCtrl_GetCaretPeriod, METH_VARARGS | METH_KEYWORDS }, | |
12387 | { "wxStyledTextCtrl_StyleSetVisible", (PyCFunction) _wrap_wxStyledTextCtrl_StyleSetVisible, METH_VARARGS | METH_KEYWORDS }, | |
12388 | { "wxStyledTextCtrl_SetStyleBytes", (PyCFunction) _wrap_wxStyledTextCtrl_SetStyleBytes, METH_VARARGS | METH_KEYWORDS }, | |
12389 | { "wxStyledTextCtrl_CmdKeyClearAll", (PyCFunction) _wrap_wxStyledTextCtrl_CmdKeyClearAll, METH_VARARGS | METH_KEYWORDS }, | |
12390 | { "wxStyledTextCtrl_CmdKeyClear", (PyCFunction) _wrap_wxStyledTextCtrl_CmdKeyClear, METH_VARARGS | METH_KEYWORDS }, | |
12391 | { "wxStyledTextCtrl_CmdKeyAssign", (PyCFunction) _wrap_wxStyledTextCtrl_CmdKeyAssign, METH_VARARGS | METH_KEYWORDS }, | |
12392 | { "wxStyledTextCtrl_SetCaretForeground", (PyCFunction) _wrap_wxStyledTextCtrl_SetCaretForeground, METH_VARARGS | METH_KEYWORDS }, | |
12393 | { "wxStyledTextCtrl_SetSelBackground", (PyCFunction) _wrap_wxStyledTextCtrl_SetSelBackground, METH_VARARGS | METH_KEYWORDS }, | |
12394 | { "wxStyledTextCtrl_SetSelForeground", (PyCFunction) _wrap_wxStyledTextCtrl_SetSelForeground, METH_VARARGS | METH_KEYWORDS }, | |
1fded56b | 12395 | { "wxStyledTextCtrl_StyleSetHotSpot", (PyCFunction) _wrap_wxStyledTextCtrl_StyleSetHotSpot, METH_VARARGS | METH_KEYWORDS }, |
c3bfa1cb | 12396 | { "wxStyledTextCtrl_StyleSetCharacterSet", (PyCFunction) _wrap_wxStyledTextCtrl_StyleSetCharacterSet, METH_VARARGS | METH_KEYWORDS }, |
8a2fa5c8 RD |
12397 | { "wxStyledTextCtrl_StyleSetCase", (PyCFunction) _wrap_wxStyledTextCtrl_StyleSetCase, METH_VARARGS | METH_KEYWORDS }, |
12398 | { "wxStyledTextCtrl_StyleSetUnderline", (PyCFunction) _wrap_wxStyledTextCtrl_StyleSetUnderline, METH_VARARGS | METH_KEYWORDS }, | |
12399 | { "wxStyledTextCtrl_StyleResetDefault", (PyCFunction) _wrap_wxStyledTextCtrl_StyleResetDefault, METH_VARARGS | METH_KEYWORDS }, | |
12400 | { "wxStyledTextCtrl_StyleSetEOLFilled", (PyCFunction) _wrap_wxStyledTextCtrl_StyleSetEOLFilled, METH_VARARGS | METH_KEYWORDS }, | |
12401 | { "wxStyledTextCtrl_StyleSetFaceName", (PyCFunction) _wrap_wxStyledTextCtrl_StyleSetFaceName, METH_VARARGS | METH_KEYWORDS }, | |
12402 | { "wxStyledTextCtrl_StyleSetSize", (PyCFunction) _wrap_wxStyledTextCtrl_StyleSetSize, METH_VARARGS | METH_KEYWORDS }, | |
12403 | { "wxStyledTextCtrl_StyleSetItalic", (PyCFunction) _wrap_wxStyledTextCtrl_StyleSetItalic, METH_VARARGS | METH_KEYWORDS }, | |
12404 | { "wxStyledTextCtrl_StyleSetBold", (PyCFunction) _wrap_wxStyledTextCtrl_StyleSetBold, METH_VARARGS | METH_KEYWORDS }, | |
12405 | { "wxStyledTextCtrl_StyleSetBackground", (PyCFunction) _wrap_wxStyledTextCtrl_StyleSetBackground, METH_VARARGS | METH_KEYWORDS }, | |
12406 | { "wxStyledTextCtrl_StyleSetForeground", (PyCFunction) _wrap_wxStyledTextCtrl_StyleSetForeground, METH_VARARGS | METH_KEYWORDS }, | |
12407 | { "wxStyledTextCtrl_StyleClearAll", (PyCFunction) _wrap_wxStyledTextCtrl_StyleClearAll, METH_VARARGS | METH_KEYWORDS }, | |
12408 | { "wxStyledTextCtrl_GetMarginSensitive", (PyCFunction) _wrap_wxStyledTextCtrl_GetMarginSensitive, METH_VARARGS | METH_KEYWORDS }, | |
12409 | { "wxStyledTextCtrl_SetMarginSensitive", (PyCFunction) _wrap_wxStyledTextCtrl_SetMarginSensitive, METH_VARARGS | METH_KEYWORDS }, | |
12410 | { "wxStyledTextCtrl_GetMarginMask", (PyCFunction) _wrap_wxStyledTextCtrl_GetMarginMask, METH_VARARGS | METH_KEYWORDS }, | |
12411 | { "wxStyledTextCtrl_SetMarginMask", (PyCFunction) _wrap_wxStyledTextCtrl_SetMarginMask, METH_VARARGS | METH_KEYWORDS }, | |
12412 | { "wxStyledTextCtrl_GetMarginWidth", (PyCFunction) _wrap_wxStyledTextCtrl_GetMarginWidth, METH_VARARGS | METH_KEYWORDS }, | |
12413 | { "wxStyledTextCtrl_SetMarginWidth", (PyCFunction) _wrap_wxStyledTextCtrl_SetMarginWidth, METH_VARARGS | METH_KEYWORDS }, | |
12414 | { "wxStyledTextCtrl_GetMarginType", (PyCFunction) _wrap_wxStyledTextCtrl_GetMarginType, METH_VARARGS | METH_KEYWORDS }, | |
12415 | { "wxStyledTextCtrl_SetMarginType", (PyCFunction) _wrap_wxStyledTextCtrl_SetMarginType, METH_VARARGS | METH_KEYWORDS }, | |
1fded56b | 12416 | { "wxStyledTextCtrl_MarkerDefineBitmap", (PyCFunction) _wrap_wxStyledTextCtrl_MarkerDefineBitmap, METH_VARARGS | METH_KEYWORDS }, |
8a2fa5c8 RD |
12417 | { "wxStyledTextCtrl_MarkerPrevious", (PyCFunction) _wrap_wxStyledTextCtrl_MarkerPrevious, METH_VARARGS | METH_KEYWORDS }, |
12418 | { "wxStyledTextCtrl_MarkerNext", (PyCFunction) _wrap_wxStyledTextCtrl_MarkerNext, METH_VARARGS | METH_KEYWORDS }, | |
12419 | { "wxStyledTextCtrl_MarkerGet", (PyCFunction) _wrap_wxStyledTextCtrl_MarkerGet, METH_VARARGS | METH_KEYWORDS }, | |
12420 | { "wxStyledTextCtrl_MarkerDeleteAll", (PyCFunction) _wrap_wxStyledTextCtrl_MarkerDeleteAll, METH_VARARGS | METH_KEYWORDS }, | |
12421 | { "wxStyledTextCtrl_MarkerDelete", (PyCFunction) _wrap_wxStyledTextCtrl_MarkerDelete, METH_VARARGS | METH_KEYWORDS }, | |
12422 | { "wxStyledTextCtrl_MarkerAdd", (PyCFunction) _wrap_wxStyledTextCtrl_MarkerAdd, METH_VARARGS | METH_KEYWORDS }, | |
12423 | { "wxStyledTextCtrl_MarkerSetBackground", (PyCFunction) _wrap_wxStyledTextCtrl_MarkerSetBackground, METH_VARARGS | METH_KEYWORDS }, | |
12424 | { "wxStyledTextCtrl_MarkerSetForeground", (PyCFunction) _wrap_wxStyledTextCtrl_MarkerSetForeground, METH_VARARGS | METH_KEYWORDS }, | |
12425 | { "wxStyledTextCtrl_MarkerDefine", (PyCFunction) _wrap_wxStyledTextCtrl_MarkerDefine, METH_VARARGS | METH_KEYWORDS }, | |
12426 | { "wxStyledTextCtrl_SetCodePage", (PyCFunction) _wrap_wxStyledTextCtrl_SetCodePage, METH_VARARGS | METH_KEYWORDS }, | |
12427 | { "wxStyledTextCtrl_GetTabWidth", (PyCFunction) _wrap_wxStyledTextCtrl_GetTabWidth, METH_VARARGS | METH_KEYWORDS }, | |
12428 | { "wxStyledTextCtrl_SetTabWidth", (PyCFunction) _wrap_wxStyledTextCtrl_SetTabWidth, METH_VARARGS | METH_KEYWORDS }, | |
12429 | { "wxStyledTextCtrl_SetBufferedDraw", (PyCFunction) _wrap_wxStyledTextCtrl_SetBufferedDraw, METH_VARARGS | METH_KEYWORDS }, | |
12430 | { "wxStyledTextCtrl_GetBufferedDraw", (PyCFunction) _wrap_wxStyledTextCtrl_GetBufferedDraw, METH_VARARGS | METH_KEYWORDS }, | |
12431 | { "wxStyledTextCtrl_SetStyling", (PyCFunction) _wrap_wxStyledTextCtrl_SetStyling, METH_VARARGS | METH_KEYWORDS }, | |
12432 | { "wxStyledTextCtrl_StartStyling", (PyCFunction) _wrap_wxStyledTextCtrl_StartStyling, METH_VARARGS | METH_KEYWORDS }, | |
12433 | { "wxStyledTextCtrl_SetEOLMode", (PyCFunction) _wrap_wxStyledTextCtrl_SetEOLMode, METH_VARARGS | METH_KEYWORDS }, | |
12434 | { "wxStyledTextCtrl_GetEOLMode", (PyCFunction) _wrap_wxStyledTextCtrl_GetEOLMode, METH_VARARGS | METH_KEYWORDS }, | |
12435 | { "wxStyledTextCtrl_ConvertEOLs", (PyCFunction) _wrap_wxStyledTextCtrl_ConvertEOLs, METH_VARARGS | METH_KEYWORDS }, | |
12436 | { "wxStyledTextCtrl_GetEndStyled", (PyCFunction) _wrap_wxStyledTextCtrl_GetEndStyled, METH_VARARGS | METH_KEYWORDS }, | |
12437 | { "wxStyledTextCtrl_GetCurLine", (PyCFunction) _wrap_wxStyledTextCtrl_GetCurLine, METH_VARARGS | METH_KEYWORDS }, | |
12438 | { "wxStyledTextCtrl_SetAnchor", (PyCFunction) _wrap_wxStyledTextCtrl_SetAnchor, METH_VARARGS | METH_KEYWORDS }, | |
12439 | { "wxStyledTextCtrl_GotoPos", (PyCFunction) _wrap_wxStyledTextCtrl_GotoPos, METH_VARARGS | METH_KEYWORDS }, | |
12440 | { "wxStyledTextCtrl_GotoLine", (PyCFunction) _wrap_wxStyledTextCtrl_GotoLine, METH_VARARGS | METH_KEYWORDS }, | |
12441 | { "wxStyledTextCtrl_PositionFromPointClose", (PyCFunction) _wrap_wxStyledTextCtrl_PositionFromPointClose, METH_VARARGS | METH_KEYWORDS }, | |
12442 | { "wxStyledTextCtrl_PositionFromPoint", (PyCFunction) _wrap_wxStyledTextCtrl_PositionFromPoint, METH_VARARGS | METH_KEYWORDS }, | |
12443 | { "wxStyledTextCtrl_SetViewWhiteSpace", (PyCFunction) _wrap_wxStyledTextCtrl_SetViewWhiteSpace, METH_VARARGS | METH_KEYWORDS }, | |
12444 | { "wxStyledTextCtrl_GetViewWhiteSpace", (PyCFunction) _wrap_wxStyledTextCtrl_GetViewWhiteSpace, METH_VARARGS | METH_KEYWORDS }, | |
12445 | { "wxStyledTextCtrl_GetUndoCollection", (PyCFunction) _wrap_wxStyledTextCtrl_GetUndoCollection, METH_VARARGS | METH_KEYWORDS }, | |
12446 | { "wxStyledTextCtrl_MarkerDeleteHandle", (PyCFunction) _wrap_wxStyledTextCtrl_MarkerDeleteHandle, METH_VARARGS | METH_KEYWORDS }, | |
12447 | { "wxStyledTextCtrl_MarkerLineFromHandle", (PyCFunction) _wrap_wxStyledTextCtrl_MarkerLineFromHandle, METH_VARARGS | METH_KEYWORDS }, | |
12448 | { "wxStyledTextCtrl_CanRedo", (PyCFunction) _wrap_wxStyledTextCtrl_CanRedo, METH_VARARGS | METH_KEYWORDS }, | |
12449 | { "wxStyledTextCtrl_GetStyledText", (PyCFunction) _wrap_wxStyledTextCtrl_GetStyledText, METH_VARARGS | METH_KEYWORDS }, | |
12450 | { "wxStyledTextCtrl_SetSavePoint", (PyCFunction) _wrap_wxStyledTextCtrl_SetSavePoint, METH_VARARGS | METH_KEYWORDS }, | |
12451 | { "wxStyledTextCtrl_SelectAll", (PyCFunction) _wrap_wxStyledTextCtrl_SelectAll, METH_VARARGS | METH_KEYWORDS }, | |
12452 | { "wxStyledTextCtrl_SetUndoCollection", (PyCFunction) _wrap_wxStyledTextCtrl_SetUndoCollection, METH_VARARGS | METH_KEYWORDS }, | |
12453 | { "wxStyledTextCtrl_Redo", (PyCFunction) _wrap_wxStyledTextCtrl_Redo, METH_VARARGS | METH_KEYWORDS }, | |
12454 | { "wxStyledTextCtrl_GetStyleAt", (PyCFunction) _wrap_wxStyledTextCtrl_GetStyleAt, METH_VARARGS | METH_KEYWORDS }, | |
12455 | { "wxStyledTextCtrl_GetAnchor", (PyCFunction) _wrap_wxStyledTextCtrl_GetAnchor, METH_VARARGS | METH_KEYWORDS }, | |
12456 | { "wxStyledTextCtrl_GetCurrentPos", (PyCFunction) _wrap_wxStyledTextCtrl_GetCurrentPos, METH_VARARGS | METH_KEYWORDS }, | |
12457 | { "wxStyledTextCtrl_GetCharAt", (PyCFunction) _wrap_wxStyledTextCtrl_GetCharAt, METH_VARARGS | METH_KEYWORDS }, | |
12458 | { "wxStyledTextCtrl_GetLength", (PyCFunction) _wrap_wxStyledTextCtrl_GetLength, METH_VARARGS | METH_KEYWORDS }, | |
12459 | { "wxStyledTextCtrl_ClearDocumentStyle", (PyCFunction) _wrap_wxStyledTextCtrl_ClearDocumentStyle, METH_VARARGS | METH_KEYWORDS }, | |
12460 | { "wxStyledTextCtrl_ClearAll", (PyCFunction) _wrap_wxStyledTextCtrl_ClearAll, METH_VARARGS | METH_KEYWORDS }, | |
12461 | { "wxStyledTextCtrl_InsertText", (PyCFunction) _wrap_wxStyledTextCtrl_InsertText, METH_VARARGS | METH_KEYWORDS }, | |
12462 | { "wxStyledTextCtrl_AddStyledText", (PyCFunction) _wrap_wxStyledTextCtrl_AddStyledText, METH_VARARGS | METH_KEYWORDS }, | |
12463 | { "wxStyledTextCtrl_AddText", (PyCFunction) _wrap_wxStyledTextCtrl_AddText, METH_VARARGS | METH_KEYWORDS }, | |
12464 | { "new_wxStyledTextCtrl", (PyCFunction) _wrap_new_wxStyledTextCtrl, METH_VARARGS | METH_KEYWORDS }, | |
12465 | { NULL, NULL } | |
12466 | }; | |
12467 | #ifdef __cplusplus | |
12468 | } | |
12469 | #endif | |
12470 | /* | |
12471 | * This table is used by the pointer type-checker | |
12472 | */ | |
12473 | static struct { char *n1; char *n2; void *(*pcnv)(void *); } _swig_mapping[] = { | |
12474 | { "_wxEvent","_wxStyledTextEvent",SwigwxStyledTextEventTowxEvent}, | |
12475 | { "_signed_long","_long",0}, | |
12476 | { "_wxPrintQuality","_wxCoord",0}, | |
12477 | { "_wxPrintQuality","_int",0}, | |
12478 | { "_wxPrintQuality","_signed_int",0}, | |
12479 | { "_wxPrintQuality","_unsigned_int",0}, | |
12480 | { "_wxPrintQuality","_wxWindowID",0}, | |
12481 | { "_wxPrintQuality","_uint",0}, | |
12482 | { "_wxPrintQuality","_EBool",0}, | |
12483 | { "_wxPrintQuality","_size_t",0}, | |
12484 | { "_wxPrintQuality","_time_t",0}, | |
12485 | { "_byte","_unsigned_char",0}, | |
12486 | { "_long","_unsigned_long",0}, | |
12487 | { "_long","_signed_long",0}, | |
12488 | { "_size_t","_wxCoord",0}, | |
12489 | { "_size_t","_wxPrintQuality",0}, | |
12490 | { "_size_t","_time_t",0}, | |
12491 | { "_size_t","_unsigned_int",0}, | |
12492 | { "_size_t","_int",0}, | |
12493 | { "_size_t","_wxWindowID",0}, | |
12494 | { "_size_t","_uint",0}, | |
12495 | { "_uint","_wxCoord",0}, | |
12496 | { "_uint","_wxPrintQuality",0}, | |
12497 | { "_uint","_time_t",0}, | |
12498 | { "_uint","_size_t",0}, | |
12499 | { "_uint","_unsigned_int",0}, | |
12500 | { "_uint","_int",0}, | |
12501 | { "_uint","_wxWindowID",0}, | |
12502 | { "_wxChar","_char",0}, | |
12503 | { "_wxCommandEvent","_wxStyledTextEvent",SwigwxStyledTextEventTowxCommandEvent}, | |
12504 | { "_char","_wxChar",0}, | |
12505 | { "_struct_wxNativeFontInfo","_wxNativeFontInfo",0}, | |
12506 | { "_EBool","_wxCoord",0}, | |
12507 | { "_EBool","_wxPrintQuality",0}, | |
12508 | { "_EBool","_signed_int",0}, | |
12509 | { "_EBool","_int",0}, | |
12510 | { "_EBool","_wxWindowID",0}, | |
12511 | { "_unsigned_long","_long",0}, | |
12512 | { "_wxNativeFontInfo","_struct_wxNativeFontInfo",0}, | |
12513 | { "_signed_int","_wxCoord",0}, | |
12514 | { "_signed_int","_wxPrintQuality",0}, | |
12515 | { "_signed_int","_EBool",0}, | |
12516 | { "_signed_int","_wxWindowID",0}, | |
12517 | { "_signed_int","_int",0}, | |
12518 | { "_WXTYPE","_wxDateTime_t",0}, | |
12519 | { "_WXTYPE","_short",0}, | |
12520 | { "_WXTYPE","_signed_short",0}, | |
12521 | { "_WXTYPE","_unsigned_short",0}, | |
12522 | { "_unsigned_short","_wxDateTime_t",0}, | |
12523 | { "_unsigned_short","_WXTYPE",0}, | |
12524 | { "_unsigned_short","_short",0}, | |
12525 | { "_wxObject","_wxStyledTextEvent",SwigwxStyledTextEventTowxObject}, | |
12526 | { "_wxObject","_wxStyledTextCtrl",SwigwxStyledTextCtrlTowxObject}, | |
12527 | { "_signed_short","_WXTYPE",0}, | |
12528 | { "_signed_short","_short",0}, | |
12529 | { "_unsigned_char","_byte",0}, | |
12530 | { "_wxControl","_wxStyledTextCtrl",SwigwxStyledTextCtrlTowxControl}, | |
12531 | { "_unsigned_int","_wxCoord",0}, | |
12532 | { "_unsigned_int","_wxPrintQuality",0}, | |
12533 | { "_unsigned_int","_time_t",0}, | |
12534 | { "_unsigned_int","_size_t",0}, | |
12535 | { "_unsigned_int","_uint",0}, | |
12536 | { "_unsigned_int","_wxWindowID",0}, | |
12537 | { "_unsigned_int","_int",0}, | |
12538 | { "_short","_wxDateTime_t",0}, | |
12539 | { "_short","_WXTYPE",0}, | |
12540 | { "_short","_unsigned_short",0}, | |
12541 | { "_short","_signed_short",0}, | |
12542 | { "_wxWindowID","_wxCoord",0}, | |
12543 | { "_wxWindowID","_wxPrintQuality",0}, | |
12544 | { "_wxWindowID","_time_t",0}, | |
12545 | { "_wxWindowID","_size_t",0}, | |
12546 | { "_wxWindowID","_EBool",0}, | |
12547 | { "_wxWindowID","_uint",0}, | |
12548 | { "_wxWindowID","_int",0}, | |
12549 | { "_wxWindowID","_signed_int",0}, | |
12550 | { "_wxWindowID","_unsigned_int",0}, | |
12551 | { "_int","_wxCoord",0}, | |
12552 | { "_int","_wxPrintQuality",0}, | |
12553 | { "_int","_time_t",0}, | |
12554 | { "_int","_size_t",0}, | |
12555 | { "_int","_EBool",0}, | |
12556 | { "_int","_uint",0}, | |
12557 | { "_int","_wxWindowID",0}, | |
12558 | { "_int","_unsigned_int",0}, | |
12559 | { "_int","_signed_int",0}, | |
12560 | { "_wxDateTime_t","_unsigned_short",0}, | |
12561 | { "_wxDateTime_t","_short",0}, | |
12562 | { "_wxDateTime_t","_WXTYPE",0}, | |
12563 | { "_time_t","_wxCoord",0}, | |
12564 | { "_time_t","_wxPrintQuality",0}, | |
12565 | { "_time_t","_unsigned_int",0}, | |
12566 | { "_time_t","_int",0}, | |
12567 | { "_time_t","_wxWindowID",0}, | |
12568 | { "_time_t","_uint",0}, | |
12569 | { "_time_t","_size_t",0}, | |
12570 | { "_wxCoord","_int",0}, | |
12571 | { "_wxCoord","_signed_int",0}, | |
12572 | { "_wxCoord","_unsigned_int",0}, | |
12573 | { "_wxCoord","_wxWindowID",0}, | |
12574 | { "_wxCoord","_uint",0}, | |
12575 | { "_wxCoord","_EBool",0}, | |
12576 | { "_wxCoord","_size_t",0}, | |
12577 | { "_wxCoord","_time_t",0}, | |
12578 | { "_wxCoord","_wxPrintQuality",0}, | |
12579 | { "_wxEvtHandler","_wxStyledTextCtrl",SwigwxStyledTextCtrlTowxEvtHandler}, | |
12580 | { "_wxWindow","_wxStyledTextCtrl",SwigwxStyledTextCtrlTowxWindow}, | |
12581 | {0,0,0}}; | |
12582 | ||
12583 | static PyObject *SWIG_globals; | |
12584 | #ifdef __cplusplus | |
12585 | extern "C" | |
12586 | #endif | |
12587 | SWIGEXPORT(void) initstc_c() { | |
12588 | PyObject *m, *d; | |
12589 | SWIG_globals = SWIG_newvarlink(); | |
12590 | m = Py_InitModule("stc_c", stc_cMethods); | |
12591 | d = PyModule_GetDict(m); | |
b7d681eb | 12592 | PyDict_SetItemString(d,"STC_USE_DND", PyInt_FromLong((long) 1)); |
b787b2a9 | 12593 | PyDict_SetItemString(d,"wxSTC_USE_POPUP", PyInt_FromLong((long) 1)); |
8a2fa5c8 RD |
12594 | PyDict_SetItemString(d,"wxSTC_INVALID_POSITION", PyInt_FromLong((long) -1)); |
12595 | PyDict_SetItemString(d,"wxSTC_START", PyInt_FromLong((long) 2000)); | |
12596 | PyDict_SetItemString(d,"wxSTC_OPTIONAL_START", PyInt_FromLong((long) 3000)); | |
12597 | PyDict_SetItemString(d,"wxSTC_LEXER_START", PyInt_FromLong((long) 4000)); | |
8a2fa5c8 RD |
12598 | PyDict_SetItemString(d,"wxSTC_WS_INVISIBLE", PyInt_FromLong((long) 0)); |
12599 | PyDict_SetItemString(d,"wxSTC_WS_VISIBLEALWAYS", PyInt_FromLong((long) 1)); | |
12600 | PyDict_SetItemString(d,"wxSTC_WS_VISIBLEAFTERINDENT", PyInt_FromLong((long) 2)); | |
12601 | PyDict_SetItemString(d,"wxSTC_EOL_CRLF", PyInt_FromLong((long) 0)); | |
12602 | PyDict_SetItemString(d,"wxSTC_EOL_CR", PyInt_FromLong((long) 1)); | |
12603 | PyDict_SetItemString(d,"wxSTC_EOL_LF", PyInt_FromLong((long) 2)); | |
12604 | PyDict_SetItemString(d,"wxSTC_CP_UTF8", PyInt_FromLong((long) 65001)); | |
1fded56b | 12605 | PyDict_SetItemString(d,"wxSTC_CP_DBCS", PyInt_FromLong((long) 1)); |
8a2fa5c8 RD |
12606 | PyDict_SetItemString(d,"wxSTC_MARKER_MAX", PyInt_FromLong((long) 31)); |
12607 | PyDict_SetItemString(d,"wxSTC_MARK_CIRCLE", PyInt_FromLong((long) 0)); | |
12608 | PyDict_SetItemString(d,"wxSTC_MARK_ROUNDRECT", PyInt_FromLong((long) 1)); | |
12609 | PyDict_SetItemString(d,"wxSTC_MARK_ARROW", PyInt_FromLong((long) 2)); | |
12610 | PyDict_SetItemString(d,"wxSTC_MARK_SMALLRECT", PyInt_FromLong((long) 3)); | |
12611 | PyDict_SetItemString(d,"wxSTC_MARK_SHORTARROW", PyInt_FromLong((long) 4)); | |
12612 | PyDict_SetItemString(d,"wxSTC_MARK_EMPTY", PyInt_FromLong((long) 5)); | |
12613 | PyDict_SetItemString(d,"wxSTC_MARK_ARROWDOWN", PyInt_FromLong((long) 6)); | |
12614 | PyDict_SetItemString(d,"wxSTC_MARK_MINUS", PyInt_FromLong((long) 7)); | |
12615 | PyDict_SetItemString(d,"wxSTC_MARK_PLUS", PyInt_FromLong((long) 8)); | |
12616 | PyDict_SetItemString(d,"wxSTC_MARK_VLINE", PyInt_FromLong((long) 9)); | |
12617 | PyDict_SetItemString(d,"wxSTC_MARK_LCORNER", PyInt_FromLong((long) 10)); | |
12618 | PyDict_SetItemString(d,"wxSTC_MARK_TCORNER", PyInt_FromLong((long) 11)); | |
12619 | PyDict_SetItemString(d,"wxSTC_MARK_BOXPLUS", PyInt_FromLong((long) 12)); | |
12620 | PyDict_SetItemString(d,"wxSTC_MARK_BOXPLUSCONNECTED", PyInt_FromLong((long) 13)); | |
12621 | PyDict_SetItemString(d,"wxSTC_MARK_BOXMINUS", PyInt_FromLong((long) 14)); | |
12622 | PyDict_SetItemString(d,"wxSTC_MARK_BOXMINUSCONNECTED", PyInt_FromLong((long) 15)); | |
12623 | PyDict_SetItemString(d,"wxSTC_MARK_LCORNERCURVE", PyInt_FromLong((long) 16)); | |
12624 | PyDict_SetItemString(d,"wxSTC_MARK_TCORNERCURVE", PyInt_FromLong((long) 17)); | |
12625 | PyDict_SetItemString(d,"wxSTC_MARK_CIRCLEPLUS", PyInt_FromLong((long) 18)); | |
12626 | PyDict_SetItemString(d,"wxSTC_MARK_CIRCLEPLUSCONNECTED", PyInt_FromLong((long) 19)); | |
12627 | PyDict_SetItemString(d,"wxSTC_MARK_CIRCLEMINUS", PyInt_FromLong((long) 20)); | |
12628 | PyDict_SetItemString(d,"wxSTC_MARK_CIRCLEMINUSCONNECTED", PyInt_FromLong((long) 21)); | |
c3bfa1cb | 12629 | PyDict_SetItemString(d,"wxSTC_MARK_BACKGROUND", PyInt_FromLong((long) 22)); |
47a06a26 RD |
12630 | PyDict_SetItemString(d,"wxSTC_MARK_DOTDOTDOT", PyInt_FromLong((long) 23)); |
12631 | PyDict_SetItemString(d,"wxSTC_MARK_ARROWS", PyInt_FromLong((long) 24)); | |
1fded56b | 12632 | PyDict_SetItemString(d,"wxSTC_MARK_PIXMAP", PyInt_FromLong((long) 25)); |
8a2fa5c8 RD |
12633 | PyDict_SetItemString(d,"wxSTC_MARK_CHARACTER", PyInt_FromLong((long) 10000)); |
12634 | PyDict_SetItemString(d,"wxSTC_MARKNUM_FOLDEREND", PyInt_FromLong((long) 25)); | |
12635 | PyDict_SetItemString(d,"wxSTC_MARKNUM_FOLDEROPENMID", PyInt_FromLong((long) 26)); | |
12636 | PyDict_SetItemString(d,"wxSTC_MARKNUM_FOLDERMIDTAIL", PyInt_FromLong((long) 27)); | |
12637 | PyDict_SetItemString(d,"wxSTC_MARKNUM_FOLDERTAIL", PyInt_FromLong((long) 28)); | |
12638 | PyDict_SetItemString(d,"wxSTC_MARKNUM_FOLDERSUB", PyInt_FromLong((long) 29)); | |
12639 | PyDict_SetItemString(d,"wxSTC_MARKNUM_FOLDER", PyInt_FromLong((long) 30)); | |
12640 | PyDict_SetItemString(d,"wxSTC_MARKNUM_FOLDEROPEN", PyInt_FromLong((long) 31)); | |
c3bfa1cb | 12641 | PyDict_SetItemString(d,"wxSTC_MASK_FOLDERS", PyInt_FromLong((long) 0xFE000000)); |
8a2fa5c8 RD |
12642 | PyDict_SetItemString(d,"wxSTC_MARGIN_SYMBOL", PyInt_FromLong((long) 0)); |
12643 | PyDict_SetItemString(d,"wxSTC_MARGIN_NUMBER", PyInt_FromLong((long) 1)); | |
12644 | PyDict_SetItemString(d,"wxSTC_STYLE_DEFAULT", PyInt_FromLong((long) 32)); | |
12645 | PyDict_SetItemString(d,"wxSTC_STYLE_LINENUMBER", PyInt_FromLong((long) 33)); | |
12646 | PyDict_SetItemString(d,"wxSTC_STYLE_BRACELIGHT", PyInt_FromLong((long) 34)); | |
12647 | PyDict_SetItemString(d,"wxSTC_STYLE_BRACEBAD", PyInt_FromLong((long) 35)); | |
12648 | PyDict_SetItemString(d,"wxSTC_STYLE_CONTROLCHAR", PyInt_FromLong((long) 36)); | |
12649 | PyDict_SetItemString(d,"wxSTC_STYLE_INDENTGUIDE", PyInt_FromLong((long) 37)); | |
12650 | PyDict_SetItemString(d,"wxSTC_STYLE_LASTPREDEFINED", PyInt_FromLong((long) 39)); | |
12651 | PyDict_SetItemString(d,"wxSTC_STYLE_MAX", PyInt_FromLong((long) 127)); | |
12652 | PyDict_SetItemString(d,"wxSTC_CHARSET_ANSI", PyInt_FromLong((long) 0)); | |
12653 | PyDict_SetItemString(d,"wxSTC_CHARSET_DEFAULT", PyInt_FromLong((long) 1)); | |
12654 | PyDict_SetItemString(d,"wxSTC_CHARSET_BALTIC", PyInt_FromLong((long) 186)); | |
12655 | PyDict_SetItemString(d,"wxSTC_CHARSET_CHINESEBIG5", PyInt_FromLong((long) 136)); | |
12656 | PyDict_SetItemString(d,"wxSTC_CHARSET_EASTEUROPE", PyInt_FromLong((long) 238)); | |
12657 | PyDict_SetItemString(d,"wxSTC_CHARSET_GB2312", PyInt_FromLong((long) 134)); | |
12658 | PyDict_SetItemString(d,"wxSTC_CHARSET_GREEK", PyInt_FromLong((long) 161)); | |
12659 | PyDict_SetItemString(d,"wxSTC_CHARSET_HANGUL", PyInt_FromLong((long) 129)); | |
12660 | PyDict_SetItemString(d,"wxSTC_CHARSET_MAC", PyInt_FromLong((long) 77)); | |
12661 | PyDict_SetItemString(d,"wxSTC_CHARSET_OEM", PyInt_FromLong((long) 255)); | |
12662 | PyDict_SetItemString(d,"wxSTC_CHARSET_RUSSIAN", PyInt_FromLong((long) 204)); | |
12663 | PyDict_SetItemString(d,"wxSTC_CHARSET_SHIFTJIS", PyInt_FromLong((long) 128)); | |
12664 | PyDict_SetItemString(d,"wxSTC_CHARSET_SYMBOL", PyInt_FromLong((long) 2)); | |
12665 | PyDict_SetItemString(d,"wxSTC_CHARSET_TURKISH", PyInt_FromLong((long) 162)); | |
12666 | PyDict_SetItemString(d,"wxSTC_CHARSET_JOHAB", PyInt_FromLong((long) 130)); | |
12667 | PyDict_SetItemString(d,"wxSTC_CHARSET_HEBREW", PyInt_FromLong((long) 177)); | |
12668 | PyDict_SetItemString(d,"wxSTC_CHARSET_ARABIC", PyInt_FromLong((long) 178)); | |
12669 | PyDict_SetItemString(d,"wxSTC_CHARSET_VIETNAMESE", PyInt_FromLong((long) 163)); | |
12670 | PyDict_SetItemString(d,"wxSTC_CHARSET_THAI", PyInt_FromLong((long) 222)); | |
12671 | PyDict_SetItemString(d,"wxSTC_CASE_MIXED", PyInt_FromLong((long) 0)); | |
12672 | PyDict_SetItemString(d,"wxSTC_CASE_UPPER", PyInt_FromLong((long) 1)); | |
12673 | PyDict_SetItemString(d,"wxSTC_CASE_LOWER", PyInt_FromLong((long) 2)); | |
12674 | PyDict_SetItemString(d,"wxSTC_INDIC_MAX", PyInt_FromLong((long) 7)); | |
12675 | PyDict_SetItemString(d,"wxSTC_INDIC_PLAIN", PyInt_FromLong((long) 0)); | |
12676 | PyDict_SetItemString(d,"wxSTC_INDIC_SQUIGGLE", PyInt_FromLong((long) 1)); | |
12677 | PyDict_SetItemString(d,"wxSTC_INDIC_TT", PyInt_FromLong((long) 2)); | |
12678 | PyDict_SetItemString(d,"wxSTC_INDIC_DIAGONAL", PyInt_FromLong((long) 3)); | |
12679 | PyDict_SetItemString(d,"wxSTC_INDIC_STRIKE", PyInt_FromLong((long) 4)); | |
854e7dc3 | 12680 | PyDict_SetItemString(d,"wxSTC_INDIC_HIDDEN", PyInt_FromLong((long) 5)); |
c3bfa1cb RD |
12681 | PyDict_SetItemString(d,"wxSTC_INDIC0_MASK", PyInt_FromLong((long) 0x20)); |
12682 | PyDict_SetItemString(d,"wxSTC_INDIC1_MASK", PyInt_FromLong((long) 0x40)); | |
12683 | PyDict_SetItemString(d,"wxSTC_INDIC2_MASK", PyInt_FromLong((long) 0x80)); | |
12684 | PyDict_SetItemString(d,"wxSTC_INDICS_MASK", PyInt_FromLong((long) 0xE0)); | |
8a2fa5c8 RD |
12685 | PyDict_SetItemString(d,"wxSTC_PRINT_NORMAL", PyInt_FromLong((long) 0)); |
12686 | PyDict_SetItemString(d,"wxSTC_PRINT_INVERTLIGHT", PyInt_FromLong((long) 1)); | |
12687 | PyDict_SetItemString(d,"wxSTC_PRINT_BLACKONWHITE", PyInt_FromLong((long) 2)); | |
12688 | PyDict_SetItemString(d,"wxSTC_PRINT_COLOURONWHITE", PyInt_FromLong((long) 3)); | |
12689 | PyDict_SetItemString(d,"wxSTC_PRINT_COLOURONWHITEDEFAULTBG", PyInt_FromLong((long) 4)); | |
12690 | PyDict_SetItemString(d,"wxSTC_FIND_WHOLEWORD", PyInt_FromLong((long) 2)); | |
12691 | PyDict_SetItemString(d,"wxSTC_FIND_MATCHCASE", PyInt_FromLong((long) 4)); | |
12692 | PyDict_SetItemString(d,"wxSTC_FIND_WORDSTART", PyInt_FromLong((long) 0x00100000)); | |
12693 | PyDict_SetItemString(d,"wxSTC_FIND_REGEXP", PyInt_FromLong((long) 0x00200000)); | |
1fded56b | 12694 | PyDict_SetItemString(d,"wxSTC_FIND_POSIX", PyInt_FromLong((long) 0x00400000)); |
8a2fa5c8 RD |
12695 | PyDict_SetItemString(d,"wxSTC_FOLDLEVELBASE", PyInt_FromLong((long) 0x400)); |
12696 | PyDict_SetItemString(d,"wxSTC_FOLDLEVELWHITEFLAG", PyInt_FromLong((long) 0x1000)); | |
12697 | PyDict_SetItemString(d,"wxSTC_FOLDLEVELHEADERFLAG", PyInt_FromLong((long) 0x2000)); | |
1fded56b RD |
12698 | PyDict_SetItemString(d,"wxSTC_FOLDLEVELBOXHEADERFLAG", PyInt_FromLong((long) 0x4000)); |
12699 | PyDict_SetItemString(d,"wxSTC_FOLDLEVELBOXFOOTERFLAG", PyInt_FromLong((long) 0x8000)); | |
12700 | PyDict_SetItemString(d,"wxSTC_FOLDLEVELCONTRACTED", PyInt_FromLong((long) 0x10000)); | |
12701 | PyDict_SetItemString(d,"wxSTC_FOLDLEVELUNINDENT", PyInt_FromLong((long) 0x20000)); | |
8a2fa5c8 | 12702 | PyDict_SetItemString(d,"wxSTC_FOLDLEVELNUMBERMASK", PyInt_FromLong((long) 0x0FFF)); |
1fded56b RD |
12703 | PyDict_SetItemString(d,"wxSTC_FOLDFLAG_LINEBEFORE_EXPANDED", PyInt_FromLong((long) 0x0002)); |
12704 | PyDict_SetItemString(d,"wxSTC_FOLDFLAG_LINEBEFORE_CONTRACTED", PyInt_FromLong((long) 0x0004)); | |
12705 | PyDict_SetItemString(d,"wxSTC_FOLDFLAG_LINEAFTER_EXPANDED", PyInt_FromLong((long) 0x0008)); | |
12706 | PyDict_SetItemString(d,"wxSTC_FOLDFLAG_LINEAFTER_CONTRACTED", PyInt_FromLong((long) 0x0010)); | |
12707 | PyDict_SetItemString(d,"wxSTC_FOLDFLAG_LEVELNUMBERS", PyInt_FromLong((long) 0x0040)); | |
12708 | PyDict_SetItemString(d,"wxSTC_FOLDFLAG_BOX", PyInt_FromLong((long) 0x0001)); | |
8a2fa5c8 | 12709 | PyDict_SetItemString(d,"wxSTC_TIME_FOREVER", PyInt_FromLong((long) 10000000)); |
c3bfa1cb RD |
12710 | PyDict_SetItemString(d,"wxSTC_WRAP_NONE", PyInt_FromLong((long) 0)); |
12711 | PyDict_SetItemString(d,"wxSTC_WRAP_WORD", PyInt_FromLong((long) 1)); | |
12712 | PyDict_SetItemString(d,"wxSTC_CACHE_NONE", PyInt_FromLong((long) 0)); | |
12713 | PyDict_SetItemString(d,"wxSTC_CACHE_CARET", PyInt_FromLong((long) 1)); | |
12714 | PyDict_SetItemString(d,"wxSTC_CACHE_PAGE", PyInt_FromLong((long) 2)); | |
12715 | PyDict_SetItemString(d,"wxSTC_CACHE_DOCUMENT", PyInt_FromLong((long) 3)); | |
8a2fa5c8 RD |
12716 | PyDict_SetItemString(d,"wxSTC_EDGE_NONE", PyInt_FromLong((long) 0)); |
12717 | PyDict_SetItemString(d,"wxSTC_EDGE_LINE", PyInt_FromLong((long) 1)); | |
12718 | PyDict_SetItemString(d,"wxSTC_EDGE_BACKGROUND", PyInt_FromLong((long) 2)); | |
8a2fa5c8 | 12719 | PyDict_SetItemString(d,"wxSTC_CURSORNORMAL", PyInt_FromLong((long) -1)); |
1fded56b | 12720 | PyDict_SetItemString(d,"wxSTC_CURSORWAIT", PyInt_FromLong((long) 4)); |
8a2fa5c8 RD |
12721 | PyDict_SetItemString(d,"wxSTC_VISIBLE_SLOP", PyInt_FromLong((long) 0x01)); |
12722 | PyDict_SetItemString(d,"wxSTC_VISIBLE_STRICT", PyInt_FromLong((long) 0x04)); | |
47a06a26 RD |
12723 | PyDict_SetItemString(d,"wxSTC_CARET_SLOP", PyInt_FromLong((long) 0x01)); |
12724 | PyDict_SetItemString(d,"wxSTC_CARET_STRICT", PyInt_FromLong((long) 0x04)); | |
12725 | PyDict_SetItemString(d,"wxSTC_CARET_JUMPS", PyInt_FromLong((long) 0x10)); | |
12726 | PyDict_SetItemString(d,"wxSTC_CARET_EVEN", PyInt_FromLong((long) 0x08)); | |
854e7dc3 | 12727 | PyDict_SetItemString(d,"wxSTC_KEYWORDSET_MAX", PyInt_FromLong((long) 8)); |
8a2fa5c8 RD |
12728 | PyDict_SetItemString(d,"wxSTC_MOD_INSERTTEXT", PyInt_FromLong((long) 0x1)); |
12729 | PyDict_SetItemString(d,"wxSTC_MOD_DELETETEXT", PyInt_FromLong((long) 0x2)); | |
12730 | PyDict_SetItemString(d,"wxSTC_MOD_CHANGESTYLE", PyInt_FromLong((long) 0x4)); | |
12731 | PyDict_SetItemString(d,"wxSTC_MOD_CHANGEFOLD", PyInt_FromLong((long) 0x8)); | |
12732 | PyDict_SetItemString(d,"wxSTC_PERFORMED_USER", PyInt_FromLong((long) 0x10)); | |
12733 | PyDict_SetItemString(d,"wxSTC_PERFORMED_UNDO", PyInt_FromLong((long) 0x20)); | |
12734 | PyDict_SetItemString(d,"wxSTC_PERFORMED_REDO", PyInt_FromLong((long) 0x40)); | |
12735 | PyDict_SetItemString(d,"wxSTC_LASTSTEPINUNDOREDO", PyInt_FromLong((long) 0x100)); | |
12736 | PyDict_SetItemString(d,"wxSTC_MOD_CHANGEMARKER", PyInt_FromLong((long) 0x200)); | |
12737 | PyDict_SetItemString(d,"wxSTC_MOD_BEFOREINSERT", PyInt_FromLong((long) 0x400)); | |
12738 | PyDict_SetItemString(d,"wxSTC_MOD_BEFOREDELETE", PyInt_FromLong((long) 0x800)); | |
12739 | PyDict_SetItemString(d,"wxSTC_MODEVENTMASKALL", PyInt_FromLong((long) 0xF77)); | |
12740 | PyDict_SetItemString(d,"wxSTC_KEY_DOWN", PyInt_FromLong((long) 300)); | |
12741 | PyDict_SetItemString(d,"wxSTC_KEY_UP", PyInt_FromLong((long) 301)); | |
12742 | PyDict_SetItemString(d,"wxSTC_KEY_LEFT", PyInt_FromLong((long) 302)); | |
12743 | PyDict_SetItemString(d,"wxSTC_KEY_RIGHT", PyInt_FromLong((long) 303)); | |
12744 | PyDict_SetItemString(d,"wxSTC_KEY_HOME", PyInt_FromLong((long) 304)); | |
12745 | PyDict_SetItemString(d,"wxSTC_KEY_END", PyInt_FromLong((long) 305)); | |
12746 | PyDict_SetItemString(d,"wxSTC_KEY_PRIOR", PyInt_FromLong((long) 306)); | |
12747 | PyDict_SetItemString(d,"wxSTC_KEY_NEXT", PyInt_FromLong((long) 307)); | |
12748 | PyDict_SetItemString(d,"wxSTC_KEY_DELETE", PyInt_FromLong((long) 308)); | |
12749 | PyDict_SetItemString(d,"wxSTC_KEY_INSERT", PyInt_FromLong((long) 309)); | |
12750 | PyDict_SetItemString(d,"wxSTC_KEY_ESCAPE", PyInt_FromLong((long) 7)); | |
12751 | PyDict_SetItemString(d,"wxSTC_KEY_BACK", PyInt_FromLong((long) 8)); | |
12752 | PyDict_SetItemString(d,"wxSTC_KEY_TAB", PyInt_FromLong((long) 9)); | |
12753 | PyDict_SetItemString(d,"wxSTC_KEY_RETURN", PyInt_FromLong((long) 13)); | |
12754 | PyDict_SetItemString(d,"wxSTC_KEY_ADD", PyInt_FromLong((long) 310)); | |
12755 | PyDict_SetItemString(d,"wxSTC_KEY_SUBTRACT", PyInt_FromLong((long) 311)); | |
12756 | PyDict_SetItemString(d,"wxSTC_KEY_DIVIDE", PyInt_FromLong((long) 312)); | |
12757 | PyDict_SetItemString(d,"wxSTC_SCMOD_SHIFT", PyInt_FromLong((long) 1)); | |
12758 | PyDict_SetItemString(d,"wxSTC_SCMOD_CTRL", PyInt_FromLong((long) 2)); | |
12759 | PyDict_SetItemString(d,"wxSTC_SCMOD_ALT", PyInt_FromLong((long) 4)); | |
12760 | PyDict_SetItemString(d,"wxSTC_LEX_CONTAINER", PyInt_FromLong((long) 0)); | |
12761 | PyDict_SetItemString(d,"wxSTC_LEX_NULL", PyInt_FromLong((long) 1)); | |
12762 | PyDict_SetItemString(d,"wxSTC_LEX_PYTHON", PyInt_FromLong((long) 2)); | |
12763 | PyDict_SetItemString(d,"wxSTC_LEX_CPP", PyInt_FromLong((long) 3)); | |
12764 | PyDict_SetItemString(d,"wxSTC_LEX_HTML", PyInt_FromLong((long) 4)); | |
12765 | PyDict_SetItemString(d,"wxSTC_LEX_XML", PyInt_FromLong((long) 5)); | |
12766 | PyDict_SetItemString(d,"wxSTC_LEX_PERL", PyInt_FromLong((long) 6)); | |
12767 | PyDict_SetItemString(d,"wxSTC_LEX_SQL", PyInt_FromLong((long) 7)); | |
12768 | PyDict_SetItemString(d,"wxSTC_LEX_VB", PyInt_FromLong((long) 8)); | |
12769 | PyDict_SetItemString(d,"wxSTC_LEX_PROPERTIES", PyInt_FromLong((long) 9)); | |
12770 | PyDict_SetItemString(d,"wxSTC_LEX_ERRORLIST", PyInt_FromLong((long) 10)); | |
12771 | PyDict_SetItemString(d,"wxSTC_LEX_MAKEFILE", PyInt_FromLong((long) 11)); | |
12772 | PyDict_SetItemString(d,"wxSTC_LEX_BATCH", PyInt_FromLong((long) 12)); | |
12773 | PyDict_SetItemString(d,"wxSTC_LEX_XCODE", PyInt_FromLong((long) 13)); | |
12774 | PyDict_SetItemString(d,"wxSTC_LEX_LATEX", PyInt_FromLong((long) 14)); | |
12775 | PyDict_SetItemString(d,"wxSTC_LEX_LUA", PyInt_FromLong((long) 15)); | |
12776 | PyDict_SetItemString(d,"wxSTC_LEX_DIFF", PyInt_FromLong((long) 16)); | |
12777 | PyDict_SetItemString(d,"wxSTC_LEX_CONF", PyInt_FromLong((long) 17)); | |
12778 | PyDict_SetItemString(d,"wxSTC_LEX_PASCAL", PyInt_FromLong((long) 18)); | |
12779 | PyDict_SetItemString(d,"wxSTC_LEX_AVE", PyInt_FromLong((long) 19)); | |
12780 | PyDict_SetItemString(d,"wxSTC_LEX_ADA", PyInt_FromLong((long) 20)); | |
12781 | PyDict_SetItemString(d,"wxSTC_LEX_LISP", PyInt_FromLong((long) 21)); | |
12782 | PyDict_SetItemString(d,"wxSTC_LEX_RUBY", PyInt_FromLong((long) 22)); | |
12783 | PyDict_SetItemString(d,"wxSTC_LEX_EIFFEL", PyInt_FromLong((long) 23)); | |
12784 | PyDict_SetItemString(d,"wxSTC_LEX_EIFFELKW", PyInt_FromLong((long) 24)); | |
12785 | PyDict_SetItemString(d,"wxSTC_LEX_TCL", PyInt_FromLong((long) 25)); | |
12786 | PyDict_SetItemString(d,"wxSTC_LEX_NNCRONTAB", PyInt_FromLong((long) 26)); | |
c3bfa1cb RD |
12787 | PyDict_SetItemString(d,"wxSTC_LEX_BULLANT", PyInt_FromLong((long) 27)); |
12788 | PyDict_SetItemString(d,"wxSTC_LEX_VBSCRIPT", PyInt_FromLong((long) 28)); | |
12789 | PyDict_SetItemString(d,"wxSTC_LEX_ASP", PyInt_FromLong((long) 29)); | |
12790 | PyDict_SetItemString(d,"wxSTC_LEX_PHP", PyInt_FromLong((long) 30)); | |
12791 | PyDict_SetItemString(d,"wxSTC_LEX_BAAN", PyInt_FromLong((long) 31)); | |
12792 | PyDict_SetItemString(d,"wxSTC_LEX_MATLAB", PyInt_FromLong((long) 32)); | |
47a06a26 | 12793 | PyDict_SetItemString(d,"wxSTC_LEX_SCRIPTOL", PyInt_FromLong((long) 33)); |
1fded56b RD |
12794 | PyDict_SetItemString(d,"wxSTC_LEX_ASM", PyInt_FromLong((long) 34)); |
12795 | PyDict_SetItemString(d,"wxSTC_LEX_CPPNOCASE", PyInt_FromLong((long) 35)); | |
12796 | PyDict_SetItemString(d,"wxSTC_LEX_FORTRAN", PyInt_FromLong((long) 36)); | |
12797 | PyDict_SetItemString(d,"wxSTC_LEX_F77", PyInt_FromLong((long) 37)); | |
12798 | PyDict_SetItemString(d,"wxSTC_LEX_CSS", PyInt_FromLong((long) 38)); | |
12799 | PyDict_SetItemString(d,"wxSTC_LEX_POV", PyInt_FromLong((long) 39)); | |
d84a9306 RD |
12800 | PyDict_SetItemString(d,"wxSTC_LEX_LOUT", PyInt_FromLong((long) 40)); |
12801 | PyDict_SetItemString(d,"wxSTC_LEX_ESCRIPT", PyInt_FromLong((long) 41)); | |
854e7dc3 RD |
12802 | PyDict_SetItemString(d,"wxSTC_LEX_PS", PyInt_FromLong((long) 42)); |
12803 | PyDict_SetItemString(d,"wxSTC_LEX_NSIS", PyInt_FromLong((long) 43)); | |
12804 | PyDict_SetItemString(d,"wxSTC_LEX_MMIXAL", PyInt_FromLong((long) 44)); | |
8a2fa5c8 RD |
12805 | PyDict_SetItemString(d,"wxSTC_LEX_AUTOMATIC", PyInt_FromLong((long) 1000)); |
12806 | PyDict_SetItemString(d,"wxSTC_P_DEFAULT", PyInt_FromLong((long) 0)); | |
12807 | PyDict_SetItemString(d,"wxSTC_P_COMMENTLINE", PyInt_FromLong((long) 1)); | |
12808 | PyDict_SetItemString(d,"wxSTC_P_NUMBER", PyInt_FromLong((long) 2)); | |
12809 | PyDict_SetItemString(d,"wxSTC_P_STRING", PyInt_FromLong((long) 3)); | |
12810 | PyDict_SetItemString(d,"wxSTC_P_CHARACTER", PyInt_FromLong((long) 4)); | |
12811 | PyDict_SetItemString(d,"wxSTC_P_WORD", PyInt_FromLong((long) 5)); | |
12812 | PyDict_SetItemString(d,"wxSTC_P_TRIPLE", PyInt_FromLong((long) 6)); | |
12813 | PyDict_SetItemString(d,"wxSTC_P_TRIPLEDOUBLE", PyInt_FromLong((long) 7)); | |
12814 | PyDict_SetItemString(d,"wxSTC_P_CLASSNAME", PyInt_FromLong((long) 8)); | |
12815 | PyDict_SetItemString(d,"wxSTC_P_DEFNAME", PyInt_FromLong((long) 9)); | |
12816 | PyDict_SetItemString(d,"wxSTC_P_OPERATOR", PyInt_FromLong((long) 10)); | |
12817 | PyDict_SetItemString(d,"wxSTC_P_IDENTIFIER", PyInt_FromLong((long) 11)); | |
12818 | PyDict_SetItemString(d,"wxSTC_P_COMMENTBLOCK", PyInt_FromLong((long) 12)); | |
12819 | PyDict_SetItemString(d,"wxSTC_P_STRINGEOL", PyInt_FromLong((long) 13)); | |
12820 | PyDict_SetItemString(d,"wxSTC_C_DEFAULT", PyInt_FromLong((long) 0)); | |
12821 | PyDict_SetItemString(d,"wxSTC_C_COMMENT", PyInt_FromLong((long) 1)); | |
12822 | PyDict_SetItemString(d,"wxSTC_C_COMMENTLINE", PyInt_FromLong((long) 2)); | |
12823 | PyDict_SetItemString(d,"wxSTC_C_COMMENTDOC", PyInt_FromLong((long) 3)); | |
12824 | PyDict_SetItemString(d,"wxSTC_C_NUMBER", PyInt_FromLong((long) 4)); | |
12825 | PyDict_SetItemString(d,"wxSTC_C_WORD", PyInt_FromLong((long) 5)); | |
12826 | PyDict_SetItemString(d,"wxSTC_C_STRING", PyInt_FromLong((long) 6)); | |
12827 | PyDict_SetItemString(d,"wxSTC_C_CHARACTER", PyInt_FromLong((long) 7)); | |
12828 | PyDict_SetItemString(d,"wxSTC_C_UUID", PyInt_FromLong((long) 8)); | |
12829 | PyDict_SetItemString(d,"wxSTC_C_PREPROCESSOR", PyInt_FromLong((long) 9)); | |
12830 | PyDict_SetItemString(d,"wxSTC_C_OPERATOR", PyInt_FromLong((long) 10)); | |
12831 | PyDict_SetItemString(d,"wxSTC_C_IDENTIFIER", PyInt_FromLong((long) 11)); | |
12832 | PyDict_SetItemString(d,"wxSTC_C_STRINGEOL", PyInt_FromLong((long) 12)); | |
12833 | PyDict_SetItemString(d,"wxSTC_C_VERBATIM", PyInt_FromLong((long) 13)); | |
12834 | PyDict_SetItemString(d,"wxSTC_C_REGEX", PyInt_FromLong((long) 14)); | |
12835 | PyDict_SetItemString(d,"wxSTC_C_COMMENTLINEDOC", PyInt_FromLong((long) 15)); | |
12836 | PyDict_SetItemString(d,"wxSTC_C_WORD2", PyInt_FromLong((long) 16)); | |
12837 | PyDict_SetItemString(d,"wxSTC_C_COMMENTDOCKEYWORD", PyInt_FromLong((long) 17)); | |
12838 | PyDict_SetItemString(d,"wxSTC_C_COMMENTDOCKEYWORDERROR", PyInt_FromLong((long) 18)); | |
d84a9306 | 12839 | PyDict_SetItemString(d,"wxSTC_C_GLOBALCLASS", PyInt_FromLong((long) 19)); |
8a2fa5c8 RD |
12840 | PyDict_SetItemString(d,"wxSTC_H_DEFAULT", PyInt_FromLong((long) 0)); |
12841 | PyDict_SetItemString(d,"wxSTC_H_TAG", PyInt_FromLong((long) 1)); | |
12842 | PyDict_SetItemString(d,"wxSTC_H_TAGUNKNOWN", PyInt_FromLong((long) 2)); | |
12843 | PyDict_SetItemString(d,"wxSTC_H_ATTRIBUTE", PyInt_FromLong((long) 3)); | |
12844 | PyDict_SetItemString(d,"wxSTC_H_ATTRIBUTEUNKNOWN", PyInt_FromLong((long) 4)); | |
12845 | PyDict_SetItemString(d,"wxSTC_H_NUMBER", PyInt_FromLong((long) 5)); | |
12846 | PyDict_SetItemString(d,"wxSTC_H_DOUBLESTRING", PyInt_FromLong((long) 6)); | |
12847 | PyDict_SetItemString(d,"wxSTC_H_SINGLESTRING", PyInt_FromLong((long) 7)); | |
12848 | PyDict_SetItemString(d,"wxSTC_H_OTHER", PyInt_FromLong((long) 8)); | |
12849 | PyDict_SetItemString(d,"wxSTC_H_COMMENT", PyInt_FromLong((long) 9)); | |
12850 | PyDict_SetItemString(d,"wxSTC_H_ENTITY", PyInt_FromLong((long) 10)); | |
12851 | PyDict_SetItemString(d,"wxSTC_H_TAGEND", PyInt_FromLong((long) 11)); | |
12852 | PyDict_SetItemString(d,"wxSTC_H_XMLSTART", PyInt_FromLong((long) 12)); | |
12853 | PyDict_SetItemString(d,"wxSTC_H_XMLEND", PyInt_FromLong((long) 13)); | |
12854 | PyDict_SetItemString(d,"wxSTC_H_SCRIPT", PyInt_FromLong((long) 14)); | |
12855 | PyDict_SetItemString(d,"wxSTC_H_ASP", PyInt_FromLong((long) 15)); | |
12856 | PyDict_SetItemString(d,"wxSTC_H_ASPAT", PyInt_FromLong((long) 16)); | |
12857 | PyDict_SetItemString(d,"wxSTC_H_CDATA", PyInt_FromLong((long) 17)); | |
12858 | PyDict_SetItemString(d,"wxSTC_H_QUESTION", PyInt_FromLong((long) 18)); | |
12859 | PyDict_SetItemString(d,"wxSTC_H_VALUE", PyInt_FromLong((long) 19)); | |
12860 | PyDict_SetItemString(d,"wxSTC_H_XCCOMMENT", PyInt_FromLong((long) 20)); | |
12861 | PyDict_SetItemString(d,"wxSTC_H_SGML_DEFAULT", PyInt_FromLong((long) 21)); | |
12862 | PyDict_SetItemString(d,"wxSTC_H_SGML_COMMAND", PyInt_FromLong((long) 22)); | |
12863 | PyDict_SetItemString(d,"wxSTC_H_SGML_1ST_PARAM", PyInt_FromLong((long) 23)); | |
12864 | PyDict_SetItemString(d,"wxSTC_H_SGML_DOUBLESTRING", PyInt_FromLong((long) 24)); | |
12865 | PyDict_SetItemString(d,"wxSTC_H_SGML_SIMPLESTRING", PyInt_FromLong((long) 25)); | |
12866 | PyDict_SetItemString(d,"wxSTC_H_SGML_ERROR", PyInt_FromLong((long) 26)); | |
12867 | PyDict_SetItemString(d,"wxSTC_H_SGML_SPECIAL", PyInt_FromLong((long) 27)); | |
12868 | PyDict_SetItemString(d,"wxSTC_H_SGML_ENTITY", PyInt_FromLong((long) 28)); | |
12869 | PyDict_SetItemString(d,"wxSTC_H_SGML_COMMENT", PyInt_FromLong((long) 29)); | |
12870 | PyDict_SetItemString(d,"wxSTC_H_SGML_1ST_PARAM_COMMENT", PyInt_FromLong((long) 30)); | |
12871 | PyDict_SetItemString(d,"wxSTC_H_SGML_BLOCK_DEFAULT", PyInt_FromLong((long) 31)); | |
12872 | PyDict_SetItemString(d,"wxSTC_HJ_START", PyInt_FromLong((long) 40)); | |
12873 | PyDict_SetItemString(d,"wxSTC_HJ_DEFAULT", PyInt_FromLong((long) 41)); | |
12874 | PyDict_SetItemString(d,"wxSTC_HJ_COMMENT", PyInt_FromLong((long) 42)); | |
12875 | PyDict_SetItemString(d,"wxSTC_HJ_COMMENTLINE", PyInt_FromLong((long) 43)); | |
12876 | PyDict_SetItemString(d,"wxSTC_HJ_COMMENTDOC", PyInt_FromLong((long) 44)); | |
12877 | PyDict_SetItemString(d,"wxSTC_HJ_NUMBER", PyInt_FromLong((long) 45)); | |
12878 | PyDict_SetItemString(d,"wxSTC_HJ_WORD", PyInt_FromLong((long) 46)); | |
12879 | PyDict_SetItemString(d,"wxSTC_HJ_KEYWORD", PyInt_FromLong((long) 47)); | |
12880 | PyDict_SetItemString(d,"wxSTC_HJ_DOUBLESTRING", PyInt_FromLong((long) 48)); | |
12881 | PyDict_SetItemString(d,"wxSTC_HJ_SINGLESTRING", PyInt_FromLong((long) 49)); | |
12882 | PyDict_SetItemString(d,"wxSTC_HJ_SYMBOLS", PyInt_FromLong((long) 50)); | |
12883 | PyDict_SetItemString(d,"wxSTC_HJ_STRINGEOL", PyInt_FromLong((long) 51)); | |
12884 | PyDict_SetItemString(d,"wxSTC_HJ_REGEX", PyInt_FromLong((long) 52)); | |
12885 | PyDict_SetItemString(d,"wxSTC_HJA_START", PyInt_FromLong((long) 55)); | |
12886 | PyDict_SetItemString(d,"wxSTC_HJA_DEFAULT", PyInt_FromLong((long) 56)); | |
12887 | PyDict_SetItemString(d,"wxSTC_HJA_COMMENT", PyInt_FromLong((long) 57)); | |
12888 | PyDict_SetItemString(d,"wxSTC_HJA_COMMENTLINE", PyInt_FromLong((long) 58)); | |
12889 | PyDict_SetItemString(d,"wxSTC_HJA_COMMENTDOC", PyInt_FromLong((long) 59)); | |
12890 | PyDict_SetItemString(d,"wxSTC_HJA_NUMBER", PyInt_FromLong((long) 60)); | |
12891 | PyDict_SetItemString(d,"wxSTC_HJA_WORD", PyInt_FromLong((long) 61)); | |
12892 | PyDict_SetItemString(d,"wxSTC_HJA_KEYWORD", PyInt_FromLong((long) 62)); | |
12893 | PyDict_SetItemString(d,"wxSTC_HJA_DOUBLESTRING", PyInt_FromLong((long) 63)); | |
12894 | PyDict_SetItemString(d,"wxSTC_HJA_SINGLESTRING", PyInt_FromLong((long) 64)); | |
12895 | PyDict_SetItemString(d,"wxSTC_HJA_SYMBOLS", PyInt_FromLong((long) 65)); | |
12896 | PyDict_SetItemString(d,"wxSTC_HJA_STRINGEOL", PyInt_FromLong((long) 66)); | |
12897 | PyDict_SetItemString(d,"wxSTC_HJA_REGEX", PyInt_FromLong((long) 67)); | |
12898 | PyDict_SetItemString(d,"wxSTC_HB_START", PyInt_FromLong((long) 70)); | |
12899 | PyDict_SetItemString(d,"wxSTC_HB_DEFAULT", PyInt_FromLong((long) 71)); | |
12900 | PyDict_SetItemString(d,"wxSTC_HB_COMMENTLINE", PyInt_FromLong((long) 72)); | |
12901 | PyDict_SetItemString(d,"wxSTC_HB_NUMBER", PyInt_FromLong((long) 73)); | |
12902 | PyDict_SetItemString(d,"wxSTC_HB_WORD", PyInt_FromLong((long) 74)); | |
12903 | PyDict_SetItemString(d,"wxSTC_HB_STRING", PyInt_FromLong((long) 75)); | |
12904 | PyDict_SetItemString(d,"wxSTC_HB_IDENTIFIER", PyInt_FromLong((long) 76)); | |
12905 | PyDict_SetItemString(d,"wxSTC_HB_STRINGEOL", PyInt_FromLong((long) 77)); | |
12906 | PyDict_SetItemString(d,"wxSTC_HBA_START", PyInt_FromLong((long) 80)); | |
12907 | PyDict_SetItemString(d,"wxSTC_HBA_DEFAULT", PyInt_FromLong((long) 81)); | |
12908 | PyDict_SetItemString(d,"wxSTC_HBA_COMMENTLINE", PyInt_FromLong((long) 82)); | |
12909 | PyDict_SetItemString(d,"wxSTC_HBA_NUMBER", PyInt_FromLong((long) 83)); | |
12910 | PyDict_SetItemString(d,"wxSTC_HBA_WORD", PyInt_FromLong((long) 84)); | |
12911 | PyDict_SetItemString(d,"wxSTC_HBA_STRING", PyInt_FromLong((long) 85)); | |
12912 | PyDict_SetItemString(d,"wxSTC_HBA_IDENTIFIER", PyInt_FromLong((long) 86)); | |
12913 | PyDict_SetItemString(d,"wxSTC_HBA_STRINGEOL", PyInt_FromLong((long) 87)); | |
12914 | PyDict_SetItemString(d,"wxSTC_HP_START", PyInt_FromLong((long) 90)); | |
12915 | PyDict_SetItemString(d,"wxSTC_HP_DEFAULT", PyInt_FromLong((long) 91)); | |
12916 | PyDict_SetItemString(d,"wxSTC_HP_COMMENTLINE", PyInt_FromLong((long) 92)); | |
12917 | PyDict_SetItemString(d,"wxSTC_HP_NUMBER", PyInt_FromLong((long) 93)); | |
12918 | PyDict_SetItemString(d,"wxSTC_HP_STRING", PyInt_FromLong((long) 94)); | |
12919 | PyDict_SetItemString(d,"wxSTC_HP_CHARACTER", PyInt_FromLong((long) 95)); | |
12920 | PyDict_SetItemString(d,"wxSTC_HP_WORD", PyInt_FromLong((long) 96)); | |
12921 | PyDict_SetItemString(d,"wxSTC_HP_TRIPLE", PyInt_FromLong((long) 97)); | |
12922 | PyDict_SetItemString(d,"wxSTC_HP_TRIPLEDOUBLE", PyInt_FromLong((long) 98)); | |
12923 | PyDict_SetItemString(d,"wxSTC_HP_CLASSNAME", PyInt_FromLong((long) 99)); | |
12924 | PyDict_SetItemString(d,"wxSTC_HP_DEFNAME", PyInt_FromLong((long) 100)); | |
12925 | PyDict_SetItemString(d,"wxSTC_HP_OPERATOR", PyInt_FromLong((long) 101)); | |
12926 | PyDict_SetItemString(d,"wxSTC_HP_IDENTIFIER", PyInt_FromLong((long) 102)); | |
12927 | PyDict_SetItemString(d,"wxSTC_HPA_START", PyInt_FromLong((long) 105)); | |
12928 | PyDict_SetItemString(d,"wxSTC_HPA_DEFAULT", PyInt_FromLong((long) 106)); | |
12929 | PyDict_SetItemString(d,"wxSTC_HPA_COMMENTLINE", PyInt_FromLong((long) 107)); | |
12930 | PyDict_SetItemString(d,"wxSTC_HPA_NUMBER", PyInt_FromLong((long) 108)); | |
12931 | PyDict_SetItemString(d,"wxSTC_HPA_STRING", PyInt_FromLong((long) 109)); | |
12932 | PyDict_SetItemString(d,"wxSTC_HPA_CHARACTER", PyInt_FromLong((long) 110)); | |
12933 | PyDict_SetItemString(d,"wxSTC_HPA_WORD", PyInt_FromLong((long) 111)); | |
12934 | PyDict_SetItemString(d,"wxSTC_HPA_TRIPLE", PyInt_FromLong((long) 112)); | |
12935 | PyDict_SetItemString(d,"wxSTC_HPA_TRIPLEDOUBLE", PyInt_FromLong((long) 113)); | |
12936 | PyDict_SetItemString(d,"wxSTC_HPA_CLASSNAME", PyInt_FromLong((long) 114)); | |
12937 | PyDict_SetItemString(d,"wxSTC_HPA_DEFNAME", PyInt_FromLong((long) 115)); | |
12938 | PyDict_SetItemString(d,"wxSTC_HPA_OPERATOR", PyInt_FromLong((long) 116)); | |
12939 | PyDict_SetItemString(d,"wxSTC_HPA_IDENTIFIER", PyInt_FromLong((long) 117)); | |
12940 | PyDict_SetItemString(d,"wxSTC_HPHP_DEFAULT", PyInt_FromLong((long) 118)); | |
12941 | PyDict_SetItemString(d,"wxSTC_HPHP_HSTRING", PyInt_FromLong((long) 119)); | |
12942 | PyDict_SetItemString(d,"wxSTC_HPHP_SIMPLESTRING", PyInt_FromLong((long) 120)); | |
12943 | PyDict_SetItemString(d,"wxSTC_HPHP_WORD", PyInt_FromLong((long) 121)); | |
12944 | PyDict_SetItemString(d,"wxSTC_HPHP_NUMBER", PyInt_FromLong((long) 122)); | |
12945 | PyDict_SetItemString(d,"wxSTC_HPHP_VARIABLE", PyInt_FromLong((long) 123)); | |
12946 | PyDict_SetItemString(d,"wxSTC_HPHP_COMMENT", PyInt_FromLong((long) 124)); | |
12947 | PyDict_SetItemString(d,"wxSTC_HPHP_COMMENTLINE", PyInt_FromLong((long) 125)); | |
12948 | PyDict_SetItemString(d,"wxSTC_HPHP_HSTRING_VARIABLE", PyInt_FromLong((long) 126)); | |
12949 | PyDict_SetItemString(d,"wxSTC_HPHP_OPERATOR", PyInt_FromLong((long) 127)); | |
12950 | PyDict_SetItemString(d,"wxSTC_PL_DEFAULT", PyInt_FromLong((long) 0)); | |
12951 | PyDict_SetItemString(d,"wxSTC_PL_ERROR", PyInt_FromLong((long) 1)); | |
12952 | PyDict_SetItemString(d,"wxSTC_PL_COMMENTLINE", PyInt_FromLong((long) 2)); | |
12953 | PyDict_SetItemString(d,"wxSTC_PL_POD", PyInt_FromLong((long) 3)); | |
12954 | PyDict_SetItemString(d,"wxSTC_PL_NUMBER", PyInt_FromLong((long) 4)); | |
12955 | PyDict_SetItemString(d,"wxSTC_PL_WORD", PyInt_FromLong((long) 5)); | |
12956 | PyDict_SetItemString(d,"wxSTC_PL_STRING", PyInt_FromLong((long) 6)); | |
12957 | PyDict_SetItemString(d,"wxSTC_PL_CHARACTER", PyInt_FromLong((long) 7)); | |
12958 | PyDict_SetItemString(d,"wxSTC_PL_PUNCTUATION", PyInt_FromLong((long) 8)); | |
12959 | PyDict_SetItemString(d,"wxSTC_PL_PREPROCESSOR", PyInt_FromLong((long) 9)); | |
12960 | PyDict_SetItemString(d,"wxSTC_PL_OPERATOR", PyInt_FromLong((long) 10)); | |
12961 | PyDict_SetItemString(d,"wxSTC_PL_IDENTIFIER", PyInt_FromLong((long) 11)); | |
12962 | PyDict_SetItemString(d,"wxSTC_PL_SCALAR", PyInt_FromLong((long) 12)); | |
12963 | PyDict_SetItemString(d,"wxSTC_PL_ARRAY", PyInt_FromLong((long) 13)); | |
12964 | PyDict_SetItemString(d,"wxSTC_PL_HASH", PyInt_FromLong((long) 14)); | |
12965 | PyDict_SetItemString(d,"wxSTC_PL_SYMBOLTABLE", PyInt_FromLong((long) 15)); | |
12966 | PyDict_SetItemString(d,"wxSTC_PL_REGEX", PyInt_FromLong((long) 17)); | |
12967 | PyDict_SetItemString(d,"wxSTC_PL_REGSUBST", PyInt_FromLong((long) 18)); | |
12968 | PyDict_SetItemString(d,"wxSTC_PL_LONGQUOTE", PyInt_FromLong((long) 19)); | |
12969 | PyDict_SetItemString(d,"wxSTC_PL_BACKTICKS", PyInt_FromLong((long) 20)); | |
12970 | PyDict_SetItemString(d,"wxSTC_PL_DATASECTION", PyInt_FromLong((long) 21)); | |
12971 | PyDict_SetItemString(d,"wxSTC_PL_HERE_DELIM", PyInt_FromLong((long) 22)); | |
12972 | PyDict_SetItemString(d,"wxSTC_PL_HERE_Q", PyInt_FromLong((long) 23)); | |
12973 | PyDict_SetItemString(d,"wxSTC_PL_HERE_QQ", PyInt_FromLong((long) 24)); | |
12974 | PyDict_SetItemString(d,"wxSTC_PL_HERE_QX", PyInt_FromLong((long) 25)); | |
12975 | PyDict_SetItemString(d,"wxSTC_PL_STRING_Q", PyInt_FromLong((long) 26)); | |
12976 | PyDict_SetItemString(d,"wxSTC_PL_STRING_QQ", PyInt_FromLong((long) 27)); | |
12977 | PyDict_SetItemString(d,"wxSTC_PL_STRING_QX", PyInt_FromLong((long) 28)); | |
12978 | PyDict_SetItemString(d,"wxSTC_PL_STRING_QR", PyInt_FromLong((long) 29)); | |
12979 | PyDict_SetItemString(d,"wxSTC_PL_STRING_QW", PyInt_FromLong((long) 30)); | |
47a06a26 RD |
12980 | PyDict_SetItemString(d,"wxSTC_B_DEFAULT", PyInt_FromLong((long) 0)); |
12981 | PyDict_SetItemString(d,"wxSTC_B_COMMENT", PyInt_FromLong((long) 1)); | |
12982 | PyDict_SetItemString(d,"wxSTC_B_NUMBER", PyInt_FromLong((long) 2)); | |
12983 | PyDict_SetItemString(d,"wxSTC_B_KEYWORD", PyInt_FromLong((long) 3)); | |
12984 | PyDict_SetItemString(d,"wxSTC_B_STRING", PyInt_FromLong((long) 4)); | |
12985 | PyDict_SetItemString(d,"wxSTC_B_PREPROCESSOR", PyInt_FromLong((long) 5)); | |
12986 | PyDict_SetItemString(d,"wxSTC_B_OPERATOR", PyInt_FromLong((long) 6)); | |
12987 | PyDict_SetItemString(d,"wxSTC_B_IDENTIFIER", PyInt_FromLong((long) 7)); | |
12988 | PyDict_SetItemString(d,"wxSTC_B_DATE", PyInt_FromLong((long) 8)); | |
12989 | PyDict_SetItemString(d,"wxSTC_PROPS_DEFAULT", PyInt_FromLong((long) 0)); | |
12990 | PyDict_SetItemString(d,"wxSTC_PROPS_COMMENT", PyInt_FromLong((long) 1)); | |
12991 | PyDict_SetItemString(d,"wxSTC_PROPS_SECTION", PyInt_FromLong((long) 2)); | |
12992 | PyDict_SetItemString(d,"wxSTC_PROPS_ASSIGNMENT", PyInt_FromLong((long) 3)); | |
12993 | PyDict_SetItemString(d,"wxSTC_PROPS_DEFVAL", PyInt_FromLong((long) 4)); | |
8a2fa5c8 RD |
12994 | PyDict_SetItemString(d,"wxSTC_L_DEFAULT", PyInt_FromLong((long) 0)); |
12995 | PyDict_SetItemString(d,"wxSTC_L_COMMAND", PyInt_FromLong((long) 1)); | |
12996 | PyDict_SetItemString(d,"wxSTC_L_TAG", PyInt_FromLong((long) 2)); | |
12997 | PyDict_SetItemString(d,"wxSTC_L_MATH", PyInt_FromLong((long) 3)); | |
12998 | PyDict_SetItemString(d,"wxSTC_L_COMMENT", PyInt_FromLong((long) 4)); | |
12999 | PyDict_SetItemString(d,"wxSTC_LUA_DEFAULT", PyInt_FromLong((long) 0)); | |
13000 | PyDict_SetItemString(d,"wxSTC_LUA_COMMENT", PyInt_FromLong((long) 1)); | |
13001 | PyDict_SetItemString(d,"wxSTC_LUA_COMMENTLINE", PyInt_FromLong((long) 2)); | |
13002 | PyDict_SetItemString(d,"wxSTC_LUA_COMMENTDOC", PyInt_FromLong((long) 3)); | |
13003 | PyDict_SetItemString(d,"wxSTC_LUA_NUMBER", PyInt_FromLong((long) 4)); | |
13004 | PyDict_SetItemString(d,"wxSTC_LUA_WORD", PyInt_FromLong((long) 5)); | |
13005 | PyDict_SetItemString(d,"wxSTC_LUA_STRING", PyInt_FromLong((long) 6)); | |
13006 | PyDict_SetItemString(d,"wxSTC_LUA_CHARACTER", PyInt_FromLong((long) 7)); | |
13007 | PyDict_SetItemString(d,"wxSTC_LUA_LITERALSTRING", PyInt_FromLong((long) 8)); | |
13008 | PyDict_SetItemString(d,"wxSTC_LUA_PREPROCESSOR", PyInt_FromLong((long) 9)); | |
13009 | PyDict_SetItemString(d,"wxSTC_LUA_OPERATOR", PyInt_FromLong((long) 10)); | |
13010 | PyDict_SetItemString(d,"wxSTC_LUA_IDENTIFIER", PyInt_FromLong((long) 11)); | |
13011 | PyDict_SetItemString(d,"wxSTC_LUA_STRINGEOL", PyInt_FromLong((long) 12)); | |
c3bfa1cb RD |
13012 | PyDict_SetItemString(d,"wxSTC_LUA_WORD2", PyInt_FromLong((long) 13)); |
13013 | PyDict_SetItemString(d,"wxSTC_LUA_WORD3", PyInt_FromLong((long) 14)); | |
13014 | PyDict_SetItemString(d,"wxSTC_LUA_WORD4", PyInt_FromLong((long) 15)); | |
13015 | PyDict_SetItemString(d,"wxSTC_LUA_WORD5", PyInt_FromLong((long) 16)); | |
13016 | PyDict_SetItemString(d,"wxSTC_LUA_WORD6", PyInt_FromLong((long) 17)); | |
854e7dc3 RD |
13017 | PyDict_SetItemString(d,"wxSTC_LUA_WORD7", PyInt_FromLong((long) 18)); |
13018 | PyDict_SetItemString(d,"wxSTC_LUA_WORD8", PyInt_FromLong((long) 19)); | |
8a2fa5c8 RD |
13019 | PyDict_SetItemString(d,"wxSTC_ERR_DEFAULT", PyInt_FromLong((long) 0)); |
13020 | PyDict_SetItemString(d,"wxSTC_ERR_PYTHON", PyInt_FromLong((long) 1)); | |
13021 | PyDict_SetItemString(d,"wxSTC_ERR_GCC", PyInt_FromLong((long) 2)); | |
13022 | PyDict_SetItemString(d,"wxSTC_ERR_MS", PyInt_FromLong((long) 3)); | |
13023 | PyDict_SetItemString(d,"wxSTC_ERR_CMD", PyInt_FromLong((long) 4)); | |
13024 | PyDict_SetItemString(d,"wxSTC_ERR_BORLAND", PyInt_FromLong((long) 5)); | |
13025 | PyDict_SetItemString(d,"wxSTC_ERR_PERL", PyInt_FromLong((long) 6)); | |
13026 | PyDict_SetItemString(d,"wxSTC_ERR_NET", PyInt_FromLong((long) 7)); | |
13027 | PyDict_SetItemString(d,"wxSTC_ERR_LUA", PyInt_FromLong((long) 8)); | |
47a06a26 | 13028 | PyDict_SetItemString(d,"wxSTC_ERR_CTAG", PyInt_FromLong((long) 9)); |
8a2fa5c8 RD |
13029 | PyDict_SetItemString(d,"wxSTC_ERR_DIFF_CHANGED", PyInt_FromLong((long) 10)); |
13030 | PyDict_SetItemString(d,"wxSTC_ERR_DIFF_ADDITION", PyInt_FromLong((long) 11)); | |
13031 | PyDict_SetItemString(d,"wxSTC_ERR_DIFF_DELETION", PyInt_FromLong((long) 12)); | |
13032 | PyDict_SetItemString(d,"wxSTC_ERR_DIFF_MESSAGE", PyInt_FromLong((long) 13)); | |
1fded56b RD |
13033 | PyDict_SetItemString(d,"wxSTC_ERR_PHP", PyInt_FromLong((long) 14)); |
13034 | PyDict_SetItemString(d,"wxSTC_ERR_ELF", PyInt_FromLong((long) 15)); | |
13035 | PyDict_SetItemString(d,"wxSTC_ERR_IFC", PyInt_FromLong((long) 16)); | |
8a2fa5c8 RD |
13036 | PyDict_SetItemString(d,"wxSTC_BAT_DEFAULT", PyInt_FromLong((long) 0)); |
13037 | PyDict_SetItemString(d,"wxSTC_BAT_COMMENT", PyInt_FromLong((long) 1)); | |
13038 | PyDict_SetItemString(d,"wxSTC_BAT_WORD", PyInt_FromLong((long) 2)); | |
13039 | PyDict_SetItemString(d,"wxSTC_BAT_LABEL", PyInt_FromLong((long) 3)); | |
13040 | PyDict_SetItemString(d,"wxSTC_BAT_HIDE", PyInt_FromLong((long) 4)); | |
13041 | PyDict_SetItemString(d,"wxSTC_BAT_COMMAND", PyInt_FromLong((long) 5)); | |
13042 | PyDict_SetItemString(d,"wxSTC_BAT_IDENTIFIER", PyInt_FromLong((long) 6)); | |
13043 | PyDict_SetItemString(d,"wxSTC_BAT_OPERATOR", PyInt_FromLong((long) 7)); | |
13044 | PyDict_SetItemString(d,"wxSTC_MAKE_DEFAULT", PyInt_FromLong((long) 0)); | |
13045 | PyDict_SetItemString(d,"wxSTC_MAKE_COMMENT", PyInt_FromLong((long) 1)); | |
13046 | PyDict_SetItemString(d,"wxSTC_MAKE_PREPROCESSOR", PyInt_FromLong((long) 2)); | |
13047 | PyDict_SetItemString(d,"wxSTC_MAKE_IDENTIFIER", PyInt_FromLong((long) 3)); | |
13048 | PyDict_SetItemString(d,"wxSTC_MAKE_OPERATOR", PyInt_FromLong((long) 4)); | |
13049 | PyDict_SetItemString(d,"wxSTC_MAKE_TARGET", PyInt_FromLong((long) 5)); | |
13050 | PyDict_SetItemString(d,"wxSTC_MAKE_IDEOL", PyInt_FromLong((long) 9)); | |
47a06a26 RD |
13051 | PyDict_SetItemString(d,"wxSTC_DIFF_DEFAULT", PyInt_FromLong((long) 0)); |
13052 | PyDict_SetItemString(d,"wxSTC_DIFF_COMMENT", PyInt_FromLong((long) 1)); | |
13053 | PyDict_SetItemString(d,"wxSTC_DIFF_COMMAND", PyInt_FromLong((long) 2)); | |
13054 | PyDict_SetItemString(d,"wxSTC_DIFF_HEADER", PyInt_FromLong((long) 3)); | |
13055 | PyDict_SetItemString(d,"wxSTC_DIFF_POSITION", PyInt_FromLong((long) 4)); | |
13056 | PyDict_SetItemString(d,"wxSTC_DIFF_DELETED", PyInt_FromLong((long) 5)); | |
13057 | PyDict_SetItemString(d,"wxSTC_DIFF_ADDED", PyInt_FromLong((long) 6)); | |
8a2fa5c8 RD |
13058 | PyDict_SetItemString(d,"wxSTC_CONF_DEFAULT", PyInt_FromLong((long) 0)); |
13059 | PyDict_SetItemString(d,"wxSTC_CONF_COMMENT", PyInt_FromLong((long) 1)); | |
13060 | PyDict_SetItemString(d,"wxSTC_CONF_NUMBER", PyInt_FromLong((long) 2)); | |
13061 | PyDict_SetItemString(d,"wxSTC_CONF_IDENTIFIER", PyInt_FromLong((long) 3)); | |
13062 | PyDict_SetItemString(d,"wxSTC_CONF_EXTENSION", PyInt_FromLong((long) 4)); | |
13063 | PyDict_SetItemString(d,"wxSTC_CONF_PARAMETER", PyInt_FromLong((long) 5)); | |
13064 | PyDict_SetItemString(d,"wxSTC_CONF_STRING", PyInt_FromLong((long) 6)); | |
13065 | PyDict_SetItemString(d,"wxSTC_CONF_OPERATOR", PyInt_FromLong((long) 7)); | |
13066 | PyDict_SetItemString(d,"wxSTC_CONF_IP", PyInt_FromLong((long) 8)); | |
13067 | PyDict_SetItemString(d,"wxSTC_CONF_DIRECTIVE", PyInt_FromLong((long) 9)); | |
13068 | PyDict_SetItemString(d,"wxSTC_AVE_DEFAULT", PyInt_FromLong((long) 0)); | |
13069 | PyDict_SetItemString(d,"wxSTC_AVE_COMMENT", PyInt_FromLong((long) 1)); | |
13070 | PyDict_SetItemString(d,"wxSTC_AVE_NUMBER", PyInt_FromLong((long) 2)); | |
13071 | PyDict_SetItemString(d,"wxSTC_AVE_WORD", PyInt_FromLong((long) 3)); | |
8a2fa5c8 RD |
13072 | PyDict_SetItemString(d,"wxSTC_AVE_STRING", PyInt_FromLong((long) 6)); |
13073 | PyDict_SetItemString(d,"wxSTC_AVE_ENUM", PyInt_FromLong((long) 7)); | |
13074 | PyDict_SetItemString(d,"wxSTC_AVE_STRINGEOL", PyInt_FromLong((long) 8)); | |
13075 | PyDict_SetItemString(d,"wxSTC_AVE_IDENTIFIER", PyInt_FromLong((long) 9)); | |
13076 | PyDict_SetItemString(d,"wxSTC_AVE_OPERATOR", PyInt_FromLong((long) 10)); | |
1fded56b RD |
13077 | PyDict_SetItemString(d,"wxSTC_AVE_WORD1", PyInt_FromLong((long) 11)); |
13078 | PyDict_SetItemString(d,"wxSTC_AVE_WORD2", PyInt_FromLong((long) 12)); | |
13079 | PyDict_SetItemString(d,"wxSTC_AVE_WORD3", PyInt_FromLong((long) 13)); | |
13080 | PyDict_SetItemString(d,"wxSTC_AVE_WORD4", PyInt_FromLong((long) 14)); | |
13081 | PyDict_SetItemString(d,"wxSTC_AVE_WORD5", PyInt_FromLong((long) 15)); | |
13082 | PyDict_SetItemString(d,"wxSTC_AVE_WORD6", PyInt_FromLong((long) 16)); | |
8a2fa5c8 | 13083 | PyDict_SetItemString(d,"wxSTC_ADA_DEFAULT", PyInt_FromLong((long) 0)); |
1fded56b RD |
13084 | PyDict_SetItemString(d,"wxSTC_ADA_WORD", PyInt_FromLong((long) 1)); |
13085 | PyDict_SetItemString(d,"wxSTC_ADA_IDENTIFIER", PyInt_FromLong((long) 2)); | |
13086 | PyDict_SetItemString(d,"wxSTC_ADA_NUMBER", PyInt_FromLong((long) 3)); | |
13087 | PyDict_SetItemString(d,"wxSTC_ADA_DELIMITER", PyInt_FromLong((long) 4)); | |
8a2fa5c8 | 13088 | PyDict_SetItemString(d,"wxSTC_ADA_CHARACTER", PyInt_FromLong((long) 5)); |
1fded56b RD |
13089 | PyDict_SetItemString(d,"wxSTC_ADA_CHARACTEREOL", PyInt_FromLong((long) 6)); |
13090 | PyDict_SetItemString(d,"wxSTC_ADA_STRING", PyInt_FromLong((long) 7)); | |
8a2fa5c8 | 13091 | PyDict_SetItemString(d,"wxSTC_ADA_STRINGEOL", PyInt_FromLong((long) 8)); |
1fded56b RD |
13092 | PyDict_SetItemString(d,"wxSTC_ADA_LABEL", PyInt_FromLong((long) 9)); |
13093 | PyDict_SetItemString(d,"wxSTC_ADA_COMMENTLINE", PyInt_FromLong((long) 10)); | |
13094 | PyDict_SetItemString(d,"wxSTC_ADA_ILLEGAL", PyInt_FromLong((long) 11)); | |
c3bfa1cb RD |
13095 | PyDict_SetItemString(d,"wxSTC_BAAN_DEFAULT", PyInt_FromLong((long) 0)); |
13096 | PyDict_SetItemString(d,"wxSTC_BAAN_COMMENT", PyInt_FromLong((long) 1)); | |
13097 | PyDict_SetItemString(d,"wxSTC_BAAN_COMMENTDOC", PyInt_FromLong((long) 2)); | |
13098 | PyDict_SetItemString(d,"wxSTC_BAAN_NUMBER", PyInt_FromLong((long) 3)); | |
13099 | PyDict_SetItemString(d,"wxSTC_BAAN_WORD", PyInt_FromLong((long) 4)); | |
13100 | PyDict_SetItemString(d,"wxSTC_BAAN_STRING", PyInt_FromLong((long) 5)); | |
13101 | PyDict_SetItemString(d,"wxSTC_BAAN_PREPROCESSOR", PyInt_FromLong((long) 6)); | |
13102 | PyDict_SetItemString(d,"wxSTC_BAAN_OPERATOR", PyInt_FromLong((long) 7)); | |
13103 | PyDict_SetItemString(d,"wxSTC_BAAN_IDENTIFIER", PyInt_FromLong((long) 8)); | |
13104 | PyDict_SetItemString(d,"wxSTC_BAAN_STRINGEOL", PyInt_FromLong((long) 9)); | |
13105 | PyDict_SetItemString(d,"wxSTC_BAAN_WORD2", PyInt_FromLong((long) 10)); | |
8a2fa5c8 RD |
13106 | PyDict_SetItemString(d,"wxSTC_LISP_DEFAULT", PyInt_FromLong((long) 0)); |
13107 | PyDict_SetItemString(d,"wxSTC_LISP_COMMENT", PyInt_FromLong((long) 1)); | |
13108 | PyDict_SetItemString(d,"wxSTC_LISP_NUMBER", PyInt_FromLong((long) 2)); | |
13109 | PyDict_SetItemString(d,"wxSTC_LISP_KEYWORD", PyInt_FromLong((long) 3)); | |
13110 | PyDict_SetItemString(d,"wxSTC_LISP_STRING", PyInt_FromLong((long) 6)); | |
13111 | PyDict_SetItemString(d,"wxSTC_LISP_STRINGEOL", PyInt_FromLong((long) 8)); | |
13112 | PyDict_SetItemString(d,"wxSTC_LISP_IDENTIFIER", PyInt_FromLong((long) 9)); | |
13113 | PyDict_SetItemString(d,"wxSTC_LISP_OPERATOR", PyInt_FromLong((long) 10)); | |
13114 | PyDict_SetItemString(d,"wxSTC_EIFFEL_DEFAULT", PyInt_FromLong((long) 0)); | |
13115 | PyDict_SetItemString(d,"wxSTC_EIFFEL_COMMENTLINE", PyInt_FromLong((long) 1)); | |
13116 | PyDict_SetItemString(d,"wxSTC_EIFFEL_NUMBER", PyInt_FromLong((long) 2)); | |
13117 | PyDict_SetItemString(d,"wxSTC_EIFFEL_WORD", PyInt_FromLong((long) 3)); | |
13118 | PyDict_SetItemString(d,"wxSTC_EIFFEL_STRING", PyInt_FromLong((long) 4)); | |
13119 | PyDict_SetItemString(d,"wxSTC_EIFFEL_CHARACTER", PyInt_FromLong((long) 5)); | |
13120 | PyDict_SetItemString(d,"wxSTC_EIFFEL_OPERATOR", PyInt_FromLong((long) 6)); | |
13121 | PyDict_SetItemString(d,"wxSTC_EIFFEL_IDENTIFIER", PyInt_FromLong((long) 7)); | |
13122 | PyDict_SetItemString(d,"wxSTC_EIFFEL_STRINGEOL", PyInt_FromLong((long) 8)); | |
13123 | PyDict_SetItemString(d,"wxSTC_NNCRONTAB_DEFAULT", PyInt_FromLong((long) 0)); | |
13124 | PyDict_SetItemString(d,"wxSTC_NNCRONTAB_COMMENT", PyInt_FromLong((long) 1)); | |
13125 | PyDict_SetItemString(d,"wxSTC_NNCRONTAB_TASK", PyInt_FromLong((long) 2)); | |
13126 | PyDict_SetItemString(d,"wxSTC_NNCRONTAB_SECTION", PyInt_FromLong((long) 3)); | |
13127 | PyDict_SetItemString(d,"wxSTC_NNCRONTAB_KEYWORD", PyInt_FromLong((long) 4)); | |
13128 | PyDict_SetItemString(d,"wxSTC_NNCRONTAB_MODIFIER", PyInt_FromLong((long) 5)); | |
13129 | PyDict_SetItemString(d,"wxSTC_NNCRONTAB_ASTERISK", PyInt_FromLong((long) 6)); | |
13130 | PyDict_SetItemString(d,"wxSTC_NNCRONTAB_NUMBER", PyInt_FromLong((long) 7)); | |
13131 | PyDict_SetItemString(d,"wxSTC_NNCRONTAB_STRING", PyInt_FromLong((long) 8)); | |
13132 | PyDict_SetItemString(d,"wxSTC_NNCRONTAB_ENVIRONMENT", PyInt_FromLong((long) 9)); | |
13133 | PyDict_SetItemString(d,"wxSTC_NNCRONTAB_IDENTIFIER", PyInt_FromLong((long) 10)); | |
c3bfa1cb RD |
13134 | PyDict_SetItemString(d,"wxSTC_MATLAB_DEFAULT", PyInt_FromLong((long) 0)); |
13135 | PyDict_SetItemString(d,"wxSTC_MATLAB_COMMENT", PyInt_FromLong((long) 1)); | |
13136 | PyDict_SetItemString(d,"wxSTC_MATLAB_COMMAND", PyInt_FromLong((long) 2)); | |
13137 | PyDict_SetItemString(d,"wxSTC_MATLAB_NUMBER", PyInt_FromLong((long) 3)); | |
13138 | PyDict_SetItemString(d,"wxSTC_MATLAB_KEYWORD", PyInt_FromLong((long) 4)); | |
13139 | PyDict_SetItemString(d,"wxSTC_MATLAB_STRING", PyInt_FromLong((long) 5)); | |
13140 | PyDict_SetItemString(d,"wxSTC_MATLAB_OPERATOR", PyInt_FromLong((long) 6)); | |
13141 | PyDict_SetItemString(d,"wxSTC_MATLAB_IDENTIFIER", PyInt_FromLong((long) 7)); | |
47a06a26 RD |
13142 | PyDict_SetItemString(d,"wxSTC_SCRIPTOL_DEFAULT", PyInt_FromLong((long) 0)); |
13143 | PyDict_SetItemString(d,"wxSTC_SCRIPTOL_COMMENT", PyInt_FromLong((long) 1)); | |
13144 | PyDict_SetItemString(d,"wxSTC_SCRIPTOL_COMMENTLINE", PyInt_FromLong((long) 2)); | |
13145 | PyDict_SetItemString(d,"wxSTC_SCRIPTOL_COMMENTDOC", PyInt_FromLong((long) 3)); | |
13146 | PyDict_SetItemString(d,"wxSTC_SCRIPTOL_NUMBER", PyInt_FromLong((long) 4)); | |
13147 | PyDict_SetItemString(d,"wxSTC_SCRIPTOL_WORD", PyInt_FromLong((long) 5)); | |
13148 | PyDict_SetItemString(d,"wxSTC_SCRIPTOL_STRING", PyInt_FromLong((long) 6)); | |
13149 | PyDict_SetItemString(d,"wxSTC_SCRIPTOL_CHARACTER", PyInt_FromLong((long) 7)); | |
13150 | PyDict_SetItemString(d,"wxSTC_SCRIPTOL_UUID", PyInt_FromLong((long) 8)); | |
13151 | PyDict_SetItemString(d,"wxSTC_SCRIPTOL_PREPROCESSOR", PyInt_FromLong((long) 9)); | |
13152 | PyDict_SetItemString(d,"wxSTC_SCRIPTOL_OPERATOR", PyInt_FromLong((long) 10)); | |
13153 | PyDict_SetItemString(d,"wxSTC_SCRIPTOL_IDENTIFIER", PyInt_FromLong((long) 11)); | |
13154 | PyDict_SetItemString(d,"wxSTC_SCRIPTOL_STRINGEOL", PyInt_FromLong((long) 12)); | |
13155 | PyDict_SetItemString(d,"wxSTC_SCRIPTOL_VERBATIM", PyInt_FromLong((long) 13)); | |
13156 | PyDict_SetItemString(d,"wxSTC_SCRIPTOL_REGEX", PyInt_FromLong((long) 14)); | |
13157 | PyDict_SetItemString(d,"wxSTC_SCRIPTOL_COMMENTLINEDOC", PyInt_FromLong((long) 15)); | |
13158 | PyDict_SetItemString(d,"wxSTC_SCRIPTOL_WORD2", PyInt_FromLong((long) 16)); | |
13159 | PyDict_SetItemString(d,"wxSTC_SCRIPTOL_COMMENTDOCKEYWORD", PyInt_FromLong((long) 17)); | |
13160 | PyDict_SetItemString(d,"wxSTC_SCRIPTOL_COMMENTDOCKEYWORDERROR", PyInt_FromLong((long) 18)); | |
13161 | PyDict_SetItemString(d,"wxSTC_SCRIPTOL_COMMENTBASIC", PyInt_FromLong((long) 19)); | |
1fded56b RD |
13162 | PyDict_SetItemString(d,"wxSTC_ASM_DEFAULT", PyInt_FromLong((long) 0)); |
13163 | PyDict_SetItemString(d,"wxSTC_ASM_COMMENT", PyInt_FromLong((long) 1)); | |
13164 | PyDict_SetItemString(d,"wxSTC_ASM_NUMBER", PyInt_FromLong((long) 2)); | |
13165 | PyDict_SetItemString(d,"wxSTC_ASM_STRING", PyInt_FromLong((long) 3)); | |
13166 | PyDict_SetItemString(d,"wxSTC_ASM_OPERATOR", PyInt_FromLong((long) 4)); | |
13167 | PyDict_SetItemString(d,"wxSTC_ASM_IDENTIFIER", PyInt_FromLong((long) 5)); | |
13168 | PyDict_SetItemString(d,"wxSTC_ASM_CPUINSTRUCTION", PyInt_FromLong((long) 6)); | |
13169 | PyDict_SetItemString(d,"wxSTC_ASM_MATHINSTRUCTION", PyInt_FromLong((long) 7)); | |
13170 | PyDict_SetItemString(d,"wxSTC_ASM_REGISTER", PyInt_FromLong((long) 8)); | |
13171 | PyDict_SetItemString(d,"wxSTC_ASM_DIRECTIVE", PyInt_FromLong((long) 9)); | |
13172 | PyDict_SetItemString(d,"wxSTC_ASM_DIRECTIVEOPERAND", PyInt_FromLong((long) 10)); | |
13173 | PyDict_SetItemString(d,"wxSTC_F_DEFAULT", PyInt_FromLong((long) 0)); | |
13174 | PyDict_SetItemString(d,"wxSTC_F_COMMENT", PyInt_FromLong((long) 1)); | |
13175 | PyDict_SetItemString(d,"wxSTC_F_NUMBER", PyInt_FromLong((long) 2)); | |
13176 | PyDict_SetItemString(d,"wxSTC_F_STRING1", PyInt_FromLong((long) 3)); | |
13177 | PyDict_SetItemString(d,"wxSTC_F_STRING2", PyInt_FromLong((long) 4)); | |
13178 | PyDict_SetItemString(d,"wxSTC_F_STRINGEOL", PyInt_FromLong((long) 5)); | |
13179 | PyDict_SetItemString(d,"wxSTC_F_OPERATOR", PyInt_FromLong((long) 6)); | |
13180 | PyDict_SetItemString(d,"wxSTC_F_IDENTIFIER", PyInt_FromLong((long) 7)); | |
13181 | PyDict_SetItemString(d,"wxSTC_F_WORD", PyInt_FromLong((long) 8)); | |
13182 | PyDict_SetItemString(d,"wxSTC_F_WORD2", PyInt_FromLong((long) 9)); | |
13183 | PyDict_SetItemString(d,"wxSTC_F_WORD3", PyInt_FromLong((long) 10)); | |
13184 | PyDict_SetItemString(d,"wxSTC_F_PREPROCESSOR", PyInt_FromLong((long) 11)); | |
13185 | PyDict_SetItemString(d,"wxSTC_F_OPERATOR2", PyInt_FromLong((long) 12)); | |
13186 | PyDict_SetItemString(d,"wxSTC_F_LABEL", PyInt_FromLong((long) 13)); | |
13187 | PyDict_SetItemString(d,"wxSTC_F_CONTINUATION", PyInt_FromLong((long) 14)); | |
13188 | PyDict_SetItemString(d,"wxSTC_CSS_DEFAULT", PyInt_FromLong((long) 0)); | |
13189 | PyDict_SetItemString(d,"wxSTC_CSS_TAG", PyInt_FromLong((long) 1)); | |
13190 | PyDict_SetItemString(d,"wxSTC_CSS_CLASS", PyInt_FromLong((long) 2)); | |
13191 | PyDict_SetItemString(d,"wxSTC_CSS_PSEUDOCLASS", PyInt_FromLong((long) 3)); | |
13192 | PyDict_SetItemString(d,"wxSTC_CSS_UNKNOWN_PSEUDOCLASS", PyInt_FromLong((long) 4)); | |
13193 | PyDict_SetItemString(d,"wxSTC_CSS_OPERATOR", PyInt_FromLong((long) 5)); | |
13194 | PyDict_SetItemString(d,"wxSTC_CSS_IDENTIFIER", PyInt_FromLong((long) 6)); | |
13195 | PyDict_SetItemString(d,"wxSTC_CSS_UNKNOWN_IDENTIFIER", PyInt_FromLong((long) 7)); | |
13196 | PyDict_SetItemString(d,"wxSTC_CSS_VALUE", PyInt_FromLong((long) 8)); | |
13197 | PyDict_SetItemString(d,"wxSTC_CSS_COMMENT", PyInt_FromLong((long) 9)); | |
13198 | PyDict_SetItemString(d,"wxSTC_CSS_ID", PyInt_FromLong((long) 10)); | |
13199 | PyDict_SetItemString(d,"wxSTC_CSS_IMPORTANT", PyInt_FromLong((long) 11)); | |
13200 | PyDict_SetItemString(d,"wxSTC_CSS_DIRECTIVE", PyInt_FromLong((long) 12)); | |
13201 | PyDict_SetItemString(d,"wxSTC_CSS_DOUBLESTRING", PyInt_FromLong((long) 13)); | |
13202 | PyDict_SetItemString(d,"wxSTC_CSS_SINGLESTRING", PyInt_FromLong((long) 14)); | |
13203 | PyDict_SetItemString(d,"wxSTC_POV_DEFAULT", PyInt_FromLong((long) 0)); | |
13204 | PyDict_SetItemString(d,"wxSTC_POV_COMMENT", PyInt_FromLong((long) 1)); | |
13205 | PyDict_SetItemString(d,"wxSTC_POV_COMMENTLINE", PyInt_FromLong((long) 2)); | |
854e7dc3 RD |
13206 | PyDict_SetItemString(d,"wxSTC_POV_NUMBER", PyInt_FromLong((long) 3)); |
13207 | PyDict_SetItemString(d,"wxSTC_POV_OPERATOR", PyInt_FromLong((long) 4)); | |
13208 | PyDict_SetItemString(d,"wxSTC_POV_IDENTIFIER", PyInt_FromLong((long) 5)); | |
1fded56b | 13209 | PyDict_SetItemString(d,"wxSTC_POV_STRING", PyInt_FromLong((long) 6)); |
854e7dc3 RD |
13210 | PyDict_SetItemString(d,"wxSTC_POV_STRINGEOL", PyInt_FromLong((long) 7)); |
13211 | PyDict_SetItemString(d,"wxSTC_POV_DIRECTIVE", PyInt_FromLong((long) 8)); | |
13212 | PyDict_SetItemString(d,"wxSTC_POV_BADDIRECTIVE", PyInt_FromLong((long) 9)); | |
1fded56b | 13213 | PyDict_SetItemString(d,"wxSTC_POV_WORD2", PyInt_FromLong((long) 10)); |
854e7dc3 RD |
13214 | PyDict_SetItemString(d,"wxSTC_POV_WORD3", PyInt_FromLong((long) 11)); |
13215 | PyDict_SetItemString(d,"wxSTC_POV_WORD4", PyInt_FromLong((long) 12)); | |
13216 | PyDict_SetItemString(d,"wxSTC_POV_WORD5", PyInt_FromLong((long) 13)); | |
13217 | PyDict_SetItemString(d,"wxSTC_POV_WORD6", PyInt_FromLong((long) 14)); | |
13218 | PyDict_SetItemString(d,"wxSTC_POV_WORD7", PyInt_FromLong((long) 15)); | |
13219 | PyDict_SetItemString(d,"wxSTC_POV_WORD8", PyInt_FromLong((long) 16)); | |
d84a9306 RD |
13220 | PyDict_SetItemString(d,"wxSTC_LOUT_DEFAULT", PyInt_FromLong((long) 0)); |
13221 | PyDict_SetItemString(d,"wxSTC_LOUT_COMMENT", PyInt_FromLong((long) 1)); | |
13222 | PyDict_SetItemString(d,"wxSTC_LOUT_NUMBER", PyInt_FromLong((long) 2)); | |
13223 | PyDict_SetItemString(d,"wxSTC_LOUT_WORD", PyInt_FromLong((long) 3)); | |
13224 | PyDict_SetItemString(d,"wxSTC_LOUT_WORD2", PyInt_FromLong((long) 4)); | |
13225 | PyDict_SetItemString(d,"wxSTC_LOUT_WORD3", PyInt_FromLong((long) 5)); | |
13226 | PyDict_SetItemString(d,"wxSTC_LOUT_WORD4", PyInt_FromLong((long) 6)); | |
13227 | PyDict_SetItemString(d,"wxSTC_LOUT_STRING", PyInt_FromLong((long) 7)); | |
13228 | PyDict_SetItemString(d,"wxSTC_LOUT_OPERATOR", PyInt_FromLong((long) 8)); | |
13229 | PyDict_SetItemString(d,"wxSTC_LOUT_IDENTIFIER", PyInt_FromLong((long) 9)); | |
13230 | PyDict_SetItemString(d,"wxSTC_LOUT_STRINGEOL", PyInt_FromLong((long) 10)); | |
13231 | PyDict_SetItemString(d,"wxSTC_ESCRIPT_DEFAULT", PyInt_FromLong((long) 0)); | |
13232 | PyDict_SetItemString(d,"wxSTC_ESCRIPT_COMMENT", PyInt_FromLong((long) 1)); | |
13233 | PyDict_SetItemString(d,"wxSTC_ESCRIPT_COMMENTLINE", PyInt_FromLong((long) 2)); | |
13234 | PyDict_SetItemString(d,"wxSTC_ESCRIPT_COMMENTDOC", PyInt_FromLong((long) 3)); | |
13235 | PyDict_SetItemString(d,"wxSTC_ESCRIPT_NUMBER", PyInt_FromLong((long) 4)); | |
13236 | PyDict_SetItemString(d,"wxSTC_ESCRIPT_WORD", PyInt_FromLong((long) 5)); | |
13237 | PyDict_SetItemString(d,"wxSTC_ESCRIPT_STRING", PyInt_FromLong((long) 6)); | |
13238 | PyDict_SetItemString(d,"wxSTC_ESCRIPT_OPERATOR", PyInt_FromLong((long) 7)); | |
13239 | PyDict_SetItemString(d,"wxSTC_ESCRIPT_IDENTIFIER", PyInt_FromLong((long) 8)); | |
13240 | PyDict_SetItemString(d,"wxSTC_ESCRIPT_BRACE", PyInt_FromLong((long) 9)); | |
13241 | PyDict_SetItemString(d,"wxSTC_ESCRIPT_WORD2", PyInt_FromLong((long) 10)); | |
13242 | PyDict_SetItemString(d,"wxSTC_ESCRIPT_WORD3", PyInt_FromLong((long) 11)); | |
854e7dc3 RD |
13243 | PyDict_SetItemString(d,"wxSTC_PS_DEFAULT", PyInt_FromLong((long) 0)); |
13244 | PyDict_SetItemString(d,"wxSTC_PS_COMMENT", PyInt_FromLong((long) 1)); | |
13245 | PyDict_SetItemString(d,"wxSTC_PS_DSC_COMMENT", PyInt_FromLong((long) 2)); | |
13246 | PyDict_SetItemString(d,"wxSTC_PS_DSC_VALUE", PyInt_FromLong((long) 3)); | |
13247 | PyDict_SetItemString(d,"wxSTC_PS_NUMBER", PyInt_FromLong((long) 4)); | |
13248 | PyDict_SetItemString(d,"wxSTC_PS_NAME", PyInt_FromLong((long) 5)); | |
13249 | PyDict_SetItemString(d,"wxSTC_PS_KEYWORD", PyInt_FromLong((long) 6)); | |
13250 | PyDict_SetItemString(d,"wxSTC_PS_LITERAL", PyInt_FromLong((long) 7)); | |
13251 | PyDict_SetItemString(d,"wxSTC_PS_IMMEVAL", PyInt_FromLong((long) 8)); | |
13252 | PyDict_SetItemString(d,"wxSTC_PS_PAREN_ARRAY", PyInt_FromLong((long) 9)); | |
13253 | PyDict_SetItemString(d,"wxSTC_PS_PAREN_DICT", PyInt_FromLong((long) 10)); | |
13254 | PyDict_SetItemString(d,"wxSTC_PS_PAREN_PROC", PyInt_FromLong((long) 11)); | |
13255 | PyDict_SetItemString(d,"wxSTC_PS_TEXT", PyInt_FromLong((long) 12)); | |
13256 | PyDict_SetItemString(d,"wxSTC_PS_HEXSTRING", PyInt_FromLong((long) 13)); | |
13257 | PyDict_SetItemString(d,"wxSTC_PS_BASE85STRING", PyInt_FromLong((long) 14)); | |
13258 | PyDict_SetItemString(d,"wxSTC_PS_BADSTRINGCHAR", PyInt_FromLong((long) 15)); | |
13259 | PyDict_SetItemString(d,"wxSTC_NSIS_DEFAULT", PyInt_FromLong((long) 0)); | |
13260 | PyDict_SetItemString(d,"wxSTC_NSIS_COMMENT", PyInt_FromLong((long) 1)); | |
13261 | PyDict_SetItemString(d,"wxSTC_NSIS_STRINGDQ", PyInt_FromLong((long) 2)); | |
13262 | PyDict_SetItemString(d,"wxSTC_NSIS_STRINGLQ", PyInt_FromLong((long) 3)); | |
13263 | PyDict_SetItemString(d,"wxSTC_NSIS_STRINGRQ", PyInt_FromLong((long) 4)); | |
13264 | PyDict_SetItemString(d,"wxSTC_NSIS_FUNCTION", PyInt_FromLong((long) 5)); | |
13265 | PyDict_SetItemString(d,"wxSTC_NSIS_VARIABLE", PyInt_FromLong((long) 6)); | |
13266 | PyDict_SetItemString(d,"wxSTC_NSIS_LABEL", PyInt_FromLong((long) 7)); | |
13267 | PyDict_SetItemString(d,"wxSTC_NSIS_USERDEFINED", PyInt_FromLong((long) 8)); | |
13268 | PyDict_SetItemString(d,"wxSTC_NSIS_SECTIONDEF", PyInt_FromLong((long) 9)); | |
13269 | PyDict_SetItemString(d,"wxSTC_NSIS_SUBSECTIONDEF", PyInt_FromLong((long) 10)); | |
13270 | PyDict_SetItemString(d,"wxSTC_NSIS_IFDEFINEDEF", PyInt_FromLong((long) 11)); | |
13271 | PyDict_SetItemString(d,"wxSTC_NSIS_MACRODEF", PyInt_FromLong((long) 12)); | |
13272 | PyDict_SetItemString(d,"wxSTC_NSIS_STRINGVAR", PyInt_FromLong((long) 13)); | |
13273 | PyDict_SetItemString(d,"wxSTC_MMIXAL_LEADWS", PyInt_FromLong((long) 0)); | |
13274 | PyDict_SetItemString(d,"wxSTC_MMIXAL_COMMENT", PyInt_FromLong((long) 1)); | |
13275 | PyDict_SetItemString(d,"wxSTC_MMIXAL_LABEL", PyInt_FromLong((long) 2)); | |
13276 | PyDict_SetItemString(d,"wxSTC_MMIXAL_OPCODE", PyInt_FromLong((long) 3)); | |
13277 | PyDict_SetItemString(d,"wxSTC_MMIXAL_OPCODE_PRE", PyInt_FromLong((long) 4)); | |
13278 | PyDict_SetItemString(d,"wxSTC_MMIXAL_OPCODE_VALID", PyInt_FromLong((long) 5)); | |
13279 | PyDict_SetItemString(d,"wxSTC_MMIXAL_OPCODE_UNKNOWN", PyInt_FromLong((long) 6)); | |
13280 | PyDict_SetItemString(d,"wxSTC_MMIXAL_OPCODE_POST", PyInt_FromLong((long) 7)); | |
13281 | PyDict_SetItemString(d,"wxSTC_MMIXAL_OPERANDS", PyInt_FromLong((long) 8)); | |
13282 | PyDict_SetItemString(d,"wxSTC_MMIXAL_NUMBER", PyInt_FromLong((long) 9)); | |
13283 | PyDict_SetItemString(d,"wxSTC_MMIXAL_REF", PyInt_FromLong((long) 10)); | |
13284 | PyDict_SetItemString(d,"wxSTC_MMIXAL_CHAR", PyInt_FromLong((long) 11)); | |
13285 | PyDict_SetItemString(d,"wxSTC_MMIXAL_STRING", PyInt_FromLong((long) 12)); | |
13286 | PyDict_SetItemString(d,"wxSTC_MMIXAL_REGISTER", PyInt_FromLong((long) 13)); | |
13287 | PyDict_SetItemString(d,"wxSTC_MMIXAL_HEX", PyInt_FromLong((long) 14)); | |
13288 | PyDict_SetItemString(d,"wxSTC_MMIXAL_OPERATOR", PyInt_FromLong((long) 15)); | |
13289 | PyDict_SetItemString(d,"wxSTC_MMIXAL_SYMBOL", PyInt_FromLong((long) 16)); | |
13290 | PyDict_SetItemString(d,"wxSTC_MMIXAL_INCLUDE", PyInt_FromLong((long) 17)); | |
7108497a RD |
13291 | PyDict_SetItemString(d,"wxSTC_CMD_REDO", PyInt_FromLong((long) 2011)); |
13292 | PyDict_SetItemString(d,"wxSTC_CMD_SELECTALL", PyInt_FromLong((long) 2013)); | |
13293 | PyDict_SetItemString(d,"wxSTC_CMD_UNDO", PyInt_FromLong((long) 2176)); | |
13294 | PyDict_SetItemString(d,"wxSTC_CMD_CUT", PyInt_FromLong((long) 2177)); | |
13295 | PyDict_SetItemString(d,"wxSTC_CMD_COPY", PyInt_FromLong((long) 2178)); | |
13296 | PyDict_SetItemString(d,"wxSTC_CMD_PASTE", PyInt_FromLong((long) 2179)); | |
13297 | PyDict_SetItemString(d,"wxSTC_CMD_CLEAR", PyInt_FromLong((long) 2180)); | |
13298 | PyDict_SetItemString(d,"wxSTC_CMD_LINEDOWN", PyInt_FromLong((long) 2300)); | |
13299 | PyDict_SetItemString(d,"wxSTC_CMD_LINEDOWNEXTEND", PyInt_FromLong((long) 2301)); | |
13300 | PyDict_SetItemString(d,"wxSTC_CMD_LINEUP", PyInt_FromLong((long) 2302)); | |
13301 | PyDict_SetItemString(d,"wxSTC_CMD_LINEUPEXTEND", PyInt_FromLong((long) 2303)); | |
13302 | PyDict_SetItemString(d,"wxSTC_CMD_CHARLEFT", PyInt_FromLong((long) 2304)); | |
13303 | PyDict_SetItemString(d,"wxSTC_CMD_CHARLEFTEXTEND", PyInt_FromLong((long) 2305)); | |
13304 | PyDict_SetItemString(d,"wxSTC_CMD_CHARRIGHT", PyInt_FromLong((long) 2306)); | |
13305 | PyDict_SetItemString(d,"wxSTC_CMD_CHARRIGHTEXTEND", PyInt_FromLong((long) 2307)); | |
13306 | PyDict_SetItemString(d,"wxSTC_CMD_WORDLEFT", PyInt_FromLong((long) 2308)); | |
13307 | PyDict_SetItemString(d,"wxSTC_CMD_WORDLEFTEXTEND", PyInt_FromLong((long) 2309)); | |
13308 | PyDict_SetItemString(d,"wxSTC_CMD_WORDRIGHT", PyInt_FromLong((long) 2310)); | |
13309 | PyDict_SetItemString(d,"wxSTC_CMD_WORDRIGHTEXTEND", PyInt_FromLong((long) 2311)); | |
13310 | PyDict_SetItemString(d,"wxSTC_CMD_HOME", PyInt_FromLong((long) 2312)); | |
13311 | PyDict_SetItemString(d,"wxSTC_CMD_HOMEEXTEND", PyInt_FromLong((long) 2313)); | |
13312 | PyDict_SetItemString(d,"wxSTC_CMD_LINEEND", PyInt_FromLong((long) 2314)); | |
13313 | PyDict_SetItemString(d,"wxSTC_CMD_LINEENDEXTEND", PyInt_FromLong((long) 2315)); | |
13314 | PyDict_SetItemString(d,"wxSTC_CMD_DOCUMENTSTART", PyInt_FromLong((long) 2316)); | |
13315 | PyDict_SetItemString(d,"wxSTC_CMD_DOCUMENTSTARTEXTEND", PyInt_FromLong((long) 2317)); | |
13316 | PyDict_SetItemString(d,"wxSTC_CMD_DOCUMENTEND", PyInt_FromLong((long) 2318)); | |
13317 | PyDict_SetItemString(d,"wxSTC_CMD_DOCUMENTENDEXTEND", PyInt_FromLong((long) 2319)); | |
13318 | PyDict_SetItemString(d,"wxSTC_CMD_PAGEUP", PyInt_FromLong((long) 2320)); | |
13319 | PyDict_SetItemString(d,"wxSTC_CMD_PAGEUPEXTEND", PyInt_FromLong((long) 2321)); | |
13320 | PyDict_SetItemString(d,"wxSTC_CMD_PAGEDOWN", PyInt_FromLong((long) 2322)); | |
13321 | PyDict_SetItemString(d,"wxSTC_CMD_PAGEDOWNEXTEND", PyInt_FromLong((long) 2323)); | |
13322 | PyDict_SetItemString(d,"wxSTC_CMD_EDITTOGGLEOVERTYPE", PyInt_FromLong((long) 2324)); | |
13323 | PyDict_SetItemString(d,"wxSTC_CMD_CANCEL", PyInt_FromLong((long) 2325)); | |
13324 | PyDict_SetItemString(d,"wxSTC_CMD_DELETEBACK", PyInt_FromLong((long) 2326)); | |
13325 | PyDict_SetItemString(d,"wxSTC_CMD_TAB", PyInt_FromLong((long) 2327)); | |
13326 | PyDict_SetItemString(d,"wxSTC_CMD_BACKTAB", PyInt_FromLong((long) 2328)); | |
13327 | PyDict_SetItemString(d,"wxSTC_CMD_NEWLINE", PyInt_FromLong((long) 2329)); | |
13328 | PyDict_SetItemString(d,"wxSTC_CMD_FORMFEED", PyInt_FromLong((long) 2330)); | |
13329 | PyDict_SetItemString(d,"wxSTC_CMD_VCHOME", PyInt_FromLong((long) 2331)); | |
13330 | PyDict_SetItemString(d,"wxSTC_CMD_VCHOMEEXTEND", PyInt_FromLong((long) 2332)); | |
13331 | PyDict_SetItemString(d,"wxSTC_CMD_ZOOMIN", PyInt_FromLong((long) 2333)); | |
13332 | PyDict_SetItemString(d,"wxSTC_CMD_ZOOMOUT", PyInt_FromLong((long) 2334)); | |
13333 | PyDict_SetItemString(d,"wxSTC_CMD_DELWORDLEFT", PyInt_FromLong((long) 2335)); | |
13334 | PyDict_SetItemString(d,"wxSTC_CMD_DELWORDRIGHT", PyInt_FromLong((long) 2336)); | |
13335 | PyDict_SetItemString(d,"wxSTC_CMD_LINECUT", PyInt_FromLong((long) 2337)); | |
13336 | PyDict_SetItemString(d,"wxSTC_CMD_LINEDELETE", PyInt_FromLong((long) 2338)); | |
13337 | PyDict_SetItemString(d,"wxSTC_CMD_LINETRANSPOSE", PyInt_FromLong((long) 2339)); | |
1fded56b | 13338 | PyDict_SetItemString(d,"wxSTC_CMD_LINEDUPLICATE", PyInt_FromLong((long) 2404)); |
7108497a RD |
13339 | PyDict_SetItemString(d,"wxSTC_CMD_LOWERCASE", PyInt_FromLong((long) 2340)); |
13340 | PyDict_SetItemString(d,"wxSTC_CMD_UPPERCASE", PyInt_FromLong((long) 2341)); | |
13341 | PyDict_SetItemString(d,"wxSTC_CMD_LINESCROLLDOWN", PyInt_FromLong((long) 2342)); | |
13342 | PyDict_SetItemString(d,"wxSTC_CMD_LINESCROLLUP", PyInt_FromLong((long) 2343)); | |
13343 | PyDict_SetItemString(d,"wxSTC_CMD_DELETEBACKNOTLINE", PyInt_FromLong((long) 2344)); | |
13344 | PyDict_SetItemString(d,"wxSTC_CMD_HOMEDISPLAY", PyInt_FromLong((long) 2345)); | |
13345 | PyDict_SetItemString(d,"wxSTC_CMD_HOMEDISPLAYEXTEND", PyInt_FromLong((long) 2346)); | |
13346 | PyDict_SetItemString(d,"wxSTC_CMD_LINEENDDISPLAY", PyInt_FromLong((long) 2347)); | |
13347 | PyDict_SetItemString(d,"wxSTC_CMD_LINEENDDISPLAYEXTEND", PyInt_FromLong((long) 2348)); | |
1fded56b RD |
13348 | PyDict_SetItemString(d,"wxSTC_CMD_HOMEWRAP", PyInt_FromLong((long) 2349)); |
13349 | PyDict_SetItemString(d,"wxSTC_CMD_HOMEWRAPEXTEND", PyInt_FromLong((long) 2450)); | |
13350 | PyDict_SetItemString(d,"wxSTC_CMD_LINEENDWRAP", PyInt_FromLong((long) 2451)); | |
13351 | PyDict_SetItemString(d,"wxSTC_CMD_LINEENDWRAPEXTEND", PyInt_FromLong((long) 2452)); | |
13352 | PyDict_SetItemString(d,"wxSTC_CMD_VCHOMEWRAP", PyInt_FromLong((long) 2453)); | |
13353 | PyDict_SetItemString(d,"wxSTC_CMD_VCHOMEWRAPEXTEND", PyInt_FromLong((long) 2454)); | |
7108497a RD |
13354 | PyDict_SetItemString(d,"wxSTC_CMD_WORDPARTLEFT", PyInt_FromLong((long) 2390)); |
13355 | PyDict_SetItemString(d,"wxSTC_CMD_WORDPARTLEFTEXTEND", PyInt_FromLong((long) 2391)); | |
13356 | PyDict_SetItemString(d,"wxSTC_CMD_WORDPARTRIGHT", PyInt_FromLong((long) 2392)); | |
13357 | PyDict_SetItemString(d,"wxSTC_CMD_WORDPARTRIGHTEXTEND", PyInt_FromLong((long) 2393)); | |
13358 | PyDict_SetItemString(d,"wxSTC_CMD_DELLINELEFT", PyInt_FromLong((long) 2395)); | |
13359 | PyDict_SetItemString(d,"wxSTC_CMD_DELLINERIGHT", PyInt_FromLong((long) 2396)); | |
1fded56b RD |
13360 | PyDict_SetItemString(d,"wxSTC_CMD_PARADOWN", PyInt_FromLong((long) 2413)); |
13361 | PyDict_SetItemString(d,"wxSTC_CMD_PARADOWNEXTEND", PyInt_FromLong((long) 2414)); | |
13362 | PyDict_SetItemString(d,"wxSTC_CMD_PARAUP", PyInt_FromLong((long) 2415)); | |
13363 | PyDict_SetItemString(d,"wxSTC_CMD_PARAUPEXTEND", PyInt_FromLong((long) 2416)); | |
8a2fa5c8 RD |
13364 | PyDict_SetItemString(d,"wxEVT_STC_CHANGE", PyInt_FromLong((long) wxEVT_STC_CHANGE)); |
13365 | PyDict_SetItemString(d,"wxEVT_STC_STYLENEEDED", PyInt_FromLong((long) wxEVT_STC_STYLENEEDED)); | |
13366 | PyDict_SetItemString(d,"wxEVT_STC_CHARADDED", PyInt_FromLong((long) wxEVT_STC_CHARADDED)); | |
13367 | PyDict_SetItemString(d,"wxEVT_STC_SAVEPOINTREACHED", PyInt_FromLong((long) wxEVT_STC_SAVEPOINTREACHED)); | |
13368 | PyDict_SetItemString(d,"wxEVT_STC_SAVEPOINTLEFT", PyInt_FromLong((long) wxEVT_STC_SAVEPOINTLEFT)); | |
13369 | PyDict_SetItemString(d,"wxEVT_STC_ROMODIFYATTEMPT", PyInt_FromLong((long) wxEVT_STC_ROMODIFYATTEMPT)); | |
13370 | PyDict_SetItemString(d,"wxEVT_STC_KEY", PyInt_FromLong((long) wxEVT_STC_KEY)); | |
13371 | PyDict_SetItemString(d,"wxEVT_STC_DOUBLECLICK", PyInt_FromLong((long) wxEVT_STC_DOUBLECLICK)); | |
13372 | PyDict_SetItemString(d,"wxEVT_STC_UPDATEUI", PyInt_FromLong((long) wxEVT_STC_UPDATEUI)); | |
13373 | PyDict_SetItemString(d,"wxEVT_STC_MODIFIED", PyInt_FromLong((long) wxEVT_STC_MODIFIED)); | |
13374 | PyDict_SetItemString(d,"wxEVT_STC_MACRORECORD", PyInt_FromLong((long) wxEVT_STC_MACRORECORD)); | |
13375 | PyDict_SetItemString(d,"wxEVT_STC_MARGINCLICK", PyInt_FromLong((long) wxEVT_STC_MARGINCLICK)); | |
13376 | PyDict_SetItemString(d,"wxEVT_STC_NEEDSHOWN", PyInt_FromLong((long) wxEVT_STC_NEEDSHOWN)); | |
13377 | PyDict_SetItemString(d,"wxEVT_STC_POSCHANGED", PyInt_FromLong((long) wxEVT_STC_POSCHANGED)); | |
13378 | PyDict_SetItemString(d,"wxEVT_STC_PAINTED", PyInt_FromLong((long) wxEVT_STC_PAINTED)); | |
13379 | PyDict_SetItemString(d,"wxEVT_STC_USERLISTSELECTION", PyInt_FromLong((long) wxEVT_STC_USERLISTSELECTION)); | |
13380 | PyDict_SetItemString(d,"wxEVT_STC_URIDROPPED", PyInt_FromLong((long) wxEVT_STC_URIDROPPED)); | |
13381 | PyDict_SetItemString(d,"wxEVT_STC_DWELLSTART", PyInt_FromLong((long) wxEVT_STC_DWELLSTART)); | |
13382 | PyDict_SetItemString(d,"wxEVT_STC_DWELLEND", PyInt_FromLong((long) wxEVT_STC_DWELLEND)); | |
6abe8375 RD |
13383 | PyDict_SetItemString(d,"wxEVT_STC_START_DRAG", PyInt_FromLong((long) wxEVT_STC_START_DRAG)); |
13384 | PyDict_SetItemString(d,"wxEVT_STC_DRAG_OVER", PyInt_FromLong((long) wxEVT_STC_DRAG_OVER)); | |
13385 | PyDict_SetItemString(d,"wxEVT_STC_DO_DROP", PyInt_FromLong((long) wxEVT_STC_DO_DROP)); | |
47a06a26 | 13386 | PyDict_SetItemString(d,"wxEVT_STC_ZOOM", PyInt_FromLong((long) wxEVT_STC_ZOOM)); |
1fded56b RD |
13387 | PyDict_SetItemString(d,"wxEVT_STC_HOTSPOT_CLICK", PyInt_FromLong((long) wxEVT_STC_HOTSPOT_CLICK)); |
13388 | PyDict_SetItemString(d,"wxEVT_STC_HOTSPOT_DCLICK", PyInt_FromLong((long) wxEVT_STC_HOTSPOT_DCLICK)); | |
13389 | PyDict_SetItemString(d,"wxEVT_STC_CALLTIP_CLICK", PyInt_FromLong((long) wxEVT_STC_CALLTIP_CLICK)); | |
8a2fa5c8 RD |
13390 | |
13391 | ||
8a2fa5c8 RD |
13392 | { |
13393 | int i; | |
13394 | for (i = 0; _swig_mapping[i].n1; i++) | |
13395 | SWIG_RegisterMapping(_swig_mapping[i].n1,_swig_mapping[i].n2,_swig_mapping[i].pcnv); | |
13396 | } | |
13397 | } |