]>
Commit | Line | Data |
---|---|---|
f6bcfd97 | 1 | /* |
74933d75 | 2 | * FILE : contrib/stc/msw/stc_.cpp |
f6bcfd97 BP |
3 | * |
4 | * This file was automatically generated by : | |
5 | * Simplified Wrapper and Interface Generator (SWIG) | |
185d7c3e | 6 | * Version 1.1 (Build 883) |
f6bcfd97 BP |
7 | * |
8 | * Portions Copyright (c) 1995-1998 | |
9 | * The University of Utah and The Regents of the University of California. | |
10 | * Permission is granted to distribute this file in any manner provided | |
11 | * this notice remains intact. | |
12 | * | |
13 | * Do not make changes to this file--changes will be lost! | |
14 | * | |
15 | */ | |
16 | ||
17 | ||
18 | #define SWIGCODE | |
19 | /* Implementation : PYTHON */ | |
20 | ||
21 | #define SWIGPYTHON | |
22 | #include <string.h> | |
23 | #include <stdlib.h> | |
24 | /* Definitions for Windows/Unix exporting */ | |
25 | #if defined(__WIN32__) | |
26 | # if defined(_MSC_VER) | |
27 | # define SWIGEXPORT(a) __declspec(dllexport) a | |
28 | # else | |
29 | # if defined(__BORLANDC__) | |
83b18bab | 30 | # define SWIGEXPORT(a) a _export |
f6bcfd97 | 31 | # else |
83b18bab | 32 | # define SWIGEXPORT(a) a |
f6bcfd97 BP |
33 | # endif |
34 | # endif | |
35 | #else | |
83b18bab | 36 | # define SWIGEXPORT(a) a |
f6bcfd97 BP |
37 | #endif |
38 | ||
83b18bab RD |
39 | #include "Python.h" |
40 | ||
f6bcfd97 BP |
41 | #ifdef __cplusplus |
42 | extern "C" { | |
43 | #endif | |
83b18bab | 44 | |
f6bcfd97 BP |
45 | extern void SWIG_MakePtr(char *, void *, char *); |
46 | extern void SWIG_RegisterMapping(char *, char *, void *(*)(void *)); | |
47 | extern char *SWIG_GetPtr(char *, void **, char *); | |
48 | extern char *SWIG_GetPtrObj(PyObject *, void **, char *); | |
49 | extern void SWIG_addvarlink(PyObject *, char *, PyObject *(*)(void), int (*)(PyObject *)); | |
50 | extern PyObject *SWIG_newvarlink(void); | |
51 | #ifdef __cplusplus | |
52 | } | |
53 | #endif | |
54 | #define SWIG_init initstc_c | |
55 | ||
56 | #define SWIG_name "stc_c" | |
57 | ||
1e7ecb7b | 58 | #include "export.h" |
f6bcfd97 BP |
59 | #include "wx/stc/stc.h" |
60 | ||
f6bcfd97 BP |
61 | |
62 | static PyObject* t_output_helper(PyObject* target, PyObject* o) { | |
63 | PyObject* o2; | |
64 | PyObject* o3; | |
65 | ||
f3d9dc1d | 66 | if (!target) { |
f6bcfd97 | 67 | target = o; |
f3d9dc1d | 68 | } else if (target == Py_None) { |
f6bcfd97 BP |
69 | Py_DECREF(Py_None); |
70 | target = o; | |
f3d9dc1d | 71 | } else { |
f6bcfd97 BP |
72 | if (!PyTuple_Check(target)) { |
73 | o2 = target; | |
74 | target = PyTuple_New(1); | |
75 | PyTuple_SetItem(target, 0, o2); | |
76 | } | |
f3d9dc1d RD |
77 | o3 = PyTuple_New(1); |
78 | PyTuple_SetItem(o3, 0, o); | |
f6bcfd97 BP |
79 | |
80 | o2 = target; | |
f3d9dc1d RD |
81 | target = PySequence_Concat(o2, o3); |
82 | Py_DECREF(o2); | |
f6bcfd97 BP |
83 | Py_DECREF(o3); |
84 | } | |
85 | return target; | |
86 | } | |
137b5242 RD |
87 | |
88 | // Put some wx default wxChar* values into wxStrings. | |
89 | DECLARE_DEF_STRING(STCNameStr); | |
f6bcfd97 BP |
90 | #ifdef __cplusplus |
91 | extern "C" { | |
92 | #endif | |
93 | static void *SwigwxStyledTextCtrlTowxControl(void *ptr) { | |
94 | wxStyledTextCtrl *src; | |
95 | wxControl *dest; | |
96 | src = (wxStyledTextCtrl *) ptr; | |
97 | dest = (wxControl *) src; | |
98 | return (void *) dest; | |
99 | } | |
100 | ||
101 | static void *SwigwxStyledTextCtrlTowxWindow(void *ptr) { | |
102 | wxStyledTextCtrl *src; | |
103 | wxWindow *dest; | |
104 | src = (wxStyledTextCtrl *) ptr; | |
105 | dest = (wxWindow *) src; | |
106 | return (void *) dest; | |
107 | } | |
108 | ||
109 | static void *SwigwxStyledTextCtrlTowxEvtHandler(void *ptr) { | |
110 | wxStyledTextCtrl *src; | |
111 | wxEvtHandler *dest; | |
112 | src = (wxStyledTextCtrl *) ptr; | |
113 | dest = (wxEvtHandler *) src; | |
114 | return (void *) dest; | |
115 | } | |
116 | ||
493f1553 RD |
117 | static void *SwigwxStyledTextCtrlTowxObject(void *ptr) { |
118 | wxStyledTextCtrl *src; | |
119 | wxObject *dest; | |
120 | src = (wxStyledTextCtrl *) ptr; | |
121 | dest = (wxObject *) src; | |
122 | return (void *) dest; | |
123 | } | |
124 | ||
f6bcfd97 BP |
125 | #define new_wxStyledTextCtrl(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxStyledTextCtrl(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5)) |
126 | static PyObject *_wrap_new_wxStyledTextCtrl(PyObject *self, PyObject *args, PyObject *kwargs) { | |
127 | PyObject * _resultobj; | |
128 | wxStyledTextCtrl * _result; | |
129 | wxWindow * _arg0; | |
130 | wxWindowID _arg1; | |
131 | wxPoint * _arg2 = (wxPoint *) &wxDefaultPosition; | |
132 | wxSize * _arg3 = (wxSize *) &wxDefaultSize; | |
133 | long _arg4 = (long ) 0; | |
137b5242 | 134 | wxString * _arg5 = (wxString *) &wxPySTCNameStr; |
f6bcfd97 BP |
135 | PyObject * _argo0 = 0; |
136 | wxPoint temp; | |
137 | PyObject * _obj2 = 0; | |
138 | wxSize temp0; | |
139 | PyObject * _obj3 = 0; | |
137b5242 | 140 | PyObject * _obj5 = 0; |
f6bcfd97 BP |
141 | char *_kwnames[] = { "parent","id","pos","size","style","name", NULL }; |
142 | char _ptemp[128]; | |
143 | ||
144 | self = self; | |
137b5242 | 145 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi|OOlO:new_wxStyledTextCtrl",_kwnames,&_argo0,&_arg1,&_obj2,&_obj3,&_arg4,&_obj5)) |
f6bcfd97 BP |
146 | return NULL; |
147 | if (_argo0) { | |
148 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
149 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) { | |
150 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxStyledTextCtrl. Expected _wxWindow_p."); | |
151 | return NULL; | |
152 | } | |
153 | } | |
154 | if (_obj2) | |
155 | { | |
156 | _arg2 = &temp; | |
157 | if (! wxPoint_helper(_obj2, &_arg2)) | |
158 | return NULL; | |
159 | } | |
160 | if (_obj3) | |
161 | { | |
162 | _arg3 = &temp0; | |
163 | if (! wxSize_helper(_obj3, &_arg3)) | |
164 | return NULL; | |
137b5242 RD |
165 | } |
166 | if (_obj5) | |
167 | { | |
168 | _arg5 = wxString_in_helper(_obj5); | |
169 | if (_arg5 == NULL) | |
170 | return NULL; | |
f6bcfd97 BP |
171 | } |
172 | { | |
4268f798 | 173 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
137b5242 | 174 | _result = (wxStyledTextCtrl *)new_wxStyledTextCtrl(_arg0,_arg1,*_arg2,*_arg3,_arg4,*_arg5); |
f6bcfd97 | 175 | |
4268f798 RD |
176 | wxPyEndAllowThreads(__tstate); |
177 | if (PyErr_Occurred()) return NULL; | |
f6bcfd97 BP |
178 | } if (_result) { |
179 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxStyledTextCtrl_p"); | |
180 | _resultobj = Py_BuildValue("s",_ptemp); | |
181 | } else { | |
182 | Py_INCREF(Py_None); | |
183 | _resultobj = Py_None; | |
184 | } | |
137b5242 RD |
185 | { |
186 | if (_obj5) | |
187 | delete _arg5; | |
188 | } | |
f6bcfd97 BP |
189 | return _resultobj; |
190 | } | |
191 | ||
fe47ec10 RD |
192 | #define wxStyledTextCtrl_AddText(_swigobj,_swigarg0) (_swigobj->AddText(_swigarg0)) |
193 | static PyObject *_wrap_wxStyledTextCtrl_AddText(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 | 194 | PyObject * _resultobj; |
f6bcfd97 | 195 | wxStyledTextCtrl * _arg0; |
fe47ec10 | 196 | wxString * _arg1; |
f6bcfd97 | 197 | PyObject * _argo0 = 0; |
fe47ec10 RD |
198 | PyObject * _obj1 = 0; |
199 | char *_kwnames[] = { "self","text", NULL }; | |
f6bcfd97 BP |
200 | |
201 | self = self; | |
fe47ec10 | 202 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxStyledTextCtrl_AddText",_kwnames,&_argo0,&_obj1)) |
f6bcfd97 BP |
203 | return NULL; |
204 | if (_argo0) { | |
205 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
206 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 207 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_AddText. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
208 | return NULL; |
209 | } | |
210 | } | |
fe47ec10 | 211 | { |
c8bc7bb8 RD |
212 | _arg1 = wxString_in_helper(_obj1); |
213 | if (_arg1 == NULL) | |
185d7c3e | 214 | return NULL; |
fe47ec10 | 215 | } |
f6bcfd97 | 216 | { |
4268f798 | 217 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 218 | wxStyledTextCtrl_AddText(_arg0,*_arg1); |
f6bcfd97 | 219 | |
4268f798 RD |
220 | wxPyEndAllowThreads(__tstate); |
221 | if (PyErr_Occurred()) return NULL; | |
fe47ec10 RD |
222 | } Py_INCREF(Py_None); |
223 | _resultobj = Py_None; | |
f6bcfd97 | 224 | { |
fe47ec10 RD |
225 | if (_obj1) |
226 | delete _arg1; | |
f6bcfd97 BP |
227 | } |
228 | return _resultobj; | |
229 | } | |
230 | ||
fe47ec10 RD |
231 | #define wxStyledTextCtrl_AddStyledText(_swigobj,_swigarg0) (_swigobj->AddStyledText(_swigarg0)) |
232 | static PyObject *_wrap_wxStyledTextCtrl_AddStyledText(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 | 233 | PyObject * _resultobj; |
f6bcfd97 | 234 | wxStyledTextCtrl * _arg0; |
10ef30eb | 235 | wxMemoryBuffer * _arg1; |
f6bcfd97 BP |
236 | PyObject * _argo0 = 0; |
237 | PyObject * _obj1 = 0; | |
10ef30eb | 238 | char *_kwnames[] = { "self","data", NULL }; |
f6bcfd97 BP |
239 | |
240 | self = self; | |
fe47ec10 | 241 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxStyledTextCtrl_AddStyledText",_kwnames,&_argo0,&_obj1)) |
f6bcfd97 BP |
242 | return NULL; |
243 | if (_argo0) { | |
244 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
245 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 246 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_AddStyledText. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
247 | return NULL; |
248 | } | |
249 | } | |
250 | { | |
10ef30eb RD |
251 | if (!PyString_Check(_obj1)) { |
252 | PyErr_SetString(PyExc_TypeError, "String buffer expected"); | |
185d7c3e | 253 | return NULL; |
10ef30eb RD |
254 | } |
255 | char* str = PyString_AS_STRING(_obj1); | |
256 | int len = PyString_GET_SIZE(_obj1); | |
257 | _arg1 = new wxMemoryBuffer(len); | |
258 | memcpy(_arg1->GetData(), str, len); | |
f6bcfd97 BP |
259 | } |
260 | { | |
4268f798 | 261 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 262 | wxStyledTextCtrl_AddStyledText(_arg0,*_arg1); |
f6bcfd97 | 263 | |
4268f798 RD |
264 | wxPyEndAllowThreads(__tstate); |
265 | if (PyErr_Occurred()) return NULL; | |
fe47ec10 RD |
266 | } Py_INCREF(Py_None); |
267 | _resultobj = Py_None; | |
f6bcfd97 BP |
268 | { |
269 | if (_obj1) | |
270 | delete _arg1; | |
271 | } | |
272 | return _resultobj; | |
273 | } | |
274 | ||
fe47ec10 RD |
275 | #define wxStyledTextCtrl_InsertText(_swigobj,_swigarg0,_swigarg1) (_swigobj->InsertText(_swigarg0,_swigarg1)) |
276 | static PyObject *_wrap_wxStyledTextCtrl_InsertText(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 | 277 | PyObject * _resultobj; |
f6bcfd97 BP |
278 | wxStyledTextCtrl * _arg0; |
279 | int _arg1; | |
fe47ec10 | 280 | wxString * _arg2; |
f6bcfd97 | 281 | PyObject * _argo0 = 0; |
fe47ec10 RD |
282 | PyObject * _obj2 = 0; |
283 | char *_kwnames[] = { "self","pos","text", NULL }; | |
f6bcfd97 BP |
284 | |
285 | self = self; | |
fe47ec10 | 286 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxStyledTextCtrl_InsertText",_kwnames,&_argo0,&_arg1,&_obj2)) |
f6bcfd97 BP |
287 | return NULL; |
288 | if (_argo0) { | |
289 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
290 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 291 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_InsertText. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
292 | return NULL; |
293 | } | |
294 | } | |
fe47ec10 | 295 | { |
c8bc7bb8 RD |
296 | _arg2 = wxString_in_helper(_obj2); |
297 | if (_arg2 == NULL) | |
185d7c3e | 298 | return NULL; |
fe47ec10 | 299 | } |
f6bcfd97 | 300 | { |
4268f798 | 301 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 302 | wxStyledTextCtrl_InsertText(_arg0,_arg1,*_arg2); |
f6bcfd97 | 303 | |
4268f798 RD |
304 | wxPyEndAllowThreads(__tstate); |
305 | if (PyErr_Occurred()) return NULL; | |
fe47ec10 RD |
306 | } Py_INCREF(Py_None); |
307 | _resultobj = Py_None; | |
f6bcfd97 | 308 | { |
fe47ec10 RD |
309 | if (_obj2) |
310 | delete _arg2; | |
f6bcfd97 BP |
311 | } |
312 | return _resultobj; | |
313 | } | |
314 | ||
fe47ec10 RD |
315 | #define wxStyledTextCtrl_ClearAll(_swigobj) (_swigobj->ClearAll()) |
316 | static PyObject *_wrap_wxStyledTextCtrl_ClearAll(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 BP |
317 | PyObject * _resultobj; |
318 | wxStyledTextCtrl * _arg0; | |
f6bcfd97 | 319 | PyObject * _argo0 = 0; |
fe47ec10 | 320 | char *_kwnames[] = { "self", NULL }; |
f6bcfd97 BP |
321 | |
322 | self = self; | |
fe47ec10 | 323 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_ClearAll",_kwnames,&_argo0)) |
f6bcfd97 BP |
324 | return NULL; |
325 | if (_argo0) { | |
326 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
327 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 328 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_ClearAll. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
329 | return NULL; |
330 | } | |
331 | } | |
f6bcfd97 | 332 | { |
4268f798 | 333 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 334 | wxStyledTextCtrl_ClearAll(_arg0); |
f6bcfd97 | 335 | |
4268f798 RD |
336 | wxPyEndAllowThreads(__tstate); |
337 | if (PyErr_Occurred()) return NULL; | |
f6bcfd97 BP |
338 | } Py_INCREF(Py_None); |
339 | _resultobj = Py_None; | |
f6bcfd97 BP |
340 | return _resultobj; |
341 | } | |
342 | ||
fe47ec10 RD |
343 | #define wxStyledTextCtrl_ClearDocumentStyle(_swigobj) (_swigobj->ClearDocumentStyle()) |
344 | static PyObject *_wrap_wxStyledTextCtrl_ClearDocumentStyle(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 BP |
345 | PyObject * _resultobj; |
346 | wxStyledTextCtrl * _arg0; | |
f6bcfd97 | 347 | PyObject * _argo0 = 0; |
fe47ec10 | 348 | char *_kwnames[] = { "self", NULL }; |
f6bcfd97 BP |
349 | |
350 | self = self; | |
fe47ec10 | 351 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_ClearDocumentStyle",_kwnames,&_argo0)) |
f6bcfd97 BP |
352 | return NULL; |
353 | if (_argo0) { | |
354 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
355 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 356 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_ClearDocumentStyle. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
357 | return NULL; |
358 | } | |
359 | } | |
f6bcfd97 | 360 | { |
4268f798 | 361 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 362 | wxStyledTextCtrl_ClearDocumentStyle(_arg0); |
f6bcfd97 | 363 | |
4268f798 RD |
364 | wxPyEndAllowThreads(__tstate); |
365 | if (PyErr_Occurred()) return NULL; | |
f6bcfd97 BP |
366 | } Py_INCREF(Py_None); |
367 | _resultobj = Py_None; | |
368 | return _resultobj; | |
369 | } | |
370 | ||
fe47ec10 RD |
371 | #define wxStyledTextCtrl_GetLength(_swigobj) (_swigobj->GetLength()) |
372 | static PyObject *_wrap_wxStyledTextCtrl_GetLength(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 | 373 | PyObject * _resultobj; |
fe47ec10 | 374 | int _result; |
f6bcfd97 BP |
375 | wxStyledTextCtrl * _arg0; |
376 | PyObject * _argo0 = 0; | |
377 | char *_kwnames[] = { "self", NULL }; | |
378 | ||
379 | self = self; | |
fe47ec10 | 380 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetLength",_kwnames,&_argo0)) |
f6bcfd97 BP |
381 | return NULL; |
382 | if (_argo0) { | |
383 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
384 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 385 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetLength. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
386 | return NULL; |
387 | } | |
388 | } | |
389 | { | |
4268f798 | 390 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 391 | _result = (int )wxStyledTextCtrl_GetLength(_arg0); |
f6bcfd97 | 392 | |
4268f798 RD |
393 | wxPyEndAllowThreads(__tstate); |
394 | if (PyErr_Occurred()) return NULL; | |
f6bcfd97 BP |
395 | } _resultobj = Py_BuildValue("i",_result); |
396 | return _resultobj; | |
397 | } | |
398 | ||
fe47ec10 RD |
399 | #define wxStyledTextCtrl_GetCharAt(_swigobj,_swigarg0) (_swigobj->GetCharAt(_swigarg0)) |
400 | static PyObject *_wrap_wxStyledTextCtrl_GetCharAt(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 | 401 | PyObject * _resultobj; |
fe47ec10 | 402 | int _result; |
f6bcfd97 BP |
403 | wxStyledTextCtrl * _arg0; |
404 | int _arg1; | |
f6bcfd97 | 405 | PyObject * _argo0 = 0; |
fe47ec10 | 406 | char *_kwnames[] = { "self","pos", NULL }; |
f6bcfd97 BP |
407 | |
408 | self = self; | |
fe47ec10 | 409 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_GetCharAt",_kwnames,&_argo0,&_arg1)) |
f6bcfd97 BP |
410 | return NULL; |
411 | if (_argo0) { | |
412 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
413 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 414 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetCharAt. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
415 | return NULL; |
416 | } | |
417 | } | |
418 | { | |
4268f798 | 419 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 420 | _result = (int )wxStyledTextCtrl_GetCharAt(_arg0,_arg1); |
f6bcfd97 | 421 | |
4268f798 RD |
422 | wxPyEndAllowThreads(__tstate); |
423 | if (PyErr_Occurred()) return NULL; | |
fe47ec10 | 424 | } _resultobj = Py_BuildValue("i",_result); |
f6bcfd97 BP |
425 | return _resultobj; |
426 | } | |
427 | ||
fe47ec10 RD |
428 | #define wxStyledTextCtrl_GetCurrentPos(_swigobj) (_swigobj->GetCurrentPos()) |
429 | static PyObject *_wrap_wxStyledTextCtrl_GetCurrentPos(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 | 430 | PyObject * _resultobj; |
fe47ec10 | 431 | int _result; |
f6bcfd97 | 432 | wxStyledTextCtrl * _arg0; |
f6bcfd97 | 433 | PyObject * _argo0 = 0; |
fe47ec10 | 434 | char *_kwnames[] = { "self", NULL }; |
f6bcfd97 BP |
435 | |
436 | self = self; | |
fe47ec10 | 437 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetCurrentPos",_kwnames,&_argo0)) |
f6bcfd97 BP |
438 | return NULL; |
439 | if (_argo0) { | |
440 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
441 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 442 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetCurrentPos. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
443 | return NULL; |
444 | } | |
445 | } | |
446 | { | |
4268f798 | 447 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 448 | _result = (int )wxStyledTextCtrl_GetCurrentPos(_arg0); |
f6bcfd97 | 449 | |
4268f798 RD |
450 | wxPyEndAllowThreads(__tstate); |
451 | if (PyErr_Occurred()) return NULL; | |
fe47ec10 | 452 | } _resultobj = Py_BuildValue("i",_result); |
f6bcfd97 BP |
453 | return _resultobj; |
454 | } | |
455 | ||
fe47ec10 RD |
456 | #define wxStyledTextCtrl_GetAnchor(_swigobj) (_swigobj->GetAnchor()) |
457 | static PyObject *_wrap_wxStyledTextCtrl_GetAnchor(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 | 458 | PyObject * _resultobj; |
fe47ec10 | 459 | int _result; |
f6bcfd97 | 460 | wxStyledTextCtrl * _arg0; |
f6bcfd97 | 461 | PyObject * _argo0 = 0; |
fe47ec10 | 462 | char *_kwnames[] = { "self", NULL }; |
f6bcfd97 BP |
463 | |
464 | self = self; | |
fe47ec10 | 465 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetAnchor",_kwnames,&_argo0)) |
f6bcfd97 BP |
466 | return NULL; |
467 | if (_argo0) { | |
468 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
469 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 470 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetAnchor. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
471 | return NULL; |
472 | } | |
473 | } | |
f6bcfd97 | 474 | { |
4268f798 | 475 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 476 | _result = (int )wxStyledTextCtrl_GetAnchor(_arg0); |
f6bcfd97 | 477 | |
4268f798 RD |
478 | wxPyEndAllowThreads(__tstate); |
479 | if (PyErr_Occurred()) return NULL; | |
fe47ec10 | 480 | } _resultobj = Py_BuildValue("i",_result); |
f6bcfd97 BP |
481 | return _resultobj; |
482 | } | |
483 | ||
fe47ec10 RD |
484 | #define wxStyledTextCtrl_GetStyleAt(_swigobj,_swigarg0) (_swigobj->GetStyleAt(_swigarg0)) |
485 | static PyObject *_wrap_wxStyledTextCtrl_GetStyleAt(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 | 486 | PyObject * _resultobj; |
fe47ec10 | 487 | int _result; |
f6bcfd97 | 488 | wxStyledTextCtrl * _arg0; |
fe47ec10 | 489 | int _arg1; |
f6bcfd97 | 490 | PyObject * _argo0 = 0; |
fe47ec10 | 491 | char *_kwnames[] = { "self","pos", NULL }; |
f6bcfd97 BP |
492 | |
493 | self = self; | |
fe47ec10 | 494 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_GetStyleAt",_kwnames,&_argo0,&_arg1)) |
f6bcfd97 BP |
495 | return NULL; |
496 | if (_argo0) { | |
497 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
498 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 499 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetStyleAt. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
500 | return NULL; |
501 | } | |
502 | } | |
f6bcfd97 | 503 | { |
4268f798 | 504 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 505 | _result = (int )wxStyledTextCtrl_GetStyleAt(_arg0,_arg1); |
f6bcfd97 | 506 | |
4268f798 RD |
507 | wxPyEndAllowThreads(__tstate); |
508 | if (PyErr_Occurred()) return NULL; | |
fe47ec10 | 509 | } _resultobj = Py_BuildValue("i",_result); |
f6bcfd97 BP |
510 | return _resultobj; |
511 | } | |
512 | ||
fe47ec10 RD |
513 | #define wxStyledTextCtrl_Redo(_swigobj) (_swigobj->Redo()) |
514 | static PyObject *_wrap_wxStyledTextCtrl_Redo(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 BP |
515 | PyObject * _resultobj; |
516 | wxStyledTextCtrl * _arg0; | |
f6bcfd97 | 517 | PyObject * _argo0 = 0; |
fe47ec10 | 518 | char *_kwnames[] = { "self", NULL }; |
f6bcfd97 BP |
519 | |
520 | self = self; | |
fe47ec10 | 521 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_Redo",_kwnames,&_argo0)) |
f6bcfd97 BP |
522 | return NULL; |
523 | if (_argo0) { | |
524 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
525 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 526 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_Redo. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
527 | return NULL; |
528 | } | |
529 | } | |
f6bcfd97 | 530 | { |
4268f798 | 531 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 532 | wxStyledTextCtrl_Redo(_arg0); |
f6bcfd97 | 533 | |
4268f798 RD |
534 | wxPyEndAllowThreads(__tstate); |
535 | if (PyErr_Occurred()) return NULL; | |
f6bcfd97 BP |
536 | } Py_INCREF(Py_None); |
537 | _resultobj = Py_None; | |
f6bcfd97 BP |
538 | return _resultobj; |
539 | } | |
540 | ||
fe47ec10 RD |
541 | #define wxStyledTextCtrl_SetUndoCollection(_swigobj,_swigarg0) (_swigobj->SetUndoCollection(_swigarg0)) |
542 | static PyObject *_wrap_wxStyledTextCtrl_SetUndoCollection(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 BP |
543 | PyObject * _resultobj; |
544 | wxStyledTextCtrl * _arg0; | |
fe47ec10 | 545 | bool _arg1; |
f6bcfd97 | 546 | PyObject * _argo0 = 0; |
fe47ec10 RD |
547 | int tempbool1; |
548 | char *_kwnames[] = { "self","collectUndo", NULL }; | |
f6bcfd97 BP |
549 | |
550 | self = self; | |
fe47ec10 | 551 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_SetUndoCollection",_kwnames,&_argo0,&tempbool1)) |
f6bcfd97 BP |
552 | return NULL; |
553 | if (_argo0) { | |
554 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
555 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 556 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetUndoCollection. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
557 | return NULL; |
558 | } | |
559 | } | |
fe47ec10 | 560 | _arg1 = (bool ) tempbool1; |
f6bcfd97 | 561 | { |
4268f798 | 562 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 563 | wxStyledTextCtrl_SetUndoCollection(_arg0,_arg1); |
f6bcfd97 | 564 | |
4268f798 RD |
565 | wxPyEndAllowThreads(__tstate); |
566 | if (PyErr_Occurred()) return NULL; | |
f6bcfd97 BP |
567 | } Py_INCREF(Py_None); |
568 | _resultobj = Py_None; | |
569 | return _resultobj; | |
570 | } | |
571 | ||
fe47ec10 RD |
572 | #define wxStyledTextCtrl_SelectAll(_swigobj) (_swigobj->SelectAll()) |
573 | static PyObject *_wrap_wxStyledTextCtrl_SelectAll(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 | 574 | PyObject * _resultobj; |
f6bcfd97 | 575 | wxStyledTextCtrl * _arg0; |
f6bcfd97 | 576 | PyObject * _argo0 = 0; |
fe47ec10 | 577 | char *_kwnames[] = { "self", NULL }; |
f6bcfd97 BP |
578 | |
579 | self = self; | |
fe47ec10 | 580 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_SelectAll",_kwnames,&_argo0)) |
f6bcfd97 BP |
581 | return NULL; |
582 | if (_argo0) { | |
583 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
584 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 585 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SelectAll. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
586 | return NULL; |
587 | } | |
588 | } | |
589 | { | |
4268f798 | 590 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 591 | wxStyledTextCtrl_SelectAll(_arg0); |
f6bcfd97 | 592 | |
4268f798 RD |
593 | wxPyEndAllowThreads(__tstate); |
594 | if (PyErr_Occurred()) return NULL; | |
fe47ec10 RD |
595 | } Py_INCREF(Py_None); |
596 | _resultobj = Py_None; | |
f6bcfd97 BP |
597 | return _resultobj; |
598 | } | |
599 | ||
fe47ec10 RD |
600 | #define wxStyledTextCtrl_SetSavePoint(_swigobj) (_swigobj->SetSavePoint()) |
601 | static PyObject *_wrap_wxStyledTextCtrl_SetSavePoint(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 | 602 | PyObject * _resultobj; |
f6bcfd97 | 603 | wxStyledTextCtrl * _arg0; |
f6bcfd97 | 604 | PyObject * _argo0 = 0; |
fe47ec10 | 605 | char *_kwnames[] = { "self", NULL }; |
f6bcfd97 BP |
606 | |
607 | self = self; | |
fe47ec10 | 608 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_SetSavePoint",_kwnames,&_argo0)) |
f6bcfd97 BP |
609 | return NULL; |
610 | if (_argo0) { | |
611 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
612 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 613 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetSavePoint. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
614 | return NULL; |
615 | } | |
616 | } | |
617 | { | |
4268f798 | 618 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 619 | wxStyledTextCtrl_SetSavePoint(_arg0); |
f6bcfd97 | 620 | |
4268f798 RD |
621 | wxPyEndAllowThreads(__tstate); |
622 | if (PyErr_Occurred()) return NULL; | |
fe47ec10 RD |
623 | } Py_INCREF(Py_None); |
624 | _resultobj = Py_None; | |
f6bcfd97 BP |
625 | return _resultobj; |
626 | } | |
627 | ||
fe47ec10 RD |
628 | #define wxStyledTextCtrl_GetStyledText(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetStyledText(_swigarg0,_swigarg1)) |
629 | static PyObject *_wrap_wxStyledTextCtrl_GetStyledText(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 | 630 | PyObject * _resultobj; |
10ef30eb | 631 | wxMemoryBuffer * _result; |
f6bcfd97 BP |
632 | wxStyledTextCtrl * _arg0; |
633 | int _arg1; | |
fe47ec10 | 634 | int _arg2; |
f6bcfd97 | 635 | PyObject * _argo0 = 0; |
fe47ec10 | 636 | char *_kwnames[] = { "self","startPos","endPos", NULL }; |
f6bcfd97 BP |
637 | |
638 | self = self; | |
fe47ec10 | 639 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxStyledTextCtrl_GetStyledText",_kwnames,&_argo0,&_arg1,&_arg2)) |
f6bcfd97 BP |
640 | return NULL; |
641 | if (_argo0) { | |
642 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
643 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 644 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetStyledText. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
645 | return NULL; |
646 | } | |
647 | } | |
648 | { | |
4268f798 | 649 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
10ef30eb | 650 | _result = new wxMemoryBuffer (wxStyledTextCtrl_GetStyledText(_arg0,_arg1,_arg2)); |
f6bcfd97 | 651 | |
4268f798 RD |
652 | wxPyEndAllowThreads(__tstate); |
653 | if (PyErr_Occurred()) return NULL; | |
fe47ec10 | 654 | }{ |
10ef30eb | 655 | _resultobj = PyString_FromStringAndSize((char*)_result->GetData(), _result->GetDataLen()); |
fe47ec10 RD |
656 | } |
657 | { | |
658 | delete _result; | |
659 | } | |
f6bcfd97 BP |
660 | return _resultobj; |
661 | } | |
662 | ||
fe47ec10 RD |
663 | #define wxStyledTextCtrl_CanRedo(_swigobj) (_swigobj->CanRedo()) |
664 | static PyObject *_wrap_wxStyledTextCtrl_CanRedo(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 | 665 | PyObject * _resultobj; |
fe47ec10 | 666 | bool _result; |
f6bcfd97 BP |
667 | wxStyledTextCtrl * _arg0; |
668 | PyObject * _argo0 = 0; | |
669 | char *_kwnames[] = { "self", NULL }; | |
670 | ||
671 | self = self; | |
fe47ec10 | 672 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_CanRedo",_kwnames,&_argo0)) |
f6bcfd97 BP |
673 | return NULL; |
674 | if (_argo0) { | |
675 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
676 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 677 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_CanRedo. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
678 | return NULL; |
679 | } | |
680 | } | |
681 | { | |
4268f798 | 682 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 683 | _result = (bool )wxStyledTextCtrl_CanRedo(_arg0); |
f6bcfd97 | 684 | |
4268f798 RD |
685 | wxPyEndAllowThreads(__tstate); |
686 | if (PyErr_Occurred()) return NULL; | |
f6bcfd97 BP |
687 | } _resultobj = Py_BuildValue("i",_result); |
688 | return _resultobj; | |
689 | } | |
690 | ||
fe47ec10 RD |
691 | #define wxStyledTextCtrl_MarkerLineFromHandle(_swigobj,_swigarg0) (_swigobj->MarkerLineFromHandle(_swigarg0)) |
692 | static PyObject *_wrap_wxStyledTextCtrl_MarkerLineFromHandle(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 | 693 | PyObject * _resultobj; |
fe47ec10 | 694 | int _result; |
f6bcfd97 | 695 | wxStyledTextCtrl * _arg0; |
fe47ec10 | 696 | int _arg1; |
f6bcfd97 | 697 | PyObject * _argo0 = 0; |
fe47ec10 | 698 | char *_kwnames[] = { "self","handle", NULL }; |
f6bcfd97 BP |
699 | |
700 | self = self; | |
fe47ec10 | 701 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_MarkerLineFromHandle",_kwnames,&_argo0,&_arg1)) |
f6bcfd97 BP |
702 | return NULL; |
703 | if (_argo0) { | |
704 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
705 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 706 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_MarkerLineFromHandle. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
707 | return NULL; |
708 | } | |
709 | } | |
710 | { | |
4268f798 | 711 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 712 | _result = (int )wxStyledTextCtrl_MarkerLineFromHandle(_arg0,_arg1); |
f6bcfd97 | 713 | |
4268f798 RD |
714 | wxPyEndAllowThreads(__tstate); |
715 | if (PyErr_Occurred()) return NULL; | |
fe47ec10 | 716 | } _resultobj = Py_BuildValue("i",_result); |
f6bcfd97 BP |
717 | return _resultobj; |
718 | } | |
719 | ||
fe47ec10 RD |
720 | #define wxStyledTextCtrl_MarkerDeleteHandle(_swigobj,_swigarg0) (_swigobj->MarkerDeleteHandle(_swigarg0)) |
721 | static PyObject *_wrap_wxStyledTextCtrl_MarkerDeleteHandle(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 BP |
722 | PyObject * _resultobj; |
723 | wxStyledTextCtrl * _arg0; | |
fe47ec10 | 724 | int _arg1; |
f6bcfd97 | 725 | PyObject * _argo0 = 0; |
fe47ec10 | 726 | char *_kwnames[] = { "self","handle", NULL }; |
f6bcfd97 BP |
727 | |
728 | self = self; | |
fe47ec10 | 729 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_MarkerDeleteHandle",_kwnames,&_argo0,&_arg1)) |
f6bcfd97 BP |
730 | return NULL; |
731 | if (_argo0) { | |
732 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
733 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 734 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_MarkerDeleteHandle. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
735 | return NULL; |
736 | } | |
737 | } | |
738 | { | |
4268f798 | 739 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 740 | wxStyledTextCtrl_MarkerDeleteHandle(_arg0,_arg1); |
f6bcfd97 | 741 | |
4268f798 RD |
742 | wxPyEndAllowThreads(__tstate); |
743 | if (PyErr_Occurred()) return NULL; | |
f6bcfd97 BP |
744 | } Py_INCREF(Py_None); |
745 | _resultobj = Py_None; | |
746 | return _resultobj; | |
747 | } | |
748 | ||
fe47ec10 RD |
749 | #define wxStyledTextCtrl_GetUndoCollection(_swigobj) (_swigobj->GetUndoCollection()) |
750 | static PyObject *_wrap_wxStyledTextCtrl_GetUndoCollection(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 | 751 | PyObject * _resultobj; |
fe47ec10 | 752 | bool _result; |
f6bcfd97 BP |
753 | wxStyledTextCtrl * _arg0; |
754 | PyObject * _argo0 = 0; | |
755 | char *_kwnames[] = { "self", NULL }; | |
756 | ||
757 | self = self; | |
fe47ec10 | 758 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetUndoCollection",_kwnames,&_argo0)) |
f6bcfd97 BP |
759 | return NULL; |
760 | if (_argo0) { | |
761 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
762 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 763 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetUndoCollection. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
764 | return NULL; |
765 | } | |
766 | } | |
767 | { | |
4268f798 | 768 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 769 | _result = (bool )wxStyledTextCtrl_GetUndoCollection(_arg0); |
f6bcfd97 | 770 | |
4268f798 RD |
771 | wxPyEndAllowThreads(__tstate); |
772 | if (PyErr_Occurred()) return NULL; | |
fe47ec10 | 773 | } _resultobj = Py_BuildValue("i",_result); |
f6bcfd97 BP |
774 | return _resultobj; |
775 | } | |
776 | ||
fe47ec10 RD |
777 | #define wxStyledTextCtrl_GetViewWhiteSpace(_swigobj) (_swigobj->GetViewWhiteSpace()) |
778 | static PyObject *_wrap_wxStyledTextCtrl_GetViewWhiteSpace(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 | 779 | PyObject * _resultobj; |
fe47ec10 | 780 | int _result; |
f6bcfd97 BP |
781 | wxStyledTextCtrl * _arg0; |
782 | PyObject * _argo0 = 0; | |
783 | char *_kwnames[] = { "self", NULL }; | |
784 | ||
785 | self = self; | |
fe47ec10 | 786 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetViewWhiteSpace",_kwnames,&_argo0)) |
f6bcfd97 BP |
787 | return NULL; |
788 | if (_argo0) { | |
789 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
790 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 791 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetViewWhiteSpace. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
792 | return NULL; |
793 | } | |
794 | } | |
795 | { | |
4268f798 | 796 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 797 | _result = (int )wxStyledTextCtrl_GetViewWhiteSpace(_arg0); |
f6bcfd97 | 798 | |
4268f798 RD |
799 | wxPyEndAllowThreads(__tstate); |
800 | if (PyErr_Occurred()) return NULL; | |
f6bcfd97 BP |
801 | } _resultobj = Py_BuildValue("i",_result); |
802 | return _resultobj; | |
803 | } | |
804 | ||
fe47ec10 RD |
805 | #define wxStyledTextCtrl_SetViewWhiteSpace(_swigobj,_swigarg0) (_swigobj->SetViewWhiteSpace(_swigarg0)) |
806 | static PyObject *_wrap_wxStyledTextCtrl_SetViewWhiteSpace(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 BP |
807 | PyObject * _resultobj; |
808 | wxStyledTextCtrl * _arg0; | |
fe47ec10 | 809 | int _arg1; |
f6bcfd97 | 810 | PyObject * _argo0 = 0; |
fe47ec10 | 811 | char *_kwnames[] = { "self","viewWS", NULL }; |
f6bcfd97 BP |
812 | |
813 | self = self; | |
fe47ec10 | 814 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_SetViewWhiteSpace",_kwnames,&_argo0,&_arg1)) |
f6bcfd97 BP |
815 | return NULL; |
816 | if (_argo0) { | |
817 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
818 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 819 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetViewWhiteSpace. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
820 | return NULL; |
821 | } | |
822 | } | |
823 | { | |
4268f798 | 824 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 825 | wxStyledTextCtrl_SetViewWhiteSpace(_arg0,_arg1); |
f6bcfd97 | 826 | |
4268f798 RD |
827 | wxPyEndAllowThreads(__tstate); |
828 | if (PyErr_Occurred()) return NULL; | |
f6bcfd97 BP |
829 | } Py_INCREF(Py_None); |
830 | _resultobj = Py_None; | |
831 | return _resultobj; | |
832 | } | |
833 | ||
fe47ec10 RD |
834 | #define wxStyledTextCtrl_PositionFromPoint(_swigobj,_swigarg0) (_swigobj->PositionFromPoint(_swigarg0)) |
835 | static PyObject *_wrap_wxStyledTextCtrl_PositionFromPoint(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 | 836 | PyObject * _resultobj; |
fe47ec10 | 837 | int _result; |
f6bcfd97 | 838 | wxStyledTextCtrl * _arg0; |
fe47ec10 | 839 | wxPoint * _arg1; |
f6bcfd97 | 840 | PyObject * _argo0 = 0; |
fe47ec10 RD |
841 | wxPoint temp; |
842 | PyObject * _obj1 = 0; | |
843 | char *_kwnames[] = { "self","pt", NULL }; | |
f6bcfd97 BP |
844 | |
845 | self = self; | |
fe47ec10 | 846 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxStyledTextCtrl_PositionFromPoint",_kwnames,&_argo0,&_obj1)) |
f6bcfd97 BP |
847 | return NULL; |
848 | if (_argo0) { | |
849 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
850 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 851 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_PositionFromPoint. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
852 | return NULL; |
853 | } | |
854 | } | |
fe47ec10 RD |
855 | { |
856 | _arg1 = &temp; | |
857 | if (! wxPoint_helper(_obj1, &_arg1)) | |
858 | return NULL; | |
859 | } | |
f6bcfd97 | 860 | { |
4268f798 | 861 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 862 | _result = (int )wxStyledTextCtrl_PositionFromPoint(_arg0,*_arg1); |
f6bcfd97 | 863 | |
4268f798 RD |
864 | wxPyEndAllowThreads(__tstate); |
865 | if (PyErr_Occurred()) return NULL; | |
fe47ec10 | 866 | } _resultobj = Py_BuildValue("i",_result); |
f6bcfd97 BP |
867 | return _resultobj; |
868 | } | |
869 | ||
65ec6247 RD |
870 | #define wxStyledTextCtrl_PositionFromPointClose(_swigobj,_swigarg0,_swigarg1) (_swigobj->PositionFromPointClose(_swigarg0,_swigarg1)) |
871 | static PyObject *_wrap_wxStyledTextCtrl_PositionFromPointClose(PyObject *self, PyObject *args, PyObject *kwargs) { | |
872 | PyObject * _resultobj; | |
873 | int _result; | |
874 | wxStyledTextCtrl * _arg0; | |
875 | int _arg1; | |
876 | int _arg2; | |
877 | PyObject * _argo0 = 0; | |
878 | char *_kwnames[] = { "self","x","y", NULL }; | |
879 | ||
880 | self = self; | |
881 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxStyledTextCtrl_PositionFromPointClose",_kwnames,&_argo0,&_arg1,&_arg2)) | |
882 | return NULL; | |
883 | if (_argo0) { | |
884 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
885 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
886 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_PositionFromPointClose. Expected _wxStyledTextCtrl_p."); | |
887 | return NULL; | |
888 | } | |
889 | } | |
890 | { | |
4268f798 | 891 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 892 | _result = (int )wxStyledTextCtrl_PositionFromPointClose(_arg0,_arg1,_arg2); |
65ec6247 | 893 | |
4268f798 RD |
894 | wxPyEndAllowThreads(__tstate); |
895 | if (PyErr_Occurred()) return NULL; | |
65ec6247 RD |
896 | } _resultobj = Py_BuildValue("i",_result); |
897 | return _resultobj; | |
898 | } | |
899 | ||
fe47ec10 RD |
900 | #define wxStyledTextCtrl_GotoLine(_swigobj,_swigarg0) (_swigobj->GotoLine(_swigarg0)) |
901 | static PyObject *_wrap_wxStyledTextCtrl_GotoLine(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 | 902 | PyObject * _resultobj; |
f6bcfd97 | 903 | wxStyledTextCtrl * _arg0; |
fe47ec10 | 904 | int _arg1; |
f6bcfd97 | 905 | PyObject * _argo0 = 0; |
fe47ec10 | 906 | char *_kwnames[] = { "self","line", NULL }; |
f6bcfd97 BP |
907 | |
908 | self = self; | |
fe47ec10 | 909 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_GotoLine",_kwnames,&_argo0,&_arg1)) |
f6bcfd97 BP |
910 | return NULL; |
911 | if (_argo0) { | |
912 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
913 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 914 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GotoLine. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
915 | return NULL; |
916 | } | |
917 | } | |
918 | { | |
4268f798 | 919 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 920 | wxStyledTextCtrl_GotoLine(_arg0,_arg1); |
f6bcfd97 | 921 | |
4268f798 RD |
922 | wxPyEndAllowThreads(__tstate); |
923 | if (PyErr_Occurred()) return NULL; | |
fe47ec10 RD |
924 | } Py_INCREF(Py_None); |
925 | _resultobj = Py_None; | |
f6bcfd97 BP |
926 | return _resultobj; |
927 | } | |
928 | ||
fe47ec10 RD |
929 | #define wxStyledTextCtrl_GotoPos(_swigobj,_swigarg0) (_swigobj->GotoPos(_swigarg0)) |
930 | static PyObject *_wrap_wxStyledTextCtrl_GotoPos(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 BP |
931 | PyObject * _resultobj; |
932 | wxStyledTextCtrl * _arg0; | |
fe47ec10 | 933 | int _arg1; |
f6bcfd97 | 934 | PyObject * _argo0 = 0; |
fe47ec10 | 935 | char *_kwnames[] = { "self","pos", NULL }; |
f6bcfd97 BP |
936 | |
937 | self = self; | |
fe47ec10 | 938 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_GotoPos",_kwnames,&_argo0,&_arg1)) |
f6bcfd97 BP |
939 | return NULL; |
940 | if (_argo0) { | |
941 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
942 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 943 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GotoPos. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
944 | return NULL; |
945 | } | |
946 | } | |
947 | { | |
4268f798 | 948 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 949 | wxStyledTextCtrl_GotoPos(_arg0,_arg1); |
f6bcfd97 | 950 | |
4268f798 RD |
951 | wxPyEndAllowThreads(__tstate); |
952 | if (PyErr_Occurred()) return NULL; | |
f6bcfd97 BP |
953 | } Py_INCREF(Py_None); |
954 | _resultobj = Py_None; | |
955 | return _resultobj; | |
956 | } | |
957 | ||
fe47ec10 RD |
958 | #define wxStyledTextCtrl_SetAnchor(_swigobj,_swigarg0) (_swigobj->SetAnchor(_swigarg0)) |
959 | static PyObject *_wrap_wxStyledTextCtrl_SetAnchor(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 BP |
960 | PyObject * _resultobj; |
961 | wxStyledTextCtrl * _arg0; | |
fe47ec10 | 962 | int _arg1; |
f6bcfd97 | 963 | PyObject * _argo0 = 0; |
fe47ec10 | 964 | char *_kwnames[] = { "self","posAnchor", NULL }; |
f6bcfd97 BP |
965 | |
966 | self = self; | |
fe47ec10 | 967 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_SetAnchor",_kwnames,&_argo0,&_arg1)) |
f6bcfd97 BP |
968 | return NULL; |
969 | if (_argo0) { | |
970 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
971 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 972 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetAnchor. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
973 | return NULL; |
974 | } | |
975 | } | |
976 | { | |
4268f798 | 977 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 978 | wxStyledTextCtrl_SetAnchor(_arg0,_arg1); |
f6bcfd97 | 979 | |
4268f798 RD |
980 | wxPyEndAllowThreads(__tstate); |
981 | if (PyErr_Occurred()) return NULL; | |
f6bcfd97 BP |
982 | } Py_INCREF(Py_None); |
983 | _resultobj = Py_None; | |
984 | return _resultobj; | |
985 | } | |
986 | ||
fe47ec10 RD |
987 | #define wxStyledTextCtrl_GetCurLine(_swigobj,_swigarg0) (_swigobj->GetCurLine(_swigarg0)) |
988 | static PyObject *_wrap_wxStyledTextCtrl_GetCurLine(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 | 989 | PyObject * _resultobj; |
fe47ec10 | 990 | wxString * _result; |
f6bcfd97 | 991 | wxStyledTextCtrl * _arg0; |
fea018f8 | 992 | int * _arg1; |
fe47ec10 | 993 | int temp; |
f6bcfd97 BP |
994 | PyObject * _argo0 = 0; |
995 | char *_kwnames[] = { "self", NULL }; | |
996 | ||
997 | self = self; | |
fe47ec10 RD |
998 | { |
999 | _arg1 = &temp; | |
1000 | } | |
1001 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetCurLine",_kwnames,&_argo0)) | |
f6bcfd97 BP |
1002 | return NULL; |
1003 | if (_argo0) { | |
1004 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1005 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 1006 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetCurLine. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
1007 | return NULL; |
1008 | } | |
1009 | } | |
1010 | { | |
4268f798 | 1011 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 1012 | _result = new wxString (wxStyledTextCtrl_GetCurLine(_arg0,_arg1)); |
f6bcfd97 | 1013 | |
4268f798 RD |
1014 | wxPyEndAllowThreads(__tstate); |
1015 | if (PyErr_Occurred()) return NULL; | |
fe47ec10 | 1016 | }{ |
c8bc7bb8 RD |
1017 | #if wxUSE_UNICODE |
1018 | _resultobj = PyUnicode_FromUnicode(_result->c_str(), _result->Len()); | |
1019 | #else | |
fe47ec10 | 1020 | _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len()); |
c8bc7bb8 | 1021 | #endif |
fe47ec10 RD |
1022 | } |
1023 | { | |
1024 | PyObject *o; | |
1025 | o = PyInt_FromLong((long) (*_arg1)); | |
1026 | _resultobj = t_output_helper(_resultobj, o); | |
1027 | } | |
1028 | { | |
1029 | delete _result; | |
1030 | } | |
f6bcfd97 BP |
1031 | return _resultobj; |
1032 | } | |
1033 | ||
fe47ec10 RD |
1034 | #define wxStyledTextCtrl_GetEndStyled(_swigobj) (_swigobj->GetEndStyled()) |
1035 | static PyObject *_wrap_wxStyledTextCtrl_GetEndStyled(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 | 1036 | PyObject * _resultobj; |
fe47ec10 | 1037 | int _result; |
f6bcfd97 | 1038 | wxStyledTextCtrl * _arg0; |
f6bcfd97 | 1039 | PyObject * _argo0 = 0; |
fe47ec10 | 1040 | char *_kwnames[] = { "self", NULL }; |
f6bcfd97 BP |
1041 | |
1042 | self = self; | |
fe47ec10 | 1043 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetEndStyled",_kwnames,&_argo0)) |
f6bcfd97 BP |
1044 | return NULL; |
1045 | if (_argo0) { | |
1046 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1047 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 1048 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetEndStyled. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
1049 | return NULL; |
1050 | } | |
1051 | } | |
1052 | { | |
4268f798 | 1053 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 1054 | _result = (int )wxStyledTextCtrl_GetEndStyled(_arg0); |
f6bcfd97 | 1055 | |
4268f798 RD |
1056 | wxPyEndAllowThreads(__tstate); |
1057 | if (PyErr_Occurred()) return NULL; | |
fe47ec10 | 1058 | } _resultobj = Py_BuildValue("i",_result); |
f6bcfd97 BP |
1059 | return _resultobj; |
1060 | } | |
1061 | ||
65ec6247 | 1062 | #define wxStyledTextCtrl_ConvertEOLs(_swigobj,_swigarg0) (_swigobj->ConvertEOLs(_swigarg0)) |
fe47ec10 | 1063 | static PyObject *_wrap_wxStyledTextCtrl_ConvertEOLs(PyObject *self, PyObject *args, PyObject *kwargs) { |
f6bcfd97 | 1064 | PyObject * _resultobj; |
f6bcfd97 | 1065 | wxStyledTextCtrl * _arg0; |
65ec6247 | 1066 | int _arg1; |
f6bcfd97 | 1067 | PyObject * _argo0 = 0; |
65ec6247 | 1068 | char *_kwnames[] = { "self","eolMode", NULL }; |
f6bcfd97 BP |
1069 | |
1070 | self = self; | |
65ec6247 | 1071 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_ConvertEOLs",_kwnames,&_argo0,&_arg1)) |
f6bcfd97 BP |
1072 | return NULL; |
1073 | if (_argo0) { | |
1074 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1075 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 1076 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_ConvertEOLs. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
1077 | return NULL; |
1078 | } | |
1079 | } | |
1080 | { | |
4268f798 | 1081 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 1082 | wxStyledTextCtrl_ConvertEOLs(_arg0,_arg1); |
f6bcfd97 | 1083 | |
4268f798 RD |
1084 | wxPyEndAllowThreads(__tstate); |
1085 | if (PyErr_Occurred()) return NULL; | |
fe47ec10 RD |
1086 | } Py_INCREF(Py_None); |
1087 | _resultobj = Py_None; | |
f6bcfd97 BP |
1088 | return _resultobj; |
1089 | } | |
1090 | ||
fe47ec10 RD |
1091 | #define wxStyledTextCtrl_GetEOLMode(_swigobj) (_swigobj->GetEOLMode()) |
1092 | static PyObject *_wrap_wxStyledTextCtrl_GetEOLMode(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 | 1093 | PyObject * _resultobj; |
fe47ec10 | 1094 | int _result; |
f6bcfd97 BP |
1095 | wxStyledTextCtrl * _arg0; |
1096 | PyObject * _argo0 = 0; | |
1097 | char *_kwnames[] = { "self", NULL }; | |
1098 | ||
1099 | self = self; | |
fe47ec10 | 1100 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetEOLMode",_kwnames,&_argo0)) |
f6bcfd97 BP |
1101 | return NULL; |
1102 | if (_argo0) { | |
1103 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1104 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 1105 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetEOLMode. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
1106 | return NULL; |
1107 | } | |
1108 | } | |
1109 | { | |
4268f798 | 1110 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 1111 | _result = (int )wxStyledTextCtrl_GetEOLMode(_arg0); |
f6bcfd97 | 1112 | |
4268f798 RD |
1113 | wxPyEndAllowThreads(__tstate); |
1114 | if (PyErr_Occurred()) return NULL; | |
fe47ec10 | 1115 | } _resultobj = Py_BuildValue("i",_result); |
f6bcfd97 BP |
1116 | return _resultobj; |
1117 | } | |
1118 | ||
fe47ec10 RD |
1119 | #define wxStyledTextCtrl_SetEOLMode(_swigobj,_swigarg0) (_swigobj->SetEOLMode(_swigarg0)) |
1120 | static PyObject *_wrap_wxStyledTextCtrl_SetEOLMode(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 BP |
1121 | PyObject * _resultobj; |
1122 | wxStyledTextCtrl * _arg0; | |
fe47ec10 | 1123 | int _arg1; |
f6bcfd97 | 1124 | PyObject * _argo0 = 0; |
fe47ec10 | 1125 | char *_kwnames[] = { "self","eolMode", NULL }; |
f6bcfd97 BP |
1126 | |
1127 | self = self; | |
fe47ec10 | 1128 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_SetEOLMode",_kwnames,&_argo0,&_arg1)) |
f6bcfd97 BP |
1129 | return NULL; |
1130 | if (_argo0) { | |
1131 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1132 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 1133 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetEOLMode. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
1134 | return NULL; |
1135 | } | |
1136 | } | |
1137 | { | |
4268f798 | 1138 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 1139 | wxStyledTextCtrl_SetEOLMode(_arg0,_arg1); |
f6bcfd97 | 1140 | |
4268f798 RD |
1141 | wxPyEndAllowThreads(__tstate); |
1142 | if (PyErr_Occurred()) return NULL; | |
f6bcfd97 BP |
1143 | } Py_INCREF(Py_None); |
1144 | _resultobj = Py_None; | |
1145 | return _resultobj; | |
1146 | } | |
1147 | ||
fe47ec10 RD |
1148 | #define wxStyledTextCtrl_StartStyling(_swigobj,_swigarg0,_swigarg1) (_swigobj->StartStyling(_swigarg0,_swigarg1)) |
1149 | static PyObject *_wrap_wxStyledTextCtrl_StartStyling(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 BP |
1150 | PyObject * _resultobj; |
1151 | wxStyledTextCtrl * _arg0; | |
fe47ec10 RD |
1152 | int _arg1; |
1153 | int _arg2; | |
f6bcfd97 | 1154 | PyObject * _argo0 = 0; |
fe47ec10 | 1155 | char *_kwnames[] = { "self","pos","mask", NULL }; |
f6bcfd97 BP |
1156 | |
1157 | self = self; | |
fe47ec10 | 1158 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxStyledTextCtrl_StartStyling",_kwnames,&_argo0,&_arg1,&_arg2)) |
f6bcfd97 BP |
1159 | return NULL; |
1160 | if (_argo0) { | |
1161 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1162 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 1163 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_StartStyling. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
1164 | return NULL; |
1165 | } | |
1166 | } | |
1167 | { | |
4268f798 | 1168 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 1169 | wxStyledTextCtrl_StartStyling(_arg0,_arg1,_arg2); |
f6bcfd97 | 1170 | |
4268f798 RD |
1171 | wxPyEndAllowThreads(__tstate); |
1172 | if (PyErr_Occurred()) return NULL; | |
f6bcfd97 BP |
1173 | } Py_INCREF(Py_None); |
1174 | _resultobj = Py_None; | |
f6bcfd97 BP |
1175 | return _resultobj; |
1176 | } | |
1177 | ||
fe47ec10 RD |
1178 | #define wxStyledTextCtrl_SetStyling(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetStyling(_swigarg0,_swigarg1)) |
1179 | static PyObject *_wrap_wxStyledTextCtrl_SetStyling(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 BP |
1180 | PyObject * _resultobj; |
1181 | wxStyledTextCtrl * _arg0; | |
1182 | int _arg1; | |
1183 | int _arg2; | |
1184 | PyObject * _argo0 = 0; | |
fe47ec10 | 1185 | char *_kwnames[] = { "self","length","style", NULL }; |
f6bcfd97 BP |
1186 | |
1187 | self = self; | |
fe47ec10 | 1188 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxStyledTextCtrl_SetStyling",_kwnames,&_argo0,&_arg1,&_arg2)) |
f6bcfd97 BP |
1189 | return NULL; |
1190 | if (_argo0) { | |
1191 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1192 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 1193 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetStyling. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
1194 | return NULL; |
1195 | } | |
1196 | } | |
1197 | { | |
4268f798 | 1198 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 1199 | wxStyledTextCtrl_SetStyling(_arg0,_arg1,_arg2); |
f6bcfd97 | 1200 | |
4268f798 RD |
1201 | wxPyEndAllowThreads(__tstate); |
1202 | if (PyErr_Occurred()) return NULL; | |
f6bcfd97 BP |
1203 | } Py_INCREF(Py_None); |
1204 | _resultobj = Py_None; | |
1205 | return _resultobj; | |
1206 | } | |
1207 | ||
fe47ec10 RD |
1208 | #define wxStyledTextCtrl_GetBufferedDraw(_swigobj) (_swigobj->GetBufferedDraw()) |
1209 | static PyObject *_wrap_wxStyledTextCtrl_GetBufferedDraw(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 | 1210 | PyObject * _resultobj; |
fe47ec10 | 1211 | bool _result; |
f6bcfd97 BP |
1212 | wxStyledTextCtrl * _arg0; |
1213 | PyObject * _argo0 = 0; | |
1214 | char *_kwnames[] = { "self", NULL }; | |
1215 | ||
1216 | self = self; | |
fe47ec10 | 1217 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetBufferedDraw",_kwnames,&_argo0)) |
f6bcfd97 BP |
1218 | return NULL; |
1219 | if (_argo0) { | |
1220 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1221 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 1222 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetBufferedDraw. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
1223 | return NULL; |
1224 | } | |
1225 | } | |
1226 | { | |
4268f798 | 1227 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 1228 | _result = (bool )wxStyledTextCtrl_GetBufferedDraw(_arg0); |
f6bcfd97 | 1229 | |
4268f798 RD |
1230 | wxPyEndAllowThreads(__tstate); |
1231 | if (PyErr_Occurred()) return NULL; | |
fe47ec10 | 1232 | } _resultobj = Py_BuildValue("i",_result); |
f6bcfd97 BP |
1233 | return _resultobj; |
1234 | } | |
1235 | ||
fe47ec10 RD |
1236 | #define wxStyledTextCtrl_SetBufferedDraw(_swigobj,_swigarg0) (_swigobj->SetBufferedDraw(_swigarg0)) |
1237 | static PyObject *_wrap_wxStyledTextCtrl_SetBufferedDraw(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 BP |
1238 | PyObject * _resultobj; |
1239 | wxStyledTextCtrl * _arg0; | |
1240 | bool _arg1; | |
1241 | PyObject * _argo0 = 0; | |
1242 | int tempbool1; | |
fe47ec10 | 1243 | char *_kwnames[] = { "self","buffered", NULL }; |
f6bcfd97 BP |
1244 | |
1245 | self = self; | |
fe47ec10 | 1246 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_SetBufferedDraw",_kwnames,&_argo0,&tempbool1)) |
f6bcfd97 BP |
1247 | return NULL; |
1248 | if (_argo0) { | |
1249 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1250 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 1251 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetBufferedDraw. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
1252 | return NULL; |
1253 | } | |
1254 | } | |
1255 | _arg1 = (bool ) tempbool1; | |
1256 | { | |
4268f798 | 1257 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 1258 | wxStyledTextCtrl_SetBufferedDraw(_arg0,_arg1); |
f6bcfd97 | 1259 | |
4268f798 RD |
1260 | wxPyEndAllowThreads(__tstate); |
1261 | if (PyErr_Occurred()) return NULL; | |
f6bcfd97 BP |
1262 | } Py_INCREF(Py_None); |
1263 | _resultobj = Py_None; | |
1264 | return _resultobj; | |
1265 | } | |
1266 | ||
fe47ec10 RD |
1267 | #define wxStyledTextCtrl_SetTabWidth(_swigobj,_swigarg0) (_swigobj->SetTabWidth(_swigarg0)) |
1268 | static PyObject *_wrap_wxStyledTextCtrl_SetTabWidth(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 | 1269 | PyObject * _resultobj; |
f6bcfd97 | 1270 | wxStyledTextCtrl * _arg0; |
fe47ec10 | 1271 | int _arg1; |
f6bcfd97 | 1272 | PyObject * _argo0 = 0; |
fe47ec10 | 1273 | char *_kwnames[] = { "self","tabWidth", NULL }; |
f6bcfd97 BP |
1274 | |
1275 | self = self; | |
fe47ec10 | 1276 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_SetTabWidth",_kwnames,&_argo0,&_arg1)) |
f6bcfd97 BP |
1277 | return NULL; |
1278 | if (_argo0) { | |
1279 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1280 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 1281 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetTabWidth. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
1282 | return NULL; |
1283 | } | |
1284 | } | |
1285 | { | |
4268f798 | 1286 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 1287 | wxStyledTextCtrl_SetTabWidth(_arg0,_arg1); |
f6bcfd97 | 1288 | |
4268f798 RD |
1289 | wxPyEndAllowThreads(__tstate); |
1290 | if (PyErr_Occurred()) return NULL; | |
fe47ec10 RD |
1291 | } Py_INCREF(Py_None); |
1292 | _resultobj = Py_None; | |
f6bcfd97 BP |
1293 | return _resultobj; |
1294 | } | |
1295 | ||
fe47ec10 RD |
1296 | #define wxStyledTextCtrl_GetTabWidth(_swigobj) (_swigobj->GetTabWidth()) |
1297 | static PyObject *_wrap_wxStyledTextCtrl_GetTabWidth(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 BP |
1298 | PyObject * _resultobj; |
1299 | int _result; | |
1300 | wxStyledTextCtrl * _arg0; | |
1301 | PyObject * _argo0 = 0; | |
1302 | char *_kwnames[] = { "self", NULL }; | |
1303 | ||
1304 | self = self; | |
fe47ec10 | 1305 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetTabWidth",_kwnames,&_argo0)) |
f6bcfd97 BP |
1306 | return NULL; |
1307 | if (_argo0) { | |
1308 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1309 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 1310 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetTabWidth. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
1311 | return NULL; |
1312 | } | |
1313 | } | |
1314 | { | |
4268f798 | 1315 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 1316 | _result = (int )wxStyledTextCtrl_GetTabWidth(_arg0); |
f6bcfd97 | 1317 | |
4268f798 RD |
1318 | wxPyEndAllowThreads(__tstate); |
1319 | if (PyErr_Occurred()) return NULL; | |
f6bcfd97 BP |
1320 | } _resultobj = Py_BuildValue("i",_result); |
1321 | return _resultobj; | |
1322 | } | |
1323 | ||
fe47ec10 RD |
1324 | #define wxStyledTextCtrl_SetCodePage(_swigobj,_swigarg0) (_swigobj->SetCodePage(_swigarg0)) |
1325 | static PyObject *_wrap_wxStyledTextCtrl_SetCodePage(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 | 1326 | PyObject * _resultobj; |
f6bcfd97 | 1327 | wxStyledTextCtrl * _arg0; |
fe47ec10 | 1328 | int _arg1; |
f6bcfd97 | 1329 | PyObject * _argo0 = 0; |
fe47ec10 | 1330 | char *_kwnames[] = { "self","codePage", NULL }; |
f6bcfd97 BP |
1331 | |
1332 | self = self; | |
fe47ec10 | 1333 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_SetCodePage",_kwnames,&_argo0,&_arg1)) |
f6bcfd97 BP |
1334 | return NULL; |
1335 | if (_argo0) { | |
1336 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1337 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 1338 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetCodePage. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
1339 | return NULL; |
1340 | } | |
1341 | } | |
1342 | { | |
4268f798 | 1343 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 1344 | wxStyledTextCtrl_SetCodePage(_arg0,_arg1); |
f6bcfd97 | 1345 | |
4268f798 RD |
1346 | wxPyEndAllowThreads(__tstate); |
1347 | if (PyErr_Occurred()) return NULL; | |
fe47ec10 RD |
1348 | } Py_INCREF(Py_None); |
1349 | _resultobj = Py_None; | |
f6bcfd97 BP |
1350 | return _resultobj; |
1351 | } | |
1352 | ||
fe47ec10 RD |
1353 | #define wxStyledTextCtrl_MarkerDefine(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->MarkerDefine(_swigarg0,_swigarg1,_swigarg2,_swigarg3)) |
1354 | static PyObject *_wrap_wxStyledTextCtrl_MarkerDefine(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 | 1355 | PyObject * _resultobj; |
f6bcfd97 | 1356 | wxStyledTextCtrl * _arg0; |
fe47ec10 RD |
1357 | int _arg1; |
1358 | int _arg2; | |
1359 | wxColour * _arg3 = (wxColour *) &wxNullColour; | |
1360 | wxColour * _arg4 = (wxColour *) &wxNullColour; | |
f6bcfd97 | 1361 | PyObject * _argo0 = 0; |
fe47ec10 RD |
1362 | wxColour temp; |
1363 | PyObject * _obj3 = 0; | |
1364 | wxColour temp0; | |
1365 | PyObject * _obj4 = 0; | |
1366 | char *_kwnames[] = { "self","markerNumber","markerSymbol","foreground","background", NULL }; | |
f6bcfd97 BP |
1367 | |
1368 | self = self; | |
fe47ec10 | 1369 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii|OO:wxStyledTextCtrl_MarkerDefine",_kwnames,&_argo0,&_arg1,&_arg2,&_obj3,&_obj4)) |
f6bcfd97 BP |
1370 | return NULL; |
1371 | if (_argo0) { | |
1372 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1373 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 1374 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_MarkerDefine. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
1375 | return NULL; |
1376 | } | |
1377 | } | |
fe47ec10 RD |
1378 | if (_obj3) |
1379 | { | |
1380 | _arg3 = &temp; | |
1381 | if (! wxColour_helper(_obj3, &_arg3)) | |
1382 | return NULL; | |
1383 | } | |
1384 | if (_obj4) | |
1385 | { | |
1386 | _arg4 = &temp0; | |
1387 | if (! wxColour_helper(_obj4, &_arg4)) | |
1388 | return NULL; | |
1389 | } | |
f6bcfd97 | 1390 | { |
4268f798 | 1391 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 1392 | wxStyledTextCtrl_MarkerDefine(_arg0,_arg1,_arg2,*_arg3,*_arg4); |
f6bcfd97 | 1393 | |
4268f798 RD |
1394 | wxPyEndAllowThreads(__tstate); |
1395 | if (PyErr_Occurred()) return NULL; | |
fe47ec10 RD |
1396 | } Py_INCREF(Py_None); |
1397 | _resultobj = Py_None; | |
f6bcfd97 BP |
1398 | return _resultobj; |
1399 | } | |
1400 | ||
fe47ec10 RD |
1401 | #define wxStyledTextCtrl_MarkerSetForeground(_swigobj,_swigarg0,_swigarg1) (_swigobj->MarkerSetForeground(_swigarg0,_swigarg1)) |
1402 | static PyObject *_wrap_wxStyledTextCtrl_MarkerSetForeground(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 | 1403 | PyObject * _resultobj; |
f6bcfd97 | 1404 | wxStyledTextCtrl * _arg0; |
fe47ec10 RD |
1405 | int _arg1; |
1406 | wxColour * _arg2; | |
f6bcfd97 | 1407 | PyObject * _argo0 = 0; |
fe47ec10 RD |
1408 | wxColour temp; |
1409 | PyObject * _obj2 = 0; | |
1410 | char *_kwnames[] = { "self","markerNumber","fore", NULL }; | |
f6bcfd97 BP |
1411 | |
1412 | self = self; | |
fe47ec10 | 1413 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxStyledTextCtrl_MarkerSetForeground",_kwnames,&_argo0,&_arg1,&_obj2)) |
f6bcfd97 BP |
1414 | return NULL; |
1415 | if (_argo0) { | |
1416 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1417 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 1418 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_MarkerSetForeground. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
1419 | return NULL; |
1420 | } | |
1421 | } | |
fe47ec10 RD |
1422 | { |
1423 | _arg2 = &temp; | |
1424 | if (! wxColour_helper(_obj2, &_arg2)) | |
1425 | return NULL; | |
1426 | } | |
f6bcfd97 | 1427 | { |
4268f798 | 1428 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 1429 | wxStyledTextCtrl_MarkerSetForeground(_arg0,_arg1,*_arg2); |
f6bcfd97 | 1430 | |
4268f798 RD |
1431 | wxPyEndAllowThreads(__tstate); |
1432 | if (PyErr_Occurred()) return NULL; | |
fe47ec10 RD |
1433 | } Py_INCREF(Py_None); |
1434 | _resultobj = Py_None; | |
f6bcfd97 BP |
1435 | return _resultobj; |
1436 | } | |
1437 | ||
fe47ec10 RD |
1438 | #define wxStyledTextCtrl_MarkerSetBackground(_swigobj,_swigarg0,_swigarg1) (_swigobj->MarkerSetBackground(_swigarg0,_swigarg1)) |
1439 | static PyObject *_wrap_wxStyledTextCtrl_MarkerSetBackground(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 | 1440 | PyObject * _resultobj; |
f6bcfd97 | 1441 | wxStyledTextCtrl * _arg0; |
fe47ec10 RD |
1442 | int _arg1; |
1443 | wxColour * _arg2; | |
f6bcfd97 | 1444 | PyObject * _argo0 = 0; |
fe47ec10 RD |
1445 | wxColour temp; |
1446 | PyObject * _obj2 = 0; | |
1447 | char *_kwnames[] = { "self","markerNumber","back", NULL }; | |
f6bcfd97 BP |
1448 | |
1449 | self = self; | |
fe47ec10 | 1450 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxStyledTextCtrl_MarkerSetBackground",_kwnames,&_argo0,&_arg1,&_obj2)) |
f6bcfd97 BP |
1451 | return NULL; |
1452 | if (_argo0) { | |
1453 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1454 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 1455 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_MarkerSetBackground. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
1456 | return NULL; |
1457 | } | |
1458 | } | |
fe47ec10 RD |
1459 | { |
1460 | _arg2 = &temp; | |
1461 | if (! wxColour_helper(_obj2, &_arg2)) | |
1462 | return NULL; | |
1463 | } | |
f6bcfd97 | 1464 | { |
4268f798 | 1465 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 1466 | wxStyledTextCtrl_MarkerSetBackground(_arg0,_arg1,*_arg2); |
f6bcfd97 | 1467 | |
4268f798 RD |
1468 | wxPyEndAllowThreads(__tstate); |
1469 | if (PyErr_Occurred()) return NULL; | |
fe47ec10 RD |
1470 | } Py_INCREF(Py_None); |
1471 | _resultobj = Py_None; | |
f6bcfd97 BP |
1472 | return _resultobj; |
1473 | } | |
1474 | ||
fe47ec10 RD |
1475 | #define wxStyledTextCtrl_MarkerAdd(_swigobj,_swigarg0,_swigarg1) (_swigobj->MarkerAdd(_swigarg0,_swigarg1)) |
1476 | static PyObject *_wrap_wxStyledTextCtrl_MarkerAdd(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 | 1477 | PyObject * _resultobj; |
1a2fb4cd | 1478 | int _result; |
f6bcfd97 BP |
1479 | wxStyledTextCtrl * _arg0; |
1480 | int _arg1; | |
fe47ec10 | 1481 | int _arg2; |
f6bcfd97 | 1482 | PyObject * _argo0 = 0; |
fe47ec10 | 1483 | char *_kwnames[] = { "self","line","markerNumber", NULL }; |
f6bcfd97 BP |
1484 | |
1485 | self = self; | |
fe47ec10 | 1486 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxStyledTextCtrl_MarkerAdd",_kwnames,&_argo0,&_arg1,&_arg2)) |
f6bcfd97 BP |
1487 | return NULL; |
1488 | if (_argo0) { | |
1489 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1490 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 1491 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_MarkerAdd. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
1492 | return NULL; |
1493 | } | |
1494 | } | |
1495 | { | |
4268f798 | 1496 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
1a2fb4cd | 1497 | _result = (int )wxStyledTextCtrl_MarkerAdd(_arg0,_arg1,_arg2); |
f6bcfd97 | 1498 | |
4268f798 RD |
1499 | wxPyEndAllowThreads(__tstate); |
1500 | if (PyErr_Occurred()) return NULL; | |
1a2fb4cd | 1501 | } _resultobj = Py_BuildValue("i",_result); |
f6bcfd97 BP |
1502 | return _resultobj; |
1503 | } | |
1504 | ||
fe47ec10 RD |
1505 | #define wxStyledTextCtrl_MarkerDelete(_swigobj,_swigarg0,_swigarg1) (_swigobj->MarkerDelete(_swigarg0,_swigarg1)) |
1506 | static PyObject *_wrap_wxStyledTextCtrl_MarkerDelete(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 | 1507 | PyObject * _resultobj; |
f6bcfd97 BP |
1508 | wxStyledTextCtrl * _arg0; |
1509 | int _arg1; | |
fe47ec10 | 1510 | int _arg2; |
f6bcfd97 | 1511 | PyObject * _argo0 = 0; |
fe47ec10 | 1512 | char *_kwnames[] = { "self","line","markerNumber", NULL }; |
f6bcfd97 BP |
1513 | |
1514 | self = self; | |
fe47ec10 | 1515 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxStyledTextCtrl_MarkerDelete",_kwnames,&_argo0,&_arg1,&_arg2)) |
f6bcfd97 BP |
1516 | return NULL; |
1517 | if (_argo0) { | |
1518 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1519 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 1520 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_MarkerDelete. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
1521 | return NULL; |
1522 | } | |
1523 | } | |
1524 | { | |
4268f798 | 1525 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 1526 | wxStyledTextCtrl_MarkerDelete(_arg0,_arg1,_arg2); |
f6bcfd97 | 1527 | |
4268f798 RD |
1528 | wxPyEndAllowThreads(__tstate); |
1529 | if (PyErr_Occurred()) return NULL; | |
fe47ec10 RD |
1530 | } Py_INCREF(Py_None); |
1531 | _resultobj = Py_None; | |
f6bcfd97 BP |
1532 | return _resultobj; |
1533 | } | |
1534 | ||
fe47ec10 RD |
1535 | #define wxStyledTextCtrl_MarkerDeleteAll(_swigobj,_swigarg0) (_swigobj->MarkerDeleteAll(_swigarg0)) |
1536 | static PyObject *_wrap_wxStyledTextCtrl_MarkerDeleteAll(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 | 1537 | PyObject * _resultobj; |
f6bcfd97 BP |
1538 | wxStyledTextCtrl * _arg0; |
1539 | int _arg1; | |
1540 | PyObject * _argo0 = 0; | |
fe47ec10 | 1541 | char *_kwnames[] = { "self","markerNumber", NULL }; |
f6bcfd97 BP |
1542 | |
1543 | self = self; | |
fe47ec10 | 1544 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_MarkerDeleteAll",_kwnames,&_argo0,&_arg1)) |
f6bcfd97 BP |
1545 | return NULL; |
1546 | if (_argo0) { | |
1547 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1548 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 1549 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_MarkerDeleteAll. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
1550 | return NULL; |
1551 | } | |
1552 | } | |
1553 | { | |
4268f798 | 1554 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 1555 | wxStyledTextCtrl_MarkerDeleteAll(_arg0,_arg1); |
f6bcfd97 | 1556 | |
4268f798 RD |
1557 | wxPyEndAllowThreads(__tstate); |
1558 | if (PyErr_Occurred()) return NULL; | |
fe47ec10 RD |
1559 | } Py_INCREF(Py_None); |
1560 | _resultobj = Py_None; | |
f6bcfd97 BP |
1561 | return _resultobj; |
1562 | } | |
1563 | ||
fe47ec10 RD |
1564 | #define wxStyledTextCtrl_MarkerGet(_swigobj,_swigarg0) (_swigobj->MarkerGet(_swigarg0)) |
1565 | static PyObject *_wrap_wxStyledTextCtrl_MarkerGet(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 BP |
1566 | PyObject * _resultobj; |
1567 | int _result; | |
1568 | wxStyledTextCtrl * _arg0; | |
1569 | int _arg1; | |
1570 | PyObject * _argo0 = 0; | |
1571 | char *_kwnames[] = { "self","line", NULL }; | |
1572 | ||
1573 | self = self; | |
fe47ec10 | 1574 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_MarkerGet",_kwnames,&_argo0,&_arg1)) |
f6bcfd97 BP |
1575 | return NULL; |
1576 | if (_argo0) { | |
1577 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1578 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 1579 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_MarkerGet. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
1580 | return NULL; |
1581 | } | |
1582 | } | |
1583 | { | |
4268f798 | 1584 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 1585 | _result = (int )wxStyledTextCtrl_MarkerGet(_arg0,_arg1); |
f6bcfd97 | 1586 | |
4268f798 RD |
1587 | wxPyEndAllowThreads(__tstate); |
1588 | if (PyErr_Occurred()) return NULL; | |
f6bcfd97 BP |
1589 | } _resultobj = Py_BuildValue("i",_result); |
1590 | return _resultobj; | |
1591 | } | |
1592 | ||
fe47ec10 RD |
1593 | #define wxStyledTextCtrl_MarkerNext(_swigobj,_swigarg0,_swigarg1) (_swigobj->MarkerNext(_swigarg0,_swigarg1)) |
1594 | static PyObject *_wrap_wxStyledTextCtrl_MarkerNext(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 | 1595 | PyObject * _resultobj; |
fe47ec10 | 1596 | int _result; |
f6bcfd97 | 1597 | wxStyledTextCtrl * _arg0; |
fe47ec10 RD |
1598 | int _arg1; |
1599 | int _arg2; | |
f6bcfd97 | 1600 | PyObject * _argo0 = 0; |
fe47ec10 | 1601 | char *_kwnames[] = { "self","lineStart","markerMask", NULL }; |
f6bcfd97 BP |
1602 | |
1603 | self = self; | |
fe47ec10 | 1604 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxStyledTextCtrl_MarkerNext",_kwnames,&_argo0,&_arg1,&_arg2)) |
f6bcfd97 BP |
1605 | return NULL; |
1606 | if (_argo0) { | |
1607 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1608 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 1609 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_MarkerNext. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
1610 | return NULL; |
1611 | } | |
1612 | } | |
1613 | { | |
4268f798 | 1614 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 1615 | _result = (int )wxStyledTextCtrl_MarkerNext(_arg0,_arg1,_arg2); |
f6bcfd97 | 1616 | |
4268f798 RD |
1617 | wxPyEndAllowThreads(__tstate); |
1618 | if (PyErr_Occurred()) return NULL; | |
fe47ec10 | 1619 | } _resultobj = Py_BuildValue("i",_result); |
f6bcfd97 BP |
1620 | return _resultobj; |
1621 | } | |
1622 | ||
fe47ec10 RD |
1623 | #define wxStyledTextCtrl_MarkerPrevious(_swigobj,_swigarg0,_swigarg1) (_swigobj->MarkerPrevious(_swigarg0,_swigarg1)) |
1624 | static PyObject *_wrap_wxStyledTextCtrl_MarkerPrevious(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 BP |
1625 | PyObject * _resultobj; |
1626 | int _result; | |
1627 | wxStyledTextCtrl * _arg0; | |
fe47ec10 RD |
1628 | int _arg1; |
1629 | int _arg2; | |
f6bcfd97 | 1630 | PyObject * _argo0 = 0; |
fe47ec10 | 1631 | char *_kwnames[] = { "self","lineStart","markerMask", NULL }; |
f6bcfd97 BP |
1632 | |
1633 | self = self; | |
fe47ec10 | 1634 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxStyledTextCtrl_MarkerPrevious",_kwnames,&_argo0,&_arg1,&_arg2)) |
f6bcfd97 BP |
1635 | return NULL; |
1636 | if (_argo0) { | |
1637 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1638 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 1639 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_MarkerPrevious. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
1640 | return NULL; |
1641 | } | |
1642 | } | |
1643 | { | |
4268f798 | 1644 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 1645 | _result = (int )wxStyledTextCtrl_MarkerPrevious(_arg0,_arg1,_arg2); |
f6bcfd97 | 1646 | |
4268f798 RD |
1647 | wxPyEndAllowThreads(__tstate); |
1648 | if (PyErr_Occurred()) return NULL; | |
f6bcfd97 BP |
1649 | } _resultobj = Py_BuildValue("i",_result); |
1650 | return _resultobj; | |
1651 | } | |
1652 | ||
fe47ec10 RD |
1653 | #define wxStyledTextCtrl_SetMarginType(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetMarginType(_swigarg0,_swigarg1)) |
1654 | static PyObject *_wrap_wxStyledTextCtrl_SetMarginType(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 | 1655 | PyObject * _resultobj; |
f6bcfd97 | 1656 | wxStyledTextCtrl * _arg0; |
fe47ec10 RD |
1657 | int _arg1; |
1658 | int _arg2; | |
f6bcfd97 | 1659 | PyObject * _argo0 = 0; |
fe47ec10 | 1660 | char *_kwnames[] = { "self","margin","marginType", NULL }; |
f6bcfd97 BP |
1661 | |
1662 | self = self; | |
fe47ec10 | 1663 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxStyledTextCtrl_SetMarginType",_kwnames,&_argo0,&_arg1,&_arg2)) |
f6bcfd97 BP |
1664 | return NULL; |
1665 | if (_argo0) { | |
1666 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1667 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 1668 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetMarginType. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
1669 | return NULL; |
1670 | } | |
1671 | } | |
f6bcfd97 | 1672 | { |
4268f798 | 1673 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 1674 | wxStyledTextCtrl_SetMarginType(_arg0,_arg1,_arg2); |
f6bcfd97 | 1675 | |
4268f798 RD |
1676 | wxPyEndAllowThreads(__tstate); |
1677 | if (PyErr_Occurred()) return NULL; | |
fe47ec10 RD |
1678 | } Py_INCREF(Py_None); |
1679 | _resultobj = Py_None; | |
f6bcfd97 BP |
1680 | return _resultobj; |
1681 | } | |
1682 | ||
fe47ec10 RD |
1683 | #define wxStyledTextCtrl_GetMarginType(_swigobj,_swigarg0) (_swigobj->GetMarginType(_swigarg0)) |
1684 | static PyObject *_wrap_wxStyledTextCtrl_GetMarginType(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 BP |
1685 | PyObject * _resultobj; |
1686 | int _result; | |
1687 | wxStyledTextCtrl * _arg0; | |
fe47ec10 | 1688 | int _arg1; |
f6bcfd97 | 1689 | PyObject * _argo0 = 0; |
fe47ec10 | 1690 | char *_kwnames[] = { "self","margin", NULL }; |
f6bcfd97 BP |
1691 | |
1692 | self = self; | |
fe47ec10 | 1693 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_GetMarginType",_kwnames,&_argo0,&_arg1)) |
f6bcfd97 BP |
1694 | return NULL; |
1695 | if (_argo0) { | |
1696 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1697 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 1698 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetMarginType. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
1699 | return NULL; |
1700 | } | |
1701 | } | |
f6bcfd97 | 1702 | { |
4268f798 | 1703 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 1704 | _result = (int )wxStyledTextCtrl_GetMarginType(_arg0,_arg1); |
f6bcfd97 | 1705 | |
4268f798 RD |
1706 | wxPyEndAllowThreads(__tstate); |
1707 | if (PyErr_Occurred()) return NULL; | |
f6bcfd97 BP |
1708 | } _resultobj = Py_BuildValue("i",_result); |
1709 | return _resultobj; | |
1710 | } | |
1711 | ||
fe47ec10 RD |
1712 | #define wxStyledTextCtrl_SetMarginWidth(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetMarginWidth(_swigarg0,_swigarg1)) |
1713 | static PyObject *_wrap_wxStyledTextCtrl_SetMarginWidth(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 | 1714 | PyObject * _resultobj; |
f6bcfd97 BP |
1715 | wxStyledTextCtrl * _arg0; |
1716 | int _arg1; | |
fe47ec10 | 1717 | int _arg2; |
f6bcfd97 | 1718 | PyObject * _argo0 = 0; |
fe47ec10 | 1719 | char *_kwnames[] = { "self","margin","pixelWidth", NULL }; |
f6bcfd97 BP |
1720 | |
1721 | self = self; | |
fe47ec10 | 1722 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxStyledTextCtrl_SetMarginWidth",_kwnames,&_argo0,&_arg1,&_arg2)) |
f6bcfd97 BP |
1723 | return NULL; |
1724 | if (_argo0) { | |
1725 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1726 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 1727 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetMarginWidth. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
1728 | return NULL; |
1729 | } | |
1730 | } | |
1731 | { | |
4268f798 | 1732 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 1733 | wxStyledTextCtrl_SetMarginWidth(_arg0,_arg1,_arg2); |
f6bcfd97 | 1734 | |
4268f798 RD |
1735 | wxPyEndAllowThreads(__tstate); |
1736 | if (PyErr_Occurred()) return NULL; | |
fe47ec10 RD |
1737 | } Py_INCREF(Py_None); |
1738 | _resultobj = Py_None; | |
f6bcfd97 BP |
1739 | return _resultobj; |
1740 | } | |
1741 | ||
fe47ec10 RD |
1742 | #define wxStyledTextCtrl_GetMarginWidth(_swigobj,_swigarg0) (_swigobj->GetMarginWidth(_swigarg0)) |
1743 | static PyObject *_wrap_wxStyledTextCtrl_GetMarginWidth(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 BP |
1744 | PyObject * _resultobj; |
1745 | int _result; | |
1746 | wxStyledTextCtrl * _arg0; | |
fe47ec10 | 1747 | int _arg1; |
f6bcfd97 | 1748 | PyObject * _argo0 = 0; |
fe47ec10 | 1749 | char *_kwnames[] = { "self","margin", NULL }; |
f6bcfd97 BP |
1750 | |
1751 | self = self; | |
fe47ec10 | 1752 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_GetMarginWidth",_kwnames,&_argo0,&_arg1)) |
f6bcfd97 BP |
1753 | return NULL; |
1754 | if (_argo0) { | |
1755 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1756 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 1757 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetMarginWidth. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
1758 | return NULL; |
1759 | } | |
1760 | } | |
1761 | { | |
4268f798 | 1762 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 1763 | _result = (int )wxStyledTextCtrl_GetMarginWidth(_arg0,_arg1); |
f6bcfd97 | 1764 | |
4268f798 RD |
1765 | wxPyEndAllowThreads(__tstate); |
1766 | if (PyErr_Occurred()) return NULL; | |
f6bcfd97 BP |
1767 | } _resultobj = Py_BuildValue("i",_result); |
1768 | return _resultobj; | |
1769 | } | |
1770 | ||
fe47ec10 RD |
1771 | #define wxStyledTextCtrl_SetMarginMask(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetMarginMask(_swigarg0,_swigarg1)) |
1772 | static PyObject *_wrap_wxStyledTextCtrl_SetMarginMask(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 | 1773 | PyObject * _resultobj; |
f6bcfd97 | 1774 | wxStyledTextCtrl * _arg0; |
fe47ec10 RD |
1775 | int _arg1; |
1776 | int _arg2; | |
f6bcfd97 | 1777 | PyObject * _argo0 = 0; |
fe47ec10 | 1778 | char *_kwnames[] = { "self","margin","mask", NULL }; |
f6bcfd97 BP |
1779 | |
1780 | self = self; | |
fe47ec10 | 1781 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxStyledTextCtrl_SetMarginMask",_kwnames,&_argo0,&_arg1,&_arg2)) |
f6bcfd97 BP |
1782 | return NULL; |
1783 | if (_argo0) { | |
1784 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1785 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 1786 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetMarginMask. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
1787 | return NULL; |
1788 | } | |
1789 | } | |
1790 | { | |
4268f798 | 1791 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 1792 | wxStyledTextCtrl_SetMarginMask(_arg0,_arg1,_arg2); |
f6bcfd97 | 1793 | |
4268f798 RD |
1794 | wxPyEndAllowThreads(__tstate); |
1795 | if (PyErr_Occurred()) return NULL; | |
fe47ec10 RD |
1796 | } Py_INCREF(Py_None); |
1797 | _resultobj = Py_None; | |
f6bcfd97 BP |
1798 | return _resultobj; |
1799 | } | |
1800 | ||
fe47ec10 RD |
1801 | #define wxStyledTextCtrl_GetMarginMask(_swigobj,_swigarg0) (_swigobj->GetMarginMask(_swigarg0)) |
1802 | static PyObject *_wrap_wxStyledTextCtrl_GetMarginMask(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 | 1803 | PyObject * _resultobj; |
fe47ec10 | 1804 | int _result; |
f6bcfd97 | 1805 | wxStyledTextCtrl * _arg0; |
fe47ec10 | 1806 | int _arg1; |
f6bcfd97 | 1807 | PyObject * _argo0 = 0; |
fe47ec10 | 1808 | char *_kwnames[] = { "self","margin", NULL }; |
f6bcfd97 BP |
1809 | |
1810 | self = self; | |
fe47ec10 | 1811 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_GetMarginMask",_kwnames,&_argo0,&_arg1)) |
f6bcfd97 BP |
1812 | return NULL; |
1813 | if (_argo0) { | |
1814 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1815 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 1816 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetMarginMask. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
1817 | return NULL; |
1818 | } | |
1819 | } | |
1820 | { | |
4268f798 | 1821 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 1822 | _result = (int )wxStyledTextCtrl_GetMarginMask(_arg0,_arg1); |
f6bcfd97 | 1823 | |
4268f798 RD |
1824 | wxPyEndAllowThreads(__tstate); |
1825 | if (PyErr_Occurred()) return NULL; | |
fe47ec10 | 1826 | } _resultobj = Py_BuildValue("i",_result); |
f6bcfd97 BP |
1827 | return _resultobj; |
1828 | } | |
1829 | ||
fe47ec10 RD |
1830 | #define wxStyledTextCtrl_SetMarginSensitive(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetMarginSensitive(_swigarg0,_swigarg1)) |
1831 | static PyObject *_wrap_wxStyledTextCtrl_SetMarginSensitive(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 BP |
1832 | PyObject * _resultobj; |
1833 | wxStyledTextCtrl * _arg0; | |
1834 | int _arg1; | |
fe47ec10 | 1835 | bool _arg2; |
f6bcfd97 | 1836 | PyObject * _argo0 = 0; |
fe47ec10 RD |
1837 | int tempbool2; |
1838 | char *_kwnames[] = { "self","margin","sensitive", NULL }; | |
f6bcfd97 BP |
1839 | |
1840 | self = self; | |
fe47ec10 | 1841 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxStyledTextCtrl_SetMarginSensitive",_kwnames,&_argo0,&_arg1,&tempbool2)) |
f6bcfd97 BP |
1842 | return NULL; |
1843 | if (_argo0) { | |
1844 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1845 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 1846 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetMarginSensitive. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
1847 | return NULL; |
1848 | } | |
1849 | } | |
fe47ec10 | 1850 | _arg2 = (bool ) tempbool2; |
f6bcfd97 | 1851 | { |
4268f798 | 1852 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 1853 | wxStyledTextCtrl_SetMarginSensitive(_arg0,_arg1,_arg2); |
f6bcfd97 | 1854 | |
4268f798 RD |
1855 | wxPyEndAllowThreads(__tstate); |
1856 | if (PyErr_Occurred()) return NULL; | |
f6bcfd97 BP |
1857 | } Py_INCREF(Py_None); |
1858 | _resultobj = Py_None; | |
1859 | return _resultobj; | |
1860 | } | |
1861 | ||
fe47ec10 RD |
1862 | #define wxStyledTextCtrl_GetMarginSensitive(_swigobj,_swigarg0) (_swigobj->GetMarginSensitive(_swigarg0)) |
1863 | static PyObject *_wrap_wxStyledTextCtrl_GetMarginSensitive(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 | 1864 | PyObject * _resultobj; |
fe47ec10 | 1865 | bool _result; |
f6bcfd97 BP |
1866 | wxStyledTextCtrl * _arg0; |
1867 | int _arg1; | |
1868 | PyObject * _argo0 = 0; | |
fe47ec10 | 1869 | char *_kwnames[] = { "self","margin", NULL }; |
f6bcfd97 BP |
1870 | |
1871 | self = self; | |
fe47ec10 | 1872 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_GetMarginSensitive",_kwnames,&_argo0,&_arg1)) |
f6bcfd97 BP |
1873 | return NULL; |
1874 | if (_argo0) { | |
1875 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1876 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 1877 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetMarginSensitive. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
1878 | return NULL; |
1879 | } | |
1880 | } | |
1881 | { | |
4268f798 | 1882 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 1883 | _result = (bool )wxStyledTextCtrl_GetMarginSensitive(_arg0,_arg1); |
f6bcfd97 | 1884 | |
4268f798 RD |
1885 | wxPyEndAllowThreads(__tstate); |
1886 | if (PyErr_Occurred()) return NULL; | |
fe47ec10 | 1887 | } _resultobj = Py_BuildValue("i",_result); |
f6bcfd97 BP |
1888 | return _resultobj; |
1889 | } | |
1890 | ||
fe47ec10 RD |
1891 | #define wxStyledTextCtrl_StyleClearAll(_swigobj) (_swigobj->StyleClearAll()) |
1892 | static PyObject *_wrap_wxStyledTextCtrl_StyleClearAll(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 BP |
1893 | PyObject * _resultobj; |
1894 | wxStyledTextCtrl * _arg0; | |
f6bcfd97 | 1895 | PyObject * _argo0 = 0; |
fe47ec10 | 1896 | char *_kwnames[] = { "self", NULL }; |
f6bcfd97 BP |
1897 | |
1898 | self = self; | |
fe47ec10 | 1899 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_StyleClearAll",_kwnames,&_argo0)) |
f6bcfd97 BP |
1900 | return NULL; |
1901 | if (_argo0) { | |
1902 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1903 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 1904 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_StyleClearAll. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
1905 | return NULL; |
1906 | } | |
1907 | } | |
1908 | { | |
4268f798 | 1909 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 1910 | wxStyledTextCtrl_StyleClearAll(_arg0); |
f6bcfd97 | 1911 | |
4268f798 RD |
1912 | wxPyEndAllowThreads(__tstate); |
1913 | if (PyErr_Occurred()) return NULL; | |
f6bcfd97 BP |
1914 | } Py_INCREF(Py_None); |
1915 | _resultobj = Py_None; | |
1916 | return _resultobj; | |
1917 | } | |
1918 | ||
fe47ec10 RD |
1919 | #define wxStyledTextCtrl_StyleSetForeground(_swigobj,_swigarg0,_swigarg1) (_swigobj->StyleSetForeground(_swigarg0,_swigarg1)) |
1920 | static PyObject *_wrap_wxStyledTextCtrl_StyleSetForeground(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 BP |
1921 | PyObject * _resultobj; |
1922 | wxStyledTextCtrl * _arg0; | |
1923 | int _arg1; | |
fe47ec10 | 1924 | wxColour * _arg2; |
f6bcfd97 | 1925 | PyObject * _argo0 = 0; |
fe47ec10 RD |
1926 | wxColour temp; |
1927 | PyObject * _obj2 = 0; | |
1928 | char *_kwnames[] = { "self","style","fore", NULL }; | |
f6bcfd97 BP |
1929 | |
1930 | self = self; | |
fe47ec10 | 1931 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxStyledTextCtrl_StyleSetForeground",_kwnames,&_argo0,&_arg1,&_obj2)) |
f6bcfd97 BP |
1932 | return NULL; |
1933 | if (_argo0) { | |
1934 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1935 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 1936 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_StyleSetForeground. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
1937 | return NULL; |
1938 | } | |
1939 | } | |
fe47ec10 RD |
1940 | { |
1941 | _arg2 = &temp; | |
1942 | if (! wxColour_helper(_obj2, &_arg2)) | |
1943 | return NULL; | |
1944 | } | |
f6bcfd97 | 1945 | { |
4268f798 | 1946 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 1947 | wxStyledTextCtrl_StyleSetForeground(_arg0,_arg1,*_arg2); |
f6bcfd97 | 1948 | |
4268f798 RD |
1949 | wxPyEndAllowThreads(__tstate); |
1950 | if (PyErr_Occurred()) return NULL; | |
f6bcfd97 BP |
1951 | } Py_INCREF(Py_None); |
1952 | _resultobj = Py_None; | |
1953 | return _resultobj; | |
1954 | } | |
1955 | ||
fe47ec10 RD |
1956 | #define wxStyledTextCtrl_StyleSetBackground(_swigobj,_swigarg0,_swigarg1) (_swigobj->StyleSetBackground(_swigarg0,_swigarg1)) |
1957 | static PyObject *_wrap_wxStyledTextCtrl_StyleSetBackground(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 BP |
1958 | PyObject * _resultobj; |
1959 | wxStyledTextCtrl * _arg0; | |
1960 | int _arg1; | |
fe47ec10 | 1961 | wxColour * _arg2; |
f6bcfd97 | 1962 | PyObject * _argo0 = 0; |
fe47ec10 RD |
1963 | wxColour temp; |
1964 | PyObject * _obj2 = 0; | |
1965 | char *_kwnames[] = { "self","style","back", NULL }; | |
f6bcfd97 BP |
1966 | |
1967 | self = self; | |
fe47ec10 | 1968 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxStyledTextCtrl_StyleSetBackground",_kwnames,&_argo0,&_arg1,&_obj2)) |
f6bcfd97 BP |
1969 | return NULL; |
1970 | if (_argo0) { | |
1971 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1972 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 1973 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_StyleSetBackground. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
1974 | return NULL; |
1975 | } | |
1976 | } | |
fe47ec10 RD |
1977 | { |
1978 | _arg2 = &temp; | |
1979 | if (! wxColour_helper(_obj2, &_arg2)) | |
1980 | return NULL; | |
1981 | } | |
f6bcfd97 | 1982 | { |
4268f798 | 1983 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 1984 | wxStyledTextCtrl_StyleSetBackground(_arg0,_arg1,*_arg2); |
f6bcfd97 | 1985 | |
4268f798 RD |
1986 | wxPyEndAllowThreads(__tstate); |
1987 | if (PyErr_Occurred()) return NULL; | |
f6bcfd97 BP |
1988 | } Py_INCREF(Py_None); |
1989 | _resultobj = Py_None; | |
1990 | return _resultobj; | |
1991 | } | |
1992 | ||
fe47ec10 RD |
1993 | #define wxStyledTextCtrl_StyleSetBold(_swigobj,_swigarg0,_swigarg1) (_swigobj->StyleSetBold(_swigarg0,_swigarg1)) |
1994 | static PyObject *_wrap_wxStyledTextCtrl_StyleSetBold(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 BP |
1995 | PyObject * _resultobj; |
1996 | wxStyledTextCtrl * _arg0; | |
1997 | int _arg1; | |
1998 | bool _arg2; | |
1999 | PyObject * _argo0 = 0; | |
2000 | int tempbool2; | |
fe47ec10 | 2001 | char *_kwnames[] = { "self","style","bold", NULL }; |
f6bcfd97 BP |
2002 | |
2003 | self = self; | |
fe47ec10 | 2004 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxStyledTextCtrl_StyleSetBold",_kwnames,&_argo0,&_arg1,&tempbool2)) |
f6bcfd97 BP |
2005 | return NULL; |
2006 | if (_argo0) { | |
2007 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2008 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 2009 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_StyleSetBold. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
2010 | return NULL; |
2011 | } | |
2012 | } | |
2013 | _arg2 = (bool ) tempbool2; | |
2014 | { | |
4268f798 | 2015 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 2016 | wxStyledTextCtrl_StyleSetBold(_arg0,_arg1,_arg2); |
f6bcfd97 | 2017 | |
4268f798 RD |
2018 | wxPyEndAllowThreads(__tstate); |
2019 | if (PyErr_Occurred()) return NULL; | |
f6bcfd97 BP |
2020 | } Py_INCREF(Py_None); |
2021 | _resultobj = Py_None; | |
2022 | return _resultobj; | |
2023 | } | |
2024 | ||
fe47ec10 RD |
2025 | #define wxStyledTextCtrl_StyleSetItalic(_swigobj,_swigarg0,_swigarg1) (_swigobj->StyleSetItalic(_swigarg0,_swigarg1)) |
2026 | static PyObject *_wrap_wxStyledTextCtrl_StyleSetItalic(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 BP |
2027 | PyObject * _resultobj; |
2028 | wxStyledTextCtrl * _arg0; | |
2029 | int _arg1; | |
fe47ec10 | 2030 | bool _arg2; |
f6bcfd97 | 2031 | PyObject * _argo0 = 0; |
fe47ec10 RD |
2032 | int tempbool2; |
2033 | char *_kwnames[] = { "self","style","italic", NULL }; | |
f6bcfd97 BP |
2034 | |
2035 | self = self; | |
fe47ec10 | 2036 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxStyledTextCtrl_StyleSetItalic",_kwnames,&_argo0,&_arg1,&tempbool2)) |
f6bcfd97 BP |
2037 | return NULL; |
2038 | if (_argo0) { | |
2039 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2040 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 2041 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_StyleSetItalic. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
2042 | return NULL; |
2043 | } | |
2044 | } | |
fe47ec10 | 2045 | _arg2 = (bool ) tempbool2; |
f6bcfd97 | 2046 | { |
4268f798 | 2047 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 2048 | wxStyledTextCtrl_StyleSetItalic(_arg0,_arg1,_arg2); |
f6bcfd97 | 2049 | |
4268f798 RD |
2050 | wxPyEndAllowThreads(__tstate); |
2051 | if (PyErr_Occurred()) return NULL; | |
f6bcfd97 BP |
2052 | } Py_INCREF(Py_None); |
2053 | _resultobj = Py_None; | |
2054 | return _resultobj; | |
2055 | } | |
2056 | ||
fe47ec10 RD |
2057 | #define wxStyledTextCtrl_StyleSetSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->StyleSetSize(_swigarg0,_swigarg1)) |
2058 | static PyObject *_wrap_wxStyledTextCtrl_StyleSetSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 BP |
2059 | PyObject * _resultobj; |
2060 | wxStyledTextCtrl * _arg0; | |
2061 | int _arg1; | |
fe47ec10 | 2062 | int _arg2; |
f6bcfd97 | 2063 | PyObject * _argo0 = 0; |
fe47ec10 | 2064 | char *_kwnames[] = { "self","style","sizePoints", NULL }; |
f6bcfd97 BP |
2065 | |
2066 | self = self; | |
fe47ec10 | 2067 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxStyledTextCtrl_StyleSetSize",_kwnames,&_argo0,&_arg1,&_arg2)) |
f6bcfd97 BP |
2068 | return NULL; |
2069 | if (_argo0) { | |
2070 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2071 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 2072 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_StyleSetSize. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
2073 | return NULL; |
2074 | } | |
2075 | } | |
2076 | { | |
4268f798 | 2077 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 2078 | wxStyledTextCtrl_StyleSetSize(_arg0,_arg1,_arg2); |
f6bcfd97 | 2079 | |
4268f798 RD |
2080 | wxPyEndAllowThreads(__tstate); |
2081 | if (PyErr_Occurred()) return NULL; | |
f6bcfd97 BP |
2082 | } Py_INCREF(Py_None); |
2083 | _resultobj = Py_None; | |
2084 | return _resultobj; | |
2085 | } | |
2086 | ||
fe47ec10 RD |
2087 | #define wxStyledTextCtrl_StyleSetFaceName(_swigobj,_swigarg0,_swigarg1) (_swigobj->StyleSetFaceName(_swigarg0,_swigarg1)) |
2088 | static PyObject *_wrap_wxStyledTextCtrl_StyleSetFaceName(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 BP |
2089 | PyObject * _resultobj; |
2090 | wxStyledTextCtrl * _arg0; | |
2091 | int _arg1; | |
fe47ec10 | 2092 | wxString * _arg2; |
f6bcfd97 | 2093 | PyObject * _argo0 = 0; |
fe47ec10 RD |
2094 | PyObject * _obj2 = 0; |
2095 | char *_kwnames[] = { "self","style","fontName", NULL }; | |
f6bcfd97 BP |
2096 | |
2097 | self = self; | |
fe47ec10 | 2098 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxStyledTextCtrl_StyleSetFaceName",_kwnames,&_argo0,&_arg1,&_obj2)) |
f6bcfd97 BP |
2099 | return NULL; |
2100 | if (_argo0) { | |
2101 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2102 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 2103 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_StyleSetFaceName. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
2104 | return NULL; |
2105 | } | |
2106 | } | |
fe47ec10 | 2107 | { |
c8bc7bb8 RD |
2108 | _arg2 = wxString_in_helper(_obj2); |
2109 | if (_arg2 == NULL) | |
185d7c3e | 2110 | return NULL; |
fe47ec10 | 2111 | } |
f6bcfd97 | 2112 | { |
4268f798 | 2113 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 2114 | wxStyledTextCtrl_StyleSetFaceName(_arg0,_arg1,*_arg2); |
f6bcfd97 | 2115 | |
4268f798 RD |
2116 | wxPyEndAllowThreads(__tstate); |
2117 | if (PyErr_Occurred()) return NULL; | |
f6bcfd97 BP |
2118 | } Py_INCREF(Py_None); |
2119 | _resultobj = Py_None; | |
fe47ec10 RD |
2120 | { |
2121 | if (_obj2) | |
2122 | delete _arg2; | |
2123 | } | |
f6bcfd97 BP |
2124 | return _resultobj; |
2125 | } | |
2126 | ||
fe47ec10 RD |
2127 | #define wxStyledTextCtrl_StyleSetEOLFilled(_swigobj,_swigarg0,_swigarg1) (_swigobj->StyleSetEOLFilled(_swigarg0,_swigarg1)) |
2128 | static PyObject *_wrap_wxStyledTextCtrl_StyleSetEOLFilled(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 BP |
2129 | PyObject * _resultobj; |
2130 | wxStyledTextCtrl * _arg0; | |
fe47ec10 RD |
2131 | int _arg1; |
2132 | bool _arg2; | |
f6bcfd97 | 2133 | PyObject * _argo0 = 0; |
fe47ec10 RD |
2134 | int tempbool2; |
2135 | char *_kwnames[] = { "self","style","filled", NULL }; | |
f6bcfd97 BP |
2136 | |
2137 | self = self; | |
fe47ec10 | 2138 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxStyledTextCtrl_StyleSetEOLFilled",_kwnames,&_argo0,&_arg1,&tempbool2)) |
f6bcfd97 BP |
2139 | return NULL; |
2140 | if (_argo0) { | |
2141 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2142 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 2143 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_StyleSetEOLFilled. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
2144 | return NULL; |
2145 | } | |
2146 | } | |
fe47ec10 | 2147 | _arg2 = (bool ) tempbool2; |
f6bcfd97 | 2148 | { |
4268f798 | 2149 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 2150 | wxStyledTextCtrl_StyleSetEOLFilled(_arg0,_arg1,_arg2); |
f6bcfd97 | 2151 | |
4268f798 RD |
2152 | wxPyEndAllowThreads(__tstate); |
2153 | if (PyErr_Occurred()) return NULL; | |
f6bcfd97 BP |
2154 | } Py_INCREF(Py_None); |
2155 | _resultobj = Py_None; | |
2156 | return _resultobj; | |
2157 | } | |
2158 | ||
fe47ec10 RD |
2159 | #define wxStyledTextCtrl_StyleResetDefault(_swigobj) (_swigobj->StyleResetDefault()) |
2160 | static PyObject *_wrap_wxStyledTextCtrl_StyleResetDefault(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 BP |
2161 | PyObject * _resultobj; |
2162 | wxStyledTextCtrl * _arg0; | |
f6bcfd97 | 2163 | PyObject * _argo0 = 0; |
fe47ec10 | 2164 | char *_kwnames[] = { "self", NULL }; |
f6bcfd97 BP |
2165 | |
2166 | self = self; | |
fe47ec10 | 2167 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_StyleResetDefault",_kwnames,&_argo0)) |
f6bcfd97 BP |
2168 | return NULL; |
2169 | if (_argo0) { | |
2170 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2171 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 2172 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_StyleResetDefault. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
2173 | return NULL; |
2174 | } | |
2175 | } | |
2176 | { | |
4268f798 | 2177 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 2178 | wxStyledTextCtrl_StyleResetDefault(_arg0); |
f6bcfd97 | 2179 | |
4268f798 RD |
2180 | wxPyEndAllowThreads(__tstate); |
2181 | if (PyErr_Occurred()) return NULL; | |
f6bcfd97 BP |
2182 | } Py_INCREF(Py_None); |
2183 | _resultobj = Py_None; | |
2184 | return _resultobj; | |
2185 | } | |
2186 | ||
fe47ec10 RD |
2187 | #define wxStyledTextCtrl_StyleSetUnderline(_swigobj,_swigarg0,_swigarg1) (_swigobj->StyleSetUnderline(_swigarg0,_swigarg1)) |
2188 | static PyObject *_wrap_wxStyledTextCtrl_StyleSetUnderline(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 | 2189 | PyObject * _resultobj; |
f6bcfd97 | 2190 | wxStyledTextCtrl * _arg0; |
fe47ec10 RD |
2191 | int _arg1; |
2192 | bool _arg2; | |
f6bcfd97 | 2193 | PyObject * _argo0 = 0; |
fe47ec10 RD |
2194 | int tempbool2; |
2195 | char *_kwnames[] = { "self","style","underline", NULL }; | |
f6bcfd97 BP |
2196 | |
2197 | self = self; | |
fe47ec10 | 2198 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxStyledTextCtrl_StyleSetUnderline",_kwnames,&_argo0,&_arg1,&tempbool2)) |
f6bcfd97 BP |
2199 | return NULL; |
2200 | if (_argo0) { | |
2201 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2202 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 2203 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_StyleSetUnderline. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
2204 | return NULL; |
2205 | } | |
2206 | } | |
fe47ec10 | 2207 | _arg2 = (bool ) tempbool2; |
f6bcfd97 | 2208 | { |
4268f798 | 2209 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 2210 | wxStyledTextCtrl_StyleSetUnderline(_arg0,_arg1,_arg2); |
f6bcfd97 | 2211 | |
4268f798 RD |
2212 | wxPyEndAllowThreads(__tstate); |
2213 | if (PyErr_Occurred()) return NULL; | |
fe47ec10 RD |
2214 | } Py_INCREF(Py_None); |
2215 | _resultobj = Py_None; | |
f6bcfd97 BP |
2216 | return _resultobj; |
2217 | } | |
2218 | ||
65ec6247 RD |
2219 | #define wxStyledTextCtrl_StyleSetCase(_swigobj,_swigarg0,_swigarg1) (_swigobj->StyleSetCase(_swigarg0,_swigarg1)) |
2220 | static PyObject *_wrap_wxStyledTextCtrl_StyleSetCase(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2221 | PyObject * _resultobj; | |
2222 | wxStyledTextCtrl * _arg0; | |
2223 | int _arg1; | |
2224 | int _arg2; | |
2225 | PyObject * _argo0 = 0; | |
2226 | char *_kwnames[] = { "self","style","caseForce", NULL }; | |
2227 | ||
2228 | self = self; | |
2229 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxStyledTextCtrl_StyleSetCase",_kwnames,&_argo0,&_arg1,&_arg2)) | |
2230 | return NULL; | |
2231 | if (_argo0) { | |
2232 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2233 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
2234 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_StyleSetCase. Expected _wxStyledTextCtrl_p."); | |
2235 | return NULL; | |
2236 | } | |
2237 | } | |
2238 | { | |
4268f798 | 2239 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 2240 | wxStyledTextCtrl_StyleSetCase(_arg0,_arg1,_arg2); |
65ec6247 | 2241 | |
4268f798 RD |
2242 | wxPyEndAllowThreads(__tstate); |
2243 | if (PyErr_Occurred()) return NULL; | |
65ec6247 RD |
2244 | } Py_INCREF(Py_None); |
2245 | _resultobj = Py_None; | |
2246 | return _resultobj; | |
2247 | } | |
2248 | ||
10ef30eb RD |
2249 | #define wxStyledTextCtrl_StyleSetCharacterSet(_swigobj,_swigarg0,_swigarg1) (_swigobj->StyleSetCharacterSet(_swigarg0,_swigarg1)) |
2250 | static PyObject *_wrap_wxStyledTextCtrl_StyleSetCharacterSet(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2251 | PyObject * _resultobj; | |
2252 | wxStyledTextCtrl * _arg0; | |
2253 | int _arg1; | |
2254 | int _arg2; | |
2255 | PyObject * _argo0 = 0; | |
2256 | char *_kwnames[] = { "self","style","characterSet", NULL }; | |
2257 | ||
2258 | self = self; | |
2259 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxStyledTextCtrl_StyleSetCharacterSet",_kwnames,&_argo0,&_arg1,&_arg2)) | |
2260 | return NULL; | |
2261 | if (_argo0) { | |
2262 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2263 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
2264 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_StyleSetCharacterSet. Expected _wxStyledTextCtrl_p."); | |
2265 | return NULL; | |
2266 | } | |
2267 | } | |
2268 | { | |
2269 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2270 | wxStyledTextCtrl_StyleSetCharacterSet(_arg0,_arg1,_arg2); | |
2271 | ||
2272 | wxPyEndAllowThreads(__tstate); | |
2273 | if (PyErr_Occurred()) return NULL; | |
2274 | } Py_INCREF(Py_None); | |
2275 | _resultobj = Py_None; | |
2276 | return _resultobj; | |
2277 | } | |
2278 | ||
fe47ec10 RD |
2279 | #define wxStyledTextCtrl_SetSelForeground(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetSelForeground(_swigarg0,_swigarg1)) |
2280 | static PyObject *_wrap_wxStyledTextCtrl_SetSelForeground(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 | 2281 | PyObject * _resultobj; |
f6bcfd97 | 2282 | wxStyledTextCtrl * _arg0; |
fe47ec10 RD |
2283 | bool _arg1; |
2284 | wxColour * _arg2; | |
f6bcfd97 | 2285 | PyObject * _argo0 = 0; |
fe47ec10 RD |
2286 | int tempbool1; |
2287 | wxColour temp; | |
2288 | PyObject * _obj2 = 0; | |
2289 | char *_kwnames[] = { "self","useSetting","fore", NULL }; | |
f6bcfd97 BP |
2290 | |
2291 | self = self; | |
fe47ec10 | 2292 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxStyledTextCtrl_SetSelForeground",_kwnames,&_argo0,&tempbool1,&_obj2)) |
f6bcfd97 BP |
2293 | return NULL; |
2294 | if (_argo0) { | |
2295 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2296 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 2297 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetSelForeground. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
2298 | return NULL; |
2299 | } | |
2300 | } | |
fe47ec10 RD |
2301 | _arg1 = (bool ) tempbool1; |
2302 | { | |
2303 | _arg2 = &temp; | |
2304 | if (! wxColour_helper(_obj2, &_arg2)) | |
2305 | return NULL; | |
2306 | } | |
f6bcfd97 | 2307 | { |
4268f798 | 2308 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 2309 | wxStyledTextCtrl_SetSelForeground(_arg0,_arg1,*_arg2); |
f6bcfd97 | 2310 | |
4268f798 RD |
2311 | wxPyEndAllowThreads(__tstate); |
2312 | if (PyErr_Occurred()) return NULL; | |
fe47ec10 RD |
2313 | } Py_INCREF(Py_None); |
2314 | _resultobj = Py_None; | |
f6bcfd97 BP |
2315 | return _resultobj; |
2316 | } | |
2317 | ||
fe47ec10 RD |
2318 | #define wxStyledTextCtrl_SetSelBackground(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetSelBackground(_swigarg0,_swigarg1)) |
2319 | static PyObject *_wrap_wxStyledTextCtrl_SetSelBackground(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 | 2320 | PyObject * _resultobj; |
f6bcfd97 | 2321 | wxStyledTextCtrl * _arg0; |
fe47ec10 RD |
2322 | bool _arg1; |
2323 | wxColour * _arg2; | |
f6bcfd97 | 2324 | PyObject * _argo0 = 0; |
fe47ec10 RD |
2325 | int tempbool1; |
2326 | wxColour temp; | |
2327 | PyObject * _obj2 = 0; | |
2328 | char *_kwnames[] = { "self","useSetting","back", NULL }; | |
f6bcfd97 BP |
2329 | |
2330 | self = self; | |
fe47ec10 | 2331 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxStyledTextCtrl_SetSelBackground",_kwnames,&_argo0,&tempbool1,&_obj2)) |
f6bcfd97 BP |
2332 | return NULL; |
2333 | if (_argo0) { | |
2334 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2335 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 2336 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetSelBackground. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
2337 | return NULL; |
2338 | } | |
2339 | } | |
fe47ec10 RD |
2340 | _arg1 = (bool ) tempbool1; |
2341 | { | |
2342 | _arg2 = &temp; | |
2343 | if (! wxColour_helper(_obj2, &_arg2)) | |
2344 | return NULL; | |
2345 | } | |
f6bcfd97 | 2346 | { |
4268f798 | 2347 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 2348 | wxStyledTextCtrl_SetSelBackground(_arg0,_arg1,*_arg2); |
f6bcfd97 | 2349 | |
4268f798 RD |
2350 | wxPyEndAllowThreads(__tstate); |
2351 | if (PyErr_Occurred()) return NULL; | |
fe47ec10 RD |
2352 | } Py_INCREF(Py_None); |
2353 | _resultobj = Py_None; | |
f6bcfd97 BP |
2354 | return _resultobj; |
2355 | } | |
2356 | ||
fe47ec10 RD |
2357 | #define wxStyledTextCtrl_SetCaretForeground(_swigobj,_swigarg0) (_swigobj->SetCaretForeground(_swigarg0)) |
2358 | static PyObject *_wrap_wxStyledTextCtrl_SetCaretForeground(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 BP |
2359 | PyObject * _resultobj; |
2360 | wxStyledTextCtrl * _arg0; | |
fe47ec10 | 2361 | wxColour * _arg1; |
f6bcfd97 | 2362 | PyObject * _argo0 = 0; |
fe47ec10 RD |
2363 | wxColour temp; |
2364 | PyObject * _obj1 = 0; | |
2365 | char *_kwnames[] = { "self","fore", NULL }; | |
f6bcfd97 BP |
2366 | |
2367 | self = self; | |
fe47ec10 | 2368 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxStyledTextCtrl_SetCaretForeground",_kwnames,&_argo0,&_obj1)) |
f6bcfd97 BP |
2369 | return NULL; |
2370 | if (_argo0) { | |
2371 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2372 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 2373 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetCaretForeground. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
2374 | return NULL; |
2375 | } | |
2376 | } | |
fe47ec10 RD |
2377 | { |
2378 | _arg1 = &temp; | |
2379 | if (! wxColour_helper(_obj1, &_arg1)) | |
2380 | return NULL; | |
2381 | } | |
f6bcfd97 | 2382 | { |
4268f798 | 2383 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 2384 | wxStyledTextCtrl_SetCaretForeground(_arg0,*_arg1); |
f6bcfd97 | 2385 | |
4268f798 RD |
2386 | wxPyEndAllowThreads(__tstate); |
2387 | if (PyErr_Occurred()) return NULL; | |
f6bcfd97 BP |
2388 | } Py_INCREF(Py_None); |
2389 | _resultobj = Py_None; | |
2390 | return _resultobj; | |
2391 | } | |
2392 | ||
fe47ec10 RD |
2393 | #define wxStyledTextCtrl_CmdKeyAssign(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->CmdKeyAssign(_swigarg0,_swigarg1,_swigarg2)) |
2394 | static PyObject *_wrap_wxStyledTextCtrl_CmdKeyAssign(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 | 2395 | PyObject * _resultobj; |
f6bcfd97 | 2396 | wxStyledTextCtrl * _arg0; |
fe47ec10 RD |
2397 | int _arg1; |
2398 | int _arg2; | |
2399 | int _arg3; | |
f6bcfd97 | 2400 | PyObject * _argo0 = 0; |
fe47ec10 | 2401 | char *_kwnames[] = { "self","key","modifiers","cmd", NULL }; |
f6bcfd97 BP |
2402 | |
2403 | self = self; | |
fe47ec10 | 2404 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oiii:wxStyledTextCtrl_CmdKeyAssign",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3)) |
f6bcfd97 BP |
2405 | return NULL; |
2406 | if (_argo0) { | |
2407 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2408 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 2409 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_CmdKeyAssign. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
2410 | return NULL; |
2411 | } | |
2412 | } | |
2413 | { | |
4268f798 | 2414 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 2415 | wxStyledTextCtrl_CmdKeyAssign(_arg0,_arg1,_arg2,_arg3); |
f6bcfd97 | 2416 | |
4268f798 RD |
2417 | wxPyEndAllowThreads(__tstate); |
2418 | if (PyErr_Occurred()) return NULL; | |
fe47ec10 RD |
2419 | } Py_INCREF(Py_None); |
2420 | _resultobj = Py_None; | |
f6bcfd97 BP |
2421 | return _resultobj; |
2422 | } | |
2423 | ||
fe47ec10 RD |
2424 | #define wxStyledTextCtrl_CmdKeyClear(_swigobj,_swigarg0,_swigarg1) (_swigobj->CmdKeyClear(_swigarg0,_swigarg1)) |
2425 | static PyObject *_wrap_wxStyledTextCtrl_CmdKeyClear(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 | 2426 | PyObject * _resultobj; |
f6bcfd97 BP |
2427 | wxStyledTextCtrl * _arg0; |
2428 | int _arg1; | |
2429 | int _arg2; | |
f6bcfd97 | 2430 | PyObject * _argo0 = 0; |
fe47ec10 | 2431 | char *_kwnames[] = { "self","key","modifiers", NULL }; |
f6bcfd97 BP |
2432 | |
2433 | self = self; | |
fe47ec10 | 2434 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxStyledTextCtrl_CmdKeyClear",_kwnames,&_argo0,&_arg1,&_arg2)) |
f6bcfd97 BP |
2435 | return NULL; |
2436 | if (_argo0) { | |
2437 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2438 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 2439 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_CmdKeyClear. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
2440 | return NULL; |
2441 | } | |
2442 | } | |
f6bcfd97 | 2443 | { |
4268f798 | 2444 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 2445 | wxStyledTextCtrl_CmdKeyClear(_arg0,_arg1,_arg2); |
f6bcfd97 | 2446 | |
4268f798 RD |
2447 | wxPyEndAllowThreads(__tstate); |
2448 | if (PyErr_Occurred()) return NULL; | |
fe47ec10 RD |
2449 | } Py_INCREF(Py_None); |
2450 | _resultobj = Py_None; | |
f6bcfd97 BP |
2451 | return _resultobj; |
2452 | } | |
2453 | ||
fe47ec10 RD |
2454 | #define wxStyledTextCtrl_CmdKeyClearAll(_swigobj) (_swigobj->CmdKeyClearAll()) |
2455 | static PyObject *_wrap_wxStyledTextCtrl_CmdKeyClearAll(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 BP |
2456 | PyObject * _resultobj; |
2457 | wxStyledTextCtrl * _arg0; | |
2458 | PyObject * _argo0 = 0; | |
2459 | char *_kwnames[] = { "self", NULL }; | |
2460 | ||
2461 | self = self; | |
fe47ec10 | 2462 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_CmdKeyClearAll",_kwnames,&_argo0)) |
f6bcfd97 BP |
2463 | return NULL; |
2464 | if (_argo0) { | |
2465 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2466 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 2467 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_CmdKeyClearAll. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
2468 | return NULL; |
2469 | } | |
2470 | } | |
2471 | { | |
4268f798 | 2472 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 2473 | wxStyledTextCtrl_CmdKeyClearAll(_arg0); |
f6bcfd97 | 2474 | |
4268f798 RD |
2475 | wxPyEndAllowThreads(__tstate); |
2476 | if (PyErr_Occurred()) return NULL; | |
f6bcfd97 BP |
2477 | } Py_INCREF(Py_None); |
2478 | _resultobj = Py_None; | |
2479 | return _resultobj; | |
2480 | } | |
2481 | ||
fe47ec10 RD |
2482 | #define wxStyledTextCtrl_SetStyleBytes(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetStyleBytes(_swigarg0,_swigarg1)) |
2483 | static PyObject *_wrap_wxStyledTextCtrl_SetStyleBytes(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 | 2484 | PyObject * _resultobj; |
f6bcfd97 | 2485 | wxStyledTextCtrl * _arg0; |
fe47ec10 RD |
2486 | int _arg1; |
2487 | char * _arg2; | |
f6bcfd97 | 2488 | PyObject * _argo0 = 0; |
fe47ec10 | 2489 | char *_kwnames[] = { "self","length","styleBytes", NULL }; |
f6bcfd97 BP |
2490 | |
2491 | self = self; | |
fe47ec10 | 2492 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ois:wxStyledTextCtrl_SetStyleBytes",_kwnames,&_argo0,&_arg1,&_arg2)) |
f6bcfd97 BP |
2493 | return NULL; |
2494 | if (_argo0) { | |
2495 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2496 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 2497 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetStyleBytes. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
2498 | return NULL; |
2499 | } | |
2500 | } | |
f6bcfd97 | 2501 | { |
4268f798 | 2502 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 2503 | wxStyledTextCtrl_SetStyleBytes(_arg0,_arg1,_arg2); |
f6bcfd97 | 2504 | |
4268f798 RD |
2505 | wxPyEndAllowThreads(__tstate); |
2506 | if (PyErr_Occurred()) return NULL; | |
fe47ec10 RD |
2507 | } Py_INCREF(Py_None); |
2508 | _resultobj = Py_None; | |
f6bcfd97 BP |
2509 | return _resultobj; |
2510 | } | |
2511 | ||
fe47ec10 RD |
2512 | #define wxStyledTextCtrl_StyleSetVisible(_swigobj,_swigarg0,_swigarg1) (_swigobj->StyleSetVisible(_swigarg0,_swigarg1)) |
2513 | static PyObject *_wrap_wxStyledTextCtrl_StyleSetVisible(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 | 2514 | PyObject * _resultobj; |
f6bcfd97 | 2515 | wxStyledTextCtrl * _arg0; |
fe47ec10 | 2516 | int _arg1; |
f6bcfd97 | 2517 | bool _arg2; |
f6bcfd97 | 2518 | PyObject * _argo0 = 0; |
f6bcfd97 | 2519 | int tempbool2; |
fe47ec10 | 2520 | char *_kwnames[] = { "self","style","visible", NULL }; |
f6bcfd97 BP |
2521 | |
2522 | self = self; | |
fe47ec10 | 2523 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxStyledTextCtrl_StyleSetVisible",_kwnames,&_argo0,&_arg1,&tempbool2)) |
f6bcfd97 BP |
2524 | return NULL; |
2525 | if (_argo0) { | |
2526 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2527 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 2528 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_StyleSetVisible. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
2529 | return NULL; |
2530 | } | |
2531 | } | |
f6bcfd97 | 2532 | _arg2 = (bool ) tempbool2; |
f6bcfd97 | 2533 | { |
4268f798 | 2534 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 2535 | wxStyledTextCtrl_StyleSetVisible(_arg0,_arg1,_arg2); |
f6bcfd97 | 2536 | |
4268f798 RD |
2537 | wxPyEndAllowThreads(__tstate); |
2538 | if (PyErr_Occurred()) return NULL; | |
fe47ec10 RD |
2539 | } Py_INCREF(Py_None); |
2540 | _resultobj = Py_None; | |
f6bcfd97 BP |
2541 | return _resultobj; |
2542 | } | |
2543 | ||
fe47ec10 RD |
2544 | #define wxStyledTextCtrl_GetCaretPeriod(_swigobj) (_swigobj->GetCaretPeriod()) |
2545 | static PyObject *_wrap_wxStyledTextCtrl_GetCaretPeriod(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 | 2546 | PyObject * _resultobj; |
fe47ec10 | 2547 | int _result; |
f6bcfd97 BP |
2548 | wxStyledTextCtrl * _arg0; |
2549 | PyObject * _argo0 = 0; | |
2550 | char *_kwnames[] = { "self", NULL }; | |
2551 | ||
2552 | self = self; | |
fe47ec10 | 2553 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetCaretPeriod",_kwnames,&_argo0)) |
f6bcfd97 BP |
2554 | return NULL; |
2555 | if (_argo0) { | |
2556 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2557 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 2558 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetCaretPeriod. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
2559 | return NULL; |
2560 | } | |
2561 | } | |
2562 | { | |
4268f798 | 2563 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 2564 | _result = (int )wxStyledTextCtrl_GetCaretPeriod(_arg0); |
f6bcfd97 | 2565 | |
4268f798 RD |
2566 | wxPyEndAllowThreads(__tstate); |
2567 | if (PyErr_Occurred()) return NULL; | |
f6bcfd97 BP |
2568 | } _resultobj = Py_BuildValue("i",_result); |
2569 | return _resultobj; | |
2570 | } | |
2571 | ||
fe47ec10 RD |
2572 | #define wxStyledTextCtrl_SetCaretPeriod(_swigobj,_swigarg0) (_swigobj->SetCaretPeriod(_swigarg0)) |
2573 | static PyObject *_wrap_wxStyledTextCtrl_SetCaretPeriod(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 BP |
2574 | PyObject * _resultobj; |
2575 | wxStyledTextCtrl * _arg0; | |
fe47ec10 | 2576 | int _arg1; |
f6bcfd97 | 2577 | PyObject * _argo0 = 0; |
fe47ec10 | 2578 | char *_kwnames[] = { "self","periodMilliseconds", NULL }; |
f6bcfd97 BP |
2579 | |
2580 | self = self; | |
fe47ec10 | 2581 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_SetCaretPeriod",_kwnames,&_argo0,&_arg1)) |
f6bcfd97 BP |
2582 | return NULL; |
2583 | if (_argo0) { | |
2584 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2585 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 2586 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetCaretPeriod. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
2587 | return NULL; |
2588 | } | |
2589 | } | |
f6bcfd97 | 2590 | { |
4268f798 | 2591 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 2592 | wxStyledTextCtrl_SetCaretPeriod(_arg0,_arg1); |
f6bcfd97 | 2593 | |
4268f798 RD |
2594 | wxPyEndAllowThreads(__tstate); |
2595 | if (PyErr_Occurred()) return NULL; | |
f6bcfd97 BP |
2596 | } Py_INCREF(Py_None); |
2597 | _resultobj = Py_None; | |
2598 | return _resultobj; | |
2599 | } | |
2600 | ||
fe47ec10 RD |
2601 | #define wxStyledTextCtrl_SetWordChars(_swigobj,_swigarg0) (_swigobj->SetWordChars(_swigarg0)) |
2602 | static PyObject *_wrap_wxStyledTextCtrl_SetWordChars(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 | 2603 | PyObject * _resultobj; |
f6bcfd97 | 2604 | wxStyledTextCtrl * _arg0; |
fe47ec10 | 2605 | wxString * _arg1; |
f6bcfd97 | 2606 | PyObject * _argo0 = 0; |
fe47ec10 RD |
2607 | PyObject * _obj1 = 0; |
2608 | char *_kwnames[] = { "self","characters", NULL }; | |
f6bcfd97 BP |
2609 | |
2610 | self = self; | |
fe47ec10 | 2611 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxStyledTextCtrl_SetWordChars",_kwnames,&_argo0,&_obj1)) |
f6bcfd97 BP |
2612 | return NULL; |
2613 | if (_argo0) { | |
2614 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2615 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 2616 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetWordChars. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
2617 | return NULL; |
2618 | } | |
2619 | } | |
fe47ec10 | 2620 | { |
c8bc7bb8 RD |
2621 | _arg1 = wxString_in_helper(_obj1); |
2622 | if (_arg1 == NULL) | |
185d7c3e | 2623 | return NULL; |
fe47ec10 | 2624 | } |
f6bcfd97 | 2625 | { |
4268f798 | 2626 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 2627 | wxStyledTextCtrl_SetWordChars(_arg0,*_arg1); |
f6bcfd97 | 2628 | |
4268f798 RD |
2629 | wxPyEndAllowThreads(__tstate); |
2630 | if (PyErr_Occurred()) return NULL; | |
fe47ec10 RD |
2631 | } Py_INCREF(Py_None); |
2632 | _resultobj = Py_None; | |
2633 | { | |
2634 | if (_obj1) | |
2635 | delete _arg1; | |
2636 | } | |
f6bcfd97 BP |
2637 | return _resultobj; |
2638 | } | |
2639 | ||
fe47ec10 RD |
2640 | #define wxStyledTextCtrl_BeginUndoAction(_swigobj) (_swigobj->BeginUndoAction()) |
2641 | static PyObject *_wrap_wxStyledTextCtrl_BeginUndoAction(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 BP |
2642 | PyObject * _resultobj; |
2643 | wxStyledTextCtrl * _arg0; | |
f6bcfd97 | 2644 | PyObject * _argo0 = 0; |
fe47ec10 | 2645 | char *_kwnames[] = { "self", NULL }; |
f6bcfd97 BP |
2646 | |
2647 | self = self; | |
fe47ec10 | 2648 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_BeginUndoAction",_kwnames,&_argo0)) |
f6bcfd97 BP |
2649 | return NULL; |
2650 | if (_argo0) { | |
2651 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2652 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 2653 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_BeginUndoAction. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
2654 | return NULL; |
2655 | } | |
2656 | } | |
2657 | { | |
4268f798 | 2658 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 2659 | wxStyledTextCtrl_BeginUndoAction(_arg0); |
f6bcfd97 | 2660 | |
4268f798 RD |
2661 | wxPyEndAllowThreads(__tstate); |
2662 | if (PyErr_Occurred()) return NULL; | |
f6bcfd97 BP |
2663 | } Py_INCREF(Py_None); |
2664 | _resultobj = Py_None; | |
2665 | return _resultobj; | |
2666 | } | |
2667 | ||
fe47ec10 RD |
2668 | #define wxStyledTextCtrl_EndUndoAction(_swigobj) (_swigobj->EndUndoAction()) |
2669 | static PyObject *_wrap_wxStyledTextCtrl_EndUndoAction(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 | 2670 | PyObject * _resultobj; |
f6bcfd97 BP |
2671 | wxStyledTextCtrl * _arg0; |
2672 | PyObject * _argo0 = 0; | |
2673 | char *_kwnames[] = { "self", NULL }; | |
2674 | ||
2675 | self = self; | |
fe47ec10 | 2676 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_EndUndoAction",_kwnames,&_argo0)) |
f6bcfd97 BP |
2677 | return NULL; |
2678 | if (_argo0) { | |
2679 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2680 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 2681 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_EndUndoAction. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
2682 | return NULL; |
2683 | } | |
2684 | } | |
2685 | { | |
4268f798 | 2686 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 2687 | wxStyledTextCtrl_EndUndoAction(_arg0); |
f6bcfd97 | 2688 | |
4268f798 RD |
2689 | wxPyEndAllowThreads(__tstate); |
2690 | if (PyErr_Occurred()) return NULL; | |
fe47ec10 RD |
2691 | } Py_INCREF(Py_None); |
2692 | _resultobj = Py_None; | |
f6bcfd97 BP |
2693 | return _resultobj; |
2694 | } | |
2695 | ||
fe47ec10 RD |
2696 | #define wxStyledTextCtrl_IndicatorSetStyle(_swigobj,_swigarg0,_swigarg1) (_swigobj->IndicatorSetStyle(_swigarg0,_swigarg1)) |
2697 | static PyObject *_wrap_wxStyledTextCtrl_IndicatorSetStyle(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 BP |
2698 | PyObject * _resultobj; |
2699 | wxStyledTextCtrl * _arg0; | |
fe47ec10 RD |
2700 | int _arg1; |
2701 | int _arg2; | |
f6bcfd97 | 2702 | PyObject * _argo0 = 0; |
fe47ec10 | 2703 | char *_kwnames[] = { "self","indic","style", NULL }; |
f6bcfd97 BP |
2704 | |
2705 | self = self; | |
fe47ec10 | 2706 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxStyledTextCtrl_IndicatorSetStyle",_kwnames,&_argo0,&_arg1,&_arg2)) |
f6bcfd97 BP |
2707 | return NULL; |
2708 | if (_argo0) { | |
2709 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2710 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 2711 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_IndicatorSetStyle. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
2712 | return NULL; |
2713 | } | |
2714 | } | |
f6bcfd97 | 2715 | { |
4268f798 | 2716 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 2717 | wxStyledTextCtrl_IndicatorSetStyle(_arg0,_arg1,_arg2); |
f6bcfd97 | 2718 | |
4268f798 RD |
2719 | wxPyEndAllowThreads(__tstate); |
2720 | if (PyErr_Occurred()) return NULL; | |
f6bcfd97 BP |
2721 | } Py_INCREF(Py_None); |
2722 | _resultobj = Py_None; | |
2723 | return _resultobj; | |
2724 | } | |
2725 | ||
fe47ec10 RD |
2726 | #define wxStyledTextCtrl_IndicatorGetStyle(_swigobj,_swigarg0) (_swigobj->IndicatorGetStyle(_swigarg0)) |
2727 | static PyObject *_wrap_wxStyledTextCtrl_IndicatorGetStyle(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 | 2728 | PyObject * _resultobj; |
fe47ec10 | 2729 | int _result; |
f6bcfd97 | 2730 | wxStyledTextCtrl * _arg0; |
fe47ec10 | 2731 | int _arg1; |
f6bcfd97 | 2732 | PyObject * _argo0 = 0; |
fe47ec10 | 2733 | char *_kwnames[] = { "self","indic", NULL }; |
f6bcfd97 BP |
2734 | |
2735 | self = self; | |
fe47ec10 | 2736 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_IndicatorGetStyle",_kwnames,&_argo0,&_arg1)) |
f6bcfd97 BP |
2737 | return NULL; |
2738 | if (_argo0) { | |
2739 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2740 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 2741 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_IndicatorGetStyle. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
2742 | return NULL; |
2743 | } | |
2744 | } | |
2745 | { | |
4268f798 | 2746 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 2747 | _result = (int )wxStyledTextCtrl_IndicatorGetStyle(_arg0,_arg1); |
f6bcfd97 | 2748 | |
4268f798 RD |
2749 | wxPyEndAllowThreads(__tstate); |
2750 | if (PyErr_Occurred()) return NULL; | |
fe47ec10 | 2751 | } _resultobj = Py_BuildValue("i",_result); |
f6bcfd97 BP |
2752 | return _resultobj; |
2753 | } | |
2754 | ||
fe47ec10 RD |
2755 | #define wxStyledTextCtrl_IndicatorSetForeground(_swigobj,_swigarg0,_swigarg1) (_swigobj->IndicatorSetForeground(_swigarg0,_swigarg1)) |
2756 | static PyObject *_wrap_wxStyledTextCtrl_IndicatorSetForeground(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 | 2757 | PyObject * _resultobj; |
f6bcfd97 | 2758 | wxStyledTextCtrl * _arg0; |
fe47ec10 RD |
2759 | int _arg1; |
2760 | wxColour * _arg2; | |
f6bcfd97 | 2761 | PyObject * _argo0 = 0; |
fe47ec10 RD |
2762 | wxColour temp; |
2763 | PyObject * _obj2 = 0; | |
2764 | char *_kwnames[] = { "self","indic","fore", NULL }; | |
f6bcfd97 BP |
2765 | |
2766 | self = self; | |
fe47ec10 | 2767 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxStyledTextCtrl_IndicatorSetForeground",_kwnames,&_argo0,&_arg1,&_obj2)) |
f6bcfd97 BP |
2768 | return NULL; |
2769 | if (_argo0) { | |
2770 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2771 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 2772 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_IndicatorSetForeground. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
2773 | return NULL; |
2774 | } | |
2775 | } | |
fe47ec10 RD |
2776 | { |
2777 | _arg2 = &temp; | |
2778 | if (! wxColour_helper(_obj2, &_arg2)) | |
2779 | return NULL; | |
2780 | } | |
f6bcfd97 | 2781 | { |
4268f798 | 2782 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 2783 | wxStyledTextCtrl_IndicatorSetForeground(_arg0,_arg1,*_arg2); |
f6bcfd97 | 2784 | |
4268f798 RD |
2785 | wxPyEndAllowThreads(__tstate); |
2786 | if (PyErr_Occurred()) return NULL; | |
fe47ec10 RD |
2787 | } Py_INCREF(Py_None); |
2788 | _resultobj = Py_None; | |
f6bcfd97 BP |
2789 | return _resultobj; |
2790 | } | |
2791 | ||
fe47ec10 RD |
2792 | #define wxStyledTextCtrl_IndicatorGetForeground(_swigobj,_swigarg0) (_swigobj->IndicatorGetForeground(_swigarg0)) |
2793 | static PyObject *_wrap_wxStyledTextCtrl_IndicatorGetForeground(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 | 2794 | PyObject * _resultobj; |
fe47ec10 | 2795 | wxColour * _result; |
f6bcfd97 BP |
2796 | wxStyledTextCtrl * _arg0; |
2797 | int _arg1; | |
f6bcfd97 | 2798 | PyObject * _argo0 = 0; |
fe47ec10 RD |
2799 | char *_kwnames[] = { "self","indic", NULL }; |
2800 | char _ptemp[128]; | |
f6bcfd97 BP |
2801 | |
2802 | self = self; | |
fe47ec10 | 2803 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_IndicatorGetForeground",_kwnames,&_argo0,&_arg1)) |
f6bcfd97 BP |
2804 | return NULL; |
2805 | if (_argo0) { | |
2806 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2807 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 2808 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_IndicatorGetForeground. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
2809 | return NULL; |
2810 | } | |
2811 | } | |
2812 | { | |
4268f798 | 2813 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 2814 | _result = new wxColour (wxStyledTextCtrl_IndicatorGetForeground(_arg0,_arg1)); |
f6bcfd97 | 2815 | |
4268f798 RD |
2816 | wxPyEndAllowThreads(__tstate); |
2817 | if (PyErr_Occurred()) return NULL; | |
fe47ec10 RD |
2818 | } SWIG_MakePtr(_ptemp, (void *) _result,"_wxColour_p"); |
2819 | _resultobj = Py_BuildValue("s",_ptemp); | |
f6bcfd97 BP |
2820 | return _resultobj; |
2821 | } | |
2822 | ||
fe47ec10 RD |
2823 | #define wxStyledTextCtrl_SetStyleBits(_swigobj,_swigarg0) (_swigobj->SetStyleBits(_swigarg0)) |
2824 | static PyObject *_wrap_wxStyledTextCtrl_SetStyleBits(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 BP |
2825 | PyObject * _resultobj; |
2826 | wxStyledTextCtrl * _arg0; | |
2827 | int _arg1; | |
f6bcfd97 | 2828 | PyObject * _argo0 = 0; |
fe47ec10 | 2829 | char *_kwnames[] = { "self","bits", NULL }; |
f6bcfd97 BP |
2830 | |
2831 | self = self; | |
fe47ec10 | 2832 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_SetStyleBits",_kwnames,&_argo0,&_arg1)) |
f6bcfd97 BP |
2833 | return NULL; |
2834 | if (_argo0) { | |
2835 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2836 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 2837 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetStyleBits. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
2838 | return NULL; |
2839 | } | |
2840 | } | |
2841 | { | |
4268f798 | 2842 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 2843 | wxStyledTextCtrl_SetStyleBits(_arg0,_arg1); |
f6bcfd97 | 2844 | |
4268f798 RD |
2845 | wxPyEndAllowThreads(__tstate); |
2846 | if (PyErr_Occurred()) return NULL; | |
f6bcfd97 BP |
2847 | } Py_INCREF(Py_None); |
2848 | _resultobj = Py_None; | |
2849 | return _resultobj; | |
2850 | } | |
2851 | ||
fe47ec10 RD |
2852 | #define wxStyledTextCtrl_GetStyleBits(_swigobj) (_swigobj->GetStyleBits()) |
2853 | static PyObject *_wrap_wxStyledTextCtrl_GetStyleBits(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 | 2854 | PyObject * _resultobj; |
fe47ec10 | 2855 | int _result; |
f6bcfd97 | 2856 | wxStyledTextCtrl * _arg0; |
f6bcfd97 | 2857 | PyObject * _argo0 = 0; |
fe47ec10 | 2858 | char *_kwnames[] = { "self", NULL }; |
f6bcfd97 BP |
2859 | |
2860 | self = self; | |
fe47ec10 | 2861 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetStyleBits",_kwnames,&_argo0)) |
f6bcfd97 BP |
2862 | return NULL; |
2863 | if (_argo0) { | |
2864 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2865 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 2866 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetStyleBits. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
2867 | return NULL; |
2868 | } | |
2869 | } | |
2870 | { | |
4268f798 | 2871 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 2872 | _result = (int )wxStyledTextCtrl_GetStyleBits(_arg0); |
f6bcfd97 | 2873 | |
4268f798 RD |
2874 | wxPyEndAllowThreads(__tstate); |
2875 | if (PyErr_Occurred()) return NULL; | |
fe47ec10 | 2876 | } _resultobj = Py_BuildValue("i",_result); |
f6bcfd97 BP |
2877 | return _resultobj; |
2878 | } | |
2879 | ||
2880 | #define wxStyledTextCtrl_SetLineState(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetLineState(_swigarg0,_swigarg1)) | |
2881 | static PyObject *_wrap_wxStyledTextCtrl_SetLineState(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2882 | PyObject * _resultobj; | |
2883 | wxStyledTextCtrl * _arg0; | |
2884 | int _arg1; | |
2885 | int _arg2; | |
2886 | PyObject * _argo0 = 0; | |
fe47ec10 | 2887 | char *_kwnames[] = { "self","line","state", NULL }; |
f6bcfd97 BP |
2888 | |
2889 | self = self; | |
2890 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxStyledTextCtrl_SetLineState",_kwnames,&_argo0,&_arg1,&_arg2)) | |
2891 | return NULL; | |
2892 | if (_argo0) { | |
2893 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2894 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
2895 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetLineState. Expected _wxStyledTextCtrl_p."); | |
2896 | return NULL; | |
2897 | } | |
2898 | } | |
2899 | { | |
4268f798 | 2900 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 2901 | wxStyledTextCtrl_SetLineState(_arg0,_arg1,_arg2); |
f6bcfd97 | 2902 | |
4268f798 RD |
2903 | wxPyEndAllowThreads(__tstate); |
2904 | if (PyErr_Occurred()) return NULL; | |
f6bcfd97 BP |
2905 | } Py_INCREF(Py_None); |
2906 | _resultobj = Py_None; | |
2907 | return _resultobj; | |
2908 | } | |
2909 | ||
2910 | #define wxStyledTextCtrl_GetLineState(_swigobj,_swigarg0) (_swigobj->GetLineState(_swigarg0)) | |
2911 | static PyObject *_wrap_wxStyledTextCtrl_GetLineState(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2912 | PyObject * _resultobj; | |
2913 | int _result; | |
2914 | wxStyledTextCtrl * _arg0; | |
2915 | int _arg1; | |
2916 | PyObject * _argo0 = 0; | |
2917 | char *_kwnames[] = { "self","line", NULL }; | |
2918 | ||
2919 | self = self; | |
2920 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_GetLineState",_kwnames,&_argo0,&_arg1)) | |
2921 | return NULL; | |
2922 | if (_argo0) { | |
2923 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2924 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
2925 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetLineState. Expected _wxStyledTextCtrl_p."); | |
2926 | return NULL; | |
2927 | } | |
2928 | } | |
2929 | { | |
4268f798 | 2930 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 2931 | _result = (int )wxStyledTextCtrl_GetLineState(_arg0,_arg1); |
f6bcfd97 | 2932 | |
4268f798 RD |
2933 | wxPyEndAllowThreads(__tstate); |
2934 | if (PyErr_Occurred()) return NULL; | |
f6bcfd97 BP |
2935 | } _resultobj = Py_BuildValue("i",_result); |
2936 | return _resultobj; | |
2937 | } | |
2938 | ||
fe47ec10 RD |
2939 | #define wxStyledTextCtrl_GetMaxLineState(_swigobj) (_swigobj->GetMaxLineState()) |
2940 | static PyObject *_wrap_wxStyledTextCtrl_GetMaxLineState(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 | 2941 | PyObject * _resultobj; |
fe47ec10 | 2942 | int _result; |
f6bcfd97 BP |
2943 | wxStyledTextCtrl * _arg0; |
2944 | PyObject * _argo0 = 0; | |
2945 | char *_kwnames[] = { "self", NULL }; | |
2946 | ||
2947 | self = self; | |
fe47ec10 | 2948 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetMaxLineState",_kwnames,&_argo0)) |
f6bcfd97 BP |
2949 | return NULL; |
2950 | if (_argo0) { | |
2951 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2952 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 2953 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetMaxLineState. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
2954 | return NULL; |
2955 | } | |
2956 | } | |
2957 | { | |
4268f798 | 2958 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 2959 | _result = (int )wxStyledTextCtrl_GetMaxLineState(_arg0); |
f6bcfd97 | 2960 | |
4268f798 RD |
2961 | wxPyEndAllowThreads(__tstate); |
2962 | if (PyErr_Occurred()) return NULL; | |
fe47ec10 | 2963 | } _resultobj = Py_BuildValue("i",_result); |
f6bcfd97 BP |
2964 | return _resultobj; |
2965 | } | |
2966 | ||
65ec6247 RD |
2967 | #define wxStyledTextCtrl_GetCaretLineVisible(_swigobj) (_swigobj->GetCaretLineVisible()) |
2968 | static PyObject *_wrap_wxStyledTextCtrl_GetCaretLineVisible(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2969 | PyObject * _resultobj; | |
2970 | bool _result; | |
2971 | wxStyledTextCtrl * _arg0; | |
2972 | PyObject * _argo0 = 0; | |
2973 | char *_kwnames[] = { "self", NULL }; | |
2974 | ||
2975 | self = self; | |
2976 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetCaretLineVisible",_kwnames,&_argo0)) | |
2977 | return NULL; | |
2978 | if (_argo0) { | |
2979 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2980 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
2981 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetCaretLineVisible. Expected _wxStyledTextCtrl_p."); | |
2982 | return NULL; | |
2983 | } | |
2984 | } | |
2985 | { | |
4268f798 | 2986 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 2987 | _result = (bool )wxStyledTextCtrl_GetCaretLineVisible(_arg0); |
65ec6247 | 2988 | |
4268f798 RD |
2989 | wxPyEndAllowThreads(__tstate); |
2990 | if (PyErr_Occurred()) return NULL; | |
65ec6247 RD |
2991 | } _resultobj = Py_BuildValue("i",_result); |
2992 | return _resultobj; | |
2993 | } | |
2994 | ||
2995 | #define wxStyledTextCtrl_SetCaretLineVisible(_swigobj,_swigarg0) (_swigobj->SetCaretLineVisible(_swigarg0)) | |
2996 | static PyObject *_wrap_wxStyledTextCtrl_SetCaretLineVisible(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2997 | PyObject * _resultobj; | |
2998 | wxStyledTextCtrl * _arg0; | |
2999 | bool _arg1; | |
3000 | PyObject * _argo0 = 0; | |
3001 | int tempbool1; | |
3002 | char *_kwnames[] = { "self","show", NULL }; | |
3003 | ||
3004 | self = self; | |
3005 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_SetCaretLineVisible",_kwnames,&_argo0,&tempbool1)) | |
3006 | return NULL; | |
3007 | if (_argo0) { | |
3008 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3009 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
3010 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetCaretLineVisible. Expected _wxStyledTextCtrl_p."); | |
3011 | return NULL; | |
3012 | } | |
3013 | } | |
3014 | _arg1 = (bool ) tempbool1; | |
3015 | { | |
4268f798 | 3016 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 3017 | wxStyledTextCtrl_SetCaretLineVisible(_arg0,_arg1); |
65ec6247 | 3018 | |
4268f798 RD |
3019 | wxPyEndAllowThreads(__tstate); |
3020 | if (PyErr_Occurred()) return NULL; | |
65ec6247 RD |
3021 | } Py_INCREF(Py_None); |
3022 | _resultobj = Py_None; | |
3023 | return _resultobj; | |
3024 | } | |
3025 | ||
3026 | #define wxStyledTextCtrl_GetCaretLineBack(_swigobj) (_swigobj->GetCaretLineBack()) | |
3027 | static PyObject *_wrap_wxStyledTextCtrl_GetCaretLineBack(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3028 | PyObject * _resultobj; | |
3029 | wxColour * _result; | |
3030 | wxStyledTextCtrl * _arg0; | |
3031 | PyObject * _argo0 = 0; | |
3032 | char *_kwnames[] = { "self", NULL }; | |
3033 | char _ptemp[128]; | |
3034 | ||
3035 | self = self; | |
3036 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetCaretLineBack",_kwnames,&_argo0)) | |
3037 | return NULL; | |
3038 | if (_argo0) { | |
3039 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3040 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
3041 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetCaretLineBack. Expected _wxStyledTextCtrl_p."); | |
3042 | return NULL; | |
3043 | } | |
3044 | } | |
3045 | { | |
4268f798 | 3046 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 3047 | _result = new wxColour (wxStyledTextCtrl_GetCaretLineBack(_arg0)); |
65ec6247 | 3048 | |
4268f798 RD |
3049 | wxPyEndAllowThreads(__tstate); |
3050 | if (PyErr_Occurred()) return NULL; | |
65ec6247 RD |
3051 | } SWIG_MakePtr(_ptemp, (void *) _result,"_wxColour_p"); |
3052 | _resultobj = Py_BuildValue("s",_ptemp); | |
3053 | return _resultobj; | |
3054 | } | |
3055 | ||
3056 | #define wxStyledTextCtrl_SetCaretLineBack(_swigobj,_swigarg0) (_swigobj->SetCaretLineBack(_swigarg0)) | |
3057 | static PyObject *_wrap_wxStyledTextCtrl_SetCaretLineBack(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3058 | PyObject * _resultobj; | |
3059 | wxStyledTextCtrl * _arg0; | |
3060 | wxColour * _arg1; | |
3061 | PyObject * _argo0 = 0; | |
3062 | wxColour temp; | |
3063 | PyObject * _obj1 = 0; | |
3064 | char *_kwnames[] = { "self","back", NULL }; | |
3065 | ||
3066 | self = self; | |
3067 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxStyledTextCtrl_SetCaretLineBack",_kwnames,&_argo0,&_obj1)) | |
3068 | return NULL; | |
3069 | if (_argo0) { | |
3070 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3071 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
3072 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetCaretLineBack. Expected _wxStyledTextCtrl_p."); | |
3073 | return NULL; | |
3074 | } | |
3075 | } | |
3076 | { | |
3077 | _arg1 = &temp; | |
3078 | if (! wxColour_helper(_obj1, &_arg1)) | |
3079 | return NULL; | |
3080 | } | |
3081 | { | |
4268f798 | 3082 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 3083 | wxStyledTextCtrl_SetCaretLineBack(_arg0,*_arg1); |
65ec6247 | 3084 | |
4268f798 RD |
3085 | wxPyEndAllowThreads(__tstate); |
3086 | if (PyErr_Occurred()) return NULL; | |
65ec6247 RD |
3087 | } Py_INCREF(Py_None); |
3088 | _resultobj = Py_None; | |
3089 | return _resultobj; | |
3090 | } | |
3091 | ||
1a2fb4cd RD |
3092 | #define wxStyledTextCtrl_StyleSetChangeable(_swigobj,_swigarg0,_swigarg1) (_swigobj->StyleSetChangeable(_swigarg0,_swigarg1)) |
3093 | static PyObject *_wrap_wxStyledTextCtrl_StyleSetChangeable(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3094 | PyObject * _resultobj; | |
3095 | wxStyledTextCtrl * _arg0; | |
3096 | int _arg1; | |
3097 | bool _arg2; | |
3098 | PyObject * _argo0 = 0; | |
3099 | int tempbool2; | |
3100 | char *_kwnames[] = { "self","style","changeable", NULL }; | |
3101 | ||
3102 | self = self; | |
3103 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxStyledTextCtrl_StyleSetChangeable",_kwnames,&_argo0,&_arg1,&tempbool2)) | |
3104 | return NULL; | |
3105 | if (_argo0) { | |
3106 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3107 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
3108 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_StyleSetChangeable. Expected _wxStyledTextCtrl_p."); | |
3109 | return NULL; | |
3110 | } | |
3111 | } | |
3112 | _arg2 = (bool ) tempbool2; | |
3113 | { | |
3114 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3115 | wxStyledTextCtrl_StyleSetChangeable(_arg0,_arg1,_arg2); | |
3116 | ||
3117 | wxPyEndAllowThreads(__tstate); | |
3118 | if (PyErr_Occurred()) return NULL; | |
3119 | } Py_INCREF(Py_None); | |
3120 | _resultobj = Py_None; | |
3121 | return _resultobj; | |
3122 | } | |
3123 | ||
fe47ec10 RD |
3124 | #define wxStyledTextCtrl_AutoCompShow(_swigobj,_swigarg0,_swigarg1) (_swigobj->AutoCompShow(_swigarg0,_swigarg1)) |
3125 | static PyObject *_wrap_wxStyledTextCtrl_AutoCompShow(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 BP |
3126 | PyObject * _resultobj; |
3127 | wxStyledTextCtrl * _arg0; | |
fe47ec10 RD |
3128 | int _arg1; |
3129 | wxString * _arg2; | |
f6bcfd97 | 3130 | PyObject * _argo0 = 0; |
fe47ec10 RD |
3131 | PyObject * _obj2 = 0; |
3132 | char *_kwnames[] = { "self","lenEntered","itemList", NULL }; | |
f6bcfd97 BP |
3133 | |
3134 | self = self; | |
fe47ec10 | 3135 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxStyledTextCtrl_AutoCompShow",_kwnames,&_argo0,&_arg1,&_obj2)) |
f6bcfd97 BP |
3136 | return NULL; |
3137 | if (_argo0) { | |
3138 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3139 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 3140 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_AutoCompShow. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
3141 | return NULL; |
3142 | } | |
3143 | } | |
fe47ec10 | 3144 | { |
c8bc7bb8 RD |
3145 | _arg2 = wxString_in_helper(_obj2); |
3146 | if (_arg2 == NULL) | |
185d7c3e | 3147 | return NULL; |
fe47ec10 | 3148 | } |
f6bcfd97 | 3149 | { |
4268f798 | 3150 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 3151 | wxStyledTextCtrl_AutoCompShow(_arg0,_arg1,*_arg2); |
f6bcfd97 | 3152 | |
4268f798 RD |
3153 | wxPyEndAllowThreads(__tstate); |
3154 | if (PyErr_Occurred()) return NULL; | |
f6bcfd97 BP |
3155 | } Py_INCREF(Py_None); |
3156 | _resultobj = Py_None; | |
fe47ec10 RD |
3157 | { |
3158 | if (_obj2) | |
3159 | delete _arg2; | |
3160 | } | |
f6bcfd97 BP |
3161 | return _resultobj; |
3162 | } | |
3163 | ||
fe47ec10 RD |
3164 | #define wxStyledTextCtrl_AutoCompCancel(_swigobj) (_swigobj->AutoCompCancel()) |
3165 | static PyObject *_wrap_wxStyledTextCtrl_AutoCompCancel(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 BP |
3166 | PyObject * _resultobj; |
3167 | wxStyledTextCtrl * _arg0; | |
f6bcfd97 | 3168 | PyObject * _argo0 = 0; |
fe47ec10 | 3169 | char *_kwnames[] = { "self", NULL }; |
f6bcfd97 BP |
3170 | |
3171 | self = self; | |
fe47ec10 | 3172 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_AutoCompCancel",_kwnames,&_argo0)) |
f6bcfd97 BP |
3173 | return NULL; |
3174 | if (_argo0) { | |
3175 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3176 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 3177 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_AutoCompCancel. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
3178 | return NULL; |
3179 | } | |
3180 | } | |
f6bcfd97 | 3181 | { |
4268f798 | 3182 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 3183 | wxStyledTextCtrl_AutoCompCancel(_arg0); |
f6bcfd97 | 3184 | |
4268f798 RD |
3185 | wxPyEndAllowThreads(__tstate); |
3186 | if (PyErr_Occurred()) return NULL; | |
f6bcfd97 BP |
3187 | } Py_INCREF(Py_None); |
3188 | _resultobj = Py_None; | |
f6bcfd97 BP |
3189 | return _resultobj; |
3190 | } | |
3191 | ||
fe47ec10 RD |
3192 | #define wxStyledTextCtrl_AutoCompActive(_swigobj) (_swigobj->AutoCompActive()) |
3193 | static PyObject *_wrap_wxStyledTextCtrl_AutoCompActive(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 | 3194 | PyObject * _resultobj; |
fe47ec10 | 3195 | bool _result; |
f6bcfd97 | 3196 | wxStyledTextCtrl * _arg0; |
f6bcfd97 | 3197 | PyObject * _argo0 = 0; |
fe47ec10 | 3198 | char *_kwnames[] = { "self", NULL }; |
f6bcfd97 BP |
3199 | |
3200 | self = self; | |
fe47ec10 | 3201 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_AutoCompActive",_kwnames,&_argo0)) |
f6bcfd97 BP |
3202 | return NULL; |
3203 | if (_argo0) { | |
3204 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3205 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 3206 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_AutoCompActive. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
3207 | return NULL; |
3208 | } | |
3209 | } | |
f6bcfd97 | 3210 | { |
4268f798 | 3211 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 3212 | _result = (bool )wxStyledTextCtrl_AutoCompActive(_arg0); |
f6bcfd97 | 3213 | |
4268f798 RD |
3214 | wxPyEndAllowThreads(__tstate); |
3215 | if (PyErr_Occurred()) return NULL; | |
fe47ec10 | 3216 | } _resultobj = Py_BuildValue("i",_result); |
f6bcfd97 BP |
3217 | return _resultobj; |
3218 | } | |
3219 | ||
fe47ec10 RD |
3220 | #define wxStyledTextCtrl_AutoCompPosStart(_swigobj) (_swigobj->AutoCompPosStart()) |
3221 | static PyObject *_wrap_wxStyledTextCtrl_AutoCompPosStart(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 | 3222 | PyObject * _resultobj; |
fe47ec10 | 3223 | int _result; |
f6bcfd97 | 3224 | wxStyledTextCtrl * _arg0; |
f6bcfd97 | 3225 | PyObject * _argo0 = 0; |
fe47ec10 | 3226 | char *_kwnames[] = { "self", NULL }; |
f6bcfd97 BP |
3227 | |
3228 | self = self; | |
fe47ec10 | 3229 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_AutoCompPosStart",_kwnames,&_argo0)) |
f6bcfd97 BP |
3230 | return NULL; |
3231 | if (_argo0) { | |
3232 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3233 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 3234 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_AutoCompPosStart. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
3235 | return NULL; |
3236 | } | |
3237 | } | |
f6bcfd97 | 3238 | { |
4268f798 | 3239 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 3240 | _result = (int )wxStyledTextCtrl_AutoCompPosStart(_arg0); |
f6bcfd97 | 3241 | |
4268f798 RD |
3242 | wxPyEndAllowThreads(__tstate); |
3243 | if (PyErr_Occurred()) return NULL; | |
fe47ec10 | 3244 | } _resultobj = Py_BuildValue("i",_result); |
f6bcfd97 BP |
3245 | return _resultobj; |
3246 | } | |
3247 | ||
fe47ec10 RD |
3248 | #define wxStyledTextCtrl_AutoCompComplete(_swigobj) (_swigobj->AutoCompComplete()) |
3249 | static PyObject *_wrap_wxStyledTextCtrl_AutoCompComplete(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 BP |
3250 | PyObject * _resultobj; |
3251 | wxStyledTextCtrl * _arg0; | |
f6bcfd97 | 3252 | PyObject * _argo0 = 0; |
fe47ec10 | 3253 | char *_kwnames[] = { "self", NULL }; |
f6bcfd97 BP |
3254 | |
3255 | self = self; | |
fe47ec10 | 3256 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_AutoCompComplete",_kwnames,&_argo0)) |
f6bcfd97 BP |
3257 | return NULL; |
3258 | if (_argo0) { | |
3259 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3260 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 3261 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_AutoCompComplete. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
3262 | return NULL; |
3263 | } | |
3264 | } | |
3265 | { | |
4268f798 | 3266 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 3267 | wxStyledTextCtrl_AutoCompComplete(_arg0); |
f6bcfd97 | 3268 | |
4268f798 RD |
3269 | wxPyEndAllowThreads(__tstate); |
3270 | if (PyErr_Occurred()) return NULL; | |
f6bcfd97 BP |
3271 | } Py_INCREF(Py_None); |
3272 | _resultobj = Py_None; | |
3273 | return _resultobj; | |
3274 | } | |
3275 | ||
fe47ec10 RD |
3276 | #define wxStyledTextCtrl_AutoCompStops(_swigobj,_swigarg0) (_swigobj->AutoCompStops(_swigarg0)) |
3277 | static PyObject *_wrap_wxStyledTextCtrl_AutoCompStops(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 BP |
3278 | PyObject * _resultobj; |
3279 | wxStyledTextCtrl * _arg0; | |
fe47ec10 | 3280 | wxString * _arg1; |
f6bcfd97 | 3281 | PyObject * _argo0 = 0; |
fe47ec10 RD |
3282 | PyObject * _obj1 = 0; |
3283 | char *_kwnames[] = { "self","characterSet", NULL }; | |
f6bcfd97 BP |
3284 | |
3285 | self = self; | |
fe47ec10 | 3286 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxStyledTextCtrl_AutoCompStops",_kwnames,&_argo0,&_obj1)) |
f6bcfd97 BP |
3287 | return NULL; |
3288 | if (_argo0) { | |
3289 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3290 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 3291 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_AutoCompStops. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
3292 | return NULL; |
3293 | } | |
3294 | } | |
3295 | { | |
c8bc7bb8 RD |
3296 | _arg1 = wxString_in_helper(_obj1); |
3297 | if (_arg1 == NULL) | |
f6bcfd97 | 3298 | return NULL; |
f6bcfd97 | 3299 | } |
f6bcfd97 | 3300 | { |
4268f798 | 3301 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 3302 | wxStyledTextCtrl_AutoCompStops(_arg0,*_arg1); |
f6bcfd97 | 3303 | |
4268f798 RD |
3304 | wxPyEndAllowThreads(__tstate); |
3305 | if (PyErr_Occurred()) return NULL; | |
f6bcfd97 BP |
3306 | } Py_INCREF(Py_None); |
3307 | _resultobj = Py_None; | |
3308 | { | |
fe47ec10 RD |
3309 | if (_obj1) |
3310 | delete _arg1; | |
f6bcfd97 BP |
3311 | } |
3312 | return _resultobj; | |
3313 | } | |
3314 | ||
fe47ec10 RD |
3315 | #define wxStyledTextCtrl_AutoCompSetSeparator(_swigobj,_swigarg0) (_swigobj->AutoCompSetSeparator(_swigarg0)) |
3316 | static PyObject *_wrap_wxStyledTextCtrl_AutoCompSetSeparator(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 BP |
3317 | PyObject * _resultobj; |
3318 | wxStyledTextCtrl * _arg0; | |
3319 | int _arg1; | |
f6bcfd97 | 3320 | PyObject * _argo0 = 0; |
fe47ec10 | 3321 | char *_kwnames[] = { "self","separatorCharacter", NULL }; |
f6bcfd97 BP |
3322 | |
3323 | self = self; | |
fe47ec10 | 3324 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_AutoCompSetSeparator",_kwnames,&_argo0,&_arg1)) |
f6bcfd97 BP |
3325 | return NULL; |
3326 | if (_argo0) { | |
3327 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3328 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 3329 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_AutoCompSetSeparator. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
3330 | return NULL; |
3331 | } | |
3332 | } | |
f6bcfd97 | 3333 | { |
4268f798 | 3334 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 3335 | wxStyledTextCtrl_AutoCompSetSeparator(_arg0,_arg1); |
f6bcfd97 | 3336 | |
4268f798 RD |
3337 | wxPyEndAllowThreads(__tstate); |
3338 | if (PyErr_Occurred()) return NULL; | |
f6bcfd97 BP |
3339 | } Py_INCREF(Py_None); |
3340 | _resultobj = Py_None; | |
3341 | return _resultobj; | |
3342 | } | |
3343 | ||
fe47ec10 RD |
3344 | #define wxStyledTextCtrl_AutoCompGetSeparator(_swigobj) (_swigobj->AutoCompGetSeparator()) |
3345 | static PyObject *_wrap_wxStyledTextCtrl_AutoCompGetSeparator(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 | 3346 | PyObject * _resultobj; |
fe47ec10 | 3347 | int _result; |
f6bcfd97 | 3348 | wxStyledTextCtrl * _arg0; |
f6bcfd97 | 3349 | PyObject * _argo0 = 0; |
fe47ec10 | 3350 | char *_kwnames[] = { "self", NULL }; |
f6bcfd97 BP |
3351 | |
3352 | self = self; | |
fe47ec10 | 3353 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_AutoCompGetSeparator",_kwnames,&_argo0)) |
f6bcfd97 BP |
3354 | return NULL; |
3355 | if (_argo0) { | |
3356 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3357 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 3358 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_AutoCompGetSeparator. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
3359 | return NULL; |
3360 | } | |
3361 | } | |
f6bcfd97 | 3362 | { |
4268f798 | 3363 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 3364 | _result = (int )wxStyledTextCtrl_AutoCompGetSeparator(_arg0); |
f6bcfd97 | 3365 | |
4268f798 RD |
3366 | wxPyEndAllowThreads(__tstate); |
3367 | if (PyErr_Occurred()) return NULL; | |
fe47ec10 | 3368 | } _resultobj = Py_BuildValue("i",_result); |
f6bcfd97 BP |
3369 | return _resultobj; |
3370 | } | |
3371 | ||
fe47ec10 RD |
3372 | #define wxStyledTextCtrl_AutoCompSelect(_swigobj,_swigarg0) (_swigobj->AutoCompSelect(_swigarg0)) |
3373 | static PyObject *_wrap_wxStyledTextCtrl_AutoCompSelect(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 BP |
3374 | PyObject * _resultobj; |
3375 | wxStyledTextCtrl * _arg0; | |
fe47ec10 | 3376 | wxString * _arg1; |
f6bcfd97 | 3377 | PyObject * _argo0 = 0; |
fe47ec10 RD |
3378 | PyObject * _obj1 = 0; |
3379 | char *_kwnames[] = { "self","text", NULL }; | |
f6bcfd97 BP |
3380 | |
3381 | self = self; | |
fe47ec10 | 3382 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxStyledTextCtrl_AutoCompSelect",_kwnames,&_argo0,&_obj1)) |
f6bcfd97 BP |
3383 | return NULL; |
3384 | if (_argo0) { | |
3385 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3386 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 3387 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_AutoCompSelect. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
3388 | return NULL; |
3389 | } | |
3390 | } | |
3391 | { | |
c8bc7bb8 RD |
3392 | _arg1 = wxString_in_helper(_obj1); |
3393 | if (_arg1 == NULL) | |
185d7c3e | 3394 | return NULL; |
f6bcfd97 BP |
3395 | } |
3396 | { | |
4268f798 | 3397 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 3398 | wxStyledTextCtrl_AutoCompSelect(_arg0,*_arg1); |
f6bcfd97 | 3399 | |
4268f798 RD |
3400 | wxPyEndAllowThreads(__tstate); |
3401 | if (PyErr_Occurred()) return NULL; | |
f6bcfd97 BP |
3402 | } Py_INCREF(Py_None); |
3403 | _resultobj = Py_None; | |
3404 | { | |
fe47ec10 RD |
3405 | if (_obj1) |
3406 | delete _arg1; | |
f6bcfd97 BP |
3407 | } |
3408 | return _resultobj; | |
3409 | } | |
3410 | ||
fe47ec10 RD |
3411 | #define wxStyledTextCtrl_AutoCompSetCancelAtStart(_swigobj,_swigarg0) (_swigobj->AutoCompSetCancelAtStart(_swigarg0)) |
3412 | static PyObject *_wrap_wxStyledTextCtrl_AutoCompSetCancelAtStart(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 BP |
3413 | PyObject * _resultobj; |
3414 | wxStyledTextCtrl * _arg0; | |
fe47ec10 | 3415 | bool _arg1; |
f6bcfd97 | 3416 | PyObject * _argo0 = 0; |
fe47ec10 RD |
3417 | int tempbool1; |
3418 | char *_kwnames[] = { "self","cancel", NULL }; | |
f6bcfd97 BP |
3419 | |
3420 | self = self; | |
fe47ec10 | 3421 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_AutoCompSetCancelAtStart",_kwnames,&_argo0,&tempbool1)) |
f6bcfd97 BP |
3422 | return NULL; |
3423 | if (_argo0) { | |
3424 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3425 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 3426 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_AutoCompSetCancelAtStart. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
3427 | return NULL; |
3428 | } | |
3429 | } | |
fe47ec10 | 3430 | _arg1 = (bool ) tempbool1; |
f6bcfd97 | 3431 | { |
4268f798 | 3432 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 3433 | wxStyledTextCtrl_AutoCompSetCancelAtStart(_arg0,_arg1); |
f6bcfd97 | 3434 | |
4268f798 RD |
3435 | wxPyEndAllowThreads(__tstate); |
3436 | if (PyErr_Occurred()) return NULL; | |
f6bcfd97 BP |
3437 | } Py_INCREF(Py_None); |
3438 | _resultobj = Py_None; | |
3439 | return _resultobj; | |
3440 | } | |
3441 | ||
fe47ec10 RD |
3442 | #define wxStyledTextCtrl_AutoCompGetCancelAtStart(_swigobj) (_swigobj->AutoCompGetCancelAtStart()) |
3443 | static PyObject *_wrap_wxStyledTextCtrl_AutoCompGetCancelAtStart(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 | 3444 | PyObject * _resultobj; |
fe47ec10 | 3445 | bool _result; |
f6bcfd97 | 3446 | wxStyledTextCtrl * _arg0; |
f6bcfd97 | 3447 | PyObject * _argo0 = 0; |
fe47ec10 | 3448 | char *_kwnames[] = { "self", NULL }; |
f6bcfd97 BP |
3449 | |
3450 | self = self; | |
fe47ec10 | 3451 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_AutoCompGetCancelAtStart",_kwnames,&_argo0)) |
f6bcfd97 BP |
3452 | return NULL; |
3453 | if (_argo0) { | |
3454 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3455 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 3456 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_AutoCompGetCancelAtStart. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
3457 | return NULL; |
3458 | } | |
3459 | } | |
f6bcfd97 | 3460 | { |
4268f798 | 3461 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 3462 | _result = (bool )wxStyledTextCtrl_AutoCompGetCancelAtStart(_arg0); |
f6bcfd97 | 3463 | |
4268f798 RD |
3464 | wxPyEndAllowThreads(__tstate); |
3465 | if (PyErr_Occurred()) return NULL; | |
fe47ec10 | 3466 | } _resultobj = Py_BuildValue("i",_result); |
f6bcfd97 BP |
3467 | return _resultobj; |
3468 | } | |
3469 | ||
fe47ec10 RD |
3470 | #define wxStyledTextCtrl_AutoCompSetFillUps(_swigobj,_swigarg0) (_swigobj->AutoCompSetFillUps(_swigarg0)) |
3471 | static PyObject *_wrap_wxStyledTextCtrl_AutoCompSetFillUps(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 BP |
3472 | PyObject * _resultobj; |
3473 | wxStyledTextCtrl * _arg0; | |
fe47ec10 | 3474 | wxString * _arg1; |
f6bcfd97 | 3475 | PyObject * _argo0 = 0; |
fe47ec10 RD |
3476 | PyObject * _obj1 = 0; |
3477 | char *_kwnames[] = { "self","characterSet", NULL }; | |
f6bcfd97 BP |
3478 | |
3479 | self = self; | |
fe47ec10 | 3480 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxStyledTextCtrl_AutoCompSetFillUps",_kwnames,&_argo0,&_obj1)) |
f6bcfd97 BP |
3481 | return NULL; |
3482 | if (_argo0) { | |
3483 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3484 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 3485 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_AutoCompSetFillUps. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
3486 | return NULL; |
3487 | } | |
3488 | } | |
fe47ec10 | 3489 | { |
c8bc7bb8 RD |
3490 | _arg1 = wxString_in_helper(_obj1); |
3491 | if (_arg1 == NULL) | |
185d7c3e | 3492 | return NULL; |
fe47ec10 | 3493 | } |
f6bcfd97 | 3494 | { |
4268f798 | 3495 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 3496 | wxStyledTextCtrl_AutoCompSetFillUps(_arg0,*_arg1); |
f6bcfd97 | 3497 | |
4268f798 RD |
3498 | wxPyEndAllowThreads(__tstate); |
3499 | if (PyErr_Occurred()) return NULL; | |
f6bcfd97 BP |
3500 | } Py_INCREF(Py_None); |
3501 | _resultobj = Py_None; | |
fe47ec10 RD |
3502 | { |
3503 | if (_obj1) | |
3504 | delete _arg1; | |
3505 | } | |
f6bcfd97 BP |
3506 | return _resultobj; |
3507 | } | |
3508 | ||
fe47ec10 RD |
3509 | #define wxStyledTextCtrl_AutoCompSetChooseSingle(_swigobj,_swigarg0) (_swigobj->AutoCompSetChooseSingle(_swigarg0)) |
3510 | static PyObject *_wrap_wxStyledTextCtrl_AutoCompSetChooseSingle(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 | 3511 | PyObject * _resultobj; |
f6bcfd97 | 3512 | wxStyledTextCtrl * _arg0; |
fe47ec10 | 3513 | bool _arg1; |
f6bcfd97 | 3514 | PyObject * _argo0 = 0; |
fe47ec10 RD |
3515 | int tempbool1; |
3516 | char *_kwnames[] = { "self","chooseSingle", NULL }; | |
f6bcfd97 BP |
3517 | |
3518 | self = self; | |
fe47ec10 | 3519 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_AutoCompSetChooseSingle",_kwnames,&_argo0,&tempbool1)) |
f6bcfd97 BP |
3520 | return NULL; |
3521 | if (_argo0) { | |
3522 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3523 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 3524 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_AutoCompSetChooseSingle. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
3525 | return NULL; |
3526 | } | |
3527 | } | |
fe47ec10 | 3528 | _arg1 = (bool ) tempbool1; |
f6bcfd97 | 3529 | { |
4268f798 | 3530 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 3531 | wxStyledTextCtrl_AutoCompSetChooseSingle(_arg0,_arg1); |
f6bcfd97 | 3532 | |
4268f798 RD |
3533 | wxPyEndAllowThreads(__tstate); |
3534 | if (PyErr_Occurred()) return NULL; | |
fe47ec10 RD |
3535 | } Py_INCREF(Py_None); |
3536 | _resultobj = Py_None; | |
f6bcfd97 BP |
3537 | return _resultobj; |
3538 | } | |
3539 | ||
fe47ec10 RD |
3540 | #define wxStyledTextCtrl_AutoCompGetChooseSingle(_swigobj) (_swigobj->AutoCompGetChooseSingle()) |
3541 | static PyObject *_wrap_wxStyledTextCtrl_AutoCompGetChooseSingle(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 | 3542 | PyObject * _resultobj; |
fe47ec10 | 3543 | bool _result; |
f6bcfd97 BP |
3544 | wxStyledTextCtrl * _arg0; |
3545 | PyObject * _argo0 = 0; | |
3546 | char *_kwnames[] = { "self", NULL }; | |
3547 | ||
3548 | self = self; | |
fe47ec10 | 3549 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_AutoCompGetChooseSingle",_kwnames,&_argo0)) |
f6bcfd97 BP |
3550 | return NULL; |
3551 | if (_argo0) { | |
3552 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3553 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 3554 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_AutoCompGetChooseSingle. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
3555 | return NULL; |
3556 | } | |
3557 | } | |
3558 | { | |
4268f798 | 3559 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 3560 | _result = (bool )wxStyledTextCtrl_AutoCompGetChooseSingle(_arg0); |
f6bcfd97 | 3561 | |
4268f798 RD |
3562 | wxPyEndAllowThreads(__tstate); |
3563 | if (PyErr_Occurred()) return NULL; | |
f6bcfd97 BP |
3564 | } _resultobj = Py_BuildValue("i",_result); |
3565 | return _resultobj; | |
3566 | } | |
3567 | ||
fe47ec10 RD |
3568 | #define wxStyledTextCtrl_AutoCompSetIgnoreCase(_swigobj,_swigarg0) (_swigobj->AutoCompSetIgnoreCase(_swigarg0)) |
3569 | static PyObject *_wrap_wxStyledTextCtrl_AutoCompSetIgnoreCase(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 BP |
3570 | PyObject * _resultobj; |
3571 | wxStyledTextCtrl * _arg0; | |
fe47ec10 | 3572 | bool _arg1; |
f6bcfd97 | 3573 | PyObject * _argo0 = 0; |
fe47ec10 RD |
3574 | int tempbool1; |
3575 | char *_kwnames[] = { "self","ignoreCase", NULL }; | |
f6bcfd97 BP |
3576 | |
3577 | self = self; | |
fe47ec10 | 3578 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_AutoCompSetIgnoreCase",_kwnames,&_argo0,&tempbool1)) |
f6bcfd97 BP |
3579 | return NULL; |
3580 | if (_argo0) { | |
3581 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3582 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 3583 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_AutoCompSetIgnoreCase. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
3584 | return NULL; |
3585 | } | |
3586 | } | |
fe47ec10 | 3587 | _arg1 = (bool ) tempbool1; |
f6bcfd97 | 3588 | { |
4268f798 | 3589 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 3590 | wxStyledTextCtrl_AutoCompSetIgnoreCase(_arg0,_arg1); |
f6bcfd97 | 3591 | |
4268f798 RD |
3592 | wxPyEndAllowThreads(__tstate); |
3593 | if (PyErr_Occurred()) return NULL; | |
f6bcfd97 BP |
3594 | } Py_INCREF(Py_None); |
3595 | _resultobj = Py_None; | |
3596 | return _resultobj; | |
3597 | } | |
3598 | ||
fe47ec10 RD |
3599 | #define wxStyledTextCtrl_AutoCompGetIgnoreCase(_swigobj) (_swigobj->AutoCompGetIgnoreCase()) |
3600 | static PyObject *_wrap_wxStyledTextCtrl_AutoCompGetIgnoreCase(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3601 | PyObject * _resultobj; | |
3602 | bool _result; | |
3603 | wxStyledTextCtrl * _arg0; | |
3604 | PyObject * _argo0 = 0; | |
3605 | char *_kwnames[] = { "self", NULL }; | |
3606 | ||
3607 | self = self; | |
3608 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_AutoCompGetIgnoreCase",_kwnames,&_argo0)) | |
3609 | return NULL; | |
3610 | if (_argo0) { | |
3611 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3612 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
3613 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_AutoCompGetIgnoreCase. Expected _wxStyledTextCtrl_p."); | |
3614 | return NULL; | |
3615 | } | |
3616 | } | |
3617 | { | |
4268f798 | 3618 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 3619 | _result = (bool )wxStyledTextCtrl_AutoCompGetIgnoreCase(_arg0); |
fe47ec10 | 3620 | |
4268f798 RD |
3621 | wxPyEndAllowThreads(__tstate); |
3622 | if (PyErr_Occurred()) return NULL; | |
fe47ec10 RD |
3623 | } _resultobj = Py_BuildValue("i",_result); |
3624 | return _resultobj; | |
3625 | } | |
3626 | ||
65ec6247 RD |
3627 | #define wxStyledTextCtrl_UserListShow(_swigobj,_swigarg0,_swigarg1) (_swigobj->UserListShow(_swigarg0,_swigarg1)) |
3628 | static PyObject *_wrap_wxStyledTextCtrl_UserListShow(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3629 | PyObject * _resultobj; | |
3630 | wxStyledTextCtrl * _arg0; | |
3631 | int _arg1; | |
3632 | wxString * _arg2; | |
3633 | PyObject * _argo0 = 0; | |
3634 | PyObject * _obj2 = 0; | |
3635 | char *_kwnames[] = { "self","listType","itemList", NULL }; | |
3636 | ||
3637 | self = self; | |
3638 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxStyledTextCtrl_UserListShow",_kwnames,&_argo0,&_arg1,&_obj2)) | |
3639 | return NULL; | |
3640 | if (_argo0) { | |
3641 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3642 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
3643 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_UserListShow. Expected _wxStyledTextCtrl_p."); | |
3644 | return NULL; | |
3645 | } | |
3646 | } | |
3647 | { | |
c8bc7bb8 RD |
3648 | _arg2 = wxString_in_helper(_obj2); |
3649 | if (_arg2 == NULL) | |
65ec6247 | 3650 | return NULL; |
65ec6247 RD |
3651 | } |
3652 | { | |
4268f798 | 3653 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 3654 | wxStyledTextCtrl_UserListShow(_arg0,_arg1,*_arg2); |
65ec6247 | 3655 | |
4268f798 RD |
3656 | wxPyEndAllowThreads(__tstate); |
3657 | if (PyErr_Occurred()) return NULL; | |
65ec6247 RD |
3658 | } Py_INCREF(Py_None); |
3659 | _resultobj = Py_None; | |
3660 | { | |
3661 | if (_obj2) | |
3662 | delete _arg2; | |
3663 | } | |
3664 | return _resultobj; | |
3665 | } | |
3666 | ||
3667 | #define wxStyledTextCtrl_AutoCompSetAutoHide(_swigobj,_swigarg0) (_swigobj->AutoCompSetAutoHide(_swigarg0)) | |
3668 | static PyObject *_wrap_wxStyledTextCtrl_AutoCompSetAutoHide(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3669 | PyObject * _resultobj; | |
3670 | wxStyledTextCtrl * _arg0; | |
3671 | bool _arg1; | |
3672 | PyObject * _argo0 = 0; | |
3673 | int tempbool1; | |
3674 | char *_kwnames[] = { "self","autoHide", NULL }; | |
3675 | ||
3676 | self = self; | |
3677 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_AutoCompSetAutoHide",_kwnames,&_argo0,&tempbool1)) | |
3678 | return NULL; | |
3679 | if (_argo0) { | |
3680 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3681 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
3682 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_AutoCompSetAutoHide. Expected _wxStyledTextCtrl_p."); | |
3683 | return NULL; | |
3684 | } | |
3685 | } | |
3686 | _arg1 = (bool ) tempbool1; | |
3687 | { | |
4268f798 | 3688 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 3689 | wxStyledTextCtrl_AutoCompSetAutoHide(_arg0,_arg1); |
65ec6247 | 3690 | |
4268f798 RD |
3691 | wxPyEndAllowThreads(__tstate); |
3692 | if (PyErr_Occurred()) return NULL; | |
65ec6247 RD |
3693 | } Py_INCREF(Py_None); |
3694 | _resultobj = Py_None; | |
3695 | return _resultobj; | |
3696 | } | |
3697 | ||
3698 | #define wxStyledTextCtrl_AutoCompGetAutoHide(_swigobj) (_swigobj->AutoCompGetAutoHide()) | |
3699 | static PyObject *_wrap_wxStyledTextCtrl_AutoCompGetAutoHide(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3700 | PyObject * _resultobj; | |
3701 | bool _result; | |
3702 | wxStyledTextCtrl * _arg0; | |
3703 | PyObject * _argo0 = 0; | |
3704 | char *_kwnames[] = { "self", NULL }; | |
3705 | ||
3706 | self = self; | |
3707 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_AutoCompGetAutoHide",_kwnames,&_argo0)) | |
3708 | return NULL; | |
3709 | if (_argo0) { | |
3710 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3711 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
3712 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_AutoCompGetAutoHide. Expected _wxStyledTextCtrl_p."); | |
3713 | return NULL; | |
3714 | } | |
3715 | } | |
3716 | { | |
4268f798 | 3717 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 3718 | _result = (bool )wxStyledTextCtrl_AutoCompGetAutoHide(_arg0); |
65ec6247 | 3719 | |
4268f798 RD |
3720 | wxPyEndAllowThreads(__tstate); |
3721 | if (PyErr_Occurred()) return NULL; | |
65ec6247 RD |
3722 | } _resultobj = Py_BuildValue("i",_result); |
3723 | return _resultobj; | |
3724 | } | |
3725 | ||
1a2fb4cd RD |
3726 | #define wxStyledTextCtrl_AutoCompSetDropRestOfWord(_swigobj,_swigarg0) (_swigobj->AutoCompSetDropRestOfWord(_swigarg0)) |
3727 | static PyObject *_wrap_wxStyledTextCtrl_AutoCompSetDropRestOfWord(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3728 | PyObject * _resultobj; | |
3729 | wxStyledTextCtrl * _arg0; | |
3730 | bool _arg1; | |
3731 | PyObject * _argo0 = 0; | |
3732 | int tempbool1; | |
3733 | char *_kwnames[] = { "self","dropRestOfWord", NULL }; | |
3734 | ||
3735 | self = self; | |
3736 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_AutoCompSetDropRestOfWord",_kwnames,&_argo0,&tempbool1)) | |
3737 | return NULL; | |
3738 | if (_argo0) { | |
3739 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3740 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
3741 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_AutoCompSetDropRestOfWord. Expected _wxStyledTextCtrl_p."); | |
3742 | return NULL; | |
3743 | } | |
3744 | } | |
3745 | _arg1 = (bool ) tempbool1; | |
3746 | { | |
3747 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3748 | wxStyledTextCtrl_AutoCompSetDropRestOfWord(_arg0,_arg1); | |
3749 | ||
3750 | wxPyEndAllowThreads(__tstate); | |
3751 | if (PyErr_Occurred()) return NULL; | |
3752 | } Py_INCREF(Py_None); | |
3753 | _resultobj = Py_None; | |
3754 | return _resultobj; | |
3755 | } | |
3756 | ||
3757 | #define wxStyledTextCtrl_AutoCompGetDropRestOfWord(_swigobj) (_swigobj->AutoCompGetDropRestOfWord()) | |
3758 | static PyObject *_wrap_wxStyledTextCtrl_AutoCompGetDropRestOfWord(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3759 | PyObject * _resultobj; | |
3760 | bool _result; | |
3761 | wxStyledTextCtrl * _arg0; | |
3762 | PyObject * _argo0 = 0; | |
3763 | char *_kwnames[] = { "self", NULL }; | |
3764 | ||
3765 | self = self; | |
3766 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_AutoCompGetDropRestOfWord",_kwnames,&_argo0)) | |
3767 | return NULL; | |
3768 | if (_argo0) { | |
3769 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3770 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
3771 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_AutoCompGetDropRestOfWord. Expected _wxStyledTextCtrl_p."); | |
3772 | return NULL; | |
3773 | } | |
3774 | } | |
3775 | { | |
3776 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3777 | _result = (bool )wxStyledTextCtrl_AutoCompGetDropRestOfWord(_arg0); | |
3778 | ||
3779 | wxPyEndAllowThreads(__tstate); | |
3780 | if (PyErr_Occurred()) return NULL; | |
3781 | } _resultobj = Py_BuildValue("i",_result); | |
3782 | return _resultobj; | |
3783 | } | |
3784 | ||
fe47ec10 RD |
3785 | #define wxStyledTextCtrl_SetIndent(_swigobj,_swigarg0) (_swigobj->SetIndent(_swigarg0)) |
3786 | static PyObject *_wrap_wxStyledTextCtrl_SetIndent(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 BP |
3787 | PyObject * _resultobj; |
3788 | wxStyledTextCtrl * _arg0; | |
3789 | int _arg1; | |
f6bcfd97 | 3790 | PyObject * _argo0 = 0; |
fe47ec10 | 3791 | char *_kwnames[] = { "self","indentSize", NULL }; |
f6bcfd97 BP |
3792 | |
3793 | self = self; | |
fe47ec10 | 3794 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_SetIndent",_kwnames,&_argo0,&_arg1)) |
f6bcfd97 BP |
3795 | return NULL; |
3796 | if (_argo0) { | |
3797 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3798 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 3799 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetIndent. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
3800 | return NULL; |
3801 | } | |
3802 | } | |
3803 | { | |
4268f798 | 3804 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 3805 | wxStyledTextCtrl_SetIndent(_arg0,_arg1); |
f6bcfd97 | 3806 | |
4268f798 RD |
3807 | wxPyEndAllowThreads(__tstate); |
3808 | if (PyErr_Occurred()) return NULL; | |
f6bcfd97 BP |
3809 | } Py_INCREF(Py_None); |
3810 | _resultobj = Py_None; | |
3811 | return _resultobj; | |
3812 | } | |
3813 | ||
fe47ec10 RD |
3814 | #define wxStyledTextCtrl_GetIndent(_swigobj) (_swigobj->GetIndent()) |
3815 | static PyObject *_wrap_wxStyledTextCtrl_GetIndent(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 BP |
3816 | PyObject * _resultobj; |
3817 | int _result; | |
3818 | wxStyledTextCtrl * _arg0; | |
f6bcfd97 | 3819 | PyObject * _argo0 = 0; |
fe47ec10 | 3820 | char *_kwnames[] = { "self", NULL }; |
f6bcfd97 BP |
3821 | |
3822 | self = self; | |
fe47ec10 | 3823 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetIndent",_kwnames,&_argo0)) |
f6bcfd97 BP |
3824 | return NULL; |
3825 | if (_argo0) { | |
3826 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3827 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 3828 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetIndent. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
3829 | return NULL; |
3830 | } | |
3831 | } | |
3832 | { | |
4268f798 | 3833 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 3834 | _result = (int )wxStyledTextCtrl_GetIndent(_arg0); |
f6bcfd97 | 3835 | |
4268f798 RD |
3836 | wxPyEndAllowThreads(__tstate); |
3837 | if (PyErr_Occurred()) return NULL; | |
f6bcfd97 BP |
3838 | } _resultobj = Py_BuildValue("i",_result); |
3839 | return _resultobj; | |
3840 | } | |
3841 | ||
fe47ec10 RD |
3842 | #define wxStyledTextCtrl_SetUseTabs(_swigobj,_swigarg0) (_swigobj->SetUseTabs(_swigarg0)) |
3843 | static PyObject *_wrap_wxStyledTextCtrl_SetUseTabs(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 BP |
3844 | PyObject * _resultobj; |
3845 | wxStyledTextCtrl * _arg0; | |
fe47ec10 | 3846 | bool _arg1; |
f6bcfd97 | 3847 | PyObject * _argo0 = 0; |
fe47ec10 RD |
3848 | int tempbool1; |
3849 | char *_kwnames[] = { "self","useTabs", NULL }; | |
f6bcfd97 BP |
3850 | |
3851 | self = self; | |
fe47ec10 | 3852 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_SetUseTabs",_kwnames,&_argo0,&tempbool1)) |
f6bcfd97 BP |
3853 | return NULL; |
3854 | if (_argo0) { | |
3855 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3856 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 3857 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetUseTabs. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
3858 | return NULL; |
3859 | } | |
3860 | } | |
fe47ec10 | 3861 | _arg1 = (bool ) tempbool1; |
f6bcfd97 | 3862 | { |
4268f798 | 3863 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 3864 | wxStyledTextCtrl_SetUseTabs(_arg0,_arg1); |
f6bcfd97 | 3865 | |
4268f798 RD |
3866 | wxPyEndAllowThreads(__tstate); |
3867 | if (PyErr_Occurred()) return NULL; | |
f6bcfd97 BP |
3868 | } Py_INCREF(Py_None); |
3869 | _resultobj = Py_None; | |
3870 | return _resultobj; | |
3871 | } | |
3872 | ||
fe47ec10 RD |
3873 | #define wxStyledTextCtrl_GetUseTabs(_swigobj) (_swigobj->GetUseTabs()) |
3874 | static PyObject *_wrap_wxStyledTextCtrl_GetUseTabs(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 | 3875 | PyObject * _resultobj; |
fe47ec10 | 3876 | bool _result; |
f6bcfd97 | 3877 | wxStyledTextCtrl * _arg0; |
f6bcfd97 | 3878 | PyObject * _argo0 = 0; |
fe47ec10 | 3879 | char *_kwnames[] = { "self", NULL }; |
f6bcfd97 BP |
3880 | |
3881 | self = self; | |
fe47ec10 | 3882 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetUseTabs",_kwnames,&_argo0)) |
f6bcfd97 BP |
3883 | return NULL; |
3884 | if (_argo0) { | |
3885 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3886 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 3887 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetUseTabs. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
3888 | return NULL; |
3889 | } | |
3890 | } | |
3891 | { | |
4268f798 | 3892 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 3893 | _result = (bool )wxStyledTextCtrl_GetUseTabs(_arg0); |
f6bcfd97 | 3894 | |
4268f798 RD |
3895 | wxPyEndAllowThreads(__tstate); |
3896 | if (PyErr_Occurred()) return NULL; | |
f6bcfd97 BP |
3897 | } _resultobj = Py_BuildValue("i",_result); |
3898 | return _resultobj; | |
3899 | } | |
3900 | ||
fe47ec10 RD |
3901 | #define wxStyledTextCtrl_SetLineIndentation(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetLineIndentation(_swigarg0,_swigarg1)) |
3902 | static PyObject *_wrap_wxStyledTextCtrl_SetLineIndentation(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 BP |
3903 | PyObject * _resultobj; |
3904 | wxStyledTextCtrl * _arg0; | |
3905 | int _arg1; | |
3906 | int _arg2; | |
3907 | PyObject * _argo0 = 0; | |
fe47ec10 | 3908 | char *_kwnames[] = { "self","line","indentSize", NULL }; |
f6bcfd97 BP |
3909 | |
3910 | self = self; | |
fe47ec10 | 3911 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxStyledTextCtrl_SetLineIndentation",_kwnames,&_argo0,&_arg1,&_arg2)) |
f6bcfd97 BP |
3912 | return NULL; |
3913 | if (_argo0) { | |
3914 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3915 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 3916 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetLineIndentation. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
3917 | return NULL; |
3918 | } | |
3919 | } | |
3920 | { | |
4268f798 | 3921 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 3922 | wxStyledTextCtrl_SetLineIndentation(_arg0,_arg1,_arg2); |
f6bcfd97 | 3923 | |
4268f798 RD |
3924 | wxPyEndAllowThreads(__tstate); |
3925 | if (PyErr_Occurred()) return NULL; | |
f6bcfd97 BP |
3926 | } Py_INCREF(Py_None); |
3927 | _resultobj = Py_None; | |
3928 | return _resultobj; | |
3929 | } | |
3930 | ||
fe47ec10 RD |
3931 | #define wxStyledTextCtrl_GetLineIndentation(_swigobj,_swigarg0) (_swigobj->GetLineIndentation(_swigarg0)) |
3932 | static PyObject *_wrap_wxStyledTextCtrl_GetLineIndentation(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 BP |
3933 | PyObject * _resultobj; |
3934 | int _result; | |
3935 | wxStyledTextCtrl * _arg0; | |
3936 | int _arg1; | |
3937 | PyObject * _argo0 = 0; | |
fe47ec10 | 3938 | char *_kwnames[] = { "self","line", NULL }; |
f6bcfd97 BP |
3939 | |
3940 | self = self; | |
fe47ec10 | 3941 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_GetLineIndentation",_kwnames,&_argo0,&_arg1)) |
f6bcfd97 BP |
3942 | return NULL; |
3943 | if (_argo0) { | |
3944 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3945 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 3946 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetLineIndentation. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
3947 | return NULL; |
3948 | } | |
3949 | } | |
3950 | { | |
4268f798 | 3951 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 3952 | _result = (int )wxStyledTextCtrl_GetLineIndentation(_arg0,_arg1); |
f6bcfd97 | 3953 | |
4268f798 RD |
3954 | wxPyEndAllowThreads(__tstate); |
3955 | if (PyErr_Occurred()) return NULL; | |
f6bcfd97 BP |
3956 | } _resultobj = Py_BuildValue("i",_result); |
3957 | return _resultobj; | |
3958 | } | |
3959 | ||
fe47ec10 RD |
3960 | #define wxStyledTextCtrl_GetLineIndentPosition(_swigobj,_swigarg0) (_swigobj->GetLineIndentPosition(_swigarg0)) |
3961 | static PyObject *_wrap_wxStyledTextCtrl_GetLineIndentPosition(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 | 3962 | PyObject * _resultobj; |
fe47ec10 | 3963 | int _result; |
f6bcfd97 BP |
3964 | wxStyledTextCtrl * _arg0; |
3965 | int _arg1; | |
f6bcfd97 | 3966 | PyObject * _argo0 = 0; |
fe47ec10 | 3967 | char *_kwnames[] = { "self","line", NULL }; |
f6bcfd97 BP |
3968 | |
3969 | self = self; | |
fe47ec10 | 3970 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_GetLineIndentPosition",_kwnames,&_argo0,&_arg1)) |
f6bcfd97 BP |
3971 | return NULL; |
3972 | if (_argo0) { | |
3973 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3974 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 3975 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetLineIndentPosition. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
3976 | return NULL; |
3977 | } | |
3978 | } | |
f6bcfd97 | 3979 | { |
4268f798 | 3980 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 3981 | _result = (int )wxStyledTextCtrl_GetLineIndentPosition(_arg0,_arg1); |
f6bcfd97 | 3982 | |
4268f798 RD |
3983 | wxPyEndAllowThreads(__tstate); |
3984 | if (PyErr_Occurred()) return NULL; | |
fe47ec10 | 3985 | } _resultobj = Py_BuildValue("i",_result); |
f6bcfd97 BP |
3986 | return _resultobj; |
3987 | } | |
3988 | ||
fe47ec10 RD |
3989 | #define wxStyledTextCtrl_GetColumn(_swigobj,_swigarg0) (_swigobj->GetColumn(_swigarg0)) |
3990 | static PyObject *_wrap_wxStyledTextCtrl_GetColumn(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 | 3991 | PyObject * _resultobj; |
fe47ec10 | 3992 | int _result; |
f6bcfd97 BP |
3993 | wxStyledTextCtrl * _arg0; |
3994 | int _arg1; | |
3995 | PyObject * _argo0 = 0; | |
fe47ec10 | 3996 | char *_kwnames[] = { "self","pos", NULL }; |
f6bcfd97 BP |
3997 | |
3998 | self = self; | |
fe47ec10 | 3999 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_GetColumn",_kwnames,&_argo0,&_arg1)) |
f6bcfd97 BP |
4000 | return NULL; |
4001 | if (_argo0) { | |
4002 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4003 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 4004 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetColumn. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
4005 | return NULL; |
4006 | } | |
4007 | } | |
4008 | { | |
4268f798 | 4009 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 4010 | _result = (int )wxStyledTextCtrl_GetColumn(_arg0,_arg1); |
f6bcfd97 | 4011 | |
4268f798 RD |
4012 | wxPyEndAllowThreads(__tstate); |
4013 | if (PyErr_Occurred()) return NULL; | |
f6bcfd97 BP |
4014 | } _resultobj = Py_BuildValue("i",_result); |
4015 | return _resultobj; | |
4016 | } | |
4017 | ||
fe47ec10 RD |
4018 | #define wxStyledTextCtrl_SetUseHorizontalScrollBar(_swigobj,_swigarg0) (_swigobj->SetUseHorizontalScrollBar(_swigarg0)) |
4019 | static PyObject *_wrap_wxStyledTextCtrl_SetUseHorizontalScrollBar(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 BP |
4020 | PyObject * _resultobj; |
4021 | wxStyledTextCtrl * _arg0; | |
fe47ec10 | 4022 | bool _arg1; |
f6bcfd97 | 4023 | PyObject * _argo0 = 0; |
fe47ec10 RD |
4024 | int tempbool1; |
4025 | char *_kwnames[] = { "self","show", NULL }; | |
f6bcfd97 BP |
4026 | |
4027 | self = self; | |
fe47ec10 | 4028 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_SetUseHorizontalScrollBar",_kwnames,&_argo0,&tempbool1)) |
f6bcfd97 BP |
4029 | return NULL; |
4030 | if (_argo0) { | |
4031 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4032 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 4033 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetUseHorizontalScrollBar. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
4034 | return NULL; |
4035 | } | |
4036 | } | |
fe47ec10 | 4037 | _arg1 = (bool ) tempbool1; |
f6bcfd97 | 4038 | { |
4268f798 | 4039 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 4040 | wxStyledTextCtrl_SetUseHorizontalScrollBar(_arg0,_arg1); |
f6bcfd97 | 4041 | |
4268f798 RD |
4042 | wxPyEndAllowThreads(__tstate); |
4043 | if (PyErr_Occurred()) return NULL; | |
f6bcfd97 BP |
4044 | } Py_INCREF(Py_None); |
4045 | _resultobj = Py_None; | |
4046 | return _resultobj; | |
4047 | } | |
4048 | ||
fe47ec10 RD |
4049 | #define wxStyledTextCtrl_GetUseHorizontalScrollBar(_swigobj) (_swigobj->GetUseHorizontalScrollBar()) |
4050 | static PyObject *_wrap_wxStyledTextCtrl_GetUseHorizontalScrollBar(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 | 4051 | PyObject * _resultobj; |
fe47ec10 | 4052 | bool _result; |
f6bcfd97 | 4053 | wxStyledTextCtrl * _arg0; |
f6bcfd97 | 4054 | PyObject * _argo0 = 0; |
fe47ec10 | 4055 | char *_kwnames[] = { "self", NULL }; |
f6bcfd97 BP |
4056 | |
4057 | self = self; | |
fe47ec10 | 4058 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetUseHorizontalScrollBar",_kwnames,&_argo0)) |
f6bcfd97 BP |
4059 | return NULL; |
4060 | if (_argo0) { | |
4061 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4062 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 4063 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetUseHorizontalScrollBar. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
4064 | return NULL; |
4065 | } | |
4066 | } | |
f6bcfd97 | 4067 | { |
4268f798 | 4068 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 4069 | _result = (bool )wxStyledTextCtrl_GetUseHorizontalScrollBar(_arg0); |
f6bcfd97 | 4070 | |
4268f798 RD |
4071 | wxPyEndAllowThreads(__tstate); |
4072 | if (PyErr_Occurred()) return NULL; | |
fe47ec10 | 4073 | } _resultobj = Py_BuildValue("i",_result); |
f6bcfd97 BP |
4074 | return _resultobj; |
4075 | } | |
4076 | ||
fe47ec10 RD |
4077 | #define wxStyledTextCtrl_SetIndentationGuides(_swigobj,_swigarg0) (_swigobj->SetIndentationGuides(_swigarg0)) |
4078 | static PyObject *_wrap_wxStyledTextCtrl_SetIndentationGuides(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 BP |
4079 | PyObject * _resultobj; |
4080 | wxStyledTextCtrl * _arg0; | |
fe47ec10 | 4081 | bool _arg1; |
f6bcfd97 | 4082 | PyObject * _argo0 = 0; |
fe47ec10 RD |
4083 | int tempbool1; |
4084 | char *_kwnames[] = { "self","show", NULL }; | |
f6bcfd97 BP |
4085 | |
4086 | self = self; | |
fe47ec10 | 4087 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_SetIndentationGuides",_kwnames,&_argo0,&tempbool1)) |
f6bcfd97 BP |
4088 | return NULL; |
4089 | if (_argo0) { | |
4090 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4091 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 4092 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetIndentationGuides. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
4093 | return NULL; |
4094 | } | |
4095 | } | |
fe47ec10 | 4096 | _arg1 = (bool ) tempbool1; |
f6bcfd97 | 4097 | { |
4268f798 | 4098 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 4099 | wxStyledTextCtrl_SetIndentationGuides(_arg0,_arg1); |
f6bcfd97 | 4100 | |
4268f798 RD |
4101 | wxPyEndAllowThreads(__tstate); |
4102 | if (PyErr_Occurred()) return NULL; | |
f6bcfd97 BP |
4103 | } Py_INCREF(Py_None); |
4104 | _resultobj = Py_None; | |
4105 | return _resultobj; | |
4106 | } | |
4107 | ||
fe47ec10 RD |
4108 | #define wxStyledTextCtrl_GetIndentationGuides(_swigobj) (_swigobj->GetIndentationGuides()) |
4109 | static PyObject *_wrap_wxStyledTextCtrl_GetIndentationGuides(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 | 4110 | PyObject * _resultobj; |
fe47ec10 | 4111 | bool _result; |
f6bcfd97 BP |
4112 | wxStyledTextCtrl * _arg0; |
4113 | PyObject * _argo0 = 0; | |
4114 | char *_kwnames[] = { "self", NULL }; | |
4115 | ||
4116 | self = self; | |
fe47ec10 | 4117 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetIndentationGuides",_kwnames,&_argo0)) |
f6bcfd97 BP |
4118 | return NULL; |
4119 | if (_argo0) { | |
4120 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4121 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 4122 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetIndentationGuides. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
4123 | return NULL; |
4124 | } | |
4125 | } | |
4126 | { | |
4268f798 | 4127 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 4128 | _result = (bool )wxStyledTextCtrl_GetIndentationGuides(_arg0); |
f6bcfd97 | 4129 | |
4268f798 RD |
4130 | wxPyEndAllowThreads(__tstate); |
4131 | if (PyErr_Occurred()) return NULL; | |
f6bcfd97 BP |
4132 | } _resultobj = Py_BuildValue("i",_result); |
4133 | return _resultobj; | |
4134 | } | |
4135 | ||
fe47ec10 RD |
4136 | #define wxStyledTextCtrl_SetHighlightGuide(_swigobj,_swigarg0) (_swigobj->SetHighlightGuide(_swigarg0)) |
4137 | static PyObject *_wrap_wxStyledTextCtrl_SetHighlightGuide(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 BP |
4138 | PyObject * _resultobj; |
4139 | wxStyledTextCtrl * _arg0; | |
4140 | int _arg1; | |
4141 | PyObject * _argo0 = 0; | |
fe47ec10 | 4142 | char *_kwnames[] = { "self","column", NULL }; |
f6bcfd97 BP |
4143 | |
4144 | self = self; | |
fe47ec10 | 4145 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_SetHighlightGuide",_kwnames,&_argo0,&_arg1)) |
f6bcfd97 BP |
4146 | return NULL; |
4147 | if (_argo0) { | |
4148 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4149 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 4150 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetHighlightGuide. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
4151 | return NULL; |
4152 | } | |
4153 | } | |
4154 | { | |
4268f798 | 4155 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 4156 | wxStyledTextCtrl_SetHighlightGuide(_arg0,_arg1); |
f6bcfd97 | 4157 | |
4268f798 RD |
4158 | wxPyEndAllowThreads(__tstate); |
4159 | if (PyErr_Occurred()) return NULL; | |
f6bcfd97 BP |
4160 | } Py_INCREF(Py_None); |
4161 | _resultobj = Py_None; | |
4162 | return _resultobj; | |
4163 | } | |
4164 | ||
fe47ec10 RD |
4165 | #define wxStyledTextCtrl_GetHighlightGuide(_swigobj) (_swigobj->GetHighlightGuide()) |
4166 | static PyObject *_wrap_wxStyledTextCtrl_GetHighlightGuide(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 | 4167 | PyObject * _resultobj; |
fe47ec10 | 4168 | int _result; |
f6bcfd97 | 4169 | wxStyledTextCtrl * _arg0; |
f6bcfd97 | 4170 | PyObject * _argo0 = 0; |
fe47ec10 | 4171 | char *_kwnames[] = { "self", NULL }; |
f6bcfd97 BP |
4172 | |
4173 | self = self; | |
fe47ec10 | 4174 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetHighlightGuide",_kwnames,&_argo0)) |
f6bcfd97 BP |
4175 | return NULL; |
4176 | if (_argo0) { | |
4177 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4178 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 4179 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetHighlightGuide. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
4180 | return NULL; |
4181 | } | |
4182 | } | |
f6bcfd97 | 4183 | { |
4268f798 | 4184 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 4185 | _result = (int )wxStyledTextCtrl_GetHighlightGuide(_arg0); |
f6bcfd97 | 4186 | |
4268f798 RD |
4187 | wxPyEndAllowThreads(__tstate); |
4188 | if (PyErr_Occurred()) return NULL; | |
fe47ec10 | 4189 | } _resultobj = Py_BuildValue("i",_result); |
f6bcfd97 BP |
4190 | return _resultobj; |
4191 | } | |
4192 | ||
fe47ec10 RD |
4193 | #define wxStyledTextCtrl_GetLineEndPosition(_swigobj,_swigarg0) (_swigobj->GetLineEndPosition(_swigarg0)) |
4194 | static PyObject *_wrap_wxStyledTextCtrl_GetLineEndPosition(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 | 4195 | PyObject * _resultobj; |
fe47ec10 | 4196 | int _result; |
f6bcfd97 BP |
4197 | wxStyledTextCtrl * _arg0; |
4198 | int _arg1; | |
4199 | PyObject * _argo0 = 0; | |
fe47ec10 | 4200 | char *_kwnames[] = { "self","line", NULL }; |
f6bcfd97 BP |
4201 | |
4202 | self = self; | |
fe47ec10 | 4203 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_GetLineEndPosition",_kwnames,&_argo0,&_arg1)) |
f6bcfd97 BP |
4204 | return NULL; |
4205 | if (_argo0) { | |
4206 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4207 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 4208 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetLineEndPosition. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
4209 | return NULL; |
4210 | } | |
4211 | } | |
4212 | { | |
4268f798 | 4213 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 4214 | _result = (int )wxStyledTextCtrl_GetLineEndPosition(_arg0,_arg1); |
f6bcfd97 | 4215 | |
4268f798 RD |
4216 | wxPyEndAllowThreads(__tstate); |
4217 | if (PyErr_Occurred()) return NULL; | |
fe47ec10 | 4218 | } _resultobj = Py_BuildValue("i",_result); |
f6bcfd97 BP |
4219 | return _resultobj; |
4220 | } | |
4221 | ||
fe47ec10 RD |
4222 | #define wxStyledTextCtrl_GetCodePage(_swigobj) (_swigobj->GetCodePage()) |
4223 | static PyObject *_wrap_wxStyledTextCtrl_GetCodePage(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 | 4224 | PyObject * _resultobj; |
fe47ec10 | 4225 | int _result; |
f6bcfd97 | 4226 | wxStyledTextCtrl * _arg0; |
f6bcfd97 | 4227 | PyObject * _argo0 = 0; |
fe47ec10 | 4228 | char *_kwnames[] = { "self", NULL }; |
f6bcfd97 BP |
4229 | |
4230 | self = self; | |
fe47ec10 | 4231 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetCodePage",_kwnames,&_argo0)) |
f6bcfd97 BP |
4232 | return NULL; |
4233 | if (_argo0) { | |
4234 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4235 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 4236 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetCodePage. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
4237 | return NULL; |
4238 | } | |
4239 | } | |
4240 | { | |
4268f798 | 4241 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 4242 | _result = (int )wxStyledTextCtrl_GetCodePage(_arg0); |
f6bcfd97 | 4243 | |
4268f798 RD |
4244 | wxPyEndAllowThreads(__tstate); |
4245 | if (PyErr_Occurred()) return NULL; | |
fe47ec10 | 4246 | } _resultobj = Py_BuildValue("i",_result); |
f6bcfd97 BP |
4247 | return _resultobj; |
4248 | } | |
4249 | ||
fe47ec10 RD |
4250 | #define wxStyledTextCtrl_GetCaretForeground(_swigobj) (_swigobj->GetCaretForeground()) |
4251 | static PyObject *_wrap_wxStyledTextCtrl_GetCaretForeground(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 | 4252 | PyObject * _resultobj; |
fe47ec10 | 4253 | wxColour * _result; |
f6bcfd97 | 4254 | wxStyledTextCtrl * _arg0; |
f6bcfd97 | 4255 | PyObject * _argo0 = 0; |
fe47ec10 RD |
4256 | char *_kwnames[] = { "self", NULL }; |
4257 | char _ptemp[128]; | |
f6bcfd97 BP |
4258 | |
4259 | self = self; | |
fe47ec10 | 4260 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetCaretForeground",_kwnames,&_argo0)) |
f6bcfd97 BP |
4261 | return NULL; |
4262 | if (_argo0) { | |
4263 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4264 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 4265 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetCaretForeground. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
4266 | return NULL; |
4267 | } | |
4268 | } | |
f6bcfd97 | 4269 | { |
4268f798 | 4270 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 4271 | _result = new wxColour (wxStyledTextCtrl_GetCaretForeground(_arg0)); |
f6bcfd97 | 4272 | |
4268f798 RD |
4273 | wxPyEndAllowThreads(__tstate); |
4274 | if (PyErr_Occurred()) return NULL; | |
fe47ec10 RD |
4275 | } SWIG_MakePtr(_ptemp, (void *) _result,"_wxColour_p"); |
4276 | _resultobj = Py_BuildValue("s",_ptemp); | |
f6bcfd97 BP |
4277 | return _resultobj; |
4278 | } | |
4279 | ||
fe47ec10 RD |
4280 | #define wxStyledTextCtrl_GetReadOnly(_swigobj) (_swigobj->GetReadOnly()) |
4281 | static PyObject *_wrap_wxStyledTextCtrl_GetReadOnly(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 | 4282 | PyObject * _resultobj; |
fe47ec10 | 4283 | bool _result; |
f6bcfd97 | 4284 | wxStyledTextCtrl * _arg0; |
f6bcfd97 | 4285 | PyObject * _argo0 = 0; |
fe47ec10 | 4286 | char *_kwnames[] = { "self", NULL }; |
f6bcfd97 BP |
4287 | |
4288 | self = self; | |
fe47ec10 | 4289 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetReadOnly",_kwnames,&_argo0)) |
f6bcfd97 BP |
4290 | return NULL; |
4291 | if (_argo0) { | |
4292 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4293 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 4294 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetReadOnly. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
4295 | return NULL; |
4296 | } | |
4297 | } | |
4298 | { | |
4268f798 | 4299 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 4300 | _result = (bool )wxStyledTextCtrl_GetReadOnly(_arg0); |
f6bcfd97 | 4301 | |
4268f798 RD |
4302 | wxPyEndAllowThreads(__tstate); |
4303 | if (PyErr_Occurred()) return NULL; | |
fe47ec10 | 4304 | } _resultobj = Py_BuildValue("i",_result); |
f6bcfd97 BP |
4305 | return _resultobj; |
4306 | } | |
4307 | ||
fe47ec10 RD |
4308 | #define wxStyledTextCtrl_SetCurrentPos(_swigobj,_swigarg0) (_swigobj->SetCurrentPos(_swigarg0)) |
4309 | static PyObject *_wrap_wxStyledTextCtrl_SetCurrentPos(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 | 4310 | PyObject * _resultobj; |
f6bcfd97 BP |
4311 | wxStyledTextCtrl * _arg0; |
4312 | int _arg1; | |
4313 | PyObject * _argo0 = 0; | |
fe47ec10 | 4314 | char *_kwnames[] = { "self","pos", NULL }; |
f6bcfd97 BP |
4315 | |
4316 | self = self; | |
fe47ec10 | 4317 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_SetCurrentPos",_kwnames,&_argo0,&_arg1)) |
f6bcfd97 BP |
4318 | return NULL; |
4319 | if (_argo0) { | |
4320 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4321 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 4322 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetCurrentPos. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
4323 | return NULL; |
4324 | } | |
4325 | } | |
4326 | { | |
4268f798 | 4327 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 4328 | wxStyledTextCtrl_SetCurrentPos(_arg0,_arg1); |
f6bcfd97 | 4329 | |
4268f798 RD |
4330 | wxPyEndAllowThreads(__tstate); |
4331 | if (PyErr_Occurred()) return NULL; | |
fe47ec10 RD |
4332 | } Py_INCREF(Py_None); |
4333 | _resultobj = Py_None; | |
f6bcfd97 BP |
4334 | return _resultobj; |
4335 | } | |
4336 | ||
fe47ec10 RD |
4337 | #define wxStyledTextCtrl_SetSelectionStart(_swigobj,_swigarg0) (_swigobj->SetSelectionStart(_swigarg0)) |
4338 | static PyObject *_wrap_wxStyledTextCtrl_SetSelectionStart(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 | 4339 | PyObject * _resultobj; |
f6bcfd97 BP |
4340 | wxStyledTextCtrl * _arg0; |
4341 | int _arg1; | |
4342 | PyObject * _argo0 = 0; | |
fe47ec10 | 4343 | char *_kwnames[] = { "self","pos", NULL }; |
f6bcfd97 BP |
4344 | |
4345 | self = self; | |
fe47ec10 | 4346 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_SetSelectionStart",_kwnames,&_argo0,&_arg1)) |
f6bcfd97 BP |
4347 | return NULL; |
4348 | if (_argo0) { | |
4349 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4350 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 4351 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetSelectionStart. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
4352 | return NULL; |
4353 | } | |
4354 | } | |
4355 | { | |
4268f798 | 4356 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 4357 | wxStyledTextCtrl_SetSelectionStart(_arg0,_arg1); |
f6bcfd97 | 4358 | |
4268f798 RD |
4359 | wxPyEndAllowThreads(__tstate); |
4360 | if (PyErr_Occurred()) return NULL; | |
fe47ec10 RD |
4361 | } Py_INCREF(Py_None); |
4362 | _resultobj = Py_None; | |
f6bcfd97 BP |
4363 | return _resultobj; |
4364 | } | |
4365 | ||
fe47ec10 RD |
4366 | #define wxStyledTextCtrl_GetSelectionStart(_swigobj) (_swigobj->GetSelectionStart()) |
4367 | static PyObject *_wrap_wxStyledTextCtrl_GetSelectionStart(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 | 4368 | PyObject * _resultobj; |
fe47ec10 | 4369 | int _result; |
f6bcfd97 | 4370 | wxStyledTextCtrl * _arg0; |
f6bcfd97 | 4371 | PyObject * _argo0 = 0; |
fe47ec10 | 4372 | char *_kwnames[] = { "self", NULL }; |
f6bcfd97 BP |
4373 | |
4374 | self = self; | |
fe47ec10 | 4375 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetSelectionStart",_kwnames,&_argo0)) |
f6bcfd97 BP |
4376 | return NULL; |
4377 | if (_argo0) { | |
4378 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4379 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 4380 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetSelectionStart. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
4381 | return NULL; |
4382 | } | |
4383 | } | |
f6bcfd97 | 4384 | { |
4268f798 | 4385 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 4386 | _result = (int )wxStyledTextCtrl_GetSelectionStart(_arg0); |
f6bcfd97 | 4387 | |
4268f798 RD |
4388 | wxPyEndAllowThreads(__tstate); |
4389 | if (PyErr_Occurred()) return NULL; | |
fe47ec10 | 4390 | } _resultobj = Py_BuildValue("i",_result); |
f6bcfd97 BP |
4391 | return _resultobj; |
4392 | } | |
4393 | ||
fe47ec10 RD |
4394 | #define wxStyledTextCtrl_SetSelectionEnd(_swigobj,_swigarg0) (_swigobj->SetSelectionEnd(_swigarg0)) |
4395 | static PyObject *_wrap_wxStyledTextCtrl_SetSelectionEnd(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 BP |
4396 | PyObject * _resultobj; |
4397 | wxStyledTextCtrl * _arg0; | |
fe47ec10 | 4398 | int _arg1; |
f6bcfd97 | 4399 | PyObject * _argo0 = 0; |
fe47ec10 | 4400 | char *_kwnames[] = { "self","pos", NULL }; |
f6bcfd97 BP |
4401 | |
4402 | self = self; | |
fe47ec10 | 4403 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_SetSelectionEnd",_kwnames,&_argo0,&_arg1)) |
f6bcfd97 BP |
4404 | return NULL; |
4405 | if (_argo0) { | |
4406 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4407 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 4408 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetSelectionEnd. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
4409 | return NULL; |
4410 | } | |
4411 | } | |
f6bcfd97 | 4412 | { |
4268f798 | 4413 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 4414 | wxStyledTextCtrl_SetSelectionEnd(_arg0,_arg1); |
f6bcfd97 | 4415 | |
4268f798 RD |
4416 | wxPyEndAllowThreads(__tstate); |
4417 | if (PyErr_Occurred()) return NULL; | |
f6bcfd97 BP |
4418 | } Py_INCREF(Py_None); |
4419 | _resultobj = Py_None; | |
4420 | return _resultobj; | |
4421 | } | |
4422 | ||
fe47ec10 RD |
4423 | #define wxStyledTextCtrl_GetSelectionEnd(_swigobj) (_swigobj->GetSelectionEnd()) |
4424 | static PyObject *_wrap_wxStyledTextCtrl_GetSelectionEnd(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 | 4425 | PyObject * _resultobj; |
fe47ec10 | 4426 | int _result; |
f6bcfd97 | 4427 | wxStyledTextCtrl * _arg0; |
f6bcfd97 | 4428 | PyObject * _argo0 = 0; |
fe47ec10 | 4429 | char *_kwnames[] = { "self", NULL }; |
f6bcfd97 BP |
4430 | |
4431 | self = self; | |
fe47ec10 | 4432 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetSelectionEnd",_kwnames,&_argo0)) |
f6bcfd97 BP |
4433 | return NULL; |
4434 | if (_argo0) { | |
4435 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4436 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 4437 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetSelectionEnd. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
4438 | return NULL; |
4439 | } | |
4440 | } | |
4441 | { | |
4268f798 | 4442 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 4443 | _result = (int )wxStyledTextCtrl_GetSelectionEnd(_arg0); |
f6bcfd97 | 4444 | |
4268f798 RD |
4445 | wxPyEndAllowThreads(__tstate); |
4446 | if (PyErr_Occurred()) return NULL; | |
fe47ec10 | 4447 | } _resultobj = Py_BuildValue("i",_result); |
f6bcfd97 BP |
4448 | return _resultobj; |
4449 | } | |
4450 | ||
fe47ec10 RD |
4451 | #define wxStyledTextCtrl_SetPrintMagnification(_swigobj,_swigarg0) (_swigobj->SetPrintMagnification(_swigarg0)) |
4452 | static PyObject *_wrap_wxStyledTextCtrl_SetPrintMagnification(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 BP |
4453 | PyObject * _resultobj; |
4454 | wxStyledTextCtrl * _arg0; | |
4455 | int _arg1; | |
4456 | PyObject * _argo0 = 0; | |
fe47ec10 | 4457 | char *_kwnames[] = { "self","magnification", NULL }; |
f6bcfd97 BP |
4458 | |
4459 | self = self; | |
fe47ec10 | 4460 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_SetPrintMagnification",_kwnames,&_argo0,&_arg1)) |
f6bcfd97 BP |
4461 | return NULL; |
4462 | if (_argo0) { | |
4463 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4464 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 4465 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetPrintMagnification. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
4466 | return NULL; |
4467 | } | |
4468 | } | |
4469 | { | |
4268f798 | 4470 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 4471 | wxStyledTextCtrl_SetPrintMagnification(_arg0,_arg1); |
f6bcfd97 | 4472 | |
4268f798 RD |
4473 | wxPyEndAllowThreads(__tstate); |
4474 | if (PyErr_Occurred()) return NULL; | |
f6bcfd97 BP |
4475 | } Py_INCREF(Py_None); |
4476 | _resultobj = Py_None; | |
4477 | return _resultobj; | |
4478 | } | |
4479 | ||
fe47ec10 RD |
4480 | #define wxStyledTextCtrl_GetPrintMagnification(_swigobj) (_swigobj->GetPrintMagnification()) |
4481 | static PyObject *_wrap_wxStyledTextCtrl_GetPrintMagnification(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 BP |
4482 | PyObject * _resultobj; |
4483 | int _result; | |
4484 | wxStyledTextCtrl * _arg0; | |
f6bcfd97 | 4485 | PyObject * _argo0 = 0; |
fe47ec10 | 4486 | char *_kwnames[] = { "self", NULL }; |
f6bcfd97 BP |
4487 | |
4488 | self = self; | |
fe47ec10 | 4489 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetPrintMagnification",_kwnames,&_argo0)) |
f6bcfd97 BP |
4490 | return NULL; |
4491 | if (_argo0) { | |
4492 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4493 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 4494 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetPrintMagnification. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
4495 | return NULL; |
4496 | } | |
4497 | } | |
4498 | { | |
4268f798 | 4499 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 4500 | _result = (int )wxStyledTextCtrl_GetPrintMagnification(_arg0); |
f6bcfd97 | 4501 | |
4268f798 RD |
4502 | wxPyEndAllowThreads(__tstate); |
4503 | if (PyErr_Occurred()) return NULL; | |
f6bcfd97 BP |
4504 | } _resultobj = Py_BuildValue("i",_result); |
4505 | return _resultobj; | |
4506 | } | |
4507 | ||
fe47ec10 RD |
4508 | #define wxStyledTextCtrl_SetPrintColourMode(_swigobj,_swigarg0) (_swigobj->SetPrintColourMode(_swigarg0)) |
4509 | static PyObject *_wrap_wxStyledTextCtrl_SetPrintColourMode(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 BP |
4510 | PyObject * _resultobj; |
4511 | wxStyledTextCtrl * _arg0; | |
4512 | int _arg1; | |
f6bcfd97 | 4513 | PyObject * _argo0 = 0; |
fe47ec10 | 4514 | char *_kwnames[] = { "self","mode", NULL }; |
f6bcfd97 BP |
4515 | |
4516 | self = self; | |
fe47ec10 | 4517 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_SetPrintColourMode",_kwnames,&_argo0,&_arg1)) |
f6bcfd97 BP |
4518 | return NULL; |
4519 | if (_argo0) { | |
4520 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4521 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 4522 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetPrintColourMode. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
4523 | return NULL; |
4524 | } | |
4525 | } | |
f6bcfd97 | 4526 | { |
4268f798 | 4527 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 4528 | wxStyledTextCtrl_SetPrintColourMode(_arg0,_arg1); |
f6bcfd97 | 4529 | |
4268f798 RD |
4530 | wxPyEndAllowThreads(__tstate); |
4531 | if (PyErr_Occurred()) return NULL; | |
f6bcfd97 BP |
4532 | } Py_INCREF(Py_None); |
4533 | _resultobj = Py_None; | |
4534 | return _resultobj; | |
4535 | } | |
4536 | ||
fe47ec10 RD |
4537 | #define wxStyledTextCtrl_GetPrintColourMode(_swigobj) (_swigobj->GetPrintColourMode()) |
4538 | static PyObject *_wrap_wxStyledTextCtrl_GetPrintColourMode(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 | 4539 | PyObject * _resultobj; |
fe47ec10 | 4540 | int _result; |
f6bcfd97 | 4541 | wxStyledTextCtrl * _arg0; |
f6bcfd97 | 4542 | PyObject * _argo0 = 0; |
fe47ec10 | 4543 | char *_kwnames[] = { "self", NULL }; |
f6bcfd97 BP |
4544 | |
4545 | self = self; | |
fe47ec10 | 4546 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetPrintColourMode",_kwnames,&_argo0)) |
f6bcfd97 BP |
4547 | return NULL; |
4548 | if (_argo0) { | |
4549 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4550 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 4551 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetPrintColourMode. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
4552 | return NULL; |
4553 | } | |
4554 | } | |
4555 | { | |
4268f798 | 4556 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 4557 | _result = (int )wxStyledTextCtrl_GetPrintColourMode(_arg0); |
f6bcfd97 | 4558 | |
4268f798 RD |
4559 | wxPyEndAllowThreads(__tstate); |
4560 | if (PyErr_Occurred()) return NULL; | |
fe47ec10 | 4561 | } _resultobj = Py_BuildValue("i",_result); |
f6bcfd97 BP |
4562 | return _resultobj; |
4563 | } | |
4564 | ||
fe47ec10 RD |
4565 | #define wxStyledTextCtrl_FindText(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->FindText(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4)) |
4566 | static PyObject *_wrap_wxStyledTextCtrl_FindText(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 | 4567 | PyObject * _resultobj; |
fe47ec10 | 4568 | int _result; |
f6bcfd97 BP |
4569 | wxStyledTextCtrl * _arg0; |
4570 | int _arg1; | |
fe47ec10 RD |
4571 | int _arg2; |
4572 | wxString * _arg3; | |
4573 | bool _arg4; | |
4574 | bool _arg5; | |
f6bcfd97 | 4575 | PyObject * _argo0 = 0; |
fe47ec10 RD |
4576 | PyObject * _obj3 = 0; |
4577 | int tempbool4; | |
4578 | int tempbool5; | |
4579 | char *_kwnames[] = { "self","minPos","maxPos","text","caseSensitive","wholeWord", NULL }; | |
f6bcfd97 BP |
4580 | |
4581 | self = self; | |
fe47ec10 | 4582 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiiOii:wxStyledTextCtrl_FindText",_kwnames,&_argo0,&_arg1,&_arg2,&_obj3,&tempbool4,&tempbool5)) |
f6bcfd97 BP |
4583 | return NULL; |
4584 | if (_argo0) { | |
4585 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4586 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 4587 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_FindText. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
4588 | return NULL; |
4589 | } | |
4590 | } | |
4591 | { | |
c8bc7bb8 RD |
4592 | _arg3 = wxString_in_helper(_obj3); |
4593 | if (_arg3 == NULL) | |
185d7c3e | 4594 | return NULL; |
f6bcfd97 | 4595 | } |
fe47ec10 RD |
4596 | _arg4 = (bool ) tempbool4; |
4597 | _arg5 = (bool ) tempbool5; | |
f6bcfd97 | 4598 | { |
4268f798 | 4599 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 4600 | _result = (int )wxStyledTextCtrl_FindText(_arg0,_arg1,_arg2,*_arg3,_arg4,_arg5); |
f6bcfd97 | 4601 | |
4268f798 RD |
4602 | wxPyEndAllowThreads(__tstate); |
4603 | if (PyErr_Occurred()) return NULL; | |
fe47ec10 RD |
4604 | } _resultobj = Py_BuildValue("i",_result); |
4605 | { | |
4606 | if (_obj3) | |
4607 | delete _arg3; | |
4608 | } | |
f6bcfd97 BP |
4609 | return _resultobj; |
4610 | } | |
4611 | ||
fe47ec10 RD |
4612 | #define wxStyledTextCtrl_FormatRange(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (_swigobj->FormatRange(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6)) |
4613 | static PyObject *_wrap_wxStyledTextCtrl_FormatRange(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 | 4614 | PyObject * _resultobj; |
fe47ec10 | 4615 | int _result; |
f6bcfd97 | 4616 | wxStyledTextCtrl * _arg0; |
fe47ec10 RD |
4617 | bool _arg1; |
4618 | int _arg2; | |
4619 | int _arg3; | |
4620 | wxDC * _arg4; | |
4621 | wxDC * _arg5; | |
4622 | wxRect * _arg6; | |
4623 | wxRect * _arg7; | |
f6bcfd97 | 4624 | PyObject * _argo0 = 0; |
fe47ec10 RD |
4625 | int tempbool1; |
4626 | PyObject * _argo4 = 0; | |
4627 | PyObject * _argo5 = 0; | |
4628 | wxRect temp; | |
4629 | PyObject * _obj6 = 0; | |
4630 | wxRect temp0; | |
4631 | PyObject * _obj7 = 0; | |
4632 | char *_kwnames[] = { "self","doDraw","startPos","endPos","draw","target","renderRect","pageRect", NULL }; | |
f6bcfd97 BP |
4633 | |
4634 | self = self; | |
fe47ec10 | 4635 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiiiOOOO:wxStyledTextCtrl_FormatRange",_kwnames,&_argo0,&tempbool1,&_arg2,&_arg3,&_argo4,&_argo5,&_obj6,&_obj7)) |
f6bcfd97 BP |
4636 | return NULL; |
4637 | if (_argo0) { | |
4638 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4639 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 RD |
4640 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_FormatRange. Expected _wxStyledTextCtrl_p."); |
4641 | return NULL; | |
4642 | } | |
4643 | } | |
4644 | _arg1 = (bool ) tempbool1; | |
4645 | if (_argo4) { | |
4646 | if (_argo4 == Py_None) { _arg4 = NULL; } | |
4647 | else if (SWIG_GetPtrObj(_argo4,(void **) &_arg4,"_wxDC_p")) { | |
4648 | PyErr_SetString(PyExc_TypeError,"Type error in argument 5 of wxStyledTextCtrl_FormatRange. Expected _wxDC_p."); | |
4649 | return NULL; | |
4650 | } | |
4651 | } | |
4652 | if (_argo5) { | |
4653 | if (_argo5 == Py_None) { _arg5 = NULL; } | |
4654 | else if (SWIG_GetPtrObj(_argo5,(void **) &_arg5,"_wxDC_p")) { | |
4655 | PyErr_SetString(PyExc_TypeError,"Type error in argument 6 of wxStyledTextCtrl_FormatRange. Expected _wxDC_p."); | |
f6bcfd97 BP |
4656 | return NULL; |
4657 | } | |
4658 | } | |
4659 | { | |
fe47ec10 RD |
4660 | _arg6 = &temp; |
4661 | if (! wxRect_helper(_obj6, &_arg6)) | |
4662 | return NULL; | |
4663 | } | |
4664 | { | |
4665 | _arg7 = &temp0; | |
4666 | if (! wxRect_helper(_obj7, &_arg7)) | |
f6bcfd97 BP |
4667 | return NULL; |
4668 | } | |
4669 | { | |
4268f798 | 4670 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 4671 | _result = (int )wxStyledTextCtrl_FormatRange(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5,*_arg6,*_arg7); |
f6bcfd97 | 4672 | |
4268f798 RD |
4673 | wxPyEndAllowThreads(__tstate); |
4674 | if (PyErr_Occurred()) return NULL; | |
fe47ec10 | 4675 | } _resultobj = Py_BuildValue("i",_result); |
f6bcfd97 BP |
4676 | return _resultobj; |
4677 | } | |
4678 | ||
fe47ec10 RD |
4679 | #define wxStyledTextCtrl_GetFirstVisibleLine(_swigobj) (_swigobj->GetFirstVisibleLine()) |
4680 | static PyObject *_wrap_wxStyledTextCtrl_GetFirstVisibleLine(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 BP |
4681 | PyObject * _resultobj; |
4682 | int _result; | |
4683 | wxStyledTextCtrl * _arg0; | |
f6bcfd97 | 4684 | PyObject * _argo0 = 0; |
fe47ec10 | 4685 | char *_kwnames[] = { "self", NULL }; |
f6bcfd97 BP |
4686 | |
4687 | self = self; | |
fe47ec10 | 4688 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetFirstVisibleLine",_kwnames,&_argo0)) |
f6bcfd97 BP |
4689 | return NULL; |
4690 | if (_argo0) { | |
4691 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4692 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 4693 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetFirstVisibleLine. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
4694 | return NULL; |
4695 | } | |
4696 | } | |
4697 | { | |
4268f798 | 4698 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 4699 | _result = (int )wxStyledTextCtrl_GetFirstVisibleLine(_arg0); |
f6bcfd97 | 4700 | |
4268f798 RD |
4701 | wxPyEndAllowThreads(__tstate); |
4702 | if (PyErr_Occurred()) return NULL; | |
f6bcfd97 BP |
4703 | } _resultobj = Py_BuildValue("i",_result); |
4704 | return _resultobj; | |
4705 | } | |
4706 | ||
fe47ec10 RD |
4707 | #define wxStyledTextCtrl_GetLine(_swigobj,_swigarg0) (_swigobj->GetLine(_swigarg0)) |
4708 | static PyObject *_wrap_wxStyledTextCtrl_GetLine(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 | 4709 | PyObject * _resultobj; |
fe47ec10 | 4710 | wxString * _result; |
f6bcfd97 BP |
4711 | wxStyledTextCtrl * _arg0; |
4712 | int _arg1; | |
f6bcfd97 | 4713 | PyObject * _argo0 = 0; |
fe47ec10 | 4714 | char *_kwnames[] = { "self","line", NULL }; |
f6bcfd97 BP |
4715 | |
4716 | self = self; | |
fe47ec10 | 4717 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_GetLine",_kwnames,&_argo0,&_arg1)) |
f6bcfd97 BP |
4718 | return NULL; |
4719 | if (_argo0) { | |
4720 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4721 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 4722 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetLine. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
4723 | return NULL; |
4724 | } | |
4725 | } | |
4726 | { | |
4268f798 | 4727 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 4728 | _result = new wxString (wxStyledTextCtrl_GetLine(_arg0,_arg1)); |
f6bcfd97 | 4729 | |
4268f798 RD |
4730 | wxPyEndAllowThreads(__tstate); |
4731 | if (PyErr_Occurred()) return NULL; | |
fe47ec10 | 4732 | }{ |
c8bc7bb8 RD |
4733 | #if wxUSE_UNICODE |
4734 | _resultobj = PyUnicode_FromUnicode(_result->c_str(), _result->Len()); | |
4735 | #else | |
fe47ec10 | 4736 | _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len()); |
c8bc7bb8 | 4737 | #endif |
fe47ec10 RD |
4738 | } |
4739 | { | |
4740 | delete _result; | |
4741 | } | |
f6bcfd97 BP |
4742 | return _resultobj; |
4743 | } | |
4744 | ||
fe47ec10 RD |
4745 | #define wxStyledTextCtrl_GetLineCount(_swigobj) (_swigobj->GetLineCount()) |
4746 | static PyObject *_wrap_wxStyledTextCtrl_GetLineCount(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 | 4747 | PyObject * _resultobj; |
fe47ec10 | 4748 | int _result; |
f6bcfd97 | 4749 | wxStyledTextCtrl * _arg0; |
f6bcfd97 | 4750 | PyObject * _argo0 = 0; |
fe47ec10 | 4751 | char *_kwnames[] = { "self", NULL }; |
f6bcfd97 BP |
4752 | |
4753 | self = self; | |
fe47ec10 | 4754 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetLineCount",_kwnames,&_argo0)) |
f6bcfd97 BP |
4755 | return NULL; |
4756 | if (_argo0) { | |
4757 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4758 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 4759 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetLineCount. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
4760 | return NULL; |
4761 | } | |
4762 | } | |
4763 | { | |
4268f798 | 4764 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 4765 | _result = (int )wxStyledTextCtrl_GetLineCount(_arg0); |
f6bcfd97 | 4766 | |
4268f798 RD |
4767 | wxPyEndAllowThreads(__tstate); |
4768 | if (PyErr_Occurred()) return NULL; | |
fe47ec10 | 4769 | } _resultobj = Py_BuildValue("i",_result); |
f6bcfd97 BP |
4770 | return _resultobj; |
4771 | } | |
4772 | ||
fe47ec10 RD |
4773 | #define wxStyledTextCtrl_SetMarginLeft(_swigobj,_swigarg0) (_swigobj->SetMarginLeft(_swigarg0)) |
4774 | static PyObject *_wrap_wxStyledTextCtrl_SetMarginLeft(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 | 4775 | PyObject * _resultobj; |
f6bcfd97 BP |
4776 | wxStyledTextCtrl * _arg0; |
4777 | int _arg1; | |
4778 | PyObject * _argo0 = 0; | |
65ec6247 | 4779 | char *_kwnames[] = { "self","pixelWidth", NULL }; |
f6bcfd97 BP |
4780 | |
4781 | self = self; | |
fe47ec10 | 4782 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_SetMarginLeft",_kwnames,&_argo0,&_arg1)) |
f6bcfd97 BP |
4783 | return NULL; |
4784 | if (_argo0) { | |
4785 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4786 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 4787 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetMarginLeft. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
4788 | return NULL; |
4789 | } | |
4790 | } | |
4791 | { | |
4268f798 | 4792 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 4793 | wxStyledTextCtrl_SetMarginLeft(_arg0,_arg1); |
f6bcfd97 | 4794 | |
4268f798 RD |
4795 | wxPyEndAllowThreads(__tstate); |
4796 | if (PyErr_Occurred()) return NULL; | |
fe47ec10 RD |
4797 | } Py_INCREF(Py_None); |
4798 | _resultobj = Py_None; | |
f6bcfd97 BP |
4799 | return _resultobj; |
4800 | } | |
4801 | ||
fe47ec10 RD |
4802 | #define wxStyledTextCtrl_GetMarginLeft(_swigobj) (_swigobj->GetMarginLeft()) |
4803 | static PyObject *_wrap_wxStyledTextCtrl_GetMarginLeft(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 BP |
4804 | PyObject * _resultobj; |
4805 | int _result; | |
4806 | wxStyledTextCtrl * _arg0; | |
f6bcfd97 | 4807 | PyObject * _argo0 = 0; |
fe47ec10 | 4808 | char *_kwnames[] = { "self", NULL }; |
f6bcfd97 BP |
4809 | |
4810 | self = self; | |
fe47ec10 | 4811 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetMarginLeft",_kwnames,&_argo0)) |
f6bcfd97 BP |
4812 | return NULL; |
4813 | if (_argo0) { | |
4814 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4815 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 4816 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetMarginLeft. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
4817 | return NULL; |
4818 | } | |
4819 | } | |
4820 | { | |
4268f798 | 4821 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 4822 | _result = (int )wxStyledTextCtrl_GetMarginLeft(_arg0); |
f6bcfd97 | 4823 | |
4268f798 RD |
4824 | wxPyEndAllowThreads(__tstate); |
4825 | if (PyErr_Occurred()) return NULL; | |
f6bcfd97 BP |
4826 | } _resultobj = Py_BuildValue("i",_result); |
4827 | return _resultobj; | |
4828 | } | |
4829 | ||
fe47ec10 RD |
4830 | #define wxStyledTextCtrl_SetMarginRight(_swigobj,_swigarg0) (_swigobj->SetMarginRight(_swigarg0)) |
4831 | static PyObject *_wrap_wxStyledTextCtrl_SetMarginRight(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 | 4832 | PyObject * _resultobj; |
f6bcfd97 BP |
4833 | wxStyledTextCtrl * _arg0; |
4834 | int _arg1; | |
f6bcfd97 | 4835 | PyObject * _argo0 = 0; |
65ec6247 | 4836 | char *_kwnames[] = { "self","pixelWidth", NULL }; |
f6bcfd97 BP |
4837 | |
4838 | self = self; | |
fe47ec10 | 4839 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_SetMarginRight",_kwnames,&_argo0,&_arg1)) |
f6bcfd97 BP |
4840 | return NULL; |
4841 | if (_argo0) { | |
4842 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4843 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 4844 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetMarginRight. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
4845 | return NULL; |
4846 | } | |
4847 | } | |
4848 | { | |
4268f798 | 4849 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 4850 | wxStyledTextCtrl_SetMarginRight(_arg0,_arg1); |
f6bcfd97 | 4851 | |
4268f798 RD |
4852 | wxPyEndAllowThreads(__tstate); |
4853 | if (PyErr_Occurred()) return NULL; | |
fe47ec10 RD |
4854 | } Py_INCREF(Py_None); |
4855 | _resultobj = Py_None; | |
f6bcfd97 BP |
4856 | return _resultobj; |
4857 | } | |
4858 | ||
fe47ec10 RD |
4859 | #define wxStyledTextCtrl_GetMarginRight(_swigobj) (_swigobj->GetMarginRight()) |
4860 | static PyObject *_wrap_wxStyledTextCtrl_GetMarginRight(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 BP |
4861 | PyObject * _resultobj; |
4862 | int _result; | |
4863 | wxStyledTextCtrl * _arg0; | |
f6bcfd97 | 4864 | PyObject * _argo0 = 0; |
fe47ec10 | 4865 | char *_kwnames[] = { "self", NULL }; |
f6bcfd97 BP |
4866 | |
4867 | self = self; | |
fe47ec10 | 4868 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetMarginRight",_kwnames,&_argo0)) |
f6bcfd97 BP |
4869 | return NULL; |
4870 | if (_argo0) { | |
4871 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4872 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 4873 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetMarginRight. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
4874 | return NULL; |
4875 | } | |
4876 | } | |
4877 | { | |
4268f798 | 4878 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 4879 | _result = (int )wxStyledTextCtrl_GetMarginRight(_arg0); |
f6bcfd97 | 4880 | |
4268f798 RD |
4881 | wxPyEndAllowThreads(__tstate); |
4882 | if (PyErr_Occurred()) return NULL; | |
f6bcfd97 BP |
4883 | } _resultobj = Py_BuildValue("i",_result); |
4884 | return _resultobj; | |
4885 | } | |
4886 | ||
fe47ec10 RD |
4887 | #define wxStyledTextCtrl_GetModify(_swigobj) (_swigobj->GetModify()) |
4888 | static PyObject *_wrap_wxStyledTextCtrl_GetModify(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 | 4889 | PyObject * _resultobj; |
fe47ec10 | 4890 | bool _result; |
f6bcfd97 | 4891 | wxStyledTextCtrl * _arg0; |
f6bcfd97 | 4892 | PyObject * _argo0 = 0; |
fe47ec10 | 4893 | char *_kwnames[] = { "self", NULL }; |
f6bcfd97 BP |
4894 | |
4895 | self = self; | |
fe47ec10 | 4896 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetModify",_kwnames,&_argo0)) |
f6bcfd97 BP |
4897 | return NULL; |
4898 | if (_argo0) { | |
4899 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4900 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 4901 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetModify. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
4902 | return NULL; |
4903 | } | |
4904 | } | |
4905 | { | |
4268f798 | 4906 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 4907 | _result = (bool )wxStyledTextCtrl_GetModify(_arg0); |
f6bcfd97 | 4908 | |
4268f798 RD |
4909 | wxPyEndAllowThreads(__tstate); |
4910 | if (PyErr_Occurred()) return NULL; | |
fe47ec10 | 4911 | } _resultobj = Py_BuildValue("i",_result); |
f6bcfd97 BP |
4912 | return _resultobj; |
4913 | } | |
4914 | ||
fe47ec10 RD |
4915 | #define wxStyledTextCtrl_SetSelection(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetSelection(_swigarg0,_swigarg1)) |
4916 | static PyObject *_wrap_wxStyledTextCtrl_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 BP |
4917 | PyObject * _resultobj; |
4918 | wxStyledTextCtrl * _arg0; | |
4919 | int _arg1; | |
4920 | int _arg2; | |
4921 | PyObject * _argo0 = 0; | |
fe47ec10 | 4922 | char *_kwnames[] = { "self","start","end", NULL }; |
f6bcfd97 BP |
4923 | |
4924 | self = self; | |
fe47ec10 | 4925 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxStyledTextCtrl_SetSelection",_kwnames,&_argo0,&_arg1,&_arg2)) |
f6bcfd97 BP |
4926 | return NULL; |
4927 | if (_argo0) { | |
4928 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4929 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 4930 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetSelection. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
4931 | return NULL; |
4932 | } | |
4933 | } | |
4934 | { | |
4268f798 | 4935 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 4936 | wxStyledTextCtrl_SetSelection(_arg0,_arg1,_arg2); |
f6bcfd97 | 4937 | |
4268f798 RD |
4938 | wxPyEndAllowThreads(__tstate); |
4939 | if (PyErr_Occurred()) return NULL; | |
f6bcfd97 BP |
4940 | } Py_INCREF(Py_None); |
4941 | _resultobj = Py_None; | |
4942 | return _resultobj; | |
4943 | } | |
4944 | ||
fe47ec10 RD |
4945 | #define wxStyledTextCtrl_GetSelectedText(_swigobj) (_swigobj->GetSelectedText()) |
4946 | static PyObject *_wrap_wxStyledTextCtrl_GetSelectedText(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 | 4947 | PyObject * _resultobj; |
fe47ec10 | 4948 | wxString * _result; |
f6bcfd97 | 4949 | wxStyledTextCtrl * _arg0; |
f6bcfd97 | 4950 | PyObject * _argo0 = 0; |
fe47ec10 | 4951 | char *_kwnames[] = { "self", NULL }; |
f6bcfd97 BP |
4952 | |
4953 | self = self; | |
fe47ec10 | 4954 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetSelectedText",_kwnames,&_argo0)) |
f6bcfd97 BP |
4955 | return NULL; |
4956 | if (_argo0) { | |
4957 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4958 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 4959 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetSelectedText. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
4960 | return NULL; |
4961 | } | |
4962 | } | |
4963 | { | |
4268f798 | 4964 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 4965 | _result = new wxString (wxStyledTextCtrl_GetSelectedText(_arg0)); |
f6bcfd97 | 4966 | |
4268f798 RD |
4967 | wxPyEndAllowThreads(__tstate); |
4968 | if (PyErr_Occurred()) return NULL; | |
fe47ec10 | 4969 | }{ |
c8bc7bb8 RD |
4970 | #if wxUSE_UNICODE |
4971 | _resultobj = PyUnicode_FromUnicode(_result->c_str(), _result->Len()); | |
4972 | #else | |
fe47ec10 | 4973 | _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len()); |
c8bc7bb8 | 4974 | #endif |
fe47ec10 RD |
4975 | } |
4976 | { | |
4977 | delete _result; | |
4978 | } | |
f6bcfd97 BP |
4979 | return _resultobj; |
4980 | } | |
4981 | ||
fe47ec10 RD |
4982 | #define wxStyledTextCtrl_GetTextRange(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetTextRange(_swigarg0,_swigarg1)) |
4983 | static PyObject *_wrap_wxStyledTextCtrl_GetTextRange(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 | 4984 | PyObject * _resultobj; |
fe47ec10 | 4985 | wxString * _result; |
f6bcfd97 BP |
4986 | wxStyledTextCtrl * _arg0; |
4987 | int _arg1; | |
fe47ec10 | 4988 | int _arg2; |
f6bcfd97 | 4989 | PyObject * _argo0 = 0; |
fe47ec10 | 4990 | char *_kwnames[] = { "self","startPos","endPos", NULL }; |
f6bcfd97 BP |
4991 | |
4992 | self = self; | |
fe47ec10 | 4993 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxStyledTextCtrl_GetTextRange",_kwnames,&_argo0,&_arg1,&_arg2)) |
f6bcfd97 BP |
4994 | return NULL; |
4995 | if (_argo0) { | |
4996 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4997 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 4998 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetTextRange. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
4999 | return NULL; |
5000 | } | |
5001 | } | |
f6bcfd97 | 5002 | { |
4268f798 | 5003 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 5004 | _result = new wxString (wxStyledTextCtrl_GetTextRange(_arg0,_arg1,_arg2)); |
f6bcfd97 | 5005 | |
4268f798 RD |
5006 | wxPyEndAllowThreads(__tstate); |
5007 | if (PyErr_Occurred()) return NULL; | |
fe47ec10 | 5008 | }{ |
c8bc7bb8 RD |
5009 | #if wxUSE_UNICODE |
5010 | _resultobj = PyUnicode_FromUnicode(_result->c_str(), _result->Len()); | |
5011 | #else | |
fe47ec10 | 5012 | _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len()); |
c8bc7bb8 | 5013 | #endif |
fe47ec10 RD |
5014 | } |
5015 | { | |
5016 | delete _result; | |
5017 | } | |
f6bcfd97 BP |
5018 | return _resultobj; |
5019 | } | |
5020 | ||
fe47ec10 RD |
5021 | #define wxStyledTextCtrl_HideSelection(_swigobj,_swigarg0) (_swigobj->HideSelection(_swigarg0)) |
5022 | static PyObject *_wrap_wxStyledTextCtrl_HideSelection(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 BP |
5023 | PyObject * _resultobj; |
5024 | wxStyledTextCtrl * _arg0; | |
fe47ec10 | 5025 | bool _arg1; |
f6bcfd97 | 5026 | PyObject * _argo0 = 0; |
fe47ec10 RD |
5027 | int tempbool1; |
5028 | char *_kwnames[] = { "self","normal", NULL }; | |
f6bcfd97 BP |
5029 | |
5030 | self = self; | |
fe47ec10 | 5031 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_HideSelection",_kwnames,&_argo0,&tempbool1)) |
f6bcfd97 BP |
5032 | return NULL; |
5033 | if (_argo0) { | |
5034 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5035 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 5036 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_HideSelection. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
5037 | return NULL; |
5038 | } | |
5039 | } | |
fe47ec10 | 5040 | _arg1 = (bool ) tempbool1; |
f6bcfd97 | 5041 | { |
4268f798 | 5042 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 5043 | wxStyledTextCtrl_HideSelection(_arg0,_arg1); |
f6bcfd97 | 5044 | |
4268f798 RD |
5045 | wxPyEndAllowThreads(__tstate); |
5046 | if (PyErr_Occurred()) return NULL; | |
f6bcfd97 BP |
5047 | } Py_INCREF(Py_None); |
5048 | _resultobj = Py_None; | |
f6bcfd97 BP |
5049 | return _resultobj; |
5050 | } | |
5051 | ||
fe47ec10 RD |
5052 | #define wxStyledTextCtrl_LineFromPosition(_swigobj,_swigarg0) (_swigobj->LineFromPosition(_swigarg0)) |
5053 | static PyObject *_wrap_wxStyledTextCtrl_LineFromPosition(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 | 5054 | PyObject * _resultobj; |
fe47ec10 | 5055 | int _result; |
f6bcfd97 | 5056 | wxStyledTextCtrl * _arg0; |
fe47ec10 | 5057 | int _arg1; |
f6bcfd97 | 5058 | PyObject * _argo0 = 0; |
fe47ec10 | 5059 | char *_kwnames[] = { "self","pos", NULL }; |
f6bcfd97 BP |
5060 | |
5061 | self = self; | |
fe47ec10 | 5062 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_LineFromPosition",_kwnames,&_argo0,&_arg1)) |
f6bcfd97 BP |
5063 | return NULL; |
5064 | if (_argo0) { | |
5065 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5066 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 5067 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_LineFromPosition. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
5068 | return NULL; |
5069 | } | |
5070 | } | |
5071 | { | |
4268f798 | 5072 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 5073 | _result = (int )wxStyledTextCtrl_LineFromPosition(_arg0,_arg1); |
f6bcfd97 | 5074 | |
4268f798 RD |
5075 | wxPyEndAllowThreads(__tstate); |
5076 | if (PyErr_Occurred()) return NULL; | |
fe47ec10 | 5077 | } _resultobj = Py_BuildValue("i",_result); |
f6bcfd97 BP |
5078 | return _resultobj; |
5079 | } | |
5080 | ||
fe47ec10 RD |
5081 | #define wxStyledTextCtrl_PositionFromLine(_swigobj,_swigarg0) (_swigobj->PositionFromLine(_swigarg0)) |
5082 | static PyObject *_wrap_wxStyledTextCtrl_PositionFromLine(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 | 5083 | PyObject * _resultobj; |
fe47ec10 | 5084 | int _result; |
f6bcfd97 | 5085 | wxStyledTextCtrl * _arg0; |
fe47ec10 | 5086 | int _arg1; |
f6bcfd97 | 5087 | PyObject * _argo0 = 0; |
fe47ec10 | 5088 | char *_kwnames[] = { "self","line", NULL }; |
f6bcfd97 BP |
5089 | |
5090 | self = self; | |
fe47ec10 | 5091 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_PositionFromLine",_kwnames,&_argo0,&_arg1)) |
f6bcfd97 BP |
5092 | return NULL; |
5093 | if (_argo0) { | |
5094 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5095 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 5096 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_PositionFromLine. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
5097 | return NULL; |
5098 | } | |
5099 | } | |
5100 | { | |
4268f798 | 5101 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 5102 | _result = (int )wxStyledTextCtrl_PositionFromLine(_arg0,_arg1); |
f6bcfd97 | 5103 | |
4268f798 RD |
5104 | wxPyEndAllowThreads(__tstate); |
5105 | if (PyErr_Occurred()) return NULL; | |
f6bcfd97 BP |
5106 | } _resultobj = Py_BuildValue("i",_result); |
5107 | return _resultobj; | |
5108 | } | |
5109 | ||
fe47ec10 RD |
5110 | #define wxStyledTextCtrl_LineScroll(_swigobj,_swigarg0,_swigarg1) (_swigobj->LineScroll(_swigarg0,_swigarg1)) |
5111 | static PyObject *_wrap_wxStyledTextCtrl_LineScroll(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 | 5112 | PyObject * _resultobj; |
f6bcfd97 | 5113 | wxStyledTextCtrl * _arg0; |
fe47ec10 RD |
5114 | int _arg1; |
5115 | int _arg2; | |
f6bcfd97 | 5116 | PyObject * _argo0 = 0; |
fe47ec10 | 5117 | char *_kwnames[] = { "self","columns","lines", NULL }; |
f6bcfd97 BP |
5118 | |
5119 | self = self; | |
fe47ec10 | 5120 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxStyledTextCtrl_LineScroll",_kwnames,&_argo0,&_arg1,&_arg2)) |
f6bcfd97 BP |
5121 | return NULL; |
5122 | if (_argo0) { | |
5123 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5124 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 5125 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_LineScroll. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
5126 | return NULL; |
5127 | } | |
5128 | } | |
5129 | { | |
4268f798 | 5130 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 5131 | wxStyledTextCtrl_LineScroll(_arg0,_arg1,_arg2); |
f6bcfd97 | 5132 | |
4268f798 RD |
5133 | wxPyEndAllowThreads(__tstate); |
5134 | if (PyErr_Occurred()) return NULL; | |
fe47ec10 RD |
5135 | } Py_INCREF(Py_None); |
5136 | _resultobj = Py_None; | |
f6bcfd97 BP |
5137 | return _resultobj; |
5138 | } | |
5139 | ||
fe47ec10 RD |
5140 | #define wxStyledTextCtrl_EnsureCaretVisible(_swigobj) (_swigobj->EnsureCaretVisible()) |
5141 | static PyObject *_wrap_wxStyledTextCtrl_EnsureCaretVisible(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 BP |
5142 | PyObject * _resultobj; |
5143 | wxStyledTextCtrl * _arg0; | |
5144 | PyObject * _argo0 = 0; | |
5145 | char *_kwnames[] = { "self", NULL }; | |
5146 | ||
5147 | self = self; | |
fe47ec10 | 5148 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_EnsureCaretVisible",_kwnames,&_argo0)) |
f6bcfd97 BP |
5149 | return NULL; |
5150 | if (_argo0) { | |
5151 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5152 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 5153 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_EnsureCaretVisible. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
5154 | return NULL; |
5155 | } | |
5156 | } | |
5157 | { | |
4268f798 | 5158 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 5159 | wxStyledTextCtrl_EnsureCaretVisible(_arg0); |
f6bcfd97 | 5160 | |
4268f798 RD |
5161 | wxPyEndAllowThreads(__tstate); |
5162 | if (PyErr_Occurred()) return NULL; | |
f6bcfd97 BP |
5163 | } Py_INCREF(Py_None); |
5164 | _resultobj = Py_None; | |
5165 | return _resultobj; | |
5166 | } | |
5167 | ||
fe47ec10 RD |
5168 | #define wxStyledTextCtrl_ReplaceSelection(_swigobj,_swigarg0) (_swigobj->ReplaceSelection(_swigarg0)) |
5169 | static PyObject *_wrap_wxStyledTextCtrl_ReplaceSelection(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 BP |
5170 | PyObject * _resultobj; |
5171 | wxStyledTextCtrl * _arg0; | |
5172 | wxString * _arg1; | |
5173 | PyObject * _argo0 = 0; | |
5174 | PyObject * _obj1 = 0; | |
fe47ec10 | 5175 | char *_kwnames[] = { "self","text", NULL }; |
f6bcfd97 BP |
5176 | |
5177 | self = self; | |
fe47ec10 | 5178 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxStyledTextCtrl_ReplaceSelection",_kwnames,&_argo0,&_obj1)) |
f6bcfd97 BP |
5179 | return NULL; |
5180 | if (_argo0) { | |
5181 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5182 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 5183 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_ReplaceSelection. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
5184 | return NULL; |
5185 | } | |
5186 | } | |
5187 | { | |
c8bc7bb8 RD |
5188 | _arg1 = wxString_in_helper(_obj1); |
5189 | if (_arg1 == NULL) | |
f6bcfd97 | 5190 | return NULL; |
f6bcfd97 BP |
5191 | } |
5192 | { | |
4268f798 | 5193 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 5194 | wxStyledTextCtrl_ReplaceSelection(_arg0,*_arg1); |
f6bcfd97 | 5195 | |
4268f798 RD |
5196 | wxPyEndAllowThreads(__tstate); |
5197 | if (PyErr_Occurred()) return NULL; | |
f6bcfd97 BP |
5198 | } Py_INCREF(Py_None); |
5199 | _resultobj = Py_None; | |
5200 | { | |
5201 | if (_obj1) | |
5202 | delete _arg1; | |
5203 | } | |
5204 | return _resultobj; | |
5205 | } | |
5206 | ||
fe47ec10 RD |
5207 | #define wxStyledTextCtrl_SetReadOnly(_swigobj,_swigarg0) (_swigobj->SetReadOnly(_swigarg0)) |
5208 | static PyObject *_wrap_wxStyledTextCtrl_SetReadOnly(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 BP |
5209 | PyObject * _resultobj; |
5210 | wxStyledTextCtrl * _arg0; | |
fe47ec10 | 5211 | bool _arg1; |
f6bcfd97 | 5212 | PyObject * _argo0 = 0; |
fe47ec10 RD |
5213 | int tempbool1; |
5214 | char *_kwnames[] = { "self","readOnly", NULL }; | |
f6bcfd97 BP |
5215 | |
5216 | self = self; | |
fe47ec10 | 5217 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_SetReadOnly",_kwnames,&_argo0,&tempbool1)) |
f6bcfd97 BP |
5218 | return NULL; |
5219 | if (_argo0) { | |
5220 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5221 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 5222 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetReadOnly. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
5223 | return NULL; |
5224 | } | |
5225 | } | |
fe47ec10 | 5226 | _arg1 = (bool ) tempbool1; |
f6bcfd97 | 5227 | { |
4268f798 | 5228 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 5229 | wxStyledTextCtrl_SetReadOnly(_arg0,_arg1); |
f6bcfd97 | 5230 | |
4268f798 RD |
5231 | wxPyEndAllowThreads(__tstate); |
5232 | if (PyErr_Occurred()) return NULL; | |
f6bcfd97 BP |
5233 | } Py_INCREF(Py_None); |
5234 | _resultobj = Py_None; | |
5235 | return _resultobj; | |
5236 | } | |
5237 | ||
fe47ec10 RD |
5238 | #define wxStyledTextCtrl_CanPaste(_swigobj) (_swigobj->CanPaste()) |
5239 | static PyObject *_wrap_wxStyledTextCtrl_CanPaste(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 | 5240 | PyObject * _resultobj; |
fe47ec10 | 5241 | bool _result; |
f6bcfd97 BP |
5242 | wxStyledTextCtrl * _arg0; |
5243 | PyObject * _argo0 = 0; | |
5244 | char *_kwnames[] = { "self", NULL }; | |
5245 | ||
5246 | self = self; | |
fe47ec10 | 5247 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_CanPaste",_kwnames,&_argo0)) |
f6bcfd97 BP |
5248 | return NULL; |
5249 | if (_argo0) { | |
5250 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5251 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 5252 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_CanPaste. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
5253 | return NULL; |
5254 | } | |
5255 | } | |
5256 | { | |
4268f798 | 5257 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 5258 | _result = (bool )wxStyledTextCtrl_CanPaste(_arg0); |
f6bcfd97 | 5259 | |
4268f798 RD |
5260 | wxPyEndAllowThreads(__tstate); |
5261 | if (PyErr_Occurred()) return NULL; | |
fe47ec10 | 5262 | } _resultobj = Py_BuildValue("i",_result); |
f6bcfd97 BP |
5263 | return _resultobj; |
5264 | } | |
5265 | ||
fe47ec10 RD |
5266 | #define wxStyledTextCtrl_CanUndo(_swigobj) (_swigobj->CanUndo()) |
5267 | static PyObject *_wrap_wxStyledTextCtrl_CanUndo(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 | 5268 | PyObject * _resultobj; |
fe47ec10 | 5269 | bool _result; |
f6bcfd97 | 5270 | wxStyledTextCtrl * _arg0; |
f6bcfd97 | 5271 | PyObject * _argo0 = 0; |
fe47ec10 | 5272 | char *_kwnames[] = { "self", NULL }; |
f6bcfd97 BP |
5273 | |
5274 | self = self; | |
fe47ec10 | 5275 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_CanUndo",_kwnames,&_argo0)) |
f6bcfd97 BP |
5276 | return NULL; |
5277 | if (_argo0) { | |
5278 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5279 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 5280 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_CanUndo. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
5281 | return NULL; |
5282 | } | |
5283 | } | |
f6bcfd97 | 5284 | { |
4268f798 | 5285 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 5286 | _result = (bool )wxStyledTextCtrl_CanUndo(_arg0); |
f6bcfd97 | 5287 | |
4268f798 RD |
5288 | wxPyEndAllowThreads(__tstate); |
5289 | if (PyErr_Occurred()) return NULL; | |
fe47ec10 | 5290 | } _resultobj = Py_BuildValue("i",_result); |
f6bcfd97 BP |
5291 | return _resultobj; |
5292 | } | |
5293 | ||
fe47ec10 RD |
5294 | #define wxStyledTextCtrl_EmptyUndoBuffer(_swigobj) (_swigobj->EmptyUndoBuffer()) |
5295 | static PyObject *_wrap_wxStyledTextCtrl_EmptyUndoBuffer(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 BP |
5296 | PyObject * _resultobj; |
5297 | wxStyledTextCtrl * _arg0; | |
f6bcfd97 | 5298 | PyObject * _argo0 = 0; |
fe47ec10 | 5299 | char *_kwnames[] = { "self", NULL }; |
f6bcfd97 BP |
5300 | |
5301 | self = self; | |
fe47ec10 | 5302 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_EmptyUndoBuffer",_kwnames,&_argo0)) |
f6bcfd97 BP |
5303 | return NULL; |
5304 | if (_argo0) { | |
5305 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5306 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 5307 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_EmptyUndoBuffer. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
5308 | return NULL; |
5309 | } | |
5310 | } | |
f6bcfd97 | 5311 | { |
4268f798 | 5312 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 5313 | wxStyledTextCtrl_EmptyUndoBuffer(_arg0); |
f6bcfd97 | 5314 | |
4268f798 RD |
5315 | wxPyEndAllowThreads(__tstate); |
5316 | if (PyErr_Occurred()) return NULL; | |
f6bcfd97 BP |
5317 | } Py_INCREF(Py_None); |
5318 | _resultobj = Py_None; | |
f6bcfd97 BP |
5319 | return _resultobj; |
5320 | } | |
5321 | ||
fe47ec10 RD |
5322 | #define wxStyledTextCtrl_Undo(_swigobj) (_swigobj->Undo()) |
5323 | static PyObject *_wrap_wxStyledTextCtrl_Undo(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 BP |
5324 | PyObject * _resultobj; |
5325 | wxStyledTextCtrl * _arg0; | |
5326 | PyObject * _argo0 = 0; | |
5327 | char *_kwnames[] = { "self", NULL }; | |
5328 | ||
5329 | self = self; | |
fe47ec10 | 5330 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_Undo",_kwnames,&_argo0)) |
f6bcfd97 BP |
5331 | return NULL; |
5332 | if (_argo0) { | |
5333 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5334 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 5335 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_Undo. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
5336 | return NULL; |
5337 | } | |
5338 | } | |
5339 | { | |
4268f798 | 5340 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 5341 | wxStyledTextCtrl_Undo(_arg0); |
f6bcfd97 | 5342 | |
4268f798 RD |
5343 | wxPyEndAllowThreads(__tstate); |
5344 | if (PyErr_Occurred()) return NULL; | |
f6bcfd97 BP |
5345 | } Py_INCREF(Py_None); |
5346 | _resultobj = Py_None; | |
5347 | return _resultobj; | |
5348 | } | |
5349 | ||
fe47ec10 RD |
5350 | #define wxStyledTextCtrl_Cut(_swigobj) (_swigobj->Cut()) |
5351 | static PyObject *_wrap_wxStyledTextCtrl_Cut(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 | 5352 | PyObject * _resultobj; |
f6bcfd97 BP |
5353 | wxStyledTextCtrl * _arg0; |
5354 | PyObject * _argo0 = 0; | |
5355 | char *_kwnames[] = { "self", NULL }; | |
5356 | ||
5357 | self = self; | |
fe47ec10 | 5358 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_Cut",_kwnames,&_argo0)) |
f6bcfd97 BP |
5359 | return NULL; |
5360 | if (_argo0) { | |
5361 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5362 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 5363 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_Cut. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
5364 | return NULL; |
5365 | } | |
5366 | } | |
5367 | { | |
4268f798 | 5368 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 5369 | wxStyledTextCtrl_Cut(_arg0); |
f6bcfd97 | 5370 | |
4268f798 RD |
5371 | wxPyEndAllowThreads(__tstate); |
5372 | if (PyErr_Occurred()) return NULL; | |
fe47ec10 RD |
5373 | } Py_INCREF(Py_None); |
5374 | _resultobj = Py_None; | |
f6bcfd97 BP |
5375 | return _resultobj; |
5376 | } | |
5377 | ||
fe47ec10 RD |
5378 | #define wxStyledTextCtrl_Copy(_swigobj) (_swigobj->Copy()) |
5379 | static PyObject *_wrap_wxStyledTextCtrl_Copy(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 | 5380 | PyObject * _resultobj; |
f6bcfd97 BP |
5381 | wxStyledTextCtrl * _arg0; |
5382 | PyObject * _argo0 = 0; | |
5383 | char *_kwnames[] = { "self", NULL }; | |
5384 | ||
5385 | self = self; | |
fe47ec10 | 5386 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_Copy",_kwnames,&_argo0)) |
f6bcfd97 BP |
5387 | return NULL; |
5388 | if (_argo0) { | |
5389 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5390 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 5391 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_Copy. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
5392 | return NULL; |
5393 | } | |
5394 | } | |
5395 | { | |
4268f798 | 5396 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 5397 | wxStyledTextCtrl_Copy(_arg0); |
f6bcfd97 | 5398 | |
4268f798 RD |
5399 | wxPyEndAllowThreads(__tstate); |
5400 | if (PyErr_Occurred()) return NULL; | |
fe47ec10 RD |
5401 | } Py_INCREF(Py_None); |
5402 | _resultobj = Py_None; | |
f6bcfd97 BP |
5403 | return _resultobj; |
5404 | } | |
5405 | ||
fe47ec10 RD |
5406 | #define wxStyledTextCtrl_Paste(_swigobj) (_swigobj->Paste()) |
5407 | static PyObject *_wrap_wxStyledTextCtrl_Paste(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 BP |
5408 | PyObject * _resultobj; |
5409 | wxStyledTextCtrl * _arg0; | |
f6bcfd97 | 5410 | PyObject * _argo0 = 0; |
fe47ec10 | 5411 | char *_kwnames[] = { "self", NULL }; |
f6bcfd97 BP |
5412 | |
5413 | self = self; | |
fe47ec10 | 5414 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_Paste",_kwnames,&_argo0)) |
f6bcfd97 BP |
5415 | return NULL; |
5416 | if (_argo0) { | |
5417 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5418 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 5419 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_Paste. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
5420 | return NULL; |
5421 | } | |
5422 | } | |
5423 | { | |
4268f798 | 5424 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 5425 | wxStyledTextCtrl_Paste(_arg0); |
f6bcfd97 | 5426 | |
4268f798 RD |
5427 | wxPyEndAllowThreads(__tstate); |
5428 | if (PyErr_Occurred()) return NULL; | |
f6bcfd97 BP |
5429 | } Py_INCREF(Py_None); |
5430 | _resultobj = Py_None; | |
5431 | return _resultobj; | |
5432 | } | |
5433 | ||
fe47ec10 RD |
5434 | #define wxStyledTextCtrl_Clear(_swigobj) (_swigobj->Clear()) |
5435 | static PyObject *_wrap_wxStyledTextCtrl_Clear(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 BP |
5436 | PyObject * _resultobj; |
5437 | wxStyledTextCtrl * _arg0; | |
f6bcfd97 | 5438 | PyObject * _argo0 = 0; |
fe47ec10 | 5439 | char *_kwnames[] = { "self", NULL }; |
f6bcfd97 BP |
5440 | |
5441 | self = self; | |
fe47ec10 | 5442 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_Clear",_kwnames,&_argo0)) |
f6bcfd97 BP |
5443 | return NULL; |
5444 | if (_argo0) { | |
5445 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5446 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 5447 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_Clear. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
5448 | return NULL; |
5449 | } | |
5450 | } | |
f6bcfd97 | 5451 | { |
4268f798 | 5452 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 5453 | wxStyledTextCtrl_Clear(_arg0); |
f6bcfd97 | 5454 | |
4268f798 RD |
5455 | wxPyEndAllowThreads(__tstate); |
5456 | if (PyErr_Occurred()) return NULL; | |
f6bcfd97 BP |
5457 | } Py_INCREF(Py_None); |
5458 | _resultobj = Py_None; | |
5459 | return _resultobj; | |
5460 | } | |
5461 | ||
fe47ec10 RD |
5462 | #define wxStyledTextCtrl_SetText(_swigobj,_swigarg0) (_swigobj->SetText(_swigarg0)) |
5463 | static PyObject *_wrap_wxStyledTextCtrl_SetText(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 BP |
5464 | PyObject * _resultobj; |
5465 | wxStyledTextCtrl * _arg0; | |
fe47ec10 | 5466 | wxString * _arg1; |
f6bcfd97 | 5467 | PyObject * _argo0 = 0; |
fe47ec10 RD |
5468 | PyObject * _obj1 = 0; |
5469 | char *_kwnames[] = { "self","text", NULL }; | |
f6bcfd97 BP |
5470 | |
5471 | self = self; | |
fe47ec10 | 5472 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxStyledTextCtrl_SetText",_kwnames,&_argo0,&_obj1)) |
f6bcfd97 BP |
5473 | return NULL; |
5474 | if (_argo0) { | |
5475 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5476 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 5477 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetText. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
5478 | return NULL; |
5479 | } | |
5480 | } | |
fe47ec10 | 5481 | { |
c8bc7bb8 RD |
5482 | _arg1 = wxString_in_helper(_obj1); |
5483 | if (_arg1 == NULL) | |
185d7c3e | 5484 | return NULL; |
fe47ec10 | 5485 | } |
f6bcfd97 | 5486 | { |
4268f798 | 5487 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 5488 | wxStyledTextCtrl_SetText(_arg0,*_arg1); |
f6bcfd97 | 5489 | |
4268f798 RD |
5490 | wxPyEndAllowThreads(__tstate); |
5491 | if (PyErr_Occurred()) return NULL; | |
f6bcfd97 BP |
5492 | } Py_INCREF(Py_None); |
5493 | _resultobj = Py_None; | |
fe47ec10 RD |
5494 | { |
5495 | if (_obj1) | |
5496 | delete _arg1; | |
5497 | } | |
f6bcfd97 BP |
5498 | return _resultobj; |
5499 | } | |
5500 | ||
fe47ec10 RD |
5501 | #define wxStyledTextCtrl_GetText(_swigobj) (_swigobj->GetText()) |
5502 | static PyObject *_wrap_wxStyledTextCtrl_GetText(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 | 5503 | PyObject * _resultobj; |
fe47ec10 | 5504 | wxString * _result; |
f6bcfd97 | 5505 | wxStyledTextCtrl * _arg0; |
f6bcfd97 | 5506 | PyObject * _argo0 = 0; |
fe47ec10 | 5507 | char *_kwnames[] = { "self", NULL }; |
f6bcfd97 BP |
5508 | |
5509 | self = self; | |
fe47ec10 | 5510 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetText",_kwnames,&_argo0)) |
f6bcfd97 BP |
5511 | return NULL; |
5512 | if (_argo0) { | |
5513 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5514 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 5515 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetText. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
5516 | return NULL; |
5517 | } | |
5518 | } | |
5519 | { | |
4268f798 | 5520 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 5521 | _result = new wxString (wxStyledTextCtrl_GetText(_arg0)); |
f6bcfd97 | 5522 | |
4268f798 RD |
5523 | wxPyEndAllowThreads(__tstate); |
5524 | if (PyErr_Occurred()) return NULL; | |
fe47ec10 | 5525 | }{ |
c8bc7bb8 RD |
5526 | #if wxUSE_UNICODE |
5527 | _resultobj = PyUnicode_FromUnicode(_result->c_str(), _result->Len()); | |
5528 | #else | |
fe47ec10 | 5529 | _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len()); |
c8bc7bb8 | 5530 | #endif |
fe47ec10 RD |
5531 | } |
5532 | { | |
5533 | delete _result; | |
5534 | } | |
f6bcfd97 BP |
5535 | return _resultobj; |
5536 | } | |
5537 | ||
fe47ec10 RD |
5538 | #define wxStyledTextCtrl_GetTextLength(_swigobj) (_swigobj->GetTextLength()) |
5539 | static PyObject *_wrap_wxStyledTextCtrl_GetTextLength(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 | 5540 | PyObject * _resultobj; |
fe47ec10 | 5541 | int _result; |
f6bcfd97 BP |
5542 | wxStyledTextCtrl * _arg0; |
5543 | PyObject * _argo0 = 0; | |
5544 | char *_kwnames[] = { "self", NULL }; | |
5545 | ||
5546 | self = self; | |
fe47ec10 | 5547 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetTextLength",_kwnames,&_argo0)) |
f6bcfd97 BP |
5548 | return NULL; |
5549 | if (_argo0) { | |
5550 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5551 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 5552 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetTextLength. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
5553 | return NULL; |
5554 | } | |
5555 | } | |
5556 | { | |
4268f798 | 5557 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 5558 | _result = (int )wxStyledTextCtrl_GetTextLength(_arg0); |
f6bcfd97 | 5559 | |
4268f798 RD |
5560 | wxPyEndAllowThreads(__tstate); |
5561 | if (PyErr_Occurred()) return NULL; | |
fe47ec10 | 5562 | } _resultobj = Py_BuildValue("i",_result); |
f6bcfd97 BP |
5563 | return _resultobj; |
5564 | } | |
5565 | ||
fe47ec10 RD |
5566 | #define wxStyledTextCtrl_SetOvertype(_swigobj,_swigarg0) (_swigobj->SetOvertype(_swigarg0)) |
5567 | static PyObject *_wrap_wxStyledTextCtrl_SetOvertype(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 BP |
5568 | PyObject * _resultobj; |
5569 | wxStyledTextCtrl * _arg0; | |
fe47ec10 | 5570 | bool _arg1; |
f6bcfd97 | 5571 | PyObject * _argo0 = 0; |
fe47ec10 RD |
5572 | int tempbool1; |
5573 | char *_kwnames[] = { "self","overtype", NULL }; | |
f6bcfd97 BP |
5574 | |
5575 | self = self; | |
fe47ec10 | 5576 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_SetOvertype",_kwnames,&_argo0,&tempbool1)) |
f6bcfd97 BP |
5577 | return NULL; |
5578 | if (_argo0) { | |
5579 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5580 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 5581 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetOvertype. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
5582 | return NULL; |
5583 | } | |
5584 | } | |
fe47ec10 | 5585 | _arg1 = (bool ) tempbool1; |
f6bcfd97 | 5586 | { |
4268f798 | 5587 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 5588 | wxStyledTextCtrl_SetOvertype(_arg0,_arg1); |
f6bcfd97 | 5589 | |
4268f798 RD |
5590 | wxPyEndAllowThreads(__tstate); |
5591 | if (PyErr_Occurred()) return NULL; | |
f6bcfd97 BP |
5592 | } Py_INCREF(Py_None); |
5593 | _resultobj = Py_None; | |
5594 | return _resultobj; | |
5595 | } | |
5596 | ||
fe47ec10 RD |
5597 | #define wxStyledTextCtrl_GetOvertype(_swigobj) (_swigobj->GetOvertype()) |
5598 | static PyObject *_wrap_wxStyledTextCtrl_GetOvertype(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 | 5599 | PyObject * _resultobj; |
fe47ec10 | 5600 | bool _result; |
f6bcfd97 | 5601 | wxStyledTextCtrl * _arg0; |
f6bcfd97 | 5602 | PyObject * _argo0 = 0; |
fe47ec10 | 5603 | char *_kwnames[] = { "self", NULL }; |
f6bcfd97 BP |
5604 | |
5605 | self = self; | |
fe47ec10 | 5606 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetOvertype",_kwnames,&_argo0)) |
f6bcfd97 BP |
5607 | return NULL; |
5608 | if (_argo0) { | |
5609 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5610 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 5611 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetOvertype. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
5612 | return NULL; |
5613 | } | |
5614 | } | |
f6bcfd97 | 5615 | { |
4268f798 | 5616 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 5617 | _result = (bool )wxStyledTextCtrl_GetOvertype(_arg0); |
f6bcfd97 | 5618 | |
4268f798 RD |
5619 | wxPyEndAllowThreads(__tstate); |
5620 | if (PyErr_Occurred()) return NULL; | |
f6bcfd97 BP |
5621 | } _resultobj = Py_BuildValue("i",_result); |
5622 | return _resultobj; | |
5623 | } | |
5624 | ||
65ec6247 RD |
5625 | #define wxStyledTextCtrl_SetCaretWidth(_swigobj,_swigarg0) (_swigobj->SetCaretWidth(_swigarg0)) |
5626 | static PyObject *_wrap_wxStyledTextCtrl_SetCaretWidth(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 | 5627 | PyObject * _resultobj; |
f6bcfd97 | 5628 | wxStyledTextCtrl * _arg0; |
fe47ec10 | 5629 | int _arg1; |
f6bcfd97 | 5630 | PyObject * _argo0 = 0; |
65ec6247 | 5631 | char *_kwnames[] = { "self","pixelWidth", NULL }; |
f6bcfd97 BP |
5632 | |
5633 | self = self; | |
65ec6247 | 5634 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_SetCaretWidth",_kwnames,&_argo0,&_arg1)) |
f6bcfd97 BP |
5635 | return NULL; |
5636 | if (_argo0) { | |
5637 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5638 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
65ec6247 | 5639 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetCaretWidth. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
5640 | return NULL; |
5641 | } | |
5642 | } | |
5643 | { | |
4268f798 | 5644 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 5645 | wxStyledTextCtrl_SetCaretWidth(_arg0,_arg1); |
f6bcfd97 | 5646 | |
4268f798 RD |
5647 | wxPyEndAllowThreads(__tstate); |
5648 | if (PyErr_Occurred()) return NULL; | |
fe47ec10 RD |
5649 | } Py_INCREF(Py_None); |
5650 | _resultobj = Py_None; | |
f6bcfd97 BP |
5651 | return _resultobj; |
5652 | } | |
5653 | ||
65ec6247 RD |
5654 | #define wxStyledTextCtrl_GetCaretWidth(_swigobj) (_swigobj->GetCaretWidth()) |
5655 | static PyObject *_wrap_wxStyledTextCtrl_GetCaretWidth(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 | 5656 | PyObject * _resultobj; |
65ec6247 | 5657 | int _result; |
f6bcfd97 | 5658 | wxStyledTextCtrl * _arg0; |
f6bcfd97 | 5659 | PyObject * _argo0 = 0; |
fe47ec10 | 5660 | char *_kwnames[] = { "self", NULL }; |
f6bcfd97 BP |
5661 | |
5662 | self = self; | |
65ec6247 | 5663 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetCaretWidth",_kwnames,&_argo0)) |
f6bcfd97 BP |
5664 | return NULL; |
5665 | if (_argo0) { | |
5666 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5667 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
65ec6247 | 5668 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetCaretWidth. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
5669 | return NULL; |
5670 | } | |
5671 | } | |
5672 | { | |
4268f798 | 5673 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 5674 | _result = (int )wxStyledTextCtrl_GetCaretWidth(_arg0); |
f6bcfd97 | 5675 | |
4268f798 RD |
5676 | wxPyEndAllowThreads(__tstate); |
5677 | if (PyErr_Occurred()) return NULL; | |
65ec6247 | 5678 | } _resultobj = Py_BuildValue("i",_result); |
f6bcfd97 BP |
5679 | return _resultobj; |
5680 | } | |
5681 | ||
65ec6247 RD |
5682 | #define wxStyledTextCtrl_SetTargetStart(_swigobj,_swigarg0) (_swigobj->SetTargetStart(_swigarg0)) |
5683 | static PyObject *_wrap_wxStyledTextCtrl_SetTargetStart(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 | 5684 | PyObject * _resultobj; |
f6bcfd97 | 5685 | wxStyledTextCtrl * _arg0; |
65ec6247 | 5686 | int _arg1; |
f6bcfd97 | 5687 | PyObject * _argo0 = 0; |
65ec6247 | 5688 | char *_kwnames[] = { "self","pos", NULL }; |
f6bcfd97 BP |
5689 | |
5690 | self = self; | |
65ec6247 | 5691 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_SetTargetStart",_kwnames,&_argo0,&_arg1)) |
f6bcfd97 BP |
5692 | return NULL; |
5693 | if (_argo0) { | |
5694 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5695 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
65ec6247 | 5696 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetTargetStart. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
5697 | return NULL; |
5698 | } | |
5699 | } | |
5700 | { | |
4268f798 | 5701 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 5702 | wxStyledTextCtrl_SetTargetStart(_arg0,_arg1); |
f6bcfd97 | 5703 | |
4268f798 RD |
5704 | wxPyEndAllowThreads(__tstate); |
5705 | if (PyErr_Occurred()) return NULL; | |
65ec6247 RD |
5706 | } Py_INCREF(Py_None); |
5707 | _resultobj = Py_None; | |
f6bcfd97 BP |
5708 | return _resultobj; |
5709 | } | |
5710 | ||
65ec6247 RD |
5711 | #define wxStyledTextCtrl_GetTargetStart(_swigobj) (_swigobj->GetTargetStart()) |
5712 | static PyObject *_wrap_wxStyledTextCtrl_GetTargetStart(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 BP |
5713 | PyObject * _resultobj; |
5714 | int _result; | |
5715 | wxStyledTextCtrl * _arg0; | |
f6bcfd97 | 5716 | PyObject * _argo0 = 0; |
fe47ec10 | 5717 | char *_kwnames[] = { "self", NULL }; |
f6bcfd97 BP |
5718 | |
5719 | self = self; | |
65ec6247 | 5720 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetTargetStart",_kwnames,&_argo0)) |
f6bcfd97 BP |
5721 | return NULL; |
5722 | if (_argo0) { | |
5723 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5724 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
65ec6247 | 5725 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetTargetStart. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
5726 | return NULL; |
5727 | } | |
5728 | } | |
5729 | { | |
4268f798 | 5730 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 5731 | _result = (int )wxStyledTextCtrl_GetTargetStart(_arg0); |
f6bcfd97 | 5732 | |
4268f798 RD |
5733 | wxPyEndAllowThreads(__tstate); |
5734 | if (PyErr_Occurred()) return NULL; | |
f6bcfd97 BP |
5735 | } _resultobj = Py_BuildValue("i",_result); |
5736 | return _resultobj; | |
5737 | } | |
5738 | ||
65ec6247 RD |
5739 | #define wxStyledTextCtrl_SetTargetEnd(_swigobj,_swigarg0) (_swigobj->SetTargetEnd(_swigarg0)) |
5740 | static PyObject *_wrap_wxStyledTextCtrl_SetTargetEnd(PyObject *self, PyObject *args, PyObject *kwargs) { | |
fe47ec10 RD |
5741 | PyObject * _resultobj; |
5742 | wxStyledTextCtrl * _arg0; | |
5743 | int _arg1; | |
fe47ec10 | 5744 | PyObject * _argo0 = 0; |
65ec6247 | 5745 | char *_kwnames[] = { "self","pos", NULL }; |
fe47ec10 RD |
5746 | |
5747 | self = self; | |
65ec6247 | 5748 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_SetTargetEnd",_kwnames,&_argo0,&_arg1)) |
fe47ec10 RD |
5749 | return NULL; |
5750 | if (_argo0) { | |
5751 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5752 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
65ec6247 | 5753 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetTargetEnd. Expected _wxStyledTextCtrl_p."); |
fe47ec10 RD |
5754 | return NULL; |
5755 | } | |
5756 | } | |
5757 | { | |
4268f798 | 5758 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 5759 | wxStyledTextCtrl_SetTargetEnd(_arg0,_arg1); |
fe47ec10 | 5760 | |
4268f798 RD |
5761 | wxPyEndAllowThreads(__tstate); |
5762 | if (PyErr_Occurred()) return NULL; | |
fe47ec10 RD |
5763 | } Py_INCREF(Py_None); |
5764 | _resultobj = Py_None; | |
5765 | return _resultobj; | |
5766 | } | |
5767 | ||
65ec6247 RD |
5768 | #define wxStyledTextCtrl_GetTargetEnd(_swigobj) (_swigobj->GetTargetEnd()) |
5769 | static PyObject *_wrap_wxStyledTextCtrl_GetTargetEnd(PyObject *self, PyObject *args, PyObject *kwargs) { | |
fe47ec10 | 5770 | PyObject * _resultobj; |
65ec6247 | 5771 | int _result; |
fe47ec10 | 5772 | wxStyledTextCtrl * _arg0; |
fe47ec10 | 5773 | PyObject * _argo0 = 0; |
65ec6247 | 5774 | char *_kwnames[] = { "self", NULL }; |
fe47ec10 RD |
5775 | |
5776 | self = self; | |
65ec6247 | 5777 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetTargetEnd",_kwnames,&_argo0)) |
fe47ec10 RD |
5778 | return NULL; |
5779 | if (_argo0) { | |
5780 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5781 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
65ec6247 | 5782 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetTargetEnd. Expected _wxStyledTextCtrl_p."); |
fe47ec10 RD |
5783 | return NULL; |
5784 | } | |
5785 | } | |
fe47ec10 | 5786 | { |
4268f798 | 5787 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 5788 | _result = (int )wxStyledTextCtrl_GetTargetEnd(_arg0); |
fe47ec10 | 5789 | |
4268f798 RD |
5790 | wxPyEndAllowThreads(__tstate); |
5791 | if (PyErr_Occurred()) return NULL; | |
65ec6247 | 5792 | } _resultobj = Py_BuildValue("i",_result); |
fe47ec10 RD |
5793 | return _resultobj; |
5794 | } | |
5795 | ||
65ec6247 RD |
5796 | #define wxStyledTextCtrl_ReplaceTarget(_swigobj,_swigarg0) (_swigobj->ReplaceTarget(_swigarg0)) |
5797 | static PyObject *_wrap_wxStyledTextCtrl_ReplaceTarget(PyObject *self, PyObject *args, PyObject *kwargs) { | |
fe47ec10 RD |
5798 | PyObject * _resultobj; |
5799 | int _result; | |
5800 | wxStyledTextCtrl * _arg0; | |
65ec6247 | 5801 | wxString * _arg1; |
fe47ec10 | 5802 | PyObject * _argo0 = 0; |
65ec6247 RD |
5803 | PyObject * _obj1 = 0; |
5804 | char *_kwnames[] = { "self","text", NULL }; | |
fe47ec10 RD |
5805 | |
5806 | self = self; | |
65ec6247 | 5807 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxStyledTextCtrl_ReplaceTarget",_kwnames,&_argo0,&_obj1)) |
fe47ec10 RD |
5808 | return NULL; |
5809 | if (_argo0) { | |
5810 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5811 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
65ec6247 | 5812 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_ReplaceTarget. Expected _wxStyledTextCtrl_p."); |
fe47ec10 RD |
5813 | return NULL; |
5814 | } | |
5815 | } | |
65ec6247 | 5816 | { |
c8bc7bb8 RD |
5817 | _arg1 = wxString_in_helper(_obj1); |
5818 | if (_arg1 == NULL) | |
65ec6247 | 5819 | return NULL; |
65ec6247 | 5820 | } |
fe47ec10 | 5821 | { |
4268f798 | 5822 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 5823 | _result = (int )wxStyledTextCtrl_ReplaceTarget(_arg0,*_arg1); |
fe47ec10 | 5824 | |
4268f798 RD |
5825 | wxPyEndAllowThreads(__tstate); |
5826 | if (PyErr_Occurred()) return NULL; | |
fe47ec10 | 5827 | } _resultobj = Py_BuildValue("i",_result); |
65ec6247 RD |
5828 | { |
5829 | if (_obj1) | |
5830 | delete _arg1; | |
5831 | } | |
fe47ec10 RD |
5832 | return _resultobj; |
5833 | } | |
5834 | ||
65ec6247 RD |
5835 | #define wxStyledTextCtrl_ReplaceTargetRE(_swigobj,_swigarg0) (_swigobj->ReplaceTargetRE(_swigarg0)) |
5836 | static PyObject *_wrap_wxStyledTextCtrl_ReplaceTargetRE(PyObject *self, PyObject *args, PyObject *kwargs) { | |
fe47ec10 | 5837 | PyObject * _resultobj; |
f6bcfd97 BP |
5838 | int _result; |
5839 | wxStyledTextCtrl * _arg0; | |
65ec6247 | 5840 | wxString * _arg1; |
fe47ec10 | 5841 | PyObject * _argo0 = 0; |
65ec6247 RD |
5842 | PyObject * _obj1 = 0; |
5843 | char *_kwnames[] = { "self","text", NULL }; | |
fe47ec10 RD |
5844 | |
5845 | self = self; | |
65ec6247 | 5846 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxStyledTextCtrl_ReplaceTargetRE",_kwnames,&_argo0,&_obj1)) |
fe47ec10 RD |
5847 | return NULL; |
5848 | if (_argo0) { | |
5849 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5850 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
65ec6247 | 5851 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_ReplaceTargetRE. Expected _wxStyledTextCtrl_p."); |
fe47ec10 RD |
5852 | return NULL; |
5853 | } | |
5854 | } | |
65ec6247 | 5855 | { |
c8bc7bb8 RD |
5856 | _arg1 = wxString_in_helper(_obj1); |
5857 | if (_arg1 == NULL) | |
65ec6247 | 5858 | return NULL; |
65ec6247 | 5859 | } |
fe47ec10 | 5860 | { |
4268f798 | 5861 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 5862 | _result = (int )wxStyledTextCtrl_ReplaceTargetRE(_arg0,*_arg1); |
fe47ec10 | 5863 | |
4268f798 RD |
5864 | wxPyEndAllowThreads(__tstate); |
5865 | if (PyErr_Occurred()) return NULL; | |
fe47ec10 | 5866 | } _resultobj = Py_BuildValue("i",_result); |
65ec6247 RD |
5867 | { |
5868 | if (_obj1) | |
5869 | delete _arg1; | |
5870 | } | |
fe47ec10 RD |
5871 | return _resultobj; |
5872 | } | |
5873 | ||
65ec6247 RD |
5874 | #define wxStyledTextCtrl_SearchInTarget(_swigobj,_swigarg0) (_swigobj->SearchInTarget(_swigarg0)) |
5875 | static PyObject *_wrap_wxStyledTextCtrl_SearchInTarget(PyObject *self, PyObject *args, PyObject *kwargs) { | |
fe47ec10 | 5876 | PyObject * _resultobj; |
65ec6247 | 5877 | int _result; |
fe47ec10 | 5878 | wxStyledTextCtrl * _arg0; |
65ec6247 | 5879 | wxString * _arg1; |
f6bcfd97 | 5880 | PyObject * _argo0 = 0; |
65ec6247 RD |
5881 | PyObject * _obj1 = 0; |
5882 | char *_kwnames[] = { "self","text", NULL }; | |
f6bcfd97 BP |
5883 | |
5884 | self = self; | |
65ec6247 | 5885 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxStyledTextCtrl_SearchInTarget",_kwnames,&_argo0,&_obj1)) |
f6bcfd97 BP |
5886 | return NULL; |
5887 | if (_argo0) { | |
5888 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5889 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
65ec6247 | 5890 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SearchInTarget. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
5891 | return NULL; |
5892 | } | |
5893 | } | |
65ec6247 | 5894 | { |
c8bc7bb8 RD |
5895 | _arg1 = wxString_in_helper(_obj1); |
5896 | if (_arg1 == NULL) | |
65ec6247 | 5897 | return NULL; |
65ec6247 | 5898 | } |
f6bcfd97 | 5899 | { |
4268f798 | 5900 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 5901 | _result = (int )wxStyledTextCtrl_SearchInTarget(_arg0,*_arg1); |
f6bcfd97 | 5902 | |
4268f798 RD |
5903 | wxPyEndAllowThreads(__tstate); |
5904 | if (PyErr_Occurred()) return NULL; | |
65ec6247 RD |
5905 | } _resultobj = Py_BuildValue("i",_result); |
5906 | { | |
5907 | if (_obj1) | |
5908 | delete _arg1; | |
5909 | } | |
f6bcfd97 BP |
5910 | return _resultobj; |
5911 | } | |
5912 | ||
65ec6247 RD |
5913 | #define wxStyledTextCtrl_SetSearchFlags(_swigobj,_swigarg0) (_swigobj->SetSearchFlags(_swigarg0)) |
5914 | static PyObject *_wrap_wxStyledTextCtrl_SetSearchFlags(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 | 5915 | PyObject * _resultobj; |
f6bcfd97 BP |
5916 | wxStyledTextCtrl * _arg0; |
5917 | int _arg1; | |
5918 | PyObject * _argo0 = 0; | |
65ec6247 | 5919 | char *_kwnames[] = { "self","flags", NULL }; |
f6bcfd97 BP |
5920 | |
5921 | self = self; | |
65ec6247 | 5922 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_SetSearchFlags",_kwnames,&_argo0,&_arg1)) |
f6bcfd97 BP |
5923 | return NULL; |
5924 | if (_argo0) { | |
5925 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5926 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
65ec6247 | 5927 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetSearchFlags. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
5928 | return NULL; |
5929 | } | |
5930 | } | |
5931 | { | |
4268f798 | 5932 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 5933 | wxStyledTextCtrl_SetSearchFlags(_arg0,_arg1); |
f6bcfd97 | 5934 | |
4268f798 RD |
5935 | wxPyEndAllowThreads(__tstate); |
5936 | if (PyErr_Occurred()) return NULL; | |
65ec6247 RD |
5937 | } Py_INCREF(Py_None); |
5938 | _resultobj = Py_None; | |
f6bcfd97 BP |
5939 | return _resultobj; |
5940 | } | |
5941 | ||
65ec6247 RD |
5942 | #define wxStyledTextCtrl_GetSearchFlags(_swigobj) (_swigobj->GetSearchFlags()) |
5943 | static PyObject *_wrap_wxStyledTextCtrl_GetSearchFlags(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 BP |
5944 | PyObject * _resultobj; |
5945 | int _result; | |
5946 | wxStyledTextCtrl * _arg0; | |
f6bcfd97 | 5947 | PyObject * _argo0 = 0; |
65ec6247 | 5948 | char *_kwnames[] = { "self", NULL }; |
f6bcfd97 BP |
5949 | |
5950 | self = self; | |
65ec6247 | 5951 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetSearchFlags",_kwnames,&_argo0)) |
f6bcfd97 BP |
5952 | return NULL; |
5953 | if (_argo0) { | |
5954 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5955 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
65ec6247 | 5956 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetSearchFlags. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
5957 | return NULL; |
5958 | } | |
5959 | } | |
5960 | { | |
4268f798 | 5961 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 5962 | _result = (int )wxStyledTextCtrl_GetSearchFlags(_arg0); |
f6bcfd97 | 5963 | |
4268f798 RD |
5964 | wxPyEndAllowThreads(__tstate); |
5965 | if (PyErr_Occurred()) return NULL; | |
f6bcfd97 BP |
5966 | } _resultobj = Py_BuildValue("i",_result); |
5967 | return _resultobj; | |
5968 | } | |
5969 | ||
65ec6247 RD |
5970 | #define wxStyledTextCtrl_CallTipShow(_swigobj,_swigarg0,_swigarg1) (_swigobj->CallTipShow(_swigarg0,_swigarg1)) |
5971 | static PyObject *_wrap_wxStyledTextCtrl_CallTipShow(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 | 5972 | PyObject * _resultobj; |
f6bcfd97 BP |
5973 | wxStyledTextCtrl * _arg0; |
5974 | int _arg1; | |
65ec6247 | 5975 | wxString * _arg2; |
f6bcfd97 | 5976 | PyObject * _argo0 = 0; |
65ec6247 RD |
5977 | PyObject * _obj2 = 0; |
5978 | char *_kwnames[] = { "self","pos","definition", NULL }; | |
f6bcfd97 BP |
5979 | |
5980 | self = self; | |
65ec6247 | 5981 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxStyledTextCtrl_CallTipShow",_kwnames,&_argo0,&_arg1,&_obj2)) |
f6bcfd97 BP |
5982 | return NULL; |
5983 | if (_argo0) { | |
5984 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5985 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
65ec6247 | 5986 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_CallTipShow. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
5987 | return NULL; |
5988 | } | |
5989 | } | |
65ec6247 | 5990 | { |
c8bc7bb8 RD |
5991 | _arg2 = wxString_in_helper(_obj2); |
5992 | if (_arg2 == NULL) | |
65ec6247 | 5993 | return NULL; |
65ec6247 | 5994 | } |
f6bcfd97 | 5995 | { |
4268f798 | 5996 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 5997 | wxStyledTextCtrl_CallTipShow(_arg0,_arg1,*_arg2); |
f6bcfd97 | 5998 | |
4268f798 RD |
5999 | wxPyEndAllowThreads(__tstate); |
6000 | if (PyErr_Occurred()) return NULL; | |
65ec6247 RD |
6001 | } Py_INCREF(Py_None); |
6002 | _resultobj = Py_None; | |
6003 | { | |
6004 | if (_obj2) | |
6005 | delete _arg2; | |
6006 | } | |
f6bcfd97 BP |
6007 | return _resultobj; |
6008 | } | |
6009 | ||
65ec6247 RD |
6010 | #define wxStyledTextCtrl_CallTipCancel(_swigobj) (_swigobj->CallTipCancel()) |
6011 | static PyObject *_wrap_wxStyledTextCtrl_CallTipCancel(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 BP |
6012 | PyObject * _resultobj; |
6013 | wxStyledTextCtrl * _arg0; | |
f6bcfd97 | 6014 | PyObject * _argo0 = 0; |
65ec6247 | 6015 | char *_kwnames[] = { "self", NULL }; |
f6bcfd97 BP |
6016 | |
6017 | self = self; | |
65ec6247 | 6018 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_CallTipCancel",_kwnames,&_argo0)) |
f6bcfd97 BP |
6019 | return NULL; |
6020 | if (_argo0) { | |
6021 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6022 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
65ec6247 | 6023 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_CallTipCancel. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
6024 | return NULL; |
6025 | } | |
6026 | } | |
6027 | { | |
4268f798 | 6028 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 6029 | wxStyledTextCtrl_CallTipCancel(_arg0); |
f6bcfd97 | 6030 | |
4268f798 RD |
6031 | wxPyEndAllowThreads(__tstate); |
6032 | if (PyErr_Occurred()) return NULL; | |
f6bcfd97 BP |
6033 | } Py_INCREF(Py_None); |
6034 | _resultobj = Py_None; | |
6035 | return _resultobj; | |
6036 | } | |
6037 | ||
65ec6247 RD |
6038 | #define wxStyledTextCtrl_CallTipActive(_swigobj) (_swigobj->CallTipActive()) |
6039 | static PyObject *_wrap_wxStyledTextCtrl_CallTipActive(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 | 6040 | PyObject * _resultobj; |
65ec6247 | 6041 | bool _result; |
f6bcfd97 | 6042 | wxStyledTextCtrl * _arg0; |
f6bcfd97 | 6043 | PyObject * _argo0 = 0; |
65ec6247 | 6044 | char *_kwnames[] = { "self", NULL }; |
f6bcfd97 BP |
6045 | |
6046 | self = self; | |
65ec6247 | 6047 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_CallTipActive",_kwnames,&_argo0)) |
f6bcfd97 BP |
6048 | return NULL; |
6049 | if (_argo0) { | |
6050 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6051 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
65ec6247 | 6052 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_CallTipActive. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
6053 | return NULL; |
6054 | } | |
6055 | } | |
6056 | { | |
4268f798 | 6057 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 6058 | _result = (bool )wxStyledTextCtrl_CallTipActive(_arg0); |
f6bcfd97 | 6059 | |
4268f798 RD |
6060 | wxPyEndAllowThreads(__tstate); |
6061 | if (PyErr_Occurred()) return NULL; | |
65ec6247 | 6062 | } _resultobj = Py_BuildValue("i",_result); |
f6bcfd97 BP |
6063 | return _resultobj; |
6064 | } | |
6065 | ||
65ec6247 RD |
6066 | #define wxStyledTextCtrl_CallTipPosAtStart(_swigobj) (_swigobj->CallTipPosAtStart()) |
6067 | static PyObject *_wrap_wxStyledTextCtrl_CallTipPosAtStart(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 | 6068 | PyObject * _resultobj; |
65ec6247 | 6069 | int _result; |
f6bcfd97 | 6070 | wxStyledTextCtrl * _arg0; |
f6bcfd97 | 6071 | PyObject * _argo0 = 0; |
65ec6247 | 6072 | char *_kwnames[] = { "self", NULL }; |
f6bcfd97 BP |
6073 | |
6074 | self = self; | |
65ec6247 | 6075 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_CallTipPosAtStart",_kwnames,&_argo0)) |
f6bcfd97 BP |
6076 | return NULL; |
6077 | if (_argo0) { | |
6078 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6079 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
65ec6247 | 6080 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_CallTipPosAtStart. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
6081 | return NULL; |
6082 | } | |
6083 | } | |
6084 | { | |
4268f798 | 6085 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 6086 | _result = (int )wxStyledTextCtrl_CallTipPosAtStart(_arg0); |
f6bcfd97 | 6087 | |
4268f798 RD |
6088 | wxPyEndAllowThreads(__tstate); |
6089 | if (PyErr_Occurred()) return NULL; | |
f6bcfd97 BP |
6090 | } _resultobj = Py_BuildValue("i",_result); |
6091 | return _resultobj; | |
6092 | } | |
6093 | ||
65ec6247 RD |
6094 | #define wxStyledTextCtrl_CallTipSetHighlight(_swigobj,_swigarg0,_swigarg1) (_swigobj->CallTipSetHighlight(_swigarg0,_swigarg1)) |
6095 | static PyObject *_wrap_wxStyledTextCtrl_CallTipSetHighlight(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 BP |
6096 | PyObject * _resultobj; |
6097 | wxStyledTextCtrl * _arg0; | |
6098 | int _arg1; | |
65ec6247 | 6099 | int _arg2; |
f6bcfd97 | 6100 | PyObject * _argo0 = 0; |
65ec6247 | 6101 | char *_kwnames[] = { "self","start","end", NULL }; |
f6bcfd97 BP |
6102 | |
6103 | self = self; | |
65ec6247 | 6104 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxStyledTextCtrl_CallTipSetHighlight",_kwnames,&_argo0,&_arg1,&_arg2)) |
f6bcfd97 BP |
6105 | return NULL; |
6106 | if (_argo0) { | |
6107 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6108 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
65ec6247 | 6109 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_CallTipSetHighlight. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
6110 | return NULL; |
6111 | } | |
6112 | } | |
f6bcfd97 | 6113 | { |
4268f798 | 6114 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 6115 | wxStyledTextCtrl_CallTipSetHighlight(_arg0,_arg1,_arg2); |
f6bcfd97 | 6116 | |
4268f798 RD |
6117 | wxPyEndAllowThreads(__tstate); |
6118 | if (PyErr_Occurred()) return NULL; | |
f6bcfd97 BP |
6119 | } Py_INCREF(Py_None); |
6120 | _resultobj = Py_None; | |
6121 | return _resultobj; | |
6122 | } | |
6123 | ||
65ec6247 RD |
6124 | #define wxStyledTextCtrl_CallTipSetBackground(_swigobj,_swigarg0) (_swigobj->CallTipSetBackground(_swigarg0)) |
6125 | static PyObject *_wrap_wxStyledTextCtrl_CallTipSetBackground(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 | 6126 | PyObject * _resultobj; |
f6bcfd97 | 6127 | wxStyledTextCtrl * _arg0; |
65ec6247 | 6128 | wxColour * _arg1; |
f6bcfd97 | 6129 | PyObject * _argo0 = 0; |
65ec6247 RD |
6130 | wxColour temp; |
6131 | PyObject * _obj1 = 0; | |
6132 | char *_kwnames[] = { "self","back", NULL }; | |
f6bcfd97 BP |
6133 | |
6134 | self = self; | |
65ec6247 | 6135 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxStyledTextCtrl_CallTipSetBackground",_kwnames,&_argo0,&_obj1)) |
f6bcfd97 BP |
6136 | return NULL; |
6137 | if (_argo0) { | |
6138 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6139 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
65ec6247 | 6140 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_CallTipSetBackground. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
6141 | return NULL; |
6142 | } | |
6143 | } | |
65ec6247 RD |
6144 | { |
6145 | _arg1 = &temp; | |
6146 | if (! wxColour_helper(_obj1, &_arg1)) | |
6147 | return NULL; | |
6148 | } | |
f6bcfd97 | 6149 | { |
4268f798 | 6150 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 6151 | wxStyledTextCtrl_CallTipSetBackground(_arg0,*_arg1); |
f6bcfd97 | 6152 | |
4268f798 RD |
6153 | wxPyEndAllowThreads(__tstate); |
6154 | if (PyErr_Occurred()) return NULL; | |
65ec6247 RD |
6155 | } Py_INCREF(Py_None); |
6156 | _resultobj = Py_None; | |
f6bcfd97 BP |
6157 | return _resultobj; |
6158 | } | |
6159 | ||
65ec6247 RD |
6160 | #define wxStyledTextCtrl_VisibleFromDocLine(_swigobj,_swigarg0) (_swigobj->VisibleFromDocLine(_swigarg0)) |
6161 | static PyObject *_wrap_wxStyledTextCtrl_VisibleFromDocLine(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 | 6162 | PyObject * _resultobj; |
65ec6247 | 6163 | int _result; |
f6bcfd97 BP |
6164 | wxStyledTextCtrl * _arg0; |
6165 | int _arg1; | |
6166 | PyObject * _argo0 = 0; | |
6167 | char *_kwnames[] = { "self","line", NULL }; | |
6168 | ||
6169 | self = self; | |
65ec6247 | 6170 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_VisibleFromDocLine",_kwnames,&_argo0,&_arg1)) |
f6bcfd97 BP |
6171 | return NULL; |
6172 | if (_argo0) { | |
6173 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6174 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
65ec6247 | 6175 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_VisibleFromDocLine. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
6176 | return NULL; |
6177 | } | |
6178 | } | |
6179 | { | |
4268f798 | 6180 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 6181 | _result = (int )wxStyledTextCtrl_VisibleFromDocLine(_arg0,_arg1); |
f6bcfd97 | 6182 | |
4268f798 RD |
6183 | wxPyEndAllowThreads(__tstate); |
6184 | if (PyErr_Occurred()) return NULL; | |
65ec6247 | 6185 | } _resultobj = Py_BuildValue("i",_result); |
f6bcfd97 BP |
6186 | return _resultobj; |
6187 | } | |
6188 | ||
65ec6247 RD |
6189 | #define wxStyledTextCtrl_DocLineFromVisible(_swigobj,_swigarg0) (_swigobj->DocLineFromVisible(_swigarg0)) |
6190 | static PyObject *_wrap_wxStyledTextCtrl_DocLineFromVisible(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 | 6191 | PyObject * _resultobj; |
65ec6247 | 6192 | int _result; |
f6bcfd97 BP |
6193 | wxStyledTextCtrl * _arg0; |
6194 | int _arg1; | |
6195 | PyObject * _argo0 = 0; | |
65ec6247 | 6196 | char *_kwnames[] = { "self","lineDisplay", NULL }; |
f6bcfd97 BP |
6197 | |
6198 | self = self; | |
65ec6247 | 6199 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_DocLineFromVisible",_kwnames,&_argo0,&_arg1)) |
f6bcfd97 BP |
6200 | return NULL; |
6201 | if (_argo0) { | |
6202 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6203 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
65ec6247 | 6204 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_DocLineFromVisible. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
6205 | return NULL; |
6206 | } | |
6207 | } | |
6208 | { | |
4268f798 | 6209 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 6210 | _result = (int )wxStyledTextCtrl_DocLineFromVisible(_arg0,_arg1); |
f6bcfd97 | 6211 | |
4268f798 RD |
6212 | wxPyEndAllowThreads(__tstate); |
6213 | if (PyErr_Occurred()) return NULL; | |
65ec6247 | 6214 | } _resultobj = Py_BuildValue("i",_result); |
f6bcfd97 BP |
6215 | return _resultobj; |
6216 | } | |
6217 | ||
65ec6247 RD |
6218 | #define wxStyledTextCtrl_SetFoldLevel(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetFoldLevel(_swigarg0,_swigarg1)) |
6219 | static PyObject *_wrap_wxStyledTextCtrl_SetFoldLevel(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 BP |
6220 | PyObject * _resultobj; |
6221 | wxStyledTextCtrl * _arg0; | |
6222 | int _arg1; | |
65ec6247 | 6223 | int _arg2; |
f6bcfd97 | 6224 | PyObject * _argo0 = 0; |
65ec6247 | 6225 | char *_kwnames[] = { "self","line","level", NULL }; |
f6bcfd97 BP |
6226 | |
6227 | self = self; | |
65ec6247 | 6228 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxStyledTextCtrl_SetFoldLevel",_kwnames,&_argo0,&_arg1,&_arg2)) |
f6bcfd97 BP |
6229 | return NULL; |
6230 | if (_argo0) { | |
6231 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6232 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
65ec6247 | 6233 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetFoldLevel. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
6234 | return NULL; |
6235 | } | |
6236 | } | |
6237 | { | |
4268f798 | 6238 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 6239 | wxStyledTextCtrl_SetFoldLevel(_arg0,_arg1,_arg2); |
f6bcfd97 | 6240 | |
4268f798 RD |
6241 | wxPyEndAllowThreads(__tstate); |
6242 | if (PyErr_Occurred()) return NULL; | |
f6bcfd97 BP |
6243 | } Py_INCREF(Py_None); |
6244 | _resultobj = Py_None; | |
6245 | return _resultobj; | |
6246 | } | |
6247 | ||
65ec6247 RD |
6248 | #define wxStyledTextCtrl_GetFoldLevel(_swigobj,_swigarg0) (_swigobj->GetFoldLevel(_swigarg0)) |
6249 | static PyObject *_wrap_wxStyledTextCtrl_GetFoldLevel(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 | 6250 | PyObject * _resultobj; |
fe47ec10 | 6251 | int _result; |
f6bcfd97 | 6252 | wxStyledTextCtrl * _arg0; |
fe47ec10 | 6253 | int _arg1; |
f6bcfd97 | 6254 | PyObject * _argo0 = 0; |
fe47ec10 | 6255 | char *_kwnames[] = { "self","line", NULL }; |
f6bcfd97 BP |
6256 | |
6257 | self = self; | |
65ec6247 | 6258 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_GetFoldLevel",_kwnames,&_argo0,&_arg1)) |
f6bcfd97 BP |
6259 | return NULL; |
6260 | if (_argo0) { | |
6261 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6262 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
65ec6247 | 6263 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetFoldLevel. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
6264 | return NULL; |
6265 | } | |
6266 | } | |
6267 | { | |
4268f798 | 6268 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 6269 | _result = (int )wxStyledTextCtrl_GetFoldLevel(_arg0,_arg1); |
f6bcfd97 | 6270 | |
4268f798 RD |
6271 | wxPyEndAllowThreads(__tstate); |
6272 | if (PyErr_Occurred()) return NULL; | |
fe47ec10 | 6273 | } _resultobj = Py_BuildValue("i",_result); |
f6bcfd97 BP |
6274 | return _resultobj; |
6275 | } | |
6276 | ||
65ec6247 RD |
6277 | #define wxStyledTextCtrl_GetLastChild(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetLastChild(_swigarg0,_swigarg1)) |
6278 | static PyObject *_wrap_wxStyledTextCtrl_GetLastChild(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 | 6279 | PyObject * _resultobj; |
65ec6247 | 6280 | int _result; |
f6bcfd97 | 6281 | wxStyledTextCtrl * _arg0; |
fe47ec10 RD |
6282 | int _arg1; |
6283 | int _arg2; | |
f6bcfd97 | 6284 | PyObject * _argo0 = 0; |
65ec6247 | 6285 | char *_kwnames[] = { "self","line","level", NULL }; |
f6bcfd97 BP |
6286 | |
6287 | self = self; | |
65ec6247 | 6288 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxStyledTextCtrl_GetLastChild",_kwnames,&_argo0,&_arg1,&_arg2)) |
f6bcfd97 BP |
6289 | return NULL; |
6290 | if (_argo0) { | |
6291 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6292 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
65ec6247 | 6293 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetLastChild. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
6294 | return NULL; |
6295 | } | |
6296 | } | |
6297 | { | |
4268f798 | 6298 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 6299 | _result = (int )wxStyledTextCtrl_GetLastChild(_arg0,_arg1,_arg2); |
f6bcfd97 | 6300 | |
4268f798 RD |
6301 | wxPyEndAllowThreads(__tstate); |
6302 | if (PyErr_Occurred()) return NULL; | |
65ec6247 | 6303 | } _resultobj = Py_BuildValue("i",_result); |
f6bcfd97 BP |
6304 | return _resultobj; |
6305 | } | |
6306 | ||
65ec6247 RD |
6307 | #define wxStyledTextCtrl_GetFoldParent(_swigobj,_swigarg0) (_swigobj->GetFoldParent(_swigarg0)) |
6308 | static PyObject *_wrap_wxStyledTextCtrl_GetFoldParent(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 | 6309 | PyObject * _resultobj; |
65ec6247 | 6310 | int _result; |
f6bcfd97 BP |
6311 | wxStyledTextCtrl * _arg0; |
6312 | int _arg1; | |
6313 | PyObject * _argo0 = 0; | |
65ec6247 | 6314 | char *_kwnames[] = { "self","line", NULL }; |
f6bcfd97 BP |
6315 | |
6316 | self = self; | |
65ec6247 | 6317 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_GetFoldParent",_kwnames,&_argo0,&_arg1)) |
f6bcfd97 BP |
6318 | return NULL; |
6319 | if (_argo0) { | |
6320 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6321 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
65ec6247 | 6322 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetFoldParent. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
6323 | return NULL; |
6324 | } | |
6325 | } | |
6326 | { | |
4268f798 | 6327 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 6328 | _result = (int )wxStyledTextCtrl_GetFoldParent(_arg0,_arg1); |
f6bcfd97 | 6329 | |
4268f798 RD |
6330 | wxPyEndAllowThreads(__tstate); |
6331 | if (PyErr_Occurred()) return NULL; | |
65ec6247 | 6332 | } _resultobj = Py_BuildValue("i",_result); |
f6bcfd97 BP |
6333 | return _resultobj; |
6334 | } | |
6335 | ||
65ec6247 RD |
6336 | #define wxStyledTextCtrl_ShowLines(_swigobj,_swigarg0,_swigarg1) (_swigobj->ShowLines(_swigarg0,_swigarg1)) |
6337 | static PyObject *_wrap_wxStyledTextCtrl_ShowLines(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 | 6338 | PyObject * _resultobj; |
f6bcfd97 | 6339 | wxStyledTextCtrl * _arg0; |
fe47ec10 | 6340 | int _arg1; |
65ec6247 | 6341 | int _arg2; |
f6bcfd97 | 6342 | PyObject * _argo0 = 0; |
65ec6247 | 6343 | char *_kwnames[] = { "self","lineStart","lineEnd", NULL }; |
f6bcfd97 BP |
6344 | |
6345 | self = self; | |
65ec6247 | 6346 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxStyledTextCtrl_ShowLines",_kwnames,&_argo0,&_arg1,&_arg2)) |
f6bcfd97 BP |
6347 | return NULL; |
6348 | if (_argo0) { | |
6349 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6350 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
65ec6247 | 6351 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_ShowLines. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
6352 | return NULL; |
6353 | } | |
6354 | } | |
6355 | { | |
4268f798 | 6356 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 6357 | wxStyledTextCtrl_ShowLines(_arg0,_arg1,_arg2); |
f6bcfd97 | 6358 | |
4268f798 RD |
6359 | wxPyEndAllowThreads(__tstate); |
6360 | if (PyErr_Occurred()) return NULL; | |
65ec6247 RD |
6361 | } Py_INCREF(Py_None); |
6362 | _resultobj = Py_None; | |
f6bcfd97 BP |
6363 | return _resultobj; |
6364 | } | |
6365 | ||
65ec6247 RD |
6366 | #define wxStyledTextCtrl_HideLines(_swigobj,_swigarg0,_swigarg1) (_swigobj->HideLines(_swigarg0,_swigarg1)) |
6367 | static PyObject *_wrap_wxStyledTextCtrl_HideLines(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 | 6368 | PyObject * _resultobj; |
f6bcfd97 | 6369 | wxStyledTextCtrl * _arg0; |
65ec6247 RD |
6370 | int _arg1; |
6371 | int _arg2; | |
f6bcfd97 | 6372 | PyObject * _argo0 = 0; |
65ec6247 | 6373 | char *_kwnames[] = { "self","lineStart","lineEnd", NULL }; |
f6bcfd97 BP |
6374 | |
6375 | self = self; | |
65ec6247 | 6376 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxStyledTextCtrl_HideLines",_kwnames,&_argo0,&_arg1,&_arg2)) |
f6bcfd97 BP |
6377 | return NULL; |
6378 | if (_argo0) { | |
6379 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6380 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
65ec6247 | 6381 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_HideLines. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
6382 | return NULL; |
6383 | } | |
6384 | } | |
6385 | { | |
4268f798 | 6386 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 6387 | wxStyledTextCtrl_HideLines(_arg0,_arg1,_arg2); |
f6bcfd97 | 6388 | |
4268f798 RD |
6389 | wxPyEndAllowThreads(__tstate); |
6390 | if (PyErr_Occurred()) return NULL; | |
65ec6247 RD |
6391 | } Py_INCREF(Py_None); |
6392 | _resultobj = Py_None; | |
f6bcfd97 BP |
6393 | return _resultobj; |
6394 | } | |
6395 | ||
65ec6247 RD |
6396 | #define wxStyledTextCtrl_GetLineVisible(_swigobj,_swigarg0) (_swigobj->GetLineVisible(_swigarg0)) |
6397 | static PyObject *_wrap_wxStyledTextCtrl_GetLineVisible(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 | 6398 | PyObject * _resultobj; |
65ec6247 | 6399 | bool _result; |
f6bcfd97 | 6400 | wxStyledTextCtrl * _arg0; |
65ec6247 | 6401 | int _arg1; |
f6bcfd97 | 6402 | PyObject * _argo0 = 0; |
65ec6247 | 6403 | char *_kwnames[] = { "self","line", NULL }; |
f6bcfd97 BP |
6404 | |
6405 | self = self; | |
65ec6247 | 6406 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_GetLineVisible",_kwnames,&_argo0,&_arg1)) |
f6bcfd97 BP |
6407 | return NULL; |
6408 | if (_argo0) { | |
6409 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6410 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
65ec6247 | 6411 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetLineVisible. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
6412 | return NULL; |
6413 | } | |
6414 | } | |
6415 | { | |
4268f798 | 6416 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 6417 | _result = (bool )wxStyledTextCtrl_GetLineVisible(_arg0,_arg1); |
f6bcfd97 | 6418 | |
4268f798 RD |
6419 | wxPyEndAllowThreads(__tstate); |
6420 | if (PyErr_Occurred()) return NULL; | |
65ec6247 | 6421 | } _resultobj = Py_BuildValue("i",_result); |
f6bcfd97 BP |
6422 | return _resultobj; |
6423 | } | |
6424 | ||
65ec6247 RD |
6425 | #define wxStyledTextCtrl_SetFoldExpanded(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetFoldExpanded(_swigarg0,_swigarg1)) |
6426 | static PyObject *_wrap_wxStyledTextCtrl_SetFoldExpanded(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 | 6427 | PyObject * _resultobj; |
f6bcfd97 | 6428 | wxStyledTextCtrl * _arg0; |
65ec6247 RD |
6429 | int _arg1; |
6430 | bool _arg2; | |
f6bcfd97 | 6431 | PyObject * _argo0 = 0; |
65ec6247 RD |
6432 | int tempbool2; |
6433 | char *_kwnames[] = { "self","line","expanded", NULL }; | |
f6bcfd97 BP |
6434 | |
6435 | self = self; | |
65ec6247 | 6436 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxStyledTextCtrl_SetFoldExpanded",_kwnames,&_argo0,&_arg1,&tempbool2)) |
f6bcfd97 BP |
6437 | return NULL; |
6438 | if (_argo0) { | |
6439 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6440 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
65ec6247 | 6441 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetFoldExpanded. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
6442 | return NULL; |
6443 | } | |
6444 | } | |
65ec6247 | 6445 | _arg2 = (bool ) tempbool2; |
f6bcfd97 | 6446 | { |
4268f798 | 6447 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 6448 | wxStyledTextCtrl_SetFoldExpanded(_arg0,_arg1,_arg2); |
f6bcfd97 | 6449 | |
4268f798 RD |
6450 | wxPyEndAllowThreads(__tstate); |
6451 | if (PyErr_Occurred()) return NULL; | |
65ec6247 RD |
6452 | } Py_INCREF(Py_None); |
6453 | _resultobj = Py_None; | |
f6bcfd97 BP |
6454 | return _resultobj; |
6455 | } | |
6456 | ||
65ec6247 RD |
6457 | #define wxStyledTextCtrl_GetFoldExpanded(_swigobj,_swigarg0) (_swigobj->GetFoldExpanded(_swigarg0)) |
6458 | static PyObject *_wrap_wxStyledTextCtrl_GetFoldExpanded(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 | 6459 | PyObject * _resultobj; |
65ec6247 | 6460 | bool _result; |
f6bcfd97 | 6461 | wxStyledTextCtrl * _arg0; |
65ec6247 | 6462 | int _arg1; |
f6bcfd97 | 6463 | PyObject * _argo0 = 0; |
65ec6247 | 6464 | char *_kwnames[] = { "self","line", NULL }; |
f6bcfd97 BP |
6465 | |
6466 | self = self; | |
65ec6247 | 6467 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_GetFoldExpanded",_kwnames,&_argo0,&_arg1)) |
f6bcfd97 BP |
6468 | return NULL; |
6469 | if (_argo0) { | |
6470 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6471 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
65ec6247 | 6472 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetFoldExpanded. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
6473 | return NULL; |
6474 | } | |
6475 | } | |
6476 | { | |
4268f798 | 6477 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 6478 | _result = (bool )wxStyledTextCtrl_GetFoldExpanded(_arg0,_arg1); |
f6bcfd97 | 6479 | |
4268f798 RD |
6480 | wxPyEndAllowThreads(__tstate); |
6481 | if (PyErr_Occurred()) return NULL; | |
65ec6247 | 6482 | } _resultobj = Py_BuildValue("i",_result); |
f6bcfd97 BP |
6483 | return _resultobj; |
6484 | } | |
6485 | ||
65ec6247 RD |
6486 | #define wxStyledTextCtrl_ToggleFold(_swigobj,_swigarg0) (_swigobj->ToggleFold(_swigarg0)) |
6487 | static PyObject *_wrap_wxStyledTextCtrl_ToggleFold(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6488 | PyObject * _resultobj; | |
6489 | wxStyledTextCtrl * _arg0; | |
6490 | int _arg1; | |
6491 | PyObject * _argo0 = 0; | |
6492 | char *_kwnames[] = { "self","line", NULL }; | |
6493 | ||
6494 | self = self; | |
6495 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_ToggleFold",_kwnames,&_argo0,&_arg1)) | |
6496 | return NULL; | |
6497 | if (_argo0) { | |
6498 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6499 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
6500 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_ToggleFold. Expected _wxStyledTextCtrl_p."); | |
6501 | return NULL; | |
6502 | } | |
6503 | } | |
6504 | { | |
4268f798 | 6505 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 6506 | wxStyledTextCtrl_ToggleFold(_arg0,_arg1); |
65ec6247 | 6507 | |
4268f798 RD |
6508 | wxPyEndAllowThreads(__tstate); |
6509 | if (PyErr_Occurred()) return NULL; | |
65ec6247 RD |
6510 | } Py_INCREF(Py_None); |
6511 | _resultobj = Py_None; | |
6512 | return _resultobj; | |
6513 | } | |
6514 | ||
6515 | #define wxStyledTextCtrl_EnsureVisible(_swigobj,_swigarg0) (_swigobj->EnsureVisible(_swigarg0)) | |
6516 | static PyObject *_wrap_wxStyledTextCtrl_EnsureVisible(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6517 | PyObject * _resultobj; | |
6518 | wxStyledTextCtrl * _arg0; | |
6519 | int _arg1; | |
6520 | PyObject * _argo0 = 0; | |
6521 | char *_kwnames[] = { "self","line", NULL }; | |
6522 | ||
6523 | self = self; | |
6524 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_EnsureVisible",_kwnames,&_argo0,&_arg1)) | |
6525 | return NULL; | |
6526 | if (_argo0) { | |
6527 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6528 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
6529 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_EnsureVisible. Expected _wxStyledTextCtrl_p."); | |
6530 | return NULL; | |
6531 | } | |
6532 | } | |
6533 | { | |
4268f798 | 6534 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 6535 | wxStyledTextCtrl_EnsureVisible(_arg0,_arg1); |
65ec6247 | 6536 | |
4268f798 RD |
6537 | wxPyEndAllowThreads(__tstate); |
6538 | if (PyErr_Occurred()) return NULL; | |
65ec6247 RD |
6539 | } Py_INCREF(Py_None); |
6540 | _resultobj = Py_None; | |
6541 | return _resultobj; | |
6542 | } | |
6543 | ||
6544 | #define wxStyledTextCtrl_SetFoldFlags(_swigobj,_swigarg0) (_swigobj->SetFoldFlags(_swigarg0)) | |
6545 | static PyObject *_wrap_wxStyledTextCtrl_SetFoldFlags(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6546 | PyObject * _resultobj; | |
6547 | wxStyledTextCtrl * _arg0; | |
6548 | int _arg1; | |
6549 | PyObject * _argo0 = 0; | |
6550 | char *_kwnames[] = { "self","flags", NULL }; | |
6551 | ||
6552 | self = self; | |
6553 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_SetFoldFlags",_kwnames,&_argo0,&_arg1)) | |
6554 | return NULL; | |
6555 | if (_argo0) { | |
6556 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6557 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
6558 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetFoldFlags. Expected _wxStyledTextCtrl_p."); | |
6559 | return NULL; | |
6560 | } | |
6561 | } | |
6562 | { | |
4268f798 | 6563 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 6564 | wxStyledTextCtrl_SetFoldFlags(_arg0,_arg1); |
65ec6247 | 6565 | |
4268f798 RD |
6566 | wxPyEndAllowThreads(__tstate); |
6567 | if (PyErr_Occurred()) return NULL; | |
65ec6247 RD |
6568 | } Py_INCREF(Py_None); |
6569 | _resultobj = Py_None; | |
6570 | return _resultobj; | |
6571 | } | |
6572 | ||
6573 | #define wxStyledTextCtrl_EnsureVisibleEnforcePolicy(_swigobj,_swigarg0) (_swigobj->EnsureVisibleEnforcePolicy(_swigarg0)) | |
6574 | static PyObject *_wrap_wxStyledTextCtrl_EnsureVisibleEnforcePolicy(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6575 | PyObject * _resultobj; | |
6576 | wxStyledTextCtrl * _arg0; | |
6577 | int _arg1; | |
6578 | PyObject * _argo0 = 0; | |
6579 | char *_kwnames[] = { "self","line", NULL }; | |
6580 | ||
6581 | self = self; | |
6582 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_EnsureVisibleEnforcePolicy",_kwnames,&_argo0,&_arg1)) | |
6583 | return NULL; | |
6584 | if (_argo0) { | |
6585 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6586 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
6587 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_EnsureVisibleEnforcePolicy. Expected _wxStyledTextCtrl_p."); | |
6588 | return NULL; | |
6589 | } | |
6590 | } | |
6591 | { | |
4268f798 | 6592 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 6593 | wxStyledTextCtrl_EnsureVisibleEnforcePolicy(_arg0,_arg1); |
65ec6247 | 6594 | |
4268f798 RD |
6595 | wxPyEndAllowThreads(__tstate); |
6596 | if (PyErr_Occurred()) return NULL; | |
65ec6247 RD |
6597 | } Py_INCREF(Py_None); |
6598 | _resultobj = Py_None; | |
6599 | return _resultobj; | |
6600 | } | |
6601 | ||
6602 | #define wxStyledTextCtrl_SetTabIndents(_swigobj,_swigarg0) (_swigobj->SetTabIndents(_swigarg0)) | |
6603 | static PyObject *_wrap_wxStyledTextCtrl_SetTabIndents(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6604 | PyObject * _resultobj; | |
6605 | wxStyledTextCtrl * _arg0; | |
6606 | bool _arg1; | |
6607 | PyObject * _argo0 = 0; | |
6608 | int tempbool1; | |
6609 | char *_kwnames[] = { "self","tabIndents", NULL }; | |
6610 | ||
6611 | self = self; | |
6612 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_SetTabIndents",_kwnames,&_argo0,&tempbool1)) | |
6613 | return NULL; | |
6614 | if (_argo0) { | |
6615 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6616 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
6617 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetTabIndents. Expected _wxStyledTextCtrl_p."); | |
6618 | return NULL; | |
6619 | } | |
6620 | } | |
6621 | _arg1 = (bool ) tempbool1; | |
6622 | { | |
4268f798 | 6623 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 6624 | wxStyledTextCtrl_SetTabIndents(_arg0,_arg1); |
65ec6247 | 6625 | |
4268f798 RD |
6626 | wxPyEndAllowThreads(__tstate); |
6627 | if (PyErr_Occurred()) return NULL; | |
65ec6247 RD |
6628 | } Py_INCREF(Py_None); |
6629 | _resultobj = Py_None; | |
6630 | return _resultobj; | |
6631 | } | |
6632 | ||
6633 | #define wxStyledTextCtrl_GetTabIndents(_swigobj) (_swigobj->GetTabIndents()) | |
6634 | static PyObject *_wrap_wxStyledTextCtrl_GetTabIndents(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6635 | PyObject * _resultobj; | |
6636 | bool _result; | |
6637 | wxStyledTextCtrl * _arg0; | |
6638 | PyObject * _argo0 = 0; | |
6639 | char *_kwnames[] = { "self", NULL }; | |
6640 | ||
6641 | self = self; | |
6642 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetTabIndents",_kwnames,&_argo0)) | |
6643 | return NULL; | |
6644 | if (_argo0) { | |
6645 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6646 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
6647 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetTabIndents. Expected _wxStyledTextCtrl_p."); | |
6648 | return NULL; | |
6649 | } | |
6650 | } | |
6651 | { | |
4268f798 | 6652 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 6653 | _result = (bool )wxStyledTextCtrl_GetTabIndents(_arg0); |
65ec6247 | 6654 | |
4268f798 RD |
6655 | wxPyEndAllowThreads(__tstate); |
6656 | if (PyErr_Occurred()) return NULL; | |
65ec6247 RD |
6657 | } _resultobj = Py_BuildValue("i",_result); |
6658 | return _resultobj; | |
6659 | } | |
6660 | ||
6661 | #define wxStyledTextCtrl_SetBackSpaceUnIndents(_swigobj,_swigarg0) (_swigobj->SetBackSpaceUnIndents(_swigarg0)) | |
6662 | static PyObject *_wrap_wxStyledTextCtrl_SetBackSpaceUnIndents(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6663 | PyObject * _resultobj; | |
6664 | wxStyledTextCtrl * _arg0; | |
6665 | bool _arg1; | |
6666 | PyObject * _argo0 = 0; | |
6667 | int tempbool1; | |
6668 | char *_kwnames[] = { "self","bsUnIndents", NULL }; | |
6669 | ||
6670 | self = self; | |
6671 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_SetBackSpaceUnIndents",_kwnames,&_argo0,&tempbool1)) | |
6672 | return NULL; | |
6673 | if (_argo0) { | |
6674 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6675 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
6676 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetBackSpaceUnIndents. Expected _wxStyledTextCtrl_p."); | |
6677 | return NULL; | |
6678 | } | |
6679 | } | |
6680 | _arg1 = (bool ) tempbool1; | |
6681 | { | |
4268f798 | 6682 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 6683 | wxStyledTextCtrl_SetBackSpaceUnIndents(_arg0,_arg1); |
65ec6247 | 6684 | |
4268f798 RD |
6685 | wxPyEndAllowThreads(__tstate); |
6686 | if (PyErr_Occurred()) return NULL; | |
65ec6247 RD |
6687 | } Py_INCREF(Py_None); |
6688 | _resultobj = Py_None; | |
6689 | return _resultobj; | |
6690 | } | |
6691 | ||
6692 | #define wxStyledTextCtrl_GetBackSpaceUnIndents(_swigobj) (_swigobj->GetBackSpaceUnIndents()) | |
6693 | static PyObject *_wrap_wxStyledTextCtrl_GetBackSpaceUnIndents(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6694 | PyObject * _resultobj; | |
6695 | bool _result; | |
6696 | wxStyledTextCtrl * _arg0; | |
6697 | PyObject * _argo0 = 0; | |
6698 | char *_kwnames[] = { "self", NULL }; | |
6699 | ||
6700 | self = self; | |
6701 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetBackSpaceUnIndents",_kwnames,&_argo0)) | |
6702 | return NULL; | |
6703 | if (_argo0) { | |
6704 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6705 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
6706 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetBackSpaceUnIndents. Expected _wxStyledTextCtrl_p."); | |
6707 | return NULL; | |
6708 | } | |
6709 | } | |
6710 | { | |
4268f798 | 6711 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 6712 | _result = (bool )wxStyledTextCtrl_GetBackSpaceUnIndents(_arg0); |
65ec6247 | 6713 | |
4268f798 RD |
6714 | wxPyEndAllowThreads(__tstate); |
6715 | if (PyErr_Occurred()) return NULL; | |
65ec6247 RD |
6716 | } _resultobj = Py_BuildValue("i",_result); |
6717 | return _resultobj; | |
6718 | } | |
6719 | ||
6720 | #define wxStyledTextCtrl_SetMouseDwellTime(_swigobj,_swigarg0) (_swigobj->SetMouseDwellTime(_swigarg0)) | |
6721 | static PyObject *_wrap_wxStyledTextCtrl_SetMouseDwellTime(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6722 | PyObject * _resultobj; | |
6723 | wxStyledTextCtrl * _arg0; | |
6724 | int _arg1; | |
6725 | PyObject * _argo0 = 0; | |
6726 | char *_kwnames[] = { "self","periodMilliseconds", NULL }; | |
6727 | ||
6728 | self = self; | |
6729 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_SetMouseDwellTime",_kwnames,&_argo0,&_arg1)) | |
6730 | return NULL; | |
6731 | if (_argo0) { | |
6732 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6733 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
6734 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetMouseDwellTime. Expected _wxStyledTextCtrl_p."); | |
6735 | return NULL; | |
6736 | } | |
6737 | } | |
6738 | { | |
4268f798 | 6739 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 6740 | wxStyledTextCtrl_SetMouseDwellTime(_arg0,_arg1); |
65ec6247 | 6741 | |
4268f798 RD |
6742 | wxPyEndAllowThreads(__tstate); |
6743 | if (PyErr_Occurred()) return NULL; | |
65ec6247 RD |
6744 | } Py_INCREF(Py_None); |
6745 | _resultobj = Py_None; | |
6746 | return _resultobj; | |
6747 | } | |
6748 | ||
6749 | #define wxStyledTextCtrl_GetMouseDwellTime(_swigobj) (_swigobj->GetMouseDwellTime()) | |
6750 | static PyObject *_wrap_wxStyledTextCtrl_GetMouseDwellTime(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6751 | PyObject * _resultobj; | |
6752 | int _result; | |
6753 | wxStyledTextCtrl * _arg0; | |
6754 | PyObject * _argo0 = 0; | |
6755 | char *_kwnames[] = { "self", NULL }; | |
6756 | ||
6757 | self = self; | |
6758 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetMouseDwellTime",_kwnames,&_argo0)) | |
6759 | return NULL; | |
6760 | if (_argo0) { | |
6761 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6762 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
6763 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetMouseDwellTime. Expected _wxStyledTextCtrl_p."); | |
6764 | return NULL; | |
6765 | } | |
6766 | } | |
6767 | { | |
4268f798 | 6768 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 6769 | _result = (int )wxStyledTextCtrl_GetMouseDwellTime(_arg0); |
65ec6247 | 6770 | |
4268f798 RD |
6771 | wxPyEndAllowThreads(__tstate); |
6772 | if (PyErr_Occurred()) return NULL; | |
65ec6247 RD |
6773 | } _resultobj = Py_BuildValue("i",_result); |
6774 | return _resultobj; | |
6775 | } | |
6776 | ||
1a2fb4cd RD |
6777 | #define wxStyledTextCtrl_WordStartPosition(_swigobj,_swigarg0,_swigarg1) (_swigobj->WordStartPosition(_swigarg0,_swigarg1)) |
6778 | static PyObject *_wrap_wxStyledTextCtrl_WordStartPosition(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6779 | PyObject * _resultobj; | |
6780 | int _result; | |
6781 | wxStyledTextCtrl * _arg0; | |
6782 | int _arg1; | |
6783 | bool _arg2; | |
6784 | PyObject * _argo0 = 0; | |
6785 | int tempbool2; | |
6786 | char *_kwnames[] = { "self","pos","onlyWordCharacters", NULL }; | |
6787 | ||
6788 | self = self; | |
6789 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxStyledTextCtrl_WordStartPosition",_kwnames,&_argo0,&_arg1,&tempbool2)) | |
6790 | return NULL; | |
6791 | if (_argo0) { | |
6792 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6793 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
6794 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_WordStartPosition. Expected _wxStyledTextCtrl_p."); | |
6795 | return NULL; | |
6796 | } | |
6797 | } | |
6798 | _arg2 = (bool ) tempbool2; | |
6799 | { | |
6800 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6801 | _result = (int )wxStyledTextCtrl_WordStartPosition(_arg0,_arg1,_arg2); | |
6802 | ||
6803 | wxPyEndAllowThreads(__tstate); | |
6804 | if (PyErr_Occurred()) return NULL; | |
6805 | } _resultobj = Py_BuildValue("i",_result); | |
6806 | return _resultobj; | |
6807 | } | |
6808 | ||
6809 | #define wxStyledTextCtrl_WordEndPosition(_swigobj,_swigarg0,_swigarg1) (_swigobj->WordEndPosition(_swigarg0,_swigarg1)) | |
6810 | static PyObject *_wrap_wxStyledTextCtrl_WordEndPosition(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6811 | PyObject * _resultobj; | |
6812 | int _result; | |
6813 | wxStyledTextCtrl * _arg0; | |
6814 | int _arg1; | |
6815 | bool _arg2; | |
6816 | PyObject * _argo0 = 0; | |
6817 | int tempbool2; | |
6818 | char *_kwnames[] = { "self","pos","onlyWordCharacters", NULL }; | |
6819 | ||
6820 | self = self; | |
6821 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxStyledTextCtrl_WordEndPosition",_kwnames,&_argo0,&_arg1,&tempbool2)) | |
6822 | return NULL; | |
6823 | if (_argo0) { | |
6824 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6825 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
6826 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_WordEndPosition. Expected _wxStyledTextCtrl_p."); | |
6827 | return NULL; | |
6828 | } | |
6829 | } | |
6830 | _arg2 = (bool ) tempbool2; | |
6831 | { | |
6832 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6833 | _result = (int )wxStyledTextCtrl_WordEndPosition(_arg0,_arg1,_arg2); | |
6834 | ||
6835 | wxPyEndAllowThreads(__tstate); | |
6836 | if (PyErr_Occurred()) return NULL; | |
6837 | } _resultobj = Py_BuildValue("i",_result); | |
6838 | return _resultobj; | |
6839 | } | |
6840 | ||
6841 | #define wxStyledTextCtrl_SetWrapMode(_swigobj,_swigarg0) (_swigobj->SetWrapMode(_swigarg0)) | |
6842 | static PyObject *_wrap_wxStyledTextCtrl_SetWrapMode(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6843 | PyObject * _resultobj; | |
6844 | wxStyledTextCtrl * _arg0; | |
6845 | int _arg1; | |
6846 | PyObject * _argo0 = 0; | |
6847 | char *_kwnames[] = { "self","mode", NULL }; | |
6848 | ||
6849 | self = self; | |
6850 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_SetWrapMode",_kwnames,&_argo0,&_arg1)) | |
6851 | return NULL; | |
6852 | if (_argo0) { | |
6853 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6854 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
6855 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetWrapMode. Expected _wxStyledTextCtrl_p."); | |
6856 | return NULL; | |
6857 | } | |
6858 | } | |
6859 | { | |
6860 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6861 | wxStyledTextCtrl_SetWrapMode(_arg0,_arg1); | |
6862 | ||
6863 | wxPyEndAllowThreads(__tstate); | |
6864 | if (PyErr_Occurred()) return NULL; | |
6865 | } Py_INCREF(Py_None); | |
6866 | _resultobj = Py_None; | |
6867 | return _resultobj; | |
6868 | } | |
6869 | ||
6870 | #define wxStyledTextCtrl_GetWrapMode(_swigobj) (_swigobj->GetWrapMode()) | |
6871 | static PyObject *_wrap_wxStyledTextCtrl_GetWrapMode(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6872 | PyObject * _resultobj; | |
6873 | int _result; | |
6874 | wxStyledTextCtrl * _arg0; | |
6875 | PyObject * _argo0 = 0; | |
6876 | char *_kwnames[] = { "self", NULL }; | |
6877 | ||
6878 | self = self; | |
6879 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetWrapMode",_kwnames,&_argo0)) | |
6880 | return NULL; | |
6881 | if (_argo0) { | |
6882 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6883 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
6884 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetWrapMode. Expected _wxStyledTextCtrl_p."); | |
6885 | return NULL; | |
6886 | } | |
6887 | } | |
6888 | { | |
6889 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6890 | _result = (int )wxStyledTextCtrl_GetWrapMode(_arg0); | |
6891 | ||
6892 | wxPyEndAllowThreads(__tstate); | |
6893 | if (PyErr_Occurred()) return NULL; | |
6894 | } _resultobj = Py_BuildValue("i",_result); | |
6895 | return _resultobj; | |
6896 | } | |
6897 | ||
6898 | #define wxStyledTextCtrl_SetLayoutCache(_swigobj,_swigarg0) (_swigobj->SetLayoutCache(_swigarg0)) | |
6899 | static PyObject *_wrap_wxStyledTextCtrl_SetLayoutCache(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6900 | PyObject * _resultobj; | |
6901 | wxStyledTextCtrl * _arg0; | |
6902 | int _arg1; | |
6903 | PyObject * _argo0 = 0; | |
6904 | char *_kwnames[] = { "self","mode", NULL }; | |
6905 | ||
6906 | self = self; | |
6907 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_SetLayoutCache",_kwnames,&_argo0,&_arg1)) | |
6908 | return NULL; | |
6909 | if (_argo0) { | |
6910 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6911 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
6912 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetLayoutCache. Expected _wxStyledTextCtrl_p."); | |
6913 | return NULL; | |
6914 | } | |
6915 | } | |
6916 | { | |
6917 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6918 | wxStyledTextCtrl_SetLayoutCache(_arg0,_arg1); | |
6919 | ||
6920 | wxPyEndAllowThreads(__tstate); | |
6921 | if (PyErr_Occurred()) return NULL; | |
6922 | } Py_INCREF(Py_None); | |
6923 | _resultobj = Py_None; | |
6924 | return _resultobj; | |
6925 | } | |
6926 | ||
6927 | #define wxStyledTextCtrl_GetLayoutCache(_swigobj) (_swigobj->GetLayoutCache()) | |
6928 | static PyObject *_wrap_wxStyledTextCtrl_GetLayoutCache(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6929 | PyObject * _resultobj; | |
6930 | int _result; | |
6931 | wxStyledTextCtrl * _arg0; | |
6932 | PyObject * _argo0 = 0; | |
6933 | char *_kwnames[] = { "self", NULL }; | |
6934 | ||
6935 | self = self; | |
6936 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetLayoutCache",_kwnames,&_argo0)) | |
6937 | return NULL; | |
6938 | if (_argo0) { | |
6939 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6940 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
6941 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetLayoutCache. Expected _wxStyledTextCtrl_p."); | |
6942 | return NULL; | |
6943 | } | |
6944 | } | |
6945 | { | |
6946 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6947 | _result = (int )wxStyledTextCtrl_GetLayoutCache(_arg0); | |
6948 | ||
6949 | wxPyEndAllowThreads(__tstate); | |
6950 | if (PyErr_Occurred()) return NULL; | |
6951 | } _resultobj = Py_BuildValue("i",_result); | |
6952 | return _resultobj; | |
6953 | } | |
6954 | ||
65ec6247 RD |
6955 | #define wxStyledTextCtrl_MoveCaretInsideView(_swigobj) (_swigobj->MoveCaretInsideView()) |
6956 | static PyObject *_wrap_wxStyledTextCtrl_MoveCaretInsideView(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6957 | PyObject * _resultobj; | |
6958 | wxStyledTextCtrl * _arg0; | |
6959 | PyObject * _argo0 = 0; | |
6960 | char *_kwnames[] = { "self", NULL }; | |
6961 | ||
6962 | self = self; | |
6963 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_MoveCaretInsideView",_kwnames,&_argo0)) | |
6964 | return NULL; | |
6965 | if (_argo0) { | |
6966 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6967 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
6968 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_MoveCaretInsideView. Expected _wxStyledTextCtrl_p."); | |
6969 | return NULL; | |
6970 | } | |
6971 | } | |
6972 | { | |
4268f798 | 6973 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 6974 | wxStyledTextCtrl_MoveCaretInsideView(_arg0); |
65ec6247 | 6975 | |
4268f798 RD |
6976 | wxPyEndAllowThreads(__tstate); |
6977 | if (PyErr_Occurred()) return NULL; | |
65ec6247 RD |
6978 | } Py_INCREF(Py_None); |
6979 | _resultobj = Py_None; | |
6980 | return _resultobj; | |
6981 | } | |
6982 | ||
6983 | #define wxStyledTextCtrl_LineLength(_swigobj,_swigarg0) (_swigobj->LineLength(_swigarg0)) | |
6984 | static PyObject *_wrap_wxStyledTextCtrl_LineLength(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6985 | PyObject * _resultobj; | |
6986 | int _result; | |
6987 | wxStyledTextCtrl * _arg0; | |
6988 | int _arg1; | |
6989 | PyObject * _argo0 = 0; | |
6990 | char *_kwnames[] = { "self","line", NULL }; | |
6991 | ||
6992 | self = self; | |
6993 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_LineLength",_kwnames,&_argo0,&_arg1)) | |
6994 | return NULL; | |
6995 | if (_argo0) { | |
6996 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6997 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
6998 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_LineLength. Expected _wxStyledTextCtrl_p."); | |
6999 | return NULL; | |
7000 | } | |
7001 | } | |
7002 | { | |
4268f798 | 7003 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 7004 | _result = (int )wxStyledTextCtrl_LineLength(_arg0,_arg1); |
65ec6247 | 7005 | |
4268f798 RD |
7006 | wxPyEndAllowThreads(__tstate); |
7007 | if (PyErr_Occurred()) return NULL; | |
65ec6247 RD |
7008 | } _resultobj = Py_BuildValue("i",_result); |
7009 | return _resultobj; | |
7010 | } | |
7011 | ||
7012 | #define wxStyledTextCtrl_BraceHighlight(_swigobj,_swigarg0,_swigarg1) (_swigobj->BraceHighlight(_swigarg0,_swigarg1)) | |
7013 | static PyObject *_wrap_wxStyledTextCtrl_BraceHighlight(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7014 | PyObject * _resultobj; | |
7015 | wxStyledTextCtrl * _arg0; | |
7016 | int _arg1; | |
7017 | int _arg2; | |
7018 | PyObject * _argo0 = 0; | |
7019 | char *_kwnames[] = { "self","pos1","pos2", NULL }; | |
7020 | ||
7021 | self = self; | |
7022 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxStyledTextCtrl_BraceHighlight",_kwnames,&_argo0,&_arg1,&_arg2)) | |
7023 | return NULL; | |
7024 | if (_argo0) { | |
7025 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7026 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
7027 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_BraceHighlight. Expected _wxStyledTextCtrl_p."); | |
7028 | return NULL; | |
7029 | } | |
7030 | } | |
7031 | { | |
4268f798 | 7032 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 7033 | wxStyledTextCtrl_BraceHighlight(_arg0,_arg1,_arg2); |
65ec6247 | 7034 | |
4268f798 RD |
7035 | wxPyEndAllowThreads(__tstate); |
7036 | if (PyErr_Occurred()) return NULL; | |
65ec6247 RD |
7037 | } Py_INCREF(Py_None); |
7038 | _resultobj = Py_None; | |
7039 | return _resultobj; | |
7040 | } | |
7041 | ||
7042 | #define wxStyledTextCtrl_BraceBadLight(_swigobj,_swigarg0) (_swigobj->BraceBadLight(_swigarg0)) | |
7043 | static PyObject *_wrap_wxStyledTextCtrl_BraceBadLight(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7044 | PyObject * _resultobj; | |
7045 | wxStyledTextCtrl * _arg0; | |
7046 | int _arg1; | |
7047 | PyObject * _argo0 = 0; | |
7048 | char *_kwnames[] = { "self","pos", NULL }; | |
7049 | ||
7050 | self = self; | |
7051 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_BraceBadLight",_kwnames,&_argo0,&_arg1)) | |
7052 | return NULL; | |
7053 | if (_argo0) { | |
7054 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7055 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
7056 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_BraceBadLight. Expected _wxStyledTextCtrl_p."); | |
7057 | return NULL; | |
7058 | } | |
7059 | } | |
7060 | { | |
4268f798 | 7061 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 7062 | wxStyledTextCtrl_BraceBadLight(_arg0,_arg1); |
65ec6247 | 7063 | |
4268f798 RD |
7064 | wxPyEndAllowThreads(__tstate); |
7065 | if (PyErr_Occurred()) return NULL; | |
65ec6247 RD |
7066 | } Py_INCREF(Py_None); |
7067 | _resultobj = Py_None; | |
7068 | return _resultobj; | |
7069 | } | |
7070 | ||
7071 | #define wxStyledTextCtrl_BraceMatch(_swigobj,_swigarg0) (_swigobj->BraceMatch(_swigarg0)) | |
7072 | static PyObject *_wrap_wxStyledTextCtrl_BraceMatch(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7073 | PyObject * _resultobj; | |
7074 | int _result; | |
7075 | wxStyledTextCtrl * _arg0; | |
7076 | int _arg1; | |
7077 | PyObject * _argo0 = 0; | |
7078 | char *_kwnames[] = { "self","pos", NULL }; | |
7079 | ||
7080 | self = self; | |
7081 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_BraceMatch",_kwnames,&_argo0,&_arg1)) | |
7082 | return NULL; | |
7083 | if (_argo0) { | |
7084 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7085 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
7086 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_BraceMatch. Expected _wxStyledTextCtrl_p."); | |
7087 | return NULL; | |
7088 | } | |
7089 | } | |
7090 | { | |
4268f798 | 7091 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 7092 | _result = (int )wxStyledTextCtrl_BraceMatch(_arg0,_arg1); |
65ec6247 | 7093 | |
4268f798 RD |
7094 | wxPyEndAllowThreads(__tstate); |
7095 | if (PyErr_Occurred()) return NULL; | |
65ec6247 RD |
7096 | } _resultobj = Py_BuildValue("i",_result); |
7097 | return _resultobj; | |
7098 | } | |
7099 | ||
7100 | #define wxStyledTextCtrl_GetViewEOL(_swigobj) (_swigobj->GetViewEOL()) | |
7101 | static PyObject *_wrap_wxStyledTextCtrl_GetViewEOL(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7102 | PyObject * _resultobj; | |
7103 | bool _result; | |
7104 | wxStyledTextCtrl * _arg0; | |
7105 | PyObject * _argo0 = 0; | |
7106 | char *_kwnames[] = { "self", NULL }; | |
7107 | ||
7108 | self = self; | |
7109 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetViewEOL",_kwnames,&_argo0)) | |
7110 | return NULL; | |
7111 | if (_argo0) { | |
7112 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7113 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
7114 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetViewEOL. Expected _wxStyledTextCtrl_p."); | |
7115 | return NULL; | |
7116 | } | |
7117 | } | |
7118 | { | |
4268f798 | 7119 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 7120 | _result = (bool )wxStyledTextCtrl_GetViewEOL(_arg0); |
65ec6247 | 7121 | |
4268f798 RD |
7122 | wxPyEndAllowThreads(__tstate); |
7123 | if (PyErr_Occurred()) return NULL; | |
65ec6247 RD |
7124 | } _resultobj = Py_BuildValue("i",_result); |
7125 | return _resultobj; | |
7126 | } | |
7127 | ||
7128 | #define wxStyledTextCtrl_SetViewEOL(_swigobj,_swigarg0) (_swigobj->SetViewEOL(_swigarg0)) | |
7129 | static PyObject *_wrap_wxStyledTextCtrl_SetViewEOL(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7130 | PyObject * _resultobj; | |
7131 | wxStyledTextCtrl * _arg0; | |
7132 | bool _arg1; | |
7133 | PyObject * _argo0 = 0; | |
7134 | int tempbool1; | |
7135 | char *_kwnames[] = { "self","visible", NULL }; | |
7136 | ||
7137 | self = self; | |
7138 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_SetViewEOL",_kwnames,&_argo0,&tempbool1)) | |
7139 | return NULL; | |
7140 | if (_argo0) { | |
7141 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7142 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
7143 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetViewEOL. Expected _wxStyledTextCtrl_p."); | |
7144 | return NULL; | |
7145 | } | |
7146 | } | |
7147 | _arg1 = (bool ) tempbool1; | |
7148 | { | |
4268f798 | 7149 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 7150 | wxStyledTextCtrl_SetViewEOL(_arg0,_arg1); |
65ec6247 | 7151 | |
4268f798 RD |
7152 | wxPyEndAllowThreads(__tstate); |
7153 | if (PyErr_Occurred()) return NULL; | |
65ec6247 RD |
7154 | } Py_INCREF(Py_None); |
7155 | _resultobj = Py_None; | |
7156 | return _resultobj; | |
7157 | } | |
7158 | ||
7159 | #define wxStyledTextCtrl_GetDocPointer(_swigobj) (_swigobj->GetDocPointer()) | |
7160 | static PyObject *_wrap_wxStyledTextCtrl_GetDocPointer(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7161 | PyObject * _resultobj; | |
7162 | void * _result; | |
7163 | wxStyledTextCtrl * _arg0; | |
7164 | PyObject * _argo0 = 0; | |
7165 | char *_kwnames[] = { "self", NULL }; | |
7166 | char _ptemp[128]; | |
7167 | ||
7168 | self = self; | |
7169 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetDocPointer",_kwnames,&_argo0)) | |
7170 | return NULL; | |
7171 | if (_argo0) { | |
7172 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7173 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
7174 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetDocPointer. Expected _wxStyledTextCtrl_p."); | |
7175 | return NULL; | |
7176 | } | |
7177 | } | |
7178 | { | |
4268f798 | 7179 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 7180 | _result = (void *)wxStyledTextCtrl_GetDocPointer(_arg0); |
65ec6247 | 7181 | |
4268f798 RD |
7182 | wxPyEndAllowThreads(__tstate); |
7183 | if (PyErr_Occurred()) return NULL; | |
65ec6247 RD |
7184 | } if (_result) { |
7185 | SWIG_MakePtr(_ptemp, (char *) _result,"_void_p"); | |
7186 | _resultobj = Py_BuildValue("s",_ptemp); | |
7187 | } else { | |
7188 | Py_INCREF(Py_None); | |
7189 | _resultobj = Py_None; | |
7190 | } | |
7191 | return _resultobj; | |
7192 | } | |
7193 | ||
7194 | #define wxStyledTextCtrl_SetDocPointer(_swigobj,_swigarg0) (_swigobj->SetDocPointer(_swigarg0)) | |
7195 | static PyObject *_wrap_wxStyledTextCtrl_SetDocPointer(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7196 | PyObject * _resultobj; | |
7197 | wxStyledTextCtrl * _arg0; | |
7198 | void * _arg1; | |
7199 | PyObject * _argo0 = 0; | |
7200 | PyObject * _argo1 = 0; | |
7201 | char *_kwnames[] = { "self","docPointer", NULL }; | |
7202 | ||
7203 | self = self; | |
7204 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxStyledTextCtrl_SetDocPointer",_kwnames,&_argo0,&_argo1)) | |
7205 | return NULL; | |
7206 | if (_argo0) { | |
7207 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7208 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
7209 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetDocPointer. Expected _wxStyledTextCtrl_p."); | |
7210 | return NULL; | |
7211 | } | |
7212 | } | |
7213 | if (_argo1) { | |
7214 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
7215 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,(char *) 0 )) { | |
7216 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxStyledTextCtrl_SetDocPointer. Expected _void_p."); | |
7217 | return NULL; | |
7218 | } | |
7219 | } | |
7220 | { | |
4268f798 | 7221 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 7222 | wxStyledTextCtrl_SetDocPointer(_arg0,_arg1); |
65ec6247 | 7223 | |
4268f798 RD |
7224 | wxPyEndAllowThreads(__tstate); |
7225 | if (PyErr_Occurred()) return NULL; | |
65ec6247 RD |
7226 | } Py_INCREF(Py_None); |
7227 | _resultobj = Py_None; | |
7228 | return _resultobj; | |
7229 | } | |
7230 | ||
7231 | #define wxStyledTextCtrl_SetModEventMask(_swigobj,_swigarg0) (_swigobj->SetModEventMask(_swigarg0)) | |
fe47ec10 | 7232 | static PyObject *_wrap_wxStyledTextCtrl_SetModEventMask(PyObject *self, PyObject *args, PyObject *kwargs) { |
f6bcfd97 | 7233 | PyObject * _resultobj; |
f6bcfd97 | 7234 | wxStyledTextCtrl * _arg0; |
fe47ec10 | 7235 | int _arg1; |
f6bcfd97 | 7236 | PyObject * _argo0 = 0; |
65ec6247 RD |
7237 | char *_kwnames[] = { "self","mask", NULL }; |
7238 | ||
7239 | self = self; | |
7240 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_SetModEventMask",_kwnames,&_argo0,&_arg1)) | |
7241 | return NULL; | |
7242 | if (_argo0) { | |
7243 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7244 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
7245 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetModEventMask. Expected _wxStyledTextCtrl_p."); | |
7246 | return NULL; | |
7247 | } | |
7248 | } | |
7249 | { | |
4268f798 | 7250 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 7251 | wxStyledTextCtrl_SetModEventMask(_arg0,_arg1); |
65ec6247 | 7252 | |
4268f798 RD |
7253 | wxPyEndAllowThreads(__tstate); |
7254 | if (PyErr_Occurred()) return NULL; | |
65ec6247 RD |
7255 | } Py_INCREF(Py_None); |
7256 | _resultobj = Py_None; | |
7257 | return _resultobj; | |
7258 | } | |
7259 | ||
7260 | #define wxStyledTextCtrl_GetEdgeColumn(_swigobj) (_swigobj->GetEdgeColumn()) | |
7261 | static PyObject *_wrap_wxStyledTextCtrl_GetEdgeColumn(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7262 | PyObject * _resultobj; | |
7263 | int _result; | |
7264 | wxStyledTextCtrl * _arg0; | |
7265 | PyObject * _argo0 = 0; | |
7266 | char *_kwnames[] = { "self", NULL }; | |
7267 | ||
7268 | self = self; | |
7269 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetEdgeColumn",_kwnames,&_argo0)) | |
7270 | return NULL; | |
7271 | if (_argo0) { | |
7272 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7273 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
7274 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetEdgeColumn. Expected _wxStyledTextCtrl_p."); | |
7275 | return NULL; | |
7276 | } | |
7277 | } | |
7278 | { | |
4268f798 | 7279 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 7280 | _result = (int )wxStyledTextCtrl_GetEdgeColumn(_arg0); |
65ec6247 | 7281 | |
4268f798 RD |
7282 | wxPyEndAllowThreads(__tstate); |
7283 | if (PyErr_Occurred()) return NULL; | |
65ec6247 RD |
7284 | } _resultobj = Py_BuildValue("i",_result); |
7285 | return _resultobj; | |
7286 | } | |
7287 | ||
7288 | #define wxStyledTextCtrl_SetEdgeColumn(_swigobj,_swigarg0) (_swigobj->SetEdgeColumn(_swigarg0)) | |
7289 | static PyObject *_wrap_wxStyledTextCtrl_SetEdgeColumn(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7290 | PyObject * _resultobj; | |
7291 | wxStyledTextCtrl * _arg0; | |
7292 | int _arg1; | |
7293 | PyObject * _argo0 = 0; | |
7294 | char *_kwnames[] = { "self","column", NULL }; | |
7295 | ||
7296 | self = self; | |
7297 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_SetEdgeColumn",_kwnames,&_argo0,&_arg1)) | |
7298 | return NULL; | |
7299 | if (_argo0) { | |
7300 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7301 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
7302 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetEdgeColumn. Expected _wxStyledTextCtrl_p."); | |
7303 | return NULL; | |
7304 | } | |
7305 | } | |
7306 | { | |
4268f798 | 7307 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 7308 | wxStyledTextCtrl_SetEdgeColumn(_arg0,_arg1); |
65ec6247 | 7309 | |
4268f798 RD |
7310 | wxPyEndAllowThreads(__tstate); |
7311 | if (PyErr_Occurred()) return NULL; | |
65ec6247 RD |
7312 | } Py_INCREF(Py_None); |
7313 | _resultobj = Py_None; | |
7314 | return _resultobj; | |
7315 | } | |
7316 | ||
7317 | #define wxStyledTextCtrl_GetEdgeMode(_swigobj) (_swigobj->GetEdgeMode()) | |
7318 | static PyObject *_wrap_wxStyledTextCtrl_GetEdgeMode(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7319 | PyObject * _resultobj; | |
7320 | int _result; | |
7321 | wxStyledTextCtrl * _arg0; | |
7322 | PyObject * _argo0 = 0; | |
7323 | char *_kwnames[] = { "self", NULL }; | |
7324 | ||
7325 | self = self; | |
7326 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetEdgeMode",_kwnames,&_argo0)) | |
7327 | return NULL; | |
7328 | if (_argo0) { | |
7329 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7330 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
7331 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetEdgeMode. Expected _wxStyledTextCtrl_p."); | |
7332 | return NULL; | |
7333 | } | |
7334 | } | |
7335 | { | |
4268f798 | 7336 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 7337 | _result = (int )wxStyledTextCtrl_GetEdgeMode(_arg0); |
65ec6247 | 7338 | |
4268f798 RD |
7339 | wxPyEndAllowThreads(__tstate); |
7340 | if (PyErr_Occurred()) return NULL; | |
65ec6247 RD |
7341 | } _resultobj = Py_BuildValue("i",_result); |
7342 | return _resultobj; | |
7343 | } | |
7344 | ||
7345 | #define wxStyledTextCtrl_SetEdgeMode(_swigobj,_swigarg0) (_swigobj->SetEdgeMode(_swigarg0)) | |
7346 | static PyObject *_wrap_wxStyledTextCtrl_SetEdgeMode(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7347 | PyObject * _resultobj; | |
7348 | wxStyledTextCtrl * _arg0; | |
7349 | int _arg1; | |
7350 | PyObject * _argo0 = 0; | |
7351 | char *_kwnames[] = { "self","mode", NULL }; | |
7352 | ||
7353 | self = self; | |
7354 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_SetEdgeMode",_kwnames,&_argo0,&_arg1)) | |
7355 | return NULL; | |
7356 | if (_argo0) { | |
7357 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7358 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
7359 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetEdgeMode. Expected _wxStyledTextCtrl_p."); | |
7360 | return NULL; | |
7361 | } | |
7362 | } | |
7363 | { | |
4268f798 | 7364 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 7365 | wxStyledTextCtrl_SetEdgeMode(_arg0,_arg1); |
65ec6247 | 7366 | |
4268f798 RD |
7367 | wxPyEndAllowThreads(__tstate); |
7368 | if (PyErr_Occurred()) return NULL; | |
65ec6247 RD |
7369 | } Py_INCREF(Py_None); |
7370 | _resultobj = Py_None; | |
7371 | return _resultobj; | |
7372 | } | |
7373 | ||
7374 | #define wxStyledTextCtrl_GetEdgeColour(_swigobj) (_swigobj->GetEdgeColour()) | |
7375 | static PyObject *_wrap_wxStyledTextCtrl_GetEdgeColour(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7376 | PyObject * _resultobj; | |
7377 | wxColour * _result; | |
7378 | wxStyledTextCtrl * _arg0; | |
7379 | PyObject * _argo0 = 0; | |
7380 | char *_kwnames[] = { "self", NULL }; | |
7381 | char _ptemp[128]; | |
7382 | ||
7383 | self = self; | |
7384 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetEdgeColour",_kwnames,&_argo0)) | |
7385 | return NULL; | |
7386 | if (_argo0) { | |
7387 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7388 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
7389 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetEdgeColour. Expected _wxStyledTextCtrl_p."); | |
7390 | return NULL; | |
7391 | } | |
7392 | } | |
7393 | { | |
4268f798 | 7394 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 7395 | _result = new wxColour (wxStyledTextCtrl_GetEdgeColour(_arg0)); |
65ec6247 | 7396 | |
4268f798 RD |
7397 | wxPyEndAllowThreads(__tstate); |
7398 | if (PyErr_Occurred()) return NULL; | |
65ec6247 RD |
7399 | } SWIG_MakePtr(_ptemp, (void *) _result,"_wxColour_p"); |
7400 | _resultobj = Py_BuildValue("s",_ptemp); | |
7401 | return _resultobj; | |
7402 | } | |
7403 | ||
7404 | #define wxStyledTextCtrl_SetEdgeColour(_swigobj,_swigarg0) (_swigobj->SetEdgeColour(_swigarg0)) | |
7405 | static PyObject *_wrap_wxStyledTextCtrl_SetEdgeColour(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7406 | PyObject * _resultobj; | |
7407 | wxStyledTextCtrl * _arg0; | |
7408 | wxColour * _arg1; | |
7409 | PyObject * _argo0 = 0; | |
7410 | wxColour temp; | |
7411 | PyObject * _obj1 = 0; | |
7412 | char *_kwnames[] = { "self","edgeColour", NULL }; | |
7413 | ||
7414 | self = self; | |
7415 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxStyledTextCtrl_SetEdgeColour",_kwnames,&_argo0,&_obj1)) | |
7416 | return NULL; | |
7417 | if (_argo0) { | |
7418 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7419 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
7420 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetEdgeColour. Expected _wxStyledTextCtrl_p."); | |
7421 | return NULL; | |
7422 | } | |
7423 | } | |
7424 | { | |
7425 | _arg1 = &temp; | |
7426 | if (! wxColour_helper(_obj1, &_arg1)) | |
7427 | return NULL; | |
7428 | } | |
7429 | { | |
4268f798 | 7430 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 7431 | wxStyledTextCtrl_SetEdgeColour(_arg0,*_arg1); |
65ec6247 | 7432 | |
4268f798 RD |
7433 | wxPyEndAllowThreads(__tstate); |
7434 | if (PyErr_Occurred()) return NULL; | |
65ec6247 RD |
7435 | } Py_INCREF(Py_None); |
7436 | _resultobj = Py_None; | |
7437 | return _resultobj; | |
7438 | } | |
7439 | ||
7440 | #define wxStyledTextCtrl_SearchAnchor(_swigobj) (_swigobj->SearchAnchor()) | |
7441 | static PyObject *_wrap_wxStyledTextCtrl_SearchAnchor(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7442 | PyObject * _resultobj; | |
7443 | wxStyledTextCtrl * _arg0; | |
7444 | PyObject * _argo0 = 0; | |
7445 | char *_kwnames[] = { "self", NULL }; | |
7446 | ||
7447 | self = self; | |
7448 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_SearchAnchor",_kwnames,&_argo0)) | |
7449 | return NULL; | |
7450 | if (_argo0) { | |
7451 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7452 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
7453 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SearchAnchor. Expected _wxStyledTextCtrl_p."); | |
7454 | return NULL; | |
7455 | } | |
7456 | } | |
7457 | { | |
4268f798 | 7458 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 7459 | wxStyledTextCtrl_SearchAnchor(_arg0); |
65ec6247 | 7460 | |
4268f798 RD |
7461 | wxPyEndAllowThreads(__tstate); |
7462 | if (PyErr_Occurred()) return NULL; | |
65ec6247 RD |
7463 | } Py_INCREF(Py_None); |
7464 | _resultobj = Py_None; | |
7465 | return _resultobj; | |
7466 | } | |
7467 | ||
7468 | #define wxStyledTextCtrl_SearchNext(_swigobj,_swigarg0,_swigarg1) (_swigobj->SearchNext(_swigarg0,_swigarg1)) | |
7469 | static PyObject *_wrap_wxStyledTextCtrl_SearchNext(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7470 | PyObject * _resultobj; | |
7471 | int _result; | |
7472 | wxStyledTextCtrl * _arg0; | |
7473 | int _arg1; | |
7474 | wxString * _arg2; | |
7475 | PyObject * _argo0 = 0; | |
7476 | PyObject * _obj2 = 0; | |
7477 | char *_kwnames[] = { "self","flags","text", NULL }; | |
7478 | ||
7479 | self = self; | |
7480 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxStyledTextCtrl_SearchNext",_kwnames,&_argo0,&_arg1,&_obj2)) | |
7481 | return NULL; | |
7482 | if (_argo0) { | |
7483 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7484 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
7485 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SearchNext. Expected _wxStyledTextCtrl_p."); | |
7486 | return NULL; | |
7487 | } | |
7488 | } | |
7489 | { | |
c8bc7bb8 RD |
7490 | _arg2 = wxString_in_helper(_obj2); |
7491 | if (_arg2 == NULL) | |
65ec6247 | 7492 | return NULL; |
65ec6247 RD |
7493 | } |
7494 | { | |
4268f798 | 7495 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 7496 | _result = (int )wxStyledTextCtrl_SearchNext(_arg0,_arg1,*_arg2); |
65ec6247 | 7497 | |
4268f798 RD |
7498 | wxPyEndAllowThreads(__tstate); |
7499 | if (PyErr_Occurred()) return NULL; | |
65ec6247 RD |
7500 | } _resultobj = Py_BuildValue("i",_result); |
7501 | { | |
7502 | if (_obj2) | |
7503 | delete _arg2; | |
7504 | } | |
7505 | return _resultobj; | |
7506 | } | |
7507 | ||
7508 | #define wxStyledTextCtrl_SearchPrev(_swigobj,_swigarg0,_swigarg1) (_swigobj->SearchPrev(_swigarg0,_swigarg1)) | |
7509 | static PyObject *_wrap_wxStyledTextCtrl_SearchPrev(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7510 | PyObject * _resultobj; | |
7511 | int _result; | |
7512 | wxStyledTextCtrl * _arg0; | |
7513 | int _arg1; | |
7514 | wxString * _arg2; | |
7515 | PyObject * _argo0 = 0; | |
7516 | PyObject * _obj2 = 0; | |
7517 | char *_kwnames[] = { "self","flags","text", NULL }; | |
f6bcfd97 BP |
7518 | |
7519 | self = self; | |
65ec6247 | 7520 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxStyledTextCtrl_SearchPrev",_kwnames,&_argo0,&_arg1,&_obj2)) |
f6bcfd97 BP |
7521 | return NULL; |
7522 | if (_argo0) { | |
7523 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7524 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
65ec6247 RD |
7525 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SearchPrev. Expected _wxStyledTextCtrl_p."); |
7526 | return NULL; | |
7527 | } | |
7528 | } | |
7529 | { | |
c8bc7bb8 RD |
7530 | _arg2 = wxString_in_helper(_obj2); |
7531 | if (_arg2 == NULL) | |
65ec6247 | 7532 | return NULL; |
65ec6247 RD |
7533 | } |
7534 | { | |
4268f798 | 7535 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 7536 | _result = (int )wxStyledTextCtrl_SearchPrev(_arg0,_arg1,*_arg2); |
65ec6247 | 7537 | |
4268f798 RD |
7538 | wxPyEndAllowThreads(__tstate); |
7539 | if (PyErr_Occurred()) return NULL; | |
65ec6247 RD |
7540 | } _resultobj = Py_BuildValue("i",_result); |
7541 | { | |
7542 | if (_obj2) | |
7543 | delete _arg2; | |
7544 | } | |
7545 | return _resultobj; | |
7546 | } | |
7547 | ||
7548 | #define wxStyledTextCtrl_SetCaretPolicy(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetCaretPolicy(_swigarg0,_swigarg1)) | |
7549 | static PyObject *_wrap_wxStyledTextCtrl_SetCaretPolicy(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7550 | PyObject * _resultobj; | |
7551 | wxStyledTextCtrl * _arg0; | |
7552 | int _arg1; | |
7553 | int _arg2; | |
7554 | PyObject * _argo0 = 0; | |
7555 | char *_kwnames[] = { "self","caretPolicy","caretSlop", NULL }; | |
7556 | ||
7557 | self = self; | |
7558 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxStyledTextCtrl_SetCaretPolicy",_kwnames,&_argo0,&_arg1,&_arg2)) | |
7559 | return NULL; | |
7560 | if (_argo0) { | |
7561 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7562 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
7563 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetCaretPolicy. Expected _wxStyledTextCtrl_p."); | |
7564 | return NULL; | |
7565 | } | |
7566 | } | |
7567 | { | |
4268f798 | 7568 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 7569 | wxStyledTextCtrl_SetCaretPolicy(_arg0,_arg1,_arg2); |
65ec6247 | 7570 | |
4268f798 RD |
7571 | wxPyEndAllowThreads(__tstate); |
7572 | if (PyErr_Occurred()) return NULL; | |
65ec6247 RD |
7573 | } Py_INCREF(Py_None); |
7574 | _resultobj = Py_None; | |
7575 | return _resultobj; | |
7576 | } | |
7577 | ||
7578 | #define wxStyledTextCtrl_LinesOnScreen(_swigobj) (_swigobj->LinesOnScreen()) | |
7579 | static PyObject *_wrap_wxStyledTextCtrl_LinesOnScreen(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7580 | PyObject * _resultobj; | |
7581 | int _result; | |
7582 | wxStyledTextCtrl * _arg0; | |
7583 | PyObject * _argo0 = 0; | |
7584 | char *_kwnames[] = { "self", NULL }; | |
7585 | ||
7586 | self = self; | |
7587 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_LinesOnScreen",_kwnames,&_argo0)) | |
7588 | return NULL; | |
7589 | if (_argo0) { | |
7590 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7591 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
7592 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_LinesOnScreen. Expected _wxStyledTextCtrl_p."); | |
7593 | return NULL; | |
7594 | } | |
7595 | } | |
7596 | { | |
4268f798 | 7597 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 7598 | _result = (int )wxStyledTextCtrl_LinesOnScreen(_arg0); |
65ec6247 | 7599 | |
4268f798 RD |
7600 | wxPyEndAllowThreads(__tstate); |
7601 | if (PyErr_Occurred()) return NULL; | |
65ec6247 RD |
7602 | } _resultobj = Py_BuildValue("i",_result); |
7603 | return _resultobj; | |
7604 | } | |
7605 | ||
7606 | #define wxStyledTextCtrl_UsePopUp(_swigobj,_swigarg0) (_swigobj->UsePopUp(_swigarg0)) | |
7607 | static PyObject *_wrap_wxStyledTextCtrl_UsePopUp(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7608 | PyObject * _resultobj; | |
7609 | wxStyledTextCtrl * _arg0; | |
7610 | bool _arg1; | |
7611 | PyObject * _argo0 = 0; | |
7612 | int tempbool1; | |
7613 | char *_kwnames[] = { "self","allowPopUp", NULL }; | |
7614 | ||
7615 | self = self; | |
7616 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_UsePopUp",_kwnames,&_argo0,&tempbool1)) | |
7617 | return NULL; | |
7618 | if (_argo0) { | |
7619 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7620 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
7621 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_UsePopUp. Expected _wxStyledTextCtrl_p."); | |
7622 | return NULL; | |
7623 | } | |
7624 | } | |
7625 | _arg1 = (bool ) tempbool1; | |
7626 | { | |
4268f798 | 7627 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 7628 | wxStyledTextCtrl_UsePopUp(_arg0,_arg1); |
65ec6247 | 7629 | |
4268f798 RD |
7630 | wxPyEndAllowThreads(__tstate); |
7631 | if (PyErr_Occurred()) return NULL; | |
65ec6247 RD |
7632 | } Py_INCREF(Py_None); |
7633 | _resultobj = Py_None; | |
7634 | return _resultobj; | |
7635 | } | |
7636 | ||
7637 | #define wxStyledTextCtrl_SelectionIsRectangle(_swigobj) (_swigobj->SelectionIsRectangle()) | |
7638 | static PyObject *_wrap_wxStyledTextCtrl_SelectionIsRectangle(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7639 | PyObject * _resultobj; | |
7640 | bool _result; | |
7641 | wxStyledTextCtrl * _arg0; | |
7642 | PyObject * _argo0 = 0; | |
7643 | char *_kwnames[] = { "self", NULL }; | |
7644 | ||
7645 | self = self; | |
7646 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_SelectionIsRectangle",_kwnames,&_argo0)) | |
7647 | return NULL; | |
7648 | if (_argo0) { | |
7649 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7650 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
7651 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SelectionIsRectangle. Expected _wxStyledTextCtrl_p."); | |
7652 | return NULL; | |
7653 | } | |
7654 | } | |
7655 | { | |
4268f798 | 7656 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 7657 | _result = (bool )wxStyledTextCtrl_SelectionIsRectangle(_arg0); |
65ec6247 | 7658 | |
4268f798 RD |
7659 | wxPyEndAllowThreads(__tstate); |
7660 | if (PyErr_Occurred()) return NULL; | |
65ec6247 RD |
7661 | } _resultobj = Py_BuildValue("i",_result); |
7662 | return _resultobj; | |
7663 | } | |
7664 | ||
7665 | #define wxStyledTextCtrl_SetZoom(_swigobj,_swigarg0) (_swigobj->SetZoom(_swigarg0)) | |
7666 | static PyObject *_wrap_wxStyledTextCtrl_SetZoom(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7667 | PyObject * _resultobj; | |
7668 | wxStyledTextCtrl * _arg0; | |
7669 | int _arg1; | |
7670 | PyObject * _argo0 = 0; | |
7671 | char *_kwnames[] = { "self","zoom", NULL }; | |
7672 | ||
7673 | self = self; | |
7674 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_SetZoom",_kwnames,&_argo0,&_arg1)) | |
7675 | return NULL; | |
7676 | if (_argo0) { | |
7677 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7678 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
7679 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetZoom. Expected _wxStyledTextCtrl_p."); | |
7680 | return NULL; | |
7681 | } | |
7682 | } | |
7683 | { | |
4268f798 | 7684 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 7685 | wxStyledTextCtrl_SetZoom(_arg0,_arg1); |
65ec6247 | 7686 | |
4268f798 RD |
7687 | wxPyEndAllowThreads(__tstate); |
7688 | if (PyErr_Occurred()) return NULL; | |
65ec6247 RD |
7689 | } Py_INCREF(Py_None); |
7690 | _resultobj = Py_None; | |
7691 | return _resultobj; | |
7692 | } | |
7693 | ||
7694 | #define wxStyledTextCtrl_GetZoom(_swigobj) (_swigobj->GetZoom()) | |
7695 | static PyObject *_wrap_wxStyledTextCtrl_GetZoom(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7696 | PyObject * _resultobj; | |
7697 | int _result; | |
7698 | wxStyledTextCtrl * _arg0; | |
7699 | PyObject * _argo0 = 0; | |
7700 | char *_kwnames[] = { "self", NULL }; | |
7701 | ||
7702 | self = self; | |
7703 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetZoom",_kwnames,&_argo0)) | |
7704 | return NULL; | |
7705 | if (_argo0) { | |
7706 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7707 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
7708 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetZoom. Expected _wxStyledTextCtrl_p."); | |
7709 | return NULL; | |
7710 | } | |
7711 | } | |
7712 | { | |
4268f798 | 7713 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 7714 | _result = (int )wxStyledTextCtrl_GetZoom(_arg0); |
65ec6247 | 7715 | |
4268f798 RD |
7716 | wxPyEndAllowThreads(__tstate); |
7717 | if (PyErr_Occurred()) return NULL; | |
65ec6247 RD |
7718 | } _resultobj = Py_BuildValue("i",_result); |
7719 | return _resultobj; | |
7720 | } | |
7721 | ||
7722 | #define wxStyledTextCtrl_CreateDocument(_swigobj) (_swigobj->CreateDocument()) | |
7723 | static PyObject *_wrap_wxStyledTextCtrl_CreateDocument(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7724 | PyObject * _resultobj; | |
7725 | void * _result; | |
7726 | wxStyledTextCtrl * _arg0; | |
7727 | PyObject * _argo0 = 0; | |
7728 | char *_kwnames[] = { "self", NULL }; | |
7729 | char _ptemp[128]; | |
7730 | ||
7731 | self = self; | |
7732 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_CreateDocument",_kwnames,&_argo0)) | |
7733 | return NULL; | |
7734 | if (_argo0) { | |
7735 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7736 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
7737 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_CreateDocument. Expected _wxStyledTextCtrl_p."); | |
f6bcfd97 BP |
7738 | return NULL; |
7739 | } | |
7740 | } | |
7741 | { | |
4268f798 | 7742 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 7743 | _result = (void *)wxStyledTextCtrl_CreateDocument(_arg0); |
f6bcfd97 | 7744 | |
4268f798 RD |
7745 | wxPyEndAllowThreads(__tstate); |
7746 | if (PyErr_Occurred()) return NULL; | |
65ec6247 RD |
7747 | } if (_result) { |
7748 | SWIG_MakePtr(_ptemp, (char *) _result,"_void_p"); | |
7749 | _resultobj = Py_BuildValue("s",_ptemp); | |
7750 | } else { | |
7751 | Py_INCREF(Py_None); | |
7752 | _resultobj = Py_None; | |
7753 | } | |
f6bcfd97 BP |
7754 | return _resultobj; |
7755 | } | |
7756 | ||
65ec6247 RD |
7757 | #define wxStyledTextCtrl_AddRefDocument(_swigobj,_swigarg0) (_swigobj->AddRefDocument(_swigarg0)) |
7758 | static PyObject *_wrap_wxStyledTextCtrl_AddRefDocument(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 BP |
7759 | PyObject * _resultobj; |
7760 | wxStyledTextCtrl * _arg0; | |
65ec6247 | 7761 | void * _arg1; |
f6bcfd97 | 7762 | PyObject * _argo0 = 0; |
65ec6247 RD |
7763 | PyObject * _argo1 = 0; |
7764 | char *_kwnames[] = { "self","docPointer", NULL }; | |
f6bcfd97 BP |
7765 | |
7766 | self = self; | |
65ec6247 | 7767 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxStyledTextCtrl_AddRefDocument",_kwnames,&_argo0,&_argo1)) |
f6bcfd97 BP |
7768 | return NULL; |
7769 | if (_argo0) { | |
7770 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7771 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
65ec6247 RD |
7772 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_AddRefDocument. Expected _wxStyledTextCtrl_p."); |
7773 | return NULL; | |
7774 | } | |
7775 | } | |
7776 | if (_argo1) { | |
7777 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
7778 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,(char *) 0 )) { | |
7779 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxStyledTextCtrl_AddRefDocument. Expected _void_p."); | |
f6bcfd97 BP |
7780 | return NULL; |
7781 | } | |
7782 | } | |
f6bcfd97 | 7783 | { |
4268f798 | 7784 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 7785 | wxStyledTextCtrl_AddRefDocument(_arg0,_arg1); |
f6bcfd97 | 7786 | |
4268f798 RD |
7787 | wxPyEndAllowThreads(__tstate); |
7788 | if (PyErr_Occurred()) return NULL; | |
65ec6247 RD |
7789 | } Py_INCREF(Py_None); |
7790 | _resultobj = Py_None; | |
f6bcfd97 BP |
7791 | return _resultobj; |
7792 | } | |
7793 | ||
65ec6247 RD |
7794 | #define wxStyledTextCtrl_ReleaseDocument(_swigobj,_swigarg0) (_swigobj->ReleaseDocument(_swigarg0)) |
7795 | static PyObject *_wrap_wxStyledTextCtrl_ReleaseDocument(PyObject *self, PyObject *args, PyObject *kwargs) { | |
fe47ec10 RD |
7796 | PyObject * _resultobj; |
7797 | wxStyledTextCtrl * _arg0; | |
65ec6247 | 7798 | void * _arg1; |
fe47ec10 | 7799 | PyObject * _argo0 = 0; |
65ec6247 RD |
7800 | PyObject * _argo1 = 0; |
7801 | char *_kwnames[] = { "self","docPointer", NULL }; | |
fe47ec10 RD |
7802 | |
7803 | self = self; | |
65ec6247 | 7804 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxStyledTextCtrl_ReleaseDocument",_kwnames,&_argo0,&_argo1)) |
fe47ec10 RD |
7805 | return NULL; |
7806 | if (_argo0) { | |
7807 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7808 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
65ec6247 RD |
7809 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_ReleaseDocument. Expected _wxStyledTextCtrl_p."); |
7810 | return NULL; | |
7811 | } | |
7812 | } | |
7813 | if (_argo1) { | |
7814 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
7815 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,(char *) 0 )) { | |
7816 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxStyledTextCtrl_ReleaseDocument. Expected _void_p."); | |
fe47ec10 RD |
7817 | return NULL; |
7818 | } | |
7819 | } | |
7820 | { | |
4268f798 | 7821 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 7822 | wxStyledTextCtrl_ReleaseDocument(_arg0,_arg1); |
fe47ec10 | 7823 | |
4268f798 RD |
7824 | wxPyEndAllowThreads(__tstate); |
7825 | if (PyErr_Occurred()) return NULL; | |
fe47ec10 RD |
7826 | } Py_INCREF(Py_None); |
7827 | _resultobj = Py_None; | |
7828 | return _resultobj; | |
7829 | } | |
7830 | ||
65ec6247 RD |
7831 | #define wxStyledTextCtrl_GetModEventMask(_swigobj) (_swigobj->GetModEventMask()) |
7832 | static PyObject *_wrap_wxStyledTextCtrl_GetModEventMask(PyObject *self, PyObject *args, PyObject *kwargs) { | |
fe47ec10 RD |
7833 | PyObject * _resultobj; |
7834 | int _result; | |
7835 | wxStyledTextCtrl * _arg0; | |
7836 | PyObject * _argo0 = 0; | |
7837 | char *_kwnames[] = { "self", NULL }; | |
7838 | ||
7839 | self = self; | |
65ec6247 | 7840 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetModEventMask",_kwnames,&_argo0)) |
fe47ec10 RD |
7841 | return NULL; |
7842 | if (_argo0) { | |
7843 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7844 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
65ec6247 | 7845 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetModEventMask. Expected _wxStyledTextCtrl_p."); |
fe47ec10 RD |
7846 | return NULL; |
7847 | } | |
7848 | } | |
7849 | { | |
4268f798 | 7850 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 7851 | _result = (int )wxStyledTextCtrl_GetModEventMask(_arg0); |
fe47ec10 | 7852 | |
4268f798 RD |
7853 | wxPyEndAllowThreads(__tstate); |
7854 | if (PyErr_Occurred()) return NULL; | |
fe47ec10 RD |
7855 | } _resultobj = Py_BuildValue("i",_result); |
7856 | return _resultobj; | |
7857 | } | |
7858 | ||
fea018f8 RD |
7859 | #define wxStyledTextCtrl_SetSTCFocus(_swigobj,_swigarg0) (_swigobj->SetSTCFocus(_swigarg0)) |
7860 | static PyObject *_wrap_wxStyledTextCtrl_SetSTCFocus(PyObject *self, PyObject *args, PyObject *kwargs) { | |
fe47ec10 RD |
7861 | PyObject * _resultobj; |
7862 | wxStyledTextCtrl * _arg0; | |
65ec6247 | 7863 | bool _arg1; |
fe47ec10 | 7864 | PyObject * _argo0 = 0; |
65ec6247 RD |
7865 | int tempbool1; |
7866 | char *_kwnames[] = { "self","focus", NULL }; | |
fe47ec10 RD |
7867 | |
7868 | self = self; | |
fea018f8 | 7869 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_SetSTCFocus",_kwnames,&_argo0,&tempbool1)) |
fe47ec10 RD |
7870 | return NULL; |
7871 | if (_argo0) { | |
7872 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7873 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fea018f8 | 7874 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetSTCFocus. Expected _wxStyledTextCtrl_p."); |
fe47ec10 RD |
7875 | return NULL; |
7876 | } | |
7877 | } | |
65ec6247 | 7878 | _arg1 = (bool ) tempbool1; |
fe47ec10 | 7879 | { |
4268f798 | 7880 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 7881 | wxStyledTextCtrl_SetSTCFocus(_arg0,_arg1); |
fe47ec10 | 7882 | |
4268f798 RD |
7883 | wxPyEndAllowThreads(__tstate); |
7884 | if (PyErr_Occurred()) return NULL; | |
fe47ec10 RD |
7885 | } Py_INCREF(Py_None); |
7886 | _resultobj = Py_None; | |
7887 | return _resultobj; | |
7888 | } | |
7889 | ||
fea018f8 RD |
7890 | #define wxStyledTextCtrl_GetSTCFocus(_swigobj) (_swigobj->GetSTCFocus()) |
7891 | static PyObject *_wrap_wxStyledTextCtrl_GetSTCFocus(PyObject *self, PyObject *args, PyObject *kwargs) { | |
fe47ec10 | 7892 | PyObject * _resultobj; |
65ec6247 | 7893 | bool _result; |
fe47ec10 RD |
7894 | wxStyledTextCtrl * _arg0; |
7895 | PyObject * _argo0 = 0; | |
7896 | char *_kwnames[] = { "self", NULL }; | |
fe47ec10 RD |
7897 | |
7898 | self = self; | |
fea018f8 | 7899 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetSTCFocus",_kwnames,&_argo0)) |
fe47ec10 RD |
7900 | return NULL; |
7901 | if (_argo0) { | |
7902 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7903 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fea018f8 | 7904 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetSTCFocus. Expected _wxStyledTextCtrl_p."); |
fe47ec10 RD |
7905 | return NULL; |
7906 | } | |
7907 | } | |
7908 | { | |
4268f798 | 7909 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 7910 | _result = (bool )wxStyledTextCtrl_GetSTCFocus(_arg0); |
fe47ec10 | 7911 | |
4268f798 RD |
7912 | wxPyEndAllowThreads(__tstate); |
7913 | if (PyErr_Occurred()) return NULL; | |
65ec6247 | 7914 | } _resultobj = Py_BuildValue("i",_result); |
fe47ec10 RD |
7915 | return _resultobj; |
7916 | } | |
7917 | ||
65ec6247 RD |
7918 | #define wxStyledTextCtrl_SetStatus(_swigobj,_swigarg0) (_swigobj->SetStatus(_swigarg0)) |
7919 | static PyObject *_wrap_wxStyledTextCtrl_SetStatus(PyObject *self, PyObject *args, PyObject *kwargs) { | |
fe47ec10 RD |
7920 | PyObject * _resultobj; |
7921 | wxStyledTextCtrl * _arg0; | |
65ec6247 | 7922 | int _arg1; |
fe47ec10 | 7923 | PyObject * _argo0 = 0; |
65ec6247 | 7924 | char *_kwnames[] = { "self","statusCode", NULL }; |
fe47ec10 RD |
7925 | |
7926 | self = self; | |
65ec6247 | 7927 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_SetStatus",_kwnames,&_argo0,&_arg1)) |
fe47ec10 RD |
7928 | return NULL; |
7929 | if (_argo0) { | |
7930 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7931 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
65ec6247 | 7932 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetStatus. Expected _wxStyledTextCtrl_p."); |
fe47ec10 RD |
7933 | return NULL; |
7934 | } | |
7935 | } | |
fe47ec10 | 7936 | { |
4268f798 | 7937 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 7938 | wxStyledTextCtrl_SetStatus(_arg0,_arg1); |
fe47ec10 | 7939 | |
4268f798 RD |
7940 | wxPyEndAllowThreads(__tstate); |
7941 | if (PyErr_Occurred()) return NULL; | |
fe47ec10 RD |
7942 | } Py_INCREF(Py_None); |
7943 | _resultobj = Py_None; | |
7944 | return _resultobj; | |
7945 | } | |
7946 | ||
65ec6247 RD |
7947 | #define wxStyledTextCtrl_GetStatus(_swigobj) (_swigobj->GetStatus()) |
7948 | static PyObject *_wrap_wxStyledTextCtrl_GetStatus(PyObject *self, PyObject *args, PyObject *kwargs) { | |
fe47ec10 | 7949 | PyObject * _resultobj; |
65ec6247 | 7950 | int _result; |
fe47ec10 RD |
7951 | wxStyledTextCtrl * _arg0; |
7952 | PyObject * _argo0 = 0; | |
7953 | char *_kwnames[] = { "self", NULL }; | |
7954 | ||
7955 | self = self; | |
65ec6247 | 7956 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetStatus",_kwnames,&_argo0)) |
fe47ec10 RD |
7957 | return NULL; |
7958 | if (_argo0) { | |
7959 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7960 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
65ec6247 | 7961 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetStatus. Expected _wxStyledTextCtrl_p."); |
fe47ec10 RD |
7962 | return NULL; |
7963 | } | |
7964 | } | |
7965 | { | |
4268f798 | 7966 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 7967 | _result = (int )wxStyledTextCtrl_GetStatus(_arg0); |
fe47ec10 | 7968 | |
4268f798 RD |
7969 | wxPyEndAllowThreads(__tstate); |
7970 | if (PyErr_Occurred()) return NULL; | |
65ec6247 | 7971 | } _resultobj = Py_BuildValue("i",_result); |
fe47ec10 RD |
7972 | return _resultobj; |
7973 | } | |
7974 | ||
65ec6247 RD |
7975 | #define wxStyledTextCtrl_SetMouseDownCaptures(_swigobj,_swigarg0) (_swigobj->SetMouseDownCaptures(_swigarg0)) |
7976 | static PyObject *_wrap_wxStyledTextCtrl_SetMouseDownCaptures(PyObject *self, PyObject *args, PyObject *kwargs) { | |
fe47ec10 | 7977 | PyObject * _resultobj; |
fe47ec10 | 7978 | wxStyledTextCtrl * _arg0; |
65ec6247 | 7979 | bool _arg1; |
fe47ec10 | 7980 | PyObject * _argo0 = 0; |
65ec6247 RD |
7981 | int tempbool1; |
7982 | char *_kwnames[] = { "self","captures", NULL }; | |
fe47ec10 RD |
7983 | |
7984 | self = self; | |
65ec6247 | 7985 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_SetMouseDownCaptures",_kwnames,&_argo0,&tempbool1)) |
fe47ec10 RD |
7986 | return NULL; |
7987 | if (_argo0) { | |
7988 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7989 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
65ec6247 | 7990 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetMouseDownCaptures. Expected _wxStyledTextCtrl_p."); |
fe47ec10 RD |
7991 | return NULL; |
7992 | } | |
7993 | } | |
65ec6247 | 7994 | _arg1 = (bool ) tempbool1; |
fe47ec10 | 7995 | { |
4268f798 | 7996 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 7997 | wxStyledTextCtrl_SetMouseDownCaptures(_arg0,_arg1); |
fe47ec10 | 7998 | |
4268f798 RD |
7999 | wxPyEndAllowThreads(__tstate); |
8000 | if (PyErr_Occurred()) return NULL; | |
65ec6247 RD |
8001 | } Py_INCREF(Py_None); |
8002 | _resultobj = Py_None; | |
fe47ec10 RD |
8003 | return _resultobj; |
8004 | } | |
8005 | ||
65ec6247 RD |
8006 | #define wxStyledTextCtrl_GetMouseDownCaptures(_swigobj) (_swigobj->GetMouseDownCaptures()) |
8007 | static PyObject *_wrap_wxStyledTextCtrl_GetMouseDownCaptures(PyObject *self, PyObject *args, PyObject *kwargs) { | |
fe47ec10 | 8008 | PyObject * _resultobj; |
65ec6247 | 8009 | bool _result; |
fe47ec10 | 8010 | wxStyledTextCtrl * _arg0; |
fe47ec10 | 8011 | PyObject * _argo0 = 0; |
65ec6247 | 8012 | char *_kwnames[] = { "self", NULL }; |
fe47ec10 RD |
8013 | |
8014 | self = self; | |
65ec6247 | 8015 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetMouseDownCaptures",_kwnames,&_argo0)) |
fe47ec10 RD |
8016 | return NULL; |
8017 | if (_argo0) { | |
8018 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
8019 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
65ec6247 | 8020 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetMouseDownCaptures. Expected _wxStyledTextCtrl_p."); |
fe47ec10 RD |
8021 | return NULL; |
8022 | } | |
8023 | } | |
fe47ec10 | 8024 | { |
4268f798 | 8025 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 8026 | _result = (bool )wxStyledTextCtrl_GetMouseDownCaptures(_arg0); |
fe47ec10 | 8027 | |
4268f798 RD |
8028 | wxPyEndAllowThreads(__tstate); |
8029 | if (PyErr_Occurred()) return NULL; | |
fe47ec10 | 8030 | } _resultobj = Py_BuildValue("i",_result); |
fe47ec10 RD |
8031 | return _resultobj; |
8032 | } | |
8033 | ||
65ec6247 RD |
8034 | #define wxStyledTextCtrl_SetCursor(_swigobj,_swigarg0) (_swigobj->SetCursor(_swigarg0)) |
8035 | static PyObject *_wrap_wxStyledTextCtrl_SetCursor(PyObject *self, PyObject *args, PyObject *kwargs) { | |
fe47ec10 RD |
8036 | PyObject * _resultobj; |
8037 | wxStyledTextCtrl * _arg0; | |
8038 | int _arg1; | |
fe47ec10 | 8039 | PyObject * _argo0 = 0; |
65ec6247 | 8040 | char *_kwnames[] = { "self","cursorType", NULL }; |
fe47ec10 RD |
8041 | |
8042 | self = self; | |
65ec6247 | 8043 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_SetCursor",_kwnames,&_argo0,&_arg1)) |
fe47ec10 RD |
8044 | return NULL; |
8045 | if (_argo0) { | |
8046 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
8047 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
65ec6247 | 8048 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetCursor. Expected _wxStyledTextCtrl_p."); |
fe47ec10 RD |
8049 | return NULL; |
8050 | } | |
8051 | } | |
8052 | { | |
4268f798 | 8053 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 8054 | wxStyledTextCtrl_SetCursor(_arg0,_arg1); |
fe47ec10 | 8055 | |
4268f798 RD |
8056 | wxPyEndAllowThreads(__tstate); |
8057 | if (PyErr_Occurred()) return NULL; | |
fe47ec10 RD |
8058 | } Py_INCREF(Py_None); |
8059 | _resultobj = Py_None; | |
8060 | return _resultobj; | |
8061 | } | |
8062 | ||
65ec6247 RD |
8063 | #define wxStyledTextCtrl_GetCursor(_swigobj) (_swigobj->GetCursor()) |
8064 | static PyObject *_wrap_wxStyledTextCtrl_GetCursor(PyObject *self, PyObject *args, PyObject *kwargs) { | |
fe47ec10 RD |
8065 | PyObject * _resultobj; |
8066 | int _result; | |
8067 | wxStyledTextCtrl * _arg0; | |
8068 | PyObject * _argo0 = 0; | |
8069 | char *_kwnames[] = { "self", NULL }; | |
8070 | ||
8071 | self = self; | |
65ec6247 | 8072 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetCursor",_kwnames,&_argo0)) |
fe47ec10 RD |
8073 | return NULL; |
8074 | if (_argo0) { | |
8075 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
8076 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
65ec6247 | 8077 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetCursor. Expected _wxStyledTextCtrl_p."); |
fe47ec10 RD |
8078 | return NULL; |
8079 | } | |
8080 | } | |
8081 | { | |
4268f798 | 8082 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 8083 | _result = (int )wxStyledTextCtrl_GetCursor(_arg0); |
fe47ec10 | 8084 | |
4268f798 RD |
8085 | wxPyEndAllowThreads(__tstate); |
8086 | if (PyErr_Occurred()) return NULL; | |
fe47ec10 RD |
8087 | } _resultobj = Py_BuildValue("i",_result); |
8088 | return _resultobj; | |
8089 | } | |
8090 | ||
1a2fb4cd RD |
8091 | #define wxStyledTextCtrl_SetControlCharSymbol(_swigobj,_swigarg0) (_swigobj->SetControlCharSymbol(_swigarg0)) |
8092 | static PyObject *_wrap_wxStyledTextCtrl_SetControlCharSymbol(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8093 | PyObject * _resultobj; | |
8094 | wxStyledTextCtrl * _arg0; | |
8095 | int _arg1; | |
8096 | PyObject * _argo0 = 0; | |
8097 | char *_kwnames[] = { "self","symbol", NULL }; | |
8098 | ||
8099 | self = self; | |
8100 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_SetControlCharSymbol",_kwnames,&_argo0,&_arg1)) | |
8101 | return NULL; | |
8102 | if (_argo0) { | |
8103 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
8104 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
8105 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetControlCharSymbol. Expected _wxStyledTextCtrl_p."); | |
8106 | return NULL; | |
8107 | } | |
8108 | } | |
8109 | { | |
8110 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8111 | wxStyledTextCtrl_SetControlCharSymbol(_arg0,_arg1); | |
8112 | ||
8113 | wxPyEndAllowThreads(__tstate); | |
8114 | if (PyErr_Occurred()) return NULL; | |
8115 | } Py_INCREF(Py_None); | |
8116 | _resultobj = Py_None; | |
8117 | return _resultobj; | |
8118 | } | |
8119 | ||
8120 | #define wxStyledTextCtrl_GetControlCharSymbol(_swigobj) (_swigobj->GetControlCharSymbol()) | |
8121 | static PyObject *_wrap_wxStyledTextCtrl_GetControlCharSymbol(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8122 | PyObject * _resultobj; | |
8123 | int _result; | |
8124 | wxStyledTextCtrl * _arg0; | |
8125 | PyObject * _argo0 = 0; | |
8126 | char *_kwnames[] = { "self", NULL }; | |
8127 | ||
8128 | self = self; | |
8129 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetControlCharSymbol",_kwnames,&_argo0)) | |
8130 | return NULL; | |
8131 | if (_argo0) { | |
8132 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
8133 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
8134 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetControlCharSymbol. Expected _wxStyledTextCtrl_p."); | |
8135 | return NULL; | |
8136 | } | |
8137 | } | |
8138 | { | |
8139 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8140 | _result = (int )wxStyledTextCtrl_GetControlCharSymbol(_arg0); | |
8141 | ||
8142 | wxPyEndAllowThreads(__tstate); | |
8143 | if (PyErr_Occurred()) return NULL; | |
8144 | } _resultobj = Py_BuildValue("i",_result); | |
8145 | return _resultobj; | |
8146 | } | |
8147 | ||
65ec6247 RD |
8148 | #define wxStyledTextCtrl_WordPartLeft(_swigobj) (_swigobj->WordPartLeft()) |
8149 | static PyObject *_wrap_wxStyledTextCtrl_WordPartLeft(PyObject *self, PyObject *args, PyObject *kwargs) { | |
fe47ec10 RD |
8150 | PyObject * _resultobj; |
8151 | wxStyledTextCtrl * _arg0; | |
fe47ec10 | 8152 | PyObject * _argo0 = 0; |
65ec6247 | 8153 | char *_kwnames[] = { "self", NULL }; |
fe47ec10 RD |
8154 | |
8155 | self = self; | |
65ec6247 | 8156 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_WordPartLeft",_kwnames,&_argo0)) |
fe47ec10 RD |
8157 | return NULL; |
8158 | if (_argo0) { | |
8159 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
8160 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
65ec6247 | 8161 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_WordPartLeft. Expected _wxStyledTextCtrl_p."); |
fe47ec10 RD |
8162 | return NULL; |
8163 | } | |
8164 | } | |
fe47ec10 | 8165 | { |
4268f798 | 8166 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 8167 | wxStyledTextCtrl_WordPartLeft(_arg0); |
fe47ec10 | 8168 | |
4268f798 RD |
8169 | wxPyEndAllowThreads(__tstate); |
8170 | if (PyErr_Occurred()) return NULL; | |
fe47ec10 RD |
8171 | } Py_INCREF(Py_None); |
8172 | _resultobj = Py_None; | |
8173 | return _resultobj; | |
8174 | } | |
8175 | ||
65ec6247 RD |
8176 | #define wxStyledTextCtrl_WordPartLeftExtend(_swigobj) (_swigobj->WordPartLeftExtend()) |
8177 | static PyObject *_wrap_wxStyledTextCtrl_WordPartLeftExtend(PyObject *self, PyObject *args, PyObject *kwargs) { | |
fe47ec10 | 8178 | PyObject * _resultobj; |
fe47ec10 RD |
8179 | wxStyledTextCtrl * _arg0; |
8180 | PyObject * _argo0 = 0; | |
8181 | char *_kwnames[] = { "self", NULL }; | |
8182 | ||
8183 | self = self; | |
65ec6247 | 8184 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_WordPartLeftExtend",_kwnames,&_argo0)) |
fe47ec10 RD |
8185 | return NULL; |
8186 | if (_argo0) { | |
8187 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
8188 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
65ec6247 | 8189 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_WordPartLeftExtend. Expected _wxStyledTextCtrl_p."); |
fe47ec10 RD |
8190 | return NULL; |
8191 | } | |
8192 | } | |
8193 | { | |
4268f798 | 8194 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 8195 | wxStyledTextCtrl_WordPartLeftExtend(_arg0); |
fe47ec10 | 8196 | |
4268f798 RD |
8197 | wxPyEndAllowThreads(__tstate); |
8198 | if (PyErr_Occurred()) return NULL; | |
fe47ec10 RD |
8199 | } Py_INCREF(Py_None); |
8200 | _resultobj = Py_None; | |
8201 | return _resultobj; | |
8202 | } | |
8203 | ||
65ec6247 RD |
8204 | #define wxStyledTextCtrl_WordPartRight(_swigobj) (_swigobj->WordPartRight()) |
8205 | static PyObject *_wrap_wxStyledTextCtrl_WordPartRight(PyObject *self, PyObject *args, PyObject *kwargs) { | |
fe47ec10 | 8206 | PyObject * _resultobj; |
fe47ec10 RD |
8207 | wxStyledTextCtrl * _arg0; |
8208 | PyObject * _argo0 = 0; | |
8209 | char *_kwnames[] = { "self", NULL }; | |
8210 | ||
8211 | self = self; | |
65ec6247 | 8212 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_WordPartRight",_kwnames,&_argo0)) |
fe47ec10 RD |
8213 | return NULL; |
8214 | if (_argo0) { | |
8215 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
8216 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
65ec6247 | 8217 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_WordPartRight. Expected _wxStyledTextCtrl_p."); |
fe47ec10 RD |
8218 | return NULL; |
8219 | } | |
8220 | } | |
8221 | { | |
4268f798 | 8222 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 8223 | wxStyledTextCtrl_WordPartRight(_arg0); |
fe47ec10 | 8224 | |
4268f798 RD |
8225 | wxPyEndAllowThreads(__tstate); |
8226 | if (PyErr_Occurred()) return NULL; | |
65ec6247 RD |
8227 | } Py_INCREF(Py_None); |
8228 | _resultobj = Py_None; | |
fe47ec10 RD |
8229 | return _resultobj; |
8230 | } | |
8231 | ||
65ec6247 RD |
8232 | #define wxStyledTextCtrl_WordPartRightExtend(_swigobj) (_swigobj->WordPartRightExtend()) |
8233 | static PyObject *_wrap_wxStyledTextCtrl_WordPartRightExtend(PyObject *self, PyObject *args, PyObject *kwargs) { | |
fe47ec10 | 8234 | PyObject * _resultobj; |
fe47ec10 RD |
8235 | wxStyledTextCtrl * _arg0; |
8236 | PyObject * _argo0 = 0; | |
8237 | char *_kwnames[] = { "self", NULL }; | |
fe47ec10 RD |
8238 | |
8239 | self = self; | |
65ec6247 | 8240 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_WordPartRightExtend",_kwnames,&_argo0)) |
fe47ec10 RD |
8241 | return NULL; |
8242 | if (_argo0) { | |
8243 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
8244 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
65ec6247 | 8245 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_WordPartRightExtend. Expected _wxStyledTextCtrl_p."); |
fe47ec10 RD |
8246 | return NULL; |
8247 | } | |
8248 | } | |
8249 | { | |
4268f798 | 8250 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 8251 | wxStyledTextCtrl_WordPartRightExtend(_arg0); |
fe47ec10 | 8252 | |
4268f798 RD |
8253 | wxPyEndAllowThreads(__tstate); |
8254 | if (PyErr_Occurred()) return NULL; | |
65ec6247 RD |
8255 | } Py_INCREF(Py_None); |
8256 | _resultobj = Py_None; | |
fe47ec10 RD |
8257 | return _resultobj; |
8258 | } | |
8259 | ||
65ec6247 RD |
8260 | #define wxStyledTextCtrl_SetVisiblePolicy(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetVisiblePolicy(_swigarg0,_swigarg1)) |
8261 | static PyObject *_wrap_wxStyledTextCtrl_SetVisiblePolicy(PyObject *self, PyObject *args, PyObject *kwargs) { | |
fe47ec10 RD |
8262 | PyObject * _resultobj; |
8263 | wxStyledTextCtrl * _arg0; | |
65ec6247 RD |
8264 | int _arg1; |
8265 | int _arg2; | |
fe47ec10 | 8266 | PyObject * _argo0 = 0; |
65ec6247 | 8267 | char *_kwnames[] = { "self","visiblePolicy","visibleSlop", NULL }; |
fe47ec10 RD |
8268 | |
8269 | self = self; | |
65ec6247 | 8270 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxStyledTextCtrl_SetVisiblePolicy",_kwnames,&_argo0,&_arg1,&_arg2)) |
fe47ec10 RD |
8271 | return NULL; |
8272 | if (_argo0) { | |
8273 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
8274 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
65ec6247 | 8275 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetVisiblePolicy. Expected _wxStyledTextCtrl_p."); |
fe47ec10 RD |
8276 | return NULL; |
8277 | } | |
8278 | } | |
8279 | { | |
4268f798 | 8280 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 8281 | wxStyledTextCtrl_SetVisiblePolicy(_arg0,_arg1,_arg2); |
fe47ec10 | 8282 | |
4268f798 RD |
8283 | wxPyEndAllowThreads(__tstate); |
8284 | if (PyErr_Occurred()) return NULL; | |
fe47ec10 RD |
8285 | } Py_INCREF(Py_None); |
8286 | _resultobj = Py_None; | |
8287 | return _resultobj; | |
8288 | } | |
8289 | ||
65ec6247 RD |
8290 | #define wxStyledTextCtrl_DelLineLeft(_swigobj) (_swigobj->DelLineLeft()) |
8291 | static PyObject *_wrap_wxStyledTextCtrl_DelLineLeft(PyObject *self, PyObject *args, PyObject *kwargs) { | |
fe47ec10 RD |
8292 | PyObject * _resultobj; |
8293 | wxStyledTextCtrl * _arg0; | |
fe47ec10 | 8294 | PyObject * _argo0 = 0; |
65ec6247 | 8295 | char *_kwnames[] = { "self", NULL }; |
fe47ec10 RD |
8296 | |
8297 | self = self; | |
65ec6247 | 8298 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_DelLineLeft",_kwnames,&_argo0)) |
fe47ec10 RD |
8299 | return NULL; |
8300 | if (_argo0) { | |
8301 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
8302 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
65ec6247 | 8303 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_DelLineLeft. Expected _wxStyledTextCtrl_p."); |
fe47ec10 RD |
8304 | return NULL; |
8305 | } | |
8306 | } | |
8307 | { | |
4268f798 | 8308 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 8309 | wxStyledTextCtrl_DelLineLeft(_arg0); |
fe47ec10 | 8310 | |
4268f798 RD |
8311 | wxPyEndAllowThreads(__tstate); |
8312 | if (PyErr_Occurred()) return NULL; | |
fe47ec10 RD |
8313 | } Py_INCREF(Py_None); |
8314 | _resultobj = Py_None; | |
8315 | return _resultobj; | |
8316 | } | |
8317 | ||
65ec6247 RD |
8318 | #define wxStyledTextCtrl_DelLineRight(_swigobj) (_swigobj->DelLineRight()) |
8319 | static PyObject *_wrap_wxStyledTextCtrl_DelLineRight(PyObject *self, PyObject *args, PyObject *kwargs) { | |
fe47ec10 | 8320 | PyObject * _resultobj; |
fe47ec10 RD |
8321 | wxStyledTextCtrl * _arg0; |
8322 | PyObject * _argo0 = 0; | |
8323 | char *_kwnames[] = { "self", NULL }; | |
8324 | ||
8325 | self = self; | |
65ec6247 | 8326 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_DelLineRight",_kwnames,&_argo0)) |
fe47ec10 RD |
8327 | return NULL; |
8328 | if (_argo0) { | |
8329 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
8330 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
65ec6247 | 8331 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_DelLineRight. Expected _wxStyledTextCtrl_p."); |
fe47ec10 RD |
8332 | return NULL; |
8333 | } | |
8334 | } | |
8335 | { | |
4268f798 | 8336 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 8337 | wxStyledTextCtrl_DelLineRight(_arg0); |
fe47ec10 | 8338 | |
4268f798 RD |
8339 | wxPyEndAllowThreads(__tstate); |
8340 | if (PyErr_Occurred()) return NULL; | |
65ec6247 RD |
8341 | } Py_INCREF(Py_None); |
8342 | _resultobj = Py_None; | |
fe47ec10 RD |
8343 | return _resultobj; |
8344 | } | |
8345 | ||
1a2fb4cd RD |
8346 | #define wxStyledTextCtrl_SetXOffset(_swigobj,_swigarg0) (_swigobj->SetXOffset(_swigarg0)) |
8347 | static PyObject *_wrap_wxStyledTextCtrl_SetXOffset(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8348 | PyObject * _resultobj; | |
8349 | wxStyledTextCtrl * _arg0; | |
8350 | int _arg1; | |
8351 | PyObject * _argo0 = 0; | |
8352 | char *_kwnames[] = { "self","newOffset", NULL }; | |
8353 | ||
8354 | self = self; | |
8355 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_SetXOffset",_kwnames,&_argo0,&_arg1)) | |
8356 | return NULL; | |
8357 | if (_argo0) { | |
8358 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
8359 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
8360 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetXOffset. Expected _wxStyledTextCtrl_p."); | |
8361 | return NULL; | |
8362 | } | |
8363 | } | |
8364 | { | |
8365 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8366 | wxStyledTextCtrl_SetXOffset(_arg0,_arg1); | |
8367 | ||
8368 | wxPyEndAllowThreads(__tstate); | |
8369 | if (PyErr_Occurred()) return NULL; | |
8370 | } Py_INCREF(Py_None); | |
8371 | _resultobj = Py_None; | |
8372 | return _resultobj; | |
8373 | } | |
8374 | ||
8375 | #define wxStyledTextCtrl_GetXOffset(_swigobj) (_swigobj->GetXOffset()) | |
8376 | static PyObject *_wrap_wxStyledTextCtrl_GetXOffset(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8377 | PyObject * _resultobj; | |
8378 | int _result; | |
8379 | wxStyledTextCtrl * _arg0; | |
8380 | PyObject * _argo0 = 0; | |
8381 | char *_kwnames[] = { "self", NULL }; | |
8382 | ||
8383 | self = self; | |
8384 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetXOffset",_kwnames,&_argo0)) | |
8385 | return NULL; | |
8386 | if (_argo0) { | |
8387 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
8388 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
8389 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetXOffset. Expected _wxStyledTextCtrl_p."); | |
8390 | return NULL; | |
8391 | } | |
8392 | } | |
8393 | { | |
8394 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8395 | _result = (int )wxStyledTextCtrl_GetXOffset(_arg0); | |
8396 | ||
8397 | wxPyEndAllowThreads(__tstate); | |
8398 | if (PyErr_Occurred()) return NULL; | |
8399 | } _resultobj = Py_BuildValue("i",_result); | |
8400 | return _resultobj; | |
8401 | } | |
8402 | ||
fe47ec10 RD |
8403 | #define wxStyledTextCtrl_StartRecord(_swigobj) (_swigobj->StartRecord()) |
8404 | static PyObject *_wrap_wxStyledTextCtrl_StartRecord(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8405 | PyObject * _resultobj; | |
8406 | wxStyledTextCtrl * _arg0; | |
8407 | PyObject * _argo0 = 0; | |
8408 | char *_kwnames[] = { "self", NULL }; | |
8409 | ||
8410 | self = self; | |
8411 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_StartRecord",_kwnames,&_argo0)) | |
8412 | return NULL; | |
8413 | if (_argo0) { | |
8414 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
8415 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
8416 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_StartRecord. Expected _wxStyledTextCtrl_p."); | |
8417 | return NULL; | |
8418 | } | |
8419 | } | |
8420 | { | |
4268f798 | 8421 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 8422 | wxStyledTextCtrl_StartRecord(_arg0); |
fe47ec10 | 8423 | |
4268f798 RD |
8424 | wxPyEndAllowThreads(__tstate); |
8425 | if (PyErr_Occurred()) return NULL; | |
fe47ec10 RD |
8426 | } Py_INCREF(Py_None); |
8427 | _resultobj = Py_None; | |
8428 | return _resultobj; | |
8429 | } | |
8430 | ||
8431 | #define wxStyledTextCtrl_StopRecord(_swigobj) (_swigobj->StopRecord()) | |
8432 | static PyObject *_wrap_wxStyledTextCtrl_StopRecord(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8433 | PyObject * _resultobj; | |
8434 | wxStyledTextCtrl * _arg0; | |
8435 | PyObject * _argo0 = 0; | |
8436 | char *_kwnames[] = { "self", NULL }; | |
8437 | ||
8438 | self = self; | |
8439 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_StopRecord",_kwnames,&_argo0)) | |
8440 | return NULL; | |
8441 | if (_argo0) { | |
8442 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
8443 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
8444 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_StopRecord. Expected _wxStyledTextCtrl_p."); | |
8445 | return NULL; | |
8446 | } | |
8447 | } | |
8448 | { | |
4268f798 | 8449 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 8450 | wxStyledTextCtrl_StopRecord(_arg0); |
fe47ec10 | 8451 | |
4268f798 RD |
8452 | wxPyEndAllowThreads(__tstate); |
8453 | if (PyErr_Occurred()) return NULL; | |
fe47ec10 RD |
8454 | } Py_INCREF(Py_None); |
8455 | _resultobj = Py_None; | |
8456 | return _resultobj; | |
8457 | } | |
8458 | ||
8459 | #define wxStyledTextCtrl_SetLexer(_swigobj,_swigarg0) (_swigobj->SetLexer(_swigarg0)) | |
8460 | static PyObject *_wrap_wxStyledTextCtrl_SetLexer(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 BP |
8461 | PyObject * _resultobj; |
8462 | wxStyledTextCtrl * _arg0; | |
fe47ec10 | 8463 | int _arg1; |
f6bcfd97 BP |
8464 | PyObject * _argo0 = 0; |
8465 | char *_kwnames[] = { "self","lexer", NULL }; | |
8466 | ||
8467 | self = self; | |
8468 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_SetLexer",_kwnames,&_argo0,&_arg1)) | |
8469 | return NULL; | |
8470 | if (_argo0) { | |
8471 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
8472 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
8473 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetLexer. Expected _wxStyledTextCtrl_p."); | |
8474 | return NULL; | |
8475 | } | |
8476 | } | |
8477 | { | |
4268f798 | 8478 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 8479 | wxStyledTextCtrl_SetLexer(_arg0,_arg1); |
f6bcfd97 | 8480 | |
4268f798 RD |
8481 | wxPyEndAllowThreads(__tstate); |
8482 | if (PyErr_Occurred()) return NULL; | |
f6bcfd97 BP |
8483 | } Py_INCREF(Py_None); |
8484 | _resultobj = Py_None; | |
8485 | return _resultobj; | |
8486 | } | |
8487 | ||
8488 | #define wxStyledTextCtrl_GetLexer(_swigobj) (_swigobj->GetLexer()) | |
8489 | static PyObject *_wrap_wxStyledTextCtrl_GetLexer(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8490 | PyObject * _resultobj; | |
fe47ec10 | 8491 | int _result; |
f6bcfd97 BP |
8492 | wxStyledTextCtrl * _arg0; |
8493 | PyObject * _argo0 = 0; | |
8494 | char *_kwnames[] = { "self", NULL }; | |
8495 | ||
8496 | self = self; | |
8497 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetLexer",_kwnames,&_argo0)) | |
8498 | return NULL; | |
8499 | if (_argo0) { | |
8500 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
8501 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
8502 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetLexer. Expected _wxStyledTextCtrl_p."); | |
8503 | return NULL; | |
8504 | } | |
8505 | } | |
8506 | { | |
4268f798 | 8507 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 8508 | _result = (int )wxStyledTextCtrl_GetLexer(_arg0); |
f6bcfd97 | 8509 | |
4268f798 RD |
8510 | wxPyEndAllowThreads(__tstate); |
8511 | if (PyErr_Occurred()) return NULL; | |
f6bcfd97 BP |
8512 | } _resultobj = Py_BuildValue("i",_result); |
8513 | return _resultobj; | |
8514 | } | |
8515 | ||
8516 | #define wxStyledTextCtrl_Colourise(_swigobj,_swigarg0,_swigarg1) (_swigobj->Colourise(_swigarg0,_swigarg1)) | |
8517 | static PyObject *_wrap_wxStyledTextCtrl_Colourise(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8518 | PyObject * _resultobj; | |
8519 | wxStyledTextCtrl * _arg0; | |
8520 | int _arg1; | |
8521 | int _arg2; | |
8522 | PyObject * _argo0 = 0; | |
8523 | char *_kwnames[] = { "self","start","end", NULL }; | |
8524 | ||
8525 | self = self; | |
8526 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxStyledTextCtrl_Colourise",_kwnames,&_argo0,&_arg1,&_arg2)) | |
8527 | return NULL; | |
8528 | if (_argo0) { | |
8529 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
8530 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
8531 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_Colourise. Expected _wxStyledTextCtrl_p."); | |
8532 | return NULL; | |
8533 | } | |
8534 | } | |
8535 | { | |
4268f798 | 8536 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 8537 | wxStyledTextCtrl_Colourise(_arg0,_arg1,_arg2); |
f6bcfd97 | 8538 | |
4268f798 RD |
8539 | wxPyEndAllowThreads(__tstate); |
8540 | if (PyErr_Occurred()) return NULL; | |
f6bcfd97 BP |
8541 | } Py_INCREF(Py_None); |
8542 | _resultobj = Py_None; | |
8543 | return _resultobj; | |
8544 | } | |
8545 | ||
8546 | #define wxStyledTextCtrl_SetProperty(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetProperty(_swigarg0,_swigarg1)) | |
8547 | static PyObject *_wrap_wxStyledTextCtrl_SetProperty(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8548 | PyObject * _resultobj; | |
8549 | wxStyledTextCtrl * _arg0; | |
8550 | wxString * _arg1; | |
8551 | wxString * _arg2; | |
8552 | PyObject * _argo0 = 0; | |
8553 | PyObject * _obj1 = 0; | |
8554 | PyObject * _obj2 = 0; | |
8555 | char *_kwnames[] = { "self","key","value", NULL }; | |
8556 | ||
8557 | self = self; | |
8558 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxStyledTextCtrl_SetProperty",_kwnames,&_argo0,&_obj1,&_obj2)) | |
8559 | return NULL; | |
8560 | if (_argo0) { | |
8561 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
8562 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
8563 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetProperty. Expected _wxStyledTextCtrl_p."); | |
8564 | return NULL; | |
8565 | } | |
8566 | } | |
8567 | { | |
c8bc7bb8 RD |
8568 | _arg1 = wxString_in_helper(_obj1); |
8569 | if (_arg1 == NULL) | |
185d7c3e | 8570 | return NULL; |
f6bcfd97 BP |
8571 | } |
8572 | { | |
c8bc7bb8 RD |
8573 | _arg2 = wxString_in_helper(_obj2); |
8574 | if (_arg2 == NULL) | |
185d7c3e | 8575 | return NULL; |
f6bcfd97 BP |
8576 | } |
8577 | { | |
4268f798 | 8578 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 8579 | wxStyledTextCtrl_SetProperty(_arg0,*_arg1,*_arg2); |
f6bcfd97 | 8580 | |
4268f798 RD |
8581 | wxPyEndAllowThreads(__tstate); |
8582 | if (PyErr_Occurred()) return NULL; | |
f6bcfd97 BP |
8583 | } Py_INCREF(Py_None); |
8584 | _resultobj = Py_None; | |
8585 | { | |
8586 | if (_obj1) | |
8587 | delete _arg1; | |
8588 | } | |
8589 | { | |
8590 | if (_obj2) | |
8591 | delete _arg2; | |
8592 | } | |
8593 | return _resultobj; | |
8594 | } | |
8595 | ||
fe47ec10 RD |
8596 | #define wxStyledTextCtrl_SetKeyWords(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetKeyWords(_swigarg0,_swigarg1)) |
8597 | static PyObject *_wrap_wxStyledTextCtrl_SetKeyWords(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8598 | PyObject * _resultobj; | |
8599 | wxStyledTextCtrl * _arg0; | |
8600 | int _arg1; | |
8601 | wxString * _arg2; | |
8602 | PyObject * _argo0 = 0; | |
8603 | PyObject * _obj2 = 0; | |
8604 | char *_kwnames[] = { "self","keywordSet","keyWords", NULL }; | |
8605 | ||
8606 | self = self; | |
8607 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxStyledTextCtrl_SetKeyWords",_kwnames,&_argo0,&_arg1,&_obj2)) | |
8608 | return NULL; | |
8609 | if (_argo0) { | |
8610 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
8611 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
8612 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetKeyWords. Expected _wxStyledTextCtrl_p."); | |
8613 | return NULL; | |
8614 | } | |
8615 | } | |
8616 | { | |
c8bc7bb8 RD |
8617 | _arg2 = wxString_in_helper(_obj2); |
8618 | if (_arg2 == NULL) | |
185d7c3e | 8619 | return NULL; |
fe47ec10 RD |
8620 | } |
8621 | { | |
4268f798 | 8622 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 8623 | wxStyledTextCtrl_SetKeyWords(_arg0,_arg1,*_arg2); |
fe47ec10 | 8624 | |
4268f798 RD |
8625 | wxPyEndAllowThreads(__tstate); |
8626 | if (PyErr_Occurred()) return NULL; | |
fe47ec10 RD |
8627 | } Py_INCREF(Py_None); |
8628 | _resultobj = Py_None; | |
8629 | { | |
8630 | if (_obj2) | |
8631 | delete _arg2; | |
8632 | } | |
8633 | return _resultobj; | |
8634 | } | |
8635 | ||
65ec6247 RD |
8636 | #define wxStyledTextCtrl_SetLexerLanguage(_swigobj,_swigarg0) (_swigobj->SetLexerLanguage(_swigarg0)) |
8637 | static PyObject *_wrap_wxStyledTextCtrl_SetLexerLanguage(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8638 | PyObject * _resultobj; | |
8639 | wxStyledTextCtrl * _arg0; | |
8640 | wxString * _arg1; | |
8641 | PyObject * _argo0 = 0; | |
8642 | PyObject * _obj1 = 0; | |
8643 | char *_kwnames[] = { "self","language", NULL }; | |
8644 | ||
8645 | self = self; | |
8646 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxStyledTextCtrl_SetLexerLanguage",_kwnames,&_argo0,&_obj1)) | |
8647 | return NULL; | |
8648 | if (_argo0) { | |
8649 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
8650 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
8651 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetLexerLanguage. Expected _wxStyledTextCtrl_p."); | |
8652 | return NULL; | |
8653 | } | |
8654 | } | |
8655 | { | |
c8bc7bb8 RD |
8656 | _arg1 = wxString_in_helper(_obj1); |
8657 | if (_arg1 == NULL) | |
65ec6247 | 8658 | return NULL; |
65ec6247 RD |
8659 | } |
8660 | { | |
4268f798 | 8661 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 8662 | wxStyledTextCtrl_SetLexerLanguage(_arg0,*_arg1); |
65ec6247 | 8663 | |
4268f798 RD |
8664 | wxPyEndAllowThreads(__tstate); |
8665 | if (PyErr_Occurred()) return NULL; | |
65ec6247 RD |
8666 | } Py_INCREF(Py_None); |
8667 | _resultobj = Py_None; | |
8668 | { | |
8669 | if (_obj1) | |
8670 | delete _arg1; | |
8671 | } | |
8672 | return _resultobj; | |
8673 | } | |
8674 | ||
fe47ec10 RD |
8675 | #define wxStyledTextCtrl_GetCurrentLine(_swigobj) (_swigobj->GetCurrentLine()) |
8676 | static PyObject *_wrap_wxStyledTextCtrl_GetCurrentLine(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8677 | PyObject * _resultobj; | |
8678 | int _result; | |
8679 | wxStyledTextCtrl * _arg0; | |
8680 | PyObject * _argo0 = 0; | |
8681 | char *_kwnames[] = { "self", NULL }; | |
8682 | ||
8683 | self = self; | |
8684 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetCurrentLine",_kwnames,&_argo0)) | |
8685 | return NULL; | |
8686 | if (_argo0) { | |
8687 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
8688 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
8689 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetCurrentLine. Expected _wxStyledTextCtrl_p."); | |
8690 | return NULL; | |
8691 | } | |
8692 | } | |
8693 | { | |
4268f798 | 8694 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 8695 | _result = (int )wxStyledTextCtrl_GetCurrentLine(_arg0); |
fe47ec10 | 8696 | |
4268f798 RD |
8697 | wxPyEndAllowThreads(__tstate); |
8698 | if (PyErr_Occurred()) return NULL; | |
fe47ec10 RD |
8699 | } _resultobj = Py_BuildValue("i",_result); |
8700 | return _resultobj; | |
8701 | } | |
8702 | ||
8703 | #define wxStyledTextCtrl_StyleSetSpec(_swigobj,_swigarg0,_swigarg1) (_swigobj->StyleSetSpec(_swigarg0,_swigarg1)) | |
8704 | static PyObject *_wrap_wxStyledTextCtrl_StyleSetSpec(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 BP |
8705 | PyObject * _resultobj; |
8706 | wxStyledTextCtrl * _arg0; | |
8707 | int _arg1; | |
8708 | wxString * _arg2; | |
8709 | PyObject * _argo0 = 0; | |
8710 | PyObject * _obj2 = 0; | |
fe47ec10 RD |
8711 | char *_kwnames[] = { "self","styleNum","spec", NULL }; |
8712 | ||
8713 | self = self; | |
8714 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxStyledTextCtrl_StyleSetSpec",_kwnames,&_argo0,&_arg1,&_obj2)) | |
8715 | return NULL; | |
8716 | if (_argo0) { | |
8717 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
8718 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
8719 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_StyleSetSpec. Expected _wxStyledTextCtrl_p."); | |
8720 | return NULL; | |
8721 | } | |
8722 | } | |
8723 | { | |
c8bc7bb8 RD |
8724 | _arg2 = wxString_in_helper(_obj2); |
8725 | if (_arg2 == NULL) | |
185d7c3e | 8726 | return NULL; |
fe47ec10 RD |
8727 | } |
8728 | { | |
4268f798 | 8729 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 8730 | wxStyledTextCtrl_StyleSetSpec(_arg0,_arg1,*_arg2); |
fe47ec10 | 8731 | |
4268f798 RD |
8732 | wxPyEndAllowThreads(__tstate); |
8733 | if (PyErr_Occurred()) return NULL; | |
fe47ec10 RD |
8734 | } Py_INCREF(Py_None); |
8735 | _resultobj = Py_None; | |
8736 | { | |
8737 | if (_obj2) | |
8738 | delete _arg2; | |
8739 | } | |
8740 | return _resultobj; | |
8741 | } | |
8742 | ||
8743 | #define wxStyledTextCtrl_StyleSetFont(_swigobj,_swigarg0,_swigarg1) (_swigobj->StyleSetFont(_swigarg0,_swigarg1)) | |
8744 | static PyObject *_wrap_wxStyledTextCtrl_StyleSetFont(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8745 | PyObject * _resultobj; | |
8746 | wxStyledTextCtrl * _arg0; | |
8747 | int _arg1; | |
8748 | wxFont * _arg2; | |
8749 | PyObject * _argo0 = 0; | |
8750 | PyObject * _argo2 = 0; | |
8751 | char *_kwnames[] = { "self","styleNum","font", NULL }; | |
8752 | ||
8753 | self = self; | |
8754 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxStyledTextCtrl_StyleSetFont",_kwnames,&_argo0,&_arg1,&_argo2)) | |
8755 | return NULL; | |
8756 | if (_argo0) { | |
8757 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
8758 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
8759 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_StyleSetFont. Expected _wxStyledTextCtrl_p."); | |
8760 | return NULL; | |
8761 | } | |
8762 | } | |
8763 | if (_argo2) { | |
8764 | if (_argo2 == Py_None) { _arg2 = NULL; } | |
8765 | else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxFont_p")) { | |
8766 | PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxStyledTextCtrl_StyleSetFont. Expected _wxFont_p."); | |
8767 | return NULL; | |
8768 | } | |
8769 | } | |
8770 | { | |
4268f798 | 8771 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 8772 | wxStyledTextCtrl_StyleSetFont(_arg0,_arg1,*_arg2); |
fe47ec10 | 8773 | |
4268f798 RD |
8774 | wxPyEndAllowThreads(__tstate); |
8775 | if (PyErr_Occurred()) return NULL; | |
fe47ec10 RD |
8776 | } Py_INCREF(Py_None); |
8777 | _resultobj = Py_None; | |
8778 | return _resultobj; | |
8779 | } | |
8780 | ||
8781 | #define wxStyledTextCtrl_StyleSetFontAttr(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->StyleSetFontAttr(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5)) | |
8782 | static PyObject *_wrap_wxStyledTextCtrl_StyleSetFontAttr(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8783 | PyObject * _resultobj; | |
8784 | wxStyledTextCtrl * _arg0; | |
8785 | int _arg1; | |
8786 | int _arg2; | |
8787 | wxString * _arg3; | |
8788 | bool _arg4; | |
8789 | bool _arg5; | |
8790 | bool _arg6; | |
8791 | PyObject * _argo0 = 0; | |
8792 | PyObject * _obj3 = 0; | |
8793 | int tempbool4; | |
8794 | int tempbool5; | |
8795 | int tempbool6; | |
8796 | char *_kwnames[] = { "self","styleNum","size","faceName","bold","italic","underline", NULL }; | |
8797 | ||
8798 | self = self; | |
8799 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiiOiii:wxStyledTextCtrl_StyleSetFontAttr",_kwnames,&_argo0,&_arg1,&_arg2,&_obj3,&tempbool4,&tempbool5,&tempbool6)) | |
8800 | return NULL; | |
8801 | if (_argo0) { | |
8802 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
8803 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
8804 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_StyleSetFontAttr. Expected _wxStyledTextCtrl_p."); | |
8805 | return NULL; | |
8806 | } | |
8807 | } | |
8808 | { | |
c8bc7bb8 RD |
8809 | _arg3 = wxString_in_helper(_obj3); |
8810 | if (_arg3 == NULL) | |
185d7c3e | 8811 | return NULL; |
fe47ec10 RD |
8812 | } |
8813 | _arg4 = (bool ) tempbool4; | |
8814 | _arg5 = (bool ) tempbool5; | |
8815 | _arg6 = (bool ) tempbool6; | |
8816 | { | |
4268f798 | 8817 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 8818 | wxStyledTextCtrl_StyleSetFontAttr(_arg0,_arg1,_arg2,*_arg3,_arg4,_arg5,_arg6); |
fe47ec10 | 8819 | |
4268f798 RD |
8820 | wxPyEndAllowThreads(__tstate); |
8821 | if (PyErr_Occurred()) return NULL; | |
fe47ec10 RD |
8822 | } Py_INCREF(Py_None); |
8823 | _resultobj = Py_None; | |
8824 | { | |
8825 | if (_obj3) | |
8826 | delete _arg3; | |
8827 | } | |
8828 | return _resultobj; | |
8829 | } | |
8830 | ||
8831 | #define wxStyledTextCtrl_CmdKeyExecute(_swigobj,_swigarg0) (_swigobj->CmdKeyExecute(_swigarg0)) | |
8832 | static PyObject *_wrap_wxStyledTextCtrl_CmdKeyExecute(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8833 | PyObject * _resultobj; | |
8834 | wxStyledTextCtrl * _arg0; | |
8835 | int _arg1; | |
8836 | PyObject * _argo0 = 0; | |
8837 | char *_kwnames[] = { "self","cmd", NULL }; | |
8838 | ||
8839 | self = self; | |
8840 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_CmdKeyExecute",_kwnames,&_argo0,&_arg1)) | |
8841 | return NULL; | |
8842 | if (_argo0) { | |
8843 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
8844 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
8845 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_CmdKeyExecute. Expected _wxStyledTextCtrl_p."); | |
8846 | return NULL; | |
8847 | } | |
8848 | } | |
8849 | { | |
4268f798 | 8850 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 8851 | wxStyledTextCtrl_CmdKeyExecute(_arg0,_arg1); |
fe47ec10 | 8852 | |
4268f798 RD |
8853 | wxPyEndAllowThreads(__tstate); |
8854 | if (PyErr_Occurred()) return NULL; | |
fe47ec10 RD |
8855 | } Py_INCREF(Py_None); |
8856 | _resultobj = Py_None; | |
8857 | return _resultobj; | |
8858 | } | |
8859 | ||
8860 | #define wxStyledTextCtrl_SetMargins(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetMargins(_swigarg0,_swigarg1)) | |
8861 | static PyObject *_wrap_wxStyledTextCtrl_SetMargins(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8862 | PyObject * _resultobj; | |
8863 | wxStyledTextCtrl * _arg0; | |
8864 | int _arg1; | |
8865 | int _arg2; | |
8866 | PyObject * _argo0 = 0; | |
8867 | char *_kwnames[] = { "self","left","right", NULL }; | |
8868 | ||
8869 | self = self; | |
8870 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxStyledTextCtrl_SetMargins",_kwnames,&_argo0,&_arg1,&_arg2)) | |
8871 | return NULL; | |
8872 | if (_argo0) { | |
8873 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
8874 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
8875 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetMargins. Expected _wxStyledTextCtrl_p."); | |
8876 | return NULL; | |
8877 | } | |
8878 | } | |
8879 | { | |
4268f798 | 8880 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 8881 | wxStyledTextCtrl_SetMargins(_arg0,_arg1,_arg2); |
fe47ec10 | 8882 | |
4268f798 RD |
8883 | wxPyEndAllowThreads(__tstate); |
8884 | if (PyErr_Occurred()) return NULL; | |
fe47ec10 RD |
8885 | } Py_INCREF(Py_None); |
8886 | _resultobj = Py_None; | |
8887 | return _resultobj; | |
8888 | } | |
8889 | ||
8890 | #define wxStyledTextCtrl_GetSelection(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetSelection(_swigarg0,_swigarg1)) | |
8891 | static PyObject *_wrap_wxStyledTextCtrl_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8892 | PyObject * _resultobj; | |
8893 | wxStyledTextCtrl * _arg0; | |
8894 | int * _arg1; | |
8895 | int temp; | |
8896 | int * _arg2; | |
8897 | int temp0; | |
8898 | PyObject * _argo0 = 0; | |
8899 | char *_kwnames[] = { "self", NULL }; | |
f6bcfd97 BP |
8900 | |
8901 | self = self; | |
fe47ec10 RD |
8902 | { |
8903 | _arg1 = &temp; | |
8904 | } | |
8905 | { | |
8906 | _arg2 = &temp0; | |
8907 | } | |
8908 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetSelection",_kwnames,&_argo0)) | |
f6bcfd97 BP |
8909 | return NULL; |
8910 | if (_argo0) { | |
8911 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
8912 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 8913 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetSelection. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
8914 | return NULL; |
8915 | } | |
8916 | } | |
f6bcfd97 | 8917 | { |
4268f798 | 8918 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 8919 | wxStyledTextCtrl_GetSelection(_arg0,_arg1,_arg2); |
f6bcfd97 | 8920 | |
4268f798 RD |
8921 | wxPyEndAllowThreads(__tstate); |
8922 | if (PyErr_Occurred()) return NULL; | |
f6bcfd97 BP |
8923 | } Py_INCREF(Py_None); |
8924 | _resultobj = Py_None; | |
8925 | { | |
fe47ec10 RD |
8926 | PyObject *o; |
8927 | o = PyInt_FromLong((long) (*_arg1)); | |
8928 | _resultobj = t_output_helper(_resultobj, o); | |
8929 | } | |
8930 | { | |
8931 | PyObject *o; | |
8932 | o = PyInt_FromLong((long) (*_arg2)); | |
8933 | _resultobj = t_output_helper(_resultobj, o); | |
f6bcfd97 BP |
8934 | } |
8935 | return _resultobj; | |
8936 | } | |
8937 | ||
fe47ec10 RD |
8938 | #define wxStyledTextCtrl_PointFromPosition(_swigobj,_swigarg0) (_swigobj->PointFromPosition(_swigarg0)) |
8939 | static PyObject *_wrap_wxStyledTextCtrl_PointFromPosition(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 | 8940 | PyObject * _resultobj; |
fe47ec10 | 8941 | wxPoint * _result; |
f6bcfd97 BP |
8942 | wxStyledTextCtrl * _arg0; |
8943 | int _arg1; | |
8944 | PyObject * _argo0 = 0; | |
fe47ec10 RD |
8945 | char *_kwnames[] = { "self","pos", NULL }; |
8946 | char _ptemp[128]; | |
f6bcfd97 BP |
8947 | |
8948 | self = self; | |
fe47ec10 | 8949 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_PointFromPosition",_kwnames,&_argo0,&_arg1)) |
f6bcfd97 BP |
8950 | return NULL; |
8951 | if (_argo0) { | |
8952 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
8953 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
fe47ec10 | 8954 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_PointFromPosition. Expected _wxStyledTextCtrl_p."); |
f6bcfd97 BP |
8955 | return NULL; |
8956 | } | |
8957 | } | |
8958 | { | |
4268f798 | 8959 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 8960 | _result = new wxPoint (wxStyledTextCtrl_PointFromPosition(_arg0,_arg1)); |
f6bcfd97 | 8961 | |
4268f798 RD |
8962 | wxPyEndAllowThreads(__tstate); |
8963 | if (PyErr_Occurred()) return NULL; | |
fe47ec10 RD |
8964 | } SWIG_MakePtr(_ptemp, (void *) _result,"_wxPoint_p"); |
8965 | _resultobj = Py_BuildValue("s",_ptemp); | |
f6bcfd97 BP |
8966 | return _resultobj; |
8967 | } | |
8968 | ||
ea7c631c RD |
8969 | #define wxStyledTextCtrl_ScrollToLine(_swigobj,_swigarg0) (_swigobj->ScrollToLine(_swigarg0)) |
8970 | static PyObject *_wrap_wxStyledTextCtrl_ScrollToLine(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8971 | PyObject * _resultobj; | |
8972 | wxStyledTextCtrl * _arg0; | |
8973 | int _arg1; | |
8974 | PyObject * _argo0 = 0; | |
8975 | char *_kwnames[] = { "self","line", NULL }; | |
8976 | ||
8977 | self = self; | |
8978 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_ScrollToLine",_kwnames,&_argo0,&_arg1)) | |
8979 | return NULL; | |
8980 | if (_argo0) { | |
8981 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
8982 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
8983 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_ScrollToLine. Expected _wxStyledTextCtrl_p."); | |
8984 | return NULL; | |
8985 | } | |
8986 | } | |
8987 | { | |
4268f798 | 8988 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 8989 | wxStyledTextCtrl_ScrollToLine(_arg0,_arg1); |
ea7c631c | 8990 | |
4268f798 RD |
8991 | wxPyEndAllowThreads(__tstate); |
8992 | if (PyErr_Occurred()) return NULL; | |
ea7c631c RD |
8993 | } Py_INCREF(Py_None); |
8994 | _resultobj = Py_None; | |
8995 | return _resultobj; | |
8996 | } | |
8997 | ||
8998 | #define wxStyledTextCtrl_ScrollToColumn(_swigobj,_swigarg0) (_swigobj->ScrollToColumn(_swigarg0)) | |
8999 | static PyObject *_wrap_wxStyledTextCtrl_ScrollToColumn(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9000 | PyObject * _resultobj; | |
9001 | wxStyledTextCtrl * _arg0; | |
9002 | int _arg1; | |
9003 | PyObject * _argo0 = 0; | |
9004 | char *_kwnames[] = { "self","column", NULL }; | |
9005 | ||
9006 | self = self; | |
9007 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_ScrollToColumn",_kwnames,&_argo0,&_arg1)) | |
9008 | return NULL; | |
9009 | if (_argo0) { | |
9010 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
9011 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
9012 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_ScrollToColumn. Expected _wxStyledTextCtrl_p."); | |
9013 | return NULL; | |
9014 | } | |
9015 | } | |
9016 | { | |
4268f798 | 9017 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 9018 | wxStyledTextCtrl_ScrollToColumn(_arg0,_arg1); |
ea7c631c | 9019 | |
4268f798 RD |
9020 | wxPyEndAllowThreads(__tstate); |
9021 | if (PyErr_Occurred()) return NULL; | |
ea7c631c RD |
9022 | } Py_INCREF(Py_None); |
9023 | _resultobj = Py_None; | |
9024 | return _resultobj; | |
9025 | } | |
9026 | ||
65ec6247 RD |
9027 | #define wxStyledTextCtrl_SendMsg(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SendMsg(_swigarg0,_swigarg1,_swigarg2)) |
9028 | static PyObject *_wrap_wxStyledTextCtrl_SendMsg(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9029 | PyObject * _resultobj; | |
9030 | long _result; | |
9031 | wxStyledTextCtrl * _arg0; | |
9032 | int _arg1; | |
9033 | long _arg2 = (long ) 0; | |
9034 | long _arg3 = (long ) 0; | |
9035 | PyObject * _argo0 = 0; | |
9036 | char *_kwnames[] = { "self","msg","wp","lp", NULL }; | |
9037 | ||
9038 | self = self; | |
9039 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi|ll:wxStyledTextCtrl_SendMsg",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3)) | |
9040 | return NULL; | |
9041 | if (_argo0) { | |
9042 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
9043 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
9044 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SendMsg. Expected _wxStyledTextCtrl_p."); | |
9045 | return NULL; | |
9046 | } | |
9047 | } | |
9048 | { | |
4268f798 | 9049 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 9050 | _result = (long )wxStyledTextCtrl_SendMsg(_arg0,_arg1,_arg2,_arg3); |
65ec6247 | 9051 | |
4268f798 RD |
9052 | wxPyEndAllowThreads(__tstate); |
9053 | if (PyErr_Occurred()) return NULL; | |
65ec6247 RD |
9054 | } _resultobj = Py_BuildValue("l",_result); |
9055 | return _resultobj; | |
9056 | } | |
9057 | ||
ebf4302c RD |
9058 | #define wxStyledTextCtrl_SetVScrollBar(_swigobj,_swigarg0) (_swigobj->SetVScrollBar(_swigarg0)) |
9059 | static PyObject *_wrap_wxStyledTextCtrl_SetVScrollBar(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9060 | PyObject * _resultobj; | |
9061 | wxStyledTextCtrl * _arg0; | |
9062 | wxScrollBar * _arg1; | |
9063 | PyObject * _argo0 = 0; | |
9064 | PyObject * _argo1 = 0; | |
9065 | char *_kwnames[] = { "self","bar", NULL }; | |
9066 | ||
9067 | self = self; | |
9068 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxStyledTextCtrl_SetVScrollBar",_kwnames,&_argo0,&_argo1)) | |
9069 | return NULL; | |
9070 | if (_argo0) { | |
9071 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
9072 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
9073 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetVScrollBar. Expected _wxStyledTextCtrl_p."); | |
9074 | return NULL; | |
9075 | } | |
9076 | } | |
9077 | if (_argo1) { | |
9078 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
9079 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxScrollBar_p")) { | |
9080 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxStyledTextCtrl_SetVScrollBar. Expected _wxScrollBar_p."); | |
9081 | return NULL; | |
9082 | } | |
9083 | } | |
9084 | { | |
4268f798 | 9085 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 9086 | wxStyledTextCtrl_SetVScrollBar(_arg0,_arg1); |
ebf4302c | 9087 | |
4268f798 RD |
9088 | wxPyEndAllowThreads(__tstate); |
9089 | if (PyErr_Occurred()) return NULL; | |
ebf4302c RD |
9090 | } Py_INCREF(Py_None); |
9091 | _resultobj = Py_None; | |
9092 | return _resultobj; | |
9093 | } | |
9094 | ||
9095 | #define wxStyledTextCtrl_SetHScrollBar(_swigobj,_swigarg0) (_swigobj->SetHScrollBar(_swigarg0)) | |
9096 | static PyObject *_wrap_wxStyledTextCtrl_SetHScrollBar(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9097 | PyObject * _resultobj; | |
9098 | wxStyledTextCtrl * _arg0; | |
9099 | wxScrollBar * _arg1; | |
9100 | PyObject * _argo0 = 0; | |
9101 | PyObject * _argo1 = 0; | |
9102 | char *_kwnames[] = { "self","bar", NULL }; | |
9103 | ||
9104 | self = self; | |
9105 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxStyledTextCtrl_SetHScrollBar",_kwnames,&_argo0,&_argo1)) | |
9106 | return NULL; | |
9107 | if (_argo0) { | |
9108 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
9109 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
9110 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetHScrollBar. Expected _wxStyledTextCtrl_p."); | |
9111 | return NULL; | |
9112 | } | |
9113 | } | |
9114 | if (_argo1) { | |
9115 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
9116 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxScrollBar_p")) { | |
9117 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxStyledTextCtrl_SetHScrollBar. Expected _wxScrollBar_p."); | |
9118 | return NULL; | |
9119 | } | |
9120 | } | |
9121 | { | |
4268f798 | 9122 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 9123 | wxStyledTextCtrl_SetHScrollBar(_arg0,_arg1); |
ebf4302c | 9124 | |
4268f798 RD |
9125 | wxPyEndAllowThreads(__tstate); |
9126 | if (PyErr_Occurred()) return NULL; | |
ebf4302c RD |
9127 | } Py_INCREF(Py_None); |
9128 | _resultobj = Py_None; | |
9129 | return _resultobj; | |
9130 | } | |
9131 | ||
0b9dfbc0 RD |
9132 | #define wxStyledTextCtrl_GetLastKeydownProcessed(_swigobj) (_swigobj->GetLastKeydownProcessed()) |
9133 | static PyObject *_wrap_wxStyledTextCtrl_GetLastKeydownProcessed(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9134 | PyObject * _resultobj; | |
9135 | bool _result; | |
9136 | wxStyledTextCtrl * _arg0; | |
9137 | PyObject * _argo0 = 0; | |
9138 | char *_kwnames[] = { "self", NULL }; | |
9139 | ||
9140 | self = self; | |
9141 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextCtrl_GetLastKeydownProcessed",_kwnames,&_argo0)) | |
9142 | return NULL; | |
9143 | if (_argo0) { | |
9144 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
9145 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
9146 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_GetLastKeydownProcessed. Expected _wxStyledTextCtrl_p."); | |
9147 | return NULL; | |
9148 | } | |
9149 | } | |
9150 | { | |
9151 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9152 | _result = (bool )wxStyledTextCtrl_GetLastKeydownProcessed(_arg0); | |
9153 | ||
9154 | wxPyEndAllowThreads(__tstate); | |
9155 | if (PyErr_Occurred()) return NULL; | |
9156 | } _resultobj = Py_BuildValue("i",_result); | |
9157 | return _resultobj; | |
9158 | } | |
9159 | ||
9160 | #define wxStyledTextCtrl_SetLastKeydownProcessed(_swigobj,_swigarg0) (_swigobj->SetLastKeydownProcessed(_swigarg0)) | |
9161 | static PyObject *_wrap_wxStyledTextCtrl_SetLastKeydownProcessed(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9162 | PyObject * _resultobj; | |
9163 | wxStyledTextCtrl * _arg0; | |
9164 | bool _arg1; | |
9165 | PyObject * _argo0 = 0; | |
9166 | int tempbool1; | |
9167 | char *_kwnames[] = { "self","val", NULL }; | |
9168 | ||
9169 | self = self; | |
9170 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextCtrl_SetLastKeydownProcessed",_kwnames,&_argo0,&tempbool1)) | |
9171 | return NULL; | |
9172 | if (_argo0) { | |
9173 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
9174 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextCtrl_p")) { | |
9175 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextCtrl_SetLastKeydownProcessed. Expected _wxStyledTextCtrl_p."); | |
9176 | return NULL; | |
9177 | } | |
9178 | } | |
9179 | _arg1 = (bool ) tempbool1; | |
9180 | { | |
9181 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9182 | wxStyledTextCtrl_SetLastKeydownProcessed(_arg0,_arg1); | |
9183 | ||
9184 | wxPyEndAllowThreads(__tstate); | |
9185 | if (PyErr_Occurred()) return NULL; | |
9186 | } Py_INCREF(Py_None); | |
9187 | _resultobj = Py_None; | |
9188 | return _resultobj; | |
9189 | } | |
9190 | ||
f6bcfd97 BP |
9191 | static void *SwigwxStyledTextEventTowxCommandEvent(void *ptr) { |
9192 | wxStyledTextEvent *src; | |
9193 | wxCommandEvent *dest; | |
9194 | src = (wxStyledTextEvent *) ptr; | |
9195 | dest = (wxCommandEvent *) src; | |
9196 | return (void *) dest; | |
9197 | } | |
9198 | ||
9199 | static void *SwigwxStyledTextEventTowxEvent(void *ptr) { | |
9200 | wxStyledTextEvent *src; | |
9201 | wxEvent *dest; | |
9202 | src = (wxStyledTextEvent *) ptr; | |
9203 | dest = (wxEvent *) src; | |
9204 | return (void *) dest; | |
9205 | } | |
9206 | ||
493f1553 RD |
9207 | static void *SwigwxStyledTextEventTowxObject(void *ptr) { |
9208 | wxStyledTextEvent *src; | |
9209 | wxObject *dest; | |
9210 | src = (wxStyledTextEvent *) ptr; | |
9211 | dest = (wxObject *) src; | |
9212 | return (void *) dest; | |
9213 | } | |
9214 | ||
7a0f694a | 9215 | #define new_wxStyledTextEvent(_swigarg0,_swigarg1) (new wxStyledTextEvent(_swigarg0,_swigarg1)) |
f6bcfd97 BP |
9216 | static PyObject *_wrap_new_wxStyledTextEvent(PyObject *self, PyObject *args, PyObject *kwargs) { |
9217 | PyObject * _resultobj; | |
9218 | wxStyledTextEvent * _result; | |
7a0f694a RD |
9219 | wxEventType _arg0 = (wxEventType ) 0; |
9220 | int _arg1 = (int ) 0; | |
9221 | char *_kwnames[] = { "commandType","id", NULL }; | |
f6bcfd97 BP |
9222 | char _ptemp[128]; |
9223 | ||
9224 | self = self; | |
7a0f694a | 9225 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"|ii:new_wxStyledTextEvent",_kwnames,&_arg0,&_arg1)) |
f6bcfd97 BP |
9226 | return NULL; |
9227 | { | |
4268f798 | 9228 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 9229 | _result = (wxStyledTextEvent *)new_wxStyledTextEvent(_arg0,_arg1); |
f6bcfd97 | 9230 | |
4268f798 RD |
9231 | wxPyEndAllowThreads(__tstate); |
9232 | if (PyErr_Occurred()) return NULL; | |
f6bcfd97 BP |
9233 | } if (_result) { |
9234 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxStyledTextEvent_p"); | |
9235 | _resultobj = Py_BuildValue("s",_ptemp); | |
9236 | } else { | |
9237 | Py_INCREF(Py_None); | |
9238 | _resultobj = Py_None; | |
9239 | } | |
9240 | return _resultobj; | |
9241 | } | |
9242 | ||
9243 | #define delete_wxStyledTextEvent(_swigobj) (delete _swigobj) | |
9244 | static PyObject *_wrap_delete_wxStyledTextEvent(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9245 | PyObject * _resultobj; | |
9246 | wxStyledTextEvent * _arg0; | |
9247 | PyObject * _argo0 = 0; | |
9248 | char *_kwnames[] = { "self", NULL }; | |
9249 | ||
9250 | self = self; | |
9251 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:delete_wxStyledTextEvent",_kwnames,&_argo0)) | |
9252 | return NULL; | |
9253 | if (_argo0) { | |
9254 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
9255 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextEvent_p")) { | |
9256 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of delete_wxStyledTextEvent. Expected _wxStyledTextEvent_p."); | |
9257 | return NULL; | |
9258 | } | |
9259 | } | |
9260 | { | |
4268f798 | 9261 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 9262 | delete_wxStyledTextEvent(_arg0); |
f6bcfd97 | 9263 | |
4268f798 RD |
9264 | wxPyEndAllowThreads(__tstate); |
9265 | if (PyErr_Occurred()) return NULL; | |
f6bcfd97 BP |
9266 | } Py_INCREF(Py_None); |
9267 | _resultobj = Py_None; | |
9268 | return _resultobj; | |
9269 | } | |
9270 | ||
9271 | #define wxStyledTextEvent_SetPosition(_swigobj,_swigarg0) (_swigobj->SetPosition(_swigarg0)) | |
9272 | static PyObject *_wrap_wxStyledTextEvent_SetPosition(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9273 | PyObject * _resultobj; | |
9274 | wxStyledTextEvent * _arg0; | |
9275 | int _arg1; | |
9276 | PyObject * _argo0 = 0; | |
9277 | char *_kwnames[] = { "self","pos", NULL }; | |
9278 | ||
9279 | self = self; | |
9280 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextEvent_SetPosition",_kwnames,&_argo0,&_arg1)) | |
9281 | return NULL; | |
9282 | if (_argo0) { | |
9283 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
9284 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextEvent_p")) { | |
9285 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextEvent_SetPosition. Expected _wxStyledTextEvent_p."); | |
9286 | return NULL; | |
9287 | } | |
9288 | } | |
9289 | { | |
4268f798 | 9290 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 9291 | wxStyledTextEvent_SetPosition(_arg0,_arg1); |
f6bcfd97 | 9292 | |
4268f798 RD |
9293 | wxPyEndAllowThreads(__tstate); |
9294 | if (PyErr_Occurred()) return NULL; | |
f6bcfd97 BP |
9295 | } Py_INCREF(Py_None); |
9296 | _resultobj = Py_None; | |
9297 | return _resultobj; | |
9298 | } | |
9299 | ||
9300 | #define wxStyledTextEvent_SetKey(_swigobj,_swigarg0) (_swigobj->SetKey(_swigarg0)) | |
9301 | static PyObject *_wrap_wxStyledTextEvent_SetKey(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9302 | PyObject * _resultobj; | |
9303 | wxStyledTextEvent * _arg0; | |
9304 | int _arg1; | |
9305 | PyObject * _argo0 = 0; | |
9306 | char *_kwnames[] = { "self","k", NULL }; | |
9307 | ||
9308 | self = self; | |
9309 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextEvent_SetKey",_kwnames,&_argo0,&_arg1)) | |
9310 | return NULL; | |
9311 | if (_argo0) { | |
9312 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
9313 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextEvent_p")) { | |
9314 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextEvent_SetKey. Expected _wxStyledTextEvent_p."); | |
9315 | return NULL; | |
9316 | } | |
9317 | } | |
9318 | { | |
4268f798 | 9319 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 9320 | wxStyledTextEvent_SetKey(_arg0,_arg1); |
f6bcfd97 | 9321 | |
4268f798 RD |
9322 | wxPyEndAllowThreads(__tstate); |
9323 | if (PyErr_Occurred()) return NULL; | |
f6bcfd97 BP |
9324 | } Py_INCREF(Py_None); |
9325 | _resultobj = Py_None; | |
9326 | return _resultobj; | |
9327 | } | |
9328 | ||
9329 | #define wxStyledTextEvent_SetModifiers(_swigobj,_swigarg0) (_swigobj->SetModifiers(_swigarg0)) | |
9330 | static PyObject *_wrap_wxStyledTextEvent_SetModifiers(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9331 | PyObject * _resultobj; | |
9332 | wxStyledTextEvent * _arg0; | |
9333 | int _arg1; | |
9334 | PyObject * _argo0 = 0; | |
9335 | char *_kwnames[] = { "self","m", NULL }; | |
9336 | ||
9337 | self = self; | |
9338 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextEvent_SetModifiers",_kwnames,&_argo0,&_arg1)) | |
9339 | return NULL; | |
9340 | if (_argo0) { | |
9341 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
9342 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextEvent_p")) { | |
9343 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextEvent_SetModifiers. Expected _wxStyledTextEvent_p."); | |
9344 | return NULL; | |
9345 | } | |
9346 | } | |
9347 | { | |
4268f798 | 9348 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 9349 | wxStyledTextEvent_SetModifiers(_arg0,_arg1); |
f6bcfd97 | 9350 | |
4268f798 RD |
9351 | wxPyEndAllowThreads(__tstate); |
9352 | if (PyErr_Occurred()) return NULL; | |
f6bcfd97 BP |
9353 | } Py_INCREF(Py_None); |
9354 | _resultobj = Py_None; | |
9355 | return _resultobj; | |
9356 | } | |
9357 | ||
9358 | #define wxStyledTextEvent_SetModificationType(_swigobj,_swigarg0) (_swigobj->SetModificationType(_swigarg0)) | |
9359 | static PyObject *_wrap_wxStyledTextEvent_SetModificationType(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9360 | PyObject * _resultobj; | |
9361 | wxStyledTextEvent * _arg0; | |
9362 | int _arg1; | |
9363 | PyObject * _argo0 = 0; | |
9364 | char *_kwnames[] = { "self","t", NULL }; | |
9365 | ||
9366 | self = self; | |
9367 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextEvent_SetModificationType",_kwnames,&_argo0,&_arg1)) | |
9368 | return NULL; | |
9369 | if (_argo0) { | |
9370 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
9371 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextEvent_p")) { | |
9372 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextEvent_SetModificationType. Expected _wxStyledTextEvent_p."); | |
9373 | return NULL; | |
9374 | } | |
9375 | } | |
9376 | { | |
4268f798 | 9377 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 9378 | wxStyledTextEvent_SetModificationType(_arg0,_arg1); |
f6bcfd97 | 9379 | |
4268f798 RD |
9380 | wxPyEndAllowThreads(__tstate); |
9381 | if (PyErr_Occurred()) return NULL; | |
f6bcfd97 BP |
9382 | } Py_INCREF(Py_None); |
9383 | _resultobj = Py_None; | |
9384 | return _resultobj; | |
9385 | } | |
9386 | ||
9387 | #define wxStyledTextEvent_SetText(_swigobj,_swigarg0) (_swigobj->SetText(_swigarg0)) | |
9388 | static PyObject *_wrap_wxStyledTextEvent_SetText(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9389 | PyObject * _resultobj; | |
9390 | wxStyledTextEvent * _arg0; | |
10ef30eb | 9391 | wxString * _arg1; |
f6bcfd97 | 9392 | PyObject * _argo0 = 0; |
10ef30eb | 9393 | PyObject * _obj1 = 0; |
f6bcfd97 BP |
9394 | char *_kwnames[] = { "self","t", NULL }; |
9395 | ||
9396 | self = self; | |
10ef30eb | 9397 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxStyledTextEvent_SetText",_kwnames,&_argo0,&_obj1)) |
f6bcfd97 BP |
9398 | return NULL; |
9399 | if (_argo0) { | |
9400 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
9401 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextEvent_p")) { | |
9402 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextEvent_SetText. Expected _wxStyledTextEvent_p."); | |
9403 | return NULL; | |
9404 | } | |
9405 | } | |
10ef30eb RD |
9406 | { |
9407 | _arg1 = wxString_in_helper(_obj1); | |
9408 | if (_arg1 == NULL) | |
9409 | return NULL; | |
9410 | } | |
f6bcfd97 | 9411 | { |
4268f798 | 9412 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
10ef30eb | 9413 | wxStyledTextEvent_SetText(_arg0,*_arg1); |
f6bcfd97 | 9414 | |
4268f798 RD |
9415 | wxPyEndAllowThreads(__tstate); |
9416 | if (PyErr_Occurred()) return NULL; | |
f6bcfd97 BP |
9417 | } Py_INCREF(Py_None); |
9418 | _resultobj = Py_None; | |
10ef30eb RD |
9419 | { |
9420 | if (_obj1) | |
9421 | delete _arg1; | |
9422 | } | |
f6bcfd97 BP |
9423 | return _resultobj; |
9424 | } | |
9425 | ||
9426 | #define wxStyledTextEvent_SetLength(_swigobj,_swigarg0) (_swigobj->SetLength(_swigarg0)) | |
9427 | static PyObject *_wrap_wxStyledTextEvent_SetLength(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9428 | PyObject * _resultobj; | |
9429 | wxStyledTextEvent * _arg0; | |
9430 | int _arg1; | |
9431 | PyObject * _argo0 = 0; | |
9432 | char *_kwnames[] = { "self","len", NULL }; | |
9433 | ||
9434 | self = self; | |
9435 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextEvent_SetLength",_kwnames,&_argo0,&_arg1)) | |
9436 | return NULL; | |
9437 | if (_argo0) { | |
9438 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
9439 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextEvent_p")) { | |
9440 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextEvent_SetLength. Expected _wxStyledTextEvent_p."); | |
9441 | return NULL; | |
9442 | } | |
9443 | } | |
9444 | { | |
4268f798 | 9445 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 9446 | wxStyledTextEvent_SetLength(_arg0,_arg1); |
f6bcfd97 | 9447 | |
4268f798 RD |
9448 | wxPyEndAllowThreads(__tstate); |
9449 | if (PyErr_Occurred()) return NULL; | |
f6bcfd97 BP |
9450 | } Py_INCREF(Py_None); |
9451 | _resultobj = Py_None; | |
9452 | return _resultobj; | |
9453 | } | |
9454 | ||
9455 | #define wxStyledTextEvent_SetLinesAdded(_swigobj,_swigarg0) (_swigobj->SetLinesAdded(_swigarg0)) | |
9456 | static PyObject *_wrap_wxStyledTextEvent_SetLinesAdded(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9457 | PyObject * _resultobj; | |
9458 | wxStyledTextEvent * _arg0; | |
9459 | int _arg1; | |
9460 | PyObject * _argo0 = 0; | |
9461 | char *_kwnames[] = { "self","num", NULL }; | |
9462 | ||
9463 | self = self; | |
9464 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextEvent_SetLinesAdded",_kwnames,&_argo0,&_arg1)) | |
9465 | return NULL; | |
9466 | if (_argo0) { | |
9467 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
9468 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextEvent_p")) { | |
9469 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextEvent_SetLinesAdded. Expected _wxStyledTextEvent_p."); | |
9470 | return NULL; | |
9471 | } | |
9472 | } | |
9473 | { | |
4268f798 | 9474 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 9475 | wxStyledTextEvent_SetLinesAdded(_arg0,_arg1); |
f6bcfd97 | 9476 | |
4268f798 RD |
9477 | wxPyEndAllowThreads(__tstate); |
9478 | if (PyErr_Occurred()) return NULL; | |
f6bcfd97 BP |
9479 | } Py_INCREF(Py_None); |
9480 | _resultobj = Py_None; | |
9481 | return _resultobj; | |
9482 | } | |
9483 | ||
9484 | #define wxStyledTextEvent_SetLine(_swigobj,_swigarg0) (_swigobj->SetLine(_swigarg0)) | |
9485 | static PyObject *_wrap_wxStyledTextEvent_SetLine(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9486 | PyObject * _resultobj; | |
9487 | wxStyledTextEvent * _arg0; | |
9488 | int _arg1; | |
9489 | PyObject * _argo0 = 0; | |
9490 | char *_kwnames[] = { "self","val", NULL }; | |
9491 | ||
9492 | self = self; | |
9493 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextEvent_SetLine",_kwnames,&_argo0,&_arg1)) | |
9494 | return NULL; | |
9495 | if (_argo0) { | |
9496 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
9497 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextEvent_p")) { | |
9498 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextEvent_SetLine. Expected _wxStyledTextEvent_p."); | |
9499 | return NULL; | |
9500 | } | |
9501 | } | |
9502 | { | |
4268f798 | 9503 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 9504 | wxStyledTextEvent_SetLine(_arg0,_arg1); |
f6bcfd97 | 9505 | |
4268f798 RD |
9506 | wxPyEndAllowThreads(__tstate); |
9507 | if (PyErr_Occurred()) return NULL; | |
f6bcfd97 BP |
9508 | } Py_INCREF(Py_None); |
9509 | _resultobj = Py_None; | |
9510 | return _resultobj; | |
9511 | } | |
9512 | ||
9513 | #define wxStyledTextEvent_SetFoldLevelNow(_swigobj,_swigarg0) (_swigobj->SetFoldLevelNow(_swigarg0)) | |
9514 | static PyObject *_wrap_wxStyledTextEvent_SetFoldLevelNow(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9515 | PyObject * _resultobj; | |
9516 | wxStyledTextEvent * _arg0; | |
9517 | int _arg1; | |
9518 | PyObject * _argo0 = 0; | |
9519 | char *_kwnames[] = { "self","val", NULL }; | |
9520 | ||
9521 | self = self; | |
9522 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextEvent_SetFoldLevelNow",_kwnames,&_argo0,&_arg1)) | |
9523 | return NULL; | |
9524 | if (_argo0) { | |
9525 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
9526 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextEvent_p")) { | |
9527 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextEvent_SetFoldLevelNow. Expected _wxStyledTextEvent_p."); | |
9528 | return NULL; | |
9529 | } | |
9530 | } | |
9531 | { | |
4268f798 | 9532 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 9533 | wxStyledTextEvent_SetFoldLevelNow(_arg0,_arg1); |
f6bcfd97 | 9534 | |
4268f798 RD |
9535 | wxPyEndAllowThreads(__tstate); |
9536 | if (PyErr_Occurred()) return NULL; | |
f6bcfd97 BP |
9537 | } Py_INCREF(Py_None); |
9538 | _resultobj = Py_None; | |
9539 | return _resultobj; | |
9540 | } | |
9541 | ||
9542 | #define wxStyledTextEvent_SetFoldLevelPrev(_swigobj,_swigarg0) (_swigobj->SetFoldLevelPrev(_swigarg0)) | |
9543 | static PyObject *_wrap_wxStyledTextEvent_SetFoldLevelPrev(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9544 | PyObject * _resultobj; | |
9545 | wxStyledTextEvent * _arg0; | |
9546 | int _arg1; | |
9547 | PyObject * _argo0 = 0; | |
9548 | char *_kwnames[] = { "self","val", NULL }; | |
9549 | ||
9550 | self = self; | |
9551 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextEvent_SetFoldLevelPrev",_kwnames,&_argo0,&_arg1)) | |
9552 | return NULL; | |
9553 | if (_argo0) { | |
9554 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
9555 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextEvent_p")) { | |
9556 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextEvent_SetFoldLevelPrev. Expected _wxStyledTextEvent_p."); | |
9557 | return NULL; | |
9558 | } | |
9559 | } | |
9560 | { | |
4268f798 | 9561 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 9562 | wxStyledTextEvent_SetFoldLevelPrev(_arg0,_arg1); |
f6bcfd97 | 9563 | |
4268f798 RD |
9564 | wxPyEndAllowThreads(__tstate); |
9565 | if (PyErr_Occurred()) return NULL; | |
f6bcfd97 BP |
9566 | } Py_INCREF(Py_None); |
9567 | _resultobj = Py_None; | |
9568 | return _resultobj; | |
9569 | } | |
9570 | ||
9571 | #define wxStyledTextEvent_SetMargin(_swigobj,_swigarg0) (_swigobj->SetMargin(_swigarg0)) | |
9572 | static PyObject *_wrap_wxStyledTextEvent_SetMargin(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9573 | PyObject * _resultobj; | |
9574 | wxStyledTextEvent * _arg0; | |
9575 | int _arg1; | |
9576 | PyObject * _argo0 = 0; | |
9577 | char *_kwnames[] = { "self","val", NULL }; | |
9578 | ||
9579 | self = self; | |
9580 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextEvent_SetMargin",_kwnames,&_argo0,&_arg1)) | |
9581 | return NULL; | |
9582 | if (_argo0) { | |
9583 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
9584 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextEvent_p")) { | |
9585 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextEvent_SetMargin. Expected _wxStyledTextEvent_p."); | |
9586 | return NULL; | |
9587 | } | |
9588 | } | |
9589 | { | |
4268f798 | 9590 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 9591 | wxStyledTextEvent_SetMargin(_arg0,_arg1); |
f6bcfd97 | 9592 | |
4268f798 RD |
9593 | wxPyEndAllowThreads(__tstate); |
9594 | if (PyErr_Occurred()) return NULL; | |
f6bcfd97 BP |
9595 | } Py_INCREF(Py_None); |
9596 | _resultobj = Py_None; | |
9597 | return _resultobj; | |
9598 | } | |
9599 | ||
9600 | #define wxStyledTextEvent_SetMessage(_swigobj,_swigarg0) (_swigobj->SetMessage(_swigarg0)) | |
9601 | static PyObject *_wrap_wxStyledTextEvent_SetMessage(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9602 | PyObject * _resultobj; | |
9603 | wxStyledTextEvent * _arg0; | |
9604 | int _arg1; | |
9605 | PyObject * _argo0 = 0; | |
9606 | char *_kwnames[] = { "self","val", NULL }; | |
9607 | ||
9608 | self = self; | |
9609 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextEvent_SetMessage",_kwnames,&_argo0,&_arg1)) | |
9610 | return NULL; | |
9611 | if (_argo0) { | |
9612 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
9613 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextEvent_p")) { | |
9614 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextEvent_SetMessage. Expected _wxStyledTextEvent_p."); | |
9615 | return NULL; | |
9616 | } | |
9617 | } | |
9618 | { | |
4268f798 | 9619 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 9620 | wxStyledTextEvent_SetMessage(_arg0,_arg1); |
f6bcfd97 | 9621 | |
4268f798 RD |
9622 | wxPyEndAllowThreads(__tstate); |
9623 | if (PyErr_Occurred()) return NULL; | |
f6bcfd97 BP |
9624 | } Py_INCREF(Py_None); |
9625 | _resultobj = Py_None; | |
9626 | return _resultobj; | |
9627 | } | |
9628 | ||
9629 | #define wxStyledTextEvent_SetWParam(_swigobj,_swigarg0) (_swigobj->SetWParam(_swigarg0)) | |
9630 | static PyObject *_wrap_wxStyledTextEvent_SetWParam(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9631 | PyObject * _resultobj; | |
9632 | wxStyledTextEvent * _arg0; | |
9633 | int _arg1; | |
9634 | PyObject * _argo0 = 0; | |
9635 | char *_kwnames[] = { "self","val", NULL }; | |
9636 | ||
9637 | self = self; | |
9638 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextEvent_SetWParam",_kwnames,&_argo0,&_arg1)) | |
9639 | return NULL; | |
9640 | if (_argo0) { | |
9641 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
9642 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextEvent_p")) { | |
9643 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextEvent_SetWParam. Expected _wxStyledTextEvent_p."); | |
9644 | return NULL; | |
9645 | } | |
9646 | } | |
9647 | { | |
4268f798 | 9648 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 9649 | wxStyledTextEvent_SetWParam(_arg0,_arg1); |
f6bcfd97 | 9650 | |
4268f798 RD |
9651 | wxPyEndAllowThreads(__tstate); |
9652 | if (PyErr_Occurred()) return NULL; | |
f6bcfd97 BP |
9653 | } Py_INCREF(Py_None); |
9654 | _resultobj = Py_None; | |
9655 | return _resultobj; | |
9656 | } | |
9657 | ||
9658 | #define wxStyledTextEvent_SetLParam(_swigobj,_swigarg0) (_swigobj->SetLParam(_swigarg0)) | |
9659 | static PyObject *_wrap_wxStyledTextEvent_SetLParam(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9660 | PyObject * _resultobj; | |
9661 | wxStyledTextEvent * _arg0; | |
9662 | int _arg1; | |
9663 | PyObject * _argo0 = 0; | |
9664 | char *_kwnames[] = { "self","val", NULL }; | |
9665 | ||
9666 | self = self; | |
9667 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextEvent_SetLParam",_kwnames,&_argo0,&_arg1)) | |
9668 | return NULL; | |
9669 | if (_argo0) { | |
9670 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
9671 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextEvent_p")) { | |
9672 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextEvent_SetLParam. Expected _wxStyledTextEvent_p."); | |
9673 | return NULL; | |
9674 | } | |
9675 | } | |
9676 | { | |
4268f798 | 9677 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 9678 | wxStyledTextEvent_SetLParam(_arg0,_arg1); |
f6bcfd97 | 9679 | |
4268f798 RD |
9680 | wxPyEndAllowThreads(__tstate); |
9681 | if (PyErr_Occurred()) return NULL; | |
f6bcfd97 BP |
9682 | } Py_INCREF(Py_None); |
9683 | _resultobj = Py_None; | |
9684 | return _resultobj; | |
9685 | } | |
9686 | ||
65ec6247 RD |
9687 | #define wxStyledTextEvent_SetListType(_swigobj,_swigarg0) (_swigobj->SetListType(_swigarg0)) |
9688 | static PyObject *_wrap_wxStyledTextEvent_SetListType(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9689 | PyObject * _resultobj; | |
9690 | wxStyledTextEvent * _arg0; | |
9691 | int _arg1; | |
9692 | PyObject * _argo0 = 0; | |
9693 | char *_kwnames[] = { "self","val", NULL }; | |
9694 | ||
9695 | self = self; | |
9696 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextEvent_SetListType",_kwnames,&_argo0,&_arg1)) | |
9697 | return NULL; | |
9698 | if (_argo0) { | |
9699 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
9700 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextEvent_p")) { | |
9701 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextEvent_SetListType. Expected _wxStyledTextEvent_p."); | |
9702 | return NULL; | |
9703 | } | |
9704 | } | |
9705 | { | |
4268f798 | 9706 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 9707 | wxStyledTextEvent_SetListType(_arg0,_arg1); |
65ec6247 | 9708 | |
4268f798 RD |
9709 | wxPyEndAllowThreads(__tstate); |
9710 | if (PyErr_Occurred()) return NULL; | |
65ec6247 RD |
9711 | } Py_INCREF(Py_None); |
9712 | _resultobj = Py_None; | |
9713 | return _resultobj; | |
9714 | } | |
9715 | ||
9716 | #define wxStyledTextEvent_SetX(_swigobj,_swigarg0) (_swigobj->SetX(_swigarg0)) | |
9717 | static PyObject *_wrap_wxStyledTextEvent_SetX(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9718 | PyObject * _resultobj; | |
9719 | wxStyledTextEvent * _arg0; | |
9720 | int _arg1; | |
9721 | PyObject * _argo0 = 0; | |
9722 | char *_kwnames[] = { "self","val", NULL }; | |
9723 | ||
9724 | self = self; | |
9725 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextEvent_SetX",_kwnames,&_argo0,&_arg1)) | |
9726 | return NULL; | |
9727 | if (_argo0) { | |
9728 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
9729 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextEvent_p")) { | |
9730 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextEvent_SetX. Expected _wxStyledTextEvent_p."); | |
9731 | return NULL; | |
9732 | } | |
9733 | } | |
9734 | { | |
4268f798 | 9735 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 9736 | wxStyledTextEvent_SetX(_arg0,_arg1); |
65ec6247 | 9737 | |
4268f798 RD |
9738 | wxPyEndAllowThreads(__tstate); |
9739 | if (PyErr_Occurred()) return NULL; | |
65ec6247 RD |
9740 | } Py_INCREF(Py_None); |
9741 | _resultobj = Py_None; | |
9742 | return _resultobj; | |
9743 | } | |
9744 | ||
9745 | #define wxStyledTextEvent_SetY(_swigobj,_swigarg0) (_swigobj->SetY(_swigarg0)) | |
9746 | static PyObject *_wrap_wxStyledTextEvent_SetY(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9747 | PyObject * _resultobj; | |
9748 | wxStyledTextEvent * _arg0; | |
9749 | int _arg1; | |
9750 | PyObject * _argo0 = 0; | |
9751 | char *_kwnames[] = { "self","val", NULL }; | |
9752 | ||
9753 | self = self; | |
9754 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextEvent_SetY",_kwnames,&_argo0,&_arg1)) | |
9755 | return NULL; | |
9756 | if (_argo0) { | |
9757 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
9758 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextEvent_p")) { | |
9759 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextEvent_SetY. Expected _wxStyledTextEvent_p."); | |
9760 | return NULL; | |
9761 | } | |
9762 | } | |
9763 | { | |
4268f798 | 9764 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 9765 | wxStyledTextEvent_SetY(_arg0,_arg1); |
65ec6247 | 9766 | |
4268f798 RD |
9767 | wxPyEndAllowThreads(__tstate); |
9768 | if (PyErr_Occurred()) return NULL; | |
65ec6247 RD |
9769 | } Py_INCREF(Py_None); |
9770 | _resultobj = Py_None; | |
9771 | return _resultobj; | |
9772 | } | |
9773 | ||
74933d75 RD |
9774 | #define wxStyledTextEvent_SetDragText(_swigobj,_swigarg0) (_swigobj->SetDragText(_swigarg0)) |
9775 | static PyObject *_wrap_wxStyledTextEvent_SetDragText(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9776 | PyObject * _resultobj; | |
9777 | wxStyledTextEvent * _arg0; | |
9778 | wxString * _arg1; | |
9779 | PyObject * _argo0 = 0; | |
9780 | PyObject * _obj1 = 0; | |
9781 | char *_kwnames[] = { "self","val", NULL }; | |
9782 | ||
9783 | self = self; | |
9784 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxStyledTextEvent_SetDragText",_kwnames,&_argo0,&_obj1)) | |
9785 | return NULL; | |
9786 | if (_argo0) { | |
9787 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
9788 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextEvent_p")) { | |
9789 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextEvent_SetDragText. Expected _wxStyledTextEvent_p."); | |
9790 | return NULL; | |
9791 | } | |
9792 | } | |
9793 | { | |
c8bc7bb8 RD |
9794 | _arg1 = wxString_in_helper(_obj1); |
9795 | if (_arg1 == NULL) | |
74933d75 | 9796 | return NULL; |
74933d75 RD |
9797 | } |
9798 | { | |
4268f798 | 9799 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 9800 | wxStyledTextEvent_SetDragText(_arg0,*_arg1); |
74933d75 | 9801 | |
4268f798 RD |
9802 | wxPyEndAllowThreads(__tstate); |
9803 | if (PyErr_Occurred()) return NULL; | |
74933d75 RD |
9804 | } Py_INCREF(Py_None); |
9805 | _resultobj = Py_None; | |
9806 | { | |
9807 | if (_obj1) | |
9808 | delete _arg1; | |
9809 | } | |
9810 | return _resultobj; | |
9811 | } | |
9812 | ||
9813 | #define wxStyledTextEvent_SetDragAllowMove(_swigobj,_swigarg0) (_swigobj->SetDragAllowMove(_swigarg0)) | |
9814 | static PyObject *_wrap_wxStyledTextEvent_SetDragAllowMove(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9815 | PyObject * _resultobj; | |
9816 | wxStyledTextEvent * _arg0; | |
9817 | bool _arg1; | |
9818 | PyObject * _argo0 = 0; | |
9819 | int tempbool1; | |
9820 | char *_kwnames[] = { "self","val", NULL }; | |
9821 | ||
9822 | self = self; | |
9823 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextEvent_SetDragAllowMove",_kwnames,&_argo0,&tempbool1)) | |
9824 | return NULL; | |
9825 | if (_argo0) { | |
9826 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
9827 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextEvent_p")) { | |
9828 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextEvent_SetDragAllowMove. Expected _wxStyledTextEvent_p."); | |
9829 | return NULL; | |
9830 | } | |
9831 | } | |
9832 | _arg1 = (bool ) tempbool1; | |
9833 | { | |
4268f798 | 9834 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 9835 | wxStyledTextEvent_SetDragAllowMove(_arg0,_arg1); |
74933d75 | 9836 | |
4268f798 RD |
9837 | wxPyEndAllowThreads(__tstate); |
9838 | if (PyErr_Occurred()) return NULL; | |
74933d75 RD |
9839 | } Py_INCREF(Py_None); |
9840 | _resultobj = Py_None; | |
9841 | return _resultobj; | |
9842 | } | |
9843 | ||
9844 | #define wxStyledTextEvent_SetDragResult(_swigobj,_swigarg0) (_swigobj->SetDragResult(_swigarg0)) | |
9845 | static PyObject *_wrap_wxStyledTextEvent_SetDragResult(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9846 | PyObject * _resultobj; | |
9847 | wxStyledTextEvent * _arg0; | |
9848 | wxDragResult _arg1; | |
9849 | PyObject * _argo0 = 0; | |
9850 | char *_kwnames[] = { "self","val", NULL }; | |
9851 | ||
9852 | self = self; | |
9853 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxStyledTextEvent_SetDragResult",_kwnames,&_argo0,&_arg1)) | |
9854 | return NULL; | |
9855 | if (_argo0) { | |
9856 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
9857 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextEvent_p")) { | |
9858 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextEvent_SetDragResult. Expected _wxStyledTextEvent_p."); | |
9859 | return NULL; | |
9860 | } | |
9861 | } | |
9862 | { | |
4268f798 | 9863 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 9864 | wxStyledTextEvent_SetDragResult(_arg0,_arg1); |
74933d75 | 9865 | |
4268f798 RD |
9866 | wxPyEndAllowThreads(__tstate); |
9867 | if (PyErr_Occurred()) return NULL; | |
74933d75 RD |
9868 | } Py_INCREF(Py_None); |
9869 | _resultobj = Py_None; | |
9870 | return _resultobj; | |
9871 | } | |
9872 | ||
f6bcfd97 BP |
9873 | #define wxStyledTextEvent_GetPosition(_swigobj) (_swigobj->GetPosition()) |
9874 | static PyObject *_wrap_wxStyledTextEvent_GetPosition(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9875 | PyObject * _resultobj; | |
9876 | int _result; | |
9877 | wxStyledTextEvent * _arg0; | |
9878 | PyObject * _argo0 = 0; | |
9879 | char *_kwnames[] = { "self", NULL }; | |
9880 | ||
9881 | self = self; | |
9882 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextEvent_GetPosition",_kwnames,&_argo0)) | |
9883 | return NULL; | |
9884 | if (_argo0) { | |
9885 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
9886 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextEvent_p")) { | |
9887 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextEvent_GetPosition. Expected _wxStyledTextEvent_p."); | |
9888 | return NULL; | |
9889 | } | |
9890 | } | |
9891 | { | |
4268f798 | 9892 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 9893 | _result = (int )wxStyledTextEvent_GetPosition(_arg0); |
f6bcfd97 | 9894 | |
4268f798 RD |
9895 | wxPyEndAllowThreads(__tstate); |
9896 | if (PyErr_Occurred()) return NULL; | |
f6bcfd97 BP |
9897 | } _resultobj = Py_BuildValue("i",_result); |
9898 | return _resultobj; | |
9899 | } | |
9900 | ||
9901 | #define wxStyledTextEvent_GetKey(_swigobj) (_swigobj->GetKey()) | |
9902 | static PyObject *_wrap_wxStyledTextEvent_GetKey(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9903 | PyObject * _resultobj; | |
9904 | int _result; | |
9905 | wxStyledTextEvent * _arg0; | |
9906 | PyObject * _argo0 = 0; | |
9907 | char *_kwnames[] = { "self", NULL }; | |
9908 | ||
9909 | self = self; | |
9910 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextEvent_GetKey",_kwnames,&_argo0)) | |
9911 | return NULL; | |
9912 | if (_argo0) { | |
9913 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
9914 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextEvent_p")) { | |
9915 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextEvent_GetKey. Expected _wxStyledTextEvent_p."); | |
9916 | return NULL; | |
9917 | } | |
9918 | } | |
9919 | { | |
4268f798 | 9920 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 9921 | _result = (int )wxStyledTextEvent_GetKey(_arg0); |
f6bcfd97 | 9922 | |
4268f798 RD |
9923 | wxPyEndAllowThreads(__tstate); |
9924 | if (PyErr_Occurred()) return NULL; | |
f6bcfd97 BP |
9925 | } _resultobj = Py_BuildValue("i",_result); |
9926 | return _resultobj; | |
9927 | } | |
9928 | ||
9929 | #define wxStyledTextEvent_GetModifiers(_swigobj) (_swigobj->GetModifiers()) | |
9930 | static PyObject *_wrap_wxStyledTextEvent_GetModifiers(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9931 | PyObject * _resultobj; | |
9932 | int _result; | |
9933 | wxStyledTextEvent * _arg0; | |
9934 | PyObject * _argo0 = 0; | |
9935 | char *_kwnames[] = { "self", NULL }; | |
9936 | ||
9937 | self = self; | |
9938 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextEvent_GetModifiers",_kwnames,&_argo0)) | |
9939 | return NULL; | |
9940 | if (_argo0) { | |
9941 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
9942 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextEvent_p")) { | |
9943 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextEvent_GetModifiers. Expected _wxStyledTextEvent_p."); | |
9944 | return NULL; | |
9945 | } | |
9946 | } | |
9947 | { | |
4268f798 | 9948 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 9949 | _result = (int )wxStyledTextEvent_GetModifiers(_arg0); |
f6bcfd97 | 9950 | |
4268f798 RD |
9951 | wxPyEndAllowThreads(__tstate); |
9952 | if (PyErr_Occurred()) return NULL; | |
f6bcfd97 BP |
9953 | } _resultobj = Py_BuildValue("i",_result); |
9954 | return _resultobj; | |
9955 | } | |
9956 | ||
9957 | #define wxStyledTextEvent_GetModificationType(_swigobj) (_swigobj->GetModificationType()) | |
9958 | static PyObject *_wrap_wxStyledTextEvent_GetModificationType(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9959 | PyObject * _resultobj; | |
9960 | int _result; | |
9961 | wxStyledTextEvent * _arg0; | |
9962 | PyObject * _argo0 = 0; | |
9963 | char *_kwnames[] = { "self", NULL }; | |
9964 | ||
9965 | self = self; | |
9966 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextEvent_GetModificationType",_kwnames,&_argo0)) | |
9967 | return NULL; | |
9968 | if (_argo0) { | |
9969 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
9970 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextEvent_p")) { | |
9971 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextEvent_GetModificationType. Expected _wxStyledTextEvent_p."); | |
9972 | return NULL; | |
9973 | } | |
9974 | } | |
9975 | { | |
4268f798 | 9976 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 9977 | _result = (int )wxStyledTextEvent_GetModificationType(_arg0); |
f6bcfd97 | 9978 | |
4268f798 RD |
9979 | wxPyEndAllowThreads(__tstate); |
9980 | if (PyErr_Occurred()) return NULL; | |
f6bcfd97 BP |
9981 | } _resultobj = Py_BuildValue("i",_result); |
9982 | return _resultobj; | |
9983 | } | |
9984 | ||
9985 | #define wxStyledTextEvent_GetText(_swigobj) (_swigobj->GetText()) | |
9986 | static PyObject *_wrap_wxStyledTextEvent_GetText(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9987 | PyObject * _resultobj; | |
9988 | wxString * _result; | |
9989 | wxStyledTextEvent * _arg0; | |
9990 | PyObject * _argo0 = 0; | |
9991 | char *_kwnames[] = { "self", NULL }; | |
9992 | ||
9993 | self = self; | |
9994 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextEvent_GetText",_kwnames,&_argo0)) | |
9995 | return NULL; | |
9996 | if (_argo0) { | |
9997 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
9998 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextEvent_p")) { | |
9999 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextEvent_GetText. Expected _wxStyledTextEvent_p."); | |
10000 | return NULL; | |
10001 | } | |
10002 | } | |
10003 | { | |
4268f798 | 10004 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 10005 | _result = new wxString (wxStyledTextEvent_GetText(_arg0)); |
f6bcfd97 | 10006 | |
4268f798 RD |
10007 | wxPyEndAllowThreads(__tstate); |
10008 | if (PyErr_Occurred()) return NULL; | |
f6bcfd97 | 10009 | }{ |
c8bc7bb8 RD |
10010 | #if wxUSE_UNICODE |
10011 | _resultobj = PyUnicode_FromUnicode(_result->c_str(), _result->Len()); | |
10012 | #else | |
f6bcfd97 | 10013 | _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len()); |
c8bc7bb8 | 10014 | #endif |
f6bcfd97 BP |
10015 | } |
10016 | { | |
10017 | delete _result; | |
10018 | } | |
10019 | return _resultobj; | |
10020 | } | |
10021 | ||
10022 | #define wxStyledTextEvent_GetLength(_swigobj) (_swigobj->GetLength()) | |
10023 | static PyObject *_wrap_wxStyledTextEvent_GetLength(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10024 | PyObject * _resultobj; | |
10025 | int _result; | |
10026 | wxStyledTextEvent * _arg0; | |
10027 | PyObject * _argo0 = 0; | |
10028 | char *_kwnames[] = { "self", NULL }; | |
10029 | ||
10030 | self = self; | |
10031 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextEvent_GetLength",_kwnames,&_argo0)) | |
10032 | return NULL; | |
10033 | if (_argo0) { | |
10034 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
10035 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextEvent_p")) { | |
10036 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextEvent_GetLength. Expected _wxStyledTextEvent_p."); | |
10037 | return NULL; | |
10038 | } | |
10039 | } | |
10040 | { | |
4268f798 | 10041 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 10042 | _result = (int )wxStyledTextEvent_GetLength(_arg0); |
f6bcfd97 | 10043 | |
4268f798 RD |
10044 | wxPyEndAllowThreads(__tstate); |
10045 | if (PyErr_Occurred()) return NULL; | |
f6bcfd97 BP |
10046 | } _resultobj = Py_BuildValue("i",_result); |
10047 | return _resultobj; | |
10048 | } | |
10049 | ||
10050 | #define wxStyledTextEvent_GetLinesAdded(_swigobj) (_swigobj->GetLinesAdded()) | |
10051 | static PyObject *_wrap_wxStyledTextEvent_GetLinesAdded(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10052 | PyObject * _resultobj; | |
10053 | int _result; | |
10054 | wxStyledTextEvent * _arg0; | |
10055 | PyObject * _argo0 = 0; | |
10056 | char *_kwnames[] = { "self", NULL }; | |
10057 | ||
10058 | self = self; | |
10059 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextEvent_GetLinesAdded",_kwnames,&_argo0)) | |
10060 | return NULL; | |
10061 | if (_argo0) { | |
10062 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
10063 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextEvent_p")) { | |
10064 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextEvent_GetLinesAdded. Expected _wxStyledTextEvent_p."); | |
10065 | return NULL; | |
10066 | } | |
10067 | } | |
10068 | { | |
4268f798 | 10069 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 10070 | _result = (int )wxStyledTextEvent_GetLinesAdded(_arg0); |
f6bcfd97 | 10071 | |
4268f798 RD |
10072 | wxPyEndAllowThreads(__tstate); |
10073 | if (PyErr_Occurred()) return NULL; | |
f6bcfd97 BP |
10074 | } _resultobj = Py_BuildValue("i",_result); |
10075 | return _resultobj; | |
10076 | } | |
10077 | ||
10078 | #define wxStyledTextEvent_GetLine(_swigobj) (_swigobj->GetLine()) | |
10079 | static PyObject *_wrap_wxStyledTextEvent_GetLine(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10080 | PyObject * _resultobj; | |
10081 | int _result; | |
10082 | wxStyledTextEvent * _arg0; | |
10083 | PyObject * _argo0 = 0; | |
10084 | char *_kwnames[] = { "self", NULL }; | |
10085 | ||
10086 | self = self; | |
10087 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextEvent_GetLine",_kwnames,&_argo0)) | |
10088 | return NULL; | |
10089 | if (_argo0) { | |
10090 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
10091 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextEvent_p")) { | |
10092 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextEvent_GetLine. Expected _wxStyledTextEvent_p."); | |
10093 | return NULL; | |
10094 | } | |
10095 | } | |
10096 | { | |
4268f798 | 10097 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 10098 | _result = (int )wxStyledTextEvent_GetLine(_arg0); |
f6bcfd97 | 10099 | |
4268f798 RD |
10100 | wxPyEndAllowThreads(__tstate); |
10101 | if (PyErr_Occurred()) return NULL; | |
f6bcfd97 BP |
10102 | } _resultobj = Py_BuildValue("i",_result); |
10103 | return _resultobj; | |
10104 | } | |
10105 | ||
10106 | #define wxStyledTextEvent_GetFoldLevelNow(_swigobj) (_swigobj->GetFoldLevelNow()) | |
10107 | static PyObject *_wrap_wxStyledTextEvent_GetFoldLevelNow(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10108 | PyObject * _resultobj; | |
10109 | int _result; | |
10110 | wxStyledTextEvent * _arg0; | |
10111 | PyObject * _argo0 = 0; | |
10112 | char *_kwnames[] = { "self", NULL }; | |
10113 | ||
10114 | self = self; | |
10115 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextEvent_GetFoldLevelNow",_kwnames,&_argo0)) | |
10116 | return NULL; | |
10117 | if (_argo0) { | |
10118 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
10119 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextEvent_p")) { | |
10120 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextEvent_GetFoldLevelNow. Expected _wxStyledTextEvent_p."); | |
10121 | return NULL; | |
10122 | } | |
10123 | } | |
10124 | { | |
4268f798 | 10125 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 10126 | _result = (int )wxStyledTextEvent_GetFoldLevelNow(_arg0); |
f6bcfd97 | 10127 | |
4268f798 RD |
10128 | wxPyEndAllowThreads(__tstate); |
10129 | if (PyErr_Occurred()) return NULL; | |
f6bcfd97 BP |
10130 | } _resultobj = Py_BuildValue("i",_result); |
10131 | return _resultobj; | |
10132 | } | |
10133 | ||
10134 | #define wxStyledTextEvent_GetFoldLevelPrev(_swigobj) (_swigobj->GetFoldLevelPrev()) | |
10135 | static PyObject *_wrap_wxStyledTextEvent_GetFoldLevelPrev(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10136 | PyObject * _resultobj; | |
10137 | int _result; | |
10138 | wxStyledTextEvent * _arg0; | |
10139 | PyObject * _argo0 = 0; | |
10140 | char *_kwnames[] = { "self", NULL }; | |
10141 | ||
10142 | self = self; | |
10143 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextEvent_GetFoldLevelPrev",_kwnames,&_argo0)) | |
10144 | return NULL; | |
10145 | if (_argo0) { | |
10146 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
10147 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextEvent_p")) { | |
10148 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextEvent_GetFoldLevelPrev. Expected _wxStyledTextEvent_p."); | |
10149 | return NULL; | |
10150 | } | |
10151 | } | |
10152 | { | |
4268f798 | 10153 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 10154 | _result = (int )wxStyledTextEvent_GetFoldLevelPrev(_arg0); |
f6bcfd97 | 10155 | |
4268f798 RD |
10156 | wxPyEndAllowThreads(__tstate); |
10157 | if (PyErr_Occurred()) return NULL; | |
f6bcfd97 BP |
10158 | } _resultobj = Py_BuildValue("i",_result); |
10159 | return _resultobj; | |
10160 | } | |
10161 | ||
10162 | #define wxStyledTextEvent_GetMargin(_swigobj) (_swigobj->GetMargin()) | |
10163 | static PyObject *_wrap_wxStyledTextEvent_GetMargin(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10164 | PyObject * _resultobj; | |
10165 | int _result; | |
10166 | wxStyledTextEvent * _arg0; | |
10167 | PyObject * _argo0 = 0; | |
10168 | char *_kwnames[] = { "self", NULL }; | |
10169 | ||
10170 | self = self; | |
10171 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextEvent_GetMargin",_kwnames,&_argo0)) | |
10172 | return NULL; | |
10173 | if (_argo0) { | |
10174 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
10175 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextEvent_p")) { | |
10176 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextEvent_GetMargin. Expected _wxStyledTextEvent_p."); | |
10177 | return NULL; | |
10178 | } | |
10179 | } | |
10180 | { | |
4268f798 | 10181 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 10182 | _result = (int )wxStyledTextEvent_GetMargin(_arg0); |
f6bcfd97 | 10183 | |
4268f798 RD |
10184 | wxPyEndAllowThreads(__tstate); |
10185 | if (PyErr_Occurred()) return NULL; | |
f6bcfd97 BP |
10186 | } _resultobj = Py_BuildValue("i",_result); |
10187 | return _resultobj; | |
10188 | } | |
10189 | ||
10190 | #define wxStyledTextEvent_GetMessage(_swigobj) (_swigobj->GetMessage()) | |
10191 | static PyObject *_wrap_wxStyledTextEvent_GetMessage(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10192 | PyObject * _resultobj; | |
10193 | int _result; | |
10194 | wxStyledTextEvent * _arg0; | |
10195 | PyObject * _argo0 = 0; | |
10196 | char *_kwnames[] = { "self", NULL }; | |
10197 | ||
10198 | self = self; | |
10199 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextEvent_GetMessage",_kwnames,&_argo0)) | |
10200 | return NULL; | |
10201 | if (_argo0) { | |
10202 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
10203 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextEvent_p")) { | |
10204 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextEvent_GetMessage. Expected _wxStyledTextEvent_p."); | |
10205 | return NULL; | |
10206 | } | |
10207 | } | |
10208 | { | |
4268f798 | 10209 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 10210 | _result = (int )wxStyledTextEvent_GetMessage(_arg0); |
f6bcfd97 | 10211 | |
4268f798 RD |
10212 | wxPyEndAllowThreads(__tstate); |
10213 | if (PyErr_Occurred()) return NULL; | |
f6bcfd97 BP |
10214 | } _resultobj = Py_BuildValue("i",_result); |
10215 | return _resultobj; | |
10216 | } | |
10217 | ||
10218 | #define wxStyledTextEvent_GetWParam(_swigobj) (_swigobj->GetWParam()) | |
10219 | static PyObject *_wrap_wxStyledTextEvent_GetWParam(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10220 | PyObject * _resultobj; | |
10221 | int _result; | |
10222 | wxStyledTextEvent * _arg0; | |
10223 | PyObject * _argo0 = 0; | |
10224 | char *_kwnames[] = { "self", NULL }; | |
10225 | ||
10226 | self = self; | |
10227 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextEvent_GetWParam",_kwnames,&_argo0)) | |
10228 | return NULL; | |
10229 | if (_argo0) { | |
10230 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
10231 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextEvent_p")) { | |
10232 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextEvent_GetWParam. Expected _wxStyledTextEvent_p."); | |
10233 | return NULL; | |
10234 | } | |
10235 | } | |
10236 | { | |
4268f798 | 10237 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 10238 | _result = (int )wxStyledTextEvent_GetWParam(_arg0); |
f6bcfd97 | 10239 | |
4268f798 RD |
10240 | wxPyEndAllowThreads(__tstate); |
10241 | if (PyErr_Occurred()) return NULL; | |
f6bcfd97 BP |
10242 | } _resultobj = Py_BuildValue("i",_result); |
10243 | return _resultobj; | |
10244 | } | |
10245 | ||
10246 | #define wxStyledTextEvent_GetLParam(_swigobj) (_swigobj->GetLParam()) | |
10247 | static PyObject *_wrap_wxStyledTextEvent_GetLParam(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10248 | PyObject * _resultobj; | |
10249 | int _result; | |
10250 | wxStyledTextEvent * _arg0; | |
10251 | PyObject * _argo0 = 0; | |
10252 | char *_kwnames[] = { "self", NULL }; | |
10253 | ||
10254 | self = self; | |
10255 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextEvent_GetLParam",_kwnames,&_argo0)) | |
10256 | return NULL; | |
10257 | if (_argo0) { | |
10258 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
10259 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextEvent_p")) { | |
10260 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextEvent_GetLParam. Expected _wxStyledTextEvent_p."); | |
10261 | return NULL; | |
10262 | } | |
10263 | } | |
10264 | { | |
4268f798 | 10265 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 10266 | _result = (int )wxStyledTextEvent_GetLParam(_arg0); |
f6bcfd97 | 10267 | |
4268f798 RD |
10268 | wxPyEndAllowThreads(__tstate); |
10269 | if (PyErr_Occurred()) return NULL; | |
f6bcfd97 BP |
10270 | } _resultobj = Py_BuildValue("i",_result); |
10271 | return _resultobj; | |
10272 | } | |
10273 | ||
65ec6247 RD |
10274 | #define wxStyledTextEvent_GetListType(_swigobj) (_swigobj->GetListType()) |
10275 | static PyObject *_wrap_wxStyledTextEvent_GetListType(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10276 | PyObject * _resultobj; | |
10277 | int _result; | |
10278 | wxStyledTextEvent * _arg0; | |
10279 | PyObject * _argo0 = 0; | |
10280 | char *_kwnames[] = { "self", NULL }; | |
10281 | ||
10282 | self = self; | |
10283 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextEvent_GetListType",_kwnames,&_argo0)) | |
10284 | return NULL; | |
10285 | if (_argo0) { | |
10286 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
10287 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextEvent_p")) { | |
10288 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextEvent_GetListType. Expected _wxStyledTextEvent_p."); | |
10289 | return NULL; | |
10290 | } | |
10291 | } | |
10292 | { | |
4268f798 | 10293 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 10294 | _result = (int )wxStyledTextEvent_GetListType(_arg0); |
65ec6247 | 10295 | |
4268f798 RD |
10296 | wxPyEndAllowThreads(__tstate); |
10297 | if (PyErr_Occurred()) return NULL; | |
65ec6247 RD |
10298 | } _resultobj = Py_BuildValue("i",_result); |
10299 | return _resultobj; | |
10300 | } | |
10301 | ||
10302 | #define wxStyledTextEvent_GetX(_swigobj) (_swigobj->GetX()) | |
10303 | static PyObject *_wrap_wxStyledTextEvent_GetX(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10304 | PyObject * _resultobj; | |
10305 | int _result; | |
10306 | wxStyledTextEvent * _arg0; | |
10307 | PyObject * _argo0 = 0; | |
10308 | char *_kwnames[] = { "self", NULL }; | |
10309 | ||
10310 | self = self; | |
10311 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextEvent_GetX",_kwnames,&_argo0)) | |
10312 | return NULL; | |
10313 | if (_argo0) { | |
10314 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
10315 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextEvent_p")) { | |
10316 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextEvent_GetX. Expected _wxStyledTextEvent_p."); | |
10317 | return NULL; | |
10318 | } | |
10319 | } | |
10320 | { | |
4268f798 | 10321 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 10322 | _result = (int )wxStyledTextEvent_GetX(_arg0); |
65ec6247 | 10323 | |
4268f798 RD |
10324 | wxPyEndAllowThreads(__tstate); |
10325 | if (PyErr_Occurred()) return NULL; | |
65ec6247 RD |
10326 | } _resultobj = Py_BuildValue("i",_result); |
10327 | return _resultobj; | |
10328 | } | |
10329 | ||
10330 | #define wxStyledTextEvent_GetY(_swigobj) (_swigobj->GetY()) | |
10331 | static PyObject *_wrap_wxStyledTextEvent_GetY(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10332 | PyObject * _resultobj; | |
10333 | int _result; | |
10334 | wxStyledTextEvent * _arg0; | |
10335 | PyObject * _argo0 = 0; | |
10336 | char *_kwnames[] = { "self", NULL }; | |
10337 | ||
10338 | self = self; | |
10339 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextEvent_GetY",_kwnames,&_argo0)) | |
10340 | return NULL; | |
10341 | if (_argo0) { | |
10342 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
10343 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextEvent_p")) { | |
10344 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextEvent_GetY. Expected _wxStyledTextEvent_p."); | |
10345 | return NULL; | |
10346 | } | |
10347 | } | |
10348 | { | |
4268f798 | 10349 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 10350 | _result = (int )wxStyledTextEvent_GetY(_arg0); |
65ec6247 | 10351 | |
4268f798 RD |
10352 | wxPyEndAllowThreads(__tstate); |
10353 | if (PyErr_Occurred()) return NULL; | |
65ec6247 RD |
10354 | } _resultobj = Py_BuildValue("i",_result); |
10355 | return _resultobj; | |
10356 | } | |
10357 | ||
74933d75 RD |
10358 | #define wxStyledTextEvent_GetDragText(_swigobj) (_swigobj->GetDragText()) |
10359 | static PyObject *_wrap_wxStyledTextEvent_GetDragText(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10360 | PyObject * _resultobj; | |
10361 | wxString * _result; | |
10362 | wxStyledTextEvent * _arg0; | |
10363 | PyObject * _argo0 = 0; | |
10364 | char *_kwnames[] = { "self", NULL }; | |
10365 | ||
10366 | self = self; | |
10367 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextEvent_GetDragText",_kwnames,&_argo0)) | |
10368 | return NULL; | |
10369 | if (_argo0) { | |
10370 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
10371 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextEvent_p")) { | |
10372 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextEvent_GetDragText. Expected _wxStyledTextEvent_p."); | |
10373 | return NULL; | |
10374 | } | |
10375 | } | |
10376 | { | |
4268f798 | 10377 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 10378 | _result = new wxString (wxStyledTextEvent_GetDragText(_arg0)); |
74933d75 | 10379 | |
4268f798 RD |
10380 | wxPyEndAllowThreads(__tstate); |
10381 | if (PyErr_Occurred()) return NULL; | |
74933d75 | 10382 | }{ |
c8bc7bb8 RD |
10383 | #if wxUSE_UNICODE |
10384 | _resultobj = PyUnicode_FromUnicode(_result->c_str(), _result->Len()); | |
10385 | #else | |
74933d75 | 10386 | _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len()); |
c8bc7bb8 | 10387 | #endif |
74933d75 RD |
10388 | } |
10389 | { | |
10390 | delete _result; | |
10391 | } | |
10392 | return _resultobj; | |
10393 | } | |
10394 | ||
10395 | #define wxStyledTextEvent_GetDragAllowMove(_swigobj) (_swigobj->GetDragAllowMove()) | |
10396 | static PyObject *_wrap_wxStyledTextEvent_GetDragAllowMove(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10397 | PyObject * _resultobj; | |
10398 | bool _result; | |
10399 | wxStyledTextEvent * _arg0; | |
10400 | PyObject * _argo0 = 0; | |
10401 | char *_kwnames[] = { "self", NULL }; | |
10402 | ||
10403 | self = self; | |
10404 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextEvent_GetDragAllowMove",_kwnames,&_argo0)) | |
10405 | return NULL; | |
10406 | if (_argo0) { | |
10407 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
10408 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextEvent_p")) { | |
10409 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextEvent_GetDragAllowMove. Expected _wxStyledTextEvent_p."); | |
10410 | return NULL; | |
10411 | } | |
10412 | } | |
10413 | { | |
4268f798 | 10414 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 10415 | _result = (bool )wxStyledTextEvent_GetDragAllowMove(_arg0); |
74933d75 | 10416 | |
4268f798 RD |
10417 | wxPyEndAllowThreads(__tstate); |
10418 | if (PyErr_Occurred()) return NULL; | |
74933d75 RD |
10419 | } _resultobj = Py_BuildValue("i",_result); |
10420 | return _resultobj; | |
10421 | } | |
10422 | ||
10423 | #define wxStyledTextEvent_GetDragResult(_swigobj) (_swigobj->GetDragResult()) | |
10424 | static PyObject *_wrap_wxStyledTextEvent_GetDragResult(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10425 | PyObject * _resultobj; | |
10426 | wxDragResult _result; | |
10427 | wxStyledTextEvent * _arg0; | |
10428 | PyObject * _argo0 = 0; | |
10429 | char *_kwnames[] = { "self", NULL }; | |
10430 | ||
10431 | self = self; | |
10432 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextEvent_GetDragResult",_kwnames,&_argo0)) | |
10433 | return NULL; | |
10434 | if (_argo0) { | |
10435 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
10436 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextEvent_p")) { | |
10437 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextEvent_GetDragResult. Expected _wxStyledTextEvent_p."); | |
10438 | return NULL; | |
10439 | } | |
10440 | } | |
10441 | { | |
4268f798 | 10442 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 10443 | _result = (wxDragResult )wxStyledTextEvent_GetDragResult(_arg0); |
74933d75 | 10444 | |
4268f798 RD |
10445 | wxPyEndAllowThreads(__tstate); |
10446 | if (PyErr_Occurred()) return NULL; | |
74933d75 RD |
10447 | } _resultobj = Py_BuildValue("i",_result); |
10448 | return _resultobj; | |
10449 | } | |
10450 | ||
f6bcfd97 BP |
10451 | #define wxStyledTextEvent_GetShift(_swigobj) (_swigobj->GetShift()) |
10452 | static PyObject *_wrap_wxStyledTextEvent_GetShift(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10453 | PyObject * _resultobj; | |
10454 | bool _result; | |
10455 | wxStyledTextEvent * _arg0; | |
10456 | PyObject * _argo0 = 0; | |
10457 | char *_kwnames[] = { "self", NULL }; | |
10458 | ||
10459 | self = self; | |
10460 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextEvent_GetShift",_kwnames,&_argo0)) | |
10461 | return NULL; | |
10462 | if (_argo0) { | |
10463 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
10464 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextEvent_p")) { | |
10465 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextEvent_GetShift. Expected _wxStyledTextEvent_p."); | |
10466 | return NULL; | |
10467 | } | |
10468 | } | |
10469 | { | |
4268f798 | 10470 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 10471 | _result = (bool )wxStyledTextEvent_GetShift(_arg0); |
f6bcfd97 | 10472 | |
4268f798 RD |
10473 | wxPyEndAllowThreads(__tstate); |
10474 | if (PyErr_Occurred()) return NULL; | |
f6bcfd97 BP |
10475 | } _resultobj = Py_BuildValue("i",_result); |
10476 | return _resultobj; | |
10477 | } | |
10478 | ||
10479 | #define wxStyledTextEvent_GetControl(_swigobj) (_swigobj->GetControl()) | |
10480 | static PyObject *_wrap_wxStyledTextEvent_GetControl(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10481 | PyObject * _resultobj; | |
10482 | bool _result; | |
10483 | wxStyledTextEvent * _arg0; | |
10484 | PyObject * _argo0 = 0; | |
10485 | char *_kwnames[] = { "self", NULL }; | |
10486 | ||
10487 | self = self; | |
10488 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextEvent_GetControl",_kwnames,&_argo0)) | |
10489 | return NULL; | |
10490 | if (_argo0) { | |
10491 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
10492 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextEvent_p")) { | |
10493 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextEvent_GetControl. Expected _wxStyledTextEvent_p."); | |
10494 | return NULL; | |
10495 | } | |
10496 | } | |
10497 | { | |
4268f798 | 10498 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 10499 | _result = (bool )wxStyledTextEvent_GetControl(_arg0); |
f6bcfd97 | 10500 | |
4268f798 RD |
10501 | wxPyEndAllowThreads(__tstate); |
10502 | if (PyErr_Occurred()) return NULL; | |
f6bcfd97 BP |
10503 | } _resultobj = Py_BuildValue("i",_result); |
10504 | return _resultobj; | |
10505 | } | |
10506 | ||
10507 | #define wxStyledTextEvent_GetAlt(_swigobj) (_swigobj->GetAlt()) | |
10508 | static PyObject *_wrap_wxStyledTextEvent_GetAlt(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10509 | PyObject * _resultobj; | |
10510 | bool _result; | |
10511 | wxStyledTextEvent * _arg0; | |
10512 | PyObject * _argo0 = 0; | |
10513 | char *_kwnames[] = { "self", NULL }; | |
10514 | ||
10515 | self = self; | |
10516 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextEvent_GetAlt",_kwnames,&_argo0)) | |
10517 | return NULL; | |
10518 | if (_argo0) { | |
10519 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
10520 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextEvent_p")) { | |
10521 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextEvent_GetAlt. Expected _wxStyledTextEvent_p."); | |
10522 | return NULL; | |
10523 | } | |
10524 | } | |
10525 | { | |
4268f798 | 10526 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 10527 | _result = (bool )wxStyledTextEvent_GetAlt(_arg0); |
f6bcfd97 | 10528 | |
4268f798 RD |
10529 | wxPyEndAllowThreads(__tstate); |
10530 | if (PyErr_Occurred()) return NULL; | |
f6bcfd97 BP |
10531 | } _resultobj = Py_BuildValue("i",_result); |
10532 | return _resultobj; | |
10533 | } | |
10534 | ||
ebf4302c RD |
10535 | #define wxStyledTextEvent_Clone(_swigobj) (_swigobj->Clone()) |
10536 | static PyObject *_wrap_wxStyledTextEvent_Clone(PyObject *self, PyObject *args, PyObject *kwargs) { | |
f6bcfd97 | 10537 | PyObject * _resultobj; |
ebf4302c | 10538 | wxEvent * _result; |
f6bcfd97 | 10539 | wxStyledTextEvent * _arg0; |
f6bcfd97 | 10540 | PyObject * _argo0 = 0; |
ebf4302c RD |
10541 | char *_kwnames[] = { "self", NULL }; |
10542 | char _ptemp[128]; | |
f6bcfd97 BP |
10543 | |
10544 | self = self; | |
ebf4302c | 10545 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxStyledTextEvent_Clone",_kwnames,&_argo0)) |
f6bcfd97 BP |
10546 | return NULL; |
10547 | if (_argo0) { | |
10548 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
10549 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxStyledTextEvent_p")) { | |
ebf4302c | 10550 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxStyledTextEvent_Clone. Expected _wxStyledTextEvent_p."); |
f6bcfd97 BP |
10551 | return NULL; |
10552 | } | |
10553 | } | |
10554 | { | |
4268f798 | 10555 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 10556 | _result = (wxEvent *)wxStyledTextEvent_Clone(_arg0); |
f6bcfd97 | 10557 | |
4268f798 RD |
10558 | wxPyEndAllowThreads(__tstate); |
10559 | if (PyErr_Occurred()) return NULL; | |
ebf4302c RD |
10560 | } if (_result) { |
10561 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxEvent_p"); | |
10562 | _resultobj = Py_BuildValue("s",_ptemp); | |
10563 | } else { | |
10564 | Py_INCREF(Py_None); | |
10565 | _resultobj = Py_None; | |
10566 | } | |
f6bcfd97 BP |
10567 | return _resultobj; |
10568 | } | |
10569 | ||
10570 | static PyMethodDef stc_cMethods[] = { | |
ebf4302c | 10571 | { "wxStyledTextEvent_Clone", (PyCFunction) _wrap_wxStyledTextEvent_Clone, METH_VARARGS | METH_KEYWORDS }, |
f6bcfd97 BP |
10572 | { "wxStyledTextEvent_GetAlt", (PyCFunction) _wrap_wxStyledTextEvent_GetAlt, METH_VARARGS | METH_KEYWORDS }, |
10573 | { "wxStyledTextEvent_GetControl", (PyCFunction) _wrap_wxStyledTextEvent_GetControl, METH_VARARGS | METH_KEYWORDS }, | |
10574 | { "wxStyledTextEvent_GetShift", (PyCFunction) _wrap_wxStyledTextEvent_GetShift, METH_VARARGS | METH_KEYWORDS }, | |
74933d75 RD |
10575 | { "wxStyledTextEvent_GetDragResult", (PyCFunction) _wrap_wxStyledTextEvent_GetDragResult, METH_VARARGS | METH_KEYWORDS }, |
10576 | { "wxStyledTextEvent_GetDragAllowMove", (PyCFunction) _wrap_wxStyledTextEvent_GetDragAllowMove, METH_VARARGS | METH_KEYWORDS }, | |
10577 | { "wxStyledTextEvent_GetDragText", (PyCFunction) _wrap_wxStyledTextEvent_GetDragText, METH_VARARGS | METH_KEYWORDS }, | |
65ec6247 RD |
10578 | { "wxStyledTextEvent_GetY", (PyCFunction) _wrap_wxStyledTextEvent_GetY, METH_VARARGS | METH_KEYWORDS }, |
10579 | { "wxStyledTextEvent_GetX", (PyCFunction) _wrap_wxStyledTextEvent_GetX, METH_VARARGS | METH_KEYWORDS }, | |
10580 | { "wxStyledTextEvent_GetListType", (PyCFunction) _wrap_wxStyledTextEvent_GetListType, METH_VARARGS | METH_KEYWORDS }, | |
f6bcfd97 BP |
10581 | { "wxStyledTextEvent_GetLParam", (PyCFunction) _wrap_wxStyledTextEvent_GetLParam, METH_VARARGS | METH_KEYWORDS }, |
10582 | { "wxStyledTextEvent_GetWParam", (PyCFunction) _wrap_wxStyledTextEvent_GetWParam, METH_VARARGS | METH_KEYWORDS }, | |
10583 | { "wxStyledTextEvent_GetMessage", (PyCFunction) _wrap_wxStyledTextEvent_GetMessage, METH_VARARGS | METH_KEYWORDS }, | |
10584 | { "wxStyledTextEvent_GetMargin", (PyCFunction) _wrap_wxStyledTextEvent_GetMargin, METH_VARARGS | METH_KEYWORDS }, | |
10585 | { "wxStyledTextEvent_GetFoldLevelPrev", (PyCFunction) _wrap_wxStyledTextEvent_GetFoldLevelPrev, METH_VARARGS | METH_KEYWORDS }, | |
10586 | { "wxStyledTextEvent_GetFoldLevelNow", (PyCFunction) _wrap_wxStyledTextEvent_GetFoldLevelNow, METH_VARARGS | METH_KEYWORDS }, | |
10587 | { "wxStyledTextEvent_GetLine", (PyCFunction) _wrap_wxStyledTextEvent_GetLine, METH_VARARGS | METH_KEYWORDS }, | |
10588 | { "wxStyledTextEvent_GetLinesAdded", (PyCFunction) _wrap_wxStyledTextEvent_GetLinesAdded, METH_VARARGS | METH_KEYWORDS }, | |
10589 | { "wxStyledTextEvent_GetLength", (PyCFunction) _wrap_wxStyledTextEvent_GetLength, METH_VARARGS | METH_KEYWORDS }, | |
10590 | { "wxStyledTextEvent_GetText", (PyCFunction) _wrap_wxStyledTextEvent_GetText, METH_VARARGS | METH_KEYWORDS }, | |
10591 | { "wxStyledTextEvent_GetModificationType", (PyCFunction) _wrap_wxStyledTextEvent_GetModificationType, METH_VARARGS | METH_KEYWORDS }, | |
10592 | { "wxStyledTextEvent_GetModifiers", (PyCFunction) _wrap_wxStyledTextEvent_GetModifiers, METH_VARARGS | METH_KEYWORDS }, | |
10593 | { "wxStyledTextEvent_GetKey", (PyCFunction) _wrap_wxStyledTextEvent_GetKey, METH_VARARGS | METH_KEYWORDS }, | |
10594 | { "wxStyledTextEvent_GetPosition", (PyCFunction) _wrap_wxStyledTextEvent_GetPosition, METH_VARARGS | METH_KEYWORDS }, | |
74933d75 RD |
10595 | { "wxStyledTextEvent_SetDragResult", (PyCFunction) _wrap_wxStyledTextEvent_SetDragResult, METH_VARARGS | METH_KEYWORDS }, |
10596 | { "wxStyledTextEvent_SetDragAllowMove", (PyCFunction) _wrap_wxStyledTextEvent_SetDragAllowMove, METH_VARARGS | METH_KEYWORDS }, | |
10597 | { "wxStyledTextEvent_SetDragText", (PyCFunction) _wrap_wxStyledTextEvent_SetDragText, METH_VARARGS | METH_KEYWORDS }, | |
65ec6247 RD |
10598 | { "wxStyledTextEvent_SetY", (PyCFunction) _wrap_wxStyledTextEvent_SetY, METH_VARARGS | METH_KEYWORDS }, |
10599 | { "wxStyledTextEvent_SetX", (PyCFunction) _wrap_wxStyledTextEvent_SetX, METH_VARARGS | METH_KEYWORDS }, | |
10600 | { "wxStyledTextEvent_SetListType", (PyCFunction) _wrap_wxStyledTextEvent_SetListType, METH_VARARGS | METH_KEYWORDS }, | |
f6bcfd97 BP |
10601 | { "wxStyledTextEvent_SetLParam", (PyCFunction) _wrap_wxStyledTextEvent_SetLParam, METH_VARARGS | METH_KEYWORDS }, |
10602 | { "wxStyledTextEvent_SetWParam", (PyCFunction) _wrap_wxStyledTextEvent_SetWParam, METH_VARARGS | METH_KEYWORDS }, | |
10603 | { "wxStyledTextEvent_SetMessage", (PyCFunction) _wrap_wxStyledTextEvent_SetMessage, METH_VARARGS | METH_KEYWORDS }, | |
10604 | { "wxStyledTextEvent_SetMargin", (PyCFunction) _wrap_wxStyledTextEvent_SetMargin, METH_VARARGS | METH_KEYWORDS }, | |
10605 | { "wxStyledTextEvent_SetFoldLevelPrev", (PyCFunction) _wrap_wxStyledTextEvent_SetFoldLevelPrev, METH_VARARGS | METH_KEYWORDS }, | |
10606 | { "wxStyledTextEvent_SetFoldLevelNow", (PyCFunction) _wrap_wxStyledTextEvent_SetFoldLevelNow, METH_VARARGS | METH_KEYWORDS }, | |
10607 | { "wxStyledTextEvent_SetLine", (PyCFunction) _wrap_wxStyledTextEvent_SetLine, METH_VARARGS | METH_KEYWORDS }, | |
10608 | { "wxStyledTextEvent_SetLinesAdded", (PyCFunction) _wrap_wxStyledTextEvent_SetLinesAdded, METH_VARARGS | METH_KEYWORDS }, | |
10609 | { "wxStyledTextEvent_SetLength", (PyCFunction) _wrap_wxStyledTextEvent_SetLength, METH_VARARGS | METH_KEYWORDS }, | |
10610 | { "wxStyledTextEvent_SetText", (PyCFunction) _wrap_wxStyledTextEvent_SetText, METH_VARARGS | METH_KEYWORDS }, | |
10611 | { "wxStyledTextEvent_SetModificationType", (PyCFunction) _wrap_wxStyledTextEvent_SetModificationType, METH_VARARGS | METH_KEYWORDS }, | |
10612 | { "wxStyledTextEvent_SetModifiers", (PyCFunction) _wrap_wxStyledTextEvent_SetModifiers, METH_VARARGS | METH_KEYWORDS }, | |
10613 | { "wxStyledTextEvent_SetKey", (PyCFunction) _wrap_wxStyledTextEvent_SetKey, METH_VARARGS | METH_KEYWORDS }, | |
10614 | { "wxStyledTextEvent_SetPosition", (PyCFunction) _wrap_wxStyledTextEvent_SetPosition, METH_VARARGS | METH_KEYWORDS }, | |
10615 | { "delete_wxStyledTextEvent", (PyCFunction) _wrap_delete_wxStyledTextEvent, METH_VARARGS | METH_KEYWORDS }, | |
10616 | { "new_wxStyledTextEvent", (PyCFunction) _wrap_new_wxStyledTextEvent, METH_VARARGS | METH_KEYWORDS }, | |
0b9dfbc0 RD |
10617 | { "wxStyledTextCtrl_SetLastKeydownProcessed", (PyCFunction) _wrap_wxStyledTextCtrl_SetLastKeydownProcessed, METH_VARARGS | METH_KEYWORDS }, |
10618 | { "wxStyledTextCtrl_GetLastKeydownProcessed", (PyCFunction) _wrap_wxStyledTextCtrl_GetLastKeydownProcessed, METH_VARARGS | METH_KEYWORDS }, | |
ebf4302c RD |
10619 | { "wxStyledTextCtrl_SetHScrollBar", (PyCFunction) _wrap_wxStyledTextCtrl_SetHScrollBar, METH_VARARGS | METH_KEYWORDS }, |
10620 | { "wxStyledTextCtrl_SetVScrollBar", (PyCFunction) _wrap_wxStyledTextCtrl_SetVScrollBar, METH_VARARGS | METH_KEYWORDS }, | |
65ec6247 | 10621 | { "wxStyledTextCtrl_SendMsg", (PyCFunction) _wrap_wxStyledTextCtrl_SendMsg, METH_VARARGS | METH_KEYWORDS }, |
ea7c631c RD |
10622 | { "wxStyledTextCtrl_ScrollToColumn", (PyCFunction) _wrap_wxStyledTextCtrl_ScrollToColumn, METH_VARARGS | METH_KEYWORDS }, |
10623 | { "wxStyledTextCtrl_ScrollToLine", (PyCFunction) _wrap_wxStyledTextCtrl_ScrollToLine, METH_VARARGS | METH_KEYWORDS }, | |
fe47ec10 RD |
10624 | { "wxStyledTextCtrl_PointFromPosition", (PyCFunction) _wrap_wxStyledTextCtrl_PointFromPosition, METH_VARARGS | METH_KEYWORDS }, |
10625 | { "wxStyledTextCtrl_GetSelection", (PyCFunction) _wrap_wxStyledTextCtrl_GetSelection, METH_VARARGS | METH_KEYWORDS }, | |
10626 | { "wxStyledTextCtrl_SetMargins", (PyCFunction) _wrap_wxStyledTextCtrl_SetMargins, METH_VARARGS | METH_KEYWORDS }, | |
10627 | { "wxStyledTextCtrl_CmdKeyExecute", (PyCFunction) _wrap_wxStyledTextCtrl_CmdKeyExecute, METH_VARARGS | METH_KEYWORDS }, | |
10628 | { "wxStyledTextCtrl_StyleSetFontAttr", (PyCFunction) _wrap_wxStyledTextCtrl_StyleSetFontAttr, METH_VARARGS | METH_KEYWORDS }, | |
10629 | { "wxStyledTextCtrl_StyleSetFont", (PyCFunction) _wrap_wxStyledTextCtrl_StyleSetFont, METH_VARARGS | METH_KEYWORDS }, | |
10630 | { "wxStyledTextCtrl_StyleSetSpec", (PyCFunction) _wrap_wxStyledTextCtrl_StyleSetSpec, METH_VARARGS | METH_KEYWORDS }, | |
10631 | { "wxStyledTextCtrl_GetCurrentLine", (PyCFunction) _wrap_wxStyledTextCtrl_GetCurrentLine, METH_VARARGS | METH_KEYWORDS }, | |
65ec6247 | 10632 | { "wxStyledTextCtrl_SetLexerLanguage", (PyCFunction) _wrap_wxStyledTextCtrl_SetLexerLanguage, METH_VARARGS | METH_KEYWORDS }, |
fe47ec10 | 10633 | { "wxStyledTextCtrl_SetKeyWords", (PyCFunction) _wrap_wxStyledTextCtrl_SetKeyWords, METH_VARARGS | METH_KEYWORDS }, |
f6bcfd97 BP |
10634 | { "wxStyledTextCtrl_SetProperty", (PyCFunction) _wrap_wxStyledTextCtrl_SetProperty, METH_VARARGS | METH_KEYWORDS }, |
10635 | { "wxStyledTextCtrl_Colourise", (PyCFunction) _wrap_wxStyledTextCtrl_Colourise, METH_VARARGS | METH_KEYWORDS }, | |
10636 | { "wxStyledTextCtrl_GetLexer", (PyCFunction) _wrap_wxStyledTextCtrl_GetLexer, METH_VARARGS | METH_KEYWORDS }, | |
10637 | { "wxStyledTextCtrl_SetLexer", (PyCFunction) _wrap_wxStyledTextCtrl_SetLexer, METH_VARARGS | METH_KEYWORDS }, | |
fe47ec10 RD |
10638 | { "wxStyledTextCtrl_StopRecord", (PyCFunction) _wrap_wxStyledTextCtrl_StopRecord, METH_VARARGS | METH_KEYWORDS }, |
10639 | { "wxStyledTextCtrl_StartRecord", (PyCFunction) _wrap_wxStyledTextCtrl_StartRecord, METH_VARARGS | METH_KEYWORDS }, | |
1a2fb4cd RD |
10640 | { "wxStyledTextCtrl_GetXOffset", (PyCFunction) _wrap_wxStyledTextCtrl_GetXOffset, METH_VARARGS | METH_KEYWORDS }, |
10641 | { "wxStyledTextCtrl_SetXOffset", (PyCFunction) _wrap_wxStyledTextCtrl_SetXOffset, METH_VARARGS | METH_KEYWORDS }, | |
65ec6247 RD |
10642 | { "wxStyledTextCtrl_DelLineRight", (PyCFunction) _wrap_wxStyledTextCtrl_DelLineRight, METH_VARARGS | METH_KEYWORDS }, |
10643 | { "wxStyledTextCtrl_DelLineLeft", (PyCFunction) _wrap_wxStyledTextCtrl_DelLineLeft, METH_VARARGS | METH_KEYWORDS }, | |
10644 | { "wxStyledTextCtrl_SetVisiblePolicy", (PyCFunction) _wrap_wxStyledTextCtrl_SetVisiblePolicy, METH_VARARGS | METH_KEYWORDS }, | |
10645 | { "wxStyledTextCtrl_WordPartRightExtend", (PyCFunction) _wrap_wxStyledTextCtrl_WordPartRightExtend, METH_VARARGS | METH_KEYWORDS }, | |
10646 | { "wxStyledTextCtrl_WordPartRight", (PyCFunction) _wrap_wxStyledTextCtrl_WordPartRight, METH_VARARGS | METH_KEYWORDS }, | |
10647 | { "wxStyledTextCtrl_WordPartLeftExtend", (PyCFunction) _wrap_wxStyledTextCtrl_WordPartLeftExtend, METH_VARARGS | METH_KEYWORDS }, | |
10648 | { "wxStyledTextCtrl_WordPartLeft", (PyCFunction) _wrap_wxStyledTextCtrl_WordPartLeft, METH_VARARGS | METH_KEYWORDS }, | |
1a2fb4cd RD |
10649 | { "wxStyledTextCtrl_GetControlCharSymbol", (PyCFunction) _wrap_wxStyledTextCtrl_GetControlCharSymbol, METH_VARARGS | METH_KEYWORDS }, |
10650 | { "wxStyledTextCtrl_SetControlCharSymbol", (PyCFunction) _wrap_wxStyledTextCtrl_SetControlCharSymbol, METH_VARARGS | METH_KEYWORDS }, | |
65ec6247 RD |
10651 | { "wxStyledTextCtrl_GetCursor", (PyCFunction) _wrap_wxStyledTextCtrl_GetCursor, METH_VARARGS | METH_KEYWORDS }, |
10652 | { "wxStyledTextCtrl_SetCursor", (PyCFunction) _wrap_wxStyledTextCtrl_SetCursor, METH_VARARGS | METH_KEYWORDS }, | |
10653 | { "wxStyledTextCtrl_GetMouseDownCaptures", (PyCFunction) _wrap_wxStyledTextCtrl_GetMouseDownCaptures, METH_VARARGS | METH_KEYWORDS }, | |
10654 | { "wxStyledTextCtrl_SetMouseDownCaptures", (PyCFunction) _wrap_wxStyledTextCtrl_SetMouseDownCaptures, METH_VARARGS | METH_KEYWORDS }, | |
10655 | { "wxStyledTextCtrl_GetStatus", (PyCFunction) _wrap_wxStyledTextCtrl_GetStatus, METH_VARARGS | METH_KEYWORDS }, | |
10656 | { "wxStyledTextCtrl_SetStatus", (PyCFunction) _wrap_wxStyledTextCtrl_SetStatus, METH_VARARGS | METH_KEYWORDS }, | |
fea018f8 RD |
10657 | { "wxStyledTextCtrl_GetSTCFocus", (PyCFunction) _wrap_wxStyledTextCtrl_GetSTCFocus, METH_VARARGS | METH_KEYWORDS }, |
10658 | { "wxStyledTextCtrl_SetSTCFocus", (PyCFunction) _wrap_wxStyledTextCtrl_SetSTCFocus, METH_VARARGS | METH_KEYWORDS }, | |
fe47ec10 RD |
10659 | { "wxStyledTextCtrl_GetModEventMask", (PyCFunction) _wrap_wxStyledTextCtrl_GetModEventMask, METH_VARARGS | METH_KEYWORDS }, |
10660 | { "wxStyledTextCtrl_ReleaseDocument", (PyCFunction) _wrap_wxStyledTextCtrl_ReleaseDocument, METH_VARARGS | METH_KEYWORDS }, | |
10661 | { "wxStyledTextCtrl_AddRefDocument", (PyCFunction) _wrap_wxStyledTextCtrl_AddRefDocument, METH_VARARGS | METH_KEYWORDS }, | |
10662 | { "wxStyledTextCtrl_CreateDocument", (PyCFunction) _wrap_wxStyledTextCtrl_CreateDocument, METH_VARARGS | METH_KEYWORDS }, | |
10663 | { "wxStyledTextCtrl_GetZoom", (PyCFunction) _wrap_wxStyledTextCtrl_GetZoom, METH_VARARGS | METH_KEYWORDS }, | |
10664 | { "wxStyledTextCtrl_SetZoom", (PyCFunction) _wrap_wxStyledTextCtrl_SetZoom, METH_VARARGS | METH_KEYWORDS }, | |
10665 | { "wxStyledTextCtrl_SelectionIsRectangle", (PyCFunction) _wrap_wxStyledTextCtrl_SelectionIsRectangle, METH_VARARGS | METH_KEYWORDS }, | |
10666 | { "wxStyledTextCtrl_UsePopUp", (PyCFunction) _wrap_wxStyledTextCtrl_UsePopUp, METH_VARARGS | METH_KEYWORDS }, | |
10667 | { "wxStyledTextCtrl_LinesOnScreen", (PyCFunction) _wrap_wxStyledTextCtrl_LinesOnScreen, METH_VARARGS | METH_KEYWORDS }, | |
10668 | { "wxStyledTextCtrl_SetCaretPolicy", (PyCFunction) _wrap_wxStyledTextCtrl_SetCaretPolicy, METH_VARARGS | METH_KEYWORDS }, | |
10669 | { "wxStyledTextCtrl_SearchPrev", (PyCFunction) _wrap_wxStyledTextCtrl_SearchPrev, METH_VARARGS | METH_KEYWORDS }, | |
10670 | { "wxStyledTextCtrl_SearchNext", (PyCFunction) _wrap_wxStyledTextCtrl_SearchNext, METH_VARARGS | METH_KEYWORDS }, | |
10671 | { "wxStyledTextCtrl_SearchAnchor", (PyCFunction) _wrap_wxStyledTextCtrl_SearchAnchor, METH_VARARGS | METH_KEYWORDS }, | |
f6bcfd97 BP |
10672 | { "wxStyledTextCtrl_SetEdgeColour", (PyCFunction) _wrap_wxStyledTextCtrl_SetEdgeColour, METH_VARARGS | METH_KEYWORDS }, |
10673 | { "wxStyledTextCtrl_GetEdgeColour", (PyCFunction) _wrap_wxStyledTextCtrl_GetEdgeColour, METH_VARARGS | METH_KEYWORDS }, | |
10674 | { "wxStyledTextCtrl_SetEdgeMode", (PyCFunction) _wrap_wxStyledTextCtrl_SetEdgeMode, METH_VARARGS | METH_KEYWORDS }, | |
10675 | { "wxStyledTextCtrl_GetEdgeMode", (PyCFunction) _wrap_wxStyledTextCtrl_GetEdgeMode, METH_VARARGS | METH_KEYWORDS }, | |
10676 | { "wxStyledTextCtrl_SetEdgeColumn", (PyCFunction) _wrap_wxStyledTextCtrl_SetEdgeColumn, METH_VARARGS | METH_KEYWORDS }, | |
10677 | { "wxStyledTextCtrl_GetEdgeColumn", (PyCFunction) _wrap_wxStyledTextCtrl_GetEdgeColumn, METH_VARARGS | METH_KEYWORDS }, | |
fe47ec10 RD |
10678 | { "wxStyledTextCtrl_SetModEventMask", (PyCFunction) _wrap_wxStyledTextCtrl_SetModEventMask, METH_VARARGS | METH_KEYWORDS }, |
10679 | { "wxStyledTextCtrl_SetDocPointer", (PyCFunction) _wrap_wxStyledTextCtrl_SetDocPointer, METH_VARARGS | METH_KEYWORDS }, | |
10680 | { "wxStyledTextCtrl_GetDocPointer", (PyCFunction) _wrap_wxStyledTextCtrl_GetDocPointer, METH_VARARGS | METH_KEYWORDS }, | |
10681 | { "wxStyledTextCtrl_SetViewEOL", (PyCFunction) _wrap_wxStyledTextCtrl_SetViewEOL, METH_VARARGS | METH_KEYWORDS }, | |
10682 | { "wxStyledTextCtrl_GetViewEOL", (PyCFunction) _wrap_wxStyledTextCtrl_GetViewEOL, METH_VARARGS | METH_KEYWORDS }, | |
10683 | { "wxStyledTextCtrl_BraceMatch", (PyCFunction) _wrap_wxStyledTextCtrl_BraceMatch, METH_VARARGS | METH_KEYWORDS }, | |
10684 | { "wxStyledTextCtrl_BraceBadLight", (PyCFunction) _wrap_wxStyledTextCtrl_BraceBadLight, METH_VARARGS | METH_KEYWORDS }, | |
10685 | { "wxStyledTextCtrl_BraceHighlight", (PyCFunction) _wrap_wxStyledTextCtrl_BraceHighlight, METH_VARARGS | METH_KEYWORDS }, | |
10686 | { "wxStyledTextCtrl_LineLength", (PyCFunction) _wrap_wxStyledTextCtrl_LineLength, METH_VARARGS | METH_KEYWORDS }, | |
65ec6247 | 10687 | { "wxStyledTextCtrl_MoveCaretInsideView", (PyCFunction) _wrap_wxStyledTextCtrl_MoveCaretInsideView, METH_VARARGS | METH_KEYWORDS }, |
1a2fb4cd RD |
10688 | { "wxStyledTextCtrl_GetLayoutCache", (PyCFunction) _wrap_wxStyledTextCtrl_GetLayoutCache, METH_VARARGS | METH_KEYWORDS }, |
10689 | { "wxStyledTextCtrl_SetLayoutCache", (PyCFunction) _wrap_wxStyledTextCtrl_SetLayoutCache, METH_VARARGS | METH_KEYWORDS }, | |
10690 | { "wxStyledTextCtrl_GetWrapMode", (PyCFunction) _wrap_wxStyledTextCtrl_GetWrapMode, METH_VARARGS | METH_KEYWORDS }, | |
10691 | { "wxStyledTextCtrl_SetWrapMode", (PyCFunction) _wrap_wxStyledTextCtrl_SetWrapMode, METH_VARARGS | METH_KEYWORDS }, | |
10692 | { "wxStyledTextCtrl_WordEndPosition", (PyCFunction) _wrap_wxStyledTextCtrl_WordEndPosition, METH_VARARGS | METH_KEYWORDS }, | |
10693 | { "wxStyledTextCtrl_WordStartPosition", (PyCFunction) _wrap_wxStyledTextCtrl_WordStartPosition, METH_VARARGS | METH_KEYWORDS }, | |
65ec6247 RD |
10694 | { "wxStyledTextCtrl_GetMouseDwellTime", (PyCFunction) _wrap_wxStyledTextCtrl_GetMouseDwellTime, METH_VARARGS | METH_KEYWORDS }, |
10695 | { "wxStyledTextCtrl_SetMouseDwellTime", (PyCFunction) _wrap_wxStyledTextCtrl_SetMouseDwellTime, METH_VARARGS | METH_KEYWORDS }, | |
10696 | { "wxStyledTextCtrl_GetBackSpaceUnIndents", (PyCFunction) _wrap_wxStyledTextCtrl_GetBackSpaceUnIndents, METH_VARARGS | METH_KEYWORDS }, | |
10697 | { "wxStyledTextCtrl_SetBackSpaceUnIndents", (PyCFunction) _wrap_wxStyledTextCtrl_SetBackSpaceUnIndents, METH_VARARGS | METH_KEYWORDS }, | |
10698 | { "wxStyledTextCtrl_GetTabIndents", (PyCFunction) _wrap_wxStyledTextCtrl_GetTabIndents, METH_VARARGS | METH_KEYWORDS }, | |
10699 | { "wxStyledTextCtrl_SetTabIndents", (PyCFunction) _wrap_wxStyledTextCtrl_SetTabIndents, METH_VARARGS | METH_KEYWORDS }, | |
10700 | { "wxStyledTextCtrl_EnsureVisibleEnforcePolicy", (PyCFunction) _wrap_wxStyledTextCtrl_EnsureVisibleEnforcePolicy, METH_VARARGS | METH_KEYWORDS }, | |
f6bcfd97 BP |
10701 | { "wxStyledTextCtrl_SetFoldFlags", (PyCFunction) _wrap_wxStyledTextCtrl_SetFoldFlags, METH_VARARGS | METH_KEYWORDS }, |
10702 | { "wxStyledTextCtrl_EnsureVisible", (PyCFunction) _wrap_wxStyledTextCtrl_EnsureVisible, METH_VARARGS | METH_KEYWORDS }, | |
10703 | { "wxStyledTextCtrl_ToggleFold", (PyCFunction) _wrap_wxStyledTextCtrl_ToggleFold, METH_VARARGS | METH_KEYWORDS }, | |
10704 | { "wxStyledTextCtrl_GetFoldExpanded", (PyCFunction) _wrap_wxStyledTextCtrl_GetFoldExpanded, METH_VARARGS | METH_KEYWORDS }, | |
10705 | { "wxStyledTextCtrl_SetFoldExpanded", (PyCFunction) _wrap_wxStyledTextCtrl_SetFoldExpanded, METH_VARARGS | METH_KEYWORDS }, | |
10706 | { "wxStyledTextCtrl_GetLineVisible", (PyCFunction) _wrap_wxStyledTextCtrl_GetLineVisible, METH_VARARGS | METH_KEYWORDS }, | |
10707 | { "wxStyledTextCtrl_HideLines", (PyCFunction) _wrap_wxStyledTextCtrl_HideLines, METH_VARARGS | METH_KEYWORDS }, | |
10708 | { "wxStyledTextCtrl_ShowLines", (PyCFunction) _wrap_wxStyledTextCtrl_ShowLines, METH_VARARGS | METH_KEYWORDS }, | |
10709 | { "wxStyledTextCtrl_GetFoldParent", (PyCFunction) _wrap_wxStyledTextCtrl_GetFoldParent, METH_VARARGS | METH_KEYWORDS }, | |
10710 | { "wxStyledTextCtrl_GetLastChild", (PyCFunction) _wrap_wxStyledTextCtrl_GetLastChild, METH_VARARGS | METH_KEYWORDS }, | |
10711 | { "wxStyledTextCtrl_GetFoldLevel", (PyCFunction) _wrap_wxStyledTextCtrl_GetFoldLevel, METH_VARARGS | METH_KEYWORDS }, | |
10712 | { "wxStyledTextCtrl_SetFoldLevel", (PyCFunction) _wrap_wxStyledTextCtrl_SetFoldLevel, METH_VARARGS | METH_KEYWORDS }, | |
10713 | { "wxStyledTextCtrl_DocLineFromVisible", (PyCFunction) _wrap_wxStyledTextCtrl_DocLineFromVisible, METH_VARARGS | METH_KEYWORDS }, | |
10714 | { "wxStyledTextCtrl_VisibleFromDocLine", (PyCFunction) _wrap_wxStyledTextCtrl_VisibleFromDocLine, METH_VARARGS | METH_KEYWORDS }, | |
f6bcfd97 BP |
10715 | { "wxStyledTextCtrl_CallTipSetBackground", (PyCFunction) _wrap_wxStyledTextCtrl_CallTipSetBackground, METH_VARARGS | METH_KEYWORDS }, |
10716 | { "wxStyledTextCtrl_CallTipSetHighlight", (PyCFunction) _wrap_wxStyledTextCtrl_CallTipSetHighlight, METH_VARARGS | METH_KEYWORDS }, | |
10717 | { "wxStyledTextCtrl_CallTipPosAtStart", (PyCFunction) _wrap_wxStyledTextCtrl_CallTipPosAtStart, METH_VARARGS | METH_KEYWORDS }, | |
10718 | { "wxStyledTextCtrl_CallTipActive", (PyCFunction) _wrap_wxStyledTextCtrl_CallTipActive, METH_VARARGS | METH_KEYWORDS }, | |
10719 | { "wxStyledTextCtrl_CallTipCancel", (PyCFunction) _wrap_wxStyledTextCtrl_CallTipCancel, METH_VARARGS | METH_KEYWORDS }, | |
10720 | { "wxStyledTextCtrl_CallTipShow", (PyCFunction) _wrap_wxStyledTextCtrl_CallTipShow, METH_VARARGS | METH_KEYWORDS }, | |
65ec6247 RD |
10721 | { "wxStyledTextCtrl_GetSearchFlags", (PyCFunction) _wrap_wxStyledTextCtrl_GetSearchFlags, METH_VARARGS | METH_KEYWORDS }, |
10722 | { "wxStyledTextCtrl_SetSearchFlags", (PyCFunction) _wrap_wxStyledTextCtrl_SetSearchFlags, METH_VARARGS | METH_KEYWORDS }, | |
10723 | { "wxStyledTextCtrl_SearchInTarget", (PyCFunction) _wrap_wxStyledTextCtrl_SearchInTarget, METH_VARARGS | METH_KEYWORDS }, | |
10724 | { "wxStyledTextCtrl_ReplaceTargetRE", (PyCFunction) _wrap_wxStyledTextCtrl_ReplaceTargetRE, METH_VARARGS | METH_KEYWORDS }, | |
10725 | { "wxStyledTextCtrl_ReplaceTarget", (PyCFunction) _wrap_wxStyledTextCtrl_ReplaceTarget, METH_VARARGS | METH_KEYWORDS }, | |
10726 | { "wxStyledTextCtrl_GetTargetEnd", (PyCFunction) _wrap_wxStyledTextCtrl_GetTargetEnd, METH_VARARGS | METH_KEYWORDS }, | |
10727 | { "wxStyledTextCtrl_SetTargetEnd", (PyCFunction) _wrap_wxStyledTextCtrl_SetTargetEnd, METH_VARARGS | METH_KEYWORDS }, | |
10728 | { "wxStyledTextCtrl_GetTargetStart", (PyCFunction) _wrap_wxStyledTextCtrl_GetTargetStart, METH_VARARGS | METH_KEYWORDS }, | |
10729 | { "wxStyledTextCtrl_SetTargetStart", (PyCFunction) _wrap_wxStyledTextCtrl_SetTargetStart, METH_VARARGS | METH_KEYWORDS }, | |
10730 | { "wxStyledTextCtrl_GetCaretWidth", (PyCFunction) _wrap_wxStyledTextCtrl_GetCaretWidth, METH_VARARGS | METH_KEYWORDS }, | |
10731 | { "wxStyledTextCtrl_SetCaretWidth", (PyCFunction) _wrap_wxStyledTextCtrl_SetCaretWidth, METH_VARARGS | METH_KEYWORDS }, | |
fe47ec10 RD |
10732 | { "wxStyledTextCtrl_GetOvertype", (PyCFunction) _wrap_wxStyledTextCtrl_GetOvertype, METH_VARARGS | METH_KEYWORDS }, |
10733 | { "wxStyledTextCtrl_SetOvertype", (PyCFunction) _wrap_wxStyledTextCtrl_SetOvertype, METH_VARARGS | METH_KEYWORDS }, | |
10734 | { "wxStyledTextCtrl_GetTextLength", (PyCFunction) _wrap_wxStyledTextCtrl_GetTextLength, METH_VARARGS | METH_KEYWORDS }, | |
10735 | { "wxStyledTextCtrl_GetText", (PyCFunction) _wrap_wxStyledTextCtrl_GetText, METH_VARARGS | METH_KEYWORDS }, | |
10736 | { "wxStyledTextCtrl_SetText", (PyCFunction) _wrap_wxStyledTextCtrl_SetText, METH_VARARGS | METH_KEYWORDS }, | |
10737 | { "wxStyledTextCtrl_Clear", (PyCFunction) _wrap_wxStyledTextCtrl_Clear, METH_VARARGS | METH_KEYWORDS }, | |
10738 | { "wxStyledTextCtrl_Paste", (PyCFunction) _wrap_wxStyledTextCtrl_Paste, METH_VARARGS | METH_KEYWORDS }, | |
10739 | { "wxStyledTextCtrl_Copy", (PyCFunction) _wrap_wxStyledTextCtrl_Copy, METH_VARARGS | METH_KEYWORDS }, | |
10740 | { "wxStyledTextCtrl_Cut", (PyCFunction) _wrap_wxStyledTextCtrl_Cut, METH_VARARGS | METH_KEYWORDS }, | |
10741 | { "wxStyledTextCtrl_Undo", (PyCFunction) _wrap_wxStyledTextCtrl_Undo, METH_VARARGS | METH_KEYWORDS }, | |
10742 | { "wxStyledTextCtrl_EmptyUndoBuffer", (PyCFunction) _wrap_wxStyledTextCtrl_EmptyUndoBuffer, METH_VARARGS | METH_KEYWORDS }, | |
10743 | { "wxStyledTextCtrl_CanUndo", (PyCFunction) _wrap_wxStyledTextCtrl_CanUndo, METH_VARARGS | METH_KEYWORDS }, | |
10744 | { "wxStyledTextCtrl_CanPaste", (PyCFunction) _wrap_wxStyledTextCtrl_CanPaste, METH_VARARGS | METH_KEYWORDS }, | |
10745 | { "wxStyledTextCtrl_SetReadOnly", (PyCFunction) _wrap_wxStyledTextCtrl_SetReadOnly, METH_VARARGS | METH_KEYWORDS }, | |
10746 | { "wxStyledTextCtrl_ReplaceSelection", (PyCFunction) _wrap_wxStyledTextCtrl_ReplaceSelection, METH_VARARGS | METH_KEYWORDS }, | |
10747 | { "wxStyledTextCtrl_EnsureCaretVisible", (PyCFunction) _wrap_wxStyledTextCtrl_EnsureCaretVisible, METH_VARARGS | METH_KEYWORDS }, | |
10748 | { "wxStyledTextCtrl_LineScroll", (PyCFunction) _wrap_wxStyledTextCtrl_LineScroll, METH_VARARGS | METH_KEYWORDS }, | |
10749 | { "wxStyledTextCtrl_PositionFromLine", (PyCFunction) _wrap_wxStyledTextCtrl_PositionFromLine, METH_VARARGS | METH_KEYWORDS }, | |
10750 | { "wxStyledTextCtrl_LineFromPosition", (PyCFunction) _wrap_wxStyledTextCtrl_LineFromPosition, METH_VARARGS | METH_KEYWORDS }, | |
10751 | { "wxStyledTextCtrl_HideSelection", (PyCFunction) _wrap_wxStyledTextCtrl_HideSelection, METH_VARARGS | METH_KEYWORDS }, | |
10752 | { "wxStyledTextCtrl_GetTextRange", (PyCFunction) _wrap_wxStyledTextCtrl_GetTextRange, METH_VARARGS | METH_KEYWORDS }, | |
10753 | { "wxStyledTextCtrl_GetSelectedText", (PyCFunction) _wrap_wxStyledTextCtrl_GetSelectedText, METH_VARARGS | METH_KEYWORDS }, | |
10754 | { "wxStyledTextCtrl_SetSelection", (PyCFunction) _wrap_wxStyledTextCtrl_SetSelection, METH_VARARGS | METH_KEYWORDS }, | |
10755 | { "wxStyledTextCtrl_GetModify", (PyCFunction) _wrap_wxStyledTextCtrl_GetModify, METH_VARARGS | METH_KEYWORDS }, | |
10756 | { "wxStyledTextCtrl_GetMarginRight", (PyCFunction) _wrap_wxStyledTextCtrl_GetMarginRight, METH_VARARGS | METH_KEYWORDS }, | |
10757 | { "wxStyledTextCtrl_SetMarginRight", (PyCFunction) _wrap_wxStyledTextCtrl_SetMarginRight, METH_VARARGS | METH_KEYWORDS }, | |
10758 | { "wxStyledTextCtrl_GetMarginLeft", (PyCFunction) _wrap_wxStyledTextCtrl_GetMarginLeft, METH_VARARGS | METH_KEYWORDS }, | |
10759 | { "wxStyledTextCtrl_SetMarginLeft", (PyCFunction) _wrap_wxStyledTextCtrl_SetMarginLeft, METH_VARARGS | METH_KEYWORDS }, | |
10760 | { "wxStyledTextCtrl_GetLineCount", (PyCFunction) _wrap_wxStyledTextCtrl_GetLineCount, METH_VARARGS | METH_KEYWORDS }, | |
10761 | { "wxStyledTextCtrl_GetLine", (PyCFunction) _wrap_wxStyledTextCtrl_GetLine, METH_VARARGS | METH_KEYWORDS }, | |
10762 | { "wxStyledTextCtrl_GetFirstVisibleLine", (PyCFunction) _wrap_wxStyledTextCtrl_GetFirstVisibleLine, METH_VARARGS | METH_KEYWORDS }, | |
10763 | { "wxStyledTextCtrl_FormatRange", (PyCFunction) _wrap_wxStyledTextCtrl_FormatRange, METH_VARARGS | METH_KEYWORDS }, | |
10764 | { "wxStyledTextCtrl_FindText", (PyCFunction) _wrap_wxStyledTextCtrl_FindText, METH_VARARGS | METH_KEYWORDS }, | |
10765 | { "wxStyledTextCtrl_GetPrintColourMode", (PyCFunction) _wrap_wxStyledTextCtrl_GetPrintColourMode, METH_VARARGS | METH_KEYWORDS }, | |
10766 | { "wxStyledTextCtrl_SetPrintColourMode", (PyCFunction) _wrap_wxStyledTextCtrl_SetPrintColourMode, METH_VARARGS | METH_KEYWORDS }, | |
10767 | { "wxStyledTextCtrl_GetPrintMagnification", (PyCFunction) _wrap_wxStyledTextCtrl_GetPrintMagnification, METH_VARARGS | METH_KEYWORDS }, | |
10768 | { "wxStyledTextCtrl_SetPrintMagnification", (PyCFunction) _wrap_wxStyledTextCtrl_SetPrintMagnification, METH_VARARGS | METH_KEYWORDS }, | |
10769 | { "wxStyledTextCtrl_GetSelectionEnd", (PyCFunction) _wrap_wxStyledTextCtrl_GetSelectionEnd, METH_VARARGS | METH_KEYWORDS }, | |
10770 | { "wxStyledTextCtrl_SetSelectionEnd", (PyCFunction) _wrap_wxStyledTextCtrl_SetSelectionEnd, METH_VARARGS | METH_KEYWORDS }, | |
10771 | { "wxStyledTextCtrl_GetSelectionStart", (PyCFunction) _wrap_wxStyledTextCtrl_GetSelectionStart, METH_VARARGS | METH_KEYWORDS }, | |
10772 | { "wxStyledTextCtrl_SetSelectionStart", (PyCFunction) _wrap_wxStyledTextCtrl_SetSelectionStart, METH_VARARGS | METH_KEYWORDS }, | |
10773 | { "wxStyledTextCtrl_SetCurrentPos", (PyCFunction) _wrap_wxStyledTextCtrl_SetCurrentPos, METH_VARARGS | METH_KEYWORDS }, | |
10774 | { "wxStyledTextCtrl_GetReadOnly", (PyCFunction) _wrap_wxStyledTextCtrl_GetReadOnly, METH_VARARGS | METH_KEYWORDS }, | |
10775 | { "wxStyledTextCtrl_GetCaretForeground", (PyCFunction) _wrap_wxStyledTextCtrl_GetCaretForeground, METH_VARARGS | METH_KEYWORDS }, | |
10776 | { "wxStyledTextCtrl_GetCodePage", (PyCFunction) _wrap_wxStyledTextCtrl_GetCodePage, METH_VARARGS | METH_KEYWORDS }, | |
10777 | { "wxStyledTextCtrl_GetLineEndPosition", (PyCFunction) _wrap_wxStyledTextCtrl_GetLineEndPosition, METH_VARARGS | METH_KEYWORDS }, | |
10778 | { "wxStyledTextCtrl_GetHighlightGuide", (PyCFunction) _wrap_wxStyledTextCtrl_GetHighlightGuide, METH_VARARGS | METH_KEYWORDS }, | |
10779 | { "wxStyledTextCtrl_SetHighlightGuide", (PyCFunction) _wrap_wxStyledTextCtrl_SetHighlightGuide, METH_VARARGS | METH_KEYWORDS }, | |
10780 | { "wxStyledTextCtrl_GetIndentationGuides", (PyCFunction) _wrap_wxStyledTextCtrl_GetIndentationGuides, METH_VARARGS | METH_KEYWORDS }, | |
10781 | { "wxStyledTextCtrl_SetIndentationGuides", (PyCFunction) _wrap_wxStyledTextCtrl_SetIndentationGuides, METH_VARARGS | METH_KEYWORDS }, | |
10782 | { "wxStyledTextCtrl_GetUseHorizontalScrollBar", (PyCFunction) _wrap_wxStyledTextCtrl_GetUseHorizontalScrollBar, METH_VARARGS | METH_KEYWORDS }, | |
10783 | { "wxStyledTextCtrl_SetUseHorizontalScrollBar", (PyCFunction) _wrap_wxStyledTextCtrl_SetUseHorizontalScrollBar, METH_VARARGS | METH_KEYWORDS }, | |
10784 | { "wxStyledTextCtrl_GetColumn", (PyCFunction) _wrap_wxStyledTextCtrl_GetColumn, METH_VARARGS | METH_KEYWORDS }, | |
10785 | { "wxStyledTextCtrl_GetLineIndentPosition", (PyCFunction) _wrap_wxStyledTextCtrl_GetLineIndentPosition, METH_VARARGS | METH_KEYWORDS }, | |
10786 | { "wxStyledTextCtrl_GetLineIndentation", (PyCFunction) _wrap_wxStyledTextCtrl_GetLineIndentation, METH_VARARGS | METH_KEYWORDS }, | |
10787 | { "wxStyledTextCtrl_SetLineIndentation", (PyCFunction) _wrap_wxStyledTextCtrl_SetLineIndentation, METH_VARARGS | METH_KEYWORDS }, | |
10788 | { "wxStyledTextCtrl_GetUseTabs", (PyCFunction) _wrap_wxStyledTextCtrl_GetUseTabs, METH_VARARGS | METH_KEYWORDS }, | |
10789 | { "wxStyledTextCtrl_SetUseTabs", (PyCFunction) _wrap_wxStyledTextCtrl_SetUseTabs, METH_VARARGS | METH_KEYWORDS }, | |
10790 | { "wxStyledTextCtrl_GetIndent", (PyCFunction) _wrap_wxStyledTextCtrl_GetIndent, METH_VARARGS | METH_KEYWORDS }, | |
10791 | { "wxStyledTextCtrl_SetIndent", (PyCFunction) _wrap_wxStyledTextCtrl_SetIndent, METH_VARARGS | METH_KEYWORDS }, | |
1a2fb4cd RD |
10792 | { "wxStyledTextCtrl_AutoCompGetDropRestOfWord", (PyCFunction) _wrap_wxStyledTextCtrl_AutoCompGetDropRestOfWord, METH_VARARGS | METH_KEYWORDS }, |
10793 | { "wxStyledTextCtrl_AutoCompSetDropRestOfWord", (PyCFunction) _wrap_wxStyledTextCtrl_AutoCompSetDropRestOfWord, METH_VARARGS | METH_KEYWORDS }, | |
65ec6247 RD |
10794 | { "wxStyledTextCtrl_AutoCompGetAutoHide", (PyCFunction) _wrap_wxStyledTextCtrl_AutoCompGetAutoHide, METH_VARARGS | METH_KEYWORDS }, |
10795 | { "wxStyledTextCtrl_AutoCompSetAutoHide", (PyCFunction) _wrap_wxStyledTextCtrl_AutoCompSetAutoHide, METH_VARARGS | METH_KEYWORDS }, | |
10796 | { "wxStyledTextCtrl_UserListShow", (PyCFunction) _wrap_wxStyledTextCtrl_UserListShow, METH_VARARGS | METH_KEYWORDS }, | |
fe47ec10 RD |
10797 | { "wxStyledTextCtrl_AutoCompGetIgnoreCase", (PyCFunction) _wrap_wxStyledTextCtrl_AutoCompGetIgnoreCase, METH_VARARGS | METH_KEYWORDS }, |
10798 | { "wxStyledTextCtrl_AutoCompSetIgnoreCase", (PyCFunction) _wrap_wxStyledTextCtrl_AutoCompSetIgnoreCase, METH_VARARGS | METH_KEYWORDS }, | |
10799 | { "wxStyledTextCtrl_AutoCompGetChooseSingle", (PyCFunction) _wrap_wxStyledTextCtrl_AutoCompGetChooseSingle, METH_VARARGS | METH_KEYWORDS }, | |
10800 | { "wxStyledTextCtrl_AutoCompSetChooseSingle", (PyCFunction) _wrap_wxStyledTextCtrl_AutoCompSetChooseSingle, METH_VARARGS | METH_KEYWORDS }, | |
10801 | { "wxStyledTextCtrl_AutoCompSetFillUps", (PyCFunction) _wrap_wxStyledTextCtrl_AutoCompSetFillUps, METH_VARARGS | METH_KEYWORDS }, | |
10802 | { "wxStyledTextCtrl_AutoCompGetCancelAtStart", (PyCFunction) _wrap_wxStyledTextCtrl_AutoCompGetCancelAtStart, METH_VARARGS | METH_KEYWORDS }, | |
10803 | { "wxStyledTextCtrl_AutoCompSetCancelAtStart", (PyCFunction) _wrap_wxStyledTextCtrl_AutoCompSetCancelAtStart, METH_VARARGS | METH_KEYWORDS }, | |
f6bcfd97 BP |
10804 | { "wxStyledTextCtrl_AutoCompSelect", (PyCFunction) _wrap_wxStyledTextCtrl_AutoCompSelect, METH_VARARGS | METH_KEYWORDS }, |
10805 | { "wxStyledTextCtrl_AutoCompGetSeparator", (PyCFunction) _wrap_wxStyledTextCtrl_AutoCompGetSeparator, METH_VARARGS | METH_KEYWORDS }, | |
10806 | { "wxStyledTextCtrl_AutoCompSetSeparator", (PyCFunction) _wrap_wxStyledTextCtrl_AutoCompSetSeparator, METH_VARARGS | METH_KEYWORDS }, | |
fe47ec10 | 10807 | { "wxStyledTextCtrl_AutoCompStops", (PyCFunction) _wrap_wxStyledTextCtrl_AutoCompStops, METH_VARARGS | METH_KEYWORDS }, |
f6bcfd97 | 10808 | { "wxStyledTextCtrl_AutoCompComplete", (PyCFunction) _wrap_wxStyledTextCtrl_AutoCompComplete, METH_VARARGS | METH_KEYWORDS }, |
fe47ec10 | 10809 | { "wxStyledTextCtrl_AutoCompPosStart", (PyCFunction) _wrap_wxStyledTextCtrl_AutoCompPosStart, METH_VARARGS | METH_KEYWORDS }, |
f6bcfd97 BP |
10810 | { "wxStyledTextCtrl_AutoCompActive", (PyCFunction) _wrap_wxStyledTextCtrl_AutoCompActive, METH_VARARGS | METH_KEYWORDS }, |
10811 | { "wxStyledTextCtrl_AutoCompCancel", (PyCFunction) _wrap_wxStyledTextCtrl_AutoCompCancel, METH_VARARGS | METH_KEYWORDS }, | |
10812 | { "wxStyledTextCtrl_AutoCompShow", (PyCFunction) _wrap_wxStyledTextCtrl_AutoCompShow, METH_VARARGS | METH_KEYWORDS }, | |
1a2fb4cd | 10813 | { "wxStyledTextCtrl_StyleSetChangeable", (PyCFunction) _wrap_wxStyledTextCtrl_StyleSetChangeable, METH_VARARGS | METH_KEYWORDS }, |
65ec6247 RD |
10814 | { "wxStyledTextCtrl_SetCaretLineBack", (PyCFunction) _wrap_wxStyledTextCtrl_SetCaretLineBack, METH_VARARGS | METH_KEYWORDS }, |
10815 | { "wxStyledTextCtrl_GetCaretLineBack", (PyCFunction) _wrap_wxStyledTextCtrl_GetCaretLineBack, METH_VARARGS | METH_KEYWORDS }, | |
10816 | { "wxStyledTextCtrl_SetCaretLineVisible", (PyCFunction) _wrap_wxStyledTextCtrl_SetCaretLineVisible, METH_VARARGS | METH_KEYWORDS }, | |
10817 | { "wxStyledTextCtrl_GetCaretLineVisible", (PyCFunction) _wrap_wxStyledTextCtrl_GetCaretLineVisible, METH_VARARGS | METH_KEYWORDS }, | |
fe47ec10 RD |
10818 | { "wxStyledTextCtrl_GetMaxLineState", (PyCFunction) _wrap_wxStyledTextCtrl_GetMaxLineState, METH_VARARGS | METH_KEYWORDS }, |
10819 | { "wxStyledTextCtrl_GetLineState", (PyCFunction) _wrap_wxStyledTextCtrl_GetLineState, METH_VARARGS | METH_KEYWORDS }, | |
10820 | { "wxStyledTextCtrl_SetLineState", (PyCFunction) _wrap_wxStyledTextCtrl_SetLineState, METH_VARARGS | METH_KEYWORDS }, | |
10821 | { "wxStyledTextCtrl_GetStyleBits", (PyCFunction) _wrap_wxStyledTextCtrl_GetStyleBits, METH_VARARGS | METH_KEYWORDS }, | |
10822 | { "wxStyledTextCtrl_SetStyleBits", (PyCFunction) _wrap_wxStyledTextCtrl_SetStyleBits, METH_VARARGS | METH_KEYWORDS }, | |
10823 | { "wxStyledTextCtrl_IndicatorGetForeground", (PyCFunction) _wrap_wxStyledTextCtrl_IndicatorGetForeground, METH_VARARGS | METH_KEYWORDS }, | |
10824 | { "wxStyledTextCtrl_IndicatorSetForeground", (PyCFunction) _wrap_wxStyledTextCtrl_IndicatorSetForeground, METH_VARARGS | METH_KEYWORDS }, | |
f6bcfd97 BP |
10825 | { "wxStyledTextCtrl_IndicatorGetStyle", (PyCFunction) _wrap_wxStyledTextCtrl_IndicatorGetStyle, METH_VARARGS | METH_KEYWORDS }, |
10826 | { "wxStyledTextCtrl_IndicatorSetStyle", (PyCFunction) _wrap_wxStyledTextCtrl_IndicatorSetStyle, METH_VARARGS | METH_KEYWORDS }, | |
fe47ec10 RD |
10827 | { "wxStyledTextCtrl_EndUndoAction", (PyCFunction) _wrap_wxStyledTextCtrl_EndUndoAction, METH_VARARGS | METH_KEYWORDS }, |
10828 | { "wxStyledTextCtrl_BeginUndoAction", (PyCFunction) _wrap_wxStyledTextCtrl_BeginUndoAction, METH_VARARGS | METH_KEYWORDS }, | |
f6bcfd97 | 10829 | { "wxStyledTextCtrl_SetWordChars", (PyCFunction) _wrap_wxStyledTextCtrl_SetWordChars, METH_VARARGS | METH_KEYWORDS }, |
f6bcfd97 BP |
10830 | { "wxStyledTextCtrl_SetCaretPeriod", (PyCFunction) _wrap_wxStyledTextCtrl_SetCaretPeriod, METH_VARARGS | METH_KEYWORDS }, |
10831 | { "wxStyledTextCtrl_GetCaretPeriod", (PyCFunction) _wrap_wxStyledTextCtrl_GetCaretPeriod, METH_VARARGS | METH_KEYWORDS }, | |
fe47ec10 RD |
10832 | { "wxStyledTextCtrl_StyleSetVisible", (PyCFunction) _wrap_wxStyledTextCtrl_StyleSetVisible, METH_VARARGS | METH_KEYWORDS }, |
10833 | { "wxStyledTextCtrl_SetStyleBytes", (PyCFunction) _wrap_wxStyledTextCtrl_SetStyleBytes, METH_VARARGS | METH_KEYWORDS }, | |
10834 | { "wxStyledTextCtrl_CmdKeyClearAll", (PyCFunction) _wrap_wxStyledTextCtrl_CmdKeyClearAll, METH_VARARGS | METH_KEYWORDS }, | |
10835 | { "wxStyledTextCtrl_CmdKeyClear", (PyCFunction) _wrap_wxStyledTextCtrl_CmdKeyClear, METH_VARARGS | METH_KEYWORDS }, | |
10836 | { "wxStyledTextCtrl_CmdKeyAssign", (PyCFunction) _wrap_wxStyledTextCtrl_CmdKeyAssign, METH_VARARGS | METH_KEYWORDS }, | |
f6bcfd97 | 10837 | { "wxStyledTextCtrl_SetCaretForeground", (PyCFunction) _wrap_wxStyledTextCtrl_SetCaretForeground, METH_VARARGS | METH_KEYWORDS }, |
fe47ec10 RD |
10838 | { "wxStyledTextCtrl_SetSelBackground", (PyCFunction) _wrap_wxStyledTextCtrl_SetSelBackground, METH_VARARGS | METH_KEYWORDS }, |
10839 | { "wxStyledTextCtrl_SetSelForeground", (PyCFunction) _wrap_wxStyledTextCtrl_SetSelForeground, METH_VARARGS | METH_KEYWORDS }, | |
10ef30eb | 10840 | { "wxStyledTextCtrl_StyleSetCharacterSet", (PyCFunction) _wrap_wxStyledTextCtrl_StyleSetCharacterSet, METH_VARARGS | METH_KEYWORDS }, |
65ec6247 | 10841 | { "wxStyledTextCtrl_StyleSetCase", (PyCFunction) _wrap_wxStyledTextCtrl_StyleSetCase, METH_VARARGS | METH_KEYWORDS }, |
f6bcfd97 | 10842 | { "wxStyledTextCtrl_StyleSetUnderline", (PyCFunction) _wrap_wxStyledTextCtrl_StyleSetUnderline, METH_VARARGS | METH_KEYWORDS }, |
fe47ec10 | 10843 | { "wxStyledTextCtrl_StyleResetDefault", (PyCFunction) _wrap_wxStyledTextCtrl_StyleResetDefault, METH_VARARGS | METH_KEYWORDS }, |
f6bcfd97 | 10844 | { "wxStyledTextCtrl_StyleSetEOLFilled", (PyCFunction) _wrap_wxStyledTextCtrl_StyleSetEOLFilled, METH_VARARGS | METH_KEYWORDS }, |
f6bcfd97 | 10845 | { "wxStyledTextCtrl_StyleSetFaceName", (PyCFunction) _wrap_wxStyledTextCtrl_StyleSetFaceName, METH_VARARGS | METH_KEYWORDS }, |
fe47ec10 | 10846 | { "wxStyledTextCtrl_StyleSetSize", (PyCFunction) _wrap_wxStyledTextCtrl_StyleSetSize, METH_VARARGS | METH_KEYWORDS }, |
f6bcfd97 BP |
10847 | { "wxStyledTextCtrl_StyleSetItalic", (PyCFunction) _wrap_wxStyledTextCtrl_StyleSetItalic, METH_VARARGS | METH_KEYWORDS }, |
10848 | { "wxStyledTextCtrl_StyleSetBold", (PyCFunction) _wrap_wxStyledTextCtrl_StyleSetBold, METH_VARARGS | METH_KEYWORDS }, | |
f6bcfd97 BP |
10849 | { "wxStyledTextCtrl_StyleSetBackground", (PyCFunction) _wrap_wxStyledTextCtrl_StyleSetBackground, METH_VARARGS | METH_KEYWORDS }, |
10850 | { "wxStyledTextCtrl_StyleSetForeground", (PyCFunction) _wrap_wxStyledTextCtrl_StyleSetForeground, METH_VARARGS | METH_KEYWORDS }, | |
f6bcfd97 | 10851 | { "wxStyledTextCtrl_StyleClearAll", (PyCFunction) _wrap_wxStyledTextCtrl_StyleClearAll, METH_VARARGS | METH_KEYWORDS }, |
fe47ec10 RD |
10852 | { "wxStyledTextCtrl_GetMarginSensitive", (PyCFunction) _wrap_wxStyledTextCtrl_GetMarginSensitive, METH_VARARGS | METH_KEYWORDS }, |
10853 | { "wxStyledTextCtrl_SetMarginSensitive", (PyCFunction) _wrap_wxStyledTextCtrl_SetMarginSensitive, METH_VARARGS | METH_KEYWORDS }, | |
10854 | { "wxStyledTextCtrl_GetMarginMask", (PyCFunction) _wrap_wxStyledTextCtrl_GetMarginMask, METH_VARARGS | METH_KEYWORDS }, | |
10855 | { "wxStyledTextCtrl_SetMarginMask", (PyCFunction) _wrap_wxStyledTextCtrl_SetMarginMask, METH_VARARGS | METH_KEYWORDS }, | |
10856 | { "wxStyledTextCtrl_GetMarginWidth", (PyCFunction) _wrap_wxStyledTextCtrl_GetMarginWidth, METH_VARARGS | METH_KEYWORDS }, | |
10857 | { "wxStyledTextCtrl_SetMarginWidth", (PyCFunction) _wrap_wxStyledTextCtrl_SetMarginWidth, METH_VARARGS | METH_KEYWORDS }, | |
10858 | { "wxStyledTextCtrl_GetMarginType", (PyCFunction) _wrap_wxStyledTextCtrl_GetMarginType, METH_VARARGS | METH_KEYWORDS }, | |
10859 | { "wxStyledTextCtrl_SetMarginType", (PyCFunction) _wrap_wxStyledTextCtrl_SetMarginType, METH_VARARGS | METH_KEYWORDS }, | |
10860 | { "wxStyledTextCtrl_MarkerPrevious", (PyCFunction) _wrap_wxStyledTextCtrl_MarkerPrevious, METH_VARARGS | METH_KEYWORDS }, | |
10861 | { "wxStyledTextCtrl_MarkerNext", (PyCFunction) _wrap_wxStyledTextCtrl_MarkerNext, METH_VARARGS | METH_KEYWORDS }, | |
10862 | { "wxStyledTextCtrl_MarkerGet", (PyCFunction) _wrap_wxStyledTextCtrl_MarkerGet, METH_VARARGS | METH_KEYWORDS }, | |
10863 | { "wxStyledTextCtrl_MarkerDeleteAll", (PyCFunction) _wrap_wxStyledTextCtrl_MarkerDeleteAll, METH_VARARGS | METH_KEYWORDS }, | |
10864 | { "wxStyledTextCtrl_MarkerDelete", (PyCFunction) _wrap_wxStyledTextCtrl_MarkerDelete, METH_VARARGS | METH_KEYWORDS }, | |
10865 | { "wxStyledTextCtrl_MarkerAdd", (PyCFunction) _wrap_wxStyledTextCtrl_MarkerAdd, METH_VARARGS | METH_KEYWORDS }, | |
10866 | { "wxStyledTextCtrl_MarkerSetBackground", (PyCFunction) _wrap_wxStyledTextCtrl_MarkerSetBackground, METH_VARARGS | METH_KEYWORDS }, | |
10867 | { "wxStyledTextCtrl_MarkerSetForeground", (PyCFunction) _wrap_wxStyledTextCtrl_MarkerSetForeground, METH_VARARGS | METH_KEYWORDS }, | |
10868 | { "wxStyledTextCtrl_MarkerDefine", (PyCFunction) _wrap_wxStyledTextCtrl_MarkerDefine, METH_VARARGS | METH_KEYWORDS }, | |
10869 | { "wxStyledTextCtrl_SetCodePage", (PyCFunction) _wrap_wxStyledTextCtrl_SetCodePage, METH_VARARGS | METH_KEYWORDS }, | |
10870 | { "wxStyledTextCtrl_GetTabWidth", (PyCFunction) _wrap_wxStyledTextCtrl_GetTabWidth, METH_VARARGS | METH_KEYWORDS }, | |
10871 | { "wxStyledTextCtrl_SetTabWidth", (PyCFunction) _wrap_wxStyledTextCtrl_SetTabWidth, METH_VARARGS | METH_KEYWORDS }, | |
10872 | { "wxStyledTextCtrl_SetBufferedDraw", (PyCFunction) _wrap_wxStyledTextCtrl_SetBufferedDraw, METH_VARARGS | METH_KEYWORDS }, | |
10873 | { "wxStyledTextCtrl_GetBufferedDraw", (PyCFunction) _wrap_wxStyledTextCtrl_GetBufferedDraw, METH_VARARGS | METH_KEYWORDS }, | |
10874 | { "wxStyledTextCtrl_SetStyling", (PyCFunction) _wrap_wxStyledTextCtrl_SetStyling, METH_VARARGS | METH_KEYWORDS }, | |
f6bcfd97 | 10875 | { "wxStyledTextCtrl_StartStyling", (PyCFunction) _wrap_wxStyledTextCtrl_StartStyling, METH_VARARGS | METH_KEYWORDS }, |
f6bcfd97 BP |
10876 | { "wxStyledTextCtrl_SetEOLMode", (PyCFunction) _wrap_wxStyledTextCtrl_SetEOLMode, METH_VARARGS | METH_KEYWORDS }, |
10877 | { "wxStyledTextCtrl_GetEOLMode", (PyCFunction) _wrap_wxStyledTextCtrl_GetEOLMode, METH_VARARGS | METH_KEYWORDS }, | |
fe47ec10 RD |
10878 | { "wxStyledTextCtrl_ConvertEOLs", (PyCFunction) _wrap_wxStyledTextCtrl_ConvertEOLs, METH_VARARGS | METH_KEYWORDS }, |
10879 | { "wxStyledTextCtrl_GetEndStyled", (PyCFunction) _wrap_wxStyledTextCtrl_GetEndStyled, METH_VARARGS | METH_KEYWORDS }, | |
10880 | { "wxStyledTextCtrl_GetCurLine", (PyCFunction) _wrap_wxStyledTextCtrl_GetCurLine, METH_VARARGS | METH_KEYWORDS }, | |
f6bcfd97 | 10881 | { "wxStyledTextCtrl_SetAnchor", (PyCFunction) _wrap_wxStyledTextCtrl_SetAnchor, METH_VARARGS | METH_KEYWORDS }, |
fe47ec10 RD |
10882 | { "wxStyledTextCtrl_GotoPos", (PyCFunction) _wrap_wxStyledTextCtrl_GotoPos, METH_VARARGS | METH_KEYWORDS }, |
10883 | { "wxStyledTextCtrl_GotoLine", (PyCFunction) _wrap_wxStyledTextCtrl_GotoLine, METH_VARARGS | METH_KEYWORDS }, | |
65ec6247 | 10884 | { "wxStyledTextCtrl_PositionFromPointClose", (PyCFunction) _wrap_wxStyledTextCtrl_PositionFromPointClose, METH_VARARGS | METH_KEYWORDS }, |
f6bcfd97 | 10885 | { "wxStyledTextCtrl_PositionFromPoint", (PyCFunction) _wrap_wxStyledTextCtrl_PositionFromPoint, METH_VARARGS | METH_KEYWORDS }, |
fe47ec10 RD |
10886 | { "wxStyledTextCtrl_SetViewWhiteSpace", (PyCFunction) _wrap_wxStyledTextCtrl_SetViewWhiteSpace, METH_VARARGS | METH_KEYWORDS }, |
10887 | { "wxStyledTextCtrl_GetViewWhiteSpace", (PyCFunction) _wrap_wxStyledTextCtrl_GetViewWhiteSpace, METH_VARARGS | METH_KEYWORDS }, | |
f6bcfd97 | 10888 | { "wxStyledTextCtrl_GetUndoCollection", (PyCFunction) _wrap_wxStyledTextCtrl_GetUndoCollection, METH_VARARGS | METH_KEYWORDS }, |
fe47ec10 RD |
10889 | { "wxStyledTextCtrl_MarkerDeleteHandle", (PyCFunction) _wrap_wxStyledTextCtrl_MarkerDeleteHandle, METH_VARARGS | METH_KEYWORDS }, |
10890 | { "wxStyledTextCtrl_MarkerLineFromHandle", (PyCFunction) _wrap_wxStyledTextCtrl_MarkerLineFromHandle, METH_VARARGS | METH_KEYWORDS }, | |
f6bcfd97 | 10891 | { "wxStyledTextCtrl_CanRedo", (PyCFunction) _wrap_wxStyledTextCtrl_CanRedo, METH_VARARGS | METH_KEYWORDS }, |
fe47ec10 RD |
10892 | { "wxStyledTextCtrl_GetStyledText", (PyCFunction) _wrap_wxStyledTextCtrl_GetStyledText, METH_VARARGS | METH_KEYWORDS }, |
10893 | { "wxStyledTextCtrl_SetSavePoint", (PyCFunction) _wrap_wxStyledTextCtrl_SetSavePoint, METH_VARARGS | METH_KEYWORDS }, | |
10894 | { "wxStyledTextCtrl_SelectAll", (PyCFunction) _wrap_wxStyledTextCtrl_SelectAll, METH_VARARGS | METH_KEYWORDS }, | |
10895 | { "wxStyledTextCtrl_SetUndoCollection", (PyCFunction) _wrap_wxStyledTextCtrl_SetUndoCollection, METH_VARARGS | METH_KEYWORDS }, | |
f6bcfd97 | 10896 | { "wxStyledTextCtrl_Redo", (PyCFunction) _wrap_wxStyledTextCtrl_Redo, METH_VARARGS | METH_KEYWORDS }, |
f6bcfd97 | 10897 | { "wxStyledTextCtrl_GetStyleAt", (PyCFunction) _wrap_wxStyledTextCtrl_GetStyleAt, METH_VARARGS | METH_KEYWORDS }, |
fe47ec10 RD |
10898 | { "wxStyledTextCtrl_GetAnchor", (PyCFunction) _wrap_wxStyledTextCtrl_GetAnchor, METH_VARARGS | METH_KEYWORDS }, |
10899 | { "wxStyledTextCtrl_GetCurrentPos", (PyCFunction) _wrap_wxStyledTextCtrl_GetCurrentPos, METH_VARARGS | METH_KEYWORDS }, | |
f6bcfd97 | 10900 | { "wxStyledTextCtrl_GetCharAt", (PyCFunction) _wrap_wxStyledTextCtrl_GetCharAt, METH_VARARGS | METH_KEYWORDS }, |
fe47ec10 RD |
10901 | { "wxStyledTextCtrl_GetLength", (PyCFunction) _wrap_wxStyledTextCtrl_GetLength, METH_VARARGS | METH_KEYWORDS }, |
10902 | { "wxStyledTextCtrl_ClearDocumentStyle", (PyCFunction) _wrap_wxStyledTextCtrl_ClearDocumentStyle, METH_VARARGS | METH_KEYWORDS }, | |
f6bcfd97 BP |
10903 | { "wxStyledTextCtrl_ClearAll", (PyCFunction) _wrap_wxStyledTextCtrl_ClearAll, METH_VARARGS | METH_KEYWORDS }, |
10904 | { "wxStyledTextCtrl_InsertText", (PyCFunction) _wrap_wxStyledTextCtrl_InsertText, METH_VARARGS | METH_KEYWORDS }, | |
10905 | { "wxStyledTextCtrl_AddStyledText", (PyCFunction) _wrap_wxStyledTextCtrl_AddStyledText, METH_VARARGS | METH_KEYWORDS }, | |
10906 | { "wxStyledTextCtrl_AddText", (PyCFunction) _wrap_wxStyledTextCtrl_AddText, METH_VARARGS | METH_KEYWORDS }, | |
f6bcfd97 BP |
10907 | { "new_wxStyledTextCtrl", (PyCFunction) _wrap_new_wxStyledTextCtrl, METH_VARARGS | METH_KEYWORDS }, |
10908 | { NULL, NULL } | |
10909 | }; | |
10910 | #ifdef __cplusplus | |
10911 | } | |
10912 | #endif | |
10913 | /* | |
10914 | * This table is used by the pointer type-checker | |
10915 | */ | |
10916 | static struct { char *n1; char *n2; void *(*pcnv)(void *); } _swig_mapping[] = { | |
f6bcfd97 | 10917 | { "_wxEvent","_wxStyledTextEvent",SwigwxStyledTextEventTowxEvent}, |
f6bcfd97 | 10918 | { "_signed_long","_long",0}, |
f6bcfd97 BP |
10919 | { "_wxPrintQuality","_wxCoord",0}, |
10920 | { "_wxPrintQuality","_int",0}, | |
10921 | { "_wxPrintQuality","_signed_int",0}, | |
10922 | { "_wxPrintQuality","_unsigned_int",0}, | |
10923 | { "_wxPrintQuality","_wxWindowID",0}, | |
10924 | { "_wxPrintQuality","_uint",0}, | |
10925 | { "_wxPrintQuality","_EBool",0}, | |
10926 | { "_wxPrintQuality","_size_t",0}, | |
fe47ec10 | 10927 | { "_wxPrintQuality","_time_t",0}, |
f6bcfd97 | 10928 | { "_byte","_unsigned_char",0}, |
f6bcfd97 BP |
10929 | { "_long","_unsigned_long",0}, |
10930 | { "_long","_signed_long",0}, | |
f6bcfd97 BP |
10931 | { "_size_t","_wxCoord",0}, |
10932 | { "_size_t","_wxPrintQuality",0}, | |
fe47ec10 | 10933 | { "_size_t","_time_t",0}, |
f6bcfd97 BP |
10934 | { "_size_t","_unsigned_int",0}, |
10935 | { "_size_t","_int",0}, | |
10936 | { "_size_t","_wxWindowID",0}, | |
10937 | { "_size_t","_uint",0}, | |
f6bcfd97 BP |
10938 | { "_uint","_wxCoord",0}, |
10939 | { "_uint","_wxPrintQuality",0}, | |
fe47ec10 | 10940 | { "_uint","_time_t",0}, |
f6bcfd97 BP |
10941 | { "_uint","_size_t",0}, |
10942 | { "_uint","_unsigned_int",0}, | |
10943 | { "_uint","_int",0}, | |
10944 | { "_uint","_wxWindowID",0}, | |
10945 | { "_wxChar","_char",0}, | |
f6bcfd97 | 10946 | { "_wxCommandEvent","_wxStyledTextEvent",SwigwxStyledTextEventTowxCommandEvent}, |
f6bcfd97 | 10947 | { "_char","_wxChar",0}, |
fea018f8 | 10948 | { "_struct_wxNativeFontInfo","_wxNativeFontInfo",0}, |
f6bcfd97 BP |
10949 | { "_EBool","_wxCoord",0}, |
10950 | { "_EBool","_wxPrintQuality",0}, | |
10951 | { "_EBool","_signed_int",0}, | |
10952 | { "_EBool","_int",0}, | |
10953 | { "_EBool","_wxWindowID",0}, | |
f6bcfd97 | 10954 | { "_unsigned_long","_long",0}, |
fea018f8 | 10955 | { "_wxNativeFontInfo","_struct_wxNativeFontInfo",0}, |
f6bcfd97 BP |
10956 | { "_signed_int","_wxCoord",0}, |
10957 | { "_signed_int","_wxPrintQuality",0}, | |
10958 | { "_signed_int","_EBool",0}, | |
10959 | { "_signed_int","_wxWindowID",0}, | |
10960 | { "_signed_int","_int",0}, | |
ea7c631c | 10961 | { "_WXTYPE","_wxDateTime_t",0}, |
f6bcfd97 BP |
10962 | { "_WXTYPE","_short",0}, |
10963 | { "_WXTYPE","_signed_short",0}, | |
10964 | { "_WXTYPE","_unsigned_short",0}, | |
ea7c631c | 10965 | { "_unsigned_short","_wxDateTime_t",0}, |
f6bcfd97 BP |
10966 | { "_unsigned_short","_WXTYPE",0}, |
10967 | { "_unsigned_short","_short",0}, | |
493f1553 RD |
10968 | { "_wxObject","_wxStyledTextEvent",SwigwxStyledTextEventTowxObject}, |
10969 | { "_wxObject","_wxStyledTextCtrl",SwigwxStyledTextCtrlTowxObject}, | |
f6bcfd97 BP |
10970 | { "_signed_short","_WXTYPE",0}, |
10971 | { "_signed_short","_short",0}, | |
f6bcfd97 | 10972 | { "_unsigned_char","_byte",0}, |
f6bcfd97 | 10973 | { "_wxControl","_wxStyledTextCtrl",SwigwxStyledTextCtrlTowxControl}, |
f6bcfd97 BP |
10974 | { "_unsigned_int","_wxCoord",0}, |
10975 | { "_unsigned_int","_wxPrintQuality",0}, | |
fe47ec10 | 10976 | { "_unsigned_int","_time_t",0}, |
f6bcfd97 BP |
10977 | { "_unsigned_int","_size_t",0}, |
10978 | { "_unsigned_int","_uint",0}, | |
10979 | { "_unsigned_int","_wxWindowID",0}, | |
10980 | { "_unsigned_int","_int",0}, | |
ea7c631c | 10981 | { "_short","_wxDateTime_t",0}, |
f6bcfd97 BP |
10982 | { "_short","_WXTYPE",0}, |
10983 | { "_short","_unsigned_short",0}, | |
10984 | { "_short","_signed_short",0}, | |
f6bcfd97 BP |
10985 | { "_wxWindowID","_wxCoord",0}, |
10986 | { "_wxWindowID","_wxPrintQuality",0}, | |
fe47ec10 | 10987 | { "_wxWindowID","_time_t",0}, |
f6bcfd97 BP |
10988 | { "_wxWindowID","_size_t",0}, |
10989 | { "_wxWindowID","_EBool",0}, | |
10990 | { "_wxWindowID","_uint",0}, | |
10991 | { "_wxWindowID","_int",0}, | |
10992 | { "_wxWindowID","_signed_int",0}, | |
10993 | { "_wxWindowID","_unsigned_int",0}, | |
f6bcfd97 BP |
10994 | { "_int","_wxCoord",0}, |
10995 | { "_int","_wxPrintQuality",0}, | |
fe47ec10 | 10996 | { "_int","_time_t",0}, |
f6bcfd97 BP |
10997 | { "_int","_size_t",0}, |
10998 | { "_int","_EBool",0}, | |
10999 | { "_int","_uint",0}, | |
11000 | { "_int","_wxWindowID",0}, | |
11001 | { "_int","_unsigned_int",0}, | |
11002 | { "_int","_signed_int",0}, | |
ea7c631c RD |
11003 | { "_wxDateTime_t","_unsigned_short",0}, |
11004 | { "_wxDateTime_t","_short",0}, | |
11005 | { "_wxDateTime_t","_WXTYPE",0}, | |
fe47ec10 RD |
11006 | { "_time_t","_wxCoord",0}, |
11007 | { "_time_t","_wxPrintQuality",0}, | |
11008 | { "_time_t","_unsigned_int",0}, | |
11009 | { "_time_t","_int",0}, | |
11010 | { "_time_t","_wxWindowID",0}, | |
11011 | { "_time_t","_uint",0}, | |
11012 | { "_time_t","_size_t",0}, | |
f6bcfd97 BP |
11013 | { "_wxCoord","_int",0}, |
11014 | { "_wxCoord","_signed_int",0}, | |
11015 | { "_wxCoord","_unsigned_int",0}, | |
11016 | { "_wxCoord","_wxWindowID",0}, | |
11017 | { "_wxCoord","_uint",0}, | |
11018 | { "_wxCoord","_EBool",0}, | |
11019 | { "_wxCoord","_size_t",0}, | |
fe47ec10 | 11020 | { "_wxCoord","_time_t",0}, |
f6bcfd97 | 11021 | { "_wxCoord","_wxPrintQuality",0}, |
f6bcfd97 | 11022 | { "_wxEvtHandler","_wxStyledTextCtrl",SwigwxStyledTextCtrlTowxEvtHandler}, |
f6bcfd97 | 11023 | { "_wxWindow","_wxStyledTextCtrl",SwigwxStyledTextCtrlTowxWindow}, |
f6bcfd97 BP |
11024 | {0,0,0}}; |
11025 | ||
11026 | static PyObject *SWIG_globals; | |
11027 | #ifdef __cplusplus | |
11028 | extern "C" | |
11029 | #endif | |
11030 | SWIGEXPORT(void) initstc_c() { | |
11031 | PyObject *m, *d; | |
11032 | SWIG_globals = SWIG_newvarlink(); | |
11033 | m = Py_InitModule("stc_c", stc_cMethods); | |
11034 | d = PyModule_GetDict(m); | |
fe47ec10 RD |
11035 | PyDict_SetItemString(d,"wxSTC_INVALID_POSITION", PyInt_FromLong((long) -1)); |
11036 | PyDict_SetItemString(d,"wxSTC_START", PyInt_FromLong((long) 2000)); | |
11037 | PyDict_SetItemString(d,"wxSTC_OPTIONAL_START", PyInt_FromLong((long) 3000)); | |
11038 | PyDict_SetItemString(d,"wxSTC_LEXER_START", PyInt_FromLong((long) 4000)); | |
11039 | PyDict_SetItemString(d,"wxSTC_CMD_REDO", PyInt_FromLong((long) 2011)); | |
11040 | PyDict_SetItemString(d,"wxSTC_CMD_SELECTALL", PyInt_FromLong((long) 2013)); | |
11041 | PyDict_SetItemString(d,"wxSTC_WS_INVISIBLE", PyInt_FromLong((long) 0)); | |
11042 | PyDict_SetItemString(d,"wxSTC_WS_VISIBLEALWAYS", PyInt_FromLong((long) 1)); | |
11043 | PyDict_SetItemString(d,"wxSTC_WS_VISIBLEAFTERINDENT", PyInt_FromLong((long) 2)); | |
11044 | PyDict_SetItemString(d,"wxSTC_EOL_CRLF", PyInt_FromLong((long) 0)); | |
11045 | PyDict_SetItemString(d,"wxSTC_EOL_CR", PyInt_FromLong((long) 1)); | |
11046 | PyDict_SetItemString(d,"wxSTC_EOL_LF", PyInt_FromLong((long) 2)); | |
11047 | PyDict_SetItemString(d,"wxSTC_CP_UTF8", PyInt_FromLong((long) 65001)); | |
f6bcfd97 BP |
11048 | PyDict_SetItemString(d,"wxSTC_MARKER_MAX", PyInt_FromLong((long) 31)); |
11049 | PyDict_SetItemString(d,"wxSTC_MARK_CIRCLE", PyInt_FromLong((long) 0)); | |
11050 | PyDict_SetItemString(d,"wxSTC_MARK_ROUNDRECT", PyInt_FromLong((long) 1)); | |
11051 | PyDict_SetItemString(d,"wxSTC_MARK_ARROW", PyInt_FromLong((long) 2)); | |
11052 | PyDict_SetItemString(d,"wxSTC_MARK_SMALLRECT", PyInt_FromLong((long) 3)); | |
11053 | PyDict_SetItemString(d,"wxSTC_MARK_SHORTARROW", PyInt_FromLong((long) 4)); | |
11054 | PyDict_SetItemString(d,"wxSTC_MARK_EMPTY", PyInt_FromLong((long) 5)); | |
11055 | PyDict_SetItemString(d,"wxSTC_MARK_ARROWDOWN", PyInt_FromLong((long) 6)); | |
11056 | PyDict_SetItemString(d,"wxSTC_MARK_MINUS", PyInt_FromLong((long) 7)); | |
11057 | PyDict_SetItemString(d,"wxSTC_MARK_PLUS", PyInt_FromLong((long) 8)); | |
65ec6247 RD |
11058 | PyDict_SetItemString(d,"wxSTC_MARK_VLINE", PyInt_FromLong((long) 9)); |
11059 | PyDict_SetItemString(d,"wxSTC_MARK_LCORNER", PyInt_FromLong((long) 10)); | |
11060 | PyDict_SetItemString(d,"wxSTC_MARK_TCORNER", PyInt_FromLong((long) 11)); | |
11061 | PyDict_SetItemString(d,"wxSTC_MARK_BOXPLUS", PyInt_FromLong((long) 12)); | |
11062 | PyDict_SetItemString(d,"wxSTC_MARK_BOXPLUSCONNECTED", PyInt_FromLong((long) 13)); | |
11063 | PyDict_SetItemString(d,"wxSTC_MARK_BOXMINUS", PyInt_FromLong((long) 14)); | |
11064 | PyDict_SetItemString(d,"wxSTC_MARK_BOXMINUSCONNECTED", PyInt_FromLong((long) 15)); | |
11065 | PyDict_SetItemString(d,"wxSTC_MARK_LCORNERCURVE", PyInt_FromLong((long) 16)); | |
11066 | PyDict_SetItemString(d,"wxSTC_MARK_TCORNERCURVE", PyInt_FromLong((long) 17)); | |
11067 | PyDict_SetItemString(d,"wxSTC_MARK_CIRCLEPLUS", PyInt_FromLong((long) 18)); | |
11068 | PyDict_SetItemString(d,"wxSTC_MARK_CIRCLEPLUSCONNECTED", PyInt_FromLong((long) 19)); | |
11069 | PyDict_SetItemString(d,"wxSTC_MARK_CIRCLEMINUS", PyInt_FromLong((long) 20)); | |
11070 | PyDict_SetItemString(d,"wxSTC_MARK_CIRCLEMINUSCONNECTED", PyInt_FromLong((long) 21)); | |
1a2fb4cd | 11071 | PyDict_SetItemString(d,"wxSTC_MARK_BACKGROUND", PyInt_FromLong((long) 22)); |
fe0aca37 | 11072 | PyDict_SetItemString(d,"wxSTC_MARK_CHARACTER", PyInt_FromLong((long) 10000)); |
65ec6247 RD |
11073 | PyDict_SetItemString(d,"wxSTC_MARKNUM_FOLDEREND", PyInt_FromLong((long) 25)); |
11074 | PyDict_SetItemString(d,"wxSTC_MARKNUM_FOLDEROPENMID", PyInt_FromLong((long) 26)); | |
11075 | PyDict_SetItemString(d,"wxSTC_MARKNUM_FOLDERMIDTAIL", PyInt_FromLong((long) 27)); | |
11076 | PyDict_SetItemString(d,"wxSTC_MARKNUM_FOLDERTAIL", PyInt_FromLong((long) 28)); | |
11077 | PyDict_SetItemString(d,"wxSTC_MARKNUM_FOLDERSUB", PyInt_FromLong((long) 29)); | |
f6bcfd97 BP |
11078 | PyDict_SetItemString(d,"wxSTC_MARKNUM_FOLDER", PyInt_FromLong((long) 30)); |
11079 | PyDict_SetItemString(d,"wxSTC_MARKNUM_FOLDEROPEN", PyInt_FromLong((long) 31)); | |
1a2fb4cd | 11080 | PyDict_SetItemString(d,"wxSTC_MASK_FOLDERS", PyInt_FromLong((long) 0xFE000000)); |
fe47ec10 RD |
11081 | PyDict_SetItemString(d,"wxSTC_MARGIN_SYMBOL", PyInt_FromLong((long) 0)); |
11082 | PyDict_SetItemString(d,"wxSTC_MARGIN_NUMBER", PyInt_FromLong((long) 1)); | |
11083 | PyDict_SetItemString(d,"wxSTC_STYLE_DEFAULT", PyInt_FromLong((long) 32)); | |
11084 | PyDict_SetItemString(d,"wxSTC_STYLE_LINENUMBER", PyInt_FromLong((long) 33)); | |
11085 | PyDict_SetItemString(d,"wxSTC_STYLE_BRACELIGHT", PyInt_FromLong((long) 34)); | |
11086 | PyDict_SetItemString(d,"wxSTC_STYLE_BRACEBAD", PyInt_FromLong((long) 35)); | |
11087 | PyDict_SetItemString(d,"wxSTC_STYLE_CONTROLCHAR", PyInt_FromLong((long) 36)); | |
11088 | PyDict_SetItemString(d,"wxSTC_STYLE_INDENTGUIDE", PyInt_FromLong((long) 37)); | |
fe0aca37 | 11089 | PyDict_SetItemString(d,"wxSTC_STYLE_LASTPREDEFINED", PyInt_FromLong((long) 39)); |
fe47ec10 RD |
11090 | PyDict_SetItemString(d,"wxSTC_STYLE_MAX", PyInt_FromLong((long) 127)); |
11091 | PyDict_SetItemString(d,"wxSTC_CHARSET_ANSI", PyInt_FromLong((long) 0)); | |
11092 | PyDict_SetItemString(d,"wxSTC_CHARSET_DEFAULT", PyInt_FromLong((long) 1)); | |
11093 | PyDict_SetItemString(d,"wxSTC_CHARSET_BALTIC", PyInt_FromLong((long) 186)); | |
11094 | PyDict_SetItemString(d,"wxSTC_CHARSET_CHINESEBIG5", PyInt_FromLong((long) 136)); | |
11095 | PyDict_SetItemString(d,"wxSTC_CHARSET_EASTEUROPE", PyInt_FromLong((long) 238)); | |
11096 | PyDict_SetItemString(d,"wxSTC_CHARSET_GB2312", PyInt_FromLong((long) 134)); | |
11097 | PyDict_SetItemString(d,"wxSTC_CHARSET_GREEK", PyInt_FromLong((long) 161)); | |
11098 | PyDict_SetItemString(d,"wxSTC_CHARSET_HANGUL", PyInt_FromLong((long) 129)); | |
11099 | PyDict_SetItemString(d,"wxSTC_CHARSET_MAC", PyInt_FromLong((long) 77)); | |
11100 | PyDict_SetItemString(d,"wxSTC_CHARSET_OEM", PyInt_FromLong((long) 255)); | |
11101 | PyDict_SetItemString(d,"wxSTC_CHARSET_RUSSIAN", PyInt_FromLong((long) 204)); | |
11102 | PyDict_SetItemString(d,"wxSTC_CHARSET_SHIFTJIS", PyInt_FromLong((long) 128)); | |
11103 | PyDict_SetItemString(d,"wxSTC_CHARSET_SYMBOL", PyInt_FromLong((long) 2)); | |
11104 | PyDict_SetItemString(d,"wxSTC_CHARSET_TURKISH", PyInt_FromLong((long) 162)); | |
11105 | PyDict_SetItemString(d,"wxSTC_CHARSET_JOHAB", PyInt_FromLong((long) 130)); | |
11106 | PyDict_SetItemString(d,"wxSTC_CHARSET_HEBREW", PyInt_FromLong((long) 177)); | |
11107 | PyDict_SetItemString(d,"wxSTC_CHARSET_ARABIC", PyInt_FromLong((long) 178)); | |
11108 | PyDict_SetItemString(d,"wxSTC_CHARSET_VIETNAMESE", PyInt_FromLong((long) 163)); | |
11109 | PyDict_SetItemString(d,"wxSTC_CHARSET_THAI", PyInt_FromLong((long) 222)); | |
65ec6247 RD |
11110 | PyDict_SetItemString(d,"wxSTC_CASE_MIXED", PyInt_FromLong((long) 0)); |
11111 | PyDict_SetItemString(d,"wxSTC_CASE_UPPER", PyInt_FromLong((long) 1)); | |
11112 | PyDict_SetItemString(d,"wxSTC_CASE_LOWER", PyInt_FromLong((long) 2)); | |
f6bcfd97 BP |
11113 | PyDict_SetItemString(d,"wxSTC_INDIC_MAX", PyInt_FromLong((long) 7)); |
11114 | PyDict_SetItemString(d,"wxSTC_INDIC_PLAIN", PyInt_FromLong((long) 0)); | |
11115 | PyDict_SetItemString(d,"wxSTC_INDIC_SQUIGGLE", PyInt_FromLong((long) 1)); | |
11116 | PyDict_SetItemString(d,"wxSTC_INDIC_TT", PyInt_FromLong((long) 2)); | |
11117 | PyDict_SetItemString(d,"wxSTC_INDIC_DIAGONAL", PyInt_FromLong((long) 3)); | |
11118 | PyDict_SetItemString(d,"wxSTC_INDIC_STRIKE", PyInt_FromLong((long) 4)); | |
1a2fb4cd RD |
11119 | PyDict_SetItemString(d,"wxSTC_INDIC0_MASK", PyInt_FromLong((long) 0x20)); |
11120 | PyDict_SetItemString(d,"wxSTC_INDIC1_MASK", PyInt_FromLong((long) 0x40)); | |
11121 | PyDict_SetItemString(d,"wxSTC_INDIC2_MASK", PyInt_FromLong((long) 0x80)); | |
11122 | PyDict_SetItemString(d,"wxSTC_INDICS_MASK", PyInt_FromLong((long) 0xE0)); | |
fe47ec10 RD |
11123 | PyDict_SetItemString(d,"wxSTC_PRINT_NORMAL", PyInt_FromLong((long) 0)); |
11124 | PyDict_SetItemString(d,"wxSTC_PRINT_INVERTLIGHT", PyInt_FromLong((long) 1)); | |
11125 | PyDict_SetItemString(d,"wxSTC_PRINT_BLACKONWHITE", PyInt_FromLong((long) 2)); | |
65ec6247 RD |
11126 | PyDict_SetItemString(d,"wxSTC_PRINT_COLOURONWHITE", PyInt_FromLong((long) 3)); |
11127 | PyDict_SetItemString(d,"wxSTC_PRINT_COLOURONWHITEDEFAULTBG", PyInt_FromLong((long) 4)); | |
fe47ec10 RD |
11128 | PyDict_SetItemString(d,"wxSTC_FIND_WHOLEWORD", PyInt_FromLong((long) 2)); |
11129 | PyDict_SetItemString(d,"wxSTC_FIND_MATCHCASE", PyInt_FromLong((long) 4)); | |
11130 | PyDict_SetItemString(d,"wxSTC_FIND_WORDSTART", PyInt_FromLong((long) 0x00100000)); | |
11131 | PyDict_SetItemString(d,"wxSTC_FIND_REGEXP", PyInt_FromLong((long) 0x00200000)); | |
11132 | PyDict_SetItemString(d,"wxSTC_CMD_UNDO", PyInt_FromLong((long) 2176)); | |
11133 | PyDict_SetItemString(d,"wxSTC_CMD_CUT", PyInt_FromLong((long) 2177)); | |
11134 | PyDict_SetItemString(d,"wxSTC_CMD_COPY", PyInt_FromLong((long) 2178)); | |
11135 | PyDict_SetItemString(d,"wxSTC_CMD_PASTE", PyInt_FromLong((long) 2179)); | |
11136 | PyDict_SetItemString(d,"wxSTC_FOLDLEVELBASE", PyInt_FromLong((long) 0x400)); | |
f6bcfd97 BP |
11137 | PyDict_SetItemString(d,"wxSTC_FOLDLEVELWHITEFLAG", PyInt_FromLong((long) 0x1000)); |
11138 | PyDict_SetItemString(d,"wxSTC_FOLDLEVELHEADERFLAG", PyInt_FromLong((long) 0x2000)); | |
11139 | PyDict_SetItemString(d,"wxSTC_FOLDLEVELNUMBERMASK", PyInt_FromLong((long) 0x0FFF)); | |
65ec6247 | 11140 | PyDict_SetItemString(d,"wxSTC_TIME_FOREVER", PyInt_FromLong((long) 10000000)); |
1a2fb4cd RD |
11141 | PyDict_SetItemString(d,"wxSTC_WRAP_NONE", PyInt_FromLong((long) 0)); |
11142 | PyDict_SetItemString(d,"wxSTC_WRAP_WORD", PyInt_FromLong((long) 1)); | |
11143 | PyDict_SetItemString(d,"wxSTC_CACHE_NONE", PyInt_FromLong((long) 0)); | |
11144 | PyDict_SetItemString(d,"wxSTC_CACHE_CARET", PyInt_FromLong((long) 1)); | |
11145 | PyDict_SetItemString(d,"wxSTC_CACHE_PAGE", PyInt_FromLong((long) 2)); | |
11146 | PyDict_SetItemString(d,"wxSTC_CACHE_DOCUMENT", PyInt_FromLong((long) 3)); | |
fe47ec10 RD |
11147 | PyDict_SetItemString(d,"wxSTC_CMD_LINEDOWN", PyInt_FromLong((long) 2300)); |
11148 | PyDict_SetItemString(d,"wxSTC_CMD_LINEDOWNEXTEND", PyInt_FromLong((long) 2301)); | |
11149 | PyDict_SetItemString(d,"wxSTC_CMD_LINEUP", PyInt_FromLong((long) 2302)); | |
11150 | PyDict_SetItemString(d,"wxSTC_CMD_LINEUPEXTEND", PyInt_FromLong((long) 2303)); | |
11151 | PyDict_SetItemString(d,"wxSTC_CMD_CHARLEFT", PyInt_FromLong((long) 2304)); | |
11152 | PyDict_SetItemString(d,"wxSTC_CMD_CHARLEFTEXTEND", PyInt_FromLong((long) 2305)); | |
11153 | PyDict_SetItemString(d,"wxSTC_CMD_CHARRIGHT", PyInt_FromLong((long) 2306)); | |
11154 | PyDict_SetItemString(d,"wxSTC_CMD_CHARRIGHTEXTEND", PyInt_FromLong((long) 2307)); | |
11155 | PyDict_SetItemString(d,"wxSTC_CMD_WORDLEFT", PyInt_FromLong((long) 2308)); | |
11156 | PyDict_SetItemString(d,"wxSTC_CMD_WORDLEFTEXTEND", PyInt_FromLong((long) 2309)); | |
11157 | PyDict_SetItemString(d,"wxSTC_CMD_WORDRIGHT", PyInt_FromLong((long) 2310)); | |
11158 | PyDict_SetItemString(d,"wxSTC_CMD_WORDRIGHTEXTEND", PyInt_FromLong((long) 2311)); | |
11159 | PyDict_SetItemString(d,"wxSTC_CMD_HOME", PyInt_FromLong((long) 2312)); | |
11160 | PyDict_SetItemString(d,"wxSTC_CMD_HOMEEXTEND", PyInt_FromLong((long) 2313)); | |
11161 | PyDict_SetItemString(d,"wxSTC_CMD_LINEEND", PyInt_FromLong((long) 2314)); | |
11162 | PyDict_SetItemString(d,"wxSTC_CMD_LINEENDEXTEND", PyInt_FromLong((long) 2315)); | |
11163 | PyDict_SetItemString(d,"wxSTC_CMD_DOCUMENTSTART", PyInt_FromLong((long) 2316)); | |
11164 | PyDict_SetItemString(d,"wxSTC_CMD_DOCUMENTSTARTEXTEND", PyInt_FromLong((long) 2317)); | |
11165 | PyDict_SetItemString(d,"wxSTC_CMD_DOCUMENTEND", PyInt_FromLong((long) 2318)); | |
11166 | PyDict_SetItemString(d,"wxSTC_CMD_DOCUMENTENDEXTEND", PyInt_FromLong((long) 2319)); | |
11167 | PyDict_SetItemString(d,"wxSTC_CMD_PAGEUP", PyInt_FromLong((long) 2320)); | |
11168 | PyDict_SetItemString(d,"wxSTC_CMD_PAGEUPEXTEND", PyInt_FromLong((long) 2321)); | |
11169 | PyDict_SetItemString(d,"wxSTC_CMD_PAGEDOWN", PyInt_FromLong((long) 2322)); | |
11170 | PyDict_SetItemString(d,"wxSTC_CMD_PAGEDOWNEXTEND", PyInt_FromLong((long) 2323)); | |
11171 | PyDict_SetItemString(d,"wxSTC_CMD_EDITTOGGLEOVERTYPE", PyInt_FromLong((long) 2324)); | |
11172 | PyDict_SetItemString(d,"wxSTC_CMD_CANCEL", PyInt_FromLong((long) 2325)); | |
11173 | PyDict_SetItemString(d,"wxSTC_CMD_DELETEBACK", PyInt_FromLong((long) 2326)); | |
11174 | PyDict_SetItemString(d,"wxSTC_CMD_TAB", PyInt_FromLong((long) 2327)); | |
11175 | PyDict_SetItemString(d,"wxSTC_CMD_BACKTAB", PyInt_FromLong((long) 2328)); | |
11176 | PyDict_SetItemString(d,"wxSTC_CMD_NEWLINE", PyInt_FromLong((long) 2329)); | |
11177 | PyDict_SetItemString(d,"wxSTC_CMD_FORMFEED", PyInt_FromLong((long) 2330)); | |
11178 | PyDict_SetItemString(d,"wxSTC_CMD_VCHOME", PyInt_FromLong((long) 2331)); | |
11179 | PyDict_SetItemString(d,"wxSTC_CMD_VCHOMEEXTEND", PyInt_FromLong((long) 2332)); | |
11180 | PyDict_SetItemString(d,"wxSTC_CMD_ZOOMIN", PyInt_FromLong((long) 2333)); | |
11181 | PyDict_SetItemString(d,"wxSTC_CMD_ZOOMOUT", PyInt_FromLong((long) 2334)); | |
11182 | PyDict_SetItemString(d,"wxSTC_CMD_DELWORDLEFT", PyInt_FromLong((long) 2335)); | |
11183 | PyDict_SetItemString(d,"wxSTC_CMD_DELWORDRIGHT", PyInt_FromLong((long) 2336)); | |
11184 | PyDict_SetItemString(d,"wxSTC_CMD_LINECUT", PyInt_FromLong((long) 2337)); | |
11185 | PyDict_SetItemString(d,"wxSTC_CMD_LINEDELETE", PyInt_FromLong((long) 2338)); | |
11186 | PyDict_SetItemString(d,"wxSTC_CMD_LINETRANSPOSE", PyInt_FromLong((long) 2339)); | |
11187 | PyDict_SetItemString(d,"wxSTC_CMD_LOWERCASE", PyInt_FromLong((long) 2340)); | |
11188 | PyDict_SetItemString(d,"wxSTC_CMD_UPPERCASE", PyInt_FromLong((long) 2341)); | |
11189 | PyDict_SetItemString(d,"wxSTC_CMD_LINESCROLLDOWN", PyInt_FromLong((long) 2342)); | |
11190 | PyDict_SetItemString(d,"wxSTC_CMD_LINESCROLLUP", PyInt_FromLong((long) 2343)); | |
1a2fb4cd | 11191 | PyDict_SetItemString(d,"wxSTC_CMD_DELETEBACKNOTLINE", PyInt_FromLong((long) 2344)); |
fe47ec10 RD |
11192 | PyDict_SetItemString(d,"wxSTC_EDGE_NONE", PyInt_FromLong((long) 0)); |
11193 | PyDict_SetItemString(d,"wxSTC_EDGE_LINE", PyInt_FromLong((long) 1)); | |
11194 | PyDict_SetItemString(d,"wxSTC_EDGE_BACKGROUND", PyInt_FromLong((long) 2)); | |
f6bcfd97 | 11195 | PyDict_SetItemString(d,"wxSTC_CARET_SLOP", PyInt_FromLong((long) 0x01)); |
fe47ec10 | 11196 | PyDict_SetItemString(d,"wxSTC_CARET_CENTER", PyInt_FromLong((long) 0x02)); |
f6bcfd97 | 11197 | PyDict_SetItemString(d,"wxSTC_CARET_STRICT", PyInt_FromLong((long) 0x04)); |
65ec6247 RD |
11198 | PyDict_SetItemString(d,"wxSTC_CARET_XEVEN", PyInt_FromLong((long) 0x08)); |
11199 | PyDict_SetItemString(d,"wxSTC_CARET_XJUMPS", PyInt_FromLong((long) 0x10)); | |
11200 | PyDict_SetItemString(d,"wxSTC_CURSORNORMAL", PyInt_FromLong((long) -1)); | |
11201 | PyDict_SetItemString(d,"wxSTC_CURSORWAIT", PyInt_FromLong((long) 3)); | |
11202 | PyDict_SetItemString(d,"wxSTC_VISIBLE_SLOP", PyInt_FromLong((long) 0x01)); | |
11203 | PyDict_SetItemString(d,"wxSTC_VISIBLE_STRICT", PyInt_FromLong((long) 0x04)); | |
fe47ec10 RD |
11204 | PyDict_SetItemString(d,"wxSTC_MOD_INSERTTEXT", PyInt_FromLong((long) 0x1)); |
11205 | PyDict_SetItemString(d,"wxSTC_MOD_DELETETEXT", PyInt_FromLong((long) 0x2)); | |
11206 | PyDict_SetItemString(d,"wxSTC_MOD_CHANGESTYLE", PyInt_FromLong((long) 0x4)); | |
11207 | PyDict_SetItemString(d,"wxSTC_MOD_CHANGEFOLD", PyInt_FromLong((long) 0x8)); | |
11208 | PyDict_SetItemString(d,"wxSTC_PERFORMED_USER", PyInt_FromLong((long) 0x10)); | |
11209 | PyDict_SetItemString(d,"wxSTC_PERFORMED_UNDO", PyInt_FromLong((long) 0x20)); | |
11210 | PyDict_SetItemString(d,"wxSTC_PERFORMED_REDO", PyInt_FromLong((long) 0x40)); | |
11211 | PyDict_SetItemString(d,"wxSTC_LASTSTEPINUNDOREDO", PyInt_FromLong((long) 0x100)); | |
11212 | PyDict_SetItemString(d,"wxSTC_MOD_CHANGEMARKER", PyInt_FromLong((long) 0x200)); | |
11213 | PyDict_SetItemString(d,"wxSTC_MOD_BEFOREINSERT", PyInt_FromLong((long) 0x400)); | |
11214 | PyDict_SetItemString(d,"wxSTC_MOD_BEFOREDELETE", PyInt_FromLong((long) 0x800)); | |
11215 | PyDict_SetItemString(d,"wxSTC_MODEVENTMASKALL", PyInt_FromLong((long) 0xF77)); | |
11216 | PyDict_SetItemString(d,"wxSTC_KEY_DOWN", PyInt_FromLong((long) 300)); | |
11217 | PyDict_SetItemString(d,"wxSTC_KEY_UP", PyInt_FromLong((long) 301)); | |
11218 | PyDict_SetItemString(d,"wxSTC_KEY_LEFT", PyInt_FromLong((long) 302)); | |
11219 | PyDict_SetItemString(d,"wxSTC_KEY_RIGHT", PyInt_FromLong((long) 303)); | |
11220 | PyDict_SetItemString(d,"wxSTC_KEY_HOME", PyInt_FromLong((long) 304)); | |
11221 | PyDict_SetItemString(d,"wxSTC_KEY_END", PyInt_FromLong((long) 305)); | |
11222 | PyDict_SetItemString(d,"wxSTC_KEY_PRIOR", PyInt_FromLong((long) 306)); | |
11223 | PyDict_SetItemString(d,"wxSTC_KEY_NEXT", PyInt_FromLong((long) 307)); | |
11224 | PyDict_SetItemString(d,"wxSTC_KEY_DELETE", PyInt_FromLong((long) 308)); | |
11225 | PyDict_SetItemString(d,"wxSTC_KEY_INSERT", PyInt_FromLong((long) 309)); | |
11226 | PyDict_SetItemString(d,"wxSTC_KEY_ESCAPE", PyInt_FromLong((long) 7)); | |
11227 | PyDict_SetItemString(d,"wxSTC_KEY_BACK", PyInt_FromLong((long) 8)); | |
11228 | PyDict_SetItemString(d,"wxSTC_KEY_TAB", PyInt_FromLong((long) 9)); | |
11229 | PyDict_SetItemString(d,"wxSTC_KEY_RETURN", PyInt_FromLong((long) 13)); | |
11230 | PyDict_SetItemString(d,"wxSTC_KEY_ADD", PyInt_FromLong((long) 310)); | |
11231 | PyDict_SetItemString(d,"wxSTC_KEY_SUBTRACT", PyInt_FromLong((long) 311)); | |
11232 | PyDict_SetItemString(d,"wxSTC_KEY_DIVIDE", PyInt_FromLong((long) 312)); | |
11233 | PyDict_SetItemString(d,"wxSTC_SCMOD_SHIFT", PyInt_FromLong((long) 1)); | |
11234 | PyDict_SetItemString(d,"wxSTC_SCMOD_CTRL", PyInt_FromLong((long) 2)); | |
11235 | PyDict_SetItemString(d,"wxSTC_SCMOD_ALT", PyInt_FromLong((long) 4)); | |
11236 | PyDict_SetItemString(d,"wxSTC_LEX_CONTAINER", PyInt_FromLong((long) 0)); | |
11237 | PyDict_SetItemString(d,"wxSTC_LEX_NULL", PyInt_FromLong((long) 1)); | |
11238 | PyDict_SetItemString(d,"wxSTC_LEX_PYTHON", PyInt_FromLong((long) 2)); | |
11239 | PyDict_SetItemString(d,"wxSTC_LEX_CPP", PyInt_FromLong((long) 3)); | |
11240 | PyDict_SetItemString(d,"wxSTC_LEX_HTML", PyInt_FromLong((long) 4)); | |
11241 | PyDict_SetItemString(d,"wxSTC_LEX_XML", PyInt_FromLong((long) 5)); | |
11242 | PyDict_SetItemString(d,"wxSTC_LEX_PERL", PyInt_FromLong((long) 6)); | |
11243 | PyDict_SetItemString(d,"wxSTC_LEX_SQL", PyInt_FromLong((long) 7)); | |
11244 | PyDict_SetItemString(d,"wxSTC_LEX_VB", PyInt_FromLong((long) 8)); | |
11245 | PyDict_SetItemString(d,"wxSTC_LEX_PROPERTIES", PyInt_FromLong((long) 9)); | |
11246 | PyDict_SetItemString(d,"wxSTC_LEX_ERRORLIST", PyInt_FromLong((long) 10)); | |
11247 | PyDict_SetItemString(d,"wxSTC_LEX_MAKEFILE", PyInt_FromLong((long) 11)); | |
11248 | PyDict_SetItemString(d,"wxSTC_LEX_BATCH", PyInt_FromLong((long) 12)); | |
11249 | PyDict_SetItemString(d,"wxSTC_LEX_XCODE", PyInt_FromLong((long) 13)); | |
11250 | PyDict_SetItemString(d,"wxSTC_LEX_LATEX", PyInt_FromLong((long) 14)); | |
11251 | PyDict_SetItemString(d,"wxSTC_LEX_LUA", PyInt_FromLong((long) 15)); | |
11252 | PyDict_SetItemString(d,"wxSTC_LEX_DIFF", PyInt_FromLong((long) 16)); | |
65ec6247 RD |
11253 | PyDict_SetItemString(d,"wxSTC_LEX_CONF", PyInt_FromLong((long) 17)); |
11254 | PyDict_SetItemString(d,"wxSTC_LEX_PASCAL", PyInt_FromLong((long) 18)); | |
11255 | PyDict_SetItemString(d,"wxSTC_LEX_AVE", PyInt_FromLong((long) 19)); | |
11256 | PyDict_SetItemString(d,"wxSTC_LEX_ADA", PyInt_FromLong((long) 20)); | |
11257 | PyDict_SetItemString(d,"wxSTC_LEX_LISP", PyInt_FromLong((long) 21)); | |
11258 | PyDict_SetItemString(d,"wxSTC_LEX_RUBY", PyInt_FromLong((long) 22)); | |
11259 | PyDict_SetItemString(d,"wxSTC_LEX_EIFFEL", PyInt_FromLong((long) 23)); | |
11260 | PyDict_SetItemString(d,"wxSTC_LEX_EIFFELKW", PyInt_FromLong((long) 24)); | |
11261 | PyDict_SetItemString(d,"wxSTC_LEX_TCL", PyInt_FromLong((long) 25)); | |
fe0aca37 | 11262 | PyDict_SetItemString(d,"wxSTC_LEX_NNCRONTAB", PyInt_FromLong((long) 26)); |
1a2fb4cd RD |
11263 | PyDict_SetItemString(d,"wxSTC_LEX_BULLANT", PyInt_FromLong((long) 27)); |
11264 | PyDict_SetItemString(d,"wxSTC_LEX_VBSCRIPT", PyInt_FromLong((long) 28)); | |
11265 | PyDict_SetItemString(d,"wxSTC_LEX_ASP", PyInt_FromLong((long) 29)); | |
11266 | PyDict_SetItemString(d,"wxSTC_LEX_PHP", PyInt_FromLong((long) 30)); | |
11267 | PyDict_SetItemString(d,"wxSTC_LEX_BAAN", PyInt_FromLong((long) 31)); | |
11268 | PyDict_SetItemString(d,"wxSTC_LEX_MATLAB", PyInt_FromLong((long) 32)); | |
65ec6247 | 11269 | PyDict_SetItemString(d,"wxSTC_LEX_AUTOMATIC", PyInt_FromLong((long) 1000)); |
fe47ec10 RD |
11270 | PyDict_SetItemString(d,"wxSTC_P_DEFAULT", PyInt_FromLong((long) 0)); |
11271 | PyDict_SetItemString(d,"wxSTC_P_COMMENTLINE", PyInt_FromLong((long) 1)); | |
11272 | PyDict_SetItemString(d,"wxSTC_P_NUMBER", PyInt_FromLong((long) 2)); | |
11273 | PyDict_SetItemString(d,"wxSTC_P_STRING", PyInt_FromLong((long) 3)); | |
11274 | PyDict_SetItemString(d,"wxSTC_P_CHARACTER", PyInt_FromLong((long) 4)); | |
11275 | PyDict_SetItemString(d,"wxSTC_P_WORD", PyInt_FromLong((long) 5)); | |
11276 | PyDict_SetItemString(d,"wxSTC_P_TRIPLE", PyInt_FromLong((long) 6)); | |
11277 | PyDict_SetItemString(d,"wxSTC_P_TRIPLEDOUBLE", PyInt_FromLong((long) 7)); | |
11278 | PyDict_SetItemString(d,"wxSTC_P_CLASSNAME", PyInt_FromLong((long) 8)); | |
11279 | PyDict_SetItemString(d,"wxSTC_P_DEFNAME", PyInt_FromLong((long) 9)); | |
11280 | PyDict_SetItemString(d,"wxSTC_P_OPERATOR", PyInt_FromLong((long) 10)); | |
11281 | PyDict_SetItemString(d,"wxSTC_P_IDENTIFIER", PyInt_FromLong((long) 11)); | |
11282 | PyDict_SetItemString(d,"wxSTC_P_COMMENTBLOCK", PyInt_FromLong((long) 12)); | |
11283 | PyDict_SetItemString(d,"wxSTC_P_STRINGEOL", PyInt_FromLong((long) 13)); | |
11284 | PyDict_SetItemString(d,"wxSTC_C_DEFAULT", PyInt_FromLong((long) 0)); | |
11285 | PyDict_SetItemString(d,"wxSTC_C_COMMENT", PyInt_FromLong((long) 1)); | |
11286 | PyDict_SetItemString(d,"wxSTC_C_COMMENTLINE", PyInt_FromLong((long) 2)); | |
11287 | PyDict_SetItemString(d,"wxSTC_C_COMMENTDOC", PyInt_FromLong((long) 3)); | |
11288 | PyDict_SetItemString(d,"wxSTC_C_NUMBER", PyInt_FromLong((long) 4)); | |
11289 | PyDict_SetItemString(d,"wxSTC_C_WORD", PyInt_FromLong((long) 5)); | |
11290 | PyDict_SetItemString(d,"wxSTC_C_STRING", PyInt_FromLong((long) 6)); | |
11291 | PyDict_SetItemString(d,"wxSTC_C_CHARACTER", PyInt_FromLong((long) 7)); | |
11292 | PyDict_SetItemString(d,"wxSTC_C_UUID", PyInt_FromLong((long) 8)); | |
11293 | PyDict_SetItemString(d,"wxSTC_C_PREPROCESSOR", PyInt_FromLong((long) 9)); | |
11294 | PyDict_SetItemString(d,"wxSTC_C_OPERATOR", PyInt_FromLong((long) 10)); | |
11295 | PyDict_SetItemString(d,"wxSTC_C_IDENTIFIER", PyInt_FromLong((long) 11)); | |
11296 | PyDict_SetItemString(d,"wxSTC_C_STRINGEOL", PyInt_FromLong((long) 12)); | |
11297 | PyDict_SetItemString(d,"wxSTC_C_VERBATIM", PyInt_FromLong((long) 13)); | |
65ec6247 RD |
11298 | PyDict_SetItemString(d,"wxSTC_C_REGEX", PyInt_FromLong((long) 14)); |
11299 | PyDict_SetItemString(d,"wxSTC_C_COMMENTLINEDOC", PyInt_FromLong((long) 15)); | |
11300 | PyDict_SetItemString(d,"wxSTC_C_WORD2", PyInt_FromLong((long) 16)); | |
fe0aca37 RD |
11301 | PyDict_SetItemString(d,"wxSTC_C_COMMENTDOCKEYWORD", PyInt_FromLong((long) 17)); |
11302 | PyDict_SetItemString(d,"wxSTC_C_COMMENTDOCKEYWORDERROR", PyInt_FromLong((long) 18)); | |
1a2fb4cd RD |
11303 | PyDict_SetItemString(d,"wxSTC_B_DEFAULT", PyInt_FromLong((long) 0)); |
11304 | PyDict_SetItemString(d,"wxSTC_B_COMMENT", PyInt_FromLong((long) 1)); | |
11305 | PyDict_SetItemString(d,"wxSTC_B_NUMBER", PyInt_FromLong((long) 2)); | |
11306 | PyDict_SetItemString(d,"wxSTC_B_KEYWORD", PyInt_FromLong((long) 3)); | |
11307 | PyDict_SetItemString(d,"wxSTC_B_STRING", PyInt_FromLong((long) 4)); | |
11308 | PyDict_SetItemString(d,"wxSTC_B_PREPROCESSOR", PyInt_FromLong((long) 5)); | |
11309 | PyDict_SetItemString(d,"wxSTC_B_OPERATOR", PyInt_FromLong((long) 6)); | |
11310 | PyDict_SetItemString(d,"wxSTC_B_IDENTIFIER", PyInt_FromLong((long) 7)); | |
11311 | PyDict_SetItemString(d,"wxSTC_B_DATE", PyInt_FromLong((long) 8)); | |
fe47ec10 RD |
11312 | PyDict_SetItemString(d,"wxSTC_H_DEFAULT", PyInt_FromLong((long) 0)); |
11313 | PyDict_SetItemString(d,"wxSTC_H_TAG", PyInt_FromLong((long) 1)); | |
11314 | PyDict_SetItemString(d,"wxSTC_H_TAGUNKNOWN", PyInt_FromLong((long) 2)); | |
11315 | PyDict_SetItemString(d,"wxSTC_H_ATTRIBUTE", PyInt_FromLong((long) 3)); | |
11316 | PyDict_SetItemString(d,"wxSTC_H_ATTRIBUTEUNKNOWN", PyInt_FromLong((long) 4)); | |
11317 | PyDict_SetItemString(d,"wxSTC_H_NUMBER", PyInt_FromLong((long) 5)); | |
11318 | PyDict_SetItemString(d,"wxSTC_H_DOUBLESTRING", PyInt_FromLong((long) 6)); | |
11319 | PyDict_SetItemString(d,"wxSTC_H_SINGLESTRING", PyInt_FromLong((long) 7)); | |
11320 | PyDict_SetItemString(d,"wxSTC_H_OTHER", PyInt_FromLong((long) 8)); | |
11321 | PyDict_SetItemString(d,"wxSTC_H_COMMENT", PyInt_FromLong((long) 9)); | |
11322 | PyDict_SetItemString(d,"wxSTC_H_ENTITY", PyInt_FromLong((long) 10)); | |
11323 | PyDict_SetItemString(d,"wxSTC_H_TAGEND", PyInt_FromLong((long) 11)); | |
11324 | PyDict_SetItemString(d,"wxSTC_H_XMLSTART", PyInt_FromLong((long) 12)); | |
11325 | PyDict_SetItemString(d,"wxSTC_H_XMLEND", PyInt_FromLong((long) 13)); | |
11326 | PyDict_SetItemString(d,"wxSTC_H_SCRIPT", PyInt_FromLong((long) 14)); | |
11327 | PyDict_SetItemString(d,"wxSTC_H_ASP", PyInt_FromLong((long) 15)); | |
11328 | PyDict_SetItemString(d,"wxSTC_H_ASPAT", PyInt_FromLong((long) 16)); | |
11329 | PyDict_SetItemString(d,"wxSTC_H_CDATA", PyInt_FromLong((long) 17)); | |
11330 | PyDict_SetItemString(d,"wxSTC_H_QUESTION", PyInt_FromLong((long) 18)); | |
11331 | PyDict_SetItemString(d,"wxSTC_H_VALUE", PyInt_FromLong((long) 19)); | |
65ec6247 | 11332 | PyDict_SetItemString(d,"wxSTC_H_XCCOMMENT", PyInt_FromLong((long) 20)); |
fe0aca37 RD |
11333 | PyDict_SetItemString(d,"wxSTC_H_SGML_DEFAULT", PyInt_FromLong((long) 21)); |
11334 | PyDict_SetItemString(d,"wxSTC_H_SGML_COMMAND", PyInt_FromLong((long) 22)); | |
11335 | PyDict_SetItemString(d,"wxSTC_H_SGML_1ST_PARAM", PyInt_FromLong((long) 23)); | |
11336 | PyDict_SetItemString(d,"wxSTC_H_SGML_DOUBLESTRING", PyInt_FromLong((long) 24)); | |
11337 | PyDict_SetItemString(d,"wxSTC_H_SGML_SIMPLESTRING", PyInt_FromLong((long) 25)); | |
11338 | PyDict_SetItemString(d,"wxSTC_H_SGML_ERROR", PyInt_FromLong((long) 26)); | |
11339 | PyDict_SetItemString(d,"wxSTC_H_SGML_SPECIAL", PyInt_FromLong((long) 27)); | |
11340 | PyDict_SetItemString(d,"wxSTC_H_SGML_ENTITY", PyInt_FromLong((long) 28)); | |
11341 | PyDict_SetItemString(d,"wxSTC_H_SGML_COMMENT", PyInt_FromLong((long) 29)); | |
11342 | PyDict_SetItemString(d,"wxSTC_H_SGML_1ST_PARAM_COMMENT", PyInt_FromLong((long) 30)); | |
11343 | PyDict_SetItemString(d,"wxSTC_H_SGML_BLOCK_DEFAULT", PyInt_FromLong((long) 31)); | |
fe47ec10 RD |
11344 | PyDict_SetItemString(d,"wxSTC_HJ_START", PyInt_FromLong((long) 40)); |
11345 | PyDict_SetItemString(d,"wxSTC_HJ_DEFAULT", PyInt_FromLong((long) 41)); | |
11346 | PyDict_SetItemString(d,"wxSTC_HJ_COMMENT", PyInt_FromLong((long) 42)); | |
11347 | PyDict_SetItemString(d,"wxSTC_HJ_COMMENTLINE", PyInt_FromLong((long) 43)); | |
11348 | PyDict_SetItemString(d,"wxSTC_HJ_COMMENTDOC", PyInt_FromLong((long) 44)); | |
11349 | PyDict_SetItemString(d,"wxSTC_HJ_NUMBER", PyInt_FromLong((long) 45)); | |
11350 | PyDict_SetItemString(d,"wxSTC_HJ_WORD", PyInt_FromLong((long) 46)); | |
11351 | PyDict_SetItemString(d,"wxSTC_HJ_KEYWORD", PyInt_FromLong((long) 47)); | |
11352 | PyDict_SetItemString(d,"wxSTC_HJ_DOUBLESTRING", PyInt_FromLong((long) 48)); | |
11353 | PyDict_SetItemString(d,"wxSTC_HJ_SINGLESTRING", PyInt_FromLong((long) 49)); | |
11354 | PyDict_SetItemString(d,"wxSTC_HJ_SYMBOLS", PyInt_FromLong((long) 50)); | |
11355 | PyDict_SetItemString(d,"wxSTC_HJ_STRINGEOL", PyInt_FromLong((long) 51)); | |
65ec6247 | 11356 | PyDict_SetItemString(d,"wxSTC_HJ_REGEX", PyInt_FromLong((long) 52)); |
fe47ec10 RD |
11357 | PyDict_SetItemString(d,"wxSTC_HJA_START", PyInt_FromLong((long) 55)); |
11358 | PyDict_SetItemString(d,"wxSTC_HJA_DEFAULT", PyInt_FromLong((long) 56)); | |
11359 | PyDict_SetItemString(d,"wxSTC_HJA_COMMENT", PyInt_FromLong((long) 57)); | |
11360 | PyDict_SetItemString(d,"wxSTC_HJA_COMMENTLINE", PyInt_FromLong((long) 58)); | |
11361 | PyDict_SetItemString(d,"wxSTC_HJA_COMMENTDOC", PyInt_FromLong((long) 59)); | |
11362 | PyDict_SetItemString(d,"wxSTC_HJA_NUMBER", PyInt_FromLong((long) 60)); | |
11363 | PyDict_SetItemString(d,"wxSTC_HJA_WORD", PyInt_FromLong((long) 61)); | |
11364 | PyDict_SetItemString(d,"wxSTC_HJA_KEYWORD", PyInt_FromLong((long) 62)); | |
11365 | PyDict_SetItemString(d,"wxSTC_HJA_DOUBLESTRING", PyInt_FromLong((long) 63)); | |
11366 | PyDict_SetItemString(d,"wxSTC_HJA_SINGLESTRING", PyInt_FromLong((long) 64)); | |
11367 | PyDict_SetItemString(d,"wxSTC_HJA_SYMBOLS", PyInt_FromLong((long) 65)); | |
11368 | PyDict_SetItemString(d,"wxSTC_HJA_STRINGEOL", PyInt_FromLong((long) 66)); | |
65ec6247 | 11369 | PyDict_SetItemString(d,"wxSTC_HJA_REGEX", PyInt_FromLong((long) 67)); |
fe47ec10 RD |
11370 | PyDict_SetItemString(d,"wxSTC_HB_START", PyInt_FromLong((long) 70)); |
11371 | PyDict_SetItemString(d,"wxSTC_HB_DEFAULT", PyInt_FromLong((long) 71)); | |
11372 | PyDict_SetItemString(d,"wxSTC_HB_COMMENTLINE", PyInt_FromLong((long) 72)); | |
11373 | PyDict_SetItemString(d,"wxSTC_HB_NUMBER", PyInt_FromLong((long) 73)); | |
11374 | PyDict_SetItemString(d,"wxSTC_HB_WORD", PyInt_FromLong((long) 74)); | |
11375 | PyDict_SetItemString(d,"wxSTC_HB_STRING", PyInt_FromLong((long) 75)); | |
11376 | PyDict_SetItemString(d,"wxSTC_HB_IDENTIFIER", PyInt_FromLong((long) 76)); | |
11377 | PyDict_SetItemString(d,"wxSTC_HB_STRINGEOL", PyInt_FromLong((long) 77)); | |
11378 | PyDict_SetItemString(d,"wxSTC_HBA_START", PyInt_FromLong((long) 80)); | |
11379 | PyDict_SetItemString(d,"wxSTC_HBA_DEFAULT", PyInt_FromLong((long) 81)); | |
11380 | PyDict_SetItemString(d,"wxSTC_HBA_COMMENTLINE", PyInt_FromLong((long) 82)); | |
11381 | PyDict_SetItemString(d,"wxSTC_HBA_NUMBER", PyInt_FromLong((long) 83)); | |
11382 | PyDict_SetItemString(d,"wxSTC_HBA_WORD", PyInt_FromLong((long) 84)); | |
11383 | PyDict_SetItemString(d,"wxSTC_HBA_STRING", PyInt_FromLong((long) 85)); | |
11384 | PyDict_SetItemString(d,"wxSTC_HBA_IDENTIFIER", PyInt_FromLong((long) 86)); | |
11385 | PyDict_SetItemString(d,"wxSTC_HBA_STRINGEOL", PyInt_FromLong((long) 87)); | |
11386 | PyDict_SetItemString(d,"wxSTC_HP_START", PyInt_FromLong((long) 90)); | |
11387 | PyDict_SetItemString(d,"wxSTC_HP_DEFAULT", PyInt_FromLong((long) 91)); | |
11388 | PyDict_SetItemString(d,"wxSTC_HP_COMMENTLINE", PyInt_FromLong((long) 92)); | |
11389 | PyDict_SetItemString(d,"wxSTC_HP_NUMBER", PyInt_FromLong((long) 93)); | |
11390 | PyDict_SetItemString(d,"wxSTC_HP_STRING", PyInt_FromLong((long) 94)); | |
11391 | PyDict_SetItemString(d,"wxSTC_HP_CHARACTER", PyInt_FromLong((long) 95)); | |
11392 | PyDict_SetItemString(d,"wxSTC_HP_WORD", PyInt_FromLong((long) 96)); | |
11393 | PyDict_SetItemString(d,"wxSTC_HP_TRIPLE", PyInt_FromLong((long) 97)); | |
11394 | PyDict_SetItemString(d,"wxSTC_HP_TRIPLEDOUBLE", PyInt_FromLong((long) 98)); | |
11395 | PyDict_SetItemString(d,"wxSTC_HP_CLASSNAME", PyInt_FromLong((long) 99)); | |
11396 | PyDict_SetItemString(d,"wxSTC_HP_DEFNAME", PyInt_FromLong((long) 100)); | |
11397 | PyDict_SetItemString(d,"wxSTC_HP_OPERATOR", PyInt_FromLong((long) 101)); | |
11398 | PyDict_SetItemString(d,"wxSTC_HP_IDENTIFIER", PyInt_FromLong((long) 102)); | |
11399 | PyDict_SetItemString(d,"wxSTC_HPA_START", PyInt_FromLong((long) 105)); | |
11400 | PyDict_SetItemString(d,"wxSTC_HPA_DEFAULT", PyInt_FromLong((long) 106)); | |
11401 | PyDict_SetItemString(d,"wxSTC_HPA_COMMENTLINE", PyInt_FromLong((long) 107)); | |
11402 | PyDict_SetItemString(d,"wxSTC_HPA_NUMBER", PyInt_FromLong((long) 108)); | |
11403 | PyDict_SetItemString(d,"wxSTC_HPA_STRING", PyInt_FromLong((long) 109)); | |
11404 | PyDict_SetItemString(d,"wxSTC_HPA_CHARACTER", PyInt_FromLong((long) 110)); | |
11405 | PyDict_SetItemString(d,"wxSTC_HPA_WORD", PyInt_FromLong((long) 111)); | |
11406 | PyDict_SetItemString(d,"wxSTC_HPA_TRIPLE", PyInt_FromLong((long) 112)); | |
11407 | PyDict_SetItemString(d,"wxSTC_HPA_TRIPLEDOUBLE", PyInt_FromLong((long) 113)); | |
11408 | PyDict_SetItemString(d,"wxSTC_HPA_CLASSNAME", PyInt_FromLong((long) 114)); | |
11409 | PyDict_SetItemString(d,"wxSTC_HPA_DEFNAME", PyInt_FromLong((long) 115)); | |
11410 | PyDict_SetItemString(d,"wxSTC_HPA_OPERATOR", PyInt_FromLong((long) 116)); | |
11411 | PyDict_SetItemString(d,"wxSTC_HPA_IDENTIFIER", PyInt_FromLong((long) 117)); | |
11412 | PyDict_SetItemString(d,"wxSTC_HPHP_DEFAULT", PyInt_FromLong((long) 118)); | |
11413 | PyDict_SetItemString(d,"wxSTC_HPHP_HSTRING", PyInt_FromLong((long) 119)); | |
11414 | PyDict_SetItemString(d,"wxSTC_HPHP_SIMPLESTRING", PyInt_FromLong((long) 120)); | |
11415 | PyDict_SetItemString(d,"wxSTC_HPHP_WORD", PyInt_FromLong((long) 121)); | |
11416 | PyDict_SetItemString(d,"wxSTC_HPHP_NUMBER", PyInt_FromLong((long) 122)); | |
11417 | PyDict_SetItemString(d,"wxSTC_HPHP_VARIABLE", PyInt_FromLong((long) 123)); | |
11418 | PyDict_SetItemString(d,"wxSTC_HPHP_COMMENT", PyInt_FromLong((long) 124)); | |
11419 | PyDict_SetItemString(d,"wxSTC_HPHP_COMMENTLINE", PyInt_FromLong((long) 125)); | |
65ec6247 RD |
11420 | PyDict_SetItemString(d,"wxSTC_HPHP_HSTRING_VARIABLE", PyInt_FromLong((long) 126)); |
11421 | PyDict_SetItemString(d,"wxSTC_HPHP_OPERATOR", PyInt_FromLong((long) 127)); | |
fe47ec10 | 11422 | PyDict_SetItemString(d,"wxSTC_PL_DEFAULT", PyInt_FromLong((long) 0)); |
65ec6247 | 11423 | PyDict_SetItemString(d,"wxSTC_PL_ERROR", PyInt_FromLong((long) 1)); |
fe47ec10 RD |
11424 | PyDict_SetItemString(d,"wxSTC_PL_COMMENTLINE", PyInt_FromLong((long) 2)); |
11425 | PyDict_SetItemString(d,"wxSTC_PL_POD", PyInt_FromLong((long) 3)); | |
11426 | PyDict_SetItemString(d,"wxSTC_PL_NUMBER", PyInt_FromLong((long) 4)); | |
11427 | PyDict_SetItemString(d,"wxSTC_PL_WORD", PyInt_FromLong((long) 5)); | |
11428 | PyDict_SetItemString(d,"wxSTC_PL_STRING", PyInt_FromLong((long) 6)); | |
11429 | PyDict_SetItemString(d,"wxSTC_PL_CHARACTER", PyInt_FromLong((long) 7)); | |
11430 | PyDict_SetItemString(d,"wxSTC_PL_PUNCTUATION", PyInt_FromLong((long) 8)); | |
11431 | PyDict_SetItemString(d,"wxSTC_PL_PREPROCESSOR", PyInt_FromLong((long) 9)); | |
11432 | PyDict_SetItemString(d,"wxSTC_PL_OPERATOR", PyInt_FromLong((long) 10)); | |
11433 | PyDict_SetItemString(d,"wxSTC_PL_IDENTIFIER", PyInt_FromLong((long) 11)); | |
11434 | PyDict_SetItemString(d,"wxSTC_PL_SCALAR", PyInt_FromLong((long) 12)); | |
11435 | PyDict_SetItemString(d,"wxSTC_PL_ARRAY", PyInt_FromLong((long) 13)); | |
11436 | PyDict_SetItemString(d,"wxSTC_PL_HASH", PyInt_FromLong((long) 14)); | |
11437 | PyDict_SetItemString(d,"wxSTC_PL_SYMBOLTABLE", PyInt_FromLong((long) 15)); | |
fe47ec10 RD |
11438 | PyDict_SetItemString(d,"wxSTC_PL_REGEX", PyInt_FromLong((long) 17)); |
11439 | PyDict_SetItemString(d,"wxSTC_PL_REGSUBST", PyInt_FromLong((long) 18)); | |
11440 | PyDict_SetItemString(d,"wxSTC_PL_LONGQUOTE", PyInt_FromLong((long) 19)); | |
11441 | PyDict_SetItemString(d,"wxSTC_PL_BACKTICKS", PyInt_FromLong((long) 20)); | |
11442 | PyDict_SetItemString(d,"wxSTC_PL_DATASECTION", PyInt_FromLong((long) 21)); | |
65ec6247 RD |
11443 | PyDict_SetItemString(d,"wxSTC_PL_HERE_DELIM", PyInt_FromLong((long) 22)); |
11444 | PyDict_SetItemString(d,"wxSTC_PL_HERE_Q", PyInt_FromLong((long) 23)); | |
11445 | PyDict_SetItemString(d,"wxSTC_PL_HERE_QQ", PyInt_FromLong((long) 24)); | |
11446 | PyDict_SetItemString(d,"wxSTC_PL_HERE_QX", PyInt_FromLong((long) 25)); | |
11447 | PyDict_SetItemString(d,"wxSTC_PL_STRING_Q", PyInt_FromLong((long) 26)); | |
11448 | PyDict_SetItemString(d,"wxSTC_PL_STRING_QQ", PyInt_FromLong((long) 27)); | |
11449 | PyDict_SetItemString(d,"wxSTC_PL_STRING_QX", PyInt_FromLong((long) 28)); | |
11450 | PyDict_SetItemString(d,"wxSTC_PL_STRING_QR", PyInt_FromLong((long) 29)); | |
11451 | PyDict_SetItemString(d,"wxSTC_PL_STRING_QW", PyInt_FromLong((long) 30)); | |
fe47ec10 RD |
11452 | PyDict_SetItemString(d,"wxSTC_L_DEFAULT", PyInt_FromLong((long) 0)); |
11453 | PyDict_SetItemString(d,"wxSTC_L_COMMAND", PyInt_FromLong((long) 1)); | |
11454 | PyDict_SetItemString(d,"wxSTC_L_TAG", PyInt_FromLong((long) 2)); | |
11455 | PyDict_SetItemString(d,"wxSTC_L_MATH", PyInt_FromLong((long) 3)); | |
11456 | PyDict_SetItemString(d,"wxSTC_L_COMMENT", PyInt_FromLong((long) 4)); | |
11457 | PyDict_SetItemString(d,"wxSTC_LUA_DEFAULT", PyInt_FromLong((long) 0)); | |
11458 | PyDict_SetItemString(d,"wxSTC_LUA_COMMENT", PyInt_FromLong((long) 1)); | |
11459 | PyDict_SetItemString(d,"wxSTC_LUA_COMMENTLINE", PyInt_FromLong((long) 2)); | |
11460 | PyDict_SetItemString(d,"wxSTC_LUA_COMMENTDOC", PyInt_FromLong((long) 3)); | |
11461 | PyDict_SetItemString(d,"wxSTC_LUA_NUMBER", PyInt_FromLong((long) 4)); | |
11462 | PyDict_SetItemString(d,"wxSTC_LUA_WORD", PyInt_FromLong((long) 5)); | |
11463 | PyDict_SetItemString(d,"wxSTC_LUA_STRING", PyInt_FromLong((long) 6)); | |
11464 | PyDict_SetItemString(d,"wxSTC_LUA_CHARACTER", PyInt_FromLong((long) 7)); | |
11465 | PyDict_SetItemString(d,"wxSTC_LUA_LITERALSTRING", PyInt_FromLong((long) 8)); | |
11466 | PyDict_SetItemString(d,"wxSTC_LUA_PREPROCESSOR", PyInt_FromLong((long) 9)); | |
11467 | PyDict_SetItemString(d,"wxSTC_LUA_OPERATOR", PyInt_FromLong((long) 10)); | |
11468 | PyDict_SetItemString(d,"wxSTC_LUA_IDENTIFIER", PyInt_FromLong((long) 11)); | |
11469 | PyDict_SetItemString(d,"wxSTC_LUA_STRINGEOL", PyInt_FromLong((long) 12)); | |
1a2fb4cd RD |
11470 | PyDict_SetItemString(d,"wxSTC_LUA_WORD2", PyInt_FromLong((long) 13)); |
11471 | PyDict_SetItemString(d,"wxSTC_LUA_WORD3", PyInt_FromLong((long) 14)); | |
11472 | PyDict_SetItemString(d,"wxSTC_LUA_WORD4", PyInt_FromLong((long) 15)); | |
11473 | PyDict_SetItemString(d,"wxSTC_LUA_WORD5", PyInt_FromLong((long) 16)); | |
11474 | PyDict_SetItemString(d,"wxSTC_LUA_WORD6", PyInt_FromLong((long) 17)); | |
fe47ec10 RD |
11475 | PyDict_SetItemString(d,"wxSTC_ERR_DEFAULT", PyInt_FromLong((long) 0)); |
11476 | PyDict_SetItemString(d,"wxSTC_ERR_PYTHON", PyInt_FromLong((long) 1)); | |
11477 | PyDict_SetItemString(d,"wxSTC_ERR_GCC", PyInt_FromLong((long) 2)); | |
11478 | PyDict_SetItemString(d,"wxSTC_ERR_MS", PyInt_FromLong((long) 3)); | |
11479 | PyDict_SetItemString(d,"wxSTC_ERR_CMD", PyInt_FromLong((long) 4)); | |
11480 | PyDict_SetItemString(d,"wxSTC_ERR_BORLAND", PyInt_FromLong((long) 5)); | |
11481 | PyDict_SetItemString(d,"wxSTC_ERR_PERL", PyInt_FromLong((long) 6)); | |
65ec6247 RD |
11482 | PyDict_SetItemString(d,"wxSTC_ERR_NET", PyInt_FromLong((long) 7)); |
11483 | PyDict_SetItemString(d,"wxSTC_ERR_LUA", PyInt_FromLong((long) 8)); | |
11484 | PyDict_SetItemString(d,"wxSTC_ERR_DIFF_CHANGED", PyInt_FromLong((long) 10)); | |
11485 | PyDict_SetItemString(d,"wxSTC_ERR_DIFF_ADDITION", PyInt_FromLong((long) 11)); | |
11486 | PyDict_SetItemString(d,"wxSTC_ERR_DIFF_DELETION", PyInt_FromLong((long) 12)); | |
11487 | PyDict_SetItemString(d,"wxSTC_ERR_DIFF_MESSAGE", PyInt_FromLong((long) 13)); | |
11488 | PyDict_SetItemString(d,"wxSTC_BAT_DEFAULT", PyInt_FromLong((long) 0)); | |
11489 | PyDict_SetItemString(d,"wxSTC_BAT_COMMENT", PyInt_FromLong((long) 1)); | |
11490 | PyDict_SetItemString(d,"wxSTC_BAT_WORD", PyInt_FromLong((long) 2)); | |
11491 | PyDict_SetItemString(d,"wxSTC_BAT_LABEL", PyInt_FromLong((long) 3)); | |
11492 | PyDict_SetItemString(d,"wxSTC_BAT_HIDE", PyInt_FromLong((long) 4)); | |
11493 | PyDict_SetItemString(d,"wxSTC_BAT_COMMAND", PyInt_FromLong((long) 5)); | |
11494 | PyDict_SetItemString(d,"wxSTC_BAT_IDENTIFIER", PyInt_FromLong((long) 6)); | |
11495 | PyDict_SetItemString(d,"wxSTC_BAT_OPERATOR", PyInt_FromLong((long) 7)); | |
11496 | PyDict_SetItemString(d,"wxSTC_MAKE_DEFAULT", PyInt_FromLong((long) 0)); | |
11497 | PyDict_SetItemString(d,"wxSTC_MAKE_COMMENT", PyInt_FromLong((long) 1)); | |
11498 | PyDict_SetItemString(d,"wxSTC_MAKE_PREPROCESSOR", PyInt_FromLong((long) 2)); | |
11499 | PyDict_SetItemString(d,"wxSTC_MAKE_IDENTIFIER", PyInt_FromLong((long) 3)); | |
11500 | PyDict_SetItemString(d,"wxSTC_MAKE_OPERATOR", PyInt_FromLong((long) 4)); | |
11501 | PyDict_SetItemString(d,"wxSTC_MAKE_TARGET", PyInt_FromLong((long) 5)); | |
11502 | PyDict_SetItemString(d,"wxSTC_MAKE_IDEOL", PyInt_FromLong((long) 9)); | |
11503 | PyDict_SetItemString(d,"wxSTC_CONF_DEFAULT", PyInt_FromLong((long) 0)); | |
11504 | PyDict_SetItemString(d,"wxSTC_CONF_COMMENT", PyInt_FromLong((long) 1)); | |
11505 | PyDict_SetItemString(d,"wxSTC_CONF_NUMBER", PyInt_FromLong((long) 2)); | |
11506 | PyDict_SetItemString(d,"wxSTC_CONF_IDENTIFIER", PyInt_FromLong((long) 3)); | |
11507 | PyDict_SetItemString(d,"wxSTC_CONF_EXTENSION", PyInt_FromLong((long) 4)); | |
11508 | PyDict_SetItemString(d,"wxSTC_CONF_PARAMETER", PyInt_FromLong((long) 5)); | |
11509 | PyDict_SetItemString(d,"wxSTC_CONF_STRING", PyInt_FromLong((long) 6)); | |
11510 | PyDict_SetItemString(d,"wxSTC_CONF_OPERATOR", PyInt_FromLong((long) 7)); | |
11511 | PyDict_SetItemString(d,"wxSTC_CONF_IP", PyInt_FromLong((long) 8)); | |
11512 | PyDict_SetItemString(d,"wxSTC_CONF_DIRECTIVE", PyInt_FromLong((long) 9)); | |
11513 | PyDict_SetItemString(d,"wxSTC_AVE_DEFAULT", PyInt_FromLong((long) 0)); | |
11514 | PyDict_SetItemString(d,"wxSTC_AVE_COMMENT", PyInt_FromLong((long) 1)); | |
11515 | PyDict_SetItemString(d,"wxSTC_AVE_NUMBER", PyInt_FromLong((long) 2)); | |
11516 | PyDict_SetItemString(d,"wxSTC_AVE_WORD", PyInt_FromLong((long) 3)); | |
11517 | PyDict_SetItemString(d,"wxSTC_AVE_KEYWORD", PyInt_FromLong((long) 4)); | |
11518 | PyDict_SetItemString(d,"wxSTC_AVE_STATEMENT", PyInt_FromLong((long) 5)); | |
11519 | PyDict_SetItemString(d,"wxSTC_AVE_STRING", PyInt_FromLong((long) 6)); | |
11520 | PyDict_SetItemString(d,"wxSTC_AVE_ENUM", PyInt_FromLong((long) 7)); | |
11521 | PyDict_SetItemString(d,"wxSTC_AVE_STRINGEOL", PyInt_FromLong((long) 8)); | |
11522 | PyDict_SetItemString(d,"wxSTC_AVE_IDENTIFIER", PyInt_FromLong((long) 9)); | |
11523 | PyDict_SetItemString(d,"wxSTC_AVE_OPERATOR", PyInt_FromLong((long) 10)); | |
11524 | PyDict_SetItemString(d,"wxSTC_ADA_DEFAULT", PyInt_FromLong((long) 0)); | |
11525 | PyDict_SetItemString(d,"wxSTC_ADA_COMMENT", PyInt_FromLong((long) 1)); | |
11526 | PyDict_SetItemString(d,"wxSTC_ADA_NUMBER", PyInt_FromLong((long) 2)); | |
11527 | PyDict_SetItemString(d,"wxSTC_ADA_WORD", PyInt_FromLong((long) 3)); | |
11528 | PyDict_SetItemString(d,"wxSTC_ADA_STRING", PyInt_FromLong((long) 4)); | |
11529 | PyDict_SetItemString(d,"wxSTC_ADA_CHARACTER", PyInt_FromLong((long) 5)); | |
11530 | PyDict_SetItemString(d,"wxSTC_ADA_OPERATOR", PyInt_FromLong((long) 6)); | |
11531 | PyDict_SetItemString(d,"wxSTC_ADA_IDENTIFIER", PyInt_FromLong((long) 7)); | |
11532 | PyDict_SetItemString(d,"wxSTC_ADA_STRINGEOL", PyInt_FromLong((long) 8)); | |
1a2fb4cd RD |
11533 | PyDict_SetItemString(d,"wxSTC_BAAN_DEFAULT", PyInt_FromLong((long) 0)); |
11534 | PyDict_SetItemString(d,"wxSTC_BAAN_COMMENT", PyInt_FromLong((long) 1)); | |
11535 | PyDict_SetItemString(d,"wxSTC_BAAN_COMMENTDOC", PyInt_FromLong((long) 2)); | |
11536 | PyDict_SetItemString(d,"wxSTC_BAAN_NUMBER", PyInt_FromLong((long) 3)); | |
11537 | PyDict_SetItemString(d,"wxSTC_BAAN_WORD", PyInt_FromLong((long) 4)); | |
11538 | PyDict_SetItemString(d,"wxSTC_BAAN_STRING", PyInt_FromLong((long) 5)); | |
11539 | PyDict_SetItemString(d,"wxSTC_BAAN_PREPROCESSOR", PyInt_FromLong((long) 6)); | |
11540 | PyDict_SetItemString(d,"wxSTC_BAAN_OPERATOR", PyInt_FromLong((long) 7)); | |
11541 | PyDict_SetItemString(d,"wxSTC_BAAN_IDENTIFIER", PyInt_FromLong((long) 8)); | |
11542 | PyDict_SetItemString(d,"wxSTC_BAAN_STRINGEOL", PyInt_FromLong((long) 9)); | |
11543 | PyDict_SetItemString(d,"wxSTC_BAAN_WORD2", PyInt_FromLong((long) 10)); | |
65ec6247 RD |
11544 | PyDict_SetItemString(d,"wxSTC_LISP_DEFAULT", PyInt_FromLong((long) 0)); |
11545 | PyDict_SetItemString(d,"wxSTC_LISP_COMMENT", PyInt_FromLong((long) 1)); | |
11546 | PyDict_SetItemString(d,"wxSTC_LISP_NUMBER", PyInt_FromLong((long) 2)); | |
11547 | PyDict_SetItemString(d,"wxSTC_LISP_KEYWORD", PyInt_FromLong((long) 3)); | |
11548 | PyDict_SetItemString(d,"wxSTC_LISP_STRING", PyInt_FromLong((long) 6)); | |
11549 | PyDict_SetItemString(d,"wxSTC_LISP_STRINGEOL", PyInt_FromLong((long) 8)); | |
11550 | PyDict_SetItemString(d,"wxSTC_LISP_IDENTIFIER", PyInt_FromLong((long) 9)); | |
11551 | PyDict_SetItemString(d,"wxSTC_LISP_OPERATOR", PyInt_FromLong((long) 10)); | |
11552 | PyDict_SetItemString(d,"wxSTC_EIFFEL_DEFAULT", PyInt_FromLong((long) 0)); | |
11553 | PyDict_SetItemString(d,"wxSTC_EIFFEL_COMMENTLINE", PyInt_FromLong((long) 1)); | |
11554 | PyDict_SetItemString(d,"wxSTC_EIFFEL_NUMBER", PyInt_FromLong((long) 2)); | |
11555 | PyDict_SetItemString(d,"wxSTC_EIFFEL_WORD", PyInt_FromLong((long) 3)); | |
11556 | PyDict_SetItemString(d,"wxSTC_EIFFEL_STRING", PyInt_FromLong((long) 4)); | |
11557 | PyDict_SetItemString(d,"wxSTC_EIFFEL_CHARACTER", PyInt_FromLong((long) 5)); | |
11558 | PyDict_SetItemString(d,"wxSTC_EIFFEL_OPERATOR", PyInt_FromLong((long) 6)); | |
11559 | PyDict_SetItemString(d,"wxSTC_EIFFEL_IDENTIFIER", PyInt_FromLong((long) 7)); | |
11560 | PyDict_SetItemString(d,"wxSTC_EIFFEL_STRINGEOL", PyInt_FromLong((long) 8)); | |
fe0aca37 RD |
11561 | PyDict_SetItemString(d,"wxSTC_NNCRONTAB_DEFAULT", PyInt_FromLong((long) 0)); |
11562 | PyDict_SetItemString(d,"wxSTC_NNCRONTAB_COMMENT", PyInt_FromLong((long) 1)); | |
11563 | PyDict_SetItemString(d,"wxSTC_NNCRONTAB_TASK", PyInt_FromLong((long) 2)); | |
11564 | PyDict_SetItemString(d,"wxSTC_NNCRONTAB_SECTION", PyInt_FromLong((long) 3)); | |
11565 | PyDict_SetItemString(d,"wxSTC_NNCRONTAB_KEYWORD", PyInt_FromLong((long) 4)); | |
11566 | PyDict_SetItemString(d,"wxSTC_NNCRONTAB_MODIFIER", PyInt_FromLong((long) 5)); | |
11567 | PyDict_SetItemString(d,"wxSTC_NNCRONTAB_ASTERISK", PyInt_FromLong((long) 6)); | |
11568 | PyDict_SetItemString(d,"wxSTC_NNCRONTAB_NUMBER", PyInt_FromLong((long) 7)); | |
11569 | PyDict_SetItemString(d,"wxSTC_NNCRONTAB_STRING", PyInt_FromLong((long) 8)); | |
11570 | PyDict_SetItemString(d,"wxSTC_NNCRONTAB_ENVIRONMENT", PyInt_FromLong((long) 9)); | |
11571 | PyDict_SetItemString(d,"wxSTC_NNCRONTAB_IDENTIFIER", PyInt_FromLong((long) 10)); | |
1a2fb4cd RD |
11572 | PyDict_SetItemString(d,"wxSTC_MATLAB_DEFAULT", PyInt_FromLong((long) 0)); |
11573 | PyDict_SetItemString(d,"wxSTC_MATLAB_COMMENT", PyInt_FromLong((long) 1)); | |
11574 | PyDict_SetItemString(d,"wxSTC_MATLAB_COMMAND", PyInt_FromLong((long) 2)); | |
11575 | PyDict_SetItemString(d,"wxSTC_MATLAB_NUMBER", PyInt_FromLong((long) 3)); | |
11576 | PyDict_SetItemString(d,"wxSTC_MATLAB_KEYWORD", PyInt_FromLong((long) 4)); | |
11577 | PyDict_SetItemString(d,"wxSTC_MATLAB_STRING", PyInt_FromLong((long) 5)); | |
11578 | PyDict_SetItemString(d,"wxSTC_MATLAB_OPERATOR", PyInt_FromLong((long) 6)); | |
11579 | PyDict_SetItemString(d,"wxSTC_MATLAB_IDENTIFIER", PyInt_FromLong((long) 7)); | |
f6bcfd97 BP |
11580 | PyDict_SetItemString(d,"wxSTCNameStr", PyString_FromString("wxSTCNameStr")); |
11581 | PyDict_SetItemString(d,"wxEVT_STC_CHANGE", PyInt_FromLong((long) wxEVT_STC_CHANGE)); | |
11582 | PyDict_SetItemString(d,"wxEVT_STC_STYLENEEDED", PyInt_FromLong((long) wxEVT_STC_STYLENEEDED)); | |
11583 | PyDict_SetItemString(d,"wxEVT_STC_CHARADDED", PyInt_FromLong((long) wxEVT_STC_CHARADDED)); | |
f6bcfd97 BP |
11584 | PyDict_SetItemString(d,"wxEVT_STC_SAVEPOINTREACHED", PyInt_FromLong((long) wxEVT_STC_SAVEPOINTREACHED)); |
11585 | PyDict_SetItemString(d,"wxEVT_STC_SAVEPOINTLEFT", PyInt_FromLong((long) wxEVT_STC_SAVEPOINTLEFT)); | |
11586 | PyDict_SetItemString(d,"wxEVT_STC_ROMODIFYATTEMPT", PyInt_FromLong((long) wxEVT_STC_ROMODIFYATTEMPT)); | |
65ec6247 | 11587 | PyDict_SetItemString(d,"wxEVT_STC_KEY", PyInt_FromLong((long) wxEVT_STC_KEY)); |
f6bcfd97 | 11588 | PyDict_SetItemString(d,"wxEVT_STC_DOUBLECLICK", PyInt_FromLong((long) wxEVT_STC_DOUBLECLICK)); |
65ec6247 | 11589 | PyDict_SetItemString(d,"wxEVT_STC_UPDATEUI", PyInt_FromLong((long) wxEVT_STC_UPDATEUI)); |
f6bcfd97 | 11590 | PyDict_SetItemString(d,"wxEVT_STC_MODIFIED", PyInt_FromLong((long) wxEVT_STC_MODIFIED)); |
f6bcfd97 BP |
11591 | PyDict_SetItemString(d,"wxEVT_STC_MACRORECORD", PyInt_FromLong((long) wxEVT_STC_MACRORECORD)); |
11592 | PyDict_SetItemString(d,"wxEVT_STC_MARGINCLICK", PyInt_FromLong((long) wxEVT_STC_MARGINCLICK)); | |
11593 | PyDict_SetItemString(d,"wxEVT_STC_NEEDSHOWN", PyInt_FromLong((long) wxEVT_STC_NEEDSHOWN)); | |
fe47ec10 | 11594 | PyDict_SetItemString(d,"wxEVT_STC_POSCHANGED", PyInt_FromLong((long) wxEVT_STC_POSCHANGED)); |
65ec6247 RD |
11595 | PyDict_SetItemString(d,"wxEVT_STC_PAINTED", PyInt_FromLong((long) wxEVT_STC_PAINTED)); |
11596 | PyDict_SetItemString(d,"wxEVT_STC_USERLISTSELECTION", PyInt_FromLong((long) wxEVT_STC_USERLISTSELECTION)); | |
11597 | PyDict_SetItemString(d,"wxEVT_STC_URIDROPPED", PyInt_FromLong((long) wxEVT_STC_URIDROPPED)); | |
11598 | PyDict_SetItemString(d,"wxEVT_STC_DWELLSTART", PyInt_FromLong((long) wxEVT_STC_DWELLSTART)); | |
11599 | PyDict_SetItemString(d,"wxEVT_STC_DWELLEND", PyInt_FromLong((long) wxEVT_STC_DWELLEND)); | |
74933d75 RD |
11600 | PyDict_SetItemString(d,"wxEVT_STC_START_DRAG", PyInt_FromLong((long) wxEVT_STC_START_DRAG)); |
11601 | PyDict_SetItemString(d,"wxEVT_STC_DRAG_OVER", PyInt_FromLong((long) wxEVT_STC_DRAG_OVER)); | |
11602 | PyDict_SetItemString(d,"wxEVT_STC_DO_DROP", PyInt_FromLong((long) wxEVT_STC_DO_DROP)); | |
f6bcfd97 BP |
11603 | |
11604 | ||
e508a2b6 RD |
11605 | wxClassInfo::CleanUpClasses(); |
11606 | wxClassInfo::InitializeClasses(); | |
f6bcfd97 BP |
11607 | |
11608 | { | |
11609 | int i; | |
11610 | for (i = 0; _swig_mapping[i].n1; i++) | |
11611 | SWIG_RegisterMapping(_swig_mapping[i].n1,_swig_mapping[i].n2,_swig_mapping[i].pcnv); | |
11612 | } | |
11613 | } |